diff --git a/Auspex/--y__InlineArray36.cs b/Auspex/--y__InlineArray36.cs new file mode 100644 index 0000000..df8c2da --- /dev/null +++ b/Auspex/--y__InlineArray36.cs @@ -0,0 +1,8 @@ +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[StructLayout(LayoutKind.Auto)] +[InlineArray(36)] +internal struct _003C_003Ey__InlineArray36 +{ +} diff --git a/Auspex/-PrivateImplementationDetails-.cs b/Auspex/-PrivateImplementationDetails-.cs new file mode 100644 index 0000000..e69de29 diff --git a/Auspex/Auspex.Lighting.Internal/GameLightData.cs b/Auspex/Auspex.Lighting.Internal/GameLightData.cs new file mode 100644 index 0000000..04c949b --- /dev/null +++ b/Auspex/Auspex.Lighting.Internal/GameLightData.cs @@ -0,0 +1,26 @@ +using System.Numerics; +using System.Runtime.InteropServices; + +namespace Auspex.Lighting.Internal; + +[StructLayout(LayoutKind.Explicit, Size = 160)] +internal struct GameLightData +{ + [FieldOffset(0)] + public unsafe GameLightVTable* VirtualTable; + + [FieldOffset(80)] + public LightTransform Transform; + + [FieldOffset(112)] + public Vector3 Scale; + + [FieldOffset(136)] + public byte Flags00; + + [FieldOffset(137)] + public byte Flags01; + + [FieldOffset(144)] + public unsafe LightRenderData* RenderObject; +} diff --git a/Auspex/Auspex.Lighting.Internal/GameLightVTable.cs b/Auspex/Auspex.Lighting.Internal/GameLightVTable.cs new file mode 100644 index 0000000..e1b37ab --- /dev/null +++ b/Auspex/Auspex.Lighting.Internal/GameLightVTable.cs @@ -0,0 +1,13 @@ +using System.Runtime.InteropServices; + +namespace Auspex.Lighting.Internal; + +[StructLayout(LayoutKind.Explicit)] +internal struct GameLightVTable +{ + [FieldOffset(0)] + public unsafe delegate* unmanaged Destructor; + + [FieldOffset(8)] + public unsafe delegate* unmanaged Cleanup; +} diff --git a/Auspex/Auspex.Lighting.Internal/LightNativeBridge.cs b/Auspex/Auspex.Lighting.Internal/LightNativeBridge.cs new file mode 100644 index 0000000..b0d6de6 --- /dev/null +++ b/Auspex/Auspex.Lighting.Internal/LightNativeBridge.cs @@ -0,0 +1,56 @@ +namespace Auspex.Lighting.Internal; + +internal static class LightNativeBridge +{ + public unsafe delegate GameLightData* SpawnDelegate(GameLightData* light); + + public unsafe delegate void CreateDelegate(GameLightData* light); + + public unsafe delegate void FinalizeDelegate(GameLightData* light); + + public unsafe delegate void UpdateCullingDelegate(GameLightData* light); + + public unsafe delegate void UpdateMaterialDelegate(GameLightData* light); + + public unsafe delegate void UpdateRangeDelegate(LightRenderData* renderData); + + public const string SpawnSig = "E8 ?? ?? ?? ?? 48 89 84 ?? ?? ?? ?? ?? 48 85 C0 0F ?? ?? ?? ?? ?? 48 8B C8"; + + public static SpawnDelegate Spawn; + + public const string CreateSig = "E8 ?? ?? ?? ?? 48 8B 0D ?? ?? ?? ?? 48 8B D3 E8 ?? ?? ?? ?? 48 8B CB E8 ?? ?? ?? ?? 48 8B ?? ?? ?? ?? ?? 40 0F"; + + public static CreateDelegate Create; + + public const string FinalizeSig = "F6 41 38 01 ?? ?? 48 8B ?? ?? ?? ?? ?? 48"; + + public new static FinalizeDelegate Finalize; + + public const string UpdateCullingSig = "48 89 5C 24 ?? 57 48 83 EC 40 48 8B B9 ?? ?? ?? ??"; + + public static UpdateCullingDelegate UpdateCulling; + + public const string UpdateMaterialSig = "40 53 48 83 EC 20 0F B6 81 ?? ?? ?? ?? 48 8B D9 A8 04 75 45 0C 04 B2 05"; + + public static UpdateMaterialDelegate UpdateMaterial; + + public const string UpdateRangeSig = "E8 ?? ?? ?? ?? 48 8D 8F ?? ?? ?? ?? FF 15 ?? ?? ?? ?? 48 8D 8F ?? ?? ?? ?? 48 8D 55"; + + public static UpdateRangeDelegate UpdateRange; + + internal static void Initialize() + { + SpawnDelegate spawn = SigScanHelper.Scan("E8 ?? ?? ?? ?? 48 89 84 ?? ?? ?? ?? ?? 48 85 C0 0F ?? ?? ?? ?? ?? 48 8B C8", "Spawn"); + CreateDelegate create = SigScanHelper.Scan("E8 ?? ?? ?? ?? 48 8B 0D ?? ?? ?? ?? 48 8B D3 E8 ?? ?? ?? ?? 48 8B CB E8 ?? ?? ?? ?? 48 8B ?? ?? ?? ?? ?? 40 0F", "Create"); + FinalizeDelegate finalize = SigScanHelper.Scan("F6 41 38 01 ?? ?? 48 8B ?? ?? ?? ?? ?? 48", "Finalize"); + UpdateCullingDelegate updateCulling = SigScanHelper.Scan("48 89 5C 24 ?? 57 48 83 EC 40 48 8B B9 ?? ?? ?? ??", "UpdateCulling"); + UpdateMaterialDelegate updateMaterial = SigScanHelper.Scan("40 53 48 83 EC 20 0F B6 81 ?? ?? ?? ?? 48 8B D9 A8 04 75 45 0C 04 B2 05", "UpdateMaterial"); + UpdateRangeDelegate updateRange = SigScanHelper.Scan("E8 ?? ?? ?? ?? 48 8D 8F ?? ?? ?? ?? FF 15 ?? ?? ?? ?? 48 8D 8F ?? ?? ?? ?? 48 8D 55", "UpdateRange"); + Spawn = spawn; + Create = create; + Finalize = finalize; + UpdateCulling = updateCulling; + UpdateMaterial = updateMaterial; + UpdateRange = updateRange; + } +} diff --git a/Auspex/Auspex.Lighting.Internal/LightRenderData.cs b/Auspex/Auspex.Lighting.Internal/LightRenderData.cs new file mode 100644 index 0000000..075be1e --- /dev/null +++ b/Auspex/Auspex.Lighting.Internal/LightRenderData.cs @@ -0,0 +1,47 @@ +using System.Numerics; +using System.Runtime.InteropServices; + +namespace Auspex.Lighting.Internal; + +[StructLayout(LayoutKind.Explicit, Size = 160)] +internal struct LightRenderData +{ + [FieldOffset(24)] + public AxLightFlags Flags; + + [FieldOffset(28)] + public AxLightType EmissionType; + + [FieldOffset(32)] + public unsafe LightTransform* Transform; + + [FieldOffset(40)] + public Vector3 Color; + + [FieldOffset(52)] + public float Intensity; + + [FieldOffset(96)] + public float ShadowPlaneNear; + + [FieldOffset(100)] + public float ShadowPlaneFar; + + [FieldOffset(104)] + public AxFalloffType FalloffType; + + [FieldOffset(128)] + public float Falloff; + + [FieldOffset(132)] + public float LightAngle; + + [FieldOffset(136)] + public float FalloffAngle; + + [FieldOffset(140)] + public float Range; + + [FieldOffset(144)] + public float CharacterShadowRange; +} diff --git a/Auspex/Auspex.Lighting.Internal/LightTransform.cs b/Auspex/Auspex.Lighting.Internal/LightTransform.cs new file mode 100644 index 0000000..67637bf --- /dev/null +++ b/Auspex/Auspex.Lighting.Internal/LightTransform.cs @@ -0,0 +1,17 @@ +using System.Numerics; +using System.Runtime.InteropServices; + +namespace Auspex.Lighting.Internal; + +[StructLayout(LayoutKind.Explicit, Size = 48)] +internal struct LightTransform +{ + [FieldOffset(0)] + public Vector3 Position; + + [FieldOffset(16)] + public Quaternion Rotation; + + [FieldOffset(32)] + public Vector3 Scale; +} diff --git a/Auspex/Auspex.Lighting.Internal/NativeLightHandle.cs b/Auspex/Auspex.Lighting.Internal/NativeLightHandle.cs new file mode 100644 index 0000000..9226d30 --- /dev/null +++ b/Auspex/Auspex.Lighting.Internal/NativeLightHandle.cs @@ -0,0 +1,205 @@ +using System; +using System.Numerics; +using System.Runtime.CompilerServices; +using FFXIVClientStructs.FFXIV.Client.System.Memory; + +namespace Auspex.Lighting.Internal; + +internal sealed class NativeLightHandle : IDisposable +{ + private unsafe GameLightData* data; + + private Vector3 position; + + private Quaternion rotation; + + private Vector3 color; + + private float intensity; + + private float range; + + private float lightAngle; + + private float falloffAngle; + + private AxLightFlags flags; + + private AxFalloffType falloffType; + + private float falloffPower; + + private float shadowNear; + + private float shadowFar; + + private float charaShadowRange; + + public unsafe static NativeLightHandle Create(Vector3 position, AxLightType lightType, AxLightConfig config) + { + GameLightData* ptr = IMemorySpace.GetDefaultSpace()->Malloc(8uL); + if (LightNativeBridge.Spawn(ptr) == null) + { + IMemorySpace.Free(ptr, (ulong)sizeof(GameLightData)); + throw new InvalidOperationException("Failed to spawn game light"); + } + LightNativeBridge.Create(ptr); + LightNativeBridge.Finalize(ptr); + ((long*)ptr)[7] |= 2L; + LightRenderData* renderObject = ptr->RenderObject; + if (renderObject == null) + { + IMemorySpace.Free(ptr, (ulong)sizeof(GameLightData)); + throw new InvalidOperationException("Game did not create RenderObject for light"); + } + renderObject->Transform = &ptr->Transform; + renderObject->EmissionType = lightType; + renderObject->Color = config.Color; + renderObject->Intensity = config.Intensity; + renderObject->Range = config.Range; + renderObject->FalloffType = config.FalloffType; + renderObject->Falloff = config.FalloffPower; + renderObject->LightAngle = config.LightAngle; + renderObject->FalloffAngle = config.FalloffAngle; + renderObject->CharacterShadowRange = config.CharaShadowRange; + renderObject->ShadowPlaneNear = config.ShadowNear; + renderObject->ShadowPlaneFar = config.ShadowFar; + renderObject->Flags = config.Flags; + LightNativeBridge.UpdateRange(renderObject); + Quaternion quaternion = config.Rotation ?? Quaternion.Identity; + Unsafe.Write((void*)(&ptr->Transform.Position), position); + Unsafe.Write((void*)(&ptr->Transform.Rotation), quaternion); + ptr->Scale = Vector3.One; + return new NativeLightHandle + { + data = ptr, + position = position, + rotation = quaternion, + color = config.Color, + intensity = config.Intensity, + range = config.Range, + lightAngle = config.LightAngle, + falloffAngle = config.FalloffAngle, + flags = config.Flags, + falloffType = config.FalloffType, + falloffPower = config.FalloffPower, + shadowNear = config.ShadowNear, + shadowFar = config.ShadowFar, + charaShadowRange = config.CharaShadowRange + }; + } + + public unsafe void UpdatePosition(Vector3 newPosition) + { + if (data != null && !(position == newPosition)) + { + position = newPosition; + Unsafe.Write((void*)(&data->Transform.Position), newPosition); + } + } + + public unsafe void UpdateRotation(Quaternion newRotation) + { + if (data != null && !(rotation == newRotation)) + { + rotation = newRotation; + Unsafe.Write((void*)(&data->Transform.Rotation), newRotation); + } + } + + public unsafe void UpdateColor(Vector3 newColor) + { + if (data != null && data->RenderObject != null && !(color == newColor)) + { + color = newColor; + data->RenderObject->Color = newColor; + } + } + + public unsafe void UpdateIntensity(float newIntensity) + { + if (data != null && data->RenderObject != null && intensity != newIntensity) + { + intensity = newIntensity; + data->RenderObject->Intensity = newIntensity; + } + } + + public unsafe void UpdateRange(float newRange) + { + if (data != null && data->RenderObject != null && range != newRange) + { + range = newRange; + data->RenderObject->Range = newRange; + LightNativeBridge.UpdateRange(data->RenderObject); + } + } + + public unsafe void UpdateFlags(AxLightFlags newFlags) + { + if (data != null && data->RenderObject != null && flags != newFlags) + { + flags = newFlags; + data->RenderObject->Flags = newFlags; + } + } + + public unsafe void UpdateAngles(float newLightAngle, float newFalloffAngle) + { + if (data != null && data->RenderObject != null && (lightAngle != newLightAngle || falloffAngle != newFalloffAngle)) + { + lightAngle = newLightAngle; + falloffAngle = newFalloffAngle; + data->RenderObject->LightAngle = newLightAngle; + data->RenderObject->FalloffAngle = newFalloffAngle; + } + } + + public unsafe void UpdateFalloff(AxFalloffType newFalloffType, float newFalloffPower) + { + if (data != null && data->RenderObject != null && (falloffType != newFalloffType || falloffPower != newFalloffPower)) + { + falloffType = newFalloffType; + falloffPower = newFalloffPower; + data->RenderObject->FalloffType = newFalloffType; + data->RenderObject->Falloff = newFalloffPower; + } + } + + public unsafe void UpdateShadow(float newShadowNear, float newShadowFar, float newCharaShadowRange) + { + if (data != null && data->RenderObject != null && (shadowNear != newShadowNear || shadowFar != newShadowFar || charaShadowRange != newCharaShadowRange)) + { + shadowNear = newShadowNear; + shadowFar = newShadowFar; + charaShadowRange = newCharaShadowRange; + data->RenderObject->ShadowPlaneNear = newShadowNear; + data->RenderObject->ShadowPlaneFar = newShadowFar; + data->RenderObject->CharacterShadowRange = newCharaShadowRange; + } + } + + internal unsafe void Tick() + { + if (data != null) + { + LightNativeBridge.UpdateCulling(data); + LightNativeBridge.UpdateMaterial(data); + } + } + + public unsafe void Dispose() + { + if (data != null) + { + GameLightVTable* virtualTable = data->VirtualTable; + if (virtualTable != null) + { + virtualTable->Cleanup(data); + virtualTable->Destructor(data, false); + } + data = null; + GC.SuppressFinalize(this); + } + } +} diff --git a/Auspex/Auspex.Rendering.Direct3D/ClipZoneShader.cs b/Auspex/Auspex.Rendering.Direct3D/ClipZoneShader.cs new file mode 100644 index 0000000..72202b9 --- /dev/null +++ b/Auspex/Auspex.Rendering.Direct3D/ClipZoneShader.cs @@ -0,0 +1,174 @@ +using System; +using System.Numerics; +using System.Runtime.InteropServices; +using TerraFX.Interop.DirectX; + +namespace Auspex.Rendering.Direct3D; + +internal sealed class ClipZoneShader : IDisposable +{ + public struct Constants + { + public Vector2 ViewportSize; + } + + public struct Instance + { + public Vector2 Min; + + public Vector2 Max; + } + + private readonly FrameRenderContext _ctx; + + private readonly GpuBuffer _buffer; + + private GpuBuffer.Builder? _builder; + + private unsafe ID3D11Buffer* _constantBuffer; + + private unsafe ID3D11InputLayout* _il; + + private unsafe ID3D11VertexShader* _vs; + + private unsafe ID3D11PixelShader* _ps; + + public bool HasPending => _builder != null; + + public unsafe ClipZoneShader(FrameRenderContext ctx, int maxRects) + { + _ctx = ctx; + _buffer = new GpuBuffer("ClipZone", ctx, maxRects, 1u, dynamic: true); + ReadOnlySpan source = "cbuffer Constants : register(b0)\n{\n float2 viewportSize;\n};\n\nstruct Rect\n{\n float2 rmin : RECTMIN;\n float2 rmax : RECTMAX;\n};\n\nstruct VSOutput\n{\n float4 pos : SV_POSITION;\n};\n\nVSOutput vs(in Rect r, uint vid : SV_VertexID)\n{\n VSOutput o;\n float2 px = float2(\n (vid & 1) ? r.rmax.x : r.rmin.x,\n (vid & 2) ? r.rmax.y : r.rmin.y);\n float2 ndc = float2(\n px.x / viewportSize.x * 2.0 - 1.0,\n 1.0 - px.y / viewportSize.y * 2.0);\n o.pos = float4(ndc, 0, 1);\n return o;\n}\n\nvoid ps(VSOutput input)\n{\n}"u8; + TriangleFillShader.CompileShader(source, "vs"u8, "vs_5_0"u8, out var blob, "ClipZone VS"); + TriangleFillShader.CompileShader(source, "ps"u8, "ps_5_0"u8, out var blob2, "ClipZone PS"); + ID3D11VertexShader* vs = default(ID3D11VertexShader*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateVertexShader(blob->GetBufferPointer(), blob->GetBufferSize(), null, &vs)); + _vs = vs; + ID3D11PixelShader* ps = default(ID3D11PixelShader*); + Marshal.ThrowExceptionForHR(ctx.Device->CreatePixelShader(blob2->GetBufferPointer(), blob2->GetBufferSize(), null, &ps)); + _ps = ps; + D3D11_BUFFER_DESC d3D11_BUFFER_DESC = new D3D11_BUFFER_DESC + { + ByteWidth = 16u, + Usage = D3D11_USAGE.D3D11_USAGE_DEFAULT, + BindFlags = 4u + }; + ID3D11Buffer* constantBuffer = default(ID3D11Buffer*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateBuffer(&d3D11_BUFFER_DESC, null, &constantBuffer)); + _constantBuffer = constantBuffer; + fixed (byte* semanticName = "RECTMIN"u8) + { + fixed (byte* semanticName2 = "RECTMAX"u8) + { + D3D11_INPUT_ELEMENT_DESC* ptr = stackalloc D3D11_INPUT_ELEMENT_DESC[2]; + *ptr = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32G32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_INSTANCE_DATA, + InstanceDataStepRate = 1u + }; + ptr[1] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName2, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32G32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_INSTANCE_DATA, + InstanceDataStepRate = 1u + }; + ID3D11InputLayout* il = default(ID3D11InputLayout*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateInputLayout(ptr, 2u, blob->GetBufferPointer(), blob->GetBufferSize(), &il)); + _il = il; + } + } + blob->Release(); + blob2->Release(); + } + + public unsafe void Dispose() + { + _builder?.Dispose(); + _buffer.Dispose(); + if (_constantBuffer != null) + { + _constantBuffer->Release(); + _constantBuffer = null; + } + if (_il != null) + { + _il->Release(); + _il = null; + } + if (_vs != null) + { + _vs->Release(); + _vs = null; + } + if (_ps != null) + { + _ps->Release(); + _ps = null; + } + GC.SuppressFinalize(this); + } + + public unsafe void UpdateConstants(Constants consts) + { + _ctx.Context->UpdateSubresource((ID3D11Resource*)_constantBuffer, 0u, null, &consts, 0u, 0u); + } + + public void Add(Vector2 min, Vector2 max) + { + if (_builder == null) + { + _builder = _buffer.Map(_ctx); + } + Instance item = new Instance + { + Min = min, + Max = max + }; + _builder.Add(ref item); + } + + public unsafe void Flush() + { + if (_builder != null) + { + _builder.Dispose(); + _builder = null; + Bind(); + ID3D11Buffer* buffer = _buffer.Buffer; + uint elementSize = (uint)_buffer.ElementSize; + uint num = 0u; + _ctx.Context->IASetVertexBuffers(0u, 1u, &buffer, &elementSize, &num); + _ctx.Context->DrawInstanced(4u, (uint)_buffer.CurElements, 0u, 0u); + } + } + + public void Discard() + { + if (_builder != null) + { + _builder.Dispose(); + _builder = null; + } + } + + private unsafe void Bind() + { + _ctx.Context->IASetPrimitiveTopology(D3D_PRIMITIVE_TOPOLOGY.D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP); + _ctx.Context->IASetInputLayout(_il); + _ctx.Context->VSSetShader(_vs, null, 0u); + ID3D11Buffer* constantBuffer = _constantBuffer; + _ctx.Context->VSSetConstantBuffers(0u, 1u, &constantBuffer); + _ctx.Context->PSSetShader(_ps, null, 0u); + _ctx.Context->GSSetShader(null, null, 0u); + } +} diff --git a/Auspex/Auspex.Rendering.Direct3D/ColorConversions.cs b/Auspex/Auspex.Rendering.Direct3D/ColorConversions.cs new file mode 100644 index 0000000..c765627 --- /dev/null +++ b/Auspex/Auspex.Rendering.Direct3D/ColorConversions.cs @@ -0,0 +1,20 @@ +using System.Numerics; +using System.Runtime.CompilerServices; +using Dalamud.Bindings.ImGui; + +namespace Auspex.Rendering.Direct3D; + +internal static class ColorConversions +{ + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint ToUint(this Vector4 color) + { + return ImGui.ColorConvertFloat4ToU32(color); + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static Vector4 ToVector4(this uint color) + { + return ImGui.ColorConvertU32ToFloat4(color); + } +} diff --git a/Auspex/Auspex.Rendering.Direct3D/Direct3DRenderer.cs b/Auspex/Auspex.Rendering.Direct3D/Direct3DRenderer.cs new file mode 100644 index 0000000..73fa835 --- /dev/null +++ b/Auspex/Auspex.Rendering.Direct3D/Direct3DRenderer.cs @@ -0,0 +1,787 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.InteropServices; +using FFXIVClientStructs.FFXIV.Client.Game; +using FFXIVClientStructs.FFXIV.Client.Game.Control; +using FFXIVClientStructs.FFXIV.Client.Graphics.Kernel; +using FFXIVClientStructs.FFXIV.Client.Graphics.Render; +using TerraFX.Interop.DirectX; +using TerraFX.Interop.Windows; + +namespace Auspex.Rendering.Direct3D; + +internal sealed class Direct3DRenderer : IDisposable +{ + public const int MAX_FANS = 2048; + + public const int MAX_TRIS = 65536; + + public const int MAX_STROKE_SEGMENTS = 245760; + + public const int MAX_CLIP_ZONES = 3072; + + public const int MAX_TEXTURED_QUADS = 256; + + private unsafe ID3D11DepthStencilState* _clipZoneDSS; + + private unsafe ID3D11DepthStencilState* _shapeDSS; + + private readonly TriangleFillShader.Data _triFillDynamicData; + + private TriangleFillShader.Data.Builder? _triFillDynamicBuilder; + + private readonly FanFillShader.Data _fanFillDynamicData; + + private FanFillShader.Data.Builder? _fanFillDynamicBuilder; + + private readonly StrokeShader.Data _strokeDynamicData; + + private StrokeShader.Data.Builder? _strokeDynamicBuilder; + + private readonly QuadBlitter.Data _texturedQuadDynamicData; + + private QuadBlitter.Data.Builder? _texturedQuadDynamicBuilder; + + internal readonly List SharedPath = new List(); + + private unsafe ID3D11RasterizerState* _rasterizerState; + + public FrameRenderContext FrameRenderContext { get; init; } = new FrameRenderContext(); + + internal FrameRenderTarget? FrameRenderTarget { get; private set; } + + public TriangleFillShader TriangleFillShader { get; init; } + + public FanFillShader FanFillShader { get; init; } + + public StrokeShader StrokeShader { get; init; } + + public QuadBlitter QuadBlitter { get; init; } + + public FullscreenPassShader? FSP { get; init; } + + public ClipZoneShader ClipZone { get; init; } + + internal SceneDepthCapture SceneDepth { get; init; } + + public Matrix4x4 ViewProj { get; private set; } + + public Vector2 ViewportSize { get; private set; } + + public Vector3 CameraRight { get; private set; } + + public Vector3 CameraUp { get; private set; } + + public bool FanDegraded { get; private set; } + + public bool StrokeDegraded { get; private set; } + + public bool FSPDegraded { get; private set; } + + public bool TexturedQuadDegraded { get; private set; } + + internal HighResFontAtlas? WorldFont { get; private set; } + + public Direct3DRenderer() + { + try + { + FanFillShader = new FanFillShader(FrameRenderContext); + } + catch (Exception exception) + { + AuspexService.Log.Error(exception, "[Auspex] Failed to compile fan shader; starting in degraded mode."); + FanDegraded = true; + } + _fanFillDynamicData = new FanFillShader.Data(FrameRenderContext, FanDegraded ? 1 : 2048, dynamic: true); + try + { + StrokeShader = new StrokeShader(FrameRenderContext); + } + catch (Exception exception2) + { + AuspexService.Log.Error(exception2, "[Auspex] Failed to compile stroke shader; starting in degraded mode."); + StrokeDegraded = true; + } + _strokeDynamicData = new StrokeShader.Data(FrameRenderContext, StrokeDegraded ? 1 : 245760, dynamic: true); + try + { + QuadBlitter = new QuadBlitter(FrameRenderContext); + } + catch (Exception exception3) + { + AuspexService.Log.Error(exception3, "[Auspex] Failed to compile textured quad shader; starting in degraded mode."); + TexturedQuadDegraded = true; + } + _texturedQuadDynamicData = new QuadBlitter.Data(FrameRenderContext, TexturedQuadDegraded ? 1 : 1536, dynamic: true); + if (!TexturedQuadDegraded) + { + try + { + WorldFont = new HighResFontAtlas(FrameRenderContext); + } + catch (Exception exception4) + { + AuspexService.Log.Error(exception4, "[Auspex] Failed to create high-res world text font; world text will use low-res fallback."); + } + } + try + { + TriangleFillShader = new TriangleFillShader(FrameRenderContext); + _triFillDynamicData = new TriangleFillShader.Data(FrameRenderContext, 65536 + (FanDegraded ? 737280 : 0), dynamic: true); + } + catch + { + Dispose(); + throw; + } + try + { + FSP = new FullscreenPassShader(FrameRenderContext); + } + catch (Exception exception5) + { + AuspexService.Log.Error(exception5, "[Auspex] Failed to compile FSP shader; starting in degraded mode."); + FSPDegraded = true; + } + SceneDepth = new SceneDepthCapture(); + ClipZone = new ClipZoneShader(FrameRenderContext, 3072); + CreateRasterizerState(); + CreateDepthStencilStates(); + } + + private unsafe void CreateRasterizerState() + { + D3D11_RASTERIZER_DESC d3D11_RASTERIZER_DESC = new D3D11_RASTERIZER_DESC + { + FillMode = D3D11_FILL_MODE.D3D11_FILL_SOLID, + CullMode = D3D11_CULL_MODE.D3D11_CULL_NONE, + DepthClipEnable = true, + ScissorEnable = true + }; + ID3D11RasterizerState* rasterizerState = default(ID3D11RasterizerState*); + Marshal.ThrowExceptionForHR(FrameRenderContext.Device->CreateRasterizerState(&d3D11_RASTERIZER_DESC, &rasterizerState)); + _rasterizerState = rasterizerState; + } + + private unsafe void CreateDepthStencilStates() + { + D3D11_DEPTH_STENCILOP_DESC d3D11_DEPTH_STENCILOP_DESC = new D3D11_DEPTH_STENCILOP_DESC + { + StencilFailOp = D3D11_STENCIL_OP.D3D11_STENCIL_OP_KEEP, + StencilDepthFailOp = D3D11_STENCIL_OP.D3D11_STENCIL_OP_KEEP, + StencilPassOp = D3D11_STENCIL_OP.D3D11_STENCIL_OP_REPLACE, + StencilFunc = D3D11_COMPARISON_FUNC.D3D11_COMPARISON_ALWAYS + }; + D3D11_DEPTH_STENCIL_DESC d3D11_DEPTH_STENCIL_DESC = new D3D11_DEPTH_STENCIL_DESC + { + DepthEnable = false, + DepthWriteMask = D3D11_DEPTH_WRITE_MASK.D3D11_DEPTH_WRITE_MASK_ZERO, + StencilEnable = true, + StencilReadMask = byte.MaxValue, + StencilWriteMask = byte.MaxValue, + FrontFace = d3D11_DEPTH_STENCILOP_DESC, + BackFace = d3D11_DEPTH_STENCILOP_DESC + }; + ID3D11DepthStencilState* ptr = default(ID3D11DepthStencilState*); + Marshal.ThrowExceptionForHR(FrameRenderContext.Device->CreateDepthStencilState(&d3D11_DEPTH_STENCIL_DESC, &ptr)); + _clipZoneDSS = ptr; + D3D11_DEPTH_STENCILOP_DESC d3D11_DEPTH_STENCILOP_DESC2 = new D3D11_DEPTH_STENCILOP_DESC + { + StencilFailOp = D3D11_STENCIL_OP.D3D11_STENCIL_OP_KEEP, + StencilDepthFailOp = D3D11_STENCIL_OP.D3D11_STENCIL_OP_KEEP, + StencilPassOp = D3D11_STENCIL_OP.D3D11_STENCIL_OP_KEEP, + StencilFunc = D3D11_COMPARISON_FUNC.D3D11_COMPARISON_EQUAL + }; + D3D11_DEPTH_STENCIL_DESC d3D11_DEPTH_STENCIL_DESC2 = new D3D11_DEPTH_STENCIL_DESC + { + DepthEnable = false, + DepthWriteMask = D3D11_DEPTH_WRITE_MASK.D3D11_DEPTH_WRITE_MASK_ZERO, + StencilEnable = true, + StencilReadMask = byte.MaxValue, + StencilWriteMask = 0, + FrontFace = d3D11_DEPTH_STENCILOP_DESC2, + BackFace = d3D11_DEPTH_STENCILOP_DESC2 + }; + Marshal.ThrowExceptionForHR(FrameRenderContext.Device->CreateDepthStencilState(&d3D11_DEPTH_STENCIL_DESC2, &ptr)); + _shapeDSS = ptr; + } + + public unsafe void Dispose() + { + WorldFont?.Dispose(); + FrameRenderTarget?.Dispose(); + _triFillDynamicBuilder?.Dispose(); + _triFillDynamicData?.Dispose(); + _fanFillDynamicBuilder?.Dispose(); + _fanFillDynamicData?.Dispose(); + _strokeDynamicBuilder?.Dispose(); + _strokeDynamicData?.Dispose(); + _texturedQuadDynamicBuilder?.Dispose(); + _texturedQuadDynamicData?.Dispose(); + if (!FanDegraded) + { + FanFillShader.Dispose(); + } + if (!StrokeDegraded) + { + StrokeShader.Dispose(); + } + if (!TexturedQuadDegraded) + { + QuadBlitter.Dispose(); + } + TriangleFillShader?.Dispose(); + FSP?.Dispose(); + SceneDepth.Dispose(); + ClipZone.Dispose(); + if (_clipZoneDSS != null) + { + _clipZoneDSS->Release(); + _clipZoneDSS = null; + } + if (_shapeDSS != null) + { + _shapeDSS->Release(); + _shapeDSS = null; + } + if (_rasterizerState != null) + { + _rasterizerState->Release(); + _rasterizerState = null; + } + FrameRenderContext.Dispose(); + GC.SuppressFinalize(this); + } + + internal unsafe void BeginFrame() + { + Device* ptr = Device.Instance(); + ViewportSize = new Vector2(ptr->Width, ptr->Height); + Control* ptr2 = Control.Instance(); + ViewProj = *(Matrix4x4*)(&ptr2->ViewProjectionMatrix); + SceneDepth.Update(); + FFXIVClientStructs.FFXIV.Client.Game.Camera* activeCamera = ptr2->CameraManager.GetActiveCamera(); + FFXIVClientStructs.FFXIV.Client.Graphics.Render.Camera* ptr3 = ((activeCamera != null) ? activeCamera->SceneCamera.RenderCamera : null); + if (ptr3 != null && Matrix4x4.Invert(ptr3->ProjectionMatrix, out var result)) + { + Matrix4x4 matrix4x = ViewProj * result; + CameraRight = Vector3.Normalize(new Vector3(matrix4x.M11, matrix4x.M21, matrix4x.M31)); + CameraUp = Vector3.Normalize(new Vector3(matrix4x.M12, matrix4x.M22, matrix4x.M32)); + } + else + { + CameraRight = Vector3.UnitX; + CameraUp = Vector3.UnitY; + } + Vector2 pixelToUv = ((SceneDepth.SRV != null) ? (SceneDepth.UvScale / ViewportSize) : Vector2.Zero); + TriangleFillShader.UpdateConstants(FrameRenderContext, new TriangleFillShader.Constants + { + ViewProj = ViewProj, + PixelToUv = pixelToUv + }); + if (!FanDegraded) + { + FanFillShader.UpdateConstants(FrameRenderContext, new FanFillShader.Constants + { + ViewProj = ViewProj, + PixelToUv = pixelToUv + }); + } + if (!StrokeDegraded) + { + StrokeShader.UpdateConstants(FrameRenderContext, new StrokeShader.Constants + { + ViewProj = ViewProj, + RenderTargetSize = new Vector2(ViewportSize.X, ViewportSize.Y), + PixelToUv = pixelToUv + }); + } + if (!TexturedQuadDegraded) + { + QuadBlitter.UpdateConstants(FrameRenderContext, new QuadBlitter.Constants + { + ViewProj = ViewProj + }); + } + if (!FSPDegraded) + { + bool flag = AuspexService.Hints.ClipNativeUI && !SceneDepth.IsResolutionScaled; + FSP.UpdateConstants(FrameRenderContext, new FullscreenPassShader.Constants + { + MaxAlpha = AuspexService.Hints.MaxAlphaFraction, + ClipNativeUI = (flag ? 1f : 0f) + }); + } + if (FrameRenderTarget == null || FrameRenderTarget.Size != ViewportSize) + { + FrameRenderTarget?.Dispose(); + FrameRenderTarget = new FrameRenderTarget(FrameRenderContext, (int)ViewportSize.X, (int)ViewportSize.Y, AuspexService.Hints.AlphaBlendMode); + } + FrameRenderTarget.Bind(FrameRenderContext); + FrameRenderContext.Context->RSSetState(_rasterizerState); + RECT rECT = new RECT + { + left = 0, + top = 0, + right = (int)ViewportSize.X, + bottom = (int)ViewportSize.Y + }; + FrameRenderContext.Context->RSSetScissorRects(1u, &rECT); + } + + internal void Flush() + { + if (_triFillDynamicBuilder != null) + { + _triFillDynamicBuilder.Dispose(); + _triFillDynamicBuilder = null; + TriangleFillShader.Bind(FrameRenderContext); + _triFillDynamicData.DrawAll(FrameRenderContext); + } + if (!FanDegraded && _fanFillDynamicBuilder != null) + { + _fanFillDynamicBuilder.Dispose(); + _fanFillDynamicBuilder = null; + FanFillShader.Bind(FrameRenderContext); + _fanFillDynamicData.DrawAll(FrameRenderContext); + } + if (!StrokeDegraded && _strokeDynamicBuilder != null) + { + _strokeDynamicBuilder.Dispose(); + _strokeDynamicBuilder = null; + StrokeShader.Bind(FrameRenderContext); + _strokeDynamicData.DrawAll(FrameRenderContext); + } + if (!TexturedQuadDegraded && _texturedQuadDynamicBuilder != null) + { + _texturedQuadDynamicBuilder.Dispose(); + _texturedQuadDynamicBuilder = null; + QuadBlitter.Draw(FrameRenderContext, _texturedQuadDynamicData); + } + } + + internal unsafe void SetScissorRect(Vector2 min, Vector2 max) + { + Flush(); + RECT rECT = new RECT + { + left = (int)min.X, + top = (int)min.Y, + right = (int)max.X, + bottom = (int)max.Y + }; + FrameRenderContext.Context->RSSetScissorRects(1u, &rECT); + } + + internal unsafe void ClearScissorRect() + { + Flush(); + RECT rECT = new RECT + { + left = 0, + top = 0, + right = (int)ViewportSize.X, + bottom = (int)ViewportSize.Y + }; + FrameRenderContext.Context->RSSetScissorRects(1u, &rECT); + } + + public void AddClipZone(Vector2 min, Vector2 max) + { + ClipZone.Add(min, max); + } + + internal unsafe FrameRenderTarget EndFrame() + { + bool num = _triFillDynamicBuilder != null || (!FanDegraded && _fanFillDynamicBuilder != null) || (!StrokeDegraded && _strokeDynamicBuilder != null) || (!TexturedQuadDegraded && _texturedQuadDynamicBuilder != null); + bool hasPending = ClipZone.HasPending; + if (num && SceneDepth.SRV != null) + { + ID3D11DepthStencilView* clipStencilDSV = FrameRenderTarget.ClipStencilDSV; + FrameRenderContext.Context->OMSetRenderTargets(0u, null, clipStencilDSV); + FrameRenderContext.Context->ClearDepthStencilView(clipStencilDSV, 2u, 0f, 0); + if (hasPending) + { + ClipZone.UpdateConstants(new ClipZoneShader.Constants + { + ViewportSize = new Vector2(ViewportSize.X, ViewportSize.Y) + }); + FrameRenderContext.Context->OMSetDepthStencilState(_clipZoneDSS, 1u); + ClipZone.Flush(); + } + ID3D11RenderTargetView* baseRTV = FrameRenderTarget.BaseRTV; + FrameRenderContext.Context->OMSetRenderTargets(1u, &baseRTV, clipStencilDSV); + FrameRenderContext.Context->OMSetDepthStencilState(_shapeDSS, 0u); + ID3D11ShaderResourceView* sRV = SceneDepth.SRV; + FrameRenderContext.Context->PSSetShaderResources(0u, 1u, &sRV); + } + else + { + ClipZone.Discard(); + } + Flush(); + if (SceneDepth.SRV != null) + { + ID3D11ShaderResourceView* ptr = null; + FrameRenderContext.Context->PSSetShaderResources(0u, 1u, &ptr); + } + if (!FSPDegraded) + { + Device* ptr2 = Device.Instance(); + if (ptr2 != null && ptr2->SwapChain != null && ptr2->SwapChain->BackBuffer != null && ptr2->SwapChain->BackBuffer->D3D11Texture2D != null) + { + ID3D11Texture2D* d3D11Texture2D = (ID3D11Texture2D*)ptr2->SwapChain->BackBuffer->D3D11Texture2D; + FrameRenderTarget.ExecuteFSP(FrameRenderContext, d3D11Texture2D, FSP, AuspexService.Hints.ClipNativeUI && !SceneDepth.IsResolutionScaled); + } + else + { + AuspexService.Log.Warning("[Auspex] Direct3DRenderer.EndFrame: Device or BackBuffer is null; skipping combined pass."); + } + } + else + { + FrameRenderTarget.CopyBaseToProcessed(FrameRenderContext); + } + FrameRenderContext.Execute(); + return FrameRenderTarget; + } + + public void DrawTriangle(Vector3 a, Vector3 b, Vector3 c, uint colorA, uint colorB, uint colorC, AxDxParams p) + { + TriangleFillShader.Data.Builder triFills = GetTriFills(); + triFills.Add(a, colorA.ToVector4(), p); + triFills.Add(b, colorB.ToVector4(), p); + triFills.Add(c, colorC.ToVector4(), p); + } + + private void DrawTriangle(Vector3 a, Vector3 b, Vector3 c, Vector4 colorA, Vector4 colorB, Vector4 colorC, AxDxParams p) + { + TriangleFillShader.Data.Builder triFills = GetTriFills(); + triFills.Add(a, colorA, p); + triFills.Add(b, colorB, p); + triFills.Add(c, colorC, p); + } + + private TriangleFillShader.Data.Builder GetTriFills() + { + return _triFillDynamicBuilder ?? (_triFillDynamicBuilder = _triFillDynamicData.Map(FrameRenderContext)); + } + + private void DrawTriangleFan(Vector3 center, float innerRadius, float outerRadius, float minAngle, float maxAngle, uint innerColor, uint outerColor, uint numSegments = 0u, AxDxParams p = default(AxDxParams)) + { + float num = maxAngle - minAngle; + if (num == 0f) + { + return; + } + if (numSegments == 0) + { + numSegments = (uint)(MathF.Abs(num) * 8f); + } + float num2 = num / (float)numSegments; + Vector4 vector = innerColor.ToVector4(); + Vector4 vector2 = outerColor.ToVector4(); + Vector3 vector3 = default(Vector3); + for (int i = 0; i <= numSegments; i++) + { + float num3 = (float)Math.PI / 2f + minAngle + (float)i * num2; + Vector3 vector4 = new Vector3(MathF.Cos(num3), 0f, MathF.Sin(num3)); + if (i > 0) + { + if (innerRadius > 0f) + { + DrawTriangle(center + innerRadius * vector3, center + outerRadius * vector3, center + outerRadius * vector4, vector, vector2, vector2, p); + DrawTriangle(center + outerRadius * vector4, center + innerRadius * vector4, center + innerRadius * vector3, vector2, vector, vector, p); + } + else + { + DrawTriangle(center, center + outerRadius * vector3, center + outerRadius * vector4, vector, vector2, vector2, p); + } + } + vector3 = vector4; + } + } + + internal void DrawTriangleFanGradient(Vector3 center, float innerRadius, float outerRadius, float minAngle, float maxAngle, T gradient, uint numSegments = 0u, AxDxParams p = default(AxDxParams)) where T : IPctGradient + { + float num = maxAngle - minAngle; + if (num == 0f) + { + return; + } + if (numSegments == 0) + { + numSegments = (uint)(MathF.Abs(num) * 8f); + } + float num2 = num / (float)numSegments; + Vector3 vector = default(Vector3); + for (int i = 0; i <= numSegments; i++) + { + float num3 = (float)Math.PI / 2f + minAngle + (float)i * num2; + Vector3 vector2 = new Vector3(MathF.Cos(num3), 0f, MathF.Sin(num3)); + if (i > 0) + { + if (innerRadius > 0f) + { + Vector3 vector3 = center + innerRadius * vector; + Vector3 vector4 = center + outerRadius * vector; + Vector3 vector5 = center + outerRadius * vector2; + Vector3 vector6 = center + innerRadius * vector2; + DrawTriangle(vector3, vector4, vector5, gradient.ColorAt(vector3).ToVector4(), gradient.ColorAt(vector4).ToVector4(), gradient.ColorAt(vector5).ToVector4(), p); + DrawTriangle(vector5, vector6, vector3, gradient.ColorAt(vector5).ToVector4(), gradient.ColorAt(vector6).ToVector4(), gradient.ColorAt(vector3).ToVector4(), p); + } + else + { + Vector3 vector7 = center + outerRadius * vector; + Vector3 vector8 = center + outerRadius * vector2; + DrawTriangle(center, vector7, vector8, gradient.ColorAt(center).ToVector4(), gradient.ColorAt(vector7).ToVector4(), gradient.ColorAt(vector8).ToVector4(), p); + } + } + vector = vector2; + } + } + + internal void DrawTerrainFan(Vector3 origin, float innerRadius, float outerRadius, float minAngle, float maxAngle, uint innerColor, uint outerColor, float resolution, float yOffset, uint numSegments = 0u, AxDxParams p = default(AxDxParams)) + { + float num = maxAngle - minAngle; + if (num == 0f) + { + return; + } + uint num2 = ((numSegments != 0) ? numSegments : ((uint)MathF.Ceiling(MathF.Abs(num) * outerRadius / resolution))); + if (num2 == 0) + { + num2 = 1u; + } + int num3 = Math.Max(1, (int)MathF.Ceiling((outerRadius - innerRadius) / resolution)); + float num4 = num / (float)num2; + Vector4 value = innerColor.ToVector4(); + Vector4 value2 = outerColor.ToVector4(); + Vector3 a = ((innerRadius == 0f) ? TerrainVertex(origin, Vector3.Zero, 0f, yOffset) : default(Vector3)); + float num5 = (float)Math.PI / 2f + minAngle; + Vector3 direction = new Vector3(MathF.Cos(num5), 0f, MathF.Sin(num5)); + for (int i = 1; i <= num2; i++) + { + float num6 = (float)Math.PI / 2f + minAngle + (float)i * num4; + Vector3 vector = new Vector3(MathF.Cos(num6), 0f, MathF.Sin(num6)); + for (int j = 0; j < num3; j++) + { + float num7 = innerRadius + (outerRadius - innerRadius) * (float)j / (float)num3; + float radius = innerRadius + (outerRadius - innerRadius) * (float)(j + 1) / (float)num3; + float amount = (float)j / (float)num3; + float amount2 = (float)(j + 1) / (float)num3; + Vector4 vector2 = Vector4.Lerp(value, value2, amount); + Vector4 vector3 = Vector4.Lerp(value, value2, amount2); + if (num7 > 0f) + { + Vector3 vector4 = TerrainVertex(origin, direction, num7, yOffset); + Vector3 b = TerrainVertex(origin, direction, radius, yOffset); + Vector3 vector5 = TerrainVertex(origin, vector, radius, yOffset); + Vector3 b2 = TerrainVertex(origin, vector, num7, yOffset); + DrawTriangle(vector4, b, vector5, vector2, vector3, vector3, p); + DrawTriangle(vector5, b2, vector4, vector3, vector2, vector2, p); + } + else + { + Vector3 b3 = TerrainVertex(origin, direction, radius, yOffset); + Vector3 c = TerrainVertex(origin, vector, radius, yOffset); + DrawTriangle(a, b3, c, vector2, vector3, vector3, p); + } + } + direction = vector; + } + } + + internal void DrawTerrainFanGradient(Vector3 origin, float innerRadius, float outerRadius, float minAngle, float maxAngle, T gradient, float resolution, float yOffset, uint numSegments = 0u, AxDxParams p = default(AxDxParams)) where T : IPctGradient + { + float num = maxAngle - minAngle; + if (num == 0f) + { + return; + } + uint num2 = ((numSegments != 0) ? numSegments : ((uint)MathF.Ceiling(MathF.Abs(num) * outerRadius / resolution))); + if (num2 == 0) + { + num2 = 1u; + } + int num3 = Math.Max(1, (int)MathF.Ceiling((outerRadius - innerRadius) / resolution)); + float num4 = num / (float)num2; + Vector3 vector = ((innerRadius == 0f) ? TerrainVertex(origin, Vector3.Zero, 0f, yOffset) : default(Vector3)); + Vector4 colorA = ((innerRadius == 0f) ? gradient.ColorAt(vector).ToVector4() : default(Vector4)); + float num5 = (float)Math.PI / 2f + minAngle; + Vector3 direction = new Vector3(MathF.Cos(num5), 0f, MathF.Sin(num5)); + for (int i = 1; i <= num2; i++) + { + float num6 = (float)Math.PI / 2f + minAngle + (float)i * num4; + Vector3 vector2 = new Vector3(MathF.Cos(num6), 0f, MathF.Sin(num6)); + for (int j = 0; j < num3; j++) + { + float num7 = innerRadius + (outerRadius - innerRadius) * (float)j / (float)num3; + float radius = innerRadius + (outerRadius - innerRadius) * (float)(j + 1) / (float)num3; + if (num7 > 0f) + { + Vector3 vector3 = TerrainVertex(origin, direction, num7, yOffset); + Vector3 vector4 = TerrainVertex(origin, direction, radius, yOffset); + Vector3 vector5 = TerrainVertex(origin, vector2, radius, yOffset); + Vector3 vector6 = TerrainVertex(origin, vector2, num7, yOffset); + DrawTriangle(vector3, vector4, vector5, gradient.ColorAt(vector3).ToVector4(), gradient.ColorAt(vector4).ToVector4(), gradient.ColorAt(vector5).ToVector4(), p); + DrawTriangle(vector5, vector6, vector3, gradient.ColorAt(vector5).ToVector4(), gradient.ColorAt(vector6).ToVector4(), gradient.ColorAt(vector3).ToVector4(), p); + } + else + { + Vector3 vector7 = TerrainVertex(origin, direction, radius, yOffset); + Vector3 vector8 = TerrainVertex(origin, vector2, radius, yOffset); + DrawTriangle(vector, vector7, vector8, colorA, gradient.ColorAt(vector7).ToVector4(), gradient.ColorAt(vector8).ToVector4(), p); + } + } + direction = vector2; + } + } + + internal void DrawTerrainQuad(Vector3 a, Vector3 b, Vector3 c, Vector3 d, uint colorA, uint colorB, uint colorC, uint colorD, float resolution, float yOffset, AxDxParams p = default(AxDxParams)) + { + float num = MathF.Max(Vector3.Distance(a, b), Vector3.Distance(d, c)); + float num2 = MathF.Max(Vector3.Distance(b, c), Vector3.Distance(a, d)); + int num3 = Math.Max(1, (int)MathF.Ceiling(num / resolution)); + int num4 = Math.Max(1, (int)MathF.Ceiling(num2 / resolution)); + Vector4 a2 = colorA.ToVector4(); + Vector4 b2 = colorB.ToVector4(); + Vector4 c2 = colorC.ToVector4(); + Vector4 d2 = colorD.ToVector4(); + for (int i = 0; i < num3; i++) + { + float u = (float)i / (float)num3; + float u2 = (float)(i + 1) / (float)num3; + for (int j = 0; j < num4; j++) + { + float v = (float)j / (float)num4; + float v2 = (float)(j + 1) / (float)num4; + Vector3 vector = TerrainVertexBilinear(a, b, c, d, u, v, yOffset); + Vector3 b3 = TerrainVertexBilinear(a, b, c, d, u2, v, yOffset); + Vector3 vector2 = TerrainVertexBilinear(a, b, c, d, u2, v2, yOffset); + Vector3 b4 = TerrainVertexBilinear(a, b, c, d, u, v2, yOffset); + Vector4 vector3 = BilinearColorV4(a2, b2, c2, d2, u, v); + Vector4 colorB2 = BilinearColorV4(a2, b2, c2, d2, u2, v); + Vector4 vector4 = BilinearColorV4(a2, b2, c2, d2, u2, v2); + Vector4 colorB3 = BilinearColorV4(a2, b2, c2, d2, u, v2); + DrawTriangle(vector, b3, vector2, vector3, colorB2, vector4, p); + DrawTriangle(vector2, b4, vector, vector4, colorB3, vector3, p); + } + } + } + + internal void DrawTerrainQuadGradient(Vector3 a, Vector3 b, Vector3 c, Vector3 d, T gradient, float resolution, float yOffset, AxDxParams p = default(AxDxParams)) where T : IPctGradient + { + float num = MathF.Max(Vector3.Distance(a, b), Vector3.Distance(d, c)); + float num2 = MathF.Max(Vector3.Distance(b, c), Vector3.Distance(a, d)); + int num3 = Math.Max(1, (int)MathF.Ceiling(num / resolution)); + int num4 = Math.Max(1, (int)MathF.Ceiling(num2 / resolution)); + for (int i = 0; i < num3; i++) + { + float u = (float)i / (float)num3; + float u2 = (float)(i + 1) / (float)num3; + for (int j = 0; j < num4; j++) + { + float v = (float)j / (float)num4; + float v2 = (float)(j + 1) / (float)num4; + Vector3 vector = TerrainVertexBilinear(a, b, c, d, u, v, yOffset); + Vector3 vector2 = TerrainVertexBilinear(a, b, c, d, u2, v, yOffset); + Vector3 vector3 = TerrainVertexBilinear(a, b, c, d, u2, v2, yOffset); + Vector3 vector4 = TerrainVertexBilinear(a, b, c, d, u, v2, yOffset); + DrawTriangle(vector, vector2, vector3, gradient.ColorAt(vector).ToVector4(), gradient.ColorAt(vector2).ToVector4(), gradient.ColorAt(vector3).ToVector4(), p); + DrawTriangle(vector3, vector4, vector, gradient.ColorAt(vector3).ToVector4(), gradient.ColorAt(vector4).ToVector4(), gradient.ColorAt(vector).ToVector4(), p); + } + } + } + + private static Vector3 TerrainVertex(Vector3 origin, Vector3 direction, float radius, float yOffset) + { + float x = origin.X + direction.X * radius; + float z = origin.Z + direction.Z * radius; + float terrainYRaw = AxTerrainQuery.GetTerrainYRaw(x, z); + float y = (float.IsNaN(terrainYRaw) ? origin.Y : terrainYRaw) + yOffset; + return new Vector3(x, y, z); + } + + private static Vector3 TerrainVertexBilinear(Vector3 a, Vector3 b, Vector3 c, Vector3 d, float u, float v, float yOffset) + { + Vector3 result = a * (1f - u) * (1f - v) + b * u * (1f - v) + c * u * v + d * (1f - u) * v; + float terrainYRaw = AxTerrainQuery.GetTerrainYRaw(result.X, result.Z); + float y = result.Y; + result.Y = (float.IsNaN(terrainYRaw) ? y : terrainYRaw) + yOffset; + return result; + } + + private static Vector4 BilinearColorV4(Vector4 a, Vector4 b, Vector4 c, Vector4 d, float u, float v) + { + return a * (1f - u) * (1f - v) + b * u * (1f - v) + c * u * v + d * (1f - u) * v; + } + + public void DrawFan(Vector3 center, float innerRadius, float outerRadius, float minAngle, float maxAngle, uint innerColor, uint outerColor, uint numSegments = 0u, AxDxParams p = default(AxDxParams)) + { + if (!FanDegraded) + { + if (numSegments == 0) + { + numSegments = (uint)MathF.Max(4f, MathF.Ceiling(MathF.Abs(maxAngle - minAngle) * 16f)); + } + numSegments = Math.Min(numSegments, 360u); + GetFanFills().Add(center, innerRadius, outerRadius, minAngle, maxAngle, innerColor.ToVector4(), outerColor.ToVector4(), numSegments, p); + } + else + { + DrawTriangleFan(center, innerRadius, outerRadius, minAngle, maxAngle, innerColor, outerColor, numSegments, p); + } + } + + private FanFillShader.Data.Builder GetFanFills() + { + return _fanFillDynamicBuilder ?? (_fanFillDynamicBuilder = _fanFillDynamicData.Map(FrameRenderContext)); + } + + public void DrawStroke(List world, float thickness, uint color, bool closed = false, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, AxLineCap cap = AxLineCap.Butt, AxLineJoin join = AxLineJoin.None, AxDxParams p = default(AxDxParams)) + { + if (!StrokeDegraded) + { + GetStroke().Add(world, thickness, color.ToVector4(), closed, dashLength, gapLength, dashOffset, colorEnd.HasValue ? new Vector4?(colorEnd.Value.ToVector4()) : ((Vector4?)null), (float)cap, (float)join, p); + } + } + + public void DrawStroke(List world, ReadOnlySpan thicknesses, uint color, bool closed = false, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, AxLineCap cap = AxLineCap.Butt, AxLineJoin join = AxLineJoin.None, AxDxParams p = default(AxDxParams)) + { + if (!StrokeDegraded) + { + GetStroke().Add(world, thicknesses, color.ToVector4(), closed, dashLength, gapLength, dashOffset, colorEnd.HasValue ? new Vector4?(colorEnd.Value.ToVector4()) : ((Vector4?)null), (float)cap, (float)join, p); + } + } + + private StrokeShader.Data.Builder GetStroke() + { + return _strokeDynamicBuilder ?? (_strokeDynamicBuilder = _strokeDynamicData.Map(FrameRenderContext)); + } + + public void DrawTexturedQuad(IntPtr textureSRV, Vector3 a, Vector3 b, Vector3 c, Vector3 d, uint color) + { + DrawTexturedQuad(textureSRV, a, b, c, d, color, new Vector2(0f, 0f), new Vector2(1f, 1f)); + } + + public void DrawTexturedQuad(IntPtr textureSRV, Vector3 a, Vector3 b, Vector3 c, Vector3 d, uint color, Vector2 uvMin, Vector2 uvMax) + { + QuadBlitter.Data.Builder texturedQuads = GetTexturedQuads(); + texturedQuads.SetTexture(textureSRV); + Vector4 color2 = color.ToVector4(); + texturedQuads.Add(a, new Vector2(uvMin.X, uvMin.Y), color2); + texturedQuads.Add(b, new Vector2(uvMax.X, uvMin.Y), color2); + texturedQuads.Add(c, new Vector2(uvMax.X, uvMax.Y), color2); + texturedQuads.Add(a, new Vector2(uvMin.X, uvMin.Y), color2); + texturedQuads.Add(c, new Vector2(uvMax.X, uvMax.Y), color2); + texturedQuads.Add(d, new Vector2(uvMin.X, uvMax.Y), color2); + } + + private QuadBlitter.Data.Builder GetTexturedQuads() + { + return _texturedQuadDynamicBuilder ?? (_texturedQuadDynamicBuilder = _texturedQuadDynamicData.Map(FrameRenderContext)); + } +} diff --git a/Auspex/Auspex.Rendering.Direct3D/FanFillShader.cs b/Auspex/Auspex.Rendering.Direct3D/FanFillShader.cs new file mode 100644 index 0000000..f3fc6eb --- /dev/null +++ b/Auspex/Auspex.Rendering.Direct3D/FanFillShader.cs @@ -0,0 +1,288 @@ +using System; +using System.Numerics; +using System.Runtime.InteropServices; +using System.Text; +using TerraFX.Interop.DirectX; + +namespace Auspex.Rendering.Direct3D; + +internal sealed class FanFillShader : IDisposable +{ + public struct Constants + { + public Matrix4x4 ViewProj; + + public Vector2 PixelToUv; + } + + public struct Instance + { + public Vector3 Origin; + + public float InnerRadius; + + public float OuterRadius; + + public float MinAngle; + + public float MaxAngle; + + public float NumSegments; + + public Vector4 ColorOrigin; + + public Vector4 ColorEnd; + + public float OccludedAlpha; + + public float OcclusionTolerance; + + public float FadeStart; + + public float FadeStop; + } + + public sealed class Data : HlslShaderData + { + public sealed class Builder : HlslShaderBuilder + { + internal Builder(FrameRenderContext ctx, Data data) + : base(data._buffer.Map(ctx)) + { + } + + public void Add(Vector3 world, float innerRadius, float outerRadius, float minAngle, float maxAngle, Vector4 colorOrigin, Vector4 colorEnd, float numSegments, AxDxParams p) + { + _inner.Add(new Instance + { + Origin = world, + InnerRadius = innerRadius, + OuterRadius = outerRadius, + MinAngle = minAngle, + MaxAngle = maxAngle, + NumSegments = numSegments, + ColorOrigin = colorOrigin, + ColorEnd = colorEnd, + OccludedAlpha = p.OccludedAlpha, + OcclusionTolerance = p.OcclusionTolerance, + FadeStart = p.FadeStart, + FadeStop = p.FadeStop + }); + } + } + + public Data(FrameRenderContext ctx, int maxCount, bool dynamic) + : base("Fan", ctx, maxCount, dynamic) + { + } + + public Builder Map(FrameRenderContext ctx) + { + return new Builder(ctx, this); + } + + public unsafe void DrawAll(FrameRenderContext ctx) + { + ID3D11Buffer* buffer = _buffer.Buffer; + uint elementSize = (uint)_buffer.ElementSize; + uint num = 0u; + ctx.Context->IASetVertexBuffers(0u, 1u, &buffer, &elementSize, &num); + ctx.Context->DrawInstanced(722u, (uint)_buffer.CurElements, 0u, 0u); + } + } + + private const int VerticesPerInstance = 722; + + private unsafe ID3D11Buffer* _constantBuffer; + + private unsafe ID3D11InputLayout* _il; + + private unsafe ID3D11VertexShader* _vs; + + private unsafe ID3D11PixelShader* _ps; + + public unsafe FanFillShader(FrameRenderContext ctx) + { + byte[] bytes = Encoding.UTF8.GetBytes("#define PI 3.14159265359f\n#define MAX_SEGMENTS 360\n\ncbuffer Constants : register(b0)\n{\n float4x4 viewProj;\n float2 pixelToUv;\n};\n\nTexture2D _sceneDepth : register(t0);\nSamplerState _occlusionSampler\n{\n Filter = MIN_MAG_MIP_POINT;\n AddressU = CLAMP;\n AddressV = CLAMP;\n};\n\n// fadeParams: x=OccludedAlpha, y=OcclusionTolerance (m), z=FadeStart (m), w=FadeStop (m).\nfloat4 applyShared(float4 color, float3 projPos, float4 fadeParams)\n{\n float2 uv = projPos.xy * pixelToUv;\n float sceneNdcZ = _sceneDepth.Sample(_occlusionSampler, uv).r;\n\n float near = viewProj._m32;\n float shapeWorldZ = near / max(projPos.z, 1e-6);\n float sceneWorldZ = near / max(sceneNdcZ, 1e-6);\n\n float behindMeters = max(shapeWorldZ - sceneWorldZ, 0.0);\n float occlusion = behindMeters <= fadeParams.y ? 1.0 : fadeParams.x;\n\n float distanceFactor = 1.0;\n if (fadeParams.w < 1e10)\n {\n float range = max(fadeParams.w - fadeParams.z, 1e-4);\n distanceFactor = saturate((fadeParams.w - shapeWorldZ) / range);\n }\n\n color.a *= occlusion * distanceFactor;\n return color;\n}\n\nstruct Fan\n{\n float3 origin : WORLD;\n float innerRadius : RADIUS0;\n float outerRadius : RADIUS1;\n float minAngle : ANGLE0;\n float maxAngle : ANGLE1;\n float numSegments : NUMSEGMENTS;\n float4 colorOrigin : INSTANCECOLOR0;\n float4 colorEnd : INSTANCECOLOR1;\n float4 fadeParams : FADEPARAMS;\n};\n\nstruct VSOutput\n{\n float4 projPos : SV_POSITION;\n float4 color : COLOR;\n float2 tex : TEXCOORD;\n float4 fadeParams : FADEPARAMS;\n};\n\nVSOutput vs(in Fan instance, uint vertexId: SV_VERTEXID, uint instanceId: SV_INSTANCEID)\n{\n VSOutput o;\n\n uint segs = (uint)instance.numSegments;\n uint i = min(vertexId / 2, segs);\n\n float radius = 0;\n if (vertexId % 2 == 0) {\n o.color = instance.colorOrigin;\n o.tex.y = 0;\n radius = instance.innerRadius;\n } else {\n o.color = instance.colorEnd;\n o.tex.y = instance.outerRadius - instance.innerRadius;\n radius = instance.outerRadius;\n }\n float totalAngle = instance.maxAngle - instance.minAngle;\n float angleStep = totalAngle / instance.numSegments;\n float angle = PI / 2 + instance.minAngle + i * angleStep;\n float3 offset = radius * float3(cos(angle), 0, sin(angle));\n\n o.tex.x = angle;\n o.projPos = mul(float4(instance.origin + offset, 1.0), viewProj);\n o.fadeParams = instance.fadeParams;\n return o;\n}\n\nfloat4 ps(VSOutput input) : SV_TARGET\n{\n return applyShared(input.color, input.projPos.xyz, input.fadeParams);\n}"); + TriangleFillShader.CompileShader(bytes, "vs"u8, "vs_5_0"u8, out var blob, "Circle VS"); + TriangleFillShader.CompileShader(bytes, "ps"u8, "ps_5_0"u8, out var blob2, "Circle PS"); + ID3D11VertexShader* vs = default(ID3D11VertexShader*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateVertexShader(blob->GetBufferPointer(), blob->GetBufferSize(), null, &vs)); + _vs = vs; + ID3D11PixelShader* ps = default(ID3D11PixelShader*); + Marshal.ThrowExceptionForHR(ctx.Device->CreatePixelShader(blob2->GetBufferPointer(), blob2->GetBufferSize(), null, &ps)); + _ps = ps; + D3D11_BUFFER_DESC d3D11_BUFFER_DESC = new D3D11_BUFFER_DESC + { + ByteWidth = 80u, + Usage = D3D11_USAGE.D3D11_USAGE_DEFAULT, + BindFlags = 4u + }; + ID3D11Buffer* constantBuffer = default(ID3D11Buffer*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateBuffer(&d3D11_BUFFER_DESC, null, &constantBuffer)); + _constantBuffer = constantBuffer; + fixed (byte* semanticName = "WORLD"u8) + { + fixed (byte* semanticName2 = "RADIUS"u8) + { + fixed (byte* semanticName3 = "ANGLE"u8) + { + fixed (byte* semanticName4 = "NUMSEGMENTS"u8) + { + fixed (byte* semanticName5 = "INSTANCECOLOR"u8) + { + fixed (byte* semanticName6 = "FADEPARAMS"u8) + { + D3D11_INPUT_ELEMENT_DESC* ptr = stackalloc D3D11_INPUT_ELEMENT_DESC[9]; + *ptr = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32G32B32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_INSTANCE_DATA, + InstanceDataStepRate = 1u + }; + ptr[1] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName2, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_INSTANCE_DATA, + InstanceDataStepRate = 1u + }; + ptr[2] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName2, + SemanticIndex = 1u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_INSTANCE_DATA, + InstanceDataStepRate = 1u + }; + ptr[3] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName3, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_INSTANCE_DATA, + InstanceDataStepRate = 1u + }; + ptr[4] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName3, + SemanticIndex = 1u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_INSTANCE_DATA, + InstanceDataStepRate = 1u + }; + ptr[5] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName4, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_INSTANCE_DATA, + InstanceDataStepRate = 1u + }; + ptr[6] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName5, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32G32B32A32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_INSTANCE_DATA, + InstanceDataStepRate = 1u + }; + ptr[7] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName5, + SemanticIndex = 1u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32G32B32A32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_INSTANCE_DATA, + InstanceDataStepRate = 1u + }; + ptr[8] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName6, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32G32B32A32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_INSTANCE_DATA, + InstanceDataStepRate = 1u + }; + ID3D11InputLayout* il = default(ID3D11InputLayout*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateInputLayout(ptr, 9u, blob->GetBufferPointer(), blob->GetBufferSize(), &il)); + _il = il; + } + } + } + } + } + } + blob->Release(); + blob2->Release(); + } + + public unsafe void Dispose() + { + if (_constantBuffer != null) + { + _constantBuffer->Release(); + _constantBuffer = null; + } + if (_il != null) + { + _il->Release(); + _il = null; + } + if (_vs != null) + { + _vs->Release(); + _vs = null; + } + if (_ps != null) + { + _ps->Release(); + _ps = null; + } + GC.SuppressFinalize(this); + } + + public unsafe void UpdateConstants(FrameRenderContext ctx, Constants consts) + { + consts.ViewProj = Matrix4x4.Transpose(consts.ViewProj); + ctx.Context->UpdateSubresource((ID3D11Resource*)_constantBuffer, 0u, null, &consts, 0u, 0u); + } + + public unsafe void Bind(FrameRenderContext ctx) + { + ctx.Context->IASetPrimitiveTopology(D3D_PRIMITIVE_TOPOLOGY.D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP); + ctx.Context->IASetInputLayout(_il); + ctx.Context->VSSetShader(_vs, null, 0u); + ID3D11Buffer* constantBuffer = _constantBuffer; + ctx.Context->VSSetConstantBuffers(0u, 1u, &constantBuffer); + ctx.Context->PSSetShader(_ps, null, 0u); + ctx.Context->PSSetConstantBuffers(0u, 1u, &constantBuffer); + ctx.Context->GSSetShader(null, null, 0u); + } + + public void Draw(FrameRenderContext ctx, Data data) + { + Bind(ctx); + data.DrawAll(ctx); + } +} diff --git a/Auspex/Auspex.Rendering.Direct3D/FrameRenderContext.cs b/Auspex/Auspex.Rendering.Direct3D/FrameRenderContext.cs new file mode 100644 index 0000000..b9dc431 --- /dev/null +++ b/Auspex/Auspex.Rendering.Direct3D/FrameRenderContext.cs @@ -0,0 +1,49 @@ +using System; +using System.Runtime.InteropServices; +using FFXIVClientStructs.FFXIV.Client.Graphics.Kernel; +using TerraFX.Interop.DirectX; + +namespace Auspex.Rendering.Direct3D; + +internal sealed class FrameRenderContext : IDisposable +{ + public unsafe ID3D11Device* Device { get; private set; } + + public unsafe ID3D11DeviceContext* Context { get; private set; } + + public unsafe FrameRenderContext() + { + Device = (ID3D11Device*)FFXIVClientStructs.FFXIV.Client.Graphics.Kernel.Device.Instance()->D3D11Forwarder; + Device->AddRef(); + ID3D11DeviceContext* context = default(ID3D11DeviceContext*); + Marshal.ThrowExceptionForHR(Device->CreateDeferredContext(0u, &context)); + Context = context; + } + + public unsafe void Dispose() + { + if (Context != null) + { + Context->Release(); + Context = null; + } + if (Device != null) + { + Device->Release(); + Device = null; + } + GC.SuppressFinalize(this); + } + + public unsafe void Execute() + { + ID3D11CommandList* ptr = default(ID3D11CommandList*); + Marshal.ThrowExceptionForHR(Context->FinishCommandList(false, &ptr)); + ID3D11DeviceContext* ptr2 = default(ID3D11DeviceContext*); + Device->GetImmediateContext(&ptr2); + ptr2->ExecuteCommandList(ptr, true); + ptr2->Release(); + ptr->Release(); + Context->ClearState(); + } +} diff --git a/Auspex/Auspex.Rendering.Direct3D/FrameRenderTarget.cs b/Auspex/Auspex.Rendering.Direct3D/FrameRenderTarget.cs new file mode 100644 index 0000000..c08ad90 --- /dev/null +++ b/Auspex/Auspex.Rendering.Direct3D/FrameRenderTarget.cs @@ -0,0 +1,293 @@ +using System; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.DirectX; +using TerraFX.Interop.Windows; + +namespace Auspex.Rendering.Direct3D; + +internal sealed class FrameRenderTarget : IDisposable +{ + private unsafe ID3D11Texture2D* _baseRT; + + private unsafe ID3D11RenderTargetView* _baseRTV; + + private unsafe ID3D11ShaderResourceView* _baseSRV; + + private unsafe ID3D11Texture2D* _processedRT; + + private unsafe ID3D11RenderTargetView* _processedRTV; + + private unsafe ID3D11ShaderResourceView* _processedSRV; + + private unsafe ID3D11Texture2D* _backBufferCopy; + + private unsafe ID3D11ShaderResourceView* _backBufferSRV; + + private unsafe ID3D11Texture2D* _clipStencil; + + private unsafe ID3D11DepthStencilView* _clipStencilDSV; + + private unsafe ID3D11BlendState* _defaultBlendState; + + private unsafe ID3D11BlendState* _fspBlendState; + + public Vector2 Size { get; private set; } + + public uint Width => (uint)Size.X; + + public uint Height => (uint)Size.Y; + + internal unsafe ID3D11DepthStencilView* ClipStencilDSV => _clipStencilDSV; + + internal unsafe ID3D11RenderTargetView* BaseRTV => _baseRTV; + + public unsafe IntPtr ImguiHandle => (nint)_processedSRV; + + public AxTexture Texture => new AxTexture(ImguiHandle, Width, Height); + + public unsafe FrameRenderTarget(FrameRenderContext ctx, int width, int height, AlphaBlendMode blendMode) + { + Size = new Vector2(width, height); + D3D11_TEXTURE2D_DESC d3D11_TEXTURE2D_DESC = new D3D11_TEXTURE2D_DESC + { + Width = (uint)width, + Height = (uint)height, + MipLevels = 1u, + ArraySize = 1u, + Format = DXGI_FORMAT.DXGI_FORMAT_R8G8B8A8_UNORM, + SampleDesc = new DXGI_SAMPLE_DESC + { + Count = 1u, + Quality = 0u + }, + Usage = D3D11_USAGE.D3D11_USAGE_DEFAULT, + BindFlags = 40u, + CPUAccessFlags = 0u, + MiscFlags = 0u + }; + ID3D11Texture2D* ptr = default(ID3D11Texture2D*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateTexture2D(&d3D11_TEXTURE2D_DESC, null, &ptr)); + _baseRT = ptr; + ID3D11RenderTargetView* ptr2 = default(ID3D11RenderTargetView*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateRenderTargetView((ID3D11Resource*)_baseRT, null, &ptr2)); + _baseRTV = ptr2; + ID3D11ShaderResourceView* ptr3 = default(ID3D11ShaderResourceView*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateShaderResourceView((ID3D11Resource*)_baseRT, null, &ptr3)); + _baseSRV = ptr3; + Marshal.ThrowExceptionForHR(ctx.Device->CreateTexture2D(&d3D11_TEXTURE2D_DESC, null, &ptr)); + _processedRT = ptr; + Marshal.ThrowExceptionForHR(ctx.Device->CreateRenderTargetView((ID3D11Resource*)_processedRT, null, &ptr2)); + _processedRTV = ptr2; + Marshal.ThrowExceptionForHR(ctx.Device->CreateShaderResourceView((ID3D11Resource*)_processedRT, null, &ptr3)); + _processedSRV = ptr3; + D3D11_TEXTURE2D_DESC d3D11_TEXTURE2D_DESC2 = new D3D11_TEXTURE2D_DESC + { + Width = (uint)width, + Height = (uint)height, + MipLevels = 1u, + ArraySize = 1u, + Format = DXGI_FORMAT.DXGI_FORMAT_R24G8_TYPELESS, + SampleDesc = new DXGI_SAMPLE_DESC + { + Count = 1u, + Quality = 0u + }, + Usage = D3D11_USAGE.D3D11_USAGE_DEFAULT, + BindFlags = 64u, + CPUAccessFlags = 0u, + MiscFlags = 0u + }; + Marshal.ThrowExceptionForHR(ctx.Device->CreateTexture2D(&d3D11_TEXTURE2D_DESC2, null, &ptr)); + _clipStencil = ptr; + D3D11_DEPTH_STENCIL_VIEW_DESC d3D11_DEPTH_STENCIL_VIEW_DESC = new D3D11_DEPTH_STENCIL_VIEW_DESC + { + Format = DXGI_FORMAT.DXGI_FORMAT_D24_UNORM_S8_UINT, + ViewDimension = D3D11_DSV_DIMENSION.D3D11_DSV_DIMENSION_TEXTURE2D + }; + d3D11_DEPTH_STENCIL_VIEW_DESC.Texture2D.MipSlice = 0u; + ID3D11DepthStencilView* clipStencilDSV = default(ID3D11DepthStencilView*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateDepthStencilView((ID3D11Resource*)_clipStencil, &d3D11_DEPTH_STENCIL_VIEW_DESC, &clipStencilDSV)); + _clipStencilDSV = clipStencilDSV; + D3D11_BLEND_DESC d3D11_BLEND_DESC = default(D3D11_BLEND_DESC); + global::_003CPrivateImplementationDetails_003E.InlineArrayFirstElementRef(ref d3D11_BLEND_DESC.RenderTarget).RenderTargetWriteMask = 15; + if (blendMode != AlphaBlendMode.None) + { + global::_003CPrivateImplementationDetails_003E.InlineArrayFirstElementRef(ref d3D11_BLEND_DESC.RenderTarget).BlendEnable = true; + global::_003CPrivateImplementationDetails_003E.InlineArrayFirstElementRef(ref d3D11_BLEND_DESC.RenderTarget).SrcBlend = D3D11_BLEND.D3D11_BLEND_SRC_ALPHA; + global::_003CPrivateImplementationDetails_003E.InlineArrayFirstElementRef(ref d3D11_BLEND_DESC.RenderTarget).DestBlend = D3D11_BLEND.D3D11_BLEND_INV_SRC_ALPHA; + global::_003CPrivateImplementationDetails_003E.InlineArrayFirstElementRef(ref d3D11_BLEND_DESC.RenderTarget).BlendOp = D3D11_BLEND_OP.D3D11_BLEND_OP_ADD; + global::_003CPrivateImplementationDetails_003E.InlineArrayFirstElementRef(ref d3D11_BLEND_DESC.RenderTarget).SrcBlendAlpha = D3D11_BLEND.D3D11_BLEND_ONE; + global::_003CPrivateImplementationDetails_003E.InlineArrayFirstElementRef(ref d3D11_BLEND_DESC.RenderTarget).DestBlendAlpha = D3D11_BLEND.D3D11_BLEND_INV_SRC_ALPHA; + switch (blendMode) + { + case AlphaBlendMode.Add: + global::_003CPrivateImplementationDetails_003E.InlineArrayFirstElementRef(ref d3D11_BLEND_DESC.RenderTarget).BlendOpAlpha = D3D11_BLEND_OP.D3D11_BLEND_OP_ADD; + break; + case AlphaBlendMode.Max: + global::_003CPrivateImplementationDetails_003E.InlineArrayFirstElementRef(ref d3D11_BLEND_DESC.RenderTarget).BlendOpAlpha = D3D11_BLEND_OP.D3D11_BLEND_OP_MAX; + break; + } + global::_003CPrivateImplementationDetails_003E.InlineArrayFirstElementRef(ref d3D11_BLEND_DESC.RenderTarget).RenderTargetWriteMask = 15; + } + ID3D11BlendState* ptr4 = default(ID3D11BlendState*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateBlendState(&d3D11_BLEND_DESC, &ptr4)); + _defaultBlendState = ptr4; + D3D11_BLEND_DESC d3D11_BLEND_DESC2 = default(D3D11_BLEND_DESC); + global::_003CPrivateImplementationDetails_003E.InlineArrayFirstElementRef(ref d3D11_BLEND_DESC2.RenderTarget).RenderTargetWriteMask = 15; + Marshal.ThrowExceptionForHR(ctx.Device->CreateBlendState(&d3D11_BLEND_DESC2, &ptr4)); + _fspBlendState = ptr4; + } + + public unsafe void Bind(FrameRenderContext ctx) + { + byte* intPtr = stackalloc byte[16]; + // IL initblk instruction + Unsafe.InitBlock(intPtr, 0, 16); + float* colorRGBA = (float*)intPtr; + ctx.Context->ClearRenderTargetView(_baseRTV, colorRGBA); + D3D11_VIEWPORT d3D11_VIEWPORT = new D3D11_VIEWPORT + { + TopLeftX = 0f, + TopLeftY = 0f, + Width = Size.X, + Height = Size.Y, + MinDepth = 0f, + MaxDepth = 1f + }; + ctx.Context->RSSetViewports(1u, &d3D11_VIEWPORT); + ctx.Context->OMSetBlendState(_defaultBlendState, null, uint.MaxValue); + ID3D11RenderTargetView* baseRTV = _baseRTV; + ctx.Context->OMSetRenderTargets(1u, &baseRTV, null); + } + + public unsafe void CopyBaseToProcessed(FrameRenderContext ctx) + { + ctx.Context->CopyResource((ID3D11Resource*)_processedRT, (ID3D11Resource*)_baseRT); + } + + public unsafe void ExecuteFSP(FrameRenderContext ctx, ID3D11Texture2D* backBuffer, FullscreenPassShader fsp, bool clipNativeUI) + { + if (clipNativeUI) + { + D3D11_TEXTURE2D_DESC d3D11_TEXTURE2D_DESC = default(D3D11_TEXTURE2D_DESC); + backBuffer->GetDesc(&d3D11_TEXTURE2D_DESC); + ValidateBackBufferResources(ctx.Device, &d3D11_TEXTURE2D_DESC); + ctx.Context->CopyResource((ID3D11Resource*)_backBufferCopy, (ID3D11Resource*)backBuffer); + } + ctx.Context->OMSetBlendState(_fspBlendState, null, uint.MaxValue); + byte* intPtr = stackalloc byte[16]; + // IL initblk instruction + Unsafe.InitBlock(intPtr, 0, 16); + float* colorRGBA = (float*)intPtr; + ctx.Context->ClearRenderTargetView(_processedRTV, colorRGBA); + ID3D11RenderTargetView* processedRTV = _processedRTV; + ctx.Context->OMSetRenderTargets(1u, &processedRTV, null); + fsp.Draw(ctx, _baseSRV, _backBufferSRV); + } + + private unsafe void ValidateBackBufferResources(ID3D11Device* device, D3D11_TEXTURE2D_DESC* backBufferDesc) + { + bool flag = _backBufferCopy == null; + if (!flag) + { + D3D11_TEXTURE2D_DESC d3D11_TEXTURE2D_DESC = default(D3D11_TEXTURE2D_DESC); + _backBufferCopy->GetDesc(&d3D11_TEXTURE2D_DESC); + flag = d3D11_TEXTURE2D_DESC.Width != backBufferDesc->Width || d3D11_TEXTURE2D_DESC.Height != backBufferDesc->Height; + } + if (flag) + { + if (_backBufferCopy != null) + { + _backBufferCopy->Release(); + _backBufferCopy = null; + } + if (_backBufferSRV != null) + { + _backBufferSRV->Release(); + _backBufferSRV = null; + } + D3D11_TEXTURE2D_DESC d3D11_TEXTURE2D_DESC2 = *backBufferDesc; + d3D11_TEXTURE2D_DESC2.BindFlags = 8u; + ID3D11Texture2D* backBufferCopy = default(ID3D11Texture2D*); + HRESULT hRESULT = device->CreateTexture2D(&d3D11_TEXTURE2D_DESC2, null, &backBufferCopy); + Marshal.ThrowExceptionForHR(hRESULT); + _backBufferCopy = backBufferCopy; + ID3D11ShaderResourceView* backBufferSRV = default(ID3D11ShaderResourceView*); + hRESULT = device->CreateShaderResourceView((ID3D11Resource*)_backBufferCopy, null, &backBufferSRV); + if (hRESULT < 0) + { + _backBufferCopy->Release(); + _backBufferCopy = null; + Marshal.ThrowExceptionForHR(hRESULT); + } + _backBufferSRV = backBufferSRV; + } + } + + public unsafe void Dispose() + { + GC.SuppressFinalize(this); + if (_baseRT != null) + { + _baseRT->Release(); + _baseRT = null; + } + if (_baseRTV != null) + { + _baseRTV->Release(); + _baseRTV = null; + } + if (_baseSRV != null) + { + _baseSRV->Release(); + _baseSRV = null; + } + if (_processedRT != null) + { + _processedRT->Release(); + _processedRT = null; + } + if (_processedRTV != null) + { + _processedRTV->Release(); + _processedRTV = null; + } + if (_processedSRV != null) + { + _processedSRV->Release(); + _processedSRV = null; + } + if (_backBufferCopy != null) + { + _backBufferCopy->Release(); + _backBufferCopy = null; + } + if (_backBufferSRV != null) + { + _backBufferSRV->Release(); + _backBufferSRV = null; + } + if (_clipStencilDSV != null) + { + _clipStencilDSV->Release(); + _clipStencilDSV = null; + } + if (_clipStencil != null) + { + _clipStencil->Release(); + _clipStencil = null; + } + if (_defaultBlendState != null) + { + _defaultBlendState->Release(); + _defaultBlendState = null; + } + if (_fspBlendState != null) + { + _fspBlendState->Release(); + _fspBlendState = null; + } + } +} diff --git a/Auspex/Auspex.Rendering.Direct3D/FullscreenPassShader.cs b/Auspex/Auspex.Rendering.Direct3D/FullscreenPassShader.cs new file mode 100644 index 0000000..257e605 --- /dev/null +++ b/Auspex/Auspex.Rendering.Direct3D/FullscreenPassShader.cs @@ -0,0 +1,91 @@ +using System; +using System.Runtime.InteropServices; +using TerraFX.Interop.DirectX; + +namespace Auspex.Rendering.Direct3D; + +internal sealed class FullscreenPassShader : IDisposable +{ + public struct Constants + { + public float MaxAlpha; + + public float ClipNativeUI; + } + + private unsafe ID3D11Buffer* _constantBuffer; + + private unsafe ID3D11VertexShader* _vs; + + private unsafe ID3D11PixelShader* _ps; + + public unsafe FullscreenPassShader(FrameRenderContext ctx) + { + ReadOnlySpan source = "struct Constants\n{\n float maxAlpha;\n float clipNativeUI;\n};\nConstants k : register(b0);\n\nTexture2D inputTexture : register(t0);\nTexture2D maskTexture : register(t1);\n\nSamplerState TextureSampler\n{\n Filter = MIN_MAG_MIP_POINT;\n AddressU = CLAMP;\n AddressV = CLAMP;\n};\n\nstruct VSOutput\n{\n float4 pos : SV_POSITION;\n float2 uv: TEXCOORD;\n};\n\nVSOutput vs(uint id : SV_VertexID)\n{\n VSOutput output;\n\tfloat2 uv = float2((id << 1) & 2, id & 2);\n\toutput.pos = float4(uv * float2(2, -2) + float2(-1, 1), 0, 1);\n output.uv = uv;\n return output;\n}\n\nfloat4 ps(VSOutput input) : SV_Target\n{\n float4 color = inputTexture.Sample(TextureSampler, input.uv);\n if (color.a > 0)\n {\n color.rgb /= color.a;\n }\n float maskAlpha = 1;\n if (k.clipNativeUI > 0.5)\n {\n float4 mask = maskTexture.Sample(TextureSampler, input.uv);\n // Apply mask alpha squared\n // (I don't think this is mathematically correct but it looks better)\n maskAlpha = 1 - mask.a;\n maskAlpha *= maskAlpha;\n }\n color.a = min(color.a, k.maxAlpha) * maskAlpha;\n return color;\n}"u8; + TriangleFillShader.CompileShader(source, "vs"u8, "vs_5_0"u8, out var blob, "FSP VS"); + TriangleFillShader.CompileShader(source, "ps"u8, "ps_5_0"u8, out var blob2, "FSP PS"); + ID3D11VertexShader* vs = default(ID3D11VertexShader*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateVertexShader(blob->GetBufferPointer(), blob->GetBufferSize(), null, &vs)); + _vs = vs; + ID3D11PixelShader* ps = default(ID3D11PixelShader*); + Marshal.ThrowExceptionForHR(ctx.Device->CreatePixelShader(blob2->GetBufferPointer(), blob2->GetBufferSize(), null, &ps)); + _ps = ps; + D3D11_BUFFER_DESC d3D11_BUFFER_DESC = new D3D11_BUFFER_DESC + { + ByteWidth = 16u, + Usage = D3D11_USAGE.D3D11_USAGE_DEFAULT, + BindFlags = 4u + }; + ID3D11Buffer* constantBuffer = default(ID3D11Buffer*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateBuffer(&d3D11_BUFFER_DESC, null, &constantBuffer)); + _constantBuffer = constantBuffer; + blob->Release(); + blob2->Release(); + } + + public unsafe void Dispose() + { + if (_constantBuffer != null) + { + _constantBuffer->Release(); + _constantBuffer = null; + } + if (_vs != null) + { + _vs->Release(); + _vs = null; + } + if (_ps != null) + { + _ps->Release(); + _ps = null; + } + GC.SuppressFinalize(this); + } + + public unsafe void UpdateConstants(FrameRenderContext ctx, Constants consts) + { + ctx.Context->UpdateSubresource((ID3D11Resource*)_constantBuffer, 0u, null, &consts, 0u, 0u); + } + + public unsafe void Bind(FrameRenderContext ctx) + { + ctx.Context->IASetPrimitiveTopology(D3D_PRIMITIVE_TOPOLOGY.D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST); + ctx.Context->VSSetShader(_vs, null, 0u); + ctx.Context->PSSetShader(_ps, null, 0u); + ID3D11Buffer* constantBuffer = _constantBuffer; + ctx.Context->PSSetConstantBuffers(0u, 1u, &constantBuffer); + ctx.Context->GSSetShader(null, null, 0u); + } + + public unsafe void Draw(FrameRenderContext ctx, ID3D11ShaderResourceView* baseSRV, ID3D11ShaderResourceView* maskSRV) + { + ctx.Context->PSSetShaderResources(0u, 1u, &baseSRV); + ctx.Context->PSSetShaderResources(1u, 1u, &maskSRV); + Bind(ctx); + ctx.Context->Draw(3u, 0u); + ID3D11ShaderResourceView* ptr = null; + ctx.Context->PSSetShaderResources(0u, 1u, &ptr); + ctx.Context->PSSetShaderResources(1u, 1u, &ptr); + } +} diff --git a/Auspex/Auspex.Rendering.Direct3D/GpuBuffer.cs b/Auspex/Auspex.Rendering.Direct3D/GpuBuffer.cs new file mode 100644 index 0000000..3558ae0 --- /dev/null +++ b/Auspex/Auspex.Rendering.Direct3D/GpuBuffer.cs @@ -0,0 +1,147 @@ +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using Dalamud.Plugin.Services; +using TerraFX.Interop.DirectX; + +namespace Auspex.Rendering.Direct3D; + +internal sealed class GpuBuffer : IDisposable where T : unmanaged +{ + public sealed class Builder : IDisposable + { + private FrameRenderContext _ctx; + + private GpuBuffer _buffer; + + private unsafe byte* _dataPtr; + + private int _offset; + + private unsafe ID3D11Buffer* _staging; + + public int CurElements => _buffer.CurElements; + + internal unsafe Builder(FrameRenderContext ctx, GpuBuffer buffer) + { + _ctx = ctx; + _buffer = buffer; + buffer.CurElements = 0; + buffer._hasWarnedOverflow = false; + _offset = 0; + D3D11_MAPPED_SUBRESOURCE d3D11_MAPPED_SUBRESOURCE = default(D3D11_MAPPED_SUBRESOURCE); + if (buffer.Dynamic) + { + Marshal.ThrowExceptionForHR(ctx.Context->Map((ID3D11Resource*)buffer.Buffer, 0u, D3D11_MAP.D3D11_MAP_WRITE_DISCARD, 0u, &d3D11_MAPPED_SUBRESOURCE)); + _dataPtr = (byte*)d3D11_MAPPED_SUBRESOURCE.pData; + return; + } + D3D11_BUFFER_DESC d3D11_BUFFER_DESC = new D3D11_BUFFER_DESC + { + ByteWidth = (uint)(buffer.ElementSize * buffer.MaxElements), + Usage = D3D11_USAGE.D3D11_USAGE_STAGING, + CPUAccessFlags = 65536u + }; + ID3D11Buffer* staging = default(ID3D11Buffer*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateBuffer(&d3D11_BUFFER_DESC, null, &staging)); + _staging = staging; + Marshal.ThrowExceptionForHR(ctx.Context->Map((ID3D11Resource*)_staging, 0u, D3D11_MAP.D3D11_MAP_WRITE_DISCARD, 0u, &d3D11_MAPPED_SUBRESOURCE)); + _dataPtr = (byte*)d3D11_MAPPED_SUBRESOURCE.pData; + } + + public unsafe void Dispose() + { + if (_buffer.Dynamic) + { + _ctx.Context->Unmap((ID3D11Resource*)_buffer.Buffer, 0u); + } + else + { + _ctx.Context->Unmap((ID3D11Resource*)_staging, 0u); + _ctx.Context->CopyResource((ID3D11Resource*)_buffer.Buffer, (ID3D11Resource*)_staging); + _staging->Release(); + _staging = null; + } + GC.SuppressFinalize(this); + } + + public unsafe void Add(ref T item) + { + if (_buffer.CurElements >= _buffer.MaxElements) + { + if (!_buffer._hasWarnedOverflow) + { + _buffer._hasWarnedOverflow = true; + IPluginLog log = AuspexService.Log; + DefaultInterpolatedStringHandler val = default(DefaultInterpolatedStringHandler); + ((DefaultInterpolatedStringHandler)(ref val))._002Ector(60, 2); + ((DefaultInterpolatedStringHandler)(ref val)).AppendLiteral("[Auspex] "); + ((DefaultInterpolatedStringHandler)(ref val)).AppendFormatted(_buffer.FriendlyName); + ((DefaultInterpolatedStringHandler)(ref val)).AppendLiteral(" buffer full ("); + ((DefaultInterpolatedStringHandler)(ref val)).AppendFormatted(_buffer.MaxElements); + ((DefaultInterpolatedStringHandler)(ref val)).AppendLiteral(" elements); further elements dropped."); + log.Warning(((DefaultInterpolatedStringHandler)(ref val)).ToStringAndClear()); + } + } + else + { + GpuBuffer buffer = _buffer; + int curElements = buffer.CurElements + 1; + buffer.CurElements = curElements; + Unsafe.CopyBlockUnaligned((void*)(_dataPtr + _offset), Unsafe.AsPointer(ref item), (uint)sizeof(T)); + _offset += sizeof(T); + } + } + + public void Add(T item) + { + Add(ref item); + } + } + + private bool _hasWarnedOverflow; + + public string FriendlyName { get; private set; } + + public bool Dynamic { get; init; } + + public int ElementSize { get; init; } + + public int MaxElements { get; init; } + + public int CurElements { get; private set; } + + public unsafe ID3D11Buffer* Buffer { get; init; } + + public unsafe GpuBuffer(string friendlyName, FrameRenderContext ctx, int maxElements, uint bindFlags, bool dynamic) + { + FriendlyName = friendlyName; + Dynamic = dynamic; + ElementSize = sizeof(T); + MaxElements = maxElements; + D3D11_BUFFER_DESC d3D11_BUFFER_DESC = new D3D11_BUFFER_DESC + { + ByteWidth = (uint)(ElementSize * maxElements), + Usage = (dynamic ? D3D11_USAGE.D3D11_USAGE_DYNAMIC : D3D11_USAGE.D3D11_USAGE_DEFAULT), + BindFlags = bindFlags, + CPUAccessFlags = (dynamic ? 65536u : 0u) + }; + ID3D11Buffer* buffer = default(ID3D11Buffer*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateBuffer(&d3D11_BUFFER_DESC, null, &buffer)); + Buffer = buffer; + } + + public unsafe void Dispose() + { + if (Buffer != null) + { + Buffer->Release(); + } + GC.SuppressFinalize(this); + } + + public Builder Map(FrameRenderContext ctx) + { + return new Builder(ctx, this); + } +} diff --git a/Auspex/Auspex.Rendering.Direct3D/HighResFontAtlas.cs b/Auspex/Auspex.Rendering.Direct3D/HighResFontAtlas.cs new file mode 100644 index 0000000..82c0177 --- /dev/null +++ b/Auspex/Auspex.Rendering.Direct3D/HighResFontAtlas.cs @@ -0,0 +1,146 @@ +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using Dalamud.Bindings.ImGui; +using TerraFX.Interop.DirectX; + +namespace Auspex.Rendering.Direct3D; + +internal sealed class HighResFontAtlas : IDisposable +{ + private struct ImFontConfigHead + { + public IntPtr FontData; + + public int FontDataSize; + + public byte FontDataOwnedByAtlas; + + private byte _pad1; + + private byte _pad2; + + private byte _pad3; + + public int FontNo; + + public float SizePixels; + } + + private const float HighResFontSize = 64f; + + private IntPtr _atlas; + + private unsafe ID3D11Texture2D* _texture; + + private unsafe ID3D11ShaderResourceView* _srv; + + public ImFontPtr Font { get; } + + public unsafe IntPtr TextureSRV => (nint)_srv; + + public unsafe HighResFontAtlas(FrameRenderContext ctx) + { + _atlas = ImFontAtlas_ImFontAtlas(); + try + { + IntPtr intPtr = ImFontConfig_ImFontConfig(); + try + { + ((ImFontConfigHead*)intPtr)->SizePixels = 64f; + IntPtr intPtr2 = ImFontAtlas_AddFontDefault(_atlas, intPtr); + Font = Unsafe.As(ref intPtr2); + } + finally + { + ImFontConfig_destroy(intPtr); + } + if (!ImFontAtlas_Build(_atlas)) + { + throw new InvalidOperationException("Failed to build high-res font atlas"); + } + byte* pSysMem = default(byte*); + int num = default(int); + int height = default(int); + int num2 = default(int); + ImFontAtlas_GetTexDataAsRGBA32(_atlas, 0, &pSysMem, &num, &height, &num2); + D3D11_TEXTURE2D_DESC d3D11_TEXTURE2D_DESC = new D3D11_TEXTURE2D_DESC + { + Width = (uint)num, + Height = (uint)height, + MipLevels = 1u, + ArraySize = 1u, + Format = DXGI_FORMAT.DXGI_FORMAT_R8G8B8A8_UNORM, + SampleDesc = new DXGI_SAMPLE_DESC + { + Count = 1u, + Quality = 0u + }, + Usage = D3D11_USAGE.D3D11_USAGE_DEFAULT, + BindFlags = 8u + }; + D3D11_SUBRESOURCE_DATA d3D11_SUBRESOURCE_DATA = new D3D11_SUBRESOURCE_DATA + { + pSysMem = pSysMem, + SysMemPitch = (uint)(num * num2) + }; + ID3D11Texture2D* texture = default(ID3D11Texture2D*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateTexture2D(&d3D11_TEXTURE2D_DESC, &d3D11_SUBRESOURCE_DATA, &texture)); + _texture = texture; + ID3D11ShaderResourceView* srv = default(ID3D11ShaderResourceView*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateShaderResourceView((ID3D11Resource*)_texture, null, &srv)); + _srv = srv; + ImFontAtlas_ClearTexData(_atlas); + } + catch + { + Dispose(); + throw; + } + } + + public unsafe void Dispose() + { + if (_srv != null) + { + _srv->Release(); + _srv = null; + } + if (_texture != null) + { + _texture->Release(); + _texture = null; + } + if (_atlas != (IntPtr)0) + { + ImFontAtlas_destroy(_atlas); + _atlas = (IntPtr)0; + } + GC.SuppressFinalize(this); + } + + [DllImport("cimgui")] + private static extern IntPtr ImFontAtlas_ImFontAtlas(); + + [DllImport("cimgui")] + private static extern void ImFontAtlas_destroy(IntPtr self); + + [DllImport("cimgui")] + private static extern IntPtr ImFontAtlas_AddFontDefault(IntPtr self, IntPtr font_cfg); + + [DllImport("cimgui")] + [return: MarshalAs(UnmanagedType.U1)] + private static extern bool ImFontAtlas_Build(IntPtr self); + + [DllImport("cimgui")] + private unsafe static extern void ImFontAtlas_GetTexDataAsRGBA32(IntPtr self, int texture_index, byte** out_pixels, int* out_width, int* out_height, int* out_bytes_per_pixel); + + [DllImport("cimgui")] + private static extern void ImFontAtlas_ClearTexData(IntPtr self); + + [DllImport("cimgui")] + private static extern IntPtr ImFontConfig_ImFontConfig(); + + [DllImport("cimgui")] + private static extern void ImFontConfig_destroy(IntPtr self); +} diff --git a/Auspex/Auspex.Rendering.Direct3D/HlslShaderBuilder.cs b/Auspex/Auspex.Rendering.Direct3D/HlslShaderBuilder.cs new file mode 100644 index 0000000..73e81f0 --- /dev/null +++ b/Auspex/Auspex.Rendering.Direct3D/HlslShaderBuilder.cs @@ -0,0 +1,24 @@ +using System; + +namespace Auspex.Rendering.Direct3D; + +internal abstract class HlslShaderBuilder : IDisposable where TElement : unmanaged +{ + private protected readonly GpuBuffer.Builder _inner; + + protected HlslShaderBuilder(GpuBuffer.Builder inner) + { + _inner = inner; + } + + public virtual void Dispose() + { + _inner.Dispose(); + GC.SuppressFinalize(this); + } + + public void Add(ref TElement inst) + { + _inner.Add(ref inst); + } +} diff --git a/Auspex/Auspex.Rendering.Direct3D/HlslShaderData.cs b/Auspex/Auspex.Rendering.Direct3D/HlslShaderData.cs new file mode 100644 index 0000000..5f2db7a --- /dev/null +++ b/Auspex/Auspex.Rendering.Direct3D/HlslShaderData.cs @@ -0,0 +1,29 @@ +using System; +using TerraFX.Interop.DirectX; + +namespace Auspex.Rendering.Direct3D; + +internal abstract class HlslShaderData : IDisposable where TElement : unmanaged +{ + private protected readonly GpuBuffer _buffer; + + protected HlslShaderData(string name, FrameRenderContext ctx, int maxCount, bool dynamic) + { + _buffer = new GpuBuffer(name, ctx, maxCount, 1u, dynamic); + } + + public void Dispose() + { + _buffer.Dispose(); + GC.SuppressFinalize(this); + } + + private protected unsafe void DrawVertices(FrameRenderContext ctx, int first, int count) + { + ID3D11Buffer* buffer = _buffer.Buffer; + uint elementSize = (uint)_buffer.ElementSize; + uint num = 0u; + ctx.Context->IASetVertexBuffers(0u, 1u, &buffer, &elementSize, &num); + ctx.Context->Draw((uint)count, (uint)first); + } +} diff --git a/Auspex/Auspex.Rendering.Direct3D/QuadBlitter.cs b/Auspex/Auspex.Rendering.Direct3D/QuadBlitter.cs new file mode 100644 index 0000000..e620296 --- /dev/null +++ b/Auspex/Auspex.Rendering.Direct3D/QuadBlitter.cs @@ -0,0 +1,264 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.InteropServices; +using TerraFX.Interop.DirectX; + +namespace Auspex.Rendering.Direct3D; + +internal sealed class QuadBlitter : IDisposable +{ + public struct Constants + { + public Matrix4x4 ViewProj; + } + + public struct Vertex + { + public Vector3 Position; + + public Vector2 UV; + + public Vector4 Color; + } + + public struct DrawSegment + { + public IntPtr TextureSRV; + + public int StartVertex; + + public int VertexCount; + } + + public sealed class Data : HlslShaderData + { + public sealed class Builder : HlslShaderBuilder + { + private readonly List _segments; + + private IntPtr _currentTexture; + + private int _segmentStart; + + internal Builder(FrameRenderContext ctx, Data data) + : base(data._buffer.Map(ctx)) + { + _segments = data._segments; + _segments.Clear(); + _currentTexture = (IntPtr)0; + _segmentStart = 0; + } + + public override void Dispose() + { + FinalizeSegment(); + base.Dispose(); + } + + public void SetTexture(IntPtr srv) + { + if (srv != _currentTexture) + { + FinalizeSegment(); + _currentTexture = srv; + _segmentStart = _inner.CurElements; + } + } + + private void FinalizeSegment() + { + int num = _inner.CurElements - _segmentStart; + if (num > 0 && _currentTexture != (IntPtr)0) + { + _segments.Add(new DrawSegment + { + TextureSRV = _currentTexture, + StartVertex = _segmentStart, + VertexCount = num + }); + } + } + + public void Add(Vector3 position, Vector2 uv, Vector4 color) + { + _inner.Add(new Vertex + { + Position = position, + UV = uv, + Color = color + }); + } + } + + internal readonly List _segments = new List(); + + internal GpuBuffer Buffer => _buffer; + + public Data(FrameRenderContext ctx, int maxCount, bool dynamic) + : base("QuadBlitter", ctx, maxCount, dynamic) + { + } + + public Builder Map(FrameRenderContext ctx) + { + return new Builder(ctx, this); + } + } + + private unsafe ID3D11Buffer* _constantBuffer; + + private unsafe ID3D11InputLayout* _il; + + private unsafe ID3D11VertexShader* _vs; + + private unsafe ID3D11PixelShader* _ps; + + private unsafe ID3D11SamplerState* _sampler; + + public unsafe QuadBlitter(FrameRenderContext ctx) + { + ReadOnlySpan source = "struct Vertex\n{\n float3 pos : POSITION;\n float2 uv : TEXCOORD;\n float4 color : COLOR;\n};\n\nstruct VSOutput\n{\n float4 projPos : SV_POSITION;\n float2 uv : TEXCOORD;\n float4 color : COLOR;\n};\n\nstruct Constants\n{\n float4x4 viewProj;\n};\nConstants k : register(c0);\n\nTexture2D tex : register(t0);\nSamplerState samp : register(s0);\n\nVSOutput vs(Vertex v)\n{\n VSOutput o;\n o.projPos = mul(float4(v.pos, 1), k.viewProj);\n o.uv = v.uv;\n o.color = v.color;\n return o;\n}\n\nfloat4 ps(VSOutput input) : SV_TARGET\n{\n return tex.Sample(samp, input.uv) * input.color;\n}"u8; + TriangleFillShader.CompileShader(source, "vs"u8, "vs_5_0"u8, out var blob, "QuadBlitter VS"); + TriangleFillShader.CompileShader(source, "ps"u8, "ps_5_0"u8, out var blob2, "QuadBlitter PS"); + ID3D11VertexShader* vs = default(ID3D11VertexShader*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateVertexShader(blob->GetBufferPointer(), blob->GetBufferSize(), null, &vs)); + _vs = vs; + ID3D11PixelShader* ps = default(ID3D11PixelShader*); + Marshal.ThrowExceptionForHR(ctx.Device->CreatePixelShader(blob2->GetBufferPointer(), blob2->GetBufferSize(), null, &ps)); + _ps = ps; + D3D11_BUFFER_DESC d3D11_BUFFER_DESC = new D3D11_BUFFER_DESC + { + ByteWidth = 64u, + Usage = D3D11_USAGE.D3D11_USAGE_DEFAULT, + BindFlags = 4u + }; + ID3D11Buffer* constantBuffer = default(ID3D11Buffer*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateBuffer(&d3D11_BUFFER_DESC, null, &constantBuffer)); + _constantBuffer = constantBuffer; + fixed (byte* semanticName = "POSITION"u8) + { + fixed (byte* semanticName2 = "TEXCOORD"u8) + { + fixed (byte* semanticName3 = "COLOR"u8) + { + D3D11_INPUT_ELEMENT_DESC* ptr = stackalloc D3D11_INPUT_ELEMENT_DESC[3]; + *ptr = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32G32B32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_VERTEX_DATA, + InstanceDataStepRate = 0u + }; + ptr[1] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName2, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32G32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_VERTEX_DATA, + InstanceDataStepRate = 0u + }; + ptr[2] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName3, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32G32B32A32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_VERTEX_DATA, + InstanceDataStepRate = 0u + }; + ID3D11InputLayout* il = default(ID3D11InputLayout*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateInputLayout(ptr, 3u, blob->GetBufferPointer(), blob->GetBufferSize(), &il)); + _il = il; + } + } + } + D3D11_SAMPLER_DESC d3D11_SAMPLER_DESC = new D3D11_SAMPLER_DESC + { + Filter = D3D11_FILTER.D3D11_FILTER_MIN_MAG_MIP_LINEAR, + AddressU = D3D11_TEXTURE_ADDRESS_MODE.D3D11_TEXTURE_ADDRESS_CLAMP, + AddressV = D3D11_TEXTURE_ADDRESS_MODE.D3D11_TEXTURE_ADDRESS_CLAMP, + AddressW = D3D11_TEXTURE_ADDRESS_MODE.D3D11_TEXTURE_ADDRESS_CLAMP, + MaxAnisotropy = 1u, + ComparisonFunc = D3D11_COMPARISON_FUNC.D3D11_COMPARISON_NEVER, + MaxLOD = float.MaxValue + }; + ID3D11SamplerState* sampler = default(ID3D11SamplerState*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateSamplerState(&d3D11_SAMPLER_DESC, &sampler)); + _sampler = sampler; + blob->Release(); + blob2->Release(); + } + + public unsafe void Dispose() + { + if (_constantBuffer != null) + { + _constantBuffer->Release(); + _constantBuffer = null; + } + if (_il != null) + { + _il->Release(); + _il = null; + } + if (_vs != null) + { + _vs->Release(); + _vs = null; + } + if (_ps != null) + { + _ps->Release(); + _ps = null; + } + if (_sampler != null) + { + _sampler->Release(); + _sampler = null; + } + GC.SuppressFinalize(this); + } + + public unsafe void UpdateConstants(FrameRenderContext ctx, Constants consts) + { + consts.ViewProj = Matrix4x4.Transpose(consts.ViewProj); + ctx.Context->UpdateSubresource((ID3D11Resource*)_constantBuffer, 0u, null, &consts, 0u, 0u); + } + + public unsafe void Bind(FrameRenderContext ctx) + { + ctx.Context->IASetPrimitiveTopology(D3D_PRIMITIVE_TOPOLOGY.D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST); + ctx.Context->IASetInputLayout(_il); + ctx.Context->VSSetShader(_vs, null, 0u); + ID3D11Buffer* constantBuffer = _constantBuffer; + ctx.Context->VSSetConstantBuffers(0u, 1u, &constantBuffer); + ctx.Context->PSSetShader(_ps, null, 0u); + ID3D11SamplerState* sampler = _sampler; + ctx.Context->PSSetSamplers(0u, 1u, &sampler); + ctx.Context->GSSetShader(null, null, 0u); + } + + public unsafe void Draw(FrameRenderContext ctx, Data data) + { + Bind(ctx); + ID3D11Buffer* buffer = data.Buffer.Buffer; + uint elementSize = (uint)data.Buffer.ElementSize; + uint num = 0u; + ctx.Context->IASetVertexBuffers(0u, 1u, &buffer, &elementSize, &num); + foreach (DrawSegment segment in data._segments) + { + ID3D11ShaderResourceView* textureSRV = (ID3D11ShaderResourceView*)segment.TextureSRV; + ctx.Context->PSSetShaderResources(0u, 1u, &textureSRV); + ctx.Context->Draw((uint)segment.VertexCount, (uint)segment.StartVertex); + } + ID3D11ShaderResourceView* ptr = null; + ctx.Context->PSSetShaderResources(0u, 1u, &ptr); + } +} diff --git a/Auspex/Auspex.Rendering.Direct3D/SceneDepthCapture.cs b/Auspex/Auspex.Rendering.Direct3D/SceneDepthCapture.cs new file mode 100644 index 0000000..35dcffb --- /dev/null +++ b/Auspex/Auspex.Rendering.Direct3D/SceneDepthCapture.cs @@ -0,0 +1,98 @@ +using System; +using System.Numerics; +using System.Runtime.InteropServices; +using FFXIVClientStructs.FFXIV.Client.Graphics.Kernel; +using FFXIVClientStructs.FFXIV.Client.Graphics.Render; +using TerraFX.Interop.DirectX; + +namespace Auspex.Rendering.Direct3D; + +internal sealed class SceneDepthCapture : IDisposable +{ + private unsafe ID3D11Texture2D* _copy; + + private unsafe ID3D11ShaderResourceView* _copySRV; + + private uint _copyWidth; + + private uint _copyHeight; + + public unsafe ID3D11ShaderResourceView* SRV => _copySRV; + + public Vector2 UvScale { get; private set; } = new Vector2(1f, 1f); + + public bool IsResolutionScaled { get; private set; } + + public unsafe void Dispose() + { + if (_copySRV != null) + { + _copySRV->Release(); + _copySRV = null; + } + if (_copy != null) + { + _copy->Release(); + _copy = null; + } + GC.SuppressFinalize(this); + } + + internal unsafe void Update() + { + RenderTargetManager* ptr = RenderTargetManager.Instance(); + Texture* ptr2 = ((ptr != null) ? ptr->DepthStencil : null); + if (ptr2 == null || ptr2->D3D11Texture2D == null) + { + AuspexService.Log.Warning("[Auspex] SceneDepthCapture: scene depth source unavailable."); + return; + } + Device* ptr3 = Device.Instance(); + IsResolutionScaled = ptr2->ActualWidth != ptr3->Width || ptr2->ActualHeight != ptr3->Height; + ID3D11Texture2D* d3D11Texture2D = (ID3D11Texture2D*)ptr2->D3D11Texture2D; + D3D11_TEXTURE2D_DESC srcDesc = default(D3D11_TEXTURE2D_DESC); + d3D11Texture2D->GetDesc(&srcDesc); + EnsureCopy(srcDesc); + ID3D11DeviceContext* ptr4 = default(ID3D11DeviceContext*); + ((ID3D11Device*)ptr3->D3D11Forwarder)->GetImmediateContext(&ptr4); + ptr4->CopyResource((ID3D11Resource*)_copy, (ID3D11Resource*)d3D11Texture2D); + ptr4->Release(); + UvScale = new Vector2((ptr2->AllocatedWidth != 0) ? ((float)ptr2->ActualWidth / (float)ptr2->AllocatedWidth) : 1f, (ptr2->AllocatedHeight != 0) ? ((float)ptr2->ActualHeight / (float)ptr2->AllocatedHeight) : 1f); + } + + private unsafe void EnsureCopy(D3D11_TEXTURE2D_DESC srcDesc) + { + if (_copy == null || _copyWidth != srcDesc.Width || _copyHeight != srcDesc.Height) + { + if (_copySRV != null) + { + _copySRV->Release(); + _copySRV = null; + } + if (_copy != null) + { + _copy->Release(); + _copy = null; + } + ID3D11Device* d3D11Forwarder = (ID3D11Device*)Device.Instance()->D3D11Forwarder; + D3D11_TEXTURE2D_DESC d3D11_TEXTURE2D_DESC = srcDesc; + d3D11_TEXTURE2D_DESC.Format = DXGI_FORMAT.DXGI_FORMAT_R24G8_TYPELESS; + d3D11_TEXTURE2D_DESC.BindFlags = 8u; + ID3D11Texture2D* copy = default(ID3D11Texture2D*); + Marshal.ThrowExceptionForHR(d3D11Forwarder->CreateTexture2D(&d3D11_TEXTURE2D_DESC, null, ©)); + _copy = copy; + _copyWidth = srcDesc.Width; + _copyHeight = srcDesc.Height; + D3D11_SHADER_RESOURCE_VIEW_DESC d3D11_SHADER_RESOURCE_VIEW_DESC = new D3D11_SHADER_RESOURCE_VIEW_DESC + { + Format = DXGI_FORMAT.DXGI_FORMAT_R24_UNORM_X8_TYPELESS, + ViewDimension = D3D_SRV_DIMENSION.D3D_SRV_DIMENSION_TEXTURE2D + }; + d3D11_SHADER_RESOURCE_VIEW_DESC.Texture2D.MostDetailedMip = 0u; + d3D11_SHADER_RESOURCE_VIEW_DESC.Texture2D.MipLevels = 1u; + ID3D11ShaderResourceView* copySRV = default(ID3D11ShaderResourceView*); + Marshal.ThrowExceptionForHR(d3D11Forwarder->CreateShaderResourceView((ID3D11Resource*)_copy, &d3D11_SHADER_RESOURCE_VIEW_DESC, ©SRV)); + _copySRV = copySRV; + } + } +} diff --git a/Auspex/Auspex.Rendering.Direct3D/ShapeSharedShader.cs b/Auspex/Auspex.Rendering.Direct3D/ShapeSharedShader.cs new file mode 100644 index 0000000..d24ad7e --- /dev/null +++ b/Auspex/Auspex.Rendering.Direct3D/ShapeSharedShader.cs @@ -0,0 +1,6 @@ +namespace Auspex.Rendering.Direct3D; + +internal static class ShapeSharedShader +{ + public const string Mixin = "\nTexture2D _sceneDepth : register(t0);\nSamplerState _occlusionSampler\n{\n Filter = MIN_MAG_MIP_POINT;\n AddressU = CLAMP;\n AddressV = CLAMP;\n};\n\n// fadeParams: x=OccludedAlpha, y=OcclusionTolerance (m), z=FadeStart (m), w=FadeStop (m).\nfloat4 applyShared(float4 color, float3 projPos, float4 fadeParams)\n{\n float2 uv = projPos.xy * pixelToUv;\n float sceneNdcZ = _sceneDepth.Sample(_occlusionSampler, uv).r;\n\n float near = viewProj._m32;\n float shapeWorldZ = near / max(projPos.z, 1e-6);\n float sceneWorldZ = near / max(sceneNdcZ, 1e-6);\n\n float behindMeters = max(shapeWorldZ - sceneWorldZ, 0.0);\n float occlusion = behindMeters <= fadeParams.y ? 1.0 : fadeParams.x;\n\n float distanceFactor = 1.0;\n if (fadeParams.w < 1e10)\n {\n float range = max(fadeParams.w - fadeParams.z, 1e-4);\n distanceFactor = saturate((fadeParams.w - shapeWorldZ) / range);\n }\n\n color.a *= occlusion * distanceFactor;\n return color;\n}"; +} diff --git a/Auspex/Auspex.Rendering.Direct3D/StrokeShader.cs b/Auspex/Auspex.Rendering.Direct3D/StrokeShader.cs new file mode 100644 index 0000000..d985ca8 --- /dev/null +++ b/Auspex/Auspex.Rendering.Direct3D/StrokeShader.cs @@ -0,0 +1,503 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.InteropServices; +using System.Text; +using TerraFX.Interop.DirectX; + +namespace Auspex.Rendering.Direct3D; + +internal sealed class StrokeShader : IDisposable +{ + public struct Constants + { + public Matrix4x4 ViewProj; + + public Vector2 RenderTargetSize; + + public Vector2 PixelToUv; + } + + public struct Instance + { + public Vector3 World; + + public float Thickness; + + public Vector4 Color; + + public ushort Index; + + public float Distance; + + public float DashLength; + + public float GapLength; + + public float DashOffset; + + public float Flags; + + public Vector3 PrevWorld; + + public Vector3 NextWorld; + + public float JoinType; + + public Vector4 FadeParams; + } + + public sealed class Data : HlslShaderData + { + public sealed class Builder : HlslShaderBuilder + { + internal Builder(FrameRenderContext ctx, Data data) + : base(data._buffer.Map(ctx)) + { + } + + public void Add(List world, float thickness, Vector4 color, bool closed, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, Vector4? colorEnd = null, float cap = 0f, float join = 0f, AxDxParams p = default(AxDxParams)) + { + float num = 0f; + if (colorEnd.HasValue) + { + for (int i = 1; i < world.Count; i++) + { + num += Vector3.Distance(world[i - 1], world[i]); + } + if (closed) + { + num += Vector3.Distance(world[world.Count - 1], world[0]); + } + } + float num2 = 0f; + for (int j = 0; j < world.Count; j++) + { + if (j > 0) + { + num2 += Vector3.Distance(world[j - 1], world[j]); + } + Vector4 vertexColor = ((colorEnd.HasValue && num > 0f) ? Vector4.Lerp(color, colorEnd.Value, num2 / num) : color); + float flags = 0f; + if (!closed && cap > 0f) + { + if (j == 0) + { + flags = cap; + } + if (j == world.Count - 1) + { + flags = cap; + } + } + AddVertex(world, j, thickness, vertexColor, num2, dashLength, gapLength, dashOffset, flags, closed, join, p); + } + if (closed) + { + AddCloseVertex(world, thickness, colorEnd, color, num, num2, dashLength, gapLength, dashOffset, join, p); + } + } + + public void Add(List world, ReadOnlySpan thicknesses, Vector4 color, bool closed, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, Vector4? colorEnd = null, float cap = 0f, float join = 0f, AxDxParams p = default(AxDxParams)) + { + float num = 0f; + if (colorEnd.HasValue) + { + for (int i = 1; i < world.Count; i++) + { + num += Vector3.Distance(world[i - 1], world[i]); + } + if (closed) + { + num += Vector3.Distance(world[world.Count - 1], world[0]); + } + } + float num2 = 0f; + for (int j = 0; j < world.Count; j++) + { + if (j > 0) + { + num2 += Vector3.Distance(world[j - 1], world[j]); + } + Vector4 vertexColor = ((colorEnd.HasValue && num > 0f) ? Vector4.Lerp(color, colorEnd.Value, num2 / num) : color); + float flags = 0f; + if (!closed && cap > 0f) + { + if (j == 0) + { + flags = cap; + } + if (j == world.Count - 1) + { + flags = cap; + } + } + AddVertex(world, j, thicknesses[j], vertexColor, num2, dashLength, gapLength, dashOffset, flags, closed, join, p); + } + if (closed) + { + AddCloseVertex(world, thicknesses[0], colorEnd, color, num, num2, dashLength, gapLength, dashOffset, join, p); + } + } + + private void AddVertex(List world, int i, float thickness, Vector4 vertexColor, float distance, float dashLength, float gapLength, float dashOffset, float flags, bool closed, float join, AxDxParams p) + { + bool num = join > 0f && world.Count > 2; + float joinType = 0f; + Vector3 prevWorld; + Vector3 nextWorld; + if (num) + { + if (closed) + { + prevWorld = world[(i - 1 + world.Count) % world.Count]; + nextWorld = world[(i + 1) % world.Count]; + joinType = join; + } + else + { + bool num2 = i == 0; + bool flag = i == world.Count - 1; + prevWorld = (num2 ? world[i] : world[i - 1]); + nextWorld = (flag ? world[i] : world[i + 1]); + joinType = ((num2 || flag) ? 0f : join); + } + } + else + { + prevWorld = world[i]; + nextWorld = world[i]; + } + _inner.Add(new Instance + { + World = world[i], + Thickness = thickness, + Color = vertexColor, + Index = (ushort)(i + 1), + Distance = distance, + DashLength = dashLength, + GapLength = gapLength, + DashOffset = dashOffset, + Flags = flags, + PrevWorld = prevWorld, + NextWorld = nextWorld, + JoinType = joinType, + FadeParams = new Vector4(p.OccludedAlpha, p.OcclusionTolerance, p.FadeStart, p.FadeStop) + }); + } + + private void AddCloseVertex(List world, float thickness, Vector4? colorEnd, Vector4 color, float totalDistance, float distance, float dashLength, float gapLength, float dashOffset, float join, AxDxParams p) + { + distance += Vector3.Distance(world[world.Count - 1], world[0]); + Vector4 color2 = ((colorEnd.HasValue && totalDistance > 0f) ? Vector4.Lerp(color, colorEnd.Value, distance / totalDistance) : color); + GpuBuffer.Builder inner = _inner; + Instance item = new Instance + { + World = world[0], + Thickness = thickness, + Color = color2, + Index = (ushort)world.Count, + Distance = distance, + DashLength = dashLength, + GapLength = gapLength, + DashOffset = dashOffset, + Flags = 0f + }; + item.PrevWorld = world[world.Count - 1]; + item.NextWorld = ((world.Count > 1) ? world[1] : world[0]); + item.JoinType = ((join > 0f && world.Count > 2) ? join : 0f); + item.FadeParams = new Vector4(p.OccludedAlpha, p.OcclusionTolerance, p.FadeStart, p.FadeStop); + inner.Add(item); + } + } + + public Data(FrameRenderContext ctx, int maxCount, bool dynamic) + : base("StrokeShader", ctx, maxCount, dynamic) + { + } + + public Builder Map(FrameRenderContext ctx) + { + return new Builder(ctx, this); + } + + public void DrawSubset(FrameRenderContext ctx, int firstLine, int numLines) + { + DrawVertices(ctx, firstLine, numLines); + } + + public void DrawAll(FrameRenderContext ctx) + { + DrawVertices(ctx, 0, _buffer.CurElements); + } + } + + public const int MAXIMUM_ARC_SEGMENTS = 240; + + private unsafe ID3D11Buffer* _constantBuffer; + + private unsafe ID3D11InputLayout* _il; + + private unsafe ID3D11VertexShader* _vs; + + private unsafe ID3D11GeometryShader* _gs; + + private unsafe ID3D11PixelShader* _ps; + + public unsafe StrokeShader(FrameRenderContext ctx) + { + byte[] bytes = Encoding.UTF8.GetBytes("#define FEATHER 2\n#define MITER_LIMIT 4.0\n#define ROUND_JOIN_SEGMENTS 8\n\ncbuffer Constants : register(b0)\n{\n float4x4 viewProj;\n float2 renderTargetSize;\n float2 pixelToUv;\n};\n\n\nTexture2D _sceneDepth : register(t0);\nSamplerState _occlusionSampler\n{\n Filter = MIN_MAG_MIP_POINT;\n AddressU = CLAMP;\n AddressV = CLAMP;\n};\n\n// fadeParams: x=OccludedAlpha, y=OcclusionTolerance (m), z=FadeStart (m), w=FadeStop (m).\nfloat4 applyShared(float4 color, float3 projPos, float4 fadeParams)\n{\n float2 uv = projPos.xy * pixelToUv;\n float sceneNdcZ = _sceneDepth.Sample(_occlusionSampler, uv).r;\n\n float near = viewProj._m32;\n float shapeWorldZ = near / max(projPos.z, 1e-6);\n float sceneWorldZ = near / max(sceneNdcZ, 1e-6);\n\n float behindMeters = max(shapeWorldZ - sceneWorldZ, 0.0);\n float occlusion = behindMeters <= fadeParams.y ? 1.0 : fadeParams.x;\n\n float distanceFactor = 1.0;\n if (fadeParams.w < 1e10)\n {\n float range = max(fadeParams.w - fadeParams.z, 1e-4);\n distanceFactor = saturate((fadeParams.w - shapeWorldZ) / range);\n }\n\n color.a *= occlusion * distanceFactor;\n return color;\n}\n\nstruct Line\n{\n float3 world : WORLD;\n float thickness : THICKNESS;\n float4 color : COLOR;\n min16uint index : INDEX;\n float distance : DISTANCE;\n float dashLength : DASHLENGTH;\n float gapLength : GAPLENGTH;\n float dashOffset : DASHOFFSET;\n float flags : FLAGS;\n float3 prevWorld : PREVWORLD;\n float3 nextWorld : NEXTWORLD;\n float joinType : JOINTYPE;\n float4 fadeParams : FADEPARAMS;\n};\n\nstruct VSOutput\n{\n float4 projPos : SV_POSITION;\n float thickness : THICKNESS;\n float4 color : COLOR;\n min16uint index : INDEX;\n float distance : DISTANCE;\n float dashLength : DASHLENGTH;\n float gapLength : GAPLENGTH;\n float dashOffset : DASHOFFSET;\n float flags : FLAGS;\n float3 prevWorld : PREVWORLD;\n float3 nextWorld : NEXTWORLD;\n float joinType : JOINTYPE;\n float4 fadeParams : FADEPARAMS;\n};\n\nstruct GSOutput\n{\n float4 projPos : SV_POSITION;\n float4 color : COLOR;\n noperspective float normal : NORMAL;\n float thickness : THICKNESS;\n noperspective float distance : DISTANCE;\n float dashLength : DASHLENGTH;\n float gapLength : GAPLENGTH;\n float dashOffset : DASHOFFSET;\n noperspective float capEdge : CAPEDGE;\n nointerpolation float capType : CAPTYPE;\n noperspective float joinEdge : JOINEDGE;\n nointerpolation float joinTypeOut : JOINTYPEOUT;\n float4 fadeParams : FADEPARAMS;\n};\n\nVSOutput vs(in Line l)\n{\n VSOutput v;\n\n v.thickness = l.thickness + FEATHER / 2;\n v.color = l.color;\n v.index = l.index;\n v.distance = l.distance;\n v.dashLength = l.dashLength;\n v.gapLength = l.gapLength;\n v.dashOffset = l.dashOffset;\n v.flags = l.flags;\n v.prevWorld = l.prevWorld;\n v.nextWorld = l.nextWorld;\n v.joinType = l.joinType;\n v.fadeParams = l.fadeParams;\n\n v.projPos = mul(float4(l.world, 1), viewProj);\n return v;\n}\n\nfloat unscale(inout float4 v)\n{\n float scale = v.w;\n v /= v.w;\n return scale;\n}\n\n// Compute miter offset at a join point.\n// segNormal: normal of the current segment in NDC\n// neighborNormal: normal of the adjacent segment in NDC\n// Returns: miter direction in NDC scaled so that dot(miter, segNormal) == 1\n// outMiterLen: the miter scale factor (1/cos(half_angle))\nbool compute_miter(float2 segNormal, float2 neighborNormal, out float2 miter, out float miterLen)\n{\n float2 m = segNormal + neighborNormal;\n float len2 = dot(m, m);\n if (len2 < 0.0001) {\n miter = segNormal;\n miterLen = 1.0;\n return false;\n }\n miter = m / sqrt(len2);\n float d = dot(miter, segNormal);\n if (abs(d) < 0.001) {\n miter = segNormal;\n miterLen = 1.0;\n return false;\n }\n miterLen = 1.0 / d;\n return true;\n}\n\n// maxvertexcount: 4 (main quad) + 2*(ROUND_JOIN_SEGMENTS+1) (round fan at start)\n[maxvertexcount(22)]\nvoid gs(line VSOutput input[2], inout TriangleStream output)\n{\n VSOutput start = input[0];\n VSOutput stop = input[1];\n\n if (start.index > stop.index) {\n return;\n }\n\n if (start.projPos.w > stop.projPos.w)\n {\n VSOutput tmp = start;\n start = stop;\n stop = tmp;\n }\n\n float nearPlane = 0.1;\n if (start.projPos.w < nearPlane)\n {\n\t float ratio = (nearPlane - start.projPos.w) / (stop.projPos.w - start.projPos.w);\n\t start.projPos = lerp(start.projPos, stop.projPos, ratio);\n }\n\n float4 p0 = start.projPos;\n float w0 = unscale(p0);\n float4 p1 = stop.projPos;\n float w1 = unscale(p1);\n\n // Segment direction and normal in screen space\n float2 segDir = normalize((p1.xy - p0.xy) * renderTargetSize);\n float2 segN = float2(-segDir.y, segDir.x) / renderTargetSize;\n\n // Cap extension\n float startCapEdge = 0;\n float stopCapEdge = 0;\n float capType = max(start.flags, stop.flags);\n\n if (start.flags > 0.5) {\n float2 ext = segDir * start.thickness * 2.0 / renderTargetSize;\n p0.xy -= ext;\n startCapEdge = -1;\n }\n if (stop.flags > 0.5) {\n float2 ext = segDir * stop.thickness * 2.0 / renderTargetSize;\n p1.xy += ext;\n stopCapEdge = 1;\n }\n\n // Compute join offsets at start vertex\n float2 startOffsetPos = segN * start.thickness; // +normal side offset (NDC)\n float2 startOffsetNeg = -segN * start.thickness; // -normal side offset (NDC)\n float2 startPrevN = segN; // neighbor normal for bevel/round (default to seg normal)\n bool startHasJoin = false;\n float startJoinSign = 0;\n\n if (start.joinType > 0.5) {\n float4 prevProj = mul(float4(start.prevWorld, 1), viewProj);\n if (prevProj.w > 0.01) {\n float2 prevNDC = prevProj.xy / prevProj.w;\n float2 prevDir = normalize((p0.xy - prevNDC) * renderTargetSize);\n float2 prevN = float2(-prevDir.y, prevDir.x) / renderTargetSize;\n startPrevN = prevN;\n\n float2 miter;\n float miterLen;\n bool valid = compute_miter(segN, prevN, miter, miterLen);\n\n if (valid) {\n startHasJoin = true;\n // Determine which side is the outside of the turn\n float cross_z = segDir.x * (-prevDir.y) - segDir.y * (-prevDir.x);\n startJoinSign = sign(cross_z);\n\n if (start.joinType < 1.5 && miterLen <= MITER_LIMIT) {\n // Miter join: extend both sides along the miter\n startOffsetPos = miter * start.thickness * miterLen;\n startOffsetNeg = -miter * start.thickness * miterLen;\n } else if (start.joinType < 1.5) {\n // Miter exceeded limit: fall back to bevel\n startHasJoin = true;\n }\n // Bevel and Round: use segment normal (no miter extension), emit join geometry after quad\n }\n }\n }\n\n // Compute miter offsets at stop vertex (for quad corner placement only)\n float2 stopOffsetPos = segN * stop.thickness;\n float2 stopOffsetNeg = -segN * stop.thickness;\n\n if (stop.joinType > 0.5) {\n float4 nextProj = mul(float4(stop.nextWorld, 1), viewProj);\n if (nextProj.w > 0.01) {\n float2 nextNDC = nextProj.xy / nextProj.w;\n float2 nextDir = normalize((nextNDC - p1.xy) * renderTargetSize);\n float2 nextN = float2(-nextDir.y, nextDir.x) / renderTargetSize;\n\n float2 miter;\n float miterLen;\n bool valid = compute_miter(segN, nextN, miter, miterLen);\n\n if (valid && stop.joinType < 1.5 && miterLen <= MITER_LIMIT) {\n // Miter join: extend quad corners along the miter\n stopOffsetPos = miter * stop.thickness * miterLen;\n stopOffsetNeg = -miter * stop.thickness * miterLen;\n }\n }\n }\n\n // Emit main quad\n GSOutput v;\n v.dashLength = start.dashLength;\n v.gapLength = start.gapLength;\n v.dashOffset = start.dashOffset;\n v.joinEdge = 0;\n v.joinTypeOut = 0;\n v.fadeParams = start.fadeParams;\n\n v.thickness = start.thickness;\n v.color = start.color;\n v.distance = start.distance;\n v.capEdge = startCapEdge;\n v.capType = capType;\n v.normal = 1;\n v.projPos = w0 * float4(p0.xy + startOffsetPos, p0.zw);\n output.Append(v);\n v.normal = -1;\n v.projPos = w0 * float4(p0.xy + startOffsetNeg, p0.zw);\n output.Append(v);\n\n v.thickness = stop.thickness;\n v.color = stop.color;\n v.dashLength = stop.dashLength;\n v.gapLength = stop.gapLength;\n v.dashOffset = stop.dashOffset;\n v.distance = stop.distance;\n v.capEdge = stopCapEdge;\n v.capType = capType;\n v.normal = 1;\n v.projPos = w1 * float4(p1.xy + stopOffsetPos, p1.zw);\n output.Append(v);\n v.normal = -1;\n v.projPos = w1 * float4(p1.xy + stopOffsetNeg, p1.zw);\n output.Append(v);\n\n // Emit bevel/round join geometry at start vertex\n if (startHasJoin && start.joinType > 1.5) {\n output.RestartStrip();\n\n float2 n0 = startPrevN * start.thickness;\n float2 n1 = segN * start.thickness;\n\n if (start.joinType > 2.5) {\n // Round join: emit fan\n float2 outerN0 = startJoinSign > 0 ? n0 : -n0;\n float2 outerN1 = startJoinSign > 0 ? n1 : -n1;\n\n float angle0 = atan2(outerN0.y * renderTargetSize.y, outerN0.x * renderTargetSize.x);\n float angle1 = atan2(outerN1.y * renderTargetSize.y, outerN1.x * renderTargetSize.x);\n float dAngle = angle1 - angle0;\n if (dAngle > 3.14159) dAngle -= 6.28318;\n if (dAngle < -3.14159) dAngle += 6.28318;\n\n int numFan = clamp(abs(dAngle) / 0.3, 2, ROUND_JOIN_SEGMENTS);\n for (int fi = 0; fi <= numFan; fi++) {\n float t = (float)fi / (float)numFan;\n float a = angle0 + dAngle * t;\n float2 fanN = float2(cos(a) / renderTargetSize.x, sin(a) / renderTargetSize.y) * start.thickness;\n\n v.thickness = start.thickness;\n v.color = start.color;\n v.dashLength = start.dashLength;\n v.gapLength = start.gapLength;\n v.dashOffset = start.dashOffset;\n v.distance = start.distance;\n v.capEdge = 0;\n v.capType = 0;\n v.joinEdge = 1;\n v.joinTypeOut = start.joinType;\n\n // Center vertex\n v.normal = 0;\n v.projPos = w0 * float4(p0.xy, p0.zw);\n output.Append(v);\n\n // Outer vertex\n v.normal = 1;\n v.projPos = w0 * float4(p0.xy + fanN, p0.zw);\n output.Append(v);\n }\n } else {\n // Bevel join: single triangle\n float2 outerN0 = startJoinSign > 0 ? n0 : -n0;\n float2 outerN1 = startJoinSign > 0 ? n1 : -n1;\n\n v.thickness = start.thickness;\n v.color = start.color;\n v.dashLength = start.dashLength;\n v.gapLength = start.gapLength;\n v.dashOffset = start.dashOffset;\n v.distance = start.distance;\n v.capEdge = 0;\n v.capType = 0;\n v.joinEdge = 0;\n v.joinTypeOut = 0;\n v.normal = 0;\n\n // Center vertex\n v.projPos = w0 * float4(p0.xy, p0.zw);\n output.Append(v);\n // Prev segment outer edge\n v.normal = 1;\n v.projPos = w0 * float4(p0.xy + outerN0, p0.zw);\n output.Append(v);\n // Current segment outer edge\n v.projPos = w0 * float4(p0.xy + outerN1, p0.zw);\n output.Append(v);\n }\n }\n\n // Note: bevel/round join fill geometry is only emitted at the start vertex\n // to avoid double-drawing (the next segment's start handles the same join).\n}\n\nfloat unfeather(float thickness, float dist)\n{\n float width = thickness - FEATHER;\n float pixel = dist * thickness - width;\n pixel = max(0, pixel);\n pixel /= FEATHER;\n return pixel;\n}\n\nfloat4 ps(GSOutput input) : SV_Target\n{\n if (input.dashLength > 0)\n {\n if (fmod(input.distance + input.dashOffset, input.dashLength + input.gapLength) >= input.dashLength)\n discard;\n }\n float dist;\n if (input.joinTypeOut > 2.5 && abs(input.joinEdge) > 0.001) {\n // Round join: use 2D distance from center for circular edge\n dist = abs(input.normal);\n } else if (input.capType > 1.5 && abs(input.capEdge) > 0.001) {\n dist = length(float2(input.capEdge, input.normal));\n } else {\n dist = abs(input.normal);\n }\n float f = unfeather(input.thickness, dist);\n float4 color = input.color;\n color.a *= exp2(-2.7 * f * f);\n return applyShared(color, input.projPos.xyz, input.fadeParams);\n}"); + TriangleFillShader.CompileShader(bytes, "vs"u8, "vs_5_0"u8, out var blob, "Line VS"); + TriangleFillShader.CompileShader(bytes, "gs"u8, "gs_5_0"u8, out var blob2, "Line GS"); + TriangleFillShader.CompileShader(bytes, "ps"u8, "ps_5_0"u8, out var blob3, "Line PS"); + ID3D11VertexShader* vs = default(ID3D11VertexShader*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateVertexShader(blob->GetBufferPointer(), blob->GetBufferSize(), null, &vs)); + _vs = vs; + ID3D11GeometryShader* gs = default(ID3D11GeometryShader*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateGeometryShader(blob2->GetBufferPointer(), blob2->GetBufferSize(), null, &gs)); + _gs = gs; + ID3D11PixelShader* ps = default(ID3D11PixelShader*); + Marshal.ThrowExceptionForHR(ctx.Device->CreatePixelShader(blob3->GetBufferPointer(), blob3->GetBufferSize(), null, &ps)); + _ps = ps; + D3D11_BUFFER_DESC d3D11_BUFFER_DESC = new D3D11_BUFFER_DESC + { + ByteWidth = 128u, + Usage = D3D11_USAGE.D3D11_USAGE_DEFAULT, + BindFlags = 4u + }; + ID3D11Buffer* constantBuffer = default(ID3D11Buffer*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateBuffer(&d3D11_BUFFER_DESC, null, &constantBuffer)); + _constantBuffer = constantBuffer; + fixed (byte* semanticName = "WORLD"u8) + { + fixed (byte* semanticName2 = "THICKNESS"u8) + { + fixed (byte* semanticName3 = "COLOR"u8) + { + fixed (byte* semanticName4 = "INDEX"u8) + { + fixed (byte* semanticName5 = "DISTANCE"u8) + { + fixed (byte* semanticName6 = "DASHLENGTH"u8) + { + fixed (byte* semanticName7 = "GAPLENGTH"u8) + { + fixed (byte* semanticName8 = "DASHOFFSET"u8) + { + fixed (byte* semanticName9 = "FLAGS"u8) + { + fixed (byte* semanticName10 = "PREVWORLD"u8) + { + fixed (byte* semanticName11 = "NEXTWORLD"u8) + { + fixed (byte* semanticName12 = "JOINTYPE"u8) + { + fixed (byte* semanticName13 = "FADEPARAMS"u8) + { + D3D11_INPUT_ELEMENT_DESC* ptr = stackalloc D3D11_INPUT_ELEMENT_DESC[13]; + *ptr = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32G32B32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_VERTEX_DATA, + InstanceDataStepRate = 0u + }; + ptr[1] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName2, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_VERTEX_DATA, + InstanceDataStepRate = 0u + }; + ptr[2] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName3, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32G32B32A32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_VERTEX_DATA, + InstanceDataStepRate = 0u + }; + ptr[3] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName4, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R16_UINT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_VERTEX_DATA, + InstanceDataStepRate = 0u + }; + ptr[4] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName5, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_VERTEX_DATA, + InstanceDataStepRate = 0u + }; + ptr[5] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName6, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_VERTEX_DATA, + InstanceDataStepRate = 0u + }; + ptr[6] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName7, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_VERTEX_DATA, + InstanceDataStepRate = 0u + }; + ptr[7] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName8, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_VERTEX_DATA, + InstanceDataStepRate = 0u + }; + ptr[8] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName9, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_VERTEX_DATA, + InstanceDataStepRate = 0u + }; + ptr[9] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName10, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32G32B32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_VERTEX_DATA, + InstanceDataStepRate = 0u + }; + ptr[10] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName11, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32G32B32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_VERTEX_DATA, + InstanceDataStepRate = 0u + }; + ptr[11] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName12, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_VERTEX_DATA, + InstanceDataStepRate = 0u + }; + ptr[12] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName13, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32G32B32A32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_VERTEX_DATA, + InstanceDataStepRate = 0u + }; + ID3D11InputLayout* il = default(ID3D11InputLayout*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateInputLayout(ptr, 13u, blob->GetBufferPointer(), blob->GetBufferSize(), &il)); + _il = il; + } + } + } + } + } + } + } + } + } + } + } + } + } + blob->Release(); + blob2->Release(); + blob3->Release(); + } + + public unsafe void Dispose() + { + if (_constantBuffer != null) + { + _constantBuffer->Release(); + _constantBuffer = null; + } + if (_il != null) + { + _il->Release(); + _il = null; + } + if (_vs != null) + { + _vs->Release(); + _vs = null; + } + if (_gs != null) + { + _gs->Release(); + _gs = null; + } + if (_ps != null) + { + _ps->Release(); + _ps = null; + } + GC.SuppressFinalize(this); + } + + public unsafe void UpdateConstants(FrameRenderContext ctx, Constants consts) + { + consts.ViewProj = Matrix4x4.Transpose(consts.ViewProj); + ctx.Context->UpdateSubresource((ID3D11Resource*)_constantBuffer, 0u, null, &consts, 0u, 0u); + } + + public unsafe void Bind(FrameRenderContext ctx) + { + ctx.Context->IASetPrimitiveTopology(D3D_PRIMITIVE_TOPOLOGY.D3D_PRIMITIVE_TOPOLOGY_LINESTRIP); + ctx.Context->IASetInputLayout(_il); + ctx.Context->VSSetShader(_vs, null, 0u); + ID3D11Buffer* constantBuffer = _constantBuffer; + ctx.Context->VSSetConstantBuffers(0u, 1u, &constantBuffer); + ctx.Context->GSSetShader(_gs, null, 0u); + ctx.Context->GSSetConstantBuffers(0u, 1u, &constantBuffer); + ctx.Context->PSSetShader(_ps, null, 0u); + ctx.Context->PSSetConstantBuffers(0u, 1u, &constantBuffer); + } + + public void Draw(FrameRenderContext ctx, Data data) + { + Bind(ctx); + data.DrawAll(ctx); + } +} diff --git a/Auspex/Auspex.Rendering.Direct3D/TriangleFillShader.cs b/Auspex/Auspex.Rendering.Direct3D/TriangleFillShader.cs new file mode 100644 index 0000000..09c8149 --- /dev/null +++ b/Auspex/Auspex.Rendering.Direct3D/TriangleFillShader.cs @@ -0,0 +1,225 @@ +using System; +using System.Numerics; +using System.Runtime.InteropServices; +using System.Text; +using TerraFX.Interop.DirectX; +using TerraFX.Interop.Windows; + +namespace Auspex.Rendering.Direct3D; + +internal sealed class TriangleFillShader : IDisposable +{ + public struct Constants + { + public Matrix4x4 ViewProj; + + public Vector2 PixelToUv; + } + + public struct Instance + { + public Vector3 Point; + + public Vector4 Color; + + public Vector4 FadeParams; + } + + public sealed class Data : HlslShaderData + { + public sealed class Builder : HlslShaderBuilder + { + internal Builder(FrameRenderContext ctx, Data data) + : base(data._buffer.Map(ctx)) + { + } + + public void Add(Vector3 world, Vector4 color, AxDxParams p) + { + _inner.Add(new Instance + { + Point = world, + Color = color, + FadeParams = new Vector4(p.OccludedAlpha, p.OcclusionTolerance, p.FadeStart, p.FadeStop) + }); + } + } + + public Data(FrameRenderContext ctx, int maxCount, bool dynamic) + : base("Triangle", ctx, maxCount, dynamic) + { + } + + public Builder Map(FrameRenderContext ctx) + { + return new Builder(ctx, this); + } + + public void DrawSubset(FrameRenderContext ctx, int firstPoint, int numPoints) + { + DrawVertices(ctx, firstPoint, numPoints); + } + + public void DrawAll(FrameRenderContext ctx) + { + DrawVertices(ctx, 0, _buffer.CurElements); + } + } + + private unsafe ID3D11Buffer* _constantBuffer; + + private unsafe ID3D11InputLayout* _il; + + private unsafe ID3D11VertexShader* _vs; + + private unsafe ID3D11PixelShader* _ps; + + public unsafe TriangleFillShader(FrameRenderContext ctx) + { + byte[] bytes = Encoding.UTF8.GetBytes("cbuffer Constants : register(b0)\n{\n float4x4 viewProj;\n float2 pixelToUv;\n};\n\nTexture2D _sceneDepth : register(t0);\nSamplerState _occlusionSampler\n{\n Filter = MIN_MAG_MIP_POINT;\n AddressU = CLAMP;\n AddressV = CLAMP;\n};\n\n// fadeParams: x=OccludedAlpha, y=OcclusionTolerance (m), z=FadeStart (m), w=FadeStop (m).\nfloat4 applyShared(float4 color, float3 projPos, float4 fadeParams)\n{\n float2 uv = projPos.xy * pixelToUv;\n float sceneNdcZ = _sceneDepth.Sample(_occlusionSampler, uv).r;\n\n float near = viewProj._m32;\n float shapeWorldZ = near / max(projPos.z, 1e-6);\n float sceneWorldZ = near / max(sceneNdcZ, 1e-6);\n\n float behindMeters = max(shapeWorldZ - sceneWorldZ, 0.0);\n float occlusion = behindMeters <= fadeParams.y ? 1.0 : fadeParams.x;\n\n float distanceFactor = 1.0;\n if (fadeParams.w < 1e10)\n {\n float range = max(fadeParams.w - fadeParams.z, 1e-4);\n distanceFactor = saturate((fadeParams.w - shapeWorldZ) / range);\n }\n\n color.a *= occlusion * distanceFactor;\n return color;\n}\n\nstruct Point\n{\n float3 pos : WORLD;\n float4 color : COLOR;\n float4 fadeParams : FADEPARAMS;\n};\n\nstruct VSOutput\n{\n float4 projPos : SV_POSITION;\n float4 color : COLOR;\n float4 fadeParams : FADEPARAMS;\n};\n\nVSOutput vs(Point v)\n{\n VSOutput vs;\n vs.projPos = mul(float4(v.pos, 1), viewProj);\n vs.color = v.color;\n vs.fadeParams = v.fadeParams;\n return vs;\n}\n\nfloat4 ps(VSOutput input) : SV_TARGET\n{\n return applyShared(input.color, input.projPos.xyz, input.fadeParams);\n}"); + CompileShader(bytes, "vs"u8, "vs_5_0"u8, out var blob, "Point VS"); + CompileShader(bytes, "ps"u8, "ps_5_0"u8, out var blob2, "Point PS"); + ID3D11VertexShader* vs = default(ID3D11VertexShader*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateVertexShader(blob->GetBufferPointer(), blob->GetBufferSize(), null, &vs)); + _vs = vs; + ID3D11PixelShader* ps = default(ID3D11PixelShader*); + Marshal.ThrowExceptionForHR(ctx.Device->CreatePixelShader(blob2->GetBufferPointer(), blob2->GetBufferSize(), null, &ps)); + _ps = ps; + D3D11_BUFFER_DESC d3D11_BUFFER_DESC = new D3D11_BUFFER_DESC + { + ByteWidth = 80u, + Usage = D3D11_USAGE.D3D11_USAGE_DEFAULT, + BindFlags = 4u + }; + ID3D11Buffer* constantBuffer = default(ID3D11Buffer*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateBuffer(&d3D11_BUFFER_DESC, null, &constantBuffer)); + _constantBuffer = constantBuffer; + fixed (byte* semanticName = "WORLD"u8) + { + fixed (byte* semanticName2 = "COLOR"u8) + { + fixed (byte* semanticName3 = "FADEPARAMS"u8) + { + D3D11_INPUT_ELEMENT_DESC* ptr = stackalloc D3D11_INPUT_ELEMENT_DESC[3]; + *ptr = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32G32B32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_VERTEX_DATA, + InstanceDataStepRate = 0u + }; + ptr[1] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName2, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32G32B32A32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_VERTEX_DATA, + InstanceDataStepRate = 0u + }; + ptr[2] = new D3D11_INPUT_ELEMENT_DESC + { + SemanticName = (sbyte*)semanticName3, + SemanticIndex = 0u, + Format = DXGI_FORMAT.DXGI_FORMAT_R32G32B32A32_FLOAT, + AlignedByteOffset = uint.MaxValue, + InputSlot = 0u, + InputSlotClass = D3D11_INPUT_CLASSIFICATION.D3D11_INPUT_PER_VERTEX_DATA, + InstanceDataStepRate = 0u + }; + ID3D11InputLayout* il = default(ID3D11InputLayout*); + Marshal.ThrowExceptionForHR(ctx.Device->CreateInputLayout(ptr, 3u, blob->GetBufferPointer(), blob->GetBufferSize(), &il)); + _il = il; + } + } + } + blob->Release(); + blob2->Release(); + } + + public unsafe void Dispose() + { + if (_constantBuffer != null) + { + _constantBuffer->Release(); + _constantBuffer = null; + } + if (_il != null) + { + _il->Release(); + _il = null; + } + if (_vs != null) + { + _vs->Release(); + _vs = null; + } + if (_ps != null) + { + _ps->Release(); + _ps = null; + } + GC.SuppressFinalize(this); + } + + public unsafe void UpdateConstants(FrameRenderContext ctx, Constants consts) + { + consts.ViewProj = Matrix4x4.Transpose(consts.ViewProj); + ctx.Context->UpdateSubresource((ID3D11Resource*)_constantBuffer, 0u, null, &consts, 0u, 0u); + } + + public unsafe void Bind(FrameRenderContext ctx) + { + ctx.Context->IASetPrimitiveTopology(D3D_PRIMITIVE_TOPOLOGY.D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST); + ctx.Context->IASetInputLayout(_il); + ctx.Context->VSSetShader(_vs, null, 0u); + ID3D11Buffer* constantBuffer = _constantBuffer; + ctx.Context->VSSetConstantBuffers(0u, 1u, &constantBuffer); + ctx.Context->PSSetShader(_ps, null, 0u); + ctx.Context->PSSetConstantBuffers(0u, 1u, &constantBuffer); + ctx.Context->GSSetShader(null, null, 0u); + } + + public void Draw(FrameRenderContext ctx, Data data) + { + Bind(ctx); + data.DrawAll(ctx); + } + + internal unsafe static void CompileShader(ReadOnlySpan source, ReadOnlySpan entryPoint, ReadOnlySpan target, out ID3DBlob* blob, string label) + { + ID3DBlob* ptr = null; + ID3DBlob* ptr2 = null; + HRESULT hRESULT; + fixed (byte* pSrcData = source) + { + fixed (byte* pEntrypoint = entryPoint) + { + fixed (byte* pTarget = target) + { + hRESULT = DirectX.D3DCompile(pSrcData, (nuint)source.Length, null, null, null, (sbyte*)pEntrypoint, (sbyte*)pTarget, 0u, 0u, &ptr, &ptr2); + } + } + } + string text = null; + if (ptr2 != null) + { + text = Encoding.UTF8.GetString((byte*)ptr2->GetBufferPointer(), (int)(nuint)ptr2->GetBufferSize()).TrimEnd('\0'); + ptr2->Release(); + } + AuspexService.Log.Debug(label + " compile: " + text); + if (hRESULT.FAILED) + { + if (ptr != null) + { + ptr->Release(); + } + throw new InvalidOperationException("Shader compilation failed (" + label + "): " + text); + } + blob = ptr; + } +} diff --git a/Auspex/Auspex.Rendering.ImGuiFallback/FallbackClipMath.cs b/Auspex/Auspex.Rendering.ImGuiFallback/FallbackClipMath.cs new file mode 100644 index 0000000..7fe9f18 --- /dev/null +++ b/Auspex/Auspex.Rendering.ImGuiFallback/FallbackClipMath.cs @@ -0,0 +1,64 @@ +using System.Numerics; +using System.Runtime.CompilerServices; +using Dalamud.Interface.Utility; + +namespace Auspex.Rendering.ImGuiFallback; + +internal static class FallbackClipMath +{ + public enum LineClipStatus + { + NotVisible, + NotClipped, + A_Clipped, + B_Clipped + } + + public static Vector3 XYZ(this Vector4 v) + { + return new Vector3(v.X, v.Y, v.Z); + } + + public static LineClipStatus ClipLineToPlane(Vector4 plane, ref Vector3 a, ref Vector3 b, out float t) + { + t = 0f; + float num = Vector4.Dot(new Vector4(a, 1f), plane); + float num2 = Vector4.Dot(new Vector4(b, 1f), plane); + bool flag = num < 0f; + bool flag2 = num2 < 0f; + if (flag && flag2) + { + return LineClipStatus.NotClipped; + } + if (!flag && !flag2) + { + return LineClipStatus.NotVisible; + } + Vector3 vector = b - a; + t = (0f - num) / Vector3.Dot(vector, plane.XYZ()); + Vector3 vector2 = a + vector * t; + if (flag) + { + b = vector2; + return LineClipStatus.B_Clipped; + } + a = vector2; + return LineClipStatus.A_Clipped; + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TransformCoordinate(in Vector3 coordinate, in Matrix4x4 transform, out Vector3 result) + { + result.X = coordinate.X * transform.M11 + coordinate.Y * transform.M21 + coordinate.Z * transform.M31 + transform.M41; + result.Y = coordinate.X * transform.M12 + coordinate.Y * transform.M22 + coordinate.Z * transform.M32 + transform.M42; + result.Z = coordinate.X * transform.M13 + coordinate.Y * transform.M23 + coordinate.Z * transform.M33 + transform.M43; + float num = 1f / (coordinate.X * transform.M14 + coordinate.Y * transform.M24 + coordinate.Z * transform.M34 + transform.M44); + result *= num; + } + + public static Vector2 WorldToScreenOld(in Matrix4x4 viewProj, in Vector3 worldPos) + { + TransformCoordinate(in worldPos, in viewProj, out var result); + return new Vector2(0.5f * ImGuiHelpers.MainViewport.Size.X * (1f + result.X), 0.5f * ImGuiHelpers.MainViewport.Size.Y * (1f - result.Y)) + ImGuiHelpers.MainViewport.Pos; + } +} diff --git a/Auspex/Auspex.Rendering.ImGuiFallback/ImGuiFallbackRenderer.cs b/Auspex/Auspex.Rendering.ImGuiFallback/ImGuiFallbackRenderer.cs new file mode 100644 index 0000000..60d3c77 --- /dev/null +++ b/Auspex/Auspex.Rendering.ImGuiFallback/ImGuiFallbackRenderer.cs @@ -0,0 +1,63 @@ +using System.Collections.Generic; +using System.Numerics; +using Dalamud.Bindings.ImGui; +using FFXIVClientStructs.FFXIV.Client.Game; +using FFXIVClientStructs.FFXIV.Client.Game.Control; +using FFXIVClientStructs.FFXIV.Client.Graphics.Render; + +namespace Auspex.Rendering.ImGuiFallback; + +internal sealed class ImGuiFallbackRenderer +{ + private readonly ImDrawListPtr drawList; + + private readonly Matrix4x4 viewProj; + + private readonly Vector4 nearPlane; + + public unsafe ImGuiFallbackRenderer(ImDrawListPtr drawList) + { + this.drawList = drawList; + viewProj = Control.Instance()->ViewProjectionMatrix; + FFXIVClientStructs.FFXIV.Client.Game.Camera* activeCamera = Control.Instance()->CameraManager.GetActiveCamera(); + FFXIVClientStructs.FFXIV.Client.Graphics.Render.Camera* ptr = ((activeCamera != null) ? activeCamera->SceneCamera.RenderCamera : null); + if (ptr == null) + { + nearPlane = new Vector4(viewProj.M13, viewProj.M23, viewProj.M33, viewProj.M43); + return; + } + if (!Matrix4x4.Invert(ptr->ProjectionMatrix, out var result)) + { + nearPlane = new Vector4(viewProj.M13, viewProj.M23, viewProj.M33, viewProj.M43); + return; + } + Matrix4x4 matrix4x = viewProj * result; + nearPlane = new Vector4(matrix4x.M13, matrix4x.M23, matrix4x.M33, matrix4x.M43 + ptr->NearPlane); + } + + public void DrawStroke(List world, float thickness, uint color, bool closed = false, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, AxLineCap cap = AxLineCap.Butt, AxLineJoin join = AxLineJoin.None) + { + if (world.Count != 0) + { + for (int i = 1; i < world.Count; i++) + { + DrawStroke(world[i - 1], world[i], thickness, color); + } + if (closed) + { + DrawStroke(world[world.Count - 1], world[0], thickness, color); + } + } + } + + public void DrawStroke(Vector3 start, Vector3 stop, float thickness, uint color) + { + if (FallbackClipMath.ClipLineToPlane(nearPlane, ref start, ref stop, out var _) != FallbackClipMath.LineClipStatus.NotVisible) + { + drawList.PathClear(); + drawList.PathLineTo(FallbackClipMath.WorldToScreenOld(in viewProj, in start)); + drawList.PathLineTo(FallbackClipMath.WorldToScreenOld(in viewProj, in stop)); + drawList.PathStroke(color, ImDrawFlags.None, thickness); + } + } +} diff --git a/Auspex/Auspex.Vfx.Internal/ActorBoundVfx.cs b/Auspex/Auspex.Vfx.Internal/ActorBoundVfx.cs new file mode 100644 index 0000000..bd80ad4 --- /dev/null +++ b/Auspex/Auspex.Vfx.Internal/ActorBoundVfx.cs @@ -0,0 +1,64 @@ +using System; +using System.Numerics; +using System.Text; +using Auspex.Vfx.Native; +using Dalamud.Game.ClientState.Objects.Types; + +namespace Auspex.Vfx.Internal; + +public sealed class ActorBoundVfx : IDisposable +{ + internal IGameObject target; + + internal IGameObject source; + + internal Vector3 scale; + + internal Vector4 color; + + internal unsafe VfxData* data; + + public static ActorBoundVfx Create(string path, IGameObject target, IGameObject source, Vector3 scale, Vector4 color) + { + return new ActorBoundVfx(path, target, source, scale, color); + } + + private unsafe ActorBoundVfx(string path, IGameObject target, IGameObject source, Vector3 scale, Vector4 color) + { + this.target = target; + this.source = source; + this.scale = scale; + this.color = color; + data = CreateGameObjectVfxInternal(path, target, source, scale, color); + } + + public unsafe void Dispose() + { + if (data != null && data->Instance != null) + { + VfxNativeBridge.DestroyVfx(data); + } + data = null; + GC.SuppressFinalize(this); + } + + private unsafe static VfxData* CreateGameObjectVfxInternal(string path, IGameObject target, IGameObject source, Vector3 scale, Vector4 color) + { + fixed (byte* bytes = Encoding.UTF8.GetBytes(path + "\0")) + { + VfxData* intPtr = VfxNativeBridge.CreateGameObjectVfxInternal(bytes, target.Address, source.Address, 1f, 0, 0, 1); + intPtr->Instance->Scale = scale; + intPtr->Instance->Color = color; + return intPtr; + } + } + + public unsafe void UpdateColor(Vector4 color) + { + if (!(this.color == color)) + { + this.color = color; + VfxNativeBridge.UpdateVfxColor(data->Instance, color.X, color.Y, color.Z, color.W); + } + } +} diff --git a/Auspex/Auspex.Vfx.Internal/FrameLifetimeTracker.cs b/Auspex/Auspex.Vfx.Internal/FrameLifetimeTracker.cs new file mode 100644 index 0000000..4f2cc28 --- /dev/null +++ b/Auspex/Auspex.Vfx.Internal/FrameLifetimeTracker.cs @@ -0,0 +1,87 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; + +namespace Auspex.Vfx.Internal; + +internal sealed class FrameLifetimeTracker : IDisposable where T : IDisposable +{ + private Dictionary<(string, string), T> prevActive; + + private Dictionary<(string, string), T> currActive; + + internal FrameLifetimeTracker() + { + prevActive = new Dictionary<(string, string), T>(); + currActive = new Dictionary<(string, string), T>(); + } + + internal bool IsTouched((string, string) key) + { + return currActive.ContainsKey(key); + } + + internal bool TryTouchExisting((string, string) key, [MaybeNullWhen(false)] out T o) + { + if (prevActive.TryGetValue(key, out o)) + { + prevActive.Remove(key); + currActive.Add(key, o); + return true; + } + return false; + } + + internal void TouchNew((string, string) key, T t) + { + currActive.Add(key, t); + } + + internal bool Remove((string, string) key) + { + if (currActive.Remove(key, out var value)) + { + value.Dispose(); + return true; + } + if (prevActive.Remove(key, out var value2)) + { + value2.Dispose(); + return true; + } + return false; + } + + public void Update() + { + foreach (KeyValuePair<(string, string), T> item in prevActive) + { + item.Value.Dispose(); + } + prevActive.Clear(); + Dictionary<(string, string), T> dictionary = prevActive; + prevActive = currActive; + currActive = dictionary; + } + + internal void ForEachActive(Action action) + { + foreach (KeyValuePair<(string, string), T> item in prevActive) + { + action(item.Value); + } + } + + public void Dispose() + { + foreach (KeyValuePair<(string, string), T> item in prevActive) + { + item.Value.Dispose(); + } + foreach (KeyValuePair<(string, string), T> item2 in currActive) + { + item2.Value.Dispose(); + } + GC.SuppressFinalize(this); + } +} diff --git a/Auspex/Auspex.Vfx.Internal/PinnedAlignedMatrix.cs b/Auspex/Auspex.Vfx.Internal/PinnedAlignedMatrix.cs new file mode 100644 index 0000000..fa987aa --- /dev/null +++ b/Auspex/Auspex.Vfx.Internal/PinnedAlignedMatrix.cs @@ -0,0 +1,26 @@ +using System; +using System.Numerics; +using System.Runtime.InteropServices; + +namespace Auspex.Vfx.Internal; + +internal sealed class PinnedAlignedMatrix : IDisposable +{ + private IntPtr rawptr; + + private IntPtr aligned; + + public unsafe Matrix4x4* Get => (Matrix4x4*)aligned; + + public unsafe PinnedAlignedMatrix() + { + rawptr = Marshal.AllocHGlobal(sizeof(Matrix4x4) + 8); + aligned = new IntPtr(16 * (((long)(nint)rawptr + 15L) / 16)); + } + + public void Dispose() + { + Marshal.FreeHGlobal(rawptr); + GC.SuppressFinalize(this); + } +} diff --git a/Auspex/Auspex.Vfx.Internal/VfxInstance.cs b/Auspex/Auspex.Vfx.Internal/VfxInstance.cs new file mode 100644 index 0000000..16c9cb3 --- /dev/null +++ b/Auspex/Auspex.Vfx.Internal/VfxInstance.cs @@ -0,0 +1,150 @@ +using System; +using System.Numerics; +using System.Text; +using Auspex.Vfx.Native; + +namespace Auspex.Vfx.Internal; + +public sealed class VfxInstance : IDisposable +{ + internal string? path; + + internal Vector3 position; + + internal Vector3 size; + + internal float rotation; + + internal Vector4 color; + + internal unsafe VfxData* data; + + internal bool libOwned; + + public unsafe bool IsValid + { + get + { + if (data != null) + { + return data->Instance != null; + } + return false; + } + } + + public unsafe static VfxInstance Create(string path, Vector3 position, Vector3 size, float rotation, Vector4? color = null) + { + VfxData* ptr = CreateVfxInternal(path, position, size, rotation, color ?? Vector4.One); + return new VfxInstance(path, ptr, position, size, rotation, color ?? Vector4.One) + { + libOwned = true + }; + } + + public unsafe static VfxInstance Wrap(VfxData* data, Vector3 position, Vector3 size, float rotation, Vector4? color = null) + { + return new VfxInstance(null, data, position, size, rotation, color ?? Vector4.One); + } + + private unsafe VfxInstance(string? path, VfxData* data, Vector3 position, Vector3 size, float rotation, Vector4 color) + { + if (data == null) + { + throw new ArgumentNullException("data"); + } + this.path = path; + this.data = data; + this.position = position; + this.size = size; + this.rotation = rotation; + this.color = color; + } + + public unsafe void Dispose() + { + if (libOwned && IsValid) + { + VfxNativeBridge.DestroyVfx(data); + } + data = null; + GC.SuppressFinalize(this); + } + + private unsafe static VfxData* CreateVfxInternal(string path, Vector3 position, Vector3 size, float rotation, Vector4 color) + { + byte[] bytes = Encoding.UTF8.GetBytes(path + "\0"); + VfxInitData vfxInitData = default(VfxInitData); + VfxNativeBridge.VfxInitDataCtor(&vfxInitData); + fixed (byte* ptr = bytes) + { + VfxData* intPtr = VfxNativeBridge.CreateVfx(ptr, &vfxInitData, 2, 0, position.X, position.Y, position.Z, size.X, size.Y, size.Z, rotation, 1f, -1); + intPtr->Instance->Color = color; + return intPtr; + } + } + + public void UpdatePosition(Vector3 position) + { + UpdateTransform(position, size, rotation); + } + + public void UpdateScale(Vector3 scale) + { + UpdateTransform(position, scale, rotation); + } + + public void UpdateRotation(float rotation) + { + UpdateTransform(position, size, rotation); + } + + public unsafe void UpdateTransform(Vector3 position, Vector3 size, float rotation) + { + MaybeRefreshVfxResourceInstance(); + if (!IsValid || (this.position == position && this.rotation == rotation && this.size == size)) + { + return; + } + this.position = position; + this.size = size; + this.rotation = rotation; + using PinnedAlignedMatrix pinnedAlignedMatrix = new PinnedAlignedMatrix(); + Matrix4x4* get = pinnedAlignedMatrix.Get; + get->M11 = size.X; + get->M12 = 0f; + get->M13 = 0f; + get->M14 = 0f; + get->M21 = 0f; + get->M22 = size.Y; + get->M23 = 0f; + get->M24 = 0f; + get->M31 = 0f; + get->M32 = 0f; + get->M33 = size.Z; + get->M34 = 0f; + VfxNativeBridge.RotateMatrix(get, rotation); + get->M41 = position.X; + get->M42 = position.Y; + get->M43 = position.Z; + get->M44 = 1f; + VfxNativeBridge.UpdateVfxTransform(data->Instance, get); + } + + public unsafe void UpdateColor(Vector4 color) + { + if (IsValid && !(this.color == color)) + { + this.color = color; + VfxNativeBridge.UpdateVfxColor(data->Instance, color.X, color.Y, color.Z, color.W); + } + } + + private unsafe void MaybeRefreshVfxResourceInstance() + { + if (!IsValid && libOwned && path != null) + { + data = CreateVfxInternal(path, position, size, rotation, color); + } + } +} diff --git a/Auspex/Auspex.Vfx.Internal/VfxNativeBridge.cs b/Auspex/Auspex.Vfx.Internal/VfxNativeBridge.cs new file mode 100644 index 0000000..60132a6 --- /dev/null +++ b/Auspex/Auspex.Vfx.Internal/VfxNativeBridge.cs @@ -0,0 +1,68 @@ +using System; +using System.Numerics; +using Auspex.Vfx.Native; + +namespace Auspex.Vfx.Internal; + +public static class VfxNativeBridge +{ + public unsafe delegate VfxInitData* VfxInitDataCtorDelegate(VfxInitData* self); + + public unsafe delegate VfxData* CreateVfxDelegate(byte* path, VfxInitData* init, byte a3, byte a4, float originX, float originY, float originZ, float sizeX, float sizeY, float sizeZ, float angle, float duration, int a13); + + public unsafe delegate VfxData* CreateGameObjectVfxDelegate(byte* path, IntPtr target, IntPtr source, float a4, byte a5, ushort a6, byte a7); + + public unsafe delegate void DestroyVfxDataDelegate(VfxData* self); + + public unsafe delegate long UpdateVfxTransformDelegate(VfxResourceInstance* vfxInstance, Matrix4x4* transform); + + public unsafe delegate long UpdateVfxColorDelegate(VfxResourceInstance* vfxInstance, float r, float g, float b, float a); + + public unsafe delegate void RotateMatrixDelegate(Matrix4x4* matrix, float rotation); + + public const string VfxInitDataCtorSig = "E8 ?? ?? ?? ?? 8D 57 06 48 8D 4C 24 ??"; + + public static VfxInitDataCtorDelegate VfxInitDataCtor; + + public const string CreateVfxSig = "E8 ?? ?? ?? ?? 48 8B D8 48 8D 95"; + + public static CreateVfxDelegate CreateVfx; + + public const string CreateGameObjectVfxSig = "E8 ?? ?? ?? ?? 48 8B D8 48 85 C0 74 27 B2 01"; + + public static CreateGameObjectVfxDelegate CreateGameObjectVfxInternal; + + public const string DestroyVfxSig = "E8 ?? ?? ?? ?? 4D 89 A4 DE ?? ?? ?? ??"; + + public static DestroyVfxDataDelegate DestroyVfx; + + public const string UpdateVfxTransformSig = "E8 ?? ?? ?? ?? EB 19 48 8B 0B"; + + public static UpdateVfxTransformDelegate UpdateVfxTransform; + + public const string UpdateVfxColorSig = "E8 ?? ?? ?? ?? 8B 4B F3"; + + public static UpdateVfxColorDelegate UpdateVfxColor; + + public const string RotateMatrixSig = "E8 ?? ?? ?? ?? 4C 8D 76 20"; + + public static RotateMatrixDelegate RotateMatrix; + + internal static void Initialize() + { + VfxInitDataCtorDelegate vfxInitDataCtor = SigScanHelper.Scan("E8 ?? ?? ?? ?? 8D 57 06 48 8D 4C 24 ??", "VfxInitDataCtor"); + CreateVfxDelegate createVfx = SigScanHelper.Scan("E8 ?? ?? ?? ?? 48 8B D8 48 8D 95", "CreateVfx"); + CreateGameObjectVfxDelegate createGameObjectVfxInternal = SigScanHelper.Scan("E8 ?? ?? ?? ?? 48 8B D8 48 85 C0 74 27 B2 01", "CreateGameObjectVfxInternal"); + DestroyVfxDataDelegate destroyVfx = SigScanHelper.Scan("E8 ?? ?? ?? ?? 4D 89 A4 DE ?? ?? ?? ??", "DestroyVfx"); + UpdateVfxTransformDelegate updateVfxTransform = SigScanHelper.Scan("E8 ?? ?? ?? ?? EB 19 48 8B 0B", "UpdateVfxTransform"); + UpdateVfxColorDelegate updateVfxColor = SigScanHelper.Scan("E8 ?? ?? ?? ?? 8B 4B F3", "UpdateVfxColor"); + RotateMatrixDelegate rotateMatrix = SigScanHelper.Scan("E8 ?? ?? ?? ?? 4C 8D 76 20", "RotateMatrix"); + VfxInitDataCtor = vfxInitDataCtor; + CreateVfx = createVfx; + CreateGameObjectVfxInternal = createGameObjectVfxInternal; + DestroyVfx = destroyVfx; + UpdateVfxTransform = updateVfxTransform; + UpdateVfxColor = updateVfxColor; + RotateMatrix = rotateMatrix; + } +} diff --git a/Auspex/Auspex.Vfx.Native/VfxData.cs b/Auspex/Auspex.Vfx.Native/VfxData.cs new file mode 100644 index 0000000..c597caa --- /dev/null +++ b/Auspex/Auspex.Vfx.Native/VfxData.cs @@ -0,0 +1,10 @@ +using System.Runtime.InteropServices; + +namespace Auspex.Vfx.Native; + +[StructLayout(LayoutKind.Explicit, Size = 480)] +public struct VfxData +{ + [FieldOffset(440)] + public unsafe VfxResourceInstance* Instance; +} diff --git a/Auspex/Auspex.Vfx.Native/VfxInitData.cs b/Auspex/Auspex.Vfx.Native/VfxInitData.cs new file mode 100644 index 0000000..22a9a23 --- /dev/null +++ b/Auspex/Auspex.Vfx.Native/VfxInitData.cs @@ -0,0 +1,8 @@ +using System.Runtime.InteropServices; + +namespace Auspex.Vfx.Native; + +[StructLayout(LayoutKind.Explicit, Size = 416)] +public struct VfxInitData +{ +} diff --git a/Auspex/Auspex.Vfx.Native/VfxResourceInstance.cs b/Auspex/Auspex.Vfx.Native/VfxResourceInstance.cs new file mode 100644 index 0000000..713a5d2 --- /dev/null +++ b/Auspex/Auspex.Vfx.Native/VfxResourceInstance.cs @@ -0,0 +1,14 @@ +using System.Numerics; +using System.Runtime.InteropServices; + +namespace Auspex.Vfx.Native; + +[StructLayout(LayoutKind.Explicit, Size = 192)] +public struct VfxResourceInstance +{ + [FieldOffset(144)] + public Vector3 Scale; + + [FieldOffset(160)] + public Vector4 Color; +} diff --git a/Auspex/Auspex.csproj b/Auspex/Auspex.csproj new file mode 100644 index 0000000..eda5afe --- /dev/null +++ b/Auspex/Auspex.csproj @@ -0,0 +1,29 @@ + + + + Auspex + False + netcoreapp3.1 + x64 + + + 12.0 + True + + + + + + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\Dalamud.dll + + + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\Dalamud.Bindings.ImGui.dll + + + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\FFXIVClientStructs.dll + + + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\TerraFX.Interop.Windows.dll + + + \ No newline at end of file diff --git a/Auspex/Auspex/AlphaBlendMode.cs b/Auspex/Auspex/AlphaBlendMode.cs new file mode 100644 index 0000000..afa6484 --- /dev/null +++ b/Auspex/Auspex/AlphaBlendMode.cs @@ -0,0 +1,8 @@ +namespace Auspex; + +public enum AlphaBlendMode +{ + None, + Add, + Max +} diff --git a/Auspex/Auspex/AlphaBlendModes.cs b/Auspex/Auspex/AlphaBlendModes.cs new file mode 100644 index 0000000..1baf978 --- /dev/null +++ b/Auspex/Auspex/AlphaBlendModes.cs @@ -0,0 +1,12 @@ +using System; + +namespace Auspex; + +public static class AlphaBlendModes +{ + public static readonly string[] Names = new string[3] { "None", "Add", "Maximum" }; + + public static readonly string[] Tooltips = new string[3] { "Overlapping elements are not blended.\nWhatever is drawn last overwrites anything it overlaps.", "Overlapping elements are blended by adding their alpha values.\nThis makes it easier to see areas where elements overlap.", "Overlapping elements are blended using the most opaque alpha.\nThis makes it easier to see through overlapping areas." }; + + public static readonly AlphaBlendMode[] Values = (AlphaBlendMode[])Enum.GetValues(typeof(AlphaBlendMode)); +} diff --git a/Auspex/Auspex/AuspexService.cs b/Auspex/Auspex/AuspexService.cs new file mode 100644 index 0000000..fa144fc --- /dev/null +++ b/Auspex/Auspex/AuspexService.cs @@ -0,0 +1,189 @@ +using System; +using Auspex.Lighting.Internal; +using Auspex.Rendering.Direct3D; +using Auspex.Vfx.Internal; +using Dalamud.Bindings.ImGui; +using Dalamud.Game.ClientState.Conditions; +using Dalamud.Game.NativeWrapper; +using Dalamud.IoC; +using Dalamud.Plugin; +using Dalamud.Plugin.Services; + +namespace Auspex; + +public class AuspexService +{ + private static Direct3DRenderer? _dxRenderer; + + private static VfxRenderer? _vfxRenderer; + + private static LightRenderer? _lightRenderer; + + internal static AxDrawList? DrawList; + + internal static AxDrawHints Hints; + + private static bool _frameworkUpdateRegistered; + + private static bool ServicesInitialized; + + [PluginService] + public static IDalamudPluginInterface PluginInterface { get; private set; } + + [PluginService] + public static IGameGui GameGui { get; private set; } + + [PluginService] + public static ICondition Condition { get; private set; } + + [PluginService] + public static IPluginLog Log { get; private set; } + + [PluginService] + public static ISigScanner SigScanner { get; private set; } + + [PluginService] + internal static IFramework Framework { get; private set; } + + [PluginService] + internal static IClientState ClientState { get; private set; } + + public static VfxRenderer? VfxRenderer => _vfxRenderer; + + public static LightRenderer? LightRenderer => _lightRenderer; + + public static bool FanDegraded => _dxRenderer?.FanDegraded ?? false; + + public static bool StrokeDegraded => _dxRenderer?.StrokeDegraded ?? false; + + public static bool FSPDegraded => _dxRenderer?.FSPDegraded ?? false; + + public static bool TexturedQuadDegraded => _dxRenderer?.TexturedQuadDegraded ?? false; + + public static bool IsDrawingAvailable => _dxRenderer != null; + + public static void Initialize(IDalamudPluginInterface pluginInterface) + { + InitializeDxRenderer(pluginInterface); + InitializeVfxRenderer(pluginInterface); + InitializeLightRenderer(pluginInterface); + } + + public static void InitializeDxRenderer(IDalamudPluginInterface pluginInterface) + { + ArgumentNullException.ThrowIfNull((object)pluginInterface, "pluginInterface"); + InitializePluginServices(pluginInterface); + _dxRenderer = new Direct3DRenderer(); + ClientState.TerritoryChanged += OnTerritoryChanged; + } + + public static void InitializeVfxRenderer(IDalamudPluginInterface pluginInterface) + { + ArgumentNullException.ThrowIfNull((object)pluginInterface, "pluginInterface"); + InitializePluginServices(pluginInterface); + _vfxRenderer = new VfxRenderer(); + VfxNativeBridge.Initialize(); + EnsureFrameworkUpdate(); + } + + public static void InitializeLightRenderer(IDalamudPluginInterface pluginInterface) + { + ArgumentNullException.ThrowIfNull((object)pluginInterface, "pluginInterface"); + InitializePluginServices(pluginInterface); + _lightRenderer = new LightRenderer(); + LightNativeBridge.Initialize(); + EnsureFrameworkUpdate(); + } + + private static void EnsureFrameworkUpdate() + { + if (!_frameworkUpdateRegistered) + { + Framework.Update += Update; + _frameworkUpdateRegistered = true; + } + } + + private static void InitializePluginServices(IDalamudPluginInterface pluginInterface) + { + if (!ServicesInitialized) + { + pluginInterface.Create(Array.Empty()); + ServicesInitialized = true; + } + } + + public static void Dispose() + { + ClientState.TerritoryChanged -= OnTerritoryChanged; + _dxRenderer?.Dispose(); + _dxRenderer = null; + _vfxRenderer?.Dispose(); + _vfxRenderer = null; + _lightRenderer?.Dispose(); + _lightRenderer = null; + if (_frameworkUpdateRegistered) + { + Framework.Update -= Update; + _frameworkUpdateRegistered = false; + } + } + + internal static void Update(IFramework framework) + { + _vfxRenderer?.Update(); + _lightRenderer?.Update(); + } + + private static void OnTerritoryChanged(uint territoryId) + { + AxTerrainQuery.ClearCache(); + } + + public static AxDrawList GetDrawList() + { + if (DrawList == null) + { + throw new InvalidOperationException("GetDrawList called without Draw"); + } + return DrawList; + } + + public static AxDrawList? Draw(ImDrawListPtr? imguidrawlist = null, AxDrawHints? hints = null) + { + if (_dxRenderer == null) + { + return null; + } + Hints = hints ?? new AxDrawHints(); + if (!Hints.DrawInCutscene && IsInCutscene()) + { + return null; + } + if (!Hints.DrawWhenFaded && IsFaded()) + { + return null; + } + return DrawList = new AxDrawList(imguidrawlist, _dxRenderer); + } + + private static bool IsInCutscene() + { + if (!Condition[ConditionFlag.OccupiedInCutSceneEvent]) + { + return Condition[ConditionFlag.WatchingCutscene78]; + } + return true; + } + + private static bool IsFaded() + { + AtkUnitBasePtr addonByName = GameGui.GetAddonByName("FadeMiddle"); + AtkUnitBasePtr addonByName2 = GameGui.GetAddonByName("FadeBlack"); + if (!addonByName.IsVisible) + { + return addonByName2.IsVisible; + } + return true; + } +} diff --git a/Auspex/Auspex/AxAngularGradient.cs b/Auspex/Auspex/AxAngularGradient.cs new file mode 100644 index 0000000..ae414dc --- /dev/null +++ b/Auspex/Auspex/AxAngularGradient.cs @@ -0,0 +1,33 @@ +using System; +using System.Numerics; +using Auspex.Rendering.Direct3D; + +namespace Auspex; + +public readonly struct AxAngularGradient : IPctGradient +{ + private readonly Vector3 _center; + + private readonly float _minAngle; + + private readonly float _invRange; + + private readonly Vector4 _colorStart; + + private readonly Vector4 _colorEnd; + + public AxAngularGradient(Vector3 center, uint colorStart, uint colorEnd, float minAngle = 0f, float maxAngle = (float)Math.PI * 2f) + { + _center = center; + _minAngle = minAngle; + _invRange = 1f / (maxAngle - minAngle); + _colorStart = colorStart.ToVector4(); + _colorEnd = colorEnd.ToVector4(); + } + + public uint ColorAt(Vector3 point) + { + float amount = Math.Clamp((MathF.Atan2(point.Z - _center.Z, point.X - _center.X) - (float)Math.PI / 2f - _minAngle) * _invRange % 1f, 0f, 1f); + return Vector4.Lerp(_colorStart, _colorEnd, amount).ToUint(); + } +} diff --git a/Auspex/Auspex/AxAnimation.cs b/Auspex/Auspex/AxAnimation.cs new file mode 100644 index 0000000..00dc6cd --- /dev/null +++ b/Auspex/Auspex/AxAnimation.cs @@ -0,0 +1,182 @@ +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; + +namespace Auspex; + +public readonly struct AxAnimation +{ + private readonly long _startTimestamp; + + private readonly float _duration; + + private readonly AxEasing _easing; + + private readonly AxRepeatMode _repeatMode; + + private readonly float _delay; + + public float Progress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + if (_duration <= 0f) + { + return 1f; + } + float num = (float)Stopwatch.GetElapsedTime(_startTimestamp).TotalSeconds - _delay; + if (num < 0f) + { + return 0f; + } + float num2 = num / _duration; + switch (_repeatMode) + { + case AxRepeatMode.Repeat: + num2 -= MathF.Floor(num2); + break; + case AxRepeatMode.PingPong: + { + int num3 = (int)MathF.Floor(num2); + num2 -= MathF.Floor(num2); + if (num3 % 2 == 1) + { + num2 = 1f - num2; + } + break; + } + default: + num2 = Math.Clamp(num2, 0f, 1f); + break; + } + return ApplyEasing(num2, _easing); + } + } + + public bool IsComplete + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + if (_repeatMode != AxRepeatMode.None) + { + return false; + } + if (_duration <= 0f) + { + return true; + } + return (float)Stopwatch.GetElapsedTime(_startTimestamp).TotalSeconds >= _delay + _duration; + } + } + + private AxAnimation(float duration, AxEasing easing, AxRepeatMode repeatMode, float delay) + { + _startTimestamp = Stopwatch.GetTimestamp(); + _duration = duration; + _easing = easing; + _repeatMode = repeatMode; + _delay = delay; + } + + public static AxAnimation Start(float duration, AxEasing easing = AxEasing.Linear, AxRepeatMode repeatMode = AxRepeatMode.None, float delay = 0f) + { + return new AxAnimation(duration, easing, repeatMode, delay); + } + + public static AxAnimation Start(float duration, AxEasing easing, bool repeat) + { + return new AxAnimation(duration, easing, repeat ? AxRepeatMode.Repeat : AxRepeatMode.None, 0f); + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public uint FadeIn(uint color) + { + return AxColor.WithAlpha(color, Progress); + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public uint FadeOut(uint color) + { + return AxColor.WithAlpha(color, 1f - Progress); + } + + public uint Pulse(uint color, float minAlpha = 0f) + { + float num = (float)((color >> 24) & 0xFF) / 255f; + float num2 = 0.5f + 0.5f * MathF.Cos(Progress * 2f * (float)Math.PI); + uint num3 = (uint)(Math.Clamp(minAlpha + (num - minAlpha) * num2, 0f, 1f) * 255f); + return (color & 0xFFFFFF) | (num3 << 24); + } + + public uint ColorLerp(uint from, uint to) + { + return AxColor.Lerp(from, to, Progress); + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public float Lerp(float from, float to) + { + return from + (to - from) * Progress; + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public Vector2 Lerp(Vector2 from, Vector2 to) + { + return from + (to - from) * Progress; + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public Vector3 Lerp(Vector3 from, Vector3 to) + { + return from + (to - from) * Progress; + } + + internal static float ApplyEasing(float t, AxEasing easing) + { + return easing switch + { + AxEasing.EaseIn => t * t, + AxEasing.EaseOut => 1f - (1f - t) * (1f - t), + AxEasing.EaseInOut => t * t * (3f - 2f * t), + AxEasing.CubicIn => t * t * t, + AxEasing.CubicOut => 1f - (1f - t) * (1f - t) * (1f - t), + AxEasing.CubicInOut => (t < 0.5f) ? (4f * t * t * t) : (1f - MathF.Pow(-2f * t + 2f, 3f) / 2f), + AxEasing.SineIn => 1f - MathF.Cos(t * (float)Math.PI / 2f), + AxEasing.SineOut => MathF.Sin(t * (float)Math.PI / 2f), + AxEasing.SineInOut => (0f - (MathF.Cos((float)Math.PI * t) - 1f)) / 2f, + AxEasing.ExponentialIn => (t == 0f) ? 0f : MathF.Pow(2f, 10f * t - 10f), + AxEasing.ExponentialOut => (t == 1f) ? 1f : (1f - MathF.Pow(2f, -10f * t)), + AxEasing.ExponentialInOut => (t == 0f) ? 0f : ((t == 1f) ? 1f : ((t < 0.5f) ? (MathF.Pow(2f, 20f * t - 10f) / 2f) : ((2f - MathF.Pow(2f, -20f * t + 10f)) / 2f))), + AxEasing.BackIn => 2.70158f * t * t * t - 1.70158f * t * t, + AxEasing.BackOut => 1f + 2.70158f * (t - 1f) * (t - 1f) * (t - 1f) + 1.70158f * (t - 1f) * (t - 1f), + AxEasing.BackInOut => (t < 0.5f) ? (2f * t * (2f * t) * (7.189819f * t - 2.5949094f) / 2f) : (((2f * t - 2f) * (2f * t - 2f) * (3.5949094f * (2f * t - 2f) + 2.5949094f) + 2f) / 2f), + AxEasing.ElasticIn => (t == 0f) ? 0f : ((t == 1f) ? 1f : ((0f - MathF.Pow(2f, 10f * t - 10f)) * MathF.Sin((10f * t - 10.75f) * ((float)Math.PI * 2f / 3f)))), + AxEasing.ElasticOut => (t == 0f) ? 0f : ((t == 1f) ? 1f : (MathF.Pow(2f, -10f * t) * MathF.Sin((10f * t - 0.75f) * ((float)Math.PI * 2f / 3f)) + 1f)), + AxEasing.ElasticInOut => (t == 0f) ? 0f : ((t == 1f) ? 1f : ((t < 0.5f) ? ((0f - MathF.Pow(2f, 20f * t - 10f) * MathF.Sin((20f * t - 11.125f) * ((float)Math.PI * 4f / 9f))) / 2f) : (MathF.Pow(2f, -20f * t + 10f) * MathF.Sin((20f * t - 11.125f) * ((float)Math.PI * 4f / 9f)) / 2f + 1f))), + AxEasing.BounceIn => 1f - BounceOut(1f - t), + AxEasing.BounceOut => BounceOut(t), + AxEasing.BounceInOut => (t < 0.5f) ? ((1f - BounceOut(1f - 2f * t)) / 2f) : ((1f + BounceOut(2f * t - 1f)) / 2f), + _ => t, + }; + } + + private static float BounceOut(float t) + { + if (t < 0.36363637f) + { + return 7.5625f * t * t; + } + if (t < 0.72727275f) + { + return 7.5625f * (t -= 0.54545456f) * t + 0.75f; + } + if (t < 0.90909094f) + { + return 7.5625f * (t -= 0.8181818f) * t + 0.9375f; + } + return 7.5625f * (t -= 21f / 22f) * t + 63f / 64f; + } +} diff --git a/Auspex/Auspex/AxAnimationPhase.cs b/Auspex/Auspex/AxAnimationPhase.cs new file mode 100644 index 0000000..76bbf9b --- /dev/null +++ b/Auspex/Auspex/AxAnimationPhase.cs @@ -0,0 +1,3 @@ +namespace Auspex; + +public readonly record struct AxAnimationPhase(float Duration, AxEasing Easing = AxEasing.Linear); diff --git a/Auspex/Auspex/AxAnimationSequence.cs b/Auspex/Auspex/AxAnimationSequence.cs new file mode 100644 index 0000000..411aa23 --- /dev/null +++ b/Auspex/Auspex/AxAnimationSequence.cs @@ -0,0 +1,116 @@ +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; + +namespace Auspex; + +public readonly struct AxAnimationSequence +{ + private readonly long _startTimestamp; + + private readonly AxAnimationPhase[] _phases; + + private readonly float _totalDuration; + + public int Phase + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return GetCurrent().phase; + } + } + + public float PhaseProgress + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return GetCurrent().progress; + } + } + + public bool IsComplete + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + if (_phases == null || _phases.Length == 0) + { + return true; + } + return (float)Stopwatch.GetElapsedTime(_startTimestamp).TotalSeconds >= _totalDuration; + } + } + + private AxAnimationSequence(AxAnimationPhase[] phases) + { + _startTimestamp = Stopwatch.GetTimestamp(); + _phases = phases; + _totalDuration = 0f; + foreach (AxAnimationPhase axAnimationPhase in phases) + { + _totalDuration += axAnimationPhase.Duration; + } + } + + public static AxAnimationSequence Start(params AxAnimationPhase[] phases) + { + return new AxAnimationSequence(phases); + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public uint FadeIn(uint color) + { + return AxColor.WithAlpha(color, PhaseProgress); + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public uint FadeOut(uint color) + { + return AxColor.WithAlpha(color, 1f - PhaseProgress); + } + + public uint ColorLerp(uint from, uint to) + { + return AxColor.Lerp(from, to, PhaseProgress); + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public float Lerp(float from, float to) + { + return from + (to - from) * PhaseProgress; + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public Vector2 Lerp(Vector2 from, Vector2 to) + { + return from + (to - from) * PhaseProgress; + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public Vector3 Lerp(Vector3 from, Vector3 to) + { + return from + (to - from) * PhaseProgress; + } + + private (int phase, float progress) GetCurrent() + { + if (_phases == null || _phases.Length == 0) + { + return (phase: 0, progress: 1f); + } + float num = (float)Stopwatch.GetElapsedTime(_startTimestamp).TotalSeconds; + float num2 = 0f; + for (int i = 0; i < _phases.Length; i++) + { + if (num < num2 + _phases[i].Duration) + { + float t = ((_phases[i].Duration > 0f) ? ((num - num2) / _phases[i].Duration) : 1f); + return (phase: i, progress: AxAnimation.ApplyEasing(t, _phases[i].Easing)); + } + num2 += _phases[i].Duration; + } + return (phase: _phases.Length - 1, progress: 1f); + } +} diff --git a/Auspex/Auspex/AxColor.cs b/Auspex/Auspex/AxColor.cs new file mode 100644 index 0000000..d66a8e3 --- /dev/null +++ b/Auspex/Auspex/AxColor.cs @@ -0,0 +1,156 @@ +using System; +using System.Numerics; +using System.Runtime.CompilerServices; +using Auspex.Rendering.Direct3D; +using Dalamud.Bindings.ImGui; + +namespace Auspex; + +public static class AxColor +{ + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint WithAlpha(uint color, byte alpha) + { + return (color & 0xFFFFFF) | (uint)(alpha << 24); + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint WithAlpha(uint color, float alphaFactor) + { + uint num = (color >> 24) & 0xFF; + num = (uint)((float)num * Math.Clamp(alphaFactor, 0f, 1f)); + return (color & 0xFFFFFF) | (num << 24); + } + + public static uint FromHSV(float h, float s, float v, float a = 1f) + { + float outR = 0f; + float outG = 0f; + float outB = 0f; + ImGui.ColorConvertHSVtoRGB(h, s, v, ref outR, ref outG, ref outB); + return new Vector4(outR, outG, outB, a).ToUint(); + } + + public static (float H, float S, float V, float A) ToHSV(uint color) + { + Vector4 vector = color.ToVector4(); + float outH = 0f; + float outS = 0f; + float outV = 0f; + ImGui.ColorConvertRGBtoHSV(vector.X, vector.Y, vector.Z, ref outH, ref outS, ref outV); + return (H: outH, S: outS, V: outV, A: vector.W); + } + + public static uint FromHSL(float h, float s, float l, float a = 1f) + { + HSLToRGB(h, s, l, out var r, out var g, out var b); + return new Vector4(r, g, b, a).ToUint(); + } + + public static (float H, float S, float L, float A) ToHSL(uint color) + { + Vector4 vector = color.ToVector4(); + RGBToHSL(vector.X, vector.Y, vector.Z, out var h, out var s, out var l); + return (H: h, S: s, L: l, A: vector.W); + } + + public static uint Brighten(uint color, float amount) + { + Vector4 vector = color.ToVector4(); + RGBToHSL(vector.X, vector.Y, vector.Z, out var h, out var s, out var l); + l = Math.Clamp(l + amount, 0f, 1f); + HSLToRGB(h, s, l, out var r, out var g, out var b); + return new Vector4(r, g, b, vector.W).ToUint(); + } + + public static uint Darken(uint color, float amount) + { + return Brighten(color, 0f - amount); + } + + public static uint Saturate(uint color, float amount) + { + return Desaturate(color, 0f - amount); + } + + public static uint Desaturate(uint color, float amount) + { + Vector4 vector = color.ToVector4(); + RGBToHSL(vector.X, vector.Y, vector.Z, out var h, out var s, out var l); + s = Math.Clamp(s - amount, 0f, 1f); + HSLToRGB(h, s, l, out var r, out var g, out var b); + return new Vector4(r, g, b, vector.W).ToUint(); + } + + public static uint Lerp(uint from, uint to, float t) + { + Vector4 value = from.ToVector4(); + Vector4 value2 = to.ToVector4(); + return Vector4.Lerp(value, value2, t).ToUint(); + } + + private static void RGBToHSL(float r, float g, float b, out float h, out float s, out float l) + { + float num = MathF.Max(r, MathF.Max(g, b)); + float num2 = MathF.Min(r, MathF.Min(g, b)); + l = (num + num2) * 0.5f; + if (num == num2) + { + h = (s = 0f); + return; + } + float num3 = num - num2; + s = ((l > 0.5f) ? (num3 / (2f - num - num2)) : (num3 / (num + num2))); + if (num == r) + { + h = ((g - b) / num3 + ((g < b) ? 6f : 0f)) / 6f; + } + else if (num == g) + { + h = ((b - r) / num3 + 2f) / 6f; + } + else + { + h = ((r - g) / num3 + 4f) / 6f; + } + } + + private static void HSLToRGB(float h, float s, float l, out float r, out float g, out float b) + { + if (s == 0f) + { + r = (g = (b = l)); + return; + } + float num = ((l < 0.5f) ? (l * (1f + s)) : (l + s - l * s)); + float p = 2f * l - num; + r = HueToRGB(p, num, h + 1f / 3f); + g = HueToRGB(p, num, h); + b = HueToRGB(p, num, h - 1f / 3f); + } + + private static float HueToRGB(float p, float q, float t) + { + if (t < 0f) + { + t += 1f; + } + if (t > 1f) + { + t -= 1f; + } + if (t < 1f / 6f) + { + return p + (q - p) * 6f * t; + } + if (t < 0.5f) + { + return q; + } + if (t < 2f / 3f) + { + return p + (q - p) * (2f / 3f - t) * 6f; + } + return p; + } +} diff --git a/Auspex/Auspex/AxDrawHints.cs b/Auspex/Auspex/AxDrawHints.cs new file mode 100644 index 0000000..5183b12 --- /dev/null +++ b/Auspex/Auspex/AxDrawHints.cs @@ -0,0 +1,22 @@ +namespace Auspex; + +public record struct AxDrawHints(bool DrawInCutscene = false, bool DrawWhenFaded = false, bool AutoDraw = true, byte MaxAlpha = byte.MaxValue, AlphaBlendMode AlphaBlendMode = AlphaBlendMode.Add, bool ClipNativeUI = true, AxDxParams DefaultDxParams = default(AxDxParams)) +{ + public float MaxAlphaFraction => (float)(int)MaxAlpha / 255f; + + public AxDrawHints(bool DrawInCutscene = false, bool DrawWhenFaded = false, bool AutoDraw = true, byte MaxAlpha = byte.MaxValue, AlphaBlendMode AlphaBlendMode = AlphaBlendMode.Add, bool ClipNativeUI = true, AxDxParams DefaultDxParams = default(AxDxParams)) + { + this.DrawInCutscene = DrawInCutscene; + this.DrawWhenFaded = DrawWhenFaded; + this.AutoDraw = AutoDraw; + this.MaxAlpha = MaxAlpha; + this.AlphaBlendMode = AlphaBlendMode; + this.ClipNativeUI = ClipNativeUI; + this.DefaultDxParams = DefaultDxParams; + } + + public AxDrawHints() + : this(DrawInCutscene: false, DrawWhenFaded: false, AutoDraw: true, byte.MaxValue, AlphaBlendMode.Add, ClipNativeUI: true, default(AxDxParams)) + { + } +} diff --git a/Auspex/Auspex/AxDrawList.cs b/Auspex/Auspex/AxDrawList.cs new file mode 100644 index 0000000..2bd41ed --- /dev/null +++ b/Auspex/Auspex/AxDrawList.cs @@ -0,0 +1,1611 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; +using Auspex.Rendering.Direct3D; +using Auspex.Rendering.ImGuiFallback; +using Dalamud.Bindings.ImGui; +using Dalamud.Interface.Textures.TextureWraps; +using Dalamud.Interface.Utility; + +namespace Auspex; + +public sealed class AxDrawList : IDisposable +{ + private static string? _cachedWindowName; + + internal readonly ImDrawListPtr _drawList; + + internal readonly ImDrawListPtr _textDrawList; + + internal readonly List _path; + + internal readonly Direct3DRenderer _renderer; + + internal readonly ImGuiFallbackRenderer _fallbackRenderer; + + internal readonly bool isMyWindow; + + private readonly bool _separateTextDrawList; + + private AxTexture? _texture; + + private readonly Stack _clipStack = new Stack(); + + internal AxDxParams DefaultDxParams { get; init; } + + internal bool Finalized => _texture.HasValue; + + public Vector3 CameraRight => _renderer.CameraRight; + + public Vector3 CameraUp => _renderer.CameraUp; + + public Matrix4x4 ViewProj => _renderer.ViewProj; + + public bool FanDegraded => _renderer.FanDegraded; + + public bool StrokeDegraded => _renderer.StrokeDegraded; + + public bool FullScreenPassDegraded => _renderer.FSPDegraded; + + public bool TexturedQuadDegraded => _renderer.TexturedQuadDegraded; + + public Vector2? WorldToScreen(Vector3 worldPos) + { + Matrix4x4 viewProj = _renderer.ViewProj; + float num = worldPos.X * viewProj.M14 + worldPos.Y * viewProj.M24 + worldPos.Z * viewProj.M34 + viewProj.M44; + if (num <= 0f) + { + return null; + } + float num2 = 1f / num; + float num3 = (worldPos.X * viewProj.M11 + worldPos.Y * viewProj.M21 + worldPos.Z * viewProj.M31 + viewProj.M41) * num2; + float num4 = (worldPos.X * viewProj.M12 + worldPos.Y * viewProj.M22 + worldPos.Z * viewProj.M32 + viewProj.M42) * num2; + ImGuiViewportPtr mainViewport = ImGuiHelpers.MainViewport; + return new Vector2(0.5f * mainViewport.Size.X * (1f + num3) + mainViewport.Pos.X, 0.5f * mainViewport.Size.Y * (1f - num4) + mainViewport.Pos.Y); + } + + public (Vector3 Origin, Vector3 Direction)? ScreenToWorldRay(Vector2 screenPos) + { + if (!Matrix4x4.Invert(_renderer.ViewProj, out var result)) + { + return null; + } + ImGuiViewportPtr mainViewport = ImGuiHelpers.MainViewport; + float nx = 2f * (screenPos.X - mainViewport.Pos.X) / mainViewport.Size.X - 1f; + float ny = 1f - 2f * (screenPos.Y - mainViewport.Pos.Y) / mainViewport.Size.Y; + Vector3 vector = Unproject(in result, nx, ny, 0f); + Vector3 item = Vector3.Normalize(Unproject(in result, nx, ny, 1f) - vector); + return (vector, item); + } + + private static Vector3 Unproject(in Matrix4x4 invViewProj, float nx, float ny, float nz) + { + float num = nx * invViewProj.M11 + ny * invViewProj.M21 + nz * invViewProj.M31 + invViewProj.M41; + float num2 = nx * invViewProj.M12 + ny * invViewProj.M22 + nz * invViewProj.M32 + invViewProj.M42; + float num3 = nx * invViewProj.M13 + ny * invViewProj.M23 + nz * invViewProj.M33 + invViewProj.M43; + float num4 = nx * invViewProj.M14 + ny * invViewProj.M24 + nz * invViewProj.M34 + invViewProj.M44; + float num5 = 1f / num4; + return new Vector3(num * num5, num2 * num5, num3 * num5); + } + + internal AxDrawList(ImDrawListPtr? drawlist, Direct3DRenderer renderer) + { + if (drawlist.HasValue) + { + _drawList = (_textDrawList = drawlist.Value); + } + else + { + _drawList = ImGui.GetBackgroundDrawList(); + ImGuiHelpers.ForceNextWindowMainViewport(); + ImGui.PushStyleVar(ImGuiStyleVar.WindowPadding, Vector2.Zero); + ImGuiHelpers.SetNextWindowPosRelativeMainViewport(Vector2.Zero); + ImGui.SetNextWindowSize(ImGuiHelpers.MainViewport.Size); + if (_cachedWindowName == null) + { + _cachedWindowName = "AxWindow#" + AuspexService.PluginInterface.InternalName; + } + if (ImGui.Begin(_cachedWindowName, ImGuiWindowFlags.NoInputs | ImGuiWindowFlags.NoTitleBar | ImGuiWindowFlags.NoScrollbar | ImGuiWindowFlags.NoBackground | ImGuiWindowFlags.NoSavedSettings | ImGuiWindowFlags.NoFocusOnAppearing | ImGuiWindowFlags.AlwaysUseWindowPadding)) + { + CImGui.igBringWindowToDisplayBack(CImGui.igGetCurrentWindow()); + _textDrawList = ImGui.GetWindowDrawList(); + isMyWindow = true; + } + else + { + _textDrawList = ImGui.GetBackgroundDrawList(); + } + ImGui.PopStyleVar(); + } + _path = renderer.SharedPath; + _path.Clear(); + _renderer = renderer; + DefaultDxParams = AuspexService.Hints.DefaultDxParams; + _texture = null; + _separateTextDrawList = isMyWindow; + _renderer.BeginFrame(); + _fallbackRenderer = new ImGuiFallbackRenderer(_drawList); + } + + public AxTexture DrawToTexture() + { + if (!_texture.HasValue) + { + FrameRenderTarget frameRenderTarget = _renderer.EndFrame(); + _texture = frameRenderTarget.Texture; + } + return _texture.Value; + } + + public void Dispose() + { + if (AuspexService.DrawList == this) + { + AuspexService.DrawList = null; + } + if (AuspexService.Hints.AutoDraw) + { + AxTexture axTexture = DrawToTexture(); + _drawList.AddImage(axTexture.TextureId, ImGuiHelpers.MainViewport.Pos, ImGuiHelpers.MainViewport.Pos + axTexture.Size); + } + else + { + DrawToTexture(); + } + if (isMyWindow) + { + ImGui.End(); + } + GC.SuppressFinalize(this); + } + + public void PushClipRect(Vector2 min, Vector2 max) + { + _clipStack.Push(new Vector4(min.X, min.Y, max.X, max.Y)); + _renderer.SetScissorRect(min, max); + _drawList.PushClipRect(min, max, intersectWithCurrentClipRect: false); + if (_separateTextDrawList) + { + _textDrawList.PushClipRect(min, max, intersectWithCurrentClipRect: false); + } + } + + public void PopClipRect() + { + if (_clipStack.Count != 0) + { + _clipStack.Pop(); + _drawList.PopClipRect(); + if (_separateTextDrawList) + { + _textDrawList.PopClipRect(); + } + if (_clipStack.Count > 0) + { + Vector4 vector = _clipStack.Peek(); + _renderer.SetScissorRect(new Vector2(vector.X, vector.Y), new Vector2(vector.Z, vector.W)); + } + else + { + _renderer.ClearScissorRect(); + } + } + } + + public void AddText(Vector3 position, uint color, string text, float scale = 1f, uint? outlineColor = null, float outlineThickness = 1f, uint? shadowColor = null, Vector2? shadowOffset = null) + { + ArgumentNullException.ThrowIfNull((object)text, "text"); + if (AuspexService.GameGui.WorldToScreen(position, out var screenPos)) + { + ImGui.SetWindowFontScale(scale); + Vector2 vector = screenPos - ImGui.CalcTextSize(text) / 2f; + DrawTextEffects(_textDrawList, vector, text, outlineColor, outlineThickness, shadowColor, shadowOffset); + _textDrawList.AddText(vector, color, text); + ImGui.SetWindowFontScale(1f); + } + } + + public void AddWorldText(Vector3 position, uint color, string text, float scale = 1f, uint? outlineColor = null, float outlineThickness = 1f, uint? shadowColor = null, Vector2? shadowOffset = null) + { + ArgumentNullException.ThrowIfNull((object)text, "text"); + if (text.Length == 0) + { + return; + } + if (_renderer.TexturedQuadDegraded) + { + AddWorldTextImGui(position, color, text, scale, outlineColor, outlineThickness, shadowColor, shadowOffset); + } + else + { + if (!WorldToScreen(position).HasValue) + { + return; + } + HighResFontAtlas worldFont = _renderer.WorldFont; + ImFontPtr font = worldFont?.Font ?? ImGui.GetFont(); + IntPtr textureSRV = worldFont?.TextureSRV ?? ((IntPtr)0); + float fontSize = font.FontSize; + float num = scale / fontSize; + float num2 = 0f; + foreach (Rune item in text.EnumerateRunes()) + { + ushort c = ((item.Value <= 65535) ? ((ushort)item.Value) : font.FallbackChar); + num2 += font.GetCharAdvance(c) * num; + } + Vector3 cameraRight = _renderer.CameraRight; + Vector3 cameraUp = _renderer.CameraUp; + if (shadowColor.HasValue) + { + Vector2 vector = shadowOffset ?? new Vector2(1f, 1f); + Vector3 vector2 = cameraRight * (vector.X * num) - cameraUp * (vector.Y * num); + RenderWorldGlyphs(position + vector2, cameraRight, cameraUp, font, textureSRV, text, fontSize, num, num2, shadowColor.Value); + } + if (outlineColor.HasValue) + { + float num3 = outlineThickness * num; + RenderWorldGlyphs(position + cameraRight * num3, cameraRight, cameraUp, font, textureSRV, text, fontSize, num, num2, outlineColor.Value); + RenderWorldGlyphs(position - cameraRight * num3, cameraRight, cameraUp, font, textureSRV, text, fontSize, num, num2, outlineColor.Value); + RenderWorldGlyphs(position + cameraUp * num3, cameraRight, cameraUp, font, textureSRV, text, fontSize, num, num2, outlineColor.Value); + RenderWorldGlyphs(position - cameraUp * num3, cameraRight, cameraUp, font, textureSRV, text, fontSize, num, num2, outlineColor.Value); + } + RenderWorldGlyphs(position, cameraRight, cameraUp, font, textureSRV, text, fontSize, num, num2, color); + } + } + + private unsafe void RenderWorldGlyphs(Vector3 origin, Vector3 right, Vector3 up, ImFontPtr font, IntPtr textureSRV, string text, float fontSize, float pixelToWorld, float totalWidthWorld, uint color) + { + float num = fontSize * 0.5f; + float num2 = (0f - totalWidthWorld) * 0.5f; + foreach (Rune item in text.EnumerateRunes()) + { + ushort c = ((item.Value <= 65535) ? ((ushort)item.Value) : font.FallbackChar); + ImFontGlyph imFontGlyph = *font.FindGlyph(c); + if (imFontGlyph.Visible != 0) + { + float num3 = num2 + imFontGlyph.X0 * pixelToWorld; + float num4 = num2 + imFontGlyph.X1 * pixelToWorld; + float num5 = (0f - (imFontGlyph.Y0 - num)) * pixelToWorld; + float num6 = (0f - (imFontGlyph.Y1 - num)) * pixelToWorld; + Vector3 a = origin + right * num3 + up * num5; + Vector3 b = origin + right * num4 + up * num5; + Vector3 c2 = origin + right * num4 + up * num6; + Vector3 d = origin + right * num3 + up * num6; + IntPtr intPtr = textureSRV; + if (intPtr == (IntPtr)0) + { + ImFontAtlasPtr containerAtlas = font.ContainerAtlas; + ImTextureID texID = containerAtlas.Textures[(int)imFontGlyph.TextureIndex].TexID; + intPtr = Unsafe.As(ref texID); + } + _renderer.DrawTexturedQuad(intPtr, a, b, c2, d, color, new Vector2(imFontGlyph.U0, imFontGlyph.V0), new Vector2(imFontGlyph.U1, imFontGlyph.V1)); + } + num2 += imFontGlyph.AdvanceX * pixelToWorld; + } + } + + private void AddWorldTextImGui(Vector3 position, uint color, string text, float scale, uint? outlineColor, float outlineThickness, uint? shadowColor, Vector2? shadowOffset) + { + if (!AuspexService.GameGui.WorldToScreen(position, out var screenPos)) + { + return; + } + Vector3 worldPos = position + _renderer.CameraUp * scale; + if (AuspexService.GameGui.WorldToScreen(worldPos, out var screenPos2)) + { + float num = Vector2.Distance(screenPos, screenPos2) / ImGui.GetFontSize(); + if (!(num < 0.01f)) + { + ImGui.SetWindowFontScale(num); + Vector2 vector = screenPos - ImGui.CalcTextSize(text) / 2f; + DrawTextEffects(_textDrawList, vector, text, outlineColor, outlineThickness, shadowColor, shadowOffset); + _textDrawList.AddText(vector, color, text); + ImGui.SetWindowFontScale(1f); + } + } + } + + private static void DrawTextEffects(ImDrawListPtr drawList, Vector2 textPosition, string text, uint? outlineColor, float outlineThickness, uint? shadowColor, Vector2? shadowOffset) + { + if (shadowColor.HasValue) + { + Vector2 vector = shadowOffset ?? new Vector2(1f, 1f); + drawList.AddText(textPosition + vector, shadowColor.Value, text); + } + if (outlineColor.HasValue) + { + uint value = outlineColor.Value; + drawList.AddText(textPosition + new Vector2(outlineThickness, 0f), value, text); + drawList.AddText(textPosition + new Vector2(0f - outlineThickness, 0f), value, text); + drawList.AddText(textPosition + new Vector2(0f, outlineThickness), value, text); + drawList.AddText(textPosition + new Vector2(0f, 0f - outlineThickness), value, text); + } + } + + public void AddDot(Vector3 position, float radiusPixels, uint color, uint numSegments = 0u) + { + if (AuspexService.GameGui.WorldToScreen(position, out var screenPos)) + { + _drawList.AddCircleFilled(screenPos, radiusPixels, color, (int)numSegments); + } + } + + public void AddTexture(Vector3 position, IDalamudTextureWrap texture, float scale = 1f, uint color = uint.MaxValue) + { + ArgumentNullException.ThrowIfNull((object)texture, "texture"); + if (AuspexService.GameGui.WorldToScreen(position, out var screenPos)) + { + Vector2 vector = new Vector2(texture.Width, texture.Height) * scale; + Vector2 vector2 = screenPos - vector / 2f; + Vector2 pMax = vector2 + vector; + _textDrawList.AddImage(texture.Handle, vector2, pMax, Vector2.Zero, Vector2.One, color); + } + } + + public void AddBillboard(Vector3 position, IDalamudTextureWrap texture, float width, float height, uint color = uint.MaxValue, float rotation = 0f, Vector2 uvMin = default(Vector2), Vector2 uvMax = default(Vector2)) + { + ArgumentNullException.ThrowIfNull((object)texture, "texture"); + if (uvMax == default(Vector2)) + { + uvMax = Vector2.One; + } + if (_renderer.TexturedQuadDegraded) + { + AddTexture(position, texture, 1f, color); + return; + } + Vector3 vector = _renderer.CameraRight; + Vector3 vector2 = _renderer.CameraUp; + if (rotation != 0f) + { + float num = MathF.Cos(rotation); + float num2 = MathF.Sin(rotation); + Vector3 vector3 = vector * num + vector2 * num2; + Vector3 vector4 = vector2 * num - vector * num2; + vector = vector3; + vector2 = vector4; + } + float num3 = width * 0.5f; + float num4 = height * 0.5f; + Vector3 a = position - vector * num3 + vector2 * num4; + Vector3 b = position + vector * num3 + vector2 * num4; + Vector3 c = position + vector * num3 - vector2 * num4; + Vector3 d = position - vector * num3 - vector2 * num4; + ImTextureID handle = texture.Handle; + _renderer.DrawTexturedQuad(Unsafe.As(ref handle), a, b, c, d, color, uvMin, uvMax); + } + + public void AddBillboard(Vector3 position, IDalamudTextureWrap texture, float scale = 1f, uint color = uint.MaxValue, float rotation = 0f, Vector2 uvMin = default(Vector2), Vector2 uvMax = default(Vector2)) + { + ArgumentNullException.ThrowIfNull((object)texture, "texture"); + float num = (float)texture.Width / (float)texture.Height; + AddBillboard(position, texture, scale * num, scale, color, rotation, uvMin, uvMax); + } + + public void AddTexturedQuad(Vector3 a, Vector3 b, Vector3 c, Vector3 d, IDalamudTextureWrap texture, uint color = uint.MaxValue, Vector2 uvMin = default(Vector2), Vector2 uvMax = default(Vector2)) + { + ArgumentNullException.ThrowIfNull((object)texture, "texture"); + if (uvMax == default(Vector2)) + { + uvMax = Vector2.One; + } + if (!_renderer.TexturedQuadDegraded) + { + ImTextureID handle = texture.Handle; + _renderer.DrawTexturedQuad(Unsafe.As(ref handle), a, b, c, d, color, uvMin, uvMax); + } + } + + public void AddTexturedQuad(Vector3 center, Vector3 right, Vector3 up, float width, float height, IDalamudTextureWrap texture, uint color = uint.MaxValue, Vector2 uvMin = default(Vector2), Vector2 uvMax = default(Vector2)) + { + float num = width * 0.5f; + float num2 = height * 0.5f; + Vector3 a = center - right * num + up * num2; + Vector3 b = center + right * num + up * num2; + Vector3 c = center + right * num - up * num2; + Vector3 d = center - right * num - up * num2; + AddTexturedQuad(a, b, c, d, texture, color, uvMin, uvMax); + } + + public void PathLineTo(Vector3 point) + { + _path.Add(point); + } + + public void PathArcTo(Vector3 point, float radius, float startAngle, float stopAngle, uint numSegments = 0u) + { + float num = stopAngle - startAngle; + if (num != 0f) + { + if (numSegments == 0) + { + numSegments = (uint)(MathF.Abs(num) * 16f); + } + float num2 = num / (float)numSegments; + for (int i = 0; i <= numSegments; i++) + { + float num3 = (float)Math.PI / 2f + startAngle + (float)i * num2; + Vector3 vector = new Vector3(MathF.Cos(num3), 0f, MathF.Sin(num3)); + _path.Add(point + radius * vector); + } + } + } + + public void PathBezierCubicTo(Vector3 p2, Vector3 p3, Vector3 p4, uint numSegments = 0u) + { + if (_path.Count != 0) + { + List path = _path; + Vector3 vector = path[path.Count - 1]; + if (numSegments == 0) + { + float num = Vector3.Distance(vector, p2) + Vector3.Distance(p2, p3) + Vector3.Distance(p3, p4); + numSegments = (uint)MathF.Max(4f, MathF.Ceiling(num * 8f)); + } + for (int i = 1; i <= numSegments; i++) + { + float num2 = (float)i / (float)numSegments; + float num3 = 1f - num2; + _path.Add(num3 * num3 * num3 * vector + 3f * num3 * num3 * num2 * p2 + 3f * num3 * num2 * num2 * p3 + num2 * num2 * num2 * p4); + } + } + } + + public void PathBezierQuadraticTo(Vector3 p2, Vector3 p3, uint numSegments = 0u) + { + if (_path.Count != 0) + { + List path = _path; + Vector3 vector = path[path.Count - 1]; + if (numSegments == 0) + { + float num = Vector3.Distance(vector, p2) + Vector3.Distance(p2, p3); + numSegments = (uint)MathF.Max(4f, MathF.Ceiling(num * 8f)); + } + for (int i = 1; i <= numSegments; i++) + { + float num2 = (float)i / (float)numSegments; + float num3 = 1f - num2; + _path.Add(num3 * num3 * vector + 2f * num3 * num2 * p2 + num2 * num2 * p3); + } + } + } + + public void PathCatmullRomTo(ReadOnlySpan points, uint numSegmentsPerSpan = 0u, float tension = 0f, bool closed = false) + { + if (points.Length < 2) + { + return; + } + float num = 1f - tension; + bool flag = _path.Count > 0; + int length = points.Length; + for (int i = 0; i < (closed ? length : (length - 1)); i++) + { + Vector3 vector = points[i]; + Vector3 vector2 = points[(i + 1) % length]; + Vector3 vector4; + if (i == 0 && !closed) + { + Vector3 vector3; + if (!flag) + { + vector3 = vector + (vector - vector2); + } + else + { + List path = _path; + vector3 = path[path.Count - 1]; + } + vector4 = vector3; + } + else + { + vector4 = points[(i - 1 + length) % length]; + } + Vector3 vector5 = ((i != length - 2 || closed) ? points[(i + 2) % length] : (vector2 + (vector2 - vector))); + uint num2 = numSegmentsPerSpan; + if (num2 == 0) + { + num2 = (uint)MathF.Max(4f, MathF.Ceiling(Vector3.Distance(vector, vector2) * 8f)); + } + for (int j = ((i != 0 || flag) ? 1 : 0); j <= num2; j++) + { + float num3 = (float)j / (float)num2; + float num4 = num3 * num3; + float num5 = num4 * num3; + float num6 = (0f - num) * num5 + 2f * num * num4 - num * num3; + float num7 = (2f - num) * num5 + (num - 3f) * num4 + 1f; + float num8 = (num - 2f) * num5 + (3f - 2f * num) * num4 + num * num3; + float num9 = num * num5 - num * num4; + _path.Add(num6 * vector4 + num7 * vector + num8 * vector2 + num9 * vector5); + } + } + } + + public void PathStroke(uint color, AxStrokeFlags flags = AxStrokeFlags.None, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, AxLineCap cap = AxLineCap.Butt, AxLineJoin join = AxLineJoin.None, AxDxParams? dxParams = null) + { + AxDxParams p = dxParams ?? DefaultDxParams; + if (_renderer.StrokeDegraded) + { + _fallbackRenderer.DrawStroke(_path, thickness, color, (flags & AxStrokeFlags.Closed) > AxStrokeFlags.None, dashLength, gapLength, dashOffset, colorEnd, cap, join); + } + else + { + _renderer.DrawStroke(_path, thickness, color, (flags & AxStrokeFlags.Closed) > AxStrokeFlags.None, dashLength, gapLength, dashOffset, colorEnd, cap, join, p); + } + _path.Clear(); + } + + public void PathStroke(uint color, float thicknessStart, float thicknessEnd, AxStrokeFlags flags = AxStrokeFlags.None, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, AxLineCap cap = AxLineCap.Butt, AxLineJoin join = AxLineJoin.None, AxDxParams? dxParams = null) + { + if (_path.Count < 2) + { + _path.Clear(); + return; + } + Span span = ((_path.Count > 1024) ? ((Span)new float[_path.Count]) : stackalloc float[_path.Count]); + Span span2 = span; + for (int i = 0; i < _path.Count; i++) + { + span2[i] = thicknessStart + (thicknessEnd - thicknessStart) * ((float)i / (float)(_path.Count - 1)); + } + PathStroke(color, span2, flags, dashLength, gapLength, dashOffset, colorEnd, cap, join, dxParams); + } + + public void PathStroke(uint color, ReadOnlySpan thicknesses, AxStrokeFlags flags = AxStrokeFlags.None, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, AxLineCap cap = AxLineCap.Butt, AxLineJoin join = AxLineJoin.None, AxDxParams? dxParams = null) + { + if (_path.Count < 2 || thicknesses.Length < _path.Count) + { + _path.Clear(); + return; + } + AxDxParams p = dxParams ?? DefaultDxParams; + bool closed = (flags & AxStrokeFlags.Closed) > AxStrokeFlags.None; + if (_renderer.StrokeDegraded) + { + float num = 0f; + for (int i = 0; i < thicknesses.Length; i++) + { + num += thicknesses[i]; + } + num /= (float)thicknesses.Length; + _fallbackRenderer.DrawStroke(_path, num, color, closed, dashLength, gapLength, dashOffset, colorEnd, cap, join); + } + else + { + _renderer.DrawStroke(_path, thicknesses, color, closed, dashLength, gapLength, dashOffset, colorEnd, cap, join, p); + } + _path.Clear(); + } + + public void PathFill(uint color, AxDxParams? dxParams = null) + { + if (_path.Count < 3) + { + _path.Clear(); + return; + } + for (int i = 1; i < _path.Count - 1; i++) + { + AddTriangleFilled(_path[0], _path[i], _path[i + 1], color, dxParams); + } + _path.Clear(); + } + + public void PathFill(T gradient, AxDxParams? dxParams = null) where T : IPctGradient + { + if (_path.Count < 3) + { + _path.Clear(); + return; + } + for (int i = 1; i < _path.Count - 1; i++) + { + AddTriangleFilled(_path[0], _path[i], _path[i + 1], gradient, dxParams); + } + _path.Clear(); + } + + public void AddPolyline(ReadOnlySpan vertices, uint color, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, AxLineCap cap = AxLineCap.Butt, AxLineJoin join = AxLineJoin.None, AxDxParams? dxParams = null) + { + if (vertices.Length >= 2) + { + for (int i = 0; i < vertices.Length; i++) + { + PathLineTo(vertices[i]); + } + PathStroke(color, AxStrokeFlags.None, thickness, dashLength, gapLength, dashOffset, colorEnd, cap, join); + } + } + + public void AddPolygon(ReadOnlySpan vertices, uint color, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, AxDxParams? dxParams = null) + { + if (vertices.Length >= 3) + { + for (int i = 0; i < vertices.Length; i++) + { + PathLineTo(vertices[i]); + } + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + } + + public void AddPolygonFilled(ReadOnlySpan vertices, uint color, AxDxParams? dxParams = null) + { + if (vertices.Length >= 3) + { + for (int i = 1; i < vertices.Length - 1; i++) + { + AddTriangleFilled(vertices[0], vertices[i], vertices[i + 1], color, dxParams); + } + } + } + + public void AddPolygonFilled(ReadOnlySpan vertices, T gradient, AxDxParams? dxParams = null) where T : IPctGradient + { + if (vertices.Length >= 3) + { + for (int i = 1; i < vertices.Length - 1; i++) + { + AddTriangleFilled(vertices[0], vertices[i], vertices[i + 1], gradient, dxParams); + } + } + } + + public void AddTriangle(Vector3 a, Vector3 b, Vector3 c, uint color, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, AxDxParams? dxParams = null) + { + PathLineTo(a); + PathLineTo(b); + PathLineTo(c); + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + + public void AddTriangleFilled(Vector3 a, Vector3 b, Vector3 c, uint color, AxDxParams? dxParams = null) + { + AddTriangleFilled(a, b, c, color, color, color, dxParams); + } + + public void AddTriangleFilled(Vector3 a, Vector3 b, Vector3 c, uint colorA, uint colorB, uint colorC, AxDxParams? dxParams = null) + { + AxDxParams p = dxParams ?? DefaultDxParams; + _renderer.DrawTriangle(a, b, c, colorA, colorB, colorC, p); + } + + public void AddTriangleFilled(Vector3 a, Vector3 b, Vector3 c, T gradient, AxDxParams? dxParams = null) where T : IPctGradient + { + AddTriangleFilled(a, b, c, gradient.ColorAt(a), gradient.ColorAt(b), gradient.ColorAt(c), dxParams); + } + + public void AddLine(Vector3 start, Vector3 stop, float halfWidth, uint color, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, AxDxParams? dxParams = null) + { + Vector3 vector = stop - start; + Vector3 vector2 = halfWidth * Vector3.Normalize(Vector3.Cross(vector, Vector3.UnitY)); + AddQuad(start - vector2, stop - vector2, stop + vector2, start + vector2, color, thickness, dashLength, gapLength, dashOffset, colorEnd, dxParams); + } + + public void AddLineFilled(Vector3 start, Vector3 stop, float halfWidth, uint color, uint? colorEnd = null, AxDxParams? dxParams = null) + { + Vector3 vector = stop - start; + Vector3 vector2 = halfWidth * Vector3.Normalize(Vector3.Cross(vector, Vector3.UnitY)); + AddQuadFilled(start - vector2, stop - vector2, stop + vector2, start + vector2, color, colorEnd ?? color, colorEnd ?? color, color, dxParams); + } + + public void AddLineFilled(Vector3 start, Vector3 stop, float halfWidth, T gradient, AxDxParams? dxParams = null) where T : IPctGradient + { + Vector3 vector = stop - start; + Vector3 vector2 = halfWidth * Vector3.Normalize(Vector3.Cross(vector, Vector3.UnitY)); + AddQuadFilled(start - vector2, stop - vector2, stop + vector2, start + vector2, gradient, dxParams); + } + + public void AddArrowFilled(Vector3 start, Vector3 stop, float halfWidth, uint color, float headLength = 0f, float headHalfWidth = 0f, AxDxParams? dxParams = null) + { + Vector3 vector = stop - start; + float num = vector.Length(); + if (!(num < 1E-06f)) + { + if (headLength == 0f) + { + headLength = halfWidth * 3f; + } + if (headHalfWidth == 0f) + { + headHalfWidth = halfWidth * 2f; + } + Vector3 vector2 = vector / num; + Vector3 vector3 = Vector3.Normalize(Vector3.Cross(vector2, Vector3.UnitY)); + if (num > headLength) + { + Vector3 vector4 = stop - vector2 * headLength; + AddQuadFilled(start - vector3 * halfWidth, vector4 - vector3 * halfWidth, vector4 + vector3 * halfWidth, start + vector3 * halfWidth, color, dxParams); + AddTriangleFilled(vector4 - vector3 * headHalfWidth, stop, vector4 + vector3 * headHalfWidth, color, dxParams); + } + else + { + AddTriangleFilled(start - vector3 * headHalfWidth, stop, start + vector3 * headHalfWidth, color, dxParams); + } + } + } + + public void AddArrowFilled(Vector3 start, Vector3 stop, float halfWidth, T gradient, float headLength = 0f, float headHalfWidth = 0f, AxDxParams? dxParams = null) where T : IPctGradient + { + Vector3 vector = stop - start; + float num = vector.Length(); + if (!(num < 1E-06f)) + { + if (headLength == 0f) + { + headLength = halfWidth * 3f; + } + if (headHalfWidth == 0f) + { + headHalfWidth = halfWidth * 2f; + } + Vector3 vector2 = vector / num; + Vector3 vector3 = Vector3.Normalize(Vector3.Cross(vector2, Vector3.UnitY)); + if (num > headLength) + { + Vector3 vector4 = stop - vector2 * headLength; + AddQuadFilled(start - vector3 * halfWidth, vector4 - vector3 * halfWidth, vector4 + vector3 * halfWidth, start + vector3 * halfWidth, gradient, dxParams); + AddTriangleFilled(vector4 - vector3 * headHalfWidth, stop, vector4 + vector3 * headHalfWidth, gradient, dxParams); + } + else + { + AddTriangleFilled(start - vector3 * headHalfWidth, stop, start + vector3 * headHalfWidth, gradient, dxParams); + } + } + } + + public void AddArrow(Vector3 start, Vector3 stop, float halfWidth, uint color, float headLength = 0f, float headHalfWidth = 0f, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, AxDxParams? dxParams = null) + { + Vector3 vector = stop - start; + float num = vector.Length(); + if (!(num < 1E-06f)) + { + if (headLength == 0f) + { + headLength = halfWidth * 3f; + } + if (headHalfWidth == 0f) + { + headHalfWidth = halfWidth * 2f; + } + Vector3 vector2 = vector / num; + Vector3 vector3 = Vector3.Normalize(Vector3.Cross(vector2, Vector3.UnitY)); + if (num > headLength) + { + Vector3 vector4 = stop - vector2 * headLength; + PathLineTo(start + vector3 * halfWidth); + PathLineTo(vector4 + vector3 * halfWidth); + PathLineTo(vector4 + vector3 * headHalfWidth); + PathLineTo(stop); + PathLineTo(vector4 - vector3 * headHalfWidth); + PathLineTo(vector4 - vector3 * halfWidth); + PathLineTo(start - vector3 * halfWidth); + } + else + { + PathLineTo(start + vector3 * headHalfWidth); + PathLineTo(stop); + PathLineTo(start - vector3 * headHalfWidth); + } + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + } + + public void AddQuad(Vector3 a, Vector3 b, Vector3 c, Vector3 d, uint color, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, AxDxParams? dxParams = null) + { + PathLineTo(a); + PathLineTo(b); + PathLineTo(c); + PathLineTo(d); + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + + public void AddQuadFilled(Vector3 a, Vector3 b, Vector3 c, Vector3 d, uint color, AxDxParams? dxParams = null) + { + AddQuadFilled(a, b, c, d, color, color, color, color, dxParams); + } + + public void AddQuadFilled(Vector3 a, Vector3 b, Vector3 c, Vector3 d, uint colorA, uint colorB, uint colorC, uint colorD, AxDxParams? dxParams = null) + { + AddTriangleFilled(a, b, c, colorA, colorB, colorC, dxParams); + AddTriangleFilled(a, c, d, colorA, colorC, colorD, dxParams); + } + + public void AddQuadFilled(Vector3 a, Vector3 b, Vector3 c, Vector3 d, T gradient, AxDxParams? dxParams = null) where T : IPctGradient + { + AddTriangleFilled(a, b, c, gradient.ColorAt(a), gradient.ColorAt(b), gradient.ColorAt(c), dxParams); + AddTriangleFilled(a, c, d, gradient.ColorAt(a), gradient.ColorAt(c), gradient.ColorAt(d), dxParams); + } + + public void AddRoundedRect(Vector3 origin, float halfWidth, float halfHeight, float cornerRadius, uint color, uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, float rotation = 0f, AxDxParams? dxParams = null) + { + float num = MathF.Min(cornerRadius, MathF.Min(halfWidth, halfHeight)); + float cos = MathF.Cos(rotation); + float sin = MathF.Sin(rotation); + if (num <= 0f) + { + AddQuad(RotateXZ(origin, 0f - halfWidth, 0f - halfHeight, cos, sin), RotateXZ(origin, halfWidth, 0f - halfHeight, cos, sin), RotateXZ(origin, halfWidth, halfHeight, cos, sin), RotateXZ(origin, 0f - halfWidth, halfHeight, cos, sin), color, thickness, dashLength, gapLength, dashOffset, colorEnd, dxParams); + return; + } + Vector3 point = RotateXZ(origin, halfWidth - num, 0f - halfHeight + num, cos, sin); + Vector3 point2 = RotateXZ(origin, halfWidth - num, halfHeight - num, cos, sin); + Vector3 point3 = RotateXZ(origin, 0f - halfWidth + num, halfHeight - num, cos, sin); + Vector3 point4 = RotateXZ(origin, 0f - halfWidth + num, 0f - halfHeight + num, cos, sin); + PathArcTo(point, num, (float)Math.PI + rotation, 4.712389f + rotation, numSegments); + PathArcTo(point2, num, 4.712389f + rotation, (float)Math.PI * 2f + rotation, numSegments); + PathArcTo(point3, num, rotation, (float)Math.PI / 2f + rotation, numSegments); + PathArcTo(point4, num, (float)Math.PI / 2f + rotation, (float)Math.PI + rotation, numSegments); + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + + public void AddRoundedRectFilled(Vector3 origin, float halfWidth, float halfHeight, float cornerRadius, uint color, uint numSegments = 0u, float rotation = 0f, AxDxParams? dxParams = null) + { + float num = MathF.Min(cornerRadius, MathF.Min(halfWidth, halfHeight)); + float cos = MathF.Cos(rotation); + float sin = MathF.Sin(rotation); + if (num <= 0f) + { + AddQuadFilled(RotateXZ(origin, 0f - halfWidth, 0f - halfHeight, cos, sin), RotateXZ(origin, halfWidth, 0f - halfHeight, cos, sin), RotateXZ(origin, halfWidth, halfHeight, cos, sin), RotateXZ(origin, 0f - halfWidth, halfHeight, cos, sin), color, dxParams); + return; + } + if (num < halfWidth) + { + AddQuadFilled(RotateXZ(origin, 0f - halfWidth + num, 0f - halfHeight, cos, sin), RotateXZ(origin, halfWidth - num, 0f - halfHeight, cos, sin), RotateXZ(origin, halfWidth - num, halfHeight, cos, sin), RotateXZ(origin, 0f - halfWidth + num, halfHeight, cos, sin), color, dxParams); + } + if (num < halfHeight) + { + AddQuadFilled(RotateXZ(origin, 0f - halfWidth, 0f - halfHeight + num, cos, sin), RotateXZ(origin, 0f - halfWidth + num, 0f - halfHeight + num, cos, sin), RotateXZ(origin, 0f - halfWidth + num, halfHeight - num, cos, sin), RotateXZ(origin, 0f - halfWidth, halfHeight - num, cos, sin), color, dxParams); + AddQuadFilled(RotateXZ(origin, halfWidth - num, 0f - halfHeight + num, cos, sin), RotateXZ(origin, halfWidth, 0f - halfHeight + num, cos, sin), RotateXZ(origin, halfWidth, halfHeight - num, cos, sin), RotateXZ(origin, halfWidth - num, halfHeight - num, cos, sin), color, dxParams); + } + Vector3 origin2 = RotateXZ(origin, halfWidth - num, 0f - halfHeight + num, cos, sin); + Vector3 origin3 = RotateXZ(origin, halfWidth - num, halfHeight - num, cos, sin); + Vector3 origin4 = RotateXZ(origin, 0f - halfWidth + num, halfHeight - num, cos, sin); + Vector3 origin5 = RotateXZ(origin, 0f - halfWidth + num, 0f - halfHeight + num, cos, sin); + AddArcFilled(origin2, num, (float)Math.PI + rotation, 4.712389f + rotation, color, null, numSegments, dxParams); + AddArcFilled(origin3, num, 4.712389f + rotation, (float)Math.PI * 2f + rotation, color, null, numSegments, dxParams); + AddArcFilled(origin4, num, rotation, (float)Math.PI / 2f + rotation, color, null, numSegments, dxParams); + AddArcFilled(origin5, num, (float)Math.PI / 2f + rotation, (float)Math.PI + rotation, color, null, numSegments, dxParams); + } + + public void AddRoundedRectFilled(Vector3 origin, float halfWidth, float halfHeight, float cornerRadius, T gradient, uint numSegments = 0u, float rotation = 0f, AxDxParams? dxParams = null) where T : IPctGradient + { + float num = MathF.Min(cornerRadius, MathF.Min(halfWidth, halfHeight)); + float cos = MathF.Cos(rotation); + float sin = MathF.Sin(rotation); + if (num <= 0f) + { + AddQuadFilled(RotateXZ(origin, 0f - halfWidth, 0f - halfHeight, cos, sin), RotateXZ(origin, halfWidth, 0f - halfHeight, cos, sin), RotateXZ(origin, halfWidth, halfHeight, cos, sin), RotateXZ(origin, 0f - halfWidth, halfHeight, cos, sin), gradient, dxParams); + return; + } + if (num < halfWidth) + { + AddQuadFilled(RotateXZ(origin, 0f - halfWidth + num, 0f - halfHeight, cos, sin), RotateXZ(origin, halfWidth - num, 0f - halfHeight, cos, sin), RotateXZ(origin, halfWidth - num, halfHeight, cos, sin), RotateXZ(origin, 0f - halfWidth + num, halfHeight, cos, sin), gradient, dxParams); + } + if (num < halfHeight) + { + AddQuadFilled(RotateXZ(origin, 0f - halfWidth, 0f - halfHeight + num, cos, sin), RotateXZ(origin, 0f - halfWidth + num, 0f - halfHeight + num, cos, sin), RotateXZ(origin, 0f - halfWidth + num, halfHeight - num, cos, sin), RotateXZ(origin, 0f - halfWidth, halfHeight - num, cos, sin), gradient, dxParams); + AddQuadFilled(RotateXZ(origin, halfWidth - num, 0f - halfHeight + num, cos, sin), RotateXZ(origin, halfWidth, 0f - halfHeight + num, cos, sin), RotateXZ(origin, halfWidth, halfHeight - num, cos, sin), RotateXZ(origin, halfWidth - num, halfHeight - num, cos, sin), gradient, dxParams); + } + Vector3 origin2 = RotateXZ(origin, halfWidth - num, 0f - halfHeight + num, cos, sin); + Vector3 origin3 = RotateXZ(origin, halfWidth - num, halfHeight - num, cos, sin); + Vector3 origin4 = RotateXZ(origin, 0f - halfWidth + num, halfHeight - num, cos, sin); + Vector3 origin5 = RotateXZ(origin, 0f - halfWidth + num, 0f - halfHeight + num, cos, sin); + AddFanFilled(origin2, 0f, num, (float)Math.PI + rotation, 4.712389f + rotation, gradient, numSegments, dxParams); + AddFanFilled(origin3, 0f, num, 4.712389f + rotation, (float)Math.PI * 2f + rotation, gradient, numSegments, dxParams); + AddFanFilled(origin4, 0f, num, rotation, (float)Math.PI / 2f + rotation, gradient, numSegments, dxParams); + AddFanFilled(origin5, 0f, num, (float)Math.PI / 2f + rotation, (float)Math.PI + rotation, gradient, numSegments, dxParams); + } + + public void AddPill(Vector3 start, Vector3 stop, float halfWidth, uint color, uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, AxDxParams? dxParams = null) + { + Vector3 vector = stop - start; + float num = vector.Length(); + if (num < 1E-06f) + { + AddCircle(start, halfWidth, color, numSegments * 2, thickness, dashLength, gapLength, dashOffset, colorEnd, dxParams); + return; + } + Vector3 vector2 = vector / num; + Vector3 vector3 = Vector3.Normalize(Vector3.Cross(vector2, Vector3.UnitY)); + int num2 = (int)((numSegments != 0) ? numSegments : 50); + PathLineTo(start + vector3 * halfWidth); + PathLineTo(stop + vector3 * halfWidth); + for (int i = 1; i <= num2; i++) + { + float num3 = (float)i * (float)Math.PI / (float)num2; + PathLineTo(stop + halfWidth * (MathF.Cos(num3) * vector3 + MathF.Sin(num3) * vector2)); + } + PathLineTo(start - vector3 * halfWidth); + for (int j = 1; j < num2; j++) + { + float num4 = (float)Math.PI + (float)j * (float)Math.PI / (float)num2; + PathLineTo(start + halfWidth * (MathF.Cos(num4) * vector3 + MathF.Sin(num4) * vector2)); + } + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + + public void AddPillFilled(Vector3 start, Vector3 stop, float halfWidth, uint color, uint numSegments = 0u, AxDxParams? dxParams = null) + { + Vector3 vector = stop - start; + float num = vector.Length(); + if (num < 1E-06f) + { + AddCircleFilled(start, halfWidth, color, null, numSegments * 2, dxParams); + return; + } + Vector3 vector2 = vector / num; + Vector3 vector3 = Vector3.Normalize(Vector3.Cross(vector2, Vector3.UnitY)); + AddQuadFilled(start + vector3 * halfWidth, stop + vector3 * halfWidth, stop - vector3 * halfWidth, start - vector3 * halfWidth, color, dxParams); + int num2 = (int)((numSegments != 0) ? numSegments : 25); + Vector3 b = stop + vector3 * halfWidth; + for (int i = 1; i <= num2; i++) + { + float num3 = (float)i * (float)Math.PI / (float)num2; + Vector3 vector4 = stop + halfWidth * (MathF.Cos(num3) * vector3 + MathF.Sin(num3) * vector2); + AddTriangleFilled(stop, b, vector4, color, dxParams); + b = vector4; + } + b = start - vector3 * halfWidth; + for (int j = 1; j <= num2; j++) + { + float num4 = (float)Math.PI + (float)j * (float)Math.PI / (float)num2; + Vector3 vector5 = start + halfWidth * (MathF.Cos(num4) * vector3 + MathF.Sin(num4) * vector2); + AddTriangleFilled(start, b, vector5, color, dxParams); + b = vector5; + } + } + + public void AddPillFilled(Vector3 start, Vector3 stop, float halfWidth, T gradient, uint numSegments = 0u, AxDxParams? dxParams = null) where T : IPctGradient + { + Vector3 vector = stop - start; + float num = vector.Length(); + if (num < 1E-06f) + { + AddCircleFilled(start, halfWidth, gradient, numSegments * 2, dxParams); + return; + } + Vector3 vector2 = vector / num; + Vector3 vector3 = Vector3.Normalize(Vector3.Cross(vector2, Vector3.UnitY)); + AddQuadFilled(start + vector3 * halfWidth, stop + vector3 * halfWidth, stop - vector3 * halfWidth, start - vector3 * halfWidth, gradient, dxParams); + int num2 = (int)((numSegments != 0) ? numSegments : 25); + Vector3 b = stop + vector3 * halfWidth; + for (int i = 1; i <= num2; i++) + { + float num3 = (float)i * (float)Math.PI / (float)num2; + Vector3 vector4 = stop + halfWidth * (MathF.Cos(num3) * vector3 + MathF.Sin(num3) * vector2); + AddTriangleFilled(stop, b, vector4, gradient, dxParams); + b = vector4; + } + b = start - vector3 * halfWidth; + for (int j = 1; j <= num2; j++) + { + float num4 = (float)Math.PI + (float)j * (float)Math.PI / (float)num2; + Vector3 vector5 = start + halfWidth * (MathF.Cos(num4) * vector3 + MathF.Sin(num4) * vector2); + AddTriangleFilled(start, b, vector5, gradient, dxParams); + b = vector5; + } + } + + public void AddCircle(Vector3 origin, float radius, uint color, uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, AxDxParams? dxParams = null) + { + PathArcTo(origin, radius, 0f, (float)Math.PI * 2f, numSegments); + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + + public void AddCircleFilled(Vector3 origin, float radius, uint color, uint? colorEnd = null, uint numSegments = 0u, AxDxParams? dxParams = null) + { + AddFanFilled(origin, 0f, radius, 0f, (float)Math.PI * 2f, color, colorEnd, numSegments, dxParams); + } + + public void AddCircleFilled(Vector3 origin, float radius, T gradient, uint numSegments = 0u, AxDxParams? dxParams = null) where T : IPctGradient + { + AddFanFilled(origin, 0f, radius, 0f, (float)Math.PI * 2f, gradient, numSegments, dxParams); + } + + public void AddArc(Vector3 origin, float radius, float minAngle, float maxAngle, uint color, uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, AxDxParams? dxParams = null) + { + PathArcTo(origin, radius, minAngle, maxAngle, numSegments); + PathStroke(color, AxStrokeFlags.None, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + + public void AddArcFilled(Vector3 origin, float radius, float minAngle, float maxAngle, uint color, uint? colorEnd = null, uint numSegments = 0u, AxDxParams? dxParams = null) + { + AddFanFilled(origin, 0f, radius, minAngle, maxAngle, color, colorEnd, numSegments, dxParams); + } + + public void AddArcFilled(Vector3 origin, float radius, float minAngle, float maxAngle, T gradient, uint numSegments = 0u, AxDxParams? dxParams = null) where T : IPctGradient + { + AddFanFilled(origin, 0f, radius, minAngle, maxAngle, gradient, numSegments, dxParams); + } + + public void AddCone(Vector3 origin, float radius, float rotation, float angle, uint color, uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, AxDxParams? dxParams = null) + { + float num = angle / 2f; + AddFan(origin, 0f, radius, rotation - num, rotation + num, color, numSegments, thickness, dashLength, gapLength, dashOffset, colorEnd, dxParams); + } + + public void AddConeFilled(Vector3 origin, float radius, float rotation, float angle, uint color, uint? colorEnd = null, uint numSegments = 0u, AxDxParams? dxParams = null) + { + float num = angle / 2f; + AddFanFilled(origin, 0f, radius, rotation - num, rotation + num, color, colorEnd, numSegments, dxParams); + } + + public void AddConeFilled(Vector3 origin, float radius, float rotation, float angle, T gradient, uint numSegments = 0u, AxDxParams? dxParams = null) where T : IPctGradient + { + float num = angle / 2f; + AddFanFilled(origin, 0f, radius, rotation - num, rotation + num, gradient, numSegments, dxParams); + } + + public void AddFan(Vector3 origin, float innerRadius, float outerRadius, float minAngle, float maxAngle, uint color, uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, AxDxParams? dxParams = null) + { + bool flag = (double)(maxAngle - minAngle) >= 6.283184482025146; + PathArcTo(origin, outerRadius, minAngle, maxAngle, numSegments); + if (innerRadius > 0f) + { + if (flag) + { + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + PathArcTo(origin, innerRadius, maxAngle, minAngle, numSegments); + } + else if (!flag) + { + PathLineTo(origin); + } + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + + public void AddFanFilled(Vector3 origin, float innerRadius, float outerRadius, float minAngle, float maxAngle, uint color, uint? colorEnd = null, uint numSegments = 0u, AxDxParams? dxParams = null) + { + AxDxParams p = dxParams ?? DefaultDxParams; + _renderer.DrawFan(origin, innerRadius, outerRadius, minAngle, maxAngle, color, colorEnd ?? color, numSegments, p); + } + + public void AddFanFilled(Vector3 origin, float innerRadius, float outerRadius, float minAngle, float maxAngle, T gradient, uint numSegments = 0u, AxDxParams? dxParams = null) where T : IPctGradient + { + AxDxParams p = dxParams ?? DefaultDxParams; + _renderer.DrawTriangleFanGradient(origin, innerRadius, outerRadius, minAngle, maxAngle, gradient, numSegments, p); + } + + public void AddRegularPolygon(Vector3 origin, float radius, uint numSides, uint color, float rotation = 0f, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, AxDxParams? dxParams = null) + { + if (numSides >= 3) + { + float num = (float)Math.PI * 2f / (float)numSides; + float num2 = (float)Math.PI / 2f + rotation; + for (uint num3 = 0u; num3 < numSides; num3++) + { + float num4 = num2 + (float)num3 * num; + PathLineTo(origin + radius * new Vector3(MathF.Cos(num4), 0f, MathF.Sin(num4))); + } + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + } + + public void AddRegularPolygonFilled(Vector3 origin, float radius, uint numSides, uint color, float rotation = 0f, AxDxParams? dxParams = null) + { + if (numSides >= 3) + { + float num = (float)Math.PI * 2f / (float)numSides; + float num2 = (float)Math.PI / 2f + rotation; + Vector3 vector = origin + radius * new Vector3(MathF.Cos(num2), 0f, MathF.Sin(num2)); + Vector3 b = vector; + for (uint num3 = 1u; num3 < numSides; num3++) + { + float num4 = num2 + (float)num3 * num; + Vector3 vector2 = origin + radius * new Vector3(MathF.Cos(num4), 0f, MathF.Sin(num4)); + AddTriangleFilled(origin, b, vector2, color, dxParams); + b = vector2; + } + AddTriangleFilled(origin, b, vector, color, dxParams); + } + } + + public void AddRegularPolygonFilled(Vector3 origin, float radius, uint numSides, T gradient, float rotation = 0f, AxDxParams? dxParams = null) where T : IPctGradient + { + if (numSides >= 3) + { + float num = (float)Math.PI * 2f / (float)numSides; + float num2 = (float)Math.PI / 2f + rotation; + Vector3 vector = origin + radius * new Vector3(MathF.Cos(num2), 0f, MathF.Sin(num2)); + Vector3 b = vector; + for (uint num3 = 1u; num3 < numSides; num3++) + { + float num4 = num2 + (float)num3 * num; + Vector3 vector2 = origin + radius * new Vector3(MathF.Cos(num4), 0f, MathF.Sin(num4)); + AddTriangleFilled(origin, b, vector2, gradient, dxParams); + b = vector2; + } + AddTriangleFilled(origin, b, vector, gradient, dxParams); + } + } + + public void AddStar(Vector3 origin, float outerRadius, float innerRadius, uint numPoints, uint color, float rotation = 0f, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, AxDxParams? dxParams = null) + { + if (numPoints >= 2) + { + float num = (float)Math.PI / (float)numPoints; + float num2 = (float)Math.PI / 2f + rotation; + for (uint num3 = 0u; num3 < numPoints * 2; num3++) + { + float num4 = num2 + (float)num3 * num; + float num5 = ((num3 % 2 == 0) ? outerRadius : innerRadius); + PathLineTo(origin + num5 * new Vector3(MathF.Cos(num4), 0f, MathF.Sin(num4))); + } + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + } + + public void AddStarFilled(Vector3 origin, float outerRadius, float innerRadius, uint numPoints, uint color, float rotation = 0f, AxDxParams? dxParams = null) + { + if (numPoints >= 2) + { + float num = (float)Math.PI / (float)numPoints; + float num2 = (float)Math.PI / 2f + rotation; + uint num3 = numPoints * 2; + Vector3 vector = origin + outerRadius * new Vector3(MathF.Cos(num2), 0f, MathF.Sin(num2)); + Vector3 b = vector; + for (uint num4 = 1u; num4 < num3; num4++) + { + float num5 = num2 + (float)num4 * num; + float num6 = ((num4 % 2 == 0) ? outerRadius : innerRadius); + Vector3 vector2 = origin + num6 * new Vector3(MathF.Cos(num5), 0f, MathF.Sin(num5)); + AddTriangleFilled(origin, b, vector2, color, dxParams); + b = vector2; + } + AddTriangleFilled(origin, b, vector, color, dxParams); + } + } + + public void AddStarFilled(Vector3 origin, float outerRadius, float innerRadius, uint numPoints, T gradient, float rotation = 0f, AxDxParams? dxParams = null) where T : IPctGradient + { + if (numPoints >= 2) + { + float num = (float)Math.PI / (float)numPoints; + float num2 = (float)Math.PI / 2f + rotation; + uint num3 = numPoints * 2; + Vector3 vector = origin + outerRadius * new Vector3(MathF.Cos(num2), 0f, MathF.Sin(num2)); + Vector3 b = vector; + for (uint num4 = 1u; num4 < num3; num4++) + { + float num5 = num2 + (float)num4 * num; + float num6 = ((num4 % 2 == 0) ? outerRadius : innerRadius); + Vector3 vector2 = origin + num6 * new Vector3(MathF.Cos(num5), 0f, MathF.Sin(num5)); + AddTriangleFilled(origin, b, vector2, gradient, dxParams); + b = vector2; + } + AddTriangleFilled(origin, b, vector, gradient, dxParams); + } + } + + public void AddWireframeBox(Vector3 center, Vector3 halfExtent, uint color, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, AxDxParams? dxParams = null) + { + float x = halfExtent.X; + float y = halfExtent.Y; + float z = halfExtent.Z; + Vector3 point = center + new Vector3(0f - x, 0f - y, 0f - z); + Vector3 point2 = center + new Vector3(x, 0f - y, 0f - z); + Vector3 point3 = center + new Vector3(x, 0f - y, z); + Vector3 point4 = center + new Vector3(0f - x, 0f - y, z); + Vector3 point5 = center + new Vector3(0f - x, y, 0f - z); + Vector3 point6 = center + new Vector3(x, y, 0f - z); + Vector3 point7 = center + new Vector3(x, y, z); + Vector3 point8 = center + new Vector3(0f - x, y, z); + PathLineTo(point); + PathLineTo(point2); + PathLineTo(point3); + PathLineTo(point4); + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd); + PathLineTo(point5); + PathLineTo(point6); + PathLineTo(point7); + PathLineTo(point8); + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd); + PathLineTo(point); + PathLineTo(point5); + PathStroke(color, AxStrokeFlags.None, thickness, dashLength, gapLength, dashOffset, colorEnd); + PathLineTo(point2); + PathLineTo(point6); + PathStroke(color, AxStrokeFlags.None, thickness, dashLength, gapLength, dashOffset, colorEnd); + PathLineTo(point3); + PathLineTo(point7); + PathStroke(color, AxStrokeFlags.None, thickness, dashLength, gapLength, dashOffset, colorEnd); + PathLineTo(point4); + PathLineTo(point8); + PathStroke(color, AxStrokeFlags.None, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + + public void AddWireframeSphere(Vector3 center, float radius, uint color, uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, AxDxParams? dxParams = null) + { + if (numSegments == 0) + { + numSegments = (uint)MathF.Max(12f, MathF.Ceiling(radius * 8f)); + } + float num = (float)Math.PI * 2f / (float)numSegments; + for (uint num2 = 0u; num2 < numSegments; num2++) + { + float num3 = (float)num2 * num; + PathLineTo(center + new Vector3(MathF.Cos(num3) * radius, 0f, MathF.Sin(num3) * radius)); + } + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd); + for (uint num4 = 0u; num4 < numSegments; num4++) + { + float num5 = (float)num4 * num; + PathLineTo(center + new Vector3(MathF.Cos(num5) * radius, MathF.Sin(num5) * radius, 0f)); + } + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd); + for (uint num6 = 0u; num6 < numSegments; num6++) + { + float num7 = (float)num6 * num; + PathLineTo(center + new Vector3(0f, MathF.Cos(num7) * radius, MathF.Sin(num7) * radius)); + } + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + + public void AddWireframeCylinder(Vector3 center, float radius, float halfHeight, uint color, uint numVerticals = 4u, uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, AxDxParams? dxParams = null) + { + if (numSegments == 0) + { + numSegments = (uint)MathF.Max(12f, MathF.Ceiling(radius * 8f)); + } + float num = (float)Math.PI * 2f / (float)numSegments; + float y = center.Y + halfHeight; + float y2 = center.Y - halfHeight; + for (uint num2 = 0u; num2 < numSegments; num2++) + { + float num3 = (float)num2 * num; + PathLineTo(new Vector3(center.X + MathF.Cos(num3) * radius, y2, center.Z + MathF.Sin(num3) * radius)); + } + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd); + for (uint num4 = 0u; num4 < numSegments; num4++) + { + float num5 = (float)num4 * num; + PathLineTo(new Vector3(center.X + MathF.Cos(num5) * radius, y, center.Z + MathF.Sin(num5) * radius)); + } + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd); + if (numVerticals != 0) + { + float num6 = (float)Math.PI * 2f / (float)numVerticals; + for (uint num7 = 0u; num7 < numVerticals; num7++) + { + float num8 = (float)num7 * num6; + float x = center.X + MathF.Cos(num8) * radius; + float z = center.Z + MathF.Sin(num8) * radius; + PathLineTo(new Vector3(x, y2, z)); + PathLineTo(new Vector3(x, y, z)); + PathStroke(color, AxStrokeFlags.None, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + } + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + private static Vector3 RotateXZ(Vector3 origin, float dx, float dz, float cos, float sin) + { + return new Vector3(origin.X + dx * cos - dz * sin, origin.Y, origin.Z + dx * sin + dz * cos); + } + + public void AddClipZone(Vector2 min, Vector2 max) + { + _renderer.AddClipZone(min, max); + } + + public void AddCircleFilledOnTerrain(Vector3 origin, float radius, uint color, uint? colorEnd = null, uint numSegments = 0u, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) + { + AxDxParams p = dxParams ?? DefaultDxParams; + _renderer.DrawTerrainFan(origin, 0f, radius, 0f, (float)Math.PI * 2f, color, colorEnd ?? color, resolution, yOffset, numSegments, p); + } + + public void AddCircleFilledOnTerrain(Vector3 origin, float radius, T gradient, uint numSegments = 0u, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) where T : IPctGradient + { + AxDxParams p = dxParams ?? DefaultDxParams; + _renderer.DrawTerrainFanGradient(origin, 0f, radius, 0f, (float)Math.PI * 2f, gradient, resolution, yOffset, numSegments, p); + } + + public void AddFanFilledOnTerrain(Vector3 origin, float innerRadius, float outerRadius, float minAngle, float maxAngle, uint color, uint? colorEnd = null, uint numSegments = 0u, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) + { + AxDxParams p = dxParams ?? DefaultDxParams; + _renderer.DrawTerrainFan(origin, innerRadius, outerRadius, minAngle, maxAngle, color, colorEnd ?? color, resolution, yOffset, numSegments, p); + } + + public void AddFanFilledOnTerrain(Vector3 origin, float innerRadius, float outerRadius, float minAngle, float maxAngle, T gradient, uint numSegments = 0u, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) where T : IPctGradient + { + AxDxParams p = dxParams ?? DefaultDxParams; + _renderer.DrawTerrainFanGradient(origin, innerRadius, outerRadius, minAngle, maxAngle, gradient, resolution, yOffset, numSegments, p); + } + + public void AddQuadFilledOnTerrain(Vector3 a, Vector3 b, Vector3 c, Vector3 d, uint color, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) + { + AxDxParams p = dxParams ?? DefaultDxParams; + _renderer.DrawTerrainQuad(a, b, c, d, color, color, color, color, resolution, yOffset, p); + } + + public void AddQuadFilledOnTerrain(Vector3 a, Vector3 b, Vector3 c, Vector3 d, uint colorA, uint colorB, uint colorC, uint colorD, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) + { + AxDxParams p = dxParams ?? DefaultDxParams; + _renderer.DrawTerrainQuad(a, b, c, d, colorA, colorB, colorC, colorD, resolution, yOffset, p); + } + + public void AddQuadFilledOnTerrain(Vector3 a, Vector3 b, Vector3 c, Vector3 d, T gradient, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) where T : IPctGradient + { + AxDxParams p = dxParams ?? DefaultDxParams; + _renderer.DrawTerrainQuadGradient(a, b, c, d, gradient, resolution, yOffset, p); + } + + public void AddCircleOnTerrain(Vector3 origin, float radius, uint color, uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) + { + PathArcToOnTerrain(origin, radius, 0f, (float)Math.PI * 2f, yOffset, numSegments, resolution); + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd, AxLineCap.Butt, AxLineJoin.None, dxParams); + } + + public void AddFanOnTerrain(Vector3 origin, float innerRadius, float outerRadius, float minAngle, float maxAngle, uint color, uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) + { + bool flag = (double)(maxAngle - minAngle) >= 6.283184482025146; + PathArcToOnTerrain(origin, outerRadius, minAngle, maxAngle, yOffset, numSegments, resolution); + if (innerRadius > 0f) + { + if (flag) + { + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd, AxLineCap.Butt, AxLineJoin.None, dxParams); + } + PathArcToOnTerrain(origin, innerRadius, maxAngle, minAngle, yOffset, numSegments, resolution); + } + else if (!flag) + { + float terrainYRaw = AxTerrainQuery.GetTerrainYRaw(origin.X, origin.Z); + float y = (float.IsNaN(terrainYRaw) ? origin.Y : terrainYRaw) + yOffset; + PathLineTo(new Vector3(origin.X, y, origin.Z)); + } + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd, AxLineCap.Butt, AxLineJoin.None, dxParams); + } + + public void AddQuadOnTerrain(Vector3 a, Vector3 b, Vector3 c, Vector3 d, uint color, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) + { + PathLineToOnTerrain(a, b, yOffset, resolution); + PathLineToOnTerrain(b, c, yOffset, resolution); + PathLineToOnTerrain(c, d, yOffset, resolution); + PathLineToOnTerrain(d, a, yOffset, resolution); + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd, AxLineCap.Butt, AxLineJoin.None, dxParams); + } + + public void AddConeFilledOnTerrain(Vector3 origin, float radius, float rotation, float angle, uint color, uint? colorEnd = null, uint numSegments = 0u, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) + { + float num = angle / 2f; + AddFanFilledOnTerrain(origin, 0f, radius, rotation - num, rotation + num, color, colorEnd, numSegments, resolution, yOffset, dxParams); + } + + public void AddConeFilledOnTerrain(Vector3 origin, float radius, float rotation, float angle, T gradient, uint numSegments = 0u, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) where T : IPctGradient + { + float num = angle / 2f; + AddFanFilledOnTerrain(origin, 0f, radius, rotation - num, rotation + num, gradient, numSegments, resolution, yOffset, dxParams); + } + + public void AddConeOnTerrain(Vector3 origin, float radius, float rotation, float angle, uint color, uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) + { + float num = angle / 2f; + AddFanOnTerrain(origin, 0f, radius, rotation - num, rotation + num, color, numSegments, thickness, dashLength, gapLength, dashOffset, colorEnd, resolution, yOffset, dxParams); + } + + public void AddArcFilledOnTerrain(Vector3 origin, float radius, float minAngle, float maxAngle, uint color, uint? colorEnd = null, uint numSegments = 0u, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) + { + AddFanFilledOnTerrain(origin, 0f, radius, minAngle, maxAngle, color, colorEnd, numSegments, resolution, yOffset, dxParams); + } + + public void AddArcFilledOnTerrain(Vector3 origin, float radius, float minAngle, float maxAngle, T gradient, uint numSegments = 0u, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) where T : IPctGradient + { + AddFanFilledOnTerrain(origin, 0f, radius, minAngle, maxAngle, gradient, numSegments, resolution, yOffset, dxParams); + } + + public void AddArcOnTerrain(Vector3 origin, float radius, float minAngle, float maxAngle, uint color, uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) + { + PathArcToOnTerrain(origin, radius, minAngle, maxAngle, yOffset, numSegments, resolution); + PathStroke(color, AxStrokeFlags.None, thickness, dashLength, gapLength, dashOffset, colorEnd, AxLineCap.Butt, AxLineJoin.None, dxParams); + } + + public void AddLineFilledOnTerrain(Vector3 start, Vector3 stop, float halfWidth, uint color, uint? colorEnd = null, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) + { + Vector3 vector = stop - start; + Vector3 vector2 = halfWidth * Vector3.Normalize(Vector3.Cross(vector, Vector3.UnitY)); + AddQuadFilledOnTerrain(start - vector2, stop - vector2, stop + vector2, start + vector2, color, colorEnd ?? color, colorEnd ?? color, color, resolution, yOffset, dxParams); + } + + public void AddLineFilledOnTerrain(Vector3 start, Vector3 stop, float halfWidth, T gradient, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) where T : IPctGradient + { + Vector3 vector = stop - start; + Vector3 vector2 = halfWidth * Vector3.Normalize(Vector3.Cross(vector, Vector3.UnitY)); + AddQuadFilledOnTerrain(start - vector2, stop - vector2, stop + vector2, start + vector2, gradient, resolution, yOffset, dxParams); + } + + public void AddLineOnTerrain(Vector3 start, Vector3 stop, float halfWidth, uint color, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) + { + Vector3 vector = stop - start; + Vector3 vector2 = halfWidth * Vector3.Normalize(Vector3.Cross(vector, Vector3.UnitY)); + AddQuadOnTerrain(start - vector2, stop - vector2, stop + vector2, start + vector2, color, thickness, dashLength, gapLength, dashOffset, colorEnd, resolution, yOffset, dxParams); + } + + public void AddPillFilledOnTerrain(Vector3 start, Vector3 stop, float halfWidth, uint color, uint numSegments = 0u, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) + { + Vector3 vector = stop - start; + float num = vector.Length(); + if (num < 1E-06f) + { + AddCircleFilledOnTerrain(start, halfWidth, color, null, numSegments * 2, resolution, yOffset, dxParams); + return; + } + Vector3 vector2 = vector / num; + Vector3 vector3 = Vector3.Normalize(Vector3.Cross(vector2, Vector3.UnitY)); + float num2 = MathF.Atan2(0f - vector2.X, vector2.Z); + AddQuadFilledOnTerrain(start + vector3 * halfWidth, stop + vector3 * halfWidth, stop - vector3 * halfWidth, start - vector3 * halfWidth, color, resolution, yOffset, dxParams); + AddFanFilledOnTerrain(stop, 0f, halfWidth, num2 - (float)Math.PI / 2f, num2 + (float)Math.PI / 2f, color, null, numSegments, resolution, yOffset, dxParams); + AddFanFilledOnTerrain(start, 0f, halfWidth, num2 + (float)Math.PI / 2f, num2 + 4.712389f, color, null, numSegments, resolution, yOffset, dxParams); + } + + public void AddPillFilledOnTerrain(Vector3 start, Vector3 stop, float halfWidth, T gradient, uint numSegments = 0u, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) where T : IPctGradient + { + Vector3 vector = stop - start; + float num = vector.Length(); + if (num < 1E-06f) + { + AddCircleFilledOnTerrain(start, halfWidth, gradient, numSegments * 2, resolution, yOffset, dxParams); + return; + } + Vector3 vector2 = vector / num; + Vector3 vector3 = Vector3.Normalize(Vector3.Cross(vector2, Vector3.UnitY)); + float num2 = MathF.Atan2(0f - vector2.X, vector2.Z); + AddQuadFilledOnTerrain(start + vector3 * halfWidth, stop + vector3 * halfWidth, stop - vector3 * halfWidth, start - vector3 * halfWidth, gradient, resolution, yOffset, dxParams); + AddFanFilledOnTerrain(stop, 0f, halfWidth, num2 - (float)Math.PI / 2f, num2 + (float)Math.PI / 2f, gradient, numSegments, resolution, yOffset, dxParams); + AddFanFilledOnTerrain(start, 0f, halfWidth, num2 + (float)Math.PI / 2f, num2 + 4.712389f, gradient, numSegments, resolution, yOffset, dxParams); + } + + public void AddPillOnTerrain(Vector3 start, Vector3 stop, float halfWidth, uint color, uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) + { + Vector3 vector = stop - start; + float num = vector.Length(); + if (num < 1E-06f) + { + AddCircleOnTerrain(start, halfWidth, color, numSegments * 2, thickness, dashLength, gapLength, dashOffset, colorEnd, resolution, yOffset, dxParams); + return; + } + Vector3 vector2 = Vector3.Normalize(Vector3.Cross(vector / num, Vector3.UnitY)); + float num2 = MathF.Atan2(0f - vector2.X, vector2.Z); + PathLineToOnTerrain(start + vector2 * halfWidth, stop + vector2 * halfWidth, yOffset, resolution); + PathArcToOnTerrain(stop, halfWidth, num2, num2 - (float)Math.PI, yOffset, numSegments, resolution); + PathLineToOnTerrain(stop - vector2 * halfWidth, start - vector2 * halfWidth, yOffset, resolution); + PathArcToOnTerrain(start, halfWidth, num2 - (float)Math.PI, num2 - (float)Math.PI * 2f, yOffset, numSegments, resolution); + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd, AxLineCap.Butt, AxLineJoin.None, dxParams); + } + + public void AddArrowFilledOnTerrain(Vector3 start, Vector3 stop, float halfWidth, uint color, float headLength = 0f, float headHalfWidth = 0f, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) + { + Vector3 vector = stop - start; + float num = vector.Length(); + if (!(num < 1E-06f)) + { + if (headLength == 0f) + { + headLength = halfWidth * 3f; + } + if (headHalfWidth == 0f) + { + headHalfWidth = halfWidth * 2f; + } + Vector3 vector2 = vector / num; + Vector3 vector3 = Vector3.Normalize(Vector3.Cross(vector2, Vector3.UnitY)); + if (num > headLength) + { + Vector3 vector4 = stop - vector2 * headLength; + AddQuadFilledOnTerrain(start - vector3 * halfWidth, vector4 - vector3 * halfWidth, vector4 + vector3 * halfWidth, start + vector3 * halfWidth, color, resolution, yOffset, dxParams); + AddQuadFilledOnTerrain(vector4 - vector3 * headHalfWidth, stop, stop, vector4 + vector3 * headHalfWidth, color, resolution, yOffset, dxParams); + } + else + { + AddQuadFilledOnTerrain(start - vector3 * headHalfWidth, stop, stop, start + vector3 * headHalfWidth, color, resolution, yOffset, dxParams); + } + } + } + + public void AddArrowFilledOnTerrain(Vector3 start, Vector3 stop, float halfWidth, T gradient, float headLength = 0f, float headHalfWidth = 0f, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) where T : IPctGradient + { + Vector3 vector = stop - start; + float num = vector.Length(); + if (!(num < 1E-06f)) + { + if (headLength == 0f) + { + headLength = halfWidth * 3f; + } + if (headHalfWidth == 0f) + { + headHalfWidth = halfWidth * 2f; + } + Vector3 vector2 = vector / num; + Vector3 vector3 = Vector3.Normalize(Vector3.Cross(vector2, Vector3.UnitY)); + if (num > headLength) + { + Vector3 vector4 = stop - vector2 * headLength; + AddQuadFilledOnTerrain(start - vector3 * halfWidth, vector4 - vector3 * halfWidth, vector4 + vector3 * halfWidth, start + vector3 * halfWidth, gradient, resolution, yOffset, dxParams); + AddQuadFilledOnTerrain(vector4 - vector3 * headHalfWidth, stop, stop, vector4 + vector3 * headHalfWidth, gradient, resolution, yOffset, dxParams); + } + else + { + AddQuadFilledOnTerrain(start - vector3 * headHalfWidth, stop, stop, start + vector3 * headHalfWidth, gradient, resolution, yOffset, dxParams); + } + } + } + + public void AddArrowOnTerrain(Vector3 start, Vector3 stop, float halfWidth, uint color, float headLength = 0f, float headHalfWidth = 0f, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, float resolution = 0.5f, float yOffset = 0.02f, AxDxParams? dxParams = null) + { + Vector3 vector = stop - start; + float num = vector.Length(); + if (!(num < 1E-06f)) + { + if (headLength == 0f) + { + headLength = halfWidth * 3f; + } + if (headHalfWidth == 0f) + { + headHalfWidth = halfWidth * 2f; + } + Vector3 vector2 = vector / num; + Vector3 vector3 = Vector3.Normalize(Vector3.Cross(vector2, Vector3.UnitY)); + if (num > headLength) + { + Vector3 vector4 = stop - vector2 * headLength; + PathLineToOnTerrain(start + vector3 * halfWidth, vector4 + vector3 * halfWidth, yOffset, resolution); + PathLineToOnTerrain(vector4 + vector3 * halfWidth, vector4 + vector3 * headHalfWidth, yOffset, resolution); + PathLineToOnTerrain(vector4 + vector3 * headHalfWidth, stop, yOffset, resolution); + PathLineToOnTerrain(stop, vector4 - vector3 * headHalfWidth, yOffset, resolution); + PathLineToOnTerrain(vector4 - vector3 * headHalfWidth, vector4 - vector3 * halfWidth, yOffset, resolution); + PathLineToOnTerrain(vector4 - vector3 * halfWidth, start - vector3 * halfWidth, yOffset, resolution); + } + else + { + PathLineToOnTerrain(start + vector3 * headHalfWidth, stop, yOffset, resolution); + PathLineToOnTerrain(stop, start - vector3 * headHalfWidth, yOffset, resolution); + } + PathStroke(color, AxStrokeFlags.Closed, thickness, dashLength, gapLength, dashOffset, colorEnd, AxLineCap.Butt, AxLineJoin.None, dxParams); + } + } + + private void PathArcToOnTerrain(Vector3 origin, float radius, float startAngle, float stopAngle, float yOffset, uint numSegments, float resolution) + { + float num = stopAngle - startAngle; + if (num != 0f) + { + if (numSegments == 0) + { + numSegments = (uint)MathF.Max(1f, MathF.Ceiling(MathF.Abs(num) * radius / resolution)); + } + float num2 = num / (float)numSegments; + for (int i = 0; i <= numSegments; i++) + { + float num3 = (float)Math.PI / 2f + startAngle + (float)i * num2; + float x = origin.X + MathF.Cos(num3) * radius; + float z = origin.Z + MathF.Sin(num3) * radius; + float terrainYRaw = AxTerrainQuery.GetTerrainYRaw(x, z); + float y = (float.IsNaN(terrainYRaw) ? origin.Y : terrainYRaw) + yOffset; + _path.Add(new Vector3(x, y, z)); + } + } + } + + private void PathLineToOnTerrain(Vector3 start, Vector3 end, float yOffset, float resolution) + { + float num = Vector3.Distance(start, end); + int num2 = Math.Max(1, (int)MathF.Ceiling(num / resolution)); + for (int i = 0; i < num2; i++) + { + float num3 = (float)i / (float)num2; + float x = start.X + (end.X - start.X) * num3; + float z = start.Z + (end.Z - start.Z) * num3; + float terrainYRaw = AxTerrainQuery.GetTerrainYRaw(x, z); + float num4 = start.Y + (end.Y - start.Y) * num3; + float y = (float.IsNaN(terrainYRaw) ? num4 : terrainYRaw) + yOffset; + _path.Add(new Vector3(x, y, z)); + } + } +} diff --git a/Auspex/Auspex/AxDrawListObjectExtensions.cs b/Auspex/Auspex/AxDrawListObjectExtensions.cs new file mode 100644 index 0000000..6462b04 --- /dev/null +++ b/Auspex/Auspex/AxDrawListObjectExtensions.cs @@ -0,0 +1,333 @@ +using System; +using System.Numerics; +using Dalamud.Game.ClientState.Objects.Types; +using Dalamud.Interface.Textures.TextureWraps; + +namespace Auspex; + +public static class AxDrawListObjectExtensions +{ + public static Vector3 ResolvePosition(IGameObject target, Vector3 localOffset = default(Vector3)) + { + Vector3 position = target.Position; + if (localOffset == Vector3.Zero) + { + return position; + } + float num = MathF.Cos(target.Rotation); + float num2 = MathF.Sin(target.Rotation); + return new Vector3(position.X - localOffset.X * num - localOffset.Z * num2, position.Y + localOffset.Y, position.Z - localOffset.X * num2 + localOffset.Z * num); + } + + public static void AddDot(this AxDrawList drawList, IGameObject target, float radiusPixels, uint color, Vector3 localOffset = default(Vector3), uint numSegments = 0u) + { + drawList.AddDot(ResolvePosition(target, localOffset), radiusPixels, color, numSegments); + } + + public static void AddText(this AxDrawList drawList, IGameObject target, uint color, string text, Vector3 localOffset = default(Vector3), float scale = 1f, uint? outlineColor = null, float outlineThickness = 1f, uint? shadowColor = null, Vector2? shadowOffset = null) + { + drawList.AddText(ResolvePosition(target, localOffset), color, text, scale, outlineColor, outlineThickness, shadowColor, shadowOffset); + } + + public static void AddWorldText(this AxDrawList drawList, IGameObject target, uint color, string text, Vector3 localOffset = default(Vector3), float scale = 1f, uint? outlineColor = null, float outlineThickness = 1f, uint? shadowColor = null, Vector2? shadowOffset = null) + { + drawList.AddWorldText(ResolvePosition(target, localOffset), color, text, scale, outlineColor, outlineThickness, shadowColor, shadowOffset); + } + + public static void AddTexture(this AxDrawList drawList, IGameObject target, IDalamudTextureWrap texture, Vector3 localOffset = default(Vector3), float scale = 1f, uint color = uint.MaxValue) + { + drawList.AddTexture(ResolvePosition(target, localOffset), texture, scale, color); + } + + public static void AddBillboard(this AxDrawList drawList, IGameObject target, IDalamudTextureWrap texture, float width, float height, Vector3 localOffset = default(Vector3), uint color = uint.MaxValue, float rotation = 0f, Vector2 uvMin = default(Vector2), Vector2 uvMax = default(Vector2)) + { + drawList.AddBillboard(ResolvePosition(target, localOffset), texture, width, height, color, rotation, uvMin, uvMax); + } + + public static void AddBillboard(this AxDrawList drawList, IGameObject target, IDalamudTextureWrap texture, Vector3 localOffset = default(Vector3), float scale = 1f, uint color = uint.MaxValue, float rotation = 0f, Vector2 uvMin = default(Vector2), Vector2 uvMax = default(Vector2)) + { + drawList.AddBillboard(ResolvePosition(target, localOffset), texture, scale, color, rotation, uvMin, uvMax); + } + + public static void AddCircle(this AxDrawList drawList, IGameObject target, float radius, uint color, Vector3 localOffset = default(Vector3), uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null) + { + drawList.AddCircle(ResolvePosition(target, localOffset), radius, color, numSegments, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + + public static void AddCircleFilled(this AxDrawList drawList, IGameObject target, float radius, uint color, Vector3 localOffset = default(Vector3), uint? colorEnd = null, uint numSegments = 0u) + { + drawList.AddCircleFilled(ResolvePosition(target, localOffset), radius, color, colorEnd, numSegments); + } + + public static void AddCircleFilled(this AxDrawList drawList, IGameObject target, float radius, T gradient, Vector3 localOffset = default(Vector3), uint numSegments = 0u) where T : IPctGradient + { + drawList.AddCircleFilled(ResolvePosition(target, localOffset), radius, gradient, numSegments); + } + + public static void AddCone(this AxDrawList drawList, IGameObject target, float radius, float angle, uint color, Vector3 localOffset = default(Vector3), float rotationOffset = 0f, uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null) + { + drawList.AddCone(ResolvePosition(target, localOffset), radius, target.Rotation + rotationOffset, angle, color, numSegments, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + + public static void AddConeFilled(this AxDrawList drawList, IGameObject target, float radius, float angle, uint color, Vector3 localOffset = default(Vector3), float rotationOffset = 0f, uint? colorEnd = null, uint numSegments = 0u) + { + drawList.AddConeFilled(ResolvePosition(target, localOffset), radius, target.Rotation + rotationOffset, angle, color, colorEnd, numSegments); + } + + public static void AddConeFilled(this AxDrawList drawList, IGameObject target, float radius, float angle, T gradient, Vector3 localOffset = default(Vector3), float rotationOffset = 0f, uint numSegments = 0u) where T : IPctGradient + { + drawList.AddConeFilled(ResolvePosition(target, localOffset), radius, target.Rotation + rotationOffset, angle, gradient, numSegments); + } + + public static void AddFan(this AxDrawList drawList, IGameObject target, float innerRadius, float outerRadius, float minAngleOffset, float maxAngleOffset, uint color, Vector3 localOffset = default(Vector3), uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null) + { + float rotation = target.Rotation; + drawList.AddFan(ResolvePosition(target, localOffset), innerRadius, outerRadius, rotation + minAngleOffset, rotation + maxAngleOffset, color, numSegments, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + + public static void AddFanFilled(this AxDrawList drawList, IGameObject target, float innerRadius, float outerRadius, float minAngleOffset, float maxAngleOffset, uint color, Vector3 localOffset = default(Vector3), uint? colorEnd = null, uint numSegments = 0u) + { + float rotation = target.Rotation; + drawList.AddFanFilled(ResolvePosition(target, localOffset), innerRadius, outerRadius, rotation + minAngleOffset, rotation + maxAngleOffset, color, colorEnd, numSegments); + } + + public static void AddFanFilled(this AxDrawList drawList, IGameObject target, float innerRadius, float outerRadius, float minAngleOffset, float maxAngleOffset, T gradient, Vector3 localOffset = default(Vector3), uint numSegments = 0u) where T : IPctGradient + { + float rotation = target.Rotation; + drawList.AddFanFilled(ResolvePosition(target, localOffset), innerRadius, outerRadius, rotation + minAngleOffset, rotation + maxAngleOffset, gradient, numSegments); + } + + public static void AddArc(this AxDrawList drawList, IGameObject target, float radius, float minAngleOffset, float maxAngleOffset, uint color, Vector3 localOffset = default(Vector3), uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null) + { + float rotation = target.Rotation; + drawList.AddArc(ResolvePosition(target, localOffset), radius, rotation + minAngleOffset, rotation + maxAngleOffset, color, numSegments, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + + public static void AddArcFilled(this AxDrawList drawList, IGameObject target, float radius, float minAngleOffset, float maxAngleOffset, uint color, Vector3 localOffset = default(Vector3), uint? colorEnd = null, uint numSegments = 0u) + { + float rotation = target.Rotation; + drawList.AddArcFilled(ResolvePosition(target, localOffset), radius, rotation + minAngleOffset, rotation + maxAngleOffset, color, colorEnd, numSegments); + } + + public static void AddArcFilled(this AxDrawList drawList, IGameObject target, float radius, float minAngleOffset, float maxAngleOffset, T gradient, Vector3 localOffset = default(Vector3), uint numSegments = 0u) where T : IPctGradient + { + float rotation = target.Rotation; + drawList.AddArcFilled(ResolvePosition(target, localOffset), radius, rotation + minAngleOffset, rotation + maxAngleOffset, gradient, numSegments); + } + + public static void AddRegularPolygon(this AxDrawList drawList, IGameObject target, float radius, uint numSides, uint color, Vector3 localOffset = default(Vector3), float rotationOffset = 0f, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null) + { + drawList.AddRegularPolygon(ResolvePosition(target, localOffset), radius, numSides, color, target.Rotation + rotationOffset, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + + public static void AddRegularPolygonFilled(this AxDrawList drawList, IGameObject target, float radius, uint numSides, uint color, Vector3 localOffset = default(Vector3), float rotationOffset = 0f) + { + drawList.AddRegularPolygonFilled(ResolvePosition(target, localOffset), radius, numSides, color, target.Rotation + rotationOffset); + } + + public static void AddRegularPolygonFilled(this AxDrawList drawList, IGameObject target, float radius, uint numSides, T gradient, Vector3 localOffset = default(Vector3), float rotationOffset = 0f) where T : IPctGradient + { + drawList.AddRegularPolygonFilled(ResolvePosition(target, localOffset), radius, numSides, gradient, target.Rotation + rotationOffset); + } + + public static void AddStar(this AxDrawList drawList, IGameObject target, float outerRadius, float innerRadius, uint numPoints, uint color, Vector3 localOffset = default(Vector3), float rotationOffset = 0f, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null) + { + drawList.AddStar(ResolvePosition(target, localOffset), outerRadius, innerRadius, numPoints, color, target.Rotation + rotationOffset, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + + public static void AddStarFilled(this AxDrawList drawList, IGameObject target, float outerRadius, float innerRadius, uint numPoints, uint color, Vector3 localOffset = default(Vector3), float rotationOffset = 0f) + { + drawList.AddStarFilled(ResolvePosition(target, localOffset), outerRadius, innerRadius, numPoints, color, target.Rotation + rotationOffset); + } + + public static void AddStarFilled(this AxDrawList drawList, IGameObject target, float outerRadius, float innerRadius, uint numPoints, T gradient, Vector3 localOffset = default(Vector3), float rotationOffset = 0f) where T : IPctGradient + { + drawList.AddStarFilled(ResolvePosition(target, localOffset), outerRadius, innerRadius, numPoints, gradient, target.Rotation + rotationOffset); + } + + public static void AddRoundedRect(this AxDrawList drawList, IGameObject target, float halfWidth, float halfHeight, float cornerRadius, uint color, Vector3 localOffset = default(Vector3), float rotationOffset = 0f, uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null) + { + drawList.AddRoundedRect(ResolvePosition(target, localOffset), halfWidth, halfHeight, cornerRadius, color, numSegments, thickness, dashLength, gapLength, dashOffset, colorEnd, target.Rotation + rotationOffset); + } + + public static void AddRoundedRectFilled(this AxDrawList drawList, IGameObject target, float halfWidth, float halfHeight, float cornerRadius, uint color, Vector3 localOffset = default(Vector3), float rotationOffset = 0f, uint numSegments = 0u) + { + drawList.AddRoundedRectFilled(ResolvePosition(target, localOffset), halfWidth, halfHeight, cornerRadius, color, numSegments, target.Rotation + rotationOffset); + } + + public static void AddRoundedRectFilled(this AxDrawList drawList, IGameObject target, float halfWidth, float halfHeight, float cornerRadius, T gradient, Vector3 localOffset = default(Vector3), float rotationOffset = 0f, uint numSegments = 0u) where T : IPctGradient + { + drawList.AddRoundedRectFilled(ResolvePosition(target, localOffset), halfWidth, halfHeight, cornerRadius, gradient, numSegments, target.Rotation + rotationOffset); + } + + public static void AddLine(this AxDrawList drawList, IGameObject from, IGameObject to, float halfWidth, uint color, Vector3 fromOffset = default(Vector3), Vector3 toOffset = default(Vector3), float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null) + { + drawList.AddLine(ResolvePosition(from, fromOffset), ResolvePosition(to, toOffset), halfWidth, color, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + + public static void AddLineFilled(this AxDrawList drawList, IGameObject from, IGameObject to, float halfWidth, uint color, Vector3 fromOffset = default(Vector3), Vector3 toOffset = default(Vector3), uint? colorEnd = null) + { + drawList.AddLineFilled(ResolvePosition(from, fromOffset), ResolvePosition(to, toOffset), halfWidth, color, colorEnd); + } + + public static void AddLineFilled(this AxDrawList drawList, IGameObject from, IGameObject to, float halfWidth, T gradient, Vector3 fromOffset = default(Vector3), Vector3 toOffset = default(Vector3)) where T : IPctGradient + { + drawList.AddLineFilled(ResolvePosition(from, fromOffset), ResolvePosition(to, toOffset), halfWidth, gradient); + } + + public static void AddArrow(this AxDrawList drawList, IGameObject from, IGameObject to, float halfWidth, uint color, Vector3 fromOffset = default(Vector3), Vector3 toOffset = default(Vector3), float headLength = 0f, float headHalfWidth = 0f, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null) + { + drawList.AddArrow(ResolvePosition(from, fromOffset), ResolvePosition(to, toOffset), halfWidth, color, headLength, headHalfWidth, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + + public static void AddArrowFilled(this AxDrawList drawList, IGameObject from, IGameObject to, float halfWidth, uint color, Vector3 fromOffset = default(Vector3), Vector3 toOffset = default(Vector3), float headLength = 0f, float headHalfWidth = 0f) + { + drawList.AddArrowFilled(ResolvePosition(from, fromOffset), ResolvePosition(to, toOffset), halfWidth, color, headLength, headHalfWidth); + } + + public static void AddArrowFilled(this AxDrawList drawList, IGameObject from, IGameObject to, float halfWidth, T gradient, Vector3 fromOffset = default(Vector3), Vector3 toOffset = default(Vector3), float headLength = 0f, float headHalfWidth = 0f) where T : IPctGradient + { + drawList.AddArrowFilled(ResolvePosition(from, fromOffset), ResolvePosition(to, toOffset), halfWidth, gradient, headLength, headHalfWidth); + } + + public static void AddPill(this AxDrawList drawList, IGameObject from, IGameObject to, float halfWidth, uint color, Vector3 fromOffset = default(Vector3), Vector3 toOffset = default(Vector3), uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null) + { + drawList.AddPill(ResolvePosition(from, fromOffset), ResolvePosition(to, toOffset), halfWidth, color, numSegments, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + + public static void AddPillFilled(this AxDrawList drawList, IGameObject from, IGameObject to, float halfWidth, uint color, Vector3 fromOffset = default(Vector3), Vector3 toOffset = default(Vector3), uint numSegments = 0u) + { + drawList.AddPillFilled(ResolvePosition(from, fromOffset), ResolvePosition(to, toOffset), halfWidth, color, numSegments); + } + + public static void AddPillFilled(this AxDrawList drawList, IGameObject from, IGameObject to, float halfWidth, T gradient, Vector3 fromOffset = default(Vector3), Vector3 toOffset = default(Vector3), uint numSegments = 0u) where T : IPctGradient + { + drawList.AddPillFilled(ResolvePosition(from, fromOffset), ResolvePosition(to, toOffset), halfWidth, gradient, numSegments); + } + + public static void AddCircleFilledOnTerrain(this AxDrawList drawList, IGameObject target, float radius, uint color, Vector3 localOffset = default(Vector3), uint? colorEnd = null, uint numSegments = 0u, float resolution = 0.5f, float yOffset = 0.02f) + { + drawList.AddCircleFilledOnTerrain(ResolvePosition(target, localOffset), radius, color, colorEnd, numSegments, resolution, yOffset); + } + + public static void AddCircleFilledOnTerrain(this AxDrawList drawList, IGameObject target, float radius, T gradient, Vector3 localOffset = default(Vector3), uint numSegments = 0u, float resolution = 0.5f, float yOffset = 0.02f) where T : IPctGradient + { + drawList.AddCircleFilledOnTerrain(ResolvePosition(target, localOffset), radius, gradient, numSegments, resolution, yOffset); + } + + public static void AddCircleOnTerrain(this AxDrawList drawList, IGameObject target, float radius, uint color, Vector3 localOffset = default(Vector3), uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, float resolution = 0.5f, float yOffset = 0.02f) + { + drawList.AddCircleOnTerrain(ResolvePosition(target, localOffset), radius, color, numSegments, thickness, dashLength, gapLength, dashOffset, colorEnd, resolution, yOffset); + } + + public static void AddConeFilledOnTerrain(this AxDrawList drawList, IGameObject target, float radius, float angle, uint color, Vector3 localOffset = default(Vector3), float rotationOffset = 0f, uint? colorEnd = null, uint numSegments = 0u, float resolution = 0.5f, float yOffset = 0.02f) + { + drawList.AddConeFilledOnTerrain(ResolvePosition(target, localOffset), radius, target.Rotation + rotationOffset, angle, color, colorEnd, numSegments, resolution, yOffset); + } + + public static void AddConeFilledOnTerrain(this AxDrawList drawList, IGameObject target, float radius, float angle, T gradient, Vector3 localOffset = default(Vector3), float rotationOffset = 0f, uint numSegments = 0u, float resolution = 0.5f, float yOffset = 0.02f) where T : IPctGradient + { + drawList.AddConeFilledOnTerrain(ResolvePosition(target, localOffset), radius, target.Rotation + rotationOffset, angle, gradient, numSegments, resolution, yOffset); + } + + public static void AddConeOnTerrain(this AxDrawList drawList, IGameObject target, float radius, float angle, uint color, Vector3 localOffset = default(Vector3), float rotationOffset = 0f, uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, float resolution = 0.5f, float yOffset = 0.02f) + { + drawList.AddConeOnTerrain(ResolvePosition(target, localOffset), radius, target.Rotation + rotationOffset, angle, color, numSegments, thickness, dashLength, gapLength, dashOffset, colorEnd, resolution, yOffset); + } + + public static void AddFanFilledOnTerrain(this AxDrawList drawList, IGameObject target, float innerRadius, float outerRadius, float minAngleOffset, float maxAngleOffset, uint color, Vector3 localOffset = default(Vector3), uint? colorEnd = null, uint numSegments = 0u, float resolution = 0.5f, float yOffset = 0.02f) + { + float rotation = target.Rotation; + drawList.AddFanFilledOnTerrain(ResolvePosition(target, localOffset), innerRadius, outerRadius, rotation + minAngleOffset, rotation + maxAngleOffset, color, colorEnd, numSegments, resolution, yOffset); + } + + public static void AddFanFilledOnTerrain(this AxDrawList drawList, IGameObject target, float innerRadius, float outerRadius, float minAngleOffset, float maxAngleOffset, T gradient, Vector3 localOffset = default(Vector3), uint numSegments = 0u, float resolution = 0.5f, float yOffset = 0.02f) where T : IPctGradient + { + float rotation = target.Rotation; + drawList.AddFanFilledOnTerrain(ResolvePosition(target, localOffset), innerRadius, outerRadius, rotation + minAngleOffset, rotation + maxAngleOffset, gradient, numSegments, resolution, yOffset); + } + + public static void AddFanOnTerrain(this AxDrawList drawList, IGameObject target, float innerRadius, float outerRadius, float minAngleOffset, float maxAngleOffset, uint color, Vector3 localOffset = default(Vector3), uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, float resolution = 0.5f, float yOffset = 0.02f) + { + float rotation = target.Rotation; + drawList.AddFanOnTerrain(ResolvePosition(target, localOffset), innerRadius, outerRadius, rotation + minAngleOffset, rotation + maxAngleOffset, color, numSegments, thickness, dashLength, gapLength, dashOffset, colorEnd, resolution, yOffset); + } + + public static void AddLineFilledOnTerrain(this AxDrawList drawList, IGameObject from, IGameObject to, float halfWidth, uint color, Vector3 fromOffset = default(Vector3), Vector3 toOffset = default(Vector3), uint? colorEnd = null, float resolution = 0.5f, float yOffset = 0.02f) + { + drawList.AddLineFilledOnTerrain(ResolvePosition(from, fromOffset), ResolvePosition(to, toOffset), halfWidth, color, colorEnd, resolution, yOffset); + } + + public static void AddLineFilledOnTerrain(this AxDrawList drawList, IGameObject from, IGameObject to, float halfWidth, T gradient, Vector3 fromOffset = default(Vector3), Vector3 toOffset = default(Vector3), float resolution = 0.5f, float yOffset = 0.02f) where T : IPctGradient + { + drawList.AddLineFilledOnTerrain(ResolvePosition(from, fromOffset), ResolvePosition(to, toOffset), halfWidth, gradient, resolution, yOffset); + } + + public static void AddLineOnTerrain(this AxDrawList drawList, IGameObject from, IGameObject to, float halfWidth, uint color, Vector3 fromOffset = default(Vector3), Vector3 toOffset = default(Vector3), float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, float resolution = 0.5f, float yOffset = 0.02f) + { + drawList.AddLineOnTerrain(ResolvePosition(from, fromOffset), ResolvePosition(to, toOffset), halfWidth, color, thickness, dashLength, gapLength, dashOffset, colorEnd, resolution, yOffset); + } + + public static void AddArrowFilledOnTerrain(this AxDrawList drawList, IGameObject from, IGameObject to, float halfWidth, uint color, Vector3 fromOffset = default(Vector3), Vector3 toOffset = default(Vector3), float headLength = 0f, float headHalfWidth = 0f, float resolution = 0.5f, float yOffset = 0.02f) + { + drawList.AddArrowFilledOnTerrain(ResolvePosition(from, fromOffset), ResolvePosition(to, toOffset), halfWidth, color, headLength, headHalfWidth, resolution, yOffset); + } + + public static void AddArrowFilledOnTerrain(this AxDrawList drawList, IGameObject from, IGameObject to, float halfWidth, T gradient, Vector3 fromOffset = default(Vector3), Vector3 toOffset = default(Vector3), float headLength = 0f, float headHalfWidth = 0f, float resolution = 0.5f, float yOffset = 0.02f) where T : IPctGradient + { + drawList.AddArrowFilledOnTerrain(ResolvePosition(from, fromOffset), ResolvePosition(to, toOffset), halfWidth, gradient, headLength, headHalfWidth, resolution, yOffset); + } + + public static void AddArrowOnTerrain(this AxDrawList drawList, IGameObject from, IGameObject to, float halfWidth, uint color, Vector3 fromOffset = default(Vector3), Vector3 toOffset = default(Vector3), float headLength = 0f, float headHalfWidth = 0f, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, float resolution = 0.5f, float yOffset = 0.02f) + { + drawList.AddArrowOnTerrain(ResolvePosition(from, fromOffset), ResolvePosition(to, toOffset), halfWidth, color, headLength, headHalfWidth, thickness, dashLength, gapLength, dashOffset, colorEnd, resolution, yOffset); + } + + public static void AddPillFilledOnTerrain(this AxDrawList drawList, IGameObject from, IGameObject to, float halfWidth, uint color, Vector3 fromOffset = default(Vector3), Vector3 toOffset = default(Vector3), uint numSegments = 0u, float resolution = 0.5f, float yOffset = 0.02f) + { + drawList.AddPillFilledOnTerrain(ResolvePosition(from, fromOffset), ResolvePosition(to, toOffset), halfWidth, color, numSegments, resolution, yOffset); + } + + public static void AddPillFilledOnTerrain(this AxDrawList drawList, IGameObject from, IGameObject to, float halfWidth, T gradient, Vector3 fromOffset = default(Vector3), Vector3 toOffset = default(Vector3), uint numSegments = 0u, float resolution = 0.5f, float yOffset = 0.02f) where T : IPctGradient + { + drawList.AddPillFilledOnTerrain(ResolvePosition(from, fromOffset), ResolvePosition(to, toOffset), halfWidth, gradient, numSegments, resolution, yOffset); + } + + public static void AddPillOnTerrain(this AxDrawList drawList, IGameObject from, IGameObject to, float halfWidth, uint color, Vector3 fromOffset = default(Vector3), Vector3 toOffset = default(Vector3), uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, float resolution = 0.5f, float yOffset = 0.02f) + { + drawList.AddPillOnTerrain(ResolvePosition(from, fromOffset), ResolvePosition(to, toOffset), halfWidth, color, numSegments, thickness, dashLength, gapLength, dashOffset, colorEnd, resolution, yOffset); + } + + public static void AddArcFilledOnTerrain(this AxDrawList drawList, IGameObject target, float radius, float minAngleOffset, float maxAngleOffset, uint color, Vector3 localOffset = default(Vector3), uint? colorEnd = null, uint numSegments = 0u, float resolution = 0.5f, float yOffset = 0.02f) + { + float rotation = target.Rotation; + drawList.AddArcFilledOnTerrain(ResolvePosition(target, localOffset), radius, rotation + minAngleOffset, rotation + maxAngleOffset, color, colorEnd, numSegments, resolution, yOffset); + } + + public static void AddArcFilledOnTerrain(this AxDrawList drawList, IGameObject target, float radius, float minAngleOffset, float maxAngleOffset, T gradient, Vector3 localOffset = default(Vector3), uint numSegments = 0u, float resolution = 0.5f, float yOffset = 0.02f) where T : IPctGradient + { + float rotation = target.Rotation; + drawList.AddArcFilledOnTerrain(ResolvePosition(target, localOffset), radius, rotation + minAngleOffset, rotation + maxAngleOffset, gradient, numSegments, resolution, yOffset); + } + + public static void AddArcOnTerrain(this AxDrawList drawList, IGameObject target, float radius, float minAngleOffset, float maxAngleOffset, uint color, Vector3 localOffset = default(Vector3), uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null, float resolution = 0.5f, float yOffset = 0.02f) + { + float rotation = target.Rotation; + drawList.AddArcOnTerrain(ResolvePosition(target, localOffset), radius, rotation + minAngleOffset, rotation + maxAngleOffset, color, numSegments, thickness, dashLength, gapLength, dashOffset, colorEnd, resolution, yOffset); + } + + public static void AddWireframeBox(this AxDrawList drawList, IGameObject target, Vector3 halfExtent, uint color, Vector3 localOffset = default(Vector3), float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null) + { + drawList.AddWireframeBox(ResolvePosition(target, localOffset), halfExtent, color, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + + public static void AddWireframeSphere(this AxDrawList drawList, IGameObject target, float radius, uint color, Vector3 localOffset = default(Vector3), uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null) + { + drawList.AddWireframeSphere(ResolvePosition(target, localOffset), radius, color, numSegments, thickness, dashLength, gapLength, dashOffset, colorEnd); + } + + public static void AddWireframeCylinder(this AxDrawList drawList, IGameObject target, float radius, float halfHeight, uint color, Vector3 localOffset = default(Vector3), uint numVerticals = 4u, uint numSegments = 0u, float thickness = 2f, float dashLength = 0f, float gapLength = 0f, float dashOffset = 0f, uint? colorEnd = null) + { + drawList.AddWireframeCylinder(ResolvePosition(target, localOffset), radius, halfHeight, color, numVerticals, numSegments, thickness, dashLength, gapLength, dashOffset, colorEnd); + } +} diff --git a/Auspex/Auspex/AxDxParams.cs b/Auspex/Auspex/AxDxParams.cs new file mode 100644 index 0000000..4d63fe1 --- /dev/null +++ b/Auspex/Auspex/AxDxParams.cs @@ -0,0 +1,20 @@ +namespace Auspex; + +public record struct AxDxParams +{ + public float OccludedAlpha { get; init; } + + public float OcclusionTolerance { get; init; } + + public float FadeStart { get; init; } + + public float FadeStop { get; init; } + + public AxDxParams() + { + OccludedAlpha = 1f; + OcclusionTolerance = 0f; + FadeStart = float.PositiveInfinity; + FadeStop = float.PositiveInfinity; + } +} diff --git a/Auspex/Auspex/AxEasing.cs b/Auspex/Auspex/AxEasing.cs new file mode 100644 index 0000000..7733144 --- /dev/null +++ b/Auspex/Auspex/AxEasing.cs @@ -0,0 +1,27 @@ +namespace Auspex; + +public enum AxEasing +{ + Linear, + EaseIn, + EaseOut, + EaseInOut, + CubicIn, + CubicOut, + CubicInOut, + SineIn, + SineOut, + SineInOut, + ExponentialIn, + ExponentialOut, + ExponentialInOut, + BackIn, + BackOut, + BackInOut, + ElasticIn, + ElasticOut, + ElasticInOut, + BounceIn, + BounceOut, + BounceInOut +} diff --git a/Auspex/Auspex/AxFalloffType.cs b/Auspex/Auspex/AxFalloffType.cs new file mode 100644 index 0000000..8601adc --- /dev/null +++ b/Auspex/Auspex/AxFalloffType.cs @@ -0,0 +1,8 @@ +namespace Auspex; + +public enum AxFalloffType : uint +{ + Linear, + Quadratic, + Cubic +} diff --git a/Auspex/Auspex/AxGradientStop.cs b/Auspex/Auspex/AxGradientStop.cs new file mode 100644 index 0000000..e4e0cc5 --- /dev/null +++ b/Auspex/Auspex/AxGradientStop.cs @@ -0,0 +1,3 @@ +namespace Auspex; + +public readonly record struct AxGradientStop(float Position, uint Color); diff --git a/Auspex/Auspex/AxLightConfig.cs b/Auspex/Auspex/AxLightConfig.cs new file mode 100644 index 0000000..c515d3d --- /dev/null +++ b/Auspex/Auspex/AxLightConfig.cs @@ -0,0 +1,48 @@ +using System.Numerics; + +namespace Auspex; + +public struct AxLightConfig +{ + public static readonly AxLightConfig Default = new AxLightConfig(); + + public Vector3 Color; + + public float Intensity; + + public float Range; + + public float LightAngle; + + public float FalloffAngle; + + public AxLightFlags Flags; + + public Quaternion? Rotation; + + public AxFalloffType FalloffType; + + public float FalloffPower; + + public float ShadowNear; + + public float ShadowFar; + + public float CharaShadowRange; + + public AxLightConfig() + { + Color = new Vector3(20f, 20f, 20f); + Intensity = 1f; + Range = 35f; + LightAngle = 45f; + FalloffAngle = 0.5f; + Flags = AxLightFlags.Reflection; + Rotation = null; + FalloffType = AxFalloffType.Quadratic; + FalloffPower = 1f; + ShadowNear = 0.01f; + ShadowFar = 17f; + CharaShadowRange = 110f; + } +} diff --git a/Auspex/Auspex/AxLightFlags.cs b/Auspex/Auspex/AxLightFlags.cs new file mode 100644 index 0000000..31677e3 --- /dev/null +++ b/Auspex/Auspex/AxLightFlags.cs @@ -0,0 +1,13 @@ +using System; + +namespace Auspex; + +[Flags] +public enum AxLightFlags : uint +{ + None = 0u, + Reflection = 1u, + DynamicShadow = 2u, + CharaShadow = 4u, + ObjectShadow = 8u +} diff --git a/Auspex/Auspex/AxLightType.cs b/Auspex/Auspex/AxLightType.cs new file mode 100644 index 0000000..2fc0850 --- /dev/null +++ b/Auspex/Auspex/AxLightType.cs @@ -0,0 +1,9 @@ +namespace Auspex; + +public enum AxLightType : uint +{ + Directional = 1u, + PointLight, + SpotLight, + AreaLight +} diff --git a/Auspex/Auspex/AxLineCap.cs b/Auspex/Auspex/AxLineCap.cs new file mode 100644 index 0000000..dca5f85 --- /dev/null +++ b/Auspex/Auspex/AxLineCap.cs @@ -0,0 +1,8 @@ +namespace Auspex; + +public enum AxLineCap +{ + Butt, + Square, + Round +} diff --git a/Auspex/Auspex/AxLineJoin.cs b/Auspex/Auspex/AxLineJoin.cs new file mode 100644 index 0000000..92aa819 --- /dev/null +++ b/Auspex/Auspex/AxLineJoin.cs @@ -0,0 +1,9 @@ +namespace Auspex; + +public enum AxLineJoin +{ + None, + Miter, + Bevel, + Round +} diff --git a/Auspex/Auspex/AxLinearGradient.cs b/Auspex/Auspex/AxLinearGradient.cs new file mode 100644 index 0000000..20074c3 --- /dev/null +++ b/Auspex/Auspex/AxLinearGradient.cs @@ -0,0 +1,33 @@ +using System; +using System.Numerics; +using Auspex.Rendering.Direct3D; + +namespace Auspex; + +public readonly struct AxLinearGradient : IPctGradient +{ + private readonly Vector3 _start; + + private readonly Vector3 _axis; + + private readonly float _invLenSq; + + private readonly Vector4 _colorStart; + + private readonly Vector4 _colorEnd; + + public AxLinearGradient(Vector3 start, Vector3 end, uint colorStart, uint colorEnd) + { + _start = start; + _axis = end - start; + _invLenSq = 1f / Vector3.Dot(_axis, _axis); + _colorStart = colorStart.ToVector4(); + _colorEnd = colorEnd.ToVector4(); + } + + public uint ColorAt(Vector3 point) + { + float amount = Math.Clamp(Vector3.Dot(point - _start, _axis) * _invLenSq, 0f, 1f); + return Vector4.Lerp(_colorStart, _colorEnd, amount).ToUint(); + } +} diff --git a/Auspex/Auspex/AxMinimap.cs b/Auspex/Auspex/AxMinimap.cs new file mode 100644 index 0000000..051f59b --- /dev/null +++ b/Auspex/Auspex/AxMinimap.cs @@ -0,0 +1,184 @@ +using System; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; +using Dalamud.Bindings.ImGui; + +namespace Auspex; + +public readonly record struct AxMinimap(Vector2 screenCenter, float screenHalfSize, Vector3 viewCenter, float viewRadius, float cameraAzimuth) +{ + private readonly float _cos = MathF.Cos(cameraAzimuth); + + private readonly float _sin = MathF.Sin(cameraAzimuth); + + private readonly float _scale = screenHalfSize / viewRadius; + + public Vector2 WorldToScreen(Vector3 world) + { + return WorldToScreen(world.X, world.Z); + } + + public Vector2 WorldToScreen(float worldX, float worldZ) + { + float num = worldX - viewCenter.X; + float num2 = worldZ - viewCenter.Z; + float num3 = num * _cos - num2 * _sin; + float num4 = num * _sin + num2 * _cos; + return new Vector2(screenCenter.X + num3 * _scale, screenCenter.Y + num4 * _scale); + } + + public void PushClip(ImDrawListPtr drawList) + { + Vector2 clipRectMin = screenCenter - new Vector2(screenHalfSize); + Vector2 clipRectMax = screenCenter + new Vector2(screenHalfSize); + drawList.PushClipRect(clipRectMin, clipRectMax, intersectWithCurrentClipRect: true); + } + + public void PopClip(ImDrawListPtr drawList) + { + drawList.PopClipRect(); + } + + public void DrawTerrain(ImDrawListPtr drawList, AxTerrainMap map, uint voidColor, uint terrainColor) + { + DrawTerrainBackground(drawList, voidColor); + if (!map.IsEmpty) + { + DrawTerrainCells(drawList, map, (float _) => terrainColor); + } + } + + public void DrawTerrain(ImDrawListPtr drawList, AxTerrainMap map, uint voidColor, Func colorFunc) + { + DrawTerrainBackground(drawList, voidColor); + if (!map.IsEmpty) + { + DrawTerrainCells(drawList, map, colorFunc); + } + } + + private void DrawTerrainBackground(ImDrawListPtr drawList, uint voidColor) + { + Vector2 pMin = screenCenter - new Vector2(screenHalfSize); + Vector2 pMax = screenCenter + new Vector2(screenHalfSize); + drawList.AddRectFilled(pMin, pMax, voidColor); + } + + private void DrawTerrainCells(ImDrawListPtr drawList, AxTerrainMap map, Func colorFunc) + { + float cellSize = map.CellSize; + float num = viewCenter.X - viewRadius; + float num2 = viewCenter.Z - viewRadius; + float num3 = viewCenter.X + viewRadius; + float num4 = viewCenter.Z + viewRadius; + int num5 = Math.Max(0, (int)MathF.Floor((num - map.WorldMinX) / cellSize)); + int num6 = Math.Max(0, (int)MathF.Floor((num2 - map.WorldMinZ) / cellSize)); + int num7 = Math.Min(map.GridWidth - 1, (int)MathF.Floor((num3 - map.WorldMinX) / cellSize)); + int num8 = Math.Min(map.GridHeight - 1, (int)MathF.Floor((num4 - map.WorldMinZ) / cellSize)); + float num9 = 1f / _scale; + for (int i = num6; i <= num8; i++) + { + float num10 = map.WorldMinZ + (float)i * cellSize; + float worldZ = num10 + cellSize + num9; + for (int j = num5; j <= num7; j++) + { + float height = map.GetHeight(j, i); + if (!float.IsNaN(height)) + { + float num11 = map.WorldMinX + (float)j * cellSize; + float worldX = num11 + cellSize + num9; + Vector2 p = WorldToScreen(num11, num10); + Vector2 p2 = WorldToScreen(worldX, num10); + Vector2 p3 = WorldToScreen(worldX, worldZ); + Vector2 p4 = WorldToScreen(num11, worldZ); + uint col = colorFunc(height); + drawList.AddQuadFilled(p, p2, p3, p4, col); + } + } + } + } + + public void AddCircle(ImDrawListPtr drawList, Vector3 worldPos, float worldRadius, uint color, float thickness = 1f, int numSegments = 0) + { + Vector2 center = WorldToScreen(worldPos); + float radius = worldRadius * _scale; + drawList.AddCircle(center, radius, color, numSegments, thickness); + } + + public void AddCircleFilled(ImDrawListPtr drawList, Vector3 worldPos, float worldRadius, uint color, int numSegments = 0) + { + Vector2 center = WorldToScreen(worldPos); + float radius = worldRadius * _scale; + drawList.AddCircleFilled(center, radius, color, numSegments); + } + + public void AddLine(ImDrawListPtr drawList, Vector3 worldStart, Vector3 worldEnd, uint color, float thickness = 1f) + { + Vector2 p = WorldToScreen(worldStart); + Vector2 p2 = WorldToScreen(worldEnd); + drawList.AddLine(p, p2, color, thickness); + } + + public void AddArrow(ImDrawListPtr drawList, Vector3 worldStart, Vector3 worldEnd, uint color, float thickness = 1f, float headLength = 8f) + { + Vector2 vector = WorldToScreen(worldStart); + Vector2 vector2 = WorldToScreen(worldEnd); + drawList.AddLine(vector, vector2, color, thickness); + Vector2 vector3 = vector2 - vector; + float num = vector3.Length(); + if (!(num < 0.001f)) + { + vector3 /= num; + Vector2 vector4 = new Vector2(0f - vector3.Y, vector3.X); + float num2 = MathF.Min(headLength, num * 0.4f); + float num3 = num2 * 0.5f; + Vector2 p = vector2; + Vector2 p2 = vector2 - vector3 * num2 + vector4 * num3; + Vector2 p3 = vector2 - vector3 * num2 - vector4 * num3; + drawList.AddTriangleFilled(p, p2, p3, color); + } + } + + public void AddTriangleMarker(ImDrawListPtr drawList, Vector3 worldPos, float heading, uint color, float sizePixels = 10f) + { + Vector2 vector = WorldToScreen(worldPos); + float num = heading - cameraAzimuth; + float num2 = MathF.Cos(num); + float num3 = MathF.Sin(num); + float num4 = sizePixels * 0.6f; + Vector2 p = vector + new Vector2((0f - num3) * sizePixels * 0.6f, (0f - num2) * sizePixels * 0.6f); + Vector2 p2 = vector + new Vector2((0f - num3) * ((0f - sizePixels) * 0.4f) - num2 * num4 * 0.5f, (0f - num2) * ((0f - sizePixels) * 0.4f) + num3 * num4 * 0.5f); + Vector2 p3 = vector + new Vector2((0f - num3) * ((0f - sizePixels) * 0.4f) + num2 * num4 * 0.5f, (0f - num2) * ((0f - sizePixels) * 0.4f) - num3 * num4 * 0.5f); + drawList.AddTriangleFilled(p, p2, p3, color); + } + + public void AddText(ImDrawListPtr drawList, Vector3 worldPos, uint color, string text) + { + Vector2 pos = WorldToScreen(worldPos); + drawList.AddText(pos, color, text); + } + + public void DrawBorder(ImDrawListPtr drawList, uint color, float thickness = 1f) + { + Vector2 pMin = screenCenter - new Vector2(screenHalfSize); + Vector2 pMax = screenCenter + new Vector2(screenHalfSize); + drawList.AddRect(pMin, pMax, color, 0f, ImDrawFlags.None, thickness); + } + + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + builder.Append("screenCenter = "); + builder.Append(screenCenter.ToString()); + builder.Append(", screenHalfSize = "); + builder.Append(screenHalfSize.ToString()); + builder.Append(", viewCenter = "); + builder.Append(viewCenter.ToString()); + builder.Append(", viewRadius = "); + builder.Append(viewRadius.ToString()); + builder.Append(", cameraAzimuth = "); + builder.Append(cameraAzimuth.ToString()); + return true; + } +} diff --git a/Auspex/Auspex/AxMultiStopAngularGradient.cs b/Auspex/Auspex/AxMultiStopAngularGradient.cs new file mode 100644 index 0000000..73815f3 --- /dev/null +++ b/Auspex/Auspex/AxMultiStopAngularGradient.cs @@ -0,0 +1,31 @@ +using System; +using System.Numerics; +using Auspex.Rendering.Direct3D; + +namespace Auspex; + +public readonly struct AxMultiStopAngularGradient : IPctGradient +{ + private readonly Vector3 _center; + + private readonly float _minAngle; + + private readonly float _invRange; + + private readonly float[] _positions; + + private readonly Vector4[] _colors; + + public AxMultiStopAngularGradient(Vector3 center, float minAngle, float maxAngle, params AxGradientStop[] stops) + { + _center = center; + _minAngle = minAngle; + _invRange = 1f / (maxAngle - minAngle); + (_positions, _colors) = AxMultiStopLinearGradient.ParseStops(stops); + } + + public uint ColorAt(Vector3 point) + { + return AxMultiStopLinearGradient.SampleStops(Math.Clamp((MathF.Atan2(point.Z - _center.Z, point.X - _center.X) - (float)Math.PI / 2f - _minAngle) * _invRange % 1f, 0f, 1f), _positions, _colors).ToUint(); + } +} diff --git a/Auspex/Auspex/AxMultiStopLinearGradient.cs b/Auspex/Auspex/AxMultiStopLinearGradient.cs new file mode 100644 index 0000000..31d87e1 --- /dev/null +++ b/Auspex/Auspex/AxMultiStopLinearGradient.cs @@ -0,0 +1,70 @@ +using System; +using System.Numerics; +using Auspex.Rendering.Direct3D; + +namespace Auspex; + +public readonly struct AxMultiStopLinearGradient : IPctGradient +{ + private readonly Vector3 _start; + + private readonly Vector3 _axis; + + private readonly float _invLenSq; + + private readonly float[] _positions; + + private readonly Vector4[] _colors; + + public AxMultiStopLinearGradient(Vector3 start, Vector3 end, params AxGradientStop[] stops) + { + _start = start; + _axis = end - start; + _invLenSq = 1f / Vector3.Dot(_axis, _axis); + (_positions, _colors) = ParseStops(stops); + } + + public uint ColorAt(Vector3 point) + { + return SampleStops(Math.Clamp(Vector3.Dot(point - _start, _axis) * _invLenSq, 0f, 1f), _positions, _colors).ToUint(); + } + + internal static (float[] Positions, Vector4[] Colors) ParseStops(AxGradientStop[] stops) + { + AxGradientStop[] array = (AxGradientStop[])stops.Clone(); + Array.Sort(array, (AxGradientStop a, AxGradientStop b) => a.Position.CompareTo(b.Position)); + float[] array2 = new float[array.Length]; + Vector4[] array3 = new Vector4[array.Length]; + for (int num = 0; num < array.Length; num++) + { + array2[num] = array[num].Position; + array3[num] = array[num].Color.ToVector4(); + } + return (Positions: array2, Colors: array3); + } + + internal static Vector4 SampleStops(float t, float[] positions, Vector4[] colors) + { + if (colors.Length == 0) + { + return Vector4.Zero; + } + if (t <= positions[0]) + { + return colors[0]; + } + if (t >= positions[^1]) + { + return colors[^1]; + } + for (int i = 0; i < positions.Length - 1; i++) + { + if (t <= positions[i + 1]) + { + float amount = (t - positions[i]) / (positions[i + 1] - positions[i]); + return Vector4.Lerp(colors[i], colors[i + 1], amount); + } + } + return colors[^1]; + } +} diff --git a/Auspex/Auspex/AxMultiStopRadialGradient.cs b/Auspex/Auspex/AxMultiStopRadialGradient.cs new file mode 100644 index 0000000..29a6d7d --- /dev/null +++ b/Auspex/Auspex/AxMultiStopRadialGradient.cs @@ -0,0 +1,28 @@ +using System; +using System.Numerics; +using Auspex.Rendering.Direct3D; + +namespace Auspex; + +public readonly struct AxMultiStopRadialGradient : IPctGradient +{ + private readonly Vector3 _center; + + private readonly float _invRadius; + + private readonly float[] _positions; + + private readonly Vector4[] _colors; + + public AxMultiStopRadialGradient(Vector3 center, float radius, params AxGradientStop[] stops) + { + _center = center; + _invRadius = 1f / radius; + (_positions, _colors) = AxMultiStopLinearGradient.ParseStops(stops); + } + + public uint ColorAt(Vector3 point) + { + return AxMultiStopLinearGradient.SampleStops(Math.Clamp(Vector3.Distance(point, _center) * _invRadius, 0f, 1f), _positions, _colors).ToUint(); + } +} diff --git a/Auspex/Auspex/AxRadialGradient.cs b/Auspex/Auspex/AxRadialGradient.cs new file mode 100644 index 0000000..1a46c90 --- /dev/null +++ b/Auspex/Auspex/AxRadialGradient.cs @@ -0,0 +1,30 @@ +using System; +using System.Numerics; +using Auspex.Rendering.Direct3D; + +namespace Auspex; + +public readonly struct AxRadialGradient : IPctGradient +{ + private readonly Vector3 _center; + + private readonly float _invRadius; + + private readonly Vector4 _colorInner; + + private readonly Vector4 _colorOuter; + + public AxRadialGradient(Vector3 center, float radius, uint colorInner, uint colorOuter) + { + _center = center; + _invRadius = 1f / radius; + _colorInner = colorInner.ToVector4(); + _colorOuter = colorOuter.ToVector4(); + } + + public uint ColorAt(Vector3 point) + { + float amount = Math.Clamp(Vector3.Distance(point, _center) * _invRadius, 0f, 1f); + return Vector4.Lerp(_colorInner, _colorOuter, amount).ToUint(); + } +} diff --git a/Auspex/Auspex/AxRepeatMode.cs b/Auspex/Auspex/AxRepeatMode.cs new file mode 100644 index 0000000..a05183a --- /dev/null +++ b/Auspex/Auspex/AxRepeatMode.cs @@ -0,0 +1,8 @@ +namespace Auspex; + +public enum AxRepeatMode +{ + None, + Repeat, + PingPong +} diff --git a/Auspex/Auspex/AxStrokeFlags.cs b/Auspex/Auspex/AxStrokeFlags.cs new file mode 100644 index 0000000..637ecfb --- /dev/null +++ b/Auspex/Auspex/AxStrokeFlags.cs @@ -0,0 +1,10 @@ +using System; + +namespace Auspex; + +[Flags] +public enum AxStrokeFlags +{ + None = 0, + Closed = 1 +} diff --git a/Auspex/Auspex/AxTerrainMap.cs b/Auspex/Auspex/AxTerrainMap.cs new file mode 100644 index 0000000..27842d9 --- /dev/null +++ b/Auspex/Auspex/AxTerrainMap.cs @@ -0,0 +1,124 @@ +using System; +using System.Numerics; + +namespace Auspex; + +public sealed class AxTerrainMap +{ + private readonly float[] _heights; + + public float WorldMinX { get; } + + public float WorldMinZ { get; } + + public int GridWidth { get; } + + public int GridHeight { get; } + + public float CellSize { get; } + + public bool IsEmpty { get; } + + private AxTerrainMap(float[] heights, float worldMinX, float worldMinZ, int gridWidth, int gridHeight, float cellSize, bool isEmpty) + { + _heights = heights; + WorldMinX = worldMinX; + WorldMinZ = worldMinZ; + GridWidth = gridWidth; + GridHeight = gridHeight; + CellSize = cellSize; + IsEmpty = isEmpty; + } + + public static AxTerrainMap Generate(Vector3 center, float halfExtentX, float halfExtentZ, float cellSize = 1f) + { + float num = center.X - halfExtentX; + float num2 = center.Z - halfExtentZ; + int num3 = (int)MathF.Ceiling(halfExtentX * 2f / cellSize); + int num4 = (int)MathF.Ceiling(halfExtentZ * 2f / cellSize); + if (num3 <= 0 || num4 <= 0) + { + return new AxTerrainMap(Array.Empty(), 0f, 0f, 0, 0, cellSize, isEmpty: true); + } + float[] array = new float[num3 * num4]; + int num5 = num3; + int num6 = num4; + int num7 = -1; + int num8 = -1; + for (int i = 0; i < num4; i++) + { + float z = num2 + ((float)i + 0.5f) * cellSize; + for (int j = 0; j < num3; j++) + { + if (!float.IsNaN(array[i * num3 + j] = AxTerrainQuery.GetTerrainYRaw(num + ((float)j + 0.5f) * cellSize, z))) + { + if (j < num5) + { + num5 = j; + } + if (j > num7) + { + num7 = j; + } + if (i < num6) + { + num6 = i; + } + if (i > num8) + { + num8 = i; + } + } + } + } + if (num7 < 0) + { + return new AxTerrainMap(Array.Empty(), 0f, 0f, 0, 0, cellSize, isEmpty: true); + } + int num9 = num7 - num5 + 1; + int num10 = num8 - num6 + 1; + float[] array2 = new float[num9 * num10]; + for (int k = 0; k < num10; k++) + { + int sourceIndex = (k + num6) * num3 + num5; + Array.Copy(array, sourceIndex, array2, k * num9, num9); + } + float worldMinX = num + (float)num5 * cellSize; + float worldMinZ = num2 + (float)num6 * cellSize; + return new AxTerrainMap(array2, worldMinX, worldMinZ, num9, num10, cellSize, isEmpty: false); + } + + public float GetHeight(int cellX, int cellZ) + { + if ((uint)cellX >= (uint)GridWidth || (uint)cellZ >= (uint)GridHeight) + { + return float.NaN; + } + return _heights[cellZ * GridWidth + cellX]; + } + + public bool IsWalkable(int cellX, int cellZ) + { + return !float.IsNaN(GetHeight(cellX, cellZ)); + } + + public bool IsWalkable(float worldX, float worldZ) + { + var (cellX, cellZ) = WorldToCell(worldX, worldZ); + return IsWalkable(cellX, cellZ); + } + + public (int cellX, int cellZ) WorldToCell(float worldX, float worldZ) + { + int item = (int)MathF.Floor((worldX - WorldMinX) / CellSize); + int item2 = (int)MathF.Floor((worldZ - WorldMinZ) / CellSize); + return (cellX: item, cellZ: item2); + } + + public (float worldX, float worldZ) CellToWorld(int cellX, int cellZ) + { + float item = WorldMinX + ((float)cellX + 0.5f) * CellSize; + float item2 = WorldMinZ + ((float)cellZ + 0.5f) * CellSize; + return (worldX: item, worldZ: item2); + } +} diff --git a/Auspex/Auspex/AxTerrainQuery.cs b/Auspex/Auspex/AxTerrainQuery.cs new file mode 100644 index 0000000..f83aea1 --- /dev/null +++ b/Auspex/Auspex/AxTerrainQuery.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using FFXIVClientStructs.FFXIV.Common.Component.BGCollision; + +namespace Auspex; + +public static class AxTerrainQuery +{ + private static readonly Dictionary<(int, int), float> _cache = new Dictionary<(int, int), float>(); + + public static float GetTerrainY(float x, float z, float fallbackY = 0f) + { + float terrainYRaw = GetTerrainYRaw(x, z); + if (!float.IsNaN(terrainYRaw)) + { + return terrainYRaw; + } + return fallbackY; + } + + public static float GetTerrainYRaw(float x, float z) + { + int item = (int)MathF.Round(x * 4f); + int item2 = (int)MathF.Round(z * 4f); + if (_cache.TryGetValue((item, item2), out var value)) + { + return value; + } + Vector3 origin = new Vector3(x, 1000f, z); + Vector3 direction = new Vector3(0f, -1f, 0f); + RaycastHit hitInfo; + float num = ((!BGCollisionModule.RaycastMaterialFilter(origin, direction, out hitInfo, 2000f)) ? float.NaN : hitInfo.Point.Y); + _cache[(item, item2)] = num; + return num; + } + + public static void ClearCache() + { + _cache.Clear(); + } +} diff --git a/Auspex/Auspex/AxTexture.cs b/Auspex/Auspex/AxTexture.cs new file mode 100644 index 0000000..d65afcd --- /dev/null +++ b/Auspex/Auspex/AxTexture.cs @@ -0,0 +1,39 @@ +using System; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; +using Dalamud.Bindings.ImGui; + +namespace Auspex; + +public record struct AxTexture +{ + public Vector2 Size => new Vector2(Width, Height); + + public ImTextureID TextureId; + + public uint Width; + + public uint Height; + + public AxTexture(IntPtr textureId, uint width, uint height) + { + TextureId = (ulong)(nint)textureId; + Width = width; + Height = height; + } + + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + builder.Append("TextureId = "); + builder.Append(TextureId.ToString()); + builder.Append(", Width = "); + builder.Append(Width.ToString()); + builder.Append(", Height = "); + builder.Append(Height.ToString()); + builder.Append(", Size = "); + builder.Append(Size.ToString()); + return true; + } +} diff --git a/Auspex/Auspex/CImGui.cs b/Auspex/Auspex/CImGui.cs new file mode 100644 index 0000000..92ae37b --- /dev/null +++ b/Auspex/Auspex/CImGui.cs @@ -0,0 +1,23 @@ +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Auspex; + +internal static class CImGui +{ + [DllImport("cimgui", ExactSpelling = true)] + [LibraryImport("cimgui")] + [UnmanagedCallConv(CallConvs = new Type[] { typeof(CallConvCdecl) })] + internal static extern void igBringWindowToDisplayFront(IntPtr ptr); + + [DllImport("cimgui", ExactSpelling = true)] + [LibraryImport("cimgui")] + [UnmanagedCallConv(CallConvs = new Type[] { typeof(CallConvCdecl) })] + internal static extern void igBringWindowToDisplayBack(IntPtr ptr); + + [DllImport("cimgui", ExactSpelling = true)] + [LibraryImport("cimgui")] + [UnmanagedCallConv(CallConvs = new Type[] { typeof(CallConvCdecl) })] + internal static extern IntPtr igGetCurrentWindow(); +} diff --git a/Auspex/Auspex/IPctGradient.cs b/Auspex/Auspex/IPctGradient.cs new file mode 100644 index 0000000..f7eef4f --- /dev/null +++ b/Auspex/Auspex/IPctGradient.cs @@ -0,0 +1,8 @@ +using System.Numerics; + +namespace Auspex; + +public interface IPctGradient +{ + uint ColorAt(Vector3 point); +} diff --git a/Auspex/Auspex/LightRenderer.cs b/Auspex/Auspex/LightRenderer.cs new file mode 100644 index 0000000..4a5cbad --- /dev/null +++ b/Auspex/Auspex/LightRenderer.cs @@ -0,0 +1,104 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using Auspex.Lighting.Internal; +using Auspex.Vfx.Internal; + +namespace Auspex; + +public sealed class LightRenderer : IDisposable +{ + private static readonly Dictionary LightTypeNames = Enum.GetValues().ToDictionary((AxLightType v) => v, (AxLightType v) => v.ToString()); + + private FrameLifetimeTracker trackedLights; + + public LightRenderer() + { + trackedLights = new FrameLifetimeTracker(); + } + + public static Vector3 LinearToGameHDR(Vector3 linearRgb) + { + linearRgb *= 4f; + return linearRgb * linearRgb; + } + + public static Vector3 GameHDRToLinear(Vector3 gameHdr) + { + return Vector3.SquareRoot(gameHdr) / 4f; + } + + public void AddDirectionalLight(string id, Vector3 position, AxLightConfig? config = null) + { + ArgumentNullException.ThrowIfNull((object)id, "id"); + CreateOrUpdateLight(id, AxLightType.Directional, position, config ?? AxLightConfig.Default); + } + + public void AddPointLight(string id, Vector3 position, AxLightConfig? config = null) + { + ArgumentNullException.ThrowIfNull((object)id, "id"); + CreateOrUpdateLight(id, AxLightType.PointLight, position, config ?? AxLightConfig.Default); + } + + public void AddSpotLight(string id, Vector3 position, AxLightConfig? config = null) + { + ArgumentNullException.ThrowIfNull((object)id, "id"); + CreateOrUpdateLight(id, AxLightType.SpotLight, position, config ?? AxLightConfig.Default); + } + + public void AddAreaLight(string id, Vector3 position, AxLightConfig? config = null) + { + ArgumentNullException.ThrowIfNull((object)id, "id"); + CreateOrUpdateLight(id, AxLightType.AreaLight, position, config ?? AxLightConfig.Default); + } + + private void CreateOrUpdateLight(string id, AxLightType lightType, Vector3 position, AxLightConfig config) + { + (string, string) key = (id, LightTypeNames[lightType]); + if (trackedLights.IsTouched(key)) + { + return; + } + if (trackedLights.TryTouchExisting(key, out NativeLightHandle o)) + { + o.UpdatePosition(position); + if (config.Rotation.HasValue) + { + o.UpdateRotation(config.Rotation.Value); + } + o.UpdateColor(config.Color); + o.UpdateIntensity(config.Intensity); + o.UpdateRange(config.Range); + o.UpdateAngles(config.LightAngle, config.FalloffAngle); + o.UpdateFlags(config.Flags); + o.UpdateFalloff(config.FalloffType, config.FalloffPower); + o.UpdateShadow(config.ShadowNear, config.ShadowFar, config.CharaShadowRange); + } + else + { + trackedLights.TouchNew(key, NativeLightHandle.Create(position, lightType, config)); + } + } + + public bool RemoveLight(string id, AxLightType lightType) + { + ArgumentNullException.ThrowIfNull((object)id, "id"); + return trackedLights.Remove((id, LightTypeNames[lightType])); + } + + internal void Update() + { + trackedLights.Update(); + trackedLights.ForEachActive(delegate(NativeLightHandle light) + { + light.Tick(); + }); + } + + public void Dispose() + { + trackedLights.Dispose(); + GC.SuppressFinalize(this); + } +} diff --git a/Auspex/Auspex/SigScanHelper.cs b/Auspex/Auspex/SigScanHelper.cs new file mode 100644 index 0000000..a0dd5e5 --- /dev/null +++ b/Auspex/Auspex/SigScanHelper.cs @@ -0,0 +1,19 @@ +using System; +using System.Runtime.InteropServices; + +namespace Auspex; + +internal static class SigScanHelper +{ + internal static T Scan(string sig, string name) where T : Delegate + { + try + { + return Marshal.GetDelegateForFunctionPointer(AuspexService.SigScanner.ScanText(sig)); + } + catch (Exception innerException) + { + throw new InvalidOperationException("[Auspex] Failed to scan signature for " + name + ": " + sig, innerException); + } + } +} diff --git a/Auspex/Auspex/VfxRenderer.cs b/Auspex/Auspex/VfxRenderer.cs new file mode 100644 index 0000000..e8964fa --- /dev/null +++ b/Auspex/Auspex/VfxRenderer.cs @@ -0,0 +1,122 @@ +using System; +using System.Numerics; +using Auspex.Vfx.Internal; +using Dalamud.Game.ClientState.Objects.Types; + +namespace Auspex; + +public sealed class VfxRenderer : IDisposable +{ + private static readonly Vector4 White = Vector4.One; + + private FrameLifetimeTracker trackedVfx; + + private FrameLifetimeTracker trackedGOVfx; + + public static string OmenPath(string name) + { + return "vfx/omen/eff/" + name + ".avfx"; + } + + public static string LockonPath(string name) + { + return "vfx/lockon/eff/" + name + ".avfx"; + } + + public static string ChannelingPath(string name) + { + return "vfx/channeling/eff/" + name + ".avfx"; + } + + public static string CommonPath(string name) + { + return "vfx/common/eff/" + name + ".avfx"; + } + + public VfxRenderer() + { + trackedVfx = new FrameLifetimeTracker(); + trackedGOVfx = new FrameLifetimeTracker(); + } + + public void AddOmen(string id, string name, Vector3 origin, Vector3? scale = null, float rotation = 0f, Vector4? color = null) + { + ArgumentNullException.ThrowIfNull((object)id, "id"); + ArgumentNullException.ThrowIfNull((object)name, "name"); + CreateOrUpdateVfx(id, OmenPath(name), origin, scale ?? Vector3.One, rotation, color ?? White); + } + + public void AddLockon(string id, string name, IGameObject target, Vector3? scale = null, Vector4? color = null) + { + ArgumentNullException.ThrowIfNull((object)id, "id"); + ArgumentNullException.ThrowIfNull((object)name, "name"); + CreateOrUpdateVfx(id, LockonPath(name), target, target, scale ?? Vector3.One, color ?? White); + } + + public void AddChanneling(string id, string name, IGameObject target, IGameObject source, Vector3? scale = null, Vector4? color = null) + { + ArgumentNullException.ThrowIfNull((object)id, "id"); + ArgumentNullException.ThrowIfNull((object)name, "name"); + CreateOrUpdateVfx(id, ChannelingPath(name), target, source, scale ?? Vector3.One, color ?? White); + } + + public void AddCommon(string id, string name, IGameObject target, Vector3? scale = null, Vector4? color = null) + { + ArgumentNullException.ThrowIfNull((object)id, "id"); + ArgumentNullException.ThrowIfNull((object)name, "name"); + CreateOrUpdateVfx(id, CommonPath(name), target, target, scale ?? Vector3.One, color ?? White); + } + + public void AddCustom(string id, string path, Vector3 origin, Vector3? scale = null, float rotation = 0f, Vector4? color = null) + { + ArgumentNullException.ThrowIfNull((object)id, "id"); + ArgumentNullException.ThrowIfNull((object)path, "path"); + CreateOrUpdateVfx(id, path, origin, scale ?? Vector3.One, rotation, color ?? White); + } + + private void CreateOrUpdateVfx(string id, string path, Vector3 position, Vector3 scale, float rotation, Vector4 color) + { + (string, string) key = (id, path); + if (!trackedVfx.IsTouched(key)) + { + if (trackedVfx.TryTouchExisting(key, out VfxInstance o)) + { + o.UpdateTransform(position, scale, rotation); + o.UpdateColor(color); + } + else + { + trackedVfx.TouchNew(key, VfxInstance.Create(path, position, scale, rotation, color)); + } + } + } + + private void CreateOrUpdateVfx(string id, string path, IGameObject target, IGameObject source, Vector3 scale, Vector4 color) + { + (string, string) key = (id, path); + if (!trackedGOVfx.IsTouched(key)) + { + if (trackedGOVfx.TryTouchExisting(key, out ActorBoundVfx o)) + { + o.UpdateColor(color); + } + else + { + trackedGOVfx.TouchNew(key, ActorBoundVfx.Create(path, target, source, scale, color)); + } + } + } + + internal void Update() + { + trackedVfx.Update(); + trackedGOVfx.Update(); + } + + public void Dispose() + { + trackedVfx.Dispose(); + trackedGOVfx.Dispose(); + GC.SuppressFinalize(this); + } +} diff --git a/Auspex/Auspex/VfxRendererExtensions.cs b/Auspex/Auspex/VfxRendererExtensions.cs new file mode 100644 index 0000000..ceba5ee --- /dev/null +++ b/Auspex/Auspex/VfxRendererExtensions.cs @@ -0,0 +1,193 @@ +using System; +using System.Collections.Immutable; +using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; +using Auspex.Rendering.Direct3D; + +namespace Auspex; + +public static class VfxRendererExtensions +{ + private const float DefaultHeight = 7f; + + private const string OmenCircle = "general_1bf"; + + private const string OmenLine = "general02f"; + + private const string OmenRectangle = "general_x02f"; + + public static readonly ImmutableList<(string, float)> OmenDonutHoleSizes; + + public static string? GetOmenConeForAngle(int angle) + { + return angle switch + { + 15 => "gl_fan015_0x", + 20 => "gl_fan020_0f", + 30 => "gl_fan030_1bf", + 45 => "gl_fan045_1bf", + 60 => "gl_fan060_1bf", + 80 => "gl_fan80_o0g", + 90 => "gl_fan090_1bf", + 120 => "gl_fan120_1bf", + 130 => "gl_fan130_0x", + 135 => "gl_fan135_c0g", + 150 => "gl_fan150_1bf", + 180 => "gl_fan180_1bf", + 210 => "gl_fan210_1bf", + 225 => "gl_fan225_c0g", + 270 => "gl_fan270_0100af", + 360 => "general_1bf", + _ => null, + }; + } + + public static string? GetDonutOmenForRadius(float innerRadius, float outerRadius) + { + float desiredRatio = innerRadius / outerRadius; + return OmenDonutHoleSizes.Where<(string, float)>(delegate((string, float) x) + { + float num = desiredRatio - x.Item2; + return num >= 0f && num < 0.01f; + }).FirstOrDefault().Item1; + } + + public static (string, float) GetDonutHoleOmenForRadius(float innerRadius) + { + var (item, num) = OmenDonutHoleSizes[0]; + return (item, innerRadius / num); + } + + public static void AddLine(this VfxRenderer r, string id, Vector3 start, Vector3 stop, float halfWidth, Vector4? color = null) + { + float rotation = MathF.Atan2(stop.X - start.X, stop.Z - start.Z); + float length = Vector2.Distance(new Vector2(stop.X, stop.Z), new Vector2(start.X, start.Z)); + r.AddLine(id, start, length, halfWidth, rotation, color); + } + + public static void AddLine(this VfxRenderer r, string id, Vector3 start, float length, float halfWidth, float rotation, Vector4? color = null) + { + r.AddOmen(id, "general02f", start, new Vector3(halfWidth, 7f, length), rotation, color); + } + + public static void AddRectangle(this VfxRenderer r, string id, Vector3 origin, float halfWidth, float halfLength, float rotation = 0f, Vector4? color = null) + { + r.AddOmen(id, "general_x02f", origin, new Vector3(halfWidth, 7f, halfLength), rotation, color); + } + + public static void AddCircle(this VfxRenderer r, string id, Vector3 origin, float radius, Vector4? color = null) + { + r.AddOmen(id, "general_1bf", origin, new Vector3(radius, 7f, radius), 0f, color); + } + + public static bool AddCone(this VfxRenderer r, string id, Vector3 origin, float radius, float rotation, int angleWidth, Vector4? color = null) + { + string omenConeForAngle = GetOmenConeForAngle(angleWidth); + if (omenConeForAngle != null) + { + r.AddOmen(id, omenConeForAngle, origin, new Vector3(radius, 7f, radius), rotation, color); + } + return omenConeForAngle != null; + } + + public static void AddDonutHole(this VfxRenderer r, string id, Vector3 origin, float innerRadius, Vector4? color = null) + { + var (name, num) = GetDonutHoleOmenForRadius(innerRadius); + r.AddOmen(id, name, origin, new Vector3(num, 7f, num), 0f, color); + } + + public static bool AddDonut(this VfxRenderer r, string id, Vector3 origin, float innerRadius, float outerRadius, Vector4? color = null) + { + string donutOmenForRadius = GetDonutOmenForRadius(innerRadius, outerRadius); + if (donutOmenForRadius != null) + { + r.AddOmen(id, donutOmenForRadius, origin, new Vector3(outerRadius, 7f, outerRadius), 0f, color); + } + return donutOmenForRadius != null; + } + + public static bool AddFan(this VfxRenderer r, string id, Vector3 origin, float innerRadius, float outerRadius, float minAngle, float maxAngle, Vector4? color = null) + { + bool flag = (double)(maxAngle - minAngle) >= 6.283184482025146; + if (innerRadius <= 0f) + { + if (flag) + { + r.AddCircle(id, origin, outerRadius, color); + return true; + } + float num = maxAngle - minAngle; + float num2 = minAngle + num / 2f; + return r.AddCone(id, origin, outerRadius, 0f - num2, (int)MathF.Round(num / ((float)Math.PI * 2f) * 360f, 0), color); + } + if (flag) + { + if (innerRadius > 1f && outerRadius > 50f) + { + r.AddDonutHole(id, origin, innerRadius, color); + return true; + } + return r.AddDonut(id, origin, innerRadius, outerRadius, color); + } + return false; + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static Vector4 AlphaDXToVFX(this uint color) + { + Vector4 result = color.ToVector4(); + if (result.W <= 16f / 51f) + { + result.W *= 3.1875f; + } + else + { + float num = result.W - 16f / 51f; + result.W = 1f + num * 1.96f; + } + return result; + } + + static VfxRendererExtensions() + { + _003C_003Ey__InlineArray36<(string, float)> buffer = default(_003C_003Ey__InlineArray36<(string, float)>); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 0) = ("gl_sircle_5003bf", 0.07f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 1) = ("gl_sircle_7006x", 0.086f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 2) = ("gl_sircle_1034bf", 0.1138f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 3) = ("gl_sircle_4005bf", 0.126f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 4) = ("gl_circle_5007_x1", 0.14f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 5) = ("gl_sircle_6009at", 1.5f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 6) = ("gl_sircle_6010bf", 0.166f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 7) = ("gl_sircle_1703x", 0.1767f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 8) = ("gl_sircle_2004bv", 0.2f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 9) = ("gl_sircle_7015k1", 0.215f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 10) = ("gl_sircle_3007bx", 0.233f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 11) = ("gl_sircle_2005bf", 0.25f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 12) = ("gl_sircle_1905bf", 0.263f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 13) = ("gl_sircle_3008bf", 0.266f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 14) = ("gl_sircle_1805r1", 0.277f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 15) = ("gl_sircle_4012c", 0.3f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 16) = ("x6r8_b4_donut13m_4_01k1", 0.311f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 17) = ("gl_sircle_2508_o0t1", 0.32f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 18) = ("x6fa_donut01_o0a1", 0.333f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 19) = ("gl_sircle_1505bt1", 0.335f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 20) = ("gl_sircle_1907y0x", 0.37f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 21) = ("gl_sircle_2008bi", 0.4f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 22) = ("gl_sircle_3014bf", 0.466f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 23) = ("gl_sircle_2010bf", 0.5f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 24) = ("gl_sircle_4021x", 0.525f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 25) = ("gl_sircle_2011v", 0.55f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 26) = ("gl_sircle_3520x", 0.572f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 27) = ("gl_sircle_5030c", 0.6f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 28) = ("gl_sircle_1610_o0v", 0.625f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 29) = ("gl_sircle_1510bx", 0.666f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 30) = ("gl_sircle_1710_o0p", 0.71f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 31) = ("gl_sircle_2316_o0p", 0.733f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 32) = ("gl_sircle_2015bx", 0.75f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 33) = ("gl_sircle_1109w", 0.82f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 34) = ("gl_sircle_1715w", 0.886f); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(ref buffer, 35) = ("gl_sircle_2018w", 0.9f); + OmenDonutHoleSizes = ImmutableList.Create<(string, float)>(global::_003CPrivateImplementationDetails_003E.InlineArrayAsReadOnlySpan<_003C_003Ey__InlineArray36<(string, float)>, (string, float)>(in buffer, 36)); + } +} diff --git a/FatePaths/-----------------------------------------.cs b/FatePaths/-----------------------------------------.cs new file mode 100644 index 0000000..2401adf --- /dev/null +++ b/FatePaths/-----------------------------------------.cs @@ -0,0 +1,1035 @@ +using System; +using System.IO; + +internal struct _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E +{ + internal uint _206F_202C_206F_200B_206B_202D_200B_206A_202D_206B_202A_206B_206A_202B_200E_200C_206E_206E_206C_200B_206C_206E_202B_206B_202C_200F_206C_206E_200F_200E_202C_206E_200B_202C_206D_206B_200F_200D_200D_202B_202E; + + internal void _206E_206C_202A_202E_200F_206B_200B_200E_202A_202B_202C_206C_206F_206C_202A_202C_200D_200E_200B_202A_202E_206E_202E_202D_206F_206D_202D_206F_206F_202D_200D_202A_202B_200C_200D_200E_202A_200E_206A_202D_202E() + { + _206F_202C_206F_200B_206B_202D_200B_206A_202D_206B_202A_206B_206A_202B_200E_200C_206E_206E_206C_200B_206C_206E_202B_206B_202C_200F_206C_206E_200F_200E_202C_206E_200B_202C_206D_206B_200F_200D_200D_202B_202E = 1024u; + } + + internal uint _200B_206F_200D_200F_200C_206B_202C_206B_206C_206E_202A_206B_202D_206C_206A_200C_206E_200F_200F_202C_200B_206B_200D_206C_206B_206E_206D_202C_202A_206A_202E_202D_206B_202E_206E_202D_200B_200F_202A_200C_202E(_202A_200C_202A_206C_200C_202E_200C_200D_200D_206F_200B_206E_202B_206F_206F_206B_202D_202B_200F_202C_200E_202A_206C_202E_206B_206B_206F_202E_206B_206D_206B_200D_200E_206F_202E_206C_206C_200C_206C_206F_202E rangeDecoder) + { + uint num = (rangeDecoder._206A_202A_206A_206F_202D_202C_200F_206B_206C_202D_206C_206F_202E_202E_202E_202C_200F_206B_200C_202E_200D_206B_202C_202E_202D_206E_206E_202E_200D_200B_200E_202C_206A_202E_206B_206E_200D_200E_202A_200C_202E >> 11) * _206F_202C_206F_200B_206B_202D_200B_206A_202D_206B_202A_206B_206A_202B_200E_200C_206E_206E_206C_200B_206C_206E_202B_206B_202C_200F_206C_206E_200F_200E_202C_206E_200B_202C_206D_206B_200F_200D_200D_202B_202E; + int num3; + int num4; + if (rangeDecoder._206D_202E_206B_206E_200D_200E_206B_202A_202A_206D_202A_206A_202B_200E_202C_200F_206A_200D_202A_202A_202D_202D_202B_202A_202D_206D_202A_200C_202B_202A_206F_200B_200F_206C_202C_200E_202E_202D_200E_202C_202E < num) + { + rangeDecoder._206A_202A_206A_206F_202D_202C_200F_206B_206C_202D_206C_206F_202E_202E_202E_202C_200F_206B_200C_202E_200D_206B_202C_202E_202D_206E_206E_202E_200D_200B_200E_202C_206A_202E_206B_206E_200D_200E_202A_200C_202E = num; + uint num2 = _206F_202C_206F_200B_206B_202D_200B_206A_202D_206B_202A_206B_206A_202B_200E_200C_206E_206E_206C_200B_206C_206E_202B_206B_202C_200F_206C_206E_200F_200E_202C_206E_200B_202C_206D_206B_200F_200D_200D_202B_202E; + num3 = (int)_206F_202C_206F_200B_206B_202D_200B_206A_202D_206B_202A_206B_206A_202B_200E_200C_206E_206E_206C_200B_206C_206E_202B_206B_202C_200F_206C_206E_200F_200E_202C_206E_200B_202C_206D_206B_200F_200D_200D_202B_202E; + num4 = 2048; + num3 = ~(~num4 + num3) >>> 5; + num4 = (int)num2; + _206F_202C_206F_200B_206B_202D_200B_206A_202D_206B_202A_206B_206A_202B_200E_200C_206E_206E_206C_200B_206C_206E_202B_206B_202C_200F_206C_206E_200F_200E_202C_206E_200B_202C_206D_206B_200F_200D_200D_202B_202E = (uint)((num4 | num3) + (num4 & num3)); + if (rangeDecoder._206A_202A_206A_206F_202D_202C_200F_206B_206C_202D_206C_206F_202E_202E_202E_202C_200F_206B_200C_202E_200D_206B_202C_202E_202D_206E_206E_202E_200D_200B_200E_202C_206A_202E_206B_206E_200D_200E_202A_200C_202E < 16777216) + { + rangeDecoder._206D_202E_206B_206E_200D_200E_206B_202A_202A_206D_202A_206A_202B_200E_202C_200F_206A_200D_202A_202A_202D_202D_202B_202A_202D_206D_202A_200C_202B_202A_206F_200B_200F_206C_202C_200E_202E_202D_200E_202C_202E = (rangeDecoder._206D_202E_206B_206E_200D_200E_206B_202A_202A_206D_202A_206A_202B_200E_202C_200F_206A_200D_202A_202A_202D_202D_202B_202A_202D_206D_202A_200C_202B_202A_206F_200B_200F_206C_202C_200E_202E_202D_200E_202C_202E << 8) | (byte)rangeDecoder._200D_206D_200E_202C_200B_200F_200F_206B_202A_202D_202B_202C_200B_202D_200D_202A_206E_206F_202C_206A_200D_206E_206B_206B_206E_206E_200B_206A_200F_202D_200D_206B_206B_200C_200D_206A_202D_202A_206C_200E_202E.ReadByte(); + rangeDecoder._206A_202A_206A_206F_202D_202C_200F_206B_206C_202D_206C_206F_202E_202E_202E_202C_200F_206B_200C_202E_200D_206B_202C_202E_202D_206E_206E_202E_200D_200B_200E_202C_206A_202E_206B_206E_200D_200E_202A_200C_202E <<= 8; + } + return 0u; + } + uint num5 = rangeDecoder._206A_202A_206A_206F_202D_202C_200F_206B_206C_202D_206C_206F_202E_202E_202E_202C_200F_206B_200C_202E_200D_206B_202C_202E_202D_206E_206E_202E_200D_200B_200E_202C_206A_202E_206B_206E_200D_200E_202A_200C_202E; + num3 = (int)num; + num4 = (int)num5; + rangeDecoder._206A_202A_206A_206F_202D_202C_200F_206B_206C_202D_206C_206F_202E_202E_202E_202C_200F_206B_200C_202E_200D_206B_202C_202E_202D_206E_206E_202E_200D_200B_200E_202C_206A_202E_206B_206E_200D_200E_202A_200C_202E = (uint)(~(~num4 + num3)); + uint num6 = rangeDecoder._206D_202E_206B_206E_200D_200E_206B_202A_202A_206D_202A_206A_202B_200E_202C_200F_206A_200D_202A_202A_202D_202D_202B_202A_202D_206D_202A_200C_202B_202A_206F_200B_200F_206C_202C_200E_202E_202D_200E_202C_202E; + num3 = (int)num; + num4 = (int)num6; + rangeDecoder._206D_202E_206B_206E_200D_200E_206B_202A_202A_206D_202A_206A_202B_200E_202C_200F_206A_200D_202A_202A_202D_202D_202B_202A_202D_206D_202A_200C_202B_202A_206F_200B_200F_206C_202C_200E_202E_202D_200E_202C_202E = (uint)(~(~num4 + num3)); + uint num7 = _206F_202C_206F_200B_206B_202D_200B_206A_202D_206B_202A_206B_206A_202B_200E_200C_206E_206E_206C_200B_206C_206E_202B_206B_202C_200F_206C_206E_200F_200E_202C_206E_200B_202C_206D_206B_200F_200D_200D_202B_202E; + num3 = (int)(_206F_202C_206F_200B_206B_202D_200B_206A_202D_206B_202A_206B_206A_202B_200E_200C_206E_206E_206C_200B_206C_206E_202B_206B_202C_200F_206C_206E_200F_200E_202C_206E_200B_202C_206D_206B_200F_200D_200D_202B_202E >> 5); + num4 = (int)num7; + _206F_202C_206F_200B_206B_202D_200B_206A_202D_206B_202A_206B_206A_202B_200E_200C_206E_206E_206C_200B_206C_206E_202B_206B_202C_200F_206C_206E_200F_200E_202C_206E_200B_202C_206D_206B_200F_200D_200D_202B_202E = (uint)(~(~num4 + num3)); + if (rangeDecoder._206A_202A_206A_206F_202D_202C_200F_206B_206C_202D_206C_206F_202E_202E_202E_202C_200F_206B_200C_202E_200D_206B_202C_202E_202D_206E_206E_202E_200D_200B_200E_202C_206A_202E_206B_206E_200D_200E_202A_200C_202E < 16777216) + { + rangeDecoder._206D_202E_206B_206E_200D_200E_206B_202A_202A_206D_202A_206A_202B_200E_202C_200F_206A_200D_202A_202A_202D_202D_202B_202A_202D_206D_202A_200C_202B_202A_206F_200B_200F_206C_202C_200E_202E_202D_200E_202C_202E = (rangeDecoder._206D_202E_206B_206E_200D_200E_206B_202A_202A_206D_202A_206A_202B_200E_202C_200F_206A_200D_202A_202A_202D_202D_202B_202A_202D_206D_202A_200C_202B_202A_206F_200B_200F_206C_202C_200E_202E_202D_200E_202C_202E << 8) | (byte)rangeDecoder._200D_206D_200E_202C_200B_200F_200F_206B_202A_202D_202B_202C_200B_202D_200D_202A_206E_206F_202C_206A_200D_206E_206B_206B_206E_206E_200B_206A_200F_202D_200D_206B_206B_200C_200D_206A_202D_202A_206C_200E_202E.ReadByte(); + rangeDecoder._206A_202A_206A_206F_202D_202C_200F_206B_206C_202D_206C_206F_202E_202E_202E_202C_200F_206B_200C_202E_200D_206B_202C_202E_202D_206E_206E_202E_200D_200B_200E_202C_206A_202E_206B_206E_200D_200E_202A_200C_202E <<= 8; + } + return 1u; + } +} +internal struct _206C_200C_202B_200E_206F_200B_206C_202D_206C_200C_206B_206C_202A_206E_200B_200E_200D_200B_206E_200F_202C_200F_206E_206C_200C_202A_206F_200F_206D_202E_202D_202C_206C_202C_200B_206E_200D_200C_202D_206C_202E +{ + internal readonly _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E[] _206B_206C_202C_202C_202E_202A_200C_206A_206F_202E_206D_206D_200C_200B_200D_200F_206C_206F_206F_200F_202A_202B_206B_206F_206D_206F_206F_202B_200E_200E_202E_206C_206F_206B_200D_202C_200F_202C_202D_206C_202E; + + internal readonly int _206E_200C_202D_206F_200F_206D_206A_206C_206C_206D_206C_202C_202D_206D_206E_206C_202E_200D_206F_200E_206F_200B_200E_206F_202C_202C_202E_200D_202E_206C_206D_202E_202C_200D_200F_200D_206F_200E_206C_206C_202E; + + internal _206C_200C_202B_200E_206F_200B_206C_202D_206C_200C_206B_206C_202A_206E_200B_200E_200D_200B_206E_200F_202C_200F_206E_206C_200C_202A_206F_200F_206D_202E_202D_202C_206C_202C_200B_206E_200D_200C_202D_206C_202E(int numBitLevels) + { + _206E_200C_202D_206F_200F_206D_206A_206C_206C_206D_206C_202C_202D_206D_206E_206C_202E_200D_206F_200E_206F_200B_200E_206F_202C_202C_202E_200D_202E_206C_206D_202E_202C_200D_200F_200D_206F_200E_206C_206C_202E = numBitLevels; + int num = 31; + _206B_206C_202C_202C_202E_202A_200C_206A_206F_202E_206D_206D_200C_200B_200D_200F_206C_206F_206F_200F_202A_202B_206B_206F_206D_206F_206F_202B_200E_200E_202E_206C_206F_206B_200D_202C_200F_202C_202D_206C_202E = new _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E[1 << numBitLevels + num - (numBitLevels | num)]; + } + + internal void _202E_200D_206A_202B_206E_206F_200E_202C_202D_206B_206C_200D_200C_200B_206C_200B_200E_202C_206E_202E_200C_202B_206F_200E_200F_202A_202C_200C_202B_202E_200F_202B_200B_206C_202E_202D_206E_202A_202E_202C_202E() + { + uint num = 1u; + while (true) + { + long num2 = num; + int num3 = _206E_200C_202D_206F_200F_206D_206A_206C_206C_206D_206C_202C_202D_206D_206E_206C_202E_200D_206F_200E_206F_200B_200E_206F_202C_202C_202E_200D_202E_206C_206D_202E_202C_200D_200F_200D_206F_200E_206C_206C_202E; + int num4 = 31; + int num5 = num3; + if (num2 < 1 << num5 + num4 - (num5 | num4)) + { + _206B_206C_202C_202C_202E_202A_200C_206A_206F_202E_206D_206D_200C_200B_200D_200F_206C_206F_206F_200F_202A_202B_206B_206F_206D_206F_206F_202B_200E_200E_202E_206C_206F_206B_200D_202C_200F_202C_202D_206C_202E[num]._206E_206C_202A_202E_200F_206B_200B_200E_202A_202B_202C_206C_206F_206C_202A_202C_200D_200E_200B_202A_202E_206E_202E_202D_206F_206D_202D_206F_206F_202D_200D_202A_202B_200C_200D_200E_202A_200E_206A_202D_202E(); + uint num6 = num; + num4 = 1; + num5 = (int)num6; + int num7 = num5 ^ num4; + int num8 = num5 & num4; + num = (uint)(num7 + (num8 + num8)); + continue; + } + break; + } + } + + internal uint _206A_206E_206B_206A_206C_202C_202E_202E_202D_206C_202B_200E_200D_200B_200C_200C_200E_206F_206D_206D_200B_202B_202B_206E_202C_206A_200F_200E_202C_200E_206E_202D_202D_206E_206A_202A_206D_206B_206A_202D_202E(_202A_200C_202A_206C_200C_202E_200C_200D_200D_206F_200B_206E_202B_206F_206F_206B_202D_202B_200F_202C_200E_202A_206C_202E_206B_206B_206F_202E_206B_206D_206B_200D_200E_206F_202E_206C_206C_200C_206C_206F_202E rangeDecoder) + { + uint num = 1u; + int num4; + int num5; + for (int num2 = _206E_200C_202D_206F_200F_206D_206A_206C_206C_206D_206C_202C_202D_206D_206E_206C_202E_200D_206F_200E_206F_200B_200E_206F_202C_202C_202E_200D_202E_206C_206D_202E_202C_200D_200F_200D_206F_200E_206C_206C_202E; num2 > 0; num2 = ~(~num5 + num4)) + { + num = (num << 1) + _206B_206C_202C_202C_202E_202A_200C_206A_206F_202E_206D_206D_200C_200B_200D_200F_206C_206F_206F_200F_202A_202B_206B_206F_206D_206F_206F_202B_200E_200E_202E_206C_206F_206B_200D_202C_200F_202C_202D_206C_202E[num]._200B_206F_200D_200F_200C_206B_202C_206B_206C_206E_202A_206B_202D_206C_206A_200C_206E_200F_200F_202C_200B_206B_200D_206C_206B_206E_206D_202C_202A_206A_202E_202D_206B_202E_206E_202D_200B_200F_202A_200C_202E(rangeDecoder); + int num3 = num2; + num4 = 1; + num5 = num3; + } + uint num6 = num; + int num7 = _206E_200C_202D_206F_200F_206D_206A_206C_206C_206D_206C_202C_202D_206D_206E_206C_202E_200D_206F_200E_206F_200B_200E_206F_202C_202C_202E_200D_202E_206C_206D_202E_202C_200D_200F_200D_206F_200E_206C_206C_202E; + num4 = 31; + num5 = num7; + num4 = 1 << num5 + num4 - (num5 | num4); + num5 = (int)num6; + return (uint)(~(~num5 + num4)); + } + + internal uint _202A_202D_206F_200C_206E_206D_200C_202B_202D_202C_202E_206E_202C_202E_206B_206A_206F_200D_200C_202E_202A_206C_200D_200B_202B_206D_206A_206B_202A_200F_200D_200B_206E_202C_202E_206B_200C_206E_202D_202E_202E(_202A_200C_202A_206C_200C_202E_200C_200D_200D_206F_200B_206E_202B_206F_206F_206B_202D_202B_200F_202C_200E_202A_206C_202E_206B_206B_206F_202E_206B_206D_206B_200D_200E_206F_202E_206C_206C_200C_206C_206F_202E rangeDecoder) + { + uint num = 1u; + uint num2 = 0u; + int num3 = 0; + while (num3 < _206E_200C_202D_206F_200F_206D_206A_206C_206C_206D_206C_202C_202D_206D_206E_206C_202E_200D_206F_200E_206F_200B_200E_206F_202C_202C_202E_200D_202E_206C_206D_202E_202C_200D_200F_200D_206F_200E_206C_206C_202E) + { + uint num4 = _206B_206C_202C_202C_202E_202A_200C_206A_206F_202E_206D_206D_200C_200B_200D_200F_206C_206F_206F_200F_202A_202B_206B_206F_206D_206F_206F_202B_200E_200E_202E_206C_206F_206B_200D_202C_200F_202C_202D_206C_202E[num]._200B_206F_200D_200F_200C_206B_202C_206B_206C_206E_202A_206B_202D_206C_206A_200C_206E_200F_200F_202C_200B_206B_200D_206C_206B_206E_206D_202C_202A_206A_202E_202D_206B_202E_206E_202D_200B_200F_202A_200C_202E(rangeDecoder); + num <<= 1; + uint num5 = num; + int num6 = (int)num4; + int num7 = (int)num5; + num = (uint)((num7 | num6) + (num7 & num6)); + uint num8 = num2; + int num9 = num3; + num6 = 31; + num7 = num9; + num6 = (int)(num4 << (num7 | num6) - (num7 ^ num6)); + num7 = (int)num8; + num2 = (uint)(num7 + num6 - (num7 & num6)); + int num10 = num3; + num6 = 1; + num7 = num10; + int num11 = num7 ^ num6; + int num12 = num7 & num6; + num3 = num11 + (num12 + num12); + } + return num2; + } + + internal static uint _202E_200F_206A_202B_202A_202C_200D_206C_206C_206E_202A_200B_202D_202B_200D_200B_206C_202C_200E_206D_202E_206B_206E_206C_202E_202B_206F_200C_206B_202E_206A_202E_206F_206A_202A_206B_200F_200B_200F_202A_202E(_202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E[] Models, uint startIndex, _202A_200C_202A_206C_200C_202E_200C_200D_200D_206F_200B_206E_202B_206F_206F_206B_202D_202B_200F_202C_200E_202A_206C_202E_206B_206B_206F_202E_206B_206D_206B_200D_200E_206F_202E_206C_206C_200C_206C_206F_202E rangeDecoder, int NumBitLevels) + { + uint num = 1u; + uint num2 = 0u; + int num3 = 0; + while (num3 < NumBitLevels) + { + int num4 = (int)num; + int num5 = (int)startIndex; + int num6 = num5 ^ num4; + int num7 = num5 & num4; + uint num8 = Models[num6 + (num7 + num7)]._200B_206F_200D_200F_200C_206B_202C_206B_206C_206E_202A_206B_202D_206C_206A_200C_206E_200F_200F_202C_200B_206B_200D_206C_206B_206E_206D_202C_202A_206A_202E_202D_206B_202E_206E_202D_200B_200F_202A_200C_202E(rangeDecoder); + num <<= 1; + uint num9 = num; + num4 = (int)num8; + num5 = (int)num9; + num = (uint)((num5 | num4) + (num5 & num4)); + uint num10 = num2; + int num11 = num3; + num4 = 31; + num5 = num11; + num4 = (int)(num8 << num5 + num4 - (num5 | num4)); + num5 = (int)num10; + num2 = (uint)((num5 & num4) + (num5 ^ num4)); + int num12 = num3; + num4 = 1; + num5 = num12; + int num13 = num5 ^ num4; + int num14 = num5 & num4; + num3 = num13 + (num14 + num14); + } + return num2; + } +} +internal class _202A_200C_202A_206C_200C_202E_200C_200D_200D_206F_200B_206E_202B_206F_206F_206B_202D_202B_200F_202C_200E_202A_206C_202E_206B_206B_206F_202E_206B_206D_206B_200D_200E_206F_202E_206C_206C_200C_206C_206F_202E +{ + internal uint _206D_202E_206B_206E_200D_200E_206B_202A_202A_206D_202A_206A_202B_200E_202C_200F_206A_200D_202A_202A_202D_202D_202B_202A_202D_206D_202A_200C_202B_202A_206F_200B_200F_206C_202C_200E_202E_202D_200E_202C_202E; + + internal uint _206A_202A_206A_206F_202D_202C_200F_206B_206C_202D_206C_206F_202E_202E_202E_202C_200F_206B_200C_202E_200D_206B_202C_202E_202D_206E_206E_202E_200D_200B_200E_202C_206A_202E_206B_206E_200D_200E_202A_200C_202E; + + internal Stream _200D_206D_200E_202C_200B_200F_200F_206B_202A_202D_202B_202C_200B_202D_200D_202A_206E_206F_202C_206A_200D_206E_206B_206B_206E_206E_200B_206A_200F_202D_200D_206B_206B_200C_200D_206A_202D_202A_206C_200E_202E; + + internal void _206C_202C_200D_202D_206C_202D_202C_206E_200F_206D_200C_202C_206E_202C_202B_200F_206C_206E_200C_200D_206A_206D_202A_206A_206A_206B_202B_206A_202E_200E_200B_206F_206C_202B_202A_200F_206E_200D_200F_200F_202E(Stream stream) + { + _200D_206D_200E_202C_200B_200F_200F_206B_202A_202D_202B_202C_200B_202D_200D_202A_206E_206F_202C_206A_200D_206E_206B_206B_206E_206E_200B_206A_200F_202D_200D_206B_206B_200C_200D_206A_202D_202A_206C_200E_202E = stream; + _206D_202E_206B_206E_200D_200E_206B_202A_202A_206D_202A_206A_202B_200E_202C_200F_206A_200D_202A_202A_202D_202D_202B_202A_202D_206D_202A_200C_202B_202A_206F_200B_200F_206C_202C_200E_202E_202D_200E_202C_202E = 0u; + _206A_202A_206A_206F_202D_202C_200F_206B_206C_202D_206C_206F_202E_202E_202E_202C_200F_206B_200C_202E_200D_206B_202C_202E_202D_206E_206E_202E_200D_200B_200E_202C_206A_202E_206B_206E_200D_200E_202A_200C_202E = uint.MaxValue; + int num = 0; + while (num < 5) + { + _206D_202E_206B_206E_200D_200E_206B_202A_202A_206D_202A_206A_202B_200E_202C_200F_206A_200D_202A_202A_202D_202D_202B_202A_202D_206D_202A_200C_202B_202A_206F_200B_200F_206C_202C_200E_202E_202D_200E_202C_202E = (_206D_202E_206B_206E_200D_200E_206B_202A_202A_206D_202A_206A_202B_200E_202C_200F_206A_200D_202A_202A_202D_202D_202B_202A_202D_206D_202A_200C_202B_202A_206F_200B_200F_206C_202C_200E_202E_202D_200E_202C_202E << 8) | (byte)_200D_206D_200E_202C_200B_200F_200F_206B_202A_202D_202B_202C_200B_202D_200D_202A_206E_206F_202C_206A_200D_206E_206B_206B_206E_206E_200B_206A_200F_202D_200D_206B_206B_200C_200D_206A_202D_202A_206C_200E_202E.ReadByte(); + int num2 = num; + int num3 = 1; + int num4 = num2; + num = (num4 | num3) + (num4 & num3); + } + } + + internal void _206A_200D_200C_206E_202E_206D_206C_206B_206A_200E_200E_200D_200B_206D_200D_200E_202B_202C_206C_206A_202A_202E_200B_202B_206C_206B_200D_200C_202E_202A_206F_206D_200F_202A_200E_206B_202A_202A_206F_206A_202E() + { + _200D_206D_200E_202C_200B_200F_200F_206B_202A_202D_202B_202C_200B_202D_200D_202A_206E_206F_202C_206A_200D_206E_206B_206B_206E_206E_200B_206A_200F_202D_200D_206B_206B_200C_200D_206A_202D_202A_206C_200E_202E = null; + } + + internal void _200D_206F_202E_202A_200E_202B_202A_200E_200E_206F_202D_200C_202E_206C_202B_200C_206D_200D_206A_200E_200D_206D_202D_202C_200C_202A_202A_200C_202D_206E_202B_202A_206E_206F_206C_206E_206B_200D_200E_200F_202E() + { + while (_206A_202A_206A_206F_202D_202C_200F_206B_206C_202D_206C_206F_202E_202E_202E_202C_200F_206B_200C_202E_200D_206B_202C_202E_202D_206E_206E_202E_200D_200B_200E_202C_206A_202E_206B_206E_200D_200E_202A_200C_202E < 16777216) + { + _206D_202E_206B_206E_200D_200E_206B_202A_202A_206D_202A_206A_202B_200E_202C_200F_206A_200D_202A_202A_202D_202D_202B_202A_202D_206D_202A_200C_202B_202A_206F_200B_200F_206C_202C_200E_202E_202D_200E_202C_202E = (_206D_202E_206B_206E_200D_200E_206B_202A_202A_206D_202A_206A_202B_200E_202C_200F_206A_200D_202A_202A_202D_202D_202B_202A_202D_206D_202A_200C_202B_202A_206F_200B_200F_206C_202C_200E_202E_202D_200E_202C_202E << 8) | (byte)_200D_206D_200E_202C_200B_200F_200F_206B_202A_202D_202B_202C_200B_202D_200D_202A_206E_206F_202C_206A_200D_206E_206B_206B_206E_206E_200B_206A_200F_202D_200D_206B_206B_200C_200D_206A_202D_202A_206C_200E_202E.ReadByte(); + _206A_202A_206A_206F_202D_202C_200F_206B_206C_202D_206C_206F_202E_202E_202E_202C_200F_206B_200C_202E_200D_206B_202C_202E_202D_206E_206E_202E_200D_200B_200E_202C_206A_202E_206B_206E_200D_200E_202A_200C_202E <<= 8; + } + } + + internal uint _202A_202D_202D_202E_200E_200C_206E_202C_202B_206C_202A_206B_200D_206B_202E_202E_206A_206C_202E_206B_200E_206B_200E_206E_202A_200B_206B_202C_202C_202E_206D_200F_200D_200C_200F_200D_200E_206B_200D_206A_202E(int numTotalBits) + { + uint num = _206A_202A_206A_206F_202D_202C_200F_206B_206C_202D_206C_206F_202E_202E_202E_202C_200F_206B_200C_202E_200D_206B_202C_202E_202D_206E_206E_202E_200D_200B_200E_202C_206A_202E_206B_206E_200D_200E_202A_200C_202E; + uint num2 = _206D_202E_206B_206E_200D_200E_206B_202A_202A_206D_202A_206A_202B_200E_202C_200F_206A_200D_202A_202A_202D_202D_202B_202A_202D_206D_202A_200C_202B_202A_206F_200B_200F_206C_202C_200E_202E_202D_200E_202C_202E; + uint num3 = 0u; + int num4 = numTotalBits; + while (num4 > 0) + { + num >>= 1; + uint num5 = num2; + int num6 = (int)num; + int num7 = (int)num5; + uint num8 = (uint)(~(~num7 + num6)) >> 31; + uint num9 = num2; + uint num10 = num; + num6 = 1; + num7 = (int)num8; + num6 = ~(~num7 + num6); + num7 = (int)num10; + num6 = num7 + num6 - (num7 | num6); + num7 = (int)num9; + num2 = (uint)(~(~num7 + num6)); + uint num11 = num3 << 1; + num6 = (int)num8; + num7 = 1; + num6 = ~(~num7 + num6); + num7 = (int)num11; + num3 = (uint)(num7 + num6 - (num7 & num6)); + if (num < 16777216) + { + num2 = (num2 << 8) | (byte)_200D_206D_200E_202C_200B_200F_200F_206B_202A_202D_202B_202C_200B_202D_200D_202A_206E_206F_202C_206A_200D_206E_206B_206B_206E_206E_200B_206A_200F_202D_200D_206B_206B_200C_200D_206A_202D_202A_206C_200E_202E.ReadByte(); + num <<= 8; + } + int num12 = num4; + num6 = 1; + num7 = num12; + num4 = ~(~num7 + num6); + } + _206A_202A_206A_206F_202D_202C_200F_206B_206C_202D_206C_206F_202E_202E_202E_202C_200F_206B_200C_202E_200D_206B_202C_202E_202D_206E_206E_202E_200D_200B_200E_202C_206A_202E_206B_206E_200D_200E_202A_200C_202E = num; + _206D_202E_206B_206E_200D_200E_206B_202A_202A_206D_202A_206A_202B_200E_202C_200F_206A_200D_202A_202A_202D_202D_202B_202A_202D_206D_202A_200C_202B_202A_206F_200B_200F_206C_202C_200E_202E_202D_200E_202C_202E = num2; + return num3; + } + + internal _202A_200C_202A_206C_200C_202E_200C_200D_200D_206F_200B_206E_202B_206F_206F_206B_202D_202B_200F_202C_200E_202A_206C_202E_206B_206B_206F_202E_206B_206D_206B_200D_200E_206F_202E_206C_206C_200C_206C_206F_202E() + { + } +} +internal class _200C_202C_206E_200E_202C_202C_200F_200F_206F_206F_202C_200C_200B_206B_200B_202B_206B_200D_200C_202D_202E_206E_202D_200B_206E_202E_202E_202B_202C_206E_202A_206C_206B_206E_200B_202C_206C_200D_200B_206C_202E +{ + internal class _206A_206B_206E_202D_202B_206B_206E_206D_206B_206A_200D_206A_206A_206A_206D_200E_200F_206C_202B_202D_206F_200B_206C_206C_206B_202A_202E_206F_200D_202C_202D_206E_206C_206D_206B_206A_202A_200F_200E_202A_202E + { + internal readonly _206C_200C_202B_200E_206F_200B_206C_202D_206C_200C_206B_206C_202A_206E_200B_200E_200D_200B_206E_200F_202C_200F_206E_206C_200C_202A_206F_200F_206D_202E_202D_202C_206C_202C_200B_206E_200D_200C_202D_206C_202E[] _200B_206A_206E_202D_206E_202A_202C_202E_202E_206F_200C_206E_200B_202E_200D_200B_206C_200C_200E_206B_200C_200E_200E_202B_200C_206B_200F_200D_200D_202D_206B_206F_202C_200B_206B_200F_200B_202A_206D_206A_202E = new _206C_200C_202B_200E_206F_200B_206C_202D_206C_200C_206B_206C_202A_206E_200B_200E_200D_200B_206E_200F_202C_200F_206E_206C_200C_202A_206F_200F_206D_202E_202D_202C_206C_202C_200B_206E_200D_200C_202D_206C_202E[16]; + + internal readonly _206C_200C_202B_200E_206F_200B_206C_202D_206C_200C_206B_206C_202A_206E_200B_200E_200D_200B_206E_200F_202C_200F_206E_206C_200C_202A_206F_200F_206D_202E_202D_202C_206C_202C_200B_206E_200D_200C_202D_206C_202E[] _200F_202C_200B_200F_206D_202C_202C_200F_202B_206B_206E_200B_206F_200D_200D_206E_200F_200D_206A_200D_202A_202D_200D_200D_200E_206E_200F_202D_206F_202D_202D_200D_202A_206A_202A_200C_202E_206E_206F_202D_202E = new _206C_200C_202B_200E_206F_200B_206C_202D_206C_200C_206B_206C_202A_206E_200B_200E_200D_200B_206E_200F_202C_200F_206E_206C_200C_202A_206F_200F_206D_202E_202D_202C_206C_202C_200B_206E_200D_200C_202D_206C_202E[16]; + + internal _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E _202B_202C_206B_200F_200C_200B_200F_206B_202E_206A_206A_200F_206E_206F_200E_200B_200E_206E_206D_206C_206F_202C_202E_200C_200E_202C_206E_202A_206E_200D_206D_200B_206B_206B_202E_200F_202C_200B_200E_206C_202E; + + internal _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E _202C_206F_200E_206F_206F_206D_206C_200B_200E_200B_202E_202D_206C_200E_206C_202A_202E_202A_200F_200B_206A_206C_202D_202A_206A_200B_202A_206A_206D_200F_200C_200B_206B_200C_200E_202A_200E_202B_200F_200F_202E; + + internal _206C_200C_202B_200E_206F_200B_206C_202D_206C_200C_206B_206C_202A_206E_200B_200E_200D_200B_206E_200F_202C_200F_206E_206C_200C_202A_206F_200F_206D_202E_202D_202C_206C_202C_200B_206E_200D_200C_202D_206C_202E _202D_202D_200C_202C_200B_200D_206A_202D_200C_202C_206D_206E_200E_206D_200D_202A_206F_206C_200E_202A_202E_202C_202C_200E_206B_200C_200C_202B_202D_200C_200B_202B_206E_202D_206A_202B_206B_206C_200B_200D_202E = new _206C_200C_202B_200E_206F_200B_206C_202D_206C_200C_206B_206C_202A_206E_200B_200E_200D_200B_206E_200F_202C_200F_206E_206C_200C_202A_206F_200F_206D_202E_202D_202C_206C_202C_200B_206E_200D_200C_202D_206C_202E(8); + + internal uint _200C_206D_206A_202B_206E_200C_200B_202C_200F_206E_206A_200C_206E_206B_200B_206C_200E_200B_200C_200C_206D_206D_200C_206C_206D_206B_200F_200F_206F_202D_206F_202B_202D_202C_200D_206E_206F_202C_202E_200E_202E; + + internal void _202C_200F_200D_200B_206B_206F_200F_200B_200F_200E_200B_200B_202A_206A_200B_206E_206D_202D_202D_206A_200F_206B_206E_206C_202E_206D_206D_200B_200B_202B_200B_206C_206B_200C_202C_206E_202E_200C_202D_202A_202E(uint numPosStates) + { + uint num = _200C_206D_206A_202B_206E_200C_200B_202C_200F_206E_206A_200C_206E_206B_200B_206C_200E_200B_200C_200C_206D_206D_200C_206C_206D_206B_200F_200F_206F_202D_206F_202B_202D_202C_200D_206E_206F_202C_202E_200E_202E; + while (num < numPosStates) + { + _200B_206A_206E_202D_206E_202A_202C_202E_202E_206F_200C_206E_200B_202E_200D_200B_206C_200C_200E_206B_200C_200E_200E_202B_200C_206B_200F_200D_200D_202D_206B_206F_202C_200B_206B_200F_200B_202A_206D_206A_202E[num] = new _206C_200C_202B_200E_206F_200B_206C_202D_206C_200C_206B_206C_202A_206E_200B_200E_200D_200B_206E_200F_202C_200F_206E_206C_200C_202A_206F_200F_206D_202E_202D_202C_206C_202C_200B_206E_200D_200C_202D_206C_202E(3); + _200F_202C_200B_200F_206D_202C_202C_200F_202B_206B_206E_200B_206F_200D_200D_206E_200F_200D_206A_200D_202A_202D_200D_200D_200E_206E_200F_202D_206F_202D_202D_200D_202A_206A_202A_200C_202E_206E_206F_202D_202E[num] = new _206C_200C_202B_200E_206F_200B_206C_202D_206C_200C_206B_206C_202A_206E_200B_200E_200D_200B_206E_200F_202C_200F_206E_206C_200C_202A_206F_200F_206D_202E_202D_202C_206C_202C_200B_206E_200D_200C_202D_206C_202E(3); + uint num2 = num; + int num3 = 1; + int num4 = (int)num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = (uint)(num5 + (num6 + num6)); + } + _200C_206D_206A_202B_206E_200C_200B_202C_200F_206E_206A_200C_206E_206B_200B_206C_200E_200B_200C_200C_206D_206D_200C_206C_206D_206B_200F_200F_206F_202D_206F_202B_202D_202C_200D_206E_206F_202C_202E_200E_202E = numPosStates; + } + + internal void _200D_200F_206D_202E_202B_206B_202A_202A_200E_206E_202E_202B_202C_202C_206C_200F_206B_202A_200C_206A_206B_206F_206C_206E_202D_206C_206E_206F_200B_206E_206B_200B_206C_206C_200F_202B_202A_206F_202E_206B_202E() + { + _202B_202C_206B_200F_200C_200B_200F_206B_202E_206A_206A_200F_206E_206F_200E_200B_200E_206E_206D_206C_206F_202C_202E_200C_200E_202C_206E_202A_206E_200D_206D_200B_206B_206B_202E_200F_202C_200B_200E_206C_202E._206E_206C_202A_202E_200F_206B_200B_200E_202A_202B_202C_206C_206F_206C_202A_202C_200D_200E_200B_202A_202E_206E_202E_202D_206F_206D_202D_206F_206F_202D_200D_202A_202B_200C_200D_200E_202A_200E_206A_202D_202E(); + uint num = 0u; + while (num < _200C_206D_206A_202B_206E_200C_200B_202C_200F_206E_206A_200C_206E_206B_200B_206C_200E_200B_200C_200C_206D_206D_200C_206C_206D_206B_200F_200F_206F_202D_206F_202B_202D_202C_200D_206E_206F_202C_202E_200E_202E) + { + _200B_206A_206E_202D_206E_202A_202C_202E_202E_206F_200C_206E_200B_202E_200D_200B_206C_200C_200E_206B_200C_200E_200E_202B_200C_206B_200F_200D_200D_202D_206B_206F_202C_200B_206B_200F_200B_202A_206D_206A_202E[num]._202E_200D_206A_202B_206E_206F_200E_202C_202D_206B_206C_200D_200C_200B_206C_200B_200E_202C_206E_202E_200C_202B_206F_200E_200F_202A_202C_200C_202B_202E_200F_202B_200B_206C_202E_202D_206E_202A_202E_202C_202E(); + _200F_202C_200B_200F_206D_202C_202C_200F_202B_206B_206E_200B_206F_200D_200D_206E_200F_200D_206A_200D_202A_202D_200D_200D_200E_206E_200F_202D_206F_202D_202D_200D_202A_206A_202A_200C_202E_206E_206F_202D_202E[num]._202E_200D_206A_202B_206E_206F_200E_202C_202D_206B_206C_200D_200C_200B_206C_200B_200E_202C_206E_202E_200C_202B_206F_200E_200F_202A_202C_200C_202B_202E_200F_202B_200B_206C_202E_202D_206E_202A_202E_202C_202E(); + uint num2 = num; + int num3 = 1; + int num4 = (int)num2; + num = (uint)((num4 | num3) + (num4 & num3)); + } + _202C_206F_200E_206F_206F_206D_206C_200B_200E_200B_202E_202D_206C_200E_206C_202A_202E_202A_200F_200B_206A_206C_202D_202A_206A_200B_202A_206A_206D_200F_200C_200B_206B_200C_200E_202A_200E_202B_200F_200F_202E._206E_206C_202A_202E_200F_206B_200B_200E_202A_202B_202C_206C_206F_206C_202A_202C_200D_200E_200B_202A_202E_206E_202E_202D_206F_206D_202D_206F_206F_202D_200D_202A_202B_200C_200D_200E_202A_200E_206A_202D_202E(); + _202D_202D_200C_202C_200B_200D_206A_202D_200C_202C_206D_206E_200E_206D_200D_202A_206F_206C_200E_202A_202E_202C_202C_200E_206B_200C_200C_202B_202D_200C_200B_202B_206E_202D_206A_202B_206B_206C_200B_200D_202E._202E_200D_206A_202B_206E_206F_200E_202C_202D_206B_206C_200D_200C_200B_206C_200B_200E_202C_206E_202E_200C_202B_206F_200E_200F_202A_202C_200C_202B_202E_200F_202B_200B_206C_202E_202D_206E_202A_202E_202C_202E(); + } + + internal uint _202D_202B_200E_206F_206E_200F_206A_202C_206E_200E_202A_202D_200D_202C_202C_202B_202B_206C_206F_200B_206E_200D_202B_202C_200F_200C_202D_202D_206A_206D_206C_202D_206C_206D_200E_206C_206D_202C_206A_206F_202E(_202A_200C_202A_206C_200C_202E_200C_200D_200D_206F_200B_206E_202B_206F_206F_206B_202D_202B_200F_202C_200E_202A_206C_202E_206B_206B_206F_202E_206B_206D_206B_200D_200E_206F_202E_206C_206C_200C_206C_206F_202E rangeDecoder, uint posState) + { + if (_202B_202C_206B_200F_200C_200B_200F_206B_202E_206A_206A_200F_206E_206F_200E_200B_200E_206E_206D_206C_206F_202C_202E_200C_200E_202C_206E_202A_206E_200D_206D_200B_206B_206B_202E_200F_202C_200B_200E_206C_202E._200B_206F_200D_200F_200C_206B_202C_206B_206C_206E_202A_206B_202D_206C_206A_200C_206E_200F_200F_202C_200B_206B_200D_206C_206B_206E_206D_202C_202A_206A_202E_202D_206B_202E_206E_202D_200B_200F_202A_200C_202E(rangeDecoder) == 0) + { + return _200B_206A_206E_202D_206E_202A_202C_202E_202E_206F_200C_206E_200B_202E_200D_200B_206C_200C_200E_206B_200C_200E_200E_202B_200C_206B_200F_200D_200D_202D_206B_206F_202C_200B_206B_200F_200B_202A_206D_206A_202E[posState]._206A_206E_206B_206A_206C_202C_202E_202E_202D_206C_202B_200E_200D_200B_200C_200C_200E_206F_206D_206D_200B_202B_202B_206E_202C_206A_200F_200E_202C_200E_206E_202D_202D_206E_206A_202A_206D_206B_206A_202D_202E(rangeDecoder); + } + uint num = 8u; + if (_202C_206F_200E_206F_206F_206D_206C_200B_200E_200B_202E_202D_206C_200E_206C_202A_202E_202A_200F_200B_206A_206C_202D_202A_206A_200B_202A_206A_206D_200F_200C_200B_206B_200C_200E_202A_200E_202B_200F_200F_202E._200B_206F_200D_200F_200C_206B_202C_206B_206C_206E_202A_206B_202D_206C_206A_200C_206E_200F_200F_202C_200B_206B_200D_206C_206B_206E_206D_202C_202A_206A_202E_202D_206B_202E_206E_202D_200B_200F_202A_200C_202E(rangeDecoder) == 0) + { + return num + _200F_202C_200B_200F_206D_202C_202C_200F_202B_206B_206E_200B_206F_200D_200D_206E_200F_200D_206A_200D_202A_202D_200D_200D_200E_206E_200F_202D_206F_202D_202D_200D_202A_206A_202A_200C_202E_206E_206F_202D_202E[posState]._206A_206E_206B_206A_206C_202C_202E_202E_202D_206C_202B_200E_200D_200B_200C_200C_200E_206F_206D_206D_200B_202B_202B_206E_202C_206A_200F_200E_202C_200E_206E_202D_202D_206E_206A_202A_206D_206B_206A_202D_202E(rangeDecoder); + } + uint num2 = num; + int num3 = 8; + int num4 = (int)num2; + num = (uint)((num4 | num3) + (num4 & num3)); + return num + _202D_202D_200C_202C_200B_200D_206A_202D_200C_202C_206D_206E_200E_206D_200D_202A_206F_206C_200E_202A_202E_202C_202C_200E_206B_200C_200C_202B_202D_200C_200B_202B_206E_202D_206A_202B_206B_206C_200B_200D_202E._206A_206E_206B_206A_206C_202C_202E_202E_202D_206C_202B_200E_200D_200B_200C_200C_200E_206F_206D_206D_200B_202B_202B_206E_202C_206A_200F_200E_202C_200E_206E_202D_202D_206E_206A_202A_206D_206B_206A_202D_202E(rangeDecoder); + } + + internal _206A_206B_206E_202D_202B_206B_206E_206D_206B_206A_200D_206A_206A_206A_206D_200E_200F_206C_202B_202D_206F_200B_206C_206C_206B_202A_202E_206F_200D_202C_202D_206E_206C_206D_206B_206A_202A_200F_200E_202A_202E() + { + } + } + + internal class _202A_200F_206D_206E_200B_202D_200C_206E_202D_202D_206E_200B_202C_200C_202C_200C_202A_206D_200B_200D_202A_202E_202B_202D_200E_206E_200E_200B_206F_200D_206A_200B_202A_200E_206B_206B_202C_206A_202B_200D_202E + { + internal struct _206C_206D_202A_202C_200B_202E_200E_200F_200B_206A_202A_202D_202C_202E_206C_200E_206E_206D_206C_200E_200B_200E_206D_202B_206B_200F_202E_202D_206A_202A_206B_202B_206C_200F_202C_206E_200F_200D_200E_200D_202E + { + internal _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E[] _200B_200C_202C_206A_206B_206E_202C_206C_200D_206B_202B_202E_202A_206D_200B_206E_206B_202D_202C_200D_206E_200E_206C_202E_200D_200C_200C_202E_206B_206A_206D_200D_206F_202E_206A_200D_202E_206E_202A_200D_202E; + + internal void _206E_206F_200D_206E_200E_202B_200B_202B_206D_200F_200F_202C_202B_206D_200C_206D_202C_202B_202A_202C_206B_206E_202B_206D_206C_206C_202D_202A_206B_202D_200F_206B_200E_206F_200E_202A_202A_202B_202A_202D_202E() + { + _200B_200C_202C_206A_206B_206E_202C_206C_200D_206B_202B_202E_202A_206D_200B_206E_206B_202D_202C_200D_206E_200E_206C_202E_200D_200C_200C_202E_206B_206A_206D_200D_206F_202E_206A_200D_202E_206E_202A_200D_202E = new _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E[768]; + } + + internal void _200C_200E_206E_200B_206F_202A_200B_202C_206B_206B_202B_202D_202A_202E_200D_200C_206C_206F_206C_202D_200E_200B_206B_202D_206C_200D_206D_206E_202C_202B_202E_200C_200F_202E_202B_200E_200F_202E_200D_200F_202E() + { + int num = 0; + while (num < 768) + { + _200B_200C_202C_206A_206B_206E_202C_206C_200D_206B_202B_202E_202A_206D_200B_206E_206B_202D_202C_200D_206E_200E_206C_202E_200D_200C_200C_202E_206B_206A_206D_200D_206F_202E_206A_200D_202E_206E_202A_200D_202E[num]._206E_206C_202A_202E_200F_206B_200B_200E_202A_202B_202C_206C_206F_206C_202A_202C_200D_200E_200B_202A_202E_206E_202E_202D_206F_206D_202D_206F_206F_202D_200D_202A_202B_200C_200D_200E_202A_200E_206A_202D_202E(); + int num2 = num; + int num3 = 1; + int num4 = num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = num5 + (num6 + num6); + } + } + + internal byte _200F_206D_200E_200B_202D_202C_206F_206F_202D_200E_200B_206B_206A_206D_206E_206F_206C_202E_200C_200D_202C_206D_206C_202B_202D_202E_200E_202B_206F_206D_200D_206D_202E_202C_206C_202D_206D_202D_202A_206E_202E(_202A_200C_202A_206C_200C_202E_200C_200D_200D_206F_200B_206E_202B_206F_206F_206B_202D_202B_200F_202C_200E_202A_206C_202E_206B_206B_206F_202E_206B_206D_206B_200D_200E_206F_202E_206C_206C_200C_206C_206F_202E rangeDecoder) + { + uint num = 1u; + do + { + num = (num << 1) | _200B_200C_202C_206A_206B_206E_202C_206C_200D_206B_202B_202E_202A_206D_200B_206E_206B_202D_202C_200D_206E_200E_206C_202E_200D_200C_200C_202E_206B_206A_206D_200D_206F_202E_206A_200D_202E_206E_202A_200D_202E[num]._200B_206F_200D_200F_200C_206B_202C_206B_206C_206E_202A_206B_202D_206C_206A_200C_206E_200F_200F_202C_200B_206B_200D_206C_206B_206E_206D_202C_202A_206A_202E_202D_206B_202E_206E_202D_200B_200F_202A_200C_202E(rangeDecoder); + } + while (num < 256); + return (byte)num; + } + + internal byte _202E_200F_200C_206D_200D_206C_202E_202A_200E_206D_206B_200E_206B_206D_200F_206D_202A_206F_206C_200F_202B_206D_202D_206A_200D_206E_202A_200D_206D_206B_202A_206E_206B_202B_206D_202E_206B_200D_206D_202D_202E(_202A_200C_202A_206C_200C_202E_200C_200D_200D_206F_200B_206E_202B_206F_206F_206B_202D_202B_200F_202C_200E_202A_206C_202E_206B_206B_206F_202E_206B_206D_206B_200D_200E_206F_202E_206C_206C_200C_206C_206F_202E rangeDecoder, byte matchByte) + { + uint num = 1u; + do + { + int num2 = matchByte >> 7; + int num3 = 1; + int num4 = num2; + uint num5 = (uint)(num4 + num3 - (num4 | num3)); + matchByte <<= 1; + _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E[] array = _200B_200C_202C_206A_206B_206E_202C_206C_200D_206B_202B_202E_202A_206D_200B_206E_206B_202D_202C_200D_206E_200E_206C_202E_200D_200C_200C_202E_206B_206A_206D_200D_206F_202E_206A_200D_202E_206E_202A_200D_202E; + num3 = (int)num5; + num4 = 1; + int num6 = (num4 | num3) + (num4 & num3) << 8; + num3 = (int)num; + num4 = num6; + uint num7 = array[(num4 | num3) + (num4 & num3)]._200B_206F_200D_200F_200C_206B_202C_206B_206C_206E_202A_206B_202D_206C_206A_200C_206E_200F_200F_202C_200B_206B_200D_206C_206B_206E_206D_202C_202A_206A_202E_202D_206B_202E_206E_202D_200B_200F_202A_200C_202E(rangeDecoder); + uint num8 = num << 1; + num3 = (int)num7; + num4 = (int)num8; + num = (uint)(num4 + num3 - (num4 & num3)); + if (num5 != num7) + { + while (num < 256) + { + num = (num << 1) | _200B_200C_202C_206A_206B_206E_202C_206C_200D_206B_202B_202E_202A_206D_200B_206E_206B_202D_202C_200D_206E_200E_206C_202E_200D_200C_200C_202E_206B_206A_206D_200D_206F_202E_206A_200D_202E_206E_202A_200D_202E[num]._200B_206F_200D_200F_200C_206B_202C_206B_206C_206E_202A_206B_202D_206C_206A_200C_206E_200F_200F_202C_200B_206B_200D_206C_206B_206E_206D_202C_202A_206A_202E_202D_206B_202E_206E_202D_200B_200F_202A_200C_202E(rangeDecoder); + } + break; + } + } + while (num < 256); + return (byte)num; + } + } + + internal _206C_206D_202A_202C_200B_202E_200E_200F_200B_206A_202A_202D_202C_202E_206C_200E_206E_206D_206C_200E_200B_200E_206D_202B_206B_200F_202E_202D_206A_202A_206B_202B_206C_200F_202C_206E_200F_200D_200E_200D_202E[] _206D_200B_206F_200D_200F_202D_200F_206D_206B_202C_206E_206C_202E_200D_200E_202A_206E_200B_200F_200F_202E_200B_200E_200F_206E_206D_202A_202D_202B_206F_202D_200E_206E_200C_200E_206A_200C_200C_202B_200C_202E; + + internal int _206B_206A_206D_206B_202C_206C_206A_200C_206A_206F_200D_202D_202D_206F_200E_200B_200C_206A_206D_206A_206A_200D_206B_202E_200F_206B_206B_202E_206A_206B_206A_200F_202E_200F_202B_206F_200E_200E_200D_202E; + + internal int _202B_202E_202D_206A_200D_202E_202D_200B_206C_200F_206A_202E_206F_206F_206E_202E_200E_202E_206C_202D_202A_200E_206C_202D_202B_202A_206F_206D_206E_206C_202B_200F_200B_202D_200C_202D_202E_206F_200E_200F_202E; + + internal uint _202B_200D_202C_202A_202C_206E_206B_206F_206B_206F_200F_200E_200E_202A_206E_202A_206F_202D_200F_200B_202D_200B_200D_206B_206D_202E_200F_206D_206D_206D_200C_200E_202B_200B_202A_206B_206A_206A_206B_202E; + + internal void _206A_206D_202A_200B_200C_206D_200F_202D_202E_206D_200B_202E_206A_202E_202D_206C_200E_206E_206A_202B_206D_202C_200E_206B_200C_200F_206C_200C_202B_202C_202D_200C_206F_206C_202D_200C_202D_206E_200C_202B_202E(int numPosBits, int numPrevBits) + { + if (_206D_200B_206F_200D_200F_202D_200F_206D_206B_202C_206E_206C_202E_200D_200E_202A_206E_200B_200F_200F_202E_200B_200E_200F_206E_206D_202A_202D_202B_206F_202D_200E_206E_200C_200E_206A_200C_200C_202B_200C_202E == null || _202B_202E_202D_206A_200D_202E_202D_200B_206C_200F_206A_202E_206F_206F_206E_202E_200E_202E_206C_202D_202A_200E_206C_202D_202B_202A_206F_206D_206E_206C_202B_200F_200B_202D_200C_202D_202E_206F_200E_200F_202E != numPrevBits || _206B_206A_206D_206B_202C_206C_206A_200C_206A_206F_200D_202D_202D_206F_200E_200B_200C_206A_206D_206A_206A_200D_206B_202E_200F_206B_206B_202E_206A_206B_206A_200F_202E_200F_202B_206F_200E_200E_200D_202E != numPosBits) + { + _206B_206A_206D_206B_202C_206C_206A_200C_206A_206F_200D_202D_202D_206F_200E_200B_200C_206A_206D_206A_206A_200D_206B_202E_200F_206B_206B_202E_206A_206B_206A_200F_202E_200F_202B_206F_200E_200E_200D_202E = numPosBits; + int num = 31; + int num2 = numPosBits; + int num3 = 1 << (num2 | num) - (num2 ^ num); + num = 1; + num2 = num3; + _202B_200D_202C_202A_202C_206E_206B_206F_206B_206F_200F_200E_200E_202A_206E_202A_206F_202D_200F_200B_202D_200B_200D_206B_206D_202E_200F_206D_206D_206D_200C_200E_202B_200B_202A_206B_206A_206A_206B_202E = (uint)(~(~num2 + num)); + _202B_202E_202D_206A_200D_202E_202D_200B_206C_200F_206A_202E_206F_206F_206E_202E_200E_202E_206C_202D_202A_200E_206C_202D_202B_202A_206F_206D_206E_206C_202B_200F_200B_202D_200C_202D_202E_206F_200E_200F_202E = numPrevBits; + int num4 = _202B_202E_202D_206A_200D_202E_202D_200B_206C_200F_206A_202E_206F_206F_206E_202E_200E_202E_206C_202D_202A_200E_206C_202D_202B_202A_206F_206D_206E_206C_202B_200F_200B_202D_200C_202D_202E_206F_200E_200F_202E; + num = _206B_206A_206D_206B_202C_206C_206A_200C_206A_206F_200D_202D_202D_206F_200E_200B_200C_206A_206D_206A_206A_200D_206B_202E_200F_206B_206B_202E_206A_206B_206A_200F_202E_200F_202B_206F_200E_200E_200D_202E; + num2 = num4; + int num5 = (num2 | num) + (num2 & num); + num = 31; + num2 = num5; + uint num6 = (uint)(1 << num2 + num - (num2 | num)); + _206D_200B_206F_200D_200F_202D_200F_206D_206B_202C_206E_206C_202E_200D_200E_202A_206E_200B_200F_200F_202E_200B_200E_200F_206E_206D_202A_202D_202B_206F_202D_200E_206E_200C_200E_206A_200C_200C_202B_200C_202E = new _206C_206D_202A_202C_200B_202E_200E_200F_200B_206A_202A_202D_202C_202E_206C_200E_206E_206D_206C_200E_200B_200E_206D_202B_206B_200F_202E_202D_206A_202A_206B_202B_206C_200F_202C_206E_200F_200D_200E_200D_202E[num6]; + for (uint num7 = 0u; num7 < num6; num7 = (uint)((num2 | num) + (num2 & num))) + { + _206D_200B_206F_200D_200F_202D_200F_206D_206B_202C_206E_206C_202E_200D_200E_202A_206E_200B_200F_200F_202E_200B_200E_200F_206E_206D_202A_202D_202B_206F_202D_200E_206E_200C_200E_206A_200C_200C_202B_200C_202E[num7]._206E_206F_200D_206E_200E_202B_200B_202B_206D_200F_200F_202C_202B_206D_200C_206D_202C_202B_202A_202C_206B_206E_202B_206D_206C_206C_202D_202A_206B_202D_200F_206B_200E_206F_200E_202A_202A_202B_202A_202D_202E(); + uint num8 = num7; + num = 1; + num2 = (int)num8; + } + } + } + + internal void _200F_202A_206A_202D_200B_200B_206E_206D_200B_206D_206A_200D_202A_206F_206C_206A_200B_206D_206C_202D_206C_206D_202E_206A_202E_200C_200D_206C_202D_202C_200E_202A_206E_200C_202A_200E_202C_200D_200B_202E_202E() + { + int num = _202B_202E_202D_206A_200D_202E_202D_200B_206C_200F_206A_202E_206F_206F_206E_202E_200E_202E_206C_202D_202A_200E_206C_202D_202B_202A_206F_206D_206E_206C_202B_200F_200B_202D_200C_202D_202E_206F_200E_200F_202E; + int num2 = _206B_206A_206D_206B_202C_206C_206A_200C_206A_206F_200D_202D_202D_206F_200E_200B_200C_206A_206D_206A_206A_200D_206B_202E_200F_206B_206B_202E_206A_206B_206A_200F_202E_200F_202B_206F_200E_200E_200D_202E; + int num3 = num; + int num4 = num3 ^ num2; + int num5 = num3 & num2; + int num6 = num4 + (num5 + num5); + num2 = 31; + num3 = num6; + uint num7 = (uint)(1 << (num3 | num2) - (num3 ^ num2)); + uint num8 = 0u; + while (num8 < num7) + { + _206D_200B_206F_200D_200F_202D_200F_206D_206B_202C_206E_206C_202E_200D_200E_202A_206E_200B_200F_200F_202E_200B_200E_200F_206E_206D_202A_202D_202B_206F_202D_200E_206E_200C_200E_206A_200C_200C_202B_200C_202E[num8]._200C_200E_206E_200B_206F_202A_200B_202C_206B_206B_202B_202D_202A_202E_200D_200C_206C_206F_206C_202D_200E_200B_206B_202D_206C_200D_206D_206E_202C_202B_202E_200C_200F_202E_202B_200E_200F_202E_200D_200F_202E(); + uint num9 = num8; + num2 = 1; + num3 = (int)num9; + int num10 = num3 ^ num2; + int num11 = num3 & num2; + num8 = (uint)(num10 + (num11 + num11)); + } + } + + internal uint _202A_200D_202B_200D_202E_200F_200B_202D_206D_202B_202B_200B_200E_202E_206C_202B_202E_206B_206D_206F_200B_202E_206E_202D_202C_206C_206D_200B_200F_202A_200C_200C_206D_206C_202E_206C_206D_206C_200F_200D_202E(uint pos, byte prevByte) + { + int num = (int)_202B_200D_202C_202A_202C_206E_206B_206F_206B_206F_200F_200E_200E_202A_206E_202A_206F_202D_200F_200B_202D_200B_200D_206B_206D_202E_200F_206D_206D_206D_200C_200E_202B_200B_202A_206B_206A_206A_206B_202E; + int num2 = (int)pos; + int num3 = (num2 | num) - (num2 ^ num); + int num4 = _202B_202E_202D_206A_200D_202E_202D_200B_206C_200F_206A_202E_206F_206F_206E_202E_200E_202E_206C_202D_202A_200E_206C_202D_202B_202A_206F_206D_206E_206C_202B_200F_200B_202D_200C_202D_202E_206F_200E_200F_202E; + num = 31; + num2 = num4; + int num5 = num3 << num2 + num - (num2 | num); + num = _202B_202E_202D_206A_200D_202E_202D_200B_206C_200F_206A_202E_206F_206F_206E_202E_200E_202E_206C_202D_202A_200E_206C_202D_202B_202A_206F_206D_206E_206C_202B_200F_200B_202D_200C_202D_202E_206F_200E_200F_202E; + num2 = 8; + int num6 = ~(~num2 + num); + num = 31; + num2 = num6; + num = prevByte >> (num2 | num) - (num2 ^ num); + num2 = num5; + int num7 = num2 ^ num; + int num8 = num2 & num; + return (uint)(num7 + (num8 + num8)); + } + + internal byte _206F_202E_202B_200F_206C_200D_206E_206D_202A_200C_206D_200C_206B_200E_202B_202C_202C_200E_200D_202B_206B_206E_202D_202A_206A_206C_200D_200D_202B_206F_200C_202B_206B_200D_200F_206D_200E_200B_202E_206A_202E(_202A_200C_202A_206C_200C_202E_200C_200D_200D_206F_200B_206E_202B_206F_206F_206B_202D_202B_200F_202C_200E_202A_206C_202E_206B_206B_206F_202E_206B_206D_206B_200D_200E_206F_202E_206C_206C_200C_206C_206F_202E rangeDecoder, uint pos, byte prevByte) + { + return _206D_200B_206F_200D_200F_202D_200F_206D_206B_202C_206E_206C_202E_200D_200E_202A_206E_200B_200F_200F_202E_200B_200E_200F_206E_206D_202A_202D_202B_206F_202D_200E_206E_200C_200E_206A_200C_200C_202B_200C_202E[_202A_200D_202B_200D_202E_200F_200B_202D_206D_202B_202B_200B_200E_202E_206C_202B_202E_206B_206D_206F_200B_202E_206E_202D_202C_206C_206D_200B_200F_202A_200C_200C_206D_206C_202E_206C_206D_206C_200F_200D_202E(pos, prevByte)]._200F_206D_200E_200B_202D_202C_206F_206F_202D_200E_200B_206B_206A_206D_206E_206F_206C_202E_200C_200D_202C_206D_206C_202B_202D_202E_200E_202B_206F_206D_200D_206D_202E_202C_206C_202D_206D_202D_202A_206E_202E(rangeDecoder); + } + + internal byte _206A_206F_202E_202C_206A_200D_200E_206F_200E_200C_206B_200B_202B_206C_206F_206C_200C_206D_202B_200E_202A_202D_206A_202B_202C_206E_202E_202A_200F_200C_202C_200E_206B_200C_206F_206A_206A_206F_200B_206D_202E(_202A_200C_202A_206C_200C_202E_200C_200D_200D_206F_200B_206E_202B_206F_206F_206B_202D_202B_200F_202C_200E_202A_206C_202E_206B_206B_206F_202E_206B_206D_206B_200D_200E_206F_202E_206C_206C_200C_206C_206F_202E rangeDecoder, uint pos, byte prevByte, byte matchByte) + { + return _206D_200B_206F_200D_200F_202D_200F_206D_206B_202C_206E_206C_202E_200D_200E_202A_206E_200B_200F_200F_202E_200B_200E_200F_206E_206D_202A_202D_202B_206F_202D_200E_206E_200C_200E_206A_200C_200C_202B_200C_202E[_202A_200D_202B_200D_202E_200F_200B_202D_206D_202B_202B_200B_200E_202E_206C_202B_202E_206B_206D_206F_200B_202E_206E_202D_202C_206C_206D_200B_200F_202A_200C_200C_206D_206C_202E_206C_206D_206C_200F_200D_202E(pos, prevByte)]._202E_200F_200C_206D_200D_206C_202E_202A_200E_206D_206B_200E_206B_206D_200F_206D_202A_206F_206C_200F_202B_206D_202D_206A_200D_206E_202A_200D_206D_206B_202A_206E_206B_202B_206D_202E_206B_200D_206D_202D_202E(rangeDecoder, matchByte); + } + + internal _202A_200F_206D_206E_200B_202D_200C_206E_202D_202D_206E_200B_202C_200C_202C_200C_202A_206D_200B_200D_202A_202E_202B_202D_200E_206E_200E_200B_206F_200D_206A_200B_202A_200E_206B_206B_202C_206A_202B_200D_202E() + { + } + } + + internal readonly _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E[] _202A_206A_200E_206E_206B_206B_206D_200D_202D_202D_206D_202B_206F_200B_200B_206E_206D_202E_202C_206F_200D_202D_200F_200F_202C_202D_200C_202D_202A_200B_206A_206F_206D_206C_202C_200B_206C_206D_200B_202E_202E = new _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E[192]; + + internal readonly _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E[] _206D_202D_202B_206D_200F_206A_206F_200C_200B_206F_206F_200D_200D_202E_200C_206A_206C_202A_200D_206C_200D_206A_200B_206F_206D_200E_202D_202B_200C_200C_200B_206D_200E_202E_202A_202D_200D_202B_206E_202A_202E = new _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E[192]; + + internal readonly _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E[] _200E_200E_206B_206C_200F_202B_200D_202A_202A_202D_200E_202A_206E_200B_202A_206A_200E_200F_206A_206A_206F_206A_206B_202D_200E_202E_206A_200D_200E_202B_206E_200D_202E_206B_202B_200D_206F_206B_200B_206B_202E = new _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E[12]; + + internal readonly _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E[] _202B_206F_202A_200E_206F_206F_200D_206C_200B_200D_202C_206C_202A_200B_206F_206A_202D_206E_206E_202B_206A_206F_200B_200C_206B_200B_206B_206A_200E_200B_206D_206A_200B_206D_200B_206F_202C_206E_206C_206B_202E = new _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E[12]; + + internal readonly _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E[] _206A_200C_206E_202B_200C_200D_202B_200F_200D_202A_200B_202A_202A_200C_206B_202A_200B_200E_202C_206D_200B_200B_206B_202D_206D_202A_202E_200C_200D_202E_200D_202E_206B_206F_202C_202B_206C_206A_206E_200E_202E = new _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E[12]; + + internal readonly _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E[] _206F_202B_200D_202B_206D_200F_206F_206B_206B_202E_206C_200D_206C_206A_202E_206B_200F_202D_202A_206D_202E_202E_202C_202C_202E_200C_202B_206E_202E_206F_206E_200D_206E_202B_200F_200C_202E_200B_202C_202E_202E = new _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E[12]; + + internal readonly _206A_206B_206E_202D_202B_206B_206E_206D_206B_206A_200D_206A_206A_206A_206D_200E_200F_206C_202B_202D_206F_200B_206C_206C_206B_202A_202E_206F_200D_202C_202D_206E_206C_206D_206B_206A_202A_200F_200E_202A_202E _206D_206F_206B_200C_200E_202A_200B_200C_202A_206A_202A_200E_200C_206B_206C_202A_206D_202D_200B_200E_200B_206E_200F_202B_202D_202E_206F_206F_206A_200D_200E_200B_202D_202B_202C_200D_202A_200F_200D_202C_202E = new _206A_206B_206E_202D_202B_206B_206E_206D_206B_206A_200D_206A_206A_206A_206D_200E_200F_206C_202B_202D_206F_200B_206C_206C_206B_202A_202E_206F_200D_202C_202D_206E_206C_206D_206B_206A_202A_200F_200E_202A_202E(); + + internal readonly _202A_200F_206D_206E_200B_202D_200C_206E_202D_202D_206E_200B_202C_200C_202C_200C_202A_206D_200B_200D_202A_202E_202B_202D_200E_206E_200E_200B_206F_200D_206A_200B_202A_200E_206B_206B_202C_206A_202B_200D_202E _206E_206B_206D_206B_202E_200E_202B_200D_200C_202D_206A_202A_200D_202A_200D_200F_200B_202C_202E_200D_206C_202A_200B_200B_206E_200C_206C_200F_202C_206F_200C_200D_206A_202C_206C_206D_206C_206F_206F_206B_202E = new _202A_200F_206D_206E_200B_202D_200C_206E_202D_202D_206E_200B_202C_200C_202C_200C_202A_206D_200B_200D_202A_202E_202B_202D_200E_206E_200E_200B_206F_200D_206A_200B_202A_200E_206B_206B_202C_206A_202B_200D_202E(); + + internal readonly _206C_200C_206B_206F_206A_206A_200B_206B_206F_200C_202A_202A_206E_202D_206C_202E_200D_202D_200B_202E_206B_202A_206D_202B_206F_206A_206E_206E_206B_206E_202D_200C_200D_206C_206E_200E_202C_206A_206F_206B_202E _202E_206E_202B_200B_200F_202E_200E_206B_202C_200F_206E_202B_200C_202D_206D_206F_206A_202E_202C_200C_200E_206E_202E_206A_200C_206C_206D_202D_200D_202E_200B_206F_206A_206A_202D_200C_206A_202A_200B_206E_202E = new _206C_200C_206B_206F_206A_206A_200B_206B_206F_200C_202A_202A_206E_202D_206C_202E_200D_202D_200B_202E_206B_202A_206D_202B_206F_206A_206E_206E_206B_206E_202D_200C_200D_206C_206E_200E_202C_206A_206F_206B_202E(); + + internal readonly _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E[] _206F_200C_202A_200B_202E_206E_200F_206B_200E_200E_200D_206A_202B_202D_202E_200B_202B_206A_200F_202E_200C_202E_202A_202B_200B_200B_200E_200E_202A_200F_206B_200C_202E_206E_206E_202B_206B_200D_206D_202D_202E = new _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E[114]; + + internal readonly _206C_200C_202B_200E_206F_200B_206C_202D_206C_200C_206B_206C_202A_206E_200B_200E_200D_200B_206E_200F_202C_200F_206E_206C_200C_202A_206F_200F_206D_202E_202D_202C_206C_202C_200B_206E_200D_200C_202D_206C_202E[] _206B_200D_206A_200B_200E_202E_200B_200B_206C_202E_200E_202B_200D_200B_202C_202B_202D_206D_200C_202A_200D_206D_200E_202D_200D_200D_206E_206C_200C_202E_200B_202D_200E_202B_200F_200D_206B_202B_200B_206D_202E = new _206C_200C_202B_200E_206F_200B_206C_202D_206C_200C_206B_206C_202A_206E_200B_200E_200D_200B_206E_200F_202C_200F_206E_206C_200C_202A_206F_200F_206D_202E_202D_202C_206C_202C_200B_206E_200D_200C_202D_206C_202E[4]; + + internal readonly _202A_200C_202A_206C_200C_202E_200C_200D_200D_206F_200B_206E_202B_206F_206F_206B_202D_202B_200F_202C_200E_202A_206C_202E_206B_206B_206F_202E_206B_206D_206B_200D_200E_206F_202E_206C_206C_200C_206C_206F_202E _206B_202D_206F_200B_200C_206D_200E_202C_206E_206E_200D_202B_200E_206E_206D_200B_202D_202D_206A_206A_200F_202A_202C_202D_200C_200E_200E_200C_200D_200E_200D_206E_202E_202C_202B_202A_202D_206C_200B_206C_202E = new _202A_200C_202A_206C_200C_202E_200C_200D_200D_206F_200B_206E_202B_206F_206F_206B_202D_202B_200F_202C_200E_202A_206C_202E_206B_206B_206F_202E_206B_206D_206B_200D_200E_206F_202E_206C_206C_200C_206C_206F_202E(); + + internal readonly _206A_206B_206E_202D_202B_206B_206E_206D_206B_206A_200D_206A_206A_206A_206D_200E_200F_206C_202B_202D_206F_200B_206C_206C_206B_202A_202E_206F_200D_202C_202D_206E_206C_206D_206B_206A_202A_200F_200E_202A_202E _206E_206C_200D_206C_200D_200E_200E_206B_206F_206C_206E_206A_202D_202A_200C_200D_206C_206B_202C_206B_200C_202A_200E_202A_200E_206D_200C_200E_202E_206C_206A_200E_206E_202E_202D_200F_202A_200C_202D_206C_202E = new _206A_206B_206E_202D_202B_206B_206E_206D_206B_206A_200D_206A_206A_206A_206D_200E_200F_206C_202B_202D_206F_200B_206C_206C_206B_202A_202E_206F_200D_202C_202D_206E_206C_206D_206B_206A_202A_200F_200E_202A_202E(); + + internal bool _206D_206B_202D_202D_200F_200D_202B_206B_202C_200C_206E_200E_206A_206C_200F_206E_202C_206A_206F_206C_206E_202E_202C_206C_206B_206E_202D_200E_206A_206A_206A_200C_206F_202A_202C_202D_200D_202D_206D_200C_202E; + + internal uint _206A_206A_200F_206F_206B_206A_206F_200F_202B_202B_202E_202E_206A_202D_202D_202B_200F_206B_202E_206A_200E_202B_206C_206C_206D_202B_200F_200C_200D_200B_202E_200B_206C_200D_206D_202E_202A_206D_206F_202D_202E; + + internal uint _202B_206E_202B_202A_202C_200D_200B_202A_202C_206C_202A_200C_202C_206A_202E_202B_206E_200B_206D_206A_200F_202D_206A_206A_200E_206F_206F_202A_202D_200D_206A_206A_202E_202B_206F_206A_202C_206F_206C_200D_202E; + + internal _206C_200C_202B_200E_206F_200B_206C_202D_206C_200C_206B_206C_202A_206E_200B_200E_200D_200B_206E_200F_202C_200F_206E_206C_200C_202A_206F_200F_206D_202E_202D_202C_206C_202C_200B_206E_200D_200C_202D_206C_202E _200E_202C_202A_202A_200B_202E_206D_202E_202B_200B_200B_202B_206D_206F_206D_206F_200E_200C_202C_200E_200B_206C_202A_206E_206E_202E_202A_200B_202C_206D_206E_206F_202E_202A_200F_202C_202D_200C_202C_202D_202E = new _206C_200C_202B_200E_206F_200B_206C_202D_206C_200C_206B_206C_202A_206E_200B_200E_200D_200B_206E_200F_202C_200F_206E_206C_200C_202A_206F_200F_206D_202E_202D_202C_206C_202C_200B_206E_200D_200C_202D_206C_202E(4); + + internal uint _200D_200B_206E_200F_206A_206F_202E_200B_202D_206F_200B_206A_200D_206F_202D_202D_200B_200B_202A_200F_206F_202B_202D_200D_202D_200C_202A_206E_206A_202B_202C_200F_200C_206F_202D_206A_200E_202D_206D_206D_202E; + + internal _200C_202C_206E_200E_202C_202C_200F_200F_206F_206F_202C_200C_200B_206B_200B_202B_206B_200D_200C_202D_202E_206E_202D_200B_206E_202E_202E_202B_202C_206E_202A_206C_206B_206E_200B_202C_206C_200D_200B_206C_202E() + { + _206A_206A_200F_206F_206B_206A_206F_200F_202B_202B_202E_202E_206A_202D_202D_202B_200F_206B_202E_206A_200E_202B_206C_206C_206D_202B_200F_200C_200D_200B_202E_200B_206C_200D_206D_202E_202A_206D_206F_202D_202E = uint.MaxValue; + int num = 0; + while ((long)num < 4L) + { + _206B_200D_206A_200B_200E_202E_200B_200B_206C_202E_200E_202B_200D_200B_202C_202B_202D_206D_200C_202A_200D_206D_200E_202D_200D_200D_206E_206C_200C_202E_200B_202D_200E_202B_200F_200D_206B_202B_200B_206D_202E[num] = new _206C_200C_202B_200E_206F_200B_206C_202D_206C_200C_206B_206C_202A_206E_200B_200E_200D_200B_206E_200F_202C_200F_206E_206C_200C_202A_206F_200F_206D_202E_202D_202C_206C_202C_200B_206E_200D_200C_202D_206C_202E(6); + int num2 = num; + int num3 = 1; + int num4 = num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = num5 + (num6 + num6); + } + } + + internal void _202C_202E_200B_200D_206B_200B_200F_206C_200F_206F_200C_202D_206E_206D_200F_202D_206B_206D_206F_200B_206C_206E_202E_202D_206C_202A_202C_202A_206C_200D_202E_200E_202A_200C_202B_202E_200B_200C_206A_206B_202E(uint dictionarySize) + { + if (_206A_206A_200F_206F_206B_206A_206F_200F_202B_202B_202E_202E_206A_202D_202D_202B_200F_206B_202E_206A_200E_202B_206C_206C_206D_202B_200F_200C_200D_200B_202E_200B_206C_200D_206D_202E_202A_206D_206F_202D_202E != dictionarySize) + { + _206A_206A_200F_206F_206B_206A_206F_200F_202B_202B_202E_202E_206A_202D_202D_202B_200F_206B_202E_206A_200E_202B_206C_206C_206D_202B_200F_200C_200D_200B_202E_200B_206C_200D_206D_202E_202A_206D_206F_202D_202E = dictionarySize; + _202B_206E_202B_202A_202C_200D_200B_202A_202C_206C_202A_200C_202C_206A_202E_202B_206E_200B_206D_206A_200F_202D_206A_206A_200E_206F_206F_202A_202D_200D_206A_206A_202E_202B_206F_206A_202C_206F_206C_200D_202E = Math.Max(_206A_206A_200F_206F_206B_206A_206F_200F_202B_202B_202E_202E_206A_202D_202D_202B_200F_206B_202E_206A_200E_202B_206C_206C_206D_202B_200F_200C_200D_200B_202E_200B_206C_200D_206D_202E_202A_206D_206F_202D_202E, 1u); + uint windowSize = Math.Max(_202B_206E_202B_202A_202C_200D_200B_202A_202C_206C_202A_200C_202C_206A_202E_202B_206E_200B_206D_206A_200F_202D_206A_206A_200E_206F_206F_202A_202D_200D_206A_206A_202E_202B_206F_206A_202C_206F_206C_200D_202E, 4096u); + _202E_206E_202B_200B_200F_202E_200E_206B_202C_200F_206E_202B_200C_202D_206D_206F_206A_202E_202C_200C_200E_206E_202E_206A_200C_206C_206D_202D_200D_202E_200B_206F_206A_206A_202D_200C_206A_202A_200B_206E_202E._206E_200B_206A_202E_206E_202B_206B_200C_200B_200F_206B_200D_206C_202A_200D_202B_202A_200F_200D_202B_206F_200D_200F_206E_206A_200C_206E_200B_206A_206F_202E_202D_202D_206F_200F_202A_202C_206C_206A_202C_202E(windowSize); + } + } + + internal void _202D_200C_206A_202C_202D_206F_200D_206A_200E_206D_206E_200F_202E_206A_200D_206C_206D_200B_206C_206C_200E_206D_206F_206E_200F_206D_200C_202A_202C_200F_200B_200D_200B_202C_202D_206B_206B_202C_206D_202C_202E(int lp, int lc) + { + _206E_206B_206D_206B_202E_200E_202B_200D_200C_202D_206A_202A_200D_202A_200D_200F_200B_202C_202E_200D_206C_202A_200B_200B_206E_200C_206C_200F_202C_206F_200C_200D_206A_202C_206C_206D_206C_206F_206F_206B_202E._206A_206D_202A_200B_200C_206D_200F_202D_202E_206D_200B_202E_206A_202E_202D_206C_200E_206E_206A_202B_206D_202C_200E_206B_200C_200F_206C_200C_202B_202C_202D_200C_206F_206C_202D_200C_202D_206E_200C_202B_202E(lp, lc); + } + + internal void _200F_202D_206C_200F_206A_206C_202D_206C_202B_200E_202A_202A_200F_202C_206C_206D_206D_206E_206B_206B_202E_200F_206C_202A_206F_202C_206B_200F_202C_206D_202C_206D_200B_206E_206F_200E_202E_202B_206F_206D_202E(int pb) + { + int num = 31; + int num2 = pb; + uint num3 = (uint)(1 << num2 + num - (num2 | num)); + _206D_206F_206B_200C_200E_202A_200B_200C_202A_206A_202A_200E_200C_206B_206C_202A_206D_202D_200B_200E_200B_206E_200F_202B_202D_202E_206F_206F_206A_200D_200E_200B_202D_202B_202C_200D_202A_200F_200D_202C_202E._202C_200F_200D_200B_206B_206F_200F_200B_200F_200E_200B_200B_202A_206A_200B_206E_206D_202D_202D_206A_200F_206B_206E_206C_202E_206D_206D_200B_200B_202B_200B_206C_206B_200C_202C_206E_202E_200C_202D_202A_202E(num3); + _206E_206C_200D_206C_200D_200E_200E_206B_206F_206C_206E_206A_202D_202A_200C_200D_206C_206B_202C_206B_200C_202A_200E_202A_200E_206D_200C_200E_202E_206C_206A_200E_206E_202E_202D_200F_202A_200C_202D_206C_202E._202C_200F_200D_200B_206B_206F_200F_200B_200F_200E_200B_200B_202A_206A_200B_206E_206D_202D_202D_206A_200F_206B_206E_206C_202E_206D_206D_200B_200B_202B_200B_206C_206B_200C_202C_206E_202E_200C_202D_202A_202E(num3); + num = 1; + num2 = (int)num3; + _200D_200B_206E_200F_206A_206F_202E_200B_202D_206F_200B_206A_200D_206F_202D_202D_200B_200B_202A_200F_206F_202B_202D_200D_202D_200C_202A_206E_206A_202B_202C_200F_200C_206F_202D_206A_200E_202D_206D_206D_202E = (uint)(~(~num2 + num)); + } + + internal void _200E_202E_206E_200E_200D_200C_206A_206C_200F_200E_200D_202B_206B_202B_206C_206A_200D_206D_206B_206E_200E_202E_206C_200E_206D_206E_206A_206B_202D_206C_200F_200E_200B_206B_202D_206A_202A_200E_202C_206E_202E(Stream inStream, Stream outStream) + { + _206B_202D_206F_200B_200C_206D_200E_202C_206E_206E_200D_202B_200E_206E_206D_200B_202D_202D_206A_206A_200F_202A_202C_202D_200C_200E_200E_200C_200D_200E_200D_206E_202E_202C_202B_202A_202D_206C_200B_206C_202E._206C_202C_200D_202D_206C_202D_202C_206E_200F_206D_200C_202C_206E_202C_202B_200F_206C_206E_200C_200D_206A_206D_202A_206A_206A_206B_202B_206A_202E_200E_200B_206F_206C_202B_202A_200F_206E_200D_200F_200F_202E(inStream); + _202E_206E_202B_200B_200F_202E_200E_206B_202C_200F_206E_202B_200C_202D_206D_206F_206A_202E_202C_200C_200E_206E_202E_206A_200C_206C_206D_202D_200D_202E_200B_206F_206A_206A_202D_200C_206A_202A_200B_206E_202E._200E_202A_206C_202A_202B_200E_200C_206D_206F_202E_202A_202D_206C_202A_206E_202E_206C_202D_202D_200E_206F_206D_202A_200B_206E_200C_202C_202A_200C_206B_200B_200C_202C_202D_200D_200B_200B_206D_200D_206F_202E(outStream, _206D_206B_202D_202D_200F_200D_202B_206B_202C_200C_206E_200E_206A_206C_200F_206E_202C_206A_206F_206C_206E_202E_202C_206C_206B_206E_202D_200E_206A_206A_206A_200C_206F_202A_202C_202D_200D_202D_206D_200C_202E); + uint num = 0u; + while (num < 12) + { + int num4; + int num5; + for (uint num2 = 0u; num2 <= _200D_200B_206E_200F_206A_206F_202E_200B_202D_206F_200B_206A_200D_206F_202D_202D_200B_200B_202A_200F_206F_202B_202D_200D_202D_200C_202A_206E_206A_202B_202C_200F_200C_206F_202D_206A_200E_202D_206D_206D_202E; num2 = (uint)((num5 | num4) + (num5 & num4))) + { + uint num3 = num << 4; + num4 = (int)num2; + num5 = (int)num3; + int num6 = num5 ^ num4; + int num7 = num5 & num4; + uint num8 = (uint)(num6 + (num7 + num7)); + _202A_206A_200E_206E_206B_206B_206D_200D_202D_202D_206D_202B_206F_200B_200B_206E_206D_202E_202C_206F_200D_202D_200F_200F_202C_202D_200C_202D_202A_200B_206A_206F_206D_206C_202C_200B_206C_206D_200B_202E_202E[num8]._206E_206C_202A_202E_200F_206B_200B_200E_202A_202B_202C_206C_206F_206C_202A_202C_200D_200E_200B_202A_202E_206E_202E_202D_206F_206D_202D_206F_206F_202D_200D_202A_202B_200C_200D_200E_202A_200E_206A_202D_202E(); + _206D_202D_202B_206D_200F_206A_206F_200C_200B_206F_206F_200D_200D_202E_200C_206A_206C_202A_200D_206C_200D_206A_200B_206F_206D_200E_202D_202B_200C_200C_200B_206D_200E_202E_202A_202D_200D_202B_206E_202A_202E[num8]._206E_206C_202A_202E_200F_206B_200B_200E_202A_202B_202C_206C_206F_206C_202A_202C_200D_200E_200B_202A_202E_206E_202E_202D_206F_206D_202D_206F_206F_202D_200D_202A_202B_200C_200D_200E_202A_200E_206A_202D_202E(); + uint num9 = num2; + num4 = 1; + num5 = (int)num9; + } + _200E_200E_206B_206C_200F_202B_200D_202A_202A_202D_200E_202A_206E_200B_202A_206A_200E_200F_206A_206A_206F_206A_206B_202D_200E_202E_206A_200D_200E_202B_206E_200D_202E_206B_202B_200D_206F_206B_200B_206B_202E[num]._206E_206C_202A_202E_200F_206B_200B_200E_202A_202B_202C_206C_206F_206C_202A_202C_200D_200E_200B_202A_202E_206E_202E_202D_206F_206D_202D_206F_206F_202D_200D_202A_202B_200C_200D_200E_202A_200E_206A_202D_202E(); + _202B_206F_202A_200E_206F_206F_200D_206C_200B_200D_202C_206C_202A_200B_206F_206A_202D_206E_206E_202B_206A_206F_200B_200C_206B_200B_206B_206A_200E_200B_206D_206A_200B_206D_200B_206F_202C_206E_206C_206B_202E[num]._206E_206C_202A_202E_200F_206B_200B_200E_202A_202B_202C_206C_206F_206C_202A_202C_200D_200E_200B_202A_202E_206E_202E_202D_206F_206D_202D_206F_206F_202D_200D_202A_202B_200C_200D_200E_202A_200E_206A_202D_202E(); + _206A_200C_206E_202B_200C_200D_202B_200F_200D_202A_200B_202A_202A_200C_206B_202A_200B_200E_202C_206D_200B_200B_206B_202D_206D_202A_202E_200C_200D_202E_200D_202E_206B_206F_202C_202B_206C_206A_206E_200E_202E[num]._206E_206C_202A_202E_200F_206B_200B_200E_202A_202B_202C_206C_206F_206C_202A_202C_200D_200E_200B_202A_202E_206E_202E_202D_206F_206D_202D_206F_206F_202D_200D_202A_202B_200C_200D_200E_202A_200E_206A_202D_202E(); + _206F_202B_200D_202B_206D_200F_206F_206B_206B_202E_206C_200D_206C_206A_202E_206B_200F_202D_202A_206D_202E_202E_202C_202C_202E_200C_202B_206E_202E_206F_206E_200D_206E_202B_200F_200C_202E_200B_202C_202E_202E[num]._206E_206C_202A_202E_200F_206B_200B_200E_202A_202B_202C_206C_206F_206C_202A_202C_200D_200E_200B_202A_202E_206E_202E_202D_206F_206D_202D_206F_206F_202D_200D_202A_202B_200C_200D_200E_202A_200E_206A_202D_202E(); + uint num10 = num; + num4 = 1; + num5 = (int)num10; + num = (uint)((num5 | num4) + (num5 & num4)); + } + _206E_206B_206D_206B_202E_200E_202B_200D_200C_202D_206A_202A_200D_202A_200D_200F_200B_202C_202E_200D_206C_202A_200B_200B_206E_200C_206C_200F_202C_206F_200C_200D_206A_202C_206C_206D_206C_206F_206F_206B_202E._200F_202A_206A_202D_200B_200B_206E_206D_200B_206D_206A_200D_202A_206F_206C_206A_200B_206D_206C_202D_206C_206D_202E_206A_202E_200C_200D_206C_202D_202C_200E_202A_206E_200C_202A_200E_202C_200D_200B_202E_202E(); + num = 0u; + while (num < 4) + { + _206B_200D_206A_200B_200E_202E_200B_200B_206C_202E_200E_202B_200D_200B_202C_202B_202D_206D_200C_202A_200D_206D_200E_202D_200D_200D_206E_206C_200C_202E_200B_202D_200E_202B_200F_200D_206B_202B_200B_206D_202E[num]._202E_200D_206A_202B_206E_206F_200E_202C_202D_206B_206C_200D_200C_200B_206C_200B_200E_202C_206E_202E_200C_202B_206F_200E_200F_202A_202C_200C_202B_202E_200F_202B_200B_206C_202E_202D_206E_202A_202E_202C_202E(); + uint num11 = num; + int num4 = 1; + int num5 = (int)num11; + num = (uint)((num5 | num4) + (num5 & num4)); + } + num = 0u; + while (num < 114) + { + _206F_200C_202A_200B_202E_206E_200F_206B_200E_200E_200D_206A_202B_202D_202E_200B_202B_206A_200F_202E_200C_202E_202A_202B_200B_200B_200E_200E_202A_200F_206B_200C_202E_206E_206E_202B_206B_200D_206D_202D_202E[num]._206E_206C_202A_202E_200F_206B_200B_200E_202A_202B_202C_206C_206F_206C_202A_202C_200D_200E_200B_202A_202E_206E_202E_202D_206F_206D_202D_206F_206F_202D_200D_202A_202B_200C_200D_200E_202A_200E_206A_202D_202E(); + uint num12 = num; + int num4 = 1; + int num5 = (int)num12; + num = (uint)((num5 | num4) + (num5 & num4)); + } + _206D_206F_206B_200C_200E_202A_200B_200C_202A_206A_202A_200E_200C_206B_206C_202A_206D_202D_200B_200E_200B_206E_200F_202B_202D_202E_206F_206F_206A_200D_200E_200B_202D_202B_202C_200D_202A_200F_200D_202C_202E._200D_200F_206D_202E_202B_206B_202A_202A_200E_206E_202E_202B_202C_202C_206C_200F_206B_202A_200C_206A_206B_206F_206C_206E_202D_206C_206E_206F_200B_206E_206B_200B_206C_206C_200F_202B_202A_206F_202E_206B_202E(); + _206E_206C_200D_206C_200D_200E_200E_206B_206F_206C_206E_206A_202D_202A_200C_200D_206C_206B_202C_206B_200C_202A_200E_202A_200E_206D_200C_200E_202E_206C_206A_200E_206E_202E_202D_200F_202A_200C_202D_206C_202E._200D_200F_206D_202E_202B_206B_202A_202A_200E_206E_202E_202B_202C_202C_206C_200F_206B_202A_200C_206A_206B_206F_206C_206E_202D_206C_206E_206F_200B_206E_206B_200B_206C_206C_200F_202B_202A_206F_202E_206B_202E(); + _200E_202C_202A_202A_200B_202E_206D_202E_202B_200B_200B_202B_206D_206F_206D_206F_200E_200C_202C_200E_200B_206C_202A_206E_206E_202E_202A_200B_202C_206D_206E_206F_202E_202A_200F_202C_202D_200C_202C_202D_202E._202E_200D_206A_202B_206E_206F_200E_202C_202D_206B_206C_200D_200C_200B_206C_200B_200E_202C_206E_202E_200C_202B_206F_200E_200F_202A_202C_200C_202B_202E_200F_202B_200B_206C_202E_202D_206E_202A_202E_202C_202E(); + } + + internal void _202C_206A_200E_200F_202C_202E_206E_206B_206C_202E_202A_200E_202E_206A_206A_202D_202D_202C_206A_206B_206E_206B_202E_206E_202E_206A_206F_206A_200F_200D_206E_206E_206D_200C_202B_202D_202E_200D_206B_200C_202E(Stream inStream, Stream outStream, long inSize, long outSize) + { + _200E_202E_206E_200E_200D_200C_206A_206C_200F_200E_200D_202B_206B_202B_206C_206A_200D_206D_206B_206E_200E_202E_206C_200E_206D_206E_206A_206B_202D_206C_200F_200E_200B_206B_202D_206A_202A_200E_202C_206E_202E(inStream, outStream); + _206C_200B_206E_206C_202C_206E_206E_200E_202C_206F_200C_206A_202B_202D_200B_200E_206B_202D_206A_202E_200F_206B_200B_202D_200B_202A_202B_206E_200C_202E_200C_202E_200C_202C_206C_206E_206D_206A_206D_200E_202E obj = default(_206C_200B_206E_206C_202C_206E_206E_200E_202C_206F_200C_206A_202B_202D_200B_200E_206B_202D_206A_202E_200F_206B_200B_202D_200B_202A_202B_206E_200C_202E_200C_202E_200C_202C_206C_206E_206D_206A_206D_200E_202E); + obj._206D_206C_200C_200C_200E_202C_202B_200F_200C_200F_200D_206F_202D_202A_202A_206F_200C_200F_206C_202B_200D_202C_206D_202D_206D_202D_206B_206C_200C_206F_202E_206C_202C_200E_200E_200C_206E_200D_200D_202D_202E(); + uint num = 0u; + uint num2 = 0u; + uint num3 = 0u; + uint num4 = 0u; + ulong num5 = 0uL; + if (num5 < (ulong)outSize) + { + _202A_206A_200E_206E_206B_206B_206D_200D_202D_202D_206D_202B_206F_200B_200B_206E_206D_202E_202C_206F_200D_202D_200F_200F_202C_202D_200C_202D_202A_200B_206A_206F_206D_206C_202C_200B_206C_206D_200B_202E_202E[obj._206A_206D_206B_202A_202B_206B_202B_200D_202A_202C_206A_202E_206E_202E_200C_206C_200D_202A_200B_206A_206A_200C_200B_202C_206E_206F_200D_200F_206B_200F_202C_200B_206D_202C_206C_202D_200F_200F_206B_202E_202E << 4]._200B_206F_200D_200F_200C_206B_202C_206B_206C_206E_202A_206B_202D_206C_206A_200C_206E_200F_200F_202C_200B_206B_200D_206C_206B_206E_206D_202C_202A_206A_202E_202D_206B_202E_206E_202D_200B_200F_202A_200C_202E(_206B_202D_206F_200B_200C_206D_200E_202C_206E_206E_200D_202B_200E_206E_206D_200B_202D_202D_206A_206A_200F_202A_202C_202D_200C_200E_200E_200C_200D_200E_200D_206E_202E_202C_202B_202A_202D_206C_200B_206C_202E); + obj._206F_202D_206E_206F_206E_200E_206F_206A_206F_200B_200C_200B_206D_200D_202E_206A_202C_202E_202D_200C_200E_202E_206B_200C_200F_206F_202A_200D_202B_202D_202D_200D_206E_206B_202A_202E_206E_206C_200F_206E_202E(); + byte b = _206E_206B_206D_206B_202E_200E_202B_200D_200C_202D_206A_202A_200D_202A_200D_200F_200B_202C_202E_200D_206C_202A_200B_200B_206E_200C_206C_200F_202C_206F_200C_200D_206A_202C_206C_206D_206C_206F_206F_206B_202E._206F_202E_202B_200F_206C_200D_206E_206D_202A_200C_206D_200C_206B_200E_202B_202C_202C_200E_200D_202B_206B_206E_202D_202A_206A_206C_200D_200D_202B_206F_200C_202B_206B_200D_200F_206D_200E_200B_202E_206A_202E(_206B_202D_206F_200B_200C_206D_200E_202C_206E_206E_200D_202B_200E_206E_206D_200B_202D_202D_206A_206A_200F_202A_202C_202D_200C_200E_200E_200C_200D_200E_200D_206E_202E_202C_202B_202A_202D_206C_200B_206C_202E, 0u, 0); + _202E_206E_202B_200B_200F_202E_200E_206B_202C_200F_206E_202B_200C_202D_206D_206F_206A_202E_202C_200C_200E_206E_202E_206A_200C_206C_206D_202D_200D_202E_200B_206F_206A_206A_202D_200C_206A_202A_200B_206E_202E._200E_206A_206A_206A_202B_202A_206C_202D_200F_202A_200B_206A_206D_200B_202A_200E_202B_200D_200E_206A_200E_200B_200D_202D_202B_206B_202B_206B_202E_202C_206D_202D_206E_206F_206C_202D_200B_200F_206B_200E_202E(b); + ulong num6 = num5; + long num7 = 1L; + long num8 = (long)num6; + num5 = (ulong)((num8 | num7) + (num8 & num7)); + } + while (num5 < (ulong)outSize) + { + int num9 = (int)num5; + int num10 = (int)_200D_200B_206E_200F_206A_206F_202E_200B_202D_206F_200B_206A_200D_206F_202D_202D_200B_200B_202A_200F_206F_202B_202D_200D_202D_200C_202A_206E_206A_202B_202C_200F_200C_206F_202D_206A_200E_202D_206D_206D_202E; + int num11 = num9; + uint num12 = (uint)(num11 + num10 - (num11 | num10)); + _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E[] array = _202A_206A_200E_206E_206B_206B_206D_200D_202D_202D_206D_202B_206F_200B_200B_206E_206D_202E_202C_206F_200D_202D_200F_200F_202C_202D_200C_202D_202A_200B_206A_206F_206D_206C_202C_200B_206C_206D_200B_202E_202E; + uint num13 = obj._206A_206D_206B_202A_202B_206B_202B_200D_202A_202C_206A_202E_206E_202E_200C_206C_200D_202A_200B_206A_206A_200C_200B_202C_206E_206F_200D_200F_206B_200F_202C_200B_206D_202C_206C_202D_200F_200F_206B_202E_202E << 4; + num10 = (int)num12; + num11 = (int)num13; + int num14 = num11 ^ num10; + int num15 = num11 & num10; + long num7; + long num8; + if (array[num14 + (num15 + num15)]._200B_206F_200D_200F_200C_206B_202C_206B_206C_206E_202A_206B_202D_206C_206A_200C_206E_200F_200F_202C_200B_206B_200D_206C_206B_206E_206D_202C_202A_206A_202E_202D_206B_202E_206E_202D_200B_200F_202A_200C_202E(_206B_202D_206F_200B_200C_206D_200E_202C_206E_206E_200D_202B_200E_206E_206D_200B_202D_202D_206A_206A_200F_202A_202C_202D_200C_200E_200E_200C_200D_200E_200D_206E_202E_202C_202B_202A_202D_206C_200B_206C_202E) == 0) + { + byte prevByte = _202E_206E_202B_200B_200F_202E_200E_206B_202C_200F_206E_202B_200C_202D_206D_206F_206A_202E_202C_200C_200E_206E_202E_206A_200C_206C_206D_202D_200D_202E_200B_206F_206A_206A_202D_200C_206A_202A_200B_206E_202E._200D_206C_202B_202D_202E_202E_200B_200D_206D_206E_202D_200C_200F_202A_200B_200C_206B_206E_206F_202B_206A_206C_206D_206D_202E_202A_200F_202E_200F_200D_200C_206E_200C_206D_200D_200E_200D_202C_202C_202C_202E(0u); + byte b2 = (obj._202A_202A_202C_202C_202B_202A_202D_200B_206B_206E_200D_206E_200E_200F_206A_206E_200B_200F_202E_202D_200E_202A_202E_202A_202E_200B_206B_202D_206F_200C_206F_206B_200F_206A_206F_200F_200D_206B_200D_202E_202E() ? _206E_206B_206D_206B_202E_200E_202B_200D_200C_202D_206A_202A_200D_202A_200D_200F_200B_202C_202E_200D_206C_202A_200B_200B_206E_200C_206C_200F_202C_206F_200C_200D_206A_202C_206C_206D_206C_206F_206F_206B_202E._206F_202E_202B_200F_206C_200D_206E_206D_202A_200C_206D_200C_206B_200E_202B_202C_202C_200E_200D_202B_206B_206E_202D_202A_206A_206C_200D_200D_202B_206F_200C_202B_206B_200D_200F_206D_200E_200B_202E_206A_202E(_206B_202D_206F_200B_200C_206D_200E_202C_206E_206E_200D_202B_200E_206E_206D_200B_202D_202D_206A_206A_200F_202A_202C_202D_200C_200E_200E_200C_200D_200E_200D_206E_202E_202C_202B_202A_202D_206C_200B_206C_202E, (uint)num5, prevByte) : _206E_206B_206D_206B_202E_200E_202B_200D_200C_202D_206A_202A_200D_202A_200D_200F_200B_202C_202E_200D_206C_202A_200B_200B_206E_200C_206C_200F_202C_206F_200C_200D_206A_202C_206C_206D_206C_206F_206F_206B_202E._206A_206F_202E_202C_206A_200D_200E_206F_200E_200C_206B_200B_202B_206C_206F_206C_200C_206D_202B_200E_202A_202D_206A_202B_202C_206E_202E_202A_200F_200C_202C_200E_206B_200C_206F_206A_206A_206F_200B_206D_202E(_206B_202D_206F_200B_200C_206D_200E_202C_206E_206E_200D_202B_200E_206E_206D_200B_202D_202D_206A_206A_200F_202A_202C_202D_200C_200E_200E_200C_200D_200E_200D_206E_202E_202C_202B_202A_202D_206C_200B_206C_202E, (uint)num5, prevByte, _202E_206E_202B_200B_200F_202E_200E_206B_202C_200F_206E_202B_200C_202D_206D_206F_206A_202E_202C_200C_200E_206E_202E_206A_200C_206C_206D_202D_200D_202E_200B_206F_206A_206A_202D_200C_206A_202A_200B_206E_202E._200D_206C_202B_202D_202E_202E_200B_200D_206D_206E_202D_200C_200F_202A_200B_200C_206B_206E_206F_202B_206A_206C_206D_206D_202E_202A_200F_202E_200F_200D_200C_206E_200C_206D_200D_200E_200D_202C_202C_202C_202E(num))); + _202E_206E_202B_200B_200F_202E_200E_206B_202C_200F_206E_202B_200C_202D_206D_206F_206A_202E_202C_200C_200E_206E_202E_206A_200C_206C_206D_202D_200D_202E_200B_206F_206A_206A_202D_200C_206A_202A_200B_206E_202E._200E_206A_206A_206A_202B_202A_206C_202D_200F_202A_200B_206A_206D_200B_202A_200E_202B_200D_200E_206A_200E_200B_200D_202D_202B_206B_202B_206B_202E_202C_206D_202D_206E_206F_206C_202D_200B_200F_206B_200E_202E(b2); + obj._206F_202D_206E_206F_206E_200E_206F_206A_206F_200B_200C_200B_206D_200D_202E_206A_202C_202E_202D_200C_200E_202E_206B_200C_200F_206F_202A_200D_202B_202D_202D_200D_206E_206B_202A_202E_206E_206C_200F_206E_202E(); + ulong num16 = num5; + num7 = 1L; + num8 = (long)num16; + num5 = (ulong)((num8 | num7) + (num8 & num7)); + continue; + } + uint num20; + if (_200E_200E_206B_206C_200F_202B_200D_202A_202A_202D_200E_202A_206E_200B_202A_206A_200E_200F_206A_206A_206F_206A_206B_202D_200E_202E_206A_200D_200E_202B_206E_200D_202E_206B_202B_200D_206F_206B_200B_206B_202E[obj._206A_206D_206B_202A_202B_206B_202B_200D_202A_202C_206A_202E_206E_202E_200C_206C_200D_202A_200B_206A_206A_200C_200B_202C_206E_206F_200D_200F_206B_200F_202C_200B_206D_202C_206C_202D_200F_200F_206B_202E_202E]._200B_206F_200D_200F_200C_206B_202C_206B_206C_206E_202A_206B_202D_206C_206A_200C_206E_200F_200F_202C_200B_206B_200D_206C_206B_206E_206D_202C_202A_206A_202E_202D_206B_202E_206E_202D_200B_200F_202A_200C_202E(_206B_202D_206F_200B_200C_206D_200E_202C_206E_206E_200D_202B_200E_206E_206D_200B_202D_202D_206A_206A_200F_202A_202C_202D_200C_200E_200E_200C_200D_200E_200D_206E_202E_202C_202B_202A_202D_206C_200B_206C_202E) == 1) + { + if (_202B_206F_202A_200E_206F_206F_200D_206C_200B_200D_202C_206C_202A_200B_206F_206A_202D_206E_206E_202B_206A_206F_200B_200C_206B_200B_206B_206A_200E_200B_206D_206A_200B_206D_200B_206F_202C_206E_206C_206B_202E[obj._206A_206D_206B_202A_202B_206B_202B_200D_202A_202C_206A_202E_206E_202E_200C_206C_200D_202A_200B_206A_206A_200C_200B_202C_206E_206F_200D_200F_206B_200F_202C_200B_206D_202C_206C_202D_200F_200F_206B_202E_202E]._200B_206F_200D_200F_200C_206B_202C_206B_206C_206E_202A_206B_202D_206C_206A_200C_206E_200F_200F_202C_200B_206B_200D_206C_206B_206E_206D_202C_202A_206A_202E_202D_206B_202E_206E_202D_200B_200F_202A_200C_202E(_206B_202D_206F_200B_200C_206D_200E_202C_206E_206E_200D_202B_200E_206E_206D_200B_202D_202D_206A_206A_200F_202A_202C_202D_200C_200E_200E_200C_200D_200E_200D_206E_202E_202C_202B_202A_202D_206C_200B_206C_202E) == 0) + { + _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E[] array2 = _206D_202D_202B_206D_200F_206A_206F_200C_200B_206F_206F_200D_200D_202E_200C_206A_206C_202A_200D_206C_200D_206A_200B_206F_206D_200E_202D_202B_200C_200C_200B_206D_200E_202E_202A_202D_200D_202B_206E_202A_202E; + uint num17 = obj._206A_206D_206B_202A_202B_206B_202B_200D_202A_202C_206A_202E_206E_202E_200C_206C_200D_202A_200B_206A_206A_200C_200B_202C_206E_206F_200D_200F_206B_200F_202C_200B_206D_202C_206C_202D_200F_200F_206B_202E_202E << 4; + num10 = (int)num12; + num11 = (int)num17; + if (array2[(num11 | num10) + (num11 & num10)]._200B_206F_200D_200F_200C_206B_202C_206B_206C_206E_202A_206B_202D_206C_206A_200C_206E_200F_200F_202C_200B_206B_200D_206C_206B_206E_206D_202C_202A_206A_202E_202D_206B_202E_206E_202D_200B_200F_202A_200C_202E(_206B_202D_206F_200B_200C_206D_200E_202C_206E_206E_200D_202B_200E_206E_206D_200B_202D_202D_206A_206A_200F_202A_202C_202D_200C_200E_200E_200C_200D_200E_200D_206E_202E_202C_202B_202A_202D_206C_200B_206C_202E) == 0) + { + obj._202D_202D_200E_202B_202E_206D_206D_202E_202D_202C_206D_202B_202D_206A_206B_206C_200F_200B_202C_202C_202C_206B_206B_200D_202C_202B_206F_202B_206E_206A_202D_202A_200F_202E_200B_206E_202B_202C_200C_202E_202E(); + _202E_206E_202B_200B_200F_202E_200E_206B_202C_200F_206E_202B_200C_202D_206D_206F_206A_202E_202C_200C_200E_206E_202E_206A_200C_206C_206D_202D_200D_202E_200B_206F_206A_206A_202D_200C_206A_202A_200B_206E_202E._200E_206A_206A_206A_202B_202A_206C_202D_200F_202A_200B_206A_206D_200B_202A_200E_202B_200D_200E_206A_200E_200B_200D_202D_202B_206B_202B_206B_202E_202C_206D_202D_206E_206F_206C_202D_200B_200F_206B_200E_202E(_202E_206E_202B_200B_200F_202E_200E_206B_202C_200F_206E_202B_200C_202D_206D_206F_206A_202E_202C_200C_200E_206E_202E_206A_200C_206C_206D_202D_200D_202E_200B_206F_206A_206A_202D_200C_206A_202A_200B_206E_202E._200D_206C_202B_202D_202E_202E_200B_200D_206D_206E_202D_200C_200F_202A_200B_200C_206B_206E_206F_202B_206A_206C_206D_206D_202E_202A_200F_202E_200F_200D_200C_206E_200C_206D_200D_200E_200D_202C_202C_202C_202E(num)); + ulong num18 = num5; + num7 = 1L; + num8 = (long)num18; + num5 = (ulong)((num8 | num7) + (num8 & num7)); + continue; + } + } + else + { + uint num19; + if (_206A_200C_206E_202B_200C_200D_202B_200F_200D_202A_200B_202A_202A_200C_206B_202A_200B_200E_202C_206D_200B_200B_206B_202D_206D_202A_202E_200C_200D_202E_200D_202E_206B_206F_202C_202B_206C_206A_206E_200E_202E[obj._206A_206D_206B_202A_202B_206B_202B_200D_202A_202C_206A_202E_206E_202E_200C_206C_200D_202A_200B_206A_206A_200C_200B_202C_206E_206F_200D_200F_206B_200F_202C_200B_206D_202C_206C_202D_200F_200F_206B_202E_202E]._200B_206F_200D_200F_200C_206B_202C_206B_206C_206E_202A_206B_202D_206C_206A_200C_206E_200F_200F_202C_200B_206B_200D_206C_206B_206E_206D_202C_202A_206A_202E_202D_206B_202E_206E_202D_200B_200F_202A_200C_202E(_206B_202D_206F_200B_200C_206D_200E_202C_206E_206E_200D_202B_200E_206E_206D_200B_202D_202D_206A_206A_200F_202A_202C_202D_200C_200E_200E_200C_200D_200E_200D_206E_202E_202C_202B_202A_202D_206C_200B_206C_202E) == 0) + { + num19 = num2; + } + else + { + if (_206F_202B_200D_202B_206D_200F_206F_206B_206B_202E_206C_200D_206C_206A_202E_206B_200F_202D_202A_206D_202E_202E_202C_202C_202E_200C_202B_206E_202E_206F_206E_200D_206E_202B_200F_200C_202E_200B_202C_202E_202E[obj._206A_206D_206B_202A_202B_206B_202B_200D_202A_202C_206A_202E_206E_202E_200C_206C_200D_202A_200B_206A_206A_200C_200B_202C_206E_206F_200D_200F_206B_200F_202C_200B_206D_202C_206C_202D_200F_200F_206B_202E_202E]._200B_206F_200D_200F_200C_206B_202C_206B_206C_206E_202A_206B_202D_206C_206A_200C_206E_200F_200F_202C_200B_206B_200D_206C_206B_206E_206D_202C_202A_206A_202E_202D_206B_202E_206E_202D_200B_200F_202A_200C_202E(_206B_202D_206F_200B_200C_206D_200E_202C_206E_206E_200D_202B_200E_206E_206D_200B_202D_202D_206A_206A_200F_202A_202C_202D_200C_200E_200E_200C_200D_200E_200D_206E_202E_202C_202B_202A_202D_206C_200B_206C_202E) == 0) + { + num19 = num3; + } + else + { + num19 = num4; + num4 = num3; + } + num3 = num2; + } + num2 = num; + num = num19; + } + num20 = _206E_206C_200D_206C_200D_200E_200E_206B_206F_206C_206E_206A_202D_202A_200C_200D_206C_206B_202C_206B_200C_202A_200E_202A_200E_206D_200C_200E_202E_206C_206A_200E_206E_202E_202D_200F_202A_200C_202D_206C_202E._202D_202B_200E_206F_206E_200F_206A_202C_206E_200E_202A_202D_200D_202C_202C_202B_202B_206C_206F_200B_206E_200D_202B_202C_200F_200C_202D_202D_206A_206D_206C_202D_206C_206D_200E_206C_206D_202C_206A_206F_202E(_206B_202D_206F_200B_200C_206D_200E_202C_206E_206E_200D_202B_200E_206E_206D_200B_202D_202D_206A_206A_200F_202A_202C_202D_200C_200E_200E_200C_200D_200E_200D_206E_202E_202C_202B_202A_202D_206C_200B_206C_202E, num12) + 2; + obj._206D_202B_200E_206B_202D_206C_206D_206A_206E_206D_200F_202B_200B_202C_206B_200D_206F_206E_202B_206C_202B_202A_202A_206F_200B_202E_206D_206E_206D_206A_202A_206A_200E_202A_202A_200D_200F_202A_200F_202C_202E(); + } + else + { + num4 = num3; + num3 = num2; + num2 = num; + num20 = 2 + _206D_206F_206B_200C_200E_202A_200B_200C_202A_206A_202A_200E_200C_206B_206C_202A_206D_202D_200B_200E_200B_206E_200F_202B_202D_202E_206F_206F_206A_200D_200E_200B_202D_202B_202C_200D_202A_200F_200D_202C_202E._202D_202B_200E_206F_206E_200F_206A_202C_206E_200E_202A_202D_200D_202C_202C_202B_202B_206C_206F_200B_206E_200D_202B_202C_200F_200C_202D_202D_206A_206D_206C_202D_206C_206D_200E_206C_206D_202C_206A_206F_202E(_206B_202D_206F_200B_200C_206D_200E_202C_206E_206E_200D_202B_200E_206E_206D_200B_202D_202D_206A_206A_200F_202A_202C_202D_200C_200E_200E_200C_200D_200E_200D_206E_202E_202C_202B_202A_202D_206C_200B_206C_202E, num12); + obj._206F_202B_200C_200F_202E_202E_200C_206D_200B_202B_202A_206F_200D_206B_206C_202B_200E_206D_206A_206B_200E_202D_206B_202E_206A_200C_202B_200B_202E_202B_206C_206C_200E_206E_206C_202C_202B_202B_206B_206A_202E(); + uint num21 = _206B_200D_206A_200B_200E_202E_200B_200B_206C_202E_200E_202B_200D_200B_202C_202B_202D_206D_200C_202A_200D_206D_200E_202D_200D_200D_206E_206C_200C_202E_200B_202D_200E_202B_200F_200D_206B_202B_200B_206D_202E[_206E_200C_200F_206B_206F_202A_202E_200F_206F_202B_206A_202B_206D_200C_206F_200E_206B_202A_206E_206D_200B_202A_206A_202A_200C_200E_202B_200B_200B_206F_202C_206A_200D_206E_200F_200F_202A_202B_202B_200F_202E(num20)]._206A_206E_206B_206A_206C_202C_202E_202E_202D_206C_202B_200E_200D_200B_200C_200C_200E_206F_206D_206D_200B_202B_202B_206E_202C_206A_200F_200E_202C_200E_206E_202D_202D_206E_206A_202A_206D_206B_206A_202D_202E(_206B_202D_206F_200B_200C_206D_200E_202C_206E_206E_200D_202B_200E_206E_206D_200B_202D_202D_206A_206A_200F_202A_202C_202D_200C_200E_200E_200C_200D_200E_200D_206E_202E_202C_202B_202A_202D_206C_200B_206C_202E); + if (num21 >= 4) + { + uint num22 = num21 >> 1; + num10 = 1; + num11 = (int)num22; + int num23 = ~(~num11 + num10); + num10 = 1; + num11 = (int)num21; + num10 = num11 + num10 - (num11 | num10); + num11 = 2; + int num24 = (num11 & num10) + (num11 ^ num10); + num10 = 31; + num11 = num23; + num = (uint)(num24 << (num11 | num10) - (num11 ^ num10)); + if (num21 < 14) + { + uint num25 = num; + _202C_202D_206D_200D_206E_200D_200B_200B_200F_202B_206D_200C_206B_202E_202C_200C_200F_202C_200D_202A_206D_206D_206A_200E_200D_200E_202E_202A_200F_200C_206B_206D_206F_206B_202C_206F_202E_206D_206B_206B_202E[] models = _206F_200C_202A_200B_202E_206E_200F_206B_200E_200E_200D_206A_202B_202D_202E_200B_202B_206A_200F_202E_200C_202E_202A_202B_200B_200B_200E_200E_202A_200F_206B_200C_202E_206E_206E_202B_206B_200D_206D_202D_202E; + uint num26 = num; + num10 = (int)num21; + num11 = (int)num26; + int num27 = ~(~num11 + num10); + num10 = 1; + num11 = num27; + num = num25 + _206C_200C_202B_200E_206F_200B_206C_202D_206C_200C_206B_206C_202A_206E_200B_200E_200D_200B_206E_200F_202C_200F_206E_206C_200C_202A_206F_200F_206D_202E_202D_202C_206C_202C_200B_206E_200D_200C_202D_206C_202E._202E_200F_206A_202B_202A_202C_200D_206C_206C_206E_202A_200B_202D_202B_200D_200B_206C_202C_200E_206D_202E_206B_206E_206C_202E_202B_206F_200C_206B_202E_206A_202E_206F_206A_202A_206B_200F_200B_200F_202A_202E(models, (uint)(~(~num11 + num10)), _206B_202D_206F_200B_200C_206D_200E_202C_206E_206E_200D_202B_200E_206E_206D_200B_202D_202D_206A_206A_200F_202A_202C_202D_200C_200E_200E_200C_200D_200E_200D_206E_202E_202C_202B_202A_202D_206C_200B_206C_202E, num23); + } + else + { + uint num28 = num; + _202A_200C_202A_206C_200C_202E_200C_200D_200D_206F_200B_206E_202B_206F_206F_206B_202D_202B_200F_202C_200E_202A_206C_202E_206B_206B_206F_202E_206B_206D_206B_200D_200E_206F_202E_206C_206C_200C_206C_206F_202E obj2 = _206B_202D_206F_200B_200C_206D_200E_202C_206E_206E_200D_202B_200E_206E_206D_200B_202D_202D_206A_206A_200F_202A_202C_202D_200C_200E_200E_200C_200D_200E_200D_206E_202E_202C_202B_202A_202D_206C_200B_206C_202E; + num10 = 4; + num11 = num23; + num = num28 + (obj2._202A_202D_202D_202E_200E_200C_206E_202C_202B_206C_202A_206B_200D_206B_202E_202E_206A_206C_202E_206B_200E_206B_200E_206E_202A_200B_206B_202C_202C_202E_206D_200F_200D_200C_200F_200D_200E_206B_200D_206A_202E(~(~num11 + num10)) << 4); + num += _200E_202C_202A_202A_200B_202E_206D_202E_202B_200B_200B_202B_206D_206F_206D_206F_200E_200C_202C_200E_200B_206C_202A_206E_206E_202E_202A_200B_202C_206D_206E_206F_202E_202A_200F_202C_202D_200C_202C_202D_202E._202A_202D_206F_200C_206E_206D_200C_202B_202D_202C_202E_206E_202C_202E_206B_206A_206F_200D_200C_202E_202A_206C_200D_200B_202B_206D_206A_206B_202A_200F_200D_200B_206E_202C_202E_206B_200C_206E_202D_202E_202E(_206B_202D_206F_200B_200C_206D_200E_202C_206E_206E_200D_202B_200E_206E_206D_200B_202D_202D_206A_206A_200F_202A_202C_202D_200C_200E_200E_200C_200D_200E_200D_206E_202E_202C_202B_202A_202D_206C_200B_206C_202E); + } + } + else + { + num = num21; + } + } + if ((num >= num5 || num >= _202B_206E_202B_202A_202C_200D_200B_202A_202C_206C_202A_200C_202C_206A_202E_202B_206E_200B_206D_206A_200F_202D_206A_206A_200E_206F_206F_202A_202D_200D_206A_206A_202E_202B_206F_206A_202C_206F_206C_200D_202E) && num == uint.MaxValue) + { + break; + } + _202E_206E_202B_200B_200F_202E_200E_206B_202C_200F_206E_202B_200C_202D_206D_206F_206A_202E_202C_200C_200E_206E_202E_206A_200C_206C_206D_202D_200D_202E_200B_206F_206A_206A_202D_200C_206A_202A_200B_206E_202E._206D_200D_202B_200C_202A_206E_206B_200C_202B_200C_200B_200C_202C_206A_202E_202A_200D_206E_206F_202D_202E_206F_206C_202C_200C_202D_200D_206C_200D_200F_200F_206F_202D_202E_206C_202A_206D_206F_206F_206B_202E(num, num20); + ulong num29 = num5; + num7 = num20; + num8 = (long)num29; + num5 = (ulong)((num8 | num7) + (num8 & num7)); + } + _202E_206E_202B_200B_200F_202E_200E_206B_202C_200F_206E_202B_200C_202D_206D_206F_206A_202E_202C_200C_200E_206E_202E_206A_200C_206C_206D_202D_200D_202E_200B_206F_206A_206A_202D_200C_206A_202A_200B_206E_202E._200F_200D_202D_200F_206E_200B_202D_206B_202A_202D_206D_200F_206F_200D_206A_206C_206B_206B_202A_200B_206A_200C_202A_200D_206C_202B_200D_200F_206B_200B_206D_200D_202B_206E_206C_202C_206A_206D_200F_202B_202E(); + _202E_206E_202B_200B_200F_202E_200E_206B_202C_200F_206E_202B_200C_202D_206D_206F_206A_202E_202C_200C_200E_206E_202E_206A_200C_206C_206D_202D_200D_202E_200B_206F_206A_206A_202D_200C_206A_202A_200B_206E_202E._200C_200F_200F_202A_200C_200C_202E_200E_206C_200C_202A_206B_206B_200C_206B_200D_206D_202E_200E_206C_202A_202C_202E_200C_206C_202B_200C_200E_200B_200E_206D_206F_206C_206A_206C_202A_206C_200D_206F_206B_202E(); + _206B_202D_206F_200B_200C_206D_200E_202C_206E_206E_200D_202B_200E_206E_206D_200B_202D_202D_206A_206A_200F_202A_202C_202D_200C_200E_200E_200C_200D_200E_200D_206E_202E_202C_202B_202A_202D_206C_200B_206C_202E._206A_200D_200C_206E_202E_206D_206C_206B_206A_200E_200E_200D_200B_206D_200D_200E_202B_202C_206C_206A_202A_202E_200B_202B_206C_206B_200D_200C_202E_202A_206F_206D_200F_202A_200E_206B_202A_202A_206F_206A_202E(); + } + + internal void _200D_206E_206C_206B_206D_206A_200B_206A_202C_202A_202D_200B_202D_202D_206B_200D_200F_202A_200E_206A_206B_200C_202D_206C_200E_202E_202D_200F_200D_202A_200D_206D_200C_206C_200C_202E_202E_202D_200E_206B_202E(byte[] properties) + { + int lc = properties[0] % 9; + int num = properties[0] / 9; + int lp = num % 5; + int pb = num / 5; + uint num2 = 0u; + int num3 = 0; + while (num3 < 4) + { + uint num4 = num2; + int num5 = num3; + int num6 = 1; + byte num7 = properties[(num6 | num5) + (num6 & num5)]; + int num8 = num3 * 8; + num5 = 31; + num6 = num8; + num5 = num7 << (num6 | num5) - (num6 ^ num5); + num6 = (int)num4; + int num9 = num6 ^ num5; + int num10 = num6 & num5; + num2 = (uint)(num9 + (num10 + num10)); + int num11 = num3; + num5 = 1; + num6 = num11; + num3 = (num6 | num5) + (num6 & num5); + } + _202C_202E_200B_200D_206B_200B_200F_206C_200F_206F_200C_202D_206E_206D_200F_202D_206B_206D_206F_200B_206C_206E_202E_202D_206C_202A_202C_202A_206C_200D_202E_200E_202A_200C_202B_202E_200B_200C_206A_206B_202E(num2); + _202D_200C_206A_202C_202D_206F_200D_206A_200E_206D_206E_200F_202E_206A_200D_206C_206D_200B_206C_206C_200E_206D_206F_206E_200F_206D_200C_202A_202C_200F_200B_200D_200B_202C_202D_206B_206B_202C_206D_202C_202E(lp, lc); + _200F_202D_206C_200F_206A_206C_202D_206C_202B_200E_202A_202A_200F_202C_206C_206D_206D_206E_206B_206B_202E_200F_206C_202A_206F_202C_206B_200F_202C_206D_202C_206D_200B_206E_206F_200E_202E_202B_206F_206D_202E(pb); + } + + internal static uint _206E_200C_200F_206B_206F_202A_202E_200F_206F_202B_206A_202B_206D_200C_206F_200E_206B_202A_206E_206D_200B_202A_206A_202A_200C_200E_202B_200B_200B_206F_202C_206A_200D_206E_200F_200F_202A_202B_202B_200F_202E(uint len) + { + uint num = len; + int num2 = 2; + int num3 = (int)num; + len = (uint)(~(~num3 + num2)); + if (len < 4) + { + return len; + } + return 3u; + } +} +internal class _206C_200C_206B_206F_206A_206A_200B_206B_206F_200C_202A_202A_206E_202D_206C_202E_200D_202D_200B_202E_206B_202A_206D_202B_206F_206A_206E_206E_206B_206E_202D_200C_200D_206C_206E_200E_202C_206A_206F_206B_202E +{ + internal byte[] _206F_206E_206A_206A_200F_202C_202B_202D_200C_202B_202A_202A_206D_202A_200C_202D_202D_206E_202A_200B_202E_206D_206D_200B_202D_200B_206F_200C_200B_200C_200F_206B_206C_202D_200D_202B_202D_206E_206D_200D_202E; + + internal uint _200B_202B_202B_200F_202E_206B_206E_200D_206B_206D_206E_202D_200E_202A_202A_206E_206B_200D_200E_206A_202A_206E_202E_206A_200E_206E_202C_202B_202A_206D_206C_200B_200F_200E_200F_202A_206E_200E_200B_206A_202E; + + internal Stream _200C_206F_202B_202A_202C_206A_202B_200F_200C_200C_202C_206E_206D_200E_200F_200B_200C_200F_206E_206A_200F_202B_206E_202D_200B_200D_206A_202A_202C_202B_202A_202B_200F_200C_200F_202A_206A_206D_206E_202D_202E; + + internal uint _206A_200C_202C_202A_206D_202E_206B_202E_202B_206F_200E_202D_206F_206B_206F_202B_200D_202E_200E_206D_206C_206C_202C_206B_206F_202A_202E_202C_206E_202B_206E_200F_202B_206B_200F_200D_200F_206D_200D_200F_202E; + + internal uint _202D_202B_206F_206D_202A_200F_202B_202A_206D_206E_206B_206F_202E_206A_200D_206D_206F_200D_200E_200D_206C_202C_200D_202B_200F_202A_200E_200E_206B_206A_202C_202E_202D_202B_206E_200B_202E_200D_200C_202E_202E; + + internal void _206E_200B_206A_202E_206E_202B_206B_200C_200B_200F_206B_200D_206C_202A_200D_202B_202A_200F_200D_202B_206F_200D_200F_206E_206A_200C_206E_200B_206A_206F_202E_202D_202D_206F_200F_202A_202C_206C_206A_202C_202E(uint windowSize) + { + if (_202D_202B_206F_206D_202A_200F_202B_202A_206D_206E_206B_206F_202E_206A_200D_206D_206F_200D_200E_200D_206C_202C_200D_202B_200F_202A_200E_200E_206B_206A_202C_202E_202D_202B_206E_200B_202E_200D_200C_202E_202E != windowSize) + { + _206F_206E_206A_206A_200F_202C_202B_202D_200C_202B_202A_202A_206D_202A_200C_202D_202D_206E_202A_200B_202E_206D_206D_200B_202D_200B_206F_200C_200B_200C_200F_206B_206C_202D_200D_202B_202D_206E_206D_200D_202E = new byte[windowSize]; + } + _202D_202B_206F_206D_202A_200F_202B_202A_206D_206E_206B_206F_202E_206A_200D_206D_206F_200D_200E_200D_206C_202C_200D_202B_200F_202A_200E_200E_206B_206A_202C_202E_202D_202B_206E_200B_202E_200D_200C_202E_202E = windowSize; + _200B_202B_202B_200F_202E_206B_206E_200D_206B_206D_206E_202D_200E_202A_202A_206E_206B_200D_200E_206A_202A_206E_202E_206A_200E_206E_202C_202B_202A_206D_206C_200B_200F_200E_200F_202A_206E_200E_200B_206A_202E = 0u; + _206A_200C_202C_202A_206D_202E_206B_202E_202B_206F_200E_202D_206F_206B_206F_202B_200D_202E_200E_206D_206C_206C_202C_206B_206F_202A_202E_202C_206E_202B_206E_200F_202B_206B_200F_200D_200F_206D_200D_200F_202E = 0u; + } + + internal void _200E_202A_206C_202A_202B_200E_200C_206D_206F_202E_202A_202D_206C_202A_206E_202E_206C_202D_202D_200E_206F_206D_202A_200B_206E_200C_202C_202A_200C_206B_200B_200C_202C_202D_200D_200B_200B_206D_200D_206F_202E(Stream stream, bool solid) + { + _200C_200F_200F_202A_200C_200C_202E_200E_206C_200C_202A_206B_206B_200C_206B_200D_206D_202E_200E_206C_202A_202C_202E_200C_206C_202B_200C_200E_200B_200E_206D_206F_206C_206A_206C_202A_206C_200D_206F_206B_202E(); + _200C_206F_202B_202A_202C_206A_202B_200F_200C_200C_202C_206E_206D_200E_200F_200B_200C_200F_206E_206A_200F_202B_206E_202D_200B_200D_206A_202A_202C_202B_202A_202B_200F_200C_200F_202A_206A_206D_206E_202D_202E = stream; + if (!solid) + { + _206A_200C_202C_202A_206D_202E_206B_202E_202B_206F_200E_202D_206F_206B_206F_202B_200D_202E_200E_206D_206C_206C_202C_206B_206F_202A_202E_202C_206E_202B_206E_200F_202B_206B_200F_200D_200F_206D_200D_200F_202E = 0u; + _200B_202B_202B_200F_202E_206B_206E_200D_206B_206D_206E_202D_200E_202A_202A_206E_206B_200D_200E_206A_202A_206E_202E_206A_200E_206E_202C_202B_202A_206D_206C_200B_200F_200E_200F_202A_206E_200E_200B_206A_202E = 0u; + } + } + + internal void _200C_200F_200F_202A_200C_200C_202E_200E_206C_200C_202A_206B_206B_200C_206B_200D_206D_202E_200E_206C_202A_202C_202E_200C_206C_202B_200C_200E_200B_200E_206D_206F_206C_206A_206C_202A_206C_200D_206F_206B_202E() + { + _200F_200D_202D_200F_206E_200B_202D_206B_202A_202D_206D_200F_206F_200D_206A_206C_206B_206B_202A_200B_206A_200C_202A_200D_206C_202B_200D_200F_206B_200B_206D_200D_202B_206E_206C_202C_206A_206D_200F_202B_202E(); + _200C_206F_202B_202A_202C_206A_202B_200F_200C_200C_202C_206E_206D_200E_200F_200B_200C_200F_206E_206A_200F_202B_206E_202D_200B_200D_206A_202A_202C_202B_202A_202B_200F_200C_200F_202A_206A_206D_206E_202D_202E = null; + Buffer.BlockCopy(new byte[_206F_206E_206A_206A_200F_202C_202B_202D_200C_202B_202A_202A_206D_202A_200C_202D_202D_206E_202A_200B_202E_206D_206D_200B_202D_200B_206F_200C_200B_200C_200F_206B_206C_202D_200D_202B_202D_206E_206D_200D_202E.Length], 0, _206F_206E_206A_206A_200F_202C_202B_202D_200C_202B_202A_202A_206D_202A_200C_202D_202D_206E_202A_200B_202E_206D_206D_200B_202D_200B_206F_200C_200B_200C_200F_206B_206C_202D_200D_202B_202D_206E_206D_200D_202E, 0, _206F_206E_206A_206A_200F_202C_202B_202D_200C_202B_202A_202A_206D_202A_200C_202D_202D_206E_202A_200B_202E_206D_206D_200B_202D_200B_206F_200C_200B_200C_200F_206B_206C_202D_200D_202B_202D_206E_206D_200D_202E.Length); + } + + internal void _200F_200D_202D_200F_206E_200B_202D_206B_202A_202D_206D_200F_206F_200D_206A_206C_206B_206B_202A_200B_206A_200C_202A_200D_206C_202B_200D_200F_206B_200B_206D_200D_202B_206E_206C_202C_206A_206D_200F_202B_202E() + { + uint num = _200B_202B_202B_200F_202E_206B_206E_200D_206B_206D_206E_202D_200E_202A_202A_206E_206B_200D_200E_206A_202A_206E_202E_206A_200E_206E_202C_202B_202A_206D_206C_200B_200F_200E_200F_202A_206E_200E_200B_206A_202E; + int num2 = (int)_206A_200C_202C_202A_206D_202E_206B_202E_202B_206F_200E_202D_206F_206B_206F_202B_200D_202E_200E_206D_206C_206C_202C_206B_206F_202A_202E_202C_206E_202B_206E_200F_202B_206B_200F_200D_200F_206D_200D_200F_202E; + int num3 = (int)num; + uint num4 = (uint)(~(~num3 + num2)); + if (num4 != 0) + { + _200C_206F_202B_202A_202C_206A_202B_200F_200C_200C_202C_206E_206D_200E_200F_200B_200C_200F_206E_206A_200F_202B_206E_202D_200B_200D_206A_202A_202C_202B_202A_202B_200F_200C_200F_202A_206A_206D_206E_202D_202E.Write(_206F_206E_206A_206A_200F_202C_202B_202D_200C_202B_202A_202A_206D_202A_200C_202D_202D_206E_202A_200B_202E_206D_206D_200B_202D_200B_206F_200C_200B_200C_200F_206B_206C_202D_200D_202B_202D_206E_206D_200D_202E, (int)_206A_200C_202C_202A_206D_202E_206B_202E_202B_206F_200E_202D_206F_206B_206F_202B_200D_202E_200E_206D_206C_206C_202C_206B_206F_202A_202E_202C_206E_202B_206E_200F_202B_206B_200F_200D_200F_206D_200D_200F_202E, (int)num4); + if (_200B_202B_202B_200F_202E_206B_206E_200D_206B_206D_206E_202D_200E_202A_202A_206E_206B_200D_200E_206A_202A_206E_202E_206A_200E_206E_202C_202B_202A_206D_206C_200B_200F_200E_200F_202A_206E_200E_200B_206A_202E >= _202D_202B_206F_206D_202A_200F_202B_202A_206D_206E_206B_206F_202E_206A_200D_206D_206F_200D_200E_200D_206C_202C_200D_202B_200F_202A_200E_200E_206B_206A_202C_202E_202D_202B_206E_200B_202E_200D_200C_202E_202E) + { + _200B_202B_202B_200F_202E_206B_206E_200D_206B_206D_206E_202D_200E_202A_202A_206E_206B_200D_200E_206A_202A_206E_202E_206A_200E_206E_202C_202B_202A_206D_206C_200B_200F_200E_200F_202A_206E_200E_200B_206A_202E = 0u; + } + _206A_200C_202C_202A_206D_202E_206B_202E_202B_206F_200E_202D_206F_206B_206F_202B_200D_202E_200E_206D_206C_206C_202C_206B_206F_202A_202E_202C_206E_202B_206E_200F_202B_206B_200F_200D_200F_206D_200D_200F_202E = _200B_202B_202B_200F_202E_206B_206E_200D_206B_206D_206E_202D_200E_202A_202A_206E_206B_200D_200E_206A_202A_206E_202E_206A_200E_206E_202C_202B_202A_206D_206C_200B_200F_200E_200F_202A_206E_200E_200B_206A_202E; + } + } + + internal void _206D_200D_202B_200C_202A_206E_206B_200C_202B_200C_200B_200C_202C_206A_202E_202A_200D_206E_206F_202D_202E_206F_206C_202C_200C_202D_200D_206C_200D_200F_200F_206F_202D_202E_206C_202A_206D_206F_206F_206B_202E(uint distance, uint len) + { + uint num = _200B_202B_202B_200F_202E_206B_206E_200D_206B_206D_206E_202D_200E_202A_202A_206E_206B_200D_200E_206A_202A_206E_202E_206A_200E_206E_202C_202B_202A_206D_206C_200B_200F_200E_200F_202A_206E_200E_200B_206A_202E; + int num2 = (int)distance; + int num3 = (int)num; + int num4 = ~(~num3 + num2); + num2 = 1; + num3 = num4; + uint num5 = (uint)(~(~num3 + num2)); + if (num5 >= _202D_202B_206F_206D_202A_200F_202B_202A_206D_206E_206B_206F_202E_206A_200D_206D_206F_200D_200E_200D_206C_202C_200D_202B_200F_202A_200E_200E_206B_206A_202C_202E_202D_202B_206E_200B_202E_200D_200C_202E_202E) + { + uint num6 = num5; + num2 = (int)_202D_202B_206F_206D_202A_200F_202B_202A_206D_206E_206B_206F_202E_206A_200D_206D_206F_200D_200E_200D_206C_202C_200D_202B_200F_202A_200E_200E_206B_206A_202C_202E_202D_202B_206E_200B_202E_200D_200C_202E_202E; + num3 = (int)num6; + int num7 = num3 ^ num2; + int num8 = num3 & num2; + num5 = (uint)(num7 + (num8 + num8)); + } + while (len != 0) + { + if (num5 >= _202D_202B_206F_206D_202A_200F_202B_202A_206D_206E_206B_206F_202E_206A_200D_206D_206F_200D_200E_200D_206C_202C_200D_202B_200F_202A_200E_200E_206B_206A_202C_202E_202D_202B_206E_200B_202E_200D_200C_202E_202E) + { + num5 = 0u; + } + byte[] array = _206F_206E_206A_206A_200F_202C_202B_202D_200C_202B_202A_202A_206D_202A_200C_202D_202D_206E_202A_200B_202E_206D_206D_200B_202D_200B_206F_200C_200B_200C_200F_206B_206C_202D_200D_202B_202D_206E_206D_200D_202E; + uint num9 = _200B_202B_202B_200F_202E_206B_206E_200D_206B_206D_206E_202D_200E_202A_202A_206E_206B_200D_200E_206A_202A_206E_202E_206A_200E_206E_202C_202B_202A_206D_206C_200B_200F_200E_200F_202A_206E_200E_200B_206A_202E; + num2 = 1; + num3 = (int)num9; + _200B_202B_202B_200F_202E_206B_206E_200D_206B_206D_206E_202D_200E_202A_202A_206E_206B_200D_200E_206A_202A_206E_202E_206A_200E_206E_202C_202B_202A_206D_206C_200B_200F_200E_200F_202A_206E_200E_200B_206A_202E = (uint)((num3 | num2) + (num3 & num2)); + byte[] array2 = _206F_206E_206A_206A_200F_202C_202B_202D_200C_202B_202A_202A_206D_202A_200C_202D_202D_206E_202A_200B_202E_206D_206D_200B_202D_200B_206F_200C_200B_200C_200F_206B_206C_202D_200D_202B_202D_206E_206D_200D_202E; + uint num10 = num5; + num2 = 1; + num3 = (int)num10; + int num11 = num3 ^ num2; + int num12 = num3 & num2; + num5 = (uint)(num11 + (num12 + num12)); + array[num9] = array2[num10]; + if (_200B_202B_202B_200F_202E_206B_206E_200D_206B_206D_206E_202D_200E_202A_202A_206E_206B_200D_200E_206A_202A_206E_202E_206A_200E_206E_202C_202B_202A_206D_206C_200B_200F_200E_200F_202A_206E_200E_200B_206A_202E >= _202D_202B_206F_206D_202A_200F_202B_202A_206D_206E_206B_206F_202E_206A_200D_206D_206F_200D_200E_200D_206C_202C_200D_202B_200F_202A_200E_200E_206B_206A_202C_202E_202D_202B_206E_200B_202E_200D_200C_202E_202E) + { + _200F_200D_202D_200F_206E_200B_202D_206B_202A_202D_206D_200F_206F_200D_206A_206C_206B_206B_202A_200B_206A_200C_202A_200D_206C_202B_200D_200F_206B_200B_206D_200D_202B_206E_206C_202C_206A_206D_200F_202B_202E(); + } + uint num13 = len; + num2 = 1; + num3 = (int)num13; + len = (uint)(~(~num3 + num2)); + } + } + + internal void _200E_206A_206A_206A_202B_202A_206C_202D_200F_202A_200B_206A_206D_200B_202A_200E_202B_200D_200E_206A_200E_200B_200D_202D_202B_206B_202B_206B_202E_202C_206D_202D_206E_206F_206C_202D_200B_200F_206B_200E_202E(byte b) + { + byte[] array = _206F_206E_206A_206A_200F_202C_202B_202D_200C_202B_202A_202A_206D_202A_200C_202D_202D_206E_202A_200B_202E_206D_206D_200B_202D_200B_206F_200C_200B_200C_200F_206B_206C_202D_200D_202B_202D_206E_206D_200D_202E; + uint num = _200B_202B_202B_200F_202E_206B_206E_200D_206B_206D_206E_202D_200E_202A_202A_206E_206B_200D_200E_206A_202A_206E_202E_206A_200E_206E_202C_202B_202A_206D_206C_200B_200F_200E_200F_202A_206E_200E_200B_206A_202E; + int num2 = 1; + int num3 = (int)num; + _200B_202B_202B_200F_202E_206B_206E_200D_206B_206D_206E_202D_200E_202A_202A_206E_206B_200D_200E_206A_202A_206E_202E_206A_200E_206E_202C_202B_202A_206D_206C_200B_200F_200E_200F_202A_206E_200E_200B_206A_202E = (uint)((num3 | num2) + (num3 & num2)); + array[num] = b; + if (_200B_202B_202B_200F_202E_206B_206E_200D_206B_206D_206E_202D_200E_202A_202A_206E_206B_200D_200E_206A_202A_206E_202E_206A_200E_206E_202C_202B_202A_206D_206C_200B_200F_200E_200F_202A_206E_200E_200B_206A_202E >= _202D_202B_206F_206D_202A_200F_202B_202A_206D_206E_206B_206F_202E_206A_200D_206D_206F_200D_200E_200D_206C_202C_200D_202B_200F_202A_200E_200E_206B_206A_202C_202E_202D_202B_206E_200B_202E_200D_200C_202E_202E) + { + _200F_200D_202D_200F_206E_200B_202D_206B_202A_202D_206D_200F_206F_200D_206A_206C_206B_206B_202A_200B_206A_200C_202A_200D_206C_202B_200D_200F_206B_200B_206D_200D_202B_206E_206C_202C_206A_206D_200F_202B_202E(); + } + } + + internal byte _200D_206C_202B_202D_202E_202E_200B_200D_206D_206E_202D_200C_200F_202A_200B_200C_206B_206E_206F_202B_206A_206C_206D_206D_202E_202A_200F_202E_200F_200D_200C_206E_200C_206D_200D_200E_200D_202C_202C_202C_202E(uint distance) + { + uint num = _200B_202B_202B_200F_202E_206B_206E_200D_206B_206D_206E_202D_200E_202A_202A_206E_206B_200D_200E_206A_202A_206E_202E_206A_200E_206E_202C_202B_202A_206D_206C_200B_200F_200E_200F_202A_206E_200E_200B_206A_202E; + int num2 = (int)distance; + int num3 = (int)num; + int num4 = ~(~num3 + num2); + num2 = 1; + num3 = num4; + uint num5 = (uint)(~(~num3 + num2)); + if (num5 >= _202D_202B_206F_206D_202A_200F_202B_202A_206D_206E_206B_206F_202E_206A_200D_206D_206F_200D_200E_200D_206C_202C_200D_202B_200F_202A_200E_200E_206B_206A_202C_202E_202D_202B_206E_200B_202E_200D_200C_202E_202E) + { + uint num6 = num5; + num2 = (int)_202D_202B_206F_206D_202A_200F_202B_202A_206D_206E_206B_206F_202E_206A_200D_206D_206F_200D_200E_200D_206C_202C_200D_202B_200F_202A_200E_200E_206B_206A_202C_202E_202D_202B_206E_200B_202E_200D_200C_202E_202E; + num3 = (int)num6; + num5 = (uint)((num3 | num2) + (num3 & num2)); + } + return _206F_206E_206A_206A_200F_202C_202B_202D_200C_202B_202A_202A_206D_202A_200C_202D_202D_206E_202A_200B_202E_206D_206D_200B_202D_200B_206F_200C_200B_200C_200F_206B_206C_202D_200D_202B_202D_206E_206D_200D_202E[num5]; + } + + internal _206C_200C_206B_206F_206A_206A_200B_206B_206F_200C_202A_202A_206E_202D_206C_202E_200D_202D_200B_202E_206B_202A_206D_202B_206F_206A_206E_206E_206B_206E_202D_200C_200D_206C_206E_200E_202C_206A_206F_206B_202E() + { + } +} +internal struct _206C_200B_206E_206C_202C_206E_206E_200E_202C_206F_200C_206A_202B_202D_200B_200E_206B_202D_206A_202E_200F_206B_200B_202D_200B_202A_202B_206E_200C_202E_200C_202E_200C_202C_206C_206E_206D_206A_206D_200E_202E +{ + internal uint _206A_206D_206B_202A_202B_206B_202B_200D_202A_202C_206A_202E_206E_202E_200C_206C_200D_202A_200B_206A_206A_200C_200B_202C_206E_206F_200D_200F_206B_200F_202C_200B_206D_202C_206C_202D_200F_200F_206B_202E_202E; + + internal void _206D_206C_200C_200C_200E_202C_202B_200F_200C_200F_200D_206F_202D_202A_202A_206F_200C_200F_206C_202B_200D_202C_206D_202D_206D_202D_206B_206C_200C_206F_202E_206C_202C_200E_200E_200C_206E_200D_200D_202D_202E() + { + _206A_206D_206B_202A_202B_206B_202B_200D_202A_202C_206A_202E_206E_202E_200C_206C_200D_202A_200B_206A_206A_200C_200B_202C_206E_206F_200D_200F_206B_200F_202C_200B_206D_202C_206C_202D_200F_200F_206B_202E_202E = 0u; + } + + internal void _206F_202D_206E_206F_206E_200E_206F_206A_206F_200B_200C_200B_206D_200D_202E_206A_202C_202E_202D_200C_200E_202E_206B_200C_200F_206F_202A_200D_202B_202D_202D_200D_206E_206B_202A_202E_206E_206C_200F_206E_202E() + { + if (_206A_206D_206B_202A_202B_206B_202B_200D_202A_202C_206A_202E_206E_202E_200C_206C_200D_202A_200B_206A_206A_200C_200B_202C_206E_206F_200D_200F_206B_200F_202C_200B_206D_202C_206C_202D_200F_200F_206B_202E_202E < 4) + { + _206A_206D_206B_202A_202B_206B_202B_200D_202A_202C_206A_202E_206E_202E_200C_206C_200D_202A_200B_206A_206A_200C_200B_202C_206E_206F_200D_200F_206B_200F_202C_200B_206D_202C_206C_202D_200F_200F_206B_202E_202E = 0u; + } + else if (_206A_206D_206B_202A_202B_206B_202B_200D_202A_202C_206A_202E_206E_202E_200C_206C_200D_202A_200B_206A_206A_200C_200B_202C_206E_206F_200D_200F_206B_200F_202C_200B_206D_202C_206C_202D_200F_200F_206B_202E_202E < 10) + { + uint num = _206A_206D_206B_202A_202B_206B_202B_200D_202A_202C_206A_202E_206E_202E_200C_206C_200D_202A_200B_206A_206A_200C_200B_202C_206E_206F_200D_200F_206B_200F_202C_200B_206D_202C_206C_202D_200F_200F_206B_202E_202E; + int num2 = 3; + int num3 = (int)num; + _206A_206D_206B_202A_202B_206B_202B_200D_202A_202C_206A_202E_206E_202E_200C_206C_200D_202A_200B_206A_206A_200C_200B_202C_206E_206F_200D_200F_206B_200F_202C_200B_206D_202C_206C_202D_200F_200F_206B_202E_202E = (uint)(~(~num3 + num2)); + } + else + { + uint num4 = _206A_206D_206B_202A_202B_206B_202B_200D_202A_202C_206A_202E_206E_202E_200C_206C_200D_202A_200B_206A_206A_200C_200B_202C_206E_206F_200D_200F_206B_200F_202C_200B_206D_202C_206C_202D_200F_200F_206B_202E_202E; + int num2 = 6; + int num3 = (int)num4; + _206A_206D_206B_202A_202B_206B_202B_200D_202A_202C_206A_202E_206E_202E_200C_206C_200D_202A_200B_206A_206A_200C_200B_202C_206E_206F_200D_200F_206B_200F_202C_200B_206D_202C_206C_202D_200F_200F_206B_202E_202E = (uint)(~(~num3 + num2)); + } + } + + internal void _206F_202B_200C_200F_202E_202E_200C_206D_200B_202B_202A_206F_200D_206B_206C_202B_200E_206D_206A_206B_200E_202D_206B_202E_206A_200C_202B_200B_202E_202B_206C_206C_200E_206E_206C_202C_202B_202B_206B_206A_202E() + { + _206A_206D_206B_202A_202B_206B_202B_200D_202A_202C_206A_202E_206E_202E_200C_206C_200D_202A_200B_206A_206A_200C_200B_202C_206E_206F_200D_200F_206B_200F_202C_200B_206D_202C_206C_202D_200F_200F_206B_202E_202E = ((_206A_206D_206B_202A_202B_206B_202B_200D_202A_202C_206A_202E_206E_202E_200C_206C_200D_202A_200B_206A_206A_200C_200B_202C_206E_206F_200D_200F_206B_200F_202C_200B_206D_202C_206C_202D_200F_200F_206B_202E_202E < 7) ? 7u : 10u); + } + + internal void _206D_202B_200E_206B_202D_206C_206D_206A_206E_206D_200F_202B_200B_202C_206B_200D_206F_206E_202B_206C_202B_202A_202A_206F_200B_202E_206D_206E_206D_206A_202A_206A_200E_202A_202A_200D_200F_202A_200F_202C_202E() + { + _206A_206D_206B_202A_202B_206B_202B_200D_202A_202C_206A_202E_206E_202E_200C_206C_200D_202A_200B_206A_206A_200C_200B_202C_206E_206F_200D_200F_206B_200F_202C_200B_206D_202C_206C_202D_200F_200F_206B_202E_202E = ((_206A_206D_206B_202A_202B_206B_202B_200D_202A_202C_206A_202E_206E_202E_200C_206C_200D_202A_200B_206A_206A_200C_200B_202C_206E_206F_200D_200F_206B_200F_202C_200B_206D_202C_206C_202D_200F_200F_206B_202E_202E < 7) ? 8u : 11u); + } + + internal void _202D_202D_200E_202B_202E_206D_206D_202E_202D_202C_206D_202B_202D_206A_206B_206C_200F_200B_202C_202C_202C_206B_206B_200D_202C_202B_206F_202B_206E_206A_202D_202A_200F_202E_200B_206E_202B_202C_200C_202E_202E() + { + _206A_206D_206B_202A_202B_206B_202B_200D_202A_202C_206A_202E_206E_202E_200C_206C_200D_202A_200B_206A_206A_200C_200B_202C_206E_206F_200D_200F_206B_200F_202C_200B_206D_202C_206C_202D_200F_200F_206B_202E_202E = ((_206A_206D_206B_202A_202B_206B_202B_200D_202A_202C_206A_202E_206E_202E_200C_206C_200D_202A_200B_206A_206A_200C_200B_202C_206E_206F_200D_200F_206B_200F_202C_200B_206D_202C_206C_202D_200F_200F_206B_202E_202E < 7) ? 9u : 11u); + } + + internal bool _202A_202A_202C_202C_202B_202A_202D_200B_206B_206E_200D_206E_200E_200F_206A_206E_200B_200F_202E_202D_200E_202A_202E_202A_202E_200B_206B_202D_206F_200C_206F_206B_200F_206A_206F_200F_200D_206B_200D_202E_202E() + { + return _206A_206D_206B_202A_202B_206B_202B_200D_202A_202C_206A_202E_206E_202E_200C_206C_200D_202A_200B_206A_206A_200C_200B_202C_206E_206F_200D_200F_206B_200F_202C_200B_206D_202C_206C_202D_200F_200F_206B_202E_202E < 7; + } +} diff --git a/FatePaths/----------------------------------------.cs b/FatePaths/----------------------------------------.cs new file mode 100644 index 0000000..f4e8394 --- /dev/null +++ b/FatePaths/----------------------------------------.cs @@ -0,0 +1,6 @@ +using System.Runtime.InteropServices; + +[StructLayout(LayoutKind.Explicit, Size = 128)] +internal struct _200F_206B_200F_200E_202C_202B_206D_206C_200D_206E_206E_202D_206E_206D_206A_202A_202E_200C_200C_200B_200B_202C_206F_206E_202D_200B_202D_206D_202E_200B_202D_200F_206A_202A_206D_202A_202C_200F_200C_202E +{ +} diff --git a/FatePaths/-Module-.cs b/FatePaths/-Module-.cs new file mode 100644 index 0000000..98de8e3 --- /dev/null +++ b/FatePaths/-Module-.cs @@ -0,0 +1,1611 @@ +using System; +using System.IO; +using System.Runtime.CompilerServices; +using System.Text; + +internal class _003CModule_003E +{ + internal static byte[] _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + + internal static _200F_206B_200F_200E_202C_202B_206D_206C_200D_206E_206E_202D_206E_206D_206A_202A_202E_200C_200C_200B_200B_202C_206F_206E_202D_200B_202D_206D_202E_200B_202D_200F_206A_202A_206D_202A_202C_200F_200C_202E _206B_200F_202C_202D_202B_206C_202A_200E_206D_202A_206F_206C_206A_202D_202A_206E_200E_200F_206F_206E_206C_202D_206B_200E_200B_200E_200E_206C_202E_202B_202E_206B_206B_200D_200E_206C_206E_206A_206F_200C_202E/* Not supported: data(88 82 A8 F3 FC 10 C4 FC 26 2D E7 C8 68 D2 42 37 99 91 5B 20 2E AE 40 FD 7E 32 6F A1 4A C9 31 AB A1 D9 71 CA 84 A8 63 AB DF 80 AF 89 56 6B 29 EE 3F 8D A9 E2 25 BD FA 1B 49 E3 30 9A E9 CE E9 5C B8 CC 7C FE B1 CB BD FA 3A F7 E9 CC 5C 01 85 DC B8 AB 16 84 CE F7 A5 61 6D EE D9 EF 95 D8 0F 47 2D 8C C4 6E BE 2B EA BB 1E 00 59 C7 67 9D BE 23 7E 4A A0 47 E0 13 60 B1 99 30 E0 AC 1D 54 29 17) */; + + static _003CModule_003E() + { + _200D_200F_206D_202B_206A_206B_206F_202B_206F_206B_200D_200B_200C_200F_200C_202E_200D_200B_202B_200B_206D_200D_202A_202D_206D_200F_200C_206B_202E_200E_206E_202C_206F_200E_200C_200D_200D_202A_200C_206B_202E(); + } + + internal static byte[] _202D_202D_200C_200B_202A_206F_206A_200C_200F_200B_202C_206B_202E_200F_202A_200F_206E_206E_206C_206A_202D_206D_200D_202B_206F_202A_200F_206A_206C_206B_206F_202B_200E_206F_200F_200D_200E_206B_202D_202A_202E(byte[] data) + { + MemoryStream memoryStream = new MemoryStream(data); + _200C_202C_206E_200E_202C_202C_200F_200F_206F_206F_202C_200C_200B_206B_200B_202B_206B_200D_200C_202D_202E_206E_202D_200B_206E_202E_202E_202B_202C_206E_202A_206C_206B_206E_200B_202C_206C_200D_200B_206C_202E obj = new _200C_202C_206E_200E_202C_202C_200F_200F_206F_206F_202C_200C_200B_206B_200B_202B_206B_200D_200C_202D_202E_206E_202D_200B_206E_202E_202E_202B_202C_206E_202A_206C_206B_206E_200B_202C_206C_200D_200B_206C_202E(); + byte[] array = new byte[5]; + int num = 0; + while (num < 5) + { + int num2 = num; + int offset = num; + int num3 = num; + int num4 = 5; + num = num2 + memoryStream.Read(array, offset, ~(~num4 + num3)); + } + obj._200D_206E_206C_206B_206D_206A_200B_206A_202C_202A_202D_200B_202D_202D_206B_200D_200F_202A_200E_206A_206B_200C_202D_206C_200E_202E_202D_200F_200D_202A_200D_206D_200C_206C_200C_202E_202E_202D_200E_206B_202E(array); + num = 0; + while (num < 4) + { + int num5 = num; + int offset2 = num; + int num3 = num; + int num4 = 4; + num = num5 + memoryStream.Read(array, offset2, ~(~num4 + num3)); + } + if (!BitConverter.IsLittleEndian) + { + Array.Reverse((Array)array, 0, 4); + } + int num6 = BitConverter.ToInt32(array, 0); + byte[] array2 = new byte[num6]; + MemoryStream outStream = new MemoryStream(array2, writable: true); + long inSize = memoryStream.Length - 5 - 4; + obj._202C_206A_200E_200F_202C_202E_206E_206B_206C_202E_202A_200E_202E_206A_206A_202D_202D_202C_206A_206B_206E_206B_202E_206E_202E_206A_206F_206A_200F_200D_206E_206E_206D_200C_202B_202D_202E_200D_206B_200C_202E(memoryStream, outStream, inSize, num6); + return array2; + } + + internal static void _200D_200F_206D_202B_206A_206B_206F_202B_206F_206B_200D_200B_200C_200F_200C_202E_200D_200B_202B_200B_206D_200D_202A_202D_206D_200F_200C_206B_202E_200E_206E_202C_206F_200E_200C_200D_200D_202A_200C_206B_202E() + { + uint num = 32u; + uint[] array = new uint[32] + { + 4087906952u, 4240707836u, 3370593574u, 927126120u, 542871961u, 4248874542u, 2708419198u, 2872166730u, 3396458913u, 2875435140u, + 2309980383u, 3995691862u, 3802762559u, 469417253u, 2586895177u, 1558826729u, 4269591736u, 4206742449u, 3437885242u, 3699704156u, + 2216078264u, 1638266830u, 4024036973u, 1192220821u, 1858374701u, 3152686014u, 3344498718u, 599694695u, 1201687166u, 2975863776u, + 2900373657u, 388584477u + }; + uint[] array2 = new uint[16]; + uint num2 = 2589994736u; + int num3 = 0; + while (num3 < 16) + { + uint num4 = num2; + int num5 = (int)(num2 >> 12); + int num6 = (int)num4; + num2 = (uint)((num6 | num5) - (num6 & num5)); + uint num7 = num2; + num5 = (int)(num2 << 25); + num6 = (int)num7; + num2 = (uint)((num6 | num5) - (num6 & num5)); + uint num8 = num2; + num5 = (int)(num2 >> 27); + num6 = (int)num8; + num2 = (array2[num3] = (uint)((num6 | num5) - (num6 & num5))); + int num9 = num3; + num5 = 1; + num6 = num9; + num3 = (num6 | num5) + (num6 & num5); + } + int num10 = 0; + int num11 = 0; + uint[] array3 = new uint[16]; + byte[] array4 = new byte[num * 4]; + while (num10 < num) + { + int num5; + int num6; + for (int num12 = 0; num12 < 16; num12 = (num6 | num5) + (num6 & num5)) + { + int num13 = num12; + int num14 = num10; + num5 = num12; + num6 = num14; + int num15 = num6 ^ num5; + int num16 = num6 & num5; + array3[num13] = array[num15 + (num16 + num16)]; + int num17 = num12; + num5 = 1; + num6 = num17; + } + uint num18 = array3[12] << 2; + uint num19 = array3[6]; + num5 = -511457511; + num6 = (int)num19; + int num20 = num6 + num5; + int num21 = num6 & num5; + array3[6] = (uint)(num20 - (num21 + num21)); + uint num22 = array3[11]; + num5 = (int)array2[11]; + num6 = (int)num22; + array3[11] = (uint)((num6 | num5) - (num6 & num5)); + array3[12] = array3[12] >> 30; + uint num23 = array3[8]; + num5 = -700308787; + num6 = (int)num23; + array3[8] = (uint)(~(~num6 + num5)); + uint num24 = array3[8] * 28; + uint num25 = array3[4]; + num5 = (int)array3[13]; + num6 = (int)num25; + array3[4] = (uint)(~(~num6 + num5)); + uint num26 = array3[8] * 49; + uint num27 = array3[8] * 41; + uint num28 = num24; + num5 = (int)(array3[11] * 105); + num6 = (int)num28; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num29 = num26; + num5 = (int)(array3[11] * 182); + num6 = (int)num29; + int num30 = num6 ^ num5; + int num31 = num6 & num5; + num26 = (uint)(num30 + (num31 + num31)); + uint num32 = array3[0]; + num5 = (int)array2[0]; + num6 = (int)num32; + array3[0] = (uint)((num6 | num5) - (num6 & num5)); + uint num33 = array3[12]; + num5 = (int)num18; + num6 = (int)num33; + array3[12] = (uint)(num6 + num5 - (num6 & num5)); + uint num34 = num24; + num5 = (int)(array3[12] * 100); + num6 = (int)num34; + int num35 = num6 ^ num5; + int num36 = num6 & num5; + num24 = (uint)(num35 + (num36 + num36)); + uint num37 = array3[0]; + num5 = 144172062; + num6 = (int)num37; + num18 = (uint)(num6 + num5 - (num6 | num5)); + uint num38 = array3[0]; + num5 = -144172063; + num6 = (int)num38; + array3[0] = (uint)(num6 + num5 - (num6 | num5)); + uint num39 = array3[0]; + uint num40 = array3[13]; + num5 = 144172062; + num6 = (int)num40; + num5 = (num6 | num5) - (num6 ^ num5); + num6 = (int)num39; + array3[0] = (uint)(num6 + num5 - (num6 & num5)); + uint num41 = array3[13]; + num5 = -144172063; + num6 = (int)num41; + array3[13] = (uint)((num6 | num5) - (num6 ^ num5)); + array3[10] = array3[10] * 2867943455u; + num18 *= 233216723; + uint num42 = num26; + num5 = (int)(array3[12] * 172); + num6 = (int)num42; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num43 = num26; + num5 = (int)(array3[9] * 266); + num6 = (int)num43; + int num44 = num6 ^ num5; + int num45 = num6 & num5; + num26 = (uint)(num44 + (num45 + num45)); + uint num46 = num27; + num5 = (int)(array3[11] * 152); + num6 = (int)num46; + int num47 = num6 ^ num5; + int num48 = num6 & num5; + num27 = (uint)(num47 + (num48 + num48)); + uint num49 = num24; + num5 = (int)(array3[9] * 155); + num6 = (int)num49; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num50 = array3[13]; + num5 = (int)num18 * -2025534117; + num6 = (int)num50; + array3[13] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num51 = array3[2]; + num5 = 3098724; + num6 = (int)num51; + int num52 = num6 + num5; + int num53 = num6 & num5; + array3[2] = (uint)(num52 - (num53 + num53)); + num18 = array3[5] * 1507810571; + uint num54 = num27; + num5 = (int)(array3[12] << 4); + num6 = (int)num54; + int num55 = num6 ^ num5; + int num56 = num6 & num5; + num27 = (uint)(num55 + (num56 + num56)); + array3[5] = array3[14]; + array3[14] = num18 * 2562492067u; + num18 = array3[8] * 15; + uint num57 = array3[15]; + num5 = -462230889; + num6 = (int)num57; + array3[15] = (uint)(~(~num6 + num5)); + uint num58 = num18; + num5 = (int)(array3[11] * 56); + num6 = (int)num58; + int num59 = num6 ^ num5; + int num60 = num6 & num5; + num18 = (uint)(num59 + (num60 + num60)); + uint num61 = num18; + num5 = (int)(array3[12] * 53); + num6 = (int)num61; + num18 = (uint)((num6 | num5) + (num6 & num5)); + uint num62 = num27; + num5 = (int)(array3[12] << 7); + num6 = (int)num62; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num63 = num18; + num5 = (int)(array3[9] * 82); + num6 = (int)num63; + int num64 = num6 ^ num5; + int num65 = num6 & num5; + num18 = (uint)(num64 + (num65 + num65)); + uint num66 = array3[2]; + num5 = (int)array3[4]; + num6 = (int)num66; + array3[2] = (uint)((num6 | num5) - (num6 & num5)); + uint num67 = array3[5]; + num5 = (int)array2[5]; + num6 = (int)num67; + int num68 = num6 + num5; + int num69 = num6 & num5; + array3[5] = (uint)(num68 - (num69 + num69)); + array3[8] = num18; + uint num70 = num27; + num5 = (int)(array3[9] * 223); + num6 = (int)num70; + num27 = (uint)((num6 | num5) + (num6 & num5)); + array3[12] = num26; + num26 = array3[12] * 23; + num18 = array3[10] >> 30; + array3[10] = array3[10] << 2; + array3[9] = num27; + uint num71 = array3[8]; + num5 = (int)array2[8]; + num6 = (int)num71; + array3[8] = (uint)((num6 | num5) - (num6 & num5)); + uint num72 = array3[10]; + num5 = (int)num18; + num6 = (int)num72; + array3[10] = (uint)((num6 & num5) + (num6 ^ num5)); + num27 = array3[12] * 13; + array3[11] = num24; + num24 = array3[12] << 3; + uint num73 = array3[15]; + num5 = (int)array3[7]; + num6 = (int)num73; + array3[15] = (uint)(~(~num6 + num5)); + uint num74 = num27; + num5 = (int)(array3[11] * 46); + num6 = (int)num74; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num75 = num26; + num5 = (int)(array3[11] * 79); + num6 = (int)num75; + int num76 = num6 ^ num5; + int num77 = num6 & num5; + num26 = (uint)(num76 + (num77 + num77)); + uint num78 = num27; + num5 = (int)(array3[0] * 56); + num6 = (int)num78; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num79 = num24; + num5 = (int)(array3[11] * 28); + num6 = (int)num79; + int num80 = num6 ^ num5; + int num81 = num6 & num5; + num24 = (uint)(num80 + (num81 + num81)); + num18 = array3[12] << 2; + uint num82 = array3[3]; + num5 = (int)(~array3[1]); + num6 = (int)num82; + array3[3] = (uint)((num6 | num5) - (num6 & num5)); + uint num83 = num18; + num5 = (int)(array3[11] * 14); + num6 = (int)num83; + num18 = (uint)((num6 | num5) + (num6 & num5)); + uint num84 = num24; + num5 = (int)(array3[0] << 5); + num6 = (int)num84; + int num85 = num6 ^ num5; + int num86 = num6 & num5; + num24 = (uint)(num85 + (num86 + num86)); + uint num87 = num27; + num5 = (int)(array3[8] << 2); + num6 = (int)num87; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num88 = num26; + num5 = (int)(array3[0] * 93); + num6 = (int)num88; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num89 = num27; + num5 = (int)(array3[8] << 5); + num6 = (int)num89; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num90 = num26; + num5 = (int)(array3[8] * 62); + num6 = (int)num90; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num91 = num24; + num5 = (int)array3[0]; + num6 = (int)num91; + int num92 = num6 ^ num5; + int num93 = num6 & num5; + num24 = (uint)(num92 + (num93 + num93)); + uint num94 = num24; + num5 = (int)(array3[8] * 22); + num6 = (int)num94; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num95 = num18; + num5 = (int)(array3[0] << 4); + num6 = (int)num95; + int num96 = num6 ^ num5; + int num97 = num6 & num5; + num18 = (uint)(num96 + (num97 + num97)); + array3[0] = num27; + uint num98 = num18; + num5 = (int)(array3[8] * 11); + num6 = (int)num98; + int num99 = num6 ^ num5; + int num100 = num6 & num5; + num18 = (uint)(num99 + (num100 + num100)); + uint num101 = array3[3]; + num5 = (int)array2[3]; + num6 = (int)num101; + array3[3] = (uint)((num6 | num5) - (num6 & num5)); + array3[8] = num26; + array3[11] = num24; + array3[12] = num18; + uint num102 = array3[4]; + num5 = (int)array2[4]; + num6 = (int)num102; + int num103 = num6 + num5; + int num104 = num6 & num5; + array3[4] = (uint)(num103 - (num104 + num104)); + num26 = array3[14] << 2; + num27 = array3[14] << 2; + uint num105 = num26; + num5 = (int)array3[14]; + num6 = (int)num105; + int num106 = num6 ^ num5; + int num107 = num6 & num5; + num26 = (uint)(num106 + (num107 + num107)); + uint num108 = num27; + num5 = (int)array3[14]; + num6 = (int)num108; + int num109 = num6 ^ num5; + int num110 = num6 & num5; + num27 = (uint)(num109 + (num110 + num110)); + num18 = array3[14] * 28; + uint num111 = array3[6]; + num5 = (int)array2[6]; + num6 = (int)num111; + int num112 = num6 + num5; + int num113 = num6 & num5; + array3[6] = (uint)(num112 - (num113 + num113)); + uint num114 = num18; + num5 = (int)(array3[4] * 59); + num6 = (int)num114; + int num115 = num6 ^ num5; + int num116 = num6 & num5; + num18 = (uint)(num115 + (num116 + num116)); + uint num117 = num18; + num5 = (int)(array3[5] * 172); + num6 = (int)num117; + int num118 = num6 ^ num5; + int num119 = num6 & num5; + num18 = (uint)(num118 + (num119 + num119)); + uint num120 = num27; + num5 = (int)(array3[4] * 13); + num6 = (int)num120; + int num121 = num6 ^ num5; + int num122 = num6 & num5; + num27 = (uint)(num121 + (num122 + num122)); + num24 = array3[14] << 4; + uint num123 = num18; + num5 = (int)(array3[6] * 331); + num6 = (int)num123; + int num124 = num6 ^ num5; + int num125 = num6 & num5; + num18 = (uint)(num124 + (num125 + num125)); + uint num126 = num26; + num5 = (int)(array3[4] << 2); + num6 = (int)num126; + int num127 = num6 ^ num5; + int num128 = num6 & num5; + num26 = (uint)(num127 + (num128 + num128)); + uint num129 = num27; + num5 = (int)(array3[5] << 1); + num6 = (int)num129; + int num130 = num6 ^ num5; + int num131 = num6 & num5; + num27 = (uint)(num130 + (num131 + num131)); + uint num132 = num27; + num5 = (int)(array3[5] << 5); + num6 = (int)num132; + int num133 = num6 ^ num5; + int num134 = num6 & num5; + num27 = (uint)(num133 + (num134 + num134)); + uint num135 = num26; + num5 = (int)array3[4]; + num6 = (int)num135; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num136 = num24; + num5 = (int)(array3[4] * 22); + num6 = (int)num136; + int num137 = num6 ^ num5; + int num138 = num6 & num5; + num24 = (uint)(num137 + (num138 + num138)); + uint num139 = num26; + num5 = (int)(array3[5] * 22); + num6 = (int)num139; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num140 = num26; + num5 = (int)(array3[6] << 5); + num6 = (int)num140; + int num141 = num6 ^ num5; + int num142 = num6 & num5; + num26 = (uint)(num141 + (num142 + num142)); + uint num143 = num24; + num5 = (int)(array3[5] * 81); + num6 = (int)num143; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num144 = array3[7]; + num5 = 1744861138; + num6 = (int)num144; + array3[7] = (uint)((num6 | num5) - (num6 & num5)); + uint num145 = num24; + num5 = (int)(array3[6] << 3); + num6 = (int)num145; + int num146 = num6 ^ num5; + int num147 = num6 & num5; + num24 = (uint)(num146 + (num147 + num147)); + uint num148 = num27; + num5 = (int)(array3[6] * 69); + num6 = (int)num148; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num149 = num24; + num5 = (int)(array3[6] << 7); + num6 = (int)num149; + num24 = (uint)((num6 | num5) + (num6 & num5)); + array3[6] = num18; + array3[4] = num27; + array3[5] = num24; + num27 = array3[1] * 54; + num18 = array3[1] * 57; + uint num150 = num27; + num5 = (int)(array3[13] * 46); + num6 = (int)num150; + num27 = (uint)((num6 | num5) + (num6 & num5)); + num24 = array3[1] * 22; + array3[14] = num26; + uint num151 = num24; + num5 = (int)(array3[13] * 29); + num6 = (int)num151; + num24 = (uint)((num6 | num5) + (num6 & num5)); + num26 = array3[1] * 15; + uint num152 = num26; + num5 = (int)(array3[13] << 2); + num6 = (int)num152; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num153 = num24; + num5 = (int)(array3[15] * 142); + num6 = (int)num153; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num154 = num26; + num5 = (int)(array3[13] << 3); + num6 = (int)num154; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num155 = array3[10]; + num5 = (int)array2[10]; + num6 = (int)num155; + array3[10] = (uint)((num6 | num5) - (num6 & num5)); + uint num156 = array3[9]; + num5 = 1819348785; + num6 = (int)num156; + array3[9] = (uint)(~(~num6 + num5)); + uint num157 = num26; + num5 = (int)(array3[15] * 70); + num6 = (int)num157; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num158 = num24; + num5 = (int)(array3[3] * 133); + num6 = (int)num158; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num159 = num18; + num5 = (int)(array3[13] << 6); + num6 = (int)num159; + int num160 = num6 ^ num5; + int num161 = num6 & num5; + num18 = (uint)(num160 + (num161 + num161)); + uint num162 = num27; + num5 = (int)(array3[15] * 261); + num6 = (int)num162; + int num163 = num6 ^ num5; + int num164 = num6 & num5; + num27 = (uint)(num163 + (num164 + num164)); + uint num165 = array3[9]; + num5 = (int)(~array3[2]); + num6 = (int)num165; + int num166 = num6 + num5; + int num167 = num6 & num5; + array3[9] = (uint)(num166 - (num167 + num167)); + uint num168 = num27; + num5 = (int)(array3[3] * 249); + num6 = (int)num168; + int num169 = num6 ^ num5; + int num170 = num6 & num5; + num27 = (uint)(num169 + (num170 + num170)); + uint num171 = num26; + num5 = (int)(array3[3] * 67); + num6 = (int)num171; + int num172 = num6 ^ num5; + int num173 = num6 & num5; + num26 = (uint)(num172 + (num173 + num173)); + uint num174 = array3[2]; + num5 = (int)array3[4]; + num6 = (int)num174; + int num175 = num6 + num5; + int num176 = num6 & num5; + array3[2] = (uint)(num175 - (num176 + num176)); + uint num177 = num18; + num5 = (int)array3[13]; + num6 = (int)num177; + int num178 = num6 ^ num5; + int num179 = num6 & num5; + num18 = (uint)(num178 + (num179 + num179)); + array3[13] = num27; + array3[1] = num26; + uint num180 = array3[2]; + num5 = (int)array2[2]; + num6 = (int)num180; + array3[2] = (uint)((num6 | num5) - (num6 & num5)); + uint num181 = num18; + num5 = (int)(array3[15] * 335); + num6 = (int)num181; + num18 = (uint)((num6 | num5) + (num6 & num5)); + num27 = array3[10] * 3999394879u; + uint num182 = num18; + num5 = (int)(array3[3] * 316); + num6 = (int)num182; + int num183 = num6 ^ num5; + int num184 = num6 & num5; + num18 = (uint)(num183 + (num184 + num184)); + num26 = array3[2] >> 2; + array3[3] = num18; + num18 = array3[7] << 5; + array3[7] = array3[7] >> 27; + array3[10] = array3[3]; + uint num185 = array3[7]; + num5 = (int)num18; + num6 = (int)num185; + array3[7] = (uint)(num6 + num5 - (num6 & num5)); + num18 = array3[14] >> 22; + array3[14] = array3[14] << 10; + uint num186 = array3[7]; + num5 = (int)array2[7]; + num6 = (int)num186; + int num187 = num6 + num5; + int num188 = num6 & num5; + array3[7] = (uint)(num187 - (num188 + num188)); + array3[15] = num24; + uint num189 = array3[8]; + num5 = -617041053; + num6 = (int)num189; + array3[8] = (uint)(~(~num6 + num5)); + uint num190 = array3[13]; + num5 = (int)array2[13]; + num6 = (int)num190; + int num191 = num6 + num5; + int num192 = num6 & num5; + array3[13] = (uint)(num191 - (num192 + num192)); + uint num193 = array3[14]; + num5 = (int)num18; + num6 = (int)num193; + array3[14] = (uint)(num6 + num5 - (num6 & num5)); + uint num194 = array3[1]; + num5 = 2137011429; + num6 = (int)num194; + array3[1] = (uint)((num6 | num5) - (num6 & num5)); + uint num195 = array3[13]; + num5 = -1828564402; + num6 = (int)num195; + num18 = (uint)((num6 | num5) - (num6 ^ num5)); + uint num196 = array3[13]; + num5 = 1828564401; + num6 = (int)num196; + array3[13] = (uint)(num6 + num5 - (num6 | num5)); + uint num197 = array3[13]; + uint num198 = array3[0]; + num5 = -1828564402; + num6 = (int)num198; + num5 = num6 + num5 - (num6 | num5); + num6 = (int)num197; + array3[13] = (uint)((num6 & num5) + (num6 ^ num5)); + array3[2] = array3[2] << 30; + uint num199 = array3[0]; + num5 = 1828564401; + num6 = (int)num199; + array3[0] = (uint)(num6 + num5 - (num6 | num5)); + num18 *= 3687362961u; + uint num200 = array3[15]; + num5 = (int)array2[15]; + num6 = (int)num200; + array3[15] = (uint)((num6 | num5) - (num6 & num5)); + uint num201 = array3[0]; + num5 = (int)num18 * -19910799; + num6 = (int)num201; + array3[0] = (uint)((num6 & num5) + (num6 ^ num5)); + num18 = array3[11] << 31; + array3[11] = array3[11] >> 1; + uint num202 = array3[11]; + num5 = (int)num18; + num6 = (int)num202; + array3[11] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num203 = array3[5]; + num5 = 1367555891; + num6 = (int)num203; + array3[5] = (uint)(~(~num6 + num5)); + array3[3] = num27 * 3855877055u; + num18 = array3[7] * 643575189; + uint num204 = array3[1]; + num5 = (int)array2[1]; + num6 = (int)num204; + int num205 = num6 + num5; + int num206 = num6 & num5; + array3[1] = (uint)(num205 - (num206 + num206)); + uint num207 = array3[9]; + num5 = (int)array2[9]; + num6 = (int)num207; + array3[9] = (uint)((num6 | num5) - (num6 & num5)); + num24 = array3[11] * 21; + uint num208 = array3[9]; + num5 = -1258220314; + num6 = (int)num208; + int num209 = num6 + num5; + int num210 = num6 & num5; + array3[9] = (uint)(num209 - (num210 + num210)); + array3[7] = array3[12]; + num27 = array3[11] << 1; + uint num211 = num27; + num5 = (int)(array3[7] * 7); + num6 = (int)num211; + int num212 = num6 ^ num5; + int num213 = num6 & num5; + num27 = (uint)(num212 + (num213 + num213)); + array3[12] = num18 * 3705189821u; + uint num214 = array3[2]; + num5 = (int)num26; + num6 = (int)num214; + array3[2] = (uint)(num6 + num5 - (num6 & num5)); + uint num215 = array3[3]; + num5 = (int)array3[5]; + num6 = (int)num215; + int num216 = num6 + num5; + int num217 = num6 & num5; + array3[3] = (uint)(num216 - (num217 + num217)); + num18 = array3[4] >> 25; + uint num218 = num24; + num5 = (int)(array3[7] << 6); + num6 = (int)num218; + num24 = (uint)((num6 | num5) + (num6 & num5)); + num26 = array3[8] * 485673863; + array3[8] = array3[13]; + uint num219 = array3[14]; + num5 = (int)array2[14]; + num6 = (int)num219; + int num220 = num6 + num5; + int num221 = num6 & num5; + array3[14] = (uint)(num220 - (num221 + num221)); + uint num222 = num24; + num5 = (int)array3[7]; + num6 = (int)num222; + num24 = (uint)((num6 | num5) + (num6 & num5)); + array3[13] = num26 * 734333495; + array3[4] = array3[4] << 7; + uint num223 = array3[4]; + num5 = (int)num18; + num6 = (int)num223; + array3[4] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num224 = array3[15]; + num5 = (int)array3[6]; + num6 = (int)num224; + array3[15] = (uint)(~(~num6 + num5)); + uint num225 = array3[6]; + num5 = (int)array3[0]; + num6 = (int)num225; + array3[6] = (uint)(~(~num6 + num5)); + uint num226 = num27; + num5 = (int)(array3[14] << 3); + num6 = (int)num226; + int num227 = num6 ^ num5; + int num228 = num6 & num5; + num27 = (uint)(num227 + (num228 + num228)); + num26 = array3[11]; + uint num229 = array3[12]; + num5 = (int)array3[10]; + num6 = (int)num229; + int num230 = num6 + num5; + int num231 = num6 & num5; + array3[12] = (uint)(num230 - (num231 + num231)); + uint num232 = num26; + num5 = (int)(array3[7] << 1); + num6 = (int)num232; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num233 = array3[15]; + num5 = 302785100; + num6 = (int)num233; + array3[15] = (uint)((num6 | num5) - (num6 & num5)); + uint num234 = array3[15]; + num5 = (int)(~array3[1]); + num6 = (int)num234; + int num235 = num6 + num5; + int num236 = num6 & num5; + array3[15] = (uint)(num235 - (num236 + num236)); + uint num237 = num27; + num5 = (int)(array3[9] << 1); + num6 = (int)num237; + int num238 = num6 ^ num5; + int num239 = num6 & num5; + num27 = (uint)(num238 + (num239 + num239)); + uint num240 = num26; + num5 = (int)array3[7]; + num6 = (int)num240; + num26 = (uint)((num6 | num5) + (num6 & num5)); + num18 = array3[11] << 3; + uint num241 = num27; + num5 = (int)(array3[9] << 3); + num6 = (int)num241; + int num242 = num6 ^ num5; + int num243 = num6 & num5; + num27 = (uint)(num242 + (num243 + num243)); + uint num244 = num26; + num5 = (int)(array3[14] << 1); + num6 = (int)num244; + num26 = (uint)((num6 | num5) + (num6 & num5)); + array3[11] = num27; + uint num245 = array3[0]; + num5 = 1431460207; + num6 = (int)num245; + num27 = (uint)(num6 + num5 - (num6 | num5)); + uint num246 = num18; + num5 = (int)(array3[7] * 25); + num6 = (int)num246; + int num247 = num6 ^ num5; + int num248 = num6 & num5; + num18 = (uint)(num247 + (num248 + num248)); + uint num249 = num24; + num5 = (int)(array3[14] << 3); + num6 = (int)num249; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num250 = array3[12]; + num5 = (int)array2[12]; + num6 = (int)num250; + array3[12] = (uint)((num6 | num5) - (num6 & num5)); + uint num251 = array3[0]; + num5 = -1431460208; + num6 = (int)num251; + array3[0] = (uint)(num6 + num5 - (num6 | num5)); + uint num252 = array3[0]; + uint num253 = array3[1]; + num5 = 1431460207; + num6 = (int)num253; + num5 = num6 + num5 - (num6 | num5); + num6 = (int)num252; + array3[0] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num254 = num26; + num5 = (int)array3[14]; + num6 = (int)num254; + int num255 = num6 ^ num5; + int num256 = num6 & num5; + num26 = (uint)(num255 + (num256 + num256)); + uint num257 = num24; + num5 = (int)(array3[14] << 6); + num6 = (int)num257; + num24 = (uint)((num6 | num5) + (num6 & num5)); + num27 *= 3090452553u; + uint num258 = num18; + num5 = (int)(array3[14] * 27); + num6 = (int)num258; + num18 = (uint)((num6 | num5) + (num6 & num5)); + uint num259 = num18; + num5 = (int)(array3[9] * 26); + num6 = (int)num259; + num18 = (uint)((num6 | num5) + (num6 & num5)); + uint num260 = num26; + num5 = (int)(array3[9] << 1); + num6 = (int)num260; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num261 = array3[1]; + num5 = -1431460208; + num6 = (int)num261; + array3[1] = (uint)(num6 + num5 - (num6 | num5)); + array3[14] = num18; + uint num262 = array3[1]; + num5 = (int)num27 * -2137759239; + num6 = (int)num262; + array3[1] = (uint)((num6 & num5) + (num6 ^ num5)); + array3[7] = num26; + uint num263 = num24; + num5 = (int)(array3[9] * 73); + num6 = (int)num263; + int num264 = num6 ^ num5; + int num265 = num6 & num5; + num24 = (uint)(num264 + (num265 + num265)); + array3[9] = num24; + int num266 = 0; + while (num266 < 16) + { + uint num267 = array3[num266]; + int num268 = num11; + num5 = 1; + num6 = num268; + num11 = (num6 | num5) + (num6 & num5); + array4[num268] = (byte)num267; + int num269 = num11; + num5 = 1; + num6 = num269; + int num270 = num6 ^ num5; + int num271 = num6 & num5; + num11 = num270 + (num271 + num271); + array4[num269] = (byte)(num267 >> 8); + int num272 = num11; + num5 = 1; + num6 = num272; + int num273 = num6 ^ num5; + int num274 = num6 & num5; + num11 = num273 + (num274 + num274); + array4[num272] = (byte)(num267 >> 16); + int num275 = num11; + num5 = 1; + num6 = num275; + num11 = (num6 | num5) + (num6 & num5); + array4[num275] = (byte)(num267 >> 24); + array2[num266] ^= num267; + int num276 = num266; + num5 = 1; + num6 = num276; + int num277 = num6 ^ num5; + int num278 = num6 & num5; + num266 = num277 + (num278 + num278); + } + int num279 = num10; + num5 = 16; + num6 = num279; + num10 = (num6 | num5) + (num6 & num5); + } + _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E = _202D_202D_200C_200B_202A_206F_206A_200C_200F_200B_202C_206B_202E_200F_202A_200F_206E_206E_206C_206A_202D_206D_200D_202B_206F_202A_200F_206A_206C_206B_206F_202B_200E_206F_200F_200D_200E_206B_202D_202A_202E(array4); + } + + internal static int _206A_206B_206B_202A_202C_206B_202E_202A_206A_200D_200F_206D_200D_200D_206E_202D_206B_206C_200C_206A_200B_200D_206A_202C_200B_206A_200C_202A_206D_206B_202B_206D_206D_200C_202C_200C_206D_206B_206A_206B_202E(int id) + { + id <<= 2; + byte num = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E[id]; + byte[] array = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num2 = id; + int num3 = 1; + int num4 = num2; + num3 = array[(num4 | num3) + (num4 & num3)] << 8; + num4 = num; + int num5 = num4 + num3 - (num4 & num3); + byte[] array2 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num6 = id; + num3 = 2; + num4 = num6; + num3 = array2[(num4 | num3) + (num4 & num3)] << 16; + num4 = num5; + int num7 = (num4 & num3) + (num4 ^ num3); + byte[] array3 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num8 = id; + num3 = 3; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num3 = array3[num9 + (num10 + num10)] << 24; + num4 = num7; + return num4 + num3 - (num4 & num3); + } + + internal static long _206B_202E_200D_200B_200D_206E_206D_206E_202C_206D_202E_206E_200E_206F_200C_202E_200E_200B_200F_206E_206F_206B_202A_200E_200D_202C_200B_202B_202B_200D_202A_200D_202D_202C_202C_206D_202E_200F_202B_202D_202E(int id) + { + id <<= 2; + byte num = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E[id]; + byte[] array = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num2 = id; + int num3 = 1; + int num4 = num2; + num3 = array[(num4 | num3) + (num4 & num3)] << 8; + num4 = num; + int num5 = (num4 & num3) + (num4 ^ num3); + byte[] array2 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num6 = id; + num3 = 2; + num4 = num6; + num3 = array2[(num4 | num3) + (num4 & num3)] << 16; + num4 = num5; + int num7 = (num4 & num3) + (num4 ^ num3); + byte[] array3 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num8 = id; + num3 = 3; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num3 = array3[num9 + (num10 + num10)] << 24; + num4 = num7; + uint num11 = (uint)((num4 & num3) + (num4 ^ num3)); + byte[] array4 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num12 = id; + num3 = 4; + num4 = num12; + byte num13 = array4[(num4 | num3) + (num4 & num3)]; + byte[] array5 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num14 = id; + num3 = 5; + num4 = num14; + num3 = array5[(num4 | num3) + (num4 & num3)] << 8; + num4 = num13; + int num15 = num4 + num3 - (num4 & num3); + byte[] array6 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num16 = id; + num3 = 6; + num4 = num16; + int num17 = num4 ^ num3; + int num18 = num4 & num3; + num3 = array6[num17 + (num18 + num18)] << 16; + num4 = num15; + int num19 = num4 + num3 - (num4 & num3); + byte[] array7 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num20 = id; + num3 = 7; + num4 = num20; + num3 = array7[(num4 | num3) + (num4 & num3)] << 24; + num4 = num19; + ulong num21 = (ulong)(uint)(num4 + num3 - (num4 & num3)) << 32; + long num22 = num11; + long num23 = (long)num21; + return (num23 & num22) + (num23 ^ num22); + } + + internal static float _202A_200F_206F_200B_206A_206D_206F_200D_206D_200B_200C_206B_206F_200C_206F_202A_200F_206E_200C_200E_200D_202A_200C_202B_206F_202D_206C_202E_202B_202A_200B_202B_206B_202B_202A_202E_200B_206F_202B_206B_202E(int id) + { + return BitConverter.ToSingle(_202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E, id << 2); + } + + internal static double _206E_206D_200E_202B_200E_206B_200C_200E_206D_202A_206B_202D_202C_202C_200E_200F_202E_206F_202D_202E_206C_206D_200C_202D_200D_202A_200F_206E_200B_202D_202C_206D_202B_200E_200F_202A_206E_200C_202C_206E_202E(int id) + { + return BitConverter.ToDouble(_202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E, id << 2); + } + + internal static _002D _202C_202A_206A_202B_202C_206C_202A_206D_206A_200D_206D_200D_200E_206A_206C_202C_206B_206A_202D_206A_200E_206B_206F_200D_206B_206D_202A_202A_200D_206D_200B_200B_200F_202D_200D_202D_200D_202D_202C_200C_202E<_002D>(int id) + { + int num = id * 546233917; + int num2 = 1278539976; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 3: + { + byte num31 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E[id]; + byte[] array10 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num32 = id; + num2 = 1; + num3 = num32; + int num33 = num3 ^ num2; + int num34 = num3 & num2; + num2 = array10[num33 + (num34 + num34)] << 8; + num3 = num31; + int num35 = (num3 & num2) + (num3 ^ num2); + byte[] array11 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num36 = id; + num2 = 2; + num3 = num36; + int num37 = num3 ^ num2; + int num38 = num3 & num2; + num2 = array11[num37 + (num38 + num38)] << 16; + num3 = num35; + int num39 = num3 + num2 - (num3 & num2); + byte[] array12 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num40 = id; + num2 = 3; + num3 = num40; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num39; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num41 = id; + num2 = 4; + num3 = num41; + return (_002D)(object)string.Intern(uTF.GetString(bytes, (num3 | num2) + (num3 & num2), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 1: + { + byte num8 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E[id]; + byte[] array = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = num3 + num2 - (num3 & num2); + byte[] array2 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = num3 + num2 - (num3 & num2); + byte[] array3 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num15 = id; + num2 = 3; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + num2 = array3[num16 + (num17 + num17)] << 24; + num3 = num14; + int num18 = num3 + num2 - (num3 & num2); + byte[] array4 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num19 = id; + num2 = 4; + num3 = num19; + int num20 = num3 ^ num2; + int num21 = num3 & num2; + byte num22 = array4[num20 + (num21 + num21)]; + byte[] array5 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num23 = id; + num2 = 5; + num3 = num23; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num22; + int num24 = (num3 & num2) + (num3 ^ num2); + byte[] array6 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num25 = id; + num2 = 6; + num3 = num25; + num2 = array6[(num3 | num2) + (num3 & num2)] << 16; + num3 = num24; + int num26 = num3 + num2 - (num3 & num2); + byte[] array7 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num27 = id; + num2 = 7; + num3 = num27; + int num28 = num3 ^ num2; + int num29 = num3 & num2; + num2 = array7[num28 + (num29 + num29)] << 24; + num3 = num26; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num18; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _200F_200C_202C_202C_200F_200C_206D_206D_202E_206E_202D_202A_200F_202C_200B_206B_200C_206C_206D_202E_200D_202B_200B_200B_200B_202D_202B_206A_206F_206A_206C_206C_206C_200F_206F_200F_202B_200E_202A_206E_202E<_002D>(int id) + { + int num = id * 1725555487; + int num2 = -1577733383; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 3: + { + byte num31 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E[id]; + byte[] array10 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num32 = id; + num2 = 1; + num3 = num32; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num31; + int num33 = num3 + num2 - (num3 & num2); + byte[] array11 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num34 = id; + num2 = 2; + num3 = num34; + int num35 = num3 ^ num2; + int num36 = num3 & num2; + num2 = array11[num35 + (num36 + num36)] << 16; + num3 = num33; + int num37 = num3 + num2 - (num3 & num2); + byte[] array12 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num38 = id; + num2 = 3; + num3 = num38; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num37; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num39 = id; + num2 = 4; + num3 = num39; + int num40 = num3 ^ num2; + int num41 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num40 + (num41 + num41), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 1: + { + byte num8 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E[id]; + byte[] array = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = num3 + num2 - (num3 & num2); + byte[] array2 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = num3 + num2 - (num3 & num2); + byte[] array3 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num15 = id; + num2 = 3; + num3 = num15; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num14; + int num16 = num3 + num2 - (num3 & num2); + byte[] array4 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num17 = id; + num2 = 4; + num3 = num17; + int num18 = num3 ^ num2; + int num19 = num3 & num2; + byte num20 = array4[num18 + (num19 + num19)]; + byte[] array5 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num21 = id; + num2 = 5; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array5[num22 + (num23 + num23)] << 8; + num3 = num20; + int num24 = num3 + num2 - (num3 & num2); + byte[] array6 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num25 = id; + num2 = 6; + num3 = num25; + num2 = array6[(num3 | num2) + (num3 & num2)] << 16; + num3 = num24; + int num26 = num3 + num2 - (num3 & num2); + byte[] array7 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num27 = id; + num2 = 7; + num3 = num27; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num26; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num28 = id; + num2 = 8; + num3 = num28; + int num29 = num3 ^ num2; + int num30 = num3 & num2; + int srcOffset = num29 + (num30 + num30); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _202C_206B_202A_202D_206A_202D_202A_206B_200F_202E_200D_200C_206A_200E_202B_206C_206E_200D_202C_202E_200B_206E_202A_206E_206F_200C_202D_202D_206E_200B_200E_206E_206A_202B_200B_202E_206E_206B_206F_202C_202E<_002D>(int id) + { + int num = id * -725843581; + int num2 = 1352092440; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 2: + { + byte num25 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E[id]; + byte[] array10 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num26 = id; + num2 = 1; + num3 = num26; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num25; + int num27 = (num3 & num2) + (num3 ^ num2); + byte[] array11 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num28 = id; + num2 = 2; + num3 = num28; + int num29 = num3 ^ num2; + int num30 = num3 & num2; + num2 = array11[num29 + (num30 + num30)] << 16; + num3 = num27; + int num31 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num32 = id; + num2 = 3; + num3 = num32; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num31; + int count = (num3 & num2) + (num3 ^ num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num33 = id; + num2 = 4; + num3 = num33; + int num34 = num3 ^ num2; + int num35 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num34 + (num35 + num35), count)); + } + case 1: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 0: + { + byte num8 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E[id]; + byte[] array = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = num3 + num2 - (num3 & num2); + byte[] array2 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num11 = id; + num2 = 2; + num3 = num11; + num2 = array2[(num3 | num2) + (num3 & num2)] << 16; + num3 = num10; + int num12 = num3 + num2 - (num3 & num2); + byte[] array3 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num13 = id; + num2 = 3; + num3 = num13; + int num14 = num3 ^ num2; + int num15 = num3 & num2; + num2 = array3[num14 + (num15 + num15)] << 24; + num3 = num12; + int num16 = (num3 & num2) + (num3 ^ num2); + byte[] array4 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num17 = id; + num2 = 4; + num3 = num17; + byte num18 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num19 = id; + num2 = 5; + num3 = num19; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num18; + int num20 = (num3 & num2) + (num3 ^ num2); + byte[] array6 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num21 = id; + num2 = 6; + num3 = num21; + num2 = array6[(num3 | num2) + (num3 & num2)] << 16; + num3 = num20; + int num22 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num23 = id; + num2 = 7; + num3 = num23; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num22; + int length = (num3 & num2) + (num3 ^ num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num24 = id; + num2 = 8; + num3 = num24; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _206A_200C_202A_206F_206C_206A_202D_206C_206B_200E_200D_202D_200E_206B_202D_206F_206A_200B_202B_206B_200E_202E_206E_202E_206C_206A_200C_206F_206E_200B_202D_200F_206A_206A_200C_200B_200E_206B_202C_202E_202E<_002D>(int id) + { + int num = id * -637435145; + int num2 = -447986820; + int num3 = num; + id = (num3 | num2) - (num3 & num2); + int num4 = id >>> 30; + int num5 = id; + num2 = 1073741823; + num3 = num5; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num4) + { + case 3: + { + byte num31 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E[id]; + byte[] array10 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num32 = id; + num2 = 1; + num3 = num32; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num31; + int num33 = num3 + num2 - (num3 & num2); + byte[] array11 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num34 = id; + num2 = 2; + num3 = num34; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num33; + int num35 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num36 = id; + num2 = 3; + num3 = num36; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num35; + int count = (num3 & num2) + (num3 ^ num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num37 = id; + num2 = 4; + num3 = num37; + return (_002D)(object)string.Intern(uTF.GetString(bytes, (num3 | num2) + (num3 & num2), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 0: + { + byte num6 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E[id]; + byte[] array = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num7 = id; + num2 = 1; + num3 = num7; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num6; + int num8 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num9 = id; + num2 = 2; + num3 = num9; + int num10 = num3 ^ num2; + int num11 = num3 & num2; + num2 = array2[num10 + (num11 + num11)] << 16; + num3 = num8; + int num12 = num3 + num2 - (num3 & num2); + byte[] array3 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num13 = id; + num2 = 3; + num3 = num13; + int num14 = num3 ^ num2; + int num15 = num3 & num2; + num2 = array3[num14 + (num15 + num15)] << 24; + num3 = num12; + int num16 = num3 + num2 - (num3 & num2); + byte[] array4 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num17 = id; + num2 = 4; + num3 = num17; + int num18 = num3 ^ num2; + int num19 = num3 & num2; + byte num20 = array4[num18 + (num19 + num19)]; + byte[] array5 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num21 = id; + num2 = 5; + num3 = num21; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num20; + int num22 = num3 + num2 - (num3 & num2); + byte[] array6 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num23 = id; + num2 = 6; + num3 = num23; + int num24 = num3 ^ num2; + int num25 = num3 & num2; + num2 = array6[num24 + (num25 + num25)] << 16; + num3 = num22; + int num26 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num27 = id; + num2 = 7; + num3 = num27; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num26; + int length = (num3 & num2) + (num3 ^ num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num28 = id; + num2 = 8; + num3 = num28; + int num29 = num3 ^ num2; + int num30 = num3 & num2; + int srcOffset = num29 + (num30 + num30); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _206C_200E_206E_202D_200B_206B_200F_202E_206B_202C_200C_206B_202B_206E_202C_200C_200D_202D_206D_200F_206F_202E_206E_206B_202A_202C_206E_206B_206C_206D_200F_206F_202B_206A_200D_202D_200E_206A_202C_206A_202E<_002D>(int id) + { + int num = id * 575492379; + int num2 = -1212761944; + int num3 = num; + id = (num3 | num2) - (num3 & num2); + int num4 = id >>> 30; + int num5 = id; + num2 = 1073741823; + num3 = num5; + id = num3 + num2 - (num3 | num2) << 2; + switch (num4) + { + case 1: + { + byte num29 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E[id]; + byte[] array10 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num30 = id; + num2 = 1; + num3 = num30; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num29; + int num31 = (num3 & num2) + (num3 ^ num2); + byte[] array11 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num32 = id; + num2 = 2; + num3 = num32; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num31; + int num33 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num34 = id; + num2 = 3; + num3 = num34; + int num35 = num3 ^ num2; + int num36 = num3 & num2; + num2 = array12[num35 + (num36 + num36)] << 24; + num3 = num33; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num37 = id; + num2 = 4; + num3 = num37; + int num38 = num3 ^ num2; + int num39 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num38 + (num39 + num39), count)); + } + case 3: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 0: + { + byte num6 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E[id]; + byte[] array = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num7 = id; + num2 = 1; + num3 = num7; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num6; + int num8 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num9 = id; + num2 = 2; + num3 = num9; + int num10 = num3 ^ num2; + int num11 = num3 & num2; + num2 = array2[num10 + (num11 + num11)] << 16; + num3 = num8; + int num12 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num13 = id; + num2 = 3; + num3 = num13; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num12; + int num14 = num3 + num2 - (num3 & num2); + byte[] array4 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num15 = id; + num2 = 4; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + byte num18 = array4[num16 + (num17 + num17)]; + byte[] array5 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num19 = id; + num2 = 5; + num3 = num19; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num18; + int num20 = (num3 & num2) + (num3 ^ num2); + byte[] array6 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num21 = id; + num2 = 6; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array6[num22 + (num23 + num23)] << 16; + num3 = num20; + int num24 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num25 = id; + num2 = 7; + num3 = num25; + int num26 = num3 ^ num2; + int num27 = num3 & num2; + num2 = array7[num26 + (num27 + num27)] << 24; + num3 = num24; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _202B_206D_206D_202B_206A_206D_206E_206C_202A_202D_200C_200B_200E_200D_206E_206C_202A_202D_206F_200F_200C_202E_200D_200B_202C_206E_206A_206A_200B_202A_206F_206F_206C_206B_200F_202A_206A_206C_206E_206D_202E; + int num28 = id; + num2 = 8; + num3 = num28; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num14; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } +} diff --git a/FatePaths/FatePaths.csproj b/FatePaths/FatePaths.csproj index 1f0d80c..daec3be 100644 --- a/FatePaths/FatePaths.csproj +++ b/FatePaths/FatePaths.csproj @@ -14,7 +14,9 @@ + + diff --git a/FatePaths/Questionable.FatePaths.FateBundle b/FatePaths/Questionable.FatePaths.FateBundle new file mode 100644 index 0000000..88a94cc Binary files /dev/null and b/FatePaths/Questionable.FatePaths.FateBundle differ diff --git a/FatePaths/Questionable.FatePaths.FateDefinitionSchema b/FatePaths/Questionable.FatePaths.FateDefinitionSchema index c8cef80..9ce73ed 100644 --- a/FatePaths/Questionable.FatePaths.FateDefinitionSchema +++ b/FatePaths/Questionable.FatePaths.FateDefinitionSchema @@ -22,10 +22,6 @@ "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" @@ -178,7 +174,6 @@ "Name", "Description", "TerritoryId", - "Aetheryte", "Position", "Targets" ], diff --git a/FatePaths/Questionable.FatePaths/AssemblyFateDefinitionLoader.cs b/FatePaths/Questionable.FatePaths/AssemblyFateDefinitionLoader.cs index 3e2bfcb..513acb6 100644 --- a/FatePaths/Questionable.FatePaths/AssemblyFateDefinitionLoader.cs +++ b/FatePaths/Questionable.FatePaths/AssemblyFateDefinitionLoader.cs @@ -1,105 +1,41 @@ using System; using System.Collections.Generic; +using System.Diagnostics; +using System.Globalization; using System.IO; -using System.Numerics; -using System.Runtime.InteropServices; -using Questionable.Model.Common; +using System.Security.Cryptography; +using System.Threading; +using Questionable.Model.IO; using Questionable.Model.Questing; namespace Questionable.FatePaths; -public static class AssemblyFateDefinitionLoader +internal static class AssemblyFateDefinitionLoader { - private static Dictionary? _definitions; + private static readonly Lazy> Definitions = new Lazy>(LoadDefinitions, LazyThreadSafetyMode.ExecutionAndPublication); - public static Stream FateDefinitionSchema => typeof(AssemblyFateDefinitionLoader).Assembly.GetManifestResourceStream("Questionable.FatePaths.FateDefinitionSchema"); + internal static TimeSpan? DecodeDuration { get; private set; } - public static IReadOnlyDictionary GetDefinitions() + internal static Stream FateDefinitionSchema => typeof(AssemblyFateDefinitionLoader).Assembly.GetManifestResourceStream("Questionable.FatePaths.FateDefinitionSchema"); + + internal static IReadOnlyDictionary GetDefinitions() { - if (_definitions == null) + return Definitions.Value; + } + + private static IReadOnlyDictionary LoadDefinitions() + { + Stopwatch stopwatch = Stopwatch.StartNew(); + using Stream stream = typeof(AssemblyFateDefinitionLoader).Assembly.GetManifestResourceStream("Questionable.FatePaths.FateBundle"); + byte[] array = PathBundleSecret.Key(); + List> list = PathBundle.Deserialize(stream, array); + CryptographicOperations.ZeroMemory(array); + Dictionary dictionary = new Dictionary(list.Count); + foreach (var (s, value) in list) { - _definitions = new Dictionary(); - LoadDefinitions(); + dictionary[ushort.Parse(s, CultureInfo.InvariantCulture)] = value; } - 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); + DecodeDuration = stopwatch.Elapsed; + return dictionary; } } diff --git a/FatePaths/Questionable.FatePaths/PathBundleSecret.cs b/FatePaths/Questionable.FatePaths/PathBundleSecret.cs new file mode 100644 index 0000000..37ddf70 --- /dev/null +++ b/FatePaths/Questionable.FatePaths/PathBundleSecret.cs @@ -0,0 +1,30 @@ +namespace Questionable.FatePaths; + +internal static class PathBundleSecret +{ + private static readonly byte[] A = new byte[32] + { + 184, 146, 158, 4, 12, 188, 14, 129, 154, 207, + 124, 249, 11, 86, 207, 158, 174, 9, 114, 165, + 243, 163, 70, 242, 33, 231, 45, 140, 119, 185, + 162, 26 + }; + + private static readonly byte[] B = new byte[32] + { + 150, 86, 230, 115, 69, 121, 30, 79, 176, 162, + 216, 139, 248, 83, 68, 111, 173, 223, 203, 79, + 42, 143, 208, 219, 192, 216, 102, 249, 57, 147, + 95, 21 + }; + + internal static byte[] Key() + { + byte[] array = new byte[A.Length]; + for (int i = 0; i < array.Length; i++) + { + array[i] = (byte)(A[i] ^ B[i]); + } + return array; + } +} diff --git a/GatheringPaths/-----------------------------------------.cs b/GatheringPaths/-----------------------------------------.cs new file mode 100644 index 0000000..e7320ab --- /dev/null +++ b/GatheringPaths/-----------------------------------------.cs @@ -0,0 +1,1040 @@ +using System; +using System.IO; +using System.Runtime.InteropServices; + +internal struct _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E +{ + internal uint _206A_202C_202D_206D_206F_202D_206B_206F_206B_202E_206F_206A_202C_206D_206F_202C_200C_200E_200B_202C_202B_206B_200C_200D_200B_202E_206C_202A_206C_206A_206F_206B_200F_202C_206F_202A_206E_206F_202C_206D_202E; + + internal void _206C_206F_202E_200E_206F_200F_206A_206D_206E_202A_200C_200C_202E_206C_202E_206C_206F_202A_200D_206D_200B_206E_202B_200B_200B_200B_206B_200B_206B_202A_206C_206A_202C_202C_206B_202A_206D_206D_200B_200F_202E() + { + _206A_202C_202D_206D_206F_202D_206B_206F_206B_202E_206F_206A_202C_206D_206F_202C_200C_200E_200B_202C_202B_206B_200C_200D_200B_202E_206C_202A_206C_206A_206F_206B_200F_202C_206F_202A_206E_206F_202C_206D_202E = 1024u; + } + + internal uint _200E_202B_206C_206F_206F_206E_200E_202A_200E_200F_202B_206D_202B_202A_202B_200F_206E_202B_206F_202E_206C_200B_202C_202E_206B_206E_200F_202A_200F_200C_200D_206C_200E_200C_206F_206C_202C_200D_200D_202C_202E(_200F_206D_202C_202E_202D_200D_206E_206B_206A_202D_202A_202E_206A_202B_202D_200C_200D_202B_206D_200F_206B_202B_206C_206A_202A_206F_206D_202B_202C_202D_202C_206A_206E_206B_202B_206A_206F_206D_200B_202C_202E rangeDecoder) + { + uint num = (rangeDecoder._200F_202D_206E_200D_202A_200D_206E_200E_206C_202E_200D_200E_202B_200E_200F_206D_206C_200E_200D_206A_202A_206D_206D_200F_200F_206C_200C_202C_202E_200C_200D_206E_206F_202B_202E_202E_200F_200B_206F_200D_202E >> 11) * _206A_202C_202D_206D_206F_202D_206B_206F_206B_202E_206F_206A_202C_206D_206F_202C_200C_200E_200B_202C_202B_206B_200C_200D_200B_202E_206C_202A_206C_206A_206F_206B_200F_202C_206F_202A_206E_206F_202C_206D_202E; + int num3; + int num4; + if (rangeDecoder._202D_206C_206C_200F_200C_202D_206D_202C_202C_200D_202D_206F_200F_206D_202B_202E_202A_202C_202D_206B_200F_206F_206F_206D_206E_202C_202E_202A_200B_206D_202D_200C_206F_202C_202B_206D_200F_206A_206C_202A_202E < num) + { + rangeDecoder._200F_202D_206E_200D_202A_200D_206E_200E_206C_202E_200D_200E_202B_200E_200F_206D_206C_200E_200D_206A_202A_206D_206D_200F_200F_206C_200C_202C_202E_200C_200D_206E_206F_202B_202E_202E_200F_200B_206F_200D_202E = num; + uint num2 = _206A_202C_202D_206D_206F_202D_206B_206F_206B_202E_206F_206A_202C_206D_206F_202C_200C_200E_200B_202C_202B_206B_200C_200D_200B_202E_206C_202A_206C_206A_206F_206B_200F_202C_206F_202A_206E_206F_202C_206D_202E; + num3 = (int)_206A_202C_202D_206D_206F_202D_206B_206F_206B_202E_206F_206A_202C_206D_206F_202C_200C_200E_200B_202C_202B_206B_200C_200D_200B_202E_206C_202A_206C_206A_206F_206B_200F_202C_206F_202A_206E_206F_202C_206D_202E; + num4 = 2048; + num3 = ~(~num4 + num3) >>> 5; + num4 = (int)num2; + _206A_202C_202D_206D_206F_202D_206B_206F_206B_202E_206F_206A_202C_206D_206F_202C_200C_200E_200B_202C_202B_206B_200C_200D_200B_202E_206C_202A_206C_206A_206F_206B_200F_202C_206F_202A_206E_206F_202C_206D_202E = (uint)((num4 | num3) + (num4 & num3)); + if (rangeDecoder._200F_202D_206E_200D_202A_200D_206E_200E_206C_202E_200D_200E_202B_200E_200F_206D_206C_200E_200D_206A_202A_206D_206D_200F_200F_206C_200C_202C_202E_200C_200D_206E_206F_202B_202E_202E_200F_200B_206F_200D_202E < 16777216) + { + rangeDecoder._202D_206C_206C_200F_200C_202D_206D_202C_202C_200D_202D_206F_200F_206D_202B_202E_202A_202C_202D_206B_200F_206F_206F_206D_206E_202C_202E_202A_200B_206D_202D_200C_206F_202C_202B_206D_200F_206A_206C_202A_202E = (rangeDecoder._202D_206C_206C_200F_200C_202D_206D_202C_202C_200D_202D_206F_200F_206D_202B_202E_202A_202C_202D_206B_200F_206F_206F_206D_206E_202C_202E_202A_200B_206D_202D_200C_206F_202C_202B_206D_200F_206A_206C_202A_202E << 8) | (byte)rangeDecoder._200F_202E_200C_202E_200F_206A_200E_200D_200B_200B_206A_200D_206C_202D_202B_206F_206E_206F_202A_206F_200C_206A_206E_202A_206D_200E_206A_206A_206C_202A_200F_206D_206C_200B_200B_206C_202D_202C_200B_200F_202E.ReadByte(); + rangeDecoder._200F_202D_206E_200D_202A_200D_206E_200E_206C_202E_200D_200E_202B_200E_200F_206D_206C_200E_200D_206A_202A_206D_206D_200F_200F_206C_200C_202C_202E_200C_200D_206E_206F_202B_202E_202E_200F_200B_206F_200D_202E <<= 8; + } + return 0u; + } + uint num5 = rangeDecoder._200F_202D_206E_200D_202A_200D_206E_200E_206C_202E_200D_200E_202B_200E_200F_206D_206C_200E_200D_206A_202A_206D_206D_200F_200F_206C_200C_202C_202E_200C_200D_206E_206F_202B_202E_202E_200F_200B_206F_200D_202E; + num3 = (int)num; + num4 = (int)num5; + rangeDecoder._200F_202D_206E_200D_202A_200D_206E_200E_206C_202E_200D_200E_202B_200E_200F_206D_206C_200E_200D_206A_202A_206D_206D_200F_200F_206C_200C_202C_202E_200C_200D_206E_206F_202B_202E_202E_200F_200B_206F_200D_202E = (uint)(~(~num4 + num3)); + uint num6 = rangeDecoder._202D_206C_206C_200F_200C_202D_206D_202C_202C_200D_202D_206F_200F_206D_202B_202E_202A_202C_202D_206B_200F_206F_206F_206D_206E_202C_202E_202A_200B_206D_202D_200C_206F_202C_202B_206D_200F_206A_206C_202A_202E; + num3 = (int)num; + num4 = (int)num6; + rangeDecoder._202D_206C_206C_200F_200C_202D_206D_202C_202C_200D_202D_206F_200F_206D_202B_202E_202A_202C_202D_206B_200F_206F_206F_206D_206E_202C_202E_202A_200B_206D_202D_200C_206F_202C_202B_206D_200F_206A_206C_202A_202E = (uint)(~(~num4 + num3)); + uint num7 = _206A_202C_202D_206D_206F_202D_206B_206F_206B_202E_206F_206A_202C_206D_206F_202C_200C_200E_200B_202C_202B_206B_200C_200D_200B_202E_206C_202A_206C_206A_206F_206B_200F_202C_206F_202A_206E_206F_202C_206D_202E; + num3 = (int)(_206A_202C_202D_206D_206F_202D_206B_206F_206B_202E_206F_206A_202C_206D_206F_202C_200C_200E_200B_202C_202B_206B_200C_200D_200B_202E_206C_202A_206C_206A_206F_206B_200F_202C_206F_202A_206E_206F_202C_206D_202E >> 5); + num4 = (int)num7; + _206A_202C_202D_206D_206F_202D_206B_206F_206B_202E_206F_206A_202C_206D_206F_202C_200C_200E_200B_202C_202B_206B_200C_200D_200B_202E_206C_202A_206C_206A_206F_206B_200F_202C_206F_202A_206E_206F_202C_206D_202E = (uint)(~(~num4 + num3)); + if (rangeDecoder._200F_202D_206E_200D_202A_200D_206E_200E_206C_202E_200D_200E_202B_200E_200F_206D_206C_200E_200D_206A_202A_206D_206D_200F_200F_206C_200C_202C_202E_200C_200D_206E_206F_202B_202E_202E_200F_200B_206F_200D_202E < 16777216) + { + rangeDecoder._202D_206C_206C_200F_200C_202D_206D_202C_202C_200D_202D_206F_200F_206D_202B_202E_202A_202C_202D_206B_200F_206F_206F_206D_206E_202C_202E_202A_200B_206D_202D_200C_206F_202C_202B_206D_200F_206A_206C_202A_202E = (rangeDecoder._202D_206C_206C_200F_200C_202D_206D_202C_202C_200D_202D_206F_200F_206D_202B_202E_202A_202C_202D_206B_200F_206F_206F_206D_206E_202C_202E_202A_200B_206D_202D_200C_206F_202C_202B_206D_200F_206A_206C_202A_202E << 8) | (byte)rangeDecoder._200F_202E_200C_202E_200F_206A_200E_200D_200B_200B_206A_200D_206C_202D_202B_206F_206E_206F_202A_206F_200C_206A_206E_202A_206D_200E_206A_206A_206C_202A_200F_206D_206C_200B_200B_206C_202D_202C_200B_200F_202E.ReadByte(); + rangeDecoder._200F_202D_206E_200D_202A_200D_206E_200E_206C_202E_200D_200E_202B_200E_200F_206D_206C_200E_200D_206A_202A_206D_206D_200F_200F_206C_200C_202C_202E_200C_200D_206E_206F_202B_202E_202E_200F_200B_206F_200D_202E <<= 8; + } + return 1u; + } +} +internal struct _200B_206B_202A_202C_200E_202C_206B_200F_206F_202A_206A_206B_200E_206C_206E_206D_200C_202A_206B_202E_200B_200E_202B_206C_200D_200F_202E_206A_200B_202B_200B_206C_200C_200D_206C_202B_200C_206E_200B_200E_202E +{ + internal readonly _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E[] _206B_200C_202B_206C_200D_200E_206F_206C_206E_202B_202A_206D_200C_206B_206D_200B_206D_202D_202C_200F_200D_206D_206E_202E_202C_206A_200E_200E_206A_200C_206F_202B_200F_206E_202B_202C_200C_202A_206B_202C_202E; + + internal readonly int _202C_200B_206E_202E_202E_202B_200E_202A_206A_202C_206D_200D_206C_200C_206E_202A_200E_206F_200D_206E_206D_202D_200D_206F_200C_200B_202C_202C_200F_202B_200F_200B_202D_200B_202B_206D_206B_202C_206E_202D_202E; + + internal _200B_206B_202A_202C_200E_202C_206B_200F_206F_202A_206A_206B_200E_206C_206E_206D_200C_202A_206B_202E_200B_200E_202B_206C_200D_200F_202E_206A_200B_202B_200B_206C_200C_200D_206C_202B_200C_206E_200B_200E_202E(int numBitLevels) + { + _202C_200B_206E_202E_202E_202B_200E_202A_206A_202C_206D_200D_206C_200C_206E_202A_200E_206F_200D_206E_206D_202D_200D_206F_200C_200B_202C_202C_200F_202B_200F_200B_202D_200B_202B_206D_206B_202C_206E_202D_202E = numBitLevels; + int num = 31; + _206B_200C_202B_206C_200D_200E_206F_206C_206E_202B_202A_206D_200C_206B_206D_200B_206D_202D_202C_200F_200D_206D_206E_202E_202C_206A_200E_200E_206A_200C_206F_202B_200F_206E_202B_202C_200C_202A_206B_202C_202E = new _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E[1 << numBitLevels + num - (numBitLevels | num)]; + } + + internal void _206E_202A_206E_206A_200D_200E_206C_202B_202D_202A_206B_202C_206B_200F_206E_206F_202C_202A_206D_200C_206C_200B_202B_202A_200C_200C_206B_202E_202C_206B_200D_200C_206D_202E_206A_200D_206B_200B_200B_206A_202E() + { + uint num = 1u; + while (true) + { + long num2 = num; + int num3 = _202C_200B_206E_202E_202E_202B_200E_202A_206A_202C_206D_200D_206C_200C_206E_202A_200E_206F_200D_206E_206D_202D_200D_206F_200C_200B_202C_202C_200F_202B_200F_200B_202D_200B_202B_206D_206B_202C_206E_202D_202E; + int num4 = 31; + int num5 = num3; + if (num2 < 1 << num5 + num4 - (num5 | num4)) + { + _206B_200C_202B_206C_200D_200E_206F_206C_206E_202B_202A_206D_200C_206B_206D_200B_206D_202D_202C_200F_200D_206D_206E_202E_202C_206A_200E_200E_206A_200C_206F_202B_200F_206E_202B_202C_200C_202A_206B_202C_202E[num]._206C_206F_202E_200E_206F_200F_206A_206D_206E_202A_200C_200C_202E_206C_202E_206C_206F_202A_200D_206D_200B_206E_202B_200B_200B_200B_206B_200B_206B_202A_206C_206A_202C_202C_206B_202A_206D_206D_200B_200F_202E(); + uint num6 = num; + num4 = 1; + num5 = (int)num6; + int num7 = num5 ^ num4; + int num8 = num5 & num4; + num = (uint)(num7 + (num8 + num8)); + continue; + } + break; + } + } + + internal uint _200C_200B_206A_206A_206E_206E_206C_202A_200B_200D_200D_202A_200B_202B_206D_206A_200B_206E_206D_200F_206B_206C_206D_206D_200C_202E_206B_202E_202B_202D_206A_202C_206F_206D_206E_200B_200B_202D_200B_206E_202E(_200F_206D_202C_202E_202D_200D_206E_206B_206A_202D_202A_202E_206A_202B_202D_200C_200D_202B_206D_200F_206B_202B_206C_206A_202A_206F_206D_202B_202C_202D_202C_206A_206E_206B_202B_206A_206F_206D_200B_202C_202E rangeDecoder) + { + uint num = 1u; + int num4; + int num5; + for (int num2 = _202C_200B_206E_202E_202E_202B_200E_202A_206A_202C_206D_200D_206C_200C_206E_202A_200E_206F_200D_206E_206D_202D_200D_206F_200C_200B_202C_202C_200F_202B_200F_200B_202D_200B_202B_206D_206B_202C_206E_202D_202E; num2 > 0; num2 = ~(~num5 + num4)) + { + num = (num << 1) + _206B_200C_202B_206C_200D_200E_206F_206C_206E_202B_202A_206D_200C_206B_206D_200B_206D_202D_202C_200F_200D_206D_206E_202E_202C_206A_200E_200E_206A_200C_206F_202B_200F_206E_202B_202C_200C_202A_206B_202C_202E[num]._200E_202B_206C_206F_206F_206E_200E_202A_200E_200F_202B_206D_202B_202A_202B_200F_206E_202B_206F_202E_206C_200B_202C_202E_206B_206E_200F_202A_200F_200C_200D_206C_200E_200C_206F_206C_202C_200D_200D_202C_202E(rangeDecoder); + int num3 = num2; + num4 = 1; + num5 = num3; + } + uint num6 = num; + int num7 = _202C_200B_206E_202E_202E_202B_200E_202A_206A_202C_206D_200D_206C_200C_206E_202A_200E_206F_200D_206E_206D_202D_200D_206F_200C_200B_202C_202C_200F_202B_200F_200B_202D_200B_202B_206D_206B_202C_206E_202D_202E; + num4 = 31; + num5 = num7; + num4 = 1 << num5 + num4 - (num5 | num4); + num5 = (int)num6; + return (uint)(~(~num5 + num4)); + } + + internal uint _200D_202C_206F_202B_202D_202D_202D_202E_202B_206D_206D_200E_202A_200C_206E_202B_202D_202E_206B_206D_206D_200D_200B_206A_200F_202C_206C_202E_200F_202E_200F_200C_200F_202E_200E_200D_200B_202A_206F_202E_202E(_200F_206D_202C_202E_202D_200D_206E_206B_206A_202D_202A_202E_206A_202B_202D_200C_200D_202B_206D_200F_206B_202B_206C_206A_202A_206F_206D_202B_202C_202D_202C_206A_206E_206B_202B_206A_206F_206D_200B_202C_202E rangeDecoder) + { + uint num = 1u; + uint num2 = 0u; + int num3 = 0; + while (num3 < _202C_200B_206E_202E_202E_202B_200E_202A_206A_202C_206D_200D_206C_200C_206E_202A_200E_206F_200D_206E_206D_202D_200D_206F_200C_200B_202C_202C_200F_202B_200F_200B_202D_200B_202B_206D_206B_202C_206E_202D_202E) + { + uint num4 = _206B_200C_202B_206C_200D_200E_206F_206C_206E_202B_202A_206D_200C_206B_206D_200B_206D_202D_202C_200F_200D_206D_206E_202E_202C_206A_200E_200E_206A_200C_206F_202B_200F_206E_202B_202C_200C_202A_206B_202C_202E[num]._200E_202B_206C_206F_206F_206E_200E_202A_200E_200F_202B_206D_202B_202A_202B_200F_206E_202B_206F_202E_206C_200B_202C_202E_206B_206E_200F_202A_200F_200C_200D_206C_200E_200C_206F_206C_202C_200D_200D_202C_202E(rangeDecoder); + num <<= 1; + uint num5 = num; + int num6 = (int)num4; + int num7 = (int)num5; + num = (uint)((num7 | num6) + (num7 & num6)); + uint num8 = num2; + int num9 = num3; + num6 = 31; + num7 = num9; + num6 = (int)(num4 << (num7 | num6) - (num7 ^ num6)); + num7 = (int)num8; + num2 = (uint)(num7 + num6 - (num7 & num6)); + int num10 = num3; + num6 = 1; + num7 = num10; + int num11 = num7 ^ num6; + int num12 = num7 & num6; + num3 = num11 + (num12 + num12); + } + return num2; + } + + internal static uint _200D_202A_202D_206D_200F_200E_206E_200F_202A_202E_206F_200C_200D_206B_206D_200F_200B_206B_206E_200C_202C_200D_200F_206C_202C_202E_206F_200E_202D_202B_200F_206C_202B_202A_206E_200B_206D_206F_206F_206E_202E(_206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E[] Models, uint startIndex, _200F_206D_202C_202E_202D_200D_206E_206B_206A_202D_202A_202E_206A_202B_202D_200C_200D_202B_206D_200F_206B_202B_206C_206A_202A_206F_206D_202B_202C_202D_202C_206A_206E_206B_202B_206A_206F_206D_200B_202C_202E rangeDecoder, int NumBitLevels) + { + uint num = 1u; + uint num2 = 0u; + int num3 = 0; + while (num3 < NumBitLevels) + { + int num4 = (int)num; + int num5 = (int)startIndex; + int num6 = num5 ^ num4; + int num7 = num5 & num4; + uint num8 = Models[num6 + (num7 + num7)]._200E_202B_206C_206F_206F_206E_200E_202A_200E_200F_202B_206D_202B_202A_202B_200F_206E_202B_206F_202E_206C_200B_202C_202E_206B_206E_200F_202A_200F_200C_200D_206C_200E_200C_206F_206C_202C_200D_200D_202C_202E(rangeDecoder); + num <<= 1; + uint num9 = num; + num4 = (int)num8; + num5 = (int)num9; + num = (uint)((num5 | num4) + (num5 & num4)); + uint num10 = num2; + int num11 = num3; + num4 = 31; + num5 = num11; + num4 = (int)(num8 << num5 + num4 - (num5 | num4)); + num5 = (int)num10; + num2 = (uint)((num5 & num4) + (num5 ^ num4)); + int num12 = num3; + num4 = 1; + num5 = num12; + int num13 = num5 ^ num4; + int num14 = num5 & num4; + num3 = num13 + (num14 + num14); + } + return num2; + } +} +internal class _200F_206D_202C_202E_202D_200D_206E_206B_206A_202D_202A_202E_206A_202B_202D_200C_200D_202B_206D_200F_206B_202B_206C_206A_202A_206F_206D_202B_202C_202D_202C_206A_206E_206B_202B_206A_206F_206D_200B_202C_202E +{ + internal uint _202D_206C_206C_200F_200C_202D_206D_202C_202C_200D_202D_206F_200F_206D_202B_202E_202A_202C_202D_206B_200F_206F_206F_206D_206E_202C_202E_202A_200B_206D_202D_200C_206F_202C_202B_206D_200F_206A_206C_202A_202E; + + internal uint _200F_202D_206E_200D_202A_200D_206E_200E_206C_202E_200D_200E_202B_200E_200F_206D_206C_200E_200D_206A_202A_206D_206D_200F_200F_206C_200C_202C_202E_200C_200D_206E_206F_202B_202E_202E_200F_200B_206F_200D_202E; + + internal Stream _200F_202E_200C_202E_200F_206A_200E_200D_200B_200B_206A_200D_206C_202D_202B_206F_206E_206F_202A_206F_200C_206A_206E_202A_206D_200E_206A_206A_206C_202A_200F_206D_206C_200B_200B_206C_202D_202C_200B_200F_202E; + + internal void _202E_206C_206D_202E_202A_206F_200E_200C_202E_206A_202A_200C_206B_206B_200B_200F_202B_200D_202E_206E_200B_206B_206B_200B_202C_200F_202D_202E_200F_206B_202A_202B_202E_200C_202D_200D_206F_206D_206F_202D_202E(Stream stream) + { + _200F_202E_200C_202E_200F_206A_200E_200D_200B_200B_206A_200D_206C_202D_202B_206F_206E_206F_202A_206F_200C_206A_206E_202A_206D_200E_206A_206A_206C_202A_200F_206D_206C_200B_200B_206C_202D_202C_200B_200F_202E = stream; + _202D_206C_206C_200F_200C_202D_206D_202C_202C_200D_202D_206F_200F_206D_202B_202E_202A_202C_202D_206B_200F_206F_206F_206D_206E_202C_202E_202A_200B_206D_202D_200C_206F_202C_202B_206D_200F_206A_206C_202A_202E = 0u; + _200F_202D_206E_200D_202A_200D_206E_200E_206C_202E_200D_200E_202B_200E_200F_206D_206C_200E_200D_206A_202A_206D_206D_200F_200F_206C_200C_202C_202E_200C_200D_206E_206F_202B_202E_202E_200F_200B_206F_200D_202E = uint.MaxValue; + int num = 0; + while (num < 5) + { + _202D_206C_206C_200F_200C_202D_206D_202C_202C_200D_202D_206F_200F_206D_202B_202E_202A_202C_202D_206B_200F_206F_206F_206D_206E_202C_202E_202A_200B_206D_202D_200C_206F_202C_202B_206D_200F_206A_206C_202A_202E = (_202D_206C_206C_200F_200C_202D_206D_202C_202C_200D_202D_206F_200F_206D_202B_202E_202A_202C_202D_206B_200F_206F_206F_206D_206E_202C_202E_202A_200B_206D_202D_200C_206F_202C_202B_206D_200F_206A_206C_202A_202E << 8) | (byte)_200F_202E_200C_202E_200F_206A_200E_200D_200B_200B_206A_200D_206C_202D_202B_206F_206E_206F_202A_206F_200C_206A_206E_202A_206D_200E_206A_206A_206C_202A_200F_206D_206C_200B_200B_206C_202D_202C_200B_200F_202E.ReadByte(); + int num2 = num; + int num3 = 1; + int num4 = num2; + num = (num4 | num3) + (num4 & num3); + } + } + + internal void _206F_202B_200D_206D_202A_206B_206A_202E_202A_206C_206D_200F_206B_206E_202D_200D_206F_202B_202B_200B_206E_200F_202D_206A_202B_202B_202C_202E_202A_206C_200F_206E_200F_200C_202C_200F_200F_200C_200D_202E_202E() + { + _200F_202E_200C_202E_200F_206A_200E_200D_200B_200B_206A_200D_206C_202D_202B_206F_206E_206F_202A_206F_200C_206A_206E_202A_206D_200E_206A_206A_206C_202A_200F_206D_206C_200B_200B_206C_202D_202C_200B_200F_202E = null; + } + + internal void _200E_200E_200D_200D_206D_200D_206B_200B_206F_206C_202B_200E_206D_202E_206B_202A_206A_202E_200C_202B_202A_206F_200B_202D_206E_202C_200E_202D_200C_202D_202B_206E_200F_202B_200B_206C_202C_206E_202C_200F_202E() + { + while (_200F_202D_206E_200D_202A_200D_206E_200E_206C_202E_200D_200E_202B_200E_200F_206D_206C_200E_200D_206A_202A_206D_206D_200F_200F_206C_200C_202C_202E_200C_200D_206E_206F_202B_202E_202E_200F_200B_206F_200D_202E < 16777216) + { + _202D_206C_206C_200F_200C_202D_206D_202C_202C_200D_202D_206F_200F_206D_202B_202E_202A_202C_202D_206B_200F_206F_206F_206D_206E_202C_202E_202A_200B_206D_202D_200C_206F_202C_202B_206D_200F_206A_206C_202A_202E = (_202D_206C_206C_200F_200C_202D_206D_202C_202C_200D_202D_206F_200F_206D_202B_202E_202A_202C_202D_206B_200F_206F_206F_206D_206E_202C_202E_202A_200B_206D_202D_200C_206F_202C_202B_206D_200F_206A_206C_202A_202E << 8) | (byte)_200F_202E_200C_202E_200F_206A_200E_200D_200B_200B_206A_200D_206C_202D_202B_206F_206E_206F_202A_206F_200C_206A_206E_202A_206D_200E_206A_206A_206C_202A_200F_206D_206C_200B_200B_206C_202D_202C_200B_200F_202E.ReadByte(); + _200F_202D_206E_200D_202A_200D_206E_200E_206C_202E_200D_200E_202B_200E_200F_206D_206C_200E_200D_206A_202A_206D_206D_200F_200F_206C_200C_202C_202E_200C_200D_206E_206F_202B_202E_202E_200F_200B_206F_200D_202E <<= 8; + } + } + + internal uint _202A_206E_206F_202D_206D_200B_206F_200E_202B_202C_202C_202B_200F_206E_206F_200B_200E_206D_206B_206A_206C_200B_206B_200B_202C_206D_202C_200C_200B_206E_206C_200F_206F_200C_206C_206F_202A_206F_206A_202E_202E(int numTotalBits) + { + uint num = _200F_202D_206E_200D_202A_200D_206E_200E_206C_202E_200D_200E_202B_200E_200F_206D_206C_200E_200D_206A_202A_206D_206D_200F_200F_206C_200C_202C_202E_200C_200D_206E_206F_202B_202E_202E_200F_200B_206F_200D_202E; + uint num2 = _202D_206C_206C_200F_200C_202D_206D_202C_202C_200D_202D_206F_200F_206D_202B_202E_202A_202C_202D_206B_200F_206F_206F_206D_206E_202C_202E_202A_200B_206D_202D_200C_206F_202C_202B_206D_200F_206A_206C_202A_202E; + uint num3 = 0u; + int num4 = numTotalBits; + while (num4 > 0) + { + num >>= 1; + uint num5 = num2; + int num6 = (int)num; + int num7 = (int)num5; + uint num8 = (uint)(~(~num7 + num6)) >> 31; + uint num9 = num2; + uint num10 = num; + num6 = 1; + num7 = (int)num8; + num6 = ~(~num7 + num6); + num7 = (int)num10; + num6 = num7 + num6 - (num7 | num6); + num7 = (int)num9; + num2 = (uint)(~(~num7 + num6)); + uint num11 = num3 << 1; + num6 = (int)num8; + num7 = 1; + num6 = ~(~num7 + num6); + num7 = (int)num11; + num3 = (uint)(num7 + num6 - (num7 & num6)); + if (num < 16777216) + { + num2 = (num2 << 8) | (byte)_200F_202E_200C_202E_200F_206A_200E_200D_200B_200B_206A_200D_206C_202D_202B_206F_206E_206F_202A_206F_200C_206A_206E_202A_206D_200E_206A_206A_206C_202A_200F_206D_206C_200B_200B_206C_202D_202C_200B_200F_202E.ReadByte(); + num <<= 8; + } + int num12 = num4; + num6 = 1; + num7 = num12; + num4 = ~(~num7 + num6); + } + _200F_202D_206E_200D_202A_200D_206E_200E_206C_202E_200D_200E_202B_200E_200F_206D_206C_200E_200D_206A_202A_206D_206D_200F_200F_206C_200C_202C_202E_200C_200D_206E_206F_202B_202E_202E_200F_200B_206F_200D_202E = num; + _202D_206C_206C_200F_200C_202D_206D_202C_202C_200D_202D_206F_200F_206D_202B_202E_202A_202C_202D_206B_200F_206F_206F_206D_206E_202C_202E_202A_200B_206D_202D_200C_206F_202C_202B_206D_200F_206A_206C_202A_202E = num2; + return num3; + } + + internal _200F_206D_202C_202E_202D_200D_206E_206B_206A_202D_202A_202E_206A_202B_202D_200C_200D_202B_206D_200F_206B_202B_206C_206A_202A_206F_206D_202B_202C_202D_202C_206A_206E_206B_202B_206A_206F_206D_200B_202C_202E() + { + } +} +internal class _202B_206B_200B_200B_200D_206D_206D_200C_200E_200C_206F_200F_206B_200C_202D_206F_202E_202D_200F_206D_202D_202D_202A_202E_206F_206B_206D_202B_200E_200C_202E_206A_202A_206F_206A_206E_200F_206E_206C_202B_202E +{ + internal class _206E_200B_200F_206A_206F_206E_200B_206F_202B_206D_202D_202D_202D_200C_202A_200B_202D_206B_202C_206A_206C_200F_206D_206A_202C_206E_202A_200C_200D_206E_202C_206C_206C_206F_206C_206F_206D_206F_202B_206D_202E + { + internal readonly _200B_206B_202A_202C_200E_202C_206B_200F_206F_202A_206A_206B_200E_206C_206E_206D_200C_202A_206B_202E_200B_200E_202B_206C_200D_200F_202E_206A_200B_202B_200B_206C_200C_200D_206C_202B_200C_206E_200B_200E_202E[] _206B_206B_206F_202D_206A_202D_200F_206D_206E_200E_206C_206B_202A_206B_206D_202B_200C_200C_202B_206C_202B_202B_206E_202D_202A_200D_206A_206A_206D_202D_206D_202A_202D_200C_206D_202E_206A_206C_206F_202E = new _200B_206B_202A_202C_200E_202C_206B_200F_206F_202A_206A_206B_200E_206C_206E_206D_200C_202A_206B_202E_200B_200E_202B_206C_200D_200F_202E_206A_200B_202B_200B_206C_200C_200D_206C_202B_200C_206E_200B_200E_202E[16]; + + internal readonly _200B_206B_202A_202C_200E_202C_206B_200F_206F_202A_206A_206B_200E_206C_206E_206D_200C_202A_206B_202E_200B_200E_202B_206C_200D_200F_202E_206A_200B_202B_200B_206C_200C_200D_206C_202B_200C_206E_200B_200E_202E[] _202B_206B_202E_200D_202D_202A_206B_200B_206D_206B_202B_200D_202C_200F_202B_206E_206B_206B_202E_200B_206C_206E_206F_206C_206B_200B_200B_200E_206D_206E_202D_206B_206E_206E_206F_202A_200E_200C_206E_202D_202E = new _200B_206B_202A_202C_200E_202C_206B_200F_206F_202A_206A_206B_200E_206C_206E_206D_200C_202A_206B_202E_200B_200E_202B_206C_200D_200F_202E_206A_200B_202B_200B_206C_200C_200D_206C_202B_200C_206E_200B_200E_202E[16]; + + internal _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E _206A_206C_206A_202B_206C_200F_206E_200E_206C_206C_202D_206A_206F_200B_202E_202D_202C_202E_200D_206B_206F_202D_206B_202E_206E_200B_200F_206F_202C_200F_206B_200B_200C_202B_202C_200E_200E_202E_206D_206B_202E; + + internal _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E _200B_200B_200F_206E_206A_202D_200B_206C_206C_206F_202A_202E_206C_200C_200D_200D_206D_206D_206E_202B_206F_206F_200D_202C_200F_200D_200B_202D_202C_206C_202E_202D_202A_202E_200C_200B_200D_206C_200C_200E_202E; + + internal _200B_206B_202A_202C_200E_202C_206B_200F_206F_202A_206A_206B_200E_206C_206E_206D_200C_202A_206B_202E_200B_200E_202B_206C_200D_200F_202E_206A_200B_202B_200B_206C_200C_200D_206C_202B_200C_206E_200B_200E_202E _206B_200F_202D_200F_200E_200F_200D_202D_202C_200C_202E_200D_200B_202D_206C_206A_202B_200F_202D_200F_200F_202C_206C_202E_202E_206D_202A_206B_200D_200E_206B_200C_202A_206D_206B_200C_200B_202A_206A_206D_202E = new _200B_206B_202A_202C_200E_202C_206B_200F_206F_202A_206A_206B_200E_206C_206E_206D_200C_202A_206B_202E_200B_200E_202B_206C_200D_200F_202E_206A_200B_202B_200B_206C_200C_200D_206C_202B_200C_206E_200B_200E_202E(8); + + internal uint _206B_206B_202E_206D_206A_200B_200E_202B_200F_202B_206C_202D_200E_200D_202E_206D_200C_202E_202A_202C_200D_202C_206C_200D_200C_200E_206F_202A_200B_202D_200D_200B_202D_202B_200E_202E_206D_206C_200D_200E_202E; + + internal void _202E_200C_200F_202D_206E_202D_206A_202D_202C_202A_206D_206D_200D_206C_202B_206A_206C_206A_202C_206A_200C_200F_206E_206B_206A_202A_200F_206E_200F_206C_202C_200F_206B_200C_206D_200D_202E_202E_202B_202E(uint numPosStates) + { + uint num = _206B_206B_202E_206D_206A_200B_200E_202B_200F_202B_206C_202D_200E_200D_202E_206D_200C_202E_202A_202C_200D_202C_206C_200D_200C_200E_206F_202A_200B_202D_200D_200B_202D_202B_200E_202E_206D_206C_200D_200E_202E; + while (num < numPosStates) + { + _206B_206B_206F_202D_206A_202D_200F_206D_206E_200E_206C_206B_202A_206B_206D_202B_200C_200C_202B_206C_202B_202B_206E_202D_202A_200D_206A_206A_206D_202D_206D_202A_202D_200C_206D_202E_206A_206C_206F_202E[num] = new _200B_206B_202A_202C_200E_202C_206B_200F_206F_202A_206A_206B_200E_206C_206E_206D_200C_202A_206B_202E_200B_200E_202B_206C_200D_200F_202E_206A_200B_202B_200B_206C_200C_200D_206C_202B_200C_206E_200B_200E_202E(3); + _202B_206B_202E_200D_202D_202A_206B_200B_206D_206B_202B_200D_202C_200F_202B_206E_206B_206B_202E_200B_206C_206E_206F_206C_206B_200B_200B_200E_206D_206E_202D_206B_206E_206E_206F_202A_200E_200C_206E_202D_202E[num] = new _200B_206B_202A_202C_200E_202C_206B_200F_206F_202A_206A_206B_200E_206C_206E_206D_200C_202A_206B_202E_200B_200E_202B_206C_200D_200F_202E_206A_200B_202B_200B_206C_200C_200D_206C_202B_200C_206E_200B_200E_202E(3); + uint num2 = num; + int num3 = 1; + int num4 = (int)num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = (uint)(num5 + (num6 + num6)); + } + _206B_206B_202E_206D_206A_200B_200E_202B_200F_202B_206C_202D_200E_200D_202E_206D_200C_202E_202A_202C_200D_202C_206C_200D_200C_200E_206F_202A_200B_202D_200D_200B_202D_202B_200E_202E_206D_206C_200D_200E_202E = numPosStates; + } + + internal void _202B_206C_206C_200F_202B_200D_206F_202D_200E_200D_206F_200C_200B_200B_206E_200F_202D_202B_200E_206F_202D_206E_206D_202A_206A_200F_206A_206B_202A_200E_202A_202D_200D_206D_206E_200F_202E_206C_206D_200D_202E() + { + _206A_206C_206A_202B_206C_200F_206E_200E_206C_206C_202D_206A_206F_200B_202E_202D_202C_202E_200D_206B_206F_202D_206B_202E_206E_200B_200F_206F_202C_200F_206B_200B_200C_202B_202C_200E_200E_202E_206D_206B_202E._206C_206F_202E_200E_206F_200F_206A_206D_206E_202A_200C_200C_202E_206C_202E_206C_206F_202A_200D_206D_200B_206E_202B_200B_200B_200B_206B_200B_206B_202A_206C_206A_202C_202C_206B_202A_206D_206D_200B_200F_202E(); + uint num = 0u; + while (num < _206B_206B_202E_206D_206A_200B_200E_202B_200F_202B_206C_202D_200E_200D_202E_206D_200C_202E_202A_202C_200D_202C_206C_200D_200C_200E_206F_202A_200B_202D_200D_200B_202D_202B_200E_202E_206D_206C_200D_200E_202E) + { + _206B_206B_206F_202D_206A_202D_200F_206D_206E_200E_206C_206B_202A_206B_206D_202B_200C_200C_202B_206C_202B_202B_206E_202D_202A_200D_206A_206A_206D_202D_206D_202A_202D_200C_206D_202E_206A_206C_206F_202E[num]._206E_202A_206E_206A_200D_200E_206C_202B_202D_202A_206B_202C_206B_200F_206E_206F_202C_202A_206D_200C_206C_200B_202B_202A_200C_200C_206B_202E_202C_206B_200D_200C_206D_202E_206A_200D_206B_200B_200B_206A_202E(); + _202B_206B_202E_200D_202D_202A_206B_200B_206D_206B_202B_200D_202C_200F_202B_206E_206B_206B_202E_200B_206C_206E_206F_206C_206B_200B_200B_200E_206D_206E_202D_206B_206E_206E_206F_202A_200E_200C_206E_202D_202E[num]._206E_202A_206E_206A_200D_200E_206C_202B_202D_202A_206B_202C_206B_200F_206E_206F_202C_202A_206D_200C_206C_200B_202B_202A_200C_200C_206B_202E_202C_206B_200D_200C_206D_202E_206A_200D_206B_200B_200B_206A_202E(); + uint num2 = num; + int num3 = 1; + int num4 = (int)num2; + num = (uint)((num4 | num3) + (num4 & num3)); + } + _200B_200B_200F_206E_206A_202D_200B_206C_206C_206F_202A_202E_206C_200C_200D_200D_206D_206D_206E_202B_206F_206F_200D_202C_200F_200D_200B_202D_202C_206C_202E_202D_202A_202E_200C_200B_200D_206C_200C_200E_202E._206C_206F_202E_200E_206F_200F_206A_206D_206E_202A_200C_200C_202E_206C_202E_206C_206F_202A_200D_206D_200B_206E_202B_200B_200B_200B_206B_200B_206B_202A_206C_206A_202C_202C_206B_202A_206D_206D_200B_200F_202E(); + _206B_200F_202D_200F_200E_200F_200D_202D_202C_200C_202E_200D_200B_202D_206C_206A_202B_200F_202D_200F_200F_202C_206C_202E_202E_206D_202A_206B_200D_200E_206B_200C_202A_206D_206B_200C_200B_202A_206A_206D_202E._206E_202A_206E_206A_200D_200E_206C_202B_202D_202A_206B_202C_206B_200F_206E_206F_202C_202A_206D_200C_206C_200B_202B_202A_200C_200C_206B_202E_202C_206B_200D_200C_206D_202E_206A_200D_206B_200B_200B_206A_202E(); + } + + internal uint _202B_200E_206B_200E_202A_206B_200C_200E_206C_200F_206E_200B_200B_202C_202A_206E_200C_200C_200B_206B_206D_200D_202E_206B_206E_200B_200C_202D_206D_202B_206D_206D_200B_202E_202D_206E_206C_202D_202D_206E_202E(_200F_206D_202C_202E_202D_200D_206E_206B_206A_202D_202A_202E_206A_202B_202D_200C_200D_202B_206D_200F_206B_202B_206C_206A_202A_206F_206D_202B_202C_202D_202C_206A_206E_206B_202B_206A_206F_206D_200B_202C_202E rangeDecoder, uint posState) + { + if (_206A_206C_206A_202B_206C_200F_206E_200E_206C_206C_202D_206A_206F_200B_202E_202D_202C_202E_200D_206B_206F_202D_206B_202E_206E_200B_200F_206F_202C_200F_206B_200B_200C_202B_202C_200E_200E_202E_206D_206B_202E._200E_202B_206C_206F_206F_206E_200E_202A_200E_200F_202B_206D_202B_202A_202B_200F_206E_202B_206F_202E_206C_200B_202C_202E_206B_206E_200F_202A_200F_200C_200D_206C_200E_200C_206F_206C_202C_200D_200D_202C_202E(rangeDecoder) == 0) + { + return _206B_206B_206F_202D_206A_202D_200F_206D_206E_200E_206C_206B_202A_206B_206D_202B_200C_200C_202B_206C_202B_202B_206E_202D_202A_200D_206A_206A_206D_202D_206D_202A_202D_200C_206D_202E_206A_206C_206F_202E[posState]._200C_200B_206A_206A_206E_206E_206C_202A_200B_200D_200D_202A_200B_202B_206D_206A_200B_206E_206D_200F_206B_206C_206D_206D_200C_202E_206B_202E_202B_202D_206A_202C_206F_206D_206E_200B_200B_202D_200B_206E_202E(rangeDecoder); + } + uint num = 8u; + if (_200B_200B_200F_206E_206A_202D_200B_206C_206C_206F_202A_202E_206C_200C_200D_200D_206D_206D_206E_202B_206F_206F_200D_202C_200F_200D_200B_202D_202C_206C_202E_202D_202A_202E_200C_200B_200D_206C_200C_200E_202E._200E_202B_206C_206F_206F_206E_200E_202A_200E_200F_202B_206D_202B_202A_202B_200F_206E_202B_206F_202E_206C_200B_202C_202E_206B_206E_200F_202A_200F_200C_200D_206C_200E_200C_206F_206C_202C_200D_200D_202C_202E(rangeDecoder) == 0) + { + return num + _202B_206B_202E_200D_202D_202A_206B_200B_206D_206B_202B_200D_202C_200F_202B_206E_206B_206B_202E_200B_206C_206E_206F_206C_206B_200B_200B_200E_206D_206E_202D_206B_206E_206E_206F_202A_200E_200C_206E_202D_202E[posState]._200C_200B_206A_206A_206E_206E_206C_202A_200B_200D_200D_202A_200B_202B_206D_206A_200B_206E_206D_200F_206B_206C_206D_206D_200C_202E_206B_202E_202B_202D_206A_202C_206F_206D_206E_200B_200B_202D_200B_206E_202E(rangeDecoder); + } + uint num2 = num; + int num3 = 8; + int num4 = (int)num2; + num = (uint)((num4 | num3) + (num4 & num3)); + return num + _206B_200F_202D_200F_200E_200F_200D_202D_202C_200C_202E_200D_200B_202D_206C_206A_202B_200F_202D_200F_200F_202C_206C_202E_202E_206D_202A_206B_200D_200E_206B_200C_202A_206D_206B_200C_200B_202A_206A_206D_202E._200C_200B_206A_206A_206E_206E_206C_202A_200B_200D_200D_202A_200B_202B_206D_206A_200B_206E_206D_200F_206B_206C_206D_206D_200C_202E_206B_202E_202B_202D_206A_202C_206F_206D_206E_200B_200B_202D_200B_206E_202E(rangeDecoder); + } + + internal _206E_200B_200F_206A_206F_206E_200B_206F_202B_206D_202D_202D_202D_200C_202A_200B_202D_206B_202C_206A_206C_200F_206D_206A_202C_206E_202A_200C_200D_206E_202C_206C_206C_206F_206C_206F_206D_206F_202B_206D_202E() + { + } + } + + internal class _200C_200F_206D_206A_202C_206A_202D_200D_206C_200B_206C_206D_206F_206F_206A_202D_206A_206E_200E_202C_206D_206E_200B_202A_200D_206F_200F_200F_202A_202D_200B_206C_206A_200C_200F_202E_202D_202E_206A_200E_202E + { + internal struct _206E_206A_202A_206D_202D_206B_202B_206F_202B_206A_202B_200E_206D_200B_206B_206A_200D_200F_200B_200E_206F_206B_200C_200D_200B_200B_202C_200E_200F_200D_206D_206F_200F_206E_202A_206B_200E_200C_202A_202D_202E + { + internal _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E[] _206F_206D_202B_200F_200F_206A_202A_202D_206C_202B_200D_200F_202D_206A_200D_202C_206C_200F_206A_206F_200F_206D_206E_200C_206F_200B_206C_202B_200C_200D_206B_206F_202C_200F_202C_200B_206C_202C_202E_202D_202E; + + internal void _206B_202C_202A_202D_202E_202A_200E_202A_202C_202D_206A_206C_206E_202C_202D_200B_200D_200D_200F_206F_202C_206D_200F_202D_200E_202E_206B_206F_200D_206E_200D_202B_200C_206C_200D_206F_202C_202C_206D_202E_202E() + { + _206F_206D_202B_200F_200F_206A_202A_202D_206C_202B_200D_200F_202D_206A_200D_202C_206C_200F_206A_206F_200F_206D_206E_200C_206F_200B_206C_202B_200C_200D_206B_206F_202C_200F_202C_200B_206C_202C_202E_202D_202E = new _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E[768]; + } + + internal void _206F_200D_202A_200C_206E_200E_202C_206D_200E_206C_202A_200B_206F_200D_200D_200D_206A_202B_202B_206A_206C_202A_206B_200D_206C_200E_206A_200B_206C_206D_200D_206C_200B_206B_206E_200F_202B_206D_202C_206C_202E() + { + int num = 0; + while (num < 768) + { + _206F_206D_202B_200F_200F_206A_202A_202D_206C_202B_200D_200F_202D_206A_200D_202C_206C_200F_206A_206F_200F_206D_206E_200C_206F_200B_206C_202B_200C_200D_206B_206F_202C_200F_202C_200B_206C_202C_202E_202D_202E[num]._206C_206F_202E_200E_206F_200F_206A_206D_206E_202A_200C_200C_202E_206C_202E_206C_206F_202A_200D_206D_200B_206E_202B_200B_200B_200B_206B_200B_206B_202A_206C_206A_202C_202C_206B_202A_206D_206D_200B_200F_202E(); + int num2 = num; + int num3 = 1; + int num4 = num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = num5 + (num6 + num6); + } + } + + internal byte _206F_206B_202D_202E_200B_200C_202B_200D_206E_200F_200B_200D_206B_202D_202D_206A_202A_200D_202E_200D_202A_206C_200D_206D_206B_202C_200B_206D_206F_206B_200B_202B_206C_206B_202B_206D_202D_206A_202D_200F_202E(_200F_206D_202C_202E_202D_200D_206E_206B_206A_202D_202A_202E_206A_202B_202D_200C_200D_202B_206D_200F_206B_202B_206C_206A_202A_206F_206D_202B_202C_202D_202C_206A_206E_206B_202B_206A_206F_206D_200B_202C_202E rangeDecoder) + { + uint num = 1u; + do + { + num = (num << 1) | _206F_206D_202B_200F_200F_206A_202A_202D_206C_202B_200D_200F_202D_206A_200D_202C_206C_200F_206A_206F_200F_206D_206E_200C_206F_200B_206C_202B_200C_200D_206B_206F_202C_200F_202C_200B_206C_202C_202E_202D_202E[num]._200E_202B_206C_206F_206F_206E_200E_202A_200E_200F_202B_206D_202B_202A_202B_200F_206E_202B_206F_202E_206C_200B_202C_202E_206B_206E_200F_202A_200F_200C_200D_206C_200E_200C_206F_206C_202C_200D_200D_202C_202E(rangeDecoder); + } + while (num < 256); + return (byte)num; + } + + internal byte _200F_200E_202B_200C_206D_202E_206A_206B_200E_206C_202E_200B_202A_206E_202C_202A_200B_200F_206D_200E_206A_206B_206B_200F_206B_206E_206B_202B_200E_206A_200E_206A_206F_200F_200F_200C_200E_206B_200F_202E_202E(_200F_206D_202C_202E_202D_200D_206E_206B_206A_202D_202A_202E_206A_202B_202D_200C_200D_202B_206D_200F_206B_202B_206C_206A_202A_206F_206D_202B_202C_202D_202C_206A_206E_206B_202B_206A_206F_206D_200B_202C_202E rangeDecoder, byte matchByte) + { + uint num = 1u; + do + { + int num2 = matchByte >> 7; + int num3 = 1; + int num4 = num2; + uint num5 = (uint)(num4 + num3 - (num4 | num3)); + matchByte <<= 1; + _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E[] array = _206F_206D_202B_200F_200F_206A_202A_202D_206C_202B_200D_200F_202D_206A_200D_202C_206C_200F_206A_206F_200F_206D_206E_200C_206F_200B_206C_202B_200C_200D_206B_206F_202C_200F_202C_200B_206C_202C_202E_202D_202E; + num3 = (int)num5; + num4 = 1; + int num6 = (num4 | num3) + (num4 & num3) << 8; + num3 = (int)num; + num4 = num6; + uint num7 = array[(num4 | num3) + (num4 & num3)]._200E_202B_206C_206F_206F_206E_200E_202A_200E_200F_202B_206D_202B_202A_202B_200F_206E_202B_206F_202E_206C_200B_202C_202E_206B_206E_200F_202A_200F_200C_200D_206C_200E_200C_206F_206C_202C_200D_200D_202C_202E(rangeDecoder); + uint num8 = num << 1; + num3 = (int)num7; + num4 = (int)num8; + num = (uint)(num4 + num3 - (num4 & num3)); + if (num5 != num7) + { + while (num < 256) + { + num = (num << 1) | _206F_206D_202B_200F_200F_206A_202A_202D_206C_202B_200D_200F_202D_206A_200D_202C_206C_200F_206A_206F_200F_206D_206E_200C_206F_200B_206C_202B_200C_200D_206B_206F_202C_200F_202C_200B_206C_202C_202E_202D_202E[num]._200E_202B_206C_206F_206F_206E_200E_202A_200E_200F_202B_206D_202B_202A_202B_200F_206E_202B_206F_202E_206C_200B_202C_202E_206B_206E_200F_202A_200F_200C_200D_206C_200E_200C_206F_206C_202C_200D_200D_202C_202E(rangeDecoder); + } + break; + } + } + while (num < 256); + return (byte)num; + } + } + + internal _206E_206A_202A_206D_202D_206B_202B_206F_202B_206A_202B_200E_206D_200B_206B_206A_200D_200F_200B_200E_206F_206B_200C_200D_200B_200B_202C_200E_200F_200D_206D_206F_200F_206E_202A_206B_200E_200C_202A_202D_202E[] _202A_200C_206E_206B_206A_202C_206D_200B_202D_206B_202E_200F_200F_200E_206C_206F_202C_200C_202C_202E_202C_206D_202D_202D_206D_200C_202A_206E_200B_206B_206C_206B_202D_206E_200D_206E_200B_202B_200F_202C_202E; + + internal int _200F_202A_206E_206A_206C_202B_206B_200C_200B_202B_206B_206C_206F_200B_202B_206F_206E_200C_206F_206B_202C_200F_206B_206D_200E_206D_206F_200E_200F_202B_200C_202B_202B_200D_200B_200B_206D_202C_206A_200F_202E; + + internal int _200D_200C_202A_200F_206D_206E_206A_200E_200B_202D_206A_202A_202A_200B_202D_206F_200B_202C_206D_202A_202D_202C_206A_202D_200B_206F_206F_206E_202A_200E_202B_200F_202C_202E_202B_206D_200B_202C_200F_202C_202E; + + internal uint _206B_202B_202A_206C_206E_202C_202A_206C_202D_206E_200B_206E_206B_206A_202D_206C_202A_202E_206B_202E_200C_200E_200C_200F_206A_200D_200C_202E_202A_202D_206C_206D_200D_202B_206C_206F_206B_202E_206F_206D_202E; + + internal void _206A_202E_200C_206C_206F_200C_202B_202B_206B_200B_206B_202A_200D_200E_202A_202A_206A_200B_202B_200C_202A_206F_202A_206A_206D_200E_200D_206B_200B_206E_200B_206B_206D_202E_206A_202D_200C_206F_200B_202E_202E(int numPosBits, int numPrevBits) + { + if (_202A_200C_206E_206B_206A_202C_206D_200B_202D_206B_202E_200F_200F_200E_206C_206F_202C_200C_202C_202E_202C_206D_202D_202D_206D_200C_202A_206E_200B_206B_206C_206B_202D_206E_200D_206E_200B_202B_200F_202C_202E == null || _200D_200C_202A_200F_206D_206E_206A_200E_200B_202D_206A_202A_202A_200B_202D_206F_200B_202C_206D_202A_202D_202C_206A_202D_200B_206F_206F_206E_202A_200E_202B_200F_202C_202E_202B_206D_200B_202C_200F_202C_202E != numPrevBits || _200F_202A_206E_206A_206C_202B_206B_200C_200B_202B_206B_206C_206F_200B_202B_206F_206E_200C_206F_206B_202C_200F_206B_206D_200E_206D_206F_200E_200F_202B_200C_202B_202B_200D_200B_200B_206D_202C_206A_200F_202E != numPosBits) + { + _200F_202A_206E_206A_206C_202B_206B_200C_200B_202B_206B_206C_206F_200B_202B_206F_206E_200C_206F_206B_202C_200F_206B_206D_200E_206D_206F_200E_200F_202B_200C_202B_202B_200D_200B_200B_206D_202C_206A_200F_202E = numPosBits; + int num = 31; + int num2 = numPosBits; + int num3 = 1 << (num2 | num) - (num2 ^ num); + num = 1; + num2 = num3; + _206B_202B_202A_206C_206E_202C_202A_206C_202D_206E_200B_206E_206B_206A_202D_206C_202A_202E_206B_202E_200C_200E_200C_200F_206A_200D_200C_202E_202A_202D_206C_206D_200D_202B_206C_206F_206B_202E_206F_206D_202E = (uint)(~(~num2 + num)); + _200D_200C_202A_200F_206D_206E_206A_200E_200B_202D_206A_202A_202A_200B_202D_206F_200B_202C_206D_202A_202D_202C_206A_202D_200B_206F_206F_206E_202A_200E_202B_200F_202C_202E_202B_206D_200B_202C_200F_202C_202E = numPrevBits; + int num4 = _200D_200C_202A_200F_206D_206E_206A_200E_200B_202D_206A_202A_202A_200B_202D_206F_200B_202C_206D_202A_202D_202C_206A_202D_200B_206F_206F_206E_202A_200E_202B_200F_202C_202E_202B_206D_200B_202C_200F_202C_202E; + num = _200F_202A_206E_206A_206C_202B_206B_200C_200B_202B_206B_206C_206F_200B_202B_206F_206E_200C_206F_206B_202C_200F_206B_206D_200E_206D_206F_200E_200F_202B_200C_202B_202B_200D_200B_200B_206D_202C_206A_200F_202E; + num2 = num4; + int num5 = (num2 | num) + (num2 & num); + num = 31; + num2 = num5; + uint num6 = (uint)(1 << num2 + num - (num2 | num)); + _202A_200C_206E_206B_206A_202C_206D_200B_202D_206B_202E_200F_200F_200E_206C_206F_202C_200C_202C_202E_202C_206D_202D_202D_206D_200C_202A_206E_200B_206B_206C_206B_202D_206E_200D_206E_200B_202B_200F_202C_202E = new _206E_206A_202A_206D_202D_206B_202B_206F_202B_206A_202B_200E_206D_200B_206B_206A_200D_200F_200B_200E_206F_206B_200C_200D_200B_200B_202C_200E_200F_200D_206D_206F_200F_206E_202A_206B_200E_200C_202A_202D_202E[num6]; + for (uint num7 = 0u; num7 < num6; num7 = (uint)((num2 | num) + (num2 & num))) + { + _202A_200C_206E_206B_206A_202C_206D_200B_202D_206B_202E_200F_200F_200E_206C_206F_202C_200C_202C_202E_202C_206D_202D_202D_206D_200C_202A_206E_200B_206B_206C_206B_202D_206E_200D_206E_200B_202B_200F_202C_202E[num7]._206B_202C_202A_202D_202E_202A_200E_202A_202C_202D_206A_206C_206E_202C_202D_200B_200D_200D_200F_206F_202C_206D_200F_202D_200E_202E_206B_206F_200D_206E_200D_202B_200C_206C_200D_206F_202C_202C_206D_202E_202E(); + uint num8 = num7; + num = 1; + num2 = (int)num8; + } + } + } + + internal void _206B_206D_200F_202A_206C_206E_202E_206D_206E_206E_202E_200E_200B_200D_202A_202D_202C_200C_206B_206A_202D_200B_200E_202C_206E_200F_206C_200B_200C_200D_202B_200E_206A_202B_202A_202E_206E_202D_202C_206B_202E() + { + int num = _200D_200C_202A_200F_206D_206E_206A_200E_200B_202D_206A_202A_202A_200B_202D_206F_200B_202C_206D_202A_202D_202C_206A_202D_200B_206F_206F_206E_202A_200E_202B_200F_202C_202E_202B_206D_200B_202C_200F_202C_202E; + int num2 = _200F_202A_206E_206A_206C_202B_206B_200C_200B_202B_206B_206C_206F_200B_202B_206F_206E_200C_206F_206B_202C_200F_206B_206D_200E_206D_206F_200E_200F_202B_200C_202B_202B_200D_200B_200B_206D_202C_206A_200F_202E; + int num3 = num; + int num4 = num3 ^ num2; + int num5 = num3 & num2; + int num6 = num4 + (num5 + num5); + num2 = 31; + num3 = num6; + uint num7 = (uint)(1 << (num3 | num2) - (num3 ^ num2)); + uint num8 = 0u; + while (num8 < num7) + { + _202A_200C_206E_206B_206A_202C_206D_200B_202D_206B_202E_200F_200F_200E_206C_206F_202C_200C_202C_202E_202C_206D_202D_202D_206D_200C_202A_206E_200B_206B_206C_206B_202D_206E_200D_206E_200B_202B_200F_202C_202E[num8]._206F_200D_202A_200C_206E_200E_202C_206D_200E_206C_202A_200B_206F_200D_200D_200D_206A_202B_202B_206A_206C_202A_206B_200D_206C_200E_206A_200B_206C_206D_200D_206C_200B_206B_206E_200F_202B_206D_202C_206C_202E(); + uint num9 = num8; + num2 = 1; + num3 = (int)num9; + int num10 = num3 ^ num2; + int num11 = num3 & num2; + num8 = (uint)(num10 + (num11 + num11)); + } + } + + internal uint _202C_200D_206E_200B_202B_200D_202B_202A_206C_200B_202A_206D_206B_202B_206F_200D_206D_200F_200D_202B_206A_200B_200F_200D_206D_200B_202D_202D_206B_200F_200D_202C_202C_200F_206F_200C_202B_206A_206E_202E_202E(uint pos, byte prevByte) + { + int num = (int)_206B_202B_202A_206C_206E_202C_202A_206C_202D_206E_200B_206E_206B_206A_202D_206C_202A_202E_206B_202E_200C_200E_200C_200F_206A_200D_200C_202E_202A_202D_206C_206D_200D_202B_206C_206F_206B_202E_206F_206D_202E; + int num2 = (int)pos; + int num3 = (num2 | num) - (num2 ^ num); + int num4 = _200D_200C_202A_200F_206D_206E_206A_200E_200B_202D_206A_202A_202A_200B_202D_206F_200B_202C_206D_202A_202D_202C_206A_202D_200B_206F_206F_206E_202A_200E_202B_200F_202C_202E_202B_206D_200B_202C_200F_202C_202E; + num = 31; + num2 = num4; + int num5 = num3 << num2 + num - (num2 | num); + num = _200D_200C_202A_200F_206D_206E_206A_200E_200B_202D_206A_202A_202A_200B_202D_206F_200B_202C_206D_202A_202D_202C_206A_202D_200B_206F_206F_206E_202A_200E_202B_200F_202C_202E_202B_206D_200B_202C_200F_202C_202E; + num2 = 8; + int num6 = ~(~num2 + num); + num = 31; + num2 = num6; + num = prevByte >> (num2 | num) - (num2 ^ num); + num2 = num5; + int num7 = num2 ^ num; + int num8 = num2 & num; + return (uint)(num7 + (num8 + num8)); + } + + internal byte _200D_206F_206D_200E_200B_206B_200B_200B_200E_200F_202C_200F_200E_206C_206C_206A_200C_200B_202D_202E_206E_206C_202A_200D_206D_206B_200C_200F_206E_200B_200C_202A_202A_200D_200D_200E_200F_206C_202C_200D_202E(_200F_206D_202C_202E_202D_200D_206E_206B_206A_202D_202A_202E_206A_202B_202D_200C_200D_202B_206D_200F_206B_202B_206C_206A_202A_206F_206D_202B_202C_202D_202C_206A_206E_206B_202B_206A_206F_206D_200B_202C_202E rangeDecoder, uint pos, byte prevByte) + { + return _202A_200C_206E_206B_206A_202C_206D_200B_202D_206B_202E_200F_200F_200E_206C_206F_202C_200C_202C_202E_202C_206D_202D_202D_206D_200C_202A_206E_200B_206B_206C_206B_202D_206E_200D_206E_200B_202B_200F_202C_202E[_202C_200D_206E_200B_202B_200D_202B_202A_206C_200B_202A_206D_206B_202B_206F_200D_206D_200F_200D_202B_206A_200B_200F_200D_206D_200B_202D_202D_206B_200F_200D_202C_202C_200F_206F_200C_202B_206A_206E_202E_202E(pos, prevByte)]._206F_206B_202D_202E_200B_200C_202B_200D_206E_200F_200B_200D_206B_202D_202D_206A_202A_200D_202E_200D_202A_206C_200D_206D_206B_202C_200B_206D_206F_206B_200B_202B_206C_206B_202B_206D_202D_206A_202D_200F_202E(rangeDecoder); + } + + internal byte _200E_200C_206B_206E_206D_206F_206A_200B_206E_200C_206F_202A_202C_200D_206C_202D_206A_206B_206E_200E_200B_206D_206D_202E_206D_206A_206F_206C_200B_206B_206C_202D_206A_202E_202B_200E_202A_202D_206F_206E_202E(_200F_206D_202C_202E_202D_200D_206E_206B_206A_202D_202A_202E_206A_202B_202D_200C_200D_202B_206D_200F_206B_202B_206C_206A_202A_206F_206D_202B_202C_202D_202C_206A_206E_206B_202B_206A_206F_206D_200B_202C_202E rangeDecoder, uint pos, byte prevByte, byte matchByte) + { + return _202A_200C_206E_206B_206A_202C_206D_200B_202D_206B_202E_200F_200F_200E_206C_206F_202C_200C_202C_202E_202C_206D_202D_202D_206D_200C_202A_206E_200B_206B_206C_206B_202D_206E_200D_206E_200B_202B_200F_202C_202E[_202C_200D_206E_200B_202B_200D_202B_202A_206C_200B_202A_206D_206B_202B_206F_200D_206D_200F_200D_202B_206A_200B_200F_200D_206D_200B_202D_202D_206B_200F_200D_202C_202C_200F_206F_200C_202B_206A_206E_202E_202E(pos, prevByte)]._200F_200E_202B_200C_206D_202E_206A_206B_200E_206C_202E_200B_202A_206E_202C_202A_200B_200F_206D_200E_206A_206B_206B_200F_206B_206E_206B_202B_200E_206A_200E_206A_206F_200F_200F_200C_200E_206B_200F_202E_202E(rangeDecoder, matchByte); + } + + internal _200C_200F_206D_206A_202C_206A_202D_200D_206C_200B_206C_206D_206F_206F_206A_202D_206A_206E_200E_202C_206D_206E_200B_202A_200D_206F_200F_200F_202A_202D_200B_206C_206A_200C_200F_202E_202D_202E_206A_200E_202E() + { + } + } + + internal readonly _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E[] _200D_206F_200C_206E_206D_200F_200C_200D_200C_200F_200D_200F_206A_206B_202C_202B_200E_200E_206A_202E_200E_206E_202C_202D_200B_206F_200E_206D_202E_200B_202A_202B_202B_202A_200B_202B_200C_202C_206C_202A_202E = new _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E[192]; + + internal readonly _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E[] _200E_206D_202A_200F_202E_206B_200E_206A_200F_206E_206A_202B_200F_202A_200F_206D_206A_206F_206C_200B_200F_202C_202B_202B_200D_200B_202B_206C_206A_202E_200C_200E_202A_200D_202A_202A_200D_200C_200D_206D_202E = new _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E[192]; + + internal readonly _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E[] _206F_200E_206F_200E_202D_200D_200D_202D_206E_206B_206A_206D_202E_206B_200F_200B_206D_206D_206D_206E_200B_206C_202B_206E_200B_206F_202E_202A_200F_206A_202A_200D_202A_200F_202A_206A_206C_202B_202A_206E_202E = new _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E[12]; + + internal readonly _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E[] _206A_206F_200F_202D_206C_206F_200E_202C_206E_206D_206E_206C_206A_202B_206E_202C_200B_202D_206D_206B_202E_202B_206A_206E_200F_202B_206E_202A_200C_202A_206A_202B_206A_202C_200F_200E_206D_202E_200F_200E_202E = new _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E[12]; + + internal readonly _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E[] _206D_206A_206F_200C_200F_200C_202A_202A_200B_206F_202A_206D_206C_206A_206F_206E_206C_206A_202E_206E_202A_206F_200D_202A_206A_202D_206B_202A_206C_206A_206B_202D_200E_206C_200B_202E_206A_202A_200F_202A_202E = new _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E[12]; + + internal readonly _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E[] _200E_202C_202C_202D_200F_206F_206A_202D_200B_206E_200D_206E_206E_202C_202C_200F_200D_202E_206E_200B_202E_202E_206E_202C_206A_206F_206C_202A_200B_200B_206A_206B_206E_202C_206E_202E_202C_206F_202D_206E_202E = new _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E[12]; + + internal readonly _206E_200B_200F_206A_206F_206E_200B_206F_202B_206D_202D_202D_202D_200C_202A_200B_202D_206B_202C_206A_206C_200F_206D_206A_202C_206E_202A_200C_200D_206E_202C_206C_206C_206F_206C_206F_206D_206F_202B_206D_202E _202E_200D_200F_206D_206B_206F_200F_200E_200D_200D_206E_200B_206C_200E_206C_202A_206D_206A_206E_206A_206A_200B_206A_206D_200F_202A_200C_206D_206C_202B_206D_200F_200E_202D_206D_202A_206F_202B_202A_202E = new _206E_200B_200F_206A_206F_206E_200B_206F_202B_206D_202D_202D_202D_200C_202A_200B_202D_206B_202C_206A_206C_200F_206D_206A_202C_206E_202A_200C_200D_206E_202C_206C_206C_206F_206C_206F_206D_206F_202B_206D_202E(); + + internal readonly _200C_200F_206D_206A_202C_206A_202D_200D_206C_200B_206C_206D_206F_206F_206A_202D_206A_206E_200E_202C_206D_206E_200B_202A_200D_206F_200F_200F_202A_202D_200B_206C_206A_200C_200F_202E_202D_202E_206A_200E_202E _206E_202A_200B_202A_206B_202B_206D_202C_206B_206F_202B_202E_206A_202D_202A_200B_200F_202B_202C_202B_200D_206D_202C_200F_202C_202E_200F_200F_202E_206A_202C_200C_200E_202D_206F_206C_206E_202A_202A_206E_202E = new _200C_200F_206D_206A_202C_206A_202D_200D_206C_200B_206C_206D_206F_206F_206A_202D_206A_206E_200E_202C_206D_206E_200B_202A_200D_206F_200F_200F_202A_202D_200B_206C_206A_200C_200F_202E_202D_202E_206A_200E_202E(); + + internal readonly _206C_202B_202C_200B_200B_206B_202D_206A_200E_206D_206C_206D_206C_200F_202C_202B_206A_200D_202E_200D_202D_206C_202B_202A_200F_206B_206F_200B_206F_206B_206E_206D_202D_206B_206C_200C_202C_206C_200F_200E_202E _206C_206A_200E_200F_202E_200B_202C_202D_200E_206F_206B_206B_206B_200F_200B_200F_206A_200F_200D_200B_202E_206C_206B_202E_202A_200F_206B_200B_202E_200B_206B_202B_206E_200D_206D_202B_206F_206E_200C_202E_202E = new _206C_202B_202C_200B_200B_206B_202D_206A_200E_206D_206C_206D_206C_200F_202C_202B_206A_200D_202E_200D_202D_206C_202B_202A_200F_206B_206F_200B_206F_206B_206E_206D_202D_206B_206C_200C_202C_206C_200F_200E_202E(); + + internal readonly _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E[] _206A_206A_206A_202D_200E_202B_202E_200C_200F_200D_202A_206C_206E_202C_200D_202B_200B_206A_202C_206B_200B_206B_206C_206E_202A_200E_206F_200C_200D_206A_206A_202A_206C_200E_206F_202D_200E_200F_200D_206D_202E = new _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E[114]; + + internal readonly _200B_206B_202A_202C_200E_202C_206B_200F_206F_202A_206A_206B_200E_206C_206E_206D_200C_202A_206B_202E_200B_200E_202B_206C_200D_200F_202E_206A_200B_202B_200B_206C_200C_200D_206C_202B_200C_206E_200B_200E_202E[] _206F_206D_200D_206E_206D_200F_200C_206E_206A_206A_200E_200D_206C_202D_202A_206D_200C_206B_206A_200C_206D_202D_206C_200B_206F_202B_200B_206E_202A_206B_200B_206D_200E_206A_200B_206E_206C_206C_200B_206A_202E = new _200B_206B_202A_202C_200E_202C_206B_200F_206F_202A_206A_206B_200E_206C_206E_206D_200C_202A_206B_202E_200B_200E_202B_206C_200D_200F_202E_206A_200B_202B_200B_206C_200C_200D_206C_202B_200C_206E_200B_200E_202E[4]; + + internal readonly _200F_206D_202C_202E_202D_200D_206E_206B_206A_202D_202A_202E_206A_202B_202D_200C_200D_202B_206D_200F_206B_202B_206C_206A_202A_206F_206D_202B_202C_202D_202C_206A_206E_206B_202B_206A_206F_206D_200B_202C_202E _206B_202C_200B_202D_200D_200D_200D_200C_206C_200E_202D_200C_206D_200B_200C_202D_206B_202D_200D_200B_200E_206C_202E_200E_202D_206D_202A_200B_200C_206E_206A_202B_206E_202A_202B_202C_202A_206A_206F_200C_202E = new _200F_206D_202C_202E_202D_200D_206E_206B_206A_202D_202A_202E_206A_202B_202D_200C_200D_202B_206D_200F_206B_202B_206C_206A_202A_206F_206D_202B_202C_202D_202C_206A_206E_206B_202B_206A_206F_206D_200B_202C_202E(); + + internal readonly _206E_200B_200F_206A_206F_206E_200B_206F_202B_206D_202D_202D_202D_200C_202A_200B_202D_206B_202C_206A_206C_200F_206D_206A_202C_206E_202A_200C_200D_206E_202C_206C_206C_206F_206C_206F_206D_206F_202B_206D_202E _202B_206B_200C_200C_206A_200D_202D_206E_200C_206D_202A_202B_200D_202B_206D_206F_206A_200E_206C_206A_206E_202C_200F_200C_202E_200B_200C_206C_202E_202E_202C_206C_202B_200F_202A_206E_206F_202B_202C_200F_202E = new _206E_200B_200F_206A_206F_206E_200B_206F_202B_206D_202D_202D_202D_200C_202A_200B_202D_206B_202C_206A_206C_200F_206D_206A_202C_206E_202A_200C_200D_206E_202C_206C_206C_206F_206C_206F_206D_206F_202B_206D_202E(); + + internal bool _206E_206A_202C_206A_200C_206A_206C_200E_206F_202B_202B_206B_202B_206D_206D_202E_200D_200B_202C_202C_206A_202A_200C_202C_200E_206B_206E_206C_202A_206A_200B_202D_206C_200B_202A_202E_206B_202E_206C_206E_202E; + + internal uint _206F_206F_200D_202E_200D_200C_200E_200B_206D_200D_206E_202D_202A_202D_200D_200F_200B_206A_206F_206A_200D_202A_202B_206A_200D_202E_202B_206B_202B_200F_202C_202E_202A_200D_206D_206C_206D_200C_200C_200F_202E; + + internal uint _206E_200B_200C_200E_202A_202E_200B_206E_206B_200B_202C_200F_202A_200D_206F_202E_202A_200D_206F_206D_206D_206E_200B_206E_206F_202A_206B_202C_206C_202C_206A_202B_206D_206D_200F_202A_200B_202E_206B_200F_202E; + + internal _200B_206B_202A_202C_200E_202C_206B_200F_206F_202A_206A_206B_200E_206C_206E_206D_200C_202A_206B_202E_200B_200E_202B_206C_200D_200F_202E_206A_200B_202B_200B_206C_200C_200D_206C_202B_200C_206E_200B_200E_202E _206D_206A_206C_202B_200B_206E_200C_200C_200D_202E_200B_202D_206A_200D_200B_200F_206D_206E_200B_202D_202A_202C_206C_202B_200E_200C_202B_202B_202B_200C_202E_206E_202E_200C_206C_200F_202A_206F_200F_206C_202E = new _200B_206B_202A_202C_200E_202C_206B_200F_206F_202A_206A_206B_200E_206C_206E_206D_200C_202A_206B_202E_200B_200E_202B_206C_200D_200F_202E_206A_200B_202B_200B_206C_200C_200D_206C_202B_200C_206E_200B_200E_202E(4); + + internal uint _206A_206A_206A_200F_200C_206A_206C_200D_200B_202E_206D_200B_202E_206C_202C_202A_200B_202C_202C_206D_200B_200E_200E_206A_200E_206D_206D_202D_202B_200E_206C_206D_202E_202A_202B_200B_200D_202E_206A_200E_202E; + + internal _202B_206B_200B_200B_200D_206D_206D_200C_200E_200C_206F_200F_206B_200C_202D_206F_202E_202D_200F_206D_202D_202D_202A_202E_206F_206B_206D_202B_200E_200C_202E_206A_202A_206F_206A_206E_200F_206E_206C_202B_202E() + { + _206F_206F_200D_202E_200D_200C_200E_200B_206D_200D_206E_202D_202A_202D_200D_200F_200B_206A_206F_206A_200D_202A_202B_206A_200D_202E_202B_206B_202B_200F_202C_202E_202A_200D_206D_206C_206D_200C_200C_200F_202E = uint.MaxValue; + int num = 0; + while ((long)num < 4L) + { + _206F_206D_200D_206E_206D_200F_200C_206E_206A_206A_200E_200D_206C_202D_202A_206D_200C_206B_206A_200C_206D_202D_206C_200B_206F_202B_200B_206E_202A_206B_200B_206D_200E_206A_200B_206E_206C_206C_200B_206A_202E[num] = new _200B_206B_202A_202C_200E_202C_206B_200F_206F_202A_206A_206B_200E_206C_206E_206D_200C_202A_206B_202E_200B_200E_202B_206C_200D_200F_202E_206A_200B_202B_200B_206C_200C_200D_206C_202B_200C_206E_200B_200E_202E(6); + int num2 = num; + int num3 = 1; + int num4 = num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = num5 + (num6 + num6); + } + } + + internal void _202A_202D_202E_200F_200D_206D_200F_206C_202C_200F_206F_200D_202B_200C_202D_200B_206A_200D_202E_202E_202C_202D_200F_206B_206C_206B_206B_200F_200D_202D_200C_206D_206F_200B_200D_206A_202D_200E_206B_202A_202E(uint dictionarySize) + { + if (_206F_206F_200D_202E_200D_200C_200E_200B_206D_200D_206E_202D_202A_202D_200D_200F_200B_206A_206F_206A_200D_202A_202B_206A_200D_202E_202B_206B_202B_200F_202C_202E_202A_200D_206D_206C_206D_200C_200C_200F_202E != dictionarySize) + { + _206F_206F_200D_202E_200D_200C_200E_200B_206D_200D_206E_202D_202A_202D_200D_200F_200B_206A_206F_206A_200D_202A_202B_206A_200D_202E_202B_206B_202B_200F_202C_202E_202A_200D_206D_206C_206D_200C_200C_200F_202E = dictionarySize; + _206E_200B_200C_200E_202A_202E_200B_206E_206B_200B_202C_200F_202A_200D_206F_202E_202A_200D_206F_206D_206D_206E_200B_206E_206F_202A_206B_202C_206C_202C_206A_202B_206D_206D_200F_202A_200B_202E_206B_200F_202E = Math.Max(_206F_206F_200D_202E_200D_200C_200E_200B_206D_200D_206E_202D_202A_202D_200D_200F_200B_206A_206F_206A_200D_202A_202B_206A_200D_202E_202B_206B_202B_200F_202C_202E_202A_200D_206D_206C_206D_200C_200C_200F_202E, 1u); + uint windowSize = Math.Max(_206E_200B_200C_200E_202A_202E_200B_206E_206B_200B_202C_200F_202A_200D_206F_202E_202A_200D_206F_206D_206D_206E_200B_206E_206F_202A_206B_202C_206C_202C_206A_202B_206D_206D_200F_202A_200B_202E_206B_200F_202E, 4096u); + _206C_206A_200E_200F_202E_200B_202C_202D_200E_206F_206B_206B_206B_200F_200B_200F_206A_200F_200D_200B_202E_206C_206B_202E_202A_200F_206B_200B_202E_200B_206B_202B_206E_200D_206D_202B_206F_206E_200C_202E_202E._200D_200B_206F_202C_200C_200E_206E_202D_202E_206C_200F_202D_206B_206B_200E_206A_202C_202D_206D_206A_200D_200F_200D_206A_202A_206A_206E_206A_200B_206B_206D_200E_206E_202D_200E_200F_200D_202E_202C_206B_202E(windowSize); + } + } + + internal void _202A_206D_206D_206B_202E_200D_206F_202D_206F_206B_206E_206B_202D_202E_200D_202E_206D_202A_202E_200D_200B_202D_206B_202C_200D_202B_202A_200E_202D_200D_202B_200E_202E_206B_206D_206E_202D_200F_202B_206F_202E(int lp, int lc) + { + _206E_202A_200B_202A_206B_202B_206D_202C_206B_206F_202B_202E_206A_202D_202A_200B_200F_202B_202C_202B_200D_206D_202C_200F_202C_202E_200F_200F_202E_206A_202C_200C_200E_202D_206F_206C_206E_202A_202A_206E_202E._206A_202E_200C_206C_206F_200C_202B_202B_206B_200B_206B_202A_200D_200E_202A_202A_206A_200B_202B_200C_202A_206F_202A_206A_206D_200E_200D_206B_200B_206E_200B_206B_206D_202E_206A_202D_200C_206F_200B_202E_202E(lp, lc); + } + + internal void _202D_200B_200C_206C_200C_206A_206B_200F_200E_200C_200D_206E_200D_200E_200E_202B_206C_202E_202E_206B_206A_206A_200D_206C_202C_200F_200F_200B_202B_202C_200D_200F_202C_206F_202A_206F_200F_200B_200C_206F_202E(int pb) + { + int num = 31; + int num2 = pb; + uint num3 = (uint)(1 << num2 + num - (num2 | num)); + _202E_200D_200F_206D_206B_206F_200F_200E_200D_200D_206E_200B_206C_200E_206C_202A_206D_206A_206E_206A_206A_200B_206A_206D_200F_202A_200C_206D_206C_202B_206D_200F_200E_202D_206D_202A_206F_202B_202A_202E._202E_200C_200F_202D_206E_202D_206A_202D_202C_202A_206D_206D_200D_206C_202B_206A_206C_206A_202C_206A_200C_200F_206E_206B_206A_202A_200F_206E_200F_206C_202C_200F_206B_200C_206D_200D_202E_202E_202B_202E(num3); + _202B_206B_200C_200C_206A_200D_202D_206E_200C_206D_202A_202B_200D_202B_206D_206F_206A_200E_206C_206A_206E_202C_200F_200C_202E_200B_200C_206C_202E_202E_202C_206C_202B_200F_202A_206E_206F_202B_202C_200F_202E._202E_200C_200F_202D_206E_202D_206A_202D_202C_202A_206D_206D_200D_206C_202B_206A_206C_206A_202C_206A_200C_200F_206E_206B_206A_202A_200F_206E_200F_206C_202C_200F_206B_200C_206D_200D_202E_202E_202B_202E(num3); + num = 1; + num2 = (int)num3; + _206A_206A_206A_200F_200C_206A_206C_200D_200B_202E_206D_200B_202E_206C_202C_202A_200B_202C_202C_206D_200B_200E_200E_206A_200E_206D_206D_202D_202B_200E_206C_206D_202E_202A_202B_200B_200D_202E_206A_200E_202E = (uint)(~(~num2 + num)); + } + + internal void _200C_206A_206D_202C_200D_206E_206D_206B_202D_202C_206D_206C_206C_200B_202E_200E_202E_200E_200B_202C_200E_200D_200F_202C_202D_202B_200F_200C_200F_206A_200D_206B_202C_206C_202B_206B_206C_206E_206D_200D_202E(Stream inStream, Stream outStream) + { + _206B_202C_200B_202D_200D_200D_200D_200C_206C_200E_202D_200C_206D_200B_200C_202D_206B_202D_200D_200B_200E_206C_202E_200E_202D_206D_202A_200B_200C_206E_206A_202B_206E_202A_202B_202C_202A_206A_206F_200C_202E._202E_206C_206D_202E_202A_206F_200E_200C_202E_206A_202A_200C_206B_206B_200B_200F_202B_200D_202E_206E_200B_206B_206B_200B_202C_200F_202D_202E_200F_206B_202A_202B_202E_200C_202D_200D_206F_206D_206F_202D_202E(inStream); + _206C_206A_200E_200F_202E_200B_202C_202D_200E_206F_206B_206B_206B_200F_200B_200F_206A_200F_200D_200B_202E_206C_206B_202E_202A_200F_206B_200B_202E_200B_206B_202B_206E_200D_206D_202B_206F_206E_200C_202E_202E._206E_202E_200E_200D_206A_200F_206B_206D_202B_206B_206B_200E_202C_200C_206C_200D_206E_202B_206C_200D_206A_202A_202D_206C_206B_200B_202E_202C_200B_202E_202B_206B_202E_200E_202C_200B_200F_206C_202E_202A_202E(outStream, _206E_206A_202C_206A_200C_206A_206C_200E_206F_202B_202B_206B_202B_206D_206D_202E_200D_200B_202C_202C_206A_202A_200C_202C_200E_206B_206E_206C_202A_206A_200B_202D_206C_200B_202A_202E_206B_202E_206C_206E_202E); + uint num = 0u; + while (num < 12) + { + int num4; + int num5; + for (uint num2 = 0u; num2 <= _206A_206A_206A_200F_200C_206A_206C_200D_200B_202E_206D_200B_202E_206C_202C_202A_200B_202C_202C_206D_200B_200E_200E_206A_200E_206D_206D_202D_202B_200E_206C_206D_202E_202A_202B_200B_200D_202E_206A_200E_202E; num2 = (uint)((num5 | num4) + (num5 & num4))) + { + uint num3 = num << 4; + num4 = (int)num2; + num5 = (int)num3; + int num6 = num5 ^ num4; + int num7 = num5 & num4; + uint num8 = (uint)(num6 + (num7 + num7)); + _200D_206F_200C_206E_206D_200F_200C_200D_200C_200F_200D_200F_206A_206B_202C_202B_200E_200E_206A_202E_200E_206E_202C_202D_200B_206F_200E_206D_202E_200B_202A_202B_202B_202A_200B_202B_200C_202C_206C_202A_202E[num8]._206C_206F_202E_200E_206F_200F_206A_206D_206E_202A_200C_200C_202E_206C_202E_206C_206F_202A_200D_206D_200B_206E_202B_200B_200B_200B_206B_200B_206B_202A_206C_206A_202C_202C_206B_202A_206D_206D_200B_200F_202E(); + _200E_206D_202A_200F_202E_206B_200E_206A_200F_206E_206A_202B_200F_202A_200F_206D_206A_206F_206C_200B_200F_202C_202B_202B_200D_200B_202B_206C_206A_202E_200C_200E_202A_200D_202A_202A_200D_200C_200D_206D_202E[num8]._206C_206F_202E_200E_206F_200F_206A_206D_206E_202A_200C_200C_202E_206C_202E_206C_206F_202A_200D_206D_200B_206E_202B_200B_200B_200B_206B_200B_206B_202A_206C_206A_202C_202C_206B_202A_206D_206D_200B_200F_202E(); + uint num9 = num2; + num4 = 1; + num5 = (int)num9; + } + _206F_200E_206F_200E_202D_200D_200D_202D_206E_206B_206A_206D_202E_206B_200F_200B_206D_206D_206D_206E_200B_206C_202B_206E_200B_206F_202E_202A_200F_206A_202A_200D_202A_200F_202A_206A_206C_202B_202A_206E_202E[num]._206C_206F_202E_200E_206F_200F_206A_206D_206E_202A_200C_200C_202E_206C_202E_206C_206F_202A_200D_206D_200B_206E_202B_200B_200B_200B_206B_200B_206B_202A_206C_206A_202C_202C_206B_202A_206D_206D_200B_200F_202E(); + _206A_206F_200F_202D_206C_206F_200E_202C_206E_206D_206E_206C_206A_202B_206E_202C_200B_202D_206D_206B_202E_202B_206A_206E_200F_202B_206E_202A_200C_202A_206A_202B_206A_202C_200F_200E_206D_202E_200F_200E_202E[num]._206C_206F_202E_200E_206F_200F_206A_206D_206E_202A_200C_200C_202E_206C_202E_206C_206F_202A_200D_206D_200B_206E_202B_200B_200B_200B_206B_200B_206B_202A_206C_206A_202C_202C_206B_202A_206D_206D_200B_200F_202E(); + _206D_206A_206F_200C_200F_200C_202A_202A_200B_206F_202A_206D_206C_206A_206F_206E_206C_206A_202E_206E_202A_206F_200D_202A_206A_202D_206B_202A_206C_206A_206B_202D_200E_206C_200B_202E_206A_202A_200F_202A_202E[num]._206C_206F_202E_200E_206F_200F_206A_206D_206E_202A_200C_200C_202E_206C_202E_206C_206F_202A_200D_206D_200B_206E_202B_200B_200B_200B_206B_200B_206B_202A_206C_206A_202C_202C_206B_202A_206D_206D_200B_200F_202E(); + _200E_202C_202C_202D_200F_206F_206A_202D_200B_206E_200D_206E_206E_202C_202C_200F_200D_202E_206E_200B_202E_202E_206E_202C_206A_206F_206C_202A_200B_200B_206A_206B_206E_202C_206E_202E_202C_206F_202D_206E_202E[num]._206C_206F_202E_200E_206F_200F_206A_206D_206E_202A_200C_200C_202E_206C_202E_206C_206F_202A_200D_206D_200B_206E_202B_200B_200B_200B_206B_200B_206B_202A_206C_206A_202C_202C_206B_202A_206D_206D_200B_200F_202E(); + uint num10 = num; + num4 = 1; + num5 = (int)num10; + num = (uint)((num5 | num4) + (num5 & num4)); + } + _206E_202A_200B_202A_206B_202B_206D_202C_206B_206F_202B_202E_206A_202D_202A_200B_200F_202B_202C_202B_200D_206D_202C_200F_202C_202E_200F_200F_202E_206A_202C_200C_200E_202D_206F_206C_206E_202A_202A_206E_202E._206B_206D_200F_202A_206C_206E_202E_206D_206E_206E_202E_200E_200B_200D_202A_202D_202C_200C_206B_206A_202D_200B_200E_202C_206E_200F_206C_200B_200C_200D_202B_200E_206A_202B_202A_202E_206E_202D_202C_206B_202E(); + num = 0u; + while (num < 4) + { + _206F_206D_200D_206E_206D_200F_200C_206E_206A_206A_200E_200D_206C_202D_202A_206D_200C_206B_206A_200C_206D_202D_206C_200B_206F_202B_200B_206E_202A_206B_200B_206D_200E_206A_200B_206E_206C_206C_200B_206A_202E[num]._206E_202A_206E_206A_200D_200E_206C_202B_202D_202A_206B_202C_206B_200F_206E_206F_202C_202A_206D_200C_206C_200B_202B_202A_200C_200C_206B_202E_202C_206B_200D_200C_206D_202E_206A_200D_206B_200B_200B_206A_202E(); + uint num11 = num; + int num4 = 1; + int num5 = (int)num11; + num = (uint)((num5 | num4) + (num5 & num4)); + } + num = 0u; + while (num < 114) + { + _206A_206A_206A_202D_200E_202B_202E_200C_200F_200D_202A_206C_206E_202C_200D_202B_200B_206A_202C_206B_200B_206B_206C_206E_202A_200E_206F_200C_200D_206A_206A_202A_206C_200E_206F_202D_200E_200F_200D_206D_202E[num]._206C_206F_202E_200E_206F_200F_206A_206D_206E_202A_200C_200C_202E_206C_202E_206C_206F_202A_200D_206D_200B_206E_202B_200B_200B_200B_206B_200B_206B_202A_206C_206A_202C_202C_206B_202A_206D_206D_200B_200F_202E(); + uint num12 = num; + int num4 = 1; + int num5 = (int)num12; + num = (uint)((num5 | num4) + (num5 & num4)); + } + _202E_200D_200F_206D_206B_206F_200F_200E_200D_200D_206E_200B_206C_200E_206C_202A_206D_206A_206E_206A_206A_200B_206A_206D_200F_202A_200C_206D_206C_202B_206D_200F_200E_202D_206D_202A_206F_202B_202A_202E._202B_206C_206C_200F_202B_200D_206F_202D_200E_200D_206F_200C_200B_200B_206E_200F_202D_202B_200E_206F_202D_206E_206D_202A_206A_200F_206A_206B_202A_200E_202A_202D_200D_206D_206E_200F_202E_206C_206D_200D_202E(); + _202B_206B_200C_200C_206A_200D_202D_206E_200C_206D_202A_202B_200D_202B_206D_206F_206A_200E_206C_206A_206E_202C_200F_200C_202E_200B_200C_206C_202E_202E_202C_206C_202B_200F_202A_206E_206F_202B_202C_200F_202E._202B_206C_206C_200F_202B_200D_206F_202D_200E_200D_206F_200C_200B_200B_206E_200F_202D_202B_200E_206F_202D_206E_206D_202A_206A_200F_206A_206B_202A_200E_202A_202D_200D_206D_206E_200F_202E_206C_206D_200D_202E(); + _206D_206A_206C_202B_200B_206E_200C_200C_200D_202E_200B_202D_206A_200D_200B_200F_206D_206E_200B_202D_202A_202C_206C_202B_200E_200C_202B_202B_202B_200C_202E_206E_202E_200C_206C_200F_202A_206F_200F_206C_202E._206E_202A_206E_206A_200D_200E_206C_202B_202D_202A_206B_202C_206B_200F_206E_206F_202C_202A_206D_200C_206C_200B_202B_202A_200C_200C_206B_202E_202C_206B_200D_200C_206D_202E_206A_200D_206B_200B_200B_206A_202E(); + } + + internal void _202D_200F_200E_206C_200C_200B_200B_202D_206B_200F_200E_206A_202C_202A_206F_206A_202A_206D_206B_200E_206B_206F_206D_200C_200C_202B_202A_200C_206A_202A_206D_206A_200D_206D_206E_206A_206C_206B_202A_206D_202E(Stream inStream, Stream outStream, long inSize, long outSize) + { + _200C_206A_206D_202C_200D_206E_206D_206B_202D_202C_206D_206C_206C_200B_202E_200E_202E_200E_200B_202C_200E_200D_200F_202C_202D_202B_200F_200C_200F_206A_200D_206B_202C_206C_202B_206B_206C_206E_206D_200D_202E(inStream, outStream); + _202B_200F_206F_206B_200C_202E_206F_206D_206C_200F_202A_202A_206B_202B_206E_206C_206D_206B_200F_200E_202A_202C_206D_202A_202B_206F_200D_202E_200B_206B_200E_206C_200E_206F_200F_202A_202A_202B_200C_202C_202E obj = default(_202B_200F_206F_206B_200C_202E_206F_206D_206C_200F_202A_202A_206B_202B_206E_206C_206D_206B_200F_200E_202A_202C_206D_202A_202B_206F_200D_202E_200B_206B_200E_206C_200E_206F_200F_202A_202A_202B_200C_202C_202E); + obj._206E_200D_202E_202E_206B_206B_200E_206A_200D_200F_200C_206C_200B_202C_206D_200C_206A_202A_202D_200F_202A_200D_206F_202B_200D_206D_202C_206A_202C_206F_206A_200D_206E_206B_202C_206E_202B_200B_206A_200F_202E(); + uint num = 0u; + uint num2 = 0u; + uint num3 = 0u; + uint num4 = 0u; + ulong num5 = 0uL; + if (num5 < (ulong)outSize) + { + _200D_206F_200C_206E_206D_200F_200C_200D_200C_200F_200D_200F_206A_206B_202C_202B_200E_200E_206A_202E_200E_206E_202C_202D_200B_206F_200E_206D_202E_200B_202A_202B_202B_202A_200B_202B_200C_202C_206C_202A_202E[obj._206F_206B_200D_206C_202C_206B_206C_206C_206A_206B_206B_202E_202D_206F_202B_200F_200D_200E_206D_202C_200B_206D_202E_206B_200B_202D_202A_206C_202E_200D_202E_206C_202D_202B_200E_200D_202E_206B_200B_200E_202E << 4]._200E_202B_206C_206F_206F_206E_200E_202A_200E_200F_202B_206D_202B_202A_202B_200F_206E_202B_206F_202E_206C_200B_202C_202E_206B_206E_200F_202A_200F_200C_200D_206C_200E_200C_206F_206C_202C_200D_200D_202C_202E(_206B_202C_200B_202D_200D_200D_200D_200C_206C_200E_202D_200C_206D_200B_200C_202D_206B_202D_200D_200B_200E_206C_202E_200E_202D_206D_202A_200B_200C_206E_206A_202B_206E_202A_202B_202C_202A_206A_206F_200C_202E); + obj._202E_206F_202B_202C_206F_202A_202B_200F_202C_200E_200C_202A_202A_202E_200D_202D_202C_202E_202C_200C_206C_206F_202E_206C_202A_206C_200D_202A_200D_200C_206C_202D_206A_200F_206E_202E_202B_206D_200B_200C_202E(); + byte b = _206E_202A_200B_202A_206B_202B_206D_202C_206B_206F_202B_202E_206A_202D_202A_200B_200F_202B_202C_202B_200D_206D_202C_200F_202C_202E_200F_200F_202E_206A_202C_200C_200E_202D_206F_206C_206E_202A_202A_206E_202E._200D_206F_206D_200E_200B_206B_200B_200B_200E_200F_202C_200F_200E_206C_206C_206A_200C_200B_202D_202E_206E_206C_202A_200D_206D_206B_200C_200F_206E_200B_200C_202A_202A_200D_200D_200E_200F_206C_202C_200D_202E(_206B_202C_200B_202D_200D_200D_200D_200C_206C_200E_202D_200C_206D_200B_200C_202D_206B_202D_200D_200B_200E_206C_202E_200E_202D_206D_202A_200B_200C_206E_206A_202B_206E_202A_202B_202C_202A_206A_206F_200C_202E, 0u, 0); + _206C_206A_200E_200F_202E_200B_202C_202D_200E_206F_206B_206B_206B_200F_200B_200F_206A_200F_200D_200B_202E_206C_206B_202E_202A_200F_206B_200B_202E_200B_206B_202B_206E_200D_206D_202B_206F_206E_200C_202E_202E._202D_206D_202D_200D_200D_206A_200D_206E_206F_202B_206E_202E_202B_202E_202A_206E_200C_200D_200D_202A_200D_200C_202D_202B_200C_202D_200E_200C_200D_200E_206D_206A_206A_200B_200E_206F_200F_202C_202E(b); + ulong num6 = num5; + long num7 = 1L; + long num8 = (long)num6; + num5 = (ulong)((num8 | num7) + (num8 & num7)); + } + while (num5 < (ulong)outSize) + { + int num9 = (int)num5; + int num10 = (int)_206A_206A_206A_200F_200C_206A_206C_200D_200B_202E_206D_200B_202E_206C_202C_202A_200B_202C_202C_206D_200B_200E_200E_206A_200E_206D_206D_202D_202B_200E_206C_206D_202E_202A_202B_200B_200D_202E_206A_200E_202E; + int num11 = num9; + uint num12 = (uint)(num11 + num10 - (num11 | num10)); + _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E[] array = _200D_206F_200C_206E_206D_200F_200C_200D_200C_200F_200D_200F_206A_206B_202C_202B_200E_200E_206A_202E_200E_206E_202C_202D_200B_206F_200E_206D_202E_200B_202A_202B_202B_202A_200B_202B_200C_202C_206C_202A_202E; + uint num13 = obj._206F_206B_200D_206C_202C_206B_206C_206C_206A_206B_206B_202E_202D_206F_202B_200F_200D_200E_206D_202C_200B_206D_202E_206B_200B_202D_202A_206C_202E_200D_202E_206C_202D_202B_200E_200D_202E_206B_200B_200E_202E << 4; + num10 = (int)num12; + num11 = (int)num13; + int num14 = num11 ^ num10; + int num15 = num11 & num10; + long num7; + long num8; + if (array[num14 + (num15 + num15)]._200E_202B_206C_206F_206F_206E_200E_202A_200E_200F_202B_206D_202B_202A_202B_200F_206E_202B_206F_202E_206C_200B_202C_202E_206B_206E_200F_202A_200F_200C_200D_206C_200E_200C_206F_206C_202C_200D_200D_202C_202E(_206B_202C_200B_202D_200D_200D_200D_200C_206C_200E_202D_200C_206D_200B_200C_202D_206B_202D_200D_200B_200E_206C_202E_200E_202D_206D_202A_200B_200C_206E_206A_202B_206E_202A_202B_202C_202A_206A_206F_200C_202E) == 0) + { + byte prevByte = _206C_206A_200E_200F_202E_200B_202C_202D_200E_206F_206B_206B_206B_200F_200B_200F_206A_200F_200D_200B_202E_206C_206B_202E_202A_200F_206B_200B_202E_200B_206B_202B_206E_200D_206D_202B_206F_206E_200C_202E_202E._206B_206D_202E_200D_206D_200B_202C_206A_200B_206F_206A_202C_206D_200C_200B_202C_202D_200F_206C_206F_200E_206D_200E_200C_202C_202A_200E_202A_200C_206E_206B_202C_206C_202B_206F_200D_206F_202C_206C_206A_202E(0u); + byte b2 = (obj._206E_206B_200B_202C_200E_200C_206A_206B_206B_202D_202A_200F_206C_206F_202E_206A_200F_200C_206B_200F_206E_202C_202B_202E_206D_206E_202C_202E_206F_206A_202C_200E_202D_202C_206D_202A_206F_206D_200E_200D_202E() ? _206E_202A_200B_202A_206B_202B_206D_202C_206B_206F_202B_202E_206A_202D_202A_200B_200F_202B_202C_202B_200D_206D_202C_200F_202C_202E_200F_200F_202E_206A_202C_200C_200E_202D_206F_206C_206E_202A_202A_206E_202E._200D_206F_206D_200E_200B_206B_200B_200B_200E_200F_202C_200F_200E_206C_206C_206A_200C_200B_202D_202E_206E_206C_202A_200D_206D_206B_200C_200F_206E_200B_200C_202A_202A_200D_200D_200E_200F_206C_202C_200D_202E(_206B_202C_200B_202D_200D_200D_200D_200C_206C_200E_202D_200C_206D_200B_200C_202D_206B_202D_200D_200B_200E_206C_202E_200E_202D_206D_202A_200B_200C_206E_206A_202B_206E_202A_202B_202C_202A_206A_206F_200C_202E, (uint)num5, prevByte) : _206E_202A_200B_202A_206B_202B_206D_202C_206B_206F_202B_202E_206A_202D_202A_200B_200F_202B_202C_202B_200D_206D_202C_200F_202C_202E_200F_200F_202E_206A_202C_200C_200E_202D_206F_206C_206E_202A_202A_206E_202E._200E_200C_206B_206E_206D_206F_206A_200B_206E_200C_206F_202A_202C_200D_206C_202D_206A_206B_206E_200E_200B_206D_206D_202E_206D_206A_206F_206C_200B_206B_206C_202D_206A_202E_202B_200E_202A_202D_206F_206E_202E(_206B_202C_200B_202D_200D_200D_200D_200C_206C_200E_202D_200C_206D_200B_200C_202D_206B_202D_200D_200B_200E_206C_202E_200E_202D_206D_202A_200B_200C_206E_206A_202B_206E_202A_202B_202C_202A_206A_206F_200C_202E, (uint)num5, prevByte, _206C_206A_200E_200F_202E_200B_202C_202D_200E_206F_206B_206B_206B_200F_200B_200F_206A_200F_200D_200B_202E_206C_206B_202E_202A_200F_206B_200B_202E_200B_206B_202B_206E_200D_206D_202B_206F_206E_200C_202E_202E._206B_206D_202E_200D_206D_200B_202C_206A_200B_206F_206A_202C_206D_200C_200B_202C_202D_200F_206C_206F_200E_206D_200E_200C_202C_202A_200E_202A_200C_206E_206B_202C_206C_202B_206F_200D_206F_202C_206C_206A_202E(num))); + _206C_206A_200E_200F_202E_200B_202C_202D_200E_206F_206B_206B_206B_200F_200B_200F_206A_200F_200D_200B_202E_206C_206B_202E_202A_200F_206B_200B_202E_200B_206B_202B_206E_200D_206D_202B_206F_206E_200C_202E_202E._202D_206D_202D_200D_200D_206A_200D_206E_206F_202B_206E_202E_202B_202E_202A_206E_200C_200D_200D_202A_200D_200C_202D_202B_200C_202D_200E_200C_200D_200E_206D_206A_206A_200B_200E_206F_200F_202C_202E(b2); + obj._202E_206F_202B_202C_206F_202A_202B_200F_202C_200E_200C_202A_202A_202E_200D_202D_202C_202E_202C_200C_206C_206F_202E_206C_202A_206C_200D_202A_200D_200C_206C_202D_206A_200F_206E_202E_202B_206D_200B_200C_202E(); + ulong num16 = num5; + num7 = 1L; + num8 = (long)num16; + num5 = (ulong)((num8 | num7) + (num8 & num7)); + continue; + } + uint num20; + if (_206F_200E_206F_200E_202D_200D_200D_202D_206E_206B_206A_206D_202E_206B_200F_200B_206D_206D_206D_206E_200B_206C_202B_206E_200B_206F_202E_202A_200F_206A_202A_200D_202A_200F_202A_206A_206C_202B_202A_206E_202E[obj._206F_206B_200D_206C_202C_206B_206C_206C_206A_206B_206B_202E_202D_206F_202B_200F_200D_200E_206D_202C_200B_206D_202E_206B_200B_202D_202A_206C_202E_200D_202E_206C_202D_202B_200E_200D_202E_206B_200B_200E_202E]._200E_202B_206C_206F_206F_206E_200E_202A_200E_200F_202B_206D_202B_202A_202B_200F_206E_202B_206F_202E_206C_200B_202C_202E_206B_206E_200F_202A_200F_200C_200D_206C_200E_200C_206F_206C_202C_200D_200D_202C_202E(_206B_202C_200B_202D_200D_200D_200D_200C_206C_200E_202D_200C_206D_200B_200C_202D_206B_202D_200D_200B_200E_206C_202E_200E_202D_206D_202A_200B_200C_206E_206A_202B_206E_202A_202B_202C_202A_206A_206F_200C_202E) == 1) + { + if (_206A_206F_200F_202D_206C_206F_200E_202C_206E_206D_206E_206C_206A_202B_206E_202C_200B_202D_206D_206B_202E_202B_206A_206E_200F_202B_206E_202A_200C_202A_206A_202B_206A_202C_200F_200E_206D_202E_200F_200E_202E[obj._206F_206B_200D_206C_202C_206B_206C_206C_206A_206B_206B_202E_202D_206F_202B_200F_200D_200E_206D_202C_200B_206D_202E_206B_200B_202D_202A_206C_202E_200D_202E_206C_202D_202B_200E_200D_202E_206B_200B_200E_202E]._200E_202B_206C_206F_206F_206E_200E_202A_200E_200F_202B_206D_202B_202A_202B_200F_206E_202B_206F_202E_206C_200B_202C_202E_206B_206E_200F_202A_200F_200C_200D_206C_200E_200C_206F_206C_202C_200D_200D_202C_202E(_206B_202C_200B_202D_200D_200D_200D_200C_206C_200E_202D_200C_206D_200B_200C_202D_206B_202D_200D_200B_200E_206C_202E_200E_202D_206D_202A_200B_200C_206E_206A_202B_206E_202A_202B_202C_202A_206A_206F_200C_202E) == 0) + { + _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E[] array2 = _200E_206D_202A_200F_202E_206B_200E_206A_200F_206E_206A_202B_200F_202A_200F_206D_206A_206F_206C_200B_200F_202C_202B_202B_200D_200B_202B_206C_206A_202E_200C_200E_202A_200D_202A_202A_200D_200C_200D_206D_202E; + uint num17 = obj._206F_206B_200D_206C_202C_206B_206C_206C_206A_206B_206B_202E_202D_206F_202B_200F_200D_200E_206D_202C_200B_206D_202E_206B_200B_202D_202A_206C_202E_200D_202E_206C_202D_202B_200E_200D_202E_206B_200B_200E_202E << 4; + num10 = (int)num12; + num11 = (int)num17; + if (array2[(num11 | num10) + (num11 & num10)]._200E_202B_206C_206F_206F_206E_200E_202A_200E_200F_202B_206D_202B_202A_202B_200F_206E_202B_206F_202E_206C_200B_202C_202E_206B_206E_200F_202A_200F_200C_200D_206C_200E_200C_206F_206C_202C_200D_200D_202C_202E(_206B_202C_200B_202D_200D_200D_200D_200C_206C_200E_202D_200C_206D_200B_200C_202D_206B_202D_200D_200B_200E_206C_202E_200E_202D_206D_202A_200B_200C_206E_206A_202B_206E_202A_202B_202C_202A_206A_206F_200C_202E) == 0) + { + obj._206D_206E_202B_200C_200F_202E_200F_200C_200D_202A_200D_200D_202A_200F_200E_202B_206D_202B_206F_202C_200C_202D_206F_202B_206D_200E_202E_202E_202B_202E_206D_206C_200F_200E_200F_206C_200D_206B_200E_206E_202E(); + _206C_206A_200E_200F_202E_200B_202C_202D_200E_206F_206B_206B_206B_200F_200B_200F_206A_200F_200D_200B_202E_206C_206B_202E_202A_200F_206B_200B_202E_200B_206B_202B_206E_200D_206D_202B_206F_206E_200C_202E_202E._202D_206D_202D_200D_200D_206A_200D_206E_206F_202B_206E_202E_202B_202E_202A_206E_200C_200D_200D_202A_200D_200C_202D_202B_200C_202D_200E_200C_200D_200E_206D_206A_206A_200B_200E_206F_200F_202C_202E(_206C_206A_200E_200F_202E_200B_202C_202D_200E_206F_206B_206B_206B_200F_200B_200F_206A_200F_200D_200B_202E_206C_206B_202E_202A_200F_206B_200B_202E_200B_206B_202B_206E_200D_206D_202B_206F_206E_200C_202E_202E._206B_206D_202E_200D_206D_200B_202C_206A_200B_206F_206A_202C_206D_200C_200B_202C_202D_200F_206C_206F_200E_206D_200E_200C_202C_202A_200E_202A_200C_206E_206B_202C_206C_202B_206F_200D_206F_202C_206C_206A_202E(num)); + ulong num18 = num5; + num7 = 1L; + num8 = (long)num18; + num5 = (ulong)((num8 | num7) + (num8 & num7)); + continue; + } + } + else + { + uint num19; + if (_206D_206A_206F_200C_200F_200C_202A_202A_200B_206F_202A_206D_206C_206A_206F_206E_206C_206A_202E_206E_202A_206F_200D_202A_206A_202D_206B_202A_206C_206A_206B_202D_200E_206C_200B_202E_206A_202A_200F_202A_202E[obj._206F_206B_200D_206C_202C_206B_206C_206C_206A_206B_206B_202E_202D_206F_202B_200F_200D_200E_206D_202C_200B_206D_202E_206B_200B_202D_202A_206C_202E_200D_202E_206C_202D_202B_200E_200D_202E_206B_200B_200E_202E]._200E_202B_206C_206F_206F_206E_200E_202A_200E_200F_202B_206D_202B_202A_202B_200F_206E_202B_206F_202E_206C_200B_202C_202E_206B_206E_200F_202A_200F_200C_200D_206C_200E_200C_206F_206C_202C_200D_200D_202C_202E(_206B_202C_200B_202D_200D_200D_200D_200C_206C_200E_202D_200C_206D_200B_200C_202D_206B_202D_200D_200B_200E_206C_202E_200E_202D_206D_202A_200B_200C_206E_206A_202B_206E_202A_202B_202C_202A_206A_206F_200C_202E) == 0) + { + num19 = num2; + } + else + { + if (_200E_202C_202C_202D_200F_206F_206A_202D_200B_206E_200D_206E_206E_202C_202C_200F_200D_202E_206E_200B_202E_202E_206E_202C_206A_206F_206C_202A_200B_200B_206A_206B_206E_202C_206E_202E_202C_206F_202D_206E_202E[obj._206F_206B_200D_206C_202C_206B_206C_206C_206A_206B_206B_202E_202D_206F_202B_200F_200D_200E_206D_202C_200B_206D_202E_206B_200B_202D_202A_206C_202E_200D_202E_206C_202D_202B_200E_200D_202E_206B_200B_200E_202E]._200E_202B_206C_206F_206F_206E_200E_202A_200E_200F_202B_206D_202B_202A_202B_200F_206E_202B_206F_202E_206C_200B_202C_202E_206B_206E_200F_202A_200F_200C_200D_206C_200E_200C_206F_206C_202C_200D_200D_202C_202E(_206B_202C_200B_202D_200D_200D_200D_200C_206C_200E_202D_200C_206D_200B_200C_202D_206B_202D_200D_200B_200E_206C_202E_200E_202D_206D_202A_200B_200C_206E_206A_202B_206E_202A_202B_202C_202A_206A_206F_200C_202E) == 0) + { + num19 = num3; + } + else + { + num19 = num4; + num4 = num3; + } + num3 = num2; + } + num2 = num; + num = num19; + } + num20 = _202B_206B_200C_200C_206A_200D_202D_206E_200C_206D_202A_202B_200D_202B_206D_206F_206A_200E_206C_206A_206E_202C_200F_200C_202E_200B_200C_206C_202E_202E_202C_206C_202B_200F_202A_206E_206F_202B_202C_200F_202E._202B_200E_206B_200E_202A_206B_200C_200E_206C_200F_206E_200B_200B_202C_202A_206E_200C_200C_200B_206B_206D_200D_202E_206B_206E_200B_200C_202D_206D_202B_206D_206D_200B_202E_202D_206E_206C_202D_202D_206E_202E(_206B_202C_200B_202D_200D_200D_200D_200C_206C_200E_202D_200C_206D_200B_200C_202D_206B_202D_200D_200B_200E_206C_202E_200E_202D_206D_202A_200B_200C_206E_206A_202B_206E_202A_202B_202C_202A_206A_206F_200C_202E, num12) + 2; + obj._200F_202E_206B_202C_206A_200E_206E_202B_202B_206C_202C_206D_206A_202C_200F_200C_200F_206C_202E_202B_206B_200D_206B_206A_200B_206C_202C_200E_202B_202E_200D_206F_206A_200C_206B_202B_200F_206F_202B_206C_202E(); + } + else + { + num4 = num3; + num3 = num2; + num2 = num; + num20 = 2 + _202E_200D_200F_206D_206B_206F_200F_200E_200D_200D_206E_200B_206C_200E_206C_202A_206D_206A_206E_206A_206A_200B_206A_206D_200F_202A_200C_206D_206C_202B_206D_200F_200E_202D_206D_202A_206F_202B_202A_202E._202B_200E_206B_200E_202A_206B_200C_200E_206C_200F_206E_200B_200B_202C_202A_206E_200C_200C_200B_206B_206D_200D_202E_206B_206E_200B_200C_202D_206D_202B_206D_206D_200B_202E_202D_206E_206C_202D_202D_206E_202E(_206B_202C_200B_202D_200D_200D_200D_200C_206C_200E_202D_200C_206D_200B_200C_202D_206B_202D_200D_200B_200E_206C_202E_200E_202D_206D_202A_200B_200C_206E_206A_202B_206E_202A_202B_202C_202A_206A_206F_200C_202E, num12); + obj._206A_206A_200F_206A_200B_206A_200D_200E_206D_202C_206B_206D_206E_200D_202A_200C_202E_202A_200F_200E_206A_202C_200C_206C_202B_202A_206F_200C_206B_202C_206F_200E_206F_200F_202C_202C_200F_200D_206A_206E_202E(); + uint num21 = _206F_206D_200D_206E_206D_200F_200C_206E_206A_206A_200E_200D_206C_202D_202A_206D_200C_206B_206A_200C_206D_202D_206C_200B_206F_202B_200B_206E_202A_206B_200B_206D_200E_206A_200B_206E_206C_206C_200B_206A_202E[_202E_202D_202C_200E_200B_206A_200F_206F_202E_206A_202D_200F_202C_200F_200D_206B_200C_206F_206C_200E_202A_202B_202D_206F_200C_206D_206B_206C_206C_206E_206B_200F_200F_200E_206E_200C_206B_200F_202B_202A_202E(num20)]._200C_200B_206A_206A_206E_206E_206C_202A_200B_200D_200D_202A_200B_202B_206D_206A_200B_206E_206D_200F_206B_206C_206D_206D_200C_202E_206B_202E_202B_202D_206A_202C_206F_206D_206E_200B_200B_202D_200B_206E_202E(_206B_202C_200B_202D_200D_200D_200D_200C_206C_200E_202D_200C_206D_200B_200C_202D_206B_202D_200D_200B_200E_206C_202E_200E_202D_206D_202A_200B_200C_206E_206A_202B_206E_202A_202B_202C_202A_206A_206F_200C_202E); + if (num21 >= 4) + { + uint num22 = num21 >> 1; + num10 = 1; + num11 = (int)num22; + int num23 = ~(~num11 + num10); + num10 = 1; + num11 = (int)num21; + num10 = num11 + num10 - (num11 | num10); + num11 = 2; + int num24 = (num11 & num10) + (num11 ^ num10); + num10 = 31; + num11 = num23; + num = (uint)(num24 << (num11 | num10) - (num11 ^ num10)); + if (num21 < 14) + { + uint num25 = num; + _206F_202B_200E_200F_202C_202D_206A_202C_206A_206D_200D_200C_206F_206F_202A_202A_200B_200D_200B_202D_206F_202D_200F_200F_206D_206B_206D_202E_206F_200C_206D_206D_200F_200E_202B_202C_200B_206B_202B_200E_202E[] models = _206A_206A_206A_202D_200E_202B_202E_200C_200F_200D_202A_206C_206E_202C_200D_202B_200B_206A_202C_206B_200B_206B_206C_206E_202A_200E_206F_200C_200D_206A_206A_202A_206C_200E_206F_202D_200E_200F_200D_206D_202E; + uint num26 = num; + num10 = (int)num21; + num11 = (int)num26; + int num27 = ~(~num11 + num10); + num10 = 1; + num11 = num27; + num = num25 + _200B_206B_202A_202C_200E_202C_206B_200F_206F_202A_206A_206B_200E_206C_206E_206D_200C_202A_206B_202E_200B_200E_202B_206C_200D_200F_202E_206A_200B_202B_200B_206C_200C_200D_206C_202B_200C_206E_200B_200E_202E._200D_202A_202D_206D_200F_200E_206E_200F_202A_202E_206F_200C_200D_206B_206D_200F_200B_206B_206E_200C_202C_200D_200F_206C_202C_202E_206F_200E_202D_202B_200F_206C_202B_202A_206E_200B_206D_206F_206F_206E_202E(models, (uint)(~(~num11 + num10)), _206B_202C_200B_202D_200D_200D_200D_200C_206C_200E_202D_200C_206D_200B_200C_202D_206B_202D_200D_200B_200E_206C_202E_200E_202D_206D_202A_200B_200C_206E_206A_202B_206E_202A_202B_202C_202A_206A_206F_200C_202E, num23); + } + else + { + uint num28 = num; + _200F_206D_202C_202E_202D_200D_206E_206B_206A_202D_202A_202E_206A_202B_202D_200C_200D_202B_206D_200F_206B_202B_206C_206A_202A_206F_206D_202B_202C_202D_202C_206A_206E_206B_202B_206A_206F_206D_200B_202C_202E obj2 = _206B_202C_200B_202D_200D_200D_200D_200C_206C_200E_202D_200C_206D_200B_200C_202D_206B_202D_200D_200B_200E_206C_202E_200E_202D_206D_202A_200B_200C_206E_206A_202B_206E_202A_202B_202C_202A_206A_206F_200C_202E; + num10 = 4; + num11 = num23; + num = num28 + (obj2._202A_206E_206F_202D_206D_200B_206F_200E_202B_202C_202C_202B_200F_206E_206F_200B_200E_206D_206B_206A_206C_200B_206B_200B_202C_206D_202C_200C_200B_206E_206C_200F_206F_200C_206C_206F_202A_206F_206A_202E_202E(~(~num11 + num10)) << 4); + num += _206D_206A_206C_202B_200B_206E_200C_200C_200D_202E_200B_202D_206A_200D_200B_200F_206D_206E_200B_202D_202A_202C_206C_202B_200E_200C_202B_202B_202B_200C_202E_206E_202E_200C_206C_200F_202A_206F_200F_206C_202E._200D_202C_206F_202B_202D_202D_202D_202E_202B_206D_206D_200E_202A_200C_206E_202B_202D_202E_206B_206D_206D_200D_200B_206A_200F_202C_206C_202E_200F_202E_200F_200C_200F_202E_200E_200D_200B_202A_206F_202E_202E(_206B_202C_200B_202D_200D_200D_200D_200C_206C_200E_202D_200C_206D_200B_200C_202D_206B_202D_200D_200B_200E_206C_202E_200E_202D_206D_202A_200B_200C_206E_206A_202B_206E_202A_202B_202C_202A_206A_206F_200C_202E); + } + } + else + { + num = num21; + } + } + if ((num >= num5 || num >= _206E_200B_200C_200E_202A_202E_200B_206E_206B_200B_202C_200F_202A_200D_206F_202E_202A_200D_206F_206D_206D_206E_200B_206E_206F_202A_206B_202C_206C_202C_206A_202B_206D_206D_200F_202A_200B_202E_206B_200F_202E) && num == uint.MaxValue) + { + break; + } + _206C_206A_200E_200F_202E_200B_202C_202D_200E_206F_206B_206B_206B_200F_200B_200F_206A_200F_200D_200B_202E_206C_206B_202E_202A_200F_206B_200B_202E_200B_206B_202B_206E_200D_206D_202B_206F_206E_200C_202E_202E._200F_206D_202D_206C_206A_200F_200B_206A_200B_200E_202D_202C_206A_206F_206C_206A_202D_206D_202A_202A_200F_202E_206E_202E_200B_206D_206F_200F_202A_200F_206E_206C_202D_206C_202A_206A_202D_202E(num, num20); + ulong num29 = num5; + num7 = num20; + num8 = (long)num29; + num5 = (ulong)((num8 | num7) + (num8 & num7)); + } + _206C_206A_200E_200F_202E_200B_202C_202D_200E_206F_206B_206B_206B_200F_200B_200F_206A_200F_200D_200B_202E_206C_206B_202E_202A_200F_206B_200B_202E_200B_206B_202B_206E_200D_206D_202B_206F_206E_200C_202E_202E._200C_206F_202C_200F_206D_206E_200F_200F_206A_206D_206A_202D_202B_200F_206C_206C_206C_206D_202C_206C_200C_202C_200E_202D_200B_200F_206F_206C_200E_202E_206F_200D_206D_200B_202D_206F_206C_206C_202E_206E_202E(); + _206C_206A_200E_200F_202E_200B_202C_202D_200E_206F_206B_206B_206B_200F_200B_200F_206A_200F_200D_200B_202E_206C_206B_202E_202A_200F_206B_200B_202E_200B_206B_202B_206E_200D_206D_202B_206F_206E_200C_202E_202E._202B_206C_206E_200E_206F_200B_200C_206E_200C_202C_202A_202C_206A_200C_200E_200F_202C_202D_202B_202E_206F_206E_200D_200F_202B_200B_206D_206C_200E_200B_202A_206C_206D_202D_202E_200C_202E_202A_202C_200F_202E(); + _206B_202C_200B_202D_200D_200D_200D_200C_206C_200E_202D_200C_206D_200B_200C_202D_206B_202D_200D_200B_200E_206C_202E_200E_202D_206D_202A_200B_200C_206E_206A_202B_206E_202A_202B_202C_202A_206A_206F_200C_202E._206F_202B_200D_206D_202A_206B_206A_202E_202A_206C_206D_200F_206B_206E_202D_200D_206F_202B_202B_200B_206E_200F_202D_206A_202B_202B_202C_202E_202A_206C_200F_206E_200F_200C_202C_200F_200F_200C_200D_202E_202E(); + } + + internal void _200C_206E_206F_202C_206E_200B_202D_200C_206F_202A_206D_200B_206B_202C_200F_200C_202E_202B_200B_206C_206F_206B_202E_200B_206F_206A_202C_200D_202D_206D_206E_206F_202E_202E_200D_200F_202B_202E_206D_202C_202E(byte[] properties) + { + int lc = properties[0] % 9; + int num = properties[0] / 9; + int lp = num % 5; + int pb = num / 5; + uint num2 = 0u; + int num3 = 0; + while (num3 < 4) + { + uint num4 = num2; + int num5 = num3; + int num6 = 1; + byte num7 = properties[(num6 | num5) + (num6 & num5)]; + int num8 = num3 * 8; + num5 = 31; + num6 = num8; + num5 = num7 << (num6 | num5) - (num6 ^ num5); + num6 = (int)num4; + int num9 = num6 ^ num5; + int num10 = num6 & num5; + num2 = (uint)(num9 + (num10 + num10)); + int num11 = num3; + num5 = 1; + num6 = num11; + num3 = (num6 | num5) + (num6 & num5); + } + _202A_202D_202E_200F_200D_206D_200F_206C_202C_200F_206F_200D_202B_200C_202D_200B_206A_200D_202E_202E_202C_202D_200F_206B_206C_206B_206B_200F_200D_202D_200C_206D_206F_200B_200D_206A_202D_200E_206B_202A_202E(num2); + _202A_206D_206D_206B_202E_200D_206F_202D_206F_206B_206E_206B_202D_202E_200D_202E_206D_202A_202E_200D_200B_202D_206B_202C_200D_202B_202A_200E_202D_200D_202B_200E_202E_206B_206D_206E_202D_200F_202B_206F_202E(lp, lc); + _202D_200B_200C_206C_200C_206A_206B_200F_200E_200C_200D_206E_200D_200E_200E_202B_206C_202E_202E_206B_206A_206A_200D_206C_202C_200F_200F_200B_202B_202C_200D_200F_202C_206F_202A_206F_200F_200B_200C_206F_202E(pb); + } + + internal static uint _202E_202D_202C_200E_200B_206A_200F_206F_202E_206A_202D_200F_202C_200F_200D_206B_200C_206F_206C_200E_202A_202B_202D_206F_200C_206D_206B_206C_206C_206E_206B_200F_200F_200E_206E_200C_206B_200F_202B_202A_202E(uint len) + { + uint num = len; + int num2 = 2; + int num3 = (int)num; + len = (uint)(~(~num3 + num2)); + if (len < 4) + { + return len; + } + return 3u; + } +} +internal class _206C_202B_202C_200B_200B_206B_202D_206A_200E_206D_206C_206D_206C_200F_202C_202B_206A_200D_202E_200D_202D_206C_202B_202A_200F_206B_206F_200B_206F_206B_206E_206D_202D_206B_206C_200C_202C_206C_200F_200E_202E +{ + internal byte[] _200D_202A_202D_202C_206A_206E_200E_206E_206C_202E_202C_202B_200F_202B_200B_206D_206B_206C_200E_200D_202D_200B_200C_206A_200E_202A_202E_206D_200B_202E_206C_206E_200B_200B_202C_202C_200B_206D_202B_206A_202E; + + internal uint _202C_200F_206B_202B_206F_206F_206A_202A_200F_202E_202C_200E_200F_206B_202C_206B_206E_206B_206E_202A_202D_202B_202D_206E_202C_200B_200D_200B_206C_202A_206A_200D_200D_206E_206E_202C_206F_206C_206C_202E; + + internal Stream _206D_202D_206B_206A_200B_200B_200C_206A_202B_202E_200F_200C_206C_206B_202E_200D_206A_206D_200C_200D_202D_202A_200E_202C_200D_200F_202E_206D_206C_202A_200F_200D_200C_202E_200F_202C_202B_200D_206A_202D_202E; + + internal uint _200C_206E_200B_202B_202A_202C_202E_206D_206D_206A_202B_206D_202D_206D_202E_202D_206E_200E_202B_206B_202A_202C_200C_206E_200C_202E_202C_202B_202B_206B_202B_206A_200F_202B_200C_202E_202E_200F_202C_200D_202E; + + internal uint _206E_200C_206F_202C_202B_206D_200F_206C_200D_200E_200F_200B_202C_200E_206B_200F_200C_202C_206E_202D_206B_202E_202E_200C_206F_206D_206D_206B_200F_200F_202A_202D_206A_206A_206E_202A_200F_202D_206F_202A_202E; + + internal void _200D_200B_206F_202C_200C_200E_206E_202D_202E_206C_200F_202D_206B_206B_200E_206A_202C_202D_206D_206A_200D_200F_200D_206A_202A_206A_206E_206A_200B_206B_206D_200E_206E_202D_200E_200F_200D_202E_202C_206B_202E(uint windowSize) + { + if (_206E_200C_206F_202C_202B_206D_200F_206C_200D_200E_200F_200B_202C_200E_206B_200F_200C_202C_206E_202D_206B_202E_202E_200C_206F_206D_206D_206B_200F_200F_202A_202D_206A_206A_206E_202A_200F_202D_206F_202A_202E != windowSize) + { + _200D_202A_202D_202C_206A_206E_200E_206E_206C_202E_202C_202B_200F_202B_200B_206D_206B_206C_200E_200D_202D_200B_200C_206A_200E_202A_202E_206D_200B_202E_206C_206E_200B_200B_202C_202C_200B_206D_202B_206A_202E = new byte[windowSize]; + } + _206E_200C_206F_202C_202B_206D_200F_206C_200D_200E_200F_200B_202C_200E_206B_200F_200C_202C_206E_202D_206B_202E_202E_200C_206F_206D_206D_206B_200F_200F_202A_202D_206A_206A_206E_202A_200F_202D_206F_202A_202E = windowSize; + _202C_200F_206B_202B_206F_206F_206A_202A_200F_202E_202C_200E_200F_206B_202C_206B_206E_206B_206E_202A_202D_202B_202D_206E_202C_200B_200D_200B_206C_202A_206A_200D_200D_206E_206E_202C_206F_206C_206C_202E = 0u; + _200C_206E_200B_202B_202A_202C_202E_206D_206D_206A_202B_206D_202D_206D_202E_202D_206E_200E_202B_206B_202A_202C_200C_206E_200C_202E_202C_202B_202B_206B_202B_206A_200F_202B_200C_202E_202E_200F_202C_200D_202E = 0u; + } + + internal void _206E_202E_200E_200D_206A_200F_206B_206D_202B_206B_206B_200E_202C_200C_206C_200D_206E_202B_206C_200D_206A_202A_202D_206C_206B_200B_202E_202C_200B_202E_202B_206B_202E_200E_202C_200B_200F_206C_202E_202A_202E(Stream stream, bool solid) + { + _202B_206C_206E_200E_206F_200B_200C_206E_200C_202C_202A_202C_206A_200C_200E_200F_202C_202D_202B_202E_206F_206E_200D_200F_202B_200B_206D_206C_200E_200B_202A_206C_206D_202D_202E_200C_202E_202A_202C_200F_202E(); + _206D_202D_206B_206A_200B_200B_200C_206A_202B_202E_200F_200C_206C_206B_202E_200D_206A_206D_200C_200D_202D_202A_200E_202C_200D_200F_202E_206D_206C_202A_200F_200D_200C_202E_200F_202C_202B_200D_206A_202D_202E = stream; + if (!solid) + { + _200C_206E_200B_202B_202A_202C_202E_206D_206D_206A_202B_206D_202D_206D_202E_202D_206E_200E_202B_206B_202A_202C_200C_206E_200C_202E_202C_202B_202B_206B_202B_206A_200F_202B_200C_202E_202E_200F_202C_200D_202E = 0u; + _202C_200F_206B_202B_206F_206F_206A_202A_200F_202E_202C_200E_200F_206B_202C_206B_206E_206B_206E_202A_202D_202B_202D_206E_202C_200B_200D_200B_206C_202A_206A_200D_200D_206E_206E_202C_206F_206C_206C_202E = 0u; + } + } + + internal void _202B_206C_206E_200E_206F_200B_200C_206E_200C_202C_202A_202C_206A_200C_200E_200F_202C_202D_202B_202E_206F_206E_200D_200F_202B_200B_206D_206C_200E_200B_202A_206C_206D_202D_202E_200C_202E_202A_202C_200F_202E() + { + _200C_206F_202C_200F_206D_206E_200F_200F_206A_206D_206A_202D_202B_200F_206C_206C_206C_206D_202C_206C_200C_202C_200E_202D_200B_200F_206F_206C_200E_202E_206F_200D_206D_200B_202D_206F_206C_206C_202E_206E_202E(); + _206D_202D_206B_206A_200B_200B_200C_206A_202B_202E_200F_200C_206C_206B_202E_200D_206A_206D_200C_200D_202D_202A_200E_202C_200D_200F_202E_206D_206C_202A_200F_200D_200C_202E_200F_202C_202B_200D_206A_202D_202E = null; + Buffer.BlockCopy(new byte[_200D_202A_202D_202C_206A_206E_200E_206E_206C_202E_202C_202B_200F_202B_200B_206D_206B_206C_200E_200D_202D_200B_200C_206A_200E_202A_202E_206D_200B_202E_206C_206E_200B_200B_202C_202C_200B_206D_202B_206A_202E.Length], 0, _200D_202A_202D_202C_206A_206E_200E_206E_206C_202E_202C_202B_200F_202B_200B_206D_206B_206C_200E_200D_202D_200B_200C_206A_200E_202A_202E_206D_200B_202E_206C_206E_200B_200B_202C_202C_200B_206D_202B_206A_202E, 0, _200D_202A_202D_202C_206A_206E_200E_206E_206C_202E_202C_202B_200F_202B_200B_206D_206B_206C_200E_200D_202D_200B_200C_206A_200E_202A_202E_206D_200B_202E_206C_206E_200B_200B_202C_202C_200B_206D_202B_206A_202E.Length); + } + + internal void _200C_206F_202C_200F_206D_206E_200F_200F_206A_206D_206A_202D_202B_200F_206C_206C_206C_206D_202C_206C_200C_202C_200E_202D_200B_200F_206F_206C_200E_202E_206F_200D_206D_200B_202D_206F_206C_206C_202E_206E_202E() + { + uint num = _202C_200F_206B_202B_206F_206F_206A_202A_200F_202E_202C_200E_200F_206B_202C_206B_206E_206B_206E_202A_202D_202B_202D_206E_202C_200B_200D_200B_206C_202A_206A_200D_200D_206E_206E_202C_206F_206C_206C_202E; + int num2 = (int)_200C_206E_200B_202B_202A_202C_202E_206D_206D_206A_202B_206D_202D_206D_202E_202D_206E_200E_202B_206B_202A_202C_200C_206E_200C_202E_202C_202B_202B_206B_202B_206A_200F_202B_200C_202E_202E_200F_202C_200D_202E; + int num3 = (int)num; + uint num4 = (uint)(~(~num3 + num2)); + if (num4 != 0) + { + _206D_202D_206B_206A_200B_200B_200C_206A_202B_202E_200F_200C_206C_206B_202E_200D_206A_206D_200C_200D_202D_202A_200E_202C_200D_200F_202E_206D_206C_202A_200F_200D_200C_202E_200F_202C_202B_200D_206A_202D_202E.Write(_200D_202A_202D_202C_206A_206E_200E_206E_206C_202E_202C_202B_200F_202B_200B_206D_206B_206C_200E_200D_202D_200B_200C_206A_200E_202A_202E_206D_200B_202E_206C_206E_200B_200B_202C_202C_200B_206D_202B_206A_202E, (int)_200C_206E_200B_202B_202A_202C_202E_206D_206D_206A_202B_206D_202D_206D_202E_202D_206E_200E_202B_206B_202A_202C_200C_206E_200C_202E_202C_202B_202B_206B_202B_206A_200F_202B_200C_202E_202E_200F_202C_200D_202E, (int)num4); + if (_202C_200F_206B_202B_206F_206F_206A_202A_200F_202E_202C_200E_200F_206B_202C_206B_206E_206B_206E_202A_202D_202B_202D_206E_202C_200B_200D_200B_206C_202A_206A_200D_200D_206E_206E_202C_206F_206C_206C_202E >= _206E_200C_206F_202C_202B_206D_200F_206C_200D_200E_200F_200B_202C_200E_206B_200F_200C_202C_206E_202D_206B_202E_202E_200C_206F_206D_206D_206B_200F_200F_202A_202D_206A_206A_206E_202A_200F_202D_206F_202A_202E) + { + _202C_200F_206B_202B_206F_206F_206A_202A_200F_202E_202C_200E_200F_206B_202C_206B_206E_206B_206E_202A_202D_202B_202D_206E_202C_200B_200D_200B_206C_202A_206A_200D_200D_206E_206E_202C_206F_206C_206C_202E = 0u; + } + _200C_206E_200B_202B_202A_202C_202E_206D_206D_206A_202B_206D_202D_206D_202E_202D_206E_200E_202B_206B_202A_202C_200C_206E_200C_202E_202C_202B_202B_206B_202B_206A_200F_202B_200C_202E_202E_200F_202C_200D_202E = _202C_200F_206B_202B_206F_206F_206A_202A_200F_202E_202C_200E_200F_206B_202C_206B_206E_206B_206E_202A_202D_202B_202D_206E_202C_200B_200D_200B_206C_202A_206A_200D_200D_206E_206E_202C_206F_206C_206C_202E; + } + } + + internal void _200F_206D_202D_206C_206A_200F_200B_206A_200B_200E_202D_202C_206A_206F_206C_206A_202D_206D_202A_202A_200F_202E_206E_202E_200B_206D_206F_200F_202A_200F_206E_206C_202D_206C_202A_206A_202D_202E(uint distance, uint len) + { + uint num = _202C_200F_206B_202B_206F_206F_206A_202A_200F_202E_202C_200E_200F_206B_202C_206B_206E_206B_206E_202A_202D_202B_202D_206E_202C_200B_200D_200B_206C_202A_206A_200D_200D_206E_206E_202C_206F_206C_206C_202E; + int num2 = (int)distance; + int num3 = (int)num; + int num4 = ~(~num3 + num2); + num2 = 1; + num3 = num4; + uint num5 = (uint)(~(~num3 + num2)); + if (num5 >= _206E_200C_206F_202C_202B_206D_200F_206C_200D_200E_200F_200B_202C_200E_206B_200F_200C_202C_206E_202D_206B_202E_202E_200C_206F_206D_206D_206B_200F_200F_202A_202D_206A_206A_206E_202A_200F_202D_206F_202A_202E) + { + uint num6 = num5; + num2 = (int)_206E_200C_206F_202C_202B_206D_200F_206C_200D_200E_200F_200B_202C_200E_206B_200F_200C_202C_206E_202D_206B_202E_202E_200C_206F_206D_206D_206B_200F_200F_202A_202D_206A_206A_206E_202A_200F_202D_206F_202A_202E; + num3 = (int)num6; + int num7 = num3 ^ num2; + int num8 = num3 & num2; + num5 = (uint)(num7 + (num8 + num8)); + } + while (len != 0) + { + if (num5 >= _206E_200C_206F_202C_202B_206D_200F_206C_200D_200E_200F_200B_202C_200E_206B_200F_200C_202C_206E_202D_206B_202E_202E_200C_206F_206D_206D_206B_200F_200F_202A_202D_206A_206A_206E_202A_200F_202D_206F_202A_202E) + { + num5 = 0u; + } + byte[] array = _200D_202A_202D_202C_206A_206E_200E_206E_206C_202E_202C_202B_200F_202B_200B_206D_206B_206C_200E_200D_202D_200B_200C_206A_200E_202A_202E_206D_200B_202E_206C_206E_200B_200B_202C_202C_200B_206D_202B_206A_202E; + uint num9 = _202C_200F_206B_202B_206F_206F_206A_202A_200F_202E_202C_200E_200F_206B_202C_206B_206E_206B_206E_202A_202D_202B_202D_206E_202C_200B_200D_200B_206C_202A_206A_200D_200D_206E_206E_202C_206F_206C_206C_202E; + num2 = 1; + num3 = (int)num9; + _202C_200F_206B_202B_206F_206F_206A_202A_200F_202E_202C_200E_200F_206B_202C_206B_206E_206B_206E_202A_202D_202B_202D_206E_202C_200B_200D_200B_206C_202A_206A_200D_200D_206E_206E_202C_206F_206C_206C_202E = (uint)((num3 | num2) + (num3 & num2)); + byte[] array2 = _200D_202A_202D_202C_206A_206E_200E_206E_206C_202E_202C_202B_200F_202B_200B_206D_206B_206C_200E_200D_202D_200B_200C_206A_200E_202A_202E_206D_200B_202E_206C_206E_200B_200B_202C_202C_200B_206D_202B_206A_202E; + uint num10 = num5; + num2 = 1; + num3 = (int)num10; + int num11 = num3 ^ num2; + int num12 = num3 & num2; + num5 = (uint)(num11 + (num12 + num12)); + array[num9] = array2[num10]; + if (_202C_200F_206B_202B_206F_206F_206A_202A_200F_202E_202C_200E_200F_206B_202C_206B_206E_206B_206E_202A_202D_202B_202D_206E_202C_200B_200D_200B_206C_202A_206A_200D_200D_206E_206E_202C_206F_206C_206C_202E >= _206E_200C_206F_202C_202B_206D_200F_206C_200D_200E_200F_200B_202C_200E_206B_200F_200C_202C_206E_202D_206B_202E_202E_200C_206F_206D_206D_206B_200F_200F_202A_202D_206A_206A_206E_202A_200F_202D_206F_202A_202E) + { + _200C_206F_202C_200F_206D_206E_200F_200F_206A_206D_206A_202D_202B_200F_206C_206C_206C_206D_202C_206C_200C_202C_200E_202D_200B_200F_206F_206C_200E_202E_206F_200D_206D_200B_202D_206F_206C_206C_202E_206E_202E(); + } + uint num13 = len; + num2 = 1; + num3 = (int)num13; + len = (uint)(~(~num3 + num2)); + } + } + + internal void _202D_206D_202D_200D_200D_206A_200D_206E_206F_202B_206E_202E_202B_202E_202A_206E_200C_200D_200D_202A_200D_200C_202D_202B_200C_202D_200E_200C_200D_200E_206D_206A_206A_200B_200E_206F_200F_202C_202E(byte b) + { + byte[] array = _200D_202A_202D_202C_206A_206E_200E_206E_206C_202E_202C_202B_200F_202B_200B_206D_206B_206C_200E_200D_202D_200B_200C_206A_200E_202A_202E_206D_200B_202E_206C_206E_200B_200B_202C_202C_200B_206D_202B_206A_202E; + uint num = _202C_200F_206B_202B_206F_206F_206A_202A_200F_202E_202C_200E_200F_206B_202C_206B_206E_206B_206E_202A_202D_202B_202D_206E_202C_200B_200D_200B_206C_202A_206A_200D_200D_206E_206E_202C_206F_206C_206C_202E; + int num2 = 1; + int num3 = (int)num; + _202C_200F_206B_202B_206F_206F_206A_202A_200F_202E_202C_200E_200F_206B_202C_206B_206E_206B_206E_202A_202D_202B_202D_206E_202C_200B_200D_200B_206C_202A_206A_200D_200D_206E_206E_202C_206F_206C_206C_202E = (uint)((num3 | num2) + (num3 & num2)); + array[num] = b; + if (_202C_200F_206B_202B_206F_206F_206A_202A_200F_202E_202C_200E_200F_206B_202C_206B_206E_206B_206E_202A_202D_202B_202D_206E_202C_200B_200D_200B_206C_202A_206A_200D_200D_206E_206E_202C_206F_206C_206C_202E >= _206E_200C_206F_202C_202B_206D_200F_206C_200D_200E_200F_200B_202C_200E_206B_200F_200C_202C_206E_202D_206B_202E_202E_200C_206F_206D_206D_206B_200F_200F_202A_202D_206A_206A_206E_202A_200F_202D_206F_202A_202E) + { + _200C_206F_202C_200F_206D_206E_200F_200F_206A_206D_206A_202D_202B_200F_206C_206C_206C_206D_202C_206C_200C_202C_200E_202D_200B_200F_206F_206C_200E_202E_206F_200D_206D_200B_202D_206F_206C_206C_202E_206E_202E(); + } + } + + internal byte _206B_206D_202E_200D_206D_200B_202C_206A_200B_206F_206A_202C_206D_200C_200B_202C_202D_200F_206C_206F_200E_206D_200E_200C_202C_202A_200E_202A_200C_206E_206B_202C_206C_202B_206F_200D_206F_202C_206C_206A_202E(uint distance) + { + uint num = _202C_200F_206B_202B_206F_206F_206A_202A_200F_202E_202C_200E_200F_206B_202C_206B_206E_206B_206E_202A_202D_202B_202D_206E_202C_200B_200D_200B_206C_202A_206A_200D_200D_206E_206E_202C_206F_206C_206C_202E; + int num2 = (int)distance; + int num3 = (int)num; + int num4 = ~(~num3 + num2); + num2 = 1; + num3 = num4; + uint num5 = (uint)(~(~num3 + num2)); + if (num5 >= _206E_200C_206F_202C_202B_206D_200F_206C_200D_200E_200F_200B_202C_200E_206B_200F_200C_202C_206E_202D_206B_202E_202E_200C_206F_206D_206D_206B_200F_200F_202A_202D_206A_206A_206E_202A_200F_202D_206F_202A_202E) + { + uint num6 = num5; + num2 = (int)_206E_200C_206F_202C_202B_206D_200F_206C_200D_200E_200F_200B_202C_200E_206B_200F_200C_202C_206E_202D_206B_202E_202E_200C_206F_206D_206D_206B_200F_200F_202A_202D_206A_206A_206E_202A_200F_202D_206F_202A_202E; + num3 = (int)num6; + num5 = (uint)((num3 | num2) + (num3 & num2)); + } + return _200D_202A_202D_202C_206A_206E_200E_206E_206C_202E_202C_202B_200F_202B_200B_206D_206B_206C_200E_200D_202D_200B_200C_206A_200E_202A_202E_206D_200B_202E_206C_206E_200B_200B_202C_202C_200B_206D_202B_206A_202E[num5]; + } + + internal _206C_202B_202C_200B_200B_206B_202D_206A_200E_206D_206C_206D_206C_200F_202C_202B_206A_200D_202E_200D_202D_206C_202B_202A_200F_206B_206F_200B_206F_206B_206E_206D_202D_206B_206C_200C_202C_206C_200F_200E_202E() + { + } +} +internal struct _202B_200F_206F_206B_200C_202E_206F_206D_206C_200F_202A_202A_206B_202B_206E_206C_206D_206B_200F_200E_202A_202C_206D_202A_202B_206F_200D_202E_200B_206B_200E_206C_200E_206F_200F_202A_202A_202B_200C_202C_202E +{ + internal uint _206F_206B_200D_206C_202C_206B_206C_206C_206A_206B_206B_202E_202D_206F_202B_200F_200D_200E_206D_202C_200B_206D_202E_206B_200B_202D_202A_206C_202E_200D_202E_206C_202D_202B_200E_200D_202E_206B_200B_200E_202E; + + internal void _206E_200D_202E_202E_206B_206B_200E_206A_200D_200F_200C_206C_200B_202C_206D_200C_206A_202A_202D_200F_202A_200D_206F_202B_200D_206D_202C_206A_202C_206F_206A_200D_206E_206B_202C_206E_202B_200B_206A_200F_202E() + { + _206F_206B_200D_206C_202C_206B_206C_206C_206A_206B_206B_202E_202D_206F_202B_200F_200D_200E_206D_202C_200B_206D_202E_206B_200B_202D_202A_206C_202E_200D_202E_206C_202D_202B_200E_200D_202E_206B_200B_200E_202E = 0u; + } + + internal void _202E_206F_202B_202C_206F_202A_202B_200F_202C_200E_200C_202A_202A_202E_200D_202D_202C_202E_202C_200C_206C_206F_202E_206C_202A_206C_200D_202A_200D_200C_206C_202D_206A_200F_206E_202E_202B_206D_200B_200C_202E() + { + if (_206F_206B_200D_206C_202C_206B_206C_206C_206A_206B_206B_202E_202D_206F_202B_200F_200D_200E_206D_202C_200B_206D_202E_206B_200B_202D_202A_206C_202E_200D_202E_206C_202D_202B_200E_200D_202E_206B_200B_200E_202E < 4) + { + _206F_206B_200D_206C_202C_206B_206C_206C_206A_206B_206B_202E_202D_206F_202B_200F_200D_200E_206D_202C_200B_206D_202E_206B_200B_202D_202A_206C_202E_200D_202E_206C_202D_202B_200E_200D_202E_206B_200B_200E_202E = 0u; + } + else if (_206F_206B_200D_206C_202C_206B_206C_206C_206A_206B_206B_202E_202D_206F_202B_200F_200D_200E_206D_202C_200B_206D_202E_206B_200B_202D_202A_206C_202E_200D_202E_206C_202D_202B_200E_200D_202E_206B_200B_200E_202E < 10) + { + uint num = _206F_206B_200D_206C_202C_206B_206C_206C_206A_206B_206B_202E_202D_206F_202B_200F_200D_200E_206D_202C_200B_206D_202E_206B_200B_202D_202A_206C_202E_200D_202E_206C_202D_202B_200E_200D_202E_206B_200B_200E_202E; + int num2 = 3; + int num3 = (int)num; + _206F_206B_200D_206C_202C_206B_206C_206C_206A_206B_206B_202E_202D_206F_202B_200F_200D_200E_206D_202C_200B_206D_202E_206B_200B_202D_202A_206C_202E_200D_202E_206C_202D_202B_200E_200D_202E_206B_200B_200E_202E = (uint)(~(~num3 + num2)); + } + else + { + uint num4 = _206F_206B_200D_206C_202C_206B_206C_206C_206A_206B_206B_202E_202D_206F_202B_200F_200D_200E_206D_202C_200B_206D_202E_206B_200B_202D_202A_206C_202E_200D_202E_206C_202D_202B_200E_200D_202E_206B_200B_200E_202E; + int num2 = 6; + int num3 = (int)num4; + _206F_206B_200D_206C_202C_206B_206C_206C_206A_206B_206B_202E_202D_206F_202B_200F_200D_200E_206D_202C_200B_206D_202E_206B_200B_202D_202A_206C_202E_200D_202E_206C_202D_202B_200E_200D_202E_206B_200B_200E_202E = (uint)(~(~num3 + num2)); + } + } + + internal void _206A_206A_200F_206A_200B_206A_200D_200E_206D_202C_206B_206D_206E_200D_202A_200C_202E_202A_200F_200E_206A_202C_200C_206C_202B_202A_206F_200C_206B_202C_206F_200E_206F_200F_202C_202C_200F_200D_206A_206E_202E() + { + _206F_206B_200D_206C_202C_206B_206C_206C_206A_206B_206B_202E_202D_206F_202B_200F_200D_200E_206D_202C_200B_206D_202E_206B_200B_202D_202A_206C_202E_200D_202E_206C_202D_202B_200E_200D_202E_206B_200B_200E_202E = ((_206F_206B_200D_206C_202C_206B_206C_206C_206A_206B_206B_202E_202D_206F_202B_200F_200D_200E_206D_202C_200B_206D_202E_206B_200B_202D_202A_206C_202E_200D_202E_206C_202D_202B_200E_200D_202E_206B_200B_200E_202E < 7) ? 7u : 10u); + } + + internal void _200F_202E_206B_202C_206A_200E_206E_202B_202B_206C_202C_206D_206A_202C_200F_200C_200F_206C_202E_202B_206B_200D_206B_206A_200B_206C_202C_200E_202B_202E_200D_206F_206A_200C_206B_202B_200F_206F_202B_206C_202E() + { + _206F_206B_200D_206C_202C_206B_206C_206C_206A_206B_206B_202E_202D_206F_202B_200F_200D_200E_206D_202C_200B_206D_202E_206B_200B_202D_202A_206C_202E_200D_202E_206C_202D_202B_200E_200D_202E_206B_200B_200E_202E = ((_206F_206B_200D_206C_202C_206B_206C_206C_206A_206B_206B_202E_202D_206F_202B_200F_200D_200E_206D_202C_200B_206D_202E_206B_200B_202D_202A_206C_202E_200D_202E_206C_202D_202B_200E_200D_202E_206B_200B_200E_202E < 7) ? 8u : 11u); + } + + internal void _206D_206E_202B_200C_200F_202E_200F_200C_200D_202A_200D_200D_202A_200F_200E_202B_206D_202B_206F_202C_200C_202D_206F_202B_206D_200E_202E_202E_202B_202E_206D_206C_200F_200E_200F_206C_200D_206B_200E_206E_202E() + { + _206F_206B_200D_206C_202C_206B_206C_206C_206A_206B_206B_202E_202D_206F_202B_200F_200D_200E_206D_202C_200B_206D_202E_206B_200B_202D_202A_206C_202E_200D_202E_206C_202D_202B_200E_200D_202E_206B_200B_200E_202E = ((_206F_206B_200D_206C_202C_206B_206C_206C_206A_206B_206B_202E_202D_206F_202B_200F_200D_200E_206D_202C_200B_206D_202E_206B_200B_202D_202A_206C_202E_200D_202E_206C_202D_202B_200E_200D_202E_206B_200B_200E_202E < 7) ? 9u : 11u); + } + + internal bool _206E_206B_200B_202C_200E_200C_206A_206B_206B_202D_202A_200F_206C_206F_202E_206A_200F_200C_206B_200F_206E_202C_202B_202E_206D_206E_202C_202E_206F_206A_202C_200E_202D_202C_206D_202A_206F_206D_200E_200D_202E() + { + return _206F_206B_200D_206C_202C_206B_206C_206C_206A_206B_206B_202E_202D_206F_202B_200F_200D_200E_206D_202C_200B_206D_202E_206B_200B_202D_202A_206C_202E_200D_202E_206C_202D_202B_200E_200D_202E_206B_200B_200E_202E < 7; + } +} +[StructLayout(LayoutKind.Explicit, Size = 128)] +internal struct _206F_206C_206C_206A_206E_202C_200D_206E_200E_200C_206E_202B_206E_206A_202D_206C_202B_200F_200F_206C_206E_202B_202A_202D_206A_200E_206E_202B_202E_202D_200C_200F_202A_202B_200E_202C_206F_206D_200C_206D_202E +{ +} diff --git a/GatheringPaths/-Module-.cs b/GatheringPaths/-Module-.cs new file mode 100644 index 0000000..8613630 --- /dev/null +++ b/GatheringPaths/-Module-.cs @@ -0,0 +1,1611 @@ +using System; +using System.IO; +using System.Runtime.CompilerServices; +using System.Text; + +internal class _003CModule_003E +{ + internal static byte[] _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + + internal static _206F_206C_206C_206A_206E_202C_200D_206E_200E_200C_206E_202B_206E_206A_202D_206C_202B_200F_200F_206C_206E_202B_202A_202D_206A_200E_206E_202B_202E_202D_200C_200F_202A_202B_200E_202C_206F_206D_200C_206D_202E _202A_202D_206B_200E_202D_206A_206B_202B_202C_206B_206D_200B_206C_200B_202A_202C_200C_200D_202D_200D_200E_200C_202C_202A_206D_200F_206E_206D_202C_200F_200D_206E_200B_200F_206A_206B_206C_206A_200E_202D_202E/* Not supported: data(48 9A 53 BD 3E 4B A5 D1 86 84 67 1E 0A 63 F2 93 6E CA C9 71 AE 66 74 57 1E A6 51 A1 B5 14 EC C5 45 B2 33 8D A4 15 86 04 DF 80 AF 89 A8 B3 D4 31 1E 1D 14 69 9A 4C F9 9E 89 40 62 F4 61 6D 08 FE A4 08 E9 F6 8F 12 C2 8F 46 4E 91 29 B9 AC 87 0F 25 30 E2 0A 6E 66 C9 B8 B9 BA 66 79 56 88 9C 86 01 08 74 52 9B C1 6E 26 CB C9 D6 96 F8 66 E1 B9 88 43 CE 99 81 01 20 D3 E1 15 85 B5 9D 7F B7 8F) */; + + static _003CModule_003E() + { + _202A_200D_206E_200C_200D_200E_202A_206C_200B_206D_202C_206C_202A_200C_206D_202A_202A_200B_202E_202A_202E_200D_202C_202E_202D_200C_206A_206C_202B_202E_200C_202C_200F_202B_206D_200F_206A_200D_202D_206B_202E(); + } + + internal static byte[] _206D_202B_202B_206D_200D_200E_202B_206F_202D_202C_206E_206B_200E_202C_202A_206B_202C_200E_206F_200F_206F_206E_202C_206E_200E_202D_200D_206B_200C_206E_200B_202B_206E_200D_206F_200D_206D_200B_206A_206B_202E(byte[] data) + { + MemoryStream memoryStream = new MemoryStream(data); + _202B_206B_200B_200B_200D_206D_206D_200C_200E_200C_206F_200F_206B_200C_202D_206F_202E_202D_200F_206D_202D_202D_202A_202E_206F_206B_206D_202B_200E_200C_202E_206A_202A_206F_206A_206E_200F_206E_206C_202B_202E obj = new _202B_206B_200B_200B_200D_206D_206D_200C_200E_200C_206F_200F_206B_200C_202D_206F_202E_202D_200F_206D_202D_202D_202A_202E_206F_206B_206D_202B_200E_200C_202E_206A_202A_206F_206A_206E_200F_206E_206C_202B_202E(); + byte[] array = new byte[5]; + int num = 0; + while (num < 5) + { + int num2 = num; + int offset = num; + int num3 = num; + int num4 = 5; + num = num2 + memoryStream.Read(array, offset, ~(~num4 + num3)); + } + obj._200C_206E_206F_202C_206E_200B_202D_200C_206F_202A_206D_200B_206B_202C_200F_200C_202E_202B_200B_206C_206F_206B_202E_200B_206F_206A_202C_200D_202D_206D_206E_206F_202E_202E_200D_200F_202B_202E_206D_202C_202E(array); + num = 0; + while (num < 4) + { + int num5 = num; + int offset2 = num; + int num3 = num; + int num4 = 4; + num = num5 + memoryStream.Read(array, offset2, ~(~num4 + num3)); + } + if (!BitConverter.IsLittleEndian) + { + Array.Reverse((Array)array, 0, 4); + } + int num6 = BitConverter.ToInt32(array, 0); + byte[] array2 = new byte[num6]; + MemoryStream outStream = new MemoryStream(array2, writable: true); + long inSize = memoryStream.Length - 5 - 4; + obj._202D_200F_200E_206C_200C_200B_200B_202D_206B_200F_200E_206A_202C_202A_206F_206A_202A_206D_206B_200E_206B_206F_206D_200C_200C_202B_202A_200C_206A_202A_206D_206A_200D_206D_206E_206A_206C_206B_202A_206D_202E(memoryStream, outStream, inSize, num6); + return array2; + } + + internal static void _202A_200D_206E_200C_200D_200E_202A_206C_200B_206D_202C_206C_202A_200C_206D_202A_202A_200B_202E_202A_202E_200D_202C_202E_202D_200C_206A_206C_202B_202E_200C_202C_200F_202B_206D_200F_206A_200D_202D_206B_202E() + { + uint num = 32u; + uint[] array = new uint[32] + { + 3176372808u, 3517270846u, 510100614u, 2482135818u, 1909049966u, 1467246254u, 2706482718u, 3320583349u, 2368975429u, 75896228u, + 2309980383u, 836023208u, 1762925854u, 2667138202u, 4100079753u, 4261965153u, 4142467236u, 2411860623u, 697388614u, 260549817u, + 182595621u, 3100206702u, 2036775609u, 2258405462u, 1383335937u, 644792731u, 2530658763u, 3118556920u, 2580431752u, 3542090113u, + 3045397985u, 2411167645u + }; + uint[] array2 = new uint[16]; + uint num2 = 2589994736u; + int num3 = 0; + while (num3 < 16) + { + uint num4 = num2; + int num5 = (int)(num2 >> 12); + int num6 = (int)num4; + num2 = (uint)((num6 | num5) - (num6 & num5)); + uint num7 = num2; + num5 = (int)(num2 << 25); + num6 = (int)num7; + num2 = (uint)((num6 | num5) - (num6 & num5)); + uint num8 = num2; + num5 = (int)(num2 >> 27); + num6 = (int)num8; + num2 = (array2[num3] = (uint)((num6 | num5) - (num6 & num5))); + int num9 = num3; + num5 = 1; + num6 = num9; + num3 = (num6 | num5) + (num6 & num5); + } + int num10 = 0; + int num11 = 0; + uint[] array3 = new uint[16]; + byte[] array4 = new byte[num * 4]; + while (num10 < num) + { + int num5; + int num6; + for (int num12 = 0; num12 < 16; num12 = (num6 | num5) + (num6 & num5)) + { + int num13 = num12; + int num14 = num10; + num5 = num12; + num6 = num14; + int num15 = num6 ^ num5; + int num16 = num6 & num5; + array3[num13] = array[num15 + (num16 + num16)]; + int num17 = num12; + num5 = 1; + num6 = num17; + } + uint num18 = array3[12] << 2; + uint num19 = array3[6]; + num5 = -511457511; + num6 = (int)num19; + int num20 = num6 + num5; + int num21 = num6 & num5; + array3[6] = (uint)(num20 - (num21 + num21)); + uint num22 = array3[11]; + num5 = (int)array2[11]; + num6 = (int)num22; + array3[11] = (uint)((num6 | num5) - (num6 & num5)); + array3[12] = array3[12] >> 30; + uint num23 = array3[8]; + num5 = -700308787; + num6 = (int)num23; + array3[8] = (uint)(~(~num6 + num5)); + uint num24 = array3[8] * 28; + uint num25 = array3[4]; + num5 = (int)array3[13]; + num6 = (int)num25; + array3[4] = (uint)(~(~num6 + num5)); + uint num26 = array3[8] * 49; + uint num27 = array3[8] * 41; + uint num28 = num24; + num5 = (int)(array3[11] * 105); + num6 = (int)num28; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num29 = num26; + num5 = (int)(array3[11] * 182); + num6 = (int)num29; + int num30 = num6 ^ num5; + int num31 = num6 & num5; + num26 = (uint)(num30 + (num31 + num31)); + uint num32 = array3[0]; + num5 = (int)array2[0]; + num6 = (int)num32; + array3[0] = (uint)((num6 | num5) - (num6 & num5)); + uint num33 = array3[12]; + num5 = (int)num18; + num6 = (int)num33; + array3[12] = (uint)(num6 + num5 - (num6 & num5)); + uint num34 = num24; + num5 = (int)(array3[12] * 100); + num6 = (int)num34; + int num35 = num6 ^ num5; + int num36 = num6 & num5; + num24 = (uint)(num35 + (num36 + num36)); + uint num37 = array3[0]; + num5 = 144172062; + num6 = (int)num37; + num18 = (uint)(num6 + num5 - (num6 | num5)); + uint num38 = array3[0]; + num5 = -144172063; + num6 = (int)num38; + array3[0] = (uint)(num6 + num5 - (num6 | num5)); + uint num39 = array3[0]; + uint num40 = array3[13]; + num5 = 144172062; + num6 = (int)num40; + num5 = (num6 | num5) - (num6 ^ num5); + num6 = (int)num39; + array3[0] = (uint)(num6 + num5 - (num6 & num5)); + uint num41 = array3[13]; + num5 = -144172063; + num6 = (int)num41; + array3[13] = (uint)((num6 | num5) - (num6 ^ num5)); + array3[10] = array3[10] * 2867943455u; + num18 *= 233216723; + uint num42 = num26; + num5 = (int)(array3[12] * 172); + num6 = (int)num42; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num43 = num26; + num5 = (int)(array3[9] * 266); + num6 = (int)num43; + int num44 = num6 ^ num5; + int num45 = num6 & num5; + num26 = (uint)(num44 + (num45 + num45)); + uint num46 = num27; + num5 = (int)(array3[11] * 152); + num6 = (int)num46; + int num47 = num6 ^ num5; + int num48 = num6 & num5; + num27 = (uint)(num47 + (num48 + num48)); + uint num49 = num24; + num5 = (int)(array3[9] * 155); + num6 = (int)num49; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num50 = array3[13]; + num5 = (int)num18 * -2025534117; + num6 = (int)num50; + array3[13] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num51 = array3[2]; + num5 = 3098724; + num6 = (int)num51; + int num52 = num6 + num5; + int num53 = num6 & num5; + array3[2] = (uint)(num52 - (num53 + num53)); + num18 = array3[5] * 1507810571; + uint num54 = num27; + num5 = (int)(array3[12] << 4); + num6 = (int)num54; + int num55 = num6 ^ num5; + int num56 = num6 & num5; + num27 = (uint)(num55 + (num56 + num56)); + array3[5] = array3[14]; + array3[14] = num18 * 2562492067u; + num18 = array3[8] * 15; + uint num57 = array3[15]; + num5 = -462230889; + num6 = (int)num57; + array3[15] = (uint)(~(~num6 + num5)); + uint num58 = num18; + num5 = (int)(array3[11] * 56); + num6 = (int)num58; + int num59 = num6 ^ num5; + int num60 = num6 & num5; + num18 = (uint)(num59 + (num60 + num60)); + uint num61 = num18; + num5 = (int)(array3[12] * 53); + num6 = (int)num61; + num18 = (uint)((num6 | num5) + (num6 & num5)); + uint num62 = num27; + num5 = (int)(array3[12] << 7); + num6 = (int)num62; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num63 = num18; + num5 = (int)(array3[9] * 82); + num6 = (int)num63; + int num64 = num6 ^ num5; + int num65 = num6 & num5; + num18 = (uint)(num64 + (num65 + num65)); + uint num66 = array3[2]; + num5 = (int)array3[4]; + num6 = (int)num66; + array3[2] = (uint)((num6 | num5) - (num6 & num5)); + uint num67 = array3[5]; + num5 = (int)array2[5]; + num6 = (int)num67; + int num68 = num6 + num5; + int num69 = num6 & num5; + array3[5] = (uint)(num68 - (num69 + num69)); + array3[8] = num18; + uint num70 = num27; + num5 = (int)(array3[9] * 223); + num6 = (int)num70; + num27 = (uint)((num6 | num5) + (num6 & num5)); + array3[12] = num26; + num26 = array3[12] * 23; + num18 = array3[10] >> 30; + array3[10] = array3[10] << 2; + array3[9] = num27; + uint num71 = array3[8]; + num5 = (int)array2[8]; + num6 = (int)num71; + array3[8] = (uint)((num6 | num5) - (num6 & num5)); + uint num72 = array3[10]; + num5 = (int)num18; + num6 = (int)num72; + array3[10] = (uint)((num6 & num5) + (num6 ^ num5)); + num27 = array3[12] * 13; + array3[11] = num24; + num24 = array3[12] << 3; + uint num73 = array3[15]; + num5 = (int)array3[7]; + num6 = (int)num73; + array3[15] = (uint)(~(~num6 + num5)); + uint num74 = num27; + num5 = (int)(array3[11] * 46); + num6 = (int)num74; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num75 = num26; + num5 = (int)(array3[11] * 79); + num6 = (int)num75; + int num76 = num6 ^ num5; + int num77 = num6 & num5; + num26 = (uint)(num76 + (num77 + num77)); + uint num78 = num27; + num5 = (int)(array3[0] * 56); + num6 = (int)num78; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num79 = num24; + num5 = (int)(array3[11] * 28); + num6 = (int)num79; + int num80 = num6 ^ num5; + int num81 = num6 & num5; + num24 = (uint)(num80 + (num81 + num81)); + num18 = array3[12] << 2; + uint num82 = array3[3]; + num5 = (int)(~array3[1]); + num6 = (int)num82; + array3[3] = (uint)((num6 | num5) - (num6 & num5)); + uint num83 = num18; + num5 = (int)(array3[11] * 14); + num6 = (int)num83; + num18 = (uint)((num6 | num5) + (num6 & num5)); + uint num84 = num24; + num5 = (int)(array3[0] << 5); + num6 = (int)num84; + int num85 = num6 ^ num5; + int num86 = num6 & num5; + num24 = (uint)(num85 + (num86 + num86)); + uint num87 = num27; + num5 = (int)(array3[8] << 2); + num6 = (int)num87; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num88 = num26; + num5 = (int)(array3[0] * 93); + num6 = (int)num88; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num89 = num27; + num5 = (int)(array3[8] << 5); + num6 = (int)num89; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num90 = num26; + num5 = (int)(array3[8] * 62); + num6 = (int)num90; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num91 = num24; + num5 = (int)array3[0]; + num6 = (int)num91; + int num92 = num6 ^ num5; + int num93 = num6 & num5; + num24 = (uint)(num92 + (num93 + num93)); + uint num94 = num24; + num5 = (int)(array3[8] * 22); + num6 = (int)num94; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num95 = num18; + num5 = (int)(array3[0] << 4); + num6 = (int)num95; + int num96 = num6 ^ num5; + int num97 = num6 & num5; + num18 = (uint)(num96 + (num97 + num97)); + array3[0] = num27; + uint num98 = num18; + num5 = (int)(array3[8] * 11); + num6 = (int)num98; + int num99 = num6 ^ num5; + int num100 = num6 & num5; + num18 = (uint)(num99 + (num100 + num100)); + uint num101 = array3[3]; + num5 = (int)array2[3]; + num6 = (int)num101; + array3[3] = (uint)((num6 | num5) - (num6 & num5)); + array3[8] = num26; + array3[11] = num24; + array3[12] = num18; + uint num102 = array3[4]; + num5 = (int)array2[4]; + num6 = (int)num102; + int num103 = num6 + num5; + int num104 = num6 & num5; + array3[4] = (uint)(num103 - (num104 + num104)); + num26 = array3[14] << 2; + num27 = array3[14] << 2; + uint num105 = num26; + num5 = (int)array3[14]; + num6 = (int)num105; + int num106 = num6 ^ num5; + int num107 = num6 & num5; + num26 = (uint)(num106 + (num107 + num107)); + uint num108 = num27; + num5 = (int)array3[14]; + num6 = (int)num108; + int num109 = num6 ^ num5; + int num110 = num6 & num5; + num27 = (uint)(num109 + (num110 + num110)); + num18 = array3[14] * 28; + uint num111 = array3[6]; + num5 = (int)array2[6]; + num6 = (int)num111; + int num112 = num6 + num5; + int num113 = num6 & num5; + array3[6] = (uint)(num112 - (num113 + num113)); + uint num114 = num18; + num5 = (int)(array3[4] * 59); + num6 = (int)num114; + int num115 = num6 ^ num5; + int num116 = num6 & num5; + num18 = (uint)(num115 + (num116 + num116)); + uint num117 = num18; + num5 = (int)(array3[5] * 172); + num6 = (int)num117; + int num118 = num6 ^ num5; + int num119 = num6 & num5; + num18 = (uint)(num118 + (num119 + num119)); + uint num120 = num27; + num5 = (int)(array3[4] * 13); + num6 = (int)num120; + int num121 = num6 ^ num5; + int num122 = num6 & num5; + num27 = (uint)(num121 + (num122 + num122)); + num24 = array3[14] << 4; + uint num123 = num18; + num5 = (int)(array3[6] * 331); + num6 = (int)num123; + int num124 = num6 ^ num5; + int num125 = num6 & num5; + num18 = (uint)(num124 + (num125 + num125)); + uint num126 = num26; + num5 = (int)(array3[4] << 2); + num6 = (int)num126; + int num127 = num6 ^ num5; + int num128 = num6 & num5; + num26 = (uint)(num127 + (num128 + num128)); + uint num129 = num27; + num5 = (int)(array3[5] << 1); + num6 = (int)num129; + int num130 = num6 ^ num5; + int num131 = num6 & num5; + num27 = (uint)(num130 + (num131 + num131)); + uint num132 = num27; + num5 = (int)(array3[5] << 5); + num6 = (int)num132; + int num133 = num6 ^ num5; + int num134 = num6 & num5; + num27 = (uint)(num133 + (num134 + num134)); + uint num135 = num26; + num5 = (int)array3[4]; + num6 = (int)num135; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num136 = num24; + num5 = (int)(array3[4] * 22); + num6 = (int)num136; + int num137 = num6 ^ num5; + int num138 = num6 & num5; + num24 = (uint)(num137 + (num138 + num138)); + uint num139 = num26; + num5 = (int)(array3[5] * 22); + num6 = (int)num139; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num140 = num26; + num5 = (int)(array3[6] << 5); + num6 = (int)num140; + int num141 = num6 ^ num5; + int num142 = num6 & num5; + num26 = (uint)(num141 + (num142 + num142)); + uint num143 = num24; + num5 = (int)(array3[5] * 81); + num6 = (int)num143; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num144 = array3[7]; + num5 = 1744861138; + num6 = (int)num144; + array3[7] = (uint)((num6 | num5) - (num6 & num5)); + uint num145 = num24; + num5 = (int)(array3[6] << 3); + num6 = (int)num145; + int num146 = num6 ^ num5; + int num147 = num6 & num5; + num24 = (uint)(num146 + (num147 + num147)); + uint num148 = num27; + num5 = (int)(array3[6] * 69); + num6 = (int)num148; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num149 = num24; + num5 = (int)(array3[6] << 7); + num6 = (int)num149; + num24 = (uint)((num6 | num5) + (num6 & num5)); + array3[6] = num18; + array3[4] = num27; + array3[5] = num24; + num27 = array3[1] * 54; + num18 = array3[1] * 57; + uint num150 = num27; + num5 = (int)(array3[13] * 46); + num6 = (int)num150; + num27 = (uint)((num6 | num5) + (num6 & num5)); + num24 = array3[1] * 22; + array3[14] = num26; + uint num151 = num24; + num5 = (int)(array3[13] * 29); + num6 = (int)num151; + num24 = (uint)((num6 | num5) + (num6 & num5)); + num26 = array3[1] * 15; + uint num152 = num26; + num5 = (int)(array3[13] << 2); + num6 = (int)num152; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num153 = num24; + num5 = (int)(array3[15] * 142); + num6 = (int)num153; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num154 = num26; + num5 = (int)(array3[13] << 3); + num6 = (int)num154; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num155 = array3[10]; + num5 = (int)array2[10]; + num6 = (int)num155; + array3[10] = (uint)((num6 | num5) - (num6 & num5)); + uint num156 = array3[9]; + num5 = 1819348785; + num6 = (int)num156; + array3[9] = (uint)(~(~num6 + num5)); + uint num157 = num26; + num5 = (int)(array3[15] * 70); + num6 = (int)num157; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num158 = num24; + num5 = (int)(array3[3] * 133); + num6 = (int)num158; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num159 = num18; + num5 = (int)(array3[13] << 6); + num6 = (int)num159; + int num160 = num6 ^ num5; + int num161 = num6 & num5; + num18 = (uint)(num160 + (num161 + num161)); + uint num162 = num27; + num5 = (int)(array3[15] * 261); + num6 = (int)num162; + int num163 = num6 ^ num5; + int num164 = num6 & num5; + num27 = (uint)(num163 + (num164 + num164)); + uint num165 = array3[9]; + num5 = (int)(~array3[2]); + num6 = (int)num165; + int num166 = num6 + num5; + int num167 = num6 & num5; + array3[9] = (uint)(num166 - (num167 + num167)); + uint num168 = num27; + num5 = (int)(array3[3] * 249); + num6 = (int)num168; + int num169 = num6 ^ num5; + int num170 = num6 & num5; + num27 = (uint)(num169 + (num170 + num170)); + uint num171 = num26; + num5 = (int)(array3[3] * 67); + num6 = (int)num171; + int num172 = num6 ^ num5; + int num173 = num6 & num5; + num26 = (uint)(num172 + (num173 + num173)); + uint num174 = array3[2]; + num5 = (int)array3[4]; + num6 = (int)num174; + int num175 = num6 + num5; + int num176 = num6 & num5; + array3[2] = (uint)(num175 - (num176 + num176)); + uint num177 = num18; + num5 = (int)array3[13]; + num6 = (int)num177; + int num178 = num6 ^ num5; + int num179 = num6 & num5; + num18 = (uint)(num178 + (num179 + num179)); + array3[13] = num27; + array3[1] = num26; + uint num180 = array3[2]; + num5 = (int)array2[2]; + num6 = (int)num180; + array3[2] = (uint)((num6 | num5) - (num6 & num5)); + uint num181 = num18; + num5 = (int)(array3[15] * 335); + num6 = (int)num181; + num18 = (uint)((num6 | num5) + (num6 & num5)); + num27 = array3[10] * 3999394879u; + uint num182 = num18; + num5 = (int)(array3[3] * 316); + num6 = (int)num182; + int num183 = num6 ^ num5; + int num184 = num6 & num5; + num18 = (uint)(num183 + (num184 + num184)); + num26 = array3[2] >> 2; + array3[3] = num18; + num18 = array3[7] << 5; + array3[7] = array3[7] >> 27; + array3[10] = array3[3]; + uint num185 = array3[7]; + num5 = (int)num18; + num6 = (int)num185; + array3[7] = (uint)(num6 + num5 - (num6 & num5)); + num18 = array3[14] >> 22; + array3[14] = array3[14] << 10; + uint num186 = array3[7]; + num5 = (int)array2[7]; + num6 = (int)num186; + int num187 = num6 + num5; + int num188 = num6 & num5; + array3[7] = (uint)(num187 - (num188 + num188)); + array3[15] = num24; + uint num189 = array3[8]; + num5 = -617041053; + num6 = (int)num189; + array3[8] = (uint)(~(~num6 + num5)); + uint num190 = array3[13]; + num5 = (int)array2[13]; + num6 = (int)num190; + int num191 = num6 + num5; + int num192 = num6 & num5; + array3[13] = (uint)(num191 - (num192 + num192)); + uint num193 = array3[14]; + num5 = (int)num18; + num6 = (int)num193; + array3[14] = (uint)(num6 + num5 - (num6 & num5)); + uint num194 = array3[1]; + num5 = 2137011429; + num6 = (int)num194; + array3[1] = (uint)((num6 | num5) - (num6 & num5)); + uint num195 = array3[13]; + num5 = -1828564402; + num6 = (int)num195; + num18 = (uint)((num6 | num5) - (num6 ^ num5)); + uint num196 = array3[13]; + num5 = 1828564401; + num6 = (int)num196; + array3[13] = (uint)(num6 + num5 - (num6 | num5)); + uint num197 = array3[13]; + uint num198 = array3[0]; + num5 = -1828564402; + num6 = (int)num198; + num5 = num6 + num5 - (num6 | num5); + num6 = (int)num197; + array3[13] = (uint)((num6 & num5) + (num6 ^ num5)); + array3[2] = array3[2] << 30; + uint num199 = array3[0]; + num5 = 1828564401; + num6 = (int)num199; + array3[0] = (uint)(num6 + num5 - (num6 | num5)); + num18 *= 3687362961u; + uint num200 = array3[15]; + num5 = (int)array2[15]; + num6 = (int)num200; + array3[15] = (uint)((num6 | num5) - (num6 & num5)); + uint num201 = array3[0]; + num5 = (int)num18 * -19910799; + num6 = (int)num201; + array3[0] = (uint)((num6 & num5) + (num6 ^ num5)); + num18 = array3[11] << 31; + array3[11] = array3[11] >> 1; + uint num202 = array3[11]; + num5 = (int)num18; + num6 = (int)num202; + array3[11] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num203 = array3[5]; + num5 = 1367555891; + num6 = (int)num203; + array3[5] = (uint)(~(~num6 + num5)); + array3[3] = num27 * 3855877055u; + num18 = array3[7] * 643575189; + uint num204 = array3[1]; + num5 = (int)array2[1]; + num6 = (int)num204; + int num205 = num6 + num5; + int num206 = num6 & num5; + array3[1] = (uint)(num205 - (num206 + num206)); + uint num207 = array3[9]; + num5 = (int)array2[9]; + num6 = (int)num207; + array3[9] = (uint)((num6 | num5) - (num6 & num5)); + num24 = array3[11] * 21; + uint num208 = array3[9]; + num5 = -1258220314; + num6 = (int)num208; + int num209 = num6 + num5; + int num210 = num6 & num5; + array3[9] = (uint)(num209 - (num210 + num210)); + array3[7] = array3[12]; + num27 = array3[11] << 1; + uint num211 = num27; + num5 = (int)(array3[7] * 7); + num6 = (int)num211; + int num212 = num6 ^ num5; + int num213 = num6 & num5; + num27 = (uint)(num212 + (num213 + num213)); + array3[12] = num18 * 3705189821u; + uint num214 = array3[2]; + num5 = (int)num26; + num6 = (int)num214; + array3[2] = (uint)(num6 + num5 - (num6 & num5)); + uint num215 = array3[3]; + num5 = (int)array3[5]; + num6 = (int)num215; + int num216 = num6 + num5; + int num217 = num6 & num5; + array3[3] = (uint)(num216 - (num217 + num217)); + num18 = array3[4] >> 25; + uint num218 = num24; + num5 = (int)(array3[7] << 6); + num6 = (int)num218; + num24 = (uint)((num6 | num5) + (num6 & num5)); + num26 = array3[8] * 485673863; + array3[8] = array3[13]; + uint num219 = array3[14]; + num5 = (int)array2[14]; + num6 = (int)num219; + int num220 = num6 + num5; + int num221 = num6 & num5; + array3[14] = (uint)(num220 - (num221 + num221)); + uint num222 = num24; + num5 = (int)array3[7]; + num6 = (int)num222; + num24 = (uint)((num6 | num5) + (num6 & num5)); + array3[13] = num26 * 734333495; + array3[4] = array3[4] << 7; + uint num223 = array3[4]; + num5 = (int)num18; + num6 = (int)num223; + array3[4] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num224 = array3[15]; + num5 = (int)array3[6]; + num6 = (int)num224; + array3[15] = (uint)(~(~num6 + num5)); + uint num225 = array3[6]; + num5 = (int)array3[0]; + num6 = (int)num225; + array3[6] = (uint)(~(~num6 + num5)); + uint num226 = num27; + num5 = (int)(array3[14] << 3); + num6 = (int)num226; + int num227 = num6 ^ num5; + int num228 = num6 & num5; + num27 = (uint)(num227 + (num228 + num228)); + num26 = array3[11]; + uint num229 = array3[12]; + num5 = (int)array3[10]; + num6 = (int)num229; + int num230 = num6 + num5; + int num231 = num6 & num5; + array3[12] = (uint)(num230 - (num231 + num231)); + uint num232 = num26; + num5 = (int)(array3[7] << 1); + num6 = (int)num232; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num233 = array3[15]; + num5 = 302785100; + num6 = (int)num233; + array3[15] = (uint)((num6 | num5) - (num6 & num5)); + uint num234 = array3[15]; + num5 = (int)(~array3[1]); + num6 = (int)num234; + int num235 = num6 + num5; + int num236 = num6 & num5; + array3[15] = (uint)(num235 - (num236 + num236)); + uint num237 = num27; + num5 = (int)(array3[9] << 1); + num6 = (int)num237; + int num238 = num6 ^ num5; + int num239 = num6 & num5; + num27 = (uint)(num238 + (num239 + num239)); + uint num240 = num26; + num5 = (int)array3[7]; + num6 = (int)num240; + num26 = (uint)((num6 | num5) + (num6 & num5)); + num18 = array3[11] << 3; + uint num241 = num27; + num5 = (int)(array3[9] << 3); + num6 = (int)num241; + int num242 = num6 ^ num5; + int num243 = num6 & num5; + num27 = (uint)(num242 + (num243 + num243)); + uint num244 = num26; + num5 = (int)(array3[14] << 1); + num6 = (int)num244; + num26 = (uint)((num6 | num5) + (num6 & num5)); + array3[11] = num27; + uint num245 = array3[0]; + num5 = 1431460207; + num6 = (int)num245; + num27 = (uint)(num6 + num5 - (num6 | num5)); + uint num246 = num18; + num5 = (int)(array3[7] * 25); + num6 = (int)num246; + int num247 = num6 ^ num5; + int num248 = num6 & num5; + num18 = (uint)(num247 + (num248 + num248)); + uint num249 = num24; + num5 = (int)(array3[14] << 3); + num6 = (int)num249; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num250 = array3[12]; + num5 = (int)array2[12]; + num6 = (int)num250; + array3[12] = (uint)((num6 | num5) - (num6 & num5)); + uint num251 = array3[0]; + num5 = -1431460208; + num6 = (int)num251; + array3[0] = (uint)(num6 + num5 - (num6 | num5)); + uint num252 = array3[0]; + uint num253 = array3[1]; + num5 = 1431460207; + num6 = (int)num253; + num5 = num6 + num5 - (num6 | num5); + num6 = (int)num252; + array3[0] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num254 = num26; + num5 = (int)array3[14]; + num6 = (int)num254; + int num255 = num6 ^ num5; + int num256 = num6 & num5; + num26 = (uint)(num255 + (num256 + num256)); + uint num257 = num24; + num5 = (int)(array3[14] << 6); + num6 = (int)num257; + num24 = (uint)((num6 | num5) + (num6 & num5)); + num27 *= 3090452553u; + uint num258 = num18; + num5 = (int)(array3[14] * 27); + num6 = (int)num258; + num18 = (uint)((num6 | num5) + (num6 & num5)); + uint num259 = num18; + num5 = (int)(array3[9] * 26); + num6 = (int)num259; + num18 = (uint)((num6 | num5) + (num6 & num5)); + uint num260 = num26; + num5 = (int)(array3[9] << 1); + num6 = (int)num260; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num261 = array3[1]; + num5 = -1431460208; + num6 = (int)num261; + array3[1] = (uint)(num6 + num5 - (num6 | num5)); + array3[14] = num18; + uint num262 = array3[1]; + num5 = (int)num27 * -2137759239; + num6 = (int)num262; + array3[1] = (uint)((num6 & num5) + (num6 ^ num5)); + array3[7] = num26; + uint num263 = num24; + num5 = (int)(array3[9] * 73); + num6 = (int)num263; + int num264 = num6 ^ num5; + int num265 = num6 & num5; + num24 = (uint)(num264 + (num265 + num265)); + array3[9] = num24; + int num266 = 0; + while (num266 < 16) + { + uint num267 = array3[num266]; + int num268 = num11; + num5 = 1; + num6 = num268; + num11 = (num6 | num5) + (num6 & num5); + array4[num268] = (byte)num267; + int num269 = num11; + num5 = 1; + num6 = num269; + int num270 = num6 ^ num5; + int num271 = num6 & num5; + num11 = num270 + (num271 + num271); + array4[num269] = (byte)(num267 >> 8); + int num272 = num11; + num5 = 1; + num6 = num272; + int num273 = num6 ^ num5; + int num274 = num6 & num5; + num11 = num273 + (num274 + num274); + array4[num272] = (byte)(num267 >> 16); + int num275 = num11; + num5 = 1; + num6 = num275; + num11 = (num6 | num5) + (num6 & num5); + array4[num275] = (byte)(num267 >> 24); + array2[num266] ^= num267; + int num276 = num266; + num5 = 1; + num6 = num276; + int num277 = num6 ^ num5; + int num278 = num6 & num5; + num266 = num277 + (num278 + num278); + } + int num279 = num10; + num5 = 16; + num6 = num279; + num10 = (num6 | num5) + (num6 & num5); + } + _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E = _206D_202B_202B_206D_200D_200E_202B_206F_202D_202C_206E_206B_200E_202C_202A_206B_202C_200E_206F_200F_206F_206E_202C_206E_200E_202D_200D_206B_200C_206E_200B_202B_206E_200D_206F_200D_206D_200B_206A_206B_202E(array4); + } + + internal static int _206E_206E_206A_206A_206F_200E_200E_202A_200B_200F_202A_200F_200E_200C_200C_206E_200E_206D_202D_206A_202C_206F_202B_200E_206A_206C_202C_202C_206B_202A_202A_202B_206C_206B_200F_202C_200C_206D_200F_206A_202E(int id) + { + id <<= 2; + byte num = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E[id]; + byte[] array = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num2 = id; + int num3 = 1; + int num4 = num2; + num3 = array[(num4 | num3) + (num4 & num3)] << 8; + num4 = num; + int num5 = num4 + num3 - (num4 & num3); + byte[] array2 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num6 = id; + num3 = 2; + num4 = num6; + num3 = array2[(num4 | num3) + (num4 & num3)] << 16; + num4 = num5; + int num7 = (num4 & num3) + (num4 ^ num3); + byte[] array3 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num8 = id; + num3 = 3; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num3 = array3[num9 + (num10 + num10)] << 24; + num4 = num7; + return num4 + num3 - (num4 & num3); + } + + internal static long _206F_200C_202D_202E_202C_202D_206D_200B_202B_202B_202D_206E_202D_206F_200B_206C_206B_202E_200B_200C_202E_206A_200F_200F_200C_206C_200B_200C_202A_202A_206B_202C_206D_206C_202E_202C_200E_202C_202B_206A_202E(int id) + { + id <<= 2; + byte num = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E[id]; + byte[] array = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num2 = id; + int num3 = 1; + int num4 = num2; + num3 = array[(num4 | num3) + (num4 & num3)] << 8; + num4 = num; + int num5 = (num4 & num3) + (num4 ^ num3); + byte[] array2 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num6 = id; + num3 = 2; + num4 = num6; + num3 = array2[(num4 | num3) + (num4 & num3)] << 16; + num4 = num5; + int num7 = (num4 & num3) + (num4 ^ num3); + byte[] array3 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num8 = id; + num3 = 3; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num3 = array3[num9 + (num10 + num10)] << 24; + num4 = num7; + uint num11 = (uint)((num4 & num3) + (num4 ^ num3)); + byte[] array4 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num12 = id; + num3 = 4; + num4 = num12; + byte num13 = array4[(num4 | num3) + (num4 & num3)]; + byte[] array5 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num14 = id; + num3 = 5; + num4 = num14; + num3 = array5[(num4 | num3) + (num4 & num3)] << 8; + num4 = num13; + int num15 = num4 + num3 - (num4 & num3); + byte[] array6 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num16 = id; + num3 = 6; + num4 = num16; + int num17 = num4 ^ num3; + int num18 = num4 & num3; + num3 = array6[num17 + (num18 + num18)] << 16; + num4 = num15; + int num19 = num4 + num3 - (num4 & num3); + byte[] array7 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num20 = id; + num3 = 7; + num4 = num20; + num3 = array7[(num4 | num3) + (num4 & num3)] << 24; + num4 = num19; + ulong num21 = (ulong)(uint)(num4 + num3 - (num4 & num3)) << 32; + long num22 = num11; + long num23 = (long)num21; + return (num23 & num22) + (num23 ^ num22); + } + + internal static float _206C_206F_206E_202A_206F_200D_206E_206C_200B_202D_206A_200D_202D_206A_200D_206A_200C_200B_206B_202A_200E_200B_202A_200D_206B_200E_200C_202D_206D_200B_206A_200E_202A_206A_206B_206C_200F_200E_206F_206F_202E(int id) + { + return BitConverter.ToSingle(_206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E, id << 2); + } + + internal static double _200F_206E_206F_200D_206D_200F_206F_206F_202E_202A_206A_206C_200F_202E_200B_206A_200C_206E_200C_206A_200E_202B_206F_206C_206D_202A_206E_202D_206C_202A_206F_202A_202A_200B_200D_200B_206F_202B_206F_202E_202E(int id) + { + return BitConverter.ToDouble(_206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E, id << 2); + } + + internal static _002D _200F_206C_200C_202D_206E_202E_200C_206D_206A_206C_202B_200C_200D_200F_202C_206F_200D_202D_202D_206A_200E_202A_200F_200B_200C_206A_202E_202B_206E_200B_202C_202A_206D_200D_202C_206B_206A_206F_202A_200E_202E<_002D>(int id) + { + int num = id * 546233917; + int num2 = 1278539976; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 3: + { + byte num31 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E[id]; + byte[] array10 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num32 = id; + num2 = 1; + num3 = num32; + int num33 = num3 ^ num2; + int num34 = num3 & num2; + num2 = array10[num33 + (num34 + num34)] << 8; + num3 = num31; + int num35 = (num3 & num2) + (num3 ^ num2); + byte[] array11 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num36 = id; + num2 = 2; + num3 = num36; + int num37 = num3 ^ num2; + int num38 = num3 & num2; + num2 = array11[num37 + (num38 + num38)] << 16; + num3 = num35; + int num39 = num3 + num2 - (num3 & num2); + byte[] array12 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num40 = id; + num2 = 3; + num3 = num40; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num39; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num41 = id; + num2 = 4; + num3 = num41; + return (_002D)(object)string.Intern(uTF.GetString(bytes, (num3 | num2) + (num3 & num2), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 1: + { + byte num8 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E[id]; + byte[] array = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = num3 + num2 - (num3 & num2); + byte[] array2 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = num3 + num2 - (num3 & num2); + byte[] array3 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num15 = id; + num2 = 3; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + num2 = array3[num16 + (num17 + num17)] << 24; + num3 = num14; + int num18 = num3 + num2 - (num3 & num2); + byte[] array4 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num19 = id; + num2 = 4; + num3 = num19; + int num20 = num3 ^ num2; + int num21 = num3 & num2; + byte num22 = array4[num20 + (num21 + num21)]; + byte[] array5 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num23 = id; + num2 = 5; + num3 = num23; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num22; + int num24 = (num3 & num2) + (num3 ^ num2); + byte[] array6 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num25 = id; + num2 = 6; + num3 = num25; + num2 = array6[(num3 | num2) + (num3 & num2)] << 16; + num3 = num24; + int num26 = num3 + num2 - (num3 & num2); + byte[] array7 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num27 = id; + num2 = 7; + num3 = num27; + int num28 = num3 ^ num2; + int num29 = num3 & num2; + num2 = array7[num28 + (num29 + num29)] << 24; + num3 = num26; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num18; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _202C_202E_206C_200D_206D_200F_200C_206B_206B_202B_202E_202E_206A_202E_206D_206B_200C_206F_202E_202B_206C_202C_202D_202C_202E_202E_206D_200B_202E_200F_200E_200E_206B_206C_202C_206A_206E_200D_206F_202E_202E<_002D>(int id) + { + int num = id * 1725555487; + int num2 = -1577733383; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 3: + { + byte num31 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E[id]; + byte[] array10 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num32 = id; + num2 = 1; + num3 = num32; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num31; + int num33 = num3 + num2 - (num3 & num2); + byte[] array11 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num34 = id; + num2 = 2; + num3 = num34; + int num35 = num3 ^ num2; + int num36 = num3 & num2; + num2 = array11[num35 + (num36 + num36)] << 16; + num3 = num33; + int num37 = num3 + num2 - (num3 & num2); + byte[] array12 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num38 = id; + num2 = 3; + num3 = num38; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num37; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num39 = id; + num2 = 4; + num3 = num39; + int num40 = num3 ^ num2; + int num41 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num40 + (num41 + num41), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 1: + { + byte num8 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E[id]; + byte[] array = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = num3 + num2 - (num3 & num2); + byte[] array2 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = num3 + num2 - (num3 & num2); + byte[] array3 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num15 = id; + num2 = 3; + num3 = num15; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num14; + int num16 = num3 + num2 - (num3 & num2); + byte[] array4 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num17 = id; + num2 = 4; + num3 = num17; + int num18 = num3 ^ num2; + int num19 = num3 & num2; + byte num20 = array4[num18 + (num19 + num19)]; + byte[] array5 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num21 = id; + num2 = 5; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array5[num22 + (num23 + num23)] << 8; + num3 = num20; + int num24 = num3 + num2 - (num3 & num2); + byte[] array6 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num25 = id; + num2 = 6; + num3 = num25; + num2 = array6[(num3 | num2) + (num3 & num2)] << 16; + num3 = num24; + int num26 = num3 + num2 - (num3 & num2); + byte[] array7 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num27 = id; + num2 = 7; + num3 = num27; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num26; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num28 = id; + num2 = 8; + num3 = num28; + int num29 = num3 ^ num2; + int num30 = num3 & num2; + int srcOffset = num29 + (num30 + num30); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _206A_202A_202E_206E_202B_202A_202E_206D_206F_200E_206A_202A_206C_200B_202B_202C_200D_202D_206A_206A_200C_200F_202C_200B_200F_206B_206B_206B_202B_202D_202C_202D_200C_202A_200F_206A_202B_200E_202E_206F_202E<_002D>(int id) + { + int num = id * -725843581; + int num2 = 1352092440; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 2: + { + byte num25 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E[id]; + byte[] array10 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num26 = id; + num2 = 1; + num3 = num26; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num25; + int num27 = (num3 & num2) + (num3 ^ num2); + byte[] array11 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num28 = id; + num2 = 2; + num3 = num28; + int num29 = num3 ^ num2; + int num30 = num3 & num2; + num2 = array11[num29 + (num30 + num30)] << 16; + num3 = num27; + int num31 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num32 = id; + num2 = 3; + num3 = num32; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num31; + int count = (num3 & num2) + (num3 ^ num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num33 = id; + num2 = 4; + num3 = num33; + int num34 = num3 ^ num2; + int num35 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num34 + (num35 + num35), count)); + } + case 1: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 0: + { + byte num8 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E[id]; + byte[] array = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = num3 + num2 - (num3 & num2); + byte[] array2 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num11 = id; + num2 = 2; + num3 = num11; + num2 = array2[(num3 | num2) + (num3 & num2)] << 16; + num3 = num10; + int num12 = num3 + num2 - (num3 & num2); + byte[] array3 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num13 = id; + num2 = 3; + num3 = num13; + int num14 = num3 ^ num2; + int num15 = num3 & num2; + num2 = array3[num14 + (num15 + num15)] << 24; + num3 = num12; + int num16 = (num3 & num2) + (num3 ^ num2); + byte[] array4 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num17 = id; + num2 = 4; + num3 = num17; + byte num18 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num19 = id; + num2 = 5; + num3 = num19; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num18; + int num20 = (num3 & num2) + (num3 ^ num2); + byte[] array6 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num21 = id; + num2 = 6; + num3 = num21; + num2 = array6[(num3 | num2) + (num3 & num2)] << 16; + num3 = num20; + int num22 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num23 = id; + num2 = 7; + num3 = num23; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num22; + int length = (num3 & num2) + (num3 ^ num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num24 = id; + num2 = 8; + num3 = num24; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _206C_202D_202B_202A_206F_206F_202A_202E_206E_206C_200B_202C_206B_202A_206A_202E_206C_200B_202E_200C_200D_202A_206D_206D_206F_206D_202E_206C_202C_200F_206F_202A_200E_200F_206B_200B_200D_206E_206F_206F_202E<_002D>(int id) + { + int num = id * -637435145; + int num2 = -447986820; + int num3 = num; + id = (num3 | num2) - (num3 & num2); + int num4 = id >>> 30; + int num5 = id; + num2 = 1073741823; + num3 = num5; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num4) + { + case 3: + { + byte num31 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E[id]; + byte[] array10 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num32 = id; + num2 = 1; + num3 = num32; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num31; + int num33 = num3 + num2 - (num3 & num2); + byte[] array11 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num34 = id; + num2 = 2; + num3 = num34; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num33; + int num35 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num36 = id; + num2 = 3; + num3 = num36; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num35; + int count = (num3 & num2) + (num3 ^ num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num37 = id; + num2 = 4; + num3 = num37; + return (_002D)(object)string.Intern(uTF.GetString(bytes, (num3 | num2) + (num3 & num2), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 0: + { + byte num6 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E[id]; + byte[] array = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num7 = id; + num2 = 1; + num3 = num7; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num6; + int num8 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num9 = id; + num2 = 2; + num3 = num9; + int num10 = num3 ^ num2; + int num11 = num3 & num2; + num2 = array2[num10 + (num11 + num11)] << 16; + num3 = num8; + int num12 = num3 + num2 - (num3 & num2); + byte[] array3 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num13 = id; + num2 = 3; + num3 = num13; + int num14 = num3 ^ num2; + int num15 = num3 & num2; + num2 = array3[num14 + (num15 + num15)] << 24; + num3 = num12; + int num16 = num3 + num2 - (num3 & num2); + byte[] array4 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num17 = id; + num2 = 4; + num3 = num17; + int num18 = num3 ^ num2; + int num19 = num3 & num2; + byte num20 = array4[num18 + (num19 + num19)]; + byte[] array5 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num21 = id; + num2 = 5; + num3 = num21; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num20; + int num22 = num3 + num2 - (num3 & num2); + byte[] array6 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num23 = id; + num2 = 6; + num3 = num23; + int num24 = num3 ^ num2; + int num25 = num3 & num2; + num2 = array6[num24 + (num25 + num25)] << 16; + num3 = num22; + int num26 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num27 = id; + num2 = 7; + num3 = num27; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num26; + int length = (num3 & num2) + (num3 ^ num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num28 = id; + num2 = 8; + num3 = num28; + int num29 = num3 ^ num2; + int num30 = num3 & num2; + int srcOffset = num29 + (num30 + num30); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _202B_200D_206E_200E_206C_206E_206B_200F_202C_202C_202C_206F_202E_202A_202C_206B_206A_200F_206B_206F_202C_206C_202A_202E_202D_206D_202B_200D_200B_202A_206E_200B_206A_206D_202B_206D_206A_202D_206E_206B_202E<_002D>(int id) + { + int num = id * 575492379; + int num2 = -1212761944; + int num3 = num; + id = (num3 | num2) - (num3 & num2); + int num4 = id >>> 30; + int num5 = id; + num2 = 1073741823; + num3 = num5; + id = num3 + num2 - (num3 | num2) << 2; + switch (num4) + { + case 1: + { + byte num29 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E[id]; + byte[] array10 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num30 = id; + num2 = 1; + num3 = num30; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num29; + int num31 = (num3 & num2) + (num3 ^ num2); + byte[] array11 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num32 = id; + num2 = 2; + num3 = num32; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num31; + int num33 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num34 = id; + num2 = 3; + num3 = num34; + int num35 = num3 ^ num2; + int num36 = num3 & num2; + num2 = array12[num35 + (num36 + num36)] << 24; + num3 = num33; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num37 = id; + num2 = 4; + num3 = num37; + int num38 = num3 ^ num2; + int num39 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num38 + (num39 + num39), count)); + } + case 3: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 0: + { + byte num6 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E[id]; + byte[] array = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num7 = id; + num2 = 1; + num3 = num7; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num6; + int num8 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num9 = id; + num2 = 2; + num3 = num9; + int num10 = num3 ^ num2; + int num11 = num3 & num2; + num2 = array2[num10 + (num11 + num11)] << 16; + num3 = num8; + int num12 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num13 = id; + num2 = 3; + num3 = num13; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num12; + int num14 = num3 + num2 - (num3 & num2); + byte[] array4 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num15 = id; + num2 = 4; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + byte num18 = array4[num16 + (num17 + num17)]; + byte[] array5 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num19 = id; + num2 = 5; + num3 = num19; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num18; + int num20 = (num3 & num2) + (num3 ^ num2); + byte[] array6 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num21 = id; + num2 = 6; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array6[num22 + (num23 + num23)] << 16; + num3 = num20; + int num24 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num25 = id; + num2 = 7; + num3 = num25; + int num26 = num3 ^ num2; + int num27 = num3 & num2; + num2 = array7[num26 + (num27 + num27)] << 24; + num3 = num24; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _206B_202E_202E_206F_206F_206C_206E_206D_200F_202E_200D_206D_202B_206D_206D_206A_206B_206D_206C_206F_200E_202B_202B_202B_200F_202A_202D_200E_202D_206C_202B_202A_206E_206F_206C_206B_200F_200E_206D_206D_202E; + int num28 = id; + num2 = 8; + num3 = num28; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num14; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } +} diff --git a/GatheringPaths/GatheringPaths.csproj b/GatheringPaths/GatheringPaths.csproj index 0e020f6..0d66642 100644 --- a/GatheringPaths/GatheringPaths.csproj +++ b/GatheringPaths/GatheringPaths.csproj @@ -14,7 +14,9 @@ + + diff --git a/GatheringPaths/Questionable.GatheringPaths.GatheringBundle b/GatheringPaths/Questionable.GatheringPaths.GatheringBundle new file mode 100644 index 0000000..6eae81e Binary files /dev/null and b/GatheringPaths/Questionable.GatheringPaths.GatheringBundle differ diff --git a/GatheringPaths/Questionable.GatheringPaths.GatheringLocationSchema b/GatheringPaths/Questionable.GatheringPaths.GatheringLocationSchema index e1794f0..14912ab 100644 --- a/GatheringPaths/Questionable.GatheringPaths.GatheringLocationSchema +++ b/GatheringPaths/Questionable.GatheringPaths.GatheringLocationSchema @@ -2,7 +2,7 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/GatheringPaths/gatheringlocation-v1.json", "title": "Gathering Location V1", - "description": "A series of gathering locationsk", + "description": "A series of gathering locations", "type": "object", "properties": { "$schema": { diff --git a/GatheringPaths/Questionable.GatheringPaths/AssemblyGatheringLocationLoader.cs b/GatheringPaths/Questionable.GatheringPaths/AssemblyGatheringLocationLoader.cs index 53d688c..b1acb0c 100644 --- a/GatheringPaths/Questionable.GatheringPaths/AssemblyGatheringLocationLoader.cs +++ b/GatheringPaths/Questionable.GatheringPaths/AssemblyGatheringLocationLoader.cs @@ -1,23992 +1,41 @@ using System; using System.Collections.Generic; +using System.Diagnostics; +using System.Globalization; using System.IO; -using System.Numerics; -using System.Runtime.InteropServices; -using Questionable.Model.Common; +using System.Security.Cryptography; +using System.Threading; using Questionable.Model.Gathering; -using Questionable.Model.Questing; +using Questionable.Model.IO; namespace Questionable.GatheringPaths; -public static class AssemblyGatheringLocationLoader +internal static class AssemblyGatheringLocationLoader { - private static Dictionary? _locations; + private static readonly Lazy> Locations = new Lazy>(LoadLocations, LazyThreadSafetyMode.ExecutionAndPublication); - public static Stream GatheringSchema => typeof(AssemblyGatheringLocationLoader).Assembly.GetManifestResourceStream("Questionable.GatheringPaths.GatheringLocationSchema"); + internal static TimeSpan? DecodeDuration { get; private set; } - public static IReadOnlyDictionary GetLocations() + internal static Stream GatheringSchema => typeof(AssemblyGatheringLocationLoader).Assembly.GetManifestResourceStream("Questionable.GatheringPaths.GatheringLocationSchema"); + + internal static IReadOnlyDictionary GetLocations() { - if (_locations == null) + return Locations.Value; + } + + private static IReadOnlyDictionary LoadLocations() + { + Stopwatch stopwatch = Stopwatch.StartNew(); + using Stream stream = typeof(AssemblyGatheringLocationLoader).Assembly.GetManifestResourceStream("Questionable.GatheringPaths.GatheringBundle"); + byte[] array = PathBundleSecret.Key(); + List> list = PathBundle.Deserialize(stream, array); + CryptographicOperations.ZeroMemory(array); + Dictionary dictionary = new Dictionary(list.Count); + foreach (var (s, value) in list) { - _locations = new Dictionary(); - LoadLocations(); + dictionary[ushort.Parse(s, CultureInfo.InvariantCulture)] = value; } - return _locations ?? throw new InvalidOperationException("location data is not initialized"); - } - - private static void AddLocation(ushort questId, GatheringRoot root) - { - _locations[questId] = root; - } - - private static void LoadLocations() - { - LoadLocation0(); - LoadLocation1(); - LoadLocation2(); - LoadLocation3(); - LoadLocation4(); - LoadLocation5(); - LoadLocation6(); - LoadLocation7(); - LoadLocation8(); - LoadLocation9(); - LoadLocation10(); - LoadLocation11(); - LoadLocation12(); - } - - private static void LoadLocation0() - { - GatheringRoot gatheringRoot = new GatheringRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - gatheringRoot.Author = list; - 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 - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - gatheringRoot.Steps = list2; - num = 4; - List list3 = new List(num); - CollectionsMarshal.SetCount(list3, num); - 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); - ref GatheringNode reference2 = ref CollectionsMarshal.AsSpan(list4)[0]; - GatheringNode obj = new GatheringNode - { - DataId = 30016u - }; - int num3 = 3; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - Span span2 = CollectionsMarshal.AsSpan(list5); - span2[0] = new GatheringLocation - { - Position = new Vector3(395.0683f, -4.213107f, 235.0844f), - MinimumAngle = -200, - MaximumAngle = 15 - }; - span2[1] = new GatheringLocation - { - Position = new Vector3(404.3488f, -2.116929f, 216.968f), - MinimumAngle = -125, - MaximumAngle = 10 - }; - span2[2] = new GatheringLocation - { - Position = new Vector3(388.5088f, -1.260179f, 222.3745f), - MinimumAngle = -145, - MaximumAngle = 0 - }; - obj.Locations = list5; - reference2 = obj; - gatheringNodeGroup.Nodes = list4; - reference = gatheringNodeGroup; - ref GatheringNodeGroup reference3 = ref span[1]; - GatheringNodeGroup gatheringNodeGroup2 = new GatheringNodeGroup(); - 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 - }; - 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 - }; - span3[1] = new GatheringLocation - { - Position = new Vector3(368.0511f, -6.085522f, 262.3561f), - MinimumAngle = -135, - MaximumAngle = 10 - }; - span3[2] = new GatheringLocation - { - Position = new Vector3(352.1197f, -2.546567f, 262.7847f), - MinimumAngle = 250, - MaximumAngle = 355 - }; - obj2.Locations = list7; - reference4 = obj2; - gatheringNodeGroup2.Nodes = list6; - reference3 = gatheringNodeGroup2; - ref GatheringNodeGroup reference5 = ref span[2]; - GatheringNodeGroup gatheringNodeGroup3 = new GatheringNodeGroup(); - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - ref GatheringNode reference6 = ref CollectionsMarshal.AsSpan(list8)[0]; - GatheringNode obj3 = new GatheringNode - { - DataId = 30081u - }; - num3 = 3; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - Span span4 = CollectionsMarshal.AsSpan(list9); - span4[0] = new GatheringLocation - { - Position = new Vector3(404.6927f, -3.737513f, 283.6237f), - MinimumAngle = 55, - MaximumAngle = 255 - }; - span4[1] = new GatheringLocation - { - Position = new Vector3(406.1155f, -4.338434f, 271.2292f), - MinimumAngle = 0, - MaximumAngle = 190 - }; - span4[2] = new GatheringLocation - { - Position = new Vector3(394.464f, -3.775356f, 286.3456f), - MinimumAngle = 105, - MaximumAngle = 290 - }; - obj3.Locations = list9; - reference6 = obj3; - gatheringNodeGroup3.Nodes = list8; - reference5 = gatheringNodeGroup3; - ref GatheringNodeGroup reference7 = ref span[3]; - GatheringNodeGroup gatheringNodeGroup4 = new GatheringNodeGroup(); - 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 - }; - 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 - }; - span5[1] = new GatheringLocation - { - Position = new Vector3(459.7153f, -1.026285f, 263.6502f), - MinimumAngle = 50, - MaximumAngle = 235 - }; - span5[2] = new GatheringLocation - { - Position = new Vector3(468.4217f, -1.290563f, 262.4874f), - MinimumAngle = 15, - MaximumAngle = 220 - }; - obj4.Locations = list11; - reference8 = obj4; - gatheringNodeGroup4.Nodes = list10; - reference7 = gatheringNodeGroup4; - gatheringRoot.Groups = list3; - AddLocation(12, gatheringRoot); - GatheringRoot gatheringRoot2 = new GatheringRoot(); - 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); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.None, null, null, 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - gatheringRoot2.Steps = list13; - 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); - ref GatheringNode reference10 = ref CollectionsMarshal.AsSpan(list15)[0]; - GatheringNode obj5 = new GatheringNode - { - DataId = 30020u - }; - num3 = 3; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - Span span7 = CollectionsMarshal.AsSpan(list16); - span7[0] = new GatheringLocation - { - Position = new Vector3(279.9662f, -9.225774f, 318.6275f), - MinimumAngle = 50, - MaximumAngle = 240 - }; - span7[1] = new GatheringLocation - { - Position = new Vector3(295.7656f, -8.987611f, 311.5129f), - MinimumAngle = 0, - MaximumAngle = 190 - }; - span7[2] = new GatheringLocation - { - Position = new Vector3(283.9807f, -11.68445f, 310.4038f), - MinimumAngle = 0, - MaximumAngle = 250 - }; - obj5.Locations = list16; - reference10 = obj5; - gatheringNodeGroup5.Nodes = list15; - reference9 = gatheringNodeGroup5; - ref GatheringNodeGroup reference11 = ref span6[1]; - GatheringNodeGroup gatheringNodeGroup6 = new GatheringNodeGroup(); - 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 - }; - 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 - }; - span8[1] = new GatheringLocation - { - Position = new Vector3(234.2172f, -22.83841f, 265.2955f), - MinimumAngle = -160, - MaximumAngle = 0 - }; - span8[2] = new GatheringLocation - { - Position = new Vector3(257.4443f, -20.59358f, 246.4006f), - MinimumAngle = -115, - MaximumAngle = 70 - }; - obj6.Locations = list18; - reference12 = obj6; - gatheringNodeGroup6.Nodes = list17; - reference11 = gatheringNodeGroup6; - ref GatheringNodeGroup reference13 = ref span6[2]; - GatheringNodeGroup gatheringNodeGroup7 = new GatheringNodeGroup(); - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - ref GatheringNode reference14 = ref CollectionsMarshal.AsSpan(list19)[0]; - GatheringNode obj7 = new GatheringNode - { - DataId = 30082u - }; - num3 = 3; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - Span span9 = CollectionsMarshal.AsSpan(list20); - span9[0] = new GatheringLocation - { - Position = new Vector3(221.3946f, -27.69197f, 317.5874f), - MinimumAngle = 0, - MaximumAngle = 125 - }; - span9[1] = new GatheringLocation - { - Position = new Vector3(209.7868f, -29.03308f, 317.4061f), - MinimumAngle = 130, - MaximumAngle = 295 - }; - span9[2] = new GatheringLocation - { - Position = new Vector3(216.8077f, -28.68546f, 320.5408f), - MinimumAngle = 45, - MaximumAngle = 230 - }; - obj7.Locations = list20; - reference14 = obj7; - gatheringNodeGroup7.Nodes = list19; - reference13 = gatheringNodeGroup7; - ref GatheringNodeGroup reference15 = ref span6[3]; - GatheringNodeGroup gatheringNodeGroup8 = new GatheringNodeGroup(); - 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 - }; - 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 - }; - span10[1] = new GatheringLocation - { - Position = new Vector3(247.4017f, -21.53168f, 284.9166f), - MinimumAngle = -40, - MaximumAngle = 100, - MinimumDistance = 1.3f, - MaximumDistance = 3f - }; - span10[2] = new GatheringLocation - { - Position = new Vector3(255.3057f, -17.90455f, 302.6251f), - MinimumAngle = 145, - MaximumAngle = 305 - }; - obj8.Locations = list22; - reference16 = obj8; - gatheringNodeGroup8.Nodes = list21; - reference15 = gatheringNodeGroup8; - gatheringRoot2.Groups = list14; - AddLocation(13, gatheringRoot2); - GatheringRoot gatheringRoot3 = new GatheringRoot(); - num = 1; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - CollectionsMarshal.AsSpan(list23)[0] = "liza"; - gatheringRoot3.Author = list23; - 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 - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - gatheringRoot3.Steps = list24; - num = 4; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - 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); - ref GatheringNode reference18 = ref CollectionsMarshal.AsSpan(list26)[0]; - GatheringNode obj9 = new GatheringNode - { - DataId = 30028u - }; - num3 = 3; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - Span span12 = CollectionsMarshal.AsSpan(list27); - span12[0] = new GatheringLocation - { - Position = new Vector3(225.8048f, -5.26357f, -71.51706f), - MinimumAngle = -60, - MaximumAngle = 105 - }; - span12[1] = new GatheringLocation - { - Position = new Vector3(229.0866f, -7.037199f, -62.40871f), - MinimumAngle = 0, - MaximumAngle = 175 - }; - span12[2] = new GatheringLocation - { - Position = new Vector3(210.4522f, -5.798344f, -69.99769f), - MinimumAngle = 180, - MaximumAngle = 360 - }; - obj9.Locations = list27; - reference18 = obj9; - gatheringNodeGroup9.Nodes = list26; - reference17 = gatheringNodeGroup9; - ref GatheringNodeGroup reference19 = ref span11[1]; - GatheringNodeGroup gatheringNodeGroup10 = new GatheringNodeGroup(); - 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 - }; - 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 - }; - span13[1] = new GatheringLocation - { - Position = new Vector3(204.9178f, -8.416177f, -24.97287f), - MinimumAngle = 50, - MaximumAngle = 260 - }; - span13[2] = new GatheringLocation - { - Position = new Vector3(196.8121f, -7.515049f, -31.74415f), - MinimumAngle = 115, - MaximumAngle = 305 - }; - obj10.Locations = list29; - reference20 = obj10; - gatheringNodeGroup10.Nodes = list28; - reference19 = gatheringNodeGroup10; - ref GatheringNodeGroup reference21 = ref span11[2]; - GatheringNodeGroup gatheringNodeGroup11 = new GatheringNodeGroup(); - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - ref GatheringNode reference22 = ref CollectionsMarshal.AsSpan(list30)[0]; - GatheringNode obj11 = new GatheringNode - { - DataId = 30027u - }; - num3 = 3; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - Span span14 = CollectionsMarshal.AsSpan(list31); - span14[0] = new GatheringLocation - { - Position = new Vector3(263.5084f, -7.83625f, -28.76189f), - MinimumAngle = 220, - MaximumAngle = 360 - }; - span14[1] = new GatheringLocation - { - Position = new Vector3(275.0262f, -6.339698f, -42.46669f), - MinimumAngle = 30, - MaximumAngle = 150, - MinimumDistance = 1.9f, - MaximumDistance = 3f - }; - span14[2] = new GatheringLocation - { - Position = new Vector3(248.5661f, -8.912354f, -5.168106f), - MinimumAngle = 0, - MaximumAngle = 235 - }; - obj11.Locations = list31; - reference22 = obj11; - gatheringNodeGroup11.Nodes = list30; - reference21 = gatheringNodeGroup11; - ref GatheringNodeGroup reference23 = ref span11[3]; - GatheringNodeGroup gatheringNodeGroup12 = new GatheringNodeGroup(); - 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 - }; - 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, - MaximumAngle = 135, - MinimumDistance = 1.8f, - MaximumDistance = 3f - }; - span15[1] = new GatheringLocation - { - Position = new Vector3(281.2963f, -6.572734f, -72.80408f), - MinimumAngle = -5, - MaximumAngle = 165 - }; - span15[2] = new GatheringLocation - { - Position = new Vector3(282.8807f, -5.350755f, -91.96065f), - MinimumAngle = -30, - MaximumAngle = 115, - MinimumDistance = 1.8f, - MaximumDistance = 3f - }; - obj12.Locations = list33; - reference24 = obj12; - gatheringNodeGroup12.Nodes = list32; - reference23 = gatheringNodeGroup12; - gatheringRoot3.Groups = list25; - AddLocation(16, gatheringRoot3); - GatheringRoot gatheringRoot4 = new GatheringRoot(); - 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); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.None, null, null, 148) - { - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - gatheringRoot4.Steps = list35; - 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); - ref GatheringNode reference26 = ref CollectionsMarshal.AsSpan(list37)[0]; - GatheringNode obj13 = new GatheringNode - { - DataId = 30034u - }; - num3 = 3; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - Span span17 = CollectionsMarshal.AsSpan(list38); - span17[0] = new GatheringLocation - { - Position = new Vector3(-105.3941f, 2.85339f, -121.8738f), - MinimumAngle = -20, - MaximumAngle = 165 - }; - span17[1] = new GatheringLocation - { - Position = new Vector3(-97.9409f, 3.064394f, -126.5676f), - MinimumAngle = 115, - MaximumAngle = 340 - }; - span17[2] = new GatheringLocation - { - Position = new Vector3(-125.5794f, 5.63143f, -133.3981f) - }; - obj13.Locations = list38; - reference26 = obj13; - gatheringNodeGroup13.Nodes = list37; - reference25 = gatheringNodeGroup13; - ref GatheringNodeGroup reference27 = ref span16[1]; - GatheringNodeGroup gatheringNodeGroup14 = new GatheringNodeGroup(); - 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 - }; - 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 - }; - span18[1] = new GatheringLocation - { - Position = new Vector3(-128.832f, 9.71995f, -145.739f) - }; - span18[2] = new GatheringLocation - { - Position = new Vector3(-117.9702f, 9.59642f, -173.7937f), - MinimumAngle = -155, - MaximumAngle = 155 - }; - obj14.Locations = list40; - reference28 = obj14; - gatheringNodeGroup14.Nodes = list39; - reference27 = gatheringNodeGroup14; - ref GatheringNodeGroup reference29 = ref span16[2]; - GatheringNodeGroup gatheringNodeGroup15 = new GatheringNodeGroup(); - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - ref GatheringNode reference30 = ref CollectionsMarshal.AsSpan(list41)[0]; - GatheringNode obj15 = new GatheringNode - { - DataId = 30036u - }; - num3 = 3; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - Span span19 = CollectionsMarshal.AsSpan(list42); - span19[0] = new GatheringLocation - { - Position = new Vector3(-182.3201f, 3.129771f, -91.56992f), - MinimumAngle = -190, - MaximumAngle = 65 - }; - span19[1] = new GatheringLocation - { - Position = new Vector3(-177.8435f, 2.23569f, -67.93159f), - MinimumAngle = -160, - MaximumAngle = 30 - }; - span19[2] = new GatheringLocation - { - Position = new Vector3(-163.9663f, 1.91069f, -52.19678f), - MinimumAngle = 135, - MaximumAngle = 300 - }; - obj15.Locations = list42; - reference30 = obj15; - gatheringNodeGroup15.Nodes = list41; - reference29 = gatheringNodeGroup15; - ref GatheringNodeGroup reference31 = ref span16[3]; - GatheringNodeGroup gatheringNodeGroup16 = new GatheringNodeGroup(); - 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 - }; - 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 - }; - span20[1] = new GatheringLocation - { - Position = new Vector3(-121.5437f, -1.821766f, -74.98891f) - }; - span20[2] = new GatheringLocation - { - Position = new Vector3(-114.8504f, -1.186134f, -88.04849f), - MinimumAngle = -210, - MaximumAngle = 90 - }; - obj16.Locations = list44; - reference32 = obj16; - gatheringNodeGroup16.Nodes = list43; - reference31 = gatheringNodeGroup16; - gatheringRoot4.Groups = list36; - AddLocation(19, gatheringRoot4); - GatheringRoot gatheringRoot5 = new GatheringRoot(); - num = 1; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - CollectionsMarshal.AsSpan(list45)[0] = "liza"; - gatheringRoot5.Author = list45; - 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 - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - gatheringRoot5.Steps = list46; - num = 4; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - 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); - ref GatheringNode reference34 = ref CollectionsMarshal.AsSpan(list48)[0]; - GatheringNode obj17 = new GatheringNode - { - DataId = 30098u - }; - num3 = 3; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - Span span22 = CollectionsMarshal.AsSpan(list49); - span22[0] = new GatheringLocation - { - Position = new Vector3(300.7484f, -15.4861f, 153.9048f), - MinimumAngle = 175, - MaximumAngle = 360 - }; - span22[1] = new GatheringLocation - { - Position = new Vector3(297.8418f, -20.09089f, 166.8599f), - MinimumAngle = 95, - MaximumAngle = 265 - }; - span22[2] = new GatheringLocation - { - Position = new Vector3(312.9494f, -14.81517f, 145.3793f), - MinimumAngle = 110, - MaximumAngle = 270 - }; - obj17.Locations = list49; - reference34 = obj17; - gatheringNodeGroup17.Nodes = list48; - reference33 = gatheringNodeGroup17; - ref GatheringNodeGroup reference35 = ref span21[1]; - GatheringNodeGroup gatheringNodeGroup18 = new GatheringNodeGroup(); - 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 - }; - 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 - }; - span23[1] = new GatheringLocation - { - Position = new Vector3(300.7116f, -9.200176f, 128.1148f), - MinimumAngle = 20, - MaximumAngle = 205 - }; - span23[2] = new GatheringLocation - { - Position = new Vector3(313.6669f, -5.031699f, 119.2471f), - MinimumAngle = 0, - MaximumAngle = 185 - }; - obj18.Locations = list51; - reference36 = obj18; - gatheringNodeGroup18.Nodes = list50; - reference35 = gatheringNodeGroup18; - ref GatheringNodeGroup reference37 = ref span21[2]; - GatheringNodeGroup gatheringNodeGroup19 = new GatheringNodeGroup(); - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - ref GatheringNode reference38 = ref CollectionsMarshal.AsSpan(list52)[0]; - GatheringNode obj19 = new GatheringNode - { - DataId = 30100u - }; - num3 = 3; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - Span span24 = CollectionsMarshal.AsSpan(list53); - span24[0] = new GatheringLocation - { - Position = new Vector3(222.8638f, -1.971927f, 82.03091f), - MinimumAngle = -115, - MaximumAngle = 25 - }; - span24[1] = new GatheringLocation - { - Position = new Vector3(274.0746f, 6.008316f, 65.73824f), - MinimumAngle = -115, - MaximumAngle = 75 - }; - span24[2] = new GatheringLocation - { - Position = new Vector3(252.9545f, 5.45654f, 50.69089f), - MinimumAngle = 225, - MaximumAngle = 360 - }; - obj19.Locations = list53; - reference38 = obj19; - gatheringNodeGroup19.Nodes = list52; - reference37 = gatheringNodeGroup19; - ref GatheringNodeGroup reference39 = ref span21[3]; - GatheringNodeGroup gatheringNodeGroup20 = new GatheringNodeGroup(); - 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 - }; - 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 - }; - span25[1] = new GatheringLocation - { - Position = new Vector3(240.5732f, -17.28173f, 176.6604f), - MinimumAngle = 80, - MaximumAngle = 255 - }; - span25[2] = new GatheringLocation - { - Position = new Vector3(256.3937f, -16.40165f, 164.8165f), - MinimumAngle = 90, - MaximumAngle = 295 - }; - obj20.Locations = list55; - reference40 = obj20; - gatheringNodeGroup20.Nodes = list54; - reference39 = gatheringNodeGroup20; - gatheringRoot5.Groups = list47; - AddLocation(35, gatheringRoot5); - } - - private static void LoadLocation1() - { - GatheringRoot gatheringRoot = new GatheringRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - gatheringRoot.Author = list; - 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 - }; - gatheringRoot.Steps = list2; - num = 4; - List list3 = new List(num); - CollectionsMarshal.SetCount(list3, num); - 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); - ref GatheringNode reference2 = ref CollectionsMarshal.AsSpan(list4)[0]; - GatheringNode obj = new GatheringNode - { - DataId = 30414u - }; - int num3 = 3; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - Span span2 = CollectionsMarshal.AsSpan(list5); - span2[0] = new GatheringLocation - { - Position = new Vector3(249.8601f, 55.12077f, 178.5377f), - MinimumAngle = 125, - MaximumAngle = 270 - }; - span2[1] = new GatheringLocation - { - Position = new Vector3(253.9519f, 55.95691f, 181.4238f), - MinimumAngle = 180, - MaximumAngle = 285 - }; - span2[2] = new GatheringLocation - { - Position = new Vector3(244.4912f, 53.49751f, 169.9265f), - MinimumAngle = 150, - MaximumAngle = 250 - }; - obj.Locations = list5; - reference2 = obj; - gatheringNodeGroup.Nodes = list4; - reference = gatheringNodeGroup; - ref GatheringNodeGroup reference3 = ref span[1]; - GatheringNodeGroup gatheringNodeGroup2 = new GatheringNodeGroup(); - 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 - }; - 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 - }; - span3[1] = new GatheringLocation - { - Position = new Vector3(300.3293f, 63.1124f, 175.0616f), - MinimumAngle = 65, - MaximumAngle = 155 - }; - span3[2] = new GatheringLocation - { - Position = new Vector3(296.3942f, 61.46834f, 182.3181f), - MinimumAngle = 70, - MaximumAngle = 185 - }; - obj2.Locations = list7; - reference4 = obj2; - gatheringNodeGroup2.Nodes = list6; - reference3 = gatheringNodeGroup2; - ref GatheringNodeGroup reference5 = ref span[2]; - GatheringNodeGroup gatheringNodeGroup3 = new GatheringNodeGroup(); - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - ref GatheringNode reference6 = ref CollectionsMarshal.AsSpan(list8)[0]; - GatheringNode obj3 = new GatheringNode - { - DataId = 30415u - }; - num3 = 3; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - Span span4 = CollectionsMarshal.AsSpan(list9); - span4[0] = new GatheringLocation - { - Position = new Vector3(262.1395f, 58.70948f, 239.3097f), - MinimumAngle = 105, - MaximumAngle = 210 - }; - span4[1] = new GatheringLocation - { - Position = new Vector3(284.4424f, 59.78878f, 222.5899f), - MinimumAngle = 65, - MaximumAngle = 240 - }; - span4[2] = new GatheringLocation - { - Position = new Vector3(278.6144f, 59.63044f, 231.8303f), - MinimumAngle = 95, - MaximumAngle = 185 - }; - obj3.Locations = list9; - reference6 = obj3; - gatheringNodeGroup3.Nodes = list8; - reference5 = gatheringNodeGroup3; - ref GatheringNodeGroup reference7 = ref span[3]; - GatheringNodeGroup gatheringNodeGroup4 = new GatheringNodeGroup(); - 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 - }; - 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 - }; - span5[1] = new GatheringLocation - { - Position = new Vector3(212.3073f, 58.06055f, 245.9091f), - MinimumAngle = 80, - MaximumAngle = 220 - }; - span5[2] = new GatheringLocation - { - Position = new Vector3(235.9484f, 58.30469f, 249.0489f), - MinimumAngle = 80, - MaximumAngle = 190 - }; - obj4.Locations = list11; - reference8 = obj4; - gatheringNodeGroup4.Nodes = list10; - reference7 = gatheringNodeGroup4; - gatheringRoot.Groups = list3; - AddLocation(154, gatheringRoot); - GatheringRoot gatheringRoot2 = new GatheringRoot(); - 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); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.None, null, null, 141) - { - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - gatheringRoot2.Steps = list13; - 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); - ref GatheringNode reference10 = ref CollectionsMarshal.AsSpan(list15)[0]; - GatheringNode obj5 = new GatheringNode - { - DataId = 30425u - }; - num3 = 3; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - Span span7 = CollectionsMarshal.AsSpan(list16); - span7[0] = new GatheringLocation - { - Position = new Vector3(118.6389f, 7.583679f, 262.4399f), - MinimumAngle = 60, - MaximumAngle = 170 - }; - span7[1] = new GatheringLocation - { - Position = new Vector3(113.4342f, 4.562373f, 271.4816f), - MinimumAngle = 80, - MaximumAngle = 190 - }; - span7[2] = new GatheringLocation - { - Position = new Vector3(116.9106f, 2.964557f, 285.8209f), - MinimumAngle = 0, - MaximumAngle = 115 - }; - obj5.Locations = list16; - reference10 = obj5; - gatheringNodeGroup5.Nodes = list15; - reference9 = gatheringNodeGroup5; - ref GatheringNodeGroup reference11 = ref span6[1]; - GatheringNodeGroup gatheringNodeGroup6 = new GatheringNodeGroup(); - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - ref GatheringNode reference12 = ref CollectionsMarshal.AsSpan(list17)[0]; - GatheringNode obj6 = new GatheringNode - { - DataId = 30427u - }; - num3 = 3; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - Span span8 = CollectionsMarshal.AsSpan(list18); - span8[0] = new GatheringLocation - { - Position = new Vector3(127.2449f, 15.54889f, 240.1923f), - MinimumAngle = 15, - MaximumAngle = 115 - }; - span8[1] = new GatheringLocation - { - Position = new Vector3(122.0915f, 14.071f, 225.1131f), - MinimumAngle = 0, - MaximumAngle = 110 - }; - span8[2] = new GatheringLocation - { - Position = new Vector3(120.8954f, 15.9651f, 213.8515f), - MinimumAngle = 30, - MaximumAngle = 115 - }; - obj6.Locations = list18; - reference12 = obj6; - gatheringNodeGroup6.Nodes = list17; - reference11 = gatheringNodeGroup6; - ref GatheringNodeGroup reference13 = ref span6[2]; - GatheringNodeGroup gatheringNodeGroup7 = new GatheringNodeGroup(); - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - ref GatheringNode reference14 = ref CollectionsMarshal.AsSpan(list19)[0]; - GatheringNode obj7 = new GatheringNode - { - DataId = 30426u - }; - num3 = 3; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - Span span9 = CollectionsMarshal.AsSpan(list20); - span9[0] = new GatheringLocation - { - Position = new Vector3(148.7842f, 16.44447f, 292.8037f), - MinimumAngle = 30, - MaximumAngle = 135 - }; - span9[1] = new GatheringLocation - { - Position = new Vector3(144.9166f, 18.86193f, 264.833f), - MinimumAngle = 15, - MaximumAngle = 95 - }; - span9[2] = new GatheringLocation - { - Position = new Vector3(152.6806f, 16.58945f, 300.3315f), - MinimumAngle = 0, - MaximumAngle = 75 - }; - obj7.Locations = list20; - reference14 = obj7; - gatheringNodeGroup7.Nodes = list19; - reference13 = gatheringNodeGroup7; - ref GatheringNodeGroup reference15 = ref span6[3]; - GatheringNodeGroup gatheringNodeGroup8 = new GatheringNodeGroup(); - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - ref GatheringNode reference16 = ref CollectionsMarshal.AsSpan(list21)[0]; - GatheringNode obj8 = new GatheringNode - { - DataId = 30428u - }; - num3 = 3; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - Span span10 = CollectionsMarshal.AsSpan(list22); - span10[0] = new GatheringLocation - { - Position = new Vector3(137.6659f, 6.65416f, 311.1226f), - MinimumAngle = 15, - MaximumAngle = 135 - }; - span10[1] = new GatheringLocation - { - Position = new Vector3(141.0331f, 5.844177f, 325.063f), - MinimumAngle = 0, - MaximumAngle = 150 - }; - span10[2] = new GatheringLocation - { - Position = new Vector3(130.6749f, 5.736229f, 300.4703f), - MinimumAngle = -5, - MaximumAngle = 100 - }; - obj8.Locations = list22; - reference16 = obj8; - gatheringNodeGroup8.Nodes = list21; - reference15 = gatheringNodeGroup8; - gatheringRoot2.Groups = list14; - AddLocation(157, gatheringRoot2); - GatheringRoot gatheringRoot3 = new GatheringRoot(); - num = 1; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - CollectionsMarshal.AsSpan(list23)[0] = "Censored"; - gatheringRoot3.Author = list23; - num = 1; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.None, null, null, 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - gatheringRoot3.Steps = list24; - num = 2; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - Span span11 = CollectionsMarshal.AsSpan(list25); - span11[0] = 2001424u; - span11[1] = 2001425u; - gatheringRoot3.ExtraQuestItems = list25; - num = 4; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - Span span12 = CollectionsMarshal.AsSpan(list26); - ref GatheringNodeGroup reference17 = ref span12[0]; - GatheringNodeGroup gatheringNodeGroup9 = new GatheringNodeGroup(); - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - ref GatheringNode reference18 = ref CollectionsMarshal.AsSpan(list27)[0]; - GatheringNode obj9 = new GatheringNode - { - DataId = 31046u - }; - num3 = 2; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - Span span13 = CollectionsMarshal.AsSpan(list28); - span13[0] = new GatheringLocation - { - Position = new Vector3(268.635f, 299.8158f, -114.4274f) - }; - span13[1] = new GatheringLocation - { - Position = new Vector3(284.4186f, 309.0771f, -128.535f) - }; - obj9.Locations = list28; - reference18 = obj9; - gatheringNodeGroup9.Nodes = list27; - reference17 = gatheringNodeGroup9; - ref GatheringNodeGroup reference19 = ref span12[1]; - GatheringNodeGroup gatheringNodeGroup10 = new GatheringNodeGroup(); - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - ref GatheringNode reference20 = ref CollectionsMarshal.AsSpan(list29)[0]; - GatheringNode obj10 = new GatheringNode - { - DataId = 31045u - }; - num3 = 2; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - Span span14 = CollectionsMarshal.AsSpan(list30); - span14[0] = new GatheringLocation - { - Position = new Vector3(198.4182f, 288.6254f, -93.58918f) - }; - span14[1] = new GatheringLocation - { - Position = new Vector3(206.082f, 279.446f, -57.03315f) - }; - obj10.Locations = list30; - reference20 = obj10; - gatheringNodeGroup10.Nodes = list29; - reference19 = gatheringNodeGroup10; - ref GatheringNodeGroup reference21 = ref span12[2]; - GatheringNodeGroup gatheringNodeGroup11 = new GatheringNodeGroup(); - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - ref GatheringNode reference22 = ref CollectionsMarshal.AsSpan(list31)[0]; - GatheringNode obj11 = new GatheringNode - { - DataId = 31047u - }; - num3 = 2; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - Span span15 = CollectionsMarshal.AsSpan(list32); - span15[0] = new GatheringLocation - { - Position = new Vector3(270.5842f, 291.5777f, -57.16897f) - }; - span15[1] = new GatheringLocation - { - Position = new Vector3(242.9548f, 283.3405f, -56.95627f) - }; - obj11.Locations = list32; - reference22 = obj11; - gatheringNodeGroup11.Nodes = list31; - reference21 = gatheringNodeGroup11; - ref GatheringNodeGroup reference23 = ref span12[3]; - GatheringNodeGroup gatheringNodeGroup12 = new GatheringNodeGroup(); - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - ref GatheringNode reference24 = ref CollectionsMarshal.AsSpan(list33)[0]; - GatheringNode obj12 = new GatheringNode - { - DataId = 31048u - }; - num3 = 2; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - Span span16 = CollectionsMarshal.AsSpan(list34); - span16[0] = new GatheringLocation - { - Position = new Vector3(297.2305f, 305.3402f, -78.08051f) - }; - span16[1] = new GatheringLocation - { - Position = new Vector3(310.8341f, 307.6252f, -72.68935f) - }; - obj12.Locations = list34; - reference24 = obj12; - gatheringNodeGroup12.Nodes = list33; - reference23 = gatheringNodeGroup12; - gatheringRoot3.Groups = list26; - AddLocation(170, gatheringRoot3); - GatheringRoot gatheringRoot4 = new GatheringRoot(); - num = 1; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - CollectionsMarshal.AsSpan(list35)[0] = "Censored"; - gatheringRoot4.Author = list35; - num = 1; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.None, null, null, 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - gatheringRoot4.Steps = list36; - num = 2; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - Span span17 = CollectionsMarshal.AsSpan(list37); - span17[0] = 2001391u; - span17[1] = 2001392u; - gatheringRoot4.ExtraQuestItems = list37; - num = 4; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - Span span18 = CollectionsMarshal.AsSpan(list38); - ref GatheringNodeGroup reference25 = ref span18[0]; - GatheringNodeGroup gatheringNodeGroup13 = new GatheringNodeGroup(); - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - ref GatheringNode reference26 = ref CollectionsMarshal.AsSpan(list39)[0]; - GatheringNode obj13 = new GatheringNode - { - DataId = 31049u - }; - num3 = 2; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - Span span19 = CollectionsMarshal.AsSpan(list40); - span19[0] = new GatheringLocation - { - Position = new Vector3(232.6686f, -2.063462f, -13.87066f), - MinimumAngle = -75, - MaximumAngle = 85 - }; - span19[1] = new GatheringLocation - { - Position = new Vector3(208.5002f, -1.21151f, -8.481951f), - MinimumAngle = -105, - MaximumAngle = 130 - }; - obj13.Locations = list40; - reference26 = obj13; - gatheringNodeGroup13.Nodes = list39; - reference25 = gatheringNodeGroup13; - ref GatheringNodeGroup reference27 = ref span18[1]; - GatheringNodeGroup gatheringNodeGroup14 = new GatheringNodeGroup(); - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - ref GatheringNode reference28 = ref CollectionsMarshal.AsSpan(list41)[0]; - GatheringNode obj14 = new GatheringNode - { - DataId = 31051u - }; - num3 = 2; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - Span span20 = CollectionsMarshal.AsSpan(list42); - span20[0] = new GatheringLocation - { - Position = new Vector3(174.384f, -0.4081409f, 40.32799f), - MinimumAngle = -155, - MaximumAngle = 50 - }; - span20[1] = new GatheringLocation - { - Position = new Vector3(180.6999f, 0.5284532f, 43.46334f), - MinimumAngle = -350, - MaximumAngle = -120 - }; - obj14.Locations = list42; - reference28 = obj14; - gatheringNodeGroup14.Nodes = list41; - reference27 = gatheringNodeGroup14; - ref GatheringNodeGroup reference29 = ref span18[2]; - GatheringNodeGroup gatheringNodeGroup15 = new GatheringNodeGroup(); - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - ref GatheringNode reference30 = ref CollectionsMarshal.AsSpan(list43)[0]; - GatheringNode obj15 = new GatheringNode - { - DataId = 31052u - }; - num3 = 2; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - Span span21 = CollectionsMarshal.AsSpan(list44); - span21[0] = new GatheringLocation - { - Position = new Vector3(239.2585f, -10.81729f, 85.37144f), - MinimumAngle = -260, - MaximumAngle = -70 - }; - span21[1] = new GatheringLocation - { - Position = new Vector3(219.6392f, -8.915615f, 78.84674f), - MinimumAngle = -255, - MaximumAngle = -70 - }; - obj15.Locations = list44; - reference30 = obj15; - gatheringNodeGroup15.Nodes = list43; - reference29 = gatheringNodeGroup15; - ref GatheringNodeGroup reference31 = ref span18[3]; - GatheringNodeGroup gatheringNodeGroup16 = new GatheringNodeGroup(); - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - ref GatheringNode reference32 = ref CollectionsMarshal.AsSpan(list45)[0]; - GatheringNode obj16 = new GatheringNode - { - DataId = 31050u - }; - num3 = 2; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - Span span22 = CollectionsMarshal.AsSpan(list46); - span22[0] = new GatheringLocation - { - Position = new Vector3(172.7773f, -0.5520306f, -24.73335f), - MinimumAngle = -65, - MaximumAngle = 145 - }; - span22[1] = new GatheringLocation - { - Position = new Vector3(158.3542f, 0.1226652f, -17.62734f), - MinimumAngle = -180, - MaximumAngle = 10 - }; - obj16.Locations = list46; - reference32 = obj16; - gatheringNodeGroup16.Nodes = list45; - reference31 = gatheringNodeGroup16; - gatheringRoot4.Groups = list38; - AddLocation(181, gatheringRoot4); - } - - private static void LoadLocation2() - { - GatheringRoot gatheringRoot = new GatheringRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "Censored"; - gatheringRoot.Author = list; - num = 1; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - CollectionsMarshal.AsSpan(list2)[0] = new QuestStep(EInteractionType.None, null, null, 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - gatheringRoot.Steps = list2; - num = 2; - List list3 = new List(num); - CollectionsMarshal.SetCount(list3, num); - Span span = CollectionsMarshal.AsSpan(list3); - span[0] = 2001415u; - span[1] = 2001416u; - gatheringRoot.ExtraQuestItems = list3; - num = 4; - List list4 = new List(num); - CollectionsMarshal.SetCount(list4, num); - Span span2 = CollectionsMarshal.AsSpan(list4); - ref GatheringNodeGroup reference = ref span2[0]; - GatheringNodeGroup gatheringNodeGroup = new GatheringNodeGroup(); - int num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - ref GatheringNode reference2 = ref CollectionsMarshal.AsSpan(list5)[0]; - GatheringNode obj = new GatheringNode - { - DataId = 30452u - }; - int num3 = 2; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - Span span3 = CollectionsMarshal.AsSpan(list6); - span3[0] = new GatheringLocation - { - Position = new Vector3(-333.5713f, -15.49291f, -326.9827f), - MinimumAngle = -250, - MaximumAngle = -115 - }; - span3[1] = new GatheringLocation - { - Position = new Vector3(-353.6776f, -15.7935f, -321.7334f), - MinimumAngle = -190, - MaximumAngle = -100 - }; - obj.Locations = list6; - reference2 = obj; - gatheringNodeGroup.Nodes = list5; - reference = gatheringNodeGroup; - ref GatheringNodeGroup reference3 = ref span2[1]; - GatheringNodeGroup gatheringNodeGroup2 = new GatheringNodeGroup(); - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - ref GatheringNode reference4 = ref CollectionsMarshal.AsSpan(list7)[0]; - GatheringNode obj2 = new GatheringNode - { - DataId = 30449u - }; - num3 = 2; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - Span span4 = CollectionsMarshal.AsSpan(list8); - span4[0] = new GatheringLocation - { - Position = new Vector3(-308.8034f, -13.83647f, -329.9288f), - MinimumAngle = -55, - MaximumAngle = 70, - MinimumDistance = 1.4f, - MaximumDistance = 3f - }; - span4[1] = new GatheringLocation - { - Position = new Vector3(-290.5811f, -11.39756f, -323.1493f), - MinimumAngle = -65, - MaximumAngle = 95 - }; - obj2.Locations = list8; - reference4 = obj2; - gatheringNodeGroup2.Nodes = list7; - reference3 = gatheringNodeGroup2; - ref GatheringNodeGroup reference5 = ref span2[2]; - GatheringNodeGroup gatheringNodeGroup3 = new GatheringNodeGroup(); - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - ref GatheringNode reference6 = ref CollectionsMarshal.AsSpan(list9)[0]; - GatheringNode obj3 = new GatheringNode - { - DataId = 30450u - }; - num3 = 2; - List list10 = new List(num3); - CollectionsMarshal.SetCount(list10, num3); - Span span5 = CollectionsMarshal.AsSpan(list10); - span5[0] = new GatheringLocation - { - Position = new Vector3(-281.3932f, -8.5558f, -326.8167f), - MinimumAngle = -135, - MaximumAngle = 5 - }; - span5[1] = new GatheringLocation - { - Position = new Vector3(-266.9396f, -6.345774f, -325.4775f), - MinimumAngle = 135, - MaximumAngle = 250, - MinimumDistance = 1.4f, - MaximumDistance = 3f - }; - obj3.Locations = list10; - reference6 = obj3; - gatheringNodeGroup3.Nodes = list9; - reference5 = gatheringNodeGroup3; - ref GatheringNodeGroup reference7 = ref span2[3]; - GatheringNodeGroup gatheringNodeGroup4 = new GatheringNodeGroup(); - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - ref GatheringNode reference8 = ref CollectionsMarshal.AsSpan(list11)[0]; - GatheringNode obj4 = new GatheringNode - { - DataId = 30451u - }; - num3 = 2; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - Span span6 = CollectionsMarshal.AsSpan(list12); - span6[0] = new GatheringLocation - { - Position = new Vector3(-254.5719f, -5.395673f, -317.087f), - MinimumAngle = 180, - MaximumAngle = 275 - }; - span6[1] = new GatheringLocation - { - Position = new Vector3(-249.4642f, -5.140871f, -324.9326f), - MinimumAngle = -10, - MaximumAngle = 60, - MinimumDistance = 1.8f, - MaximumDistance = 3f - }; - obj4.Locations = list12; - reference8 = obj4; - gatheringNodeGroup4.Nodes = list11; - reference7 = gatheringNodeGroup4; - gatheringRoot.Groups = list4; - AddLocation(206, gatheringRoot); - GatheringRoot gatheringRoot2 = new GatheringRoot(); - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = "Censored"; - gatheringRoot2.Author = list13; - num = 1; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.None, null, null, 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - gatheringRoot2.Steps = list14; - num = 2; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - Span span7 = CollectionsMarshal.AsSpan(list15); - span7[0] = 2001426u; - span7[1] = 2001427u; - gatheringRoot2.ExtraQuestItems = list15; - num = 4; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - Span span8 = CollectionsMarshal.AsSpan(list16); - ref GatheringNodeGroup reference9 = ref span8[0]; - GatheringNodeGroup gatheringNodeGroup5 = new GatheringNodeGroup(); - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - ref GatheringNode reference10 = ref CollectionsMarshal.AsSpan(list17)[0]; - GatheringNode obj5 = new GatheringNode - { - DataId = 30510u - }; - num3 = 2; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - Span span9 = CollectionsMarshal.AsSpan(list18); - span9[0] = new GatheringLocation - { - Position = new Vector3(334.4322f, 307.1861f, -252.2396f) - }; - span9[1] = new GatheringLocation - { - Position = new Vector3(318.1049f, 305.9586f, -236.1029f), - MinimumAngle = -270, - MaximumAngle = -155, - MinimumDistance = 1f, - MaximumDistance = 1.8f - }; - obj5.Locations = list18; - reference10 = obj5; - gatheringNodeGroup5.Nodes = list17; - reference9 = gatheringNodeGroup5; - ref GatheringNodeGroup reference11 = ref span8[1]; - GatheringNodeGroup gatheringNodeGroup6 = new GatheringNodeGroup(); - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - ref GatheringNode reference12 = ref CollectionsMarshal.AsSpan(list19)[0]; - GatheringNode obj6 = new GatheringNode - { - DataId = 30511u - }; - num3 = 2; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - Span span10 = CollectionsMarshal.AsSpan(list20); - span10[0] = new GatheringLocation - { - Position = new Vector3(347.1616f, 316.7778f, -231.3722f), - MinimumAngle = -45, - MaximumAngle = 190 - }; - span10[1] = new GatheringLocation - { - Position = new Vector3(355.554f, 321.804f, -231.1056f), - MinimumAngle = -285, - MaximumAngle = -60 - }; - obj6.Locations = list20; - reference12 = obj6; - gatheringNodeGroup6.Nodes = list19; - reference11 = gatheringNodeGroup6; - ref GatheringNodeGroup reference13 = ref span8[2]; - GatheringNodeGroup gatheringNodeGroup7 = new GatheringNodeGroup(); - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - ref GatheringNode reference14 = ref CollectionsMarshal.AsSpan(list21)[0]; - GatheringNode obj7 = new GatheringNode - { - DataId = 30508u - }; - num3 = 2; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - Span span11 = CollectionsMarshal.AsSpan(list22); - span11[0] = new GatheringLocation - { - Position = new Vector3(298.5091f, 309.1797f, -201.3309f), - MinimumAngle = 105, - MaximumAngle = 220 - }; - span11[1] = new GatheringLocation - { - Position = new Vector3(291.6585f, 305.774f, -206.6072f), - MinimumAngle = -220, - MaximumAngle = -30 - }; - obj7.Locations = list22; - reference14 = obj7; - gatheringNodeGroup7.Nodes = list21; - reference13 = gatheringNodeGroup7; - ref GatheringNodeGroup reference15 = ref span8[3]; - GatheringNodeGroup gatheringNodeGroup8 = new GatheringNodeGroup(); - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - ref GatheringNode reference16 = ref CollectionsMarshal.AsSpan(list23)[0]; - GatheringNode obj8 = new GatheringNode - { - DataId = 30509u - }; - num3 = 2; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - Span span12 = CollectionsMarshal.AsSpan(list24); - span12[0] = new GatheringLocation - { - Position = new Vector3(325.9026f, 306.1053f, -278.1509f), - MinimumAngle = -350, - MaximumAngle = -55 - }; - span12[1] = new GatheringLocation - { - Position = new Vector3(289.1882f, 302.4524f, -261.3322f), - MinimumAngle = -240, - MaximumAngle = 20 - }; - obj8.Locations = list24; - reference16 = obj8; - gatheringNodeGroup8.Nodes = list23; - reference15 = gatheringNodeGroup8; - gatheringRoot2.Groups = list16; - AddLocation(208, gatheringRoot2); - GatheringRoot gatheringRoot3 = new GatheringRoot(); - num = 1; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - CollectionsMarshal.AsSpan(list25)[0] = "Censored"; - gatheringRoot3.Author = list25; - num = 1; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.None, null, null, 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - gatheringRoot3.Steps = list26; - num = 2; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - Span span13 = CollectionsMarshal.AsSpan(list27); - span13[0] = 2001388u; - span13[1] = 2001389u; - gatheringRoot3.ExtraQuestItems = list27; - num = 4; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - Span span14 = CollectionsMarshal.AsSpan(list28); - ref GatheringNodeGroup reference17 = ref span14[0]; - GatheringNodeGroup gatheringNodeGroup9 = new GatheringNodeGroup(); - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - ref GatheringNode reference18 = ref CollectionsMarshal.AsSpan(list29)[0]; - GatheringNode obj9 = new GatheringNode - { - DataId = 31037u - }; - num3 = 2; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - Span span15 = CollectionsMarshal.AsSpan(list30); - span15[0] = new GatheringLocation - { - Position = new Vector3(37.26512f, -5.35672f, -17.14218f) - }; - span15[1] = new GatheringLocation - { - Position = new Vector3(38.57137f, -5.615489f, -22.79385f), - MinimumAngle = -175, - MaximumAngle = 45 - }; - obj9.Locations = list30; - reference18 = obj9; - gatheringNodeGroup9.Nodes = list29; - reference17 = gatheringNodeGroup9; - ref GatheringNodeGroup reference19 = ref span14[1]; - GatheringNodeGroup gatheringNodeGroup10 = new GatheringNodeGroup(); - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - ref GatheringNode reference20 = ref CollectionsMarshal.AsSpan(list31)[0]; - GatheringNode obj10 = new GatheringNode - { - DataId = 31040u - }; - num3 = 2; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - Span span16 = CollectionsMarshal.AsSpan(list32); - span16[0] = new GatheringLocation - { - Position = new Vector3(31.95057f, -6.724361f, -2.002786f), - MinimumAngle = -140, - MaximumAngle = 140 - }; - span16[1] = new GatheringLocation - { - Position = new Vector3(29.91186f, -7.849501f, -8.288407f), - MinimumAngle = -310, - MaximumAngle = -50 - }; - obj10.Locations = list32; - reference20 = obj10; - gatheringNodeGroup10.Nodes = list31; - reference19 = gatheringNodeGroup10; - ref GatheringNodeGroup reference21 = ref span14[2]; - GatheringNodeGroup gatheringNodeGroup11 = new GatheringNodeGroup(); - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - ref GatheringNode reference22 = ref CollectionsMarshal.AsSpan(list33)[0]; - GatheringNode obj11 = new GatheringNode - { - DataId = 31038u - }; - num3 = 2; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - Span span17 = CollectionsMarshal.AsSpan(list34); - span17[0] = new GatheringLocation - { - Position = new Vector3(78.76174f, -11.8893f, 3.8787f), - MinimumAngle = 45, - MaximumAngle = 220 - }; - span17[1] = new GatheringLocation - { - Position = new Vector3(81.825f, -12.01711f, -3.642704f), - MinimumAngle = 0, - MaximumAngle = 185 - }; - obj11.Locations = list34; - reference22 = obj11; - gatheringNodeGroup11.Nodes = list33; - reference21 = gatheringNodeGroup11; - ref GatheringNodeGroup reference23 = ref span14[3]; - GatheringNodeGroup gatheringNodeGroup12 = new GatheringNodeGroup(); - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - ref GatheringNode reference24 = ref CollectionsMarshal.AsSpan(list35)[0]; - GatheringNode obj12 = new GatheringNode - { - DataId = 31039u - }; - num3 = 2; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - Span span18 = CollectionsMarshal.AsSpan(list36); - span18[0] = new GatheringLocation - { - Position = new Vector3(61.52108f, -11.51824f, -20.57552f), - MinimumAngle = -145, - MaximumAngle = 85 - }; - span18[1] = new GatheringLocation - { - Position = new Vector3(53.08001f, -11.09225f, -27.17002f), - MinimumAngle = -50, - MaximumAngle = 115 - }; - obj12.Locations = list36; - reference24 = obj12; - gatheringNodeGroup12.Nodes = list35; - reference23 = gatheringNodeGroup12; - gatheringRoot3.Groups = list28; - AddLocation(243, gatheringRoot3); - GatheringRoot gatheringRoot4 = new GatheringRoot(); - num = 1; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - CollectionsMarshal.AsSpan(list37)[0] = "Censored"; - gatheringRoot4.Author = list37; - num = 1; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.None, null, null, 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - gatheringRoot4.Steps = list38; - num = 2; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - Span span19 = CollectionsMarshal.AsSpan(list39); - span19[0] = 2001412u; - span19[1] = 2001413u; - gatheringRoot4.ExtraQuestItems = list39; - num = 3; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - Span span20 = CollectionsMarshal.AsSpan(list40); - ref GatheringNodeGroup reference25 = ref span20[0]; - GatheringNodeGroup gatheringNodeGroup13 = new GatheringNodeGroup(); - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - ref GatheringNode reference26 = ref CollectionsMarshal.AsSpan(list41)[0]; - GatheringNode obj13 = new GatheringNode - { - DataId = 31043u - }; - num3 = 2; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - Span span21 = CollectionsMarshal.AsSpan(list42); - span21[0] = new GatheringLocation - { - Position = new Vector3(-371.8556f, -15.86567f, -363.9182f), - MinimumAngle = -145, - MaximumAngle = -35 - }; - span21[1] = new GatheringLocation - { - Position = new Vector3(-372.1209f, -16.00947f, -351.6216f), - MinimumAngle = -125, - MaximumAngle = 30 - }; - obj13.Locations = list42; - reference26 = obj13; - gatheringNodeGroup13.Nodes = list41; - reference25 = gatheringNodeGroup13; - ref GatheringNodeGroup reference27 = ref span20[1]; - GatheringNodeGroup gatheringNodeGroup14 = new GatheringNodeGroup(); - num2 = 2; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - Span span22 = CollectionsMarshal.AsSpan(list43); - ref GatheringNode reference28 = ref span22[0]; - GatheringNode obj14 = new GatheringNode - { - DataId = 31044u - }; - num3 = 2; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - Span span23 = CollectionsMarshal.AsSpan(list44); - span23[0] = new GatheringLocation - { - Position = new Vector3(-344.8759f, -16.46771f, -338.7833f), - MinimumAngle = -90, - MaximumAngle = 75 - }; - span23[1] = new GatheringLocation - { - Position = new Vector3(-332.5748f, -16.07329f, -337.0371f), - MinimumAngle = -65, - MaximumAngle = 105 - }; - obj14.Locations = list44; - reference28 = obj14; - ref GatheringNode reference29 = ref span22[1]; - GatheringNode obj15 = new GatheringNode - { - DataId = 31042u - }; - num3 = 1; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - CollectionsMarshal.AsSpan(list45)[0] = new GatheringLocation - { - Position = new Vector3(-317.5309f, -16.18071f, -338.7262f), - MinimumAngle = -35, - MaximumAngle = 140 - }; - obj15.Locations = list45; - reference29 = obj15; - gatheringNodeGroup14.Nodes = list43; - reference27 = gatheringNodeGroup14; - ref GatheringNodeGroup reference30 = ref span20[2]; - GatheringNodeGroup gatheringNodeGroup15 = new GatheringNodeGroup(); - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - ref GatheringNode reference31 = ref CollectionsMarshal.AsSpan(list46)[0]; - GatheringNode obj16 = new GatheringNode - { - DataId = 31041u - }; - num3 = 2; - List list47 = new List(num3); - CollectionsMarshal.SetCount(list47, num3); - Span span24 = CollectionsMarshal.AsSpan(list47); - span24[0] = new GatheringLocation - { - Position = new Vector3(-347.2882f, -15.12936f, -346.8752f), - MinimumAngle = -195, - MaximumAngle = -110 - }; - span24[1] = new GatheringLocation - { - Position = new Vector3(-348.3911f, -16.14678f, -363.7992f), - MinimumAngle = -20, - MaximumAngle = 145 - }; - obj16.Locations = list47; - reference31 = obj16; - gatheringNodeGroup15.Nodes = list46; - reference30 = gatheringNodeGroup15; - gatheringRoot4.Groups = list40; - AddLocation(244, gatheringRoot4); - } - - private static void LoadLocation3() - { - GatheringRoot gatheringRoot = new GatheringRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - gatheringRoot.Author = list; - num = 1; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - CollectionsMarshal.AsSpan(list2)[0] = new QuestStep(EInteractionType.None, null, null, 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - gatheringRoot.Steps = list2; - num = 3; - List list3 = new List(num); - CollectionsMarshal.SetCount(list3, num); - Span span = CollectionsMarshal.AsSpan(list3); - ref GatheringNodeGroup reference = ref span[0]; - GatheringNodeGroup gatheringNodeGroup = new GatheringNodeGroup(); - int num2 = 2; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - ref GatheringNode reference2 = ref span2[0]; - GatheringNode obj = new GatheringNode - { - DataId = 31406u - }; - int num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = new GatheringLocation - { - Position = new Vector3(-501.2244f, 118.0477f, -443.4114f) - }; - obj.Locations = list5; - reference2 = obj; - ref GatheringNode reference3 = ref span2[1]; - GatheringNode obj2 = new GatheringNode - { - DataId = 31407u - }; - num3 = 3; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - Span span3 = CollectionsMarshal.AsSpan(list6); - span3[0] = new GatheringLocation - { - Position = new Vector3(-468.6656f, 120.7944f, -420.1442f) - }; - span3[1] = new GatheringLocation - { - Position = new Vector3(-523.499f, 117.4618f, -449.0883f), - MinimumAngle = -160, - MaximumAngle = 65 - }; - span3[2] = new GatheringLocation - { - Position = new Vector3(-482.4585f, 120.3927f, -442.2994f) - }; - obj2.Locations = list6; - reference3 = obj2; - gatheringNodeGroup.Nodes = list4; - reference = gatheringNodeGroup; - ref GatheringNodeGroup reference4 = ref span[1]; - GatheringNodeGroup gatheringNodeGroup2 = new GatheringNodeGroup(); - num2 = 2; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - Span span4 = CollectionsMarshal.AsSpan(list7); - ref GatheringNode reference5 = ref span4[0]; - GatheringNode obj3 = new GatheringNode - { - DataId = 31408u - }; - num3 = 1; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - CollectionsMarshal.AsSpan(list8)[0] = new GatheringLocation - { - Position = new Vector3(-685.595f, 122.3003f, -379.202f) - }; - obj3.Locations = list8; - reference5 = obj3; - ref GatheringNode reference6 = ref span4[1]; - GatheringNode obj4 = new GatheringNode - { - DataId = 31409u - }; - num3 = 3; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - Span span5 = CollectionsMarshal.AsSpan(list9); - span5[0] = new GatheringLocation - { - Position = new Vector3(-691.5064f, 123.4536f, -354.5497f), - MinimumAngle = 95, - MaximumAngle = 325 - }; - span5[1] = new GatheringLocation - { - Position = new Vector3(-673.4897f, 122.1564f, -378.4789f) - }; - span5[2] = new GatheringLocation - { - Position = new Vector3(-664.5702f, 121.697f, -394.0817f), - MinimumAngle = 0, - MaximumAngle = 255 - }; - obj4.Locations = list9; - reference6 = obj4; - gatheringNodeGroup2.Nodes = list7; - reference4 = gatheringNodeGroup2; - ref GatheringNodeGroup reference7 = ref span[2]; - GatheringNodeGroup gatheringNodeGroup3 = new GatheringNodeGroup(); - num2 = 2; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span6 = CollectionsMarshal.AsSpan(list10); - ref GatheringNode reference8 = ref span6[0]; - GatheringNode obj5 = new GatheringNode - { - DataId = 31410u - }; - num3 = 1; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - CollectionsMarshal.AsSpan(list11)[0] = new GatheringLocation - { - Position = new Vector3(-496.1503f, 121.0539f, -272.0342f) - }; - obj5.Locations = list11; - reference8 = obj5; - ref GatheringNode reference9 = ref span6[1]; - GatheringNode obj6 = new GatheringNode - { - DataId = 31411u - }; - num3 = 3; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - Span span7 = CollectionsMarshal.AsSpan(list12); - span7[0] = new GatheringLocation - { - Position = new Vector3(-459.1924f, 121.1919f, -280.8376f), - MinimumAngle = -105, - MaximumAngle = 55 - }; - span7[1] = new GatheringLocation - { - Position = new Vector3(-472.298f, 121.4754f, -306.8053f), - MinimumAngle = 30, - MaximumAngle = 235 - }; - span7[2] = new GatheringLocation - { - Position = new Vector3(-486.2957f, 120.9394f, -257.3133f) - }; - obj6.Locations = list12; - reference9 = obj6; - gatheringNodeGroup3.Nodes = list10; - reference7 = gatheringNodeGroup3; - gatheringRoot.Groups = list3; - AddLocation(300, gatheringRoot); - GatheringRoot gatheringRoot2 = new GatheringRoot(); - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = "liza"; - gatheringRoot2.Author = list13; - num = 2; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - Span span8 = CollectionsMarshal.AsSpan(list14); - ref QuestStep reference10 = ref span8[0]; - QuestStep obj7 = new QuestStep(EInteractionType.Interact, 2013074u, new Vector3(304.3412f, 483.48206f, 143.11438f), 960) - { - TargetTerritoryId = (ushort)1073 - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = 1073; - skipStepConditions.InTerritory = list15; - skipConditions.StepIf = skipStepConditions; - obj7.SkipConditions = skipConditions; - reference10 = obj7; - span8[1] = new QuestStep(EInteractionType.None, null, null, 1073); - gatheringRoot2.Steps = list14; - num = 3; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - Span span9 = CollectionsMarshal.AsSpan(list16); - ref GatheringNodeGroup reference11 = ref span9[0]; - GatheringNodeGroup gatheringNodeGroup4 = new GatheringNodeGroup(); - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - ref GatheringNode reference12 = ref CollectionsMarshal.AsSpan(list17)[0]; - GatheringNode obj8 = new GatheringNode - { - DataId = 31819u - }; - num3 = 1; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - CollectionsMarshal.AsSpan(list18)[0] = new GatheringLocation - { - Position = new Vector3(-5.492728f, 499.6548f, 37.58726f), - MinimumAngle = 145, - MaximumAngle = 300 - }; - obj8.Locations = list18; - reference12 = obj8; - gatheringNodeGroup4.Nodes = list17; - reference11 = gatheringNodeGroup4; - ref GatheringNodeGroup reference13 = ref span9[1]; - GatheringNodeGroup gatheringNodeGroup5 = new GatheringNodeGroup(); - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - ref GatheringNode reference14 = ref CollectionsMarshal.AsSpan(list19)[0]; - GatheringNode obj9 = new GatheringNode - { - DataId = 31700u - }; - num3 = 1; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - CollectionsMarshal.AsSpan(list20)[0] = new GatheringLocation - { - Position = new Vector3(27.22863f, 499.8322f, 2.94655f), - MinimumAngle = -15, - MaximumAngle = 210 - }; - obj9.Locations = list20; - reference14 = obj9; - gatheringNodeGroup5.Nodes = list19; - reference13 = gatheringNodeGroup5; - ref GatheringNodeGroup reference15 = ref span9[2]; - GatheringNodeGroup gatheringNodeGroup6 = new GatheringNodeGroup(); - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - ref GatheringNode reference16 = ref CollectionsMarshal.AsSpan(list21)[0]; - GatheringNode obj10 = new GatheringNode - { - DataId = 31489u - }; - num3 = 1; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - CollectionsMarshal.AsSpan(list22)[0] = new GatheringLocation - { - Position = new Vector3(28.38036f, 500.019f, -0.7058061f), - MinimumAngle = 0, - MaximumAngle = 210 - }; - obj10.Locations = list22; - reference16 = obj10; - gatheringNodeGroup6.Nodes = list21; - reference15 = gatheringNodeGroup6; - gatheringRoot2.Groups = list16; - AddLocation(316, gatheringRoot2); - GatheringRoot gatheringRoot3 = new GatheringRoot(); - num = 1; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - CollectionsMarshal.AsSpan(list23)[0] = "liza"; - gatheringRoot3.Author = list23; - num = 2; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - Span span10 = CollectionsMarshal.AsSpan(list24); - ref QuestStep reference17 = ref span10[0]; - QuestStep obj11 = new QuestStep(EInteractionType.Interact, 2013074u, new Vector3(304.3412f, 483.48206f, 143.11438f), 960) - { - TargetTerritoryId = (ushort)1073 - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = 1073; - skipStepConditions2.InTerritory = list25; - skipConditions2.StepIf = skipStepConditions2; - obj11.SkipConditions = skipConditions2; - reference17 = obj11; - span10[1] = new QuestStep(EInteractionType.None, null, null, 1073); - gatheringRoot3.Steps = list24; - num = 3; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - Span span11 = CollectionsMarshal.AsSpan(list26); - ref GatheringNodeGroup reference18 = ref span11[0]; - GatheringNodeGroup gatheringNodeGroup7 = new GatheringNodeGroup(); - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - ref GatheringNode reference19 = ref CollectionsMarshal.AsSpan(list27)[0]; - GatheringNode obj12 = new GatheringNode - { - DataId = 31822u - }; - num3 = 1; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - CollectionsMarshal.AsSpan(list28)[0] = new GatheringLocation - { - Position = new Vector3(-4.054798f, 494.3483f, -54.37905f) - }; - obj12.Locations = list28; - reference19 = obj12; - gatheringNodeGroup7.Nodes = list27; - reference18 = gatheringNodeGroup7; - ref GatheringNodeGroup reference20 = ref span11[1]; - GatheringNodeGroup gatheringNodeGroup8 = new GatheringNodeGroup(); - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - ref GatheringNode reference21 = ref CollectionsMarshal.AsSpan(list29)[0]; - GatheringNode obj13 = new GatheringNode - { - DataId = 31821u - }; - num3 = 1; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - CollectionsMarshal.AsSpan(list30)[0] = new GatheringLocation - { - Position = new Vector3(-5.287843f, 494.2204f, -66.80152f) - }; - obj13.Locations = list30; - reference21 = obj13; - gatheringNodeGroup8.Nodes = list29; - reference20 = gatheringNodeGroup8; - ref GatheringNodeGroup reference22 = ref span11[2]; - GatheringNodeGroup gatheringNodeGroup9 = new GatheringNodeGroup(); - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - ref GatheringNode reference23 = ref CollectionsMarshal.AsSpan(list31)[0]; - GatheringNode obj14 = new GatheringNode - { - DataId = 31820u - }; - num3 = 1; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - CollectionsMarshal.AsSpan(list32)[0] = new GatheringLocation - { - Position = new Vector3(-9.143447f, 494.1166f, -82.62958f), - MinimumAngle = -75, - MaximumAngle = 95 - }; - obj14.Locations = list32; - reference23 = obj14; - gatheringNodeGroup9.Nodes = list31; - reference22 = gatheringNodeGroup9; - gatheringRoot3.Groups = list26; - AddLocation(317, gatheringRoot3); - GatheringRoot gatheringRoot4 = new GatheringRoot(); - num = 1; - List list33 = new List(num); - CollectionsMarshal.SetCount(list33, num); - CollectionsMarshal.AsSpan(list33)[0] = "liza"; - gatheringRoot4.Author = list33; - num = 2; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - Span span12 = CollectionsMarshal.AsSpan(list34); - ref QuestStep reference24 = ref span12[0]; - QuestStep obj15 = new QuestStep(EInteractionType.Interact, 2013074u, new Vector3(304.3412f, 483.48206f, 143.11438f), 960) - { - TargetTerritoryId = (ushort)1073 - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = 1073; - skipStepConditions3.InTerritory = list35; - skipConditions3.StepIf = skipStepConditions3; - obj15.SkipConditions = skipConditions3; - reference24 = obj15; - span12[1] = new QuestStep(EInteractionType.None, null, null, 1073); - gatheringRoot4.Steps = list34; - num = 3; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - Span span13 = CollectionsMarshal.AsSpan(list36); - ref GatheringNodeGroup reference25 = ref span13[0]; - GatheringNodeGroup gatheringNodeGroup10 = new GatheringNodeGroup(); - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - ref GatheringNode reference26 = ref CollectionsMarshal.AsSpan(list37)[0]; - GatheringNode obj16 = new GatheringNode - { - DataId = 33840u - }; - num3 = 1; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - CollectionsMarshal.AsSpan(list38)[0] = new GatheringLocation - { - Position = new Vector3(10.28351f, 486.144f, -136.9586f) - }; - obj16.Locations = list38; - reference26 = obj16; - gatheringNodeGroup10.Nodes = list37; - reference25 = gatheringNodeGroup10; - ref GatheringNodeGroup reference27 = ref span13[1]; - GatheringNodeGroup gatheringNodeGroup11 = new GatheringNodeGroup(); - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - ref GatheringNode reference28 = ref CollectionsMarshal.AsSpan(list39)[0]; - GatheringNode obj17 = new GatheringNode - { - DataId = 33841u - }; - num3 = 1; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - CollectionsMarshal.AsSpan(list40)[0] = new GatheringLocation - { - Position = new Vector3(19.46428f, 485.9226f, -136.738f) - }; - obj17.Locations = list40; - reference28 = obj17; - gatheringNodeGroup11.Nodes = list39; - reference27 = gatheringNodeGroup11; - ref GatheringNodeGroup reference29 = ref span13[2]; - GatheringNodeGroup gatheringNodeGroup12 = new GatheringNodeGroup(); - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - ref GatheringNode reference30 = ref CollectionsMarshal.AsSpan(list41)[0]; - GatheringNode obj18 = new GatheringNode - { - DataId = 33643u - }; - num3 = 1; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - CollectionsMarshal.AsSpan(list42)[0] = new GatheringLocation - { - Position = new Vector3(14.21117f, 486.0551f, -143.435f) - }; - obj18.Locations = list42; - reference30 = obj18; - gatheringNodeGroup12.Nodes = list41; - reference29 = gatheringNodeGroup12; - gatheringRoot4.Groups = list36; - AddLocation(319, gatheringRoot4); - GatheringRoot gatheringRoot5 = new GatheringRoot(); - num = 1; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - CollectionsMarshal.AsSpan(list43)[0] = "liza"; - gatheringRoot5.Author = list43; - num = 2; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - Span span14 = CollectionsMarshal.AsSpan(list44); - ref QuestStep reference31 = ref span14[0]; - QuestStep obj19 = new QuestStep(EInteractionType.Interact, 2013074u, new Vector3(304.3412f, 483.48206f, 143.11438f), 960) - { - TargetTerritoryId = (ushort)1073 - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = 1073; - skipStepConditions4.InTerritory = list45; - skipConditions4.StepIf = skipStepConditions4; - obj19.SkipConditions = skipConditions4; - reference31 = obj19; - span14[1] = new QuestStep(EInteractionType.None, null, null, 1073); - gatheringRoot5.Steps = list44; - num = 3; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - Span span15 = CollectionsMarshal.AsSpan(list46); - ref GatheringNodeGroup reference32 = ref span15[0]; - GatheringNodeGroup gatheringNodeGroup13 = new GatheringNodeGroup(); - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - ref GatheringNode reference33 = ref CollectionsMarshal.AsSpan(list47)[0]; - GatheringNode obj20 = new GatheringNode - { - DataId = 33842u - }; - num3 = 1; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - CollectionsMarshal.AsSpan(list48)[0] = new GatheringLocation - { - Position = new Vector3(-71.72573f, 495.8044f, -23.42241f), - MinimumAngle = -15, - MaximumAngle = 90 - }; - obj20.Locations = list48; - reference33 = obj20; - gatheringNodeGroup13.Nodes = list47; - reference32 = gatheringNodeGroup13; - ref GatheringNodeGroup reference34 = ref span15[1]; - GatheringNodeGroup gatheringNodeGroup14 = new GatheringNodeGroup(); - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - ref GatheringNode reference35 = ref CollectionsMarshal.AsSpan(list49)[0]; - GatheringNode obj21 = new GatheringNode - { - DataId = 33846u - }; - num3 = 1; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - CollectionsMarshal.AsSpan(list50)[0] = new GatheringLocation - { - Position = new Vector3(-85.765f, 493.9822f, -11.33734f), - MinimumAngle = -185, - MaximumAngle = 20 - }; - obj21.Locations = list50; - reference35 = obj21; - gatheringNodeGroup14.Nodes = list49; - reference34 = gatheringNodeGroup14; - ref GatheringNodeGroup reference36 = ref span15[2]; - GatheringNodeGroup gatheringNodeGroup15 = new GatheringNodeGroup(); - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - ref GatheringNode reference37 = ref CollectionsMarshal.AsSpan(list51)[0]; - GatheringNode obj22 = new GatheringNode - { - DataId = 33847u - }; - num3 = 1; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - CollectionsMarshal.AsSpan(list52)[0] = new GatheringLocation - { - Position = new Vector3(-100.52f, 493.6702f, -9.731167f), - MinimumAngle = -185, - MaximumAngle = -25 - }; - obj22.Locations = list52; - reference37 = obj22; - gatheringNodeGroup15.Nodes = list51; - reference36 = gatheringNodeGroup15; - gatheringRoot5.Groups = list46; - AddLocation(322, gatheringRoot5); - GatheringRoot gatheringRoot6 = new GatheringRoot(); - num = 1; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - CollectionsMarshal.AsSpan(list53)[0] = "liza"; - gatheringRoot6.Author = list53; - num = 2; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - Span span16 = CollectionsMarshal.AsSpan(list54); - ref QuestStep reference38 = ref span16[0]; - QuestStep obj23 = new QuestStep(EInteractionType.Interact, 2013074u, new Vector3(304.3412f, 483.48206f, 143.11438f), 960) - { - TargetTerritoryId = (ushort)1073 - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = 1073; - skipStepConditions5.InTerritory = list55; - skipConditions5.StepIf = skipStepConditions5; - obj23.SkipConditions = skipConditions5; - reference38 = obj23; - span16[1] = new QuestStep(EInteractionType.None, null, null, 1073); - gatheringRoot6.Steps = list54; - num = 3; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - Span span17 = CollectionsMarshal.AsSpan(list56); - ref GatheringNodeGroup reference39 = ref span17[0]; - GatheringNodeGroup gatheringNodeGroup16 = new GatheringNodeGroup(); - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - ref GatheringNode reference40 = ref CollectionsMarshal.AsSpan(list57)[0]; - GatheringNode obj24 = new GatheringNode - { - DataId = 33848u - }; - num3 = 1; - List list58 = new List(num3); - CollectionsMarshal.SetCount(list58, num3); - CollectionsMarshal.AsSpan(list58)[0] = new GatheringLocation - { - Position = new Vector3(-109.0629f, 491.0458f, 34.78553f), - MinimumAngle = -110, - MaximumAngle = 35 - }; - obj24.Locations = list58; - reference40 = obj24; - gatheringNodeGroup16.Nodes = list57; - reference39 = gatheringNodeGroup16; - ref GatheringNodeGroup reference41 = ref span17[1]; - GatheringNodeGroup gatheringNodeGroup17 = new GatheringNodeGroup(); - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - ref GatheringNode reference42 = ref CollectionsMarshal.AsSpan(list59)[0]; - GatheringNode obj25 = new GatheringNode - { - DataId = 33849u - }; - num3 = 1; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - CollectionsMarshal.AsSpan(list60)[0] = new GatheringLocation - { - Position = new Vector3(-110.2371f, 491.0116f, 54.68977f), - MinimumAngle = -170, - MaximumAngle = -45 - }; - obj25.Locations = list60; - reference42 = obj25; - gatheringNodeGroup17.Nodes = list59; - reference41 = gatheringNodeGroup17; - ref GatheringNodeGroup reference43 = ref span17[2]; - GatheringNodeGroup gatheringNodeGroup18 = new GatheringNodeGroup(); - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - ref GatheringNode reference44 = ref CollectionsMarshal.AsSpan(list61)[0]; - GatheringNode obj26 = new GatheringNode - { - DataId = 33850u - }; - num3 = 1; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - CollectionsMarshal.AsSpan(list62)[0] = new GatheringLocation - { - Position = new Vector3(-101.4737f, 490.7073f, 54.9267f), - MinimumAngle = 90, - MaximumAngle = 220 - }; - obj26.Locations = list62; - reference44 = obj26; - gatheringNodeGroup18.Nodes = list61; - reference43 = gatheringNodeGroup18; - gatheringRoot6.Groups = list56; - AddLocation(336, gatheringRoot6); - GatheringRoot gatheringRoot7 = new GatheringRoot(); - num = 1; - List list63 = new List(num); - CollectionsMarshal.SetCount(list63, num); - CollectionsMarshal.AsSpan(list63)[0] = "liza"; - gatheringRoot7.Author = list63; - num = 1; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.None, null, null, 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - gatheringRoot7.Steps = list64; - num = 3; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - Span span18 = CollectionsMarshal.AsSpan(list65); - ref GatheringNodeGroup reference45 = ref span18[0]; - GatheringNodeGroup gatheringNodeGroup19 = new GatheringNodeGroup(); - num2 = 2; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - Span span19 = CollectionsMarshal.AsSpan(list66); - ref GatheringNode reference46 = ref span19[0]; - GatheringNode obj27 = new GatheringNode - { - DataId = 31344u - }; - num3 = 1; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - CollectionsMarshal.AsSpan(list67)[0] = new GatheringLocation - { - Position = new Vector3(40.36132f, 217.3049f, 405.1829f), - MinimumAngle = 100, - MaximumAngle = 250, - MinimumDistance = 1.5f, - MaximumDistance = 3f - }; - obj27.Locations = list67; - reference46 = obj27; - ref GatheringNode reference47 = ref span19[1]; - GatheringNode obj28 = new GatheringNode - { - DataId = 31345u, - Fly = false - }; - num3 = 3; - List list68 = new List(num3); - CollectionsMarshal.SetCount(list68, num3); - Span span20 = CollectionsMarshal.AsSpan(list68); - span20[0] = new GatheringLocation - { - Position = new Vector3(20.19547f, 216.5585f, 412.4353f), - MinimumAngle = 75, - MaximumAngle = 145, - MinimumDistance = 1.5f, - MaximumDistance = 3f - }; - span20[1] = new GatheringLocation - { - Position = new Vector3(17.58205f, 216.0664f, 421.5481f), - MinimumAngle = 0, - MaximumAngle = 145, - MinimumDistance = 1.5f, - MaximumDistance = 3f - }; - span20[2] = new GatheringLocation - { - Position = new Vector3(51.50931f, 217.6516f, 408.2164f), - MinimumAngle = 155, - MaximumAngle = 225, - MinimumDistance = 1.5f, - MaximumDistance = 3f - }; - obj28.Locations = list68; - reference47 = obj28; - gatheringNodeGroup19.Nodes = list66; - reference45 = gatheringNodeGroup19; - ref GatheringNodeGroup reference48 = ref span18[1]; - GatheringNodeGroup gatheringNodeGroup20 = new GatheringNodeGroup(); - num2 = 3; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - Span span21 = CollectionsMarshal.AsSpan(list69); - ref GatheringNode reference49 = ref span21[0]; - GatheringNode obj29 = new GatheringNode - { - DataId = 31340u - }; - num3 = 1; - List list70 = new List(num3); - CollectionsMarshal.SetCount(list70, num3); - CollectionsMarshal.AsSpan(list70)[0] = new GatheringLocation - { - Position = new Vector3(56.06712f, 216.6702f, 225.849f), - MinimumAngle = -20, - MaximumAngle = 105 - }; - obj29.Locations = list70; - reference49 = obj29; - ref GatheringNode reference50 = ref span21[1]; - GatheringNode obj30 = new GatheringNode - { - DataId = 31341u - }; - num3 = 3; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - Span span22 = CollectionsMarshal.AsSpan(list71); - span22[0] = new GatheringLocation - { - Position = new Vector3(85.05425f, 218.7078f, 220.0463f), - MinimumAngle = -110, - MaximumAngle = 25 - }; - span22[1] = new GatheringLocation - { - Position = new Vector3(78.99079f, 215.9441f, 228.9527f), - MinimumAngle = -110, - MaximumAngle = 40 - }; - span22[2] = new GatheringLocation - { - Position = new Vector3(67.29195f, 216.4685f, 228.7955f), - MinimumAngle = -35, - MaximumAngle = 80 - }; - obj30.Locations = list71; - reference50 = obj30; - ref GatheringNode reference51 = ref span21[2]; - GatheringNode obj31 = new GatheringNode - { - DataId = 31342u - }; - num3 = 1; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - CollectionsMarshal.AsSpan(list72)[0] = new GatheringLocation - { - Position = new Vector3(-124.1629f, 221.9654f, 197.8645f), - MinimumAngle = -15, - MaximumAngle = 20 - }; - obj31.Locations = list72; - reference51 = obj31; - gatheringNodeGroup20.Nodes = list69; - reference48 = gatheringNodeGroup20; - ref GatheringNodeGroup reference52 = ref span18[2]; - GatheringNodeGroup gatheringNodeGroup21 = new GatheringNodeGroup(); - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - ref GatheringNode reference53 = ref CollectionsMarshal.AsSpan(list73)[0]; - GatheringNode obj32 = new GatheringNode - { - DataId = 31343u - }; - num3 = 3; - List list74 = new List(num3); - CollectionsMarshal.SetCount(list74, num3); - Span span23 = CollectionsMarshal.AsSpan(list74); - span23[0] = new GatheringLocation - { - Position = new Vector3(-138.4112f, 220.679f, 204.6822f), - MinimumAngle = -20, - MaximumAngle = 20 - }; - span23[1] = new GatheringLocation - { - Position = new Vector3(-90.40117f, 223.687f, 202.5069f), - MinimumAngle = -90, - MaximumAngle = 45 - }; - span23[2] = new GatheringLocation - { - Position = new Vector3(-50.76083f, 222.9418f, 217.8322f), - MinimumAngle = 50, - MaximumAngle = 140 - }; - obj32.Locations = list74; - reference53 = obj32; - gatheringNodeGroup21.Nodes = list73; - reference52 = gatheringNodeGroup21; - gatheringRoot7.Groups = list65; - AddLocation(351, gatheringRoot7); - GatheringRoot gatheringRoot8 = new GatheringRoot(); - num = 1; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - CollectionsMarshal.AsSpan(list75)[0] = "liza"; - gatheringRoot8.Author = list75; - num = 1; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.None, null, null, 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - gatheringRoot8.Steps = list76; - num = 3; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - Span span24 = CollectionsMarshal.AsSpan(list77); - ref GatheringNodeGroup reference54 = ref span24[0]; - GatheringNodeGroup gatheringNodeGroup22 = new GatheringNodeGroup(); - num2 = 2; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - Span span25 = CollectionsMarshal.AsSpan(list78); - ref GatheringNode reference55 = ref span25[0]; - GatheringNode obj33 = new GatheringNode - { - DataId = 31350u - }; - num3 = 1; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - CollectionsMarshal.AsSpan(list79)[0] = new GatheringLocation - { - Position = new Vector3(-115.4501f, -44.90735f, 211.8084f), - MinimumAngle = -5, - MaximumAngle = 65 - }; - obj33.Locations = list79; - reference55 = obj33; - ref GatheringNode reference56 = ref span25[1]; - GatheringNode obj34 = new GatheringNode - { - DataId = 31351u - }; - num3 = 3; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - Span span26 = CollectionsMarshal.AsSpan(list80); - span26[0] = new GatheringLocation - { - Position = new Vector3(-94.4983f, -46.65615f, 219.4642f), - MinimumAngle = -90, - MaximumAngle = 65 - }; - span26[1] = new GatheringLocation - { - Position = new Vector3(-133.4304f, -45.47835f, 211.6268f), - MinimumAngle = -50, - MaximumAngle = 80 - }; - span26[2] = new GatheringLocation - { - Position = new Vector3(-81.5194f, -52.42267f, 241.2021f), - MinimumAngle = -35, - MaximumAngle = 85 - }; - obj34.Locations = list80; - reference56 = obj34; - gatheringNodeGroup22.Nodes = list78; - reference54 = gatheringNodeGroup22; - ref GatheringNodeGroup reference57 = ref span24[1]; - GatheringNodeGroup gatheringNodeGroup23 = new GatheringNodeGroup(); - num2 = 2; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - Span span27 = CollectionsMarshal.AsSpan(list81); - ref GatheringNode reference58 = ref span27[0]; - GatheringNode obj35 = new GatheringNode - { - DataId = 31346u - }; - num3 = 1; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - CollectionsMarshal.AsSpan(list82)[0] = new GatheringLocation - { - Position = new Vector3(-154.299f, -70.63795f, 399.4617f), - MinimumAngle = 110, - MaximumAngle = 225 - }; - obj35.Locations = list82; - reference58 = obj35; - ref GatheringNode reference59 = ref span27[1]; - GatheringNode obj36 = new GatheringNode - { - DataId = 31347u - }; - num3 = 3; - List list83 = new List(num3); - CollectionsMarshal.SetCount(list83, num3); - Span span28 = CollectionsMarshal.AsSpan(list83); - span28[0] = new GatheringLocation - { - Position = new Vector3(-167.7846f, -70.11265f, 418.7766f), - MinimumAngle = 90, - MaximumAngle = 235 - }; - span28[1] = new GatheringLocation - { - Position = new Vector3(-152.9678f, -68.49996f, 365.0086f), - MinimumAngle = -30, - MaximumAngle = 70 - }; - span28[2] = new GatheringLocation - { - Position = new Vector3(-189.6693f, -68.18973f, 377.6652f), - MinimumAngle = 205, - MaximumAngle = 335 - }; - obj36.Locations = list83; - reference59 = obj36; - gatheringNodeGroup23.Nodes = list81; - reference57 = gatheringNodeGroup23; - ref GatheringNodeGroup reference60 = ref span24[2]; - GatheringNodeGroup gatheringNodeGroup24 = new GatheringNodeGroup(); - num2 = 2; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - Span span29 = CollectionsMarshal.AsSpan(list84); - ref GatheringNode reference61 = ref span29[0]; - GatheringNode obj37 = new GatheringNode - { - DataId = 31349u - }; - num3 = 3; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - Span span30 = CollectionsMarshal.AsSpan(list85); - span30[0] = new GatheringLocation - { - Position = new Vector3(-312.3143f, -54.81182f, 331.0543f), - MinimumAngle = -145, - MaximumAngle = 5 - }; - span30[1] = new GatheringLocation - { - Position = new Vector3(-296.8107f, -51.96982f, 310.6086f), - MinimumAngle = 235, - MaximumAngle = 330 - }; - span30[2] = new GatheringLocation - { - Position = new Vector3(-299.3094f, -46.30565f, 293.9169f), - MinimumAngle = 165, - MaximumAngle = 310 - }; - obj37.Locations = list85; - reference61 = obj37; - ref GatheringNode reference62 = ref span29[1]; - GatheringNode obj38 = new GatheringNode - { - DataId = 31348u - }; - num3 = 1; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - CollectionsMarshal.AsSpan(list86)[0] = new GatheringLocation - { - Position = new Vector3(-311.9997f, -53.59439f, 326.8317f), - MinimumAngle = -75, - MaximumAngle = -20 - }; - obj38.Locations = list86; - reference62 = obj38; - gatheringNodeGroup24.Nodes = list84; - reference60 = gatheringNodeGroup24; - gatheringRoot8.Groups = list77; - AddLocation(352, gatheringRoot8); - GatheringRoot gatheringRoot9 = new GatheringRoot(); - num = 1; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - CollectionsMarshal.AsSpan(list87)[0] = "liza"; - gatheringRoot9.Author = list87; - num = 1; - List list88 = new List(num); - CollectionsMarshal.SetCount(list88, num); - ref QuestStep reference63 = ref CollectionsMarshal.AsSpan(list88)[0]; - QuestStep obj39 = new QuestStep(EInteractionType.None, null, null, 399) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshireEpilogueGate - } - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = 399; - skipAetheryteCondition.InTerritory = list89; - skipConditions6.AetheryteShortcutIf = skipAetheryteCondition; - obj39.SkipConditions = skipConditions6; - reference63 = obj39; - gatheringRoot9.Steps = list88; - num = 3; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - Span span31 = CollectionsMarshal.AsSpan(list90); - ref GatheringNodeGroup reference64 = ref span31[0]; - GatheringNodeGroup gatheringNodeGroup25 = new GatheringNodeGroup(); - num2 = 2; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - Span span32 = CollectionsMarshal.AsSpan(list91); - ref GatheringNode reference65 = ref span32[0]; - GatheringNode obj40 = new GatheringNode - { - DataId = 31356u - }; - num3 = 1; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - CollectionsMarshal.AsSpan(list92)[0] = new GatheringLocation - { - Position = new Vector3(120.1556f, 70.42133f, 30.73328f), - MinimumAngle = -95, - MaximumAngle = 70 - }; - obj40.Locations = list92; - reference65 = obj40; - ref GatheringNode reference66 = ref span32[1]; - GatheringNode obj41 = new GatheringNode - { - DataId = 31357u - }; - num3 = 3; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - Span span33 = CollectionsMarshal.AsSpan(list93); - span33[0] = new GatheringLocation - { - Position = new Vector3(137.7684f, 70.04282f, 64.77115f), - MinimumAngle = 30, - MaximumAngle = 130 - }; - span33[1] = new GatheringLocation - { - Position = new Vector3(132.1863f, 70.08203f, 57.67828f), - MinimumAngle = -10, - MaximumAngle = 105 - }; - span33[2] = new GatheringLocation - { - Position = new Vector3(145.684f, 70.47159f, 45.05047f), - MinimumAngle = 80, - MaximumAngle = 215 - }; - obj41.Locations = list93; - reference66 = obj41; - gatheringNodeGroup25.Nodes = list91; - reference64 = gatheringNodeGroup25; - ref GatheringNodeGroup reference67 = ref span31[1]; - GatheringNodeGroup gatheringNodeGroup26 = new GatheringNodeGroup(); - num2 = 2; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - Span span34 = CollectionsMarshal.AsSpan(list94); - ref GatheringNode reference68 = ref span34[0]; - GatheringNode obj42 = new GatheringNode - { - DataId = 31355u - }; - num3 = 3; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - Span span35 = CollectionsMarshal.AsSpan(list95); - span35[0] = new GatheringLocation - { - Position = new Vector3(59.4164f, 54.40149f, 160.6752f), - MinimumAngle = 155, - MaximumAngle = 285 - }; - span35[1] = new GatheringLocation - { - Position = new Vector3(66.6783f, 53.80389f, 177.1926f), - MinimumAngle = -90, - MaximumAngle = 0 - }; - span35[2] = new GatheringLocation - { - Position = new Vector3(47.04347f, 53.91698f, 164.1816f), - MinimumAngle = 0, - MaximumAngle = 185 - }; - obj42.Locations = list95; - reference68 = obj42; - ref GatheringNode reference69 = ref span34[1]; - GatheringNode obj43 = new GatheringNode - { - DataId = 31354u - }; - num3 = 1; - List list96 = new List(num3); - CollectionsMarshal.SetCount(list96, num3); - CollectionsMarshal.AsSpan(list96)[0] = new GatheringLocation - { - Position = new Vector3(31.89844f, 54.71996f, 173.864f), - MinimumAngle = 105, - MaximumAngle = 235 - }; - obj43.Locations = list96; - reference69 = obj43; - gatheringNodeGroup26.Nodes = list94; - reference67 = gatheringNodeGroup26; - ref GatheringNodeGroup reference70 = ref span31[2]; - GatheringNodeGroup gatheringNodeGroup27 = new GatheringNodeGroup(); - num2 = 2; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - Span span36 = CollectionsMarshal.AsSpan(list97); - ref GatheringNode reference71 = ref span36[0]; - GatheringNode obj44 = new GatheringNode - { - DataId = 31352u - }; - num3 = 1; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - CollectionsMarshal.AsSpan(list98)[0] = new GatheringLocation - { - Position = new Vector3(231.3517f, 74.23511f, 112.9807f), - MinimumAngle = 130, - MaximumAngle = 285 - }; - obj44.Locations = list98; - reference71 = obj44; - ref GatheringNode reference72 = ref span36[1]; - GatheringNode obj45 = new GatheringNode - { - DataId = 31353u - }; - num3 = 3; - List list99 = new List(num3); - CollectionsMarshal.SetCount(list99, num3); - Span span37 = CollectionsMarshal.AsSpan(list99); - span37[0] = new GatheringLocation - { - Position = new Vector3(239.051f, 80.42557f, 192.2325f), - MinimumAngle = 140, - MaximumAngle = 235 - }; - span37[1] = new GatheringLocation - { - Position = new Vector3(237.4622f, 74.67197f, 150.8143f), - MinimumAngle = 60, - MaximumAngle = 225 - }; - span37[2] = new GatheringLocation - { - Position = new Vector3(211.4673f, 75.37302f, 169.3396f), - MinimumAngle = 145, - MaximumAngle = 285 - }; - obj45.Locations = list99; - reference72 = obj45; - gatheringNodeGroup27.Nodes = list97; - reference70 = gatheringNodeGroup27; - gatheringRoot9.Groups = list90; - AddLocation(353, gatheringRoot9); - GatheringRoot gatheringRoot10 = new GatheringRoot(); - num = 1; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - CollectionsMarshal.AsSpan(list100)[0] = "liza"; - gatheringRoot10.Author = list100; - num = 1; - List list101 = new List(num); - CollectionsMarshal.SetCount(list101, num); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.None, null, null, 401) - { - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop - }; - gatheringRoot10.Steps = list101; - num = 3; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - Span span38 = CollectionsMarshal.AsSpan(list102); - ref GatheringNodeGroup reference73 = ref span38[0]; - GatheringNodeGroup gatheringNodeGroup28 = new GatheringNodeGroup(); - num2 = 2; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - Span span39 = CollectionsMarshal.AsSpan(list103); - ref GatheringNode reference74 = ref span39[0]; - GatheringNode obj46 = new GatheringNode - { - DataId = 31366u - }; - num3 = 1; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - CollectionsMarshal.AsSpan(list104)[0] = new GatheringLocation - { - Position = new Vector3(529.0662f, -110.3256f, 434.3149f), - MinimumAngle = 15, - MaximumAngle = 135 - }; - obj46.Locations = list104; - reference74 = obj46; - ref GatheringNode reference75 = ref span39[1]; - GatheringNode obj47 = new GatheringNode - { - DataId = 31367u - }; - num3 = 3; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - Span span40 = CollectionsMarshal.AsSpan(list105); - span40[0] = new GatheringLocation - { - Position = new Vector3(541.8505f, -111.128f, 452.5471f), - MinimumAngle = -45, - MaximumAngle = 40 - }; - span40[1] = new GatheringLocation - { - Position = new Vector3(517.9747f, -109.2984f, 417.9554f), - MinimumAngle = -45, - MaximumAngle = 55 - }; - span40[2] = new GatheringLocation - { - Position = new Vector3(499.3676f, -108.7323f, 410.8949f), - MinimumAngle = -5, - MaximumAngle = 85 - }; - obj47.Locations = list105; - reference75 = obj47; - gatheringNodeGroup28.Nodes = list103; - reference73 = gatheringNodeGroup28; - ref GatheringNodeGroup reference76 = ref span38[1]; - GatheringNodeGroup gatheringNodeGroup29 = new GatheringNodeGroup(); - num2 = 2; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - Span span41 = CollectionsMarshal.AsSpan(list106); - ref GatheringNode reference77 = ref span41[0]; - GatheringNode obj48 = new GatheringNode - { - DataId = 31365u - }; - num3 = 3; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - Span span42 = CollectionsMarshal.AsSpan(list107); - span42[0] = new GatheringLocation - { - Position = new Vector3(625.9688f, -115.6856f, 344.535f), - MinimumAngle = 125, - MaximumAngle = 185 - }; - span42[1] = new GatheringLocation - { - Position = new Vector3(678.5617f, -122.8687f, 356.7407f), - MinimumAngle = 190, - MaximumAngle = 290 - }; - span42[2] = new GatheringLocation - { - Position = new Vector3(644.1035f, -122.3688f, 334.0371f), - MinimumAngle = 105, - MaximumAngle = 235 - }; - obj48.Locations = list107; - reference77 = obj48; - ref GatheringNode reference78 = ref span41[1]; - GatheringNode obj49 = new GatheringNode - { - DataId = 31364u - }; - num3 = 1; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - CollectionsMarshal.AsSpan(list108)[0] = new GatheringLocation - { - Position = new Vector3(661.9959f, -122.6855f, 333.0707f), - MinimumAngle = 140, - MaximumAngle = 260 - }; - obj49.Locations = list108; - reference78 = obj49; - gatheringNodeGroup29.Nodes = list106; - reference76 = gatheringNodeGroup29; - ref GatheringNodeGroup reference79 = ref span38[2]; - GatheringNodeGroup gatheringNodeGroup30 = new GatheringNodeGroup(); - num2 = 2; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - Span span43 = CollectionsMarshal.AsSpan(list109); - ref GatheringNode reference80 = ref span43[0]; - GatheringNode obj50 = new GatheringNode - { - DataId = 31369u - }; - num3 = 1; - List list110 = new List(num3); - CollectionsMarshal.SetCount(list110, num3); - CollectionsMarshal.AsSpan(list110)[0] = new GatheringLocation - { - Position = new Vector3(730.9626f, -96.64706f, 449.485f), - MinimumAngle = 45, - MaximumAngle = 115 - }; - obj50.Locations = list110; - reference80 = obj50; - ref GatheringNode reference81 = ref span43[1]; - GatheringNode obj51 = new GatheringNode - { - DataId = 31368u - }; - num3 = 1; - List list111 = new List(num3); - CollectionsMarshal.SetCount(list111, num3); - CollectionsMarshal.AsSpan(list111)[0] = new GatheringLocation - { - Position = new Vector3(727.2908f, -95.47571f, 460.3798f), - MinimumAngle = 25, - MaximumAngle = 180 - }; - obj51.Locations = list111; - reference81 = obj51; - gatheringNodeGroup30.Nodes = list109; - reference79 = gatheringNodeGroup30; - gatheringRoot10.Groups = list102; - AddLocation(354, gatheringRoot10); - GatheringRoot gatheringRoot11 = new GatheringRoot(); - num = 1; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - CollectionsMarshal.AsSpan(list112)[0] = "liza"; - gatheringRoot11.Author = list112; - num = 1; - List list113 = new List(num); - CollectionsMarshal.SetCount(list113, num); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.None, null, null, 400) - { - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome - }; - gatheringRoot11.Steps = list113; - num = 2; - List list114 = new List(num); - CollectionsMarshal.SetCount(list114, num); - Span span44 = CollectionsMarshal.AsSpan(list114); - ref GatheringNodeGroup reference82 = ref span44[0]; - GatheringNodeGroup gatheringNodeGroup31 = new GatheringNodeGroup(); - num2 = 2; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - Span span45 = CollectionsMarshal.AsSpan(list115); - ref GatheringNode reference83 = ref span45[0]; - GatheringNode obj52 = new GatheringNode - { - DataId = 31363u - }; - num3 = 3; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - Span span46 = CollectionsMarshal.AsSpan(list116); - span46[0] = new GatheringLocation - { - Position = new Vector3(338.6716f, -29.70343f, -89.65448f), - MinimumAngle = 145, - MaximumAngle = 275 - }; - span46[1] = new GatheringLocation - { - Position = new Vector3(285.6898f, -32.99854f, -100.1466f), - MinimumAngle = 115, - MaximumAngle = 275 - }; - span46[2] = new GatheringLocation - { - Position = new Vector3(326.7051f, -27.26759f, -89.31528f), - MinimumAngle = 110, - MaximumAngle = 205 - }; - obj52.Locations = list116; - reference83 = obj52; - ref GatheringNode reference84 = ref span45[1]; - GatheringNode obj53 = new GatheringNode - { - DataId = 31362u - }; - num3 = 1; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - CollectionsMarshal.AsSpan(list117)[0] = new GatheringLocation - { - Position = new Vector3(299.2141f, -33.21008f, -103.5859f), - MinimumAngle = 75, - MaximumAngle = 295 - }; - obj53.Locations = list117; - reference84 = obj53; - gatheringNodeGroup31.Nodes = list115; - reference82 = gatheringNodeGroup31; - ref GatheringNodeGroup reference85 = ref span44[1]; - GatheringNodeGroup gatheringNodeGroup32 = new GatheringNodeGroup(); - num2 = 2; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - Span span47 = CollectionsMarshal.AsSpan(list118); - ref GatheringNode reference86 = ref span47[0]; - GatheringNode obj54 = new GatheringNode - { - DataId = 31358u - }; - num3 = 1; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - CollectionsMarshal.AsSpan(list119)[0] = new GatheringLocation - { - Position = new Vector3(316.6238f, -30.77305f, -230.0326f), - MinimumAngle = -35, - MaximumAngle = 75 - }; - obj54.Locations = list119; - reference86 = obj54; - ref GatheringNode reference87 = ref span47[1]; - GatheringNode obj55 = new GatheringNode - { - DataId = 31359u - }; - num3 = 3; - List list120 = new List(num3); - CollectionsMarshal.SetCount(list120, num3); - Span span48 = CollectionsMarshal.AsSpan(list120); - span48[0] = new GatheringLocation - { - Position = new Vector3(297.7187f, -32.66696f, -234.9031f), - MinimumAngle = 15, - MaximumAngle = 135 - }; - span48[1] = new GatheringLocation - { - Position = new Vector3(288.7547f, -33.61605f, -239.764f), - MinimumAngle = -30, - MaximumAngle = 65 - }; - span48[2] = new GatheringLocation - { - Position = new Vector3(324.8526f, -28.45777f, -209.4378f), - MinimumAngle = -5, - MaximumAngle = 120 - }; - obj55.Locations = list120; - reference87 = obj55; - gatheringNodeGroup32.Nodes = list118; - reference85 = gatheringNodeGroup32; - gatheringRoot11.Groups = list114; - AddLocation(355, gatheringRoot11); - GatheringRoot gatheringRoot12 = new GatheringRoot(); - num = 1; - List list121 = new List(num); - CollectionsMarshal.SetCount(list121, num); - CollectionsMarshal.AsSpan(list121)[0] = "liza"; - gatheringRoot12.Author = list121; - num = 1; - List list122 = new List(num); - CollectionsMarshal.SetCount(list122, num); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.None, null, null, 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - gatheringRoot12.Steps = list122; - num = 3; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - Span span49 = CollectionsMarshal.AsSpan(list123); - ref GatheringNodeGroup reference88 = ref span49[0]; - GatheringNodeGroup gatheringNodeGroup33 = new GatheringNodeGroup(); - num2 = 2; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - Span span50 = CollectionsMarshal.AsSpan(list124); - ref GatheringNode reference89 = ref span50[0]; - GatheringNode obj56 = new GatheringNode - { - DataId = 31413u - }; - num3 = 3; - List list125 = new List(num3); - CollectionsMarshal.SetCount(list125, num3); - Span span51 = CollectionsMarshal.AsSpan(list125); - span51[0] = new GatheringLocation - { - Position = new Vector3(-513.1596f, -85.63485f, 434.7382f) - }; - span51[1] = new GatheringLocation - { - Position = new Vector3(-562.0517f, -89.33559f, 445.0961f) - }; - span51[2] = new GatheringLocation - { - Position = new Vector3(-523.4441f, -81.67991f, 408.9826f) - }; - obj56.Locations = list125; - reference89 = obj56; - ref GatheringNode reference90 = ref span50[1]; - GatheringNode obj57 = new GatheringNode - { - DataId = 31412u - }; - num3 = 1; - List list126 = new List(num3); - CollectionsMarshal.SetCount(list126, num3); - CollectionsMarshal.AsSpan(list126)[0] = new GatheringLocation - { - Position = new Vector3(-553.9171f, -84.75874f, 419.2539f) - }; - obj57.Locations = list126; - reference90 = obj57; - gatheringNodeGroup33.Nodes = list124; - reference88 = gatheringNodeGroup33; - ref GatheringNodeGroup reference91 = ref span49[1]; - GatheringNodeGroup gatheringNodeGroup34 = new GatheringNodeGroup(); - num2 = 2; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - Span span52 = CollectionsMarshal.AsSpan(list127); - ref GatheringNode reference92 = ref span52[0]; - GatheringNode obj58 = new GatheringNode - { - DataId = 31416u - }; - num3 = 1; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - CollectionsMarshal.AsSpan(list128)[0] = new GatheringLocation - { - Position = new Vector3(-569.6527f, -96.50298f, 547.1465f) - }; - obj58.Locations = list128; - reference92 = obj58; - ref GatheringNode reference93 = ref span52[1]; - GatheringNode obj59 = new GatheringNode - { - DataId = 31417u - }; - num3 = 3; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - Span span53 = CollectionsMarshal.AsSpan(list129); - span53[0] = new GatheringLocation - { - Position = new Vector3(-623.1743f, -101.8206f, 574.6146f) - }; - span53[1] = new GatheringLocation - { - Position = new Vector3(-562.2545f, -95.6534f, 545.6004f) - }; - span53[2] = new GatheringLocation - { - Position = new Vector3(-601.669f, -100.0121f, 559.5313f) - }; - obj59.Locations = list129; - reference93 = obj59; - gatheringNodeGroup34.Nodes = list127; - reference91 = gatheringNodeGroup34; - ref GatheringNodeGroup reference94 = ref span49[2]; - GatheringNodeGroup gatheringNodeGroup35 = new GatheringNodeGroup(); - num2 = 2; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - Span span54 = CollectionsMarshal.AsSpan(list130); - ref GatheringNode reference95 = ref span54[0]; - GatheringNode obj60 = new GatheringNode - { - DataId = 31415u - }; - num3 = 3; - List list131 = new List(num3); - CollectionsMarshal.SetCount(list131, num3); - Span span55 = CollectionsMarshal.AsSpan(list131); - span55[0] = new GatheringLocation - { - Position = new Vector3(-680.4672f, -103.4997f, 624.0101f) - }; - span55[1] = new GatheringLocation - { - Position = new Vector3(-700.5361f, -107.5581f, 597.0253f) - }; - span55[2] = new GatheringLocation - { - Position = new Vector3(-715.8123f, -105.2011f, 622.3116f) - }; - obj60.Locations = list131; - reference95 = obj60; - ref GatheringNode reference96 = ref span54[1]; - GatheringNode obj61 = new GatheringNode - { - DataId = 31414u - }; - num3 = 1; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - CollectionsMarshal.AsSpan(list132)[0] = new GatheringLocation - { - Position = new Vector3(-714.2946f, -113.8825f, 557.3662f) - }; - obj61.Locations = list132; - reference96 = obj61; - gatheringNodeGroup35.Nodes = list130; - reference94 = gatheringNodeGroup35; - gatheringRoot12.Groups = list123; - AddLocation(358, gatheringRoot12); - GatheringRoot gatheringRoot13 = new GatheringRoot(); - num = 1; - List list133 = new List(num); - CollectionsMarshal.SetCount(list133, num); - CollectionsMarshal.AsSpan(list133)[0] = "liza"; - gatheringRoot13.Author = list133; - num = 1; - List list134 = new List(num); - CollectionsMarshal.SetCount(list134, num); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.None, null, null, 400) - { - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - gatheringRoot13.Steps = list134; - num = 3; - List list135 = new List(num); - CollectionsMarshal.SetCount(list135, num); - Span span56 = CollectionsMarshal.AsSpan(list135); - ref GatheringNodeGroup reference97 = ref span56[0]; - GatheringNodeGroup gatheringNodeGroup36 = new GatheringNodeGroup(); - num2 = 2; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - Span span57 = CollectionsMarshal.AsSpan(list136); - ref GatheringNode reference98 = ref span57[0]; - GatheringNode obj62 = new GatheringNode - { - DataId = 31419u - }; - num3 = 3; - List list137 = new List(num3); - CollectionsMarshal.SetCount(list137, num3); - Span span58 = CollectionsMarshal.AsSpan(list137); - span58[0] = new GatheringLocation - { - Position = new Vector3(-204.7827f, -18.18443f, 272.0514f) - }; - span58[1] = new GatheringLocation - { - Position = new Vector3(-187.8667f, -18.16559f, 260.4704f), - MinimumAngle = -85, - MaximumAngle = 105 - }; - span58[2] = new GatheringLocation - { - Position = new Vector3(-219.7478f, -18.66556f, 279.3036f) - }; - obj62.Locations = list137; - reference98 = obj62; - ref GatheringNode reference99 = ref span57[1]; - GatheringNode obj63 = new GatheringNode - { - DataId = 31418u - }; - num3 = 1; - List list138 = new List(num3); - CollectionsMarshal.SetCount(list138, num3); - CollectionsMarshal.AsSpan(list138)[0] = new GatheringLocation - { - Position = new Vector3(-216.0198f, -14.66686f, 263.2452f) - }; - obj63.Locations = list138; - reference99 = obj63; - gatheringNodeGroup36.Nodes = list136; - reference97 = gatheringNodeGroup36; - ref GatheringNodeGroup reference100 = ref span56[1]; - GatheringNodeGroup gatheringNodeGroup37 = new GatheringNodeGroup(); - num2 = 2; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - Span span59 = CollectionsMarshal.AsSpan(list139); - ref GatheringNode reference101 = ref span59[0]; - GatheringNode obj64 = new GatheringNode - { - DataId = 31423u - }; - num3 = 3; - List list140 = new List(num3); - CollectionsMarshal.SetCount(list140, num3); - Span span60 = CollectionsMarshal.AsSpan(list140); - span60[0] = new GatheringLocation - { - Position = new Vector3(-125.676f, -13.40994f, 434.1913f), - MinimumAngle = 25, - MaximumAngle = 260 - }; - span60[1] = new GatheringLocation - { - Position = new Vector3(-99.86462f, -11.67334f, 437.7415f), - MinimumAngle = 85, - MaximumAngle = 300 - }; - span60[2] = new GatheringLocation - { - Position = new Vector3(-71.04668f, -8.40571f, 445.0867f), - MinimumAngle = -40, - MaximumAngle = 170 - }; - obj64.Locations = list140; - reference101 = obj64; - ref GatheringNode reference102 = ref span59[1]; - GatheringNode obj65 = new GatheringNode - { - DataId = 31422u - }; - num3 = 1; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - CollectionsMarshal.AsSpan(list141)[0] = new GatheringLocation - { - Position = new Vector3(-88.15926f, -8.882813f, 447.7102f), - MinimumAngle = 155, - MaximumAngle = 360 - }; - obj65.Locations = list141; - reference102 = obj65; - gatheringNodeGroup37.Nodes = list139; - reference100 = gatheringNodeGroup37; - ref GatheringNodeGroup reference103 = ref span56[2]; - GatheringNodeGroup gatheringNodeGroup38 = new GatheringNodeGroup(); - num2 = 2; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - Span span61 = CollectionsMarshal.AsSpan(list142); - ref GatheringNode reference104 = ref span61[0]; - GatheringNode obj66 = new GatheringNode - { - DataId = 31420u - }; - num3 = 1; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - CollectionsMarshal.AsSpan(list143)[0] = new GatheringLocation - { - Position = new Vector3(12.52414f, -14.81244f, 375.4579f) - }; - obj66.Locations = list143; - reference104 = obj66; - ref GatheringNode reference105 = ref span61[1]; - GatheringNode obj67 = new GatheringNode - { - DataId = 31421u - }; - num3 = 3; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - Span span62 = CollectionsMarshal.AsSpan(list144); - span62[0] = new GatheringLocation - { - Position = new Vector3(-11.31142f, -19.80939f, 383.9503f) - }; - span62[1] = new GatheringLocation - { - Position = new Vector3(4.771156f, -17.64155f, 386.0074f) - }; - span62[2] = new GatheringLocation - { - Position = new Vector3(9.879506f, -13.13191f, 358.7252f) - }; - obj67.Locations = list144; - reference105 = obj67; - gatheringNodeGroup38.Nodes = list142; - reference103 = gatheringNodeGroup38; - gatheringRoot13.Groups = list135; - AddLocation(359, gatheringRoot13); - GatheringRoot gatheringRoot14 = new GatheringRoot(); - num = 1; - List list145 = new List(num); - CollectionsMarshal.SetCount(list145, num); - CollectionsMarshal.AsSpan(list145)[0] = "liza"; - gatheringRoot14.Author = list145; - num = 1; - List list146 = new List(num); - CollectionsMarshal.SetCount(list146, num); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.None, null, null, 401) - { - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - gatheringRoot14.Steps = list146; - num = 3; - List list147 = new List(num); - CollectionsMarshal.SetCount(list147, num); - Span span63 = CollectionsMarshal.AsSpan(list147); - ref GatheringNodeGroup reference106 = ref span63[0]; - GatheringNodeGroup gatheringNodeGroup39 = new GatheringNodeGroup(); - num2 = 2; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - Span span64 = CollectionsMarshal.AsSpan(list148); - ref GatheringNode reference107 = ref span64[0]; - GatheringNode obj68 = new GatheringNode - { - DataId = 31425u - }; - num3 = 2; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - Span span65 = CollectionsMarshal.AsSpan(list149); - span65[0] = new GatheringLocation - { - Position = new Vector3(-63.97195f, 13.48263f, -559.9897f) - }; - span65[1] = new GatheringLocation - { - Position = new Vector3(-47.75371f, 13.66347f, -571.2774f), - MinimumAngle = -80, - MaximumAngle = 115 - }; - obj68.Locations = list149; - reference107 = obj68; - ref GatheringNode reference108 = ref span64[1]; - GatheringNode obj69 = new GatheringNode - { - DataId = 31424u - }; - num3 = 1; - List list150 = new List(num3); - CollectionsMarshal.SetCount(list150, num3); - CollectionsMarshal.AsSpan(list150)[0] = new GatheringLocation - { - Position = new Vector3(-26.91866f, 12.14502f, -554.869f) - }; - obj69.Locations = list150; - reference108 = obj69; - gatheringNodeGroup39.Nodes = list148; - reference106 = gatheringNodeGroup39; - ref GatheringNodeGroup reference109 = ref span63[1]; - GatheringNodeGroup gatheringNodeGroup40 = new GatheringNodeGroup(); - num2 = 2; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - Span span66 = CollectionsMarshal.AsSpan(list151); - ref GatheringNode reference110 = ref span66[0]; - GatheringNode obj70 = new GatheringNode - { - DataId = 31426u - }; - num3 = 1; - List list152 = new List(num3); - CollectionsMarshal.SetCount(list152, num3); - CollectionsMarshal.AsSpan(list152)[0] = new GatheringLocation - { - Position = new Vector3(-26.56338f, 12.41532f, -442.6965f) - }; - obj70.Locations = list152; - reference110 = obj70; - ref GatheringNode reference111 = ref span66[1]; - GatheringNode obj71 = new GatheringNode - { - DataId = 31427u - }; - num3 = 2; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - Span span67 = CollectionsMarshal.AsSpan(list153); - span67[0] = new GatheringLocation - { - Position = new Vector3(2.215849f, 12.32494f, -434.0038f) - }; - span67[1] = new GatheringLocation - { - Position = new Vector3(-18.38633f, 12.4451f, -427.6107f) - }; - obj71.Locations = list153; - reference111 = obj71; - gatheringNodeGroup40.Nodes = list151; - reference109 = gatheringNodeGroup40; - ref GatheringNodeGroup reference112 = ref span63[2]; - GatheringNodeGroup gatheringNodeGroup41 = new GatheringNodeGroup(); - num2 = 2; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - Span span68 = CollectionsMarshal.AsSpan(list154); - ref GatheringNode reference113 = ref span68[0]; - GatheringNode obj72 = new GatheringNode - { - DataId = 31429u - }; - num3 = 2; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - Span span69 = CollectionsMarshal.AsSpan(list155); - span69[0] = new GatheringLocation - { - Position = new Vector3(70.59737f, 13.45543f, -599.2373f), - MinimumAngle = -60, - MaximumAngle = 125 - }; - span69[1] = new GatheringLocation - { - Position = new Vector3(50.8525f, 13.158f, -646.834f) - }; - obj72.Locations = list155; - reference113 = obj72; - ref GatheringNode reference114 = ref span68[1]; - GatheringNode obj73 = new GatheringNode - { - DataId = 31428u - }; - num3 = 1; - List list156 = new List(num3); - CollectionsMarshal.SetCount(list156, num3); - CollectionsMarshal.AsSpan(list156)[0] = new GatheringLocation - { - Position = new Vector3(85.6145f, 12.69149f, -629.3397f) - }; - obj73.Locations = list156; - reference114 = obj73; - gatheringNodeGroup41.Nodes = list154; - reference112 = gatheringNodeGroup41; - gatheringRoot14.Groups = list147; - AddLocation(360, gatheringRoot14); - GatheringRoot gatheringRoot15 = new GatheringRoot(); - num = 1; - List list157 = new List(num); - CollectionsMarshal.SetCount(list157, num); - CollectionsMarshal.AsSpan(list157)[0] = "liza"; - gatheringRoot15.Author = list157; - num = 1; - List list158 = new List(num); - CollectionsMarshal.SetCount(list158, num); - ref QuestStep reference115 = ref CollectionsMarshal.AsSpan(list158)[0]; - QuestStep obj74 = new QuestStep(EInteractionType.None, null, null, 399) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshirePrologueGate - } - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = 399; - skipAetheryteCondition2.InTerritory = list159; - skipConditions7.AetheryteShortcutIf = skipAetheryteCondition2; - obj74.SkipConditions = skipConditions7; - reference115 = obj74; - gatheringRoot15.Steps = list158; - num = 3; - List list160 = new List(num); - CollectionsMarshal.SetCount(list160, num); - Span span70 = CollectionsMarshal.AsSpan(list160); - ref GatheringNodeGroup reference116 = ref span70[0]; - GatheringNodeGroup gatheringNodeGroup42 = new GatheringNodeGroup(); - num2 = 2; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - Span span71 = CollectionsMarshal.AsSpan(list161); - ref GatheringNode reference117 = ref span71[0]; - GatheringNode obj75 = new GatheringNode - { - DataId = 31431u - }; - num3 = 3; - List list162 = new List(num3); - CollectionsMarshal.SetCount(list162, num3); - Span span72 = CollectionsMarshal.AsSpan(list162); - span72[0] = new GatheringLocation - { - Position = new Vector3(-494.1652f, 142.7381f, -287.4084f), - MinimumAngle = 0, - MaximumAngle = 270 - }; - span72[1] = new GatheringLocation - { - Position = new Vector3(-485.4606f, 142.9737f, -290.856f), - MinimumAngle = 65, - MaximumAngle = 310 - }; - span72[2] = new GatheringLocation - { - Position = new Vector3(-533.1213f, 142.5874f, -262.2948f), - MinimumAngle = -255, - MaximumAngle = 10 - }; - obj75.Locations = list162; - reference117 = obj75; - ref GatheringNode reference118 = ref span71[1]; - GatheringNode obj76 = new GatheringNode - { - DataId = 31430u - }; - num3 = 1; - List list163 = new List(num3); - CollectionsMarshal.SetCount(list163, num3); - CollectionsMarshal.AsSpan(list163)[0] = new GatheringLocation - { - Position = new Vector3(-510.6404f, 141.9014f, -280.1611f) - }; - obj76.Locations = list163; - reference118 = obj76; - gatheringNodeGroup42.Nodes = list161; - reference116 = gatheringNodeGroup42; - ref GatheringNodeGroup reference119 = ref span70[1]; - GatheringNodeGroup gatheringNodeGroup43 = new GatheringNodeGroup(); - num2 = 2; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - Span span73 = CollectionsMarshal.AsSpan(list164); - ref GatheringNode reference120 = ref span73[0]; - GatheringNode obj77 = new GatheringNode - { - DataId = 31434u - }; - num3 = 1; - List list165 = new List(num3); - CollectionsMarshal.SetCount(list165, num3); - CollectionsMarshal.AsSpan(list165)[0] = new GatheringLocation - { - Position = new Vector3(-562.8221f, 148.9451f, -104.9014f) - }; - obj77.Locations = list165; - reference120 = obj77; - ref GatheringNode reference121 = ref span73[1]; - GatheringNode obj78 = new GatheringNode - { - DataId = 31435u - }; - num3 = 3; - List list166 = new List(num3); - CollectionsMarshal.SetCount(list166, num3); - Span span74 = CollectionsMarshal.AsSpan(list166); - span74[0] = new GatheringLocation - { - Position = new Vector3(-520.0394f, 148.7521f, -97.8f) - }; - span74[1] = new GatheringLocation - { - Position = new Vector3(-570.4307f, 148.103f, -130.9921f) - }; - span74[2] = new GatheringLocation - { - Position = new Vector3(-573.738f, 148.4877f, -158.4798f), - MinimumAngle = 130, - MaximumAngle = 360 - }; - obj78.Locations = list166; - reference121 = obj78; - gatheringNodeGroup43.Nodes = list164; - reference119 = gatheringNodeGroup43; - ref GatheringNodeGroup reference122 = ref span70[2]; - GatheringNodeGroup gatheringNodeGroup44 = new GatheringNodeGroup(); - num2 = 2; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - Span span75 = CollectionsMarshal.AsSpan(list167); - ref GatheringNode reference123 = ref span75[0]; - GatheringNode obj79 = new GatheringNode - { - DataId = 31432u - }; - num3 = 1; - List list168 = new List(num3); - CollectionsMarshal.SetCount(list168, num3); - CollectionsMarshal.AsSpan(list168)[0] = new GatheringLocation - { - Position = new Vector3(-388.4753f, 147.345f, -177.1972f) - }; - obj79.Locations = list168; - reference123 = obj79; - ref GatheringNode reference124 = ref span75[1]; - GatheringNode obj80 = new GatheringNode - { - DataId = 31433u - }; - num3 = 3; - List list169 = new List(num3); - CollectionsMarshal.SetCount(list169, num3); - Span span76 = CollectionsMarshal.AsSpan(list169); - span76[0] = new GatheringLocation - { - Position = new Vector3(-349.5501f, 144.6325f, -185.3442f) - }; - span76[1] = new GatheringLocation - { - Position = new Vector3(-398.145f, 145.7528f, -198.2334f), - MinimumAngle = 155, - MaximumAngle = 360 - }; - span76[2] = new GatheringLocation - { - Position = new Vector3(-374.5566f, 145.3827f, -194.8224f) - }; - obj80.Locations = list169; - reference124 = obj80; - gatheringNodeGroup44.Nodes = list167; - reference122 = gatheringNodeGroup44; - gatheringRoot15.Groups = list160; - AddLocation(361, gatheringRoot15); - GatheringRoot gatheringRoot16 = new GatheringRoot(); - num = 1; - List list170 = new List(num); - CollectionsMarshal.SetCount(list170, num); - CollectionsMarshal.AsSpan(list170)[0] = "liza"; - gatheringRoot16.Author = list170; - num = 2; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - Span span77 = CollectionsMarshal.AsSpan(list171); - ref QuestStep reference125 = ref span77[0]; - QuestStep obj81 = new QuestStep(EInteractionType.Interact, 2013074u, new Vector3(304.3412f, 483.48206f, 143.11438f), 960) - { - TargetTerritoryId = (ushort)1073 - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = 1073; - skipStepConditions6.InTerritory = list172; - skipConditions8.StepIf = skipStepConditions6; - obj81.SkipConditions = skipConditions8; - reference125 = obj81; - span77[1] = new QuestStep(EInteractionType.None, null, null, 1073); - gatheringRoot16.Steps = list171; - num = 3; - List list173 = new List(num); - CollectionsMarshal.SetCount(list173, num); - Span span78 = CollectionsMarshal.AsSpan(list173); - ref GatheringNodeGroup reference126 = ref span78[0]; - GatheringNodeGroup gatheringNodeGroup45 = new GatheringNodeGroup(); - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - ref GatheringNode reference127 = ref CollectionsMarshal.AsSpan(list174)[0]; - GatheringNode obj82 = new GatheringNode - { - DataId = 33851u - }; - num3 = 1; - List list175 = new List(num3); - CollectionsMarshal.SetCount(list175, num3); - CollectionsMarshal.AsSpan(list175)[0] = new GatheringLocation - { - Position = new Vector3(-10.66682f, 499.3763f, 34.01145f) - }; - obj82.Locations = list175; - reference127 = obj82; - gatheringNodeGroup45.Nodes = list174; - reference126 = gatheringNodeGroup45; - ref GatheringNodeGroup reference128 = ref span78[1]; - GatheringNodeGroup gatheringNodeGroup46 = new GatheringNodeGroup(); - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - ref GatheringNode reference129 = ref CollectionsMarshal.AsSpan(list176)[0]; - GatheringNode obj83 = new GatheringNode - { - DataId = 32269u - }; - num3 = 1; - List list177 = new List(num3); - CollectionsMarshal.SetCount(list177, num3); - CollectionsMarshal.AsSpan(list177)[0] = new GatheringLocation - { - Position = new Vector3(-16.14751f, 499.7353f, 22.38433f) - }; - obj83.Locations = list177; - reference129 = obj83; - gatheringNodeGroup46.Nodes = list176; - reference128 = gatheringNodeGroup46; - ref GatheringNodeGroup reference130 = ref span78[2]; - GatheringNodeGroup gatheringNodeGroup47 = new GatheringNodeGroup(); - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - ref GatheringNode reference131 = ref CollectionsMarshal.AsSpan(list178)[0]; - GatheringNode obj84 = new GatheringNode - { - DataId = 32766u - }; - num3 = 1; - List list179 = new List(num3); - CollectionsMarshal.SetCount(list179, num3); - CollectionsMarshal.AsSpan(list179)[0] = new GatheringLocation - { - Position = new Vector3(-28.72828f, 499.5391f, 33.41306f), - MinimumAngle = 125, - MaximumAngle = 335 - }; - obj84.Locations = list179; - reference131 = obj84; - gatheringNodeGroup47.Nodes = list178; - reference130 = gatheringNodeGroup47; - gatheringRoot16.Groups = list173; - AddLocation(393, gatheringRoot16); - GatheringRoot gatheringRoot17 = new GatheringRoot(); - num = 1; - List list180 = new List(num); - CollectionsMarshal.SetCount(list180, num); - CollectionsMarshal.AsSpan(list180)[0] = "liza"; - gatheringRoot17.Author = list180; - num = 2; - List list181 = new List(num); - CollectionsMarshal.SetCount(list181, num); - Span span79 = CollectionsMarshal.AsSpan(list181); - ref QuestStep reference132 = ref span79[0]; - QuestStep obj85 = new QuestStep(EInteractionType.Interact, 2013074u, new Vector3(304.3412f, 483.48206f, 143.11438f), 960) - { - TargetTerritoryId = (ushort)1073 - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = 1073; - skipStepConditions7.InTerritory = list182; - skipConditions9.StepIf = skipStepConditions7; - obj85.SkipConditions = skipConditions9; - reference132 = obj85; - span79[1] = new QuestStep(EInteractionType.None, null, null, 1073); - gatheringRoot17.Steps = list181; - num = 3; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - Span span80 = CollectionsMarshal.AsSpan(list183); - ref GatheringNodeGroup reference133 = ref span80[0]; - GatheringNodeGroup gatheringNodeGroup48 = new GatheringNodeGroup(); - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - ref GatheringNode reference134 = ref CollectionsMarshal.AsSpan(list184)[0]; - GatheringNode obj86 = new GatheringNode - { - DataId = 34347u - }; - num3 = 1; - List list185 = new List(num3); - CollectionsMarshal.SetCount(list185, num3); - CollectionsMarshal.AsSpan(list185)[0] = new GatheringLocation - { - Position = new Vector3(-13.64273f, 493.9979f, -58.21632f), - MinimumAngle = -5, - MaximumAngle = 210 - }; - obj86.Locations = list185; - reference134 = obj86; - gatheringNodeGroup48.Nodes = list184; - reference133 = gatheringNodeGroup48; - ref GatheringNodeGroup reference135 = ref span80[1]; - GatheringNodeGroup gatheringNodeGroup49 = new GatheringNodeGroup(); - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - ref GatheringNode reference136 = ref CollectionsMarshal.AsSpan(list186)[0]; - GatheringNode obj87 = new GatheringNode - { - DataId = 34348u - }; - num3 = 1; - List list187 = new List(num3); - CollectionsMarshal.SetCount(list187, num3); - CollectionsMarshal.AsSpan(list187)[0] = new GatheringLocation - { - Position = new Vector3(-22.23647f, 494.0945f, -59.94842f), - MinimumAngle = 125, - MaximumAngle = 360 - }; - obj87.Locations = list187; - reference136 = obj87; - gatheringNodeGroup49.Nodes = list186; - reference135 = gatheringNodeGroup49; - ref GatheringNodeGroup reference137 = ref span80[2]; - GatheringNodeGroup gatheringNodeGroup50 = new GatheringNodeGroup(); - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - ref GatheringNode reference138 = ref CollectionsMarshal.AsSpan(list188)[0]; - GatheringNode obj88 = new GatheringNode - { - DataId = 34334u - }; - num3 = 1; - List list189 = new List(num3); - CollectionsMarshal.SetCount(list189, num3); - CollectionsMarshal.AsSpan(list189)[0] = new GatheringLocation - { - Position = new Vector3(-20.58942f, 494.25f, -77.68658f), - MinimumAngle = -45, - MaximumAngle = 170 - }; - obj88.Locations = list189; - reference138 = obj88; - gatheringNodeGroup50.Nodes = list188; - reference137 = gatheringNodeGroup50; - gatheringRoot17.Groups = list183; - AddLocation(394, gatheringRoot17); - GatheringRoot gatheringRoot18 = new GatheringRoot(); - num = 1; - List list190 = new List(num); - CollectionsMarshal.SetCount(list190, num); - CollectionsMarshal.AsSpan(list190)[0] = "liza"; - gatheringRoot18.Author = list190; - num = 2; - List list191 = new List(num); - CollectionsMarshal.SetCount(list191, num); - Span span81 = CollectionsMarshal.AsSpan(list191); - ref QuestStep reference139 = ref span81[0]; - QuestStep obj89 = new QuestStep(EInteractionType.Interact, 2013074u, new Vector3(304.3412f, 483.48206f, 143.11438f), 960) - { - TargetTerritoryId = (ushort)1073 - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipStepConditions skipStepConditions8 = new SkipStepConditions(); - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = 1073; - skipStepConditions8.InTerritory = list192; - skipConditions10.StepIf = skipStepConditions8; - obj89.SkipConditions = skipConditions10; - reference139 = obj89; - span81[1] = new QuestStep(EInteractionType.None, null, null, 1073); - gatheringRoot18.Steps = list191; - num = 3; - List list193 = new List(num); - CollectionsMarshal.SetCount(list193, num); - Span span82 = CollectionsMarshal.AsSpan(list193); - ref GatheringNodeGroup reference140 = ref span82[0]; - GatheringNodeGroup gatheringNodeGroup51 = new GatheringNodeGroup(); - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - ref GatheringNode reference141 = ref CollectionsMarshal.AsSpan(list194)[0]; - GatheringNode obj90 = new GatheringNode - { - DataId = 34350u - }; - num3 = 1; - List list195 = new List(num3); - CollectionsMarshal.SetCount(list195, num3); - CollectionsMarshal.AsSpan(list195)[0] = new GatheringLocation - { - Position = new Vector3(18.9518f, 485.9131f, -133.3762f) - }; - obj90.Locations = list195; - reference141 = obj90; - gatheringNodeGroup51.Nodes = list194; - reference140 = gatheringNodeGroup51; - ref GatheringNodeGroup reference142 = ref span82[1]; - GatheringNodeGroup gatheringNodeGroup52 = new GatheringNodeGroup(); - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - ref GatheringNode reference143 = ref CollectionsMarshal.AsSpan(list196)[0]; - GatheringNode obj91 = new GatheringNode - { - DataId = 34351u - }; - num3 = 1; - List list197 = new List(num3); - CollectionsMarshal.SetCount(list197, num3); - CollectionsMarshal.AsSpan(list197)[0] = new GatheringLocation - { - Position = new Vector3(15.71416f, 486.0302f, -136.2497f) - }; - obj91.Locations = list197; - reference143 = obj91; - gatheringNodeGroup52.Nodes = list196; - reference142 = gatheringNodeGroup52; - ref GatheringNodeGroup reference144 = ref span82[2]; - GatheringNodeGroup gatheringNodeGroup53 = new GatheringNodeGroup(); - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - ref GatheringNode reference145 = ref CollectionsMarshal.AsSpan(list198)[0]; - GatheringNode obj92 = new GatheringNode - { - DataId = 34349u - }; - num3 = 1; - List list199 = new List(num3); - CollectionsMarshal.SetCount(list199, num3); - CollectionsMarshal.AsSpan(list199)[0] = new GatheringLocation - { - Position = new Vector3(9.524881f, 486.2234f, -142.2316f) - }; - obj92.Locations = list199; - reference145 = obj92; - gatheringNodeGroup53.Nodes = list198; - reference144 = gatheringNodeGroup53; - gatheringRoot18.Groups = list193; - AddLocation(396, gatheringRoot18); - GatheringRoot gatheringRoot19 = new GatheringRoot(); - num = 1; - List list200 = new List(num); - CollectionsMarshal.SetCount(list200, num); - CollectionsMarshal.AsSpan(list200)[0] = "liza"; - gatheringRoot19.Author = list200; - num = 2; - List list201 = new List(num); - CollectionsMarshal.SetCount(list201, num); - Span span83 = CollectionsMarshal.AsSpan(list201); - ref QuestStep reference146 = ref span83[0]; - QuestStep obj93 = new QuestStep(EInteractionType.Interact, 2013074u, new Vector3(304.3412f, 483.48206f, 143.11438f), 960) - { - TargetTerritoryId = (ushort)1073 - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipStepConditions skipStepConditions9 = new SkipStepConditions(); - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = 1073; - skipStepConditions9.InTerritory = list202; - skipConditions11.StepIf = skipStepConditions9; - obj93.SkipConditions = skipConditions11; - reference146 = obj93; - span83[1] = new QuestStep(EInteractionType.None, null, null, 1073); - gatheringRoot19.Steps = list201; - num = 3; - List list203 = new List(num); - CollectionsMarshal.SetCount(list203, num); - Span span84 = CollectionsMarshal.AsSpan(list203); - ref GatheringNodeGroup reference147 = ref span84[0]; - GatheringNodeGroup gatheringNodeGroup54 = new GatheringNodeGroup(); - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - ref GatheringNode reference148 = ref CollectionsMarshal.AsSpan(list204)[0]; - GatheringNode obj94 = new GatheringNode - { - DataId = 34353u - }; - num3 = 1; - List list205 = new List(num3); - CollectionsMarshal.SetCount(list205, num3); - CollectionsMarshal.AsSpan(list205)[0] = new GatheringLocation - { - Position = new Vector3(-59.17508f, 494.132f, -1.865536f), - MinimumAngle = -35, - MaximumAngle = 140 - }; - obj94.Locations = list205; - reference148 = obj94; - gatheringNodeGroup54.Nodes = list204; - reference147 = gatheringNodeGroup54; - ref GatheringNodeGroup reference149 = ref span84[1]; - GatheringNodeGroup gatheringNodeGroup55 = new GatheringNodeGroup(); - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - ref GatheringNode reference150 = ref CollectionsMarshal.AsSpan(list206)[0]; - GatheringNode obj95 = new GatheringNode - { - DataId = 34352u - }; - num3 = 1; - List list207 = new List(num3); - CollectionsMarshal.SetCount(list207, num3); - CollectionsMarshal.AsSpan(list207)[0] = new GatheringLocation - { - Position = new Vector3(-61.05396f, 495.2124f, -22.16576f), - MinimumAngle = -30, - MaximumAngle = 90 - }; - obj95.Locations = list207; - reference150 = obj95; - gatheringNodeGroup55.Nodes = list206; - reference149 = gatheringNodeGroup55; - ref GatheringNodeGroup reference151 = ref span84[2]; - GatheringNodeGroup gatheringNodeGroup56 = new GatheringNodeGroup(); - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - ref GatheringNode reference152 = ref CollectionsMarshal.AsSpan(list208)[0]; - GatheringNode obj96 = new GatheringNode - { - DataId = 34354u - }; - num3 = 1; - List list209 = new List(num3); - CollectionsMarshal.SetCount(list209, num3); - CollectionsMarshal.AsSpan(list209)[0] = new GatheringLocation - { - Position = new Vector3(-90.96052f, 493.2197f, -20.74431f), - MinimumAngle = -70, - MaximumAngle = 75 - }; - obj96.Locations = list209; - reference152 = obj96; - gatheringNodeGroup56.Nodes = list208; - reference151 = gatheringNodeGroup56; - gatheringRoot19.Groups = list203; - AddLocation(398, gatheringRoot19); - GatheringRoot gatheringRoot20 = new GatheringRoot(); - num = 1; - List list210 = new List(num); - CollectionsMarshal.SetCount(list210, num); - CollectionsMarshal.AsSpan(list210)[0] = "liza"; - gatheringRoot20.Author = list210; - num = 2; - List list211 = new List(num); - CollectionsMarshal.SetCount(list211, num); - Span span85 = CollectionsMarshal.AsSpan(list211); - ref QuestStep reference153 = ref span85[0]; - QuestStep obj97 = new QuestStep(EInteractionType.Interact, 2013074u, new Vector3(304.3412f, 483.48206f, 143.11438f), 960) - { - TargetTerritoryId = (ushort)1073 - }; - SkipConditions skipConditions12 = new SkipConditions(); - SkipStepConditions skipStepConditions10 = new SkipStepConditions(); - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - CollectionsMarshal.AsSpan(list212)[0] = 1073; - skipStepConditions10.InTerritory = list212; - skipConditions12.StepIf = skipStepConditions10; - obj97.SkipConditions = skipConditions12; - reference153 = obj97; - span85[1] = new QuestStep(EInteractionType.None, null, null, 1073); - gatheringRoot20.Steps = list211; - num = 3; - List list213 = new List(num); - CollectionsMarshal.SetCount(list213, num); - Span span86 = CollectionsMarshal.AsSpan(list213); - ref GatheringNodeGroup reference154 = ref span86[0]; - GatheringNodeGroup gatheringNodeGroup57 = new GatheringNodeGroup(); - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - ref GatheringNode reference155 = ref CollectionsMarshal.AsSpan(list214)[0]; - GatheringNode obj98 = new GatheringNode - { - DataId = 34357u - }; - num3 = 1; - List list215 = new List(num3); - CollectionsMarshal.SetCount(list215, num3); - CollectionsMarshal.AsSpan(list215)[0] = new GatheringLocation - { - Position = new Vector3(-91.21072f, 490.3782f, 41.27306f), - MinimumAngle = 140, - MaximumAngle = 360 - }; - obj98.Locations = list215; - reference155 = obj98; - gatheringNodeGroup57.Nodes = list214; - reference154 = gatheringNodeGroup57; - ref GatheringNodeGroup reference156 = ref span86[1]; - GatheringNodeGroup gatheringNodeGroup58 = new GatheringNodeGroup(); - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - ref GatheringNode reference157 = ref CollectionsMarshal.AsSpan(list216)[0]; - GatheringNode obj99 = new GatheringNode - { - DataId = 34355u - }; - num3 = 1; - List list217 = new List(num3); - CollectionsMarshal.SetCount(list217, num3); - CollectionsMarshal.AsSpan(list217)[0] = new GatheringLocation - { - Position = new Vector3(-118.7086f, 490.4538f, 34.37638f), - MinimumAngle = 40, - MaximumAngle = 345 - }; - obj99.Locations = list217; - reference157 = obj99; - gatheringNodeGroup58.Nodes = list216; - reference156 = gatheringNodeGroup58; - ref GatheringNodeGroup reference158 = ref span86[2]; - GatheringNodeGroup gatheringNodeGroup59 = new GatheringNodeGroup(); - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - ref GatheringNode reference159 = ref CollectionsMarshal.AsSpan(list218)[0]; - GatheringNode obj100 = new GatheringNode - { - DataId = 34356u - }; - num3 = 1; - List list219 = new List(num3); - CollectionsMarshal.SetCount(list219, num3); - CollectionsMarshal.AsSpan(list219)[0] = new GatheringLocation - { - Position = new Vector3(-105.7026f, 490.5684f, 58.49864f), - MinimumAngle = 0, - MaximumAngle = 210 - }; - obj100.Locations = list219; - reference159 = obj100; - gatheringNodeGroup59.Nodes = list218; - reference158 = gatheringNodeGroup59; - gatheringRoot20.Groups = list213; - AddLocation(399, gatheringRoot20); - } - - private static void LoadLocation4() - { - GatheringRoot gatheringRoot = new GatheringRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - gatheringRoot.Author = list; - num = 1; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - CollectionsMarshal.AsSpan(list2)[0] = new QuestStep(EInteractionType.None, null, null, 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens - }; - gatheringRoot.Steps = list2; - num = 3; - List list3 = new List(num); - CollectionsMarshal.SetCount(list3, num); - Span span = CollectionsMarshal.AsSpan(list3); - ref GatheringNodeGroup reference = ref span[0]; - GatheringNodeGroup gatheringNodeGroup = new GatheringNodeGroup(); - int num2 = 2; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - ref GatheringNode reference2 = ref span2[0]; - GatheringNode obj = new GatheringNode - { - DataId = 32125u - }; - int num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = new GatheringLocation - { - Position = new Vector3(-317.5445f, 80.03535f, -449.2276f), - MinimumAngle = -80, - MaximumAngle = 30 - }; - obj.Locations = list5; - reference2 = obj; - ref GatheringNode reference3 = ref span2[1]; - GatheringNode obj2 = new GatheringNode - { - DataId = 32126u - }; - num3 = 3; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - Span span3 = CollectionsMarshal.AsSpan(list6); - span3[0] = new GatheringLocation - { - Position = new Vector3(-301.3254f, 69.71587f, -485.7171f), - MinimumAngle = -125, - MaximumAngle = 30 - }; - span3[1] = new GatheringLocation - { - Position = new Vector3(-311.9155f, 76.91404f, -467.1509f), - MinimumAngle = 160, - MaximumAngle = 290 - }; - span3[2] = new GatheringLocation - { - Position = new Vector3(-311.1216f, 77.83449f, -454.2029f), - MinimumAngle = -110, - MaximumAngle = 30 - }; - obj2.Locations = list6; - reference3 = obj2; - gatheringNodeGroup.Nodes = list4; - reference = gatheringNodeGroup; - ref GatheringNodeGroup reference4 = ref span[1]; - GatheringNodeGroup gatheringNodeGroup2 = new GatheringNodeGroup(); - num2 = 2; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - Span span4 = CollectionsMarshal.AsSpan(list7); - ref GatheringNode reference5 = ref span4[0]; - GatheringNode obj3 = new GatheringNode - { - DataId = 32124u - }; - num3 = 3; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - Span span5 = CollectionsMarshal.AsSpan(list8); - span5[0] = new GatheringLocation - { - Position = new Vector3(-262.2596f, 62.06842f, -550.8122f), - MinimumAngle = 185, - MaximumAngle = 335 - }; - span5[1] = new GatheringLocation - { - Position = new Vector3(-266.0078f, 62.03654f, -564.1611f), - MinimumAngle = 180, - MaximumAngle = 340 - }; - span5[2] = new GatheringLocation - { - Position = new Vector3(-255.8366f, 62.63577f, -588.0093f), - MinimumAngle = 245, - MaximumAngle = 345 - }; - obj3.Locations = list8; - reference5 = obj3; - ref GatheringNode reference6 = ref span4[1]; - GatheringNode obj4 = new GatheringNode - { - DataId = 32123u - }; - num3 = 1; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - CollectionsMarshal.AsSpan(list9)[0] = new GatheringLocation - { - Position = new Vector3(-264.8189f, 62.61843f, -558.4091f), - MinimumAngle = 175, - MaximumAngle = 300 - }; - obj4.Locations = list9; - reference6 = obj4; - gatheringNodeGroup2.Nodes = list7; - reference4 = gatheringNodeGroup2; - ref GatheringNodeGroup reference7 = ref span[2]; - GatheringNodeGroup gatheringNodeGroup3 = new GatheringNodeGroup(); - num2 = 2; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span6 = CollectionsMarshal.AsSpan(list10); - ref GatheringNode reference8 = ref span6[0]; - GatheringNode obj5 = new GatheringNode - { - DataId = 32127u - }; - num3 = 1; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - CollectionsMarshal.AsSpan(list11)[0] = new GatheringLocation - { - Position = new Vector3(-108.2628f, 64.1357f, -485.6675f) - }; - obj5.Locations = list11; - reference8 = obj5; - ref GatheringNode reference9 = ref span6[1]; - GatheringNode obj6 = new GatheringNode - { - DataId = 32128u - }; - num3 = 1; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - CollectionsMarshal.AsSpan(list12)[0] = new GatheringLocation - { - Position = new Vector3(-103.2401f, 59.26093f, -463.1485f) - }; - obj6.Locations = list12; - reference9 = obj6; - gatheringNodeGroup3.Nodes = list10; - reference7 = gatheringNodeGroup3; - gatheringRoot.Groups = list3; - AddLocation(485, gatheringRoot); - GatheringRoot gatheringRoot2 = new GatheringRoot(); - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = "liza"; - gatheringRoot2.Author = list13; - num = 1; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.None, null, null, 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens - }; - gatheringRoot2.Steps = list14; - num = 3; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - Span span7 = CollectionsMarshal.AsSpan(list15); - ref GatheringNodeGroup reference10 = ref span7[0]; - GatheringNodeGroup gatheringNodeGroup4 = new GatheringNodeGroup(); - num2 = 2; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - Span span8 = CollectionsMarshal.AsSpan(list16); - ref GatheringNode reference11 = ref span8[0]; - GatheringNode obj7 = new GatheringNode - { - DataId = 32132u - }; - num3 = 3; - List list17 = new List(num3); - CollectionsMarshal.SetCount(list17, num3); - Span span9 = CollectionsMarshal.AsSpan(list17); - span9[0] = new GatheringLocation - { - Position = new Vector3(101.0199f, 50.70325f, -410.8297f), - MinimumAngle = -55, - MaximumAngle = 25 - }; - span9[1] = new GatheringLocation - { - Position = new Vector3(78.0303f, 48.68632f, -401.5028f), - MinimumAngle = -50, - MaximumAngle = 5 - }; - span9[2] = new GatheringLocation - { - Position = new Vector3(115.4548f, 51.50989f, -415.8416f), - MinimumAngle = -115, - MaximumAngle = -40 - }; - obj7.Locations = list17; - reference11 = obj7; - ref GatheringNode reference12 = ref span8[1]; - GatheringNode obj8 = new GatheringNode - { - DataId = 32131u - }; - num3 = 1; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - CollectionsMarshal.AsSpan(list18)[0] = new GatheringLocation - { - Position = new Vector3(90.52106f, 49.82163f, -409.1239f), - MinimumAngle = -35, - MaximumAngle = 55 - }; - obj8.Locations = list18; - reference12 = obj8; - gatheringNodeGroup4.Nodes = list16; - reference10 = gatheringNodeGroup4; - ref GatheringNodeGroup reference13 = ref span7[1]; - GatheringNodeGroup gatheringNodeGroup5 = new GatheringNodeGroup(); - num2 = 2; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - Span span10 = CollectionsMarshal.AsSpan(list19); - ref GatheringNode reference14 = ref span10[0]; - GatheringNode obj9 = new GatheringNode - { - DataId = 32134u - }; - num3 = 3; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - Span span11 = CollectionsMarshal.AsSpan(list20); - span11[0] = new GatheringLocation - { - Position = new Vector3(84.90259f, 44.58842f, -324.1541f), - MinimumAngle = -10, - MaximumAngle = 105 - }; - span11[1] = new GatheringLocation - { - Position = new Vector3(82.56047f, 44.08657f, -269.3104f), - MinimumAngle = -5, - MaximumAngle = 80 - }; - span11[2] = new GatheringLocation - { - Position = new Vector3(98.20293f, 43.59855f, -299.3164f), - MinimumAngle = 95, - MaximumAngle = 185 - }; - obj9.Locations = list20; - reference14 = obj9; - ref GatheringNode reference15 = ref span10[1]; - GatheringNode obj10 = new GatheringNode - { - DataId = 32133u - }; - num3 = 1; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - CollectionsMarshal.AsSpan(list21)[0] = new GatheringLocation - { - Position = new Vector3(82.94646f, 42.55737f, -292.9016f), - MinimumAngle = 105, - MaximumAngle = 165 - }; - obj10.Locations = list21; - reference15 = obj10; - gatheringNodeGroup5.Nodes = list19; - reference13 = gatheringNodeGroup5; - ref GatheringNodeGroup reference16 = ref span7[2]; - GatheringNodeGroup gatheringNodeGroup6 = new GatheringNodeGroup(); - num2 = 2; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - Span span12 = CollectionsMarshal.AsSpan(list22); - ref GatheringNode reference17 = ref span12[0]; - GatheringNode obj11 = new GatheringNode - { - DataId = 32129u - }; - num3 = 1; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - CollectionsMarshal.AsSpan(list23)[0] = new GatheringLocation - { - Position = new Vector3(240.5221f, 43.60987f, -301.7685f), - MinimumAngle = 155, - MaximumAngle = 255 - }; - obj11.Locations = list23; - reference17 = obj11; - ref GatheringNode reference18 = ref span12[1]; - GatheringNode obj12 = new GatheringNode - { - DataId = 32130u - }; - num3 = 3; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - Span span13 = CollectionsMarshal.AsSpan(list24); - span13[0] = new GatheringLocation - { - Position = new Vector3(265.4354f, 43.19557f, -283.7873f), - MinimumAngle = -155, - MaximumAngle = -15 - }; - span13[1] = new GatheringLocation - { - Position = new Vector3(246.9251f, 43.54385f, -296.2532f), - MinimumAngle = 170, - MaximumAngle = 225 - }; - span13[2] = new GatheringLocation - { - Position = new Vector3(213.1443f, 43.26488f, -308.4924f), - MinimumAngle = 110, - MaximumAngle = 250 - }; - obj12.Locations = list24; - reference18 = obj12; - gatheringNodeGroup6.Nodes = list22; - reference16 = gatheringNodeGroup6; - gatheringRoot2.Groups = list15; - AddLocation(486, gatheringRoot2); - GatheringRoot gatheringRoot3 = new GatheringRoot(); - num = 1; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - CollectionsMarshal.AsSpan(list25)[0] = "liza"; - gatheringRoot3.Author = list25; - num = 1; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.None, null, null, 613) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyPrice - } - }; - gatheringRoot3.Steps = list26; - num = 3; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - Span span14 = CollectionsMarshal.AsSpan(list27); - ref GatheringNodeGroup reference19 = ref span14[0]; - GatheringNodeGroup gatheringNodeGroup7 = new GatheringNodeGroup(); - num2 = 2; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - Span span15 = CollectionsMarshal.AsSpan(list28); - ref GatheringNode reference20 = ref span15[0]; - GatheringNode obj13 = new GatheringNode - { - DataId = 32140u - }; - num3 = 3; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - Span span16 = CollectionsMarshal.AsSpan(list29); - span16[0] = new GatheringLocation - { - Position = new Vector3(210.5032f, 28.51213f, 718.0732f), - MinimumAngle = 210, - MaximumAngle = 325 - }; - span16[1] = new GatheringLocation - { - Position = new Vector3(202.0474f, 30.18633f, 700.0951f), - MinimumAngle = 160, - MaximumAngle = 295 - }; - span16[2] = new GatheringLocation - { - Position = new Vector3(195.6331f, 33.43727f, 695.2228f), - MinimumAngle = 150, - MaximumAngle = 235 - }; - obj13.Locations = list29; - reference20 = obj13; - ref GatheringNode reference21 = ref span15[1]; - GatheringNode obj14 = new GatheringNode - { - DataId = 32139u - }; - num3 = 1; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - CollectionsMarshal.AsSpan(list30)[0] = new GatheringLocation - { - Position = new Vector3(208.3533f, 28.65312f, 706.8864f), - MinimumAngle = 180, - MaximumAngle = 250 - }; - obj14.Locations = list30; - reference21 = obj14; - gatheringNodeGroup7.Nodes = list28; - reference19 = gatheringNodeGroup7; - ref GatheringNodeGroup reference22 = ref span14[1]; - GatheringNodeGroup gatheringNodeGroup8 = new GatheringNodeGroup(); - num2 = 2; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - Span span17 = CollectionsMarshal.AsSpan(list31); - ref GatheringNode reference23 = ref span17[0]; - GatheringNode obj15 = new GatheringNode - { - DataId = 32135u - }; - num3 = 1; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - CollectionsMarshal.AsSpan(list32)[0] = new GatheringLocation - { - Position = new Vector3(67.65472f, 25.89518f, 652.348f), - MinimumAngle = -105, - MaximumAngle = 15 - }; - obj15.Locations = list32; - reference23 = obj15; - ref GatheringNode reference24 = ref span17[1]; - GatheringNode obj16 = new GatheringNode - { - DataId = 32136u - }; - num3 = 3; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - Span span18 = CollectionsMarshal.AsSpan(list33); - span18[0] = new GatheringLocation - { - Position = new Vector3(41.55281f, 27.65364f, 654.9735f), - MinimumAngle = -115, - MaximumAngle = 35 - }; - span18[1] = new GatheringLocation - { - Position = new Vector3(52.98101f, 27.03981f, 652.5334f), - MinimumAngle = -45, - MaximumAngle = 55 - }; - span18[2] = new GatheringLocation - { - Position = new Vector3(71.80375f, 26.55341f, 644.8627f), - MinimumAngle = 205, - MaximumAngle = 335 - }; - obj16.Locations = list33; - reference24 = obj16; - gatheringNodeGroup8.Nodes = list31; - reference22 = gatheringNodeGroup8; - ref GatheringNodeGroup reference25 = ref span14[2]; - GatheringNodeGroup gatheringNodeGroup9 = new GatheringNodeGroup(); - num2 = 2; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - Span span19 = CollectionsMarshal.AsSpan(list34); - ref GatheringNode reference26 = ref span19[0]; - GatheringNode obj17 = new GatheringNode - { - DataId = 32137u - }; - num3 = 1; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - CollectionsMarshal.AsSpan(list35)[0] = new GatheringLocation - { - Position = new Vector3(136.1673f, 35.7457f, 802.5483f), - MinimumAngle = 175, - MaximumAngle = 300 - }; - obj17.Locations = list35; - reference26 = obj17; - ref GatheringNode reference27 = ref span19[1]; - GatheringNode obj18 = new GatheringNode - { - DataId = 32138u - }; - num3 = 3; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - Span span20 = CollectionsMarshal.AsSpan(list36); - span20[0] = new GatheringLocation - { - Position = new Vector3(120.3011f, 33.62519f, 797.1313f), - MinimumAngle = 100, - MaximumAngle = 215 - }; - span20[1] = new GatheringLocation - { - Position = new Vector3(137.5746f, 35.89635f, 805.4796f), - MinimumAngle = 195, - MaximumAngle = 325 - }; - span20[2] = new GatheringLocation - { - Position = new Vector3(136.7552f, 38.41375f, 817.2667f), - MinimumAngle = 215, - MaximumAngle = 325 - }; - obj18.Locations = list36; - reference27 = obj18; - gatheringNodeGroup9.Nodes = list34; - reference25 = gatheringNodeGroup9; - gatheringRoot3.Groups = list27; - AddLocation(487, gatheringRoot3); - GatheringRoot gatheringRoot4 = new GatheringRoot(); - num = 1; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - CollectionsMarshal.AsSpan(list37)[0] = "liza"; - gatheringRoot4.Author = list37; - num = 1; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.None, null, null, 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaNamai - }; - gatheringRoot4.Steps = list38; - num = 3; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - Span span21 = CollectionsMarshal.AsSpan(list39); - ref GatheringNodeGroup reference28 = ref span21[0]; - GatheringNodeGroup gatheringNodeGroup10 = new GatheringNodeGroup(); - num2 = 2; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - Span span22 = CollectionsMarshal.AsSpan(list40); - ref GatheringNode reference29 = ref span22[0]; - GatheringNode obj19 = new GatheringNode - { - DataId = 32144u - }; - num3 = 3; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - Span span23 = CollectionsMarshal.AsSpan(list41); - span23[0] = new GatheringLocation - { - Position = new Vector3(407.4102f, 68.66914f, 19.0117f), - MinimumAngle = 105, - MaximumAngle = 255 - }; - span23[1] = new GatheringLocation - { - Position = new Vector3(376.4243f, 61.81466f, 5.657309f), - MinimumAngle = 170, - MaximumAngle = 275 - }; - span23[2] = new GatheringLocation - { - Position = new Vector3(441.2355f, 75.06916f, 17.49573f), - MinimumAngle = 110, - MaximumAngle = 235 - }; - obj19.Locations = list41; - reference29 = obj19; - ref GatheringNode reference30 = ref span22[1]; - GatheringNode obj20 = new GatheringNode - { - DataId = 32143u - }; - num3 = 1; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - CollectionsMarshal.AsSpan(list42)[0] = new GatheringLocation - { - Position = new Vector3(417.9466f, 70.24178f, 19.50875f), - MinimumAngle = 140, - MaximumAngle = 215, - MinimumDistance = 1.8f, - MaximumDistance = 3f - }; - obj20.Locations = list42; - reference30 = obj20; - gatheringNodeGroup10.Nodes = list40; - reference28 = gatheringNodeGroup10; - ref GatheringNodeGroup reference31 = ref span21[1]; - GatheringNodeGroup gatheringNodeGroup11 = new GatheringNodeGroup(); - num2 = 2; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - Span span24 = CollectionsMarshal.AsSpan(list43); - ref GatheringNode reference32 = ref span24[0]; - GatheringNode obj21 = new GatheringNode - { - DataId = 32142u - }; - num3 = 3; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - Span span25 = CollectionsMarshal.AsSpan(list44); - span25[0] = new GatheringLocation - { - Position = new Vector3(606.259f, 93.63981f, 85.09741f), - MinimumAngle = 65, - MaximumAngle = 185 - }; - span25[1] = new GatheringLocation - { - Position = new Vector3(594.0188f, 87.54358f, 51.05505f) - }; - span25[2] = new GatheringLocation - { - Position = new Vector3(576.0488f, 91.74075f, 114.4922f), - MinimumAngle = 75, - MaximumAngle = 165 - }; - obj21.Locations = list44; - reference32 = obj21; - ref GatheringNode reference33 = ref span24[1]; - GatheringNode obj22 = new GatheringNode - { - DataId = 32141u - }; - num3 = 1; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - CollectionsMarshal.AsSpan(list45)[0] = new GatheringLocation - { - Position = new Vector3(608.4475f, 94.5528f, 80.633f), - MinimumAngle = 45, - MaximumAngle = 135 - }; - obj22.Locations = list45; - reference33 = obj22; - gatheringNodeGroup11.Nodes = list43; - reference31 = gatheringNodeGroup11; - ref GatheringNodeGroup reference34 = ref span21[2]; - GatheringNodeGroup gatheringNodeGroup12 = new GatheringNodeGroup(); - num2 = 2; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - Span span26 = CollectionsMarshal.AsSpan(list46); - ref GatheringNode reference35 = ref span26[0]; - GatheringNode obj23 = new GatheringNode - { - DataId = 32146u - }; - num3 = 3; - List list47 = new List(num3); - CollectionsMarshal.SetCount(list47, num3); - Span span27 = CollectionsMarshal.AsSpan(list47); - span27[0] = new GatheringLocation - { - Position = new Vector3(519.749f, 46.5653f, -59.9632f), - MinimumAngle = 25, - MaximumAngle = 125 - }; - span27[1] = new GatheringLocation - { - Position = new Vector3(532.2807f, 41.75984f, -85.99076f), - MinimumAngle = 55, - MaximumAngle = 190 - }; - span27[2] = new GatheringLocation - { - Position = new Vector3(519.0377f, 44.42293f, -67.19048f), - MinimumAngle = 30, - MaximumAngle = 175 - }; - obj23.Locations = list47; - reference35 = obj23; - ref GatheringNode reference36 = ref span26[1]; - GatheringNode obj24 = new GatheringNode - { - DataId = 32145u - }; - num3 = 1; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - CollectionsMarshal.AsSpan(list48)[0] = new GatheringLocation - { - Position = new Vector3(520.0951f, 43.35083f, -70.45672f), - MinimumAngle = 40, - MaximumAngle = 145 - }; - obj24.Locations = list48; - reference36 = obj24; - gatheringNodeGroup12.Nodes = list46; - reference34 = gatheringNodeGroup12; - gatheringRoot4.Groups = list39; - AddLocation(488, gatheringRoot4); - GatheringRoot gatheringRoot5 = new GatheringRoot(); - num = 1; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - CollectionsMarshal.AsSpan(list49)[0] = "liza"; - gatheringRoot5.Author = list49; - num = 1; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.None, null, null, 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - gatheringRoot5.Steps = list50; - num = 3; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - Span span28 = CollectionsMarshal.AsSpan(list51); - ref GatheringNodeGroup reference37 = ref span28[0]; - GatheringNodeGroup gatheringNodeGroup13 = new GatheringNodeGroup(); - num2 = 2; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - Span span29 = CollectionsMarshal.AsSpan(list52); - ref GatheringNode reference38 = ref span29[0]; - GatheringNode obj25 = new GatheringNode - { - DataId = 32147u - }; - num3 = 1; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - CollectionsMarshal.AsSpan(list53)[0] = new GatheringLocation - { - Position = new Vector3(112.743f, 115.1324f, -511.142f), - MinimumAngle = -165, - MaximumAngle = -20 - }; - obj25.Locations = list53; - reference38 = obj25; - ref GatheringNode reference39 = ref span29[1]; - GatheringNode obj26 = new GatheringNode - { - DataId = 32148u - }; - num3 = 3; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - Span span30 = CollectionsMarshal.AsSpan(list54); - span30[0] = new GatheringLocation - { - Position = new Vector3(101.6789f, 114.9711f, -506.4506f), - MinimumAngle = 20, - MaximumAngle = 225 - }; - span30[1] = new GatheringLocation - { - Position = new Vector3(122.53f, 116.4095f, -533.6536f), - MinimumAngle = -80, - MaximumAngle = 75 - }; - span30[2] = new GatheringLocation - { - Position = new Vector3(108.0162f, 115.2875f, -509.5858f), - MinimumAngle = -20, - MaximumAngle = 110 - }; - obj26.Locations = list54; - reference39 = obj26; - gatheringNodeGroup13.Nodes = list52; - reference37 = gatheringNodeGroup13; - ref GatheringNodeGroup reference40 = ref span28[1]; - GatheringNodeGroup gatheringNodeGroup14 = new GatheringNodeGroup(); - num2 = 2; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - Span span31 = CollectionsMarshal.AsSpan(list55); - ref GatheringNode reference41 = ref span31[0]; - GatheringNode obj27 = new GatheringNode - { - DataId = 32152u - }; - num3 = 3; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - Span span32 = CollectionsMarshal.AsSpan(list56); - span32[0] = new GatheringLocation - { - Position = new Vector3(-6.542124f, 113.9997f, -406.9197f), - MinimumAngle = 80, - MaximumAngle = 150 - }; - span32[1] = new GatheringLocation - { - Position = new Vector3(-4.06374f, 113.4698f, -413.3034f), - MinimumAngle = 80, - MaximumAngle = 200 - }; - span32[2] = new GatheringLocation - { - Position = new Vector3(-13.96204f, 113.9696f, -383.4135f), - MinimumAngle = 45, - MaximumAngle = 160 - }; - obj27.Locations = list56; - reference41 = obj27; - ref GatheringNode reference42 = ref span31[1]; - GatheringNode obj28 = new GatheringNode - { - DataId = 32151u - }; - num3 = 1; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - CollectionsMarshal.AsSpan(list57)[0] = new GatheringLocation - { - Position = new Vector3(-11.21539f, 114.1222f, -392.7825f), - MinimumAngle = 70, - MaximumAngle = 165 - }; - obj28.Locations = list57; - reference42 = obj28; - gatheringNodeGroup14.Nodes = list55; - reference40 = gatheringNodeGroup14; - ref GatheringNodeGroup reference43 = ref span28[2]; - GatheringNodeGroup gatheringNodeGroup15 = new GatheringNodeGroup(); - num2 = 2; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - Span span33 = CollectionsMarshal.AsSpan(list58); - ref GatheringNode reference44 = ref span33[0]; - GatheringNode obj29 = new GatheringNode - { - DataId = 32149u - }; - num3 = 1; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - CollectionsMarshal.AsSpan(list59)[0] = new GatheringLocation - { - Position = new Vector3(167.207f, 137.3464f, -336.0433f), - MinimumAngle = 85, - MaximumAngle = 225 - }; - obj29.Locations = list59; - reference44 = obj29; - ref GatheringNode reference45 = ref span33[1]; - GatheringNode obj30 = new GatheringNode - { - DataId = 32150u - }; - num3 = 3; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - Span span34 = CollectionsMarshal.AsSpan(list60); - span34[0] = new GatheringLocation - { - Position = new Vector3(176.9339f, 138.3656f, -335.729f), - MinimumAngle = 115, - MaximumAngle = 220 - }; - span34[1] = new GatheringLocation - { - Position = new Vector3(182.5719f, 138.795f, -333.3691f), - MinimumAngle = 195, - MaximumAngle = 290 - }; - span34[2] = new GatheringLocation - { - Position = new Vector3(198.0379f, 136.6125f, -337.0126f), - MinimumAngle = 60, - MaximumAngle = 160 - }; - obj30.Locations = list60; - reference45 = obj30; - gatheringNodeGroup15.Nodes = list58; - reference43 = gatheringNodeGroup15; - gatheringRoot5.Groups = list51; - AddLocation(489, gatheringRoot5); - GatheringRoot gatheringRoot6 = new GatheringRoot(); - num = 1; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - CollectionsMarshal.AsSpan(list61)[0] = "liza"; - gatheringRoot6.Author = list61; - num = 2; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - Span span35 = CollectionsMarshal.AsSpan(list62); - span35[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(322.1539f, -121.22571f, -314.2446f), 613) - { - RestartNavigationIfCancelled = false, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span35[1] = new QuestStep(EInteractionType.None, null, null, 613); - gatheringRoot6.Steps = list62; - num = 3; - List list63 = new List(num); - CollectionsMarshal.SetCount(list63, num); - Span span36 = CollectionsMarshal.AsSpan(list63); - ref GatheringNodeGroup reference46 = ref span36[0]; - GatheringNodeGroup gatheringNodeGroup16 = new GatheringNodeGroup(); - num2 = 2; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - Span span37 = CollectionsMarshal.AsSpan(list64); - ref GatheringNode reference47 = ref span37[0]; - GatheringNode obj31 = new GatheringNode - { - DataId = 32153u - }; - num3 = 1; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - CollectionsMarshal.AsSpan(list65)[0] = new GatheringLocation - { - Position = new Vector3(-373.2205f, -136.6522f, -274.8914f) - }; - obj31.Locations = list65; - reference47 = obj31; - ref GatheringNode reference48 = ref span37[1]; - GatheringNode obj32 = new GatheringNode - { - DataId = 32154u - }; - num3 = 3; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - Span span38 = CollectionsMarshal.AsSpan(list66); - span38[0] = new GatheringLocation - { - Position = new Vector3(-448.4877f, -116.7225f, -302.5894f) - }; - span38[1] = new GatheringLocation - { - Position = new Vector3(-367.8707f, -141.2844f, -234.9824f) - }; - span38[2] = new GatheringLocation - { - Position = new Vector3(-410.8549f, -118.3526f, -327.6413f) - }; - obj32.Locations = list66; - reference48 = obj32; - gatheringNodeGroup16.Nodes = list64; - reference46 = gatheringNodeGroup16; - ref GatheringNodeGroup reference49 = ref span36[1]; - GatheringNodeGroup gatheringNodeGroup17 = new GatheringNodeGroup(); - num2 = 2; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - Span span39 = CollectionsMarshal.AsSpan(list67); - ref GatheringNode reference50 = ref span39[0]; - GatheringNode obj33 = new GatheringNode - { - DataId = 32158u - }; - num3 = 3; - List list68 = new List(num3); - CollectionsMarshal.SetCount(list68, num3); - Span span40 = CollectionsMarshal.AsSpan(list68); - span40[0] = new GatheringLocation - { - Position = new Vector3(-541.3218f, -110.9725f, -162.0661f) - }; - span40[1] = new GatheringLocation - { - Position = new Vector3(-541.0571f, -101.0088f, -238.4313f) - }; - span40[2] = new GatheringLocation - { - Position = new Vector3(-557.3869f, -91.38704f, -232.6365f) - }; - obj33.Locations = list68; - reference50 = obj33; - ref GatheringNode reference51 = ref span39[1]; - GatheringNode obj34 = new GatheringNode - { - DataId = 32157u - }; - num3 = 1; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - CollectionsMarshal.AsSpan(list69)[0] = new GatheringLocation - { - Position = new Vector3(-527.4707f, -125.4386f, -165.366f) - }; - obj34.Locations = list69; - reference51 = obj34; - gatheringNodeGroup17.Nodes = list67; - reference49 = gatheringNodeGroup17; - ref GatheringNodeGroup reference52 = ref span36[2]; - GatheringNodeGroup gatheringNodeGroup18 = new GatheringNodeGroup(); - num2 = 2; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - Span span41 = CollectionsMarshal.AsSpan(list70); - ref GatheringNode reference53 = ref span41[0]; - GatheringNode obj35 = new GatheringNode - { - DataId = 32155u - }; - num3 = 1; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - CollectionsMarshal.AsSpan(list71)[0] = new GatheringLocation - { - Position = new Vector3(-460.3799f, -154.5827f, -110.9484f) - }; - obj35.Locations = list71; - reference53 = obj35; - ref GatheringNode reference54 = ref span41[1]; - GatheringNode obj36 = new GatheringNode - { - DataId = 32156u - }; - num3 = 3; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - Span span42 = CollectionsMarshal.AsSpan(list72); - span42[0] = new GatheringLocation - { - Position = new Vector3(-399.089f, -145.1425f, -6.001478f) - }; - span42[1] = new GatheringLocation - { - Position = new Vector3(-474.2804f, -142.6447f, -92.2213f) - }; - span42[2] = new GatheringLocation - { - Position = new Vector3(-474.9154f, -132.8651f, -73.47042f) - }; - obj36.Locations = list72; - reference54 = obj36; - gatheringNodeGroup18.Nodes = list70; - reference52 = gatheringNodeGroup18; - gatheringRoot6.Groups = list63; - AddLocation(490, gatheringRoot6); - GatheringRoot gatheringRoot7 = new GatheringRoot(); - num = 1; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - CollectionsMarshal.AsSpan(list73)[0] = "liza"; - gatheringRoot7.Author = list73; - num = 1; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.None, null, null, 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaNamai - }; - gatheringRoot7.Steps = list74; - num = 3; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - Span span43 = CollectionsMarshal.AsSpan(list75); - ref GatheringNodeGroup reference55 = ref span43[0]; - GatheringNodeGroup gatheringNodeGroup19 = new GatheringNodeGroup(); - num2 = 2; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - Span span44 = CollectionsMarshal.AsSpan(list76); - ref GatheringNode reference56 = ref span44[0]; - GatheringNode obj37 = new GatheringNode - { - DataId = 32160u - }; - num3 = 3; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - Span span45 = CollectionsMarshal.AsSpan(list77); - span45[0] = new GatheringLocation - { - Position = new Vector3(708.6117f, 111.2374f, -117.7716f), - MinimumAngle = -65, - MaximumAngle = 45 - }; - span45[1] = new GatheringLocation - { - Position = new Vector3(719.1514f, 103.8884f, -115.8518f), - MinimumAngle = 170, - MaximumAngle = 240 - }; - span45[2] = new GatheringLocation - { - Position = new Vector3(719.6881f, 103.6927f, -122.8691f), - MinimumAngle = -85, - MaximumAngle = 15 - }; - obj37.Locations = list77; - reference56 = obj37; - ref GatheringNode reference57 = ref span44[1]; - GatheringNode obj38 = new GatheringNode - { - DataId = 32159u - }; - num3 = 1; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - CollectionsMarshal.AsSpan(list78)[0] = new GatheringLocation - { - Position = new Vector3(728.5063f, 104.6812f, -115.4031f), - MinimumAngle = 160, - MaximumAngle = 260 - }; - obj38.Locations = list78; - reference57 = obj38; - gatheringNodeGroup19.Nodes = list76; - reference55 = gatheringNodeGroup19; - ref GatheringNodeGroup reference58 = ref span43[1]; - GatheringNodeGroup gatheringNodeGroup20 = new GatheringNodeGroup(); - num2 = 2; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - Span span46 = CollectionsMarshal.AsSpan(list79); - ref GatheringNode reference59 = ref span46[0]; - GatheringNode obj39 = new GatheringNode - { - DataId = 32162u - }; - num3 = 3; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - Span span47 = CollectionsMarshal.AsSpan(list80); - span47[0] = new GatheringLocation - { - Position = new Vector3(786.5566f, 127.8859f, 12.83276f), - MinimumAngle = 200, - MaximumAngle = 280 - }; - span47[1] = new GatheringLocation - { - Position = new Vector3(843.5591f, 136.583f, 25.3552f), - MinimumAngle = 150, - MaximumAngle = 205 - }; - span47[2] = new GatheringLocation - { - Position = new Vector3(822.8708f, 132.8188f, 15.71949f), - MinimumAngle = 120, - MaximumAngle = 220 - }; - obj39.Locations = list80; - reference59 = obj39; - ref GatheringNode reference60 = ref span46[1]; - GatheringNode obj40 = new GatheringNode - { - DataId = 32161u - }; - num3 = 1; - List list81 = new List(num3); - CollectionsMarshal.SetCount(list81, num3); - CollectionsMarshal.AsSpan(list81)[0] = new GatheringLocation - { - Position = new Vector3(814.1754f, 132.0118f, 22.69431f), - MinimumAngle = 70, - MaximumAngle = 175 - }; - obj40.Locations = list81; - reference60 = obj40; - gatheringNodeGroup20.Nodes = list79; - reference58 = gatheringNodeGroup20; - ref GatheringNodeGroup reference61 = ref span43[2]; - GatheringNodeGroup gatheringNodeGroup21 = new GatheringNodeGroup(); - num2 = 2; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - Span span48 = CollectionsMarshal.AsSpan(list82); - ref GatheringNode reference62 = ref span48[0]; - GatheringNode obj41 = new GatheringNode - { - DataId = 32163u - }; - num3 = 1; - List list83 = new List(num3); - CollectionsMarshal.SetCount(list83, num3); - CollectionsMarshal.AsSpan(list83)[0] = new GatheringLocation - { - Position = new Vector3(893.1265f, 141.6431f, -143.2574f), - MinimumAngle = 25, - MaximumAngle = 140 - }; - obj41.Locations = list83; - reference62 = obj41; - ref GatheringNode reference63 = ref span48[1]; - GatheringNode obj42 = new GatheringNode - { - DataId = 32164u - }; - num3 = 3; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - Span span49 = CollectionsMarshal.AsSpan(list84); - span49[0] = new GatheringLocation - { - Position = new Vector3(885.5841f, 139.7701f, -160.253f), - MinimumAngle = 35, - MaximumAngle = 110 - }; - span49[1] = new GatheringLocation - { - Position = new Vector3(894.9779f, 147.4415f, -128.2257f), - MinimumAngle = 20, - MaximumAngle = 190 - }; - span49[2] = new GatheringLocation - { - Position = new Vector3(893.0733f, 142.1001f, -140.2642f), - MinimumAngle = 30, - MaximumAngle = 155 - }; - obj42.Locations = list84; - reference63 = obj42; - gatheringNodeGroup21.Nodes = list82; - reference61 = gatheringNodeGroup21; - gatheringRoot7.Groups = list75; - AddLocation(491, gatheringRoot7); - GatheringRoot gatheringRoot8 = new GatheringRoot(); - num = 1; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - CollectionsMarshal.AsSpan(list85)[0] = "liza"; - gatheringRoot8.Author = list85; - num = 1; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.None, null, null, 621) - { - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria - }; - gatheringRoot8.Steps = list86; - num = 3; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - Span span50 = CollectionsMarshal.AsSpan(list87); - ref GatheringNodeGroup reference64 = ref span50[0]; - GatheringNodeGroup gatheringNodeGroup22 = new GatheringNodeGroup(); - num2 = 2; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - Span span51 = CollectionsMarshal.AsSpan(list88); - ref GatheringNode reference65 = ref span51[0]; - GatheringNode obj43 = new GatheringNode - { - DataId = 32167u - }; - num3 = 3; - List list89 = new List(num3); - CollectionsMarshal.SetCount(list89, num3); - Span span52 = CollectionsMarshal.AsSpan(list89); - span52[0] = new GatheringLocation - { - Position = new Vector3(-569.6677f, 17.29578f, -148.952f), - MinimumAngle = 175, - MaximumAngle = 300 - }; - span52[1] = new GatheringLocation - { - Position = new Vector3(-575.41f, 18.57019f, -160.1905f), - MinimumAngle = -90, - MaximumAngle = 15 - }; - span52[2] = new GatheringLocation - { - Position = new Vector3(-569.3643f, 15.97435f, -170.2152f), - MinimumAngle = 225, - MaximumAngle = 350 - }; - obj43.Locations = list89; - reference65 = obj43; - ref GatheringNode reference66 = ref span51[1]; - GatheringNode obj44 = new GatheringNode - { - DataId = 32166u - }; - num3 = 1; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - CollectionsMarshal.AsSpan(list90)[0] = new GatheringLocation - { - Position = new Vector3(-578.1491f, 20.07928f, -153.1853f), - MinimumAngle = 205, - MaximumAngle = 355 - }; - obj44.Locations = list90; - reference66 = obj44; - gatheringNodeGroup22.Nodes = list88; - reference64 = gatheringNodeGroup22; - ref GatheringNodeGroup reference67 = ref span50[1]; - GatheringNodeGroup gatheringNodeGroup23 = new GatheringNodeGroup(); - num2 = 2; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - Span span53 = CollectionsMarshal.AsSpan(list91); - ref GatheringNode reference68 = ref span53[0]; - GatheringNode obj45 = new GatheringNode - { - DataId = 32170u - }; - num3 = 1; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - CollectionsMarshal.AsSpan(list92)[0] = new GatheringLocation - { - Position = new Vector3(-542.444f, 15.60992f, -299.645f), - MinimumAngle = 245, - MaximumAngle = 360 - }; - obj45.Locations = list92; - reference68 = obj45; - ref GatheringNode reference69 = ref span53[1]; - GatheringNode obj46 = new GatheringNode - { - DataId = 32171u - }; - num3 = 3; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - Span span54 = CollectionsMarshal.AsSpan(list93); - span54[0] = new GatheringLocation - { - Position = new Vector3(-540.2715f, 16.96567f, -304.0383f), - MinimumAngle = 220, - MaximumAngle = 350 - }; - span54[1] = new GatheringLocation - { - Position = new Vector3(-516.496f, 21.84032f, -346.177f), - MinimumAngle = -55, - MaximumAngle = 75 - }; - span54[2] = new GatheringLocation - { - Position = new Vector3(-507.6519f, 9.185992f, -287.0281f), - MinimumAngle = 30, - MaximumAngle = 160 - }; - obj46.Locations = list93; - reference69 = obj46; - gatheringNodeGroup23.Nodes = list91; - reference67 = gatheringNodeGroup23; - ref GatheringNodeGroup reference70 = ref span50[2]; - GatheringNodeGroup gatheringNodeGroup24 = new GatheringNodeGroup(); - num2 = 2; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - Span span55 = CollectionsMarshal.AsSpan(list94); - ref GatheringNode reference71 = ref span55[0]; - GatheringNode obj47 = new GatheringNode - { - DataId = 32168u - }; - num3 = 1; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - CollectionsMarshal.AsSpan(list95)[0] = new GatheringLocation - { - Position = new Vector3(-404.0753f, 14.02301f, -270.8308f), - MinimumAngle = 195, - MaximumAngle = 315 - }; - obj47.Locations = list95; - reference71 = obj47; - ref GatheringNode reference72 = ref span55[1]; - GatheringNode obj48 = new GatheringNode - { - DataId = 32169u - }; - num3 = 3; - List list96 = new List(num3); - CollectionsMarshal.SetCount(list96, num3); - Span span56 = CollectionsMarshal.AsSpan(list96); - span56[0] = new GatheringLocation - { - Position = new Vector3(-393.6106f, 13.93396f, -262.3799f), - MinimumAngle = 15, - MaximumAngle = 130 - }; - span56[1] = new GatheringLocation - { - Position = new Vector3(-406.0579f, 12.16138f, -255.3292f), - MinimumAngle = -145, - MaximumAngle = 20 - }; - span56[2] = new GatheringLocation - { - Position = new Vector3(-394.2554f, 13.38954f, -275.8168f), - MinimumAngle = 60, - MaximumAngle = 135 - }; - obj48.Locations = list96; - reference72 = obj48; - gatheringNodeGroup24.Nodes = list94; - reference70 = gatheringNodeGroup24; - gatheringRoot8.Groups = list87; - AddLocation(493, gatheringRoot8); - GatheringRoot gatheringRoot9 = new GatheringRoot(); - num = 1; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - CollectionsMarshal.AsSpan(list97)[0] = "liza"; - gatheringRoot9.Author = list97; - num = 1; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.None, null, null, 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone - }; - gatheringRoot9.Steps = list98; - num = 3; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - Span span57 = CollectionsMarshal.AsSpan(list99); - ref GatheringNodeGroup reference73 = ref span57[0]; - GatheringNodeGroup gatheringNodeGroup25 = new GatheringNodeGroup(); - num2 = 2; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - Span span58 = CollectionsMarshal.AsSpan(list100); - ref GatheringNode reference74 = ref span58[0]; - GatheringNode obj49 = new GatheringNode - { - DataId = 32176u - }; - num3 = 3; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - Span span59 = CollectionsMarshal.AsSpan(list101); - span59[0] = new GatheringLocation - { - Position = new Vector3(411.0592f, 2.207043f, -174.1382f), - MinimumAngle = -45, - MaximumAngle = 130 - }; - span59[1] = new GatheringLocation - { - Position = new Vector3(382.993f, 13.25345f, -207.7346f), - MinimumAngle = 130, - MaximumAngle = 295 - }; - span59[2] = new GatheringLocation - { - Position = new Vector3(361.387f, 14.51455f, -203.9765f), - MinimumAngle = 90, - MaximumAngle = 195 - }; - obj49.Locations = list101; - reference74 = obj49; - ref GatheringNode reference75 = ref span58[1]; - GatheringNode obj50 = new GatheringNode - { - DataId = 32175u - }; - num3 = 1; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - CollectionsMarshal.AsSpan(list102)[0] = new GatheringLocation - { - Position = new Vector3(364.0281f, 14.81319f, -208.0434f), - MinimumAngle = 65, - MaximumAngle = 200 - }; - obj50.Locations = list102; - reference75 = obj50; - gatheringNodeGroup25.Nodes = list100; - reference73 = gatheringNodeGroup25; - ref GatheringNodeGroup reference76 = ref span57[1]; - GatheringNodeGroup gatheringNodeGroup26 = new GatheringNodeGroup(); - num2 = 2; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - Span span60 = CollectionsMarshal.AsSpan(list103); - ref GatheringNode reference77 = ref span60[0]; - GatheringNode obj51 = new GatheringNode - { - DataId = 32177u - }; - num3 = 1; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - CollectionsMarshal.AsSpan(list104)[0] = new GatheringLocation - { - Position = new Vector3(326.783f, 27.22089f, -328.1715f), - MinimumAngle = -130, - MaximumAngle = -5 - }; - obj51.Locations = list104; - reference77 = obj51; - ref GatheringNode reference78 = ref span60[1]; - GatheringNode obj52 = new GatheringNode - { - DataId = 32178u - }; - num3 = 3; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - Span span61 = CollectionsMarshal.AsSpan(list105); - span61[0] = new GatheringLocation - { - Position = new Vector3(352.0781f, 33.91527f, -369.394f), - MinimumAngle = -55, - MaximumAngle = 110 - }; - span61[1] = new GatheringLocation - { - Position = new Vector3(319.4689f, 30.05529f, -341.346f), - MinimumAngle = 50, - MaximumAngle = 215 - }; - span61[2] = new GatheringLocation - { - Position = new Vector3(340.3498f, 34.56527f, -374.391f), - MinimumAngle = -90, - MaximumAngle = 85 - }; - obj52.Locations = list105; - reference78 = obj52; - gatheringNodeGroup26.Nodes = list103; - reference76 = gatheringNodeGroup26; - ref GatheringNodeGroup reference79 = ref span57[2]; - GatheringNodeGroup gatheringNodeGroup27 = new GatheringNodeGroup(); - num2 = 2; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - Span span62 = CollectionsMarshal.AsSpan(list106); - ref GatheringNode reference80 = ref span62[0]; - GatheringNode obj53 = new GatheringNode - { - DataId = 32173u - }; - num3 = 1; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - CollectionsMarshal.AsSpan(list107)[0] = new GatheringLocation - { - Position = new Vector3(460.0648f, 32.44811f, -382.8145f), - MinimumAngle = 30, - MaximumAngle = 135 - }; - obj53.Locations = list107; - reference80 = obj53; - ref GatheringNode reference81 = ref span62[1]; - GatheringNode obj54 = new GatheringNode - { - DataId = 32174u - }; - num3 = 3; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - Span span63 = CollectionsMarshal.AsSpan(list108); - span63[0] = new GatheringLocation - { - Position = new Vector3(488.255f, 26.08804f, -365.4641f), - MinimumAngle = 0, - MaximumAngle = 195 - }; - span63[1] = new GatheringLocation - { - Position = new Vector3(460.4979f, 30.90669f, -376.0688f), - MinimumAngle = 55, - MaximumAngle = 180 - }; - span63[2] = new GatheringLocation - { - Position = new Vector3(438.8477f, 38.51477f, -413.352f), - MinimumAngle = -70, - MaximumAngle = 115 - }; - obj54.Locations = list108; - reference81 = obj54; - gatheringNodeGroup27.Nodes = list106; - reference79 = gatheringNodeGroup27; - gatheringRoot9.Groups = list99; - AddLocation(495, gatheringRoot9); - } - - private static void LoadLocation5() - { - GatheringRoot gatheringRoot = new GatheringRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - gatheringRoot.Author = list; - num = 1; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - CollectionsMarshal.AsSpan(list2)[0] = new QuestStep(EInteractionType.None, null, null, 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens - }; - gatheringRoot.Steps = list2; - num = 3; - List list3 = new List(num); - CollectionsMarshal.SetCount(list3, num); - Span span = CollectionsMarshal.AsSpan(list3); - ref GatheringNodeGroup reference = ref span[0]; - GatheringNodeGroup gatheringNodeGroup = new GatheringNodeGroup(); - int num2 = 2; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - ref GatheringNode reference2 = ref span2[0]; - GatheringNode obj = new GatheringNode - { - DataId = 32193u - }; - int num3 = 3; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - Span span3 = CollectionsMarshal.AsSpan(list5); - span3[0] = new GatheringLocation - { - Position = new Vector3(-249.9619f, 61.05618f, -604.3008f) - }; - span3[1] = new GatheringLocation - { - Position = new Vector3(-238.5267f, 60.51727f, -560.746f), - MinimumAngle = -25, - MaximumAngle = 120 - }; - span3[2] = new GatheringLocation - { - Position = new Vector3(-263.4823f, 61.9943f, -566.3988f), - MinimumAngle = 115, - MaximumAngle = 360 - }; - obj.Locations = list5; - reference2 = obj; - ref GatheringNode reference3 = ref span2[1]; - GatheringNode obj2 = new GatheringNode - { - DataId = 32192u - }; - num3 = 1; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - CollectionsMarshal.AsSpan(list6)[0] = new GatheringLocation - { - Position = new Vector3(-261.7163f, 61.86325f, -574.8586f), - MinimumAngle = -140, - MaximumAngle = 125 - }; - obj2.Locations = list6; - reference3 = obj2; - gatheringNodeGroup.Nodes = list4; - reference = gatheringNodeGroup; - ref GatheringNodeGroup reference4 = ref span[1]; - GatheringNodeGroup gatheringNodeGroup2 = new GatheringNodeGroup(); - num2 = 2; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - Span span4 = CollectionsMarshal.AsSpan(list7); - ref GatheringNode reference5 = ref span4[0]; - GatheringNode obj3 = new GatheringNode - { - DataId = 32189u - }; - num3 = 3; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - Span span5 = CollectionsMarshal.AsSpan(list8); - span5[0] = new GatheringLocation - { - Position = new Vector3(-260.6172f, 70.60548f, -685.7728f), - MinimumAngle = 55, - MaximumAngle = 265 - }; - span5[1] = new GatheringLocation - { - Position = new Vector3(-293.3862f, 75.88585f, -675.9405f), - MinimumAngle = -235, - MaximumAngle = 10 - }; - span5[2] = new GatheringLocation - { - Position = new Vector3(-289.601f, 73.41101f, -659.3271f), - MinimumAngle = 135, - MaximumAngle = 350 - }; - obj3.Locations = list8; - reference5 = obj3; - ref GatheringNode reference6 = ref span4[1]; - GatheringNode obj4 = new GatheringNode - { - DataId = 32188u - }; - num3 = 1; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - CollectionsMarshal.AsSpan(list9)[0] = new GatheringLocation - { - Position = new Vector3(-267.9963f, 75.16626f, -708.2614f), - MinimumAngle = 150, - MaximumAngle = 360 - }; - obj4.Locations = list9; - reference6 = obj4; - gatheringNodeGroup2.Nodes = list7; - reference4 = gatheringNodeGroup2; - ref GatheringNodeGroup reference7 = ref span[2]; - GatheringNodeGroup gatheringNodeGroup3 = new GatheringNodeGroup(); - num2 = 2; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span6 = CollectionsMarshal.AsSpan(list10); - ref GatheringNode reference8 = ref span6[0]; - GatheringNode obj5 = new GatheringNode - { - DataId = 32191u - }; - num3 = 3; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - Span span7 = CollectionsMarshal.AsSpan(list11); - span7[0] = new GatheringLocation - { - Position = new Vector3(-97.48006f, 61.31205f, -668.7775f), - MinimumAngle = -50, - MaximumAngle = 30 - }; - span7[1] = new GatheringLocation - { - Position = new Vector3(-36.55207f, 61.9393f, -606.5457f) - }; - span7[2] = new GatheringLocation - { - Position = new Vector3(-79.96028f, 61.16011f, -625.305f) - }; - obj5.Locations = list11; - reference8 = obj5; - ref GatheringNode reference9 = ref span6[1]; - GatheringNode obj6 = new GatheringNode - { - DataId = 32190u - }; - num3 = 1; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - CollectionsMarshal.AsSpan(list12)[0] = new GatheringLocation - { - Position = new Vector3(-88.68313f, 61.06887f, -653.9121f) - }; - obj6.Locations = list12; - reference9 = obj6; - gatheringNodeGroup3.Nodes = list10; - reference7 = gatheringNodeGroup3; - gatheringRoot.Groups = list3; - AddLocation(505, gatheringRoot); - GatheringRoot gatheringRoot2 = new GatheringRoot(); - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = "liza"; - gatheringRoot2.Author = list13; - num = 1; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.None, null, null, 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - gatheringRoot2.Steps = list14; - num = 3; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - Span span8 = CollectionsMarshal.AsSpan(list15); - ref GatheringNodeGroup reference10 = ref span8[0]; - GatheringNodeGroup gatheringNodeGroup4 = new GatheringNodeGroup(); - num2 = 2; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - Span span9 = CollectionsMarshal.AsSpan(list16); - ref GatheringNode reference11 = ref span9[0]; - GatheringNode obj7 = new GatheringNode - { - DataId = 32205u - }; - num3 = 1; - List list17 = new List(num3); - CollectionsMarshal.SetCount(list17, num3); - CollectionsMarshal.AsSpan(list17)[0] = new GatheringLocation - { - Position = new Vector3(58.18178f, 2.700867f, -778.6965f), - MinimumAngle = 45, - MaximumAngle = 235 - }; - obj7.Locations = list17; - reference11 = obj7; - ref GatheringNode reference12 = ref span9[1]; - GatheringNode obj8 = new GatheringNode - { - DataId = 32204u - }; - num3 = 1; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - CollectionsMarshal.AsSpan(list18)[0] = new GatheringLocation - { - Position = new Vector3(72.41409f, 3.151178f, -776.8186f), - MinimumAngle = 80, - MaximumAngle = 255 - }; - obj8.Locations = list18; - reference12 = obj8; - gatheringNodeGroup4.Nodes = list16; - reference10 = gatheringNodeGroup4; - ref GatheringNodeGroup reference13 = ref span8[1]; - GatheringNodeGroup gatheringNodeGroup5 = new GatheringNodeGroup(); - num2 = 2; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - Span span10 = CollectionsMarshal.AsSpan(list19); - ref GatheringNode reference14 = ref span10[0]; - GatheringNode obj9 = new GatheringNode - { - DataId = 32200u - }; - num3 = 1; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - CollectionsMarshal.AsSpan(list20)[0] = new GatheringLocation - { - Position = new Vector3(-69.36879f, 3.296089f, -821.5594f), - MinimumAngle = -120, - MaximumAngle = 40 - }; - obj9.Locations = list20; - reference14 = obj9; - ref GatheringNode reference15 = ref span10[1]; - GatheringNode obj10 = new GatheringNode - { - DataId = 32201u - }; - num3 = 3; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - Span span11 = CollectionsMarshal.AsSpan(list21); - span11[0] = new GatheringLocation - { - Position = new Vector3(-69.29061f, 3.013922f, -803.5723f), - MinimumAngle = 30, - MaximumAngle = 185 - }; - span11[1] = new GatheringLocation - { - Position = new Vector3(-58.63464f, 2.637568f, -819.6691f), - MinimumAngle = 0, - MaximumAngle = 195 - }; - span11[2] = new GatheringLocation - { - Position = new Vector3(-58.09113f, 3.463745f, -787.4418f) - }; - obj10.Locations = list21; - reference15 = obj10; - gatheringNodeGroup5.Nodes = list19; - reference13 = gatheringNodeGroup5; - ref GatheringNodeGroup reference16 = ref span8[2]; - GatheringNodeGroup gatheringNodeGroup6 = new GatheringNodeGroup(); - num2 = 2; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - Span span12 = CollectionsMarshal.AsSpan(list22); - ref GatheringNode reference17 = ref span12[0]; - GatheringNode obj11 = new GatheringNode - { - DataId = 32202u - }; - num3 = 1; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - CollectionsMarshal.AsSpan(list23)[0] = new GatheringLocation - { - Position = new Vector3(-73.56532f, 2.819433f, -633.0066f), - MinimumAngle = 195, - MaximumAngle = 335 - }; - obj11.Locations = list23; - reference17 = obj11; - ref GatheringNode reference18 = ref span12[1]; - GatheringNode obj12 = new GatheringNode - { - DataId = 32203u - }; - num3 = 3; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - Span span13 = CollectionsMarshal.AsSpan(list24); - span13[0] = new GatheringLocation - { - Position = new Vector3(-22.5884f, 3.535999f, -617.6862f), - MinimumAngle = 35, - MaximumAngle = 225 - }; - span13[1] = new GatheringLocation - { - Position = new Vector3(-84.8622f, 3.222104f, -642.1901f), - MinimumAngle = 75, - MaximumAngle = 305 - }; - span13[2] = new GatheringLocation - { - Position = new Vector3(-74.18819f, 2.731044f, -645.1037f), - MinimumAngle = 20, - MaximumAngle = 220 - }; - obj12.Locations = list24; - reference18 = obj12; - gatheringNodeGroup6.Nodes = list22; - reference16 = gatheringNodeGroup6; - gatheringRoot2.Groups = list15; - AddLocation(507, gatheringRoot2); - GatheringRoot gatheringRoot3 = new GatheringRoot(); - num = 1; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - CollectionsMarshal.AsSpan(list25)[0] = "liza"; - gatheringRoot3.Author = list25; - num = 1; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.None, null, null, 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaNamai - }; - gatheringRoot3.Steps = list26; - num = 3; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - Span span14 = CollectionsMarshal.AsSpan(list27); - ref GatheringNodeGroup reference19 = ref span14[0]; - GatheringNodeGroup gatheringNodeGroup7 = new GatheringNodeGroup(); - num2 = 2; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - Span span15 = CollectionsMarshal.AsSpan(list28); - ref GatheringNode reference20 = ref span15[0]; - GatheringNode obj13 = new GatheringNode - { - DataId = 32209u - }; - num3 = 3; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - Span span16 = CollectionsMarshal.AsSpan(list29); - span16[0] = new GatheringLocation - { - Position = new Vector3(631.2573f, 127.0901f, -332.0291f), - MinimumAngle = 155, - MaximumAngle = 300 - }; - span16[1] = new GatheringLocation - { - Position = new Vector3(622.622f, 131.7365f, -383.0027f) - }; - span16[2] = new GatheringLocation - { - Position = new Vector3(652.4154f, 136.6543f, -419.1716f), - MinimumAngle = -25, - MaximumAngle = 140 - }; - obj13.Locations = list29; - reference20 = obj13; - ref GatheringNode reference21 = ref span15[1]; - GatheringNode obj14 = new GatheringNode - { - DataId = 32208u - }; - num3 = 1; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - CollectionsMarshal.AsSpan(list30)[0] = new GatheringLocation - { - Position = new Vector3(629.0482f, 138.9971f, -423.2108f), - MinimumAngle = 240, - MaximumAngle = 360 - }; - obj14.Locations = list30; - reference21 = obj14; - gatheringNodeGroup7.Nodes = list28; - reference19 = gatheringNodeGroup7; - ref GatheringNodeGroup reference22 = ref span14[1]; - GatheringNodeGroup gatheringNodeGroup8 = new GatheringNodeGroup(); - num2 = 2; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - Span span17 = CollectionsMarshal.AsSpan(list31); - ref GatheringNode reference23 = ref span17[0]; - GatheringNode obj15 = new GatheringNode - { - DataId = 32207u - }; - num3 = 2; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - Span span18 = CollectionsMarshal.AsSpan(list32); - span18[0] = new GatheringLocation - { - Position = new Vector3(708.5831f, 127.3671f, -351.2474f), - MinimumAngle = 0, - MaximumAngle = 100 - }; - span18[1] = new GatheringLocation - { - Position = new Vector3(684.129f, 126.6719f, -335.2414f), - MinimumAngle = 80, - MaximumAngle = 235 - }; - obj15.Locations = list32; - reference23 = obj15; - ref GatheringNode reference24 = ref span17[1]; - GatheringNode obj16 = new GatheringNode - { - DataId = 32206u - }; - num3 = 1; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - CollectionsMarshal.AsSpan(list33)[0] = new GatheringLocation - { - Position = new Vector3(705.5267f, 125.35f, -370.0978f), - MinimumAngle = -35, - MaximumAngle = 105 - }; - obj16.Locations = list33; - reference24 = obj16; - gatheringNodeGroup8.Nodes = list31; - reference22 = gatheringNodeGroup8; - ref GatheringNodeGroup reference25 = ref span14[2]; - GatheringNodeGroup gatheringNodeGroup9 = new GatheringNodeGroup(); - num2 = 2; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - Span span19 = CollectionsMarshal.AsSpan(list34); - ref GatheringNode reference26 = ref span19[0]; - GatheringNode obj17 = new GatheringNode - { - DataId = 32210u - }; - num3 = 1; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - CollectionsMarshal.AsSpan(list35)[0] = new GatheringLocation - { - Position = new Vector3(791.947f, 101.7719f, -288.1637f), - MinimumAngle = 0, - MaximumAngle = 155 - }; - obj17.Locations = list35; - reference26 = obj17; - ref GatheringNode reference27 = ref span19[1]; - GatheringNode obj18 = new GatheringNode - { - DataId = 32211u - }; - num3 = 3; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - Span span20 = CollectionsMarshal.AsSpan(list36); - span20[0] = new GatheringLocation - { - Position = new Vector3(788.803f, 103.5642f, -240.686f), - MinimumAngle = 75, - MaximumAngle = 270 - }; - span20[1] = new GatheringLocation - { - Position = new Vector3(809.0134f, 110.9159f, -306.1294f), - MinimumAngle = 120, - MaximumAngle = 255 - }; - span20[2] = new GatheringLocation - { - Position = new Vector3(760.2955f, 98.77714f, -209.9551f), - MinimumAngle = 0, - MaximumAngle = 115 - }; - obj18.Locations = list36; - reference27 = obj18; - gatheringNodeGroup9.Nodes = list34; - reference25 = gatheringNodeGroup9; - gatheringRoot3.Groups = list27; - AddLocation(508, gatheringRoot3); - GatheringRoot gatheringRoot4 = new GatheringRoot(); - num = 1; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - CollectionsMarshal.AsSpan(list37)[0] = "liza"; - gatheringRoot4.Author = list37; - num = 1; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.None, null, null, 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens - }; - gatheringRoot4.Steps = list38; - num = 3; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - Span span21 = CollectionsMarshal.AsSpan(list39); - ref GatheringNodeGroup reference28 = ref span21[0]; - GatheringNodeGroup gatheringNodeGroup10 = new GatheringNodeGroup(); - num2 = 2; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - Span span22 = CollectionsMarshal.AsSpan(list40); - ref GatheringNode reference29 = ref span22[0]; - GatheringNode obj19 = new GatheringNode - { - DataId = 32217u - }; - num3 = 3; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - Span span23 = CollectionsMarshal.AsSpan(list41); - span23[0] = new GatheringLocation - { - Position = new Vector3(-492.6537f, 52.48105f, 114.5392f) - }; - span23[1] = new GatheringLocation - { - Position = new Vector3(-523.8553f, 58.91578f, 174.0902f), - MinimumAngle = -185, - MaximumAngle = 115 - }; - span23[2] = new GatheringLocation - { - Position = new Vector3(-499.2416f, 54.9705f, 144.132f) - }; - obj19.Locations = list41; - reference29 = obj19; - ref GatheringNode reference30 = ref span22[1]; - GatheringNode obj20 = new GatheringNode - { - DataId = 32216u - }; - num3 = 1; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - CollectionsMarshal.AsSpan(list42)[0] = new GatheringLocation - { - Position = new Vector3(-510.2239f, 55.62017f, 137.6676f) - }; - obj20.Locations = list42; - reference30 = obj20; - gatheringNodeGroup10.Nodes = list40; - reference28 = gatheringNodeGroup10; - ref GatheringNodeGroup reference31 = ref span21[1]; - GatheringNodeGroup gatheringNodeGroup11 = new GatheringNodeGroup(); - num2 = 2; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - Span span24 = CollectionsMarshal.AsSpan(list43); - ref GatheringNode reference32 = ref span24[0]; - GatheringNode obj21 = new GatheringNode - { - DataId = 32215u - }; - num3 = 3; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - Span span25 = CollectionsMarshal.AsSpan(list44); - span25[0] = new GatheringLocation - { - Position = new Vector3(-498.1188f, 57.86262f, 230.4597f) - }; - span25[1] = new GatheringLocation - { - Position = new Vector3(-513.0305f, 56.18323f, 239.2122f), - MinimumAngle = -35, - MaximumAngle = 235 - }; - span25[2] = new GatheringLocation - { - Position = new Vector3(-506.6473f, 56.30998f, 258.2175f) - }; - obj21.Locations = list44; - reference32 = obj21; - ref GatheringNode reference33 = ref span24[1]; - GatheringNode obj22 = new GatheringNode - { - DataId = 32214u - }; - num3 = 1; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - CollectionsMarshal.AsSpan(list45)[0] = new GatheringLocation - { - Position = new Vector3(-509.9459f, 56.21313f, 252.2773f) - }; - obj22.Locations = list45; - reference33 = obj22; - gatheringNodeGroup11.Nodes = list43; - reference31 = gatheringNodeGroup11; - ref GatheringNodeGroup reference34 = ref span21[2]; - GatheringNodeGroup gatheringNodeGroup12 = new GatheringNodeGroup(); - num2 = 2; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - Span span26 = CollectionsMarshal.AsSpan(list46); - ref GatheringNode reference35 = ref span26[0]; - GatheringNode obj23 = new GatheringNode - { - DataId = 32213u - }; - num3 = 2; - List list47 = new List(num3); - CollectionsMarshal.SetCount(list47, num3); - Span span27 = CollectionsMarshal.AsSpan(list47); - span27[0] = new GatheringLocation - { - Position = new Vector3(-391.9599f, 50.21202f, 184.0853f) - }; - span27[1] = new GatheringLocation - { - Position = new Vector3(-419.9665f, 48.34329f, 125.2942f) - }; - obj23.Locations = list47; - reference35 = obj23; - ref GatheringNode reference36 = ref span26[1]; - GatheringNode obj24 = new GatheringNode - { - DataId = 32212u - }; - num3 = 1; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - CollectionsMarshal.AsSpan(list48)[0] = new GatheringLocation - { - Position = new Vector3(-391.2807f, 47.10617f, 153.422f) - }; - obj24.Locations = list48; - reference36 = obj24; - gatheringNodeGroup12.Nodes = list46; - reference34 = gatheringNodeGroup12; - gatheringRoot4.Groups = list39; - AddLocation(509, gatheringRoot4); - GatheringRoot gatheringRoot5 = new GatheringRoot(); - num = 1; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - CollectionsMarshal.AsSpan(list49)[0] = "liza"; - gatheringRoot5.Author = list49; - num = 1; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.None, null, null, 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - gatheringRoot5.Steps = list50; - num = 3; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - Span span28 = CollectionsMarshal.AsSpan(list51); - ref GatheringNodeGroup reference37 = ref span28[0]; - GatheringNodeGroup gatheringNodeGroup13 = new GatheringNodeGroup(); - num2 = 2; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - Span span29 = CollectionsMarshal.AsSpan(list52); - ref GatheringNode reference38 = ref span29[0]; - GatheringNode obj25 = new GatheringNode - { - DataId = 32223u - }; - num3 = 2; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - Span span30 = CollectionsMarshal.AsSpan(list53); - span30[0] = new GatheringLocation - { - Position = new Vector3(-741.6174f, 6.276045f, -639.2435f) - }; - span30[1] = new GatheringLocation - { - Position = new Vector3(-724.2017f, 2.514658f, -647.5651f) - }; - obj25.Locations = list53; - reference38 = obj25; - ref GatheringNode reference39 = ref span29[1]; - GatheringNode obj26 = new GatheringNode - { - DataId = 32222u - }; - num3 = 1; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - CollectionsMarshal.AsSpan(list54)[0] = new GatheringLocation - { - Position = new Vector3(-719.345f, 2.520793f, -645.692f) - }; - obj26.Locations = list54; - reference39 = obj26; - gatheringNodeGroup13.Nodes = list52; - reference37 = gatheringNodeGroup13; - ref GatheringNodeGroup reference40 = ref span28[1]; - GatheringNodeGroup gatheringNodeGroup14 = new GatheringNodeGroup(); - num2 = 2; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - Span span31 = CollectionsMarshal.AsSpan(list55); - ref GatheringNode reference41 = ref span31[0]; - GatheringNode obj27 = new GatheringNode - { - DataId = 32218u - }; - num3 = 1; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - CollectionsMarshal.AsSpan(list56)[0] = new GatheringLocation - { - Position = new Vector3(-664.7355f, 15.23751f, -801.2688f), - MinimumAngle = -60, - MaximumAngle = 185 - }; - obj27.Locations = list56; - reference41 = obj27; - ref GatheringNode reference42 = ref span31[1]; - GatheringNode obj28 = new GatheringNode - { - DataId = 32219u - }; - num3 = 3; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - Span span32 = CollectionsMarshal.AsSpan(list57); - span32[0] = new GatheringLocation - { - Position = new Vector3(-673.4941f, 16.74037f, -818.1156f) - }; - span32[1] = new GatheringLocation - { - Position = new Vector3(-677.8458f, 15.77772f, -809.6718f) - }; - span32[2] = new GatheringLocation - { - Position = new Vector3(-663.3188f, 14.57053f, -797.132f) - }; - obj28.Locations = list57; - reference42 = obj28; - gatheringNodeGroup14.Nodes = list55; - reference40 = gatheringNodeGroup14; - ref GatheringNodeGroup reference43 = ref span28[2]; - GatheringNodeGroup gatheringNodeGroup15 = new GatheringNodeGroup(); - num2 = 2; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - Span span33 = CollectionsMarshal.AsSpan(list58); - ref GatheringNode reference44 = ref span33[0]; - GatheringNode obj29 = new GatheringNode - { - DataId = 32221u - }; - num3 = 3; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - Span span34 = CollectionsMarshal.AsSpan(list59); - span34[0] = new GatheringLocation - { - Position = new Vector3(-502.177f, 36.7399f, -724.8087f) - }; - span34[1] = new GatheringLocation - { - Position = new Vector3(-508.0492f, 33.89026f, -703.5477f) - }; - span34[2] = new GatheringLocation - { - Position = new Vector3(-490.3923f, 36.73062f, -685.7646f), - MinimumAngle = -40, - MaximumAngle = 150 - }; - obj29.Locations = list59; - reference44 = obj29; - ref GatheringNode reference45 = ref span33[1]; - GatheringNode obj30 = new GatheringNode - { - DataId = 32220u - }; - num3 = 1; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - CollectionsMarshal.AsSpan(list60)[0] = new GatheringLocation - { - Position = new Vector3(-493.5531f, 36.08752f, -687.7089f), - MinimumAngle = -70, - MaximumAngle = 160 - }; - obj30.Locations = list60; - reference45 = obj30; - gatheringNodeGroup15.Nodes = list58; - reference43 = gatheringNodeGroup15; - gatheringRoot5.Groups = list51; - AddLocation(510, gatheringRoot5); - GatheringRoot gatheringRoot6 = new GatheringRoot(); - num = 1; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - CollectionsMarshal.AsSpan(list61)[0] = "liza"; - gatheringRoot6.Author = list61; - num = 2; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - Span span35 = CollectionsMarshal.AsSpan(list62); - span35[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(322.1539f, -121.22571f, -314.2446f), 613) - { - RestartNavigationIfCancelled = false, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span35[1] = new QuestStep(EInteractionType.None, null, null, 613); - gatheringRoot6.Steps = list62; - num = 3; - List list63 = new List(num); - CollectionsMarshal.SetCount(list63, num); - Span span36 = CollectionsMarshal.AsSpan(list63); - ref GatheringNodeGroup reference46 = ref span36[0]; - GatheringNodeGroup gatheringNodeGroup16 = new GatheringNodeGroup(); - num2 = 2; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - Span span37 = CollectionsMarshal.AsSpan(list64); - ref GatheringNode reference47 = ref span37[0]; - GatheringNode obj31 = new GatheringNode - { - DataId = 32225u - }; - num3 = 3; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - Span span38 = CollectionsMarshal.AsSpan(list65); - span38[0] = new GatheringLocation - { - Position = new Vector3(283.2321f, -105.8964f, -89.553f) - }; - span38[1] = new GatheringLocation - { - Position = new Vector3(251.241f, -112.7794f, -103.9756f) - }; - span38[2] = new GatheringLocation - { - Position = new Vector3(338.0264f, -86.76475f, -30.31015f) - }; - obj31.Locations = list65; - reference47 = obj31; - ref GatheringNode reference48 = ref span37[1]; - GatheringNode obj32 = new GatheringNode - { - DataId = 32224u - }; - num3 = 1; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - CollectionsMarshal.AsSpan(list66)[0] = new GatheringLocation - { - Position = new Vector3(304.9474f, -98.91968f, -59.39315f) - }; - obj32.Locations = list66; - reference48 = obj32; - gatheringNodeGroup16.Nodes = list64; - reference46 = gatheringNodeGroup16; - ref GatheringNodeGroup reference49 = ref span36[1]; - GatheringNodeGroup gatheringNodeGroup17 = new GatheringNodeGroup(); - num2 = 2; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - Span span39 = CollectionsMarshal.AsSpan(list67); - ref GatheringNode reference50 = ref span39[0]; - GatheringNode obj33 = new GatheringNode - { - DataId = 32228u - }; - num3 = 1; - List list68 = new List(num3); - CollectionsMarshal.SetCount(list68, num3); - CollectionsMarshal.AsSpan(list68)[0] = new GatheringLocation - { - Position = new Vector3(260.0728f, -124.0964f, 68.48814f) - }; - obj33.Locations = list68; - reference50 = obj33; - ref GatheringNode reference51 = ref span39[1]; - GatheringNode obj34 = new GatheringNode - { - DataId = 32229u - }; - num3 = 3; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - Span span40 = CollectionsMarshal.AsSpan(list69); - span40[0] = new GatheringLocation - { - Position = new Vector3(265.4464f, -128.0422f, 88.30737f) - }; - span40[1] = new GatheringLocation - { - Position = new Vector3(256.5239f, -113.9164f, -3.19258f) - }; - span40[2] = new GatheringLocation - { - Position = new Vector3(237.8169f, -122.1193f, -35.11102f) - }; - obj34.Locations = list69; - reference51 = obj34; - gatheringNodeGroup17.Nodes = list67; - reference49 = gatheringNodeGroup17; - ref GatheringNodeGroup reference52 = ref span36[2]; - GatheringNodeGroup gatheringNodeGroup18 = new GatheringNodeGroup(); - num2 = 2; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - Span span41 = CollectionsMarshal.AsSpan(list70); - ref GatheringNode reference53 = ref span41[0]; - GatheringNode obj35 = new GatheringNode - { - DataId = 32226u - }; - num3 = 1; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - CollectionsMarshal.AsSpan(list71)[0] = new GatheringLocation - { - Position = new Vector3(318.7197f, -88.4566f, 91.66042f) - }; - obj35.Locations = list71; - reference53 = obj35; - ref GatheringNode reference54 = ref span41[1]; - GatheringNode obj36 = new GatheringNode - { - DataId = 32227u - }; - num3 = 3; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - Span span42 = CollectionsMarshal.AsSpan(list72); - span42[0] = new GatheringLocation - { - Position = new Vector3(281.2504f, -113.1205f, 176.6557f) - }; - span42[1] = new GatheringLocation - { - Position = new Vector3(309.1248f, -88.04077f, 109.5688f) - }; - span42[2] = new GatheringLocation - { - Position = new Vector3(312.3843f, -95.51873f, 79.94166f) - }; - obj36.Locations = list72; - reference54 = obj36; - gatheringNodeGroup18.Nodes = list70; - reference52 = gatheringNodeGroup18; - gatheringRoot6.Groups = list63; - AddLocation(511, gatheringRoot6); - GatheringRoot gatheringRoot7 = new GatheringRoot(); - num = 1; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - CollectionsMarshal.AsSpan(list73)[0] = "liza"; - gatheringRoot7.Author = list73; - num = 1; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.None, null, null, 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - gatheringRoot7.Steps = list74; - num = 3; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - Span span43 = CollectionsMarshal.AsSpan(list75); - ref GatheringNodeGroup reference55 = ref span43[0]; - GatheringNodeGroup gatheringNodeGroup19 = new GatheringNodeGroup(); - num2 = 2; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - Span span44 = CollectionsMarshal.AsSpan(list76); - ref GatheringNode reference56 = ref span44[0]; - GatheringNode obj37 = new GatheringNode - { - DataId = 32234u - }; - num3 = 1; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - CollectionsMarshal.AsSpan(list77)[0] = new GatheringLocation - { - Position = new Vector3(-381.2856f, 66.03626f, -548.9689f) - }; - obj37.Locations = list77; - reference56 = obj37; - ref GatheringNode reference57 = ref span44[1]; - GatheringNode obj38 = new GatheringNode - { - DataId = 32235u - }; - num3 = 3; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - Span span45 = CollectionsMarshal.AsSpan(list78); - span45[0] = new GatheringLocation - { - Position = new Vector3(-421.8894f, 69.34563f, -520.4478f) - }; - span45[1] = new GatheringLocation - { - Position = new Vector3(-376.2228f, 66.67438f, -545.8188f) - }; - span45[2] = new GatheringLocation - { - Position = new Vector3(-355.3144f, 66.57961f, -545.7592f) - }; - obj38.Locations = list78; - reference57 = obj38; - gatheringNodeGroup19.Nodes = list76; - reference55 = gatheringNodeGroup19; - ref GatheringNodeGroup reference58 = ref span43[1]; - GatheringNodeGroup gatheringNodeGroup20 = new GatheringNodeGroup(); - num2 = 2; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - Span span46 = CollectionsMarshal.AsSpan(list79); - ref GatheringNode reference59 = ref span46[0]; - GatheringNode obj39 = new GatheringNode - { - DataId = 32232u - }; - num3 = 1; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - CollectionsMarshal.AsSpan(list80)[0] = new GatheringLocation - { - Position = new Vector3(-517.0562f, 63.73144f, -477.6884f) - }; - obj39.Locations = list80; - reference59 = obj39; - ref GatheringNode reference60 = ref span46[1]; - GatheringNode obj40 = new GatheringNode - { - DataId = 32233u - }; - num3 = 3; - List list81 = new List(num3); - CollectionsMarshal.SetCount(list81, num3); - Span span47 = CollectionsMarshal.AsSpan(list81); - span47[0] = new GatheringLocation - { - Position = new Vector3(-550.7997f, 69.32131f, -449.5795f), - MinimumAngle = 0, - MaximumAngle = 230 - }; - span47[1] = new GatheringLocation - { - Position = new Vector3(-507.8166f, 66.39982f, -470.319f) - }; - span47[2] = new GatheringLocation - { - Position = new Vector3(-494.5092f, 63.5919f, -497.5369f) - }; - obj40.Locations = list81; - reference60 = obj40; - gatheringNodeGroup20.Nodes = list79; - reference58 = gatheringNodeGroup20; - ref GatheringNodeGroup reference61 = ref span43[2]; - GatheringNodeGroup gatheringNodeGroup21 = new GatheringNodeGroup(); - num2 = 2; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - Span span48 = CollectionsMarshal.AsSpan(list82); - ref GatheringNode reference62 = ref span48[0]; - GatheringNode obj41 = new GatheringNode - { - DataId = 32230u - }; - num3 = 1; - List list83 = new List(num3); - CollectionsMarshal.SetCount(list83, num3); - CollectionsMarshal.AsSpan(list83)[0] = new GatheringLocation - { - Position = new Vector3(-402.3759f, 95.33111f, -371.9796f), - MinimumAngle = -15, - MaximumAngle = 230 - }; - obj41.Locations = list83; - reference62 = obj41; - ref GatheringNode reference63 = ref span48[1]; - GatheringNode obj42 = new GatheringNode - { - DataId = 32231u - }; - num3 = 3; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - Span span49 = CollectionsMarshal.AsSpan(list84); - span49[0] = new GatheringLocation - { - Position = new Vector3(-398.7086f, 95.14203f, -377.1731f), - MinimumAngle = 30, - MaximumAngle = 230 - }; - span49[1] = new GatheringLocation - { - Position = new Vector3(-427.5446f, 90.42126f, -391.9806f) - }; - span49[2] = new GatheringLocation - { - Position = new Vector3(-398.5008f, 98.82507f, -351.0829f) - }; - obj42.Locations = list84; - reference63 = obj42; - gatheringNodeGroup21.Nodes = list82; - reference61 = gatheringNodeGroup21; - gatheringRoot7.Groups = list75; - AddLocation(512, gatheringRoot7); - GatheringRoot gatheringRoot8 = new GatheringRoot(); - num = 1; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - CollectionsMarshal.AsSpan(list85)[0] = "liza"; - gatheringRoot8.Author = list85; - num = 1; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.None, null, null, 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens - }; - gatheringRoot8.Steps = list86; - num = 3; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - Span span50 = CollectionsMarshal.AsSpan(list87); - ref GatheringNodeGroup reference64 = ref span50[0]; - GatheringNodeGroup gatheringNodeGroup22 = new GatheringNodeGroup(); - num2 = 2; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - Span span51 = CollectionsMarshal.AsSpan(list88); - ref GatheringNode reference65 = ref span51[0]; - GatheringNode obj43 = new GatheringNode - { - DataId = 32236u - }; - num3 = 1; - List list89 = new List(num3); - CollectionsMarshal.SetCount(list89, num3); - CollectionsMarshal.AsSpan(list89)[0] = new GatheringLocation - { - Position = new Vector3(-590.3985f, 37.74836f, 392.8004f), - MinimumAngle = 60, - MaximumAngle = 260 - }; - obj43.Locations = list89; - reference65 = obj43; - ref GatheringNode reference66 = ref span51[1]; - GatheringNode obj44 = new GatheringNode - { - DataId = 32237u - }; - num3 = 2; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - Span span52 = CollectionsMarshal.AsSpan(list90); - span52[0] = new GatheringLocation - { - Position = new Vector3(-713.7814f, 51.18425f, 365.8188f), - MinimumAngle = 145, - MaximumAngle = 275 - }; - span52[1] = new GatheringLocation - { - Position = new Vector3(-674.6958f, 44.06395f, 347.5866f), - MinimumAngle = -70, - MaximumAngle = 75 - }; - obj44.Locations = list90; - reference66 = obj44; - gatheringNodeGroup22.Nodes = list88; - reference64 = gatheringNodeGroup22; - ref GatheringNodeGroup reference67 = ref span50[1]; - GatheringNodeGroup gatheringNodeGroup23 = new GatheringNodeGroup(); - num2 = 2; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - Span span53 = CollectionsMarshal.AsSpan(list91); - ref GatheringNode reference68 = ref span53[0]; - GatheringNode obj45 = new GatheringNode - { - DataId = 32239u - }; - num3 = 2; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - Span span54 = CollectionsMarshal.AsSpan(list92); - span54[0] = new GatheringLocation - { - Position = new Vector3(-625.3124f, 36.73846f, 442.5669f), - MinimumAngle = 140, - MaximumAngle = 235 - }; - span54[1] = new GatheringLocation - { - Position = new Vector3(-655.4194f, 40.51354f, 402.2708f), - MinimumAngle = -95, - MaximumAngle = 60 - }; - obj45.Locations = list92; - reference68 = obj45; - ref GatheringNode reference69 = ref span53[1]; - GatheringNode obj46 = new GatheringNode - { - DataId = 32238u - }; - num3 = 1; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - CollectionsMarshal.AsSpan(list93)[0] = new GatheringLocation - { - Position = new Vector3(-628.1135f, 36.66908f, 480.3016f), - MinimumAngle = 85, - MaximumAngle = 250 - }; - obj46.Locations = list93; - reference69 = obj46; - gatheringNodeGroup23.Nodes = list91; - reference67 = gatheringNodeGroup23; - ref GatheringNodeGroup reference70 = ref span50[2]; - GatheringNodeGroup gatheringNodeGroup24 = new GatheringNodeGroup(); - num2 = 2; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - Span span55 = CollectionsMarshal.AsSpan(list94); - ref GatheringNode reference71 = ref span55[0]; - GatheringNode obj47 = new GatheringNode - { - DataId = 32240u - }; - num3 = 1; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - CollectionsMarshal.AsSpan(list95)[0] = new GatheringLocation - { - Position = new Vector3(-575.3094f, 36.61243f, 500.9136f), - MinimumAngle = 15, - MaximumAngle = 180 - }; - obj47.Locations = list95; - reference71 = obj47; - ref GatheringNode reference72 = ref span55[1]; - GatheringNode obj48 = new GatheringNode - { - DataId = 32241u - }; - num3 = 2; - List list96 = new List(num3); - CollectionsMarshal.SetCount(list96, num3); - Span span56 = CollectionsMarshal.AsSpan(list96); - span56[0] = new GatheringLocation - { - Position = new Vector3(-560.735f, 37.00333f, 439.5417f), - MinimumAngle = -15, - MaximumAngle = 95 - }; - span56[1] = new GatheringLocation - { - Position = new Vector3(-586.5652f, 37.77999f, 459.6001f), - MinimumAngle = 40, - MaximumAngle = 200 - }; - obj48.Locations = list96; - reference72 = obj48; - gatheringNodeGroup24.Nodes = list94; - reference70 = gatheringNodeGroup24; - gatheringRoot8.Groups = list87; - AddLocation(513, gatheringRoot8); - GatheringRoot gatheringRoot9 = new GatheringRoot(); - num = 1; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - CollectionsMarshal.AsSpan(list97)[0] = "liza"; - gatheringRoot9.Author = list97; - num = 1; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.None, null, null, 621) - { - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter - }; - gatheringRoot9.Steps = list98; - num = 3; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - Span span57 = CollectionsMarshal.AsSpan(list99); - ref GatheringNodeGroup reference73 = ref span57[0]; - GatheringNodeGroup gatheringNodeGroup25 = new GatheringNodeGroup(); - num2 = 2; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - Span span58 = CollectionsMarshal.AsSpan(list100); - ref GatheringNode reference74 = ref span58[0]; - GatheringNode obj49 = new GatheringNode - { - DataId = 32245u - }; - num3 = 3; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - Span span59 = CollectionsMarshal.AsSpan(list101); - span59[0] = new GatheringLocation - { - Position = new Vector3(333.1211f, 20.88004f, -522.5363f), - MinimumAngle = 160, - MaximumAngle = 335 - }; - span59[1] = new GatheringLocation - { - Position = new Vector3(338.3687f, 21.54188f, -512.1134f), - MinimumAngle = 120, - MaximumAngle = 275 - }; - span59[2] = new GatheringLocation - { - Position = new Vector3(374.9138f, 25.00688f, -515.2723f), - MinimumAngle = -85, - MaximumAngle = 90 - }; - obj49.Locations = list101; - reference74 = obj49; - ref GatheringNode reference75 = ref span58[1]; - GatheringNode obj50 = new GatheringNode - { - DataId = 32244u - }; - num3 = 1; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - CollectionsMarshal.AsSpan(list102)[0] = new GatheringLocation - { - Position = new Vector3(368.5785f, 24.38493f, -507.3824f), - MinimumAngle = 65, - MaximumAngle = 240 - }; - obj50.Locations = list102; - reference75 = obj50; - gatheringNodeGroup25.Nodes = list100; - reference73 = gatheringNodeGroup25; - ref GatheringNodeGroup reference76 = ref span57[1]; - GatheringNodeGroup gatheringNodeGroup26 = new GatheringNodeGroup(); - num2 = 2; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - Span span60 = CollectionsMarshal.AsSpan(list103); - ref GatheringNode reference77 = ref span60[0]; - GatheringNode obj51 = new GatheringNode - { - DataId = 32243u - }; - num3 = 3; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - Span span61 = CollectionsMarshal.AsSpan(list104); - span61[0] = new GatheringLocation - { - Position = new Vector3(426.1108f, 25.12664f, -607.2003f), - MinimumAngle = -20, - MaximumAngle = 145 - }; - span61[1] = new GatheringLocation - { - Position = new Vector3(400.1029f, 25.21572f, -648.0899f), - MinimumAngle = 190, - MaximumAngle = 325 - }; - span61[2] = new GatheringLocation - { - Position = new Vector3(463.1597f, 24.9486f, -602.0026f), - MinimumAngle = 0, - MaximumAngle = 150 - }; - obj51.Locations = list104; - reference77 = obj51; - ref GatheringNode reference78 = ref span60[1]; - GatheringNode obj52 = new GatheringNode - { - DataId = 32242u - }; - num3 = 1; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - CollectionsMarshal.AsSpan(list105)[0] = new GatheringLocation - { - Position = new Vector3(396.3124f, 25.41136f, -663.1417f), - MinimumAngle = 20, - MaximumAngle = 205 - }; - obj52.Locations = list105; - reference78 = obj52; - gatheringNodeGroup26.Nodes = list103; - reference76 = gatheringNodeGroup26; - ref GatheringNodeGroup reference79 = ref span57[2]; - GatheringNodeGroup gatheringNodeGroup27 = new GatheringNodeGroup(); - num2 = 2; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - Span span62 = CollectionsMarshal.AsSpan(list106); - ref GatheringNode reference80 = ref span62[0]; - GatheringNode obj53 = new GatheringNode - { - DataId = 32247u - }; - num3 = 3; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - Span span63 = CollectionsMarshal.AsSpan(list107); - span63[0] = new GatheringLocation - { - Position = new Vector3(274.2476f, 18.49642f, -627.4052f), - MinimumAngle = -95, - MaximumAngle = 100 - }; - span63[1] = new GatheringLocation - { - Position = new Vector3(248.6237f, 10.63078f, -592.5243f), - MinimumAngle = -145, - MaximumAngle = 35 - }; - span63[2] = new GatheringLocation - { - Position = new Vector3(259.3484f, 11.24844f, -586.5854f), - MinimumAngle = -120, - MaximumAngle = 45 - }; - obj53.Locations = list107; - reference80 = obj53; - ref GatheringNode reference81 = ref span62[1]; - GatheringNode obj54 = new GatheringNode - { - DataId = 32246u - }; - num3 = 1; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - CollectionsMarshal.AsSpan(list108)[0] = new GatheringLocation - { - Position = new Vector3(266.4147f, 18.26739f, -620.2316f), - MinimumAngle = 135, - MaximumAngle = 305 - }; - obj54.Locations = list108; - reference81 = obj54; - gatheringNodeGroup27.Nodes = list106; - reference79 = gatheringNodeGroup27; - gatheringRoot9.Groups = list99; - AddLocation(514, gatheringRoot9); - GatheringRoot gatheringRoot10 = new GatheringRoot(); - num = 1; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - CollectionsMarshal.AsSpan(list109)[0] = "liza"; - gatheringRoot10.Author = list109; - num = 1; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.None, null, null, 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone - }; - gatheringRoot10.Steps = list110; - num = 3; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - Span span64 = CollectionsMarshal.AsSpan(list111); - ref GatheringNodeGroup reference82 = ref span64[0]; - GatheringNodeGroup gatheringNodeGroup28 = new GatheringNodeGroup(); - num2 = 2; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span65 = CollectionsMarshal.AsSpan(list112); - ref GatheringNode reference83 = ref span65[0]; - GatheringNode obj55 = new GatheringNode - { - DataId = 32264u - }; - num3 = 1; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - CollectionsMarshal.AsSpan(list113)[0] = new GatheringLocation - { - Position = new Vector3(-166.6597f, 3.616752f, 361.2099f), - MinimumAngle = -95, - MaximumAngle = 130 - }; - obj55.Locations = list113; - reference83 = obj55; - ref GatheringNode reference84 = ref span65[1]; - GatheringNode obj56 = new GatheringNode - { - DataId = 32265u - }; - num3 = 3; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - Span span66 = CollectionsMarshal.AsSpan(list114); - span66[0] = new GatheringLocation - { - Position = new Vector3(-191.0201f, 4.361521f, 354.6401f) - }; - span66[1] = new GatheringLocation - { - Position = new Vector3(-162.6655f, 3.441799f, 363.0803f), - MinimumAngle = -95, - MaximumAngle = 150 - }; - span66[2] = new GatheringLocation - { - Position = new Vector3(-167.5898f, 2.5177f, 377.1267f) - }; - obj56.Locations = list114; - reference84 = obj56; - gatheringNodeGroup28.Nodes = list112; - reference82 = gatheringNodeGroup28; - ref GatheringNodeGroup reference85 = ref span64[1]; - GatheringNodeGroup gatheringNodeGroup29 = new GatheringNodeGroup(); - num2 = 2; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - Span span67 = CollectionsMarshal.AsSpan(list115); - ref GatheringNode reference86 = ref span67[0]; - GatheringNode obj57 = new GatheringNode - { - DataId = 32267u - }; - num3 = 3; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - Span span68 = CollectionsMarshal.AsSpan(list116); - span68[0] = new GatheringLocation - { - Position = new Vector3(-271.2292f, 3.341675f, 401.9989f) - }; - span68[1] = new GatheringLocation - { - Position = new Vector3(-349.3433f, 11.88452f, 378.1435f) - }; - span68[2] = new GatheringLocation - { - Position = new Vector3(-298.7296f, 5.809261f, 414.3437f) - }; - obj57.Locations = list116; - reference86 = obj57; - ref GatheringNode reference87 = ref span67[1]; - GatheringNode obj58 = new GatheringNode - { - DataId = 32266u - }; - num3 = 1; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - CollectionsMarshal.AsSpan(list117)[0] = new GatheringLocation - { - Position = new Vector3(-317.19f, 7.863516f, 397.5005f) - }; - obj58.Locations = list117; - reference87 = obj58; - gatheringNodeGroup29.Nodes = list115; - reference85 = gatheringNodeGroup29; - ref GatheringNodeGroup reference88 = ref span64[2]; - GatheringNodeGroup gatheringNodeGroup30 = new GatheringNodeGroup(); - num2 = 2; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - Span span69 = CollectionsMarshal.AsSpan(list118); - ref GatheringNode reference89 = ref span69[0]; - GatheringNode obj59 = new GatheringNode - { - DataId = 32262u - }; - num3 = 1; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - CollectionsMarshal.AsSpan(list119)[0] = new GatheringLocation - { - Position = new Vector3(-350.0407f, 22.68479f, 230.4606f) - }; - obj59.Locations = list119; - reference89 = obj59; - ref GatheringNode reference90 = ref span69[1]; - GatheringNode obj60 = new GatheringNode - { - DataId = 32263u - }; - num3 = 3; - List list120 = new List(num3); - CollectionsMarshal.SetCount(list120, num3); - Span span70 = CollectionsMarshal.AsSpan(list120); - span70[0] = new GatheringLocation - { - Position = new Vector3(-352.7808f, 23.99817f, 203.1617f) - }; - span70[1] = new GatheringLocation - { - Position = new Vector3(-345.5888f, 22.30608f, 229.8253f) - }; - span70[2] = new GatheringLocation - { - Position = new Vector3(-377.2188f, 22.65303f, 221.3997f) - }; - obj60.Locations = list120; - reference90 = obj60; - gatheringNodeGroup30.Nodes = list118; - reference88 = gatheringNodeGroup30; - gatheringRoot10.Groups = list111; - AddLocation(519, gatheringRoot10); - GatheringRoot gatheringRoot11 = new GatheringRoot(); - num = 1; - List list121 = new List(num); - CollectionsMarshal.SetCount(list121, num); - CollectionsMarshal.AsSpan(list121)[0] = "liza"; - gatheringRoot11.Author = list121; - num = 1; - List list122 = new List(num); - CollectionsMarshal.SetCount(list122, num); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.None, null, null, 621) - { - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria - }; - gatheringRoot11.Steps = list122; - num = 1; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - ref GatheringNodeGroup reference91 = ref CollectionsMarshal.AsSpan(list123)[0]; - GatheringNodeGroup gatheringNodeGroup31 = new GatheringNodeGroup(); - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - ref GatheringNode reference92 = ref CollectionsMarshal.AsSpan(list124)[0]; - GatheringNode obj61 = new GatheringNode - { - DataId = 32274u - }; - num3 = 3; - List list125 = new List(num3); - CollectionsMarshal.SetCount(list125, num3); - Span span71 = CollectionsMarshal.AsSpan(list125); - span71[0] = new GatheringLocation - { - Position = new Vector3(-737.3265f, 76.50858f, -591.2296f) - }; - span71[1] = new GatheringLocation - { - Position = new Vector3(-787.0406f, 78.22382f, -640.0532f) - }; - span71[2] = new GatheringLocation - { - Position = new Vector3(-670.0129f, 70.42876f, -645.2087f) - }; - obj61.Locations = list125; - reference92 = obj61; - gatheringNodeGroup31.Nodes = list124; - reference91 = gatheringNodeGroup31; - gatheringRoot11.Groups = list123; - AddLocation(526, gatheringRoot11); - GatheringRoot gatheringRoot12 = new GatheringRoot(); - num = 1; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - CollectionsMarshal.AsSpan(list126)[0] = "liza"; - gatheringRoot12.Author = list126; - num = 2; - List list127 = new List(num); - CollectionsMarshal.SetCount(list127, num); - Span span72 = CollectionsMarshal.AsSpan(list127); - span72[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(322.1539f, -121.22571f, -314.2446f), 613) - { - RestartNavigationIfCancelled = false, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span72[1] = new QuestStep(EInteractionType.None, null, null, 613); - gatheringRoot12.Steps = list127; - num = 3; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - Span span73 = CollectionsMarshal.AsSpan(list128); - ref GatheringNodeGroup reference93 = ref span73[0]; - GatheringNodeGroup gatheringNodeGroup32 = new GatheringNodeGroup(); - num2 = 2; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - Span span74 = CollectionsMarshal.AsSpan(list129); - ref GatheringNode reference94 = ref span74[0]; - GatheringNode obj62 = new GatheringNode - { - DataId = 32282u - }; - num3 = 2; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - Span span75 = CollectionsMarshal.AsSpan(list130); - span75[0] = new GatheringLocation - { - Position = new Vector3(-332.5556f, -139.5151f, -276.7727f) - }; - span75[1] = new GatheringLocation - { - Position = new Vector3(-398.5437f, -137.4753f, -264.6068f) - }; - obj62.Locations = list130; - reference94 = obj62; - ref GatheringNode reference95 = ref span74[1]; - GatheringNode obj63 = new GatheringNode - { - DataId = 32281u - }; - num3 = 1; - List list131 = new List(num3); - CollectionsMarshal.SetCount(list131, num3); - CollectionsMarshal.AsSpan(list131)[0] = new GatheringLocation - { - Position = new Vector3(-377.4165f, -151.0521f, -211.4394f) - }; - obj63.Locations = list131; - reference95 = obj63; - gatheringNodeGroup32.Nodes = list129; - reference93 = gatheringNodeGroup32; - ref GatheringNodeGroup reference96 = ref span73[1]; - GatheringNodeGroup gatheringNodeGroup33 = new GatheringNodeGroup(); - num2 = 2; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - Span span76 = CollectionsMarshal.AsSpan(list132); - ref GatheringNode reference97 = ref span76[0]; - GatheringNode obj64 = new GatheringNode - { - DataId = 32277u - }; - num3 = 1; - List list133 = new List(num3); - CollectionsMarshal.SetCount(list133, num3); - CollectionsMarshal.AsSpan(list133)[0] = new GatheringLocation - { - Position = new Vector3(-509.283f, -107.1854f, -389.3152f) - }; - obj64.Locations = list133; - reference97 = obj64; - ref GatheringNode reference98 = ref span76[1]; - GatheringNode obj65 = new GatheringNode - { - DataId = 32278u - }; - num3 = 3; - List list134 = new List(num3); - CollectionsMarshal.SetCount(list134, num3); - Span span77 = CollectionsMarshal.AsSpan(list134); - span77[0] = new GatheringLocation - { - Position = new Vector3(-470.5726f, -93.28533f, -430.0346f) - }; - span77[1] = new GatheringLocation - { - Position = new Vector3(-549.3453f, -103.2194f, -352.9945f) - }; - span77[2] = new GatheringLocation - { - Position = new Vector3(-548.5269f, -99.45416f, -459.6198f) - }; - obj65.Locations = list134; - reference98 = obj65; - gatheringNodeGroup33.Nodes = list132; - reference96 = gatheringNodeGroup33; - ref GatheringNodeGroup reference99 = ref span73[2]; - GatheringNodeGroup gatheringNodeGroup34 = new GatheringNodeGroup(); - num2 = 2; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - Span span78 = CollectionsMarshal.AsSpan(list135); - ref GatheringNode reference100 = ref span78[0]; - GatheringNode obj66 = new GatheringNode - { - DataId = 32279u - }; - num3 = 1; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - CollectionsMarshal.AsSpan(list136)[0] = new GatheringLocation - { - Position = new Vector3(-347.0872f, -72.09894f, -420.7435f), - MinimumAngle = -80, - MaximumAngle = 100 - }; - obj66.Locations = list136; - reference100 = obj66; - ref GatheringNode reference101 = ref span78[1]; - GatheringNode obj67 = new GatheringNode - { - DataId = 32280u - }; - num3 = 3; - List list137 = new List(num3); - CollectionsMarshal.SetCount(list137, num3); - Span span79 = CollectionsMarshal.AsSpan(list137); - span79[0] = new GatheringLocation - { - Position = new Vector3(-410.6145f, -86.76735f, -432.2196f) - }; - span79[1] = new GatheringLocation - { - Position = new Vector3(-407.9324f, -108.0931f, -384.4449f) - }; - span79[2] = new GatheringLocation - { - Position = new Vector3(-341.0429f, -89.68655f, -396.5815f), - MinimumAngle = -45, - MaximumAngle = 110 - }; - obj67.Locations = list137; - reference101 = obj67; - gatheringNodeGroup34.Nodes = list135; - reference99 = gatheringNodeGroup34; - gatheringRoot12.Groups = list128; - AddLocation(529, gatheringRoot12); - GatheringRoot gatheringRoot13 = new GatheringRoot(); - num = 1; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - CollectionsMarshal.AsSpan(list138)[0] = "liza"; - gatheringRoot13.Author = list138; - num = 1; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.None, null, null, 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - gatheringRoot13.Steps = list139; - num = 3; - List list140 = new List(num); - CollectionsMarshal.SetCount(list140, num); - Span span80 = CollectionsMarshal.AsSpan(list140); - ref GatheringNodeGroup reference102 = ref span80[0]; - GatheringNodeGroup gatheringNodeGroup35 = new GatheringNodeGroup(); - num2 = 2; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - Span span81 = CollectionsMarshal.AsSpan(list141); - ref GatheringNode reference103 = ref span81[0]; - GatheringNode obj68 = new GatheringNode - { - DataId = 32286u - }; - num3 = 1; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - CollectionsMarshal.AsSpan(list142)[0] = new GatheringLocation - { - Position = new Vector3(720.7598f, 247.8707f, -571.472f), - MinimumAngle = 115, - MaximumAngle = 235 - }; - obj68.Locations = list142; - reference103 = obj68; - ref GatheringNode reference104 = ref span81[1]; - GatheringNode obj69 = new GatheringNode - { - DataId = 32287u - }; - num3 = 2; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - Span span82 = CollectionsMarshal.AsSpan(list143); - span82[0] = new GatheringLocation - { - Position = new Vector3(749.6198f, 250.0555f, -569.6151f), - MinimumAngle = 160, - MaximumAngle = 280 - }; - span82[1] = new GatheringLocation - { - Position = new Vector3(700.801f, 248.3289f, -569.3172f), - MinimumAngle = 185, - MaximumAngle = 275 - }; - obj69.Locations = list143; - reference104 = obj69; - gatheringNodeGroup35.Nodes = list141; - reference102 = gatheringNodeGroup35; - ref GatheringNodeGroup reference105 = ref span80[1]; - GatheringNodeGroup gatheringNodeGroup36 = new GatheringNodeGroup(); - num2 = 2; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - Span span83 = CollectionsMarshal.AsSpan(list144); - ref GatheringNode reference106 = ref span83[0]; - GatheringNode obj70 = new GatheringNode - { - DataId = 32285u - }; - num3 = 2; - List list145 = new List(num3); - CollectionsMarshal.SetCount(list145, num3); - Span span84 = CollectionsMarshal.AsSpan(list145); - span84[0] = new GatheringLocation - { - Position = new Vector3(792.5579f, 257.8186f, -661.4872f), - MinimumAngle = 80, - MaximumAngle = 155 - }; - span84[1] = new GatheringLocation - { - Position = new Vector3(773.1775f, 253.9753f, -671.3119f), - MinimumAngle = -80, - MaximumAngle = -5 - }; - obj70.Locations = list145; - reference106 = obj70; - ref GatheringNode reference107 = ref span83[1]; - GatheringNode obj71 = new GatheringNode - { - DataId = 32284u - }; - num3 = 1; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - CollectionsMarshal.AsSpan(list146)[0] = new GatheringLocation - { - Position = new Vector3(788.1879f, 257.4255f, -669.3115f), - MinimumAngle = -50, - MaximumAngle = -15, - MinimumDistance = 2.1f, - MaximumDistance = 3f - }; - obj71.Locations = list146; - reference107 = obj71; - gatheringNodeGroup36.Nodes = list144; - reference105 = gatheringNodeGroup36; - ref GatheringNodeGroup reference108 = ref span80[2]; - GatheringNodeGroup gatheringNodeGroup37 = new GatheringNodeGroup(); - num2 = 2; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - Span span85 = CollectionsMarshal.AsSpan(list147); - ref GatheringNode reference109 = ref span85[0]; - GatheringNode obj72 = new GatheringNode - { - DataId = 32289u - }; - num3 = 2; - List list148 = new List(num3); - CollectionsMarshal.SetCount(list148, num3); - Span span86 = CollectionsMarshal.AsSpan(list148); - span86[0] = new GatheringLocation - { - Position = new Vector3(846.4332f, 262.9354f, -500.6171f), - MinimumAngle = 40, - MaximumAngle = 155 - }; - span86[1] = new GatheringLocation - { - Position = new Vector3(838.9346f, 262.0732f, -527.0631f), - MinimumAngle = 60, - MaximumAngle = 145 - }; - obj72.Locations = list148; - reference109 = obj72; - ref GatheringNode reference110 = ref span85[1]; - GatheringNode obj73 = new GatheringNode - { - DataId = 32288u - }; - num3 = 1; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - CollectionsMarshal.AsSpan(list149)[0] = new GatheringLocation - { - Position = new Vector3(845.8228f, 263.8849f, -511.0472f), - MinimumAngle = -30, - MaximumAngle = 60 - }; - obj73.Locations = list149; - reference110 = obj73; - gatheringNodeGroup37.Nodes = list147; - reference108 = gatheringNodeGroup37; - gatheringRoot13.Groups = list140; - AddLocation(531, gatheringRoot13); - GatheringRoot gatheringRoot14 = new GatheringRoot(); - num = 1; - List list150 = new List(num); - CollectionsMarshal.SetCount(list150, num); - CollectionsMarshal.AsSpan(list150)[0] = "liza"; - gatheringRoot14.Author = list150; - num = 1; - List list151 = new List(num); - CollectionsMarshal.SetCount(list151, num); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.None, null, null, 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - gatheringRoot14.Steps = list151; - num = 3; - List list152 = new List(num); - CollectionsMarshal.SetCount(list152, num); - Span span87 = CollectionsMarshal.AsSpan(list152); - ref GatheringNodeGroup reference111 = ref span87[0]; - GatheringNodeGroup gatheringNodeGroup38 = new GatheringNodeGroup(); - num2 = 2; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - Span span88 = CollectionsMarshal.AsSpan(list153); - ref GatheringNode reference112 = ref span88[0]; - GatheringNode obj74 = new GatheringNode - { - DataId = 32292u - }; - num3 = 1; - List list154 = new List(num3); - CollectionsMarshal.SetCount(list154, num3); - CollectionsMarshal.AsSpan(list154)[0] = new GatheringLocation - { - Position = new Vector3(-276.0765f, 74.99889f, -751.7645f) - }; - obj74.Locations = list154; - reference112 = obj74; - ref GatheringNode reference113 = ref span88[1]; - GatheringNode obj75 = new GatheringNode - { - DataId = 32293u - }; - num3 = 2; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - Span span89 = CollectionsMarshal.AsSpan(list155); - span89[0] = new GatheringLocation - { - Position = new Vector3(-291.6779f, 75.03039f, -740.0215f) - }; - span89[1] = new GatheringLocation - { - Position = new Vector3(-309.4909f, 74.66329f, -746.8633f) - }; - obj75.Locations = list155; - reference113 = obj75; - gatheringNodeGroup38.Nodes = list153; - reference111 = gatheringNodeGroup38; - ref GatheringNodeGroup reference114 = ref span87[1]; - GatheringNodeGroup gatheringNodeGroup39 = new GatheringNodeGroup(); - num2 = 2; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - Span span90 = CollectionsMarshal.AsSpan(list156); - ref GatheringNode reference115 = ref span90[0]; - GatheringNode obj76 = new GatheringNode - { - DataId = 32290u - }; - num3 = 1; - List list157 = new List(num3); - CollectionsMarshal.SetCount(list157, num3); - CollectionsMarshal.AsSpan(list157)[0] = new GatheringLocation - { - Position = new Vector3(-377.3709f, 59.22021f, -721.5839f) - }; - obj76.Locations = list157; - reference115 = obj76; - ref GatheringNode reference116 = ref span90[1]; - GatheringNode obj77 = new GatheringNode - { - DataId = 32291u - }; - num3 = 2; - List list158 = new List(num3); - CollectionsMarshal.SetCount(list158, num3); - Span span91 = CollectionsMarshal.AsSpan(list158); - span91[0] = new GatheringLocation - { - Position = new Vector3(-385.6718f, 59.15918f, -741.5427f) - }; - span91[1] = new GatheringLocation - { - Position = new Vector3(-409.1402f, 56.75652f, -746.273f) - }; - obj77.Locations = list158; - reference116 = obj77; - gatheringNodeGroup39.Nodes = list156; - reference114 = gatheringNodeGroup39; - ref GatheringNodeGroup reference117 = ref span87[2]; - GatheringNodeGroup gatheringNodeGroup40 = new GatheringNodeGroup(); - num2 = 2; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - Span span92 = CollectionsMarshal.AsSpan(list159); - ref GatheringNode reference118 = ref span92[0]; - GatheringNode obj78 = new GatheringNode - { - DataId = 32295u - }; - num3 = 2; - List list160 = new List(num3); - CollectionsMarshal.SetCount(list160, num3); - Span span93 = CollectionsMarshal.AsSpan(list160); - span93[0] = new GatheringLocation - { - Position = new Vector3(-456.0745f, 57.47042f, -804.0213f) - }; - span93[1] = new GatheringLocation - { - Position = new Vector3(-455.9548f, 57.93848f, -785.8549f) - }; - obj78.Locations = list160; - reference118 = obj78; - ref GatheringNode reference119 = ref span92[1]; - GatheringNode obj79 = new GatheringNode - { - DataId = 32294u - }; - num3 = 1; - List list161 = new List(num3); - CollectionsMarshal.SetCount(list161, num3); - CollectionsMarshal.AsSpan(list161)[0] = new GatheringLocation - { - Position = new Vector3(-472.6482f, 57.45007f, -798.8556f) - }; - obj79.Locations = list161; - reference119 = obj79; - gatheringNodeGroup40.Nodes = list159; - reference117 = gatheringNodeGroup40; - gatheringRoot14.Groups = list152; - AddLocation(532, gatheringRoot14); - GatheringRoot gatheringRoot15 = new GatheringRoot(); - num = 1; - List list162 = new List(num); - CollectionsMarshal.SetCount(list162, num); - CollectionsMarshal.AsSpan(list162)[0] = "liza"; - gatheringRoot15.Author = list162; - num = 1; - List list163 = new List(num); - CollectionsMarshal.SetCount(list163, num); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.None, null, null, 613) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyPrice - } - }; - gatheringRoot15.Steps = list163; - gatheringRoot15.FlyBetweenNodes = true; - num = 3; - List list164 = new List(num); - CollectionsMarshal.SetCount(list164, num); - Span span94 = CollectionsMarshal.AsSpan(list164); - ref GatheringNodeGroup reference120 = ref span94[0]; - GatheringNodeGroup gatheringNodeGroup41 = new GatheringNodeGroup(); - num2 = 2; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - Span span95 = CollectionsMarshal.AsSpan(list165); - ref GatheringNode reference121 = ref span95[0]; - GatheringNode obj80 = new GatheringNode - { - DataId = 32296u - }; - num3 = 1; - List list166 = new List(num3); - CollectionsMarshal.SetCount(list166, num3); - CollectionsMarshal.AsSpan(list166)[0] = new GatheringLocation - { - Position = new Vector3(-216.1387f, 0.6300181f, 616.7697f), - MinimumAngle = 180, - MaximumAngle = 265 - }; - obj80.Locations = list166; - reference121 = obj80; - ref GatheringNode reference122 = ref span95[1]; - GatheringNode obj81 = new GatheringNode - { - DataId = 32297u - }; - num3 = 2; - List list167 = new List(num3); - CollectionsMarshal.SetCount(list167, num3); - Span span96 = CollectionsMarshal.AsSpan(list167); - span96[0] = new GatheringLocation - { - Position = new Vector3(-236.5302f, 0.503479f, 634.821f), - MinimumAngle = 45, - MaximumAngle = 65, - MinimumDistance = 1.6f, - MaximumDistance = 3f - }; - span96[1] = new GatheringLocation - { - Position = new Vector3(-242.0282f, 1.464991f, 649.7866f), - MinimumAngle = -20, - MaximumAngle = 70 - }; - obj81.Locations = list167; - reference122 = obj81; - gatheringNodeGroup41.Nodes = list165; - reference120 = gatheringNodeGroup41; - ref GatheringNodeGroup reference123 = ref span94[1]; - GatheringNodeGroup gatheringNodeGroup42 = new GatheringNodeGroup(); - num2 = 2; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - Span span97 = CollectionsMarshal.AsSpan(list168); - ref GatheringNode reference124 = ref span97[0]; - GatheringNode obj82 = new GatheringNode - { - DataId = 32298u - }; - num3 = 1; - List list169 = new List(num3); - CollectionsMarshal.SetCount(list169, num3); - CollectionsMarshal.AsSpan(list169)[0] = new GatheringLocation - { - Position = new Vector3(-267.9128f, 0.6036554f, 722.319f), - MinimumAngle = 230, - MaximumAngle = 330 - }; - obj82.Locations = list169; - reference124 = obj82; - ref GatheringNode reference125 = ref span97[1]; - GatheringNode obj83 = new GatheringNode - { - DataId = 32299u - }; - num3 = 2; - List list170 = new List(num3); - CollectionsMarshal.SetCount(list170, num3); - Span span98 = CollectionsMarshal.AsSpan(list170); - span98[0] = new GatheringLocation - { - Position = new Vector3(-275.2201f, 1.438162f, 727.0667f), - MinimumAngle = 0, - MaximumAngle = 105 - }; - span98[1] = new GatheringLocation - { - Position = new Vector3(-277.8375f, 2.060616f, 721.6605f), - MinimumAngle = 20, - MaximumAngle = 85 - }; - obj83.Locations = list170; - reference125 = obj83; - gatheringNodeGroup42.Nodes = list168; - reference123 = gatheringNodeGroup42; - ref GatheringNodeGroup reference126 = ref span94[2]; - GatheringNodeGroup gatheringNodeGroup43 = new GatheringNodeGroup(); - num2 = 2; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - Span span99 = CollectionsMarshal.AsSpan(list171); - ref GatheringNode reference127 = ref span99[0]; - GatheringNode obj84 = new GatheringNode - { - DataId = 32300u - }; - num3 = 1; - List list172 = new List(num3); - CollectionsMarshal.SetCount(list172, num3); - CollectionsMarshal.AsSpan(list172)[0] = new GatheringLocation - { - Position = new Vector3(-148.4246f, 11.42871f, 776.8299f), - MinimumAngle = 105, - MaximumAngle = 240 - }; - obj84.Locations = list172; - reference127 = obj84; - ref GatheringNode reference128 = ref span99[1]; - GatheringNode obj85 = new GatheringNode - { - DataId = 32301u - }; - num3 = 2; - List list173 = new List(num3); - CollectionsMarshal.SetCount(list173, num3); - Span span100 = CollectionsMarshal.AsSpan(list173); - span100[0] = new GatheringLocation - { - Position = new Vector3(-135.4789f, 11.61927f, 765.4382f), - MinimumAngle = 45, - MaximumAngle = 155 - }; - span100[1] = new GatheringLocation - { - Position = new Vector3(-169.3294f, 11.36792f, 784.0237f), - MinimumAngle = 85, - MaximumAngle = 210 - }; - obj85.Locations = list173; - reference128 = obj85; - gatheringNodeGroup43.Nodes = list171; - reference126 = gatheringNodeGroup43; - gatheringRoot15.Groups = list164; - AddLocation(533, gatheringRoot15); - GatheringRoot gatheringRoot16 = new GatheringRoot(); - num = 1; - List list174 = new List(num); - CollectionsMarshal.SetCount(list174, num); - CollectionsMarshal.AsSpan(list174)[0] = "liza"; - gatheringRoot16.Author = list174; - num = 1; - List list175 = new List(num); - CollectionsMarshal.SetCount(list175, num); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.None, null, null, 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - gatheringRoot16.Steps = list175; - num = 3; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - Span span101 = CollectionsMarshal.AsSpan(list176); - ref GatheringNodeGroup reference129 = ref span101[0]; - GatheringNodeGroup gatheringNodeGroup44 = new GatheringNodeGroup(); - num2 = 2; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - Span span102 = CollectionsMarshal.AsSpan(list177); - ref GatheringNode reference130 = ref span102[0]; - GatheringNode obj86 = new GatheringNode - { - DataId = 32302u - }; - num3 = 1; - List list178 = new List(num3); - CollectionsMarshal.SetCount(list178, num3); - CollectionsMarshal.AsSpan(list178)[0] = new GatheringLocation - { - Position = new Vector3(831.4452f, 48.62377f, -131.4108f) - }; - obj86.Locations = list178; - reference130 = obj86; - ref GatheringNode reference131 = ref span102[1]; - GatheringNode obj87 = new GatheringNode - { - DataId = 32303u - }; - num3 = 2; - List list179 = new List(num3); - CollectionsMarshal.SetCount(list179, num3); - Span span103 = CollectionsMarshal.AsSpan(list179); - span103[0] = new GatheringLocation - { - Position = new Vector3(865.9036f, 46.76892f, -129.9611f) - }; - span103[1] = new GatheringLocation - { - Position = new Vector3(822.6691f, 48.57434f, -130.6889f) - }; - obj87.Locations = list179; - reference131 = obj87; - gatheringNodeGroup44.Nodes = list177; - reference129 = gatheringNodeGroup44; - ref GatheringNodeGroup reference132 = ref span101[1]; - GatheringNodeGroup gatheringNodeGroup45 = new GatheringNodeGroup(); - num2 = 2; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - Span span104 = CollectionsMarshal.AsSpan(list180); - ref GatheringNode reference133 = ref span104[0]; - GatheringNode obj88 = new GatheringNode - { - DataId = 32305u - }; - num3 = 2; - List list181 = new List(num3); - CollectionsMarshal.SetCount(list181, num3); - Span span105 = CollectionsMarshal.AsSpan(list181); - span105[0] = new GatheringLocation - { - Position = new Vector3(780.787f, 51.3394f, -265.6496f) - }; - span105[1] = new GatheringLocation - { - Position = new Vector3(824.1245f, 40.93994f, -250.4464f) - }; - obj88.Locations = list181; - reference133 = obj88; - ref GatheringNode reference134 = ref span104[1]; - GatheringNode obj89 = new GatheringNode - { - DataId = 32304u - }; - num3 = 1; - List list182 = new List(num3); - CollectionsMarshal.SetCount(list182, num3); - CollectionsMarshal.AsSpan(list182)[0] = new GatheringLocation - { - Position = new Vector3(816.6475f, 41.2146f, -263.6606f) - }; - obj89.Locations = list182; - reference134 = obj89; - gatheringNodeGroup45.Nodes = list180; - reference132 = gatheringNodeGroup45; - ref GatheringNodeGroup reference135 = ref span101[2]; - GatheringNodeGroup gatheringNodeGroup46 = new GatheringNodeGroup(); - num2 = 2; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - Span span106 = CollectionsMarshal.AsSpan(list183); - ref GatheringNode reference136 = ref span106[0]; - GatheringNode obj90 = new GatheringNode - { - DataId = 32306u - }; - num3 = 1; - List list184 = new List(num3); - CollectionsMarshal.SetCount(list184, num3); - CollectionsMarshal.AsSpan(list184)[0] = new GatheringLocation - { - Position = new Vector3(648.2073f, 75.29906f, -226.7926f), - MinimumAngle = 25, - MaximumAngle = 290 - }; - obj90.Locations = list184; - reference136 = obj90; - ref GatheringNode reference137 = ref span106[1]; - GatheringNode obj91 = new GatheringNode - { - DataId = 32307u - }; - num3 = 2; - List list185 = new List(num3); - CollectionsMarshal.SetCount(list185, num3); - Span span107 = CollectionsMarshal.AsSpan(list185); - span107[0] = new GatheringLocation - { - Position = new Vector3(652.0435f, 71.82505f, -241.2778f) - }; - span107[1] = new GatheringLocation - { - Position = new Vector3(645.0362f, 69.79202f, -255.1373f) - }; - obj91.Locations = list185; - reference137 = obj91; - gatheringNodeGroup46.Nodes = list183; - reference135 = gatheringNodeGroup46; - gatheringRoot16.Groups = list176; - AddLocation(534, gatheringRoot16); - GatheringRoot gatheringRoot17 = new GatheringRoot(); - num = 1; - List list186 = new List(num); - CollectionsMarshal.SetCount(list186, num); - CollectionsMarshal.AsSpan(list186)[0] = "liza"; - gatheringRoot17.Author = list186; - num = 1; - List list187 = new List(num); - CollectionsMarshal.SetCount(list187, num); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.None, null, null, 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - gatheringRoot17.Steps = list187; - num = 1; - List list188 = new List(num); - CollectionsMarshal.SetCount(list188, num); - ref GatheringNodeGroup reference138 = ref CollectionsMarshal.AsSpan(list188)[0]; - GatheringNodeGroup gatheringNodeGroup47 = new GatheringNodeGroup(); - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - ref GatheringNode reference139 = ref CollectionsMarshal.AsSpan(list189)[0]; - GatheringNode obj92 = new GatheringNode - { - DataId = 32308u - }; - num3 = 3; - List list190 = new List(num3); - CollectionsMarshal.SetCount(list190, num3); - Span span108 = CollectionsMarshal.AsSpan(list190); - span108[0] = new GatheringLocation - { - Position = new Vector3(-531.8166f, 16.39526f, 34.16671f), - MinimumAngle = 245, - MaximumAngle = 325 - }; - span108[1] = new GatheringLocation - { - Position = new Vector3(-532.9277f, 15.60621f, 50.29741f), - MinimumAngle = 190, - MaximumAngle = 330 - }; - span108[2] = new GatheringLocation - { - Position = new Vector3(-520.6714f, 14.15115f, 73.84262f), - MinimumAngle = 105, - MaximumAngle = 230 - }; - obj92.Locations = list190; - reference139 = obj92; - gatheringNodeGroup47.Nodes = list189; - reference138 = gatheringNodeGroup47; - gatheringRoot17.Groups = list188; - AddLocation(535, gatheringRoot17); - GatheringRoot gatheringRoot18 = new GatheringRoot(); - num = 1; - List list191 = new List(num); - CollectionsMarshal.SetCount(list191, num); - CollectionsMarshal.AsSpan(list191)[0] = "Theo"; - gatheringRoot18.Author = list191; - num = 1; - List list192 = new List(num); - CollectionsMarshal.SetCount(list192, num); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.None, null, null, 622); - gatheringRoot18.Steps = list192; - num = 1; - List list193 = new List(num); - CollectionsMarshal.SetCount(list193, num); - ref GatheringNodeGroup reference140 = ref CollectionsMarshal.AsSpan(list193)[0]; - GatheringNodeGroup gatheringNodeGroup48 = new GatheringNodeGroup(); - num2 = 3; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - Span span109 = CollectionsMarshal.AsSpan(list194); - ref GatheringNode reference141 = ref span109[0]; - GatheringNode obj93 = new GatheringNode - { - DataId = 32314u - }; - num3 = 1; - List list195 = new List(num3); - CollectionsMarshal.SetCount(list195, num3); - CollectionsMarshal.AsSpan(list195)[0] = new GatheringLocation - { - Position = new Vector3(-506.7959f, 67.50204f, -406.9001f), - MinimumAngle = 5, - MaximumAngle = 170, - MinimumDistance = 1f, - MaximumDistance = 2.3f - }; - obj93.Locations = list195; - reference141 = obj93; - ref GatheringNode reference142 = ref span109[1]; - GatheringNode obj94 = new GatheringNode - { - DataId = 32315u - }; - num3 = 1; - List list196 = new List(num3); - CollectionsMarshal.SetCount(list196, num3); - CollectionsMarshal.AsSpan(list196)[0] = new GatheringLocation - { - Position = new Vector3(-505.4885f, 67.502f, -397.644f), - MinimumAngle = -20, - MaximumAngle = 105, - MinimumDistance = 1f, - MaximumDistance = 2.1f - }; - obj94.Locations = list196; - reference142 = obj94; - ref GatheringNode reference143 = ref span109[2]; - GatheringNode obj95 = new GatheringNode - { - DataId = 32316u - }; - num3 = 1; - List list197 = new List(num3); - CollectionsMarshal.SetCount(list197, num3); - CollectionsMarshal.AsSpan(list197)[0] = new GatheringLocation - { - Position = new Vector3(-501.4457f, 67.48835f, -391.6048f), - MinimumAngle = -50, - MaximumAngle = 105, - MinimumDistance = 1f, - MaximumDistance = 2.2f - }; - obj95.Locations = list197; - reference143 = obj95; - gatheringNodeGroup48.Nodes = list194; - reference140 = gatheringNodeGroup48; - gatheringRoot18.Groups = list193; - AddLocation(541, gatheringRoot18); - GatheringRoot gatheringRoot19 = new GatheringRoot(); - num = 1; - List list198 = new List(num); - CollectionsMarshal.SetCount(list198, num); - CollectionsMarshal.AsSpan(list198)[0] = "Theo"; - gatheringRoot19.Author = list198; - num = 1; - List list199 = new List(num); - CollectionsMarshal.SetCount(list199, num); - CollectionsMarshal.AsSpan(list199)[0] = new QuestStep(EInteractionType.None, null, null, 622); - gatheringRoot19.Steps = list199; - num = 3; - List list200 = new List(num); - CollectionsMarshal.SetCount(list200, num); - Span span110 = CollectionsMarshal.AsSpan(list200); - ref GatheringNodeGroup reference144 = ref span110[0]; - GatheringNodeGroup gatheringNodeGroup49 = new GatheringNodeGroup(); - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - ref GatheringNode reference145 = ref CollectionsMarshal.AsSpan(list201)[0]; - GatheringNode obj96 = new GatheringNode - { - DataId = 32320u - }; - num3 = 1; - List list202 = new List(num3); - CollectionsMarshal.SetCount(list202, num3); - CollectionsMarshal.AsSpan(list202)[0] = new GatheringLocation - { - Position = new Vector3(609.3118f, -21.51083f, 558.524f), - MinimumAngle = 90, - MaximumAngle = 270, - MaximumDistance = 3f - }; - obj96.Locations = list202; - reference145 = obj96; - gatheringNodeGroup49.Nodes = list201; - reference144 = gatheringNodeGroup49; - ref GatheringNodeGroup reference146 = ref span110[1]; - GatheringNodeGroup gatheringNodeGroup50 = new GatheringNodeGroup(); - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - ref GatheringNode reference147 = ref CollectionsMarshal.AsSpan(list203)[0]; - GatheringNode obj97 = new GatheringNode - { - DataId = 32321u - }; - num3 = 1; - List list204 = new List(num3); - CollectionsMarshal.SetCount(list204, num3); - CollectionsMarshal.AsSpan(list204)[0] = new GatheringLocation - { - Position = new Vector3(609.9794f, -21.53052f, 579.6443f), - MinimumAngle = 90, - MaximumAngle = 135, - MaximumDistance = 3f - }; - obj97.Locations = list204; - reference147 = obj97; - gatheringNodeGroup50.Nodes = list203; - reference146 = gatheringNodeGroup50; - ref GatheringNodeGroup reference148 = ref span110[2]; - GatheringNodeGroup gatheringNodeGroup51 = new GatheringNodeGroup(); - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - ref GatheringNode reference149 = ref CollectionsMarshal.AsSpan(list205)[0]; - GatheringNode obj98 = new GatheringNode - { - DataId = 32322u - }; - num3 = 1; - List list206 = new List(num3); - CollectionsMarshal.SetCount(list206, num3); - CollectionsMarshal.AsSpan(list206)[0] = new GatheringLocation - { - Position = new Vector3(588.3865f, -20.42655f, 561.5663f), - MinimumAngle = 45, - MaximumAngle = 315, - MaximumDistance = 3f - }; - obj98.Locations = list206; - reference149 = obj98; - gatheringNodeGroup51.Nodes = list205; - reference148 = gatheringNodeGroup51; - gatheringRoot19.Groups = list200; - AddLocation(543, gatheringRoot19); - GatheringRoot gatheringRoot20 = new GatheringRoot(); - num = 1; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - CollectionsMarshal.AsSpan(list207)[0] = "plogon_enjoyer"; - gatheringRoot20.Author = list207; - num = 1; - List list208 = new List(num); - CollectionsMarshal.SetCount(list208, num); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.None, null, null, 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone - }; - gatheringRoot20.Steps = list208; - num = 3; - List list209 = new List(num); - CollectionsMarshal.SetCount(list209, num); - Span span111 = CollectionsMarshal.AsSpan(list209); - ref GatheringNodeGroup reference150 = ref span111[0]; - GatheringNodeGroup gatheringNodeGroup52 = new GatheringNodeGroup(); - num2 = 1; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - ref GatheringNode reference151 = ref CollectionsMarshal.AsSpan(list210)[0]; - GatheringNode obj99 = new GatheringNode - { - DataId = 32323u - }; - num3 = 1; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - CollectionsMarshal.AsSpan(list211)[0] = new GatheringLocation - { - Position = new Vector3(-54.36381f, 55.83623f, -357.2043f) - }; - obj99.Locations = list211; - reference151 = obj99; - gatheringNodeGroup52.Nodes = list210; - reference150 = gatheringNodeGroup52; - ref GatheringNodeGroup reference152 = ref span111[1]; - GatheringNodeGroup gatheringNodeGroup53 = new GatheringNodeGroup(); - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - ref GatheringNode reference153 = ref CollectionsMarshal.AsSpan(list212)[0]; - GatheringNode obj100 = new GatheringNode - { - DataId = 32325u - }; - num3 = 1; - List list213 = new List(num3); - CollectionsMarshal.SetCount(list213, num3); - CollectionsMarshal.AsSpan(list213)[0] = new GatheringLocation - { - Position = new Vector3(-56.99122f, 59.4855f, -368.9053f) - }; - obj100.Locations = list213; - reference153 = obj100; - gatheringNodeGroup53.Nodes = list212; - reference152 = gatheringNodeGroup53; - ref GatheringNodeGroup reference154 = ref span111[2]; - GatheringNodeGroup gatheringNodeGroup54 = new GatheringNodeGroup(); - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - ref GatheringNode reference155 = ref CollectionsMarshal.AsSpan(list214)[0]; - GatheringNode obj101 = new GatheringNode - { - DataId = 32324u - }; - num3 = 1; - List list215 = new List(num3); - CollectionsMarshal.SetCount(list215, num3); - CollectionsMarshal.AsSpan(list215)[0] = new GatheringLocation - { - Position = new Vector3(-83.84797f, 60.70433f, -366.7615f) - }; - obj101.Locations = list215; - reference155 = obj101; - gatheringNodeGroup54.Nodes = list214; - reference154 = gatheringNodeGroup54; - gatheringRoot20.Groups = list209; - AddLocation(544, gatheringRoot20); - GatheringRoot gatheringRoot21 = new GatheringRoot(); - num = 1; - List list216 = new List(num); - CollectionsMarshal.SetCount(list216, num); - CollectionsMarshal.AsSpan(list216)[0] = "plogon_enjoyer"; - gatheringRoot21.Author = list216; - num = 1; - List list217 = new List(num); - CollectionsMarshal.SetCount(list217, num); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.None, null, null, 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone - }; - gatheringRoot21.Steps = list217; - num = 3; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - Span span112 = CollectionsMarshal.AsSpan(list218); - ref GatheringNodeGroup reference156 = ref span112[0]; - GatheringNodeGroup gatheringNodeGroup55 = new GatheringNodeGroup(); - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - ref GatheringNode reference157 = ref CollectionsMarshal.AsSpan(list219)[0]; - GatheringNode obj102 = new GatheringNode - { - DataId = 32335u - }; - num3 = 1; - List list220 = new List(num3); - CollectionsMarshal.SetCount(list220, num3); - CollectionsMarshal.AsSpan(list220)[0] = new GatheringLocation - { - Position = new Vector3(-80.14488f, 58.18221f, -358.3333f) - }; - obj102.Locations = list220; - reference157 = obj102; - gatheringNodeGroup55.Nodes = list219; - reference156 = gatheringNodeGroup55; - ref GatheringNodeGroup reference158 = ref span112[1]; - GatheringNodeGroup gatheringNodeGroup56 = new GatheringNodeGroup(); - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - ref GatheringNode reference159 = ref CollectionsMarshal.AsSpan(list221)[0]; - GatheringNode obj103 = new GatheringNode - { - DataId = 32336u - }; - num3 = 1; - List list222 = new List(num3); - CollectionsMarshal.SetCount(list222, num3); - CollectionsMarshal.AsSpan(list222)[0] = new GatheringLocation - { - Position = new Vector3(-58.9046f, 52.59887f, -350.7942f) - }; - obj103.Locations = list222; - reference159 = obj103; - gatheringNodeGroup56.Nodes = list221; - reference158 = gatheringNodeGroup56; - ref GatheringNodeGroup reference160 = ref span112[2]; - GatheringNodeGroup gatheringNodeGroup57 = new GatheringNodeGroup(); - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - ref GatheringNode reference161 = ref CollectionsMarshal.AsSpan(list223)[0]; - GatheringNode obj104 = new GatheringNode - { - DataId = 32337u - }; - num3 = 1; - List list224 = new List(num3); - CollectionsMarshal.SetCount(list224, num3); - CollectionsMarshal.AsSpan(list224)[0] = new GatheringLocation - { - Position = new Vector3(-81.5958f, 51.05495f, -334.9854f) - }; - obj104.Locations = list224; - reference161 = obj104; - gatheringNodeGroup57.Nodes = list223; - reference160 = gatheringNodeGroup57; - gatheringRoot21.Groups = list218; - AddLocation(548, gatheringRoot21); - GatheringRoot gatheringRoot22 = new GatheringRoot(); - num = 1; - List list225 = new List(num); - CollectionsMarshal.SetCount(list225, num); - CollectionsMarshal.AsSpan(list225)[0] = "liza"; - gatheringRoot22.Author = list225; - num = 1; - List list226 = new List(num); - CollectionsMarshal.SetCount(list226, num); - CollectionsMarshal.AsSpan(list226)[0] = new QuestStep(EInteractionType.None, null, null, 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - gatheringRoot22.Steps = list226; - num = 3; - List list227 = new List(num); - CollectionsMarshal.SetCount(list227, num); - Span span113 = CollectionsMarshal.AsSpan(list227); - ref GatheringNodeGroup reference162 = ref span113[0]; - GatheringNodeGroup gatheringNodeGroup58 = new GatheringNodeGroup(); - num2 = 2; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - Span span114 = CollectionsMarshal.AsSpan(list228); - ref GatheringNode reference163 = ref span114[0]; - GatheringNode obj105 = new GatheringNode - { - DataId = 32349u - }; - num3 = 2; - List list229 = new List(num3); - CollectionsMarshal.SetCount(list229, num3); - Span span115 = CollectionsMarshal.AsSpan(list229); - span115[0] = new GatheringLocation - { - Position = new Vector3(63.68f, 227.89f, 570.31f), - MinimumAngle = 140, - MaximumAngle = 275 - }; - span115[1] = new GatheringLocation - { - Position = new Vector3(100.3585f, 236.1064f, 551.248f), - MinimumAngle = 110, - MaximumAngle = 245 - }; - obj105.Locations = list229; - reference163 = obj105; - ref GatheringNode reference164 = ref span114[1]; - GatheringNode obj106 = new GatheringNode - { - DataId = 32348u - }; - num3 = 1; - List list230 = new List(num3); - CollectionsMarshal.SetCount(list230, num3); - CollectionsMarshal.AsSpan(list230)[0] = new GatheringLocation - { - Position = new Vector3(68.42817f, 226.018f, 558.3953f), - MinimumAngle = -15, - MaximumAngle = 105 - }; - obj106.Locations = list230; - reference164 = obj106; - gatheringNodeGroup58.Nodes = list228; - reference162 = gatheringNodeGroup58; - ref GatheringNodeGroup reference165 = ref span113[1]; - GatheringNodeGroup gatheringNodeGroup59 = new GatheringNodeGroup(); - num2 = 2; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - Span span116 = CollectionsMarshal.AsSpan(list231); - ref GatheringNode reference166 = ref span116[0]; - GatheringNode obj107 = new GatheringNode - { - DataId = 32346u - }; - num3 = 1; - List list232 = new List(num3); - CollectionsMarshal.SetCount(list232, num3); - CollectionsMarshal.AsSpan(list232)[0] = new GatheringLocation - { - Position = new Vector3(-19.27065f, 219.13f, 618.5656f), - MinimumAngle = 70, - MaximumAngle = 205 - }; - obj107.Locations = list232; - reference166 = obj107; - ref GatheringNode reference167 = ref span116[1]; - GatheringNode obj108 = new GatheringNode - { - DataId = 32347u - }; - num3 = 2; - List list233 = new List(num3); - CollectionsMarshal.SetCount(list233, num3); - Span span117 = CollectionsMarshal.AsSpan(list233); - span117[0] = new GatheringLocation - { - Position = new Vector3(-11.97839f, 222.4612f, 613.5499f), - MinimumAngle = 80, - MaximumAngle = 235 - }; - span117[1] = new GatheringLocation - { - Position = new Vector3(-9.830506f, 220.8649f, 596.9268f), - MinimumAngle = 70, - MaximumAngle = 170 - }; - obj108.Locations = list233; - reference167 = obj108; - gatheringNodeGroup59.Nodes = list231; - reference165 = gatheringNodeGroup59; - ref GatheringNodeGroup reference168 = ref span113[2]; - GatheringNodeGroup gatheringNodeGroup60 = new GatheringNodeGroup(); - num2 = 2; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - Span span118 = CollectionsMarshal.AsSpan(list234); - ref GatheringNode reference169 = ref span118[0]; - GatheringNode obj109 = new GatheringNode - { - DataId = 32344u - }; - num3 = 1; - List list235 = new List(num3); - CollectionsMarshal.SetCount(list235, num3); - CollectionsMarshal.AsSpan(list235)[0] = new GatheringLocation - { - Position = new Vector3(-60.89f, 241.99f, 692.56f), - MinimumAngle = 60, - MaximumAngle = 220 - }; - obj109.Locations = list235; - reference169 = obj109; - ref GatheringNode reference170 = ref span118[1]; - GatheringNode obj110 = new GatheringNode - { - DataId = 32345u - }; - num3 = 2; - List list236 = new List(num3); - CollectionsMarshal.SetCount(list236, num3); - Span span119 = CollectionsMarshal.AsSpan(list236); - span119[0] = new GatheringLocation - { - Position = new Vector3(-70.72009f, 242.5652f, 704.0363f), - MinimumAngle = 70, - MaximumAngle = 225 - }; - span119[1] = new GatheringLocation - { - Position = new Vector3(-49.4545f, 241.67f, 686.183f), - MinimumAngle = 100, - MaximumAngle = 235 - }; - obj110.Locations = list236; - reference170 = obj110; - gatheringNodeGroup60.Nodes = list234; - reference168 = gatheringNodeGroup60; - gatheringRoot22.Groups = list227; - AddLocation(551, gatheringRoot22); - GatheringRoot gatheringRoot23 = new GatheringRoot(); - num = 1; - List list237 = new List(num); - CollectionsMarshal.SetCount(list237, num); - CollectionsMarshal.AsSpan(list237)[0] = "liza"; - gatheringRoot23.Author = list237; - num = 1; - List list238 = new List(num); - CollectionsMarshal.SetCount(list238, num); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.None, null, null, 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - gatheringRoot23.Steps = list238; - num = 3; - List list239 = new List(num); - CollectionsMarshal.SetCount(list239, num); - Span span120 = CollectionsMarshal.AsSpan(list239); - ref GatheringNodeGroup reference171 = ref span120[0]; - GatheringNodeGroup gatheringNodeGroup61 = new GatheringNodeGroup(); - num2 = 2; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - Span span121 = CollectionsMarshal.AsSpan(list240); - ref GatheringNode reference172 = ref span121[0]; - GatheringNode obj111 = new GatheringNode - { - DataId = 32355u - }; - num3 = 2; - List list241 = new List(num3); - CollectionsMarshal.SetCount(list241, num3); - Span span122 = CollectionsMarshal.AsSpan(list241); - span122[0] = new GatheringLocation - { - Position = new Vector3(484.6112f, 160.7014f, -339.9558f) - }; - span122[1] = new GatheringLocation - { - Position = new Vector3(479.6101f, 160.8177f, -328.4199f), - MinimumAngle = 160, - MaximumAngle = 335 - }; - obj111.Locations = list241; - reference172 = obj111; - ref GatheringNode reference173 = ref span121[1]; - GatheringNode obj112 = new GatheringNode - { - DataId = 32354u - }; - num3 = 1; - List list242 = new List(num3); - CollectionsMarshal.SetCount(list242, num3); - CollectionsMarshal.AsSpan(list242)[0] = new GatheringLocation - { - Position = new Vector3(481.3153f, 160.57f, -339.8337f), - MinimumAngle = -150, - MaximumAngle = 45 - }; - obj112.Locations = list242; - reference173 = obj112; - gatheringNodeGroup61.Nodes = list240; - reference171 = gatheringNodeGroup61; - ref GatheringNodeGroup reference174 = ref span120[1]; - GatheringNodeGroup gatheringNodeGroup62 = new GatheringNodeGroup(); - num2 = 2; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - Span span123 = CollectionsMarshal.AsSpan(list243); - ref GatheringNode reference175 = ref span123[0]; - GatheringNode obj113 = new GatheringNode - { - DataId = 32351u - }; - num3 = 2; - List list244 = new List(num3); - CollectionsMarshal.SetCount(list244, num3); - Span span124 = CollectionsMarshal.AsSpan(list244); - span124[0] = new GatheringLocation - { - Position = new Vector3(602.9045f, 172.9519f, -376.0714f) - }; - span124[1] = new GatheringLocation - { - Position = new Vector3(610.5079f, 174.6463f, -380.3387f) - }; - obj113.Locations = list244; - reference175 = obj113; - ref GatheringNode reference176 = ref span123[1]; - GatheringNode obj114 = new GatheringNode - { - DataId = 32350u - }; - num3 = 1; - List list245 = new List(num3); - CollectionsMarshal.SetCount(list245, num3); - CollectionsMarshal.AsSpan(list245)[0] = new GatheringLocation - { - Position = new Vector3(609.4385f, 174.6537f, -376.958f) - }; - obj114.Locations = list245; - reference176 = obj114; - gatheringNodeGroup62.Nodes = list243; - reference174 = gatheringNodeGroup62; - ref GatheringNodeGroup reference177 = ref span120[2]; - GatheringNodeGroup gatheringNodeGroup63 = new GatheringNodeGroup(); - num2 = 2; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - Span span125 = CollectionsMarshal.AsSpan(list246); - ref GatheringNode reference178 = ref span125[0]; - GatheringNode obj115 = new GatheringNode - { - DataId = 32353u - }; - num3 = 2; - List list247 = new List(num3); - CollectionsMarshal.SetCount(list247, num3); - Span span126 = CollectionsMarshal.AsSpan(list247); - span126[0] = new GatheringLocation - { - Position = new Vector3(457.2875f, 160.5861f, -451.3749f) - }; - span126[1] = new GatheringLocation - { - Position = new Vector3(471.3904f, 159.7412f, -441.1613f) - }; - obj115.Locations = list247; - reference178 = obj115; - ref GatheringNode reference179 = ref span125[1]; - GatheringNode obj116 = new GatheringNode - { - DataId = 32352u - }; - num3 = 1; - List list248 = new List(num3); - CollectionsMarshal.SetCount(list248, num3); - CollectionsMarshal.AsSpan(list248)[0] = new GatheringLocation - { - Position = new Vector3(478.0674f, 161.2902f, -449.485f), - MinimumAngle = 0, - MaximumAngle = 210 - }; - obj116.Locations = list248; - reference179 = obj116; - gatheringNodeGroup63.Nodes = list246; - reference177 = gatheringNodeGroup63; - gatheringRoot23.Groups = list239; - AddLocation(552, gatheringRoot23); - GatheringRoot gatheringRoot24 = new GatheringRoot(); - num = 1; - List list249 = new List(num); - CollectionsMarshal.SetCount(list249, num); - CollectionsMarshal.AsSpan(list249)[0] = "liza"; - gatheringRoot24.Author = list249; - num = 1; - List list250 = new List(num); - CollectionsMarshal.SetCount(list250, num); - CollectionsMarshal.AsSpan(list250)[0] = new QuestStep(EInteractionType.None, null, null, 400) - { - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome - }; - gatheringRoot24.Steps = list250; - num = 3; - List list251 = new List(num); - CollectionsMarshal.SetCount(list251, num); - Span span127 = CollectionsMarshal.AsSpan(list251); - ref GatheringNodeGroup reference180 = ref span127[0]; - GatheringNodeGroup gatheringNodeGroup64 = new GatheringNodeGroup(); - num2 = 2; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - Span span128 = CollectionsMarshal.AsSpan(list252); - ref GatheringNode reference181 = ref span128[0]; - GatheringNode obj117 = new GatheringNode - { - DataId = 32357u - }; - num3 = 2; - List list253 = new List(num3); - CollectionsMarshal.SetCount(list253, num3); - Span span129 = CollectionsMarshal.AsSpan(list253); - span129[0] = new GatheringLocation - { - Position = new Vector3(557.625f, 5.119438f, 180.6541f), - MinimumAngle = -70, - MaximumAngle = 55 - }; - span129[1] = new GatheringLocation - { - Position = new Vector3(570.8357f, 11.89507f, 164.9729f), - MinimumAngle = 55, - MaximumAngle = 130 - }; - obj117.Locations = list253; - reference181 = obj117; - ref GatheringNode reference182 = ref span128[1]; - GatheringNode obj118 = new GatheringNode - { - DataId = 32356u - }; - num3 = 1; - List list254 = new List(num3); - CollectionsMarshal.SetCount(list254, num3); - CollectionsMarshal.AsSpan(list254)[0] = new GatheringLocation - { - Position = new Vector3(572.8384f, 11.68007f, 155.6572f), - MinimumAngle = 70, - MaximumAngle = 165 - }; - obj118.Locations = list254; - reference182 = obj118; - gatheringNodeGroup64.Nodes = list252; - reference180 = gatheringNodeGroup64; - ref GatheringNodeGroup reference183 = ref span127[1]; - GatheringNodeGroup gatheringNodeGroup65 = new GatheringNodeGroup(); - num2 = 2; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - Span span130 = CollectionsMarshal.AsSpan(list255); - ref GatheringNode reference184 = ref span130[0]; - GatheringNode obj119 = new GatheringNode - { - DataId = 32358u - }; - num3 = 1; - List list256 = new List(num3); - CollectionsMarshal.SetCount(list256, num3); - CollectionsMarshal.AsSpan(list256)[0] = new GatheringLocation - { - Position = new Vector3(665.114f, 43.93011f, 151.3629f), - MinimumAngle = -80, - MaximumAngle = 40 - }; - obj119.Locations = list256; - reference184 = obj119; - ref GatheringNode reference185 = ref span130[1]; - GatheringNode obj120 = new GatheringNode - { - DataId = 32359u - }; - num3 = 2; - List list257 = new List(num3); - CollectionsMarshal.SetCount(list257, num3); - Span span131 = CollectionsMarshal.AsSpan(list257); - span131[0] = new GatheringLocation - { - Position = new Vector3(697.7376f, 41.87314f, 124.1553f), - MinimumAngle = -125, - MaximumAngle = 30 - }; - span131[1] = new GatheringLocation - { - Position = new Vector3(681.178f, 41.71732f, 147.9972f), - MinimumAngle = -15, - MaximumAngle = 85 - }; - obj120.Locations = list257; - reference185 = obj120; - gatheringNodeGroup65.Nodes = list255; - reference183 = gatheringNodeGroup65; - ref GatheringNodeGroup reference186 = ref span127[2]; - GatheringNodeGroup gatheringNodeGroup66 = new GatheringNodeGroup(); - num2 = 2; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - Span span132 = CollectionsMarshal.AsSpan(list258); - ref GatheringNode reference187 = ref span132[0]; - GatheringNode obj121 = new GatheringNode - { - DataId = 32360u - }; - num3 = 1; - List list259 = new List(num3); - CollectionsMarshal.SetCount(list259, num3); - CollectionsMarshal.AsSpan(list259)[0] = new GatheringLocation - { - Position = new Vector3(755.3978f, 20.37826f, 201.3921f), - MinimumAngle = -30, - MaximumAngle = 70 - }; - obj121.Locations = list259; - reference187 = obj121; - ref GatheringNode reference188 = ref span132[1]; - GatheringNode obj122 = new GatheringNode - { - DataId = 32361u - }; - num3 = 2; - List list260 = new List(num3); - CollectionsMarshal.SetCount(list260, num3); - Span span133 = CollectionsMarshal.AsSpan(list260); - span133[0] = new GatheringLocation - { - Position = new Vector3(771.5975f, 20.41353f, 204.8761f), - MinimumAngle = -45, - MaximumAngle = 65 - }; - span133[1] = new GatheringLocation - { - Position = new Vector3(739.1428f, 23.87582f, 196.4766f), - MinimumAngle = -40, - MaximumAngle = 55 - }; - obj122.Locations = list260; - reference188 = obj122; - gatheringNodeGroup66.Nodes = list258; - reference186 = gatheringNodeGroup66; - gatheringRoot24.Groups = list251; - AddLocation(553, gatheringRoot24); - GatheringRoot gatheringRoot25 = new GatheringRoot(); - num = 1; - List list261 = new List(num); - CollectionsMarshal.SetCount(list261, num); - CollectionsMarshal.AsSpan(list261)[0] = "liza"; - gatheringRoot25.Author = list261; - num = 1; - List list262 = new List(num); - CollectionsMarshal.SetCount(list262, num); - CollectionsMarshal.AsSpan(list262)[0] = new QuestStep(EInteractionType.None, null, null, 400) - { - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - gatheringRoot25.Steps = list262; - num = 3; - List list263 = new List(num); - CollectionsMarshal.SetCount(list263, num); - Span span134 = CollectionsMarshal.AsSpan(list263); - ref GatheringNodeGroup reference189 = ref span134[0]; - GatheringNodeGroup gatheringNodeGroup67 = new GatheringNodeGroup(); - num2 = 2; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - Span span135 = CollectionsMarshal.AsSpan(list264); - ref GatheringNode reference190 = ref span135[0]; - GatheringNode obj123 = new GatheringNode - { - DataId = 32366u - }; - num3 = 1; - List list265 = new List(num3); - CollectionsMarshal.SetCount(list265, num3); - CollectionsMarshal.AsSpan(list265)[0] = new GatheringLocation - { - Position = new Vector3(-699.5319f, 91.18189f, -362.7602f) - }; - obj123.Locations = list265; - reference190 = obj123; - ref GatheringNode reference191 = ref span135[1]; - GatheringNode obj124 = new GatheringNode - { - DataId = 32367u - }; - num3 = 2; - List list266 = new List(num3); - CollectionsMarshal.SetCount(list266, num3); - Span span136 = CollectionsMarshal.AsSpan(list266); - span136[0] = new GatheringLocation - { - Position = new Vector3(-681.9284f, 91.30399f, -363.0468f) - }; - span136[1] = new GatheringLocation - { - Position = new Vector3(-709.8129f, 91.42828f, -361.5186f), - MinimumAngle = 85, - MaximumAngle = 285 - }; - obj124.Locations = list266; - reference191 = obj124; - gatheringNodeGroup67.Nodes = list264; - reference189 = gatheringNodeGroup67; - ref GatheringNodeGroup reference192 = ref span134[1]; - GatheringNodeGroup gatheringNodeGroup68 = new GatheringNodeGroup(); - num2 = 2; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - Span span137 = CollectionsMarshal.AsSpan(list267); - ref GatheringNode reference193 = ref span137[0]; - GatheringNode obj125 = new GatheringNode - { - DataId = 32364u - }; - num3 = 1; - List list268 = new List(num3); - CollectionsMarshal.SetCount(list268, num3); - CollectionsMarshal.AsSpan(list268)[0] = new GatheringLocation - { - Position = new Vector3(-680.1304f, 91.30952f, -479.2773f), - MinimumAngle = 50, - MaximumAngle = 275 - }; - obj125.Locations = list268; - reference193 = obj125; - ref GatheringNode reference194 = ref span137[1]; - GatheringNode obj126 = new GatheringNode - { - DataId = 32365u - }; - num3 = 2; - List list269 = new List(num3); - CollectionsMarshal.SetCount(list269, num3); - Span span138 = CollectionsMarshal.AsSpan(list269); - span138[0] = new GatheringLocation - { - Position = new Vector3(-691.5847f, 91.2657f, -491.8746f), - MinimumAngle = -115, - MaximumAngle = 90 - }; - span138[1] = new GatheringLocation - { - Position = new Vector3(-685.3473f, 91.26568f, -474.3657f), - MinimumAngle = 0, - MaximumAngle = 205 - }; - obj126.Locations = list269; - reference194 = obj126; - gatheringNodeGroup68.Nodes = list267; - reference192 = gatheringNodeGroup68; - ref GatheringNodeGroup reference195 = ref span134[2]; - GatheringNodeGroup gatheringNodeGroup69 = new GatheringNodeGroup(); - num2 = 2; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - Span span139 = CollectionsMarshal.AsSpan(list270); - ref GatheringNode reference196 = ref span139[0]; - GatheringNode obj127 = new GatheringNode - { - DataId = 32362u - }; - num3 = 1; - List list271 = new List(num3); - CollectionsMarshal.SetCount(list271, num3); - CollectionsMarshal.AsSpan(list271)[0] = new GatheringLocation - { - Position = new Vector3(-764.3091f, 91.5154f, -554.3649f), - MinimumAngle = -125, - MaximumAngle = 65 - }; - obj127.Locations = list271; - reference196 = obj127; - ref GatheringNode reference197 = ref span139[1]; - GatheringNode obj128 = new GatheringNode - { - DataId = 32363u - }; - num3 = 2; - List list272 = new List(num3); - CollectionsMarshal.SetCount(list272, num3); - Span span140 = CollectionsMarshal.AsSpan(list272); - span140[0] = new GatheringLocation - { - Position = new Vector3(-763.1495f, 91.37257f, -542.7809f), - MinimumAngle = 70, - MaximumAngle = 305 - }; - span140[1] = new GatheringLocation - { - Position = new Vector3(-776.5944f, 91.16921f, -566.8766f), - MinimumAngle = -95, - MaximumAngle = 110 - }; - obj128.Locations = list272; - reference197 = obj128; - gatheringNodeGroup69.Nodes = list270; - reference195 = gatheringNodeGroup69; - gatheringRoot25.Groups = list263; - AddLocation(554, gatheringRoot25); - GatheringRoot gatheringRoot26 = new GatheringRoot(); - num = 1; - List list273 = new List(num); - CollectionsMarshal.SetCount(list273, num); - CollectionsMarshal.AsSpan(list273)[0] = "liza"; - gatheringRoot26.Author = list273; - num = 1; - List list274 = new List(num); - CollectionsMarshal.SetCount(list274, num); - CollectionsMarshal.AsSpan(list274)[0] = new QuestStep(EInteractionType.None, null, null, 814); - gatheringRoot26.Steps = list274; - num = 6; - List list275 = new List(num); - CollectionsMarshal.SetCount(list275, num); - Span span141 = CollectionsMarshal.AsSpan(list275); - ref GatheringNodeGroup reference198 = ref span141[0]; - GatheringNodeGroup gatheringNodeGroup70 = new GatheringNodeGroup(); - num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - ref GatheringNode reference199 = ref CollectionsMarshal.AsSpan(list276)[0]; - GatheringNode obj129 = new GatheringNode - { - DataId = 32512u - }; - num3 = 1; - List list277 = new List(num3); - CollectionsMarshal.SetCount(list277, num3); - CollectionsMarshal.AsSpan(list277)[0] = new GatheringLocation - { - Position = new Vector3(-221.5365f, 88.75751f, 36.51096f), - MinimumAngle = -100, - MaximumAngle = 25 - }; - obj129.Locations = list277; - reference199 = obj129; - gatheringNodeGroup70.Nodes = list276; - reference198 = gatheringNodeGroup70; - ref GatheringNodeGroup reference200 = ref span141[1]; - GatheringNodeGroup gatheringNodeGroup71 = new GatheringNodeGroup(); - num2 = 1; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - ref GatheringNode reference201 = ref CollectionsMarshal.AsSpan(list278)[0]; - GatheringNode obj130 = new GatheringNode - { - DataId = 32513u - }; - num3 = 1; - List list279 = new List(num3); - CollectionsMarshal.SetCount(list279, num3); - CollectionsMarshal.AsSpan(list279)[0] = new GatheringLocation - { - Position = new Vector3(-227.0897f, 89.90434f, 37.42806f), - MinimumAngle = -20, - MaximumAngle = 60 - }; - obj130.Locations = list279; - reference201 = obj130; - gatheringNodeGroup71.Nodes = list278; - reference200 = gatheringNodeGroup71; - ref GatheringNodeGroup reference202 = ref span141[2]; - GatheringNodeGroup gatheringNodeGroup72 = new GatheringNodeGroup(); - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - ref GatheringNode reference203 = ref CollectionsMarshal.AsSpan(list280)[0]; - GatheringNode obj131 = new GatheringNode - { - DataId = 32514u - }; - num3 = 1; - List list281 = new List(num3); - CollectionsMarshal.SetCount(list281, num3); - CollectionsMarshal.AsSpan(list281)[0] = new GatheringLocation - { - Position = new Vector3(-233.9371f, 89.18435f, 42.91663f), - MinimumAngle = -110, - MaximumAngle = -25 - }; - obj131.Locations = list281; - reference203 = obj131; - gatheringNodeGroup72.Nodes = list280; - reference202 = gatheringNodeGroup72; - ref GatheringNodeGroup reference204 = ref span141[3]; - GatheringNodeGroup gatheringNodeGroup73 = new GatheringNodeGroup(); - num2 = 1; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - ref GatheringNode reference205 = ref CollectionsMarshal.AsSpan(list282)[0]; - GatheringNode obj132 = new GatheringNode - { - DataId = 32515u - }; - num3 = 1; - List list283 = new List(num3); - CollectionsMarshal.SetCount(list283, num3); - CollectionsMarshal.AsSpan(list283)[0] = new GatheringLocation - { - Position = new Vector3(-243.0384f, 88.70179f, 48.95438f), - MinimumAngle = -70, - MaximumAngle = 45 - }; - obj132.Locations = list283; - reference205 = obj132; - gatheringNodeGroup73.Nodes = list282; - reference204 = gatheringNodeGroup73; - ref GatheringNodeGroup reference206 = ref span141[4]; - GatheringNodeGroup gatheringNodeGroup74 = new GatheringNodeGroup(); - num2 = 1; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - ref GatheringNode reference207 = ref CollectionsMarshal.AsSpan(list284)[0]; - GatheringNode obj133 = new GatheringNode - { - DataId = 32516u - }; - num3 = 1; - List list285 = new List(num3); - CollectionsMarshal.SetCount(list285, num3); - CollectionsMarshal.AsSpan(list285)[0] = new GatheringLocation - { - Position = new Vector3(-256.5147f, 90.32328f, 51.07351f), - MinimumAngle = -75, - MaximumAngle = 90 - }; - obj133.Locations = list285; - reference207 = obj133; - gatheringNodeGroup74.Nodes = list284; - reference206 = gatheringNodeGroup74; - ref GatheringNodeGroup reference208 = ref span141[5]; - GatheringNodeGroup gatheringNodeGroup75 = new GatheringNodeGroup(); - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - ref GatheringNode reference209 = ref CollectionsMarshal.AsSpan(list286)[0]; - GatheringNode obj134 = new GatheringNode - { - DataId = 32517u - }; - num3 = 1; - List list287 = new List(num3); - CollectionsMarshal.SetCount(list287, num3); - CollectionsMarshal.AsSpan(list287)[0] = new GatheringLocation - { - Position = new Vector3(-265.2769f, 90.43383f, 45.49376f), - MinimumAngle = -40, - MaximumAngle = 40 - }; - obj134.Locations = list287; - reference209 = obj134; - gatheringNodeGroup75.Nodes = list286; - reference208 = gatheringNodeGroup75; - gatheringRoot26.Groups = list275; - AddLocation(576, gatheringRoot26); - GatheringRoot gatheringRoot27 = new GatheringRoot(); - num = 1; - List list288 = new List(num); - CollectionsMarshal.SetCount(list288, num); - CollectionsMarshal.AsSpan(list288)[0] = "liza"; - gatheringRoot27.Author = list288; - num = 1; - List list289 = new List(num); - CollectionsMarshal.SetCount(list289, num); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.None, null, null, 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengInnAtJourneysHead - }; - gatheringRoot27.Steps = list289; - num = 3; - List list290 = new List(num); - CollectionsMarshal.SetCount(list290, num); - Span span142 = CollectionsMarshal.AsSpan(list290); - ref GatheringNodeGroup reference210 = ref span142[0]; - GatheringNodeGroup gatheringNodeGroup76 = new GatheringNodeGroup(); - num2 = 2; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - Span span143 = CollectionsMarshal.AsSpan(list291); - ref GatheringNode reference211 = ref span143[0]; - GatheringNode obj135 = new GatheringNode - { - DataId = 32625u - }; - num3 = 2; - List list292 = new List(num3); - CollectionsMarshal.SetCount(list292, num3); - Span span144 = CollectionsMarshal.AsSpan(list292); - span144[0] = new GatheringLocation - { - Position = new Vector3(451.1189f, -40.18039f, 184.7025f), - MinimumAngle = 95, - MaximumAngle = 245 - }; - span144[1] = new GatheringLocation - { - Position = new Vector3(471.4881f, -41.63216f, 185.0577f), - MinimumAngle = 160, - MaximumAngle = 285 - }; - obj135.Locations = list292; - reference211 = obj135; - ref GatheringNode reference212 = ref span143[1]; - GatheringNode obj136 = new GatheringNode - { - DataId = 32624u - }; - num3 = 1; - List list293 = new List(num3); - CollectionsMarshal.SetCount(list293, num3); - CollectionsMarshal.AsSpan(list293)[0] = new GatheringLocation - { - Position = new Vector3(463.4016f, -41.51461f, 181.6076f), - MinimumAngle = 90, - MaximumAngle = 250 - }; - obj136.Locations = list293; - reference212 = obj136; - gatheringNodeGroup76.Nodes = list291; - reference210 = gatheringNodeGroup76; - ref GatheringNodeGroup reference213 = ref span142[1]; - GatheringNodeGroup gatheringNodeGroup77 = new GatheringNodeGroup(); - num2 = 2; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - Span span145 = CollectionsMarshal.AsSpan(list294); - ref GatheringNode reference214 = ref span145[0]; - GatheringNode obj137 = new GatheringNode - { - DataId = 32622u - }; - num3 = 1; - List list295 = new List(num3); - CollectionsMarshal.SetCount(list295, num3); - CollectionsMarshal.AsSpan(list295)[0] = new GatheringLocation - { - Position = new Vector3(507.8041f, -33.50595f, 26.54234f), - MinimumAngle = 60, - MaximumAngle = 180, - MinimumDistance = 1f, - MaximumDistance = 3f - }; - obj137.Locations = list295; - reference214 = obj137; - ref GatheringNode reference215 = ref span145[1]; - GatheringNode obj138 = new GatheringNode - { - DataId = 32623u - }; - num3 = 2; - List list296 = new List(num3); - CollectionsMarshal.SetCount(list296, num3); - Span span146 = CollectionsMarshal.AsSpan(list296); - span146[0] = new GatheringLocation - { - Position = new Vector3(509.3797f, -30.43971f, -2.22134f), - MinimumAngle = -55, - MaximumAngle = 30 - }; - span146[1] = new GatheringLocation - { - Position = new Vector3(490.9295f, -30.41992f, -0.7659363f), - MinimumAngle = -70, - MaximumAngle = 25 - }; - obj138.Locations = list296; - reference215 = obj138; - gatheringNodeGroup77.Nodes = list294; - reference213 = gatheringNodeGroup77; - ref GatheringNodeGroup reference216 = ref span142[2]; - GatheringNodeGroup gatheringNodeGroup78 = new GatheringNodeGroup(); - num2 = 2; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - Span span147 = CollectionsMarshal.AsSpan(list297); - ref GatheringNode reference217 = ref span147[0]; - GatheringNode obj139 = new GatheringNode - { - DataId = 32621u - }; - num3 = 2; - List list298 = new List(num3); - CollectionsMarshal.SetCount(list298, num3); - Span span148 = CollectionsMarshal.AsSpan(list298); - span148[0] = new GatheringLocation - { - Position = new Vector3(378.5f, -29.83888f, 25.41485f), - MinimumAngle = -65, - MaximumAngle = 30 - }; - span148[1] = new GatheringLocation - { - Position = new Vector3(358.2361f, -30f, 26.45336f), - MinimumAngle = -40, - MaximumAngle = 45 - }; - obj139.Locations = list298; - reference217 = obj139; - ref GatheringNode reference218 = ref span147[1]; - GatheringNode obj140 = new GatheringNode - { - DataId = 32620u - }; - num3 = 1; - List list299 = new List(num3); - CollectionsMarshal.SetCount(list299, num3); - CollectionsMarshal.AsSpan(list299)[0] = new GatheringLocation - { - Position = new Vector3(365.5395f, -34.4827f, 42.98462f), - MinimumAngle = 190, - MaximumAngle = 285 - }; - obj140.Locations = list299; - reference218 = obj140; - gatheringNodeGroup78.Nodes = list297; - reference216 = gatheringNodeGroup78; - gatheringRoot27.Groups = list290; - AddLocation(591, gatheringRoot27); - } - - private static void LoadLocation6() - { - GatheringRoot gatheringRoot = new GatheringRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - gatheringRoot.Author = list; - num = 1; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - CollectionsMarshal.AsSpan(list2)[0] = new QuestStep(EInteractionType.None, null, null, 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengMordSouq - }; - gatheringRoot.Steps = list2; - num = 3; - List list3 = new List(num); - CollectionsMarshal.SetCount(list3, num); - Span span = CollectionsMarshal.AsSpan(list3); - ref GatheringNodeGroup reference = ref span[0]; - GatheringNodeGroup gatheringNodeGroup = new GatheringNodeGroup(); - int num2 = 2; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - ref GatheringNode reference2 = ref span2[0]; - GatheringNode obj = new GatheringNode - { - DataId = 32686u - }; - int num3 = 2; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - Span span3 = CollectionsMarshal.AsSpan(list5); - span3[0] = new GatheringLocation - { - Position = new Vector3(486.6385f, -28.30028f, -161.7677f), - MinimumAngle = 155, - MaximumAngle = 335 - }; - span3[1] = new GatheringLocation - { - Position = new Vector3(494.8945f, -21.52249f, -137.1469f) - }; - obj.Locations = list5; - reference2 = obj; - ref GatheringNode reference3 = ref span2[1]; - GatheringNode obj2 = new GatheringNode - { - DataId = 32685u - }; - num3 = 1; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - CollectionsMarshal.AsSpan(list6)[0] = new GatheringLocation - { - Position = new Vector3(503.6436f, -23.70927f, -142.2979f) - }; - obj2.Locations = list6; - reference3 = obj2; - gatheringNodeGroup.Nodes = list4; - reference = gatheringNodeGroup; - ref GatheringNodeGroup reference4 = ref span[1]; - GatheringNodeGroup gatheringNodeGroup2 = new GatheringNodeGroup(); - num2 = 2; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - Span span4 = CollectionsMarshal.AsSpan(list7); - ref GatheringNode reference5 = ref span4[0]; - GatheringNode obj3 = new GatheringNode - { - DataId = 32689u - }; - num3 = 1; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - CollectionsMarshal.AsSpan(list8)[0] = new GatheringLocation - { - Position = new Vector3(657.1875f, -26.81644f, -235.4547f), - MinimumAngle = 65, - MaximumAngle = 270 - }; - obj3.Locations = list8; - reference5 = obj3; - ref GatheringNode reference6 = ref span4[1]; - GatheringNode obj4 = new GatheringNode - { - DataId = 32690u - }; - num3 = 2; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - Span span5 = CollectionsMarshal.AsSpan(list9); - span5[0] = new GatheringLocation - { - Position = new Vector3(655.8629f, -27.85928f, -256.156f), - MinimumAngle = 65, - MaximumAngle = 235 - }; - span5[1] = new GatheringLocation - { - Position = new Vector3(656.6887f, -26.66475f, -230.172f), - MinimumAngle = -75, - MaximumAngle = 135 - }; - obj4.Locations = list9; - reference6 = obj4; - gatheringNodeGroup2.Nodes = list7; - reference4 = gatheringNodeGroup2; - ref GatheringNodeGroup reference7 = ref span[2]; - GatheringNodeGroup gatheringNodeGroup3 = new GatheringNodeGroup(); - num2 = 2; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span6 = CollectionsMarshal.AsSpan(list10); - ref GatheringNode reference8 = ref span6[0]; - GatheringNode obj5 = new GatheringNode - { - DataId = 32688u - }; - num3 = 2; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - Span span7 = CollectionsMarshal.AsSpan(list11); - span7[0] = new GatheringLocation - { - Position = new Vector3(487.4965f, -33.01668f, -304.6423f), - MinimumAngle = 150, - MaximumAngle = 330 - }; - span7[1] = new GatheringLocation - { - Position = new Vector3(477.8194f, -31.87613f, -320.6989f), - MinimumAngle = 180, - MaximumAngle = 310 - }; - obj5.Locations = list11; - reference8 = obj5; - ref GatheringNode reference9 = ref span6[1]; - GatheringNode obj6 = new GatheringNode - { - DataId = 32687u - }; - num3 = 1; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - CollectionsMarshal.AsSpan(list12)[0] = new GatheringLocation - { - Position = new Vector3(481.1932f, -32.4591f, -313.7588f), - MinimumAngle = 170, - MaximumAngle = 305 - }; - obj6.Locations = list12; - reference9 = obj6; - gatheringNodeGroup3.Nodes = list10; - reference7 = gatheringNodeGroup3; - gatheringRoot.Groups = list3; - AddLocation(611, gatheringRoot); - GatheringRoot gatheringRoot2 = new GatheringRoot(); - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = "liza"; - gatheringRoot2.Author = list13; - num = 1; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.None, null, null, 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaWright - }; - gatheringRoot2.Steps = list14; - num = 3; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - Span span8 = CollectionsMarshal.AsSpan(list15); - ref GatheringNodeGroup reference10 = ref span8[0]; - GatheringNodeGroup gatheringNodeGroup4 = new GatheringNodeGroup(); - num2 = 2; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - Span span9 = CollectionsMarshal.AsSpan(list16); - ref GatheringNode reference11 = ref span9[0]; - GatheringNode obj7 = new GatheringNode - { - DataId = 32816u - }; - num3 = 2; - List list17 = new List(num3); - CollectionsMarshal.SetCount(list17, num3); - Span span10 = CollectionsMarshal.AsSpan(list17); - span10[0] = new GatheringLocation - { - Position = new Vector3(-210.0211f, 27.87489f, 244.1517f) - }; - span10[1] = new GatheringLocation - { - Position = new Vector3(-184.2966f, 33.53575f, 220.416f), - MinimumAngle = -70, - MaximumAngle = 100 - }; - obj7.Locations = list17; - reference11 = obj7; - ref GatheringNode reference12 = ref span9[1]; - GatheringNode obj8 = new GatheringNode - { - DataId = 32815u - }; - num3 = 1; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - CollectionsMarshal.AsSpan(list18)[0] = new GatheringLocation - { - Position = new Vector3(-194.756f, 30.00866f, 235.5003f), - MinimumAngle = 85, - MaximumAngle = 290 - }; - obj8.Locations = list18; - reference12 = obj8; - gatheringNodeGroup4.Nodes = list16; - reference10 = gatheringNodeGroup4; - ref GatheringNodeGroup reference13 = ref span8[1]; - GatheringNodeGroup gatheringNodeGroup5 = new GatheringNodeGroup(); - num2 = 2; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - Span span11 = CollectionsMarshal.AsSpan(list19); - ref GatheringNode reference14 = ref span11[0]; - GatheringNode obj9 = new GatheringNode - { - DataId = 32819u - }; - num3 = 1; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - CollectionsMarshal.AsSpan(list20)[0] = new GatheringLocation - { - Position = new Vector3(-184.1455f, 44.3671f, 162.0892f), - MinimumAngle = -90, - MaximumAngle = 100 - }; - obj9.Locations = list20; - reference14 = obj9; - ref GatheringNode reference15 = ref span11[1]; - GatheringNode obj10 = new GatheringNode - { - DataId = 32820u - }; - num3 = 2; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - Span span12 = CollectionsMarshal.AsSpan(list21); - span12[0] = new GatheringLocation - { - Position = new Vector3(-164.9459f, 43.40527f, 153.1118f), - MinimumAngle = -100, - MaximumAngle = 75 - }; - span12[1] = new GatheringLocation - { - Position = new Vector3(-167.3752f, 47.25292f, 136.0359f), - MinimumAngle = -105, - MaximumAngle = 105 - }; - obj10.Locations = list21; - reference15 = obj10; - gatheringNodeGroup5.Nodes = list19; - reference13 = gatheringNodeGroup5; - ref GatheringNodeGroup reference16 = ref span8[2]; - GatheringNodeGroup gatheringNodeGroup6 = new GatheringNodeGroup(); - num2 = 2; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - Span span13 = CollectionsMarshal.AsSpan(list22); - ref GatheringNode reference17 = ref span13[0]; - GatheringNode obj11 = new GatheringNode - { - DataId = 32818u - }; - num3 = 2; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - Span span14 = CollectionsMarshal.AsSpan(list23); - span14[0] = new GatheringLocation - { - Position = new Vector3(-246.385f, 72.55199f, 90.56253f), - MinimumAngle = -85, - MaximumAngle = 80 - }; - span14[1] = new GatheringLocation - { - Position = new Vector3(-208.7709f, 77.46264f, 68.17573f), - MinimumAngle = -105, - MaximumAngle = 90 - }; - obj11.Locations = list23; - reference17 = obj11; - ref GatheringNode reference18 = ref span13[1]; - GatheringNode obj12 = new GatheringNode - { - DataId = 32817u - }; - num3 = 1; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - CollectionsMarshal.AsSpan(list24)[0] = new GatheringLocation - { - Position = new Vector3(-243.0861f, 79.1743f, 75.10091f), - MinimumAngle = -120, - MaximumAngle = 95 - }; - obj12.Locations = list24; - reference18 = obj12; - gatheringNodeGroup6.Nodes = list22; - reference16 = gatheringNodeGroup6; - gatheringRoot2.Groups = list15; - AddLocation(649, gatheringRoot2); - GatheringRoot gatheringRoot3 = new GatheringRoot(); - num = 1; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - CollectionsMarshal.AsSpan(list25)[0] = "liza"; - gatheringRoot3.Author = list25; - num = 1; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.None, null, null, 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaWright - }; - gatheringRoot3.Steps = list26; - num = 3; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - Span span15 = CollectionsMarshal.AsSpan(list27); - ref GatheringNodeGroup reference19 = ref span15[0]; - GatheringNodeGroup gatheringNodeGroup7 = new GatheringNodeGroup(); - num2 = 2; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - Span span16 = CollectionsMarshal.AsSpan(list28); - ref GatheringNode reference20 = ref span16[0]; - GatheringNode obj13 = new GatheringNode - { - DataId = 32825u - }; - num3 = 1; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - CollectionsMarshal.AsSpan(list29)[0] = new GatheringLocation - { - Position = new Vector3(-482.4797f, 39.54587f, 243.9857f), - MinimumAngle = -95, - MaximumAngle = 30 - }; - obj13.Locations = list29; - reference20 = obj13; - ref GatheringNode reference21 = ref span16[1]; - GatheringNode obj14 = new GatheringNode - { - DataId = 32826u - }; - num3 = 2; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - Span span17 = CollectionsMarshal.AsSpan(list30); - span17[0] = new GatheringLocation - { - Position = new Vector3(-479.1443f, 39.79183f, 240.7795f), - MinimumAngle = -75, - MaximumAngle = 15 - }; - span17[1] = new GatheringLocation - { - Position = new Vector3(-486.3334f, 39.4147f, 246.6178f), - MinimumAngle = -105, - MaximumAngle = 35 - }; - obj14.Locations = list30; - reference21 = obj14; - gatheringNodeGroup7.Nodes = list28; - reference19 = gatheringNodeGroup7; - ref GatheringNodeGroup reference22 = ref span15[1]; - GatheringNodeGroup gatheringNodeGroup8 = new GatheringNodeGroup(); - num2 = 2; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - Span span18 = CollectionsMarshal.AsSpan(list31); - ref GatheringNode reference23 = ref span18[0]; - GatheringNode obj15 = new GatheringNode - { - DataId = 32824u - }; - num3 = 2; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - Span span19 = CollectionsMarshal.AsSpan(list32); - span19[0] = new GatheringLocation - { - Position = new Vector3(-591.8113f, 26.1771f, 413.057f), - MinimumAngle = 165, - MaximumAngle = 265 - }; - span19[1] = new GatheringLocation - { - Position = new Vector3(-583.5104f, 26.20471f, 419.7504f), - MinimumAngle = 180, - MaximumAngle = 280 - }; - obj15.Locations = list32; - reference23 = obj15; - ref GatheringNode reference24 = ref span18[1]; - GatheringNode obj16 = new GatheringNode - { - DataId = 32823u - }; - num3 = 1; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - CollectionsMarshal.AsSpan(list33)[0] = new GatheringLocation - { - Position = new Vector3(-587.8331f, 26.20816f, 416.5177f), - MinimumAngle = 155, - MaximumAngle = 250 - }; - obj16.Locations = list33; - reference24 = obj16; - gatheringNodeGroup8.Nodes = list31; - reference22 = gatheringNodeGroup8; - ref GatheringNodeGroup reference25 = ref span15[2]; - GatheringNodeGroup gatheringNodeGroup9 = new GatheringNodeGroup(); - num2 = 2; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - Span span20 = CollectionsMarshal.AsSpan(list34); - ref GatheringNode reference26 = ref span20[0]; - GatheringNode obj17 = new GatheringNode - { - DataId = 32821u - }; - num3 = 1; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - CollectionsMarshal.AsSpan(list35)[0] = new GatheringLocation - { - Position = new Vector3(-667.9664f, 24.58142f, 365.2537f), - MinimumAngle = 165, - MaximumAngle = 240 - }; - obj17.Locations = list35; - reference26 = obj17; - ref GatheringNode reference27 = ref span20[1]; - GatheringNode obj18 = new GatheringNode - { - DataId = 32822u - }; - num3 = 2; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - Span span21 = CollectionsMarshal.AsSpan(list36); - span21[0] = new GatheringLocation - { - Position = new Vector3(-672.0605f, 24.69111f, 363.4729f), - MinimumAngle = 115, - MaximumAngle = 215 - }; - span21[1] = new GatheringLocation - { - Position = new Vector3(-663.9247f, 24.84755f, 366.6812f), - MinimumAngle = 170, - MaximumAngle = 310 - }; - obj18.Locations = list36; - reference27 = obj18; - gatheringNodeGroup9.Nodes = list34; - reference25 = gatheringNodeGroup9; - gatheringRoot3.Groups = list27; - AddLocation(650, gatheringRoot3); - GatheringRoot gatheringRoot4 = new GatheringRoot(); - num = 1; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - CollectionsMarshal.AsSpan(list37)[0] = "liza"; - gatheringRoot4.Author = list37; - num = 2; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - Span span22 = CollectionsMarshal.AsSpan(list38); - span22[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(329.38184f, 9.586891f, 749.2314f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span22[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(351.29465f, -38.275272f, 763.0457f), 816) - { - DisableNavmesh = true, - Fly = true - }; - gatheringRoot4.Steps = list38; - num = 3; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - Span span23 = CollectionsMarshal.AsSpan(list39); - ref GatheringNodeGroup reference28 = ref span23[0]; - GatheringNodeGroup gatheringNodeGroup10 = new GatheringNodeGroup(); - num2 = 2; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - Span span24 = CollectionsMarshal.AsSpan(list40); - ref GatheringNode reference29 = ref span24[0]; - GatheringNode obj19 = new GatheringNode - { - DataId = 32832u - }; - num3 = 3; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - Span span25 = CollectionsMarshal.AsSpan(list41); - span25[0] = new GatheringLocation - { - Position = new Vector3(382.7488f, -72.47251f, 794.3513f) - }; - span25[1] = new GatheringLocation - { - Position = new Vector3(388.7861f, -74.19925f, 801.0947f) - }; - span25[2] = new GatheringLocation - { - Position = new Vector3(386.1797f, -73.5009f, 787.0967f) - }; - obj19.Locations = list41; - reference29 = obj19; - ref GatheringNode reference30 = ref span24[1]; - GatheringNode obj20 = new GatheringNode - { - DataId = 32831u - }; - num3 = 1; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - CollectionsMarshal.AsSpan(list42)[0] = new GatheringLocation - { - Position = new Vector3(396.5799f, -76.29187f, 790.9022f) - }; - obj20.Locations = list42; - reference30 = obj20; - gatheringNodeGroup10.Nodes = list40; - reference28 = gatheringNodeGroup10; - ref GatheringNodeGroup reference31 = ref span23[1]; - GatheringNodeGroup gatheringNodeGroup11 = new GatheringNodeGroup(); - num2 = 2; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - Span span26 = CollectionsMarshal.AsSpan(list43); - ref GatheringNode reference32 = ref span26[0]; - GatheringNode obj21 = new GatheringNode - { - DataId = 32830u - }; - num3 = 2; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - Span span27 = CollectionsMarshal.AsSpan(list44); - span27[0] = new GatheringLocation - { - Position = new Vector3(492.6384f, -82.73045f, 804.714f) - }; - span27[1] = new GatheringLocation - { - Position = new Vector3(482.808f, -82.61642f, 802.591f) - }; - obj21.Locations = list44; - reference32 = obj21; - ref GatheringNode reference33 = ref span26[1]; - GatheringNode obj22 = new GatheringNode - { - DataId = 32829u - }; - num3 = 1; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - CollectionsMarshal.AsSpan(list45)[0] = new GatheringLocation - { - Position = new Vector3(493.5814f, -82.43644f, 790.831f) - }; - obj22.Locations = list45; - reference33 = obj22; - gatheringNodeGroup11.Nodes = list43; - reference31 = gatheringNodeGroup11; - ref GatheringNodeGroup reference34 = ref span23[2]; - GatheringNodeGroup gatheringNodeGroup12 = new GatheringNodeGroup(); - num2 = 2; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - Span span28 = CollectionsMarshal.AsSpan(list46); - ref GatheringNode reference35 = ref span28[0]; - GatheringNode obj23 = new GatheringNode - { - DataId = 32827u - }; - num3 = 1; - List list47 = new List(num3); - CollectionsMarshal.SetCount(list47, num3); - CollectionsMarshal.AsSpan(list47)[0] = new GatheringLocation - { - Position = new Vector3(490.9451f, -97.88062f, 636.6115f) - }; - obj23.Locations = list47; - reference35 = obj23; - ref GatheringNode reference36 = ref span28[1]; - GatheringNode obj24 = new GatheringNode - { - DataId = 32828u - }; - num3 = 1; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - CollectionsMarshal.AsSpan(list48)[0] = new GatheringLocation - { - Position = new Vector3(491.5274f, -100.762f, 626.6958f) - }; - obj24.Locations = list48; - reference36 = obj24; - gatheringNodeGroup12.Nodes = list46; - reference34 = gatheringNodeGroup12; - gatheringRoot4.Groups = list39; - AddLocation(651, gatheringRoot4); - GatheringRoot gatheringRoot5 = new GatheringRoot(); - num = 1; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - CollectionsMarshal.AsSpan(list49)[0] = "liza"; - gatheringRoot5.Author = list49; - num = 2; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - Span span29 = CollectionsMarshal.AsSpan(list50); - span29[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(491.82068f, 3.9304812f, 487.9401f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span29[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(506.00256f, -37.76961f, 485.49347f), 816) - { - DisableNavmesh = true, - Fly = true - }; - gatheringRoot5.Steps = list50; - num = 3; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - Span span30 = CollectionsMarshal.AsSpan(list51); - ref GatheringNodeGroup reference37 = ref span30[0]; - GatheringNodeGroup gatheringNodeGroup13 = new GatheringNodeGroup(); - num2 = 2; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - Span span31 = CollectionsMarshal.AsSpan(list52); - ref GatheringNode reference38 = ref span31[0]; - GatheringNode obj25 = new GatheringNode - { - DataId = 32836u - }; - num3 = 3; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - Span span32 = CollectionsMarshal.AsSpan(list53); - span32[0] = new GatheringLocation - { - Position = new Vector3(539.5437f, -81.62054f, 520.1647f), - MinimumAngle = -30, - MaximumAngle = 165 - }; - span32[1] = new GatheringLocation - { - Position = new Vector3(555.8599f, -73.65717f, 494.6164f), - MinimumAngle = 35, - MaximumAngle = 240 - }; - span32[2] = new GatheringLocation - { - Position = new Vector3(576.4164f, -69.75835f, 512.9263f), - MinimumAngle = -75, - MaximumAngle = 70 - }; - obj25.Locations = list53; - reference38 = obj25; - ref GatheringNode reference39 = ref span31[1]; - GatheringNode obj26 = new GatheringNode - { - DataId = 32835u - }; - num3 = 1; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - CollectionsMarshal.AsSpan(list54)[0] = new GatheringLocation - { - Position = new Vector3(552.5504f, -78.23183f, 512.429f), - MinimumAngle = -30, - MaximumAngle = 135 - }; - obj26.Locations = list54; - reference39 = obj26; - gatheringNodeGroup13.Nodes = list52; - reference37 = gatheringNodeGroup13; - ref GatheringNodeGroup reference40 = ref span30[1]; - GatheringNodeGroup gatheringNodeGroup14 = new GatheringNodeGroup(); - num2 = 2; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - Span span33 = CollectionsMarshal.AsSpan(list55); - ref GatheringNode reference41 = ref span33[0]; - GatheringNode obj27 = new GatheringNode - { - DataId = 32838u - }; - num3 = 2; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - Span span34 = CollectionsMarshal.AsSpan(list56); - span34[0] = new GatheringLocation - { - Position = new Vector3(652.7063f, -46.64378f, 488.4543f), - MinimumAngle = 0, - MaximumAngle = 120 - }; - span34[1] = new GatheringLocation - { - Position = new Vector3(669.2959f, -47.14824f, 513.9606f), - MinimumAngle = -20, - MaximumAngle = 105 - }; - obj27.Locations = list56; - reference41 = obj27; - ref GatheringNode reference42 = ref span33[1]; - GatheringNode obj28 = new GatheringNode - { - DataId = 32837u - }; - num3 = 1; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - CollectionsMarshal.AsSpan(list57)[0] = new GatheringLocation - { - Position = new Vector3(659.1685f, -46.65159f, 499.8015f), - MinimumAngle = 0, - MaximumAngle = 125 - }; - obj28.Locations = list57; - reference42 = obj28; - gatheringNodeGroup14.Nodes = list55; - reference40 = gatheringNodeGroup14; - ref GatheringNodeGroup reference43 = ref span30[2]; - GatheringNodeGroup gatheringNodeGroup15 = new GatheringNodeGroup(); - num2 = 2; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - Span span35 = CollectionsMarshal.AsSpan(list58); - ref GatheringNode reference44 = ref span35[0]; - GatheringNode obj29 = new GatheringNode - { - DataId = 32834u - }; - num3 = 1; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - CollectionsMarshal.AsSpan(list59)[0] = new GatheringLocation - { - Position = new Vector3(576.1583f, -46.68682f, 375.5306f), - MinimumAngle = -40, - MaximumAngle = 150 - }; - obj29.Locations = list59; - reference44 = obj29; - ref GatheringNode reference45 = ref span35[1]; - GatheringNode obj30 = new GatheringNode - { - DataId = 32833u - }; - num3 = 1; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - CollectionsMarshal.AsSpan(list60)[0] = new GatheringLocation - { - Position = new Vector3(571.1834f, -46.41214f, 360.5112f), - MinimumAngle = 0, - MaximumAngle = 115 - }; - obj30.Locations = list60; - reference45 = obj30; - gatheringNodeGroup15.Nodes = list58; - reference43 = gatheringNodeGroup15; - gatheringRoot5.Groups = list51; - AddLocation(652, gatheringRoot5); - GatheringRoot gatheringRoot6 = new GatheringRoot(); - num = 1; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - CollectionsMarshal.AsSpan(list61)[0] = "liza"; - gatheringRoot6.Author = list61; - num = 1; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.None, null, null, 817) - { - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - gatheringRoot6.Steps = list62; - num = 3; - List list63 = new List(num); - CollectionsMarshal.SetCount(list63, num); - Span span36 = CollectionsMarshal.AsSpan(list63); - ref GatheringNodeGroup reference46 = ref span36[0]; - GatheringNodeGroup gatheringNodeGroup16 = new GatheringNodeGroup(); - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - ref GatheringNode reference47 = ref CollectionsMarshal.AsSpan(list64)[0]; - GatheringNode obj31 = new GatheringNode - { - DataId = 32993u - }; - num3 = 1; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - CollectionsMarshal.AsSpan(list65)[0] = new GatheringLocation - { - Position = new Vector3(-704.8221f, 2.162976f, 563.2257f), - MinimumAngle = 35, - MaximumAngle = 120, - MinimumDistance = 1f, - MaximumDistance = 2.4f - }; - obj31.Locations = list65; - reference47 = obj31; - gatheringNodeGroup16.Nodes = list64; - reference46 = gatheringNodeGroup16; - ref GatheringNodeGroup reference48 = ref span36[1]; - GatheringNodeGroup gatheringNodeGroup17 = new GatheringNodeGroup(); - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - ref GatheringNode reference49 = ref CollectionsMarshal.AsSpan(list66)[0]; - GatheringNode obj32 = new GatheringNode - { - DataId = 32991u - }; - num3 = 1; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - CollectionsMarshal.AsSpan(list67)[0] = new GatheringLocation - { - Position = new Vector3(-702.9366f, 3.147394f, 580.9824f), - MinimumAngle = 20, - MaximumAngle = 120 - }; - obj32.Locations = list67; - reference49 = obj32; - gatheringNodeGroup17.Nodes = list66; - reference48 = gatheringNodeGroup17; - ref GatheringNodeGroup reference50 = ref span36[2]; - GatheringNodeGroup gatheringNodeGroup18 = new GatheringNodeGroup(); - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - ref GatheringNode reference51 = ref CollectionsMarshal.AsSpan(list68)[0]; - GatheringNode obj33 = new GatheringNode - { - DataId = 32992u - }; - num3 = 1; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - CollectionsMarshal.AsSpan(list69)[0] = new GatheringLocation - { - Position = new Vector3(-731.9697f, 2.883299f, 562.4577f), - MinimumAngle = 100, - MaximumAngle = 245 - }; - obj33.Locations = list69; - reference51 = obj33; - gatheringNodeGroup18.Nodes = list68; - reference50 = gatheringNodeGroup18; - gatheringRoot6.Groups = list63; - AddLocation(685, gatheringRoot6); - GatheringRoot gatheringRoot7 = new GatheringRoot(); - num = 1; - List list70 = new List(num); - CollectionsMarshal.SetCount(list70, num); - CollectionsMarshal.AsSpan(list70)[0] = "liza"; - gatheringRoot7.Author = list70; - num = 3; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - Span span37 = CollectionsMarshal.AsSpan(list71); - span37[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-790.09827f, 5.6f, 239.26955f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - span37[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-789.0584f, -26.2001f, 239.5829f), 817) - { - DisableNavmesh = true, - Fly = true - }; - span37[2] = new QuestStep(EInteractionType.None, null, null, 817); - gatheringRoot7.Steps = list71; - num = 3; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - Span span38 = CollectionsMarshal.AsSpan(list72); - ref GatheringNodeGroup reference52 = ref span38[0]; - GatheringNodeGroup gatheringNodeGroup19 = new GatheringNodeGroup(); - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - ref GatheringNode reference53 = ref CollectionsMarshal.AsSpan(list73)[0]; - GatheringNode obj34 = new GatheringNode - { - DataId = 32996u - }; - num3 = 1; - List list74 = new List(num3); - CollectionsMarshal.SetCount(list74, num3); - CollectionsMarshal.AsSpan(list74)[0] = new GatheringLocation - { - Position = new Vector3(-831.8083f, -41.57311f, 115.2932f), - MinimumAngle = 40, - MaximumAngle = 145, - MinimumDistance = 1.4f, - MaximumDistance = 3f - }; - obj34.Locations = list74; - reference53 = obj34; - gatheringNodeGroup19.Nodes = list73; - reference52 = gatheringNodeGroup19; - ref GatheringNodeGroup reference54 = ref span38[1]; - GatheringNodeGroup gatheringNodeGroup20 = new GatheringNodeGroup(); - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - ref GatheringNode reference55 = ref CollectionsMarshal.AsSpan(list75)[0]; - GatheringNode obj35 = new GatheringNode - { - DataId = 32994u - }; - num3 = 1; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - CollectionsMarshal.AsSpan(list76)[0] = new GatheringLocation - { - Position = new Vector3(-874.5662f, -38.51086f, 112.2362f), - MinimumAngle = -75, - MaximumAngle = 10 - }; - obj35.Locations = list76; - reference55 = obj35; - gatheringNodeGroup20.Nodes = list75; - reference54 = gatheringNodeGroup20; - ref GatheringNodeGroup reference56 = ref span38[2]; - GatheringNodeGroup gatheringNodeGroup21 = new GatheringNodeGroup(); - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - ref GatheringNode reference57 = ref CollectionsMarshal.AsSpan(list77)[0]; - GatheringNode obj36 = new GatheringNode - { - DataId = 32995u - }; - num3 = 1; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - CollectionsMarshal.AsSpan(list78)[0] = new GatheringLocation - { - Position = new Vector3(-885.0585f, -37.47266f, 140.9555f), - MinimumAngle = 225, - MaximumAngle = 335 - }; - obj36.Locations = list78; - reference57 = obj36; - gatheringNodeGroup21.Nodes = list77; - reference56 = gatheringNodeGroup21; - gatheringRoot7.Groups = list72; - AddLocation(686, gatheringRoot7); - GatheringRoot gatheringRoot8 = new GatheringRoot(); - num = 1; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - CollectionsMarshal.AsSpan(list79)[0] = "liza"; - gatheringRoot8.Author = list79; - num = 1; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.None, null, null, 817); - gatheringRoot8.Steps = list80; - num = 3; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - Span span39 = CollectionsMarshal.AsSpan(list81); - ref GatheringNodeGroup reference58 = ref span39[0]; - GatheringNodeGroup gatheringNodeGroup22 = new GatheringNodeGroup(); - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - ref GatheringNode reference59 = ref CollectionsMarshal.AsSpan(list82)[0]; - GatheringNode obj37 = new GatheringNode - { - DataId = 32997u - }; - num3 = 1; - List list83 = new List(num3); - CollectionsMarshal.SetCount(list83, num3); - CollectionsMarshal.AsSpan(list83)[0] = new GatheringLocation - { - Position = new Vector3(476.9907f, -2.17159f, -464.3045f), - MinimumAngle = -10, - MaximumAngle = 110 - }; - obj37.Locations = list83; - reference59 = obj37; - gatheringNodeGroup22.Nodes = list82; - reference58 = gatheringNodeGroup22; - ref GatheringNodeGroup reference60 = ref span39[1]; - GatheringNodeGroup gatheringNodeGroup23 = new GatheringNodeGroup(); - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - ref GatheringNode reference61 = ref CollectionsMarshal.AsSpan(list84)[0]; - GatheringNode obj38 = new GatheringNode - { - DataId = 32999u - }; - num3 = 1; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - CollectionsMarshal.AsSpan(list85)[0] = new GatheringLocation - { - Position = new Vector3(447.1716f, -0.6280748f, -467.6738f), - MinimumAngle = -120, - MaximumAngle = -5 - }; - obj38.Locations = list85; - reference61 = obj38; - gatheringNodeGroup23.Nodes = list84; - reference60 = gatheringNodeGroup23; - ref GatheringNodeGroup reference62 = ref span39[2]; - GatheringNodeGroup gatheringNodeGroup24 = new GatheringNodeGroup(); - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - ref GatheringNode reference63 = ref CollectionsMarshal.AsSpan(list86)[0]; - GatheringNode obj39 = new GatheringNode - { - DataId = 32998u - }; - num3 = 1; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - CollectionsMarshal.AsSpan(list87)[0] = new GatheringLocation - { - Position = new Vector3(438.931f, -1.880641f, -455.9972f), - MinimumAngle = -80, - MaximumAngle = 40 - }; - obj39.Locations = list87; - reference63 = obj39; - gatheringNodeGroup24.Nodes = list86; - reference62 = gatheringNodeGroup24; - gatheringRoot8.Groups = list81; - AddLocation(687, gatheringRoot8); - GatheringRoot gatheringRoot9 = new GatheringRoot(); - num = 1; - List list88 = new List(num); - CollectionsMarshal.SetCount(list88, num); - CollectionsMarshal.AsSpan(list88)[0] = "liza"; - gatheringRoot9.Author = list88; - num = 1; - List list89 = new List(num); - CollectionsMarshal.SetCount(list89, num); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.None, null, null, 817); - gatheringRoot9.Steps = list89; - num = 3; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - Span span40 = CollectionsMarshal.AsSpan(list90); - ref GatheringNodeGroup reference64 = ref span40[0]; - GatheringNodeGroup gatheringNodeGroup25 = new GatheringNodeGroup(); - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - ref GatheringNode reference65 = ref CollectionsMarshal.AsSpan(list91)[0]; - GatheringNode obj40 = new GatheringNode - { - DataId = 33002u - }; - num3 = 1; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - CollectionsMarshal.AsSpan(list92)[0] = new GatheringLocation - { - Position = new Vector3(164.1997f, 24.4362f, 58.99305f), - MinimumAngle = 85, - MaximumAngle = 225 - }; - obj40.Locations = list92; - reference65 = obj40; - gatheringNodeGroup25.Nodes = list91; - reference64 = gatheringNodeGroup25; - ref GatheringNodeGroup reference66 = ref span40[1]; - GatheringNodeGroup gatheringNodeGroup26 = new GatheringNodeGroup(); - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - ref GatheringNode reference67 = ref CollectionsMarshal.AsSpan(list93)[0]; - GatheringNode obj41 = new GatheringNode - { - DataId = 33001u - }; - num3 = 1; - List list94 = new List(num3); - CollectionsMarshal.SetCount(list94, num3); - CollectionsMarshal.AsSpan(list94)[0] = new GatheringLocation - { - Position = new Vector3(131.2174f, 27.21391f, 45.33313f), - MinimumAngle = 160, - MaximumAngle = 275 - }; - obj41.Locations = list94; - reference67 = obj41; - gatheringNodeGroup26.Nodes = list93; - reference66 = gatheringNodeGroup26; - ref GatheringNodeGroup reference68 = ref span40[2]; - GatheringNodeGroup gatheringNodeGroup27 = new GatheringNodeGroup(); - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - ref GatheringNode reference69 = ref CollectionsMarshal.AsSpan(list95)[0]; - GatheringNode obj42 = new GatheringNode - { - DataId = 33000u - }; - num3 = 1; - List list96 = new List(num3); - CollectionsMarshal.SetCount(list96, num3); - CollectionsMarshal.AsSpan(list96)[0] = new GatheringLocation - { - Position = new Vector3(65.9342f, 22.4589f, 45.68196f), - MinimumAngle = 180, - MaximumAngle = 265 - }; - obj42.Locations = list96; - reference69 = obj42; - gatheringNodeGroup27.Nodes = list95; - reference68 = gatheringNodeGroup27; - gatheringRoot9.Groups = list90; - AddLocation(688, gatheringRoot9); - GatheringRoot gatheringRoot10 = new GatheringRoot(); - num = 1; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - CollectionsMarshal.AsSpan(list97)[0] = "liza"; - gatheringRoot10.Author = list97; - num = 1; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.None, null, null, 817) - { - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - gatheringRoot10.Steps = list98; - num = 3; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - Span span41 = CollectionsMarshal.AsSpan(list99); - ref GatheringNodeGroup reference70 = ref span41[0]; - GatheringNodeGroup gatheringNodeGroup28 = new GatheringNodeGroup(); - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - ref GatheringNode reference71 = ref CollectionsMarshal.AsSpan(list100)[0]; - GatheringNode obj43 = new GatheringNode - { - DataId = 33005u - }; - num3 = 1; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - CollectionsMarshal.AsSpan(list101)[0] = new GatheringLocation - { - Position = new Vector3(214.7744f, -19.57758f, 623.6767f), - MinimumAngle = -15, - MaximumAngle = 55 - }; - obj43.Locations = list101; - reference71 = obj43; - gatheringNodeGroup28.Nodes = list100; - reference70 = gatheringNodeGroup28; - ref GatheringNodeGroup reference72 = ref span41[1]; - GatheringNodeGroup gatheringNodeGroup29 = new GatheringNodeGroup(); - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - ref GatheringNode reference73 = ref CollectionsMarshal.AsSpan(list102)[0]; - GatheringNode obj44 = new GatheringNode - { - DataId = 33004u - }; - num3 = 1; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - CollectionsMarshal.AsSpan(list103)[0] = new GatheringLocation - { - Position = new Vector3(235.4031f, -17.474f, 645.2612f), - MinimumAngle = -75, - MaximumAngle = 60 - }; - obj44.Locations = list103; - reference73 = obj44; - gatheringNodeGroup29.Nodes = list102; - reference72 = gatheringNodeGroup29; - ref GatheringNodeGroup reference74 = ref span41[2]; - GatheringNodeGroup gatheringNodeGroup30 = new GatheringNodeGroup(); - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - ref GatheringNode reference75 = ref CollectionsMarshal.AsSpan(list104)[0]; - GatheringNode obj45 = new GatheringNode - { - DataId = 33003u - }; - num3 = 1; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - CollectionsMarshal.AsSpan(list105)[0] = new GatheringLocation - { - Position = new Vector3(263.691f, -15.7453f, 659.6932f), - MinimumAngle = 5, - MaximumAngle = 110 - }; - obj45.Locations = list105; - reference75 = obj45; - gatheringNodeGroup30.Nodes = list104; - reference74 = gatheringNodeGroup30; - gatheringRoot10.Groups = list99; - AddLocation(689, gatheringRoot10); - GatheringRoot gatheringRoot11 = new GatheringRoot(); - num = 1; - List list106 = new List(num); - CollectionsMarshal.SetCount(list106, num); - CollectionsMarshal.AsSpan(list106)[0] = "liza"; - gatheringRoot11.Author = list106; - num = 1; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.None, null, null, 817) - { - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - gatheringRoot11.Steps = list107; - num = 3; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - Span span42 = CollectionsMarshal.AsSpan(list108); - ref GatheringNodeGroup reference76 = ref span42[0]; - GatheringNodeGroup gatheringNodeGroup31 = new GatheringNodeGroup(); - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - ref GatheringNode reference77 = ref CollectionsMarshal.AsSpan(list109)[0]; - GatheringNode obj46 = new GatheringNode - { - DataId = 33007u - }; - num3 = 1; - List list110 = new List(num3); - CollectionsMarshal.SetCount(list110, num3); - CollectionsMarshal.AsSpan(list110)[0] = new GatheringLocation - { - Position = new Vector3(-643.0819f, 1.715566f, 600.3007f) - }; - obj46.Locations = list110; - reference77 = obj46; - gatheringNodeGroup31.Nodes = list109; - reference76 = gatheringNodeGroup31; - ref GatheringNodeGroup reference78 = ref span42[1]; - GatheringNodeGroup gatheringNodeGroup32 = new GatheringNodeGroup(); - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - ref GatheringNode reference79 = ref CollectionsMarshal.AsSpan(list111)[0]; - GatheringNode obj47 = new GatheringNode - { - DataId = 33006u - }; - num3 = 1; - List list112 = new List(num3); - CollectionsMarshal.SetCount(list112, num3); - CollectionsMarshal.AsSpan(list112)[0] = new GatheringLocation - { - Position = new Vector3(-664.0663f, 4.130917f, 608.2639f), - MinimumAngle = 100, - MaximumAngle = 235 - }; - obj47.Locations = list112; - reference79 = obj47; - gatheringNodeGroup32.Nodes = list111; - reference78 = gatheringNodeGroup32; - ref GatheringNodeGroup reference80 = ref span42[2]; - GatheringNodeGroup gatheringNodeGroup33 = new GatheringNodeGroup(); - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - ref GatheringNode reference81 = ref CollectionsMarshal.AsSpan(list113)[0]; - GatheringNode obj48 = new GatheringNode - { - DataId = 33008u - }; - num3 = 1; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - CollectionsMarshal.AsSpan(list114)[0] = new GatheringLocation - { - Position = new Vector3(-689.2495f, 4.592032f, 603.05f), - MinimumAngle = -95, - MaximumAngle = 85 - }; - obj48.Locations = list114; - reference81 = obj48; - gatheringNodeGroup33.Nodes = list113; - reference80 = gatheringNodeGroup33; - gatheringRoot11.Groups = list108; - AddLocation(690, gatheringRoot11); - GatheringRoot gatheringRoot12 = new GatheringRoot(); - num = 1; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - CollectionsMarshal.AsSpan(list115)[0] = "liza"; - gatheringRoot12.Author = list115; - num = 3; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - Span span43 = CollectionsMarshal.AsSpan(list116); - span43[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-790.09827f, 5.6f, 239.26955f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - span43[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-789.0584f, -26.2001f, 239.5829f), 817) - { - DisableNavmesh = true, - Fly = true - }; - span43[2] = new QuestStep(EInteractionType.None, null, null, 817); - gatheringRoot12.Steps = list116; - num = 3; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - Span span44 = CollectionsMarshal.AsSpan(list117); - ref GatheringNodeGroup reference82 = ref span44[0]; - GatheringNodeGroup gatheringNodeGroup34 = new GatheringNodeGroup(); - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - ref GatheringNode reference83 = ref CollectionsMarshal.AsSpan(list118)[0]; - GatheringNode obj49 = new GatheringNode - { - DataId = 33011u - }; - num3 = 1; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - CollectionsMarshal.AsSpan(list119)[0] = new GatheringLocation - { - Position = new Vector3(-833.2918f, -44.18139f, 229.6708f) - }; - obj49.Locations = list119; - reference83 = obj49; - gatheringNodeGroup34.Nodes = list118; - reference82 = gatheringNodeGroup34; - ref GatheringNodeGroup reference84 = ref span44[1]; - GatheringNodeGroup gatheringNodeGroup35 = new GatheringNodeGroup(); - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - ref GatheringNode reference85 = ref CollectionsMarshal.AsSpan(list120)[0]; - GatheringNode obj50 = new GatheringNode - { - DataId = 33010u - }; - num3 = 1; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - CollectionsMarshal.AsSpan(list121)[0] = new GatheringLocation - { - Position = new Vector3(-869.9858f, -41.20595f, 221.9869f) - }; - obj50.Locations = list121; - reference85 = obj50; - gatheringNodeGroup35.Nodes = list120; - reference84 = gatheringNodeGroup35; - ref GatheringNodeGroup reference86 = ref span44[2]; - GatheringNodeGroup gatheringNodeGroup36 = new GatheringNodeGroup(); - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - ref GatheringNode reference87 = ref CollectionsMarshal.AsSpan(list122)[0]; - GatheringNode obj51 = new GatheringNode - { - DataId = 33009u - }; - num3 = 1; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - CollectionsMarshal.AsSpan(list123)[0] = new GatheringLocation - { - Position = new Vector3(-847.5519f, -41.43839f, 195.9766f) - }; - obj51.Locations = list123; - reference87 = obj51; - gatheringNodeGroup36.Nodes = list122; - reference86 = gatheringNodeGroup36; - gatheringRoot12.Groups = list117; - AddLocation(691, gatheringRoot12); - GatheringRoot gatheringRoot13 = new GatheringRoot(); - num = 1; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - CollectionsMarshal.AsSpan(list124)[0] = "liza"; - gatheringRoot13.Author = list124; - num = 1; - List list125 = new List(num); - CollectionsMarshal.SetCount(list125, num); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.None, null, null, 817); - gatheringRoot13.Steps = list125; - num = 3; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - Span span45 = CollectionsMarshal.AsSpan(list126); - ref GatheringNodeGroup reference88 = ref span45[0]; - GatheringNodeGroup gatheringNodeGroup37 = new GatheringNodeGroup(); - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - ref GatheringNode reference89 = ref CollectionsMarshal.AsSpan(list127)[0]; - GatheringNode obj52 = new GatheringNode - { - DataId = 33013u - }; - num3 = 1; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - CollectionsMarshal.AsSpan(list128)[0] = new GatheringLocation - { - Position = new Vector3(471.6041f, 0.1209641f, -476.659f), - MinimumAngle = 0, - MaximumAngle = 125 - }; - obj52.Locations = list128; - reference89 = obj52; - gatheringNodeGroup37.Nodes = list127; - reference88 = gatheringNodeGroup37; - ref GatheringNodeGroup reference90 = ref span45[1]; - GatheringNodeGroup gatheringNodeGroup38 = new GatheringNodeGroup(); - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - ref GatheringNode reference91 = ref CollectionsMarshal.AsSpan(list129)[0]; - GatheringNode obj53 = new GatheringNode - { - DataId = 33012u - }; - num3 = 1; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - CollectionsMarshal.AsSpan(list130)[0] = new GatheringLocation - { - Position = new Vector3(448.4756f, 2.033593f, -482.1674f), - MinimumAngle = 155, - MaximumAngle = 345 - }; - obj53.Locations = list130; - reference91 = obj53; - gatheringNodeGroup38.Nodes = list129; - reference90 = gatheringNodeGroup38; - ref GatheringNodeGroup reference92 = ref span45[2]; - GatheringNodeGroup gatheringNodeGroup39 = new GatheringNodeGroup(); - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - ref GatheringNode reference93 = ref CollectionsMarshal.AsSpan(list131)[0]; - GatheringNode obj54 = new GatheringNode - { - DataId = 33014u - }; - num3 = 1; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - CollectionsMarshal.AsSpan(list132)[0] = new GatheringLocation - { - Position = new Vector3(433.1882f, 10.99631f, -517.6039f) - }; - obj54.Locations = list132; - reference93 = obj54; - gatheringNodeGroup39.Nodes = list131; - reference92 = gatheringNodeGroup39; - gatheringRoot13.Groups = list126; - AddLocation(692, gatheringRoot13); - GatheringRoot gatheringRoot14 = new GatheringRoot(); - num = 1; - List list133 = new List(num); - CollectionsMarshal.SetCount(list133, num); - CollectionsMarshal.AsSpan(list133)[0] = "liza"; - gatheringRoot14.Author = list133; - num = 1; - List list134 = new List(num); - CollectionsMarshal.SetCount(list134, num); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.None, null, null, 817); - gatheringRoot14.Steps = list134; - num = 3; - List list135 = new List(num); - CollectionsMarshal.SetCount(list135, num); - Span span46 = CollectionsMarshal.AsSpan(list135); - ref GatheringNodeGroup reference94 = ref span46[0]; - GatheringNodeGroup gatheringNodeGroup40 = new GatheringNodeGroup(); - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - ref GatheringNode reference95 = ref CollectionsMarshal.AsSpan(list136)[0]; - GatheringNode obj55 = new GatheringNode - { - DataId = 33015u - }; - num3 = 1; - List list137 = new List(num3); - CollectionsMarshal.SetCount(list137, num3); - CollectionsMarshal.AsSpan(list137)[0] = new GatheringLocation - { - Position = new Vector3(301.3512f, 8.535884f, 8.796566f), - MinimumAngle = 55, - MaximumAngle = 245 - }; - obj55.Locations = list137; - reference95 = obj55; - gatheringNodeGroup40.Nodes = list136; - reference94 = gatheringNodeGroup40; - ref GatheringNodeGroup reference96 = ref span46[1]; - GatheringNodeGroup gatheringNodeGroup41 = new GatheringNodeGroup(); - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - ref GatheringNode reference97 = ref CollectionsMarshal.AsSpan(list138)[0]; - GatheringNode obj56 = new GatheringNode - { - DataId = 33016u - }; - num3 = 1; - List list139 = new List(num3); - CollectionsMarshal.SetCount(list139, num3); - CollectionsMarshal.AsSpan(list139)[0] = new GatheringLocation - { - Position = new Vector3(273.905f, 10.59709f, 19.72124f), - MinimumAngle = 135, - MaximumAngle = 340 - }; - obj56.Locations = list139; - reference97 = obj56; - gatheringNodeGroup41.Nodes = list138; - reference96 = gatheringNodeGroup41; - ref GatheringNodeGroup reference98 = ref span46[2]; - GatheringNodeGroup gatheringNodeGroup42 = new GatheringNodeGroup(); - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - ref GatheringNode reference99 = ref CollectionsMarshal.AsSpan(list140)[0]; - GatheringNode obj57 = new GatheringNode - { - DataId = 33017u - }; - num3 = 1; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - CollectionsMarshal.AsSpan(list141)[0] = new GatheringLocation - { - Position = new Vector3(271.7985f, 7.424402f, -29.68495f), - MinimumAngle = -165, - MaximumAngle = 15 - }; - obj57.Locations = list141; - reference99 = obj57; - gatheringNodeGroup42.Nodes = list140; - reference98 = gatheringNodeGroup42; - gatheringRoot14.Groups = list135; - AddLocation(693, gatheringRoot14); - GatheringRoot gatheringRoot15 = new GatheringRoot(); - num = 1; - List list142 = new List(num); - CollectionsMarshal.SetCount(list142, num); - CollectionsMarshal.AsSpan(list142)[0] = "liza"; - gatheringRoot15.Author = list142; - num = 1; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.None, null, null, 817) - { - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - gatheringRoot15.Steps = list143; - num = 3; - List list144 = new List(num); - CollectionsMarshal.SetCount(list144, num); - Span span47 = CollectionsMarshal.AsSpan(list144); - ref GatheringNodeGroup reference100 = ref span47[0]; - GatheringNodeGroup gatheringNodeGroup43 = new GatheringNodeGroup(); - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - ref GatheringNode reference101 = ref CollectionsMarshal.AsSpan(list145)[0]; - GatheringNode obj58 = new GatheringNode - { - DataId = 33020u - }; - num3 = 1; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - CollectionsMarshal.AsSpan(list146)[0] = new GatheringLocation - { - Position = new Vector3(226.1767f, -20.10281f, 643.5543f), - MinimumAngle = -50, - MaximumAngle = 120 - }; - obj58.Locations = list146; - reference101 = obj58; - gatheringNodeGroup43.Nodes = list145; - reference100 = gatheringNodeGroup43; - ref GatheringNodeGroup reference102 = ref span47[1]; - GatheringNodeGroup gatheringNodeGroup44 = new GatheringNodeGroup(); - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - ref GatheringNode reference103 = ref CollectionsMarshal.AsSpan(list147)[0]; - GatheringNode obj59 = new GatheringNode - { - DataId = 33018u - }; - num3 = 1; - List list148 = new List(num3); - CollectionsMarshal.SetCount(list148, num3); - CollectionsMarshal.AsSpan(list148)[0] = new GatheringLocation - { - Position = new Vector3(248.9525f, -17.98949f, 657.4498f), - MinimumAngle = -55, - MaximumAngle = 100, - MinimumDistance = 1f, - MaximumDistance = 3f - }; - obj59.Locations = list148; - reference103 = obj59; - gatheringNodeGroup44.Nodes = list147; - reference102 = gatheringNodeGroup44; - ref GatheringNodeGroup reference104 = ref span47[2]; - GatheringNodeGroup gatheringNodeGroup45 = new GatheringNodeGroup(); - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - ref GatheringNode reference105 = ref CollectionsMarshal.AsSpan(list149)[0]; - GatheringNode obj60 = new GatheringNode - { - DataId = 33019u - }; - num3 = 1; - List list150 = new List(num3); - CollectionsMarshal.SetCount(list150, num3); - CollectionsMarshal.AsSpan(list150)[0] = new GatheringLocation - { - Position = new Vector3(209.0277f, -25.56828f, 701.8604f) - }; - obj60.Locations = list150; - reference105 = obj60; - gatheringNodeGroup45.Nodes = list149; - reference104 = gatheringNodeGroup45; - gatheringRoot15.Groups = list144; - AddLocation(694, gatheringRoot15); - } - - private static void LoadLocation7() - { - GatheringRoot gatheringRoot = new GatheringRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - gatheringRoot.Author = list; - num = 1; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - ref QuestStep reference = ref CollectionsMarshal.AsSpan(list2)[0]; - QuestStep obj = new QuestStep(EInteractionType.None, null, null, 399) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshirePrologueGate - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = 399; - skipAetheryteCondition.InTerritory = list3; - skipConditions.AetheryteShortcutIf = skipAetheryteCondition; - obj.SkipConditions = skipConditions; - reference = obj; - gatheringRoot.Steps = list2; - num = 3; - List list4 = new List(num); - CollectionsMarshal.SetCount(list4, num); - Span span = CollectionsMarshal.AsSpan(list4); - ref GatheringNodeGroup reference2 = ref span[0]; - GatheringNodeGroup gatheringNodeGroup = new GatheringNodeGroup(); - num2 = 2; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - Span span2 = CollectionsMarshal.AsSpan(list5); - ref GatheringNode reference3 = ref span2[0]; - GatheringNode obj2 = new GatheringNode - { - DataId = 33285u - }; - int num3 = 1; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - CollectionsMarshal.AsSpan(list6)[0] = new GatheringLocation - { - Position = new Vector3(-426.4134f, 137.5601f, 514.3357f) - }; - obj2.Locations = list6; - reference3 = obj2; - ref GatheringNode reference4 = ref span2[1]; - GatheringNode obj3 = new GatheringNode - { - DataId = 33286u - }; - num3 = 2; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span3 = CollectionsMarshal.AsSpan(list7); - span3[0] = new GatheringLocation - { - Position = new Vector3(-448.7838f, 137.5986f, 514.3243f) - }; - span3[1] = new GatheringLocation - { - Position = new Vector3(-433.5015f, 137.6451f, 487.8173f) - }; - obj3.Locations = list7; - reference4 = obj3; - gatheringNodeGroup.Nodes = list5; - reference2 = gatheringNodeGroup; - ref GatheringNodeGroup reference5 = ref span[1]; - GatheringNodeGroup gatheringNodeGroup2 = new GatheringNodeGroup(); - num2 = 2; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - Span span4 = CollectionsMarshal.AsSpan(list8); - ref GatheringNode reference6 = ref span4[0]; - GatheringNode obj4 = new GatheringNode - { - DataId = 33288u - }; - num3 = 1; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - CollectionsMarshal.AsSpan(list9)[0] = new GatheringLocation - { - Position = new Vector3(-354.5423f, 137.5715f, 638.9959f) - }; - obj4.Locations = list9; - reference6 = obj4; - ref GatheringNode reference7 = ref span4[1]; - GatheringNode obj5 = new GatheringNode - { - DataId = 33287u - }; - num3 = 1; - List list10 = new List(num3); - CollectionsMarshal.SetCount(list10, num3); - CollectionsMarshal.AsSpan(list10)[0] = new GatheringLocation - { - Position = new Vector3(-352.4377f, 137.5906f, 604.364f) - }; - obj5.Locations = list10; - reference7 = obj5; - gatheringNodeGroup2.Nodes = list8; - reference5 = gatheringNodeGroup2; - ref GatheringNodeGroup reference8 = ref span[2]; - GatheringNodeGroup gatheringNodeGroup3 = new GatheringNodeGroup(); - num2 = 2; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - Span span5 = CollectionsMarshal.AsSpan(list11); - ref GatheringNode reference9 = ref span5[0]; - GatheringNode obj6 = new GatheringNode - { - DataId = 33284u - }; - num3 = 1; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - CollectionsMarshal.AsSpan(list12)[0] = new GatheringLocation - { - Position = new Vector3(-254.4776f, 137.97f, 591.0092f), - MinimumAngle = -20, - MaximumAngle = 85 - }; - obj6.Locations = list12; - reference9 = obj6; - ref GatheringNode reference10 = ref span5[1]; - GatheringNode obj7 = new GatheringNode - { - DataId = 33283u - }; - num3 = 1; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - CollectionsMarshal.AsSpan(list13)[0] = new GatheringLocation - { - Position = new Vector3(-263.1079f, 137.4419f, 569.8724f), - MinimumAngle = -10, - MaximumAngle = 190 - }; - obj7.Locations = list13; - reference10 = obj7; - gatheringNodeGroup3.Nodes = list11; - reference8 = gatheringNodeGroup3; - gatheringRoot.Groups = list4; - AddLocation(723, gatheringRoot); - GatheringRoot gatheringRoot2 = new GatheringRoot(); - num = 1; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - CollectionsMarshal.AsSpan(list14)[0] = "liza"; - gatheringRoot2.Author = list14; - num = 1; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.None, null, null, 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - gatheringRoot2.Steps = list15; - num = 3; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - Span span6 = CollectionsMarshal.AsSpan(list16); - ref GatheringNodeGroup reference11 = ref span6[0]; - GatheringNodeGroup gatheringNodeGroup4 = new GatheringNodeGroup(); - num2 = 2; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - Span span7 = CollectionsMarshal.AsSpan(list17); - ref GatheringNode reference12 = ref span7[0]; - GatheringNode obj8 = new GatheringNode - { - DataId = 33290u - }; - num3 = 2; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - Span span8 = CollectionsMarshal.AsSpan(list18); - span8[0] = new GatheringLocation - { - Position = new Vector3(-409.5019f, 171.5775f, 49.79576f), - MinimumAngle = -40, - MaximumAngle = 115 - }; - span8[1] = new GatheringLocation - { - Position = new Vector3(-418.5088f, 168.7132f, 33.29783f), - MinimumAngle = 10, - MaximumAngle = 110 - }; - obj8.Locations = list18; - reference12 = obj8; - ref GatheringNode reference13 = ref span7[1]; - GatheringNode obj9 = new GatheringNode - { - DataId = 33289u - }; - num3 = 1; - List list19 = new List(num3); - CollectionsMarshal.SetCount(list19, num3); - CollectionsMarshal.AsSpan(list19)[0] = new GatheringLocation - { - Position = new Vector3(-413.911f, 170.7656f, 43.01591f), - MinimumAngle = 0, - MaximumAngle = 130 - }; - obj9.Locations = list19; - reference13 = obj9; - gatheringNodeGroup4.Nodes = list17; - reference11 = gatheringNodeGroup4; - ref GatheringNodeGroup reference14 = ref span6[1]; - GatheringNodeGroup gatheringNodeGroup5 = new GatheringNodeGroup(); - num2 = 2; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - Span span9 = CollectionsMarshal.AsSpan(list20); - ref GatheringNode reference15 = ref span9[0]; - GatheringNode obj10 = new GatheringNode - { - DataId = 33292u - }; - num3 = 1; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - CollectionsMarshal.AsSpan(list21)[0] = new GatheringLocation - { - Position = new Vector3(-510.636f, 169.9518f, 119.9934f), - MinimumAngle = 150, - MaximumAngle = 310 - }; - obj10.Locations = list21; - reference15 = obj10; - ref GatheringNode reference16 = ref span9[1]; - GatheringNode obj11 = new GatheringNode - { - DataId = 33291u - }; - num3 = 1; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - CollectionsMarshal.AsSpan(list22)[0] = new GatheringLocation - { - Position = new Vector3(-519.3103f, 169.0242f, 111.3145f), - MinimumAngle = 125, - MaximumAngle = 300 - }; - obj11.Locations = list22; - reference16 = obj11; - gatheringNodeGroup5.Nodes = list20; - reference14 = gatheringNodeGroup5; - ref GatheringNodeGroup reference17 = ref span6[2]; - GatheringNodeGroup gatheringNodeGroup6 = new GatheringNodeGroup(); - num2 = 2; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - Span span10 = CollectionsMarshal.AsSpan(list23); - ref GatheringNode reference18 = ref span10[0]; - GatheringNode obj12 = new GatheringNode - { - DataId = 33293u - }; - num3 = 1; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - CollectionsMarshal.AsSpan(list24)[0] = new GatheringLocation - { - Position = new Vector3(-563.8201f, 159.5121f, -11.58269f), - MinimumAngle = -100, - MaximumAngle = 50 - }; - obj12.Locations = list24; - reference18 = obj12; - ref GatheringNode reference19 = ref span10[1]; - GatheringNode obj13 = new GatheringNode - { - DataId = 33294u - }; - num3 = 1; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - CollectionsMarshal.AsSpan(list25)[0] = new GatheringLocation - { - Position = new Vector3(-555.6268f, 159.594f, -17.77679f), - MinimumAngle = -145, - MaximumAngle = 25 - }; - obj13.Locations = list25; - reference19 = obj13; - gatheringNodeGroup6.Nodes = list23; - reference17 = gatheringNodeGroup6; - gatheringRoot2.Groups = list16; - AddLocation(724, gatheringRoot2); - GatheringRoot gatheringRoot3 = new GatheringRoot(); - num = 1; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - CollectionsMarshal.AsSpan(list26)[0] = "liza"; - gatheringRoot3.Author = list26; - num = 1; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.None, null, null, 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - gatheringRoot3.Steps = list27; - num = 3; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - Span span11 = CollectionsMarshal.AsSpan(list28); - ref GatheringNodeGroup reference20 = ref span11[0]; - GatheringNodeGroup gatheringNodeGroup7 = new GatheringNodeGroup(); - num2 = 2; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - Span span12 = CollectionsMarshal.AsSpan(list29); - ref GatheringNode reference21 = ref span12[0]; - GatheringNode obj14 = new GatheringNode - { - DataId = 33300u - }; - num3 = 2; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - Span span13 = CollectionsMarshal.AsSpan(list30); - span13[0] = new GatheringLocation - { - Position = new Vector3(560.8948f, -19.68621f, -534.3345f), - MinimumAngle = -75, - MaximumAngle = 30 - }; - span13[1] = new GatheringLocation - { - Position = new Vector3(557.1625f, -19.65358f, -547.1852f), - MinimumAngle = 60, - MaximumAngle = 200 - }; - obj14.Locations = list30; - reference21 = obj14; - ref GatheringNode reference22 = ref span12[1]; - GatheringNode obj15 = new GatheringNode - { - DataId = 33299u - }; - num3 = 1; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - CollectionsMarshal.AsSpan(list31)[0] = new GatheringLocation - { - Position = new Vector3(571.0399f, -19.2677f, -544.8133f), - MinimumAngle = 200, - MaximumAngle = 320 - }; - obj15.Locations = list31; - reference22 = obj15; - gatheringNodeGroup7.Nodes = list29; - reference20 = gatheringNodeGroup7; - ref GatheringNodeGroup reference23 = ref span11[1]; - GatheringNodeGroup gatheringNodeGroup8 = new GatheringNodeGroup(); - num2 = 2; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - Span span14 = CollectionsMarshal.AsSpan(list32); - ref GatheringNode reference24 = ref span14[0]; - GatheringNode obj16 = new GatheringNode - { - DataId = 33297u - }; - num3 = 1; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - CollectionsMarshal.AsSpan(list33)[0] = new GatheringLocation - { - Position = new Vector3(630.7735f, -18.70739f, -566.2144f), - MinimumAngle = 85, - MaximumAngle = 240 - }; - obj16.Locations = list33; - reference24 = obj16; - ref GatheringNode reference25 = ref span14[1]; - GatheringNode obj17 = new GatheringNode - { - DataId = 33298u - }; - num3 = 2; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - Span span15 = CollectionsMarshal.AsSpan(list34); - span15[0] = new GatheringLocation - { - Position = new Vector3(639.3101f, -18.78794f, -559.5169f), - MinimumAngle = -175, - MaximumAngle = 0 - }; - span15[1] = new GatheringLocation - { - Position = new Vector3(618.4453f, -18.9477f, -559.1786f), - MinimumAngle = 60, - MaximumAngle = 150 - }; - obj17.Locations = list34; - reference25 = obj17; - gatheringNodeGroup8.Nodes = list32; - reference23 = gatheringNodeGroup8; - ref GatheringNodeGroup reference26 = ref span11[2]; - GatheringNodeGroup gatheringNodeGroup9 = new GatheringNodeGroup(); - num2 = 2; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - Span span16 = CollectionsMarshal.AsSpan(list35); - ref GatheringNode reference27 = ref span16[0]; - GatheringNode obj18 = new GatheringNode - { - DataId = 33295u - }; - num3 = 1; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - CollectionsMarshal.AsSpan(list36)[0] = new GatheringLocation - { - Position = new Vector3(731.6483f, -20.17027f, -614.199f), - MinimumAngle = -35, - MaximumAngle = 125 - }; - obj18.Locations = list36; - reference27 = obj18; - ref GatheringNode reference28 = ref span16[1]; - GatheringNode obj19 = new GatheringNode - { - DataId = 33296u - }; - num3 = 2; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - Span span17 = CollectionsMarshal.AsSpan(list37); - span17[0] = new GatheringLocation - { - Position = new Vector3(743.4034f, -19.02f, -621.8422f), - MinimumAngle = 195, - MaximumAngle = 325 - }; - span17[1] = new GatheringLocation - { - Position = new Vector3(727.6966f, -20.47985f, -627.8105f), - MinimumAngle = 60, - MaximumAngle = 210 - }; - obj19.Locations = list37; - reference28 = obj19; - gatheringNodeGroup9.Nodes = list35; - reference26 = gatheringNodeGroup9; - gatheringRoot3.Groups = list28; - AddLocation(725, gatheringRoot3); - GatheringRoot gatheringRoot4 = new GatheringRoot(); - num = 1; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - CollectionsMarshal.AsSpan(list38)[0] = "liza"; - gatheringRoot4.Author = list38; - num = 1; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.None, null, null, 400) - { - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - gatheringRoot4.Steps = list39; - num = 3; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - Span span18 = CollectionsMarshal.AsSpan(list40); - ref GatheringNodeGroup reference29 = ref span18[0]; - GatheringNodeGroup gatheringNodeGroup10 = new GatheringNodeGroup(); - num2 = 2; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - Span span19 = CollectionsMarshal.AsSpan(list41); - ref GatheringNode reference30 = ref span19[0]; - GatheringNode obj20 = new GatheringNode - { - DataId = 33305u - }; - num3 = 1; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - CollectionsMarshal.AsSpan(list42)[0] = new GatheringLocation - { - Position = new Vector3(-560.7639f, 266.9573f, -744.8922f), - MinimumAngle = -45, - MaximumAngle = 80 - }; - obj20.Locations = list42; - reference30 = obj20; - ref GatheringNode reference31 = ref span19[1]; - GatheringNode obj21 = new GatheringNode - { - DataId = 33306u - }; - num3 = 1; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - CollectionsMarshal.AsSpan(list43)[0] = new GatheringLocation - { - Position = new Vector3(-547.9997f, 268.3711f, -737.2209f), - MinimumAngle = 0, - MaximumAngle = 95 - }; - obj21.Locations = list43; - reference31 = obj21; - gatheringNodeGroup10.Nodes = list41; - reference29 = gatheringNodeGroup10; - ref GatheringNodeGroup reference32 = ref span18[1]; - GatheringNodeGroup gatheringNodeGroup11 = new GatheringNodeGroup(); - num2 = 2; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - Span span20 = CollectionsMarshal.AsSpan(list44); - ref GatheringNode reference33 = ref span20[0]; - GatheringNode obj22 = new GatheringNode - { - DataId = 33304u - }; - num3 = 1; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - CollectionsMarshal.AsSpan(list45)[0] = new GatheringLocation - { - Position = new Vector3(-682.6185f, 261.1417f, -778.2869f), - MinimumAngle = -50, - MaximumAngle = 20, - MinimumDistance = 1.5f, - MaximumDistance = 3f - }; - obj22.Locations = list45; - reference33 = obj22; - ref GatheringNode reference34 = ref span20[1]; - GatheringNode obj23 = new GatheringNode - { - DataId = 33303u - }; - num3 = 1; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - CollectionsMarshal.AsSpan(list46)[0] = new GatheringLocation - { - Position = new Vector3(-696.5138f, 261.6092f, -759.7711f), - MinimumAngle = 215, - MaximumAngle = 310 - }; - obj23.Locations = list46; - reference34 = obj23; - gatheringNodeGroup11.Nodes = list44; - reference32 = gatheringNodeGroup11; - ref GatheringNodeGroup reference35 = ref span18[2]; - GatheringNodeGroup gatheringNodeGroup12 = new GatheringNodeGroup(); - num2 = 2; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - Span span21 = CollectionsMarshal.AsSpan(list47); - ref GatheringNode reference36 = ref span21[0]; - GatheringNode obj24 = new GatheringNode - { - DataId = 33301u - }; - num3 = 1; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - CollectionsMarshal.AsSpan(list48)[0] = new GatheringLocation - { - Position = new Vector3(-792.3468f, 271.3054f, -737.431f), - MinimumAngle = 280, - MaximumAngle = 360, - MinimumDistance = 2f, - MaximumDistance = 3f - }; - obj24.Locations = list48; - reference36 = obj24; - ref GatheringNode reference37 = ref span21[1]; - GatheringNode obj25 = new GatheringNode - { - DataId = 33302u - }; - num3 = 1; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - CollectionsMarshal.AsSpan(list49)[0] = new GatheringLocation - { - Position = new Vector3(-800.0043f, 269.2748f, -729.5305f), - MinimumAngle = 230, - MaximumAngle = 340 - }; - obj25.Locations = list49; - reference37 = obj25; - gatheringNodeGroup12.Nodes = list47; - reference35 = gatheringNodeGroup12; - gatheringRoot4.Groups = list40; - AddLocation(726, gatheringRoot4); - GatheringRoot gatheringRoot5 = new GatheringRoot(); - num = 1; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - CollectionsMarshal.AsSpan(list50)[0] = "liza"; - gatheringRoot5.Author = list50; - num = 1; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.None, null, null, 401) - { - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop - }; - gatheringRoot5.Steps = list51; - num = 3; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - Span span22 = CollectionsMarshal.AsSpan(list52); - ref GatheringNodeGroup reference38 = ref span22[0]; - GatheringNodeGroup gatheringNodeGroup13 = new GatheringNodeGroup(); - num2 = 2; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - Span span23 = CollectionsMarshal.AsSpan(list53); - ref GatheringNode reference39 = ref span23[0]; - GatheringNode obj26 = new GatheringNode - { - DataId = 33308u - }; - num3 = 1; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - CollectionsMarshal.AsSpan(list54)[0] = new GatheringLocation - { - Position = new Vector3(612.0084f, -154.126f, 721.6054f), - MinimumAngle = -220, - MaximumAngle = 25 - }; - obj26.Locations = list54; - reference39 = obj26; - ref GatheringNode reference40 = ref span23[1]; - GatheringNode obj27 = new GatheringNode - { - DataId = 33307u - }; - num3 = 1; - List list55 = new List(num3); - CollectionsMarshal.SetCount(list55, num3); - CollectionsMarshal.AsSpan(list55)[0] = new GatheringLocation - { - Position = new Vector3(601.7455f, -154.7067f, 734.4706f), - MinimumAngle = -120, - MaximumAngle = 75 - }; - obj27.Locations = list55; - reference40 = obj27; - gatheringNodeGroup13.Nodes = list53; - reference38 = gatheringNodeGroup13; - ref GatheringNodeGroup reference41 = ref span22[1]; - GatheringNodeGroup gatheringNodeGroup14 = new GatheringNodeGroup(); - num2 = 2; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - Span span24 = CollectionsMarshal.AsSpan(list56); - ref GatheringNode reference42 = ref span24[0]; - GatheringNode obj28 = new GatheringNode - { - DataId = 33311u - }; - num3 = 1; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - CollectionsMarshal.AsSpan(list57)[0] = new GatheringLocation - { - Position = new Vector3(654.2362f, -159.8305f, 820.9418f) - }; - obj28.Locations = list57; - reference42 = obj28; - ref GatheringNode reference43 = ref span24[1]; - GatheringNode obj29 = new GatheringNode - { - DataId = 33312u - }; - num3 = 1; - List list58 = new List(num3); - CollectionsMarshal.SetCount(list58, num3); - CollectionsMarshal.AsSpan(list58)[0] = new GatheringLocation - { - Position = new Vector3(656.2291f, -160.4766f, 826.9885f), - MinimumAngle = 100, - MaximumAngle = 270 - }; - obj29.Locations = list58; - reference43 = obj29; - gatheringNodeGroup14.Nodes = list56; - reference41 = gatheringNodeGroup14; - ref GatheringNodeGroup reference44 = ref span22[2]; - GatheringNodeGroup gatheringNodeGroup15 = new GatheringNodeGroup(); - num2 = 2; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - Span span25 = CollectionsMarshal.AsSpan(list59); - ref GatheringNode reference45 = ref span25[0]; - GatheringNode obj30 = new GatheringNode - { - DataId = 33309u - }; - num3 = 1; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - CollectionsMarshal.AsSpan(list60)[0] = new GatheringLocation - { - Position = new Vector3(739.0756f, -158.0396f, 642.5712f), - MinimumAngle = 110, - MaximumAngle = 210, - MinimumDistance = 1f, - MaximumDistance = 3f - }; - obj30.Locations = list60; - reference45 = obj30; - ref GatheringNode reference46 = ref span25[1]; - GatheringNode obj31 = new GatheringNode - { - DataId = 33310u - }; - num3 = 1; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - CollectionsMarshal.AsSpan(list61)[0] = new GatheringLocation - { - Position = new Vector3(723.027f, -157.7834f, 626.666f), - MinimumAngle = -170, - MaximumAngle = 35 - }; - obj31.Locations = list61; - reference46 = obj31; - gatheringNodeGroup15.Nodes = list59; - reference44 = gatheringNodeGroup15; - gatheringRoot5.Groups = list52; - AddLocation(727, gatheringRoot5); - GatheringRoot gatheringRoot6 = new GatheringRoot(); - num = 1; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - CollectionsMarshal.AsSpan(list62)[0] = "liza"; - gatheringRoot6.Author = list62; - num = 1; - List list63 = new List(num); - CollectionsMarshal.SetCount(list63, num); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.None, null, null, 401) - { - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - gatheringRoot6.Steps = list63; - num = 3; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - Span span26 = CollectionsMarshal.AsSpan(list64); - ref GatheringNodeGroup reference47 = ref span26[0]; - GatheringNodeGroup gatheringNodeGroup16 = new GatheringNodeGroup(); - num2 = 2; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - Span span27 = CollectionsMarshal.AsSpan(list65); - ref GatheringNode reference48 = ref span27[0]; - GatheringNode obj32 = new GatheringNode - { - DataId = 33313u - }; - num3 = 1; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - CollectionsMarshal.AsSpan(list66)[0] = new GatheringLocation - { - Position = new Vector3(284.0225f, -40.41348f, -766.5984f), - MinimumAngle = 160, - MaximumAngle = 245, - MinimumDistance = 1.6f, - MaximumDistance = 3f - }; - obj32.Locations = list66; - reference48 = obj32; - ref GatheringNode reference49 = ref span27[1]; - GatheringNode obj33 = new GatheringNode - { - DataId = 33314u - }; - num3 = 1; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - CollectionsMarshal.AsSpan(list67)[0] = new GatheringLocation - { - Position = new Vector3(291.4046f, -40.37925f, -758.5402f), - MinimumAngle = 210, - MaximumAngle = 345 - }; - obj33.Locations = list67; - reference49 = obj33; - gatheringNodeGroup16.Nodes = list65; - reference47 = gatheringNodeGroup16; - ref GatheringNodeGroup reference50 = ref span26[1]; - GatheringNodeGroup gatheringNodeGroup17 = new GatheringNodeGroup(); - num2 = 2; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - Span span28 = CollectionsMarshal.AsSpan(list68); - ref GatheringNode reference51 = ref span28[0]; - GatheringNode obj34 = new GatheringNode - { - DataId = 33315u - }; - num3 = 1; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - CollectionsMarshal.AsSpan(list69)[0] = new GatheringLocation - { - Position = new Vector3(358.8156f, -41.42974f, -734.5118f), - MinimumAngle = 115, - MaximumAngle = 250 - }; - obj34.Locations = list69; - reference51 = obj34; - ref GatheringNode reference52 = ref span28[1]; - GatheringNode obj35 = new GatheringNode - { - DataId = 33316u - }; - num3 = 1; - List list70 = new List(num3); - CollectionsMarshal.SetCount(list70, num3); - CollectionsMarshal.AsSpan(list70)[0] = new GatheringLocation - { - Position = new Vector3(367.6869f, -41.54303f, -735.3597f), - MinimumAngle = 70, - MaximumAngle = 220 - }; - obj35.Locations = list70; - reference52 = obj35; - gatheringNodeGroup17.Nodes = list68; - reference50 = gatheringNodeGroup17; - ref GatheringNodeGroup reference53 = ref span26[2]; - GatheringNodeGroup gatheringNodeGroup18 = new GatheringNodeGroup(); - num2 = 2; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - Span span29 = CollectionsMarshal.AsSpan(list71); - ref GatheringNode reference54 = ref span29[0]; - GatheringNode obj36 = new GatheringNode - { - DataId = 33317u - }; - num3 = 1; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - CollectionsMarshal.AsSpan(list72)[0] = new GatheringLocation - { - Position = new Vector3(452.3558f, -47.13874f, -752.6805f), - MinimumAngle = 150, - MaximumAngle = 275 - }; - obj36.Locations = list72; - reference54 = obj36; - ref GatheringNode reference55 = ref span29[1]; - GatheringNode obj37 = new GatheringNode - { - DataId = 33318u - }; - num3 = 1; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - CollectionsMarshal.AsSpan(list73)[0] = new GatheringLocation - { - Position = new Vector3(465.9165f, -47.82627f, -756.4039f), - MinimumAngle = 35, - MaximumAngle = 160, - MinimumDistance = 1.2f, - MaximumDistance = 3f - }; - obj37.Locations = list73; - reference55 = obj37; - gatheringNodeGroup18.Nodes = list71; - reference53 = gatheringNodeGroup18; - gatheringRoot6.Groups = list64; - AddLocation(728, gatheringRoot6); - GatheringRoot gatheringRoot7 = new GatheringRoot(); - num = 1; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - CollectionsMarshal.AsSpan(list74)[0] = "liza"; - gatheringRoot7.Author = list74; - num = 1; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.None, null, null, 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - gatheringRoot7.Steps = list75; - num = 3; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - Span span30 = CollectionsMarshal.AsSpan(list76); - ref GatheringNodeGroup reference56 = ref span30[0]; - GatheringNodeGroup gatheringNodeGroup19 = new GatheringNodeGroup(); - num2 = 2; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - Span span31 = CollectionsMarshal.AsSpan(list77); - ref GatheringNode reference57 = ref span31[0]; - GatheringNode obj38 = new GatheringNode - { - DataId = 33321u - }; - num3 = 1; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - CollectionsMarshal.AsSpan(list78)[0] = new GatheringLocation - { - Position = new Vector3(518.1079f, 218.4718f, -593.7597f), - MinimumAngle = -140, - MaximumAngle = 70 - }; - obj38.Locations = list78; - reference57 = obj38; - ref GatheringNode reference58 = ref span31[1]; - GatheringNode obj39 = new GatheringNode - { - DataId = 33322u - }; - num3 = 2; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - Span span32 = CollectionsMarshal.AsSpan(list79); - span32[0] = new GatheringLocation - { - Position = new Vector3(543.8551f, 223.6571f, -583.9418f), - MinimumAngle = 175, - MaximumAngle = 290 - }; - span32[1] = new GatheringLocation - { - Position = new Vector3(513.8116f, 218.4708f, -580.1434f), - MinimumAngle = 0, - MaximumAngle = 145 - }; - obj39.Locations = list79; - reference58 = obj39; - gatheringNodeGroup19.Nodes = list77; - reference56 = gatheringNodeGroup19; - ref GatheringNodeGroup reference59 = ref span30[1]; - GatheringNodeGroup gatheringNodeGroup20 = new GatheringNodeGroup(); - num2 = 2; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - Span span33 = CollectionsMarshal.AsSpan(list80); - ref GatheringNode reference60 = ref span33[0]; - GatheringNode obj40 = new GatheringNode - { - DataId = 33323u - }; - num3 = 1; - List list81 = new List(num3); - CollectionsMarshal.SetCount(list81, num3); - CollectionsMarshal.AsSpan(list81)[0] = new GatheringLocation - { - Position = new Vector3(648.0388f, 230.7679f, -678.8027f), - MinimumAngle = 225, - MaximumAngle = 345 - }; - obj40.Locations = list81; - reference60 = obj40; - ref GatheringNode reference61 = ref span33[1]; - GatheringNode obj41 = new GatheringNode - { - DataId = 33324u - }; - num3 = 1; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - CollectionsMarshal.AsSpan(list82)[0] = new GatheringLocation - { - Position = new Vector3(675.1682f, 234.6712f, -675.749f), - MinimumAngle = -55, - MaximumAngle = 85 - }; - obj41.Locations = list82; - reference61 = obj41; - gatheringNodeGroup20.Nodes = list80; - reference59 = gatheringNodeGroup20; - ref GatheringNodeGroup reference62 = ref span30[2]; - GatheringNodeGroup gatheringNodeGroup21 = new GatheringNodeGroup(); - num2 = 2; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - Span span34 = CollectionsMarshal.AsSpan(list83); - ref GatheringNode reference63 = ref span34[0]; - GatheringNode obj42 = new GatheringNode - { - DataId = 33320u - }; - num3 = 1; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - CollectionsMarshal.AsSpan(list84)[0] = new GatheringLocation - { - Position = new Vector3(722.4699f, 242.8886f, -598.9974f), - MinimumAngle = 65, - MaximumAngle = 195 - }; - obj42.Locations = list84; - reference63 = obj42; - ref GatheringNode reference64 = ref span34[1]; - GatheringNode obj43 = new GatheringNode - { - DataId = 33319u - }; - num3 = 1; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - CollectionsMarshal.AsSpan(list85)[0] = new GatheringLocation - { - Position = new Vector3(718.4479f, 244.6019f, -583.6996f), - MinimumAngle = 45, - MaximumAngle = 190 - }; - obj43.Locations = list85; - reference64 = obj43; - gatheringNodeGroup21.Nodes = list83; - reference62 = gatheringNodeGroup21; - gatheringRoot7.Groups = list76; - AddLocation(729, gatheringRoot7); - GatheringRoot gatheringRoot8 = new GatheringRoot(); - num = 1; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - CollectionsMarshal.AsSpan(list86)[0] = "liza"; - gatheringRoot8.Author = list86; - num = 2; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - Span span35 = CollectionsMarshal.AsSpan(list87); - span35[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(322.1539f, -121.22571f, -314.2446f), 613) - { - RestartNavigationIfCancelled = false, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span35[1] = new QuestStep(EInteractionType.None, null, null, 613); - gatheringRoot8.Steps = list87; - num = 3; - List list88 = new List(num); - CollectionsMarshal.SetCount(list88, num); - Span span36 = CollectionsMarshal.AsSpan(list88); - ref GatheringNodeGroup reference65 = ref span36[0]; - GatheringNodeGroup gatheringNodeGroup22 = new GatheringNodeGroup(); - num2 = 2; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - Span span37 = CollectionsMarshal.AsSpan(list89); - ref GatheringNode reference66 = ref span37[0]; - GatheringNode obj44 = new GatheringNode - { - DataId = 33325u - }; - num3 = 1; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - CollectionsMarshal.AsSpan(list90)[0] = new GatheringLocation - { - Position = new Vector3(953.1041f, -127.1716f, -816.3145f), - MinimumAngle = -25, - MaximumAngle = 100 - }; - obj44.Locations = list90; - reference66 = obj44; - ref GatheringNode reference67 = ref span37[1]; - GatheringNode obj45 = new GatheringNode - { - DataId = 33326u - }; - num3 = 2; - List list91 = new List(num3); - CollectionsMarshal.SetCount(list91, num3); - Span span38 = CollectionsMarshal.AsSpan(list91); - span38[0] = new GatheringLocation - { - Position = new Vector3(956.8734f, -129.366f, -843.1625f), - MinimumAngle = 75, - MaximumAngle = 210 - }; - span38[1] = new GatheringLocation - { - Position = new Vector3(976.0558f, -131.5356f, -813.2305f), - MinimumAngle = -65, - MaximumAngle = 30, - MinimumDistance = 1.4f, - MaximumDistance = 3f - }; - obj45.Locations = list91; - reference67 = obj45; - gatheringNodeGroup22.Nodes = list89; - reference65 = gatheringNodeGroup22; - ref GatheringNodeGroup reference68 = ref span36[1]; - GatheringNodeGroup gatheringNodeGroup23 = new GatheringNodeGroup(); - num2 = 2; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - Span span39 = CollectionsMarshal.AsSpan(list92); - ref GatheringNode reference69 = ref span39[0]; - GatheringNode obj46 = new GatheringNode - { - DataId = 33327u - }; - num3 = 1; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - CollectionsMarshal.AsSpan(list93)[0] = new GatheringLocation - { - Position = new Vector3(887.1607f, -141.6279f, -863.3355f), - MinimumAngle = 185, - MaximumAngle = 340 - }; - obj46.Locations = list93; - reference69 = obj46; - ref GatheringNode reference70 = ref span39[1]; - GatheringNode obj47 = new GatheringNode - { - DataId = 33328u - }; - num3 = 2; - List list94 = new List(num3); - CollectionsMarshal.SetCount(list94, num3); - Span span40 = CollectionsMarshal.AsSpan(list94); - span40[0] = new GatheringLocation - { - Position = new Vector3(874.0369f, -135.9791f, -848.3512f), - MinimumAngle = -80, - MaximumAngle = 60 - }; - span40[1] = new GatheringLocation - { - Position = new Vector3(895.865f, -144.0468f, -890.5269f), - MinimumAngle = 195, - MaximumAngle = 315 - }; - obj47.Locations = list94; - reference70 = obj47; - gatheringNodeGroup23.Nodes = list92; - reference68 = gatheringNodeGroup23; - ref GatheringNodeGroup reference71 = ref span36[2]; - GatheringNodeGroup gatheringNodeGroup24 = new GatheringNodeGroup(); - num2 = 2; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - Span span41 = CollectionsMarshal.AsSpan(list95); - ref GatheringNode reference72 = ref span41[0]; - GatheringNode obj48 = new GatheringNode - { - DataId = 33329u - }; - num3 = 1; - List list96 = new List(num3); - CollectionsMarshal.SetCount(list96, num3); - CollectionsMarshal.AsSpan(list96)[0] = new GatheringLocation - { - Position = new Vector3(836.5433f, -140.1729f, -948.7974f), - MinimumAngle = 130, - MaximumAngle = 295 - }; - obj48.Locations = list96; - reference72 = obj48; - ref GatheringNode reference73 = ref span41[1]; - GatheringNode obj49 = new GatheringNode - { - DataId = 33330u - }; - num3 = 2; - List list97 = new List(num3); - CollectionsMarshal.SetCount(list97, num3); - Span span42 = CollectionsMarshal.AsSpan(list97); - span42[0] = new GatheringLocation - { - Position = new Vector3(843.2012f, -139.2853f, -961.9124f), - MinimumAngle = -95, - MaximumAngle = 15, - MinimumDistance = 1.3f, - MaximumDistance = 3f - }; - span42[1] = new GatheringLocation - { - Position = new Vector3(856.3994f, -142.4276f, -941.0324f), - MinimumAngle = 115, - MaximumAngle = 265 - }; - obj49.Locations = list97; - reference73 = obj49; - gatheringNodeGroup24.Nodes = list95; - reference71 = gatheringNodeGroup24; - gatheringRoot8.Groups = list88; - AddLocation(730, gatheringRoot8); - GatheringRoot gatheringRoot9 = new GatheringRoot(); - num = 1; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - CollectionsMarshal.AsSpan(list98)[0] = "liza"; - gatheringRoot9.Author = list98; - num = 1; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.None, null, null, 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaNamai - }; - gatheringRoot9.Steps = list99; - num = 3; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - Span span43 = CollectionsMarshal.AsSpan(list100); - ref GatheringNodeGroup reference74 = ref span43[0]; - GatheringNodeGroup gatheringNodeGroup25 = new GatheringNodeGroup(); - num2 = 2; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - Span span44 = CollectionsMarshal.AsSpan(list101); - ref GatheringNode reference75 = ref span44[0]; - GatheringNode obj50 = new GatheringNode - { - DataId = 33334u - }; - num3 = 2; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - Span span45 = CollectionsMarshal.AsSpan(list102); - span45[0] = new GatheringLocation - { - Position = new Vector3(-222.386f, 23.28162f, 425.76f) - }; - span45[1] = new GatheringLocation - { - Position = new Vector3(-209.1725f, 22.35068f, 425.5524f) - }; - obj50.Locations = list102; - reference75 = obj50; - ref GatheringNode reference76 = ref span44[1]; - GatheringNode obj51 = new GatheringNode - { - DataId = 33333u - }; - num3 = 1; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - CollectionsMarshal.AsSpan(list103)[0] = new GatheringLocation - { - Position = new Vector3(-219.9592f, 22.78741f, 431.5036f) - }; - obj51.Locations = list103; - reference76 = obj51; - gatheringNodeGroup25.Nodes = list101; - reference74 = gatheringNodeGroup25; - ref GatheringNodeGroup reference77 = ref span43[1]; - GatheringNodeGroup gatheringNodeGroup26 = new GatheringNodeGroup(); - num2 = 2; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - Span span46 = CollectionsMarshal.AsSpan(list104); - ref GatheringNode reference78 = ref span46[0]; - GatheringNode obj52 = new GatheringNode - { - DataId = 33335u - }; - num3 = 1; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - CollectionsMarshal.AsSpan(list105)[0] = new GatheringLocation - { - Position = new Vector3(-349.8553f, 33.90925f, 452.5893f), - MinimumAngle = -90, - MaximumAngle = 90 - }; - obj52.Locations = list105; - reference78 = obj52; - ref GatheringNode reference79 = ref span46[1]; - GatheringNode obj53 = new GatheringNode - { - DataId = 33336u - }; - num3 = 2; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - Span span47 = CollectionsMarshal.AsSpan(list106); - span47[0] = new GatheringLocation - { - Position = new Vector3(-361.5062f, 33.49068f, 453.4639f) - }; - span47[1] = new GatheringLocation - { - Position = new Vector3(-359.826f, 35.47207f, 442.164f) - }; - obj53.Locations = list106; - reference79 = obj53; - gatheringNodeGroup26.Nodes = list104; - reference77 = gatheringNodeGroup26; - ref GatheringNodeGroup reference80 = ref span43[2]; - GatheringNodeGroup gatheringNodeGroup27 = new GatheringNodeGroup(); - num2 = 2; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - Span span48 = CollectionsMarshal.AsSpan(list107); - ref GatheringNode reference81 = ref span48[0]; - GatheringNode obj54 = new GatheringNode - { - DataId = 33331u - }; - num3 = 1; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - CollectionsMarshal.AsSpan(list108)[0] = new GatheringLocation - { - Position = new Vector3(-231.3864f, 17.74118f, 511.0694f) - }; - obj54.Locations = list108; - reference81 = obj54; - ref GatheringNode reference82 = ref span48[1]; - GatheringNode obj55 = new GatheringNode - { - DataId = 33332u - }; - num3 = 2; - List list109 = new List(num3); - CollectionsMarshal.SetCount(list109, num3); - Span span49 = CollectionsMarshal.AsSpan(list109); - span49[0] = new GatheringLocation - { - Position = new Vector3(-219.0789f, 18.05494f, 525.418f) - }; - span49[1] = new GatheringLocation - { - Position = new Vector3(-220.9139f, 17.97838f, 514.0063f) - }; - obj55.Locations = list109; - reference82 = obj55; - gatheringNodeGroup27.Nodes = list107; - reference80 = gatheringNodeGroup27; - gatheringRoot9.Groups = list100; - AddLocation(731, gatheringRoot9); - GatheringRoot gatheringRoot10 = new GatheringRoot(); - num = 1; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - CollectionsMarshal.AsSpan(list110)[0] = "liza"; - gatheringRoot10.Author = list110; - num = 1; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.None, null, null, 621) - { - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter - }; - gatheringRoot10.Steps = list111; - num = 3; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - Span span50 = CollectionsMarshal.AsSpan(list112); - ref GatheringNodeGroup reference83 = ref span50[0]; - GatheringNodeGroup gatheringNodeGroup28 = new GatheringNodeGroup(); - num2 = 2; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - Span span51 = CollectionsMarshal.AsSpan(list113); - ref GatheringNode reference84 = ref span51[0]; - GatheringNode obj56 = new GatheringNode - { - DataId = 33339u - }; - num3 = 1; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - CollectionsMarshal.AsSpan(list114)[0] = new GatheringLocation - { - Position = new Vector3(440.6299f, 74.86803f, -205.3779f), - MinimumAngle = 85, - MaximumAngle = 215 - }; - obj56.Locations = list114; - reference84 = obj56; - ref GatheringNode reference85 = ref span51[1]; - GatheringNode obj57 = new GatheringNode - { - DataId = 33340u - }; - num3 = 2; - List list115 = new List(num3); - CollectionsMarshal.SetCount(list115, num3); - Span span52 = CollectionsMarshal.AsSpan(list115); - span52[0] = new GatheringLocation - { - Position = new Vector3(426.4497f, 70.57706f, -198.046f), - MinimumAngle = 95, - MaximumAngle = 180, - MinimumDistance = 1.3f, - MaximumDistance = 3f - }; - span52[1] = new GatheringLocation - { - Position = new Vector3(453.1248f, 77.29013f, -211.6347f), - MinimumAngle = 85, - MaximumAngle = 190 - }; - obj57.Locations = list115; - reference85 = obj57; - gatheringNodeGroup28.Nodes = list113; - reference83 = gatheringNodeGroup28; - ref GatheringNodeGroup reference86 = ref span50[1]; - GatheringNodeGroup gatheringNodeGroup29 = new GatheringNodeGroup(); - num2 = 2; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - Span span53 = CollectionsMarshal.AsSpan(list116); - ref GatheringNode reference87 = ref span53[0]; - GatheringNode obj58 = new GatheringNode - { - DataId = 33337u - }; - num3 = 1; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - CollectionsMarshal.AsSpan(list117)[0] = new GatheringLocation - { - Position = new Vector3(561.2196f, 94.65154f, -315.6258f), - MinimumAngle = 50, - MaximumAngle = 160 - }; - obj58.Locations = list117; - reference87 = obj58; - ref GatheringNode reference88 = ref span53[1]; - GatheringNode obj59 = new GatheringNode - { - DataId = 33338u - }; - num3 = 1; - List list118 = new List(num3); - CollectionsMarshal.SetCount(list118, num3); - CollectionsMarshal.AsSpan(list118)[0] = new GatheringLocation - { - Position = new Vector3(563.1749f, 93.41929f, -335.4834f), - MinimumAngle = -25, - MaximumAngle = 75 - }; - obj59.Locations = list118; - reference88 = obj59; - gatheringNodeGroup29.Nodes = list116; - reference86 = gatheringNodeGroup29; - ref GatheringNodeGroup reference89 = ref span50[2]; - GatheringNodeGroup gatheringNodeGroup30 = new GatheringNodeGroup(); - num2 = 2; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - Span span54 = CollectionsMarshal.AsSpan(list119); - ref GatheringNode reference90 = ref span54[0]; - GatheringNode obj60 = new GatheringNode - { - DataId = 33341u - }; - num3 = 1; - List list120 = new List(num3); - CollectionsMarshal.SetCount(list120, num3); - CollectionsMarshal.AsSpan(list120)[0] = new GatheringLocation - { - Position = new Vector3(388.9345f, 54.85489f, -350.8919f), - MinimumAngle = 55, - MaximumAngle = 150 - }; - obj60.Locations = list120; - reference90 = obj60; - ref GatheringNode reference91 = ref span54[1]; - GatheringNode obj61 = new GatheringNode - { - DataId = 33342u - }; - num3 = 1; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - CollectionsMarshal.AsSpan(list121)[0] = new GatheringLocation - { - Position = new Vector3(394.7824f, 51.66671f, -369.6645f), - MinimumAngle = 70, - MaximumAngle = 135 - }; - obj61.Locations = list121; - reference91 = obj61; - gatheringNodeGroup30.Nodes = list119; - reference89 = gatheringNodeGroup30; - gatheringRoot10.Groups = list112; - AddLocation(732, gatheringRoot10); - GatheringRoot gatheringRoot11 = new GatheringRoot(); - num = 1; - List list122 = new List(num); - CollectionsMarshal.SetCount(list122, num); - CollectionsMarshal.AsSpan(list122)[0] = "liza"; - gatheringRoot11.Author = list122; - num = 1; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.None, null, null, 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - gatheringRoot11.Steps = list123; - num = 1; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - ref GatheringNodeGroup reference92 = ref CollectionsMarshal.AsSpan(list124)[0]; - GatheringNodeGroup gatheringNodeGroup31 = new GatheringNodeGroup(); - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - ref GatheringNode reference93 = ref CollectionsMarshal.AsSpan(list125)[0]; - GatheringNode obj62 = new GatheringNode - { - DataId = 33028u - }; - num3 = 1; - List list126 = new List(num3); - CollectionsMarshal.SetCount(list126, num3); - CollectionsMarshal.AsSpan(list126)[0] = new GatheringLocation - { - Position = new Vector3(454.6367f, 227.1414f, -731.7471f), - MinimumAngle = -120, - MaximumAngle = 65 - }; - obj62.Locations = list126; - reference93 = obj62; - gatheringNodeGroup31.Nodes = list125; - reference92 = gatheringNodeGroup31; - gatheringRoot11.Groups = list124; - AddLocation(777, gatheringRoot11); - } - - private static void LoadLocation8() - { - GatheringRoot gatheringRoot = new GatheringRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - gatheringRoot.Author = list; - num = 1; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - CollectionsMarshal.AsSpan(list2)[0] = new QuestStep(EInteractionType.None, null, null, 399) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshirePrologueGate - } - }; - gatheringRoot.Steps = list2; - num = 3; - List list3 = new List(num); - CollectionsMarshal.SetCount(list3, num); - Span span = CollectionsMarshal.AsSpan(list3); - ref GatheringNodeGroup reference = ref span[0]; - GatheringNodeGroup gatheringNodeGroup = new GatheringNodeGroup(); - int num2 = 2; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - ref GatheringNode reference2 = ref span2[0]; - GatheringNode obj = new GatheringNode - { - DataId = 33856u - }; - int num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = new GatheringLocation - { - Position = new Vector3(-395.4635f, 144.1793f, -249.5864f), - MinimumAngle = -190, - MaximumAngle = 0 - }; - obj.Locations = list5; - reference2 = obj; - ref GatheringNode reference3 = ref span2[1]; - GatheringNode obj2 = new GatheringNode - { - DataId = 33855u - }; - num3 = 1; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - CollectionsMarshal.AsSpan(list6)[0] = new GatheringLocation - { - Position = new Vector3(-398.5591f, 144.6183f, -241.8769f), - MinimumAngle = -140, - MaximumAngle = -20 - }; - obj2.Locations = list6; - reference3 = obj2; - gatheringNodeGroup.Nodes = list4; - reference = gatheringNodeGroup; - ref GatheringNodeGroup reference4 = ref span[1]; - GatheringNodeGroup gatheringNodeGroup2 = new GatheringNodeGroup(); - num2 = 2; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - Span span3 = CollectionsMarshal.AsSpan(list7); - ref GatheringNode reference5 = ref span3[0]; - GatheringNode obj3 = new GatheringNode - { - DataId = 33857u - }; - num3 = 1; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - CollectionsMarshal.AsSpan(list8)[0] = new GatheringLocation - { - Position = new Vector3(-407.5786f, 149.6453f, -93.85593f), - MinimumAngle = 185, - MaximumAngle = 280, - MinimumDistance = 2f, - MaximumDistance = 3f - }; - obj3.Locations = list8; - reference5 = obj3; - ref GatheringNode reference6 = ref span3[1]; - GatheringNode obj4 = new GatheringNode - { - DataId = 33858u - }; - num3 = 1; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - CollectionsMarshal.AsSpan(list9)[0] = new GatheringLocation - { - Position = new Vector3(-413.9488f, 148.9834f, -71.42188f), - MinimumAngle = 165, - MaximumAngle = 285 - }; - obj4.Locations = list9; - reference6 = obj4; - gatheringNodeGroup2.Nodes = list7; - reference4 = gatheringNodeGroup2; - ref GatheringNodeGroup reference7 = ref span[2]; - GatheringNodeGroup gatheringNodeGroup3 = new GatheringNodeGroup(); - num2 = 2; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span4 = CollectionsMarshal.AsSpan(list10); - ref GatheringNode reference8 = ref span4[0]; - GatheringNode obj5 = new GatheringNode - { - DataId = 33860u - }; - num3 = 1; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - CollectionsMarshal.AsSpan(list11)[0] = new GatheringLocation - { - Position = new Vector3(-254.579f, 147.4603f, -91.96173f), - MinimumAngle = 30, - MaximumAngle = 130 - }; - obj5.Locations = list11; - reference8 = obj5; - ref GatheringNode reference9 = ref span4[1]; - GatheringNode obj6 = new GatheringNode - { - DataId = 33859u - }; - num3 = 1; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - CollectionsMarshal.AsSpan(list12)[0] = new GatheringLocation - { - Position = new Vector3(-254.9425f, 146.4598f, -105.2472f), - MinimumAngle = 35, - MaximumAngle = 155 - }; - obj6.Locations = list12; - reference9 = obj6; - gatheringNodeGroup3.Nodes = list10; - reference7 = gatheringNodeGroup3; - gatheringRoot.Groups = list3; - AddLocation(808, gatheringRoot); - GatheringRoot gatheringRoot2 = new GatheringRoot(); - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = "liza"; - gatheringRoot2.Author = list13; - num = 1; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.None, null, null, 399) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshireEpilogueGate - } - }; - gatheringRoot2.Steps = list14; - num = 3; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - Span span5 = CollectionsMarshal.AsSpan(list15); - ref GatheringNodeGroup reference10 = ref span5[0]; - GatheringNodeGroup gatheringNodeGroup4 = new GatheringNodeGroup(); - num2 = 2; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - Span span6 = CollectionsMarshal.AsSpan(list16); - ref GatheringNode reference11 = ref span6[0]; - GatheringNode obj7 = new GatheringNode - { - DataId = 33866u - }; - num3 = 1; - List list17 = new List(num3); - CollectionsMarshal.SetCount(list17, num3); - CollectionsMarshal.AsSpan(list17)[0] = new GatheringLocation - { - Position = new Vector3(679.6339f, 116.0614f, 134.6795f), - MinimumAngle = 200, - MaximumAngle = 320 - }; - obj7.Locations = list17; - reference11 = obj7; - ref GatheringNode reference12 = ref span6[1]; - GatheringNode obj8 = new GatheringNode - { - DataId = 33865u - }; - num3 = 1; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - CollectionsMarshal.AsSpan(list18)[0] = new GatheringLocation - { - Position = new Vector3(697.5129f, 122.1484f, 146.8725f), - MinimumAngle = -205, - MaximumAngle = -10 - }; - obj8.Locations = list18; - reference12 = obj8; - gatheringNodeGroup4.Nodes = list16; - reference10 = gatheringNodeGroup4; - ref GatheringNodeGroup reference13 = ref span5[1]; - GatheringNodeGroup gatheringNodeGroup5 = new GatheringNodeGroup(); - num2 = 2; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - Span span7 = CollectionsMarshal.AsSpan(list19); - ref GatheringNode reference14 = ref span7[0]; - GatheringNode obj9 = new GatheringNode - { - DataId = 33862u - }; - num3 = 1; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - CollectionsMarshal.AsSpan(list20)[0] = new GatheringLocation - { - Position = new Vector3(809.8756f, 152.7643f, 205.2242f), - MinimumAngle = -95, - MaximumAngle = 90 - }; - obj9.Locations = list20; - reference14 = obj9; - ref GatheringNode reference15 = ref span7[1]; - GatheringNode obj10 = new GatheringNode - { - DataId = 33861u - }; - num3 = 1; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - CollectionsMarshal.AsSpan(list21)[0] = new GatheringLocation - { - Position = new Vector3(834.4771f, 154.8756f, 206.0541f), - MinimumAngle = 35, - MaximumAngle = 185 - }; - obj10.Locations = list21; - reference15 = obj10; - gatheringNodeGroup5.Nodes = list19; - reference13 = gatheringNodeGroup5; - ref GatheringNodeGroup reference16 = ref span5[2]; - GatheringNodeGroup gatheringNodeGroup6 = new GatheringNodeGroup(); - num2 = 2; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - Span span8 = CollectionsMarshal.AsSpan(list22); - ref GatheringNode reference17 = ref span8[0]; - GatheringNode obj11 = new GatheringNode - { - DataId = 33863u - }; - num3 = 1; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - CollectionsMarshal.AsSpan(list23)[0] = new GatheringLocation - { - Position = new Vector3(781.7728f, 134.6856f, -22.00103f), - MinimumAngle = 0, - MaximumAngle = 135 - }; - obj11.Locations = list23; - reference17 = obj11; - ref GatheringNode reference18 = ref span8[1]; - GatheringNode obj12 = new GatheringNode - { - DataId = 33864u - }; - num3 = 1; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - CollectionsMarshal.AsSpan(list24)[0] = new GatheringLocation - { - Position = new Vector3(774.9854f, 134.3857f, -27.45042f), - MinimumAngle = -25, - MaximumAngle = 120 - }; - obj12.Locations = list24; - reference18 = obj12; - gatheringNodeGroup6.Nodes = list22; - reference16 = gatheringNodeGroup6; - gatheringRoot2.Groups = list15; - AddLocation(809, gatheringRoot2); - GatheringRoot gatheringRoot3 = new GatheringRoot(); - num = 1; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - CollectionsMarshal.AsSpan(list25)[0] = "liza"; - gatheringRoot3.Author = list25; - num = 1; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.None, null, null, 612) - { - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones - }; - gatheringRoot3.Steps = list26; - num = 3; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - Span span9 = CollectionsMarshal.AsSpan(list27); - ref GatheringNodeGroup reference19 = ref span9[0]; - GatheringNodeGroup gatheringNodeGroup7 = new GatheringNodeGroup(); - num2 = 2; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - Span span10 = CollectionsMarshal.AsSpan(list28); - ref GatheringNode reference20 = ref span10[0]; - GatheringNode obj13 = new GatheringNode - { - DataId = 33871u - }; - num3 = 1; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - CollectionsMarshal.AsSpan(list29)[0] = new GatheringLocation - { - Position = new Vector3(556.8531f, 73.44064f, 99.57761f), - MinimumAngle = 35, - MaximumAngle = 160 - }; - obj13.Locations = list29; - reference20 = obj13; - ref GatheringNode reference21 = ref span10[1]; - GatheringNode obj14 = new GatheringNode - { - DataId = 33872u - }; - num3 = 1; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - CollectionsMarshal.AsSpan(list30)[0] = new GatheringLocation - { - Position = new Vector3(561.7782f, 73.45153f, 72.6368f), - MinimumAngle = 15, - MaximumAngle = 165, - MinimumDistance = 1.3f, - MaximumDistance = 3f - }; - obj14.Locations = list30; - reference21 = obj14; - gatheringNodeGroup7.Nodes = list28; - reference19 = gatheringNodeGroup7; - ref GatheringNodeGroup reference22 = ref span9[1]; - GatheringNodeGroup gatheringNodeGroup8 = new GatheringNodeGroup(); - num2 = 2; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - Span span11 = CollectionsMarshal.AsSpan(list31); - ref GatheringNode reference23 = ref span11[0]; - GatheringNode obj15 = new GatheringNode - { - DataId = 33867u - }; - num3 = 1; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - CollectionsMarshal.AsSpan(list32)[0] = new GatheringLocation - { - Position = new Vector3(498.26f, 76.74628f, -46.34168f), - MinimumAngle = -65, - MaximumAngle = 45 - }; - obj15.Locations = list32; - reference23 = obj15; - ref GatheringNode reference24 = ref span11[1]; - GatheringNode obj16 = new GatheringNode - { - DataId = 33868u - }; - num3 = 1; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - CollectionsMarshal.AsSpan(list33)[0] = new GatheringLocation - { - Position = new Vector3(473.011f, 76.55681f, -47.70556f), - MinimumAngle = -45, - MaximumAngle = 60, - MinimumDistance = 1.9f, - MaximumDistance = 3f - }; - obj16.Locations = list33; - reference24 = obj16; - gatheringNodeGroup8.Nodes = list31; - reference22 = gatheringNodeGroup8; - ref GatheringNodeGroup reference25 = ref span9[2]; - GatheringNodeGroup gatheringNodeGroup9 = new GatheringNodeGroup(); - num2 = 2; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - Span span12 = CollectionsMarshal.AsSpan(list34); - ref GatheringNode reference26 = ref span12[0]; - GatheringNode obj17 = new GatheringNode - { - DataId = 33870u - }; - num3 = 1; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - CollectionsMarshal.AsSpan(list35)[0] = new GatheringLocation - { - Position = new Vector3(361.4784f, 70.79905f, 146.1887f), - MinimumAngle = -55, - MaximumAngle = 40, - MinimumDistance = 1.3f, - MaximumDistance = 3f - }; - obj17.Locations = list35; - reference26 = obj17; - ref GatheringNode reference27 = ref span12[1]; - GatheringNode obj18 = new GatheringNode - { - DataId = 33869u - }; - num3 = 1; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - CollectionsMarshal.AsSpan(list36)[0] = new GatheringLocation - { - Position = new Vector3(364.7684f, 70.90228f, 167.3831f), - MinimumAngle = 105, - MaximumAngle = 230 - }; - obj18.Locations = list36; - reference27 = obj18; - gatheringNodeGroup9.Nodes = list34; - reference25 = gatheringNodeGroup9; - gatheringRoot3.Groups = list27; - AddLocation(810, gatheringRoot3); - GatheringRoot gatheringRoot4 = new GatheringRoot(); - num = 1; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - CollectionsMarshal.AsSpan(list37)[0] = "liza"; - gatheringRoot4.Author = list37; - num = 1; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.None, null, null, 612) - { - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones - }; - gatheringRoot4.Steps = list38; - num = 3; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - Span span13 = CollectionsMarshal.AsSpan(list39); - ref GatheringNodeGroup reference28 = ref span13[0]; - GatheringNodeGroup gatheringNodeGroup10 = new GatheringNodeGroup(); - num2 = 2; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - Span span14 = CollectionsMarshal.AsSpan(list40); - ref GatheringNode reference29 = ref span14[0]; - GatheringNode obj19 = new GatheringNode - { - DataId = 33875u - }; - num3 = 1; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - CollectionsMarshal.AsSpan(list41)[0] = new GatheringLocation - { - Position = new Vector3(567.9412f, 50.43103f, 373.1152f), - MinimumAngle = 200, - MaximumAngle = 350 - }; - obj19.Locations = list41; - reference29 = obj19; - ref GatheringNode reference30 = ref span14[1]; - GatheringNode obj20 = new GatheringNode - { - DataId = 33876u - }; - num3 = 1; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - CollectionsMarshal.AsSpan(list42)[0] = new GatheringLocation - { - Position = new Vector3(578.4171f, 48.36443f, 365.4806f), - MinimumAngle = -45, - MaximumAngle = 120 - }; - obj20.Locations = list42; - reference30 = obj20; - gatheringNodeGroup10.Nodes = list40; - reference28 = gatheringNodeGroup10; - ref GatheringNodeGroup reference31 = ref span13[1]; - GatheringNodeGroup gatheringNodeGroup11 = new GatheringNodeGroup(); - num2 = 2; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - Span span15 = CollectionsMarshal.AsSpan(list43); - ref GatheringNode reference32 = ref span15[0]; - GatheringNode obj21 = new GatheringNode - { - DataId = 33873u - }; - num3 = 1; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - CollectionsMarshal.AsSpan(list44)[0] = new GatheringLocation - { - Position = new Vector3(599.5352f, 75.60928f, 244.3069f), - MinimumAngle = -80, - MaximumAngle = 70 - }; - obj21.Locations = list44; - reference32 = obj21; - ref GatheringNode reference33 = ref span15[1]; - GatheringNode obj22 = new GatheringNode - { - DataId = 33874u - }; - num3 = 1; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - CollectionsMarshal.AsSpan(list45)[0] = new GatheringLocation - { - Position = new Vector3(592.9609f, 75.62624f, 268.9515f), - MinimumAngle = 110, - MaximumAngle = 285 - }; - obj22.Locations = list45; - reference33 = obj22; - gatheringNodeGroup11.Nodes = list43; - reference31 = gatheringNodeGroup11; - ref GatheringNodeGroup reference34 = ref span13[2]; - GatheringNodeGroup gatheringNodeGroup12 = new GatheringNodeGroup(); - num2 = 2; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - Span span16 = CollectionsMarshal.AsSpan(list46); - ref GatheringNode reference35 = ref span16[0]; - GatheringNode obj23 = new GatheringNode - { - DataId = 33878u - }; - num3 = 1; - List list47 = new List(num3); - CollectionsMarshal.SetCount(list47, num3); - CollectionsMarshal.AsSpan(list47)[0] = new GatheringLocation - { - Position = new Vector3(753.3094f, 72.73058f, 364.073f), - MinimumAngle = 95, - MaximumAngle = 240 - }; - obj23.Locations = list47; - reference35 = obj23; - ref GatheringNode reference36 = ref span16[1]; - GatheringNode obj24 = new GatheringNode - { - DataId = 33877u - }; - num3 = 1; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - CollectionsMarshal.AsSpan(list48)[0] = new GatheringLocation - { - Position = new Vector3(764.3023f, 74.18732f, 337.2563f), - MinimumAngle = -70, - MaximumAngle = 105 - }; - obj24.Locations = list48; - reference36 = obj24; - gatheringNodeGroup12.Nodes = list46; - reference34 = gatheringNodeGroup12; - gatheringRoot4.Groups = list39; - AddLocation(811, gatheringRoot4); - GatheringRoot gatheringRoot5 = new GatheringRoot(); - num = 1; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - CollectionsMarshal.AsSpan(list49)[0] = "liza"; - gatheringRoot5.Author = list49; - num = 1; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.None, null, null, 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion - }; - gatheringRoot5.Steps = list50; - num = 3; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - Span span17 = CollectionsMarshal.AsSpan(list51); - ref GatheringNodeGroup reference37 = ref span17[0]; - GatheringNodeGroup gatheringNodeGroup13 = new GatheringNodeGroup(); - num2 = 2; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - Span span18 = CollectionsMarshal.AsSpan(list52); - ref GatheringNode reference38 = ref span18[0]; - GatheringNode obj25 = new GatheringNode - { - DataId = 33883u - }; - num3 = 1; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - CollectionsMarshal.AsSpan(list53)[0] = new GatheringLocation - { - Position = new Vector3(128.0255f, -1.00095f, 322.0047f), - MinimumAngle = -120, - MaximumAngle = 65 - }; - obj25.Locations = list53; - reference38 = obj25; - ref GatheringNode reference39 = ref span18[1]; - GatheringNode obj26 = new GatheringNode - { - DataId = 33884u - }; - num3 = 1; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - CollectionsMarshal.AsSpan(list54)[0] = new GatheringLocation - { - Position = new Vector3(116.5815f, -1.584854f, 321.8561f), - MinimumAngle = -65, - MaximumAngle = 100 - }; - obj26.Locations = list54; - reference39 = obj26; - gatheringNodeGroup13.Nodes = list52; - reference37 = gatheringNodeGroup13; - ref GatheringNodeGroup reference40 = ref span17[1]; - GatheringNodeGroup gatheringNodeGroup14 = new GatheringNodeGroup(); - num2 = 2; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - Span span19 = CollectionsMarshal.AsSpan(list55); - ref GatheringNode reference41 = ref span19[0]; - GatheringNode obj27 = new GatheringNode - { - DataId = 33882u - }; - num3 = 1; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - CollectionsMarshal.AsSpan(list56)[0] = new GatheringLocation - { - Position = new Vector3(-31.5303f, -2.218102f, 328.7178f), - MinimumAngle = 110, - MaximumAngle = 255 - }; - obj27.Locations = list56; - reference41 = obj27; - ref GatheringNode reference42 = ref span19[1]; - GatheringNode obj28 = new GatheringNode - { - DataId = 33881u - }; - num3 = 1; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - CollectionsMarshal.AsSpan(list57)[0] = new GatheringLocation - { - Position = new Vector3(-44.53269f, -1.966054f, 332.6949f), - MinimumAngle = 120, - MaximumAngle = 225 - }; - obj28.Locations = list57; - reference42 = obj28; - gatheringNodeGroup14.Nodes = list55; - reference40 = gatheringNodeGroup14; - ref GatheringNodeGroup reference43 = ref span17[2]; - GatheringNodeGroup gatheringNodeGroup15 = new GatheringNodeGroup(); - num2 = 2; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - Span span20 = CollectionsMarshal.AsSpan(list58); - ref GatheringNode reference44 = ref span20[0]; - GatheringNode obj29 = new GatheringNode - { - DataId = 33880u - }; - num3 = 1; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - CollectionsMarshal.AsSpan(list59)[0] = new GatheringLocation - { - Position = new Vector3(37.46276f, -4.431953f, 425.0844f), - MinimumAngle = 140, - MaximumAngle = 240 - }; - obj29.Locations = list59; - reference44 = obj29; - ref GatheringNode reference45 = ref span20[1]; - GatheringNode obj30 = new GatheringNode - { - DataId = 33879u - }; - num3 = 1; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - CollectionsMarshal.AsSpan(list60)[0] = new GatheringLocation - { - Position = new Vector3(46.12198f, -5.283945f, 426.5148f), - MinimumAngle = 115, - MaximumAngle = 255, - MinimumDistance = 1.5f, - MaximumDistance = 3f - }; - obj30.Locations = list60; - reference45 = obj30; - gatheringNodeGroup15.Nodes = list58; - reference43 = gatheringNodeGroup15; - gatheringRoot5.Groups = list51; - AddLocation(812, gatheringRoot5); - GatheringRoot gatheringRoot6 = new GatheringRoot(); - num = 1; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - CollectionsMarshal.AsSpan(list61)[0] = "liza"; - gatheringRoot6.Author = list61; - num = 1; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.None, null, null, 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone - }; - gatheringRoot6.Steps = list62; - num = 3; - List list63 = new List(num); - CollectionsMarshal.SetCount(list63, num); - Span span21 = CollectionsMarshal.AsSpan(list63); - ref GatheringNodeGroup reference46 = ref span21[0]; - GatheringNodeGroup gatheringNodeGroup16 = new GatheringNodeGroup(); - num2 = 2; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - Span span22 = CollectionsMarshal.AsSpan(list64); - ref GatheringNode reference47 = ref span22[0]; - GatheringNode obj31 = new GatheringNode - { - DataId = 33885u - }; - num3 = 1; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - CollectionsMarshal.AsSpan(list65)[0] = new GatheringLocation - { - Position = new Vector3(288.2408f, 23.61323f, -234.9867f) - }; - obj31.Locations = list65; - reference47 = obj31; - ref GatheringNode reference48 = ref span22[1]; - GatheringNode obj32 = new GatheringNode - { - DataId = 33886u - }; - num3 = 1; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - CollectionsMarshal.AsSpan(list66)[0] = new GatheringLocation - { - Position = new Vector3(281.9221f, 23.03055f, -231.9227f) - }; - obj32.Locations = list66; - reference48 = obj32; - gatheringNodeGroup16.Nodes = list64; - reference46 = gatheringNodeGroup16; - ref GatheringNodeGroup reference49 = ref span21[1]; - GatheringNodeGroup gatheringNodeGroup17 = new GatheringNodeGroup(); - num2 = 2; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - Span span23 = CollectionsMarshal.AsSpan(list67); - ref GatheringNode reference50 = ref span23[0]; - GatheringNode obj33 = new GatheringNode - { - DataId = 33887u - }; - num3 = 1; - List list68 = new List(num3); - CollectionsMarshal.SetCount(list68, num3); - CollectionsMarshal.AsSpan(list68)[0] = new GatheringLocation - { - Position = new Vector3(407.1815f, 26.86968f, -325.3348f), - MinimumAngle = -60, - MaximumAngle = 170 - }; - obj33.Locations = list68; - reference50 = obj33; - ref GatheringNode reference51 = ref span23[1]; - GatheringNode obj34 = new GatheringNode - { - DataId = 33888u - }; - num3 = 1; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - CollectionsMarshal.AsSpan(list69)[0] = new GatheringLocation - { - Position = new Vector3(413.6349f, 25.90826f, -320.5389f) - }; - obj34.Locations = list69; - reference51 = obj34; - gatheringNodeGroup17.Nodes = list67; - reference49 = gatheringNodeGroup17; - ref GatheringNodeGroup reference52 = ref span21[2]; - GatheringNodeGroup gatheringNodeGroup18 = new GatheringNodeGroup(); - num2 = 2; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - Span span24 = CollectionsMarshal.AsSpan(list70); - ref GatheringNode reference53 = ref span24[0]; - GatheringNode obj35 = new GatheringNode - { - DataId = 33889u - }; - num3 = 1; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - CollectionsMarshal.AsSpan(list71)[0] = new GatheringLocation - { - Position = new Vector3(451.9882f, 8.707673f, -136.5769f) - }; - obj35.Locations = list71; - reference53 = obj35; - ref GatheringNode reference54 = ref span24[1]; - GatheringNode obj36 = new GatheringNode - { - DataId = 33890u - }; - num3 = 1; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - CollectionsMarshal.AsSpan(list72)[0] = new GatheringLocation - { - Position = new Vector3(458.5264f, 8.823095f, -132.5937f) - }; - obj36.Locations = list72; - reference54 = obj36; - gatheringNodeGroup18.Nodes = list70; - reference52 = gatheringNodeGroup18; - gatheringRoot6.Groups = list63; - AddLocation(813, gatheringRoot6); - GatheringRoot gatheringRoot7 = new GatheringRoot(); - num = 1; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - CollectionsMarshal.AsSpan(list73)[0] = "liza"; - gatheringRoot7.Author = list73; - num = 1; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.None, null, null, 956) - { - AetheryteShortcut = EAetheryteLocation.LabyrinthosArcheion - }; - gatheringRoot7.Steps = list74; - num = 3; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - Span span25 = CollectionsMarshal.AsSpan(list75); - ref GatheringNodeGroup reference55 = ref span25[0]; - GatheringNodeGroup gatheringNodeGroup19 = new GatheringNodeGroup(); - num2 = 2; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - Span span26 = CollectionsMarshal.AsSpan(list76); - ref GatheringNode reference56 = ref span26[0]; - GatheringNode obj37 = new GatheringNode - { - DataId = 33894u - }; - num3 = 1; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - CollectionsMarshal.AsSpan(list77)[0] = new GatheringLocation - { - Position = new Vector3(458.9456f, 161.3972f, -602.1197f), - MinimumAngle = 140, - MaximumAngle = 250 - }; - obj37.Locations = list77; - reference56 = obj37; - ref GatheringNode reference57 = ref span26[1]; - GatheringNode obj38 = new GatheringNode - { - DataId = 33895u - }; - num3 = 3; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - Span span27 = CollectionsMarshal.AsSpan(list78); - span27[0] = new GatheringLocation - { - Position = new Vector3(443.0363f, 161.2974f, -616.2661f), - MinimumAngle = 205, - MaximumAngle = 345 - }; - span27[1] = new GatheringLocation - { - Position = new Vector3(444.8557f, 161.3728f, -600.3932f), - MinimumAngle = 145, - MaximumAngle = 275 - }; - span27[2] = new GatheringLocation - { - Position = new Vector3(454.163f, 161.1728f, -629.1985f), - MinimumAngle = -125, - MaximumAngle = 25 - }; - obj38.Locations = list78; - reference57 = obj38; - gatheringNodeGroup19.Nodes = list76; - reference55 = gatheringNodeGroup19; - ref GatheringNodeGroup reference58 = ref span25[1]; - GatheringNodeGroup gatheringNodeGroup20 = new GatheringNodeGroup(); - num2 = 2; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - Span span28 = CollectionsMarshal.AsSpan(list79); - ref GatheringNode reference59 = ref span28[0]; - GatheringNode obj39 = new GatheringNode - { - DataId = 33899u - }; - num3 = 3; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - Span span29 = CollectionsMarshal.AsSpan(list80); - span29[0] = new GatheringLocation - { - Position = new Vector3(570.556f, 161.4453f, -670.7103f), - MinimumAngle = -30, - MaximumAngle = 95 - }; - span29[1] = new GatheringLocation - { - Position = new Vector3(581.0989f, 161.3507f, -660.939f), - MinimumAngle = 0, - MaximumAngle = 110 - }; - span29[2] = new GatheringLocation - { - Position = new Vector3(594.2559f, 163.7275f, -639.3449f), - MinimumAngle = 0, - MaximumAngle = 150 - }; - obj39.Locations = list80; - reference59 = obj39; - ref GatheringNode reference60 = ref span28[1]; - GatheringNode obj40 = new GatheringNode - { - DataId = 33898u - }; - num3 = 1; - List list81 = new List(num3); - CollectionsMarshal.SetCount(list81, num3); - CollectionsMarshal.AsSpan(list81)[0] = new GatheringLocation - { - Position = new Vector3(584.6903f, 161.4933f, -649.8119f), - MinimumAngle = 70, - MaximumAngle = 155 - }; - obj40.Locations = list81; - reference60 = obj40; - gatheringNodeGroup20.Nodes = list79; - reference58 = gatheringNodeGroup20; - ref GatheringNodeGroup reference61 = ref span25[2]; - GatheringNodeGroup gatheringNodeGroup21 = new GatheringNodeGroup(); - num2 = 2; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - Span span30 = CollectionsMarshal.AsSpan(list82); - ref GatheringNode reference62 = ref span30[0]; - GatheringNode obj41 = new GatheringNode - { - DataId = 33897u - }; - num3 = 3; - List list83 = new List(num3); - CollectionsMarshal.SetCount(list83, num3); - Span span31 = CollectionsMarshal.AsSpan(list83); - span31[0] = new GatheringLocation - { - Position = new Vector3(607.6349f, 161.3022f, -502.1884f), - MinimumAngle = 0, - MaximumAngle = 130 - }; - span31[1] = new GatheringLocation - { - Position = new Vector3(604.954f, 161.3468f, -508.9037f), - MinimumAngle = 0, - MaximumAngle = 125 - }; - span31[2] = new GatheringLocation - { - Position = new Vector3(589.7828f, 161.4424f, -519.1625f), - MinimumAngle = 175, - MaximumAngle = 280 - }; - obj41.Locations = list83; - reference62 = obj41; - ref GatheringNode reference63 = ref span30[1]; - GatheringNode obj42 = new GatheringNode - { - DataId = 33896u - }; - num3 = 1; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - CollectionsMarshal.AsSpan(list84)[0] = new GatheringLocation - { - Position = new Vector3(603.6301f, 161.3214f, -520.9421f), - MinimumAngle = 20, - MaximumAngle = 145 - }; - obj42.Locations = list84; - reference63 = obj42; - gatheringNodeGroup21.Nodes = list82; - reference61 = gatheringNodeGroup21; - gatheringRoot7.Groups = list75; - AddLocation(815, gatheringRoot7); - GatheringRoot gatheringRoot8 = new GatheringRoot(); - num = 1; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - CollectionsMarshal.AsSpan(list85)[0] = "liza"; - gatheringRoot8.Author = list85; - num = 1; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.None, null, null, 956) - { - AetheryteShortcut = EAetheryteLocation.LabyrinthosArcheion - }; - gatheringRoot8.Steps = list86; - num = 3; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - Span span32 = CollectionsMarshal.AsSpan(list87); - ref GatheringNodeGroup reference64 = ref span32[0]; - GatheringNodeGroup gatheringNodeGroup22 = new GatheringNodeGroup(); - num2 = 2; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - Span span33 = CollectionsMarshal.AsSpan(list88); - ref GatheringNode reference65 = ref span33[0]; - GatheringNode obj43 = new GatheringNode - { - DataId = 33902u - }; - num3 = 1; - List list89 = new List(num3); - CollectionsMarshal.SetCount(list89, num3); - CollectionsMarshal.AsSpan(list89)[0] = new GatheringLocation - { - Position = new Vector3(88.60914f, 73.62239f, -402.4773f), - MinimumAngle = 80, - MaximumAngle = 235 - }; - obj43.Locations = list89; - reference65 = obj43; - ref GatheringNode reference66 = ref span33[1]; - GatheringNode obj44 = new GatheringNode - { - DataId = 33903u - }; - num3 = 3; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - Span span34 = CollectionsMarshal.AsSpan(list90); - span34[0] = new GatheringLocation - { - Position = new Vector3(85.61829f, 73.2991f, -400.5821f), - MinimumAngle = 35, - MaximumAngle = 225 - }; - span34[1] = new GatheringLocation - { - Position = new Vector3(93.23958f, 73.67628f, -393.219f), - MinimumAngle = -80, - MaximumAngle = 80 - }; - span34[2] = new GatheringLocation - { - Position = new Vector3(98.62136f, 74.0167f, -394.248f), - MinimumAngle = -140, - MaximumAngle = 15 - }; - obj44.Locations = list90; - reference66 = obj44; - gatheringNodeGroup22.Nodes = list88; - reference64 = gatheringNodeGroup22; - ref GatheringNodeGroup reference67 = ref span32[1]; - GatheringNodeGroup gatheringNodeGroup23 = new GatheringNodeGroup(); - num2 = 2; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - Span span35 = CollectionsMarshal.AsSpan(list91); - ref GatheringNode reference68 = ref span35[0]; - GatheringNode obj45 = new GatheringNode - { - DataId = 33905u - }; - num3 = 3; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - Span span36 = CollectionsMarshal.AsSpan(list92); - span36[0] = new GatheringLocation - { - Position = new Vector3(120.6405f, 84.99234f, -556.7947f), - MinimumAngle = -10, - MaximumAngle = 155 - }; - span36[1] = new GatheringLocation - { - Position = new Vector3(90.8064f, 80.4303f, -549.3706f), - MinimumAngle = -45, - MaximumAngle = 90 - }; - span36[2] = new GatheringLocation - { - Position = new Vector3(108.5405f, 82.52325f, -552.4589f), - MinimumAngle = -115, - MaximumAngle = 65 - }; - obj45.Locations = list92; - reference68 = obj45; - ref GatheringNode reference69 = ref span35[1]; - GatheringNode obj46 = new GatheringNode - { - DataId = 33904u - }; - num3 = 1; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - CollectionsMarshal.AsSpan(list93)[0] = new GatheringLocation - { - Position = new Vector3(102.0981f, 81.4679f, -550.4082f), - MinimumAngle = -90, - MaximumAngle = 75 - }; - obj46.Locations = list93; - reference69 = obj46; - gatheringNodeGroup23.Nodes = list91; - reference67 = gatheringNodeGroup23; - ref GatheringNodeGroup reference70 = ref span32[2]; - GatheringNodeGroup gatheringNodeGroup24 = new GatheringNodeGroup(); - num2 = 2; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - Span span37 = CollectionsMarshal.AsSpan(list94); - ref GatheringNode reference71 = ref span37[0]; - GatheringNode obj47 = new GatheringNode - { - DataId = 33901u - }; - num3 = 3; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - Span span38 = CollectionsMarshal.AsSpan(list95); - span38[0] = new GatheringLocation - { - Position = new Vector3(2.243042f, 70.71661f, -453.1277f), - MinimumAngle = 85, - MaximumAngle = 215 - }; - span38[1] = new GatheringLocation - { - Position = new Vector3(-18.2041f, 69.83583f, -464.331f), - MinimumAngle = -120, - MaximumAngle = 50 - }; - span38[2] = new GatheringLocation - { - Position = new Vector3(1.110765f, 71.56169f, -477.9129f), - MinimumAngle = -135, - MaximumAngle = 55 - }; - obj47.Locations = list95; - reference71 = obj47; - ref GatheringNode reference72 = ref span37[1]; - GatheringNode obj48 = new GatheringNode - { - DataId = 33900u - }; - num3 = 1; - List list96 = new List(num3); - CollectionsMarshal.SetCount(list96, num3); - CollectionsMarshal.AsSpan(list96)[0] = new GatheringLocation - { - Position = new Vector3(-8.431995f, 70.52238f, -470.8453f), - MinimumAngle = -125, - MaximumAngle = 55 - }; - obj48.Locations = list96; - reference72 = obj48; - gatheringNodeGroup24.Nodes = list94; - reference70 = gatheringNodeGroup24; - gatheringRoot8.Groups = list87; - AddLocation(816, gatheringRoot8); - GatheringRoot gatheringRoot9 = new GatheringRoot(); - num = 1; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - CollectionsMarshal.AsSpan(list97)[0] = "liza"; - gatheringRoot9.Author = list97; - num = 1; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.None, null, null, 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - gatheringRoot9.Steps = list98; - num = 3; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - Span span39 = CollectionsMarshal.AsSpan(list99); - ref GatheringNodeGroup reference73 = ref span39[0]; - GatheringNodeGroup gatheringNodeGroup25 = new GatheringNodeGroup(); - num2 = 2; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - Span span40 = CollectionsMarshal.AsSpan(list100); - ref GatheringNode reference74 = ref span40[0]; - GatheringNode obj49 = new GatheringNode - { - DataId = 33914u - }; - num3 = 3; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - Span span41 = CollectionsMarshal.AsSpan(list101); - span41[0] = new GatheringLocation - { - Position = new Vector3(-12.16765f, 20.89473f, 506.2973f), - MinimumAngle = -35, - MaximumAngle = 60 - }; - span41[1] = new GatheringLocation - { - Position = new Vector3(38.53326f, 21.61461f, 494.6865f), - MinimumAngle = -100, - MaximumAngle = 35 - }; - span41[2] = new GatheringLocation - { - Position = new Vector3(11.01325f, 20.33474f, 505.0459f), - MinimumAngle = -80, - MaximumAngle = 50 - }; - obj49.Locations = list101; - reference74 = obj49; - ref GatheringNode reference75 = ref span40[1]; - GatheringNode obj50 = new GatheringNode - { - DataId = 33913u - }; - num3 = 1; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - CollectionsMarshal.AsSpan(list102)[0] = new GatheringLocation - { - Position = new Vector3(21.21178f, 20.57622f, 500.2734f), - MinimumAngle = -75, - MaximumAngle = 35 - }; - obj50.Locations = list102; - reference75 = obj50; - gatheringNodeGroup25.Nodes = list100; - reference73 = gatheringNodeGroup25; - ref GatheringNodeGroup reference76 = ref span39[1]; - GatheringNodeGroup gatheringNodeGroup26 = new GatheringNodeGroup(); - num2 = 2; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - Span span42 = CollectionsMarshal.AsSpan(list103); - ref GatheringNode reference77 = ref span42[0]; - GatheringNode obj51 = new GatheringNode - { - DataId = 33909u - }; - num3 = 1; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - CollectionsMarshal.AsSpan(list104)[0] = new GatheringLocation - { - Position = new Vector3(-138.8536f, 28.9297f, 406.4425f), - MinimumAngle = -25, - MaximumAngle = 90 - }; - obj51.Locations = list104; - reference77 = obj51; - ref GatheringNode reference78 = ref span42[1]; - GatheringNode obj52 = new GatheringNode - { - DataId = 33910u - }; - num3 = 3; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - Span span43 = CollectionsMarshal.AsSpan(list105); - span43[0] = new GatheringLocation - { - Position = new Vector3(-151.642f, 28.40338f, 389.8896f), - MinimumAngle = 0, - MaximumAngle = 120 - }; - span43[1] = new GatheringLocation - { - Position = new Vector3(-153.7647f, 28.03966f, 372.3844f), - MinimumAngle = 40, - MaximumAngle = 165 - }; - span43[2] = new GatheringLocation - { - Position = new Vector3(-122.402f, 28.91794f, 415.5278f), - MinimumAngle = -25, - MaximumAngle = 90 - }; - obj52.Locations = list105; - reference78 = obj52; - gatheringNodeGroup26.Nodes = list103; - reference76 = gatheringNodeGroup26; - ref GatheringNodeGroup reference79 = ref span39[2]; - GatheringNodeGroup gatheringNodeGroup27 = new GatheringNodeGroup(); - num2 = 2; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - Span span44 = CollectionsMarshal.AsSpan(list106); - ref GatheringNode reference80 = ref span44[0]; - GatheringNode obj53 = new GatheringNode - { - DataId = 33911u - }; - num3 = 1; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - CollectionsMarshal.AsSpan(list107)[0] = new GatheringLocation - { - Position = new Vector3(-178.974f, 22.0284f, 509.5606f), - MinimumAngle = -145, - MaximumAngle = 15 - }; - obj53.Locations = list107; - reference80 = obj53; - ref GatheringNode reference81 = ref span44[1]; - GatheringNode obj54 = new GatheringNode - { - DataId = 33912u - }; - num3 = 3; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - Span span45 = CollectionsMarshal.AsSpan(list108); - span45[0] = new GatheringLocation - { - Position = new Vector3(-180.526f, 25.92117f, 532.3414f), - MinimumAngle = 175, - MaximumAngle = 295 - }; - span45[1] = new GatheringLocation - { - Position = new Vector3(-162.8302f, 16.1582f, 523.17f), - MinimumAngle = -115, - MaximumAngle = -10 - }; - span45[2] = new GatheringLocation - { - Position = new Vector3(-180.8041f, 27.12615f, 522.0873f), - MinimumAngle = -155, - MaximumAngle = 10 - }; - obj54.Locations = list108; - reference81 = obj54; - gatheringNodeGroup27.Nodes = list106; - reference79 = gatheringNodeGroup27; - gatheringRoot9.Groups = list99; - AddLocation(818, gatheringRoot9); - GatheringRoot gatheringRoot10 = new GatheringRoot(); - num = 1; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - CollectionsMarshal.AsSpan(list109)[0] = "liza"; - gatheringRoot10.Author = list109; - num = 1; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.None, null, null, 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - gatheringRoot10.Steps = list110; - num = 3; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - Span span46 = CollectionsMarshal.AsSpan(list111); - ref GatheringNodeGroup reference82 = ref span46[0]; - GatheringNodeGroup gatheringNodeGroup28 = new GatheringNodeGroup(); - num2 = 2; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span47 = CollectionsMarshal.AsSpan(list112); - ref GatheringNode reference83 = ref span47[0]; - GatheringNode obj55 = new GatheringNode - { - DataId = 33918u - }; - num3 = 1; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - CollectionsMarshal.AsSpan(list113)[0] = new GatheringLocation - { - Position = new Vector3(-582.5132f, 40.54578f, -426.0171f), - MinimumAngle = -50, - MaximumAngle = 90 - }; - obj55.Locations = list113; - reference83 = obj55; - ref GatheringNode reference84 = ref span47[1]; - GatheringNode obj56 = new GatheringNode - { - DataId = 33919u - }; - num3 = 3; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - Span span48 = CollectionsMarshal.AsSpan(list114); - span48[0] = new GatheringLocation - { - Position = new Vector3(-578.2101f, 41.27147f, -447.6376f), - MinimumAngle = 130, - MaximumAngle = 220 - }; - span48[1] = new GatheringLocation - { - Position = new Vector3(-546.2882f, 44.52267f, -435.8184f), - MinimumAngle = 200, - MaximumAngle = 360 - }; - span48[2] = new GatheringLocation - { - Position = new Vector3(-606.7445f, 38.37634f, -425.5284f), - MinimumAngle = -80, - MaximumAngle = 70 - }; - obj56.Locations = list114; - reference84 = obj56; - gatheringNodeGroup28.Nodes = list112; - reference82 = gatheringNodeGroup28; - ref GatheringNodeGroup reference85 = ref span46[1]; - GatheringNodeGroup gatheringNodeGroup29 = new GatheringNodeGroup(); - num2 = 2; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - Span span49 = CollectionsMarshal.AsSpan(list115); - ref GatheringNode reference86 = ref span49[0]; - GatheringNode obj57 = new GatheringNode - { - DataId = 33920u - }; - num3 = 1; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - CollectionsMarshal.AsSpan(list116)[0] = new GatheringLocation - { - Position = new Vector3(-488.2276f, 34.71221f, -359.6945f), - MinimumAngle = 20, - MaximumAngle = 128, - MinimumDistance = 1.3f - }; - obj57.Locations = list116; - reference86 = obj57; - ref GatheringNode reference87 = ref span49[1]; - GatheringNode obj58 = new GatheringNode - { - DataId = 33921u - }; - num3 = 3; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - Span span50 = CollectionsMarshal.AsSpan(list117); - span50[0] = new GatheringLocation - { - Position = new Vector3(-498.8687f, 31.08014f, -351.9397f), - MinimumAngle = 40, - MaximumAngle = 190 - }; - span50[1] = new GatheringLocation - { - Position = new Vector3(-490.7759f, 28.70215f, -344.4114f), - MinimumAngle = -110, - MaximumAngle = 60 - }; - span50[2] = new GatheringLocation - { - Position = new Vector3(-494.1286f, 32.89971f, -355.0208f), - MinimumAngle = 80, - MaximumAngle = 230 - }; - obj58.Locations = list117; - reference87 = obj58; - gatheringNodeGroup29.Nodes = list115; - reference85 = gatheringNodeGroup29; - ref GatheringNodeGroup reference88 = ref span46[2]; - GatheringNodeGroup gatheringNodeGroup30 = new GatheringNodeGroup(); - num2 = 2; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - Span span51 = CollectionsMarshal.AsSpan(list118); - ref GatheringNode reference89 = ref span51[0]; - GatheringNode obj59 = new GatheringNode - { - DataId = 33922u - }; - num3 = 1; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - CollectionsMarshal.AsSpan(list119)[0] = new GatheringLocation - { - Position = new Vector3(-304.0609f, 68.76999f, -479.1875f), - MinimumAngle = -110, - MaximumAngle = 70 - }; - obj59.Locations = list119; - reference89 = obj59; - ref GatheringNode reference90 = ref span51[1]; - GatheringNode obj60 = new GatheringNode - { - DataId = 33923u - }; - num3 = 3; - List list120 = new List(num3); - CollectionsMarshal.SetCount(list120, num3); - Span span52 = CollectionsMarshal.AsSpan(list120); - span52[0] = new GatheringLocation - { - Position = new Vector3(-293.6989f, 68.77935f, -484.2256f), - MinimumAngle = -30, - MaximumAngle = 110 - }; - span52[1] = new GatheringLocation - { - Position = new Vector3(-295.0806f, 69.12621f, -498.1898f), - MinimumAngle = 10, - MaximumAngle = 200 - }; - span52[2] = new GatheringLocation - { - Position = new Vector3(-281.4858f, 67.64153f, -477.6673f), - MinimumAngle = -105, - MaximumAngle = 75 - }; - obj60.Locations = list120; - reference90 = obj60; - gatheringNodeGroup30.Nodes = list118; - reference88 = gatheringNodeGroup30; - gatheringRoot10.Groups = list111; - AddLocation(820, gatheringRoot10); - GatheringRoot gatheringRoot11 = new GatheringRoot(); - num = 1; - List list121 = new List(num); - CollectionsMarshal.SetCount(list121, num); - CollectionsMarshal.AsSpan(list121)[0] = "liza"; - gatheringRoot11.Author = list121; - num = 1; - List list122 = new List(num); - CollectionsMarshal.SetCount(list122, num); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.None, null, null, 959) - { - AetheryteShortcut = EAetheryteLocation.MareLamentorumSinusLacrimarum - }; - gatheringRoot11.Steps = list122; - num = 3; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - Span span53 = CollectionsMarshal.AsSpan(list123); - ref GatheringNodeGroup reference91 = ref span53[0]; - GatheringNodeGroup gatheringNodeGroup31 = new GatheringNodeGroup(); - num2 = 2; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - Span span54 = CollectionsMarshal.AsSpan(list124); - ref GatheringNode reference92 = ref span54[0]; - GatheringNode obj61 = new GatheringNode - { - DataId = 33929u - }; - num3 = 3; - List list125 = new List(num3); - CollectionsMarshal.SetCount(list125, num3); - Span span55 = CollectionsMarshal.AsSpan(list125); - span55[0] = new GatheringLocation - { - Position = new Vector3(304.4121f, 118.8077f, 673.4494f), - MinimumAngle = 50, - MaximumAngle = 230 - }; - span55[1] = new GatheringLocation - { - Position = new Vector3(297.7666f, 119.4976f, 679.5604f), - MinimumAngle = 50, - MaximumAngle = 220 - }; - span55[2] = new GatheringLocation - { - Position = new Vector3(322.163f, 119.0883f, 657.4384f), - MinimumAngle = 55, - MaximumAngle = 235 - }; - obj61.Locations = list125; - reference92 = obj61; - ref GatheringNode reference93 = ref span54[1]; - GatheringNode obj62 = new GatheringNode - { - DataId = 33928u - }; - num3 = 1; - List list126 = new List(num3); - CollectionsMarshal.SetCount(list126, num3); - CollectionsMarshal.AsSpan(list126)[0] = new GatheringLocation - { - Position = new Vector3(313.72f, 118.3442f, 664.8668f), - MinimumAngle = 60, - MaximumAngle = 230 - }; - obj62.Locations = list126; - reference93 = obj62; - gatheringNodeGroup31.Nodes = list124; - reference91 = gatheringNodeGroup31; - ref GatheringNodeGroup reference94 = ref span53[1]; - GatheringNodeGroup gatheringNodeGroup32 = new GatheringNodeGroup(); - num2 = 2; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - Span span56 = CollectionsMarshal.AsSpan(list127); - ref GatheringNode reference95 = ref span56[0]; - GatheringNode obj63 = new GatheringNode - { - DataId = 33927u - }; - num3 = 3; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - Span span57 = CollectionsMarshal.AsSpan(list128); - span57[0] = new GatheringLocation - { - Position = new Vector3(394.3838f, 144.7951f, 820.7851f), - MinimumAngle = 75, - MaximumAngle = 250 - }; - span57[1] = new GatheringLocation - { - Position = new Vector3(421.0549f, 143.6111f, 805.9457f), - MinimumAngle = 60, - MaximumAngle = 225 - }; - span57[2] = new GatheringLocation - { - Position = new Vector3(414.2961f, 143.2405f, 811.3884f), - MinimumAngle = 65, - MaximumAngle = 230 - }; - obj63.Locations = list128; - reference95 = obj63; - ref GatheringNode reference96 = ref span56[1]; - GatheringNode obj64 = new GatheringNode - { - DataId = 33926u - }; - num3 = 1; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - CollectionsMarshal.AsSpan(list129)[0] = new GatheringLocation - { - Position = new Vector3(405.2481f, 143.6621f, 816.6496f), - MinimumAngle = 75, - MaximumAngle = 230 - }; - obj64.Locations = list129; - reference96 = obj64; - gatheringNodeGroup32.Nodes = list127; - reference94 = gatheringNodeGroup32; - ref GatheringNodeGroup reference97 = ref span53[2]; - GatheringNodeGroup gatheringNodeGroup33 = new GatheringNodeGroup(); - num2 = 2; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - Span span58 = CollectionsMarshal.AsSpan(list130); - ref GatheringNode reference98 = ref span58[0]; - GatheringNode obj65 = new GatheringNode - { - DataId = 33925u - }; - num3 = 3; - List list131 = new List(num3); - CollectionsMarshal.SetCount(list131, num3); - Span span59 = CollectionsMarshal.AsSpan(list131); - span59[0] = new GatheringLocation - { - Position = new Vector3(474.679f, 143.4776f, 698.5961f), - MinimumAngle = 20, - MaximumAngle = 170 - }; - span59[1] = new GatheringLocation - { - Position = new Vector3(474.8585f, 144.2588f, 685.7468f), - MinimumAngle = 0, - MaximumAngle = 155 - }; - span59[2] = new GatheringLocation - { - Position = new Vector3(467.506f, 144.9235f, 654.2f), - MinimumAngle = 0, - MaximumAngle = 150 - }; - obj65.Locations = list131; - reference98 = obj65; - ref GatheringNode reference99 = ref span58[1]; - GatheringNode obj66 = new GatheringNode - { - DataId = 33924u - }; - num3 = 1; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - CollectionsMarshal.AsSpan(list132)[0] = new GatheringLocation - { - Position = new Vector3(470.7754f, 144.8793f, 672.114f), - MinimumAngle = -5, - MaximumAngle = 165 - }; - obj66.Locations = list132; - reference99 = obj66; - gatheringNodeGroup33.Nodes = list130; - reference97 = gatheringNodeGroup33; - gatheringRoot11.Groups = list123; - AddLocation(821, gatheringRoot11); - GatheringRoot gatheringRoot12 = new GatheringRoot(); - num = 1; - List list133 = new List(num); - CollectionsMarshal.SetCount(list133, num); - CollectionsMarshal.AsSpan(list133)[0] = "liza"; - gatheringRoot12.Author = list133; - num = 1; - List list134 = new List(num); - CollectionsMarshal.SetCount(list134, num); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.None, null, null, 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - gatheringRoot12.Steps = list134; - num = 3; - List list135 = new List(num); - CollectionsMarshal.SetCount(list135, num); - Span span60 = CollectionsMarshal.AsSpan(list135); - ref GatheringNodeGroup reference100 = ref span60[0]; - GatheringNodeGroup gatheringNodeGroup34 = new GatheringNodeGroup(); - num2 = 2; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - Span span61 = CollectionsMarshal.AsSpan(list136); - ref GatheringNode reference101 = ref span61[0]; - GatheringNode obj67 = new GatheringNode - { - DataId = 33932u - }; - num3 = 1; - List list137 = new List(num3); - CollectionsMarshal.SetCount(list137, num3); - CollectionsMarshal.AsSpan(list137)[0] = new GatheringLocation - { - Position = new Vector3(-80.95969f, -9.810837f, 462.2579f), - MinimumAngle = 130, - MaximumAngle = 260 - }; - obj67.Locations = list137; - reference101 = obj67; - ref GatheringNode reference102 = ref span61[1]; - GatheringNode obj68 = new GatheringNode - { - DataId = 33933u - }; - num3 = 3; - List list138 = new List(num3); - CollectionsMarshal.SetCount(list138, num3); - Span span62 = CollectionsMarshal.AsSpan(list138); - span62[0] = new GatheringLocation - { - Position = new Vector3(-72.11935f, -10.90324f, 471.2258f), - MinimumAngle = 105, - MaximumAngle = 250 - }; - span62[1] = new GatheringLocation - { - Position = new Vector3(-98.97565f, -5.664787f, 463.9966f), - MinimumAngle = 60, - MaximumAngle = 230 - }; - span62[2] = new GatheringLocation - { - Position = new Vector3(-63.49503f, -11.21235f, 469.3839f), - MinimumAngle = 80, - MaximumAngle = 255 - }; - obj68.Locations = list138; - reference102 = obj68; - gatheringNodeGroup34.Nodes = list136; - reference100 = gatheringNodeGroup34; - ref GatheringNodeGroup reference103 = ref span60[1]; - GatheringNodeGroup gatheringNodeGroup35 = new GatheringNodeGroup(); - num2 = 2; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - Span span63 = CollectionsMarshal.AsSpan(list139); - ref GatheringNode reference104 = ref span63[0]; - GatheringNode obj69 = new GatheringNode - { - DataId = 33931u - }; - num3 = 3; - List list140 = new List(num3); - CollectionsMarshal.SetCount(list140, num3); - Span span64 = CollectionsMarshal.AsSpan(list140); - span64[0] = new GatheringLocation - { - Position = new Vector3(-61.34306f, 6.11244f, 318.3409f), - MinimumAngle = -120, - MaximumAngle = 70 - }; - span64[1] = new GatheringLocation - { - Position = new Vector3(-61.47854f, 6.076105f, 281.4938f), - MinimumAngle = 65, - MaximumAngle = 240 - }; - span64[2] = new GatheringLocation - { - Position = new Vector3(-73.25829f, 6.108262f, 302.9926f), - MinimumAngle = 50, - MaximumAngle = 220 - }; - obj69.Locations = list140; - reference104 = obj69; - ref GatheringNode reference105 = ref span63[1]; - GatheringNode obj70 = new GatheringNode - { - DataId = 33930u - }; - num3 = 1; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - CollectionsMarshal.AsSpan(list141)[0] = new GatheringLocation - { - Position = new Vector3(-51.28564f, 6.088318f, 318.0529f), - MinimumAngle = -65, - MaximumAngle = 110 - }; - obj70.Locations = list141; - reference105 = obj70; - gatheringNodeGroup35.Nodes = list139; - reference103 = gatheringNodeGroup35; - ref GatheringNodeGroup reference106 = ref span60[2]; - GatheringNodeGroup gatheringNodeGroup36 = new GatheringNodeGroup(); - num2 = 2; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - Span span65 = CollectionsMarshal.AsSpan(list142); - ref GatheringNode reference107 = ref span65[0]; - GatheringNode obj71 = new GatheringNode - { - DataId = 33935u - }; - num3 = 3; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - Span span66 = CollectionsMarshal.AsSpan(list143); - span66[0] = new GatheringLocation - { - Position = new Vector3(72.58704f, -11.59895f, 354.757f), - MinimumAngle = 75, - MaximumAngle = 235 - }; - span66[1] = new GatheringLocation - { - Position = new Vector3(65.33016f, -11.61111f, 358.7321f), - MinimumAngle = 65, - MaximumAngle = 235 - }; - span66[2] = new GatheringLocation - { - Position = new Vector3(68.21196f, -11.81954f, 366.5172f), - MinimumAngle = 5, - MaximumAngle = 85 - }; - obj71.Locations = list143; - reference107 = obj71; - ref GatheringNode reference108 = ref span65[1]; - GatheringNode obj72 = new GatheringNode - { - DataId = 33934u - }; - num3 = 1; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - CollectionsMarshal.AsSpan(list144)[0] = new GatheringLocation - { - Position = new Vector3(81.30492f, -11.53227f, 347.9922f), - MinimumAngle = 50, - MaximumAngle = 215 - }; - obj72.Locations = list144; - reference108 = obj72; - gatheringNodeGroup36.Nodes = list142; - reference106 = gatheringNodeGroup36; - gatheringRoot12.Groups = list135; - AddLocation(822, gatheringRoot12); - GatheringRoot gatheringRoot13 = new GatheringRoot(); - num = 1; - List list145 = new List(num); - CollectionsMarshal.SetCount(list145, num); - CollectionsMarshal.AsSpan(list145)[0] = "liza"; - gatheringRoot13.Author = list145; - num = 1; - List list146 = new List(num); - CollectionsMarshal.SetCount(list146, num); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.None, null, null, 961) - { - AetheryteShortcut = EAetheryteLocation.ElpisPoietenOikos - }; - gatheringRoot13.Steps = list146; - num = 3; - List list147 = new List(num); - CollectionsMarshal.SetCount(list147, num); - Span span67 = CollectionsMarshal.AsSpan(list147); - ref GatheringNodeGroup reference109 = ref span67[0]; - GatheringNodeGroup gatheringNodeGroup37 = new GatheringNodeGroup(); - num2 = 2; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - Span span68 = CollectionsMarshal.AsSpan(list148); - ref GatheringNode reference110 = ref span68[0]; - GatheringNode obj73 = new GatheringNode - { - DataId = 33938u - }; - num3 = 1; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - CollectionsMarshal.AsSpan(list149)[0] = new GatheringLocation - { - Position = new Vector3(44.65063f, 100.2818f, -531.6971f), - MinimumAngle = 150, - MaximumAngle = 310 - }; - obj73.Locations = list149; - reference110 = obj73; - ref GatheringNode reference111 = ref span68[1]; - GatheringNode obj74 = new GatheringNode - { - DataId = 33939u - }; - num3 = 3; - List list150 = new List(num3); - CollectionsMarshal.SetCount(list150, num3); - Span span69 = CollectionsMarshal.AsSpan(list150); - span69[0] = new GatheringLocation - { - Position = new Vector3(33.19277f, 104.5029f, -555.932f), - MinimumAngle = 190, - MaximumAngle = 350 - }; - span69[1] = new GatheringLocation - { - Position = new Vector3(65.9342f, 97.38677f, -524.9155f), - MinimumAngle = 125, - MaximumAngle = 295 - }; - span69[2] = new GatheringLocation - { - Position = new Vector3(74.52164f, 98.45871f, -489.864f), - MinimumAngle = 165, - MaximumAngle = 300 - }; - obj74.Locations = list150; - reference111 = obj74; - gatheringNodeGroup37.Nodes = list148; - reference109 = gatheringNodeGroup37; - ref GatheringNodeGroup reference112 = ref span67[1]; - GatheringNodeGroup gatheringNodeGroup38 = new GatheringNodeGroup(); - num2 = 2; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - Span span70 = CollectionsMarshal.AsSpan(list151); - ref GatheringNode reference113 = ref span70[0]; - GatheringNode obj75 = new GatheringNode - { - DataId = 33941u - }; - num3 = 3; - List list152 = new List(num3); - CollectionsMarshal.SetCount(list152, num3); - Span span71 = CollectionsMarshal.AsSpan(list152); - span71[0] = new GatheringLocation - { - Position = new Vector3(279.4078f, 101.9103f, -511.9555f), - MinimumAngle = 80, - MaximumAngle = 215 - }; - span71[1] = new GatheringLocation - { - Position = new Vector3(265.2476f, 100.4918f, -491.8746f), - MinimumAngle = 110, - MaximumAngle = 180 - }; - span71[2] = new GatheringLocation - { - Position = new Vector3(290.6152f, 102.41f, -549.2336f), - MinimumAngle = 40, - MaximumAngle = 185 - }; - obj75.Locations = list152; - reference113 = obj75; - ref GatheringNode reference114 = ref span70[1]; - GatheringNode obj76 = new GatheringNode - { - DataId = 33940u - }; - num3 = 1; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - CollectionsMarshal.AsSpan(list153)[0] = new GatheringLocation - { - Position = new Vector3(288.9601f, 101.2474f, -520.9278f), - MinimumAngle = 35, - MaximumAngle = 145 - }; - obj76.Locations = list153; - reference114 = obj76; - gatheringNodeGroup38.Nodes = list151; - reference112 = gatheringNodeGroup38; - ref GatheringNodeGroup reference115 = ref span67[2]; - GatheringNodeGroup gatheringNodeGroup39 = new GatheringNodeGroup(); - num2 = 2; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - Span span72 = CollectionsMarshal.AsSpan(list154); - ref GatheringNode reference116 = ref span72[0]; - GatheringNode obj77 = new GatheringNode - { - DataId = 33937u - }; - num3 = 3; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - Span span73 = CollectionsMarshal.AsSpan(list155); - span73[0] = new GatheringLocation - { - Position = new Vector3(124.7882f, 105.6518f, -712.3575f), - MinimumAngle = -45, - MaximumAngle = 70 - }; - span73[1] = new GatheringLocation - { - Position = new Vector3(94.71277f, 105.52f, -696.7798f), - MinimumAngle = -60, - MaximumAngle = 80 - }; - span73[2] = new GatheringLocation - { - Position = new Vector3(172.8746f, 102.9022f, -700.0879f), - MinimumAngle = -50, - MaximumAngle = 125 - }; - obj77.Locations = list155; - reference116 = obj77; - ref GatheringNode reference117 = ref span72[1]; - GatheringNode obj78 = new GatheringNode - { - DataId = 33936u - }; - num3 = 1; - List list156 = new List(num3); - CollectionsMarshal.SetCount(list156, num3); - CollectionsMarshal.AsSpan(list156)[0] = new GatheringLocation - { - Position = new Vector3(156.3894f, 103.6386f, -707.1092f), - MinimumAngle = -85, - MaximumAngle = 60 - }; - obj78.Locations = list156; - reference117 = obj78; - gatheringNodeGroup39.Nodes = list154; - reference115 = gatheringNodeGroup39; - gatheringRoot13.Groups = list147; - AddLocation(823, gatheringRoot13); - GatheringRoot gatheringRoot14 = new GatheringRoot(); - num = 1; - List list157 = new List(num); - CollectionsMarshal.SetCount(list157, num); - CollectionsMarshal.AsSpan(list157)[0] = "liza"; - gatheringRoot14.Author = list157; - num = 1; - List list158 = new List(num); - CollectionsMarshal.SetCount(list158, num); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.None, null, null, 961) - { - AetheryteShortcut = EAetheryteLocation.ElpisPoietenOikos - }; - gatheringRoot14.Steps = list158; - num = 3; - List list159 = new List(num); - CollectionsMarshal.SetCount(list159, num); - Span span74 = CollectionsMarshal.AsSpan(list159); - ref GatheringNodeGroup reference118 = ref span74[0]; - GatheringNodeGroup gatheringNodeGroup40 = new GatheringNodeGroup(); - num2 = 2; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - Span span75 = CollectionsMarshal.AsSpan(list160); - ref GatheringNode reference119 = ref span75[0]; - GatheringNode obj79 = new GatheringNode - { - DataId = 33945u - }; - num3 = 3; - List list161 = new List(num3); - CollectionsMarshal.SetCount(list161, num3); - Span span76 = CollectionsMarshal.AsSpan(list161); - span76[0] = new GatheringLocation - { - Position = new Vector3(-478.091f, 136.505f, -144.7721f), - MinimumAngle = 185, - MaximumAngle = 360 - }; - span76[1] = new GatheringLocation - { - Position = new Vector3(-472.7283f, 136.9691f, -153.0142f), - MinimumAngle = -105, - MaximumAngle = 20, - MinimumDistance = 1.6f, - MaximumDistance = 3f - }; - span76[2] = new GatheringLocation - { - Position = new Vector3(-457.2324f, 136.2298f, -153.2787f), - MinimumAngle = 70, - MaximumAngle = 195 - }; - obj79.Locations = list161; - reference119 = obj79; - ref GatheringNode reference120 = ref span75[1]; - GatheringNode obj80 = new GatheringNode - { - DataId = 33944u - }; - num3 = 1; - List list162 = new List(num3); - CollectionsMarshal.SetCount(list162, num3); - CollectionsMarshal.AsSpan(list162)[0] = new GatheringLocation - { - Position = new Vector3(-477.1867f, 137.1741f, -150.0524f), - MinimumAngle = -95, - MaximumAngle = 20 - }; - obj80.Locations = list162; - reference120 = obj80; - gatheringNodeGroup40.Nodes = list160; - reference118 = gatheringNodeGroup40; - ref GatheringNodeGroup reference121 = ref span74[1]; - GatheringNodeGroup gatheringNodeGroup41 = new GatheringNodeGroup(); - num2 = 2; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - Span span77 = CollectionsMarshal.AsSpan(list163); - ref GatheringNode reference122 = ref span77[0]; - GatheringNode obj81 = new GatheringNode - { - DataId = 33946u - }; - num3 = 1; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - CollectionsMarshal.AsSpan(list164)[0] = new GatheringLocation - { - Position = new Vector3(-335.5337f, 148.5269f, -83.30743f), - MinimumAngle = 140, - MaximumAngle = 275 - }; - obj81.Locations = list164; - reference122 = obj81; - ref GatheringNode reference123 = ref span77[1]; - GatheringNode obj82 = new GatheringNode - { - DataId = 33947u - }; - num3 = 3; - List list165 = new List(num3); - CollectionsMarshal.SetCount(list165, num3); - Span span78 = CollectionsMarshal.AsSpan(list165); - span78[0] = new GatheringLocation - { - Position = new Vector3(-333.4615f, 148.59f, -78.42037f), - MinimumAngle = -160, - MaximumAngle = -15 - }; - span78[1] = new GatheringLocation - { - Position = new Vector3(-342.3078f, 145.4429f, -109.3348f), - MinimumAngle = 210, - MaximumAngle = 355 - }; - span78[2] = new GatheringLocation - { - Position = new Vector3(-327.4102f, 143.6382f, -118.3601f), - MinimumAngle = -30, - MaximumAngle = 85 - }; - obj82.Locations = list165; - reference123 = obj82; - gatheringNodeGroup41.Nodes = list163; - reference121 = gatheringNodeGroup41; - ref GatheringNodeGroup reference124 = ref span74[2]; - GatheringNodeGroup gatheringNodeGroup42 = new GatheringNodeGroup(); - num2 = 2; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - Span span79 = CollectionsMarshal.AsSpan(list166); - ref GatheringNode reference125 = ref span79[0]; - GatheringNode obj83 = new GatheringNode - { - DataId = 33942u - }; - num3 = 1; - List list167 = new List(num3); - CollectionsMarshal.SetCount(list167, num3); - CollectionsMarshal.AsSpan(list167)[0] = new GatheringLocation - { - Position = new Vector3(-291.2093f, 136.4047f, -228.9244f), - MinimumAngle = 120, - MaximumAngle = 225 - }; - obj83.Locations = list167; - reference125 = obj83; - ref GatheringNode reference126 = ref span79[1]; - GatheringNode obj84 = new GatheringNode - { - DataId = 33943u - }; - num3 = 3; - List list168 = new List(num3); - CollectionsMarshal.SetCount(list168, num3); - Span span80 = CollectionsMarshal.AsSpan(list168); - span80[0] = new GatheringLocation - { - Position = new Vector3(-343.5337f, 140.0085f, -243.2652f), - MinimumAngle = 115, - MaximumAngle = 255 - }; - span80[1] = new GatheringLocation - { - Position = new Vector3(-337.3867f, 136.3985f, -237.7285f), - MinimumAngle = -130, - MaximumAngle = 10 - }; - span80[2] = new GatheringLocation - { - Position = new Vector3(-304.9684f, 136.2381f, -229.2424f), - MinimumAngle = 115, - MaximumAngle = 240 - }; - obj84.Locations = list168; - reference126 = obj84; - gatheringNodeGroup42.Nodes = list166; - reference124 = gatheringNodeGroup42; - gatheringRoot14.Groups = list159; - AddLocation(824, gatheringRoot14); - GatheringRoot gatheringRoot15 = new GatheringRoot(); - num = 1; - List list169 = new List(num); - CollectionsMarshal.SetCount(list169, num); - CollectionsMarshal.AsSpan(list169)[0] = "liza"; - gatheringRoot15.Author = list169; - num = 1; - List list170 = new List(num); - CollectionsMarshal.SetCount(list170, num); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.None, null, null, 956) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanHallOfArtifice - } - }; - gatheringRoot15.Steps = list170; - num = 3; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - Span span81 = CollectionsMarshal.AsSpan(list171); - ref GatheringNodeGroup reference127 = ref span81[0]; - GatheringNodeGroup gatheringNodeGroup43 = new GatheringNodeGroup(); - num2 = 2; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - Span span82 = CollectionsMarshal.AsSpan(list172); - ref GatheringNode reference128 = ref span82[0]; - GatheringNode obj85 = new GatheringNode - { - DataId = 33974u - }; - num3 = 1; - List list173 = new List(num3); - CollectionsMarshal.SetCount(list173, num3); - CollectionsMarshal.AsSpan(list173)[0] = new GatheringLocation - { - Position = new Vector3(-218.7686f, 166.4283f, -723.4156f), - MinimumAngle = 85, - MaximumAngle = 235 - }; - obj85.Locations = list173; - reference128 = obj85; - ref GatheringNode reference129 = ref span82[1]; - GatheringNode obj86 = new GatheringNode - { - DataId = 33975u - }; - num3 = 3; - List list174 = new List(num3); - CollectionsMarshal.SetCount(list174, num3); - Span span83 = CollectionsMarshal.AsSpan(list174); - span83[0] = new GatheringLocation - { - Position = new Vector3(-212.9429f, 165.4075f, -702.5071f), - MinimumAngle = 80, - MaximumAngle = 230 - }; - span83[1] = new GatheringLocation - { - Position = new Vector3(-230.457f, 166.878f, -708.8349f), - MinimumAngle = 115, - MaximumAngle = 235 - }; - span83[2] = new GatheringLocation - { - Position = new Vector3(-211.0781f, 165.8331f, -732.723f), - MinimumAngle = 60, - MaximumAngle = 215 - }; - obj86.Locations = list174; - reference129 = obj86; - gatheringNodeGroup43.Nodes = list172; - reference127 = gatheringNodeGroup43; - ref GatheringNodeGroup reference130 = ref span81[1]; - GatheringNodeGroup gatheringNodeGroup44 = new GatheringNodeGroup(); - num2 = 2; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - Span span84 = CollectionsMarshal.AsSpan(list175); - ref GatheringNode reference131 = ref span84[0]; - GatheringNode obj87 = new GatheringNode - { - DataId = 33972u - }; - num3 = 1; - List list176 = new List(num3); - CollectionsMarshal.SetCount(list176, num3); - CollectionsMarshal.AsSpan(list176)[0] = new GatheringLocation - { - Position = new Vector3(-281.8436f, 181.3823f, -815.8576f), - MinimumAngle = 230, - MaximumAngle = 360 - }; - obj87.Locations = list176; - reference131 = obj87; - ref GatheringNode reference132 = ref span84[1]; - GatheringNode obj88 = new GatheringNode - { - DataId = 33973u - }; - num3 = 3; - List list177 = new List(num3); - CollectionsMarshal.SetCount(list177, num3); - Span span85 = CollectionsMarshal.AsSpan(list177); - span85[0] = new GatheringLocation - { - Position = new Vector3(-268.4985f, 181.0501f, -829.9652f), - MinimumAngle = -115, - MaximumAngle = 45 - }; - span85[1] = new GatheringLocation - { - Position = new Vector3(-290.0164f, 182.6228f, -817.2674f), - MinimumAngle = -145, - MaximumAngle = 35 - }; - span85[2] = new GatheringLocation - { - Position = new Vector3(-264.0305f, 180.8218f, -837.3401f), - MinimumAngle = -40, - MaximumAngle = 95 - }; - obj88.Locations = list177; - reference132 = obj88; - gatheringNodeGroup44.Nodes = list175; - reference130 = gatheringNodeGroup44; - ref GatheringNodeGroup reference133 = ref span81[2]; - GatheringNodeGroup gatheringNodeGroup45 = new GatheringNodeGroup(); - num2 = 2; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - Span span86 = CollectionsMarshal.AsSpan(list178); - ref GatheringNode reference134 = ref span86[0]; - GatheringNode obj89 = new GatheringNode - { - DataId = 33971u - }; - num3 = 3; - List list179 = new List(num3); - CollectionsMarshal.SetCount(list179, num3); - Span span87 = CollectionsMarshal.AsSpan(list179); - span87[0] = new GatheringLocation - { - Position = new Vector3(-385.0122f, 189.0781f, -711.0446f), - MinimumAngle = -30, - MaximumAngle = 100 - }; - span87[1] = new GatheringLocation - { - Position = new Vector3(-407.4641f, 187.9986f, -684.2576f), - MinimumAngle = 180, - MaximumAngle = 310 - }; - span87[2] = new GatheringLocation - { - Position = new Vector3(-395.5105f, 187.897f, -687.5342f), - MinimumAngle = 0, - MaximumAngle = 240 - }; - obj89.Locations = list179; - reference134 = obj89; - ref GatheringNode reference135 = ref span86[1]; - GatheringNode obj90 = new GatheringNode - { - DataId = 33970u - }; - num3 = 1; - List list180 = new List(num3); - CollectionsMarshal.SetCount(list180, num3); - CollectionsMarshal.AsSpan(list180)[0] = new GatheringLocation - { - Position = new Vector3(-400.513f, 188.9934f, -695.2208f), - MinimumAngle = 165, - MaximumAngle = 315 - }; - obj90.Locations = list180; - reference135 = obj90; - gatheringNodeGroup45.Nodes = list178; - reference133 = gatheringNodeGroup45; - gatheringRoot15.Groups = list171; - AddLocation(837, gatheringRoot15); - GatheringRoot gatheringRoot16 = new GatheringRoot(); - num = 1; - List list181 = new List(num); - CollectionsMarshal.SetCount(list181, num); - CollectionsMarshal.AsSpan(list181)[0] = "liza"; - gatheringRoot16.Author = list181; - num = 1; - List list182 = new List(num); - CollectionsMarshal.SetCount(list182, num); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.None, null, null, 956) - { - AetheryteShortcut = EAetheryteLocation.LabyrinthosArcheion - }; - gatheringRoot16.Steps = list182; - num = 3; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - Span span88 = CollectionsMarshal.AsSpan(list183); - ref GatheringNodeGroup reference136 = ref span88[0]; - GatheringNodeGroup gatheringNodeGroup46 = new GatheringNodeGroup(); - num2 = 2; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - Span span89 = CollectionsMarshal.AsSpan(list184); - ref GatheringNode reference137 = ref span89[0]; - GatheringNode obj91 = new GatheringNode - { - DataId = 33980u - }; - num3 = 1; - List list185 = new List(num3); - CollectionsMarshal.SetCount(list185, num3); - CollectionsMarshal.AsSpan(list185)[0] = new GatheringLocation - { - Position = new Vector3(331.2026f, 86.06693f, -318.6516f) - }; - obj91.Locations = list185; - reference137 = obj91; - ref GatheringNode reference138 = ref span89[1]; - GatheringNode obj92 = new GatheringNode - { - DataId = 33981u - }; - num3 = 3; - List list186 = new List(num3); - CollectionsMarshal.SetCount(list186, num3); - Span span90 = CollectionsMarshal.AsSpan(list186); - span90[0] = new GatheringLocation - { - Position = new Vector3(334.0037f, 85.40742f, -300.7174f) - }; - span90[1] = new GatheringLocation - { - Position = new Vector3(355.6456f, 86.62501f, -308.6764f) - }; - span90[2] = new GatheringLocation - { - Position = new Vector3(340.9933f, 86.25529f, -324.239f) - }; - obj92.Locations = list186; - reference138 = obj92; - gatheringNodeGroup46.Nodes = list184; - reference136 = gatheringNodeGroup46; - ref GatheringNodeGroup reference139 = ref span88[1]; - GatheringNodeGroup gatheringNodeGroup47 = new GatheringNodeGroup(); - num2 = 2; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - Span span91 = CollectionsMarshal.AsSpan(list187); - ref GatheringNode reference140 = ref span91[0]; - GatheringNode obj93 = new GatheringNode - { - DataId = 33979u - }; - num3 = 3; - List list188 = new List(num3); - CollectionsMarshal.SetCount(list188, num3); - Span span92 = CollectionsMarshal.AsSpan(list188); - span92[0] = new GatheringLocation - { - Position = new Vector3(255.936f, 70.96983f, -233.1732f) - }; - span92[1] = new GatheringLocation - { - Position = new Vector3(239.4902f, 69.74259f, -224.506f) - }; - span92[2] = new GatheringLocation - { - Position = new Vector3(265.0269f, 70.56706f, -208.2487f) - }; - obj93.Locations = list188; - reference140 = obj93; - ref GatheringNode reference141 = ref span91[1]; - GatheringNode obj94 = new GatheringNode - { - DataId = 33978u - }; - num3 = 1; - List list189 = new List(num3); - CollectionsMarshal.SetCount(list189, num3); - CollectionsMarshal.AsSpan(list189)[0] = new GatheringLocation - { - Position = new Vector3(262.5149f, 69.96209f, -200.2567f), - MinimumAngle = 55, - MaximumAngle = 320 - }; - obj94.Locations = list189; - reference141 = obj94; - gatheringNodeGroup47.Nodes = list187; - reference139 = gatheringNodeGroup47; - ref GatheringNodeGroup reference142 = ref span88[2]; - GatheringNodeGroup gatheringNodeGroup48 = new GatheringNodeGroup(); - num2 = 2; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - Span span93 = CollectionsMarshal.AsSpan(list190); - ref GatheringNode reference143 = ref span93[0]; - GatheringNode obj95 = new GatheringNode - { - DataId = 33976u - }; - num3 = 1; - List list191 = new List(num3); - CollectionsMarshal.SetCount(list191, num3); - CollectionsMarshal.AsSpan(list191)[0] = new GatheringLocation - { - Position = new Vector3(375.1279f, 67.35788f, -150.6431f) - }; - obj95.Locations = list191; - reference143 = obj95; - ref GatheringNode reference144 = ref span93[1]; - GatheringNode obj96 = new GatheringNode - { - DataId = 33977u - }; - num3 = 3; - List list192 = new List(num3); - CollectionsMarshal.SetCount(list192, num3); - Span span94 = CollectionsMarshal.AsSpan(list192); - span94[0] = new GatheringLocation - { - Position = new Vector3(392.5393f, 65.98527f, -141.6628f) - }; - span94[1] = new GatheringLocation - { - Position = new Vector3(368.5759f, 67.33283f, -140.4326f) - }; - span94[2] = new GatheringLocation - { - Position = new Vector3(383.0393f, 67.01035f, -158.8207f) - }; - obj96.Locations = list192; - reference144 = obj96; - gatheringNodeGroup48.Nodes = list190; - reference142 = gatheringNodeGroup48; - gatheringRoot16.Groups = list183; - AddLocation(838, gatheringRoot16); - GatheringRoot gatheringRoot17 = new GatheringRoot(); - num = 1; - List list193 = new List(num); - CollectionsMarshal.SetCount(list193, num); - CollectionsMarshal.AsSpan(list193)[0] = "liza"; - gatheringRoot17.Author = list193; - num = 1; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.None, null, null, 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - gatheringRoot17.Steps = list194; - num = 3; - List list195 = new List(num); - CollectionsMarshal.SetCount(list195, num); - Span span95 = CollectionsMarshal.AsSpan(list195); - ref GatheringNodeGroup reference145 = ref span95[0]; - GatheringNodeGroup gatheringNodeGroup49 = new GatheringNodeGroup(); - num2 = 2; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - Span span96 = CollectionsMarshal.AsSpan(list196); - ref GatheringNode reference146 = ref span96[0]; - GatheringNode obj97 = new GatheringNode - { - DataId = 33982u - }; - num3 = 1; - List list197 = new List(num3); - CollectionsMarshal.SetCount(list197, num3); - CollectionsMarshal.AsSpan(list197)[0] = new GatheringLocation - { - Position = new Vector3(-274.8412f, 17.35062f, 118.8987f), - MinimumAngle = 175, - MaximumAngle = 310 - }; - obj97.Locations = list197; - reference146 = obj97; - ref GatheringNode reference147 = ref span96[1]; - GatheringNode obj98 = new GatheringNode - { - DataId = 33983u - }; - num3 = 3; - List list198 = new List(num3); - CollectionsMarshal.SetCount(list198, num3); - Span span97 = CollectionsMarshal.AsSpan(list198); - span97[0] = new GatheringLocation - { - Position = new Vector3(-267.3967f, 17.7139f, 123.6814f), - MinimumAngle = 40, - MaximumAngle = 245 - }; - span97[1] = new GatheringLocation - { - Position = new Vector3(-287.5207f, 18.51543f, 101.9367f), - MinimumAngle = 155, - MaximumAngle = 325 - }; - span97[2] = new GatheringLocation - { - Position = new Vector3(-268.33f, 19.74485f, 102.5864f), - MinimumAngle = -150, - MaximumAngle = 20 - }; - obj98.Locations = list198; - reference147 = obj98; - gatheringNodeGroup49.Nodes = list196; - reference145 = gatheringNodeGroup49; - ref GatheringNodeGroup reference148 = ref span95[1]; - GatheringNodeGroup gatheringNodeGroup50 = new GatheringNodeGroup(); - num2 = 2; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - Span span98 = CollectionsMarshal.AsSpan(list199); - ref GatheringNode reference149 = ref span98[0]; - GatheringNode obj99 = new GatheringNode - { - DataId = 33984u - }; - num3 = 1; - List list200 = new List(num3); - CollectionsMarshal.SetCount(list200, num3); - CollectionsMarshal.AsSpan(list200)[0] = new GatheringLocation - { - Position = new Vector3(-152.7941f, 38.65108f, 20.30975f), - MinimumAngle = 0, - MaximumAngle = 215 - }; - obj99.Locations = list200; - reference149 = obj99; - ref GatheringNode reference150 = ref span98[1]; - GatheringNode obj100 = new GatheringNode - { - DataId = 33985u - }; - num3 = 3; - List list201 = new List(num3); - CollectionsMarshal.SetCount(list201, num3); - Span span99 = CollectionsMarshal.AsSpan(list201); - span99[0] = new GatheringLocation - { - Position = new Vector3(-142.8687f, 41.0236f, 21.84206f), - MinimumAngle = -65, - MaximumAngle = 85 - }; - span99[1] = new GatheringLocation - { - Position = new Vector3(-146.3786f, 40.56817f, 29.28198f), - MinimumAngle = -10, - MaximumAngle = 140 - }; - span99[2] = new GatheringLocation - { - Position = new Vector3(-147.6553f, 41.60496f, -0.04698198f), - MinimumAngle = -130, - MaximumAngle = 40 - }; - obj100.Locations = list201; - reference150 = obj100; - gatheringNodeGroup50.Nodes = list199; - reference148 = gatheringNodeGroup50; - ref GatheringNodeGroup reference151 = ref span95[2]; - GatheringNodeGroup gatheringNodeGroup51 = new GatheringNodeGroup(); - num2 = 2; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - Span span100 = CollectionsMarshal.AsSpan(list202); - ref GatheringNode reference152 = ref span100[0]; - GatheringNode obj101 = new GatheringNode - { - DataId = 33987u - }; - num3 = 2; - List list203 = new List(num3); - CollectionsMarshal.SetCount(list203, num3); - Span span101 = CollectionsMarshal.AsSpan(list203); - span101[0] = new GatheringLocation - { - Position = new Vector3(-270.0331f, 35.83369f, -29.07548f), - MinimumAngle = 200, - MaximumAngle = 330 - }; - span101[1] = new GatheringLocation - { - Position = new Vector3(-274.9584f, 35.26747f, -31.89327f), - MinimumAngle = 90, - MaximumAngle = 290 - }; - obj101.Locations = list203; - reference152 = obj101; - ref GatheringNode reference153 = ref span100[1]; - GatheringNode obj102 = new GatheringNode - { - DataId = 33986u - }; - num3 = 1; - List list204 = new List(num3); - CollectionsMarshal.SetCount(list204, num3); - CollectionsMarshal.AsSpan(list204)[0] = new GatheringLocation - { - Position = new Vector3(-267.6438f, 35.07198f, -44.49979f), - MinimumAngle = -100, - MaximumAngle = 60 - }; - obj102.Locations = list204; - reference153 = obj102; - gatheringNodeGroup51.Nodes = list202; - reference151 = gatheringNodeGroup51; - gatheringRoot17.Groups = list195; - AddLocation(839, gatheringRoot17); - GatheringRoot gatheringRoot18 = new GatheringRoot(); - num = 1; - List list205 = new List(num); - CollectionsMarshal.SetCount(list205, num); - CollectionsMarshal.AsSpan(list205)[0] = "liza"; - gatheringRoot18.Author = list205; - num = 1; - List list206 = new List(num); - CollectionsMarshal.SetCount(list206, num); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.None, null, null, 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - gatheringRoot18.Steps = list206; - num = 3; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - Span span102 = CollectionsMarshal.AsSpan(list207); - ref GatheringNodeGroup reference154 = ref span102[0]; - GatheringNodeGroup gatheringNodeGroup52 = new GatheringNodeGroup(); - num2 = 2; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - Span span103 = CollectionsMarshal.AsSpan(list208); - ref GatheringNode reference155 = ref span103[0]; - GatheringNode obj103 = new GatheringNode - { - DataId = 33993u - }; - num3 = 1; - List list209 = new List(num3); - CollectionsMarshal.SetCount(list209, num3); - CollectionsMarshal.AsSpan(list209)[0] = new GatheringLocation - { - Position = new Vector3(-97.85602f, 91.39626f, -562.7067f) - }; - obj103.Locations = list209; - reference155 = obj103; - ref GatheringNode reference156 = ref span103[1]; - GatheringNode obj104 = new GatheringNode - { - DataId = 33992u - }; - num3 = 3; - List list210 = new List(num3); - CollectionsMarshal.SetCount(list210, num3); - Span span104 = CollectionsMarshal.AsSpan(list210); - span104[0] = new GatheringLocation - { - Position = new Vector3(-91.53894f, 91.14209f, -520.9888f) - }; - span104[1] = new GatheringLocation - { - Position = new Vector3(-82.73576f, 91.15034f, -532.2811f) - }; - span104[2] = new GatheringLocation - { - Position = new Vector3(-119.5286f, 89.67725f, -601.3649f) - }; - obj104.Locations = list210; - reference156 = obj104; - gatheringNodeGroup52.Nodes = list208; - reference154 = gatheringNodeGroup52; - ref GatheringNodeGroup reference157 = ref span102[1]; - GatheringNodeGroup gatheringNodeGroup53 = new GatheringNodeGroup(); - num2 = 2; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - Span span105 = CollectionsMarshal.AsSpan(list211); - ref GatheringNode reference158 = ref span105[0]; - GatheringNode obj105 = new GatheringNode - { - DataId = 33990u - }; - num3 = 1; - List list212 = new List(num3); - CollectionsMarshal.SetCount(list212, num3); - CollectionsMarshal.AsSpan(list212)[0] = new GatheringLocation - { - Position = new Vector3(105.0951f, 75.30056f, -581.8511f) - }; - obj105.Locations = list212; - reference158 = obj105; - ref GatheringNode reference159 = ref span105[1]; - GatheringNode obj106 = new GatheringNode - { - DataId = 33991u - }; - num3 = 3; - List list213 = new List(num3); - CollectionsMarshal.SetCount(list213, num3); - Span span106 = CollectionsMarshal.AsSpan(list213); - span106[0] = new GatheringLocation - { - Position = new Vector3(113.0813f, 72.75166f, -575.8746f) - }; - span106[1] = new GatheringLocation - { - Position = new Vector3(133.7231f, 67.87361f, -567.9795f) - }; - span106[2] = new GatheringLocation - { - Position = new Vector3(109.7108f, 71.64627f, -562.0082f) - }; - obj106.Locations = list213; - reference159 = obj106; - gatheringNodeGroup53.Nodes = list211; - reference157 = gatheringNodeGroup53; - ref GatheringNodeGroup reference160 = ref span102[2]; - GatheringNodeGroup gatheringNodeGroup54 = new GatheringNodeGroup(); - num2 = 2; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - Span span107 = CollectionsMarshal.AsSpan(list214); - ref GatheringNode reference161 = ref span107[0]; - GatheringNode obj107 = new GatheringNode - { - DataId = 33988u - }; - num3 = 1; - List list215 = new List(num3); - CollectionsMarshal.SetCount(list215, num3); - CollectionsMarshal.AsSpan(list215)[0] = new GatheringLocation - { - Position = new Vector3(53.25103f, 92.24804f, -643.022f) - }; - obj107.Locations = list215; - reference161 = obj107; - ref GatheringNode reference162 = ref span107[1]; - GatheringNode obj108 = new GatheringNode - { - DataId = 33989u - }; - num3 = 3; - List list216 = new List(num3); - CollectionsMarshal.SetCount(list216, num3); - Span span108 = CollectionsMarshal.AsSpan(list216); - span108[0] = new GatheringLocation - { - Position = new Vector3(59.02333f, 93.08621f, -646.8438f) - }; - span108[1] = new GatheringLocation - { - Position = new Vector3(8.818645f, 90.40326f, -640.8149f) - }; - span108[2] = new GatheringLocation - { - Position = new Vector3(41.15356f, 96.41193f, -676.5558f), - MinimumAngle = -85, - MaximumAngle = 90 - }; - obj108.Locations = list216; - reference162 = obj108; - gatheringNodeGroup54.Nodes = list214; - reference160 = gatheringNodeGroup54; - gatheringRoot18.Groups = list207; - AddLocation(840, gatheringRoot18); - GatheringRoot gatheringRoot19 = new GatheringRoot(); - num = 1; - List list217 = new List(num); - CollectionsMarshal.SetCount(list217, num); - CollectionsMarshal.AsSpan(list217)[0] = "liza"; - gatheringRoot19.Author = list217; - num = 1; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - CollectionsMarshal.AsSpan(list218)[0] = new QuestStep(EInteractionType.None, null, null, 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - gatheringRoot19.Steps = list218; - num = 3; - List list219 = new List(num); - CollectionsMarshal.SetCount(list219, num); - Span span109 = CollectionsMarshal.AsSpan(list219); - ref GatheringNodeGroup reference163 = ref span109[0]; - GatheringNodeGroup gatheringNodeGroup55 = new GatheringNodeGroup(); - num2 = 2; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - Span span110 = CollectionsMarshal.AsSpan(list220); - ref GatheringNode reference164 = ref span110[0]; - GatheringNode obj109 = new GatheringNode - { - DataId = 34002u - }; - num3 = 2; - List list221 = new List(num3); - CollectionsMarshal.SetCount(list221, num3); - Span span111 = CollectionsMarshal.AsSpan(list221); - span111[0] = new GatheringLocation - { - Position = new Vector3(-278.0806f, 23.49333f, 457.1718f), - MinimumAngle = 155, - MaximumAngle = 360 - }; - span111[1] = new GatheringLocation - { - Position = new Vector3(-247.303f, 24.73875f, 431.0542f), - MinimumAngle = 55, - MaximumAngle = 265 - }; - obj109.Locations = list221; - reference164 = obj109; - ref GatheringNode reference165 = ref span110[1]; - GatheringNode obj110 = new GatheringNode - { - DataId = 34001u - }; - num3 = 1; - List list222 = new List(num3); - CollectionsMarshal.SetCount(list222, num3); - CollectionsMarshal.AsSpan(list222)[0] = new GatheringLocation - { - Position = new Vector3(-231.6437f, 23.05049f, 438.9474f), - MinimumAngle = 135, - MaximumAngle = 340 - }; - obj110.Locations = list222; - reference165 = obj110; - gatheringNodeGroup55.Nodes = list220; - reference163 = gatheringNodeGroup55; - ref GatheringNodeGroup reference166 = ref span109[1]; - GatheringNodeGroup gatheringNodeGroup56 = new GatheringNodeGroup(); - num2 = 2; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - Span span112 = CollectionsMarshal.AsSpan(list223); - ref GatheringNode reference167 = ref span112[0]; - GatheringNode obj111 = new GatheringNode - { - DataId = 33999u - }; - num3 = 1; - List list224 = new List(num3); - CollectionsMarshal.SetCount(list224, num3); - CollectionsMarshal.AsSpan(list224)[0] = new GatheringLocation - { - Position = new Vector3(-224.5309f, 18.15879f, 302.212f), - MinimumAngle = -20, - MaximumAngle = 180 - }; - obj111.Locations = list224; - reference167 = obj111; - ref GatheringNode reference168 = ref span112[1]; - GatheringNode obj112 = new GatheringNode - { - DataId = 34000u - }; - num3 = 2; - List list225 = new List(num3); - CollectionsMarshal.SetCount(list225, num3); - Span span113 = CollectionsMarshal.AsSpan(list225); - span113[0] = new GatheringLocation - { - Position = new Vector3(-201.1902f, 17.46593f, 293.0554f), - MinimumAngle = -20, - MaximumAngle = 180 - }; - span113[1] = new GatheringLocation - { - Position = new Vector3(-206.8405f, 21.01518f, 327.3298f), - MinimumAngle = 0, - MaximumAngle = 205 - }; - obj112.Locations = list225; - reference168 = obj112; - gatheringNodeGroup56.Nodes = list223; - reference166 = gatheringNodeGroup56; - ref GatheringNodeGroup reference169 = ref span109[2]; - GatheringNodeGroup gatheringNodeGroup57 = new GatheringNodeGroup(); - num2 = 2; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - Span span114 = CollectionsMarshal.AsSpan(list226); - ref GatheringNode reference170 = ref span114[0]; - GatheringNode obj113 = new GatheringNode - { - DataId = 33998u - }; - num3 = 2; - List list227 = new List(num3); - CollectionsMarshal.SetCount(list227, num3); - Span span115 = CollectionsMarshal.AsSpan(list227); - span115[0] = new GatheringLocation - { - Position = new Vector3(-356.6845f, 25.77399f, 371.3325f), - MinimumAngle = -245, - MaximumAngle = -55 - }; - span115[1] = new GatheringLocation - { - Position = new Vector3(-378.934f, 21.82056f, 365.7343f), - MinimumAngle = -160, - MaximumAngle = 10 - }; - obj113.Locations = list227; - reference170 = obj113; - ref GatheringNode reference171 = ref span114[1]; - GatheringNode obj114 = new GatheringNode - { - DataId = 33997u - }; - num3 = 1; - List list228 = new List(num3); - CollectionsMarshal.SetCount(list228, num3); - CollectionsMarshal.AsSpan(list228)[0] = new GatheringLocation - { - Position = new Vector3(-365.8535f, 18.70865f, 339.1927f), - MinimumAngle = -180, - MaximumAngle = 5 - }; - obj114.Locations = list228; - reference171 = obj114; - gatheringNodeGroup57.Nodes = list226; - reference169 = gatheringNodeGroup57; - gatheringRoot19.Groups = list219; - AddLocation(842, gatheringRoot19); - GatheringRoot gatheringRoot20 = new GatheringRoot(); - num = 1; - List list229 = new List(num); - CollectionsMarshal.SetCount(list229, num); - CollectionsMarshal.AsSpan(list229)[0] = "liza"; - gatheringRoot20.Author = list229; - num = 1; - List list230 = new List(num); - CollectionsMarshal.SetCount(list230, num); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.None, null, null, 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - gatheringRoot20.Steps = list230; - num = 3; - List list231 = new List(num); - CollectionsMarshal.SetCount(list231, num); - Span span116 = CollectionsMarshal.AsSpan(list231); - ref GatheringNodeGroup reference172 = ref span116[0]; - GatheringNodeGroup gatheringNodeGroup58 = new GatheringNodeGroup(); - num2 = 2; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - Span span117 = CollectionsMarshal.AsSpan(list232); - ref GatheringNode reference173 = ref span117[0]; - GatheringNode obj115 = new GatheringNode - { - DataId = 34004u - }; - num3 = 3; - List list233 = new List(num3); - CollectionsMarshal.SetCount(list233, num3); - Span span118 = CollectionsMarshal.AsSpan(list233); - span118[0] = new GatheringLocation - { - Position = new Vector3(121.8413f, -6.651628f, 246.5624f) - }; - span118[1] = new GatheringLocation - { - Position = new Vector3(118.1294f, -6.603673f, 242.6448f) - }; - span118[2] = new GatheringLocation - { - Position = new Vector3(104.2039f, -10.52542f, 266.5598f) - }; - obj115.Locations = list233; - reference173 = obj115; - ref GatheringNode reference174 = ref span117[1]; - GatheringNode obj116 = new GatheringNode - { - DataId = 34003u - }; - num3 = 1; - List list234 = new List(num3); - CollectionsMarshal.SetCount(list234, num3); - CollectionsMarshal.AsSpan(list234)[0] = new GatheringLocation - { - Position = new Vector3(98.86316f, -9.970013f, 257.6278f) - }; - obj116.Locations = list234; - reference174 = obj116; - gatheringNodeGroup58.Nodes = list232; - reference172 = gatheringNodeGroup58; - ref GatheringNodeGroup reference175 = ref span116[1]; - GatheringNodeGroup gatheringNodeGroup59 = new GatheringNodeGroup(); - num2 = 2; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - Span span119 = CollectionsMarshal.AsSpan(list235); - ref GatheringNode reference176 = ref span119[0]; - GatheringNode obj117 = new GatheringNode - { - DataId = 34005u - }; - num3 = 1; - List list236 = new List(num3); - CollectionsMarshal.SetCount(list236, num3); - CollectionsMarshal.AsSpan(list236)[0] = new GatheringLocation - { - Position = new Vector3(215.6167f, 1.599456f, 144.3346f) - }; - obj117.Locations = list236; - reference176 = obj117; - ref GatheringNode reference177 = ref span119[1]; - GatheringNode obj118 = new GatheringNode - { - DataId = 34006u - }; - num3 = 3; - List list237 = new List(num3); - CollectionsMarshal.SetCount(list237, num3); - Span span120 = CollectionsMarshal.AsSpan(list237); - span120[0] = new GatheringLocation - { - Position = new Vector3(215.9073f, 1.613284f, 136.584f) - }; - span120[1] = new GatheringLocation - { - Position = new Vector3(191.0582f, 2.43164f, 147.7836f) - }; - span120[2] = new GatheringLocation - { - Position = new Vector3(185.1617f, 2.402756f, 138.276f) - }; - obj118.Locations = list237; - reference177 = obj118; - gatheringNodeGroup59.Nodes = list235; - reference175 = gatheringNodeGroup59; - ref GatheringNodeGroup reference178 = ref span116[2]; - GatheringNodeGroup gatheringNodeGroup60 = new GatheringNodeGroup(); - num2 = 2; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - Span span121 = CollectionsMarshal.AsSpan(list238); - ref GatheringNode reference179 = ref span121[0]; - GatheringNode obj119 = new GatheringNode - { - DataId = 34007u - }; - num3 = 1; - List list239 = new List(num3); - CollectionsMarshal.SetCount(list239, num3); - CollectionsMarshal.AsSpan(list239)[0] = new GatheringLocation - { - Position = new Vector3(264.295f, -11.52659f, 306.4464f) - }; - obj119.Locations = list239; - reference179 = obj119; - ref GatheringNode reference180 = ref span121[1]; - GatheringNode obj120 = new GatheringNode - { - DataId = 34008u - }; - num3 = 3; - List list240 = new List(num3); - CollectionsMarshal.SetCount(list240, num3); - Span span122 = CollectionsMarshal.AsSpan(list240); - span122[0] = new GatheringLocation - { - Position = new Vector3(280.1551f, -11.53278f, 301.5915f) - }; - span122[1] = new GatheringLocation - { - Position = new Vector3(257.884f, -12.02824f, 296.5428f) - }; - span122[2] = new GatheringLocation - { - Position = new Vector3(271.8952f, -12.7945f, 320.4683f) - }; - obj120.Locations = list240; - reference180 = obj120; - gatheringNodeGroup60.Nodes = list238; - reference178 = gatheringNodeGroup60; - gatheringRoot20.Groups = list231; - AddLocation(843, gatheringRoot20); - GatheringRoot gatheringRoot21 = new GatheringRoot(); - num = 1; - List list241 = new List(num); - CollectionsMarshal.SetCount(list241, num); - CollectionsMarshal.AsSpan(list241)[0] = "liza"; - gatheringRoot21.Author = list241; - num = 1; - List list242 = new List(num); - CollectionsMarshal.SetCount(list242, num); - CollectionsMarshal.AsSpan(list242)[0] = new QuestStep(EInteractionType.None, null, null, 961) - { - AetheryteShortcut = EAetheryteLocation.ElpisAnagnorisis - }; - gatheringRoot21.Steps = list242; - num = 3; - List list243 = new List(num); - CollectionsMarshal.SetCount(list243, num); - Span span123 = CollectionsMarshal.AsSpan(list243); - ref GatheringNodeGroup reference181 = ref span123[0]; - GatheringNodeGroup gatheringNodeGroup61 = new GatheringNodeGroup(); - num2 = 2; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - Span span124 = CollectionsMarshal.AsSpan(list244); - ref GatheringNode reference182 = ref span124[0]; - GatheringNode obj121 = new GatheringNode - { - DataId = 34020u - }; - num3 = 1; - List list245 = new List(num3); - CollectionsMarshal.SetCount(list245, num3); - CollectionsMarshal.AsSpan(list245)[0] = new GatheringLocation - { - Position = new Vector3(44.78436f, 7.229512f, 98.57001f) - }; - obj121.Locations = list245; - reference182 = obj121; - ref GatheringNode reference183 = ref span124[1]; - GatheringNode obj122 = new GatheringNode - { - DataId = 34021u - }; - num3 = 2; - List list246 = new List(num3); - CollectionsMarshal.SetCount(list246, num3); - Span span125 = CollectionsMarshal.AsSpan(list246); - span125[0] = new GatheringLocation - { - Position = new Vector3(46.74728f, 7.877012f, 88.79111f) - }; - span125[1] = new GatheringLocation - { - Position = new Vector3(34.40783f, 3.908499f, 67.13975f) - }; - obj122.Locations = list246; - reference183 = obj122; - gatheringNodeGroup61.Nodes = list244; - reference181 = gatheringNodeGroup61; - ref GatheringNodeGroup reference184 = ref span123[1]; - GatheringNodeGroup gatheringNodeGroup62 = new GatheringNodeGroup(); - num2 = 2; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - Span span126 = CollectionsMarshal.AsSpan(list247); - ref GatheringNode reference185 = ref span126[0]; - GatheringNode obj123 = new GatheringNode - { - DataId = 34023u - }; - num3 = 2; - List list248 = new List(num3); - CollectionsMarshal.SetCount(list248, num3); - Span span127 = CollectionsMarshal.AsSpan(list248); - span127[0] = new GatheringLocation - { - Position = new Vector3(-91.27831f, -8.489767f, 69.08894f) - }; - span127[1] = new GatheringLocation - { - Position = new Vector3(-117.3572f, -11.70367f, 38.49854f) - }; - obj123.Locations = list248; - reference185 = obj123; - ref GatheringNode reference186 = ref span126[1]; - GatheringNode obj124 = new GatheringNode - { - DataId = 34022u - }; - num3 = 1; - List list249 = new List(num3); - CollectionsMarshal.SetCount(list249, num3); - CollectionsMarshal.AsSpan(list249)[0] = new GatheringLocation - { - Position = new Vector3(-124.86f, -11.29384f, 89.80068f) - }; - obj124.Locations = list249; - reference186 = obj124; - gatheringNodeGroup62.Nodes = list247; - reference184 = gatheringNodeGroup62; - ref GatheringNodeGroup reference187 = ref span123[2]; - GatheringNodeGroup gatheringNodeGroup63 = new GatheringNodeGroup(); - num2 = 2; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - Span span128 = CollectionsMarshal.AsSpan(list250); - ref GatheringNode reference188 = ref span128[0]; - GatheringNode obj125 = new GatheringNode - { - DataId = 34019u - }; - num3 = 2; - List list251 = new List(num3); - CollectionsMarshal.SetCount(list251, num3); - Span span129 = CollectionsMarshal.AsSpan(list251); - span129[0] = new GatheringLocation - { - Position = new Vector3(-13.48685f, 4.629431f, 208.5452f) - }; - span129[1] = new GatheringLocation - { - Position = new Vector3(-65.74567f, -2.738637f, 195.961f) - }; - obj125.Locations = list251; - reference188 = obj125; - ref GatheringNode reference189 = ref span128[1]; - GatheringNode obj126 = new GatheringNode - { - DataId = 34018u - }; - num3 = 1; - List list252 = new List(num3); - CollectionsMarshal.SetCount(list252, num3); - CollectionsMarshal.AsSpan(list252)[0] = new GatheringLocation - { - Position = new Vector3(-41.94958f, -0.697382f, 173.7239f) - }; - obj126.Locations = list252; - reference189 = obj126; - gatheringNodeGroup63.Nodes = list250; - reference187 = gatheringNodeGroup63; - gatheringRoot21.Groups = list243; - AddLocation(846, gatheringRoot21); - GatheringRoot gatheringRoot22 = new GatheringRoot(); - num = 1; - List list253 = new List(num); - CollectionsMarshal.SetCount(list253, num); - CollectionsMarshal.AsSpan(list253)[0] = "liza"; - gatheringRoot22.Author = list253; - num = 1; - List list254 = new List(num); - CollectionsMarshal.SetCount(list254, num); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.None, null, null, 956); - gatheringRoot22.Steps = list254; - gatheringRoot22.FlyBetweenNodes = false; - num = 8; - List list255 = new List(num); - CollectionsMarshal.SetCount(list255, num); - Span span130 = CollectionsMarshal.AsSpan(list255); - ref GatheringNodeGroup reference190 = ref span130[0]; - GatheringNodeGroup gatheringNodeGroup64 = new GatheringNodeGroup(); - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - ref GatheringNode reference191 = ref CollectionsMarshal.AsSpan(list256)[0]; - GatheringNode obj127 = new GatheringNode - { - DataId = 34281u - }; - num3 = 1; - List list257 = new List(num3); - CollectionsMarshal.SetCount(list257, num3); - CollectionsMarshal.AsSpan(list257)[0] = new GatheringLocation - { - Position = new Vector3(-510.2663f, -20.72923f, -119.9257f), - MinimumAngle = -120, - MaximumAngle = 10 - }; - obj127.Locations = list257; - reference191 = obj127; - gatheringNodeGroup64.Nodes = list256; - reference190 = gatheringNodeGroup64; - ref GatheringNodeGroup reference192 = ref span130[1]; - GatheringNodeGroup gatheringNodeGroup65 = new GatheringNodeGroup(); - num2 = 1; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - ref GatheringNode reference193 = ref CollectionsMarshal.AsSpan(list258)[0]; - GatheringNode obj128 = new GatheringNode - { - DataId = 34283u - }; - num3 = 1; - List list259 = new List(num3); - CollectionsMarshal.SetCount(list259, num3); - CollectionsMarshal.AsSpan(list259)[0] = new GatheringLocation - { - Position = new Vector3(-502.4525f, -18.55583f, -139.683f), - MinimumAngle = -95, - MaximumAngle = -35, - MinimumDistance = 1f, - MaximumDistance = 1.8f - }; - obj128.Locations = list259; - reference193 = obj128; - gatheringNodeGroup65.Nodes = list258; - reference192 = gatheringNodeGroup65; - ref GatheringNodeGroup reference194 = ref span130[2]; - GatheringNodeGroup gatheringNodeGroup66 = new GatheringNodeGroup(); - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - ref GatheringNode reference195 = ref CollectionsMarshal.AsSpan(list260)[0]; - GatheringNode obj129 = new GatheringNode - { - DataId = 34284u - }; - num3 = 1; - List list261 = new List(num3); - CollectionsMarshal.SetCount(list261, num3); - CollectionsMarshal.AsSpan(list261)[0] = new GatheringLocation - { - Position = new Vector3(-499.3535f, -18.75164f, -141.9256f), - MinimumAngle = -75, - MaximumAngle = 15, - MinimumDistance = 1f, - MaximumDistance = 2.3f - }; - obj129.Locations = list261; - reference195 = obj129; - gatheringNodeGroup66.Nodes = list260; - reference194 = gatheringNodeGroup66; - ref GatheringNodeGroup reference196 = ref span130[3]; - GatheringNodeGroup gatheringNodeGroup67 = new GatheringNodeGroup(); - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - ref GatheringNode reference197 = ref CollectionsMarshal.AsSpan(list262)[0]; - GatheringNode obj130 = new GatheringNode - { - DataId = 34285u - }; - num3 = 1; - List list263 = new List(num3); - CollectionsMarshal.SetCount(list263, num3); - CollectionsMarshal.AsSpan(list263)[0] = new GatheringLocation - { - Position = new Vector3(-495.1168f, -18.65139f, -142.5636f), - MinimumAngle = -85, - MaximumAngle = 45 - }; - obj130.Locations = list263; - reference197 = obj130; - gatheringNodeGroup67.Nodes = list262; - reference196 = gatheringNodeGroup67; - ref GatheringNodeGroup reference198 = ref span130[4]; - GatheringNodeGroup gatheringNodeGroup68 = new GatheringNodeGroup(); - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - ref GatheringNode reference199 = ref CollectionsMarshal.AsSpan(list264)[0]; - GatheringNode obj131 = new GatheringNode - { - DataId = 34286u - }; - num3 = 1; - List list265 = new List(num3); - CollectionsMarshal.SetCount(list265, num3); - CollectionsMarshal.AsSpan(list265)[0] = new GatheringLocation - { - Position = new Vector3(-491.4826f, -19.44574f, -144.2088f), - MinimumAngle = -105, - MaximumAngle = 25 - }; - obj131.Locations = list265; - reference199 = obj131; - gatheringNodeGroup68.Nodes = list264; - reference198 = gatheringNodeGroup68; - ref GatheringNodeGroup reference200 = ref span130[5]; - GatheringNodeGroup gatheringNodeGroup69 = new GatheringNodeGroup(); - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - ref GatheringNode reference201 = ref CollectionsMarshal.AsSpan(list266)[0]; - GatheringNode obj132 = new GatheringNode - { - DataId = 34287u - }; - num3 = 1; - List list267 = new List(num3); - CollectionsMarshal.SetCount(list267, num3); - CollectionsMarshal.AsSpan(list267)[0] = new GatheringLocation - { - Position = new Vector3(-488.8665f, -19.70717f, -147.403f), - MinimumAngle = 230, - MaximumAngle = 340 - }; - obj132.Locations = list267; - reference201 = obj132; - gatheringNodeGroup69.Nodes = list266; - reference200 = gatheringNodeGroup69; - ref GatheringNodeGroup reference202 = ref span130[6]; - GatheringNodeGroup gatheringNodeGroup70 = new GatheringNodeGroup(); - num2 = 1; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - ref GatheringNode reference203 = ref CollectionsMarshal.AsSpan(list268)[0]; - GatheringNode obj133 = new GatheringNode - { - DataId = 34289u - }; - num3 = 1; - List list269 = new List(num3); - CollectionsMarshal.SetCount(list269, num3); - CollectionsMarshal.AsSpan(list269)[0] = new GatheringLocation - { - Position = new Vector3(-489.1829f, -19.91622f, -153.7781f), - MinimumAngle = 200, - MaximumAngle = 320 - }; - obj133.Locations = list269; - reference203 = obj133; - gatheringNodeGroup70.Nodes = list268; - reference202 = gatheringNodeGroup70; - ref GatheringNodeGroup reference204 = ref span130[7]; - GatheringNodeGroup gatheringNodeGroup71 = new GatheringNodeGroup(); - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - ref GatheringNode reference205 = ref CollectionsMarshal.AsSpan(list270)[0]; - GatheringNode obj134 = new GatheringNode - { - DataId = 34291u - }; - num3 = 1; - List list271 = new List(num3); - CollectionsMarshal.SetCount(list271, num3); - CollectionsMarshal.AsSpan(list271)[0] = new GatheringLocation - { - Position = new Vector3(-490.1324f, -18.06493f, -164.4281f), - MinimumAngle = 210, - MaximumAngle = 310 - }; - obj134.Locations = list271; - reference205 = obj134; - gatheringNodeGroup71.Nodes = list270; - reference204 = gatheringNodeGroup71; - gatheringRoot22.Groups = list255; - AddLocation(886, gatheringRoot22); - } - - private static void LoadLocation9() - { - GatheringRoot gatheringRoot = new GatheringRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - gatheringRoot.Author = list; - num = 1; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - CollectionsMarshal.AsSpan(list2)[0] = new QuestStep(EInteractionType.None, null, null, 959) - { - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - gatheringRoot.Steps = list2; - num = 3; - List list3 = new List(num); - CollectionsMarshal.SetCount(list3, num); - Span span = CollectionsMarshal.AsSpan(list3); - ref GatheringNodeGroup reference = ref span[0]; - GatheringNodeGroup gatheringNodeGroup = new GatheringNodeGroup(); - int num2 = 2; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - ref GatheringNode reference2 = ref span2[0]; - GatheringNode obj = new GatheringNode - { - DataId = 34337u - }; - int num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = new GatheringLocation - { - Position = new Vector3(531.9888f, 133.5777f, 288.7549f), - MinimumAngle = 190, - MaximumAngle = 345 - }; - obj.Locations = list5; - reference2 = obj; - ref GatheringNode reference3 = ref span2[1]; - GatheringNode obj2 = new GatheringNode - { - DataId = 34338u - }; - num3 = 1; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - CollectionsMarshal.AsSpan(list6)[0] = new GatheringLocation - { - Position = new Vector3(562.9013f, 134.3907f, 254.6339f), - MinimumAngle = -75, - MaximumAngle = 80 - }; - obj2.Locations = list6; - reference3 = obj2; - gatheringNodeGroup.Nodes = list4; - reference = gatheringNodeGroup; - ref GatheringNodeGroup reference4 = ref span[1]; - GatheringNodeGroup gatheringNodeGroup2 = new GatheringNodeGroup(); - num2 = 2; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - Span span3 = CollectionsMarshal.AsSpan(list7); - ref GatheringNode reference5 = ref span3[0]; - GatheringNode obj3 = new GatheringNode - { - DataId = 34339u - }; - num3 = 1; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - CollectionsMarshal.AsSpan(list8)[0] = new GatheringLocation - { - Position = new Vector3(685.4268f, 130.6815f, 267.9914f), - MinimumAngle = -75, - MaximumAngle = 110 - }; - obj3.Locations = list8; - reference5 = obj3; - ref GatheringNode reference6 = ref span3[1]; - GatheringNode obj4 = new GatheringNode - { - DataId = 34340u - }; - num3 = 1; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - CollectionsMarshal.AsSpan(list9)[0] = new GatheringLocation - { - Position = new Vector3(720.4895f, 139.9972f, 239.97f), - MinimumAngle = -30, - MaximumAngle = 90 - }; - obj4.Locations = list9; - reference6 = obj4; - gatheringNodeGroup2.Nodes = list7; - reference4 = gatheringNodeGroup2; - ref GatheringNodeGroup reference7 = ref span[2]; - GatheringNodeGroup gatheringNodeGroup3 = new GatheringNodeGroup(); - num2 = 2; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span4 = CollectionsMarshal.AsSpan(list10); - ref GatheringNode reference8 = ref span4[0]; - GatheringNode obj5 = new GatheringNode - { - DataId = 34335u - }; - num3 = 1; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - CollectionsMarshal.AsSpan(list11)[0] = new GatheringLocation - { - Position = new Vector3(629.7982f, 144.0473f, 418.6548f), - MinimumAngle = 120, - MaximumAngle = 260 - }; - obj5.Locations = list11; - reference8 = obj5; - ref GatheringNode reference9 = ref span4[1]; - GatheringNode obj6 = new GatheringNode - { - DataId = 34336u - }; - num3 = 1; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - CollectionsMarshal.AsSpan(list12)[0] = new GatheringLocation - { - Position = new Vector3(712.2249f, 149.0579f, 390.7473f), - MinimumAngle = 35, - MaximumAngle = 195 - }; - obj6.Locations = list12; - reference9 = obj6; - gatheringNodeGroup3.Nodes = list10; - reference7 = gatheringNodeGroup3; - gatheringRoot.Groups = list3; - AddLocation(902, gatheringRoot); - GatheringRoot gatheringRoot2 = new GatheringRoot(); - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = "plogon_enjoyer"; - gatheringRoot2.Author = list13; - num = 1; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.None, null, null, 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra - }; - gatheringRoot2.Steps = list14; - num = 3; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - Span span5 = CollectionsMarshal.AsSpan(list15); - ref GatheringNodeGroup reference10 = ref span5[0]; - GatheringNodeGroup gatheringNodeGroup4 = new GatheringNodeGroup(); - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - ref GatheringNode reference11 = ref CollectionsMarshal.AsSpan(list16)[0]; - GatheringNode obj7 = new GatheringNode - { - DataId = 34364u - }; - num3 = 1; - List list17 = new List(num3); - CollectionsMarshal.SetCount(list17, num3); - CollectionsMarshal.AsSpan(list17)[0] = new GatheringLocation - { - Position = new Vector3(-470.5523f, 79.49631f, 259.4856f), - MinimumAngle = 0, - MaximumAngle = 150 - }; - obj7.Locations = list17; - reference11 = obj7; - gatheringNodeGroup4.Nodes = list16; - reference10 = gatheringNodeGroup4; - ref GatheringNodeGroup reference12 = ref span5[1]; - GatheringNodeGroup gatheringNodeGroup5 = new GatheringNodeGroup(); - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - ref GatheringNode reference13 = ref CollectionsMarshal.AsSpan(list18)[0]; - GatheringNode obj8 = new GatheringNode - { - DataId = 34365u - }; - num3 = 1; - List list19 = new List(num3); - CollectionsMarshal.SetCount(list19, num3); - CollectionsMarshal.AsSpan(list19)[0] = new GatheringLocation - { - Position = new Vector3(-493.5432f, 73.7095f, 288.547f), - MinimumAngle = 15, - MaximumAngle = 215 - }; - obj8.Locations = list19; - reference13 = obj8; - gatheringNodeGroup5.Nodes = list18; - reference12 = gatheringNodeGroup5; - ref GatheringNodeGroup reference14 = ref span5[2]; - GatheringNodeGroup gatheringNodeGroup6 = new GatheringNodeGroup(); - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - ref GatheringNode reference15 = ref CollectionsMarshal.AsSpan(list20)[0]; - GatheringNode obj9 = new GatheringNode - { - DataId = 34366u - }; - num3 = 1; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - CollectionsMarshal.AsSpan(list21)[0] = new GatheringLocation - { - Position = new Vector3(-478.8098f, 76.21393f, 280.0947f), - MinimumAngle = 50, - MaximumAngle = 180 - }; - obj9.Locations = list21; - reference15 = obj9; - gatheringNodeGroup6.Nodes = list20; - reference14 = gatheringNodeGroup6; - gatheringRoot2.Groups = list15; - AddLocation(905, gatheringRoot2); - GatheringRoot gatheringRoot3 = new GatheringRoot(); - num = 1; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - CollectionsMarshal.AsSpan(list22)[0] = "liza"; - gatheringRoot3.Author = list22; - num = 1; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.None, null, null, 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleAbodeOfTheEa - }; - gatheringRoot3.Steps = list23; - num = 3; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - Span span6 = CollectionsMarshal.AsSpan(list24); - ref GatheringNodeGroup reference16 = ref span6[0]; - GatheringNodeGroup gatheringNodeGroup7 = new GatheringNodeGroup(); - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - ref GatheringNode reference17 = ref CollectionsMarshal.AsSpan(list25)[0]; - GatheringNode obj10 = new GatheringNode - { - DataId = 34369u - }; - num3 = 1; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - CollectionsMarshal.AsSpan(list26)[0] = new GatheringLocation - { - Position = new Vector3(-381.6697f, 246.9727f, -221.478f), - MinimumAngle = 0, - MaximumAngle = 225 - }; - obj10.Locations = list26; - reference17 = obj10; - gatheringNodeGroup7.Nodes = list25; - reference16 = gatheringNodeGroup7; - ref GatheringNodeGroup reference18 = ref span6[1]; - GatheringNodeGroup gatheringNodeGroup8 = new GatheringNodeGroup(); - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - ref GatheringNode reference19 = ref CollectionsMarshal.AsSpan(list27)[0]; - GatheringNode obj11 = new GatheringNode - { - DataId = 34367u - }; - num3 = 1; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - CollectionsMarshal.AsSpan(list28)[0] = new GatheringLocation - { - Position = new Vector3(-384.7752f, 246.2142f, -220.8562f) - }; - obj11.Locations = list28; - reference19 = obj11; - gatheringNodeGroup8.Nodes = list27; - reference18 = gatheringNodeGroup8; - ref GatheringNodeGroup reference20 = ref span6[2]; - GatheringNodeGroup gatheringNodeGroup9 = new GatheringNodeGroup(); - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - ref GatheringNode reference21 = ref CollectionsMarshal.AsSpan(list29)[0]; - GatheringNode obj12 = new GatheringNode - { - DataId = 34368u - }; - num3 = 1; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - CollectionsMarshal.AsSpan(list30)[0] = new GatheringLocation - { - Position = new Vector3(-396.0184f, 245.9229f, -236.488f) - }; - obj12.Locations = list30; - reference21 = obj12; - gatheringNodeGroup9.Nodes = list29; - reference20 = gatheringNodeGroup9; - gatheringRoot3.Groups = list24; - AddLocation(906, gatheringRoot3); - GatheringRoot gatheringRoot4 = new GatheringRoot(); - num = 1; - List list31 = new List(num); - CollectionsMarshal.SetCount(list31, num); - CollectionsMarshal.AsSpan(list31)[0] = "plogon_enjoyer"; - gatheringRoot4.Author = list31; - num = 1; - List list32 = new List(num); - CollectionsMarshal.SetCount(list32, num); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.None, null, null, 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra - }; - gatheringRoot4.Steps = list32; - num = 3; - List list33 = new List(num); - CollectionsMarshal.SetCount(list33, num); - Span span7 = CollectionsMarshal.AsSpan(list33); - ref GatheringNodeGroup reference22 = ref span7[0]; - GatheringNodeGroup gatheringNodeGroup10 = new GatheringNodeGroup(); - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - ref GatheringNode reference23 = ref CollectionsMarshal.AsSpan(list34)[0]; - GatheringNode obj13 = new GatheringNode - { - DataId = 34370u - }; - num3 = 1; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - CollectionsMarshal.AsSpan(list35)[0] = new GatheringLocation - { - Position = new Vector3(-614.3087f, 81.96295f, 262.5681f), - MinimumAngle = -150, - MaximumAngle = 20 - }; - obj13.Locations = list35; - reference23 = obj13; - gatheringNodeGroup10.Nodes = list34; - reference22 = gatheringNodeGroup10; - ref GatheringNodeGroup reference24 = ref span7[1]; - GatheringNodeGroup gatheringNodeGroup11 = new GatheringNodeGroup(); - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - ref GatheringNode reference25 = ref CollectionsMarshal.AsSpan(list36)[0]; - GatheringNode obj14 = new GatheringNode - { - DataId = 34371u - }; - num3 = 1; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - CollectionsMarshal.AsSpan(list37)[0] = new GatheringLocation - { - Position = new Vector3(-624.2021f, 79.12945f, 278.3768f) - }; - obj14.Locations = list37; - reference25 = obj14; - gatheringNodeGroup11.Nodes = list36; - reference24 = gatheringNodeGroup11; - ref GatheringNodeGroup reference26 = ref span7[2]; - GatheringNodeGroup gatheringNodeGroup12 = new GatheringNodeGroup(); - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - ref GatheringNode reference27 = ref CollectionsMarshal.AsSpan(list38)[0]; - GatheringNode obj15 = new GatheringNode - { - DataId = 34372u - }; - num3 = 1; - List list39 = new List(num3); - CollectionsMarshal.SetCount(list39, num3); - CollectionsMarshal.AsSpan(list39)[0] = new GatheringLocation - { - Position = new Vector3(-639.8513f, 78.34773f, 274.0034f), - MinimumAngle = -60, - MaximumAngle = 95 - }; - obj15.Locations = list39; - reference27 = obj15; - gatheringNodeGroup12.Nodes = list38; - reference26 = gatheringNodeGroup12; - gatheringRoot4.Groups = list33; - AddLocation(907, gatheringRoot4); - GatheringRoot gatheringRoot5 = new GatheringRoot(); - num = 1; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - CollectionsMarshal.AsSpan(list40)[0] = "liza"; - gatheringRoot5.Author = list40; - num = 1; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.None, null, null, 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleAbodeOfTheEa - }; - gatheringRoot5.Steps = list41; - num = 3; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - Span span8 = CollectionsMarshal.AsSpan(list42); - ref GatheringNodeGroup reference28 = ref span8[0]; - GatheringNodeGroup gatheringNodeGroup13 = new GatheringNodeGroup(); - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - ref GatheringNode reference29 = ref CollectionsMarshal.AsSpan(list43)[0]; - GatheringNode obj16 = new GatheringNode - { - DataId = 34375u - }; - num3 = 1; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - CollectionsMarshal.AsSpan(list44)[0] = new GatheringLocation - { - Position = new Vector3(-408.5904f, 259.0197f, -361.8408f), - MinimumAngle = -120, - MaximumAngle = 60 - }; - obj16.Locations = list44; - reference29 = obj16; - gatheringNodeGroup13.Nodes = list43; - reference28 = gatheringNodeGroup13; - ref GatheringNodeGroup reference30 = ref span8[1]; - GatheringNodeGroup gatheringNodeGroup14 = new GatheringNodeGroup(); - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - ref GatheringNode reference31 = ref CollectionsMarshal.AsSpan(list45)[0]; - GatheringNode obj17 = new GatheringNode - { - DataId = 34374u - }; - num3 = 1; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - CollectionsMarshal.AsSpan(list46)[0] = new GatheringLocation - { - Position = new Vector3(-410.1218f, 261.0269f, -364.9317f), - MinimumAngle = -120, - MaximumAngle = 35 - }; - obj17.Locations = list46; - reference31 = obj17; - gatheringNodeGroup14.Nodes = list45; - reference30 = gatheringNodeGroup14; - ref GatheringNodeGroup reference32 = ref span8[2]; - GatheringNodeGroup gatheringNodeGroup15 = new GatheringNodeGroup(); - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - ref GatheringNode reference33 = ref CollectionsMarshal.AsSpan(list47)[0]; - GatheringNode obj18 = new GatheringNode - { - DataId = 34373u - }; - num3 = 1; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - CollectionsMarshal.AsSpan(list48)[0] = new GatheringLocation - { - Position = new Vector3(-421.3381f, 263.4496f, -366.897f), - MinimumAngle = -105, - MaximumAngle = 50 - }; - obj18.Locations = list48; - reference33 = obj18; - gatheringNodeGroup15.Nodes = list47; - reference32 = gatheringNodeGroup15; - gatheringRoot5.Groups = list42; - AddLocation(908, gatheringRoot5); - GatheringRoot gatheringRoot6 = new GatheringRoot(); - num = 1; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - CollectionsMarshal.AsSpan(list49)[0] = "plogon_enjoyer"; - gatheringRoot6.Author = list49; - num = 1; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.None, null, null, 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra - }; - gatheringRoot6.Steps = list50; - num = 3; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - Span span9 = CollectionsMarshal.AsSpan(list51); - ref GatheringNodeGroup reference34 = ref span9[0]; - GatheringNodeGroup gatheringNodeGroup16 = new GatheringNodeGroup(); - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - ref GatheringNode reference35 = ref CollectionsMarshal.AsSpan(list52)[0]; - GatheringNode obj19 = new GatheringNode - { - DataId = 34376u - }; - num3 = 1; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - CollectionsMarshal.AsSpan(list53)[0] = new GatheringLocation - { - Position = new Vector3(-586.0029f, 84.39367f, 568.1448f), - MinimumAngle = -60, - MaximumAngle = 75, - MinimumDistance = 1f, - MaximumDistance = 3f - }; - obj19.Locations = list53; - reference35 = obj19; - gatheringNodeGroup16.Nodes = list52; - reference34 = gatheringNodeGroup16; - ref GatheringNodeGroup reference36 = ref span9[1]; - GatheringNodeGroup gatheringNodeGroup17 = new GatheringNodeGroup(); - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - ref GatheringNode reference37 = ref CollectionsMarshal.AsSpan(list54)[0]; - GatheringNode obj20 = new GatheringNode - { - DataId = 34377u - }; - num3 = 1; - List list55 = new List(num3); - CollectionsMarshal.SetCount(list55, num3); - CollectionsMarshal.AsSpan(list55)[0] = new GatheringLocation - { - Position = new Vector3(-578.2748f, 86.34826f, 567.2876f), - MinimumAngle = -80, - MaximumAngle = 60 - }; - obj20.Locations = list55; - reference37 = obj20; - gatheringNodeGroup17.Nodes = list54; - reference36 = gatheringNodeGroup17; - ref GatheringNodeGroup reference38 = ref span9[2]; - GatheringNodeGroup gatheringNodeGroup18 = new GatheringNodeGroup(); - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - ref GatheringNode reference39 = ref CollectionsMarshal.AsSpan(list56)[0]; - GatheringNode obj21 = new GatheringNode - { - DataId = 34378u - }; - num3 = 1; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - CollectionsMarshal.AsSpan(list57)[0] = new GatheringLocation - { - Position = new Vector3(-600.2446f, 86.01588f, 557.4477f), - MinimumAngle = -35, - MaximumAngle = 145 - }; - obj21.Locations = list57; - reference39 = obj21; - gatheringNodeGroup18.Nodes = list56; - reference38 = gatheringNodeGroup18; - gatheringRoot6.Groups = list51; - AddLocation(909, gatheringRoot6); - GatheringRoot gatheringRoot7 = new GatheringRoot(); - num = 1; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - CollectionsMarshal.AsSpan(list58)[0] = "plogon_enjoyer"; - gatheringRoot7.Author = list58; - num = 1; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.None, null, null, 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleAbodeOfTheEa - }; - gatheringRoot7.Steps = list59; - num = 3; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - Span span10 = CollectionsMarshal.AsSpan(list60); - ref GatheringNodeGroup reference40 = ref span10[0]; - GatheringNodeGroup gatheringNodeGroup19 = new GatheringNodeGroup(); - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - ref GatheringNode reference41 = ref CollectionsMarshal.AsSpan(list61)[0]; - GatheringNode obj22 = new GatheringNode - { - DataId = 34379u - }; - num3 = 1; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - CollectionsMarshal.AsSpan(list62)[0] = new GatheringLocation - { - Position = new Vector3(454.8535f, 307.5555f, -590.8547f), - MinimumAngle = -105, - MaximumAngle = -25, - MinimumDistance = 1f, - MaximumDistance = 1.6f - }; - obj22.Locations = list62; - reference41 = obj22; - gatheringNodeGroup19.Nodes = list61; - reference40 = gatheringNodeGroup19; - ref GatheringNodeGroup reference42 = ref span10[1]; - GatheringNodeGroup gatheringNodeGroup20 = new GatheringNodeGroup(); - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - ref GatheringNode reference43 = ref CollectionsMarshal.AsSpan(list63)[0]; - GatheringNode obj23 = new GatheringNode - { - DataId = 34380u - }; - num3 = 1; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - CollectionsMarshal.AsSpan(list64)[0] = new GatheringLocation - { - Position = new Vector3(447.787f, 300.8405f, -597.8972f), - MinimumAngle = 45, - MaximumAngle = 185 - }; - obj23.Locations = list64; - reference43 = obj23; - gatheringNodeGroup20.Nodes = list63; - reference42 = gatheringNodeGroup20; - ref GatheringNodeGroup reference44 = ref span10[2]; - GatheringNodeGroup gatheringNodeGroup21 = new GatheringNodeGroup(); - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - ref GatheringNode reference45 = ref CollectionsMarshal.AsSpan(list65)[0]; - GatheringNode obj24 = new GatheringNode - { - DataId = 34381u - }; - num3 = 1; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - CollectionsMarshal.AsSpan(list66)[0] = new GatheringLocation - { - Position = new Vector3(448.707f, 305.0525f, -591.1053f), - MinimumAngle = 30, - MaximumAngle = 70 - }; - obj24.Locations = list66; - reference45 = obj24; - gatheringNodeGroup21.Nodes = list65; - reference44 = gatheringNodeGroup21; - gatheringRoot7.Groups = list60; - AddLocation(910, gatheringRoot7); - GatheringRoot gatheringRoot8 = new GatheringRoot(); - num = 1; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - CollectionsMarshal.AsSpan(list67)[0] = "liza"; - gatheringRoot8.Author = list67; - num = 1; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.None, null, null, 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - gatheringRoot8.Steps = list68; - num = 3; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - Span span11 = CollectionsMarshal.AsSpan(list69); - ref GatheringNodeGroup reference46 = ref span11[0]; - GatheringNodeGroup gatheringNodeGroup22 = new GatheringNodeGroup(); - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - ref GatheringNode reference47 = ref CollectionsMarshal.AsSpan(list70)[0]; - GatheringNode obj25 = new GatheringNode - { - DataId = 34382u - }; - num3 = 1; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - CollectionsMarshal.AsSpan(list71)[0] = new GatheringLocation - { - Position = new Vector3(-528.8412f, -89.70924f, 458.582f), - MinimumAngle = -10, - MaximumAngle = 80, - MinimumDistance = 2.1f, - MaximumDistance = 3f - }; - obj25.Locations = list71; - reference47 = obj25; - gatheringNodeGroup22.Nodes = list70; - reference46 = gatheringNodeGroup22; - ref GatheringNodeGroup reference48 = ref span11[1]; - GatheringNodeGroup gatheringNodeGroup23 = new GatheringNodeGroup(); - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - ref GatheringNode reference49 = ref CollectionsMarshal.AsSpan(list72)[0]; - GatheringNode obj26 = new GatheringNode - { - DataId = 34383u - }; - num3 = 1; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - CollectionsMarshal.AsSpan(list73)[0] = new GatheringLocation - { - Position = new Vector3(-636.4533f, -100.1258f, 484.7436f), - MinimumAngle = -75, - MaximumAngle = 35 - }; - obj26.Locations = list73; - reference49 = obj26; - gatheringNodeGroup23.Nodes = list72; - reference48 = gatheringNodeGroup23; - ref GatheringNodeGroup reference50 = ref span11[2]; - GatheringNodeGroup gatheringNodeGroup24 = new GatheringNodeGroup(); - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - ref GatheringNode reference51 = ref CollectionsMarshal.AsSpan(list74)[0]; - GatheringNode obj27 = new GatheringNode - { - DataId = 34384u - }; - num3 = 1; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - CollectionsMarshal.AsSpan(list75)[0] = new GatheringLocation - { - Position = new Vector3(-589.4542f, -100.4852f, 528.1926f), - MinimumAngle = -25, - MaximumAngle = 120 - }; - obj27.Locations = list75; - reference51 = obj27; - gatheringNodeGroup24.Nodes = list74; - reference50 = gatheringNodeGroup24; - gatheringRoot8.Groups = list69; - AddLocation(911, gatheringRoot8); - GatheringRoot gatheringRoot9 = new GatheringRoot(); - num = 1; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - CollectionsMarshal.AsSpan(list76)[0] = "plogon_enjoyer"; - gatheringRoot9.Author = list76; - num = 1; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.None, null, null, 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra - }; - gatheringRoot9.Steps = list77; - num = 3; - List list78 = new List(num); - CollectionsMarshal.SetCount(list78, num); - Span span12 = CollectionsMarshal.AsSpan(list78); - ref GatheringNodeGroup reference52 = ref span12[0]; - GatheringNodeGroup gatheringNodeGroup25 = new GatheringNodeGroup(); - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - ref GatheringNode reference53 = ref CollectionsMarshal.AsSpan(list79)[0]; - GatheringNode obj28 = new GatheringNode - { - DataId = 34385u - }; - num3 = 1; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - CollectionsMarshal.AsSpan(list80)[0] = new GatheringLocation - { - Position = new Vector3(27.77994f, 73.57088f, 695.2364f), - MinimumAngle = 0, - MaximumAngle = 135 - }; - obj28.Locations = list80; - reference53 = obj28; - gatheringNodeGroup25.Nodes = list79; - reference52 = gatheringNodeGroup25; - ref GatheringNodeGroup reference54 = ref span12[1]; - GatheringNodeGroup gatheringNodeGroup26 = new GatheringNodeGroup(); - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - ref GatheringNode reference55 = ref CollectionsMarshal.AsSpan(list81)[0]; - GatheringNode obj29 = new GatheringNode - { - DataId = 34386u - }; - num3 = 1; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - CollectionsMarshal.AsSpan(list82)[0] = new GatheringLocation - { - Position = new Vector3(23.20134f, 70.90392f, 698.6194f), - MinimumAngle = -10, - MaximumAngle = 145 - }; - obj29.Locations = list82; - reference55 = obj29; - gatheringNodeGroup26.Nodes = list81; - reference54 = gatheringNodeGroup26; - ref GatheringNodeGroup reference56 = ref span12[2]; - GatheringNodeGroup gatheringNodeGroup27 = new GatheringNodeGroup(); - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - ref GatheringNode reference57 = ref CollectionsMarshal.AsSpan(list83)[0]; - GatheringNode obj30 = new GatheringNode - { - DataId = 34387u - }; - num3 = 1; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - CollectionsMarshal.AsSpan(list84)[0] = new GatheringLocation - { - Position = new Vector3(30.69294f, 75.43362f, 688.8371f), - MinimumAngle = -5, - MaximumAngle = 120 - }; - obj30.Locations = list84; - reference57 = obj30; - gatheringNodeGroup27.Nodes = list83; - reference56 = gatheringNodeGroup27; - gatheringRoot9.Groups = list78; - AddLocation(912, gatheringRoot9); - GatheringRoot gatheringRoot10 = new GatheringRoot(); - num = 1; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - CollectionsMarshal.AsSpan(list85)[0] = "plogon_enjoyer"; - gatheringRoot10.Author = list85; - num = 1; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.None, null, null, 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleAbodeOfTheEa - }; - gatheringRoot10.Steps = list86; - num = 3; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - Span span13 = CollectionsMarshal.AsSpan(list87); - ref GatheringNodeGroup reference58 = ref span13[0]; - GatheringNodeGroup gatheringNodeGroup28 = new GatheringNodeGroup(); - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - ref GatheringNode reference59 = ref CollectionsMarshal.AsSpan(list88)[0]; - GatheringNode obj31 = new GatheringNode - { - DataId = 34388u - }; - num3 = 1; - List list89 = new List(num3); - CollectionsMarshal.SetCount(list89, num3); - CollectionsMarshal.AsSpan(list89)[0] = new GatheringLocation - { - Position = new Vector3(398.7177f, 292.5112f, -462.82f), - MinimumAngle = -65, - MaximumAngle = 65 - }; - obj31.Locations = list89; - reference59 = obj31; - gatheringNodeGroup28.Nodes = list88; - reference58 = gatheringNodeGroup28; - ref GatheringNodeGroup reference60 = ref span13[1]; - GatheringNodeGroup gatheringNodeGroup29 = new GatheringNodeGroup(); - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - ref GatheringNode reference61 = ref CollectionsMarshal.AsSpan(list90)[0]; - GatheringNode obj32 = new GatheringNode - { - DataId = 34389u - }; - num3 = 1; - List list91 = new List(num3); - CollectionsMarshal.SetCount(list91, num3); - CollectionsMarshal.AsSpan(list91)[0] = new GatheringLocation - { - Position = new Vector3(373.1678f, 290.8189f, -442.4228f), - MinimumAngle = 160, - MaximumAngle = 305 - }; - obj32.Locations = list91; - reference61 = obj32; - gatheringNodeGroup29.Nodes = list90; - reference60 = gatheringNodeGroup29; - ref GatheringNodeGroup reference62 = ref span13[2]; - GatheringNodeGroup gatheringNodeGroup30 = new GatheringNodeGroup(); - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - ref GatheringNode reference63 = ref CollectionsMarshal.AsSpan(list92)[0]; - GatheringNode obj33 = new GatheringNode - { - DataId = 34390u - }; - num3 = 1; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - CollectionsMarshal.AsSpan(list93)[0] = new GatheringLocation - { - Position = new Vector3(383.5671f, 289.9682f, -392.3997f), - MinimumAngle = 65, - MaximumAngle = 165, - MinimumDistance = 1f, - MaximumDistance = 3f - }; - obj33.Locations = list93; - reference63 = obj33; - gatheringNodeGroup30.Nodes = list92; - reference62 = gatheringNodeGroup30; - gatheringRoot10.Groups = list87; - AddLocation(913, gatheringRoot10); - GatheringRoot gatheringRoot11 = new GatheringRoot(); - num = 1; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - CollectionsMarshal.AsSpan(list94)[0] = "liza"; - gatheringRoot11.Author = list94; - num = 1; - List list95 = new List(num); - CollectionsMarshal.SetCount(list95, num); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.None, null, null, 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - gatheringRoot11.Steps = list95; - num = 3; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - Span span14 = CollectionsMarshal.AsSpan(list96); - ref GatheringNodeGroup reference64 = ref span14[0]; - GatheringNodeGroup gatheringNodeGroup31 = new GatheringNodeGroup(); - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - ref GatheringNode reference65 = ref CollectionsMarshal.AsSpan(list97)[0]; - GatheringNode obj34 = new GatheringNode - { - DataId = 34391u - }; - num3 = 1; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - CollectionsMarshal.AsSpan(list98)[0] = new GatheringLocation - { - Position = new Vector3(-49.75243f, -31.70323f, -171.6977f) - }; - obj34.Locations = list98; - reference65 = obj34; - gatheringNodeGroup31.Nodes = list97; - reference64 = gatheringNodeGroup31; - ref GatheringNodeGroup reference66 = ref span14[1]; - GatheringNodeGroup gatheringNodeGroup32 = new GatheringNodeGroup(); - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - ref GatheringNode reference67 = ref CollectionsMarshal.AsSpan(list99)[0]; - GatheringNode obj35 = new GatheringNode - { - DataId = 34392u - }; - num3 = 1; - List list100 = new List(num3); - CollectionsMarshal.SetCount(list100, num3); - CollectionsMarshal.AsSpan(list100)[0] = new GatheringLocation - { - Position = new Vector3(-44.89702f, -32.39204f, -153.4274f) - }; - obj35.Locations = list100; - reference67 = obj35; - gatheringNodeGroup32.Nodes = list99; - reference66 = gatheringNodeGroup32; - ref GatheringNodeGroup reference68 = ref span14[2]; - GatheringNodeGroup gatheringNodeGroup33 = new GatheringNodeGroup(); - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - ref GatheringNode reference69 = ref CollectionsMarshal.AsSpan(list101)[0]; - GatheringNode obj36 = new GatheringNode - { - DataId = 34393u - }; - num3 = 1; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - CollectionsMarshal.AsSpan(list102)[0] = new GatheringLocation - { - Position = new Vector3(-36.6049f, -31.32222f, -134.1001f) - }; - obj36.Locations = list102; - reference69 = obj36; - gatheringNodeGroup33.Nodes = list101; - reference68 = gatheringNodeGroup33; - gatheringRoot11.Groups = list96; - AddLocation(914, gatheringRoot11); - GatheringRoot gatheringRoot12 = new GatheringRoot(); - num = 1; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - CollectionsMarshal.AsSpan(list103)[0] = "liza"; - gatheringRoot12.Author = list103; - num = 1; - List list104 = new List(num); - CollectionsMarshal.SetCount(list104, num); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.None, null, null, 816) - { - AetheryteShortcut = EAetheryteLocation.IlMhegWolekdorf - }; - gatheringRoot12.Steps = list104; - num = 3; - List list105 = new List(num); - CollectionsMarshal.SetCount(list105, num); - Span span15 = CollectionsMarshal.AsSpan(list105); - ref GatheringNodeGroup reference70 = ref span15[0]; - GatheringNodeGroup gatheringNodeGroup34 = new GatheringNodeGroup(); - num2 = 2; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - Span span16 = CollectionsMarshal.AsSpan(list106); - ref GatheringNode reference71 = ref span16[0]; - GatheringNode obj37 = new GatheringNode - { - DataId = 34407u - }; - num3 = 1; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - CollectionsMarshal.AsSpan(list107)[0] = new GatheringLocation - { - Position = new Vector3(398.7715f, 58.00708f, -1682f / (float)Math.PI), - MinimumAngle = 95, - MaximumAngle = 225 - }; - obj37.Locations = list107; - reference71 = obj37; - ref GatheringNode reference72 = ref span16[1]; - GatheringNode obj38 = new GatheringNode - { - DataId = 34408u - }; - num3 = 2; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - Span span17 = CollectionsMarshal.AsSpan(list108); - span17[0] = new GatheringLocation - { - Position = new Vector3(395.787f, 57.58823f, -532.1421f), - MinimumAngle = 105, - MaximumAngle = 180, - MinimumDistance = 1.5f, - MaximumDistance = 3f - }; - span17[1] = new GatheringLocation - { - Position = new Vector3(403.3334f, 58.56588f, -533.6083f), - MinimumAngle = 185, - MaximumAngle = 225, - MinimumDistance = 2f, - MaximumDistance = 3f - }; - obj38.Locations = list108; - reference72 = obj38; - gatheringNodeGroup34.Nodes = list106; - reference70 = gatheringNodeGroup34; - ref GatheringNodeGroup reference73 = ref span15[1]; - GatheringNodeGroup gatheringNodeGroup35 = new GatheringNodeGroup(); - num2 = 2; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - Span span18 = CollectionsMarshal.AsSpan(list109); - ref GatheringNode reference74 = ref span18[0]; - GatheringNode obj39 = new GatheringNode - { - DataId = 34405u - }; - num3 = 1; - List list110 = new List(num3); - CollectionsMarshal.SetCount(list110, num3); - CollectionsMarshal.AsSpan(list110)[0] = new GatheringLocation - { - Position = new Vector3(563.6605f, 96.62567f, -409.83f), - MinimumAngle = 60, - MaximumAngle = 205 - }; - obj39.Locations = list110; - reference74 = obj39; - ref GatheringNode reference75 = ref span18[1]; - GatheringNode obj40 = new GatheringNode - { - DataId = 34406u - }; - num3 = 2; - List list111 = new List(num3); - CollectionsMarshal.SetCount(list111, num3); - Span span19 = CollectionsMarshal.AsSpan(list111); - span19[0] = new GatheringLocation - { - Position = new Vector3(584.2038f, 97.61217f, -429.3185f) - }; - span19[1] = new GatheringLocation - { - Position = new Vector3(541.3574f, 95.33327f, -385.5562f) - }; - obj40.Locations = list111; - reference75 = obj40; - gatheringNodeGroup35.Nodes = list109; - reference73 = gatheringNodeGroup35; - ref GatheringNodeGroup reference76 = ref span15[2]; - GatheringNodeGroup gatheringNodeGroup36 = new GatheringNodeGroup(); - num2 = 2; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span20 = CollectionsMarshal.AsSpan(list112); - ref GatheringNode reference77 = ref span20[0]; - GatheringNode obj41 = new GatheringNode - { - DataId = 34403u - }; - num3 = 1; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - CollectionsMarshal.AsSpan(list113)[0] = new GatheringLocation - { - Position = new Vector3(569.0512f, 96.43839f, -571.2072f), - MinimumAngle = 45, - MaximumAngle = 190 - }; - obj41.Locations = list113; - reference77 = obj41; - ref GatheringNode reference78 = ref span20[1]; - GatheringNode obj42 = new GatheringNode - { - DataId = 34404u - }; - num3 = 2; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - Span span21 = CollectionsMarshal.AsSpan(list114); - span21[0] = new GatheringLocation - { - Position = new Vector3(557.5918f, 92.0403f, -582.1814f), - MinimumAngle = 70, - MaximumAngle = 200 - }; - span21[1] = new GatheringLocation - { - Position = new Vector3(573.9432f, 96.50874f, -575.4167f), - MinimumAngle = 85, - MaximumAngle = 220 - }; - obj42.Locations = list114; - reference78 = obj42; - gatheringNodeGroup36.Nodes = list112; - reference76 = gatheringNodeGroup36; - gatheringRoot12.Groups = list105; - AddLocation(918, gatheringRoot12); - GatheringRoot gatheringRoot13 = new GatheringRoot(); - num = 1; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - CollectionsMarshal.AsSpan(list115)[0] = "liza"; - gatheringRoot13.Author = list115; - num = 1; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.None, null, null, 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengTwine - }; - gatheringRoot13.Steps = list116; - num = 3; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - Span span22 = CollectionsMarshal.AsSpan(list117); - ref GatheringNodeGroup reference79 = ref span22[0]; - GatheringNodeGroup gatheringNodeGroup37 = new GatheringNodeGroup(); - num2 = 2; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - Span span23 = CollectionsMarshal.AsSpan(list118); - ref GatheringNode reference80 = ref span23[0]; - GatheringNode obj43 = new GatheringNode - { - DataId = 34411u - }; - num3 = 1; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - CollectionsMarshal.AsSpan(list119)[0] = new GatheringLocation - { - Position = new Vector3(-418.0731f, 16.25609f, -127.4739f), - MinimumAngle = 240, - MaximumAngle = 360 - }; - obj43.Locations = list119; - reference80 = obj43; - ref GatheringNode reference81 = ref span23[1]; - GatheringNode obj44 = new GatheringNode - { - DataId = 34412u - }; - num3 = 2; - List list120 = new List(num3); - CollectionsMarshal.SetCount(list120, num3); - Span span24 = CollectionsMarshal.AsSpan(list120); - span24[0] = new GatheringLocation - { - Position = new Vector3(-436.8404f, 18.18649f, -121.9686f), - MinimumAngle = -80, - MaximumAngle = 75 - }; - span24[1] = new GatheringLocation - { - Position = new Vector3(-412.7203f, 17.72583f, -144.2871f), - MinimumAngle = -145, - MaximumAngle = 5 - }; - obj44.Locations = list120; - reference81 = obj44; - gatheringNodeGroup37.Nodes = list118; - reference79 = gatheringNodeGroup37; - ref GatheringNodeGroup reference82 = ref span22[1]; - GatheringNodeGroup gatheringNodeGroup38 = new GatheringNodeGroup(); - num2 = 2; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - Span span25 = CollectionsMarshal.AsSpan(list121); - ref GatheringNode reference83 = ref span25[0]; - GatheringNode obj45 = new GatheringNode - { - DataId = 34409u - }; - num3 = 1; - List list122 = new List(num3); - CollectionsMarshal.SetCount(list122, num3); - CollectionsMarshal.AsSpan(list122)[0] = new GatheringLocation - { - Position = new Vector3(-309.9351f, 22.43881f, -196.324f), - MinimumAngle = -70, - MaximumAngle = 60 - }; - obj45.Locations = list122; - reference83 = obj45; - ref GatheringNode reference84 = ref span25[1]; - GatheringNode obj46 = new GatheringNode - { - DataId = 34410u - }; - num3 = 2; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - Span span26 = CollectionsMarshal.AsSpan(list123); - span26[0] = new GatheringLocation - { - Position = new Vector3(-301.4662f, 22.08392f, -205.1306f), - MinimumAngle = -145, - MaximumAngle = -20 - }; - span26[1] = new GatheringLocation - { - Position = new Vector3(-318.3467f, 23.1723f, -198.7676f), - MinimumAngle = -45, - MaximumAngle = 85 - }; - obj46.Locations = list123; - reference84 = obj46; - gatheringNodeGroup38.Nodes = list121; - reference82 = gatheringNodeGroup38; - ref GatheringNodeGroup reference85 = ref span22[2]; - GatheringNodeGroup gatheringNodeGroup39 = new GatheringNodeGroup(); - num2 = 2; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - Span span27 = CollectionsMarshal.AsSpan(list124); - ref GatheringNode reference86 = ref span27[0]; - GatheringNode obj47 = new GatheringNode - { - DataId = 34414u - }; - num3 = 2; - List list125 = new List(num3); - CollectionsMarshal.SetCount(list125, num3); - Span span28 = CollectionsMarshal.AsSpan(list125); - span28[0] = new GatheringLocation - { - Position = new Vector3(-229.6105f, 5.158276f, -103.3359f), - MinimumAngle = -40, - MaximumAngle = 170 - }; - span28[1] = new GatheringLocation - { - Position = new Vector3(-247.2413f, 9.6758f, -128.0531f), - MinimumAngle = 30, - MaximumAngle = 125 - }; - obj47.Locations = list125; - reference86 = obj47; - ref GatheringNode reference87 = ref span27[1]; - GatheringNode obj48 = new GatheringNode - { - DataId = 34413u - }; - num3 = 1; - List list126 = new List(num3); - CollectionsMarshal.SetCount(list126, num3); - CollectionsMarshal.AsSpan(list126)[0] = new GatheringLocation - { - Position = new Vector3(-248.8988f, 7.998118f, -121.8732f), - MinimumAngle = 0, - MaximumAngle = 160 - }; - obj48.Locations = list126; - reference87 = obj48; - gatheringNodeGroup39.Nodes = list124; - reference85 = gatheringNodeGroup39; - gatheringRoot13.Groups = list117; - AddLocation(919, gatheringRoot13); - GatheringRoot gatheringRoot14 = new GatheringRoot(); - num = 1; - List list127 = new List(num); - CollectionsMarshal.SetCount(list127, num); - CollectionsMarshal.AsSpan(list127)[0] = "liza"; - gatheringRoot14.Author = list127; - num = 1; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.None, null, null, 816) - { - AetheryteShortcut = EAetheryteLocation.IlMhegWolekdorf - }; - gatheringRoot14.Steps = list128; - num = 3; - List list129 = new List(num); - CollectionsMarshal.SetCount(list129, num); - Span span29 = CollectionsMarshal.AsSpan(list129); - ref GatheringNodeGroup reference88 = ref span29[0]; - GatheringNodeGroup gatheringNodeGroup40 = new GatheringNodeGroup(); - num2 = 2; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - Span span30 = CollectionsMarshal.AsSpan(list130); - ref GatheringNode reference89 = ref span30[0]; - GatheringNode obj49 = new GatheringNode - { - DataId = 34422u - }; - num3 = 2; - List list131 = new List(num3); - CollectionsMarshal.SetCount(list131, num3); - Span span31 = CollectionsMarshal.AsSpan(list131); - span31[0] = new GatheringLocation - { - Position = new Vector3(-161.9915f, 60.04895f, -647.3901f) - }; - span31[1] = new GatheringLocation - { - Position = new Vector3(-179.2945f, 60.84981f, -630.9084f) - }; - obj49.Locations = list131; - reference89 = obj49; - ref GatheringNode reference90 = ref span30[1]; - GatheringNode obj50 = new GatheringNode - { - DataId = 34421u - }; - num3 = 1; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - CollectionsMarshal.AsSpan(list132)[0] = new GatheringLocation - { - Position = new Vector3(-182.311f, 60.81965f, -640.2197f) - }; - obj50.Locations = list132; - reference90 = obj50; - gatheringNodeGroup40.Nodes = list130; - reference88 = gatheringNodeGroup40; - ref GatheringNodeGroup reference91 = ref span29[1]; - GatheringNodeGroup gatheringNodeGroup41 = new GatheringNodeGroup(); - num2 = 2; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - Span span32 = CollectionsMarshal.AsSpan(list133); - ref GatheringNode reference92 = ref span32[0]; - GatheringNode obj51 = new GatheringNode - { - DataId = 34423u - }; - num3 = 1; - List list134 = new List(num3); - CollectionsMarshal.SetCount(list134, num3); - CollectionsMarshal.AsSpan(list134)[0] = new GatheringLocation - { - Position = new Vector3(-182.0749f, 60.70063f, -567.6271f) - }; - obj51.Locations = list134; - reference92 = obj51; - ref GatheringNode reference93 = ref span32[1]; - GatheringNode obj52 = new GatheringNode - { - DataId = 34424u - }; - num3 = 2; - List list135 = new List(num3); - CollectionsMarshal.SetCount(list135, num3); - Span span33 = CollectionsMarshal.AsSpan(list135); - span33[0] = new GatheringLocation - { - Position = new Vector3(-184.7115f, 59.23207f, -573.9592f) - }; - span33[1] = new GatheringLocation - { - Position = new Vector3(-171.0273f, 62.20385f, -576.3321f) - }; - obj52.Locations = list135; - reference93 = obj52; - gatheringNodeGroup41.Nodes = list133; - reference91 = gatheringNodeGroup41; - ref GatheringNodeGroup reference94 = ref span29[2]; - GatheringNodeGroup gatheringNodeGroup42 = new GatheringNodeGroup(); - num2 = 2; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - Span span34 = CollectionsMarshal.AsSpan(list136); - ref GatheringNode reference95 = ref span34[0]; - GatheringNode obj53 = new GatheringNode - { - DataId = 34425u - }; - num3 = 1; - List list137 = new List(num3); - CollectionsMarshal.SetCount(list137, num3); - CollectionsMarshal.AsSpan(list137)[0] = new GatheringLocation - { - Position = new Vector3(-333.3387f, 82.66466f, -505.7937f) - }; - obj53.Locations = list137; - reference95 = obj53; - ref GatheringNode reference96 = ref span34[1]; - GatheringNode obj54 = new GatheringNode - { - DataId = 34426u - }; - num3 = 2; - List list138 = new List(num3); - CollectionsMarshal.SetCount(list138, num3); - Span span35 = CollectionsMarshal.AsSpan(list138); - span35[0] = new GatheringLocation - { - Position = new Vector3(-333.0683f, 82.72758f, -501.5885f), - MinimumAngle = 75, - MaximumAngle = 265 - }; - span35[1] = new GatheringLocation - { - Position = new Vector3(-349.0388f, 89.44427f, -512.492f) - }; - obj54.Locations = list138; - reference96 = obj54; - gatheringNodeGroup42.Nodes = list136; - reference94 = gatheringNodeGroup42; - gatheringRoot14.Groups = list129; - AddLocation(921, gatheringRoot14); - GatheringRoot gatheringRoot15 = new GatheringRoot(); - num = 1; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - CollectionsMarshal.AsSpan(list139)[0] = "liza"; - gatheringRoot15.Author = list139; - num = 1; - List list140 = new List(num); - CollectionsMarshal.SetCount(list140, num); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.None, null, null, 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengTwine - }; - gatheringRoot15.Steps = list140; - num = 3; - List list141 = new List(num); - CollectionsMarshal.SetCount(list141, num); - Span span36 = CollectionsMarshal.AsSpan(list141); - ref GatheringNodeGroup reference97 = ref span36[0]; - GatheringNodeGroup gatheringNodeGroup43 = new GatheringNodeGroup(); - num2 = 2; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - Span span37 = CollectionsMarshal.AsSpan(list142); - ref GatheringNode reference98 = ref span37[0]; - GatheringNode obj55 = new GatheringNode - { - DataId = 34430u - }; - num3 = 2; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - Span span38 = CollectionsMarshal.AsSpan(list143); - span38[0] = new GatheringLocation - { - Position = new Vector3(-449.9385f, -1.370689f, -409.258f) - }; - span38[1] = new GatheringLocation - { - Position = new Vector3(-445.7757f, -0.7637522f, -415.8121f) - }; - obj55.Locations = list143; - reference98 = obj55; - ref GatheringNode reference99 = ref span37[1]; - GatheringNode obj56 = new GatheringNode - { - DataId = 34429u - }; - num3 = 1; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - CollectionsMarshal.AsSpan(list144)[0] = new GatheringLocation - { - Position = new Vector3(-451.2528f, -1.577711f, -414.294f) - }; - obj56.Locations = list144; - reference99 = obj56; - gatheringNodeGroup43.Nodes = list142; - reference97 = gatheringNodeGroup43; - ref GatheringNodeGroup reference100 = ref span36[1]; - GatheringNodeGroup gatheringNodeGroup44 = new GatheringNodeGroup(); - num2 = 2; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - Span span39 = CollectionsMarshal.AsSpan(list145); - ref GatheringNode reference101 = ref span39[0]; - GatheringNode obj57 = new GatheringNode - { - DataId = 34427u - }; - num3 = 1; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - CollectionsMarshal.AsSpan(list146)[0] = new GatheringLocation - { - Position = new Vector3(-346.0392f, 0.6433533f, -541.9421f) - }; - obj57.Locations = list146; - reference101 = obj57; - ref GatheringNode reference102 = ref span39[1]; - GatheringNode obj58 = new GatheringNode - { - DataId = 34428u - }; - num3 = 2; - List list147 = new List(num3); - CollectionsMarshal.SetCount(list147, num3); - Span span40 = CollectionsMarshal.AsSpan(list147); - span40[0] = new GatheringLocation - { - Position = new Vector3(-326.9622f, 1.097262f, -537.5435f), - MinimumAngle = 0, - MaximumAngle = 220 - }; - span40[1] = new GatheringLocation - { - Position = new Vector3(-357.2281f, 0.4458784f, -513.3207f) - }; - obj58.Locations = list147; - reference102 = obj58; - gatheringNodeGroup44.Nodes = list145; - reference100 = gatheringNodeGroup44; - ref GatheringNodeGroup reference103 = ref span36[2]; - GatheringNodeGroup gatheringNodeGroup45 = new GatheringNodeGroup(); - num2 = 2; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - Span span41 = CollectionsMarshal.AsSpan(list148); - ref GatheringNode reference104 = ref span41[0]; - GatheringNode obj59 = new GatheringNode - { - DataId = 34431u - }; - num3 = 1; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - CollectionsMarshal.AsSpan(list149)[0] = new GatheringLocation - { - Position = new Vector3(-441.0019f, -5.337227f, -636.1525f) - }; - obj59.Locations = list149; - reference104 = obj59; - ref GatheringNode reference105 = ref span41[1]; - GatheringNode obj60 = new GatheringNode - { - DataId = 34432u - }; - num3 = 2; - List list150 = new List(num3); - CollectionsMarshal.SetCount(list150, num3); - Span span42 = CollectionsMarshal.AsSpan(list150); - span42[0] = new GatheringLocation - { - Position = new Vector3(-464.1121f, -5.420424f, -649.8243f) - }; - span42[1] = new GatheringLocation - { - Position = new Vector3(-436.4872f, -5.205373f, -638.8244f), - MinimumAngle = -95, - MaximumAngle = 85 - }; - obj60.Locations = list150; - reference105 = obj60; - gatheringNodeGroup45.Nodes = list148; - reference103 = gatheringNodeGroup45; - gatheringRoot15.Groups = list141; - AddLocation(922, gatheringRoot15); - GatheringRoot gatheringRoot16 = new GatheringRoot(); - num = 1; - List list151 = new List(num); - CollectionsMarshal.SetCount(list151, num); - CollectionsMarshal.AsSpan(list151)[0] = "liza"; - gatheringRoot16.Author = list151; - num = 1; - List list152 = new List(num); - CollectionsMarshal.SetCount(list152, num); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.None, null, null, 818) - { - AetheryteShortcut = EAetheryteLocation.TempestOndoCups - }; - gatheringRoot16.Steps = list152; - num = 3; - List list153 = new List(num); - CollectionsMarshal.SetCount(list153, num); - Span span43 = CollectionsMarshal.AsSpan(list153); - ref GatheringNodeGroup reference106 = ref span43[0]; - GatheringNodeGroup gatheringNodeGroup46 = new GatheringNodeGroup(); - num2 = 2; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - Span span44 = CollectionsMarshal.AsSpan(list154); - ref GatheringNode reference107 = ref span44[0]; - GatheringNode obj61 = new GatheringNode - { - DataId = 34458u - }; - num3 = 2; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - Span span45 = CollectionsMarshal.AsSpan(list155); - span45[0] = new GatheringLocation - { - Position = new Vector3(44.00173f, 428.2346f, -656.6179f), - MinimumAngle = -65, - MaximumAngle = 10 - }; - span45[1] = new GatheringLocation - { - Position = new Vector3(16.55597f, 426.627f, -670.5577f), - MinimumAngle = -25, - MaximumAngle = 110 - }; - obj61.Locations = list155; - reference107 = obj61; - ref GatheringNode reference108 = ref span44[1]; - GatheringNode obj62 = new GatheringNode - { - DataId = 34457u - }; - num3 = 1; - List list156 = new List(num3); - CollectionsMarshal.SetCount(list156, num3); - CollectionsMarshal.AsSpan(list156)[0] = new GatheringLocation - { - Position = new Vector3(37.23584f, 427.2601f, -653.0619f), - MinimumAngle = 245, - MaximumAngle = 335 - }; - obj62.Locations = list156; - reference108 = obj62; - gatheringNodeGroup46.Nodes = list154; - reference106 = gatheringNodeGroup46; - ref GatheringNodeGroup reference109 = ref span43[1]; - GatheringNodeGroup gatheringNodeGroup47 = new GatheringNodeGroup(); - num2 = 2; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - Span span46 = CollectionsMarshal.AsSpan(list157); - ref GatheringNode reference110 = ref span46[0]; - GatheringNode obj63 = new GatheringNode - { - DataId = 34461u - }; - num3 = 1; - List list158 = new List(num3); - CollectionsMarshal.SetCount(list158, num3); - CollectionsMarshal.AsSpan(list158)[0] = new GatheringLocation - { - Position = new Vector3(-65.51347f, 400.3132f, -539.7745f) - }; - obj63.Locations = list158; - reference110 = obj63; - ref GatheringNode reference111 = ref span46[1]; - GatheringNode obj64 = new GatheringNode - { - DataId = 34462u - }; - num3 = 2; - List list159 = new List(num3); - CollectionsMarshal.SetCount(list159, num3); - Span span47 = CollectionsMarshal.AsSpan(list159); - span47[0] = new GatheringLocation - { - Position = new Vector3(-67.70384f, 400.7841f, -542.4638f), - MinimumAngle = -85, - MaximumAngle = 55 - }; - span47[1] = new GatheringLocation - { - Position = new Vector3(-55.10947f, 399.0878f, -536.9024f), - MinimumDistance = 1f, - MaximumDistance = 2.5f - }; - obj64.Locations = list159; - reference111 = obj64; - gatheringNodeGroup47.Nodes = list157; - reference109 = gatheringNodeGroup47; - ref GatheringNodeGroup reference112 = ref span43[2]; - GatheringNodeGroup gatheringNodeGroup48 = new GatheringNodeGroup(); - num2 = 2; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - Span span48 = CollectionsMarshal.AsSpan(list160); - ref GatheringNode reference113 = ref span48[0]; - GatheringNode obj65 = new GatheringNode - { - DataId = 34459u - }; - num3 = 1; - List list161 = new List(num3); - CollectionsMarshal.SetCount(list161, num3); - CollectionsMarshal.AsSpan(list161)[0] = new GatheringLocation - { - Position = new Vector3(-216.086f, 426.8226f, -649.2361f) - }; - obj65.Locations = list161; - reference113 = obj65; - ref GatheringNode reference114 = ref span48[1]; - GatheringNode obj66 = new GatheringNode - { - DataId = 34460u - }; - num3 = 2; - List list162 = new List(num3); - CollectionsMarshal.SetCount(list162, num3); - Span span49 = CollectionsMarshal.AsSpan(list162); - span49[0] = new GatheringLocation - { - Position = new Vector3(-215.228f, 427.4708f, -653.9598f), - MinimumAngle = -55, - MaximumAngle = 135 - }; - span49[1] = new GatheringLocation - { - Position = new Vector3(-201.5463f, 427.882f, -655.0467f), - MinimumAngle = -70, - MaximumAngle = 65 - }; - obj66.Locations = list162; - reference114 = obj66; - gatheringNodeGroup48.Nodes = list160; - reference112 = gatheringNodeGroup48; - gatheringRoot16.Groups = list153; - AddLocation(927, gatheringRoot16); - GatheringRoot gatheringRoot17 = new GatheringRoot(); - num = 1; - List list163 = new List(num); - CollectionsMarshal.SetCount(list163, num); - CollectionsMarshal.AsSpan(list163)[0] = "liza"; - gatheringRoot17.Author = list163; - num = 1; - List list164 = new List(num); - CollectionsMarshal.SetCount(list164, num); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.None, null, null, 818) - { - AetheryteShortcut = EAetheryteLocation.TempestOndoCups - }; - gatheringRoot17.Steps = list164; - num = 3; - List list165 = new List(num); - CollectionsMarshal.SetCount(list165, num); - Span span50 = CollectionsMarshal.AsSpan(list165); - ref GatheringNodeGroup reference115 = ref span50[0]; - GatheringNodeGroup gatheringNodeGroup49 = new GatheringNodeGroup(); - num2 = 2; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - Span span51 = CollectionsMarshal.AsSpan(list166); - ref GatheringNode reference116 = ref span51[0]; - GatheringNode obj67 = new GatheringNode - { - DataId = 34466u - }; - num3 = 2; - List list167 = new List(num3); - CollectionsMarshal.SetCount(list167, num3); - Span span52 = CollectionsMarshal.AsSpan(list167); - span52[0] = new GatheringLocation - { - Position = new Vector3(403.2184f, 408.0598f, -755.5223f), - MinimumAngle = 80, - MaximumAngle = 190 - }; - span52[1] = new GatheringLocation - { - Position = new Vector3(438.6136f, 416.6389f, -758.985f), - MinimumAngle = 110, - MaximumAngle = 240 - }; - obj67.Locations = list167; - reference116 = obj67; - ref GatheringNode reference117 = ref span51[1]; - GatheringNode obj68 = new GatheringNode - { - DataId = 34465u - }; - num3 = 1; - List list168 = new List(num3); - CollectionsMarshal.SetCount(list168, num3); - CollectionsMarshal.AsSpan(list168)[0] = new GatheringLocation - { - Position = new Vector3(415.5816f, 412.4482f, -758.7325f), - MinimumAngle = 90, - MaximumAngle = 195 - }; - obj68.Locations = list168; - reference117 = obj68; - gatheringNodeGroup49.Nodes = list166; - reference115 = gatheringNodeGroup49; - ref GatheringNodeGroup reference118 = ref span50[1]; - GatheringNodeGroup gatheringNodeGroup50 = new GatheringNodeGroup(); - num2 = 2; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - Span span53 = CollectionsMarshal.AsSpan(list169); - ref GatheringNode reference119 = ref span53[0]; - GatheringNode obj69 = new GatheringNode - { - DataId = 34463u - }; - num3 = 1; - List list170 = new List(num3); - CollectionsMarshal.SetCount(list170, num3); - CollectionsMarshal.AsSpan(list170)[0] = new GatheringLocation - { - Position = new Vector3(415.8845f, 431.2351f, -896.2997f), - MinimumAngle = -65, - MaximumAngle = 45 - }; - obj69.Locations = list170; - reference119 = obj69; - ref GatheringNode reference120 = ref span53[1]; - GatheringNode obj70 = new GatheringNode - { - DataId = 34464u - }; - num3 = 2; - List list171 = new List(num3); - CollectionsMarshal.SetCount(list171, num3); - Span span54 = CollectionsMarshal.AsSpan(list171); - span54[0] = new GatheringLocation - { - Position = new Vector3(400.7106f, 428.3826f, -893.9595f), - MinimumAngle = -40, - MaximumAngle = 50 - }; - span54[1] = new GatheringLocation - { - Position = new Vector3(431.8092f, 434.546f, -902.1445f), - MinimumAngle = -95, - MaximumAngle = 35 - }; - obj70.Locations = list171; - reference120 = obj70; - gatheringNodeGroup50.Nodes = list169; - reference118 = gatheringNodeGroup50; - ref GatheringNodeGroup reference121 = ref span50[2]; - GatheringNodeGroup gatheringNodeGroup51 = new GatheringNodeGroup(); - num2 = 2; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - Span span55 = CollectionsMarshal.AsSpan(list172); - ref GatheringNode reference122 = ref span55[0]; - GatheringNode obj71 = new GatheringNode - { - DataId = 34467u - }; - num3 = 1; - List list173 = new List(num3); - CollectionsMarshal.SetCount(list173, num3); - CollectionsMarshal.AsSpan(list173)[0] = new GatheringLocation - { - Position = new Vector3(284.0778f, 433.4644f, -916.6171f), - MinimumAngle = -75, - MaximumAngle = 30 - }; - obj71.Locations = list173; - reference122 = obj71; - ref GatheringNode reference123 = ref span55[1]; - GatheringNode obj72 = new GatheringNode - { - DataId = 34468u - }; - num3 = 2; - List list174 = new List(num3); - CollectionsMarshal.SetCount(list174, num3); - Span span56 = CollectionsMarshal.AsSpan(list174); - span56[0] = new GatheringLocation - { - Position = new Vector3(278.6176f, 428.9509f, -904.3234f), - MinimumAngle = 220, - MaximumAngle = 345 - }; - span56[1] = new GatheringLocation - { - Position = new Vector3(305.7502f, 432.027f, -912.7272f), - MinimumAngle = -80, - MaximumAngle = 40 - }; - obj72.Locations = list174; - reference123 = obj72; - gatheringNodeGroup51.Nodes = list172; - reference121 = gatheringNodeGroup51; - gatheringRoot17.Groups = list165; - AddLocation(928, gatheringRoot17); - GatheringRoot gatheringRoot18 = new GatheringRoot(); - num = 1; - List list175 = new List(num); - CollectionsMarshal.SetCount(list175, num); - CollectionsMarshal.AsSpan(list175)[0] = "liza"; - gatheringRoot18.Author = list175; - num = 1; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - CollectionsMarshal.AsSpan(list176)[0] = new QuestStep(EInteractionType.None, null, null, 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - gatheringRoot18.Steps = list176; - gatheringRoot18.FlyBetweenNodes = true; - num = 6; - List list177 = new List(num); - CollectionsMarshal.SetCount(list177, num); - Span span57 = CollectionsMarshal.AsSpan(list177); - ref GatheringNodeGroup reference124 = ref span57[0]; - GatheringNodeGroup gatheringNodeGroup52 = new GatheringNodeGroup(); - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - ref GatheringNode reference125 = ref CollectionsMarshal.AsSpan(list178)[0]; - GatheringNode obj73 = new GatheringNode - { - DataId = 34520u - }; - num3 = 1; - List list179 = new List(num3); - CollectionsMarshal.SetCount(list179, num3); - CollectionsMarshal.AsSpan(list179)[0] = new GatheringLocation - { - Position = new Vector3(759.8123f, 26.14559f, -561.7435f) - }; - obj73.Locations = list179; - reference125 = obj73; - gatheringNodeGroup52.Nodes = list178; - reference124 = gatheringNodeGroup52; - ref GatheringNodeGroup reference126 = ref span57[1]; - GatheringNodeGroup gatheringNodeGroup53 = new GatheringNodeGroup(); - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - ref GatheringNode reference127 = ref CollectionsMarshal.AsSpan(list180)[0]; - GatheringNode obj74 = new GatheringNode - { - DataId = 34521u - }; - num3 = 1; - List list181 = new List(num3); - CollectionsMarshal.SetCount(list181, num3); - CollectionsMarshal.AsSpan(list181)[0] = new GatheringLocation - { - Position = new Vector3(791.0515f, 25.74059f, -545.9295f) - }; - obj74.Locations = list181; - reference127 = obj74; - gatheringNodeGroup53.Nodes = list180; - reference126 = gatheringNodeGroup53; - ref GatheringNodeGroup reference128 = ref span57[2]; - GatheringNodeGroup gatheringNodeGroup54 = new GatheringNodeGroup(); - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - ref GatheringNode reference129 = ref CollectionsMarshal.AsSpan(list182)[0]; - GatheringNode obj75 = new GatheringNode - { - DataId = 34522u - }; - num3 = 1; - List list183 = new List(num3); - CollectionsMarshal.SetCount(list183, num3); - CollectionsMarshal.AsSpan(list183)[0] = new GatheringLocation - { - Position = new Vector3(821.4519f, 28.47348f, -533.9607f) - }; - obj75.Locations = list183; - reference129 = obj75; - gatheringNodeGroup54.Nodes = list182; - reference128 = gatheringNodeGroup54; - ref GatheringNodeGroup reference130 = ref span57[3]; - GatheringNodeGroup gatheringNodeGroup55 = new GatheringNodeGroup(); - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - ref GatheringNode reference131 = ref CollectionsMarshal.AsSpan(list184)[0]; - GatheringNode obj76 = new GatheringNode - { - DataId = 34517u - }; - num3 = 1; - List list185 = new List(num3); - CollectionsMarshal.SetCount(list185, num3); - CollectionsMarshal.AsSpan(list185)[0] = new GatheringLocation - { - Position = new Vector3(840.8483f, 34.05744f, -586.0533f) - }; - obj76.Locations = list185; - reference131 = obj76; - gatheringNodeGroup55.Nodes = list184; - reference130 = gatheringNodeGroup55; - ref GatheringNodeGroup reference132 = ref span57[4]; - GatheringNodeGroup gatheringNodeGroup56 = new GatheringNodeGroup(); - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - ref GatheringNode reference133 = ref CollectionsMarshal.AsSpan(list186)[0]; - GatheringNode obj77 = new GatheringNode - { - DataId = 34518u - }; - num3 = 1; - List list187 = new List(num3); - CollectionsMarshal.SetCount(list187, num3); - CollectionsMarshal.AsSpan(list187)[0] = new GatheringLocation - { - Position = new Vector3(837.7969f, 33.55795f, -619.7623f) - }; - obj77.Locations = list187; - reference133 = obj77; - gatheringNodeGroup56.Nodes = list186; - reference132 = gatheringNodeGroup56; - ref GatheringNodeGroup reference134 = ref span57[5]; - GatheringNodeGroup gatheringNodeGroup57 = new GatheringNodeGroup(); - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - ref GatheringNode reference135 = ref CollectionsMarshal.AsSpan(list188)[0]; - GatheringNode obj78 = new GatheringNode - { - DataId = 34519u - }; - num3 = 1; - List list189 = new List(num3); - CollectionsMarshal.SetCount(list189, num3); - CollectionsMarshal.AsSpan(list189)[0] = new GatheringLocation - { - Position = new Vector3(784.021f, 24.16835f, -598.9781f) - }; - obj78.Locations = list189; - reference135 = obj78; - gatheringNodeGroup57.Nodes = list188; - reference134 = gatheringNodeGroup57; - gatheringRoot18.Groups = list177; - AddLocation(946, gatheringRoot18); - GatheringRoot gatheringRoot19 = new GatheringRoot(); - num = 1; - List list190 = new List(num); - CollectionsMarshal.SetCount(list190, num); - CollectionsMarshal.AsSpan(list190)[0] = "liza"; - gatheringRoot19.Author = list190; - num = 1; - List list191 = new List(num); - CollectionsMarshal.SetCount(list191, num); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.None, null, null, 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelIqBraax - }; - gatheringRoot19.Steps = list191; - gatheringRoot19.FlyBetweenNodes = true; - num = 6; - List list192 = new List(num); - CollectionsMarshal.SetCount(list192, num); - Span span58 = CollectionsMarshal.AsSpan(list192); - ref GatheringNodeGroup reference136 = ref span58[0]; - GatheringNodeGroup gatheringNodeGroup58 = new GatheringNodeGroup(); - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - ref GatheringNode reference137 = ref CollectionsMarshal.AsSpan(list193)[0]; - GatheringNode obj79 = new GatheringNode - { - DataId = 34601u - }; - num3 = 1; - List list194 = new List(num3); - CollectionsMarshal.SetCount(list194, num3); - CollectionsMarshal.AsSpan(list194)[0] = new GatheringLocation - { - Position = new Vector3(484.1779f, 16.59889f, -304.2079f), - MinimumAngle = -185, - MaximumAngle = 20 - }; - obj79.Locations = list194; - reference137 = obj79; - gatheringNodeGroup58.Nodes = list193; - reference136 = gatheringNodeGroup58; - ref GatheringNodeGroup reference138 = ref span58[1]; - GatheringNodeGroup gatheringNodeGroup59 = new GatheringNodeGroup(); - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - ref GatheringNode reference139 = ref CollectionsMarshal.AsSpan(list195)[0]; - GatheringNode obj80 = new GatheringNode - { - DataId = 34599u - }; - num3 = 1; - List list196 = new List(num3); - CollectionsMarshal.SetCount(list196, num3); - CollectionsMarshal.AsSpan(list196)[0] = new GatheringLocation - { - Position = new Vector3(509.181f, 21.64949f, -349.9709f), - MinimumAngle = -25, - MaximumAngle = 80 - }; - obj80.Locations = list196; - reference139 = obj80; - gatheringNodeGroup59.Nodes = list195; - reference138 = gatheringNodeGroup59; - ref GatheringNodeGroup reference140 = ref span58[2]; - GatheringNodeGroup gatheringNodeGroup60 = new GatheringNodeGroup(); - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - ref GatheringNode reference141 = ref CollectionsMarshal.AsSpan(list197)[0]; - GatheringNode obj81 = new GatheringNode - { - DataId = 34597u - }; - num3 = 1; - List list198 = new List(num3); - CollectionsMarshal.SetCount(list198, num3); - CollectionsMarshal.AsSpan(list198)[0] = new GatheringLocation - { - Position = new Vector3(534.7657f, 19.33411f, -333.3713f), - MinimumAngle = 155, - MaximumAngle = 275 - }; - obj81.Locations = list198; - reference141 = obj81; - gatheringNodeGroup60.Nodes = list197; - reference140 = gatheringNodeGroup60; - ref GatheringNodeGroup reference142 = ref span58[3]; - GatheringNodeGroup gatheringNodeGroup61 = new GatheringNodeGroup(); - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - ref GatheringNode reference143 = ref CollectionsMarshal.AsSpan(list199)[0]; - GatheringNode obj82 = new GatheringNode - { - DataId = 34600u - }; - num3 = 1; - List list200 = new List(num3); - CollectionsMarshal.SetCount(list200, num3); - CollectionsMarshal.AsSpan(list200)[0] = new GatheringLocation - { - Position = new Vector3(525.0291f, 11.97125f, -252.6589f), - MinimumAngle = 145, - MaximumAngle = 265 - }; - obj82.Locations = list200; - reference143 = obj82; - gatheringNodeGroup61.Nodes = list199; - reference142 = gatheringNodeGroup61; - ref GatheringNodeGroup reference144 = ref span58[4]; - GatheringNodeGroup gatheringNodeGroup62 = new GatheringNodeGroup(); - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - ref GatheringNode reference145 = ref CollectionsMarshal.AsSpan(list201)[0]; - GatheringNode obj83 = new GatheringNode - { - DataId = 34598u - }; - num3 = 1; - List list202 = new List(num3); - CollectionsMarshal.SetCount(list202, num3); - CollectionsMarshal.AsSpan(list202)[0] = new GatheringLocation - { - Position = new Vector3(518.5205f, 9.694121f, -223.9382f), - MinimumAngle = 65, - MaximumAngle = 170 - }; - obj83.Locations = list202; - reference145 = obj83; - gatheringNodeGroup62.Nodes = list201; - reference144 = gatheringNodeGroup62; - ref GatheringNodeGroup reference146 = ref span58[5]; - GatheringNodeGroup gatheringNodeGroup63 = new GatheringNodeGroup(); - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - ref GatheringNode reference147 = ref CollectionsMarshal.AsSpan(list203)[0]; - GatheringNode obj84 = new GatheringNode - { - DataId = 34602u - }; - num3 = 1; - List list204 = new List(num3); - CollectionsMarshal.SetCount(list204, num3); - CollectionsMarshal.AsSpan(list204)[0] = new GatheringLocation - { - Position = new Vector3(480.2552f, 10.94543f, -234.4949f), - MinimumAngle = 95, - MaximumAngle = 180 - }; - obj84.Locations = list204; - reference147 = obj84; - gatheringNodeGroup63.Nodes = list203; - reference146 = gatheringNodeGroup63; - gatheringRoot19.Groups = list192; - AddLocation(955, gatheringRoot19); - GatheringRoot gatheringRoot20 = new GatheringRoot(); - num = 1; - List list205 = new List(num); - CollectionsMarshal.SetCount(list205, num); - CollectionsMarshal.AsSpan(list205)[0] = "liza"; - gatheringRoot20.Author = list205; - num = 1; - List list206 = new List(num); - CollectionsMarshal.SetCount(list206, num); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.None, null, null, 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWachunpelo - }; - gatheringRoot20.Steps = list206; - gatheringRoot20.FlyBetweenNodes = false; - num = 6; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - Span span59 = CollectionsMarshal.AsSpan(list207); - ref GatheringNodeGroup reference148 = ref span59[0]; - GatheringNodeGroup gatheringNodeGroup64 = new GatheringNodeGroup(); - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - ref GatheringNode reference149 = ref CollectionsMarshal.AsSpan(list208)[0]; - GatheringNode obj85 = new GatheringNode - { - DataId = 34646u - }; - num3 = 1; - List list209 = new List(num3); - CollectionsMarshal.SetCount(list209, num3); - CollectionsMarshal.AsSpan(list209)[0] = new GatheringLocation - { - Position = new Vector3(227.4615f, -89.93336f, -225.4792f), - MinimumAngle = 150, - MaximumAngle = 250 - }; - obj85.Locations = list209; - reference149 = obj85; - gatheringNodeGroup64.Nodes = list208; - reference148 = gatheringNodeGroup64; - ref GatheringNodeGroup reference150 = ref span59[1]; - GatheringNodeGroup gatheringNodeGroup65 = new GatheringNodeGroup(); - num2 = 1; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - ref GatheringNode reference151 = ref CollectionsMarshal.AsSpan(list210)[0]; - GatheringNode obj86 = new GatheringNode - { - DataId = 34641u - }; - num3 = 1; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - CollectionsMarshal.AsSpan(list211)[0] = new GatheringLocation - { - Position = new Vector3(249.5856f, -97.79176f, -217.3474f), - MinimumAngle = 135, - MaximumAngle = 215 - }; - obj86.Locations = list211; - reference151 = obj86; - gatheringNodeGroup65.Nodes = list210; - reference150 = gatheringNodeGroup65; - ref GatheringNodeGroup reference152 = ref span59[2]; - GatheringNodeGroup gatheringNodeGroup66 = new GatheringNodeGroup(); - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - ref GatheringNode reference153 = ref CollectionsMarshal.AsSpan(list212)[0]; - GatheringNode obj87 = new GatheringNode - { - DataId = 34642u - }; - num3 = 1; - List list213 = new List(num3); - CollectionsMarshal.SetCount(list213, num3); - CollectionsMarshal.AsSpan(list213)[0] = new GatheringLocation - { - Position = new Vector3(257.8141f, -99.51778f, -217.7757f), - MinimumAngle = 130, - MaximumAngle = 240 - }; - obj87.Locations = list213; - reference153 = obj87; - gatheringNodeGroup66.Nodes = list212; - reference152 = gatheringNodeGroup66; - ref GatheringNodeGroup reference154 = ref span59[3]; - GatheringNodeGroup gatheringNodeGroup67 = new GatheringNodeGroup(); - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - ref GatheringNode reference155 = ref CollectionsMarshal.AsSpan(list214)[0]; - GatheringNode obj88 = new GatheringNode - { - DataId = 34643u, - Fly = true - }; - num3 = 1; - List list215 = new List(num3); - CollectionsMarshal.SetCount(list215, num3); - CollectionsMarshal.AsSpan(list215)[0] = new GatheringLocation - { - Position = new Vector3(274.7205f, -99.65348f, -201.6824f), - MinimumAngle = 220, - MaximumAngle = 270 - }; - obj88.Locations = list215; - reference155 = obj88; - gatheringNodeGroup67.Nodes = list214; - reference154 = gatheringNodeGroup67; - ref GatheringNodeGroup reference156 = ref span59[4]; - GatheringNodeGroup gatheringNodeGroup68 = new GatheringNodeGroup(); - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - ref GatheringNode reference157 = ref CollectionsMarshal.AsSpan(list216)[0]; - GatheringNode obj89 = new GatheringNode - { - DataId = 34644u - }; - num3 = 1; - List list217 = new List(num3); - CollectionsMarshal.SetCount(list217, num3); - CollectionsMarshal.AsSpan(list217)[0] = new GatheringLocation - { - Position = new Vector3(278.0735f, -101.2599f, -194.8121f), - MinimumAngle = 200, - MaximumAngle = 300 - }; - obj89.Locations = list217; - reference157 = obj89; - gatheringNodeGroup68.Nodes = list216; - reference156 = gatheringNodeGroup68; - ref GatheringNodeGroup reference158 = ref span59[5]; - GatheringNodeGroup gatheringNodeGroup69 = new GatheringNodeGroup(); - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - ref GatheringNode reference159 = ref CollectionsMarshal.AsSpan(list218)[0]; - GatheringNode obj90 = new GatheringNode - { - DataId = 34645u - }; - num3 = 1; - List list219 = new List(num3); - CollectionsMarshal.SetCount(list219, num3); - CollectionsMarshal.AsSpan(list219)[0] = new GatheringLocation - { - Position = new Vector3(308.4911f, -100.6525f, -174.6859f), - MinimumAngle = 145, - MaximumAngle = 210 - }; - obj90.Locations = list219; - reference159 = obj90; - gatheringNodeGroup69.Nodes = list218; - reference158 = gatheringNodeGroup69; - gatheringRoot20.Groups = list207; - AddLocation(961, gatheringRoot20); - GatheringRoot gatheringRoot21 = new GatheringRoot(); - num = 1; - List list220 = new List(num); - CollectionsMarshal.SetCount(list220, num); - CollectionsMarshal.AsSpan(list220)[0] = "liza"; - gatheringRoot21.Author = list220; - num = 1; - List list221 = new List(num); - CollectionsMarshal.SetCount(list221, num); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.None, null, null, 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelMamook - }; - gatheringRoot21.Steps = list221; - num = 6; - List list222 = new List(num); - CollectionsMarshal.SetCount(list222, num); - Span span60 = CollectionsMarshal.AsSpan(list222); - ref GatheringNodeGroup reference160 = ref span60[0]; - GatheringNodeGroup gatheringNodeGroup70 = new GatheringNodeGroup(); - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - ref GatheringNode reference161 = ref CollectionsMarshal.AsSpan(list223)[0]; - GatheringNode obj91 = new GatheringNode - { - DataId = 34721u - }; - num3 = 1; - List list224 = new List(num3); - CollectionsMarshal.SetCount(list224, num3); - CollectionsMarshal.AsSpan(list224)[0] = new GatheringLocation - { - Position = new Vector3(663.934f, 25.09505f, -87.81284f), - MinimumAngle = -30, - MaximumAngle = 45 - }; - obj91.Locations = list224; - reference161 = obj91; - gatheringNodeGroup70.Nodes = list223; - reference160 = gatheringNodeGroup70; - ref GatheringNodeGroup reference162 = ref span60[1]; - GatheringNodeGroup gatheringNodeGroup71 = new GatheringNodeGroup(); - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - ref GatheringNode reference163 = ref CollectionsMarshal.AsSpan(list225)[0]; - GatheringNode obj92 = new GatheringNode - { - DataId = 34722u - }; - num3 = 1; - List list226 = new List(num3); - CollectionsMarshal.SetCount(list226, num3); - CollectionsMarshal.AsSpan(list226)[0] = new GatheringLocation - { - Position = new Vector3(652.5192f, 21.87234f, -111.9597f), - MinimumAngle = 195, - MaximumAngle = 310 - }; - obj92.Locations = list226; - reference163 = obj92; - gatheringNodeGroup71.Nodes = list225; - reference162 = gatheringNodeGroup71; - ref GatheringNodeGroup reference164 = ref span60[2]; - GatheringNodeGroup gatheringNodeGroup72 = new GatheringNodeGroup(); - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - ref GatheringNode reference165 = ref CollectionsMarshal.AsSpan(list227)[0]; - GatheringNode obj93 = new GatheringNode - { - DataId = 34723u - }; - num3 = 1; - List list228 = new List(num3); - CollectionsMarshal.SetCount(list228, num3); - CollectionsMarshal.AsSpan(list228)[0] = new GatheringLocation - { - Position = new Vector3(605.4673f, 22.40212f, -91.82993f), - MinimumAngle = 220, - MaximumAngle = 330 - }; - obj93.Locations = list228; - reference165 = obj93; - gatheringNodeGroup72.Nodes = list227; - reference164 = gatheringNodeGroup72; - ref GatheringNodeGroup reference166 = ref span60[3]; - GatheringNodeGroup gatheringNodeGroup73 = new GatheringNodeGroup(); - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - ref GatheringNode reference167 = ref CollectionsMarshal.AsSpan(list229)[0]; - GatheringNode obj94 = new GatheringNode - { - DataId = 34724u - }; - num3 = 1; - List list230 = new List(num3); - CollectionsMarshal.SetCount(list230, num3); - CollectionsMarshal.AsSpan(list230)[0] = new GatheringLocation - { - Position = new Vector3(547.7242f, 17.74087f, -106.2755f), - MinimumAngle = 45, - MaximumAngle = 180 - }; - obj94.Locations = list230; - reference167 = obj94; - gatheringNodeGroup73.Nodes = list229; - reference166 = gatheringNodeGroup73; - ref GatheringNodeGroup reference168 = ref span60[4]; - GatheringNodeGroup gatheringNodeGroup74 = new GatheringNodeGroup(); - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - ref GatheringNode reference169 = ref CollectionsMarshal.AsSpan(list231)[0]; - GatheringNode obj95 = new GatheringNode - { - DataId = 34725u - }; - num3 = 1; - List list232 = new List(num3); - CollectionsMarshal.SetCount(list232, num3); - CollectionsMarshal.AsSpan(list232)[0] = new GatheringLocation - { - Position = new Vector3(534.3469f, 18.59627f, -78.46846f), - MinimumAngle = -20, - MaximumAngle = 55 - }; - obj95.Locations = list232; - reference169 = obj95; - gatheringNodeGroup74.Nodes = list231; - reference168 = gatheringNodeGroup74; - ref GatheringNodeGroup reference170 = ref span60[5]; - GatheringNodeGroup gatheringNodeGroup75 = new GatheringNodeGroup(); - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - ref GatheringNode reference171 = ref CollectionsMarshal.AsSpan(list233)[0]; - GatheringNode obj96 = new GatheringNode - { - DataId = 34726u - }; - num3 = 1; - List list234 = new List(num3); - CollectionsMarshal.SetCount(list234, num3); - CollectionsMarshal.AsSpan(list234)[0] = new GatheringLocation - { - Position = new Vector3(485.1973f, 17.44523f, -79.501f), - MinimumAngle = -55, - MaximumAngle = 35 - }; - obj96.Locations = list234; - reference171 = obj96; - gatheringNodeGroup75.Nodes = list233; - reference170 = gatheringNodeGroup75; - gatheringRoot21.Groups = list222; - AddLocation(970, gatheringRoot21); - GatheringRoot gatheringRoot22 = new GatheringRoot(); - num = 1; - List list235 = new List(num); - CollectionsMarshal.SetCount(list235, num); - CollectionsMarshal.AsSpan(list235)[0] = "liza"; - gatheringRoot22.Author = list235; - num = 1; - List list236 = new List(num); - CollectionsMarshal.SetCount(list236, num); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.None, null, null, 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWachunpelo - }; - gatheringRoot22.Steps = list236; - num = 3; - List list237 = new List(num); - CollectionsMarshal.SetCount(list237, num); - Span span61 = CollectionsMarshal.AsSpan(list237); - ref GatheringNodeGroup reference172 = ref span61[0]; - GatheringNodeGroup gatheringNodeGroup76 = new GatheringNodeGroup(); - num2 = 2; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - Span span62 = CollectionsMarshal.AsSpan(list238); - ref GatheringNode reference173 = ref span62[0]; - GatheringNode obj97 = new GatheringNode - { - DataId = 34749u - }; - num3 = 1; - List list239 = new List(num3); - CollectionsMarshal.SetCount(list239, num3); - CollectionsMarshal.AsSpan(list239)[0] = new GatheringLocation - { - Position = new Vector3(-392.813f, -47.04364f, -386.862f), - MinimumAngle = -10, - MaximumAngle = 240 - }; - obj97.Locations = list239; - reference173 = obj97; - ref GatheringNode reference174 = ref span62[1]; - GatheringNode obj98 = new GatheringNode - { - DataId = 34750u - }; - num3 = 3; - List list240 = new List(num3); - CollectionsMarshal.SetCount(list240, num3); - Span span63 = CollectionsMarshal.AsSpan(list240); - span63[0] = new GatheringLocation - { - Position = new Vector3(-402.8987f, -45.59287f, -390.7613f), - MinimumAngle = 220, - MaximumAngle = 305 - }; - span63[1] = new GatheringLocation - { - Position = new Vector3(-388.9036f, -46.86702f, -381.3985f), - MinimumAngle = -50, - MaximumAngle = 210 - }; - span63[2] = new GatheringLocation - { - Position = new Vector3(-394.2657f, -47.86026f, -394.9654f), - MinimumAngle = -145, - MaximumAngle = -95 - }; - obj98.Locations = list240; - reference174 = obj98; - gatheringNodeGroup76.Nodes = list238; - reference172 = gatheringNodeGroup76; - ref GatheringNodeGroup reference175 = ref span61[1]; - GatheringNodeGroup gatheringNodeGroup77 = new GatheringNodeGroup(); - num2 = 2; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - Span span64 = CollectionsMarshal.AsSpan(list241); - ref GatheringNode reference176 = ref span64[0]; - GatheringNode obj99 = new GatheringNode - { - DataId = 34753u - }; - num3 = 1; - List list242 = new List(num3); - CollectionsMarshal.SetCount(list242, num3); - CollectionsMarshal.AsSpan(list242)[0] = new GatheringLocation - { - Position = new Vector3(-541.7726f, -22.952f, -517.8604f), - MinimumAngle = 215, - MaximumAngle = 330 - }; - obj99.Locations = list242; - reference176 = obj99; - ref GatheringNode reference177 = ref span64[1]; - GatheringNode obj100 = new GatheringNode - { - DataId = 34754u - }; - num3 = 3; - List list243 = new List(num3); - CollectionsMarshal.SetCount(list243, num3); - Span span65 = CollectionsMarshal.AsSpan(list243); - span65[0] = new GatheringLocation - { - Position = new Vector3(-522.9433f, -25.87319f, -537.3257f), - MinimumAngle = 225, - MaximumAngle = 360 - }; - span65[1] = new GatheringLocation - { - Position = new Vector3(-532.3487f, -22.79275f, -510.8069f), - MinimumAngle = 135, - MaximumAngle = 270 - }; - span65[2] = new GatheringLocation - { - Position = new Vector3(-536.2922f, -23.79476f, -526.0406f), - MinimumAngle = -110, - MaximumAngle = 35 - }; - obj100.Locations = list243; - reference177 = obj100; - gatheringNodeGroup77.Nodes = list241; - reference175 = gatheringNodeGroup77; - ref GatheringNodeGroup reference178 = ref span61[2]; - GatheringNodeGroup gatheringNodeGroup78 = new GatheringNodeGroup(); - num2 = 2; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - Span span66 = CollectionsMarshal.AsSpan(list244); - ref GatheringNode reference179 = ref span66[0]; - GatheringNode obj101 = new GatheringNode - { - DataId = 34751u - }; - num3 = 1; - List list245 = new List(num3); - CollectionsMarshal.SetCount(list245, num3); - CollectionsMarshal.AsSpan(list245)[0] = new GatheringLocation - { - Position = new Vector3(-448.8079f, -14.9586f, -658.0133f), - MinimumAngle = -45, - MaximumAngle = 115 - }; - obj101.Locations = list245; - reference179 = obj101; - ref GatheringNode reference180 = ref span66[1]; - GatheringNode obj102 = new GatheringNode - { - DataId = 34752u - }; - num3 = 3; - List list246 = new List(num3); - CollectionsMarshal.SetCount(list246, num3); - Span span67 = CollectionsMarshal.AsSpan(list246); - span67[0] = new GatheringLocation - { - Position = new Vector3(-452.2813f, -12.43015f, -665.0275f), - MinimumAngle = 0, - MaximumAngle = 150 - }; - span67[1] = new GatheringLocation - { - Position = new Vector3(-431.5875f, -16.68724f, -656.528f), - MinimumAngle = -35, - MaximumAngle = 90 - }; - span67[2] = new GatheringLocation - { - Position = new Vector3(-439.8079f, -16.67447f, -654.6749f), - MinimumAngle = -45, - MaximumAngle = 85 - }; - obj102.Locations = list246; - reference180 = obj102; - gatheringNodeGroup78.Nodes = list244; - reference178 = gatheringNodeGroup78; - gatheringRoot22.Groups = list237; - AddLocation(974, gatheringRoot22); - GatheringRoot gatheringRoot23 = new GatheringRoot(); - num = 1; - List list247 = new List(num); - CollectionsMarshal.SetCount(list247, num); - CollectionsMarshal.AsSpan(list247)[0] = "liza"; - gatheringRoot23.Author = list247; - num = 1; - List list248 = new List(num); - CollectionsMarshal.SetCount(list248, num); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.None, null, null, 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho - }; - gatheringRoot23.Steps = list248; - num = 3; - List list249 = new List(num); - CollectionsMarshal.SetCount(list249, num); - Span span68 = CollectionsMarshal.AsSpan(list249); - ref GatheringNodeGroup reference181 = ref span68[0]; - GatheringNodeGroup gatheringNodeGroup79 = new GatheringNodeGroup(); - num2 = 2; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - Span span69 = CollectionsMarshal.AsSpan(list250); - ref GatheringNode reference182 = ref span69[0]; - GatheringNode obj103 = new GatheringNode - { - DataId = 34759u - }; - num3 = 1; - List list251 = new List(num3); - CollectionsMarshal.SetCount(list251, num3); - CollectionsMarshal.AsSpan(list251)[0] = new GatheringLocation - { - Position = new Vector3(-120.3785f, 30.38074f, 396.7192f), - MinimumAngle = 125, - MaximumAngle = 280 - }; - obj103.Locations = list251; - reference182 = obj103; - ref GatheringNode reference183 = ref span69[1]; - GatheringNode obj104 = new GatheringNode - { - DataId = 34760u - }; - num3 = 3; - List list252 = new List(num3); - CollectionsMarshal.SetCount(list252, num3); - Span span70 = CollectionsMarshal.AsSpan(list252); - span70[0] = new GatheringLocation - { - Position = new Vector3(-133.0528f, 32.64423f, 399.1742f), - MinimumAngle = 85, - MaximumAngle = 235 - }; - span70[1] = new GatheringLocation - { - Position = new Vector3(-108.2323f, 32.42883f, 407.0955f), - MinimumAngle = 150, - MaximumAngle = 290 - }; - span70[2] = new GatheringLocation - { - Position = new Vector3(-102.1287f, 35.23303f, 416.1898f), - MinimumAngle = 155, - MaximumAngle = 295 - }; - obj104.Locations = list252; - reference183 = obj104; - gatheringNodeGroup79.Nodes = list250; - reference181 = gatheringNodeGroup79; - ref GatheringNodeGroup reference184 = ref span68[1]; - GatheringNodeGroup gatheringNodeGroup80 = new GatheringNodeGroup(); - num2 = 2; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - Span span71 = CollectionsMarshal.AsSpan(list253); - ref GatheringNode reference185 = ref span71[0]; - GatheringNode obj105 = new GatheringNode - { - DataId = 34755u - }; - num3 = 1; - List list254 = new List(num3); - CollectionsMarshal.SetCount(list254, num3); - CollectionsMarshal.AsSpan(list254)[0] = new GatheringLocation - { - Position = new Vector3(-171.2521f, 46.49414f, 142.4124f), - MinimumAngle = -80, - MaximumAngle = 25 - }; - obj105.Locations = list254; - reference185 = obj105; - ref GatheringNode reference186 = ref span71[1]; - GatheringNode obj106 = new GatheringNode - { - DataId = 34756u - }; - num3 = 3; - List list255 = new List(num3); - CollectionsMarshal.SetCount(list255, num3); - Span span72 = CollectionsMarshal.AsSpan(list255); - span72[0] = new GatheringLocation - { - Position = new Vector3(-150.6633f, 47.30524f, 116.4768f), - MinimumAngle = -135, - MaximumAngle = 0 - }; - span72[1] = new GatheringLocation - { - Position = new Vector3(-164.8948f, 47.17537f, 138.1664f), - MinimumAngle = -60, - MaximumAngle = 20 - }; - span72[2] = new GatheringLocation - { - Position = new Vector3(-157.4637f, 46.7111f, 126.0358f), - MinimumAngle = -90, - MaximumAngle = 10 - }; - obj106.Locations = list255; - reference186 = obj106; - gatheringNodeGroup80.Nodes = list253; - reference184 = gatheringNodeGroup80; - ref GatheringNodeGroup reference187 = ref span68[2]; - GatheringNodeGroup gatheringNodeGroup81 = new GatheringNodeGroup(); - num2 = 2; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - Span span73 = CollectionsMarshal.AsSpan(list256); - ref GatheringNode reference188 = ref span73[0]; - GatheringNode obj107 = new GatheringNode - { - DataId = 34757u - }; - num3 = 1; - List list257 = new List(num3); - CollectionsMarshal.SetCount(list257, num3); - CollectionsMarshal.AsSpan(list257)[0] = new GatheringLocation - { - Position = new Vector3(-313.222f, 62.79089f, 335.1643f), - MinimumAngle = 195, - MaximumAngle = 310 - }; - obj107.Locations = list257; - reference188 = obj107; - ref GatheringNode reference189 = ref span73[1]; - GatheringNode obj108 = new GatheringNode - { - DataId = 34758u - }; - num3 = 3; - List list258 = new List(num3); - CollectionsMarshal.SetCount(list258, num3); - Span span74 = CollectionsMarshal.AsSpan(list258); - span74[0] = new GatheringLocation - { - Position = new Vector3(-309.2621f, 71.25529f, 367.5573f), - MinimumAngle = 190, - MaximumAngle = 300 - }; - span74[1] = new GatheringLocation - { - Position = new Vector3(-323.9727f, 58.3564f, 295.3081f), - MinimumAngle = 205, - MaximumAngle = 325 - }; - span74[2] = new GatheringLocation - { - Position = new Vector3(-305.3915f, 72.10517f, 385.1654f), - MinimumAngle = 210, - MaximumAngle = 295 - }; - obj108.Locations = list258; - reference189 = obj108; - gatheringNodeGroup81.Nodes = list256; - reference187 = gatheringNodeGroup81; - gatheringRoot23.Groups = list249; - AddLocation(975, gatheringRoot23); - GatheringRoot gatheringRoot24 = new GatheringRoot(); - num = 1; - List list259 = new List(num); - CollectionsMarshal.SetCount(list259, num); - CollectionsMarshal.AsSpan(list259)[0] = "liza"; - gatheringRoot24.Author = list259; - num = 1; - List list260 = new List(num); - CollectionsMarshal.SetCount(list260, num); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.None, null, null, 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - gatheringRoot24.Steps = list260; - num = 3; - List list261 = new List(num); - CollectionsMarshal.SetCount(list261, num); - Span span75 = CollectionsMarshal.AsSpan(list261); - ref GatheringNodeGroup reference190 = ref span75[0]; - GatheringNodeGroup gatheringNodeGroup82 = new GatheringNodeGroup(); - num2 = 2; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - Span span76 = CollectionsMarshal.AsSpan(list262); - ref GatheringNode reference191 = ref span76[0]; - GatheringNode obj109 = new GatheringNode - { - DataId = 34763u - }; - num3 = 1; - List list263 = new List(num3); - CollectionsMarshal.SetCount(list263, num3); - CollectionsMarshal.AsSpan(list263)[0] = new GatheringLocation - { - Position = new Vector3(-628.5966f, 3.089153f, -417.3812f), - MinimumAngle = -80, - MaximumAngle = 70 - }; - obj109.Locations = list263; - reference191 = obj109; - ref GatheringNode reference192 = ref span76[1]; - GatheringNode obj110 = new GatheringNode - { - DataId = 34764u - }; - num3 = 3; - List list264 = new List(num3); - CollectionsMarshal.SetCount(list264, num3); - Span span77 = CollectionsMarshal.AsSpan(list264); - span77[0] = new GatheringLocation - { - Position = new Vector3(-644.7781f, 2.261729f, -416.9234f), - MinimumAngle = -70, - MaximumAngle = 100 - }; - span77[1] = new GatheringLocation - { - Position = new Vector3(-621.8856f, 3.151928f, -418.6934f), - MinimumAngle = -85, - MaximumAngle = 75 - }; - span77[2] = new GatheringLocation - { - Position = new Vector3(-632.9135f, 2.716663f, -417.9657f), - MinimumAngle = -55, - MaximumAngle = 75 - }; - obj110.Locations = list264; - reference192 = obj110; - gatheringNodeGroup82.Nodes = list262; - reference190 = gatheringNodeGroup82; - ref GatheringNodeGroup reference193 = ref span75[1]; - GatheringNodeGroup gatheringNodeGroup83 = new GatheringNodeGroup(); - num2 = 2; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - Span span78 = CollectionsMarshal.AsSpan(list265); - ref GatheringNode reference194 = ref span78[0]; - GatheringNode obj111 = new GatheringNode - { - DataId = 34766u - }; - num3 = 3; - List list266 = new List(num3); - CollectionsMarshal.SetCount(list266, num3); - Span span79 = CollectionsMarshal.AsSpan(list266); - span79[0] = new GatheringLocation - { - Position = new Vector3(-823.1537f, 7.570713f, -344.0435f), - MinimumAngle = -150, - MaximumAngle = -10 - }; - span79[1] = new GatheringLocation - { - Position = new Vector3(-824.2916f, 8.34999f, -311.9117f), - MinimumAngle = 215, - MaximumAngle = 345 - }; - span79[2] = new GatheringLocation - { - Position = new Vector3(-825.0306f, 9.265428f, -279.9193f), - MinimumAngle = 205, - MaximumAngle = 330 - }; - obj111.Locations = list266; - reference194 = obj111; - ref GatheringNode reference195 = ref span78[1]; - GatheringNode obj112 = new GatheringNode - { - DataId = 34765u - }; - num3 = 1; - List list267 = new List(num3); - CollectionsMarshal.SetCount(list267, num3); - CollectionsMarshal.AsSpan(list267)[0] = new GatheringLocation - { - Position = new Vector3(-824.3366f, 7.884955f, -327.8148f), - MinimumAngle = 205, - MaximumAngle = 340 - }; - obj112.Locations = list267; - reference195 = obj112; - gatheringNodeGroup83.Nodes = list265; - reference193 = gatheringNodeGroup83; - ref GatheringNodeGroup reference196 = ref span75[2]; - GatheringNodeGroup gatheringNodeGroup84 = new GatheringNodeGroup(); - num2 = 2; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - Span span80 = CollectionsMarshal.AsSpan(list268); - ref GatheringNode reference197 = ref span80[0]; - GatheringNode obj113 = new GatheringNode - { - DataId = 34761u - }; - num3 = 1; - List list269 = new List(num3); - CollectionsMarshal.SetCount(list269, num3); - CollectionsMarshal.AsSpan(list269)[0] = new GatheringLocation - { - Position = new Vector3(-593.9269f, 3.169262f, -223.1938f), - MinimumAngle = 65, - MaximumAngle = 195 - }; - obj113.Locations = list269; - reference197 = obj113; - ref GatheringNode reference198 = ref span80[1]; - GatheringNode obj114 = new GatheringNode - { - DataId = 34762u - }; - num3 = 3; - List list270 = new List(num3); - CollectionsMarshal.SetCount(list270, num3); - Span span81 = CollectionsMarshal.AsSpan(list270); - span81[0] = new GatheringLocation - { - Position = new Vector3(-584.8643f, 3.320522f, -227.3047f), - MinimumAngle = 110, - MaximumAngle = 245 - }; - span81[1] = new GatheringLocation - { - Position = new Vector3(-602.5651f, 3.251461f, -217.1539f), - MinimumAngle = 70, - MaximumAngle = 210 - }; - span81[2] = new GatheringLocation - { - Position = new Vector3(-613.296f, 2.557324f, -205.7018f), - MinimumAngle = 50, - MaximumAngle = 195 - }; - obj114.Locations = list270; - reference198 = obj114; - gatheringNodeGroup84.Nodes = list268; - reference196 = gatheringNodeGroup84; - gatheringRoot24.Groups = list261; - AddLocation(976, gatheringRoot24); - GatheringRoot gatheringRoot25 = new GatheringRoot(); - num = 1; - List list271 = new List(num); - CollectionsMarshal.SetCount(list271, num); - CollectionsMarshal.AsSpan(list271)[0] = "liza"; - gatheringRoot25.Author = list271; - num = 1; - List list272 = new List(num); - CollectionsMarshal.SetCount(list272, num); - CollectionsMarshal.AsSpan(list272)[0] = new QuestStep(EInteractionType.None, null, null, 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelIqBraax - }; - gatheringRoot25.Steps = list272; - num = 3; - List list273 = new List(num); - CollectionsMarshal.SetCount(list273, num); - Span span82 = CollectionsMarshal.AsSpan(list273); - ref GatheringNodeGroup reference199 = ref span82[0]; - GatheringNodeGroup gatheringNodeGroup85 = new GatheringNodeGroup(); - num2 = 2; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - Span span83 = CollectionsMarshal.AsSpan(list274); - ref GatheringNode reference200 = ref span83[0]; - GatheringNode obj115 = new GatheringNode - { - DataId = 34768u - }; - num3 = 3; - List list275 = new List(num3); - CollectionsMarshal.SetCount(list275, num3); - Span span84 = CollectionsMarshal.AsSpan(list275); - span84[0] = new GatheringLocation - { - Position = new Vector3(-488.7683f, 7.979174f, -200.5838f), - MinimumAngle = -35, - MaximumAngle = 155 - }; - span84[1] = new GatheringLocation - { - Position = new Vector3(-482.2286f, 5.531401f, -196.1891f), - MinimumAngle = -45, - MaximumAngle = 85 - }; - span84[2] = new GatheringLocation - { - Position = new Vector3(-471.8323f, 5.569422f, -196.5274f), - MinimumAngle = -95, - MaximumAngle = 60 - }; - obj115.Locations = list275; - reference200 = obj115; - ref GatheringNode reference201 = ref span83[1]; - GatheringNode obj116 = new GatheringNode - { - DataId = 34767u - }; - num3 = 1; - List list276 = new List(num3); - CollectionsMarshal.SetCount(list276, num3); - CollectionsMarshal.AsSpan(list276)[0] = new GatheringLocation - { - Position = new Vector3(-476.9659f, 6.191905f, -196.2125f), - MinimumAngle = -70, - MaximumAngle = 50 - }; - obj116.Locations = list276; - reference201 = obj116; - gatheringNodeGroup85.Nodes = list274; - reference199 = gatheringNodeGroup85; - ref GatheringNodeGroup reference202 = ref span82[1]; - GatheringNodeGroup gatheringNodeGroup86 = new GatheringNodeGroup(); - num2 = 2; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - Span span85 = CollectionsMarshal.AsSpan(list277); - ref GatheringNode reference203 = ref span85[0]; - GatheringNode obj117 = new GatheringNode - { - DataId = 34772u - }; - num3 = 3; - List list278 = new List(num3); - CollectionsMarshal.SetCount(list278, num3); - Span span86 = CollectionsMarshal.AsSpan(list278); - span86[0] = new GatheringLocation - { - Position = new Vector3(-484.7457f, -11.7739f, -35.59686f), - MinimumAngle = 115, - MaximumAngle = 270 - }; - span86[1] = new GatheringLocation - { - Position = new Vector3(-490.1306f, -12.35526f, -37.11329f), - MinimumAngle = 105, - MaximumAngle = 280 - }; - span86[2] = new GatheringLocation - { - Position = new Vector3(-465.1013f, -11.11267f, -37.65248f), - MinimumAngle = 70, - MaximumAngle = 170, - MinimumDistance = 1f, - MaximumDistance = 2f - }; - obj117.Locations = list278; - reference203 = obj117; - ref GatheringNode reference204 = ref span85[1]; - GatheringNode obj118 = new GatheringNode - { - DataId = 34771u - }; - num3 = 1; - List list279 = new List(num3); - CollectionsMarshal.SetCount(list279, num3); - CollectionsMarshal.AsSpan(list279)[0] = new GatheringLocation - { - Position = new Vector3(-474.0215f, -11.19864f, -33.31685f), - MinimumAngle = 105, - MaximumAngle = 230, - MinimumDistance = 1f, - MaximumDistance = 2.4f - }; - obj118.Locations = list279; - reference204 = obj118; - gatheringNodeGroup86.Nodes = list277; - reference202 = gatheringNodeGroup86; - ref GatheringNodeGroup reference205 = ref span82[2]; - GatheringNodeGroup gatheringNodeGroup87 = new GatheringNodeGroup(); - num2 = 2; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - Span span87 = CollectionsMarshal.AsSpan(list280); - ref GatheringNode reference206 = ref span87[0]; - GatheringNode obj119 = new GatheringNode - { - DataId = 34769u - }; - num3 = 1; - List list281 = new List(num3); - CollectionsMarshal.SetCount(list281, num3); - CollectionsMarshal.AsSpan(list281)[0] = new GatheringLocation - { - Position = new Vector3(-359.9215f, 7.800453f, -75.53547f), - MinimumAngle = -5, - MaximumAngle = 90 - }; - obj119.Locations = list281; - reference206 = obj119; - ref GatheringNode reference207 = ref span87[1]; - GatheringNode obj120 = new GatheringNode - { - DataId = 34770u - }; - num3 = 3; - List list282 = new List(num3); - CollectionsMarshal.SetCount(list282, num3); - Span span88 = CollectionsMarshal.AsSpan(list282); - span88[0] = new GatheringLocation - { - Position = new Vector3(-357.9739f, 6.927034f, -74.45865f), - MinimumAngle = -20, - MaximumAngle = 80 - }; - span88[1] = new GatheringLocation - { - Position = new Vector3(-362.3269f, 8.58064f, -80.35127f), - MinimumAngle = 45, - MaximumAngle = 105 - }; - span88[2] = new GatheringLocation - { - Position = new Vector3(-362.3572f, 9.697624f, -82.81331f), - MinimumAngle = 25, - MaximumAngle = 110 - }; - obj120.Locations = list282; - reference207 = obj120; - gatheringNodeGroup87.Nodes = list280; - reference205 = gatheringNodeGroup87; - gatheringRoot25.Groups = list273; - AddLocation(977, gatheringRoot25); - GatheringRoot gatheringRoot26 = new GatheringRoot(); - num = 1; - List list283 = new List(num); - CollectionsMarshal.SetCount(list283, num); - CollectionsMarshal.AsSpan(list283)[0] = "liza"; - gatheringRoot26.Author = list283; - num = 1; - List list284 = new List(num); - CollectionsMarshal.SetCount(list284, num); - CollectionsMarshal.AsSpan(list284)[0] = new QuestStep(EInteractionType.None, null, null, 1190) - { - AetheryteShortcut = EAetheryteLocation.ShaaloaniMehwahhetsoan - }; - gatheringRoot26.Steps = list284; - num = 3; - List list285 = new List(num); - CollectionsMarshal.SetCount(list285, num); - Span span89 = CollectionsMarshal.AsSpan(list285); - ref GatheringNodeGroup reference208 = ref span89[0]; - GatheringNodeGroup gatheringNodeGroup88 = new GatheringNodeGroup(); - num2 = 2; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - Span span90 = CollectionsMarshal.AsSpan(list286); - ref GatheringNode reference209 = ref span90[0]; - GatheringNode obj121 = new GatheringNode - { - DataId = 34777u - }; - num3 = 1; - List list287 = new List(num3); - CollectionsMarshal.SetCount(list287, num3); - CollectionsMarshal.AsSpan(list287)[0] = new GatheringLocation - { - Position = new Vector3(395.7766f, -15.0432f, -793.4127f), - MinimumAngle = 265, - MaximumAngle = 340 - }; - obj121.Locations = list287; - reference209 = obj121; - ref GatheringNode reference210 = ref span90[1]; - GatheringNode obj122 = new GatheringNode - { - DataId = 34778u - }; - num3 = 3; - List list288 = new List(num3); - CollectionsMarshal.SetCount(list288, num3); - Span span91 = CollectionsMarshal.AsSpan(list288); - span91[0] = new GatheringLocation - { - Position = new Vector3(372.0282f, -16.77722f, -785.652f), - MinimumAngle = 255, - MaximumAngle = 360 - }; - span91[1] = new GatheringLocation - { - Position = new Vector3(419.309f, -10.25133f, -784.8259f), - MinimumAngle = -25, - MaximumAngle = 85 - }; - span91[2] = new GatheringLocation - { - Position = new Vector3(410.6989f, -10.9656f, -790.8315f), - MinimumAngle = -20, - MaximumAngle = 95 - }; - obj122.Locations = list288; - reference210 = obj122; - gatheringNodeGroup88.Nodes = list286; - reference208 = gatheringNodeGroup88; - ref GatheringNodeGroup reference211 = ref span89[1]; - GatheringNodeGroup gatheringNodeGroup89 = new GatheringNodeGroup(); - num2 = 2; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - Span span92 = CollectionsMarshal.AsSpan(list289); - ref GatheringNode reference212 = ref span92[0]; - GatheringNode obj123 = new GatheringNode - { - DataId = 34774u - }; - num3 = 3; - List list290 = new List(num3); - CollectionsMarshal.SetCount(list290, num3); - Span span93 = CollectionsMarshal.AsSpan(list290); - span93[0] = new GatheringLocation - { - Position = new Vector3(594.6921f, -6.424452f, -826.2967f), - MinimumAngle = -90, - MaximumAngle = 40 - }; - span93[1] = new GatheringLocation - { - Position = new Vector3(618.4105f, -4.948164f, -824.438f), - MinimumAngle = -60, - MaximumAngle = 60 - }; - span93[2] = new GatheringLocation - { - Position = new Vector3(625.7259f, -4.734236f, -825.9003f), - MinimumAngle = -55, - MaximumAngle = 40 - }; - obj123.Locations = list290; - reference212 = obj123; - ref GatheringNode reference213 = ref span92[1]; - GatheringNode obj124 = new GatheringNode - { - DataId = 34773u - }; - num3 = 1; - List list291 = new List(num3); - CollectionsMarshal.SetCount(list291, num3); - CollectionsMarshal.AsSpan(list291)[0] = new GatheringLocation - { - Position = new Vector3(606.1035f, -5.781946f, -827.3289f), - MinimumAngle = -40, - MaximumAngle = 55 - }; - obj124.Locations = list291; - reference213 = obj124; - gatheringNodeGroup89.Nodes = list289; - reference211 = gatheringNodeGroup89; - ref GatheringNodeGroup reference214 = ref span89[2]; - GatheringNodeGroup gatheringNodeGroup90 = new GatheringNodeGroup(); - num2 = 2; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - Span span94 = CollectionsMarshal.AsSpan(list292); - ref GatheringNode reference215 = ref span94[0]; - GatheringNode obj125 = new GatheringNode - { - DataId = 34776u - }; - num3 = 3; - List list293 = new List(num3); - CollectionsMarshal.SetCount(list293, num3); - Span span95 = CollectionsMarshal.AsSpan(list293); - span95[0] = new GatheringLocation - { - Position = new Vector3(729.9794f, -6.851574f, -746.845f), - MinimumAngle = 0, - MaximumAngle = 155 - }; - span95[1] = new GatheringLocation - { - Position = new Vector3(730.2341f, -6.406585f, -724.3364f), - MinimumAngle = 0, - MaximumAngle = 165 - }; - span95[2] = new GatheringLocation - { - Position = new Vector3(732.0835f, -6.737461f, -738.1154f), - MinimumAngle = 35, - MaximumAngle = 160 - }; - obj125.Locations = list293; - reference215 = obj125; - ref GatheringNode reference216 = ref span94[1]; - GatheringNode obj126 = new GatheringNode - { - DataId = 34775u - }; - num3 = 1; - List list294 = new List(num3); - CollectionsMarshal.SetCount(list294, num3); - CollectionsMarshal.AsSpan(list294)[0] = new GatheringLocation - { - Position = new Vector3(730.0588f, -6.698792f, -733.2113f), - MinimumAngle = 25, - MaximumAngle = 170 - }; - obj126.Locations = list294; - reference216 = obj126; - gatheringNodeGroup90.Nodes = list292; - reference214 = gatheringNodeGroup90; - gatheringRoot26.Groups = list285; - AddLocation(978, gatheringRoot26); - GatheringRoot gatheringRoot27 = new GatheringRoot(); - num = 1; - List list295 = new List(num); - CollectionsMarshal.SetCount(list295, num); - CollectionsMarshal.AsSpan(list295)[0] = "liza"; - gatheringRoot27.Author = list295; - num = 1; - List list296 = new List(num); - CollectionsMarshal.SetCount(list296, num); - CollectionsMarshal.AsSpan(list296)[0] = new QuestStep(EInteractionType.None, null, null, 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelIqBraax - }; - gatheringRoot27.Steps = list296; - num = 3; - List list297 = new List(num); - CollectionsMarshal.SetCount(list297, num); - Span span96 = CollectionsMarshal.AsSpan(list297); - ref GatheringNodeGroup reference217 = ref span96[0]; - GatheringNodeGroup gatheringNodeGroup91 = new GatheringNodeGroup(); - num2 = 2; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - Span span97 = CollectionsMarshal.AsSpan(list298); - ref GatheringNode reference218 = ref span97[0]; - GatheringNode obj127 = new GatheringNode - { - DataId = 34783u - }; - num3 = 1; - List list299 = new List(num3); - CollectionsMarshal.SetCount(list299, num3); - CollectionsMarshal.AsSpan(list299)[0] = new GatheringLocation - { - Position = new Vector3(-273.0702f, 15.09387f, -443.001f), - MinimumAngle = -15, - MaximumAngle = 160 - }; - obj127.Locations = list299; - reference218 = obj127; - ref GatheringNode reference219 = ref span97[1]; - GatheringNode obj128 = new GatheringNode - { - DataId = 34784u - }; - num3 = 3; - List list300 = new List(num3); - CollectionsMarshal.SetCount(list300, num3); - Span span98 = CollectionsMarshal.AsSpan(list300); - span98[0] = new GatheringLocation - { - Position = new Vector3(-268.5216f, 15.18526f, -438.1259f), - MinimumAngle = -160, - MaximumAngle = 100 - }; - span98[1] = new GatheringLocation - { - Position = new Vector3(-282.2694f, 15.46158f, -437.156f), - MinimumAngle = 200, - MaximumAngle = 350 - }; - span98[2] = new GatheringLocation - { - Position = new Vector3(-284.5246f, 15.61228f, -445.3587f), - MinimumAngle = 155, - MaximumAngle = 310 - }; - obj128.Locations = list300; - reference219 = obj128; - gatheringNodeGroup91.Nodes = list298; - reference217 = gatheringNodeGroup91; - ref GatheringNodeGroup reference220 = ref span96[1]; - GatheringNodeGroup gatheringNodeGroup92 = new GatheringNodeGroup(); - num2 = 2; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - Span span99 = CollectionsMarshal.AsSpan(list301); - ref GatheringNode reference221 = ref span99[0]; - GatheringNode obj129 = new GatheringNode - { - DataId = 34782u - }; - num3 = 3; - List list302 = new List(num3); - CollectionsMarshal.SetCount(list302, num3); - Span span100 = CollectionsMarshal.AsSpan(list302); - span100[0] = new GatheringLocation - { - Position = new Vector3(-431.8761f, 34.533f, -654.7189f), - MinimumAngle = -100, - MaximumAngle = 30 - }; - span100[1] = new GatheringLocation - { - Position = new Vector3(-430.493f, 32.50696f, -679.2305f), - MinimumAngle = 170, - MaximumAngle = 295 - }; - span100[2] = new GatheringLocation - { - Position = new Vector3(-435.1992f, 35.77378f, -649.1482f), - MinimumAngle = -145, - MaximumAngle = 25 - }; - obj129.Locations = list302; - reference221 = obj129; - ref GatheringNode reference222 = ref span99[1]; - GatheringNode obj130 = new GatheringNode - { - DataId = 34781u - }; - num3 = 1; - List list303 = new List(num3); - CollectionsMarshal.SetCount(list303, num3); - CollectionsMarshal.AsSpan(list303)[0] = new GatheringLocation - { - Position = new Vector3(-427.0237f, 33.4935f, -668.6351f), - MinimumAngle = 200, - MaximumAngle = 330 - }; - obj130.Locations = list303; - reference222 = obj130; - gatheringNodeGroup92.Nodes = list301; - reference220 = gatheringNodeGroup92; - ref GatheringNodeGroup reference223 = ref span96[2]; - GatheringNodeGroup gatheringNodeGroup93 = new GatheringNodeGroup(); - num2 = 2; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - Span span101 = CollectionsMarshal.AsSpan(list304); - ref GatheringNode reference224 = ref span101[0]; - GatheringNode obj131 = new GatheringNode - { - DataId = 34779u - }; - num3 = 1; - List list305 = new List(num3); - CollectionsMarshal.SetCount(list305, num3); - CollectionsMarshal.AsSpan(list305)[0] = new GatheringLocation - { - Position = new Vector3(-524.4308f, 33.95129f, -578.9917f), - MinimumAngle = 250, - MaximumAngle = 360 - }; - obj131.Locations = list305; - reference224 = obj131; - ref GatheringNode reference225 = ref span101[1]; - GatheringNode obj132 = new GatheringNode - { - DataId = 34780u - }; - num3 = 3; - List list306 = new List(num3); - CollectionsMarshal.SetCount(list306, num3); - Span span102 = CollectionsMarshal.AsSpan(list306); - span102[0] = new GatheringLocation - { - Position = new Vector3(-533.9852f, 31.36117f, -558.8026f), - MinimumAngle = -140, - MaximumAngle = 0 - }; - span102[1] = new GatheringLocation - { - Position = new Vector3(-522.1197f, 36.22581f, -597.019f), - MinimumAngle = 170, - MaximumAngle = 320 - }; - span102[2] = new GatheringLocation - { - Position = new Vector3(-549.8734f, 28.65267f, -533.7023f), - MinimumAngle = -130, - MaximumAngle = 10 - }; - obj132.Locations = list306; - reference225 = obj132; - gatheringNodeGroup93.Nodes = list304; - reference223 = gatheringNodeGroup93; - gatheringRoot27.Groups = list297; - AddLocation(979, gatheringRoot27); - GatheringRoot gatheringRoot28 = new GatheringRoot(); - num = 1; - List list307 = new List(num); - CollectionsMarshal.SetCount(list307, num); - CollectionsMarshal.AsSpan(list307)[0] = "liza"; - gatheringRoot28.Author = list307; - num = 3; - List list308 = new List(num); - CollectionsMarshal.SetCount(list308, num); - Span span103 = CollectionsMarshal.AsSpan(list308); - span103[0] = new QuestStep(EInteractionType.Dive, null, new Vector3(417.1447f, -0.6f, -647.60004f), 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelIqBraax, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span103[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(417.1447f, 3f, -647.60004f), 1189) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span103[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(419.8578f, -32.6974f, -653.75275f), 1189) - { - DisableNavmesh = true, - Fly = true - }; - gatheringRoot28.Steps = list308; - num = 3; - List list309 = new List(num); - CollectionsMarshal.SetCount(list309, num); - Span span104 = CollectionsMarshal.AsSpan(list309); - ref GatheringNodeGroup reference226 = ref span104[0]; - GatheringNodeGroup gatheringNodeGroup94 = new GatheringNodeGroup(); - num2 = 2; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - Span span105 = CollectionsMarshal.AsSpan(list310); - ref GatheringNode reference227 = ref span105[0]; - GatheringNode obj133 = new GatheringNode - { - DataId = 34787u - }; - num3 = 1; - List list311 = new List(num3); - CollectionsMarshal.SetCount(list311, num3); - CollectionsMarshal.AsSpan(list311)[0] = new GatheringLocation - { - Position = new Vector3(482.7197f, -38.14573f, -612.8046f), - MinimumAngle = 100, - MaximumAngle = 275 - }; - obj133.Locations = list311; - reference227 = obj133; - ref GatheringNode reference228 = ref span105[1]; - GatheringNode obj134 = new GatheringNode - { - DataId = 34788u - }; - num3 = 3; - List list312 = new List(num3); - CollectionsMarshal.SetCount(list312, num3); - Span span106 = CollectionsMarshal.AsSpan(list312); - span106[0] = new GatheringLocation - { - Position = new Vector3(503.5652f, -41.40348f, -600.9512f), - MinimumAngle = 185, - MaximumAngle = 275 - }; - span106[1] = new GatheringLocation - { - Position = new Vector3(441.1733f, -36.58192f, -610.3331f), - MinimumAngle = 120, - MaximumAngle = 265 - }; - span106[2] = new GatheringLocation - { - Position = new Vector3(457.5484f, -40.0437f, -608.3312f), - MinimumAngle = 115, - MaximumAngle = 240 - }; - obj134.Locations = list312; - reference228 = obj134; - gatheringNodeGroup94.Nodes = list310; - reference226 = gatheringNodeGroup94; - ref GatheringNodeGroup reference229 = ref span104[1]; - GatheringNodeGroup gatheringNodeGroup95 = new GatheringNodeGroup(); - num2 = 2; - List list313 = new List(num2); - CollectionsMarshal.SetCount(list313, num2); - Span span107 = CollectionsMarshal.AsSpan(list313); - ref GatheringNode reference230 = ref span107[0]; - GatheringNode obj135 = new GatheringNode - { - DataId = 34790u - }; - num3 = 3; - List list314 = new List(num3); - CollectionsMarshal.SetCount(list314, num3); - Span span108 = CollectionsMarshal.AsSpan(list314); - span108[0] = new GatheringLocation - { - Position = new Vector3(584.035f, -49.84215f, -759.925f), - MinimumAngle = 115, - MaximumAngle = 240 - }; - span108[1] = new GatheringLocation - { - Position = new Vector3(624.3585f, -61.07853f, -748.2542f) - }; - span108[2] = new GatheringLocation - { - Position = new Vector3(605.4849f, -59.0002f, -772.6049f), - MinimumAngle = 175, - MaximumAngle = 275 - }; - obj135.Locations = list314; - reference230 = obj135; - ref GatheringNode reference231 = ref span107[1]; - GatheringNode obj136 = new GatheringNode - { - DataId = 34789u - }; - num3 = 1; - List list315 = new List(num3); - CollectionsMarshal.SetCount(list315, num3); - CollectionsMarshal.AsSpan(list315)[0] = new GatheringLocation - { - Position = new Vector3(601.6854f, -53.68699f, -741.3439f), - MinimumAngle = 185, - MaximumAngle = 355 - }; - obj136.Locations = list315; - reference231 = obj136; - gatheringNodeGroup95.Nodes = list313; - reference229 = gatheringNodeGroup95; - ref GatheringNodeGroup reference232 = ref span104[2]; - GatheringNodeGroup gatheringNodeGroup96 = new GatheringNodeGroup(); - num2 = 2; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - Span span109 = CollectionsMarshal.AsSpan(list316); - ref GatheringNode reference233 = ref span109[0]; - GatheringNode obj137 = new GatheringNode - { - DataId = 34785u - }; - num3 = 1; - List list317 = new List(num3); - CollectionsMarshal.SetCount(list317, num3); - CollectionsMarshal.AsSpan(list317)[0] = new GatheringLocation - { - Position = new Vector3(754.1298f, -57.09224f, -571.5818f), - MinimumAngle = 100, - MaximumAngle = 250 - }; - obj137.Locations = list317; - reference233 = obj137; - ref GatheringNode reference234 = ref span109[1]; - GatheringNode obj138 = new GatheringNode - { - DataId = 34786u - }; - num3 = 3; - List list318 = new List(num3); - CollectionsMarshal.SetCount(list318, num3); - Span span110 = CollectionsMarshal.AsSpan(list318); - span110[0] = new GatheringLocation - { - Position = new Vector3(734.2795f, -55.15427f, -573.6763f), - MinimumAngle = 90, - MaximumAngle = 260 - }; - span110[1] = new GatheringLocation - { - Position = new Vector3(714.931f, -53.3118f, -569.4072f), - MinimumAngle = 115, - MaximumAngle = 250 - }; - span110[2] = new GatheringLocation - { - Position = new Vector3(773.049f, -55.97124f, -569.7167f), - MinimumAngle = 105, - MaximumAngle = 240 - }; - obj138.Locations = list318; - reference234 = obj138; - gatheringNodeGroup96.Nodes = list316; - reference232 = gatheringNodeGroup96; - gatheringRoot28.Groups = list309; - AddLocation(980, gatheringRoot28); - GatheringRoot gatheringRoot29 = new GatheringRoot(); - num = 1; - List list319 = new List(num); - CollectionsMarshal.SetCount(list319, num); - CollectionsMarshal.AsSpan(list319)[0] = "liza"; - gatheringRoot29.Author = list319; - num = 1; - List list320 = new List(num); - CollectionsMarshal.SetCount(list320, num); - CollectionsMarshal.AsSpan(list320)[0] = new QuestStep(EInteractionType.None, null, null, 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho - }; - gatheringRoot29.Steps = list320; - num = 3; - List list321 = new List(num); - CollectionsMarshal.SetCount(list321, num); - Span span111 = CollectionsMarshal.AsSpan(list321); - ref GatheringNodeGroup reference235 = ref span111[0]; - GatheringNodeGroup gatheringNodeGroup97 = new GatheringNodeGroup(); - num2 = 2; - List list322 = new List(num2); - CollectionsMarshal.SetCount(list322, num2); - Span span112 = CollectionsMarshal.AsSpan(list322); - ref GatheringNode reference236 = ref span112[0]; - GatheringNode obj139 = new GatheringNode - { - DataId = 34809u - }; - num3 = 1; - List list323 = new List(num3); - CollectionsMarshal.SetCount(list323, num3); - CollectionsMarshal.AsSpan(list323)[0] = new GatheringLocation - { - Position = new Vector3(503.1253f, 113.6339f, 332.9355f), - MinimumAngle = 35, - MaximumAngle = 160 - }; - obj139.Locations = list323; - reference236 = obj139; - ref GatheringNode reference237 = ref span112[1]; - GatheringNode obj140 = new GatheringNode - { - DataId = 34810u - }; - num3 = 3; - List list324 = new List(num3); - CollectionsMarshal.SetCount(list324, num3); - Span span113 = CollectionsMarshal.AsSpan(list324); - span113[0] = new GatheringLocation - { - Position = new Vector3(516.6899f, 116.4842f, 326.5524f), - MinimumAngle = 20, - MaximumAngle = 160 - }; - span113[1] = new GatheringLocation - { - Position = new Vector3(505.7916f, 114.2773f, 342.2974f), - MinimumAngle = 0, - MaximumAngle = 100 - }; - span113[2] = new GatheringLocation - { - Position = new Vector3(515.9227f, 114.58f, 317.4333f), - MinimumAngle = 0, - MaximumAngle = 135 - }; - obj140.Locations = list324; - reference237 = obj140; - gatheringNodeGroup97.Nodes = list322; - reference235 = gatheringNodeGroup97; - ref GatheringNodeGroup reference238 = ref span111[1]; - GatheringNodeGroup gatheringNodeGroup98 = new GatheringNodeGroup(); - num2 = 2; - List list325 = new List(num2); - CollectionsMarshal.SetCount(list325, num2); - Span span114 = CollectionsMarshal.AsSpan(list325); - ref GatheringNode reference239 = ref span114[0]; - GatheringNode obj141 = new GatheringNode - { - DataId = 34813u - }; - num3 = 1; - List list326 = new List(num3); - CollectionsMarshal.SetCount(list326, num3); - CollectionsMarshal.AsSpan(list326)[0] = new GatheringLocation - { - Position = new Vector3(370.5957f, 64.7135f, 158.4955f), - MinimumAngle = -45, - MaximumAngle = 70 - }; - obj141.Locations = list326; - reference239 = obj141; - ref GatheringNode reference240 = ref span114[1]; - GatheringNode obj142 = new GatheringNode - { - DataId = 34814u - }; - num3 = 3; - List list327 = new List(num3); - CollectionsMarshal.SetCount(list327, num3); - Span span115 = CollectionsMarshal.AsSpan(list327); - span115[0] = new GatheringLocation - { - Position = new Vector3(363.6682f, 64.62195f, 152.1782f), - MinimumAngle = 20, - MaximumAngle = 140 - }; - span115[1] = new GatheringLocation - { - Position = new Vector3(394.519f, 63.70097f, 168.7538f), - MinimumAngle = -125, - MaximumAngle = 15 - }; - span115[2] = new GatheringLocation - { - Position = new Vector3(386.34f, 63.7528f, 166.915f), - MinimumAngle = 15, - MaximumAngle = 140 - }; - obj142.Locations = list327; - reference240 = obj142; - gatheringNodeGroup98.Nodes = list325; - reference238 = gatheringNodeGroup98; - ref GatheringNodeGroup reference241 = ref span111[2]; - GatheringNodeGroup gatheringNodeGroup99 = new GatheringNodeGroup(); - num2 = 2; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - Span span116 = CollectionsMarshal.AsSpan(list328); - ref GatheringNode reference242 = ref span116[0]; - GatheringNode obj143 = new GatheringNode - { - DataId = 34812u - }; - num3 = 3; - List list329 = new List(num3); - CollectionsMarshal.SetCount(list329, num3); - Span span117 = CollectionsMarshal.AsSpan(list329); - span117[0] = new GatheringLocation - { - Position = new Vector3(328.846f, 79.13469f, 434.0204f), - MinimumAngle = 175, - MaximumAngle = 280 - }; - span117[1] = new GatheringLocation - { - Position = new Vector3(352.4181f, 81.39249f, 446.0517f), - MinimumAngle = 180, - MaximumAngle = 260 - }; - span117[2] = new GatheringLocation - { - Position = new Vector3(336.5682f, 80.73547f, 443.9305f), - MinimumAngle = 120, - MaximumAngle = 200 - }; - obj143.Locations = list329; - reference242 = obj143; - ref GatheringNode reference243 = ref span116[1]; - GatheringNode obj144 = new GatheringNode - { - DataId = 34811u - }; - num3 = 1; - List list330 = new List(num3); - CollectionsMarshal.SetCount(list330, num3); - CollectionsMarshal.AsSpan(list330)[0] = new GatheringLocation - { - Position = new Vector3(341.6647f, 80.125f, 436.6368f), - MinimumAngle = 100, - MaximumAngle = 240 - }; - obj144.Locations = list330; - reference243 = obj144; - gatheringNodeGroup99.Nodes = list328; - reference241 = gatheringNodeGroup99; - gatheringRoot29.Groups = list321; - AddLocation(984, gatheringRoot29); - GatheringRoot gatheringRoot30 = new GatheringRoot(); - num = 1; - List list331 = new List(num); - CollectionsMarshal.SetCount(list331, num); - CollectionsMarshal.AsSpan(list331)[0] = "liza"; - gatheringRoot30.Author = list331; - num = 1; - List list332 = new List(num); - CollectionsMarshal.SetCount(list332, num); - CollectionsMarshal.AsSpan(list332)[0] = new QuestStep(EInteractionType.None, null, null, 1190); - gatheringRoot30.Steps = list332; - num = 3; - List list333 = new List(num); - CollectionsMarshal.SetCount(list333, num); - Span span118 = CollectionsMarshal.AsSpan(list333); - ref GatheringNodeGroup reference244 = ref span118[0]; - GatheringNodeGroup gatheringNodeGroup100 = new GatheringNodeGroup(); - num2 = 2; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - Span span119 = CollectionsMarshal.AsSpan(list334); - ref GatheringNode reference245 = ref span119[0]; - GatheringNode obj145 = new GatheringNode - { - DataId = 34819u - }; - num3 = 1; - List list335 = new List(num3); - CollectionsMarshal.SetCount(list335, num3); - CollectionsMarshal.AsSpan(list335)[0] = new GatheringLocation - { - Position = new Vector3(-86.69859f, -8.177663f, 572.7712f), - MinimumAngle = 45, - MaximumAngle = 175 - }; - obj145.Locations = list335; - reference245 = obj145; - ref GatheringNode reference246 = ref span119[1]; - GatheringNode obj146 = new GatheringNode - { - DataId = 34820u - }; - num3 = 3; - List list336 = new List(num3); - CollectionsMarshal.SetCount(list336, num3); - Span span120 = CollectionsMarshal.AsSpan(list336); - span120[0] = new GatheringLocation - { - Position = new Vector3(-83.81214f, -8.291362f, 581.595f), - MinimumAngle = 80, - MaximumAngle = 175 - }; - span120[1] = new GatheringLocation - { - Position = new Vector3(-88.70462f, -8.511888f, 578.6565f), - MinimumAngle = 35, - MaximumAngle = 150 - }; - span120[2] = new GatheringLocation - { - Position = new Vector3(-81.00482f, -7.330131f, 574.7444f), - MinimumAngle = 150, - MaximumAngle = 245 - }; - obj146.Locations = list336; - reference246 = obj146; - gatheringNodeGroup100.Nodes = list334; - reference244 = gatheringNodeGroup100; - ref GatheringNodeGroup reference247 = ref span118[1]; - GatheringNodeGroup gatheringNodeGroup101 = new GatheringNodeGroup(); - num2 = 2; - List list337 = new List(num2); - CollectionsMarshal.SetCount(list337, num2); - Span span121 = CollectionsMarshal.AsSpan(list337); - ref GatheringNode reference248 = ref span121[0]; - GatheringNode obj147 = new GatheringNode - { - DataId = 34817u - }; - num3 = 1; - List list338 = new List(num3); - CollectionsMarshal.SetCount(list338, num3); - CollectionsMarshal.AsSpan(list338)[0] = new GatheringLocation - { - Position = new Vector3(-264.2871f, -21.57944f, 593.6306f), - MinimumAngle = 130, - MaximumAngle = 255, - MinimumDistance = 1.5f, - MaximumDistance = 3f - }; - obj147.Locations = list338; - reference248 = obj147; - ref GatheringNode reference249 = ref span121[1]; - GatheringNode obj148 = new GatheringNode - { - DataId = 34818u - }; - num3 = 3; - List list339 = new List(num3); - CollectionsMarshal.SetCount(list339, num3); - Span span122 = CollectionsMarshal.AsSpan(list339); - span122[0] = new GatheringLocation - { - Position = new Vector3(-266.9412f, -21.20901f, 593.9532f), - MinimumAngle = 70, - MaximumAngle = 225 - }; - span122[1] = new GatheringLocation - { - Position = new Vector3(-268.0496f, -21.79604f, 598.2532f), - MinimumAngle = -45, - MaximumAngle = 160 - }; - span122[2] = new GatheringLocation - { - Position = new Vector3(-260.2841f, -22.10003f, 595.726f), - MinimumAngle = 160, - MaximumAngle = 330 - }; - obj148.Locations = list339; - reference249 = obj148; - gatheringNodeGroup101.Nodes = list337; - reference247 = gatheringNodeGroup101; - ref GatheringNodeGroup reference250 = ref span118[2]; - GatheringNodeGroup gatheringNodeGroup102 = new GatheringNodeGroup(); - num2 = 2; - List list340 = new List(num2); - CollectionsMarshal.SetCount(list340, num2); - Span span123 = CollectionsMarshal.AsSpan(list340); - ref GatheringNode reference251 = ref span123[0]; - GatheringNode obj149 = new GatheringNode - { - DataId = 34815u - }; - num3 = 1; - List list341 = new List(num3); - CollectionsMarshal.SetCount(list341, num3); - CollectionsMarshal.AsSpan(list341)[0] = new GatheringLocation - { - Position = new Vector3(-276.2859f, -3.218076f, 437.6798f) - }; - obj149.Locations = list341; - reference251 = obj149; - ref GatheringNode reference252 = ref span123[1]; - GatheringNode obj150 = new GatheringNode - { - DataId = 34816u - }; - num3 = 3; - List list342 = new List(num3); - CollectionsMarshal.SetCount(list342, num3); - Span span124 = CollectionsMarshal.AsSpan(list342); - span124[0] = new GatheringLocation - { - Position = new Vector3(-277.8067f, -2.664376f, 433.8469f) - }; - span124[1] = new GatheringLocation - { - Position = new Vector3(-273.7089f, -2.972111f, 434.3939f) - }; - span124[2] = new GatheringLocation - { - Position = new Vector3(-281.1727f, -2.682134f, 433.9476f) - }; - obj150.Locations = list342; - reference252 = obj150; - gatheringNodeGroup102.Nodes = list340; - reference250 = gatheringNodeGroup102; - gatheringRoot30.Groups = list333; - AddLocation(985, gatheringRoot30); - GatheringRoot gatheringRoot31 = new GatheringRoot(); - num = 1; - List list343 = new List(num); - CollectionsMarshal.SetCount(list343, num); - CollectionsMarshal.AsSpan(list343)[0] = "liza"; - gatheringRoot31.Author = list343; - num = 1; - List list344 = new List(num); - CollectionsMarshal.SetCount(list344, num); - CollectionsMarshal.AsSpan(list344)[0] = new QuestStep(EInteractionType.None, null, null, 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - gatheringRoot31.Steps = list344; - num = 3; - List list345 = new List(num); - CollectionsMarshal.SetCount(list345, num); - Span span125 = CollectionsMarshal.AsSpan(list345); - ref GatheringNodeGroup reference253 = ref span125[0]; - GatheringNodeGroup gatheringNodeGroup103 = new GatheringNodeGroup(); - num2 = 2; - List list346 = new List(num2); - CollectionsMarshal.SetCount(list346, num2); - Span span126 = CollectionsMarshal.AsSpan(list346); - ref GatheringNode reference254 = ref span126[0]; - GatheringNode obj151 = new GatheringNode - { - DataId = 34821u - }; - num3 = 1; - List list347 = new List(num3); - CollectionsMarshal.SetCount(list347, num3); - CollectionsMarshal.AsSpan(list347)[0] = new GatheringLocation - { - Position = new Vector3(-114.9673f, 9.311809f, -638.1873f), - MinimumAngle = -125, - MaximumAngle = 50 - }; - obj151.Locations = list347; - reference254 = obj151; - ref GatheringNode reference255 = ref span126[1]; - GatheringNode obj152 = new GatheringNode - { - DataId = 34822u - }; - num3 = 2; - List list348 = new List(num3); - CollectionsMarshal.SetCount(list348, num3); - Span span127 = CollectionsMarshal.AsSpan(list348); - span127[0] = new GatheringLocation - { - Position = new Vector3(-139.9428f, 17.33419f, -662.0339f), - MinimumAngle = -175, - MaximumAngle = 10 - }; - span127[1] = new GatheringLocation - { - Position = new Vector3(-98.84892f, 8.927668f, -645.7149f), - MinimumAngle = 165, - MaximumAngle = 360 - }; - obj152.Locations = list348; - reference255 = obj152; - gatheringNodeGroup103.Nodes = list346; - reference253 = gatheringNodeGroup103; - ref GatheringNodeGroup reference256 = ref span125[1]; - GatheringNodeGroup gatheringNodeGroup104 = new GatheringNodeGroup(); - num2 = 2; - List list349 = new List(num2); - CollectionsMarshal.SetCount(list349, num2); - Span span128 = CollectionsMarshal.AsSpan(list349); - ref GatheringNode reference257 = ref span128[0]; - GatheringNode obj153 = new GatheringNode - { - DataId = 34826u - }; - num3 = 2; - List list350 = new List(num3); - CollectionsMarshal.SetCount(list350, num3); - Span span129 = CollectionsMarshal.AsSpan(list350); - span129[0] = new GatheringLocation - { - Position = new Vector3(60.64223f, 4.514977f, -535.9874f), - MinimumAngle = 20, - MaximumAngle = 200 - }; - span129[1] = new GatheringLocation - { - Position = new Vector3(22.99263f, 3.71779f, -519.9791f), - MinimumAngle = 110, - MaximumAngle = 285 - }; - obj153.Locations = list350; - reference257 = obj153; - ref GatheringNode reference258 = ref span128[1]; - GatheringNode obj154 = new GatheringNode - { - DataId = 34825u - }; - num3 = 1; - List list351 = new List(num3); - CollectionsMarshal.SetCount(list351, num3); - CollectionsMarshal.AsSpan(list351)[0] = new GatheringLocation - { - Position = new Vector3(56.54757f, 4.987343f, -486.204f), - MinimumAngle = 40, - MaximumAngle = 220 - }; - obj154.Locations = list351; - reference258 = obj154; - gatheringNodeGroup104.Nodes = list349; - reference256 = gatheringNodeGroup104; - ref GatheringNodeGroup reference259 = ref span125[2]; - GatheringNodeGroup gatheringNodeGroup105 = new GatheringNodeGroup(); - num2 = 2; - List list352 = new List(num2); - CollectionsMarshal.SetCount(list352, num2); - Span span130 = CollectionsMarshal.AsSpan(list352); - ref GatheringNode reference260 = ref span130[0]; - GatheringNode obj155 = new GatheringNode - { - DataId = 34824u - }; - num3 = 2; - List list353 = new List(num3); - CollectionsMarshal.SetCount(list353, num3); - Span span131 = CollectionsMarshal.AsSpan(list353); - span131[0] = new GatheringLocation - { - Position = new Vector3(110.7947f, 6.466304f, -633.701f), - MinimumAngle = 20, - MaximumAngle = 205 - }; - span131[1] = new GatheringLocation - { - Position = new Vector3(78.47705f, 8.072021f, -627.9545f), - MinimumAngle = 130, - MaximumAngle = 290 - }; - obj155.Locations = list353; - reference260 = obj155; - ref GatheringNode reference261 = ref span130[1]; - GatheringNode obj156 = new GatheringNode - { - DataId = 34823u - }; - num3 = 1; - List list354 = new List(num3); - CollectionsMarshal.SetCount(list354, num3); - CollectionsMarshal.AsSpan(list354)[0] = new GatheringLocation - { - Position = new Vector3(91.40367f, 7.397814f, -659.1525f), - MinimumAngle = -40, - MaximumAngle = 145 - }; - obj156.Locations = list354; - reference261 = obj156; - gatheringNodeGroup105.Nodes = list352; - reference259 = gatheringNodeGroup105; - gatheringRoot31.Groups = list345; - AddLocation(986, gatheringRoot31); - GatheringRoot gatheringRoot32 = new GatheringRoot(); - num = 1; - List list355 = new List(num); - CollectionsMarshal.SetCount(list355, num); - CollectionsMarshal.AsSpan(list355)[0] = "liza"; - gatheringRoot32.Author = list355; - num = 1; - List list356 = new List(num); - CollectionsMarshal.SetCount(list356, num); - CollectionsMarshal.AsSpan(list356)[0] = new QuestStep(EInteractionType.None, null, null, 1188); - gatheringRoot32.Steps = list356; - num = 3; - List list357 = new List(num); - CollectionsMarshal.SetCount(list357, num); - Span span132 = CollectionsMarshal.AsSpan(list357); - ref GatheringNodeGroup reference262 = ref span132[0]; - GatheringNodeGroup gatheringNodeGroup106 = new GatheringNodeGroup(); - num2 = 2; - List list358 = new List(num2); - CollectionsMarshal.SetCount(list358, num2); - Span span133 = CollectionsMarshal.AsSpan(list358); - ref GatheringNode reference263 = ref span133[0]; - GatheringNode obj157 = new GatheringNode - { - DataId = 34831u - }; - num3 = 1; - List list359 = new List(num3); - CollectionsMarshal.SetCount(list359, num3); - CollectionsMarshal.AsSpan(list359)[0] = new GatheringLocation - { - Position = new Vector3(654.7989f, 121.8574f, 518.8689f), - MinimumAngle = -65, - MaximumAngle = 60 - }; - obj157.Locations = list359; - reference263 = obj157; - ref GatheringNode reference264 = ref span133[1]; - GatheringNode obj158 = new GatheringNode - { - DataId = 34832u - }; - num3 = 2; - List list360 = new List(num3); - CollectionsMarshal.SetCount(list360, num3); - Span span134 = CollectionsMarshal.AsSpan(list360); - span134[0] = new GatheringLocation - { - Position = new Vector3(638.961f, 119.4446f, 467.7013f), - MinimumAngle = -110, - MaximumAngle = 25 - }; - span134[1] = new GatheringLocation - { - Position = new Vector3(690.0587f, 115.8617f, 496.8795f), - MinimumAngle = 0, - MaximumAngle = 125 - }; - obj158.Locations = list360; - reference264 = obj158; - gatheringNodeGroup106.Nodes = list358; - reference262 = gatheringNodeGroup106; - ref GatheringNodeGroup reference265 = ref span132[1]; - GatheringNodeGroup gatheringNodeGroup107 = new GatheringNodeGroup(); - num2 = 2; - List list361 = new List(num2); - CollectionsMarshal.SetCount(list361, num2); - Span span135 = CollectionsMarshal.AsSpan(list361); - ref GatheringNode reference266 = ref span135[0]; - GatheringNode obj159 = new GatheringNode - { - DataId = 34828u - }; - num3 = 1; - List list362 = new List(num3); - CollectionsMarshal.SetCount(list362, num3); - CollectionsMarshal.AsSpan(list362)[0] = new GatheringLocation - { - Position = new Vector3(599.3455f, 121.5376f, 694.2341f), - MinimumAngle = -125, - MaximumAngle = 40 - }; - obj159.Locations = list362; - reference266 = obj159; - ref GatheringNode reference267 = ref span135[1]; - GatheringNode obj160 = new GatheringNode - { - DataId = 34827u - }; - num3 = 1; - List list363 = new List(num3); - CollectionsMarshal.SetCount(list363, num3); - CollectionsMarshal.AsSpan(list363)[0] = new GatheringLocation - { - Position = new Vector3(600.5253f, 124.8645f, 751.1969f), - MinimumAngle = -240, - MaximumAngle = -120 - }; - obj160.Locations = list363; - reference267 = obj160; - gatheringNodeGroup107.Nodes = list361; - reference265 = gatheringNodeGroup107; - ref GatheringNodeGroup reference268 = ref span132[2]; - GatheringNodeGroup gatheringNodeGroup108 = new GatheringNodeGroup(); - num2 = 2; - List list364 = new List(num2); - CollectionsMarshal.SetCount(list364, num2); - Span span136 = CollectionsMarshal.AsSpan(list364); - ref GatheringNode reference269 = ref span136[0]; - GatheringNode obj161 = new GatheringNode - { - DataId = 34830u - }; - num3 = 2; - List list365 = new List(num3); - CollectionsMarshal.SetCount(list365, num3); - Span span137 = CollectionsMarshal.AsSpan(list365); - span137[0] = new GatheringLocation - { - Position = new Vector3(762.9977f, 123.3409f, 718.8274f), - MinimumAngle = 75, - MaximumAngle = 215 - }; - span137[1] = new GatheringLocation - { - Position = new Vector3(800.252f, 124.2032f, 656.793f), - MinimumAngle = -25, - MaximumAngle = 95 - }; - obj161.Locations = list365; - reference269 = obj161; - ref GatheringNode reference270 = ref span136[1]; - GatheringNode obj162 = new GatheringNode - { - DataId = 34829u - }; - num3 = 1; - List list366 = new List(num3); - CollectionsMarshal.SetCount(list366, num3); - CollectionsMarshal.AsSpan(list366)[0] = new GatheringLocation - { - Position = new Vector3(793.8721f, 127.6419f, 696.0015f), - MinimumAngle = 25, - MaximumAngle = 165 - }; - obj162.Locations = list366; - reference270 = obj162; - gatheringNodeGroup108.Nodes = list364; - reference268 = gatheringNodeGroup108; - gatheringRoot32.Groups = list357; - AddLocation(987, gatheringRoot32); - GatheringRoot gatheringRoot33 = new GatheringRoot(); - num = 1; - List list367 = new List(num); - CollectionsMarshal.SetCount(list367, num); - CollectionsMarshal.AsSpan(list367)[0] = "liza"; - gatheringRoot33.Author = list367; - num = 1; - List list368 = new List(num); - CollectionsMarshal.SetCount(list368, num); - CollectionsMarshal.AsSpan(list368)[0] = new QuestStep(EInteractionType.None, null, null, 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelIqBraax - }; - gatheringRoot33.Steps = list368; - num = 3; - List list369 = new List(num); - CollectionsMarshal.SetCount(list369, num); - Span span138 = CollectionsMarshal.AsSpan(list369); - ref GatheringNodeGroup reference271 = ref span138[0]; - GatheringNodeGroup gatheringNodeGroup109 = new GatheringNodeGroup(); - num2 = 2; - List list370 = new List(num2); - CollectionsMarshal.SetCount(list370, num2); - Span span139 = CollectionsMarshal.AsSpan(list370); - ref GatheringNode reference272 = ref span139[0]; - GatheringNode obj163 = new GatheringNode - { - DataId = 34836u - }; - num3 = 2; - List list371 = new List(num3); - CollectionsMarshal.SetCount(list371, num3); - Span span140 = CollectionsMarshal.AsSpan(list371); - span140[0] = new GatheringLocation - { - Position = new Vector3(70.75072f, -156.9112f, -15.01749f), - MinimumAngle = 125, - MaximumAngle = 320 - }; - span140[1] = new GatheringLocation - { - Position = new Vector3(49.44211f, -157.3086f, -8.53495f), - MinimumAngle = 45, - MaximumAngle = 180 - }; - obj163.Locations = list371; - reference272 = obj163; - ref GatheringNode reference273 = ref span139[1]; - GatheringNode obj164 = new GatheringNode - { - DataId = 34835u - }; - num3 = 1; - List list372 = new List(num3); - CollectionsMarshal.SetCount(list372, num3); - CollectionsMarshal.AsSpan(list372)[0] = new GatheringLocation - { - Position = new Vector3(56.47234f, -157.5328f, -17.13855f), - MinimumAngle = 105, - MaximumAngle = 230 - }; - obj164.Locations = list372; - reference273 = obj164; - gatheringNodeGroup109.Nodes = list370; - reference271 = gatheringNodeGroup109; - ref GatheringNodeGroup reference274 = ref span138[1]; - GatheringNodeGroup gatheringNodeGroup110 = new GatheringNodeGroup(); - num2 = 2; - List list373 = new List(num2); - CollectionsMarshal.SetCount(list373, num2); - Span span141 = CollectionsMarshal.AsSpan(list373); - ref GatheringNode reference275 = ref span141[0]; - GatheringNode obj165 = new GatheringNode - { - DataId = 34838u - }; - num3 = 2; - List list374 = new List(num3); - CollectionsMarshal.SetCount(list374, num3); - Span span142 = CollectionsMarshal.AsSpan(list374); - span142[0] = new GatheringLocation - { - Position = new Vector3(-146.5889f, -142.4388f, 111.3271f), - MinimumAngle = 95, - MaximumAngle = 260 - }; - span142[1] = new GatheringLocation - { - Position = new Vector3(-132.7688f, -145.5672f, 122.179f), - MinimumAngle = 175, - MaximumAngle = 315, - MinimumDistance = 1.7f, - MaximumDistance = 3f - }; - obj165.Locations = list374; - reference275 = obj165; - ref GatheringNode reference276 = ref span141[1]; - GatheringNode obj166 = new GatheringNode - { - DataId = 34837u - }; - num3 = 1; - List list375 = new List(num3); - CollectionsMarshal.SetCount(list375, num3); - CollectionsMarshal.AsSpan(list375)[0] = new GatheringLocation - { - Position = new Vector3(-138.1429f, -143.8643f, 114.8867f), - MinimumAngle = 150, - MaximumAngle = 300 - }; - obj166.Locations = list375; - reference276 = obj166; - gatheringNodeGroup110.Nodes = list373; - reference274 = gatheringNodeGroup110; - ref GatheringNodeGroup reference277 = ref span138[2]; - GatheringNodeGroup gatheringNodeGroup111 = new GatheringNodeGroup(); - num2 = 2; - List list376 = new List(num2); - CollectionsMarshal.SetCount(list376, num2); - Span span143 = CollectionsMarshal.AsSpan(list376); - ref GatheringNode reference278 = ref span143[0]; - GatheringNode obj167 = new GatheringNode - { - DataId = 34833u - }; - num3 = 1; - List list377 = new List(num3); - CollectionsMarshal.SetCount(list377, num3); - CollectionsMarshal.AsSpan(list377)[0] = new GatheringLocation - { - Position = new Vector3(-33.75101f, -160.675f, -94.77893f), - MinimumAngle = -45, - MaximumAngle = 110 - }; - obj167.Locations = list377; - reference278 = obj167; - ref GatheringNode reference279 = ref span143[1]; - GatheringNode obj168 = new GatheringNode - { - DataId = 34834u - }; - num3 = 2; - List list378 = new List(num3); - CollectionsMarshal.SetCount(list378, num3); - Span span144 = CollectionsMarshal.AsSpan(list378); - span144[0] = new GatheringLocation - { - Position = new Vector3(-38.13882f, -159.4724f, -105.7621f), - MinimumAngle = 10, - MaximumAngle = 170 - }; - span144[1] = new GatheringLocation - { - Position = new Vector3(-22.27635f, -161.6958f, -92.39622f), - MinimumAngle = -80, - MaximumAngle = 60 - }; - obj168.Locations = list378; - reference279 = obj168; - gatheringNodeGroup111.Nodes = list376; - reference277 = gatheringNodeGroup111; - gatheringRoot33.Groups = list369; - AddLocation(988, gatheringRoot33); - GatheringRoot gatheringRoot34 = new GatheringRoot(); - num = 1; - List list379 = new List(num); - CollectionsMarshal.SetCount(list379, num); - CollectionsMarshal.AsSpan(list379)[0] = "liza"; - gatheringRoot34.Author = list379; - num = 1; - List list380 = new List(num); - CollectionsMarshal.SetCount(list380, num); - CollectionsMarshal.AsSpan(list380)[0] = new QuestStep(EInteractionType.None, null, null, 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWachunpelo - }; - gatheringRoot34.Steps = list380; - num = 3; - List list381 = new List(num); - CollectionsMarshal.SetCount(list381, num); - Span span145 = CollectionsMarshal.AsSpan(list381); - ref GatheringNodeGroup reference280 = ref span145[0]; - GatheringNodeGroup gatheringNodeGroup112 = new GatheringNodeGroup(); - num2 = 2; - List list382 = new List(num2); - CollectionsMarshal.SetCount(list382, num2); - Span span146 = CollectionsMarshal.AsSpan(list382); - ref GatheringNode reference281 = ref span146[0]; - GatheringNode obj169 = new GatheringNode - { - DataId = 34857u - }; - num3 = 1; - List list383 = new List(num3); - CollectionsMarshal.SetCount(list383, num3); - CollectionsMarshal.AsSpan(list383)[0] = new GatheringLocation - { - Position = new Vector3(-12.48859f, -133.2091f, -427.7497f) - }; - obj169.Locations = list383; - reference281 = obj169; - ref GatheringNode reference282 = ref span146[1]; - GatheringNode obj170 = new GatheringNode - { - DataId = 34858u - }; - num3 = 3; - List list384 = new List(num3); - CollectionsMarshal.SetCount(list384, num3); - Span span147 = CollectionsMarshal.AsSpan(list384); - span147[0] = new GatheringLocation - { - Position = new Vector3(-22.41956f, -129.3952f, -396.6573f) - }; - span147[1] = new GatheringLocation - { - Position = new Vector3(-16.08351f, -137.6674f, -464.35f), - MinimumAngle = -65, - MaximumAngle = 145 - }; - span147[2] = new GatheringLocation - { - Position = new Vector3(-9.000858f, -134.9256f, -439.0332f), - MinimumAngle = -125, - MaximumAngle = 105 - }; - obj170.Locations = list384; - reference282 = obj170; - gatheringNodeGroup112.Nodes = list382; - reference280 = gatheringNodeGroup112; - ref GatheringNodeGroup reference283 = ref span145[1]; - GatheringNodeGroup gatheringNodeGroup113 = new GatheringNodeGroup(); - num2 = 2; - List list385 = new List(num2); - CollectionsMarshal.SetCount(list385, num2); - Span span148 = CollectionsMarshal.AsSpan(list385); - ref GatheringNode reference284 = ref span148[0]; - GatheringNode obj171 = new GatheringNode - { - DataId = 34861u - }; - num3 = 1; - List list386 = new List(num3); - CollectionsMarshal.SetCount(list386, num3); - CollectionsMarshal.AsSpan(list386)[0] = new GatheringLocation - { - Position = new Vector3(-234.8222f, -99.01237f, -376.7287f), - MinimumAngle = -180, - MaximumAngle = 40 - }; - obj171.Locations = list386; - reference284 = obj171; - ref GatheringNode reference285 = ref span148[1]; - GatheringNode obj172 = new GatheringNode - { - DataId = 34862u - }; - num3 = 3; - List list387 = new List(num3); - CollectionsMarshal.SetCount(list387, num3); - Span span149 = CollectionsMarshal.AsSpan(list387); - span149[0] = new GatheringLocation - { - Position = new Vector3(-236.0182f, -97.50027f, -372.1523f), - MinimumAngle = -180, - MaximumAngle = 45 - }; - span149[1] = new GatheringLocation - { - Position = new Vector3(-249.7221f, -96.55618f, -386.2397f), - MinimumAngle = 35, - MaximumAngle = 280 - }; - span149[2] = new GatheringLocation - { - Position = new Vector3(-241.8424f, -99.37369f, -386.2889f), - MinimumAngle = -300, - MaximumAngle = -45 - }; - obj172.Locations = list387; - reference285 = obj172; - gatheringNodeGroup113.Nodes = list385; - reference283 = gatheringNodeGroup113; - ref GatheringNodeGroup reference286 = ref span145[2]; - GatheringNodeGroup gatheringNodeGroup114 = new GatheringNodeGroup(); - num2 = 2; - List list388 = new List(num2); - CollectionsMarshal.SetCount(list388, num2); - Span span150 = CollectionsMarshal.AsSpan(list388); - ref GatheringNode reference287 = ref span150[0]; - GatheringNode obj173 = new GatheringNode - { - DataId = 34860u - }; - num3 = 3; - List list389 = new List(num3); - CollectionsMarshal.SetCount(list389, num3); - Span span151 = CollectionsMarshal.AsSpan(list389); - span151[0] = new GatheringLocation - { - Position = new Vector3(-169.8177f, -85.61841f, -240.1007f) - }; - span151[1] = new GatheringLocation - { - Position = new Vector3(-116.6446f, -93.99508f, -274.6102f), - MinimumAngle = -140, - MaximumAngle = 150 - }; - span151[2] = new GatheringLocation - { - Position = new Vector3(-133.936f, -91.54122f, -273.3963f), - MinimumAngle = -155, - MaximumAngle = 85 - }; - obj173.Locations = list389; - reference287 = obj173; - ref GatheringNode reference288 = ref span150[1]; - GatheringNode obj174 = new GatheringNode - { - DataId = 34859u - }; - num3 = 1; - List list390 = new List(num3); - CollectionsMarshal.SetCount(list390, num3); - CollectionsMarshal.AsSpan(list390)[0] = new GatheringLocation - { - Position = new Vector3(-131.9198f, -89.88039f, -249.5422f) - }; - obj174.Locations = list390; - reference288 = obj174; - gatheringNodeGroup114.Nodes = list388; - reference286 = gatheringNodeGroup114; - gatheringRoot34.Groups = list381; - AddLocation(992, gatheringRoot34); - GatheringRoot gatheringRoot35 = new GatheringRoot(); - num = 1; - List list391 = new List(num); - CollectionsMarshal.SetCount(list391, num); - CollectionsMarshal.AsSpan(list391)[0] = "liza"; - gatheringRoot35.Author = list391; - num = 1; - List list392 = new List(num); - CollectionsMarshal.SetCount(list392, num); - CollectionsMarshal.AsSpan(list392)[0] = new QuestStep(EInteractionType.None, null, null, 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWachunpelo - }; - gatheringRoot35.Steps = list392; - num = 3; - List list393 = new List(num); - CollectionsMarshal.SetCount(list393, num); - Span span152 = CollectionsMarshal.AsSpan(list393); - ref GatheringNodeGroup reference289 = ref span152[0]; - GatheringNodeGroup gatheringNodeGroup115 = new GatheringNodeGroup(); - num2 = 2; - List list394 = new List(num2); - CollectionsMarshal.SetCount(list394, num2); - Span span153 = CollectionsMarshal.AsSpan(list394); - ref GatheringNode reference290 = ref span153[0]; - GatheringNode obj175 = new GatheringNode - { - DataId = 34866u - }; - num3 = 3; - List list395 = new List(num3); - CollectionsMarshal.SetCount(list395, num3); - Span span154 = CollectionsMarshal.AsSpan(list395); - span154[0] = new GatheringLocation - { - Position = new Vector3(242.7737f, -135.9734f, -431.2313f), - MinimumAngle = -55, - MaximumAngle = 100 - }; - span154[1] = new GatheringLocation - { - Position = new Vector3(302.1836f, -135.4149f, -359.7965f), - MinimumAngle = 5, - MaximumAngle = 155 - }; - span154[2] = new GatheringLocation - { - Position = new Vector3(256.1657f, -135.744f, -414.7577f) - }; - obj175.Locations = list395; - reference290 = obj175; - ref GatheringNode reference291 = ref span153[1]; - GatheringNode obj176 = new GatheringNode - { - DataId = 34865u - }; - num3 = 1; - List list396 = new List(num3); - CollectionsMarshal.SetCount(list396, num3); - CollectionsMarshal.AsSpan(list396)[0] = new GatheringLocation - { - Position = new Vector3(269.7338f, -134.0488f, -381.6242f), - MinimumAngle = -85, - MaximumAngle = 145 - }; - obj176.Locations = list396; - reference291 = obj176; - gatheringNodeGroup115.Nodes = list394; - reference289 = gatheringNodeGroup115; - ref GatheringNodeGroup reference292 = ref span152[1]; - GatheringNodeGroup gatheringNodeGroup116 = new GatheringNodeGroup(); - num2 = 2; - List list397 = new List(num2); - CollectionsMarshal.SetCount(list397, num2); - Span span155 = CollectionsMarshal.AsSpan(list397); - ref GatheringNode reference293 = ref span155[0]; - GatheringNode obj177 = new GatheringNode - { - DataId = 34868u - }; - num3 = 3; - List list398 = new List(num3); - CollectionsMarshal.SetCount(list398, num3); - Span span156 = CollectionsMarshal.AsSpan(list398); - span156[0] = new GatheringLocation - { - Position = new Vector3(389.1952f, -154.3099f, -368.3658f), - MinimumAngle = 105, - MaximumAngle = 345 - }; - span156[1] = new GatheringLocation - { - Position = new Vector3(401.9319f, -150.0004f, -408.114f), - MinimumAngle = -70, - MaximumAngle = 85 - }; - span156[2] = new GatheringLocation - { - Position = new Vector3(406.1098f, -152.2166f, -364.7227f), - MinimumAngle = -210, - MaximumAngle = 35 - }; - obj177.Locations = list398; - reference293 = obj177; - ref GatheringNode reference294 = ref span155[1]; - GatheringNode obj178 = new GatheringNode - { - DataId = 34867u - }; - num3 = 1; - List list399 = new List(num3); - CollectionsMarshal.SetCount(list399, num3); - CollectionsMarshal.AsSpan(list399)[0] = new GatheringLocation - { - Position = new Vector3(399.1297f, -152.1141f, -394.71f), - MinimumAngle = 120, - MaximumAngle = 330 - }; - obj178.Locations = list399; - reference294 = obj178; - gatheringNodeGroup116.Nodes = list397; - reference292 = gatheringNodeGroup116; - ref GatheringNodeGroup reference295 = ref span152[2]; - GatheringNodeGroup gatheringNodeGroup117 = new GatheringNodeGroup(); - num2 = 2; - List list400 = new List(num2); - CollectionsMarshal.SetCount(list400, num2); - Span span157 = CollectionsMarshal.AsSpan(list400); - ref GatheringNode reference296 = ref span157[0]; - GatheringNode obj179 = new GatheringNode - { - DataId = 34864u - }; - num3 = 3; - List list401 = new List(num3); - CollectionsMarshal.SetCount(list401, num3); - Span span158 = CollectionsMarshal.AsSpan(list401); - span158[0] = new GatheringLocation - { - Position = new Vector3(359.517f, -161.1972f, -644.0471f) - }; - span158[1] = new GatheringLocation - { - Position = new Vector3(307.4235f, -159.1669f, -622.6444f) - }; - span158[2] = new GatheringLocation - { - Position = new Vector3(348.5925f, -165.3805f, -671.4193f) - }; - obj179.Locations = list401; - reference296 = obj179; - ref GatheringNode reference297 = ref span157[1]; - GatheringNode obj180 = new GatheringNode - { - DataId = 34863u - }; - num3 = 1; - List list402 = new List(num3); - CollectionsMarshal.SetCount(list402, num3); - CollectionsMarshal.AsSpan(list402)[0] = new GatheringLocation - { - Position = new Vector3(323.8758f, -162.9682f, -648.8156f) - }; - obj180.Locations = list402; - reference297 = obj180; - gatheringNodeGroup117.Nodes = list400; - reference295 = gatheringNodeGroup117; - gatheringRoot35.Groups = list393; - AddLocation(993, gatheringRoot35); - GatheringRoot gatheringRoot36 = new GatheringRoot(); - num = 1; - List list403 = new List(num); - CollectionsMarshal.SetCount(list403, num); - CollectionsMarshal.AsSpan(list403)[0] = "liza"; - gatheringRoot36.Author = list403; - num = 1; - List list404 = new List(num); - CollectionsMarshal.SetCount(list404, num); - CollectionsMarshal.AsSpan(list404)[0] = new QuestStep(EInteractionType.None, null, null, 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho - }; - gatheringRoot36.Steps = list404; - num = 3; - List list405 = new List(num); - CollectionsMarshal.SetCount(list405, num); - Span span159 = CollectionsMarshal.AsSpan(list405); - ref GatheringNodeGroup reference298 = ref span159[0]; - GatheringNodeGroup gatheringNodeGroup118 = new GatheringNodeGroup(); - num2 = 2; - List list406 = new List(num2); - CollectionsMarshal.SetCount(list406, num2); - Span span160 = CollectionsMarshal.AsSpan(list406); - ref GatheringNode reference299 = ref span160[0]; - GatheringNode obj181 = new GatheringNode - { - DataId = 34869u - }; - num3 = 1; - List list407 = new List(num3); - CollectionsMarshal.SetCount(list407, num3); - CollectionsMarshal.AsSpan(list407)[0] = new GatheringLocation - { - Position = new Vector3(-604.6953f, 59.64062f, 5.50073f) - }; - obj181.Locations = list407; - reference299 = obj181; - ref GatheringNode reference300 = ref span160[1]; - GatheringNode obj182 = new GatheringNode - { - DataId = 34870u - }; - num3 = 3; - List list408 = new List(num3); - CollectionsMarshal.SetCount(list408, num3); - Span span161 = CollectionsMarshal.AsSpan(list408); - span161[0] = new GatheringLocation - { - Position = new Vector3(-618.7993f, 59.13951f, 17.80936f) - }; - span161[1] = new GatheringLocation - { - Position = new Vector3(-615.0759f, 59.08474f, -4.837158f), - MinimumAngle = 115, - MaximumAngle = 325 - }; - span161[2] = new GatheringLocation - { - Position = new Vector3(-593.0486f, 60.01728f, 15.20686f) - }; - obj182.Locations = list408; - reference300 = obj182; - gatheringNodeGroup118.Nodes = list406; - reference298 = gatheringNodeGroup118; - ref GatheringNodeGroup reference301 = ref span159[1]; - GatheringNodeGroup gatheringNodeGroup119 = new GatheringNodeGroup(); - num2 = 2; - List list409 = new List(num2); - CollectionsMarshal.SetCount(list409, num2); - Span span162 = CollectionsMarshal.AsSpan(list409); - ref GatheringNode reference302 = ref span162[0]; - GatheringNode obj183 = new GatheringNode - { - DataId = 34872u - }; - num3 = 3; - List list410 = new List(num3); - CollectionsMarshal.SetCount(list410, num3); - Span span163 = CollectionsMarshal.AsSpan(list410); - span163[0] = new GatheringLocation - { - Position = new Vector3(-812.0394f, 55.42165f, 118.3947f) - }; - span163[1] = new GatheringLocation - { - Position = new Vector3(-821.9205f, 56.51463f, 121.8448f) - }; - span163[2] = new GatheringLocation - { - Position = new Vector3(-837.9932f, 57.59847f, 104.7306f), - MinimumAngle = -100, - MaximumAngle = 90 - }; - obj183.Locations = list410; - reference302 = obj183; - ref GatheringNode reference303 = ref span162[1]; - GatheringNode obj184 = new GatheringNode - { - DataId = 34871u - }; - num3 = 1; - List list411 = new List(num3); - CollectionsMarshal.SetCount(list411, num3); - CollectionsMarshal.AsSpan(list411)[0] = new GatheringLocation - { - Position = new Vector3(-818.8149f, 55.11676f, 112.5509f) - }; - obj184.Locations = list411; - reference303 = obj184; - gatheringNodeGroup119.Nodes = list409; - reference301 = gatheringNodeGroup119; - ref GatheringNodeGroup reference304 = ref span159[2]; - GatheringNodeGroup gatheringNodeGroup120 = new GatheringNodeGroup(); - num2 = 2; - List list412 = new List(num2); - CollectionsMarshal.SetCount(list412, num2); - Span span164 = CollectionsMarshal.AsSpan(list412); - ref GatheringNode reference305 = ref span164[0]; - GatheringNode obj185 = new GatheringNode - { - DataId = 34874u - }; - num3 = 3; - List list413 = new List(num3); - CollectionsMarshal.SetCount(list413, num3); - Span span165 = CollectionsMarshal.AsSpan(list413); - span165[0] = new GatheringLocation - { - Position = new Vector3(-672.2305f, 76.87632f, 257.5817f), - MinimumAngle = 85, - MaximumAngle = 265 - }; - span165[1] = new GatheringLocation - { - Position = new Vector3(-625.6287f, 71.04436f, 234.6465f), - MinimumAngle = -95, - MaximumAngle = 140 - }; - span165[2] = new GatheringLocation - { - Position = new Vector3(-635.3436f, 74.07207f, 244.9178f) - }; - obj185.Locations = list413; - reference305 = obj185; - ref GatheringNode reference306 = ref span164[1]; - GatheringNode obj186 = new GatheringNode - { - DataId = 34873u - }; - num3 = 1; - List list414 = new List(num3); - CollectionsMarshal.SetCount(list414, num3); - CollectionsMarshal.AsSpan(list414)[0] = new GatheringLocation - { - Position = new Vector3(-654.1213f, 74.65144f, 254.1959f) - }; - obj186.Locations = list414; - reference306 = obj186; - gatheringNodeGroup120.Nodes = list412; - reference304 = gatheringNodeGroup120; - gatheringRoot36.Groups = list405; - AddLocation(994, gatheringRoot36); - GatheringRoot gatheringRoot37 = new GatheringRoot(); - num = 1; - List list415 = new List(num); - CollectionsMarshal.SetCount(list415, num); - CollectionsMarshal.AsSpan(list415)[0] = "liza"; - gatheringRoot37.Author = list415; - num = 1; - List list416 = new List(num); - CollectionsMarshal.SetCount(list416, num); - CollectionsMarshal.AsSpan(list416)[0] = new QuestStep(EInteractionType.None, null, null, 1190) - { - AetheryteShortcut = EAetheryteLocation.ShaaloaniHhusatahwi - }; - gatheringRoot37.Steps = list416; - num = 3; - List list417 = new List(num); - CollectionsMarshal.SetCount(list417, num); - Span span166 = CollectionsMarshal.AsSpan(list417); - ref GatheringNodeGroup reference307 = ref span166[0]; - GatheringNodeGroup gatheringNodeGroup121 = new GatheringNodeGroup(); - num2 = 2; - List list418 = new List(num2); - CollectionsMarshal.SetCount(list418, num2); - Span span167 = CollectionsMarshal.AsSpan(list418); - ref GatheringNode reference308 = ref span167[0]; - GatheringNode obj187 = new GatheringNode - { - DataId = 34901u - }; - num3 = 1; - List list419 = new List(num3); - CollectionsMarshal.SetCount(list419, num3); - CollectionsMarshal.AsSpan(list419)[0] = new GatheringLocation - { - Position = new Vector3(343.0447f, 0.1167868f, 146.4354f) - }; - obj187.Locations = list419; - reference308 = obj187; - ref GatheringNode reference309 = ref span167[1]; - GatheringNode obj188 = new GatheringNode - { - DataId = 34902u - }; - num3 = 3; - List list420 = new List(num3); - CollectionsMarshal.SetCount(list420, num3); - Span span168 = CollectionsMarshal.AsSpan(list420); - span168[0] = new GatheringLocation - { - Position = new Vector3(350.1042f, -2.02238f, 133.0248f) - }; - span168[1] = new GatheringLocation - { - Position = new Vector3(349.9641f, 2.9944f, 166.7519f) - }; - span168[2] = new GatheringLocation - { - Position = new Vector3(358.951f, 1.226612f, 152.3553f) - }; - obj188.Locations = list420; - reference309 = obj188; - gatheringNodeGroup121.Nodes = list418; - reference307 = gatheringNodeGroup121; - ref GatheringNodeGroup reference310 = ref span166[1]; - GatheringNodeGroup gatheringNodeGroup122 = new GatheringNodeGroup(); - num2 = 2; - List list421 = new List(num2); - CollectionsMarshal.SetCount(list421, num2); - Span span169 = CollectionsMarshal.AsSpan(list421); - ref GatheringNode reference311 = ref span169[0]; - GatheringNode obj189 = new GatheringNode - { - DataId = 34903u - }; - num3 = 1; - List list422 = new List(num3); - CollectionsMarshal.SetCount(list422, num3); - CollectionsMarshal.AsSpan(list422)[0] = new GatheringLocation - { - Position = new Vector3(530.04f, 6.585761f, 243.3026f) - }; - obj189.Locations = list422; - reference311 = obj189; - ref GatheringNode reference312 = ref span169[1]; - GatheringNode obj190 = new GatheringNode - { - DataId = 34904u - }; - num3 = 3; - List list423 = new List(num3); - CollectionsMarshal.SetCount(list423, num3); - Span span170 = CollectionsMarshal.AsSpan(list423); - span170[0] = new GatheringLocation - { - Position = new Vector3(534.63f, 7.40439f, 261.0851f) - }; - span170[1] = new GatheringLocation - { - Position = new Vector3(537.3219f, 6.59951f, 234.4762f) - }; - span170[2] = new GatheringLocation - { - Position = new Vector3(510.6736f, 5.43621f, 247.2418f), - MinimumAngle = -135, - MaximumAngle = 60 - }; - obj190.Locations = list423; - reference312 = obj190; - gatheringNodeGroup122.Nodes = list421; - reference310 = gatheringNodeGroup122; - ref GatheringNodeGroup reference313 = ref span166[2]; - GatheringNodeGroup gatheringNodeGroup123 = new GatheringNodeGroup(); - num2 = 2; - List list424 = new List(num2); - CollectionsMarshal.SetCount(list424, num2); - Span span171 = CollectionsMarshal.AsSpan(list424); - ref GatheringNode reference314 = ref span171[0]; - GatheringNode obj191 = new GatheringNode - { - DataId = 34900u - }; - num3 = 3; - List list425 = new List(num3); - CollectionsMarshal.SetCount(list425, num3); - Span span172 = CollectionsMarshal.AsSpan(list425); - span172[0] = new GatheringLocation - { - Position = new Vector3(571.4374f, 5.934396f, 93.85439f) - }; - span172[1] = new GatheringLocation - { - Position = new Vector3(580.9511f, 4.927295f, 64.64209f) - }; - span172[2] = new GatheringLocation - { - Position = new Vector3(595.0986f, 9.620093f, 81.96783f) - }; - obj191.Locations = list425; - reference314 = obj191; - ref GatheringNode reference315 = ref span171[1]; - GatheringNode obj192 = new GatheringNode - { - DataId = 34899u - }; - num3 = 1; - List list426 = new List(num3); - CollectionsMarshal.SetCount(list426, num3); - CollectionsMarshal.AsSpan(list426)[0] = new GatheringLocation - { - Position = new Vector3(578.6227f, 5.976591f, 76.53668f) - }; - obj192.Locations = list426; - reference315 = obj192; - gatheringNodeGroup123.Nodes = list424; - reference313 = gatheringNodeGroup123; - gatheringRoot37.Groups = list417; - AddLocation(999, gatheringRoot37); - } - - private static void LoadLocation10() - { - GatheringRoot gatheringRoot = new GatheringRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - gatheringRoot.Author = list; - num = 1; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - CollectionsMarshal.AsSpan(list2)[0] = new QuestStep(EInteractionType.None, null, null, 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelIqBraax - }; - gatheringRoot.Steps = list2; - num = 3; - List list3 = new List(num); - CollectionsMarshal.SetCount(list3, num); - Span span = CollectionsMarshal.AsSpan(list3); - ref GatheringNodeGroup reference = ref span[0]; - GatheringNodeGroup gatheringNodeGroup = new GatheringNodeGroup(); - int num2 = 2; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - ref GatheringNode reference2 = ref span2[0]; - GatheringNode obj = new GatheringNode - { - DataId = 34906u - }; - int num3 = 3; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - Span span3 = CollectionsMarshal.AsSpan(list5); - span3[0] = new GatheringLocation - { - Position = new Vector3(236.4964f, -5.339633f, -346.5587f) - }; - span3[1] = new GatheringLocation - { - Position = new Vector3(252.2469f, -4.50562f, -352.3626f) - }; - span3[2] = new GatheringLocation - { - Position = new Vector3(270.0348f, 4.734006f, -370.3f), - MinimumAngle = -5, - MaximumAngle = 160 - }; - obj.Locations = list5; - reference2 = obj; - ref GatheringNode reference3 = ref span2[1]; - GatheringNode obj2 = new GatheringNode - { - DataId = 34905u - }; - num3 = 1; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - CollectionsMarshal.AsSpan(list6)[0] = new GatheringLocation - { - Position = new Vector3(291.2657f, 16.76923f, -372.8286f) - }; - obj2.Locations = list6; - reference3 = obj2; - gatheringNodeGroup.Nodes = list4; - reference = gatheringNodeGroup; - ref GatheringNodeGroup reference4 = ref span[1]; - GatheringNodeGroup gatheringNodeGroup2 = new GatheringNodeGroup(); - num2 = 2; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - Span span4 = CollectionsMarshal.AsSpan(list7); - ref GatheringNode reference5 = ref span4[0]; - GatheringNode obj3 = new GatheringNode - { - DataId = 34909u - }; - num3 = 1; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - CollectionsMarshal.AsSpan(list8)[0] = new GatheringLocation - { - Position = new Vector3(452.2735f, 19.0634f, -350.683f), - MinimumAngle = -55, - MaximumAngle = 215 - }; - obj3.Locations = list8; - reference5 = obj3; - ref GatheringNode reference6 = ref span4[1]; - GatheringNode obj4 = new GatheringNode - { - DataId = 34910u - }; - num3 = 3; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - Span span5 = CollectionsMarshal.AsSpan(list9); - span5[0] = new GatheringLocation - { - Position = new Vector3(451.7433f, 18.42068f, -333.2723f) - }; - span5[1] = new GatheringLocation - { - Position = new Vector3(425.1651f, 19.24389f, -388.6381f) - }; - span5[2] = new GatheringLocation - { - Position = new Vector3(425.4706f, 18.96692f, -371.645f), - MinimumAngle = -190, - MaximumAngle = 50 - }; - obj4.Locations = list9; - reference6 = obj4; - gatheringNodeGroup2.Nodes = list7; - reference4 = gatheringNodeGroup2; - ref GatheringNodeGroup reference7 = ref span[2]; - GatheringNodeGroup gatheringNodeGroup3 = new GatheringNodeGroup(); - num2 = 2; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span6 = CollectionsMarshal.AsSpan(list10); - ref GatheringNode reference8 = ref span6[0]; - GatheringNode obj5 = new GatheringNode - { - DataId = 34908u - }; - num3 = 3; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - Span span7 = CollectionsMarshal.AsSpan(list11); - span7[0] = new GatheringLocation - { - Position = new Vector3(268.0552f, -4.003453f, -173.8766f) - }; - span7[1] = new GatheringLocation - { - Position = new Vector3(244.3824f, -8.541841f, -212.8872f) - }; - span7[2] = new GatheringLocation - { - Position = new Vector3(236.6972f, -13.99463f, -189.6181f) - }; - obj5.Locations = list11; - reference8 = obj5; - ref GatheringNode reference9 = ref span6[1]; - GatheringNode obj6 = new GatheringNode - { - DataId = 34907u - }; - num3 = 1; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - CollectionsMarshal.AsSpan(list12)[0] = new GatheringLocation - { - Position = new Vector3(269.0605f, -6.302063f, -193.4243f) - }; - obj6.Locations = list12; - reference9 = obj6; - gatheringNodeGroup3.Nodes = list10; - reference7 = gatheringNodeGroup3; - gatheringRoot.Groups = list3; - AddLocation(1000, gatheringRoot); - GatheringRoot gatheringRoot2 = new GatheringRoot(); - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = "liza"; - gatheringRoot2.Author = list13; - num = 3; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - Span span8 = CollectionsMarshal.AsSpan(list14); - span8[0] = new QuestStep(EInteractionType.Dive, null, new Vector3(417.1447f, -0.6f, -647.60004f), 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelIqBraax, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span8[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(417.1447f, 3f, -647.60004f), 1189) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span8[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(419.8578f, -32.6974f, -653.75275f), 1189) - { - DisableNavmesh = true, - Fly = true - }; - gatheringRoot2.Steps = list14; - num = 3; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - Span span9 = CollectionsMarshal.AsSpan(list15); - ref GatheringNodeGroup reference10 = ref span9[0]; - GatheringNodeGroup gatheringNodeGroup4 = new GatheringNodeGroup(); - num2 = 2; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - Span span10 = CollectionsMarshal.AsSpan(list16); - ref GatheringNode reference11 = ref span10[0]; - GatheringNode obj7 = new GatheringNode - { - DataId = 34912u - }; - num3 = 3; - List list17 = new List(num3); - CollectionsMarshal.SetCount(list17, num3); - Span span11 = CollectionsMarshal.AsSpan(list17); - span11[0] = new GatheringLocation - { - Position = new Vector3(458.8916f, -51.02777f, -689.8627f) - }; - span11[1] = new GatheringLocation - { - Position = new Vector3(430.228f, -56.21914f, -693.9346f) - }; - span11[2] = new GatheringLocation - { - Position = new Vector3(462.8787f, -58.29268f, -704.244f) - }; - obj7.Locations = list17; - reference11 = obj7; - ref GatheringNode reference12 = ref span10[1]; - GatheringNode obj8 = new GatheringNode - { - DataId = 34911u - }; - num3 = 1; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - CollectionsMarshal.AsSpan(list18)[0] = new GatheringLocation - { - Position = new Vector3(448.169f, -53.1458f, -696.1208f) - }; - obj8.Locations = list18; - reference12 = obj8; - gatheringNodeGroup4.Nodes = list16; - reference10 = gatheringNodeGroup4; - ref GatheringNodeGroup reference13 = ref span9[1]; - GatheringNodeGroup gatheringNodeGroup5 = new GatheringNodeGroup(); - num2 = 2; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - Span span12 = CollectionsMarshal.AsSpan(list19); - ref GatheringNode reference14 = ref span12[0]; - GatheringNode obj9 = new GatheringNode - { - DataId = 34914u - }; - num3 = 3; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - Span span13 = CollectionsMarshal.AsSpan(list20); - span13[0] = new GatheringLocation - { - Position = new Vector3(453.7438f, -59.20442f, -884.0787f) - }; - span13[1] = new GatheringLocation - { - Position = new Vector3(399.0516f, -48.41589f, -900.1575f) - }; - span13[2] = new GatheringLocation - { - Position = new Vector3(470.4918f, -54.81378f, -912.1257f) - }; - obj9.Locations = list20; - reference14 = obj9; - ref GatheringNode reference15 = ref span12[1]; - GatheringNode obj10 = new GatheringNode - { - DataId = 34913u - }; - num3 = 1; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - CollectionsMarshal.AsSpan(list21)[0] = new GatheringLocation - { - Position = new Vector3(433.2036f, -56.63199f, -898.0532f) - }; - obj10.Locations = list21; - reference15 = obj10; - gatheringNodeGroup5.Nodes = list19; - reference13 = gatheringNodeGroup5; - ref GatheringNodeGroup reference16 = ref span9[2]; - GatheringNodeGroup gatheringNodeGroup6 = new GatheringNodeGroup(); - num2 = 2; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - Span span14 = CollectionsMarshal.AsSpan(list22); - ref GatheringNode reference17 = ref span14[0]; - GatheringNode obj11 = new GatheringNode - { - DataId = 34915u - }; - num3 = 1; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - CollectionsMarshal.AsSpan(list23)[0] = new GatheringLocation - { - Position = new Vector3(263.8979f, -44.71192f, -873.9875f) - }; - obj11.Locations = list23; - reference17 = obj11; - ref GatheringNode reference18 = ref span14[1]; - GatheringNode obj12 = new GatheringNode - { - DataId = 34916u - }; - num3 = 3; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - Span span15 = CollectionsMarshal.AsSpan(list24); - span15[0] = new GatheringLocation - { - Position = new Vector3(287.7073f, -43.04572f, -886.5245f) - }; - span15[1] = new GatheringLocation - { - Position = new Vector3(266.3744f, -47.55014f, -846.1501f) - }; - span15[2] = new GatheringLocation - { - Position = new Vector3(259.2106f, -44.82758f, -817.9664f) - }; - obj12.Locations = list24; - reference18 = obj12; - gatheringNodeGroup6.Nodes = list22; - reference16 = gatheringNodeGroup6; - gatheringRoot2.Groups = list15; - AddLocation(1001, gatheringRoot2); - GatheringRoot gatheringRoot3 = new GatheringRoot(); - num = 1; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - CollectionsMarshal.AsSpan(list25)[0] = "liza"; - gatheringRoot3.Author = list25; - num = 1; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.None, null, null, 1190); - gatheringRoot3.Steps = list26; - num = 3; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - Span span16 = CollectionsMarshal.AsSpan(list27); - ref GatheringNodeGroup reference19 = ref span16[0]; - GatheringNodeGroup gatheringNodeGroup7 = new GatheringNodeGroup(); - num2 = 2; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - Span span17 = CollectionsMarshal.AsSpan(list28); - ref GatheringNode reference20 = ref span17[0]; - GatheringNode obj13 = new GatheringNode - { - DataId = 34920u - }; - num3 = 3; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - Span span18 = CollectionsMarshal.AsSpan(list29); - span18[0] = new GatheringLocation - { - Position = new Vector3(192.6021f, 12.31054f, 631.2545f) - }; - span18[1] = new GatheringLocation - { - Position = new Vector3(194.8373f, 12.50387f, 646.5401f) - }; - span18[2] = new GatheringLocation - { - Position = new Vector3(180.8447f, 12.43262f, 610.7131f) - }; - obj13.Locations = list29; - reference20 = obj13; - ref GatheringNode reference21 = ref span17[1]; - GatheringNode obj14 = new GatheringNode - { - DataId = 34919u - }; - num3 = 1; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - CollectionsMarshal.AsSpan(list30)[0] = new GatheringLocation - { - Position = new Vector3(186.171f, 12.54104f, 634.9042f) - }; - obj14.Locations = list30; - reference21 = obj14; - gatheringNodeGroup7.Nodes = list28; - reference19 = gatheringNodeGroup7; - ref GatheringNodeGroup reference22 = ref span16[1]; - GatheringNodeGroup gatheringNodeGroup8 = new GatheringNodeGroup(); - num2 = 2; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - Span span19 = CollectionsMarshal.AsSpan(list31); - ref GatheringNode reference23 = ref span19[0]; - GatheringNode obj15 = new GatheringNode - { - DataId = 34917u - }; - num3 = 1; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - CollectionsMarshal.AsSpan(list32)[0] = new GatheringLocation - { - Position = new Vector3(39.45634f, -0.06042051f, 502.3853f) - }; - obj15.Locations = list32; - reference23 = obj15; - ref GatheringNode reference24 = ref span19[1]; - GatheringNode obj16 = new GatheringNode - { - DataId = 34918u - }; - num3 = 3; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - Span span20 = CollectionsMarshal.AsSpan(list33); - span20[0] = new GatheringLocation - { - Position = new Vector3(46.03248f, -0.7049216f, 491.6059f) - }; - span20[1] = new GatheringLocation - { - Position = new Vector3(36.15481f, -0.0501074f, 505.9388f) - }; - span20[2] = new GatheringLocation - { - Position = new Vector3(24.72226f, 0.5922582f, 528.0809f) - }; - obj16.Locations = list33; - reference24 = obj16; - gatheringNodeGroup8.Nodes = list31; - reference22 = gatheringNodeGroup8; - ref GatheringNodeGroup reference25 = ref span16[2]; - GatheringNodeGroup gatheringNodeGroup9 = new GatheringNodeGroup(); - num2 = 2; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - Span span21 = CollectionsMarshal.AsSpan(list34); - ref GatheringNode reference26 = ref span21[0]; - GatheringNode obj17 = new GatheringNode - { - DataId = 34922u - }; - num3 = 3; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - Span span22 = CollectionsMarshal.AsSpan(list35); - span22[0] = new GatheringLocation - { - Position = new Vector3(2.302937f, -4.586716f, 687.4797f) - }; - span22[1] = new GatheringLocation - { - Position = new Vector3(30.02284f, -2.447479f, 704.4326f) - }; - span22[2] = new GatheringLocation - { - Position = new Vector3(41.59287f, -0.8454803f, 692.0099f) - }; - obj17.Locations = list35; - reference26 = obj17; - ref GatheringNode reference27 = ref span21[1]; - GatheringNode obj18 = new GatheringNode - { - DataId = 34921u - }; - num3 = 1; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - CollectionsMarshal.AsSpan(list36)[0] = new GatheringLocation - { - Position = new Vector3(18.47237f, -2.987581f, 690.8011f) - }; - obj18.Locations = list36; - reference27 = obj18; - gatheringNodeGroup9.Nodes = list34; - reference25 = gatheringNodeGroup9; - gatheringRoot3.Groups = list27; - AddLocation(1002, gatheringRoot3); - } - - private static void LoadLocation11() - { - GatheringRoot gatheringRoot = new GatheringRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - gatheringRoot.Author = list; - num = 1; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - CollectionsMarshal.AsSpan(list2)[0] = new QuestStep(EInteractionType.None, null, null, 1189); - gatheringRoot.Steps = list2; - num = 3; - List list3 = new List(num); - CollectionsMarshal.SetCount(list3, num); - 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); - ref GatheringNode reference2 = ref CollectionsMarshal.AsSpan(list4)[0]; - GatheringNode obj = new GatheringNode - { - DataId = 35244u - }; - int num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = new GatheringLocation - { - Position = new Vector3(89.145f, -188.3096f, 261.9594f), - MinimumAngle = -160, - MaximumAngle = -65 - }; - obj.Locations = list5; - reference2 = obj; - gatheringNodeGroup.Nodes = list4; - reference = gatheringNodeGroup; - ref GatheringNodeGroup reference3 = ref span[1]; - GatheringNodeGroup gatheringNodeGroup2 = new GatheringNodeGroup(); - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - ref GatheringNode reference4 = ref CollectionsMarshal.AsSpan(list6)[0]; - GatheringNode obj2 = new GatheringNode - { - DataId = 35243u - }; - num3 = 1; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - CollectionsMarshal.AsSpan(list7)[0] = new GatheringLocation - { - Position = new Vector3(86.21152f, -188.234f, 255.0701f), - MinimumAngle = -190, - MaximumAngle = -65 - }; - obj2.Locations = list7; - reference4 = obj2; - gatheringNodeGroup2.Nodes = list6; - reference3 = gatheringNodeGroup2; - ref GatheringNodeGroup reference5 = ref span[2]; - GatheringNodeGroup gatheringNodeGroup3 = new GatheringNodeGroup(); - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - ref GatheringNode reference6 = ref CollectionsMarshal.AsSpan(list8)[0]; - GatheringNode obj3 = new GatheringNode - { - DataId = 35245u - }; - num3 = 1; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - CollectionsMarshal.AsSpan(list9)[0] = new GatheringLocation - { - Position = new Vector3(81.46383f, -187.1622f, 251.1194f), - MinimumAngle = -185, - MaximumAngle = -70 - }; - obj3.Locations = list9; - reference6 = obj3; - gatheringNodeGroup3.Nodes = list8; - reference5 = gatheringNodeGroup3; - gatheringRoot.Groups = list3; - AddLocation(1194, gatheringRoot); - GatheringRoot gatheringRoot2 = new GatheringRoot(); - num = 1; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - CollectionsMarshal.AsSpan(list10)[0] = "Theo"; - gatheringRoot2.Author = list10; - num = 1; - List list11 = new List(num); - CollectionsMarshal.SetCount(list11, num); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.None, null, null, 1189); - gatheringRoot2.Steps = list11; - num = 3; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - Span span2 = CollectionsMarshal.AsSpan(list12); - ref GatheringNodeGroup reference7 = ref span2[0]; - GatheringNodeGroup gatheringNodeGroup4 = new GatheringNodeGroup(); - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - ref GatheringNode reference8 = ref CollectionsMarshal.AsSpan(list13)[0]; - GatheringNode obj4 = new GatheringNode - { - DataId = 35246u - }; - num3 = 1; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - CollectionsMarshal.AsSpan(list14)[0] = new GatheringLocation - { - Position = new Vector3(-664.2164f, -174.1682f, 370.6607f), - MinimumAngle = -230, - MaximumAngle = -50 - }; - obj4.Locations = list14; - reference8 = obj4; - gatheringNodeGroup4.Nodes = list13; - reference7 = gatheringNodeGroup4; - ref GatheringNodeGroup reference9 = ref span2[1]; - GatheringNodeGroup gatheringNodeGroup5 = new GatheringNodeGroup(); - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - ref GatheringNode reference10 = ref CollectionsMarshal.AsSpan(list15)[0]; - GatheringNode obj5 = new GatheringNode - { - DataId = 35247u - }; - num3 = 1; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - CollectionsMarshal.AsSpan(list16)[0] = new GatheringLocation - { - Position = new Vector3(-646.3196f, -171.4666f, 393.6898f), - MinimumAngle = 30, - MaximumAngle = 225 - }; - obj5.Locations = list16; - reference10 = obj5; - gatheringNodeGroup5.Nodes = list15; - reference9 = gatheringNodeGroup5; - ref GatheringNodeGroup reference11 = ref span2[2]; - GatheringNodeGroup gatheringNodeGroup6 = new GatheringNodeGroup(); - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - ref GatheringNode reference12 = ref CollectionsMarshal.AsSpan(list17)[0]; - GatheringNode obj6 = new GatheringNode - { - DataId = 35248u - }; - num3 = 1; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - CollectionsMarshal.AsSpan(list18)[0] = new GatheringLocation - { - Position = new Vector3(-669.3735f, -177.0724f, 354.7159f), - MinimumAngle = -225, - MaximumAngle = -15 - }; - obj6.Locations = list18; - reference12 = obj6; - gatheringNodeGroup6.Nodes = list17; - reference11 = gatheringNodeGroup6; - gatheringRoot2.Groups = list12; - AddLocation(1195, gatheringRoot2); - GatheringRoot gatheringRoot3 = new GatheringRoot(); - num = 1; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - CollectionsMarshal.AsSpan(list19)[0] = "liza"; - gatheringRoot3.Author = list19; - num = 1; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.None, null, null, 1189); - gatheringRoot3.Steps = list20; - num = 3; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - Span span3 = CollectionsMarshal.AsSpan(list21); - ref GatheringNodeGroup reference13 = ref span3[0]; - GatheringNodeGroup gatheringNodeGroup7 = new GatheringNodeGroup(); - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - ref GatheringNode reference14 = ref CollectionsMarshal.AsSpan(list22)[0]; - GatheringNode obj7 = new GatheringNode - { - DataId = 35251u - }; - num3 = 1; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - CollectionsMarshal.AsSpan(list23)[0] = new GatheringLocation - { - Position = new Vector3(-120.962f, -214.1182f, 349.0067f), - MinimumAngle = -65, - MaximumAngle = 115 - }; - obj7.Locations = list23; - reference14 = obj7; - gatheringNodeGroup7.Nodes = list22; - reference13 = gatheringNodeGroup7; - ref GatheringNodeGroup reference15 = ref span3[1]; - GatheringNodeGroup gatheringNodeGroup8 = new GatheringNodeGroup(); - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - ref GatheringNode reference16 = ref CollectionsMarshal.AsSpan(list24)[0]; - GatheringNode obj8 = new GatheringNode - { - DataId = 35249u - }; - num3 = 1; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - CollectionsMarshal.AsSpan(list25)[0] = new GatheringLocation - { - Position = new Vector3(-151.3246f, -213.9648f, 361.8845f), - MinimumAngle = 145, - MaximumAngle = 280 - }; - obj8.Locations = list25; - reference16 = obj8; - gatheringNodeGroup8.Nodes = list24; - reference15 = gatheringNodeGroup8; - ref GatheringNodeGroup reference17 = ref span3[2]; - GatheringNodeGroup gatheringNodeGroup9 = new GatheringNodeGroup(); - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - ref GatheringNode reference18 = ref CollectionsMarshal.AsSpan(list26)[0]; - GatheringNode obj9 = new GatheringNode - { - DataId = 35250u - }; - num3 = 1; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - CollectionsMarshal.AsSpan(list27)[0] = new GatheringLocation - { - Position = new Vector3(-164.6348f, -214.1782f, 337.2287f), - MinimumAngle = -135, - MaximumAngle = 20 - }; - obj9.Locations = list27; - reference18 = obj9; - gatheringNodeGroup9.Nodes = list26; - reference17 = gatheringNodeGroup9; - gatheringRoot3.Groups = list21; - AddLocation(1196, gatheringRoot3); - GatheringRoot gatheringRoot4 = new GatheringRoot(); - num = 1; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - CollectionsMarshal.AsSpan(list28)[0] = "liza"; - gatheringRoot4.Author = list28; - num = 1; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.None, null, null, 1189); - gatheringRoot4.Steps = list29; - num = 3; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - Span span4 = CollectionsMarshal.AsSpan(list30); - ref GatheringNodeGroup reference19 = ref span4[0]; - GatheringNodeGroup gatheringNodeGroup10 = new GatheringNodeGroup(); - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - ref GatheringNode reference20 = ref CollectionsMarshal.AsSpan(list31)[0]; - GatheringNode obj10 = new GatheringNode - { - DataId = 35254u - }; - num3 = 1; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - CollectionsMarshal.AsSpan(list32)[0] = new GatheringLocation - { - Position = new Vector3(649.5298f, 14.19326f, -222.9378f) - }; - obj10.Locations = list32; - reference20 = obj10; - gatheringNodeGroup10.Nodes = list31; - reference19 = gatheringNodeGroup10; - ref GatheringNodeGroup reference21 = ref span4[1]; - GatheringNodeGroup gatheringNodeGroup11 = new GatheringNodeGroup(); - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - ref GatheringNode reference22 = ref CollectionsMarshal.AsSpan(list33)[0]; - GatheringNode obj11 = new GatheringNode - { - DataId = 35252u - }; - num3 = 1; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - CollectionsMarshal.AsSpan(list34)[0] = new GatheringLocation - { - Position = new Vector3(652.2325f, 13.41525f, -227.1611f) - }; - obj11.Locations = list34; - reference22 = obj11; - gatheringNodeGroup11.Nodes = list33; - reference21 = gatheringNodeGroup11; - ref GatheringNodeGroup reference23 = ref span4[2]; - GatheringNodeGroup gatheringNodeGroup12 = new GatheringNodeGroup(); - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - ref GatheringNode reference24 = ref CollectionsMarshal.AsSpan(list35)[0]; - GatheringNode obj12 = new GatheringNode - { - DataId = 35253u - }; - num3 = 1; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - CollectionsMarshal.AsSpan(list36)[0] = new GatheringLocation - { - Position = new Vector3(657.8542f, 13.34004f, -225.5971f) - }; - obj12.Locations = list36; - reference24 = obj12; - gatheringNodeGroup12.Nodes = list35; - reference23 = gatheringNodeGroup12; - gatheringRoot4.Groups = list30; - AddLocation(1197, gatheringRoot4); - GatheringRoot gatheringRoot5 = new GatheringRoot(); - num = 1; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - CollectionsMarshal.AsSpan(list37)[0] = "liza"; - gatheringRoot5.Author = list37; - num = 1; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.None, null, null, 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelIqBraax, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(23.8063f, 17.44395f, -861.3718f), - MaximumDistance = 250f, - TerritoryId = 1189 - } - } - } - }; - gatheringRoot5.Steps = list38; - num = 3; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - Span span5 = CollectionsMarshal.AsSpan(list39); - ref GatheringNodeGroup reference25 = ref span5[0]; - GatheringNodeGroup gatheringNodeGroup13 = new GatheringNodeGroup(); - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - ref GatheringNode reference26 = ref CollectionsMarshal.AsSpan(list40)[0]; - GatheringNode obj13 = new GatheringNode - { - DataId = 35256u - }; - num3 = 1; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - CollectionsMarshal.AsSpan(list41)[0] = new GatheringLocation - { - Position = new Vector3(23.8063f, 17.44395f, -861.3718f), - MinimumAngle = -80, - MaximumAngle = 50 - }; - obj13.Locations = list41; - reference26 = obj13; - gatheringNodeGroup13.Nodes = list40; - reference25 = gatheringNodeGroup13; - ref GatheringNodeGroup reference27 = ref span5[1]; - GatheringNodeGroup gatheringNodeGroup14 = new GatheringNodeGroup(); - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - ref GatheringNode reference28 = ref CollectionsMarshal.AsSpan(list42)[0]; - GatheringNode obj14 = new GatheringNode - { - DataId = 35257u - }; - num3 = 1; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - CollectionsMarshal.AsSpan(list43)[0] = new GatheringLocation - { - Position = new Vector3(31.8484f, 17.91638f, -864.6296f), - MinimumAngle = -90, - MaximumAngle = 60 - }; - obj14.Locations = list43; - reference28 = obj14; - gatheringNodeGroup14.Nodes = list42; - reference27 = gatheringNodeGroup14; - ref GatheringNodeGroup reference29 = ref span5[2]; - GatheringNodeGroup gatheringNodeGroup15 = new GatheringNodeGroup(); - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - ref GatheringNode reference30 = ref CollectionsMarshal.AsSpan(list44)[0]; - GatheringNode obj15 = new GatheringNode - { - DataId = 35255u - }; - num3 = 1; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - CollectionsMarshal.AsSpan(list45)[0] = new GatheringLocation - { - Position = new Vector3(37.64392f, 17.34943f, -865.3544f), - MinimumAngle = -75, - MaximumAngle = 70 - }; - obj15.Locations = list45; - reference30 = obj15; - gatheringNodeGroup15.Nodes = list44; - reference29 = gatheringNodeGroup15; - gatheringRoot5.Groups = list39; - AddLocation(1198, gatheringRoot5); - GatheringRoot gatheringRoot6 = new GatheringRoot(); - num = 1; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - CollectionsMarshal.AsSpan(list46)[0] = "Censored"; - gatheringRoot6.Author = list46; - num = 1; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.None, null, null, 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelIqBraax, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-605.548f, 9.998135f, -373.28378f), - MaximumDistance = 250f, - TerritoryId = 1189 - } - } - } - }; - gatheringRoot6.Steps = list47; - num = 3; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - Span span6 = CollectionsMarshal.AsSpan(list48); - ref GatheringNodeGroup reference31 = ref span6[0]; - GatheringNodeGroup gatheringNodeGroup16 = new GatheringNodeGroup(); - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - ref GatheringNode reference32 = ref CollectionsMarshal.AsSpan(list49)[0]; - GatheringNode obj16 = new GatheringNode - { - DataId = 35260u - }; - num3 = 1; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - CollectionsMarshal.AsSpan(list50)[0] = new GatheringLocation - { - Position = new Vector3(-601.0465f, 10.95519f, -366.7967f), - MinimumAngle = -215, - MaximumAngle = -30 - }; - obj16.Locations = list50; - reference32 = obj16; - gatheringNodeGroup16.Nodes = list49; - reference31 = gatheringNodeGroup16; - ref GatheringNodeGroup reference33 = ref span6[1]; - GatheringNodeGroup gatheringNodeGroup17 = new GatheringNodeGroup(); - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - ref GatheringNode reference34 = ref CollectionsMarshal.AsSpan(list51)[0]; - GatheringNode obj17 = new GatheringNode - { - DataId = 35259u - }; - num3 = 1; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - CollectionsMarshal.AsSpan(list52)[0] = new GatheringLocation - { - Position = new Vector3(-606.3102f, 11.02901f, -372.3002f), - MinimumAngle = -240, - MaximumAngle = -45 - }; - obj17.Locations = list52; - reference34 = obj17; - gatheringNodeGroup17.Nodes = list51; - reference33 = gatheringNodeGroup17; - ref GatheringNodeGroup reference35 = ref span6[2]; - GatheringNodeGroup gatheringNodeGroup18 = new GatheringNodeGroup(); - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - ref GatheringNode reference36 = ref CollectionsMarshal.AsSpan(list53)[0]; - GatheringNode obj18 = new GatheringNode - { - DataId = 35258u - }; - num3 = 1; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - CollectionsMarshal.AsSpan(list54)[0] = new GatheringLocation - { - Position = new Vector3(-612.5112f, 11.75366f, -374.3395f), - MinimumAngle = -235, - MaximumAngle = -60 - }; - obj18.Locations = list54; - reference36 = obj18; - gatheringNodeGroup18.Nodes = list53; - reference35 = gatheringNodeGroup18; - gatheringRoot6.Groups = list48; - AddLocation(1199, gatheringRoot6); - } - - private static void LoadLocation12() - { - GatheringRoot gatheringRoot = new GatheringRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - gatheringRoot.Author = list; - num = 1; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - CollectionsMarshal.AsSpan(list2)[0] = new QuestStep(EInteractionType.None, null, null, 1189); - gatheringRoot.Steps = list2; - num = 3; - List list3 = new List(num); - CollectionsMarshal.SetCount(list3, num); - 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); - ref GatheringNode reference2 = ref CollectionsMarshal.AsSpan(list4)[0]; - GatheringNode obj = new GatheringNode - { - DataId = 35262u - }; - int num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = new GatheringLocation - { - Position = new Vector3(217.4239f, -190.3947f, 299.83f), - MinimumAngle = -100, - MaximumAngle = 25 - }; - obj.Locations = list5; - reference2 = obj; - gatheringNodeGroup.Nodes = list4; - reference = gatheringNodeGroup; - ref GatheringNodeGroup reference3 = ref span[1]; - GatheringNodeGroup gatheringNodeGroup2 = new GatheringNodeGroup(); - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - ref GatheringNode reference4 = ref CollectionsMarshal.AsSpan(list6)[0]; - GatheringNode obj2 = new GatheringNode - { - DataId = 35263u - }; - num3 = 1; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - CollectionsMarshal.AsSpan(list7)[0] = new GatheringLocation - { - Position = new Vector3(208.6546f, -191.3975f, 297.5333f), - MinimumAngle = 0, - MaximumAngle = 150 - }; - obj2.Locations = list7; - reference4 = obj2; - gatheringNodeGroup2.Nodes = list6; - reference3 = gatheringNodeGroup2; - ref GatheringNodeGroup reference5 = ref span[2]; - GatheringNodeGroup gatheringNodeGroup3 = new GatheringNodeGroup(); - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - ref GatheringNode reference6 = ref CollectionsMarshal.AsSpan(list8)[0]; - GatheringNode obj3 = new GatheringNode - { - DataId = 35261u - }; - num3 = 1; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - CollectionsMarshal.AsSpan(list9)[0] = new GatheringLocation - { - Position = new Vector3(212.4513f, -192.6452f, 292.6832f), - MinimumAngle = 85, - MaximumAngle = 265 - }; - obj3.Locations = list9; - reference6 = obj3; - gatheringNodeGroup3.Nodes = list8; - reference5 = gatheringNodeGroup3; - gatheringRoot.Groups = list3; - AddLocation(1200, gatheringRoot); - GatheringRoot gatheringRoot2 = new GatheringRoot(); - num = 1; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - CollectionsMarshal.AsSpan(list10)[0] = "Theo"; - gatheringRoot2.Author = list10; - num = 1; - List list11 = new List(num); - CollectionsMarshal.SetCount(list11, num); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.None, null, null, 1189); - gatheringRoot2.Steps = list11; - num = 3; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - Span span2 = CollectionsMarshal.AsSpan(list12); - ref GatheringNodeGroup reference7 = ref span2[0]; - GatheringNodeGroup gatheringNodeGroup4 = new GatheringNodeGroup(); - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - ref GatheringNode reference8 = ref CollectionsMarshal.AsSpan(list13)[0]; - GatheringNode obj4 = new GatheringNode - { - DataId = 35264u - }; - num3 = 1; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - CollectionsMarshal.AsSpan(list14)[0] = new GatheringLocation - { - Position = new Vector3(-594.4667f, -169.826f, 379.3596f), - MinimumAngle = -360, - MaximumAngle = 0 - }; - obj4.Locations = list14; - reference8 = obj4; - gatheringNodeGroup4.Nodes = list13; - reference7 = gatheringNodeGroup4; - ref GatheringNodeGroup reference9 = ref span2[1]; - GatheringNodeGroup gatheringNodeGroup5 = new GatheringNodeGroup(); - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - ref GatheringNode reference10 = ref CollectionsMarshal.AsSpan(list15)[0]; - GatheringNode obj5 = new GatheringNode - { - DataId = 35265u - }; - num3 = 1; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - CollectionsMarshal.AsSpan(list16)[0] = new GatheringLocation - { - Position = new Vector3(-611.1483f, -174.4638f, 343.6277f), - MinimumAngle = -360, - MaximumAngle = 0 - }; - obj5.Locations = list16; - reference10 = obj5; - gatheringNodeGroup5.Nodes = list15; - reference9 = gatheringNodeGroup5; - ref GatheringNodeGroup reference11 = ref span2[2]; - GatheringNodeGroup gatheringNodeGroup6 = new GatheringNodeGroup(); - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - ref GatheringNode reference12 = ref CollectionsMarshal.AsSpan(list17)[0]; - GatheringNode obj6 = new GatheringNode - { - DataId = 35266u - }; - num3 = 1; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - CollectionsMarshal.AsSpan(list18)[0] = new GatheringLocation - { - Position = new Vector3(-639.3258f, -171.871f, 388.8273f), - MinimumAngle = -360, - MaximumAngle = 0 - }; - obj6.Locations = list18; - reference12 = obj6; - gatheringNodeGroup6.Nodes = list17; - reference11 = gatheringNodeGroup6; - gatheringRoot2.Groups = list12; - AddLocation(1201, gatheringRoot2); - GatheringRoot gatheringRoot3 = new GatheringRoot(); - num = 1; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - CollectionsMarshal.AsSpan(list19)[0] = "liza"; - gatheringRoot3.Author = list19; - num = 1; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.None, null, null, 1189); - gatheringRoot3.Steps = list20; - num = 3; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - Span span3 = CollectionsMarshal.AsSpan(list21); - ref GatheringNodeGroup reference13 = ref span3[0]; - GatheringNodeGroup gatheringNodeGroup7 = new GatheringNodeGroup(); - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - ref GatheringNode reference14 = ref CollectionsMarshal.AsSpan(list22)[0]; - GatheringNode obj7 = new GatheringNode - { - DataId = 35267u - }; - num3 = 1; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - CollectionsMarshal.AsSpan(list23)[0] = new GatheringLocation - { - Position = new Vector3(-136.4091f, -213.3115f, 348.263f), - MinimumAngle = -115, - MaximumAngle = -35, - MinimumDistance = 1.8f, - MaximumDistance = 3f - }; - obj7.Locations = list23; - reference14 = obj7; - gatheringNodeGroup7.Nodes = list22; - reference13 = gatheringNodeGroup7; - ref GatheringNodeGroup reference15 = ref span3[1]; - GatheringNodeGroup gatheringNodeGroup8 = new GatheringNodeGroup(); - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - ref GatheringNode reference16 = ref CollectionsMarshal.AsSpan(list24)[0]; - GatheringNode obj8 = new GatheringNode - { - DataId = 35269u - }; - num3 = 1; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - CollectionsMarshal.AsSpan(list25)[0] = new GatheringLocation - { - Position = new Vector3(-138.786f, -213.2544f, 335.4114f), - MinimumAngle = -220, - MaximumAngle = -110, - MinimumDistance = 1.5f, - MaximumDistance = 3f - }; - obj8.Locations = list25; - reference16 = obj8; - gatheringNodeGroup8.Nodes = list24; - reference15 = gatheringNodeGroup8; - ref GatheringNodeGroup reference17 = ref span3[2]; - GatheringNodeGroup gatheringNodeGroup9 = new GatheringNodeGroup(); - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - ref GatheringNode reference18 = ref CollectionsMarshal.AsSpan(list26)[0]; - GatheringNode obj9 = new GatheringNode - { - DataId = 35268u - }; - num3 = 1; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - CollectionsMarshal.AsSpan(list27)[0] = new GatheringLocation - { - Position = new Vector3(-147.5682f, -212.363f, 348.0441f), - MinimumAngle = 30, - MaximumAngle = 105, - MinimumDistance = 2.2f, - MaximumDistance = 3f - }; - obj9.Locations = list27; - reference18 = obj9; - gatheringNodeGroup9.Nodes = list26; - reference17 = gatheringNodeGroup9; - gatheringRoot3.Groups = list21; - AddLocation(1202, gatheringRoot3); - GatheringRoot gatheringRoot4 = new GatheringRoot(); - num = 1; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - CollectionsMarshal.AsSpan(list28)[0] = "liza"; - gatheringRoot4.Author = list28; - num = 1; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.None, null, null, 1189); - gatheringRoot4.Steps = list29; - num = 3; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - Span span4 = CollectionsMarshal.AsSpan(list30); - ref GatheringNodeGroup reference19 = ref span4[0]; - GatheringNodeGroup gatheringNodeGroup10 = new GatheringNodeGroup(); - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - ref GatheringNode reference20 = ref CollectionsMarshal.AsSpan(list31)[0]; - GatheringNode obj10 = new GatheringNode - { - DataId = 35272u - }; - num3 = 1; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - CollectionsMarshal.AsSpan(list32)[0] = new GatheringLocation - { - Position = new Vector3(712.1951f, 19.23321f, -299.8495f), - MinimumAngle = 195, - MaximumAngle = 340 - }; - obj10.Locations = list32; - reference20 = obj10; - gatheringNodeGroup10.Nodes = list31; - reference19 = gatheringNodeGroup10; - ref GatheringNodeGroup reference21 = ref span4[1]; - GatheringNodeGroup gatheringNodeGroup11 = new GatheringNodeGroup(); - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - ref GatheringNode reference22 = ref CollectionsMarshal.AsSpan(list33)[0]; - GatheringNode obj11 = new GatheringNode - { - DataId = 35270u - }; - num3 = 1; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - CollectionsMarshal.AsSpan(list34)[0] = new GatheringLocation - { - Position = new Vector3(740.6464f, 23.75824f, -303.4917f), - MinimumAngle = -20, - MaximumAngle = 115 - }; - obj11.Locations = list34; - reference22 = obj11; - gatheringNodeGroup11.Nodes = list33; - reference21 = gatheringNodeGroup11; - ref GatheringNodeGroup reference23 = ref span4[2]; - GatheringNodeGroup gatheringNodeGroup12 = new GatheringNodeGroup(); - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - ref GatheringNode reference24 = ref CollectionsMarshal.AsSpan(list35)[0]; - GatheringNode obj12 = new GatheringNode - { - DataId = 35271u - }; - num3 = 1; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - CollectionsMarshal.AsSpan(list36)[0] = new GatheringLocation - { - Position = new Vector3(702.0139f, 21.35347f, -331.0941f), - MinimumAngle = -140, - MaximumAngle = 40 - }; - obj12.Locations = list36; - reference24 = obj12; - gatheringNodeGroup12.Nodes = list35; - reference23 = gatheringNodeGroup12; - gatheringRoot4.Groups = list30; - AddLocation(1203, gatheringRoot4); - GatheringRoot gatheringRoot5 = new GatheringRoot(); - num = 1; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - CollectionsMarshal.AsSpan(list37)[0] = "liza"; - gatheringRoot5.Author = list37; - num = 1; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.None, null, null, 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelIqBraax, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-104.9523f, 10.90963f, -784.3555f), - MaximumDistance = 250f, - TerritoryId = 1189 - } - } - } - }; - gatheringRoot5.Steps = list38; - num = 3; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - Span span5 = CollectionsMarshal.AsSpan(list39); - ref GatheringNodeGroup reference25 = ref span5[0]; - GatheringNodeGroup gatheringNodeGroup13 = new GatheringNodeGroup(); - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - ref GatheringNode reference26 = ref CollectionsMarshal.AsSpan(list40)[0]; - GatheringNode obj13 = new GatheringNode - { - DataId = 35273u - }; - num3 = 1; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - CollectionsMarshal.AsSpan(list41)[0] = new GatheringLocation - { - Position = new Vector3(-104.9523f, 10.90963f, -784.3555f), - MinimumAngle = 185, - MaximumAngle = 330 - }; - obj13.Locations = list41; - reference26 = obj13; - gatheringNodeGroup13.Nodes = list40; - reference25 = gatheringNodeGroup13; - ref GatheringNodeGroup reference27 = ref span5[1]; - GatheringNodeGroup gatheringNodeGroup14 = new GatheringNodeGroup(); - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - ref GatheringNode reference28 = ref CollectionsMarshal.AsSpan(list42)[0]; - GatheringNode obj14 = new GatheringNode - { - DataId = 35275u - }; - num3 = 1; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - CollectionsMarshal.AsSpan(list43)[0] = new GatheringLocation - { - Position = new Vector3(-93.91187f, 2.599666f, -756.9727f), - MinimumAngle = 75, - MaximumAngle = 275 - }; - obj14.Locations = list43; - reference28 = obj14; - gatheringNodeGroup14.Nodes = list42; - reference27 = gatheringNodeGroup14; - ref GatheringNodeGroup reference29 = ref span5[2]; - GatheringNodeGroup gatheringNodeGroup15 = new GatheringNodeGroup(); - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - ref GatheringNode reference30 = ref CollectionsMarshal.AsSpan(list44)[0]; - GatheringNode obj15 = new GatheringNode - { - DataId = 35274u - }; - num3 = 1; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - CollectionsMarshal.AsSpan(list45)[0] = new GatheringLocation - { - Position = new Vector3(-78.69253f, 14.48961f, -810.1029f), - MinimumAngle = -85, - MaximumAngle = 90 - }; - obj15.Locations = list45; - reference30 = obj15; - gatheringNodeGroup15.Nodes = list44; - reference29 = gatheringNodeGroup15; - gatheringRoot5.Groups = list39; - AddLocation(1204, gatheringRoot5); - GatheringRoot gatheringRoot6 = new GatheringRoot(); - num = 1; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - CollectionsMarshal.AsSpan(list46)[0] = "Censored"; - gatheringRoot6.Author = list46; - num = 1; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.None, null, null, 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelIqBraax, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-578.86475f, 2.674765f, -403.03888f), - MaximumDistance = 250f, - TerritoryId = 1189 - } - } - } - }; - gatheringRoot6.Steps = list47; - num = 3; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - Span span6 = CollectionsMarshal.AsSpan(list48); - ref GatheringNodeGroup reference31 = ref span6[0]; - GatheringNodeGroup gatheringNodeGroup16 = new GatheringNodeGroup(); - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - ref GatheringNode reference32 = ref CollectionsMarshal.AsSpan(list49)[0]; - GatheringNode obj16 = new GatheringNode - { - DataId = 35278u - }; - num3 = 1; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - CollectionsMarshal.AsSpan(list50)[0] = new GatheringLocation - { - Position = new Vector3(-576.3171f, 4.257174f, -398.7203f) - }; - obj16.Locations = list50; - reference32 = obj16; - gatheringNodeGroup16.Nodes = list49; - reference31 = gatheringNodeGroup16; - ref GatheringNodeGroup reference33 = ref span6[1]; - GatheringNodeGroup gatheringNodeGroup17 = new GatheringNodeGroup(); - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - ref GatheringNode reference34 = ref CollectionsMarshal.AsSpan(list51)[0]; - GatheringNode obj17 = new GatheringNode - { - DataId = 35277u - }; - num3 = 1; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - CollectionsMarshal.AsSpan(list52)[0] = new GatheringLocation - { - Position = new Vector3(-578.7101f, 3.045597f, -403.618f) - }; - obj17.Locations = list52; - reference34 = obj17; - gatheringNodeGroup17.Nodes = list51; - reference33 = gatheringNodeGroup17; - ref GatheringNodeGroup reference35 = ref span6[2]; - GatheringNodeGroup gatheringNodeGroup18 = new GatheringNodeGroup(); - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - ref GatheringNode reference36 = ref CollectionsMarshal.AsSpan(list53)[0]; - GatheringNode obj18 = new GatheringNode - { - DataId = 35276u - }; - num3 = 1; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - CollectionsMarshal.AsSpan(list54)[0] = new GatheringLocation - { - Position = new Vector3(-576.8013f, 3.518943f, -406.4176f) - }; - obj18.Locations = list54; - reference36 = obj18; - gatheringNodeGroup18.Nodes = list53; - reference35 = gatheringNodeGroup18; - gatheringRoot6.Groups = list48; - AddLocation(1205, gatheringRoot6); + DecodeDuration = stopwatch.Elapsed; + return dictionary; } } diff --git a/GatheringPaths/Questionable.GatheringPaths/PathBundleSecret.cs b/GatheringPaths/Questionable.GatheringPaths/PathBundleSecret.cs new file mode 100644 index 0000000..6e96944 --- /dev/null +++ b/GatheringPaths/Questionable.GatheringPaths/PathBundleSecret.cs @@ -0,0 +1,30 @@ +namespace Questionable.GatheringPaths; + +internal static class PathBundleSecret +{ + private static readonly byte[] A = new byte[32] + { + 145, 72, 249, 36, 189, 185, 130, 238, 193, 10, + 202, 232, 4, 205, 253, 37, 116, 120, 105, 80, + 155, 225, 237, 122, 124, 183, 185, 180, 222, 128, + 163, 58 + }; + + private static readonly byte[] B = new byte[32] + { + 38, 241, 153, 134, 236, 129, 153, 181, 53, 177, + 92, 29, 47, 248, 180, 1, 80, 8, 68, 19, + 82, 214, 85, 67, 101, 195, 46, 138, 196, 69, + 206, 117 + }; + + internal static byte[] Key() + { + byte[] array = new byte[A.Length]; + for (int i = 0; i < array.Length; i++) + { + array[i] = (byte)(A[i] ^ B[i]); + } + return array; + } +} diff --git a/LLib/-----------------------------------------.cs b/LLib/-----------------------------------------.cs new file mode 100644 index 0000000..607b25b --- /dev/null +++ b/LLib/-----------------------------------------.cs @@ -0,0 +1,1056 @@ +using System; +using System.IO; +using System.Runtime.InteropServices; + +internal struct _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E +{ + internal uint _206E_206B_206C_200E_206A_206C_206A_200D_202B_206C_206A_200E_202C_206D_202B_202B_200C_200F_200E_206B_200F_200C_200E_206E_206D_206F_206F_206C_206B_202E_200E_200E_206D_202B_200E_202B_200D_202D_202C_202E; + + internal void _206C_200C_206A_202C_206A_202C_202A_206A_200B_200C_202B_206F_206E_206F_200E_206D_206D_200E_202D_202A_206E_206C_202A_202D_206A_200D_200E_206A_202D_206D_202E_202A_206B_206D_206A_206B_206E_200D_202E_206F_202E() + { + _206E_206B_206C_200E_206A_206C_206A_200D_202B_206C_206A_200E_202C_206D_202B_202B_200C_200F_200E_206B_200F_200C_200E_206E_206D_206F_206F_206C_206B_202E_200E_200E_206D_202B_200E_202B_200D_202D_202C_202E = 1024u; + } + + internal uint _206B_202A_200C_202D_202C_206E_200E_202A_206F_200F_206C_200B_202C_200D_202B_206E_202A_202D_206D_206A_206F_202C_206B_206E_200C_202E_206D_206C_202E_200F_200C_200F_200E_206A_206B_202C_200E_206C_202B_200C_202E(_206D_206A_202C_202E_206A_200E_202E_200C_206F_202D_200D_200D_202B_200F_200F_200F_202E_202A_202C_202D_200F_206E_200D_202A_206A_206D_202A_202C_200D_200C_206F_206F_206C_206F_200F_206B_206C_200B_206E_200D_202E rangeDecoder) + { + uint num = (rangeDecoder._206F_206B_206E_206D_206D_200F_200E_206B_202D_206D_200B_202E_206C_206A_206C_200C_202B_200F_206D_206F_202A_206E_206E_202B_206B_200C_206C_200B_206A_206C_206E_206E_200D_206A_206C_206A_206E_202A_200C_202C_202E >> 11) * _206E_206B_206C_200E_206A_206C_206A_200D_202B_206C_206A_200E_202C_206D_202B_202B_200C_200F_200E_206B_200F_200C_200E_206E_206D_206F_206F_206C_206B_202E_200E_200E_206D_202B_200E_202B_200D_202D_202C_202E; + int num3; + int num4; + if (rangeDecoder._200D_202E_206C_200D_202C_202B_200B_202B_206F_202D_200E_202C_200E_206B_206D_200D_206E_206F_202C_202E_206F_200F_200E_202A_206D_206B_200D_200F_206F_202E_206F_206C_206F_200C_200E_200D_202D_206B_200D_200E_202E < num) + { + rangeDecoder._206F_206B_206E_206D_206D_200F_200E_206B_202D_206D_200B_202E_206C_206A_206C_200C_202B_200F_206D_206F_202A_206E_206E_202B_206B_200C_206C_200B_206A_206C_206E_206E_200D_206A_206C_206A_206E_202A_200C_202C_202E = num; + uint num2 = _206E_206B_206C_200E_206A_206C_206A_200D_202B_206C_206A_200E_202C_206D_202B_202B_200C_200F_200E_206B_200F_200C_200E_206E_206D_206F_206F_206C_206B_202E_200E_200E_206D_202B_200E_202B_200D_202D_202C_202E; + num3 = (int)_206E_206B_206C_200E_206A_206C_206A_200D_202B_206C_206A_200E_202C_206D_202B_202B_200C_200F_200E_206B_200F_200C_200E_206E_206D_206F_206F_206C_206B_202E_200E_200E_206D_202B_200E_202B_200D_202D_202C_202E; + num4 = 2048; + num3 = ~(~num4 + num3) >>> 5; + num4 = (int)num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + _206E_206B_206C_200E_206A_206C_206A_200D_202B_206C_206A_200E_202C_206D_202B_202B_200C_200F_200E_206B_200F_200C_200E_206E_206D_206F_206F_206C_206B_202E_200E_200E_206D_202B_200E_202B_200D_202D_202C_202E = (uint)(num5 + (num6 + num6)); + if (rangeDecoder._206F_206B_206E_206D_206D_200F_200E_206B_202D_206D_200B_202E_206C_206A_206C_200C_202B_200F_206D_206F_202A_206E_206E_202B_206B_200C_206C_200B_206A_206C_206E_206E_200D_206A_206C_206A_206E_202A_200C_202C_202E < 16777216) + { + rangeDecoder._200D_202E_206C_200D_202C_202B_200B_202B_206F_202D_200E_202C_200E_206B_206D_200D_206E_206F_202C_202E_206F_200F_200E_202A_206D_206B_200D_200F_206F_202E_206F_206C_206F_200C_200E_200D_202D_206B_200D_200E_202E = (rangeDecoder._200D_202E_206C_200D_202C_202B_200B_202B_206F_202D_200E_202C_200E_206B_206D_200D_206E_206F_202C_202E_206F_200F_200E_202A_206D_206B_200D_200F_206F_202E_206F_206C_206F_200C_200E_200D_202D_206B_200D_200E_202E << 8) | (byte)rangeDecoder._200B_200C_202C_206D_200E_200E_202C_200B_200C_200B_202C_206E_200E_202D_200E_200B_202B_206B_200B_202C_200C_202C_206D_206D_206D_202B_206A_202D_200E_200F_200C_200F_200E_206E_206A_200D_202D_200E_206A_206A_202E.ReadByte(); + rangeDecoder._206F_206B_206E_206D_206D_200F_200E_206B_202D_206D_200B_202E_206C_206A_206C_200C_202B_200F_206D_206F_202A_206E_206E_202B_206B_200C_206C_200B_206A_206C_206E_206E_200D_206A_206C_206A_206E_202A_200C_202C_202E <<= 8; + } + return 0u; + } + uint num7 = rangeDecoder._206F_206B_206E_206D_206D_200F_200E_206B_202D_206D_200B_202E_206C_206A_206C_200C_202B_200F_206D_206F_202A_206E_206E_202B_206B_200C_206C_200B_206A_206C_206E_206E_200D_206A_206C_206A_206E_202A_200C_202C_202E; + num3 = (int)num; + num4 = (int)num7; + rangeDecoder._206F_206B_206E_206D_206D_200F_200E_206B_202D_206D_200B_202E_206C_206A_206C_200C_202B_200F_206D_206F_202A_206E_206E_202B_206B_200C_206C_200B_206A_206C_206E_206E_200D_206A_206C_206A_206E_202A_200C_202C_202E = (uint)(~(~num4 + num3)); + uint num8 = rangeDecoder._200D_202E_206C_200D_202C_202B_200B_202B_206F_202D_200E_202C_200E_206B_206D_200D_206E_206F_202C_202E_206F_200F_200E_202A_206D_206B_200D_200F_206F_202E_206F_206C_206F_200C_200E_200D_202D_206B_200D_200E_202E; + num3 = (int)num; + num4 = (int)num8; + rangeDecoder._200D_202E_206C_200D_202C_202B_200B_202B_206F_202D_200E_202C_200E_206B_206D_200D_206E_206F_202C_202E_206F_200F_200E_202A_206D_206B_200D_200F_206F_202E_206F_206C_206F_200C_200E_200D_202D_206B_200D_200E_202E = (uint)(~(~num4 + num3)); + uint num9 = _206E_206B_206C_200E_206A_206C_206A_200D_202B_206C_206A_200E_202C_206D_202B_202B_200C_200F_200E_206B_200F_200C_200E_206E_206D_206F_206F_206C_206B_202E_200E_200E_206D_202B_200E_202B_200D_202D_202C_202E; + num3 = (int)(_206E_206B_206C_200E_206A_206C_206A_200D_202B_206C_206A_200E_202C_206D_202B_202B_200C_200F_200E_206B_200F_200C_200E_206E_206D_206F_206F_206C_206B_202E_200E_200E_206D_202B_200E_202B_200D_202D_202C_202E >> 5); + num4 = (int)num9; + _206E_206B_206C_200E_206A_206C_206A_200D_202B_206C_206A_200E_202C_206D_202B_202B_200C_200F_200E_206B_200F_200C_200E_206E_206D_206F_206F_206C_206B_202E_200E_200E_206D_202B_200E_202B_200D_202D_202C_202E = (uint)(~(~num4 + num3)); + if (rangeDecoder._206F_206B_206E_206D_206D_200F_200E_206B_202D_206D_200B_202E_206C_206A_206C_200C_202B_200F_206D_206F_202A_206E_206E_202B_206B_200C_206C_200B_206A_206C_206E_206E_200D_206A_206C_206A_206E_202A_200C_202C_202E < 16777216) + { + rangeDecoder._200D_202E_206C_200D_202C_202B_200B_202B_206F_202D_200E_202C_200E_206B_206D_200D_206E_206F_202C_202E_206F_200F_200E_202A_206D_206B_200D_200F_206F_202E_206F_206C_206F_200C_200E_200D_202D_206B_200D_200E_202E = (rangeDecoder._200D_202E_206C_200D_202C_202B_200B_202B_206F_202D_200E_202C_200E_206B_206D_200D_206E_206F_202C_202E_206F_200F_200E_202A_206D_206B_200D_200F_206F_202E_206F_206C_206F_200C_200E_200D_202D_206B_200D_200E_202E << 8) | (byte)rangeDecoder._200B_200C_202C_206D_200E_200E_202C_200B_200C_200B_202C_206E_200E_202D_200E_200B_202B_206B_200B_202C_200C_202C_206D_206D_206D_202B_206A_202D_200E_200F_200C_200F_200E_206E_206A_200D_202D_200E_206A_206A_202E.ReadByte(); + rangeDecoder._206F_206B_206E_206D_206D_200F_200E_206B_202D_206D_200B_202E_206C_206A_206C_200C_202B_200F_206D_206F_202A_206E_206E_202B_206B_200C_206C_200B_206A_206C_206E_206E_200D_206A_206C_206A_206E_202A_200C_202C_202E <<= 8; + } + return 1u; + } +} +internal struct _206F_206E_202A_200E_202B_202B_206D_202B_200F_206B_206B_206C_202E_202D_200E_206F_200F_202A_200B_206B_202E_206E_200F_200D_202E_206A_200C_202A_206A_202B_202B_202D_202B_202B_206B_202C_202C_202A_200D_206A_202E +{ + internal readonly _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E[] _202E_206C_200C_206F_206C_202E_206A_200B_202A_202E_202D_202C_202E_206E_202E_200F_202A_206F_202C_200E_200E_206F_202A_202D_206D_200C_200E_202C_200D_206F_206C_206E_206C_200B_206E_206F_202B_200B_202C_202D_202E; + + internal readonly int _202E_202D_206A_206A_206E_200F_206D_206D_200B_202C_206A_206F_200F_200B_200C_202B_206A_206B_202D_200D_206F_202D_206E_200C_202B_200B_200C_202B_206C_200D_200B_200D_200E_202C_206A_200D_200F_206C_200F_202A_202E; + + internal _206F_206E_202A_200E_202B_202B_206D_202B_200F_206B_206B_206C_202E_202D_200E_206F_200F_202A_200B_206B_202E_206E_200F_200D_202E_206A_200C_202A_206A_202B_202B_202D_202B_202B_206B_202C_202C_202A_200D_206A_202E(int numBitLevels) + { + _202E_202D_206A_206A_206E_200F_206D_206D_200B_202C_206A_206F_200F_200B_200C_202B_206A_206B_202D_200D_206F_202D_206E_200C_202B_200B_200C_202B_206C_200D_200B_200D_200E_202C_206A_200D_200F_206C_200F_202A_202E = numBitLevels; + int num = 31; + _202E_206C_200C_206F_206C_202E_206A_200B_202A_202E_202D_202C_202E_206E_202E_200F_202A_206F_202C_200E_200E_206F_202A_202D_206D_200C_200E_202C_200D_206F_206C_206E_206C_200B_206E_206F_202B_200B_202C_202D_202E = new _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E[1 << numBitLevels + num - (numBitLevels | num)]; + } + + internal void _206C_200D_200F_200C_200E_202A_200B_200E_202B_206C_206A_206E_200D_200B_206D_206F_206A_202E_200C_202C_206A_202E_206F_206E_200B_206D_206E_202B_200B_202C_206B_200C_206B_206D_206D_200B_200B_200E_206E_202E_202E() + { + uint num = 1u; + while (true) + { + long num2 = num; + int num3 = _202E_202D_206A_206A_206E_200F_206D_206D_200B_202C_206A_206F_200F_200B_200C_202B_206A_206B_202D_200D_206F_202D_206E_200C_202B_200B_200C_202B_206C_200D_200B_200D_200E_202C_206A_200D_200F_206C_200F_202A_202E; + int num4 = 31; + int num5 = num3; + if (num2 < 1 << num5 + num4 - (num5 | num4)) + { + _202E_206C_200C_206F_206C_202E_206A_200B_202A_202E_202D_202C_202E_206E_202E_200F_202A_206F_202C_200E_200E_206F_202A_202D_206D_200C_200E_202C_200D_206F_206C_206E_206C_200B_206E_206F_202B_200B_202C_202D_202E[num]._206C_200C_206A_202C_206A_202C_202A_206A_200B_200C_202B_206F_206E_206F_200E_206D_206D_200E_202D_202A_206E_206C_202A_202D_206A_200D_200E_206A_202D_206D_202E_202A_206B_206D_206A_206B_206E_200D_202E_206F_202E(); + uint num6 = num; + num4 = 1; + num5 = (int)num6; + num = (uint)((num5 | num4) + (num5 & num4)); + continue; + } + break; + } + } + + internal uint _202D_206E_202D_200B_202D_206F_200B_202E_206F_206E_206F_202B_202B_206E_200B_200B_202A_200C_206F_200E_202B_206A_202A_202C_206C_206F_206A_206E_202E_202B_202B_206D_200B_200E_202B_202A_206B_200F_200D_206C_202E(_206D_206A_202C_202E_206A_200E_202E_200C_206F_202D_200D_200D_202B_200F_200F_200F_202E_202A_202C_202D_200F_206E_200D_202A_206A_206D_202A_202C_200D_200C_206F_206F_206C_206F_200F_206B_206C_200B_206E_200D_202E rangeDecoder) + { + uint num = 1u; + int num4; + int num5; + for (int num2 = _202E_202D_206A_206A_206E_200F_206D_206D_200B_202C_206A_206F_200F_200B_200C_202B_206A_206B_202D_200D_206F_202D_206E_200C_202B_200B_200C_202B_206C_200D_200B_200D_200E_202C_206A_200D_200F_206C_200F_202A_202E; num2 > 0; num2 = ~(~num5 + num4)) + { + num = (num << 1) + _202E_206C_200C_206F_206C_202E_206A_200B_202A_202E_202D_202C_202E_206E_202E_200F_202A_206F_202C_200E_200E_206F_202A_202D_206D_200C_200E_202C_200D_206F_206C_206E_206C_200B_206E_206F_202B_200B_202C_202D_202E[num]._206B_202A_200C_202D_202C_206E_200E_202A_206F_200F_206C_200B_202C_200D_202B_206E_202A_202D_206D_206A_206F_202C_206B_206E_200C_202E_206D_206C_202E_200F_200C_200F_200E_206A_206B_202C_200E_206C_202B_200C_202E(rangeDecoder); + int num3 = num2; + num4 = 1; + num5 = num3; + } + uint num6 = num; + int num7 = _202E_202D_206A_206A_206E_200F_206D_206D_200B_202C_206A_206F_200F_200B_200C_202B_206A_206B_202D_200D_206F_202D_206E_200C_202B_200B_200C_202B_206C_200D_200B_200D_200E_202C_206A_200D_200F_206C_200F_202A_202E; + num4 = 31; + num5 = num7; + num4 = 1 << num5 + num4 - (num5 | num4); + num5 = (int)num6; + return (uint)(~(~num5 + num4)); + } + + internal uint _200D_206D_202D_200E_206A_206D_206C_202A_202C_202A_202B_200C_206D_202E_200F_202D_202A_200B_202D_202E_200F_202A_200E_200B_200D_206E_200F_200C_202B_202B_202A_200C_200C_200B_206D_206C_202D_200E_200F_200C_202E(_206D_206A_202C_202E_206A_200E_202E_200C_206F_202D_200D_200D_202B_200F_200F_200F_202E_202A_202C_202D_200F_206E_200D_202A_206A_206D_202A_202C_200D_200C_206F_206F_206C_206F_200F_206B_206C_200B_206E_200D_202E rangeDecoder) + { + uint num = 1u; + uint num2 = 0u; + int num3 = 0; + while (num3 < _202E_202D_206A_206A_206E_200F_206D_206D_200B_202C_206A_206F_200F_200B_200C_202B_206A_206B_202D_200D_206F_202D_206E_200C_202B_200B_200C_202B_206C_200D_200B_200D_200E_202C_206A_200D_200F_206C_200F_202A_202E) + { + uint num4 = _202E_206C_200C_206F_206C_202E_206A_200B_202A_202E_202D_202C_202E_206E_202E_200F_202A_206F_202C_200E_200E_206F_202A_202D_206D_200C_200E_202C_200D_206F_206C_206E_206C_200B_206E_206F_202B_200B_202C_202D_202E[num]._206B_202A_200C_202D_202C_206E_200E_202A_206F_200F_206C_200B_202C_200D_202B_206E_202A_202D_206D_206A_206F_202C_206B_206E_200C_202E_206D_206C_202E_200F_200C_200F_200E_206A_206B_202C_200E_206C_202B_200C_202E(rangeDecoder); + num <<= 1; + uint num5 = num; + int num6 = (int)num4; + int num7 = (int)num5; + num = (uint)((num7 | num6) + (num7 & num6)); + uint num8 = num2; + int num9 = num3; + num6 = 31; + num7 = num9; + num6 = (int)(num4 << (num7 | num6) - (num7 ^ num6)); + num7 = (int)num8; + num2 = (uint)((num7 & num6) + (num7 ^ num6)); + int num10 = num3; + num6 = 1; + num7 = num10; + num3 = (num7 | num6) + (num7 & num6); + } + return num2; + } + + internal static uint _206F_202C_200D_200D_206B_206E_206B_200E_202B_200B_206F_200D_202E_202A_200F_206A_202C_206C_206A_202E_200D_200F_206C_206E_206A_200D_200C_202E_206C_202E_206B_206F_202C_200F_200E_200F_206A_200B_206A_200D_202E(_200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E[] Models, uint startIndex, _206D_206A_202C_202E_206A_200E_202E_200C_206F_202D_200D_200D_202B_200F_200F_200F_202E_202A_202C_202D_200F_206E_200D_202A_206A_206D_202A_202C_200D_200C_206F_206F_206C_206F_200F_206B_206C_200B_206E_200D_202E rangeDecoder, int NumBitLevels) + { + uint num = 1u; + uint num2 = 0u; + int num3 = 0; + while (num3 < NumBitLevels) + { + int num4 = (int)num; + int num5 = (int)startIndex; + uint num6 = Models[(num5 | num4) + (num5 & num4)]._206B_202A_200C_202D_202C_206E_200E_202A_206F_200F_206C_200B_202C_200D_202B_206E_202A_202D_206D_206A_206F_202C_206B_206E_200C_202E_206D_206C_202E_200F_200C_200F_200E_206A_206B_202C_200E_206C_202B_200C_202E(rangeDecoder); + num <<= 1; + uint num7 = num; + num4 = (int)num6; + num5 = (int)num7; + int num8 = num5 ^ num4; + int num9 = num5 & num4; + num = (uint)(num8 + (num9 + num9)); + uint num10 = num2; + int num11 = num3; + num4 = 31; + num5 = num11; + num4 = (int)(num6 << (num5 | num4) - (num5 ^ num4)); + num5 = (int)num10; + num2 = (uint)((num5 & num4) + (num5 ^ num4)); + int num12 = num3; + num4 = 1; + num5 = num12; + int num13 = num5 ^ num4; + int num14 = num5 & num4; + num3 = num13 + (num14 + num14); + } + return num2; + } +} +internal class _206D_206A_202C_202E_206A_200E_202E_200C_206F_202D_200D_200D_202B_200F_200F_200F_202E_202A_202C_202D_200F_206E_200D_202A_206A_206D_202A_202C_200D_200C_206F_206F_206C_206F_200F_206B_206C_200B_206E_200D_202E +{ + internal uint _200D_202E_206C_200D_202C_202B_200B_202B_206F_202D_200E_202C_200E_206B_206D_200D_206E_206F_202C_202E_206F_200F_200E_202A_206D_206B_200D_200F_206F_202E_206F_206C_206F_200C_200E_200D_202D_206B_200D_200E_202E; + + internal uint _206F_206B_206E_206D_206D_200F_200E_206B_202D_206D_200B_202E_206C_206A_206C_200C_202B_200F_206D_206F_202A_206E_206E_202B_206B_200C_206C_200B_206A_206C_206E_206E_200D_206A_206C_206A_206E_202A_200C_202C_202E; + + internal Stream _200B_200C_202C_206D_200E_200E_202C_200B_200C_200B_202C_206E_200E_202D_200E_200B_202B_206B_200B_202C_200C_202C_206D_206D_206D_202B_206A_202D_200E_200F_200C_200F_200E_206E_206A_200D_202D_200E_206A_206A_202E; + + internal void _200D_200B_200B_200B_200C_206E_206E_202A_202A_206D_206F_202C_200D_206A_206A_206D_206E_206C_206C_200D_202E_200D_200F_202D_200F_202E_200D_202E_206A_206B_200D_200E_200E_202C_206E_200E_200B_202E_206B_206E_202E(Stream stream) + { + _200B_200C_202C_206D_200E_200E_202C_200B_200C_200B_202C_206E_200E_202D_200E_200B_202B_206B_200B_202C_200C_202C_206D_206D_206D_202B_206A_202D_200E_200F_200C_200F_200E_206E_206A_200D_202D_200E_206A_206A_202E = stream; + _200D_202E_206C_200D_202C_202B_200B_202B_206F_202D_200E_202C_200E_206B_206D_200D_206E_206F_202C_202E_206F_200F_200E_202A_206D_206B_200D_200F_206F_202E_206F_206C_206F_200C_200E_200D_202D_206B_200D_200E_202E = 0u; + _206F_206B_206E_206D_206D_200F_200E_206B_202D_206D_200B_202E_206C_206A_206C_200C_202B_200F_206D_206F_202A_206E_206E_202B_206B_200C_206C_200B_206A_206C_206E_206E_200D_206A_206C_206A_206E_202A_200C_202C_202E = uint.MaxValue; + int num = 0; + while (num < 5) + { + _200D_202E_206C_200D_202C_202B_200B_202B_206F_202D_200E_202C_200E_206B_206D_200D_206E_206F_202C_202E_206F_200F_200E_202A_206D_206B_200D_200F_206F_202E_206F_206C_206F_200C_200E_200D_202D_206B_200D_200E_202E = (_200D_202E_206C_200D_202C_202B_200B_202B_206F_202D_200E_202C_200E_206B_206D_200D_206E_206F_202C_202E_206F_200F_200E_202A_206D_206B_200D_200F_206F_202E_206F_206C_206F_200C_200E_200D_202D_206B_200D_200E_202E << 8) | (byte)_200B_200C_202C_206D_200E_200E_202C_200B_200C_200B_202C_206E_200E_202D_200E_200B_202B_206B_200B_202C_200C_202C_206D_206D_206D_202B_206A_202D_200E_200F_200C_200F_200E_206E_206A_200D_202D_200E_206A_206A_202E.ReadByte(); + int num2 = num; + int num3 = 1; + int num4 = num2; + num = (num4 | num3) + (num4 & num3); + } + } + + internal void _202B_200F_202D_202E_206A_200B_202C_200D_200F_206A_202C_206C_202D_202B_200C_206A_200E_206B_206E_200B_206E_200F_200E_200C_206F_200B_202D_206B_206F_200E_200F_206F_202A_200B_200C_200C_202E_206C_200B_202A_202E() + { + _200B_200C_202C_206D_200E_200E_202C_200B_200C_200B_202C_206E_200E_202D_200E_200B_202B_206B_200B_202C_200C_202C_206D_206D_206D_202B_206A_202D_200E_200F_200C_200F_200E_206E_206A_200D_202D_200E_206A_206A_202E = null; + } + + internal void _200C_202D_206A_202C_206A_206C_202D_200F_206C_200F_206B_202C_202A_200F_200D_206D_206B_206C_206C_206F_200C_202D_202E_206B_200B_200E_200C_206D_202E_202C_200F_200F_206A_202B_206D_202E_206B_200E_202A_202E_202E() + { + while (_206F_206B_206E_206D_206D_200F_200E_206B_202D_206D_200B_202E_206C_206A_206C_200C_202B_200F_206D_206F_202A_206E_206E_202B_206B_200C_206C_200B_206A_206C_206E_206E_200D_206A_206C_206A_206E_202A_200C_202C_202E < 16777216) + { + _200D_202E_206C_200D_202C_202B_200B_202B_206F_202D_200E_202C_200E_206B_206D_200D_206E_206F_202C_202E_206F_200F_200E_202A_206D_206B_200D_200F_206F_202E_206F_206C_206F_200C_200E_200D_202D_206B_200D_200E_202E = (_200D_202E_206C_200D_202C_202B_200B_202B_206F_202D_200E_202C_200E_206B_206D_200D_206E_206F_202C_202E_206F_200F_200E_202A_206D_206B_200D_200F_206F_202E_206F_206C_206F_200C_200E_200D_202D_206B_200D_200E_202E << 8) | (byte)_200B_200C_202C_206D_200E_200E_202C_200B_200C_200B_202C_206E_200E_202D_200E_200B_202B_206B_200B_202C_200C_202C_206D_206D_206D_202B_206A_202D_200E_200F_200C_200F_200E_206E_206A_200D_202D_200E_206A_206A_202E.ReadByte(); + _206F_206B_206E_206D_206D_200F_200E_206B_202D_206D_200B_202E_206C_206A_206C_200C_202B_200F_206D_206F_202A_206E_206E_202B_206B_200C_206C_200B_206A_206C_206E_206E_200D_206A_206C_206A_206E_202A_200C_202C_202E <<= 8; + } + } + + internal uint _200D_200D_206D_200E_206D_200C_202B_206E_202D_200D_206F_200E_200F_206E_200B_200C_202E_206F_206C_200D_200B_200B_202C_206D_200E_202E_202B_202D_200D_200F_200B_200B_200B_200D_202D_206E_200E_200D_200E_200F_202E(int numTotalBits) + { + uint num = _206F_206B_206E_206D_206D_200F_200E_206B_202D_206D_200B_202E_206C_206A_206C_200C_202B_200F_206D_206F_202A_206E_206E_202B_206B_200C_206C_200B_206A_206C_206E_206E_200D_206A_206C_206A_206E_202A_200C_202C_202E; + uint num2 = _200D_202E_206C_200D_202C_202B_200B_202B_206F_202D_200E_202C_200E_206B_206D_200D_206E_206F_202C_202E_206F_200F_200E_202A_206D_206B_200D_200F_206F_202E_206F_206C_206F_200C_200E_200D_202D_206B_200D_200E_202E; + uint num3 = 0u; + int num4 = numTotalBits; + while (num4 > 0) + { + num >>= 1; + uint num5 = num2; + int num6 = (int)num; + int num7 = (int)num5; + uint num8 = (uint)(~(~num7 + num6)) >> 31; + uint num9 = num2; + uint num10 = num; + num6 = 1; + num7 = (int)num8; + num6 = ~(~num7 + num6); + num7 = (int)num10; + num6 = num7 + num6 - (num7 | num6); + num7 = (int)num9; + num2 = (uint)(~(~num7 + num6)); + uint num11 = num3 << 1; + num6 = (int)num8; + num7 = 1; + num6 = ~(~num7 + num6); + num7 = (int)num11; + num3 = (uint)(num7 + num6 - (num7 & num6)); + if (num < 16777216) + { + num2 = (num2 << 8) | (byte)_200B_200C_202C_206D_200E_200E_202C_200B_200C_200B_202C_206E_200E_202D_200E_200B_202B_206B_200B_202C_200C_202C_206D_206D_206D_202B_206A_202D_200E_200F_200C_200F_200E_206E_206A_200D_202D_200E_206A_206A_202E.ReadByte(); + num <<= 8; + } + int num12 = num4; + num6 = 1; + num7 = num12; + num4 = ~(~num7 + num6); + } + _206F_206B_206E_206D_206D_200F_200E_206B_202D_206D_200B_202E_206C_206A_206C_200C_202B_200F_206D_206F_202A_206E_206E_202B_206B_200C_206C_200B_206A_206C_206E_206E_200D_206A_206C_206A_206E_202A_200C_202C_202E = num; + _200D_202E_206C_200D_202C_202B_200B_202B_206F_202D_200E_202C_200E_206B_206D_200D_206E_206F_202C_202E_206F_200F_200E_202A_206D_206B_200D_200F_206F_202E_206F_206C_206F_200C_200E_200D_202D_206B_200D_200E_202E = num2; + return num3; + } + + internal _206D_206A_202C_202E_206A_200E_202E_200C_206F_202D_200D_200D_202B_200F_200F_200F_202E_202A_202C_202D_200F_206E_200D_202A_206A_206D_202A_202C_200D_200C_206F_206F_206C_206F_200F_206B_206C_200B_206E_200D_202E() + { + } +} +internal class _202C_206C_202B_202E_206F_200E_206B_206E_200E_202B_206C_206F_206A_200E_202C_206C_206E_202D_206A_202B_202C_206E_202B_200C_206A_200C_206B_202E_200E_202C_202D_200F_206F_206A_202B_206A_200D_200F_200E_200F_202E +{ + internal class _206F_200D_200E_200E_202D_202D_200E_202C_206A_206B_206E_200B_206E_200D_206D_202E_202C_200F_200E_206E_202A_202D_202C_206A_200C_206B_202B_202C_206B_206F_200C_202B_202A_206C_206B_200F_200B_206F_200B_206C_202E + { + internal readonly _206F_206E_202A_200E_202B_202B_206D_202B_200F_206B_206B_206C_202E_202D_200E_206F_200F_202A_200B_206B_202E_206E_200F_200D_202E_206A_200C_202A_206A_202B_202B_202D_202B_202B_206B_202C_202C_202A_200D_206A_202E[] _202B_206D_206C_202A_202A_206A_202C_200E_200B_202D_206A_200E_206C_206D_206A_206A_202C_200E_200F_206C_206B_202E_206C_202D_202E_202A_206C_200F_202D_206F_200B_206D_206E_206B_202B_202C_206C_206F_202B_200C_202E = new _206F_206E_202A_200E_202B_202B_206D_202B_200F_206B_206B_206C_202E_202D_200E_206F_200F_202A_200B_206B_202E_206E_200F_200D_202E_206A_200C_202A_206A_202B_202B_202D_202B_202B_206B_202C_202C_202A_200D_206A_202E[16]; + + internal readonly _206F_206E_202A_200E_202B_202B_206D_202B_200F_206B_206B_206C_202E_202D_200E_206F_200F_202A_200B_206B_202E_206E_200F_200D_202E_206A_200C_202A_206A_202B_202B_202D_202B_202B_206B_202C_202C_202A_200D_206A_202E[] _200E_206E_202A_206D_206A_206F_206C_206A_200B_206D_202D_200F_206A_200C_202D_206E_200B_202E_200C_200F_200D_206E_206C_206A_200F_200C_200B_200F_202E_200B_206D_200C_202A_200E_206D_206F_202D_200B_202B_200E_202E = new _206F_206E_202A_200E_202B_202B_206D_202B_200F_206B_206B_206C_202E_202D_200E_206F_200F_202A_200B_206B_202E_206E_200F_200D_202E_206A_200C_202A_206A_202B_202B_202D_202B_202B_206B_202C_202C_202A_200D_206A_202E[16]; + + internal _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E _200E_200C_200B_206A_202D_206B_202A_206B_206E_200E_202C_206F_202A_206A_206D_200C_202B_200D_206C_202D_206D_206B_202B_206D_202B_206D_200C_202A_200F_200D_202D_202E_206F_202B_202C_202B_206B_206F_202E_202E; + + internal _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E _206F_202E_202B_206A_206B_202B_202C_202E_200F_202D_206F_200F_202E_202A_206D_206A_206E_202E_202C_206F_202E_202E_200D_202E_200B_206A_200F_202B_200C_202B_200D_206D_202C_200F_206A_206E_202A_202A_206B_202A_202E; + + internal _206F_206E_202A_200E_202B_202B_206D_202B_200F_206B_206B_206C_202E_202D_200E_206F_200F_202A_200B_206B_202E_206E_200F_200D_202E_206A_200C_202A_206A_202B_202B_202D_202B_202B_206B_202C_202C_202A_200D_206A_202E _206C_206E_202E_206A_200E_206F_202D_200E_202A_206E_202E_202C_200D_206F_202E_202B_202B_200E_206F_200D_202E_202E_202B_206F_200F_206F_200C_206A_200D_200B_202D_206B_200D_202B_206C_200E_200C_202D_206F_200C_202E = new _206F_206E_202A_200E_202B_202B_206D_202B_200F_206B_206B_206C_202E_202D_200E_206F_200F_202A_200B_206B_202E_206E_200F_200D_202E_206A_200C_202A_206A_202B_202B_202D_202B_202B_206B_202C_202C_202A_200D_206A_202E(8); + + internal uint _202B_206D_200F_206E_206D_200E_200D_206D_202B_202A_202B_202B_206C_200F_202B_206E_206F_200F_202B_206F_202B_206B_206A_200E_202E_200D_206A_206B_202B_200F_202B_206F_206F_200F_206A_206C_206B_202E_200C_206B_202E; + + internal void _206E_206E_200B_202B_206F_202B_206B_200E_206D_202D_200E_202A_206B_202B_206C_206B_200C_200B_200D_206E_202A_200C_200D_200E_200F_202A_206F_202D_202B_200D_200F_200F_202E_206A_202D_202B_200D_200D_200F_202D_202E(uint numPosStates) + { + uint num = _202B_206D_200F_206E_206D_200E_200D_206D_202B_202A_202B_202B_206C_200F_202B_206E_206F_200F_202B_206F_202B_206B_206A_200E_202E_200D_206A_206B_202B_200F_202B_206F_206F_200F_206A_206C_206B_202E_200C_206B_202E; + while (num < numPosStates) + { + _202B_206D_206C_202A_202A_206A_202C_200E_200B_202D_206A_200E_206C_206D_206A_206A_202C_200E_200F_206C_206B_202E_206C_202D_202E_202A_206C_200F_202D_206F_200B_206D_206E_206B_202B_202C_206C_206F_202B_200C_202E[num] = new _206F_206E_202A_200E_202B_202B_206D_202B_200F_206B_206B_206C_202E_202D_200E_206F_200F_202A_200B_206B_202E_206E_200F_200D_202E_206A_200C_202A_206A_202B_202B_202D_202B_202B_206B_202C_202C_202A_200D_206A_202E(3); + _200E_206E_202A_206D_206A_206F_206C_206A_200B_206D_202D_200F_206A_200C_202D_206E_200B_202E_200C_200F_200D_206E_206C_206A_200F_200C_200B_200F_202E_200B_206D_200C_202A_200E_206D_206F_202D_200B_202B_200E_202E[num] = new _206F_206E_202A_200E_202B_202B_206D_202B_200F_206B_206B_206C_202E_202D_200E_206F_200F_202A_200B_206B_202E_206E_200F_200D_202E_206A_200C_202A_206A_202B_202B_202D_202B_202B_206B_202C_202C_202A_200D_206A_202E(3); + uint num2 = num; + int num3 = 1; + int num4 = (int)num2; + num = (uint)((num4 | num3) + (num4 & num3)); + } + _202B_206D_200F_206E_206D_200E_200D_206D_202B_202A_202B_202B_206C_200F_202B_206E_206F_200F_202B_206F_202B_206B_206A_200E_202E_200D_206A_206B_202B_200F_202B_206F_206F_200F_206A_206C_206B_202E_200C_206B_202E = numPosStates; + } + + internal void _200C_200E_202C_206C_206D_200E_200B_206D_202D_206E_206F_202A_206E_200C_202C_206B_206C_206B_202B_206C_200C_200D_202E_206F_200C_200F_206E_200E_206C_202A_206C_202C_206A_206C_206D_202D_202A_200D_206C_200E_202E() + { + _200E_200C_200B_206A_202D_206B_202A_206B_206E_200E_202C_206F_202A_206A_206D_200C_202B_200D_206C_202D_206D_206B_202B_206D_202B_206D_200C_202A_200F_200D_202D_202E_206F_202B_202C_202B_206B_206F_202E_202E._206C_200C_206A_202C_206A_202C_202A_206A_200B_200C_202B_206F_206E_206F_200E_206D_206D_200E_202D_202A_206E_206C_202A_202D_206A_200D_200E_206A_202D_206D_202E_202A_206B_206D_206A_206B_206E_200D_202E_206F_202E(); + uint num = 0u; + while (num < _202B_206D_200F_206E_206D_200E_200D_206D_202B_202A_202B_202B_206C_200F_202B_206E_206F_200F_202B_206F_202B_206B_206A_200E_202E_200D_206A_206B_202B_200F_202B_206F_206F_200F_206A_206C_206B_202E_200C_206B_202E) + { + _202B_206D_206C_202A_202A_206A_202C_200E_200B_202D_206A_200E_206C_206D_206A_206A_202C_200E_200F_206C_206B_202E_206C_202D_202E_202A_206C_200F_202D_206F_200B_206D_206E_206B_202B_202C_206C_206F_202B_200C_202E[num]._206C_200D_200F_200C_200E_202A_200B_200E_202B_206C_206A_206E_200D_200B_206D_206F_206A_202E_200C_202C_206A_202E_206F_206E_200B_206D_206E_202B_200B_202C_206B_200C_206B_206D_206D_200B_200B_200E_206E_202E_202E(); + _200E_206E_202A_206D_206A_206F_206C_206A_200B_206D_202D_200F_206A_200C_202D_206E_200B_202E_200C_200F_200D_206E_206C_206A_200F_200C_200B_200F_202E_200B_206D_200C_202A_200E_206D_206F_202D_200B_202B_200E_202E[num]._206C_200D_200F_200C_200E_202A_200B_200E_202B_206C_206A_206E_200D_200B_206D_206F_206A_202E_200C_202C_206A_202E_206F_206E_200B_206D_206E_202B_200B_202C_206B_200C_206B_206D_206D_200B_200B_200E_206E_202E_202E(); + uint num2 = num; + int num3 = 1; + int num4 = (int)num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = (uint)(num5 + (num6 + num6)); + } + _206F_202E_202B_206A_206B_202B_202C_202E_200F_202D_206F_200F_202E_202A_206D_206A_206E_202E_202C_206F_202E_202E_200D_202E_200B_206A_200F_202B_200C_202B_200D_206D_202C_200F_206A_206E_202A_202A_206B_202A_202E._206C_200C_206A_202C_206A_202C_202A_206A_200B_200C_202B_206F_206E_206F_200E_206D_206D_200E_202D_202A_206E_206C_202A_202D_206A_200D_200E_206A_202D_206D_202E_202A_206B_206D_206A_206B_206E_200D_202E_206F_202E(); + _206C_206E_202E_206A_200E_206F_202D_200E_202A_206E_202E_202C_200D_206F_202E_202B_202B_200E_206F_200D_202E_202E_202B_206F_200F_206F_200C_206A_200D_200B_202D_206B_200D_202B_206C_200E_200C_202D_206F_200C_202E._206C_200D_200F_200C_200E_202A_200B_200E_202B_206C_206A_206E_200D_200B_206D_206F_206A_202E_200C_202C_206A_202E_206F_206E_200B_206D_206E_202B_200B_202C_206B_200C_206B_206D_206D_200B_200B_200E_206E_202E_202E(); + } + + internal uint _206C_200C_202D_206D_202E_206A_200E_200C_206C_200B_206D_200F_206D_202D_206F_200B_202B_202D_206A_200B_202E_206B_206D_200E_206E_202E_200E_200E_202B_206E_206D_206E_202D_200C_200C_202E_206B_206F_200C_200D_202E(_206D_206A_202C_202E_206A_200E_202E_200C_206F_202D_200D_200D_202B_200F_200F_200F_202E_202A_202C_202D_200F_206E_200D_202A_206A_206D_202A_202C_200D_200C_206F_206F_206C_206F_200F_206B_206C_200B_206E_200D_202E rangeDecoder, uint posState) + { + if (_200E_200C_200B_206A_202D_206B_202A_206B_206E_200E_202C_206F_202A_206A_206D_200C_202B_200D_206C_202D_206D_206B_202B_206D_202B_206D_200C_202A_200F_200D_202D_202E_206F_202B_202C_202B_206B_206F_202E_202E._206B_202A_200C_202D_202C_206E_200E_202A_206F_200F_206C_200B_202C_200D_202B_206E_202A_202D_206D_206A_206F_202C_206B_206E_200C_202E_206D_206C_202E_200F_200C_200F_200E_206A_206B_202C_200E_206C_202B_200C_202E(rangeDecoder) == 0) + { + return _202B_206D_206C_202A_202A_206A_202C_200E_200B_202D_206A_200E_206C_206D_206A_206A_202C_200E_200F_206C_206B_202E_206C_202D_202E_202A_206C_200F_202D_206F_200B_206D_206E_206B_202B_202C_206C_206F_202B_200C_202E[posState]._202D_206E_202D_200B_202D_206F_200B_202E_206F_206E_206F_202B_202B_206E_200B_200B_202A_200C_206F_200E_202B_206A_202A_202C_206C_206F_206A_206E_202E_202B_202B_206D_200B_200E_202B_202A_206B_200F_200D_206C_202E(rangeDecoder); + } + uint num = 8u; + if (_206F_202E_202B_206A_206B_202B_202C_202E_200F_202D_206F_200F_202E_202A_206D_206A_206E_202E_202C_206F_202E_202E_200D_202E_200B_206A_200F_202B_200C_202B_200D_206D_202C_200F_206A_206E_202A_202A_206B_202A_202E._206B_202A_200C_202D_202C_206E_200E_202A_206F_200F_206C_200B_202C_200D_202B_206E_202A_202D_206D_206A_206F_202C_206B_206E_200C_202E_206D_206C_202E_200F_200C_200F_200E_206A_206B_202C_200E_206C_202B_200C_202E(rangeDecoder) == 0) + { + return num + _200E_206E_202A_206D_206A_206F_206C_206A_200B_206D_202D_200F_206A_200C_202D_206E_200B_202E_200C_200F_200D_206E_206C_206A_200F_200C_200B_200F_202E_200B_206D_200C_202A_200E_206D_206F_202D_200B_202B_200E_202E[posState]._202D_206E_202D_200B_202D_206F_200B_202E_206F_206E_206F_202B_202B_206E_200B_200B_202A_200C_206F_200E_202B_206A_202A_202C_206C_206F_206A_206E_202E_202B_202B_206D_200B_200E_202B_202A_206B_200F_200D_206C_202E(rangeDecoder); + } + uint num2 = num; + int num3 = 8; + int num4 = (int)num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = (uint)(num5 + (num6 + num6)); + return num + _206C_206E_202E_206A_200E_206F_202D_200E_202A_206E_202E_202C_200D_206F_202E_202B_202B_200E_206F_200D_202E_202E_202B_206F_200F_206F_200C_206A_200D_200B_202D_206B_200D_202B_206C_200E_200C_202D_206F_200C_202E._202D_206E_202D_200B_202D_206F_200B_202E_206F_206E_206F_202B_202B_206E_200B_200B_202A_200C_206F_200E_202B_206A_202A_202C_206C_206F_206A_206E_202E_202B_202B_206D_200B_200E_202B_202A_206B_200F_200D_206C_202E(rangeDecoder); + } + + internal _206F_200D_200E_200E_202D_202D_200E_202C_206A_206B_206E_200B_206E_200D_206D_202E_202C_200F_200E_206E_202A_202D_202C_206A_200C_206B_202B_202C_206B_206F_200C_202B_202A_206C_206B_200F_200B_206F_200B_206C_202E() + { + } + } + + internal class _200F_206B_202D_202A_206D_202D_202B_200B_200F_206B_200D_206E_202E_200F_200E_206B_206F_206A_206E_206F_200C_200D_202E_202E_206A_206E_202D_206B_202A_200D_202E_206B_206C_206D_206A_202B_206A_200D_202A_202E + { + internal struct _202B_200B_206B_200C_200C_200F_200E_200F_202A_200F_200B_206C_202D_202E_200E_200D_206A_202D_200B_200D_202D_200E_202D_202B_206F_200F_200D_200D_202B_202C_200E_206C_202C_200E_206C_206C_202C_206E_206F_200D_202E + { + internal _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E[] _206F_206E_202E_206A_200C_200D_206B_206B_206C_206E_206D_202C_202C_202D_202A_202C_206F_200C_206E_202A_206A_206E_200B_202E_202E_206C_206C_206C_206B_206B_202D_206C_206E_206A_206A_200C_200D_202B_200D_200D_202E; + + internal void _200B_202C_206D_202A_202E_200B_200D_202A_200C_200F_202B_200B_200B_202A_200B_202A_206E_202D_200B_202C_200E_202C_206B_202C_206B_202E_206E_206C_200E_200E_202A_200C_206A_200F_206C_200E_206F_200C_200E_202E_202E() + { + _206F_206E_202E_206A_200C_200D_206B_206B_206C_206E_206D_202C_202C_202D_202A_202C_206F_200C_206E_202A_206A_206E_200B_202E_202E_206C_206C_206C_206B_206B_202D_206C_206E_206A_206A_200C_200D_202B_200D_200D_202E = new _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E[768]; + } + + internal void _206E_200E_200C_200C_202A_200F_206C_200D_200C_206A_202A_200F_206C_202C_206F_200F_200D_200C_206B_206B_202D_202D_206E_200C_202E_200E_200C_200E_202A_206D_200C_200F_202C_202A_202C_200B_200E_202E_202B_206A_202E() + { + int num = 0; + while (num < 768) + { + _206F_206E_202E_206A_200C_200D_206B_206B_206C_206E_206D_202C_202C_202D_202A_202C_206F_200C_206E_202A_206A_206E_200B_202E_202E_206C_206C_206C_206B_206B_202D_206C_206E_206A_206A_200C_200D_202B_200D_200D_202E[num]._206C_200C_206A_202C_206A_202C_202A_206A_200B_200C_202B_206F_206E_206F_200E_206D_206D_200E_202D_202A_206E_206C_202A_202D_206A_200D_200E_206A_202D_206D_202E_202A_206B_206D_206A_206B_206E_200D_202E_206F_202E(); + int num2 = num; + int num3 = 1; + int num4 = num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = num5 + (num6 + num6); + } + } + + internal byte _202B_202A_206B_206B_206F_206A_206F_206F_200C_200F_202C_206B_202E_206E_206C_200D_200B_200F_206A_202A_200C_202E_200D_206C_202A_200D_206A_200E_200C_206A_200E_200E_206F_202B_206B_202D_200E_206A_202B_202E_202E(_206D_206A_202C_202E_206A_200E_202E_200C_206F_202D_200D_200D_202B_200F_200F_200F_202E_202A_202C_202D_200F_206E_200D_202A_206A_206D_202A_202C_200D_200C_206F_206F_206C_206F_200F_206B_206C_200B_206E_200D_202E rangeDecoder) + { + uint num = 1u; + do + { + num = (num << 1) | _206F_206E_202E_206A_200C_200D_206B_206B_206C_206E_206D_202C_202C_202D_202A_202C_206F_200C_206E_202A_206A_206E_200B_202E_202E_206C_206C_206C_206B_206B_202D_206C_206E_206A_206A_200C_200D_202B_200D_200D_202E[num]._206B_202A_200C_202D_202C_206E_200E_202A_206F_200F_206C_200B_202C_200D_202B_206E_202A_202D_206D_206A_206F_202C_206B_206E_200C_202E_206D_206C_202E_200F_200C_200F_200E_206A_206B_202C_200E_206C_202B_200C_202E(rangeDecoder); + } + while (num < 256); + return (byte)num; + } + + internal byte _202C_206E_202C_202A_202B_200F_206F_200F_206D_202A_206E_206B_200E_200D_200C_206B_206E_202D_200F_200C_206B_206C_206A_206A_206F_200B_206C_200F_206A_206E_206F_202E_200D_206C_206D_200C_202D_206C_202B_202C_202E(_206D_206A_202C_202E_206A_200E_202E_200C_206F_202D_200D_200D_202B_200F_200F_200F_202E_202A_202C_202D_200F_206E_200D_202A_206A_206D_202A_202C_200D_200C_206F_206F_206C_206F_200F_206B_206C_200B_206E_200D_202E rangeDecoder, byte matchByte) + { + uint num = 1u; + do + { + int num2 = matchByte >> 7; + int num3 = 1; + int num4 = num2; + uint num5 = (uint)((num4 | num3) - (num4 ^ num3)); + matchByte <<= 1; + _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E[] array = _206F_206E_202E_206A_200C_200D_206B_206B_206C_206E_206D_202C_202C_202D_202A_202C_206F_200C_206E_202A_206A_206E_200B_202E_202E_206C_206C_206C_206B_206B_202D_206C_206E_206A_206A_200C_200D_202B_200D_200D_202E; + num3 = (int)num5; + num4 = 1; + int num6 = num4 ^ num3; + int num7 = num4 & num3; + int num8 = num6 + (num7 + num7) << 8; + num3 = (int)num; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + uint num11 = array[num9 + (num10 + num10)]._206B_202A_200C_202D_202C_206E_200E_202A_206F_200F_206C_200B_202C_200D_202B_206E_202A_202D_206D_206A_206F_202C_206B_206E_200C_202E_206D_206C_202E_200F_200C_200F_200E_206A_206B_202C_200E_206C_202B_200C_202E(rangeDecoder); + uint num12 = num << 1; + num3 = (int)num11; + num4 = (int)num12; + num = (uint)(num4 + num3 - (num4 & num3)); + if (num5 != num11) + { + while (num < 256) + { + num = (num << 1) | _206F_206E_202E_206A_200C_200D_206B_206B_206C_206E_206D_202C_202C_202D_202A_202C_206F_200C_206E_202A_206A_206E_200B_202E_202E_206C_206C_206C_206B_206B_202D_206C_206E_206A_206A_200C_200D_202B_200D_200D_202E[num]._206B_202A_200C_202D_202C_206E_200E_202A_206F_200F_206C_200B_202C_200D_202B_206E_202A_202D_206D_206A_206F_202C_206B_206E_200C_202E_206D_206C_202E_200F_200C_200F_200E_206A_206B_202C_200E_206C_202B_200C_202E(rangeDecoder); + } + break; + } + } + while (num < 256); + return (byte)num; + } + } + + internal _202B_200B_206B_200C_200C_200F_200E_200F_202A_200F_200B_206C_202D_202E_200E_200D_206A_202D_200B_200D_202D_200E_202D_202B_206F_200F_200D_200D_202B_202C_200E_206C_202C_200E_206C_206C_202C_206E_206F_200D_202E[] _202A_202B_202B_202B_202B_200D_206E_206C_200B_206A_206D_206F_202D_200B_200E_202C_206A_200D_206A_206C_206C_206D_206F_202A_206B_200B_206B_206A_206C_202D_206B_200D_202E_202E_202B_202B_206A_200E_200E_202A_202E; + + internal int _202E_206A_202B_200C_202B_206F_202E_200C_202E_206E_202C_200C_200C_202A_200E_200D_206B_200C_206F_202C_200E_200F_202E_206D_200C_206B_202B_206F_200B_206E_200C_202A_202A_200D_200F_206D_206D_202E_206B_200C_202E; + + internal int _206E_206B_206B_206A_202C_206F_200E_202C_202D_206B_206C_200B_206D_200F_206F_206D_200C_202E_200D_202E_200B_202C_200C_206B_200D_206B_206E_206C_202B_200B_206D_206E_200B_200F_206E_206B_202E_206A_206A_202B_202E; + + internal uint _206C_200C_200B_200E_202E_206B_200E_206B_206B_202E_200F_206C_206C_202B_200C_200E_200B_200B_202A_202D_206A_206B_202A_202B_206A_202B_202A_206F_200F_206D_200D_206A_202E_202A_200B_202C_200C_206D_200C_202D_202E; + + internal void _206E_206A_200D_200D_206C_206A_200E_200B_200B_200C_200D_200F_200B_206F_206E_202E_206E_200E_202C_200D_202D_206B_206A_206E_202E_202C_202E_206C_202B_200D_200C_200D_202A_200C_202E_206A_202E_206D_206C_200F_202E(int numPosBits, int numPrevBits) + { + if (_202A_202B_202B_202B_202B_200D_206E_206C_200B_206A_206D_206F_202D_200B_200E_202C_206A_200D_206A_206C_206C_206D_206F_202A_206B_200B_206B_206A_206C_202D_206B_200D_202E_202E_202B_202B_206A_200E_200E_202A_202E == null || _206E_206B_206B_206A_202C_206F_200E_202C_202D_206B_206C_200B_206D_200F_206F_206D_200C_202E_200D_202E_200B_202C_200C_206B_200D_206B_206E_206C_202B_200B_206D_206E_200B_200F_206E_206B_202E_206A_206A_202B_202E != numPrevBits || _202E_206A_202B_200C_202B_206F_202E_200C_202E_206E_202C_200C_200C_202A_200E_200D_206B_200C_206F_202C_200E_200F_202E_206D_200C_206B_202B_206F_200B_206E_200C_202A_202A_200D_200F_206D_206D_202E_206B_200C_202E != numPosBits) + { + _202E_206A_202B_200C_202B_206F_202E_200C_202E_206E_202C_200C_200C_202A_200E_200D_206B_200C_206F_202C_200E_200F_202E_206D_200C_206B_202B_206F_200B_206E_200C_202A_202A_200D_200F_206D_206D_202E_206B_200C_202E = numPosBits; + int num = 31; + int num2 = numPosBits; + int num3 = 1 << (num2 | num) - (num2 ^ num); + num = 1; + num2 = num3; + _206C_200C_200B_200E_202E_206B_200E_206B_206B_202E_200F_206C_206C_202B_200C_200E_200B_200B_202A_202D_206A_206B_202A_202B_206A_202B_202A_206F_200F_206D_200D_206A_202E_202A_200B_202C_200C_206D_200C_202D_202E = (uint)(~(~num2 + num)); + _206E_206B_206B_206A_202C_206F_200E_202C_202D_206B_206C_200B_206D_200F_206F_206D_200C_202E_200D_202E_200B_202C_200C_206B_200D_206B_206E_206C_202B_200B_206D_206E_200B_200F_206E_206B_202E_206A_206A_202B_202E = numPrevBits; + int num4 = _206E_206B_206B_206A_202C_206F_200E_202C_202D_206B_206C_200B_206D_200F_206F_206D_200C_202E_200D_202E_200B_202C_200C_206B_200D_206B_206E_206C_202B_200B_206D_206E_200B_200F_206E_206B_202E_206A_206A_202B_202E; + num = _202E_206A_202B_200C_202B_206F_202E_200C_202E_206E_202C_200C_200C_202A_200E_200D_206B_200C_206F_202C_200E_200F_202E_206D_200C_206B_202B_206F_200B_206E_200C_202A_202A_200D_200F_206D_206D_202E_206B_200C_202E; + num2 = num4; + int num5 = num2 ^ num; + int num6 = num2 & num; + int num7 = num5 + (num6 + num6); + num = 31; + num2 = num7; + uint num8 = (uint)(1 << num2 + num - (num2 | num)); + _202A_202B_202B_202B_202B_200D_206E_206C_200B_206A_206D_206F_202D_200B_200E_202C_206A_200D_206A_206C_206C_206D_206F_202A_206B_200B_206B_206A_206C_202D_206B_200D_202E_202E_202B_202B_206A_200E_200E_202A_202E = new _202B_200B_206B_200C_200C_200F_200E_200F_202A_200F_200B_206C_202D_202E_200E_200D_206A_202D_200B_200D_202D_200E_202D_202B_206F_200F_200D_200D_202B_202C_200E_206C_202C_200E_206C_206C_202C_206E_206F_200D_202E[num8]; + for (uint num9 = 0u; num9 < num8; num9 = (uint)((num2 | num) + (num2 & num))) + { + _202A_202B_202B_202B_202B_200D_206E_206C_200B_206A_206D_206F_202D_200B_200E_202C_206A_200D_206A_206C_206C_206D_206F_202A_206B_200B_206B_206A_206C_202D_206B_200D_202E_202E_202B_202B_206A_200E_200E_202A_202E[num9]._200B_202C_206D_202A_202E_200B_200D_202A_200C_200F_202B_200B_200B_202A_200B_202A_206E_202D_200B_202C_200E_202C_206B_202C_206B_202E_206E_206C_200E_200E_202A_200C_206A_200F_206C_200E_206F_200C_200E_202E_202E(); + uint num10 = num9; + num = 1; + num2 = (int)num10; + } + } + } + + internal void _202D_202C_202E_206D_206E_202D_202B_202A_202A_202A_200F_206E_202A_206B_206D_200F_200E_200C_202D_206E_206A_202D_202D_202E_206F_200D_202E_202E_206B_202D_202E_200C_206C_202D_200D_202B_200C_202A_202A_206D_202E() + { + int num = _206E_206B_206B_206A_202C_206F_200E_202C_202D_206B_206C_200B_206D_200F_206F_206D_200C_202E_200D_202E_200B_202C_200C_206B_200D_206B_206E_206C_202B_200B_206D_206E_200B_200F_206E_206B_202E_206A_206A_202B_202E; + int num2 = _202E_206A_202B_200C_202B_206F_202E_200C_202E_206E_202C_200C_200C_202A_200E_200D_206B_200C_206F_202C_200E_200F_202E_206D_200C_206B_202B_206F_200B_206E_200C_202A_202A_200D_200F_206D_206D_202E_206B_200C_202E; + int num3 = num; + int num4 = num3 ^ num2; + int num5 = num3 & num2; + int num6 = num4 + (num5 + num5); + num2 = 31; + num3 = num6; + uint num7 = (uint)(1 << num3 + num2 - (num3 | num2)); + for (uint num8 = 0u; num8 < num7; num8 = (uint)((num3 | num2) + (num3 & num2))) + { + _202A_202B_202B_202B_202B_200D_206E_206C_200B_206A_206D_206F_202D_200B_200E_202C_206A_200D_206A_206C_206C_206D_206F_202A_206B_200B_206B_206A_206C_202D_206B_200D_202E_202E_202B_202B_206A_200E_200E_202A_202E[num8]._206E_200E_200C_200C_202A_200F_206C_200D_200C_206A_202A_200F_206C_202C_206F_200F_200D_200C_206B_206B_202D_202D_206E_200C_202E_200E_200C_200E_202A_206D_200C_200F_202C_202A_202C_200B_200E_202E_202B_206A_202E(); + uint num9 = num8; + num2 = 1; + num3 = (int)num9; + } + } + + internal uint _202E_206E_206D_200B_206D_202A_202E_200F_202A_206D_200E_206F_200E_200C_200F_206B_200F_200D_202D_202C_202A_202A_202A_202B_200B_202D_202D_206B_200B_200C_206C_202B_200C_206E_202A_200C_202A_206A_206E_200F_202E(uint pos, byte prevByte) + { + int num = (int)_206C_200C_200B_200E_202E_206B_200E_206B_206B_202E_200F_206C_206C_202B_200C_200E_200B_200B_202A_202D_206A_206B_202A_202B_206A_202B_202A_206F_200F_206D_200D_206A_202E_202A_200B_202C_200C_206D_200C_202D_202E; + int num2 = (int)pos; + int num3 = (num2 | num) - (num2 ^ num); + int num4 = _206E_206B_206B_206A_202C_206F_200E_202C_202D_206B_206C_200B_206D_200F_206F_206D_200C_202E_200D_202E_200B_202C_200C_206B_200D_206B_206E_206C_202B_200B_206D_206E_200B_200F_206E_206B_202E_206A_206A_202B_202E; + num = 31; + num2 = num4; + int num5 = num3 << num2 + num - (num2 | num); + num = _206E_206B_206B_206A_202C_206F_200E_202C_202D_206B_206C_200B_206D_200F_206F_206D_200C_202E_200D_202E_200B_202C_200C_206B_200D_206B_206E_206C_202B_200B_206D_206E_200B_200F_206E_206B_202E_206A_206A_202B_202E; + num2 = 8; + int num6 = ~(~num2 + num); + num = 31; + num2 = num6; + num = prevByte >> (num2 | num) - (num2 ^ num); + num2 = num5; + int num7 = num2 ^ num; + int num8 = num2 & num; + return (uint)(num7 + (num8 + num8)); + } + + internal byte _202D_200D_200C_200B_206D_206E_200C_206D_202E_206B_200E_202D_200C_200F_202C_202C_200E_202D_200D_206E_202B_206C_200B_200D_206E_200D_202E_202D_206C_200E_200D_206B_202D_206D_206D_206E_200F_202A_200C_202B_202E(_206D_206A_202C_202E_206A_200E_202E_200C_206F_202D_200D_200D_202B_200F_200F_200F_202E_202A_202C_202D_200F_206E_200D_202A_206A_206D_202A_202C_200D_200C_206F_206F_206C_206F_200F_206B_206C_200B_206E_200D_202E rangeDecoder, uint pos, byte prevByte) + { + return _202A_202B_202B_202B_202B_200D_206E_206C_200B_206A_206D_206F_202D_200B_200E_202C_206A_200D_206A_206C_206C_206D_206F_202A_206B_200B_206B_206A_206C_202D_206B_200D_202E_202E_202B_202B_206A_200E_200E_202A_202E[_202E_206E_206D_200B_206D_202A_202E_200F_202A_206D_200E_206F_200E_200C_200F_206B_200F_200D_202D_202C_202A_202A_202A_202B_200B_202D_202D_206B_200B_200C_206C_202B_200C_206E_202A_200C_202A_206A_206E_200F_202E(pos, prevByte)]._202B_202A_206B_206B_206F_206A_206F_206F_200C_200F_202C_206B_202E_206E_206C_200D_200B_200F_206A_202A_200C_202E_200D_206C_202A_200D_206A_200E_200C_206A_200E_200E_206F_202B_206B_202D_200E_206A_202B_202E_202E(rangeDecoder); + } + + internal byte _206C_202B_200E_200D_206E_200C_200E_200F_206B_202D_200B_206D_200B_202C_200B_200D_202A_200F_202E_200E_202A_206A_200D_200C_200D_206C_202E_200F_206E_200B_206B_202E_200B_206C_200C_200D_206B_200C_200E_202D_202E(_206D_206A_202C_202E_206A_200E_202E_200C_206F_202D_200D_200D_202B_200F_200F_200F_202E_202A_202C_202D_200F_206E_200D_202A_206A_206D_202A_202C_200D_200C_206F_206F_206C_206F_200F_206B_206C_200B_206E_200D_202E rangeDecoder, uint pos, byte prevByte, byte matchByte) + { + return _202A_202B_202B_202B_202B_200D_206E_206C_200B_206A_206D_206F_202D_200B_200E_202C_206A_200D_206A_206C_206C_206D_206F_202A_206B_200B_206B_206A_206C_202D_206B_200D_202E_202E_202B_202B_206A_200E_200E_202A_202E[_202E_206E_206D_200B_206D_202A_202E_200F_202A_206D_200E_206F_200E_200C_200F_206B_200F_200D_202D_202C_202A_202A_202A_202B_200B_202D_202D_206B_200B_200C_206C_202B_200C_206E_202A_200C_202A_206A_206E_200F_202E(pos, prevByte)]._202C_206E_202C_202A_202B_200F_206F_200F_206D_202A_206E_206B_200E_200D_200C_206B_206E_202D_200F_200C_206B_206C_206A_206A_206F_200B_206C_200F_206A_206E_206F_202E_200D_206C_206D_200C_202D_206C_202B_202C_202E(rangeDecoder, matchByte); + } + + internal _200F_206B_202D_202A_206D_202D_202B_200B_200F_206B_200D_206E_202E_200F_200E_206B_206F_206A_206E_206F_200C_200D_202E_202E_206A_206E_202D_206B_202A_200D_202E_206B_206C_206D_206A_202B_206A_200D_202A_202E() + { + } + } + + internal readonly _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E[] _206A_206C_206E_206D_202C_206C_206A_200C_200C_206A_202A_206D_200D_206B_200F_200D_202A_206D_206A_200E_206E_206D_200E_206C_202C_200B_202C_202E_202E_202D_206D_202D_202A_200C_206B_206D_200F_206B_206C_206C_202E = new _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E[192]; + + internal readonly _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E[] _202A_206E_200C_200F_202C_206A_200D_200F_206F_206C_200F_206A_202B_202A_202C_206E_200C_202E_206E_202E_206E_202C_200F_202C_200E_202C_206C_206E_202B_200D_206B_200D_202B_206A_202B_206B_202A_206C_206C_200E_202E = new _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E[192]; + + internal readonly _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E[] _200F_206F_200D_202D_200F_206B_202D_200D_206D_206B_200E_202B_202D_206B_200F_200C_200D_202C_206F_206D_202E_202C_202B_200C_200E_206D_202D_200B_200C_206C_202C_202C_200D_206F_206E_206C_206F_206A_202B_206C_202E = new _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E[12]; + + internal readonly _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E[] _206A_206A_202E_206F_202C_206C_200B_200B_200E_202D_202D_202B_202E_202A_200F_206A_206A_202D_206D_202D_200D_202A_200E_202E_200F_200F_200E_206D_202A_206D_200C_202E_202A_206D_206D_200F_202B_200E_202B_202D_202E = new _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E[12]; + + internal readonly _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E[] _202E_200C_200E_206E_200F_206B_200D_202E_206D_200B_206C_202D_202C_200F_202D_206D_200B_202C_200C_206D_200F_200B_202B_200F_200E_206A_202E_202B_200D_202D_202E_200C_200B_200E_202C_200E_206A_206F_200D_200E_202E = new _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E[12]; + + internal readonly _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E[] _206B_202C_206A_200D_202B_200E_200E_206D_200C_206C_200B_206A_206D_202C_202A_200D_202B_206B_206E_206E_202A_202D_200D_206F_206B_206A_206E_200B_200F_206F_202E_202D_202A_202E_202B_202D_202C_202C_202D_206C_202E = new _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E[12]; + + internal readonly _206F_200D_200E_200E_202D_202D_200E_202C_206A_206B_206E_200B_206E_200D_206D_202E_202C_200F_200E_206E_202A_202D_202C_206A_200C_206B_202B_202C_206B_206F_200C_202B_202A_206C_206B_200F_200B_206F_200B_206C_202E _206B_202B_206A_200E_206B_206A_200C_202C_200E_200F_200C_202E_202B_200E_202E_206E_206E_202B_206E_202D_200F_200C_202A_202E_202E_206D_202E_206A_200D_206E_200E_200F_200E_202D_200E_200E_206F_200C_206D_202A_202E = new _206F_200D_200E_200E_202D_202D_200E_202C_206A_206B_206E_200B_206E_200D_206D_202E_202C_200F_200E_206E_202A_202D_202C_206A_200C_206B_202B_202C_206B_206F_200C_202B_202A_206C_206B_200F_200B_206F_200B_206C_202E(); + + internal readonly _200F_206B_202D_202A_206D_202D_202B_200B_200F_206B_200D_206E_202E_200F_200E_206B_206F_206A_206E_206F_200C_200D_202E_202E_206A_206E_202D_206B_202A_200D_202E_206B_206C_206D_206A_202B_206A_200D_202A_202E _206C_206E_202B_202E_200B_206F_206A_206C_206C_206C_200D_206D_200E_202B_206D_200F_200D_206A_206A_202A_200F_202E_202D_200C_202E_200F_202A_200B_200C_200D_202A_202B_206E_202D_200F_200C_206F_200F_202B_202A_202E = new _200F_206B_202D_202A_206D_202D_202B_200B_200F_206B_200D_206E_202E_200F_200E_206B_206F_206A_206E_206F_200C_200D_202E_202E_206A_206E_202D_206B_202A_200D_202E_206B_206C_206D_206A_202B_206A_200D_202A_202E(); + + internal readonly _200F_202C_202E_206B_206E_200E_202A_206D_200F_202C_206C_202B_206F_202C_202A_206C_206C_200D_206D_206A_202B_206F_202D_202C_206B_202B_206D_206F_206A_202C_202A_206F_206A_200F_202B_206E_200B_200C_200B_202B_202E _202E_206E_200B_200F_202B_202A_202B_206E_202B_206F_206B_200D_200F_202B_202D_200D_200C_206D_200D_202C_202E_206C_206D_200F_202C_202E_206C_200F_202A_202A_206D_202C_200C_200F_200D_200F_200B_206E_206C_206F_202E = new _200F_202C_202E_206B_206E_200E_202A_206D_200F_202C_206C_202B_206F_202C_202A_206C_206C_200D_206D_206A_202B_206F_202D_202C_206B_202B_206D_206F_206A_202C_202A_206F_206A_200F_202B_206E_200B_200C_200B_202B_202E(); + + internal readonly _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E[] _206C_200F_206C_200F_206D_206F_206C_200F_206D_206C_200D_202B_206E_206C_202D_206E_206E_206C_202B_202B_206F_202E_200F_200E_206E_200C_206E_200C_200D_206B_200F_206B_206F_202C_206C_202B_200F_206B_202C_206C_202E = new _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E[114]; + + internal readonly _206F_206E_202A_200E_202B_202B_206D_202B_200F_206B_206B_206C_202E_202D_200E_206F_200F_202A_200B_206B_202E_206E_200F_200D_202E_206A_200C_202A_206A_202B_202B_202D_202B_202B_206B_202C_202C_202A_200D_206A_202E[] _200D_202E_206F_202A_202A_202B_202D_206A_206D_202E_206C_202D_200B_200F_202C_200F_206E_206C_206A_202B_206E_206B_200D_202B_206D_202A_200C_200B_200E_206E_200C_200B_206E_206F_202D_202B_206C_206F_202D_206D_202E = new _206F_206E_202A_200E_202B_202B_206D_202B_200F_206B_206B_206C_202E_202D_200E_206F_200F_202A_200B_206B_202E_206E_200F_200D_202E_206A_200C_202A_206A_202B_202B_202D_202B_202B_206B_202C_202C_202A_200D_206A_202E[4]; + + internal readonly _206D_206A_202C_202E_206A_200E_202E_200C_206F_202D_200D_200D_202B_200F_200F_200F_202E_202A_202C_202D_200F_206E_200D_202A_206A_206D_202A_202C_200D_200C_206F_206F_206C_206F_200F_206B_206C_200B_206E_200D_202E _200B_200B_202B_200F_206E_200E_202D_206A_206B_200E_200D_202E_200C_202E_202B_200E_200F_206E_202C_202C_202E_206B_202E_202C_200C_202B_206F_202D_206C_200F_206A_206A_206D_200F_200C_206C_206D_202B_200B_200F_202E = new _206D_206A_202C_202E_206A_200E_202E_200C_206F_202D_200D_200D_202B_200F_200F_200F_202E_202A_202C_202D_200F_206E_200D_202A_206A_206D_202A_202C_200D_200C_206F_206F_206C_206F_200F_206B_206C_200B_206E_200D_202E(); + + internal readonly _206F_200D_200E_200E_202D_202D_200E_202C_206A_206B_206E_200B_206E_200D_206D_202E_202C_200F_200E_206E_202A_202D_202C_206A_200C_206B_202B_202C_206B_206F_200C_202B_202A_206C_206B_200F_200B_206F_200B_206C_202E _206E_202B_200E_202E_206A_202D_200B_202E_206F_200B_202E_200F_200D_200C_206C_206D_202A_206A_202D_202D_206C_206B_200F_206A_206D_200F_200F_206C_202A_202C_206C_200C_200C_200F_206C_206A_202E_200B_202E_206B_202E = new _206F_200D_200E_200E_202D_202D_200E_202C_206A_206B_206E_200B_206E_200D_206D_202E_202C_200F_200E_206E_202A_202D_202C_206A_200C_206B_202B_202C_206B_206F_200C_202B_202A_206C_206B_200F_200B_206F_200B_206C_202E(); + + internal bool _202B_202E_202B_206B_200D_202D_206D_200E_202B_206F_202B_206C_200B_200D_206E_202B_206A_200F_206E_202D_206D_200C_200C_206F_202B_202B_200E_200D_202D_202A_206D_206D_206B_206C_206B_206A_200C_202E_200C_202D_202E; + + internal uint _206A_200C_200F_202E_206A_200D_202C_200E_202A_206B_200C_202B_206E_206C_202C_206D_200C_206C_200C_202D_206E_200D_200F_206B_206E_200D_200D_200E_202E_200F_200C_200F_202A_200C_200C_202E_202C_202D_202E_206C_202E; + + internal uint _206F_200E_202B_200F_202A_200B_206A_202C_206C_206B_200D_202B_202E_206D_202C_202B_200F_202C_202E_206A_206F_206C_206F_200E_200D_202A_200C_206A_200C_206F_206A_200F_202D_206A_200D_202A_202E_206E_206A_206F_202E; + + internal _206F_206E_202A_200E_202B_202B_206D_202B_200F_206B_206B_206C_202E_202D_200E_206F_200F_202A_200B_206B_202E_206E_200F_200D_202E_206A_200C_202A_206A_202B_202B_202D_202B_202B_206B_202C_202C_202A_200D_206A_202E _206E_200C_202A_200B_202D_202E_202B_200E_202D_202D_200C_200C_202B_202D_200B_200B_206B_206A_206C_206E_206D_202E_206D_202C_202E_206A_200B_200F_200D_202C_206A_206D_206E_202E_202E_202B_202D_202B_200C_202A_202E = new _206F_206E_202A_200E_202B_202B_206D_202B_200F_206B_206B_206C_202E_202D_200E_206F_200F_202A_200B_206B_202E_206E_200F_200D_202E_206A_200C_202A_206A_202B_202B_202D_202B_202B_206B_202C_202C_202A_200D_206A_202E(4); + + internal uint _200F_206F_200F_206E_200F_200D_202D_202D_206D_206E_206A_202A_206A_200C_202B_202A_206E_206E_206D_200D_202D_206E_200E_206D_202A_206A_202D_200F_206C_200E_202C_202A_200B_202A_202E_202D_206C_206F_206A_206D_202E; + + internal _202C_206C_202B_202E_206F_200E_206B_206E_200E_202B_206C_206F_206A_200E_202C_206C_206E_202D_206A_202B_202C_206E_202B_200C_206A_200C_206B_202E_200E_202C_202D_200F_206F_206A_202B_206A_200D_200F_200E_200F_202E() + { + _206A_200C_200F_202E_206A_200D_202C_200E_202A_206B_200C_202B_206E_206C_202C_206D_200C_206C_200C_202D_206E_200D_200F_206B_206E_200D_200D_200E_202E_200F_200C_200F_202A_200C_200C_202E_202C_202D_202E_206C_202E = uint.MaxValue; + int num = 0; + while ((long)num < 4L) + { + _200D_202E_206F_202A_202A_202B_202D_206A_206D_202E_206C_202D_200B_200F_202C_200F_206E_206C_206A_202B_206E_206B_200D_202B_206D_202A_200C_200B_200E_206E_200C_200B_206E_206F_202D_202B_206C_206F_202D_206D_202E[num] = new _206F_206E_202A_200E_202B_202B_206D_202B_200F_206B_206B_206C_202E_202D_200E_206F_200F_202A_200B_206B_202E_206E_200F_200D_202E_206A_200C_202A_206A_202B_202B_202D_202B_202B_206B_202C_202C_202A_200D_206A_202E(6); + int num2 = num; + int num3 = 1; + int num4 = num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = num5 + (num6 + num6); + } + } + + internal void _206F_206E_206F_200C_206A_206E_206F_200C_200F_202C_206B_200E_206B_206E_206E_200E_206E_200F_202C_202D_202E_200F_206F_206B_206F_202D_200E_206C_200E_202A_202B_202A_206C_206D_200F_202E_200D_200F_206E_202B_202E(uint dictionarySize) + { + if (_206A_200C_200F_202E_206A_200D_202C_200E_202A_206B_200C_202B_206E_206C_202C_206D_200C_206C_200C_202D_206E_200D_200F_206B_206E_200D_200D_200E_202E_200F_200C_200F_202A_200C_200C_202E_202C_202D_202E_206C_202E != dictionarySize) + { + _206A_200C_200F_202E_206A_200D_202C_200E_202A_206B_200C_202B_206E_206C_202C_206D_200C_206C_200C_202D_206E_200D_200F_206B_206E_200D_200D_200E_202E_200F_200C_200F_202A_200C_200C_202E_202C_202D_202E_206C_202E = dictionarySize; + _206F_200E_202B_200F_202A_200B_206A_202C_206C_206B_200D_202B_202E_206D_202C_202B_200F_202C_202E_206A_206F_206C_206F_200E_200D_202A_200C_206A_200C_206F_206A_200F_202D_206A_200D_202A_202E_206E_206A_206F_202E = Math.Max(_206A_200C_200F_202E_206A_200D_202C_200E_202A_206B_200C_202B_206E_206C_202C_206D_200C_206C_200C_202D_206E_200D_200F_206B_206E_200D_200D_200E_202E_200F_200C_200F_202A_200C_200C_202E_202C_202D_202E_206C_202E, 1u); + uint windowSize = Math.Max(_206F_200E_202B_200F_202A_200B_206A_202C_206C_206B_200D_202B_202E_206D_202C_202B_200F_202C_202E_206A_206F_206C_206F_200E_200D_202A_200C_206A_200C_206F_206A_200F_202D_206A_200D_202A_202E_206E_206A_206F_202E, 4096u); + _202E_206E_200B_200F_202B_202A_202B_206E_202B_206F_206B_200D_200F_202B_202D_200D_200C_206D_200D_202C_202E_206C_206D_200F_202C_202E_206C_200F_202A_202A_206D_202C_200C_200F_200D_200F_200B_206E_206C_206F_202E._206B_206B_202D_206F_206C_202C_206B_202E_206F_206B_206D_206B_206D_206C_202A_202B_206E_206D_202C_206B_202B_206D_200B_202C_200E_200F_206A_206B_200E_200E_200E_206C_202D_200C_202D_206D_206D_206F_206E_202D_202E(windowSize); + } + } + + internal void _202C_202D_206C_202C_200D_206D_206B_202B_206E_202B_202D_200E_206B_206C_202C_206E_202C_200F_202C_202E_206A_202A_206E_206F_202D_202E_206C_202E_202E_206A_200B_200E_206B_200E_206A_206A_202A_202A_202E_206A_202E(int lp, int lc) + { + _206C_206E_202B_202E_200B_206F_206A_206C_206C_206C_200D_206D_200E_202B_206D_200F_200D_206A_206A_202A_200F_202E_202D_200C_202E_200F_202A_200B_200C_200D_202A_202B_206E_202D_200F_200C_206F_200F_202B_202A_202E._206E_206A_200D_200D_206C_206A_200E_200B_200B_200C_200D_200F_200B_206F_206E_202E_206E_200E_202C_200D_202D_206B_206A_206E_202E_202C_202E_206C_202B_200D_200C_200D_202A_200C_202E_206A_202E_206D_206C_200F_202E(lp, lc); + } + + internal void _206F_200D_200D_202B_202B_202E_200F_206D_206C_200D_206B_202A_202D_200F_200E_200C_200F_206B_206B_206C_206F_200C_206E_202B_206F_200E_200F_206F_206E_206F_206A_202D_202C_206D_200E_200E_206F_200C_200E_206D_202E(int pb) + { + int num = 31; + int num2 = pb; + uint num3 = (uint)(1 << (num2 | num) - (num2 ^ num)); + _206B_202B_206A_200E_206B_206A_200C_202C_200E_200F_200C_202E_202B_200E_202E_206E_206E_202B_206E_202D_200F_200C_202A_202E_202E_206D_202E_206A_200D_206E_200E_200F_200E_202D_200E_200E_206F_200C_206D_202A_202E._206E_206E_200B_202B_206F_202B_206B_200E_206D_202D_200E_202A_206B_202B_206C_206B_200C_200B_200D_206E_202A_200C_200D_200E_200F_202A_206F_202D_202B_200D_200F_200F_202E_206A_202D_202B_200D_200D_200F_202D_202E(num3); + _206E_202B_200E_202E_206A_202D_200B_202E_206F_200B_202E_200F_200D_200C_206C_206D_202A_206A_202D_202D_206C_206B_200F_206A_206D_200F_200F_206C_202A_202C_206C_200C_200C_200F_206C_206A_202E_200B_202E_206B_202E._206E_206E_200B_202B_206F_202B_206B_200E_206D_202D_200E_202A_206B_202B_206C_206B_200C_200B_200D_206E_202A_200C_200D_200E_200F_202A_206F_202D_202B_200D_200F_200F_202E_206A_202D_202B_200D_200D_200F_202D_202E(num3); + num = 1; + num2 = (int)num3; + _200F_206F_200F_206E_200F_200D_202D_202D_206D_206E_206A_202A_206A_200C_202B_202A_206E_206E_206D_200D_202D_206E_200E_206D_202A_206A_202D_200F_206C_200E_202C_202A_200B_202A_202E_202D_206C_206F_206A_206D_202E = (uint)(~(~num2 + num)); + } + + internal void _200B_202D_200F_206E_200F_202B_202E_200D_206B_206D_206E_206E_202B_206B_202A_200C_206A_202C_202E_206B_200D_206C_202B_202D_200C_206B_206D_200E_206F_200B_206B_206B_202C_200C_206B_200D_200E_200D_206D_200F_202E(Stream inStream, Stream outStream) + { + _200B_200B_202B_200F_206E_200E_202D_206A_206B_200E_200D_202E_200C_202E_202B_200E_200F_206E_202C_202C_202E_206B_202E_202C_200C_202B_206F_202D_206C_200F_206A_206A_206D_200F_200C_206C_206D_202B_200B_200F_202E._200D_200B_200B_200B_200C_206E_206E_202A_202A_206D_206F_202C_200D_206A_206A_206D_206E_206C_206C_200D_202E_200D_200F_202D_200F_202E_200D_202E_206A_206B_200D_200E_200E_202C_206E_200E_200B_202E_206B_206E_202E(inStream); + _202E_206E_200B_200F_202B_202A_202B_206E_202B_206F_206B_200D_200F_202B_202D_200D_200C_206D_200D_202C_202E_206C_206D_200F_202C_202E_206C_200F_202A_202A_206D_202C_200C_200F_200D_200F_200B_206E_206C_206F_202E._202A_202E_200B_206E_206C_200F_202D_206F_202A_206D_206B_202A_200E_200E_200B_200D_206F_202B_206E_202B_206D_202E_200E_206C_200D_206D_202C_202B_206C_206A_200F_202D_206B_200C_206A_200C_206A_200C_206F_202B_202E(outStream, _202B_202E_202B_206B_200D_202D_206D_200E_202B_206F_202B_206C_200B_200D_206E_202B_206A_200F_206E_202D_206D_200C_200C_206F_202B_202B_200E_200D_202D_202A_206D_206D_206B_206C_206B_206A_200C_202E_200C_202D_202E); + uint num = 0u; + while (num < 12) + { + uint num2 = 0u; + int num4; + int num5; + while (num2 <= _200F_206F_200F_206E_200F_200D_202D_202D_206D_206E_206A_202A_206A_200C_202B_202A_206E_206E_206D_200D_202D_206E_200E_206D_202A_206A_202D_200F_206C_200E_202C_202A_200B_202A_202E_202D_206C_206F_206A_206D_202E) + { + uint num3 = num << 4; + num4 = (int)num2; + num5 = (int)num3; + int num6 = num5 ^ num4; + int num7 = num5 & num4; + uint num8 = (uint)(num6 + (num7 + num7)); + _206A_206C_206E_206D_202C_206C_206A_200C_200C_206A_202A_206D_200D_206B_200F_200D_202A_206D_206A_200E_206E_206D_200E_206C_202C_200B_202C_202E_202E_202D_206D_202D_202A_200C_206B_206D_200F_206B_206C_206C_202E[num8]._206C_200C_206A_202C_206A_202C_202A_206A_200B_200C_202B_206F_206E_206F_200E_206D_206D_200E_202D_202A_206E_206C_202A_202D_206A_200D_200E_206A_202D_206D_202E_202A_206B_206D_206A_206B_206E_200D_202E_206F_202E(); + _202A_206E_200C_200F_202C_206A_200D_200F_206F_206C_200F_206A_202B_202A_202C_206E_200C_202E_206E_202E_206E_202C_200F_202C_200E_202C_206C_206E_202B_200D_206B_200D_202B_206A_202B_206B_202A_206C_206C_200E_202E[num8]._206C_200C_206A_202C_206A_202C_202A_206A_200B_200C_202B_206F_206E_206F_200E_206D_206D_200E_202D_202A_206E_206C_202A_202D_206A_200D_200E_206A_202D_206D_202E_202A_206B_206D_206A_206B_206E_200D_202E_206F_202E(); + uint num9 = num2; + num4 = 1; + num5 = (int)num9; + int num10 = num5 ^ num4; + int num11 = num5 & num4; + num2 = (uint)(num10 + (num11 + num11)); + } + _200F_206F_200D_202D_200F_206B_202D_200D_206D_206B_200E_202B_202D_206B_200F_200C_200D_202C_206F_206D_202E_202C_202B_200C_200E_206D_202D_200B_200C_206C_202C_202C_200D_206F_206E_206C_206F_206A_202B_206C_202E[num]._206C_200C_206A_202C_206A_202C_202A_206A_200B_200C_202B_206F_206E_206F_200E_206D_206D_200E_202D_202A_206E_206C_202A_202D_206A_200D_200E_206A_202D_206D_202E_202A_206B_206D_206A_206B_206E_200D_202E_206F_202E(); + _206A_206A_202E_206F_202C_206C_200B_200B_200E_202D_202D_202B_202E_202A_200F_206A_206A_202D_206D_202D_200D_202A_200E_202E_200F_200F_200E_206D_202A_206D_200C_202E_202A_206D_206D_200F_202B_200E_202B_202D_202E[num]._206C_200C_206A_202C_206A_202C_202A_206A_200B_200C_202B_206F_206E_206F_200E_206D_206D_200E_202D_202A_206E_206C_202A_202D_206A_200D_200E_206A_202D_206D_202E_202A_206B_206D_206A_206B_206E_200D_202E_206F_202E(); + _202E_200C_200E_206E_200F_206B_200D_202E_206D_200B_206C_202D_202C_200F_202D_206D_200B_202C_200C_206D_200F_200B_202B_200F_200E_206A_202E_202B_200D_202D_202E_200C_200B_200E_202C_200E_206A_206F_200D_200E_202E[num]._206C_200C_206A_202C_206A_202C_202A_206A_200B_200C_202B_206F_206E_206F_200E_206D_206D_200E_202D_202A_206E_206C_202A_202D_206A_200D_200E_206A_202D_206D_202E_202A_206B_206D_206A_206B_206E_200D_202E_206F_202E(); + _206B_202C_206A_200D_202B_200E_200E_206D_200C_206C_200B_206A_206D_202C_202A_200D_202B_206B_206E_206E_202A_202D_200D_206F_206B_206A_206E_200B_200F_206F_202E_202D_202A_202E_202B_202D_202C_202C_202D_206C_202E[num]._206C_200C_206A_202C_206A_202C_202A_206A_200B_200C_202B_206F_206E_206F_200E_206D_206D_200E_202D_202A_206E_206C_202A_202D_206A_200D_200E_206A_202D_206D_202E_202A_206B_206D_206A_206B_206E_200D_202E_206F_202E(); + uint num12 = num; + num4 = 1; + num5 = (int)num12; + num = (uint)((num5 | num4) + (num5 & num4)); + } + _206C_206E_202B_202E_200B_206F_206A_206C_206C_206C_200D_206D_200E_202B_206D_200F_200D_206A_206A_202A_200F_202E_202D_200C_202E_200F_202A_200B_200C_200D_202A_202B_206E_202D_200F_200C_206F_200F_202B_202A_202E._202D_202C_202E_206D_206E_202D_202B_202A_202A_202A_200F_206E_202A_206B_206D_200F_200E_200C_202D_206E_206A_202D_202D_202E_206F_200D_202E_202E_206B_202D_202E_200C_206C_202D_200D_202B_200C_202A_202A_206D_202E(); + num = 0u; + while (num < 4) + { + _200D_202E_206F_202A_202A_202B_202D_206A_206D_202E_206C_202D_200B_200F_202C_200F_206E_206C_206A_202B_206E_206B_200D_202B_206D_202A_200C_200B_200E_206E_200C_200B_206E_206F_202D_202B_206C_206F_202D_206D_202E[num]._206C_200D_200F_200C_200E_202A_200B_200E_202B_206C_206A_206E_200D_200B_206D_206F_206A_202E_200C_202C_206A_202E_206F_206E_200B_206D_206E_202B_200B_202C_206B_200C_206B_206D_206D_200B_200B_200E_206E_202E_202E(); + uint num13 = num; + int num4 = 1; + int num5 = (int)num13; + int num14 = num5 ^ num4; + int num15 = num5 & num4; + num = (uint)(num14 + (num15 + num15)); + } + num = 0u; + while (num < 114) + { + _206C_200F_206C_200F_206D_206F_206C_200F_206D_206C_200D_202B_206E_206C_202D_206E_206E_206C_202B_202B_206F_202E_200F_200E_206E_200C_206E_200C_200D_206B_200F_206B_206F_202C_206C_202B_200F_206B_202C_206C_202E[num]._206C_200C_206A_202C_206A_202C_202A_206A_200B_200C_202B_206F_206E_206F_200E_206D_206D_200E_202D_202A_206E_206C_202A_202D_206A_200D_200E_206A_202D_206D_202E_202A_206B_206D_206A_206B_206E_200D_202E_206F_202E(); + uint num16 = num; + int num4 = 1; + int num5 = (int)num16; + int num17 = num5 ^ num4; + int num18 = num5 & num4; + num = (uint)(num17 + (num18 + num18)); + } + _206B_202B_206A_200E_206B_206A_200C_202C_200E_200F_200C_202E_202B_200E_202E_206E_206E_202B_206E_202D_200F_200C_202A_202E_202E_206D_202E_206A_200D_206E_200E_200F_200E_202D_200E_200E_206F_200C_206D_202A_202E._200C_200E_202C_206C_206D_200E_200B_206D_202D_206E_206F_202A_206E_200C_202C_206B_206C_206B_202B_206C_200C_200D_202E_206F_200C_200F_206E_200E_206C_202A_206C_202C_206A_206C_206D_202D_202A_200D_206C_200E_202E(); + _206E_202B_200E_202E_206A_202D_200B_202E_206F_200B_202E_200F_200D_200C_206C_206D_202A_206A_202D_202D_206C_206B_200F_206A_206D_200F_200F_206C_202A_202C_206C_200C_200C_200F_206C_206A_202E_200B_202E_206B_202E._200C_200E_202C_206C_206D_200E_200B_206D_202D_206E_206F_202A_206E_200C_202C_206B_206C_206B_202B_206C_200C_200D_202E_206F_200C_200F_206E_200E_206C_202A_206C_202C_206A_206C_206D_202D_202A_200D_206C_200E_202E(); + _206E_200C_202A_200B_202D_202E_202B_200E_202D_202D_200C_200C_202B_202D_200B_200B_206B_206A_206C_206E_206D_202E_206D_202C_202E_206A_200B_200F_200D_202C_206A_206D_206E_202E_202E_202B_202D_202B_200C_202A_202E._206C_200D_200F_200C_200E_202A_200B_200E_202B_206C_206A_206E_200D_200B_206D_206F_206A_202E_200C_202C_206A_202E_206F_206E_200B_206D_206E_202B_200B_202C_206B_200C_206B_206D_206D_200B_200B_200E_206E_202E_202E(); + } + + internal void _206A_202D_206A_202D_200C_202C_200B_200E_206B_202D_202B_206D_202E_202A_202E_202E_200B_202E_206C_202C_202E_200B_206F_200E_202A_206A_200C_206E_206B_206B_200F_202B_200D_200E_206E_206A_200D_206C_202E_200E_202E(Stream inStream, Stream outStream, long inSize, long outSize) + { + _200B_202D_200F_206E_200F_202B_202E_200D_206B_206D_206E_206E_202B_206B_202A_200C_206A_202C_202E_206B_200D_206C_202B_202D_200C_206B_206D_200E_206F_200B_206B_206B_202C_200C_206B_200D_200E_200D_206D_200F_202E(inStream, outStream); + _200D_202C_202D_202B_202B_202B_206D_202C_206F_200D_202A_202C_206A_206B_200D_200E_200F_206A_202C_200C_206F_202A_200E_200C_200D_202E_202D_206E_206E_206C_200C_206C_206F_206A_206A_200D_200E_206D_202C_200E_202E obj = default(_200D_202C_202D_202B_202B_202B_206D_202C_206F_200D_202A_202C_206A_206B_200D_200E_200F_206A_202C_200C_206F_202A_200E_200C_200D_202E_202D_206E_206E_206C_200C_206C_206F_206A_206A_200D_200E_206D_202C_200E_202E); + obj._202A_200D_206C_202D_200F_206F_200D_202A_206C_206F_200F_200F_206C_202B_202B_200C_206F_206D_202A_202D_200E_202A_206E_206F_202C_206D_202E_202E_200D_202A_206A_206F_202C_200F_200F_200E_202B_206B_202E_206B_202E(); + uint num = 0u; + uint num2 = 0u; + uint num3 = 0u; + uint num4 = 0u; + ulong num5 = 0uL; + if (num5 < (ulong)outSize) + { + _206A_206C_206E_206D_202C_206C_206A_200C_200C_206A_202A_206D_200D_206B_200F_200D_202A_206D_206A_200E_206E_206D_200E_206C_202C_200B_202C_202E_202E_202D_206D_202D_202A_200C_206B_206D_200F_206B_206C_206C_202E[obj._206C_202A_206D_206C_206D_202A_200C_202A_206C_202B_200B_206E_200D_200D_206E_202E_202C_202B_206A_206E_200F_206F_206F_206C_200C_200B_200D_206D_206D_202E_202B_202E_200B_206C_206A_206A_206F_200F_206D_206F_202E << 4]._206B_202A_200C_202D_202C_206E_200E_202A_206F_200F_206C_200B_202C_200D_202B_206E_202A_202D_206D_206A_206F_202C_206B_206E_200C_202E_206D_206C_202E_200F_200C_200F_200E_206A_206B_202C_200E_206C_202B_200C_202E(_200B_200B_202B_200F_206E_200E_202D_206A_206B_200E_200D_202E_200C_202E_202B_200E_200F_206E_202C_202C_202E_206B_202E_202C_200C_202B_206F_202D_206C_200F_206A_206A_206D_200F_200C_206C_206D_202B_200B_200F_202E); + obj._206A_202D_202A_206C_200C_200F_200E_200C_200C_202E_206D_202D_200C_200E_200E_200C_206E_206B_206B_200B_200B_200D_206B_200B_206C_200F_206B_206A_206C_206B_202A_206E_206E_200C_206B_200D_200C_200B_206E_206F_202E(); + byte b = _206C_206E_202B_202E_200B_206F_206A_206C_206C_206C_200D_206D_200E_202B_206D_200F_200D_206A_206A_202A_200F_202E_202D_200C_202E_200F_202A_200B_200C_200D_202A_202B_206E_202D_200F_200C_206F_200F_202B_202A_202E._202D_200D_200C_200B_206D_206E_200C_206D_202E_206B_200E_202D_200C_200F_202C_202C_200E_202D_200D_206E_202B_206C_200B_200D_206E_200D_202E_202D_206C_200E_200D_206B_202D_206D_206D_206E_200F_202A_200C_202B_202E(_200B_200B_202B_200F_206E_200E_202D_206A_206B_200E_200D_202E_200C_202E_202B_200E_200F_206E_202C_202C_202E_206B_202E_202C_200C_202B_206F_202D_206C_200F_206A_206A_206D_200F_200C_206C_206D_202B_200B_200F_202E, 0u, 0); + _202E_206E_200B_200F_202B_202A_202B_206E_202B_206F_206B_200D_200F_202B_202D_200D_200C_206D_200D_202C_202E_206C_206D_200F_202C_202E_206C_200F_202A_202A_206D_202C_200C_200F_200D_200F_200B_206E_206C_206F_202E._206A_200E_200B_202C_200D_206E_202A_202A_206B_200C_200D_200C_206D_200E_200B_206A_202B_206E_200D_206F_206E_200D_202A_206A_200F_200F_206E_206F_206E_200D_202D_206E_206A_206D_200D_206B_206C_202E_206C_200D_202E(b); + ulong num6 = num5; + long num7 = 1L; + long num8 = (long)num6; + num5 = (ulong)((num8 | num7) + (num8 & num7)); + } + while (num5 < (ulong)outSize) + { + int num9 = (int)num5; + int num10 = (int)_200F_206F_200F_206E_200F_200D_202D_202D_206D_206E_206A_202A_206A_200C_202B_202A_206E_206E_206D_200D_202D_206E_200E_206D_202A_206A_202D_200F_206C_200E_202C_202A_200B_202A_202E_202D_206C_206F_206A_206D_202E; + int num11 = num9; + uint num12 = (uint)((num11 | num10) - (num11 ^ num10)); + _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E[] array = _206A_206C_206E_206D_202C_206C_206A_200C_200C_206A_202A_206D_200D_206B_200F_200D_202A_206D_206A_200E_206E_206D_200E_206C_202C_200B_202C_202E_202E_202D_206D_202D_202A_200C_206B_206D_200F_206B_206C_206C_202E; + uint num13 = obj._206C_202A_206D_206C_206D_202A_200C_202A_206C_202B_200B_206E_200D_200D_206E_202E_202C_202B_206A_206E_200F_206F_206F_206C_200C_200B_200D_206D_206D_202E_202B_202E_200B_206C_206A_206A_206F_200F_206D_206F_202E << 4; + num10 = (int)num12; + num11 = (int)num13; + long num7; + long num8; + if (array[(num11 | num10) + (num11 & num10)]._206B_202A_200C_202D_202C_206E_200E_202A_206F_200F_206C_200B_202C_200D_202B_206E_202A_202D_206D_206A_206F_202C_206B_206E_200C_202E_206D_206C_202E_200F_200C_200F_200E_206A_206B_202C_200E_206C_202B_200C_202E(_200B_200B_202B_200F_206E_200E_202D_206A_206B_200E_200D_202E_200C_202E_202B_200E_200F_206E_202C_202C_202E_206B_202E_202C_200C_202B_206F_202D_206C_200F_206A_206A_206D_200F_200C_206C_206D_202B_200B_200F_202E) == 0) + { + byte prevByte = _202E_206E_200B_200F_202B_202A_202B_206E_202B_206F_206B_200D_200F_202B_202D_200D_200C_206D_200D_202C_202E_206C_206D_200F_202C_202E_206C_200F_202A_202A_206D_202C_200C_200F_200D_200F_200B_206E_206C_206F_202E._200F_206D_200B_200B_202B_206E_202B_206E_202E_206D_202A_202D_202E_202C_206B_202A_206F_200E_206C_200F_200B_200E_200D_200E_206C_202E_202C_206F_202A_200C_206F_202E_206C_202A_206B_200E_202E_206C_206A_206A_202E(0u); + byte b2 = (obj._200D_200C_206C_206D_200E_200C_206F_202E_202D_202E_202E_206E_200B_200C_200E_200C_200C_206D_206F_200B_206B_206C_202C_206D_202A_200E_200C_206D_206C_200D_200D_200F_206D_206A_200E_200F_202D_202D_202B_202D_202E() ? _206C_206E_202B_202E_200B_206F_206A_206C_206C_206C_200D_206D_200E_202B_206D_200F_200D_206A_206A_202A_200F_202E_202D_200C_202E_200F_202A_200B_200C_200D_202A_202B_206E_202D_200F_200C_206F_200F_202B_202A_202E._202D_200D_200C_200B_206D_206E_200C_206D_202E_206B_200E_202D_200C_200F_202C_202C_200E_202D_200D_206E_202B_206C_200B_200D_206E_200D_202E_202D_206C_200E_200D_206B_202D_206D_206D_206E_200F_202A_200C_202B_202E(_200B_200B_202B_200F_206E_200E_202D_206A_206B_200E_200D_202E_200C_202E_202B_200E_200F_206E_202C_202C_202E_206B_202E_202C_200C_202B_206F_202D_206C_200F_206A_206A_206D_200F_200C_206C_206D_202B_200B_200F_202E, (uint)num5, prevByte) : _206C_206E_202B_202E_200B_206F_206A_206C_206C_206C_200D_206D_200E_202B_206D_200F_200D_206A_206A_202A_200F_202E_202D_200C_202E_200F_202A_200B_200C_200D_202A_202B_206E_202D_200F_200C_206F_200F_202B_202A_202E._206C_202B_200E_200D_206E_200C_200E_200F_206B_202D_200B_206D_200B_202C_200B_200D_202A_200F_202E_200E_202A_206A_200D_200C_200D_206C_202E_200F_206E_200B_206B_202E_200B_206C_200C_200D_206B_200C_200E_202D_202E(_200B_200B_202B_200F_206E_200E_202D_206A_206B_200E_200D_202E_200C_202E_202B_200E_200F_206E_202C_202C_202E_206B_202E_202C_200C_202B_206F_202D_206C_200F_206A_206A_206D_200F_200C_206C_206D_202B_200B_200F_202E, (uint)num5, prevByte, _202E_206E_200B_200F_202B_202A_202B_206E_202B_206F_206B_200D_200F_202B_202D_200D_200C_206D_200D_202C_202E_206C_206D_200F_202C_202E_206C_200F_202A_202A_206D_202C_200C_200F_200D_200F_200B_206E_206C_206F_202E._200F_206D_200B_200B_202B_206E_202B_206E_202E_206D_202A_202D_202E_202C_206B_202A_206F_200E_206C_200F_200B_200E_200D_200E_206C_202E_202C_206F_202A_200C_206F_202E_206C_202A_206B_200E_202E_206C_206A_206A_202E(num))); + _202E_206E_200B_200F_202B_202A_202B_206E_202B_206F_206B_200D_200F_202B_202D_200D_200C_206D_200D_202C_202E_206C_206D_200F_202C_202E_206C_200F_202A_202A_206D_202C_200C_200F_200D_200F_200B_206E_206C_206F_202E._206A_200E_200B_202C_200D_206E_202A_202A_206B_200C_200D_200C_206D_200E_200B_206A_202B_206E_200D_206F_206E_200D_202A_206A_200F_200F_206E_206F_206E_200D_202D_206E_206A_206D_200D_206B_206C_202E_206C_200D_202E(b2); + obj._206A_202D_202A_206C_200C_200F_200E_200C_200C_202E_206D_202D_200C_200E_200E_200C_206E_206B_206B_200B_200B_200D_206B_200B_206C_200F_206B_206A_206C_206B_202A_206E_206E_200C_206B_200D_200C_200B_206E_206F_202E(); + ulong num14 = num5; + num7 = 1L; + num8 = (long)num14; + num5 = (ulong)((num8 | num7) + (num8 & num7)); + continue; + } + uint num20; + if (_200F_206F_200D_202D_200F_206B_202D_200D_206D_206B_200E_202B_202D_206B_200F_200C_200D_202C_206F_206D_202E_202C_202B_200C_200E_206D_202D_200B_200C_206C_202C_202C_200D_206F_206E_206C_206F_206A_202B_206C_202E[obj._206C_202A_206D_206C_206D_202A_200C_202A_206C_202B_200B_206E_200D_200D_206E_202E_202C_202B_206A_206E_200F_206F_206F_206C_200C_200B_200D_206D_206D_202E_202B_202E_200B_206C_206A_206A_206F_200F_206D_206F_202E]._206B_202A_200C_202D_202C_206E_200E_202A_206F_200F_206C_200B_202C_200D_202B_206E_202A_202D_206D_206A_206F_202C_206B_206E_200C_202E_206D_206C_202E_200F_200C_200F_200E_206A_206B_202C_200E_206C_202B_200C_202E(_200B_200B_202B_200F_206E_200E_202D_206A_206B_200E_200D_202E_200C_202E_202B_200E_200F_206E_202C_202C_202E_206B_202E_202C_200C_202B_206F_202D_206C_200F_206A_206A_206D_200F_200C_206C_206D_202B_200B_200F_202E) == 1) + { + if (_206A_206A_202E_206F_202C_206C_200B_200B_200E_202D_202D_202B_202E_202A_200F_206A_206A_202D_206D_202D_200D_202A_200E_202E_200F_200F_200E_206D_202A_206D_200C_202E_202A_206D_206D_200F_202B_200E_202B_202D_202E[obj._206C_202A_206D_206C_206D_202A_200C_202A_206C_202B_200B_206E_200D_200D_206E_202E_202C_202B_206A_206E_200F_206F_206F_206C_200C_200B_200D_206D_206D_202E_202B_202E_200B_206C_206A_206A_206F_200F_206D_206F_202E]._206B_202A_200C_202D_202C_206E_200E_202A_206F_200F_206C_200B_202C_200D_202B_206E_202A_202D_206D_206A_206F_202C_206B_206E_200C_202E_206D_206C_202E_200F_200C_200F_200E_206A_206B_202C_200E_206C_202B_200C_202E(_200B_200B_202B_200F_206E_200E_202D_206A_206B_200E_200D_202E_200C_202E_202B_200E_200F_206E_202C_202C_202E_206B_202E_202C_200C_202B_206F_202D_206C_200F_206A_206A_206D_200F_200C_206C_206D_202B_200B_200F_202E) == 0) + { + _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E[] array2 = _202A_206E_200C_200F_202C_206A_200D_200F_206F_206C_200F_206A_202B_202A_202C_206E_200C_202E_206E_202E_206E_202C_200F_202C_200E_202C_206C_206E_202B_200D_206B_200D_202B_206A_202B_206B_202A_206C_206C_200E_202E; + uint num15 = obj._206C_202A_206D_206C_206D_202A_200C_202A_206C_202B_200B_206E_200D_200D_206E_202E_202C_202B_206A_206E_200F_206F_206F_206C_200C_200B_200D_206D_206D_202E_202B_202E_200B_206C_206A_206A_206F_200F_206D_206F_202E << 4; + num10 = (int)num12; + num11 = (int)num15; + if (array2[(num11 | num10) + (num11 & num10)]._206B_202A_200C_202D_202C_206E_200E_202A_206F_200F_206C_200B_202C_200D_202B_206E_202A_202D_206D_206A_206F_202C_206B_206E_200C_202E_206D_206C_202E_200F_200C_200F_200E_206A_206B_202C_200E_206C_202B_200C_202E(_200B_200B_202B_200F_206E_200E_202D_206A_206B_200E_200D_202E_200C_202E_202B_200E_200F_206E_202C_202C_202E_206B_202E_202C_200C_202B_206F_202D_206C_200F_206A_206A_206D_200F_200C_206C_206D_202B_200B_200F_202E) == 0) + { + obj._206E_202C_206B_202D_206E_206A_200D_200E_202E_206A_200B_202C_200F_206B_200F_200D_206A_206B_202D_206B_200E_202E_202A_206F_200E_202A_206C_202B_206C_206A_200C_206A_202A_202E_206A_200F_202D_200D_206C_200D_202E(); + _202E_206E_200B_200F_202B_202A_202B_206E_202B_206F_206B_200D_200F_202B_202D_200D_200C_206D_200D_202C_202E_206C_206D_200F_202C_202E_206C_200F_202A_202A_206D_202C_200C_200F_200D_200F_200B_206E_206C_206F_202E._206A_200E_200B_202C_200D_206E_202A_202A_206B_200C_200D_200C_206D_200E_200B_206A_202B_206E_200D_206F_206E_200D_202A_206A_200F_200F_206E_206F_206E_200D_202D_206E_206A_206D_200D_206B_206C_202E_206C_200D_202E(_202E_206E_200B_200F_202B_202A_202B_206E_202B_206F_206B_200D_200F_202B_202D_200D_200C_206D_200D_202C_202E_206C_206D_200F_202C_202E_206C_200F_202A_202A_206D_202C_200C_200F_200D_200F_200B_206E_206C_206F_202E._200F_206D_200B_200B_202B_206E_202B_206E_202E_206D_202A_202D_202E_202C_206B_202A_206F_200E_206C_200F_200B_200E_200D_200E_206C_202E_202C_206F_202A_200C_206F_202E_206C_202A_206B_200E_202E_206C_206A_206A_202E(num)); + ulong num16 = num5; + num7 = 1L; + num8 = (long)num16; + long num17 = num8 ^ num7; + long num18 = num8 & num7; + num5 = (ulong)(num17 + (num18 + num18)); + continue; + } + } + else + { + uint num19; + if (_202E_200C_200E_206E_200F_206B_200D_202E_206D_200B_206C_202D_202C_200F_202D_206D_200B_202C_200C_206D_200F_200B_202B_200F_200E_206A_202E_202B_200D_202D_202E_200C_200B_200E_202C_200E_206A_206F_200D_200E_202E[obj._206C_202A_206D_206C_206D_202A_200C_202A_206C_202B_200B_206E_200D_200D_206E_202E_202C_202B_206A_206E_200F_206F_206F_206C_200C_200B_200D_206D_206D_202E_202B_202E_200B_206C_206A_206A_206F_200F_206D_206F_202E]._206B_202A_200C_202D_202C_206E_200E_202A_206F_200F_206C_200B_202C_200D_202B_206E_202A_202D_206D_206A_206F_202C_206B_206E_200C_202E_206D_206C_202E_200F_200C_200F_200E_206A_206B_202C_200E_206C_202B_200C_202E(_200B_200B_202B_200F_206E_200E_202D_206A_206B_200E_200D_202E_200C_202E_202B_200E_200F_206E_202C_202C_202E_206B_202E_202C_200C_202B_206F_202D_206C_200F_206A_206A_206D_200F_200C_206C_206D_202B_200B_200F_202E) == 0) + { + num19 = num2; + } + else + { + if (_206B_202C_206A_200D_202B_200E_200E_206D_200C_206C_200B_206A_206D_202C_202A_200D_202B_206B_206E_206E_202A_202D_200D_206F_206B_206A_206E_200B_200F_206F_202E_202D_202A_202E_202B_202D_202C_202C_202D_206C_202E[obj._206C_202A_206D_206C_206D_202A_200C_202A_206C_202B_200B_206E_200D_200D_206E_202E_202C_202B_206A_206E_200F_206F_206F_206C_200C_200B_200D_206D_206D_202E_202B_202E_200B_206C_206A_206A_206F_200F_206D_206F_202E]._206B_202A_200C_202D_202C_206E_200E_202A_206F_200F_206C_200B_202C_200D_202B_206E_202A_202D_206D_206A_206F_202C_206B_206E_200C_202E_206D_206C_202E_200F_200C_200F_200E_206A_206B_202C_200E_206C_202B_200C_202E(_200B_200B_202B_200F_206E_200E_202D_206A_206B_200E_200D_202E_200C_202E_202B_200E_200F_206E_202C_202C_202E_206B_202E_202C_200C_202B_206F_202D_206C_200F_206A_206A_206D_200F_200C_206C_206D_202B_200B_200F_202E) == 0) + { + num19 = num3; + } + else + { + num19 = num4; + num4 = num3; + } + num3 = num2; + } + num2 = num; + num = num19; + } + num20 = _206E_202B_200E_202E_206A_202D_200B_202E_206F_200B_202E_200F_200D_200C_206C_206D_202A_206A_202D_202D_206C_206B_200F_206A_206D_200F_200F_206C_202A_202C_206C_200C_200C_200F_206C_206A_202E_200B_202E_206B_202E._206C_200C_202D_206D_202E_206A_200E_200C_206C_200B_206D_200F_206D_202D_206F_200B_202B_202D_206A_200B_202E_206B_206D_200E_206E_202E_200E_200E_202B_206E_206D_206E_202D_200C_200C_202E_206B_206F_200C_200D_202E(_200B_200B_202B_200F_206E_200E_202D_206A_206B_200E_200D_202E_200C_202E_202B_200E_200F_206E_202C_202C_202E_206B_202E_202C_200C_202B_206F_202D_206C_200F_206A_206A_206D_200F_200C_206C_206D_202B_200B_200F_202E, num12) + 2; + obj._206A_206C_200E_202B_202A_200E_202C_200E_202D_202A_202B_200F_200C_200D_202C_202A_206C_202E_202B_200E_202E_202B_202C_200E_202C_200F_206F_206D_202D_200E_200C_202C_200E_202A_200B_202A_202B_206F_202B_206B_202E(); + } + else + { + num4 = num3; + num3 = num2; + num2 = num; + num20 = 2 + _206B_202B_206A_200E_206B_206A_200C_202C_200E_200F_200C_202E_202B_200E_202E_206E_206E_202B_206E_202D_200F_200C_202A_202E_202E_206D_202E_206A_200D_206E_200E_200F_200E_202D_200E_200E_206F_200C_206D_202A_202E._206C_200C_202D_206D_202E_206A_200E_200C_206C_200B_206D_200F_206D_202D_206F_200B_202B_202D_206A_200B_202E_206B_206D_200E_206E_202E_200E_200E_202B_206E_206D_206E_202D_200C_200C_202E_206B_206F_200C_200D_202E(_200B_200B_202B_200F_206E_200E_202D_206A_206B_200E_200D_202E_200C_202E_202B_200E_200F_206E_202C_202C_202E_206B_202E_202C_200C_202B_206F_202D_206C_200F_206A_206A_206D_200F_200C_206C_206D_202B_200B_200F_202E, num12); + obj._206B_202E_202A_200F_202D_202D_206E_202C_202A_206F_202D_200B_206C_206A_206B_202B_206E_200B_202C_200D_206D_200F_200C_206B_200F_202E_206A_206F_206E_202E_202C_206E_206A_206A_200F_200F_206D_202C_206F_206D_202E(); + uint num21 = _200D_202E_206F_202A_202A_202B_202D_206A_206D_202E_206C_202D_200B_200F_202C_200F_206E_206C_206A_202B_206E_206B_200D_202B_206D_202A_200C_200B_200E_206E_200C_200B_206E_206F_202D_202B_206C_206F_202D_206D_202E[_200D_200D_200E_202C_206E_206A_202B_206D_202C_206E_200D_206C_200F_206A_202E_202A_202D_206A_202C_200B_206A_200D_200D_206F_200C_206C_202E_200F_200F_202E_206D_202E_200D_206C_206F_202D_206B_200D_200E_202C_202E(num20)]._202D_206E_202D_200B_202D_206F_200B_202E_206F_206E_206F_202B_202B_206E_200B_200B_202A_200C_206F_200E_202B_206A_202A_202C_206C_206F_206A_206E_202E_202B_202B_206D_200B_200E_202B_202A_206B_200F_200D_206C_202E(_200B_200B_202B_200F_206E_200E_202D_206A_206B_200E_200D_202E_200C_202E_202B_200E_200F_206E_202C_202C_202E_206B_202E_202C_200C_202B_206F_202D_206C_200F_206A_206A_206D_200F_200C_206C_206D_202B_200B_200F_202E); + if (num21 >= 4) + { + uint num22 = num21 >> 1; + num10 = 1; + num11 = (int)num22; + int num23 = ~(~num11 + num10); + num10 = 1; + num11 = (int)num21; + num10 = num11 + num10 - (num11 | num10); + num11 = 2; + int num24 = (num11 & num10) + (num11 ^ num10); + num10 = 31; + num11 = num23; + num = (uint)(num24 << (num11 | num10) - (num11 ^ num10)); + if (num21 < 14) + { + uint num25 = num; + _200D_206C_206F_202B_200C_200D_200C_202C_206F_206A_202C_200C_202E_200E_206E_200C_202A_202A_206A_202D_202D_202D_202D_206F_206C_206D_200E_206A_200D_200F_202D_200E_202D_200F_206F_206D_206C_202D_206A_206E_202E[] models = _206C_200F_206C_200F_206D_206F_206C_200F_206D_206C_200D_202B_206E_206C_202D_206E_206E_206C_202B_202B_206F_202E_200F_200E_206E_200C_206E_200C_200D_206B_200F_206B_206F_202C_206C_202B_200F_206B_202C_206C_202E; + uint num26 = num; + num10 = (int)num21; + num11 = (int)num26; + int num27 = ~(~num11 + num10); + num10 = 1; + num11 = num27; + num = num25 + _206F_206E_202A_200E_202B_202B_206D_202B_200F_206B_206B_206C_202E_202D_200E_206F_200F_202A_200B_206B_202E_206E_200F_200D_202E_206A_200C_202A_206A_202B_202B_202D_202B_202B_206B_202C_202C_202A_200D_206A_202E._206F_202C_200D_200D_206B_206E_206B_200E_202B_200B_206F_200D_202E_202A_200F_206A_202C_206C_206A_202E_200D_200F_206C_206E_206A_200D_200C_202E_206C_202E_206B_206F_202C_200F_200E_200F_206A_200B_206A_200D_202E(models, (uint)(~(~num11 + num10)), _200B_200B_202B_200F_206E_200E_202D_206A_206B_200E_200D_202E_200C_202E_202B_200E_200F_206E_202C_202C_202E_206B_202E_202C_200C_202B_206F_202D_206C_200F_206A_206A_206D_200F_200C_206C_206D_202B_200B_200F_202E, num23); + } + else + { + uint num28 = num; + _206D_206A_202C_202E_206A_200E_202E_200C_206F_202D_200D_200D_202B_200F_200F_200F_202E_202A_202C_202D_200F_206E_200D_202A_206A_206D_202A_202C_200D_200C_206F_206F_206C_206F_200F_206B_206C_200B_206E_200D_202E obj2 = _200B_200B_202B_200F_206E_200E_202D_206A_206B_200E_200D_202E_200C_202E_202B_200E_200F_206E_202C_202C_202E_206B_202E_202C_200C_202B_206F_202D_206C_200F_206A_206A_206D_200F_200C_206C_206D_202B_200B_200F_202E; + num10 = 4; + num11 = num23; + num = num28 + (obj2._200D_200D_206D_200E_206D_200C_202B_206E_202D_200D_206F_200E_200F_206E_200B_200C_202E_206F_206C_200D_200B_200B_202C_206D_200E_202E_202B_202D_200D_200F_200B_200B_200B_200D_202D_206E_200E_200D_200E_200F_202E(~(~num11 + num10)) << 4); + num += _206E_200C_202A_200B_202D_202E_202B_200E_202D_202D_200C_200C_202B_202D_200B_200B_206B_206A_206C_206E_206D_202E_206D_202C_202E_206A_200B_200F_200D_202C_206A_206D_206E_202E_202E_202B_202D_202B_200C_202A_202E._200D_206D_202D_200E_206A_206D_206C_202A_202C_202A_202B_200C_206D_202E_200F_202D_202A_200B_202D_202E_200F_202A_200E_200B_200D_206E_200F_200C_202B_202B_202A_200C_200C_200B_206D_206C_202D_200E_200F_200C_202E(_200B_200B_202B_200F_206E_200E_202D_206A_206B_200E_200D_202E_200C_202E_202B_200E_200F_206E_202C_202C_202E_206B_202E_202C_200C_202B_206F_202D_206C_200F_206A_206A_206D_200F_200C_206C_206D_202B_200B_200F_202E); + } + } + else + { + num = num21; + } + } + if ((num >= num5 || num >= _206F_200E_202B_200F_202A_200B_206A_202C_206C_206B_200D_202B_202E_206D_202C_202B_200F_202C_202E_206A_206F_206C_206F_200E_200D_202A_200C_206A_200C_206F_206A_200F_202D_206A_200D_202A_202E_206E_206A_206F_202E) && num == uint.MaxValue) + { + break; + } + _202E_206E_200B_200F_202B_202A_202B_206E_202B_206F_206B_200D_200F_202B_202D_200D_200C_206D_200D_202C_202E_206C_206D_200F_202C_202E_206C_200F_202A_202A_206D_202C_200C_200F_200D_200F_200B_206E_206C_206F_202E._202E_206E_200B_200F_202B_200F_200F_202B_202C_202A_200C_202A_206B_206E_202D_206B_206F_206E_206B_202E_200F_200B_206A_200C_206D_202A_206B_206C_202B_200E_206B_202E_200E_206D_200C_200E_200C_206A_200B_200C_202E(num, num20); + ulong num29 = num5; + num7 = num20; + num8 = (long)num29; + long num30 = num8 ^ num7; + long num31 = num8 & num7; + num5 = (ulong)(num30 + (num31 + num31)); + } + _202E_206E_200B_200F_202B_202A_202B_206E_202B_206F_206B_200D_200F_202B_202D_200D_200C_206D_200D_202C_202E_206C_206D_200F_202C_202E_206C_200F_202A_202A_206D_202C_200C_200F_200D_200F_200B_206E_206C_206F_202E._202E_202D_206A_200C_202C_200C_206B_206B_202C_206F_206B_202E_202E_202D_200F_206E_206E_206F_202E_202E_206B_202C_202C_202B_202A_200D_206E_206F_202D_202E_206D_206A_202A_200E_202A_200B_206A_200F_206A_202E_202E(); + _202E_206E_200B_200F_202B_202A_202B_206E_202B_206F_206B_200D_200F_202B_202D_200D_200C_206D_200D_202C_202E_206C_206D_200F_202C_202E_206C_200F_202A_202A_206D_202C_200C_200F_200D_200F_200B_206E_206C_206F_202E._202C_206B_206A_200C_202C_200B_202D_200F_200D_202E_206F_206A_202C_202A_206E_206C_202B_206F_206E_200F_206C_202B_200C_202B_200B_202A_200E_202C_206E_206B_202A_206A_202B_200E_202D_206C_200C_200E_206E_200C_202E(); + _200B_200B_202B_200F_206E_200E_202D_206A_206B_200E_200D_202E_200C_202E_202B_200E_200F_206E_202C_202C_202E_206B_202E_202C_200C_202B_206F_202D_206C_200F_206A_206A_206D_200F_200C_206C_206D_202B_200B_200F_202E._202B_200F_202D_202E_206A_200B_202C_200D_200F_206A_202C_206C_202D_202B_200C_206A_200E_206B_206E_200B_206E_200F_200E_200C_206F_200B_202D_206B_206F_200E_200F_206F_202A_200B_200C_200C_202E_206C_200B_202A_202E(); + } + + internal void _206B_206A_206E_202D_202C_200B_200F_202E_202C_200F_202E_200E_206E_206F_206A_206D_202C_200C_200E_202C_206C_206E_200F_202D_200C_206D_206C_206D_202D_200E_200F_200E_200D_202E_200E_206A_202B_202E_200B_200F_202E(byte[] properties) + { + int lc = properties[0] % 9; + int num = properties[0] / 9; + int lp = num % 5; + int pb = num / 5; + uint num2 = 0u; + int num3 = 0; + while (num3 < 4) + { + uint num4 = num2; + int num5 = num3; + int num6 = 1; + byte num7 = properties[(num6 | num5) + (num6 & num5)]; + int num8 = num3 * 8; + num5 = 31; + num6 = num8; + num5 = num7 << (num6 | num5) - (num6 ^ num5); + num6 = (int)num4; + num2 = (uint)((num6 | num5) + (num6 & num5)); + int num9 = num3; + num5 = 1; + num6 = num9; + int num10 = num6 ^ num5; + int num11 = num6 & num5; + num3 = num10 + (num11 + num11); + } + _206F_206E_206F_200C_206A_206E_206F_200C_200F_202C_206B_200E_206B_206E_206E_200E_206E_200F_202C_202D_202E_200F_206F_206B_206F_202D_200E_206C_200E_202A_202B_202A_206C_206D_200F_202E_200D_200F_206E_202B_202E(num2); + _202C_202D_206C_202C_200D_206D_206B_202B_206E_202B_202D_200E_206B_206C_202C_206E_202C_200F_202C_202E_206A_202A_206E_206F_202D_202E_206C_202E_202E_206A_200B_200E_206B_200E_206A_206A_202A_202A_202E_206A_202E(lp, lc); + _206F_200D_200D_202B_202B_202E_200F_206D_206C_200D_206B_202A_202D_200F_200E_200C_200F_206B_206B_206C_206F_200C_206E_202B_206F_200E_200F_206F_206E_206F_206A_202D_202C_206D_200E_200E_206F_200C_200E_206D_202E(pb); + } + + internal static uint _200D_200D_200E_202C_206E_206A_202B_206D_202C_206E_200D_206C_200F_206A_202E_202A_202D_206A_202C_200B_206A_200D_200D_206F_200C_206C_202E_200F_200F_202E_206D_202E_200D_206C_206F_202D_206B_200D_200E_202C_202E(uint len) + { + uint num = len; + int num2 = 2; + int num3 = (int)num; + len = (uint)(~(~num3 + num2)); + if (len < 4) + { + return len; + } + return 3u; + } +} +internal class _200F_202C_202E_206B_206E_200E_202A_206D_200F_202C_206C_202B_206F_202C_202A_206C_206C_200D_206D_206A_202B_206F_202D_202C_206B_202B_206D_206F_206A_202C_202A_206F_206A_200F_202B_206E_200B_200C_200B_202B_202E +{ + internal byte[] _206D_206F_200E_200C_202E_206F_206F_202C_202D_206E_206C_202C_202C_206B_206A_206B_206B_200D_202E_200F_200E_202B_200F_206A_206F_206D_206F_206D_200D_206E_202E_200B_202C_202A_202E_200B_202D_206B_200F_200D_202E; + + internal uint _202B_206B_206E_206A_206D_206A_200C_200B_206B_202E_206A_200C_200C_200E_202D_202A_202E_200B_202C_206A_200F_206C_206A_200F_206F_200C_200D_202E_202C_202E_200B_200C_200E_206A_206C_206E_202D_202A_200C_206E_202E; + + internal Stream _202C_202E_202D_202D_206B_206F_206B_200C_200B_206C_202C_202D_202A_202E_206E_200F_206D_202A_200D_206F_206C_202C_202B_202C_200E_200D_206F_202B_202E_200E_202E_202B_206C_200D_206E_200D_206E_206E_202B_206A_202E; + + internal uint _206D_200E_200C_200B_200B_200F_202C_202D_206E_200C_206F_200B_200B_200E_206E_200D_202A_206F_206E_206A_200C_206D_202C_206C_206D_200E_202C_200D_200B_206B_200E_206A_206E_202B_200C_206E_206C_200D_206B_206A_202E; + + internal uint _200E_202C_200F_200C_206E_206A_202D_200C_206A_200B_200D_202D_206C_206F_202A_206E_206E_202B_202B_206C_200C_202D_200B_200C_206F_206F_206D_202D_202E_202D_206E_202C_206C_200F_206E_202B_202E_206E_202A_206F_202E; + + internal void _206B_206B_202D_206F_206C_202C_206B_202E_206F_206B_206D_206B_206D_206C_202A_202B_206E_206D_202C_206B_202B_206D_200B_202C_200E_200F_206A_206B_200E_200E_200E_206C_202D_200C_202D_206D_206D_206F_206E_202D_202E(uint windowSize) + { + if (_200E_202C_200F_200C_206E_206A_202D_200C_206A_200B_200D_202D_206C_206F_202A_206E_206E_202B_202B_206C_200C_202D_200B_200C_206F_206F_206D_202D_202E_202D_206E_202C_206C_200F_206E_202B_202E_206E_202A_206F_202E != windowSize) + { + _206D_206F_200E_200C_202E_206F_206F_202C_202D_206E_206C_202C_202C_206B_206A_206B_206B_200D_202E_200F_200E_202B_200F_206A_206F_206D_206F_206D_200D_206E_202E_200B_202C_202A_202E_200B_202D_206B_200F_200D_202E = new byte[windowSize]; + } + _200E_202C_200F_200C_206E_206A_202D_200C_206A_200B_200D_202D_206C_206F_202A_206E_206E_202B_202B_206C_200C_202D_200B_200C_206F_206F_206D_202D_202E_202D_206E_202C_206C_200F_206E_202B_202E_206E_202A_206F_202E = windowSize; + _202B_206B_206E_206A_206D_206A_200C_200B_206B_202E_206A_200C_200C_200E_202D_202A_202E_200B_202C_206A_200F_206C_206A_200F_206F_200C_200D_202E_202C_202E_200B_200C_200E_206A_206C_206E_202D_202A_200C_206E_202E = 0u; + _206D_200E_200C_200B_200B_200F_202C_202D_206E_200C_206F_200B_200B_200E_206E_200D_202A_206F_206E_206A_200C_206D_202C_206C_206D_200E_202C_200D_200B_206B_200E_206A_206E_202B_200C_206E_206C_200D_206B_206A_202E = 0u; + } + + internal void _202A_202E_200B_206E_206C_200F_202D_206F_202A_206D_206B_202A_200E_200E_200B_200D_206F_202B_206E_202B_206D_202E_200E_206C_200D_206D_202C_202B_206C_206A_200F_202D_206B_200C_206A_200C_206A_200C_206F_202B_202E(Stream stream, bool solid) + { + _202C_206B_206A_200C_202C_200B_202D_200F_200D_202E_206F_206A_202C_202A_206E_206C_202B_206F_206E_200F_206C_202B_200C_202B_200B_202A_200E_202C_206E_206B_202A_206A_202B_200E_202D_206C_200C_200E_206E_200C_202E(); + _202C_202E_202D_202D_206B_206F_206B_200C_200B_206C_202C_202D_202A_202E_206E_200F_206D_202A_200D_206F_206C_202C_202B_202C_200E_200D_206F_202B_202E_200E_202E_202B_206C_200D_206E_200D_206E_206E_202B_206A_202E = stream; + if (!solid) + { + _206D_200E_200C_200B_200B_200F_202C_202D_206E_200C_206F_200B_200B_200E_206E_200D_202A_206F_206E_206A_200C_206D_202C_206C_206D_200E_202C_200D_200B_206B_200E_206A_206E_202B_200C_206E_206C_200D_206B_206A_202E = 0u; + _202B_206B_206E_206A_206D_206A_200C_200B_206B_202E_206A_200C_200C_200E_202D_202A_202E_200B_202C_206A_200F_206C_206A_200F_206F_200C_200D_202E_202C_202E_200B_200C_200E_206A_206C_206E_202D_202A_200C_206E_202E = 0u; + } + } + + internal void _202C_206B_206A_200C_202C_200B_202D_200F_200D_202E_206F_206A_202C_202A_206E_206C_202B_206F_206E_200F_206C_202B_200C_202B_200B_202A_200E_202C_206E_206B_202A_206A_202B_200E_202D_206C_200C_200E_206E_200C_202E() + { + _202E_202D_206A_200C_202C_200C_206B_206B_202C_206F_206B_202E_202E_202D_200F_206E_206E_206F_202E_202E_206B_202C_202C_202B_202A_200D_206E_206F_202D_202E_206D_206A_202A_200E_202A_200B_206A_200F_206A_202E_202E(); + _202C_202E_202D_202D_206B_206F_206B_200C_200B_206C_202C_202D_202A_202E_206E_200F_206D_202A_200D_206F_206C_202C_202B_202C_200E_200D_206F_202B_202E_200E_202E_202B_206C_200D_206E_200D_206E_206E_202B_206A_202E = null; + Buffer.BlockCopy(new byte[_206D_206F_200E_200C_202E_206F_206F_202C_202D_206E_206C_202C_202C_206B_206A_206B_206B_200D_202E_200F_200E_202B_200F_206A_206F_206D_206F_206D_200D_206E_202E_200B_202C_202A_202E_200B_202D_206B_200F_200D_202E.Length], 0, _206D_206F_200E_200C_202E_206F_206F_202C_202D_206E_206C_202C_202C_206B_206A_206B_206B_200D_202E_200F_200E_202B_200F_206A_206F_206D_206F_206D_200D_206E_202E_200B_202C_202A_202E_200B_202D_206B_200F_200D_202E, 0, _206D_206F_200E_200C_202E_206F_206F_202C_202D_206E_206C_202C_202C_206B_206A_206B_206B_200D_202E_200F_200E_202B_200F_206A_206F_206D_206F_206D_200D_206E_202E_200B_202C_202A_202E_200B_202D_206B_200F_200D_202E.Length); + } + + internal void _202E_202D_206A_200C_202C_200C_206B_206B_202C_206F_206B_202E_202E_202D_200F_206E_206E_206F_202E_202E_206B_202C_202C_202B_202A_200D_206E_206F_202D_202E_206D_206A_202A_200E_202A_200B_206A_200F_206A_202E_202E() + { + uint num = _202B_206B_206E_206A_206D_206A_200C_200B_206B_202E_206A_200C_200C_200E_202D_202A_202E_200B_202C_206A_200F_206C_206A_200F_206F_200C_200D_202E_202C_202E_200B_200C_200E_206A_206C_206E_202D_202A_200C_206E_202E; + int num2 = (int)_206D_200E_200C_200B_200B_200F_202C_202D_206E_200C_206F_200B_200B_200E_206E_200D_202A_206F_206E_206A_200C_206D_202C_206C_206D_200E_202C_200D_200B_206B_200E_206A_206E_202B_200C_206E_206C_200D_206B_206A_202E; + int num3 = (int)num; + uint num4 = (uint)(~(~num3 + num2)); + if (num4 != 0) + { + _202C_202E_202D_202D_206B_206F_206B_200C_200B_206C_202C_202D_202A_202E_206E_200F_206D_202A_200D_206F_206C_202C_202B_202C_200E_200D_206F_202B_202E_200E_202E_202B_206C_200D_206E_200D_206E_206E_202B_206A_202E.Write(_206D_206F_200E_200C_202E_206F_206F_202C_202D_206E_206C_202C_202C_206B_206A_206B_206B_200D_202E_200F_200E_202B_200F_206A_206F_206D_206F_206D_200D_206E_202E_200B_202C_202A_202E_200B_202D_206B_200F_200D_202E, (int)_206D_200E_200C_200B_200B_200F_202C_202D_206E_200C_206F_200B_200B_200E_206E_200D_202A_206F_206E_206A_200C_206D_202C_206C_206D_200E_202C_200D_200B_206B_200E_206A_206E_202B_200C_206E_206C_200D_206B_206A_202E, (int)num4); + if (_202B_206B_206E_206A_206D_206A_200C_200B_206B_202E_206A_200C_200C_200E_202D_202A_202E_200B_202C_206A_200F_206C_206A_200F_206F_200C_200D_202E_202C_202E_200B_200C_200E_206A_206C_206E_202D_202A_200C_206E_202E >= _200E_202C_200F_200C_206E_206A_202D_200C_206A_200B_200D_202D_206C_206F_202A_206E_206E_202B_202B_206C_200C_202D_200B_200C_206F_206F_206D_202D_202E_202D_206E_202C_206C_200F_206E_202B_202E_206E_202A_206F_202E) + { + _202B_206B_206E_206A_206D_206A_200C_200B_206B_202E_206A_200C_200C_200E_202D_202A_202E_200B_202C_206A_200F_206C_206A_200F_206F_200C_200D_202E_202C_202E_200B_200C_200E_206A_206C_206E_202D_202A_200C_206E_202E = 0u; + } + _206D_200E_200C_200B_200B_200F_202C_202D_206E_200C_206F_200B_200B_200E_206E_200D_202A_206F_206E_206A_200C_206D_202C_206C_206D_200E_202C_200D_200B_206B_200E_206A_206E_202B_200C_206E_206C_200D_206B_206A_202E = _202B_206B_206E_206A_206D_206A_200C_200B_206B_202E_206A_200C_200C_200E_202D_202A_202E_200B_202C_206A_200F_206C_206A_200F_206F_200C_200D_202E_202C_202E_200B_200C_200E_206A_206C_206E_202D_202A_200C_206E_202E; + } + } + + internal void _202E_206E_200B_200F_202B_200F_200F_202B_202C_202A_200C_202A_206B_206E_202D_206B_206F_206E_206B_202E_200F_200B_206A_200C_206D_202A_206B_206C_202B_200E_206B_202E_200E_206D_200C_200E_200C_206A_200B_200C_202E(uint distance, uint len) + { + uint num = _202B_206B_206E_206A_206D_206A_200C_200B_206B_202E_206A_200C_200C_200E_202D_202A_202E_200B_202C_206A_200F_206C_206A_200F_206F_200C_200D_202E_202C_202E_200B_200C_200E_206A_206C_206E_202D_202A_200C_206E_202E; + int num2 = (int)distance; + int num3 = (int)num; + int num4 = ~(~num3 + num2); + num2 = 1; + num3 = num4; + uint num5 = (uint)(~(~num3 + num2)); + if (num5 >= _200E_202C_200F_200C_206E_206A_202D_200C_206A_200B_200D_202D_206C_206F_202A_206E_206E_202B_202B_206C_200C_202D_200B_200C_206F_206F_206D_202D_202E_202D_206E_202C_206C_200F_206E_202B_202E_206E_202A_206F_202E) + { + uint num6 = num5; + num2 = (int)_200E_202C_200F_200C_206E_206A_202D_200C_206A_200B_200D_202D_206C_206F_202A_206E_206E_202B_202B_206C_200C_202D_200B_200C_206F_206F_206D_202D_202E_202D_206E_202C_206C_200F_206E_202B_202E_206E_202A_206F_202E; + num3 = (int)num6; + num5 = (uint)((num3 | num2) + (num3 & num2)); + } + while (len != 0) + { + if (num5 >= _200E_202C_200F_200C_206E_206A_202D_200C_206A_200B_200D_202D_206C_206F_202A_206E_206E_202B_202B_206C_200C_202D_200B_200C_206F_206F_206D_202D_202E_202D_206E_202C_206C_200F_206E_202B_202E_206E_202A_206F_202E) + { + num5 = 0u; + } + byte[] array = _206D_206F_200E_200C_202E_206F_206F_202C_202D_206E_206C_202C_202C_206B_206A_206B_206B_200D_202E_200F_200E_202B_200F_206A_206F_206D_206F_206D_200D_206E_202E_200B_202C_202A_202E_200B_202D_206B_200F_200D_202E; + uint num7 = _202B_206B_206E_206A_206D_206A_200C_200B_206B_202E_206A_200C_200C_200E_202D_202A_202E_200B_202C_206A_200F_206C_206A_200F_206F_200C_200D_202E_202C_202E_200B_200C_200E_206A_206C_206E_202D_202A_200C_206E_202E; + num2 = 1; + num3 = (int)num7; + int num8 = num3 ^ num2; + int num9 = num3 & num2; + _202B_206B_206E_206A_206D_206A_200C_200B_206B_202E_206A_200C_200C_200E_202D_202A_202E_200B_202C_206A_200F_206C_206A_200F_206F_200C_200D_202E_202C_202E_200B_200C_200E_206A_206C_206E_202D_202A_200C_206E_202E = (uint)(num8 + (num9 + num9)); + byte[] array2 = _206D_206F_200E_200C_202E_206F_206F_202C_202D_206E_206C_202C_202C_206B_206A_206B_206B_200D_202E_200F_200E_202B_200F_206A_206F_206D_206F_206D_200D_206E_202E_200B_202C_202A_202E_200B_202D_206B_200F_200D_202E; + uint num10 = num5; + num2 = 1; + num3 = (int)num10; + int num11 = num3 ^ num2; + int num12 = num3 & num2; + num5 = (uint)(num11 + (num12 + num12)); + array[num7] = array2[num10]; + if (_202B_206B_206E_206A_206D_206A_200C_200B_206B_202E_206A_200C_200C_200E_202D_202A_202E_200B_202C_206A_200F_206C_206A_200F_206F_200C_200D_202E_202C_202E_200B_200C_200E_206A_206C_206E_202D_202A_200C_206E_202E >= _200E_202C_200F_200C_206E_206A_202D_200C_206A_200B_200D_202D_206C_206F_202A_206E_206E_202B_202B_206C_200C_202D_200B_200C_206F_206F_206D_202D_202E_202D_206E_202C_206C_200F_206E_202B_202E_206E_202A_206F_202E) + { + _202E_202D_206A_200C_202C_200C_206B_206B_202C_206F_206B_202E_202E_202D_200F_206E_206E_206F_202E_202E_206B_202C_202C_202B_202A_200D_206E_206F_202D_202E_206D_206A_202A_200E_202A_200B_206A_200F_206A_202E_202E(); + } + uint num13 = len; + num2 = 1; + num3 = (int)num13; + len = (uint)(~(~num3 + num2)); + } + } + + internal void _206A_200E_200B_202C_200D_206E_202A_202A_206B_200C_200D_200C_206D_200E_200B_206A_202B_206E_200D_206F_206E_200D_202A_206A_200F_200F_206E_206F_206E_200D_202D_206E_206A_206D_200D_206B_206C_202E_206C_200D_202E(byte b) + { + byte[] array = _206D_206F_200E_200C_202E_206F_206F_202C_202D_206E_206C_202C_202C_206B_206A_206B_206B_200D_202E_200F_200E_202B_200F_206A_206F_206D_206F_206D_200D_206E_202E_200B_202C_202A_202E_200B_202D_206B_200F_200D_202E; + uint num = _202B_206B_206E_206A_206D_206A_200C_200B_206B_202E_206A_200C_200C_200E_202D_202A_202E_200B_202C_206A_200F_206C_206A_200F_206F_200C_200D_202E_202C_202E_200B_200C_200E_206A_206C_206E_202D_202A_200C_206E_202E; + int num2 = 1; + int num3 = (int)num; + int num4 = num3 ^ num2; + int num5 = num3 & num2; + _202B_206B_206E_206A_206D_206A_200C_200B_206B_202E_206A_200C_200C_200E_202D_202A_202E_200B_202C_206A_200F_206C_206A_200F_206F_200C_200D_202E_202C_202E_200B_200C_200E_206A_206C_206E_202D_202A_200C_206E_202E = (uint)(num4 + (num5 + num5)); + array[num] = b; + if (_202B_206B_206E_206A_206D_206A_200C_200B_206B_202E_206A_200C_200C_200E_202D_202A_202E_200B_202C_206A_200F_206C_206A_200F_206F_200C_200D_202E_202C_202E_200B_200C_200E_206A_206C_206E_202D_202A_200C_206E_202E >= _200E_202C_200F_200C_206E_206A_202D_200C_206A_200B_200D_202D_206C_206F_202A_206E_206E_202B_202B_206C_200C_202D_200B_200C_206F_206F_206D_202D_202E_202D_206E_202C_206C_200F_206E_202B_202E_206E_202A_206F_202E) + { + _202E_202D_206A_200C_202C_200C_206B_206B_202C_206F_206B_202E_202E_202D_200F_206E_206E_206F_202E_202E_206B_202C_202C_202B_202A_200D_206E_206F_202D_202E_206D_206A_202A_200E_202A_200B_206A_200F_206A_202E_202E(); + } + } + + internal byte _200F_206D_200B_200B_202B_206E_202B_206E_202E_206D_202A_202D_202E_202C_206B_202A_206F_200E_206C_200F_200B_200E_200D_200E_206C_202E_202C_206F_202A_200C_206F_202E_206C_202A_206B_200E_202E_206C_206A_206A_202E(uint distance) + { + uint num = _202B_206B_206E_206A_206D_206A_200C_200B_206B_202E_206A_200C_200C_200E_202D_202A_202E_200B_202C_206A_200F_206C_206A_200F_206F_200C_200D_202E_202C_202E_200B_200C_200E_206A_206C_206E_202D_202A_200C_206E_202E; + int num2 = (int)distance; + int num3 = (int)num; + int num4 = ~(~num3 + num2); + num2 = 1; + num3 = num4; + uint num5 = (uint)(~(~num3 + num2)); + if (num5 >= _200E_202C_200F_200C_206E_206A_202D_200C_206A_200B_200D_202D_206C_206F_202A_206E_206E_202B_202B_206C_200C_202D_200B_200C_206F_206F_206D_202D_202E_202D_206E_202C_206C_200F_206E_202B_202E_206E_202A_206F_202E) + { + uint num6 = num5; + num2 = (int)_200E_202C_200F_200C_206E_206A_202D_200C_206A_200B_200D_202D_206C_206F_202A_206E_206E_202B_202B_206C_200C_202D_200B_200C_206F_206F_206D_202D_202E_202D_206E_202C_206C_200F_206E_202B_202E_206E_202A_206F_202E; + num3 = (int)num6; + int num7 = num3 ^ num2; + int num8 = num3 & num2; + num5 = (uint)(num7 + (num8 + num8)); + } + return _206D_206F_200E_200C_202E_206F_206F_202C_202D_206E_206C_202C_202C_206B_206A_206B_206B_200D_202E_200F_200E_202B_200F_206A_206F_206D_206F_206D_200D_206E_202E_200B_202C_202A_202E_200B_202D_206B_200F_200D_202E[num5]; + } + + internal _200F_202C_202E_206B_206E_200E_202A_206D_200F_202C_206C_202B_206F_202C_202A_206C_206C_200D_206D_206A_202B_206F_202D_202C_206B_202B_206D_206F_206A_202C_202A_206F_206A_200F_202B_206E_200B_200C_200B_202B_202E() + { + } +} +internal struct _200D_202C_202D_202B_202B_202B_206D_202C_206F_200D_202A_202C_206A_206B_200D_200E_200F_206A_202C_200C_206F_202A_200E_200C_200D_202E_202D_206E_206E_206C_200C_206C_206F_206A_206A_200D_200E_206D_202C_200E_202E +{ + internal uint _206C_202A_206D_206C_206D_202A_200C_202A_206C_202B_200B_206E_200D_200D_206E_202E_202C_202B_206A_206E_200F_206F_206F_206C_200C_200B_200D_206D_206D_202E_202B_202E_200B_206C_206A_206A_206F_200F_206D_206F_202E; + + internal void _202A_200D_206C_202D_200F_206F_200D_202A_206C_206F_200F_200F_206C_202B_202B_200C_206F_206D_202A_202D_200E_202A_206E_206F_202C_206D_202E_202E_200D_202A_206A_206F_202C_200F_200F_200E_202B_206B_202E_206B_202E() + { + _206C_202A_206D_206C_206D_202A_200C_202A_206C_202B_200B_206E_200D_200D_206E_202E_202C_202B_206A_206E_200F_206F_206F_206C_200C_200B_200D_206D_206D_202E_202B_202E_200B_206C_206A_206A_206F_200F_206D_206F_202E = 0u; + } + + internal void _206A_202D_202A_206C_200C_200F_200E_200C_200C_202E_206D_202D_200C_200E_200E_200C_206E_206B_206B_200B_200B_200D_206B_200B_206C_200F_206B_206A_206C_206B_202A_206E_206E_200C_206B_200D_200C_200B_206E_206F_202E() + { + if (_206C_202A_206D_206C_206D_202A_200C_202A_206C_202B_200B_206E_200D_200D_206E_202E_202C_202B_206A_206E_200F_206F_206F_206C_200C_200B_200D_206D_206D_202E_202B_202E_200B_206C_206A_206A_206F_200F_206D_206F_202E < 4) + { + _206C_202A_206D_206C_206D_202A_200C_202A_206C_202B_200B_206E_200D_200D_206E_202E_202C_202B_206A_206E_200F_206F_206F_206C_200C_200B_200D_206D_206D_202E_202B_202E_200B_206C_206A_206A_206F_200F_206D_206F_202E = 0u; + } + else if (_206C_202A_206D_206C_206D_202A_200C_202A_206C_202B_200B_206E_200D_200D_206E_202E_202C_202B_206A_206E_200F_206F_206F_206C_200C_200B_200D_206D_206D_202E_202B_202E_200B_206C_206A_206A_206F_200F_206D_206F_202E < 10) + { + uint num = _206C_202A_206D_206C_206D_202A_200C_202A_206C_202B_200B_206E_200D_200D_206E_202E_202C_202B_206A_206E_200F_206F_206F_206C_200C_200B_200D_206D_206D_202E_202B_202E_200B_206C_206A_206A_206F_200F_206D_206F_202E; + int num2 = 3; + int num3 = (int)num; + _206C_202A_206D_206C_206D_202A_200C_202A_206C_202B_200B_206E_200D_200D_206E_202E_202C_202B_206A_206E_200F_206F_206F_206C_200C_200B_200D_206D_206D_202E_202B_202E_200B_206C_206A_206A_206F_200F_206D_206F_202E = (uint)(~(~num3 + num2)); + } + else + { + uint num4 = _206C_202A_206D_206C_206D_202A_200C_202A_206C_202B_200B_206E_200D_200D_206E_202E_202C_202B_206A_206E_200F_206F_206F_206C_200C_200B_200D_206D_206D_202E_202B_202E_200B_206C_206A_206A_206F_200F_206D_206F_202E; + int num2 = 6; + int num3 = (int)num4; + _206C_202A_206D_206C_206D_202A_200C_202A_206C_202B_200B_206E_200D_200D_206E_202E_202C_202B_206A_206E_200F_206F_206F_206C_200C_200B_200D_206D_206D_202E_202B_202E_200B_206C_206A_206A_206F_200F_206D_206F_202E = (uint)(~(~num3 + num2)); + } + } + + internal void _206B_202E_202A_200F_202D_202D_206E_202C_202A_206F_202D_200B_206C_206A_206B_202B_206E_200B_202C_200D_206D_200F_200C_206B_200F_202E_206A_206F_206E_202E_202C_206E_206A_206A_200F_200F_206D_202C_206F_206D_202E() + { + _206C_202A_206D_206C_206D_202A_200C_202A_206C_202B_200B_206E_200D_200D_206E_202E_202C_202B_206A_206E_200F_206F_206F_206C_200C_200B_200D_206D_206D_202E_202B_202E_200B_206C_206A_206A_206F_200F_206D_206F_202E = ((_206C_202A_206D_206C_206D_202A_200C_202A_206C_202B_200B_206E_200D_200D_206E_202E_202C_202B_206A_206E_200F_206F_206F_206C_200C_200B_200D_206D_206D_202E_202B_202E_200B_206C_206A_206A_206F_200F_206D_206F_202E < 7) ? 7u : 10u); + } + + internal void _206A_206C_200E_202B_202A_200E_202C_200E_202D_202A_202B_200F_200C_200D_202C_202A_206C_202E_202B_200E_202E_202B_202C_200E_202C_200F_206F_206D_202D_200E_200C_202C_200E_202A_200B_202A_202B_206F_202B_206B_202E() + { + _206C_202A_206D_206C_206D_202A_200C_202A_206C_202B_200B_206E_200D_200D_206E_202E_202C_202B_206A_206E_200F_206F_206F_206C_200C_200B_200D_206D_206D_202E_202B_202E_200B_206C_206A_206A_206F_200F_206D_206F_202E = ((_206C_202A_206D_206C_206D_202A_200C_202A_206C_202B_200B_206E_200D_200D_206E_202E_202C_202B_206A_206E_200F_206F_206F_206C_200C_200B_200D_206D_206D_202E_202B_202E_200B_206C_206A_206A_206F_200F_206D_206F_202E < 7) ? 8u : 11u); + } + + internal void _206E_202C_206B_202D_206E_206A_200D_200E_202E_206A_200B_202C_200F_206B_200F_200D_206A_206B_202D_206B_200E_202E_202A_206F_200E_202A_206C_202B_206C_206A_200C_206A_202A_202E_206A_200F_202D_200D_206C_200D_202E() + { + _206C_202A_206D_206C_206D_202A_200C_202A_206C_202B_200B_206E_200D_200D_206E_202E_202C_202B_206A_206E_200F_206F_206F_206C_200C_200B_200D_206D_206D_202E_202B_202E_200B_206C_206A_206A_206F_200F_206D_206F_202E = ((_206C_202A_206D_206C_206D_202A_200C_202A_206C_202B_200B_206E_200D_200D_206E_202E_202C_202B_206A_206E_200F_206F_206F_206C_200C_200B_200D_206D_206D_202E_202B_202E_200B_206C_206A_206A_206F_200F_206D_206F_202E < 7) ? 9u : 11u); + } + + internal bool _200D_200C_206C_206D_200E_200C_206F_202E_202D_202E_202E_206E_200B_200C_200E_200C_200C_206D_206F_200B_206B_206C_202C_206D_202A_200E_200C_206D_206C_200D_200D_200F_206D_206A_200E_200F_202D_202D_202B_202D_202E() + { + return _206C_202A_206D_206C_206D_202A_200C_202A_206C_202B_200B_206E_200D_200D_206E_202E_202C_202B_206A_206E_200F_206F_206F_206C_200C_200B_200D_206D_206D_202E_202B_202E_200B_206C_206A_206A_206F_200F_206D_206F_202E < 7; + } +} +[StructLayout(LayoutKind.Explicit, Size = 4416)] +internal struct _200C_206C_202C_206D_200F_200B_206E_206A_206F_206E_206E_206A_200F_200C_200E_202E_206C_206F_202D_200C_200C_206B_202A_202D_202A_200C_202B_206C_206C_200E_200B_202E_200D_206A_202D_206A_200F_200E_206B_206E_202E +{ +} diff --git a/LLib/--z__ReadOnlyArray.cs b/LLib/--z__ReadOnlyArray.cs new file mode 100644 index 0000000..840f515 --- /dev/null +++ b/LLib/--z__ReadOnlyArray.cs @@ -0,0 +1,145 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Runtime.CompilerServices; + +[CompilerGenerated] +internal sealed class _003C_003Ez__ReadOnlyArray : IEnumerable, ICollection, IList, IEnumerable, IReadOnlyCollection, IReadOnlyList, ICollection, IList +{ + int ICollection.Count => _items.Length; + + bool ICollection.IsSynchronized => false; + + object ICollection.SyncRoot => this; + + object? IList.this[int index] + { + get + { + return _items[index]; + } + set + { + throw new NotSupportedException(); + } + } + + bool IList.IsFixedSize => true; + + bool IList.IsReadOnly => true; + + int IReadOnlyCollection.Count => _items.Length; + + T IReadOnlyList.this[int index] => _items[index]; + + int ICollection.Count => _items.Length; + + bool ICollection.IsReadOnly => true; + + T IList.this[int index] + { + get + { + return _items[index]; + } + set + { + throw new NotSupportedException(); + } + } + + public _003C_003Ez__ReadOnlyArray(T[] items) + { + _items = items; + } + + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)_items).GetEnumerator(); + } + + void ICollection.CopyTo(Array array, int index) + { + ((ICollection)_items).CopyTo(array, index); + } + + int IList.Add(object? value) + { + throw new NotSupportedException(); + } + + void IList.Clear() + { + throw new NotSupportedException(); + } + + bool IList.Contains(object? value) + { + return ((IList)_items).Contains(value); + } + + int IList.IndexOf(object? value) + { + return ((IList)_items).IndexOf(value); + } + + void IList.Insert(int index, object? value) + { + throw new NotSupportedException(); + } + + void IList.Remove(object? value) + { + throw new NotSupportedException(); + } + + void IList.RemoveAt(int index) + { + throw new NotSupportedException(); + } + + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)_items).GetEnumerator(); + } + + void ICollection.Add(T item) + { + throw new NotSupportedException(); + } + + void ICollection.Clear() + { + throw new NotSupportedException(); + } + + bool ICollection.Contains(T item) + { + return ((ICollection)_items).Contains(item); + } + + void ICollection.CopyTo(T[] array, int arrayIndex) + { + ((ICollection)_items).CopyTo(array, arrayIndex); + } + + bool ICollection.Remove(T item) + { + throw new NotSupportedException(); + } + + int IList.IndexOf(T item) + { + return ((IList)_items).IndexOf(item); + } + + void IList.Insert(int index, T item) + { + throw new NotSupportedException(); + } + + void IList.RemoveAt(int index) + { + throw new NotSupportedException(); + } +} diff --git a/LLib/-Module-.cs b/LLib/-Module-.cs new file mode 100644 index 0000000..7589bcc --- /dev/null +++ b/LLib/-Module-.cs @@ -0,0 +1,1718 @@ +using System; +using System.IO; +using System.Runtime.CompilerServices; +using System.Text; + +internal class _003CModule_003E +{ + internal static byte[] _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + + internal static _200C_206C_202C_206D_200F_200B_206E_206A_206F_206E_206E_206A_200F_200C_200E_202E_206C_206F_202D_200C_200C_206B_202A_202D_202A_200C_202B_206C_206C_200E_200B_202E_200D_206A_202D_206A_200F_200E_206B_206E_202E _202A_202E_206A_202D_206C_200D_206C_202D_202E_206B_206B_202B_206F_200C_202D_206C_200E_206B_206D_200B_206F_202D_202B_200C_206D_200E_206D_200C_202E_200D_206B_206B_200F_200F_206E_200D_200F_200F_200D_200E_202E/* Not supported: data(EC 8B BC C6 65 BB 6B 58 FD 79 F8 AE 17 61 8A F2 D7 3F C9 00 75 CC 3E 91 53 0D 15 F7 D2 64 62 8A 47 D7 07 71 5A B4 28 31 06 CD 4C 94 95 1A 95 84 DB 79 78 1D 7B 85 17 67 F8 07 72 6D 81 F7 DA 26 D8 C1 63 20 C5 85 77 6E 0A 41 F5 1B C4 19 3E 90 87 4C 69 A3 14 E2 1C DF 15 6D C8 1A 54 81 D8 16 43 D9 6E B4 58 21 AC 3E 7E 53 AF B4 0A 25 19 97 F8 C0 D8 9A 5D A4 CC F6 FD 7C 96 A6 6A C1 F4 1B D4 05 59 8F 17 60 86 C5 7A FC B0 BE 88 0D 86 5C 13 59 4D 29 AE 32 C3 FB 85 52 76 22 FA 39 C3 9D 94 85 53 F9 F4 DC FE D6 2B 8D 48 F1 17 3F AF 59 FA E2 7C 8A 26 B9 6D F4 9F 0D 87 AD 27 19 65 CE AB 74 CC 3D 99 77 4F 5A BD 6F 4C D6 3D DD 14 C0 5F BD 2F 5F 5A 10 AF D0 9E D9 5E 1B 5D 85 93 1A 34 E0 69 1E 7D 18 34 C8 D1 D2 5F 27 73 C7 45 3F 0D 91 A3 F7 C5 1A D9 59 82 84 73 33 B0 24 10 DE FF 11 53 66 85 99 38 0D 34 5A 1B 69 D5 DC B3 1A 8D 10 AB 96 24 50 34 14 D5 D1 EE 7B 15 F8 01 2E F2 7D 9A 0B 76 C9 51 A8 16 8C B4 D7 14 FC 3C 38 06 77 EB 25 86 BC 22 6B 8C 00 42 55 0B FF 36 90 C3 D2 D4 7E BE 7D B6 A7 9F BB 68 03 1F 56 CB 1A 25 26 3E 49 42 1A 87 21 01 1A 57 B6 AC C5 84 98 F1 04 5D 7A 8D 1F 1D 06 2E FA 59 FE D5 79 4C AC 74 D7 27 6F 13 72 51 9F 93 67 22 8B 23 62 C5 63 72 A2 19 C2 5F 4B 39 D8 B4 1D 9D 07 A6 75 46 5B 06 D7 44 77 94 81 16 B7 71 60 4C 47 D2 83 18 28 AC A1 78 A7 6C 6D F4 A4 1C F7 E0 2E 0C 87 24 8E E4 9B 26 E4 73 EF A4 F4 7A 87 F9 57 11 27 94 0D 12 30 23 D9 13 2C C5 73 3A 0F EA 72 D1 90 56 1A C7 64 44 B7 0C 68 91 4B 3D 27 9F F1 9F 7E E3 1A F9 98 66 B2 07 EC 78 F0 C5 59 A0 28 5F 39 A3 8D 0C 16 3C 6F 81 B3 5E F2 92 6C 34 B9 82 C8 B2 FD B2 4B C9 F9 2E 4E 33 C4 E8 AE 16 CB 10 33 E9 CB E6 C0 B2 B1 01 AC 88 20 4C 3C 32 08 B3 61 B0 7B 0C C8 34 C7 9E 0A B9 6D 4E A9 83 92 A1 AA 90 6D 33 0E FF 5E 6C A4 E0 C1 10 64 6D C6 E5 D4 2E EC 4E D0 D9 D3 BC B9 88 35 FA 41 94 42 BC 72 ED 6D 49 DE 90 61 C9 7E AE 01 73 C0 DF 3B AE C3 1F C3 E0 26 34 D3 A5 03 58 DA 3C 41 6E FE 3E 8C FD 88 E2 C2 A0 C4 EB 7C 44 6B 7E 3A 53 20 60 0A 7F 8C 90 25 89 35 CA 17 57 FB 04 0B A0 3B D9 FE 73 BD 9C 9E B4 23 D6 17 F6 0C BA 95 3E FD 5A D6 AF 6F 59 33 6E 2B D6 FD 0B 30 72 CF AB E3 C9 52 53 15 46 91 B2 C4 4C 25 D1 A0 72 55 27 47 30 41 F2 07 65 5C 5D 02 D2 BB 8D EC 30 1F 48 FA E2 EE 08 3F DC 01 BC C1 66 58 7C B4 BC 98 07 99 C0 4E B5 BE 4D 24 C6 F8 0C 59 60 A3 66 31 A3 1F DE 12 65 FA B0 7E 40 A2 CA 9B B6 E2 CE 96 A0 E6 28 20 2C 40 DC 2B C8 84 FE B2 DA 8F 7F AE 39 3C 1B FC 9A B8 92 26 F5 5A AC D9 C5 0F B3 81 7A D1 A2 A4 2C 7C 8F 2A 87 30 0C 75 33 AF 55 F2 96 CC 5B 7D 2D 4B 14 5D A4 0F 89 92 DA D8 38 68 0F 29 5B F6 27 CF 62 BA A3 4A FE A2 EB 4A 36 6F 1A E9 60 CB 9D 53 3E 3B 2C 47 82 0B A4 F5 F5 45 90 80 30 F9 D5 E9 71 83 47 A7 2A 8D 0F E2 55 72 FB 3A 5F 5B 3D F5 D5 BC 81 B9 D4 71 DB 09 CD 3F B9 1F F1 2A F8 F8 3E 7A 28 F6 5A 3A EE 03 89 FE 1D E7 A9 46 3A F5 68 3A 52 18 FF A5 8E 54 B3 43 44 B9 D9 FE 5C 35 1A 58 94 C7 28 EB FB B5 B4 79 F9 20 55 FE 4E 55 84 2F F0 E1 C3 49 49 DA E8 6A 21 FD 62 FA 2D 8A E2 54 31 08 15 6A ED 62 83 21 88 6F A9 90 EE F4 71 CA C0 6A FD 4B BC F7 B9 51 F9 EF 3C 44 E1 ED 49 60 AA D4 AF 90 2A 81 17 AC B6 17 37 AA 1E D8 84 62 66 71 46 6E 4F 24 A5 32 68 16 A6 98 2F 92 2A C8 78 4E 15 03 2E 3F 9F D6 8C 29 5C 20 56 23 4F 19 42 F7 85 47 B7 76 A6 70 1C 47 EE 9A D4 99 A7 F0 F6 43 61 1E FF F9 15 D8 F2 4A 83 97 38 5B F9 0C 24 44 7A 67 B8 93 59 23 48 7A 4D E8 F3 DB C5 8D 07 70 C4 BA 9B FD 40 60 FB 84 AC 83 E8 7D D4 60 7A 13 EF EE 44 D4 AA 74 C7 42 B2 2F B9 B4 40 58 AD 13 30 12 AF 82 DD E9 EF 8C 32 0B 71 6D 7F 1B 58 44 B0 DD 6B C3 1A B6 F4 5F 33 A7 80 02 30 01 99 BF 88 75 EB 3F A3 22 4C EE F8 07 E2 EB 00 F7 67 E8 BD 9E 91 58 CD 9B 68 98 6F 49 E4 27 6B 0E FA 42 E7 0E 12 32 74 20 68 2E C0 30 74 66 C4 E1 92 52 29 81 2F D6 91 98 A0 17 E9 D6 90 72 11 36 1B 80 60 7B 53 F8 EB 7C AA 2E 2E 1F 22 3B 26 22 3E F2 3D 11 EB 2E 29 CE BC 53 1E A4 CE EF 40 94 4C C2 F9 A9 AA BA 08 D0 FC 8F F5 7D 1A 7D B6 20 D7 D1 F5 86 EE 04 BF 27 6E F8 9A F3 6E 98 A7 30 06 A3 DC D9 77 25 EF 81 80 D9 2F 61 F4 77 CC 49 7F FD F4 F7 F4 66 EA 5F F3 CE 73 F0 CC B8 D5 A6 4D 16 2E EF 6C FF 2B 6F 28 AE A2 A6 18 8D 02 7B 9D AF EC 62 26 67 34 38 FB 77 EF EF 87 9A 0B 84 5C 32 DC 6E 3B E5 97 61 2C 8F 5C 10 9D 54 18 AD 62 49 5A 9A 53 F2 F4 7B A6 06 84 71 10 4D 74 70 5B DE 05 8E A2 23 F8 E9 A8 59 5A B8 B5 D9 52 C5 B5 A2 FB 29 6B AA 75 8D A9 7B 32 71 EB F0 CD 7C A8 B8 1B 96 4C 6F 97 74 76 8D 55 6F 8B 9C EA 4E A6 03 06 43 A3 00 85 5B E1 D2 BD D5 CB 86 DB 06 4E 0C D5 B8 7E BC DA D3 D7 02 84 36 AA 2C 4A 64 43 0F 08 AF 02 EE 2E 26 BD DD 63 0D D9 3F 50 05 60 F3 F4 B0 23 52 F5 E5 AF 5F E0 D0 D7 6B 5F 65 9A 13 54 2D 07 3A 74 32 17 48 2A 51 AB 84 57 53 06 07 48 93 26 71 4D CE 5C FE C2 C1 67 51 68 D8 EA 27 6D 31 B8 21 1B 04 AB 7A 3E F1 B6 45 E1 F2 AA AB 1E 0A C2 2E 2F 9F 16 2B FE E9 FB 2E 64 FC 3D 1E C7 2C 8B 44 DC E3 8F 7E 4F 26 FF 84 44 F2 EC 0E CD E2 50 D2 CD 52 6C 61 D7 52 47 D6 EF F0 2A DE 2E 5F 0C 34 2B 64 E1 57 E4 E4 F3 A1 8D 44 5D 5E 6C EC FC 80 D4 35 06 4F 0B DE FB 45 EC FC 81 AC 06 9F 02 6E D7 E4 5E 4E 27 57 D7 0F 7A C4 5B 79 2A 23 89 35 C6 FE F3 21 26 77 42 9F 40 11 20 C2 7B F0 A6 58 59 B2 8A 20 D8 E1 51 63 77 46 AA 7F EC 48 7F 4F 8C FB 4B 76 7E 92 56 C8 67 61 02 73 7A 7F F5 98 47 B5 9D ED 0A 2F 3F DD 0A F5 8B 53 A7 CD 1D 7C 21 50 17 B1 1D 14 B3 10 5C E0 B2 5C 4D F5 E2 1C C8 06 8A 8B 39 E7 46 FD BF FC E6 FD C7 2E 3B DD 5A F0 64 9E DE 14 46 96 22 90 7F 10 7E EE 96 60 F0 41 0A 21 AF 51 BD A3 16 4C E5 F7 E9 5E E0 AE D2 7C 90 77 84 E7 15 74 CD 99 3E FD 1E 1A 9A 7D E5 9C F5 90 DD 2C 88 36 84 1F BC 04 F4 11 0D 0B CF C5 0E 35 C1 F5 78 B9 2D 56 AF B6 C0 2F 5C 32 14 EC B6 29 9B 40 E2 64 61 E4 89 1D 3A BE A1 24 D1 BB 1F B3 38 77 90 BB CA 93 52 E4 5F 2E B3 9B 83 F0 12 62 10 78 38 D1 C4 86 A5 87 FF 2D A6 45 5D 04 C3 7D 7D CB DE 6F 1C 3F 2A 62 FE C4 FB A6 B9 A4 8C 10 CA 7F B4 A2 F4 C3 4A 0B 17 6A BE 45 A2 C4 77 4B E3 DC 5B 48 87 C7 6C 37 23 9A 50 94 8F 3B 0F F4 01 9B 95 32 C1 F7 D6 68 1A 61 5A DC E0 21 0F 8E A8 52 50 CD 92 18 90 34 BB A2 E4 32 4D 98 9D FE FA E6 04 73 8A 97 6D 84 82 AB A3 6A CF 9E 94 14 A2 BC B8 52 8C 64 2A 71 77 AA 70 10 2C 4E 05 44 AF 5D 7D 03 C6 1A DA 0B 17 D9 BA 98 E4 21 D1 8C 23 63 87 23 BB B7 F6 DC 8C 7B FE 03 3E E4 BC 4F CE 93 C4 45 32 87 AD 68 07 EB C2 81 D4 D5 39 F4 09 0B 63 11 46 0E 5A F3 FA EB 0E 45 2A ED 6B 78 E2 82 CC BF 95 50 4F 6E C2 65 92 D1 2D 4E 35 AF E0 C0 B9 D4 A5 43 0F 72 23 2F 62 7C 50 62 0A 64 D5 D1 65 E9 D8 24 0B BF 78 20 DA 60 E7 B0 32 C0 8A 92 99 FC BD 6E C8 65 8E DA 9A 15 90 4C 96 82 F0 9A 30 A9 1C F3 10 6E 7E 20 8A 82 94 A5 4C EC FF 40 21 99 27 1F E0 2B AE 4B F3 8C 6A E4 A4 30 C6 B5 01 D3 69 EE B8 18 A8 B6 94 35 E3 EF 07 EC 30 25 63 F9 E9 9E 7B B9 AD DC 36 A4 CE 97 BA 77 B7 F2 1B 9A E2 B1 76 98 3A 73 95 EC D8 62 8B C3 32 07 1E 10 BA 7E A9 96 72 EB 67 8C 01 41 B7 E0 90 8B 75 D2 BF 82 DC F5 12 E6 FF ED D7 2A 94 B7 26 D8 1C D4 8C 89 92 E7 76 81 A6 F1 81 13 65 5E 37 00 CB 59 E8 10 02 8B 67 C2 DD 3E 96 30 22 C7 BB 03 E9 7E 10 EB BD 18 65 7D 78 5E 84 34 24 16 3A 6E 4E F0 F5 B7 5C 4B 1C 90 9A FC 5E 78 3A 6F 0C 5A F8 21 96 71 BF E4 2D ED 89 A4 C5 26 1D 8D B7 34 09 B8 3D 3E E6 EA 56 B0 8C 33 1F E4 7B C8 A5 73 FD D2 E0 F9 D9 4E 9F C8 12 EC 42 A4 02 D0 1D 12 71 47 17 90 12 FC 1B 89 C4 47 DF 73 5C FB 93 CC FD 2E 21 55 58 7C 03 8A 57 1B 8B 32 C1 7A 37 29 7F 62 95 85 07 4E 3E B0 66 8B 48 E0 2F 75 93 6D 6A 75 7C F4 5A DE 8B 0F 85 77 20 D5 47 41 0C 54 D3 0F A3 39 62 84 EF 65 D5 B9 57 1B 34 F7 3D AB A8 F2 AC 57 79 C4 DE 04 10 86 6D 71 00 BA 3A 38 58 28 E8 F0 CC CC 78 4E 43 9C 96 20 79 09 AD 53 A5 19 96 F0 64 EB F2 A0 E2 40 9A EA E3 97 84 A1 54 26 FE 5F 15 CA 8B A4 B1 5A 35 B5 03 01 2E 26 4C 4B D2 CC 71 7D 4C 71 CC A9 46 EE EE EB A8 E9 36 9F A7 5C 76 F1 21 7D 00 EA 98 7C 6D 0C 43 EC 0D 77 55 3F 32 AA 79 25 27 03 E4 FB E3 90 AB 96 E4 10 18 C4 F8 1C 27 73 8D A7 DA BE F1 CF A2 71 18 E3 66 DD 0D DC 42 19 6A 93 D0 59 98 DC F8 3C D3 F5 B0 46 D4 B1 C1 35 21 59 49 22 2D 09 37 92 D1 9B 1D 46 7A E6 A7 3A 9B CA 77 86 B7 33 04 03 86 33 69 9D 81 BB 96 EB 68 56 07 DF 16 2C 2F B7 65 E9 F6 15 91 B0 80 99 B3 2D CD C0 E8 BF FE 0B 6E 08 BF B7 82 FD B9 7D 8F 91 32 FD 46 E9 2F 1F FA C8 A6 DA D9 E6 11 87 EA 59 F1 E0 8E 04 D9 C1 D4 98 9E BB AE 00 B0 3D 9D 54 99 D5 C9 F3 B7 D4 70 DF 60 74 AC 51 C6 64 A1 C3 BE 6D EA BF C1 27 24 6E 8B 4F 44 2C EB 78 FF 38 3B 68 DC 15 14 7D 19 07 68 B9 D3 2B 2E 02 99 FD 28 EB AD 68 FB 19 B4 F2 F8 2D E8 2B A3 0E 05 68 DB 2C F7 0F 26 39 65 71 C2 96 5B 02 1D CE 30 1C 7B BB 08 79 40 F8 71 D9 94 56 63 B1 DC AC B0 DD 4D 74 D6 5D 14 4A F1 EE A8 7C 90 F9 FF 81 0D EF FE 2F 89 CF 63 77 8E 7B 5C E0 6B D1 E7 45 49 DB D4 89 9B 8D EE BE 96 91 23 51 F9 E8 77 AA DF 9C 22 9D 2A C7 F0 8A 87 BC EC 65 6A C1 1B 5C 76 C1 64 CD ED E5 CF 3F A4 8A 5E A6 CA 34 E4 FE 80 81 7E 9D 3F 19 42 61 F6 C9 9A AD A6 D0 FE 49 1F B2 1D F6 7F 5F 4F C0 EE 83 39 DD 2D 94 CA F7 93 BD 83 64 68 21 2D 29 62 3A 8A 99 3D EA 1D 76 62 63 BD BD A7 C2 66 37 C1 39 4A 82 3C 22 9B 2B 8A C3 19 67 10 FF 12 F2 19 3C 2A 11 FF 62 63 9D DD 0F 03 C6 F9 C8 68 B8 D8 01 92 D9 E2 68 04 B2 E7 41 D1 36 EB C3 39 F3 54 29 7F BD 6D 5D 9C 92 40 8B 9F 7C 7C EE AA AE F7 BE 49 41 E2 5F 0C CA 53 9A 95 54 BA BF A0 5D 62 48 D2 42 99 86 55 86 96 88 DC 79 BA 39 C4 30 B2 81 D8 81 DE C1 72 16 2F 93 AC 04 53 27 25 6E 27 B4 69 57 54 21 86 25 B3 2D 7C 9B A5 B9 00 E8 F1 D7 0B 00 23 1E 7A F4 36 2D 60 20 8D AF DD 59 4C 37 3A 46 83 81 98 A8 B0 24 CF 95 F0 33 EA 64 F8 94 CD 48 CA 3F 7D 09 A5 C8 A8 11 D3 FB A3 E7 EA FD B6 FC 06 AD 76 DE E0 A5 41 92 77 42 00 7B D5 54 5B B3 13 37 B4 57 C4 30 91 B9 1C 4A 5C F4 96 55 46 09 74 1F 2A 6E E7 1D 30 EB 39 E0 83 B2 24 3C 97 09 71 F6 4A F5 BD BB BB F5 59 2F 9E D5 E3 CC 43 65 D4 B9 A9 D3 2B 5E DB 2E 85 C3 09 83 56 44 ED 1D CD 29 1C 41 36 10 5B 0B 64 8E AE FD 72 73 6A C7 76 6D BB 72 43 8A 5C CD 62 33 DF 08 5D B2 CA 03 99 4F 94 6D 02 3F 2D 91 A3 E7 CF 4E 4D AC 46 A2 26 07 4F 89 C5 AA BE 00 57 6D E5 A9 34 A6 60 A9 FC 70 83 E3 92 42 28 60 8F 54 89 92 38 F3 36 15 67 4E AD 11 3B DA 6E FA 90 DA D0 06 C3 9C F7 CE 07 2B C4 A0 3A 88 65 03 35 D4 DE AF 6C 77 CE 90 57 6A F3 65 C5 3F 3A 4C DC 28 10 B5 06 BF E4 A9 98 CB 2F B4 7C C4 63 14 B0 9A F6 B9 9D E4 8D 9E F4 C7 E8 CB 92 82 46 8B E2 A1 64 E2 61 C8 0C 9D 32 DA B5 EE 69 47 A4 0B 40 1C 9C 76 8F A7 B0 89 94 74 09 49 21 DD 21 8D 79 5E 4D 7E FB 3E A5 98 FD FA 01 33 D7 40 38 E9 46 43 D4 88 EC 8B 4A AC D8 21 C6 07 2E 51 22 FB BD 1B 52 A4 BF 4C 7C 22 A7 35 42 A7 74 9C A9 F1 B0 F8 F5 67 5F B9 89 5A 33 31 42 52 C6 84 7F 38 86 96 97 3F 3B B2 E9 C4 64 16 FE 54 2E 59 43 29 02 04 40 00 76 01 9D 68 92 7A FA DC F2 8E D3 AA 73 33 C8 34 FD 04 9B D3 B2 98 F2 03 2F E2 FC FD EF 48 F4 07 A8 CE 72 93 D6 4B A3 93 D1 DB D4 E1 CD E3 A4 0B 91 CE 9A 9C 3E E3 9B 75 A6 A9 91 58 56 3A 57 E2 FF 11 2C F4 DD 95 96 95 67 89 97 06 A5 F5 85 18 B3 A6 67 4B 1D 5E 1B 5E 08 07 4D F7 4E B4 A6 48 83 B8 79 6E D9 C4 63 1C 89 DE E8 33 E0 3C 24 59 91 E9 05 DD D1 81 9B 31 CF 4A 86 A6 53 57 90 45 42 CA 4B BF 77 85 DD 5D B6 AE 3A DB 0C B3 E6 1E C9 F9 03 61 21 5B CC 27 ED AB 8B 23 5E 03 4D 91 CC 28 96 A4 A6 3F FF 8A F1 E4 42 F1 13 EC 7A 7D 64 B9 98 56 F1 75 FC E5 D9 89 B5 11 D1 02 6F 20 22 A8 B3 69 07 8D 1E 81 27 25 5B 2D 17 D7 92 4D FE A2 A6 60 F2 B6 B2 05 A7 F8 2D 38 28 67 3A 04 54 E4 3B 4B 5E 44 7F 57 71 90 DE CD B4 9E 97 3E 76 26 95 B8 3C DC A9 AB 30 1F 98 C6 5B 37 AB F2 65 29 0B 81 09 98 A1 94 A7 22 FE 30 D0 EF 65 7D E8 EA F0 3B 05 0C 11 63 5D 13 C4 AD C9 CF F2 1E B7 B8 9D 21 F9 69 63 91 14 E7 39 C0 84 29 96 84 DC 49 E6 58 DE D0 2E 05 C0 14 90 74 33 6E 56 18 40 3C 65 8D F1 31 6C D1 45 F4 7D 37 B8 2A 03 6E 7A 2C A7 99 B5 23 CB E0 0B 19 22 80 59 30 21 14 64 57 E2 4A B1 FD 7A F6 99 A1 49 E1 E7 CC 35 CC AC 88 25 0B C4 05 42 F1 0B 78 CF 16 19 07 6C 97 93 06 0B E5 8E 3A 10 CD 83 AB 31 AC F9 88 F3 41 4E C3 81 B0 03 83 D2 8B B0 EE E4 42 F9 62 12 3A B2 4E 46 CE DA A4 91 EC B1 4E 2A 26 15 70 39 6A F2 14 D3 02 C9 6F 5C A9 6E C5 23 E8 50 D4 C2 74 15 4A 15 B7 7E 00 28 27 E7 6D 7F 21 71 23 55 71 82 E4 2F 6A B6 4B 1E 29 8A EE 46 9E 92 9F 9B AB 25 B0 AE 6A 9C 72 6C 5C F7 8E E3 FB 24 1B 0E B7 01 8D E6 6E 18 1D 58 2B 22 01 E9 45 CC B7 A7 D0 51 79 B5 CC 6B A1 0E 52 3C B6 D9 C3 7C F3 74 12 48 2F 58 65 E5 48 98 C5 94 48 A7 8E 5C B3 B8 1B DD 24 08 D2 54 B4 40 7E EB 61 F9 CA 14 9E 70 00 22 28 A2 D2 D3 B8 CD DB 46 DF 47 23 8F BD EE C7 EE 3A E3 57 BC 15 32 50 E7 26 31 B2 1C 17 E7 F6 14 20 22 34 18 F1 0A 02 84 11 ED 1C 85 70 6F 3F D6 E4 6F AC 93 94 70 39 F6 47 26 23 08 77 CF 73 57 CB 70 5F 82 50 D4 7F 26 8F 95 D7 90 6D A1 DB 4D 87 27 0A 8E 06 F6 4B E6 B3 22 D2 90 3C 41 2E 56 87 55 10 31 18 12 80 AF D4 A3 C0 B4 D5 EB BC 77 7D 74 AB B1 56 09 18 4B 1D 80 17 E0 A7 20 D4 1C A4 F2 53 F1 CC 35 31 20 6F EC 0D D1 CB CF 48 56 FA 85 64 91 1D 8F D7 95 12 67 0D 52 8D 7D 74 96 F2 3E C8 A8 CE 7D E0 28 96 D6 FF 69 18 00 08 18 B6 3A 6A E3 1D F7 B8 0B 63 28 1A 0B 8F E3 87 04 24 AC 8B C0 A3 CD E7 0F E6 B8 F6 1F 43 B1 16 2C 23 2F 1F 7A 6F 06 BC 6F 24 39 21 0F 69 21 57 4D 19 FA 04 44 B6 68 1C C5 73 91 67 CD 91 03 08 E9 7F D7 98 AE 52 62 04 32 A6 62 85 A0 99 9C 2C 25 72 F4 9B B4 ED E6 8D 3B F2 B0 48 2E FD 82 93 2A 54 62 CC 4A 20 4F FC 65 18 F4 EA BA 72 55 42 59 A1 D0 BF 05 05 0E 77 48 10 52 2A F2 BF B8 91 7E F5 12 2D 16 66 9A 72 EA 94 6F 2D D5 9C 63 8A 75 D5 92 58 74 D6 3D 5A C3 0B A6 31 AC F2 D2 E3 B0 FF BE 9B 46 2D C4 33 CB 38 AC E7 D4 D5 7F 65 86 F9 79 C7 08 D4 6C 8C FB EB 11 E2 1A E2 E3 11 21 65 B4 BB 9D 87 29 B2 BA 49 88 89 57 32 6D 44 5C C6 D5 A0 5B 2B 50 B4 FA 4C 84 D0 39 E8 65 C3 9E 20 9D 52 85 CC C9 7C 1F 82 0A 91 74 7F 6B 66 00 2C EA C3 37 C7 E0 1B 20 01 1D B8 CA BF B1 14 EC D2) */; + + static _003CModule_003E() + { + _206F_206F_206B_206A_206D_200B_200F_202B_202D_200B_202A_200D_202E_200D_206F_202C_206B_202C_206E_206C_202A_200B_206A_206A_206A_202D_206F_206E_202D_200B_202A_206A_200E_202C_206C_202B_206B_200E_200E_202D_202E(); + } + + internal static byte[] _206D_200C_202A_200C_200C_202C_202A_202C_200F_200C_200D_206B_200F_206C_206D_200D_206B_206A_206E_200C_202B_206B_200B_206B_202C_200E_202E_202D_200E_206F_206E_206D_202E_200D_200E_206A_200E_206B_206E_202C_202E(byte[] data) + { + MemoryStream memoryStream = new MemoryStream(data); + _202C_206C_202B_202E_206F_200E_206B_206E_200E_202B_206C_206F_206A_200E_202C_206C_206E_202D_206A_202B_202C_206E_202B_200C_206A_200C_206B_202E_200E_202C_202D_200F_206F_206A_202B_206A_200D_200F_200E_200F_202E obj = new _202C_206C_202B_202E_206F_200E_206B_206E_200E_202B_206C_206F_206A_200E_202C_206C_206E_202D_206A_202B_202C_206E_202B_200C_206A_200C_206B_202E_200E_202C_202D_200F_206F_206A_202B_206A_200D_200F_200E_200F_202E(); + byte[] array = new byte[5]; + int num = 0; + while (num < 5) + { + int num2 = num; + int offset = num; + int num3 = num; + int num4 = 5; + num = num2 + memoryStream.Read(array, offset, ~(~num4 + num3)); + } + obj._206B_206A_206E_202D_202C_200B_200F_202E_202C_200F_202E_200E_206E_206F_206A_206D_202C_200C_200E_202C_206C_206E_200F_202D_200C_206D_206C_206D_202D_200E_200F_200E_200D_202E_200E_206A_202B_202E_200B_200F_202E(array); + num = 0; + while (num < 4) + { + int num5 = num; + int offset2 = num; + int num3 = num; + int num4 = 4; + num = num5 + memoryStream.Read(array, offset2, ~(~num4 + num3)); + } + if (!BitConverter.IsLittleEndian) + { + Array.Reverse((Array)array, 0, 4); + } + int num6 = BitConverter.ToInt32(array, 0); + byte[] array2 = new byte[num6]; + MemoryStream outStream = new MemoryStream(array2, writable: true); + long inSize = memoryStream.Length - 5 - 4; + obj._206A_202D_206A_202D_200C_202C_200B_200E_206B_202D_202B_206D_202E_202A_202E_202E_200B_202E_206C_202C_202E_200B_206F_200E_202A_206A_200C_206E_206B_206B_200F_202B_200D_200E_206E_206A_200D_206C_202E_200E_202E(memoryStream, outStream, inSize, num6); + return array2; + } + + internal static void _206F_206F_206B_206A_206D_200B_200F_202B_202D_200B_202A_200D_202E_200D_206F_202C_206B_202C_206E_206C_202A_200B_206A_206A_206A_202D_206F_206E_202D_200B_202A_206A_200E_202C_206C_202B_206B_200E_200E_202D_202E() + { + uint num = 1104u; + uint[] array = new uint[1104] + { + 3334245356u, 1483455333u, 2935519741u, 4069155095u, 13189079u, 2436811893u, 4145352019u, 2321704146u, 1896339271u, 824751194u, + 2488061190u, 2224364181u, 494434779u, 1729594747u, 1836189688u, 651884417u, 543408600u, 1853326789u, 469057802u, 2419988932u, + 2741587079u, 3743212052u, 449342741u, 383287636u, 3027163459u, 1051468120u, 3031389054u, 2535007498u, 2597896440u, 4140606557u, + 2794880253u, 469025130u, 2404976084u, 3313917975u, 3199270010u, 1552289160u, 692934931u, 4223873710u, 578179717u, 2646817274u, + 4183000468u, 3607026932u, 4048063787u, 1504657175u, 2323440378u, 4100831526u, 2911309215u, 3462732071u, 1036809387u, 1515157401u, + 3595333565u, 3222592829u, 1596964191u, 3501133914u, 459200926u, 445875549u, 510255156u, 3358857341u, 660591313u, 1061537651u, + 4154691853u, 1507400389u, 863208578u, 3725599920u, 1716720127u, 221813125u, 1763400244u, 447995093u, 2527793293u, 338972708u, + 2079248853u, 771880981u, 194674162u, 2823932278u, 3618933782u, 943520788u, 636188422u, 1797438598u, 1430388876u, 2419523339u, + 2127876803u, 2813754814u, 57195423u, 449533471u, 1228809765u, 562502210u, 3059161601u, 2558838188u, 2052916465u, 102571917u, + 4267309614u, 2890693077u, 1864882036u, 2672914963u, 2334287763u, 1673880099u, 3256459890u, 3627633503u, 127737268u, 1531344294u, + 2001000198u, 3071705492u, 1196187761u, 672695250u, 2809700780u, 2767482220u, 786495260u, 2384758540u, 3827735524u, 4104449907u, + 1475970938u, 227813137u, 3642961938u, 1942301715u, 1927941946u, 441880785u, 3074712775u, 1267820556u, 4053739325u, 451116703u, + 2993068281u, 4034456583u, 681597381u, 2376284511u, 1866208780u, 4066292609u, 3107220626u, 4256352386u, 4190718898u, 3291696686u, + 3407261416u, 3421057808u, 2981282022u, 545827841u, 137509964u, 2075156915u, 3342125068u, 1840843422u, 2458102094u, 1838197409u, + 1593773619u, 3252724844u, 3329057808u, 3962492133u, 3554267214u, 898152892u, 1117012474u, 1844277948u, 1636884041u, 28212937u, + 1004519539u, 3273638830u, 3543410400u, 3663201189u, 4268638524u, 2298317886u, 3298869986u, 1799650539u, 542325374u, 2357135968u, + 898180496u, 4216788938u, 1000344324u, 3178495705u, 599039644u, 217454550u, 4248737210u, 1873794650u, 728642393u, 806092246u, + 3819687794u, 357782217u, 3300036934u, 2698061132u, 1193760114u, 133316912u, 39672933u, 3968711634u, 4199030576u, 1057550050u, + 3250323932u, 3028047974u, 2567411900u, 3199553216u, 4173734989u, 2741000460u, 530788710u, 4200927966u, 2722135728u, 3803618250u, + 3869284046u, 1076633640u, 2227710940u, 2413474558u, 1010413183u, 3097164827u, 1526015634u, 264624556u, 3514466739u, 2083300514u, + 814164623u, 2939385100u, 3432444501u, 1261272411u, 262429972u, 3638203017u, 688875576u, 3475502683u, 1252244066u, 1256956670u, + 3910823734u, 1402850144u, 1194081086u, 4121168770u, 2156938741u, 3923114288u, 2806481777u, 3792669994u, 989557333u, 4114439007u, + 3112287445u, 165376468u, 532234189u, 4177013489u, 4129847870u, 65944154u, 3877502601u, 4114237097u, 408042088u, 1418634751u, + 3108258739u, 895287001u, 3348387866u, 3053185832u, 553220532u, 1431240277u, 3790614404u, 3662236099u, 4246825704u, 2318269026u, + 137450722u, 1659726357u, 1871192451u, 4109275305u, 1791019633u, 4156312573u, 4026094009u, 3990963260u, 3567935561u, 2167050415u, + 397847575u, 3625888311u, 1902535300u, 609185350u, 375927461u, 2452592806u, 1316538410u, 1059980053u, 697095839u, 592846940u, + 4148304207u, 1991722885u, 1193046182u, 2580847342u, 1140256935u, 4194246241u, 1257429013u, 1530435459u, 1143213305u, 2478335866u, + 2051547993u, 3690195021u, 1879543237u, 4254841540u, 2231066688u, 2112390060u, 326787284u, 3561287407u, 1120367786u, 3032035250u, + 330127424u, 2192511536u, 2364533213u, 1836124978u, 1146624895u, 3278626224u, 1609872922u, 41985843u, 3214475568u, 1072395656u, + 3997967011u, 3957458936u, 3899127552u, 1485938365u, 2556992461u, 669272431u, 1123683947u, 840044263u, 778575988u, 1718890688u, + 1385357764u, 3593437481u, 396400785u, 1922094825u, 2149266961u, 4166220640u, 782925035u, 992091950u, 4064158246u, 787157309u, + 1404882473u, 4023297054u, 3259798592u, 3131746809u, 2415710216u, 2098888181u, 3520536758u, 82740981u, 4167968703u, 2557408154u, + 2735091879u, 628611548u, 3649077743u, 2012504367u, 4252977612u, 1727330292u, 3472056298u, 3100438643u, 374187733u, 4285329198u, + 2921885483u, 2367202978u, 2946333442u, 1730568940u, 2012952628u, 2592600047u, 844923915u, 3845877468u, 2402050455u, 1419579484u, + 1231203608u, 4065565274u, 111574004u, 1292923268u, 3730534516u, 597855749u, 1504242168u, 3652565082u, 2729821522u, 2859149819u, + 2074709365u, 4041961778u, 3098049741u, 1867290139u, 2373350551u, 2626383701u, 61230826u, 10699526u, 3537984389u, 2261505469u, + 206440155u, 3162421461u, 47698906u, 749352580u, 256074826u, 3993153288u, 3720160814u, 1071189347u, 4083156304u, 1378070772u, + 1605363189u, 1809305824u, 328885599u, 973548884u, 1209479796u, 2225819946u, 117855063u, 1898353480u, 4267494989u, 1365754306u, + 669702248u, 565719405u, 2058028059u, 1169617214u, 2880107233u, 784468510u, 722902831u, 788261374u, 507378788u, 1149971655u, + 2123359196u, 2231313999u, 250409540u, 3528516301u, 1634489037u, 3594998487u, 3727356143u, 873226030u, 1474389035u, 2717115620u, + 1583170701u, 2164059244u, 1325807060u, 1174134283u, 2894200044u, 1845665542u, 1314841815u, 265770791u, 2036057210u, 898179882u, + 569638598u, 2671933222u, 3256881472u, 1487335547u, 545960537u, 1666310616u, 2141865591u, 1333741804u, 1984691084u, 3361116798u, + 1929535847u, 2566225786u, 3986535751u, 3711905546u, 1401681162u, 2082327975u, 2971095073u, 280171549u, 1555226716u, 484635981u, + 2341078728u, 4249282361u, 4259773631u, 3711643335u, 2657415258u, 2521175262u, 276795426u, 1620504190u, 554320368u, 2747093423u, + 4158999574u, 2933939945u, 2005957842u, 1947592580u, 4248738253u, 2107251230u, 2432015589u, 914894045u, 79437700u, 185405940u, + 890160591u, 3111712193u, 3064944173u, 844902336u, 699853844u, 1692549275u, 495576161u, 614579770u, 3005201361u, 3146807096u, + 3830617034u, 2612211295u, 1645408387u, 3510138896u, 2275772100u, 1168518655u, 2109932637u, 1876872061u, 1646935836u, 2801517822u, + 277652665u, 2729738186u, 189449204u, 1170106903u, 1266140322u, 1213979875u, 929875847u, 2488310307u, 4094638991u, 848665345u, + 1758918593u, 3696910618u, 2383356384u, 3444593320u, 881858706u, 853844667u, 4271741005u, 1929701114u, 2221774730u, 1789111170u, + 345284303u, 1387838626u, 1898603660u, 275819127u, 1141198380u, 58547631u, 198843078u, 2562382103u, 2362515940u, 596075299u, + 3707156411u, 67009420u, 1337779262u, 1170510798u, 1756202802u, 2177035015u, 4097430996u, 291703561u, 4082765382u, 1158605818u, + 2020338986u, 3217851106u, 1850691733u, 3516032450u, 2939506221u, 3568943328u, 1913602981u, 2086809379u, 1678402128u, 3915764181u, + 3205178584u, 1624907896u, 3224547559u, 4237922954u, 1707634365u, 362470030u, 2190888080u, 2838534896u, 1846604572u, 2190090366u, + 3964446100u, 2569093375u, 736108327u, 2364754862u, 816112746u, 3540104646u, 414772841u, 898938536u, 3959943139u, 4184024368u, + 3111886569u, 2755058861u, 2008717262u, 2585522871u, 2557915618u, 3969217338u, 3280691928u, 270403378u, 2527690426u, 2355620722u, + 3770106113u, 3530918800u, 4124869311u, 3992970770u, 3079940823u, 3558660134u, 3885140364u, 4054221174u, 1583682433u, 1506476087u, + 2332168424u, 1054720615u, 3340906646u, 2129200059u, 415099664u, 1584954725u, 371471492u, 4031671866u, 1264367605u, 4237987868u, + 1866102878u, 569924108u, 3837751702u, 2760502573u, 2367497925u, 3087611063u, 3940957757u, 864858198u, 3363562527u, 3539825573u, + 1322908128u, 3960653983u, 3489834050u, 1198592541u, 4229074967u, 1204062491u, 4217140191u, 788384915u, 2086163745u, 458721795u, + 2059481739u, 1652500791u, 1309115797u, 2338762814u, 1966071880u, 1969909139u, 3730502780u, 2005208971u, 1095226656u, 265507852u, + 2221029795u, 3117770223u, 4147387223u, 4071140157u, 3296286636u, 2249196766u, 3120591213u, 676870202u, 3435983080u, 2621656696u, + 158933142u, 430265261u, 3949260950u, 1088594162u, 2548296346u, 643080580u, 3390398462u, 1521591435u, 17020213u, 1263281710u, + 2104610002u, 2848747852u, 3958304326u, 2671176104u, 4051066023u, 3925900577u, 208501912u, 1997401155u, 2855419733u, 52897145u, + 2430860260u, 283416235u, 486065176u, 2811065127u, 3488726746u, 3810029986u, 3691896166u, 2473204034u, 3700971984u, 4124261624u, + 2983478960u, 1495348673u, 153952841u, 2614202935u, 3866773021u, 3399170727u, 867665527u, 864420612u, 3145833833u, 1449716630u, + 739696391u, 3915757359u, 2962298358u, 766744960u, 3219701965u, 141429758u, 4253202367u, 2442100153u, 3913743666u, 3371835183u, + 3873036966u, 1508542225u, 76472561u, 2564080089u, 11451294u, 1419591088u, 4090090905u, 3748713655u, 1370256480u, 3282134214u, + 3219811774u, 1847863233u, 742674315u, 956266731u, 366766139u, 119110932u, 735295848u, 4254663214u, 1756228392u, 4071889403u, + 736636408u, 1745161891u, 267857115u, 1902459174u, 39556802u, 472960541u, 2030615419u, 3648124992u, 2976077460u, 3719343324u, + 1574335565u, 4008790548u, 4186995880u, 4010639871u, 3481874430u, 2072934243u, 3513507932u, 3679012327u, 2375780820u, 2442575598u, + 3908653347u, 2631903863u, 3341458722u, 3162999536u, 3244975596u, 3245759515u, 3857567076u, 2326020047u, 885696094u, 2172714724u, + 423599486u, 3388367170u, 3500584346u, 2988395006u, 1602221597u, 2213462095u, 2486033721u, 3180591050u, 560489603u, 979511597u, + 3929905546u, 1667397149u, 3265772989u, 968963942u, 574390858u, 3280612251u, 4279265049u, 1008333330u, 1660883242u, 266181987u, + 3371812355u, 30980200u, 1759697298u, 1105703428u, 3286972113u, 693433145u, 1567473023u, 2336264860u, 4001135775u, 3203903146u, + 1608663369u, 2589182476u, 3216659605u, 1214406048u, 2258191058u, 2291566165u, 968522204u, 2175938756u, 3252584920u, 2469336690u, + 659752108u, 3022482981u, 559175529u, 766715270u, 3114638204u, 3622955008u, 505610251u, 758576250u, 2945261664u, 927750621u, + 2172864058u, 615557272u, 871405007u, 2499306730u, 1070221517u, 3366259069u, 4224913832u, 4260030371u, 2902916278u, 2782977654u, + 1115132481u, 1423276800u, 924037979u, 818173876u, 1243396497u, 1435956316u, 527698246u, 501706282u, 3761892144u, 1009037955u, + 4134603159u, 3149788490u, 794424763u, 3437483422u, 3117704515u, 1579930537u, 3280285403u, 1146520329u, 701308397u, 271991068u, + 2388921179u, 1936915886u, 1836500842u, 2319676091u, 862113116u, 2992441567u, 1335428042u, 1057123732u, 3886256429u, 2890747599u, + 119972422u, 2865072463u, 1834418366u, 2788469221u, 1895606624u, 1116922755u, 1418682408u, 4080571017u, 1315378486u, 3661304237u, + 3666934382u, 2630026960u, 721932023u, 2285543620u, 3560244069u, 2003611614u, 1784123598u, 1069901299u, 685526074u, 3204887824u, + 3415779812u, 3296506927u, 2595230819u, 3835542006u, 3354697357u, 2190658536u, 2715978566u, 3361858148u, 3660750092u, 1198124725u, + 473959332u, 2811197084u, 1955891632u, 3709946121u, 1585024289u, 1056669261u, 4210923685u, 1087845121u, 1128720696u, 2347534548u, + 567848010u, 1361971142u, 465435426u, 1287627858u, 900145788u, 2624890690u, 4172345769u, 3110037493u, 825449097u, 2227589698u, + 2525378687u, 2990227351u, 375702761u, 1496208638u, 67250499u, 24510528u, 2056415389u, 2398280954u, 863218387u, 83702984u, + 2561856411u, 3794732018u, 1223687676u, 3467118580u, 1272353650u, 3687945123u, 3821920724u, 3465612196u, 3812531354u, 2846258587u, + 978737297u, 301982295u, 2514351148u, 2305267094u, 4121233047u, 2796755077u, 1578978151u, 117988891u, 3025073997u, 3095611558u, + 3302583929u, 3733527651u, 1021326312u, 3918616868u, 2178014469u, 1255092635u, 1465099910u, 3393340816u, 2239217483u, 2931187165u, + 3003964218u, 4190707430u, 1528914179u, 2884446156u, 56501131u, 684495181u, 1067885718u, 3841035007u, 3960729922u, 3110370682u, + 1978750616u, 2312758780u, 47255989u, 2820808815u, 2366073267u, 623345950u, 3608620379u, 2734574994u, 3069337766u, 4171695538u, + 1730689069u, 3830711354u, 1147030331u, 2423347071u, 2662649310u, 645283479u, 3694966933u, 523283369u, 928761496u, 694547115u, + 2550759691u, 581407905u, 4023398654u, 3941104997u, 201669616u, 324887313u, 3486100932u, 3099008754u, 1777934749u, 3876884835u, + 696565817u, 1239188630u, 3504232678u, 348128558u, 1848865936u, 1010833494u, 837913957u, 4098216300u, 716715901u, 746221059u, + 599103911u, 420208843u, 811171874u, 1466176545u, 4256254690u, 2711221882u, 3437748553u, 2293025845u, 96733989u, 2014048578u, + 119084751u, 110335852u, 982443275u, 2877541648u, 2298063921u, 3276685811u, 2198057089u, 4004547538u, 1660502756u, 1320303122u, + 2765803078u, 1320283281u, 1880434218u, 351431225u, 1875444435u, 3312363868u, 3562072099u, 1242920130u, 8304405u, 1843865384u, + 594616703u, 3833753941u, 1270245935u, 4002031902u, 2677186118u, 2955258779u, 1922853550u, 2398575724u, 455408611u, 2365699854u, + 488140518u, 19016536u, 3083617769u, 2035404967u, 2708196533u, 3057406478u, 4085040089u, 793252468u, 1222993240u, 1217709464u, + 3009187495u, 618470328u, 3025457672u, 1642823232u, 2652162809u, 673316976u, 3100889762u, 3745962957u, 3180274503u, 988727278u, + 364664803u, 652693554u, 387756593u, 538244839u, 4044895266u, 293863946u, 1887771885u, 3839246191u, 2492705903u, 1207318896u, + 1997021990u, 3411506127u, 1350721392u, 2401664980u, 1838208917u, 2270026657u, 109972007u, 3018214390u, 1016123938u, 2270572097u, + 405868629u, 3568271378u, 3585392803u, 2104999147u, 1454484340u, 491460617u, 2816481152u, 2753352736u, 3438367730u, 1864380725u, + 3419475436u, 4199958735u, 496067717u, 311809935u, 2370964839u, 4069946493u, 3467167806u, 2519261309u, 409599958u, 3055028224u, + 501443130u, 1661712631u, 2399869480u, 604276707u, 2747304876u, 3859802061u, 1126168248u, 590091953u, 1870274351u, 611302406u, + 1762599225u, 424498977u, 3057911034u, 1942297704u, 2446157713u, 2145978371u, 1387174103u, 2788295778u, 2577433954u, 1915038876u, + 3988036596u, 4063989222u, 4247668912u, 1412076418u, 541772898u, 409336911u, 1924852468u, 2706981461u, 84262864u, 273184526u, + 3220318802u, 4118712760u, 1712729362u, 2498392730u, 2631216495u, 3581250147u, 3597949074u, 197351997u, 4071371174u, 4289782738u, + 759602110u, 952841156u, 3587499948u, 4186334591u, 3557345145u, 3959131244u, 3793412625u, 1696666083u, 2275261364u, 1236972073u, + 844597640u, 3327935597u, 727425237u, 1291498576u, 3896103044u, 547275621u, 3431289501u, 2183101641u, 2138345738u, 738223723u, + 3342320618u, 18881504u, 3217733661u, 3538687153u + }; + uint[] array2 = new uint[16]; + uint num2 = 1608221454u; + int num3 = 0; + while (num3 < 16) + { + uint num4 = num2; + int num5 = (int)(num2 >> 12); + int num6 = (int)num4; + num2 = (uint)((num6 | num5) - (num6 & num5)); + uint num7 = num2; + num5 = (int)(num2 << 25); + num6 = (int)num7; + num2 = (uint)((num6 | num5) - (num6 & num5)); + uint num8 = num2; + num5 = (int)(num2 >> 27); + num6 = (int)num8; + num2 = (array2[num3] = (uint)((num6 | num5) - (num6 & num5))); + int num9 = num3; + num5 = 1; + num6 = num9; + num3 = (num6 | num5) + (num6 & num5); + } + int num10 = 0; + int num11 = 0; + uint[] array3 = new uint[16]; + byte[] array4 = new byte[num * 4]; + while (num10 < num) + { + int num5; + int num6; + for (int num12 = 0; num12 < 16; num12 = (num6 | num5) + (num6 & num5)) + { + int num13 = num12; + int num14 = num10; + num5 = num12; + num6 = num14; + int num15 = num6 ^ num5; + int num16 = num6 & num5; + array3[num13] = array[num15 + (num16 + num16)]; + int num17 = num12; + num5 = 1; + num6 = num17; + } + uint num18 = array3[12] << 2; + uint num19 = array3[6]; + num5 = -511457511; + num6 = (int)num19; + int num20 = num6 + num5; + int num21 = num6 & num5; + array3[6] = (uint)(num20 - (num21 + num21)); + uint num22 = array3[11]; + num5 = (int)array2[11]; + num6 = (int)num22; + array3[11] = (uint)((num6 | num5) - (num6 & num5)); + array3[12] = array3[12] >> 30; + uint num23 = array3[8]; + num5 = -700308787; + num6 = (int)num23; + array3[8] = (uint)(~(~num6 + num5)); + uint num24 = array3[8] * 28; + uint num25 = array3[4]; + num5 = (int)array3[13]; + num6 = (int)num25; + array3[4] = (uint)(~(~num6 + num5)); + uint num26 = array3[8] * 49; + uint num27 = array3[8] * 41; + uint num28 = num24; + num5 = (int)(array3[11] * 105); + num6 = (int)num28; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num29 = num26; + num5 = (int)(array3[11] * 182); + num6 = (int)num29; + int num30 = num6 ^ num5; + int num31 = num6 & num5; + num26 = (uint)(num30 + (num31 + num31)); + uint num32 = array3[0]; + num5 = (int)array2[0]; + num6 = (int)num32; + array3[0] = (uint)((num6 | num5) - (num6 & num5)); + uint num33 = array3[12]; + num5 = (int)num18; + num6 = (int)num33; + array3[12] = (uint)(num6 + num5 - (num6 & num5)); + uint num34 = num24; + num5 = (int)(array3[12] * 100); + num6 = (int)num34; + int num35 = num6 ^ num5; + int num36 = num6 & num5; + num24 = (uint)(num35 + (num36 + num36)); + uint num37 = array3[0]; + num5 = 144172062; + num6 = (int)num37; + num18 = (uint)(num6 + num5 - (num6 | num5)); + uint num38 = array3[0]; + num5 = -144172063; + num6 = (int)num38; + array3[0] = (uint)(num6 + num5 - (num6 | num5)); + uint num39 = array3[0]; + uint num40 = array3[13]; + num5 = 144172062; + num6 = (int)num40; + num5 = (num6 | num5) - (num6 ^ num5); + num6 = (int)num39; + array3[0] = (uint)(num6 + num5 - (num6 & num5)); + uint num41 = array3[13]; + num5 = -144172063; + num6 = (int)num41; + array3[13] = (uint)((num6 | num5) - (num6 ^ num5)); + array3[10] = array3[10] * 2867943455u; + num18 *= 233216723; + uint num42 = num26; + num5 = (int)(array3[12] * 172); + num6 = (int)num42; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num43 = num26; + num5 = (int)(array3[9] * 266); + num6 = (int)num43; + int num44 = num6 ^ num5; + int num45 = num6 & num5; + num26 = (uint)(num44 + (num45 + num45)); + uint num46 = num27; + num5 = (int)(array3[11] * 152); + num6 = (int)num46; + int num47 = num6 ^ num5; + int num48 = num6 & num5; + num27 = (uint)(num47 + (num48 + num48)); + uint num49 = num24; + num5 = (int)(array3[9] * 155); + num6 = (int)num49; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num50 = array3[13]; + num5 = (int)num18 * -2025534117; + num6 = (int)num50; + array3[13] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num51 = array3[2]; + num5 = 3098724; + num6 = (int)num51; + int num52 = num6 + num5; + int num53 = num6 & num5; + array3[2] = (uint)(num52 - (num53 + num53)); + num18 = array3[5] * 1507810571; + uint num54 = num27; + num5 = (int)(array3[12] << 4); + num6 = (int)num54; + int num55 = num6 ^ num5; + int num56 = num6 & num5; + num27 = (uint)(num55 + (num56 + num56)); + array3[5] = array3[14]; + array3[14] = num18 * 2562492067u; + num18 = array3[8] * 15; + uint num57 = array3[15]; + num5 = -462230889; + num6 = (int)num57; + array3[15] = (uint)(~(~num6 + num5)); + uint num58 = num18; + num5 = (int)(array3[11] * 56); + num6 = (int)num58; + int num59 = num6 ^ num5; + int num60 = num6 & num5; + num18 = (uint)(num59 + (num60 + num60)); + uint num61 = num18; + num5 = (int)(array3[12] * 53); + num6 = (int)num61; + num18 = (uint)((num6 | num5) + (num6 & num5)); + uint num62 = num27; + num5 = (int)(array3[12] << 7); + num6 = (int)num62; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num63 = num18; + num5 = (int)(array3[9] * 82); + num6 = (int)num63; + int num64 = num6 ^ num5; + int num65 = num6 & num5; + num18 = (uint)(num64 + (num65 + num65)); + uint num66 = array3[2]; + num5 = (int)array3[4]; + num6 = (int)num66; + array3[2] = (uint)((num6 | num5) - (num6 & num5)); + uint num67 = array3[5]; + num5 = (int)array2[5]; + num6 = (int)num67; + int num68 = num6 + num5; + int num69 = num6 & num5; + array3[5] = (uint)(num68 - (num69 + num69)); + array3[8] = num18; + uint num70 = num27; + num5 = (int)(array3[9] * 223); + num6 = (int)num70; + num27 = (uint)((num6 | num5) + (num6 & num5)); + array3[12] = num26; + num26 = array3[12] * 23; + num18 = array3[10] >> 30; + array3[10] = array3[10] << 2; + array3[9] = num27; + uint num71 = array3[8]; + num5 = (int)array2[8]; + num6 = (int)num71; + array3[8] = (uint)((num6 | num5) - (num6 & num5)); + uint num72 = array3[10]; + num5 = (int)num18; + num6 = (int)num72; + array3[10] = (uint)((num6 & num5) + (num6 ^ num5)); + num27 = array3[12] * 13; + array3[11] = num24; + num24 = array3[12] << 3; + uint num73 = array3[15]; + num5 = (int)array3[7]; + num6 = (int)num73; + array3[15] = (uint)(~(~num6 + num5)); + uint num74 = num27; + num5 = (int)(array3[11] * 46); + num6 = (int)num74; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num75 = num26; + num5 = (int)(array3[11] * 79); + num6 = (int)num75; + int num76 = num6 ^ num5; + int num77 = num6 & num5; + num26 = (uint)(num76 + (num77 + num77)); + uint num78 = num27; + num5 = (int)(array3[0] * 56); + num6 = (int)num78; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num79 = num24; + num5 = (int)(array3[11] * 28); + num6 = (int)num79; + int num80 = num6 ^ num5; + int num81 = num6 & num5; + num24 = (uint)(num80 + (num81 + num81)); + num18 = array3[12] << 2; + uint num82 = array3[3]; + num5 = (int)(~array3[1]); + num6 = (int)num82; + array3[3] = (uint)((num6 | num5) - (num6 & num5)); + uint num83 = num18; + num5 = (int)(array3[11] * 14); + num6 = (int)num83; + num18 = (uint)((num6 | num5) + (num6 & num5)); + uint num84 = num24; + num5 = (int)(array3[0] << 5); + num6 = (int)num84; + int num85 = num6 ^ num5; + int num86 = num6 & num5; + num24 = (uint)(num85 + (num86 + num86)); + uint num87 = num27; + num5 = (int)(array3[8] << 2); + num6 = (int)num87; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num88 = num26; + num5 = (int)(array3[0] * 93); + num6 = (int)num88; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num89 = num27; + num5 = (int)(array3[8] << 5); + num6 = (int)num89; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num90 = num26; + num5 = (int)(array3[8] * 62); + num6 = (int)num90; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num91 = num24; + num5 = (int)array3[0]; + num6 = (int)num91; + int num92 = num6 ^ num5; + int num93 = num6 & num5; + num24 = (uint)(num92 + (num93 + num93)); + uint num94 = num24; + num5 = (int)(array3[8] * 22); + num6 = (int)num94; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num95 = num18; + num5 = (int)(array3[0] << 4); + num6 = (int)num95; + int num96 = num6 ^ num5; + int num97 = num6 & num5; + num18 = (uint)(num96 + (num97 + num97)); + array3[0] = num27; + uint num98 = num18; + num5 = (int)(array3[8] * 11); + num6 = (int)num98; + int num99 = num6 ^ num5; + int num100 = num6 & num5; + num18 = (uint)(num99 + (num100 + num100)); + uint num101 = array3[3]; + num5 = (int)array2[3]; + num6 = (int)num101; + array3[3] = (uint)((num6 | num5) - (num6 & num5)); + array3[8] = num26; + array3[11] = num24; + array3[12] = num18; + uint num102 = array3[4]; + num5 = (int)array2[4]; + num6 = (int)num102; + int num103 = num6 + num5; + int num104 = num6 & num5; + array3[4] = (uint)(num103 - (num104 + num104)); + num26 = array3[14] << 2; + num27 = array3[14] << 2; + uint num105 = num26; + num5 = (int)array3[14]; + num6 = (int)num105; + int num106 = num6 ^ num5; + int num107 = num6 & num5; + num26 = (uint)(num106 + (num107 + num107)); + uint num108 = num27; + num5 = (int)array3[14]; + num6 = (int)num108; + int num109 = num6 ^ num5; + int num110 = num6 & num5; + num27 = (uint)(num109 + (num110 + num110)); + num18 = array3[14] * 28; + uint num111 = array3[6]; + num5 = (int)array2[6]; + num6 = (int)num111; + int num112 = num6 + num5; + int num113 = num6 & num5; + array3[6] = (uint)(num112 - (num113 + num113)); + uint num114 = num18; + num5 = (int)(array3[4] * 59); + num6 = (int)num114; + int num115 = num6 ^ num5; + int num116 = num6 & num5; + num18 = (uint)(num115 + (num116 + num116)); + uint num117 = num18; + num5 = (int)(array3[5] * 172); + num6 = (int)num117; + int num118 = num6 ^ num5; + int num119 = num6 & num5; + num18 = (uint)(num118 + (num119 + num119)); + uint num120 = num27; + num5 = (int)(array3[4] * 13); + num6 = (int)num120; + int num121 = num6 ^ num5; + int num122 = num6 & num5; + num27 = (uint)(num121 + (num122 + num122)); + num24 = array3[14] << 4; + uint num123 = num18; + num5 = (int)(array3[6] * 331); + num6 = (int)num123; + int num124 = num6 ^ num5; + int num125 = num6 & num5; + num18 = (uint)(num124 + (num125 + num125)); + uint num126 = num26; + num5 = (int)(array3[4] << 2); + num6 = (int)num126; + int num127 = num6 ^ num5; + int num128 = num6 & num5; + num26 = (uint)(num127 + (num128 + num128)); + uint num129 = num27; + num5 = (int)(array3[5] << 1); + num6 = (int)num129; + int num130 = num6 ^ num5; + int num131 = num6 & num5; + num27 = (uint)(num130 + (num131 + num131)); + uint num132 = num27; + num5 = (int)(array3[5] << 5); + num6 = (int)num132; + int num133 = num6 ^ num5; + int num134 = num6 & num5; + num27 = (uint)(num133 + (num134 + num134)); + uint num135 = num26; + num5 = (int)array3[4]; + num6 = (int)num135; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num136 = num24; + num5 = (int)(array3[4] * 22); + num6 = (int)num136; + int num137 = num6 ^ num5; + int num138 = num6 & num5; + num24 = (uint)(num137 + (num138 + num138)); + uint num139 = num26; + num5 = (int)(array3[5] * 22); + num6 = (int)num139; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num140 = num26; + num5 = (int)(array3[6] << 5); + num6 = (int)num140; + int num141 = num6 ^ num5; + int num142 = num6 & num5; + num26 = (uint)(num141 + (num142 + num142)); + uint num143 = num24; + num5 = (int)(array3[5] * 81); + num6 = (int)num143; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num144 = array3[7]; + num5 = 1744861138; + num6 = (int)num144; + array3[7] = (uint)((num6 | num5) - (num6 & num5)); + uint num145 = num24; + num5 = (int)(array3[6] << 3); + num6 = (int)num145; + int num146 = num6 ^ num5; + int num147 = num6 & num5; + num24 = (uint)(num146 + (num147 + num147)); + uint num148 = num27; + num5 = (int)(array3[6] * 69); + num6 = (int)num148; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num149 = num24; + num5 = (int)(array3[6] << 7); + num6 = (int)num149; + num24 = (uint)((num6 | num5) + (num6 & num5)); + array3[6] = num18; + array3[4] = num27; + array3[5] = num24; + num27 = array3[1] * 54; + num18 = array3[1] * 57; + uint num150 = num27; + num5 = (int)(array3[13] * 46); + num6 = (int)num150; + num27 = (uint)((num6 | num5) + (num6 & num5)); + num24 = array3[1] * 22; + array3[14] = num26; + uint num151 = num24; + num5 = (int)(array3[13] * 29); + num6 = (int)num151; + num24 = (uint)((num6 | num5) + (num6 & num5)); + num26 = array3[1] * 15; + uint num152 = num26; + num5 = (int)(array3[13] << 2); + num6 = (int)num152; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num153 = num24; + num5 = (int)(array3[15] * 142); + num6 = (int)num153; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num154 = num26; + num5 = (int)(array3[13] << 3); + num6 = (int)num154; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num155 = array3[10]; + num5 = (int)array2[10]; + num6 = (int)num155; + array3[10] = (uint)((num6 | num5) - (num6 & num5)); + uint num156 = array3[9]; + num5 = 1819348785; + num6 = (int)num156; + array3[9] = (uint)(~(~num6 + num5)); + uint num157 = num26; + num5 = (int)(array3[15] * 70); + num6 = (int)num157; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num158 = num24; + num5 = (int)(array3[3] * 133); + num6 = (int)num158; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num159 = num18; + num5 = (int)(array3[13] << 6); + num6 = (int)num159; + int num160 = num6 ^ num5; + int num161 = num6 & num5; + num18 = (uint)(num160 + (num161 + num161)); + uint num162 = num27; + num5 = (int)(array3[15] * 261); + num6 = (int)num162; + int num163 = num6 ^ num5; + int num164 = num6 & num5; + num27 = (uint)(num163 + (num164 + num164)); + uint num165 = array3[9]; + num5 = (int)(~array3[2]); + num6 = (int)num165; + int num166 = num6 + num5; + int num167 = num6 & num5; + array3[9] = (uint)(num166 - (num167 + num167)); + uint num168 = num27; + num5 = (int)(array3[3] * 249); + num6 = (int)num168; + int num169 = num6 ^ num5; + int num170 = num6 & num5; + num27 = (uint)(num169 + (num170 + num170)); + uint num171 = num26; + num5 = (int)(array3[3] * 67); + num6 = (int)num171; + int num172 = num6 ^ num5; + int num173 = num6 & num5; + num26 = (uint)(num172 + (num173 + num173)); + uint num174 = array3[2]; + num5 = (int)array3[4]; + num6 = (int)num174; + int num175 = num6 + num5; + int num176 = num6 & num5; + array3[2] = (uint)(num175 - (num176 + num176)); + uint num177 = num18; + num5 = (int)array3[13]; + num6 = (int)num177; + int num178 = num6 ^ num5; + int num179 = num6 & num5; + num18 = (uint)(num178 + (num179 + num179)); + array3[13] = num27; + array3[1] = num26; + uint num180 = array3[2]; + num5 = (int)array2[2]; + num6 = (int)num180; + array3[2] = (uint)((num6 | num5) - (num6 & num5)); + uint num181 = num18; + num5 = (int)(array3[15] * 335); + num6 = (int)num181; + num18 = (uint)((num6 | num5) + (num6 & num5)); + num27 = array3[10] * 3999394879u; + uint num182 = num18; + num5 = (int)(array3[3] * 316); + num6 = (int)num182; + int num183 = num6 ^ num5; + int num184 = num6 & num5; + num18 = (uint)(num183 + (num184 + num184)); + num26 = array3[2] >> 2; + array3[3] = num18; + num18 = array3[7] << 5; + array3[7] = array3[7] >> 27; + array3[10] = array3[3]; + uint num185 = array3[7]; + num5 = (int)num18; + num6 = (int)num185; + array3[7] = (uint)(num6 + num5 - (num6 & num5)); + num18 = array3[14] >> 22; + array3[14] = array3[14] << 10; + uint num186 = array3[7]; + num5 = (int)array2[7]; + num6 = (int)num186; + int num187 = num6 + num5; + int num188 = num6 & num5; + array3[7] = (uint)(num187 - (num188 + num188)); + array3[15] = num24; + uint num189 = array3[8]; + num5 = -617041053; + num6 = (int)num189; + array3[8] = (uint)(~(~num6 + num5)); + uint num190 = array3[13]; + num5 = (int)array2[13]; + num6 = (int)num190; + int num191 = num6 + num5; + int num192 = num6 & num5; + array3[13] = (uint)(num191 - (num192 + num192)); + uint num193 = array3[14]; + num5 = (int)num18; + num6 = (int)num193; + array3[14] = (uint)(num6 + num5 - (num6 & num5)); + uint num194 = array3[1]; + num5 = 2137011429; + num6 = (int)num194; + array3[1] = (uint)((num6 | num5) - (num6 & num5)); + uint num195 = array3[13]; + num5 = -1828564402; + num6 = (int)num195; + num18 = (uint)((num6 | num5) - (num6 ^ num5)); + uint num196 = array3[13]; + num5 = 1828564401; + num6 = (int)num196; + array3[13] = (uint)(num6 + num5 - (num6 | num5)); + uint num197 = array3[13]; + uint num198 = array3[0]; + num5 = -1828564402; + num6 = (int)num198; + num5 = num6 + num5 - (num6 | num5); + num6 = (int)num197; + array3[13] = (uint)((num6 & num5) + (num6 ^ num5)); + array3[2] = array3[2] << 30; + uint num199 = array3[0]; + num5 = 1828564401; + num6 = (int)num199; + array3[0] = (uint)(num6 + num5 - (num6 | num5)); + num18 *= 3687362961u; + uint num200 = array3[15]; + num5 = (int)array2[15]; + num6 = (int)num200; + array3[15] = (uint)((num6 | num5) - (num6 & num5)); + uint num201 = array3[0]; + num5 = (int)num18 * -19910799; + num6 = (int)num201; + array3[0] = (uint)((num6 & num5) + (num6 ^ num5)); + num18 = array3[11] << 31; + array3[11] = array3[11] >> 1; + uint num202 = array3[11]; + num5 = (int)num18; + num6 = (int)num202; + array3[11] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num203 = array3[5]; + num5 = 1367555891; + num6 = (int)num203; + array3[5] = (uint)(~(~num6 + num5)); + array3[3] = num27 * 3855877055u; + num18 = array3[7] * 643575189; + uint num204 = array3[1]; + num5 = (int)array2[1]; + num6 = (int)num204; + int num205 = num6 + num5; + int num206 = num6 & num5; + array3[1] = (uint)(num205 - (num206 + num206)); + uint num207 = array3[9]; + num5 = (int)array2[9]; + num6 = (int)num207; + array3[9] = (uint)((num6 | num5) - (num6 & num5)); + num24 = array3[11] * 21; + uint num208 = array3[9]; + num5 = -1258220314; + num6 = (int)num208; + int num209 = num6 + num5; + int num210 = num6 & num5; + array3[9] = (uint)(num209 - (num210 + num210)); + array3[7] = array3[12]; + num27 = array3[11] << 1; + uint num211 = num27; + num5 = (int)(array3[7] * 7); + num6 = (int)num211; + int num212 = num6 ^ num5; + int num213 = num6 & num5; + num27 = (uint)(num212 + (num213 + num213)); + array3[12] = num18 * 3705189821u; + uint num214 = array3[2]; + num5 = (int)num26; + num6 = (int)num214; + array3[2] = (uint)(num6 + num5 - (num6 & num5)); + uint num215 = array3[3]; + num5 = (int)array3[5]; + num6 = (int)num215; + int num216 = num6 + num5; + int num217 = num6 & num5; + array3[3] = (uint)(num216 - (num217 + num217)); + num18 = array3[4] >> 25; + uint num218 = num24; + num5 = (int)(array3[7] << 6); + num6 = (int)num218; + num24 = (uint)((num6 | num5) + (num6 & num5)); + num26 = array3[8] * 485673863; + array3[8] = array3[13]; + uint num219 = array3[14]; + num5 = (int)array2[14]; + num6 = (int)num219; + int num220 = num6 + num5; + int num221 = num6 & num5; + array3[14] = (uint)(num220 - (num221 + num221)); + uint num222 = num24; + num5 = (int)array3[7]; + num6 = (int)num222; + num24 = (uint)((num6 | num5) + (num6 & num5)); + array3[13] = num26 * 734333495; + array3[4] = array3[4] << 7; + uint num223 = array3[4]; + num5 = (int)num18; + num6 = (int)num223; + array3[4] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num224 = array3[15]; + num5 = (int)array3[6]; + num6 = (int)num224; + array3[15] = (uint)(~(~num6 + num5)); + uint num225 = array3[6]; + num5 = (int)array3[0]; + num6 = (int)num225; + array3[6] = (uint)(~(~num6 + num5)); + uint num226 = num27; + num5 = (int)(array3[14] << 3); + num6 = (int)num226; + int num227 = num6 ^ num5; + int num228 = num6 & num5; + num27 = (uint)(num227 + (num228 + num228)); + num26 = array3[11]; + uint num229 = array3[12]; + num5 = (int)array3[10]; + num6 = (int)num229; + int num230 = num6 + num5; + int num231 = num6 & num5; + array3[12] = (uint)(num230 - (num231 + num231)); + uint num232 = num26; + num5 = (int)(array3[7] << 1); + num6 = (int)num232; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num233 = array3[15]; + num5 = 302785100; + num6 = (int)num233; + array3[15] = (uint)((num6 | num5) - (num6 & num5)); + uint num234 = array3[15]; + num5 = (int)(~array3[1]); + num6 = (int)num234; + int num235 = num6 + num5; + int num236 = num6 & num5; + array3[15] = (uint)(num235 - (num236 + num236)); + uint num237 = num27; + num5 = (int)(array3[9] << 1); + num6 = (int)num237; + int num238 = num6 ^ num5; + int num239 = num6 & num5; + num27 = (uint)(num238 + (num239 + num239)); + uint num240 = num26; + num5 = (int)array3[7]; + num6 = (int)num240; + num26 = (uint)((num6 | num5) + (num6 & num5)); + num18 = array3[11] << 3; + uint num241 = num27; + num5 = (int)(array3[9] << 3); + num6 = (int)num241; + int num242 = num6 ^ num5; + int num243 = num6 & num5; + num27 = (uint)(num242 + (num243 + num243)); + uint num244 = num26; + num5 = (int)(array3[14] << 1); + num6 = (int)num244; + num26 = (uint)((num6 | num5) + (num6 & num5)); + array3[11] = num27; + uint num245 = array3[0]; + num5 = 1431460207; + num6 = (int)num245; + num27 = (uint)(num6 + num5 - (num6 | num5)); + uint num246 = num18; + num5 = (int)(array3[7] * 25); + num6 = (int)num246; + int num247 = num6 ^ num5; + int num248 = num6 & num5; + num18 = (uint)(num247 + (num248 + num248)); + uint num249 = num24; + num5 = (int)(array3[14] << 3); + num6 = (int)num249; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num250 = array3[12]; + num5 = (int)array2[12]; + num6 = (int)num250; + array3[12] = (uint)((num6 | num5) - (num6 & num5)); + uint num251 = array3[0]; + num5 = -1431460208; + num6 = (int)num251; + array3[0] = (uint)(num6 + num5 - (num6 | num5)); + uint num252 = array3[0]; + uint num253 = array3[1]; + num5 = 1431460207; + num6 = (int)num253; + num5 = num6 + num5 - (num6 | num5); + num6 = (int)num252; + array3[0] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num254 = num26; + num5 = (int)array3[14]; + num6 = (int)num254; + int num255 = num6 ^ num5; + int num256 = num6 & num5; + num26 = (uint)(num255 + (num256 + num256)); + uint num257 = num24; + num5 = (int)(array3[14] << 6); + num6 = (int)num257; + num24 = (uint)((num6 | num5) + (num6 & num5)); + num27 *= 3090452553u; + uint num258 = num18; + num5 = (int)(array3[14] * 27); + num6 = (int)num258; + num18 = (uint)((num6 | num5) + (num6 & num5)); + uint num259 = num18; + num5 = (int)(array3[9] * 26); + num6 = (int)num259; + num18 = (uint)((num6 | num5) + (num6 & num5)); + uint num260 = num26; + num5 = (int)(array3[9] << 1); + num6 = (int)num260; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num261 = array3[1]; + num5 = -1431460208; + num6 = (int)num261; + array3[1] = (uint)(num6 + num5 - (num6 | num5)); + array3[14] = num18; + uint num262 = array3[1]; + num5 = (int)num27 * -2137759239; + num6 = (int)num262; + array3[1] = (uint)((num6 & num5) + (num6 ^ num5)); + array3[7] = num26; + uint num263 = num24; + num5 = (int)(array3[9] * 73); + num6 = (int)num263; + int num264 = num6 ^ num5; + int num265 = num6 & num5; + num24 = (uint)(num264 + (num265 + num265)); + array3[9] = num24; + int num266 = 0; + while (num266 < 16) + { + uint num267 = array3[num266]; + int num268 = num11; + num5 = 1; + num6 = num268; + num11 = (num6 | num5) + (num6 & num5); + array4[num268] = (byte)num267; + int num269 = num11; + num5 = 1; + num6 = num269; + int num270 = num6 ^ num5; + int num271 = num6 & num5; + num11 = num270 + (num271 + num271); + array4[num269] = (byte)(num267 >> 8); + int num272 = num11; + num5 = 1; + num6 = num272; + int num273 = num6 ^ num5; + int num274 = num6 & num5; + num11 = num273 + (num274 + num274); + array4[num272] = (byte)(num267 >> 16); + int num275 = num11; + num5 = 1; + num6 = num275; + num11 = (num6 | num5) + (num6 & num5); + array4[num275] = (byte)(num267 >> 24); + array2[num266] ^= num267; + int num276 = num266; + num5 = 1; + num6 = num276; + int num277 = num6 ^ num5; + int num278 = num6 & num5; + num266 = num277 + (num278 + num278); + } + int num279 = num10; + num5 = 16; + num6 = num279; + num10 = (num6 | num5) + (num6 & num5); + } + _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E = _206D_200C_202A_200C_200C_202C_202A_202C_200F_200C_200D_206B_200F_206C_206D_200D_206B_206A_206E_200C_202B_206B_200B_206B_202C_200E_202E_202D_200E_206F_206E_206D_202E_200D_200E_206A_200E_206B_206E_202C_202E(array4); + } + + internal static int _206E_200F_200D_200B_206F_202A_200C_206A_202B_200D_202B_200F_202B_200B_206C_200D_200F_206A_200E_202C_202E_202C_202B_206C_206B_206D_200B_200F_206C_200D_200C_200C_200B_206D_202C_206A_200E_200F_200E_200C_202E(int id) + { + id <<= 2; + byte num = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E[id]; + byte[] array = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num2 = id; + int num3 = 1; + int num4 = num2; + num3 = array[(num4 | num3) + (num4 & num3)] << 8; + num4 = num; + int num5 = num4 + num3 - (num4 & num3); + byte[] array2 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num6 = id; + num3 = 2; + num4 = num6; + num3 = array2[(num4 | num3) + (num4 & num3)] << 16; + num4 = num5; + int num7 = (num4 & num3) + (num4 ^ num3); + byte[] array3 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num8 = id; + num3 = 3; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num3 = array3[num9 + (num10 + num10)] << 24; + num4 = num7; + return num4 + num3 - (num4 & num3); + } + + internal static long _200C_206B_206E_206E_202B_206C_202E_206A_206F_200F_202D_200B_202B_206A_202C_206C_206F_206D_202E_202E_206A_206E_206A_206B_200C_206C_206A_200B_206B_202B_206B_200C_206F_202B_202D_200C_200D_200B_200F_200D_202E(int id) + { + id <<= 2; + byte num = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E[id]; + byte[] array = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num2 = id; + int num3 = 1; + int num4 = num2; + num3 = array[(num4 | num3) + (num4 & num3)] << 8; + num4 = num; + int num5 = (num4 & num3) + (num4 ^ num3); + byte[] array2 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num6 = id; + num3 = 2; + num4 = num6; + num3 = array2[(num4 | num3) + (num4 & num3)] << 16; + num4 = num5; + int num7 = (num4 & num3) + (num4 ^ num3); + byte[] array3 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num8 = id; + num3 = 3; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num3 = array3[num9 + (num10 + num10)] << 24; + num4 = num7; + uint num11 = (uint)((num4 & num3) + (num4 ^ num3)); + byte[] array4 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num12 = id; + num3 = 4; + num4 = num12; + byte num13 = array4[(num4 | num3) + (num4 & num3)]; + byte[] array5 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num14 = id; + num3 = 5; + num4 = num14; + num3 = array5[(num4 | num3) + (num4 & num3)] << 8; + num4 = num13; + int num15 = num4 + num3 - (num4 & num3); + byte[] array6 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num16 = id; + num3 = 6; + num4 = num16; + int num17 = num4 ^ num3; + int num18 = num4 & num3; + num3 = array6[num17 + (num18 + num18)] << 16; + num4 = num15; + int num19 = num4 + num3 - (num4 & num3); + byte[] array7 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num20 = id; + num3 = 7; + num4 = num20; + num3 = array7[(num4 | num3) + (num4 & num3)] << 24; + num4 = num19; + ulong num21 = (ulong)(uint)(num4 + num3 - (num4 & num3)) << 32; + long num22 = num11; + long num23 = (long)num21; + return (num23 & num22) + (num23 ^ num22); + } + + internal static float _206F_200F_206A_200E_206E_206C_206A_200B_206E_202C_206C_206C_206B_200E_206A_206A_206B_206C_206E_200B_200E_202A_202D_206B_206E_200E_206C_206F_202D_200F_202E_200E_206F_200F_202C_200E_202E_202E_200E_206E_202E(int id) + { + return BitConverter.ToSingle(_206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E, id << 2); + } + + internal static double _206D_206D_200D_200F_206D_206C_206F_200B_206D_202A_200B_206F_202B_206F_206E_206C_206F_206B_206B_200C_202A_206A_202E_202B_206F_202C_206F_206F_202D_200C_200D_200E_200F_206E_200C_202A_202D_202D_202B_202E(int id) + { + return BitConverter.ToDouble(_206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E, id << 2); + } + + internal static _002D _206A_202C_200C_206F_202A_200C_200F_206F_202B_202B_200D_206F_206D_200E_206A_206B_202A_200F_200B_206C_202B_202A_202B_206C_200F_206C_202C_202C_200C_206C_206F_200C_200B_202D_200E_202A_202A_206B_206B_200F_202E<_002D>(int id) + { + int num = id * 546233917; + int num2 = 1278539976; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 3: + { + byte num31 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E[id]; + byte[] array10 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num32 = id; + num2 = 1; + num3 = num32; + int num33 = num3 ^ num2; + int num34 = num3 & num2; + num2 = array10[num33 + (num34 + num34)] << 8; + num3 = num31; + int num35 = (num3 & num2) + (num3 ^ num2); + byte[] array11 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num36 = id; + num2 = 2; + num3 = num36; + int num37 = num3 ^ num2; + int num38 = num3 & num2; + num2 = array11[num37 + (num38 + num38)] << 16; + num3 = num35; + int num39 = num3 + num2 - (num3 & num2); + byte[] array12 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num40 = id; + num2 = 3; + num3 = num40; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num39; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num41 = id; + num2 = 4; + num3 = num41; + return (_002D)(object)string.Intern(uTF.GetString(bytes, (num3 | num2) + (num3 & num2), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 1: + { + byte num8 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E[id]; + byte[] array = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = num3 + num2 - (num3 & num2); + byte[] array2 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = num3 + num2 - (num3 & num2); + byte[] array3 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num15 = id; + num2 = 3; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + num2 = array3[num16 + (num17 + num17)] << 24; + num3 = num14; + int num18 = num3 + num2 - (num3 & num2); + byte[] array4 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num19 = id; + num2 = 4; + num3 = num19; + int num20 = num3 ^ num2; + int num21 = num3 & num2; + byte num22 = array4[num20 + (num21 + num21)]; + byte[] array5 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num23 = id; + num2 = 5; + num3 = num23; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num22; + int num24 = (num3 & num2) + (num3 ^ num2); + byte[] array6 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num25 = id; + num2 = 6; + num3 = num25; + num2 = array6[(num3 | num2) + (num3 & num2)] << 16; + num3 = num24; + int num26 = num3 + num2 - (num3 & num2); + byte[] array7 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num27 = id; + num2 = 7; + num3 = num27; + int num28 = num3 ^ num2; + int num29 = num3 & num2; + num2 = array7[num28 + (num29 + num29)] << 24; + num3 = num26; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num18; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _200E_206F_206C_206C_200E_202A_206D_206B_200B_202D_202B_200F_200F_206B_206C_206F_202D_206F_206A_202D_206A_200B_200B_202B_202D_202C_200F_200D_202E_200E_200D_202A_202B_206F_202E_200E_200B_206B_200E_202E_202E<_002D>(int id) + { + int num = id * 1725555487; + int num2 = -1577733383; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 3: + { + byte num31 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E[id]; + byte[] array10 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num32 = id; + num2 = 1; + num3 = num32; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num31; + int num33 = num3 + num2 - (num3 & num2); + byte[] array11 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num34 = id; + num2 = 2; + num3 = num34; + int num35 = num3 ^ num2; + int num36 = num3 & num2; + num2 = array11[num35 + (num36 + num36)] << 16; + num3 = num33; + int num37 = num3 + num2 - (num3 & num2); + byte[] array12 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num38 = id; + num2 = 3; + num3 = num38; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num37; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num39 = id; + num2 = 4; + num3 = num39; + int num40 = num3 ^ num2; + int num41 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num40 + (num41 + num41), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 1: + { + byte num8 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E[id]; + byte[] array = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = num3 + num2 - (num3 & num2); + byte[] array2 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = num3 + num2 - (num3 & num2); + byte[] array3 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num15 = id; + num2 = 3; + num3 = num15; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num14; + int num16 = num3 + num2 - (num3 & num2); + byte[] array4 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num17 = id; + num2 = 4; + num3 = num17; + int num18 = num3 ^ num2; + int num19 = num3 & num2; + byte num20 = array4[num18 + (num19 + num19)]; + byte[] array5 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num21 = id; + num2 = 5; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array5[num22 + (num23 + num23)] << 8; + num3 = num20; + int num24 = num3 + num2 - (num3 & num2); + byte[] array6 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num25 = id; + num2 = 6; + num3 = num25; + num2 = array6[(num3 | num2) + (num3 & num2)] << 16; + num3 = num24; + int num26 = num3 + num2 - (num3 & num2); + byte[] array7 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num27 = id; + num2 = 7; + num3 = num27; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num26; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num28 = id; + num2 = 8; + num3 = num28; + int num29 = num3 ^ num2; + int num30 = num3 & num2; + int srcOffset = num29 + (num30 + num30); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _206E_202B_206C_202A_202A_200E_202B_202B_206D_200B_200C_206B_200B_206D_202E_202D_206C_202B_200B_206A_202D_206C_202A_200F_202D_200C_200B_200B_200B_200D_202C_206E_206D_202E_200C_206B_206A_206D_202D_202C_202E<_002D>(int id) + { + int num = id * -725843581; + int num2 = 1352092440; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 2: + { + byte num25 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E[id]; + byte[] array10 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num26 = id; + num2 = 1; + num3 = num26; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num25; + int num27 = (num3 & num2) + (num3 ^ num2); + byte[] array11 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num28 = id; + num2 = 2; + num3 = num28; + int num29 = num3 ^ num2; + int num30 = num3 & num2; + num2 = array11[num29 + (num30 + num30)] << 16; + num3 = num27; + int num31 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num32 = id; + num2 = 3; + num3 = num32; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num31; + int count = (num3 & num2) + (num3 ^ num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num33 = id; + num2 = 4; + num3 = num33; + int num34 = num3 ^ num2; + int num35 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num34 + (num35 + num35), count)); + } + case 1: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 0: + { + byte num8 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E[id]; + byte[] array = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = num3 + num2 - (num3 & num2); + byte[] array2 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num11 = id; + num2 = 2; + num3 = num11; + num2 = array2[(num3 | num2) + (num3 & num2)] << 16; + num3 = num10; + int num12 = num3 + num2 - (num3 & num2); + byte[] array3 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num13 = id; + num2 = 3; + num3 = num13; + int num14 = num3 ^ num2; + int num15 = num3 & num2; + num2 = array3[num14 + (num15 + num15)] << 24; + num3 = num12; + int num16 = (num3 & num2) + (num3 ^ num2); + byte[] array4 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num17 = id; + num2 = 4; + num3 = num17; + byte num18 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num19 = id; + num2 = 5; + num3 = num19; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num18; + int num20 = (num3 & num2) + (num3 ^ num2); + byte[] array6 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num21 = id; + num2 = 6; + num3 = num21; + num2 = array6[(num3 | num2) + (num3 & num2)] << 16; + num3 = num20; + int num22 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num23 = id; + num2 = 7; + num3 = num23; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num22; + int length = (num3 & num2) + (num3 ^ num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num24 = id; + num2 = 8; + num3 = num24; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _206A_206D_202C_206E_206D_206E_202A_200F_200D_206A_200F_206C_202C_202D_206D_206A_200D_200F_206A_206C_202C_206D_206E_200F_200F_200C_206B_200B_206B_206E_202B_206B_200E_200E_200B_206F_200F_202E_200C_200C_202E<_002D>(int id) + { + int num = id * -637435145; + int num2 = -447986820; + int num3 = num; + id = (num3 | num2) - (num3 & num2); + int num4 = id >>> 30; + int num5 = id; + num2 = 1073741823; + num3 = num5; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num4) + { + case 3: + { + byte num31 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E[id]; + byte[] array10 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num32 = id; + num2 = 1; + num3 = num32; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num31; + int num33 = num3 + num2 - (num3 & num2); + byte[] array11 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num34 = id; + num2 = 2; + num3 = num34; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num33; + int num35 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num36 = id; + num2 = 3; + num3 = num36; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num35; + int count = (num3 & num2) + (num3 ^ num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num37 = id; + num2 = 4; + num3 = num37; + return (_002D)(object)string.Intern(uTF.GetString(bytes, (num3 | num2) + (num3 & num2), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 0: + { + byte num6 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E[id]; + byte[] array = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num7 = id; + num2 = 1; + num3 = num7; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num6; + int num8 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num9 = id; + num2 = 2; + num3 = num9; + int num10 = num3 ^ num2; + int num11 = num3 & num2; + num2 = array2[num10 + (num11 + num11)] << 16; + num3 = num8; + int num12 = num3 + num2 - (num3 & num2); + byte[] array3 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num13 = id; + num2 = 3; + num3 = num13; + int num14 = num3 ^ num2; + int num15 = num3 & num2; + num2 = array3[num14 + (num15 + num15)] << 24; + num3 = num12; + int num16 = num3 + num2 - (num3 & num2); + byte[] array4 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num17 = id; + num2 = 4; + num3 = num17; + int num18 = num3 ^ num2; + int num19 = num3 & num2; + byte num20 = array4[num18 + (num19 + num19)]; + byte[] array5 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num21 = id; + num2 = 5; + num3 = num21; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num20; + int num22 = num3 + num2 - (num3 & num2); + byte[] array6 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num23 = id; + num2 = 6; + num3 = num23; + int num24 = num3 ^ num2; + int num25 = num3 & num2; + num2 = array6[num24 + (num25 + num25)] << 16; + num3 = num22; + int num26 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num27 = id; + num2 = 7; + num3 = num27; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num26; + int length = (num3 & num2) + (num3 ^ num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num28 = id; + num2 = 8; + num3 = num28; + int num29 = num3 ^ num2; + int num30 = num3 & num2; + int srcOffset = num29 + (num30 + num30); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _202E_202C_206D_206B_202B_202D_206D_202E_206F_202E_202A_206A_206A_202B_206A_202D_202C_206C_206B_202C_206E_202B_200E_206E_206A_206C_200D_200D_200F_200B_202C_200B_200E_206F_202C_200F_202D_202A_206E_202B_202E<_002D>(int id) + { + int num = id * 575492379; + int num2 = -1212761944; + int num3 = num; + id = (num3 | num2) - (num3 & num2); + int num4 = id >>> 30; + int num5 = id; + num2 = 1073741823; + num3 = num5; + id = num3 + num2 - (num3 | num2) << 2; + switch (num4) + { + case 1: + { + byte num29 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E[id]; + byte[] array10 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num30 = id; + num2 = 1; + num3 = num30; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num29; + int num31 = (num3 & num2) + (num3 ^ num2); + byte[] array11 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num32 = id; + num2 = 2; + num3 = num32; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num31; + int num33 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num34 = id; + num2 = 3; + num3 = num34; + int num35 = num3 ^ num2; + int num36 = num3 & num2; + num2 = array12[num35 + (num36 + num36)] << 24; + num3 = num33; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num37 = id; + num2 = 4; + num3 = num37; + int num38 = num3 ^ num2; + int num39 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num38 + (num39 + num39), count)); + } + case 3: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 0: + { + byte num6 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E[id]; + byte[] array = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num7 = id; + num2 = 1; + num3 = num7; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num6; + int num8 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num9 = id; + num2 = 2; + num3 = num9; + int num10 = num3 ^ num2; + int num11 = num3 & num2; + num2 = array2[num10 + (num11 + num11)] << 16; + num3 = num8; + int num12 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num13 = id; + num2 = 3; + num3 = num13; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num12; + int num14 = num3 + num2 - (num3 & num2); + byte[] array4 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num15 = id; + num2 = 4; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + byte num18 = array4[num16 + (num17 + num17)]; + byte[] array5 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num19 = id; + num2 = 5; + num3 = num19; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num18; + int num20 = (num3 & num2) + (num3 ^ num2); + byte[] array6 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num21 = id; + num2 = 6; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array6[num22 + (num23 + num23)] << 16; + num3 = num20; + int num24 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num25 = id; + num2 = 7; + num3 = num25; + int num26 = num3 ^ num2; + int num27 = num3 & num2; + num2 = array7[num26 + (num27 + num27)] << 24; + num3 = num24; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _206F_200D_206A_200B_202A_202D_202B_202E_202A_200D_200C_202B_206D_202E_202E_200F_206E_206B_202E_206E_206E_202A_200D_206E_206F_202B_200B_202D_206F_202D_200F_206F_202E_206F_200B_200C_206F_202E_200C_202B_202E; + int num28 = id; + num2 = 8; + num3 = num28; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num14; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } +} diff --git a/LLib/LLib.Buddy/BuddyActions.cs b/LLib/LLib.Buddy/BuddyActions.cs new file mode 100644 index 0000000..3710859 --- /dev/null +++ b/LLib/LLib.Buddy/BuddyActions.cs @@ -0,0 +1,105 @@ +using Dalamud.Game.ClientState.Conditions; +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using FFXIVClientStructs.FFXIV.Client.Game.UI; +using FFXIVClientStructs.FFXIV.Component.GUI; +using LLib.GameUI; + +namespace LLib.Buddy; + +public static class BuddyActions +{ + public const uint GysahlGreensItemId = 4868u; + + private const uint SummonCompanionActionId = 24u; + + private const uint DismissCompanionActionId = 25u; + + public unsafe static bool TrySummonCompanion() + { + ActionManager* ptr = ActionManager.Instance(); + if (ptr == null) + { + return false; + } + return ptr->UseAction(ActionType.GeneralAction, 24u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + } + + public unsafe static bool TryDismissCompanion() + { + ActionManager* ptr = ActionManager.Instance(); + if (ptr == null) + { + return false; + } + return ptr->UseAction(ActionType.GeneralAction, 25u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + } + + public static bool TrySetOrder(byte order) + { + if (!BuddyStateHelper.IsCompanionSummoned()) + { + return false; + } + GameMain.ExecuteCommand(500, order); + return true; + } + + public unsafe static bool IsCompanionUnlocked() + { + UIState* ptr = UIState.Instance(); + if (ptr != null) + { + return ptr->IsUnlockLinkUnlocked(8u); + } + return false; + } + + public unsafe static bool CanSummonCompanion(ICondition condition) + { + if (!IsCompanionUnlocked()) + { + return false; + } + if (BuddyStateHelper.IsCompanionSummoned()) + { + return false; + } + if (condition[ConditionFlag.BoundByDuty] || condition[ConditionFlag.Mounted] || condition[ConditionFlag.InCombat]) + { + return false; + } + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null || ptr->GetInventoryItemCount(4868u, isHq: false, checkEquipped: true, checkArmory: true, 0) == 0) + { + return false; + } + return true; + } + + public unsafe static bool IsFeedAddonReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + return gameGui.TryGetReadyAddon("BuddyFeed", out addonPtr); + } + + public unsafe static bool TrySelectFeedItem(IGameGui gameGui, int index) + { + if (!gameGui.TryGetReadyAddon("BuddyFeed", out var addonPtr)) + { + return false; + } + AddonCallback.Fire(addonPtr, 0, index); + return true; + } + + public unsafe static bool TryConfirmFeed(IGameGui gameGui) + { + if (!gameGui.TryGetReadyAddon("SelectYesno", out var addonPtr)) + { + return false; + } + AddonCallback.ClickYes(addonPtr); + return true; + } +} diff --git a/LLib/LLib.Buddy/BuddyEquipActions.cs b/LLib/LLib.Buddy/BuddyEquipActions.cs new file mode 100644 index 0000000..b934740 --- /dev/null +++ b/LLib/LLib.Buddy/BuddyEquipActions.cs @@ -0,0 +1,68 @@ +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using FFXIVClientStructs.FFXIV.Component.GUI; +using LLib.GameUI; + +namespace LLib.Buddy; + +public static class BuddyEquipActions +{ + private const uint CompanionWindowActionId = 26u; + + public unsafe static bool TryOpenBuddyAddon() + { + ActionManager* ptr = ActionManager.Instance(); + if (ptr == null) + { + return false; + } + return ptr->UseAction(ActionType.GeneralAction, 26u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + } + + public unsafe static bool IsBuddyAddonReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + return gameGui.TryGetReadyAddon("Buddy", out addonPtr); + } + + public unsafe static bool TrySelectBardingSlot(IGameGui gameGui, int slot) + { + if (!gameGui.TryGetReadyAddon("Buddy", out var addonPtr)) + { + return false; + } + AddonCallback.Fire(addonPtr, 0, 2); + AddonCallback.Fire(addonPtr, 1, slot); + return true; + } + + public unsafe static bool TryEquipBarding(IGameGui gameGui, int bardingIndex) + { + if (!gameGui.TryGetReadyAddon("Buddy", out var addonPtr)) + { + return false; + } + AddonCallback.Fire(addonPtr, 2, bardingIndex); + return true; + } + + public unsafe static bool TryUnequipBarding(IGameGui gameGui, int slot) + { + if (!gameGui.TryGetReadyAddon("Buddy", out var addonPtr)) + { + return false; + } + AddonCallback.Fire(addonPtr, 3, slot); + return true; + } + + public unsafe static bool TryCloseBuddyAddon(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("Buddy", out var addonPtr)) + { + return false; + } + AddonCallback.Fire(addonPtr, -1); + return true; + } +} diff --git a/LLib/LLib.Buddy/BuddyStateHelper.cs b/LLib/LLib.Buddy/BuddyStateHelper.cs new file mode 100644 index 0000000..922dea9 --- /dev/null +++ b/LLib/LLib.Buddy/BuddyStateHelper.cs @@ -0,0 +1,220 @@ +using System; +using FFXIVClientStructs.FFXIV.Client.Game.UI; + +namespace LLib.Buddy; + +public static class BuddyStateHelper +{ + public unsafe static bool IsCompanionSummoned() + { + UIState* ptr = UIState.Instance(); + if (ptr == null) + { + return false; + } + return ptr->Buddy.CompanionInfo.TimeLeft > 0f; + } + + public unsafe static bool IsCompanionMounted() + { + UIState* ptr = UIState.Instance(); + if (ptr == null) + { + return false; + } + return ptr->Buddy.CompanionInfo.Mounted; + } + + public unsafe static string GetCompanionName() + { + UIState* ptr = UIState.Instance(); + if (ptr == null) + { + return string.Empty; + } + return ptr->Buddy.CompanionInfo.NameString; + } + + public unsafe static byte GetCompanionColorStainId() + { + UIState* ptr = UIState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->Buddy.CompanionInfo.CurrentColorStainId; + } + + public unsafe static byte GetCompanionRank() + { + UIState* ptr = UIState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->Buddy.CompanionInfo.Rank; + } + + public unsafe static uint GetCompanionCurrentXP() + { + UIState* ptr = UIState.Instance(); + if (ptr == null) + { + return 0u; + } + return ptr->Buddy.CompanionInfo.CurrentXP; + } + + public unsafe static byte GetCompanionStars() + { + UIState* ptr = UIState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->Buddy.CompanionInfo.Stars; + } + + public unsafe static byte GetCompanionSkillPoints() + { + UIState* ptr = UIState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->Buddy.CompanionInfo.SkillPoints; + } + + public unsafe static byte GetDefenderLevel() + { + UIState* ptr = UIState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->Buddy.CompanionInfo.Levels[0]; + } + + public unsafe static byte GetAttackerLevel() + { + UIState* ptr = UIState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->Buddy.CompanionInfo.Levels[1]; + } + + public unsafe static byte GetHealerLevel() + { + UIState* ptr = UIState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->Buddy.CompanionInfo.Levels[2]; + } + + public unsafe static (byte Head, byte Chest, byte Feet) GetEquippedBardingIds() + { + UIState* ptr = UIState.Instance(); + if (ptr == null) + { + return (Head: 0, Chest: 0, Feet: 0); + } + Span buddyEquipRowIds = ptr->Buddy.CompanionInfo.BuddyEquipRowIds; + return (Head: buddyEquipRowIds[0], Chest: buddyEquipRowIds[1], Feet: buddyEquipRowIds[2]); + } + + public unsafe static bool IsBardingUnlocked(uint bardingId) + { + UIState* ptr = UIState.Instance(); + if (ptr != null) + { + return ptr->Buddy.CompanionInfo.IsBuddyEquipUnlocked(bardingId); + } + return false; + } + + public unsafe static byte GetActiveCommand() + { + UIState* ptr = UIState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->Buddy.CompanionInfo.ActiveCommand; + } + + public unsafe static byte GetFavoriteFeed() + { + UIState* ptr = UIState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->Buddy.CompanionInfo.FavoriteFeed; + } + + public unsafe static bool IsPetSummoned() + { + UIState* ptr = UIState.Instance(); + if (ptr == null) + { + return false; + } + if (ptr->Buddy.PetInfo.Pet != null) + { + return ptr->Buddy.PetInfo.Pet->EntityId != 0; + } + return false; + } + + public unsafe static byte GetPetOrder() + { + UIState* ptr = UIState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->Buddy.PetInfo.Order; + } + + public unsafe static byte GetPetStance() + { + UIState* ptr = UIState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->Buddy.PetInfo.Stance; + } + + public unsafe static bool IsBattleBuddyPresent() + { + UIState* ptr = UIState.Instance(); + if (ptr == null) + { + return false; + } + Span battleBuddies = ptr->Buddy.BattleBuddies; + for (int i = 0; i < battleBuddies.Length; i++) + { + if (battleBuddies[i].EntityId != 0) + { + return true; + } + } + return false; + } + + public unsafe static bool HasDutyHelpers() + { + UIState* ptr = UIState.Instance(); + if (ptr == null) + { + return false; + } + return ptr->Buddy.DutyHelperInfo.HasHelpers; + } +} diff --git a/LLib/LLib.External/PluginFeaturePauser.cs b/LLib/LLib.External/PluginFeaturePauser.cs new file mode 100644 index 0000000..2546046 --- /dev/null +++ b/LLib/LLib.External/PluginFeaturePauser.cs @@ -0,0 +1,91 @@ +using System; +using System.Collections.Generic; +using Dalamud.Plugin; +using Dalamud.Plugin.Ipc; +using Dalamud.Plugin.Ipc.Exceptions; +using Microsoft.Extensions.Logging; + +namespace LLib.External; + +public sealed class PluginFeaturePauser : IDisposable +{ + private readonly ICallGateSubscriber _getEnabled; + + private readonly ICallGateSubscriber _setEnabled; + + private readonly ILogger _logger; + + private HashSet? _pausedFeatures; + + public bool IsPaused => _pausedFeatures != null; + + public PluginFeaturePauser(IDalamudPluginInterface pluginInterface, string getEnabledEndpoint, string setEnabledEndpoint, ILogger logger) + { + ArgumentNullException.ThrowIfNull(pluginInterface, "pluginInterface"); + ArgumentException.ThrowIfNullOrEmpty(getEnabledEndpoint, "getEnabledEndpoint"); + ArgumentException.ThrowIfNullOrEmpty(setEnabledEndpoint, "setEnabledEndpoint"); + ArgumentNullException.ThrowIfNull(logger, "logger"); + _getEnabled = pluginInterface.GetIpcSubscriber(getEnabledEndpoint); + _setEnabled = pluginInterface.GetIpcSubscriber(setEnabledEndpoint); + _logger = logger; + } + + public void Disable(IEnumerable features) + { + if (_pausedFeatures == null) + { + _pausedFeatures = new HashSet(); + } + foreach (string feature in features) + { + if (_pausedFeatures.Contains(feature)) + { + continue; + } + try + { + if (_getEnabled.InvokeFunc(feature) == true) + { + _setEnabled.InvokeAction(feature, arg2: false); + _pausedFeatures.Add(feature); + _logger.LogInformation("Paused external feature: {Feature}", feature); + } + } + catch (Exception ex) + { + if (!(ex is IpcError)) + { + _logger.LogWarning(ex, "Failed to pause external feature {Feature}", feature); + } + } + } + } + + public void Restore() + { + if (_pausedFeatures == null) + { + return; + } + HashSet hashSet = new HashSet(); + foreach (string pausedFeature in _pausedFeatures) + { + try + { + _setEnabled.InvokeAction(pausedFeature, arg2: true); + _logger.LogInformation("Restored external feature: {Feature}", pausedFeature); + } + catch (Exception exception) + { + hashSet.Add(pausedFeature); + _logger.LogWarning(exception, "Failed to restore external feature {Feature}, keeping it for retry", pausedFeature); + } + } + _pausedFeatures = ((hashSet.Count == 0) ? null : hashSet); + } + + public void Dispose() + { + Restore(); + } +} diff --git a/LLib/LLib.Fishing/WaterSurfaceDetector.cs b/LLib/LLib.Fishing/WaterSurfaceDetector.cs new file mode 100644 index 0000000..2375751 --- /dev/null +++ b/LLib/LLib.Fishing/WaterSurfaceDetector.cs @@ -0,0 +1,134 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using FFXIVClientStructs.FFXIV.Client.System.Framework; +using FFXIVClientStructs.FFXIV.Common.Component.BGCollision; + +namespace LLib.Fishing; + +public static class WaterSurfaceDetector +{ + public static bool IsFishable(Vector3 position, float rotation) + { + Vector3? hitPoint; + return CheckFishableAtRotation(position, rotation, out hitPoint); + } + + public static (float Rotation, Vector3 HitPoint)? FindFishableRotation(Vector3 position, int searchSteps = 36) + { + float num = (float)Math.PI * 2f / (float)searchSteps; + List list = new List(); + for (int i = 0; i < searchSteps; i++) + { + float rotation = (float)i * num; + if (CheckFishableAtRotation(position, rotation, out var _)) + { + list.Add(i); + } + } + if (list.Count == 0) + { + return null; + } + List list2 = (from g in FindContiguousGroups(list, searchSteps) + orderby g.Count descending + select g).First(); + float num2 = ((float)list2[0] + (float)(list2.Count - 1) / 2f) % (float)searchSteps * num; + if (CheckFishableAtRotation(position, num2, out var hitPoint2) && hitPoint2.HasValue) + { + return (num2, hitPoint2.Value); + } + return null; + } + + private unsafe static bool CheckFishableAtRotation(Vector3 position, float rotation, out Vector3? hitPoint) + { + hitPoint = null; + Framework* ptr = Framework.Instance(); + if (ptr == null || ptr->BGCollisionModule == null) + { + return false; + } + BGCollisionModule* bGCollisionModule = ptr->BGCollisionModule; + float num = MathF.Cos(rotation); + float num2 = MathF.Sin(rotation); + Matrix4x4 matrix = new Matrix4x4 + { + M11 = num, + M13 = 0f - num2, + M22 = 1f, + M31 = num2, + M33 = num + }; + Vector3 vector = Vector3.Transform(new Vector3(0f, 0f, 2f), matrix) + position; + vector.Y += 2f; + Vector3 vector2 = new Vector3(position.X, position.Y + 0.87f, position.Z); + Vector3 vector3 = Vector3.Normalize(vector - vector2); + float maxDistance = Vector3.Distance(vector2, vector); + byte* intPtr = stackalloc byte[16]; + ReadOnlySpan readOnlySpan = new int[4] { 16384, 0, 16384, 0 }; + // IL cpblk instruction + Unsafe.CopyBlockUnaligned(intPtr, ref readOnlySpan[0], 16); + int* flags = (int*)intPtr; + RaycastHit raycastHit = default(RaycastHit); + if (bGCollisionModule->RaycastMaterialFilter(&raycastHit, &vector2, &vector3, maxDistance, 1, flags)) + { + return false; + } + Vector3 vector4 = Vector3.Transform(new Vector3(0f, -80f, 40f), matrix); + float num3 = vector4.Length(); + Vector3 vector5 = vector4 / num3; + byte* intPtr2 = stackalloc byte[16]; + readOnlySpan = new int[4] { 32768, 0, 32768, 0 }; + // IL cpblk instruction + Unsafe.CopyBlockUnaligned(intPtr2, ref readOnlySpan[0], 16); + int* flags2 = (int*)intPtr2; + RaycastHit raycastHit2 = default(RaycastHit); + if (bGCollisionModule->RaycastMaterialFilter(&raycastHit2, &vector, &vector5, num3, 1, flags2)) + { + hitPoint = raycastHit2.Point; + return true; + } + return false; + } + + private static List> FindContiguousGroups(List angles, int maxSteps) + { + if (angles.Count == 0) + { + return new List>(); + } + List list = angles.OrderBy((int a) => a).ToList(); + List> list2 = new List>(); + List list3 = new List { list[0] }; + for (int num = 1; num < list.Count; num++) + { + if (list[num] - list[num - 1] == 1) + { + list3.Add(list[num]); + continue; + } + list2.Add(list3); + int num2 = 1; + List list4 = new List(num2); + CollectionsMarshal.SetCount(list4, num2); + CollectionsMarshal.AsSpan(list4)[0] = list[num]; + list3 = list4; + } + list2.Add(list3); + if (list2.Count > 1 && list[0] == 0) + { + if (list[list.Count - 1] == maxSteps - 1) + { + List item = list2[list2.Count - 1].Concat(list2[0]).ToList(); + list2.RemoveAt(list2.Count - 1); + list2.RemoveAt(0); + list2.Add(item); + } + } + return list2; + } +} diff --git a/LLib/LLib.GameData/ClassJobHelper.cs b/LLib/LLib.GameData/ClassJobHelper.cs new file mode 100644 index 0000000..63ef3d8 --- /dev/null +++ b/LLib/LLib.GameData/ClassJobHelper.cs @@ -0,0 +1,28 @@ +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using Lumina.Excel.Sheets; + +namespace LLib.GameData; + +public static class ClassJobHelper +{ + public static bool IsClassJobUnlocked(EClassJob classJob, IDataManager dataManager) + { + ClassJob row = dataManager.GetExcelSheet().GetRow((uint)classJob); + ushort num = (ushort)row.UnlockQuest.RowId; + if (num != 0) + { + return QuestManager.IsQuestComplete(num); + } + if (row.ExpArrayIndex < 0) + { + return false; + } + return PlayerStateHelper.GetClassJobLevel(row.ExpArrayIndex) > 0; + } + + public static bool IsJobUnlocked(EClassJob classJob, IDataManager dataManager) + { + return IsClassJobUnlocked((EClassJob)dataManager.GetExcelSheet().GetRow((uint)classJob).ClassJobParent.RowId, dataManager); + } +} diff --git a/LLib/LLib.GameData/CommandFlag.cs b/LLib/LLib.GameData/CommandFlag.cs new file mode 100644 index 0000000..13a7f0c --- /dev/null +++ b/LLib/LLib.GameData/CommandFlag.cs @@ -0,0 +1,35 @@ +namespace LLib.GameData; + +public enum CommandFlag +{ + DrawOrSheatheWeapon = 1, + AutoAttack = 2, + Target = 3, + Dismount = 101, + CancelCast = 105, + StatusOff = 104, + WithdrawFashionAccessory = 109, + Revive = 200, + Teleport = 202, + InstantReturn = 214, + Inspect = 300, + ChangeTitle = 302, + RepairItem = 434, + RepairEquippedItems = 435, + ExtractMateria = 437, + GearsetChange = 441, + RequestSaddleBag = 444, + BuddyOrder = 500, + InterruptEmote = 502, + EnterSwim = 608, + LeaveSwim = 609, + EnterFlight = 616, + Craft = 700, + Fish = 701, + ExitCraft = 711, + AbandonQuest = 800, + LeaveDuty = 819, + RepairEquippedItemsNPC = 1602, + Desynthesize = 2800, + ApplyGlamourPlate = 2357 +} diff --git a/LLib/LLib.GameData/ConditionHelper.cs b/LLib/LLib.GameData/ConditionHelper.cs new file mode 100644 index 0000000..f5fddca --- /dev/null +++ b/LLib/LLib.GameData/ConditionHelper.cs @@ -0,0 +1,84 @@ +using Dalamud.Game.ClientState.Conditions; +using Dalamud.Plugin.Services; + +namespace LLib.GameData; + +public static class ConditionHelper +{ + public static bool IsBoundByDuty(ICondition condition) + { + if (!condition[ConditionFlag.BoundByDuty] && !condition[ConditionFlag.BoundByDuty56]) + { + return condition[ConditionFlag.BoundByDuty95]; + } + return true; + } + + public static bool IsInCombat(ICondition condition) + { + return condition[ConditionFlag.InCombat]; + } + + public static bool IsInCutscene(ICondition condition) + { + if (!condition[ConditionFlag.OccupiedInCutSceneEvent] && !condition[ConditionFlag.WatchingCutscene]) + { + return condition[ConditionFlag.WatchingCutscene78]; + } + return true; + } + + public static bool IsBetweenAreas(ICondition condition) + { + if (!condition[ConditionFlag.BetweenAreas]) + { + return condition[ConditionFlag.BetweenAreas51]; + } + return true; + } + + public static bool IsCrafting(ICondition condition) + { + if (!condition[ConditionFlag.Crafting] && !condition[ConditionFlag.PreparingToCraft]) + { + return condition[ConditionFlag.ExecutingCraftingAction]; + } + return true; + } + + public static bool IsGathering(ICondition condition) + { + if (!condition[ConditionFlag.Gathering]) + { + return condition[ConditionFlag.ExecutingGatheringAction]; + } + return true; + } + + public static bool IsOccupied(ICondition condition) + { + if (!condition[ConditionFlag.Occupied] && !condition[ConditionFlag.Occupied30] && !condition[ConditionFlag.Occupied33] && !condition[ConditionFlag.Occupied38]) + { + return condition[ConditionFlag.Occupied39]; + } + return true; + } + + public static bool IsLockedIn(ICondition condition) + { + if (!IsBoundByDuty(condition) && !IsInCutscene(condition) && !IsBetweenAreas(condition) && !IsOccupied(condition) && !condition[ConditionFlag.Unconscious] && !condition[ConditionFlag.Jumping]) + { + return condition[ConditionFlag.Jumping61]; + } + return true; + } + + public static bool IsUnavailable(ICondition condition) + { + if (!IsLockedIn(condition) && !IsCrafting(condition) && !IsGathering(condition) && !condition[ConditionFlag.Mounted] && !condition[ConditionFlag.Mounting] && !condition[ConditionFlag.Mounting71] && !condition[ConditionFlag.ChocoboRacing] && !condition[ConditionFlag.PlayingLordOfVerminion] && !condition[ConditionFlag.Performing] && !condition[ConditionFlag.UsingFashionAccessory]) + { + return condition[ConditionFlag.InFlight]; + } + return true; + } +} diff --git a/LLib/LLib.GameData/EClassJob.cs b/LLib/LLib.GameData/EClassJob.cs index 3b2948f..f16f928 100644 --- a/LLib/LLib.GameData/EClassJob.cs +++ b/LLib/LLib.GameData/EClassJob.cs @@ -44,5 +44,6 @@ public enum EClassJob : uint Reaper, Sage, Viper, - Pictomancer + Pictomancer, + Beastmaster } diff --git a/LLib/LLib.GameData/EClassJobExtensions.cs b/LLib/LLib.GameData/EClassJobExtensions.cs index a985ffa..9168e9e 100644 --- a/LLib/LLib.GameData/EClassJobExtensions.cs +++ b/LLib/LLib.GameData/EClassJobExtensions.cs @@ -1,5 +1,7 @@ -using System; +using System.Collections.Generic; using System.Linq; +using Dalamud.Plugin.Services; +using Lumina.Excel.Sheets; namespace LLib.GameData; @@ -34,9 +36,25 @@ public static class EClassJobExtensions public static bool HasBaseClass(this EClassJob classJob) { - return (from x in Enum.GetValues() - where x.IsClass() - select x).Any((EClassJob x) => x.AsJob() == classJob); + return classJob.GetBaseClass().HasValue; + } + + public static EClassJob? GetBaseClass(this EClassJob classJob) + { + return classJob switch + { + EClassJob.Paladin => EClassJob.Gladiator, + EClassJob.Warrior => EClassJob.Marauder, + EClassJob.Monk => EClassJob.Pugilist, + EClassJob.Dragoon => EClassJob.Lancer, + EClassJob.Ninja => EClassJob.Rogue, + EClassJob.Bard => EClassJob.Archer, + EClassJob.WhiteMage => EClassJob.Conjurer, + EClassJob.BlackMage => EClassJob.Thaumaturge, + EClassJob.Summoner => EClassJob.Arcanist, + EClassJob.Scholar => EClassJob.Arcanist, + _ => null, + }; } public static EClassJob AsJob(this EClassJob classJob) @@ -100,6 +118,7 @@ public static class EClassJobExtensions case EClassJob.Samurai: case EClassJob.Reaper: case EClassJob.Viper: + case EClassJob.Beastmaster: return true; default: return false; @@ -137,6 +156,15 @@ public static class EClassJobExtensions } } + public static bool IsDps(this EClassJob classJob) + { + if (!classJob.IsMelee() && !classJob.IsPhysicalRanged()) + { + return classJob.IsCaster(); + } + return true; + } + public static bool DealsPhysicalDamage(this EClassJob classJob) { if (!classJob.IsTank() && !classJob.IsMelee()) @@ -173,6 +201,15 @@ public static class EClassJobExtensions return false; } + public static bool IsLimitedJob(this EClassJob classJob) + { + if (classJob == EClassJob.BlueMage || classJob == EClassJob.Beastmaster) + { + return true; + } + return false; + } + public static string ToFriendlyString(this EClassJob classJob) { return classJob switch @@ -185,4 +222,84 @@ public static class EClassJobExtensions _ => classJob.ToString(), }; } + + public static bool IsInCategory(this EClassJob classJob, ClassJobCategory category) + { + return classJob switch + { + EClassJob.Adventurer => category.ADV, + EClassJob.Gladiator => category.GLA, + EClassJob.Pugilist => category.PGL, + EClassJob.Marauder => category.MRD, + EClassJob.Lancer => category.LNC, + EClassJob.Archer => category.ARC, + EClassJob.Conjurer => category.CNJ, + EClassJob.Thaumaturge => category.THM, + EClassJob.Carpenter => category.CRP, + EClassJob.Blacksmith => category.BSM, + EClassJob.Armorer => category.ARM, + EClassJob.Goldsmith => category.GSM, + EClassJob.Leatherworker => category.LTW, + EClassJob.Weaver => category.WVR, + EClassJob.Alchemist => category.ALC, + EClassJob.Culinarian => category.CUL, + EClassJob.Miner => category.MIN, + EClassJob.Botanist => category.BTN, + EClassJob.Fisher => category.FSH, + EClassJob.Paladin => category.PLD, + EClassJob.Monk => category.MNK, + EClassJob.Warrior => category.WAR, + EClassJob.Dragoon => category.DRG, + EClassJob.Bard => category.BRD, + EClassJob.WhiteMage => category.WHM, + EClassJob.BlackMage => category.BLM, + EClassJob.Arcanist => category.ACN, + EClassJob.Summoner => category.SMN, + EClassJob.Scholar => category.SCH, + EClassJob.Rogue => category.ROG, + EClassJob.Ninja => category.NIN, + EClassJob.Machinist => category.MCH, + EClassJob.DarkKnight => category.DRK, + EClassJob.Astrologian => category.AST, + EClassJob.Samurai => category.SAM, + EClassJob.RedMage => category.RDM, + EClassJob.BlueMage => category.BLU, + EClassJob.Gunbreaker => category.GNB, + EClassJob.Dancer => category.DNC, + EClassJob.Reaper => category.RPR, + EClassJob.Sage => category.SGE, + EClassJob.Viper => category.VPR, + EClassJob.Pictomancer => category.PCT, + EClassJob.Beastmaster => category.Unknown0, + _ => false, + }; + } + + public static int GetLevel(this EClassJob classJob, IDataManager dataManager) + { + ClassJob? rowOrDefault = dataManager.GetExcelSheet().GetRowOrDefault((uint)classJob); + if (!rowOrDefault.HasValue || rowOrDefault.Value.ExpArrayIndex < 0) + { + return 0; + } + return PlayerStateHelper.GetClassJobLevel(rowOrDefault.Value.ExpArrayIndex); + } + + public static int GetExperience(this EClassJob classJob, IDataManager dataManager) + { + ClassJob? rowOrDefault = dataManager.GetExcelSheet().GetRowOrDefault((uint)classJob); + if (!rowOrDefault.HasValue || rowOrDefault.Value.ExpArrayIndex < 0) + { + return 0; + } + return PlayerStateHelper.GetClassJobExperience(rowOrDefault.Value.ExpArrayIndex); + } + + public static List GetActions(this EClassJob classJob, IDataManager dataManager) + { + return (from a in dataManager.GetExcelSheet() + where a.ClassJob.RowId == (uint)classJob && a.ClassJobLevel > 0 + orderby a.ClassJobLevel + select a).ToList(); + } } diff --git a/LLib/LLib.GameData/ECombatRole.cs b/LLib/LLib.GameData/ECombatRole.cs new file mode 100644 index 0000000..abe87fb --- /dev/null +++ b/LLib/LLib.GameData/ECombatRole.cs @@ -0,0 +1,10 @@ +namespace LLib.GameData; + +public enum ECombatRole +{ + None, + Tank, + Healer, + Dps, + AllRounder +} diff --git a/LLib/LLib.GameData/ECombatRoleExtensions.cs b/LLib/LLib.GameData/ECombatRoleExtensions.cs new file mode 100644 index 0000000..fd52415 --- /dev/null +++ b/LLib/LLib.GameData/ECombatRoleExtensions.cs @@ -0,0 +1,21 @@ +namespace LLib.GameData; + +public static class ECombatRoleExtensions +{ + public static ECombatRole GetCombatRole(this EClassJob classJob) + { + if (classJob.IsTank()) + { + return ECombatRole.Tank; + } + if (classJob.IsHealer()) + { + return ECombatRole.Healer; + } + if (classJob.IsDps()) + { + return ECombatRole.Dps; + } + return ECombatRole.None; + } +} diff --git a/LLib/LLib.GameData/EPublicEventType.cs b/LLib/LLib.GameData/EPublicEventType.cs new file mode 100644 index 0000000..b75ceba --- /dev/null +++ b/LLib/LLib.GameData/EPublicEventType.cs @@ -0,0 +1,8 @@ +namespace LLib.GameData; + +public enum EPublicEventType : byte +{ + Fate, + DynamicEvent, + MechaEvent +} diff --git a/LLib/LLib.GameData/ETerritoryIntendedUse.cs b/LLib/LLib.GameData/ETerritoryIntendedUse.cs index b05aac9..54b6be5 100644 --- a/LLib/LLib.GameData/ETerritoryIntendedUse.cs +++ b/LLib/LLib.GameData/ETerritoryIntendedUse.cs @@ -2,59 +2,69 @@ namespace LLib.GameData; public enum ETerritoryIntendedUse : byte { - CityArea = 0, - OpenWorld = 1, - Inn = 2, - Dungeon = 3, - VariantDungeon = 4, - Gaol = 5, - StartingArea = 6, - QuestArea = 7, - AllianceRaid = 8, - QuestBattle = 9, - Trial = 10, - QuestArea2 = 12, - ResidentialArea = 13, - HousingInstances = 14, - QuestArea3 = 15, - Raid = 16, - Raid2 = 17, - Frontline = 18, - ChocoboSquare = 20, - RestorationEvent = 21, - Sanctum = 22, - GoldSaucer = 23, - LordOfVerminion = 25, - Diadem = 26, - HallOfTheNovice = 27, - CrystallineConflict = 28, - QuestBattle2 = 29, - Barracks = 30, - DeepDungeon = 31, - SeasonalEvent = 32, - TreasureMapDuty = 33, - SeasonalEventDuty = 34, - Battlehall = 35, - CrystallineConflict2 = 37, - Diadem2 = 38, - RivalWings = 39, - Unknown1 = 40, - Eureka = 41, - SeasonalEvent2 = 43, - LeapOfFaith = 44, - MaskedCarnivale = 45, - OceanFishing = 46, - Diadem3 = 47, - Bozja = 48, - IslandSanctuary = 49, - Battlehall2 = 50, - Battlehall3 = 51, - LargeScaleRaid = 52, - LargeScaleSavageRaid = 53, - QuestArea4 = 54, - TribalInstance = 56, - CriterionDuty = 57, - CriterionSavageDuty = 58, - Blunderville = 59, - CosmicExploration = 60 + Town, + Overworld, + Inn, + Dungeon, + VariantDungeon, + MordionGaol, + OpeningArea, + BeforeTrialDung, + AllianceRaid, + PreEwOverworldQuestBattle, + Trial, + Unknown11, + WaitingRoom, + HousingOutdoor, + HousingIndoor, + SoloOverworldInstances, + Raid1, + Raid2, + Frontline, + ChocoboSquareOld, + ChocoboRacing, + Firmament, + SanctumOfTheTwelve, + GoldSaucer, + OriginalStepsOfFaith, + LordOfVerminion, + ExploratoryMissions, + HallOfTheNovice, + CrystallineConflict, + SoloDuty, + GrandCompanyBarracks, + DeepDungeon, + Seasonal, + TreasureMapInstance, + SeasonalInstancedArea, + TripleTriadBattlehall, + ChaoticRaid, + CrystallineConflictCustomMatch, + DiademHuntingGrounds, + RivalWings, + Unknown40, + Eureka, + Unknown42, + TheCalamityRetold, + LeapOfFaith, + MaskedCarnival, + OceanFishing, + Diadem, + Bozja, + IslandSanctuary, + TripleTriadOpenTournament, + TripleTriadInvitationalParlor, + DelubrumReginae, + DelubrumReginaeSavage, + EndwalkerMsqSoloOverworld, + Unknown55, + Elysion, + CriterionDungeon, + CriterionDungeonSavage, + Blunderville, + CosmicExploration, + OccultCrescent, + Unknown62, + Unknown63, + Unknown64 } diff --git a/LLib/LLib.GameData/GameStateHelper.cs b/LLib/LLib.GameData/GameStateHelper.cs new file mode 100644 index 0000000..17e7c36 --- /dev/null +++ b/LLib/LLib.GameData/GameStateHelper.cs @@ -0,0 +1,224 @@ +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using Dalamud.Game.ClientState.Conditions; +using Dalamud.Game.ClientState.Objects.SubKinds; +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using FFXIVClientStructs.FFXIV.Client.Game.Character; +using FFXIVClientStructs.FFXIV.Component.GUI; +using LLib.GameUI; +using Lumina.Excel.Sheets; +using Microsoft.Extensions.Logging; + +namespace LLib.GameData; + +public sealed class GameStateHelper +{ + private readonly IDataManager _dataManager; + + private readonly IClientState _clientState; + + private readonly ICondition _condition; + + private readonly IObjectTable _objectTable; + + private readonly IGameGui _gameGui; + + private readonly ILogger _logger; + + private readonly ReadOnlyDictionary _territoryToAetherCurrentCompFlgSet; + + public GameStateHelper(IDataManager dataManager, IClientState clientState, ICondition condition, IObjectTable objectTable, IGameGui gameGui, ILogger logger) + { + _dataManager = dataManager; + _clientState = clientState; + _condition = condition; + _objectTable = objectTable; + _gameGui = gameGui; + _logger = logger; + _territoryToAetherCurrentCompFlgSet = (from x in dataManager.GetExcelSheet() + where x.RowId != 0 + where x.AetherCurrentCompFlgSet.RowId != 0 + select x).ToDictionary((TerritoryType x) => x.RowId, (TerritoryType x) => x.AetherCurrentCompFlgSet.RowId).AsReadOnly(); + } + + public bool IsFlyingUnlocked(uint territoryId) + { + if (_territoryToAetherCurrentCompFlgSet.TryGetValue(territoryId, out var value)) + { + return PlayerStateHelper.IsAetherCurrentZoneComplete(value); + } + return false; + } + + public bool IsFlyingUnlockedInCurrentZone() + { + return IsFlyingUnlocked(_clientState.TerritoryType); + } + + public unsafe ushort? GetMountId() + { + IPlayerCharacter localPlayer = _objectTable.LocalPlayer; + if (localPlayer == null) + { + return null; + } + BattleChara* address = (BattleChara*)localPlayer.Address; + if (address == null || address->Mount.MountId == 0) + { + return null; + } + return address->Mount.MountId; + } + + public unsafe bool HasStatusPreventingMount() + { + if (_condition[ConditionFlag.Swimming] && !IsFlyingUnlockedInCurrentZone()) + { + return true; + } + if (!PlayerStateHelper.IsAnyMountUnlocked()) + { + return true; + } + IPlayerCharacter localPlayer = _objectTable.LocalPlayer; + if (localPlayer == null) + { + return false; + } + BattleChara* address = (BattleChara*)localPlayer.Address; + StatusManager* statusManager = address->GetStatusManager(); + if (statusManager->HasStatus(1151u) || statusManager->HasStatus(1945u)) + { + return true; + } + return HasStatusPreventingMountOrSprint(); + } + + public bool HasStatusPreventingSprint() + { + return HasStatusPreventingMountOrSprint(); + } + + public unsafe bool Mount(uint preferredMountId = 0u) + { + if (_condition[ConditionFlag.Mounted]) + { + return true; + } + if (HasStatusPreventingMount()) + { + _logger.LogDebug("Cannot mount: status or condition prevents it"); + return false; + } + if (preferredMountId != 0 && PlayerStateHelper.IsMountUnlocked(preferredMountId)) + { + if (ActionManager.Instance()->GetActionStatus(ActionType.Mount, preferredMountId, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0) + { + _logger.LogDebug("Attempting preferred mount {Id}", preferredMountId); + if (ActionManager.Instance()->UseAction(ActionType.Mount, preferredMountId, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null)) + { + _logger.LogInformation("Mounted (preferred {Id})", preferredMountId); + return true; + } + } + return false; + } + if (ActionManager.Instance()->GetActionStatus(ActionType.GeneralAction, 9u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0) + { + _logger.LogDebug("Attempting mount roulette"); + if (ActionManager.Instance()->UseAction(ActionType.GeneralAction, 9u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null)) + { + _logger.LogInformation("Mounted (roulette)"); + return true; + } + } + return false; + } + + public unsafe bool Unmount() + { + if (!_condition[ConditionFlag.Mounted]) + { + return true; + } + if (ActionManager.Instance()->GetActionStatus(ActionType.GeneralAction, 23u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) != 0) + { + _logger.LogDebug("Cannot unmount: action on cooldown"); + return false; + } + _logger.LogDebug("Attempting dismount"); + if (ActionManager.Instance()->UseAction(ActionType.GeneralAction, 23u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null)) + { + _logger.LogInformation("Unmounted"); + return true; + } + return false; + } + + public unsafe int? GetFreeInventorySlots() + { + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return null; + } + int num = 0; + for (InventoryType inventoryType = InventoryType.Inventory1; inventoryType <= InventoryType.Inventory4; inventoryType++) + { + InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(inventoryType); + if (inventoryContainer == null) + { + return null; + } + for (int i = 0; i < inventoryContainer->Size; i++) + { + InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(i); + if (inventorySlot == null || inventorySlot->ItemId == 0) + { + num++; + } + } + } + return num; + } + + public uint GetItemLevel(uint itemId) + { + return _dataManager.GetExcelSheet().GetRowOrDefault(itemId)?.LevelItem.RowId ?? 0; + } + + public unsafe bool IsLoadingScreenVisible() + { + if (_gameGui.TryGetAddonByName("FadeMiddle", out var addonPtr) && LAddon.IsAddonReady(addonPtr) && addonPtr->IsVisible) + { + return true; + } + if (_gameGui.TryGetAddonByName("FadeBack", out addonPtr) && LAddon.IsAddonReady(addonPtr) && addonPtr->IsVisible) + { + return true; + } + if (_gameGui.TryGetAddonByName("NowLoading", out addonPtr) && LAddon.IsAddonReady(addonPtr) && addonPtr->IsVisible) + { + return true; + } + return false; + } + + private unsafe bool HasStatusPreventingMountOrSprint() + { + IPlayerCharacter localPlayer = _objectTable.LocalPlayer; + if (localPlayer == null) + { + return false; + } + BattleChara* address = (BattleChara*)localPlayer.Address; + StatusManager* statusManager = address->GetStatusManager(); + if (!statusManager->HasStatus(565u) && !statusManager->HasStatus(404u) && !statusManager->HasStatus(416u) && !statusManager->HasStatus(2729u)) + { + return statusManager->HasStatus(2730u); + } + return true; + } +} diff --git a/LLib/LLib.GameData/GrandCompanyHelper.cs b/LLib/LLib.GameData/GrandCompanyHelper.cs new file mode 100644 index 0000000..613a23a --- /dev/null +++ b/LLib/LLib.GameData/GrandCompanyHelper.cs @@ -0,0 +1,32 @@ +using FFXIVClientStructs.FFXIV.Client.Game.UI; +using FFXIVClientStructs.FFXIV.Client.UI.Agent; + +namespace LLib.GameData; + +public static class GrandCompanyHelper +{ + public static GrandCompany GetGrandCompany() + { + return (GrandCompany)GetGrandCompanyId(); + } + + public unsafe static byte GetGrandCompanyId() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->GrandCompany; + } + + public unsafe static byte GetGrandCompanyRank() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->GetGrandCompanyRank(); + } +} diff --git a/LLib/LLib.GameData/PlayerStateHelper.cs b/LLib/LLib.GameData/PlayerStateHelper.cs new file mode 100644 index 0000000..cb94457 --- /dev/null +++ b/LLib/LLib.GameData/PlayerStateHelper.cs @@ -0,0 +1,893 @@ +using System; +using System.Collections.Generic; +using FFXIVClientStructs.FFXIV.Client.Game.Control; +using FFXIVClientStructs.FFXIV.Client.Game.UI; +using InteropGenerator.Runtime; + +namespace LLib.GameData; + +public static class PlayerStateHelper +{ + public unsafe static string GetCharacterName() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return string.Empty; + } + return ptr->CharacterNameString; + } + + public unsafe static string GetOnlineId() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return string.Empty; + } + return ptr->OnlineIdString; + } + + public unsafe static byte GetCurrentClassJobId() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->CurrentClassJobId; + } + + public unsafe static byte GetRace() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->Race; + } + + public unsafe static byte GetSex() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->Sex; + } + + public unsafe static byte GetTribe() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->Tribe; + } + + public unsafe static byte GetMaxExpansion() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->MaxExpansion; + } + + public unsafe static byte GetStartTown() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->StartTown; + } + + public unsafe static byte GetFirstClass() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->FirstClass; + } + + public unsafe static short GetClassJobLevel(int expArrayIndex) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->ClassJobLevels[expArrayIndex]; + } + + public unsafe static int GetClassJobExperience(int expArrayIndex) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->ClassJobExperience[expArrayIndex]; + } + + public unsafe static uint GetFreeAetheryteId() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0u; + } + return ptr->FreeAetheryteId; + } + + public unsafe static uint GetFreeAetherytePSPlusId() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0u; + } + return ptr->FreeAetherytePSPlus; + } + + public unsafe static uint GetFreeAetheryteNSOId() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0u; + } + return ptr->FreeAetheryteNSO; + } + + public static bool IsFreeAetheryte(uint aetheryteId) + { + if (GetFreeAetheryteId() != aetheryteId && GetFreeAetherytePSPlusId() != aetheryteId) + { + return GetFreeAetheryteNSOId() == aetheryteId; + } + return true; + } + + public unsafe static bool IsFavouriteAetheryte(uint aetheryteId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return false; + } + for (int i = 0; i < ptr->FavouriteAetheryteCount; i++) + { + if (ptr->FavouriteAetherytes[i] == aetheryteId) + { + return true; + } + } + return false; + } + + public unsafe static List GetFavouriteAetherytes() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return new List(); + } + List list = new List(); + for (int i = 0; i < ptr->FavouriteAetheryteCount; i++) + { + ushort num = ptr->FavouriteAetherytes[i]; + if (num != 0) + { + list.Add(num); + } + } + return list; + } + + public unsafe static uint GetHomeAetheryteId() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0u; + } + return ptr->HomeAetheryteId; + } + + public unsafe static bool HasFavouriteSlotAvailable() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return false; + } + for (int i = 0; i < ptr->FavouriteAetheryteCount; i++) + { + if (ptr->FavouriteAetherytes[i] == 0) + { + return true; + } + } + return false; + } + + public unsafe static bool IsMentor() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsMentor(); + } + return false; + } + + public unsafe static bool IsBattleMentor() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsBattleMentor(); + } + return false; + } + + public unsafe static bool IsTradeMentor() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsTradeMentor(); + } + return false; + } + + public unsafe static bool IsNovice() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsNovice(); + } + return false; + } + + public unsafe static bool IsReturner() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsReturner(); + } + return false; + } + + public unsafe static byte GetMentorVersion() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->MentorVersion; + } + + public unsafe static bool IsPlayerStateFlagSet(PlayerStateFlag flag) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsPlayerStateFlagSet(flag); + } + return false; + } + + public unsafe static byte GetBeastTribeRank(byte alliedSocietyId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->GetBeastTribeRank(alliedSocietyId); + } + + public unsafe static int GetCurrentPose(EmoteController.PoseType poseType) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->CurrentPose(poseType); + } + + public unsafe static byte GetGoldSaucerContentStatus() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->GoldSaucerContentStatus; + } + + public unsafe static uint GetActiveFestivalId(int index) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0u; + } + return ptr->ActiveFestivalIds[index]; + } + + public unsafe static uint GetActiveFestivalPhase(int index) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0u; + } + return ptr->ActiveFestivalPhases[index]; + } + + public unsafe static bool IsMeister(uint classJobId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsMeisterFlag(classJobId); + } + return false; + } + + public unsafe static bool IsMeisterWithSoulStone(uint classJobId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsMeisterFlagAndHasSoulStoneEquipped(classJobId); + } + return false; + } + + public unsafe static bool IsMeisterMaxCount() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsMeisterFlagMaxCount(); + } + return false; + } + + public unsafe static byte GetMeisterFlag() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->MeisterFlag; + } + + public unsafe static byte GetDeliveryLevel() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->DeliveryLevel; + } + + public unsafe static int GetPenaltyTimestamp(int index) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->PenaltyTimestamps[index]; + } + + public static int GetDutyFinderPenaltyTimestamp() + { + return GetPenaltyTimestamp(0); + } + + public unsafe static bool IsMountUnlocked(uint mountId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsMountUnlocked(mountId); + } + return false; + } + + public unsafe static bool IsAnyMountUnlocked() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->NumOwnedMounts > 0; + } + return false; + } + + public unsafe static bool IsOrnamentUnlocked(uint ornamentId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsOrnamentUnlocked(ornamentId); + } + return false; + } + + public unsafe static bool IsGlassesUnlocked(ushort glassesId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsGlassesUnlocked(glassesId); + } + return false; + } + + public unsafe static bool IsOrchestrionRollUnlocked(uint rollId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsOrchestrionRollUnlocked(rollId); + } + return false; + } + + public unsafe static bool IsFramersKitUnlocked(uint kitId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsFramersKitUnlocked(kitId); + } + return false; + } + + public unsafe static bool IsMcGuffinUnlocked(uint id) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsMcGuffinUnlocked(id); + } + return false; + } + + public unsafe static bool IsDungeonCompleted(uint dungeonId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return GetBitSafe(ptr->CompletedDungeonsBitArray, dungeonId); + } + return false; + } + + public unsafe static bool IsRaidCompleted(uint raidId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return GetBitSafe(ptr->CompletedRaidsBitArray, raidId); + } + return false; + } + + public unsafe static bool IsTrialCompleted(uint trialId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return GetBitSafe(ptr->CompletedTrialsBitArray, trialId); + } + return false; + } + + public unsafe static bool IsFrontlineCompleted(uint frontlineId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return GetBitSafe(ptr->CompletedFrontlinesBitArray, frontlineId); + } + return false; + } + + public unsafe static bool IsCrystallineConflictCompleted(uint id) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return GetBitSafe(ptr->CompletedCrystallineConflictsBitArray, id); + } + return false; + } + + public unsafe static bool IsGuildOrderCompleted(uint orderId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return GetBitSafe(ptr->CompletedGuildOrdersBitArray, orderId); + } + return false; + } + + public unsafe static bool IsMaskedCarnivaleCompleted(uint stageId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return GetBitSafe(ptr->CompletedMaskedCarnivaleBitArray, stageId); + } + return false; + } + + public unsafe static bool IsMiscContentCompleted(uint contentId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return GetBitSafe(ptr->CompletedMiscContentBitArray, contentId); + } + return false; + } + + public unsafe static bool IsBeginnerTrainingCompleted(uint trainingId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return GetBitSafe(ptr->CompletedBeginnerTrainingBitArray, trainingId); + } + return false; + } + + public unsafe static bool IsVVDNotebookContentCompleted(uint contentId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return GetBitSafe(ptr->CompletedVVDNotebookContentsBitArray, contentId); + } + return false; + } + + public unsafe static bool IsDungeonUnlocked(uint dungeonId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return GetBitSafe(ptr->UnlockedDungeonsBitArray, dungeonId); + } + return false; + } + + public unsafe static bool IsRaidUnlocked(uint raidId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return GetBitSafe(ptr->UnlockedRaidsBitArray, raidId); + } + return false; + } + + public unsafe static bool IsTrialUnlocked(uint trialId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return GetBitSafe(ptr->UnlockedTrialsBitArray, trialId); + } + return false; + } + + public unsafe static bool IsFrontlineUnlocked(uint frontlineId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return GetBitSafe(ptr->UnlockedFrontlinesBitArray, frontlineId); + } + return false; + } + + public unsafe static bool IsCrystallineConflictUnlocked(uint id) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return GetBitSafe(ptr->UnlockedCrystallineConflictsBitArray, id); + } + return false; + } + + public unsafe static bool IsGuildOrderUnlocked(uint orderId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return GetBitSafe(ptr->UnlockedGuildOrdersBitArray, orderId); + } + return false; + } + + public unsafe static bool IsMiscContentUnlocked(uint contentId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return GetBitSafe(ptr->UnlockedMiscContentBitArray, contentId); + } + return false; + } + + public unsafe static bool IsSpecialContentUnlocked(uint contentId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return GetBitSafe(ptr->UnlockedSpecialContentBitArray, contentId); + } + return false; + } + + public unsafe static bool IsFishCaught(uint fishId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsFishCaught(fishId); + } + return false; + } + + public unsafe static bool IsSpearfishCaught(uint fishId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsSpearfishCaught(fishId); + } + return false; + } + + public unsafe static bool IsFishingSpotUnlocked(uint spotId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return GetBitSafe(ptr->UnlockedFishingSpotsBitArray, spotId); + } + return false; + } + + public unsafe static bool IsSpearfishingNotebookUnlocked(uint notebookId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return GetBitSafe(ptr->UnlockedSpearfishingNotebooksBitArray, notebookId); + } + return false; + } + + public unsafe static bool IsSecretRecipeBookUnlocked(uint bookId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsSecretRecipeBookUnlocked(bookId); + } + return false; + } + + public unsafe static bool IsFolkloreBookUnlocked(uint bookId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsFolkloreBookUnlocked(bookId); + } + return false; + } + + public unsafe static bool IsAdventureComplete(uint adventureId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsAdventureComplete(adventureId); + } + return false; + } + + public unsafe static bool IsBotanistFolkloreTomeUnlocked(uint tomeId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return GetBitSafe(ptr->UnlockedBotanistFolkloreTomesBitArray, tomeId); + } + return false; + } + + public unsafe static bool IsMinerFolkloreTomeUnlocked(uint tomeId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return GetBitSafe(ptr->UnlockedMinerFolkloreTomesBitArray, tomeId); + } + return false; + } + + public unsafe static bool IsFishingFolkloreTomeUnlocked(uint tomeId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return GetBitSafe(ptr->UnlockedFishingFolkloreTomesBitArray, tomeId); + } + return false; + } + + public unsafe static bool IsAetherCurrentUnlocked(uint aetherCurrentId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsAetherCurrentUnlocked(aetherCurrentId); + } + return false; + } + + public unsafe static bool IsAetherCurrentZoneComplete(uint compFlgSetId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsAetherCurrentZoneComplete(compFlgSetId); + } + return false; + } + + public unsafe static bool IsWeeklyBingoExpired() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsWeeklyBingoExpired(); + } + return false; + } + + public unsafe static long GetWeeklyBingoExpireTimestamp() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0L; + } + return ptr->GetWeeklyBingoExpireUnixTimestamp(); + } + + public unsafe static DateTime GetWeeklyBingoExpireDateTime() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return DateTime.MinValue; + } + return ptr->WeeklyBingoExpireDateTime; + } + + public unsafe static uint GetWeeklyBingoExpMultiplier() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0u; + } + return ptr->GetWeeklyBingoExpMultiplier(); + } + + public unsafe static PlayerState.WeeklyBingoTaskStatus GetWeeklyBingoTaskStatus(int index) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return PlayerState.WeeklyBingoTaskStatus.Open; + } + return ptr->GetWeeklyBingoTaskStatus(index); + } + + public unsafe static bool IsWeeklyBingoStickerPlaced(int index) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->IsWeeklyBingoStickerPlaced(index); + } + return false; + } + + public unsafe static int GetWeeklyBingoNumPlacedStickers() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->WeeklyBingoNumPlacedStickers; + } + + public unsafe static uint GetWeeklyBingoNumSecondChancePoints() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0u; + } + return ptr->WeeklyBingoNumSecondChancePoints; + } + + public unsafe static bool HasWeeklyBingoJournal() + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + return ptr->HasWeeklyBingoJournal; + } + return false; + } + + public unsafe static bool IsRouletteComplete(byte rouletteId) + { + InstanceContent* ptr = InstanceContent.Instance(); + if (ptr != null) + { + return ptr->IsRouletteComplete(rouletteId); + } + return false; + } + + public unsafe static uint GetContentValue(uint key) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return 0u; + } + return ptr->GetContentValue(key); + } + + private static bool GetBitSafe(BitArray bitArray, uint index) + { + bool value; + return bitArray.TryGet((int)index, out value) && value; + } +} diff --git a/LLib/LLib.GameData/PublicEvent.cs b/LLib/LLib.GameData/PublicEvent.cs new file mode 100644 index 0000000..44a697b --- /dev/null +++ b/LLib/LLib.GameData/PublicEvent.cs @@ -0,0 +1,5 @@ +using System.Numerics; + +namespace LLib.GameData; + +public readonly record struct PublicEvent(EPublicEventType Type, uint Id, string Name, Vector3 Position, float Radius, byte Level, byte MaxLevel, float Progress, float Duration, float TimeRemaining, bool IsActive, bool IsPending, bool HasBonus, byte FateRule, uint MotivationNpcDataId, ushort ChainFateId); diff --git a/LLib/LLib.GameData/PublicEventHelper.cs b/LLib/LLib.GameData/PublicEventHelper.cs new file mode 100644 index 0000000..2977ba3 --- /dev/null +++ b/LLib/LLib.GameData/PublicEventHelper.cs @@ -0,0 +1,285 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using FFXIVClientStructs.FFXIV.Client.Game.Fate; +using FFXIVClientStructs.FFXIV.Client.Game.InstanceContent; +using FFXIVClientStructs.FFXIV.Client.Game.WKS; + +namespace LLib.GameData; + +public sealed class PublicEventHelper +{ + public unsafe IReadOnlyList GetActiveFates() + { + FateManager* ptr = FateManager.Instance(); + if (ptr == null) + { + return Array.Empty(); + } + List list = new List(); + for (int i = 0; i < ptr->Fates.Count; i++) + { + FateContext* value = ptr->Fates[i].Value; + if (value != null) + { + FateState state = value->State; + if (state - 3 <= FateState.Unk1) + { + list.Add(ToPublicEvent(value)); + } + } + } + return list; + } + + public unsafe IReadOnlyList GetActiveDynamicEvents() + { + DynamicEventContainer* instance = DynamicEventContainer.GetInstance(); + if (instance == null) + { + return Array.Empty(); + } + List list = new List(); + Span events = instance->Events; + for (int i = 0; i < events.Length; i++) + { + ref DynamicEvent reference = ref events[i]; + if (reference.State != DynamicEventState.Inactive) + { + list.Add(ToPublicEvent(ref reference)); + } + } + return list; + } + + public unsafe IReadOnlyList GetActiveMechaEvents() + { + WKSManager* ptr = WKSManager.Instance(); + if (ptr == null) + { + return Array.Empty(); + } + WKSMechaEventModule* mechaEventModule = ptr->MechaEventModule; + if (mechaEventModule == null) + { + return Array.Empty(); + } + List list = new List(); + Span events = mechaEventModule->Events; + for (int i = 0; i < events.Length; i++) + { + ref WKSMechaEvent reference = ref events[i]; + if ((reference.Flags & WKSMechaEventFlag.IsEventActive) != 0) + { + list.Add(ToPublicEvent(ref reference)); + } + } + return list; + } + + public IReadOnlyList GetAllActiveEvents() + { + List list = new List(); + list.AddRange(GetActiveFates()); + list.AddRange(GetActiveDynamicEvents()); + list.AddRange(GetActiveMechaEvents()); + return list; + } + + public PublicEvent? GetEventById(EPublicEventType type, uint id) + { + return type switch + { + EPublicEventType.Fate => GetFateById((ushort)id), + EPublicEventType.DynamicEvent => GetDynamicEventById((ushort)id), + EPublicEventType.MechaEvent => GetMechaEventById(id), + _ => null, + }; + } + + public unsafe PublicEvent? GetCurrentPlayerEvent() + { + FateManager* ptr = FateManager.Instance(); + if (ptr == null || ptr->CurrentFate == null) + { + return null; + } + return ToPublicEvent(ptr->CurrentFate); + } + + public unsafe PublicEvent? GetCurrentDynamicEvent() + { + DynamicEventContainer* instance = DynamicEventContainer.GetInstance(); + if (instance == null) + { + return null; + } + DynamicEvent* currentEvent = instance->GetCurrentEvent(); + if (currentEvent == null || currentEvent->State == DynamicEventState.Inactive) + { + return null; + } + return ToPublicEvent(ref *currentEvent); + } + + public unsafe PublicEvent? GetCurrentMechaEvent() + { + WKSManager* ptr = WKSManager.Instance(); + if (ptr == null) + { + return null; + } + WKSMechaEventModule* mechaEventModule = ptr->MechaEventModule; + if (mechaEventModule == null) + { + return null; + } + WKSMechaEvent* currentEvent = mechaEventModule->CurrentEvent; + if (currentEvent == null || (currentEvent->Flags & WKSMechaEventFlag.IsEventActive) == 0) + { + return null; + } + return ToPublicEvent(ref *currentEvent); + } + + public unsafe bool IsFateActive(ushort fateId) + { + if (fateId == 0) + { + return false; + } + FateManager* ptr = FateManager.Instance(); + if (ptr == null) + { + return false; + } + FateContext* fateById = ptr->GetFateById(fateId); + if (fateById == null) + { + return false; + } + return fateById->State == FateState.Running; + } + + private unsafe PublicEvent? GetFateById(ushort fateId) + { + if (fateId == 0) + { + return null; + } + FateManager* ptr = FateManager.Instance(); + if (ptr == null) + { + return null; + } + FateContext* fateById = ptr->GetFateById(fateId); + if (fateById == null) + { + return null; + } + return ToPublicEvent(fateById); + } + + private unsafe PublicEvent? GetDynamicEventById(ushort dynamicEventId) + { + if (dynamicEventId == 0) + { + return null; + } + DynamicEventContainer* instance = DynamicEventContainer.GetInstance(); + if (instance == null) + { + return null; + } + Span events = instance->Events; + for (int i = 0; i < events.Length; i++) + { + ref DynamicEvent reference = ref events[i]; + if (reference.DynamicEventId == dynamicEventId && reference.State != DynamicEventState.Inactive) + { + return ToPublicEvent(ref reference); + } + } + return null; + } + + private unsafe PublicEvent? GetMechaEventById(uint mechaEventDataRowId) + { + if (mechaEventDataRowId == 0) + { + return null; + } + WKSManager* ptr = WKSManager.Instance(); + if (ptr == null) + { + return null; + } + WKSMechaEventModule* mechaEventModule = ptr->MechaEventModule; + if (mechaEventModule == null) + { + return null; + } + Span events = mechaEventModule->Events; + for (int i = 0; i < events.Length; i++) + { + ref WKSMechaEvent reference = ref events[i]; + if (reference.WKSMechaEventDataRowId == mechaEventDataRowId && (reference.Flags & WKSMechaEventFlag.IsEventActive) != 0) + { + return ToPublicEvent(ref reference); + } + } + return null; + } + + private unsafe static PublicEvent ToPublicEvent(FateContext* fate) + { + float num = fate->Duration; + float timeRemaining = 0f; + if (num > 0f && fate->StartTimeEpoch > 0) + { + float num2 = DateTimeOffset.UtcNow.ToUnixTimeSeconds() - fate->StartTimeEpoch; + timeRemaining = Math.Max(0f, num - num2); + } + return new PublicEvent(EPublicEventType.Fate, fate->FateId, fate->Name.ToString(), fate->Location, fate->Radius, fate->Level, fate->MaxLevel, (int)fate->Progress, num, timeRemaining, fate->State == FateState.Running, fate->State == FateState.Preparing, fate->IsBonus, fate->Rule, fate->MotivationNpc, fate->FATEChain); + } + + private static PublicEvent ToPublicEvent(ref DynamicEvent dynamicEvent) + { + float num = dynamicEvent.SecondsDuration; + float num2 = dynamicEvent.SecondsLeft; + uint dynamicEventId = dynamicEvent.DynamicEventId; + string name = dynamicEvent.Name.ToString(); + Vector3 position = dynamicEvent.MapMarker.Position; + float radius = dynamicEvent.MapMarker.Radius; + float progress = (int)dynamicEvent.Progress; + float duration = num; + float timeRemaining = num2; + bool isActive = dynamicEvent.State == DynamicEventState.Battle; + DynamicEventState state = dynamicEvent.State; + bool isPending = state - 1 <= DynamicEventState.Register; + return new PublicEvent(EPublicEventType.DynamicEvent, dynamicEventId, name, position, radius, 0, 0, progress, duration, timeRemaining, isActive, isPending, HasBonus: false, 0, 0u, 0); + } + + private unsafe static PublicEvent ToPublicEvent(ref WKSMechaEvent mechaEvent) + { + long num = DateTimeOffset.UtcNow.ToUnixTimeSeconds(); + float duration = ((mechaEvent.EventEndTimestamp > mechaEvent.EventStartTimestamp) ? ((float)(mechaEvent.EventEndTimestamp - mechaEvent.EventStartTimestamp)) : 0f); + float timeRemaining = ((mechaEvent.EventEndTimestamp > num) ? ((float)(mechaEvent.EventEndTimestamp - num)) : 0f); + Vector3 position = Vector3.Zero; + float radius = 0f; + string name = string.Empty; + if (mechaEvent.MapMarkerPtrs.Count > 0) + { + WKSMechaEventMapMarker* value = mechaEvent.MapMarkerPtrs[0].Value; + if (value != null) + { + name = value->Name.ToString(); + position = value->MapMarkerData.Position; + radius = value->MapMarkerData.Radius; + } + } + float progress = ((mechaEvent.EventProgressMax > 0) ? ((float)mechaEvent.EventProgress / (float)mechaEvent.EventProgressMax * 100f) : 0f); + bool isPending = (mechaEvent.Flags & WKSMechaEventFlag.PilotRegistrationOpen) != 0 && (mechaEvent.Flags & WKSMechaEventFlag.IsEventActive) != 0 && mechaEvent.EventProgress == 0; + return new PublicEvent(EPublicEventType.MechaEvent, mechaEvent.WKSMechaEventDataRowId, name, position, radius, 0, 0, progress, duration, timeRemaining, (mechaEvent.Flags & WKSMechaEventFlag.IsEventActive) != 0, isPending, HasBonus: false, 0, 0u, 0); + } +} diff --git a/LLib/LLib.GameData/SatisfactionSupplyHelper.cs b/LLib/LLib.GameData/SatisfactionSupplyHelper.cs new file mode 100644 index 0000000..3c448de --- /dev/null +++ b/LLib/LLib.GameData/SatisfactionSupplyHelper.cs @@ -0,0 +1,96 @@ +using System; +using System.Collections.Generic; +using Dalamud.Plugin.Services; +using Lumina.Excel.Sheets; + +namespace LLib.GameData; + +public sealed class SatisfactionSupplyHelper +{ + private readonly IDataManager _dataManager; + + public SatisfactionSupplyHelper(IDataManager dataManager) + { + _dataManager = dataManager; + } + + public uint[] CalculateRequestedItems(uint supplyIndex, uint seed) + { + List list = new List(); + foreach (SatisfactionSupply item in _dataManager.GetSubrowExcelSheet().Flatten()) + { + if (item.RowId == supplyIndex) + { + list.Add(item); + } + } + uint num = (63874652 * supplyIndex) ^ (437113358 * seed); + uint num2 = (uint)(-547857059 * (int)supplyIndex) ^ (811033966 * seed); + uint num3 = (uint)(-311827390 * (int)supplyIndex) ^ (570616410 * seed); + uint num4 = (uint)((-1359202047 * (int)supplyIndex) ^ (-418962442 * (int)seed)); + uint[] array = new uint[3] { 4294967295u, 4294967295u, 4294967295u }; + uint num5 = num; + for (int i = 1; i < 4; i++) + { + int num6 = 0; + for (int j = 0; j < list.Count; j++) + { + SatisfactionSupply satisfactionSupply = list[j]; + if (satisfactionSupply.Slot == i) + { + num6 += satisfactionSupply.ProbabilityPercent; + } + } + uint num7 = num5 ^ (num5 << 11); + num = num3; + num3 = num4; + num5 = num2; + num4 ^= num7 ^ ((num7 ^ (num4 >> 11)) >> 8); + num2 = num; + if (num6 <= 0) + { + continue; + } + long num8 = num4 % num6; + for (int k = 0; k < list.Count; k++) + { + SatisfactionSupply satisfactionSupply2 = list[k]; + if (satisfactionSupply2.Slot == i) + { + if (num8 < satisfactionSupply2.ProbabilityPercent) + { + array[i - 1] = (uint)k; + break; + } + num8 -= satisfactionSupply2.ProbabilityPercent; + } + } + } + return array; + } + + public int CalculateBonusGuaranteeIndex(int timestamp) + { + int count = _dataManager.GetExcelSheet().Count; + if (count == 0) + { + return -1; + } + return (timestamp - 1657008000) / 604800 % count; + } + + public static int CalculateTurnInsToNextRank(ushort currentSatisfaction, ushort maxSatisfaction, int maxTurnIns) + { + if (currentSatisfaction >= maxSatisfaction) + { + return maxTurnIns; + } + int num = maxSatisfaction - currentSatisfaction; + int num2 = maxSatisfaction / maxTurnIns; + if (num2 == 0) + { + return maxTurnIns; + } + return Math.Min((int)Math.Ceiling((double)num / (double)num2), maxTurnIns); + } +} diff --git a/LLib/LLib.GameData/TeleportHelper.cs b/LLib/LLib.GameData/TeleportHelper.cs new file mode 100644 index 0000000..971e43c --- /dev/null +++ b/LLib/LLib.GameData/TeleportHelper.cs @@ -0,0 +1,100 @@ +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using FFXIVClientStructs.FFXIV.Client.Game.UI; +using Lumina.Excel.Sheets; +using Microsoft.Extensions.Logging; + +namespace LLib.GameData; + +public sealed class TeleportHelper +{ + private const uint TeleportAction = 5u; + + private readonly GameStateHelper _gameState; + + private readonly ILogger _logger; + + private readonly uint _teleportUnlockLink; + + public TeleportHelper(IDataManager dataManager, GameStateHelper gameState, ILogger logger) + { + _gameState = gameState; + _logger = logger; + _teleportUnlockLink = dataManager.GetExcelSheet().GetRow(5u).UnlockLink.RowId; + } + + public unsafe bool IsAetheryteUnlocked(uint aetheryteId) + { + UIState* ptr = UIState.Instance(); + if (ptr != null) + { + return ptr->IsAetheryteUnlocked(aetheryteId); + } + return false; + } + + public unsafe bool CanTeleport() + { + ActionManager* ptr = ActionManager.Instance(); + if (ptr != null) + { + return ptr->GetActionStatus(ActionType.Action, 5u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0; + } + return false; + } + + public unsafe bool IsTeleportUnlocked() + { + UIState* ptr = UIState.Instance(); + if (ptr != null) + { + return ptr->IsUnlockLinkUnlocked(_teleportUnlockLink); + } + return false; + } + + public unsafe bool IsFreeAetheryte(uint aetheryteId) + { + PlayerState* ptr = PlayerState.Instance(); + if (ptr != null) + { + if (ptr->FreeAetheryteId != aetheryteId && ptr->FreeAetherytePSPlus != aetheryteId) + { + return ptr->FreeAetheryteNSO == aetheryteId; + } + return true; + } + return false; + } + + public unsafe bool Teleport(uint aetheryteId, byte subIndex = 0) + { + if (!IsTeleportUnlocked()) + { + _logger.LogWarning("Teleport action is not unlocked; skipping teleport to {Id}", aetheryteId); + return false; + } + if (!CanTeleport()) + { + _logger.LogDebug("Teleport to {Id} blocked: action on cooldown", aetheryteId); + return false; + } + if (!IsAetheryteUnlocked(aetheryteId)) + { + _logger.LogWarning("Aetheryte {Id} is not unlocked; skipping teleport", aetheryteId); + return false; + } + if (_gameState.IsLoadingScreenVisible()) + { + _logger.LogDebug("Skipping teleport to {Id}: loading screen visible", aetheryteId); + return false; + } + Telepo* ptr = Telepo.Instance(); + if (ptr == null) + { + return false; + } + _logger.LogInformation("Teleporting to aetheryte {Id}", aetheryteId); + return ptr->Teleport(aetheryteId, subIndex); + } +} diff --git a/LLib/LLib.GameData/WeatherHelper.cs b/LLib/LLib.GameData/WeatherHelper.cs new file mode 100644 index 0000000..683e465 --- /dev/null +++ b/LLib/LLib.GameData/WeatherHelper.cs @@ -0,0 +1,92 @@ +using System; +using Dalamud.Plugin.Services; +using Lumina.Excel; +using Lumina.Excel.Sheets; + +namespace LLib.GameData; + +public sealed class WeatherHelper +{ + public const double WeatherPeriodSeconds = 1400.0; + + private readonly IDataManager _dataManager; + + public WeatherHelper(IDataManager dataManager) + { + _dataManager = dataManager; + } + + public Weather? GetCurrentWeather(uint territoryId) + { + return GetWeatherAtTime(territoryId, DateTimeOffset.UtcNow.ToUnixTimeSeconds()); + } + + public Weather? GetPreviousWeather(uint territoryId) + { + return GetWeatherAtTime(territoryId, DateTimeOffset.UtcNow.ToUnixTimeSeconds() - 1400); + } + + public Weather? GetNextWeather(uint territoryId) + { + return GetWeatherAtTime(territoryId, DateTimeOffset.UtcNow.ToUnixTimeSeconds() + 1400); + } + + public static double GetSecondsUntilWeatherChange() + { + long num = DateTimeOffset.UtcNow.ToUnixTimeSeconds(); + return 1400.0 - (double)(num % 1400); + } + + public Weather? GetWeatherAtTime(uint territoryId, long unixSeconds) + { + TerritoryType? rowOrDefault = _dataManager.GetExcelSheet().GetRowOrDefault(territoryId); + if (!rowOrDefault.HasValue) + { + return null; + } + if (!rowOrDefault.Value.WeatherRate.IsValid) + { + return null; + } + WeatherRate value = rowOrDefault.Value.WeatherRate.Value; + uint target = CalculateTarget(unixSeconds); + return ResolveWeather(value, target); + } + + internal static uint CalculateTarget(long unixSeconds) + { + long num = unixSeconds / 175; + uint num2 = (uint)((num + 8 - num % 8) % 24); + uint num3 = (uint)((int)(unixSeconds / 4200) * 100) + num2; + uint num4 = (num3 << 11) ^ num3; + return ((num4 >> 8) ^ num4) % 100; + } + + private static Weather? ResolveWeather(WeatherRate weatherRate, uint target) + { + Weather? result = null; + int num = 0; + for (int i = 0; i < weatherRate.Rate.Count; i++) + { + if (weatherRate.Rate[i] <= 0) + { + continue; + } + RowRef rowRef = weatherRate.Weather[i]; + if (rowRef.IsValid) + { + result = rowRef.Value; + } + num += weatherRate.Rate[i]; + if (target < num) + { + if (!rowRef.IsValid) + { + return null; + } + return rowRef.Value; + } + } + return result; + } +} diff --git a/LLib/LLib.GameUI/AddonCallback.cs b/LLib/LLib.GameUI/AddonCallback.cs new file mode 100644 index 0000000..7479e1f --- /dev/null +++ b/LLib/LLib.GameUI/AddonCallback.cs @@ -0,0 +1,62 @@ +using FFXIVClientStructs.FFXIV.Component.GUI; + +namespace LLib.GameUI; + +public static class AddonCallback +{ + public unsafe static void Fire(AtkUnitBase* addon, params int[] args) + { + if (addon != null) + { + AtkValue* ptr = stackalloc AtkValue[(args.Length == 0) ? 1 : args.Length]; + for (int i = 0; i < args.Length; i++) + { + ptr[i].Type = AtkValueType.Int; + ptr[i].Int = args[i]; + } + addon->FireCallback((uint)args.Length, ptr); + } + } + + public unsafe static void FireWithUpdate(AtkUnitBase* addon, params int[] args) + { + if (addon != null) + { + AtkValue* ptr = stackalloc AtkValue[(args.Length == 0) ? 1 : args.Length]; + for (int i = 0; i < args.Length; i++) + { + ptr[i].Type = AtkValueType.Int; + ptr[i].Int = args[i]; + } + addon->FireCallback((uint)args.Length, ptr, close: true); + } + } + + public unsafe static void ClickYes(AtkUnitBase* addon) + { + if (addon != null) + { + addon->FireCallbackInt(0); + } + } + + public unsafe static bool ClickButton(AtkUnitBase* addon, AtkComponentButton* button) + { + if (addon == null || button == null || !button->IsEnabled) + { + return false; + } + AtkComponentNode* ownerNode = button->AtkComponentBase.OwnerNode; + if (ownerNode == null) + { + return false; + } + AtkEvent* ptr = ownerNode->AtkResNode.AtkEventManager.Event; + if (ptr == null) + { + return false; + } + addon->ReceiveEvent(ptr->State.EventType, (int)ptr->Param, ptr, null); + return true; + } +} diff --git a/LLib/LLib.GameUI/AgentHelper.cs b/LLib/LLib.GameUI/AgentHelper.cs new file mode 100644 index 0000000..53bf486 --- /dev/null +++ b/LLib/LLib.GameUI/AgentHelper.cs @@ -0,0 +1,22 @@ +using FFXIVClientStructs.FFXIV.Client.UI.Agent; +using FFXIVClientStructs.FFXIV.Component.GUI; + +namespace LLib.GameUI; + +public static class AgentHelper +{ + public unsafe static void SendEvent(AgentInterface* agent, ulong eventId, params int[] args) + { + if (agent != null) + { + AtkValue* ptr = stackalloc AtkValue[(args.Length == 0) ? 1 : args.Length]; + for (int i = 0; i < args.Length; i++) + { + ptr[i].Type = AtkValueType.Int; + ptr[i].Int = args[i]; + } + AtkValue* returnValue = stackalloc AtkValue[1]; + agent->ReceiveEvent(returnValue, (args.Length == 0) ? null : ptr, (uint)args.Length, eventId); + } + } +} diff --git a/LLib/LLib.GameUI/LAddon.cs b/LLib/LLib.GameUI/LAddon.cs index c017924..93918e5 100644 --- a/LLib/LLib.GameUI/LAddon.cs +++ b/LLib/LLib.GameUI/LAddon.cs @@ -1,5 +1,4 @@ using System; -using System.Linq; using Dalamud.Game.NativeWrapper; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Component.GUI; @@ -16,9 +15,10 @@ public static class LAddon for (int i = 0; i < 18; i++) { AtkUnitList* ptr2 = ptr + i; - foreach (int item in Enumerable.Range(0, Math.Min(ptr2->Count, ptr2->Entries.Length))) + int num = Math.Min(ptr2->Count, ptr2->Entries.Length); + for (int j = 0; j < num; j++) { - AtkUnitBase* value = ptr2->Entries[item].Value; + AtkUnitBase* value = ptr2->Entries[j].Value; if (value != null && value->Id == id) { return value; @@ -44,10 +44,20 @@ public static class LAddon public unsafe static bool IsAddonReady(AtkUnitBase* addon) { - if (addon->IsVisible) + if (addon != null && addon->IsVisible) { return addon->UldManager.LoadedState == AtkLoadState.Loaded; } return false; } + + public unsafe static bool TryGetReadyAddon(this IGameGui gameGui, string addonName, out T* addonPtr) where T : unmanaged + { + if (gameGui.TryGetAddonByName(addonName, out addonPtr) && IsAddonReady((AtkUnitBase*)addonPtr)) + { + return true; + } + addonPtr = null; + return false; + } } diff --git a/LLib/LLib.GameUI/LAtkValue.cs b/LLib/LLib.GameUI/LAtkValue.cs index 4c97992..928ea9e 100644 --- a/LLib/LLib.GameUI/LAtkValue.cs +++ b/LLib/LLib.GameUI/LAtkValue.cs @@ -8,7 +8,8 @@ public static class LAtkValue { public unsafe static string? ReadAtkString(this AtkValue atkValue) { - if (atkValue.Type == AtkValueType.Undefined) + AtkValueType atkValueType = atkValue.Type & AtkValueType.TypeMask; + if (atkValueType != AtkValueType.String && atkValueType != AtkValueType.ConstString) { return null; } diff --git a/LLib/LLib.Gear/BestItemFinder.cs b/LLib/LLib.Gear/BestItemFinder.cs new file mode 100644 index 0000000..d6ca466 --- /dev/null +++ b/LLib/LLib.Gear/BestItemFinder.cs @@ -0,0 +1,164 @@ +using System; +using System.Collections.Generic; +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using LLib.GameData; +using Lumina.Excel; +using Lumina.Excel.Sheets; + +namespace LLib.Gear; + +public sealed class BestItemFinder +{ + public static readonly IReadOnlyList ArmoryAndEquipped = new global::_003C_003Ez__ReadOnlyArray(new InventoryType[12] + { + InventoryType.EquippedItems, + InventoryType.ArmoryMainHand, + InventoryType.ArmoryOffHand, + InventoryType.ArmoryHead, + InventoryType.ArmoryBody, + InventoryType.ArmoryHands, + InventoryType.ArmoryLegs, + InventoryType.ArmoryFeets, + InventoryType.ArmoryEar, + InventoryType.ArmoryNeck, + InventoryType.ArmoryWrist, + InventoryType.ArmoryRings + }); + + public static readonly IReadOnlyList ArmoryEquippedAndBags = new global::_003C_003Ez__ReadOnlyArray(new InventoryType[16] + { + InventoryType.EquippedItems, + InventoryType.ArmoryMainHand, + InventoryType.ArmoryOffHand, + InventoryType.ArmoryHead, + InventoryType.ArmoryBody, + InventoryType.ArmoryHands, + InventoryType.ArmoryLegs, + InventoryType.ArmoryFeets, + InventoryType.ArmoryEar, + InventoryType.ArmoryNeck, + InventoryType.ArmoryWrist, + InventoryType.ArmoryRings, + InventoryType.Inventory1, + InventoryType.Inventory2, + InventoryType.Inventory3, + InventoryType.Inventory4 + }); + + private readonly GearStatsCalculator _calculator; + + private readonly ExcelSheet _itemSheet; + + private readonly ExcelSheet _classJobCategorySheet; + + public BestItemFinder(GearStatsCalculator calculator, IDataManager dataManager) + { + ArgumentNullException.ThrowIfNull(calculator, "calculator"); + ArgumentNullException.ThrowIfNull(dataManager, "dataManager"); + _calculator = calculator; + _itemSheet = dataManager.GetExcelSheet(); + _classJobCategorySheet = dataManager.GetExcelSheet(); + } + + public unsafe BestItemRef? FindBest(EClassJob job, IReadOnlyList acceptedSlotCategories, StatPriority priority, IReadOnlyList containers, byte playerLevel, EItemRankingMode rankingMode, BestItemRef? excludeContainerSlot = null) + { + BestItemRef? result = null; + ItemRankingKey best = ItemRankingKey.None; + EBaseParam param = (job.DealsMagicDamage() ? EBaseParam.DamageMag : EBaseParam.DamagePhys); + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return null; + } + foreach (InventoryType container in containers) + { + InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(container); + if (inventoryContainer == null) + { + continue; + } + for (int i = 0; i < inventoryContainer->Size; i++) + { + InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(i); + if (inventorySlot == null || inventorySlot->ItemId == 0) + { + continue; + } + if (excludeContainerSlot.HasValue) + { + BestItemRef valueOrDefault = excludeContainerSlot.GetValueOrDefault(); + if (valueOrDefault.Container == container && valueOrDefault.Slot == i) + { + continue; + } + } + Item? rowOrDefault = _itemSheet.GetRowOrDefault(inventorySlot->ItemId); + if (!rowOrDefault.HasValue) + { + continue; + } + Item value = rowOrDefault.Value; + if (IsAcceptedSlot(value.EquipSlotCategory.RowId, acceptedSlotCategories) && value.LevelEquip <= playerLevel && IsItemForJob(value, job)) + { + EquipmentStats equipmentStats = _calculator.CalculateGearStats(inventorySlot); + ItemRankingKey itemRankingKey = new ItemRankingKey(value.LevelItem.RowId, priority.Score(equipmentStats), equipmentStats.Get(param)); + if (IsUpgrade(rankingMode, itemRankingKey, best)) + { + result = new BestItemRef(container, i, inventorySlot->ItemId, itemRankingKey.ItemLevel, itemRankingKey.Score); + best = itemRankingKey; + } + } + } + } + return result; + } + + public static bool IsUpgrade(EItemRankingMode mode, ItemRankingKey candidate, ItemRankingKey best) + { + if (mode == EItemRankingMode.DamageFirst && candidate.Damage != best.Damage) + { + return candidate.Damage > best.Damage; + } + if (mode == EItemRankingMode.ItemLevelFirst) + { + if (candidate.ItemLevel != best.ItemLevel) + { + return candidate.ItemLevel > best.ItemLevel; + } + return candidate.Score > best.Score; + } + if (candidate.Score != best.Score) + { + return candidate.Score > best.Score; + } + return candidate.ItemLevel > best.ItemLevel; + } + + public bool IsItemForJob(Item item, EClassJob job) + { + uint rowId = item.ClassJobCategory.RowId; + if (rowId == 0) + { + return true; + } + ClassJobCategory? rowOrDefault = _classJobCategorySheet.GetRowOrDefault(rowId); + if (!rowOrDefault.HasValue) + { + return false; + } + return job.IsInCategory(rowOrDefault.Value); + } + + private static bool IsAcceptedSlot(uint itemSlotCategory, IReadOnlyList accepted) + { + foreach (uint item in accepted) + { + if (item == itemSlotCategory) + { + return true; + } + } + return false; + } +} diff --git a/LLib/LLib.Gear/BestItemRef.cs b/LLib/LLib.Gear/BestItemRef.cs new file mode 100644 index 0000000..2325a1c --- /dev/null +++ b/LLib/LLib.Gear/BestItemRef.cs @@ -0,0 +1,5 @@ +using FFXIVClientStructs.FFXIV.Client.Game; + +namespace LLib.Gear; + +public readonly record struct BestItemRef(InventoryType Container, int Slot, uint ItemId, uint ItemLevel, float SubstatScore); diff --git a/LLib/LLib.Gear/DesynthActions.cs b/LLib/LLib.Gear/DesynthActions.cs new file mode 100644 index 0000000..6e7b1ac --- /dev/null +++ b/LLib/LLib.Gear/DesynthActions.cs @@ -0,0 +1,207 @@ +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using FFXIVClientStructs.FFXIV.Client.Game.UI; +using FFXIVClientStructs.FFXIV.Client.UI.Agent; +using FFXIVClientStructs.FFXIV.Component.GUI; +using LLib.GameUI; +using Lumina.Excel.Sheets; + +namespace LLib.Gear; + +public static class DesynthActions +{ + public const uint DesynthUnlockQuestId = 65688u; + + public unsafe static bool TryOpenDesynthWindow() + { + AgentSalvage* ptr = AgentSalvage.Instance(); + if (ptr == null) + { + return false; + } + ptr->AgentInterface.Show(); + return true; + } + + public unsafe static bool IsDesynthAddonReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + return gameGui.TryGetReadyAddon("SalvageItemSelector", out addonPtr); + } + + public unsafe static void SetCategory(AgentSalvage.SalvageItemCategory category) + { + AgentSalvage* ptr = AgentSalvage.Instance(); + if (ptr != null) + { + ptr->SelectedCategory = category; + } + } + + public unsafe static AgentSalvage.SalvageItemCategory GetCategory() + { + AgentSalvage* ptr = AgentSalvage.Instance(); + if (ptr == null) + { + return AgentSalvage.SalvageItemCategory.InventoryEquipment; + } + return ptr->SelectedCategory; + } + + public unsafe static void RefreshItemList() + { + AgentSalvage* ptr = AgentSalvage.Instance(); + if (ptr != null) + { + ptr->ItemListRefresh(isSalvageResultAddonOpen: true); + } + } + + public unsafe static int GetItemCount() + { + AgentSalvage* ptr = AgentSalvage.Instance(); + if (ptr == null) + { + return 0; + } + return (int)ptr->ItemCount; + } + + public unsafe static bool TrySelectItem(IGameGui gameGui, int itemIndex) + { + if (!gameGui.TryGetReadyAddon("SalvageItemSelector", out var addonPtr)) + { + return false; + } + AddonCallback.FireWithUpdate(addonPtr, 12, itemIndex); + return true; + } + + public unsafe static bool IsConfirmDialogReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + return gameGui.TryGetReadyAddon("SalvageDialog", out addonPtr); + } + + public unsafe static bool TryConfirmDesynth(IGameGui gameGui, bool nqOnly = false) + { + if (!gameGui.TryGetReadyAddon("SalvageDialog", out var addonPtr)) + { + return false; + } + AddonCallback.FireWithUpdate(addonPtr, 15, nqOnly ? 1 : 0); + AddonCallback.FireWithUpdate(addonPtr, default(int), default(int)); + return true; + } + + public unsafe static bool IsResultDialogReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + return gameGui.TryGetReadyAddon("SalvageResult", out addonPtr); + } + + public unsafe static bool TryCloseResultDialog(IGameGui gameGui) + { + if (!gameGui.TryGetReadyAddon("SalvageResult", out var addonPtr)) + { + return false; + } + addonPtr->Close(fireCallback: true); + return true; + } + + public unsafe static bool TryCloseDesynthWindow(IGameGui gameGui) + { + if (!gameGui.TryGetReadyAddon("SalvageItemSelector", out var addonPtr)) + { + return false; + } + addonPtr->Close(fireCallback: true); + return true; + } + + public unsafe static AgentSalvage.SalvageListItem? GetItemAtIndex(int index) + { + AgentSalvage* ptr = AgentSalvage.Instance(); + if (ptr == null || ptr->ItemList == null || index < 0 || index >= ptr->ItemCount) + { + return null; + } + return ptr->ItemList[index]; + } + + public unsafe static bool TryDesynthDirect(InventoryItem* item) + { + if (item == null || item->ItemId == 0) + { + return false; + } + AgentSalvage* ptr = AgentSalvage.Instance(); + if (ptr == null) + { + return false; + } + ptr->SalvageItem(item, 0, 0); + AtkValue* returnValue = stackalloc AtkValue[1]; + AtkValue* ptr2 = stackalloc AtkValue[2]; + ptr2->Type = AtkValueType.Int; + ptr2->Int = 0; + ptr2[1].Type = AtkValueType.Bool; + ptr2[1].Byte = 1; + ptr->AgentInterface.ReceiveEvent(returnValue, ptr2, 2u, 1uL); + return true; + } + + public static bool IsDesynthUnlocked() + { + return GearFeatures.IsDesynthUnlocked(); + } + + public static bool IsItemDesynthable(IDataManager dataManager, uint itemId) + { + if (!dataManager.GetExcelSheet().TryGetRow(itemId, out var row)) + { + return false; + } + return row.Desynth > 0; + } + + public unsafe static bool CanPlayerDesynthItem(IDataManager dataManager, uint itemId) + { + if (!dataManager.GetExcelSheet().TryGetRow(itemId, out var row)) + { + return false; + } + if (row.Desynth <= 0) + { + return false; + } + ClassJob? valueNullable = row.ClassJobRepair.ValueNullable; + if (!valueNullable.HasValue) + { + return false; + } + PlayerState* ptr = PlayerState.Instance(); + if (ptr == null) + { + return false; + } + return ptr->ClassJobLevels[valueNullable.Value.ExpArrayIndex] >= 30; + } + + public unsafe static float GetDesynthLevel(uint classJobId) + { + PlayerState* ptr = PlayerState.Instance(); + bool flag = ptr == null; + if (!flag) + { + bool flag2 = ((classJobId < 8 || classJobId > 15) ? true : false); + flag = flag2; + } + if (flag) + { + return 0f; + } + return ptr->GetDesynthesisLevel(classJobId); + } +} diff --git a/LLib/LLib.Gear/EEquipSlotCategory.cs b/LLib/LLib.Gear/EEquipSlotCategory.cs new file mode 100644 index 0000000..47934ad --- /dev/null +++ b/LLib/LLib.Gear/EEquipSlotCategory.cs @@ -0,0 +1,18 @@ +namespace LLib.Gear; + +public enum EEquipSlotCategory : uint +{ + None = 0u, + OneHandedMainHand = 1u, + Shield = 2u, + Head = 3u, + Body = 4u, + Hands = 5u, + Legs = 7u, + Feet = 8u, + Ears = 9u, + Neck = 10u, + Wrists = 11u, + Rings = 12u, + TwoHandedMainHand = 13u +} diff --git a/LLib/LLib.Gear/EEquipSlotCategoryExtensions.cs b/LLib/LLib.Gear/EEquipSlotCategoryExtensions.cs new file mode 100644 index 0000000..fc89b92 --- /dev/null +++ b/LLib/LLib.Gear/EEquipSlotCategoryExtensions.cs @@ -0,0 +1,142 @@ +using FFXIVClientStructs.FFXIV.Client.Game; + +namespace LLib.Gear; + +public static class EEquipSlotCategoryExtensions +{ + public static InventoryType? GetArmoryContainer(this EEquipSlotCategory slot) + { + switch (slot) + { + case EEquipSlotCategory.OneHandedMainHand: + case EEquipSlotCategory.TwoHandedMainHand: + return InventoryType.ArmoryMainHand; + case EEquipSlotCategory.Shield: + return InventoryType.ArmoryOffHand; + case EEquipSlotCategory.Head: + return InventoryType.ArmoryHead; + case EEquipSlotCategory.Body: + return InventoryType.ArmoryBody; + case EEquipSlotCategory.Hands: + return InventoryType.ArmoryHands; + case EEquipSlotCategory.Legs: + return InventoryType.ArmoryLegs; + case EEquipSlotCategory.Feet: + return InventoryType.ArmoryFeets; + case EEquipSlotCategory.Ears: + return InventoryType.ArmoryEar; + case EEquipSlotCategory.Neck: + return InventoryType.ArmoryNeck; + case EEquipSlotCategory.Wrists: + return InventoryType.ArmoryWrist; + case EEquipSlotCategory.Rings: + return InventoryType.ArmoryRings; + default: + return null; + } + } + + public unsafe static int? FindFreeSlot(InventoryType container) + { + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return null; + } + InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(container); + if (inventoryContainer == null) + { + return null; + } + for (int i = 0; i < inventoryContainer->Size; i++) + { + InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(i); + if (inventorySlot != null && inventorySlot->ItemId == 0) + { + return i; + } + } + return null; + } + + public unsafe static bool TryUnequipItem(int equippedSlotIndex) + { + InventoryType? inventoryType; + switch (equippedSlotIndex) + { + case 0: + inventoryType = InventoryType.ArmoryMainHand; + break; + case 1: + inventoryType = InventoryType.ArmoryOffHand; + break; + case 2: + inventoryType = InventoryType.ArmoryHead; + break; + case 3: + inventoryType = InventoryType.ArmoryBody; + break; + case 4: + inventoryType = InventoryType.ArmoryHands; + break; + case 6: + inventoryType = InventoryType.ArmoryLegs; + break; + case 7: + inventoryType = InventoryType.ArmoryFeets; + break; + case 8: + inventoryType = InventoryType.ArmoryEar; + break; + case 9: + inventoryType = InventoryType.ArmoryNeck; + break; + case 10: + inventoryType = InventoryType.ArmoryWrist; + break; + case 11: + case 12: + inventoryType = InventoryType.ArmoryRings; + break; + case 13: + inventoryType = InventoryType.ArmorySoulCrystal; + break; + default: + inventoryType = null; + break; + } + InventoryType? inventoryType2 = inventoryType; + if (inventoryType2.HasValue) + { + InventoryType valueOrDefault = inventoryType2.GetValueOrDefault(); + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return false; + } + InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(InventoryType.EquippedItems); + if (inventoryContainer == null) + { + return false; + } + if (equippedSlotIndex < 0 || equippedSlotIndex >= inventoryContainer->Size) + { + return false; + } + InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(equippedSlotIndex); + if (inventorySlot == null || inventorySlot->ItemId == 0) + { + return false; + } + int? num = FindFreeSlot(valueOrDefault); + if (num.HasValue) + { + int valueOrDefault2 = num.GetValueOrDefault(); + ptr->MoveItemSlot(InventoryType.EquippedItems, (ushort)equippedSlotIndex, valueOrDefault, (ushort)valueOrDefault2, a6: true); + return true; + } + return false; + } + return false; + } +} diff --git a/LLib/LLib.Gear/EItemRankingMode.cs b/LLib/LLib.Gear/EItemRankingMode.cs new file mode 100644 index 0000000..6d569b9 --- /dev/null +++ b/LLib/LLib.Gear/EItemRankingMode.cs @@ -0,0 +1,8 @@ +namespace LLib.Gear; + +public enum EItemRankingMode +{ + ItemLevelFirst, + ScoreFirst, + DamageFirst +} diff --git a/LLib/LLib.Gear/EquipmentSlots.cs b/LLib/LLib.Gear/EquipmentSlots.cs new file mode 100644 index 0000000..3534205 --- /dev/null +++ b/LLib/LLib.Gear/EquipmentSlots.cs @@ -0,0 +1,30 @@ +using FFXIVClientStructs.FFXIV.Client.Game; + +namespace LLib.Gear; + +public static class EquipmentSlots +{ + public const int Count = 13; + + public const int BeltIndex = 5; + + public unsafe static InventoryContainer* GetEquippedContainer() + { + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return null; + } + return ptr->GetInventoryContainer(InventoryType.EquippedItems); + } + + public unsafe static bool TryGetEquippedItem(InventoryContainer* container, int slotIndex, out InventoryItem* item) + { + item = container->GetInventorySlot(slotIndex); + if (item != null) + { + return item->ItemId != 0; + } + return false; + } +} diff --git a/LLib/LLib.Gear/EquipmentStats.cs b/LLib/LLib.Gear/EquipmentStats.cs index b87d383..627f255 100644 --- a/LLib/LLib.Gear/EquipmentStats.cs +++ b/LLib/LLib.Gear/EquipmentStats.cs @@ -6,23 +6,6 @@ namespace LLib.Gear; public sealed record EquipmentStats(Dictionary Stats, byte MateriaCount) { - private sealed class KeyValuePairComparer : IEqualityComparer> - { - public bool Equals(KeyValuePair x, KeyValuePair y) - { - if (x.Key == y.Key) - { - return object.Equals(x.Value, y.Value); - } - return false; - } - - public int GetHashCode(KeyValuePair obj) - { - return HashCode.Combine((int)obj.Key, obj.Value); - } - } - public short Get(EBaseParam param) { return (short)(GetEquipment(param) + GetMateria(param)); @@ -58,15 +41,30 @@ public sealed record EquipmentStats(Dictionary Stats, byte public bool Equals(EquipmentStats? other) { - if (other != null && MateriaCount == other.MateriaCount) + if (other == null || MateriaCount != other.MateriaCount || Stats.Count != other.Stats.Count) { - return Stats.SequenceEqual(other.Stats, new KeyValuePairComparer()); + return false; } - return false; + foreach (var (key, objA) in Stats) + { + if (!other.Stats.TryGetValue(key, out StatInfo value) || !object.Equals(objA, value)) + { + return false; + } + } + return true; } public override int GetHashCode() { - return HashCode.Combine(MateriaCount, Stats); + int num = MateriaCount.GetHashCode(); + foreach (KeyValuePair stat in Stats) + { + stat.Deconstruct(out var key, out var value); + EBaseParam value2 = key; + StatInfo value3 = value; + num ^= HashCode.Combine(value2, value3); + } + return num; } } diff --git a/LLib/LLib.Gear/ExtractActions.cs b/LLib/LLib.Gear/ExtractActions.cs new file mode 100644 index 0000000..ff33997 --- /dev/null +++ b/LLib/LLib.Gear/ExtractActions.cs @@ -0,0 +1,78 @@ +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using FFXIVClientStructs.FFXIV.Component.GUI; +using LLib.GameUI; + +namespace LLib.Gear; + +public static class ExtractActions +{ + public const uint ExtractionUnlockQuestId = 66174u; + + public unsafe static bool TryOpenExtractionWindow() + { + ActionManager* ptr = ActionManager.Instance(); + if (ptr == null) + { + return false; + } + return ptr->UseAction(ActionType.GeneralAction, 14u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + } + + public unsafe static bool IsExtractionAddonReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + return gameGui.TryGetReadyAddon("Materialize", out addonPtr); + } + + public unsafe static bool TryExtractFirst(IGameGui gameGui) + { + if (!gameGui.TryGetReadyAddon("Materialize", out var addonPtr)) + { + return false; + } + AddonCallback.FireWithUpdate(addonPtr, 2, 0); + return true; + } + + public unsafe static bool IsConfirmDialogReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + return gameGui.TryGetReadyAddon("MaterializeDialog", out addonPtr); + } + + public unsafe static bool TryConfirmExtraction(IGameGui gameGui) + { + if (!gameGui.TryGetReadyAddon("MaterializeDialog", out var addonPtr)) + { + return false; + } + AddonCallback.Fire(addonPtr, default(int)); + return true; + } + + public unsafe static bool TrySwitchCategory(IGameGui gameGui, int category) + { + if (!gameGui.TryGetReadyAddon("Materialize", out var addonPtr)) + { + return false; + } + AddonCallback.Fire(addonPtr, 1, category); + return true; + } + + public unsafe static bool TryCloseExtractionWindow(IGameGui gameGui) + { + if (!gameGui.TryGetReadyAddon("Materialize", out var addonPtr)) + { + return false; + } + AddonCallback.Fire(addonPtr, -1); + return true; + } + + public static bool IsExtractionUnlocked() + { + return GearFeatures.IsExtractionUnlocked(); + } +} diff --git a/LLib/LLib.Gear/GearConditionHelper.cs b/LLib/LLib.Gear/GearConditionHelper.cs new file mode 100644 index 0000000..8c21345 --- /dev/null +++ b/LLib/LLib.Gear/GearConditionHelper.cs @@ -0,0 +1,132 @@ +using System.Collections.Generic; +using FFXIVClientStructs.FFXIV.Client.Game; + +namespace LLib.Gear; + +public static class GearConditionHelper +{ + private const ushort MaxCondition = 30000; + + private const ushort MaxSpiritbond = 10000; + + public unsafe static int? GetLowestConditionPercent() + { + InventoryContainer* equippedContainer = EquipmentSlots.GetEquippedContainer(); + if (equippedContainer == null) + { + return null; + } + int? result = null; + for (int i = 0; i < 13; i++) + { + if (i != 5 && EquipmentSlots.TryGetEquippedItem(equippedContainer, i, out var item)) + { + int num = item->Condition * 100 / 30000; + if (!result.HasValue || num < result.Value) + { + result = num; + } + } + } + return result; + } + + public unsafe static List GetAllSlotConditions() + { + List list = new List(13); + InventoryContainer* equippedContainer = EquipmentSlots.GetEquippedContainer(); + if (equippedContainer == null) + { + return list; + } + for (int i = 0; i < 13; i++) + { + if (i != 5 && EquipmentSlots.TryGetEquippedItem(equippedContainer, i, out var item)) + { + list.Add(new SlotCondition(i, item->ItemId, item->Condition * 100 / 30000)); + } + } + return list; + } + + public unsafe static bool HasSpiritbondReadyItem(bool includeBags = false) + { + InventoryContainer* equippedContainer = EquipmentSlots.GetEquippedContainer(); + if (equippedContainer != null) + { + for (int i = 0; i < 13; i++) + { + if (i != 5 && EquipmentSlots.TryGetEquippedItem(equippedContainer, i, out var item) && item->SpiritbondOrCollectability >= 10000) + { + return true; + } + } + } + if (!includeBags) + { + return false; + } + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return false; + } + for (InventoryType inventoryType = InventoryType.Inventory1; inventoryType <= InventoryType.Inventory4; inventoryType++) + { + InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(inventoryType); + if (inventoryContainer == null) + { + continue; + } + for (int j = 0; j < inventoryContainer->Size; j++) + { + InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(j); + if (inventorySlot != null && inventorySlot->ItemId != 0 && (inventorySlot->Flags & InventoryItem.ItemFlags.Collectable) == 0 && inventorySlot->SpiritbondOrCollectability >= 10000) + { + return true; + } + } + } + return false; + } + + public unsafe static int? GetLowestSpiritbondPercent() + { + InventoryContainer* equippedContainer = EquipmentSlots.GetEquippedContainer(); + if (equippedContainer == null) + { + return null; + } + int? result = null; + for (int i = 0; i < 13; i++) + { + if (i != 5 && EquipmentSlots.TryGetEquippedItem(equippedContainer, i, out var item)) + { + int num = item->SpiritbondOrCollectability * 100 / 10000; + if (!result.HasValue || num < result.Value) + { + result = num; + } + } + } + return result; + } + + public unsafe static List GetAllSpiritbondInfo() + { + List list = new List(13); + InventoryContainer* equippedContainer = EquipmentSlots.GetEquippedContainer(); + if (equippedContainer == null) + { + return list; + } + for (int i = 0; i < 13; i++) + { + if (i != 5 && EquipmentSlots.TryGetEquippedItem(equippedContainer, i, out var item)) + { + list.Add(new SlotSpiritbond(i, item->ItemId, item->SpiritbondOrCollectability * 100 / 10000, item->SpiritbondOrCollectability >= 10000)); + } + } + return list; + } +} diff --git a/LLib/LLib.Gear/GearFeatures.cs b/LLib/LLib.Gear/GearFeatures.cs new file mode 100644 index 0000000..b77fff9 --- /dev/null +++ b/LLib/LLib.Gear/GearFeatures.cs @@ -0,0 +1,34 @@ +using FFXIVClientStructs.FFXIV.Client.Game; + +namespace LLib.Gear; + +public static class GearFeatures +{ + public const uint DesynthQuestId = 65688u; + + public const uint ExtractionQuestId = 66174u; + + public const uint MeldingQuestId = 66175u; + + public const uint OvermeldingQuestId = 66176u; + + public static bool IsDesynthUnlocked() + { + return QuestManager.IsQuestComplete(65688u); + } + + public static bool IsExtractionUnlocked() + { + return QuestManager.IsQuestComplete(66174u); + } + + public static bool IsMeldingUnlocked() + { + return QuestManager.IsQuestComplete(66175u); + } + + public static bool IsOvermeldingUnlocked() + { + return QuestManager.IsQuestComplete(66176u); + } +} diff --git a/LLib/LLib.Gear/GearStatsCalculator.cs b/LLib/LLib.Gear/GearStatsCalculator.cs index b63fba6..110449b 100644 --- a/LLib/LLib.Gear/GearStatsCalculator.cs +++ b/LLib/LLib.Gear/GearStatsCalculator.cs @@ -86,7 +86,12 @@ public sealed class GearStatsCalculator } } } - return CalculateGearStats(_itemSheet.GetRow(item->ItemId), item->Flags.HasFlag(InventoryItem.ItemFlags.HighQuality), list)with + Item? rowOrDefault = _itemSheet.GetRowOrDefault(item->ItemId); + if (!rowOrDefault.HasValue) + { + return new EquipmentStats(new Dictionary(), 0); + } + return CalculateGearStats(rowOrDefault.Value, item->Flags.HasFlag(InventoryItem.ItemFlags.HighQuality), list)with { MateriaCount = b }; @@ -96,6 +101,14 @@ public sealed class GearStatsCalculator { ArgumentNullException.ThrowIfNull(materias, "materias"); Dictionary dictionary = new Dictionary(); + if (item.DamagePhys > 0) + { + dictionary[EBaseParam.DamagePhys] = new StatInfo((short)item.DamagePhys, 0, Overcapped: false); + } + if (item.DamageMag > 0) + { + dictionary[EBaseParam.DamageMag] = new StatInfo((short)item.DamageMag, 0, Overcapped: false); + } for (int i = 0; i < item.BaseParam.Count; i++) { AddEquipmentStat(dictionary, item.BaseParam[i], item.BaseParamValue[i]); @@ -143,7 +156,7 @@ public sealed class GearStatsCalculator } if (materiaInfo.HasItem) { - short num = (short)(GetMaximumStatValue(item, materiaInfo.BaseParam) - value.EquipmentValue); + short num = (short)Math.Max(0, GetMaximumStatValue(item, materiaInfo.BaseParam) - value.EquipmentValue); if (value.MateriaValue + materiaInfo.Values[grade] > num) { result[materiaInfo.BaseParam] = value with @@ -180,6 +193,10 @@ public sealed class GearStatsCalculator public unsafe short CalculateAverageItemLevel(InventoryContainer* container) { + if (container == null) + { + return 0; + } uint num = 0u; int num2 = 12; for (int i = 0; i < 13; i++) @@ -214,6 +231,51 @@ public sealed class GearStatsCalculator } num += rowOrDefault.Value.LevelItem.RowId; } + if (num2 <= 0) + { + return 0; + } return (short)(num / num2); } + + public unsafe EquipmentStats CalculateGearsetStats(InventoryContainer* container) + { + if (container == null) + { + return new EquipmentStats(new Dictionary(), 0); + } + Dictionary dictionary = new Dictionary(); + byte b = 0; + for (int i = 0; i < 13; i++) + { + if (i == 5) + { + continue; + } + InventoryItem* inventorySlot = container->GetInventorySlot(i); + if (inventorySlot == null || inventorySlot->ItemId == 0) + { + continue; + } + EquipmentStats equipmentStats = CalculateGearStats(inventorySlot); + b += equipmentStats.MateriaCount; + foreach (var (key, statInfo2) in equipmentStats.Stats) + { + if (dictionary.TryGetValue(key, out var value)) + { + dictionary[key] = value with + { + EquipmentValue = (short)(value.EquipmentValue + statInfo2.EquipmentValue), + MateriaValue = (short)(value.MateriaValue + statInfo2.MateriaValue), + Overcapped = (value.Overcapped || statInfo2.Overcapped) + }; + } + else + { + dictionary[key] = statInfo2; + } + } + } + return new EquipmentStats(dictionary, b); + } } diff --git a/LLib/LLib.Gear/GearsetHelper.cs b/LLib/LLib.Gear/GearsetHelper.cs new file mode 100644 index 0000000..d0cfc18 --- /dev/null +++ b/LLib/LLib.Gear/GearsetHelper.cs @@ -0,0 +1,37 @@ +using FFXIVClientStructs.FFXIV.Client.UI.Misc; + +namespace LLib.Gear; + +public static class GearsetHelper +{ + public unsafe static int GetCurrentGearsetIndex() + { + RaptureGearsetModule* ptr = RaptureGearsetModule.Instance(); + if (ptr == null) + { + return -1; + } + return ptr->CurrentGearsetIndex; + } + + public unsafe static bool TryEquipGearset(int gearsetIndex) + { + RaptureGearsetModule* ptr = RaptureGearsetModule.Instance(); + if (ptr == null || gearsetIndex < 0 || !ptr->IsValidGearset(gearsetIndex)) + { + return false; + } + ptr->EquipGearset(gearsetIndex, 0); + return true; + } + + public unsafe static byte GetGearsetClassJob(int gearsetIndex) + { + RaptureGearsetModule* ptr = RaptureGearsetModule.Instance(); + if (ptr == null || gearsetIndex < 0 || !ptr->IsValidGearset(gearsetIndex)) + { + return 0; + } + return ptr->GetGearset(gearsetIndex)->ClassJob; + } +} diff --git a/LLib/LLib.Gear/ItemRankingKey.cs b/LLib/LLib.Gear/ItemRankingKey.cs new file mode 100644 index 0000000..384dad8 --- /dev/null +++ b/LLib/LLib.Gear/ItemRankingKey.cs @@ -0,0 +1,6 @@ +namespace LLib.Gear; + +public readonly record struct ItemRankingKey(uint ItemLevel, float Score, short Damage) +{ + public static readonly ItemRankingKey None = new ItemRankingKey(0u, float.NegativeInfinity, short.MinValue); +} diff --git a/LLib/LLib.Gear/MateriaHelper.cs b/LLib/LLib.Gear/MateriaHelper.cs new file mode 100644 index 0000000..651bb67 --- /dev/null +++ b/LLib/LLib.Gear/MateriaHelper.cs @@ -0,0 +1,120 @@ +using System; +using System.Collections.Generic; +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using Lumina.Excel.Sheets; + +namespace LLib.Gear; + +public static class MateriaHelper +{ + private const int MaxMateriaSlots = 5; + + public unsafe static List GetMeldedMateria(InventoryItem* item) + { + List list = new List(5); + if (item == null || item->ItemId == 0) + { + return list; + } + for (int i = 0; i < 5; i++) + { + uint num = item->Materia[i]; + if (num != 0) + { + list.Add(new MeldSlotInfo(i, num, item->MateriaGrades[i])); + } + } + return list; + } + + public static int GetNormalSlotCount(IDataManager dataManager, uint itemId) + { + if (!dataManager.GetExcelSheet().TryGetRow(itemId, out var row)) + { + return 0; + } + return row.MateriaSlotCount; + } + + public static bool CanOvermeld(IDataManager dataManager, uint itemId) + { + if (!dataManager.GetExcelSheet().TryGetRow(itemId, out var row)) + { + return false; + } + return row.IsAdvancedMeldingPermitted; + } + + public static int GetOvermeldSuccessRate(IDataManager dataManager, byte grade, int overmeldSlot, bool isHq) + { + if (overmeldSlot < 0) + { + return 0; + } + if (!dataManager.GetExcelSheet().TryGetRow(grade, out var row)) + { + return 0; + } + if (isHq) + { + if (overmeldSlot >= row.OvermeldHQPercent.Count) + { + return 0; + } + return row.OvermeldHQPercent[overmeldSlot]; + } + if (overmeldSlot >= row.OvermeldNQPercent.Count) + { + return 0; + } + return row.OvermeldNQPercent[overmeldSlot]; + } + + public unsafe static int CountMateriaInInventory(uint materiaItemId) + { + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->GetInventoryItemCount(materiaItemId, isHq: false, checkEquipped: true, checkArmory: true, 0); + } + + public static int EstimateMateriaNeeded(int successRatePercent, int confidencePercent = 90) + { + if (successRatePercent >= 100) + { + return 1; + } + if (successRatePercent <= 0) + { + return int.MaxValue; + } + double num = (double)successRatePercent / 100.0; + double num2 = (double)Math.Clamp(confidencePercent, 0, 99) / 100.0; + double num3 = Math.Ceiling(Math.Log(1.0 - num2) / Math.Log(1.0 - num)); + if (num3 < 1.0) + { + return 1; + } + if (num3 > 2147483647.0) + { + return int.MaxValue; + } + return (int)num3; + } + + public static uint GetMateriaItemId(IDataManager dataManager, uint materiaRowId, byte grade) + { + if (!dataManager.GetExcelSheet().TryGetRow(materiaRowId, out var row)) + { + return 0u; + } + if (grade >= row.Item.Count) + { + return 0u; + } + return row.Item[grade].RowId; + } +} diff --git a/LLib/LLib.Gear/MeldActions.cs b/LLib/LLib.Gear/MeldActions.cs new file mode 100644 index 0000000..00bafb5 --- /dev/null +++ b/LLib/LLib.Gear/MeldActions.cs @@ -0,0 +1,269 @@ +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using FFXIVClientStructs.FFXIV.Client.UI.Agent; +using FFXIVClientStructs.FFXIV.Component.GUI; +using LLib.GameUI; +using Lumina.Excel.Sheets; + +namespace LLib.Gear; + +public static class MeldActions +{ + public const uint MeldUnlockQuestId = 66175u; + + public const uint OvermeldUnlockQuestId = 66176u; + + public unsafe static bool TryOpenMeldAgent() + { + ActionManager* ptr = ActionManager.Instance(); + if (ptr == null) + { + return false; + } + return ptr->UseAction(ActionType.GeneralAction, 13u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + } + + public unsafe static bool IsMeldAgentReady() + { + AgentInterface* agentByInternalId = AgentModule.Instance()->GetAgentByInternalId(AgentId.MateriaAttach); + if (agentByInternalId != null) + { + return agentByInternalId->IsAgentActive(); + } + return false; + } + + public unsafe static void CloseMeldAgent() + { + AgentInterface* agentByInternalId = AgentModule.Instance()->GetAgentByInternalId(AgentId.MateriaAttach); + if (agentByInternalId != null) + { + agentByInternalId->Hide(); + } + } + + public unsafe static bool TrySelectItemCategory(int category) + { + AgentInterface* agentByInternalId = AgentModule.Instance()->GetAgentByInternalId(AgentId.MateriaAttach); + if (agentByInternalId == null || !agentByInternalId->IsAgentActive()) + { + return false; + } + AgentHelper.SendEvent(agentByInternalId, 0uL, 0, category); + return true; + } + + public unsafe static bool TrySelectItem(int itemIndex) + { + AgentInterface* agentByInternalId = AgentModule.Instance()->GetAgentByInternalId(AgentId.MateriaAttach); + if (agentByInternalId == null || !agentByInternalId->IsAgentActive()) + { + return false; + } + AgentHelper.SendEvent(agentByInternalId, 0uL, 1, itemIndex, 1, 0); + return true; + } + + public unsafe static bool TrySelectMateria(int materiaIndex) + { + AgentInterface* agentByInternalId = AgentModule.Instance()->GetAgentByInternalId(AgentId.MateriaAttach); + if (agentByInternalId == null || !agentByInternalId->IsAgentActive()) + { + return false; + } + AgentHelper.SendEvent(agentByInternalId, 0uL, 2, materiaIndex, 1, 0); + return true; + } + + public unsafe static bool TryConfirmMeld(IGameGui gameGui) + { + if (!gameGui.TryGetReadyAddon("MateriaAttachDialog", out var addonPtr)) + { + return false; + } + AddonCallback.Fire(addonPtr, 0, 0, 1); + addonPtr->Close(fireCallback: true); + return true; + } + + public unsafe static bool TryConfirmOvermeld(IGameGui gameGui) + { + AgentInterface* agentByInternalId = AgentModule.Instance()->GetAgentByInternalId(AgentId.MateriaAttach); + if (agentByInternalId == null || !agentByInternalId->IsAgentActive()) + { + return false; + } + if (!gameGui.TryGetReadyAddon("SelectYesno", out var addonPtr)) + { + return false; + } + AddonCallback.ClickYes(addonPtr); + addonPtr->Close(fireCallback: true); + return true; + } + + public unsafe static bool TryRequestRetrieve() + { + AgentInterface* agentByInternalId = AgentModule.Instance()->GetAgentByInternalId(AgentId.MateriaAttach); + if (agentByInternalId == null || !agentByInternalId->IsAgentActive()) + { + return false; + } + AgentHelper.SendEvent(agentByInternalId, 4uL, 0, 1, 0, 0, 0); + return true; + } + + public unsafe static bool TryConfirmRetrieve(IGameGui gameGui) + { + if (!gameGui.TryGetReadyAddon("MateriaRetrieveDialog", out var addonPtr)) + { + return false; + } + AddonCallback.Fire(addonPtr, default(int)); + addonPtr->Close(fireCallback: true); + return true; + } + + public unsafe static bool IsMeldDialogReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + return gameGui.TryGetReadyAddon("MateriaAttachDialog", out addonPtr); + } + + public unsafe static bool IsRetrieveDialogReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + return gameGui.TryGetReadyAddon("MateriaRetrieveDialog", out addonPtr); + } + + public unsafe static bool IsAgentLoading() + { + AgentMateriaAttach* ptr = AgentMateriaAttach.Instance(); + if (ptr != null) + { + return ptr->UpdateState != 0; + } + return false; + } + + public unsafe static int GetSelectedItemIndex() + { + AgentMateriaAttach* ptr = AgentMateriaAttach.Instance(); + if (ptr != null) + { + return ptr->SelectedItemIndex; + } + return -1; + } + + public static AgentMateriaAttach.FilterCategory GetFilterCategory(InventoryType inventoryType) + { + switch (inventoryType) + { + case InventoryType.Inventory1: + case InventoryType.Inventory2: + case InventoryType.Inventory3: + case InventoryType.Inventory4: + return AgentMateriaAttach.FilterCategory.Inventory; + case InventoryType.ArmoryOffHand: + case InventoryType.ArmoryMainHand: + return AgentMateriaAttach.FilterCategory.ArmouryWeapon; + case InventoryType.ArmoryHead: + case InventoryType.ArmoryBody: + case InventoryType.ArmoryHands: + return AgentMateriaAttach.FilterCategory.ArmouryHeadBodyHands; + case InventoryType.ArmoryLegs: + case InventoryType.ArmoryFeets: + return AgentMateriaAttach.FilterCategory.ArmouryLegsFeet; + case InventoryType.ArmoryEar: + case InventoryType.ArmoryNeck: + return AgentMateriaAttach.FilterCategory.ArmouryNeckEars; + case InventoryType.ArmoryWrist: + case InventoryType.ArmoryRings: + return AgentMateriaAttach.FilterCategory.ArmouryWristRing; + case InventoryType.EquippedItems: + return AgentMateriaAttach.FilterCategory.Equipped; + default: + return AgentMateriaAttach.FilterCategory.None; + } + } + + public unsafe static int? FindItemIndex(InventoryItem* target) + { + if (target == null) + { + return null; + } + AgentMateriaAttach* ptr = AgentMateriaAttach.Instance(); + if (ptr == null || !ptr->IsAgentActive() || ptr->Data == null) + { + return null; + } + for (int i = 0; i < ptr->ItemCount; i++) + { + AgentMateriaAttach.MateriaAttachEntry* value = ptr->Data->ItemsSorted[i].Value; + if (value != null && value->Item == target) + { + return i; + } + } + return null; + } + + public unsafe static int? FindMateriaIndex(uint materiaItemId) + { + AgentMateriaAttach* ptr = AgentMateriaAttach.Instance(); + if (ptr == null || !ptr->IsAgentActive() || ptr->Data == null) + { + return null; + } + for (int i = 0; i < ptr->MateriaCount; i++) + { + AgentMateriaAttach.MateriaAttachEntry* value = ptr->Data->MateriaSorted[i].Value; + if (value != null && value->Item != null && value->Item->ItemId == materiaItemId) + { + return i; + } + } + return null; + } + + public static bool IsMeldingUnlocked() + { + return GearFeatures.IsMeldingUnlocked(); + } + + public static bool IsOvermeldingUnlocked() + { + return GearFeatures.IsOvermeldingUnlocked(); + } + + public unsafe static bool CanMeldItem(IDataManager dataManager, InventoryItem* item) + { + if (item == null || item->ItemId == 0) + { + return false; + } + if (!dataManager.GetExcelSheet().TryGetRow(item->ItemId, out var row)) + { + return false; + } + if (row.MateriaSlotCount == 0) + { + return false; + } + int num = row.MateriaSlotCount; + if (row.IsAdvancedMeldingPermitted) + { + num = 5; + } + for (int i = 0; i < num; i++) + { + if (item->Materia[i] == 0) + { + return true; + } + } + return false; + } +} diff --git a/LLib/LLib.Gear/MeldInstruction.cs b/LLib/LLib.Gear/MeldInstruction.cs new file mode 100644 index 0000000..49d02b1 --- /dev/null +++ b/LLib/LLib.Gear/MeldInstruction.cs @@ -0,0 +1,3 @@ +namespace LLib.Gear; + +public readonly record struct MeldInstruction(uint ItemId, int SlotIndex, uint MateriaItemId, bool IsOvermeld); diff --git a/LLib/LLib.Gear/MeldResult.cs b/LLib/LLib.Gear/MeldResult.cs new file mode 100644 index 0000000..be5d642 --- /dev/null +++ b/LLib/LLib.Gear/MeldResult.cs @@ -0,0 +1,11 @@ +namespace LLib.Gear; + +public enum MeldResult +{ + Success, + AgentUnavailable, + ItemNotFound, + MateriaNotFound, + OvermeldFailed, + Cancelled +} diff --git a/LLib/LLib.Gear/MeldSlotInfo.cs b/LLib/LLib.Gear/MeldSlotInfo.cs new file mode 100644 index 0000000..de417ba --- /dev/null +++ b/LLib/LLib.Gear/MeldSlotInfo.cs @@ -0,0 +1,6 @@ +namespace LLib.Gear; + +public readonly record struct MeldSlotInfo(int SlotIndex, uint MateriaId, byte Grade) +{ + public bool IsEmpty => MateriaId == 0; +} diff --git a/LLib/LLib.Gear/RepairActions.cs b/LLib/LLib.Gear/RepairActions.cs new file mode 100644 index 0000000..aa9ae64 --- /dev/null +++ b/LLib/LLib.Gear/RepairActions.cs @@ -0,0 +1,172 @@ +using System; +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using FFXIVClientStructs.FFXIV.Client.UI; +using FFXIVClientStructs.FFXIV.Component.GUI; +using LLib.GameUI; +using Lumina.Excel; +using Lumina.Excel.Sheets; + +namespace LLib.Gear; + +public static class RepairActions +{ + public const uint RepairServiceDataId = 720915u; + + public unsafe static bool TryOpenRepairWindow() + { + ActionManager* ptr = ActionManager.Instance(); + if (ptr == null) + { + return false; + } + return ptr->UseAction(ActionType.GeneralAction, 6u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + } + + public unsafe static bool IsRepairAddonReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + return gameGui.TryGetReadyAddon("Repair", out addonPtr); + } + + public unsafe static bool TryRepairAll(IGameGui gameGui) + { + if (!gameGui.TryGetReadyAddon("Repair", out var addonPtr)) + { + return false; + } + return AddonCallback.ClickButton(addonPtr, ((AddonRepair*)addonPtr)->RepairAllButton); + } + + public unsafe static bool TryConfirmDialog(IGameGui gameGui) + { + if (!gameGui.TryGetReadyAddon("Repair", out var _)) + { + return false; + } + if (!gameGui.TryGetReadyAddon("SelectYesno", out var addonPtr2)) + { + return false; + } + AddonCallback.ClickYes(addonPtr2); + return true; + } + + public unsafe static string DescribeRepairAddon(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("Repair", out var addonPtr)) + { + return "addon: not open"; + } + AtkComponentButton* repairAllButton = ((AddonRepair*)addonPtr)->RepairAllButton; + string value = ((repairAllButton == null) ? "null" : (repairAllButton->IsEnabled ? "enabled" : "disabled")); + return $"addon: visible={addonPtr->IsVisible}, ready={LAddon.IsAddonReady(addonPtr)}, repair-all button: {value}"; + } + + public unsafe static bool TryCloseRepairWindow(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("Repair", out var addonPtr)) + { + return false; + } + addonPtr->Close(fireCallback: true); + return true; + } + + public unsafe static bool TrySelectRepairFromMenu(IGameGui gameGui, int repairIndex) + { + if (!gameGui.TryGetReadyAddon("SelectIconString", out var addonPtr)) + { + return false; + } + AddonCallback.FireWithUpdate(addonPtr, repairIndex); + return true; + } + + public static int? FindRepairIndex(IDataManager dataManager, uint npcBaseId) + { + if (!dataManager.GetExcelSheet().TryGetRow(npcBaseId, out var row)) + { + return null; + } + for (int i = 0; i < row.ENpcData.Count; i++) + { + if (row.ENpcData[i].RowId == 720915) + { + return i; + } + } + return null; + } + + public static bool CanSelfRepairItem(uint itemId, IDataManager dataManager, Func jobLevelLookup) + { + if (!dataManager.GetExcelSheet().TryGetRow(itemId, out var row)) + { + return false; + } + uint rowId = row.ClassJobRepair.RowId; + if (rowId == 0) + { + return false; + } + byte num = jobLevelLookup(rowId); + int num2 = Math.Max(row.LevelEquip - 10, 1); + if (num < num2) + { + return false; + } + uint num3 = row.ItemRepair.ValueNullable?.Item.RowId ?? 0; + if (num3 == 0) + { + return false; + } + return HasDarkMatterOrBetter(dataManager, num3); + } + + public unsafe static bool CanSelfRepairAny(IDataManager dataManager, Func jobLevelLookup, int thresholdPercent = 100) + { + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return false; + } + InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(InventoryType.EquippedItems); + if (inventoryContainer == null) + { + return false; + } + for (int i = 0; i < inventoryContainer->Size; i++) + { + InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(i); + if (inventorySlot != null && inventorySlot->ItemId != 0 && inventorySlot->Condition * 100 / 30000 < thresholdPercent && CanSelfRepairItem(inventorySlot->ItemId, dataManager, jobLevelLookup)) + { + return true; + } + } + return false; + } + + private unsafe static bool HasDarkMatterOrBetter(IDataManager dataManager, uint requiredItemId) + { + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return false; + } + ExcelSheet excelSheet = dataManager.GetExcelSheet(); + bool flag = false; + foreach (ItemRepairResource item in excelSheet) + { + if (item.Item.RowId == requiredItemId) + { + flag = true; + } + if (flag && ptr->GetInventoryItemCount(item.Item.RowId, isHq: false, checkEquipped: true, checkArmory: true, 0) > 0) + { + return true; + } + } + return false; + } +} diff --git a/LLib/LLib.Gear/SlotCondition.cs b/LLib/LLib.Gear/SlotCondition.cs new file mode 100644 index 0000000..06f6c88 --- /dev/null +++ b/LLib/LLib.Gear/SlotCondition.cs @@ -0,0 +1,3 @@ +namespace LLib.Gear; + +public readonly record struct SlotCondition(int SlotIndex, uint ItemId, int ConditionPercent); diff --git a/LLib/LLib.Gear/SlotSpiritbond.cs b/LLib/LLib.Gear/SlotSpiritbond.cs new file mode 100644 index 0000000..f43e122 --- /dev/null +++ b/LLib/LLib.Gear/SlotSpiritbond.cs @@ -0,0 +1,3 @@ +namespace LLib.Gear; + +public readonly record struct SlotSpiritbond(int SlotIndex, uint ItemId, int SpiritbondPercent, bool IsReady); diff --git a/LLib/LLib.Gear/StatPriority.cs b/LLib/LLib.Gear/StatPriority.cs new file mode 100644 index 0000000..be70c00 --- /dev/null +++ b/LLib/LLib.Gear/StatPriority.cs @@ -0,0 +1,128 @@ +using System; +using System.Collections.Generic; +using LLib.GameData; + +namespace LLib.Gear; + +public sealed class StatPriority +{ + private readonly IReadOnlyDictionary _weights; + + public IReadOnlyDictionary Weights => _weights; + + public StatPriority(IReadOnlyDictionary weights) + { + _weights = weights; + } + + public float Score(EquipmentStats stats) + { + float num = 0f; + foreach (var (param, num3) in _weights) + { + if (num3 != 0f) + { + num += (float)stats.Get(param) * num3; + } + } + return num; + } + + public static StatPriority ForJob(EClassJob job) + { + EBaseParam[] relevantParams = GetRelevantParams(job); + Dictionary dictionary = new Dictionary(relevantParams.Length); + EBaseParam[] array = relevantParams; + foreach (EBaseParam key in array) + { + dictionary[key] = 1f; + } + return new StatPriority(dictionary); + } + + private static EBaseParam[] GetRelevantParams(EClassJob job) + { + if (job.IsCrafter()) + { + return new EBaseParam[3] + { + EBaseParam.CP, + EBaseParam.Control, + EBaseParam.Craftsmanship + }; + } + if (job.IsGatherer()) + { + return new EBaseParam[3] + { + EBaseParam.GP, + EBaseParam.Gathering, + EBaseParam.Perception + }; + } + if (job.IsHealer()) + { + return new EBaseParam[5] + { + EBaseParam.Mind, + EBaseParam.Piety, + EBaseParam.SpellSpeed, + EBaseParam.Determination, + EBaseParam.Crit + }; + } + if (job.IsTank()) + { + return new EBaseParam[7] + { + EBaseParam.Strength, + EBaseParam.Vitality, + EBaseParam.Determination, + EBaseParam.Tenacity, + EBaseParam.DirectHit, + EBaseParam.Crit, + EBaseParam.SkillSpeed + }; + } + bool flag = job.IsPhysicalRanged(); + if (!flag) + { + bool flag2 = ((job - 29 <= EClassJob.Gladiator || job == EClassJob.Viper) ? true : false); + flag = flag2; + } + if (flag) + { + return new EBaseParam[5] + { + EBaseParam.Dexterity, + EBaseParam.Determination, + EBaseParam.DirectHit, + EBaseParam.Crit, + EBaseParam.SkillSpeed + }; + } + if (job.IsMelee()) + { + return new EBaseParam[5] + { + EBaseParam.Strength, + EBaseParam.Determination, + EBaseParam.DirectHit, + EBaseParam.Crit, + EBaseParam.SkillSpeed + }; + } + if (job.IsCaster()) + { + return new EBaseParam[5] + { + EBaseParam.Intelligence, + EBaseParam.Determination, + EBaseParam.DirectHit, + EBaseParam.Crit, + EBaseParam.SpellSpeed + }; + } + return Array.Empty(); + } +} diff --git a/LLib/LLib.ImGui/IEditablePolygonSet.cs b/LLib/LLib.ImGui/IEditablePolygonSet.cs new file mode 100644 index 0000000..11b3dd1 --- /dev/null +++ b/LLib/LLib.ImGui/IEditablePolygonSet.cs @@ -0,0 +1,17 @@ +using System.Collections.Generic; +using System.Numerics; + +namespace LLib.ImGui; + +public interface IEditablePolygonSet +{ + int PolygonCount { get; } + + IList GetVertices(int polygonIndex); + + uint GetColor(int polygonIndex); + + string GetLabel(int polygonIndex); + + void AddPolygon(IList vertices); +} diff --git a/LLib/LLib.ImGui/LWindow.cs b/LLib/LLib.ImGui/LWindow.cs index 6a3ad29..fc3c02a 100644 --- a/LLib/LLib.ImGui/LWindow.cs +++ b/LLib/LLib.ImGui/LWindow.cs @@ -1,17 +1,18 @@ +using System; +using System.Reflection; using Dalamud.Bindings.ImGui; using Dalamud.Interface.Windowing; namespace LLib.ImGui; +[Obfuscation(Feature = "-rename", Exclude = false, ApplyToMembers = true)] public abstract class LWindow : Window { private bool _initializedConfig; private bool _wasCollapsedLastFrame; - protected bool ClickedHeaderLastFrame { get; private set; } - - protected bool ClickedHeaderCurrentFrame { get; private set; } + private bool _closeRequested; protected bool UncollapseNextFrame { get; set; } @@ -36,7 +37,13 @@ public abstract class LWindow : Window { get { - return (int?)(100000f * base.BgAlpha); + float? bgAlpha = base.BgAlpha; + if (bgAlpha.HasValue) + { + float valueOrDefault = bgAlpha.GetValueOrDefault(); + return (int)MathF.Round(100000f * valueOrDefault); + } + return null; } set { @@ -108,8 +115,14 @@ public abstract class LWindow : Window IsOpenAndUncollapsed = !IsOpenAndUncollapsed; } + protected void RequestClose() + { + _closeRequested = true; + } + public override void OnOpen() { + _closeRequested = false; UncollapseNextFrame = true; base.OnOpen(); } @@ -121,6 +134,11 @@ public abstract class LWindow : Window public override void PreDraw() { + if (_closeRequested) + { + _closeRequested = false; + base.IsOpen = false; + } if (!_initializedConfig) { LoadWindowConfig(); @@ -131,8 +149,6 @@ public abstract class LWindow : Window UncollapseNextFrame = false; } base.PreDraw(); - ClickedHeaderLastFrame = ClickedHeaderCurrentFrame; - ClickedHeaderCurrentFrame = false; } public sealed override void Draw() diff --git a/LLib/LLib.ImGui/MapPolygonEditor.cs b/LLib/LLib.ImGui/MapPolygonEditor.cs new file mode 100644 index 0000000..bc4d20b --- /dev/null +++ b/LLib/LLib.ImGui/MapPolygonEditor.cs @@ -0,0 +1,625 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.InteropServices; +using Dalamud.Bindings.ImGui; +using Dalamud.Interface.Textures.TextureWraps; + +namespace LLib.ImGui; + +public sealed class MapPolygonEditor +{ + private readonly MapTextureService _mapService; + + private float _zoom = 0.5f; + + private Vector2 _offset = Vector2.Zero; + + private bool _isPanning; + + private Vector2 _lastMousePos; + + private Vector2 _panStartPos; + + private bool _isDrawing; + + private readonly List _drawingVertices = new List(); + + private bool _isDraggingVertex; + + private bool _suppressClickThisFrame; + + private int _dragPolyIndex = -1; + + private int _dragVertexIndex = -1; + + private int _hoveredVertexIndex = -1; + + private int _hoveredEdgeIndex = -1; + + private const float VertexHandleRadius = 5f; + + private const float VertexHitRadius = 12f; + + private const float EdgeMidpointRadius = 4f; + + private const float EdgeMidpointHitRadius = 10f; + + private const float VertexSnapRadius = 10f; + + private const float ClickThreshold = 4f; + + private const float ClosePolygonPixelDist = 12f; + + private const int MinVerticesForPolygon = 3; + + public bool IsDrawing => _isDrawing; + + public int SelectedIndex { get; set; } = -1; + + public MapPolygonEditor(MapTextureService mapService) + { + _mapService = mapService; + } + + public void StartDrawing() + { + _isDrawing = true; + _drawingVertices.Clear(); + } + + public void CancelDrawing() + { + _isDrawing = false; + _drawingVertices.Clear(); + } + + public void ResetView() + { + _zoom = 0.5f; + _offset = Vector2.Zero; + } + + public void Draw(IEditablePolygonSet polygons, Vector3? playerPosition, Vector2? size = null) + { + Vector2 contentRegionAvail = Dalamud.Bindings.ImGui.ImGui.GetContentRegionAvail(); + Vector2 size2 = size ?? new Vector2(contentRegionAvail.X, MathF.Max(contentRegionAvail.Y, 400f)); + if (!Dalamud.Bindings.ImGui.ImGui.BeginChild("##MapPolygonEditor", size2, border: true)) + { + Dalamud.Bindings.ImGui.ImGui.EndChild(); + return; + } + Vector2 cursorScreenPos = Dalamud.Bindings.ImGui.ImGui.GetCursorScreenPos(); + Vector2 contentRegionAvail2 = Dalamud.Bindings.ImGui.ImGui.GetContentRegionAvail(); + Dalamud.Bindings.ImGui.ImGui.InvisibleButton("##MapCapture", contentRegionAvail2); + bool flag = Dalamud.Bindings.ImGui.ImGui.IsItemHovered(); + IDalamudTextureWrap textureWrap = _mapService.GetTextureWrap(); + if (textureWrap == null) + { + Dalamud.Bindings.ImGui.ImGui.SetCursorScreenPos(cursorScreenPos + new Vector2(8f, 8f)); + if (_mapService.IsSearching) + { + Dalamud.Bindings.ImGui.ImGui.TextDisabled("Loading map texture..."); + } + else + { + Dalamud.Bindings.ImGui.ImGui.TextDisabled("No map texture available."); + } + Dalamud.Bindings.ImGui.ImGui.EndChild(); + return; + } + float value = 2048f * _zoom; + Vector2 vector = new Vector2(value); + Vector2 imagePos = cursorScreenPos + _offset + contentRegionAvail2 * 0.5f - vector * 0.5f; + int nearVertexIndex = -1; + if (!_isDrawing && SelectedIndex >= 0 && SelectedIndex < polygons.PolygonCount) + { + IList vertices = polygons.GetVertices(SelectedIndex); + nearVertexIndex = FindNearestVertexHandle(vertices, imagePos, vector); + } + HandleVertexDrag(polygons, imagePos, vector, flag, nearVertexIndex); + if (!_isDraggingVertex) + { + HandlePanZoom(cursorScreenPos, contentRegionAvail2, flag); + } + imagePos = cursorScreenPos + _offset + contentRegionAvail2 * 0.5f - vector * 0.5f; + ImDrawListPtr windowDrawList = Dalamud.Bindings.ImGui.ImGui.GetWindowDrawList(); + windowDrawList.AddImage(textureWrap.Handle, imagePos, imagePos + vector); + DrawPolygons(windowDrawList, polygons, imagePos, vector); + if (playerPosition.HasValue) + { + Vector3 valueOrDefault = playerPosition.GetValueOrDefault(); + Vector2 center = _mapService.WorldToScreen(valueOrDefault.X, valueOrDefault.Z, imagePos, vector); + windowDrawList.AddCircleFilled(center, 4f, 4278255360u); + windowDrawList.AddCircle(center, 6f, 4278190080u); + } + if (_isDrawing) + { + DrawPolygonInProgress(windowDrawList, imagePos, vector); + } + HandleMouseInput(polygons, imagePos, vector, flag); + HandleDrawingInput(polygons, imagePos, vector, flag); + Dalamud.Bindings.ImGui.ImGui.EndChild(); + } + + private void DrawPolygons(ImDrawListPtr drawList, IEditablePolygonSet polygons, Vector2 imagePos, Vector2 imageSizeVec) + { + for (int i = 0; i < polygons.PolygonCount; i++) + { + IList vertices = polygons.GetVertices(i); + if (vertices.Count >= 3) + { + uint num = polygons.GetColor(i); + bool num2 = i == SelectedIndex; + if (num2) + { + num = (num & 0xFFFFFF) | 0x90000000u; + } + DrawFilledPolygon(drawList, vertices, imagePos, imageSizeVec, num); + float thickness = (num2 ? 3f : 1f); + uint color = (num2 ? uint.MaxValue : (num | 0xFF000000u)); + DrawPolygonBorder(drawList, vertices, imagePos, imageSizeVec, color, thickness); + if (num2) + { + DrawVertexHandles(drawList, vertices, imagePos, imageSizeVec); + } + string label = polygons.GetLabel(i); + if (!string.IsNullOrEmpty(label)) + { + Vector2 vector = ComputeCentroid(vertices); + Vector2 pos = _mapService.WorldToScreen(vector.X, vector.Y, imagePos, imageSizeVec); + drawList.AddText(pos, uint.MaxValue, label); + } + } + } + } + + private void DrawFilledPolygon(ImDrawListPtr drawList, IList verts, Vector2 imagePos, Vector2 imageSizeVec, uint color) + { + Vector2[] array = new Vector2[verts.Count]; + for (int i = 0; i < verts.Count; i++) + { + array[i] = _mapService.WorldToScreen(verts[i].X, verts[i].Y, imagePos, imageSizeVec); + } + List list = new List(verts.Count); + for (int j = 0; j < verts.Count; j++) + { + list.Add(j); + } + float polySignedArea = SignedArea(array, list); + while (list.Count > 2) + { + bool flag = false; + for (int k = 0; k < list.Count; k++) + { + int index = (k - 1 + list.Count) % list.Count; + int index2 = (k + 1) % list.Count; + int num = list[index]; + int num2 = list[k]; + int num3 = list[index2]; + if (IsEar(array, list, num, num2, num3, polySignedArea)) + { + drawList.AddTriangleFilled(array[num], array[num2], array[num3], color); + list.RemoveAt(k); + flag = true; + break; + } + } + if (!flag) + { + break; + } + } + } + + private static float SignedArea(Vector2[] verts, List indices) + { + float num = 0f; + for (int i = 0; i < indices.Count; i++) + { + Vector2 vector = verts[indices[i]]; + Vector2 vector2 = verts[indices[(i + 1) % indices.Count]]; + num += (vector2.X - vector.X) * (vector2.Y + vector.Y); + } + return num; + } + + private static bool IsEar(Vector2[] verts, List indices, int prev, int curr, int next, float polySignedArea) + { + Vector2 vector = verts[prev]; + Vector2 vector2 = verts[curr]; + Vector2 vector3 = verts[next]; + float num = Cross2D(vector2 - vector, vector3 - vector); + if (polySignedArea > 0f && num >= 0f) + { + return false; + } + if (polySignedArea <= 0f && num <= 0f) + { + return false; + } + foreach (int index in indices) + { + if (index != prev && index != curr && index != next && PointInTriangle(verts[index], vector, vector2, vector3)) + { + return false; + } + } + return true; + } + + private static bool PointInTriangle(Vector2 p, Vector2 a, Vector2 b, Vector2 c) + { + float num = Cross2D(p - a, b - a); + float num2 = Cross2D(p - b, c - b); + float num3 = Cross2D(p - c, a - c); + bool flag = num < 0f || num2 < 0f || num3 < 0f; + bool flag2 = num > 0f || num2 > 0f || num3 > 0f; + return !(flag && flag2); + } + + private static float Cross2D(Vector2 a, Vector2 b) + { + return a.X * b.Y - a.Y * b.X; + } + + private void DrawPolygonBorder(ImDrawListPtr drawList, IList verts, Vector2 imagePos, Vector2 imageSizeVec, uint color, float thickness) + { + for (int i = 0; i < verts.Count; i++) + { + int index = (i + 1) % verts.Count; + Vector2 p = _mapService.WorldToScreen(verts[i].X, verts[i].Y, imagePos, imageSizeVec); + Vector2 p2 = _mapService.WorldToScreen(verts[index].X, verts[index].Y, imagePos, imageSizeVec); + drawList.AddLine(p, p2, color, thickness); + } + } + + private void DrawVertexHandles(ImDrawListPtr drawList, IList verts, Vector2 imagePos, Vector2 imageSizeVec) + { + _hoveredVertexIndex = FindNearestVertexHandle(verts, imagePos, imageSizeVec); + _hoveredEdgeIndex = -1; + if (_hoveredVertexIndex < 0 && !_isDraggingVertex) + { + _hoveredEdgeIndex = FindNearestEdgeMidpoint(verts, imagePos, imageSizeVec); + } + for (int i = 0; i < verts.Count; i++) + { + int index = (i + 1) % verts.Count; + Vector2 vector = (verts[i] + verts[index]) / 2f; + Vector2 center = _mapService.WorldToScreen(vector.X, vector.Y, imagePos, imageSizeVec); + bool num = i == _hoveredEdgeIndex; + uint col = (num ? 4278255615u : 2164260863u); + float radius = (num ? 6f : 4f); + drawList.AddCircleFilled(center, radius, col); + Vector2 vector2 = verts[i]; + Vector2 center2 = _mapService.WorldToScreen(vector2.X, vector2.Y, imagePos, imageSizeVec); + bool num2 = i == _hoveredVertexIndex; + uint col2 = (num2 ? 4278255615u : uint.MaxValue); + float radius2 = (num2 ? 7f : 5f); + drawList.AddCircleFilled(center2, radius2, col2); + drawList.AddCircle(center2, radius2, 4278190080u); + } + } + + private void DrawPolygonInProgress(ImDrawListPtr drawList, Vector2 imagePos, Vector2 imageSizeVec) + { + Vector2 mousePos = Dalamud.Bindings.ImGui.ImGui.GetMousePos(); + if (_drawingVertices.Count == 0) + { + drawList.AddCircle(mousePos, 4f, uint.MaxValue); + return; + } + for (int i = 0; i < _drawingVertices.Count - 1; i++) + { + Vector2 p = _mapService.WorldToScreen(_drawingVertices[i].X, _drawingVertices[i].Y, imagePos, imageSizeVec); + Vector2 p2 = _mapService.WorldToScreen(_drawingVertices[i + 1].X, _drawingVertices[i + 1].Y, imagePos, imageSizeVec); + drawList.AddLine(p, p2, uint.MaxValue, 2f); + } + for (int j = 0; j < _drawingVertices.Count; j++) + { + Vector2 center = _mapService.WorldToScreen(_drawingVertices[j].X, _drawingVertices[j].Y, imagePos, imageSizeVec); + uint col = ((j == 0) ? 4278255360u : uint.MaxValue); + drawList.AddCircleFilled(center, 4f, col); + } + MapTextureService mapService = _mapService; + List drawingVertices = _drawingVertices; + float x = drawingVertices[drawingVertices.Count - 1].X; + List drawingVertices2 = _drawingVertices; + Vector2 p3 = mapService.WorldToScreen(x, drawingVertices2[drawingVertices2.Count - 1].Y, imagePos, imageSizeVec); + drawList.AddLine(p3, mousePos, 2164260863u, 1.5f); + if (_drawingVertices.Count >= 3) + { + Vector2 vector = _mapService.WorldToScreen(_drawingVertices[0].X, _drawingVertices[0].Y, imagePos, imageSizeVec); + if (Vector2.Distance(mousePos, vector) < 12f) + { + drawList.AddCircle(vector, 12f, 4278255360u, 0, 2f); + } + } + } + + private void HandlePanZoom(Vector2 canvasPos, Vector2 canvasSize, bool isHovered) + { + ImGuiIOPtr iO = Dalamud.Bindings.ImGui.ImGui.GetIO(); + if (isHovered && MathF.Abs(iO.MouseWheel) > 0.01f) + { + float zoom = _zoom; + _zoom = MathF.Max(0.1f, MathF.Min(3f, _zoom + iO.MouseWheel * 0.05f)); + Vector2 vector = Dalamud.Bindings.ImGui.ImGui.GetMousePos() - canvasPos - canvasSize * 0.5f - _offset; + _offset -= vector * (_zoom / zoom - 1f); + } + bool flag = Dalamud.Bindings.ImGui.ImGui.IsMouseDown(ImGuiMouseButton.Left) || Dalamud.Bindings.ImGui.ImGui.IsMouseDown(ImGuiMouseButton.Right) || Dalamud.Bindings.ImGui.ImGui.IsMouseDown(ImGuiMouseButton.Middle); + if (isHovered && flag) + { + if (!_isPanning) + { + _isPanning = true; + _lastMousePos = Dalamud.Bindings.ImGui.ImGui.GetMousePos(); + _panStartPos = _lastMousePos; + } + else + { + Vector2 mousePos = Dalamud.Bindings.ImGui.ImGui.GetMousePos(); + Vector2 vector2 = mousePos - _lastMousePos; + _offset += vector2; + _lastMousePos = mousePos; + } + } + else + { + _isPanning = false; + } + } + + private void HandleVertexDrag(IEditablePolygonSet polygons, Vector2 imagePos, Vector2 imageSizeVec, bool mapHovered, int nearVertexIndex) + { + if (!_isDraggingVertex && !_isDrawing && mapHovered && nearVertexIndex >= 0 && Dalamud.Bindings.ImGui.ImGui.IsMouseClicked(ImGuiMouseButton.Left)) + { + _isDraggingVertex = true; + _dragPolyIndex = SelectedIndex; + _dragVertexIndex = nearVertexIndex; + } + if (_isDraggingVertex && Dalamud.Bindings.ImGui.ImGui.IsMouseDown(ImGuiMouseButton.Left) && _dragPolyIndex >= 0 && _dragPolyIndex < polygons.PolygonCount) + { + IList vertices = polygons.GetVertices(_dragPolyIndex); + if (_dragVertexIndex >= 0 && _dragVertexIndex < vertices.Count) + { + Vector2 mousePos = Dalamud.Bindings.ImGui.ImGui.GetMousePos(); + Vector2 vector = _mapService.ScreenToWorld(mousePos, imagePos, imageSizeVec); + Vector2? vector2 = FindSnapTarget(polygons, _dragPolyIndex, _dragVertexIndex, mousePos, imagePos, imageSizeVec); + vertices[_dragVertexIndex] = vector2 ?? vector; + } + } + if (_isDraggingVertex && Dalamud.Bindings.ImGui.ImGui.IsMouseReleased(ImGuiMouseButton.Left)) + { + _isDraggingVertex = false; + _dragPolyIndex = -1; + _dragVertexIndex = -1; + _suppressClickThisFrame = true; + } + if (!_isDraggingVertex && !_isDrawing && mapHovered && nearVertexIndex >= 0 && Dalamud.Bindings.ImGui.ImGui.IsMouseClicked(ImGuiMouseButton.Right) && SelectedIndex >= 0 && SelectedIndex < polygons.PolygonCount) + { + IList vertices2 = polygons.GetVertices(SelectedIndex); + if (vertices2.Count > 3) + { + vertices2.RemoveAt(nearVertexIndex); + } + } + } + + private void HandleMouseInput(IEditablePolygonSet polygons, Vector2 imagePos, Vector2 imageSizeVec, bool mapHovered) + { + if (!Dalamud.Bindings.ImGui.ImGui.IsMouseReleased(ImGuiMouseButton.Left)) + { + return; + } + if (_suppressClickThisFrame) + { + _suppressClickThisFrame = false; + } + else + { + if (_isDrawing || _isDraggingVertex || Vector2.Distance(Dalamud.Bindings.ImGui.ImGui.GetMousePos(), _panStartPos) > 4f || !mapHovered) + { + return; + } + Vector2 mousePos = Dalamud.Bindings.ImGui.ImGui.GetMousePos(); + Vector2 point = _mapService.ScreenToWorld(mousePos, imagePos, imageSizeVec); + if (_hoveredEdgeIndex >= 0 && SelectedIndex >= 0 && SelectedIndex < polygons.PolygonCount) + { + IList vertices = polygons.GetVertices(SelectedIndex); + int hoveredEdgeIndex = _hoveredEdgeIndex; + if (hoveredEdgeIndex < vertices.Count) + { + int index = (hoveredEdgeIndex + 1) % vertices.Count; + Vector2 item = (vertices[hoveredEdgeIndex] + vertices[index]) / 2f; + vertices.Insert(index, item); + return; + } + } + int num = -1; + for (int i = 0; i < polygons.PolygonCount; i++) + { + IList vertices2 = polygons.GetVertices(i); + if (PointInPolygon(point, vertices2)) + { + num = i; + } + } + if (num >= 0) + { + SelectedIndex = num; + } + } + } + + private void HandleDrawingInput(IEditablePolygonSet polygons, Vector2 imagePos, Vector2 imageSizeVec, bool mapHovered) + { + if (!_isDrawing) + { + return; + } + if (Dalamud.Bindings.ImGui.ImGui.IsKeyPressed(ImGuiKey.Escape)) + { + _isDrawing = false; + _drawingVertices.Clear(); + } + else if (Dalamud.Bindings.ImGui.ImGui.IsKeyPressed(ImGuiKey.Enter) && _drawingVertices.Count >= 3) + { + FinishDrawing(polygons); + } + else + { + if (!mapHovered) + { + return; + } + if (Dalamud.Bindings.ImGui.ImGui.IsMouseDoubleClicked(ImGuiMouseButton.Left) && _drawingVertices.Count >= 3) + { + FinishDrawing(polygons); + } + else + { + if (!Dalamud.Bindings.ImGui.ImGui.IsMouseClicked(ImGuiMouseButton.Left)) + { + return; + } + Vector2 mousePos = Dalamud.Bindings.ImGui.ImGui.GetMousePos(); + Vector2 item = _mapService.ScreenToWorld(mousePos, imagePos, imageSizeVec); + if (_drawingVertices.Count >= 3) + { + Vector2 value = _mapService.WorldToScreen(_drawingVertices[0].X, _drawingVertices[0].Y, imagePos, imageSizeVec); + if (Vector2.Distance(mousePos, value) < 12f) + { + FinishDrawing(polygons); + return; + } + } + _drawingVertices.Add(item); + } + } + } + + private void FinishDrawing(IEditablePolygonSet polygons) + { + _isDrawing = false; + if (_drawingVertices.Count < 3) + { + _drawingVertices.Clear(); + return; + } + List drawingVertices = _drawingVertices; + int count = drawingVertices.Count; + List list = new List(count); + CollectionsMarshal.SetCount(list, count); + Span span = CollectionsMarshal.AsSpan(list); + int num = 0; + Span span2 = CollectionsMarshal.AsSpan(drawingVertices); + span2.CopyTo(span.Slice(num, span2.Length)); + num += span2.Length; + polygons.AddPolygon(list); + SelectedIndex = polygons.PolygonCount - 1; + _drawingVertices.Clear(); + } + + private int FindNearestVertexHandle(IList verts, Vector2 imagePos, Vector2 imageSizeVec) + { + Vector2 mousePos = Dalamud.Bindings.ImGui.ImGui.GetMousePos(); + float num = 12f; + int result = -1; + for (int i = 0; i < verts.Count; i++) + { + Vector2 value = _mapService.WorldToScreen(verts[i].X, verts[i].Y, imagePos, imageSizeVec); + float num2 = Vector2.Distance(mousePos, value); + if (num2 < num) + { + num = num2; + result = i; + } + } + return result; + } + + private int FindNearestEdgeMidpoint(IList verts, Vector2 imagePos, Vector2 imageSizeVec) + { + if (verts.Count < 2) + { + return -1; + } + Vector2 mousePos = Dalamud.Bindings.ImGui.ImGui.GetMousePos(); + float num = 10f; + int result = -1; + for (int i = 0; i < verts.Count; i++) + { + int index = (i + 1) % verts.Count; + Vector2 vector = (verts[i] + verts[index]) / 2f; + Vector2 value = _mapService.WorldToScreen(vector.X, vector.Y, imagePos, imageSizeVec); + float num2 = Vector2.Distance(mousePos, value); + if (num2 < num) + { + num = num2; + result = i; + } + } + return result; + } + + private Vector2? FindSnapTarget(IEditablePolygonSet polygons, int currentPolyIndex, int currentVertexIndex, Vector2 mouseScreenPos, Vector2 imagePos, Vector2 imageSizeVec) + { + float num = 10f; + Vector2? result = null; + for (int i = 0; i < polygons.PolygonCount; i++) + { + IList vertices = polygons.GetVertices(i); + for (int j = 0; j < vertices.Count; j++) + { + if (i != currentPolyIndex || j != currentVertexIndex) + { + Vector2 value = _mapService.WorldToScreen(vertices[j].X, vertices[j].Y, imagePos, imageSizeVec); + float num2 = Vector2.Distance(mouseScreenPos, value); + if (num2 < num) + { + num = num2; + result = vertices[j]; + } + } + } + } + return result; + } + + private static bool PointInPolygon(Vector2 point, IList verts) + { + if (verts.Count < 3) + { + return false; + } + bool flag = false; + int num = 0; + int index = verts.Count - 1; + while (num < verts.Count) + { + float x = verts[num].X; + float y = verts[num].Y; + float x2 = verts[index].X; + float y2 = verts[index].Y; + if (y > point.Y != y2 > point.Y && point.X < (x2 - x) * (point.Y - y) / (y2 - y) + x) + { + flag = !flag; + } + index = num++; + } + return flag; + } + + private static Vector2 ComputeCentroid(IList verts) + { + float num = 0f; + float num2 = 0f; + for (int i = 0; i < verts.Count; i++) + { + num += verts[i].X; + num2 += verts[i].Y; + } + return new Vector2(num / (float)verts.Count, num2 / (float)verts.Count); + } +} diff --git a/LLib/LLib.ImGui/MapTextureService.cs b/LLib/LLib.ImGui/MapTextureService.cs new file mode 100644 index 0000000..41ce75c --- /dev/null +++ b/LLib/LLib.ImGui/MapTextureService.cs @@ -0,0 +1,171 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using Dalamud.Interface.Textures; +using Dalamud.Interface.Textures.TextureWraps; +using Dalamud.Plugin.Services; +using Lumina.Excel.Sheets; +using Microsoft.Extensions.Logging; + +namespace LLib.ImGui; + +public sealed class MapTextureService +{ + private readonly ITextureProvider _textureProvider; + + private readonly IDataManager _dataManager; + + private readonly ILogger _logger; + + private uint _loadedTerritoryType; + + private ISharedImmediateTexture? _resolvedTexture; + + private List? _candidateTextures; + + private bool _failed; + + private long _retryAtMs; + + private int _searchFrames; + + private const int SearchTimeout = 120; + + private const long RetryDelayMs = 30000L; + + private ushort _sizeFactor; + + private short _offsetX; + + private short _offsetY; + + public bool IsLoaded => _resolvedTexture != null; + + public bool IsSearching => _candidateTextures != null; + + public ushort SizeFactor => _sizeFactor; + + public MapTextureService(ITextureProvider textureProvider, IDataManager dataManager, ILogger logger) + { + _textureProvider = textureProvider; + _dataManager = dataManager; + _logger = logger; + } + + public bool LoadForTerritory(uint territoryType) + { + if (territoryType == _loadedTerritoryType && _resolvedTexture != null) + { + return true; + } + if (territoryType == _loadedTerritoryType && _failed) + { + return false; + } + if (territoryType == _loadedTerritoryType && _candidateTextures != null) + { + PollCandidates(); + return _resolvedTexture != null; + } + if (territoryType == _loadedTerritoryType && Environment.TickCount64 < _retryAtMs) + { + return false; + } + _resolvedTexture = null; + _candidateTextures = null; + _failed = false; + _retryAtMs = 0L; + _loadedTerritoryType = territoryType; + _searchFrames = 0; + Map? map = _dataManager.GetExcelSheet().GetRowOrDefault(territoryType)?.Map.ValueNullable; + if (!map.HasValue || map.Value.RowId == 0) + { + _failed = true; + return false; + } + _sizeFactor = map.Value.SizeFactor; + _offsetX = map.Value.OffsetX; + _offsetY = map.Value.OffsetY; + string text = map.Value.Id.ExtractText(); + if (string.IsNullOrEmpty(text)) + { + _failed = true; + return false; + } + string[] array = text.Split('/'); + if (array.Length != 2) + { + _failed = true; + return false; + } + string value = array[0]; + string text2 = array[1]; + List list = new List { $"ui/map/{text}/{value}{text2}_m.tex" }; + if (text2 != "00") + { + list.Add($"ui/map/{value}/00/{value}00_m.tex"); + } + _logger.LogDebug("Starting map texture search for territory {TerritoryType}: {Paths}", territoryType, string.Join(", ", list)); + _candidateTextures = list.Select((string p) => _textureProvider.GetFromGame(p)).ToList(); + PollCandidates(); + return _resolvedTexture != null; + } + + private void PollCandidates() + { + if (_candidateTextures == null) + { + return; + } + foreach (ISharedImmediateTexture candidateTexture in _candidateTextures) + { + if (candidateTexture.GetWrapOrDefault() != null) + { + _resolvedTexture = candidateTexture; + _candidateTextures = null; + return; + } + } + _searchFrames++; + if (_searchFrames >= 120) + { + _logger.LogWarning("Map texture search timed out for territory {TerritoryType}, retrying in {Delay}s", _loadedTerritoryType, 30L); + _candidateTextures = null; + _retryAtMs = Environment.TickCount64 + 30000; + } + } + + public IDalamudTextureWrap? GetTextureWrap() + { + return _resolvedTexture?.GetWrapOrDefault(); + } + + public Vector2 WorldToUV(float worldX, float worldZ) + { + float num = (float)(int)_sizeFactor / 100f; + float x = (worldX * num + (float)_offsetX * num + 1024f) / 2048f; + float y = (worldZ * num + (float)_offsetY * num + 1024f) / 2048f; + return new Vector2(x, y); + } + + public Vector2 UVToWorld(float u, float v) + { + float num = (float)(int)_sizeFactor / 100f; + float x = (u * 2048f - 1024f - (float)_offsetX * num) / num; + float y = (v * 2048f - 1024f - (float)_offsetY * num) / num; + return new Vector2(x, y); + } + + public Vector2 WorldToScreen(float worldX, float worldZ, Vector2 imagePos, Vector2 imageSize) + { + Vector2 vector = WorldToUV(worldX, worldZ); + return imagePos + vector * imageSize; + } + + public Vector2 ScreenToWorld(Vector2 screenPos, Vector2 imagePos, Vector2 imageSize) + { + Vector2 vector = (screenPos - imagePos) / imageSize; + return UVToWorld(vector.X, vector.Y); + } +} diff --git a/LLib/LLib.ImGui/WindowConfig.cs b/LLib/LLib.ImGui/WindowConfig.cs index 4aa4e7f..acd18ca 100644 --- a/LLib/LLib.ImGui/WindowConfig.cs +++ b/LLib/LLib.ImGui/WindowConfig.cs @@ -1,5 +1,8 @@ +using System.Reflection; + namespace LLib.ImGui; +[Obfuscation(Feature = "-rename", Exclude = false, ApplyToMembers = true)] public class WindowConfig { public bool IsPinned { get; set; } diff --git a/LLib/LLib.ImGui/WindowFlash.cs b/LLib/LLib.ImGui/WindowFlash.cs new file mode 100644 index 0000000..551a787 --- /dev/null +++ b/LLib/LLib.ImGui/WindowFlash.cs @@ -0,0 +1,59 @@ +using System.CodeDom.Compiler; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace LLib.ImGui; + +public static class WindowFlash +{ + private struct FLASHWINFO + { + public uint cbSize; + + public nint hwnd; + + public uint dwFlags; + + public uint uCount; + + public uint dwTimeout; + } + + private const uint FLASHW_ALL = 3u; + + private const uint FLASHW_TIMERNOFG = 12u; + + [LibraryImport("user32.dll")] + [DefaultDllImportSearchPaths(DllImportSearchPath.System32)] + [GeneratedCode("Microsoft.Interop.LibraryImportGenerator", "10.0.14.37416")] + [SkipLocalsInit] + [return: MarshalAs(UnmanagedType.Bool)] + private unsafe static bool FlashWindowEx(ref FLASHWINFO pwfi) + { + int num; + fixed (FLASHWINFO* _pwfi_native = &pwfi) + { + num = __PInvoke(_pwfi_native); + } + return num != 0; + [DllImport("user32.dll", EntryPoint = "FlashWindowEx", ExactSpelling = true)] + [DefaultDllImportSearchPaths(DllImportSearchPath.System32)] + static extern unsafe int __PInvoke(FLASHWINFO* __pwfi_native); + } + + public static void Flash(nint hwnd, uint count = 3u) + { + if (hwnd != 0) + { + FLASHWINFO pwfi = new FLASHWINFO + { + cbSize = (uint)Marshal.SizeOf(), + hwnd = hwnd, + dwFlags = ((count == 0) ? 15u : 3u), + uCount = count, + dwTimeout = 0u + }; + FlashWindowEx(ref pwfi); + } + } +} diff --git a/LLib/LLib.Inventory/CofferHelper.cs b/LLib/LLib.Inventory/CofferHelper.cs new file mode 100644 index 0000000..0c68d66 --- /dev/null +++ b/LLib/LLib.Inventory/CofferHelper.cs @@ -0,0 +1,21 @@ +using Lumina.Excel.Sheets; + +namespace LLib.Inventory; + +public static class CofferHelper +{ + public static bool IsGearCoffer(Item item) + { + ItemAction? valueNullable = item.ItemAction.ValueNullable; + if (!valueNullable.HasValue) + { + return false; + } + uint rowId = valueNullable.Value.RowId; + if ((rowId == 388 || rowId == 1085) ? true : false) + { + return item.ItemUICategory.RowId == 61; + } + return false; + } +} diff --git a/LLib/LLib.Inventory/InventoryContainers.cs b/LLib/LLib.Inventory/InventoryContainers.cs new file mode 100644 index 0000000..4ab6e8a --- /dev/null +++ b/LLib/LLib.Inventory/InventoryContainers.cs @@ -0,0 +1,136 @@ +using System; +using System.Collections.Generic; +using FFXIVClientStructs.FFXIV.Client.Game; + +namespace LLib.Inventory; + +public static class InventoryContainers +{ + public static ReadOnlySpan Bags => new InventoryType[4] + { + InventoryType.Inventory1, + InventoryType.Inventory2, + InventoryType.Inventory3, + InventoryType.Inventory4 + }; + + public static ReadOnlySpan ArmouryMainHand => new InventoryType[1] { InventoryType.ArmoryMainHand }; + + public static ReadOnlySpan ArmouryOffHand => new InventoryType[1] { InventoryType.ArmoryOffHand }; + + public static ReadOnlySpan ArmouryLeftSide => new InventoryType[5] + { + InventoryType.ArmoryHead, + InventoryType.ArmoryBody, + InventoryType.ArmoryHands, + InventoryType.ArmoryLegs, + InventoryType.ArmoryFeets + }; + + public static ReadOnlySpan ArmouryRightSide => new InventoryType[4] + { + InventoryType.ArmoryEar, + InventoryType.ArmoryNeck, + InventoryType.ArmoryWrist, + InventoryType.ArmoryRings + }; + + public static ReadOnlySpan SaddleBag => new InventoryType[2] + { + InventoryType.SaddleBag1, + InventoryType.SaddleBag2 + }; + + public static ReadOnlySpan PremiumSaddleBag => new InventoryType[2] + { + InventoryType.PremiumSaddleBag1, + InventoryType.PremiumSaddleBag2 + }; + + public unsafe static int CountFreeSlots(ReadOnlySpan containers) + { + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return 0; + } + int num = 0; + ReadOnlySpan readOnlySpan = containers; + for (int i = 0; i < readOnlySpan.Length; i++) + { + InventoryType inventoryType = readOnlySpan[i]; + InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(inventoryType); + if (inventoryContainer == null) + { + continue; + } + for (int j = 0; j < inventoryContainer->Size; j++) + { + InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(j); + if (inventorySlot == null || inventorySlot->ItemId == 0) + { + num++; + } + } + } + return num; + } + + public unsafe static int CountItems(uint itemId, ReadOnlySpan containers) + { + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return 0; + } + int num = 0; + ReadOnlySpan readOnlySpan = containers; + for (int i = 0; i < readOnlySpan.Length; i++) + { + InventoryType inventoryType = readOnlySpan[i]; + InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(inventoryType); + if (inventoryContainer == null) + { + continue; + } + for (int j = 0; j < inventoryContainer->Size; j++) + { + InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(j); + if (inventorySlot != null && inventorySlot->ItemId == itemId) + { + num += inventorySlot->Quantity; + } + } + } + return num; + } + + public unsafe static List GetHqItems(ReadOnlySpan containers) + { + List list = new List(); + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return list; + } + ReadOnlySpan readOnlySpan = containers; + for (int i = 0; i < readOnlySpan.Length; i++) + { + InventoryType inventoryType = readOnlySpan[i]; + InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(inventoryType); + if (inventoryContainer == null) + { + continue; + } + for (int j = 0; j < inventoryContainer->Size; j++) + { + InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(j); + if (inventorySlot != null && inventorySlot->ItemId != 0 && (inventorySlot->Flags & InventoryItem.ItemFlags.HighQuality) != InventoryItem.ItemFlags.None) + { + list.Add(*inventorySlot); + } + } + } + return list; + } +} diff --git a/LLib/LLib.Inventory/InventoryHelper.cs b/LLib/LLib.Inventory/InventoryHelper.cs new file mode 100644 index 0000000..a14ce27 --- /dev/null +++ b/LLib/LLib.Inventory/InventoryHelper.cs @@ -0,0 +1,184 @@ +using System; +using FFXIVClientStructs.FFXIV.Client.Game; +using Lumina.Excel; +using Lumina.Excel.Sheets; + +namespace LLib.Inventory; + +public static class InventoryHelper +{ + public unsafe static int GetItemCount(uint itemId, bool checkEquipped = false, bool checkArmory = false) + { + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->GetInventoryItemCount(itemId, isHq: false, checkEquipped, checkArmory, 0) + ptr->GetInventoryItemCount(itemId, isHq: true, checkEquipped, checkArmory, 0); + } + + public unsafe static int GetItemCount(uint itemId, InventoryType inventoryType) + { + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return 0; + } + InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(inventoryType); + if (inventoryContainer == null) + { + return 0; + } + int num = 0; + for (int i = 0; i < inventoryContainer->Size; i++) + { + InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(i); + if (inventorySlot != null && inventorySlot->ItemId == itemId) + { + num += inventorySlot->Quantity; + } + } + return num; + } + + public static bool HasFreeInventorySlot() + { + return CountFreeInventorySlots() > 0; + } + + public unsafe static int CountFreeInventorySlots() + { + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return 0; + } + int num = 0; + for (InventoryType inventoryType = InventoryType.Inventory1; inventoryType <= InventoryType.Inventory4; inventoryType++) + { + InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(inventoryType); + if (inventoryContainer == null) + { + continue; + } + for (int i = 0; i < inventoryContainer->Size; i++) + { + InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(i); + if (inventorySlot == null || inventorySlot->ItemId == 0) + { + num++; + } + } + } + return num; + } + + public unsafe static int CountInventorySlotsWithCondition(uint itemId, Predicate predicate) + { + ArgumentNullException.ThrowIfNull(predicate, "predicate"); + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return 0; + } + int num = 0; + for (InventoryType inventoryType = InventoryType.Inventory1; inventoryType <= InventoryType.Inventory4; inventoryType++) + { + InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(inventoryType); + if (inventoryContainer == null) + { + continue; + } + for (int i = 0; i < inventoryContainer->Size; i++) + { + InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(i); + if (inventorySlot != null && inventorySlot->ItemId != 0 && inventorySlot->ItemId == itemId && predicate(inventorySlot->Quantity)) + { + num++; + } + } + } + return num; + } + + public static bool IsItemEquipped(uint itemId) + { + return GetEquippedItemSlot(itemId) >= 0; + } + + public unsafe static int GetEquippedItemSlot(uint itemId) + { + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return -1; + } + InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(InventoryType.EquippedItems); + if (inventoryContainer == null) + { + return -1; + } + for (int i = 0; i < inventoryContainer->Size; i++) + { + InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(i); + if (inventorySlot != null && inventorySlot->ItemId == itemId) + { + return i; + } + } + return -1; + } + + public unsafe static int GetRemainingStackCapacity(uint itemId, ExcelSheet itemSheet) + { + ArgumentNullException.ThrowIfNull(itemSheet, "itemSheet"); + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return 0; + } + int num = (int)(itemSheet.GetRowOrDefault(itemId)?.StackSize ?? 0); + if (num <= 1) + { + return 0; + } + int num2 = 0; + for (InventoryType inventoryType = InventoryType.Inventory1; inventoryType <= InventoryType.Inventory4; inventoryType++) + { + InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(inventoryType); + if (inventoryContainer == null) + { + continue; + } + for (int i = 0; i < inventoryContainer->Size; i++) + { + InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(i); + if (inventorySlot != null && inventorySlot->ItemId == itemId && (inventorySlot->Flags & InventoryItem.ItemFlags.HighQuality) == 0) + { + num2 += num - inventorySlot->Quantity; + } + } + } + return num2; + } + + public static int GetMaxHoldableQuantity(uint itemId, ExcelSheet itemSheet) + { + ArgumentNullException.ThrowIfNull(itemSheet, "itemSheet"); + Item? rowOrDefault = itemSheet.GetRowOrDefault(itemId); + if (!rowOrDefault.HasValue) + { + return 0; + } + if (rowOrDefault.Value.IsUnique) + { + return (GetItemCount(itemId, checkEquipped: true, checkArmory: true) <= 0) ? 1 : 0; + } + int stackSize = (int)rowOrDefault.Value.StackSize; + if (stackSize <= 0) + { + return 0; + } + return GetRemainingStackCapacity(itemId, itemSheet) + CountFreeInventorySlots() * stackSize; + } +} diff --git a/LLib/LLib.Inventory/ItemHandle.cs b/LLib/LLib.Inventory/ItemHandle.cs new file mode 100644 index 0000000..36f2d11 --- /dev/null +++ b/LLib/LLib.Inventory/ItemHandle.cs @@ -0,0 +1,99 @@ +using System; +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using Lumina.Excel.Sheets; + +namespace LLib.Inventory; + +public readonly record struct ItemHandle(uint RawId) +{ + public uint Id + { + get + { + if (RawId < 1000000) + { + return RawId; + } + return RawId % 1000000; + } + } + + public bool IsHq => RawId >= 1000000; + + private const uint HqThreshold = 1000000u; + + public static implicit operator ItemHandle(uint itemId) + { + return new ItemHandle(itemId); + } + + public static ItemHandle FromUInt32(uint itemId) + { + return new ItemHandle(itemId); + } + + public static implicit operator uint(ItemHandle handle) + { + return handle.Id; + } + + public uint ToUInt32() + { + return Id; + } + + public unsafe static ItemHandle FromInventorySlot(InventoryItem* slot) + { + if (slot == null) + { + return new ItemHandle(0u); + } + return new ItemHandle(slot->ItemId); + } + + public unsafe int GetCount(bool checkEquipped = false, bool checkArmory = false) + { + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->GetInventoryItemCount(Id, isHq: false, checkEquipped, checkArmory, 0) + ptr->GetInventoryItemCount(Id, isHq: true, checkEquipped, checkArmory, 0); + } + + public int GetCountInContainer(InventoryType container) + { + return InventoryHelper.GetItemCount(Id, container); + } + + public int CountInContainers(ReadOnlySpan containers) + { + return InventoryContainers.CountItems(Id, containers); + } + + public bool HasItem(bool checkEquipped = false, bool checkArmory = false) + { + return GetCount(checkEquipped, checkArmory) > 0; + } + + public bool IsEquipped() + { + return InventoryHelper.IsItemEquipped(Id); + } + + public int GetEquippedSlot() + { + return InventoryHelper.GetEquippedItemSlot(Id); + } + + public Item? GetRow(IDataManager dataManager) + { + return dataManager.GetExcelSheet().GetRowOrDefault(Id); + } + + public uint GetItemLevel(IDataManager dataManager) + { + return GetRow(dataManager)?.LevelItem.RowId ?? 0; + } +} diff --git a/LLib/LLib.Logging/DalamudLoggerProvider.cs b/LLib/LLib.Logging/DalamudLoggerProvider.cs new file mode 100644 index 0000000..710ab76 --- /dev/null +++ b/LLib/LLib.Logging/DalamudLoggerProvider.cs @@ -0,0 +1,160 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Text; +using Dalamud.Plugin.Services; +using Microsoft.Extensions.Logging; +using Serilog.Events; + +namespace LLib.Logging; + +public sealed class DalamudLoggerProvider : ILoggerProvider, IDisposable, ISupportExternalScope +{ + private sealed class DalamudLogger : ILogger + { + private sealed class NullScope : IDisposable + { + public static NullScope Instance { get; } = new NullScope(); + + private NullScope() + { + } + + public void Dispose() + { + } + } + + private readonly string? _name; + + private readonly DalamudLoggerProvider _provider; + + private readonly IPluginLog _pluginLog; + + private IExternalScopeProvider? ScopeProvider => _provider._scopeProvider; + + public DalamudLogger(string? name, DalamudLoggerProvider provider, IPluginLog pluginLog) + { + _name = name; + _provider = provider; + _pluginLog = pluginLog; + } + + public IDisposable BeginScope(TState state) where TState : notnull + { + return ScopeProvider?.Push(state) ?? NullScope.Instance; + } + + public bool IsEnabled(LogLevel logLevel) + { + if (logLevel == LogLevel.None) + { + return false; + } + return ToSerilogLevel(logLevel) >= _pluginLog.MinimumLogLevel; + } + + public void Log(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func formatter) + { + if (!IsEnabled(logLevel)) + { + return; + } + ArgumentNullException.ThrowIfNull(formatter, "formatter"); + LogEventLevel level = ToSerilogLevel(logLevel); + StringBuilder stringBuilder = new StringBuilder(); + ScopeProvider?.ForEachScope(delegate(object? scope, StringBuilder builder) + { + if (scope is IEnumerable> enumerable) + { + { + foreach (KeyValuePair item in enumerable) + { + builder.Append('<').Append(item.Key).Append('=') + .Append(item.Value) + .Append("> "); + } + return; + } + } + if (scope != null) + { + builder.Append('<').Append(scope).Append("> "); + } + }, stringBuilder); + if (!string.IsNullOrEmpty(_name)) + { + stringBuilder.Append(_name).Append(": "); + } + stringBuilder.Append(formatter(state, null)); + _pluginLog.Write(level, exception, stringBuilder.ToString()); + } + + private static LogEventLevel ToSerilogLevel(LogLevel logLevel) + { + return logLevel switch + { + LogLevel.Trace => LogEventLevel.Verbose, + LogLevel.Debug => LogEventLevel.Debug, + LogLevel.Information => LogEventLevel.Information, + LogLevel.Warning => LogEventLevel.Warning, + LogLevel.Error => LogEventLevel.Error, + LogLevel.Critical => LogEventLevel.Fatal, + _ => throw new ArgumentOutOfRangeException("logLevel", logLevel, null), + }; + } + } + + private readonly IPluginLog _pluginLog; + + private readonly Func _categoryNameFormatter; + + private IExternalScopeProvider? _scopeProvider; + + public DalamudLoggerProvider(IPluginLog pluginLog, Func? categoryNameFormatter = null) + { + ArgumentNullException.ThrowIfNull(pluginLog, "pluginLog"); + _pluginLog = pluginLog; + _categoryNameFormatter = categoryNameFormatter ?? ((Func)((string t) => t)); + } + + public ILogger CreateLogger(string categoryName) + { + string name = _categoryNameFormatter(categoryName); + if (LooksObfuscated(name)) + { + name = null; + } + return new DalamudLogger(name, this, _pluginLog); + } + + private static bool LooksObfuscated(string? name) + { + if (string.IsNullOrEmpty(name)) + { + return false; + } + foreach (char c in name) + { + if (char.IsControl(c)) + { + return true; + } + UnicodeCategory unicodeCategory = CharUnicodeInfo.GetUnicodeCategory(c); + if (((uint)(unicodeCategory - 15) <= 2u || unicodeCategory == UnicodeCategory.OtherNotAssigned) ? true : false) + { + return true; + } + } + return false; + } + + public void SetScopeProvider(IExternalScopeProvider scopeProvider) + { + _scopeProvider = scopeProvider; + } + + public void Dispose() + { + } +} diff --git a/LLib/LLib.Movement.Unstuck/DriveMode.cs b/LLib/LLib.Movement.Unstuck/DriveMode.cs new file mode 100644 index 0000000..e7efe88 --- /dev/null +++ b/LLib/LLib.Movement.Unstuck/DriveMode.cs @@ -0,0 +1,8 @@ +namespace LLib.Movement.Unstuck; + +public enum DriveMode +{ + Ground, + Airborne, + Diving +} diff --git a/LLib/LLib.Movement.Unstuck/IRecoveryRung.cs b/LLib/LLib.Movement.Unstuck/IRecoveryRung.cs new file mode 100644 index 0000000..922f5f8 --- /dev/null +++ b/LLib/LLib.Movement.Unstuck/IRecoveryRung.cs @@ -0,0 +1,10 @@ +namespace LLib.Movement.Unstuck; + +public interface IRecoveryRung +{ + string Name { get; } + + long CooldownMs { get; } + + bool CanRun(int attempt, long nowMs); +} diff --git a/LLib/LLib.Movement.Unstuck/RecoveryDecision.cs b/LLib/LLib.Movement.Unstuck/RecoveryDecision.cs new file mode 100644 index 0000000..c529871 --- /dev/null +++ b/LLib/LLib.Movement.Unstuck/RecoveryDecision.cs @@ -0,0 +1,3 @@ +namespace LLib.Movement.Unstuck; + +public readonly record struct RecoveryDecision(RecoveryDecisionKind Kind, IRecoveryRung? Rung, RecoveryExhaustion? Exhaustion); diff --git a/LLib/LLib.Movement.Unstuck/RecoveryDecisionKind.cs b/LLib/LLib.Movement.Unstuck/RecoveryDecisionKind.cs new file mode 100644 index 0000000..70ed979 --- /dev/null +++ b/LLib/LLib.Movement.Unstuck/RecoveryDecisionKind.cs @@ -0,0 +1,9 @@ +namespace LLib.Movement.Unstuck; + +public enum RecoveryDecisionKind +{ + None, + Observe, + Run, + Exhausted +} diff --git a/LLib/LLib.Movement.Unstuck/RecoveryExhaustion.cs b/LLib/LLib.Movement.Unstuck/RecoveryExhaustion.cs new file mode 100644 index 0000000..a78614c --- /dev/null +++ b/LLib/LLib.Movement.Unstuck/RecoveryExhaustion.cs @@ -0,0 +1,5 @@ +using System.Collections.Generic; + +namespace LLib.Movement.Unstuck; + +public sealed record RecoveryExhaustion(int Attempts, IReadOnlyList RungsFired, long FirstStallMs, long LastStallMs); diff --git a/LLib/LLib.Movement.Unstuck/RecoveryLadder.cs b/LLib/LLib.Movement.Unstuck/RecoveryLadder.cs new file mode 100644 index 0000000..6c80183 --- /dev/null +++ b/LLib/LLib.Movement.Unstuck/RecoveryLadder.cs @@ -0,0 +1,103 @@ +using System.Collections.Generic; +using System.Linq; + +namespace LLib.Movement.Unstuck; + +public sealed class RecoveryLadder +{ + private readonly IRecoveryRung[] _rungs; + + private readonly long[] _lastRunMs; + + private readonly bool[] _hasRun; + + private readonly List _rungsFired; + + private bool _hasRunAny; + + private long _lastRunAnyMs; + + private long _firstStallMs; + + private long _lastStallMs; + + public int Attempts { get; private set; } + + public bool IsExhausted { get; private set; } + + private int Cap => _003Coptions_003EP.Mode switch + { + RecoveryMode.Aggressive => _003Coptions_003EP.AggressiveCap, + RecoveryMode.Passive => _003Coptions_003EP.PassiveCap, + _ => _003Coptions_003EP.ConservativeCap, + }; + + public RecoveryLadder(RecoveryLadderOptions options, IReadOnlyList rungs) + { + _003Coptions_003EP = options; + _rungs = rungs.ToArray(); + _lastRunMs = new long[rungs.Count]; + _hasRun = new bool[rungs.Count]; + _rungsFired = new List(); + base._002Ector(); + } + + public RecoveryDecision OnStall(long nowMs) + { + if (IsExhausted) + { + return new RecoveryDecision(RecoveryDecisionKind.None, null, null); + } + if (Attempts >= Cap) + { + IsExhausted = true; + return new RecoveryDecision(RecoveryDecisionKind.Exhausted, null, new RecoveryExhaustion(Attempts, _rungsFired.ToArray(), _firstStallMs, _lastStallMs)); + } + if (_hasRunAny && nowMs - _lastRunAnyMs < _003Coptions_003EP.GlobalCooldownMs) + { + return new RecoveryDecision(RecoveryDecisionKind.None, null, null); + } + if (_003Coptions_003EP.Mode == RecoveryMode.Passive) + { + Consume(nowMs); + return new RecoveryDecision(RecoveryDecisionKind.Observe, null, null); + } + for (int i = 0; i < _rungs.Length; i++) + { + IRecoveryRung recoveryRung = _rungs[i]; + if ((!_hasRun[i] || nowMs - _lastRunMs[i] >= recoveryRung.CooldownMs) && recoveryRung.CanRun(Attempts + 1, nowMs)) + { + Consume(nowMs); + _rungsFired.Add(recoveryRung.Name); + _hasRun[i] = true; + _lastRunMs[i] = nowMs; + _hasRunAny = true; + _lastRunAnyMs = nowMs; + return new RecoveryDecision(RecoveryDecisionKind.Run, recoveryRung, null); + } + } + return new RecoveryDecision(RecoveryDecisionKind.None, null, null); + } + + public void Reset() + { + Attempts = 0; + IsExhausted = false; + _rungsFired.Clear(); + _hasRunAny = false; + for (int i = 0; i < _hasRun.Length; i++) + { + _hasRun[i] = false; + } + } + + private void Consume(long nowMs) + { + if (Attempts == 0) + { + _firstStallMs = nowMs; + } + Attempts++; + _lastStallMs = nowMs; + } +} diff --git a/LLib/LLib.Movement.Unstuck/RecoveryLadderOptions.cs b/LLib/LLib.Movement.Unstuck/RecoveryLadderOptions.cs new file mode 100644 index 0000000..303231d --- /dev/null +++ b/LLib/LLib.Movement.Unstuck/RecoveryLadderOptions.cs @@ -0,0 +1,14 @@ +namespace LLib.Movement.Unstuck; + +public sealed record RecoveryLadderOptions +{ + public RecoveryMode Mode { get; init; } = RecoveryMode.Conservative; + + public int AggressiveCap { get; init; } = 10; + + public int ConservativeCap { get; init; } = 5; + + public int PassiveCap { get; init; } = 2; + + public long GlobalCooldownMs { get; init; } = 3000L; +} diff --git a/LLib/LLib.Movement.Unstuck/RecoveryMode.cs b/LLib/LLib.Movement.Unstuck/RecoveryMode.cs new file mode 100644 index 0000000..b8d458d --- /dev/null +++ b/LLib/LLib.Movement.Unstuck/RecoveryMode.cs @@ -0,0 +1,8 @@ +namespace LLib.Movement.Unstuck; + +public enum RecoveryMode +{ + Aggressive, + Conservative, + Passive +} diff --git a/LLib/LLib.Movement.Unstuck/StallDetector.cs b/LLib/LLib.Movement.Unstuck/StallDetector.cs new file mode 100644 index 0000000..2fbe284 --- /dev/null +++ b/LLib/LLib.Movement.Unstuck/StallDetector.cs @@ -0,0 +1,121 @@ +using System; +using System.Numerics; + +namespace LLib.Movement.Unstuck; + +public sealed class StallDetector(StallDetectorOptions options) +{ + private bool _hasAnchor; + + private long _anchorMs; + + private Vector3 _anchorPosition; + + private DriveMode _anchorMode; + + private bool _anchorUsesProgress; + + private float _referenceBestDistance; + + private float _bestDistance; + + private long _lastDrivenMs; + + private long _cooldownUntilMs; + + public StallVerdict? Observe(in StallSample sample) + { + if (!sample.Driving) + { + return null; + } + bool flag = sample.Mode != DriveMode.Ground && sample.DistanceToTarget.HasValue; + if (!_hasAnchor || sample.TimestampMs - _lastDrivenMs > options.ContinuityGapMs || sample.Mode != _anchorMode || flag != _anchorUsesProgress) + { + Anchor(in sample, flag); + return null; + } + _lastDrivenMs = sample.TimestampMs; + if (!flag) + { + return ObserveDisplacement(in sample); + } + return ObserveProgress(in sample); + } + + public void Reset() + { + _hasAnchor = false; + _cooldownUntilMs = 0L; + } + + private StallVerdict? ObserveProgress(in StallSample sample) + { + float value = sample.DistanceToTarget.Value; + if (value < _bestDistance) + { + _bestDistance = value; + } + float num = _referenceBestDistance - _bestDistance; + if (num >= options.ProgressImprovementThreshold) + { + _referenceBestDistance = _bestDistance; + _anchorMs = sample.TimestampMs; + _anchorPosition = sample.Position; + return null; + } + long num2 = sample.TimestampMs - _anchorMs; + if (num2 >= options.ProgressWindowMs) + { + return Trip(in sample, num2, num); + } + return null; + } + + private StallVerdict? ObserveDisplacement(in StallSample sample) + { + float num = ((sample.Mode == DriveMode.Ground) ? DistanceXZ(_anchorPosition, sample.Position) : Vector3.Distance(_anchorPosition, sample.Position)); + if (num >= options.GroundDistanceThreshold) + { + _anchorMs = sample.TimestampMs; + _anchorPosition = sample.Position; + return null; + } + long num2 = sample.TimestampMs - _anchorMs; + if (num2 >= options.GroundWindowMs) + { + return Trip(in sample, num2, num); + } + return null; + } + + private StallVerdict? Trip(in StallSample sample, long elapsedMs, float measured) + { + bool num = sample.TimestampMs < _cooldownUntilMs; + Anchor(in sample, _anchorUsesProgress); + if (num) + { + return null; + } + _cooldownUntilMs = sample.TimestampMs + options.CooldownMs; + return new StallVerdict(elapsedMs, measured, sample.Mode); + } + + private void Anchor(in StallSample sample, bool usesProgress) + { + _hasAnchor = true; + _anchorMs = sample.TimestampMs; + _anchorPosition = sample.Position; + _anchorMode = sample.Mode; + _anchorUsesProgress = usesProgress; + _lastDrivenMs = sample.TimestampMs; + _referenceBestDistance = (_bestDistance = sample.DistanceToTarget.GetValueOrDefault()); + } + + private static float DistanceXZ(Vector3 a, Vector3 b) + { + float num = a.X - b.X; + float num2 = a.Z - b.Z; + return MathF.Sqrt(num * num + num2 * num2); + } +} diff --git a/LLib/LLib.Movement.Unstuck/StallDetectorOptions.cs b/LLib/LLib.Movement.Unstuck/StallDetectorOptions.cs new file mode 100644 index 0000000..46df34c --- /dev/null +++ b/LLib/LLib.Movement.Unstuck/StallDetectorOptions.cs @@ -0,0 +1,16 @@ +namespace LLib.Movement.Unstuck; + +public sealed record StallDetectorOptions +{ + public float GroundDistanceThreshold { get; init; } = 0.3f; + + public long GroundWindowMs { get; init; } = 500L; + + public float ProgressImprovementThreshold { get; init; } = 1f; + + public long ProgressWindowMs { get; init; } = 2000L; + + public long ContinuityGapMs { get; init; } = 250L; + + public long CooldownMs { get; init; } = 500L; +} diff --git a/LLib/LLib.Movement.Unstuck/StallSample.cs b/LLib/LLib.Movement.Unstuck/StallSample.cs new file mode 100644 index 0000000..9e1566c --- /dev/null +++ b/LLib/LLib.Movement.Unstuck/StallSample.cs @@ -0,0 +1,5 @@ +using System.Numerics; + +namespace LLib.Movement.Unstuck; + +public readonly record struct StallSample(long TimestampMs, Vector3 Position, DriveMode Mode, bool Driving, float? DistanceToTarget); diff --git a/LLib/LLib.Movement.Unstuck/StallVerdict.cs b/LLib/LLib.Movement.Unstuck/StallVerdict.cs new file mode 100644 index 0000000..0edcca4 --- /dev/null +++ b/LLib/LLib.Movement.Unstuck/StallVerdict.cs @@ -0,0 +1,3 @@ +namespace LLib.Movement.Unstuck; + +public readonly record struct StallVerdict(long WindowMs, float MovedDistance, DriveMode Mode); diff --git a/LLib/LLib.Movement/MovementOverrideHook.cs b/LLib/LLib.Movement/MovementOverrideHook.cs new file mode 100644 index 0000000..4355dda --- /dev/null +++ b/LLib/LLib.Movement/MovementOverrideHook.cs @@ -0,0 +1,589 @@ +using System; +using System.Numerics; +using System.Runtime.InteropServices; +using Dalamud.Game.ClientState.Objects.SubKinds; +using Dalamud.Game.ClientState.Statuses; +using Dalamud.Game.Config; +using Dalamud.Hooking; +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using FFXIVClientStructs.FFXIV.Client.Game.Control; +using FFXIVClientStructs.FFXIV.Client.Graphics.Render; +using FFXIVClientStructs.FFXIV.Common.Math; +using Microsoft.Extensions.Logging; + +namespace LLib.Movement; + +public sealed class MovementOverrideHook : IDisposable +{ + private unsafe delegate bool RMIWalkIsInputEnabledDelegate(void* self); + + private unsafe delegate void RMIWalkDelegate(void* self, float* sumLeft, float* sumForward, float* sumTurnLeft, byte* haveBackwardOrStrafe, byte* a6, byte bAdditiveUnk); + + private unsafe delegate void RMIFlyDelegate(void* self, PlayerMoveControllerFlyInput* result); + + private unsafe delegate byte MoveControlIsInputActiveDelegate(void* self, byte inputSourceFlags); + + private const float DefaultPrecision = 0.1f; + + private const float StallDistanceThreshold = 0.3f; + + private const long StallTimeThresholdMs = 500L; + + private const long StallCooldownMs = 500L; + + private const long StallContinuityGapMs = 250L; + + private const long UserInputFreshnessMs = 250L; + + private const float MisdirectionThresholdRad = (float)Math.PI / 4f; + + private static readonly uint[] MisdirectionStatusIds = new uint[4] { 1422u, 2936u, 3694u, 3909u }; + + private readonly ILogger _logger; + + private readonly IObjectTable _objectTable; + + private readonly IGameConfig _gameConfig; + + private RMIWalkIsInputEnabledDelegate? _isInputEnabled1; + + private RMIWalkIsInputEnabledDelegate? _isInputEnabled2; + + private Hook? _rmiWalkHook; + + private Hook? _rmiFlyHook; + + private Hook? _mcIsInputActiveHook; + + private unsafe float* _forcedMovementDirection; + + private bool? _forcedControlState; + + private System.Numerics.Vector3? _desiredDirection; + + private System.Numerics.Vector3? _desiredPosition; + + private System.Numerics.Vector3? _desiredFlyPosition; + + private System.Numerics.Vector3 _stallCheckPosition; + + private long _stallCheckStartMs; + + private long _stallCooldownUntilMs; + + private long _lastDriveMs; + + private float _flyStallBestDist; + + private long _flyStallImprovementMs; + + private long _flyStallCooldownUntilMs; + + private long _flyLastDriveMs; + + private bool _legacyMode; + + private long _lastUserInputAtMs; + + public Func? IsExternalPathfindingActive { get; set; } + + public bool IsAvailable { get; private set; } + + public bool IsActive { get; private set; } + + public bool UserInputDetected => Environment.TickCount64 - _lastUserInputAtMs < 250; + + public float Precision { get; set; } = 0.1f; + + public System.Numerics.Vector3? DesiredDirection + { + get + { + return _desiredDirection; + } + set + { + if (!(_desiredDirection == value)) + { + _desiredDirection = value; + if (value.HasValue) + { + _desiredPosition = null; + } + ResetStallTracking(); + } + } + } + + public System.Numerics.Vector3? DesiredPosition + { + get + { + return _desiredPosition; + } + set + { + if (!(_desiredPosition == value)) + { + _desiredPosition = value; + if (value.HasValue) + { + _desiredDirection = null; + } + ResetStallTracking(); + } + } + } + + public System.Numerics.Vector3? DesiredFlyPosition + { + get + { + return _desiredFlyPosition; + } + set + { + if (!(_desiredFlyPosition == value)) + { + _desiredFlyPosition = value; + ResetFlyStallTracking(); + } + } + } + + public MovementOverrideHook(ILogger logger, IObjectTable objectTable, IGameConfig gameConfig, ISigScanner sigScanner, IGameInteropProvider interop, bool enabled = true) + { + _logger = logger; + _objectTable = objectTable; + _gameConfig = gameConfig; + _gameConfig.UiControlChanged += OnGameConfigChanged; + UpdateLegacyMode(); + TryInstallHook(sigScanner, interop, enabled); + } + + private unsafe void TryInstallHook(ISigScanner sigScanner, IGameInteropProvider interop, bool enabled) + { + if (!enabled) + { + _logger.LogInformation("MovementOverrideHook is disabled - skipping hook install"); + IsAvailable = false; + return; + } + try + { + nint num = sigScanner.ScanText("E8 ?? ?? ?? ?? 84 C0 75 10 38 43 3C"); + _isInputEnabled1 = Marshal.GetDelegateForFunctionPointer(num); + nint num2 = sigScanner.ScanText("E8 ?? ?? ?? ?? 84 C0 75 03 88 47 3F"); + _isInputEnabled2 = Marshal.GetDelegateForFunctionPointer(num2); + _rmiWalkHook = interop.HookFromSignature("E8 ?? ?? ?? ?? 80 7B 3E 00 48 8D 3D", RMIWalkDetour); + _rmiWalkHook.Enable(); + _rmiFlyHook = interop.HookFromSignature("E8 ?? ?? ?? ?? 0F B6 0D ?? ?? ?? ?? B8", RMIFlyDetour); + _rmiFlyHook.Enable(); + IsAvailable = true; + _logger.LogInformation("MovementOverrideHook installed: RMIWalk=0x{Walk:X}, RMIFly=0x{Fly:X}, IsEnabled1=0x{E1:X}, IsEnabled2=0x{E2:X}", _rmiWalkHook.Address, _rmiFlyHook.Address, num, num2); + } + catch (Exception ex) + { + if (IsTrampolineExhaustion(ex)) + { + _logger.LogWarning(ex, "Failed to install MovementOverrideHook: the hook backend found the function but could not place a trampoline near it. That space fills up over repeated plugin reloads in one game session and is never returned - restart the game client to clear it. Fast movement override is unavailable until then - callers will fall back to navmesh."); + } + else + { + _logger.LogWarning(ex, "Failed to install MovementOverrideHook (signature scan or hook creation failed). Fast movement override is unavailable - callers will fall back to navmesh. This usually means the game was patched; update the plugin when a new version is available."); + } + IsAvailable = false; + _isInputEnabled1 = null; + _isInputEnabled2 = null; + _rmiWalkHook?.Dispose(); + _rmiWalkHook = null; + _rmiFlyHook?.Dispose(); + _rmiFlyHook = null; + return; + } + try + { + nint num3 = (nint)(_forcedMovementDirection = (float*)sigScanner.GetStaticAddressFromSig("F3 0F 11 0D ?? ?? ?? ?? 48 85 DB")); + _mcIsInputActiveHook = interop.HookFromSignature("E8 ?? ?? ?? ?? 84 C0 74 09 84 DB 74 1A", MCIsInputActiveDetour); + _mcIsInputActiveHook.Enable(); + _logger.LogInformation("MovementOverrideHook misdirection primitives installed: MCIsInputActive=0x{Mc:X}, ForcedMovementDirection=0x{Fmd:X}", _mcIsInputActiveHook.Address, num3); + } + catch (Exception exception) + { + _logger.LogWarning(exception, "Failed to install MovementOverrideHook misdirection primitives (MCIsInputActive / ForcedMovementDirection). Core movement override is still active; the detour will bail during misdirection mechanics rather than drive through the input rotation."); + _forcedMovementDirection = null; + _mcIsInputActiveHook?.Dispose(); + _mcIsInputActiveHook = null; + } + } + + private static bool IsTrampolineExhaustion(Exception ex) + { + if (!ex.Message.Contains("MemoryBuffer", StringComparison.Ordinal)) + { + return ex.Message.Contains("memory location", StringComparison.OrdinalIgnoreCase); + } + return true; + } + + private unsafe byte MCIsInputActiveDetour(void* self, byte inputSourceFlags) + { + if (_forcedControlState.HasValue) + { + return _forcedControlState.Value ? ((byte)1) : ((byte)0); + } + return _mcIsInputActiveHook.Original(self, inputSourceFlags); + } + + private unsafe void RMIFlyDetour(void* self, PlayerMoveControllerFlyInput* result) + { + _rmiFlyHook.Original(self, result); + bool flag = result->Forward != 0f || result->Left != 0f || result->Up != 0f; + if (flag) + { + _lastUserInputAtMs = Environment.TickCount64; + } + if (!IsAvailable || flag) + { + return; + } + Func? isExternalPathfindingActive = IsExternalPathfindingActive; + if (isExternalPathfindingActive != null && isExternalPathfindingActive()) + { + return; + } + IPlayerCharacter localPlayer = _objectTable.LocalPlayer; + if (localPlayer == null) + { + return; + } + System.Numerics.Vector3? desiredFlyPosition = _desiredFlyPosition; + if (!desiredFlyPosition.HasValue) + { + return; + } + System.Numerics.Vector3 valueOrDefault = desiredFlyPosition.GetValueOrDefault(); + System.Numerics.Vector3 position = localPlayer.Position; + System.Numerics.Vector3 vector = valueOrDefault - position; + float num = vector.X * vector.X + vector.Y * vector.Y + vector.Z * vector.Z; + if (num < Precision * Precision) + { + _desiredFlyPosition = null; + ResetFlyStallTracking(); + return; + } + float num3; + if (_legacyMode) + { + float? num2 = TryGetCameraAzimuth(); + if (!num2.HasValue) + { + return; + } + num3 = num2.Value + (float)Math.PI; + } + else + { + num3 = localPlayer.Rotation; + } + long tickCount = Environment.TickCount64; + if (tickCount >= _flyStallCooldownUntilMs) + { + float num4 = MathF.Sqrt(num); + if (_flyStallImprovementMs == 0L || tickCount - _flyLastDriveMs > 250 || num4 < _flyStallBestDist - 0.3f) + { + _flyStallBestDist = num4; + _flyStallImprovementMs = tickCount; + } + else if (tickCount - _flyStallImprovementMs >= 500) + { + _logger.LogDebug("MovementOverride fly watchdog tripped: no progress toward target ({Dist:F2}y away) within {Elapsed}ms, clearing", num4, tickCount - _flyStallImprovementMs); + _desiredFlyPosition = null; + ResetFlyStallTracking(); + _flyStallCooldownUntilMs = tickCount + 500; + return; + } + _flyLastDriveMs = tickCount; + float x = MathF.Atan2(vector.X, vector.Z) - num3; + result->Forward = MathF.Cos(x); + result->Left = MathF.Sin(x); + float x2 = MathF.Sqrt(vector.X * vector.X + vector.Z * vector.Z); + result->Up = MathF.Atan2(vector.Y, x2); + } + } + + private static bool PlayerHasMisdirection(IPlayerCharacter player) + { + StatusList statusList = player.StatusList; + for (int i = 0; i < statusList.Length; i++) + { + IStatus status = statusList[i]; + if (status == null) + { + continue; + } + uint statusId = status.StatusId; + for (int j = 0; j < MisdirectionStatusIds.Length; j++) + { + if (statusId == MisdirectionStatusIds[j]) + { + return true; + } + } + } + return false; + } + + private unsafe void RMIWalkDetour(void* self, float* sumLeft, float* sumForward, float* sumTurnLeft, byte* haveBackwardOrStrafe, byte* a6, byte bAdditiveUnk) + { + if (bAdditiveUnk == 0) + { + _forcedControlState = null; + } + _rmiWalkHook.Original(self, sumLeft, sumForward, sumTurnLeft, haveBackwardOrStrafe, a6, bAdditiveUnk); + if (bAdditiveUnk != 0) + { + return; + } + bool flag = *sumLeft != 0f || *sumForward != 0f; + if (flag) + { + _lastUserInputAtMs = Environment.TickCount64; + } + if (!IsAvailable) + { + IsActive = false; + return; + } + if (flag) + { + IsActive = false; + return; + } + Func? isExternalPathfindingActive = IsExternalPathfindingActive; + if (isExternalPathfindingActive != null && isExternalPathfindingActive()) + { + IsActive = false; + return; + } + if (_isInputEnabled1 == null || _isInputEnabled2 == null) + { + IsActive = false; + return; + } + if (!_isInputEnabled1(self) || !_isInputEnabled2(self)) + { + IsActive = false; + return; + } + IPlayerCharacter localPlayer = _objectTable.LocalPlayer; + if (localPlayer == null) + { + IsActive = false; + return; + } + System.Numerics.Vector3 position = localPlayer.Position; + System.Numerics.Vector3? vector = ComputeDesiredWorldDirection(position); + if (!vector.HasValue) + { + IsActive = false; + return; + } + long tickCount = Environment.TickCount64; + if (tickCount < _stallCooldownUntilMs) + { + IsActive = false; + return; + } + float referenceRotation; + if (_legacyMode) + { + float? num = TryGetCameraAzimuth(); + if (!num.HasValue) + { + IsActive = false; + return; + } + referenceRotation = num.Value + (float)Math.PI; + } + else + { + referenceRotation = localPlayer.Rotation; + } + var (num2, num3) = WorldToPlayerRelative(vector.Value, referenceRotation); + if (PlayerHasMisdirection(localPlayer)) + { + if (_forcedMovementDirection == null || _mcIsInputActiveHook == null) + { + IsActive = false; + return; + } + float num4 = MathF.Atan2(vector.Value.X, vector.Value.Z); + float forcedMovementDirection = *_forcedMovementDirection; + float num5; + for (num5 = num4 - forcedMovementDirection; num5 > (float)Math.PI; num5 -= (float)Math.PI * 2f) + { + } + for (; num5 < -(float)Math.PI; num5 += (float)Math.PI * 2f) + { + } + bool flag2 = MathF.Abs(num5) <= (float)Math.PI / 4f; + _forcedControlState = flag2; + if (!flag2) + { + *sumLeft = 0f; + *sumForward = 0f; + IsActive = false; + return; + } + } + if (_stallCheckStartMs == 0L || tickCount - _lastDriveMs > 250) + { + _stallCheckPosition = position; + _stallCheckStartMs = tickCount; + } + else if (tickCount - _stallCheckStartMs >= 500) + { + float num6 = position.X - _stallCheckPosition.X; + float num7 = position.Z - _stallCheckPosition.Z; + float num8 = num6 * num6 + num7 * num7; + if (num8 < 0.09f) + { + _logger.LogDebug("MovementOverride stall watchdog tripped: player moved {Dist:F2}y over {Elapsed}ms, clearing", MathF.Sqrt(num8), tickCount - _stallCheckStartMs); + _desiredDirection = null; + _desiredPosition = null; + ResetStallTracking(); + _stallCooldownUntilMs = tickCount + 500; + _forcedControlState = null; + IsActive = false; + return; + } + _stallCheckPosition = position; + _stallCheckStartMs = tickCount; + } + _lastDriveMs = tickCount; + *sumLeft = num2; + *sumForward = num3; + IsActive = true; + } + + private void OnGameConfigChanged(object? sender, ConfigChangeEvent evt) + { + UpdateLegacyMode(); + } + + private void UpdateLegacyMode() + { + uint value; + bool flag = _gameConfig.UiControl.TryGetUInt("MoveMode", out value) && value == 1; + if (flag != _legacyMode) + { + _legacyMode = flag; + _logger.LogInformation("Legacy movement mode is now {State}", flag ? "enabled" : "disabled"); + } + } + + private unsafe static float? TryGetCameraAzimuth() + { + CameraManager* ptr = CameraManager.Instance(); + if (ptr == null) + { + return null; + } + FFXIVClientStructs.FFXIV.Client.Game.Camera* activeCamera = ptr->GetActiveCamera(); + if (activeCamera == null) + { + return null; + } + FFXIVClientStructs.FFXIV.Client.Graphics.Render.Camera* renderCamera = activeCamera->SceneCamera.RenderCamera; + if (renderCamera == null) + { + return null; + } + FFXIVClientStructs.FFXIV.Common.Math.Matrix4x4 viewMatrix = renderCamera->ViewMatrix; + return MathF.Atan2(viewMatrix.M13, viewMatrix.M33); + } + + public void Reset() + { + _desiredDirection = null; + _desiredPosition = null; + _desiredFlyPosition = null; + ResetStallTracking(); + ResetFlyStallTracking(); + _stallCooldownUntilMs = 0L; + _flyStallCooldownUntilMs = 0L; + _forcedControlState = null; + IsActive = false; + } + + private void ResetStallTracking() + { + _stallCheckPosition = default(System.Numerics.Vector3); + _stallCheckStartMs = 0L; + _lastDriveMs = 0L; + } + + private void ResetFlyStallTracking() + { + _flyStallBestDist = 0f; + _flyStallImprovementMs = 0L; + _flyLastDriveMs = 0L; + } + + private System.Numerics.Vector3? ComputeDesiredWorldDirection(System.Numerics.Vector3 playerPosition) + { + System.Numerics.Vector3? desiredDirection = _desiredDirection; + if (desiredDirection.HasValue) + { + System.Numerics.Vector3 valueOrDefault = desiredDirection.GetValueOrDefault(); + float num = valueOrDefault.X * valueOrDefault.X + valueOrDefault.Z * valueOrDefault.Z; + if (num < 1E-08f) + { + return null; + } + float num2 = MathF.Sqrt(num); + return new System.Numerics.Vector3(valueOrDefault.X / num2, 0f, valueOrDefault.Z / num2); + } + desiredDirection = _desiredPosition; + if (desiredDirection.HasValue) + { + System.Numerics.Vector3 valueOrDefault2 = desiredDirection.GetValueOrDefault(); + float num3 = valueOrDefault2.X - playerPosition.X; + float num4 = valueOrDefault2.Z - playerPosition.Z; + float num5 = num3 * num3 + num4 * num4; + if (num5 < Precision * Precision) + { + _desiredPosition = null; + ResetStallTracking(); + return null; + } + float num6 = MathF.Sqrt(num5); + return new System.Numerics.Vector3(num3 / num6, 0f, num4 / num6); + } + return null; + } + + private static (float left, float forward) WorldToPlayerRelative(System.Numerics.Vector3 worldDir, float referenceRotation) + { + float num = MathF.Sin(referenceRotation); + float num2 = MathF.Cos(referenceRotation); + float item = worldDir.X * num + worldDir.Z * num2; + return (left: worldDir.X * num2 - worldDir.Z * num, forward: item); + } + + public void Dispose() + { + _gameConfig.UiControlChanged -= OnGameConfigChanged; + _mcIsInputActiveHook?.Disable(); + _mcIsInputActiveHook?.Dispose(); + _mcIsInputActiveHook = null; + _rmiFlyHook?.Disable(); + _rmiFlyHook?.Dispose(); + _rmiFlyHook = null; + _rmiWalkHook?.Disable(); + _rmiWalkHook?.Dispose(); + _rmiWalkHook = null; + } +} diff --git a/LLib/LLib.Movement/MovementSignatures.cs b/LLib/LLib.Movement/MovementSignatures.cs new file mode 100644 index 0000000..afb5351 --- /dev/null +++ b/LLib/LLib.Movement/MovementSignatures.cs @@ -0,0 +1,16 @@ +namespace LLib.Movement; + +internal static class MovementSignatures +{ + internal const string RmiWalk = "E8 ?? ?? ?? ?? 80 7B 3E 00 48 8D 3D"; + + internal const string RmiWalkIsInputEnabled1 = "E8 ?? ?? ?? ?? 84 C0 75 10 38 43 3C"; + + internal const string RmiWalkIsInputEnabled2 = "E8 ?? ?? ?? ?? 84 C0 75 03 88 47 3F"; + + internal const string MoveControlIsInputActive = "E8 ?? ?? ?? ?? 84 C0 74 09 84 DB 74 1A"; + + internal const string ForcedMovementDirection = "F3 0F 11 0D ?? ?? ?? ?? 48 85 DB"; + + internal const string RmiFly = "E8 ?? ?? ?? ?? 0F B6 0D ?? ?? ?? ?? B8"; +} diff --git a/LLib/LLib.Movement/PlayerMoveControllerFlyInput.cs b/LLib/LLib.Movement/PlayerMoveControllerFlyInput.cs new file mode 100644 index 0000000..79bbb7c --- /dev/null +++ b/LLib/LLib.Movement/PlayerMoveControllerFlyInput.cs @@ -0,0 +1,28 @@ +using System.Runtime.InteropServices; + +namespace LLib.Movement; + +[StructLayout(LayoutKind.Explicit, Size = 24)] +internal struct PlayerMoveControllerFlyInput +{ + [FieldOffset(0)] + public float Forward; + + [FieldOffset(4)] + public float Left; + + [FieldOffset(8)] + public float Up; + + [FieldOffset(12)] + public float Turn; + + [FieldOffset(16)] + public float Unknown10; + + [FieldOffset(20)] + public byte DirMode; + + [FieldOffset(21)] + public byte HaveBackwardOrStrafe; +} diff --git a/LLib/LLib.Notifications/OutOfGameNotifier.cs b/LLib/LLib.Notifications/OutOfGameNotifier.cs new file mode 100644 index 0000000..a1dcab2 --- /dev/null +++ b/LLib/LLib.Notifications/OutOfGameNotifier.cs @@ -0,0 +1,291 @@ +using System; +using System.IO; +using System.Runtime.InteropServices; +using FFXIVClientStructs.FFXIV.Client.Graphics.Kernel; +using LLib.ImGui; +using Microsoft.Extensions.Logging; + +namespace LLib.Notifications; + +public sealed class OutOfGameNotifier : IDisposable +{ + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] + private struct NOTIFYICONDATA + { + public uint cbSize; + + public nint hWnd; + + public uint uID; + + public uint uFlags; + + public uint uCallbackMessage; + + public nint hIcon; + + [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)] + public string szTip; + + public uint dwState; + + public uint dwStateMask; + + [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)] + public string szInfo; + + public uint uTimeoutOrVersion; + + [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 64)] + public string szInfoTitle; + + public uint dwInfoFlags; + + public Guid guidItem; + + public nint hBalloonIcon; + } + + private static class NativeMethods + { + [DllImport("user32.dll")] + [DefaultDllImportSearchPaths(DllImportSearchPath.System32)] + public static extern nint GetForegroundWindow(); + + [DllImport("user32.dll")] + [DefaultDllImportSearchPaths(DllImportSearchPath.System32)] + [return: MarshalAs(UnmanagedType.Bool)] + public static extern bool MessageBeep(uint uType); + + [DllImport("winmm.dll", CharSet = CharSet.Unicode, EntryPoint = "PlaySoundW")] + [DefaultDllImportSearchPaths(DllImportSearchPath.System32)] + [return: MarshalAs(UnmanagedType.Bool)] + public static extern bool PlaySound(string? pszSound, nint hmod, uint fdwSound); + + [DllImport("user32.dll", CharSet = CharSet.Auto)] + [DefaultDllImportSearchPaths(DllImportSearchPath.System32)] + public static extern nint SendMessage(nint hWnd, uint msg, nint wParam, nint lParam); + + [DllImport("user32.dll", EntryPoint = "GetClassLongPtrW")] + [DefaultDllImportSearchPaths(DllImportSearchPath.System32)] + public static extern nint GetClassLongPtr(nint hWnd, int nIndex); + + [DllImport("user32.dll", EntryPoint = "LoadIconW")] + [DefaultDllImportSearchPaths(DllImportSearchPath.System32)] + public static extern nint LoadIcon(nint hInstance, nint lpIconName); + + [DllImport("shell32.dll", CharSet = CharSet.Unicode)] + [DefaultDllImportSearchPaths(DllImportSearchPath.System32)] + [return: MarshalAs(UnmanagedType.Bool)] + public static extern bool Shell_NotifyIcon(uint dwMessage, ref NOTIFYICONDATA lpData); + } + + private const uint NIM_ADD = 0u; + + private const uint NIM_MODIFY = 1u; + + private const uint NIM_DELETE = 2u; + + private const uint NIM_SETVERSION = 4u; + + private const uint NIF_ICON = 2u; + + private const uint NIF_TIP = 4u; + + private const uint NIF_INFO = 16u; + + private const uint NIIF_INFO = 1u; + + private const uint NOTIFYICON_VERSION_4 = 4u; + + private const uint MB_ICONASTERISK = 64u; + + private const uint SND_ASYNC = 1u; + + private const uint SND_NODEFAULT = 2u; + + private const uint SND_FILENAME = 131072u; + + private const uint WM_GETICON = 127u; + + private const nint ICON_SMALL = 0; + + private const nint ICON_BIG = 1; + + private const int GCLP_HICON = -14; + + private const int GCLP_HICONSM = -34; + + private const nint IDI_APPLICATION = 32512; + + private const uint TrayIconId = 176u; + + private readonly ILogger _logger; + + private bool _trayIconRegistered; + + private nint _trayHWnd; + + private bool _disposed; + + private unsafe static nint GameWindowHandle + { + get + { + Device* ptr = Device.Instance(); + if (ptr == null) + { + return 0; + } + return (nint)ptr->hWnd; + } + } + + public bool IsGameForeground + { + get + { + nint gameWindowHandle = GameWindowHandle; + if (gameWindowHandle != 0) + { + return NativeMethods.GetForegroundWindow() == gameWindowHandle; + } + return false; + } + } + + public OutOfGameNotifier(ILogger logger) + { + _logger = logger; + } + + public void FlashTaskbar() + { + WindowFlash.Flash(GameWindowHandle, 0u); + } + + public void PlayAlertSound(string? wavPath) + { + if (!string.IsNullOrEmpty(wavPath) && File.Exists(wavPath)) + { + if (NativeMethods.PlaySound(wavPath, 0, 131075u)) + { + return; + } + _logger.LogTrace("PlaySound failed for {Path}, falling back to beep", wavPath); + } + if (!NativeMethods.MessageBeep(64u)) + { + _logger.LogTrace("MessageBeep returned false"); + } + } + + public void ShowTrayNotification(string title, string message) + { + nint gameWindowHandle = GameWindowHandle; + if (gameWindowHandle == 0) + { + _logger.LogWarning("Cannot show tray notification - game window handle not available"); + return; + } + try + { + if (!_trayIconRegistered) + { + nint num = GetGameIcon(gameWindowHandle); + if (num == 0) + { + num = NativeMethods.LoadIcon(0, 32512); + } + NOTIFYICONDATA lpData = new NOTIFYICONDATA + { + cbSize = (uint)Marshal.SizeOf(), + hWnd = gameWindowHandle, + uID = 176u, + uFlags = 6u, + hIcon = num, + szTip = Truncate(title, 127) + }; + if (!NativeMethods.Shell_NotifyIcon(0u, ref lpData)) + { + _logger.LogWarning("Shell_NotifyIcon(NIM_ADD) failed"); + return; + } + NOTIFYICONDATA lpData2 = new NOTIFYICONDATA + { + cbSize = (uint)Marshal.SizeOf(), + hWnd = gameWindowHandle, + uID = 176u, + uTimeoutOrVersion = 4u + }; + NativeMethods.Shell_NotifyIcon(4u, ref lpData2); + _trayHWnd = gameWindowHandle; + _trayIconRegistered = true; + } + NOTIFYICONDATA lpData3 = new NOTIFYICONDATA + { + cbSize = (uint)Marshal.SizeOf(), + hWnd = _trayHWnd, + uID = 176u, + uFlags = 16u, + szInfoTitle = Truncate(title, 63), + szInfo = Truncate(message, 255), + dwInfoFlags = 1u + }; + if (!NativeMethods.Shell_NotifyIcon(1u, ref lpData3)) + { + _logger.LogWarning("Shell_NotifyIcon(NIM_MODIFY) failed"); + } + } + catch (Exception exception) + { + _logger.LogError(exception, "Failed to show tray notification"); + } + } + + private static nint GetGameIcon(nint hWnd) + { + nint num = NativeMethods.SendMessage(hWnd, 127u, 1, 0); + if (num == 0) + { + num = NativeMethods.SendMessage(hWnd, 127u, 0, 0); + } + if (num == 0) + { + num = NativeMethods.GetClassLongPtr(hWnd, -14); + } + if (num == 0) + { + num = NativeMethods.GetClassLongPtr(hWnd, -34); + } + return num; + } + + private static string Truncate(string value, int maxChars) + { + if (value.Length > maxChars) + { + return value.Substring(0, maxChars); + } + return value; + } + + public void Dispose() + { + if (!_disposed) + { + _disposed = true; + if (_trayIconRegistered) + { + NOTIFYICONDATA lpData = new NOTIFYICONDATA + { + cbSize = (uint)Marshal.SizeOf(), + hWnd = _trayHWnd, + uID = 176u + }; + NativeMethods.Shell_NotifyIcon(2u, ref lpData); + _trayIconRegistered = false; + } + } + } +} diff --git a/LLib/LLib.Notifications/WindowsSounds.cs b/LLib/LLib.Notifications/WindowsSounds.cs new file mode 100644 index 0000000..a041454 --- /dev/null +++ b/LLib/LLib.Notifications/WindowsSounds.cs @@ -0,0 +1,43 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; + +namespace LLib.Notifications; + +public static class WindowsSounds +{ + public static string MediaDirectory => Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Windows), "Media"); + + public static IReadOnlyList ListWavFileNames() + { + try + { + if (!Directory.Exists(MediaDirectory)) + { + return Array.Empty(); + } + return Directory.EnumerateFiles(MediaDirectory, "*.wav").Select(Path.GetFileName).OfType() + .OrderBy((string x) => x, StringComparer.OrdinalIgnoreCase) + .ToArray(); + } + catch (Exception) + { + return Array.Empty(); + } + } + + public static string? ResolvePath(string? fileName) + { + if (string.IsNullOrEmpty(fileName)) + { + return null; + } + string text = Path.Combine(MediaDirectory, fileName); + if (!File.Exists(text)) + { + return null; + } + return text; + } +} diff --git a/LLib/LLib.Shop.Model/EShopType.cs b/LLib/LLib.Shop.Model/EShopType.cs new file mode 100644 index 0000000..4ac6e25 --- /dev/null +++ b/LLib/LLib.Shop.Model/EShopType.cs @@ -0,0 +1,8 @@ +namespace LLib.Shop.Model; + +public enum EShopType : byte +{ + GilShop, + SpecialShop, + GCShop +} diff --git a/LLib/LLib.Shop.Model/ItemForSale.cs b/LLib/LLib.Shop.Model/ItemForSale.cs index a444f33..6a87e87 100644 --- a/LLib/LLib.Shop.Model/ItemForSale.cs +++ b/LLib/LLib.Shop.Model/ItemForSale.cs @@ -1,6 +1,8 @@ +using System; + namespace LLib.Shop.Model; -public sealed class ItemForSale +public sealed class ItemForSale : IEquatable { public required int Position { get; init; } @@ -10,5 +12,34 @@ public sealed class ItemForSale public required uint Price { get; init; } + public required uint CurrencyItemId { get; init; } + public required uint OwnedItems { get; init; } + + public bool Equals(ItemForSale? other) + { + if (other == null) + { + return false; + } + if (this == other) + { + return true; + } + if (Position == other.Position && ItemId == other.ItemId && Price == other.Price && CurrencyItemId == other.CurrencyItemId) + { + return OwnedItems == other.OwnedItems; + } + return false; + } + + public override bool Equals(object? obj) + { + return Equals(obj as ItemForSale); + } + + public override int GetHashCode() + { + return HashCode.Combine(Position, ItemId, Price, CurrencyItemId, OwnedItems); + } } diff --git a/LLib/LLib.Shop.Model/PurchaseState.cs b/LLib/LLib.Shop.Model/PurchaseState.cs index c146e24..2c43154 100644 --- a/LLib/LLib.Shop.Model/PurchaseState.cs +++ b/LLib/LLib.Shop.Model/PurchaseState.cs @@ -8,17 +8,20 @@ public sealed class PurchaseState public int OwnedItems { get; set; } + public int InitialOwnedItems { get; } + public int ItemsLeftToBuy => Math.Max(0, DesiredItems - OwnedItems); public bool IsComplete => ItemsLeftToBuy == 0; public bool IsAwaitingYesNo { get; set; } - public DateTime NextStep { get; set; } = DateTime.MinValue; + public long NextStepMs { get; set; } public PurchaseState(int desiredItems, int ownedItems) { DesiredItems = desiredItems; OwnedItems = ownedItems; + InitialOwnedItems = ownedItems; } } diff --git a/LLib/LLib.Shop.Model/ShopSearchResult.cs b/LLib/LLib.Shop.Model/ShopSearchResult.cs new file mode 100644 index 0000000..634ab41 --- /dev/null +++ b/LLib/LLib.Shop.Model/ShopSearchResult.cs @@ -0,0 +1,5 @@ +using System.Numerics; + +namespace LLib.Shop.Model; + +public sealed record ShopSearchResult(uint ShopId, uint NpcId, ushort TerritoryId, Vector3 NpcPosition, EShopType ShopType, uint Price, uint CurrencyItemId, int DialogOptionIndex = 0); diff --git a/LLib/LLib.Shop.Searchers/GCShopSearcher.cs b/LLib/LLib.Shop.Searchers/GCShopSearcher.cs new file mode 100644 index 0000000..2bc5472 --- /dev/null +++ b/LLib/LLib.Shop.Searchers/GCShopSearcher.cs @@ -0,0 +1,100 @@ +using System.Collections.Generic; +using System.Numerics; +using Dalamud.Plugin.Services; +using LLib.Shop.Model; +using Lumina.Excel; +using Lumina.Excel.Sheets; + +namespace LLib.Shop.Searchers; + +internal sealed class GCShopSearcher +{ + private static readonly uint[] SealItemIds = new uint[4] { 0u, 20u, 21u, 22u }; + + private static readonly uint[] QuartermasterNpcIds = new uint[4] { 0u, 1003251u, 1000394u, 1004416u }; + + private readonly IDataManager _dataManager; + + private readonly NpcPositionCache _positionCache; + + public GCShopSearcher(IDataManager dataManager, NpcPositionCache positionCache) + { + _dataManager = dataManager; + _positionCache = positionCache; + } + + public List Search(uint itemId) + { + List list = new List(); + SubrowExcelSheet subrowExcelSheet = _dataManager.GetSubrowExcelSheet(); + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + ExcelSheet excelSheet2 = _dataManager.GetExcelSheet(); + Dictionary dictionary = new Dictionary(); + foreach (GCShop item in excelSheet2) + { + uint rowId = item.GrandCompany.RowId; + if (rowId != 0) + { + dictionary.TryAdd(rowId, item.RowId); + } + } + Dictionary dictionary2 = new Dictionary(); + foreach (SubrowCollection item2 in subrowExcelSheet) + { + uint rowId2 = item2.RowId; + for (int i = 0; i < item2.Count; i++) + { + GCScripShopItem gCScripShopItem = item2[i]; + if (gCScripShopItem.Item.RowId != itemId) + { + continue; + } + uint costGCSeals = gCScripShopItem.CostGCSeals; + if (!excelSheet.TryGetRow(rowId2, out var row)) + { + continue; + } + uint rowId3 = row.GrandCompany.RowId; + uint value2; + if (rowId3 == 0) + { + for (uint num = 1u; num < (uint)QuartermasterNpcIds.Length; num++) + { + if (!dictionary2.TryGetValue(num, out var value) || costGCSeals < value) + { + dictionary2[num] = costGCSeals; + } + } + } + else if (!dictionary2.TryGetValue(rowId3, out value2) || costGCSeals < value2) + { + dictionary2[rowId3] = costGCSeals; + } + } + } + if (dictionary2.Count == 0) + { + return list; + } + foreach (var (num4, price) in dictionary2) + { + if (num4 >= (uint)QuartermasterNpcIds.Length) + { + continue; + } + uint num5 = QuartermasterNpcIds[num4]; + if (num5 != 0) + { + uint currencyItemId = ((num4 < (uint)SealItemIds.Length) ? SealItemIds[num4] : 0u); + (ushort, Vector3)? position = _positionCache.GetPosition(num5); + if (position.HasValue) + { + (ushort, Vector3) valueOrDefault = position.GetValueOrDefault(); + dictionary.TryGetValue(num4, out var value3); + list.Add(new ShopSearchResult(value3, num5, valueOrDefault.Item1, valueOrDefault.Item2, EShopType.GCShop, price, currencyItemId)); + } + } + } + return list; + } +} diff --git a/LLib/LLib.Shop.Searchers/GilShopSearcher.cs b/LLib/LLib.Shop.Searchers/GilShopSearcher.cs new file mode 100644 index 0000000..10d8ff7 --- /dev/null +++ b/LLib/LLib.Shop.Searchers/GilShopSearcher.cs @@ -0,0 +1,75 @@ +using System.Collections.Generic; +using System.Numerics; +using Dalamud.Plugin.Services; +using LLib.Shop.Model; +using Lumina.Excel; +using Lumina.Excel.Sheets; + +namespace LLib.Shop.Searchers; + +internal sealed class GilShopSearcher +{ + private readonly IDataManager _dataManager; + + private readonly NpcPositionCache _positionCache; + + public GilShopSearcher(IDataManager dataManager, NpcPositionCache positionCache) + { + _dataManager = dataManager; + _positionCache = positionCache; + } + + public List Search(uint itemId) + { + List list = new List(); + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + SubrowExcelSheet subrowExcelSheet = _dataManager.GetSubrowExcelSheet(); + if (!_dataManager.GetExcelSheet().TryGetRow(itemId, out var row)) + { + return list; + } + uint priceMid = row.PriceMid; + foreach (ENpcBase item in excelSheet) + { + if (item.RowId == 0) + { + continue; + } + (ushort, Vector3)? position = _positionCache.GetPosition(item.RowId); + if (!position.HasValue) + { + continue; + } + (ushort, Vector3) valueOrDefault = position.GetValueOrDefault(); + int num = 0; + foreach (RowRef eNpcDatum in item.ENpcData) + { + if (eNpcDatum.RowId >> 16 != 4) + { + continue; + } + uint rowId = eNpcDatum.RowId; + if (!subrowExcelSheet.TryGetRow(rowId, out var row2)) + { + num++; + continue; + } + bool flag = false; + for (int i = 0; i < row2.Count; i++) + { + if (row2[i].Item.RowId == itemId) + { + flag = true; + break; + } + } + if (flag) + { + list.Add(new ShopSearchResult(rowId, item.RowId, valueOrDefault.Item1, valueOrDefault.Item2, EShopType.GilShop, priceMid, 1u, num)); + } + num++; + } + } + return list; + } +} diff --git a/LLib/LLib.Shop.Searchers/SpecialShopSearcher.cs b/LLib/LLib.Shop.Searchers/SpecialShopSearcher.cs new file mode 100644 index 0000000..0020310 --- /dev/null +++ b/LLib/LLib.Shop.Searchers/SpecialShopSearcher.cs @@ -0,0 +1,130 @@ +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using Dalamud.Plugin.Services; +using LLib.Shop.Model; +using Lumina.Excel; +using Lumina.Excel.Sheets; + +namespace LLib.Shop.Searchers; + +internal sealed class SpecialShopSearcher +{ + private const uint SpecialShopHandlerType = 27u; + + private static readonly Dictionary SpecialCurrencies = new Dictionary + { + { 1u, 28u }, + { 2u, 33913u }, + { 4u, 33914u }, + { 6u, 41784u }, + { 7u, 41785u } + }; + + private readonly IDataManager _dataManager; + + private readonly NpcPositionCache _positionCache; + + private readonly uint[] _tomestoneItemIds; + + public SpecialShopSearcher(IDataManager dataManager, NpcPositionCache positionCache) + { + _dataManager = dataManager; + _positionCache = positionCache; + _tomestoneItemIds = (from t in dataManager.GetExcelSheet() + where t.Tomestones.RowId != 0 + orderby t.Tomestones.RowId + select t.Item.RowId).ToArray(); + } + + public List Search(uint itemId) + { + List list = new List(); + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + ExcelSheet excelSheet2 = _dataManager.GetExcelSheet(); + foreach (ENpcBase item in excelSheet) + { + if (item.RowId == 0) + { + continue; + } + (ushort, Vector3)? position = _positionCache.GetPosition(item.RowId); + if (!position.HasValue) + { + continue; + } + (ushort, Vector3) valueOrDefault = position.GetValueOrDefault(); + int num = 0; + foreach (RowRef eNpcDatum in item.ENpcData) + { + if (eNpcDatum.RowId >> 16 != 27) + { + continue; + } + uint rowId = eNpcDatum.RowId; + if (!excelSheet2.TryGetRow(rowId, out var row)) + { + num++; + continue; + } + bool flag = false; + uint currencyItemId = 0u; + uint price = 0u; + for (int i = 0; i < row.Item.Count; i++) + { + SpecialShop.ItemStruct itemStruct = row.Item[i]; + for (int j = 0; j < itemStruct.ReceiveItems.Count; j++) + { + if (itemStruct.ReceiveItems[j].Item.RowId != itemId) + { + continue; + } + flag = true; + for (int k = 0; k < itemStruct.ItemCosts.Count; k++) + { + SpecialShop.ItemStruct.ItemCostsStruct itemCostsStruct = itemStruct.ItemCosts[k]; + if (itemCostsStruct.ItemCost.RowId != 0) + { + currencyItemId = ConvertCurrencyItemId(itemCostsStruct.ItemCost.RowId, in row); + price = itemCostsStruct.CurrencyCost; + break; + } + } + break; + } + if (flag) + { + break; + } + } + if (flag) + { + list.Add(new ShopSearchResult(rowId, item.RowId, valueOrDefault.Item1, valueOrDefault.Item2, EShopType.SpecialShop, price, currencyItemId, num)); + } + num++; + } + } + return list; + } + + private uint ConvertCurrencyItemId(uint costItemId, in SpecialShop shop) + { + if (costItemId == 0 || costItemId >= 8) + { + return costItemId; + } + ushort num = shop.UseCurrencyType; + uint rowId = shop.RowId; + if (rowId - 1770637 <= 1) + { + num = 16; + } + return num switch + { + 16 => SpecialCurrencies.GetValueOrDefault(costItemId, costItemId), + 8 => 1u, + 4 => (costItemId <= _tomestoneItemIds.Length) ? _tomestoneItemIds[costItemId - 1] : costItemId, + _ => costItemId, + }; + } +} diff --git a/LLib/LLib.Shop/GcSupplyActions.cs b/LLib/LLib.Shop/GcSupplyActions.cs new file mode 100644 index 0000000..afd62c5 --- /dev/null +++ b/LLib/LLib.Shop/GcSupplyActions.cs @@ -0,0 +1,333 @@ +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Component.GUI; +using LLib.GameData; +using LLib.GameUI; +using Lumina.Excel.Sheets; + +namespace LLib.Shop; + +public static class GcSupplyActions +{ + private const string SelectStringAddon = "SelectString"; + + private const string SupplyListAddon = "GrandCompanySupplyList"; + + private const string SupplyRewardAddon = "GrandCompanySupplyReward"; + + private const string SelectYesnoAddon = "SelectYesno"; + + private const int ListRowSealRewardBase = 265; + + private const int ListRowItemIdBase = 425; + + public const int MaxListRows = 40; + + public unsafe static bool IsSelectStringReady(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("SelectString", out var addonPtr)) + { + return false; + } + return LAddon.IsAddonReady(addonPtr); + } + + public unsafe static bool TrySelectStringOption(IGameGui gameGui, int index) + { + if (!gameGui.TryGetAddonByName("SelectString", out var addonPtr)) + { + return false; + } + if (!LAddon.IsAddonReady(addonPtr)) + { + return false; + } + AddonCallback.Fire(addonPtr, index); + return true; + } + + public unsafe static bool TryCloseSelectString(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("SelectString", out var addonPtr)) + { + return false; + } + AddonCallback.Fire(addonPtr, -1); + return true; + } + + public unsafe static bool IsSupplyListReady(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("GrandCompanySupplyList", out var addonPtr)) + { + return false; + } + return LAddon.IsAddonReady(addonPtr); + } + + public unsafe static bool TrySwitchToExpertTab(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("GrandCompanySupplyList", out var addonPtr)) + { + return false; + } + if (!LAddon.IsAddonReady(addonPtr)) + { + return false; + } + AddonCallback.Fire(addonPtr, 0, 2, 0); + return true; + } + + private unsafe static bool IsListLoaded(AtkUnitBase* addon) + { + AtkValue atkValues = *addon->AtkValues; + return atkValues.Type switch + { + AtkValueType.UInt => atkValues.UInt == 2, + AtkValueType.Int => atkValues.Int == 2, + _ => false, + }; + } + + private unsafe static bool IsExpertTab(AtkUnitBase* addon) + { + AtkValue atkValue = addon->AtkValues[5]; + return atkValue.Type switch + { + AtkValueType.UInt => atkValue.UInt == 2, + AtkValueType.Int => atkValue.Int == 2, + _ => false, + }; + } + + public unsafe static bool IsExpertTabActive(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("GrandCompanySupplyList", out var addonPtr)) + { + return false; + } + if (!LAddon.IsAddonReady(addonPtr)) + { + return false; + } + if (addonPtr->AtkValues == null || addonPtr->AtkValuesCount < 7) + { + return false; + } + return IsExpertTab(addonPtr); + } + + public unsafe static int GetListItemCount(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("GrandCompanySupplyList", out var addonPtr)) + { + return -1; + } + if (!LAddon.IsAddonReady(addonPtr)) + { + return -1; + } + if (addonPtr->AtkValues == null || addonPtr->AtkValuesCount < 7) + { + return -1; + } + if (!IsListLoaded(addonPtr) || !IsExpertTab(addonPtr)) + { + return -1; + } + AtkValue atkValue = addonPtr->AtkValues[6]; + if (atkValue.Type == AtkValueType.Int) + { + return atkValue.Int; + } + if (atkValue.Type == AtkValueType.UInt) + { + return (int)atkValue.UInt; + } + return -1; + } + + public unsafe static uint GetListItemId(IGameGui gameGui, int itemIndex) + { + if (itemIndex < 0 || itemIndex >= 40) + { + return 0u; + } + if (!gameGui.TryGetAddonByName("GrandCompanySupplyList", out var addonPtr)) + { + return 0u; + } + if (!LAddon.IsAddonReady(addonPtr)) + { + return 0u; + } + if (addonPtr->AtkValues == null || addonPtr->AtkValuesCount <= 425 + itemIndex) + { + return 0u; + } + if (!IsListLoaded(addonPtr) || !IsExpertTab(addonPtr)) + { + return 0u; + } + AtkValue atkValue = addonPtr->AtkValues[425 + itemIndex]; + if (atkValue.Type == AtkValueType.UInt) + { + return atkValue.UInt; + } + if (atkValue.Type == AtkValueType.Int && atkValue.Int > 0) + { + return (uint)atkValue.Int; + } + return 0u; + } + + public unsafe static int GetListItemSealReward(IGameGui gameGui, int itemIndex) + { + if (itemIndex < 0 || itemIndex >= 40) + { + return -1; + } + if (!gameGui.TryGetAddonByName("GrandCompanySupplyList", out var addonPtr)) + { + return -1; + } + if (!LAddon.IsAddonReady(addonPtr)) + { + return -1; + } + if (addonPtr->AtkValues == null || addonPtr->AtkValuesCount <= 265 + itemIndex) + { + return -1; + } + if (!IsListLoaded(addonPtr) || !IsExpertTab(addonPtr)) + { + return -1; + } + AtkValue atkValue = addonPtr->AtkValues[265 + itemIndex]; + if (atkValue.Type == AtkValueType.Int) + { + return atkValue.Int; + } + if (atkValue.Type == AtkValueType.UInt) + { + return (int)atkValue.UInt; + } + return -1; + } + + public unsafe static bool TrySelectItem(IGameGui gameGui, int itemIndex) + { + if (!gameGui.TryGetAddonByName("GrandCompanySupplyList", out var addonPtr)) + { + return false; + } + if (!LAddon.IsAddonReady(addonPtr)) + { + return false; + } + AddonCallback.Fire(addonPtr, 1, itemIndex, 0); + return true; + } + + public unsafe static bool TryForceRefresh(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("GrandCompanySupplyList", out var addonPtr)) + { + return false; + } + if (!LAddon.IsAddonReady(addonPtr)) + { + return false; + } + AddonCallback.Fire(addonPtr, 2); + return true; + } + + public unsafe static bool TryCloseSupplyList(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("GrandCompanySupplyList", out var addonPtr)) + { + return false; + } + AddonCallback.Fire(addonPtr, -1); + return true; + } + + public unsafe static bool IsRewardDialogReady(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("GrandCompanySupplyReward", out var addonPtr)) + { + return false; + } + return LAddon.IsAddonReady(addonPtr); + } + + public unsafe static bool TryConfirmTurnIn(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("GrandCompanySupplyReward", out var addonPtr)) + { + return false; + } + if (!LAddon.IsAddonReady(addonPtr)) + { + return false; + } + AddonCallback.Fire(addonPtr, default(int)); + return true; + } + + public unsafe static bool IsHqConfirmReady(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("SelectYesno", out var addonPtr)) + { + return false; + } + return LAddon.IsAddonReady(addonPtr); + } + + public unsafe static bool TryConfirmHqTrade(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("SelectYesno", out var addonPtr)) + { + return false; + } + if (!LAddon.IsAddonReady(addonPtr)) + { + return false; + } + AddonCallback.ClickYes(addonPtr); + return true; + } + + public static int GetCurrentSeals() + { + return GrandCompanyShop.GetCompanySeals(); + } + + public static int GetMaxSeals(IDataManager dataManager) + { + byte grandCompanyRank = GrandCompanyHelper.GetGrandCompanyRank(); + if (grandCompanyRank == 0) + { + return 0; + } + if (!dataManager.GetExcelSheet().TryGetRow(grandCompanyRank, out var row)) + { + return 0; + } + return (int)row.MaxSeals; + } + + public static bool IsItemExpertDeliverable(IDataManager dataManager, uint itemId) + { + if (!dataManager.GetExcelSheet().TryGetRow(itemId, out var row)) + { + return false; + } + if (row.Rarity < 2) + { + return false; + } + return row.Desynth > 0; + } +} diff --git a/LLib/LLib.Shop/GrandCompanyShop.cs b/LLib/LLib.Shop/GrandCompanyShop.cs index 4e24782..b9dd673 100644 --- a/LLib/LLib.Shop/GrandCompanyShop.cs +++ b/LLib/LLib.Shop/GrandCompanyShop.cs @@ -1,4 +1,6 @@ using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; using Dalamud.Game.Addon.Lifecycle; using Dalamud.Game.Addon.Lifecycle.AddonArgTypes; using Dalamud.Plugin.Services; @@ -6,7 +8,10 @@ using FFXIVClientStructs.FFXIV.Client.Game; using FFXIVClientStructs.FFXIV.Client.Game.UI; using FFXIVClientStructs.FFXIV.Component.GUI; using LLib.GameUI; +using LLib.Inventory; using LLib.Shop.Model; +using Lumina.Excel; +using Lumina.Excel.Sheets; namespace LLib.Shop; @@ -19,6 +24,10 @@ public sealed class GrandCompanyShop : IDisposable public required int RankTabIndex { get; init; } public required int CategoryTabIndex { get; init; } + + public required int DesiredQuantity { get; init; } + + public int InitialCount { get; set; } = -1; } private const string AddonName = "GrandCompanyExchange"; @@ -31,12 +40,36 @@ public sealed class GrandCompanyShop : IDisposable private readonly IAddonLifecycle _addonLifecycle; + private readonly ExcelSheet _itemSheet; + + private const int MinPollIntervalMs = 100; + + private const int MaxWaitMs = 3000; + + private const int MaxPurchaseQuantity = 99; + + private const int AtkItemCountIndex = 1; + + private const int AtkSealCostBase = 67; + + private const int AtkIconIdBase = 167; + + private const int AtkItemIdBase = 317; + + private static readonly ReadOnlyCollection EmptyItems = new List().AsReadOnly(); + private int _navigationStep; - private DateTime _lastActionTime = DateTime.MinValue; + private long _lastActionMs; + + private bool _awaitingAddonReady; + + private bool _yesNoArmed; private GrandCompanyPurchaseRequest? _pendingPurchase; + private int _itemCountBeforePurchase; + public bool IsOpen { get; private set; } public bool IsPurchaseInProgress => _pendingPurchase != null; @@ -49,13 +82,19 @@ public sealed class GrandCompanyShop : IDisposable public event EventHandler? ShopClosed; - public GrandCompanyShop(IPluginLog pluginLog, IGameGui gameGui, IAddonLifecycle addonLifecycle) + public GrandCompanyShop(IPluginLog pluginLog, IGameGui gameGui, IAddonLifecycle addonLifecycle, IDataManager dataManager) { + ArgumentNullException.ThrowIfNull(pluginLog, "pluginLog"); + ArgumentNullException.ThrowIfNull(gameGui, "gameGui"); + ArgumentNullException.ThrowIfNull(addonLifecycle, "addonLifecycle"); + ArgumentNullException.ThrowIfNull(dataManager, "dataManager"); _pluginLog = pluginLog; _gameGui = gameGui; _addonLifecycle = addonLifecycle; + _itemSheet = dataManager.GetExcelSheet(); _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "GrandCompanyExchange", OnShopPostSetup); _addonLifecycle.RegisterListener(AddonEvent.PreFinalize, "GrandCompanyExchange", OnShopPreFinalize); + _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "SelectYesno", OnSelectYesNoPostSetup); _addonLifecycle.RegisterListener(AddonEvent.PostUpdate, "SelectYesno", OnSelectYesNoPostUpdate); } @@ -69,29 +108,43 @@ public sealed class GrandCompanyShop : IDisposable private void OnShopPreFinalize(AddonEvent type, AddonArgs args) { + uint? num = _pendingPurchase?.ItemId; IsOpen = false; - _pendingPurchase = null; - IsAwaitingConfirmation = false; + ResetPurchaseState(); _pluginLog.Debug("[GCShop] Shop closed"); this.ShopClosed?.Invoke(this, EventArgs.Empty); + if (num.HasValue) + { + this.PurchaseCompleted?.Invoke(this, new PurchaseCompletedEventArgs(num.Value, success: false)); + } + } + + private void OnSelectYesNoPostSetup(AddonEvent type, AddonArgs args) + { + if (_pendingPurchase != null && IsAwaitingConfirmation) + { + _yesNoArmed = true; + } } private unsafe void OnSelectYesNoPostUpdate(AddonEvent type, AddonArgs args) { - if (_pendingPurchase != null && IsAwaitingConfirmation) + if (_pendingPurchase != null && IsAwaitingConfirmation && _yesNoArmed) { AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; if (LAddon.IsAddonReady(address)) { + _yesNoArmed = false; _pluginLog.Information("[GCShop] Confirming purchase dialog"); - ClickYes(address); + AddonCallback.ClickYes(address); address->Close(fireCallback: true); IsAwaitingConfirmation = false; + _lastActionMs = Environment.TickCount64; } } } - public bool StartPurchase(uint itemId, int rankTabIndex, int categoryTabIndex) + public bool StartPurchase(uint itemId, int rankTabIndex, int categoryTabIndex, int quantity) { if (!IsOpen || _pendingPurchase != null) { @@ -101,19 +154,24 @@ public sealed class GrandCompanyShop : IDisposable { ItemId = itemId, RankTabIndex = rankTabIndex, - CategoryTabIndex = categoryTabIndex + CategoryTabIndex = categoryTabIndex, + DesiredQuantity = quantity }; _navigationStep = 0; - _lastActionTime = DateTime.MinValue; - _pluginLog.Information($"[GCShop] Starting purchase of item {itemId}"); + _lastActionMs = 0L; + _itemCountBeforePurchase = -1; + _pluginLog.Information($"[GCShop] Starting purchase of {quantity}x item {itemId}"); return true; } public void CancelPurchase() { - _pendingPurchase = null; - IsAwaitingConfirmation = false; - _navigationStep = 0; + uint? num = _pendingPurchase?.ItemId; + ResetPurchaseState(); + if (num.HasValue) + { + this.PurchaseCompleted?.Invoke(this, new PurchaseCompletedEventArgs(num.Value, success: false)); + } } public unsafe bool ProcessPurchase() @@ -122,63 +180,95 @@ public sealed class GrandCompanyShop : IDisposable { return false; } - if ((DateTime.Now - _lastActionTime).TotalMilliseconds < 600.0) + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr != null && _navigationStep == 0 && _itemCountBeforePurchase == -1) { - return false; - } - if (InventoryManager.Instance()->GetInventoryItemCount(_pendingPurchase.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0) > 0) - { - _pluginLog.Information($"[GCShop] Item {_pendingPurchase.ItemId} already in inventory"); - uint itemId = _pendingPurchase.ItemId; - _pendingPurchase = null; - this.PurchaseCompleted?.Invoke(this, new PurchaseCompletedEventArgs(itemId, success: true)); - return true; + int inventoryItemCount = ptr->GetInventoryItemCount(_pendingPurchase.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0); + if (inventoryItemCount >= _pendingPurchase.DesiredQuantity) + { + _pluginLog.Information($"[GCShop] Already have {inventoryItemCount}x item {_pendingPurchase.ItemId} (need {_pendingPurchase.DesiredQuantity})"); + uint itemId = _pendingPurchase.ItemId; + ResetPurchaseState(); + this.PurchaseCompleted?.Invoke(this, new PurchaseCompletedEventArgs(itemId, success: true)); + return true; + } } if (!_gameGui.TryGetAddonByName("GrandCompanyExchange", out var addonPtr) || !LAddon.IsAddonReady(addonPtr)) { return false; } + if (_awaitingAddonReady) + { + long num = Environment.TickCount64 - _lastActionMs; + if (num < 100) + { + return false; + } + if (num >= 3000) + { + _pluginLog.Warning($"[GCShop] Addon did not become ready within {3000}ms, cancelling purchase"); + CancelPurchase(); + return false; + } + if (_navigationStep == 2 && GetAtkValueInt(addonPtr, 1) <= 0) + { + return false; + } + _awaitingAddonReady = false; + } switch (_navigationStep) { case 0: - FireCallback(addonPtr, 1, _pendingPurchase.RankTabIndex); + AddonCallback.Fire(addonPtr, 1, _pendingPurchase.RankTabIndex); _navigationStep++; - _lastActionTime = DateTime.Now; + _lastActionMs = Environment.TickCount64; + _awaitingAddonReady = true; break; case 1: - FireCallback(addonPtr, 2, _pendingPurchase.CategoryTabIndex); + AddonCallback.Fire(addonPtr, 2, _pendingPurchase.CategoryTabIndex); _navigationStep++; - _lastActionTime = DateTime.Now; + _lastActionMs = Environment.TickCount64; + _awaitingAddonReady = true; break; case 2: { GrandCompanyItem grandCompanyItem = FindItemInShop(addonPtr, _pendingPurchase.ItemId); if (grandCompanyItem != null) { - _pluginLog.Information($"[GCShop] Found item {grandCompanyItem.ItemId} at index {grandCompanyItem.Index}, purchasing..."); - FirePurchaseCallback(addonPtr, grandCompanyItem); - IsAwaitingConfirmation = true; - _navigationStep++; - _lastActionTime = DateTime.Now; + InventoryManager* ptr2 = InventoryManager.Instance(); + int num2 = ((ptr2 != null) ? ptr2->GetInventoryItemCount(_pendingPurchase.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0) : 0); + if (_pendingPurchase.InitialCount == -1) + { + _pendingPurchase.InitialCount = num2; + } + _itemCountBeforePurchase = num2; + int num3 = _pendingPurchase.DesiredQuantity - (num2 - _pendingPurchase.InitialCount); + int num4 = ((grandCompanyItem.SealCost != 0) ? (GetCompanySeals() / (int)grandCompanyItem.SealCost) : 0); + int maxHoldableQuantity = InventoryHelper.GetMaxHoldableQuantity(_pendingPurchase.ItemId, _itemSheet); + int num5 = Math.Min(Math.Min(num3, 99), Math.Min(num4, maxHoldableQuantity)); + if (num5 <= 0) + { + _pluginLog.Warning($"[GCShop] Cannot buy item {_pendingPurchase.ItemId}: remaining={num3}, affordable={num4}, holdable={maxHoldableQuantity}"); + CancelPurchase(); + } + else + { + _pluginLog.Information($"[GCShop] Found item {grandCompanyItem.ItemId} at index {grandCompanyItem.Index}, purchasing {num5}x (count before: {num2})"); + FirePurchaseCallback(addonPtr, grandCompanyItem, num5); + IsAwaitingConfirmation = true; + _navigationStep++; + _lastActionMs = Environment.TickCount64; + } } else { _pluginLog.Warning($"[GCShop] Item {_pendingPurchase.ItemId} not found in shop"); - _lastActionTime = DateTime.Now; + CancelPurchase(); } break; } case 3: - if (!IsAwaitingConfirmation && InventoryManager.Instance()->GetInventoryItemCount(_pendingPurchase.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0) > 0) - { - _pluginLog.Information($"[GCShop] Purchase of {_pendingPurchase.ItemId} completed"); - uint itemId2 = _pendingPurchase.ItemId; - _pendingPurchase = null; - _navigationStep = 0; - this.PurchaseCompleted?.Invoke(this, new PurchaseCompletedEventArgs(itemId2, success: true)); - return true; - } - break; + return WaitForPurchaseCompletion(); } return false; } @@ -193,7 +283,38 @@ public sealed class GrandCompanyShop : IDisposable public unsafe static int GetCompanySeals() { - return (int)InventoryManager.Instance()->GetCompanySeals(PlayerState.Instance()->GrandCompany); + InventoryManager* ptr = InventoryManager.Instance(); + PlayerState* ptr2 = PlayerState.Instance(); + if (ptr == null || ptr2 == null) + { + return 0; + } + return (int)ptr->GetCompanySeals(ptr2->GrandCompany); + } + + public unsafe ReadOnlyCollection GetAvailableItems() + { + if (!IsOpen || !_gameGui.TryGetAddonByName("GrandCompanyExchange", out var addonPtr) || !LAddon.IsAddonReady(addonPtr)) + { + return EmptyItems; + } + int atkValueInt = GetAtkValueInt(addonPtr, 1); + List list = new List(atkValueInt); + for (int i = 0; i < atkValueInt; i++) + { + int atkValueInt2 = GetAtkValueInt(addonPtr, 317 + i); + if (atkValueInt2 > 0) + { + list.Add(new GrandCompanyItem + { + Index = i, + ItemId = (uint)atkValueInt2, + IconId = (uint)GetAtkValueInt(addonPtr, 167 + i), + SealCost = (uint)GetAtkValueInt(addonPtr, 67 + i) + }); + } + } + return list.AsReadOnly(); } private unsafe static GrandCompanyItem? FindItemInShop(AtkUnitBase* addon, uint targetItemId) @@ -220,18 +341,56 @@ public sealed class GrandCompanyShop : IDisposable return null; } - private unsafe void FireCallback(AtkUnitBase* addon, params int[] args) + private unsafe bool WaitForPurchaseCompletion() { - AtkValue* ptr = stackalloc AtkValue[args.Length]; - for (int i = 0; i < args.Length; i++) + long num = Environment.TickCount64 - _lastActionMs; + if (IsAwaitingConfirmation) { - ptr[i].Type = AtkValueType.Int; - ptr[i].Int = args[i]; + if (num >= 3000) + { + _pluginLog.Warning("[GCShop] Confirmation dialog was not handled in time, cancelling purchase"); + CancelPurchase(); + } + return false; } - addon->FireCallback((uint)args.Length, ptr); + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr != null && ptr->GetInventoryItemCount(_pendingPurchase.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0) > _itemCountBeforePurchase) + { + int num2 = ptr->GetInventoryItemCount(_pendingPurchase.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0) - _pendingPurchase.InitialCount; + if (num2 >= _pendingPurchase.DesiredQuantity) + { + _pluginLog.Information($"[GCShop] Purchase of {num2}x {_pendingPurchase.ItemId} completed"); + uint itemId = _pendingPurchase.ItemId; + int quantityPurchased = num2; + ResetPurchaseState(); + this.PurchaseCompleted?.Invoke(this, new PurchaseCompletedEventArgs(itemId, success: true, quantityPurchased)); + return true; + } + _pluginLog.Information($"[GCShop] Batch complete ({num2}/{_pendingPurchase.DesiredQuantity}), starting next batch"); + _navigationStep = 2; + _lastActionMs = Environment.TickCount64; + _awaitingAddonReady = true; + return false; + } + if (num >= 3000) + { + _pluginLog.Warning($"[GCShop] Item count did not increase within {3000}ms after confirmation"); + CancelPurchase(); + } + return false; } - private unsafe void FirePurchaseCallback(AtkUnitBase* addon, GrandCompanyItem item) + private void ResetPurchaseState() + { + _pendingPurchase = null; + IsAwaitingConfirmation = false; + _yesNoArmed = false; + _awaitingAddonReady = false; + _navigationStep = 0; + _itemCountBeforePurchase = -1; + } + + private unsafe void FirePurchaseCallback(AtkUnitBase* addon, GrandCompanyItem item, int quantity) { AtkValue* ptr = stackalloc AtkValue[9]; ptr->Type = AtkValueType.Int; @@ -239,7 +398,7 @@ public sealed class GrandCompanyShop : IDisposable ptr[1].Type = AtkValueType.Int; ptr[1].Int = item.Index; ptr[2].Type = AtkValueType.Int; - ptr[2].Int = 1; + ptr[2].Int = quantity; ptr[3].Type = AtkValueType.Int; ptr[3].Int = 0; ptr[4].Type = AtkValueType.Int; @@ -255,14 +414,6 @@ public sealed class GrandCompanyShop : IDisposable addon->FireCallback(9u, ptr); } - private unsafe static void ClickYes(AtkUnitBase* addon) - { - AtkValue* ptr = stackalloc AtkValue[1]; - ptr->Type = AtkValueType.Int; - ptr->Int = 0; - addon->FireCallback(1u, ptr); - } - private unsafe static int GetAtkValueInt(AtkUnitBase* addon, int index) { if (addon == null || addon->AtkValues == null || index < 0 || index >= addon->AtkValuesCount) @@ -283,6 +434,7 @@ public sealed class GrandCompanyShop : IDisposable { _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "GrandCompanyExchange", OnShopPostSetup); _addonLifecycle.UnregisterListener(AddonEvent.PreFinalize, "GrandCompanyExchange", OnShopPreFinalize); + _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "SelectYesno", OnSelectYesNoPostSetup); _addonLifecycle.UnregisterListener(AddonEvent.PostUpdate, "SelectYesno", OnSelectYesNoPostUpdate); } } diff --git a/LLib/LLib.Shop/IShopWindow.cs b/LLib/LLib.Shop/IShopWindow.cs index 11d971e..3cf4d69 100644 --- a/LLib/LLib.Shop/IShopWindow.cs +++ b/LLib/LLib.Shop/IShopWindow.cs @@ -11,8 +11,6 @@ public interface IShopWindow Vector2? Position { get; set; } - int GetCurrencyCount(); - unsafe void UpdateShopStock(AtkUnitBase* addon); unsafe void TriggerPurchase(AtkUnitBase* addonShop, int buyNow); diff --git a/LLib/LLib.Shop/NpcPositionCache.cs b/LLib/LLib.Shop/NpcPositionCache.cs new file mode 100644 index 0000000..3eae4b7 --- /dev/null +++ b/LLib/LLib.Shop/NpcPositionCache.cs @@ -0,0 +1,341 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Numerics; +using System.Threading; +using Dalamud.Plugin.Services; +using Lumina.Data.Files; +using Lumina.Data.Parsing.Layer; +using Lumina.Excel; +using Lumina.Excel.Sheets; +using Microsoft.Extensions.Logging; + +namespace LLib.Shop; + +public sealed class NpcPositionCache +{ + private static readonly string[] LgbFileNames = new string[4] { "planevent", "planmap", "planner", "planlive" }; + + private const uint FileMagic = 1129336401u; + + private const int FileFormatVersion = 1; + + private const string FileName = "npc-position-cache.bin"; + + private readonly IDataManager _dataManager; + + private readonly ILogger _logger; + + private readonly NpcPositionCacheOptions _options; + + private readonly object _buildLock = new object(); + + private volatile Dictionary? _cache; + + public bool IsBuilt => _cache != null; + + private string? CacheFilePath + { + get + { + if (string.IsNullOrEmpty(_options.CacheDirectory) || string.IsNullOrEmpty(_options.GameVersion)) + { + return null; + } + return Path.Combine(_options.CacheDirectory, "npc-position-cache.bin"); + } + } + + public NpcPositionCache(IDataManager dataManager, ILogger logger, NpcPositionCacheOptions? options = null) + { + _dataManager = dataManager; + _logger = logger; + _options = options ?? new NpcPositionCacheOptions(); + } + + public (ushort TerritoryId, Vector3 Position)? TryGetPosition(uint npcId) + { + Dictionary cache = _cache; + if (cache == null || !cache.TryGetValue(npcId, out var value)) + { + return null; + } + return (value.Item1, value.Item2); + } + + public (ushort TerritoryId, Vector3 Position, bool FestivalOnly)? TryGetPlacement(uint npcId) + { + Dictionary cache = _cache; + if (cache == null || !cache.TryGetValue(npcId, out var value)) + { + return null; + } + return value; + } + + public bool TryLoadFromDisk() + { + if (_cache != null) + { + return true; + } + lock (_buildLock) + { + if (_cache == null) + { + _cache = LoadFromDisk(); + } + return _cache != null; + } + } + + public void WarmUp(CancellationToken cancellationToken = default(CancellationToken)) + { + EnsureBuilt(cancellationToken); + } + + public (ushort TerritoryId, Vector3 Position)? GetPosition(uint npcId) + { + EnsureBuilt(); + if (!_cache.TryGetValue(npcId, out (ushort, Vector3, bool) value)) + { + return null; + } + return (value.Item1, value.Item2); + } + + public (ushort TerritoryId, Vector3 Position, bool FestivalOnly)? GetPlacement(uint npcId) + { + EnsureBuilt(); + if (!_cache.TryGetValue(npcId, out (ushort, Vector3, bool) value)) + { + return null; + } + return value; + } + + public IReadOnlyCollection GetAllNpcIds() + { + EnsureBuilt(); + return _cache.Keys; + } + + private void EnsureBuilt(CancellationToken cancellationToken = default(CancellationToken)) + { + if (_cache != null) + { + return; + } + lock (_buildLock) + { + if (_cache == null) + { + Dictionary dictionary = LoadFromDisk(); + if (dictionary == null) + { + dictionary = BuildNpcPositionCache(cancellationToken); + SaveToDisk(dictionary); + _logger.LogDebug("NPC position cache built with {Count} entries", dictionary.Count); + } + _cache = dictionary; + } + } + } + + private Dictionary? LoadFromDisk() + { + string cacheFilePath = CacheFilePath; + if (cacheFilePath == null || !File.Exists(cacheFilePath)) + { + return null; + } + try + { + using BinaryReader binaryReader = new BinaryReader(File.OpenRead(cacheFilePath)); + if (binaryReader.ReadUInt32() != 1129336401 || binaryReader.ReadInt32() != 1) + { + _logger.LogDebug("NPC position cache file has an unknown header, discarding"); + } + else + { + if (!(binaryReader.ReadString() != _options.GameVersion)) + { + int num = binaryReader.ReadInt32(); + Dictionary dictionary = new Dictionary(num); + for (int i = 0; i < num; i++) + { + uint key = binaryReader.ReadUInt32(); + ushort item = binaryReader.ReadUInt16(); + Vector3 item2 = new Vector3(binaryReader.ReadSingle(), binaryReader.ReadSingle(), binaryReader.ReadSingle()); + bool item3 = binaryReader.ReadBoolean(); + dictionary[key] = (item, item2, item3); + } + _logger.LogDebug("NPC position cache loaded from disk with {Count} entries", dictionary.Count); + return dictionary; + } + _logger.LogDebug("NPC position cache file is for a different game version, discarding"); + } + } + catch (Exception exception) + { + _logger.LogWarning(exception, "Failed to load NPC position cache file, discarding"); + } + try + { + File.Delete(cacheFilePath); + } + catch (Exception) + { + } + return null; + } + + private void SaveToDisk(Dictionary cache) + { + string cacheFilePath = CacheFilePath; + if (cacheFilePath == null) + { + return; + } + try + { + Directory.CreateDirectory(_options.CacheDirectory); + string text = cacheFilePath + ".tmp"; + using (BinaryWriter binaryWriter = new BinaryWriter(File.Create(text))) + { + binaryWriter.Write(1129336401u); + binaryWriter.Write(1); + binaryWriter.Write(_options.GameVersion); + binaryWriter.Write(cache.Count); + foreach (var (value, tuple2) in cache) + { + binaryWriter.Write(value); + binaryWriter.Write(tuple2.Item1); + binaryWriter.Write(tuple2.Item2.X); + binaryWriter.Write(tuple2.Item2.Y); + binaryWriter.Write(tuple2.Item2.Z); + binaryWriter.Write(tuple2.Item3); + } + } + File.Move(text, cacheFilePath, overwrite: true); + } + catch (Exception exception) + { + _logger.LogWarning(exception, "Failed to save NPC position cache file"); + } + } + + private Dictionary BuildNpcPositionCache(CancellationToken cancellationToken) + { + Dictionary dictionary = new Dictionary(); + HashSet hashSet = new HashSet(); + foreach (Aetheryte item in _dataManager.GetExcelSheet()) + { + hashSet.Add(item.Territory.RowId); + } + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + HashSet visitedLgbPaths = new HashSet(); + bool cacheFileResources = _dataManager.GameData.Options.CacheFileResources; + _dataManager.GameData.Options.CacheFileResources = false; + try + { + foreach (TerritoryType item2 in excelSheet) + { + if (hashSet.Contains(item2.RowId)) + { + ScanLgbFiles(dictionary, visitedLgbPaths, item2, cancellationToken); + } + } + foreach (TerritoryType item3 in excelSheet) + { + ScanLgbFiles(dictionary, visitedLgbPaths, item3, cancellationToken); + } + } + finally + { + _dataManager.GameData.Options.CacheFileResources = cacheFileResources; + } + ExcelSheet excelSheet2 = _dataManager.GetExcelSheet(); + ExcelSheet excelSheet3 = _dataManager.GetExcelSheet(); + foreach (Level item4 in _dataManager.GetExcelSheet()) + { + if (item4.RowId != 0 && item4.Object.RowId != 0 && item4.Territory.IsValid && (excelSheet2.HasRow(item4.Object.RowId) || excelSheet3.HasRow(item4.Object.RowId))) + { + dictionary.TryAdd(item4.Object.RowId, ((ushort)item4.Territory.RowId, new Vector3(item4.X, item4.Y, item4.Z), false)); + } + } + return dictionary; + } + + private void ScanLgbFiles(Dictionary cache, HashSet visitedLgbPaths, TerritoryType territory, CancellationToken cancellationToken) + { + cancellationToken.ThrowIfCancellationRequested(); + string text = territory.Bg.ExtractText(); + if (string.IsNullOrEmpty(text)) + { + return; + } + int num = text.IndexOf("/level/", StringComparison.Ordinal); + if (num < 0) + { + return; + } + int num2 = 0; + string[] lgbFileNames = LgbFileNames; + foreach (string text2 in lgbFileNames) + { + string text3 = "bg/" + text.Substring(0, num + 1) + "level/" + text2 + ".lgb"; + if (!visitedLgbPaths.Add(text3)) + { + continue; + } + LgbFile file; + try + { + file = _dataManager.GetFile(text3); + } + catch (Exception exception) + { + _logger.LogTrace(exception, "Failed to load LGB file {Path}", text3); + continue; + } + if (file == null) + { + continue; + } + num2++; + LayerCommon.Layer[] layers = file.Layers; + for (int j = 0; j < layers.Length; j++) + { + LayerCommon.Layer layer = layers[j]; + bool flag = layer.FestivalID != 0 || layer.IsTemporary != 0; + LayerCommon.InstanceObject[] instanceObjects = layer.InstanceObjects; + for (int k = 0; k < instanceObjects.Length; k++) + { + LayerCommon.InstanceObject instanceObject = instanceObjects[k]; + uint baseId; + if (instanceObject.AssetType == LayerEntryType.EventNPC) + { + baseId = ((LayerCommon.ENPCInstanceObject)instanceObject.Object).ParentData.ParentData.BaseId; + } + else + { + if (instanceObject.AssetType != LayerEntryType.EventObject) + { + continue; + } + baseId = ((LayerCommon.EventInstanceObject)instanceObject.Object).ParentData.BaseId; + } + if (baseId != 0 && (!cache.TryGetValue(baseId, out (ushort, Vector3, bool) value) || !(!value.Item3 || flag))) + { + cache[baseId] = ((ushort)territory.RowId, new Vector3(instanceObject.Transform.Translation.X, instanceObject.Transform.Translation.Y, instanceObject.Transform.Translation.Z), flag); + } + } + } + } + if (num2 > 0 && _options.ScanThrottle > TimeSpan.Zero) + { + Thread.Sleep(_options.ScanThrottle); + } + } +} diff --git a/LLib/LLib.Shop/NpcPositionCacheOptions.cs b/LLib/LLib.Shop/NpcPositionCacheOptions.cs new file mode 100644 index 0000000..c0e3033 --- /dev/null +++ b/LLib/LLib.Shop/NpcPositionCacheOptions.cs @@ -0,0 +1,12 @@ +using System; + +namespace LLib.Shop; + +public sealed record NpcPositionCacheOptions +{ + public string? CacheDirectory { get; init; } + + public string? GameVersion { get; init; } + + public TimeSpan ScanThrottle { get; init; } = TimeSpan.Zero; +} diff --git a/LLib/LLib.Shop/PurchaseCompletedEventArgs.cs b/LLib/LLib.Shop/PurchaseCompletedEventArgs.cs index fe57d42..7e987e2 100644 --- a/LLib/LLib.Shop/PurchaseCompletedEventArgs.cs +++ b/LLib/LLib.Shop/PurchaseCompletedEventArgs.cs @@ -8,9 +8,12 @@ public sealed class PurchaseCompletedEventArgs : EventArgs public bool Success { get; } - public PurchaseCompletedEventArgs(uint itemId, bool success) + public int QuantityPurchased { get; } + + public PurchaseCompletedEventArgs(uint itemId, bool success, int quantityPurchased = 0) { ItemId = itemId; Success = success; + QuantityPurchased = quantityPurchased; } } diff --git a/LLib/LLib.Shop/RegularShopBase.cs b/LLib/LLib.Shop/RegularShopBase.cs index f0a83fb..ec8c343 100644 --- a/LLib/LLib.Shop/RegularShopBase.cs +++ b/LLib/LLib.Shop/RegularShopBase.cs @@ -3,14 +3,16 @@ using System.Numerics; using Dalamud.Game.Addon.Lifecycle; using Dalamud.Game.Addon.Lifecycle.AddonArgTypes; using Dalamud.Plugin.Services; -using FFXIVClientStructs.FFXIV.Client.Game; using FFXIVClientStructs.FFXIV.Component.GUI; using LLib.GameUI; +using LLib.Inventory; using LLib.Shop.Model; +using Lumina.Excel; +using Lumina.Excel.Sheets; namespace LLib.Shop; -public class RegularShopBase +public class RegularShopBase : IDisposable { private readonly IShopWindow _parentWindow; @@ -22,6 +24,14 @@ public class RegularShopBase private readonly IAddonLifecycle _addonLifecycle; + private readonly ExcelSheet _itemSheet; + + private long _purchaseDeadlineMs; + + private const int MaxPurchaseQuantity = 99; + + private const int MaxWaitMs = 3000; + public ItemForSale? ItemForSale { get; set; } public PurchaseState? PurchaseState { get; private set; } @@ -36,17 +46,29 @@ public class RegularShopBase } set { - PurchaseState.IsAwaitingYesNo = value; + if (PurchaseState != null) + { + PurchaseState.IsAwaitingYesNo = value; + } } } - public RegularShopBase(IShopWindow parentWindow, string addonName, IPluginLog pluginLog, IGameGui gameGui, IAddonLifecycle addonLifecycle) + public event EventHandler? PurchaseCompleted; + + public RegularShopBase(IShopWindow parentWindow, string addonName, IPluginLog pluginLog, IGameGui gameGui, IAddonLifecycle addonLifecycle, IDataManager dataManager) { + ArgumentNullException.ThrowIfNull(parentWindow, "parentWindow"); + ArgumentException.ThrowIfNullOrEmpty(addonName, "addonName"); + ArgumentNullException.ThrowIfNull(pluginLog, "pluginLog"); + ArgumentNullException.ThrowIfNull(gameGui, "gameGui"); + ArgumentNullException.ThrowIfNull(addonLifecycle, "addonLifecycle"); + ArgumentNullException.ThrowIfNull(dataManager, "dataManager"); _parentWindow = parentWindow; _addonName = addonName; _pluginLog = pluginLog; _gameGui = gameGui; _addonLifecycle = addonLifecycle; + _itemSheet = dataManager.GetExcelSheet(); _addonLifecycle.RegisterListener(AddonEvent.PostSetup, _addonName, ShopPostSetup); _addonLifecycle.RegisterListener(AddonEvent.PreFinalize, _addonName, ShopPreFinalize); _addonLifecycle.RegisterListener(AddonEvent.PostUpdate, _addonName, ShopPostUpdate); @@ -70,8 +92,15 @@ public class RegularShopBase private void ShopPreFinalize(AddonEvent type, AddonArgs args) { - PurchaseState = null; - _parentWindow.RestoreExternalPluginState(); + if (PurchaseState != null && ItemForSale != null) + { + CompletePurchase(ItemForSale.ItemId, success: false); + } + else + { + PurchaseState = null; + _parentWindow.RestoreExternalPluginState(); + } _parentWindow.IsOpen = false; } @@ -120,14 +149,14 @@ public class RegularShopBase if (PurchaseState.OwnedItems != ownedItems) { PurchaseState.OwnedItems = ownedItems; - PurchaseState.NextStep = DateTime.Now.AddSeconds(0.25); + PurchaseState.NextStepMs = Environment.TickCount64 + 250; } } } - public unsafe int GetItemCount(uint itemId) + public virtual int GetCurrencyCount(uint currencyItemId) { - return InventoryManager.Instance()->GetInventoryItemCount(itemId, isHq: false, checkEquipped: false, checkArmory: false, 0); + return InventoryHelper.GetItemCount(currencyItemId); } public int GetMaxItemsToPurchase() @@ -136,17 +165,28 @@ public class RegularShopBase { return 0; } - return (int)(_parentWindow.GetCurrencyCount() / ItemForSale.Price); + int maxHoldableQuantity = InventoryHelper.GetMaxHoldableQuantity(ItemForSale.ItemId, _itemSheet); + if (ItemForSale.Price == 0) + { + return maxHoldableQuantity; + } + return Math.Min((int)(GetCurrencyCount(ItemForSale.CurrencyItemId) / ItemForSale.Price), maxHoldableQuantity); } public void CancelAutoPurchase() { - PurchaseState = null; - _parentWindow.RestoreExternalPluginState(); + if (ItemForSale != null && PurchaseState != null) + { + CompletePurchase(ItemForSale.ItemId, success: false); + } } public void StartAutoPurchase(int toPurchase) { + if (ItemForSale == null) + { + throw new InvalidOperationException("Cannot start auto-purchase without an item selected"); + } PurchaseState = new PurchaseState((int)ItemForSale.OwnedItems + toPurchase, (int)ItemForSale.OwnedItems); _parentWindow.SaveExternalPluginState(); } @@ -157,119 +197,57 @@ public class RegularShopBase { return; } - int num = DetermineMaxStackSize(ItemForSale.ItemId); - if (num == 0 && !HasFreeInventorySlot()) - { - _pluginLog.Warning("No free inventory slots, can't buy more " + ItemForSale.ItemName); - PurchaseState = null; - _parentWindow.RestoreExternalPluginState(); - } - else if (!PurchaseState.IsComplete) - { - if (PurchaseState.NextStep <= DateTime.Now && _gameGui.TryGetAddonByName(_addonName, out var addonPtr)) - { - int num2 = Math.Min(PurchaseState.ItemsLeftToBuy, num); - _pluginLog.Information($"Buying {num2}x {ItemForSale.ItemName}"); - _parentWindow.TriggerPurchase(addonPtr, num2); - PurchaseState.NextStep = DateTime.MaxValue; - PurchaseState.IsAwaitingYesNo = true; - } - } - else + if (PurchaseState.IsComplete) { _pluginLog.Information($"Stopping item purchase (desired = {PurchaseState.DesiredItems}, owned = {PurchaseState.OwnedItems})"); - PurchaseState = null; - _parentWindow.RestoreExternalPluginState(); + CompletePurchase(ItemForSale.ItemId, success: true); + return; + } + int maxHoldableQuantity = InventoryHelper.GetMaxHoldableQuantity(ItemForSale.ItemId, _itemSheet); + int num = Math.Min(99, maxHoldableQuantity); + AtkUnitBase* addonPtr; + if (num == 0) + { + _pluginLog.Warning("No inventory space for " + ItemForSale.ItemName); + CompletePurchase(ItemForSale.ItemId, success: false); + } + else if (Environment.TickCount64 >= PurchaseState.NextStepMs && _gameGui.TryGetAddonByName(_addonName, out addonPtr)) + { + int num2 = Math.Min(PurchaseState.ItemsLeftToBuy, num); + _pluginLog.Information($"Buying {num2}x {ItemForSale.ItemName}"); + _parentWindow.TriggerPurchase(addonPtr, num2); + PurchaseState.NextStepMs = long.MaxValue; + _purchaseDeadlineMs = Environment.TickCount64 + 3000; + PurchaseState.IsAwaitingYesNo = true; + } + else if (PurchaseState.NextStepMs == long.MaxValue && Environment.TickCount64 >= _purchaseDeadlineMs) + { + _pluginLog.Warning($"Purchase of {ItemForSale.ItemName} did not progress within {3000}ms, cancelling"); + CompletePurchase(ItemForSale.ItemId, success: false); + } + } + + private void CompletePurchase(uint itemId, bool success) + { + int quantityPurchased = ((success && PurchaseState != null) ? (PurchaseState.OwnedItems - PurchaseState.InitialOwnedItems) : 0); + PurchaseState = null; + _parentWindow.RestoreExternalPluginState(); + this.PurchaseCompleted?.Invoke(this, new PurchaseCompletedEventArgs(itemId, success, quantityPurchased)); + } + + protected virtual void Dispose(bool disposing) + { + if (disposing) + { + _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, _addonName, ShopPostSetup); + _addonLifecycle.UnregisterListener(AddonEvent.PreFinalize, _addonName, ShopPreFinalize); + _addonLifecycle.UnregisterListener(AddonEvent.PostUpdate, _addonName, ShopPostUpdate); } } public void Dispose() { - _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, _addonName, ShopPostSetup); - _addonLifecycle.UnregisterListener(AddonEvent.PreFinalize, _addonName, ShopPreFinalize); - _addonLifecycle.UnregisterListener(AddonEvent.PostUpdate, _addonName, ShopPostUpdate); - } - - public bool HasFreeInventorySlot() - { - return CountFreeInventorySlots() > 0; - } - - public unsafe int CountFreeInventorySlots() - { - InventoryManager* ptr = InventoryManager.Instance(); - if (ptr == null) - { - return 0; - } - int num = 0; - for (InventoryType inventoryType = InventoryType.Inventory1; inventoryType <= InventoryType.Inventory4; inventoryType++) - { - InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(inventoryType); - for (int i = 0; i < inventoryContainer->Size; i++) - { - InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(i); - if (inventorySlot == null || inventorySlot->ItemId == 0) - { - num++; - } - } - } - return num; - } - - private unsafe int DetermineMaxStackSize(uint itemId) - { - InventoryManager* ptr = InventoryManager.Instance(); - if (ptr == null) - { - return 0; - } - int num = 0; - for (InventoryType inventoryType = InventoryType.Inventory1; inventoryType <= InventoryType.Inventory4; inventoryType++) - { - InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(inventoryType); - for (int i = 0; i < inventoryContainer->Size; i++) - { - InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(i); - if (inventorySlot == null || inventorySlot->ItemId == 0) - { - return 99; - } - if (inventorySlot->ItemId == itemId) - { - num += 999 - inventorySlot->Quantity; - if (num >= 99) - { - break; - } - } - } - } - return Math.Min(99, num); - } - - public unsafe int CountInventorySlotsWithCondition(uint itemId, Predicate predicate) - { - ArgumentNullException.ThrowIfNull(predicate, "predicate"); - InventoryManager* ptr = InventoryManager.Instance(); - if (ptr == null) - { - return 0; - } - int num = 0; - for (InventoryType inventoryType = InventoryType.Inventory1; inventoryType <= InventoryType.Inventory4; inventoryType++) - { - InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(inventoryType); - for (int i = 0; i < inventoryContainer->Size; i++) - { - InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(i); - if (inventorySlot != null && inventorySlot->ItemId != 0 && inventorySlot->ItemId == itemId && predicate(inventorySlot->Quantity)) - { - num++; - } - } - } - return num; + Dispose(disposing: true); + GC.SuppressFinalize(this); } } diff --git a/LLib/LLib.Shop/SatisfactionSupplyActions.cs b/LLib/LLib.Shop/SatisfactionSupplyActions.cs new file mode 100644 index 0000000..29c04d6 --- /dev/null +++ b/LLib/LLib.Shop/SatisfactionSupplyActions.cs @@ -0,0 +1,216 @@ +using System; +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using FFXIVClientStructs.FFXIV.Client.UI.Agent; +using FFXIVClientStructs.FFXIV.Component.GUI; +using FFXIVClientStructs.Interop; +using LLib.GameUI; + +namespace LLib.Shop; + +public static class SatisfactionSupplyActions +{ + public readonly record struct NpcState(int Rank, int SatisfactionCurrent, int SatisfactionMax, int UsedDeliveries); + + private const string SatisfactionSupplyAddon = "SatisfactionSupply"; + + private const string SatisfactionSupplyResultAddon = "SatisfactionSupplyResult"; + + private const string TalkAddon = "Talk"; + + public unsafe static bool IsSatisfactionSupplyReady(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("SatisfactionSupply", out var addonPtr)) + { + return false; + } + return LAddon.IsAddonReady(addonPtr); + } + + public unsafe static bool IsSatisfactionSupplyFullyReady(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("SatisfactionSupply", out var addonPtr)) + { + return false; + } + if (!LAddon.IsAddonReady(addonPtr)) + { + return false; + } + AgentSatisfactionSupply* ptr = AgentSatisfactionSupply.Instance(); + if (ptr != null && ptr->IsAgentActive() && ptr->NpcInfo.Valid) + { + return ptr->NpcInfo.Initialized; + } + return false; + } + + public unsafe static bool TrySelectDeliverySlot(IGameGui gameGui, int slot) + { + if (!IsSatisfactionSupplyFullyReady(gameGui)) + { + return false; + } + AgentSatisfactionSupply* ptr = AgentSatisfactionSupply.Instance(); + AtkValue atkValue = new AtkValue(); + Span span = stackalloc AtkValue[2]; + span[0].SetInt(1); + span[1].SetInt(slot); + ptr->ReceiveEvent(&atkValue, span.GetPointer(0), 2u, 0uL); + return true; + } + + public unsafe static bool TryCloseSatisfactionSupply(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("SatisfactionSupply", out var addonPtr)) + { + return false; + } + addonPtr->FireCallbackInt(0); + return true; + } + + public unsafe static bool IsTalkInProgress(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("Talk", out var addonPtr)) + { + return false; + } + if (addonPtr->IsVisible) + { + return LAddon.IsAddonReady(addonPtr); + } + return false; + } + + public unsafe static bool TryProgressTalk(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("Talk", out var addonPtr)) + { + return false; + } + if (!addonPtr->IsVisible || !LAddon.IsAddonReady(addonPtr)) + { + return false; + } + addonPtr->FireCallbackInt(0); + return true; + } + + public unsafe static bool IsSatisfactionSupplyResultVisible(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("SatisfactionSupplyResult", out var addonPtr)) + { + return false; + } + return LAddon.IsAddonReady(addonPtr); + } + + public unsafe static bool TryCloseSatisfactionSupplyResult(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("SatisfactionSupplyResult", out var addonPtr)) + { + return false; + } + addonPtr->Close(fireCallback: true); + return true; + } + + public unsafe static bool IsNpcTradeReady() + { + AgentNpcTrade* ptr = AgentNpcTrade.Instance(); + if (ptr != null) + { + return ptr->IsAgentActive(); + } + return false; + } + + public unsafe static (bool Exists, bool Active, int SelectedSlot) GetNpcTradeState() + { + AgentNpcTrade* ptr = AgentNpcTrade.Instance(); + if (ptr == null) + { + return (Exists: false, Active: false, SelectedSlot: -99); + } + return (Exists: true, Active: ptr->IsAgentActive(), SelectedSlot: ptr->SelectedTurnInSlot); + } + + public unsafe static bool TryConfirmTrade() + { + AgentNpcTrade* ptr = AgentNpcTrade.Instance(); + if (ptr == null || !ptr->IsAgentActive()) + { + return false; + } + AtkValue atkValue = new AtkValue(); + Span span = stackalloc AtkValue[4]; + if (ptr->SelectedTurnInSlot < 0) + { + span[0].SetInt(2); + span[1].SetInt(0); + span[2].SetInt(0); + span[3].SetInt(0); + ptr->ReceiveEvent(&atkValue, span.GetPointer(0), 4u, 0uL); + if (ptr->SelectedTurnInSlot != 0 || ptr->SelectedTurnInSlotItemOptions <= 0) + { + return false; + } + } + else if (ptr->SelectedTurnInSlot != 0) + { + return false; + } + span[0].SetInt(0); + span[1].SetInt(0); + span[2].SetInt(0); + span[3].SetInt(0); + ptr->ReceiveEvent(&atkValue, span.GetPointer(0), 4u, 1uL); + ptr->ReceiveEvent(&atkValue, span.GetPointer(0), 4u, 0uL); + return true; + } + + public unsafe static int GetRemainingAllowances() + { + SatisfactionSupplyManager* ptr = SatisfactionSupplyManager.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->GetRemainingAllowances(); + } + + public unsafe static NpcState GetNpcState(int npcIndex) + { + SatisfactionSupplyManager* ptr = SatisfactionSupplyManager.Instance(); + if (ptr == null) + { + return default(NpcState); + } + if (npcIndex < 0 || npcIndex >= ptr->SatisfactionRanks.Length) + { + return default(NpcState); + } + return new NpcState(ptr->SatisfactionRanks[npcIndex], ptr->Satisfaction[npcIndex], 0, ptr->UsedAllowances[npcIndex]); + } + + public unsafe static uint GetSupplySeed() + { + SatisfactionSupplyManager* ptr = SatisfactionSupplyManager.Instance(); + if (ptr == null) + { + return 0u; + } + return ptr->SupplySeed; + } + + public unsafe static byte GetBonusGuaranteeRowId() + { + SatisfactionSupplyManager* ptr = SatisfactionSupplyManager.Instance(); + if (ptr == null) + { + return byte.MaxValue; + } + return ptr->BonusGuaranteeRowId; + } +} diff --git a/LLib/LLib.Shop/VendorPurchaseActions.cs b/LLib/LLib.Shop/VendorPurchaseActions.cs new file mode 100644 index 0000000..14b77ee --- /dev/null +++ b/LLib/LLib.Shop/VendorPurchaseActions.cs @@ -0,0 +1,144 @@ +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Component.GUI; +using LLib.GameUI; + +namespace LLib.Shop; + +public static class VendorPurchaseActions +{ + private const string ShopAddon = "Shop"; + + private const string SelectStringAddon = "SelectString"; + + private const string SelectIconStringAddon = "SelectIconString"; + + private const string SelectYesnoAddon = "SelectYesno"; + + public unsafe static bool IsDialogReady(IGameGui gameGui) + { + if (gameGui.TryGetAddonByName("SelectIconString", out var addonPtr) && LAddon.IsAddonReady(addonPtr)) + { + return true; + } + if (gameGui.TryGetAddonByName("SelectString", out var addonPtr2) && LAddon.IsAddonReady(addonPtr2)) + { + return true; + } + return false; + } + + public unsafe static bool TrySelectDialogOption(IGameGui gameGui, int index) + { + if (gameGui.TryGetAddonByName("SelectIconString", out var addonPtr) && LAddon.IsAddonReady(addonPtr)) + { + AddonCallback.Fire(addonPtr, index); + return true; + } + if (gameGui.TryGetAddonByName("SelectString", out var addonPtr2) && LAddon.IsAddonReady(addonPtr2)) + { + AddonCallback.Fire(addonPtr2, index); + return true; + } + return false; + } + + public unsafe static bool IsShopReady(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("Shop", out var addonPtr)) + { + return false; + } + return LAddon.IsAddonReady(addonPtr); + } + + public unsafe static int FindItemDisplayIndex(IGameGui gameGui, uint itemId) + { + if (!gameGui.TryGetAddonByName("Shop", out var addonPtr)) + { + return -1; + } + if (!LAddon.IsAddonReady(addonPtr)) + { + return -1; + } + if (addonPtr->AtkValues == null || addonPtr->AtkValuesCount <= 2) + { + return -1; + } + uint uInt = addonPtr->AtkValues[2].UInt; + for (int i = 0; i < uInt; i++) + { + int num = 441 + i; + if (num >= addonPtr->AtkValuesCount) + { + return -1; + } + if (addonPtr->AtkValues[num].UInt == itemId) + { + return i; + } + } + return -1; + } + + public unsafe static bool TryBuyItem(IGameGui gameGui, int itemIndex, int quantity) + { + if (!gameGui.TryGetAddonByName("Shop", out var addonPtr)) + { + return false; + } + if (!LAddon.IsAddonReady(addonPtr)) + { + return false; + } + AtkValue* values = stackalloc AtkValue[4] + { + new AtkValue + { + Type = AtkValueType.Int, + Int = 0 + }, + new AtkValue + { + Type = AtkValueType.Int, + Int = itemIndex + }, + new AtkValue + { + Type = AtkValueType.Int, + Int = quantity + }, + new AtkValue + { + Type = AtkValueType.Undefined, + Int = 0 + } + }; + addonPtr->FireCallback(4u, values); + return true; + } + + public unsafe static bool TryConfirmPurchase(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("SelectYesno", out var addonPtr)) + { + return false; + } + if (!LAddon.IsAddonReady(addonPtr)) + { + return false; + } + AddonCallback.ClickYes(addonPtr); + return true; + } + + public unsafe static bool TryCloseShop(IGameGui gameGui) + { + if (!gameGui.TryGetAddonByName("Shop", out var addonPtr)) + { + return false; + } + addonPtr->Close(fireCallback: true); + return true; + } +} diff --git a/LLib/LLib.Shop/VendorResolver.cs b/LLib/LLib.Shop/VendorResolver.cs new file mode 100644 index 0000000..780cda5 --- /dev/null +++ b/LLib/LLib.Shop/VendorResolver.cs @@ -0,0 +1,52 @@ +using System.Collections.Generic; +using Dalamud.Plugin.Services; +using LLib.Shop.Model; +using LLib.Shop.Searchers; + +namespace LLib.Shop; + +public sealed class VendorResolver +{ + private readonly GilShopSearcher _gilShopSearcher; + + private readonly SpecialShopSearcher _specialShopSearcher; + + private readonly GCShopSearcher _gcShopSearcher; + + public VendorResolver(IDataManager dataManager, NpcPositionCache positionCache) + { + _gilShopSearcher = new GilShopSearcher(dataManager, positionCache); + _specialShopSearcher = new SpecialShopSearcher(dataManager, positionCache); + _gcShopSearcher = new GCShopSearcher(dataManager, positionCache); + } + + public IReadOnlyList FindVendorsForItem(uint itemId) + { + List list = new List(); + list.AddRange(_gilShopSearcher.Search(itemId)); + list.AddRange(_specialShopSearcher.Search(itemId)); + list.AddRange(_gcShopSearcher.Search(itemId)); + return list; + } + + public IReadOnlyList FindVendorsForItem(uint itemId, EShopType shopType) + { + return shopType switch + { + EShopType.GilShop => _gilShopSearcher.Search(itemId), + EShopType.SpecialShop => _specialShopSearcher.Search(itemId), + EShopType.GCShop => _gcShopSearcher.Search(itemId), + _ => new List(), + }; + } + + public ShopSearchResult? FindGilVendor(uint itemId) + { + List list = _gilShopSearcher.Search(itemId); + if (list.Count <= 0) + { + return null; + } + return list[0]; + } +} diff --git a/LLib/LLib.csproj b/LLib/LLib.csproj index 96585ea..d3f7bfc 100644 --- a/LLib/LLib.csproj +++ b/LLib/LLib.csproj @@ -13,23 +13,29 @@ + + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\FFXIVClientStructs.dll + - C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\dev\Dalamud.dll + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\Dalamud.dll - C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\dev\Lumina.dll - - - C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\dev\FFXIVClientStructs.dll - - - C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\dev\Dalamud.Bindings.ImGui.dll + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\Lumina.dll - C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\dev\Lumina.Excel.dll + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\Lumina.Excel.dll + + + ..\..\Microsoft.Extensions.Logging.Abstractions.dll + + + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\Serilog.dll + + + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\Dalamud.Bindings.ImGui.dll - C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\dev\InteropGenerator.Runtime.dll + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\InteropGenerator.Runtime.dll \ No newline at end of file diff --git a/LLib/LLib/AtomicFile.cs b/LLib/LLib/AtomicFile.cs new file mode 100644 index 0000000..f1437fd --- /dev/null +++ b/LLib/LLib/AtomicFile.cs @@ -0,0 +1,61 @@ +using System; +using System.IO; + +namespace LLib; + +public static class AtomicFile +{ + public static void WriteAllText(string path, string contents) + { + string text = $"{path}.{Guid.NewGuid():N}.tmp"; + try + { + using (FileStream fileStream = new FileStream(text, FileMode.CreateNew, FileAccess.Write, FileShare.None)) + { + using StreamWriter streamWriter = new StreamWriter(fileStream); + streamWriter.Write(contents); + streamWriter.Flush(); + fileStream.Flush(flushToDisk: true); + } + File.Move(text, path, overwrite: true); + CleanupOrphanedTempFiles(path, text); + } + catch + { + try + { + File.Delete(text); + } + catch + { + } + throw; + } + } + + private static void CleanupOrphanedTempFiles(string path, string currentTmp) + { + try + { + string directoryName = Path.GetDirectoryName(path); + string path2 = ((directoryName != null && directoryName.Length > 0) ? directoryName : "."); + string searchPattern = Path.GetFileName(path) + ".*.tmp"; + foreach (string item in Directory.EnumerateFiles(path2, searchPattern)) + { + if (!string.Equals(Path.GetFileName(item), Path.GetFileName(currentTmp), StringComparison.Ordinal)) + { + try + { + File.Delete(item); + } + catch + { + } + } + } + } + catch + { + } + } +} diff --git a/LLib/LLib/ChatHelper.cs b/LLib/LLib/ChatHelper.cs new file mode 100644 index 0000000..a4d68b5 --- /dev/null +++ b/LLib/LLib/ChatHelper.cs @@ -0,0 +1,32 @@ +using System; +using FFXIVClientStructs.FFXIV.Client.System.Framework; +using FFXIVClientStructs.FFXIV.Client.System.String; +using FFXIVClientStructs.FFXIV.Client.UI; + +namespace LLib; + +public static class ChatHelper +{ + public unsafe static void SendCommand(string command) + { + Framework* ptr = Framework.Instance(); + if (ptr == null) + { + return; + } + UIModule* uIModule = ptr->GetUIModule(); + if (uIModule == null) + { + return; + } + Utf8String utf8String = new Utf8String(command); + try + { + uIModule->ProcessChatBoxEntry(&utf8String); + } + finally + { + ((IDisposable)utf8String/*cast due to .constrained prefix*/).Dispose(); + } + } +} diff --git a/LLib/LLib/DalamudReflector.cs b/LLib/LLib/DalamudReflector.cs index b4acce0..b1de8cc 100644 --- a/LLib/LLib/DalamudReflector.cs +++ b/LLib/LLib/DalamudReflector.cs @@ -1,8 +1,12 @@ using System; using System.Collections; +using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; +using System.Linq; using System.Reflection; +using System.Threading; +using System.Threading.Tasks; using Dalamud.Plugin; using Dalamud.Plugin.Services; @@ -12,47 +16,46 @@ public sealed class DalamudReflector : IDisposable { private readonly IDalamudPluginInterface _pluginInterface; - private readonly IFramework _framework; - private readonly IPluginLog _pluginLog; - private readonly Dictionary _pluginCache = new Dictionary(); + private readonly object _pluginManager; - private bool _pluginsChanged; + private readonly ConcurrentDictionary _pluginCache = new ConcurrentDictionary(); + + private int _cacheVersion; public DalamudReflector(IDalamudPluginInterface pluginInterface, IFramework framework, IPluginLog pluginLog) { + ArgumentNullException.ThrowIfNull(pluginInterface, "pluginInterface"); + ArgumentNullException.ThrowIfNull(framework, "framework"); + ArgumentNullException.ThrowIfNull(pluginLog, "pluginLog"); _pluginInterface = pluginInterface; - _framework = framework; _pluginLog = pluginLog; - object pluginManager = GetPluginManager(); - pluginManager.GetType().GetEvent("OnInstalledPluginsChanged").AddEventHandler(pluginManager, new Action(OnInstalledPluginsChanged)); - _framework.Update += FrameworkUpdate; + _pluginManager = GetPluginManager(); + (_pluginManager.GetType().GetEvent("OnInstalledPluginsChanged") ?? throw new InvalidOperationException("Could not find OnInstalledPluginsChanged event - Dalamud internals may have changed")).AddEventHandler(_pluginManager, new Action(OnInstalledPluginsChanged)); } public void Dispose() { - _framework.Update -= FrameworkUpdate; - object pluginManager = GetPluginManager(); - pluginManager.GetType().GetEvent("OnInstalledPluginsChanged").RemoveEventHandler(pluginManager, new Action(OnInstalledPluginsChanged)); - } - - private void FrameworkUpdate(IFramework framework) - { - if (_pluginsChanged) + try { - _pluginsChanged = false; - _pluginCache.Clear(); + _pluginManager.GetType().GetEvent("OnInstalledPluginsChanged")?.RemoveEventHandler(_pluginManager, new Action(OnInstalledPluginsChanged)); + } + catch (Exception exception) + { + _pluginLog.Warning(exception, "[DalamudReflector] Failed to unhook OnInstalledPluginsChanged"); } } private object GetPluginManager() { - return _pluginInterface.GetType().Assembly.GetType("Dalamud.Service`1", throwOnError: true).MakeGenericType(_pluginInterface.GetType().Assembly.GetType("Dalamud.Plugin.Internal.PluginManager", throwOnError: true)).GetMethod("Get") - .Invoke(null, BindingFlags.Default, null, Array.Empty(), null); + Assembly assembly = _pluginInterface.GetType().Assembly; + Type type = assembly.GetType("Dalamud.Service`1") ?? throw new InvalidOperationException("Could not find Dalamud.Service`1 type - Dalamud internals may have changed"); + Type type2 = assembly.GetType("Dalamud.Plugin.Internal.PluginManager") ?? throw new InvalidOperationException("Could not find Dalamud.Plugin.Internal.PluginManager type - Dalamud internals may have changed"); + return (type.MakeGenericType(type2).GetMethod("Get") ?? throw new InvalidOperationException("Could not find Service.Get() method - Dalamud internals may have changed")).Invoke(null, BindingFlags.Default, null, Array.Empty(), null) ?? throw new InvalidOperationException("Service.Get() returned null"); } - public bool TryGetDalamudPlugin(string internalName, [MaybeNullWhen(false)] out IDalamudPlugin instance, bool suppressErrors = false, bool ignoreCache = false) + public bool TryGetDalamudPlugin(string internalName, [MaybeNullWhen(false)] out object instance, bool suppressErrors = false, bool ignoreCache = false) { if (!ignoreCache && _pluginCache.TryGetValue(internalName, out instance)) { @@ -60,26 +63,48 @@ public sealed class DalamudReflector : IDisposable } try { + int num = Volatile.Read(in _cacheVersion); object pluginManager = GetPluginManager(); - foreach (object item in (IList)pluginManager.GetType().GetProperty("InstalledPlugins").GetValue(pluginManager)) + IEnumerable plugins = (IEnumerable)((pluginManager.GetType().GetProperty("InstalledPlugins") ?? throw new InvalidOperationException("Could not find InstalledPlugins property - Dalamud internals may have changed")).GetValue(pluginManager) ?? throw new InvalidOperationException("InstalledPlugins returned null")); + bool warnedNullInstance = false; + if (TryFindByProperty(plugins, "InternalName", out var found) || TryFindByProperty(plugins, "Name", out found)) { - if ((string)item.GetType().GetProperty("Name").GetValue(item) == internalName) + instance = found; + if (Volatile.Read(in _cacheVersion) == num) { - IDalamudPlugin dalamudPlugin = (IDalamudPlugin)((item.GetType().Name == "LocalDevPlugin") ? item.GetType().BaseType : item.GetType()).GetField("instance", BindingFlags.Instance | BindingFlags.NonPublic).GetValue(item); - if (dalamudPlugin != null) + _pluginCache[internalName] = found; + if (Volatile.Read(in _cacheVersion) != num) { - instance = dalamudPlugin; - _pluginCache[internalName] = dalamudPlugin; - return true; - } - if (!suppressErrors) - { - _pluginLog.Warning("[DalamudReflector] Found requested plugin " + internalName + " but it was null"); + _pluginCache.TryRemove(internalName, out object _); } } + return true; } instance = null; return false; + bool TryFindByProperty(IEnumerable enumerable, string propertyName, [MaybeNullWhen(false)] out object reference) + { + foreach (object item in enumerable) + { + PropertyInfo property = item.GetType().GetProperty(propertyName); + if (!(property == null) && !((string)property.GetValue(item) != internalName)) + { + object obj = (((item.GetType().Name == "LocalDevPlugin") ? item.GetType().BaseType : item.GetType())?.GetField("instance", BindingFlags.Instance | BindingFlags.NonPublic))?.GetValue(item); + if (obj != null) + { + reference = obj; + return true; + } + if (!suppressErrors && !warnedNullInstance) + { + warnedNullInstance = true; + _pluginLog.Warning("[DalamudReflector] Found requested plugin " + internalName + " but it was null"); + } + } + } + reference = null; + return false; + } } catch (Exception ex) { @@ -92,9 +117,461 @@ public sealed class DalamudReflector : IDisposable } } + public async Task AddPluginAsync(string internalName, string? thirdPartyRepoUrl, IReadOnlyList? aliases = null) + { + object pluginManager = GetPluginManager(); + Assembly assembly = _pluginInterface.GetType().Assembly; + if (IsVariantLoaded(pluginManager, internalName, thirdPartyRepoUrl, aliases)) + { + return true; + } + MethodInfo reloadMethod = pluginManager.GetType().GetMethod("SetPluginReposFromConfigAsync", BindingFlags.Instance | BindingFlags.Public) ?? throw new InvalidOperationException("Could not find PluginManager.SetPluginReposFromConfigAsync - Dalamud internals may have changed"); + await InvokeReloadAsync(pluginManager, reloadMethod).ConfigureAwait(continueOnCapturedContext: false); + object obj = FindAvailableManifest(pluginManager, internalName, thirdPartyRepoUrl, aliases); + if (obj == null && thirdPartyRepoUrl != null) + { + AddOrEnableThirdPartyRepo(assembly, thirdPartyRepoUrl); + await InvokeReloadAsync(pluginManager, reloadMethod).ConfigureAwait(continueOnCapturedContext: false); + obj = FindAvailableManifest(pluginManager, internalName, thirdPartyRepoUrl, aliases); + } + if (obj == null) + { + throw new InvalidOperationException("Plugin '" + internalName + "' not found in available repositories"); + } + MethodInfo methodInfo = pluginManager.GetType().GetMethod("InstallPluginAsync", BindingFlags.Instance | BindingFlags.Public) ?? throw new InvalidOperationException("Could not find PluginManager.InstallPluginAsync - Dalamud internals may have changed"); + Type type = assembly.GetType("Dalamud.Plugin.PluginLoadReason") ?? throw new InvalidOperationException("Could not find Dalamud.Plugin.PluginLoadReason - Dalamud internals may have changed"); + object obj2 = Enum.Parse(type, "Installer"); + ParameterInfo[] parameters = methodInfo.GetParameters(); + object[] array = new object[parameters.Length]; + for (int i = 0; i < parameters.Length; i++) + { + Type parameterType = parameters[i].ParameterType; + if (parameterType.IsAssignableFrom(obj.GetType())) + { + array[i] = obj; + } + else if (parameterType == typeof(bool)) + { + array[i] = false; + } + else if (parameterType == type) + { + array[i] = obj2; + } + else + { + array[i] = null; + } + } + object obj3 = methodInfo.Invoke(pluginManager, array) ?? throw new InvalidOperationException("PluginManager.InstallPluginAsync returned null - Dalamud internals may have changed"); + if (!(obj3 is Task installTask)) + { + throw new InvalidOperationException("PluginManager.InstallPluginAsync did not return a Task - Dalamud internals may have changed"); + } + await installTask.ConfigureAwait(continueOnCapturedContext: false); + object value = (installTask.GetType().GetProperty("Result") ?? throw new InvalidOperationException("Install task has no Result property - Dalamud internals may have changed")).GetValue(installTask); + if (value == null) + { + return false; + } + object value2 = (value.GetType().GetProperty("IsLoaded") ?? throw new InvalidOperationException("LocalPlugin has no IsLoaded property - Dalamud internals may have changed")).GetValue(value); + bool loaded = default(bool); + int num; + if (value2 is bool) + { + loaded = (bool)value2; + num = 1; + } + else + { + num = 0; + } + return (byte)((uint)num & (loaded ? 1u : 0u)) != 0; + } + + public async Task EnablePluginAsync(string internalName, string? thirdPartyRepoUrl, IReadOnlyList? aliases = null) + { + object pluginManager = GetPluginManager(); + Assembly assembly = _pluginInterface.GetType().Assembly; + IEnumerable obj = ((pluginManager.GetType().GetProperty("InstalledPlugins") ?? throw new InvalidOperationException("Could not find PluginManager.InstalledPlugins - Dalamud internals may have changed")).GetValue(pluginManager) as IEnumerable) ?? throw new InvalidOperationException("PluginManager.InstalledPlugins was not enumerable - Dalamud internals may have changed"); + object localPlugin = null; + object obj2 = null; + int num = 0; + foreach (object item in obj) + { + if (item == null) + { + continue; + } + PropertyInfo property = item.GetType().GetProperty("InternalName", BindingFlags.Instance | BindingFlags.Public); + if (!(property == null) && property.GetValue(item) is string text && !(text != internalName)) + { + num++; + if (obj2 == null) + { + obj2 = item; + } + if (LocalPluginMatchesRepo(item, thirdPartyRepoUrl, aliases)) + { + localPlugin = item; + break; + } + } + } + if (localPlugin == null && num == 1) + { + localPlugin = obj2; + } + if (localPlugin == null) + { + throw new InvalidOperationException((num == 0) ? ("Plugin '" + internalName + "' is not in PluginManager.InstalledPlugins - cannot enable") : $"Multiple copies of '{internalName}' installed and none match repo '{thirdPartyRepoUrl ?? "
"}' - cannot enable"); + } + Type localPluginType = localPlugin.GetType(); + string[] array = new string[4] { "IsBanned", "IsDecommissioned", "IsOrphaned", "IsOutdated" }; + object obj3; + foreach (string text2 in array) + { + obj3 = localPluginType.GetProperty(text2, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic)?.GetValue(localPlugin); + if (obj3 is bool && (bool)obj3) + { + throw new InvalidOperationException($"Plugin '{internalName}' cannot be enabled - {text2} is set"); + } + } + PropertyInfo isLoadedProperty = localPluginType.GetProperty("IsLoaded") ?? throw new InvalidOperationException("LocalPlugin has no IsLoaded property - Dalamud internals may have changed"); + obj3 = isLoadedProperty.GetValue(localPlugin); + bool flag = default(bool); + int num2; + if (obj3 is bool) + { + flag = (bool)obj3; + num2 = 1; + } + else + { + num2 = 0; + } + if (((uint)num2 & (flag ? 1u : 0u)) != 0) + { + return true; + } + if (!((localPluginType.GetProperty("EffectiveWorkingPluginId", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic) ?? throw new InvalidOperationException("LocalPlugin has no EffectiveWorkingPluginId property - Dalamud internals may have changed")).GetValue(localPlugin) is Guid guid)) + { + throw new InvalidOperationException("LocalPlugin.EffectiveWorkingPluginId was not a Guid - Dalamud internals may have changed"); + } + Type type = assembly.GetType("Dalamud.Plugin.Internal.Profiles.ProfileManager") ?? throw new InvalidOperationException("Could not find Dalamud.Plugin.Internal.Profiles.ProfileManager - Dalamud internals may have changed"); + object obj4 = ((assembly.GetType("Dalamud.Service`1") ?? throw new InvalidOperationException("Could not find Dalamud.Service`1 type - Dalamud internals may have changed")).MakeGenericType(type).GetMethod("Get") ?? throw new InvalidOperationException("Could not find Service.Get() - Dalamud internals may have changed")).Invoke(null, BindingFlags.Default, null, Array.Empty(), null) ?? throw new InvalidOperationException("Service.Get() returned null"); + object obj5 = (type.GetProperty("DefaultProfile", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic) ?? throw new InvalidOperationException("Could not find ProfileManager.DefaultProfile - Dalamud internals may have changed")).GetValue(obj4) ?? throw new InvalidOperationException("ProfileManager.DefaultProfile returned null - Dalamud internals may have changed"); + await ((((obj5.GetType().GetMethod("AddOrUpdateAsync", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic) ?? throw new InvalidOperationException("Could not find Profile.AddOrUpdateAsync - Dalamud internals may have changed")).Invoke(obj5, new object[4] { guid, internalName, true, false }) ?? throw new InvalidOperationException("Profile.AddOrUpdateAsync returned null - Dalamud internals may have changed")) as Task) ?? throw new InvalidOperationException("Profile.AddOrUpdateAsync did not return a Task - Dalamud internals may have changed")).ConfigureAwait(continueOnCapturedContext: false); + Type type2 = assembly.GetType("Dalamud.Plugin.PluginLoadReason") ?? throw new InvalidOperationException("Could not find Dalamud.Plugin.PluginLoadReason - Dalamud internals may have changed"); + object obj6 = Enum.Parse(type2, "Installer"); + MethodInfo methodInfo = localPluginType.GetMethod("LoadAsync", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic) ?? throw new InvalidOperationException("Could not find LocalPlugin.LoadAsync - Dalamud internals may have changed"); + ParameterInfo[] parameters = methodInfo.GetParameters(); + object[] array2 = new object[parameters.Length]; + for (int j = 0; j < parameters.Length; j++) + { + Type parameterType = parameters[j].ParameterType; + if (parameterType == type2) + { + array2[j] = obj6; + } + else if (parameterType == typeof(bool)) + { + array2[j] = false; + } + else + { + array2[j] = (parameters[j].HasDefaultValue ? parameters[j].DefaultValue : null); + } + } + await (((methodInfo.Invoke(localPlugin, array2) ?? throw new InvalidOperationException("LocalPlugin.LoadAsync returned null - Dalamud internals may have changed")) as Task) ?? throw new InvalidOperationException("LocalPlugin.LoadAsync did not return a Task - Dalamud internals may have changed")).ConfigureAwait(continueOnCapturedContext: false); + obj3 = isLoadedProperty.GetValue(localPlugin); + bool loadedAfter = default(bool); + int num3; + if (obj3 is bool) + { + loadedAfter = (bool)obj3; + num3 = 1; + } + else + { + num3 = 0; + } + if (((uint)num3 & (loadedAfter ? 1u : 0u)) != 0) + { + return true; + } + throw new InvalidOperationException("Plugin '" + internalName + "' did not transition to loaded after LoadAsync - see /xllog"); + } + + private static bool LocalPluginMatchesRepo(object localPlugin, string? expectedRepoUrl, IReadOnlyList? aliases = null) + { + object obj = localPlugin.GetType().GetProperty("Manifest", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic)?.GetValue(localPlugin); + if (obj == null) + { + if (string.IsNullOrEmpty(expectedRepoUrl)) + { + if (aliases != null) + { + return aliases.Count == 0; + } + return true; + } + return false; + } + string installedFrom = obj.GetType().GetProperty("InstalledFromUrl", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic)?.GetValue(obj) as string; + if (LocalPluginUrlMatches(installedFrom, expectedRepoUrl)) + { + return true; + } + if (aliases != null) + { + foreach (string alias in aliases) + { + if (LocalPluginUrlMatches(installedFrom, alias)) + { + return true; + } + } + } + return false; + } + + private static bool LocalPluginUrlMatches(string? installedFrom, string? expectedRepoUrl) + { + bool flag = string.IsNullOrEmpty(expectedRepoUrl); + bool flag2 = string.IsNullOrEmpty(installedFrom) || string.Equals(installedFrom, "OFFICIAL", StringComparison.OrdinalIgnoreCase); + if (flag && flag2) + { + return true; + } + if (flag || flag2) + { + return false; + } + return RepoUrlEquals(installedFrom, expectedRepoUrl); + } + + private static async Task InvokeReloadAsync(object pluginManager, MethodInfo reloadMethod) + { + await (((Task)reloadMethod.Invoke(pluginManager, new object[1] { true })) ?? throw new InvalidOperationException("PluginManager.SetPluginReposFromConfigAsync returned null - Dalamud internals may have changed")).ConfigureAwait(continueOnCapturedContext: false); + } + + private static bool IsVariantLoaded(object pluginManager, string internalName, string? thirdPartyRepoUrl, IReadOnlyList? aliases = null) + { + if (!((pluginManager.GetType().GetProperty("InstalledPlugins") ?? throw new InvalidOperationException("Could not find PluginManager.InstalledPlugins - Dalamud internals may have changed")).GetValue(pluginManager) is IEnumerable enumerable)) + { + return false; + } + foreach (object item in enumerable) + { + if (item != null && item.GetType().GetProperty("InternalName", BindingFlags.Instance | BindingFlags.Public)?.GetValue(item) is string text && !(text != internalName)) + { + object obj = item.GetType().GetProperty("IsLoaded", BindingFlags.Instance | BindingFlags.Public)?.GetValue(item); + if (obj is bool && (bool)obj && LocalPluginMatchesRepo(item, thirdPartyRepoUrl, aliases)) + { + return true; + } + } + } + return false; + } + + internal static bool RepoUrlEquals(string? a, string? b) + { + if (a == null || b == null) + { + return a == b; + } + return string.Equals(CanonicalizeRepoUrl(a), CanonicalizeRepoUrl(b), StringComparison.OrdinalIgnoreCase); + } + + private static string CanonicalizeRepoUrl(string url) + { + if (!Uri.TryCreate(url, UriKind.Absolute, out Uri result)) + { + return url.TrimEnd('/'); + } + string host = result.Host; + string[] array = result.AbsolutePath.Split('/', StringSplitOptions.RemoveEmptyEntries); + if (host.Equals("github.com", StringComparison.OrdinalIgnoreCase) && array.Length >= 4 && string.Equals(array[2], "raw", StringComparison.OrdinalIgnoreCase)) + { + string value = array[0]; + string value2 = array[1]; + int num = 3; + if (array.Length >= 6 && string.Equals(array[3], "refs", StringComparison.OrdinalIgnoreCase) && string.Equals(array[4], "heads", StringComparison.OrdinalIgnoreCase)) + { + num = 5; + } + if (array.Length > num) + { + string value3 = string.Join('/', array.Skip(num)); + return $"https://raw.githubusercontent.com/{value}/{value2}/{value3}"; + } + } + else if (host.Equals("raw.githubusercontent.com", StringComparison.OrdinalIgnoreCase) && array.Length >= 5 && string.Equals(array[2], "refs", StringComparison.OrdinalIgnoreCase) && string.Equals(array[3], "heads", StringComparison.OrdinalIgnoreCase)) + { + string value4 = array[0]; + string value5 = array[1]; + string value6 = string.Join('/', array.Skip(4)); + return $"https://raw.githubusercontent.com/{value4}/{value5}/{value6}"; + } + return new UriBuilder(result) + { + Host = host.ToLowerInvariant(), + Query = string.Empty, + Fragment = string.Empty, + Path = result.AbsolutePath.TrimEnd('/') + }.Uri.ToString().TrimEnd('/'); + } + + private static void AddOrEnableThirdPartyRepo(Assembly assembly, string repoUrl) + { + object dalamudConfiguration = GetDalamudConfiguration(assembly); + IList list = (GetFieldOrPropertyValue(dalamudConfiguration, "ThirdRepoList") as IList) ?? throw new InvalidOperationException("Could not read DalamudConfiguration.ThirdRepoList as IList - Dalamud internals may have changed"); + Type type = assembly.GetType("Dalamud.Configuration.ThirdPartyRepoSettings") ?? throw new InvalidOperationException("Could not find Dalamud.Configuration.ThirdPartyRepoSettings - Dalamud internals may have changed"); + foreach (object item in list) + { + if (item != null && RepoUrlEquals(GetFieldOrPropertyValue(item, "Url") as string, repoUrl)) + { + bool flag = false; + object fieldOrPropertyValue = GetFieldOrPropertyValue(item, "IsEnabled"); + if (fieldOrPropertyValue is bool && !(bool)fieldOrPropertyValue) + { + SetFieldOrPropertyValue(item, "IsEnabled", true); + flag = true; + } + if (flag) + { + SaveDalamudConfig(dalamudConfiguration); + } + return; + } + } + object obj = Activator.CreateInstance(type) ?? throw new InvalidOperationException("Activator.CreateInstance(ThirdPartyRepoSettings) returned null - Dalamud internals may have changed"); + SetFieldOrPropertyValue(obj, "Url", repoUrl); + SetFieldOrPropertyValue(obj, "IsEnabled", true); + list.Add(obj); + SaveDalamudConfig(dalamudConfiguration); + } + + private static object? GetFieldOrPropertyValue(object target, string name) + { + Type type = target.GetType(); + FieldInfo field = type.GetField(name, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); + if (field != null) + { + return field.GetValue(target); + } + PropertyInfo property = type.GetProperty(name, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); + if (property != null) + { + return property.GetValue(target); + } + throw new InvalidOperationException($"Could not find field or property '{name}' on {type.FullName} - Dalamud internals may have changed"); + } + + private static void SetFieldOrPropertyValue(object target, string name, object value) + { + Type type = target.GetType(); + FieldInfo field = type.GetField(name, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); + if (field != null) + { + field.SetValue(target, value); + return; + } + PropertyInfo property = type.GetProperty(name, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); + if (property != null && property.CanWrite) + { + property.SetValue(target, value); + return; + } + throw new InvalidOperationException($"Could not set field or property '{name}' on {type.FullName} - Dalamud internals may have changed"); + } + + private static object GetDalamudConfiguration(Assembly assembly) + { + Type? obj = assembly.GetType("Dalamud.Service`1") ?? throw new InvalidOperationException("Could not find Dalamud.Service`1 type - Dalamud internals may have changed"); + Type type = assembly.GetType("Dalamud.Configuration.Internal.DalamudConfiguration") ?? throw new InvalidOperationException("Could not find DalamudConfiguration type - Dalamud internals may have changed"); + return (obj.MakeGenericType(type).GetMethod("Get") ?? throw new InvalidOperationException("Could not find Service.Get() - Dalamud internals may have changed")).Invoke(null, BindingFlags.Default, null, Array.Empty(), null) ?? throw new InvalidOperationException("Service.Get() returned null"); + } + + private static void SaveDalamudConfig(object config) + { + (config.GetType().GetMethod("QueueSave", BindingFlags.Instance | BindingFlags.Public) ?? throw new InvalidOperationException("Could not find DalamudConfiguration.QueueSave() - Dalamud internals may have changed")).Invoke(config, null); + } + + private static object? FindAvailableManifest(object pluginManager, string internalName, string? thirdPartyRepoUrl, IReadOnlyList? aliases) + { + IEnumerable obj = ((pluginManager.GetType().GetProperty("AvailablePlugins", BindingFlags.Instance | BindingFlags.Public) ?? throw new InvalidOperationException("Could not find PluginManager.AvailablePlugins - Dalamud internals may have changed")).GetValue(pluginManager) as IEnumerable) ?? throw new InvalidOperationException("PluginManager.AvailablePlugins was not enumerable - Dalamud internals may have changed"); + object obj2 = null; + IEnumerator enumerator = obj.GetEnumerator(); + object obj4; + try + { + while (true) + { + if (enumerator.MoveNext()) + { + object current = enumerator.Current; + if (current == null) + { + continue; + } + PropertyInfo property = current.GetType().GetProperty("InternalName", BindingFlags.Instance | BindingFlags.Public); + if (property == null || !(property.GetValue(current) is string text) || text != internalName) + { + continue; + } + if (obj2 == null) + { + obj2 = current; + } + object obj3 = current.GetType().GetProperty("SourceRepo", BindingFlags.Instance | BindingFlags.Public)?.GetValue(current); + if (obj3 == null) + { + continue; + } + if (thirdPartyRepoUrl == null) + { + obj4 = obj3.GetType().GetProperty("IsThirdParty", BindingFlags.Instance | BindingFlags.Public)?.GetValue(obj3); + if (obj4 is bool && !(bool)obj4) + { + obj4 = current; + break; + } + continue; + } + string repoUrl = obj3.GetType().GetProperty("PluginMasterUrl", BindingFlags.Instance | BindingFlags.Public)?.GetValue(obj3) as string; + if (RepoUrlEquals(repoUrl, thirdPartyRepoUrl)) + { + obj4 = current; + break; + } + if (aliases != null && aliases.Any((string alias) => RepoUrlEquals(repoUrl, alias))) + { + obj4 = current; + break; + } + continue; + } + return obj2; + } + } + finally + { + IDisposable disposable = enumerator as IDisposable; + if (disposable != null) + { + disposable.Dispose(); + } + } + return obj4; + } + private void OnInstalledPluginsChanged() { _pluginLog.Verbose("Installed plugins changed event fired"); - _pluginsChanged = true; + Interlocked.Increment(ref _cacheVersion); + _pluginCache.Clear(); } } diff --git a/LLib/LLib/DataManagerExtensions.cs b/LLib/LLib/DataManagerExtensions.cs index 029aeaf..9036e1b 100644 --- a/LLib/LLib/DataManagerExtensions.cs +++ b/LLib/LLib/DataManagerExtensions.cs @@ -13,7 +13,7 @@ public static class DataManagerExtensions public static ReadOnlySeString? GetSeString(this IDataManager dataManager, string key) where T : struct, IQuestDialogueText, IExcelRow { ArgumentNullException.ThrowIfNull(dataManager, "dataManager"); - return dataManager.GetExcelSheet().Cast().SingleOrDefault((T? x) => x.Value.Key == key)?.Value; + return dataManager.GetExcelSheet().Cast().FirstOrDefault((T? x) => x.Value.Key == key)?.Value; } public static string? GetString(this IDataManager dataManager, string key, IPluginLog? pluginLog) where T : struct, IQuestDialogueText, IExcelRow @@ -28,7 +28,7 @@ public static class DataManagerExtensions { return null; } - return new Regex(string.Join("", seString.Select((ReadOnlySePayload payload) => (payload.Type == ReadOnlySePayloadType.Text) ? Regex.Escape(payload.ToString()) : "(.*)"))); + return seString.ToRegex(); } public static ReadOnlySeString? GetSeString(this IDataManager dataManager, uint rowId, Func mapper) where T : struct, IExcelRow @@ -72,7 +72,7 @@ public static class DataManagerExtensions public static Regex ToRegex(this ReadOnlySeString? text) { ArgumentNullException.ThrowIfNull(text, "text"); - return new Regex(string.Join("", text.Value.Select((ReadOnlySePayload payload) => (payload.Type == ReadOnlySePayloadType.Text) ? Regex.Escape(payload.ToString()) : "(.*)"))); + return new Regex(string.Join("", text.Value.Select((ReadOnlySePayload payload) => (payload.Type == ReadOnlySePayloadType.Text) ? Regex.Escape(payload.ToString()) : "(.*)")), RegexOptions.Compiled); } public static string WithCertainMacroCodeReplacements(this ReadOnlySeString text) diff --git a/LLib/LLib/PluginInstallState.cs b/LLib/LLib/PluginInstallState.cs new file mode 100644 index 0000000..b15fe08 --- /dev/null +++ b/LLib/LLib/PluginInstallState.cs @@ -0,0 +1,8 @@ +namespace LLib; + +public sealed class PluginInstallState +{ + public PluginInstallStatus Status { get; internal set; } + + public string? ErrorMessage { get; internal set; } +} diff --git a/LLib/LLib/PluginInstallStatus.cs b/LLib/LLib/PluginInstallStatus.cs new file mode 100644 index 0000000..7993c10 --- /dev/null +++ b/LLib/LLib/PluginInstallStatus.cs @@ -0,0 +1,9 @@ +namespace LLib; + +public enum PluginInstallStatus +{ + NotStarted, + InProgress, + Succeeded, + Failed +} diff --git a/LLib/LLib/PluginInstaller.cs b/LLib/LLib/PluginInstaller.cs new file mode 100644 index 0000000..1b3490b --- /dev/null +++ b/LLib/LLib/PluginInstaller.cs @@ -0,0 +1,284 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using Dalamud.Plugin; +using Dalamud.Plugin.Services; + +namespace LLib; + +public sealed class PluginInstaller : IDisposable +{ + private readonly DalamudReflector _reflector; + + private readonly IFramework _framework; + + private readonly IPluginLog _log; + + private readonly IDalamudPluginInterface _pluginInterface; + + private readonly Dictionary<(string InternalName, string Repo), PluginInstallState> _states = new Dictionary<(string, string), PluginInstallState>(); + + private (string InternalName, string Repo, IReadOnlyList? Aliases)? _currentOperation; + + private Task? _installTask; + + private bool _frameworkHooked; + + public bool IsAnyInstallInProgress => _currentOperation.HasValue; + + public PluginInstaller(DalamudReflector reflector, IFramework framework, IPluginLog log, IDalamudPluginInterface pluginInterface) + { + ArgumentNullException.ThrowIfNull(reflector, "reflector"); + ArgumentNullException.ThrowIfNull(framework, "framework"); + ArgumentNullException.ThrowIfNull(log, "log"); + ArgumentNullException.ThrowIfNull(pluginInterface, "pluginInterface"); + _reflector = reflector; + _framework = framework; + _log = log; + _pluginInterface = pluginInterface; + } + + public PluginInstallState GetState(string internalName, string? thirdPartyRepoUrl) + { + (string, string) key = (internalName, thirdPartyRepoUrl ?? string.Empty); + if (!_states.TryGetValue(key, out PluginInstallState value)) + { + value = new PluginInstallState(); + _states[key] = value; + } + return value; + } + + public bool TryInstall(string internalName, string? thirdPartyRepoUrl, IReadOnlyList? aliases = null) + { + if (_currentOperation.HasValue) + { + return false; + } + PluginInstallState state = GetState(internalName, thirdPartyRepoUrl); + IExposedPlugin exposedPlugin = _pluginInterface.InstalledPlugins.FirstOrDefault((IExposedPlugin p) => p.InternalName == internalName); + if (exposedPlugin != null) + { + state.Status = PluginInstallStatus.Failed; + state.ErrorMessage = (exposedPlugin.IsLoaded ? "Already installed and loaded" : "Already installed but disabled - use Enable instead"); + return false; + } + state.Status = PluginInstallStatus.InProgress; + state.ErrorMessage = null; + _currentOperation = (internalName, thirdPartyRepoUrl ?? string.Empty, aliases); + _installTask = _reflector.AddPluginAsync(internalName, thirdPartyRepoUrl, aliases); + if (!_frameworkHooked) + { + _framework.Update += OnFrameworkUpdate; + _frameworkHooked = true; + } + return true; + } + + public bool TryEnable(string internalName, string? thirdPartyRepoUrl, IReadOnlyList? aliases = null) + { + if (_currentOperation.HasValue) + { + return false; + } + PluginInstallState state = GetState(internalName, thirdPartyRepoUrl); + List list = _pluginInterface.InstalledPlugins.Where((IExposedPlugin p) => p.InternalName == internalName).ToList(); + IExposedPlugin exposedPlugin = list.FirstOrDefault((IExposedPlugin p) => MatchesRepo(p, thirdPartyRepoUrl, aliases)) ?? ((list.Count == 1) ? list[0] : null); + if (exposedPlugin == null) + { + state.Status = PluginInstallStatus.Failed; + state.ErrorMessage = ((list.Count == 0) ? "Not installed - nothing to enable" : "Multiple installed copies and none match the expected repo"); + return false; + } + if (exposedPlugin.IsLoaded) + { + state.Status = PluginInstallStatus.Succeeded; + state.ErrorMessage = null; + return false; + } + state.Status = PluginInstallStatus.InProgress; + state.ErrorMessage = null; + _currentOperation = (internalName, thirdPartyRepoUrl ?? string.Empty, aliases); + _installTask = _reflector.EnablePluginAsync(internalName, thirdPartyRepoUrl, aliases); + if (!_frameworkHooked) + { + _framework.Update += OnFrameworkUpdate; + _frameworkHooked = true; + } + return true; + } + + public void Dispose() + { + Task installTask = _installTask; + (string, string, IReadOnlyList)? currentOperation = _currentOperation; + if (installTask != null && currentOperation.HasValue) + { + (string, string, IReadOnlyList) value = currentOperation.Value; + string name = value.Item1; + string item = value.Item2; + IReadOnlyList aliases = value.Item3; + string repoOrNull = ((item.Length == 0) ? null : item); + PluginInstallState state = GetState(name, repoOrNull); + installTask.ContinueWith(delegate(Task t) + { + try + { + if (t.IsFaulted) + { + Exception ex = t.Exception?.GetBaseException(); + state.Status = PluginInstallStatus.Failed; + state.ErrorMessage = ex?.Message ?? "Unknown error"; + _log.Error(ex, "[PluginInstaller] Operation on " + name + " failed after dispose"); + } + else if (t.IsCompletedSuccessfully && t.Result) + { + state.Status = PluginInstallStatus.Succeeded; + state.ErrorMessage = null; + } + else if (t.IsCompletedSuccessfully) + { + bool flag = false; + try + { + flag = _pluginInterface.InstalledPlugins.Any((IExposedPlugin p) => p.InternalName == name && MatchesRepo(p, repoOrNull, aliases)); + } + catch + { + } + state.Status = (flag ? PluginInstallStatus.Succeeded : PluginInstallStatus.Failed); + state.ErrorMessage = (flag ? null : "Dalamud rejected the operation (see /xllog)"); + } + else + { + state.Status = PluginInstallStatus.Failed; + state.ErrorMessage = "Operation was cancelled"; + } + } + catch + { + state.Status = PluginInstallStatus.Failed; + state.ErrorMessage = "Operation outcome could not be determined after dispose"; + } + }, TaskScheduler.Default); + } + ClearCurrent(); + } + + private void OnFrameworkUpdate(IFramework framework) + { + Task installTask = _installTask; + (string, string, IReadOnlyList)? currentOperation = _currentOperation; + if (installTask == null || !currentOperation.HasValue || !installTask.IsCompleted) + { + return; + } + (string, string, IReadOnlyList) value = currentOperation.Value; + string name = value.Item1; + string item = value.Item2; + IReadOnlyList aliases = value.Item3; + string repoOrNull = ((item.Length == 0) ? null : item); + PluginInstallState state = GetState(name, repoOrNull); + if (installTask.IsFaulted) + { + Exception ex = installTask.Exception?.GetBaseException(); + string errorMessage = ex?.Message ?? "Unknown error"; + _log.Error(ex, "[PluginInstaller] Operation on " + name + " failed"); + state.Status = PluginInstallStatus.Failed; + state.ErrorMessage = errorMessage; + ClearCurrent(); + return; + } + bool result; + try + { + result = installTask.Result; + } + catch (Exception ex2) + { + _log.Error(ex2, "[PluginInstaller] Operation on " + name + " task.Result threw"); + state.Status = PluginInstallStatus.Failed; + state.ErrorMessage = ex2.Message; + ClearCurrent(); + return; + } + if (result) + { + _log.Information("[PluginInstaller] Completed operation on " + name); + state.Status = PluginInstallStatus.Succeeded; + state.ErrorMessage = null; + ClearCurrent(); + } + else if (_pluginInterface.InstalledPlugins.Any((IExposedPlugin p) => p.InternalName == name && MatchesRepo(p, repoOrNull, aliases))) + { + _log.Information("[PluginInstaller] Completed operation on " + name + " (fallback - task returned false but plugin is present)"); + state.Status = PluginInstallStatus.Succeeded; + state.ErrorMessage = null; + ClearCurrent(); + } + else + { + _log.Error("[PluginInstaller] Operation on " + name + " rejected by Dalamud"); + state.Status = PluginInstallStatus.Failed; + state.ErrorMessage = "Dalamud rejected the operation (see /xllog)"; + ClearCurrent(); + } + } + + private void ClearCurrent() + { + _currentOperation = null; + _installTask = null; + if (_frameworkHooked) + { + _framework.Update -= OnFrameworkUpdate; + _frameworkHooked = false; + } + } + + public static bool MatchesRepo(IExposedPlugin plugin, string? expectedRepoUrl, IReadOnlyList? aliases = null) + { + string installedFrom = TryGetInstalledFromUrl(plugin); + if (SingleRepoUrlMatches(installedFrom, expectedRepoUrl)) + { + return true; + } + if (aliases != null) + { + foreach (string alias in aliases) + { + if (SingleRepoUrlMatches(installedFrom, alias)) + { + return true; + } + } + } + return false; + } + + private static bool SingleRepoUrlMatches(string? installedFrom, string? expectedRepoUrl) + { + bool flag = string.IsNullOrEmpty(expectedRepoUrl); + bool flag2 = string.IsNullOrEmpty(installedFrom) || string.Equals(installedFrom, "OFFICIAL", StringComparison.OrdinalIgnoreCase); + if (flag && flag2) + { + return true; + } + if (flag || flag2) + { + return false; + } + return DalamudReflector.RepoUrlEquals(installedFrom, expectedRepoUrl); + } + + private static string? TryGetInstalledFromUrl(IExposedPlugin plugin) + { + object obj = plugin.GetType().GetProperty("Manifest")?.GetValue(plugin); + if (obj == null) + { + return null; + } + return obj.GetType().GetProperty("InstalledFromUrl")?.GetValue(obj) as string; + } +} diff --git a/LLib/LLib/PollHelper.cs b/LLib/LLib/PollHelper.cs new file mode 100644 index 0000000..4efd9a0 --- /dev/null +++ b/LLib/LLib/PollHelper.cs @@ -0,0 +1,53 @@ +using System; +using System.Threading; +using System.Threading.Tasks; +using Dalamud.Plugin.Services; + +namespace LLib; + +public static class PollHelper +{ + private static readonly TimeSpan DefaultInterval = TimeSpan.FromMilliseconds(100L); + + public static async Task PollUntilAsync(Func action, TimeSpan timeout, CancellationToken ct, TimeSpan? interval = null) + { + bool infinite = timeout < TimeSpan.Zero; + long deadlineMs = Environment.TickCount64 + (long)timeout.TotalMilliseconds; + TimeSpan delay = interval ?? DefaultInterval; + while (true) + { + ct.ThrowIfCancellationRequested(); + if (action()) + { + return true; + } + if (!infinite && Environment.TickCount64 >= deadlineMs) + { + break; + } + await Task.Delay(delay, ct); + } + return false; + } + + public static async Task PollUntilOnFrameworkAsync(this IFramework framework, Func action, TimeSpan timeout, CancellationToken ct, TimeSpan? interval = null) + { + bool infinite = timeout < TimeSpan.Zero; + long deadlineMs = Environment.TickCount64 + (long)timeout.TotalMilliseconds; + TimeSpan delay = interval ?? DefaultInterval; + while (true) + { + ct.ThrowIfCancellationRequested(); + if (await framework.RunOnFrameworkThread(action).WaitAsync(ct)) + { + return true; + } + if (!infinite && Environment.TickCount64 >= deadlineMs) + { + break; + } + await Task.Delay(delay, ct); + } + return false; + } +} diff --git a/LLib/LLib/Throttle.cs b/LLib/LLib/Throttle.cs new file mode 100644 index 0000000..9e976db --- /dev/null +++ b/LLib/LLib/Throttle.cs @@ -0,0 +1,26 @@ +using System; + +namespace LLib; + +public struct Throttle +{ + private long _nextAllowedMs; + + public readonly bool IsReady => Environment.TickCount64 >= _nextAllowedMs; + + public bool TryReset(double cooldownSeconds) + { + long tickCount = Environment.TickCount64; + if (tickCount < _nextAllowedMs) + { + return false; + } + _nextAllowedMs = tickCount + (long)(cooldownSeconds * 1000.0); + return true; + } + + public void Clear() + { + _nextAllowedMs = 0L; + } +} diff --git a/QuestPaths/-----------------------------------------.cs b/QuestPaths/-----------------------------------------.cs new file mode 100644 index 0000000..022127e --- /dev/null +++ b/QuestPaths/-----------------------------------------.cs @@ -0,0 +1,1039 @@ +using System; +using System.IO; + +internal struct _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E +{ + internal uint _206D_202D_202C_206E_206B_200C_202D_200B_206A_202E_200B_206D_200E_206B_202B_200C_202C_206B_206E_206C_206E_206C_206E_206F_202E_206D_200B_202E_206B_206E_206C_200F_200F_200B_206A_202E_202D_200B_200B_202A_202E; + + internal void _202B_200B_206C_206D_206E_202E_200B_202D_206E_202B_202E_206C_206B_202C_200E_206A_200E_202B_200D_202B_200F_202E_200E_206C_206F_202E_206D_202A_202E_206A_206F_200B_200C_202A_206B_200C_206D_206C_206A_206F_202E() + { + _206D_202D_202C_206E_206B_200C_202D_200B_206A_202E_200B_206D_200E_206B_202B_200C_202C_206B_206E_206C_206E_206C_206E_206F_202E_206D_200B_202E_206B_206E_206C_200F_200F_200B_206A_202E_202D_200B_200B_202A_202E = 1024u; + } + + internal uint _200B_202C_202D_206D_206F_206C_200E_206F_200E_202D_200C_202A_202D_202A_202D_206D_202C_200B_202A_206B_200D_200C_200D_202A_202B_202D_206C_202E_206E_200D_206B_200E_200F_200F_202B_202C_206F_200F_206D_202E_202E(_202E_206F_206A_200E_200D_200B_200D_200C_200B_200D_206C_206B_202E_206D_206F_206E_206B_202A_202B_202D_202B_206C_200C_206A_206B_200B_200E_200B_202B_202B_206B_200B_200C_202E_206E_206C_206E_200C_206A_200C_202E rangeDecoder) + { + uint num = (rangeDecoder._206C_200D_200D_206C_202D_206A_200D_206A_206B_200C_206E_206F_200E_202A_206B_200E_206B_202C_200C_200B_200B_206C_206B_206C_202B_206D_200F_200F_206C_200B_206D_200F_202E_200E_200F_206A_200E_200B_206B_206B_202E >> 11) * _206D_202D_202C_206E_206B_200C_202D_200B_206A_202E_200B_206D_200E_206B_202B_200C_202C_206B_206E_206C_206E_206C_206E_206F_202E_206D_200B_202E_206B_206E_206C_200F_200F_200B_206A_202E_202D_200B_200B_202A_202E; + int num3; + int num4; + if (rangeDecoder._206A_202D_206D_200F_200E_202C_202C_200B_200D_200C_206B_200C_206B_206F_206B_200E_206C_206E_202C_202C_202C_206E_206A_202D_202D_202B_206C_200D_206D_206F_202D_206E_202B_206A_200F_206E_206A_200E_200D_200F_202E < num) + { + rangeDecoder._206C_200D_200D_206C_202D_206A_200D_206A_206B_200C_206E_206F_200E_202A_206B_200E_206B_202C_200C_200B_200B_206C_206B_206C_202B_206D_200F_200F_206C_200B_206D_200F_202E_200E_200F_206A_200E_200B_206B_206B_202E = num; + uint num2 = _206D_202D_202C_206E_206B_200C_202D_200B_206A_202E_200B_206D_200E_206B_202B_200C_202C_206B_206E_206C_206E_206C_206E_206F_202E_206D_200B_202E_206B_206E_206C_200F_200F_200B_206A_202E_202D_200B_200B_202A_202E; + num3 = (int)_206D_202D_202C_206E_206B_200C_202D_200B_206A_202E_200B_206D_200E_206B_202B_200C_202C_206B_206E_206C_206E_206C_206E_206F_202E_206D_200B_202E_206B_206E_206C_200F_200F_200B_206A_202E_202D_200B_200B_202A_202E; + num4 = 2048; + num3 = ~(~num4 + num3) >>> 5; + num4 = (int)num2; + _206D_202D_202C_206E_206B_200C_202D_200B_206A_202E_200B_206D_200E_206B_202B_200C_202C_206B_206E_206C_206E_206C_206E_206F_202E_206D_200B_202E_206B_206E_206C_200F_200F_200B_206A_202E_202D_200B_200B_202A_202E = (uint)((num4 | num3) + (num4 & num3)); + if (rangeDecoder._206C_200D_200D_206C_202D_206A_200D_206A_206B_200C_206E_206F_200E_202A_206B_200E_206B_202C_200C_200B_200B_206C_206B_206C_202B_206D_200F_200F_206C_200B_206D_200F_202E_200E_200F_206A_200E_200B_206B_206B_202E < 16777216) + { + rangeDecoder._206A_202D_206D_200F_200E_202C_202C_200B_200D_200C_206B_200C_206B_206F_206B_200E_206C_206E_202C_202C_202C_206E_206A_202D_202D_202B_206C_200D_206D_206F_202D_206E_202B_206A_200F_206E_206A_200E_200D_200F_202E = (rangeDecoder._206A_202D_206D_200F_200E_202C_202C_200B_200D_200C_206B_200C_206B_206F_206B_200E_206C_206E_202C_202C_202C_206E_206A_202D_202D_202B_206C_200D_206D_206F_202D_206E_202B_206A_200F_206E_206A_200E_200D_200F_202E << 8) | (byte)rangeDecoder._200D_206B_200D_200E_206D_206D_206E_200B_202B_202C_206D_206C_202A_206E_206A_200C_202D_202A_200F_202B_200D_200F_206F_202A_200F_200D_202A_200E_206A_200C_206A_206C_200C_200E_206B_200B_200E_200E_200F_206C_202E.ReadByte(); + rangeDecoder._206C_200D_200D_206C_202D_206A_200D_206A_206B_200C_206E_206F_200E_202A_206B_200E_206B_202C_200C_200B_200B_206C_206B_206C_202B_206D_200F_200F_206C_200B_206D_200F_202E_200E_200F_206A_200E_200B_206B_206B_202E <<= 8; + } + return 0u; + } + uint num5 = rangeDecoder._206C_200D_200D_206C_202D_206A_200D_206A_206B_200C_206E_206F_200E_202A_206B_200E_206B_202C_200C_200B_200B_206C_206B_206C_202B_206D_200F_200F_206C_200B_206D_200F_202E_200E_200F_206A_200E_200B_206B_206B_202E; + num3 = (int)num; + num4 = (int)num5; + rangeDecoder._206C_200D_200D_206C_202D_206A_200D_206A_206B_200C_206E_206F_200E_202A_206B_200E_206B_202C_200C_200B_200B_206C_206B_206C_202B_206D_200F_200F_206C_200B_206D_200F_202E_200E_200F_206A_200E_200B_206B_206B_202E = (uint)(~(~num4 + num3)); + uint num6 = rangeDecoder._206A_202D_206D_200F_200E_202C_202C_200B_200D_200C_206B_200C_206B_206F_206B_200E_206C_206E_202C_202C_202C_206E_206A_202D_202D_202B_206C_200D_206D_206F_202D_206E_202B_206A_200F_206E_206A_200E_200D_200F_202E; + num3 = (int)num; + num4 = (int)num6; + rangeDecoder._206A_202D_206D_200F_200E_202C_202C_200B_200D_200C_206B_200C_206B_206F_206B_200E_206C_206E_202C_202C_202C_206E_206A_202D_202D_202B_206C_200D_206D_206F_202D_206E_202B_206A_200F_206E_206A_200E_200D_200F_202E = (uint)(~(~num4 + num3)); + uint num7 = _206D_202D_202C_206E_206B_200C_202D_200B_206A_202E_200B_206D_200E_206B_202B_200C_202C_206B_206E_206C_206E_206C_206E_206F_202E_206D_200B_202E_206B_206E_206C_200F_200F_200B_206A_202E_202D_200B_200B_202A_202E; + num3 = (int)(_206D_202D_202C_206E_206B_200C_202D_200B_206A_202E_200B_206D_200E_206B_202B_200C_202C_206B_206E_206C_206E_206C_206E_206F_202E_206D_200B_202E_206B_206E_206C_200F_200F_200B_206A_202E_202D_200B_200B_202A_202E >> 5); + num4 = (int)num7; + _206D_202D_202C_206E_206B_200C_202D_200B_206A_202E_200B_206D_200E_206B_202B_200C_202C_206B_206E_206C_206E_206C_206E_206F_202E_206D_200B_202E_206B_206E_206C_200F_200F_200B_206A_202E_202D_200B_200B_202A_202E = (uint)(~(~num4 + num3)); + if (rangeDecoder._206C_200D_200D_206C_202D_206A_200D_206A_206B_200C_206E_206F_200E_202A_206B_200E_206B_202C_200C_200B_200B_206C_206B_206C_202B_206D_200F_200F_206C_200B_206D_200F_202E_200E_200F_206A_200E_200B_206B_206B_202E < 16777216) + { + rangeDecoder._206A_202D_206D_200F_200E_202C_202C_200B_200D_200C_206B_200C_206B_206F_206B_200E_206C_206E_202C_202C_202C_206E_206A_202D_202D_202B_206C_200D_206D_206F_202D_206E_202B_206A_200F_206E_206A_200E_200D_200F_202E = (rangeDecoder._206A_202D_206D_200F_200E_202C_202C_200B_200D_200C_206B_200C_206B_206F_206B_200E_206C_206E_202C_202C_202C_206E_206A_202D_202D_202B_206C_200D_206D_206F_202D_206E_202B_206A_200F_206E_206A_200E_200D_200F_202E << 8) | (byte)rangeDecoder._200D_206B_200D_200E_206D_206D_206E_200B_202B_202C_206D_206C_202A_206E_206A_200C_202D_202A_200F_202B_200D_200F_206F_202A_200F_200D_202A_200E_206A_200C_206A_206C_200C_200E_206B_200B_200E_200E_200F_206C_202E.ReadByte(); + rangeDecoder._206C_200D_200D_206C_202D_206A_200D_206A_206B_200C_206E_206F_200E_202A_206B_200E_206B_202C_200C_200B_200B_206C_206B_206C_202B_206D_200F_200F_206C_200B_206D_200F_202E_200E_200F_206A_200E_200B_206B_206B_202E <<= 8; + } + return 1u; + } +} +internal struct _202B_202E_206F_202C_200B_202C_206C_202E_202B_200B_202A_202A_200C_206D_206C_206F_206F_206C_200F_206A_202C_202D_202E_200F_206F_206D_206F_206D_206B_200F_202A_200B_200B_202D_200F_202C_200F_202D_206D_206F_202E +{ + internal readonly _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E[] _200B_206F_202C_200B_202B_206E_206A_206D_202D_202B_200E_200C_202C_202B_202D_202A_206D_200F_206C_200E_206B_200E_202A_206E_206D_200E_202D_206D_200E_202C_200D_206E_206F_202D_206B_202D_200B_202D_200E_202E_202E; + + internal readonly int _200F_206C_206F_202E_202A_202B_200B_202C_206F_200B_206B_202C_200D_200D_200B_206F_206B_200E_202C_200C_202A_206C_200D_200D_206D_200E_200F_206C_206A_202D_206F_200F_206A_206F_202A_206B_200D_206B_200D_206B_202E; + + internal _202B_202E_206F_202C_200B_202C_206C_202E_202B_200B_202A_202A_200C_206D_206C_206F_206F_206C_200F_206A_202C_202D_202E_200F_206F_206D_206F_206D_206B_200F_202A_200B_200B_202D_200F_202C_200F_202D_206D_206F_202E(int numBitLevels) + { + _200F_206C_206F_202E_202A_202B_200B_202C_206F_200B_206B_202C_200D_200D_200B_206F_206B_200E_202C_200C_202A_206C_200D_200D_206D_200E_200F_206C_206A_202D_206F_200F_206A_206F_202A_206B_200D_206B_200D_206B_202E = numBitLevels; + int num = 31; + _200B_206F_202C_200B_202B_206E_206A_206D_202D_202B_200E_200C_202C_202B_202D_202A_206D_200F_206C_200E_206B_200E_202A_206E_206D_200E_202D_206D_200E_202C_200D_206E_206F_202D_206B_202D_200B_202D_200E_202E_202E = new _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E[1 << (numBitLevels | num) - (numBitLevels ^ num)]; + } + + internal void _206F_202A_202D_206F_200E_202A_202C_206D_202D_206E_200E_200D_206B_202A_206F_200D_206A_200D_206C_202E_200C_200B_200B_200C_200E_202A_202B_202B_202C_202C_206F_200C_206C_206F_202C_202A_200D_206A_202D_206F_202E() + { + uint num = 1u; + while (true) + { + long num2 = num; + int num3 = _200F_206C_206F_202E_202A_202B_200B_202C_206F_200B_206B_202C_200D_200D_200B_206F_206B_200E_202C_200C_202A_206C_200D_200D_206D_200E_200F_206C_206A_202D_206F_200F_206A_206F_202A_206B_200D_206B_200D_206B_202E; + int num4 = 31; + int num5 = num3; + if (num2 < 1 << (num5 | num4) - (num5 ^ num4)) + { + _200B_206F_202C_200B_202B_206E_206A_206D_202D_202B_200E_200C_202C_202B_202D_202A_206D_200F_206C_200E_206B_200E_202A_206E_206D_200E_202D_206D_200E_202C_200D_206E_206F_202D_206B_202D_200B_202D_200E_202E_202E[num]._202B_200B_206C_206D_206E_202E_200B_202D_206E_202B_202E_206C_206B_202C_200E_206A_200E_202B_200D_202B_200F_202E_200E_206C_206F_202E_206D_202A_202E_206A_206F_200B_200C_202A_206B_200C_206D_206C_206A_206F_202E(); + uint num6 = num; + num4 = 1; + num5 = (int)num6; + num = (uint)((num5 | num4) + (num5 & num4)); + continue; + } + break; + } + } + + internal uint _202B_206E_206A_200C_202A_200E_202A_206D_200B_200D_206F_200D_202C_200C_206D_200D_202E_206B_206C_202C_206A_200B_206C_202C_202B_206F_206F_202E_200E_200E_202C_202B_202C_202E_206B_206A_200F_200F_200F_206A_202E(_202E_206F_206A_200E_200D_200B_200D_200C_200B_200D_206C_206B_202E_206D_206F_206E_206B_202A_202B_202D_202B_206C_200C_206A_206B_200B_200E_200B_202B_202B_206B_200B_200C_202E_206E_206C_206E_200C_206A_200C_202E rangeDecoder) + { + uint num = 1u; + int num4; + int num5; + for (int num2 = _200F_206C_206F_202E_202A_202B_200B_202C_206F_200B_206B_202C_200D_200D_200B_206F_206B_200E_202C_200C_202A_206C_200D_200D_206D_200E_200F_206C_206A_202D_206F_200F_206A_206F_202A_206B_200D_206B_200D_206B_202E; num2 > 0; num2 = ~(~num5 + num4)) + { + num = (num << 1) + _200B_206F_202C_200B_202B_206E_206A_206D_202D_202B_200E_200C_202C_202B_202D_202A_206D_200F_206C_200E_206B_200E_202A_206E_206D_200E_202D_206D_200E_202C_200D_206E_206F_202D_206B_202D_200B_202D_200E_202E_202E[num]._200B_202C_202D_206D_206F_206C_200E_206F_200E_202D_200C_202A_202D_202A_202D_206D_202C_200B_202A_206B_200D_200C_200D_202A_202B_202D_206C_202E_206E_200D_206B_200E_200F_200F_202B_202C_206F_200F_206D_202E_202E(rangeDecoder); + int num3 = num2; + num4 = 1; + num5 = num3; + } + uint num6 = num; + int num7 = _200F_206C_206F_202E_202A_202B_200B_202C_206F_200B_206B_202C_200D_200D_200B_206F_206B_200E_202C_200C_202A_206C_200D_200D_206D_200E_200F_206C_206A_202D_206F_200F_206A_206F_202A_206B_200D_206B_200D_206B_202E; + num4 = 31; + num5 = num7; + num4 = 1 << num5 + num4 - (num5 | num4); + num5 = (int)num6; + return (uint)(~(~num5 + num4)); + } + + internal uint _206A_202D_206E_202E_206F_200D_200C_200D_200B_206D_206B_206C_206B_206D_206A_202C_206E_206D_202E_202E_202A_206C_202B_202E_200F_200B_206C_200F_202A_200C_202E_200E_202D_200E_206B_206C_200E_206B_202A_202C_202E(_202E_206F_206A_200E_200D_200B_200D_200C_200B_200D_206C_206B_202E_206D_206F_206E_206B_202A_202B_202D_202B_206C_200C_206A_206B_200B_200E_200B_202B_202B_206B_200B_200C_202E_206E_206C_206E_200C_206A_200C_202E rangeDecoder) + { + uint num = 1u; + uint num2 = 0u; + int num3 = 0; + while (num3 < _200F_206C_206F_202E_202A_202B_200B_202C_206F_200B_206B_202C_200D_200D_200B_206F_206B_200E_202C_200C_202A_206C_200D_200D_206D_200E_200F_206C_206A_202D_206F_200F_206A_206F_202A_206B_200D_206B_200D_206B_202E) + { + uint num4 = _200B_206F_202C_200B_202B_206E_206A_206D_202D_202B_200E_200C_202C_202B_202D_202A_206D_200F_206C_200E_206B_200E_202A_206E_206D_200E_202D_206D_200E_202C_200D_206E_206F_202D_206B_202D_200B_202D_200E_202E_202E[num]._200B_202C_202D_206D_206F_206C_200E_206F_200E_202D_200C_202A_202D_202A_202D_206D_202C_200B_202A_206B_200D_200C_200D_202A_202B_202D_206C_202E_206E_200D_206B_200E_200F_200F_202B_202C_206F_200F_206D_202E_202E(rangeDecoder); + num <<= 1; + uint num5 = num; + int num6 = (int)num4; + int num7 = (int)num5; + num = (uint)((num7 | num6) + (num7 & num6)); + uint num8 = num2; + int num9 = num3; + num6 = 31; + num7 = num9; + num6 = (int)(num4 << (num7 | num6) - (num7 ^ num6)); + num7 = (int)num8; + num2 = (uint)((num7 & num6) + (num7 ^ num6)); + int num10 = num3; + num6 = 1; + num7 = num10; + num3 = (num7 | num6) + (num7 & num6); + } + return num2; + } + + internal static uint _202B_206F_200E_206A_200B_206B_200B_202A_206E_200E_200D_206A_200E_202B_202A_200B_206F_202B_200C_206B_202A_200E_206D_202D_202B_206F_200E_202D_206E_202D_202B_206E_206A_206B_202C_200C_200E_206D_202C_202E(_200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E[] Models, uint startIndex, _202E_206F_206A_200E_200D_200B_200D_200C_200B_200D_206C_206B_202E_206D_206F_206E_206B_202A_202B_202D_202B_206C_200C_206A_206B_200B_200E_200B_202B_202B_206B_200B_200C_202E_206E_206C_206E_200C_206A_200C_202E rangeDecoder, int NumBitLevels) + { + uint num = 1u; + uint num2 = 0u; + int num3 = 0; + while (num3 < NumBitLevels) + { + int num4 = (int)num; + int num5 = (int)startIndex; + int num6 = num5 ^ num4; + int num7 = num5 & num4; + uint num8 = Models[num6 + (num7 + num7)]._200B_202C_202D_206D_206F_206C_200E_206F_200E_202D_200C_202A_202D_202A_202D_206D_202C_200B_202A_206B_200D_200C_200D_202A_202B_202D_206C_202E_206E_200D_206B_200E_200F_200F_202B_202C_206F_200F_206D_202E_202E(rangeDecoder); + num <<= 1; + uint num9 = num; + num4 = (int)num8; + num5 = (int)num9; + num = (uint)((num5 | num4) + (num5 & num4)); + uint num10 = num2; + int num11 = num3; + num4 = 31; + num5 = num11; + num4 = (int)(num8 << (num5 | num4) - (num5 ^ num4)); + num5 = (int)num10; + num2 = (uint)(num5 + num4 - (num5 & num4)); + int num12 = num3; + num4 = 1; + num5 = num12; + num3 = (num5 | num4) + (num5 & num4); + } + return num2; + } +} +internal class _202E_206F_206A_200E_200D_200B_200D_200C_200B_200D_206C_206B_202E_206D_206F_206E_206B_202A_202B_202D_202B_206C_200C_206A_206B_200B_200E_200B_202B_202B_206B_200B_200C_202E_206E_206C_206E_200C_206A_200C_202E +{ + internal uint _206A_202D_206D_200F_200E_202C_202C_200B_200D_200C_206B_200C_206B_206F_206B_200E_206C_206E_202C_202C_202C_206E_206A_202D_202D_202B_206C_200D_206D_206F_202D_206E_202B_206A_200F_206E_206A_200E_200D_200F_202E; + + internal uint _206C_200D_200D_206C_202D_206A_200D_206A_206B_200C_206E_206F_200E_202A_206B_200E_206B_202C_200C_200B_200B_206C_206B_206C_202B_206D_200F_200F_206C_200B_206D_200F_202E_200E_200F_206A_200E_200B_206B_206B_202E; + + internal Stream _200D_206B_200D_200E_206D_206D_206E_200B_202B_202C_206D_206C_202A_206E_206A_200C_202D_202A_200F_202B_200D_200F_206F_202A_200F_200D_202A_200E_206A_200C_206A_206C_200C_200E_206B_200B_200E_200E_200F_206C_202E; + + internal void _200C_206A_206E_200C_206C_200B_206E_206D_200B_202D_202E_200D_206E_206C_200D_202D_200C_200D_200F_202E_202D_200F_206B_206C_200D_200B_206C_206B_200E_200F_202E_202C_206B_206B_200F_200C_202E_200B_202A_200E_202E(Stream stream) + { + _200D_206B_200D_200E_206D_206D_206E_200B_202B_202C_206D_206C_202A_206E_206A_200C_202D_202A_200F_202B_200D_200F_206F_202A_200F_200D_202A_200E_206A_200C_206A_206C_200C_200E_206B_200B_200E_200E_200F_206C_202E = stream; + _206A_202D_206D_200F_200E_202C_202C_200B_200D_200C_206B_200C_206B_206F_206B_200E_206C_206E_202C_202C_202C_206E_206A_202D_202D_202B_206C_200D_206D_206F_202D_206E_202B_206A_200F_206E_206A_200E_200D_200F_202E = 0u; + _206C_200D_200D_206C_202D_206A_200D_206A_206B_200C_206E_206F_200E_202A_206B_200E_206B_202C_200C_200B_200B_206C_206B_206C_202B_206D_200F_200F_206C_200B_206D_200F_202E_200E_200F_206A_200E_200B_206B_206B_202E = uint.MaxValue; + int num = 0; + while (num < 5) + { + _206A_202D_206D_200F_200E_202C_202C_200B_200D_200C_206B_200C_206B_206F_206B_200E_206C_206E_202C_202C_202C_206E_206A_202D_202D_202B_206C_200D_206D_206F_202D_206E_202B_206A_200F_206E_206A_200E_200D_200F_202E = (_206A_202D_206D_200F_200E_202C_202C_200B_200D_200C_206B_200C_206B_206F_206B_200E_206C_206E_202C_202C_202C_206E_206A_202D_202D_202B_206C_200D_206D_206F_202D_206E_202B_206A_200F_206E_206A_200E_200D_200F_202E << 8) | (byte)_200D_206B_200D_200E_206D_206D_206E_200B_202B_202C_206D_206C_202A_206E_206A_200C_202D_202A_200F_202B_200D_200F_206F_202A_200F_200D_202A_200E_206A_200C_206A_206C_200C_200E_206B_200B_200E_200E_200F_206C_202E.ReadByte(); + int num2 = num; + int num3 = 1; + int num4 = num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = num5 + (num6 + num6); + } + } + + internal void _206D_202E_200E_206D_200C_206B_202C_200B_202B_202A_202B_206D_202C_206D_206B_202D_200B_206D_202A_202D_206B_200D_200E_200F_206E_206E_202E_206E_200E_200C_200F_202B_200F_202D_206B_206C_202D_200F_200C_202E_202E() + { + _200D_206B_200D_200E_206D_206D_206E_200B_202B_202C_206D_206C_202A_206E_206A_200C_202D_202A_200F_202B_200D_200F_206F_202A_200F_200D_202A_200E_206A_200C_206A_206C_200C_200E_206B_200B_200E_200E_200F_206C_202E = null; + } + + internal void _206A_202D_200F_200E_206A_206C_200E_206F_206C_200C_200C_202D_202C_200B_206A_202C_200C_206E_202C_206D_202D_206D_200C_200E_202E_206B_202C_202C_206F_200D_200B_206B_206D_206B_206D_202D_202C_200F_202E_200E_202E() + { + while (_206C_200D_200D_206C_202D_206A_200D_206A_206B_200C_206E_206F_200E_202A_206B_200E_206B_202C_200C_200B_200B_206C_206B_206C_202B_206D_200F_200F_206C_200B_206D_200F_202E_200E_200F_206A_200E_200B_206B_206B_202E < 16777216) + { + _206A_202D_206D_200F_200E_202C_202C_200B_200D_200C_206B_200C_206B_206F_206B_200E_206C_206E_202C_202C_202C_206E_206A_202D_202D_202B_206C_200D_206D_206F_202D_206E_202B_206A_200F_206E_206A_200E_200D_200F_202E = (_206A_202D_206D_200F_200E_202C_202C_200B_200D_200C_206B_200C_206B_206F_206B_200E_206C_206E_202C_202C_202C_206E_206A_202D_202D_202B_206C_200D_206D_206F_202D_206E_202B_206A_200F_206E_206A_200E_200D_200F_202E << 8) | (byte)_200D_206B_200D_200E_206D_206D_206E_200B_202B_202C_206D_206C_202A_206E_206A_200C_202D_202A_200F_202B_200D_200F_206F_202A_200F_200D_202A_200E_206A_200C_206A_206C_200C_200E_206B_200B_200E_200E_200F_206C_202E.ReadByte(); + _206C_200D_200D_206C_202D_206A_200D_206A_206B_200C_206E_206F_200E_202A_206B_200E_206B_202C_200C_200B_200B_206C_206B_206C_202B_206D_200F_200F_206C_200B_206D_200F_202E_200E_200F_206A_200E_200B_206B_206B_202E <<= 8; + } + } + + internal uint _202C_202B_200F_206F_202A_202A_206D_202B_206F_202A_206D_200B_200B_202D_206F_206C_200F_200B_200C_206F_200B_202B_202A_200F_202B_206C_202E_200E_200E_202E_206E_206A_206D_200C_206E_206E_202C_200F_202A_202E_202E(int numTotalBits) + { + uint num = _206C_200D_200D_206C_202D_206A_200D_206A_206B_200C_206E_206F_200E_202A_206B_200E_206B_202C_200C_200B_200B_206C_206B_206C_202B_206D_200F_200F_206C_200B_206D_200F_202E_200E_200F_206A_200E_200B_206B_206B_202E; + uint num2 = _206A_202D_206D_200F_200E_202C_202C_200B_200D_200C_206B_200C_206B_206F_206B_200E_206C_206E_202C_202C_202C_206E_206A_202D_202D_202B_206C_200D_206D_206F_202D_206E_202B_206A_200F_206E_206A_200E_200D_200F_202E; + uint num3 = 0u; + int num4 = numTotalBits; + while (num4 > 0) + { + num >>= 1; + uint num5 = num2; + int num6 = (int)num; + int num7 = (int)num5; + uint num8 = (uint)(~(~num7 + num6)) >> 31; + uint num9 = num2; + uint num10 = num; + num6 = 1; + num7 = (int)num8; + num6 = ~(~num7 + num6); + num7 = (int)num10; + num6 = num7 + num6 - (num7 | num6); + num7 = (int)num9; + num2 = (uint)(~(~num7 + num6)); + uint num11 = num3 << 1; + num6 = (int)num8; + num7 = 1; + num6 = ~(~num7 + num6); + num7 = (int)num11; + num3 = (uint)((num7 & num6) + (num7 ^ num6)); + if (num < 16777216) + { + num2 = (num2 << 8) | (byte)_200D_206B_200D_200E_206D_206D_206E_200B_202B_202C_206D_206C_202A_206E_206A_200C_202D_202A_200F_202B_200D_200F_206F_202A_200F_200D_202A_200E_206A_200C_206A_206C_200C_200E_206B_200B_200E_200E_200F_206C_202E.ReadByte(); + num <<= 8; + } + int num12 = num4; + num6 = 1; + num7 = num12; + num4 = ~(~num7 + num6); + } + _206C_200D_200D_206C_202D_206A_200D_206A_206B_200C_206E_206F_200E_202A_206B_200E_206B_202C_200C_200B_200B_206C_206B_206C_202B_206D_200F_200F_206C_200B_206D_200F_202E_200E_200F_206A_200E_200B_206B_206B_202E = num; + _206A_202D_206D_200F_200E_202C_202C_200B_200D_200C_206B_200C_206B_206F_206B_200E_206C_206E_202C_202C_202C_206E_206A_202D_202D_202B_206C_200D_206D_206F_202D_206E_202B_206A_200F_206E_206A_200E_200D_200F_202E = num2; + return num3; + } + + internal _202E_206F_206A_200E_200D_200B_200D_200C_200B_200D_206C_206B_202E_206D_206F_206E_206B_202A_202B_202D_202B_206C_200C_206A_206B_200B_200E_200B_202B_202B_206B_200B_200C_202E_206E_206C_206E_200C_206A_200C_202E() + { + } +} +internal class _206A_206F_206A_200B_206C_200D_200D_200F_202C_206D_200F_200F_200E_206B_200E_206F_200C_206D_200C_206F_202A_200E_202A_202B_200D_202A_206B_202A_200D_200E_206A_206C_200E_202A_200D_206A_206F_200B_206D_202C_202E +{ + internal class _200F_206F_200E_206D_206C_206F_206C_200D_202A_206E_202D_202A_200B_202C_206B_206D_200B_200E_200E_200C_200F_206B_200E_206F_206F_202A_200F_200B_200C_202A_202D_206D_202C_200D_206A_206F_200B_200C_200C_206A_202E + { + internal readonly _202B_202E_206F_202C_200B_202C_206C_202E_202B_200B_202A_202A_200C_206D_206C_206F_206F_206C_200F_206A_202C_202D_202E_200F_206F_206D_206F_206D_206B_200F_202A_200B_200B_202D_200F_202C_200F_202D_206D_206F_202E[] _206A_206B_202E_202A_206D_200F_206E_202E_202E_206B_202B_206D_200E_200E_202D_200D_202D_202C_206E_206D_202D_206D_202B_200B_206E_206B_200F_200F_200B_202E_200E_200E_200F_206A_202D_202A_202B_206A_200B_200E_202E = new _202B_202E_206F_202C_200B_202C_206C_202E_202B_200B_202A_202A_200C_206D_206C_206F_206F_206C_200F_206A_202C_202D_202E_200F_206F_206D_206F_206D_206B_200F_202A_200B_200B_202D_200F_202C_200F_202D_206D_206F_202E[16]; + + internal readonly _202B_202E_206F_202C_200B_202C_206C_202E_202B_200B_202A_202A_200C_206D_206C_206F_206F_206C_200F_206A_202C_202D_202E_200F_206F_206D_206F_206D_206B_200F_202A_200B_200B_202D_200F_202C_200F_202D_206D_206F_202E[] _206A_206A_200C_200D_206F_206A_206F_200F_200B_200F_202B_206E_202B_206D_202B_200D_206C_206D_202D_200B_202E_200B_200C_202E_206A_202E_206B_202B_200E_202C_200E_202E_200B_200F_202D_206F_206F_200C_206C_206C_202E = new _202B_202E_206F_202C_200B_202C_206C_202E_202B_200B_202A_202A_200C_206D_206C_206F_206F_206C_200F_206A_202C_202D_202E_200F_206F_206D_206F_206D_206B_200F_202A_200B_200B_202D_200F_202C_200F_202D_206D_206F_202E[16]; + + internal _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E _202C_200C_206A_202E_202D_206E_202D_200B_206F_206F_206A_206F_200B_200C_202B_200C_202B_200C_200F_206C_200B_202E_206E_202C_206C_202B_200D_206E_200F_202B_206C_206C_206A_202C_206F_206D_202A_200C_202D_202C_202E; + + internal _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E _200D_206A_206B_202E_206B_200D_206C_206F_206E_200B_202D_200D_202C_202E_206A_202D_200B_206E_206C_202B_206A_206E_202C_200B_206E_202D_202E_200D_200F_200F_206C_206B_206E_202C_206F_200F_202D_206C_202E; + + internal _202B_202E_206F_202C_200B_202C_206C_202E_202B_200B_202A_202A_200C_206D_206C_206F_206F_206C_200F_206A_202C_202D_202E_200F_206F_206D_206F_206D_206B_200F_202A_200B_200B_202D_200F_202C_200F_202D_206D_206F_202E _206D_202A_200C_202E_200E_200B_202E_200D_202A_202D_206B_200E_206D_206C_200C_206D_202B_200B_200B_200D_200C_206D_202A_206B_206E_206C_200B_202E_200C_206B_202B_200F_202C_206B_202B_202D_206B_200C_200D_200E_202E = new _202B_202E_206F_202C_200B_202C_206C_202E_202B_200B_202A_202A_200C_206D_206C_206F_206F_206C_200F_206A_202C_202D_202E_200F_206F_206D_206F_206D_206B_200F_202A_200B_200B_202D_200F_202C_200F_202D_206D_206F_202E(8); + + internal uint _202E_206C_206D_202B_206E_206F_202B_202A_200D_200D_200F_200F_202C_202C_202B_202E_206F_206E_206F_200C_202E_200D_200F_202A_202C_206D_200D_206A_202D_206A_202C_206E_202B_206A_206F_206A_206F_206C_202B_202D_202E; + + internal void _206E_206F_206E_202D_206D_200F_200C_202A_200C_202C_206A_206D_202D_206A_206A_200C_200E_200E_206F_200B_200D_206F_206E_200C_200B_206F_202D_206D_200F_202D_206B_200E_200D_202B_200E_200C_202A_202A_200C_202E(uint numPosStates) + { + uint num = _202E_206C_206D_202B_206E_206F_202B_202A_200D_200D_200F_200F_202C_202C_202B_202E_206F_206E_206F_200C_202E_200D_200F_202A_202C_206D_200D_206A_202D_206A_202C_206E_202B_206A_206F_206A_206F_206C_202B_202D_202E; + while (num < numPosStates) + { + _206A_206B_202E_202A_206D_200F_206E_202E_202E_206B_202B_206D_200E_200E_202D_200D_202D_202C_206E_206D_202D_206D_202B_200B_206E_206B_200F_200F_200B_202E_200E_200E_200F_206A_202D_202A_202B_206A_200B_200E_202E[num] = new _202B_202E_206F_202C_200B_202C_206C_202E_202B_200B_202A_202A_200C_206D_206C_206F_206F_206C_200F_206A_202C_202D_202E_200F_206F_206D_206F_206D_206B_200F_202A_200B_200B_202D_200F_202C_200F_202D_206D_206F_202E(3); + _206A_206A_200C_200D_206F_206A_206F_200F_200B_200F_202B_206E_202B_206D_202B_200D_206C_206D_202D_200B_202E_200B_200C_202E_206A_202E_206B_202B_200E_202C_200E_202E_200B_200F_202D_206F_206F_200C_206C_206C_202E[num] = new _202B_202E_206F_202C_200B_202C_206C_202E_202B_200B_202A_202A_200C_206D_206C_206F_206F_206C_200F_206A_202C_202D_202E_200F_206F_206D_206F_206D_206B_200F_202A_200B_200B_202D_200F_202C_200F_202D_206D_206F_202E(3); + uint num2 = num; + int num3 = 1; + int num4 = (int)num2; + num = (uint)((num4 | num3) + (num4 & num3)); + } + _202E_206C_206D_202B_206E_206F_202B_202A_200D_200D_200F_200F_202C_202C_202B_202E_206F_206E_206F_200C_202E_200D_200F_202A_202C_206D_200D_206A_202D_206A_202C_206E_202B_206A_206F_206A_206F_206C_202B_202D_202E = numPosStates; + } + + internal void _200C_200C_206B_202B_202E_202B_206F_202D_200B_202E_200F_202B_200B_202E_206F_202D_202C_206E_202A_206C_200C_206E_200B_200D_200C_200B_200F_200F_206B_202A_202A_206F_200B_206D_200D_200B_206B_202E_202D_206B_202E() + { + _202C_200C_206A_202E_202D_206E_202D_200B_206F_206F_206A_206F_200B_200C_202B_200C_202B_200C_200F_206C_200B_202E_206E_202C_206C_202B_200D_206E_200F_202B_206C_206C_206A_202C_206F_206D_202A_200C_202D_202C_202E._202B_200B_206C_206D_206E_202E_200B_202D_206E_202B_202E_206C_206B_202C_200E_206A_200E_202B_200D_202B_200F_202E_200E_206C_206F_202E_206D_202A_202E_206A_206F_200B_200C_202A_206B_200C_206D_206C_206A_206F_202E(); + uint num = 0u; + while (num < _202E_206C_206D_202B_206E_206F_202B_202A_200D_200D_200F_200F_202C_202C_202B_202E_206F_206E_206F_200C_202E_200D_200F_202A_202C_206D_200D_206A_202D_206A_202C_206E_202B_206A_206F_206A_206F_206C_202B_202D_202E) + { + _206A_206B_202E_202A_206D_200F_206E_202E_202E_206B_202B_206D_200E_200E_202D_200D_202D_202C_206E_206D_202D_206D_202B_200B_206E_206B_200F_200F_200B_202E_200E_200E_200F_206A_202D_202A_202B_206A_200B_200E_202E[num]._206F_202A_202D_206F_200E_202A_202C_206D_202D_206E_200E_200D_206B_202A_206F_200D_206A_200D_206C_202E_200C_200B_200B_200C_200E_202A_202B_202B_202C_202C_206F_200C_206C_206F_202C_202A_200D_206A_202D_206F_202E(); + _206A_206A_200C_200D_206F_206A_206F_200F_200B_200F_202B_206E_202B_206D_202B_200D_206C_206D_202D_200B_202E_200B_200C_202E_206A_202E_206B_202B_200E_202C_200E_202E_200B_200F_202D_206F_206F_200C_206C_206C_202E[num]._206F_202A_202D_206F_200E_202A_202C_206D_202D_206E_200E_200D_206B_202A_206F_200D_206A_200D_206C_202E_200C_200B_200B_200C_200E_202A_202B_202B_202C_202C_206F_200C_206C_206F_202C_202A_200D_206A_202D_206F_202E(); + uint num2 = num; + int num3 = 1; + int num4 = (int)num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = (uint)(num5 + (num6 + num6)); + } + _200D_206A_206B_202E_206B_200D_206C_206F_206E_200B_202D_200D_202C_202E_206A_202D_200B_206E_206C_202B_206A_206E_202C_200B_206E_202D_202E_200D_200F_200F_206C_206B_206E_202C_206F_200F_202D_206C_202E._202B_200B_206C_206D_206E_202E_200B_202D_206E_202B_202E_206C_206B_202C_200E_206A_200E_202B_200D_202B_200F_202E_200E_206C_206F_202E_206D_202A_202E_206A_206F_200B_200C_202A_206B_200C_206D_206C_206A_206F_202E(); + _206D_202A_200C_202E_200E_200B_202E_200D_202A_202D_206B_200E_206D_206C_200C_206D_202B_200B_200B_200D_200C_206D_202A_206B_206E_206C_200B_202E_200C_206B_202B_200F_202C_206B_202B_202D_206B_200C_200D_200E_202E._206F_202A_202D_206F_200E_202A_202C_206D_202D_206E_200E_200D_206B_202A_206F_200D_206A_200D_206C_202E_200C_200B_200B_200C_200E_202A_202B_202B_202C_202C_206F_200C_206C_206F_202C_202A_200D_206A_202D_206F_202E(); + } + + internal uint _206D_206A_202C_202D_202A_202E_202A_206B_206A_200E_202D_202C_202B_206F_200F_206A_202D_206A_206A_202D_200F_202C_202E_202D_202B_200B_206A_206E_202E_202A_200D_202C_202E_202D_200E_200D_200C_206E_206A_202C_202E(_202E_206F_206A_200E_200D_200B_200D_200C_200B_200D_206C_206B_202E_206D_206F_206E_206B_202A_202B_202D_202B_206C_200C_206A_206B_200B_200E_200B_202B_202B_206B_200B_200C_202E_206E_206C_206E_200C_206A_200C_202E rangeDecoder, uint posState) + { + if (_202C_200C_206A_202E_202D_206E_202D_200B_206F_206F_206A_206F_200B_200C_202B_200C_202B_200C_200F_206C_200B_202E_206E_202C_206C_202B_200D_206E_200F_202B_206C_206C_206A_202C_206F_206D_202A_200C_202D_202C_202E._200B_202C_202D_206D_206F_206C_200E_206F_200E_202D_200C_202A_202D_202A_202D_206D_202C_200B_202A_206B_200D_200C_200D_202A_202B_202D_206C_202E_206E_200D_206B_200E_200F_200F_202B_202C_206F_200F_206D_202E_202E(rangeDecoder) == 0) + { + return _206A_206B_202E_202A_206D_200F_206E_202E_202E_206B_202B_206D_200E_200E_202D_200D_202D_202C_206E_206D_202D_206D_202B_200B_206E_206B_200F_200F_200B_202E_200E_200E_200F_206A_202D_202A_202B_206A_200B_200E_202E[posState]._202B_206E_206A_200C_202A_200E_202A_206D_200B_200D_206F_200D_202C_200C_206D_200D_202E_206B_206C_202C_206A_200B_206C_202C_202B_206F_206F_202E_200E_200E_202C_202B_202C_202E_206B_206A_200F_200F_200F_206A_202E(rangeDecoder); + } + uint num = 8u; + if (_200D_206A_206B_202E_206B_200D_206C_206F_206E_200B_202D_200D_202C_202E_206A_202D_200B_206E_206C_202B_206A_206E_202C_200B_206E_202D_202E_200D_200F_200F_206C_206B_206E_202C_206F_200F_202D_206C_202E._200B_202C_202D_206D_206F_206C_200E_206F_200E_202D_200C_202A_202D_202A_202D_206D_202C_200B_202A_206B_200D_200C_200D_202A_202B_202D_206C_202E_206E_200D_206B_200E_200F_200F_202B_202C_206F_200F_206D_202E_202E(rangeDecoder) == 0) + { + return num + _206A_206A_200C_200D_206F_206A_206F_200F_200B_200F_202B_206E_202B_206D_202B_200D_206C_206D_202D_200B_202E_200B_200C_202E_206A_202E_206B_202B_200E_202C_200E_202E_200B_200F_202D_206F_206F_200C_206C_206C_202E[posState]._202B_206E_206A_200C_202A_200E_202A_206D_200B_200D_206F_200D_202C_200C_206D_200D_202E_206B_206C_202C_206A_200B_206C_202C_202B_206F_206F_202E_200E_200E_202C_202B_202C_202E_206B_206A_200F_200F_200F_206A_202E(rangeDecoder); + } + uint num2 = num; + int num3 = 8; + int num4 = (int)num2; + num = (uint)((num4 | num3) + (num4 & num3)); + return num + _206D_202A_200C_202E_200E_200B_202E_200D_202A_202D_206B_200E_206D_206C_200C_206D_202B_200B_200B_200D_200C_206D_202A_206B_206E_206C_200B_202E_200C_206B_202B_200F_202C_206B_202B_202D_206B_200C_200D_200E_202E._202B_206E_206A_200C_202A_200E_202A_206D_200B_200D_206F_200D_202C_200C_206D_200D_202E_206B_206C_202C_206A_200B_206C_202C_202B_206F_206F_202E_200E_200E_202C_202B_202C_202E_206B_206A_200F_200F_200F_206A_202E(rangeDecoder); + } + + internal _200F_206F_200E_206D_206C_206F_206C_200D_202A_206E_202D_202A_200B_202C_206B_206D_200B_200E_200E_200C_200F_206B_200E_206F_206F_202A_200F_200B_200C_202A_202D_206D_202C_200D_206A_206F_200B_200C_200C_206A_202E() + { + } + } + + internal class _206B_202E_206B_202B_202C_200F_200B_200F_202A_200D_200B_202D_200E_202D_202B_202A_200E_202A_206F_202D_200D_202D_206A_206D_202A_206B_202C_200B_200D_206D_202D_200B_200F_202E_200B_200B_202E_202A_206A_202D_202E + { + internal struct _206B_202E_206A_202E_200B_200B_202E_200C_206F_202D_200B_206D_200B_202A_200F_202C_202B_206E_200E_200B_200E_206D_206E_206A_206C_200F_206A_200E_206B_206C_200D_206C_200E_206C_206D_206C_202E_206B_200C_202D_202E + { + internal _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E[] _200B_200D_206C_200E_206B_200D_200F_206E_200D_202C_206D_202C_202B_206C_206F_200D_202B_206F_206B_206B_202D_200E_202C_200F_206F_206D_200B_206E_206E_200D_200B_200E_206E_202A_202E_202D_206D_200E_200D_202B_202E; + + internal void _200D_206C_206E_200D_202E_206D_206A_206B_202B_206C_206E_202E_200E_202A_206C_206D_200B_200C_206E_202B_206A_200D_206F_206E_202D_202D_200B_202D_200C_206D_202B_200C_200D_206C_200E_200B_206E_206B_202A_202D_202E() + { + _200B_200D_206C_200E_206B_200D_200F_206E_200D_202C_206D_202C_202B_206C_206F_200D_202B_206F_206B_206B_202D_200E_202C_200F_206F_206D_200B_206E_206E_200D_200B_200E_206E_202A_202E_202D_206D_200E_200D_202B_202E = new _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E[768]; + } + + internal void _200B_206F_202E_200F_200F_206D_202B_206B_206A_200D_200D_202B_202C_202D_202D_200C_206B_200F_206B_202B_202A_200E_206C_200C_206D_206A_200D_206F_202C_202D_206D_202B_202B_206B_200C_202C_200D_206D_202A_200C_202E() + { + int num = 0; + while (num < 768) + { + _200B_200D_206C_200E_206B_200D_200F_206E_200D_202C_206D_202C_202B_206C_206F_200D_202B_206F_206B_206B_202D_200E_202C_200F_206F_206D_200B_206E_206E_200D_200B_200E_206E_202A_202E_202D_206D_200E_200D_202B_202E[num]._202B_200B_206C_206D_206E_202E_200B_202D_206E_202B_202E_206C_206B_202C_200E_206A_200E_202B_200D_202B_200F_202E_200E_206C_206F_202E_206D_202A_202E_206A_206F_200B_200C_202A_206B_200C_206D_206C_206A_206F_202E(); + int num2 = num; + int num3 = 1; + int num4 = num2; + num = (num4 | num3) + (num4 & num3); + } + } + + internal byte _202E_202D_206F_206A_206C_206D_200D_202D_202A_206A_200E_202C_206C_206B_206C_202C_202B_202D_206E_206E_200D_206B_200D_200C_200E_202D_206F_200E_206A_202A_202E_206C_202C_202C_206F_200D_202C_202E_200E_206C_202E(_202E_206F_206A_200E_200D_200B_200D_200C_200B_200D_206C_206B_202E_206D_206F_206E_206B_202A_202B_202D_202B_206C_200C_206A_206B_200B_200E_200B_202B_202B_206B_200B_200C_202E_206E_206C_206E_200C_206A_200C_202E rangeDecoder) + { + uint num = 1u; + do + { + num = (num << 1) | _200B_200D_206C_200E_206B_200D_200F_206E_200D_202C_206D_202C_202B_206C_206F_200D_202B_206F_206B_206B_202D_200E_202C_200F_206F_206D_200B_206E_206E_200D_200B_200E_206E_202A_202E_202D_206D_200E_200D_202B_202E[num]._200B_202C_202D_206D_206F_206C_200E_206F_200E_202D_200C_202A_202D_202A_202D_206D_202C_200B_202A_206B_200D_200C_200D_202A_202B_202D_206C_202E_206E_200D_206B_200E_200F_200F_202B_202C_206F_200F_206D_202E_202E(rangeDecoder); + } + while (num < 256); + return (byte)num; + } + + internal byte _202D_202A_206B_206D_206D_202E_200C_202C_206E_200D_202D_202C_200B_206F_206A_200B_206F_200C_200C_202A_200D_206B_202E_206F_202B_206A_200E_206D_200E_206E_206D_200B_202E_202A_206B_202B_206E_202A_200D_206D_202E(_202E_206F_206A_200E_200D_200B_200D_200C_200B_200D_206C_206B_202E_206D_206F_206E_206B_202A_202B_202D_202B_206C_200C_206A_206B_200B_200E_200B_202B_202B_206B_200B_200C_202E_206E_206C_206E_200C_206A_200C_202E rangeDecoder, byte matchByte) + { + uint num = 1u; + do + { + int num2 = matchByte >> 7; + int num3 = 1; + int num4 = num2; + uint num5 = (uint)(num4 + num3 - (num4 | num3)); + matchByte <<= 1; + _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E[] array = _200B_200D_206C_200E_206B_200D_200F_206E_200D_202C_206D_202C_202B_206C_206F_200D_202B_206F_206B_206B_202D_200E_202C_200F_206F_206D_200B_206E_206E_200D_200B_200E_206E_202A_202E_202D_206D_200E_200D_202B_202E; + num3 = (int)num5; + num4 = 1; + int num6 = (num4 | num3) + (num4 & num3) << 8; + num3 = (int)num; + num4 = num6; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + uint num9 = array[num7 + (num8 + num8)]._200B_202C_202D_206D_206F_206C_200E_206F_200E_202D_200C_202A_202D_202A_202D_206D_202C_200B_202A_206B_200D_200C_200D_202A_202B_202D_206C_202E_206E_200D_206B_200E_200F_200F_202B_202C_206F_200F_206D_202E_202E(rangeDecoder); + uint num10 = num << 1; + num3 = (int)num9; + num4 = (int)num10; + num = (uint)(num4 + num3 - (num4 & num3)); + if (num5 != num9) + { + while (num < 256) + { + num = (num << 1) | _200B_200D_206C_200E_206B_200D_200F_206E_200D_202C_206D_202C_202B_206C_206F_200D_202B_206F_206B_206B_202D_200E_202C_200F_206F_206D_200B_206E_206E_200D_200B_200E_206E_202A_202E_202D_206D_200E_200D_202B_202E[num]._200B_202C_202D_206D_206F_206C_200E_206F_200E_202D_200C_202A_202D_202A_202D_206D_202C_200B_202A_206B_200D_200C_200D_202A_202B_202D_206C_202E_206E_200D_206B_200E_200F_200F_202B_202C_206F_200F_206D_202E_202E(rangeDecoder); + } + break; + } + } + while (num < 256); + return (byte)num; + } + } + + internal _206B_202E_206A_202E_200B_200B_202E_200C_206F_202D_200B_206D_200B_202A_200F_202C_202B_206E_200E_200B_200E_206D_206E_206A_206C_200F_206A_200E_206B_206C_200D_206C_200E_206C_206D_206C_202E_206B_200C_202D_202E[] _200E_200C_206D_206A_200D_202B_202E_206B_206E_202A_202D_200B_206B_200C_206C_200D_200B_200C_206E_202D_200B_202C_202E_202B_202A_206A_200E_206B_200B_202E_202E_202A_206A_202A_202C_200F_206A_202B_206E_200C_202E; + + internal int _202E_206C_200C_206A_206F_200B_200C_206D_206A_200D_200F_202C_202D_200F_202C_206E_202C_200C_200B_200B_202E_200F_202A_202C_202D_202E_200F_200C_200F_200D_202A_200E_200B_200D_206E_200E_202B_206E_206E_202E; + + internal int _202E_200E_202E_202C_200C_200F_206F_200B_202D_206B_200C_202B_202A_200C_206D_206B_206D_200B_200E_202C_206B_202C_202A_202E_200B_200D_206F_200B_206F_202D_206C_200D_200E_200D_202D_206F_206A_200E_200C_200D_202E; + + internal uint _206F_206F_206C_200D_202D_202A_202C_200C_206A_200F_200E_206B_200F_206F_206E_206E_200F_200D_206F_202D_202E_200E_200E_206D_202A_206C_206D_206F_202C_206A_206E_202A_202B_206F_202E_202A_206B_202D_206D_202B_202E; + + internal void _200F_206F_206C_202B_206D_206B_200E_206C_202A_200D_206D_202C_200D_202C_200D_206E_202C_200D_206E_200F_202D_206E_206D_202C_202E_202E_202B_200D_202B_202C_206E_206E_200D_206D_206E_200E_202D_200F_206A_202A_202E(int numPosBits, int numPrevBits) + { + if (_200E_200C_206D_206A_200D_202B_202E_206B_206E_202A_202D_200B_206B_200C_206C_200D_200B_200C_206E_202D_200B_202C_202E_202B_202A_206A_200E_206B_200B_202E_202E_202A_206A_202A_202C_200F_206A_202B_206E_200C_202E == null || _202E_200E_202E_202C_200C_200F_206F_200B_202D_206B_200C_202B_202A_200C_206D_206B_206D_200B_200E_202C_206B_202C_202A_202E_200B_200D_206F_200B_206F_202D_206C_200D_200E_200D_202D_206F_206A_200E_200C_200D_202E != numPrevBits || _202E_206C_200C_206A_206F_200B_200C_206D_206A_200D_200F_202C_202D_200F_202C_206E_202C_200C_200B_200B_202E_200F_202A_202C_202D_202E_200F_200C_200F_200D_202A_200E_200B_200D_206E_200E_202B_206E_206E_202E != numPosBits) + { + _202E_206C_200C_206A_206F_200B_200C_206D_206A_200D_200F_202C_202D_200F_202C_206E_202C_200C_200B_200B_202E_200F_202A_202C_202D_202E_200F_200C_200F_200D_202A_200E_200B_200D_206E_200E_202B_206E_206E_202E = numPosBits; + int num = 31; + int num2 = numPosBits; + int num3 = 1 << (num2 | num) - (num2 ^ num); + num = 1; + num2 = num3; + _206F_206F_206C_200D_202D_202A_202C_200C_206A_200F_200E_206B_200F_206F_206E_206E_200F_200D_206F_202D_202E_200E_200E_206D_202A_206C_206D_206F_202C_206A_206E_202A_202B_206F_202E_202A_206B_202D_206D_202B_202E = (uint)(~(~num2 + num)); + _202E_200E_202E_202C_200C_200F_206F_200B_202D_206B_200C_202B_202A_200C_206D_206B_206D_200B_200E_202C_206B_202C_202A_202E_200B_200D_206F_200B_206F_202D_206C_200D_200E_200D_202D_206F_206A_200E_200C_200D_202E = numPrevBits; + int num4 = _202E_200E_202E_202C_200C_200F_206F_200B_202D_206B_200C_202B_202A_200C_206D_206B_206D_200B_200E_202C_206B_202C_202A_202E_200B_200D_206F_200B_206F_202D_206C_200D_200E_200D_202D_206F_206A_200E_200C_200D_202E; + num = _202E_206C_200C_206A_206F_200B_200C_206D_206A_200D_200F_202C_202D_200F_202C_206E_202C_200C_200B_200B_202E_200F_202A_202C_202D_202E_200F_200C_200F_200D_202A_200E_200B_200D_206E_200E_202B_206E_206E_202E; + num2 = num4; + int num5 = (num2 | num) + (num2 & num); + num = 31; + num2 = num5; + uint num6 = (uint)(1 << (num2 | num) - (num2 ^ num)); + _200E_200C_206D_206A_200D_202B_202E_206B_206E_202A_202D_200B_206B_200C_206C_200D_200B_200C_206E_202D_200B_202C_202E_202B_202A_206A_200E_206B_200B_202E_202E_202A_206A_202A_202C_200F_206A_202B_206E_200C_202E = new _206B_202E_206A_202E_200B_200B_202E_200C_206F_202D_200B_206D_200B_202A_200F_202C_202B_206E_200E_200B_200E_206D_206E_206A_206C_200F_206A_200E_206B_206C_200D_206C_200E_206C_206D_206C_202E_206B_200C_202D_202E[num6]; + for (uint num7 = 0u; num7 < num6; num7 = (uint)((num2 | num) + (num2 & num))) + { + _200E_200C_206D_206A_200D_202B_202E_206B_206E_202A_202D_200B_206B_200C_206C_200D_200B_200C_206E_202D_200B_202C_202E_202B_202A_206A_200E_206B_200B_202E_202E_202A_206A_202A_202C_200F_206A_202B_206E_200C_202E[num7]._200D_206C_206E_200D_202E_206D_206A_206B_202B_206C_206E_202E_200E_202A_206C_206D_200B_200C_206E_202B_206A_200D_206F_206E_202D_202D_200B_202D_200C_206D_202B_200C_200D_206C_200E_200B_206E_206B_202A_202D_202E(); + uint num8 = num7; + num = 1; + num2 = (int)num8; + } + } + } + + internal void _200C_200E_200B_202B_202D_202E_200B_202E_200D_200B_206D_206E_200B_206C_202A_200E_202B_200F_206B_202A_200C_202C_206D_206F_200C_206B_202D_206C_206C_206E_206B_200D_202E_202A_202C_200B_202D_200E_206F_202C_202E() + { + int num = _202E_200E_202E_202C_200C_200F_206F_200B_202D_206B_200C_202B_202A_200C_206D_206B_206D_200B_200E_202C_206B_202C_202A_202E_200B_200D_206F_200B_206F_202D_206C_200D_200E_200D_202D_206F_206A_200E_200C_200D_202E; + int num2 = _202E_206C_200C_206A_206F_200B_200C_206D_206A_200D_200F_202C_202D_200F_202C_206E_202C_200C_200B_200B_202E_200F_202A_202C_202D_202E_200F_200C_200F_200D_202A_200E_200B_200D_206E_200E_202B_206E_206E_202E; + int num3 = num; + int num4 = num3 ^ num2; + int num5 = num3 & num2; + int num6 = num4 + (num5 + num5); + num2 = 31; + num3 = num6; + uint num7 = (uint)(1 << (num3 | num2) - (num3 ^ num2)); + for (uint num8 = 0u; num8 < num7; num8 = (uint)((num3 | num2) + (num3 & num2))) + { + _200E_200C_206D_206A_200D_202B_202E_206B_206E_202A_202D_200B_206B_200C_206C_200D_200B_200C_206E_202D_200B_202C_202E_202B_202A_206A_200E_206B_200B_202E_202E_202A_206A_202A_202C_200F_206A_202B_206E_200C_202E[num8]._200B_206F_202E_200F_200F_206D_202B_206B_206A_200D_200D_202B_202C_202D_202D_200C_206B_200F_206B_202B_202A_200E_206C_200C_206D_206A_200D_206F_202C_202D_206D_202B_202B_206B_200C_202C_200D_206D_202A_200C_202E(); + uint num9 = num8; + num2 = 1; + num3 = (int)num9; + } + } + + internal uint _202C_206F_206E_206E_206A_200D_206C_206C_202D_206C_206F_206F_206F_200F_202C_206F_202A_206D_206E_206F_202D_200B_206E_200E_200C_200E_200D_206D_202E_202A_202D_200F_206D_206F_202C_202C_202B_200C_206A_200D_202E(uint pos, byte prevByte) + { + int num = (int)_206F_206F_206C_200D_202D_202A_202C_200C_206A_200F_200E_206B_200F_206F_206E_206E_200F_200D_206F_202D_202E_200E_200E_206D_202A_206C_206D_206F_202C_206A_206E_202A_202B_206F_202E_202A_206B_202D_206D_202B_202E; + int num2 = (int)pos; + int num3 = (num2 | num) - (num2 ^ num); + int num4 = _202E_200E_202E_202C_200C_200F_206F_200B_202D_206B_200C_202B_202A_200C_206D_206B_206D_200B_200E_202C_206B_202C_202A_202E_200B_200D_206F_200B_206F_202D_206C_200D_200E_200D_202D_206F_206A_200E_200C_200D_202E; + num = 31; + num2 = num4; + int num5 = num3 << num2 + num - (num2 | num); + num = _202E_200E_202E_202C_200C_200F_206F_200B_202D_206B_200C_202B_202A_200C_206D_206B_206D_200B_200E_202C_206B_202C_202A_202E_200B_200D_206F_200B_206F_202D_206C_200D_200E_200D_202D_206F_206A_200E_200C_200D_202E; + num2 = 8; + int num6 = ~(~num2 + num); + num = 31; + num2 = num6; + num = prevByte >> num2 + num - (num2 | num); + num2 = num5; + return (uint)((num2 | num) + (num2 & num)); + } + + internal byte _200D_200B_202C_206E_200F_206A_200D_200B_200B_206E_200F_202E_200E_200D_206F_206A_206A_202B_206E_202E_206E_206C_200F_200E_206E_202E_206D_200B_206F_202C_200C_206F_206C_206D_202C_202E_202B_206C_206D_206E_202E(_202E_206F_206A_200E_200D_200B_200D_200C_200B_200D_206C_206B_202E_206D_206F_206E_206B_202A_202B_202D_202B_206C_200C_206A_206B_200B_200E_200B_202B_202B_206B_200B_200C_202E_206E_206C_206E_200C_206A_200C_202E rangeDecoder, uint pos, byte prevByte) + { + return _200E_200C_206D_206A_200D_202B_202E_206B_206E_202A_202D_200B_206B_200C_206C_200D_200B_200C_206E_202D_200B_202C_202E_202B_202A_206A_200E_206B_200B_202E_202E_202A_206A_202A_202C_200F_206A_202B_206E_200C_202E[_202C_206F_206E_206E_206A_200D_206C_206C_202D_206C_206F_206F_206F_200F_202C_206F_202A_206D_206E_206F_202D_200B_206E_200E_200C_200E_200D_206D_202E_202A_202D_200F_206D_206F_202C_202C_202B_200C_206A_200D_202E(pos, prevByte)]._202E_202D_206F_206A_206C_206D_200D_202D_202A_206A_200E_202C_206C_206B_206C_202C_202B_202D_206E_206E_200D_206B_200D_200C_200E_202D_206F_200E_206A_202A_202E_206C_202C_202C_206F_200D_202C_202E_200E_206C_202E(rangeDecoder); + } + + internal byte _206E_202B_206C_206A_200F_202E_206C_202A_206B_206F_206C_202D_200D_206A_206A_202E_202C_206B_200F_200B_206D_202D_200D_200E_202E_202A_202B_202C_202A_200B_206F_200C_202D_202E_202B_202C_200E_206E_202A_200C_202E(_202E_206F_206A_200E_200D_200B_200D_200C_200B_200D_206C_206B_202E_206D_206F_206E_206B_202A_202B_202D_202B_206C_200C_206A_206B_200B_200E_200B_202B_202B_206B_200B_200C_202E_206E_206C_206E_200C_206A_200C_202E rangeDecoder, uint pos, byte prevByte, byte matchByte) + { + return _200E_200C_206D_206A_200D_202B_202E_206B_206E_202A_202D_200B_206B_200C_206C_200D_200B_200C_206E_202D_200B_202C_202E_202B_202A_206A_200E_206B_200B_202E_202E_202A_206A_202A_202C_200F_206A_202B_206E_200C_202E[_202C_206F_206E_206E_206A_200D_206C_206C_202D_206C_206F_206F_206F_200F_202C_206F_202A_206D_206E_206F_202D_200B_206E_200E_200C_200E_200D_206D_202E_202A_202D_200F_206D_206F_202C_202C_202B_200C_206A_200D_202E(pos, prevByte)]._202D_202A_206B_206D_206D_202E_200C_202C_206E_200D_202D_202C_200B_206F_206A_200B_206F_200C_200C_202A_200D_206B_202E_206F_202B_206A_200E_206D_200E_206E_206D_200B_202E_202A_206B_202B_206E_202A_200D_206D_202E(rangeDecoder, matchByte); + } + + internal _206B_202E_206B_202B_202C_200F_200B_200F_202A_200D_200B_202D_200E_202D_202B_202A_200E_202A_206F_202D_200D_202D_206A_206D_202A_206B_202C_200B_200D_206D_202D_200B_200F_202E_200B_200B_202E_202A_206A_202D_202E() + { + } + } + + internal readonly _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E[] _200E_202A_202D_206D_206D_202E_206B_206A_206A_206C_206C_202A_202D_200E_206D_206C_200D_200E_206C_202D_200B_202B_206C_200E_200C_202B_206F_202D_200D_202C_202A_200D_206E_206E_206D_206D_206D_206A_200C_202E = new _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E[192]; + + internal readonly _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E[] _206A_202A_202B_206D_200F_202C_206F_200B_202A_202E_206F_200C_206C_202A_200E_200E_202E_206E_202E_206E_206E_206D_206E_200C_206D_202A_202A_202D_202D_202D_202B_206E_200D_206D_206B_206D_206B_200F_200E_206A_202E = new _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E[192]; + + internal readonly _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E[] _206A_202A_206F_200D_202E_200D_202C_200B_200B_202B_202C_202B_202B_200B_202E_206C_200F_206B_200F_206F_206D_206A_202D_206A_206F_200D_202C_202A_202E_206E_200C_200D_200E_202D_206A_202B_202B_200D_206A_200D_202E = new _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E[12]; + + internal readonly _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E[] _200F_206F_202A_202A_206E_200F_202A_206A_206E_200F_202D_202B_202B_206C_200D_200F_206C_200C_202A_200E_202C_202E_200B_202A_200D_200B_202A_200B_202C_202E_200D_200B_202C_206C_202A_206B_206C_202C_200F_202B_202E = new _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E[12]; + + internal readonly _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E[] _200D_202C_202A_206F_206F_206A_206A_202C_206E_206E_200C_206C_206B_206A_202A_202D_202A_206B_200C_206F_206C_206F_206A_206B_200F_200C_200C_202C_206A_200B_200B_206E_202A_200D_206B_202B_200B_206D_200B_202A_202E = new _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E[12]; + + internal readonly _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E[] _206D_200F_202D_202A_202B_206F_206C_200B_200E_206D_202C_206D_202E_200E_206E_200F_200C_200C_206B_206E_202D_202D_206F_202E_202A_202E_200F_200D_206E_206E_200D_206F_202E_202C_202C_206C_206A_200F_206B_206A_202E = new _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E[12]; + + internal readonly _200F_206F_200E_206D_206C_206F_206C_200D_202A_206E_202D_202A_200B_202C_206B_206D_200B_200E_200E_200C_200F_206B_200E_206F_206F_202A_200F_200B_200C_202A_202D_206D_202C_200D_206A_206F_200B_200C_200C_206A_202E _206A_206C_206E_200D_206D_202C_200D_206D_200E_202A_206D_206C_200C_206A_202D_200F_206D_202C_206A_202E_206B_206B_200D_206A_206E_206D_200D_200B_200D_202C_202D_202A_202C_206D_202C_200E_200F_202E_206B_200E_202E = new _200F_206F_200E_206D_206C_206F_206C_200D_202A_206E_202D_202A_200B_202C_206B_206D_200B_200E_200E_200C_200F_206B_200E_206F_206F_202A_200F_200B_200C_202A_202D_206D_202C_200D_206A_206F_200B_200C_200C_206A_202E(); + + internal readonly _206B_202E_206B_202B_202C_200F_200B_200F_202A_200D_200B_202D_200E_202D_202B_202A_200E_202A_206F_202D_200D_202D_206A_206D_202A_206B_202C_200B_200D_206D_202D_200B_200F_202E_200B_200B_202E_202A_206A_202D_202E _200D_206B_202D_206C_206A_206B_206A_206C_206C_206E_206C_206A_200D_202D_206E_202A_200B_206B_206B_206F_206E_202E_206F_206D_206A_202E_200B_200D_206C_206A_200B_202A_206A_202B_206F_206D_200D_202D_206B_202D_202E = new _206B_202E_206B_202B_202C_200F_200B_200F_202A_200D_200B_202D_200E_202D_202B_202A_200E_202A_206F_202D_200D_202D_206A_206D_202A_206B_202C_200B_200D_206D_202D_200B_200F_202E_200B_200B_202E_202A_206A_202D_202E(); + + internal readonly _206A_206F_206F_206B_202C_206C_202E_202E_202D_206F_206E_200F_200C_200F_206B_206B_202C_200E_206F_206F_206E_202E_202B_202D_206F_202E_200E_206A_202D_200E_202D_206C_206C_202A_202D_202A_206C_206F_200D_200D_202E _200B_200F_200E_200D_202E_200E_206C_206F_200C_202C_206E_206B_206C_206B_206F_206F_202D_202E_202B_206D_202B_202A_206E_200B_206B_200D_202C_200E_206F_200E_202A_202A_206E_202C_200C_206C_202B_200C_200F_206F_202E = new _206A_206F_206F_206B_202C_206C_202E_202E_202D_206F_206E_200F_200C_200F_206B_206B_202C_200E_206F_206F_206E_202E_202B_202D_206F_202E_200E_206A_202D_200E_202D_206C_206C_202A_202D_202A_206C_206F_200D_200D_202E(); + + internal readonly _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E[] _206E_206E_206A_202B_200D_200B_206B_202D_200E_200F_206D_200E_200C_206D_200B_202B_202A_202D_206B_206D_200D_200D_206D_202C_202E_206C_206F_206D_200F_206E_206D_202C_206E_200D_200E_202A_200B_200E_200B_200F_202E = new _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E[114]; + + internal readonly _202B_202E_206F_202C_200B_202C_206C_202E_202B_200B_202A_202A_200C_206D_206C_206F_206F_206C_200F_206A_202C_202D_202E_200F_206F_206D_206F_206D_206B_200F_202A_200B_200B_202D_200F_202C_200F_202D_206D_206F_202E[] _202C_200F_206A_206A_200B_206A_206D_200D_202A_206C_200F_206C_206D_200C_202B_206D_206A_200B_206F_206F_206D_202C_200E_206D_206C_206A_206A_206C_200C_200C_200E_200B_206E_206D_206B_206A_200F_202D_200B_202C_202E = new _202B_202E_206F_202C_200B_202C_206C_202E_202B_200B_202A_202A_200C_206D_206C_206F_206F_206C_200F_206A_202C_202D_202E_200F_206F_206D_206F_206D_206B_200F_202A_200B_200B_202D_200F_202C_200F_202D_206D_206F_202E[4]; + + internal readonly _202E_206F_206A_200E_200D_200B_200D_200C_200B_200D_206C_206B_202E_206D_206F_206E_206B_202A_202B_202D_202B_206C_200C_206A_206B_200B_200E_200B_202B_202B_206B_200B_200C_202E_206E_206C_206E_200C_206A_200C_202E _200F_200D_206A_200B_202B_200B_206D_206F_206B_206F_206F_206A_206E_206C_202D_200F_206D_206F_202E_200F_202B_202B_202A_202A_206F_202B_206D_202B_206A_206A_200E_202E_206A_206C_200B_200E_202A_206E_206D_206E_202E = new _202E_206F_206A_200E_200D_200B_200D_200C_200B_200D_206C_206B_202E_206D_206F_206E_206B_202A_202B_202D_202B_206C_200C_206A_206B_200B_200E_200B_202B_202B_206B_200B_200C_202E_206E_206C_206E_200C_206A_200C_202E(); + + internal readonly _200F_206F_200E_206D_206C_206F_206C_200D_202A_206E_202D_202A_200B_202C_206B_206D_200B_200E_200E_200C_200F_206B_200E_206F_206F_202A_200F_200B_200C_202A_202D_206D_202C_200D_206A_206F_200B_200C_200C_206A_202E _206A_200B_206F_202D_206E_200C_206F_200B_202C_200C_200B_206A_202D_202B_200E_200B_200D_202B_200B_206D_206F_202C_206E_200F_202E_202B_200B_200F_202A_202C_202E_202A_200F_202A_200C_200C_200F_202D_202B_206E_202E = new _200F_206F_200E_206D_206C_206F_206C_200D_202A_206E_202D_202A_200B_202C_206B_206D_200B_200E_200E_200C_200F_206B_200E_206F_206F_202A_200F_200B_200C_202A_202D_206D_202C_200D_206A_206F_200B_200C_200C_206A_202E(); + + internal bool _206A_202E_202C_200F_206D_202D_200B_200E_200C_206B_206C_206E_200C_206B_200B_206D_202B_200B_202E_206A_200F_200E_200B_200D_202E_206A_202A_200F_206D_202E_202E_200C_200E_206E_206D_200D_202B_200D_206F_202D_202E; + + internal uint _200F_200D_206F_206E_202E_200B_206B_202E_200F_206A_200F_200E_200F_206A_206D_202C_206B_200E_200B_206A_206F_200B_200C_206A_202E_206C_206A_200C_206B_206C_202E_202E_202E_202B_202D_200F_206A_206A_202D_200E_202E; + + internal uint _202B_202A_206D_200C_200F_202B_206C_202A_202C_206C_206C_206B_200F_206B_206C_206D_202C_200C_206B_200C_206A_202D_200E_200F_200E_206A_200B_200E_206A_200D_206E_202C_206B_200E_206A_200F_206D_202A_206E_202E; + + internal _202B_202E_206F_202C_200B_202C_206C_202E_202B_200B_202A_202A_200C_206D_206C_206F_206F_206C_200F_206A_202C_202D_202E_200F_206F_206D_206F_206D_206B_200F_202A_200B_200B_202D_200F_202C_200F_202D_206D_206F_202E _200B_206B_206D_206F_206A_202D_206B_202E_200E_206D_206C_202A_206A_200C_200D_200F_206B_206C_200D_202A_206F_200E_202B_202A_202A_200B_206A_206C_200C_202D_200B_206D_202C_206A_206E_206A_202D_206F_206B_206D_202E = new _202B_202E_206F_202C_200B_202C_206C_202E_202B_200B_202A_202A_200C_206D_206C_206F_206F_206C_200F_206A_202C_202D_202E_200F_206F_206D_206F_206D_206B_200F_202A_200B_200B_202D_200F_202C_200F_202D_206D_206F_202E(4); + + internal uint _206B_202B_202A_202C_206F_206C_202B_202C_206F_206D_202E_202D_200D_202A_206E_206A_206F_202C_202D_202C_200E_202A_206F_206F_200E_206D_202D_202A_202A_206E_200D_202C_202C_200F_202E_206C_200E_206B_200F_206E_202E; + + internal _206A_206F_206A_200B_206C_200D_200D_200F_202C_206D_200F_200F_200E_206B_200E_206F_200C_206D_200C_206F_202A_200E_202A_202B_200D_202A_206B_202A_200D_200E_206A_206C_200E_202A_200D_206A_206F_200B_206D_202C_202E() + { + _200F_200D_206F_206E_202E_200B_206B_202E_200F_206A_200F_200E_200F_206A_206D_202C_206B_200E_200B_206A_206F_200B_200C_206A_202E_206C_206A_200C_206B_206C_202E_202E_202E_202B_202D_200F_206A_206A_202D_200E_202E = uint.MaxValue; + int num = 0; + while ((long)num < 4L) + { + _202C_200F_206A_206A_200B_206A_206D_200D_202A_206C_200F_206C_206D_200C_202B_206D_206A_200B_206F_206F_206D_202C_200E_206D_206C_206A_206A_206C_200C_200C_200E_200B_206E_206D_206B_206A_200F_202D_200B_202C_202E[num] = new _202B_202E_206F_202C_200B_202C_206C_202E_202B_200B_202A_202A_200C_206D_206C_206F_206F_206C_200F_206A_202C_202D_202E_200F_206F_206D_206F_206D_206B_200F_202A_200B_200B_202D_200F_202C_200F_202D_206D_206F_202E(6); + int num2 = num; + int num3 = 1; + int num4 = num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = num5 + (num6 + num6); + } + } + + internal void _206D_206B_206B_200E_200F_202B_200E_200D_206E_206B_200F_206E_200B_200B_206A_206C_200E_200F_202B_206F_206B_200F_202D_200C_200B_206A_206B_206D_206C_202E_202C_200C_202E_206B_200F_206A_200C_200F_206C_202B_202E(uint dictionarySize) + { + if (_200F_200D_206F_206E_202E_200B_206B_202E_200F_206A_200F_200E_200F_206A_206D_202C_206B_200E_200B_206A_206F_200B_200C_206A_202E_206C_206A_200C_206B_206C_202E_202E_202E_202B_202D_200F_206A_206A_202D_200E_202E != dictionarySize) + { + _200F_200D_206F_206E_202E_200B_206B_202E_200F_206A_200F_200E_200F_206A_206D_202C_206B_200E_200B_206A_206F_200B_200C_206A_202E_206C_206A_200C_206B_206C_202E_202E_202E_202B_202D_200F_206A_206A_202D_200E_202E = dictionarySize; + _202B_202A_206D_200C_200F_202B_206C_202A_202C_206C_206C_206B_200F_206B_206C_206D_202C_200C_206B_200C_206A_202D_200E_200F_200E_206A_200B_200E_206A_200D_206E_202C_206B_200E_206A_200F_206D_202A_206E_202E = Math.Max(_200F_200D_206F_206E_202E_200B_206B_202E_200F_206A_200F_200E_200F_206A_206D_202C_206B_200E_200B_206A_206F_200B_200C_206A_202E_206C_206A_200C_206B_206C_202E_202E_202E_202B_202D_200F_206A_206A_202D_200E_202E, 1u); + uint windowSize = Math.Max(_202B_202A_206D_200C_200F_202B_206C_202A_202C_206C_206C_206B_200F_206B_206C_206D_202C_200C_206B_200C_206A_202D_200E_200F_200E_206A_200B_200E_206A_200D_206E_202C_206B_200E_206A_200F_206D_202A_206E_202E, 4096u); + _200B_200F_200E_200D_202E_200E_206C_206F_200C_202C_206E_206B_206C_206B_206F_206F_202D_202E_202B_206D_202B_202A_206E_200B_206B_200D_202C_200E_206F_200E_202A_202A_206E_202C_200C_206C_202B_200C_200F_206F_202E._200E_202D_206D_200E_200B_202E_200B_202A_202D_206D_206B_200B_202C_206E_206B_202B_206E_202E_202D_206B_202A_200D_206F_206E_200F_202B_200E_206F_202C_202C_206B_202C_200B_202D_200C_206C_200F_202C_202A_200D_202E(windowSize); + } + } + + internal void _202B_200C_200B_202C_202A_202B_200D_200F_200C_200E_202A_206B_206F_200D_202D_206B_202E_200E_206B_206B_202B_202C_200D_202C_200E_200D_206E_206E_206A_206F_202E_202B_206C_206E_202B_202B_206B_200B_202A_200F_202E(int lp, int lc) + { + _200D_206B_202D_206C_206A_206B_206A_206C_206C_206E_206C_206A_200D_202D_206E_202A_200B_206B_206B_206F_206E_202E_206F_206D_206A_202E_200B_200D_206C_206A_200B_202A_206A_202B_206F_206D_200D_202D_206B_202D_202E._200F_206F_206C_202B_206D_206B_200E_206C_202A_200D_206D_202C_200D_202C_200D_206E_202C_200D_206E_200F_202D_206E_206D_202C_202E_202E_202B_200D_202B_202C_206E_206E_200D_206D_206E_200E_202D_200F_206A_202A_202E(lp, lc); + } + + internal void _206C_206E_202C_202D_200F_200F_202D_200D_206C_206E_202A_206C_200C_200D_200F_206E_206C_202B_202C_202B_206F_202C_202C_206A_206C_206C_202E_202A_206F_202D_200B_206C_206E_206E_206B_200C_206D_206B_206B_200C_202E(int pb) + { + int num = 31; + int num2 = pb; + uint num3 = (uint)(1 << (num2 | num) - (num2 ^ num)); + _206A_206C_206E_200D_206D_202C_200D_206D_200E_202A_206D_206C_200C_206A_202D_200F_206D_202C_206A_202E_206B_206B_200D_206A_206E_206D_200D_200B_200D_202C_202D_202A_202C_206D_202C_200E_200F_202E_206B_200E_202E._206E_206F_206E_202D_206D_200F_200C_202A_200C_202C_206A_206D_202D_206A_206A_200C_200E_200E_206F_200B_200D_206F_206E_200C_200B_206F_202D_206D_200F_202D_206B_200E_200D_202B_200E_200C_202A_202A_200C_202E(num3); + _206A_200B_206F_202D_206E_200C_206F_200B_202C_200C_200B_206A_202D_202B_200E_200B_200D_202B_200B_206D_206F_202C_206E_200F_202E_202B_200B_200F_202A_202C_202E_202A_200F_202A_200C_200C_200F_202D_202B_206E_202E._206E_206F_206E_202D_206D_200F_200C_202A_200C_202C_206A_206D_202D_206A_206A_200C_200E_200E_206F_200B_200D_206F_206E_200C_200B_206F_202D_206D_200F_202D_206B_200E_200D_202B_200E_200C_202A_202A_200C_202E(num3); + num = 1; + num2 = (int)num3; + _206B_202B_202A_202C_206F_206C_202B_202C_206F_206D_202E_202D_200D_202A_206E_206A_206F_202C_202D_202C_200E_202A_206F_206F_200E_206D_202D_202A_202A_206E_200D_202C_202C_200F_202E_206C_200E_206B_200F_206E_202E = (uint)(~(~num2 + num)); + } + + internal void _206C_206F_200B_202B_206C_200E_202A_206B_202C_206B_206D_200F_206A_206B_206C_206A_200F_202D_202B_206E_206D_206A_202B_206F_206C_200B_200C_206C_200C_202A_206C_202C_202B_202C_206B_202D_206A_202B_200F_200D_202E(Stream inStream, Stream outStream) + { + _200F_200D_206A_200B_202B_200B_206D_206F_206B_206F_206F_206A_206E_206C_202D_200F_206D_206F_202E_200F_202B_202B_202A_202A_206F_202B_206D_202B_206A_206A_200E_202E_206A_206C_200B_200E_202A_206E_206D_206E_202E._200C_206A_206E_200C_206C_200B_206E_206D_200B_202D_202E_200D_206E_206C_200D_202D_200C_200D_200F_202E_202D_200F_206B_206C_200D_200B_206C_206B_200E_200F_202E_202C_206B_206B_200F_200C_202E_200B_202A_200E_202E(inStream); + _200B_200F_200E_200D_202E_200E_206C_206F_200C_202C_206E_206B_206C_206B_206F_206F_202D_202E_202B_206D_202B_202A_206E_200B_206B_200D_202C_200E_206F_200E_202A_202A_206E_202C_200C_206C_202B_200C_200F_206F_202E._202C_206E_200E_206A_206D_206F_200E_202E_206F_206D_200E_206F_206C_200E_206B_206B_202E_202D_206D_200C_206A_206C_206D_202B_202B_200C_202D_202C_202C_200D_200F_206A_200C_202E_200D_206B_200C_206E_206B_206C_202E(outStream, _206A_202E_202C_200F_206D_202D_200B_200E_200C_206B_206C_206E_200C_206B_200B_206D_202B_200B_202E_206A_200F_200E_200B_200D_202E_206A_202A_200F_206D_202E_202E_200C_200E_206E_206D_200D_202B_200D_206F_202D_202E); + uint num = 0u; + while (num < 12) + { + int num4; + int num5; + for (uint num2 = 0u; num2 <= _206B_202B_202A_202C_206F_206C_202B_202C_206F_206D_202E_202D_200D_202A_206E_206A_206F_202C_202D_202C_200E_202A_206F_206F_200E_206D_202D_202A_202A_206E_200D_202C_202C_200F_202E_206C_200E_206B_200F_206E_202E; num2 = (uint)((num5 | num4) + (num5 & num4))) + { + uint num3 = num << 4; + num4 = (int)num2; + num5 = (int)num3; + int num6 = num5 ^ num4; + int num7 = num5 & num4; + uint num8 = (uint)(num6 + (num7 + num7)); + _200E_202A_202D_206D_206D_202E_206B_206A_206A_206C_206C_202A_202D_200E_206D_206C_200D_200E_206C_202D_200B_202B_206C_200E_200C_202B_206F_202D_200D_202C_202A_200D_206E_206E_206D_206D_206D_206A_200C_202E[num8]._202B_200B_206C_206D_206E_202E_200B_202D_206E_202B_202E_206C_206B_202C_200E_206A_200E_202B_200D_202B_200F_202E_200E_206C_206F_202E_206D_202A_202E_206A_206F_200B_200C_202A_206B_200C_206D_206C_206A_206F_202E(); + _206A_202A_202B_206D_200F_202C_206F_200B_202A_202E_206F_200C_206C_202A_200E_200E_202E_206E_202E_206E_206E_206D_206E_200C_206D_202A_202A_202D_202D_202D_202B_206E_200D_206D_206B_206D_206B_200F_200E_206A_202E[num8]._202B_200B_206C_206D_206E_202E_200B_202D_206E_202B_202E_206C_206B_202C_200E_206A_200E_202B_200D_202B_200F_202E_200E_206C_206F_202E_206D_202A_202E_206A_206F_200B_200C_202A_206B_200C_206D_206C_206A_206F_202E(); + uint num9 = num2; + num4 = 1; + num5 = (int)num9; + } + _206A_202A_206F_200D_202E_200D_202C_200B_200B_202B_202C_202B_202B_200B_202E_206C_200F_206B_200F_206F_206D_206A_202D_206A_206F_200D_202C_202A_202E_206E_200C_200D_200E_202D_206A_202B_202B_200D_206A_200D_202E[num]._202B_200B_206C_206D_206E_202E_200B_202D_206E_202B_202E_206C_206B_202C_200E_206A_200E_202B_200D_202B_200F_202E_200E_206C_206F_202E_206D_202A_202E_206A_206F_200B_200C_202A_206B_200C_206D_206C_206A_206F_202E(); + _200F_206F_202A_202A_206E_200F_202A_206A_206E_200F_202D_202B_202B_206C_200D_200F_206C_200C_202A_200E_202C_202E_200B_202A_200D_200B_202A_200B_202C_202E_200D_200B_202C_206C_202A_206B_206C_202C_200F_202B_202E[num]._202B_200B_206C_206D_206E_202E_200B_202D_206E_202B_202E_206C_206B_202C_200E_206A_200E_202B_200D_202B_200F_202E_200E_206C_206F_202E_206D_202A_202E_206A_206F_200B_200C_202A_206B_200C_206D_206C_206A_206F_202E(); + _200D_202C_202A_206F_206F_206A_206A_202C_206E_206E_200C_206C_206B_206A_202A_202D_202A_206B_200C_206F_206C_206F_206A_206B_200F_200C_200C_202C_206A_200B_200B_206E_202A_200D_206B_202B_200B_206D_200B_202A_202E[num]._202B_200B_206C_206D_206E_202E_200B_202D_206E_202B_202E_206C_206B_202C_200E_206A_200E_202B_200D_202B_200F_202E_200E_206C_206F_202E_206D_202A_202E_206A_206F_200B_200C_202A_206B_200C_206D_206C_206A_206F_202E(); + _206D_200F_202D_202A_202B_206F_206C_200B_200E_206D_202C_206D_202E_200E_206E_200F_200C_200C_206B_206E_202D_202D_206F_202E_202A_202E_200F_200D_206E_206E_200D_206F_202E_202C_202C_206C_206A_200F_206B_206A_202E[num]._202B_200B_206C_206D_206E_202E_200B_202D_206E_202B_202E_206C_206B_202C_200E_206A_200E_202B_200D_202B_200F_202E_200E_206C_206F_202E_206D_202A_202E_206A_206F_200B_200C_202A_206B_200C_206D_206C_206A_206F_202E(); + uint num10 = num; + num4 = 1; + num5 = (int)num10; + num = (uint)((num5 | num4) + (num5 & num4)); + } + _200D_206B_202D_206C_206A_206B_206A_206C_206C_206E_206C_206A_200D_202D_206E_202A_200B_206B_206B_206F_206E_202E_206F_206D_206A_202E_200B_200D_206C_206A_200B_202A_206A_202B_206F_206D_200D_202D_206B_202D_202E._200C_200E_200B_202B_202D_202E_200B_202E_200D_200B_206D_206E_200B_206C_202A_200E_202B_200F_206B_202A_200C_202C_206D_206F_200C_206B_202D_206C_206C_206E_206B_200D_202E_202A_202C_200B_202D_200E_206F_202C_202E(); + num = 0u; + while (num < 4) + { + _202C_200F_206A_206A_200B_206A_206D_200D_202A_206C_200F_206C_206D_200C_202B_206D_206A_200B_206F_206F_206D_202C_200E_206D_206C_206A_206A_206C_200C_200C_200E_200B_206E_206D_206B_206A_200F_202D_200B_202C_202E[num]._206F_202A_202D_206F_200E_202A_202C_206D_202D_206E_200E_200D_206B_202A_206F_200D_206A_200D_206C_202E_200C_200B_200B_200C_200E_202A_202B_202B_202C_202C_206F_200C_206C_206F_202C_202A_200D_206A_202D_206F_202E(); + uint num11 = num; + int num4 = 1; + int num5 = (int)num11; + int num12 = num5 ^ num4; + int num13 = num5 & num4; + num = (uint)(num12 + (num13 + num13)); + } + num = 0u; + while (num < 114) + { + _206E_206E_206A_202B_200D_200B_206B_202D_200E_200F_206D_200E_200C_206D_200B_202B_202A_202D_206B_206D_200D_200D_206D_202C_202E_206C_206F_206D_200F_206E_206D_202C_206E_200D_200E_202A_200B_200E_200B_200F_202E[num]._202B_200B_206C_206D_206E_202E_200B_202D_206E_202B_202E_206C_206B_202C_200E_206A_200E_202B_200D_202B_200F_202E_200E_206C_206F_202E_206D_202A_202E_206A_206F_200B_200C_202A_206B_200C_206D_206C_206A_206F_202E(); + uint num14 = num; + int num4 = 1; + int num5 = (int)num14; + num = (uint)((num5 | num4) + (num5 & num4)); + } + _206A_206C_206E_200D_206D_202C_200D_206D_200E_202A_206D_206C_200C_206A_202D_200F_206D_202C_206A_202E_206B_206B_200D_206A_206E_206D_200D_200B_200D_202C_202D_202A_202C_206D_202C_200E_200F_202E_206B_200E_202E._200C_200C_206B_202B_202E_202B_206F_202D_200B_202E_200F_202B_200B_202E_206F_202D_202C_206E_202A_206C_200C_206E_200B_200D_200C_200B_200F_200F_206B_202A_202A_206F_200B_206D_200D_200B_206B_202E_202D_206B_202E(); + _206A_200B_206F_202D_206E_200C_206F_200B_202C_200C_200B_206A_202D_202B_200E_200B_200D_202B_200B_206D_206F_202C_206E_200F_202E_202B_200B_200F_202A_202C_202E_202A_200F_202A_200C_200C_200F_202D_202B_206E_202E._200C_200C_206B_202B_202E_202B_206F_202D_200B_202E_200F_202B_200B_202E_206F_202D_202C_206E_202A_206C_200C_206E_200B_200D_200C_200B_200F_200F_206B_202A_202A_206F_200B_206D_200D_200B_206B_202E_202D_206B_202E(); + _200B_206B_206D_206F_206A_202D_206B_202E_200E_206D_206C_202A_206A_200C_200D_200F_206B_206C_200D_202A_206F_200E_202B_202A_202A_200B_206A_206C_200C_202D_200B_206D_202C_206A_206E_206A_202D_206F_206B_206D_202E._206F_202A_202D_206F_200E_202A_202C_206D_202D_206E_200E_200D_206B_202A_206F_200D_206A_200D_206C_202E_200C_200B_200B_200C_200E_202A_202B_202B_202C_202C_206F_200C_206C_206F_202C_202A_200D_206A_202D_206F_202E(); + } + + internal void _200D_200D_202C_200F_206C_202E_206F_206A_200F_202C_206E_202A_202E_206E_206A_202E_200C_206F_202D_202E_202C_202A_206D_200F_206F_202E_206A_200E_202B_202E_200F_200D_200F_206A_202B_206A_202E_202E_206E_206A_202E(Stream inStream, Stream outStream, long inSize, long outSize) + { + _206C_206F_200B_202B_206C_200E_202A_206B_202C_206B_206D_200F_206A_206B_206C_206A_200F_202D_202B_206E_206D_206A_202B_206F_206C_200B_200C_206C_200C_202A_206C_202C_202B_202C_206B_202D_206A_202B_200F_200D_202E(inStream, outStream); + _202C_206E_206A_206A_206E_206C_206F_200B_200D_206D_206F_202C_200B_202E_206C_200C_202E_202B_202C_206E_200E_206A_200F_206F_200C_206E_206E_202E_202B_200E_206D_206F_206E_202A_200D_206F_200D_202B_206D_202D_202E obj = default(_202C_206E_206A_206A_206E_206C_206F_200B_200D_206D_206F_202C_200B_202E_206C_200C_202E_202B_202C_206E_200E_206A_200F_206F_200C_206E_206E_202E_202B_200E_206D_206F_206E_202A_200D_206F_200D_202B_206D_202D_202E); + obj._206A_200B_200E_200F_202A_206B_206C_206D_200C_206F_202D_202D_206B_206C_200D_200D_206E_202D_206A_200E_202E_206A_202A_200E_206E_202C_206D_200B_200B_200F_202A_200C_200B_202D_206E_206A_200F_202B_206E_206B_202E(); + uint num = 0u; + uint num2 = 0u; + uint num3 = 0u; + uint num4 = 0u; + ulong num5 = 0uL; + if (num5 < (ulong)outSize) + { + _200E_202A_202D_206D_206D_202E_206B_206A_206A_206C_206C_202A_202D_200E_206D_206C_200D_200E_206C_202D_200B_202B_206C_200E_200C_202B_206F_202D_200D_202C_202A_200D_206E_206E_206D_206D_206D_206A_200C_202E[obj._206E_206E_206F_202D_206C_206D_200C_200F_206D_200F_206F_200C_206E_200B_202B_200D_202E_200C_206E_206B_206F_200B_202C_200D_202A_200B_200D_202B_202A_200D_206C_206C_200C_200E_206B_206C_200E_206E_206A_206D_202E << 4]._200B_202C_202D_206D_206F_206C_200E_206F_200E_202D_200C_202A_202D_202A_202D_206D_202C_200B_202A_206B_200D_200C_200D_202A_202B_202D_206C_202E_206E_200D_206B_200E_200F_200F_202B_202C_206F_200F_206D_202E_202E(_200F_200D_206A_200B_202B_200B_206D_206F_206B_206F_206F_206A_206E_206C_202D_200F_206D_206F_202E_200F_202B_202B_202A_202A_206F_202B_206D_202B_206A_206A_200E_202E_206A_206C_200B_200E_202A_206E_206D_206E_202E); + obj._202A_206A_206D_202A_206E_206F_200C_202C_206C_202A_206A_202E_206C_200C_200F_206A_206F_206D_202B_202A_206D_200B_206F_200F_206B_200B_200F_202A_206A_206C_200D_202C_202A_206C_200D_202B_202E_206A_202A_202E(); + byte b = _200D_206B_202D_206C_206A_206B_206A_206C_206C_206E_206C_206A_200D_202D_206E_202A_200B_206B_206B_206F_206E_202E_206F_206D_206A_202E_200B_200D_206C_206A_200B_202A_206A_202B_206F_206D_200D_202D_206B_202D_202E._200D_200B_202C_206E_200F_206A_200D_200B_200B_206E_200F_202E_200E_200D_206F_206A_206A_202B_206E_202E_206E_206C_200F_200E_206E_202E_206D_200B_206F_202C_200C_206F_206C_206D_202C_202E_202B_206C_206D_206E_202E(_200F_200D_206A_200B_202B_200B_206D_206F_206B_206F_206F_206A_206E_206C_202D_200F_206D_206F_202E_200F_202B_202B_202A_202A_206F_202B_206D_202B_206A_206A_200E_202E_206A_206C_200B_200E_202A_206E_206D_206E_202E, 0u, 0); + _200B_200F_200E_200D_202E_200E_206C_206F_200C_202C_206E_206B_206C_206B_206F_206F_202D_202E_202B_206D_202B_202A_206E_200B_206B_200D_202C_200E_206F_200E_202A_202A_206E_202C_200C_206C_202B_200C_200F_206F_202E._200C_206D_206F_202A_206B_200F_206B_200E_202E_206B_206A_206E_202C_200E_202D_206D_206C_206B_206F_202C_202B_200D_202D_200F_202A_200C_200D_206F_200C_202D_206B_206B_202A_202D_200F_202C_206C_206C_206A_206B_202E(b); + ulong num6 = num5; + long num7 = 1L; + long num8 = (long)num6; + long num9 = num8 ^ num7; + long num10 = num8 & num7; + num5 = (ulong)(num9 + (num10 + num10)); + } + while (num5 < (ulong)outSize) + { + int num11 = (int)num5; + int num12 = (int)_206B_202B_202A_202C_206F_206C_202B_202C_206F_206D_202E_202D_200D_202A_206E_206A_206F_202C_202D_202C_200E_202A_206F_206F_200E_206D_202D_202A_202A_206E_200D_202C_202C_200F_202E_206C_200E_206B_200F_206E_202E; + int num13 = num11; + uint num14 = (uint)((num13 | num12) - (num13 ^ num12)); + _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E[] array = _200E_202A_202D_206D_206D_202E_206B_206A_206A_206C_206C_202A_202D_200E_206D_206C_200D_200E_206C_202D_200B_202B_206C_200E_200C_202B_206F_202D_200D_202C_202A_200D_206E_206E_206D_206D_206D_206A_200C_202E; + uint num15 = obj._206E_206E_206F_202D_206C_206D_200C_200F_206D_200F_206F_200C_206E_200B_202B_200D_202E_200C_206E_206B_206F_200B_202C_200D_202A_200B_200D_202B_202A_200D_206C_206C_200C_200E_206B_206C_200E_206E_206A_206D_202E << 4; + num12 = (int)num14; + num13 = (int)num15; + int num16 = num13 ^ num12; + int num17 = num13 & num12; + long num7; + long num8; + if (array[num16 + (num17 + num17)]._200B_202C_202D_206D_206F_206C_200E_206F_200E_202D_200C_202A_202D_202A_202D_206D_202C_200B_202A_206B_200D_200C_200D_202A_202B_202D_206C_202E_206E_200D_206B_200E_200F_200F_202B_202C_206F_200F_206D_202E_202E(_200F_200D_206A_200B_202B_200B_206D_206F_206B_206F_206F_206A_206E_206C_202D_200F_206D_206F_202E_200F_202B_202B_202A_202A_206F_202B_206D_202B_206A_206A_200E_202E_206A_206C_200B_200E_202A_206E_206D_206E_202E) == 0) + { + byte prevByte = _200B_200F_200E_200D_202E_200E_206C_206F_200C_202C_206E_206B_206C_206B_206F_206F_202D_202E_202B_206D_202B_202A_206E_200B_206B_200D_202C_200E_206F_200E_202A_202A_206E_202C_200C_206C_202B_200C_200F_206F_202E._200C_206C_200C_206A_202B_206F_202C_200F_202B_206B_202B_206B_202B_206D_202E_202B_200F_200D_206E_206A_200C_202E_206B_202C_206B_200E_206A_206E_200B_200F_206F_200F_206A_202B_200F_200F_206D_206A_202C_202C_202E(0u); + byte b2 = (obj._206A_206B_206C_200F_206F_202C_200F_200F_200F_206B_202B_200B_200C_202E_206C_200F_206E_202A_200E_200F_202C_206C_202B_202C_206C_200E_202A_206B_206E_200F_202A_206E_200C_202A_206A_206B_206B_206A_202E_206E_202E() ? _200D_206B_202D_206C_206A_206B_206A_206C_206C_206E_206C_206A_200D_202D_206E_202A_200B_206B_206B_206F_206E_202E_206F_206D_206A_202E_200B_200D_206C_206A_200B_202A_206A_202B_206F_206D_200D_202D_206B_202D_202E._200D_200B_202C_206E_200F_206A_200D_200B_200B_206E_200F_202E_200E_200D_206F_206A_206A_202B_206E_202E_206E_206C_200F_200E_206E_202E_206D_200B_206F_202C_200C_206F_206C_206D_202C_202E_202B_206C_206D_206E_202E(_200F_200D_206A_200B_202B_200B_206D_206F_206B_206F_206F_206A_206E_206C_202D_200F_206D_206F_202E_200F_202B_202B_202A_202A_206F_202B_206D_202B_206A_206A_200E_202E_206A_206C_200B_200E_202A_206E_206D_206E_202E, (uint)num5, prevByte) : _200D_206B_202D_206C_206A_206B_206A_206C_206C_206E_206C_206A_200D_202D_206E_202A_200B_206B_206B_206F_206E_202E_206F_206D_206A_202E_200B_200D_206C_206A_200B_202A_206A_202B_206F_206D_200D_202D_206B_202D_202E._206E_202B_206C_206A_200F_202E_206C_202A_206B_206F_206C_202D_200D_206A_206A_202E_202C_206B_200F_200B_206D_202D_200D_200E_202E_202A_202B_202C_202A_200B_206F_200C_202D_202E_202B_202C_200E_206E_202A_200C_202E(_200F_200D_206A_200B_202B_200B_206D_206F_206B_206F_206F_206A_206E_206C_202D_200F_206D_206F_202E_200F_202B_202B_202A_202A_206F_202B_206D_202B_206A_206A_200E_202E_206A_206C_200B_200E_202A_206E_206D_206E_202E, (uint)num5, prevByte, _200B_200F_200E_200D_202E_200E_206C_206F_200C_202C_206E_206B_206C_206B_206F_206F_202D_202E_202B_206D_202B_202A_206E_200B_206B_200D_202C_200E_206F_200E_202A_202A_206E_202C_200C_206C_202B_200C_200F_206F_202E._200C_206C_200C_206A_202B_206F_202C_200F_202B_206B_202B_206B_202B_206D_202E_202B_200F_200D_206E_206A_200C_202E_206B_202C_206B_200E_206A_206E_200B_200F_206F_200F_206A_202B_200F_200F_206D_206A_202C_202C_202E(num))); + _200B_200F_200E_200D_202E_200E_206C_206F_200C_202C_206E_206B_206C_206B_206F_206F_202D_202E_202B_206D_202B_202A_206E_200B_206B_200D_202C_200E_206F_200E_202A_202A_206E_202C_200C_206C_202B_200C_200F_206F_202E._200C_206D_206F_202A_206B_200F_206B_200E_202E_206B_206A_206E_202C_200E_202D_206D_206C_206B_206F_202C_202B_200D_202D_200F_202A_200C_200D_206F_200C_202D_206B_206B_202A_202D_200F_202C_206C_206C_206A_206B_202E(b2); + obj._202A_206A_206D_202A_206E_206F_200C_202C_206C_202A_206A_202E_206C_200C_200F_206A_206F_206D_202B_202A_206D_200B_206F_200F_206B_200B_200F_202A_206A_206C_200D_202C_202A_206C_200D_202B_202E_206A_202A_202E(); + ulong num18 = num5; + num7 = 1L; + num8 = (long)num18; + long num19 = num8 ^ num7; + long num20 = num8 & num7; + num5 = (ulong)(num19 + (num20 + num20)); + continue; + } + uint num24; + if (_206A_202A_206F_200D_202E_200D_202C_200B_200B_202B_202C_202B_202B_200B_202E_206C_200F_206B_200F_206F_206D_206A_202D_206A_206F_200D_202C_202A_202E_206E_200C_200D_200E_202D_206A_202B_202B_200D_206A_200D_202E[obj._206E_206E_206F_202D_206C_206D_200C_200F_206D_200F_206F_200C_206E_200B_202B_200D_202E_200C_206E_206B_206F_200B_202C_200D_202A_200B_200D_202B_202A_200D_206C_206C_200C_200E_206B_206C_200E_206E_206A_206D_202E]._200B_202C_202D_206D_206F_206C_200E_206F_200E_202D_200C_202A_202D_202A_202D_206D_202C_200B_202A_206B_200D_200C_200D_202A_202B_202D_206C_202E_206E_200D_206B_200E_200F_200F_202B_202C_206F_200F_206D_202E_202E(_200F_200D_206A_200B_202B_200B_206D_206F_206B_206F_206F_206A_206E_206C_202D_200F_206D_206F_202E_200F_202B_202B_202A_202A_206F_202B_206D_202B_206A_206A_200E_202E_206A_206C_200B_200E_202A_206E_206D_206E_202E) == 1) + { + if (_200F_206F_202A_202A_206E_200F_202A_206A_206E_200F_202D_202B_202B_206C_200D_200F_206C_200C_202A_200E_202C_202E_200B_202A_200D_200B_202A_200B_202C_202E_200D_200B_202C_206C_202A_206B_206C_202C_200F_202B_202E[obj._206E_206E_206F_202D_206C_206D_200C_200F_206D_200F_206F_200C_206E_200B_202B_200D_202E_200C_206E_206B_206F_200B_202C_200D_202A_200B_200D_202B_202A_200D_206C_206C_200C_200E_206B_206C_200E_206E_206A_206D_202E]._200B_202C_202D_206D_206F_206C_200E_206F_200E_202D_200C_202A_202D_202A_202D_206D_202C_200B_202A_206B_200D_200C_200D_202A_202B_202D_206C_202E_206E_200D_206B_200E_200F_200F_202B_202C_206F_200F_206D_202E_202E(_200F_200D_206A_200B_202B_200B_206D_206F_206B_206F_206F_206A_206E_206C_202D_200F_206D_206F_202E_200F_202B_202B_202A_202A_206F_202B_206D_202B_206A_206A_200E_202E_206A_206C_200B_200E_202A_206E_206D_206E_202E) == 0) + { + _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E[] array2 = _206A_202A_202B_206D_200F_202C_206F_200B_202A_202E_206F_200C_206C_202A_200E_200E_202E_206E_202E_206E_206E_206D_206E_200C_206D_202A_202A_202D_202D_202D_202B_206E_200D_206D_206B_206D_206B_200F_200E_206A_202E; + uint num21 = obj._206E_206E_206F_202D_206C_206D_200C_200F_206D_200F_206F_200C_206E_200B_202B_200D_202E_200C_206E_206B_206F_200B_202C_200D_202A_200B_200D_202B_202A_200D_206C_206C_200C_200E_206B_206C_200E_206E_206A_206D_202E << 4; + num12 = (int)num14; + num13 = (int)num21; + if (array2[(num13 | num12) + (num13 & num12)]._200B_202C_202D_206D_206F_206C_200E_206F_200E_202D_200C_202A_202D_202A_202D_206D_202C_200B_202A_206B_200D_200C_200D_202A_202B_202D_206C_202E_206E_200D_206B_200E_200F_200F_202B_202C_206F_200F_206D_202E_202E(_200F_200D_206A_200B_202B_200B_206D_206F_206B_206F_206F_206A_206E_206C_202D_200F_206D_206F_202E_200F_202B_202B_202A_202A_206F_202B_206D_202B_206A_206A_200E_202E_206A_206C_200B_200E_202A_206E_206D_206E_202E) == 0) + { + obj._202A_206F_200B_206B_200F_206A_206E_202C_206A_206E_202D_202A_200C_206A_202D_202A_206A_200D_206D_206E_200E_206B_202B_200F_202A_200D_206B_202E_202D_200E_202A_202A_206B_200F_200E_202E_206A_206E_206D_206B_202E(); + _200B_200F_200E_200D_202E_200E_206C_206F_200C_202C_206E_206B_206C_206B_206F_206F_202D_202E_202B_206D_202B_202A_206E_200B_206B_200D_202C_200E_206F_200E_202A_202A_206E_202C_200C_206C_202B_200C_200F_206F_202E._200C_206D_206F_202A_206B_200F_206B_200E_202E_206B_206A_206E_202C_200E_202D_206D_206C_206B_206F_202C_202B_200D_202D_200F_202A_200C_200D_206F_200C_202D_206B_206B_202A_202D_200F_202C_206C_206C_206A_206B_202E(_200B_200F_200E_200D_202E_200E_206C_206F_200C_202C_206E_206B_206C_206B_206F_206F_202D_202E_202B_206D_202B_202A_206E_200B_206B_200D_202C_200E_206F_200E_202A_202A_206E_202C_200C_206C_202B_200C_200F_206F_202E._200C_206C_200C_206A_202B_206F_202C_200F_202B_206B_202B_206B_202B_206D_202E_202B_200F_200D_206E_206A_200C_202E_206B_202C_206B_200E_206A_206E_200B_200F_206F_200F_206A_202B_200F_200F_206D_206A_202C_202C_202E(num)); + ulong num22 = num5; + num7 = 1L; + num8 = (long)num22; + num5 = (ulong)((num8 | num7) + (num8 & num7)); + continue; + } + } + else + { + uint num23; + if (_200D_202C_202A_206F_206F_206A_206A_202C_206E_206E_200C_206C_206B_206A_202A_202D_202A_206B_200C_206F_206C_206F_206A_206B_200F_200C_200C_202C_206A_200B_200B_206E_202A_200D_206B_202B_200B_206D_200B_202A_202E[obj._206E_206E_206F_202D_206C_206D_200C_200F_206D_200F_206F_200C_206E_200B_202B_200D_202E_200C_206E_206B_206F_200B_202C_200D_202A_200B_200D_202B_202A_200D_206C_206C_200C_200E_206B_206C_200E_206E_206A_206D_202E]._200B_202C_202D_206D_206F_206C_200E_206F_200E_202D_200C_202A_202D_202A_202D_206D_202C_200B_202A_206B_200D_200C_200D_202A_202B_202D_206C_202E_206E_200D_206B_200E_200F_200F_202B_202C_206F_200F_206D_202E_202E(_200F_200D_206A_200B_202B_200B_206D_206F_206B_206F_206F_206A_206E_206C_202D_200F_206D_206F_202E_200F_202B_202B_202A_202A_206F_202B_206D_202B_206A_206A_200E_202E_206A_206C_200B_200E_202A_206E_206D_206E_202E) == 0) + { + num23 = num2; + } + else + { + if (_206D_200F_202D_202A_202B_206F_206C_200B_200E_206D_202C_206D_202E_200E_206E_200F_200C_200C_206B_206E_202D_202D_206F_202E_202A_202E_200F_200D_206E_206E_200D_206F_202E_202C_202C_206C_206A_200F_206B_206A_202E[obj._206E_206E_206F_202D_206C_206D_200C_200F_206D_200F_206F_200C_206E_200B_202B_200D_202E_200C_206E_206B_206F_200B_202C_200D_202A_200B_200D_202B_202A_200D_206C_206C_200C_200E_206B_206C_200E_206E_206A_206D_202E]._200B_202C_202D_206D_206F_206C_200E_206F_200E_202D_200C_202A_202D_202A_202D_206D_202C_200B_202A_206B_200D_200C_200D_202A_202B_202D_206C_202E_206E_200D_206B_200E_200F_200F_202B_202C_206F_200F_206D_202E_202E(_200F_200D_206A_200B_202B_200B_206D_206F_206B_206F_206F_206A_206E_206C_202D_200F_206D_206F_202E_200F_202B_202B_202A_202A_206F_202B_206D_202B_206A_206A_200E_202E_206A_206C_200B_200E_202A_206E_206D_206E_202E) == 0) + { + num23 = num3; + } + else + { + num23 = num4; + num4 = num3; + } + num3 = num2; + } + num2 = num; + num = num23; + } + num24 = _206A_200B_206F_202D_206E_200C_206F_200B_202C_200C_200B_206A_202D_202B_200E_200B_200D_202B_200B_206D_206F_202C_206E_200F_202E_202B_200B_200F_202A_202C_202E_202A_200F_202A_200C_200C_200F_202D_202B_206E_202E._206D_206A_202C_202D_202A_202E_202A_206B_206A_200E_202D_202C_202B_206F_200F_206A_202D_206A_206A_202D_200F_202C_202E_202D_202B_200B_206A_206E_202E_202A_200D_202C_202E_202D_200E_200D_200C_206E_206A_202C_202E(_200F_200D_206A_200B_202B_200B_206D_206F_206B_206F_206F_206A_206E_206C_202D_200F_206D_206F_202E_200F_202B_202B_202A_202A_206F_202B_206D_202B_206A_206A_200E_202E_206A_206C_200B_200E_202A_206E_206D_206E_202E, num14) + 2; + obj._206D_202C_206B_202D_206B_206E_206F_206D_206C_206C_200F_200F_206D_206F_206E_202C_200E_202E_206B_200B_206A_206B_202D_206E_206C_200D_206A_202B_202B_206D_200E_202C_202E_206A_202B_206C_200D_206B_200D_202B_202E(); + } + else + { + num4 = num3; + num3 = num2; + num2 = num; + num24 = 2 + _206A_206C_206E_200D_206D_202C_200D_206D_200E_202A_206D_206C_200C_206A_202D_200F_206D_202C_206A_202E_206B_206B_200D_206A_206E_206D_200D_200B_200D_202C_202D_202A_202C_206D_202C_200E_200F_202E_206B_200E_202E._206D_206A_202C_202D_202A_202E_202A_206B_206A_200E_202D_202C_202B_206F_200F_206A_202D_206A_206A_202D_200F_202C_202E_202D_202B_200B_206A_206E_202E_202A_200D_202C_202E_202D_200E_200D_200C_206E_206A_202C_202E(_200F_200D_206A_200B_202B_200B_206D_206F_206B_206F_206F_206A_206E_206C_202D_200F_206D_206F_202E_200F_202B_202B_202A_202A_206F_202B_206D_202B_206A_206A_200E_202E_206A_206C_200B_200E_202A_206E_206D_206E_202E, num14); + obj._200C_200E_202E_200B_206B_206F_200C_206E_202D_200E_202B_206F_200E_202C_206D_206C_202C_206B_206B_200B_202D_202A_200F_206F_206C_200F_202C_206C_200E_206C_200D_200C_206F_202C_202B_200C_200F_202B_206D_202C_202E(); + uint num25 = _202C_200F_206A_206A_200B_206A_206D_200D_202A_206C_200F_206C_206D_200C_202B_206D_206A_200B_206F_206F_206D_202C_200E_206D_206C_206A_206A_206C_200C_200C_200E_200B_206E_206D_206B_206A_200F_202D_200B_202C_202E[_202A_200C_202C_206A_202E_202D_200B_202E_206E_206D_206A_206C_200D_200F_200E_202C_200B_206C_200E_206A_202E_206D_200B_206E_206A_206D_200C_200F_206F_202B_206D_206A_200D_206B_206D_202D_202D_206A_202B_206E_202E(num24)]._202B_206E_206A_200C_202A_200E_202A_206D_200B_200D_206F_200D_202C_200C_206D_200D_202E_206B_206C_202C_206A_200B_206C_202C_202B_206F_206F_202E_200E_200E_202C_202B_202C_202E_206B_206A_200F_200F_200F_206A_202E(_200F_200D_206A_200B_202B_200B_206D_206F_206B_206F_206F_206A_206E_206C_202D_200F_206D_206F_202E_200F_202B_202B_202A_202A_206F_202B_206D_202B_206A_206A_200E_202E_206A_206C_200B_200E_202A_206E_206D_206E_202E); + if (num25 >= 4) + { + uint num26 = num25 >> 1; + num12 = 1; + num13 = (int)num26; + int num27 = ~(~num13 + num12); + num12 = 1; + num13 = (int)num25; + num12 = (num13 | num12) - (num13 ^ num12); + num13 = 2; + int num28 = num13 + num12 - (num13 & num12); + num12 = 31; + num13 = num27; + num = (uint)(num28 << (num13 | num12) - (num13 ^ num12)); + if (num25 < 14) + { + uint num29 = num; + _200E_206F_200E_200B_206D_202A_200D_206A_206A_200F_206D_202D_200D_200D_206F_206D_202C_200C_200B_200B_200B_206E_206E_206A_206C_200C_206A_206B_202E_202A_200E_200C_200E_202E_200B_202C_200F_202E_206E_200D_202E[] models = _206E_206E_206A_202B_200D_200B_206B_202D_200E_200F_206D_200E_200C_206D_200B_202B_202A_202D_206B_206D_200D_200D_206D_202C_202E_206C_206F_206D_200F_206E_206D_202C_206E_200D_200E_202A_200B_200E_200B_200F_202E; + uint num30 = num; + num12 = (int)num25; + num13 = (int)num30; + int num31 = ~(~num13 + num12); + num12 = 1; + num13 = num31; + num = num29 + _202B_202E_206F_202C_200B_202C_206C_202E_202B_200B_202A_202A_200C_206D_206C_206F_206F_206C_200F_206A_202C_202D_202E_200F_206F_206D_206F_206D_206B_200F_202A_200B_200B_202D_200F_202C_200F_202D_206D_206F_202E._202B_206F_200E_206A_200B_206B_200B_202A_206E_200E_200D_206A_200E_202B_202A_200B_206F_202B_200C_206B_202A_200E_206D_202D_202B_206F_200E_202D_206E_202D_202B_206E_206A_206B_202C_200C_200E_206D_202C_202E(models, (uint)(~(~num13 + num12)), _200F_200D_206A_200B_202B_200B_206D_206F_206B_206F_206F_206A_206E_206C_202D_200F_206D_206F_202E_200F_202B_202B_202A_202A_206F_202B_206D_202B_206A_206A_200E_202E_206A_206C_200B_200E_202A_206E_206D_206E_202E, num27); + } + else + { + uint num32 = num; + _202E_206F_206A_200E_200D_200B_200D_200C_200B_200D_206C_206B_202E_206D_206F_206E_206B_202A_202B_202D_202B_206C_200C_206A_206B_200B_200E_200B_202B_202B_206B_200B_200C_202E_206E_206C_206E_200C_206A_200C_202E obj2 = _200F_200D_206A_200B_202B_200B_206D_206F_206B_206F_206F_206A_206E_206C_202D_200F_206D_206F_202E_200F_202B_202B_202A_202A_206F_202B_206D_202B_206A_206A_200E_202E_206A_206C_200B_200E_202A_206E_206D_206E_202E; + num12 = 4; + num13 = num27; + num = num32 + (obj2._202C_202B_200F_206F_202A_202A_206D_202B_206F_202A_206D_200B_200B_202D_206F_206C_200F_200B_200C_206F_200B_202B_202A_200F_202B_206C_202E_200E_200E_202E_206E_206A_206D_200C_206E_206E_202C_200F_202A_202E_202E(~(~num13 + num12)) << 4); + num += _200B_206B_206D_206F_206A_202D_206B_202E_200E_206D_206C_202A_206A_200C_200D_200F_206B_206C_200D_202A_206F_200E_202B_202A_202A_200B_206A_206C_200C_202D_200B_206D_202C_206A_206E_206A_202D_206F_206B_206D_202E._206A_202D_206E_202E_206F_200D_200C_200D_200B_206D_206B_206C_206B_206D_206A_202C_206E_206D_202E_202E_202A_206C_202B_202E_200F_200B_206C_200F_202A_200C_202E_200E_202D_200E_206B_206C_200E_206B_202A_202C_202E(_200F_200D_206A_200B_202B_200B_206D_206F_206B_206F_206F_206A_206E_206C_202D_200F_206D_206F_202E_200F_202B_202B_202A_202A_206F_202B_206D_202B_206A_206A_200E_202E_206A_206C_200B_200E_202A_206E_206D_206E_202E); + } + } + else + { + num = num25; + } + } + if ((num >= num5 || num >= _202B_202A_206D_200C_200F_202B_206C_202A_202C_206C_206C_206B_200F_206B_206C_206D_202C_200C_206B_200C_206A_202D_200E_200F_200E_206A_200B_200E_206A_200D_206E_202C_206B_200E_206A_200F_206D_202A_206E_202E) && num == uint.MaxValue) + { + break; + } + _200B_200F_200E_200D_202E_200E_206C_206F_200C_202C_206E_206B_206C_206B_206F_206F_202D_202E_202B_206D_202B_202A_206E_200B_206B_200D_202C_200E_206F_200E_202A_202A_206E_202C_200C_206C_202B_200C_200F_206F_202E._200E_202B_200C_206C_200E_206B_200E_202D_200D_202A_202D_202A_206F_202A_202A_200D_206F_202C_202C_206C_202E_206E_202B_200D_206D_200F_202D_200F_202B_206B_202D_202C_206B_200B_200C_202C_200F_200E_202C_206D_202E(num, num24); + ulong num33 = num5; + num7 = num24; + num8 = (long)num33; + long num34 = num8 ^ num7; + long num35 = num8 & num7; + num5 = (ulong)(num34 + (num35 + num35)); + } + _200B_200F_200E_200D_202E_200E_206C_206F_200C_202C_206E_206B_206C_206B_206F_206F_202D_202E_202B_206D_202B_202A_206E_200B_206B_200D_202C_200E_206F_200E_202A_202A_206E_202C_200C_206C_202B_200C_200F_206F_202E._202E_200D_206E_202D_202A_202A_200D_202B_206B_200C_206E_202C_200F_206A_206D_202D_202E_200F_202C_206C_202A_202C_200D_206E_202B_206D_206C_200E_200F_206E_200D_202A_202E_202C_202A_200E_202A_202D_202A_202D_202E(); + _200B_200F_200E_200D_202E_200E_206C_206F_200C_202C_206E_206B_206C_206B_206F_206F_202D_202E_202B_206D_202B_202A_206E_200B_206B_200D_202C_200E_206F_200E_202A_202A_206E_202C_200C_206C_202B_200C_200F_206F_202E._200F_206F_206A_200C_206E_200B_206C_206D_202E_206F_206B_202E_206F_200F_202A_200F_202D_206C_206B_200C_200C_202E_200C_202E_200D_206F_206C_200F_200E_202B_200E_206C_206D_206D_206F_202D_206D_206C_206D_200F_202E(); + _200F_200D_206A_200B_202B_200B_206D_206F_206B_206F_206F_206A_206E_206C_202D_200F_206D_206F_202E_200F_202B_202B_202A_202A_206F_202B_206D_202B_206A_206A_200E_202E_206A_206C_200B_200E_202A_206E_206D_206E_202E._206D_202E_200E_206D_200C_206B_202C_200B_202B_202A_202B_206D_202C_206D_206B_202D_200B_206D_202A_202D_206B_200D_200E_200F_206E_206E_202E_206E_200E_200C_200F_202B_200F_202D_206B_206C_202D_200F_200C_202E_202E(); + } + + internal void _202E_206D_200F_206A_206C_200B_202B_200D_206E_202E_200E_206A_206D_200D_200D_206E_200D_200C_202E_200F_200C_206B_206B_206B_200B_202A_206E_206A_206E_200C_200C_202C_202B_200C_206E_200D_206C_202E_206A_206F_202E(byte[] properties) + { + int lc = properties[0] % 9; + int num = properties[0] / 9; + int lp = num % 5; + int pb = num / 5; + uint num2 = 0u; + int num3 = 0; + while (num3 < 4) + { + uint num4 = num2; + int num5 = num3; + int num6 = 1; + int num7 = num6 ^ num5; + int num8 = num6 & num5; + byte num9 = properties[num7 + (num8 + num8)]; + int num10 = num3 * 8; + num5 = 31; + num6 = num10; + num5 = num9 << (num6 | num5) - (num6 ^ num5); + num6 = (int)num4; + int num11 = num6 ^ num5; + int num12 = num6 & num5; + num2 = (uint)(num11 + (num12 + num12)); + int num13 = num3; + num5 = 1; + num6 = num13; + num3 = (num6 | num5) + (num6 & num5); + } + _206D_206B_206B_200E_200F_202B_200E_200D_206E_206B_200F_206E_200B_200B_206A_206C_200E_200F_202B_206F_206B_200F_202D_200C_200B_206A_206B_206D_206C_202E_202C_200C_202E_206B_200F_206A_200C_200F_206C_202B_202E(num2); + _202B_200C_200B_202C_202A_202B_200D_200F_200C_200E_202A_206B_206F_200D_202D_206B_202E_200E_206B_206B_202B_202C_200D_202C_200E_200D_206E_206E_206A_206F_202E_202B_206C_206E_202B_202B_206B_200B_202A_200F_202E(lp, lc); + _206C_206E_202C_202D_200F_200F_202D_200D_206C_206E_202A_206C_200C_200D_200F_206E_206C_202B_202C_202B_206F_202C_202C_206A_206C_206C_202E_202A_206F_202D_200B_206C_206E_206E_206B_200C_206D_206B_206B_200C_202E(pb); + } + + internal static uint _202A_200C_202C_206A_202E_202D_200B_202E_206E_206D_206A_206C_200D_200F_200E_202C_200B_206C_200E_206A_202E_206D_200B_206E_206A_206D_200C_200F_206F_202B_206D_206A_200D_206B_206D_202D_202D_206A_202B_206E_202E(uint len) + { + uint num = len; + int num2 = 2; + int num3 = (int)num; + len = (uint)(~(~num3 + num2)); + if (len < 4) + { + return len; + } + return 3u; + } +} +internal class _206A_206F_206F_206B_202C_206C_202E_202E_202D_206F_206E_200F_200C_200F_206B_206B_202C_200E_206F_206F_206E_202E_202B_202D_206F_202E_200E_206A_202D_200E_202D_206C_206C_202A_202D_202A_206C_206F_200D_200D_202E +{ + internal byte[] _200B_206C_202A_206B_206D_202C_202E_202C_200D_202B_200D_200E_206C_206B_200C_202C_206A_202A_200C_200F_202A_200F_200B_206A_206F_202D_202A_202B_206C_202B_202B_200B_206D_200F_206F_202E_206E_202B_206B_202E; + + internal uint _200C_200B_202D_200E_206F_202A_202D_206B_200C_202B_200C_206C_202C_200C_200D_202C_206F_206D_200F_200F_202C_202B_206D_202E_202A_206C_202E_206F_202C_202B_202D_202D_206B_206C_206B_206A_200B_200E_200F_206B_202E; + + internal Stream _200E_206D_202B_202D_206B_202C_206F_202D_200B_202E_202C_206C_200B_206B_202E_200C_206B_206F_206D_200C_200B_202A_200D_206D_202B_200D_202B_202D_200F_200C_202B_206B_202B_200F_206E_206C_206D_206B_202E_200C_202E; + + internal uint _200E_206C_206F_206E_206D_206B_200B_206D_206D_200B_206C_200B_202D_206D_202E_200D_206E_202E_202A_206D_202C_206C_200C_200F_202C_200C_206B_206C_202B_200C_206A_202D_202E_202B_200B_206D_206B_200C_202D_202A_202E; + + internal uint _202B_206F_202D_200D_206A_202E_206B_200E_200C_200B_206E_202B_202B_200E_200F_200F_206F_206C_200E_206C_206A_206C_202C_200C_202A_200B_206F_206E_206E_206E_202E_202D_202E_200E_202D_206E_200E_202C_206A_206B_202E; + + internal void _200E_202D_206D_200E_200B_202E_200B_202A_202D_206D_206B_200B_202C_206E_206B_202B_206E_202E_202D_206B_202A_200D_206F_206E_200F_202B_200E_206F_202C_202C_206B_202C_200B_202D_200C_206C_200F_202C_202A_200D_202E(uint windowSize) + { + if (_202B_206F_202D_200D_206A_202E_206B_200E_200C_200B_206E_202B_202B_200E_200F_200F_206F_206C_200E_206C_206A_206C_202C_200C_202A_200B_206F_206E_206E_206E_202E_202D_202E_200E_202D_206E_200E_202C_206A_206B_202E != windowSize) + { + _200B_206C_202A_206B_206D_202C_202E_202C_200D_202B_200D_200E_206C_206B_200C_202C_206A_202A_200C_200F_202A_200F_200B_206A_206F_202D_202A_202B_206C_202B_202B_200B_206D_200F_206F_202E_206E_202B_206B_202E = new byte[windowSize]; + } + _202B_206F_202D_200D_206A_202E_206B_200E_200C_200B_206E_202B_202B_200E_200F_200F_206F_206C_200E_206C_206A_206C_202C_200C_202A_200B_206F_206E_206E_206E_202E_202D_202E_200E_202D_206E_200E_202C_206A_206B_202E = windowSize; + _200C_200B_202D_200E_206F_202A_202D_206B_200C_202B_200C_206C_202C_200C_200D_202C_206F_206D_200F_200F_202C_202B_206D_202E_202A_206C_202E_206F_202C_202B_202D_202D_206B_206C_206B_206A_200B_200E_200F_206B_202E = 0u; + _200E_206C_206F_206E_206D_206B_200B_206D_206D_200B_206C_200B_202D_206D_202E_200D_206E_202E_202A_206D_202C_206C_200C_200F_202C_200C_206B_206C_202B_200C_206A_202D_202E_202B_200B_206D_206B_200C_202D_202A_202E = 0u; + } + + internal void _202C_206E_200E_206A_206D_206F_200E_202E_206F_206D_200E_206F_206C_200E_206B_206B_202E_202D_206D_200C_206A_206C_206D_202B_202B_200C_202D_202C_202C_200D_200F_206A_200C_202E_200D_206B_200C_206E_206B_206C_202E(Stream stream, bool solid) + { + _200F_206F_206A_200C_206E_200B_206C_206D_202E_206F_206B_202E_206F_200F_202A_200F_202D_206C_206B_200C_200C_202E_200C_202E_200D_206F_206C_200F_200E_202B_200E_206C_206D_206D_206F_202D_206D_206C_206D_200F_202E(); + _200E_206D_202B_202D_206B_202C_206F_202D_200B_202E_202C_206C_200B_206B_202E_200C_206B_206F_206D_200C_200B_202A_200D_206D_202B_200D_202B_202D_200F_200C_202B_206B_202B_200F_206E_206C_206D_206B_202E_200C_202E = stream; + if (!solid) + { + _200E_206C_206F_206E_206D_206B_200B_206D_206D_200B_206C_200B_202D_206D_202E_200D_206E_202E_202A_206D_202C_206C_200C_200F_202C_200C_206B_206C_202B_200C_206A_202D_202E_202B_200B_206D_206B_200C_202D_202A_202E = 0u; + _200C_200B_202D_200E_206F_202A_202D_206B_200C_202B_200C_206C_202C_200C_200D_202C_206F_206D_200F_200F_202C_202B_206D_202E_202A_206C_202E_206F_202C_202B_202D_202D_206B_206C_206B_206A_200B_200E_200F_206B_202E = 0u; + } + } + + internal void _200F_206F_206A_200C_206E_200B_206C_206D_202E_206F_206B_202E_206F_200F_202A_200F_202D_206C_206B_200C_200C_202E_200C_202E_200D_206F_206C_200F_200E_202B_200E_206C_206D_206D_206F_202D_206D_206C_206D_200F_202E() + { + _202E_200D_206E_202D_202A_202A_200D_202B_206B_200C_206E_202C_200F_206A_206D_202D_202E_200F_202C_206C_202A_202C_200D_206E_202B_206D_206C_200E_200F_206E_200D_202A_202E_202C_202A_200E_202A_202D_202A_202D_202E(); + _200E_206D_202B_202D_206B_202C_206F_202D_200B_202E_202C_206C_200B_206B_202E_200C_206B_206F_206D_200C_200B_202A_200D_206D_202B_200D_202B_202D_200F_200C_202B_206B_202B_200F_206E_206C_206D_206B_202E_200C_202E = null; + Buffer.BlockCopy(new byte[_200B_206C_202A_206B_206D_202C_202E_202C_200D_202B_200D_200E_206C_206B_200C_202C_206A_202A_200C_200F_202A_200F_200B_206A_206F_202D_202A_202B_206C_202B_202B_200B_206D_200F_206F_202E_206E_202B_206B_202E.Length], 0, _200B_206C_202A_206B_206D_202C_202E_202C_200D_202B_200D_200E_206C_206B_200C_202C_206A_202A_200C_200F_202A_200F_200B_206A_206F_202D_202A_202B_206C_202B_202B_200B_206D_200F_206F_202E_206E_202B_206B_202E, 0, _200B_206C_202A_206B_206D_202C_202E_202C_200D_202B_200D_200E_206C_206B_200C_202C_206A_202A_200C_200F_202A_200F_200B_206A_206F_202D_202A_202B_206C_202B_202B_200B_206D_200F_206F_202E_206E_202B_206B_202E.Length); + } + + internal void _202E_200D_206E_202D_202A_202A_200D_202B_206B_200C_206E_202C_200F_206A_206D_202D_202E_200F_202C_206C_202A_202C_200D_206E_202B_206D_206C_200E_200F_206E_200D_202A_202E_202C_202A_200E_202A_202D_202A_202D_202E() + { + uint num = _200C_200B_202D_200E_206F_202A_202D_206B_200C_202B_200C_206C_202C_200C_200D_202C_206F_206D_200F_200F_202C_202B_206D_202E_202A_206C_202E_206F_202C_202B_202D_202D_206B_206C_206B_206A_200B_200E_200F_206B_202E; + int num2 = (int)_200E_206C_206F_206E_206D_206B_200B_206D_206D_200B_206C_200B_202D_206D_202E_200D_206E_202E_202A_206D_202C_206C_200C_200F_202C_200C_206B_206C_202B_200C_206A_202D_202E_202B_200B_206D_206B_200C_202D_202A_202E; + int num3 = (int)num; + uint num4 = (uint)(~(~num3 + num2)); + if (num4 != 0) + { + _200E_206D_202B_202D_206B_202C_206F_202D_200B_202E_202C_206C_200B_206B_202E_200C_206B_206F_206D_200C_200B_202A_200D_206D_202B_200D_202B_202D_200F_200C_202B_206B_202B_200F_206E_206C_206D_206B_202E_200C_202E.Write(_200B_206C_202A_206B_206D_202C_202E_202C_200D_202B_200D_200E_206C_206B_200C_202C_206A_202A_200C_200F_202A_200F_200B_206A_206F_202D_202A_202B_206C_202B_202B_200B_206D_200F_206F_202E_206E_202B_206B_202E, (int)_200E_206C_206F_206E_206D_206B_200B_206D_206D_200B_206C_200B_202D_206D_202E_200D_206E_202E_202A_206D_202C_206C_200C_200F_202C_200C_206B_206C_202B_200C_206A_202D_202E_202B_200B_206D_206B_200C_202D_202A_202E, (int)num4); + if (_200C_200B_202D_200E_206F_202A_202D_206B_200C_202B_200C_206C_202C_200C_200D_202C_206F_206D_200F_200F_202C_202B_206D_202E_202A_206C_202E_206F_202C_202B_202D_202D_206B_206C_206B_206A_200B_200E_200F_206B_202E >= _202B_206F_202D_200D_206A_202E_206B_200E_200C_200B_206E_202B_202B_200E_200F_200F_206F_206C_200E_206C_206A_206C_202C_200C_202A_200B_206F_206E_206E_206E_202E_202D_202E_200E_202D_206E_200E_202C_206A_206B_202E) + { + _200C_200B_202D_200E_206F_202A_202D_206B_200C_202B_200C_206C_202C_200C_200D_202C_206F_206D_200F_200F_202C_202B_206D_202E_202A_206C_202E_206F_202C_202B_202D_202D_206B_206C_206B_206A_200B_200E_200F_206B_202E = 0u; + } + _200E_206C_206F_206E_206D_206B_200B_206D_206D_200B_206C_200B_202D_206D_202E_200D_206E_202E_202A_206D_202C_206C_200C_200F_202C_200C_206B_206C_202B_200C_206A_202D_202E_202B_200B_206D_206B_200C_202D_202A_202E = _200C_200B_202D_200E_206F_202A_202D_206B_200C_202B_200C_206C_202C_200C_200D_202C_206F_206D_200F_200F_202C_202B_206D_202E_202A_206C_202E_206F_202C_202B_202D_202D_206B_206C_206B_206A_200B_200E_200F_206B_202E; + } + } + + internal void _200E_202B_200C_206C_200E_206B_200E_202D_200D_202A_202D_202A_206F_202A_202A_200D_206F_202C_202C_206C_202E_206E_202B_200D_206D_200F_202D_200F_202B_206B_202D_202C_206B_200B_200C_202C_200F_200E_202C_206D_202E(uint distance, uint len) + { + uint num = _200C_200B_202D_200E_206F_202A_202D_206B_200C_202B_200C_206C_202C_200C_200D_202C_206F_206D_200F_200F_202C_202B_206D_202E_202A_206C_202E_206F_202C_202B_202D_202D_206B_206C_206B_206A_200B_200E_200F_206B_202E; + int num2 = (int)distance; + int num3 = (int)num; + int num4 = ~(~num3 + num2); + num2 = 1; + num3 = num4; + uint num5 = (uint)(~(~num3 + num2)); + if (num5 >= _202B_206F_202D_200D_206A_202E_206B_200E_200C_200B_206E_202B_202B_200E_200F_200F_206F_206C_200E_206C_206A_206C_202C_200C_202A_200B_206F_206E_206E_206E_202E_202D_202E_200E_202D_206E_200E_202C_206A_206B_202E) + { + uint num6 = num5; + num2 = (int)_202B_206F_202D_200D_206A_202E_206B_200E_200C_200B_206E_202B_202B_200E_200F_200F_206F_206C_200E_206C_206A_206C_202C_200C_202A_200B_206F_206E_206E_206E_202E_202D_202E_200E_202D_206E_200E_202C_206A_206B_202E; + num3 = (int)num6; + int num7 = num3 ^ num2; + int num8 = num3 & num2; + num5 = (uint)(num7 + (num8 + num8)); + } + while (len != 0) + { + if (num5 >= _202B_206F_202D_200D_206A_202E_206B_200E_200C_200B_206E_202B_202B_200E_200F_200F_206F_206C_200E_206C_206A_206C_202C_200C_202A_200B_206F_206E_206E_206E_202E_202D_202E_200E_202D_206E_200E_202C_206A_206B_202E) + { + num5 = 0u; + } + byte[] array = _200B_206C_202A_206B_206D_202C_202E_202C_200D_202B_200D_200E_206C_206B_200C_202C_206A_202A_200C_200F_202A_200F_200B_206A_206F_202D_202A_202B_206C_202B_202B_200B_206D_200F_206F_202E_206E_202B_206B_202E; + uint num9 = _200C_200B_202D_200E_206F_202A_202D_206B_200C_202B_200C_206C_202C_200C_200D_202C_206F_206D_200F_200F_202C_202B_206D_202E_202A_206C_202E_206F_202C_202B_202D_202D_206B_206C_206B_206A_200B_200E_200F_206B_202E; + num2 = 1; + num3 = (int)num9; + _200C_200B_202D_200E_206F_202A_202D_206B_200C_202B_200C_206C_202C_200C_200D_202C_206F_206D_200F_200F_202C_202B_206D_202E_202A_206C_202E_206F_202C_202B_202D_202D_206B_206C_206B_206A_200B_200E_200F_206B_202E = (uint)((num3 | num2) + (num3 & num2)); + byte[] array2 = _200B_206C_202A_206B_206D_202C_202E_202C_200D_202B_200D_200E_206C_206B_200C_202C_206A_202A_200C_200F_202A_200F_200B_206A_206F_202D_202A_202B_206C_202B_202B_200B_206D_200F_206F_202E_206E_202B_206B_202E; + uint num10 = num5; + num2 = 1; + num3 = (int)num10; + int num11 = num3 ^ num2; + int num12 = num3 & num2; + num5 = (uint)(num11 + (num12 + num12)); + array[num9] = array2[num10]; + if (_200C_200B_202D_200E_206F_202A_202D_206B_200C_202B_200C_206C_202C_200C_200D_202C_206F_206D_200F_200F_202C_202B_206D_202E_202A_206C_202E_206F_202C_202B_202D_202D_206B_206C_206B_206A_200B_200E_200F_206B_202E >= _202B_206F_202D_200D_206A_202E_206B_200E_200C_200B_206E_202B_202B_200E_200F_200F_206F_206C_200E_206C_206A_206C_202C_200C_202A_200B_206F_206E_206E_206E_202E_202D_202E_200E_202D_206E_200E_202C_206A_206B_202E) + { + _202E_200D_206E_202D_202A_202A_200D_202B_206B_200C_206E_202C_200F_206A_206D_202D_202E_200F_202C_206C_202A_202C_200D_206E_202B_206D_206C_200E_200F_206E_200D_202A_202E_202C_202A_200E_202A_202D_202A_202D_202E(); + } + uint num13 = len; + num2 = 1; + num3 = (int)num13; + len = (uint)(~(~num3 + num2)); + } + } + + internal void _200C_206D_206F_202A_206B_200F_206B_200E_202E_206B_206A_206E_202C_200E_202D_206D_206C_206B_206F_202C_202B_200D_202D_200F_202A_200C_200D_206F_200C_202D_206B_206B_202A_202D_200F_202C_206C_206C_206A_206B_202E(byte b) + { + byte[] array = _200B_206C_202A_206B_206D_202C_202E_202C_200D_202B_200D_200E_206C_206B_200C_202C_206A_202A_200C_200F_202A_200F_200B_206A_206F_202D_202A_202B_206C_202B_202B_200B_206D_200F_206F_202E_206E_202B_206B_202E; + uint num = _200C_200B_202D_200E_206F_202A_202D_206B_200C_202B_200C_206C_202C_200C_200D_202C_206F_206D_200F_200F_202C_202B_206D_202E_202A_206C_202E_206F_202C_202B_202D_202D_206B_206C_206B_206A_200B_200E_200F_206B_202E; + int num2 = 1; + int num3 = (int)num; + int num4 = num3 ^ num2; + int num5 = num3 & num2; + _200C_200B_202D_200E_206F_202A_202D_206B_200C_202B_200C_206C_202C_200C_200D_202C_206F_206D_200F_200F_202C_202B_206D_202E_202A_206C_202E_206F_202C_202B_202D_202D_206B_206C_206B_206A_200B_200E_200F_206B_202E = (uint)(num4 + (num5 + num5)); + array[num] = b; + if (_200C_200B_202D_200E_206F_202A_202D_206B_200C_202B_200C_206C_202C_200C_200D_202C_206F_206D_200F_200F_202C_202B_206D_202E_202A_206C_202E_206F_202C_202B_202D_202D_206B_206C_206B_206A_200B_200E_200F_206B_202E >= _202B_206F_202D_200D_206A_202E_206B_200E_200C_200B_206E_202B_202B_200E_200F_200F_206F_206C_200E_206C_206A_206C_202C_200C_202A_200B_206F_206E_206E_206E_202E_202D_202E_200E_202D_206E_200E_202C_206A_206B_202E) + { + _202E_200D_206E_202D_202A_202A_200D_202B_206B_200C_206E_202C_200F_206A_206D_202D_202E_200F_202C_206C_202A_202C_200D_206E_202B_206D_206C_200E_200F_206E_200D_202A_202E_202C_202A_200E_202A_202D_202A_202D_202E(); + } + } + + internal byte _200C_206C_200C_206A_202B_206F_202C_200F_202B_206B_202B_206B_202B_206D_202E_202B_200F_200D_206E_206A_200C_202E_206B_202C_206B_200E_206A_206E_200B_200F_206F_200F_206A_202B_200F_200F_206D_206A_202C_202C_202E(uint distance) + { + uint num = _200C_200B_202D_200E_206F_202A_202D_206B_200C_202B_200C_206C_202C_200C_200D_202C_206F_206D_200F_200F_202C_202B_206D_202E_202A_206C_202E_206F_202C_202B_202D_202D_206B_206C_206B_206A_200B_200E_200F_206B_202E; + int num2 = (int)distance; + int num3 = (int)num; + int num4 = ~(~num3 + num2); + num2 = 1; + num3 = num4; + uint num5 = (uint)(~(~num3 + num2)); + if (num5 >= _202B_206F_202D_200D_206A_202E_206B_200E_200C_200B_206E_202B_202B_200E_200F_200F_206F_206C_200E_206C_206A_206C_202C_200C_202A_200B_206F_206E_206E_206E_202E_202D_202E_200E_202D_206E_200E_202C_206A_206B_202E) + { + uint num6 = num5; + num2 = (int)_202B_206F_202D_200D_206A_202E_206B_200E_200C_200B_206E_202B_202B_200E_200F_200F_206F_206C_200E_206C_206A_206C_202C_200C_202A_200B_206F_206E_206E_206E_202E_202D_202E_200E_202D_206E_200E_202C_206A_206B_202E; + num3 = (int)num6; + int num7 = num3 ^ num2; + int num8 = num3 & num2; + num5 = (uint)(num7 + (num8 + num8)); + } + return _200B_206C_202A_206B_206D_202C_202E_202C_200D_202B_200D_200E_206C_206B_200C_202C_206A_202A_200C_200F_202A_200F_200B_206A_206F_202D_202A_202B_206C_202B_202B_200B_206D_200F_206F_202E_206E_202B_206B_202E[num5]; + } + + internal _206A_206F_206F_206B_202C_206C_202E_202E_202D_206F_206E_200F_200C_200F_206B_206B_202C_200E_206F_206F_206E_202E_202B_202D_206F_202E_200E_206A_202D_200E_202D_206C_206C_202A_202D_202A_206C_206F_200D_200D_202E() + { + } +} +internal struct _202C_206E_206A_206A_206E_206C_206F_200B_200D_206D_206F_202C_200B_202E_206C_200C_202E_202B_202C_206E_200E_206A_200F_206F_200C_206E_206E_202E_202B_200E_206D_206F_206E_202A_200D_206F_200D_202B_206D_202D_202E +{ + internal uint _206E_206E_206F_202D_206C_206D_200C_200F_206D_200F_206F_200C_206E_200B_202B_200D_202E_200C_206E_206B_206F_200B_202C_200D_202A_200B_200D_202B_202A_200D_206C_206C_200C_200E_206B_206C_200E_206E_206A_206D_202E; + + internal void _206A_200B_200E_200F_202A_206B_206C_206D_200C_206F_202D_202D_206B_206C_200D_200D_206E_202D_206A_200E_202E_206A_202A_200E_206E_202C_206D_200B_200B_200F_202A_200C_200B_202D_206E_206A_200F_202B_206E_206B_202E() + { + _206E_206E_206F_202D_206C_206D_200C_200F_206D_200F_206F_200C_206E_200B_202B_200D_202E_200C_206E_206B_206F_200B_202C_200D_202A_200B_200D_202B_202A_200D_206C_206C_200C_200E_206B_206C_200E_206E_206A_206D_202E = 0u; + } + + internal void _202A_206A_206D_202A_206E_206F_200C_202C_206C_202A_206A_202E_206C_200C_200F_206A_206F_206D_202B_202A_206D_200B_206F_200F_206B_200B_200F_202A_206A_206C_200D_202C_202A_206C_200D_202B_202E_206A_202A_202E() + { + if (_206E_206E_206F_202D_206C_206D_200C_200F_206D_200F_206F_200C_206E_200B_202B_200D_202E_200C_206E_206B_206F_200B_202C_200D_202A_200B_200D_202B_202A_200D_206C_206C_200C_200E_206B_206C_200E_206E_206A_206D_202E < 4) + { + _206E_206E_206F_202D_206C_206D_200C_200F_206D_200F_206F_200C_206E_200B_202B_200D_202E_200C_206E_206B_206F_200B_202C_200D_202A_200B_200D_202B_202A_200D_206C_206C_200C_200E_206B_206C_200E_206E_206A_206D_202E = 0u; + } + else if (_206E_206E_206F_202D_206C_206D_200C_200F_206D_200F_206F_200C_206E_200B_202B_200D_202E_200C_206E_206B_206F_200B_202C_200D_202A_200B_200D_202B_202A_200D_206C_206C_200C_200E_206B_206C_200E_206E_206A_206D_202E < 10) + { + uint num = _206E_206E_206F_202D_206C_206D_200C_200F_206D_200F_206F_200C_206E_200B_202B_200D_202E_200C_206E_206B_206F_200B_202C_200D_202A_200B_200D_202B_202A_200D_206C_206C_200C_200E_206B_206C_200E_206E_206A_206D_202E; + int num2 = 3; + int num3 = (int)num; + _206E_206E_206F_202D_206C_206D_200C_200F_206D_200F_206F_200C_206E_200B_202B_200D_202E_200C_206E_206B_206F_200B_202C_200D_202A_200B_200D_202B_202A_200D_206C_206C_200C_200E_206B_206C_200E_206E_206A_206D_202E = (uint)(~(~num3 + num2)); + } + else + { + uint num4 = _206E_206E_206F_202D_206C_206D_200C_200F_206D_200F_206F_200C_206E_200B_202B_200D_202E_200C_206E_206B_206F_200B_202C_200D_202A_200B_200D_202B_202A_200D_206C_206C_200C_200E_206B_206C_200E_206E_206A_206D_202E; + int num2 = 6; + int num3 = (int)num4; + _206E_206E_206F_202D_206C_206D_200C_200F_206D_200F_206F_200C_206E_200B_202B_200D_202E_200C_206E_206B_206F_200B_202C_200D_202A_200B_200D_202B_202A_200D_206C_206C_200C_200E_206B_206C_200E_206E_206A_206D_202E = (uint)(~(~num3 + num2)); + } + } + + internal void _200C_200E_202E_200B_206B_206F_200C_206E_202D_200E_202B_206F_200E_202C_206D_206C_202C_206B_206B_200B_202D_202A_200F_206F_206C_200F_202C_206C_200E_206C_200D_200C_206F_202C_202B_200C_200F_202B_206D_202C_202E() + { + _206E_206E_206F_202D_206C_206D_200C_200F_206D_200F_206F_200C_206E_200B_202B_200D_202E_200C_206E_206B_206F_200B_202C_200D_202A_200B_200D_202B_202A_200D_206C_206C_200C_200E_206B_206C_200E_206E_206A_206D_202E = ((_206E_206E_206F_202D_206C_206D_200C_200F_206D_200F_206F_200C_206E_200B_202B_200D_202E_200C_206E_206B_206F_200B_202C_200D_202A_200B_200D_202B_202A_200D_206C_206C_200C_200E_206B_206C_200E_206E_206A_206D_202E < 7) ? 7u : 10u); + } + + internal void _206D_202C_206B_202D_206B_206E_206F_206D_206C_206C_200F_200F_206D_206F_206E_202C_200E_202E_206B_200B_206A_206B_202D_206E_206C_200D_206A_202B_202B_206D_200E_202C_202E_206A_202B_206C_200D_206B_200D_202B_202E() + { + _206E_206E_206F_202D_206C_206D_200C_200F_206D_200F_206F_200C_206E_200B_202B_200D_202E_200C_206E_206B_206F_200B_202C_200D_202A_200B_200D_202B_202A_200D_206C_206C_200C_200E_206B_206C_200E_206E_206A_206D_202E = ((_206E_206E_206F_202D_206C_206D_200C_200F_206D_200F_206F_200C_206E_200B_202B_200D_202E_200C_206E_206B_206F_200B_202C_200D_202A_200B_200D_202B_202A_200D_206C_206C_200C_200E_206B_206C_200E_206E_206A_206D_202E < 7) ? 8u : 11u); + } + + internal void _202A_206F_200B_206B_200F_206A_206E_202C_206A_206E_202D_202A_200C_206A_202D_202A_206A_200D_206D_206E_200E_206B_202B_200F_202A_200D_206B_202E_202D_200E_202A_202A_206B_200F_200E_202E_206A_206E_206D_206B_202E() + { + _206E_206E_206F_202D_206C_206D_200C_200F_206D_200F_206F_200C_206E_200B_202B_200D_202E_200C_206E_206B_206F_200B_202C_200D_202A_200B_200D_202B_202A_200D_206C_206C_200C_200E_206B_206C_200E_206E_206A_206D_202E = ((_206E_206E_206F_202D_206C_206D_200C_200F_206D_200F_206F_200C_206E_200B_202B_200D_202E_200C_206E_206B_206F_200B_202C_200D_202A_200B_200D_202B_202A_200D_206C_206C_200C_200E_206B_206C_200E_206E_206A_206D_202E < 7) ? 9u : 11u); + } + + internal bool _206A_206B_206C_200F_206F_202C_200F_200F_200F_206B_202B_200B_200C_202E_206C_200F_206E_202A_200E_200F_202C_206C_202B_202C_206C_200E_202A_206B_206E_200F_202A_206E_200C_202A_206A_206B_206B_206A_202E_206E_202E() + { + return _206E_206E_206F_202D_206C_206D_200C_200F_206D_200F_206F_200C_206E_200B_202B_200D_202E_200C_206E_206B_206F_200B_202C_200D_202A_200B_200D_202B_202A_200D_206C_206C_200C_200E_206B_206C_200E_206E_206A_206D_202E < 7; + } +} diff --git a/QuestPaths/----------------------------------------.cs b/QuestPaths/----------------------------------------.cs new file mode 100644 index 0000000..fac2183 --- /dev/null +++ b/QuestPaths/----------------------------------------.cs @@ -0,0 +1,6 @@ +using System.Runtime.InteropServices; + +[StructLayout(LayoutKind.Explicit, Size = 64)] +internal struct _206D_206B_200D_200D_202E_202E_206E_202C_200C_206B_202D_202B_200B_200B_200C_200C_206C_206E_200B_202B_206A_200C_206D_206C_200D_206F_200E_206B_206E_200B_200D_200D_206B_200D_206F_200B_206F_202D_200D_202E +{ +} diff --git a/QuestPaths/-Module-.cs b/QuestPaths/-Module-.cs new file mode 100644 index 0000000..6d6c49e --- /dev/null +++ b/QuestPaths/-Module-.cs @@ -0,0 +1,1453 @@ +using System; +using System.IO; +using System.Runtime.CompilerServices; +using System.Text; + +internal class _003CModule_003E +{ + internal static byte[] _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + + internal static _206D_206B_200D_200D_202E_202E_206E_202C_200C_206B_202D_202B_200B_200B_200C_200C_206C_206E_200B_202B_206A_200C_206D_206C_200D_206F_200E_206B_206E_200B_200D_200D_206B_200D_206F_200B_206F_202D_200D_202E _206E_206D_206C_206A_200D_200C_202E_202D_206A_202D_200F_202C_202C_202E_200C_200B_206C_200B_206D_206C_206B_206E_200F_206C_206D_206B_202B_200F_202C_202E_206E_202A_202A_206F_202A_202E_206A_206D_200D_202B_202E/* Not supported: data(76 BB 3F 53 6B 91 24 68 EA 69 7D C7 FB 8A B8 52 80 6A 2E 4A BD 50 B4 18 BE 8A 1C 11 AB A7 21 1F BE 5C 87 CE A3 EB B9 81 F8 C4 35 6F 0B E7 89 83 92 EF 67 A5 4A 63 BA 83 4F 07 48 E8 FA 21 6A BB) */; + + static _003CModule_003E() + { + _206D_200B_200F_206F_206B_206E_206A_202E_206A_202E_202C_202A_206B_202B_202B_200D_206A_202D_206F_200F_206A_202E_206B_202C_200B_200F_200C_202D_202C_206E_200D_200D_206B_200E_200C_202B_206F_200E_200C_202A_202E(); + } + + internal static byte[] _206F_200E_200F_202D_206E_202E_202E_200B_206E_202E_206C_202A_200E_206E_202E_200C_206F_206A_202A_202A_202D_200D_202A_206B_202D_200B_206F_202C_200D_200E_200B_200C_206E_200D_200F_200D_206A_206D_200E_200C_202E(byte[] data) + { + MemoryStream memoryStream = new MemoryStream(data); + _206A_206F_206A_200B_206C_200D_200D_200F_202C_206D_200F_200F_200E_206B_200E_206F_200C_206D_200C_206F_202A_200E_202A_202B_200D_202A_206B_202A_200D_200E_206A_206C_200E_202A_200D_206A_206F_200B_206D_202C_202E obj = new _206A_206F_206A_200B_206C_200D_200D_200F_202C_206D_200F_200F_200E_206B_200E_206F_200C_206D_200C_206F_202A_200E_202A_202B_200D_202A_206B_202A_200D_200E_206A_206C_200E_202A_200D_206A_206F_200B_206D_202C_202E(); + byte[] array = new byte[5]; + int num = 0; + while (num < 5) + { + int num2 = num; + int offset = num; + int num3 = num; + int num4 = 5; + num = num2 + memoryStream.Read(array, offset, ~(~num4 + num3)); + } + obj._202E_206D_200F_206A_206C_200B_202B_200D_206E_202E_200E_206A_206D_200D_200D_206E_200D_200C_202E_200F_200C_206B_206B_206B_200B_202A_206E_206A_206E_200C_200C_202C_202B_200C_206E_200D_206C_202E_206A_206F_202E(array); + num = 0; + while (num < 4) + { + int num5 = num; + int offset2 = num; + int num3 = num; + int num4 = 4; + num = num5 + memoryStream.Read(array, offset2, ~(~num4 + num3)); + } + if (!BitConverter.IsLittleEndian) + { + Array.Reverse((Array)array, 0, 4); + } + int num6 = BitConverter.ToInt32(array, 0); + byte[] array2 = new byte[num6]; + MemoryStream outStream = new MemoryStream(array2, writable: true); + long inSize = memoryStream.Length - 5 - 4; + obj._200D_200D_202C_200F_206C_202E_206F_206A_200F_202C_206E_202A_202E_206E_206A_202E_200C_206F_202D_202E_202C_202A_206D_200F_206F_202E_206A_200E_202B_202E_200F_200D_200F_206A_202B_206A_202E_202E_206E_206A_202E(memoryStream, outStream, inSize, num6); + return array2; + } + + internal static void _206D_200B_200F_206F_206B_206E_206A_202E_206A_202E_202C_202A_206B_202B_202B_200D_206A_202D_206F_200F_206A_202E_206B_202C_200B_200F_200C_202D_202C_206E_200D_200D_206B_200E_200C_202B_206F_200E_200C_202A_202E() + { + uint num = 16u; + uint[] array = new uint[16] + { + 1396685686u, 1747226987u, 3346885098u, 1387825915u, 1244555904u, 414470333u, 287083198u, 522299307u, 3464977598u, 2176445347u, + 1865794808u, 2206852875u, 2775052178u, 2210030410u, 3897034575u, 3144294906u + }; + uint[] array2 = new uint[16]; + uint num2 = 2733964303u; + int num3 = 0; + while (num3 < 16) + { + uint num4 = num2; + int num5 = (int)(num2 >> 12); + int num6 = (int)num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + num2 = (uint)(num7 - (num8 + num8)); + uint num9 = num2; + num5 = (int)(num2 << 25); + num6 = (int)num9; + num2 = (uint)((num6 | num5) - (num6 & num5)); + uint num10 = num2; + num5 = (int)(num2 >> 27); + num6 = (int)num10; + num2 = (array2[num3] = (uint)((num6 | num5) - (num6 & num5))); + int num11 = num3; + num5 = 1; + num6 = num11; + num3 = (num6 | num5) + (num6 & num5); + } + int num12 = 0; + int num13 = 0; + uint[] array3 = new uint[16]; + byte[] array4 = new byte[num * 4]; + while (num12 < num) + { + int num14 = 0; + int num5; + int num6; + while (num14 < 16) + { + int num15 = num14; + int num16 = num12; + num5 = num14; + num6 = num16; + int num17 = num6 ^ num5; + int num18 = num6 & num5; + array3[num15] = array[num17 + (num18 + num18)]; + int num19 = num14; + num5 = 1; + num6 = num19; + int num20 = num6 ^ num5; + int num21 = num6 & num5; + num14 = num20 + (num21 + num21); + } + uint num22 = array3[5]; + num5 = -776044471; + num6 = (int)num22; + uint num23 = (uint)((num6 | num5) - (num6 ^ num5)); + uint num24 = array3[5]; + num5 = 776044470; + num6 = (int)num24; + array3[5] = (uint)((num6 | num5) - (num6 ^ num5)); + uint num25 = array3[5]; + uint num26 = array3[14]; + num5 = -776044471; + num6 = (int)num26; + num5 = (num6 | num5) - (num6 ^ num5); + num6 = (int)num25; + array3[5] = (uint)((num6 & num5) + (num6 ^ num5)); + num23 *= 3640720333u; + uint num27 = array3[14]; + num5 = 776044470; + num6 = (int)num27; + array3[14] = (uint)(num6 + num5 - (num6 | num5)); + uint num28 = array3[14]; + num5 = (int)num23 * -1635489531; + num6 = (int)num28; + array3[14] = (uint)(num6 + num5 - (num6 & num5)); + uint num29 = array3[7]; + num5 = (int)array3[15]; + num6 = (int)num29; + int num30 = num6 + num5; + int num31 = num6 & num5; + array3[7] = (uint)(num30 - (num31 + num31)); + uint num32 = array3[0]; + num5 = 278229082; + num6 = (int)num32; + num23 = (uint)((num6 | num5) - (num6 ^ num5)); + uint num33 = array3[0]; + num5 = -278229083; + num6 = (int)num33; + array3[0] = (uint)(num6 + num5 - (num6 | num5)); + uint num34 = array3[7] * 15; + num23 *= 2982415717u; + uint num35 = array3[10]; + num5 = (int)(~array3[8]); + num6 = (int)num35; + int num36 = num6 + num5; + int num37 = num6 & num5; + array3[10] = (uint)(num36 - (num37 + num37)); + uint num38 = array3[0]; + uint num39 = array3[13]; + num5 = 278229082; + num6 = (int)num39; + num5 = num6 + num5 - (num6 | num5); + num6 = (int)num38; + array3[0] = (uint)(num6 + num5 - (num6 & num5)); + uint num40 = array3[8]; + num5 = (int)array2[8]; + num6 = (int)num40; + int num41 = num6 + num5; + int num42 = num6 & num5; + array3[8] = (uint)(num41 - (num42 + num42)); + uint num43 = array3[9]; + num5 = (int)array2[9]; + num6 = (int)num43; + int num44 = num6 + num5; + int num45 = num6 & num5; + array3[9] = (uint)(num44 - (num45 + num45)); + uint num46 = array3[13]; + num5 = -278229083; + num6 = (int)num46; + array3[13] = (uint)(num6 + num5 - (num6 | num5)); + uint num47 = array3[14]; + num5 = (int)array3[15]; + num6 = (int)num47; + array3[14] = (uint)(~(~num6 + num5)); + uint num48 = array3[7] * 25; + uint num49 = array3[13]; + num5 = (int)num23 * -2021761939; + num6 = (int)num49; + array3[13] = (uint)(num6 + num5 - (num6 & num5)); + uint num50 = array3[2]; + num5 = (int)array3[6]; + num6 = (int)num50; + array3[2] = (uint)(~(~num6 + num5)); + uint num51 = array3[1]; + num5 = -1639718482; + num6 = (int)num51; + int num52 = num6 + num5; + int num53 = num6 & num5; + array3[1] = (uint)(num52 - (num53 + num53)); + uint num54 = array3[5]; + num5 = (int)array2[5]; + num6 = (int)num54; + array3[5] = (uint)((num6 | num5) - (num6 & num5)); + uint num55 = array3[9]; + num5 = (int)(~array3[11]); + num6 = (int)num55; + int num56 = num6 + num5; + int num57 = num6 & num5; + array3[9] = (uint)(num56 - (num57 + num57)); + uint num58 = array3[4]; + num5 = -192377700; + num6 = (int)num58; + num23 = (uint)((num6 | num5) - (num6 ^ num5)); + num23 *= 4244890943u; + uint num59 = array3[4]; + num5 = 192377699; + num6 = (int)num59; + array3[4] = (uint)((num6 | num5) - (num6 ^ num5)); + uint num60 = array3[4]; + uint num61 = array3[12]; + num5 = -192377700; + num6 = (int)num61; + num5 = num6 + num5 - (num6 | num5); + num6 = (int)num60; + array3[4] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num62 = array3[12]; + num5 = 192377699; + num6 = (int)num62; + array3[12] = (uint)((num6 | num5) - (num6 ^ num5)); + uint num63 = array3[7] << 2; + uint num64 = array3[12]; + num5 = (int)(num23 * 1786546879); + num6 = (int)num64; + array3[12] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num65 = array3[12]; + num5 = (int)array2[12]; + num6 = (int)num65; + array3[12] = (uint)((num6 | num5) - (num6 & num5)); + num23 = array3[7] << 2; + uint num66 = array3[6]; + num5 = 456039971; + num6 = (int)num66; + array3[6] = (uint)((num6 | num5) - (num6 & num5)); + uint num67 = num34; + num5 = (int)(array3[12] * 92); + num6 = (int)num67; + int num68 = num6 ^ num5; + int num69 = num6 & num5; + num34 = (uint)(num68 + (num69 + num69)); + uint num70 = num48; + num5 = (int)(array3[12] * 153); + num6 = (int)num70; + int num71 = num6 ^ num5; + int num72 = num6 & num5; + num48 = (uint)(num71 + (num72 + num72)); + uint num73 = array3[10]; + num5 = (int)array3[11]; + num6 = (int)num73; + int num74 = num6 + num5; + int num75 = num6 & num5; + array3[10] = (uint)(num74 - (num75 + num75)); + uint num76 = num23; + num5 = (int)(array3[12] * 27); + num6 = (int)num76; + num23 = (uint)((num6 | num5) + (num6 & num5)); + uint num77 = num63; + num5 = (int)(array3[12] * 22); + num6 = (int)num77; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num78 = num23; + num5 = (int)(array3[8] * 54); + num6 = (int)num78; + int num79 = num6 ^ num5; + int num80 = num6 & num5; + num23 = (uint)(num79 + (num80 + num80)); + uint num81 = num48; + num5 = (int)(array3[8] * 284); + num6 = (int)num81; + int num82 = num6 ^ num5; + int num83 = num6 & num5; + num48 = (uint)(num82 + (num83 + num83)); + uint num84 = num23; + num5 = (int)(array3[1] << 4); + num6 = (int)num84; + int num85 = num6 ^ num5; + int num86 = num6 & num5; + num23 = (uint)(num85 + (num86 + num86)); + uint num87 = num34; + num5 = (int)(array3[8] * 171); + num6 = (int)num87; + num34 = (uint)((num6 | num5) + (num6 & num5)); + uint num88 = num23; + num5 = (int)(array3[1] << 5); + num6 = (int)num88; + int num89 = num6 ^ num5; + int num90 = num6 & num5; + num23 = (uint)(num89 + (num90 + num90)); + uint num91 = num48; + num5 = (int)(array3[1] * 250); + num6 = (int)num91; + num48 = (uint)((num6 | num5) + (num6 & num5)); + uint num92 = num63; + num5 = (int)(array3[8] * 37); + num6 = (int)num92; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num93 = num63; + num5 = (int)(array3[1] << 5); + num6 = (int)num93; + num63 = (uint)((num6 | num5) + (num6 & num5)); + array3[7] = num23; + uint num94 = num34; + num5 = (int)(array3[1] * 151); + num6 = (int)num94; + int num95 = num6 ^ num5; + int num96 = num6 & num5; + num34 = (uint)(num95 + (num96 + num96)); + uint num97 = array3[13]; + num5 = -313568182; + num6 = (int)num97; + int num98 = num6 + num5; + int num99 = num6 & num5; + array3[13] = (uint)(num98 - (num99 + num99)); + array3[1] = num48; + num23 = array3[0] << 1; + uint num100 = num23; + num5 = (int)array3[0]; + num6 = (int)num100; + num23 = (uint)((num6 | num5) + (num6 & num5)); + array3[12] = num63; + num48 = array3[0] * 11; + uint num101 = num48; + num5 = (int)(array3[5] << 1); + num6 = (int)num101; + int num102 = num6 ^ num5; + int num103 = num6 & num5; + num48 = (uint)(num102 + (num103 + num103)); + uint num104 = num48; + num5 = (int)(array3[5] << 3); + num6 = (int)num104; + num48 = (uint)((num6 | num5) + (num6 & num5)); + num63 = array3[0] * 21; + uint num105 = num23; + num5 = (int)(array3[5] << 2); + num6 = (int)num105; + int num106 = num6 ^ num5; + int num107 = num6 & num5; + num23 = (uint)(num106 + (num107 + num107)); + uint num108 = num23; + num5 = (int)(array3[9] * 13); + num6 = (int)num108; + num23 = (uint)((num6 | num5) + (num6 & num5)); + array3[8] = num34; + uint num109 = array3[1]; + num5 = (int)array2[1]; + num6 = (int)num109; + array3[1] = (uint)((num6 | num5) - (num6 & num5)); + array3[7] = array3[7] * 334878841; + uint num110 = array3[15]; + num5 = (int)array2[15]; + num6 = (int)num110; + int num111 = num6 + num5; + int num112 = num6 & num5; + array3[15] = (uint)(num111 - (num112 + num112)); + uint num113 = num48; + num5 = (int)(array3[9] << 2); + num6 = (int)num113; + num48 = (uint)((num6 | num5) + (num6 & num5)); + uint num114 = array3[7]; + num5 = (int)array2[7]; + num6 = (int)num114; + int num115 = num6 + num5; + int num116 = num6 & num5; + array3[7] = (uint)(num115 - (num116 + num116)); + uint num117 = num63; + num5 = (int)(array3[5] * 23); + num6 = (int)num117; + int num118 = num6 ^ num5; + int num119 = num6 & num5; + num63 = (uint)(num118 + (num119 + num119)); + uint num120 = num63; + num5 = (int)(array3[9] * 78); + num6 = (int)num120; + int num121 = num6 ^ num5; + int num122 = num6 & num5; + num63 = (uint)(num121 + (num122 + num122)); + num34 = array3[0] * 69; + uint num123 = num34; + num5 = (int)(array3[5] * 78); + num6 = (int)num123; + int num124 = num6 ^ num5; + int num125 = num6 & num5; + num34 = (uint)(num124 + (num125 + num125)); + uint num126 = num63; + num5 = (int)(array3[2] << 5); + num6 = (int)num126; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num127 = num23; + num5 = (int)(array3[2] << 1); + num6 = (int)num127; + int num128 = num6 ^ num5; + int num129 = num6 & num5; + num23 = (uint)(num128 + (num129 + num129)); + uint num130 = num48; + num5 = (int)(array3[9] << 5); + num6 = (int)num130; + int num131 = num6 ^ num5; + int num132 = num6 & num5; + num48 = (uint)(num131 + (num132 + num132)); + uint num133 = num23; + num5 = (int)(array3[2] << 4); + num6 = (int)num133; + num23 = (uint)((num6 | num5) + (num6 & num5)); + uint num134 = num34; + num5 = (int)(array3[9] * 263); + num6 = (int)num134; + num34 = (uint)((num6 | num5) + (num6 & num5)); + array3[9] = num23; + uint num135 = num34; + num5 = (int)(array3[2] * 331); + num6 = (int)num135; + int num136 = num6 ^ num5; + int num137 = num6 & num5; + num34 = (uint)(num136 + (num137 + num137)); + uint num138 = num63; + num5 = (int)(array3[2] << 6); + num6 = (int)num138; + num63 = (uint)((num6 | num5) + (num6 & num5)); + array3[5] = num63; + num23 = array3[3] >> 19; + uint num139 = num48; + num5 = (int)(array3[2] * 39); + num6 = (int)num139; + int num140 = num6 ^ num5; + int num141 = num6 & num5; + num48 = (uint)(num140 + (num141 + num141)); + num63 = array3[6] >> 3; + array3[6] = array3[6] << 29; + array3[3] = array3[3] << 13; + array3[0] = num48; + uint num142 = array3[6]; + num5 = (int)num63; + num6 = (int)num142; + array3[6] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num143 = array3[0]; + num5 = -1071175130; + num6 = (int)num143; + int num144 = num6 + num5; + int num145 = num6 & num5; + array3[0] = (uint)(num144 - (num145 + num145)); + array3[2] = num34; + uint num146 = array3[2]; + num5 = (int)array2[2]; + num6 = (int)num146; + array3[2] = (uint)((num6 | num5) - (num6 & num5)); + uint num147 = array3[3]; + num5 = (int)num23; + num6 = (int)num147; + array3[3] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num148 = array3[3]; + num5 = (int)array2[3]; + num6 = (int)num148; + array3[3] = (uint)((num6 | num5) - (num6 & num5)); + uint num149 = array3[6]; + num5 = -908475405; + num6 = (int)num149; + num23 = (uint)((num6 | num5) - (num6 ^ num5)); + num63 = array3[1] * 38; + num48 = array3[1] * 31; + uint num150 = array3[4]; + num5 = -274514080; + num6 = (int)num150; + array3[4] = (uint)((num6 | num5) - (num6 & num5)); + uint num151 = num48; + num5 = (int)(array3[15] * 110); + num6 = (int)num151; + num48 = (uint)((num6 | num5) + (num6 & num5)); + num34 = array3[2] >> 7; + uint num152 = array3[6]; + num5 = 908475404; + num6 = (int)num152; + array3[6] = (uint)(num6 + num5 - (num6 | num5)); + uint num153 = array3[6]; + uint num154 = array3[9]; + num5 = -908475405; + num6 = (int)num154; + num5 = (num6 | num5) - (num6 ^ num5); + num6 = (int)num153; + array3[6] = (uint)((num6 & num5) + (num6 ^ num5)); + array3[2] = array3[2] << 25; + num23 *= 2961890683u; + uint num155 = array3[2]; + num5 = (int)num34; + num6 = (int)num155; + array3[2] = (uint)(num6 + num5 - (num6 & num5)); + uint num156 = array3[9]; + num5 = 908475404; + num6 = (int)num156; + array3[9] = (uint)((num6 | num5) - (num6 ^ num5)); + uint num157 = array3[10]; + num5 = (int)array2[10]; + num6 = (int)num157; + int num158 = num6 + num5; + int num159 = num6 & num5; + array3[10] = (uint)(num158 - (num159 + num159)); + num34 = array3[5] >> 17; + uint num160 = num63; + num5 = (int)(array3[15] * 139); + num6 = (int)num160; + int num161 = num6 ^ num5; + int num162 = num6 & num5; + num63 = (uint)(num161 + (num162 + num162)); + uint num163 = array3[9]; + num5 = (int)num23 * -1557628493; + num6 = (int)num163; + array3[9] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num164 = array3[6]; + num5 = (int)(~array3[9]); + num6 = (int)num164; + int num165 = num6 + num5; + int num166 = num6 & num5; + array3[6] = (uint)(num165 - (num166 + num166)); + array3[5] = array3[5] << 15; + uint num167 = array3[13]; + num5 = (int)array2[13]; + num6 = (int)num167; + array3[13] = (uint)((num6 | num5) - (num6 & num5)); + num23 = array3[12] >> 27; + uint num168 = array3[6]; + num5 = (int)array2[6]; + num6 = (int)num168; + int num169 = num6 + num5; + int num170 = num6 & num5; + array3[6] = (uint)(num169 - (num170 + num170)); + array3[12] = array3[12] << 5; + uint num171 = array3[12]; + num5 = (int)num23; + num6 = (int)num171; + array3[12] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num172 = array3[5]; + num5 = (int)num34; + num6 = (int)num172; + array3[5] = (uint)(num6 + num5 - (num6 & num5)); + num34 = array3[1] << 3; + uint num173 = array3[11]; + num5 = (int)array2[11]; + num6 = (int)num173; + array3[11] = (uint)((num6 | num5) - (num6 & num5)); + uint num174 = array3[10]; + num5 = 171024615; + num6 = (int)num174; + array3[10] = (uint)((num6 | num5) - (num6 & num5)); + uint num175 = num63; + num5 = (int)(array3[8] * 88); + num6 = (int)num175; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num176 = num48; + num5 = (int)(array3[8] * 63); + num6 = (int)num176; + int num177 = num6 ^ num5; + int num178 = num6 & num5; + num48 = (uint)(num177 + (num178 + num178)); + num23 = array3[1] << 2; + uint num179 = num34; + num5 = (int)array3[1]; + num6 = (int)num179; + int num180 = num6 ^ num5; + int num181 = num6 & num5; + num34 = (uint)(num180 + (num181 + num181)); + uint num182 = num23; + num5 = (int)array3[1]; + num6 = (int)num182; + num23 = (uint)((num6 | num5) + (num6 & num5)); + uint num183 = num23; + num5 = (int)(array3[15] * 22); + num6 = (int)num183; + int num184 = num6 ^ num5; + int num185 = num6 & num5; + num23 = (uint)(num184 + (num185 + num185)); + uint num186 = num23; + num5 = (int)(array3[8] * 21); + num6 = (int)num186; + int num187 = num6 ^ num5; + int num188 = num6 & num5; + num23 = (uint)(num187 + (num188 + num188)); + uint num189 = num34; + num5 = (int)(array3[15] * 31); + num6 = (int)num189; + int num190 = num6 ^ num5; + int num191 = num6 & num5; + num34 = (uint)(num190 + (num191 + num191)); + uint num192 = num63; + num5 = (int)(array3[14] * 55); + num6 = (int)num192; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num193 = num23; + num5 = (int)(array3[14] * 21); + num6 = (int)num193; + num23 = (uint)((num6 | num5) + (num6 & num5)); + uint num194 = array3[4]; + num5 = (int)array2[4]; + num6 = (int)num194; + int num195 = num6 + num5; + int num196 = num6 & num5; + array3[4] = (uint)(num195 - (num196 + num196)); + uint num197 = num34; + num5 = (int)(array3[8] << 4); + num6 = (int)num197; + int num198 = num6 ^ num5; + int num199 = num6 & num5; + num34 = (uint)(num198 + (num199 + num199)); + uint num200 = array3[4]; + num5 = -1682269421; + num6 = (int)num200; + array3[4] = (uint)((num6 | num5) - (num6 & num5)); + uint num201 = array3[13]; + num5 = (int)(~array3[11]); + num6 = (int)num201; + int num202 = num6 + num5; + int num203 = num6 & num5; + array3[13] = (uint)(num202 - (num203 + num203)); + uint num204 = num48; + num5 = (int)(array3[14] << 5); + num6 = (int)num204; + num48 = (uint)((num6 | num5) + (num6 & num5)); + array3[8] = num63; + uint num205 = num34; + num5 = (int)(array3[14] << 1); + num6 = (int)num205; + int num206 = num6 ^ num5; + int num207 = num6 & num5; + num34 = (uint)(num206 + (num207 + num207)); + uint num208 = num34; + num5 = (int)(array3[14] << 2); + num6 = (int)num208; + num34 = (uint)((num6 | num5) + (num6 & num5)); + array3[14] = num23; + array3[1] = num34; + num63 = array3[0] * 3631003441u; + array3[3] = array3[3] * 425712683; + array3[0] = array3[1]; + uint num209 = array3[0]; + num5 = (int)array2[0]; + num6 = (int)num209; + int num210 = num6 + num5; + int num211 = num6 & num5; + array3[0] = (uint)(num210 - (num211 + num211)); + uint num212 = array3[14]; + num5 = (int)array2[14]; + num6 = (int)num212; + int num213 = num6 + num5; + int num214 = num6 & num5; + array3[14] = (uint)(num213 - (num214 + num214)); + array3[1] = num63 * 128664017; + array3[15] = num48; + for (int num215 = 0; num215 < 16; num215 = (num6 | num5) + (num6 & num5)) + { + uint num216 = array3[num215]; + int num217 = num13; + num5 = 1; + num6 = num217; + int num218 = num6 ^ num5; + int num219 = num6 & num5; + num13 = num218 + (num219 + num219); + array4[num217] = (byte)num216; + int num220 = num13; + num5 = 1; + num6 = num220; + num13 = (num6 | num5) + (num6 & num5); + array4[num220] = (byte)(num216 >> 8); + int num221 = num13; + num5 = 1; + num6 = num221; + int num222 = num6 ^ num5; + int num223 = num6 & num5; + num13 = num222 + (num223 + num223); + array4[num221] = (byte)(num216 >> 16); + int num224 = num13; + num5 = 1; + num6 = num224; + int num225 = num6 ^ num5; + int num226 = num6 & num5; + num13 = num225 + (num226 + num226); + array4[num224] = (byte)(num216 >> 24); + array2[num215] ^= num216; + int num227 = num215; + num5 = 1; + num6 = num227; + } + int num228 = num12; + num5 = 16; + num6 = num228; + int num229 = num6 ^ num5; + int num230 = num6 & num5; + num12 = num229 + (num230 + num230); + } + _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E = _206F_200E_200F_202D_206E_202E_202E_200B_206E_202E_206C_202A_200E_206E_202E_200C_206F_206A_202A_202A_202D_200D_202A_206B_202D_200B_206F_202C_200D_200E_200B_200C_206E_200D_200F_200D_206A_206D_200E_200C_202E(array4); + } + + internal static int _200C_202A_200C_202E_206B_202E_202B_202E_202D_206B_200D_206D_206A_206D_202C_206E_206B_202C_202D_206D_206D_200B_202E_206E_206D_200C_200D_206C_202B_200B_200D_202B_202D_202D_206C_202D_202C_206B_206F_206D_202E(int id) + { + id <<= 2; + byte num = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E[id]; + byte[] array = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num2 = id; + int num3 = 1; + int num4 = num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num3 = array[num5 + (num6 + num6)] << 8; + num4 = num; + int num7 = (num4 & num3) + (num4 ^ num3); + byte[] array2 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num8 = id; + num3 = 2; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num3 = array2[num9 + (num10 + num10)] << 16; + num4 = num7; + int num11 = (num4 & num3) + (num4 ^ num3); + byte[] array3 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num12 = id; + num3 = 3; + num4 = num12; + num3 = array3[(num4 | num3) + (num4 & num3)] << 24; + num4 = num11; + return (num4 & num3) + (num4 ^ num3); + } + + internal static long _200D_200C_206C_206D_200E_200B_206D_200B_200C_206F_206E_200C_202C_206D_206B_206A_206F_200C_200C_206F_206F_200C_202A_206D_206E_202D_200F_206C_200F_206C_200C_202C_202C_206F_200B_200C_202D_202E_206C_202E(int id) + { + id <<= 2; + byte num = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E[id]; + byte[] array = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num2 = id; + int num3 = 1; + int num4 = num2; + num3 = array[(num4 | num3) + (num4 & num3)] << 8; + num4 = num; + int num5 = (num4 & num3) + (num4 ^ num3); + byte[] array2 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num6 = id; + num3 = 2; + num4 = num6; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + num3 = array2[num7 + (num8 + num8)] << 16; + num4 = num5; + int num9 = num4 + num3 - (num4 & num3); + byte[] array3 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num10 = id; + num3 = 3; + num4 = num10; + num3 = array3[(num4 | num3) + (num4 & num3)] << 24; + num4 = num9; + uint num11 = (uint)((num4 & num3) + (num4 ^ num3)); + byte[] array4 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num12 = id; + num3 = 4; + num4 = num12; + int num13 = num4 ^ num3; + int num14 = num4 & num3; + byte num15 = array4[num13 + (num14 + num14)]; + byte[] array5 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num16 = id; + num3 = 5; + num4 = num16; + num3 = array5[(num4 | num3) + (num4 & num3)] << 8; + num4 = num15; + int num17 = (num4 & num3) + (num4 ^ num3); + byte[] array6 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num18 = id; + num3 = 6; + num4 = num18; + num3 = array6[(num4 | num3) + (num4 & num3)] << 16; + num4 = num17; + int num19 = num4 + num3 - (num4 & num3); + byte[] array7 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num20 = id; + num3 = 7; + num4 = num20; + int num21 = num4 ^ num3; + int num22 = num4 & num3; + num3 = array7[num21 + (num22 + num22)] << 24; + num4 = num19; + ulong num23 = (ulong)(uint)((num4 & num3) + (num4 ^ num3)) << 32; + long num24 = num11; + long num25 = (long)num23; + return num25 + num24 - (num25 & num24); + } + + internal static float _202C_206E_200D_200C_202C_202A_206E_200F_206D_200C_206A_206F_206D_202D_206C_206E_202C_206D_202A_202A_200B_206F_206F_206B_200E_206D_206F_206B_202E_206C_206C_206C_200B_200E_202E_200B_206B_202C_202C_202D_202E(int id) + { + return BitConverter.ToSingle(_200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E, id << 2); + } + + internal static double _202C_206A_200B_202E_200E_206C_200F_200D_202A_206E_200D_206E_206A_206D_202D_206D_206C_202B_202E_206A_202B_200D_202D_206D_206F_200B_202A_200E_200E_200E_202E_200F_200B_202D_202C_206A_202C_206F_206A_200C_202E(int id) + { + return BitConverter.ToDouble(_200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E, id << 2); + } + + internal static _002D _206E_206F_200E_200B_202E_200E_206E_206E_200B_202C_200B_202B_200E_200B_202A_202E_206F_200E_206D_200F_200B_206F_206F_200E_202D_202E_202D_200C_202B_200C_202E_200F_206B_202A_206D_200E_200B_200C_202C_200E_202E<_002D>(int id) + { + int num = id * 1019339481; + int num2 = 331797353; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 3: + { + byte num31 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E[id]; + byte[] array10 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num32 = id; + num2 = 1; + num3 = num32; + int num33 = num3 ^ num2; + int num34 = num3 & num2; + num2 = array10[num33 + (num34 + num34)] << 8; + num3 = num31; + int num35 = num3 + num2 - (num3 & num2); + byte[] array11 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num36 = id; + num2 = 2; + num3 = num36; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num35; + int num37 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num38 = id; + num2 = 3; + num3 = num38; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num37; + int count = (num3 & num2) + (num3 ^ num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num39 = id; + num2 = 4; + num3 = num39; + int num40 = num3 ^ num2; + int num41 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num40 + (num41 + num41), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 1: + { + byte num8 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E[id]; + byte[] array = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num9 = id; + num2 = 1; + num3 = num9; + int num10 = num3 ^ num2; + int num11 = num3 & num2; + num2 = array[num10 + (num11 + num11)] << 8; + num3 = num8; + int num12 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num13 = id; + num2 = 2; + num3 = num13; + num2 = array2[(num3 | num2) + (num3 & num2)] << 16; + num3 = num12; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num15 = id; + num2 = 3; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + num2 = array3[num16 + (num17 + num17)] << 24; + num3 = num14; + int num18 = num3 + num2 - (num3 & num2); + byte[] array4 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num19 = id; + num2 = 4; + num3 = num19; + byte num20 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num21 = id; + num2 = 5; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array5[num22 + (num23 + num23)] << 8; + num3 = num20; + int num24 = (num3 & num2) + (num3 ^ num2); + byte[] array6 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num25 = id; + num2 = 6; + num3 = num25; + num2 = array6[(num3 | num2) + (num3 & num2)] << 16; + num3 = num24; + int num26 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num27 = id; + num2 = 7; + num3 = num27; + int num28 = num3 ^ num2; + int num29 = num3 & num2; + num2 = array7[num28 + (num29 + num29)] << 24; + num3 = num26; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num18; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _200B_200F_206E_200E_206B_200B_200D_200E_200C_202C_200B_202C_200D_206F_206E_202E_202C_202B_202C_206B_206F_200F_206E_206B_206A_206B_200C_206A_200B_206A_200D_206C_206B_202E_200C_206E_202E_202D_200D_206D_202E<_002D>(int id) + { + int num = id * -2007666933; + int num2 = 1084522616; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = num3 + num2 - (num3 | num2) << 2; + switch (num6) + { + case 0: + { + byte num29 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E[id]; + byte[] array10 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num30 = id; + num2 = 1; + num3 = num30; + int num31 = num3 ^ num2; + int num32 = num3 & num2; + num2 = array10[num31 + (num32 + num32)] << 8; + num3 = num29; + int num33 = num3 + num2 - (num3 & num2); + byte[] array11 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num34 = id; + num2 = 2; + num3 = num34; + int num35 = num3 ^ num2; + int num36 = num3 & num2; + num2 = array11[num35 + (num36 + num36)] << 16; + num3 = num33; + int num37 = num3 + num2 - (num3 & num2); + byte[] array12 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num38 = id; + num2 = 3; + num3 = num38; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num37; + int count = (num3 & num2) + (num3 ^ num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num39 = id; + num2 = 4; + num3 = num39; + int num40 = num3 ^ num2; + int num41 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num40 + (num41 + num41), count)); + } + case 1: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 3: + { + byte num8 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E[id]; + byte[] array = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num11 = id; + num2 = 2; + num3 = num11; + num2 = array2[(num3 | num2) + (num3 & num2)] << 16; + num3 = num10; + int num12 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num13 = id; + num2 = 3; + num3 = num13; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num12; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array4 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num15 = id; + num2 = 4; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + byte num18 = array4[num16 + (num17 + num17)]; + byte[] array5 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num19 = id; + num2 = 5; + num3 = num19; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num18; + int num20 = num3 + num2 - (num3 & num2); + byte[] array6 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num21 = id; + num2 = 6; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array6[num22 + (num23 + num23)] << 16; + num3 = num20; + int num24 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num25 = id; + num2 = 7; + num3 = num25; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num24; + int length = (num3 & num2) + (num3 ^ num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num26 = id; + num2 = 8; + num3 = num26; + int num27 = num3 ^ num2; + int num28 = num3 & num2; + int srcOffset = num27 + (num28 + num28); + num2 = 4; + num3 = num14; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _200D_206B_202B_202E_206E_200B_202B_200B_206F_206E_206D_202C_206F_206D_202A_202C_206F_206F_202A_206D_200F_206C_200F_200B_202A_206B_202D_202A_206B_202A_200C_200B_206F_200B_202E_206E_202A_202A_202D_200E_202E<_002D>(int id) + { + int num = id * -398786619; + int num2 = 1434138467; + int num3 = num; + id = (num3 | num2) - (num3 & num2); + int num4 = id >>> 30; + int num5 = id; + num2 = 1073741823; + num3 = num5; + id = num3 + num2 - (num3 | num2) << 2; + switch (num4) + { + case 2: + { + byte num33 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E[id]; + byte[] array10 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num34 = id; + num2 = 1; + num3 = num34; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num33; + int num35 = num3 + num2 - (num3 & num2); + byte[] array11 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num36 = id; + num2 = 2; + num3 = num36; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num35; + int num37 = num3 + num2 - (num3 & num2); + byte[] array12 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num38 = id; + num2 = 3; + num3 = num38; + int num39 = num3 ^ num2; + int num40 = num3 & num2; + num2 = array12[num39 + (num40 + num40)] << 24; + num3 = num37; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num41 = id; + num2 = 4; + num3 = num41; + int num42 = num3 ^ num2; + int num43 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num42 + (num43 + num43), count)); + } + case 0: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 3: + { + byte num6 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E[id]; + byte[] array = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num7 = id; + num2 = 1; + num3 = num7; + int num8 = num3 ^ num2; + int num9 = num3 & num2; + num2 = array[num8 + (num9 + num9)] << 8; + num3 = num6; + int num10 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num15 = id; + num2 = 3; + num3 = num15; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num14; + int num16 = (num3 & num2) + (num3 ^ num2); + byte[] array4 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num17 = id; + num2 = 4; + num3 = num17; + byte num18 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num19 = id; + num2 = 5; + num3 = num19; + int num20 = num3 ^ num2; + int num21 = num3 & num2; + num2 = array5[num20 + (num21 + num21)] << 8; + num3 = num18; + int num22 = num3 + num2 - (num3 & num2); + byte[] array6 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num23 = id; + num2 = 6; + num3 = num23; + int num24 = num3 ^ num2; + int num25 = num3 & num2; + num2 = array6[num24 + (num25 + num25)] << 16; + num3 = num22; + int num26 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num27 = id; + num2 = 7; + num3 = num27; + int num28 = num3 ^ num2; + int num29 = num3 & num2; + num2 = array7[num28 + (num29 + num29)] << 24; + num3 = num26; + int length = (num3 & num2) + (num3 ^ num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int num31 = num3 ^ num2; + int num32 = num3 & num2; + int srcOffset = num31 + (num32 + num32); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _202C_206F_206C_200C_206F_200E_206A_206B_206F_200B_206D_202E_202E_206C_200C_202A_200E_200F_202A_206A_206D_200B_206D_202C_200B_202E_206E_206F_206F_206E_206D_202E_200C_200B_202C_200B_200C_206C_206C_202B_202E<_002D>(int id) + { + int num = id * 1318072633; + int num2 = -1775635715; + int num3 = num; + id = (num3 | num2) - (num3 & num2); + int num4 = id >>> 30; + int num5 = id; + num2 = 1073741823; + num3 = num5; + id = num3 + num2 - (num3 | num2) << 2; + switch (num4) + { + case 1: + { + byte num31 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E[id]; + byte[] array10 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num32 = id; + num2 = 1; + num3 = num32; + int num33 = num3 ^ num2; + int num34 = num3 & num2; + num2 = array10[num33 + (num34 + num34)] << 8; + num3 = num31; + int num35 = num3 + num2 - (num3 & num2); + byte[] array11 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num36 = id; + num2 = 2; + num3 = num36; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num35; + int num37 = num3 + num2 - (num3 & num2); + byte[] array12 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num38 = id; + num2 = 3; + num3 = num38; + int num39 = num3 ^ num2; + int num40 = num3 & num2; + num2 = array12[num39 + (num40 + num40)] << 24; + num3 = num37; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num41 = id; + num2 = 4; + num3 = num41; + int num42 = num3 ^ num2; + int num43 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num42 + (num43 + num43), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 3: + { + byte num6 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E[id]; + byte[] array = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num7 = id; + num2 = 1; + num3 = num7; + int num8 = num3 ^ num2; + int num9 = num3 & num2; + num2 = array[num8 + (num9 + num9)] << 8; + num3 = num6; + int num10 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num15 = id; + num2 = 3; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + num2 = array3[num16 + (num17 + num17)] << 24; + num3 = num14; + int num18 = num3 + num2 - (num3 & num2); + byte[] array4 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num19 = id; + num2 = 4; + num3 = num19; + byte num20 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num21 = id; + num2 = 5; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array5[num22 + (num23 + num23)] << 8; + num3 = num20; + int num24 = num3 + num2 - (num3 & num2); + byte[] array6 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num25 = id; + num2 = 6; + num3 = num25; + int num26 = num3 ^ num2; + int num27 = num3 & num2; + num2 = array6[num26 + (num27 + num27)] << 16; + num3 = num24; + int num28 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num29 = id; + num2 = 7; + num3 = num29; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num28; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num18; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _206F_202D_200C_200B_206A_202E_206E_202A_200D_206A_202B_202C_200E_202B_200B_202C_200B_202C_206A_202D_206C_200C_206A_200D_200B_202A_206C_206F_206E_202E_200E_206A_202D_200B_200E_206E_200E_200D_202A_202E<_002D>(int id) + { + int num = id * 1026386545; + int num2 = -1096681692; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 3: + { + byte num33 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E[id]; + byte[] array10 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num34 = id; + num2 = 1; + num3 = num34; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num33; + int num35 = (num3 & num2) + (num3 ^ num2); + byte[] array11 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num36 = id; + num2 = 2; + num3 = num36; + int num37 = num3 ^ num2; + int num38 = num3 & num2; + num2 = array11[num37 + (num38 + num38)] << 16; + num3 = num35; + int num39 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num40 = id; + num2 = 3; + num3 = num40; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num39; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num41 = id; + num2 = 4; + num3 = num41; + return (_002D)(object)string.Intern(uTF.GetString(bytes, (num3 | num2) + (num3 & num2), count)); + } + case 1: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 2: + { + byte num8 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E[id]; + byte[] array = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num15 = id; + num2 = 3; + num3 = num15; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num14; + int num16 = num3 + num2 - (num3 & num2); + byte[] array4 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num17 = id; + num2 = 4; + num3 = num17; + byte num18 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num19 = id; + num2 = 5; + num3 = num19; + int num20 = num3 ^ num2; + int num21 = num3 & num2; + num2 = array5[num20 + (num21 + num21)] << 8; + num3 = num18; + int num22 = num3 + num2 - (num3 & num2); + byte[] array6 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num23 = id; + num2 = 6; + num3 = num23; + int num24 = num3 ^ num2; + int num25 = num3 & num2; + num2 = array6[num24 + (num25 + num25)] << 16; + num3 = num22; + int num26 = num3 + num2 - (num3 & num2); + byte[] array7 = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num27 = id; + num2 = 7; + num3 = num27; + int num28 = num3 ^ num2; + int num29 = num3 & num2; + num2 = array7[num28 + (num29 + num29)] << 24; + num3 = num26; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _200B_200B_200C_202D_200D_200F_200D_202D_206A_206C_206E_202A_202A_206A_206C_202B_202C_206A_206B_206B_202B_200C_200C_200B_202D_202A_206E_206F_200C_202D_200B_200D_200F_206B_202A_206D_200B_206F_206F_202E_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int num31 = num3 ^ num2; + int num32 = num3 & num2; + int srcOffset = num31 + (num32 + num32); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } +} diff --git a/QuestPaths/QuestPaths.csproj b/QuestPaths/QuestPaths.csproj index 8a86757..ad23532 100644 --- a/QuestPaths/QuestPaths.csproj +++ b/QuestPaths/QuestPaths.csproj @@ -14,7 +14,9 @@ + + diff --git a/QuestPaths/Questionable.QuestPaths.QuestBundle b/QuestPaths/Questionable.QuestPaths.QuestBundle new file mode 100644 index 0000000..d61e136 Binary files /dev/null and b/QuestPaths/Questionable.QuestPaths.QuestBundle differ diff --git a/QuestPaths/Questionable.QuestPaths.QuestSchema b/QuestPaths/Questionable.QuestPaths.QuestSchema index 6edb122..62f99c6 100644 --- a/QuestPaths/Questionable.QuestPaths.QuestSchema +++ b/QuestPaths/Questionable.QuestPaths.QuestSchema @@ -114,7 +114,7 @@ "null" ], "description": "Set if pathfinding should stop closer or further away from the default stop distance", - "minimum": 0.25 + "minimum": 0 }, "IgnoreDistanceToObject": { "type": "boolean", @@ -172,7 +172,9 @@ "AcceptQuest", "CompleteQuest", "InitiateLeve", - "FateAction" + "FateAction", + "Fish", + "CriticalEncounter" ] }, "Disabled": { @@ -188,7 +190,15 @@ "boolean", "null" ], - "description": "If true, will mount regardless of distance to position. If false, will unmount." + "description": "Travel hint: If true, will mount regardless of distance to position. If false, will unmount. Ignored by SmartNav auto-decide when not set. For quest-mechanical mount requirements, use MountRequired/DismountRequired instead." + }, + "MountRequired": { + "type": "boolean", + "description": "Quest mechanic: the quest requires the player to be mounted (e.g. mounted escort, chocobo race). Takes priority over Mount and auto-decide." + }, + "DismountRequired": { + "type": "boolean", + "description": "Quest mechanic: the quest requires the player to be on foot (e.g. interaction that fails while mounted). Takes priority over Mount and auto-decide." }, "Fly": { "type": "boolean", @@ -204,19 +214,6 @@ "null" ] }, - "AetheryteShortcut": { - "description": "The Aetheryte to teleport to (before moving)", - "$ref": "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-aetheryte.json" - }, - "AethernetShortcut": { - "type": "array", - "description": "A pair of aethernet locations (from + to) to use as a shortcut", - "minItems": 2, - "maxItems": 2, - "items": { - "$ref": "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-aethernetshard.json" - } - }, "ItemId": { "type": [ "number", @@ -338,7 +335,7 @@ "type": "number" }, "TerritoryId": { - "type": "number" + "type": "integer" } }, "required": [ @@ -358,7 +355,7 @@ "type": "number" }, "TerritoryId": { - "type": "number" + "type": "integer" } }, "required": [ @@ -382,115 +379,6 @@ } }, "additionalProperties": false - }, - "AetheryteShortcutIf": { - "type": "object", - "properties": { - "Never": { - "type": "boolean" - }, - "InSameTerritory": { - "type": "boolean" - }, - "InTerritory": { - "type": "array", - "items": { - "type": "integer" - } - }, - "QuestsAccepted": { - "type": "array", - "items": { - "type": [ - "number", - "string" - ] - } - }, - "QuestsCompleted": { - "type": "array", - "items": { - "type": [ - "number", - "string" - ] - } - }, - "AetheryteLocked": { - "$ref": "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-aetheryte.json" - }, - "AetheryteUnlocked": { - "$ref": "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-aetheryte.json" - }, - "RequiredQuestVariablesNotMet": { - "type": "boolean" - }, - "NearPosition": { - "type": "object", - "properties": { - "Position": { - "$ref": "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-vector3.json" - }, - "MaximumDistance": { - "type": "number" - }, - "TerritoryId": { - "type": "number" - } - }, - "required": [ - "Position", - "MaximumDistance", - "TerritoryId" - ], - "additionalProperties": false - }, - "NotNearPosition": { - "type": "object", - "properties": { - "Position": { - "$ref": "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-vector3.json" - }, - "MaximumDistance": { - "type": "number" - }, - "TerritoryId": { - "type": "number" - } - }, - "required": [ - "Position", - "MaximumDistance", - "TerritoryId" - ], - "additionalProperties": false - }, - "ExtraCondition": { - "type": "string", - "enum": [ - "SkipFreeFantasia" - ] - } - }, - "additionalProperties": false - }, - "AethernetShortcutIf": { - "type": "object", - "properties": { - "Never": { - "type": "boolean" - }, - "InSameTerritory": { - "type": "boolean" - }, - "AetheryteLocked": { - "$ref": "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-aetheryte.json" - }, - "AetheryteUnlocked": { - "$ref": "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-aetheryte.json" - } - }, - "additionalProperties": false } }, "additionalProperties": false @@ -602,14 +490,14 @@ "then": { "properties": { "PickUpItemId": { - "type": "number" + "type": "integer" }, "GCPurchase": { "type": "object", "description": "Configuration for purchasing an item from the Grand Company Exchange shop", "properties": { "ItemId": { - "type": "number", + "type": "integer", "description": "The item ID to purchase from the GC shop" }, "RankTab": { @@ -872,16 +760,31 @@ "Position", "EnemySpawnType" ], - "oneOf": [ + "allOf": [ { - "required": [ - "KillEnemyDataIds" - ] - }, - { - "required": [ - "ComplexCombatData" - ] + "if": { + "properties": { + "EnemySpawnType": { + "not": { + "const": "FinishCombatIfAny" + } + } + } + }, + "then": { + "oneOf": [ + { + "required": [ + "KillEnemyDataIds" + ] + }, + { + "required": [ + "ComplexCombatData" + ] + } + ] + } } ] } @@ -1458,6 +1361,28 @@ ] } }, + { + "if": { + "properties": { + "InteractionType": { + "const": "CriticalEncounter" + } + } + }, + "then": { + "properties": { + "CriticalEncounterId": { + "type": "integer", + "description": "The DynamicEvent sheet row id of the critical encounter", + "exclusiveMinimum": 0 + } + }, + "required": [ + "TerritoryId", + "CriticalEncounterId" + ] + } + }, { "if": { "properties": { @@ -1472,7 +1397,8 @@ "type": "string", "description": "The status to disable", "enum": [ - "Hidden" + "Hidden", + "Transfiguration" ] } }, @@ -1686,39 +1612,13 @@ "exclusiveMinimum": 0, "exclusiveMaximum": 3000 }, - "Enabled": { - "type": "boolean" - }, - "Notes": { - "type": "array", - "items": { - "type": "string" - } - }, - "DutyMode": { - "type": "integer", - "description": "Overrides the default duty mode for this specific duty. 0 = Duty Support, 1 = Unsync (Solo), 2 = Unsync (Party). If not specified, uses the global configuration setting.", - "enum": [0, 1, 2] - }, - "TestedAutoDutyVersion": { - "type": "string", - "pattern": "^0\\.\\d+\\.\\d+\\.\\d+$" - }, - "TestedBossModVersion": { - "type": "string", - "pattern": "^0\\.\\d+\\.\\d+\\.\\d+$" - }, - "LowPriority": { - "type": "boolean", - "description": "Indicates that this dungeon is included in the 'Skip certain optional dungeons and raids' option" - }, "$": { - "type": "string" + "type": "string", + "description": "Dev Comment (not visible in-game)" } }, "required": [ - "ContentFinderConditionId", - "Enabled" + "ContentFinderConditionId" ], "additionalProperties": false }, @@ -1747,32 +1647,16 @@ "SinglePlayerDutyOptions": { "type": "object", "properties": { - "Enabled": { - "type": "boolean" - }, - "Notes": { - "type": "array", - "items": { - "type": "string" - } - }, "Index": { "type": "integer", "minimum": 0, "maximum": 1, "description": "If a quest has multiple solo instances (which affects 5 quests total), indicates which one this is" }, - "TestedBossModVersion": { - "type": "string", - "pattern": "^0\\.\\d+\\.\\d+\\.\\d+$" - }, "$": { "type": "string" } }, - "TODO_required": [ - "Enabled" - ], "additionalProperties": false } } @@ -1806,7 +1690,7 @@ "then": { "properties": { "TaxiStandId": { - "type": "number" + "type": "integer" } }, "required": [ @@ -1877,7 +1761,7 @@ "then": { "properties": { "ItemCount": { - "type": "number" + "type": "integer" }, "RequireHq": { "type": "boolean", @@ -1907,18 +1791,18 @@ "type": "object", "properties": { "ItemId": { - "type": "number" + "type": "integer" }, "AlternativeItemId": { "description": "For leves that allow you to gather two items with different chance percentage, this is the preferred item if the gathering chance is 100% (after buffs)", - "type": "number" + "type": "integer" }, "ItemCount": { - "type": "number", + "type": "integer", "exclusiveMinimum": 0 }, "Collectability": { - "type": "number", + "type": "integer", "minimum": 0, "maximum": 1000 } @@ -1939,24 +1823,49 @@ "if": { "properties": { "InteractionType": { - "anyOf": [ - { - "const": "WaitForManualProgress" - }, - { - "const": "Instruction" - }, - { - "const": "Snipe" - } - ] + "const": "Fish" } } }, "then": { - "required": [ - "Comment" - ] + "properties": { + "ItemsToGather": { + "type": "array", + "description": "The fish to catch at the fishing spot.", + "items": { + "type": "object", + "properties": { + "ItemId": { + "type": "integer" + }, + "ItemCount": { + "type": "integer", + "exclusiveMinimum": 0 + }, + "Collectability": { + "type": "integer", + "minimum": 0, + "maximum": 1000 + } + }, + "required": [ + "ItemId", + "ItemCount" + ] + } + } + }, + "if": { + "required": [ + "CompletionQuestVariablesFlags" + ] + }, + "then": {}, + "else": { + "required": [ + "ItemsToGather" + ] + } } }, { diff --git a/QuestPaths/Questionable.QuestPaths/AssemblyQuestLoader.cs b/QuestPaths/Questionable.QuestPaths/AssemblyQuestLoader.cs index 86a54d4..da61149 100644 --- a/QuestPaths/Questionable.QuestPaths/AssemblyQuestLoader.cs +++ b/QuestPaths/Questionable.QuestPaths/AssemblyQuestLoader.cs @@ -1,395622 +1,45 @@ using System; using System.Collections.Generic; +using System.Diagnostics; using System.IO; -using System.Numerics; -using System.Runtime.InteropServices; -using Questionable.Model.Common; +using System.Security.Cryptography; +using System.Threading; +using Questionable.Model.IO; using Questionable.Model.Questing; namespace Questionable.QuestPaths; -public static class AssemblyQuestLoader +internal static class AssemblyQuestLoader { - private static Dictionary? _quests; + private static readonly Lazy> Quests = new Lazy>(LoadQuests, LazyThreadSafetyMode.ExecutionAndPublication); - public static Stream QuestSchema => typeof(AssemblyQuestLoader).Assembly.GetManifestResourceStream("Questionable.QuestPaths.QuestSchema"); + internal static TimeSpan? DecodeDuration { get; private set; } - public static IReadOnlyDictionary GetQuests() + internal static Stream QuestSchema => typeof(AssemblyQuestLoader).Assembly.GetManifestResourceStream("Questionable.QuestPaths.QuestSchema"); + + internal static IReadOnlyDictionary GetQuests() { - if (_quests == null) + return Quests.Value; + } + + internal static string? GetQuestPath(ElementId questId) + { + return null; + } + + private static IReadOnlyDictionary LoadQuests() + { + Stopwatch stopwatch = Stopwatch.StartNew(); + using Stream stream = typeof(AssemblyQuestLoader).Assembly.GetManifestResourceStream("Questionable.QuestPaths.QuestBundle"); + byte[] array = PathBundleSecret.Key(); + List> list = PathBundle.Deserialize(stream, array); + CryptographicOperations.ZeroMemory(array); + Dictionary dictionary = new Dictionary(list.Count); + foreach (var (value, value2) in list) { - _quests = new Dictionary(); - LoadQuests(); + dictionary[ElementId.FromString(value)] = value2; } - return _quests ?? throw new InvalidOperationException("quest data is not initialized"); - } - - private static void AddQuest(ElementId questId, QuestRoot root) - { - _quests[questId] = root; - } - - private static void LoadQuests() - { - LoadQuests0(); - LoadQuests1(); - LoadQuests2(); - LoadQuests3(); - LoadQuests4(); - LoadQuests5(); - LoadQuests6(); - LoadQuests7(); - LoadQuests8(); - LoadQuests9(); - LoadQuests10(); - LoadQuests11(); - LoadQuests12(); - LoadQuests13(); - LoadQuests14(); - LoadQuests15(); - LoadQuests16(); - LoadQuests17(); - LoadQuests18(); - LoadQuests19(); - LoadQuests20(); - LoadQuests21(); - LoadQuests22(); - LoadQuests23(); - LoadQuests24(); - LoadQuests25(); - LoadQuests26(); - LoadQuests27(); - LoadQuests28(); - LoadQuests29(); - LoadQuests30(); - LoadQuests31(); - LoadQuests32(); - LoadQuests33(); - LoadQuests34(); - LoadQuests35(); - LoadQuests36(); - LoadQuests37(); - LoadQuests38(); - LoadQuests39(); - LoadQuests40(); - LoadQuests41(); - LoadQuests42(); - LoadQuests43(); - LoadQuests44(); - LoadQuests45(); - LoadQuests46(); - LoadQuests47(); - LoadQuests48(); - LoadQuests49(); - LoadQuests50(); - LoadQuests51(); - LoadQuests52(); - LoadQuests53(); - LoadQuests54(); - LoadQuests55(); - LoadQuests56(); - LoadQuests57(); - LoadQuests58(); - LoadQuests59(); - LoadQuests60(); - LoadQuests61(); - LoadQuests62(); - LoadQuests63(); - LoadQuests64(); - LoadQuests65(); - LoadQuests66(); - LoadQuests67(); - LoadQuests68(); - LoadQuests69(); - LoadQuests70(); - LoadQuests71(); - LoadQuests72(); - LoadQuests73(); - LoadQuests74(); - LoadQuests75(); - LoadQuests76(); - LoadQuests77(); - LoadQuests78(); - LoadQuests79(); - LoadQuests80(); - LoadQuests81(); - LoadQuests82(); - LoadQuests83(); - LoadQuests84(); - LoadQuests85(); - LoadQuests86(); - LoadQuests87(); - LoadQuests88(); - LoadQuests89(); - LoadQuests90(); - LoadQuests91(); - LoadQuests92(); - LoadQuests93(); - LoadQuests94(); - LoadQuests95(); - LoadQuests96(); - LoadQuests97(); - LoadQuests98(); - LoadQuests99(); - LoadQuests100(); - LoadQuests101(); - LoadQuests102(); - LoadQuests103(); - LoadQuests104(); - LoadQuests105(); - LoadQuests106(); - LoadQuests107(); - LoadQuests108(); - LoadQuests109(); - } - - private static void LoadQuests0() - { - AethernetId questId = new AethernetId(1); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "WigglyMuffin"; - questRoot.Author = list; - num = 1; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - ref QuestSequence reference = ref CollectionsMarshal.AsSpan(list2)[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 8; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span = CollectionsMarshal.AsSpan(list3); - span[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 129) - { - Aetheryte = EAetheryteLocation.Limsa, - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 129) - { - AethernetShard = EAetheryteLocation.LimsaHawkersAlley, - AetheryteShortcut = EAetheryteLocation.Limsa - }; - span[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 129) - { - AethernetShard = EAetheryteLocation.LimsaArcanist - }; - span[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 129) - { - AethernetShard = EAetheryteLocation.LimsaFisher, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaArcanist, - To = EAetheryteLocation.LimsaHawkersAlley - } - }; - span[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-83.8817f, 18.475962f, -29.903847f), 129) - { - TargetTerritoryId = (ushort)128, - Comment = "Walk to Culinarians' Guild", - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.Limsa - } - }; - span[5] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 128) - { - AethernetShard = EAetheryteLocation.LimsaCulinarian - }; - span[6] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 128) - { - AethernetShard = EAetheryteLocation.LimsaMarauder - }; - span[7] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 128) - { - AethernetShard = EAetheryteLocation.LimsaAftcastle - }; - obj.Steps = list3; - reference = obj; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - SatisfactionSupplyNpcId questId2 = new SatisfactionSupplyNpcId(1); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list4 = new List(num); - CollectionsMarshal.SetCount(list4, num); - CollectionsMarshal.AsSpan(list4)[0] = "liza"; - questRoot2.Author = list4; - num = 2; - List list5 = new List(num); - CollectionsMarshal.SetCount(list5, num); - Span span2 = CollectionsMarshal.AsSpan(list5); - ref QuestSequence reference2 = ref span2[0]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 0 - }; - num2 = 4; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - Span span3 = CollectionsMarshal.AsSpan(list6); - span3[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 478) - { - TargetClass = EExtendedClassJob.BlueMage - }; - span3[1] = new QuestStep(EInteractionType.Gather, null, null, 478); - span3[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-71.31451f, 206.56206f, 29.3684f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire - }; - ref QuestStep reference3 = ref span3[3]; - QuestStep obj3 = new QuestStep(EInteractionType.Interact, 1019615u, new Vector3(-71.763245f, 206.50021f, 32.638916f), 478) - { - StopDistance = 5f - }; - int num3 = 1; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - CollectionsMarshal.AsSpan(list7)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/003/CtsSfsCharacter1_00386", - Prompt = new ExcelRef("TEXT_CTSSFSCHARACTER1_00386_TOPMENU_000_000"), - Answer = new ExcelRef("TEXT_CTSSFSCHARACTER1_00386_TOPMENU_000_001"), - AnswerIsRegularExpression = true - }; - obj3.DialogueChoices = list7; - reference3 = obj3; - obj2.Steps = list6; - reference2 = obj2; - ref QuestSequence reference4 = ref span2[1]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - ref QuestStep reference5 = ref CollectionsMarshal.AsSpan(list8)[0]; - QuestStep questStep = new QuestStep(EInteractionType.None, null, null, 635); - num3 = 1; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - CollectionsMarshal.AsSpan(list9)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/003/CtsSfsCharacter1_00386", - Prompt = new ExcelRef("TEXT_CTSSFSCHARACTER1_00386_TOPMENU_000_000"), - Answer = new ExcelRef("TEXT_CTSSFSCHARACTER1_00386_TOPMENU_000_003") - }; - questStep.DialogueChoices = list9; - reference5 = questStep; - obj4.Steps = list8; - reference4 = obj4; - questRoot2.QuestSequence = list5; - AddQuest(questId2, questRoot2); - AethernetId questId3 = new AethernetId(2); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - CollectionsMarshal.AsSpan(list10)[0] = "WigglyMuffin"; - questRoot3.Author = list10; - num = 1; - List list11 = new List(num); - CollectionsMarshal.SetCount(list11, num); - ref QuestSequence reference6 = ref CollectionsMarshal.AsSpan(list11)[0]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 0 - }; - num2 = 10; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - Span span4 = CollectionsMarshal.AsSpan(list12); - span4[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 132) - { - Aetheryte = EAetheryteLocation.Gridania, - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span4[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 132) - { - AethernetShard = EAetheryteLocation.GridaniaArcher - }; - span4[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(102.810745f, 5.4071116f, 12.54738f), 132) - { - TargetTerritoryId = (ushort)133 - }; - span4[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaLeatherworker - }; - span4[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(121.70568f, 12.25941f, -100.795494f), 133); - span4[5] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaLancer - }; - span4[6] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaAmphitheatre, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLancer, - To = EAetheryteLocation.GridaniaLeatherworker - } - }; - span4[7] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-174.09056f, 10.91981f, -162.12527f), 133); - span4[8] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaBotanist - }; - span4[9] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaConjurer, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaBotanist, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - obj5.Steps = list12; - reference6 = obj5; - questRoot3.QuestSequence = list11; - AddQuest(questId3, questRoot3); - SatisfactionSupplyNpcId questId4 = new SatisfactionSupplyNpcId(2); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = "liza"; - questRoot4.Author = list13; - num = 2; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - Span span5 = CollectionsMarshal.AsSpan(list14); - ref QuestSequence reference7 = ref span5[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - Span span6 = CollectionsMarshal.AsSpan(list15); - span6[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 635) - { - TargetClass = EExtendedClassJob.BlueMage - }; - span6[1] = new QuestStep(EInteractionType.Gather, null, null, 635); - ref QuestStep reference8 = ref span6[2]; - QuestStep obj7 = new QuestStep(EInteractionType.Interact, 1020337u, new Vector3(171.31299f, 13.02367f, -89.951965f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachNorthEast - } - }; - num3 = 1; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - CollectionsMarshal.AsSpan(list16)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/004/CtsSfsCharacter2_00434", - Prompt = new ExcelRef("TEXT_CTSSFSCHARACTER2_00434_TOPMENU_000_000"), - Answer = new ExcelRef("TEXT_CTSSFSCHARACTER2_00434_TOPMENU_000_001"), - AnswerIsRegularExpression = true - }; - obj7.DialogueChoices = list16; - reference8 = obj7; - obj6.Steps = list15; - reference7 = obj6; - ref QuestSequence reference9 = ref span5[1]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - ref QuestStep reference10 = ref CollectionsMarshal.AsSpan(list17)[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.None, null, null, 635); - num3 = 1; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - CollectionsMarshal.AsSpan(list18)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/004/CtsSfsCharacter2_00434", - Prompt = new ExcelRef("TEXT_CTSSFSCHARACTER2_00434_TOPMENU_000_000"), - Answer = new ExcelRef("TEXT_CTSSFSCHARACTER2_00434_TOPMENU_000_003") - }; - questStep2.DialogueChoices = list18; - reference10 = questStep2; - obj8.Steps = list17; - reference9 = obj8; - questRoot4.QuestSequence = list14; - AddQuest(questId4, questRoot4); - AethernetId questId5 = new AethernetId(3); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - CollectionsMarshal.AsSpan(list19)[0] = "WigglyMuffin"; - questRoot5.Author = list19; - num = 1; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - ref QuestSequence reference11 = ref CollectionsMarshal.AsSpan(list20)[0]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 0 - }; - num2 = 10; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - Span span7 = CollectionsMarshal.AsSpan(list21); - span7[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 130) - { - Aetheryte = EAetheryteLocation.Uldah, - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span7[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 130) - { - AethernetShard = EAetheryteLocation.UldahAdventurers - }; - span7[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(95.43315f, 4f, -105.26365f), 130); - span7[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahSapphireAvenue - }; - span7[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahWeaver - }; - span7[5] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahMiner - }; - span7[6] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahGoldsmith - }; - span7[7] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahGladiator - }; - span7[8] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-112.64317f, 7.734872f, 9.960203f), 131); - span7[9] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 130) - { - AethernetShard = EAetheryteLocation.UldahThaumaturge - }; - obj9.Steps = list21; - reference11 = obj9; - questRoot5.QuestSequence = list20; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(3); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - CollectionsMarshal.AsSpan(list22)[0] = "Cacahuetes"; - questRoot6.Author = list22; - num = 2; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - Span span8 = CollectionsMarshal.AsSpan(list23); - ref QuestSequence reference12 = ref span8[0]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - ref QuestStep reference13 = ref CollectionsMarshal.AsSpan(list24)[0]; - QuestStep obj11 = new QuestStep(EInteractionType.AcceptQuest, 1000294u, new Vector3(-238.05603f, 8f, -142.93127f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaBotanist - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition obj12 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - CollectionsMarshal.AsSpan(list25)[0] = 133; - obj12.InTerritory = list25; - skipConditions.AetheryteShortcutIf = obj12; - obj11.SkipConditions = skipConditions; - reference13 = obj11; - obj10.Steps = list24; - reference12 = obj10; - ref QuestSequence reference14 = ref span8[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - ref QuestStep reference15 = ref CollectionsMarshal.AsSpan(list26)[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.CompleteQuest, 1000815u, new Vector3(-233.9361f, 6.668152f, -171.03839f), 133); - num3 = 1; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - CollectionsMarshal.AsSpan(list27)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSHRV001_00003_Q1_000_1") - }; - questStep3.DialogueChoices = list27; - questStep3.NextQuestId = new QuestId(208); - reference15 = questStep3; - obj13.Steps = list26; - reference14 = obj13; - questRoot6.QuestSequence = list23; - AddQuest(questId6, questRoot6); - SatisfactionSupplyNpcId questId7 = new SatisfactionSupplyNpcId(3); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - CollectionsMarshal.AsSpan(list28)[0] = "liza"; - questRoot7.Author = list28; - num = 2; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - Span span9 = CollectionsMarshal.AsSpan(list29); - ref QuestSequence reference16 = ref span9[0]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - Span span10 = CollectionsMarshal.AsSpan(list30); - span10[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 613) - { - TargetClass = EExtendedClassJob.BlueMage - }; - span10[1] = new QuestStep(EInteractionType.Gather, null, null, 613); - ref QuestStep reference17 = ref span10[2]; - QuestStep obj15 = new QuestStep(EInteractionType.Interact, 1025878u, new Vector3(343.984f, -120.32947f, -306.0197f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - num3 = 1; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - CollectionsMarshal.AsSpan(list31)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/004/CtsSfsCharacter3_00481", - Prompt = new ExcelRef("TEXT_CTSSFSCHARACTER3_00481_TOPMENU_000_000"), - Answer = new ExcelRef("TEXT_CTSSFSCHARACTER3_00481_TOPMENU_000_001"), - AnswerIsRegularExpression = true - }; - obj15.DialogueChoices = list31; - reference17 = obj15; - obj14.Steps = list30; - reference16 = obj14; - ref QuestSequence reference18 = ref span9[1]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - ref QuestStep reference19 = ref CollectionsMarshal.AsSpan(list32)[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.None, null, null, 613); - num3 = 1; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - CollectionsMarshal.AsSpan(list33)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/004/CtsSfsCharacter3_00481", - Prompt = new ExcelRef("TEXT_CTSSFSCHARACTER3_00481_TOPMENU_000_000"), - Answer = new ExcelRef("TEXT_CTSSFSCHARACTER3_00481_TOPMENU_000_004") - }; - questStep4.DialogueChoices = list33; - reference19 = questStep4; - obj16.Steps = list32; - reference18 = obj16; - questRoot7.QuestSequence = list29; - AddQuest(questId7, questRoot7); - AethernetId questId8 = new AethernetId(4); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - CollectionsMarshal.AsSpan(list34)[0] = "WigglyMuffin"; - questRoot8.Author = list34; - num = 1; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - ref QuestSequence reference20 = ref CollectionsMarshal.AsSpan(list35)[0]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 0 - }; - num2 = 15; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - Span span11 = CollectionsMarshal.AsSpan(list36); - span11[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 144) - { - Aetheryte = EAetheryteLocation.GoldSaucer, - AetheryteShortcut = EAetheryteLocation.GoldSaucer, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span11[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 144) - { - StopDistance = 7f, - AethernetShard = EAetheryteLocation.GoldSaucerEntranceCardSquares - }; - span11[2] = new QuestStep(EInteractionType.Interact, 1011044u, new Vector3(-84.45868f, 3.7690625E-06f, 29.06836f), 144) - { - TargetTerritoryId = (ushort)388 - }; - span11[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 388) - { - StopDistance = 5f, - AethernetShard = EAetheryteLocation.GoldSaucerMinionSquare - }; - span11[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 388) - { - StopDistance = 7f, - AethernetShard = EAetheryteLocation.GoldSaucerChocoboSquare - }; - span11[5] = new QuestStep(EInteractionType.None, null, null, 388) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GoldSaucerChocoboSquare, - To = EAetheryteLocation.GoldSaucerEntranceCardSquares - } - }; - span11[6] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(46.78062f, 11.798187f, 20.328043f), 144); - span11[7] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 144) - { - StopDistance = 7f, - AethernetShard = EAetheryteLocation.GoldSaucerWonderSquareWest - }; - span11[8] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 144) - { - StopDistance = 7f, - AethernetShard = EAetheryteLocation.GoldSaucerWonderSquareEast - }; - span11[9] = new QuestStep(EInteractionType.None, null, null, 144) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GoldSaucerWonderSquareEast, - To = EAetheryteLocation.GoldSaucer - } - }; - span11[10] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 144) - { - StopDistance = 7f, - AethernetShard = EAetheryteLocation.GoldSaucerEventSquare - }; - span11[11] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(122.973015f, -0.5100681f, -50.024624f), 144); - span11[12] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 144) - { - StopDistance = 7f, - AethernetShard = EAetheryteLocation.GoldSaucerCactpotBoard - }; - span11[13] = new QuestStep(EInteractionType.None, null, null, 144) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GoldSaucerCactpotBoard, - To = EAetheryteLocation.GoldSaucer - } - }; - span11[14] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 144) - { - StopDistance = 7f, - AethernetShard = EAetheryteLocation.GoldSaucerRoundSquare - }; - obj17.Steps = list36; - reference20 = obj17; - questRoot8.QuestSequence = list35; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(4); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - CollectionsMarshal.AsSpan(list37)[0] = "liza"; - questRoot9.Author = list37; - num = 2; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - Span span12 = CollectionsMarshal.AsSpan(list38); - ref QuestSequence reference21 = ref span12[0]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - ref QuestStep reference22 = ref CollectionsMarshal.AsSpan(list39)[0]; - QuestStep obj19 = new QuestStep(EInteractionType.AcceptQuest, 1000815u, new Vector3(-233.9361f, 6.668152f, -171.03839f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaBotanist - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition obj20 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - CollectionsMarshal.AsSpan(list40)[0] = 133; - obj20.InTerritory = list40; - skipConditions2.AetheryteShortcutIf = obj20; - obj19.SkipConditions = skipConditions2; - reference22 = obj19; - obj18.Steps = list39; - reference21 = obj18; - ref QuestSequence reference23 = ref span12[1]; - QuestSequence obj21 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - Span span13 = CollectionsMarshal.AsSpan(list41); - span13[0] = new QuestStep(EInteractionType.EquipRecommended, null, null, 154); - ref QuestStep reference24 = ref span13[1]; - QuestStep questStep5 = new QuestStep(EInteractionType.Gather, null, null, 154); - num3 = 1; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - CollectionsMarshal.AsSpan(list42)[0] = new GatheredItem - { - ItemId = 5498u, - ItemCount = 10 - }; - questStep5.ItemsToGather = list42; - reference24 = questStep5; - span13[2] = new QuestStep(EInteractionType.CompleteQuest, 1000295u, new Vector3(-234.24127f, 8.000092f, -155.169f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaBotanist - }, - NextQuestId = new QuestId(6) - }; - obj21.Steps = list41; - reference23 = obj21; - questRoot9.QuestSequence = list38; - AddQuest(questId9, questRoot9); - SatisfactionSupplyNpcId questId10 = new SatisfactionSupplyNpcId(4); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - CollectionsMarshal.AsSpan(list43)[0] = "liza"; - questRoot10.Author = list43; - num = 2; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - Span span14 = CollectionsMarshal.AsSpan(list44); - ref QuestSequence reference25 = ref span14[0]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - Span span15 = CollectionsMarshal.AsSpan(list45); - span15[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 478) - { - TargetClass = EExtendedClassJob.BlueMage - }; - span15[1] = new QuestStep(EInteractionType.Gather, null, null, 478); - ref QuestStep reference26 = ref span15[2]; - QuestStep obj23 = new QuestStep(EInteractionType.Interact, 1018393u, new Vector3(-60.380005f, 206.50021f, 26.16919f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire - }; - num3 = 1; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - CollectionsMarshal.AsSpan(list46)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/005/CtsSfsCharacter4_00541", - Prompt = new ExcelRef("TEXT_CTSSFSCHARACTER4_00541_TOPMENU_000_000"), - Answer = new ExcelRef("TEXT_CTSSFSCHARACTER4_00541_TOPMENU_000_001"), - AnswerIsRegularExpression = true - }; - obj23.DialogueChoices = list46; - reference26 = obj23; - obj22.Steps = list45; - reference25 = obj22; - ref QuestSequence reference27 = ref span14[1]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - ref QuestStep reference28 = ref CollectionsMarshal.AsSpan(list47)[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.None, null, null, 635); - num3 = 1; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - CollectionsMarshal.AsSpan(list48)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/005/CtsSfsCharacter4_00541", - Prompt = new ExcelRef("TEXT_CTSSFSCHARACTER4_00541_TOPMENU_000_000"), - Answer = new ExcelRef("TEXT_CTSSFSCHARACTER4_00541_TOPMENU_000_004") - }; - questStep6.DialogueChoices = list48; - reference28 = questStep6; - obj24.Steps = list47; - reference27 = obj24; - questRoot10.QuestSequence = list44; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(5); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - CollectionsMarshal.AsSpan(list49)[0] = "liza"; - questRoot11.Author = list49; - num = 2; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - Span span16 = CollectionsMarshal.AsSpan(list50); - ref QuestSequence reference29 = ref span16[0]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - ref QuestStep reference30 = ref CollectionsMarshal.AsSpan(list51)[0]; - QuestStep obj26 = new QuestStep(EInteractionType.AcceptQuest, 1000815u, new Vector3(-233.9361f, 6.668152f, -171.03839f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaBotanist - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition obj27 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - CollectionsMarshal.AsSpan(list52)[0] = 133; - obj27.InTerritory = list52; - skipConditions3.AetheryteShortcutIf = obj27; - obj26.SkipConditions = skipConditions3; - reference30 = obj26; - obj25.Steps = list51; - reference29 = obj25; - ref QuestSequence reference31 = ref span16[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - Span span17 = CollectionsMarshal.AsSpan(list53); - span17[0] = new QuestStep(EInteractionType.EquipRecommended, null, null, 148); - ref QuestStep reference32 = ref span17[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Gather, null, null, 148); - num3 = 1; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - CollectionsMarshal.AsSpan(list54)[0] = new GatheredItem - { - ItemId = 5352u, - ItemCount = 10 - }; - questStep7.ItemsToGather = list54; - reference32 = questStep7; - span17[2] = new QuestStep(EInteractionType.CompleteQuest, 1000295u, new Vector3(-234.24127f, 8.000092f, -155.169f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaBotanist - }, - NextQuestId = new QuestId(6) - }; - obj28.Steps = list53; - reference31 = obj28; - questRoot11.QuestSequence = list50; - AddQuest(questId11, questRoot11); - AethernetId questId12 = new AethernetId(5); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - CollectionsMarshal.AsSpan(list55)[0] = "WigglyMuffin"; - questRoot12.Author = list55; - num = 1; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - ref QuestSequence reference33 = ref CollectionsMarshal.AsSpan(list56)[0]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 0 - }; - num2 = 10; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - Span span18 = CollectionsMarshal.AsSpan(list57); - span18[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 418) - { - Aetheryte = EAetheryteLocation.Ishgard, - AetheryteShortcut = EAetheryteLocation.Ishgard, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span18[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 418) - { - AethernetShard = EAetheryteLocation.IshgardSkysteelManufactory - }; - span18[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 418) - { - AethernetShard = EAetheryteLocation.IshgardBrume, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSkysteelManufactory, - To = EAetheryteLocation.Ishgard - } - }; - span18[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 418) - { - AethernetShard = EAetheryteLocation.IshgardForgottenKnight - }; - span18[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(53.15989f, 30.584269f, -82.98525f), 418) - { - TargetTerritoryId = (ushort)419 - }; - span18[5] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 419) - { - AethernetShard = EAetheryteLocation.IshgardAthenaeumAstrologicum - }; - span18[6] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 419) - { - AethernetShard = EAetheryteLocation.IshgardTribunal - }; - span18[7] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 419) - { - AethernetShard = EAetheryteLocation.IshgardSaintReymanaudsCathedral - }; - span18[8] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 419) - { - AethernetShard = EAetheryteLocation.IshgardJeweledCrozier - }; - span18[9] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 419) - { - AethernetShard = EAetheryteLocation.IshgardLastVigil - }; - obj29.Steps = list57; - reference33 = obj29; - questRoot12.QuestSequence = list56; - AddQuest(questId12, questRoot12); - SatisfactionSupplyNpcId questId13 = new SatisfactionSupplyNpcId(5); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - CollectionsMarshal.AsSpan(list58)[0] = "liza"; - questRoot13.Author = list58; - num = 2; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - Span span19 = CollectionsMarshal.AsSpan(list59); - ref QuestSequence reference34 = ref span19[0]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - Span span20 = CollectionsMarshal.AsSpan(list60); - span20[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 820) - { - TargetClass = EExtendedClassJob.BlueMage - }; - span20[1] = new QuestStep(EInteractionType.Gather, null, null, 820); - ref QuestStep reference35 = ref span20[2]; - QuestStep obj31 = new QuestStep(EInteractionType.Interact, 1031801u, new Vector3(52.8114f, 83.001076f, -65.38495f), 820) - { - AetheryteShortcut = EAetheryteLocation.Eulmore - }; - num3 = 1; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - CollectionsMarshal.AsSpan(list61)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/006/CtsSfsCharacter5_00640", - Prompt = new ExcelRef("TEXT_CTSSFSCHARACTER5_00640_TOPMENU_000_000"), - Answer = new ExcelRef("TEXT_CTSSFSCHARACTER5_00640_TOPMENU_000_001"), - AnswerIsRegularExpression = true - }; - obj31.DialogueChoices = list61; - reference35 = obj31; - obj30.Steps = list60; - reference34 = obj30; - ref QuestSequence reference36 = ref span19[1]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - ref QuestStep reference37 = ref CollectionsMarshal.AsSpan(list62)[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.None, null, null, 635); - num3 = 1; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - CollectionsMarshal.AsSpan(list63)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/006/CtsSfsCharacter5_00640", - Prompt = new ExcelRef("TEXT_CTSSFSCHARACTER5_00640_TOPMENU_000_000"), - Answer = new ExcelRef("TEXT_CTSSFSCHARACTER5_00640_TOPMENU_000_004") - }; - questStep8.DialogueChoices = list63; - reference37 = questStep8; - obj32.Steps = list62; - reference36 = obj32; - questRoot13.QuestSequence = list59; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(6); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - CollectionsMarshal.AsSpan(list64)[0] = "liza"; - questRoot14.Author = list64; - num = 4; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - Span span21 = CollectionsMarshal.AsSpan(list65); - ref QuestSequence reference38 = ref span21[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - ref QuestStep reference39 = ref CollectionsMarshal.AsSpan(list66)[0]; - QuestStep obj34 = new QuestStep(EInteractionType.AcceptQuest, 1000815u, new Vector3(-233.9361f, 6.668152f, -171.03839f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaBotanist - } - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition obj35 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - CollectionsMarshal.AsSpan(list67)[0] = 133; - obj35.InTerritory = list67; - skipConditions4.AetheryteShortcutIf = obj35; - obj34.SkipConditions = skipConditions4; - reference39 = obj34; - obj33.Steps = list66; - reference38 = obj33; - ref QuestSequence reference40 = ref span21[1]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Interact, 1000239u, new Vector3(170.30591f, 15.699951f, -118.638916f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaBotanist, - To = EAetheryteLocation.GridaniaLeatherworker - } - }; - obj36.Steps = list68; - reference40 = obj36; - ref QuestSequence reference41 = ref span21[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - Span span22 = CollectionsMarshal.AsSpan(list69); - span22[0] = new QuestStep(EInteractionType.EquipRecommended, null, null, 148); - ref QuestStep reference42 = ref span22[1]; - QuestStep questStep9 = new QuestStep(EInteractionType.Gather, null, null, 148); - num3 = 1; - List list70 = new List(num3); - CollectionsMarshal.SetCount(list70, num3); - CollectionsMarshal.AsSpan(list70)[0] = new GatheredItem - { - ItemId = 4832u, - ItemCount = 10 - }; - questStep9.ItemsToGather = list70; - reference42 = questStep9; - span22[2] = new QuestStep(EInteractionType.Interact, 1000239u, new Vector3(170.30591f, 15.699951f, -118.638916f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLeatherworker - } - }; - obj37.Steps = list69; - reference41 = obj37; - ref QuestSequence reference43 = ref span21[3]; - QuestSequence obj38 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000815u, new Vector3(-233.9361f, 6.668152f, -171.03839f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLeatherworker, - To = EAetheryteLocation.GridaniaBotanist - }, - NextQuestId = new QuestId(7) - }; - obj38.Steps = list71; - reference43 = obj38; - questRoot14.QuestSequence = list65; - AddQuest(questId14, questRoot14); - AethernetId questId15 = new AethernetId(6); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - CollectionsMarshal.AsSpan(list72)[0] = "WigglyMuffin"; - questRoot15.Author = list72; - num = 1; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - ref QuestSequence reference44 = ref CollectionsMarshal.AsSpan(list73)[0]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - Span span23 = CollectionsMarshal.AsSpan(list74); - span23[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 478) - { - Aetheryte = EAetheryteLocation.Idyllshire, - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span23[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 478) - { - AethernetShard = EAetheryteLocation.IdyllshireWest - }; - obj39.Steps = list74; - reference44 = obj39; - questRoot15.QuestSequence = list73; - AddQuest(questId15, questRoot15); - SatisfactionSupplyNpcId questId16 = new SatisfactionSupplyNpcId(6); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - CollectionsMarshal.AsSpan(list75)[0] = "liza"; - questRoot16.Author = list75; - num = 2; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - Span span24 = CollectionsMarshal.AsSpan(list76); - ref QuestSequence reference45 = ref span24[0]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 0 - }; - num2 = 4; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - Span span25 = CollectionsMarshal.AsSpan(list77); - span25[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 886) - { - TargetClass = EExtendedClassJob.BlueMage - }; - span25[1] = new QuestStep(EInteractionType.Gather, null, null, 886); - ref QuestStep reference46 = ref span25[2]; - QuestStep obj41 = new QuestStep(EInteractionType.None, null, null, 886) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardFirmament - } - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - CollectionsMarshal.AsSpan(list78)[0] = 886; - skipAetheryteCondition.InTerritory = list78; - skipConditions5.AetheryteShortcutIf = skipAetheryteCondition; - skipConditions5.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj41.SkipConditions = skipConditions5; - reference46 = obj41; - ref QuestStep reference47 = ref span25[3]; - QuestStep obj42 = new QuestStep(EInteractionType.Interact, 1033543u, new Vector3(113.38977f, -20f, -0.96136475f), 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmamentMendicantsCourt, - To = EAetheryteLocation.FirmamentMattock - } - }; - num3 = 1; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - CollectionsMarshal.AsSpan(list79)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/006/CtsSfsCharacter6_00674", - Prompt = new ExcelRef("TEXT_CTSSFSCHARACTER6_00674_TOPMENU_000_000"), - Answer = new ExcelRef("TEXT_CTSSFSCHARACTER6_00674_TOPMENU_000_001"), - AnswerIsRegularExpression = true - }; - obj42.DialogueChoices = list79; - reference47 = obj42; - obj40.Steps = list77; - reference45 = obj40; - ref QuestSequence reference48 = ref span24[1]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - ref QuestStep reference49 = ref CollectionsMarshal.AsSpan(list80)[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.None, null, null, 635); - num3 = 1; - List list81 = new List(num3); - CollectionsMarshal.SetCount(list81, num3); - CollectionsMarshal.AsSpan(list81)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/006/CtsSfsCharacter6_00674", - Prompt = new ExcelRef("TEXT_CTSSFSCHARACTER6_00674_TOPMENU_000_000"), - Answer = new ExcelRef("TEXT_CTSSFSCHARACTER6_00674_TOPMENU_000_003") - }; - questStep10.DialogueChoices = list81; - reference49 = questStep10; - obj43.Steps = list80; - reference48 = obj43; - questRoot16.QuestSequence = list76; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(7); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - CollectionsMarshal.AsSpan(list82)[0] = "liza"; - questRoot17.Author = list82; - num = 2; - List list83 = new List(num); - CollectionsMarshal.SetCount(list83, num); - Span span26 = CollectionsMarshal.AsSpan(list83); - ref QuestSequence reference50 = ref span26[0]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - ref QuestStep reference51 = ref CollectionsMarshal.AsSpan(list84)[0]; - QuestStep obj45 = new QuestStep(EInteractionType.AcceptQuest, 1000815u, new Vector3(-233.9361f, 6.668152f, -171.03839f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaBotanist - } - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipAetheryteCondition obj46 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - CollectionsMarshal.AsSpan(list85)[0] = 133; - obj46.InTerritory = list85; - skipConditions6.AetheryteShortcutIf = obj46; - obj45.SkipConditions = skipConditions6; - reference51 = obj45; - obj44.Steps = list84; - reference50 = obj44; - ref QuestSequence reference52 = ref span26[1]; - QuestSequence obj47 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - Span span27 = CollectionsMarshal.AsSpan(list86); - span27[0] = new QuestStep(EInteractionType.EquipRecommended, null, null, 138); - ref QuestStep reference53 = ref span27[1]; - QuestStep questStep11 = new QuestStep(EInteractionType.Gather, null, null, 138); - num3 = 1; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - CollectionsMarshal.AsSpan(list87)[0] = new GatheredItem - { - ItemId = 5599u, - ItemCount = 15 - }; - questStep11.ItemsToGather = list87; - reference53 = questStep11; - span27[2] = new QuestStep(EInteractionType.CompleteQuest, 1000292u, new Vector3(-233.99713f, 8f, -146.86816f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaBotanist - } - }; - obj47.Steps = list86; - reference52 = obj47; - questRoot17.QuestSequence = list83; - AddQuest(questId17, questRoot17); - AethernetId questId18 = new AethernetId(7); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list88 = new List(num); - CollectionsMarshal.SetCount(list88, num); - CollectionsMarshal.AsSpan(list88)[0] = "WigglyMuffin"; - questRoot18.Author = list88; - num = 1; - List list89 = new List(num); - CollectionsMarshal.SetCount(list89, num); - ref QuestSequence reference54 = ref CollectionsMarshal.AsSpan(list89)[0]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - Span span28 = CollectionsMarshal.AsSpan(list90); - span28[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 635) - { - Aetheryte = EAetheryteLocation.RhalgrsReach, - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span28[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 635) - { - AethernetShard = EAetheryteLocation.RhalgrsReachWest - }; - span28[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 635) - { - AethernetShard = EAetheryteLocation.RhalgrsReachNorthEast, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReachWest, - To = EAetheryteLocation.RhalgrsReach - } - }; - obj48.Steps = list90; - reference54 = obj48; - questRoot18.QuestSequence = list89; - AddQuest(questId18, questRoot18); - SatisfactionSupplyNpcId questId19 = new SatisfactionSupplyNpcId(7); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - CollectionsMarshal.AsSpan(list91)[0] = "liza"; - questRoot19.Author = list91; - num = 2; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - Span span29 = CollectionsMarshal.AsSpan(list92); - ref QuestSequence reference55 = ref span29[0]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 0 - }; - num2 = 5; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - Span span30 = CollectionsMarshal.AsSpan(list93); - span30[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 886) - { - TargetClass = EExtendedClassJob.BlueMage - }; - span30[1] = new QuestStep(EInteractionType.Gather, null, null, 886); - ref QuestStep reference56 = ref span30[2]; - QuestStep obj50 = new QuestStep(EInteractionType.None, null, null, 886) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardFirmament - } - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num3 = 1; - List list94 = new List(num3); - CollectionsMarshal.SetCount(list94, num3); - CollectionsMarshal.AsSpan(list94)[0] = 886; - skipAetheryteCondition2.InTerritory = list94; - skipConditions7.AetheryteShortcutIf = skipAetheryteCondition2; - skipConditions7.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj50.SkipConditions = skipConditions7; - reference56 = obj50; - span30[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-113.51667f, 0f, -134.36552f), 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmamentMendicantsCourt, - To = EAetheryteLocation.FirmamentWesternRisensongQuarter - } - }; - ref QuestStep reference57 = ref span30[4]; - QuestStep obj51 = new QuestStep(EInteractionType.Interact, 1035211u, new Vector3(-116.96039f, 0f, -133.95898f), 886) - { - StopDistance = 7f - }; - num3 = 1; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - CollectionsMarshal.AsSpan(list95)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/007/CtsSfsCharacter7_00710", - Prompt = new ExcelRef("TEXT_CTSSFSCHARACTER7_00710_TOPMENU_000_000"), - Answer = new ExcelRef("TEXT_CTSSFSCHARACTER7_00710_TOPMENU_000_001"), - AnswerIsRegularExpression = true - }; - obj51.DialogueChoices = list95; - reference57 = obj51; - obj49.Steps = list93; - reference55 = obj49; - ref QuestSequence reference58 = ref span29[1]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - ref QuestStep reference59 = ref CollectionsMarshal.AsSpan(list96)[0]; - QuestStep questStep12 = new QuestStep(EInteractionType.None, null, null, 635); - num3 = 1; - List list97 = new List(num3); - CollectionsMarshal.SetCount(list97, num3); - CollectionsMarshal.AsSpan(list97)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/007/CtsSfsCharacter7_00710", - Prompt = new ExcelRef("TEXT_CTSSFSCHARACTER7_00710_TOPMENU_000_000"), - Answer = new ExcelRef("TEXT_CTSSFSCHARACTER7_00710_TOPMENU_000_004") - }; - questStep12.DialogueChoices = list97; - reference59 = questStep12; - obj52.Steps = list96; - reference58 = obj52; - questRoot19.QuestSequence = list92; - AddQuest(questId19, questRoot19); - AethernetId questId20 = new AethernetId(8); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - CollectionsMarshal.AsSpan(list98)[0] = "WigglyMuffin"; - questRoot20.Author = list98; - num = 1; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - ref QuestSequence reference60 = ref CollectionsMarshal.AsSpan(list99)[0]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 0 - }; - num2 = 12; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - Span span31 = CollectionsMarshal.AsSpan(list100); - span31[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 628) - { - Aetheryte = EAetheryteLocation.Kugane, - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span31[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 628) - { - AethernetShard = EAetheryteLocation.KuganeShiokazeHostelry - }; - span31[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 628) - { - AethernetShard = EAetheryteLocation.KuganeMarkets - }; - span31[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 628) - { - AethernetShard = EAetheryteLocation.KuganeRubyBazaar - }; - span31[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 628) - { - AethernetShard = EAetheryteLocation.KuganeRakuzaDistrict, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeRubyBazaar, - To = EAetheryteLocation.Kugane - } - }; - span31[5] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 628) - { - AethernetShard = EAetheryteLocation.KuganeBokairoInn, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeShiokazeHostelry, - To = EAetheryteLocation.KuganeMarkets - } - }; - span31[6] = new QuestStep(EInteractionType.Jump, null, new Vector3(-132.33249f, 4.510561f, 117.53347f), 628) - { - StopDistance = 0.25f, - JumpDestination = new JumpDestination - { - Position = new Vector3(-131.75923f, 6.245034f, 123.01645f), - StopDistance = 0.5f - } - }; - span31[7] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-125.70999f, 8.414458f, 123.2643f), 628) - { - DisableNavmesh = true - }; - span31[8] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-124.25544f, -4.999999f, 145.54941f), 628) - { - DisableNavmesh = true - }; - span31[9] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 628) - { - DisableNavmesh = true, - AethernetShard = EAetheryteLocation.KuganePier1 - }; - span31[10] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 628) - { - AethernetShard = EAetheryteLocation.KuganeThavnairianConsulate - }; - span31[11] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 628) - { - AethernetShard = EAetheryteLocation.KuganeSekiseigumiBarracks, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeRubyBazaar, - To = EAetheryteLocation.Kugane - } - }; - obj53.Steps = list100; - reference60 = obj53; - questRoot20.QuestSequence = list99; - AddQuest(questId20, questRoot20); - SatisfactionSupplyNpcId questId21 = new SatisfactionSupplyNpcId(8); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list101 = new List(num); - CollectionsMarshal.SetCount(list101, num); - CollectionsMarshal.AsSpan(list101)[0] = "liza"; - questRoot21.Author = list101; - num = 2; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - Span span32 = CollectionsMarshal.AsSpan(list102); - ref QuestSequence reference61 = ref span32[0]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - Span span33 = CollectionsMarshal.AsSpan(list103); - span33[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 962) - { - TargetClass = EExtendedClassJob.BlueMage - }; - span33[1] = new QuestStep(EInteractionType.Gather, null, null, 962); - ref QuestStep reference62 = ref span33[2]; - QuestStep obj55 = new QuestStep(EInteractionType.Interact, 1042241u, new Vector3(222.85791f, 24.942732f, -197.77222f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanLeveilleurEstate - } - }; - num3 = 1; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - CollectionsMarshal.AsSpan(list104)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/007/CtsSfsCharacter8_00773", - Prompt = new ExcelRef("TEXT_CTSSFSCHARACTER8_00773_TOPMENU_000_000"), - Answer = new ExcelRef("TEXT_CTSSFSCHARACTER8_00773_TOPMENU_000_001"), - AnswerIsRegularExpression = true - }; - obj55.DialogueChoices = list104; - reference62 = obj55; - obj54.Steps = list103; - reference61 = obj54; - ref QuestSequence reference63 = ref span32[1]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - ref QuestStep reference64 = ref CollectionsMarshal.AsSpan(list105)[0]; - QuestStep questStep13 = new QuestStep(EInteractionType.None, null, null, 635); - num3 = 1; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - CollectionsMarshal.AsSpan(list106)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/007/CtsSfsCharacter8_00773", - Prompt = new ExcelRef("TEXT_CTSSFSCHARACTER8_00773_TOPMENU_000_000"), - Answer = new ExcelRef("TEXT_CTSSFSCHARACTER8_00773_TOPMENU_000_004") - }; - questStep13.DialogueChoices = list106; - reference64 = questStep13; - obj56.Steps = list105; - reference63 = obj56; - questRoot21.QuestSequence = list102; - AddQuest(questId21, questRoot21); - AethernetId questId22 = new AethernetId(9); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - CollectionsMarshal.AsSpan(list107)[0] = "WigglyMuffin"; - questRoot22.Author = list107; - num = 1; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - ref QuestSequence reference65 = ref CollectionsMarshal.AsSpan(list108)[0]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 0 - }; - num2 = 4; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - Span span34 = CollectionsMarshal.AsSpan(list109); - span34[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 759) - { - Aetheryte = EAetheryteLocation.DomanEnclave, - AetheryteShortcut = EAetheryteLocation.DomanEnclave, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span34[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 759) - { - AethernetShard = EAetheryteLocation.DomanEnclaveDocks - }; - span34[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 759) - { - AethernetShard = EAetheryteLocation.DomanEnclaveSouthern - }; - span34[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 759) - { - AethernetShard = EAetheryteLocation.DomanEnclaveNorthern - }; - obj57.Steps = list109; - reference65 = obj57; - questRoot22.QuestSequence = list108; - AddQuest(questId22, questRoot22); - SatisfactionSupplyNpcId questId23 = new SatisfactionSupplyNpcId(9); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - CollectionsMarshal.AsSpan(list110)[0] = "liza"; - questRoot23.Author = list110; - num = 2; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - Span span35 = CollectionsMarshal.AsSpan(list111); - ref QuestSequence reference66 = ref span35[0]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span36 = CollectionsMarshal.AsSpan(list112); - span36[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 816) - { - TargetClass = EExtendedClassJob.BlueMage - }; - span36[1] = new QuestStep(EInteractionType.Gather, null, null, 816); - ref QuestStep reference67 = ref span36[2]; - QuestStep obj59 = new QuestStep(EInteractionType.Interact, 1044547u, new Vector3(-241.68768f, 51.058994f, 620.8744f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - num3 = 1; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - CollectionsMarshal.AsSpan(list113)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/008/CtsSfsCharacter9_00815", - Prompt = new ExcelRef("TEXT_CTSSFSCHARACTER9_00815_TOPMENU_000_000"), - Answer = new ExcelRef("TEXT_CTSSFSCHARACTER9_00815_TOPMENU_000_001"), - AnswerIsRegularExpression = true - }; - obj59.DialogueChoices = list113; - reference67 = obj59; - obj58.Steps = list112; - reference66 = obj58; - ref QuestSequence reference68 = ref span35[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - ref QuestStep reference69 = ref CollectionsMarshal.AsSpan(list114)[0]; - QuestStep questStep14 = new QuestStep(EInteractionType.None, null, null, 635); - num3 = 1; - List list115 = new List(num3); - CollectionsMarshal.SetCount(list115, num3); - CollectionsMarshal.AsSpan(list115)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/008/CtsSfsCharacter9_00815", - Prompt = new ExcelRef("TEXT_CTSSFSCHARACTER9_00815_TOPMENU_000_000"), - Answer = new ExcelRef("TEXT_CTSSFSCHARACTER9_00815_TOPMENU_000_004") - }; - questStep14.DialogueChoices = list115; - reference69 = questStep14; - obj60.Steps = list114; - reference68 = obj60; - questRoot23.QuestSequence = list111; - AddQuest(questId23, questRoot23); - AethernetId questId24 = new AethernetId(10); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - CollectionsMarshal.AsSpan(list116)[0] = "WigglyMuffin"; - questRoot24.Author = list116; - num = 1; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - ref QuestSequence reference70 = ref CollectionsMarshal.AsSpan(list117)[0]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 0 - }; - num2 = 8; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - Span span37 = CollectionsMarshal.AsSpan(list118); - span37[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 819) - { - Aetheryte = EAetheryteLocation.Crystarium, - AetheryteShortcut = EAetheryteLocation.Crystarium, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span37[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 819) - { - AethernetShard = EAetheryteLocation.CrystariumCrystallineMean - }; - span37[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 819) - { - AethernetShard = EAetheryteLocation.CrystariumAmaroLaunch - }; - span37[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 819) - { - AethernetShard = EAetheryteLocation.CrystariumCabinetOfCuriosity, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumAmaroLaunch, - To = EAetheryteLocation.Crystarium - } - }; - span37[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 819) - { - AethernetShard = EAetheryteLocation.CrystariumMarkets, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumCabinetOfCuriosity, - To = EAetheryteLocation.Crystarium - } - }; - span37[5] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 819) - { - AethernetShard = EAetheryteLocation.CrystariumDossalGate, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumMarkets, - To = EAetheryteLocation.Crystarium - } - }; - span37[6] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 819) - { - AethernetShard = EAetheryteLocation.CrystariumPendants - }; - span37[7] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 819) - { - AethernetShard = EAetheryteLocation.CrystariumTemenosRookery, - AetheryteShortcut = EAetheryteLocation.Crystarium - }; - obj61.Steps = list118; - reference70 = obj61; - questRoot24.QuestSequence = list117; - AddQuest(questId24, questRoot24); - SatisfactionSupplyNpcId questId25 = new SatisfactionSupplyNpcId(10); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - CollectionsMarshal.AsSpan(list119)[0] = "liza"; - questRoot25.Author = list119; - num = 2; - List list120 = new List(num); - CollectionsMarshal.SetCount(list120, num); - Span span38 = CollectionsMarshal.AsSpan(list120); - ref QuestSequence reference71 = ref span38[0]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 0 - }; - num2 = 4; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - Span span39 = CollectionsMarshal.AsSpan(list121); - span39[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 956) - { - TargetClass = EExtendedClassJob.BlueMage - }; - span39[1] = new QuestStep(EInteractionType.Gather, null, null, 956); - span39[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-44.066154f, -29.530005f, -55.85129f), 956) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LabyrinthosSharlayanHamlet - }; - ref QuestStep reference72 = ref span39[3]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1046073u, new Vector3(-53.635498f, -29.497286f, -65.14081f), 956); - num3 = 1; - List list122 = new List(num3); - CollectionsMarshal.SetCount(list122, num3); - CollectionsMarshal.AsSpan(list122)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/008/CtsSfsCharacter10_00842", - Prompt = new ExcelRef("TEXT_CTSSFSCHARACTER10_00842_TOPMENU_000_000"), - Answer = new ExcelRef("TEXT_CTSSFSCHARACTER10_00842_TOPMENU_000_001"), - AnswerIsRegularExpression = true - }; - questStep15.DialogueChoices = list122; - reference72 = questStep15; - obj62.Steps = list121; - reference71 = obj62; - ref QuestSequence reference73 = ref span38[1]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - ref QuestStep reference74 = ref CollectionsMarshal.AsSpan(list123)[0]; - QuestStep questStep16 = new QuestStep(EInteractionType.None, null, null, 635); - num3 = 1; - List list124 = new List(num3); - CollectionsMarshal.SetCount(list124, num3); - CollectionsMarshal.AsSpan(list124)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/008/CtsSfsCharacter10_00842", - Prompt = new ExcelRef("TEXT_CTSSFSCHARACTER10_00842_TOPMENU_000_000"), - Answer = new ExcelRef("TEXT_CTSSFSCHARACTER10_00842_TOPMENU_000_004") - }; - questStep16.DialogueChoices = list124; - reference74 = questStep16; - obj63.Steps = list123; - reference73 = obj63; - questRoot25.QuestSequence = list120; - AddQuest(questId25, questRoot25); - AethernetId questId26 = new AethernetId(11); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list125 = new List(num); - CollectionsMarshal.SetCount(list125, num); - CollectionsMarshal.AsSpan(list125)[0] = "WigglyMuffin"; - questRoot26.Author = list125; - num = 1; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - ref QuestSequence reference75 = ref CollectionsMarshal.AsSpan(list126)[0]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 0 - }; - num2 = 5; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - Span span40 = CollectionsMarshal.AsSpan(list127); - span40[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 820) - { - Aetheryte = EAetheryteLocation.Eulmore, - AetheryteShortcut = EAetheryteLocation.Eulmore, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span40[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 820) - { - AethernetShard = EAetheryteLocation.EulmoreGloryGate - }; - span40[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 820) - { - AethernetShard = EAetheryteLocation.EulmoreMainstay - }; - span40[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 820) - { - AethernetShard = EAetheryteLocation.EulmoreSoutheastDerelict, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.EulmoreMainstay, - To = EAetheryteLocation.EulmoreGloryGate - } - }; - span40[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 820) - { - AethernetShard = EAetheryteLocation.EulmoreNightsoilPots - }; - obj64.Steps = list127; - reference75 = obj64; - questRoot26.QuestSequence = list126; - AddQuest(questId26, questRoot26); - SatisfactionSupplyNpcId questId27 = new SatisfactionSupplyNpcId(11); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - CollectionsMarshal.AsSpan(list128)[0] = "liza"; - questRoot27.Author = list128; - num = 2; - List list129 = new List(num); - CollectionsMarshal.SetCount(list129, num); - Span span41 = CollectionsMarshal.AsSpan(list129); - ref QuestSequence reference76 = ref span41[0]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - Span span42 = CollectionsMarshal.AsSpan(list130); - span42[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 962) - { - TargetClass = EExtendedClassJob.BlueMage - }; - span42[1] = new QuestStep(EInteractionType.Gather, null, null, 962); - ref QuestStep reference77 = ref span42[2]; - QuestStep obj66 = new QuestStep(EInteractionType.Interact, 1048605u, new Vector3(-358.38867f, 19.728025f, -105.02789f), 1190) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ShaaloaniShesheneweziSprings - }; - num3 = 1; - List list131 = new List(num3); - CollectionsMarshal.SetCount(list131, num3); - CollectionsMarshal.AsSpan(list131)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/009/CtsSfsCharacter11_00909", - Prompt = new ExcelRef("TEXT_CTSSFSCHARACTER11_00909_TOPMENU_000_000"), - Answer = new ExcelRef("TEXT_CTSSFSCHARACTER11_00909_TOPMENU_000_001"), - AnswerIsRegularExpression = true - }; - obj66.DialogueChoices = list131; - reference77 = obj66; - obj65.Steps = list130; - reference76 = obj65; - ref QuestSequence reference78 = ref span41[1]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - ref QuestStep reference79 = ref CollectionsMarshal.AsSpan(list132)[0]; - QuestStep questStep17 = new QuestStep(EInteractionType.None, null, null, 635); - num3 = 1; - List list133 = new List(num3); - CollectionsMarshal.SetCount(list133, num3); - CollectionsMarshal.AsSpan(list133)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/007/CtsSfsCharacter8_00773", - Prompt = new ExcelRef("TEXT_CTSSFSCHARACTER8_00773_TOPMENU_000_000"), - Answer = new ExcelRef("TEXT_CTSSFSCHARACTER8_00773_TOPMENU_000_004") - }; - questStep17.DialogueChoices = list133; - reference79 = questStep17; - obj67.Steps = list132; - reference78 = obj67; - questRoot27.QuestSequence = list129; - AddQuest(questId27, questRoot27); - AethernetId questId28 = new AethernetId(12); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list134 = new List(num); - CollectionsMarshal.SetCount(list134, num); - CollectionsMarshal.AsSpan(list134)[0] = "WigglyMuffin"; - questRoot28.Author = list134; - num = 1; - List list135 = new List(num); - CollectionsMarshal.SetCount(list135, num); - ref QuestSequence reference80 = ref CollectionsMarshal.AsSpan(list135)[0]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 0 - }; - num2 = 8; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - Span span43 = CollectionsMarshal.AsSpan(list136); - span43[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 962) - { - Aetheryte = EAetheryteLocation.OldSharlayan, - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span43[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 962) - { - AethernetShard = EAetheryteLocation.OldSharlayanScholarsHarbor - }; - span43[2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 962) - { - Aetheryte = EAetheryteLocation.OldSharlayan - }; - span43[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 962) - { - AethernetShard = EAetheryteLocation.OldSharlayanRostra - }; - span43[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 962) - { - AethernetShard = EAetheryteLocation.OldSharlayanLeveilleurEstate - }; - span43[5] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 962) - { - AethernetShard = EAetheryteLocation.OldSharlayanJourneysEnd - }; - span43[6] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 962) - { - AethernetShard = EAetheryteLocation.OldSharlayanBaldesionAnnex, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanJourneysEnd, - To = EAetheryteLocation.OldSharlayan - } - }; - span43[7] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 962) - { - AethernetShard = EAetheryteLocation.OldSharlayanStudium - }; - obj68.Steps = list136; - reference80 = obj68; - questRoot28.QuestSequence = list135; - AddQuest(questId28, questRoot28); - AethernetId questId29 = new AethernetId(13); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list137 = new List(num); - CollectionsMarshal.SetCount(list137, num); - CollectionsMarshal.AsSpan(list137)[0] = "WigglyMuffin"; - questRoot29.Author = list137; - num = 1; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - ref QuestSequence reference81 = ref CollectionsMarshal.AsSpan(list138)[0]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 0 - }; - num2 = 9; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - Span span44 = CollectionsMarshal.AsSpan(list139); - span44[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 963) - { - Aetheryte = EAetheryteLocation.RadzAtHan, - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span44[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 963) - { - AethernetShard = EAetheryteLocation.RadzAtHanAlzadaalsPeace - }; - span44[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 963) - { - AethernetShard = EAetheryteLocation.RadzAtHanAirship - }; - span44[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 963) - { - AethernetShard = EAetheryteLocation.RadzAtHanMeghaduta - }; - span44[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 963) - { - AethernetShard = EAetheryteLocation.RadzAtHanRuveydahFibers - }; - span44[5] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 963) - { - AethernetShard = EAetheryteLocation.RadzAtHanHighCrucible, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanRuveydahFibers, - To = EAetheryteLocation.RadzAtHan - } - }; - span44[6] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 963) - { - AethernetShard = EAetheryteLocation.RadzAtHanMehrydesMeyhane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanHighCrucible, - To = EAetheryteLocation.RadzAtHan - } - }; - span44[7] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 963) - { - AethernetShard = EAetheryteLocation.RadzAtHanKama, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanMehrydesMeyhane, - To = EAetheryteLocation.RadzAtHanRuveydahFibers - } - }; - span44[8] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 963) - { - AethernetShard = EAetheryteLocation.RadzAtHanHallOfTheRadiantHost, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanKama, - To = EAetheryteLocation.RadzAtHan - } - }; - obj69.Steps = list139; - reference81 = obj69; - questRoot29.QuestSequence = list138; - AddQuest(questId29, questRoot29); - AethernetId questId30 = new AethernetId(14); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list140 = new List(num); - CollectionsMarshal.SetCount(list140, num); - CollectionsMarshal.AsSpan(list140)[0] = "WigglyMuffin"; - questRoot30.Author = list140; - num = 1; - List list141 = new List(num); - CollectionsMarshal.SetCount(list141, num); - ref QuestSequence reference82 = ref CollectionsMarshal.AsSpan(list141)[0]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 0 - }; - num2 = 10; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - Span span45 = CollectionsMarshal.AsSpan(list142); - span45[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 1185) - { - Aetheryte = EAetheryteLocation.Tuliyollal, - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span45[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(9.706764f, -10.00001f, 38.266582f), 1185); - span45[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1185) - { - AethernetShard = EAetheryteLocation.TuliyollalBrightploomPost - }; - span45[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1185) - { - AethernetShard = EAetheryteLocation.TuliyollalTheResplendentQuarter, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalBrightploomPost, - To = EAetheryteLocation.Tuliyollal - } - }; - span45[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1185) - { - Comment = "Dirigible Landing", - AethernetShard = EAetheryteLocation.TuliyollalDirigibleLanding - }; - span45[5] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1185) - { - AethernetShard = EAetheryteLocation.TuliyollalTheForardCabins, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalDirigibleLanding, - To = EAetheryteLocation.TuliyollalTheResplendentQuarter - } - }; - span45[6] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1185) - { - AethernetShard = EAetheryteLocation.TuliyollalBaysideBevyMarketplace - }; - span45[7] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-68.179695f, 85.001854f, -56.396465f), 1185) - { - Comment = "Resplendent Quarter Lamp nav", - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalBaysideBevyMarketplace, - To = EAetheryteLocation.TuliyollalTheResplendentQuarter - } - }; - span45[8] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1185) - { - AethernetShard = EAetheryteLocation.TuliyollalVollokShoonsa - }; - span45[9] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1185) - { - AethernetShard = EAetheryteLocation.TuliyollalWachumeqimeqi, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalVollokShoonsa, - To = EAetheryteLocation.Tuliyollal - } - }; - obj70.Steps = list142; - reference82 = obj70; - questRoot30.QuestSequence = list141; - AddQuest(questId30, questRoot30); - AethernetId questId31 = new AethernetId(15); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - CollectionsMarshal.AsSpan(list143)[0] = "WigglyMuffin"; - questRoot31.Author = list143; - num = 1; - List list144 = new List(num); - CollectionsMarshal.SetCount(list144, num); - ref QuestSequence reference83 = ref CollectionsMarshal.AsSpan(list144)[0]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 0 - }; - num2 = 11; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - Span span46 = CollectionsMarshal.AsSpan(list145); - span46[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 1186) - { - DisableNavmesh = true, - Aetheryte = EAetheryteLocation.SolutionNine, - AetheryteShortcut = EAetheryteLocation.SolutionNine, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span46[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(0.08527276f, 7.785223f, 28.881784f), 1186) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(0.65641207f, 7.5087404f, 31.14436f), - MaximumDistance = 10f, - TerritoryId = 1186 - } - } - } - }; - span46[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1186) - { - AethernetShard = EAetheryteLocation.SolutionNineInformationCenter - }; - span46[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1186) - { - AethernetShard = EAetheryteLocation.SolutionNineNexusArcade, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineInformationCenter, - To = EAetheryteLocation.SolutionNine - } - }; - span46[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1186) - { - AethernetShard = EAetheryteLocation.SolutionNineResidentialSector - }; - span46[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(5.0530143f, 0.49999952f, -117.162285f), 1186) - { - RestartNavigationIfCancelled = false, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineResidentialSector, - To = EAetheryteLocation.SolutionNine - } - }; - span46[6] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1186) - { - AethernetShard = EAetheryteLocation.SolutionNineResolution - }; - span46[7] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(146.50943f, 0.5499997f, 4.953261f), 1186) - { - RestartNavigationIfCancelled = false, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineResolution, - To = EAetheryteLocation.SolutionNine - } - }; - span46[8] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1186) - { - AethernetShard = EAetheryteLocation.SolutionNineTrueVue - }; - span46[9] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1186) - { - AethernetShard = EAetheryteLocation.SolutionNineNeonStein - }; - span46[10] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1186) - { - AethernetShard = EAetheryteLocation.SolutionNineTheArcadion - }; - obj71.Steps = list145; - reference83 = obj71; - questRoot31.QuestSequence = list144; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(21); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list146 = new List(num); - CollectionsMarshal.SetCount(list146, num); - CollectionsMarshal.AsSpan(list146)[0] = "Cacahuetes"; - questRoot32.Author = list146; - num = 4; - List list147 = new List(num); - CollectionsMarshal.SetCount(list147, num); - Span span47 = CollectionsMarshal.AsSpan(list147); - ref QuestSequence reference84 = ref span47[0]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000197u, new Vector3(201.31226f, -3.1634123E-15f, 43.900146f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj72.Steps = list148; - reference84 = obj72; - ref QuestSequence reference85 = ref span47[1]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - ref QuestStep reference86 = ref CollectionsMarshal.AsSpan(list149)[0]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132); - num3 = 1; - List list150 = new List(num3); - CollectionsMarshal.SetCount(list150, num3); - CollectionsMarshal.AsSpan(list150)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSARC000_00021_Q1_000_1") - }; - questStep18.DialogueChoices = list150; - reference86 = questStep18; - obj73.Steps = list149; - reference85 = obj73; - ref QuestSequence reference87 = ref span47[2]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - Span span48 = CollectionsMarshal.AsSpan(list151); - ref QuestStep reference88 = ref span48[0]; - QuestStep obj75 = new QuestStep(EInteractionType.Combat, null, new Vector3(97.18397f, 17.128555f, -269.5008f), 148) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaArcher, - To = EAetheryteLocation.GridaniaBlueBadgerGate - }, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list152 = new List(num3); - CollectionsMarshal.SetCount(list152, num3); - ref ComplexCombatData reference89 = ref CollectionsMarshal.AsSpan(list152)[0]; - ComplexCombatData obj76 = new ComplexCombatData - { - DataId = 37u, - MinimumKillCount = 3u - }; - int num4 = 6; - List list153 = new List(num4); - CollectionsMarshal.SetCount(list153, num4); - Span span49 = CollectionsMarshal.AsSpan(list153); - span49[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = null; - obj76.CompletionQuestVariablesFlags = list153; - reference89 = obj76; - obj75.ComplexCombatData = list152; - num3 = 6; - List list154 = new List(num3); - CollectionsMarshal.SetCount(list154, num3); - Span span50 = CollectionsMarshal.AsSpan(list154); - span50[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span50[1] = null; - span50[2] = null; - span50[3] = null; - span50[4] = null; - span50[5] = null; - obj75.CompletionQuestVariablesFlags = list154; - reference88 = obj75; - ref QuestStep reference90 = ref span48[1]; - QuestStep obj77 = new QuestStep(EInteractionType.Combat, null, new Vector3(119.449745f, 17.399649f, -259.6467f), 148) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - ref ComplexCombatData reference91 = ref CollectionsMarshal.AsSpan(list155)[0]; - ComplexCombatData obj78 = new ComplexCombatData - { - DataId = 49u, - MinimumKillCount = 3u - }; - num4 = 6; - List list156 = new List(num4); - CollectionsMarshal.SetCount(list156, num4); - Span span51 = CollectionsMarshal.AsSpan(list156); - span51[0] = null; - span51[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span51[2] = null; - span51[3] = null; - span51[4] = null; - span51[5] = null; - obj78.CompletionQuestVariablesFlags = list156; - reference91 = obj78; - obj77.ComplexCombatData = list155; - num3 = 6; - List list157 = new List(num3); - CollectionsMarshal.SetCount(list157, num3); - Span span52 = CollectionsMarshal.AsSpan(list157); - span52[0] = null; - span52[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span52[2] = null; - span52[3] = null; - span52[4] = null; - span52[5] = null; - obj77.CompletionQuestVariablesFlags = list157; - reference90 = obj77; - ref QuestStep reference92 = ref span48[2]; - QuestStep obj79 = new QuestStep(EInteractionType.Combat, null, new Vector3(126.943115f, 2.910592f, -180.54787f), 148) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list158 = new List(num3); - CollectionsMarshal.SetCount(list158, num3); - ref ComplexCombatData reference93 = ref CollectionsMarshal.AsSpan(list158)[0]; - ComplexCombatData obj80 = new ComplexCombatData - { - DataId = 47u, - MinimumKillCount = 3u - }; - num4 = 6; - List list159 = new List(num4); - CollectionsMarshal.SetCount(list159, num4); - Span span53 = CollectionsMarshal.AsSpan(list159); - span53[0] = null; - span53[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = null; - obj80.CompletionQuestVariablesFlags = list159; - reference93 = obj80; - obj79.ComplexCombatData = list158; - num3 = 6; - List list160 = new List(num3); - CollectionsMarshal.SetCount(list160, num3); - Span span54 = CollectionsMarshal.AsSpan(list160); - span54[0] = null; - span54[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span54[2] = null; - span54[3] = null; - span54[4] = null; - span54[5] = null; - obj79.CompletionQuestVariablesFlags = list160; - reference92 = obj79; - obj74.Steps = list151; - reference87 = obj74; - ref QuestSequence reference94 = ref span47[3]; - QuestSequence obj81 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - NextQuestId = new QuestId(46) - }; - obj81.Steps = list161; - reference94 = obj81; - questRoot32.QuestSequence = list147; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(22); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list162 = new List(num); - CollectionsMarshal.SetCount(list162, num); - CollectionsMarshal.AsSpan(list162)[0] = "Cacahuetes"; - questRoot33.Author = list162; - num = 4; - List list163 = new List(num); - CollectionsMarshal.SetCount(list163, num); - Span span55 = CollectionsMarshal.AsSpan(list163); - ref QuestSequence reference95 = ref span55[0]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - ref QuestStep reference96 = ref CollectionsMarshal.AsSpan(list164)[0]; - QuestStep obj83 = new QuestStep(EInteractionType.AcceptQuest, 1000323u, new Vector3(-234.02765f, -4.0000043f, -11.093384f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipAetheryteCondition obj84 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list165 = new List(num3); - CollectionsMarshal.SetCount(list165, num3); - CollectionsMarshal.AsSpan(list165)[0] = 133; - obj84.InTerritory = list165; - skipConditions8.AetheryteShortcutIf = obj84; - obj83.SkipConditions = skipConditions8; - reference96 = obj83; - obj82.Steps = list164; - reference95 = obj82; - ref QuestSequence reference97 = ref span55[1]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - ref QuestStep reference98 = ref CollectionsMarshal.AsSpan(list166)[0]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133); - num3 = 1; - List list167 = new List(num3); - CollectionsMarshal.SetCount(list167, num3); - CollectionsMarshal.AsSpan(list167)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSCNJ000_00022_Q1_000_1") - }; - questStep19.DialogueChoices = list167; - reference98 = questStep19; - obj85.Steps = list166; - reference97 = obj85; - ref QuestSequence reference99 = ref span55[2]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - Span span56 = CollectionsMarshal.AsSpan(list168); - ref QuestStep reference100 = ref span56[0]; - QuestStep obj87 = new QuestStep(EInteractionType.Combat, null, new Vector3(97.18397f, 17.128555f, -269.5008f), 148) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaConjurer, - To = EAetheryteLocation.GridaniaBlueBadgerGate - }, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list169 = new List(num3); - CollectionsMarshal.SetCount(list169, num3); - ref ComplexCombatData reference101 = ref CollectionsMarshal.AsSpan(list169)[0]; - ComplexCombatData obj88 = new ComplexCombatData - { - DataId = 37u, - MinimumKillCount = 3u - }; - num4 = 6; - List list170 = new List(num4); - CollectionsMarshal.SetCount(list170, num4); - Span span57 = CollectionsMarshal.AsSpan(list170); - span57[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = null; - obj88.CompletionQuestVariablesFlags = list170; - reference101 = obj88; - obj87.ComplexCombatData = list169; - num3 = 6; - List list171 = new List(num3); - CollectionsMarshal.SetCount(list171, num3); - Span span58 = CollectionsMarshal.AsSpan(list171); - span58[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span58[1] = null; - span58[2] = null; - span58[3] = null; - span58[4] = null; - span58[5] = null; - obj87.CompletionQuestVariablesFlags = list171; - reference100 = obj87; - ref QuestStep reference102 = ref span56[1]; - QuestStep obj89 = new QuestStep(EInteractionType.Combat, null, new Vector3(119.449745f, 17.399649f, -259.6467f), 148) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list172 = new List(num3); - CollectionsMarshal.SetCount(list172, num3); - ref ComplexCombatData reference103 = ref CollectionsMarshal.AsSpan(list172)[0]; - ComplexCombatData obj90 = new ComplexCombatData - { - DataId = 49u, - MinimumKillCount = 3u - }; - num4 = 6; - List list173 = new List(num4); - CollectionsMarshal.SetCount(list173, num4); - Span span59 = CollectionsMarshal.AsSpan(list173); - span59[0] = null; - span59[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span59[2] = null; - span59[3] = null; - span59[4] = null; - span59[5] = null; - obj90.CompletionQuestVariablesFlags = list173; - reference103 = obj90; - obj89.ComplexCombatData = list172; - num3 = 6; - List list174 = new List(num3); - CollectionsMarshal.SetCount(list174, num3); - Span span60 = CollectionsMarshal.AsSpan(list174); - span60[0] = null; - span60[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span60[2] = null; - span60[3] = null; - span60[4] = null; - span60[5] = null; - obj89.CompletionQuestVariablesFlags = list174; - reference102 = obj89; - ref QuestStep reference104 = ref span56[2]; - QuestStep obj91 = new QuestStep(EInteractionType.Combat, null, new Vector3(126.943115f, 2.910592f, -180.54787f), 148) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list175 = new List(num3); - CollectionsMarshal.SetCount(list175, num3); - ref ComplexCombatData reference105 = ref CollectionsMarshal.AsSpan(list175)[0]; - ComplexCombatData obj92 = new ComplexCombatData - { - DataId = 47u, - MinimumKillCount = 3u - }; - num4 = 6; - List list176 = new List(num4); - CollectionsMarshal.SetCount(list176, num4); - Span span61 = CollectionsMarshal.AsSpan(list176); - span61[0] = null; - span61[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span61[2] = null; - span61[3] = null; - span61[4] = null; - span61[5] = null; - obj92.CompletionQuestVariablesFlags = list176; - reference105 = obj92; - obj91.ComplexCombatData = list175; - num3 = 6; - List list177 = new List(num3); - CollectionsMarshal.SetCount(list177, num3); - Span span62 = CollectionsMarshal.AsSpan(list177); - span62[0] = null; - span62[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span62[2] = null; - span62[3] = null; - span62[4] = null; - span62[5] = null; - obj91.CompletionQuestVariablesFlags = list177; - reference104 = obj91; - obj86.Steps = list168; - reference99 = obj86; - ref QuestSequence reference106 = ref span55[3]; - QuestSequence obj93 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - }, - NextQuestId = new QuestId(48) - }; - obj93.Steps = list178; - reference106 = obj93; - questRoot33.QuestSequence = list163; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(23); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list179 = new List(num); - CollectionsMarshal.SetCount(list179, num); - CollectionsMarshal.AsSpan(list179)[0] = "Cacahuetes"; - questRoot34.Author = list179; - num = 4; - List list180 = new List(num); - CollectionsMarshal.SetCount(list180, num); - Span span63 = CollectionsMarshal.AsSpan(list180); - ref QuestSequence reference107 = ref span63[0]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - ref QuestStep reference108 = ref CollectionsMarshal.AsSpan(list181)[0]; - QuestStep obj95 = new QuestStep(EInteractionType.AcceptQuest, 1000251u, new Vector3(147.08167f, 15.5f, -267.99426f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - } - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipAetheryteCondition obj96 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list182 = new List(num3); - CollectionsMarshal.SetCount(list182, num3); - CollectionsMarshal.AsSpan(list182)[0] = 132; - obj96.InTerritory = list182; - skipConditions9.AetheryteShortcutIf = obj96; - obj95.SkipConditions = skipConditions9; - reference108 = obj95; - obj94.Steps = list181; - reference107 = obj94; - ref QuestSequence reference109 = ref span63[1]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - ref QuestStep reference110 = ref CollectionsMarshal.AsSpan(list183)[0]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133); - num3 = 1; - List list184 = new List(num3); - CollectionsMarshal.SetCount(list184, num3); - CollectionsMarshal.AsSpan(list184)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSLNC000_00023_Q1_000_1") - }; - questStep20.DialogueChoices = list184; - reference110 = questStep20; - obj97.Steps = list183; - reference109 = obj97; - ref QuestSequence reference111 = ref span63[2]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - Span span64 = CollectionsMarshal.AsSpan(list185); - ref QuestStep reference112 = ref span64[0]; - QuestStep obj99 = new QuestStep(EInteractionType.Combat, null, new Vector3(97.18397f, 17.128555f, -269.5008f), 148) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLancer, - To = EAetheryteLocation.GridaniaBlueBadgerGate - }, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list186 = new List(num3); - CollectionsMarshal.SetCount(list186, num3); - ref ComplexCombatData reference113 = ref CollectionsMarshal.AsSpan(list186)[0]; - ComplexCombatData obj100 = new ComplexCombatData - { - DataId = 37u, - MinimumKillCount = 3u - }; - num4 = 6; - List list187 = new List(num4); - CollectionsMarshal.SetCount(list187, num4); - Span span65 = CollectionsMarshal.AsSpan(list187); - span65[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span65[1] = null; - span65[2] = null; - span65[3] = null; - span65[4] = null; - span65[5] = null; - obj100.CompletionQuestVariablesFlags = list187; - reference113 = obj100; - obj99.ComplexCombatData = list186; - num3 = 6; - List list188 = new List(num3); - CollectionsMarshal.SetCount(list188, num3); - Span span66 = CollectionsMarshal.AsSpan(list188); - span66[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span66[1] = null; - span66[2] = null; - span66[3] = null; - span66[4] = null; - span66[5] = null; - obj99.CompletionQuestVariablesFlags = list188; - reference112 = obj99; - ref QuestStep reference114 = ref span64[1]; - QuestStep obj101 = new QuestStep(EInteractionType.Combat, null, new Vector3(119.449745f, 17.399649f, -259.6467f), 148) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list189 = new List(num3); - CollectionsMarshal.SetCount(list189, num3); - ref ComplexCombatData reference115 = ref CollectionsMarshal.AsSpan(list189)[0]; - ComplexCombatData obj102 = new ComplexCombatData - { - DataId = 49u, - MinimumKillCount = 3u - }; - num4 = 6; - List list190 = new List(num4); - CollectionsMarshal.SetCount(list190, num4); - Span span67 = CollectionsMarshal.AsSpan(list190); - span67[0] = null; - span67[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span67[2] = null; - span67[3] = null; - span67[4] = null; - span67[5] = null; - obj102.CompletionQuestVariablesFlags = list190; - reference115 = obj102; - obj101.ComplexCombatData = list189; - num3 = 6; - List list191 = new List(num3); - CollectionsMarshal.SetCount(list191, num3); - Span span68 = CollectionsMarshal.AsSpan(list191); - span68[0] = null; - span68[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span68[2] = null; - span68[3] = null; - span68[4] = null; - span68[5] = null; - obj101.CompletionQuestVariablesFlags = list191; - reference114 = obj101; - ref QuestStep reference116 = ref span64[2]; - QuestStep obj103 = new QuestStep(EInteractionType.Combat, null, new Vector3(126.943115f, 2.910592f, -180.54787f), 148) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list192 = new List(num3); - CollectionsMarshal.SetCount(list192, num3); - ref ComplexCombatData reference117 = ref CollectionsMarshal.AsSpan(list192)[0]; - ComplexCombatData obj104 = new ComplexCombatData - { - DataId = 47u, - MinimumKillCount = 3u - }; - num4 = 6; - List list193 = new List(num4); - CollectionsMarshal.SetCount(list193, num4); - Span span69 = CollectionsMarshal.AsSpan(list193); - span69[0] = null; - span69[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span69[2] = null; - span69[3] = null; - span69[4] = null; - span69[5] = null; - obj104.CompletionQuestVariablesFlags = list193; - reference117 = obj104; - obj103.ComplexCombatData = list192; - num3 = 6; - List list194 = new List(num3); - CollectionsMarshal.SetCount(list194, num3); - Span span70 = CollectionsMarshal.AsSpan(list194); - span70[0] = null; - span70[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span70[2] = null; - span70[3] = null; - span70[4] = null; - span70[5] = null; - obj103.CompletionQuestVariablesFlags = list194; - reference116 = obj103; - obj98.Steps = list185; - reference111 = obj98; - ref QuestSequence reference118 = ref span63[3]; - QuestSequence obj105 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - }, - NextQuestId = new QuestId(47) - }; - obj105.Steps = list195; - reference118 = obj105; - questRoot34.QuestSequence = list180; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(24); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list196 = new List(num); - CollectionsMarshal.SetCount(list196, num); - CollectionsMarshal.AsSpan(list196)[0] = "liza"; - questRoot35.Author = list196; - num = 2; - List list197 = new List(num); - CollectionsMarshal.SetCount(list197, num); - Span span71 = CollectionsMarshal.AsSpan(list197); - ref QuestSequence reference119 = ref span71[0]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - CollectionsMarshal.AsSpan(list198)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000206u, new Vector3(193.59119f, -0.015319824f, 42.160645f), 132); - obj106.Steps = list198; - reference119 = obj106; - ref QuestSequence reference120 = ref span71[1]; - QuestSequence obj107 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - CollectionsMarshal.AsSpan(list199)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000233u, new Vector3(168.65796f, 15.5f, -95.99457f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaArcher, - To = EAetheryteLocation.GridaniaLeatherworker - } - }; - obj107.Steps = list199; - reference120 = obj107; - questRoot35.QuestSequence = list197; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(25); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list200 = new List(num); - CollectionsMarshal.SetCount(list200, num); - CollectionsMarshal.AsSpan(list200)[0] = "liza"; - questRoot36.Author = list200; - num = 3; - List list201 = new List(num); - CollectionsMarshal.SetCount(list201, num); - Span span72 = CollectionsMarshal.AsSpan(list201); - ref QuestSequence reference121 = ref span72[0]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000263u, new Vector3(141.55786f, 15.5f, -274.43353f), 133); - obj108.Steps = list202; - reference121 = obj108; - ref QuestSequence reference122 = ref span72[1]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - ref QuestStep reference123 = ref CollectionsMarshal.AsSpan(list203)[0]; - QuestStep obj110 = new QuestStep(EInteractionType.Combat, null, new Vector3(112.12561f, 16.504576f, -268.8553f), 148) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLancer, - To = EAetheryteLocation.GridaniaBlueBadgerGate - }, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list204 = new List(num3); - CollectionsMarshal.SetCount(list204, num3); - ref ComplexCombatData reference124 = ref CollectionsMarshal.AsSpan(list204)[0]; - ComplexCombatData obj111 = new ComplexCombatData - { - DataId = 37u, - MinimumKillCount = 6u - }; - num4 = 6; - List list205 = new List(num4); - CollectionsMarshal.SetCount(list205, num4); - Span span73 = CollectionsMarshal.AsSpan(list205); - span73[0] = new QuestWorkValue(null, (byte)6, EQuestWorkMode.Bitwise); - span73[1] = null; - span73[2] = null; - span73[3] = null; - span73[4] = null; - span73[5] = null; - obj111.CompletionQuestVariablesFlags = list205; - reference124 = obj111; - obj110.ComplexCombatData = list204; - reference123 = obj110; - obj109.Steps = list203; - reference122 = obj109; - ref QuestSequence reference125 = ref span72[2]; - QuestSequence obj112 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - Span span74 = CollectionsMarshal.AsSpan(list206); - span74[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(129.21268f, 25.16017f, -318.4288f), 148) - { - TargetTerritoryId = (ushort)132 - }; - span74[1] = new QuestStep(EInteractionType.CompleteQuest, 1000263u, new Vector3(141.55786f, 15.5f, -274.43353f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - } - }; - obj112.Steps = list206; - reference125 = obj112; - questRoot36.QuestSequence = list201; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(27); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - CollectionsMarshal.AsSpan(list207)[0] = "UcanPatates"; - questRoot37.Author = list207; - num = 3; - List list208 = new List(num); - CollectionsMarshal.SetCount(list208, num); - Span span75 = CollectionsMarshal.AsSpan(list208); - ref QuestSequence reference126 = ref span75[0]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000194u, new Vector3(-16.281433f, -3.2499998f, 41.000854f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj113.Steps = list209; - reference126 = obj113; - ref QuestSequence reference127 = ref span75[1]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - CollectionsMarshal.AsSpan(list210)[0] = new QuestStep(EInteractionType.Interact, 1000686u, new Vector3(-66.36151f, -3.896366f, 67.00232f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj114.Steps = list210; - reference127 = obj114; - ref QuestSequence reference128 = ref span75[2]; - QuestSequence obj115 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - ref QuestStep reference129 = ref CollectionsMarshal.AsSpan(list211)[0]; - QuestStep obj116 = new QuestStep(EInteractionType.CompleteQuest, 1000789u, new Vector3(-33.76825f, 7.3172073f, -117.052f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipAetheryteCondition obj117 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list212 = new List(num3); - CollectionsMarshal.SetCount(list212, num3); - CollectionsMarshal.AsSpan(list212)[0] = 132; - obj117.InTerritory = list212; - skipConditions10.AetheryteShortcutIf = obj117; - obj116.SkipConditions = skipConditions10; - reference129 = obj116; - obj115.Steps = list211; - reference128 = obj115; - questRoot37.QuestSequence = list208; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(28); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list213 = new List(num); - CollectionsMarshal.SetCount(list213, num); - CollectionsMarshal.AsSpan(list213)[0] = "liza"; - questRoot38.Author = list213; - num = 2; - List list214 = new List(num); - CollectionsMarshal.SetCount(list214, num); - Span span76 = CollectionsMarshal.AsSpan(list214); - ref QuestSequence reference130 = ref span76[0]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - ref QuestStep reference131 = ref CollectionsMarshal.AsSpan(list215)[0]; - QuestStep obj119 = new QuestStep(EInteractionType.AcceptQuest, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list216 = new List(num3); - CollectionsMarshal.SetCount(list216, num3); - CollectionsMarshal.AsSpan(list216)[0] = 132; - skipStepConditions.NotInTerritory = list216; - skipConditions11.StepIf = skipStepConditions; - obj119.SkipConditions = skipConditions11; - reference131 = obj119; - obj118.Steps = list215; - reference130 = obj118; - ref QuestSequence reference132 = ref span76[1]; - QuestSequence obj120 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - Span span77 = CollectionsMarshal.AsSpan(list217); - span77[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(158.06026f, -12.97808f, 158.08466f), 132) - { - TargetTerritoryId = (ushort)148 - }; - span77[1] = new QuestStep(EInteractionType.CompleteQuest, 1000421u, new Vector3(98.25281f, -8f, -78.446655f), 148); - obj120.Steps = list217; - reference132 = obj120; - questRoot38.QuestSequence = list214; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(33); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - CollectionsMarshal.AsSpan(list218)[0] = "liza"; - questRoot39.Author = list218; - num = 10; - List list219 = new List(num); - CollectionsMarshal.SetCount(list219, num); - Span span78 = CollectionsMarshal.AsSpan(list219); - ref QuestSequence reference133 = ref span78[0]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj121.Steps = list220; - reference133 = obj121; - ref QuestSequence reference134 = ref span78[1]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.Interact, 1009949u, new Vector3(-325.70386f, 7.228748f, -215.16754f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaBotanist - } - }; - obj122.Steps = list221; - reference134 = obj122; - ref QuestSequence reference135 = ref span78[2]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - CollectionsMarshal.AsSpan(list222)[0] = new QuestStep(EInteractionType.Interact, 1009952u, new Vector3(41.61133f, 1.8386029f, -117.265625f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaBotanist, - To = EAetheryteLocation.GridaniaLeatherworker - } - }; - obj123.Steps = list222; - reference135 = obj123; - ref QuestSequence reference136 = ref span78[3]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - Span span79 = CollectionsMarshal.AsSpan(list223); - ref QuestStep reference137 = ref span79[0]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1000768u, new Vector3(172.35059f, 15.5f, -89.951965f), 133); - num3 = 6; - List list224 = new List(num3); - CollectionsMarshal.SetCount(list224, num3); - Span span80 = CollectionsMarshal.AsSpan(list224); - span80[0] = null; - span80[1] = null; - span80[2] = null; - span80[3] = null; - span80[4] = null; - span80[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep21.CompletionQuestVariablesFlags = list224; - reference137 = questStep21; - ref QuestStep reference138 = ref span79[1]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1000227u, new Vector3(168.62744f, 15.699999f, -65.690125f), 133); - num3 = 6; - List list225 = new List(num3); - CollectionsMarshal.SetCount(list225, num3); - Span span81 = CollectionsMarshal.AsSpan(list225); - span81[0] = null; - span81[1] = null; - span81[2] = null; - span81[3] = null; - span81[4] = null; - span81[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep22.CompletionQuestVariablesFlags = list225; - reference138 = questStep22; - ref QuestStep reference139 = ref span79[2]; - QuestStep obj125 = new QuestStep(EInteractionType.Interact, 1000228u, new Vector3(168.20007f, 15.69998f, -64.83563f), 133) - { - StopDistance = 5f - }; - num3 = 6; - List list226 = new List(num3); - CollectionsMarshal.SetCount(list226, num3); - Span span82 = CollectionsMarshal.AsSpan(list226); - span82[0] = null; - span82[1] = null; - span82[2] = null; - span82[3] = null; - span82[4] = null; - span82[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj125.CompletionQuestVariablesFlags = list226; - reference139 = obj125; - obj124.Steps = list223; - reference136 = obj124; - ref QuestSequence reference140 = ref span78[4]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.Interact, 1009952u, new Vector3(41.61133f, 1.8386029f, -117.265625f), 133); - obj126.Steps = list227; - reference140 = obj126; - ref QuestSequence reference141 = ref span78[5]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.Interact, 1000243u, new Vector3(170.03125f, 15.699999f, -127.03143f), 133); - obj127.Steps = list228; - reference141 = obj127; - ref QuestSequence reference142 = ref span78[6]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.Interact, 1009952u, new Vector3(41.61133f, 1.8386029f, -117.265625f), 133); - obj128.Steps = list229; - reference142 = obj128; - ref QuestSequence reference143 = ref span78[7]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - ref QuestStep reference144 = ref CollectionsMarshal.AsSpan(list230)[0]; - QuestStep obj130 = new QuestStep(EInteractionType.Combat, null, new Vector3(-374.96555f, 63.686344f, -206.74146f), 148) - { - StopDistance = 0.5f, - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLeatherworker, - To = EAetheryteLocation.GridaniaWhiteWolfGate - }, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list231 = new List(num3); - CollectionsMarshal.SetCount(list231, num3); - CollectionsMarshal.AsSpan(list231)[0] = 2863u; - obj130.KillEnemyDataIds = list231; - reference144 = obj130; - obj129.Steps = list230; - reference143 = obj129; - ref QuestSequence reference145 = ref span78[8]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.Interact, 1001276u, new Vector3(13.961914f, 0.1373291f, 2.090454f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj131.Steps = list232; - reference145 = obj131; - ref QuestSequence reference146 = ref span78[9]; - QuestSequence obj132 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - CollectionsMarshal.AsSpan(list233)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009953u, new Vector3(31.5708f, -19.000002f, 100.48059f), 132) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAirship - }, - NextQuestId = new QuestId(36) - }; - obj132.Steps = list233; - reference146 = obj132; - questRoot39.QuestSequence = list219; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(35); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list234 = new List(num); - CollectionsMarshal.SetCount(list234, num); - CollectionsMarshal.AsSpan(list234)[0] = "Cacahuetes"; - questRoot40.Author = list234; - num = 4; - List list235 = new List(num); - CollectionsMarshal.SetCount(list235, num); - Span span83 = CollectionsMarshal.AsSpan(list235); - ref QuestSequence reference147 = ref span83[0]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - ref QuestStep reference148 = ref CollectionsMarshal.AsSpan(list236)[0]; - QuestStep obj134 = new QuestStep(EInteractionType.AcceptQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - } - }; - SkipConditions skipConditions12 = new SkipConditions(); - SkipAetheryteCondition obj135 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list237 = new List(num3); - CollectionsMarshal.SetCount(list237, num3); - CollectionsMarshal.AsSpan(list237)[0] = 133; - obj135.InTerritory = list237; - skipConditions12.AetheryteShortcutIf = obj135; - obj134.SkipConditions = skipConditions12; - reference148 = obj134; - obj133.Steps = list236; - reference147 = obj133; - ref QuestSequence reference149 = ref span83[1]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - Span span84 = CollectionsMarshal.AsSpan(list238); - span84[0] = new QuestStep(EInteractionType.Combat, null, new Vector3(502.843f, 43.200996f, -32.464188f), 148) - { - StopDistance = 0.5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLancer, - To = EAetheryteLocation.GridaniaBlueBadgerGate - }, - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - ref QuestStep reference150 = ref span84[1]; - QuestStep obj137 = new QuestStep(EInteractionType.Combat, 142u, new Vector3(514.06104f, 44.169823f, -42.008118f), 148) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list239 = new List(num3); - CollectionsMarshal.SetCount(list239, num3); - CollectionsMarshal.AsSpan(list239)[0] = 142u; - obj137.KillEnemyDataIds = list239; - num3 = 6; - List list240 = new List(num3); - CollectionsMarshal.SetCount(list240, num3); - Span span85 = CollectionsMarshal.AsSpan(list240); - span85[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span85[1] = null; - span85[2] = null; - span85[3] = null; - span85[4] = null; - span85[5] = null; - obj137.CompletionQuestVariablesFlags = list240; - reference150 = obj137; - span84[2] = new QuestStep(EInteractionType.Interact, 2000966u, new Vector3(514.8546f, 43.778076f, -48.66101f), 148); - obj136.Steps = list238; - reference149 = obj136; - ref QuestSequence reference151 = ref span83[2]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - Span span86 = CollectionsMarshal.AsSpan(list241); - ref QuestStep reference152 = ref span86[0]; - QuestStep obj139 = new QuestStep(EInteractionType.Combat, null, new Vector3(211.82294f, 23.458103f, 157.57333f), 148) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list242 = new List(num3); - CollectionsMarshal.SetCount(list242, num3); - CollectionsMarshal.AsSpan(list242)[0] = 21u; - obj139.KillEnemyDataIds = list242; - num3 = 6; - List list243 = new List(num3); - CollectionsMarshal.SetCount(list243, num3); - Span span87 = CollectionsMarshal.AsSpan(list243); - span87[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span87[1] = null; - span87[2] = null; - span87[3] = null; - span87[4] = null; - span87[5] = null; - obj139.CompletionQuestVariablesFlags = list243; - reference152 = obj139; - span86[1] = new QuestStep(EInteractionType.Interact, 2000917u, new Vector3(215.99133f, 23.5141f, 153.1853f), 148); - obj138.Steps = list241; - reference151 = obj138; - ref QuestSequence reference153 = ref span83[3]; - QuestSequence obj140 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - }, - NextQuestId = new QuestId(55) - }; - obj140.Steps = list244; - reference153 = obj140; - questRoot40.QuestSequence = list235; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(36); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list245 = new List(num); - CollectionsMarshal.SetCount(list245, num); - CollectionsMarshal.AsSpan(list245)[0] = "liza"; - questRoot41.Author = list245; - num = 9; - List list246 = new List(num); - CollectionsMarshal.SetCount(list246, num); - Span span88 = CollectionsMarshal.AsSpan(list246); - ref QuestSequence reference154 = ref span88[0]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj141.Steps = list247; - reference154 = obj141; - ref QuestSequence reference155 = ref span88[1]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.Interact, 1009781u, new Vector3(-89.829956f, 5.2000036f, 45.426025f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - obj142.Steps = list248; - reference155 = obj142; - ref QuestSequence reference156 = ref span88[2]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - Span span89 = CollectionsMarshal.AsSpan(list249); - ref QuestStep reference157 = ref span89[0]; - QuestStep obj144 = new QuestStep(EInteractionType.UseItem, 2004614u, new Vector3(-80.76605f, 8.895996f, -16.739136f), 131) - { - IgnoreDistanceToObject = true, - ItemId = 2001459u - }; - num3 = 6; - List list250 = new List(num3); - CollectionsMarshal.SetCount(list250, num3); - Span span90 = CollectionsMarshal.AsSpan(list250); - span90[0] = null; - span90[1] = null; - span90[2] = null; - span90[3] = null; - span90[4] = null; - span90[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj144.CompletionQuestVariablesFlags = list250; - reference157 = obj144; - ref QuestStep reference158 = ref span89[1]; - QuestStep obj145 = new QuestStep(EInteractionType.UseItem, 2004616u, new Vector3(-98.1308f, 8.987488f, -16.617126f), 131) - { - IgnoreDistanceToObject = true, - ItemId = 2001459u - }; - num3 = 6; - List list251 = new List(num3); - CollectionsMarshal.SetCount(list251, num3); - Span span91 = CollectionsMarshal.AsSpan(list251); - span91[0] = null; - span91[1] = null; - span91[2] = null; - span91[3] = null; - span91[4] = null; - span91[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj145.CompletionQuestVariablesFlags = list251; - reference158 = obj145; - span89[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-113.42244f, 7.9935846f, -8.936225f), 131); - ref QuestStep reference159 = ref span89[3]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1001859u, new Vector3(-142.71765f, 11.999999f, -15.610046f), 130); - num3 = 6; - List list252 = new List(num3); - CollectionsMarshal.SetCount(list252, num3); - Span span92 = CollectionsMarshal.AsSpan(list252); - span92[0] = null; - span92[1] = null; - span92[2] = null; - span92[3] = null; - span92[4] = null; - span92[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list252; - reference159 = questStep23; - ref QuestStep reference160 = ref span89[4]; - QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 1009789u, new Vector3(-159.68573f, 12.596368f, 0.869751f), 130); - num3 = 6; - List list253 = new List(num3); - CollectionsMarshal.SetCount(list253, num3); - Span span93 = CollectionsMarshal.AsSpan(list253); - span93[0] = null; - span93[1] = null; - span93[2] = null; - span93[3] = null; - span93[4] = null; - span93[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep24.CompletionQuestVariablesFlags = list253; - reference160 = questStep24; - obj143.Steps = list249; - reference156 = obj143; - ref QuestSequence reference161 = ref span88[3]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - Span span94 = CollectionsMarshal.AsSpan(list254); - span94[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-117.18245f, 9.232903f, 9.133285f), 130); - span94[1] = new QuestStep(EInteractionType.Interact, 1009785u, new Vector3(-88.15143f, 5.200004f, 45.303955f), 131); - obj146.Steps = list254; - reference161 = obj146; - ref QuestSequence reference162 = ref span88[4]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - CollectionsMarshal.AsSpan(list255)[0] = new QuestStep(EInteractionType.Emote, 1001675u, new Vector3(-89.49426f, 7.008118f, 10.849121f), 131) - { - Emote = EEmote.Welcome - }; - obj147.Steps = list255; - reference162 = obj147; - ref QuestSequence reference163 = ref span88[5]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - Span span95 = CollectionsMarshal.AsSpan(list256); - span95[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-112.38632f, 7.6503563f, 9.034383f), 131); - span95[1] = new QuestStep(EInteractionType.Interact, 1009792u, new Vector3(-135.36285f, 10.9999895f, 0.015197754f), 130); - obj148.Steps = list256; - reference163 = obj148; - ref QuestSequence reference164 = ref span88[6]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.Interact, 1009791u, new Vector3(-13.778931f, 3.9999998f, -151.4458f), 130); - obj149.Steps = list257; - reference164 = obj149; - ref QuestSequence reference165 = ref span88[7]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - Span span96 = CollectionsMarshal.AsSpan(list258); - span96[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(44.151344f, 4.0195827f, -165.77715f), 130); - ref QuestStep reference166 = ref span96[1]; - QuestStep obj151 = new QuestStep(EInteractionType.Combat, null, new Vector3(-172.42809f, 16.059729f, 276.30084f), 141) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list259 = new List(num3); - CollectionsMarshal.SetCount(list259, num3); - Span span97 = CollectionsMarshal.AsSpan(list259); - span97[0] = 2853u; - span97[1] = 3120u; - obj151.KillEnemyDataIds = list259; - reference166 = obj151; - obj150.Steps = list258; - reference165 = obj150; - ref QuestSequence reference167 = ref span88[8]; - QuestSequence obj152 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009794u, new Vector3(-174.45642f, 16.149345f, 275.6847f), 141) - { - NextQuestId = new QuestId(1573) - }; - obj152.Steps = list260; - reference167 = obj152; - questRoot41.QuestSequence = list246; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(38); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list261 = new List(num); - CollectionsMarshal.SetCount(list261, num); - CollectionsMarshal.AsSpan(list261)[0] = "liza"; - questRoot42.Author = list261; - num = 3; - List list262 = new List(num); - CollectionsMarshal.SetCount(list262, num); - Span span98 = CollectionsMarshal.AsSpan(list262); - ref QuestSequence reference168 = ref span98[0]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - CollectionsMarshal.AsSpan(list263)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000768u, new Vector3(172.35059f, 15.5f, -89.951965f), 133); - obj153.Steps = list263; - reference168 = obj153; - ref QuestSequence reference169 = ref span98[1]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - Span span99 = CollectionsMarshal.AsSpan(list264); - ref QuestStep reference170 = ref span99[0]; - QuestStep questStep25 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(157.92119f, 15.700001f, -122.177925f), 133); - SkipConditions skipConditions13 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list265 = new List(num3); - CollectionsMarshal.SetCount(list265, num3); - Span span100 = CollectionsMarshal.AsSpan(list265); - span100[0] = null; - span100[1] = null; - span100[2] = null; - span100[3] = null; - span100[4] = null; - span100[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list265; - skipConditions13.StepIf = skipStepConditions2; - questStep25.SkipConditions = skipConditions13; - reference170 = questStep25; - ref QuestStep reference171 = ref span99[1]; - QuestStep questStep26 = new QuestStep(EInteractionType.Interact, 1000238u, new Vector3(155.41309f, 15.700001f, -121.812805f), 133); - num3 = 6; - List list266 = new List(num3); - CollectionsMarshal.SetCount(list266, num3); - Span span101 = CollectionsMarshal.AsSpan(list266); - span101[0] = null; - span101[1] = null; - span101[2] = null; - span101[3] = null; - span101[4] = null; - span101[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep26.CompletionQuestVariablesFlags = list266; - reference171 = questStep26; - ref QuestStep reference172 = ref span99[2]; - QuestStep questStep27 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(162.74281f, 15.699926f, -59.43834f), 133); - SkipConditions skipConditions14 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list267 = new List(num3); - CollectionsMarshal.SetCount(list267, num3); - Span span102 = CollectionsMarshal.AsSpan(list267); - span102[0] = null; - span102[1] = null; - span102[2] = null; - span102[3] = null; - span102[4] = null; - span102[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list267; - skipConditions14.StepIf = skipStepConditions3; - questStep27.SkipConditions = skipConditions14; - reference172 = questStep27; - ref QuestStep reference173 = ref span99[3]; - QuestStep questStep28 = new QuestStep(EInteractionType.Interact, 1000218u, new Vector3(164.72107f, 15.699947f, -58.18268f), 133); - num3 = 6; - List list268 = new List(num3); - CollectionsMarshal.SetCount(list268, num3); - Span span103 = CollectionsMarshal.AsSpan(list268); - span103[0] = null; - span103[1] = null; - span103[2] = null; - span103[3] = null; - span103[4] = null; - span103[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep28.CompletionQuestVariablesFlags = list268; - reference173 = questStep28; - ref QuestStep reference174 = ref span99[4]; - QuestStep obj155 = new QuestStep(EInteractionType.Interact, 1000214u, new Vector3(151.4762f, 15.699964f, -63.920105f), 133) - { - StopDistance = 5f - }; - num3 = 6; - List list269 = new List(num3); - CollectionsMarshal.SetCount(list269, num3); - Span span104 = CollectionsMarshal.AsSpan(list269); - span104[0] = null; - span104[1] = null; - span104[2] = null; - span104[3] = null; - span104[4] = null; - span104[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj155.CompletionQuestVariablesFlags = list269; - reference174 = obj155; - obj154.Steps = list264; - reference169 = obj154; - ref QuestSequence reference175 = ref span98[2]; - QuestSequence obj156 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - CollectionsMarshal.AsSpan(list270)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000248u, new Vector3(143.05322f, 14.250365f, -250.72101f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLeatherworker, - To = EAetheryteLocation.GridaniaLancer - } - }; - obj156.Steps = list270; - reference175 = obj156; - questRoot42.QuestSequence = list262; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(39); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list271 = new List(num); - CollectionsMarshal.SetCount(list271, num); - CollectionsMarshal.AsSpan(list271)[0] = "liza"; - questRoot43.Author = list271; - num = 2; - List list272 = new List(num); - CollectionsMarshal.SetCount(list272, num); - Span span105 = CollectionsMarshal.AsSpan(list272); - ref QuestSequence reference176 = ref span105[0]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - ref QuestStep reference177 = ref CollectionsMarshal.AsSpan(list273)[0]; - QuestStep questStep29 = new QuestStep(EInteractionType.AcceptQuest, 1001148u, new Vector3(117.112915f, -12.506256f, 143.63306f), 183); - num3 = 1; - List list274 = new List(num3); - CollectionsMarshal.SetCount(list274, num3); - CollectionsMarshal.AsSpan(list274)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "opening/OpeningGridania", - Prompt = new ExcelRef("TEXT_OPENINGGRIDANIA_FST_SYSTEM_Q_01"), - Answer = new ExcelRef("TEXT_OPENINGGRIDANIA_FST_SYSTEM_A_01") - }; - questStep29.DialogueChoices = list274; - reference177 = questStep29; - obj157.Steps = list273; - reference176 = obj157; - ref QuestSequence reference178 = ref span105[1]; - QuestSequence obj158 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001140u, new Vector3(23.788818f, -8f, 115.861694f), 183); - obj158.Steps = list275; - reference178 = obj158; - questRoot43.QuestSequence = list272; - AddQuest(questId43, questRoot43); - QuestId questId44 = new QuestId(42); - QuestRoot questRoot44 = new QuestRoot(); - num = 1; - List list276 = new List(num); - CollectionsMarshal.SetCount(list276, num); - CollectionsMarshal.AsSpan(list276)[0] = "liza"; - questRoot44.Author = list276; - num = 3; - List list277 = new List(num); - CollectionsMarshal.SetCount(list277, num); - Span span106 = CollectionsMarshal.AsSpan(list277); - ref QuestSequence reference179 = ref span106[0]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - CollectionsMarshal.AsSpan(list278)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000286u, new Vector3(-53.574463f, 7.2025366f, -118.36426f), 133); - obj159.Steps = list278; - reference179 = obj159; - ref QuestSequence reference180 = ref span106[1]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - Span span107 = CollectionsMarshal.AsSpan(list279); - ref QuestStep reference181 = ref span107[0]; - QuestStep questStep30 = new QuestStep(EInteractionType.Interact, 2000022u, new Vector3(-52.71997f, 6.7596436f, -109.9718f), 133); - num3 = 6; - List list280 = new List(num3); - CollectionsMarshal.SetCount(list280, num3); - Span span108 = CollectionsMarshal.AsSpan(list280); - span108[0] = null; - span108[1] = null; - span108[2] = null; - span108[3] = null; - span108[4] = null; - span108[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep30.CompletionQuestVariablesFlags = list280; - reference181 = questStep30; - ref QuestStep reference182 = ref span107[1]; - QuestStep questStep31 = new QuestStep(EInteractionType.Interact, 2000020u, new Vector3(-63.09613f, 6.94281f, -110.85681f), 133); - num3 = 6; - List list281 = new List(num3); - CollectionsMarshal.SetCount(list281, num3); - Span span109 = CollectionsMarshal.AsSpan(list281); - span109[0] = null; - span109[1] = null; - span109[2] = null; - span109[3] = null; - span109[4] = null; - span109[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep31.CompletionQuestVariablesFlags = list281; - reference182 = questStep31; - ref QuestStep reference183 = ref span107[2]; - QuestStep questStep32 = new QuestStep(EInteractionType.Interact, 2000021u, new Vector3(-37.979797f, 5.996765f, -101.76245f), 133); - num3 = 6; - List list282 = new List(num3); - CollectionsMarshal.SetCount(list282, num3); - Span span110 = CollectionsMarshal.AsSpan(list282); - span110[0] = null; - span110[1] = null; - span110[2] = null; - span110[3] = null; - span110[4] = null; - span110[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep32.CompletionQuestVariablesFlags = list282; - reference183 = questStep32; - ref QuestStep reference184 = ref span107[3]; - QuestStep questStep33 = new QuestStep(EInteractionType.Interact, 2000025u, new Vector3(-47.80658f, 5.722107f, -99.4126f), 133); - num3 = 6; - List list283 = new List(num3); - CollectionsMarshal.SetCount(list283, num3); - Span span111 = CollectionsMarshal.AsSpan(list283); - span111[0] = null; - span111[1] = null; - span111[2] = null; - span111[3] = null; - span111[4] = null; - span111[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - questStep33.CompletionQuestVariablesFlags = list283; - reference184 = questStep33; - ref QuestStep reference185 = ref span107[4]; - QuestStep questStep34 = new QuestStep(EInteractionType.Interact, 2000024u, new Vector3(-53.75763f, 6.4850464f, -89.52472f), 133); - num3 = 6; - List list284 = new List(num3); - CollectionsMarshal.SetCount(list284, num3); - Span span112 = CollectionsMarshal.AsSpan(list284); - span112[0] = null; - span112[1] = null; - span112[2] = null; - span112[3] = null; - span112[4] = null; - span112[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep34.CompletionQuestVariablesFlags = list284; - reference185 = questStep34; - ref QuestStep reference186 = ref span107[5]; - QuestStep questStep35 = new QuestStep(EInteractionType.Interact, 2000023u, new Vector3(-43.808716f, 6.4850464f, -85.80151f), 133); - num3 = 6; - List list285 = new List(num3); - CollectionsMarshal.SetCount(list285, num3); - Span span113 = CollectionsMarshal.AsSpan(list285); - span113[0] = null; - span113[1] = null; - span113[2] = null; - span113[3] = null; - span113[4] = null; - span113[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep35.CompletionQuestVariablesFlags = list285; - reference186 = questStep35; - obj160.Steps = list279; - reference180 = obj160; - ref QuestSequence reference187 = ref span106[2]; - QuestSequence obj161 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - CollectionsMarshal.AsSpan(list286)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000286u, new Vector3(-53.574463f, 7.2025366f, -118.36426f), 133); - obj161.Steps = list286; - reference187 = obj161; - questRoot44.QuestSequence = list277; - AddQuest(questId44, questRoot44); - QuestId questId45 = new QuestId(43); - QuestRoot questRoot45 = new QuestRoot(); - num = 1; - List list287 = new List(num); - CollectionsMarshal.SetCount(list287, num); - CollectionsMarshal.AsSpan(list287)[0] = "liza"; - questRoot45.Author = list287; - questRoot45.Comment = "Only Turn 13 is required for the next quest to unlock"; - num = 6; - List list288 = new List(num); - CollectionsMarshal.SetCount(list288, num); - Span span114 = CollectionsMarshal.AsSpan(list288); - ref QuestSequence reference188 = ref span114[0]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 0 - }; - num2 = 4; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - Span span115 = CollectionsMarshal.AsSpan(list289); - ref QuestStep reference189 = ref span115[0]; - QuestStep obj163 = new QuestStep(EInteractionType.UseItem, null, null, 132) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - SkipConditions skipConditions15 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 2; - List list290 = new List(num3); - CollectionsMarshal.SetCount(list290, num3); - Span span116 = CollectionsMarshal.AsSpan(list290); - span116[0] = 140; - span116[1] = 212; - skipStepConditions4.InTerritory = list290; - skipConditions15.StepIf = skipStepConditions4; - obj163.SkipConditions = skipConditions15; - reference189 = obj163; - ref QuestStep reference190 = ref span115[1]; - QuestStep questStep36 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - SkipConditions skipConditions16 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 1; - List list291 = new List(num3); - CollectionsMarshal.SetCount(list291, num3); - CollectionsMarshal.AsSpan(list291)[0] = 212; - skipStepConditions5.InTerritory = list291; - skipConditions16.StepIf = skipStepConditions5; - questStep36.SkipConditions = skipConditions16; - reference190 = questStep36; - ref QuestStep reference191 = ref span115[2]; - QuestStep obj164 = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - SkipConditions skipConditions17 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 1; - List list292 = new List(num3); - CollectionsMarshal.SetCount(list292, num3); - CollectionsMarshal.AsSpan(list292)[0] = 212; - skipStepConditions6.InTerritory = list292; - skipConditions17.StepIf = skipStepConditions6; - obj164.SkipConditions = skipConditions17; - reference191 = obj164; - span115[3] = new QuestStep(EInteractionType.AcceptQuest, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212); - obj162.Steps = list289; - reference188 = obj162; - ref QuestSequence reference192 = ref span114[1]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - Span span117 = CollectionsMarshal.AsSpan(list293); - span117[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(430.20032f, 3.6547468f, 168.62611f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - span117[1] = new QuestStep(EInteractionType.Interact, 1009769u, new Vector3(430.6858f, 3.26411f, 171.58765f), 145) - { - StopDistance = 5f - }; - obj165.Steps = list293; - reference192 = obj165; - ref QuestSequence reference193 = ref span114[2]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - CollectionsMarshal.AsSpan(list294)[0] = new QuestStep(EInteractionType.Interact, 1009770u, new Vector3(469.5963f, -3.4332886f, -781.1856f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj166.Steps = list294; - reference193 = obj166; - ref QuestSequence reference194 = ref span114[3]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - CollectionsMarshal.AsSpan(list295)[0] = new QuestStep(EInteractionType.Interact, 1009771u, new Vector3(-71.61066f, 48.96479f, -52.048523f), 147) - { - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCeruleumProcessingPlant - }; - obj167.Steps = list295; - reference194 = obj167; - ref QuestSequence reference195 = ref span114[4]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - Span span118 = CollectionsMarshal.AsSpan(list296); - span118[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-67.2906f, 71.11877f, -189.74506f), 147) - { - Fly = true - }; - span118[1] = new QuestStep(EInteractionType.Interact, 1009772u, new Vector3(-67.12445f, 71.293205f, -190.96667f), 147); - obj168.Steps = list296; - reference195 = obj168; - ref QuestSequence reference196 = ref span114[5]; - QuestSequence obj169 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - CollectionsMarshal.AsSpan(list297)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009768u, new Vector3(-103.868225f, 51.873333f, -58.365784f), 147) - { - Fly = true, - NextQuestId = new QuestId(44) - }; - obj169.Steps = list297; - reference196 = obj169; - questRoot45.QuestSequence = list288; - AddQuest(questId45, questRoot45); - QuestId questId46 = new QuestId(44); - QuestRoot questRoot46 = new QuestRoot(); - num = 1; - List list298 = new List(num); - CollectionsMarshal.SetCount(list298, num); - CollectionsMarshal.AsSpan(list298)[0] = "liza"; - questRoot46.Author = list298; - num = 2; - List list299 = new List(num); - CollectionsMarshal.SetCount(list299, num); - Span span119 = CollectionsMarshal.AsSpan(list299); - ref QuestSequence reference197 = ref span119[0]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - ref QuestStep reference198 = ref CollectionsMarshal.AsSpan(list300)[0]; - QuestStep obj171 = new QuestStep(EInteractionType.AcceptQuest, 1009777u, new Vector3(-59.983215f, 76.798584f, -204.0589f), 147) - { - StopDistance = 1f, - Fly = true - }; - num3 = 1; - List list301 = new List(num3); - CollectionsMarshal.SetCount(list301, num3); - CollectionsMarshal.AsSpan(list301)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_GAIUSD502_00044_Q1_000_000"), - Yes = false - }; - obj171.DialogueChoices = list301; - reference198 = obj171; - obj170.Steps = list300; - reference197 = obj170; - ref QuestSequence reference199 = ref span119[1]; - QuestSequence obj172 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list302 = new List(num2); - CollectionsMarshal.SetCount(list302, num2); - CollectionsMarshal.AsSpan(list302)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009771u, new Vector3(-71.61066f, 48.96479f, -52.048523f), 147) - { - Fly = true - }; - obj172.Steps = list302; - reference199 = obj172; - questRoot46.QuestSequence = list299; - AddQuest(questId46, questRoot46); - QuestId questId47 = new QuestId(45); - QuestRoot questRoot47 = new QuestRoot(); - num = 1; - List list303 = new List(num); - CollectionsMarshal.SetCount(list303, num); - CollectionsMarshal.AsSpan(list303)[0] = "liza"; - questRoot47.Author = list303; - num = 8; - List list304 = new List(num); - CollectionsMarshal.SetCount(list304, num); - Span span120 = CollectionsMarshal.AsSpan(list304); - ref QuestSequence reference200 = ref span120[0]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - CollectionsMarshal.AsSpan(list305)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009812u, new Vector3(74.08252f, 30.549389f, -720.9735f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj173.Steps = list305; - reference200 = obj173; - ref QuestSequence reference201 = ref span120[1]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - Span span121 = CollectionsMarshal.AsSpan(list306); - span121[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(26.405773f, 29.49983f, -767.3998f), 156) - { - Fly = true - }; - span121[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(25.629164f, 28.999998f, -823.2204f), 156); - span121[2] = new QuestStep(EInteractionType.Interact, 1001304u, new Vector3(25.589355f, 29f, -825.37573f), 156); - obj174.Steps = list306; - reference201 = obj174; - ref QuestSequence reference202 = ref span120[2]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list307 = new List(num2); - CollectionsMarshal.SetCount(list307, num2); - CollectionsMarshal.AsSpan(list307)[0] = new QuestStep(EInteractionType.Interact, 2004628u, new Vector3(50.614136f, 31.143677f, -748.40924f), 156); - obj175.Steps = list307; - reference202 = obj175; - ref QuestSequence reference203 = ref span120[3]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - CollectionsMarshal.AsSpan(list308)[0] = new QuestStep(EInteractionType.Interact, 2004631u, new Vector3(-127.55017f, -1.9379272f, -638.4833f), 156) - { - Fly = true - }; - obj176.Steps = list308; - reference203 = obj176; - ref QuestSequence reference204 = ref span120[4]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - Span span122 = CollectionsMarshal.AsSpan(list309); - span122[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-165.20372f, 11.28438f, -619.29504f), 156) - { - Fly = true - }; - span122[1] = new QuestStep(EInteractionType.Interact, 2004629u, new Vector3(-166.79645f, 12.283508f, -619.8978f), 156); - obj177.Steps = list309; - reference204 = obj177; - ref QuestSequence reference205 = ref span120[5]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - CollectionsMarshal.AsSpan(list310)[0] = new QuestStep(EInteractionType.Interact, 1009817u, new Vector3(-130.1748f, -0.85852593f, -645.2583f), 156) - { - Fly = true - }; - obj178.Steps = list310; - reference205 = obj178; - ref QuestSequence reference206 = ref span120[6]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list311 = new List(num2); - CollectionsMarshal.SetCount(list311, num2); - CollectionsMarshal.AsSpan(list311)[0] = new QuestStep(EInteractionType.Interact, 1006530u, new Vector3(21.927185f, 20.746975f, -682.06305f), 156) - { - Fly = true - }; - obj179.Steps = list311; - reference206 = obj179; - ref QuestSequence reference207 = ref span120[7]; - QuestSequence obj180 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - CollectionsMarshal.AsSpan(list312)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009813u, new Vector3(55.436035f, 31.187548f, -763.42413f), 156) - { - Fly = true, - NextQuestId = new QuestId(50) - }; - obj180.Steps = list312; - reference207 = obj180; - questRoot47.QuestSequence = list304; - AddQuest(questId47, questRoot47); - QuestId questId48 = new QuestId(46); - QuestRoot questRoot48 = new QuestRoot(); - num = 1; - List list313 = new List(num); - CollectionsMarshal.SetCount(list313, num); - CollectionsMarshal.AsSpan(list313)[0] = "pot0to"; - questRoot48.Author = list313; - num = 5; - List list314 = new List(num); - CollectionsMarshal.SetCount(list314, num); - Span span123 = CollectionsMarshal.AsSpan(list314); - ref QuestSequence reference208 = ref span123[0]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - CollectionsMarshal.AsSpan(list315)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj181.Steps = list315; - reference208 = obj181; - ref QuestSequence reference209 = ref span123[1]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 1 - }; - num2 = 11; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - Span span124 = CollectionsMarshal.AsSpan(list316); - ref QuestStep reference210 = ref span124[0]; - QuestStep obj183 = new QuestStep(EInteractionType.Action, 2000925u, new Vector3(187.18237f, -2.7314453f, 79.087524f), 132) - { - StopDistance = 15f, - Action = EAction.HeavyShot - }; - num3 = 6; - List list317 = new List(num3); - CollectionsMarshal.SetCount(list317, num3); - Span span125 = CollectionsMarshal.AsSpan(list317); - span125[0] = null; - span125[1] = null; - span125[2] = null; - span125[3] = null; - span125[4] = null; - span125[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj183.CompletionQuestVariablesFlags = list317; - reference210 = obj183; - ref QuestStep reference211 = ref span124[1]; - QuestStep questStep37 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(106.01592f, 0.14552212f, 57.230045f), 132); - SkipConditions skipConditions18 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 6; - List list318 = new List(num3); - CollectionsMarshal.SetCount(list318, num3); - Span span126 = CollectionsMarshal.AsSpan(list318); - span126[0] = null; - span126[1] = null; - span126[2] = null; - span126[3] = null; - span126[4] = null; - span126[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions7.CompletionQuestVariablesFlags = list318; - skipConditions18.StepIf = skipStepConditions7; - questStep37.SkipConditions = skipConditions18; - reference211 = questStep37; - ref QuestStep reference212 = ref span124[2]; - QuestStep obj184 = new QuestStep(EInteractionType.Action, 2000926u, new Vector3(113.42029f, 4.6539917f, 54.306763f), 132) - { - StopDistance = 20f, - Action = EAction.HeavyShot - }; - num3 = 6; - List list319 = new List(num3); - CollectionsMarshal.SetCount(list319, num3); - Span span127 = CollectionsMarshal.AsSpan(list319); - span127[0] = null; - span127[1] = null; - span127[2] = null; - span127[3] = null; - span127[4] = null; - span127[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj184.CompletionQuestVariablesFlags = list319; - reference212 = obj184; - ref QuestStep reference213 = ref span124[3]; - QuestStep questStep38 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(40.66375f, 2.5499606f, 15.033528f), 132); - SkipConditions skipConditions19 = new SkipConditions(); - SkipStepConditions skipStepConditions8 = new SkipStepConditions(); - num3 = 6; - List list320 = new List(num3); - CollectionsMarshal.SetCount(list320, num3); - Span span128 = CollectionsMarshal.AsSpan(list320); - span128[0] = null; - span128[1] = null; - span128[2] = null; - span128[3] = null; - span128[4] = null; - span128[5] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - skipStepConditions8.CompletionQuestVariablesFlags = list320; - skipConditions19.StepIf = skipStepConditions8; - questStep38.SkipConditions = skipConditions19; - reference213 = questStep38; - ref QuestStep reference214 = ref span124[4]; - QuestStep obj185 = new QuestStep(EInteractionType.Action, 2000931u, new Vector3(36.453735f, 7.248047f, 10.879639f), 132) - { - StopDistance = 20f, - Action = EAction.HeavyShot - }; - num3 = 6; - List list321 = new List(num3); - CollectionsMarshal.SetCount(list321, num3); - Span span129 = CollectionsMarshal.AsSpan(list321); - span129[0] = null; - span129[1] = null; - span129[2] = null; - span129[3] = null; - span129[4] = null; - span129[5] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - obj185.CompletionQuestVariablesFlags = list321; - reference214 = obj185; - ref QuestStep reference215 = ref span124[5]; - QuestStep questStep39 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-4.75964f, -3.0942674f, 21.23782f), 132); - SkipConditions skipConditions20 = new SkipConditions(); - SkipStepConditions skipStepConditions9 = new SkipStepConditions(); - num3 = 6; - List list322 = new List(num3); - CollectionsMarshal.SetCount(list322, num3); - Span span130 = CollectionsMarshal.AsSpan(list322); - span130[0] = null; - span130[1] = null; - span130[2] = null; - span130[3] = null; - span130[4] = null; - span130[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - skipStepConditions9.CompletionQuestVariablesFlags = list322; - skipConditions20.StepIf = skipStepConditions9; - questStep39.SkipConditions = skipConditions20; - reference215 = questStep39; - ref QuestStep reference216 = ref span124[6]; - QuestStep obj186 = new QuestStep(EInteractionType.Action, 2000929u, new Vector3(-5.7526855f, 2.0598755f, 30.655273f), 132) - { - StopDistance = 20f, - Action = EAction.HeavyShot - }; - num3 = 6; - List list323 = new List(num3); - CollectionsMarshal.SetCount(list323, num3); - Span span131 = CollectionsMarshal.AsSpan(list323); - span131[0] = null; - span131[1] = null; - span131[2] = null; - span131[3] = null; - span131[4] = null; - span131[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj186.CompletionQuestVariablesFlags = list323; - reference216 = obj186; - ref QuestStep reference217 = ref span124[7]; - QuestStep questStep40 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(31.96446f, -1.5349445f, 60.44494f), 132); - SkipConditions skipConditions21 = new SkipConditions(); - SkipStepConditions skipStepConditions10 = new SkipStepConditions(); - num3 = 6; - List list324 = new List(num3); - CollectionsMarshal.SetCount(list324, num3); - Span span132 = CollectionsMarshal.AsSpan(list324); - span132[0] = null; - span132[1] = null; - span132[2] = null; - span132[3] = null; - span132[4] = null; - span132[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions10.CompletionQuestVariablesFlags = list324; - skipConditions21.StepIf = skipStepConditions10; - questStep40.SkipConditions = skipConditions21; - reference217 = questStep40; - ref QuestStep reference218 = ref span124[8]; - QuestStep obj187 = new QuestStep(EInteractionType.Action, 2000928u, new Vector3(33.24939f, 5.4473877f, 70.63391f), 132) - { - StopDistance = 20f, - Action = EAction.HeavyShot - }; - num3 = 6; - List list325 = new List(num3); - CollectionsMarshal.SetCount(list325, num3); - Span span133 = CollectionsMarshal.AsSpan(list325); - span133[0] = null; - span133[1] = null; - span133[2] = null; - span133[3] = null; - span133[4] = null; - span133[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj187.CompletionQuestVariablesFlags = list325; - reference218 = obj187; - ref QuestStep reference219 = ref span124[9]; - QuestStep questStep41 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(65.39101f, -3.7351668f, 88.24835f), 132); - SkipConditions skipConditions22 = new SkipConditions(); - SkipStepConditions skipStepConditions11 = new SkipStepConditions(); - num3 = 6; - List list326 = new List(num3); - CollectionsMarshal.SetCount(list326, num3); - Span span134 = CollectionsMarshal.AsSpan(list326); - span134[0] = null; - span134[1] = null; - span134[2] = null; - span134[3] = null; - span134[4] = null; - span134[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions11.CompletionQuestVariablesFlags = list326; - skipConditions22.StepIf = skipStepConditions11; - questStep41.SkipConditions = skipConditions22; - reference219 = questStep41; - ref QuestStep reference220 = ref span124[10]; - QuestStep obj188 = new QuestStep(EInteractionType.Action, 2000930u, new Vector3(56.595703f, -3.7385254f, 96.97107f), 132) - { - StopDistance = 20f, - Action = EAction.HeavyShot - }; - num3 = 6; - List list327 = new List(num3); - CollectionsMarshal.SetCount(list327, num3); - Span span135 = CollectionsMarshal.AsSpan(list327); - span135[0] = null; - span135[1] = null; - span135[2] = null; - span135[3] = null; - span135[4] = null; - span135[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj188.CompletionQuestVariablesFlags = list327; - reference220 = obj188; - obj182.Steps = list316; - reference209 = obj182; - ref QuestSequence reference221 = ref span123[2]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - CollectionsMarshal.AsSpan(list328)[0] = new QuestStep(EInteractionType.Interact, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - } - }; - obj189.Steps = list328; - reference221 = obj189; - ref QuestSequence reference222 = ref span123[3]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list329 = new List(num2); - CollectionsMarshal.SetCount(list329, num2); - Span span136 = CollectionsMarshal.AsSpan(list329); - ref QuestStep reference223 = ref span136[0]; - QuestStep obj191 = new QuestStep(EInteractionType.Combat, null, new Vector3(303.89548f, -21.916101f, 210.33368f), 154) - { - StopDistance = 0.5f, - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaArcher, - To = EAetheryteLocation.GridaniaYellowSerpentGate - }, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list330 = new List(num3); - CollectionsMarshal.SetCount(list330, num3); - CollectionsMarshal.AsSpan(list330)[0] = new ComplexCombatData - { - DataId = 5u, - MinimumKillCount = 8u - }; - obj191.ComplexCombatData = list330; - num3 = 6; - List list331 = new List(num3); - CollectionsMarshal.SetCount(list331, num3); - Span span137 = CollectionsMarshal.AsSpan(list331); - span137[0] = new QuestWorkValue(null, (byte)8, EQuestWorkMode.Bitwise); - span137[1] = null; - span137[2] = null; - span137[3] = null; - span137[4] = null; - span137[5] = null; - obj191.CompletionQuestVariablesFlags = list331; - reference223 = obj191; - ref QuestStep reference224 = ref span136[1]; - QuestStep obj192 = new QuestStep(EInteractionType.Combat, null, new Vector3(250.70682f, -11.9244995f, 40.554157f), 154) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list332 = new List(num3); - CollectionsMarshal.SetCount(list332, num3); - CollectionsMarshal.AsSpan(list332)[0] = new ComplexCombatData - { - DataId = 32u, - MinimumKillCount = 8u - }; - obj192.ComplexCombatData = list332; - num3 = 6; - List list333 = new List(num3); - CollectionsMarshal.SetCount(list333, num3); - Span span138 = CollectionsMarshal.AsSpan(list333); - span138[0] = null; - span138[1] = new QuestWorkValue((byte)8, null, EQuestWorkMode.Bitwise); - span138[2] = null; - span138[3] = null; - span138[4] = null; - span138[5] = null; - obj192.CompletionQuestVariablesFlags = list333; - reference224 = obj192; - obj190.Steps = list329; - reference222 = obj190; - ref QuestSequence reference225 = ref span123[4]; - QuestSequence obj193 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - CollectionsMarshal.AsSpan(list334)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - NextQuestId = new QuestId(134) - }; - obj193.Steps = list334; - reference225 = obj193; - questRoot48.QuestSequence = list314; - AddQuest(questId48, questRoot48); - QuestId questId49 = new QuestId(47); - QuestRoot questRoot49 = new QuestRoot(); - num = 1; - List list335 = new List(num); - CollectionsMarshal.SetCount(list335, num); - CollectionsMarshal.AsSpan(list335)[0] = "Cacahuetes"; - questRoot49.Author = list335; - num = 6; - List list336 = new List(num); - CollectionsMarshal.SetCount(list336, num); - Span span139 = CollectionsMarshal.AsSpan(list336); - ref QuestSequence reference226 = ref span139[0]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list337 = new List(num2); - CollectionsMarshal.SetCount(list337, num2); - ref QuestStep reference227 = ref CollectionsMarshal.AsSpan(list337)[0]; - QuestStep obj195 = new QuestStep(EInteractionType.AcceptQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - } - }; - SkipConditions skipConditions23 = new SkipConditions(); - SkipAetheryteCondition obj196 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list338 = new List(num3); - CollectionsMarshal.SetCount(list338, num3); - CollectionsMarshal.AsSpan(list338)[0] = 133; - obj196.InTerritory = list338; - skipConditions23.AetheryteShortcutIf = obj196; - obj195.SkipConditions = skipConditions23; - reference227 = obj195; - obj194.Steps = list337; - reference226 = obj194; - ref QuestSequence reference228 = ref span139[1]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list339 = new List(num2); - CollectionsMarshal.SetCount(list339, num2); - Span span140 = CollectionsMarshal.AsSpan(list339); - span140[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(260.13162f, -11.982115f, -159.64388f), 148) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLancer, - To = EAetheryteLocation.GridaniaBlueBadgerGate - } - }; - ref QuestStep reference229 = ref span140[1]; - QuestStep obj198 = new QuestStep(EInteractionType.Combat, 2000911u, new Vector3(261.82947f, -11.795227f, -161.36414f), 148) - { - ItemId = 2000230u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list340 = new List(num3); - CollectionsMarshal.SetCount(list340, num3); - CollectionsMarshal.AsSpan(list340)[0] = 42u; - obj198.KillEnemyDataIds = list340; - num3 = 6; - List list341 = new List(num3); - CollectionsMarshal.SetCount(list341, num3); - Span span141 = CollectionsMarshal.AsSpan(list341); - span141[0] = null; - span141[1] = null; - span141[2] = null; - span141[3] = null; - span141[4] = null; - span141[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj198.CompletionQuestVariablesFlags = list341; - reference229 = obj198; - ref QuestStep reference230 = ref span140[2]; - QuestStep obj199 = new QuestStep(EInteractionType.Combat, 2000910u, new Vector3(266.31567f, -11.795227f, -174.88367f), 148) - { - ItemId = 2000230u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list342 = new List(num3); - CollectionsMarshal.SetCount(list342, num3); - CollectionsMarshal.AsSpan(list342)[0] = 42u; - obj199.KillEnemyDataIds = list342; - num3 = 6; - List list343 = new List(num3); - CollectionsMarshal.SetCount(list343, num3); - Span span142 = CollectionsMarshal.AsSpan(list343); - span142[0] = null; - span142[1] = null; - span142[2] = null; - span142[3] = null; - span142[4] = null; - span142[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj199.CompletionQuestVariablesFlags = list343; - reference230 = obj199; - obj197.Steps = list339; - reference228 = obj197; - ref QuestSequence reference231 = ref span139[2]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list344 = new List(num2); - CollectionsMarshal.SetCount(list344, num2); - CollectionsMarshal.AsSpan(list344)[0] = new QuestStep(EInteractionType.Interact, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - } - }; - obj200.Steps = list344; - reference231 = obj200; - ref QuestSequence reference232 = ref span139[3]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list345 = new List(num2); - CollectionsMarshal.SetCount(list345, num2); - Span span143 = CollectionsMarshal.AsSpan(list345); - span143[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(300.2214f, 1.4752781f, 87.94056f), 148) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLancer, - To = EAetheryteLocation.GridaniaBlueBadgerGate - } - }; - ref QuestStep reference233 = ref span143[1]; - QuestStep obj202 = new QuestStep(EInteractionType.Combat, 2000914u, new Vector3(302.2965f, 2.090454f, 88.0293f), 148) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list346 = new List(num3); - CollectionsMarshal.SetCount(list346, num3); - CollectionsMarshal.AsSpan(list346)[0] = 41u; - obj202.KillEnemyDataIds = list346; - num3 = 6; - List list347 = new List(num3); - CollectionsMarshal.SetCount(list347, num3); - Span span144 = CollectionsMarshal.AsSpan(list347); - span144[0] = null; - span144[1] = null; - span144[2] = null; - span144[3] = null; - span144[4] = null; - span144[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj202.CompletionQuestVariablesFlags = list347; - reference233 = obj202; - ref QuestStep reference234 = ref span143[2]; - QuestStep obj203 = new QuestStep(EInteractionType.Combat, 2000916u, new Vector3(305.4093f, 4.501404f, 103.990234f), 148) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list348 = new List(num3); - CollectionsMarshal.SetCount(list348, num3); - CollectionsMarshal.AsSpan(list348)[0] = 26u; - obj203.KillEnemyDataIds = list348; - num3 = 6; - List list349 = new List(num3); - CollectionsMarshal.SetCount(list349, num3); - Span span145 = CollectionsMarshal.AsSpan(list349); - span145[0] = null; - span145[1] = null; - span145[2] = null; - span145[3] = null; - span145[4] = null; - span145[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj203.CompletionQuestVariablesFlags = list349; - reference234 = obj203; - ref QuestStep reference235 = ref span143[3]; - QuestStep obj204 = new QuestStep(EInteractionType.Combat, 2000915u, new Vector3(327.10767f, 3.7078857f, 93.64453f), 148) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list350 = new List(num3); - CollectionsMarshal.SetCount(list350, num3); - CollectionsMarshal.AsSpan(list350)[0] = 41u; - obj204.KillEnemyDataIds = list350; - num3 = 6; - List list351 = new List(num3); - CollectionsMarshal.SetCount(list351, num3); - Span span146 = CollectionsMarshal.AsSpan(list351); - span146[0] = null; - span146[1] = null; - span146[2] = null; - span146[3] = null; - span146[4] = null; - span146[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj204.CompletionQuestVariablesFlags = list351; - reference235 = obj204; - obj201.Steps = list345; - reference232 = obj201; - ref QuestSequence reference236 = ref span139[4]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list352 = new List(num2); - CollectionsMarshal.SetCount(list352, num2); - CollectionsMarshal.AsSpan(list352)[0] = new QuestStep(EInteractionType.Interact, 1000251u, new Vector3(147.08167f, 15.5f, -267.99426f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition() - } - }; - obj205.Steps = list352; - reference236 = obj205; - ref QuestSequence reference237 = ref span139[5]; - QuestSequence obj206 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list353 = new List(num2); - CollectionsMarshal.SetCount(list353, num2); - CollectionsMarshal.AsSpan(list353)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) - { - NextQuestId = new QuestId(35) - }; - obj206.Steps = list353; - reference237 = obj206; - questRoot49.QuestSequence = list336; - AddQuest(questId49, questRoot49); - QuestId questId50 = new QuestId(48); - QuestRoot questRoot50 = new QuestRoot(); - num = 1; - List list354 = new List(num); - CollectionsMarshal.SetCount(list354, num); - CollectionsMarshal.AsSpan(list354)[0] = "Cacahuetes"; - questRoot50.Author = list354; - num = 5; - List list355 = new List(num); - CollectionsMarshal.SetCount(list355, num); - Span span147 = CollectionsMarshal.AsSpan(list355); - ref QuestSequence reference238 = ref span147[0]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list356 = new List(num2); - CollectionsMarshal.SetCount(list356, num2); - ref QuestStep reference239 = ref CollectionsMarshal.AsSpan(list356)[0]; - QuestStep obj208 = new QuestStep(EInteractionType.AcceptQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - SkipConditions skipConditions24 = new SkipConditions(); - SkipAetheryteCondition obj209 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list357 = new List(num3); - CollectionsMarshal.SetCount(list357, num3); - CollectionsMarshal.AsSpan(list357)[0] = 133; - obj209.InTerritory = list357; - skipConditions24.AetheryteShortcutIf = obj209; - obj208.SkipConditions = skipConditions24; - reference239 = obj208; - obj207.Steps = list356; - reference238 = obj207; - ref QuestSequence reference240 = ref span147[1]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list358 = new List(num2); - CollectionsMarshal.SetCount(list358, num2); - Span span148 = CollectionsMarshal.AsSpan(list358); - span148[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(220.82336f, -28.335487f, 336.9016f), 154) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaConjurer, - To = EAetheryteLocation.GridaniaYellowSerpentGate - } - }; - span148[1] = new QuestStep(EInteractionType.Interact, 1000764u, new Vector3(218.89062f, -28.252495f, 338.39917f), 154); - obj210.Steps = list358; - reference240 = obj210; - ref QuestSequence reference241 = ref span147[2]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list359 = new List(num2); - CollectionsMarshal.SetCount(list359, num2); - ref QuestStep reference242 = ref CollectionsMarshal.AsSpan(list359)[0]; - QuestStep obj212 = new QuestStep(EInteractionType.Combat, 2000883u, new Vector3(325.1848f, -5.217115f, 390.488f), 154) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list360 = new List(num3); - CollectionsMarshal.SetCount(list360, num3); - CollectionsMarshal.AsSpan(list360)[0] = 294u; - obj212.KillEnemyDataIds = list360; - reference242 = obj212; - obj211.Steps = list359; - reference241 = obj211; - ref QuestSequence reference243 = ref span147[3]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list361 = new List(num2); - CollectionsMarshal.SetCount(list361, num2); - Span span149 = CollectionsMarshal.AsSpan(list361); - span149[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(220.82336f, -28.335487f, 336.9016f), 154) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span149[1] = new QuestStep(EInteractionType.Interact, 1000764u, new Vector3(218.89062f, -28.252495f, 338.39917f), 154); - obj213.Steps = list361; - reference243 = obj213; - ref QuestSequence reference244 = ref span147[4]; - QuestSequence obj214 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list362 = new List(num2); - CollectionsMarshal.SetCount(list362, num2); - CollectionsMarshal.AsSpan(list362)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - }, - NextQuestId = new QuestId(91) - }; - obj214.Steps = list362; - reference244 = obj214; - questRoot50.QuestSequence = list355; - AddQuest(questId50, questRoot50); - QuestId questId51 = new QuestId(49); - QuestRoot questRoot51 = new QuestRoot(); - num = 1; - List list363 = new List(num); - CollectionsMarshal.SetCount(list363, num); - CollectionsMarshal.AsSpan(list363)[0] = "liza"; - questRoot51.Author = list363; - num = 2; - List list364 = new List(num); - CollectionsMarshal.SetCount(list364, num); - Span span150 = CollectionsMarshal.AsSpan(list364); - ref QuestSequence reference245 = ref span150[0]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list365 = new List(num2); - CollectionsMarshal.SetCount(list365, num2); - CollectionsMarshal.AsSpan(list365)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000788u, new Vector3(-43.90027f, 7.0877223f, -136.70563f), 133); - obj215.Steps = list365; - reference245 = obj215; - ref QuestSequence reference246 = ref span150[1]; - QuestSequence obj216 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list366 = new List(num2); - CollectionsMarshal.SetCount(list366, num2); - CollectionsMarshal.AsSpan(list366)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000429u, new Vector3(56.50415f, 7.9990244f, -132.12793f), 133); - obj216.Steps = list366; - reference246 = obj216; - questRoot51.QuestSequence = list364; - AddQuest(questId51, questRoot51); - } - - private static void LoadQuests1() - { - QuestId questId = new QuestId(50); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 5; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009813u, new Vector3(55.436035f, 31.187548f, -763.42413f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1009812u, new Vector3(74.08252f, 30.549389f, -720.9735f), 156) - { - Fly = true - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1006530u, new Vector3(21.927185f, 20.746975f, -682.06305f), 156) - { - Fly = true - }; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 7; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - Span span2 = CollectionsMarshal.AsSpan(list6); - ref QuestStep reference5 = ref span2[0]; - QuestStep obj5 = new QuestStep(EInteractionType.Interact, 1009825u, new Vector3(86.07605f, 28.34813f, -622.18665f), 156) - { - StopDistance = 0.5f, - Fly = true - }; - int num3 = 6; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span3 = CollectionsMarshal.AsSpan(list7); - span3[0] = null; - span3[1] = null; - span3[2] = null; - span3[3] = null; - span3[4] = null; - span3[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj5.CompletionQuestVariablesFlags = list7; - reference5 = obj5; - ref QuestStep reference6 = ref span2[1]; - QuestStep obj6 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(30.917934f, 20.495003f, -656.1909f), 156) - { - Fly = true - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - Span span4 = CollectionsMarshal.AsSpan(list8); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list8; - skipConditions.StepIf = skipStepConditions; - obj6.SkipConditions = skipConditions; - reference6 = obj6; - ref QuestStep reference7 = ref span2[2]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1009826u, new Vector3(29.160034f, 21.252728f, -642.51166f), 156); - num3 = 6; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - Span span5 = CollectionsMarshal.AsSpan(list9); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list9; - reference7 = questStep; - span2[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(30.917934f, 20.495003f, -656.1909f), 156) - { - Mount = true - }; - ref QuestStep reference8 = ref span2[4]; - QuestStep obj7 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(18.883974f, 53.583996f, -702.24194f), 156) - { - Fly = true - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list10 = new List(num3); - CollectionsMarshal.SetCount(list10, num3); - Span span6 = CollectionsMarshal.AsSpan(list10); - span6[0] = null; - span6[1] = null; - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list10; - skipConditions2.StepIf = skipStepConditions2; - obj7.SkipConditions = skipConditions2; - reference8 = obj7; - ref QuestStep reference9 = ref span2[5]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1009823u, new Vector3(16.983276f, 53.614998f, -703.3341f), 156); - num3 = 6; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - Span span7 = CollectionsMarshal.AsSpan(list11); - span7[0] = null; - span7[1] = null; - span7[2] = null; - span7[3] = null; - span7[4] = null; - span7[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list11; - reference9 = questStep2; - ref QuestStep reference10 = ref span2[6]; - QuestStep obj8 = new QuestStep(EInteractionType.Interact, 1009824u, new Vector3(22.262878f, 28.999968f, -780.85f), 156) - { - Fly = true - }; - num3 = 6; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - Span span8 = CollectionsMarshal.AsSpan(list12); - span8[0] = null; - span8[1] = null; - span8[2] = null; - span8[3] = null; - span8[4] = null; - span8[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj8.CompletionQuestVariablesFlags = list12; - reference10 = obj8; - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference11 = ref span[4]; - QuestSequence obj9 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009813u, new Vector3(55.436035f, 31.187548f, -763.42413f), 156) - { - Fly = true, - NextQuestId = new QuestId(100) - }; - obj9.Steps = list13; - reference11 = obj9; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(52); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - CollectionsMarshal.AsSpan(list14)[0] = "JerryWester"; - questRoot2.Author = list14; - num = 4; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - Span span9 = CollectionsMarshal.AsSpan(list15); - ref QuestSequence reference12 = ref span9[0]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008969u, new Vector3(0.99176025f, -1.9957249f, -45.700806f), 351) - { - StopDistance = 7f - }; - obj10.Steps = list16; - reference12 = obj10; - ref QuestSequence reference13 = ref span9[1]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - Span span10 = CollectionsMarshal.AsSpan(list17); - span10[0] = new QuestStep(EInteractionType.Interact, 2002880u, new Vector3(-0.015319824f, -1.0223389f, -29.251587f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span10[1] = new QuestStep(EInteractionType.Interact, 1010078u, new Vector3(31.540405f, -1f, -0.80877686f), 351); - obj11.Steps = list17; - reference13 = obj11; - ref QuestSequence reference14 = ref span9[2]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.Interact, 1009959u, new Vector3(3.5248413f, 0.009977884f, -4.4404297f), 351); - obj12.Steps = list18; - reference14 = obj12; - ref QuestSequence reference15 = ref span9[3]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.CompleteQuest, 1008700u, new Vector3(-132.52466f, 4.1f, -111.92493f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - obj13.Steps = list19; - reference15 = obj13; - questRoot2.QuestSequence = list15; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(53); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - CollectionsMarshal.AsSpan(list20)[0] = "JerryWester"; - questRoot3.Author = list20; - num = 7; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - Span span11 = CollectionsMarshal.AsSpan(list21); - ref QuestSequence reference16 = ref span11[0]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009961u, new Vector3(-131.88379f, 4.1f, -109.63611f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj14.Steps = list22; - reference16 = obj14; - ref QuestSequence reference17 = ref span11[1]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - Span span12 = CollectionsMarshal.AsSpan(list23); - span12[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span12[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(2.0206594f, 0f, -5.7291903f), 351); - span12[2] = new QuestStep(EInteractionType.Interact, 1010078u, new Vector3(31.540405f, -1f, -0.80877686f), 351); - obj15.Steps = list23; - reference17 = obj15; - ref QuestSequence reference18 = ref span11[2]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - Span span13 = CollectionsMarshal.AsSpan(list24); - ref QuestStep reference19 = ref span13[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(2.0206594f, 0f, -5.7291903f), 351); - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - CollectionsMarshal.AsSpan(list25)[0] = 156; - skipStepConditions3.InTerritory = list25; - skipConditions3.StepIf = skipStepConditions3; - questStep3.SkipConditions = skipConditions3; - reference19 = questStep3; - ref QuestStep reference20 = ref span13[1]; - QuestStep obj17 = new QuestStep(EInteractionType.Interact, 2002879u, new Vector3(-0.015319824f, 2.9754639f, 27.481445f), 351) - { - TargetTerritoryId = (ushort)156 - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 1; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - CollectionsMarshal.AsSpan(list26)[0] = 156; - skipStepConditions4.InTerritory = list26; - skipConditions4.StepIf = skipStepConditions4; - obj17.SkipConditions = skipConditions4; - reference20 = obj17; - span13[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(30.917934f, 20.495003f, -656.1909f), 156) - { - Mount = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-354.60443f, -15.981883f, -477.4395f), - MaximumDistance = 300f, - TerritoryId = 156 - } - } - } - }; - span13[3] = new QuestStep(EInteractionType.Interact, 1009962u, new Vector3(-354.60443f, -15.981883f, -477.4395f), 156) - { - Fly = true - }; - obj16.Steps = list24; - reference18 = obj16; - ref QuestSequence reference21 = ref span11[3]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - Span span14 = CollectionsMarshal.AsSpan(list27); - ref QuestStep reference22 = ref span14[0]; - QuestStep obj19 = new QuestStep(EInteractionType.Combat, null, new Vector3(-455.26733f, -4.2369456f, -300.13348f), 156) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - Span span15 = CollectionsMarshal.AsSpan(list28); - span15[0] = 61u; - span15[1] = 62u; - span15[2] = 63u; - obj19.KillEnemyDataIds = list28; - reference22 = obj19; - span14[1] = new QuestStep(EInteractionType.Interact, 1009966u, new Vector3(-455.89386f, -4.098249f, -302.72375f), 156); - obj18.Steps = list27; - reference21 = obj18; - ref QuestSequence reference23 = ref span11[4]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - Span span16 = CollectionsMarshal.AsSpan(list29); - ref QuestStep reference24 = ref span16[0]; - QuestStep obj21 = new QuestStep(EInteractionType.Combat, null, new Vector3(-464.29688f, -3.2168088f, -231.61989f), 156) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - Span span17 = CollectionsMarshal.AsSpan(list30); - span17[0] = 63u; - span17[1] = 64u; - span17[2] = 3566u; - obj21.KillEnemyDataIds = list30; - num3 = 6; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - Span span18 = CollectionsMarshal.AsSpan(list31); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj21.CompletionQuestVariablesFlags = list31; - reference24 = obj21; - ref QuestStep reference25 = ref span16[1]; - QuestStep obj22 = new QuestStep(EInteractionType.Combat, null, new Vector3(-542.5233f, -1.7329574f, -291.1239f), 156) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - Span span19 = CollectionsMarshal.AsSpan(list32); - span19[0] = 55u; - span19[1] = 3566u; - obj22.KillEnemyDataIds = list32; - num3 = 6; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - Span span20 = CollectionsMarshal.AsSpan(list33); - span20[0] = null; - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj22.CompletionQuestVariablesFlags = list33; - reference25 = obj22; - ref QuestStep reference26 = ref span16[2]; - QuestStep obj23 = new QuestStep(EInteractionType.Combat, null, new Vector3(-598.8258f, -3.216822f, -398.18915f), 156) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 4; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - Span span21 = CollectionsMarshal.AsSpan(list34); - span21[0] = 61u; - span21[1] = 62u; - span21[2] = 55u; - span21[3] = 64u; - obj23.KillEnemyDataIds = list34; - num3 = 6; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - Span span22 = CollectionsMarshal.AsSpan(list35); - span22[0] = null; - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj23.CompletionQuestVariablesFlags = list35; - reference26 = obj23; - obj20.Steps = list29; - reference23 = obj20; - ref QuestSequence reference27 = ref span11[5]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.Interact, 1009112u, new Vector3(-355.45898f, -16.030567f, -477.04285f), 156) - { - Fly = true - }; - obj24.Steps = list36; - reference27 = obj24; - ref QuestSequence reference28 = ref span11[6]; - QuestSequence obj25 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - Span span23 = CollectionsMarshal.AsSpan(list37); - span23[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span23[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(2.0206594f, 0f, -5.7291903f), 351); - span23[2] = new QuestStep(EInteractionType.CompleteQuest, 1010078u, new Vector3(31.540405f, -1f, -0.80877686f), 351); - obj25.Steps = list37; - reference28 = obj25; - questRoot3.QuestSequence = list21; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(54); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - CollectionsMarshal.AsSpan(list38)[0] = "JerryWester"; - questRoot4.Author = list38; - num = 4; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - Span span24 = CollectionsMarshal.AsSpan(list39); - ref QuestSequence reference29 = ref span24[0]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010078u, new Vector3(31.540405f, -1f, -0.80877686f), 351); - obj26.Steps = list40; - reference29 = obj26; - ref QuestSequence reference30 = ref span24[1]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - Span span25 = CollectionsMarshal.AsSpan(list41); - span25[0] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span25[1] = new QuestStep(EInteractionType.Interact, 1008969u, new Vector3(0.99176025f, -1.9957249f, -45.700806f), 351); - obj27.Steps = list41; - reference30 = obj27; - ref QuestSequence reference31 = ref span24[2]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - Span span26 = CollectionsMarshal.AsSpan(list42); - span26[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(241.44713f, 303.12494f, -199.88608f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span26[1] = new QuestStep(EInteractionType.Interact, 1006384u, new Vector3(263.5996f, 303.1f, -199.96954f), 155); - obj28.Steps = list42; - reference31 = obj28; - ref QuestSequence reference32 = ref span24[3]; - QuestSequence obj29 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - ref QuestStep reference33 = ref CollectionsMarshal.AsSpan(list43)[0]; - QuestStep obj30 = new QuestStep(EInteractionType.CompleteQuest, 1007603u, new Vector3(264.91187f, 302.26236f, -223.71259f), 155) - { - Mount = true - }; - num3 = 1; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - CollectionsMarshal.AsSpan(list44)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_GAIUSE403_00054_FORTEMPSGUARD00054_Q1_000_1") - }; - obj30.DialogueChoices = list44; - reference33 = obj30; - obj29.Steps = list43; - reference32 = obj29; - questRoot4.QuestSequence = list39; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(55); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - CollectionsMarshal.AsSpan(list45)[0] = "Cacahuetes"; - questRoot5.Author = list45; - num = 6; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - Span span27 = CollectionsMarshal.AsSpan(list46); - ref QuestSequence reference34 = ref span27[0]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - ref QuestStep reference35 = ref CollectionsMarshal.AsSpan(list47)[0]; - QuestStep obj32 = new QuestStep(EInteractionType.AcceptQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - } - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipAetheryteCondition obj33 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - CollectionsMarshal.AsSpan(list48)[0] = 133; - obj33.InTerritory = list48; - skipConditions5.AetheryteShortcutIf = obj33; - obj32.SkipConditions = skipConditions5; - reference35 = obj32; - obj31.Steps = list47; - reference34 = obj31; - ref QuestSequence reference36 = ref span27[1]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - Span span28 = CollectionsMarshal.AsSpan(list49); - span28[0] = new QuestStep(EInteractionType.Interact, 1001263u, new Vector3(181.41443f, -2.3519497f, -240.40594f), 133) - { - TargetTerritoryId = (ushort)152 - }; - ref QuestStep reference37 = ref span28[1]; - QuestStep obj35 = new QuestStep(EInteractionType.Interact, 1001194u, new Vector3(-416.37292f, 0.10675049f, 60.990234f), 152) - { - Fly = true - }; - num3 = 1; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - CollectionsMarshal.AsSpan(list50)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CLSLNC003_00055_Q1_000_1"), - Answer = new ExcelRef("TEXT_CLSLNC003_00055_A1_000_1") - }; - obj35.DialogueChoices = list50; - reference37 = obj35; - obj34.Steps = list49; - reference36 = obj34; - ref QuestSequence reference38 = ref span27[2]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - ref QuestStep reference39 = ref CollectionsMarshal.AsSpan(list51)[0]; - QuestStep obj37 = new QuestStep(EInteractionType.Combat, 2000919u, new Vector3(-418.60077f, 0.289917f, 127.06189f), 152) - { - ItemId = 2000235u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - CollectionsMarshal.AsSpan(list52)[0] = 24u; - obj37.KillEnemyDataIds = list52; - reference39 = obj37; - obj36.Steps = list51; - reference38 = obj36; - ref QuestSequence reference40 = ref span27[3]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.Interact, 1001194u, new Vector3(-416.37292f, 0.10675049f, 60.990234f), 152); - obj38.Steps = list53; - reference40 = obj38; - ref QuestSequence reference41 = ref span27[4]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - Span span29 = CollectionsMarshal.AsSpan(list54); - span29[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-514.83344f, 19.223053f, 284.89175f), 152) - { - Fly = true - }; - span29[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 2000920u, new Vector3(267.5669f, -0.5951538f, -253.83386f), 148) - { - Fly = true - }; - obj39.Steps = list54; - reference41 = obj39; - ref QuestSequence reference42 = ref span27[5]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - }, - NextQuestId = new QuestId(56) - }; - obj40.Steps = list55; - reference42 = obj40; - questRoot5.QuestSequence = list46; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(56); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - CollectionsMarshal.AsSpan(list56)[0] = "Cacahuetes"; - questRoot6.Author = list56; - num = 7; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - Span span30 = CollectionsMarshal.AsSpan(list57); - ref QuestSequence reference43 = ref span30[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - ref QuestStep reference44 = ref CollectionsMarshal.AsSpan(list58)[0]; - QuestStep obj42 = new QuestStep(EInteractionType.AcceptQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - } - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipAetheryteCondition obj43 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - CollectionsMarshal.AsSpan(list59)[0] = 133; - obj43.InTerritory = list59; - skipConditions6.AetheryteShortcutIf = obj43; - obj42.SkipConditions = skipConditions6; - reference44 = obj42; - obj41.Steps = list58; - reference43 = obj41; - ref QuestSequence reference45 = ref span30[1]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2000977u, new Vector3(157.5188f, 16.189758f, -273.64008f), 133) - { - StopDistance = 4f, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj44.Steps = list60; - reference45 = obj44; - ref QuestSequence reference46 = ref span30[2]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - ref QuestStep reference47 = ref CollectionsMarshal.AsSpan(list61)[0]; - QuestStep obj46 = new QuestStep(EInteractionType.Interact, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) - { - StopDistance = 7f - }; - num3 = 1; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - CollectionsMarshal.AsSpan(list62)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSLNC004_00056_Q1_000_1") - }; - obj46.DialogueChoices = list62; - reference47 = obj46; - obj45.Steps = list61; - reference46 = obj45; - ref QuestSequence reference48 = ref span30[3]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - Span span31 = CollectionsMarshal.AsSpan(list63); - span31[0] = new QuestStep(EInteractionType.Interact, 1001263u, new Vector3(181.41443f, -2.3519497f, -240.40594f), 133) - { - TargetTerritoryId = (ushort)152, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.EastShroudHawthorneHut - } - } - }; - ref QuestStep reference49 = ref span31[1]; - QuestStep obj48 = new QuestStep(EInteractionType.Combat, null, new Vector3(-131.39551f, -1.8032382f, 173.32715f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - CollectionsMarshal.AsSpan(list64)[0] = new ComplexCombatData - { - DataId = 15u, - MinimumKillCount = 10u - }; - obj48.ComplexCombatData = list64; - obj48.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - reference49 = obj48; - obj47.Steps = list63; - reference48 = obj47; - ref QuestSequence reference50 = ref span30[4]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.Interact, 2000089u, new Vector3(-238.66644f, 11.856201f, 29.007324f), 152) - { - Fly = true - }; - obj49.Steps = list65; - reference50 = obj49; - ref QuestSequence reference51 = ref span30[5]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2000978u, new Vector3(-238.94104f, 11.550964f, 29.06836f), 152) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true, - Index = 1 - } - }; - obj50.Steps = list66; - reference51 = obj50; - ref QuestSequence reference52 = ref span30[6]; - QuestSequence obj51 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - }, - NextQuestId = new QuestId(438) - }; - obj51.Steps = list67; - reference52 = obj51; - questRoot6.QuestSequence = list57; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(57); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - CollectionsMarshal.AsSpan(list68)[0] = "JerryWester"; - questRoot7.Author = list68; - num = 5; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - Span span32 = CollectionsMarshal.AsSpan(list69); - ref QuestSequence reference53 = ref span32[0]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009976u, new Vector3(261.58533f, 302.19598f, -223.10223f), 155) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj52.Steps = list70; - reference53 = obj52; - ref QuestSequence reference54 = ref span32[1]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.Interact, 1006384u, new Vector3(263.5996f, 303.1f, -199.96954f), 155) - { - Mount = true - }; - obj53.Steps = list71; - reference54 = obj53; - ref QuestSequence reference55 = ref span32[2]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - Span span33 = CollectionsMarshal.AsSpan(list72); - span33[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(241.25629f, 303f, -199.9688f), 155) - { - Mount = true - }; - span33[1] = new QuestStep(EInteractionType.Interact, 1009979u, new Vector3(-281.48322f, 225.50882f, 556.115f), 155) - { - Fly = true - }; - obj54.Steps = list72; - reference55 = obj54; - ref QuestSequence reference56 = ref span32[3]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - Span span34 = CollectionsMarshal.AsSpan(list73); - span34[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(193.60997f, 228.96082f, 327.83392f), 155) - { - Fly = true - }; - span34[1] = new QuestStep(EInteractionType.Interact, 1009982u, new Vector3(208.88062f, 229.04996f, 322.4994f), 155) - { - StopDistance = 5f - }; - obj55.Steps = list73; - reference56 = obj55; - ref QuestSequence reference57 = ref span32[4]; - QuestSequence obj56 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - Span span35 = CollectionsMarshal.AsSpan(list74); - span35[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(241.44713f, 303.12494f, -199.88608f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span35[1] = new QuestStep(EInteractionType.CompleteQuest, 1009977u, new Vector3(261.0055f, 303.1f, -198.59619f), 155); - obj56.Steps = list74; - reference57 = obj56; - questRoot7.QuestSequence = list69; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(59); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - CollectionsMarshal.AsSpan(list75)[0] = "Wigglez"; - questRoot8.Author = list75; - num = 2; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - Span span36 = CollectionsMarshal.AsSpan(list76); - ref QuestSequence reference58 = ref span36[0]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001788u, new Vector3(669.1843f, 9.198655f, 512.9929f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaSwiftperch - }; - obj57.Steps = list77; - reference58 = obj57; - ref QuestSequence reference59 = ref span36[1]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.CompleteQuest, 1004745u, new Vector3(647.0282f, 9.588856f, 487.66296f), 138); - obj58.Steps = list78; - reference59 = obj58; - questRoot8.QuestSequence = list76; - AddQuest(questId8, questRoot8); - AlliedSocietyDailyId questId9 = new AlliedSocietyDailyId(6, 0); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - CollectionsMarshal.AsSpan(list79)[0] = "liza"; - questRoot9.Author = list79; - num = 1; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - ref QuestSequence reference60 = ref CollectionsMarshal.AsSpan(list80)[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.WalkTo, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401) - { - StopDistance = 3f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj59.Steps = list81; - reference60 = obj59; - questRoot9.QuestSequence = list80; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(62); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - CollectionsMarshal.AsSpan(list82)[0] = "JerryWester"; - questRoot10.Author = list82; - num = 2; - List list83 = new List(num); - CollectionsMarshal.SetCount(list83, num); - Span span37 = CollectionsMarshal.AsSpan(list83); - ref QuestSequence reference61 = ref span37[0]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009977u, new Vector3(261.0055f, 303.1f, -198.59619f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj60.Steps = list84; - reference61 = obj60; - ref QuestSequence reference62 = ref span37[1]; - QuestSequence obj61 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - Span span38 = CollectionsMarshal.AsSpan(list85); - span38[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(241.25629f, 303f, -199.9688f), 155) - { - Mount = true - }; - span38[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-424.22275f, 265.1f, -206.5006f), 155) - { - Fly = true - }; - span38[2] = new QuestStep(EInteractionType.CompleteQuest, 1006444u, new Vector3(-432.9748f, 233.47266f, -199.6643f), 155); - obj61.Steps = list85; - reference62 = obj61; - questRoot10.QuestSequence = list83; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(67); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - CollectionsMarshal.AsSpan(list86)[0] = "Cacahuetes"; - questRoot11.Author = list86; - num = 7; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - Span span39 = CollectionsMarshal.AsSpan(list87); - ref QuestSequence reference63 = ref span39[0]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj62.Steps = list88; - reference63 = obj62; - ref QuestSequence reference64 = ref span39[1]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Interact, 1000199u, new Vector3(211.13904f, 1.5032018E-05f, 28.580078f), 132); - obj63.Steps = list89; - reference64 = obj63; - ref QuestSequence reference65 = ref span39[2]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 2 - }; - num2 = 12; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - Span span40 = CollectionsMarshal.AsSpan(list90); - span40[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-87.448326f, -3.8114734f, -77.68485f), 148) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows - }; - ref QuestStep reference66 = ref span40[1]; - QuestStep obj65 = new QuestStep(EInteractionType.Action, 2001173u, new Vector3(-88.24298f, 3.768982f, -88.24298f), 148) - { - StopDistance = 15f, - Action = EAction.HeavyShot - }; - num3 = 6; - List list91 = new List(num3); - CollectionsMarshal.SetCount(list91, num3); - Span span41 = CollectionsMarshal.AsSpan(list91); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - obj65.CompletionQuestVariablesFlags = list91; - reference66 = obj65; - ref QuestStep reference67 = ref span40[2]; - QuestStep questStep4 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-113.806755f, -3.824695f, -61.20561f), 148); - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 6; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - Span span42 = CollectionsMarshal.AsSpan(list92); - span42[0] = null; - span42[1] = null; - span42[2] = null; - span42[3] = null; - span42[4] = null; - span42[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - skipStepConditions5.CompletionQuestVariablesFlags = list92; - skipConditions7.StepIf = skipStepConditions5; - questStep4.SkipConditions = skipConditions7; - reference67 = questStep4; - ref QuestStep reference68 = ref span40[3]; - QuestStep obj66 = new QuestStep(EInteractionType.Action, 2001171u, new Vector3(-115.58716f, -3.402832f, -51.07196f), 148) - { - StopDistance = 15f, - Action = EAction.HeavyShot - }; - num3 = 6; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - Span span43 = CollectionsMarshal.AsSpan(list93); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - obj66.CompletionQuestVariablesFlags = list93; - reference68 = obj66; - ref QuestStep reference69 = ref span40[4]; - QuestStep questStep5 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-142.90863f, -1.355497f, -69.45994f), 148); - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 6; - List list94 = new List(num3); - CollectionsMarshal.SetCount(list94, num3); - Span span44 = CollectionsMarshal.AsSpan(list94); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - skipStepConditions6.CompletionQuestVariablesFlags = list94; - skipConditions8.StepIf = skipStepConditions6; - questStep5.SkipConditions = skipConditions8; - reference69 = questStep5; - ref QuestStep reference70 = ref span40[5]; - QuestStep obj67 = new QuestStep(EInteractionType.Action, 2000940u, new Vector3(-143.32806f, -0.41204834f, -58.884644f), 148) - { - StopDistance = 15f, - Action = EAction.HeavyShot - }; - num3 = 6; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - Span span45 = CollectionsMarshal.AsSpan(list95); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj67.CompletionQuestVariablesFlags = list95; - reference70 = obj67; - ref QuestStep reference71 = ref span40[6]; - QuestStep questStep6 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-154.95493f, 4.0352364f, -132.85217f), 148); - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 6; - List list96 = new List(num3); - CollectionsMarshal.SetCount(list96, num3); - Span span46 = CollectionsMarshal.AsSpan(list96); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions7.CompletionQuestVariablesFlags = list96; - skipConditions9.StepIf = skipStepConditions7; - questStep6.SkipConditions = skipConditions9; - reference71 = questStep6; - ref QuestStep reference72 = ref span40[7]; - QuestStep obj68 = new QuestStep(EInteractionType.Action, 2000939u, new Vector3(-166.97955f, 10.2387085f, -138.41461f), 148) - { - StopDistance = 15f, - Action = EAction.HeavyShot - }; - num3 = 6; - List list97 = new List(num3); - CollectionsMarshal.SetCount(list97, num3); - Span span47 = CollectionsMarshal.AsSpan(list97); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj68.CompletionQuestVariablesFlags = list97; - reference72 = obj68; - ref QuestStep reference73 = ref span40[8]; - QuestStep questStep7 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-114.08684f, 7.6589117f, -173.19547f), 148); - SkipConditions skipConditions10 = new SkipConditions(); - SkipStepConditions skipStepConditions8 = new SkipStepConditions(); - num3 = 6; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - Span span48 = CollectionsMarshal.AsSpan(list98); - span48[0] = null; - span48[1] = null; - span48[2] = null; - span48[3] = null; - span48[4] = null; - span48[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions8.CompletionQuestVariablesFlags = list98; - skipConditions10.StepIf = skipStepConditions8; - questStep7.SkipConditions = skipConditions10; - reference73 = questStep7; - ref QuestStep reference74 = ref span40[9]; - QuestStep obj69 = new QuestStep(EInteractionType.Action, 2000938u, new Vector3(-120.68359f, 12.49707f, -182.39111f), 148) - { - StopDistance = 15f, - Action = EAction.HeavyShot - }; - num3 = 6; - List list99 = new List(num3); - CollectionsMarshal.SetCount(list99, num3); - Span span49 = CollectionsMarshal.AsSpan(list99); - span49[0] = null; - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj69.CompletionQuestVariablesFlags = list99; - reference74 = obj69; - span40[10] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-74.71171f, -4f, -190.44055f), 148); - span40[11] = new QuestStep(EInteractionType.Action, 2000937u, new Vector3(-80.76605f, -2.3651733f, -196.49048f), 148) - { - StopDistance = 15f, - Action = EAction.HeavyShot - }; - obj64.Steps = list90; - reference65 = obj64; - ref QuestSequence reference75 = ref span39[3]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.Interact, 1000199u, new Vector3(211.13904f, 1.5032018E-05f, 28.580078f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - } - }; - obj70.Steps = list100; - reference75 = obj70; - ref QuestSequence reference76 = ref span39[4]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - Span span50 = CollectionsMarshal.AsSpan(list101); - span50[0] = new QuestStep(EInteractionType.Interact, 1001263u, new Vector3(181.41443f, -2.3519497f, -240.40594f), 133) - { - TargetTerritoryId = (ushort)152, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaArcher, - To = EAetheryteLocation.GridaniaLancer - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.EastShroudHawthorneHut - } - } - }; - span50[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 152) - { - Aetheryte = EAetheryteLocation.EastShroudHawthorneHut - }; - ref QuestStep reference77 = ref span50[2]; - QuestStep obj72 = new QuestStep(EInteractionType.Combat, null, new Vector3(-431.09494f, 2.9039853f, 239.26413f), 152) - { - StopDistance = 0.5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - Span span51 = CollectionsMarshal.AsSpan(list102); - ref ComplexCombatData reference78 = ref span51[0]; - ComplexCombatData obj73 = new ComplexCombatData - { - DataId = 12u, - MinimumKillCount = 8u - }; - int num4 = 6; - List list103 = new List(num4); - CollectionsMarshal.SetCount(list103, num4); - Span span52 = CollectionsMarshal.AsSpan(list103); - span52[0] = null; - span52[1] = new QuestWorkValue((byte)8, null, EQuestWorkMode.Bitwise); - span52[2] = null; - span52[3] = null; - span52[4] = null; - span52[5] = null; - obj73.CompletionQuestVariablesFlags = list103; - reference78 = obj73; - ref ComplexCombatData reference79 = ref span51[1]; - ComplexCombatData obj74 = new ComplexCombatData - { - DataId = 39u, - MinimumKillCount = 8u - }; - num4 = 6; - List list104 = new List(num4); - CollectionsMarshal.SetCount(list104, num4); - Span span53 = CollectionsMarshal.AsSpan(list104); - span53[0] = new QuestWorkValue(null, (byte)8, EQuestWorkMode.Bitwise); - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = null; - obj74.CompletionQuestVariablesFlags = list104; - reference79 = obj74; - obj72.ComplexCombatData = list102; - obj72.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true, - AetheryteLocked = EAetheryteLocation.EastShroudHawthorneHut - } - }; - reference77 = obj72; - obj71.Steps = list101; - reference76 = obj71; - ref QuestSequence reference80 = ref span39[5]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 1000199u, new Vector3(211.13904f, 1.5032018E-05f, 28.580078f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - } - }; - obj75.Steps = list105; - reference80 = obj75; - ref QuestSequence reference81 = ref span39[6]; - QuestSequence obj76 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - ref QuestStep reference82 = ref CollectionsMarshal.AsSpan(list106)[0]; - QuestStep obj77 = new QuestStep(EInteractionType.CompleteQuest, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) - { - StopDistance = 7f - }; - num3 = 1; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - CollectionsMarshal.AsSpan(list107)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSARC002_00067_Q1_000_1") - }; - obj77.DialogueChoices = list107; - obj77.NextQuestId = new QuestId(68); - reference82 = obj77; - obj76.Steps = list106; - reference81 = obj76; - questRoot11.QuestSequence = list87; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(68); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - CollectionsMarshal.AsSpan(list108)[0] = "pot0to"; - questRoot12.Author = list108; - num = 7; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - Span span54 = CollectionsMarshal.AsSpan(list109); - ref QuestSequence reference83 = ref span54[0]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj78.Steps = list110; - reference83 = obj78; - ref QuestSequence reference84 = ref span54[1]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.Interact, 1000204u, new Vector3(226.33704f, 1.9999089f, 29.06836f), 132); - obj79.Steps = list111; - reference84 = obj79; - ref QuestSequence reference85 = ref span54[2]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 2 - }; - num2 = 14; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span55 = CollectionsMarshal.AsSpan(list112); - span55[0] = new QuestStep(EInteractionType.Interact, 1001263u, new Vector3(181.41443f, -2.3519497f, -240.40594f), 133) - { - TargetTerritoryId = (ushort)152, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaArcher, - To = EAetheryteLocation.GridaniaLancer - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.EastShroudHawthorneHut - } - } - }; - span55[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 152) - { - Aetheryte = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.EastShroudHawthorneHut - } - } - }; - ref QuestStep reference86 = ref span55[2]; - QuestStep obj81 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-326.03064f, 9.169003f, 323.19617f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipStepConditions skipStepConditions9 = new SkipStepConditions(); - num3 = 6; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - Span span56 = CollectionsMarshal.AsSpan(list113); - span56[0] = null; - span56[1] = null; - span56[2] = null; - span56[3] = null; - span56[4] = null; - span56[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions9.CompletionQuestVariablesFlags = list113; - skipConditions11.StepIf = skipStepConditions9; - skipConditions11.AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj81.SkipConditions = skipConditions11; - reference86 = obj81; - ref QuestStep reference87 = ref span55[3]; - QuestStep obj82 = new QuestStep(EInteractionType.Action, 2000944u, new Vector3(-330.12903f, 16.708557f, 329.67102f), 152) - { - StopDistance = 20f, - Action = EAction.HeavyShot - }; - num3 = 6; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - Span span57 = CollectionsMarshal.AsSpan(list114); - span57[0] = null; - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj82.CompletionQuestVariablesFlags = list114; - reference87 = obj82; - ref QuestStep reference88 = ref span55[4]; - QuestStep questStep8 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-321.1917f, 0.22361445f, 297.61597f), 152); - SkipConditions skipConditions12 = new SkipConditions(); - SkipStepConditions skipStepConditions10 = new SkipStepConditions(); - num3 = 6; - List list115 = new List(num3); - CollectionsMarshal.SetCount(list115, num3); - Span span58 = CollectionsMarshal.AsSpan(list115); - span58[0] = null; - span58[1] = null; - span58[2] = null; - span58[3] = null; - span58[4] = null; - span58[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions10.CompletionQuestVariablesFlags = list115; - skipConditions12.StepIf = skipStepConditions10; - questStep8.SkipConditions = skipConditions12; - reference88 = questStep8; - ref QuestStep reference89 = ref span55[5]; - QuestStep obj83 = new QuestStep(EInteractionType.Action, 2000943u, new Vector3(-330.73932f, 9.262146f, 290.1808f), 152) - { - StopDistance = 20f, - Action = EAction.HeavyShot - }; - num3 = 6; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - Span span59 = CollectionsMarshal.AsSpan(list116); - span59[0] = null; - span59[1] = null; - span59[2] = null; - span59[3] = null; - span59[4] = null; - span59[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj83.CompletionQuestVariablesFlags = list116; - reference89 = obj83; - ref QuestStep reference90 = ref span55[6]; - QuestStep questStep9 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-358.00266f, 6.9801626f, 306.18744f), 152); - SkipConditions skipConditions13 = new SkipConditions(); - SkipStepConditions skipStepConditions11 = new SkipStepConditions(); - num3 = 6; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - Span span60 = CollectionsMarshal.AsSpan(list117); - span60[0] = null; - span60[1] = null; - span60[2] = null; - span60[3] = null; - span60[4] = null; - span60[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - skipStepConditions11.CompletionQuestVariablesFlags = list117; - skipConditions13.StepIf = skipStepConditions11; - questStep9.SkipConditions = skipConditions13; - reference90 = questStep9; - ref QuestStep reference91 = ref span55[7]; - QuestStep obj84 = new QuestStep(EInteractionType.Action, 2000945u, new Vector3(-364.55334f, 14.480774f, 307.60657f), 152) - { - StopDistance = 20f, - Action = EAction.HeavyShot - }; - num3 = 6; - List list118 = new List(num3); - CollectionsMarshal.SetCount(list118, num3); - Span span61 = CollectionsMarshal.AsSpan(list118); - span61[0] = null; - span61[1] = null; - span61[2] = null; - span61[3] = null; - span61[4] = null; - span61[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj84.CompletionQuestVariablesFlags = list118; - reference91 = obj84; - ref QuestStep reference92 = ref span55[8]; - QuestStep questStep10 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-378.32364f, 6.10847f, 269.35767f), 152); - SkipConditions skipConditions14 = new SkipConditions(); - SkipStepConditions skipStepConditions12 = new SkipStepConditions(); - num3 = 6; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - Span span62 = CollectionsMarshal.AsSpan(list119); - span62[0] = null; - span62[1] = null; - span62[2] = null; - span62[3] = null; - span62[4] = null; - span62[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions12.CompletionQuestVariablesFlags = list119; - skipConditions14.StepIf = skipStepConditions12; - questStep10.SkipConditions = skipConditions14; - reference92 = questStep10; - ref QuestStep reference93 = ref span55[9]; - QuestStep obj85 = new QuestStep(EInteractionType.Action, 2000942u, new Vector3(-378.53058f, 9.048584f, 262.68408f), 152) - { - StopDistance = 20f, - Action = EAction.HeavyShot - }; - num3 = 6; - List list120 = new List(num3); - CollectionsMarshal.SetCount(list120, num3); - Span span63 = CollectionsMarshal.AsSpan(list120); - span63[0] = null; - span63[1] = null; - span63[2] = null; - span63[3] = null; - span63[4] = null; - span63[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj85.CompletionQuestVariablesFlags = list120; - reference93 = obj85; - ref QuestStep reference94 = ref span55[10]; - QuestStep questStep11 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-301.42407f, 0.17268503f, 257.9185f), 152); - SkipConditions skipConditions15 = new SkipConditions(); - SkipStepConditions skipStepConditions13 = new SkipStepConditions(); - num3 = 6; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - Span span64 = CollectionsMarshal.AsSpan(list121); - span64[0] = null; - span64[1] = null; - span64[2] = null; - span64[3] = null; - span64[4] = null; - span64[5] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - skipStepConditions13.CompletionQuestVariablesFlags = list121; - skipConditions15.StepIf = skipStepConditions13; - questStep11.SkipConditions = skipConditions15; - reference94 = questStep11; - ref QuestStep reference95 = ref span55[11]; - QuestStep obj86 = new QuestStep(EInteractionType.Action, 2001179u, new Vector3(-297.29156f, 5.996765f, 250.96509f), 152) - { - StopDistance = 20f, - Action = EAction.HeavyShot - }; - num3 = 6; - List list122 = new List(num3); - CollectionsMarshal.SetCount(list122, num3); - Span span65 = CollectionsMarshal.AsSpan(list122); - span65[0] = null; - span65[1] = null; - span65[2] = null; - span65[3] = null; - span65[4] = null; - span65[5] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - obj86.CompletionQuestVariablesFlags = list122; - reference95 = obj86; - span55[12] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-264.77237f, -3.2272563f, 240.00267f), 152); - span55[13] = new QuestStep(EInteractionType.Action, 2000946u, new Vector3(-269.00134f, 4.2266846f, 230.45691f), 152) - { - StopDistance = 20f, - Action = EAction.HeavyShot - }; - obj80.Steps = list112; - reference85 = obj80; - ref QuestSequence reference96 = ref span54[3]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.Interact, 1000204u, new Vector3(226.33704f, 1.9999089f, 29.06836f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - } - }; - obj87.Steps = list123; - reference96 = obj87; - ref QuestSequence reference97 = ref span54[4]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2000962u, new Vector3(288.56335f, -11.306946f, 52.384155f), 154) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaArcher, - To = EAetheryteLocation.GridaniaYellowSerpentGate - } - }; - obj88.Steps = list124; - reference97 = obj88; - ref QuestSequence reference98 = ref span54[5]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.Interact, 1000204u, new Vector3(226.33704f, 1.9999089f, 29.06836f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - } - }; - obj89.Steps = list125; - reference98 = obj89; - ref QuestSequence reference99 = ref span54[6]; - QuestSequence obj90 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) - { - NextQuestId = new QuestId(70) - }; - obj90.Steps = list126; - reference99 = obj90; - questRoot12.QuestSequence = list109; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(69); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list127 = new List(num); - CollectionsMarshal.SetCount(list127, num); - CollectionsMarshal.AsSpan(list127)[0] = "JerryWester"; - questRoot13.Author = list127; - num = 6; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - Span span66 = CollectionsMarshal.AsSpan(list128); - ref QuestSequence reference100 = ref span66[0]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006444u, new Vector3(-432.9748f, 233.47266f, -199.6643f), 155); - obj91.Steps = list129; - reference100 = obj91; - ref QuestSequence reference101 = ref span66[1]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - Span span67 = CollectionsMarshal.AsSpan(list130); - span67[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-431.02658f, 259.97607f, -195.07794f), 155) - { - Fly = true - }; - span67[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-424.12082f, 265.1f, -206.61f), 155); - span67[2] = new QuestStep(EInteractionType.Interact, 2004652u, new Vector3(-440.6301f, 211f, -263.6248f), 155) - { - Fly = true - }; - obj92.Steps = list130; - reference101 = obj92; - ref QuestSequence reference102 = ref span66[2]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.Interact, 2004653u, new Vector3(-451.89594f, 221.6372f, -149.27905f), 155) - { - Fly = true - }; - obj93.Steps = list131; - reference102 = obj93; - ref QuestSequence reference103 = ref span66[3]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.Interact, 2004654u, new Vector3(-345.14386f, 254.4137f, -95.384155f), 155) - { - Fly = true - }; - obj94.Steps = list132; - reference103 = obj94; - ref QuestSequence reference104 = ref span66[4]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - Span span68 = CollectionsMarshal.AsSpan(list133); - span68[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-340.60776f, 259.52878f, 58.521606f), 155) - { - Fly = true - }; - span68[1] = new QuestStep(EInteractionType.Interact, 2004655u, new Vector3(-386.1906f, 270.46606f, 77.62268f), 155) - { - Fly = true - }; - obj95.Steps = list133; - reference104 = obj95; - ref QuestSequence reference105 = ref span66[5]; - QuestSequence obj96 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - Span span69 = CollectionsMarshal.AsSpan(list134); - span69[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-424.22275f, 265.1f, -206.5006f), 155) - { - Fly = true - }; - span69[1] = new QuestStep(EInteractionType.CompleteQuest, 1006444u, new Vector3(-432.9748f, 233.47266f, -199.6643f), 155); - obj96.Steps = list134; - reference105 = obj96; - questRoot13.QuestSequence = list128; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(70); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list135 = new List(num); - CollectionsMarshal.SetCount(list135, num); - CollectionsMarshal.AsSpan(list135)[0] = "pot0to"; - questRoot14.Author = list135; - num = 7; - List list136 = new List(num); - CollectionsMarshal.SetCount(list136, num); - Span span70 = CollectionsMarshal.AsSpan(list136); - ref QuestSequence reference106 = ref span70[0]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj97.Steps = list137; - reference106 = obj97; - ref QuestSequence reference107 = ref span70[1]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - Span span71 = CollectionsMarshal.AsSpan(list138); - span71[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-166.19086f, 8.399985f, -64.10584f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span71[1] = new QuestStep(EInteractionType.Interact, 1000590u, new Vector3(-165.9419f, 9.869227f, -81.34589f), 153); - obj98.Steps = list138; - reference107 = obj98; - ref QuestSequence reference108 = ref span70[2]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - Span span72 = CollectionsMarshal.AsSpan(list139); - ref QuestStep reference109 = ref span72[0]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 2000949u, new Vector3(-258.9914f, 10.330261f, -46.00598f), 153); - num3 = 6; - List list140 = new List(num3); - CollectionsMarshal.SetCount(list140, num3); - Span span73 = CollectionsMarshal.AsSpan(list140); - span73[0] = null; - span73[1] = null; - span73[2] = null; - span73[3] = null; - span73[4] = null; - span73[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list140; - reference109 = questStep12; - ref QuestStep reference110 = ref span72[1]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 2000948u, new Vector3(-270.00848f, 15.487854f, -91.17267f), 153); - num3 = 6; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - Span span74 = CollectionsMarshal.AsSpan(list141); - span74[0] = null; - span74[1] = null; - span74[2] = null; - span74[3] = null; - span74[4] = null; - span74[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list141; - reference110 = questStep13; - ref QuestStep reference111 = ref span72[2]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 2000947u, new Vector3(-318.07434f, 18.936401f, -165.11792f), 153); - num3 = 6; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - Span span75 = CollectionsMarshal.AsSpan(list142); - span75[0] = null; - span75[1] = null; - span75[2] = null; - span75[3] = null; - span75[4] = null; - span75[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list142; - reference111 = questStep14; - obj99.Steps = list139; - reference108 = obj99; - ref QuestSequence reference112 = ref span70[3]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - ref QuestStep reference113 = ref CollectionsMarshal.AsSpan(list143)[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 2001105u, new Vector3(-173.02203f, 9.872559f, -78.690796f), 153); - num3 = 2; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - Span span76 = CollectionsMarshal.AsSpan(list144); - span76[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CLSARC004_00070_Q1_000_1"), - Answer = new ExcelRef("TEXT_CLSARC004_00070_A1_000_1") - }; - span76[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CLSARC004_00070_Q2_000_1"), - Answer = new ExcelRef("TEXT_CLSARC004_00070_A2_000_3") - }; - questStep15.DialogueChoices = list144; - reference113 = questStep15; - obj100.Steps = list143; - reference112 = obj100; - ref QuestSequence reference114 = ref span70[4]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - Span span77 = CollectionsMarshal.AsSpan(list145); - span77[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-192.12004f, 8.180927f, -65.00513f), 153); - span77[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 2000136u, new Vector3(-295.85718f, 23.575134f, -192.34003f), 153); - obj101.Steps = list145; - reference114 = obj101; - ref QuestSequence reference115 = ref span70[5]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.Interact, 1000590u, new Vector3(-165.9419f, 9.869227f, -81.34589f), 153); - obj102.Steps = list146; - reference115 = obj102; - ref QuestSequence reference116 = ref span70[6]; - QuestSequence obj103 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - }, - NextQuestId = new QuestId(71) - }; - obj103.Steps = list147; - reference116 = obj103; - questRoot14.QuestSequence = list136; - AddQuest(questId14, questRoot14); - AlliedSocietyDailyId questId15 = new AlliedSocietyDailyId(7, 0); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list148 = new List(num); - CollectionsMarshal.SetCount(list148, num); - CollectionsMarshal.AsSpan(list148)[0] = "liza"; - questRoot15.Author = list148; - num = 1; - List list149 = new List(num); - CollectionsMarshal.SetCount(list149, num); - ref QuestSequence reference117 = ref CollectionsMarshal.AsSpan(list149)[0]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.39701f, -48.000008f, -172.36507f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj104.Steps = list150; - reference117 = obj104; - questRoot15.QuestSequence = list149; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(71); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list151 = new List(num); - CollectionsMarshal.SetCount(list151, num); - CollectionsMarshal.AsSpan(list151)[0] = "pot0to"; - questRoot16.Author = list151; - num = 6; - List list152 = new List(num); - CollectionsMarshal.SetCount(list152, num); - Span span78 = CollectionsMarshal.AsSpan(list152); - ref QuestSequence reference118 = ref span78[0]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj105.Steps = list153; - reference118 = obj105; - ref QuestSequence reference119 = ref span78[1]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.Interact, 1000204u, new Vector3(226.33704f, 1.9999089f, 29.06836f), 132); - obj106.Steps = list154; - reference119 = obj106; - ref QuestSequence reference120 = ref span78[2]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.Interact, 1000199u, new Vector3(211.13904f, 1.5032133E-05f, 28.580078f), 132); - obj107.Steps = list155; - reference120 = obj107; - ref QuestSequence reference121 = ref span78[3]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - ref QuestStep reference122 = ref CollectionsMarshal.AsSpan(list156)[0]; - QuestStep obj109 = new QuestStep(EInteractionType.Interact, 2000951u, new Vector3(-1.8158569f, 6.9122925f, -93.0343f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill - }; - num3 = 1; - List list157 = new List(num3); - CollectionsMarshal.SetCount(list157, num3); - CollectionsMarshal.AsSpan(list157)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CLSARC005_00071_Q1_000_1"), - Answer = new ExcelRef("TEXT_CLSARC005_00071_A1_000_1") - }; - obj109.DialogueChoices = list157; - reference122 = obj109; - obj108.Steps = list156; - reference121 = obj108; - ref QuestSequence reference123 = ref span78[4]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - Span span79 = CollectionsMarshal.AsSpan(list158); - span79[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(60.130726f, -5.9999475f, 63.516415f), 148) - { - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span79[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 1000534u, new Vector3(134.47766f, -7f, -69.993164f), 148) - { - Fly = true - }; - obj110.Steps = list158; - reference123 = obj110; - ref QuestSequence reference124 = ref span78[5]; - QuestSequence obj111 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - }, - NextQuestId = new QuestId(76) - }; - obj111.Steps = list159; - reference124 = obj111; - questRoot16.QuestSequence = list152; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(74); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list160 = new List(num); - CollectionsMarshal.SetCount(list160, num); - CollectionsMarshal.AsSpan(list160)[0] = "JerryWester"; - questRoot17.Author = list160; - num = 4; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - Span span80 = CollectionsMarshal.AsSpan(list161); - ref QuestSequence reference125 = ref span80[0]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006444u, new Vector3(-432.9748f, 233.47266f, -199.6643f), 155); - obj112.Steps = list162; - reference125 = obj112; - ref QuestSequence reference126 = ref span80[1]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - Span span81 = CollectionsMarshal.AsSpan(list163); - span81[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-431.02658f, 259.97607f, -195.07794f), 155) - { - Fly = true - }; - span81[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-424.12082f, 265.1f, -206.61f), 155); - span81[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-347.32645f, 262.82175f, 64.73429f), 155) - { - Fly = true - }; - span81[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-480.23077f, 296.2006f, 146.4662f), 155) - { - Fly = true - }; - ref QuestStep reference127 = ref span81[4]; - QuestStep obj114 = new QuestStep(EInteractionType.Combat, null, new Vector3(-383.5987f, 231.30257f, 306.35776f), 155) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - Span span82 = CollectionsMarshal.AsSpan(list164); - span82[0] = 724u; - span82[1] = 725u; - span82[2] = 726u; - obj114.KillEnemyDataIds = list164; - reference127 = obj114; - obj113.Steps = list163; - reference126 = obj113; - ref QuestSequence reference128 = ref span80[2]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.Interact, 2005002u, new Vector3(-381.7655f, 230.82312f, 303.57812f), 155); - obj115.Steps = list165; - reference128 = obj115; - ref QuestSequence reference129 = ref span80[3]; - QuestSequence obj116 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - Span span83 = CollectionsMarshal.AsSpan(list166); - span83[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-480.23077f, 296.2006f, 146.4662f), 155) - { - Fly = true - }; - span83[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-347.32645f, 262.82175f, 64.73429f), 155) - { - Fly = true - }; - span83[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-424.22275f, 265.1f, -206.5006f), 155) - { - Fly = true - }; - span83[3] = new QuestStep(EInteractionType.CompleteQuest, 1006444u, new Vector3(-432.9748f, 233.47266f, -199.6643f), 155); - obj116.Steps = list166; - reference129 = obj116; - questRoot17.QuestSequence = list161; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(75); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list167 = new List(num); - CollectionsMarshal.SetCount(list167, num); - CollectionsMarshal.AsSpan(list167)[0] = "JerryWester"; - questRoot18.Author = list167; - num = 7; - List list168 = new List(num); - CollectionsMarshal.SetCount(list168, num); - Span span84 = CollectionsMarshal.AsSpan(list168); - ref QuestSequence reference130 = ref span84[0]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006444u, new Vector3(-432.9748f, 233.47266f, -199.6643f), 155); - obj117.Steps = list169; - reference130 = obj117; - ref QuestSequence reference131 = ref span84[1]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - Span span85 = CollectionsMarshal.AsSpan(list170); - span85[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-431.02658f, 259.97607f, -195.07794f), 155) - { - Fly = true - }; - span85[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-424.12082f, 265.1f, -206.61f), 155); - span85[2] = new QuestStep(EInteractionType.Interact, 1010001u, new Vector3(-915.2514f, 229.35544f, -3.1586914f), 155) - { - Fly = true - }; - obj118.Steps = list170; - reference131 = obj118; - ref QuestSequence reference132 = ref span84[2]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.Interact, 1009996u, new Vector3(-902.61694f, 229.25244f, -9.689575f), 155); - obj119.Steps = list171; - reference132 = obj119; - ref QuestSequence reference133 = ref span84[3]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.Interact, 1010054u, new Vector3(-916.6552f, 229.3692f, -6.4240723f), 155); - obj120.Steps = list172; - reference133 = obj120; - ref QuestSequence reference134 = ref span84[4]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.Duty, null, null, 155) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 27u - } - }; - obj121.Steps = list173; - reference134 = obj121; - span84[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference135 = ref span84[6]; - QuestSequence obj122 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009996u, new Vector3(-902.61694f, 229.25244f, -9.689575f), 155); - obj122.Steps = list174; - reference135 = obj122; - questRoot18.QuestSequence = list168; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(76); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list175 = new List(num); - CollectionsMarshal.SetCount(list175, num); - CollectionsMarshal.AsSpan(list175)[0] = "pot0to"; - questRoot19.Author = list175; - num = 4; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - Span span86 = CollectionsMarshal.AsSpan(list176); - ref QuestSequence reference136 = ref span86[0]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj123.Steps = list177; - reference136 = obj123; - ref QuestSequence reference137 = ref span86[1]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1000795u, new Vector3(278.61438f, 8.346143f, -38.223938f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill - }; - obj124.Steps = list178; - reference137 = obj124; - ref QuestSequence reference138 = ref span86[2]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - CollectionsMarshal.AsSpan(list179)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2000709u, new Vector3(-90.74542f, 0.015197754f, 61.08191f), 153) - { - Fly = true, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Index = 1 - } - }; - obj125.Steps = list179; - reference138 = obj125; - ref QuestSequence reference139 = ref span86[3]; - QuestSequence obj126 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - }, - NextQuestId = new QuestId(1085) - }; - obj126.Steps = list180; - reference139 = obj126; - questRoot19.QuestSequence = list176; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(77); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list181 = new List(num); - CollectionsMarshal.SetCount(list181, num); - CollectionsMarshal.AsSpan(list181)[0] = "JerryWester"; - questRoot20.Author = list181; - num = 9; - List list182 = new List(num); - CollectionsMarshal.SetCount(list182, num); - Span span87 = CollectionsMarshal.AsSpan(list182); - ref QuestSequence reference140 = ref span87[0]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - CollectionsMarshal.AsSpan(list183)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009996u, new Vector3(-902.61694f, 229.25244f, -9.689575f), 155); - obj127.Steps = list183; - reference140 = obj127; - ref QuestSequence reference141 = ref span87[1]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - CollectionsMarshal.AsSpan(list184)[0] = new QuestStep(EInteractionType.Interact, 1009997u, new Vector3(-897.1847f, 230.48358f, -17.502136f), 155); - obj128.Steps = list184; - reference141 = obj128; - ref QuestSequence reference142 = ref span87[2]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.Interact, 1010148u, new Vector3(-427.1153f, 235.91968f, -119.76807f), 155) - { - Fly = true - }; - obj129.Steps = list185; - reference142 = obj129; - ref QuestSequence reference143 = ref span87[3]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - Span span88 = CollectionsMarshal.AsSpan(list186); - span88[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-347.32645f, 262.82175f, 64.73429f), 155) - { - Fly = true - }; - span88[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-480.23077f, 296.2006f, 146.4662f), 155) - { - Fly = true - }; - span88[2] = new QuestStep(EInteractionType.Interact, 2004657u, new Vector3(-395.31555f, 239.61243f, 343.83154f), 155) - { - Fly = true - }; - obj130.Steps = list186; - reference143 = obj130; - ref QuestSequence reference144 = ref span87[4]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.Interact, 1010149u, new Vector3(-302.05237f, 233.08154f, 406.05774f), 155) - { - Fly = true - }; - obj131.Steps = list187; - reference144 = obj131; - ref QuestSequence reference145 = ref span87[5]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - ref QuestStep reference146 = ref CollectionsMarshal.AsSpan(list188)[0]; - QuestStep obj133 = new QuestStep(EInteractionType.Combat, null, new Vector3(-192.44443f, 221.34477f, 438.09082f), 155) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list189 = new List(num3); - CollectionsMarshal.SetCount(list189, num3); - Span span89 = CollectionsMarshal.AsSpan(list189); - span89[0] = 726u; - span89[1] = 3122u; - obj133.KillEnemyDataIds = list189; - reference146 = obj133; - obj132.Steps = list188; - reference145 = obj132; - ref QuestSequence reference147 = ref span87[6]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.Interact, 1010150u, new Vector3(-190.11218f, 221.13583f, 438.83423f), 155); - obj134.Steps = list190; - reference147 = obj134; - ref QuestSequence reference148 = ref span87[7]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.Interact, 1010151u, new Vector3(158.73962f, 222.43689f, 302.96777f), 155) - { - Fly = true - }; - obj135.Steps = list191; - reference148 = obj135; - ref QuestSequence reference149 = ref span87[8]; - QuestSequence obj136 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.CompleteQuest, 1010191u, new Vector3(229.44983f, 222f, 347.31055f), 155); - obj136.Steps = list192; - reference149 = obj136; - questRoot20.QuestSequence = list182; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(78); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list193 = new List(num); - CollectionsMarshal.SetCount(list193, num); - CollectionsMarshal.AsSpan(list193)[0] = "JerryWester"; - questRoot21.Author = list193; - num = 6; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - Span span90 = CollectionsMarshal.AsSpan(list194); - ref QuestSequence reference150 = ref span90[0]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010191u, new Vector3(229.44983f, 222f, 347.31055f), 155); - obj137.Steps = list195; - reference150 = obj137; - ref QuestSequence reference151 = ref span90[1]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.Interact, 1010191u, new Vector3(229.44983f, 222f, 347.31055f), 155); - obj138.Steps = list196; - reference151 = obj138; - ref QuestSequence reference152 = ref span90[2]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.Interact, 1009130u, new Vector3(-157.00012f, 4f, -20.187744f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - obj139.Steps = list197; - reference152 = obj139; - ref QuestSequence reference153 = ref span90[3]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - ref QuestStep reference154 = ref CollectionsMarshal.AsSpan(list198)[0]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1000460u, new Vector3(-159.41101f, 4.054107f, -4.1047363f), 133); - num3 = 1; - List list199 = new List(num3); - CollectionsMarshal.SetCount(list199, num3); - CollectionsMarshal.AsSpan(list199)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_GAIUSE410_00078_Q1_000_1") - }; - questStep16.DialogueChoices = list199; - reference154 = questStep16; - obj140.Steps = list198; - reference153 = obj140; - ref QuestSequence reference155 = ref span90[4]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.Interact, 1009130u, new Vector3(-157.00012f, 4f, -20.187744f), 133); - obj141.Steps = list200; - reference155 = obj141; - ref QuestSequence reference156 = ref span90[5]; - QuestSequence obj142 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - Span span91 = CollectionsMarshal.AsSpan(list201); - span91[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-127.33281f, 5.385648f, -34.441406f), 133) - { - TargetTerritoryId = (ushort)132 - }; - span91[1] = new QuestStep(EInteractionType.CompleteQuest, 1010010u, new Vector3(-50.94995f, -3.440948f, 20.58435f), 132); - obj142.Steps = list201; - reference156 = obj142; - questRoot21.QuestSequence = list194; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(82); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list202 = new List(num); - CollectionsMarshal.SetCount(list202, num); - CollectionsMarshal.AsSpan(list202)[0] = "JerryWester"; - questRoot22.Author = list202; - num = 4; - List list203 = new List(num); - CollectionsMarshal.SetCount(list203, num); - Span span92 = CollectionsMarshal.AsSpan(list203); - ref QuestSequence reference157 = ref span92[0]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010147u, new Vector3(0.8086548f, -1.9957249f, -45.67035f), 351); - obj143.Steps = list204; - reference157 = obj143; - ref QuestSequence reference158 = ref span92[1]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - Span span93 = CollectionsMarshal.AsSpan(list205); - span93[0] = new QuestStep(EInteractionType.Interact, 2002880u, new Vector3(-0.015319824f, -1.0223389f, -29.251587f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span93[1] = new QuestStep(EInteractionType.Interact, 2002879u, new Vector3(-0.015319824f, 2.9754639f, 27.481445f), 351) - { - TargetTerritoryId = (ushort)156 - }; - span93[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(30.917934f, 20.495003f, -656.1909f), 156) - { - Mount = true - }; - span93[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(83.74144f, 31.209013f, -740.77594f), 156) - { - Fly = true - }; - span93[4] = new QuestStep(EInteractionType.Interact, 2004661u, new Vector3(83.14636f, 31.204712f, -741.1765f), 156); - obj144.Steps = list205; - reference158 = obj144; - ref QuestSequence reference159 = ref span92[2]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.Interact, 1010039u, new Vector3(83.81775f, 31.216015f, -744.6555f), 156) - { - StopDistance = 7f - }; - obj145.Steps = list206; - reference159 = obj145; - ref QuestSequence reference160 = ref span92[3]; - QuestSequence obj146 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - Span span94 = CollectionsMarshal.AsSpan(list207); - span94[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(30.917934f, 20.495003f, -656.1909f), 156) - { - Fly = true - }; - span94[1] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351 - }; - span94[2] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span94[3] = new QuestStep(EInteractionType.CompleteQuest, 1010147u, new Vector3(0.8086548f, -1.9957249f, -45.67035f), 351); - obj146.Steps = list207; - reference160 = obj146; - questRoot22.QuestSequence = list203; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(84); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list208 = new List(num); - CollectionsMarshal.SetCount(list208, num); - CollectionsMarshal.AsSpan(list208)[0] = "JerryWester"; - questRoot23.Author = list208; - num = 7; - List list209 = new List(num); - CollectionsMarshal.SetCount(list209, num); - Span span95 = CollectionsMarshal.AsSpan(list209); - ref QuestSequence reference161 = ref span95[0]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - CollectionsMarshal.AsSpan(list210)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008969u, new Vector3(0.99176025f, -1.9957249f, -45.700806f), 351); - obj147.Steps = list210; - reference161 = obj147; - ref QuestSequence reference162 = ref span95[1]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - CollectionsMarshal.AsSpan(list211)[0] = new QuestStep(EInteractionType.Interact, 1009996u, new Vector3(-902.61694f, 229.25244f, -9.689575f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj148.Steps = list211; - reference162 = obj148; - ref QuestSequence reference163 = ref span95[2]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - CollectionsMarshal.AsSpan(list212)[0] = new QuestStep(EInteractionType.Interact, 1009996u, new Vector3(-902.61694f, 229.25244f, -9.689575f), 155); - obj149.Steps = list212; - reference163 = obj149; - ref QuestSequence reference164 = ref span95[3]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - CollectionsMarshal.AsSpan(list213)[0] = new QuestStep(EInteractionType.Interact, 1010054u, new Vector3(-916.6552f, 229.3692f, -6.4240723f), 155); - obj150.Steps = list213; - reference164 = obj150; - ref QuestSequence reference165 = ref span95[4]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.Duty, null, null, 155) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 79u - } - }; - obj151.Steps = list214; - reference165 = obj151; - span95[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference166 = ref span95[6]; - QuestSequence obj152 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.CompleteQuest, 1010042u, new Vector3(-905.76025f, 229.29816f, -10.147278f), 155); - obj152.Steps = list215; - reference166 = obj152; - questRoot23.QuestSequence = list209; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(85); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list216 = new List(num); - CollectionsMarshal.SetCount(list216, num); - CollectionsMarshal.AsSpan(list216)[0] = "liza"; - questRoot24.Author = list216; - num = 3; - List list217 = new List(num); - CollectionsMarshal.SetCount(list217, num); - Span span96 = CollectionsMarshal.AsSpan(list217); - ref QuestSequence reference167 = ref span96[0]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - CollectionsMarshal.AsSpan(list218)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001140u, new Vector3(23.788818f, -8f, 115.861694f), 183); - obj153.Steps = list218; - reference167 = obj153; - ref QuestSequence reference168 = ref span96[1]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 1 - }; - num2 = 9; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - Span span97 = CollectionsMarshal.AsSpan(list219); - ref QuestStep reference169 = ref span97[0]; - QuestStep obj155 = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 132) - { - Aetheryte = EAetheryteLocation.Gridania - }; - num3 = 6; - List list220 = new List(num3); - CollectionsMarshal.SetCount(list220, num3); - Span span98 = CollectionsMarshal.AsSpan(list220); - span98[0] = null; - span98[1] = null; - span98[2] = null; - span98[3] = null; - span98[4] = null; - span98[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj155.CompletionQuestVariablesFlags = list220; - reference169 = obj155; - span97[1] = new QuestStep(EInteractionType.RegisterFreeOrFavoredAetheryte, null, null, 132) - { - Aetheryte = EAetheryteLocation.Gridania - }; - span97[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 132) - { - AethernetShard = EAetheryteLocation.GridaniaArcher - }; - span97[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(102.810745f, 5.4071116f, 12.54738f), 132) - { - TargetTerritoryId = (ushort)133 - }; - span97[4] = new QuestStep(EInteractionType.Interact, 1000768u, new Vector3(172.35059f, 15.5f, -89.951965f), 133) - { - Comment = "TODO Questflags" - }; - span97[5] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaLeatherworker - }; - span97[6] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(121.70568f, 12.25941f, -100.795494f), 133); - span97[7] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaLancer - }; - span97[8] = new QuestStep(EInteractionType.Interact, 1000251u, new Vector3(147.08167f, 15.5f, -267.99426f), 133) - { - Comment = "Lancer Receptionist" - }; - obj154.Steps = list219; - reference168 = obj154; - ref QuestSequence reference170 = ref span96[2]; - QuestSequence obj156 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 8; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - Span span99 = CollectionsMarshal.AsSpan(list221); - span99[0] = new QuestStep(EInteractionType.Interact, 1000251u, new Vector3(147.08167f, 15.5f, -267.99426f), 133) - { - Disabled = true, - Comment = "Pick up Class Quest" - }; - span99[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaAmphitheatre, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLancer, - To = EAetheryteLocation.GridaniaLeatherworker - } - }; - span99[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-174.09056f, 10.91981f, -162.12527f), 133); - span99[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaBotanist - }; - span99[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaConjurer, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaBotanist, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - span99[5] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 148) - { - Aetheryte = EAetheryteLocation.CentralShroudBentbranchMeadows, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaConjurer, - To = EAetheryteLocation.GridaniaBlueBadgerGate - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span99[6] = new QuestStep(EInteractionType.None, null, null, 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span99[7] = new QuestStep(EInteractionType.CompleteQuest, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaConjurer, - To = EAetheryteLocation.GridaniaAirship - } - }; - obj156.Steps = list221; - reference170 = obj156; - questRoot24.QuestSequence = list217; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(86); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list222 = new List(num); - CollectionsMarshal.SetCount(list222, num); - CollectionsMarshal.AsSpan(list222)[0] = "JerryWester"; - questRoot25.Author = list222; - num = 4; - List list223 = new List(num); - CollectionsMarshal.SetCount(list223, num); - Span span100 = CollectionsMarshal.AsSpan(list223); - ref QuestSequence reference171 = ref span100[0]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010042u, new Vector3(-905.76025f, 229.29816f, -10.147278f), 155); - obj157.Steps = list224; - reference171 = obj157; - ref QuestSequence reference172 = ref span100[1]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - Span span101 = CollectionsMarshal.AsSpan(list225); - span101[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-430.21158f, 265.1f, -212.42732f), 155) - { - Fly = true - }; - span101[1] = new QuestStep(EInteractionType.Interact, 1009984u, new Vector3(-431.1742f, 233.47266f, -201.00714f), 155); - obj158.Steps = list225; - reference172 = obj158; - ref QuestSequence reference173 = ref span100[2]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - Span span102 = CollectionsMarshal.AsSpan(list226); - span102[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(240.2761f, 302.6276f, -199.78418f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span102[1] = new QuestStep(EInteractionType.Interact, 1006384u, new Vector3(263.5996f, 303.1f, -199.96954f), 155); - obj159.Steps = list226; - reference173 = obj159; - ref QuestSequence reference174 = ref span100[3]; - QuestSequence obj160 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - ref QuestStep reference175 = ref CollectionsMarshal.AsSpan(list227)[0]; - QuestStep obj161 = new QuestStep(EInteractionType.CompleteQuest, 1007603u, new Vector3(264.91187f, 302.26236f, -223.71259f), 155) - { - Mount = true - }; - num3 = 1; - List list228 = new List(num3); - CollectionsMarshal.SetCount(list228, num3); - CollectionsMarshal.AsSpan(list228)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_GAIUSE416_00086_FORTEMPSGUARD00054_Q1_000_1") - }; - obj161.DialogueChoices = list228; - reference175 = obj161; - obj160.Steps = list227; - reference174 = obj160; - questRoot25.QuestSequence = list223; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(87); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list229 = new List(num); - CollectionsMarshal.SetCount(list229, num); - CollectionsMarshal.AsSpan(list229)[0] = "JerryWester"; - questRoot26.Author = list229; - num = 2; - List list230 = new List(num); - CollectionsMarshal.SetCount(list230, num); - Span span103 = CollectionsMarshal.AsSpan(list230); - ref QuestSequence reference176 = ref span103[0]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009976u, new Vector3(261.58533f, 302.19598f, -223.10223f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj162.Steps = list231; - reference176 = obj162; - ref QuestSequence reference177 = ref span103[1]; - QuestSequence obj163 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - Span span104 = CollectionsMarshal.AsSpan(list232); - span104[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span104[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span104[2] = new QuestStep(EInteractionType.CompleteQuest, 1008969u, new Vector3(0.99176025f, -1.9957249f, -45.700806f), 351); - obj163.Steps = list232; - reference177 = obj163; - questRoot26.QuestSequence = list230; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(88); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list233 = new List(num); - CollectionsMarshal.SetCount(list233, num); - CollectionsMarshal.AsSpan(list233)[0] = "JerryWester"; - questRoot27.Author = list233; - num = 5; - List list234 = new List(num); - CollectionsMarshal.SetCount(list234, num); - Span span105 = CollectionsMarshal.AsSpan(list234); - ref QuestSequence reference178 = ref span105[0]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008969u, new Vector3(0.99176025f, -1.9957249f, -45.700806f), 351); - obj164.Steps = list235; - reference178 = obj164; - ref QuestSequence reference179 = ref span105[1]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - Span span106 = CollectionsMarshal.AsSpan(list236); - span106[0] = new QuestStep(EInteractionType.Interact, 2002880u, new Vector3(0f, -1f, -29.25f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span106[1] = new QuestStep(EInteractionType.Interact, 1010045u, new Vector3(-1.9990234f, 0f, -7.1260376f), 351); - obj165.Steps = list236; - reference179 = obj165; - ref QuestSequence reference180 = ref span105[2]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - CollectionsMarshal.AsSpan(list237)[0] = new QuestStep(EInteractionType.Interact, 1010533u, new Vector3(47.287598f, 4f, 453.97107f), 147) - { - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCampBluefog - }; - obj166.Steps = list237; - reference180 = obj166; - ref QuestSequence reference181 = ref span105[3]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - ref QuestStep reference182 = ref CollectionsMarshal.AsSpan(list238)[0]; - QuestStep obj168 = new QuestStep(EInteractionType.SinglePlayerDuty, 1010046u, new Vector3(-140.1236f, 58.32732f, -82.07831f), 147) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCeruleumProcessingPlant - }; - SinglePlayerDutyOptions obj169 = new SinglePlayerDutyOptions - { - Enabled = true - }; - num3 = 2; - List list239 = new List(num3); - CollectionsMarshal.SetCount(list239, num3); - Span span107 = CollectionsMarshal.AsSpan(list239); - span107[0] = "Will target Eline first (other NPCs later), and move to some -other- group of NPCs; only re-targets once they're at 1 HP (for Eline) or die"; - span107[1] = "If the target isn't in melee range but other NPCs are, whether any AOEs are used for nearby enemies seems random"; - obj169.Notes = list239; - obj168.SinglePlayerDutyOptions = obj169; - reference182 = obj168; - obj167.Steps = list238; - reference181 = obj167; - ref QuestSequence reference183 = ref span105[4]; - QuestSequence obj170 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.CompleteQuest, 1010063u, new Vector3(-207.56854f, 71.617355f, -132.52466f), 147) - { - StopDistance = 5f - }; - obj170.Steps = list240; - reference183 = obj170; - questRoot27.QuestSequence = list234; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(89); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list241 = new List(num); - CollectionsMarshal.SetCount(list241, num); - CollectionsMarshal.AsSpan(list241)[0] = "JerryWester"; - questRoot28.Author = list241; - num = 2; - List list242 = new List(num); - CollectionsMarshal.SetCount(list242, num); - Span span108 = CollectionsMarshal.AsSpan(list242); - ref QuestSequence reference184 = ref span108[0]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010063u, new Vector3(-207.56854f, 71.617355f, -132.52466f), 147) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCeruleumProcessingPlant, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj171.Steps = list243; - reference184 = obj171; - ref QuestSequence reference185 = ref span108[1]; - QuestSequence obj172 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - Span span109 = CollectionsMarshal.AsSpan(list244); - span109[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span109[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span109[2] = new QuestStep(EInteractionType.CompleteQuest, 1008969u, new Vector3(0.99176025f, -1.9957249f, -45.700806f), 351); - obj172.Steps = list244; - reference185 = obj172; - questRoot28.QuestSequence = list242; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(90); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list245 = new List(num); - CollectionsMarshal.SetCount(list245, num); - CollectionsMarshal.AsSpan(list245)[0] = "liza"; - questRoot29.Author = list245; - num = 6; - List list246 = new List(num); - CollectionsMarshal.SetCount(list246, num); - Span span110 = CollectionsMarshal.AsSpan(list246); - ref QuestSequence reference186 = ref span110[0]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.AcceptQuest, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212); - obj173.Steps = list247; - reference186 = obj173; - ref QuestSequence reference187 = ref span110[1]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - Span span111 = CollectionsMarshal.AsSpan(list248); - span111[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-424.22275f, 265.1f, -206.5006f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span111[1] = new QuestStep(EInteractionType.Interact, 1006444u, new Vector3(-432.9748f, 233.47266f, -199.6643f), 155); - obj174.Steps = list248; - reference187 = obj174; - ref QuestSequence reference188 = ref span110[2]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - Span span112 = CollectionsMarshal.AsSpan(list249); - span112[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-431.37878f, 259.79306f, -194.97882f), 155) - { - Fly = true - }; - span112[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-423.87833f, 266.9849f, -205.68484f), 155) - { - Fly = false - }; - span112[2] = new QuestStep(EInteractionType.Interact, 1010054u, new Vector3(-916.6552f, 229.3692f, -6.4240723f), 155) - { - Fly = true - }; - obj175.Steps = list249; - reference188 = obj175; - ref QuestSequence reference189 = ref span110[3]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - CollectionsMarshal.AsSpan(list250)[0] = new QuestStep(EInteractionType.Duty, null, null, 155) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 80u - } - }; - obj176.Steps = list250; - reference189 = obj176; - ref QuestSequence reference190 = ref span110[4]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - Span span113 = CollectionsMarshal.AsSpan(list251); - span113[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-424.22275f, 265.1f, -206.5006f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span113[1] = new QuestStep(EInteractionType.Interact, 1006444u, new Vector3(-432.9748f, 233.47266f, -199.6643f), 155); - obj177.Steps = list251; - reference190 = obj177; - ref QuestSequence reference191 = ref span110[5]; - QuestSequence obj178 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - Span span114 = CollectionsMarshal.AsSpan(list252); - span114[0] = new QuestStep(EInteractionType.UseItem, null, null, 132) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span114[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span114[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span114[3] = new QuestStep(EInteractionType.CompleteQuest, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212); - obj178.Steps = list252; - reference191 = obj178; - questRoot29.QuestSequence = list246; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(91); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list253 = new List(num); - CollectionsMarshal.SetCount(list253, num); - CollectionsMarshal.AsSpan(list253)[0] = "Cacahuetes"; - questRoot30.Author = list253; - num = 7; - List list254 = new List(num); - CollectionsMarshal.SetCount(list254, num); - Span span115 = CollectionsMarshal.AsSpan(list254); - ref QuestSequence reference192 = ref span115[0]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - ref QuestStep reference193 = ref CollectionsMarshal.AsSpan(list255)[0]; - QuestStep obj180 = new QuestStep(EInteractionType.AcceptQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - SkipConditions skipConditions16 = new SkipConditions(); - SkipAetheryteCondition obj181 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list256 = new List(num3); - CollectionsMarshal.SetCount(list256, num3); - CollectionsMarshal.AsSpan(list256)[0] = 133; - obj181.InTerritory = list256; - skipConditions16.AetheryteShortcutIf = obj181; - obj180.SkipConditions = skipConditions16; - reference193 = obj180; - obj179.Steps = list255; - reference192 = obj179; - ref QuestSequence reference194 = ref span115[1]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - Span span116 = CollectionsMarshal.AsSpan(list257); - span116[0] = new QuestStep(EInteractionType.Interact, 1001263u, new Vector3(181.41443f, -2.3519497f, -240.40594f), 133) - { - TargetTerritoryId = (ushort)152, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaConjurer, - To = EAetheryteLocation.GridaniaLancer - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.EastShroudHawthorneHut - } - } - }; - span116[1] = new QuestStep(EInteractionType.Interact, 1000767u, new Vector3(-483.42108f, 10.130882f, 209.46057f), 152) - { - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true, - AetheryteLocked = EAetheryteLocation.EastShroudHawthorneHut - } - } - }; - obj182.Steps = list257; - reference194 = obj182; - ref QuestSequence reference195 = ref span115[2]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - ref QuestStep reference196 = ref CollectionsMarshal.AsSpan(list258)[0]; - QuestStep obj184 = new QuestStep(EInteractionType.Combat, 2000885u, new Vector3(-510.6655f, 5.8422394f, 35.87895f), 152) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list259 = new List(num3); - CollectionsMarshal.SetCount(list259, num3); - CollectionsMarshal.AsSpan(list259)[0] = 295u; - obj184.KillEnemyDataIds = list259; - reference196 = obj184; - obj183.Steps = list258; - reference195 = obj183; - ref QuestSequence reference197 = ref span115[3]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.Interact, 1000767u, new Vector3(-483.42108f, 10.130882f, 209.46057f), 152); - obj185.Steps = list260; - reference197 = obj185; - ref QuestSequence reference198 = ref span115[4]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2000887u, new Vector3(-510.76526f, 6.1798096f, 35.568726f), 152) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj186.Steps = list261; - reference198 = obj186; - ref QuestSequence reference199 = ref span115[5]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - CollectionsMarshal.AsSpan(list262)[0] = new QuestStep(EInteractionType.Interact, 1000767u, new Vector3(-483.42108f, 10.130882f, 209.46057f), 152); - obj187.Steps = list262; - reference199 = obj187; - ref QuestSequence reference200 = ref span115[6]; - QuestSequence obj188 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - CollectionsMarshal.AsSpan(list263)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - }, - NextQuestId = new QuestId(92) - }; - obj188.Steps = list263; - reference200 = obj188; - questRoot30.QuestSequence = list254; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(92); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list264 = new List(num); - CollectionsMarshal.SetCount(list264, num); - CollectionsMarshal.AsSpan(list264)[0] = "Cacahuetes"; - questRoot31.Author = list264; - num = 9; - List list265 = new List(num); - CollectionsMarshal.SetCount(list265, num); - Span span117 = CollectionsMarshal.AsSpan(list265); - ref QuestSequence reference201 = ref span117[0]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - ref QuestStep reference202 = ref CollectionsMarshal.AsSpan(list266)[0]; - QuestStep obj190 = new QuestStep(EInteractionType.AcceptQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - SkipConditions skipConditions17 = new SkipConditions(); - SkipAetheryteCondition obj191 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list267 = new List(num3); - CollectionsMarshal.SetCount(list267, num3); - CollectionsMarshal.AsSpan(list267)[0] = 133; - obj191.InTerritory = list267; - skipConditions17.AetheryteShortcutIf = obj191; - obj190.SkipConditions = skipConditions17; - reference202 = obj190; - obj189.Steps = list266; - reference201 = obj189; - ref QuestSequence reference203 = ref span117[1]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - Span span118 = CollectionsMarshal.AsSpan(list268); - ref QuestStep reference204 = ref span118[0]; - QuestStep obj193 = new QuestStep(EInteractionType.Interact, 1001263u, new Vector3(181.41443f, -2.3519497f, -240.40594f), 133) - { - TargetTerritoryId = (ushort)152, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaConjurer, - To = EAetheryteLocation.GridaniaLancer - } - }; - SkipConditions skipConditions18 = new SkipConditions(); - SkipStepConditions skipStepConditions14 = new SkipStepConditions(); - num3 = 1; - List list269 = new List(num3); - CollectionsMarshal.SetCount(list269, num3); - CollectionsMarshal.AsSpan(list269)[0] = 152; - skipStepConditions14.InTerritory = list269; - skipStepConditions14.AetheryteUnlocked = EAetheryteLocation.EastShroudHawthorneHut; - skipConditions18.StepIf = skipStepConditions14; - obj193.SkipConditions = skipConditions18; - reference204 = obj193; - span118[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 152) - { - Aetheryte = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.EastShroudHawthorneHut - } - } - }; - span118[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-276.804f, 11.2529f, 366.10303f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - AetheryteLocked = EAetheryteLocation.EastShroudHawthorneHut - } - } - }; - ref QuestStep reference205 = ref span118[3]; - QuestStep obj194 = new QuestStep(EInteractionType.Combat, 2000889u, new Vector3(-276.93604f, 11.734131f, 367.20825f), 152) - { - ItemId = 2000121u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list270 = new List(num3); - CollectionsMarshal.SetCount(list270, num3); - CollectionsMarshal.AsSpan(list270)[0] = 297u; - obj194.KillEnemyDataIds = list270; - reference205 = obj194; - obj192.Steps = list268; - reference203 = obj192; - ref QuestSequence reference206 = ref span117[2]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - Span span119 = CollectionsMarshal.AsSpan(list271); - span119[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-235.35493f, 3.539142f, 293.25888f), 152) - { - Fly = true - }; - span119[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-233.34848f, 3.5425713f, 285.89532f), 152); - span119[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-228.59554f, 3.554365f, 283.47638f), 152) - { - DisableNavmesh = true - }; - span119[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-228.65686f, 3.5446393f, 279.4041f), 152); - span119[4] = new QuestStep(EInteractionType.Interact, 1000561u, new Vector3(-230.18237f, 3.544826f, 279.07214f), 152); - obj195.Steps = list271; - reference206 = obj195; - ref QuestSequence reference207 = ref span117[3]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 3 - }; - num2 = 5; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - Span span120 = CollectionsMarshal.AsSpan(list272); - span120[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-228.59554f, 3.554365f, 283.47638f), 152) - { - Mount = true - }; - span120[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-233.34848f, 3.5425713f, 285.89532f), 152) - { - DisableNavmesh = true - }; - span120[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-256.5985f, 0.9818871f, 287.17072f), 152); - span120[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-220.44954f, 22.910912f, 243.81f), 152) - { - Fly = true - }; - span120[4] = new QuestStep(EInteractionType.Interact, 1000619u, new Vector3(-209.0639f, 22.813372f, 245.34973f), 152); - obj196.Steps = list272; - reference207 = obj196; - ref QuestSequence reference208 = ref span117[4]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - CollectionsMarshal.AsSpan(list273)[0] = new QuestStep(EInteractionType.Action, 1003001u, new Vector3(-234.33282f, 18.310072f, 245.68542f), 152) - { - Action = EAction.Cure - }; - obj197.Steps = list273; - reference208 = obj197; - ref QuestSequence reference209 = ref span117[5]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - CollectionsMarshal.AsSpan(list274)[0] = new QuestStep(EInteractionType.Interact, 1003057u, new Vector3(-237.6593f, 17.850079f, 243.48816f), 152) - { - StopDistance = 7f - }; - obj198.Steps = list274; - reference209 = obj198; - ref QuestSequence reference210 = ref span117[6]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1001213u, new Vector3(-66.056335f, -7.982843f, 231.15894f), 152) - { - Fly = true, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj199.Steps = list275; - reference210 = obj199; - ref QuestSequence reference211 = ref span117[7]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - CollectionsMarshal.AsSpan(list276)[0] = new QuestStep(EInteractionType.Interact, 1003006u, new Vector3(-76.64612f, -9.205922f, 283.22266f), 152); - obj200.Steps = list276; - reference211 = obj200; - ref QuestSequence reference212 = ref span117[8]; - QuestSequence obj201 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - CollectionsMarshal.AsSpan(list277)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - }, - NextQuestId = new QuestId(93) - }; - obj201.Steps = list277; - reference212 = obj201; - questRoot31.QuestSequence = list265; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(93); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list278 = new List(num); - CollectionsMarshal.SetCount(list278, num); - CollectionsMarshal.AsSpan(list278)[0] = "Cacahuetes"; - questRoot32.Author = list278; - num = 8; - List list279 = new List(num); - CollectionsMarshal.SetCount(list279, num); - Span span121 = CollectionsMarshal.AsSpan(list279); - ref QuestSequence reference213 = ref span121[0]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - ref QuestStep reference214 = ref CollectionsMarshal.AsSpan(list280)[0]; - QuestStep obj203 = new QuestStep(EInteractionType.AcceptQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - SkipConditions skipConditions19 = new SkipConditions(); - SkipAetheryteCondition obj204 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list281 = new List(num3); - CollectionsMarshal.SetCount(list281, num3); - CollectionsMarshal.AsSpan(list281)[0] = 133; - obj204.InTerritory = list281; - skipConditions19.AetheryteShortcutIf = obj204; - obj203.SkipConditions = skipConditions19; - reference214 = obj203; - obj202.Steps = list280; - reference213 = obj202; - ref QuestSequence reference215 = ref span121[1]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - ref QuestStep reference216 = ref CollectionsMarshal.AsSpan(list282)[0]; - QuestStep obj206 = new QuestStep(EInteractionType.Combat, 2000891u, new Vector3(-74.50989f, 1.449585f, -32.76117f), 148) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list283 = new List(num3); - CollectionsMarshal.SetCount(list283, num3); - CollectionsMarshal.AsSpan(list283)[0] = 294u; - obj206.KillEnemyDataIds = list283; - reference216 = obj206; - obj205.Steps = list282; - reference215 = obj205; - ref QuestSequence reference217 = ref span121[2]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - CollectionsMarshal.AsSpan(list284)[0] = new QuestStep(EInteractionType.Interact, 1002961u, new Vector3(-66.7583f, 0.9667693f, -38.4375f), 148); - obj207.Steps = list284; - reference217 = obj207; - ref QuestSequence reference218 = ref span121[3]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - ref QuestStep reference219 = ref CollectionsMarshal.AsSpan(list285)[0]; - QuestStep obj209 = new QuestStep(EInteractionType.Combat, 2000893u, new Vector3(147.02063f, -5.6916504f, -35.50775f), 148) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list286 = new List(num3); - CollectionsMarshal.SetCount(list286, num3); - CollectionsMarshal.AsSpan(list286)[0] = 299u; - obj209.KillEnemyDataIds = list286; - reference219 = obj209; - obj208.Steps = list285; - reference218 = obj208; - ref QuestSequence reference220 = ref span121[4]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - CollectionsMarshal.AsSpan(list287)[0] = new QuestStep(EInteractionType.Interact, 1002962u, new Vector3(155.9624f, -6.358468f, -35.53833f), 148); - obj210.Steps = list287; - reference220 = obj210; - ref QuestSequence reference221 = ref span121[5]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - ref QuestStep reference222 = ref CollectionsMarshal.AsSpan(list288)[0]; - QuestStep obj212 = new QuestStep(EInteractionType.Combat, 2000895u, new Vector3(332.3567f, -31.540405f, 414.69434f), 148) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list289 = new List(num3); - CollectionsMarshal.SetCount(list289, num3); - CollectionsMarshal.AsSpan(list289)[0] = 297u; - obj212.KillEnemyDataIds = list289; - reference222 = obj212; - obj211.Steps = list288; - reference221 = obj211; - ref QuestSequence reference223 = ref span121[6]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - CollectionsMarshal.AsSpan(list290)[0] = new QuestStep(EInteractionType.Interact, 1002963u, new Vector3(335.95776f, -31.68247f, 423.63623f), 148); - obj213.Steps = list290; - reference223 = obj213; - ref QuestSequence reference224 = ref span121[7]; - QuestSequence obj214 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - CollectionsMarshal.AsSpan(list291)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - }, - NextQuestId = new QuestId(440) - }; - obj214.Steps = list291; - reference224 = obj214; - questRoot32.QuestSequence = list279; - AddQuest(questId32, questRoot32); - } - - private static void LoadQuests2() - { - QuestId questId = new QuestId(100); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 8; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009813u, new Vector3(55.436035f, 31.187548f, -763.42413f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1009828u, new Vector3(64.95764f, 20.487333f, -641.01624f), 156) - { - Fly = true - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1009831u, new Vector3(-58.487915f, 3.4366195f, -645.655f), 156) - { - Fly = true - }; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - ref QuestStep reference5 = ref CollectionsMarshal.AsSpan(list6)[0]; - QuestStep obj5 = new QuestStep(EInteractionType.Combat, 1009835u, new Vector3(-103.379944f, -1.3236009f, -615.9304f), 156) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - int num3 = 3; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span2 = CollectionsMarshal.AsSpan(list7); - span2[0] = 3565u; - span2[1] = 4619u; - span2[2] = 5044u; - obj5.KillEnemyDataIds = list7; - reference5 = obj5; - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference6 = ref span[4]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.Interact, 1009835u, new Vector3(-103.379944f, -1.3236009f, -615.9304f), 156); - obj6.Steps = list8; - reference6 = obj6; - ref QuestSequence reference7 = ref span[5]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.Interact, 2004633u, new Vector3(-98.74121f, -0.015319824f, -616.5408f), 156); - obj7.Steps = list9; - reference7 = obj7; - ref QuestSequence reference8 = ref span[6]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.Interact, 1009839u, new Vector3(-95.780945f, -0.42092213f, -625.6962f), 156); - obj8.Steps = list10; - reference8 = obj8; - ref QuestSequence reference9 = ref span[7]; - QuestSequence obj9 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006530u, new Vector3(21.927185f, 20.746975f, -682.06305f), 156) - { - Fly = true - }; - obj9.Steps = list11; - reference9 = obj9; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(101); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - CollectionsMarshal.AsSpan(list12)[0] = "Cacahuetes"; - questRoot2.Author = list12; - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - ref QuestSequence reference10 = ref CollectionsMarshal.AsSpan(list13)[0]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - ref QuestStep reference11 = ref CollectionsMarshal.AsSpan(list14)[0]; - QuestStep obj11 = new QuestStep(EInteractionType.AcceptQuest, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list15 = new List(num3); - CollectionsMarshal.SetCount(list15, num3); - CollectionsMarshal.AsSpan(list15)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSROG001_00101_Q1_000_040") - }; - obj11.DialogueChoices = list15; - obj11.NextQuestId = new QuestId(102); - reference11 = obj11; - obj10.Steps = list14; - reference10 = obj10; - questRoot2.QuestSequence = list13; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(102); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - CollectionsMarshal.AsSpan(list16)[0] = "Cacahuetes"; - questRoot3.Author = list16; - num = 2; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - Span span3 = CollectionsMarshal.AsSpan(list17); - ref QuestSequence reference12 = ref span3[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129); - obj12.Steps = list18; - reference12 = obj12; - ref QuestSequence reference13 = ref span3[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - Span span4 = CollectionsMarshal.AsSpan(list19); - span4[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129 - }; - ref QuestStep reference14 = ref span4[1]; - QuestStep obj14 = new QuestStep(EInteractionType.CompleteQuest, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129) - { - StopDistance = 7f - }; - num3 = 1; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - CollectionsMarshal.AsSpan(list20)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSROG011_00102_Q1_000_030") - }; - obj14.DialogueChoices = list20; - obj14.NextQuestId = new QuestId(104); - reference14 = obj14; - obj13.Steps = list19; - reference13 = obj13; - questRoot3.QuestSequence = list17; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(104); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - CollectionsMarshal.AsSpan(list21)[0] = "liza"; - questRoot4.Author = list21; - num = 3; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - Span span5 = CollectionsMarshal.AsSpan(list22); - ref QuestSequence reference15 = ref span5[0]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 0 - }; - num2 = 4; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - Span span6 = CollectionsMarshal.AsSpan(list23); - span6[0] = new QuestStep(EInteractionType.EquipItem, null, null, 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - ItemId = 7952u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span6[1] = new QuestStep(EInteractionType.EquipRecommended, null, null, 129); - span6[2] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.RoguesGuild - } - } - }; - span6[3] = new QuestStep(EInteractionType.AcceptQuest, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129) - { - StopDistance = 7f - }; - obj15.Steps = list23; - reference15 = obj15; - ref QuestSequence reference16 = ref span5[1]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - Span span7 = CollectionsMarshal.AsSpan(list24); - ref QuestStep reference17 = ref span7[0]; - QuestStep obj17 = new QuestStep(EInteractionType.Interact, 2004936u, new Vector3(-151.90363f, -128.16058f, 256.8551f), 129) - { - TargetTerritoryId = (ushort)129 - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - CollectionsMarshal.AsSpan(list25)[0] = 134; - skipStepConditions.InTerritory = list25; - skipStepConditions.ExtraCondition = EExtraSkipCondition.NotRoguesGuild; - skipConditions.StepIf = skipStepConditions; - obj17.SkipConditions = skipConditions; - reference17 = obj17; - ref QuestStep reference18 = ref span7[1]; - QuestStep obj18 = new QuestStep(EInteractionType.Combat, null, new Vector3(31.662792f, 44.020653f, 146.94322f), 134) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.LimsaZephyrGate - }, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - ref ComplexCombatData reference19 = ref CollectionsMarshal.AsSpan(list26)[0]; - ComplexCombatData obj19 = new ComplexCombatData - { - DataId = 347u, - MinimumKillCount = 3u - }; - int num4 = 6; - List list27 = new List(num4); - CollectionsMarshal.SetCount(list27, num4); - Span span8 = CollectionsMarshal.AsSpan(list27); - span8[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span8[1] = null; - span8[2] = null; - span8[3] = null; - span8[4] = null; - span8[5] = null; - obj19.CompletionQuestVariablesFlags = list27; - reference19 = obj19; - obj18.ComplexCombatData = list26; - num3 = 6; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - Span span9 = CollectionsMarshal.AsSpan(list28); - span9[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = null; - obj18.CompletionQuestVariablesFlags = list28; - reference18 = obj18; - ref QuestStep reference20 = ref span7[2]; - QuestStep obj20 = new QuestStep(EInteractionType.Combat, null, new Vector3(74.15681f, 45.953808f, 169.73499f), 134) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - ref ComplexCombatData reference21 = ref CollectionsMarshal.AsSpan(list29)[0]; - ComplexCombatData obj21 = new ComplexCombatData - { - DataId = 338u, - MinimumKillCount = 3u - }; - num4 = 6; - List list30 = new List(num4); - CollectionsMarshal.SetCount(list30, num4); - Span span10 = CollectionsMarshal.AsSpan(list30); - span10[0] = null; - span10[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = null; - obj21.CompletionQuestVariablesFlags = list30; - reference21 = obj21; - obj20.ComplexCombatData = list29; - num3 = 6; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - Span span11 = CollectionsMarshal.AsSpan(list31); - span11[0] = null; - span11[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = null; - obj20.CompletionQuestVariablesFlags = list31; - reference20 = obj20; - ref QuestStep reference22 = ref span7[3]; - QuestStep obj22 = new QuestStep(EInteractionType.Combat, null, new Vector3(5.6626997f, 42.625427f, 55.983746f), 134) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - ref ComplexCombatData reference23 = ref CollectionsMarshal.AsSpan(list32)[0]; - ComplexCombatData obj23 = new ComplexCombatData - { - DataId = 383u, - MinimumKillCount = 3u - }; - num4 = 6; - List list33 = new List(num4); - CollectionsMarshal.SetCount(list33, num4); - Span span12 = CollectionsMarshal.AsSpan(list33); - span12[0] = null; - span12[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = null; - obj23.CompletionQuestVariablesFlags = list33; - reference23 = obj23; - obj22.ComplexCombatData = list32; - num3 = 6; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - Span span13 = CollectionsMarshal.AsSpan(list34); - span13[0] = null; - span13[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = null; - obj22.CompletionQuestVariablesFlags = list34; - reference22 = obj22; - obj16.Steps = list24; - reference16 = obj16; - ref QuestSequence reference24 = ref span5[2]; - QuestSequence obj24 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - Span span14 = CollectionsMarshal.AsSpan(list35); - span14[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - } - }; - span14[1] = new QuestStep(EInteractionType.CompleteQuest, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129) - { - StopDistance = 7f, - NextQuestId = new QuestId(110) - }; - obj24.Steps = list35; - reference24 = obj24; - questRoot4.QuestSequence = list22; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(105); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - CollectionsMarshal.AsSpan(list36)[0] = "Cacahuetes"; - questRoot5.Author = list36; - num = 2; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - Span span15 = CollectionsMarshal.AsSpan(list37); - ref QuestSequence reference25 = ref span15[0]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000352u, new Vector3(65.69006f, 8f, -147.41742f), 133); - obj25.Steps = list38; - reference25 = obj25; - ref QuestSequence reference26 = ref span15[1]; - QuestSequence obj26 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - ref QuestStep reference27 = ref CollectionsMarshal.AsSpan(list39)[0]; - QuestStep questStep = new QuestStep(EInteractionType.CompleteQuest, 1000691u, new Vector3(71.97681f, 8f, -166.52173f), 133); - num3 = 1; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - CollectionsMarshal.AsSpan(list40)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSTAN000_00105_Q1_000_1") - }; - questStep.DialogueChoices = list40; - reference27 = questStep; - obj26.Steps = list39; - reference26 = obj26; - questRoot5.QuestSequence = list37; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(107); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - CollectionsMarshal.AsSpan(list41)[0] = "liza"; - questRoot6.Author = list41; - num = 3; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - Span span16 = CollectionsMarshal.AsSpan(list42); - ref QuestSequence reference28 = ref span16[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - ref QuestStep reference29 = ref CollectionsMarshal.AsSpan(list43)[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.AcceptQuest, 1001028u, new Vector3(-39.84137f, 19.999994f, -4.9592285f), 181); - num3 = 1; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - CollectionsMarshal.AsSpan(list44)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "opening/OpeningLimsaLominsa", - Prompt = new ExcelRef("TEXT_OPENINGLIMSALOMINSA_FST_SYSTEM_Q_01"), - Answer = new ExcelRef("TEXT_OPENINGLIMSALOMINSA_FST_SYSTEM_A_01") - }; - questStep2.DialogueChoices = list44; - reference29 = questStep2; - obj27.Steps = list43; - reference28 = obj27; - ref QuestSequence reference30 = ref span16[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - ref QuestStep reference31 = ref CollectionsMarshal.AsSpan(list45)[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1002732u, new Vector3(11.184814f, 20.999336f, 13.321045f), 181); - num3 = 1; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - CollectionsMarshal.AsSpan(list46)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANSEA001_00107_Q1_000_1") - }; - questStep3.DialogueChoices = list46; - reference31 = questStep3; - obj28.Steps = list45; - reference30 = obj28; - ref QuestSequence reference32 = ref span16[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002697u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 181); - obj29.Steps = list47; - reference32 = obj29; - questRoot6.QuestSequence = list42; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(108); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - CollectionsMarshal.AsSpan(list48)[0] = "liza"; - questRoot7.Author = list48; - num = 3; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - Span span17 = CollectionsMarshal.AsSpan(list49); - ref QuestSequence reference33 = ref span17[0]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002697u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 181); - obj30.Steps = list50; - reference33 = obj30; - ref QuestSequence reference34 = ref span17[1]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 1 - }; - num2 = 11; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - Span span18 = CollectionsMarshal.AsSpan(list51); - span18[0] = new QuestStep(EInteractionType.AcceptQuest, 1002698u, new Vector3(8.499207f, 39.505493f, 3.5552979f), 181) - { - PickUpQuestId = new QuestId(111) - }; - ref QuestStep reference35 = ref span18[1]; - QuestStep obj32 = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 129) - { - Aetheryte = EAetheryteLocation.Limsa - }; - num3 = 6; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - Span span19 = CollectionsMarshal.AsSpan(list52); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj32.CompletionQuestVariablesFlags = list52; - reference35 = obj32; - span18[2] = new QuestStep(EInteractionType.RegisterFreeOrFavoredAetheryte, null, null, 129) - { - Aetheryte = EAetheryteLocation.Limsa - }; - ref QuestStep reference36 = ref span18[3]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1001217u, new Vector3(-140.85602f, 18.199999f, 17.013733f), 129); - num3 = 6; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - Span span20 = CollectionsMarshal.AsSpan(list53); - span20[0] = null; - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list53; - reference36 = questStep4; - span18[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 129) - { - AethernetShard = EAetheryteLocation.LimsaHawkersAlley - }; - span18[5] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 129) - { - AethernetShard = EAetheryteLocation.LimsaArcanist - }; - span18[6] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 129) - { - AethernetShard = EAetheryteLocation.LimsaFisher, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaArcanist, - To = EAetheryteLocation.LimsaHawkersAlley - } - }; - span18[7] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-83.8817f, 18.475962f, -29.903847f), 129) - { - TargetTerritoryId = (ushort)128, - Comment = "Walk to Culinarians' Guild", - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.Limsa - } - }; - span18[8] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 128) - { - AethernetShard = EAetheryteLocation.LimsaCulinarian - }; - span18[9] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 128) - { - AethernetShard = EAetheryteLocation.LimsaMarauder - }; - ref QuestStep reference37 = ref span18[10]; - QuestStep obj33 = new QuestStep(EInteractionType.Interact, 1000926u, new Vector3(-10.055725f, 44.999794f, -245.80762f), 128) - { - Comment = "MRD Receptionist" - }; - num3 = 6; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - Span span21 = CollectionsMarshal.AsSpan(list54); - span21[0] = null; - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj33.CompletionQuestVariablesFlags = list54; - reference37 = obj33; - obj31.Steps = list51; - reference34 = obj31; - ref QuestSequence reference38 = ref span17[2]; - QuestSequence obj34 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 6; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - Span span22 = CollectionsMarshal.AsSpan(list55); - span22[0] = new QuestStep(EInteractionType.Interact, 1000926u, new Vector3(-10.055725f, 44.999794f, -245.80762f), 128) - { - Disabled = true, - Comment = "Pick up Class Quest" - }; - span22[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 128) - { - AethernetShard = EAetheryteLocation.LimsaAftcastle, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span22[2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 134) - { - Aetheryte = EAetheryteLocation.MiddleLaNosceaSummerfordFarms, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.LimsaZephyrGate - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span22[3] = new QuestStep(EInteractionType.None, null, null, 134) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span22[4] = new QuestStep(EInteractionType.None, null, null, 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span22[5] = new QuestStep(EInteractionType.CompleteQuest, 1000972u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 128); - obj34.Steps = list55; - reference38 = obj34; - questRoot7.QuestSequence = list49; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(109); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - CollectionsMarshal.AsSpan(list56)[0] = "liza"; - questRoot8.Author = list56; - num = 3; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - Span span23 = CollectionsMarshal.AsSpan(list57); - ref QuestSequence reference39 = ref span23[0]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002697u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 181); - obj35.Steps = list58; - reference39 = obj35; - ref QuestSequence reference40 = ref span23[1]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 1 - }; - num2 = 7; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - Span span24 = CollectionsMarshal.AsSpan(list59); - span24[0] = new QuestStep(EInteractionType.AcceptQuest, 1002698u, new Vector3(8.499207f, 39.505493f, 3.5552979f), 181) - { - PickUpQuestId = new QuestId(111) - }; - ref QuestStep reference41 = ref span24[1]; - QuestStep obj37 = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 129) - { - Aetheryte = EAetheryteLocation.Limsa - }; - num3 = 6; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - Span span25 = CollectionsMarshal.AsSpan(list60); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj37.CompletionQuestVariablesFlags = list60; - reference41 = obj37; - span24[2] = new QuestStep(EInteractionType.RegisterFreeOrFavoredAetheryte, null, null, 129) - { - Aetheryte = EAetheryteLocation.Limsa - }; - ref QuestStep reference42 = ref span24[3]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1001217u, new Vector3(-140.85602f, 18.199999f, 17.013733f), 129); - num3 = 6; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - Span span26 = CollectionsMarshal.AsSpan(list61); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list61; - reference42 = questStep5; - span24[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 129) - { - AethernetShard = EAetheryteLocation.LimsaHawkersAlley - }; - span24[5] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 129) - { - AethernetShard = EAetheryteLocation.LimsaArcanist - }; - ref QuestStep reference43 = ref span24[6]; - QuestStep obj38 = new QuestStep(EInteractionType.Interact, 1000895u, new Vector3(-335.74432f, 12.899764f, 1.3884888f), 129) - { - Comment = "ACN Receptionist" - }; - num3 = 6; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - Span span27 = CollectionsMarshal.AsSpan(list62); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj38.CompletionQuestVariablesFlags = list62; - reference43 = obj38; - obj36.Steps = list59; - reference40 = obj36; - ref QuestSequence reference44 = ref span23[2]; - QuestSequence obj39 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 10; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - Span span28 = CollectionsMarshal.AsSpan(list63); - span28[0] = new QuestStep(EInteractionType.Interact, 1000895u, new Vector3(-335.74432f, 12.899764f, 1.3884888f), 129) - { - Disabled = true, - Comment = "Pick up Class Quest" - }; - span28[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 129) - { - AethernetShard = EAetheryteLocation.LimsaFisher, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaArcanist, - To = EAetheryteLocation.LimsaHawkersAlley - } - }; - span28[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-83.8817f, 18.475962f, -29.903847f), 129) - { - TargetTerritoryId = (ushort)128, - Comment = "Walk to Culinarians' Guild", - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.Limsa - } - }; - span28[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 128) - { - AethernetShard = EAetheryteLocation.LimsaCulinarian - }; - span28[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 128) - { - AethernetShard = EAetheryteLocation.LimsaMarauder - }; - span28[5] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 128) - { - AethernetShard = EAetheryteLocation.LimsaAftcastle, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span28[6] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 134) - { - Aetheryte = EAetheryteLocation.MiddleLaNosceaSummerfordFarms, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.LimsaZephyrGate - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span28[7] = new QuestStep(EInteractionType.None, null, null, 134) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span28[8] = new QuestStep(EInteractionType.None, null, null, 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span28[9] = new QuestStep(EInteractionType.CompleteQuest, 1000972u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 128); - obj39.Steps = list63; - reference44 = obj39; - questRoot8.QuestSequence = list57; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(110); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - CollectionsMarshal.AsSpan(list64)[0] = "liza"; - questRoot9.Author = list64; - num = 10; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - Span span29 = CollectionsMarshal.AsSpan(list65); - ref QuestSequence reference45 = ref span29[0]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - Span span30 = CollectionsMarshal.AsSpan(list66); - span30[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.RoguesGuild - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span30[1] = new QuestStep(EInteractionType.AcceptQuest, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129) - { - StopDistance = 7f - }; - obj40.Steps = list66; - reference45 = obj40; - ref QuestSequence reference46 = ref span29[1]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.Interact, 1010197u, new Vector3(-150.98804f, -129.4397f, 266.31567f), 129) - { - StopDistance = 7f - }; - obj41.Steps = list67; - reference46 = obj41; - ref QuestSequence reference47 = ref span29[2]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - Span span31 = CollectionsMarshal.AsSpan(list68); - ref QuestStep reference48 = ref span31[0]; - QuestStep obj43 = new QuestStep(EInteractionType.Interact, 2004936u, new Vector3(-151.90363f, -128.16058f, 256.8551f), 129) - { - TargetTerritoryId = (ushort)129 - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - CollectionsMarshal.AsSpan(list69)[0] = 135; - skipStepConditions2.InTerritory = list69; - skipConditions2.StepIf = skipStepConditions2; - obj43.SkipConditions = skipConditions2; - reference48 = obj43; - ref QuestStep reference49 = ref span31[1]; - QuestStep obj44 = new QuestStep(EInteractionType.Combat, null, new Vector3(174.3623f, 39.811382f, 52.27733f), 135) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.LimsaTempestGate - }, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list70 = new List(num3); - CollectionsMarshal.SetCount(list70, num3); - CollectionsMarshal.AsSpan(list70)[0] = 324u; - obj44.KillEnemyDataIds = list70; - reference49 = obj44; - obj42.Steps = list68; - reference47 = obj42; - ref QuestSequence reference50 = ref span29[3]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - Span span32 = CollectionsMarshal.AsSpan(list71); - span32[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.RoguesGuild - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span32[1] = new QuestStep(EInteractionType.Interact, 1010197u, new Vector3(-150.98804f, -129.4397f, 266.31567f), 129) - { - StopDistance = 7f - }; - obj45.Steps = list71; - reference50 = obj45; - ref QuestSequence reference51 = ref span29[4]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - Span span33 = CollectionsMarshal.AsSpan(list72); - span33[0] = new QuestStep(EInteractionType.Interact, 2004936u, new Vector3(-151.90363f, -128.16058f, 256.8551f), 129) - { - TargetTerritoryId = (ushort)129, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.NotRoguesGuild - } - } - }; - ref QuestStep reference52 = ref span33[1]; - QuestStep obj47 = new QuestStep(EInteractionType.Interact, 1005411u, new Vector3(13.412659f, 40.2f, -13.260071f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.LimsaAftcastle - } - }; - num3 = 1; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - CollectionsMarshal.AsSpan(list73)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CLSROG050_00110_Q1_000_061"), - Answer = new ExcelRef("TEXT_CLSROG050_00110_A1_000_064") - }; - obj47.DialogueChoices = list73; - reference52 = obj47; - obj46.Steps = list72; - reference51 = obj46; - ref QuestSequence reference53 = ref span29[5]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.Interact, 1010206u, new Vector3(107.71338f, 47.783855f, 50.736206f), 134) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.LimsaZephyrGate - } - }; - obj48.Steps = list74; - reference53 = obj48; - ref QuestSequence reference54 = ref span29[6]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - ref QuestStep reference55 = ref CollectionsMarshal.AsSpan(list75)[0]; - QuestStep obj50 = new QuestStep(EInteractionType.Combat, null, new Vector3(101.76026f, 48.69752f, 10.89893f), 134) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - CollectionsMarshal.AsSpan(list76)[0] = 769u; - obj50.KillEnemyDataIds = list76; - reference55 = obj50; - obj49.Steps = list75; - reference54 = obj49; - ref QuestSequence reference56 = ref span29[7]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Interact, 1010206u, new Vector3(107.71338f, 47.783855f, 50.736206f), 134); - obj51.Steps = list77; - reference56 = obj51; - ref QuestSequence reference57 = ref span29[8]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 8 - }; - num2 = 2; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - Span span34 = CollectionsMarshal.AsSpan(list78); - span34[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.RoguesGuild - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span34[1] = new QuestStep(EInteractionType.Interact, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129) - { - StopDistance = 7f - }; - obj52.Steps = list78; - reference57 = obj52; - ref QuestSequence reference58 = ref span29[9]; - QuestSequence obj53 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129) - { - StopDistance = 7f, - NextQuestId = new QuestId(126) - }; - obj53.Steps = list79; - reference58 = obj53; - questRoot9.QuestSequence = list65; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(111); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - CollectionsMarshal.AsSpan(list80)[0] = "liza"; - questRoot10.Author = list80; - num = 4; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - Span span35 = CollectionsMarshal.AsSpan(list81); - ref QuestSequence reference59 = ref span35[0]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002698u, new Vector3(8.499207f, 39.505493f, 3.5552979f), 181); - obj54.Steps = list82; - reference59 = obj54; - ref QuestSequence reference60 = ref span35[1]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - ref QuestStep reference61 = ref CollectionsMarshal.AsSpan(list83)[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1000969u, new Vector3(7.9193726f, 40.000175f, 17.471558f), 181); - num3 = 1; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - CollectionsMarshal.AsSpan(list84)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - ExcelSheet = "quest/001/ManSea001_00107", - Prompt = new ExcelRef("TEXT_MANSEA001_00107_Q1_000_1") - }; - questStep6.DialogueChoices = list84; - reference61 = questStep6; - obj55.Steps = list83; - reference60 = obj55; - ref QuestSequence reference62 = ref span35[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 2 - }; - num2 = 6; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - Span span36 = CollectionsMarshal.AsSpan(list85); - ref QuestStep reference63 = ref span36[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2001563u, new Vector3(3.616333f, 20.004517f, 9.750427f), 129); - num3 = 6; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - Span span37 = CollectionsMarshal.AsSpan(list86); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list86; - reference63 = questStep7; - ref QuestStep reference64 = ref span36[1]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2001564u, new Vector3(-3.0671387f, 20.004517f, 9.964111f), 129); - num3 = 6; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - Span span38 = CollectionsMarshal.AsSpan(list87); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list87; - reference64 = questStep8; - ref QuestStep reference65 = ref span36[2]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 2001565u, new Vector3(-11.39856f, 19.97406f, 6.6376343f), 129); - num3 = 6; - List list88 = new List(num3); - CollectionsMarshal.SetCount(list88, num3); - Span span39 = CollectionsMarshal.AsSpan(list88); - span39[0] = null; - span39[1] = null; - span39[2] = null; - span39[3] = null; - span39[4] = null; - span39[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list88; - reference65 = questStep9; - ref QuestStep reference66 = ref span36[3]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 2001566u, new Vector3(-18.32611f, 20.004517f, 1.7241821f), 129); - num3 = 6; - List list89 = new List(num3); - CollectionsMarshal.SetCount(list89, num3); - Span span40 = CollectionsMarshal.AsSpan(list89); - span40[0] = null; - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list89; - reference66 = questStep10; - ref QuestStep reference67 = ref span36[4]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 2001567u, new Vector3(-30.47229f, 19.97406f, 0.8086548f), 129); - num3 = 6; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - Span span41 = CollectionsMarshal.AsSpan(list90); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list90; - reference67 = questStep11; - ref QuestStep reference68 = ref span36[5]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 2001568u, new Vector3(-44.724243f, 20.004517f, -0.5036011f), 129); - num3 = 6; - List list91 = new List(num3); - CollectionsMarshal.SetCount(list91, num3); - Span span42 = CollectionsMarshal.AsSpan(list91); - span42[0] = null; - span42[1] = null; - span42[2] = null; - span42[3] = null; - span42[4] = null; - span42[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list91; - reference68 = questStep12; - obj56.Steps = list85; - reference62 = obj56; - ref QuestSequence reference69 = ref span35[3]; - QuestSequence obj57 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003604u, new Vector3(-60.44104f, 18.00033f, -4.348877f), 129); - obj57.Steps = list92; - reference69 = obj57; - questRoot10.QuestSequence = list81; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(112); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list93 = new List(num); - CollectionsMarshal.SetCount(list93, num); - CollectionsMarshal.AsSpan(list93)[0] = "liza"; - questRoot11.Author = list93; - num = 3; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - Span span43 = CollectionsMarshal.AsSpan(list94); - ref QuestSequence reference70 = ref span43[0]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003604u, new Vector3(-60.44104f, 18.00033f, -4.348877f), 129); - obj58.Steps = list95; - reference70 = obj58; - ref QuestSequence reference71 = ref span43[1]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.Interact, 1003274u, new Vector3(-110.46008f, 18f, 15.701477f), 129); - obj59.Steps = list96; - reference71 = obj59; - ref QuestSequence reference72 = ref span43[2]; - QuestSequence obj60 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003275u, new Vector3(-147.1123f, 18.2f, 14.358704f), 129); - obj60.Steps = list97; - reference72 = obj60; - questRoot11.QuestSequence = list94; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(113); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - CollectionsMarshal.AsSpan(list98)[0] = "liza"; - questRoot12.Author = list98; - num = 3; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - Span span44 = CollectionsMarshal.AsSpan(list99); - ref QuestSequence reference73 = ref span44[0]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001209u, new Vector3(-103.74609f, 18.500334f, 16.03717f), 129); - obj61.Steps = list100; - reference73 = obj61; - ref QuestSequence reference74 = ref span44[1]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.Interact, 1000898u, new Vector3(-342.21405f, 12.893799f, 3.4942627f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - } - }; - obj62.Steps = list101; - reference74 = obj62; - ref QuestSequence reference75 = ref span44[2]; - QuestSequence obj63 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001209u, new Vector3(-103.74609f, 18.500334f, 16.03717f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaArcanist, - To = EAetheryteLocation.Limsa - } - }; - obj63.Steps = list102; - reference75 = obj63; - questRoot12.QuestSequence = list99; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(114); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - CollectionsMarshal.AsSpan(list103)[0] = "liza"; - questRoot13.Author = list103; - num = 3; - List list104 = new List(num); - CollectionsMarshal.SetCount(list104, num); - Span span45 = CollectionsMarshal.AsSpan(list104); - ref QuestSequence reference76 = ref span45[0]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001217u, new Vector3(-140.85602f, 18.199999f, 17.013733f), 129); - obj64.Steps = list105; - reference76 = obj64; - ref QuestSequence reference77 = ref span45[1]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - Span span46 = CollectionsMarshal.AsSpan(list106); - ref QuestStep reference78 = ref span46[0]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1001203u, new Vector3(-156.6034f, 18.2f, 20.920044f), 129); - num3 = 6; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - Span span47 = CollectionsMarshal.AsSpan(list107); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list107; - reference78 = questStep13; - ref QuestStep reference79 = ref span46[1]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1001208u, new Vector3(-228.16821f, 16f, 50.644653f), 129); - num3 = 6; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - Span span48 = CollectionsMarshal.AsSpan(list108); - span48[0] = null; - span48[1] = null; - span48[2] = null; - span48[3] = null; - span48[4] = null; - span48[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list108; - reference79 = questStep14; - ref QuestStep reference80 = ref span46[2]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1003254u, new Vector3(-246.60114f, 16.199999f, 37.125122f), 129); - num3 = 6; - List list109 = new List(num3); - CollectionsMarshal.SetCount(list109, num3); - Span span49 = CollectionsMarshal.AsSpan(list109); - span49[0] = null; - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list109; - reference80 = questStep15; - obj65.Steps = list106; - reference77 = obj65; - ref QuestSequence reference81 = ref span45[2]; - QuestSequence obj66 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003272u, new Vector3(-262.92822f, 16.2f, 51.407593f), 129); - obj66.Steps = list110; - reference81 = obj66; - questRoot13.QuestSequence = list104; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(115); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - CollectionsMarshal.AsSpan(list111)[0] = "liza"; - questRoot14.Author = list111; - num = 3; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - Span span50 = CollectionsMarshal.AsSpan(list112); - ref QuestSequence reference82 = ref span50[0]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000898u, new Vector3(-342.21405f, 12.893799f, 3.4942627f), 129); - obj67.Steps = list113; - reference82 = obj67; - ref QuestSequence reference83 = ref span50[1]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.Interact, 1001023u, new Vector3(-78.62976f, 18.000334f, -22.62915f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaArcanist, - To = EAetheryteLocation.Limsa - } - }; - obj68.Steps = list114; - reference83 = obj68; - ref QuestSequence reference84 = ref span50[2]; - QuestSequence obj69 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001537u, new Vector3(-58.854065f, 42.299744f, -164.08032f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaCulinarian - } - }; - obj69.Steps = list115; - reference84 = obj69; - questRoot14.QuestSequence = list112; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(116); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - CollectionsMarshal.AsSpan(list116)[0] = "UcanPatates"; - questRoot15.Author = list116; - num = 4; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - Span span51 = CollectionsMarshal.AsSpan(list117); - ref QuestSequence reference85 = ref span51[0]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - ref QuestStep reference86 = ref CollectionsMarshal.AsSpan(list118)[0]; - QuestStep obj71 = new QuestStep(EInteractionType.AcceptQuest, 1000959u, new Vector3(-65.62909f, 41.999985f, -139.45221f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaCulinarian - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 2; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - Span span52 = CollectionsMarshal.AsSpan(list119); - span52[0] = 129; - span52[1] = 128; - skipAetheryteCondition.InTerritory = list119; - skipConditions3.AetheryteShortcutIf = skipAetheryteCondition; - obj71.SkipConditions = skipConditions3; - reference86 = obj71; - obj70.Steps = list118; - reference85 = obj70; - ref QuestSequence reference87 = ref span51[1]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - ref QuestStep reference88 = ref CollectionsMarshal.AsSpan(list120)[0]; - QuestStep obj73 = new QuestStep(EInteractionType.Interact, 1003603u, new Vector3(20.34021f, 20f, 4.3182373f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaCulinarian, - To = EAetheryteLocation.Limsa - } - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num3 = 2; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - Span span53 = CollectionsMarshal.AsSpan(list121); - span53[0] = 129; - span53[1] = 128; - skipAetheryteCondition2.InTerritory = list121; - skipConditions4.AetheryteShortcutIf = skipAetheryteCondition2; - skipConditions4.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj73.SkipConditions = skipConditions4; - reference88 = obj73; - obj72.Steps = list120; - reference87 = obj72; - ref QuestSequence reference89 = ref span51[2]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - Span span54 = CollectionsMarshal.AsSpan(list122); - ref QuestStep reference90 = ref span54[0]; - QuestStep obj75 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(64.20255f, 19.94936f, 1.0639327f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - CollectionsMarshal.AsSpan(list123)[0] = 134; - skipStepConditions3.InTerritory = list123; - skipConditions5.StepIf = skipStepConditions3; - SkipAetheryteCondition skipAetheryteCondition3 = new SkipAetheryteCondition(); - num3 = 2; - List list124 = new List(num3); - CollectionsMarshal.SetCount(list124, num3); - Span span55 = CollectionsMarshal.AsSpan(list124); - span55[0] = 134; - span55[1] = 129; - skipAetheryteCondition3.InTerritory = list124; - skipConditions5.AetheryteShortcutIf = skipAetheryteCondition3; - obj75.SkipConditions = skipConditions5; - reference90 = obj75; - ref QuestStep reference91 = ref span54[1]; - QuestStep obj76 = new QuestStep(EInteractionType.Combat, 338u, new Vector3(130.05261f, 51.719154f, 185.6565f), 134) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list125 = new List(num3); - CollectionsMarshal.SetCount(list125, num3); - ref ComplexCombatData reference92 = ref CollectionsMarshal.AsSpan(list125)[0]; - ComplexCombatData obj77 = new ComplexCombatData - { - DataId = 338u, - MinimumKillCount = 4u - }; - num4 = 6; - List list126 = new List(num4); - CollectionsMarshal.SetCount(list126, num4); - Span span56 = CollectionsMarshal.AsSpan(list126); - span56[0] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - span56[1] = null; - span56[2] = null; - span56[3] = null; - span56[4] = null; - span56[5] = null; - obj77.CompletionQuestVariablesFlags = list126; - reference92 = obj77; - obj76.ComplexCombatData = list125; - num3 = 6; - List list127 = new List(num3); - CollectionsMarshal.SetCount(list127, num3); - Span span57 = CollectionsMarshal.AsSpan(list127); - span57[0] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = null; - obj76.CompletionQuestVariablesFlags = list127; - reference91 = obj76; - obj74.Steps = list122; - reference89 = obj74; - ref QuestSequence reference93 = ref span51[3]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - Span span58 = CollectionsMarshal.AsSpan(list128); - ref QuestStep reference94 = ref span58[0]; - QuestStep obj79 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-57.281883f, 33.088005f, 160.24603f), 134) - { - Fly = true - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 1; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - CollectionsMarshal.AsSpan(list129)[0] = 134; - skipStepConditions4.NotInTerritory = list129; - skipConditions6.StepIf = skipStepConditions4; - obj79.SkipConditions = skipConditions6; - reference94 = obj79; - ref QuestStep reference95 = ref span58[1]; - QuestStep obj80 = new QuestStep(EInteractionType.CompleteQuest, 1000959u, new Vector3(-65.62909f, 41.999985f, -139.45221f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaCulinarian - } - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition4 = new SkipAetheryteCondition(); - num3 = 2; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - Span span59 = CollectionsMarshal.AsSpan(list130); - span59[0] = 129; - span59[1] = 128; - skipAetheryteCondition4.InTerritory = list130; - skipConditions7.AetheryteShortcutIf = skipAetheryteCondition4; - obj80.SkipConditions = skipConditions7; - reference95 = obj80; - obj78.Steps = list128; - reference93 = obj78; - questRoot15.QuestSequence = list117; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(117); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list131 = new List(num); - CollectionsMarshal.SetCount(list131, num); - CollectionsMarshal.AsSpan(list131)[0] = "UcanPatates"; - questRoot16.Author = list131; - num = 4; - List list132 = new List(num); - CollectionsMarshal.SetCount(list132, num); - Span span60 = CollectionsMarshal.AsSpan(list132); - ref QuestSequence reference96 = ref span60[0]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - ref QuestStep reference97 = ref CollectionsMarshal.AsSpan(list133)[0]; - QuestStep obj82 = new QuestStep(EInteractionType.AcceptQuest, 1001537u, new Vector3(-58.854065f, 42.299744f, -164.08032f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaCulinarian - } - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition5 = new SkipAetheryteCondition(); - num3 = 2; - List list134 = new List(num3); - CollectionsMarshal.SetCount(list134, num3); - Span span61 = CollectionsMarshal.AsSpan(list134); - span61[0] = 129; - span61[1] = 128; - skipAetheryteCondition5.InTerritory = list134; - skipConditions8.AetheryteShortcutIf = skipAetheryteCondition5; - obj82.SkipConditions = skipConditions8; - reference97 = obj82; - obj81.Steps = list133; - reference96 = obj81; - ref QuestSequence reference98 = ref span60[1]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - ref QuestStep reference99 = ref CollectionsMarshal.AsSpan(list135)[0]; - QuestStep obj84 = new QuestStep(EInteractionType.Interact, 1000957u, new Vector3(-49.271423f, 43.999977f, -146.37988f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaCulinarian - } - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition6 = new SkipAetheryteCondition(); - num3 = 2; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - Span span62 = CollectionsMarshal.AsSpan(list136); - span62[0] = 129; - span62[1] = 128; - skipAetheryteCondition6.InTerritory = list136; - skipConditions9.AetheryteShortcutIf = skipAetheryteCondition6; - obj84.SkipConditions = skipConditions9; - reference99 = obj84; - obj83.Steps = list135; - reference98 = obj83; - ref QuestSequence reference100 = ref span60[2]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - ref QuestStep reference101 = ref CollectionsMarshal.AsSpan(list137)[0]; - QuestStep obj86 = new QuestStep(EInteractionType.Interact, 1000937u, new Vector3(-12.222534f, 44.99988f, -251.88074f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition7 = new SkipAetheryteCondition(); - num3 = 2; - List list138 = new List(num3); - CollectionsMarshal.SetCount(list138, num3); - Span span63 = CollectionsMarshal.AsSpan(list138); - span63[0] = 129; - span63[1] = 128; - skipAetheryteCondition7.InTerritory = list138; - skipConditions10.AetheryteShortcutIf = skipAetheryteCondition7; - obj86.SkipConditions = skipConditions10; - reference101 = obj86; - obj85.Steps = list137; - reference100 = obj85; - ref QuestSequence reference102 = ref span60[3]; - QuestSequence obj87 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - ref QuestStep reference103 = ref CollectionsMarshal.AsSpan(list139)[0]; - QuestStep obj88 = new QuestStep(EInteractionType.CompleteQuest, 1000957u, new Vector3(-49.271423f, 43.999977f, -146.37988f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaMarauder, - To = EAetheryteLocation.LimsaCulinarian - } - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition8 = new SkipAetheryteCondition(); - num3 = 2; - List list140 = new List(num3); - CollectionsMarshal.SetCount(list140, num3); - Span span64 = CollectionsMarshal.AsSpan(list140); - span64[0] = 129; - span64[1] = 128; - skipAetheryteCondition8.InTerritory = list140; - skipConditions11.AetheryteShortcutIf = skipAetheryteCondition8; - obj88.SkipConditions = skipConditions11; - reference103 = obj88; - obj87.Steps = list139; - reference102 = obj87; - questRoot16.QuestSequence = list132; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(121); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list141 = new List(num); - CollectionsMarshal.SetCount(list141, num); - CollectionsMarshal.AsSpan(list141)[0] = "liza"; - questRoot17.Author = list141; - num = 2; - List list142 = new List(num); - CollectionsMarshal.SetCount(list142, num); - Span span65 = CollectionsMarshal.AsSpan(list142); - ref QuestSequence reference104 = ref span65[0]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000857u, new Vector3(-165.27051f, 5.2500057f, 164.29382f), 129); - obj89.Steps = list143; - reference104 = obj89; - ref QuestSequence reference105 = ref span65[1]; - QuestSequence obj90 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001000u, new Vector3(-32.028687f, 41.499985f, 208.39233f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj90.Steps = list144; - reference105 = obj90; - questRoot17.QuestSequence = list142; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(123); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list145 = new List(num); - CollectionsMarshal.SetCount(list145, num); - CollectionsMarshal.AsSpan(list145)[0] = "liza"; - questRoot18.Author = list145; - num = 3; - List list146 = new List(num); - CollectionsMarshal.SetCount(list146, num); - Span span66 = CollectionsMarshal.AsSpan(list146); - ref QuestSequence reference106 = ref span66[0]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001140u, new Vector3(23.788818f, -8f, 115.861694f), 183); - obj91.Steps = list147; - reference106 = obj91; - ref QuestSequence reference107 = ref span66[1]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 1 - }; - num2 = 7; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - Span span67 = CollectionsMarshal.AsSpan(list148); - ref QuestStep reference108 = ref span67[0]; - QuestStep obj93 = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 132) - { - Aetheryte = EAetheryteLocation.Gridania - }; - num3 = 6; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - Span span68 = CollectionsMarshal.AsSpan(list149); - span68[0] = null; - span68[1] = null; - span68[2] = null; - span68[3] = null; - span68[4] = null; - span68[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj93.CompletionQuestVariablesFlags = list149; - reference108 = obj93; - span67[1] = new QuestStep(EInteractionType.RegisterFreeOrFavoredAetheryte, null, null, 132) - { - Aetheryte = EAetheryteLocation.Gridania - }; - span67[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 132) - { - AethernetShard = EAetheryteLocation.GridaniaArcher - }; - span67[3] = new QuestStep(EInteractionType.Interact, 1000197u, new Vector3(201.31226f, -3.1634123E-15f, 43.900146f), 132) - { - Comment = "Archer Receptionist" - }; - span67[4] = new QuestStep(EInteractionType.Interact, 1000197u, new Vector3(201.31226f, -3.1634123E-15f, 43.900146f), 132) - { - Disabled = true, - Comment = "Pick up Class Quest" - }; - span67[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(102.810745f, 5.4071116f, 12.54738f), 132) - { - TargetTerritoryId = (ushort)133 - }; - span67[6] = new QuestStep(EInteractionType.Interact, 1000768u, new Vector3(172.35059f, 15.5f, -89.951965f), 133) - { - Comment = "TODO Questflags" - }; - obj92.Steps = list148; - reference107 = obj92; - ref QuestSequence reference109 = ref span66[2]; - QuestSequence obj94 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 10; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - Span span69 = CollectionsMarshal.AsSpan(list150); - span69[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaLeatherworker - }; - span69[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(121.70568f, 12.25941f, -100.795494f), 133); - span69[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaLancer - }; - span69[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaAmphitheatre, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLancer, - To = EAetheryteLocation.GridaniaLeatherworker - } - }; - span69[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-174.09056f, 10.91981f, -162.12527f), 133); - span69[5] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaBotanist - }; - span69[6] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaConjurer, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaBotanist, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - span69[7] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 148) - { - Aetheryte = EAetheryteLocation.CentralShroudBentbranchMeadows, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaConjurer, - To = EAetheryteLocation.GridaniaBlueBadgerGate - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span69[8] = new QuestStep(EInteractionType.None, null, null, 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span69[9] = new QuestStep(EInteractionType.CompleteQuest, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaConjurer, - To = EAetheryteLocation.GridaniaAirship - } - }; - obj94.Steps = list150; - reference109 = obj94; - questRoot18.QuestSequence = list146; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(124); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list151 = new List(num); - CollectionsMarshal.SetCount(list151, num); - CollectionsMarshal.AsSpan(list151)[0] = "liza"; - questRoot19.Author = list151; - num = 3; - List list152 = new List(num); - CollectionsMarshal.SetCount(list152, num); - Span span70 = CollectionsMarshal.AsSpan(list152); - ref QuestSequence reference110 = ref span70[0]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001140u, new Vector3(23.788818f, -8f, 115.861694f), 183); - obj95.Steps = list153; - reference110 = obj95; - ref QuestSequence reference111 = ref span70[1]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 1 - }; - num2 = 13; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - Span span71 = CollectionsMarshal.AsSpan(list154); - ref QuestStep reference112 = ref span71[0]; - QuestStep obj97 = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 132) - { - Aetheryte = EAetheryteLocation.Gridania - }; - num3 = 6; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - Span span72 = CollectionsMarshal.AsSpan(list155); - span72[0] = null; - span72[1] = null; - span72[2] = null; - span72[3] = null; - span72[4] = null; - span72[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj97.CompletionQuestVariablesFlags = list155; - reference112 = obj97; - span71[1] = new QuestStep(EInteractionType.RegisterFreeOrFavoredAetheryte, null, null, 132) - { - Aetheryte = EAetheryteLocation.Gridania - }; - span71[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 132) - { - AethernetShard = EAetheryteLocation.GridaniaArcher - }; - span71[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(102.810745f, 5.4071116f, 12.54738f), 132) - { - TargetTerritoryId = (ushort)133 - }; - span71[4] = new QuestStep(EInteractionType.Interact, 1000768u, new Vector3(172.35059f, 15.5f, -89.951965f), 133) - { - Comment = "TODO Questflags" - }; - span71[5] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaLeatherworker - }; - span71[6] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(121.70568f, 12.25941f, -100.795494f), 133); - span71[7] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaLancer - }; - span71[8] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaAmphitheatre, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLancer, - To = EAetheryteLocation.GridaniaLeatherworker - } - }; - span71[9] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-174.09056f, 10.91981f, -162.12527f), 133); - span71[10] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaBotanist - }; - span71[11] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaConjurer, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaBotanist, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - span71[12] = new QuestStep(EInteractionType.Interact, 1000323u, new Vector3(-234.02765f, -4.0000043f, -11.093384f), 133) - { - Comment = "Conjurer Receptionist" - }; - obj96.Steps = list154; - reference111 = obj96; - ref QuestSequence reference113 = ref span70[2]; - QuestSequence obj98 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - Span span73 = CollectionsMarshal.AsSpan(list156); - span73[0] = new QuestStep(EInteractionType.Interact, 1000323u, new Vector3(-234.02765f, -4.0000043f, -11.093384f), 133) - { - Disabled = true, - Comment = "Pick up Class Quest" - }; - span73[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 148) - { - Aetheryte = EAetheryteLocation.CentralShroudBentbranchMeadows, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaConjurer, - To = EAetheryteLocation.GridaniaBlueBadgerGate - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span73[2] = new QuestStep(EInteractionType.None, null, null, 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span73[3] = new QuestStep(EInteractionType.CompleteQuest, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaConjurer, - To = EAetheryteLocation.GridaniaAirship - } - }; - obj98.Steps = list156; - reference113 = obj98; - questRoot19.QuestSequence = list152; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(126); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list157 = new List(num); - CollectionsMarshal.SetCount(list157, num); - CollectionsMarshal.AsSpan(list157)[0] = "liza"; - questRoot20.Author = list157; - num = 9; - List list158 = new List(num); - CollectionsMarshal.SetCount(list158, num); - Span span74 = CollectionsMarshal.AsSpan(list158); - ref QuestSequence reference114 = ref span74[0]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - Span span75 = CollectionsMarshal.AsSpan(list159); - span75[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.RoguesGuild - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span75[1] = new QuestStep(EInteractionType.AcceptQuest, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129) - { - StopDistance = 7f - }; - obj99.Steps = list159; - reference114 = obj99; - ref QuestSequence reference115 = ref span74[1]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.Interact, 1010198u, new Vector3(-152.11719f, -129.4397f, 267.10913f), 129) - { - StopDistance = 7f - }; - obj100.Steps = list160; - reference115 = obj100; - ref QuestSequence reference116 = ref span74[2]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - Span span76 = CollectionsMarshal.AsSpan(list161); - ref QuestStep reference117 = ref span76[0]; - QuestStep obj102 = new QuestStep(EInteractionType.Interact, 2004936u, new Vector3(-151.8734f, -128.1446f, 256.8712f), 129) - { - TargetTerritoryId = (ushort)129 - }; - SkipConditions skipConditions12 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 1; - List list162 = new List(num3); - CollectionsMarshal.SetCount(list162, num3); - CollectionsMarshal.AsSpan(list162)[0] = 128; - skipStepConditions5.InTerritory = list162; - skipConditions12.StepIf = skipStepConditions5; - obj102.SkipConditions = skipConditions12; - reference117 = obj102; - span76[1] = new QuestStep(EInteractionType.Interact, 1010212u, new Vector3(-50.8584f, 40f, 111.40613f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj101.Steps = list161; - reference116 = obj101; - ref QuestSequence reference118 = ref span74[3]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.Interact, 1010211u, new Vector3(-42.22174f, 42.249126f, 115.89221f), 128); - obj103.Steps = list163; - reference118 = obj103; - ref QuestSequence reference119 = ref span74[4]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 4 - }; - num2 = 8; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - Span span77 = CollectionsMarshal.AsSpan(list164); - ref QuestStep reference120 = ref span77[0]; - QuestStep obj105 = new QuestStep(EInteractionType.Action, null, new Vector3(-62.300663f, 42.300003f, -151.94725f), 128) - { - StopDistance = 0.5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.LimsaCulinarian - }, - Action = EAction.Hide - }; - SkipConditions skipConditions13 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 6; - List list165 = new List(num3); - CollectionsMarshal.SetCount(list165, num3); - Span span78 = CollectionsMarshal.AsSpan(list165); - span78[0] = null; - span78[1] = null; - span78[2] = null; - span78[3] = null; - span78[4] = null; - span78[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions6.CompletionQuestVariablesFlags = list165; - skipConditions13.StepIf = skipStepConditions6; - obj105.SkipConditions = skipConditions13; - reference120 = obj105; - ref QuestStep reference121 = ref span77[1]; - QuestStep obj106 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-54.962505f, 42.300007f, -158.14607f), 128) - { - StopDistance = 0.5f, - DisableNavmesh = true - }; - num3 = 6; - List list166 = new List(num3); - CollectionsMarshal.SetCount(list166, num3); - Span span79 = CollectionsMarshal.AsSpan(list166); - span79[0] = null; - span79[1] = null; - span79[2] = null; - span79[3] = null; - span79[4] = null; - span79[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj106.CompletionQuestVariablesFlags = list166; - reference121 = obj106; - span77[2] = new QuestStep(EInteractionType.StatusOff, null, null, 128) - { - Status = EStatus.Hidden - }; - ref QuestStep reference122 = ref span77[3]; - QuestStep obj107 = new QuestStep(EInteractionType.Action, null, new Vector3(-155.25468f, 18f, 28.882175f), 129) - { - StopDistance = 0.5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaCulinarian, - To = EAetheryteLocation.LimsaHawkersAlley - }, - Action = EAction.Hide - }; - SkipConditions skipConditions14 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 6; - List list167 = new List(num3); - CollectionsMarshal.SetCount(list167, num3); - Span span80 = CollectionsMarshal.AsSpan(list167); - span80[0] = null; - span80[1] = null; - span80[2] = null; - span80[3] = null; - span80[4] = null; - span80[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions7.CompletionQuestVariablesFlags = list167; - skipConditions14.StepIf = skipStepConditions7; - obj107.SkipConditions = skipConditions14; - reference122 = obj107; - ref QuestStep reference123 = ref span77[4]; - QuestStep obj108 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-150.91245f, 18.2f, 34.06711f), 129) - { - StopDistance = 0.5f - }; - num3 = 6; - List list168 = new List(num3); - CollectionsMarshal.SetCount(list168, num3); - Span span81 = CollectionsMarshal.AsSpan(list168); - span81[0] = null; - span81[1] = null; - span81[2] = null; - span81[3] = null; - span81[4] = null; - span81[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj108.CompletionQuestVariablesFlags = list168; - reference123 = obj108; - span77[5] = new QuestStep(EInteractionType.StatusOff, null, null, 129) - { - Status = EStatus.Hidden - }; - ref QuestStep reference124 = ref span77[6]; - QuestStep obj109 = new QuestStep(EInteractionType.Action, null, new Vector3(-187.95581f, 1.2697256f, 208.46738f), 129) - { - StopDistance = 0.5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaHawkersAlley, - To = EAetheryteLocation.LimsaFisher - }, - Action = EAction.Hide - }; - SkipConditions skipConditions15 = new SkipConditions(); - SkipStepConditions skipStepConditions8 = new SkipStepConditions(); - num3 = 6; - List list169 = new List(num3); - CollectionsMarshal.SetCount(list169, num3); - Span span82 = CollectionsMarshal.AsSpan(list169); - span82[0] = null; - span82[1] = null; - span82[2] = null; - span82[3] = null; - span82[4] = null; - span82[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions8.CompletionQuestVariablesFlags = list169; - skipConditions15.StepIf = skipStepConditions8; - obj109.SkipConditions = skipConditions15; - reference124 = obj109; - ref QuestStep reference125 = ref span77[7]; - QuestStep questStep16 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-190.81572f, 0.9999907f, 210.59836f), 129); - num3 = 6; - List list170 = new List(num3); - CollectionsMarshal.SetCount(list170, num3); - Span span83 = CollectionsMarshal.AsSpan(list170); - span83[0] = null; - span83[1] = null; - span83[2] = null; - span83[3] = null; - span83[4] = null; - span83[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list170; - reference125 = questStep16; - obj104.Steps = list164; - reference119 = obj104; - ref QuestSequence reference126 = ref span74[5]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - Span span84 = CollectionsMarshal.AsSpan(list171); - span84[0] = new QuestStep(EInteractionType.StatusOff, null, null, 129) - { - Status = EStatus.Hidden - }; - span84[1] = new QuestStep(EInteractionType.Interact, 1010213u, new Vector3(-161.12f, 1.9499999f, 239.30713f), 129); - obj110.Steps = list171; - reference126 = obj110; - ref QuestSequence reference127 = ref span74[6]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - ref QuestStep reference128 = ref CollectionsMarshal.AsSpan(list172)[0]; - QuestStep questStep17 = new QuestStep(EInteractionType.SinglePlayerDuty, 1010213u, new Vector3(-161.12f, 1.9499999f, 239.30713f), 129); - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions(); - num3 = 4; - List list173 = new List(num3); - CollectionsMarshal.SetCount(list173, num3); - Span span85 = CollectionsMarshal.AsSpan(list173); - span85[0] = "(phase 1) AI doesn't move or pick up the stolen firearms"; - span85[1] = "(phase 1 + 2) AI automatically removes Hidden status"; - span85[2] = "(phase 2) AI only moves while targeted enemies are in range + gets stuck on corners while trying to get to irrelevant enemies"; - span85[3] = "(phase 2) AI doesn't even attempt to navigate to the end of the quest"; - singlePlayerDutyOptions.Notes = list173; - questStep17.SinglePlayerDutyOptions = singlePlayerDutyOptions; - reference128 = questStep17; - obj111.Steps = list172; - reference127 = obj111; - ref QuestSequence reference129 = ref span74[7]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.Interact, 1010213u, new Vector3(-161.12f, 1.9499999f, 239.30713f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaHawkersAlley, - To = EAetheryteLocation.LimsaFisher - } - }; - obj112.Steps = list174; - reference129 = obj112; - ref QuestSequence reference130 = ref span74[8]; - QuestSequence obj113 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - Span span86 = CollectionsMarshal.AsSpan(list175); - span86[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129 - }; - span86[1] = new QuestStep(EInteractionType.CompleteQuest, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129) - { - StopDistance = 7f, - NextQuestId = new QuestId(144) - }; - obj113.Steps = list175; - reference130 = obj113; - questRoot20.QuestSequence = list158; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(129); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - CollectionsMarshal.AsSpan(list176)[0] = "liza"; - questRoot21.Author = list176; - num = 7; - List list177 = new List(num); - CollectionsMarshal.SetCount(list177, num); - Span span87 = CollectionsMarshal.AsSpan(list177); - ref QuestSequence reference131 = ref span87[0]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000421u, new Vector3(98.25281f, -8f, -78.446655f), 148); - obj114.Steps = list178; - reference131 = obj114; - ref QuestSequence reference132 = ref span87[1]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - CollectionsMarshal.AsSpan(list179)[0] = new QuestStep(EInteractionType.Interact, 1000465u, new Vector3(298.63428f, 9.999997f, 119.035645f), 148); - obj115.Steps = list179; - reference132 = obj115; - ref QuestSequence reference133 = ref span87[2]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - Span span88 = CollectionsMarshal.AsSpan(list180); - ref QuestStep reference134 = ref span88[0]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1000512u, new Vector3(311.69592f, 14.8470745f, 164.47693f), 148); - num3 = 6; - List list181 = new List(num3); - CollectionsMarshal.SetCount(list181, num3); - Span span89 = CollectionsMarshal.AsSpan(list181); - span89[0] = null; - span89[1] = null; - span89[2] = null; - span89[3] = null; - span89[4] = null; - span89[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list181; - reference134 = questStep18; - ref QuestStep reference135 = ref span88[1]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 1000513u, new Vector3(303.8833f, 15.899703f, 160.87585f), 148); - num3 = 6; - List list182 = new List(num3); - CollectionsMarshal.SetCount(list182, num3); - Span span90 = CollectionsMarshal.AsSpan(list182); - span90[0] = null; - span90[1] = null; - span90[2] = null; - span90[3] = null; - span90[4] = null; - span90[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list182; - reference135 = questStep19; - ref QuestStep reference136 = ref span88[2]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 1000514u, new Vector3(296.1012f, 15.999987f, 171.4961f), 148); - num3 = 6; - List list183 = new List(num3); - CollectionsMarshal.SetCount(list183, num3); - Span span91 = CollectionsMarshal.AsSpan(list183); - span91[0] = null; - span91[1] = null; - span91[2] = null; - span91[3] = null; - span91[4] = null; - span91[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep20.CompletionQuestVariablesFlags = list183; - reference136 = questStep20; - ref QuestStep reference137 = ref span88[3]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1000515u, new Vector3(291.21838f, 19.86808f, 175.21924f), 148); - num3 = 6; - List list184 = new List(num3); - CollectionsMarshal.SetCount(list184, num3); - Span span92 = CollectionsMarshal.AsSpan(list184); - span92[0] = null; - span92[1] = null; - span92[2] = null; - span92[3] = null; - span92[4] = null; - span92[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep21.CompletionQuestVariablesFlags = list184; - reference137 = questStep21; - ref QuestStep reference138 = ref span88[4]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1000516u, new Vector3(284.65698f, 21.97319f, 188.18945f), 148); - num3 = 6; - List list185 = new List(num3); - CollectionsMarshal.SetCount(list185, num3); - Span span93 = CollectionsMarshal.AsSpan(list185); - span93[0] = null; - span93[1] = null; - span93[2] = null; - span93[3] = null; - span93[4] = null; - span93[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep22.CompletionQuestVariablesFlags = list185; - reference138 = questStep22; - obj116.Steps = list180; - reference133 = obj116; - ref QuestSequence reference139 = ref span87[3]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1000740u, new Vector3(260.18152f, 24.000002f, 192.2179f), 148) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj117.Steps = list186; - reference139 = obj117; - span87[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference140 = ref span87[5]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - Span span94 = CollectionsMarshal.AsSpan(list187); - span94[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(319.9492f, 13.866494f, 156.2647f), 148); - span94[1] = new QuestStep(EInteractionType.Interact, 1000465u, new Vector3(298.63428f, 9.999997f, 119.035645f), 148); - obj118.Steps = list187; - reference140 = obj118; - ref QuestSequence reference141 = ref span87[6]; - QuestSequence obj119 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - CollectionsMarshal.AsSpan(list188)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAirship - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj119.Steps = list188; - reference141 = obj119; - questRoot21.QuestSequence = list177; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(131); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list189 = new List(num); - CollectionsMarshal.SetCount(list189, num); - CollectionsMarshal.AsSpan(list189)[0] = "Cacahuetes"; - questRoot22.Author = list189; - num = 2; - List list190 = new List(num); - CollectionsMarshal.SetCount(list190, num); - Span span95 = CollectionsMarshal.AsSpan(list190); - ref QuestSequence reference142 = ref span95[0]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000197u, new Vector3(201.31226f, -3.1634123E-15f, 43.900146f), 132); - obj120.Steps = list191; - reference142 = obj120; - ref QuestSequence reference143 = ref span95[1]; - QuestSequence obj121 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - ref QuestStep reference144 = ref CollectionsMarshal.AsSpan(list192)[0]; - QuestStep obj122 = new QuestStep(EInteractionType.CompleteQuest, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) - { - StopDistance = 5f - }; - num3 = 1; - List list193 = new List(num3); - CollectionsMarshal.SetCount(list193, num3); - CollectionsMarshal.AsSpan(list193)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSARC998_00131_Q1_000_1") - }; - obj122.DialogueChoices = list193; - reference144 = obj122; - obj121.Steps = list192; - reference143 = obj121; - questRoot22.QuestSequence = list190; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(132); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - CollectionsMarshal.AsSpan(list194)[0] = "Cacahuetes"; - questRoot23.Author = list194; - num = 2; - List list195 = new List(num); - CollectionsMarshal.SetCount(list195, num); - Span span96 = CollectionsMarshal.AsSpan(list195); - ref QuestSequence reference145 = ref span96[0]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - ref QuestStep reference146 = ref CollectionsMarshal.AsSpan(list196)[0]; - QuestStep obj124 = new QuestStep(EInteractionType.AcceptQuest, 1000251u, new Vector3(147.08167f, 15.5f, -267.99426f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - } - }; - SkipConditions skipConditions16 = new SkipConditions(); - SkipAetheryteCondition obj125 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list197 = new List(num3); - CollectionsMarshal.SetCount(list197, num3); - CollectionsMarshal.AsSpan(list197)[0] = 133; - obj125.InTerritory = list197; - skipConditions16.AetheryteShortcutIf = obj125; - obj124.SkipConditions = skipConditions16; - reference146 = obj124; - obj123.Steps = list196; - reference145 = obj123; - ref QuestSequence reference147 = ref span96[1]; - QuestSequence obj126 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - ref QuestStep reference148 = ref CollectionsMarshal.AsSpan(list198)[0]; - QuestStep questStep23 = new QuestStep(EInteractionType.CompleteQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133); - num3 = 1; - List list199 = new List(num3); - CollectionsMarshal.SetCount(list199, num3); - CollectionsMarshal.AsSpan(list199)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSLNC998_00132_Q1_000_1") - }; - questStep23.DialogueChoices = list199; - questStep23.NextQuestId = new QuestId(218); - reference148 = questStep23; - obj126.Steps = list198; - reference147 = obj126; - questRoot23.QuestSequence = list195; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(133); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list200 = new List(num); - CollectionsMarshal.SetCount(list200, num); - CollectionsMarshal.AsSpan(list200)[0] = "liza"; - questRoot24.Author = list200; - num = 2; - List list201 = new List(num); - CollectionsMarshal.SetCount(list201, num); - Span span97 = CollectionsMarshal.AsSpan(list201); - ref QuestSequence reference149 = ref span97[0]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - ref QuestStep reference150 = ref CollectionsMarshal.AsSpan(list202)[0]; - QuestStep obj128 = new QuestStep(EInteractionType.AcceptQuest, 1000323u, new Vector3(-234.02765f, -4.0000043f, -11.093384f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - SkipConditions skipConditions17 = new SkipConditions(); - SkipAetheryteCondition obj129 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list203 = new List(num3); - CollectionsMarshal.SetCount(list203, num3); - CollectionsMarshal.AsSpan(list203)[0] = 133; - obj129.InTerritory = list203; - skipConditions17.AetheryteShortcutIf = obj129; - obj128.SkipConditions = skipConditions17; - reference150 = obj128; - obj127.Steps = list202; - reference149 = obj127; - ref QuestSequence reference151 = ref span97[1]; - QuestSequence obj130 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - ref QuestStep reference152 = ref CollectionsMarshal.AsSpan(list204)[0]; - QuestStep questStep24 = new QuestStep(EInteractionType.CompleteQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133); - num3 = 1; - List list205 = new List(num3); - CollectionsMarshal.SetCount(list205, num3); - CollectionsMarshal.AsSpan(list205)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSCNJ998_00133_Q1_000_1") - }; - questStep24.DialogueChoices = list205; - reference152 = questStep24; - obj130.Steps = list204; - reference151 = obj130; - questRoot24.QuestSequence = list201; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(134); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list206 = new List(num); - CollectionsMarshal.SetCount(list206, num); - CollectionsMarshal.AsSpan(list206)[0] = "Cacahuetes"; - questRoot25.Author = list206; - num = 7; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - Span span98 = CollectionsMarshal.AsSpan(list207); - ref QuestSequence reference153 = ref span98[0]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj131.Steps = list208; - reference153 = obj131; - ref QuestSequence reference154 = ref span98[1]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.Interact, 1000199u, new Vector3(211.13904f, 1.5032018E-05f, 28.580078f), 132); - obj132.Steps = list209; - reference154 = obj132; - ref QuestSequence reference155 = ref span98[2]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 2 - }; - num2 = 12; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - Span span99 = CollectionsMarshal.AsSpan(list210); - span99[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-87.448326f, -3.8114734f, -77.68485f), 148) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows - }; - ref QuestStep reference156 = ref span99[1]; - QuestStep obj134 = new QuestStep(EInteractionType.Action, 2001177u, new Vector3(-88.24298f, 3.768982f, -88.24298f), 148) - { - StopDistance = 15f, - Action = EAction.HeavyShot - }; - num3 = 6; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - Span span100 = CollectionsMarshal.AsSpan(list211); - span100[0] = null; - span100[1] = null; - span100[2] = null; - span100[3] = null; - span100[4] = null; - span100[5] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - obj134.CompletionQuestVariablesFlags = list211; - reference156 = obj134; - ref QuestStep reference157 = ref span99[2]; - QuestStep questStep25 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-113.806755f, -3.824695f, -61.20561f), 148); - SkipConditions skipConditions18 = new SkipConditions(); - SkipStepConditions skipStepConditions9 = new SkipStepConditions(); - num3 = 6; - List list212 = new List(num3); - CollectionsMarshal.SetCount(list212, num3); - Span span101 = CollectionsMarshal.AsSpan(list212); - span101[0] = null; - span101[1] = null; - span101[2] = null; - span101[3] = null; - span101[4] = null; - span101[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - skipStepConditions9.CompletionQuestVariablesFlags = list212; - skipConditions18.StepIf = skipStepConditions9; - questStep25.SkipConditions = skipConditions18; - reference157 = questStep25; - ref QuestStep reference158 = ref span99[3]; - QuestStep obj135 = new QuestStep(EInteractionType.Action, 2001175u, new Vector3(-115.58716f, -3.402832f, -51.07196f), 148) - { - StopDistance = 15f, - Action = EAction.HeavyShot - }; - num3 = 6; - List list213 = new List(num3); - CollectionsMarshal.SetCount(list213, num3); - Span span102 = CollectionsMarshal.AsSpan(list213); - span102[0] = null; - span102[1] = null; - span102[2] = null; - span102[3] = null; - span102[4] = null; - span102[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - obj135.CompletionQuestVariablesFlags = list213; - reference158 = obj135; - ref QuestStep reference159 = ref span99[4]; - QuestStep questStep26 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-142.90863f, -1.355497f, -69.45994f), 148); - SkipConditions skipConditions19 = new SkipConditions(); - SkipStepConditions skipStepConditions10 = new SkipStepConditions(); - num3 = 6; - List list214 = new List(num3); - CollectionsMarshal.SetCount(list214, num3); - Span span103 = CollectionsMarshal.AsSpan(list214); - span103[0] = null; - span103[1] = null; - span103[2] = null; - span103[3] = null; - span103[4] = null; - span103[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - skipStepConditions10.CompletionQuestVariablesFlags = list214; - skipConditions19.StepIf = skipStepConditions10; - questStep26.SkipConditions = skipConditions19; - reference159 = questStep26; - ref QuestStep reference160 = ref span99[5]; - QuestStep obj136 = new QuestStep(EInteractionType.Action, 2000959u, new Vector3(-143.32806f, -0.41204834f, -58.884644f), 148) - { - StopDistance = 15f, - Action = EAction.HeavyShot - }; - num3 = 6; - List list215 = new List(num3); - CollectionsMarshal.SetCount(list215, num3); - Span span104 = CollectionsMarshal.AsSpan(list215); - span104[0] = null; - span104[1] = null; - span104[2] = null; - span104[3] = null; - span104[4] = null; - span104[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj136.CompletionQuestVariablesFlags = list215; - reference160 = obj136; - ref QuestStep reference161 = ref span99[6]; - QuestStep questStep27 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-154.95493f, 4.0352364f, -132.85217f), 148); - SkipConditions skipConditions20 = new SkipConditions(); - SkipStepConditions skipStepConditions11 = new SkipStepConditions(); - num3 = 6; - List list216 = new List(num3); - CollectionsMarshal.SetCount(list216, num3); - Span span105 = CollectionsMarshal.AsSpan(list216); - span105[0] = null; - span105[1] = null; - span105[2] = null; - span105[3] = null; - span105[4] = null; - span105[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions11.CompletionQuestVariablesFlags = list216; - skipConditions20.StepIf = skipStepConditions11; - questStep27.SkipConditions = skipConditions20; - reference161 = questStep27; - ref QuestStep reference162 = ref span99[7]; - QuestStep obj137 = new QuestStep(EInteractionType.Action, 2000958u, new Vector3(-166.97955f, 10.2387085f, -138.41461f), 148) - { - StopDistance = 15f, - Action = EAction.HeavyShot - }; - num3 = 6; - List list217 = new List(num3); - CollectionsMarshal.SetCount(list217, num3); - Span span106 = CollectionsMarshal.AsSpan(list217); - span106[0] = null; - span106[1] = null; - span106[2] = null; - span106[3] = null; - span106[4] = null; - span106[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj137.CompletionQuestVariablesFlags = list217; - reference162 = obj137; - ref QuestStep reference163 = ref span99[8]; - QuestStep questStep28 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-114.08684f, 7.6589117f, -173.19547f), 148); - SkipConditions skipConditions21 = new SkipConditions(); - SkipStepConditions skipStepConditions12 = new SkipStepConditions(); - num3 = 6; - List list218 = new List(num3); - CollectionsMarshal.SetCount(list218, num3); - Span span107 = CollectionsMarshal.AsSpan(list218); - span107[0] = null; - span107[1] = null; - span107[2] = null; - span107[3] = null; - span107[4] = null; - span107[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions12.CompletionQuestVariablesFlags = list218; - skipConditions21.StepIf = skipStepConditions12; - questStep28.SkipConditions = skipConditions21; - reference163 = questStep28; - ref QuestStep reference164 = ref span99[9]; - QuestStep obj138 = new QuestStep(EInteractionType.Action, 2000957u, new Vector3(-120.68359f, 12.49707f, -182.39111f), 148) - { - StopDistance = 15f, - Action = EAction.HeavyShot - }; - num3 = 6; - List list219 = new List(num3); - CollectionsMarshal.SetCount(list219, num3); - Span span108 = CollectionsMarshal.AsSpan(list219); - span108[0] = null; - span108[1] = null; - span108[2] = null; - span108[3] = null; - span108[4] = null; - span108[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj138.CompletionQuestVariablesFlags = list219; - reference164 = obj138; - span99[10] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-74.71171f, -4f, -190.44055f), 148); - span99[11] = new QuestStep(EInteractionType.Action, 2000956u, new Vector3(-80.76605f, -2.3651733f, -196.49048f), 148) - { - StopDistance = 15f, - Action = EAction.HeavyShot - }; - obj133.Steps = list210; - reference155 = obj133; - ref QuestSequence reference165 = ref span98[3]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.Interact, 1000199u, new Vector3(211.13904f, 1.5032018E-05f, 28.580078f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - } - }; - obj139.Steps = list220; - reference165 = obj139; - ref QuestSequence reference166 = ref span98[4]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - Span span109 = CollectionsMarshal.AsSpan(list221); - span109[0] = new QuestStep(EInteractionType.Interact, 1001263u, new Vector3(181.41443f, -2.3519497f, -240.40594f), 133) - { - TargetTerritoryId = (ushort)152, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaArcher, - To = EAetheryteLocation.GridaniaLancer - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.EastShroudHawthorneHut - } - } - }; - span109[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 152) - { - Aetheryte = EAetheryteLocation.EastShroudHawthorneHut - }; - ref QuestStep reference167 = ref span109[2]; - QuestStep obj141 = new QuestStep(EInteractionType.Combat, null, new Vector3(-431.09494f, 2.9039853f, 239.26413f), 152) - { - StopDistance = 0.5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list222 = new List(num3); - CollectionsMarshal.SetCount(list222, num3); - Span span110 = CollectionsMarshal.AsSpan(list222); - ref ComplexCombatData reference168 = ref span110[0]; - ComplexCombatData obj142 = new ComplexCombatData - { - DataId = 12u, - MinimumKillCount = 8u - }; - num4 = 6; - List list223 = new List(num4); - CollectionsMarshal.SetCount(list223, num4); - Span span111 = CollectionsMarshal.AsSpan(list223); - span111[0] = null; - span111[1] = new QuestWorkValue((byte)8, null, EQuestWorkMode.Bitwise); - span111[2] = null; - span111[3] = null; - span111[4] = null; - span111[5] = null; - obj142.CompletionQuestVariablesFlags = list223; - reference168 = obj142; - ref ComplexCombatData reference169 = ref span110[1]; - ComplexCombatData obj143 = new ComplexCombatData - { - DataId = 39u, - MinimumKillCount = 8u - }; - num4 = 6; - List list224 = new List(num4); - CollectionsMarshal.SetCount(list224, num4); - Span span112 = CollectionsMarshal.AsSpan(list224); - span112[0] = new QuestWorkValue(null, (byte)8, EQuestWorkMode.Bitwise); - span112[1] = null; - span112[2] = null; - span112[3] = null; - span112[4] = null; - span112[5] = null; - obj143.CompletionQuestVariablesFlags = list224; - reference169 = obj143; - obj141.ComplexCombatData = list222; - obj141.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true, - AetheryteLocked = EAetheryteLocation.EastShroudHawthorneHut - } - }; - reference167 = obj141; - obj140.Steps = list221; - reference166 = obj140; - ref QuestSequence reference170 = ref span98[5]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.Interact, 1000199u, new Vector3(211.13904f, 1.5032018E-05f, 28.580078f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - } - }; - obj144.Steps = list225; - reference170 = obj144; - ref QuestSequence reference171 = ref span98[6]; - QuestSequence obj145 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - ref QuestStep reference172 = ref CollectionsMarshal.AsSpan(list226)[0]; - QuestStep obj146 = new QuestStep(EInteractionType.CompleteQuest, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) - { - StopDistance = 7f - }; - num3 = 1; - List list227 = new List(num3); - CollectionsMarshal.SetCount(list227, num3); - CollectionsMarshal.AsSpan(list227)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSARC997_00134_Q1_000_1") - }; - obj146.DialogueChoices = list227; - obj146.NextQuestId = new QuestId(68); - reference172 = obj146; - obj145.Steps = list226; - reference171 = obj145; - questRoot25.QuestSequence = list207; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(138); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list228 = new List(num); - CollectionsMarshal.SetCount(list228, num); - CollectionsMarshal.AsSpan(list228)[0] = "liza"; - questRoot26.Author = list228; - num = 2; - List list229 = new List(num); - CollectionsMarshal.SetCount(list229, num); - Span span113 = CollectionsMarshal.AsSpan(list229); - ref QuestSequence reference173 = ref span113[0]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000148u, new Vector3(-20.279297f, -3.25f, 45.97534f), 132); - obj147.Steps = list230; - reference173 = obj147; - ref QuestSequence reference174 = ref span113[1]; - QuestSequence obj148 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - ref QuestStep reference175 = ref CollectionsMarshal.AsSpan(list231)[0]; - QuestStep questStep29 = new QuestStep(EInteractionType.CompleteQuest, 1000153u, new Vector3(-44.87683f, -1.2500024f, 56.839844f), 132); - num3 = 1; - List list232 = new List(num3); - CollectionsMarshal.SetCount(list232, num3); - CollectionsMarshal.AsSpan(list232)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSWDK000_00138_Q1_000_1") - }; - questStep29.DialogueChoices = list232; - reference175 = questStep29; - obj148.Steps = list231; - reference174 = obj148; - questRoot26.QuestSequence = list229; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(143); - QuestRoot questRoot27 = new QuestRoot(); - num = 2; - List list233 = new List(num); - CollectionsMarshal.SetCount(list233, num); - Span span114 = CollectionsMarshal.AsSpan(list233); - span114[0] = "Cacahuetes"; - span114[1] = "liza"; - questRoot27.Author = list233; - num = 4; - List list234 = new List(num); - CollectionsMarshal.SetCount(list234, num); - Span span115 = CollectionsMarshal.AsSpan(list234); - ref QuestSequence reference176 = ref span115[0]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - ref QuestStep reference177 = ref CollectionsMarshal.AsSpan(list235)[0]; - QuestStep obj150 = new QuestStep(EInteractionType.AcceptQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - } - }; - SkipConditions skipConditions22 = new SkipConditions(); - SkipAetheryteCondition obj151 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list236 = new List(num3); - CollectionsMarshal.SetCount(list236, num3); - CollectionsMarshal.AsSpan(list236)[0] = 133; - obj151.InTerritory = list236; - skipConditions22.AetheryteShortcutIf = obj151; - obj150.SkipConditions = skipConditions22; - reference177 = obj150; - obj149.Steps = list235; - reference176 = obj149; - ref QuestSequence reference178 = ref span115[1]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - Span span116 = CollectionsMarshal.AsSpan(list237); - span116[0] = new QuestStep(EInteractionType.Combat, null, new Vector3(502.843f, 43.200996f, -32.464188f), 148) - { - StopDistance = 0.5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLancer, - To = EAetheryteLocation.GridaniaBlueBadgerGate - }, - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - ref QuestStep reference179 = ref span116[1]; - QuestStep obj153 = new QuestStep(EInteractionType.Combat, 142u, new Vector3(514.06104f, 44.169823f, -42.008118f), 148) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list238 = new List(num3); - CollectionsMarshal.SetCount(list238, num3); - CollectionsMarshal.AsSpan(list238)[0] = 142u; - obj153.KillEnemyDataIds = list238; - num3 = 6; - List list239 = new List(num3); - CollectionsMarshal.SetCount(list239, num3); - Span span117 = CollectionsMarshal.AsSpan(list239); - span117[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span117[1] = null; - span117[2] = null; - span117[3] = null; - span117[4] = null; - span117[5] = null; - obj153.CompletionQuestVariablesFlags = list239; - reference179 = obj153; - span116[2] = new QuestStep(EInteractionType.Interact, 2000967u, new Vector3(514.8546f, 43.808594f, -48.630554f), 148); - obj152.Steps = list237; - reference178 = obj152; - ref QuestSequence reference180 = ref span115[2]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - Span span118 = CollectionsMarshal.AsSpan(list240); - ref QuestStep reference181 = ref span118[0]; - QuestStep obj155 = new QuestStep(EInteractionType.Combat, null, new Vector3(211.82294f, 23.458103f, 157.57333f), 148) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list241 = new List(num3); - CollectionsMarshal.SetCount(list241, num3); - CollectionsMarshal.AsSpan(list241)[0] = 21u; - obj155.KillEnemyDataIds = list241; - num3 = 6; - List list242 = new List(num3); - CollectionsMarshal.SetCount(list242, num3); - Span span119 = CollectionsMarshal.AsSpan(list242); - span119[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span119[1] = null; - span119[2] = null; - span119[3] = null; - span119[4] = null; - span119[5] = null; - obj155.CompletionQuestVariablesFlags = list242; - reference181 = obj155; - span118[1] = new QuestStep(EInteractionType.Interact, 2000918u, new Vector3(215.99133f, 23.575134f, 153.2157f), 148); - obj154.Steps = list240; - reference180 = obj154; - ref QuestSequence reference182 = ref span115[3]; - QuestSequence obj156 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - }, - NextQuestId = new QuestId(55) - }; - obj156.Steps = list243; - reference182 = obj156; - questRoot27.QuestSequence = list234; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(144); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list244 = new List(num); - CollectionsMarshal.SetCount(list244, num); - CollectionsMarshal.AsSpan(list244)[0] = "liza"; - questRoot28.Author = list244; - num = 7; - List list245 = new List(num); - CollectionsMarshal.SetCount(list245, num); - Span span120 = CollectionsMarshal.AsSpan(list245); - ref QuestSequence reference183 = ref span120[0]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - Span span121 = CollectionsMarshal.AsSpan(list246); - span121[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.RoguesGuild - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span121[1] = new QuestStep(EInteractionType.AcceptQuest, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129) - { - StopDistance = 7f - }; - obj157.Steps = list246; - reference183 = obj157; - ref QuestSequence reference184 = ref span120[1]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.Interact, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129) - { - StopDistance = 7f - }; - obj158.Steps = list247; - reference184 = obj158; - ref QuestSequence reference185 = ref span120[2]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.Interact, 1010199u, new Vector3(256.12268f, 21.097961f, 581.3839f), 135) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }; - obj159.Steps = list248; - reference185 = obj159; - ref QuestSequence reference186 = ref span120[3]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.Interact, 2004861u, new Vector3(-131.63965f, 0.503479f, 729.9762f), 135) - { - Fly = true - }; - obj160.Steps = list249; - reference186 = obj160; - ref QuestSequence reference187 = ref span120[4]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - CollectionsMarshal.AsSpan(list250)[0] = new QuestStep(EInteractionType.Interact, 1010218u, new Vector3(319.44763f, -36.353825f, 346.76123f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - obj161.Steps = list250; - reference187 = obj161; - ref QuestSequence reference188 = ref span120[5]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1010218u, new Vector3(319.44763f, -36.353825f, 346.76123f), 138); - obj162.Steps = list251; - reference188 = obj162; - ref QuestSequence reference189 = ref span120[6]; - QuestSequence obj163 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - CollectionsMarshal.AsSpan(list252)[0] = new QuestStep(EInteractionType.CompleteQuest, 1010218u, new Vector3(319.44763f, -36.353825f, 346.76123f), 138) - { - StopDistance = 5f, - NextQuestId = new QuestId(145) - }; - obj163.Steps = list252; - reference189 = obj163; - questRoot28.QuestSequence = list245; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(145); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list253 = new List(num); - CollectionsMarshal.SetCount(list253, num); - CollectionsMarshal.AsSpan(list253)[0] = "liza"; - questRoot29.Author = list253; - num = 4; - List list254 = new List(num); - CollectionsMarshal.SetCount(list254, num); - Span span122 = CollectionsMarshal.AsSpan(list254); - ref QuestSequence reference190 = ref span122[0]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - CollectionsMarshal.AsSpan(list255)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010218u, new Vector3(319.44763f, -36.353825f, 346.76123f), 138) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj164.Steps = list255; - reference190 = obj164; - ref QuestSequence reference191 = ref span122[1]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - Span span123 = CollectionsMarshal.AsSpan(list256); - span123[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(593.2056f, 43.88314f, 304.65137f), 138) - { - Fly = true - }; - span123[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 1010228u, new Vector3(594.1709f, 43.893982f, 303.76135f), 138) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions() - }; - obj165.Steps = list256; - reference191 = obj165; - span122[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference192 = ref span122[3]; - QuestSequence obj166 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - Span span124 = CollectionsMarshal.AsSpan(list257); - span124[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - } - }; - span124[1] = new QuestStep(EInteractionType.CompleteQuest, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129) - { - StopDistance = 7f, - NextQuestId = new QuestId(146) - }; - obj166.Steps = list257; - reference192 = obj166; - questRoot29.QuestSequence = list254; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(146); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list258 = new List(num); - CollectionsMarshal.SetCount(list258, num); - CollectionsMarshal.AsSpan(list258)[0] = "liza"; - questRoot30.Author = list258; - num = 10; - List list259 = new List(num); - CollectionsMarshal.SetCount(list259, num); - Span span125 = CollectionsMarshal.AsSpan(list259); - ref QuestSequence reference193 = ref span125[0]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - Span span126 = CollectionsMarshal.AsSpan(list260); - span126[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.RoguesGuild - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span126[1] = new QuestStep(EInteractionType.AcceptQuest, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129) - { - StopDistance = 7f - }; - obj167.Steps = list260; - reference193 = obj167; - ref QuestSequence reference194 = ref span125[1]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - Span span127 = CollectionsMarshal.AsSpan(list261); - span127[0] = new QuestStep(EInteractionType.Interact, 2004936u, new Vector3(-151.90363f, -128.16058f, 256.8551f), 129) - { - TargetTerritoryId = (ushort)129 - }; - span127[1] = new QuestStep(EInteractionType.Interact, 1010238u, new Vector3(146.71545f, 62.3279f, 291.82874f), 134) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.LimsaZephyrGate - } - }; - obj168.Steps = list261; - reference194 = obj168; - ref QuestSequence reference195 = ref span125[2]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - Span span128 = CollectionsMarshal.AsSpan(list262); - span128[0] = new QuestStep(EInteractionType.Action, null, new Vector3(168.34132f, 69.5f, 327.67975f), 134) - { - StopDistance = 0.5f, - Action = EAction.Hide - }; - span128[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(178.24341f, 69.5f, 328.4606f), 134); - obj169.Steps = list262; - reference195 = obj169; - ref QuestSequence reference196 = ref span125[3]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - Span span129 = CollectionsMarshal.AsSpan(list263); - span129[0] = new QuestStep(EInteractionType.StatusOff, null, null, 134) - { - Status = EStatus.Hidden - }; - span129[1] = new QuestStep(EInteractionType.Interact, 1010238u, new Vector3(146.71545f, 62.3279f, 291.82874f), 134) - { - Fly = true - }; - obj170.Steps = list263; - reference196 = obj170; - ref QuestSequence reference197 = ref span125[4]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - ref QuestStep reference198 = ref CollectionsMarshal.AsSpan(list264)[0]; - QuestStep obj172 = new QuestStep(EInteractionType.Combat, 1010242u, new Vector3(7.2174683f, 57.91383f, -307.11835f), 134) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MiddleLaNosceaSummerfordFarms, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list265 = new List(num3); - CollectionsMarshal.SetCount(list265, num3); - Span span130 = CollectionsMarshal.AsSpan(list265); - span130[0] = 3567u; - span130[1] = 3568u; - obj172.KillEnemyDataIds = list265; - reference198 = obj172; - obj171.Steps = list264; - reference197 = obj171; - ref QuestSequence reference199 = ref span125[5]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - CollectionsMarshal.AsSpan(list266)[0] = new QuestStep(EInteractionType.Interact, 1010242u, new Vector3(7.2174683f, 57.91383f, -307.11835f), 134); - obj173.Steps = list266; - reference199 = obj173; - ref QuestSequence reference200 = ref span125[6]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - Span span131 = CollectionsMarshal.AsSpan(list267); - span131[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - } - }; - span131[1] = new QuestStep(EInteractionType.Interact, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129) - { - StopDistance = 7f - }; - obj174.Steps = list267; - reference200 = obj174; - ref QuestSequence reference201 = ref span125[7]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - CollectionsMarshal.AsSpan(list268)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1010237u, new Vector3(242.29797f, 8.000164f, 668.2383f), 135) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }; - obj175.Steps = list268; - reference201 = obj175; - ref QuestSequence reference202 = ref span125[8]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - CollectionsMarshal.AsSpan(list269)[0] = new QuestStep(EInteractionType.Interact, 1010237u, new Vector3(242.29797f, 8.000164f, 668.2383f), 135) - { - StopDistance = 7f - }; - obj176.Steps = list269; - reference202 = obj176; - ref QuestSequence reference203 = ref span125[9]; - QuestSequence obj177 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - Span span132 = CollectionsMarshal.AsSpan(list270); - span132[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - } - }; - span132[1] = new QuestStep(EInteractionType.CompleteQuest, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129) - { - StopDistance = 7f, - NextQuestId = new QuestId(148) - }; - obj177.Steps = list270; - reference203 = obj177; - questRoot30.QuestSequence = list259; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(147); - QuestRoot questRoot31 = new QuestRoot(); - num = 2; - List list271 = new List(num); - CollectionsMarshal.SetCount(list271, num); - Span span133 = CollectionsMarshal.AsSpan(list271); - span133[0] = "Cacahuetes"; - span133[1] = "liza"; - questRoot31.Author = list271; - num = 7; - List list272 = new List(num); - CollectionsMarshal.SetCount(list272, num); - Span span134 = CollectionsMarshal.AsSpan(list272); - ref QuestSequence reference204 = ref span134[0]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - ref QuestStep reference205 = ref CollectionsMarshal.AsSpan(list273)[0]; - QuestStep obj179 = new QuestStep(EInteractionType.AcceptQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - SkipConditions skipConditions23 = new SkipConditions(); - SkipAetheryteCondition obj180 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list274 = new List(num3); - CollectionsMarshal.SetCount(list274, num3); - CollectionsMarshal.AsSpan(list274)[0] = 133; - obj180.InTerritory = list274; - skipConditions23.AetheryteShortcutIf = obj180; - obj179.SkipConditions = skipConditions23; - reference205 = obj179; - obj178.Steps = list273; - reference204 = obj178; - ref QuestSequence reference206 = ref span134[1]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - Span span135 = CollectionsMarshal.AsSpan(list275); - span135[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-482.67407f, 9.16599f, 207.46878f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - span135[1] = new QuestStep(EInteractionType.Interact, 1000767u, new Vector3(-483.42108f, 10.130882f, 209.46057f), 152); - obj181.Steps = list275; - reference206 = obj181; - ref QuestSequence reference207 = ref span134[2]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - ref QuestStep reference208 = ref CollectionsMarshal.AsSpan(list276)[0]; - QuestStep obj183 = new QuestStep(EInteractionType.Combat, 2001229u, new Vector3(-510.6432f, 6.301941f, 35.78235f), 152) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list277 = new List(num3); - CollectionsMarshal.SetCount(list277, num3); - CollectionsMarshal.AsSpan(list277)[0] = 295u; - obj183.KillEnemyDataIds = list277; - reference208 = obj183; - obj182.Steps = list276; - reference207 = obj182; - ref QuestSequence reference209 = ref span134[3]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - Span span136 = CollectionsMarshal.AsSpan(list278); - span136[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-482.67407f, 9.16599f, 207.46878f), 152) - { - Fly = true - }; - span136[1] = new QuestStep(EInteractionType.Interact, 1000767u, new Vector3(-483.42108f, 10.130882f, 209.46057f), 152); - obj184.Steps = list278; - reference209 = obj184; - ref QuestSequence reference210 = ref span134[4]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - CollectionsMarshal.AsSpan(list279)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2001230u, new Vector3(-510.76526f, 6.1798096f, 35.568726f), 152) - { - Fly = true, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj185.Steps = list279; - reference210 = obj185; - ref QuestSequence reference211 = ref span134[5]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - Span span137 = CollectionsMarshal.AsSpan(list280); - span137[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-482.67407f, 9.16599f, 207.46878f), 152) - { - Fly = true - }; - span137[1] = new QuestStep(EInteractionType.Interact, 1000767u, new Vector3(-483.42108f, 10.130882f, 209.46057f), 152); - obj186.Steps = list280; - reference211 = obj186; - ref QuestSequence reference212 = ref span134[6]; - QuestSequence obj187 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - CollectionsMarshal.AsSpan(list281)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - }, - NextQuestId = new QuestId(92) - }; - obj187.Steps = list281; - reference212 = obj187; - questRoot31.QuestSequence = list272; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(148); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list282 = new List(num); - CollectionsMarshal.SetCount(list282, num); - CollectionsMarshal.AsSpan(list282)[0] = "liza"; - questRoot32.Author = list282; - num = 8; - List list283 = new List(num); - CollectionsMarshal.SetCount(list283, num); - Span span138 = CollectionsMarshal.AsSpan(list283); - ref QuestSequence reference213 = ref span138[0]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - Span span139 = CollectionsMarshal.AsSpan(list284); - span139[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.RoguesGuild - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span139[1] = new QuestStep(EInteractionType.AcceptQuest, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129) - { - StopDistance = 7f - }; - obj188.Steps = list284; - reference213 = obj188; - ref QuestSequence reference214 = ref span138[1]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - Span span140 = CollectionsMarshal.AsSpan(list285); - ref QuestStep reference215 = ref span140[0]; - QuestStep obj190 = new QuestStep(EInteractionType.Interact, 2004936u, new Vector3(-151.90363f, -128.16058f, 256.8551f), 129) - { - TargetTerritoryId = (ushort)129 - }; - SkipConditions skipConditions24 = new SkipConditions(); - SkipStepConditions skipStepConditions13 = new SkipStepConditions(); - num3 = 2; - List list286 = new List(num3); - CollectionsMarshal.SetCount(list286, num3); - Span span141 = CollectionsMarshal.AsSpan(list286); - span141[0] = 134; - span141[1] = 135; - skipStepConditions13.InTerritory = list286; - skipConditions24.StepIf = skipStepConditions13; - obj190.SkipConditions = skipConditions24; - reference215 = obj190; - ref QuestStep reference216 = ref span140[1]; - QuestStep obj191 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(212.54845f, 65.80573f, 285.71436f), 134) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.LimsaZephyrGate - } - }; - SkipConditions skipConditions25 = new SkipConditions(); - SkipStepConditions skipStepConditions14 = new SkipStepConditions(); - num3 = 1; - List list287 = new List(num3); - CollectionsMarshal.SetCount(list287, num3); - CollectionsMarshal.AsSpan(list287)[0] = 135; - skipStepConditions14.InTerritory = list287; - skipConditions25.StepIf = skipStepConditions14; - obj191.SkipConditions = skipConditions25; - reference216 = obj191; - ref QuestStep reference217 = ref span140[2]; - QuestStep obj192 = new QuestStep(EInteractionType.Combat, null, new Vector3(509.26575f, 95.90476f, -446.11078f), 135) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list288 = new List(num3); - CollectionsMarshal.SetCount(list288, num3); - Span span142 = CollectionsMarshal.AsSpan(list288); - span142[0] = 2864u; - span142[1] = 2865u; - span142[2] = 2866u; - obj192.KillEnemyDataIds = list288; - reference217 = obj192; - obj189.Steps = list285; - reference214 = obj189; - ref QuestSequence reference218 = ref span138[2]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.Interact, 1010252u, new Vector3(508.23218f, 95.95811f, -449.82074f), 135); - obj193.Steps = list289; - reference218 = obj193; - ref QuestSequence reference219 = ref span138[3]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - Span span143 = CollectionsMarshal.AsSpan(list290); - span143[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - } - }; - span143[1] = new QuestStep(EInteractionType.Interact, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129) - { - StopDistance = 7f - }; - obj194.Steps = list290; - reference219 = obj194; - ref QuestSequence reference220 = ref span138[4]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 4 - }; - num2 = 5; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - Span span144 = CollectionsMarshal.AsSpan(list291); - span144[0] = new QuestStep(EInteractionType.Interact, 2004936u, new Vector3(-151.90363f, -128.16058f, 256.8551f), 129) - { - TargetTerritoryId = (ushort)129, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.EasternLaNosceaCostaDelSol - } - } - }; - span144[1] = new QuestStep(EInteractionType.Interact, 1000868u, new Vector3(-192.00433f, 0.9999907f, 211.68835f), 129) - { - TargetTerritoryId = (ushort)137, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.EasternLaNosceaCostaDelSol - } - } - }; - span144[2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 137) - { - Aetheryte = EAetheryteLocation.EasternLaNosceaCostaDelSol, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.EasternLaNosceaCostaDelSol - } - } - }; - span144[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(449.17413f, 16.072088f, 406.06335f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span144[4] = new QuestStep(EInteractionType.Interact, 1010251u, new Vector3(450.82776f, 16.18121f, 406.69873f), 137); - obj195.Steps = list291; - reference220 = obj195; - ref QuestSequence reference221 = ref span138[5]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - CollectionsMarshal.AsSpan(list292)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1010251u, new Vector3(450.82776f, 16.18121f, 406.69873f), 137); - obj196.Steps = list292; - reference221 = obj196; - ref QuestSequence reference222 = ref span138[6]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - CollectionsMarshal.AsSpan(list293)[0] = new QuestStep(EInteractionType.Interact, 1010250u, new Vector3(448.47778f, 16.154829f, 408.77393f), 137); - obj197.Steps = list293; - reference222 = obj197; - ref QuestSequence reference223 = ref span138[7]; - QuestSequence obj198 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - Span span145 = CollectionsMarshal.AsSpan(list294); - span145[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - } - }; - span145[1] = new QuestStep(EInteractionType.CompleteQuest, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129) - { - StopDistance = 7f, - NextQuestId = new QuestId(154) - }; - obj198.Steps = list294; - reference223 = obj198; - questRoot32.QuestSequence = list283; - AddQuest(questId32, questRoot32); - } - - private static void LoadQuests3() - { - QuestId questId = new QuestId(152); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "WigglyMuffin"; - questRoot.Author = list; - num = 2; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001679u, new Vector3(140.48975f, 4.0099983f, -59.80017f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahSapphireAvenue - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009295u, new Vector3(97.09314f, 27.238445f, -352.55975f), 141) - { - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj2.Steps = list4; - reference2 = obj2; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(154); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list5 = new List(num); - CollectionsMarshal.SetCount(list5, num); - CollectionsMarshal.AsSpan(list5)[0] = "liza"; - questRoot2.Author = list5; - num = 6; - List list6 = new List(num); - CollectionsMarshal.SetCount(list6, num); - Span span2 = CollectionsMarshal.AsSpan(list6); - ref QuestSequence reference3 = ref span2[0]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - Span span3 = CollectionsMarshal.AsSpan(list7); - span3[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.RoguesGuild - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span3[1] = new QuestStep(EInteractionType.AcceptQuest, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129) - { - StopDistance = 7f - }; - obj3.Steps = list7; - reference3 = obj3; - ref QuestSequence reference4 = ref span2[1]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - Span span4 = CollectionsMarshal.AsSpan(list8); - span4[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(410.07083f, 31.504957f, -12.586371f), 138) - { - TargetTerritoryId = (ushort)139, - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - ref QuestStep reference5 = ref span4[1]; - QuestStep obj5 = new QuestStep(EInteractionType.Combat, null, new Vector3(-436.69995f, -2.0159357f, 48.819775f), 139) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - int num3 = 3; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - Span span5 = CollectionsMarshal.AsSpan(list9); - span5[0] = 3569u; - span5[1] = 3570u; - span5[2] = 3571u; - obj5.KillEnemyDataIds = list9; - reference5 = obj5; - obj4.Steps = list8; - reference4 = obj4; - ref QuestSequence reference6 = ref span2[2]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.Interact, 2004916u, new Vector3(-436.02655f, -1.9379272f, 48.569458f), 139); - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span2[3]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.Interact, 1010261u, new Vector3(-437.3694f, -2.369183f, 55.954834f), 139) - { - StopDistance = 7f - }; - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span2[4]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Interact, 1010267u, new Vector3(-449.08832f, 21.634577f, -327.93164f), 134) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MiddleLaNosceaSummerfordFarms - }; - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference9 = ref span2[5]; - QuestSequence obj9 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - Span span6 = CollectionsMarshal.AsSpan(list13); - span6[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - } - }; - span6[1] = new QuestStep(EInteractionType.CompleteQuest, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129) - { - StopDistance = 7f, - NextQuestId = new QuestId(155) - }; - obj9.Steps = list13; - reference9 = obj9; - questRoot2.QuestSequence = list6; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(155); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - CollectionsMarshal.AsSpan(list14)[0] = "liza"; - questRoot3.Author = list14; - num = 3; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - Span span7 = CollectionsMarshal.AsSpan(list15); - ref QuestSequence reference10 = ref span7[0]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - Span span8 = CollectionsMarshal.AsSpan(list16); - span8[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.RoguesGuild - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span8[1] = new QuestStep(EInteractionType.AcceptQuest, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129) - { - StopDistance = 7f - }; - obj10.Steps = list16; - reference10 = obj10; - ref QuestSequence reference11 = ref span7[1]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - Span span9 = CollectionsMarshal.AsSpan(list17); - span9[0] = new QuestStep(EInteractionType.Interact, 2004936u, new Vector3(-151.90363f, -128.16058f, 256.8551f), 129) - { - TargetTerritoryId = (ushort)129 - }; - span9[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 2004863u, new Vector3(4.4403076f, 44.47998f, 121.29382f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj11.Steps = list17; - reference11 = obj11; - ref QuestSequence reference12 = ref span7[2]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - Span span10 = CollectionsMarshal.AsSpan(list18); - span10[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.LimsaFisher - } - }; - span10[1] = new QuestStep(EInteractionType.CompleteQuest, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129) - { - StopDistance = 7f, - NextQuestId = new QuestId(212) - }; - obj12.Steps = list18; - reference12 = obj12; - questRoot3.QuestSequence = list15; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(161); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - CollectionsMarshal.AsSpan(list19)[0] = "liza"; - questRoot4.Author = list19; - num = 7; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - Span span11 = CollectionsMarshal.AsSpan(list20); - ref QuestSequence reference13 = ref span11[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000471u, new Vector3(-60.471558f, 0.19999865f, 6.301941f), 148); - obj13.Steps = list21; - reference13 = obj13; - ref QuestSequence reference14 = ref span11[1]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - Span span12 = CollectionsMarshal.AsSpan(list22); - ref QuestStep reference15 = ref span12[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1000484u, new Vector3(2.0598755f, -7.9139543f, -22.171448f), 148); - num3 = 6; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - Span span13 = CollectionsMarshal.AsSpan(list23); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list23; - reference15 = questStep; - ref QuestStep reference16 = ref span12[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1000476u, new Vector3(27.0542f, -6.881897f, 14.145081f), 148); - num3 = 6; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - Span span14 = CollectionsMarshal.AsSpan(list24); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list24; - reference16 = questStep2; - ref QuestStep reference17 = ref span12[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1000483u, new Vector3(85.496216f, -6.0870457f, 67.00232f), 148); - num3 = 6; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - Span span15 = CollectionsMarshal.AsSpan(list25); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list25; - reference17 = questStep3; - obj14.Steps = list22; - reference14 = obj14; - ref QuestSequence reference18 = ref span11[2]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.Interact, 1000471u, new Vector3(-60.471558f, 0.19999865f, 6.301941f), 148); - obj15.Steps = list26; - reference18 = obj15; - ref QuestSequence reference19 = ref span11[3]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - Span span16 = CollectionsMarshal.AsSpan(list27); - span16[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(9.630515f, -22.580793f, 242.32327f), 148); - ref QuestStep reference20 = ref span16[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.SinglePlayerDuty, 1003002u, new Vector3(-189.13562f, -26.70127f, 295.52136f), 148); - SinglePlayerDutyOptions obj17 = new SinglePlayerDutyOptions - { - Enabled = true - }; - num3 = 1; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - CollectionsMarshal.AsSpan(list28)[0] = "Healer NPC is only killed after the boss dies; all NPCs need to be killed for the duty to complete"; - obj17.Notes = list28; - questStep4.SinglePlayerDutyOptions = obj17; - reference20 = questStep4; - obj16.Steps = list27; - reference19 = obj16; - ref QuestSequence reference21 = ref span11[4]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.Interact, 1003002u, new Vector3(-189.13562f, -26.70127f, 295.52136f), 148); - obj18.Steps = list29; - reference21 = obj18; - ref QuestSequence reference22 = ref span11[5]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.Interact, 1000471u, new Vector3(-60.471558f, 0.19999865f, 6.301941f), 148) - { - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows - }; - obj19.Steps = list30; - reference22 = obj19; - ref QuestSequence reference23 = ref span11[6]; - QuestSequence obj20 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000471u, new Vector3(-60.471558f, 0.19999865f, 6.301941f), 148); - obj20.Steps = list31; - reference23 = obj20; - questRoot4.QuestSequence = list20; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(166); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list32 = new List(num); - CollectionsMarshal.SetCount(list32, num); - CollectionsMarshal.AsSpan(list32)[0] = "FalconTaterz"; - questRoot5.Author = list32; - num = 7; - List list33 = new List(num); - CollectionsMarshal.SetCount(list33, num); - Span span17 = CollectionsMarshal.AsSpan(list33); - ref QuestSequence reference24 = ref span17[0]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009357u, new Vector3(528.95386f, 17.44805f, 448.69153f), 137) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj21.Steps = list34; - reference24 = obj21; - ref QuestSequence reference25 = ref span17[1]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - Span span18 = CollectionsMarshal.AsSpan(list35); - span18[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-153.18225f, 14.005f, 43.458076f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - } - }; - span18[1] = new QuestStep(EInteractionType.Interact, 1010160u, new Vector3(-144.64032f, 12f, -5.6916504f), 130); - obj22.Steps = list35; - reference25 = obj22; - ref QuestSequence reference26 = ref span17[2]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - Span span19 = CollectionsMarshal.AsSpan(list36); - span19[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-153.18225f, 14.005f, 43.458076f), 130); - span19[1] = new QuestStep(EInteractionType.Interact, 1001857u, new Vector3(-46.76892f, 10f, -12.741333f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahThaumaturge, - To = EAetheryteLocation.UldahGladiator - } - }; - obj23.Steps = list36; - reference26 = obj23; - ref QuestSequence reference27 = ref span17[3]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - Span span20 = CollectionsMarshal.AsSpan(list37); - span20[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-153.18225f, 14.005f, 43.458076f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.UldahThaumaturge - } - }; - span20[1] = new QuestStep(EInteractionType.Interact, 1010160u, new Vector3(-144.64032f, 12f, -5.6916504f), 130); - obj24.Steps = list37; - reference27 = obj24; - ref QuestSequence reference28 = ref span17[4]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - Span span21 = CollectionsMarshal.AsSpan(list38); - span21[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-127.24249f, 7.999999f, -55.6639f), 130); - span21[1] = new QuestStep(EInteractionType.Interact, 1010188u, new Vector3(-106.523315f, 4.2265673f, -82.16986f), 130); - obj25.Steps = list38; - reference28 = obj25; - ref QuestSequence reference29 = ref span17[5]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - Span span22 = CollectionsMarshal.AsSpan(list39); - span22[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-123.05803f, 1.363661f, -142.65125f), 130); - span22[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-72.12142f, 6.9845715f, 8.82207f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - span22[2] = new QuestStep(EInteractionType.Interact, 1010281u, new Vector3(-70.96979f, 6.9839683f, 3.982544f), 131) - { - StopDistance = 7f, - DisableNavmesh = true - }; - obj26.Steps = list39; - reference29 = obj26; - ref QuestSequence reference30 = ref span17[6]; - QuestSequence obj27 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - Span span23 = CollectionsMarshal.AsSpan(list40); - span23[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-153.18225f, 14.005f, 43.458076f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.UldahThaumaturge - } - }; - span23[1] = new QuestStep(EInteractionType.CompleteQuest, 1010287u, new Vector3(-142.71765f, 12f, -3.9215698f), 130) - { - NextQuestId = new QuestId(202) - }; - obj27.Steps = list40; - reference30 = obj27; - questRoot5.QuestSequence = list33; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(175); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - CollectionsMarshal.AsSpan(list41)[0] = "liza"; - questRoot6.Author = list41; - num = 3; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - Span span24 = CollectionsMarshal.AsSpan(list42); - ref QuestSequence reference31 = ref span24[0]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000449u, new Vector3(201.83093f, -5.5419664f, -107.25574f), 148); - obj28.Steps = list43; - reference31 = obj28; - ref QuestSequence reference32 = ref span24[1]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 1, - Comment = "Very likely this needs manual combat and/or manual continues" - }; - num2 = 6; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - Span span25 = CollectionsMarshal.AsSpan(list44); - span25[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(192.07129f, -12.000001f, 38.204f), 148); - span25[1] = new QuestStep(EInteractionType.Combat, null, new Vector3(190.28528f, -12f, 77.53861f), 148) - { - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - ref QuestStep reference33 = ref span25[2]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2000141u, new Vector3(179.4613f, -10.666138f, 99.56506f), 148); - num3 = 6; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - Span span26 = CollectionsMarshal.AsSpan(list45); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list45; - reference33 = questStep5; - ref QuestStep reference34 = ref span25[3]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2000147u, new Vector3(168.07812f, -12.008911f, 120.80554f), 148); - num3 = 6; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - Span span27 = CollectionsMarshal.AsSpan(list46); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list46; - reference34 = questStep6; - ref QuestStep reference35 = ref span25[4]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2000149u, new Vector3(154.0398f, -10.75769f, 120.3479f), 148); - num3 = 6; - List list47 = new List(num3); - CollectionsMarshal.SetCount(list47, num3); - Span span28 = CollectionsMarshal.AsSpan(list47); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list47; - reference35 = questStep7; - ref QuestStep reference36 = ref span25[5]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2000148u, new Vector3(126.14636f, -12.008911f, 142.35144f), 148); - num3 = 6; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - Span span29 = CollectionsMarshal.AsSpan(list48); - span29[0] = null; - span29[1] = null; - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list48; - reference36 = questStep8; - obj29.Steps = list44; - reference32 = obj29; - ref QuestSequence reference37 = ref span24[2]; - QuestSequence obj30 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000685u, new Vector3(287.92236f, -3.297f, -32.6391f), 148); - obj30.Steps = list49; - reference37 = obj30; - questRoot6.QuestSequence = list42; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(176); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - CollectionsMarshal.AsSpan(list50)[0] = "liza"; - questRoot7.Author = list50; - num = 2; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - Span span30 = CollectionsMarshal.AsSpan(list51); - ref QuestSequence reference38 = ref span30[0]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132); - obj31.Steps = list52; - reference38 = obj31; - ref QuestSequence reference39 = ref span30[1]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - Span span31 = CollectionsMarshal.AsSpan(list53); - span31[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 148) - { - Aetheryte = EAetheryteLocation.CentralShroudBentbranchMeadows, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaBlueBadgerGate - } - }; - span31[1] = new QuestStep(EInteractionType.RegisterFreeOrFavoredAetheryte, null, null, 148) - { - Aetheryte = EAetheryteLocation.CentralShroudBentbranchMeadows - }; - span31[2] = new QuestStep(EInteractionType.UnlockTaxiStand, 1002980u, new Vector3(22.934265f, -8f, 84.97742f), 148) - { - TaxiStandId = (byte)9 - }; - span31[3] = new QuestStep(EInteractionType.CompleteQuest, 1000470u, new Vector3(-59.006653f, -0.010835781f, 26.41333f), 148); - obj32.Steps = list53; - reference39 = obj32; - questRoot7.QuestSequence = list51; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(177); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - CollectionsMarshal.AsSpan(list54)[0] = "liza"; - questRoot8.Author = list54; - num = 1; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - ref QuestSequence reference40 = ref CollectionsMarshal.AsSpan(list55)[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - ref QuestStep reference41 = ref CollectionsMarshal.AsSpan(list56)[0]; - QuestStep obj34 = new QuestStep(EInteractionType.AcceptQuest, 1002277u, new Vector3(-97.550964f, 7.05f, 23.605652f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition obj35 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - CollectionsMarshal.AsSpan(list57)[0] = 131; - obj35.InTerritory = list57; - skipConditions.AetheryteShortcutIf = obj35; - obj34.SkipConditions = skipConditions; - num3 = 1; - List list58 = new List(num3); - CollectionsMarshal.SetCount(list58, num3); - CollectionsMarshal.AsSpan(list58)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSGLA001_00177_Q1_000_1") - }; - obj34.DialogueChoices = list58; - reference41 = obj34; - obj33.Steps = list56; - reference40 = obj33; - questRoot8.QuestSequence = list55; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(178); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - CollectionsMarshal.AsSpan(list59)[0] = "Cacahuetes"; - questRoot9.Author = list59; - num = 1; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - ref QuestSequence reference42 = ref CollectionsMarshal.AsSpan(list60)[0]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - ref QuestStep reference43 = ref CollectionsMarshal.AsSpan(list61)[0]; - QuestStep obj37 = new QuestStep(EInteractionType.AcceptQuest, 1001286u, new Vector3(-88.9754f, 2.55f, -51.163513f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - CollectionsMarshal.AsSpan(list62)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSPGL001_00178_Q1_000_1") - }; - obj37.DialogueChoices = list62; - reference43 = obj37; - obj36.Steps = list61; - reference42 = obj36; - questRoot9.QuestSequence = list60; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(179); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list63 = new List(num); - CollectionsMarshal.SetCount(list63, num); - CollectionsMarshal.AsSpan(list63)[0] = "Cacahuetes"; - questRoot10.Author = list63; - num = 1; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - ref QuestSequence reference44 = ref CollectionsMarshal.AsSpan(list64)[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - ref QuestStep reference45 = ref CollectionsMarshal.AsSpan(list65)[0]; - QuestStep obj39 = new QuestStep(EInteractionType.AcceptQuest, 1000926u, new Vector3(-10.055725f, 44.999794f, -245.80762f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition obj40 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - CollectionsMarshal.AsSpan(list66)[0] = 128; - obj40.InTerritory = list66; - skipConditions2.AetheryteShortcutIf = obj40; - obj39.SkipConditions = skipConditions2; - num3 = 1; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - CollectionsMarshal.AsSpan(list67)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSEXC001_00179_Q1_000_1") - }; - obj39.DialogueChoices = list67; - reference45 = obj39; - obj38.Steps = list65; - reference44 = obj38; - questRoot10.QuestSequence = list64; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(180); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - CollectionsMarshal.AsSpan(list68)[0] = "Cacahuetes"; - questRoot11.Author = list68; - num = 1; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - ref QuestSequence reference46 = ref CollectionsMarshal.AsSpan(list69)[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - ref QuestStep reference47 = ref CollectionsMarshal.AsSpan(list70)[0]; - QuestStep obj42 = new QuestStep(EInteractionType.AcceptQuest, 1000251u, new Vector3(147.08167f, 15.5f, -267.99426f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - } - }; - num3 = 1; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - CollectionsMarshal.AsSpan(list71)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSLNC999_00180_Q1_000_1") - }; - obj42.DialogueChoices = list71; - reference47 = obj42; - obj41.Steps = list70; - reference46 = obj41; - questRoot11.QuestSequence = list69; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(181); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - CollectionsMarshal.AsSpan(list72)[0] = "Cacahuetes"; - questRoot12.Author = list72; - num = 1; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - ref QuestSequence reference48 = ref CollectionsMarshal.AsSpan(list73)[0]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - ref QuestStep reference49 = ref CollectionsMarshal.AsSpan(list74)[0]; - QuestStep obj44 = new QuestStep(EInteractionType.AcceptQuest, 1000197u, new Vector3(201.31226f, -3.1634123E-15f, 43.900146f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - CollectionsMarshal.AsSpan(list75)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSARC999_00181_Q1_000_1") - }; - obj44.DialogueChoices = list75; - reference49 = obj44; - obj43.Steps = list74; - reference48 = obj43; - questRoot12.QuestSequence = list73; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(182); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - CollectionsMarshal.AsSpan(list76)[0] = "liza"; - questRoot13.Author = list76; - num = 1; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - ref QuestSequence reference50 = ref CollectionsMarshal.AsSpan(list77)[0]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - ref QuestStep reference51 = ref CollectionsMarshal.AsSpan(list78)[0]; - QuestStep obj46 = new QuestStep(EInteractionType.AcceptQuest, 1000323u, new Vector3(-234.02765f, -4.0000043f, -11.093384f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition obj47 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - CollectionsMarshal.AsSpan(list79)[0] = 133; - obj47.InTerritory = list79; - skipConditions3.AetheryteShortcutIf = obj47; - obj46.SkipConditions = skipConditions3; - num3 = 1; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - CollectionsMarshal.AsSpan(list80)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSCNJ999_00182_Q1_000_1") - }; - obj46.DialogueChoices = list80; - reference51 = obj46; - obj45.Steps = list78; - reference50 = obj45; - questRoot13.QuestSequence = list77; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(183); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - CollectionsMarshal.AsSpan(list81)[0] = "Cacahuetes"; - questRoot14.Author = list81; - num = 1; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - ref QuestSequence reference52 = ref CollectionsMarshal.AsSpan(list82)[0]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - ref QuestStep reference53 = ref CollectionsMarshal.AsSpan(list83)[0]; - QuestStep obj49 = new QuestStep(EInteractionType.AcceptQuest, 1002279u, new Vector3(-196.8872f, 18.459997f, 59.952637f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - CollectionsMarshal.AsSpan(list84)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSTHM001_00183_Q1_000_1") - }; - obj49.DialogueChoices = list84; - reference53 = obj49; - obj48.Steps = list83; - reference52 = obj48; - questRoot14.QuestSequence = list82; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(184); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - CollectionsMarshal.AsSpan(list85)[0] = "Cacahuetes"; - questRoot15.Author = list85; - num = 1; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - ref QuestSequence reference54 = ref CollectionsMarshal.AsSpan(list86)[0]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - ref QuestStep reference55 = ref CollectionsMarshal.AsSpan(list87)[0]; - QuestStep obj51 = new QuestStep(EInteractionType.AcceptQuest, 1000148u, new Vector3(-20.279297f, -3.25f, 45.97534f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list88 = new List(num3); - CollectionsMarshal.SetCount(list88, num3); - CollectionsMarshal.AsSpan(list88)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSWDK999_00184_Q1_000_1") - }; - obj51.DialogueChoices = list88; - reference55 = obj51; - obj50.Steps = list87; - reference54 = obj50; - questRoot15.QuestSequence = list86; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(185); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list89 = new List(num); - CollectionsMarshal.SetCount(list89, num); - CollectionsMarshal.AsSpan(list89)[0] = "Cacahuetes"; - questRoot16.Author = list89; - num = 1; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - ref QuestSequence reference56 = ref CollectionsMarshal.AsSpan(list90)[0]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - ref QuestStep reference57 = ref CollectionsMarshal.AsSpan(list91)[0]; - QuestStep obj53 = new QuestStep(EInteractionType.AcceptQuest, 1000995u, new Vector3(-52.018066f, 42.799637f, 192.2179f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition obj54 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - CollectionsMarshal.AsSpan(list92)[0] = 128; - obj54.InTerritory = list92; - skipConditions4.AetheryteShortcutIf = obj54; - obj53.SkipConditions = skipConditions4; - num3 = 1; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - CollectionsMarshal.AsSpan(list93)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSBSM001_00185_Q1_000_1") - }; - obj53.DialogueChoices = list93; - obj53.NextQuestId = new QuestId(291); - reference57 = obj53; - obj52.Steps = list91; - reference56 = obj52; - questRoot16.QuestSequence = list90; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(186); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - CollectionsMarshal.AsSpan(list94)[0] = "Cacahuetes"; - questRoot17.Author = list94; - num = 1; - List list95 = new List(num); - CollectionsMarshal.SetCount(list95, num); - ref QuestSequence reference58 = ref CollectionsMarshal.AsSpan(list95)[0]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - ref QuestStep reference59 = ref CollectionsMarshal.AsSpan(list96)[0]; - QuestStep obj56 = new QuestStep(EInteractionType.AcceptQuest, 1000998u, new Vector3(-51.651794f, 42.79979f, 190.41736f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipAetheryteCondition obj57 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list97 = new List(num3); - CollectionsMarshal.SetCount(list97, num3); - CollectionsMarshal.AsSpan(list97)[0] = 128; - obj57.InTerritory = list97; - skipConditions5.AetheryteShortcutIf = obj57; - obj56.SkipConditions = skipConditions5; - num3 = 1; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - CollectionsMarshal.AsSpan(list98)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSARM001_00186_Q1_000_1") - }; - obj56.DialogueChoices = list98; - reference59 = obj56; - obj55.Steps = list96; - reference58 = obj55; - questRoot17.QuestSequence = list95; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(187); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - CollectionsMarshal.AsSpan(list99)[0] = "Cacahuetes"; - questRoot18.Author = list99; - num = 1; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - ref QuestSequence reference60 = ref CollectionsMarshal.AsSpan(list100)[0]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - ref QuestStep reference61 = ref CollectionsMarshal.AsSpan(list101)[0]; - QuestStep obj59 = new QuestStep(EInteractionType.AcceptQuest, 1002280u, new Vector3(-35.385742f, 13.599962f, 97.24573f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGoldsmith - } - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipAetheryteCondition obj60 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - CollectionsMarshal.AsSpan(list102)[0] = 131; - obj60.InTerritory = list102; - skipConditions6.AetheryteShortcutIf = obj60; - obj59.SkipConditions = skipConditions6; - num3 = 1; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - CollectionsMarshal.AsSpan(list103)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSGLD001_00187_Q1_000_1") - }; - obj59.DialogueChoices = list103; - reference61 = obj59; - obj58.Steps = list101; - reference60 = obj58; - questRoot18.QuestSequence = list100; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(188); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list104 = new List(num); - CollectionsMarshal.SetCount(list104, num); - CollectionsMarshal.AsSpan(list104)[0] = "Cacahuetes"; - questRoot19.Author = list104; - num = 1; - List list105 = new List(num); - CollectionsMarshal.SetCount(list105, num); - ref QuestSequence reference62 = ref CollectionsMarshal.AsSpan(list105)[0]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - ref QuestStep reference63 = ref CollectionsMarshal.AsSpan(list106)[0]; - QuestStep obj62 = new QuestStep(EInteractionType.AcceptQuest, 1000352u, new Vector3(65.69006f, 8f, -147.41742f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLeatherworker - } - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipAetheryteCondition obj63 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - CollectionsMarshal.AsSpan(list107)[0] = 133; - obj63.InTerritory = list107; - skipConditions7.AetheryteShortcutIf = obj63; - obj62.SkipConditions = skipConditions7; - num3 = 1; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - CollectionsMarshal.AsSpan(list108)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSTAN999_00188_Q1_000_1") - }; - obj62.DialogueChoices = list108; - reference63 = obj62; - obj61.Steps = list106; - reference62 = obj61; - questRoot19.QuestSequence = list105; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(189); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - CollectionsMarshal.AsSpan(list109)[0] = "Cacahuetes"; - questRoot20.Author = list109; - num = 1; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - ref QuestSequence reference64 = ref CollectionsMarshal.AsSpan(list110)[0]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - ref QuestStep reference65 = ref CollectionsMarshal.AsSpan(list111)[0]; - QuestStep obj65 = new QuestStep(EInteractionType.AcceptQuest, 1002283u, new Vector3(134.90503f, 7.5919275f, 98.039185f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipAetheryteCondition obj66 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list112 = new List(num3); - CollectionsMarshal.SetCount(list112, num3); - CollectionsMarshal.AsSpan(list112)[0] = 131; - obj66.InTerritory = list112; - skipConditions8.AetheryteShortcutIf = obj66; - obj65.SkipConditions = skipConditions8; - num3 = 1; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - CollectionsMarshal.AsSpan(list113)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSWVR001_00189_Q1_000_1") - }; - obj65.DialogueChoices = list113; - reference65 = obj65; - obj64.Steps = list111; - reference64 = obj64; - questRoot20.QuestSequence = list110; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(190); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list114 = new List(num); - CollectionsMarshal.SetCount(list114, num); - CollectionsMarshal.AsSpan(list114)[0] = "Cacahuetes"; - questRoot21.Author = list114; - num = 1; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - ref QuestSequence reference66 = ref CollectionsMarshal.AsSpan(list115)[0]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - ref QuestStep reference67 = ref CollectionsMarshal.AsSpan(list116)[0]; - QuestStep obj68 = new QuestStep(EInteractionType.AcceptQuest, 1002281u, new Vector3(-115.739685f, 41.600117f, 118.88306f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAlchemist - } - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipAetheryteCondition obj69 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - CollectionsMarshal.AsSpan(list117)[0] = 131; - obj69.InTerritory = list117; - skipConditions9.AetheryteShortcutIf = obj69; - obj68.SkipConditions = skipConditions9; - num3 = 1; - List list118 = new List(num3); - CollectionsMarshal.SetCount(list118, num3); - CollectionsMarshal.AsSpan(list118)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSALC001_00190_Q1_1") - }; - obj68.DialogueChoices = list118; - reference67 = obj68; - obj67.Steps = list116; - reference66 = obj67; - questRoot21.QuestSequence = list115; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(191); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - CollectionsMarshal.AsSpan(list119)[0] = "Cacahuetes"; - questRoot22.Author = list119; - num = 1; - List list120 = new List(num); - CollectionsMarshal.SetCount(list120, num); - ref QuestSequence reference68 = ref CollectionsMarshal.AsSpan(list120)[0]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - ref QuestStep reference69 = ref CollectionsMarshal.AsSpan(list121)[0]; - QuestStep obj71 = new QuestStep(EInteractionType.AcceptQuest, 1000946u, new Vector3(-61.142883f, 42.299698f, -164.0498f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaCulinarian - } - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipAetheryteCondition obj72 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list122 = new List(num3); - CollectionsMarshal.SetCount(list122, num3); - CollectionsMarshal.AsSpan(list122)[0] = 128; - obj72.InTerritory = list122; - skipConditions10.AetheryteShortcutIf = obj72; - obj71.SkipConditions = skipConditions10; - num3 = 1; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - CollectionsMarshal.AsSpan(list123)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSCUL001_00191_Q1_000_1") - }; - obj71.DialogueChoices = list123; - reference69 = obj71; - obj70.Steps = list121; - reference68 = obj70; - questRoot22.QuestSequence = list120; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(192); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - CollectionsMarshal.AsSpan(list124)[0] = "liza"; - questRoot23.Author = list124; - num = 1; - List list125 = new List(num); - CollectionsMarshal.SetCount(list125, num); - ref QuestSequence reference70 = ref CollectionsMarshal.AsSpan(list125)[0]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - ref QuestStep reference71 = ref CollectionsMarshal.AsSpan(list126)[0]; - QuestStep obj74 = new QuestStep(EInteractionType.AcceptQuest, 1002282u, new Vector3(3.5552979f, 7.5999613f, 153.2157f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahMiner - } - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipAetheryteCondition obj75 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list127 = new List(num3); - CollectionsMarshal.SetCount(list127, num3); - CollectionsMarshal.AsSpan(list127)[0] = 131; - obj75.InTerritory = list127; - skipConditions11.AetheryteShortcutIf = obj75; - obj74.SkipConditions = skipConditions11; - num3 = 1; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - CollectionsMarshal.AsSpan(list128)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSMIN001_00192_Q1_000_1") - }; - obj74.DialogueChoices = list128; - reference71 = obj74; - obj73.Steps = list126; - reference70 = obj73; - questRoot23.QuestSequence = list125; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(193); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list129 = new List(num); - CollectionsMarshal.SetCount(list129, num); - CollectionsMarshal.AsSpan(list129)[0] = "Cacahuetes"; - questRoot24.Author = list129; - num = 1; - List list130 = new List(num); - CollectionsMarshal.SetCount(list130, num); - ref QuestSequence reference72 = ref CollectionsMarshal.AsSpan(list130)[0]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - ref QuestStep reference73 = ref CollectionsMarshal.AsSpan(list131)[0]; - QuestStep obj77 = new QuestStep(EInteractionType.AcceptQuest, 1000294u, new Vector3(-238.05603f, 8f, -142.93127f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaBotanist - } - }; - SkipConditions skipConditions12 = new SkipConditions(); - SkipAetheryteCondition obj78 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - CollectionsMarshal.AsSpan(list132)[0] = 133; - obj78.InTerritory = list132; - skipConditions12.AetheryteShortcutIf = obj78; - obj77.SkipConditions = skipConditions12; - num3 = 1; - List list133 = new List(num3); - CollectionsMarshal.SetCount(list133, num3); - CollectionsMarshal.AsSpan(list133)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSHRV999_00193_Q1_000_1") - }; - obj77.DialogueChoices = list133; - reference73 = obj77; - obj76.Steps = list131; - reference72 = obj76; - questRoot24.QuestSequence = list130; - AddQuest(questId24, questRoot24); - } - - private static void LoadQuests4() - { - QuestId questId = new QuestId(201); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 2; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000421u, new Vector3(98.25281f, -8f, -78.446655f), 148); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 6; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - span2[0] = new QuestStep(EInteractionType.EquipRecommended, null, null, 148); - ref QuestStep reference3 = ref span2[1]; - QuestStep obj3 = new QuestStep(EInteractionType.PurchaseItem, 1000396u, new Vector3(82.597046f, -7.893894f, -103.349365f), 148) - { - ItemId = 2653u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - int num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = EExtendedClassJob.DoW; - obj3.RequiredCurrentJob = list5; - obj3.PurchaseMenu = new PurchaseMenu - { - ExcelSheet = "GilShop", - Key = new ExcelRef(262227u) - }; - reference3 = obj3; - ref QuestStep reference4 = ref span2[2]; - QuestStep obj4 = new QuestStep(EInteractionType.PurchaseItem, 1000396u, new Vector3(82.597046f, -7.893894f, -103.349365f), 148) - { - ItemId = 2655u, - ItemCount = 1 - }; - num3 = 1; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - CollectionsMarshal.AsSpan(list6)[0] = EExtendedClassJob.DoM; - obj4.RequiredCurrentJob = list6; - obj4.PurchaseMenu = new PurchaseMenu - { - ExcelSheet = "GilShop", - Key = new ExcelRef(262227u) - }; - reference4 = obj4; - span2[3] = new QuestStep(EInteractionType.EquipItem, null, null, 148) - { - ItemId = 2653u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span2[4] = new QuestStep(EInteractionType.EquipItem, null, null, 148) - { - ItemId = 2655u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span2[5] = new QuestStep(EInteractionType.CompleteQuest, 1000421u, new Vector3(98.25281f, -8f, -78.446655f), 148) - { - Comment = "All starting gear (except the hat) is ilvl 5 already" - }; - obj2.Steps = list4; - reference2 = obj2; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(202); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - CollectionsMarshal.AsSpan(list7)[0] = "FalconTaterz"; - questRoot2.Author = list7; - num = 6; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span3 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference5 = ref span3[0]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010279u, new Vector3(-143.60266f, 11.999999f, -3.8911133f), 130); - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference6 = ref span3[1]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span4 = CollectionsMarshal.AsSpan(list10); - span4[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-153.18225f, 14.005f, 43.458076f), 130); - span4[1] = new QuestStep(EInteractionType.Interact, 1010523u, new Vector3(-53.48291f, 9.999997f, -4.0742188f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahThaumaturge, - To = EAetheryteLocation.UldahGladiator - } - }; - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span3[2]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - Span span5 = CollectionsMarshal.AsSpan(list11); - span5[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-60.649715f, -11.872707f, -61.934204f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - span5[1] = new QuestStep(EInteractionType.Interact, 1010293u, new Vector3(-61.387024f, -11.84896f, -63.126587f), 141); - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span3[3]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Interact, 1010298u, new Vector3(19.851929f, 19.020214f, -421.37793f), 141) - { - Fly = true - }; - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference9 = ref span3[4]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.Interact, 1010310u, new Vector3(-55.436035f, 3.4680986f, 260.57825f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGateOfNald - } - }; - obj9.Steps = list13; - reference9 = obj9; - ref QuestSequence reference10 = ref span3[5]; - QuestSequence obj10 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - Span span6 = CollectionsMarshal.AsSpan(list14); - span6[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-153.18225f, 14.005f, 43.458076f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - } - }; - span6[1] = new QuestStep(EInteractionType.CompleteQuest, 1010290u, new Vector3(-144.73187f, 11.999999f, -5.661133f), 130) - { - NextQuestId = new QuestId(203) - }; - obj10.Steps = list14; - reference10 = obj10; - questRoot2.QuestSequence = list8; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(203); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - CollectionsMarshal.AsSpan(list15)[0] = "FalconTaterz"; - questRoot3.Author = list15; - num = 6; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - Span span7 = CollectionsMarshal.AsSpan(list16); - ref QuestSequence reference11 = ref span7[0]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010290u, new Vector3(-144.73187f, 11.999999f, -5.661133f), 130); - obj11.Steps = list17; - reference11 = obj11; - ref QuestSequence reference12 = ref span7[1]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - Span span8 = CollectionsMarshal.AsSpan(list18); - span8[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-153.18225f, 14.005f, 43.458076f), 130); - span8[1] = new QuestStep(EInteractionType.Interact, 1010169u, new Vector3(-47.501343f, 9.999995f, -11.886841f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahThaumaturge, - To = EAetheryteLocation.UldahGladiator - } - }; - obj12.Steps = list18; - reference12 = obj12; - ref QuestSequence reference13 = ref span7[2]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - Span span9 = CollectionsMarshal.AsSpan(list19); - span9[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-45.67461f, 11.927631f, -16.919664f), 131) - { - StopDistance = 0.25f, - JumpDestination = new JumpDestination - { - Position = new Vector3(-48.14437f, 9.999995f, -10.52473f) - } - }; - span9[1] = new QuestStep(EInteractionType.Interact, 1010316u, new Vector3(-54.581604f, 9.999972f, -12.64978f), 131) - { - StopDistance = 7f - }; - obj13.Steps = list19; - reference13 = obj13; - ref QuestSequence reference14 = ref span7[3]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - Span span10 = CollectionsMarshal.AsSpan(list20); - ref QuestStep reference15 = ref span10[0]; - QuestStep obj15 = new QuestStep(EInteractionType.Interact, 2004901u, new Vector3(103.50195f, 7.9804688f, 8.255066f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.UldahWeaver - } - }; - num3 = 6; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - Span span11 = CollectionsMarshal.AsSpan(list21); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj15.CompletionQuestVariablesFlags = list21; - reference15 = obj15; - span10[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(108.07826f, 8f, 8.036793f), 131); - ref QuestStep reference16 = ref span10[2]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2004900u, new Vector3(103.715576f, 7.9804688f, -35.233154f), 131); - num3 = 6; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - Span span12 = CollectionsMarshal.AsSpan(list22); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list22; - reference16 = questStep; - ref QuestStep reference17 = ref span10[3]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2004899u, new Vector3(68.0094f, 7.9804688f, -74.05206f), 131); - num3 = 6; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - Span span13 = CollectionsMarshal.AsSpan(list23); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list23; - reference17 = questStep2; - obj14.Steps = list20; - reference14 = obj14; - ref QuestSequence reference18 = ref span7[4]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - Span span14 = CollectionsMarshal.AsSpan(list24); - span14[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(98.252335f, 8.000075f, -38.319664f), 131); - span14[1] = new QuestStep(EInteractionType.Interact, 1010316u, new Vector3(-54.581604f, 9.999972f, -12.64978f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahSapphireAvenue, - To = EAetheryteLocation.UldahGladiator - } - }; - obj16.Steps = list24; - reference18 = obj16; - ref QuestSequence reference19 = ref span7[5]; - QuestSequence obj17 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - Span span15 = CollectionsMarshal.AsSpan(list25); - span15[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(137.68585f, 3.9999998f, -58.555218f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.UldahSapphireAvenue - } - }; - span15[1] = new QuestStep(EInteractionType.CompleteQuest, 1001679u, new Vector3(140.48975f, 4.0099983f, -59.80017f), 131) - { - StopDistance = 5f, - NextQuestId = new QuestId(204) - }; - obj17.Steps = list25; - reference19 = obj17; - questRoot3.QuestSequence = list16; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(204); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - CollectionsMarshal.AsSpan(list26)[0] = "FalconTaterz"; - questRoot4.Author = list26; - num = 7; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - Span span16 = CollectionsMarshal.AsSpan(list27); - ref QuestSequence reference20 = ref span16[0]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010317u, new Vector3(139.78784f, 4.0099993f, -57.114563f), 131); - obj18.Steps = list28; - reference20 = obj18; - ref QuestSequence reference21 = ref span16[1]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - Span span17 = CollectionsMarshal.AsSpan(list29); - span17[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-72.12142f, 6.9845715f, 8.82207f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahSapphireAvenue, - To = EAetheryteLocation.UldahGladiator - } - }; - ref QuestStep reference22 = ref span17[1]; - QuestStep obj20 = new QuestStep(EInteractionType.Interact, 1010330u, new Vector3(-69.5354f, 6.9839687f, 0.07623291f), 131) - { - DisableNavmesh = true - }; - num3 = 1; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - CollectionsMarshal.AsSpan(list30)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CHRHDB404_00204_Q1_000_000") - }; - obj20.DialogueChoices = list30; - reference22 = obj20; - obj19.Steps = list29; - reference21 = obj19; - ref QuestSequence reference23 = ref span16[2]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.Interact, 1010772u, new Vector3(-72.40405f, 6.9839687f, -0.045776367f), 131) - { - StopDistance = 5f - }; - obj21.Steps = list31; - reference23 = obj21; - ref QuestSequence reference24 = ref span16[3]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 1010161u, new Vector3(-338.3994f, -22.360315f, 434.3175f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj22.Steps = list32; - reference24 = obj22; - ref QuestSequence reference25 = ref span16[4]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Duty, null, null, 145) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 81u - } - }; - obj23.Steps = list33; - reference25 = obj23; - ref QuestSequence reference26 = ref span16[5]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.Interact, 1010329u, new Vector3(-334.21838f, -22.463528f, 432.9746f), 145); - obj24.Steps = list34; - reference26 = obj24; - ref QuestSequence reference27 = ref span16[6]; - QuestSequence obj25 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - Span span18 = CollectionsMarshal.AsSpan(list35); - span18[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-72.12142f, 6.9845715f, 8.82207f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - span18[1] = new QuestStep(EInteractionType.CompleteQuest, 1010330u, new Vector3(-69.5354f, 6.9839687f, 0.07623291f), 131) - { - DisableNavmesh = true, - NextQuestId = new QuestId(490) - }; - obj25.Steps = list35; - reference27 = obj25; - questRoot4.QuestSequence = list27; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(205); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - CollectionsMarshal.AsSpan(list36)[0] = "liza"; - questRoot5.Author = list36; - num = 2; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - Span span19 = CollectionsMarshal.AsSpan(list37); - ref QuestSequence reference28 = ref span19[0]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - Span span20 = CollectionsMarshal.AsSpan(list38); - span20[0] = new QuestStep(EInteractionType.EquipItem, null, null, 132) - { - ItemId = 2314u - }; - span20[1] = new QuestStep(EInteractionType.AcceptQuest, 1000153u, new Vector3(-44.87683f, -1.2500024f, 56.839844f), 132); - obj26.Steps = list38; - reference28 = obj26; - ref QuestSequence reference29 = ref span19[1]; - QuestSequence obj27 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000153u, new Vector3(-44.87683f, -1.2500024f, 56.839844f), 132); - obj27.Steps = list39; - reference29 = obj27; - questRoot5.QuestSequence = list37; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(208); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - CollectionsMarshal.AsSpan(list40)[0] = "liza"; - questRoot6.Author = list40; - num = 2; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - Span span21 = CollectionsMarshal.AsSpan(list41); - ref QuestSequence reference30 = ref span21[0]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - Span span22 = CollectionsMarshal.AsSpan(list42); - ref QuestStep reference31 = ref span22[0]; - QuestStep obj29 = new QuestStep(EInteractionType.EquipItem, null, null, 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaBotanist - }, - ItemId = 2545u - }; - SkipConditions obj30 = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - }; - SkipAetheryteCondition obj31 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - CollectionsMarshal.AsSpan(list43)[0] = 133; - obj31.InTerritory = list43; - obj30.AetheryteShortcutIf = obj31; - obj29.SkipConditions = obj30; - reference31 = obj29; - span22[1] = new QuestStep(EInteractionType.EquipRecommended, null, null, 133); - span22[2] = new QuestStep(EInteractionType.AcceptQuest, 1000815u, new Vector3(-233.9361f, 6.668152f, -171.03839f), 133); - obj28.Steps = list42; - reference30 = obj28; - ref QuestSequence reference32 = ref span21[1]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - Span span23 = CollectionsMarshal.AsSpan(list44); - ref QuestStep reference33 = ref span23[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Gather, null, null, 154); - num3 = 1; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - CollectionsMarshal.AsSpan(list45)[0] = new GatheredItem - { - ItemId = 5509u, - ItemCount = 10 - }; - questStep3.ItemsToGather = list45; - reference33 = questStep3; - span23[1] = new QuestStep(EInteractionType.CompleteQuest, 1000815u, new Vector3(-233.9361f, 6.668152f, -171.03839f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaBotanist - }, - NextQuestId = new QuestId(4) - }; - obj32.Steps = list44; - reference32 = obj32; - questRoot6.QuestSequence = list41; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(211); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - CollectionsMarshal.AsSpan(list46)[0] = "liza"; - questRoot7.Author = list46; - num = 3; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - Span span24 = CollectionsMarshal.AsSpan(list47); - ref QuestSequence reference34 = ref span24[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - ref QuestStep reference35 = ref CollectionsMarshal.AsSpan(list48)[0]; - QuestStep obj34 = new QuestStep(EInteractionType.AcceptQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition obj35 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - CollectionsMarshal.AsSpan(list49)[0] = 133; - obj35.InTerritory = list49; - skipConditions.AetheryteShortcutIf = obj35; - obj34.SkipConditions = skipConditions; - reference35 = obj34; - obj33.Steps = list48; - reference34 = obj33; - ref QuestSequence reference36 = ref span24[1]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - Span span25 = CollectionsMarshal.AsSpan(list50); - ref QuestStep reference37 = ref span25[0]; - QuestStep obj37 = new QuestStep(EInteractionType.Combat, null, new Vector3(97.18397f, 17.128555f, -269.5008f), 148) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaConjurer, - To = EAetheryteLocation.GridaniaBlueBadgerGate - }, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list51 = new List(num3); - CollectionsMarshal.SetCount(list51, num3); - ref ComplexCombatData reference38 = ref CollectionsMarshal.AsSpan(list51)[0]; - ComplexCombatData obj38 = new ComplexCombatData - { - DataId = 37u, - MinimumKillCount = 3u - }; - int num4 = 6; - List list52 = new List(num4); - CollectionsMarshal.SetCount(list52, num4); - Span span26 = CollectionsMarshal.AsSpan(list52); - span26[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = null; - obj38.CompletionQuestVariablesFlags = list52; - reference38 = obj38; - obj37.ComplexCombatData = list51; - num3 = 6; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - Span span27 = CollectionsMarshal.AsSpan(list53); - span27[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = null; - obj37.CompletionQuestVariablesFlags = list53; - reference37 = obj37; - ref QuestStep reference39 = ref span25[1]; - QuestStep obj39 = new QuestStep(EInteractionType.Combat, null, new Vector3(119.449745f, 17.399649f, -259.6467f), 148) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - ref ComplexCombatData reference40 = ref CollectionsMarshal.AsSpan(list54)[0]; - ComplexCombatData obj40 = new ComplexCombatData - { - DataId = 49u, - MinimumKillCount = 3u - }; - num4 = 6; - List list55 = new List(num4); - CollectionsMarshal.SetCount(list55, num4); - Span span28 = CollectionsMarshal.AsSpan(list55); - span28[0] = null; - span28[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = null; - obj40.CompletionQuestVariablesFlags = list55; - reference40 = obj40; - obj39.ComplexCombatData = list54; - num3 = 6; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - Span span29 = CollectionsMarshal.AsSpan(list56); - span29[0] = null; - span29[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = null; - obj39.CompletionQuestVariablesFlags = list56; - reference39 = obj39; - ref QuestStep reference41 = ref span25[2]; - QuestStep obj41 = new QuestStep(EInteractionType.Combat, null, new Vector3(126.943115f, 2.910592f, -180.54787f), 148) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - ref ComplexCombatData reference42 = ref CollectionsMarshal.AsSpan(list57)[0]; - ComplexCombatData obj42 = new ComplexCombatData - { - DataId = 47u, - MinimumKillCount = 3u - }; - num4 = 6; - List list58 = new List(num4); - CollectionsMarshal.SetCount(list58, num4); - Span span30 = CollectionsMarshal.AsSpan(list58); - span30[0] = null; - span30[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = null; - obj42.CompletionQuestVariablesFlags = list58; - reference42 = obj42; - obj41.ComplexCombatData = list57; - num3 = 6; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - Span span31 = CollectionsMarshal.AsSpan(list59); - span31[0] = null; - span31[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = null; - obj41.CompletionQuestVariablesFlags = list59; - reference41 = obj41; - obj36.Steps = list50; - reference36 = obj36; - ref QuestSequence reference43 = ref span24[2]; - QuestSequence obj43 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - }, - NextQuestId = new QuestId(48) - }; - obj43.Steps = list60; - reference43 = obj43; - questRoot7.QuestSequence = list47; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(212); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - CollectionsMarshal.AsSpan(list61)[0] = "xan"; - questRoot8.Author = list61; - num = 8; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - Span span32 = CollectionsMarshal.AsSpan(list62); - ref QuestSequence reference44 = ref span32[0]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - Span span33 = CollectionsMarshal.AsSpan(list63); - span33[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.RoguesGuild - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span33[1] = new QuestStep(EInteractionType.AcceptQuest, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129) - { - StopDistance = 7f - }; - obj44.Steps = list63; - reference44 = obj44; - ref QuestSequence reference45 = ref span32[1]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.Interact, 1010602u, new Vector3(-1.449646f, 66.48521f, 46.28064f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj45.Steps = list64; - reference45 = obj45; - ref QuestSequence reference46 = ref span32[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - ref QuestStep reference47 = ref CollectionsMarshal.AsSpan(list65)[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1010603u, new Vector3(-67.36859f, 70.39888f, 11.032227f), 137); - num3 = 1; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - CollectionsMarshal.AsSpan(list66)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBNIN300_00212_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBNIN300_00212_A1_000_001") - }; - questStep4.DialogueChoices = list66; - reference47 = questStep4; - obj46.Steps = list65; - reference46 = obj46; - ref QuestSequence reference48 = ref span32[3]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.Interact, 1010607u, new Vector3(97.42883f, 68.34448f, -2.3651733f), 137) - { - Fly = true - }; - obj47.Steps = list67; - reference48 = obj47; - ref QuestSequence reference49 = ref span32[4]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Interact, 1010611u, new Vector3(585.1987f, -2.4988298f, 221.85083f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj48.Steps = list68; - reference49 = obj48; - ref QuestSequence reference50 = ref span32[5]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - ref QuestStep reference51 = ref CollectionsMarshal.AsSpan(list69)[0]; - QuestStep obj50 = new QuestStep(EInteractionType.Interact, 1010615u, new Vector3(-8.529846f, 39.569904f, 260.8529f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list70 = new List(num3); - CollectionsMarshal.SetCount(list70, num3); - CollectionsMarshal.AsSpan(list70)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_JOBNIN300_00212_Q2_000_000") - }; - obj50.DialogueChoices = list70; - reference51 = obj50; - obj49.Steps = list69; - reference50 = obj49; - ref QuestSequence reference52 = ref span32[6]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - ref QuestStep reference53 = ref CollectionsMarshal.AsSpan(list71)[0]; - QuestStep obj52 = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137 - }; - num3 = 1; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - CollectionsMarshal.AsSpan(list72)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBNIN300_00212_Q3_000_000"), - Answer = new ExcelRef("TEXT_JOBNIN300_00212_A3_000_001") - }; - obj52.DialogueChoices = list72; - reference53 = obj52; - obj51.Steps = list71; - reference52 = obj51; - ref QuestSequence reference54 = ref span32[7]; - QuestSequence obj53 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.CompleteQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137) - { - NextQuestId = new QuestId(213) - }; - obj53.Steps = list73; - reference54 = obj53; - questRoot8.QuestSequence = list62; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(213); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - CollectionsMarshal.AsSpan(list74)[0] = "xan"; - questRoot9.Author = list74; - num = 6; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - Span span34 = CollectionsMarshal.AsSpan(list75); - ref QuestSequence reference55 = ref span34[0]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - Span span35 = CollectionsMarshal.AsSpan(list76); - span35[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - Comment = "Gatekeep", - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span35[1] = new QuestStep(EInteractionType.EquipItem, null, null, 137) - { - ItemId = 7886u - }; - span35[2] = new QuestStep(EInteractionType.AcceptQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137); - obj54.Steps = list76; - reference55 = obj54; - ref QuestSequence reference56 = ref span34[1]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - Span span36 = CollectionsMarshal.AsSpan(list77); - span36[0] = new QuestStep(EInteractionType.Interact, 2004966u, new Vector3(-16.128845f, -23.300598f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-6.8438888f, 39.451496f, 259.44324f), - MaximumDistance = 20f, - TerritoryId = 137 - } - } - } - }; - span36[1] = new QuestStep(EInteractionType.Action, 2004927u, new Vector3(-10.605103f, 41.397705f, 267.87207f), 137) - { - Action = EAction.FumaShuriken - }; - obj55.Steps = list77; - reference56 = obj55; - ref QuestSequence reference57 = ref span34[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.Interact, 1010616u, new Vector3(-4.348877f, 39.531937f, 247.63867f), 137); - obj56.Steps = list78; - reference57 = obj56; - ref QuestSequence reference58 = ref span34[3]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1010616u, new Vector3(-4.348877f, 39.531937f, 247.63867f), 137); - obj57.Steps = list79; - reference58 = obj57; - span34[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference59 = ref span34[5]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.CompleteQuest, 1010616u, new Vector3(-4.348877f, 39.531937f, 247.63867f), 137) - { - NextQuestId = new QuestId(214) - }; - obj58.Steps = list80; - reference59 = obj58; - questRoot9.QuestSequence = list75; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(214); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - CollectionsMarshal.AsSpan(list81)[0] = "xan"; - questRoot10.Author = list81; - num = 2; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - Span span37 = CollectionsMarshal.AsSpan(list82); - ref QuestSequence reference60 = ref span37[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010140u, new Vector3(-8.712891f, 39.590378f, 255.23767f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj59.Steps = list83; - reference60 = obj59; - ref QuestSequence reference61 = ref span37[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - Span span38 = CollectionsMarshal.AsSpan(list84); - span38[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137 - }; - span38[1] = new QuestStep(EInteractionType.CompleteQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137) - { - NextQuestId = new QuestId(215) - }; - obj60.Steps = list84; - reference61 = obj60; - questRoot10.QuestSequence = list82; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(215); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - CollectionsMarshal.AsSpan(list85)[0] = "xan"; - questRoot11.Author = list85; - num = 8; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - Span span39 = CollectionsMarshal.AsSpan(list86); - ref QuestSequence reference62 = ref span39[0]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - Span span40 = CollectionsMarshal.AsSpan(list87); - span40[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span40[1] = new QuestStep(EInteractionType.AcceptQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137); - obj61.Steps = list87; - reference62 = obj61; - ref QuestSequence reference63 = ref span39[1]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - Span span41 = CollectionsMarshal.AsSpan(list88); - span41[0] = new QuestStep(EInteractionType.Interact, 2004966u, new Vector3(-16.128845f, -23.300598f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-6.8438888f, 39.451496f, 259.44324f), - MaximumDistance = 20f, - TerritoryId = 137 - } - } - } - }; - span41[1] = new QuestStep(EInteractionType.Action, 2004928u, new Vector3(-10.605103f, 41.397705f, 267.87207f), 137) - { - Action = EAction.Raiton - }; - obj62.Steps = list88; - reference63 = obj62; - ref QuestSequence reference64 = ref span39[2]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Interact, 1010615u, new Vector3(-8.529846f, 39.569904f, 260.8529f), 137); - obj63.Steps = list89; - reference64 = obj63; - ref QuestSequence reference65 = ref span39[3]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.Action, 2004929u, new Vector3(-10.605103f, 41.397705f, 267.87207f), 137) - { - StopDistance = 7f, - Action = EAction.Katon - }; - obj64.Steps = list90; - reference65 = obj64; - ref QuestSequence reference66 = ref span39[4]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.Interact, 1010615u, new Vector3(-8.529846f, 39.569904f, 260.8529f), 137); - obj65.Steps = list91; - reference66 = obj65; - ref QuestSequence reference67 = ref span39[5]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - Span span42 = CollectionsMarshal.AsSpan(list92); - ref QuestStep reference68 = ref span42[0]; - QuestStep obj67 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(407.71924f, 32.11566f, -14.989758f), 138) - { - TargetTerritoryId = (ushort)139, - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - CollectionsMarshal.AsSpan(list93)[0] = 139; - skipStepConditions.InTerritory = list93; - skipConditions2.StepIf = skipStepConditions; - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list94 = new List(num3); - CollectionsMarshal.SetCount(list94, num3); - CollectionsMarshal.AsSpan(list94)[0] = 139; - skipAetheryteCondition.InTerritory = list94; - skipConditions2.AetheryteShortcutIf = skipAetheryteCondition; - obj67.SkipConditions = skipConditions2; - reference68 = obj67; - span42[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 1010618u, new Vector3(-570.82477f, -1.4935175f, -12.619263f), 139) - { - Fly = true - }; - obj66.Steps = list92; - reference67 = obj66; - ref QuestSequence reference69 = ref span39[6]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.Interact, 1010618u, new Vector3(-570.82477f, -1.4935175f, -12.619263f), 139); - obj68.Steps = list95; - reference69 = obj68; - ref QuestSequence reference70 = ref span39[7]; - QuestSequence obj69 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - Span span43 = CollectionsMarshal.AsSpan(list96); - span43[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span43[1] = new QuestStep(EInteractionType.CompleteQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137) - { - NextQuestId = new QuestId(216) - }; - obj69.Steps = list96; - reference70 = obj69; - questRoot11.QuestSequence = list86; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(216); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - CollectionsMarshal.AsSpan(list97)[0] = "xan"; - questRoot12.Author = list97; - num = 2; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - Span span44 = CollectionsMarshal.AsSpan(list98); - ref QuestSequence reference71 = ref span44[0]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - Span span45 = CollectionsMarshal.AsSpan(list99); - span45[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - ref QuestStep reference72 = ref span45[1]; - QuestStep questStep5 = new QuestStep(EInteractionType.AcceptQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137); - num3 = 1; - List list100 = new List(num3); - CollectionsMarshal.SetCount(list100, num3); - CollectionsMarshal.AsSpan(list100)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBNIN400_00216_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBNIN400_00216_A1_000_001") - }; - questStep5.DialogueChoices = list100; - reference72 = questStep5; - obj70.Steps = list99; - reference71 = obj70; - ref QuestSequence reference73 = ref span44[1]; - QuestSequence obj71 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.CompleteQuest, 1010619u, new Vector3(473.13635f, 16.492989f, 67.33801f), 139) - { - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - NextQuestId = new QuestId(217) - }; - obj71.Steps = list101; - reference73 = obj71; - questRoot12.QuestSequence = list98; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(217); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - CollectionsMarshal.AsSpan(list102)[0] = "xan"; - questRoot13.Author = list102; - num = 7; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - Span span46 = CollectionsMarshal.AsSpan(list103); - ref QuestSequence reference74 = ref span46[0]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010619u, new Vector3(473.13635f, 16.492989f, 67.33801f), 139) - { - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj72.Steps = list104; - reference74 = obj72; - ref QuestSequence reference75 = ref span46[1]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - Span span47 = CollectionsMarshal.AsSpan(list105); - span47[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(472.00787f, 16.493f, 62.747707f), 139) - { - Mount = false - }; - span47[1] = new QuestStep(EInteractionType.Jump, null, new Vector3(472.10626f, 16.493f, 62.870472f), 139) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(463.8162f, 12.86743f, 59.443794f) - } - }; - span47[2] = new QuestStep(EInteractionType.Jump, null, new Vector3(462.61212f, 12.600694f, 60.520195f), 139) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(456.10245f, 12.277541f, 65.88876f) - } - }; - span47[3] = new QuestStep(EInteractionType.Interact, 2004930u, new Vector3(439.78027f, 12.161377f, 70.54236f), 139); - obj73.Steps = list105; - reference75 = obj73; - ref QuestSequence reference76 = ref span46[2]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - Span span48 = CollectionsMarshal.AsSpan(list106); - span48[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(441.9759f, 4.122239f, 81.76867f), 139) - { - DisableNavmesh = true - }; - span48[1] = new QuestStep(EInteractionType.Interact, 1010622u, new Vector3(488.365f, 16.907331f, 86.71704f), 139); - obj74.Steps = list106; - reference76 = obj74; - ref QuestSequence reference77 = ref span46[3]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.Interact, 1010623u, new Vector3(413.47375f, 3.6090105f, 76.21875f), 139); - obj75.Steps = list107; - reference77 = obj75; - ref QuestSequence reference78 = ref span46[4]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 4 - }; - num2 = 4; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - Span span49 = CollectionsMarshal.AsSpan(list108); - span49[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(472.00787f, 16.493f, 62.747707f), 139) - { - Mount = false - }; - span49[1] = new QuestStep(EInteractionType.Jump, null, new Vector3(472.10626f, 16.493f, 62.870472f), 139) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(463.8162f, 12.86743f, 59.443794f) - } - }; - span49[2] = new QuestStep(EInteractionType.Jump, null, new Vector3(462.61212f, 12.600694f, 60.520195f), 139) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(456.10245f, 12.277541f, 65.88876f) - } - }; - span49[3] = new QuestStep(EInteractionType.Interact, 1010621u, new Vector3(441.94702f, 15.396649f, 65.659546f), 139); - obj76.Steps = list108; - reference78 = obj76; - ref QuestSequence reference79 = ref span46[5]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2004931u, new Vector3(305.5924f, -25.0401f, 229.63293f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj77.Steps = list109; - reference79 = obj77; - ref QuestSequence reference80 = ref span46[6]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - Span span50 = CollectionsMarshal.AsSpan(list110); - span50[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span50[1] = new QuestStep(EInteractionType.CompleteQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137) - { - NextQuestId = new QuestId(232) - }; - obj78.Steps = list110; - reference80 = obj78; - questRoot13.QuestSequence = list103; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(218); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - CollectionsMarshal.AsSpan(list111)[0] = "Cacahuetes"; - questRoot14.Author = list111; - num = 3; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - Span span51 = CollectionsMarshal.AsSpan(list112); - ref QuestSequence reference81 = ref span51[0]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - Span span52 = CollectionsMarshal.AsSpan(list113); - ref QuestStep reference82 = ref span52[0]; - QuestStep obj80 = new QuestStep(EInteractionType.EquipItem, null, null, 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - }, - ItemId = 1819u - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition obj81 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - CollectionsMarshal.AsSpan(list114)[0] = 133; - obj81.InTerritory = list114; - skipConditions3.AetheryteShortcutIf = obj81; - obj80.SkipConditions = skipConditions3; - reference82 = obj80; - span52[1] = new QuestStep(EInteractionType.EquipRecommended, null, null, 133); - span52[2] = new QuestStep(EInteractionType.AcceptQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133); - obj79.Steps = list113; - reference81 = obj79; - ref QuestSequence reference83 = ref span51[1]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - Span span53 = CollectionsMarshal.AsSpan(list115); - ref QuestStep reference84 = ref span53[0]; - QuestStep obj83 = new QuestStep(EInteractionType.Combat, null, new Vector3(97.18397f, 17.128555f, -269.5008f), 148) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLancer, - To = EAetheryteLocation.GridaniaBlueBadgerGate - }, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - ref ComplexCombatData reference85 = ref CollectionsMarshal.AsSpan(list116)[0]; - ComplexCombatData obj84 = new ComplexCombatData - { - DataId = 37u, - MinimumKillCount = 3u - }; - num4 = 6; - List list117 = new List(num4); - CollectionsMarshal.SetCount(list117, num4); - Span span54 = CollectionsMarshal.AsSpan(list117); - span54[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span54[1] = null; - span54[2] = null; - span54[3] = null; - span54[4] = null; - span54[5] = null; - obj84.CompletionQuestVariablesFlags = list117; - reference85 = obj84; - obj83.ComplexCombatData = list116; - num3 = 6; - List list118 = new List(num3); - CollectionsMarshal.SetCount(list118, num3); - Span span55 = CollectionsMarshal.AsSpan(list118); - span55[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span55[1] = null; - span55[2] = null; - span55[3] = null; - span55[4] = null; - span55[5] = null; - obj83.CompletionQuestVariablesFlags = list118; - reference84 = obj83; - ref QuestStep reference86 = ref span53[1]; - QuestStep obj85 = new QuestStep(EInteractionType.Combat, null, new Vector3(119.449745f, 17.399649f, -259.6467f), 148) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - ref ComplexCombatData reference87 = ref CollectionsMarshal.AsSpan(list119)[0]; - ComplexCombatData obj86 = new ComplexCombatData - { - DataId = 49u, - MinimumKillCount = 3u - }; - num4 = 6; - List list120 = new List(num4); - CollectionsMarshal.SetCount(list120, num4); - Span span56 = CollectionsMarshal.AsSpan(list120); - span56[0] = null; - span56[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span56[2] = null; - span56[3] = null; - span56[4] = null; - span56[5] = null; - obj86.CompletionQuestVariablesFlags = list120; - reference87 = obj86; - obj85.ComplexCombatData = list119; - num3 = 6; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - Span span57 = CollectionsMarshal.AsSpan(list121); - span57[0] = null; - span57[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = null; - obj85.CompletionQuestVariablesFlags = list121; - reference86 = obj85; - ref QuestStep reference88 = ref span53[2]; - QuestStep obj87 = new QuestStep(EInteractionType.Combat, null, new Vector3(126.943115f, 2.910592f, -180.54787f), 148) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list122 = new List(num3); - CollectionsMarshal.SetCount(list122, num3); - ref ComplexCombatData reference89 = ref CollectionsMarshal.AsSpan(list122)[0]; - ComplexCombatData obj88 = new ComplexCombatData - { - DataId = 47u, - MinimumKillCount = 3u - }; - num4 = 6; - List list123 = new List(num4); - CollectionsMarshal.SetCount(list123, num4); - Span span58 = CollectionsMarshal.AsSpan(list123); - span58[0] = null; - span58[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span58[2] = null; - span58[3] = null; - span58[4] = null; - span58[5] = null; - obj88.CompletionQuestVariablesFlags = list123; - reference89 = obj88; - obj87.ComplexCombatData = list122; - num3 = 6; - List list124 = new List(num3); - CollectionsMarshal.SetCount(list124, num3); - Span span59 = CollectionsMarshal.AsSpan(list124); - span59[0] = null; - span59[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span59[2] = null; - span59[3] = null; - span59[4] = null; - span59[5] = null; - obj87.CompletionQuestVariablesFlags = list124; - reference88 = obj87; - obj82.Steps = list115; - reference83 = obj82; - ref QuestSequence reference90 = ref span51[2]; - QuestSequence obj89 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - }, - NextQuestId = new QuestId(47) - }; - obj89.Steps = list125; - reference90 = obj89; - questRoot14.QuestSequence = list112; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(219); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - CollectionsMarshal.AsSpan(list126)[0] = "pot0to"; - questRoot15.Author = list126; - num = 3; - List list127 = new List(num); - CollectionsMarshal.SetCount(list127, num); - Span span60 = CollectionsMarshal.AsSpan(list127); - ref QuestSequence reference91 = ref span60[0]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj90.Steps = list128; - reference91 = obj90; - ref QuestSequence reference92 = ref span60[1]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - Span span61 = CollectionsMarshal.AsSpan(list129); - ref QuestStep reference93 = ref span61[0]; - QuestStep obj92 = new QuestStep(EInteractionType.Combat, null, new Vector3(117.47766f, 17.661993f, -247.24017f), 148) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaArcher, - To = EAetheryteLocation.GridaniaBlueBadgerGate - }, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - Span span62 = CollectionsMarshal.AsSpan(list130); - ref ComplexCombatData reference94 = ref span62[0]; - ComplexCombatData obj93 = new ComplexCombatData - { - DataId = 37u, - MinimumKillCount = 3u - }; - num4 = 6; - List list131 = new List(num4); - CollectionsMarshal.SetCount(list131, num4); - Span span63 = CollectionsMarshal.AsSpan(list131); - span63[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span63[1] = null; - span63[2] = null; - span63[3] = null; - span63[4] = null; - span63[5] = null; - obj93.CompletionQuestVariablesFlags = list131; - reference94 = obj93; - ref ComplexCombatData reference95 = ref span62[1]; - ComplexCombatData obj94 = new ComplexCombatData - { - DataId = 49u, - MinimumKillCount = 3u - }; - num4 = 6; - List list132 = new List(num4); - CollectionsMarshal.SetCount(list132, num4); - Span span64 = CollectionsMarshal.AsSpan(list132); - span64[0] = null; - span64[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span64[2] = null; - span64[3] = null; - span64[4] = null; - span64[5] = null; - obj94.CompletionQuestVariablesFlags = list132; - reference95 = obj94; - obj92.ComplexCombatData = list130; - SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition obj95 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list133 = new List(num3); - CollectionsMarshal.SetCount(list133, num3); - CollectionsMarshal.AsSpan(list133)[0] = 148; - obj95.InTerritory = list133; - skipConditions4.AetheryteShortcutIf = obj95; - obj92.SkipConditions = skipConditions4; - num3 = 6; - List list134 = new List(num3); - CollectionsMarshal.SetCount(list134, num3); - Span span65 = CollectionsMarshal.AsSpan(list134); - span65[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span65[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span65[2] = null; - span65[3] = null; - span65[4] = null; - span65[5] = null; - obj92.CompletionQuestVariablesFlags = list134; - reference93 = obj92; - ref QuestStep reference96 = ref span61[1]; - QuestStep obj96 = new QuestStep(EInteractionType.Combat, null, new Vector3(126.943115f, 2.910592f, -180.54787f), 148) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list135 = new List(num3); - CollectionsMarshal.SetCount(list135, num3); - CollectionsMarshal.AsSpan(list135)[0] = new ComplexCombatData - { - DataId = 47u, - MinimumKillCount = 3u - }; - obj96.ComplexCombatData = list135; - num3 = 6; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - Span span66 = CollectionsMarshal.AsSpan(list136); - span66[0] = null; - span66[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span66[2] = null; - span66[3] = null; - span66[4] = null; - span66[5] = null; - obj96.CompletionQuestVariablesFlags = list136; - reference96 = obj96; - obj91.Steps = list129; - reference92 = obj91; - ref QuestSequence reference97 = ref span60[2]; - QuestSequence obj97 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - NextQuestId = new QuestId(46) - }; - obj97.Steps = list137; - reference97 = obj97; - questRoot15.QuestSequence = list127; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(232); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - CollectionsMarshal.AsSpan(list138)[0] = "xan"; - questRoot16.Author = list138; - num = 12; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - Span span67 = CollectionsMarshal.AsSpan(list139); - ref QuestSequence reference98 = ref span67[0]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - Span span68 = CollectionsMarshal.AsSpan(list140); - span68[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span68[1] = new QuestStep(EInteractionType.AcceptQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137); - obj98.Steps = list140; - reference98 = obj98; - ref QuestSequence reference99 = ref span67[1]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - Span span69 = CollectionsMarshal.AsSpan(list141); - ref QuestStep reference100 = ref span69[0]; - QuestStep obj100 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-116.833f, 70.279f, 47.983f), 137) - { - TargetTerritoryId = (ushort)134, - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - CollectionsMarshal.AsSpan(list142)[0] = 134; - skipStepConditions2.InTerritory = list142; - skipConditions5.StepIf = skipStepConditions2; - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num3 = 1; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - CollectionsMarshal.AsSpan(list143)[0] = 134; - skipAetheryteCondition2.InTerritory = list143; - skipConditions5.AetheryteShortcutIf = skipAetheryteCondition2; - obj100.SkipConditions = skipConditions5; - reference100 = obj100; - ref QuestStep reference101 = ref span69[1]; - QuestStep obj101 = new QuestStep(EInteractionType.Combat, 1010573u, new Vector3(-188.46423f, 30.723186f, -685.1759f), 134) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - CollectionsMarshal.AsSpan(list144)[0] = 3572u; - obj101.KillEnemyDataIds = list144; - reference101 = obj101; - obj99.Steps = list141; - reference99 = obj99; - ref QuestSequence reference102 = ref span67[2]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.Interact, 1010627u, new Vector3(-189.65442f, 30.837437f, -685.298f), 134); - obj102.Steps = list145; - reference102 = obj102; - ref QuestSequence reference103 = ref span67[3]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - Span span70 = CollectionsMarshal.AsSpan(list146); - ref QuestStep reference104 = ref span70[0]; - QuestStep obj104 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(246.007f, 56.384f, 839.334f), 137) - { - TargetTerritoryId = (ushort)135, - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list147 = new List(num3); - CollectionsMarshal.SetCount(list147, num3); - CollectionsMarshal.AsSpan(list147)[0] = 135; - skipStepConditions3.InTerritory = list147; - skipConditions6.StepIf = skipStepConditions3; - SkipAetheryteCondition obj105 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list148 = new List(num3); - CollectionsMarshal.SetCount(list148, num3); - CollectionsMarshal.AsSpan(list148)[0] = 135; - obj105.InTerritory = list148; - skipConditions6.AetheryteShortcutIf = obj105; - obj104.SkipConditions = skipConditions6; - reference104 = obj104; - ref QuestStep reference105 = ref span70[1]; - QuestStep obj106 = new QuestStep(EInteractionType.Combat, 1010571u, new Vector3(491.05054f, 68.14364f, -198.50464f), 135) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - CollectionsMarshal.AsSpan(list149)[0] = 3573u; - obj106.KillEnemyDataIds = list149; - reference105 = obj106; - obj103.Steps = list146; - reference103 = obj103; - ref QuestSequence reference106 = ref span67[4]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.Interact, 2005006u, new Vector3(492.88147f, 68.955444f, -197.58905f), 135); - obj107.Steps = list150; - reference106 = obj107; - ref QuestSequence reference107 = ref span67[5]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - ref QuestStep reference108 = ref CollectionsMarshal.AsSpan(list151)[0]; - QuestStep obj109 = new QuestStep(EInteractionType.Combat, 1010575u, new Vector3(516.68555f, 9.414734f, 351.12524f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list152 = new List(num3); - CollectionsMarshal.SetCount(list152, num3); - CollectionsMarshal.AsSpan(list152)[0] = 3572u; - obj109.KillEnemyDataIds = list152; - obj109.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - reference108 = obj109; - obj108.Steps = list151; - reference107 = obj108; - ref QuestSequence reference109 = ref span67[6]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.Interact, 2005007u, new Vector3(515.5565f, 9.47583f, 349.93518f), 137); - obj110.Steps = list153; - reference109 = obj110; - ref QuestSequence reference110 = ref span67[7]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - ref QuestStep reference111 = ref CollectionsMarshal.AsSpan(list154)[0]; - QuestStep obj112 = new QuestStep(EInteractionType.Combat, 1010572u, new Vector3(209.21643f, -2.0700505f, 260.3036f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - CollectionsMarshal.AsSpan(list155)[0] = 3573u; - obj112.KillEnemyDataIds = list155; - obj112.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - reference111 = obj112; - obj111.Steps = list154; - reference110 = obj111; - ref QuestSequence reference112 = ref span67[8]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.Interact, 2005008u, new Vector3(208.27039f, -2.0905762f, 259.84583f), 139); - obj113.Steps = list156; - reference112 = obj113; - ref QuestSequence reference113 = ref span67[9]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - ref QuestStep reference114 = ref CollectionsMarshal.AsSpan(list157)[0]; - QuestStep obj115 = new QuestStep(EInteractionType.Combat, 1010574u, new Vector3(-76.98181f, 64.50076f, -241.56561f), 180) - { - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list158 = new List(num3); - CollectionsMarshal.SetCount(list158, num3); - CollectionsMarshal.AsSpan(list158)[0] = 3572u; - obj115.KillEnemyDataIds = list158; - obj115.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - reference114 = obj115; - obj114.Steps = list157; - reference113 = obj114; - ref QuestSequence reference115 = ref span67[10]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.Interact, 2005009u, new Vector3(-77.195435f, 64.49988f, -240.71112f), 180); - obj116.Steps = list159; - reference115 = obj116; - ref QuestSequence reference116 = ref span67[11]; - QuestSequence obj117 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - Span span71 = CollectionsMarshal.AsSpan(list160); - ref QuestStep reference117 = ref span71[0]; - QuestStep obj118 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-116.833f, 70.279f, 47.983f), 137) - { - TargetTerritoryId = (ushort)134, - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 1; - List list161 = new List(num3); - CollectionsMarshal.SetCount(list161, num3); - CollectionsMarshal.AsSpan(list161)[0] = 134; - skipStepConditions4.InTerritory = list161; - skipConditions7.StepIf = skipStepConditions4; - SkipAetheryteCondition obj119 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list162 = new List(num3); - CollectionsMarshal.SetCount(list162, num3); - CollectionsMarshal.AsSpan(list162)[0] = 134; - obj119.InTerritory = list162; - skipConditions7.AetheryteShortcutIf = obj119; - obj118.SkipConditions = skipConditions7; - reference117 = obj118; - span71[1] = new QuestStep(EInteractionType.CompleteQuest, 2004932u, new Vector3(-182.81836f, 30.533203f, -684.93176f), 134) - { - Fly = true, - NextQuestId = new QuestId(233) - }; - obj117.Steps = list160; - reference116 = obj117; - questRoot16.QuestSequence = list139; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(233); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list163 = new List(num); - CollectionsMarshal.SetCount(list163, num); - CollectionsMarshal.AsSpan(list163)[0] = "xan"; - questRoot17.Author = list163; - num = 5; - List list164 = new List(num); - CollectionsMarshal.SetCount(list164, num); - Span span72 = CollectionsMarshal.AsSpan(list164); - ref QuestSequence reference118 = ref span72[0]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010628u, new Vector3(-189.01355f, 30.937378f, -687.2816f), 134) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MiddleLaNosceaSummerfordFarms, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj120.Steps = list165; - reference118 = obj120; - ref QuestSequence reference119 = ref span72[1]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.Interact, 1010629u, new Vector3(-8.712891f, 39.580772f, 258.2589f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj121.Steps = list166; - reference119 = obj121; - ref QuestSequence reference120 = ref span72[2]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1010630u, new Vector3(-70.93927f, 36.04747f, 475.66956f), 137) - { - Fly = true - }; - obj122.Steps = list167; - reference120 = obj122; - ref QuestSequence reference121 = ref span72[3]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.Interact, 1010631u, new Vector3(-68.95557f, 36.05801f, 471.4275f), 137); - obj123.Steps = list168; - reference121 = obj123; - ref QuestSequence reference122 = ref span72[4]; - QuestSequence obj124 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - Span span73 = CollectionsMarshal.AsSpan(list169); - span73[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span73[1] = new QuestStep(EInteractionType.CompleteQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137) - { - NextQuestId = new QuestId(234) - }; - obj124.Steps = list169; - reference122 = obj124; - questRoot17.QuestSequence = list164; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(234); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list170 = new List(num); - CollectionsMarshal.SetCount(list170, num); - CollectionsMarshal.AsSpan(list170)[0] = "xan"; - questRoot18.Author = list170; - num = 7; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - Span span74 = CollectionsMarshal.AsSpan(list171); - ref QuestSequence reference123 = ref span74[0]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - Span span75 = CollectionsMarshal.AsSpan(list172); - span75[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span75[1] = new QuestStep(EInteractionType.AcceptQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137); - obj125.Steps = list172; - reference123 = obj125; - ref QuestSequence reference124 = ref span74[1]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - ref QuestStep reference125 = ref CollectionsMarshal.AsSpan(list173)[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1010632u, new Vector3(-33.76825f, -24.674442f, 250.32422f), 137); - num3 = 1; - List list174 = new List(num3); - CollectionsMarshal.SetCount(list174, num3); - CollectionsMarshal.AsSpan(list174)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBNIN500_00234_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBNIN500_00234_A1_000_002") - }; - questStep6.DialogueChoices = list174; - reference125 = questStep6; - obj126.Steps = list173; - reference124 = obj126; - ref QuestSequence reference126 = ref span74[2]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - Span span76 = CollectionsMarshal.AsSpan(list175); - ref QuestStep reference127 = ref span76[0]; - QuestStep obj128 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(407.71924f, 32.11566f, -14.989758f), 138) - { - TargetTerritoryId = (ushort)139, - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 1; - List list176 = new List(num3); - CollectionsMarshal.SetCount(list176, num3); - CollectionsMarshal.AsSpan(list176)[0] = 139; - skipStepConditions5.InTerritory = list176; - skipConditions8.StepIf = skipStepConditions5; - SkipAetheryteCondition skipAetheryteCondition3 = new SkipAetheryteCondition(); - num3 = 1; - List list177 = new List(num3); - CollectionsMarshal.SetCount(list177, num3); - CollectionsMarshal.AsSpan(list177)[0] = 139; - skipAetheryteCondition3.InTerritory = list177; - skipConditions8.AetheryteShortcutIf = skipAetheryteCondition3; - obj128.SkipConditions = skipConditions8; - reference127 = obj128; - ref QuestStep reference128 = ref span76[1]; - QuestStep obj129 = new QuestStep(EInteractionType.Interact, 1010633u, new Vector3(-570.82477f, -1.4935175f, -12.619263f), 139) - { - Fly = true - }; - num3 = 1; - List list178 = new List(num3); - CollectionsMarshal.SetCount(list178, num3); - CollectionsMarshal.AsSpan(list178)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBNIN500_00234_Q2_000_000"), - Answer = new ExcelRef("TEXT_JOBNIN500_00234_A2_000_001") - }; - obj129.DialogueChoices = list178; - reference128 = obj129; - obj127.Steps = list175; - reference126 = obj127; - ref QuestSequence reference129 = ref span74[3]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - CollectionsMarshal.AsSpan(list179)[0] = new QuestStep(EInteractionType.Interact, 1010634u, new Vector3(-560.0519f, -1.7964863f, -14.572449f), 139); - obj130.Steps = list179; - reference129 = obj130; - ref QuestSequence reference130 = ref span74[4]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.Interact, 1002515u, new Vector3(-10.421997f, 8.921356f, 831.6013f), 135) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj131.Steps = list180; - reference130 = obj131; - ref QuestSequence reference131 = ref span74[5]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2004935u, new Vector3(19.943481f, 42.923584f, 855.46655f), 135) - { - Fly = true - }; - obj132.Steps = list181; - reference131 = obj132; - ref QuestSequence reference132 = ref span74[6]; - QuestSequence obj133 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - Span span77 = CollectionsMarshal.AsSpan(list182); - span77[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span77[1] = new QuestStep(EInteractionType.CompleteQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137) - { - NextQuestId = new QuestId(235) - }; - obj133.Steps = list182; - reference132 = obj133; - questRoot18.QuestSequence = list171; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(235); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - CollectionsMarshal.AsSpan(list183)[0] = "xan"; - questRoot19.Author = list183; - num = 8; - List list184 = new List(num); - CollectionsMarshal.SetCount(list184, num); - Span span78 = CollectionsMarshal.AsSpan(list184); - ref QuestSequence reference133 = ref span78[0]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - Span span79 = CollectionsMarshal.AsSpan(list185); - span79[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span79[1] = new QuestStep(EInteractionType.AcceptQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137); - obj134.Steps = list185; - reference133 = obj134; - ref QuestSequence reference134 = ref span78[1]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - Span span80 = CollectionsMarshal.AsSpan(list186); - span80[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-151.80984f, -128.6493f, 265.27332f), - MaximumDistance = 50f, - TerritoryId = 129 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-151.80984f, -128.6493f, 265.27332f), - MaximumDistance = 50f, - TerritoryId = 129 - } - } - } - }; - span80[1] = new QuestStep(EInteractionType.Interact, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129); - obj135.Steps = list186; - reference134 = obj135; - ref QuestSequence reference135 = ref span78[2]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.Interact, 1013884u, new Vector3(172.8999f, 95.27325f, -202.92981f), 134) - { - AetheryteShortcut = EAetheryteLocation.MiddleLaNosceaSummerfordFarms, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj136.Steps = list187; - reference135 = obj136; - ref QuestSequence reference136 = ref span78[3]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - CollectionsMarshal.AsSpan(list188)[0] = new QuestStep(EInteractionType.Interact, 2005921u, new Vector3(30.990967f, 60.65454f, -205.40173f), 134); - obj137.Steps = list188; - reference136 = obj137; - ref QuestSequence reference137 = ref span78[4]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.Interact, 2005922u, new Vector3(-90.37921f, 43.045654f, -308.30853f), 134); - obj138.Steps = list189; - reference137 = obj138; - ref QuestSequence reference138 = ref span78[5]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.Interact, 2005923u, new Vector3(-148.02783f, 20.309753f, -339.40643f), 134); - obj139.Steps = list190; - reference138 = obj139; - ref QuestSequence reference139 = ref span78[6]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.Interact, 1013892u, new Vector3(-19.241638f, 12.516694f, -462.66882f), 134); - obj140.Steps = list191; - reference139 = obj140; - ref QuestSequence reference140 = ref span78[7]; - QuestSequence obj141 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - Span span81 = CollectionsMarshal.AsSpan(list192); - span81[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span81[1] = new QuestStep(EInteractionType.CompleteQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137) - { - NextQuestId = new QuestId(1684) - }; - obj141.Steps = list192; - reference140 = obj141; - questRoot19.QuestSequence = list184; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(240); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list193 = new List(num); - CollectionsMarshal.SetCount(list193, num); - CollectionsMarshal.AsSpan(list193)[0] = "liza"; - questRoot20.Author = list193; - num = 12; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - Span span82 = CollectionsMarshal.AsSpan(list194); - ref QuestSequence reference141 = ref span82[0]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj142.Steps = list195; - reference141 = obj142; - ref QuestSequence reference142 = ref span82[1]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.Interact, 1001285u, new Vector3(-68.77246f, 4.0411124f, -126.51257f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - obj143.Steps = list196; - reference142 = obj143; - ref QuestSequence reference143 = ref span82[2]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - Span span83 = CollectionsMarshal.AsSpan(list197); - span83[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(326.4774f, 62.89536f, -207.31602f), 140) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon - }; - span83[1] = new QuestStep(EInteractionType.Interact, 2004847u, new Vector3(323.62854f, 62.974f, -207.90424f), 140); - obj144.Steps = list197; - reference143 = obj144; - ref QuestSequence reference144 = ref span82[3]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - CollectionsMarshal.AsSpan(list198)[0] = new QuestStep(EInteractionType.Interact, 1001285u, new Vector3(-68.77246f, 4.0411124f, -126.51257f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - obj145.Steps = list198; - reference144 = obj145; - ref QuestSequence reference145 = ref span82[4]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - CollectionsMarshal.AsSpan(list199)[0] = new QuestStep(EInteractionType.Interact, 1003908u, new Vector3(137.95679f, 4.041112f, -41.09259f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahSapphireAvenue - } - }; - obj146.Steps = list199; - reference145 = obj146; - ref QuestSequence reference146 = ref span82[5]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.Interact, 1001679u, new Vector3(140.48975f, 4.0099983f, -59.80017f), 131); - obj147.Steps = list200; - reference146 = obj147; - ref QuestSequence reference147 = ref span82[6]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.Interact, 1001285u, new Vector3(-68.77246f, 4.0411124f, -126.51257f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahSapphireAvenue, - To = EAetheryteLocation.Uldah - } - }; - obj148.Steps = list201; - reference147 = obj148; - ref QuestSequence reference148 = ref span82[7]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - Span span84 = CollectionsMarshal.AsSpan(list202); - span84[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-77.95643f, -12.787907f, -45.044247f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - span84[1] = new QuestStep(EInteractionType.Interact, 1010341u, new Vector3(-89.40265f, -11.35f, -40.146484f), 141); - obj149.Steps = list202; - reference148 = obj149; - ref QuestSequence reference149 = ref span82[8]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.Interact, 1001285u, new Vector3(-68.77246f, 4.0411124f, -126.51257f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - obj150.Steps = list203; - reference149 = obj150; - ref QuestSequence reference150 = ref span82[9]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.Interact, 1010342u, new Vector3(-189.50183f, 16.85818f, -418.8449f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - obj151.Steps = list204; - reference150 = obj151; - ref QuestSequence reference151 = ref span82[10]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.Interact, 1010346u, new Vector3(-207.44641f, 18.499998f, 73.899414f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - } - }; - obj152.Steps = list205; - reference151 = obj152; - ref QuestSequence reference152 = ref span82[11]; - QuestSequence obj153 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001285u, new Vector3(-68.77246f, 4.0411124f, -126.51257f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahThaumaturge, - To = EAetheryteLocation.Uldah - }, - NextQuestId = new QuestId(496) - }; - obj153.Steps = list206; - reference152 = obj153; - questRoot20.QuestSequence = list194; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(241); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - CollectionsMarshal.AsSpan(list207)[0] = "liza"; - questRoot21.Author = list207; - num = 6; - List list208 = new List(num); - CollectionsMarshal.SetCount(list208, num); - Span span85 = CollectionsMarshal.AsSpan(list208); - ref QuestSequence reference153 = ref span85[0]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.Limsa - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj154.Steps = list209; - reference153 = obj154; - ref QuestSequence reference154 = ref span85[1]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - Span span86 = CollectionsMarshal.AsSpan(list210); - span86[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-371.6037f, 54.310753f, 428.55798f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport - }; - span86[1] = new QuestStep(EInteractionType.Interact, 1006312u, new Vector3(-369.0395f, 54.28071f, 441.24512f), 137); - obj155.Steps = list210; - reference154 = obj155; - ref QuestSequence reference155 = ref span85[2]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - Span span87 = CollectionsMarshal.AsSpan(list211); - span87[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-371.6037f, 54.310753f, 428.55798f), 137) - { - Mount = true - }; - span87[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-250.51706f, 48.854584f, 462.12476f), 137) - { - Fly = true - }; - span87[2] = new QuestStep(EInteractionType.Interact, 2004858u, new Vector3(-252.76575f, 49.66809f, 460.71558f), 137); - obj156.Steps = list211; - reference155 = obj156; - ref QuestSequence reference156 = ref span85[3]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - Span span88 = CollectionsMarshal.AsSpan(list212); - span88[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-371.6037f, 54.310753f, 428.55798f), 137) - { - Fly = true - }; - span88[1] = new QuestStep(EInteractionType.Interact, 1006312u, new Vector3(-369.0395f, 54.28071f, 441.24512f), 137); - obj157.Steps = list212; - reference156 = obj157; - ref QuestSequence reference157 = ref span85[4]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - Span span89 = CollectionsMarshal.AsSpan(list213); - span89[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-371.6037f, 54.310753f, 428.55798f), 137) - { - Mount = true - }; - span89[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-133.36604f, 70.192245f, 746.02716f), 137) - { - Fly = true - }; - span89[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(570.5895f, 95.61268f, -497.8778f), 135) - { - Fly = true, - RestartNavigationIfCancelled = true - }; - obj158.Steps = list213; - reference157 = obj158; - ref QuestSequence reference158 = ref span85[5]; - QuestSequence obj159 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - Span span90 = CollectionsMarshal.AsSpan(list214); - ref QuestStep reference159 = ref span90[0]; - QuestStep obj160 = new QuestStep(EInteractionType.Combat, null, new Vector3(569.87854f, 95.62417f, -498.10028f), 135) - { - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - num3 = 3; - List list215 = new List(num3); - CollectionsMarshal.SetCount(list215, num3); - Span span91 = CollectionsMarshal.AsSpan(list215); - span91[0] = 2861u; - span91[1] = 3563u; - span91[2] = 3562u; - obj160.KillEnemyDataIds = list215; - reference159 = obj160; - ref QuestStep reference160 = ref span90[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.CompleteQuest, 1010370u, new Vector3(569.87854f, 95.62417f, -498.10028f), 135); - num3 = 1; - List list216 = new List(num3); - CollectionsMarshal.SetCount(list216, num3); - CollectionsMarshal.AsSpan(list216)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_SUBPST021_00241_Q1_000_000"), - Answer = new ExcelRef("TEXT_SUBPST021_00241_A1_000_001") - }; - questStep7.DialogueChoices = list216; - questStep7.NextQuestId = new QuestId(242); - reference160 = questStep7; - obj159.Steps = list214; - reference158 = obj159; - questRoot21.QuestSequence = list208; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(242); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list217 = new List(num); - CollectionsMarshal.SetCount(list217, num); - CollectionsMarshal.AsSpan(list217)[0] = "liza"; - questRoot22.Author = list217; - num = 9; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - Span span92 = CollectionsMarshal.AsSpan(list218); - ref QuestSequence reference161 = ref span92[0]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - CollectionsMarshal.AsSpan(list219)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.Limsa - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj161.Steps = list219; - reference161 = obj161; - ref QuestSequence reference162 = ref span92[1]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.Interact, 1001708u, new Vector3(-250.3548f, 18f, 80.88806f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - } - }; - obj162.Steps = list220; - reference162 = obj162; - ref QuestSequence reference163 = ref span92[2]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.Interact, 1002279u, new Vector3(-196.8872f, 18.459997f, 59.952637f), 130); - obj163.Steps = list221; - reference163 = obj163; - ref QuestSequence reference164 = ref span92[3]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - CollectionsMarshal.AsSpan(list222)[0] = new QuestStep(EInteractionType.Interact, 1001708u, new Vector3(-250.3548f, 18f, 80.88806f), 130); - obj164.Steps = list222; - reference164 = obj164; - ref QuestSequence reference165 = ref span92[4]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 4 - }; - num2 = 4; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - Span span93 = CollectionsMarshal.AsSpan(list223); - ref QuestStep reference166 = ref span93[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1001711u, new Vector3(-241.62665f, 18.8f, 83.32947f), 130); - num3 = 6; - List list224 = new List(num3); - CollectionsMarshal.SetCount(list224, num3); - Span span94 = CollectionsMarshal.AsSpan(list224); - span94[0] = null; - span94[1] = null; - span94[2] = null; - span94[3] = null; - span94[4] = null; - span94[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list224; - reference166 = questStep8; - ref QuestStep reference167 = ref span93[1]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1001294u, new Vector3(-214.22144f, 18.5f, 72.129395f), 130); - num3 = 6; - List list225 = new List(num3); - CollectionsMarshal.SetCount(list225, num3); - Span span95 = CollectionsMarshal.AsSpan(list225); - span95[0] = null; - span95[1] = null; - span95[2] = null; - span95[3] = null; - span95[4] = null; - span95[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list225; - reference167 = questStep9; - ref QuestStep reference168 = ref span93[2]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1001289u, new Vector3(-207.90424f, 18.5f, 70.7865f), 130); - num3 = 6; - List list226 = new List(num3); - CollectionsMarshal.SetCount(list226, num3); - Span span96 = CollectionsMarshal.AsSpan(list226); - span96[0] = null; - span96[1] = null; - span96[2] = null; - span96[3] = null; - span96[4] = null; - span96[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list226; - reference168 = questStep10; - ref QuestStep reference169 = ref span93[3]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1001288u, new Vector3(-151.59845f, 12f, 16.220276f), 130); - num3 = 6; - List list227 = new List(num3); - CollectionsMarshal.SetCount(list227, num3); - Span span97 = CollectionsMarshal.AsSpan(list227); - span97[0] = null; - span97[1] = null; - span97[2] = null; - span97[3] = null; - span97[4] = null; - span97[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list227; - reference169 = questStep11; - obj165.Steps = list223; - reference165 = obj165; - ref QuestSequence reference170 = ref span92[5]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.Interact, 1001708u, new Vector3(-250.3548f, 18f, 80.88806f), 130); - obj166.Steps = list228; - reference170 = obj166; - ref QuestSequence reference171 = ref span92[6]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 6 - }; - num2 = 4; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - Span span98 = CollectionsMarshal.AsSpan(list229); - ref QuestStep reference172 = ref span98[0]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 2004886u, new Vector3(-245.19727f, 19.150085f, 63.67578f), 130); - num3 = 6; - List list230 = new List(num3); - CollectionsMarshal.SetCount(list230, num3); - Span span99 = CollectionsMarshal.AsSpan(list230); - span99[0] = null; - span99[1] = null; - span99[2] = null; - span99[3] = null; - span99[4] = null; - span99[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list230; - reference172 = questStep12; - ref QuestStep reference173 = ref span98[1]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 2004885u, new Vector3(-206.50043f, 19.180542f, 49.94275f), 130); - num3 = 6; - List list231 = new List(num3); - CollectionsMarshal.SetCount(list231, num3); - Span span100 = CollectionsMarshal.AsSpan(list231); - span100[0] = null; - span100[1] = null; - span100[2] = null; - span100[3] = null; - span100[4] = null; - span100[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list231; - reference173 = questStep13; - ref QuestStep reference174 = ref span98[2]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 2004887u, new Vector3(-194.11005f, 19.150085f, 91.325195f), 130); - num3 = 6; - List list232 = new List(num3); - CollectionsMarshal.SetCount(list232, num3); - Span span101 = CollectionsMarshal.AsSpan(list232); - span101[0] = null; - span101[1] = null; - span101[2] = null; - span101[3] = null; - span101[4] = null; - span101[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list232; - reference174 = questStep14; - ref QuestStep reference175 = ref span98[3]; - QuestStep obj168 = new QuestStep(EInteractionType.Interact, 2004888u, new Vector3(-243.64087f, 20.065613f, 104.41736f), 130) - { - IgnoreDistanceToObject = true - }; - num3 = 6; - List list233 = new List(num3); - CollectionsMarshal.SetCount(list233, num3); - Span span102 = CollectionsMarshal.AsSpan(list233); - span102[0] = null; - span102[1] = null; - span102[2] = null; - span102[3] = null; - span102[4] = null; - span102[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj168.CompletionQuestVariablesFlags = list233; - reference175 = obj168; - obj167.Steps = list229; - reference171 = obj167; - ref QuestSequence reference176 = ref span92[7]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - CollectionsMarshal.AsSpan(list234)[0] = new QuestStep(EInteractionType.Interact, 1001708u, new Vector3(-250.3548f, 18f, 80.88806f), 130); - obj169.Steps = list234; - reference176 = obj169; - ref QuestSequence reference177 = ref span92[8]; - QuestSequence obj170 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.CompleteQuest, 2004889u, new Vector3(-136.55304f, 11.9782715f, 23.5141f), 130) - { - NextQuestId = new QuestId(1574) - }; - obj170.Steps = list235; - reference177 = obj170; - questRoot22.QuestSequence = list218; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(243); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list236 = new List(num); - CollectionsMarshal.SetCount(list236, num); - CollectionsMarshal.AsSpan(list236)[0] = "liza"; - questRoot23.Author = list236; - num = 8; - List list237 = new List(num); - CollectionsMarshal.SetCount(list237, num); - Span span103 = CollectionsMarshal.AsSpan(list237); - ref QuestSequence reference178 = ref span103[0]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj171.Steps = list238; - reference178 = obj171; - ref QuestSequence reference179 = ref span103[1]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - CollectionsMarshal.AsSpan(list239)[0] = new QuestStep(EInteractionType.Interact, 1001787u, new Vector3(-62.119568f, 18.000334f, 9.414734f), 129); - obj172.Steps = list239; - reference179 = obj172; - ref QuestSequence reference180 = ref span103[2]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - Span span104 = CollectionsMarshal.AsSpan(list240); - span104[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-339.63614f, -2.097362f, 142.24135f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - span104[1] = new QuestStep(EInteractionType.Interact, 1005249u, new Vector3(-337.30072f, -2.1811728f, 141.31372f), 139); - obj173.Steps = list240; - reference180 = obj173; - ref QuestSequence reference181 = ref span103[3]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - Span span105 = CollectionsMarshal.AsSpan(list241); - span105[0] = new QuestStep(EInteractionType.Interact, 1003586u, new Vector3(-342.12262f, -1.0249884f, 111.46704f), 139) - { - TargetTerritoryId = (ushort)139 - }; - span105[1] = new QuestStep(EInteractionType.Interact, 1010434u, new Vector3(241.74866f, -0.96623325f, 257.12976f), 139); - obj174.Steps = list241; - reference181 = obj174; - ref QuestSequence reference182 = ref span103[4]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - CollectionsMarshal.AsSpan(list242)[0] = new QuestStep(EInteractionType.Interact, 1010435u, new Vector3(340.04736f, -2.5074248f, 104.600464f), 139) - { - Fly = true - }; - obj175.Steps = list242; - reference182 = obj175; - ref QuestSequence reference183 = ref span103[5]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - Span span106 = CollectionsMarshal.AsSpan(list243); - ref QuestStep reference184 = ref span106[0]; - QuestStep obj177 = new QuestStep(EInteractionType.Combat, 1010435u, new Vector3(340.04736f, -2.5074248f, 104.600464f), 139) - { - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - num3 = 2; - List list244 = new List(num3); - CollectionsMarshal.SetCount(list244, num3); - Span span107 = CollectionsMarshal.AsSpan(list244); - span107[0] = 3559u; - span107[1] = 3560u; - obj177.KillEnemyDataIds = list244; - reference184 = obj177; - span106[1] = new QuestStep(EInteractionType.Interact, 1010437u, new Vector3(271.59534f, 25.732939f, -100.35864f), 139) - { - Fly = true - }; - obj176.Steps = list243; - reference183 = obj176; - ref QuestSequence reference185 = ref span103[6]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - Span span108 = CollectionsMarshal.AsSpan(list245); - span108[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-339.63614f, -2.097362f, 142.24135f), 139) - { - Fly = true - }; - span108[1] = new QuestStep(EInteractionType.Interact, 1005249u, new Vector3(-337.30072f, -2.1811728f, 141.31372f), 139); - obj178.Steps = list245; - reference185 = obj178; - ref QuestSequence reference186 = ref span103[7]; - QuestSequence obj179 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - Span span109 = CollectionsMarshal.AsSpan(list246); - span109[0] = new QuestStep(EInteractionType.Interact, 1003586u, new Vector3(-342.12262f, -1.0249884f, 111.46704f), 139) - { - TargetTerritoryId = (ushort)139 - }; - span109[1] = new QuestStep(EInteractionType.CompleteQuest, 1010438u, new Vector3(275.28796f, -0.93098116f, 231.61658f), 139) - { - Fly = true, - NextQuestId = new QuestId(244) - }; - obj179.Steps = list246; - reference186 = obj179; - questRoot23.QuestSequence = list237; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(244); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list247 = new List(num); - CollectionsMarshal.SetCount(list247, num); - CollectionsMarshal.AsSpan(list247)[0] = "liza"; - questRoot24.Author = list247; - num = 10; - List list248 = new List(num); - CollectionsMarshal.SetCount(list248, num); - Span span110 = CollectionsMarshal.AsSpan(list248); - ref QuestSequence reference187 = ref span110[0]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj180.Steps = list249; - reference187 = obj180; - ref QuestSequence reference188 = ref span110[1]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - CollectionsMarshal.AsSpan(list250)[0] = new QuestStep(EInteractionType.Interact, 1006493u, new Vector3(-437.67456f, -55.694504f, 100.87732f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj181.Steps = list250; - reference188 = obj181; - ref QuestSequence reference189 = ref span110[2]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.UseItem, 2004864u, new Vector3(-381.70447f, -58.42682f, 167.74243f), 145) - { - ItemId = 2001487u - }; - obj182.Steps = list251; - reference189 = obj182; - ref QuestSequence reference190 = ref span110[3]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - Span span111 = CollectionsMarshal.AsSpan(list252); - span111[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-393.1081f, -57.326912f, 155.15263f), 145) - { - Mount = true - }; - span111[1] = new QuestStep(EInteractionType.Interact, 2004877u, new Vector3(-299.48883f, -40.665344f, 7.095398f), 145) - { - Fly = true - }; - obj183.Steps = list252; - reference190 = obj183; - ref QuestSequence reference191 = ref span110[4]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - Span span112 = CollectionsMarshal.AsSpan(list253); - span112[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-422.0606f, -55.802967f, 107.502235f), 145) - { - Fly = true - }; - span112[1] = new QuestStep(EInteractionType.Interact, 1006493u, new Vector3(-437.67456f, -55.694504f, 100.87732f), 145); - obj184.Steps = list253; - reference191 = obj184; - ref QuestSequence reference192 = ref span110[5]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.Interact, 2004866u, new Vector3(-382.22327f, -58.42682f, 168.65796f), 145); - obj185.Steps = list254; - reference192 = obj185; - ref QuestSequence reference193 = ref span110[6]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 6 - }; - num2 = 3; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - Span span113 = CollectionsMarshal.AsSpan(list255); - span113[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-393.1081f, -57.326912f, 155.15263f), 145) - { - Mount = true - }; - span113[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-1.83288f, -17.544205f, 23.35826f), 145) - { - Fly = true - }; - span113[2] = new QuestStep(EInteractionType.Interact, 1006495u, new Vector3(-2.2736206f, -17.544205f, 24.734863f), 145); - obj186.Steps = list255; - reference193 = obj186; - ref QuestSequence reference194 = ref span110[7]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 7 - }; - num2 = 3; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - Span span114 = CollectionsMarshal.AsSpan(list256); - span114[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-1.4535733f, -8.0592985f, 1.7329537f), 145) - { - Mount = true - }; - span114[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(435.9292f, 9.87471f, 143.03693f), 145) - { - Fly = true - }; - span114[2] = new QuestStep(EInteractionType.UseItem, 2004868u, new Vector3(438.6206f, 12.436096f, 137.6211f), 145) - { - ItemId = 2001489u - }; - obj187.Steps = list256; - reference194 = obj187; - ref QuestSequence reference195 = ref span110[8]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.UseItem, 2004869u, new Vector3(438.6206f, 12.436096f, 137.6211f), 145) - { - ItemId = 2001488u - }; - obj188.Steps = list257; - reference195 = obj188; - ref QuestSequence reference196 = ref span110[9]; - QuestSequence obj189 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - CollectionsMarshal.AsSpan(list258)[0] = new QuestStep(EInteractionType.CompleteQuest, 1010377u, new Vector3(-382.83362f, -59.300003f, 169.75659f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - NextQuestId = new QuestId(240) - }; - obj189.Steps = list258; - reference196 = obj189; - questRoot24.QuestSequence = list248; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(245); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list259 = new List(num); - CollectionsMarshal.SetCount(list259, num); - CollectionsMarshal.AsSpan(list259)[0] = "liza"; - questRoot25.Author = list259; - num = 6; - List list260 = new List(num); - CollectionsMarshal.SetCount(list260, num); - Span span115 = CollectionsMarshal.AsSpan(list260); - ref QuestSequence reference197 = ref span115[0]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000972u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 128); - obj190.Steps = list261; - reference197 = obj190; - ref QuestSequence reference198 = ref span115[1]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - Span span116 = CollectionsMarshal.AsSpan(list262); - ref QuestStep reference199 = ref span116[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.AcceptQuest, 1005411u, new Vector3(13.412659f, 40.2f, -13.260071f), 128); - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 1; - List list263 = new List(num3); - CollectionsMarshal.SetCount(list263, num3); - CollectionsMarshal.AsSpan(list263)[0] = 129; - skipStepConditions6.InTerritory = list263; - skipConditions9.StepIf = skipStepConditions6; - questStep15.SkipConditions = skipConditions9; - questStep15.PickUpQuestId = new QuestId(1431); - reference199 = questStep15; - span116[1] = new QuestStep(EInteractionType.Interact, 1003621u, new Vector3(-192.0653f, 0.9999907f, 208.66711f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.LimsaFisher - }, - SkipConditions = new SkipConditions - { - AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj191.Steps = list262; - reference198 = obj191; - ref QuestSequence reference200 = ref span115[2]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - Span span117 = CollectionsMarshal.AsSpan(list264); - span117[0] = new QuestStep(EInteractionType.Interact, 1000868u, new Vector3(-192.00433f, 0.9999907f, 211.68835f), 129) - { - StopDistance = 7f, - TargetTerritoryId = (ushort)138 - }; - span117[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 138) - { - Aetheryte = EAetheryteLocation.WesternLaNosceaAleport - }; - span117[2] = new QuestStep(EInteractionType.UnlockTaxiStand, 1002723u, new Vector3(298.63428f, -25.004364f, 233.14258f), 138) - { - TaxiStandId = (byte)24 - }; - span117[3] = new QuestStep(EInteractionType.Interact, 1017075u, new Vector3(356.5575f, -15.97664f, 136.73608f), 138); - obj192.Steps = list264; - reference200 = obj192; - ref QuestSequence reference201 = ref span115[3]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.Interact, 1004472u, new Vector3(335.40857f, 9.635179f, 17.135864f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj193.Steps = list265; - reference201 = obj193; - ref QuestSequence reference202 = ref span115[4]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - CollectionsMarshal.AsSpan(list266)[0] = new QuestStep(EInteractionType.Duty, null, null, 138) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 4u - } - }; - obj194.Steps = list266; - reference202 = obj194; - ref QuestSequence reference203 = ref span115[5]; - QuestSequence obj195 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - CollectionsMarshal.AsSpan(list267)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000972u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj195.Steps = list267; - reference203 = obj195; - questRoot25.QuestSequence = list260; - AddQuest(questId25, questRoot25); - } - - private static void LoadQuests5() - { - QuestId questId = new QuestId(253); - QuestRoot questRoot = new QuestRoot(); - int num = 2; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - Span span = CollectionsMarshal.AsSpan(list); - span[0] = "liza"; - span[1] = "Wigglez"; - questRoot.Author = list; - num = 4; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span2 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span2[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference2 = ref CollectionsMarshal.AsSpan(list3)[0]; - QuestStep obj2 = new QuestStep(EInteractionType.AcceptQuest, 1002277u, new Vector3(-97.550964f, 7.05f, 23.605652f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition obj3 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - int num3 = 1; - List list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - CollectionsMarshal.AsSpan(list4)[0] = 131; - obj3.InTerritory = list4; - skipConditions.AetheryteShortcutIf = obj3; - obj2.SkipConditions = skipConditions; - num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSGLA020_00253_Q1_000_1") - }; - obj2.DialogueChoices = list5; - reference2 = obj2; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference3 = ref span2[1]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - ref QuestStep reference4 = ref CollectionsMarshal.AsSpan(list6)[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131); - num3 = 1; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - CollectionsMarshal.AsSpan(list7)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSGLA020_00253_Q2_000_1") - }; - questStep.DialogueChoices = list7; - reference4 = questStep; - obj4.Steps = list6; - reference3 = obj4; - ref QuestSequence reference5 = ref span2[2]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - Span span3 = CollectionsMarshal.AsSpan(list8); - ref QuestStep reference6 = ref span3[0]; - QuestStep obj6 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(45.13088f, 3.889354f, -166.51999f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.UldahAdventurers - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - CollectionsMarshal.AsSpan(list9)[0] = 141; - skipStepConditions.InTerritory = list9; - skipConditions2.StepIf = skipStepConditions; - obj6.SkipConditions = skipConditions2; - reference6 = obj6; - ref QuestStep reference7 = ref span3[1]; - QuestStep obj7 = new QuestStep(EInteractionType.Combat, null, new Vector3(-74.7536f, 9.131219f, 278.35217f), 141) - { - DelaySecondsAtStart = 2f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list10 = new List(num3); - CollectionsMarshal.SetCount(list10, num3); - CollectionsMarshal.AsSpan(list10)[0] = 351u; - obj7.KillEnemyDataIds = list10; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - Span span4 = CollectionsMarshal.AsSpan(list11); - span4[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = null; - skipStepConditions2.CompletionQuestVariablesFlags = list11; - skipConditions3.StepIf = skipStepConditions2; - obj7.SkipConditions = skipConditions3; - num3 = 6; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - Span span5 = CollectionsMarshal.AsSpan(list12); - span5[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = null; - obj7.CompletionQuestVariablesFlags = list12; - reference7 = obj7; - ref QuestStep reference8 = ref span3[2]; - QuestStep obj8 = new QuestStep(EInteractionType.Combat, null, new Vector3(-74.7536f, 9.131219f, 278.35217f), 141) - { - DelaySecondsAtStart = 2f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - CollectionsMarshal.AsSpan(list13)[0] = 385u; - obj8.KillEnemyDataIds = list13; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - Span span6 = CollectionsMarshal.AsSpan(list14); - span6[0] = null; - span6[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = null; - skipStepConditions3.CompletionQuestVariablesFlags = list14; - skipConditions4.StepIf = skipStepConditions3; - obj8.SkipConditions = skipConditions4; - num3 = 6; - List list15 = new List(num3); - CollectionsMarshal.SetCount(list15, num3); - Span span7 = CollectionsMarshal.AsSpan(list15); - span7[0] = null; - span7[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span7[2] = null; - span7[3] = null; - span7[4] = null; - span7[5] = null; - obj8.CompletionQuestVariablesFlags = list15; - reference8 = obj8; - ref QuestStep reference9 = ref span3[3]; - QuestStep obj9 = new QuestStep(EInteractionType.Combat, null, new Vector3(27.49698f, -1.0683776f, 207.4475f), 141) - { - DelaySecondsAtStart = 2f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - CollectionsMarshal.AsSpan(list16)[0] = 205u; - obj9.KillEnemyDataIds = list16; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list17 = new List(num3); - CollectionsMarshal.SetCount(list17, num3); - Span span8 = CollectionsMarshal.AsSpan(list17); - span8[0] = null; - span8[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span8[2] = null; - span8[3] = null; - span8[4] = null; - span8[5] = null; - skipStepConditions4.CompletionQuestVariablesFlags = list17; - skipConditions5.StepIf = skipStepConditions4; - obj9.SkipConditions = skipConditions5; - num3 = 6; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - Span span9 = CollectionsMarshal.AsSpan(list18); - span9[0] = null; - span9[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = null; - obj9.CompletionQuestVariablesFlags = list18; - reference9 = obj9; - obj5.Steps = list8; - reference5 = obj5; - ref QuestSequence reference10 = ref span2[3]; - QuestSequence obj10 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - Span span10 = CollectionsMarshal.AsSpan(list19); - ref QuestStep reference11 = ref span10[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-118.17538f, 18.35357f, 341.3039f), 141); - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 1; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - CollectionsMarshal.AsSpan(list20)[0] = 141; - skipStepConditions5.NotInTerritory = list20; - skipConditions6.StepIf = skipStepConditions5; - questStep2.SkipConditions = skipConditions6; - reference11 = questStep2; - span10[1] = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahGladiator - }, - NextQuestId = new QuestId(256) - }; - obj10.Steps = list19; - reference10 = obj10; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(256); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - CollectionsMarshal.AsSpan(list21)[0] = "liza"; - questRoot2.Author = list21; - num = 9; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - Span span11 = CollectionsMarshal.AsSpan(list22); - ref QuestSequence reference12 = ref span11[0]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - ref QuestStep reference13 = ref CollectionsMarshal.AsSpan(list23)[0]; - QuestStep obj12 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipAetheryteCondition obj13 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - CollectionsMarshal.AsSpan(list24)[0] = 131; - obj13.InTerritory = list24; - skipConditions7.AetheryteShortcutIf = obj13; - obj12.SkipConditions = skipConditions7; - reference13 = obj12; - obj11.Steps = list23; - reference12 = obj11; - ref QuestSequence reference14 = ref span11[1]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - Span span12 = CollectionsMarshal.AsSpan(list25); - ref QuestStep reference15 = ref span12[0]; - QuestStep obj15 = new QuestStep(EInteractionType.Emote, 1003990u, new Vector3(77.25635f, 4.0999947f, -138.62823f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.UldahAdventurers - }, - Emote = EEmote.Me - }; - num3 = 6; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - Span span13 = CollectionsMarshal.AsSpan(list26); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj15.CompletionQuestVariablesFlags = list26; - reference15 = obj15; - ref QuestStep reference16 = ref span12[1]; - QuestStep obj16 = new QuestStep(EInteractionType.Emote, 1003984u, new Vector3(45.029297f, 3.9999998f, -128.16058f), 130) - { - Emote = EEmote.Me - }; - num3 = 6; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - Span span14 = CollectionsMarshal.AsSpan(list27); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj16.CompletionQuestVariablesFlags = list27; - reference16 = obj16; - ref QuestStep reference17 = ref span12[2]; - QuestStep obj17 = new QuestStep(EInteractionType.Emote, 1003992u, new Vector3(12.191956f, 4.0999947f, -155.53528f), 130) - { - Emote = EEmote.Me - }; - num3 = 6; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - Span span15 = CollectionsMarshal.AsSpan(list28); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj17.CompletionQuestVariablesFlags = list28; - reference17 = obj17; - ref QuestStep reference18 = ref span12[3]; - QuestStep obj18 = new QuestStep(EInteractionType.Emote, 1003994u, new Vector3(15.976135f, 7.9999995f, -124.071106f), 130) - { - Emote = EEmote.Me - }; - num3 = 6; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - Span span16 = CollectionsMarshal.AsSpan(list29); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj18.CompletionQuestVariablesFlags = list29; - reference18 = obj18; - obj14.Steps = list25; - reference14 = obj14; - ref QuestSequence reference19 = ref span11[2]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.Emote, 1004222u, new Vector3(21.927185f, 7.1999974f, -97.39838f), 130) - { - Emote = EEmote.Me - }; - obj19.Steps = list30; - reference19 = obj19; - ref QuestSequence reference20 = ref span11[3]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.Interact, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130); - obj20.Steps = list31; - reference20 = obj20; - ref QuestSequence reference21 = ref span11[4]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahGladiator - } - }; - obj21.Steps = list32; - reference21 = obj21; - ref QuestSequence reference22 = ref span11[5]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - Span span17 = CollectionsMarshal.AsSpan(list33); - span17[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-112.70276f, 7.7544775f, 9.123527f), 131); - span17[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-183.00035f, 13.958975f, -13.998203f), 130); - span17[2] = new QuestStep(EInteractionType.Interact, 1003985u, new Vector3(201.52588f, 52.038116f, 149.40112f), 140); - obj22.Steps = list33; - reference22 = obj22; - ref QuestSequence reference23 = ref span11[6]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - Span span18 = CollectionsMarshal.AsSpan(list34); - ref QuestStep reference24 = ref span18[0]; - QuestStep obj24 = new QuestStep(EInteractionType.Combat, 2001408u, new Vector3(154.37549f, 52.536743f, 200.91553f), 140) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - CollectionsMarshal.AsSpan(list35)[0] = 1246u; - obj24.KillEnemyDataIds = list35; - num3 = 6; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - Span span19 = CollectionsMarshal.AsSpan(list36); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj24.CompletionQuestVariablesFlags = list36; - reference24 = obj24; - ref QuestStep reference25 = ref span18[1]; - QuestStep obj25 = new QuestStep(EInteractionType.Combat, 2001409u, new Vector3(141.83252f, 52.994507f, 221.54565f), 140) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - CollectionsMarshal.AsSpan(list37)[0] = 1390u; - obj25.KillEnemyDataIds = list37; - num3 = 6; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - Span span20 = CollectionsMarshal.AsSpan(list38); - span20[0] = null; - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj25.CompletionQuestVariablesFlags = list38; - reference25 = obj25; - obj23.Steps = list34; - reference23 = obj23; - ref QuestSequence reference26 = ref span11[7]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 1003985u, new Vector3(201.52588f, 52.038116f, 149.40112f), 140); - obj26.Steps = list39; - reference26 = obj26; - ref QuestSequence reference27 = ref span11[8]; - QuestSequence obj27 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - Span span21 = CollectionsMarshal.AsSpan(list40); - span21[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(473.74796f, 96.62057f, 159.993f), 140); - span21[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-117.06801f, 9.195247f, 9.181297f), 130); - span21[2] = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131); - obj27.Steps = list40; - reference27 = obj27; - questRoot2.QuestSequence = list22; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(261); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - CollectionsMarshal.AsSpan(list41)[0] = "Cacahuetes"; - questRoot3.Author = list41; - num = 7; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - Span span22 = CollectionsMarshal.AsSpan(list42); - ref QuestSequence reference28 = ref span22[0]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - ref QuestStep reference29 = ref CollectionsMarshal.AsSpan(list43)[0]; - QuestStep obj29 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipAetheryteCondition obj30 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - CollectionsMarshal.AsSpan(list44)[0] = 131; - obj30.InTerritory = list44; - skipConditions8.AetheryteShortcutIf = obj30; - obj29.SkipConditions = skipConditions8; - reference29 = obj29; - obj28.Steps = list43; - reference28 = obj28; - ref QuestSequence reference30 = ref span22[1]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - ref QuestStep reference31 = ref CollectionsMarshal.AsSpan(list45)[0]; - QuestStep obj32 = new QuestStep(EInteractionType.Combat, 1002296u, new Vector3(-139.42175f, 4.019726f, 205.0354f), 141) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.UldahGateOfNald - }, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - CollectionsMarshal.AsSpan(list46)[0] = 1245u; - obj32.KillEnemyDataIds = list46; - reference31 = obj32; - obj31.Steps = list45; - reference30 = obj31; - ref QuestSequence reference32 = ref span22[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Interact, 1002296u, new Vector3(-139.42175f, 4.019726f, 205.0354f), 141); - obj33.Steps = list47; - reference32 = obj33; - ref QuestSequence reference33 = ref span22[3]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - ref QuestStep reference34 = ref CollectionsMarshal.AsSpan(list48)[0]; - QuestStep obj35 = new QuestStep(EInteractionType.Interact, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipAetheryteCondition obj36 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - CollectionsMarshal.AsSpan(list49)[0] = 131; - obj36.InTerritory = list49; - skipConditions9.AetheryteShortcutIf = obj36; - obj35.SkipConditions = skipConditions9; - reference34 = obj35; - obj34.Steps = list48; - reference33 = obj34; - ref QuestSequence reference35 = ref span22[4]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2001426u, new Vector3(27.206787f, 12.985352f, 51.83484f), 141) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.UldahGateOfNald - } - }; - obj37.Steps = list50; - reference35 = obj37; - ref QuestSequence reference36 = ref span22[5]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.Interact, 1003945u, new Vector3(24.917969f, 13f, 50.156372f), 141) - { - StopDistance = 5f - }; - obj38.Steps = list51; - reference36 = obj38; - ref QuestSequence reference37 = ref span22[6]; - QuestSequence obj39 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - ref QuestStep reference38 = ref CollectionsMarshal.AsSpan(list52)[0]; - QuestStep obj40 = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - num3 = 1; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - CollectionsMarshal.AsSpan(list53)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CLSGLA100_00261_Q1_000_160"), - Answer = new ExcelRef("TEXT_CLSGLA100_00261_A1_000_161") - }; - obj40.DialogueChoices = list53; - obj40.NextQuestId = new QuestId(262); - reference38 = obj40; - obj39.Steps = list52; - reference37 = obj39; - questRoot3.QuestSequence = list42; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(262); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - CollectionsMarshal.AsSpan(list54)[0] = "Cacahuetes"; - questRoot4.Author = list54; - num = 6; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - Span span23 = CollectionsMarshal.AsSpan(list55); - ref QuestSequence reference39 = ref span23[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - ref QuestStep reference40 = ref CollectionsMarshal.AsSpan(list56)[0]; - QuestStep obj42 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipAetheryteCondition obj43 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - CollectionsMarshal.AsSpan(list57)[0] = 131; - obj43.InTerritory = list57; - skipConditions10.AetheryteShortcutIf = obj43; - obj42.SkipConditions = skipConditions10; - reference40 = obj42; - obj41.Steps = list56; - reference39 = obj41; - ref QuestSequence reference41 = ref span23[1]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - ref QuestStep reference42 = ref CollectionsMarshal.AsSpan(list58)[0]; - QuestStep obj45 = new QuestStep(EInteractionType.Combat, 1004224u, new Vector3(-220.93542f, -38.407475f, 63.91992f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - CollectionsMarshal.AsSpan(list59)[0] = 1244u; - obj45.KillEnemyDataIds = list59; - reference42 = obj45; - obj44.Steps = list58; - reference41 = obj44; - ref QuestSequence reference43 = ref span23[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.Interact, 1004224u, new Vector3(-220.93542f, -38.407475f, 63.91992f), 145); - obj46.Steps = list60; - reference43 = obj46; - ref QuestSequence reference44 = ref span23[3]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - ref QuestStep reference45 = ref CollectionsMarshal.AsSpan(list61)[0]; - QuestStep obj48 = new QuestStep(EInteractionType.Interact, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipAetheryteCondition obj49 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - CollectionsMarshal.AsSpan(list62)[0] = 131; - obj49.InTerritory = list62; - skipConditions11.AetheryteShortcutIf = obj49; - obj48.SkipConditions = skipConditions11; - reference45 = obj48; - obj47.Steps = list61; - reference44 = obj47; - ref QuestSequence reference46 = ref span23[4]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1004091u, new Vector3(24.12439f, 7.1999984f, -102.76953f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj50.Steps = list63; - reference46 = obj50; - ref QuestSequence reference47 = ref span23[5]; - QuestSequence obj51 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahGladiator - }, - NextQuestId = new QuestId(263) - }; - obj51.Steps = list64; - reference47 = obj51; - questRoot4.QuestSequence = list55; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(263); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - CollectionsMarshal.AsSpan(list65)[0] = "Cacahuetes"; - questRoot5.Author = list65; - num = 8; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - Span span24 = CollectionsMarshal.AsSpan(list66); - ref QuestSequence reference48 = ref span24[0]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - ref QuestStep reference49 = ref CollectionsMarshal.AsSpan(list67)[0]; - QuestStep obj53 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - SkipConditions skipConditions12 = new SkipConditions(); - SkipAetheryteCondition obj54 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list68 = new List(num3); - CollectionsMarshal.SetCount(list68, num3); - CollectionsMarshal.AsSpan(list68)[0] = 131; - obj54.InTerritory = list68; - skipConditions12.AetheryteShortcutIf = obj54; - obj53.SkipConditions = skipConditions12; - reference49 = obj53; - obj52.Steps = list67; - reference48 = obj52; - ref QuestSequence reference50 = ref span24[1]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1004140u, new Vector3(-72.34308f, -12.372956f, -69.13867f), 141) - { - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - obj55.Steps = list69; - reference50 = obj55; - ref QuestSequence reference51 = ref span24[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - Span span25 = CollectionsMarshal.AsSpan(list70); - ref QuestStep reference52 = ref span25[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1001462u, new Vector3(-93.33948f, -11.367981f, -41.397766f), 141); - num3 = 6; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - Span span26 = CollectionsMarshal.AsSpan(list71); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list71; - reference52 = questStep3; - ref QuestStep reference53 = ref span25[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1001438u, new Vector3(-30.838562f, -1.0332576f, -145.67792f), 141); - num3 = 6; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - Span span27 = CollectionsMarshal.AsSpan(list72); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list72; - reference53 = questStep4; - ref QuestStep reference54 = ref span25[2]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2001434u, new Vector3(-115.77026f, 0.015197754f, -149.24854f), 141); - num3 = 6; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - Span span28 = CollectionsMarshal.AsSpan(list73); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list73; - reference54 = questStep5; - obj56.Steps = list70; - reference51 = obj56; - ref QuestSequence reference55 = ref span24[3]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.Interact, 1004140u, new Vector3(-72.34308f, -12.372956f, -69.13867f), 141); - obj57.Steps = list74; - reference55 = obj57; - ref QuestSequence reference56 = ref span24[4]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.Interact, 1001285u, new Vector3(-68.77246f, 4.0411124f, -126.51257f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - obj58.Steps = list75; - reference56 = obj58; - ref QuestSequence reference57 = ref span24[5]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - ref QuestStep reference58 = ref CollectionsMarshal.AsSpan(list76)[0]; - QuestStep obj60 = new QuestStep(EInteractionType.Interact, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - num3 = 1; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - CollectionsMarshal.AsSpan(list77)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CLSGLA200_00263_Q1_000_124"), - Answer = new ExcelRef("TEXT_CLSGLA200_00263_A1_000_125") - }; - obj60.DialogueChoices = list77; - reference58 = obj60; - obj59.Steps = list76; - reference57 = obj59; - ref QuestSequence reference59 = ref span24[6]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1004092u, new Vector3(-241.16882f, 32.47634f, 398.9165f), 140) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.UldahGateOfTheSultana - } - }; - obj61.Steps = list78; - reference59 = obj61; - ref QuestSequence reference60 = ref span24[7]; - QuestSequence obj62 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - }, - NextQuestId = new QuestId(264) - }; - obj62.Steps = list79; - reference60 = obj62; - questRoot5.QuestSequence = list66; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(264); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - CollectionsMarshal.AsSpan(list80)[0] = "Cacahuetes"; - questRoot6.Author = list80; - num = 7; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - Span span29 = CollectionsMarshal.AsSpan(list81); - ref QuestSequence reference61 = ref span29[0]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - ref QuestStep reference62 = ref CollectionsMarshal.AsSpan(list82)[0]; - QuestStep obj64 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - SkipConditions skipConditions13 = new SkipConditions(); - SkipAetheryteCondition obj65 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list83 = new List(num3); - CollectionsMarshal.SetCount(list83, num3); - CollectionsMarshal.AsSpan(list83)[0] = 131; - obj65.InTerritory = list83; - skipConditions13.AetheryteShortcutIf = obj65; - obj64.SkipConditions = skipConditions13; - reference62 = obj64; - obj63.Steps = list82; - reference61 = obj63; - ref QuestSequence reference63 = ref span29[1]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - ref QuestStep reference64 = ref CollectionsMarshal.AsSpan(list84)[0]; - QuestStep obj67 = new QuestStep(EInteractionType.Combat, 1004225u, new Vector3(62.974f, 54.60642f, 284.90112f), 140) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.UldahGateOfTheSultana - }, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - CollectionsMarshal.AsSpan(list85)[0] = 1243u; - obj67.KillEnemyDataIds = list85; - reference64 = obj67; - obj66.Steps = list84; - reference63 = obj66; - ref QuestSequence reference65 = ref span29[2]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.Interact, 1004225u, new Vector3(62.974f, 54.60642f, 284.90112f), 140); - obj68.Steps = list86; - reference65 = obj68; - ref QuestSequence reference66 = ref span29[3]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.Interact, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - obj69.Steps = list87; - reference66 = obj69; - ref QuestSequence reference67 = ref span29[4]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 1002277u, new Vector3(-97.550964f, 7.05f, 23.605652f), 131); - obj70.Steps = list88; - reference67 = obj70; - ref QuestSequence reference68 = ref span29[5]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - ref QuestStep reference69 = ref CollectionsMarshal.AsSpan(list89)[0]; - QuestStep obj72 = new QuestStep(EInteractionType.SinglePlayerDuty, 1004141u, new Vector3(-520.5005f, -21.460285f, 123.46069f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - num3 = 1; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - CollectionsMarshal.AsSpan(list90)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CLSGLA250_00264_Q1_000_170"), - Answer = new ExcelRef("TEXT_CLSGLA250_00264_A1_000_180") - }; - obj72.DialogueChoices = list90; - reference69 = obj72; - obj71.Steps = list89; - reference68 = obj71; - ref QuestSequence reference70 = ref span29[6]; - QuestSequence obj73 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - }, - NextQuestId = new QuestId(265) - }; - obj73.Steps = list91; - reference70 = obj73; - questRoot6.QuestSequence = list81; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(265); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - CollectionsMarshal.AsSpan(list92)[0] = "Cacahuetes"; - questRoot7.Author = list92; - num = 6; - List list93 = new List(num); - CollectionsMarshal.SetCount(list93, num); - Span span30 = CollectionsMarshal.AsSpan(list93); - ref QuestSequence reference71 = ref span30[0]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - ref QuestStep reference72 = ref CollectionsMarshal.AsSpan(list94)[0]; - QuestStep obj75 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - SkipConditions skipConditions14 = new SkipConditions(); - SkipAetheryteCondition obj76 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - CollectionsMarshal.AsSpan(list95)[0] = 131; - obj76.InTerritory = list95; - skipConditions14.AetheryteShortcutIf = obj76; - obj75.SkipConditions = skipConditions14; - reference72 = obj75; - obj74.Steps = list94; - reference71 = obj74; - ref QuestSequence reference73 = ref span30[1]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - ref QuestStep reference74 = ref CollectionsMarshal.AsSpan(list96)[0]; - QuestStep obj78 = new QuestStep(EInteractionType.Interact, 1001285u, new Vector3(-68.77246f, 4.0411124f, -126.51257f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.Uldah - } - }; - num3 = 1; - List list97 = new List(num3); - CollectionsMarshal.SetCount(list97, num3); - CollectionsMarshal.AsSpan(list97)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CLSGLA300_00265_Q1_000_40"), - Answer = new ExcelRef("TEXT_CLSGLA300_00265_A1_000_50") - }; - obj78.DialogueChoices = list97; - reference74 = obj78; - obj77.Steps = list96; - reference73 = obj77; - ref QuestSequence reference75 = ref span30[2]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - Span span31 = CollectionsMarshal.AsSpan(list98); - span31[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(235.23369f, 2.747214f, 673.64215f), 141) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGateOfThal - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - } - } - }; - span31[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 146) - { - Aetheryte = EAetheryteLocation.SouthernThanalanLittleAlaMhigo, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - } - } - }; - span31[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(140.30618f, 4.2185926f, -585.2695f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - AetheryteLocked = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - } - } - }; - ref QuestStep reference76 = ref span31[3]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2001455u, new Vector3(28.091797f, 6.9733276f, -611.2917f), 146); - num3 = 6; - List list99 = new List(num3); - CollectionsMarshal.SetCount(list99, num3); - Span span32 = CollectionsMarshal.AsSpan(list99); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list99; - reference76 = questStep6; - ref QuestStep reference77 = ref span31[4]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2001435u, new Vector3(101.823364f, 7.248047f, -534.56934f), 146); - num3 = 6; - List list100 = new List(num3); - CollectionsMarshal.SetCount(list100, num3); - Span span33 = CollectionsMarshal.AsSpan(list100); - span33[0] = null; - span33[1] = null; - span33[2] = null; - span33[3] = null; - span33[4] = null; - span33[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list100; - reference77 = questStep7; - obj79.Steps = list98; - reference75 = obj79; - ref QuestSequence reference78 = ref span30[3]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - Span span34 = CollectionsMarshal.AsSpan(list101); - span34[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(164.75665f, 3.3963587f, -585.49005f), 146); - span34[1] = new QuestStep(EInteractionType.Interact, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - obj80.Steps = list101; - reference78 = obj80; - ref QuestSequence reference79 = ref span30[4]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1004142u, new Vector3(-19.97406f, -30.999985f, -33.951355f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj81.Steps = list102; - reference79 = obj81; - ref QuestSequence reference80 = ref span30[5]; - QuestSequence obj82 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - }, - NextQuestId = new QuestId(1055) - }; - obj82.Steps = list103; - reference80 = obj82; - questRoot7.QuestSequence = list93; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(271); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list104 = new List(num); - CollectionsMarshal.SetCount(list104, num); - CollectionsMarshal.AsSpan(list104)[0] = "Cacahuetes"; - questRoot8.Author = list104; - num = 2; - List list105 = new List(num); - CollectionsMarshal.SetCount(list105, num); - Span span35 = CollectionsMarshal.AsSpan(list105); - ref QuestSequence reference81 = ref span35[0]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000946u, new Vector3(-61.142883f, 42.299698f, -164.0498f), 128); - obj83.Steps = list106; - reference81 = obj83; - ref QuestSequence reference82 = ref span35[1]; - QuestSequence obj84 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - ref QuestStep reference83 = ref CollectionsMarshal.AsSpan(list107)[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.CompleteQuest, 1000947u, new Vector3(-54.64258f, 44f, -151.23218f), 128); - num3 = 1; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - CollectionsMarshal.AsSpan(list108)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSCUL011_00271_Q1_000_1") - }; - questStep8.DialogueChoices = list108; - reference83 = questStep8; - obj84.Steps = list107; - reference82 = obj84; - questRoot8.QuestSequence = list105; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(272); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - CollectionsMarshal.AsSpan(list109)[0] = "liza"; - questRoot9.Author = list109; - num = 3; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - Span span36 = CollectionsMarshal.AsSpan(list110); - ref QuestSequence reference84 = ref span36[0]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005116u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj85.Steps = list111; - reference84 = obj85; - ref QuestSequence reference85 = ref span36[1]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span37 = CollectionsMarshal.AsSpan(list112); - span37[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(2.7922537f, 8.206551f, -274.32318f), 141) - { - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(123.33862f, 30.999996f, -384.9394f), - MaximumDistance = 30f, - TerritoryId = 141 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span37[1] = new QuestStep(EInteractionType.AcceptQuest, 1001426u, new Vector3(123.33862f, 30.999996f, -384.9394f), 141) - { - PickUpQuestId = new QuestId(638) - }; - span37[2] = new QuestStep(EInteractionType.Interact, 1001425u, new Vector3(115.12927f, 31.876099f, -392.2027f), 141); - obj86.Steps = list112; - reference85 = obj86; - ref QuestSequence reference86 = ref span36[2]; - QuestSequence obj87 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - Span span38 = CollectionsMarshal.AsSpan(list113); - span38[0] = new QuestStep(EInteractionType.UseItem, null, null, 145) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span38[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span38[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span38[3] = new QuestStep(EInteractionType.Interact, 2001715u, new Vector3(23.23944f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212 - }; - span38[4] = new QuestStep(EInteractionType.CompleteQuest, 1005116u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj87.Steps = list113; - reference86 = obj87; - questRoot9.QuestSequence = list110; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(273); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list114 = new List(num); - CollectionsMarshal.SetCount(list114, num); - CollectionsMarshal.AsSpan(list114)[0] = "Cacahuetes"; - questRoot10.Author = list114; - num = 2; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - Span span39 = CollectionsMarshal.AsSpan(list115); - ref QuestSequence reference87 = ref span39[0]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000998u, new Vector3(-51.651794f, 42.79979f, 190.41736f), 128); - obj88.Steps = list116; - reference87 = obj88; - ref QuestSequence reference88 = ref span39[1]; - QuestSequence obj89 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - ref QuestStep reference89 = ref CollectionsMarshal.AsSpan(list117)[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.CompleteQuest, 1001000u, new Vector3(-32.028687f, 41.499985f, 208.39233f), 128); - num3 = 1; - List list118 = new List(num3); - CollectionsMarshal.SetCount(list118, num3); - CollectionsMarshal.AsSpan(list118)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSARM011_00273_Q1_000_1") - }; - questStep9.DialogueChoices = list118; - reference89 = questStep9; - obj89.Steps = list117; - reference88 = obj89; - questRoot10.QuestSequence = list115; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(285); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - CollectionsMarshal.AsSpan(list119)[0] = "liza"; - questRoot11.Author = list119; - num = 2; - List list120 = new List(num); - CollectionsMarshal.SetCount(list120, num); - Span span40 = CollectionsMarshal.AsSpan(list120); - ref QuestSequence reference90 = ref span40[0]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002277u, new Vector3(-97.550964f, 7.05f, 23.605652f), 131); - obj90.Steps = list121; - reference90 = obj90; - ref QuestSequence reference91 = ref span40[1]; - QuestSequence obj91 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - ref QuestStep reference92 = ref CollectionsMarshal.AsSpan(list122)[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131); - num3 = 1; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - CollectionsMarshal.AsSpan(list123)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSGLA011_00285_Q2_000_1") - }; - questStep10.DialogueChoices = list123; - questStep10.NextQuestId = new QuestId(286); - reference92 = questStep10; - obj91.Steps = list122; - reference91 = obj91; - questRoot11.QuestSequence = list120; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(286); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - CollectionsMarshal.AsSpan(list124)[0] = "liza"; - questRoot12.Author = list124; - num = 3; - List list125 = new List(num); - CollectionsMarshal.SetCount(list125, num); - Span span41 = CollectionsMarshal.AsSpan(list125); - ref QuestSequence reference93 = ref span41[0]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131); - obj92.Steps = list126; - reference93 = obj92; - ref QuestSequence reference94 = ref span41[1]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - Span span42 = CollectionsMarshal.AsSpan(list127); - ref QuestStep reference95 = ref span42[0]; - QuestStep obj94 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(45.13088f, 3.889354f, -166.51999f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.UldahAdventurers - } - }; - SkipConditions skipConditions15 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 1; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - CollectionsMarshal.AsSpan(list128)[0] = 141; - skipStepConditions6.InTerritory = list128; - skipConditions15.StepIf = skipStepConditions6; - obj94.SkipConditions = skipConditions15; - reference95 = obj94; - ref QuestStep reference96 = ref span42[1]; - QuestStep obj95 = new QuestStep(EInteractionType.Combat, null, new Vector3(-116.10664f, 10.801613f, 276.979f), 141) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - Span span43 = CollectionsMarshal.AsSpan(list129); - ref ComplexCombatData reference97 = ref span43[0]; - ComplexCombatData obj96 = new ComplexCombatData - { - DataId = 351u, - MinimumKillCount = 3u - }; - int num4 = 6; - List list130 = new List(num4); - CollectionsMarshal.SetCount(list130, num4); - Span span44 = CollectionsMarshal.AsSpan(list130); - span44[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = null; - obj96.CompletionQuestVariablesFlags = list130; - reference97 = obj96; - ref ComplexCombatData reference98 = ref span43[1]; - ComplexCombatData obj97 = new ComplexCombatData - { - DataId = 141u, - MinimumKillCount = 3u - }; - num4 = 6; - List list131 = new List(num4); - CollectionsMarshal.SetCount(list131, num4); - Span span45 = CollectionsMarshal.AsSpan(list131); - span45[0] = null; - span45[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = null; - obj97.CompletionQuestVariablesFlags = list131; - reference98 = obj97; - obj95.ComplexCombatData = list129; - num3 = 6; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - Span span46 = CollectionsMarshal.AsSpan(list132); - span46[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span46[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = null; - obj95.CompletionQuestVariablesFlags = list132; - reference96 = obj95; - ref QuestStep reference99 = ref span42[2]; - QuestStep obj98 = new QuestStep(EInteractionType.Combat, null, new Vector3(39.635372f, 3.2401803f, 273.41232f), 141) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list133 = new List(num3); - CollectionsMarshal.SetCount(list133, num3); - ref ComplexCombatData reference100 = ref CollectionsMarshal.AsSpan(list133)[0]; - ComplexCombatData obj99 = new ComplexCombatData - { - DataId = 205u, - MinimumKillCount = 3u - }; - num4 = 6; - List list134 = new List(num4); - CollectionsMarshal.SetCount(list134, num4); - Span span47 = CollectionsMarshal.AsSpan(list134); - span47[0] = null; - span47[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = null; - obj99.CompletionQuestVariablesFlags = list134; - reference100 = obj99; - obj98.ComplexCombatData = list133; - num3 = 6; - List list135 = new List(num3); - CollectionsMarshal.SetCount(list135, num3); - Span span48 = CollectionsMarshal.AsSpan(list135); - span48[0] = null; - span48[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span48[2] = null; - span48[3] = null; - span48[4] = null; - span48[5] = null; - obj98.CompletionQuestVariablesFlags = list135; - reference99 = obj98; - obj93.Steps = list127; - reference94 = obj93; - ref QuestSequence reference101 = ref span41[2]; - QuestSequence obj100 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - obj100.Steps = list136; - reference101 = obj100; - questRoot12.QuestSequence = list125; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(288); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list137 = new List(num); - CollectionsMarshal.SetCount(list137, num); - CollectionsMarshal.AsSpan(list137)[0] = "Cacahuetes"; - questRoot13.Author = list137; - num = 7; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - Span span49 = CollectionsMarshal.AsSpan(list138); - ref QuestSequence reference102 = ref span49[0]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - ref QuestStep reference103 = ref CollectionsMarshal.AsSpan(list139)[0]; - QuestStep obj102 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - SkipConditions skipConditions16 = new SkipConditions(); - SkipAetheryteCondition obj103 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list140 = new List(num3); - CollectionsMarshal.SetCount(list140, num3); - CollectionsMarshal.AsSpan(list140)[0] = 131; - obj103.InTerritory = list140; - skipConditions16.AetheryteShortcutIf = obj103; - obj102.SkipConditions = skipConditions16; - reference103 = obj102; - obj101.Steps = list139; - reference102 = obj101; - ref QuestSequence reference104 = ref span49[1]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - ref QuestStep reference105 = ref CollectionsMarshal.AsSpan(list141)[0]; - QuestStep obj105 = new QuestStep(EInteractionType.Combat, 1002296u, new Vector3(-139.42175f, 4.019726f, 205.0354f), 141) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.UldahGateOfNald - }, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - CollectionsMarshal.AsSpan(list142)[0] = 1245u; - obj105.KillEnemyDataIds = list142; - reference105 = obj105; - obj104.Steps = list141; - reference104 = obj104; - ref QuestSequence reference106 = ref span49[2]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.Interact, 1002296u, new Vector3(-139.42175f, 4.019726f, 205.0354f), 141); - obj106.Steps = list143; - reference106 = obj106; - ref QuestSequence reference107 = ref span49[3]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - ref QuestStep reference108 = ref CollectionsMarshal.AsSpan(list144)[0]; - QuestStep obj108 = new QuestStep(EInteractionType.Interact, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - SkipConditions skipConditions17 = new SkipConditions(); - SkipAetheryteCondition obj109 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list145 = new List(num3); - CollectionsMarshal.SetCount(list145, num3); - CollectionsMarshal.AsSpan(list145)[0] = 131; - obj109.InTerritory = list145; - skipConditions17.AetheryteShortcutIf = obj109; - obj108.SkipConditions = skipConditions17; - reference108 = obj108; - obj107.Steps = list144; - reference107 = obj107; - ref QuestSequence reference109 = ref span49[4]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2001756u, new Vector3(27.206787f, 12.985352f, 51.83484f), 141) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.UldahGateOfNald - } - }; - obj110.Steps = list146; - reference109 = obj110; - ref QuestSequence reference110 = ref span49[5]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.Interact, 1003945u, new Vector3(24.917969f, 13f, 50.156372f), 141) - { - StopDistance = 5f - }; - obj111.Steps = list147; - reference110 = obj111; - ref QuestSequence reference111 = ref span49[6]; - QuestSequence obj112 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - ref QuestStep reference112 = ref CollectionsMarshal.AsSpan(list148)[0]; - QuestStep obj113 = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - num3 = 1; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - CollectionsMarshal.AsSpan(list149)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CLSGLA101_00288_Q1_000_160"), - Answer = new ExcelRef("TEXT_CLSGLA101_00288_A1_000_161") - }; - obj113.DialogueChoices = list149; - obj113.NextQuestId = new QuestId(262); - reference112 = obj113; - obj112.Steps = list148; - reference111 = obj112; - questRoot13.QuestSequence = list138; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(291); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list150 = new List(num); - CollectionsMarshal.SetCount(list150, num); - CollectionsMarshal.AsSpan(list150)[0] = "Cacahuetes"; - questRoot14.Author = list150; - num = 2; - List list151 = new List(num); - CollectionsMarshal.SetCount(list151, num); - Span span50 = CollectionsMarshal.AsSpan(list151); - ref QuestSequence reference113 = ref span50[0]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - ref QuestStep reference114 = ref CollectionsMarshal.AsSpan(list152)[0]; - QuestStep obj115 = new QuestStep(EInteractionType.AcceptQuest, 1000995u, new Vector3(-52.018066f, 42.799637f, 192.2179f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions18 = new SkipConditions(); - SkipAetheryteCondition obj116 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - CollectionsMarshal.AsSpan(list153)[0] = 128; - obj116.InTerritory = list153; - skipConditions18.AetheryteShortcutIf = obj116; - obj115.SkipConditions = skipConditions18; - num3 = 1; - List list154 = new List(num3); - CollectionsMarshal.SetCount(list154, num3); - CollectionsMarshal.AsSpan(list154)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSBSM011_00291_Q1_000_1") - }; - obj115.DialogueChoices = list154; - reference114 = obj115; - obj114.Steps = list152; - reference113 = obj114; - ref QuestSequence reference115 = ref span50[1]; - QuestSequence obj117 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - ref QuestStep reference116 = ref CollectionsMarshal.AsSpan(list155)[0]; - QuestStep questStep11 = new QuestStep(EInteractionType.CompleteQuest, 1000997u, new Vector3(-31.265808f, 44.49997f, 185.53442f), 128); - num3 = 1; - List list156 = new List(num3); - CollectionsMarshal.SetCount(list156, num3); - CollectionsMarshal.AsSpan(list156)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSBSM011_00291_Q1_000_1") - }; - questStep11.DialogueChoices = list156; - questStep11.NextQuestId = new QuestId(292); - reference116 = questStep11; - obj117.Steps = list155; - reference115 = obj117; - questRoot14.QuestSequence = list151; - AddQuest(questId14, questRoot14); - } - - private static void LoadQuests6() - { - QuestId questId = new QuestId(303); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001500u, new Vector3(81.77307f, 1.051391f, 311.23828f), 141); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - span2[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(60.20499f, 0.9387207f, 265.01544f), 141) - { - StopDistance = 0.25f, - JumpDestination = new JumpDestination - { - Position = new Vector3(59.662186f, 0.9387207f, 258.3517f) - } - }; - span2[1] = new QuestStep(EInteractionType.Interact, 1001455u, new Vector3(59.952637f, 0.99176025f, 255.8479f), 141) - { - StopDistance = 7f, - DelaySecondsAtStart = 2f - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - Span span3 = CollectionsMarshal.AsSpan(list5); - span3[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-60.070023f, -3.6582303f, 160.2097f), 141) - { - Sprint = true - }; - span3[1] = new QuestStep(EInteractionType.CompleteQuest, 1001541u, new Vector3(-99.4126f, -11.39856f, -41.73346f), 141); - obj3.Steps = list5; - reference3 = obj3; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(307); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list6 = new List(num); - CollectionsMarshal.SetCount(list6, num); - CollectionsMarshal.AsSpan(list6)[0] = "liza"; - questRoot2.Author = list6; - num = 3; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - Span span4 = CollectionsMarshal.AsSpan(list7); - ref QuestSequence reference4 = ref span4[0]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001447u, new Vector3(-32.6391f, -1.0332576f, -148.51611f), 141); - obj4.Steps = list8; - reference4 = obj4; - ref QuestSequence reference5 = ref span4[1]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - Span span5 = CollectionsMarshal.AsSpan(list9); - span5[0] = new QuestStep(EInteractionType.UseItem, 2000268u, new Vector3(25.680908f, 13.076904f, 47.80652f), 141) - { - ItemId = 2000212u - }; - ref QuestStep reference6 = ref span5[1]; - QuestStep obj6 = new QuestStep(EInteractionType.Combat, null, new Vector3(25.680908f, 13.076904f, 47.80652f), 141) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - int num3 = 1; - List list10 = new List(num3); - CollectionsMarshal.SetCount(list10, num3); - CollectionsMarshal.AsSpan(list10)[0] = 187u; - obj6.KillEnemyDataIds = list10; - reference6 = obj6; - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference7 = ref span4[2]; - QuestSequence obj7 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001447u, new Vector3(-32.6391f, -1.0332576f, -148.51611f), 141); - obj7.Steps = list11; - reference7 = obj7; - questRoot2.QuestSequence = list7; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(310); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - CollectionsMarshal.AsSpan(list12)[0] = "Cacahuetes"; - questRoot3.Author = list12; - num = 2; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - Span span6 = CollectionsMarshal.AsSpan(list13); - ref QuestSequence reference8 = ref span6[0]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000926u, new Vector3(-10.055725f, 44.999794f, -245.80762f), 128); - obj8.Steps = list14; - reference8 = obj8; - ref QuestSequence reference9 = ref span6[1]; - QuestSequence obj9 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - ref QuestStep reference10 = ref CollectionsMarshal.AsSpan(list15)[0]; - QuestStep questStep = new QuestStep(EInteractionType.CompleteQuest, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128); - num3 = 1; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - CollectionsMarshal.AsSpan(list16)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSEXC011_00310_Q2_000_1") - }; - questStep.DialogueChoices = list16; - questStep.NextQuestId = new QuestId(312); - reference10 = questStep; - obj9.Steps = list15; - reference9 = obj9; - questRoot3.QuestSequence = list13; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(311); - QuestRoot questRoot4 = new QuestRoot(); - num = 2; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - Span span7 = CollectionsMarshal.AsSpan(list17); - span7[0] = "liza"; - span7[1] = "Wigglez"; - questRoot4.Author = list17; - num = 4; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - Span span8 = CollectionsMarshal.AsSpan(list18); - ref QuestSequence reference11 = ref span8[0]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - ref QuestStep reference12 = ref CollectionsMarshal.AsSpan(list19)[0]; - QuestStep obj11 = new QuestStep(EInteractionType.AcceptQuest, 1000926u, new Vector3(-10.055725f, 44.999794f, -245.80762f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition obj12 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - CollectionsMarshal.AsSpan(list20)[0] = 128; - obj12.InTerritory = list20; - skipConditions.AetheryteShortcutIf = obj12; - obj11.SkipConditions = skipConditions; - reference12 = obj11; - obj10.Steps = list19; - reference11 = obj10; - ref QuestSequence reference13 = ref span8[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - ref QuestStep reference14 = ref CollectionsMarshal.AsSpan(list21)[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128); - num3 = 1; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - CollectionsMarshal.AsSpan(list22)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSEXC020_00311_Q2_000_1") - }; - questStep2.DialogueChoices = list22; - reference14 = questStep2; - obj13.Steps = list21; - reference13 = obj13; - ref QuestSequence reference15 = ref span8[2]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - Span span9 = CollectionsMarshal.AsSpan(list23); - ref QuestStep reference16 = ref span9[0]; - QuestStep obj15 = new QuestStep(EInteractionType.Combat, null, new Vector3(31.662792f, 44.020653f, 146.94322f), 134) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaMarauder, - To = EAetheryteLocation.LimsaZephyrGate - }, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - ref ComplexCombatData reference17 = ref CollectionsMarshal.AsSpan(list24)[0]; - ComplexCombatData obj16 = new ComplexCombatData - { - DataId = 347u, - MinimumKillCount = 3u - }; - int num4 = 6; - List list25 = new List(num4); - CollectionsMarshal.SetCount(list25, num4); - Span span10 = CollectionsMarshal.AsSpan(list25); - span10[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = null; - obj16.CompletionQuestVariablesFlags = list25; - reference17 = obj16; - obj15.ComplexCombatData = list24; - num3 = 6; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - Span span11 = CollectionsMarshal.AsSpan(list26); - span11[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = null; - obj15.CompletionQuestVariablesFlags = list26; - reference16 = obj15; - ref QuestStep reference18 = ref span9[1]; - QuestStep obj17 = new QuestStep(EInteractionType.Combat, null, new Vector3(74.15681f, 45.953808f, 169.73499f), 134) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - ref ComplexCombatData reference19 = ref CollectionsMarshal.AsSpan(list27)[0]; - ComplexCombatData obj18 = new ComplexCombatData - { - DataId = 49u, - MinimumKillCount = 3u - }; - num4 = 6; - List list28 = new List(num4); - CollectionsMarshal.SetCount(list28, num4); - Span span12 = CollectionsMarshal.AsSpan(list28); - span12[0] = null; - span12[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = null; - obj18.CompletionQuestVariablesFlags = list28; - reference19 = obj18; - obj17.ComplexCombatData = list27; - num3 = 6; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - Span span13 = CollectionsMarshal.AsSpan(list29); - span13[0] = null; - span13[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = null; - obj17.CompletionQuestVariablesFlags = list29; - reference18 = obj17; - ref QuestStep reference20 = ref span9[2]; - QuestStep obj19 = new QuestStep(EInteractionType.Combat, null, new Vector3(74.15681f, 45.953808f, 169.73499f), 134) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - ref ComplexCombatData reference21 = ref CollectionsMarshal.AsSpan(list30)[0]; - ComplexCombatData obj20 = new ComplexCombatData - { - DataId = 338u, - MinimumKillCount = 3u - }; - num4 = 6; - List list31 = new List(num4); - CollectionsMarshal.SetCount(list31, num4); - Span span14 = CollectionsMarshal.AsSpan(list31); - span14[0] = null; - span14[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = null; - obj20.CompletionQuestVariablesFlags = list31; - reference21 = obj20; - obj19.ComplexCombatData = list30; - num3 = 6; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - Span span15 = CollectionsMarshal.AsSpan(list32); - span15[0] = null; - span15[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = null; - obj19.CompletionQuestVariablesFlags = list32; - reference20 = obj19; - obj14.Steps = list23; - reference15 = obj14; - ref QuestSequence reference22 = ref span8[3]; - QuestSequence obj21 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - Span span16 = CollectionsMarshal.AsSpan(list33); - span16[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-55.5555f, 34.0616f, 163.5555f), 134) - { - TargetTerritoryId = (ushort)128 - }; - span16[1] = new QuestStep(EInteractionType.CompleteQuest, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - }, - NextQuestId = new QuestId(313) - }; - obj21.Steps = list33; - reference22 = obj21; - questRoot4.QuestSequence = list18; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(312); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - CollectionsMarshal.AsSpan(list34)[0] = "liza"; - questRoot5.Author = list34; - num = 3; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - Span span17 = CollectionsMarshal.AsSpan(list35); - ref QuestSequence reference23 = ref span17[0]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - ref QuestStep reference24 = ref CollectionsMarshal.AsSpan(list36)[0]; - QuestStep obj23 = new QuestStep(EInteractionType.AcceptQuest, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition obj24 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - CollectionsMarshal.AsSpan(list37)[0] = 128; - obj24.InTerritory = list37; - skipConditions2.AetheryteShortcutIf = obj24; - obj23.SkipConditions = skipConditions2; - reference24 = obj23; - obj22.Steps = list36; - reference23 = obj22; - ref QuestSequence reference25 = ref span17[1]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - Span span18 = CollectionsMarshal.AsSpan(list38); - ref QuestStep reference26 = ref span18[0]; - QuestStep obj26 = new QuestStep(EInteractionType.Combat, null, new Vector3(31.662792f, 44.020653f, 146.94322f), 134) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaMarauder, - To = EAetheryteLocation.LimsaZephyrGate - }, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list39 = new List(num3); - CollectionsMarshal.SetCount(list39, num3); - ref ComplexCombatData reference27 = ref CollectionsMarshal.AsSpan(list39)[0]; - ComplexCombatData obj27 = new ComplexCombatData - { - DataId = 347u, - MinimumKillCount = 3u - }; - num4 = 6; - List list40 = new List(num4); - CollectionsMarshal.SetCount(list40, num4); - Span span19 = CollectionsMarshal.AsSpan(list40); - span19[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = null; - obj27.CompletionQuestVariablesFlags = list40; - reference27 = obj27; - obj26.ComplexCombatData = list39; - num3 = 6; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - Span span20 = CollectionsMarshal.AsSpan(list41); - span20[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = null; - obj26.CompletionQuestVariablesFlags = list41; - reference26 = obj26; - ref QuestStep reference28 = ref span18[1]; - QuestStep obj28 = new QuestStep(EInteractionType.Combat, null, new Vector3(74.15681f, 45.953808f, 169.73499f), 134) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - ref ComplexCombatData reference29 = ref CollectionsMarshal.AsSpan(list42)[0]; - ComplexCombatData obj29 = new ComplexCombatData - { - DataId = 49u, - MinimumKillCount = 3u - }; - num4 = 6; - List list43 = new List(num4); - CollectionsMarshal.SetCount(list43, num4); - Span span21 = CollectionsMarshal.AsSpan(list43); - span21[0] = null; - span21[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = null; - obj29.CompletionQuestVariablesFlags = list43; - reference29 = obj29; - obj28.ComplexCombatData = list42; - num3 = 6; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - Span span22 = CollectionsMarshal.AsSpan(list44); - span22[0] = null; - span22[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = null; - obj28.CompletionQuestVariablesFlags = list44; - reference28 = obj28; - ref QuestStep reference30 = ref span18[2]; - QuestStep obj30 = new QuestStep(EInteractionType.Combat, null, new Vector3(74.15681f, 45.953808f, 169.73499f), 134) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - ref ComplexCombatData reference31 = ref CollectionsMarshal.AsSpan(list45)[0]; - ComplexCombatData obj31 = new ComplexCombatData - { - DataId = 338u, - MinimumKillCount = 3u - }; - num4 = 6; - List list46 = new List(num4); - CollectionsMarshal.SetCount(list46, num4); - Span span23 = CollectionsMarshal.AsSpan(list46); - span23[0] = null; - span23[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = null; - obj31.CompletionQuestVariablesFlags = list46; - reference31 = obj31; - obj30.ComplexCombatData = list45; - num3 = 6; - List list47 = new List(num3); - CollectionsMarshal.SetCount(list47, num3); - Span span24 = CollectionsMarshal.AsSpan(list47); - span24[0] = null; - span24[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = null; - obj30.CompletionQuestVariablesFlags = list47; - reference30 = obj30; - obj25.Steps = list38; - reference25 = obj25; - ref QuestSequence reference32 = ref span17[2]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - }, - NextQuestId = new QuestId(313) - }; - obj32.Steps = list48; - reference32 = obj32; - questRoot5.QuestSequence = list35; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(313); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - CollectionsMarshal.AsSpan(list49)[0] = "liza"; - questRoot6.Author = list49; - num = 12; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - Span span25 = CollectionsMarshal.AsSpan(list50); - ref QuestSequence reference33 = ref span25[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - ref QuestStep reference34 = ref CollectionsMarshal.AsSpan(list51)[0]; - QuestStep obj34 = new QuestStep(EInteractionType.AcceptQuest, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition obj35 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - CollectionsMarshal.AsSpan(list52)[0] = 128; - obj35.InTerritory = list52; - skipConditions3.AetheryteShortcutIf = obj35; - obj34.SkipConditions = skipConditions3; - reference34 = obj34; - obj33.Steps = list51; - reference33 = obj33; - ref QuestSequence reference35 = ref span25[1]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.Interact, 1002680u, new Vector3(1.4800415f, 30.47563f, -242.20648f), 128); - obj36.Steps = list53; - reference35 = obj36; - ref QuestSequence reference36 = ref span25[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.Interact, 1002108u, new Vector3(-57.236633f, 43.829678f, 45.334473f), 134) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaMarauder, - To = EAetheryteLocation.LimsaZephyrGate - } - }; - obj37.Steps = list54; - reference36 = obj37; - ref QuestSequence reference37 = ref span25[3]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - Span span26 = CollectionsMarshal.AsSpan(list55); - ref QuestStep reference38 = ref span26[0]; - QuestStep obj39 = new QuestStep(EInteractionType.Action, 2001481u, new Vector3(-52.140076f, 46.158447f, 15.823547f), 134) - { - Action = EAction.HeavySwing - }; - num3 = 6; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - Span span27 = CollectionsMarshal.AsSpan(list56); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj39.CompletionQuestVariablesFlags = list56; - reference38 = obj39; - ref QuestStep reference39 = ref span26[1]; - QuestStep obj40 = new QuestStep(EInteractionType.Action, 2001482u, new Vector3(-73.80792f, 43.259277f, 4.623413f), 134) - { - Action = EAction.HeavySwing - }; - num3 = 6; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - Span span28 = CollectionsMarshal.AsSpan(list57); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj40.CompletionQuestVariablesFlags = list57; - reference39 = obj40; - ref QuestStep reference40 = ref span26[2]; - QuestStep obj41 = new QuestStep(EInteractionType.Action, 2001480u, new Vector3(-68.467285f, 43.503418f, 20.248657f), 134) - { - Action = EAction.HeavySwing - }; - num3 = 6; - List list58 = new List(num3); - CollectionsMarshal.SetCount(list58, num3); - Span span29 = CollectionsMarshal.AsSpan(list58); - span29[0] = null; - span29[1] = null; - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj41.CompletionQuestVariablesFlags = list58; - reference40 = obj41; - obj38.Steps = list55; - reference37 = obj38; - ref QuestSequence reference41 = ref span25[4]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.Interact, 1002108u, new Vector3(-57.236633f, 43.829678f, 45.334473f), 134); - obj42.Steps = list59; - reference41 = obj42; - ref QuestSequence reference42 = ref span25[5]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - Span span30 = CollectionsMarshal.AsSpan(list60); - ref QuestStep reference43 = ref span30[0]; - QuestStep obj44 = new QuestStep(EInteractionType.Action, 2001483u, new Vector3(-12.314087f, 46.402588f, 31.47937f), 134) - { - Action = EAction.HeavySwing - }; - num3 = 6; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - Span span31 = CollectionsMarshal.AsSpan(list61); - span31[0] = null; - span31[1] = null; - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj44.CompletionQuestVariablesFlags = list61; - reference43 = obj44; - ref QuestStep reference44 = ref span30[1]; - QuestStep obj45 = new QuestStep(EInteractionType.Action, 2001485u, new Vector3(1.663208f, 48.2948f, 9.597839f), 134) - { - Action = EAction.HeavySwing - }; - num3 = 6; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - Span span32 = CollectionsMarshal.AsSpan(list62); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj45.CompletionQuestVariablesFlags = list62; - reference44 = obj45; - ref QuestStep reference45 = ref span30[2]; - QuestStep obj46 = new QuestStep(EInteractionType.Action, 2001484u, new Vector3(-14.572449f, 47.40979f, 12.344482f), 134) - { - Action = EAction.HeavySwing - }; - num3 = 6; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - Span span33 = CollectionsMarshal.AsSpan(list63); - span33[0] = null; - span33[1] = null; - span33[2] = null; - span33[3] = null; - span33[4] = null; - span33[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj46.CompletionQuestVariablesFlags = list63; - reference45 = obj46; - obj43.Steps = list60; - reference42 = obj43; - ref QuestSequence reference46 = ref span25[6]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.Interact, 1002108u, new Vector3(-57.236633f, 43.829678f, 45.334473f), 134); - obj47.Steps = list64; - reference46 = obj47; - ref QuestSequence reference47 = ref span25[7]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.Interact, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - obj48.Steps = list65; - reference47 = obj48; - ref QuestSequence reference48 = ref span25[8]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.Interact, 1002679u, new Vector3(-5.2339478f, 31.475597f, -256.97723f), 128); - obj49.Steps = list66; - reference48 = obj49; - ref QuestSequence reference49 = ref span25[9]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 9 - }; - num2 = 2; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - Span span34 = CollectionsMarshal.AsSpan(list67); - span34[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(15.175059f, 32.473015f, -264.02353f), 128); - span34[1] = new QuestStep(EInteractionType.Interact, 2000284u, new Vector3(130.84607f, 35.99597f, 28.519043f), 135) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaMarauder, - To = EAetheryteLocation.LimsaTempestGate - } - }; - obj50.Steps = list67; - reference49 = obj50; - ref QuestSequence reference50 = ref span25[10]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, null, new Vector3(157.25027f, 33.93623f, 91.90441f), 135) - { - StopDistance = 0.5f, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj51.Steps = list68; - reference50 = obj51; - ref QuestSequence reference51 = ref span25[11]; - QuestSequence obj52 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - }, - NextQuestId = new QuestId(315) - }; - obj52.Steps = list69; - reference51 = obj52; - questRoot6.QuestSequence = list50; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(314); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list70 = new List(num); - CollectionsMarshal.SetCount(list70, num); - CollectionsMarshal.AsSpan(list70)[0] = "liza"; - questRoot7.Author = list70; - num = 5; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - Span span35 = CollectionsMarshal.AsSpan(list71); - ref QuestSequence reference52 = ref span35[0]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - ref QuestStep reference53 = ref CollectionsMarshal.AsSpan(list72)[0]; - QuestStep obj54 = new QuestStep(EInteractionType.AcceptQuest, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition obj55 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - CollectionsMarshal.AsSpan(list73)[0] = 128; - obj55.InTerritory = list73; - skipConditions4.AetheryteShortcutIf = obj55; - obj54.SkipConditions = skipConditions4; - reference53 = obj54; - obj53.Steps = list72; - reference52 = obj53; - ref QuestSequence reference54 = ref span35[1]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - ref QuestStep reference55 = ref CollectionsMarshal.AsSpan(list74)[0]; - QuestStep obj57 = new QuestStep(EInteractionType.Combat, null, new Vector3(391.3196f, 73.47712f, -313.9601f), 135) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaMarauder, - To = EAetheryteLocation.LimsaTempestGate - }, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - ref ComplexCombatData reference56 = ref CollectionsMarshal.AsSpan(list75)[0]; - ComplexCombatData obj58 = new ComplexCombatData - { - DataId = 5u, - MinimumKillCount = 3u - }; - num4 = 6; - List list76 = new List(num4); - CollectionsMarshal.SetCount(list76, num4); - Span span36 = CollectionsMarshal.AsSpan(list76); - span36[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = null; - obj58.CompletionQuestVariablesFlags = list76; - reference56 = obj58; - obj57.ComplexCombatData = list75; - reference55 = obj57; - obj56.Steps = list74; - reference54 = obj56; - ref QuestSequence reference57 = ref span35[2]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Interact, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - obj59.Steps = list77; - reference57 = obj59; - ref QuestSequence reference58 = ref span35[3]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - ref QuestStep reference59 = ref CollectionsMarshal.AsSpan(list78)[0]; - QuestStep obj61 = new QuestStep(EInteractionType.Combat, 2000286u, new Vector3(-88.60913f, 43.564453f, -303.05945f), 134) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MiddleLaNosceaSummerfordFarms, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaMarauder, - To = EAetheryteLocation.LimsaZephyrGate - }, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - CollectionsMarshal.AsSpan(list79)[0] = 2u; - obj61.KillEnemyDataIds = list79; - obj61.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - AetheryteLocked = EAetheryteLocation.MiddleLaNosceaSummerfordFarms - } - }; - reference59 = obj61; - obj60.Steps = list78; - reference58 = obj60; - ref QuestSequence reference60 = ref span35[4]; - QuestSequence obj62 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - }, - NextQuestId = new QuestId(316) - }; - obj62.Steps = list80; - reference60 = obj62; - questRoot7.QuestSequence = list71; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(315); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - CollectionsMarshal.AsSpan(list81)[0] = "liza"; - questRoot8.Author = list81; - num = 5; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - Span span37 = CollectionsMarshal.AsSpan(list82); - ref QuestSequence reference61 = ref span37[0]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - ref QuestStep reference62 = ref CollectionsMarshal.AsSpan(list83)[0]; - QuestStep obj64 = new QuestStep(EInteractionType.AcceptQuest, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipAetheryteCondition obj65 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - CollectionsMarshal.AsSpan(list84)[0] = 128; - obj65.InTerritory = list84; - skipConditions5.AetheryteShortcutIf = obj65; - obj64.SkipConditions = skipConditions5; - reference62 = obj64; - obj63.Steps = list83; - reference61 = obj63; - ref QuestSequence reference63 = ref span37[1]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - ref QuestStep reference64 = ref CollectionsMarshal.AsSpan(list85)[0]; - QuestStep obj67 = new QuestStep(EInteractionType.Combat, null, new Vector3(391.3196f, 73.47712f, -313.9601f), 135) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaMarauder, - To = EAetheryteLocation.LimsaTempestGate - }, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - ref ComplexCombatData reference65 = ref CollectionsMarshal.AsSpan(list86)[0]; - ComplexCombatData obj68 = new ComplexCombatData - { - DataId = 5u, - MinimumKillCount = 3u - }; - num4 = 6; - List list87 = new List(num4); - CollectionsMarshal.SetCount(list87, num4); - Span span38 = CollectionsMarshal.AsSpan(list87); - span38[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = null; - obj68.CompletionQuestVariablesFlags = list87; - reference65 = obj68; - obj67.ComplexCombatData = list86; - reference64 = obj67; - obj66.Steps = list85; - reference63 = obj66; - ref QuestSequence reference66 = ref span37[2]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - obj69.Steps = list88; - reference66 = obj69; - ref QuestSequence reference67 = ref span37[3]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - ref QuestStep reference68 = ref CollectionsMarshal.AsSpan(list89)[0]; - QuestStep obj71 = new QuestStep(EInteractionType.Combat, 2000287u, new Vector3(-88.60913f, 43.564453f, -303.05945f), 134) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MiddleLaNosceaSummerfordFarms, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaMarauder, - To = EAetheryteLocation.LimsaZephyrGate - }, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - CollectionsMarshal.AsSpan(list90)[0] = 2u; - obj71.KillEnemyDataIds = list90; - obj71.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - AetheryteLocked = EAetheryteLocation.MiddleLaNosceaSummerfordFarms - } - }; - reference68 = obj71; - obj70.Steps = list89; - reference67 = obj70; - ref QuestSequence reference69 = ref span37[4]; - QuestSequence obj72 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - }, - NextQuestId = new QuestId(316) - }; - obj72.Steps = list91; - reference69 = obj72; - questRoot8.QuestSequence = list82; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(316); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - CollectionsMarshal.AsSpan(list92)[0] = "liza"; - questRoot9.Author = list92; - num = 8; - List list93 = new List(num); - CollectionsMarshal.SetCount(list93, num); - Span span39 = CollectionsMarshal.AsSpan(list93); - ref QuestSequence reference70 = ref span39[0]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - ref QuestStep reference71 = ref CollectionsMarshal.AsSpan(list94)[0]; - QuestStep obj74 = new QuestStep(EInteractionType.AcceptQuest, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipAetheryteCondition obj75 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - CollectionsMarshal.AsSpan(list95)[0] = 128; - obj75.InTerritory = list95; - skipConditions6.AetheryteShortcutIf = obj75; - obj74.SkipConditions = skipConditions6; - reference71 = obj74; - obj73.Steps = list94; - reference70 = obj73; - ref QuestSequence reference72 = ref span39[1]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - Span span40 = CollectionsMarshal.AsSpan(list96); - span40[0] = new QuestStep(EInteractionType.Interact, 1000868u, new Vector3(-192.00433f, 0.9999907f, 211.68835f), 129) - { - StopDistance = 7f, - TargetTerritoryId = (ushort)138, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaMarauder, - To = EAetheryteLocation.LimsaFisher - } - }; - span40[1] = new QuestStep(EInteractionType.Interact, 1002110u, new Vector3(319.84436f, -31.898647f, 273.51794f), 138); - obj76.Steps = list96; - reference72 = obj76; - ref QuestSequence reference73 = ref span39[2]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - Span span41 = CollectionsMarshal.AsSpan(list97); - span41[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 138) - { - Aetheryte = EAetheryteLocation.WesternLaNosceaAleport - }; - span41[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(139.18224f, -20.931536f, 139.35034f), 138) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - ref QuestStep reference74 = ref span41[2]; - QuestStep obj78 = new QuestStep(EInteractionType.Combat, 2000288u, new Vector3(99.22937f, -14.2977295f, 141.86316f), 138) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - CollectionsMarshal.AsSpan(list98)[0] = 28u; - obj78.KillEnemyDataIds = list98; - reference74 = obj78; - obj77.Steps = list97; - reference73 = obj77; - ref QuestSequence reference75 = ref span39[3]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - obj79.Steps = list99; - reference75 = obj79; - ref QuestSequence reference76 = ref span39[4]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - Span span42 = CollectionsMarshal.AsSpan(list100); - span42[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-182.58467f, 39.786213f, -46.777275f), 134) - { - StopDistance = 0.5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaMarauder, - To = EAetheryteLocation.LimsaZephyrGate - }, - JumpDestination = new JumpDestination - { - Position = new Vector3(-192.3236f, 41.73779f, -49.477997f) - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span42[1] = new QuestStep(EInteractionType.Interact, 1002111u, new Vector3(-206.80554f, 41.757885f, -39.627747f), 134) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaMarauder, - To = EAetheryteLocation.LimsaZephyrGate - } - }; - obj80.Steps = list100; - reference76 = obj80; - ref QuestSequence reference77 = ref span39[5]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.Action, 2001486u, new Vector3(-225.33002f, 42.191162f, -35.202576f), 134) - { - Action = EAction.HeavySwing - }; - obj81.Steps = list101; - reference77 = obj81; - ref QuestSequence reference78 = ref span39[6]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.Interact, 1002111u, new Vector3(-206.80554f, 41.757885f, -39.627747f), 134); - obj82.Steps = list102; - reference78 = obj82; - ref QuestSequence reference79 = ref span39[7]; - QuestSequence obj83 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - }, - NextQuestId = new QuestId(317) - }; - obj83.Steps = list103; - reference79 = obj83; - questRoot9.QuestSequence = list93; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(317); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list104 = new List(num); - CollectionsMarshal.SetCount(list104, num); - CollectionsMarshal.AsSpan(list104)[0] = "liza"; - questRoot10.Author = list104; - num = 9; - List list105 = new List(num); - CollectionsMarshal.SetCount(list105, num); - Span span43 = CollectionsMarshal.AsSpan(list105); - ref QuestSequence reference80 = ref span43[0]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - ref QuestStep reference81 = ref CollectionsMarshal.AsSpan(list106)[0]; - QuestStep obj85 = new QuestStep(EInteractionType.AcceptQuest, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipAetheryteCondition obj86 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - CollectionsMarshal.AsSpan(list107)[0] = 128; - obj86.InTerritory = list107; - skipConditions7.AetheryteShortcutIf = obj86; - skipConditions7.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj85.SkipConditions = skipConditions7; - reference81 = obj85; - obj84.Steps = list106; - reference80 = obj84; - ref QuestSequence reference82 = ref span43[1]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.Interact, 1002682u, new Vector3(-86.930725f, 40.999992f, -153.91785f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaMarauder, - To = EAetheryteLocation.LimsaCulinarian - } - }; - obj87.Steps = list108; - reference82 = obj87; - ref QuestSequence reference83 = ref span43[2]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.Interact, 1002112u, new Vector3(561.6693f, 89.783f, -81.52899f), 135) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaCulinarian, - To = EAetheryteLocation.LimsaTempestGate - } - }; - obj88.Steps = list109; - reference83 = obj88; - ref QuestSequence reference84 = ref span43[3]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.Interact, 1002683u, new Vector3(559.6245f, 89.783f, -80.1557f), 135); - obj89.Steps = list110; - reference84 = obj89; - ref QuestSequence reference85 = ref span43[4]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.Interact, 1002113u, new Vector3(312.45886f, -24.483091f, 212.84802f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - obj90.Steps = list111; - reference85 = obj90; - ref QuestSequence reference86 = ref span43[5]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span44 = CollectionsMarshal.AsSpan(list112); - ref QuestStep reference87 = ref span44[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2000289u, new Vector3(348.34814f, -18.60083f, 168.3833f), 138); - num3 = 6; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - Span span45 = CollectionsMarshal.AsSpan(list113); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list113; - reference87 = questStep3; - span44[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(297.38306f, -14.2977295f, 148.85168f), 138); - ref QuestStep reference88 = ref span44[2]; - QuestStep obj92 = new QuestStep(EInteractionType.Interact, 2000290u, new Vector3(297.38306f, -14.2977295f, 148.85168f), 138) - { - DelaySecondsAtStart = 5f - }; - num3 = 6; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - Span span46 = CollectionsMarshal.AsSpan(list114); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj92.CompletionQuestVariablesFlags = list114; - reference88 = obj92; - obj91.Steps = list112; - reference86 = obj91; - ref QuestSequence reference89 = ref span43[6]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1002684u, new Vector3(299.1836f, 0.7139131f, 86.10657f), 138) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj93.Steps = list115; - reference89 = obj93; - ref QuestSequence reference90 = ref span43[7]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.Interact, 1002112u, new Vector3(561.6693f, 89.783f, -81.52899f), 135) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaTempestGate - } - }; - obj94.Steps = list116; - reference90 = obj94; - ref QuestSequence reference91 = ref span43[8]; - QuestSequence obj95 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - }, - NextQuestId = new QuestId(318) - }; - obj95.Steps = list117; - reference91 = obj95; - questRoot10.QuestSequence = list105; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(318); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - CollectionsMarshal.AsSpan(list118)[0] = "liza"; - questRoot11.Author = list118; - num = 4; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - Span span47 = CollectionsMarshal.AsSpan(list119); - ref QuestSequence reference92 = ref span47[0]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - ref QuestStep reference93 = ref CollectionsMarshal.AsSpan(list120)[0]; - QuestStep obj97 = new QuestStep(EInteractionType.AcceptQuest, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipAetheryteCondition obj98 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - CollectionsMarshal.AsSpan(list121)[0] = 128; - obj98.InTerritory = list121; - skipConditions8.AetheryteShortcutIf = obj98; - skipConditions8.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj97.SkipConditions = skipConditions8; - reference93 = obj97; - obj96.Steps = list120; - reference92 = obj96; - ref QuestSequence reference94 = ref span47[1]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.Interact, 1002682u, new Vector3(-86.930725f, 40.999992f, -153.91785f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaMarauder, - To = EAetheryteLocation.LimsaCulinarian - } - }; - obj99.Steps = list122; - reference94 = obj99; - ref QuestSequence reference95 = ref span47[2]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1002685u, new Vector3(-235.33997f, -0.28636882f, 675.349f), 135) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj100.Steps = list123; - reference95 = obj100; - ref QuestSequence reference96 = ref span47[3]; - QuestSequence obj101 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - }, - NextQuestId = new QuestId(319) - }; - obj101.Steps = list124; - reference96 = obj101; - questRoot11.QuestSequence = list119; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(319); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list125 = new List(num); - CollectionsMarshal.SetCount(list125, num); - CollectionsMarshal.AsSpan(list125)[0] = "liza"; - questRoot12.Author = list125; - num = 9; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - Span span48 = CollectionsMarshal.AsSpan(list126); - ref QuestSequence reference97 = ref span48[0]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - ref QuestStep reference98 = ref CollectionsMarshal.AsSpan(list127)[0]; - QuestStep obj103 = new QuestStep(EInteractionType.AcceptQuest, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipAetheryteCondition obj104 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - CollectionsMarshal.AsSpan(list128)[0] = 128; - obj104.InTerritory = list128; - skipConditions9.AetheryteShortcutIf = obj104; - skipConditions9.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj103.SkipConditions = skipConditions9; - reference98 = obj103; - obj102.Steps = list127; - reference97 = obj102; - ref QuestSequence reference99 = ref span48[1]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.Interact, 1002115u, new Vector3(562.3406f, 89.86035f, -80.216736f), 135) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaMarauder, - To = EAetheryteLocation.LimsaTempestGate - } - }; - obj105.Steps = list129; - reference99 = obj105; - ref QuestSequence reference100 = ref span48[2]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - Span span49 = CollectionsMarshal.AsSpan(list130); - ref QuestStep reference101 = ref span49[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1002713u, new Vector3(554.4059f, 89.783f, -67.979004f), 135); - num3 = 6; - List list131 = new List(num3); - CollectionsMarshal.SetCount(list131, num3); - Span span50 = CollectionsMarshal.AsSpan(list131); - span50[0] = null; - span50[1] = null; - span50[2] = null; - span50[3] = null; - span50[4] = null; - span50[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list131; - reference101 = questStep4; - ref QuestStep reference102 = ref span49[1]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1002686u, new Vector3(554.2838f, 89.78309f, -72.43463f), 135); - num3 = 6; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - Span span51 = CollectionsMarshal.AsSpan(list132); - span51[0] = null; - span51[1] = null; - span51[2] = null; - span51[3] = null; - span51[4] = null; - span51[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list132; - reference102 = questStep5; - obj106.Steps = list130; - reference100 = obj106; - ref QuestSequence reference103 = ref span48[3]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.Interact, 2000296u, new Vector3(565.1482f, 66.666626f, -215.2591f), 135); - obj107.Steps = list133; - reference103 = obj107; - ref QuestSequence reference104 = ref span48[4]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.Interact, 2000297u, new Vector3(590.8141f, 72.40405f, -272.08368f), 135) - { - StopDistance = 1f, - Mount = false - }; - obj108.Steps = list134; - reference104 = obj108; - ref QuestSequence reference105 = ref span48[5]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - Span span52 = CollectionsMarshal.AsSpan(list135); - span52[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(565.94104f, 85.81174f, -322.61465f), 135) - { - Mount = false - }; - span52[1] = new QuestStep(EInteractionType.Interact, 2000298u, new Vector3(566.8268f, 85.52673f, -320.82092f), 135); - obj109.Steps = list135; - reference105 = obj109; - ref QuestSequence reference106 = ref span48[6]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2000299u, new Vector3(574.0901f, 90.440186f, -429.06842f), 135) - { - Mount = false, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj110.Steps = list136; - reference106 = obj110; - ref QuestSequence reference107 = ref span48[7]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 7 - }; - num2 = 3; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - Span span53 = CollectionsMarshal.AsSpan(list137); - ref QuestStep reference108 = ref span53[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1002689u, new Vector3(569.6345f, 86.253204f, -363.94293f), 135); - num3 = 6; - List list138 = new List(num3); - CollectionsMarshal.SetCount(list138, num3); - Span span54 = CollectionsMarshal.AsSpan(list138); - span54[0] = null; - span54[1] = null; - span54[2] = null; - span54[3] = null; - span54[4] = null; - span54[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list138; - reference108 = questStep6; - ref QuestStep reference109 = ref span53[1]; - QuestStep obj112 = new QuestStep(EInteractionType.Interact, 1002714u, new Vector3(572.5946f, 86.366455f, -365.3468f), 135) - { - StopDistance = 5f - }; - num3 = 6; - List list139 = new List(num3); - CollectionsMarshal.SetCount(list139, num3); - Span span55 = CollectionsMarshal.AsSpan(list139); - span55[0] = null; - span55[1] = null; - span55[2] = null; - span55[3] = null; - span55[4] = null; - span55[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj112.CompletionQuestVariablesFlags = list139; - reference109 = obj112; - ref QuestStep reference110 = ref span53[2]; - QuestStep obj113 = new QuestStep(EInteractionType.Interact, 1002715u, new Vector3(566.4302f, 86.2767f, -364.95007f), 135) - { - StopDistance = 5f - }; - num3 = 6; - List list140 = new List(num3); - CollectionsMarshal.SetCount(list140, num3); - Span span56 = CollectionsMarshal.AsSpan(list140); - span56[0] = null; - span56[1] = null; - span56[2] = null; - span56[3] = null; - span56[4] = null; - span56[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj113.CompletionQuestVariablesFlags = list140; - reference110 = obj113; - obj111.Steps = list137; - reference107 = obj111; - ref QuestSequence reference111 = ref span48[8]; - QuestSequence obj114 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - }, - NextQuestId = new QuestId(1049) - }; - obj114.Steps = list141; - reference111 = obj114; - questRoot12.QuestSequence = list126; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(320); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list142 = new List(num); - CollectionsMarshal.SetCount(list142, num); - CollectionsMarshal.AsSpan(list142)[0] = "liza"; - questRoot13.Author = list142; - num = 8; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - Span span57 = CollectionsMarshal.AsSpan(list143); - ref QuestSequence reference112 = ref span57[0]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001578u, new Vector3(-35.446716f, -2.057618f, -154.95538f), 141); - obj115.Steps = list144; - reference112 = obj115; - ref QuestSequence reference113 = ref span57[1]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.Interact, 1002947u, new Vector3(-95.71985f, -11.35f, -44.449524f), 141); - obj116.Steps = list145; - reference113 = obj116; - ref QuestSequence reference114 = ref span57[2]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - Span span58 = CollectionsMarshal.AsSpan(list146); - ref QuestStep reference115 = ref span58[0]; - QuestStep obj118 = new QuestStep(EInteractionType.Interact, 1002949u, new Vector3(-82.71924f, -11.350104f, -36.66742f), 141) - { - StopDistance = 2f - }; - num3 = 6; - List list147 = new List(num3); - CollectionsMarshal.SetCount(list147, num3); - Span span59 = CollectionsMarshal.AsSpan(list147); - span59[0] = null; - span59[1] = null; - span59[2] = null; - span59[3] = null; - span59[4] = null; - span59[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj118.CompletionQuestVariablesFlags = list147; - reference115 = obj118; - ref QuestStep reference116 = ref span58[1]; - QuestStep obj119 = new QuestStep(EInteractionType.Interact, 1002948u, new Vector3(-80.46088f, -12.785964f, -39.44464f), 141) - { - StopDistance = 7f - }; - num3 = 6; - List list148 = new List(num3); - CollectionsMarshal.SetCount(list148, num3); - Span span60 = CollectionsMarshal.AsSpan(list148); - span60[0] = null; - span60[1] = null; - span60[2] = null; - span60[3] = null; - span60[4] = null; - span60[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj119.CompletionQuestVariablesFlags = list148; - reference116 = obj119; - ref QuestStep reference117 = ref span58[2]; - QuestStep obj120 = new QuestStep(EInteractionType.Interact, 1002950u, new Vector3(-80.76605f, -12.819771f, -34.439636f), 141) - { - StopDistance = 7f - }; - num3 = 6; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - Span span61 = CollectionsMarshal.AsSpan(list149); - span61[0] = null; - span61[1] = null; - span61[2] = null; - span61[3] = null; - span61[4] = null; - span61[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj120.CompletionQuestVariablesFlags = list149; - reference117 = obj120; - ref QuestStep reference118 = ref span58[3]; - QuestStep obj121 = new QuestStep(EInteractionType.Interact, 1002951u, new Vector3(-80.094604f, -12.790767f, -33.463074f), 141) - { - StopDistance = 7f - }; - num3 = 6; - List list150 = new List(num3); - CollectionsMarshal.SetCount(list150, num3); - Span span62 = CollectionsMarshal.AsSpan(list150); - span62[0] = null; - span62[1] = null; - span62[2] = null; - span62[3] = null; - span62[4] = null; - span62[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj121.CompletionQuestVariablesFlags = list150; - reference118 = obj121; - obj117.Steps = list146; - reference114 = obj117; - ref QuestSequence reference119 = ref span57[3]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.Interact, 1002947u, new Vector3(-95.71985f, -11.35f, -44.449524f), 141); - obj122.Steps = list151; - reference119 = obj122; - ref QuestSequence reference120 = ref span57[4]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - Span span63 = CollectionsMarshal.AsSpan(list152); - span63[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-199.35687f, -2.8170738f, 57.860172f), 141); - span63[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-215.15814f, -30.64667f, 96.92529f), 141) - { - DisableNavmesh = true - }; - span63[2] = new QuestStep(EInteractionType.SinglePlayerDuty, 1002955u, new Vector3(-228.47339f, -30.853842f, 117.29602f), 141) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj123.Steps = list152; - reference120 = obj123; - span57[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference121 = ref span57[6]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.Interact, 1002947u, new Vector3(-95.71985f, -11.35f, -44.449524f), 141); - obj124.Steps = list153; - reference121 = obj124; - ref QuestSequence reference122 = ref span57[7]; - QuestSequence obj125 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj125.Steps = list154; - reference122 = obj125; - questRoot13.QuestSequence = list143; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(323); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list155 = new List(num); - CollectionsMarshal.SetCount(list155, num); - CollectionsMarshal.AsSpan(list155)[0] = "liza"; - questRoot14.Author = list155; - num = 3; - List list156 = new List(num); - CollectionsMarshal.SetCount(list156, num); - Span span64 = CollectionsMarshal.AsSpan(list156); - ref QuestSequence reference123 = ref span64[0]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003355u, new Vector3(-60.868286f, 18.000334f, 7.4921875f), 129); - obj126.Steps = list157; - reference123 = obj126; - ref QuestSequence reference124 = ref span64[1]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - } - }; - obj127.Steps = list158; - reference124 = obj127; - ref QuestSequence reference125 = ref span64[2]; - QuestSequence obj128 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003355u, new Vector3(-60.868286f, 18.000334f, 7.4921875f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.Limsa - } - }; - obj128.Steps = list159; - reference125 = obj128; - questRoot14.QuestSequence = list156; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(328); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list160 = new List(num); - CollectionsMarshal.SetCount(list160, num); - CollectionsMarshal.AsSpan(list160)[0] = "liza"; - questRoot15.Author = list160; - num = 2; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - Span span65 = CollectionsMarshal.AsSpan(list161); - ref QuestSequence reference126 = ref span65[0]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002065u, new Vector3(60.9292f, 45.14234f, -205.005f), 140); - obj129.Steps = list162; - reference126 = obj129; - ref QuestSequence reference127 = ref span65[1]; - QuestSequence obj130 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002061u, new Vector3(240.98572f, 58.357986f, -160.99799f), 140); - obj130.Steps = list163; - reference127 = obj130; - questRoot15.QuestSequence = list161; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(329); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list164 = new List(num); - CollectionsMarshal.SetCount(list164, num); - CollectionsMarshal.AsSpan(list164)[0] = "liza"; - questRoot16.Author = list164; - num = 3; - List list165 = new List(num); - CollectionsMarshal.SetCount(list165, num); - Span span66 = CollectionsMarshal.AsSpan(list165); - ref QuestSequence reference128 = ref span66[0]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002061u, new Vector3(240.98572f, 58.357986f, -160.99799f), 140); - obj131.Steps = list166; - reference128 = obj131; - ref QuestSequence reference129 = ref span66[1]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - ref QuestStep reference130 = ref CollectionsMarshal.AsSpan(list167)[0]; - QuestStep obj133 = new QuestStep(EInteractionType.Combat, null, new Vector3(203.66704f, 51.853172f, -150.48145f), 140) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list168 = new List(num3); - CollectionsMarshal.SetCount(list168, num3); - CollectionsMarshal.AsSpan(list168)[0] = new ComplexCombatData - { - DataId = 136u, - MinimumKillCount = 4u - }; - obj133.ComplexCombatData = list168; - reference130 = obj133; - obj132.Steps = list167; - reference129 = obj132; - ref QuestSequence reference131 = ref span66[2]; - QuestSequence obj134 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002058u, new Vector3(59.616943f, 45.157562f, -215.89996f), 140); - obj134.Steps = list169; - reference131 = obj134; - questRoot16.QuestSequence = list165; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(330); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list170 = new List(num); - CollectionsMarshal.SetCount(list170, num); - CollectionsMarshal.AsSpan(list170)[0] = "liza"; - questRoot17.Author = list170; - num = 3; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - Span span67 = CollectionsMarshal.AsSpan(list171); - ref QuestSequence reference132 = ref span67[0]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002058u, new Vector3(59.616943f, 45.157562f, -215.89996f), 140); - obj135.Steps = list172; - reference132 = obj135; - ref QuestSequence reference133 = ref span67[1]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - Span span68 = CollectionsMarshal.AsSpan(list173); - span68[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(263.7443f, 53.7287f, -12.175757f), 140); - span68[1] = new QuestStep(EInteractionType.Interact, 1001604u, new Vector3(-257.64862f, -0.28353235f, 25.223145f), 141); - obj136.Steps = list173; - reference133 = obj136; - ref QuestSequence reference134 = ref span67[2]; - QuestSequence obj137 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001605u, new Vector3(94.46863f, 0.34075314f, -272.60242f), 141) - { - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - obj137.Steps = list174; - reference134 = obj137; - questRoot17.QuestSequence = list171; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(332); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list175 = new List(num); - CollectionsMarshal.SetCount(list175, num); - CollectionsMarshal.AsSpan(list175)[0] = "liza"; - questRoot18.Author = list175; - num = 2; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - Span span69 = CollectionsMarshal.AsSpan(list176); - ref QuestSequence reference135 = ref span69[0]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001605u, new Vector3(94.46863f, 0.34075314f, -272.60242f), 141); - obj138.Steps = list177; - reference135 = obj138; - ref QuestSequence reference136 = ref span69[1]; - QuestSequence obj139 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002058u, new Vector3(59.616943f, 45.157562f, -215.89996f), 140) - { - AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon - }; - obj139.Steps = list178; - reference136 = obj139; - questRoot18.QuestSequence = list176; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(333); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list179 = new List(num); - CollectionsMarshal.SetCount(list179, num); - CollectionsMarshal.AsSpan(list179)[0] = "liza"; - questRoot19.Author = list179; - num = 2; - List list180 = new List(num); - CollectionsMarshal.SetCount(list180, num); - Span span70 = CollectionsMarshal.AsSpan(list180); - ref QuestSequence reference137 = ref span70[0]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002058u, new Vector3(59.616943f, 45.157562f, -215.89996f), 140); - obj140.Steps = list181; - reference137 = obj140; - ref QuestSequence reference138 = ref span70[1]; - QuestSequence obj141 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002066u, new Vector3(-176.95892f, 15.652092f, -270.98505f), 140); - obj141.Steps = list182; - reference138 = obj141; - questRoot19.QuestSequence = list180; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(334); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - CollectionsMarshal.AsSpan(list183)[0] = "liza"; - questRoot20.Author = list183; - num = 2; - List list184 = new List(num); - CollectionsMarshal.SetCount(list184, num); - Span span71 = CollectionsMarshal.AsSpan(list184); - ref QuestSequence reference139 = ref span71[0]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002067u, new Vector3(-178.94263f, 15.632084f, -269.9779f), 140) - { - StopDistance = 7f - }; - obj142.Steps = list185; - reference139 = obj142; - ref QuestSequence reference140 = ref span71[1]; - QuestSequence obj143 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - Span span72 = CollectionsMarshal.AsSpan(list186); - span72[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-174.73444f, 15.450659f, -266.76144f), 140); - span72[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-289.1099f, 15.249638f, -209.01831f), 140); - span72[2] = new QuestStep(EInteractionType.CompleteQuest, 1002068u, new Vector3(-284.50446f, 13.480675f, -144.9455f), 140); - obj143.Steps = list186; - reference140 = obj143; - questRoot20.QuestSequence = list184; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(336); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list187 = new List(num); - CollectionsMarshal.SetCount(list187, num); - CollectionsMarshal.AsSpan(list187)[0] = "liza"; - questRoot21.Author = list187; - num = 3; - List list188 = new List(num); - CollectionsMarshal.SetCount(list188, num); - Span span73 = CollectionsMarshal.AsSpan(list188); - ref QuestSequence reference141 = ref span73[0]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002071u, new Vector3(-324.78827f, 17.58331f, -127.61127f), 140); - obj144.Steps = list189; - reference141 = obj144; - ref QuestSequence reference142 = ref span73[1]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - Span span74 = CollectionsMarshal.AsSpan(list190); - span74[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-243.01067f, 15.438055f, -256.949f), 140); - span74[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 1003816u, new Vector3(-235.21783f, 15.910468f, -293.1411f), 140) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj145.Steps = list190; - reference142 = obj145; - ref QuestSequence reference143 = ref span73[2]; - QuestSequence obj146 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002058u, new Vector3(59.616943f, 45.157562f, -215.89996f), 140); - obj146.Steps = list191; - reference143 = obj146; - questRoot21.QuestSequence = list188; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(343); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list192 = new List(num); - CollectionsMarshal.SetCount(list192, num); - CollectionsMarshal.AsSpan(list192)[0] = "liza"; - questRoot22.Author = list192; - num = 7; - List list193 = new List(num); - CollectionsMarshal.SetCount(list193, num); - Span span75 = CollectionsMarshal.AsSpan(list193); - ref QuestSequence reference144 = ref span75[0]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005116u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj147.Steps = list194; - reference144 = obj147; - ref QuestSequence reference145 = ref span75[1]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.Interact, 1004584u, new Vector3(-360.83014f, -55.35f, 145.49475f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj148.Steps = list195; - reference145 = obj148; - ref QuestSequence reference146 = ref span75[2]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2001592u, new Vector3(-356.71014f, -10.421997f, -242.51166f), 145) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj149.Steps = list196; - reference146 = obj149; - ref QuestSequence reference147 = ref span75[3]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.Interact, 1005017u, new Vector3(-63.157104f, -25.215523f, -554.6502f), 146) - { - DisableNavmesh = true - }; - obj150.Steps = list197; - reference147 = obj150; - ref QuestSequence reference148 = ref span75[4]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - CollectionsMarshal.AsSpan(list198)[0] = new QuestStep(EInteractionType.Duty, null, null, 146) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 56u - } - }; - obj151.Steps = list198; - reference148 = obj151; - ref QuestSequence reference149 = ref span75[5]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - CollectionsMarshal.AsSpan(list199)[0] = new QuestStep(EInteractionType.Interact, 1005156u, new Vector3(-372.73218f, -57.07999f, 151.04907f), 145); - obj152.Steps = list199; - reference149 = obj152; - ref QuestSequence reference150 = ref span75[6]; - QuestSequence obj153 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - Span span76 = CollectionsMarshal.AsSpan(list200); - span76[0] = new QuestStep(EInteractionType.UseItem, null, null, 145) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span76[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span76[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span76[3] = new QuestStep(EInteractionType.CompleteQuest, 1005012u, new Vector3(22.507019f, 0.9999986f, -2.02948f), 212); - obj153.Steps = list200; - reference150 = obj153; - questRoot22.QuestSequence = list193; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(344); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list201 = new List(num); - CollectionsMarshal.SetCount(list201, num); - CollectionsMarshal.AsSpan(list201)[0] = "Cacahuetes"; - questRoot23.Author = list201; - num = 2; - List list202 = new List(num); - CollectionsMarshal.SetCount(list202, num); - Span span77 = CollectionsMarshal.AsSpan(list202); - ref QuestSequence reference151 = ref span77[0]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002279u, new Vector3(-196.8872f, 18.459997f, 59.952637f), 130); - obj154.Steps = list203; - reference151 = obj154; - ref QuestSequence reference152 = ref span77[1]; - QuestSequence obj155 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - ref QuestStep reference153 = ref CollectionsMarshal.AsSpan(list204)[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.CompleteQuest, 1001709u, new Vector3(-240.4975f, 18.7f, 85.58777f), 130); - num3 = 1; - List list205 = new List(num3); - CollectionsMarshal.SetCount(list205, num3); - CollectionsMarshal.AsSpan(list205)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSTHM011_00344_Q1_001_1") - }; - questStep7.DialogueChoices = list205; - questStep7.NextQuestId = new QuestId(351); - reference153 = questStep7; - obj155.Steps = list204; - reference152 = obj155; - questRoot23.QuestSequence = list202; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(345); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list206 = new List(num); - CollectionsMarshal.SetCount(list206, num); - CollectionsMarshal.AsSpan(list206)[0] = "liza"; - questRoot24.Author = list206; - num = 4; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - Span span78 = CollectionsMarshal.AsSpan(list207); - ref QuestSequence reference154 = ref span78[0]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002279u, new Vector3(-196.8872f, 18.459997f, 59.952637f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj156.Steps = list208; - reference154 = obj156; - ref QuestSequence reference155 = ref span78[1]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - ref QuestStep reference156 = ref CollectionsMarshal.AsSpan(list209)[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1001709u, new Vector3(-240.4975f, 18.7f, 85.58777f), 130); - num3 = 1; - List list210 = new List(num3); - CollectionsMarshal.SetCount(list210, num3); - CollectionsMarshal.AsSpan(list210)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSTHM020_00345_Q1_001_1") - }; - questStep8.DialogueChoices = list210; - questStep8.NextQuestId = new QuestId(351); - reference156 = questStep8; - obj157.Steps = list209; - reference155 = obj157; - ref QuestSequence reference157 = ref span78[2]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - Span span79 = CollectionsMarshal.AsSpan(list211); - ref QuestStep reference158 = ref span79[0]; - QuestStep obj159 = new QuestStep(EInteractionType.Combat, null, new Vector3(-71.92632f, 9.839797f, 283.98495f), 141) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahThaumaturge, - To = EAetheryteLocation.UldahGateOfNald - }, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list212 = new List(num3); - CollectionsMarshal.SetCount(list212, num3); - Span span80 = CollectionsMarshal.AsSpan(list212); - ref ComplexCombatData reference159 = ref span80[0]; - ComplexCombatData obj160 = new ComplexCombatData - { - DataId = 351u, - MinimumKillCount = 3u - }; - num4 = 6; - List list213 = new List(num4); - CollectionsMarshal.SetCount(list213, num4); - Span span81 = CollectionsMarshal.AsSpan(list213); - span81[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span81[1] = null; - span81[2] = null; - span81[3] = null; - span81[4] = null; - span81[5] = null; - obj160.CompletionQuestVariablesFlags = list213; - reference159 = obj160; - ref ComplexCombatData reference160 = ref span80[1]; - ComplexCombatData obj161 = new ComplexCombatData - { - DataId = 385u, - MinimumKillCount = 3u - }; - num4 = 6; - List list214 = new List(num4); - CollectionsMarshal.SetCount(list214, num4); - Span span82 = CollectionsMarshal.AsSpan(list214); - span82[0] = null; - span82[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span82[2] = null; - span82[3] = null; - span82[4] = null; - span82[5] = null; - obj161.CompletionQuestVariablesFlags = list214; - reference160 = obj161; - obj159.ComplexCombatData = list212; - SkipConditions skipConditions10 = new SkipConditions(); - SkipAetheryteCondition obj162 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list215 = new List(num3); - CollectionsMarshal.SetCount(list215, num3); - CollectionsMarshal.AsSpan(list215)[0] = 141; - obj162.InTerritory = list215; - skipConditions10.AetheryteShortcutIf = obj162; - obj159.SkipConditions = skipConditions10; - num3 = 6; - List list216 = new List(num3); - CollectionsMarshal.SetCount(list216, num3); - Span span83 = CollectionsMarshal.AsSpan(list216); - span83[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span83[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span83[2] = null; - span83[3] = null; - span83[4] = null; - span83[5] = null; - obj159.CompletionQuestVariablesFlags = list216; - reference158 = obj159; - ref QuestStep reference161 = ref span79[1]; - QuestStep obj163 = new QuestStep(EInteractionType.Combat, null, new Vector3(39.449f, 3.082914f, 272.46896f), 141) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list217 = new List(num3); - CollectionsMarshal.SetCount(list217, num3); - CollectionsMarshal.AsSpan(list217)[0] = new ComplexCombatData - { - DataId = 205u, - MinimumKillCount = 3u - }; - obj163.ComplexCombatData = list217; - num3 = 6; - List list218 = new List(num3); - CollectionsMarshal.SetCount(list218, num3); - Span span84 = CollectionsMarshal.AsSpan(list218); - span84[0] = null; - span84[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span84[2] = null; - span84[3] = null; - span84[4] = null; - span84[5] = null; - obj163.CompletionQuestVariablesFlags = list218; - reference161 = obj163; - obj158.Steps = list211; - reference157 = obj158; - ref QuestSequence reference162 = ref span78[3]; - QuestSequence obj164 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - CollectionsMarshal.AsSpan(list219)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001708u, new Vector3(-250.3548f, 18f, 80.88806f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - }, - NextQuestId = new QuestId(351) - }; - obj164.Steps = list219; - reference162 = obj164; - questRoot24.QuestSequence = list207; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(346); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list220 = new List(num); - CollectionsMarshal.SetCount(list220, num); - CollectionsMarshal.AsSpan(list220)[0] = "pot0to"; - questRoot25.Author = list220; - num = 3; - List list221 = new List(num); - CollectionsMarshal.SetCount(list221, num); - Span span85 = CollectionsMarshal.AsSpan(list221); - ref QuestSequence reference163 = ref span85[0]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - CollectionsMarshal.AsSpan(list222)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001708u, new Vector3(-250.3548f, 18f, 80.88806f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj165.Steps = list222; - reference163 = obj165; - ref QuestSequence reference164 = ref span85[1]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - Span span86 = CollectionsMarshal.AsSpan(list223); - ref QuestStep reference165 = ref span86[0]; - QuestStep obj167 = new QuestStep(EInteractionType.Combat, null, new Vector3(-71.92632f, 9.839797f, 283.98495f), 141) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahThaumaturge, - To = EAetheryteLocation.UldahGateOfNald - }, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list224 = new List(num3); - CollectionsMarshal.SetCount(list224, num3); - Span span87 = CollectionsMarshal.AsSpan(list224); - ref ComplexCombatData reference166 = ref span87[0]; - ComplexCombatData obj168 = new ComplexCombatData - { - DataId = 351u, - MinimumKillCount = 3u - }; - num4 = 6; - List list225 = new List(num4); - CollectionsMarshal.SetCount(list225, num4); - Span span88 = CollectionsMarshal.AsSpan(list225); - span88[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span88[1] = null; - span88[2] = null; - span88[3] = null; - span88[4] = null; - span88[5] = null; - obj168.CompletionQuestVariablesFlags = list225; - reference166 = obj168; - ref ComplexCombatData reference167 = ref span87[1]; - ComplexCombatData obj169 = new ComplexCombatData - { - DataId = 385u, - MinimumKillCount = 3u - }; - num4 = 6; - List list226 = new List(num4); - CollectionsMarshal.SetCount(list226, num4); - Span span89 = CollectionsMarshal.AsSpan(list226); - span89[0] = null; - span89[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span89[2] = null; - span89[3] = null; - span89[4] = null; - span89[5] = null; - obj169.CompletionQuestVariablesFlags = list226; - reference167 = obj169; - obj167.ComplexCombatData = list224; - SkipConditions skipConditions11 = new SkipConditions(); - SkipAetheryteCondition obj170 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list227 = new List(num3); - CollectionsMarshal.SetCount(list227, num3); - CollectionsMarshal.AsSpan(list227)[0] = 141; - obj170.InTerritory = list227; - skipConditions11.AetheryteShortcutIf = obj170; - obj167.SkipConditions = skipConditions11; - num3 = 6; - List list228 = new List(num3); - CollectionsMarshal.SetCount(list228, num3); - Span span90 = CollectionsMarshal.AsSpan(list228); - span90[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span90[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span90[2] = null; - span90[3] = null; - span90[4] = null; - span90[5] = null; - obj167.CompletionQuestVariablesFlags = list228; - reference165 = obj167; - ref QuestStep reference168 = ref span86[1]; - QuestStep obj171 = new QuestStep(EInteractionType.Combat, null, new Vector3(39.449f, 3.082914f, 272.46896f), 141) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list229 = new List(num3); - CollectionsMarshal.SetCount(list229, num3); - CollectionsMarshal.AsSpan(list229)[0] = new ComplexCombatData - { - DataId = 205u, - MinimumKillCount = 3u - }; - obj171.ComplexCombatData = list229; - num3 = 6; - List list230 = new List(num3); - CollectionsMarshal.SetCount(list230, num3); - Span span91 = CollectionsMarshal.AsSpan(list230); - span91[0] = null; - span91[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span91[2] = null; - span91[3] = null; - span91[4] = null; - span91[5] = null; - obj171.CompletionQuestVariablesFlags = list230; - reference168 = obj171; - obj166.Steps = list223; - reference164 = obj166; - ref QuestSequence reference169 = ref span85[2]; - QuestSequence obj172 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001708u, new Vector3(-250.3548f, 18f, 80.88806f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - }, - NextQuestId = new QuestId(351) - }; - obj172.Steps = list231; - reference169 = obj172; - questRoot25.QuestSequence = list221; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(347); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list232 = new List(num); - CollectionsMarshal.SetCount(list232, num); - CollectionsMarshal.AsSpan(list232)[0] = "pot0to"; - questRoot26.Author = list232; - num = 6; - List list233 = new List(num); - CollectionsMarshal.SetCount(list233, num); - Span span92 = CollectionsMarshal.AsSpan(list233); - ref QuestSequence reference170 = ref span92[0]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - CollectionsMarshal.AsSpan(list234)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001708u, new Vector3(-250.3548f, 18f, 80.88806f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj173.Steps = list234; - reference170 = obj173; - ref QuestSequence reference171 = ref span92[1]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.Interact, 1001709u, new Vector3(-240.4975f, 18.7f, 85.58777f), 130); - obj174.Steps = list235; - reference171 = obj174; - ref QuestSequence reference172 = ref span92[2]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - ref QuestStep reference173 = ref CollectionsMarshal.AsSpan(list236)[0]; - QuestStep obj176 = new QuestStep(EInteractionType.UseItem, 2001468u, new Vector3(-87.38843f, 50.614136f, 315.6023f), 140) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahThaumaturge, - To = EAetheryteLocation.UldahGateOfTheSultana - }, - ItemId = 2000414u - }; - SkipConditions skipConditions12 = new SkipConditions(); - SkipAetheryteCondition obj177 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list237 = new List(num3); - CollectionsMarshal.SetCount(list237, num3); - CollectionsMarshal.AsSpan(list237)[0] = 140; - obj177.InTerritory = list237; - skipConditions12.AetheryteShortcutIf = obj177; - obj176.SkipConditions = skipConditions12; - reference173 = obj176; - obj175.Steps = list236; - reference172 = obj175; - ref QuestSequence reference174 = ref span92[3]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - ref QuestStep reference175 = ref CollectionsMarshal.AsSpan(list238)[0]; - QuestStep obj179 = new QuestStep(EInteractionType.Combat, 2001469u, new Vector3(-74.96759f, 53.238647f, 336.78186f), 140) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list239 = new List(num3); - CollectionsMarshal.SetCount(list239, num3); - CollectionsMarshal.AsSpan(list239)[0] = 12u; - obj179.KillEnemyDataIds = list239; - reference175 = obj179; - obj178.Steps = list238; - reference174 = obj178; - ref QuestSequence reference176 = ref span92[4]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - Span span93 = CollectionsMarshal.AsSpan(list240); - span93[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-253.97243f, 33.2412f, 408.68488f), 140) - { - Fly = true - }; - span93[1] = new QuestStep(EInteractionType.Interact, 1002027u, new Vector3(-255.23767f, 33.238777f, 407.27856f), 140); - obj180.Steps = list240; - reference176 = obj180; - ref QuestSequence reference177 = ref span92[5]; - QuestSequence obj181 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001709u, new Vector3(-240.4975f, 18.7f, 85.58777f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - }, - NextQuestId = new QuestId(349) - }; - obj181.Steps = list241; - reference177 = obj181; - questRoot26.QuestSequence = list233; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(348); - QuestRoot questRoot27 = new QuestRoot(); - num = 2; - List list242 = new List(num); - CollectionsMarshal.SetCount(list242, num); - Span span94 = CollectionsMarshal.AsSpan(list242); - span94[0] = "liza"; - span94[1] = "pot0to"; - questRoot27.Author = list242; - num = 8; - List list243 = new List(num); - CollectionsMarshal.SetCount(list243, num); - Span span95 = CollectionsMarshal.AsSpan(list243); - ref QuestSequence reference178 = ref span95[0]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001708u, new Vector3(-250.3548f, 18f, 80.88806f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj182.Steps = list244; - reference178 = obj182; - ref QuestSequence reference179 = ref span95[1]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.Interact, 1001710u, new Vector3(-240.2533f, 18.8f, 86.900024f), 130); - obj183.Steps = list245; - reference179 = obj183; - ref QuestSequence reference180 = ref span95[2]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - Span span96 = CollectionsMarshal.AsSpan(list246); - ref QuestStep reference181 = ref span96[0]; - QuestStep obj185 = new QuestStep(EInteractionType.None, null, null, 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahThaumaturge, - To = EAetheryteLocation.UldahGateOfNald - } - }; - SkipConditions skipConditions13 = new SkipConditions(); - SkipAetheryteCondition obj186 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list247 = new List(num3); - CollectionsMarshal.SetCount(list247, num3); - CollectionsMarshal.AsSpan(list247)[0] = 141; - obj186.InTerritory = list247; - obj186.AetheryteUnlocked = EAetheryteLocation.CentralThanalanBlackBrushStation; - skipConditions13.AetheryteShortcutIf = obj186; - skipConditions13.AethernetShortcutIf = new SkipAetheryteCondition - { - AetheryteUnlocked = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - obj185.SkipConditions = skipConditions13; - reference181 = obj185; - span96[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-62.183617f, -3.6582246f, 145.88391f), 141) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked, - AetheryteUnlocked = EAetheryteLocation.CentralThanalanBlackBrushStation - } - } - }; - ref QuestStep reference182 = ref span96[2]; - QuestStep obj187 = new QuestStep(EInteractionType.Combat, null, new Vector3(149.07747f, -2f, -225.21188f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list248 = new List(num3); - CollectionsMarshal.SetCount(list248, num3); - ref ComplexCombatData reference183 = ref CollectionsMarshal.AsSpan(list248)[0]; - ComplexCombatData obj188 = new ComplexCombatData - { - DataId = 160u, - MinimumKillCount = 8u - }; - num4 = 6; - List list249 = new List(num4); - CollectionsMarshal.SetCount(list249, num4); - Span span97 = CollectionsMarshal.AsSpan(list249); - span97[0] = new QuestWorkValue(null, (byte)8, EQuestWorkMode.Bitwise); - span97[1] = null; - span97[2] = null; - span97[3] = null; - span97[4] = null; - span97[5] = null; - obj188.CompletionQuestVariablesFlags = list249; - reference183 = obj188; - obj187.ComplexCombatData = list248; - obj187.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - reference182 = obj187; - obj184.Steps = list246; - reference180 = obj184; - ref QuestSequence reference184 = ref span95[3]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - ref QuestStep reference185 = ref CollectionsMarshal.AsSpan(list250)[0]; - QuestStep obj190 = new QuestStep(EInteractionType.Interact, 1001710u, new Vector3(-240.2533f, 18.8f, 86.900024f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list251 = new List(num3); - CollectionsMarshal.SetCount(list251, num3); - CollectionsMarshal.AsSpan(list251)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CLSTHM100_00348_Q_000_1"), - Answer = new ExcelRef("TEXT_CLSTHM100_00348_A_000_3") - }; - obj190.DialogueChoices = list251; - reference185 = obj190; - obj189.Steps = list250; - reference184 = obj189; - ref QuestSequence reference186 = ref span95[4]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - ref QuestStep reference187 = ref CollectionsMarshal.AsSpan(list252)[0]; - QuestStep obj192 = new QuestStep(EInteractionType.Combat, 2001511u, new Vector3(-366.29285f, -34.989014f, 293.56824f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list253 = new List(num3); - CollectionsMarshal.SetCount(list253, num3); - Span span98 = CollectionsMarshal.AsSpan(list253); - span98[0] = 166u; - span98[1] = 1238u; - obj192.KillEnemyDataIds = list253; - obj192.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - reference187 = obj192; - obj191.Steps = list252; - reference186 = obj191; - ref QuestSequence reference188 = ref span95[5]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.Interact, 2001498u, new Vector3(-366.29285f, -34.989014f, 293.56824f), 145); - obj193.Steps = list254; - reference188 = obj193; - ref QuestSequence reference189 = ref span95[6]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - CollectionsMarshal.AsSpan(list255)[0] = new QuestStep(EInteractionType.Interact, 1001710u, new Vector3(-240.2533f, 18.8f, 86.900024f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - } - }; - obj194.Steps = list255; - reference189 = obj194; - ref QuestSequence reference190 = ref span95[7]; - QuestSequence obj195 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001708u, new Vector3(-250.3548f, 18f, 80.88806f), 130) - { - NextQuestId = new QuestId(350) - }; - obj195.Steps = list256; - reference190 = obj195; - questRoot27.QuestSequence = list243; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(349); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list257 = new List(num); - CollectionsMarshal.SetCount(list257, num); - CollectionsMarshal.AsSpan(list257)[0] = "pot0to"; - questRoot28.Author = list257; - num = 7; - List list258 = new List(num); - CollectionsMarshal.SetCount(list258, num); - Span span99 = CollectionsMarshal.AsSpan(list258); - ref QuestSequence reference191 = ref span99[0]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - CollectionsMarshal.AsSpan(list259)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001708u, new Vector3(-250.3548f, 18f, 80.88806f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj196.Steps = list259; - reference191 = obj196; - ref QuestSequence reference192 = ref span99[1]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.Interact, 1001710u, new Vector3(-240.2533f, 18.8f, 86.900024f), 130); - obj197.Steps = list260; - reference192 = obj197; - ref QuestSequence reference193 = ref span99[2]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - Span span100 = CollectionsMarshal.AsSpan(list261); - ref QuestStep reference194 = ref span100[0]; - QuestStep obj199 = new QuestStep(EInteractionType.None, null, null, 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahThaumaturge, - To = EAetheryteLocation.UldahGateOfNald - } - }; - SkipConditions skipConditions14 = new SkipConditions(); - SkipAetheryteCondition obj200 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list262 = new List(num3); - CollectionsMarshal.SetCount(list262, num3); - CollectionsMarshal.AsSpan(list262)[0] = 141; - obj200.InTerritory = list262; - obj200.AetheryteUnlocked = EAetheryteLocation.CentralThanalanBlackBrushStation; - skipConditions14.AetheryteShortcutIf = obj200; - skipConditions14.AethernetShortcutIf = new SkipAetheryteCondition - { - AetheryteUnlocked = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - obj199.SkipConditions = skipConditions14; - reference194 = obj199; - span100[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-62.183617f, -3.6582246f, 145.88391f), 141) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked, - AetheryteUnlocked = EAetheryteLocation.CentralThanalanBlackBrushStation - } - } - }; - ref QuestStep reference195 = ref span100[2]; - QuestStep obj201 = new QuestStep(EInteractionType.Combat, null, new Vector3(149.07747f, -2f, -225.21188f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list263 = new List(num3); - CollectionsMarshal.SetCount(list263, num3); - ref ComplexCombatData reference196 = ref CollectionsMarshal.AsSpan(list263)[0]; - ComplexCombatData obj202 = new ComplexCombatData - { - DataId = 160u, - MinimumKillCount = 8u - }; - num4 = 6; - List list264 = new List(num4); - CollectionsMarshal.SetCount(list264, num4); - Span span101 = CollectionsMarshal.AsSpan(list264); - span101[0] = new QuestWorkValue(null, (byte)8, EQuestWorkMode.Bitwise); - span101[1] = null; - span101[2] = null; - span101[3] = null; - span101[4] = null; - span101[5] = null; - obj202.CompletionQuestVariablesFlags = list264; - reference196 = obj202; - obj201.ComplexCombatData = list263; - obj201.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - reference195 = obj201; - obj198.Steps = list261; - reference193 = obj198; - ref QuestSequence reference197 = ref span99[3]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - ref QuestStep reference198 = ref CollectionsMarshal.AsSpan(list265)[0]; - QuestStep obj204 = new QuestStep(EInteractionType.Interact, 1001710u, new Vector3(-240.2533f, 18.8f, 86.900024f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list266 = new List(num3); - CollectionsMarshal.SetCount(list266, num3); - CollectionsMarshal.AsSpan(list266)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CLSTHM101_00349_Q_000_1"), - Answer = new ExcelRef("TEXT_CLSTHM101_00349_A_000_3") - }; - obj204.DialogueChoices = list266; - reference198 = obj204; - obj203.Steps = list265; - reference197 = obj203; - ref QuestSequence reference199 = ref span99[4]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - ref QuestStep reference200 = ref CollectionsMarshal.AsSpan(list267)[0]; - QuestStep obj206 = new QuestStep(EInteractionType.Combat, 2001512u, new Vector3(-366.29285f, -34.989014f, 293.56824f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list268 = new List(num3); - CollectionsMarshal.SetCount(list268, num3); - Span span102 = CollectionsMarshal.AsSpan(list268); - span102[0] = 166u; - span102[1] = 1238u; - obj206.KillEnemyDataIds = list268; - obj206.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - reference200 = obj206; - obj205.Steps = list267; - reference199 = obj205; - ref QuestSequence reference201 = ref span99[5]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - CollectionsMarshal.AsSpan(list269)[0] = new QuestStep(EInteractionType.Interact, 2001499u, new Vector3(-366.29285f, -34.989014f, 293.56824f), 145); - obj207.Steps = list269; - reference201 = obj207; - ref QuestSequence reference202 = ref span99[6]; - QuestSequence obj208 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - CollectionsMarshal.AsSpan(list270)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001710u, new Vector3(-240.2533f, 18.8f, 86.900024f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - }, - NextQuestId = new QuestId(350) - }; - obj208.Steps = list270; - reference202 = obj208; - questRoot28.QuestSequence = list258; - AddQuest(questId28, questRoot28); - } - - private static void LoadQuests7() - { - QuestId questId = new QuestId(350); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "pot0to"; - questRoot.Author = list; - num = 6; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001708u, new Vector3(-250.3548f, 18f, 80.88806f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1001711u, new Vector3(-241.62665f, 18.8f, 83.32947f), 130); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - Span span2 = CollectionsMarshal.AsSpan(list5); - span2[0] = new QuestStep(EInteractionType.Emote, 1002301u, new Vector3(-178.2102f, 18f, 61.41748f), 130) - { - Emote = EEmote.Cry - }; - span2[1] = new QuestStep(EInteractionType.Emote, 1002300u, new Vector3(-176.9284f, 18f, 62.363525f), 130) - { - Emote = EEmote.Cry - }; - span2[2] = new QuestStep(EInteractionType.Emote, 1002302u, new Vector3(-176.71478f, 18f, 64.34729f), 130) - { - Emote = EEmote.Cry - }; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Interact, 1001711u, new Vector3(-241.62665f, 18.8f, 83.32947f), 130); - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - ref QuestStep reference6 = ref CollectionsMarshal.AsSpan(list7)[0]; - QuestStep obj6 = new QuestStep(EInteractionType.SinglePlayerDuty, 2001470u, new Vector3(-24.887512f, -25.345276f, 321.94995f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions(); - int num3 = 2; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - Span span3 = CollectionsMarshal.AsSpan(list8); - span3[0] = "vbm doesn't move to the enemies automatically"; - span3[1] = "vbm doesn't interact with the urn"; - singlePlayerDutyOptions.Notes = list8; - obj6.SinglePlayerDutyOptions = singlePlayerDutyOptions; - obj6.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - reference6 = obj6; - obj5.Steps = list7; - reference5 = obj5; - ref QuestSequence reference7 = ref span[5]; - QuestSequence obj7 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - ref QuestStep reference8 = ref CollectionsMarshal.AsSpan(list9)[0]; - QuestStep obj8 = new QuestStep(EInteractionType.CompleteQuest, 1001711u, new Vector3(-241.62665f, 18.8f, 83.32947f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - } - }; - num3 = 1; - List list10 = new List(num3); - CollectionsMarshal.SetCount(list10, num3); - CollectionsMarshal.AsSpan(list10)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CLSTHM150_00350_Q1_000_1"), - Answer = new ExcelRef("TEXT_CLSTHM150_00350_A1_000_1") - }; - obj8.DialogueChoices = list10; - obj8.NextQuestId = new QuestId(352); - reference8 = obj8; - obj7.Steps = list9; - reference7 = obj7; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(351); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list11 = new List(num); - CollectionsMarshal.SetCount(list11, num); - CollectionsMarshal.AsSpan(list11)[0] = "pot0to"; - questRoot2.Author = list11; - questRoot2.Comment = "TODO Fix pathing if flying is locked"; - num = 10; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - Span span4 = CollectionsMarshal.AsSpan(list12); - ref QuestSequence reference9 = ref span4[0]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - ref QuestStep reference10 = ref CollectionsMarshal.AsSpan(list13)[0]; - QuestStep obj10 = new QuestStep(EInteractionType.AcceptQuest, 1001708u, new Vector3(-250.3548f, 18f, 80.88806f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition obj11 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - CollectionsMarshal.AsSpan(list14)[0] = 130; - obj11.InTerritory = list14; - skipConditions.AetheryteShortcutIf = obj11; - obj10.SkipConditions = skipConditions; - reference10 = obj10; - obj9.Steps = list13; - reference9 = obj9; - ref QuestSequence reference11 = ref span4[1]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.Interact, 1001712u, new Vector3(-241.50458f, 19.57727f, 84.64172f), 130); - obj12.Steps = list15; - reference11 = obj12; - ref QuestSequence reference12 = ref span4[2]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - ref QuestStep reference13 = ref CollectionsMarshal.AsSpan(list16)[0]; - QuestStep obj14 = new QuestStep(EInteractionType.Interact, 1002305u, new Vector3(14.419739f, 22.157166f, 72.3125f), 140) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition obj15 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list17 = new List(num3); - CollectionsMarshal.SetCount(list17, num3); - CollectionsMarshal.AsSpan(list17)[0] = 140; - obj15.InTerritory = list17; - skipConditions2.AetheryteShortcutIf = obj15; - obj14.SkipConditions = skipConditions2; - reference13 = obj14; - obj13.Steps = list16; - reference12 = obj13; - ref QuestSequence reference14 = ref span4[3]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - Span span5 = CollectionsMarshal.AsSpan(list18); - span5[0] = new QuestStep(EInteractionType.Interact, 1002324u, new Vector3(112.80994f, 17.536886f, 31.296265f), 140) - { - Fly = true - }; - span5[1] = new QuestStep(EInteractionType.Interact, 1002322u, new Vector3(116.89929f, 17.536886f, 12.954895f), 140); - span5[2] = new QuestStep(EInteractionType.Interact, 1002323u, new Vector3(132.43298f, 21.104982f, 9.018005f), 140); - obj16.Steps = list18; - reference14 = obj16; - ref QuestSequence reference15 = ref span4[4]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.Interact, 1002305u, new Vector3(14.419739f, 22.157166f, 72.3125f), 140) - { - Fly = true - }; - obj17.Steps = list19; - reference15 = obj17; - ref QuestSequence reference16 = ref span4[5]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - ref QuestStep reference17 = ref CollectionsMarshal.AsSpan(list20)[0]; - QuestStep obj19 = new QuestStep(EInteractionType.SinglePlayerDuty, 2001472u, new Vector3(150.71338f, 18.783813f, -5.7526855f), 140) - { - Fly = true - }; - SinglePlayerDutyOptions singlePlayerDutyOptions2 = new SinglePlayerDutyOptions(); - num3 = 1; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - CollectionsMarshal.AsSpan(list21)[0] = "Duty somewhat expects you to put the boss to sleep, vbm doesn't and lets the friendly NPC die"; - singlePlayerDutyOptions2.Notes = list21; - obj19.SinglePlayerDutyOptions = singlePlayerDutyOptions2; - reference17 = obj19; - obj18.Steps = list20; - reference16 = obj18; - ref QuestSequence reference18 = ref span4[6]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.Interact, 1002305u, new Vector3(14.419739f, 22.157166f, 72.3125f), 140) - { - Fly = true - }; - obj20.Steps = list22; - reference18 = obj20; - ref QuestSequence reference19 = ref span4[7]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.Interact, 2001474u, new Vector3(96.238525f, 16.952698f, 188.83032f), 140) - { - Fly = true - }; - obj21.Steps = list23; - reference19 = obj21; - ref QuestSequence reference20 = ref span4[8]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - ref QuestStep reference21 = ref CollectionsMarshal.AsSpan(list24)[0]; - QuestStep obj23 = new QuestStep(EInteractionType.Interact, 1001712u, new Vector3(-241.50458f, 19.57727f, 84.64172f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition obj24 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - CollectionsMarshal.AsSpan(list25)[0] = 130; - obj24.InTerritory = list25; - skipConditions3.AetheryteShortcutIf = obj24; - obj23.SkipConditions = skipConditions3; - reference21 = obj23; - obj22.Steps = list24; - reference20 = obj22; - ref QuestSequence reference22 = ref span4[9]; - QuestSequence obj25 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001708u, new Vector3(-250.3548f, 18f, 80.88806f), 130) - { - NextQuestId = new QuestId(352) - }; - obj25.Steps = list26; - reference22 = obj25; - questRoot2.QuestSequence = list12; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(352); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - CollectionsMarshal.AsSpan(list27)[0] = "pot0to"; - questRoot3.Author = list27; - num = 7; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - Span span6 = CollectionsMarshal.AsSpan(list28); - ref QuestSequence reference23 = ref span6[0]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - ref QuestStep reference24 = ref CollectionsMarshal.AsSpan(list29)[0]; - QuestStep obj27 = new QuestStep(EInteractionType.AcceptQuest, 1001709u, new Vector3(-240.4975f, 18.7f, 85.58777f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - } - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition obj28 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - CollectionsMarshal.AsSpan(list30)[0] = 130; - obj28.InTerritory = list30; - skipConditions4.AetheryteShortcutIf = obj28; - obj27.SkipConditions = skipConditions4; - reference24 = obj27; - obj26.Steps = list29; - reference23 = obj26; - ref QuestSequence reference25 = ref span6[1]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.Interact, 1001708u, new Vector3(-250.3548f, 18f, 80.88806f), 130); - obj29.Steps = list31; - reference25 = obj29; - ref QuestSequence reference26 = ref span6[2]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - Span span7 = CollectionsMarshal.AsSpan(list32); - ref QuestStep reference27 = ref span7[0]; - QuestStep obj31 = new QuestStep(EInteractionType.Interact, 1002309u, new Vector3(-374.28857f, -57.079987f, 144.12134f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipAetheryteCondition obj32 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - CollectionsMarshal.AsSpan(list33)[0] = 145; - obj32.InTerritory = list33; - skipConditions5.AetheryteShortcutIf = obj32; - obj31.SkipConditions = skipConditions5; - reference27 = obj31; - span7[1] = new QuestStep(EInteractionType.Interact, 1002308u, new Vector3(-386.7094f, -59.300003f, 166.39954f), 145); - span7[2] = new QuestStep(EInteractionType.Interact, 1002307u, new Vector3(-396.65833f, -48.15f, 99.68713f), 145); - obj30.Steps = list32; - reference26 = obj30; - ref QuestSequence reference28 = ref span6[3]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - ref QuestStep reference29 = ref CollectionsMarshal.AsSpan(list34)[0]; - QuestStep obj34 = new QuestStep(EInteractionType.Interact, 1001708u, new Vector3(-250.3548f, 18f, 80.88806f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - } - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipAetheryteCondition obj35 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - CollectionsMarshal.AsSpan(list35)[0] = 130; - obj35.InTerritory = list35; - skipConditions6.AetheryteShortcutIf = obj35; - obj34.SkipConditions = skipConditions6; - reference29 = obj34; - obj33.Steps = list34; - reference28 = obj33; - ref QuestSequence reference30 = ref span6[4]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.Interact, 1001709u, new Vector3(-240.4975f, 18.7f, 85.58777f), 130); - obj36.Steps = list36; - reference30 = obj36; - ref QuestSequence reference31 = ref span6[5]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - Span span8 = CollectionsMarshal.AsSpan(list37); - ref QuestStep reference32 = ref span8[0]; - QuestStep obj38 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(222.64497f, 5.099169f, -265.77835f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipAetheryteCondition obj39 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - CollectionsMarshal.AsSpan(list38)[0] = 145; - obj39.InTerritory = list38; - skipConditions7.AetheryteShortcutIf = obj39; - obj38.SkipConditions = skipConditions7; - reference32 = obj38; - span8[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 1002310u, new Vector3(184.89343f, 3.1809213f, -338.64355f), 145); - obj37.Steps = list37; - reference31 = obj37; - ref QuestSequence reference33 = ref span6[6]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - ref QuestStep reference34 = ref CollectionsMarshal.AsSpan(list39)[0]; - QuestStep obj41 = new QuestStep(EInteractionType.CompleteQuest, 1001708u, new Vector3(-250.3548f, 18f, 80.88806f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - } - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipAetheryteCondition obj42 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - CollectionsMarshal.AsSpan(list40)[0] = 130; - obj42.InTerritory = list40; - skipConditions8.AetheryteShortcutIf = obj42; - obj41.SkipConditions = skipConditions8; - obj41.NextQuestId = new QuestId(353); - reference34 = obj41; - obj40.Steps = list39; - reference33 = obj40; - questRoot3.QuestSequence = list28; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(353); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - CollectionsMarshal.AsSpan(list41)[0] = "pot0to"; - questRoot4.Author = list41; - num = 7; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - Span span9 = CollectionsMarshal.AsSpan(list42); - ref QuestSequence reference35 = ref span9[0]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - ref QuestStep reference36 = ref CollectionsMarshal.AsSpan(list43)[0]; - QuestStep obj44 = new QuestStep(EInteractionType.AcceptQuest, 1001708u, new Vector3(-250.3548f, 18f, 80.88806f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - } - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipAetheryteCondition obj45 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - CollectionsMarshal.AsSpan(list44)[0] = 130; - obj45.InTerritory = list44; - skipConditions9.AetheryteShortcutIf = obj45; - obj44.SkipConditions = skipConditions9; - reference36 = obj44; - obj43.Steps = list43; - reference35 = obj43; - ref QuestSequence reference37 = ref span9[1]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - Span span10 = CollectionsMarshal.AsSpan(list45); - ref QuestStep reference38 = ref span10[0]; - QuestStep obj47 = new QuestStep(EInteractionType.UseItem, null, null, 145) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - CollectionsMarshal.AsSpan(list46)[0] = 140; - skipStepConditions.InTerritory = list46; - skipConditions10.StepIf = skipStepConditions; - obj47.SkipConditions = skipConditions10; - reference38 = obj47; - span10[1] = new QuestStep(EInteractionType.Interact, 1004070u, new Vector3(-455.86328f, 23.11398f, -326.92456f), 140); - span10[2] = new QuestStep(EInteractionType.Interact, 1004096u, new Vector3(-444.75476f, 25f, -324.26947f), 140); - span10[3] = new QuestStep(EInteractionType.Interact, 1004094u, new Vector3(-413.47375f, 23.113977f, -383.71863f), 140); - obj46.Steps = list45; - reference37 = obj46; - ref QuestSequence reference39 = ref span9[2]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Interact, 1002316u, new Vector3(-436.72852f, 23.774809f, -350.8202f), 140); - obj48.Steps = list47; - reference39 = obj48; - ref QuestSequence reference40 = ref span9[3]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - ref QuestStep reference41 = ref CollectionsMarshal.AsSpan(list48)[0]; - QuestStep obj50 = new QuestStep(EInteractionType.Combat, 1002315u, new Vector3(-392.32477f, 23.557693f, -546.9902f), 140) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - CollectionsMarshal.AsSpan(list49)[0] = 1239u; - obj50.KillEnemyDataIds = list49; - reference41 = obj50; - obj49.Steps = list48; - reference40 = obj49; - ref QuestSequence reference42 = ref span9[4]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.Interact, 1002315u, new Vector3(-392.32477f, 23.557693f, -546.9902f), 140); - obj51.Steps = list50; - reference42 = obj51; - ref QuestSequence reference43 = ref span9[5]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - ref QuestStep reference44 = ref CollectionsMarshal.AsSpan(list51)[0]; - QuestStep obj53 = new QuestStep(EInteractionType.SinglePlayerDuty, 1002317u, new Vector3(-269.85577f, 15.346575f, -718.1354f), 140) - { - Fly = true - }; - num3 = 1; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - CollectionsMarshal.AsSpan(list52)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CLSTHM300_00353_Q_000_1"), - Answer = new ExcelRef("TEXT_CLSTHM300_00353_A_000_2") - }; - obj53.DialogueChoices = list52; - reference44 = obj53; - obj52.Steps = list51; - reference43 = obj52; - ref QuestSequence reference45 = ref span9[6]; - QuestSequence obj54 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - ref QuestStep reference46 = ref CollectionsMarshal.AsSpan(list53)[0]; - QuestStep obj55 = new QuestStep(EInteractionType.CompleteQuest, 1001708u, new Vector3(-250.3548f, 18f, 80.88806f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - } - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipAetheryteCondition obj56 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - CollectionsMarshal.AsSpan(list54)[0] = 130; - obj56.InTerritory = list54; - skipConditions11.AetheryteShortcutIf = obj56; - obj55.SkipConditions = skipConditions11; - reference46 = obj55; - obj54.Steps = list53; - reference45 = obj54; - questRoot4.QuestSequence = list42; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(357); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - CollectionsMarshal.AsSpan(list55)[0] = "liza"; - questRoot5.Author = list55; - num = 7; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - Span span11 = CollectionsMarshal.AsSpan(list56); - ref QuestSequence reference47 = ref span11[0]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010809u, new Vector3(73.10596f, 33.06655f, -704.4022f), 156); - obj57.Steps = list57; - reference47 = obj57; - ref QuestSequence reference48 = ref span11[1]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.Interact, 1010809u, new Vector3(73.10596f, 33.06655f, -704.4022f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj58.Steps = list58; - reference48 = obj58; - ref QuestSequence reference49 = ref span11[2]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - Span span12 = CollectionsMarshal.AsSpan(list59); - ref QuestStep reference50 = ref span12[0]; - QuestStep obj60 = new QuestStep(EInteractionType.Duty, null, null, 156) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 13u - } - }; - num3 = 6; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - Span span13 = CollectionsMarshal.AsSpan(list60); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj60.CompletionQuestVariablesFlags = list60; - reference50 = obj60; - ref QuestStep reference51 = ref span12[1]; - QuestStep obj61 = new QuestStep(EInteractionType.Duty, null, null, 156) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 20u - } - }; - num3 = 6; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - Span span14 = CollectionsMarshal.AsSpan(list61); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj61.CompletionQuestVariablesFlags = list61; - reference51 = obj61; - obj59.Steps = list59; - reference49 = obj59; - ref QuestSequence reference52 = ref span11[3]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.Interact, 1010809u, new Vector3(73.10596f, 33.06655f, -704.4022f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj62.Steps = list62; - reference52 = obj62; - ref QuestSequence reference53 = ref span11[4]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - Span span15 = CollectionsMarshal.AsSpan(list63); - ref QuestStep reference54 = ref span15[0]; - QuestStep obj64 = new QuestStep(EInteractionType.Duty, null, null, 156) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 21u - } - }; - num3 = 6; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - Span span16 = CollectionsMarshal.AsSpan(list64); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj64.CompletionQuestVariablesFlags = list64; - reference54 = obj64; - ref QuestStep reference55 = ref span15[1]; - QuestStep obj65 = new QuestStep(EInteractionType.Duty, null, null, 156) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 27u - } - }; - num3 = 6; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - Span span17 = CollectionsMarshal.AsSpan(list65); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj65.CompletionQuestVariablesFlags = list65; - reference55 = obj65; - obj63.Steps = list63; - reference53 = obj63; - ref QuestSequence reference56 = ref span11[5]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.Interact, 1010809u, new Vector3(73.10596f, 33.06655f, -704.4022f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj66.Steps = list66; - reference56 = obj66; - ref QuestSequence reference57 = ref span11[6]; - QuestSequence obj67 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.CompleteQuest, 1010809u, new Vector3(73.10596f, 33.06655f, -704.4022f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj67.Steps = list67; - reference57 = obj67; - questRoot5.QuestSequence = list56; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(358); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - CollectionsMarshal.AsSpan(list68)[0] = "liza"; - questRoot6.Author = list68; - num = 8; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - Span span18 = CollectionsMarshal.AsSpan(list69); - ref QuestSequence reference58 = ref span18[0]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - Span span19 = CollectionsMarshal.AsSpan(list70); - span19[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(24.830208f, 28.999964f, -730.27045f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span19[1] = new QuestStep(EInteractionType.AcceptQuest, 1006971u, new Vector3(24.307495f, 29.021706f, -726.8635f), 156) - { - StopDistance = 5f - }; - obj68.Steps = list70; - reference58 = obj68; - ref QuestSequence reference59 = ref span18[1]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - Span span20 = CollectionsMarshal.AsSpan(list71); - span20[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(24.830208f, 28.999964f, -730.27045f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span20[1] = new QuestStep(EInteractionType.Interact, 1006971u, new Vector3(24.307495f, 29.021706f, -726.8635f), 156) - { - StopDistance = 5f - }; - obj69.Steps = list71; - reference59 = obj69; - ref QuestSequence reference60 = ref span18[2]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - Span span21 = CollectionsMarshal.AsSpan(list72); - ref QuestStep reference61 = ref span21[0]; - QuestStep obj71 = new QuestStep(EInteractionType.Duty, null, null, 156) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 5u - } - }; - num3 = 6; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - Span span22 = CollectionsMarshal.AsSpan(list73); - span22[0] = null; - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj71.CompletionQuestVariablesFlags = list73; - reference61 = obj71; - ref QuestStep reference62 = ref span21[1]; - QuestStep obj72 = new QuestStep(EInteractionType.Duty, null, null, 156) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 19u - } - }; - num3 = 6; - List list74 = new List(num3); - CollectionsMarshal.SetCount(list74, num3); - Span span23 = CollectionsMarshal.AsSpan(list74); - span23[0] = null; - span23[1] = null; - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj72.CompletionQuestVariablesFlags = list74; - reference62 = obj72; - obj70.Steps = list72; - reference60 = obj70; - ref QuestSequence reference63 = ref span18[3]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - Span span24 = CollectionsMarshal.AsSpan(list75); - span24[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(24.830208f, 28.999964f, -730.27045f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span24[1] = new QuestStep(EInteractionType.Interact, 1006971u, new Vector3(24.307495f, 29.021706f, -726.8635f), 156) - { - StopDistance = 5f - }; - obj73.Steps = list75; - reference63 = obj73; - ref QuestSequence reference64 = ref span18[4]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - Span span25 = CollectionsMarshal.AsSpan(list76); - ref QuestStep reference65 = ref span25[0]; - QuestStep obj75 = new QuestStep(EInteractionType.Duty, null, null, 156) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 22u - } - }; - num3 = 6; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - Span span26 = CollectionsMarshal.AsSpan(list77); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj75.CompletionQuestVariablesFlags = list77; - reference65 = obj75; - ref QuestStep reference66 = ref span25[1]; - QuestStep obj76 = new QuestStep(EInteractionType.Duty, null, null, 156) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 28u - } - }; - num3 = 6; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - Span span27 = CollectionsMarshal.AsSpan(list78); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj76.CompletionQuestVariablesFlags = list78; - reference66 = obj76; - obj74.Steps = list76; - reference64 = obj74; - ref QuestSequence reference67 = ref span18[5]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - Span span28 = CollectionsMarshal.AsSpan(list79); - span28[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(24.830208f, 28.999964f, -730.27045f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span28[1] = new QuestStep(EInteractionType.Interact, 1006971u, new Vector3(24.307495f, 29.021706f, -726.8635f), 156) - { - StopDistance = 5f - }; - obj77.Steps = list79; - reference67 = obj77; - ref QuestSequence reference68 = ref span18[6]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - Span span29 = CollectionsMarshal.AsSpan(list80); - span29[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(24.830208f, 28.999964f, -730.27045f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span29[1] = new QuestStep(EInteractionType.Interact, 1006971u, new Vector3(24.307495f, 29.021706f, -726.8635f), 156) - { - StopDistance = 5f - }; - obj78.Steps = list80; - reference68 = obj78; - ref QuestSequence reference69 = ref span18[7]; - QuestSequence obj79 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - Span span30 = CollectionsMarshal.AsSpan(list81); - span30[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(24.830208f, 28.999964f, -730.27045f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span30[1] = new QuestStep(EInteractionType.CompleteQuest, 1006971u, new Vector3(24.307495f, 29.021706f, -726.8635f), 156) - { - StopDistance = 5f - }; - obj79.Steps = list81; - reference69 = obj79; - questRoot6.QuestSequence = list69; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(359); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - CollectionsMarshal.AsSpan(list82)[0] = "liza"; - questRoot7.Author = list82; - num = 11; - List list83 = new List(num); - CollectionsMarshal.SetCount(list83, num); - Span span31 = CollectionsMarshal.AsSpan(list83); - ref QuestSequence reference70 = ref span31[0]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010810u, new Vector3(109.4834f, 31f, -388.8457f), 141); - obj80.Steps = list84; - reference70 = obj80; - ref QuestSequence reference71 = ref span31[1]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.Duty, null, null, 141) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 10u - } - }; - obj81.Steps = list85; - reference71 = obj81; - ref QuestSequence reference72 = ref span31[2]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.Interact, 1010810u, new Vector3(109.4834f, 31f, -388.8457f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj82.Steps = list86; - reference72 = obj82; - ref QuestSequence reference73 = ref span31[3]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.Duty, null, null, 141) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 18u - } - }; - obj83.Steps = list87; - reference73 = obj83; - ref QuestSequence reference74 = ref span31[4]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 1010810u, new Vector3(109.4834f, 31f, -388.8457f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj84.Steps = list88; - reference74 = obj84; - ref QuestSequence reference75 = ref span31[5]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Duty, null, null, 141) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 23u - } - }; - obj85.Steps = list89; - reference75 = obj85; - ref QuestSequence reference76 = ref span31[6]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.Interact, 1010810u, new Vector3(109.4834f, 31f, -388.8457f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj86.Steps = list90; - reference76 = obj86; - ref QuestSequence reference77 = ref span31[7]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.Duty, null, null, 141) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 26u - } - }; - obj87.Steps = list91; - reference77 = obj87; - ref QuestSequence reference78 = ref span31[8]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.Interact, 1010810u, new Vector3(109.4834f, 31f, -388.8457f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj88.Steps = list92; - reference78 = obj88; - ref QuestSequence reference79 = ref span31[9]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.Interact, 1010810u, new Vector3(109.4834f, 31f, -388.8457f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj89.Steps = list93; - reference79 = obj89; - ref QuestSequence reference80 = ref span31[10]; - QuestSequence obj90 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.CompleteQuest, 1010810u, new Vector3(109.4834f, 31f, -388.8457f), 141) - { - Fly = true, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj90.Steps = list94; - reference80 = obj90; - questRoot7.QuestSequence = list83; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(360); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list95 = new List(num); - CollectionsMarshal.SetCount(list95, num); - CollectionsMarshal.AsSpan(list95)[0] = "liza"; - questRoot8.Author = list95; - num = 8; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - Span span32 = CollectionsMarshal.AsSpan(list96); - ref QuestSequence reference81 = ref span32[0]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006981u, new Vector3(25.711426f, 28.999966f, -738.21625f), 156); - obj91.Steps = list97; - reference81 = obj91; - ref QuestSequence reference82 = ref span32[1]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.Interact, 1006981u, new Vector3(25.711426f, 28.999966f, -738.21625f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj92.Steps = list98; - reference82 = obj92; - ref QuestSequence reference83 = ref span32[2]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 1010811u, new Vector3(645.2583f, 5.6312623f, 551.59827f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaSwiftperch, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj93.Steps = list99; - reference83 = obj93; - ref QuestSequence reference84 = ref span32[3]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - Span span33 = CollectionsMarshal.AsSpan(list100); - ref QuestStep reference85 = ref span33[0]; - QuestStep obj95 = new QuestStep(EInteractionType.Duty, null, null, 156) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 14u - } - }; - num3 = 6; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - Span span34 = CollectionsMarshal.AsSpan(list101); - span34[0] = null; - span34[1] = null; - span34[2] = null; - span34[3] = null; - span34[4] = null; - span34[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj95.CompletionQuestVariablesFlags = list101; - reference85 = obj95; - ref QuestStep reference86 = ref span33[1]; - QuestStep obj96 = new QuestStep(EInteractionType.Duty, null, null, 156) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 17u - } - }; - num3 = 6; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - Span span35 = CollectionsMarshal.AsSpan(list102); - span35[0] = null; - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj96.CompletionQuestVariablesFlags = list102; - reference86 = obj96; - ref QuestStep reference87 = ref span33[2]; - QuestStep obj97 = new QuestStep(EInteractionType.Duty, null, null, 156) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 24u - } - }; - num3 = 6; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - Span span36 = CollectionsMarshal.AsSpan(list103); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj97.CompletionQuestVariablesFlags = list103; - reference87 = obj97; - obj94.Steps = list100; - reference84 = obj94; - ref QuestSequence reference88 = ref span32[4]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.Interact, 1010811u, new Vector3(645.2583f, 5.6312623f, 551.59827f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaSwiftperch, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj98.Steps = list104; - reference88 = obj98; - ref QuestSequence reference89 = ref span32[5]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Duty, null, null, 156) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 25u - } - }; - obj99.Steps = list105; - reference89 = obj99; - ref QuestSequence reference90 = ref span32[6]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.Interact, 1010811u, new Vector3(645.2583f, 5.6312623f, 551.59827f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaSwiftperch, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj100.Steps = list106; - reference90 = obj100; - ref QuestSequence reference91 = ref span32[7]; - QuestSequence obj101 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006981u, new Vector3(25.711426f, 28.999966f, -738.21625f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj101.Steps = list107; - reference91 = obj101; - questRoot8.QuestSequence = list96; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(362); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - CollectionsMarshal.AsSpan(list108)[0] = "liza"; - questRoot9.Author = list108; - num = 9; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - Span span37 = CollectionsMarshal.AsSpan(list109); - ref QuestSequence reference92 = ref span37[0]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj102.Steps = list110; - reference92 = obj102; - ref QuestSequence reference93 = ref span37[1]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - Span span38 = CollectionsMarshal.AsSpan(list111); - span38[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-139.04318f, 8.522301f, 280.0128f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil - }; - span38[1] = new QuestStep(EInteractionType.Interact, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153); - obj103.Steps = list111; - reference93 = obj103; - ref QuestSequence reference94 = ref span37[2]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.Emote, 1010813u, new Vector3(218.92114f, 10.293846f, -75.12018f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - Emote = EEmote.Rally - }; - obj104.Steps = list112; - reference94 = obj104; - ref QuestSequence reference95 = ref span37[3]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.Emote, 1010814u, new Vector3(-47.837036f, 3.0947418f, -44.663208f), 153) - { - Fly = true, - Emote = EEmote.Cheer - }; - obj105.Steps = list113; - reference95 = obj105; - ref QuestSequence reference96 = ref span37[4]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - Span span39 = CollectionsMarshal.AsSpan(list114); - span39[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-166.19086f, 8.399985f, -64.10584f), 153) - { - Fly = true - }; - ref QuestStep reference97 = ref span39[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1010815u, new Vector3(-168.26129f, 9.869229f, -79.54535f), 153); - num3 = 1; - List list115 = new List(num3); - CollectionsMarshal.SetCount(list115, num3); - CollectionsMarshal.AsSpan(list115)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_SUBPST030_00362_Q1_000_000"), - Answer = new ExcelRef("TEXT_SUBPST030_00362_A1_000_001") - }; - questStep.DialogueChoices = list115; - reference97 = questStep; - obj106.Steps = list114; - reference96 = obj106; - ref QuestSequence reference98 = ref span37[5]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.Interact, 1010816u, new Vector3(22.079773f, -19.000006f, 106.1875f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAirship - } - }; - obj107.Steps = list116; - reference98 = obj107; - ref QuestSequence reference99 = ref span37[6]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - Span span40 = CollectionsMarshal.AsSpan(list117); - span40[0] = new QuestStep(EInteractionType.Interact, 1000106u, new Vector3(29.007324f, -19.000002f, 105.485596f), 132) - { - TargetTerritoryId = (ushort)128 - }; - span40[1] = new QuestStep(EInteractionType.Interact, 1010818u, new Vector3(-13.01593f, 91.5f, -18.234558f), 128); - obj108.Steps = list117; - reference99 = obj108; - ref QuestSequence reference100 = ref span37[7]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - Span span41 = CollectionsMarshal.AsSpan(list118); - span41[0] = new QuestStep(EInteractionType.Interact, 1003583u, new Vector3(-7.248047f, 91.49999f, -16.128845f), 128) - { - StopDistance = 7f, - TargetTerritoryId = (ushort)128 - }; - ref QuestStep reference101 = ref span41[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1010819u, new Vector3(17.013733f, 40.216007f, -3.8605957f), 128); - num3 = 1; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - CollectionsMarshal.AsSpan(list119)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_SUBPST030_00362_Q2_000_000"), - Answer = new ExcelRef("TEXT_SUBPST030_00362_A2_000_001") - }; - questStep2.DialogueChoices = list119; - reference101 = questStep2; - obj109.Steps = list118; - reference100 = obj109; - ref QuestSequence reference102 = ref span37[8]; - QuestSequence obj110 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.CompleteQuest, 1010822u, new Vector3(-209.88788f, 54.829185f, -196.03265f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - obj110.Steps = list120; - reference102 = obj110; - questRoot9.QuestSequence = list109; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(363); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list121 = new List(num); - CollectionsMarshal.SetCount(list121, num); - CollectionsMarshal.AsSpan(list121)[0] = "JerryWester"; - questRoot10.Author = list121; - num = 3; - List list122 = new List(num); - CollectionsMarshal.SetCount(list122, num); - Span span42 = CollectionsMarshal.AsSpan(list122); - ref QuestSequence reference103 = ref span42[0]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - Span span43 = CollectionsMarshal.AsSpan(list123); - ref QuestStep reference104 = ref span43[0]; - QuestStep obj112 = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - SkipConditions skipConditions12 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list124 = new List(num3); - CollectionsMarshal.SetCount(list124, num3); - CollectionsMarshal.AsSpan(list124)[0] = 351; - skipStepConditions2.InTerritory = list124; - skipConditions12.StepIf = skipStepConditions2; - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list125 = new List(num3); - CollectionsMarshal.SetCount(list125, num3); - CollectionsMarshal.AsSpan(list125)[0] = 351; - skipAetheryteCondition.InTerritory = list125; - skipConditions12.AetheryteShortcutIf = skipAetheryteCondition; - obj112.SkipConditions = skipConditions12; - reference104 = obj112; - span43[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.RisingStonesSolar - } - } - }; - span43[2] = new QuestStep(EInteractionType.AcceptQuest, 1008969u, new Vector3(0.99176025f, -1.9957249f, -45.700806f), 351); - obj111.Steps = list123; - reference103 = obj111; - ref QuestSequence reference105 = ref span42[1]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - Span span44 = CollectionsMarshal.AsSpan(list126); - span44[0] = new QuestStep(EInteractionType.Interact, 2002880u, new Vector3(-0.015319824f, -1.0223389f, -29.251587f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span44[1] = new QuestStep(EInteractionType.Interact, 1010844u, new Vector3(3.0670166f, 0.009977885f, -4.287842f), 351); - obj113.Steps = list126; - reference105 = obj113; - ref QuestSequence reference106 = ref span42[2]; - QuestSequence obj114 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.CompleteQuest, 1010845u, new Vector3(-17.227417f, -10.015114f, -18.509216f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj114.Steps = list127; - reference106 = obj114; - questRoot10.QuestSequence = list122; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(364); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - CollectionsMarshal.AsSpan(list128)[0] = "JerryWester"; - questRoot11.Author = list128; - num = 5; - List list129 = new List(num); - CollectionsMarshal.SetCount(list129, num); - Span span45 = CollectionsMarshal.AsSpan(list129); - ref QuestSequence reference107 = ref span45[0]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010845u, new Vector3(-17.227417f, -10.015114f, -18.509216f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj115.Steps = list130; - reference107 = obj115; - ref QuestSequence reference108 = ref span45[1]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.Interact, 1010846u, new Vector3(349.08057f, 23.131361f, 103.80713f), 145) - { - Fly = true - }; - obj116.Steps = list131; - reference108 = obj116; - ref QuestSequence reference109 = ref span45[2]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - ref QuestStep reference110 = ref CollectionsMarshal.AsSpan(list132)[0]; - QuestStep obj118 = new QuestStep(EInteractionType.Combat, 1010847u, new Vector3(333.6079f, -11.123097f, 141.55786f), 145) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 4; - List list133 = new List(num3); - CollectionsMarshal.SetCount(list133, num3); - Span span46 = CollectionsMarshal.AsSpan(list133); - span46[0] = 363u; - span46[1] = 372u; - span46[2] = 364u; - span46[3] = 2844u; - obj118.KillEnemyDataIds = list133; - reference110 = obj118; - obj117.Steps = list132; - reference109 = obj117; - ref QuestSequence reference111 = ref span45[3]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.Interact, 2005112u, new Vector3(199.6947f, -14.725037f, 162.46277f), 145) - { - Fly = true - }; - obj119.Steps = list134; - reference111 = obj119; - ref QuestSequence reference112 = ref span45[4]; - QuestSequence obj120 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.CompleteQuest, 1010849u, new Vector3(192.401f, -27.487204f, 199.32861f), 145); - obj120.Steps = list135; - reference112 = obj120; - questRoot11.QuestSequence = list129; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(365); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list136 = new List(num); - CollectionsMarshal.SetCount(list136, num); - CollectionsMarshal.AsSpan(list136)[0] = "JerryWester"; - questRoot12.Author = list136; - num = 5; - List list137 = new List(num); - CollectionsMarshal.SetCount(list137, num); - Span span47 = CollectionsMarshal.AsSpan(list137); - ref QuestSequence reference113 = ref span47[0]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010849u, new Vector3(192.401f, -27.487204f, 199.32861f), 145); - obj121.Steps = list138; - reference113 = obj121; - ref QuestSequence reference114 = ref span47[1]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.Interact, 2005113u, new Vector3(192.88928f, -26.657532f, 203.60107f), 145); - obj122.Steps = list139; - reference114 = obj122; - ref QuestSequence reference115 = ref span47[2]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.Interact, 1010850u, new Vector3(53.3302f, 10.000122f, -10.208313f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - obj123.Steps = list140; - reference115 = obj123; - ref QuestSequence reference116 = ref span47[3]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.Interact, 1010853u, new Vector3(137.25476f, 4f, -20.584473f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahWeaver, - To = EAetheryteLocation.UldahSapphireAvenue - } - }; - obj124.Steps = list141; - reference116 = obj124; - ref QuestSequence reference117 = ref span47[4]; - QuestSequence obj125 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - Span span48 = CollectionsMarshal.AsSpan(list142); - span48[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span48[1] = new QuestStep(EInteractionType.CompleteQuest, 1010891u, new Vector3(-3.6774292f, 0.01804012f, -7.034485f), 351); - obj125.Steps = list142; - reference117 = obj125; - questRoot12.QuestSequence = list137; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(366); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - CollectionsMarshal.AsSpan(list143)[0] = "JerryWester"; - questRoot13.Author = list143; - num = 8; - List list144 = new List(num); - CollectionsMarshal.SetCount(list144, num); - Span span49 = CollectionsMarshal.AsSpan(list144); - ref QuestSequence reference118 = ref span49[0]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010891u, new Vector3(-3.6774292f, 0.01804012f, -7.034485f), 351); - obj126.Steps = list145; - reference118 = obj126; - ref QuestSequence reference119 = ref span49[1]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - Span span50 = CollectionsMarshal.AsSpan(list146); - span50[0] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span50[1] = new QuestStep(EInteractionType.Interact, 1008969u, new Vector3(0.99176025f, -1.9957249f, -45.700806f), 351); - obj127.Steps = list146; - reference119 = obj127; - ref QuestSequence reference120 = ref span49[2]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - Span span51 = CollectionsMarshal.AsSpan(list147); - span51[0] = new QuestStep(EInteractionType.Interact, 2002880u, new Vector3(0f, -1f, -29.25f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span51[1] = new QuestStep(EInteractionType.Interact, 2002879u, new Vector3(0f, 3f, 27.5f), 351) - { - TargetTerritoryId = (ushort)156 - }; - span51[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(30.917934f, 20.495003f, -656.1909f), 156) - { - Mount = true - }; - span51[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(337.01373f, -27.808102f, -369.0958f), 156) - { - Fly = true - }; - span51[4] = new QuestStep(EInteractionType.Interact, 1010881u, new Vector3(336.3545f, -27.808832f, -369.7414f), 156); - obj128.Steps = list147; - reference120 = obj128; - ref QuestSequence reference121 = ref span49[3]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.Duty, null, null, 156) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 32u - } - }; - obj129.Steps = list148; - reference121 = obj129; - span49[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference122 = ref span49[5]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.Interact, 1010881u, new Vector3(336.3545f, -27.808832f, -369.7414f), 156) - { - StopDistance = 7f - }; - obj130.Steps = list149; - reference122 = obj130; - ref QuestSequence reference123 = ref span49[6]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 6 - }; - num2 = 3; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - Span span52 = CollectionsMarshal.AsSpan(list150); - span52[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span52[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span52[2] = new QuestStep(EInteractionType.Interact, 1010857u, new Vector3(2.5481567f, -1.9957249f, -42.008118f), 351); - obj131.Steps = list150; - reference123 = obj131; - ref QuestSequence reference124 = ref span49[7]; - QuestSequence obj132 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.CompleteQuest, 1010858u, new Vector3(-1.9074707f, 0f, -3.1281738f), 351) - { - StopDistance = 7f - }; - obj132.Steps = list151; - reference124 = obj132; - questRoot13.QuestSequence = list144; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(368); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list152 = new List(num); - CollectionsMarshal.SetCount(list152, num); - CollectionsMarshal.AsSpan(list152)[0] = "JerryWester"; - questRoot14.Author = list152; - num = 7; - List list153 = new List(num); - CollectionsMarshal.SetCount(list153, num); - Span span53 = CollectionsMarshal.AsSpan(list153); - ref QuestSequence reference125 = ref span53[0]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006646u, new Vector3(-29.953552f, 46.99734f, 32.547485f), 147) - { - StopDistance = 5f - }; - obj133.Steps = list154; - reference125 = obj133; - ref QuestSequence reference126 = ref span53[1]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.Interact, 1010924u, new Vector3(-72.129456f, 47f, -8.86554f), 147) - { - Fly = true - }; - obj134.Steps = list155; - reference126 = obj134; - ref QuestSequence reference127 = ref span53[2]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.Interact, 1010867u, new Vector3(-133.92847f, 59.668938f, -94.22449f), 147) - { - Fly = true - }; - obj135.Steps = list156; - reference127 = obj135; - ref QuestSequence reference128 = ref span53[3]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - ref QuestStep reference129 = ref CollectionsMarshal.AsSpan(list157)[0]; - QuestStep obj137 = new QuestStep(EInteractionType.Combat, null, new Vector3(-255.52438f, 60.28413f, -65.027f), 147) - { - StopDistance = 1f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list158 = new List(num3); - CollectionsMarshal.SetCount(list158, num3); - Span span54 = CollectionsMarshal.AsSpan(list158); - span54[0] = 55u; - span54[1] = 64u; - span54[2] = 3566u; - obj137.KillEnemyDataIds = list158; - reference129 = obj137; - obj136.Steps = list157; - reference128 = obj136; - ref QuestSequence reference130 = ref span53[4]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - ref QuestStep reference131 = ref CollectionsMarshal.AsSpan(list159)[0]; - QuestStep obj139 = new QuestStep(EInteractionType.Combat, null, new Vector3(-264.6515f, 82.28975f, -178.98473f), 147) - { - StopDistance = 1f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list160 = new List(num3); - CollectionsMarshal.SetCount(list160, num3); - Span span55 = CollectionsMarshal.AsSpan(list160); - span55[0] = 62u; - span55[1] = 3657u; - span55[2] = 3566u; - obj139.KillEnemyDataIds = list160; - reference131 = obj139; - obj138.Steps = list159; - reference130 = obj138; - ref QuestSequence reference132 = ref span53[5]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.Interact, 1010876u, new Vector3(-110.36853f, 64.861916f, -127.27557f), 147) - { - Fly = true - }; - obj140.Steps = list161; - reference132 = obj140; - ref QuestSequence reference133 = ref span53[6]; - QuestSequence obj141 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - Span span56 = CollectionsMarshal.AsSpan(list162); - span56[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-29.703922f, 46.983063f, 31.031008f), 147) - { - Fly = true - }; - span56[1] = new QuestStep(EInteractionType.CompleteQuest, 1006646u, new Vector3(-29.953552f, 46.99734f, 32.547485f), 147); - obj141.Steps = list162; - reference133 = obj141; - questRoot14.QuestSequence = list153; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(369); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list163 = new List(num); - CollectionsMarshal.SetCount(list163, num); - CollectionsMarshal.AsSpan(list163)[0] = "JerryWester"; - questRoot15.Author = list163; - num = 6; - List list164 = new List(num); - CollectionsMarshal.SetCount(list164, num); - Span span57 = CollectionsMarshal.AsSpan(list164); - ref QuestSequence reference134 = ref span57[0]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006646u, new Vector3(-29.953552f, 46.99734f, 32.547485f), 147) - { - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCeruleumProcessingPlant, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj142.Steps = list165; - reference134 = obj142; - ref QuestSequence reference135 = ref span57[1]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - Span span58 = CollectionsMarshal.AsSpan(list166); - span58[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(140.28381f, 31.425474f, 23.662958f), 147) - { - Fly = true - }; - span58[1] = new QuestStep(EInteractionType.Interact, 1010879u, new Vector3(136.33923f, 31.9962f, 16.098267f), 147); - obj143.Steps = list166; - reference135 = obj143; - ref QuestSequence reference136 = ref span57[2]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj144.Steps = list167; - reference136 = obj144; - ref QuestSequence reference137 = ref span57[3]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.Duty, null, null, 351) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 84u - } - }; - obj145.Steps = list168; - reference137 = obj145; - span57[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference138 = ref span57[5]; - QuestSequence obj146 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011000u, new Vector3(-0.07635498f, -1.9957249f, -42.25226f), 351); - obj146.Steps = list169; - reference138 = obj146; - questRoot15.QuestSequence = list164; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(370); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list170 = new List(num); - CollectionsMarshal.SetCount(list170, num); - CollectionsMarshal.AsSpan(list170)[0] = "JerryWester"; - questRoot16.Author = list170; - num = 5; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - Span span59 = CollectionsMarshal.AsSpan(list171); - ref QuestSequence reference139 = ref span59[0]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010897u, new Vector3(0.9613037f, -1.9957249f, -45.609253f), 351); - obj147.Steps = list172; - reference139 = obj147; - ref QuestSequence reference140 = ref span59[1]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - Span span60 = CollectionsMarshal.AsSpan(list173); - span60[0] = new QuestStep(EInteractionType.Interact, 2002880u, new Vector3(0f, -1f, -29.25f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span60[1] = new QuestStep(EInteractionType.Interact, 1010903u, new Vector3(24.887451f, -1f, -1.0223389f), 351); - obj148.Steps = list173; - reference140 = obj148; - ref QuestSequence reference141 = ref span59[2]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - Span span61 = CollectionsMarshal.AsSpan(list174); - span61[0] = new QuestStep(EInteractionType.Interact, 2002879u, new Vector3(0f, 3f, 27.5f), 351) - { - TargetTerritoryId = (ushort)156 - }; - span61[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(30.917934f, 20.495003f, -656.1909f), 156) - { - Mount = true - }; - span61[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(26.405773f, 29.49983f, -767.3998f), 156) - { - Fly = true - }; - span61[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(25.629164f, 28.999998f, -823.2204f), 156); - span61[4] = new QuestStep(EInteractionType.Interact, 1001304u, new Vector3(25.589355f, 29f, -825.37573f), 156); - obj149.Steps = list174; - reference141 = obj149; - ref QuestSequence reference142 = ref span59[3]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - Span span62 = CollectionsMarshal.AsSpan(list175); - span62[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(26.405773f, 29.49983f, -767.3998f), 156) - { - Fly = true - }; - span62[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-145.66704f, 43.906273f, -189.70813f), 156) - { - Fly = true - }; - span62[2] = new QuestStep(EInteractionType.Interact, 1010929u, new Vector3(-146.80713f, 43.495255f, -187.39612f), 156); - obj150.Steps = list175; - reference142 = obj150; - ref QuestSequence reference143 = ref span59[4]; - QuestSequence obj151 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - Span span63 = CollectionsMarshal.AsSpan(list176); - span63[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span63[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span63[2] = new QuestStep(EInteractionType.CompleteQuest, 1010930u, new Vector3(-1.2664795f, -1.9957249f, -42.069153f), 351); - obj151.Steps = list176; - reference143 = obj151; - questRoot16.QuestSequence = list171; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(371); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list177 = new List(num); - CollectionsMarshal.SetCount(list177, num); - CollectionsMarshal.AsSpan(list177)[0] = "JerryWester"; - questRoot17.Author = list177; - num = 4; - List list178 = new List(num); - CollectionsMarshal.SetCount(list178, num); - Span span64 = CollectionsMarshal.AsSpan(list178); - ref QuestSequence reference144 = ref span64[0]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - CollectionsMarshal.AsSpan(list179)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010930u, new Vector3(-1.2664795f, -1.9957249f, -42.069153f), 351); - obj152.Steps = list179; - reference144 = obj152; - ref QuestSequence reference145 = ref span64[1]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.Interact, 1010931u, new Vector3(232.50171f, 302f, -190.93622f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj153.Steps = list180; - reference145 = obj153; - ref QuestSequence reference146 = ref span64[2]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - Span span65 = CollectionsMarshal.AsSpan(list181); - span65[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-123.426254f, 301.84348f, -283.14267f), 155) - { - Fly = true - }; - ref QuestStep reference147 = ref span65[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1010942u, new Vector3(-132.12793f, 304.28772f, -298.3902f), 155); - num3 = 6; - List list182 = new List(num3); - CollectionsMarshal.SetCount(list182, num3); - Span span66 = CollectionsMarshal.AsSpan(list182); - span66[0] = null; - span66[1] = null; - span66[2] = null; - span66[3] = null; - span66[4] = null; - span66[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list182; - reference147 = questStep3; - ref QuestStep reference148 = ref span65[2]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1010940u, new Vector3(-143.23651f, 304.15378f, -289.35687f), 155); - num3 = 6; - List list183 = new List(num3); - CollectionsMarshal.SetCount(list183, num3); - Span span67 = CollectionsMarshal.AsSpan(list183); - span67[0] = null; - span67[1] = null; - span67[2] = null; - span67[3] = null; - span67[4] = null; - span67[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list183; - reference148 = questStep4; - ref QuestStep reference149 = ref span65[3]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1010941u, new Vector3(-157.00012f, 304.1538f, -308.1255f), 155); - num3 = 6; - List list184 = new List(num3); - CollectionsMarshal.SetCount(list184, num3); - Span span68 = CollectionsMarshal.AsSpan(list184); - span68[0] = null; - span68[1] = null; - span68[2] = null; - span68[3] = null; - span68[4] = null; - span68[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list184; - reference149 = questStep5; - span65[4] = new QuestStep(EInteractionType.Interact, 1010939u, new Vector3(-152.69702f, 304.1538f, -321.21765f), 155); - obj154.Steps = list181; - reference146 = obj154; - ref QuestSequence reference150 = ref span64[3]; - QuestSequence obj155 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.CompleteQuest, 1010951u, new Vector3(-144.1825f, 304.15393f, -300.7401f), 155); - obj155.Steps = list185; - reference150 = obj155; - questRoot17.QuestSequence = list178; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(372); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list186 = new List(num); - CollectionsMarshal.SetCount(list186, num); - CollectionsMarshal.AsSpan(list186)[0] = "JerryWester"; - questRoot18.Author = list186; - num = 4; - List list187 = new List(num); - CollectionsMarshal.SetCount(list187, num); - Span span69 = CollectionsMarshal.AsSpan(list187); - ref QuestSequence reference151 = ref span69[0]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - CollectionsMarshal.AsSpan(list188)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010951u, new Vector3(-144.1825f, 304.15393f, -300.7401f), 155); - obj156.Steps = list188; - reference151 = obj156; - ref QuestSequence reference152 = ref span69[1]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - Span span70 = CollectionsMarshal.AsSpan(list189); - span70[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(241.6446f, 303.12494f, -199.8039f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span70[1] = new QuestStep(EInteractionType.Interact, 1006384u, new Vector3(263.5996f, 303.1f, -199.96954f), 155); - obj157.Steps = list189; - reference152 = obj157; - ref QuestSequence reference153 = ref span69[2]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - Span span71 = CollectionsMarshal.AsSpan(list190); - ref QuestStep reference154 = ref span71[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1007603u, new Vector3(264.91187f, 302.26236f, -223.71259f), 155); - num3 = 1; - List list191 = new List(num3); - CollectionsMarshal.SetCount(list191, num3); - CollectionsMarshal.AsSpan(list191)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_GAIUSE603_00372_FORTEMPSGUARD00054_Q1_000_1") - }; - questStep6.DialogueChoices = list191; - reference154 = questStep6; - span71[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(4.0611796f, 0.0149827f, 4.914047f), 395) - { - DisableNavmesh = true - }; - span71[2] = new QuestStep(EInteractionType.Interact, 1009974u, new Vector3(3.8604736f, 0.014982708f, -0.015319824f), 395) - { - DisableNavmesh = true - }; - obj158.Steps = list190; - reference153 = obj158; - ref QuestSequence reference155 = ref span69[3]; - QuestSequence obj159 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - Span span72 = CollectionsMarshal.AsSpan(list192); - span72[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(4.0818396f, 0f, 6.262639f), 395); - span72[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-2.7646873f, 0.0149827f, 6.104938f), 395); - span72[2] = new QuestStep(EInteractionType.CompleteQuest, 1010953u, new Vector3(-2.7924194f, 0.014982709f, -0.7477417f), 395); - obj159.Steps = list192; - reference155 = obj159; - questRoot18.QuestSequence = list187; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(373); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list193 = new List(num); - CollectionsMarshal.SetCount(list193, num); - CollectionsMarshal.AsSpan(list193)[0] = "JerryWester"; - questRoot19.Author = list193; - num = 2; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - Span span73 = CollectionsMarshal.AsSpan(list194); - ref QuestSequence reference156 = ref span73[0]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010953u, new Vector3(-2.7924194f, 0.014982709f, -0.7477417f), 395); - obj160.Steps = list195; - reference156 = obj160; - ref QuestSequence reference157 = ref span73[1]; - QuestSequence obj161 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - Span span74 = CollectionsMarshal.AsSpan(list196); - span74[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span74[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span74[2] = new QuestStep(EInteractionType.CompleteQuest, 1010896u, new Vector3(0.503479f, -1.9957249f, -42.61847f), 351); - obj161.Steps = list196; - reference157 = obj161; - questRoot19.QuestSequence = list194; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(376); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list197 = new List(num); - CollectionsMarshal.SetCount(list197, num); - CollectionsMarshal.AsSpan(list197)[0] = "liza"; - questRoot20.Author = list197; - num = 4; - List list198 = new List(num); - CollectionsMarshal.SetCount(list198, num); - Span span75 = CollectionsMarshal.AsSpan(list198); - ref QuestSequence reference158 = ref span75[0]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - CollectionsMarshal.AsSpan(list199)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000470u, new Vector3(-59.006653f, -0.010835781f, 26.41333f), 148); - obj162.Steps = list199; - reference158 = obj162; - ref QuestSequence reference159 = ref span75[1]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - Span span76 = CollectionsMarshal.AsSpan(list200); - span76[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-61.749943f, 0.9481318f, -38.52144f), 148) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(-67.083466f, -4.478065f, -45.204926f), - StopDistance = 3f - } - }; - span76[1] = new QuestStep(EInteractionType.Interact, 1000748u, new Vector3(-125.230774f, 4.1573725f, -43.595093f), 148); - obj163.Steps = list200; - reference159 = obj163; - ref QuestSequence reference160 = ref span75[2]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - ref QuestStep reference161 = ref CollectionsMarshal.AsSpan(list201)[0]; - QuestStep obj165 = new QuestStep(EInteractionType.Combat, null, new Vector3(-171.87439f, 1.7183347f, -70.586975f), 148) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list202 = new List(num3); - CollectionsMarshal.SetCount(list202, num3); - ref ComplexCombatData reference162 = ref CollectionsMarshal.AsSpan(list202)[0]; - ComplexCombatData obj166 = new ComplexCombatData - { - DataId = 771u - }; - int num4 = 6; - List list203 = new List(num4); - CollectionsMarshal.SetCount(list203, num4); - Span span77 = CollectionsMarshal.AsSpan(list203); - span77[0] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - span77[1] = null; - span77[2] = null; - span77[3] = null; - span77[4] = null; - span77[5] = null; - obj166.CompletionQuestVariablesFlags = list203; - reference162 = obj166; - obj165.ComplexCombatData = list202; - reference161 = obj165; - obj164.Steps = list201; - reference160 = obj164; - ref QuestSequence reference163 = ref span75[3]; - QuestSequence obj167 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000748u, new Vector3(-125.230774f, 4.1573725f, -43.595093f), 148); - obj167.Steps = list204; - reference163 = obj167; - questRoot20.QuestSequence = list198; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(377); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list205 = new List(num); - CollectionsMarshal.SetCount(list205, num); - CollectionsMarshal.AsSpan(list205)[0] = "liza"; - questRoot21.Author = list205; - num = 3; - List list206 = new List(num); - CollectionsMarshal.SetCount(list206, num); - Span span78 = CollectionsMarshal.AsSpan(list206); - ref QuestSequence reference164 = ref span78[0]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - CollectionsMarshal.AsSpan(list207)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000435u, new Vector3(-127.06189f, 4.1490583f, -44.296997f), 148) - { - StopDistance = 5f - }; - obj168.Steps = list207; - reference164 = obj168; - ref QuestSequence reference165 = ref span78[1]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 1 - }; - num2 = 8; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - Span span79 = CollectionsMarshal.AsSpan(list208); - ref QuestStep reference166 = ref span79[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2000750u, new Vector3(-151.26276f, 14.358704f, -73.014465f), 148); - num3 = 6; - List list209 = new List(num3); - CollectionsMarshal.SetCount(list209, num3); - Span span80 = CollectionsMarshal.AsSpan(list209); - span80[0] = null; - span80[1] = null; - span80[2] = null; - span80[3] = null; - span80[4] = null; - span80[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list209; - reference166 = questStep7; - ref QuestStep reference167 = ref span79[1]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2000749u, new Vector3(-164.11078f, 23.025818f, -86.167725f), 148); - num3 = 6; - List list210 = new List(num3); - CollectionsMarshal.SetCount(list210, num3); - Span span81 = CollectionsMarshal.AsSpan(list210); - span81[0] = null; - span81[1] = null; - span81[2] = null; - span81[3] = null; - span81[4] = null; - span81[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list210; - reference167 = questStep8; - ref QuestStep reference168 = ref span79[2]; - QuestStep questStep9 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-180.18181f, 31.66525f, -91.84381f), 148); - SkipConditions skipConditions13 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - Span span82 = CollectionsMarshal.AsSpan(list211); - span82[0] = null; - span82[1] = null; - span82[2] = null; - span82[3] = null; - span82[4] = null; - span82[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list211; - skipConditions13.StepIf = skipStepConditions3; - questStep9.SkipConditions = skipConditions13; - reference168 = questStep9; - ref QuestStep reference169 = ref span79[3]; - QuestStep obj170 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-184.41872f, 29.940958f, -93.809525f), 148) - { - DisableNavmesh = true - }; - SkipConditions skipConditions14 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list212 = new List(num3); - CollectionsMarshal.SetCount(list212, num3); - Span span83 = CollectionsMarshal.AsSpan(list212); - span83[0] = null; - span83[1] = null; - span83[2] = null; - span83[3] = null; - span83[4] = null; - span83[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list212; - skipConditions14.StepIf = skipStepConditions4; - obj170.SkipConditions = skipConditions14; - reference169 = obj170; - ref QuestStep reference170 = ref span79[4]; - QuestStep obj171 = new QuestStep(EInteractionType.Interact, 2000748u, new Vector3(-189.25769f, 30.44165f, -98.83276f), 148) - { - DisableNavmesh = true - }; - num3 = 6; - List list213 = new List(num3); - CollectionsMarshal.SetCount(list213, num3); - Span span84 = CollectionsMarshal.AsSpan(list213); - span84[0] = null; - span84[1] = null; - span84[2] = null; - span84[3] = null; - span84[4] = null; - span84[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj171.CompletionQuestVariablesFlags = list213; - reference170 = obj171; - ref QuestStep reference171 = ref span79[5]; - QuestStep obj172 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-179.84062f, 31.476957f, -91.05707f), 148) - { - DisableNavmesh = true - }; - SkipConditions skipConditions15 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 6; - List list214 = new List(num3); - CollectionsMarshal.SetCount(list214, num3); - Span span85 = CollectionsMarshal.AsSpan(list214); - span85[0] = null; - span85[1] = null; - span85[2] = null; - span85[3] = null; - span85[4] = null; - span85[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions5.CompletionQuestVariablesFlags = list214; - skipConditions15.StepIf = skipStepConditions5; - obj172.SkipConditions = skipConditions15; - reference171 = obj172; - ref QuestStep reference172 = ref span79[6]; - QuestStep questStep10 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-171.76294f, 23.022184f, -76.32822f), 148); - SkipConditions skipConditions16 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 6; - List list215 = new List(num3); - CollectionsMarshal.SetCount(list215, num3); - Span span86 = CollectionsMarshal.AsSpan(list215); - span86[0] = null; - span86[1] = null; - span86[2] = null; - span86[3] = null; - span86[4] = null; - span86[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions6.CompletionQuestVariablesFlags = list215; - skipConditions16.StepIf = skipStepConditions6; - questStep10.SkipConditions = skipConditions16; - reference172 = questStep10; - ref QuestStep reference173 = ref span79[7]; - QuestStep obj173 = new QuestStep(EInteractionType.Interact, 2000751u, new Vector3(-169.3294f, 18.600708f, -72.129456f), 148) - { - DisableNavmesh = true - }; - num3 = 6; - List list216 = new List(num3); - CollectionsMarshal.SetCount(list216, num3); - Span span87 = CollectionsMarshal.AsSpan(list216); - span87[0] = null; - span87[1] = null; - span87[2] = null; - span87[3] = null; - span87[4] = null; - span87[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj173.CompletionQuestVariablesFlags = list216; - reference173 = obj173; - obj169.Steps = list208; - reference165 = obj169; - ref QuestSequence reference174 = ref span78[2]; - QuestSequence obj174 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - Span span88 = CollectionsMarshal.AsSpan(list217); - span88[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-166.56161f, 0.63666093f, -61.089085f), 148) - { - DisableNavmesh = true, - Comment = "Jumping back up isn't trivial" - }; - span88[1] = new QuestStep(EInteractionType.CompleteQuest, 1000436u, new Vector3(-193.22504f, 56.264572f, -116.47211f), 148); - obj174.Steps = list217; - reference174 = obj174; - questRoot21.QuestSequence = list206; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(379); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - CollectionsMarshal.AsSpan(list218)[0] = "liza"; - questRoot22.Author = list218; - num = 4; - List list219 = new List(num); - CollectionsMarshal.SetCount(list219, num); - Span span89 = CollectionsMarshal.AsSpan(list219); - ref QuestSequence reference175 = ref span89[0]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000436u, new Vector3(-193.22504f, 56.264572f, -116.47211f), 148); - obj175.Steps = list220; - reference175 = obj175; - ref QuestSequence reference176 = ref span89[1]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.Interact, 1000748u, new Vector3(-125.230774f, 4.1573725f, -43.595093f), 148); - obj176.Steps = list221; - reference176 = obj176; - ref QuestSequence reference177 = ref span89[2]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - CollectionsMarshal.AsSpan(list222)[0] = new QuestStep(EInteractionType.Interact, 2000689u, new Vector3(-95.47571f, 3.4942627f, -150.80493f), 148); - obj177.Steps = list222; - reference177 = obj177; - ref QuestSequence reference178 = ref span89[3]; - QuestSequence obj178 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - CollectionsMarshal.AsSpan(list223)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000748u, new Vector3(-125.230774f, 4.1573725f, -43.595093f), 148); - obj178.Steps = list223; - reference178 = obj178; - questRoot22.QuestSequence = list219; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(380); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list224 = new List(num); - CollectionsMarshal.SetCount(list224, num); - CollectionsMarshal.AsSpan(list224)[0] = "liza"; - questRoot23.Author = list224; - num = 4; - List list225 = new List(num); - CollectionsMarshal.SetCount(list225, num); - Span span90 = CollectionsMarshal.AsSpan(list225); - ref QuestSequence reference179 = ref span90[0]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - CollectionsMarshal.AsSpan(list226)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000748u, new Vector3(-125.230774f, 4.1573725f, -43.595093f), 148); - obj179.Steps = list226; - reference179 = obj179; - ref QuestSequence reference180 = ref span90[1]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.Interact, 1001280u, new Vector3(89.28052f, -6.351089f, -121.96539f), 148); - obj180.Steps = list227; - reference180 = obj180; - ref QuestSequence reference181 = ref span90[2]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.Interact, 1000483u, new Vector3(85.496216f, -6.0870457f, 67.00232f), 148); - obj181.Steps = list228; - reference181 = obj181; - ref QuestSequence reference182 = ref span90[3]; - QuestSequence obj182 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000741u, new Vector3(-66.7583f, 0.2f, 11.36792f), 148); - obj182.Steps = list229; - reference182 = obj182; - questRoot23.QuestSequence = list225; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(381); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list230 = new List(num); - CollectionsMarshal.SetCount(list230, num); - CollectionsMarshal.AsSpan(list230)[0] = "liza"; - questRoot24.Author = list230; - num = 3; - List list231 = new List(num); - CollectionsMarshal.SetCount(list231, num); - Span span91 = CollectionsMarshal.AsSpan(list231); - ref QuestSequence reference183 = ref span91[0]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000741u, new Vector3(-66.7583f, 0.2f, 11.36792f), 148); - obj183.Steps = list232; - reference183 = obj183; - ref QuestSequence reference184 = ref span91[1]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - ref QuestStep reference185 = ref CollectionsMarshal.AsSpan(list233)[0]; - QuestStep obj185 = new QuestStep(EInteractionType.Combat, 2001006u, new Vector3(99.65662f, -15.732117f, 193.01135f), 148) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list234 = new List(num3); - CollectionsMarshal.SetCount(list234, num3); - CollectionsMarshal.AsSpan(list234)[0] = 12u; - obj185.KillEnemyDataIds = list234; - reference185 = obj185; - obj184.Steps = list233; - reference184 = obj184; - ref QuestSequence reference186 = ref span91[2]; - QuestSequence obj186 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000491u, new Vector3(47.958984f, -24f, 228.5343f), 148); - obj186.Steps = list235; - reference186 = obj186; - questRoot24.QuestSequence = list231; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(384); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list236 = new List(num); - CollectionsMarshal.SetCount(list236, num); - CollectionsMarshal.AsSpan(list236)[0] = "liza"; - questRoot25.Author = list236; - num = 3; - List list237 = new List(num); - CollectionsMarshal.SetCount(list237, num); - Span span92 = CollectionsMarshal.AsSpan(list237); - ref QuestSequence reference187 = ref span92[0]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000491u, new Vector3(47.958984f, -24f, 228.5343f), 148); - obj187.Steps = list238; - reference187 = obj187; - ref QuestSequence reference188 = ref span92[1]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - CollectionsMarshal.AsSpan(list239)[0] = new QuestStep(EInteractionType.Interact, 1002932u, new Vector3(-65.049255f, -36.79766f, 477.59204f), 148); - obj188.Steps = list239; - reference188 = obj188; - ref QuestSequence reference189 = ref span92[2]; - QuestSequence obj189 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000503u, new Vector3(178.33215f, -32.015224f, 333.30273f), 148); - obj189.Steps = list240; - reference189 = obj189; - questRoot25.QuestSequence = list237; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(387); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list241 = new List(num); - CollectionsMarshal.SetCount(list241, num); - CollectionsMarshal.AsSpan(list241)[0] = "liza"; - questRoot26.Author = list241; - num = 3; - List list242 = new List(num); - CollectionsMarshal.SetCount(list242, num); - Span span93 = CollectionsMarshal.AsSpan(list242); - ref QuestSequence reference190 = ref span93[0]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000503u, new Vector3(178.33215f, -32.015224f, 333.30273f), 148); - obj190.Steps = list243; - reference190 = obj190; - ref QuestSequence reference191 = ref span93[1]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - Span span94 = CollectionsMarshal.AsSpan(list244); - ref QuestStep reference192 = ref span94[0]; - QuestStep obj192 = new QuestStep(EInteractionType.Combat, 2001018u, new Vector3(155.47412f, -23.66681f, 490.74524f), 148) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list245 = new List(num3); - CollectionsMarshal.SetCount(list245, num3); - CollectionsMarshal.AsSpan(list245)[0] = 26u; - obj192.KillEnemyDataIds = list245; - reference192 = obj192; - ref QuestStep reference193 = ref span94[1]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 2001016u, new Vector3(152.60547f, -23.758362f, 494.71265f), 148); - num3 = 6; - List list246 = new List(num3); - CollectionsMarshal.SetCount(list246, num3); - Span span95 = CollectionsMarshal.AsSpan(list246); - span95[0] = null; - span95[1] = null; - span95[2] = null; - span95[3] = null; - span95[4] = null; - span95[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list246; - reference193 = questStep11; - ref QuestStep reference194 = ref span94[2]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 2001018u, new Vector3(155.47412f, -23.66681f, 490.74524f), 148); - num3 = 6; - List list247 = new List(num3); - CollectionsMarshal.SetCount(list247, num3); - Span span96 = CollectionsMarshal.AsSpan(list247); - span96[0] = null; - span96[1] = null; - span96[2] = null; - span96[3] = null; - span96[4] = null; - span96[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list247; - reference194 = questStep12; - obj191.Steps = list244; - reference191 = obj191; - ref QuestSequence reference195 = ref span93[2]; - QuestSequence obj193 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000470u, new Vector3(-59.006653f, -0.010835781f, 26.41333f), 148) - { - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows - }; - obj193.Steps = list248; - reference195 = obj193; - questRoot26.QuestSequence = list242; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(391); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list249 = new List(num); - CollectionsMarshal.SetCount(list249, num); - CollectionsMarshal.AsSpan(list249)[0] = "JerryWester"; - questRoot27.Author = list249; - num = 6; - List list250 = new List(num); - CollectionsMarshal.SetCount(list250, num); - Span span97 = CollectionsMarshal.AsSpan(list250); - ref QuestSequence reference196 = ref span97[0]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010896u, new Vector3(0.503479f, -1.9957249f, -42.61847f), 351); - obj194.Steps = list251; - reference196 = obj194; - ref QuestSequence reference197 = ref span97[1]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - Span span98 = CollectionsMarshal.AsSpan(list252); - span98[0] = new QuestStep(EInteractionType.Interact, 2002880u, new Vector3(-0.015319824f, -1.0223389f, -29.251587f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span98[1] = new QuestStep(EInteractionType.Interact, 1010911u, new Vector3(-3.7385254f, 0.01804012f, -9.353821f), 351); - obj195.Steps = list252; - reference197 = obj195; - ref QuestSequence reference198 = ref span97[2]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - Span span99 = CollectionsMarshal.AsSpan(list253); - span99[0] = new QuestStep(EInteractionType.Interact, 2002879u, new Vector3(-0.015319824f, 2.9754639f, 27.481445f), 351) - { - TargetTerritoryId = (ushort)156 - }; - span99[1] = new QuestStep(EInteractionType.Interact, 1006530u, new Vector3(21.927185f, 20.746975f, -682.06305f), 156); - obj196.Steps = list253; - reference198 = obj196; - ref QuestSequence reference199 = ref span97[3]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.Interact, 1010954u, new Vector3(24.2771f, 20.04223f, -679.9573f), 156); - obj197.Steps = list254; - reference199 = obj197; - ref QuestSequence reference200 = ref span97[4]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 4 - }; - num2 = 6; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - Span span100 = CollectionsMarshal.AsSpan(list255); - ref QuestStep reference201 = ref span100[0]; - QuestStep obj199 = new QuestStep(EInteractionType.Interact, 1010958u, new Vector3(47.745483f, 20.665741f, -685.1759f), 156) - { - Fly = true - }; - num3 = 6; - List list256 = new List(num3); - CollectionsMarshal.SetCount(list256, num3); - Span span101 = CollectionsMarshal.AsSpan(list256); - span101[0] = null; - span101[1] = null; - span101[2] = null; - span101[3] = null; - span101[4] = null; - span101[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj199.CompletionQuestVariablesFlags = list256; - reference201 = obj199; - ref QuestStep reference202 = ref span100[1]; - QuestStep obj200 = new QuestStep(EInteractionType.Interact, 1010955u, new Vector3(103.440796f, 31.606796f, -739.559f), 156) - { - Fly = true - }; - num3 = 6; - List list257 = new List(num3); - CollectionsMarshal.SetCount(list257, num3); - Span span102 = CollectionsMarshal.AsSpan(list257); - span102[0] = null; - span102[1] = null; - span102[2] = null; - span102[3] = null; - span102[4] = null; - span102[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj200.CompletionQuestVariablesFlags = list257; - reference202 = obj200; - span100[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(68.349144f, 50f, -776.29706f), 156) - { - Fly = true - }; - ref QuestStep reference203 = ref span100[3]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1010956u, new Vector3(68.86389f, 50f, -774.3496f), 156); - num3 = 6; - List list258 = new List(num3); - CollectionsMarshal.SetCount(list258, num3); - Span span103 = CollectionsMarshal.AsSpan(list258); - span103[0] = null; - span103[1] = null; - span103[2] = null; - span103[3] = null; - span103[4] = null; - span103[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list258; - reference203 = questStep13; - span100[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(26.19157f, 29.595585f, -768.4571f), 156) - { - Fly = true - }; - ref QuestStep reference204 = ref span100[5]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1010957u, new Vector3(33.676636f, 29f, -789.08984f), 156); - num3 = 6; - List list259 = new List(num3); - CollectionsMarshal.SetCount(list259, num3); - Span span104 = CollectionsMarshal.AsSpan(list259); - span104[0] = null; - span104[1] = null; - span104[2] = null; - span104[3] = null; - span104[4] = null; - span104[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list259; - reference204 = questStep14; - obj198.Steps = list255; - reference200 = obj198; - ref QuestSequence reference205 = ref span97[5]; - QuestSequence obj201 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - Span span105 = CollectionsMarshal.AsSpan(list260); - span105[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(26.19157f, 29.595585f, -768.4571f), 156) - { - Mount = true - }; - span105[1] = new QuestStep(EInteractionType.CompleteQuest, 1010961u, new Vector3(33.279907f, 20.495003f, -655.20715f), 156) - { - Fly = true - }; - obj201.Steps = list260; - reference205 = obj201; - questRoot27.QuestSequence = list250; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(397); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list261 = new List(num); - CollectionsMarshal.SetCount(list261, num); - CollectionsMarshal.AsSpan(list261)[0] = "liza"; - questRoot28.Author = list261; - num = 2; - List list262 = new List(num); - CollectionsMarshal.SetCount(list262, num); - Span span106 = CollectionsMarshal.AsSpan(list262); - ref QuestSequence reference206 = ref span106[0]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - CollectionsMarshal.AsSpan(list263)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000972u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 128); - obj202.Steps = list263; - reference206 = obj202; - ref QuestSequence reference207 = ref span106[1]; - QuestSequence obj203 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - Span span107 = CollectionsMarshal.AsSpan(list264); - span107[0] = new QuestStep(EInteractionType.UnlockTaxiStand, 1002721u, new Vector3(187.9148f, 98.5214f, -193.19452f), 134) - { - AetheryteShortcut = EAetheryteLocation.MiddleLaNosceaSummerfordFarms, - TaxiStandId = (byte)22 - }; - span107[1] = new QuestStep(EInteractionType.CompleteQuest, 1003239u, new Vector3(-283.68048f, 10.593393f, -249.34778f), 134); - obj203.Steps = list264; - reference207 = obj203; - questRoot28.QuestSequence = list262; - AddQuest(questId28, questRoot28); - } - - private static void LoadQuests8() - { - QuestId questId = new QuestId(402); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003239u, new Vector3(-283.68048f, 10.593393f, -249.34778f), 134); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 2001255u, new Vector3(-320.57678f, 25.833496f, -527.5502f), 134) - { - PickUpItemId = 2000342u, - Comment = "Technically triggers combat, but can be ignored" - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - Span span2 = CollectionsMarshal.AsSpan(list5); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-380.10605f, 32.598312f, -608.40186f), 134) - { - TargetTerritoryId = (ushort)138 - }; - span2[1] = new QuestStep(EInteractionType.UnlockTaxiStand, 1002722u, new Vector3(667.68884f, 9.882242f, 487.32727f), 138) - { - TaxiStandId = (byte)23 - }; - span2[2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 138) - { - Aetheryte = EAetheryteLocation.WesternLaNosceaSwiftperch - }; - span2[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(652.74164f, 8.129893f, 522.6646f), 138); - span2[4] = new QuestStep(EInteractionType.CompleteQuest, 1003244u, new Vector3(650.72095f, 7.856781f, 527.21436f), 138) - { - StopDistance = 6f - }; - obj3.Steps = list5; - reference3 = obj3; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(403); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list6 = new List(num); - CollectionsMarshal.SetCount(list6, num); - CollectionsMarshal.AsSpan(list6)[0] = "liza"; - questRoot2.Author = list6; - num = 7; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - Span span3 = CollectionsMarshal.AsSpan(list7); - ref QuestSequence reference4 = ref span3[0]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003245u, new Vector3(655.75635f, 8.316303f, 521.1719f), 138) - { - StopDistance = 7f - }; - obj4.Steps = list8; - reference4 = obj4; - ref QuestSequence reference5 = ref span3[1]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.Interact, 1003246u, new Vector3(443.22876f, 14.645099f, 452.84204f), 138); - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference6 = ref span3[2]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.UseItem, 2001260u, new Vector3(602.50244f, 28.94629f, 361.01306f), 138) - { - ItemId = 2000343u - }; - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span3[3]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - ref QuestStep reference8 = ref CollectionsMarshal.AsSpan(list11)[0]; - QuestStep obj8 = new QuestStep(EInteractionType.Combat, 2001261u, new Vector3(602.50244f, 28.976807f, 361.0437f), 138) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - int num3 = 1; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - CollectionsMarshal.AsSpan(list12)[0] = 17u; - obj8.KillEnemyDataIds = list12; - reference8 = obj8; - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference9 = ref span3[4]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.Interact, 1003246u, new Vector3(443.22876f, 14.645099f, 452.84204f), 138); - obj9.Steps = list13; - reference9 = obj9; - ref QuestSequence reference10 = ref span3[5]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.Interact, 1003245u, new Vector3(655.75635f, 8.316303f, 521.1719f), 138); - obj10.Steps = list14; - reference10 = obj10; - ref QuestSequence reference11 = ref span3[6]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001000u, new Vector3(-32.028687f, 41.499985f, 208.39233f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj11.Steps = list15; - reference11 = obj11; - questRoot2.QuestSequence = list7; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(406); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - CollectionsMarshal.AsSpan(list16)[0] = "liza"; - questRoot3.Author = list16; - num = 2; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - Span span4 = CollectionsMarshal.AsSpan(list17); - ref QuestSequence reference12 = ref span4[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001000u, new Vector3(-32.028687f, 41.499985f, 208.39233f), 128); - obj12.Steps = list18; - reference12 = obj12; - ref QuestSequence reference13 = ref span4[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - Span span5 = CollectionsMarshal.AsSpan(list19); - span5[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(24.438343f, 44.499928f, 183.94363f), 128) - { - TargetTerritoryId = (ushort)135 - }; - span5[1] = new QuestStep(EInteractionType.UnlockTaxiStand, 1002720u, new Vector3(49.271362f, 29.315498f, 605.27954f), 135) - { - TaxiStandId = (byte)27 - }; - span5[2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 135) - { - Aetheryte = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }; - span5[3] = new QuestStep(EInteractionType.CompleteQuest, 1002238u, new Vector3(247.36401f, 14.02301f, 611.9325f), 135); - obj13.Steps = list19; - reference13 = obj13; - questRoot3.QuestSequence = list17; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(407); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - CollectionsMarshal.AsSpan(list20)[0] = "CryoTechnic"; - questRoot4.Author = list20; - num = 5; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - Span span6 = CollectionsMarshal.AsSpan(list21); - ref QuestSequence reference14 = ref span6[0]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002231u, new Vector3(102.25073f, 68.15522f, 328.93872f), 135); - obj14.Steps = list22; - reference14 = obj14; - ref QuestSequence reference15 = ref span6[1]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.Interact, 1002447u, new Vector3(113.54236f, 68.15523f, 376.21106f), 135); - obj15.Steps = list23; - reference15 = obj15; - ref QuestSequence reference16 = ref span6[2]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - Span span7 = CollectionsMarshal.AsSpan(list24); - span7[0] = new QuestStep(EInteractionType.Emote, 1002450u, new Vector3(42.83203f, 71.30162f, 389.0287f), 135) - { - Emote = EEmote.Soothe - }; - span7[1] = new QuestStep(EInteractionType.Emote, 1002449u, new Vector3(41.7334f, 71.30162f, 389.63904f), 135) - { - Emote = EEmote.Soothe - }; - obj16.Steps = list24; - reference16 = obj16; - ref QuestSequence reference17 = ref span6[3]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.Interact, 1002447u, new Vector3(113.54236f, 68.15523f, 376.21106f), 135); - obj17.Steps = list25; - reference17 = obj17; - ref QuestSequence reference18 = ref span6[4]; - QuestSequence obj18 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002231u, new Vector3(102.25073f, 68.15522f, 328.93872f), 135); - obj18.Steps = list26; - reference18 = obj18; - questRoot4.QuestSequence = list21; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(411); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - CollectionsMarshal.AsSpan(list27)[0] = "CryoTechnic"; - questRoot5.Author = list27; - num = 4; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - Span span8 = CollectionsMarshal.AsSpan(list28); - ref QuestSequence reference19 = ref span8[0]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002236u, new Vector3(185.10718f, 14.095934f, 677.33264f), 135); - obj19.Steps = list29; - reference19 = obj19; - ref QuestSequence reference20 = ref span8[1]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - ref QuestStep reference21 = ref CollectionsMarshal.AsSpan(list30)[0]; - QuestStep obj21 = new QuestStep(EInteractionType.Combat, null, new Vector3(63.34564f, 57.438232f, 719.98425f), 135) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - CollectionsMarshal.AsSpan(list31)[0] = new ComplexCombatData - { - DataId = 138u, - NameId = 399u, - MinimumKillCount = 4u - }; - obj21.ComplexCombatData = list31; - reference21 = obj21; - obj20.Steps = list30; - reference20 = obj20; - ref QuestSequence reference22 = ref span8[2]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 1002445u, new Vector3(136.82764f, 58.937588f, 937.43787f), 135); - obj22.Steps = list32; - reference22 = obj22; - ref QuestSequence reference23 = ref span8[3]; - QuestSequence obj23 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002236u, new Vector3(185.10718f, 14.095934f, 677.33264f), 135) - { - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }; - obj23.Steps = list33; - reference23 = obj23; - questRoot5.QuestSequence = list28; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(412); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - CollectionsMarshal.AsSpan(list34)[0] = "liza"; - questRoot6.Author = list34; - num = 2; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - Span span9 = CollectionsMarshal.AsSpan(list35); - ref QuestSequence reference24 = ref span9[0]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002238u, new Vector3(247.36401f, 14.02301f, 611.9325f), 135); - obj24.Steps = list36; - reference24 = obj24; - ref QuestSequence reference25 = ref span9[1]; - QuestSequence obj25 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002274u, new Vector3(-34.65332f, 8.921356f, 861.4479f), 135) - { - Emote = EEmote.Doubt - }; - obj25.Steps = list37; - reference25 = obj25; - questRoot6.QuestSequence = list35; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(413); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - CollectionsMarshal.AsSpan(list38)[0] = "liza"; - questRoot7.Author = list38; - num = 5; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - Span span10 = CollectionsMarshal.AsSpan(list39); - ref QuestSequence reference26 = ref span10[0]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002238u, new Vector3(247.36401f, 14.02301f, 611.9325f), 135); - obj26.Steps = list40; - reference26 = obj26; - ref QuestSequence reference27 = ref span10[1]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.Interact, 1002237u, new Vector3(167.55933f, 14.095915f, 683.92444f), 135); - obj27.Steps = list41; - reference27 = obj27; - ref QuestSequence reference28 = ref span10[2]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.Interact, 1002240u, new Vector3(118.51672f, 23.000835f, 735.6831f), 135); - obj28.Steps = list42; - reference28 = obj28; - ref QuestSequence reference29 = ref span10[3]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.Interact, 1002463u, new Vector3(249.89697f, 6.194409f, 773.12866f), 135); - obj29.Steps = list43; - reference29 = obj29; - ref QuestSequence reference30 = ref span10[4]; - QuestSequence obj30 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002237u, new Vector3(167.55933f, 14.095915f, 683.92444f), 135); - obj30.Steps = list44; - reference30 = obj30; - questRoot7.QuestSequence = list39; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(414); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - CollectionsMarshal.AsSpan(list45)[0] = "liza"; - questRoot8.Author = list45; - num = 6; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - Span span11 = CollectionsMarshal.AsSpan(list46); - ref QuestSequence reference31 = ref span11[0]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002237u, new Vector3(167.55933f, 14.095915f, 683.92444f), 135); - obj31.Steps = list47; - reference31 = obj31; - ref QuestSequence reference32 = ref span11[1]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.Interact, 1002240u, new Vector3(118.51672f, 23.000835f, 735.6831f), 135); - obj32.Steps = list48; - reference32 = obj32; - ref QuestSequence reference33 = ref span11[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - Span span12 = CollectionsMarshal.AsSpan(list49); - span12[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(106.18569f, 53.59632f, 674.99817f), 135); - span12[1] = new QuestStep(EInteractionType.Interact, 1002651u, new Vector3(107.65234f, 54.64395f, 674.9523f), 135) - { - StopDistance = 5f - }; - obj33.Steps = list49; - reference33 = obj33; - ref QuestSequence reference34 = ref span11[3]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - ref QuestStep reference35 = ref CollectionsMarshal.AsSpan(list50)[0]; - QuestStep obj35 = new QuestStep(EInteractionType.SinglePlayerDuty, 1002237u, new Vector3(167.55933f, 14.095915f, 683.92444f), 135) - { - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }; - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions(); - num3 = 1; - List list51 = new List(num3); - CollectionsMarshal.SetCount(list51, num3); - CollectionsMarshal.AsSpan(list51)[0] = "(Phase 1, second enemy group) Stuck with enemy being out of sight -- but still able to attack you (tested on ACN)"; - singlePlayerDutyOptions.Notes = list51; - obj35.SinglePlayerDutyOptions = singlePlayerDutyOptions; - reference35 = obj35; - obj34.Steps = list50; - reference34 = obj34; - ref QuestSequence reference36 = ref span11[4]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.Interact, 1002238u, new Vector3(247.36401f, 14.02301f, 611.9325f), 135); - obj36.Steps = list52; - reference36 = obj36; - ref QuestSequence reference37 = ref span11[5]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002237u, new Vector3(167.55933f, 14.095915f, 683.92444f), 135); - obj37.Steps = list53; - reference37 = obj37; - questRoot8.QuestSequence = list46; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(415); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - CollectionsMarshal.AsSpan(list54)[0] = "liza"; - questRoot9.Author = list54; - num = 5; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - Span span13 = CollectionsMarshal.AsSpan(list55); - ref QuestSequence reference38 = ref span13[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002274u, new Vector3(-34.65332f, 8.921356f, 861.4479f), 135); - obj38.Steps = list56; - reference38 = obj38; - ref QuestSequence reference39 = ref span13[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.Interact, 1002456u, new Vector3(-94.86542f, 2.3717625f, 734.2793f), 135); - obj39.Steps = list57; - reference39 = obj39; - ref QuestSequence reference40 = ref span13[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - Span span14 = CollectionsMarshal.AsSpan(list58); - ref QuestStep reference41 = ref span14[0]; - QuestStep obj41 = new QuestStep(EInteractionType.Interact, 2000769u, new Vector3(-145.09808f, 1.0527954f, 709.10205f), 135) - { - StopDistance = 4f - }; - num3 = 6; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - Span span15 = CollectionsMarshal.AsSpan(list59); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj41.CompletionQuestVariablesFlags = list59; - reference41 = obj41; - ref QuestStep reference42 = ref span14[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2000770u, new Vector3(-185.68707f, -0.13739014f, 694.6669f), 135); - num3 = 6; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - Span span16 = CollectionsMarshal.AsSpan(list60); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list60; - reference42 = questStep; - ref QuestStep reference43 = ref span14[2]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2000771u, new Vector3(-168.84113f, 1.9683228f, 659.327f), 135); - num3 = 6; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - Span span17 = CollectionsMarshal.AsSpan(list61); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list61; - reference43 = questStep2; - obj40.Steps = list58; - reference40 = obj40; - ref QuestSequence reference44 = ref span13[3]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.Interact, 1002456u, new Vector3(-94.86542f, 2.3717625f, 734.2793f), 135); - obj42.Steps = list62; - reference44 = obj42; - ref QuestSequence reference45 = ref span13[4]; - QuestSequence obj43 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002238u, new Vector3(247.36401f, 14.02301f, 611.9325f), 135) - { - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }; - obj43.Steps = list63; - reference45 = obj43; - questRoot9.QuestSequence = list55; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(418); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - CollectionsMarshal.AsSpan(list64)[0] = "JerryWester"; - questRoot10.Author = list64; - num = 7; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - Span span18 = CollectionsMarshal.AsSpan(list65); - ref QuestSequence reference46 = ref span18[0]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010961u, new Vector3(33.279907f, 20.495003f, -655.20715f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj44.Steps = list66; - reference46 = obj44; - ref QuestSequence reference47 = ref span18[1]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.Interact, 1009057u, new Vector3(-25.497864f, 38.010006f, 83.359985f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - obj45.Steps = list67; - reference47 = obj45; - ref QuestSequence reference48 = ref span18[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Interact, 1009057u, new Vector3(-25.497864f, 38.010006f, 83.359985f), 131); - obj46.Steps = list68; - reference48 = obj46; - ref QuestSequence reference49 = ref span18[3]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - Span span19 = CollectionsMarshal.AsSpan(list69); - span19[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-123.426254f, 301.84348f, -283.14267f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span19[1] = new QuestStep(EInteractionType.Interact, 1006454u, new Vector3(-168.84113f, 304.1538f, -328.66406f), 155) - { - Fly = true - }; - obj47.Steps = list69; - reference49 = obj47; - ref QuestSequence reference50 = ref span18[4]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - ref QuestStep reference51 = ref CollectionsMarshal.AsSpan(list70)[0]; - QuestStep obj49 = new QuestStep(EInteractionType.Combat, null, new Vector3(-497.33295f, 206.35991f, -363.85968f), 155) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - Span span20 = CollectionsMarshal.AsSpan(list71); - span20[0] = 387u; - span20[1] = 3659u; - obj49.KillEnemyDataIds = list71; - reference51 = obj49; - obj48.Steps = list70; - reference50 = obj48; - ref QuestSequence reference52 = ref span18[5]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - ref QuestStep reference53 = ref CollectionsMarshal.AsSpan(list72)[0]; - QuestStep obj51 = new QuestStep(EInteractionType.Combat, null, new Vector3(127.06116f, 373.5079f, -653.1907f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - Span span21 = CollectionsMarshal.AsSpan(list73); - span21[0] = 398u; - span21[1] = 3658u; - obj51.KillEnemyDataIds = list73; - reference53 = obj51; - obj50.Steps = list72; - reference52 = obj50; - ref QuestSequence reference54 = ref span18[6]; - QuestSequence obj52 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - Span span22 = CollectionsMarshal.AsSpan(list74); - span22[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-133.9223f, 304.15378f, -292.65924f), 155) - { - Fly = true - }; - span22[1] = new QuestStep(EInteractionType.CompleteQuest, 1006454u, new Vector3(-168.84113f, 304.1538f, -328.66406f), 155) - { - Fly = true - }; - obj52.Steps = list74; - reference54 = obj52; - questRoot10.QuestSequence = list65; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(420); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - CollectionsMarshal.AsSpan(list75)[0] = "JerryWester"; - questRoot11.Author = list75; - num = 5; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - Span span23 = CollectionsMarshal.AsSpan(list76); - ref QuestSequence reference55 = ref span23[0]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010897u, new Vector3(0.9613037f, -1.9957249f, -45.609253f), 351); - obj53.Steps = list77; - reference55 = obj53; - ref QuestSequence reference56 = ref span23[1]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - Span span24 = CollectionsMarshal.AsSpan(list78); - span24[0] = new QuestStep(EInteractionType.Interact, 2002880u, new Vector3(-0.015319824f, -1.0223389f, -29.251587f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span24[1] = new QuestStep(EInteractionType.Interact, 2005060u, new Vector3(-4.135254f, 0.015197754f, -9.628479f), 351); - obj54.Steps = list78; - reference56 = obj54; - ref QuestSequence reference57 = ref span23[2]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.Interact, 1011612u, new Vector3(7.736328f, 0f, -8.438293f), 351); - obj55.Steps = list79; - reference57 = obj55; - ref QuestSequence reference58 = ref span23[3]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - Span span25 = CollectionsMarshal.AsSpan(list80); - span25[0] = new QuestStep(EInteractionType.Interact, 2002879u, new Vector3(-0.015319824f, 2.9754639f, 27.481445f), 351) - { - TargetTerritoryId = (ushort)156 - }; - span25[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(29.414328f, 21.232033f, -652.65454f), 156) - { - Mount = true - }; - span25[2] = new QuestStep(EInteractionType.Interact, 1010979u, new Vector3(27.023682f, 32.412476f, -697.35254f), 156) - { - StopDistance = 1f, - Fly = true - }; - obj56.Steps = list80; - reference58 = obj56; - ref QuestSequence reference59 = ref span23[4]; - QuestSequence obj57 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - Span span26 = CollectionsMarshal.AsSpan(list81); - span26[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(29.414328f, 21.232033f, -652.65454f), 156) - { - Fly = true - }; - span26[1] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351 - }; - span26[2] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span26[3] = new QuestStep(EInteractionType.CompleteQuest, 1008969u, new Vector3(0.99176025f, -1.9957249f, -45.700806f), 351); - obj57.Steps = list81; - reference59 = obj57; - questRoot11.QuestSequence = list76; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(421); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - CollectionsMarshal.AsSpan(list82)[0] = "JerryWester"; - questRoot12.Author = list82; - num = 6; - List list83 = new List(num); - CollectionsMarshal.SetCount(list83, num); - Span span27 = CollectionsMarshal.AsSpan(list83); - ref QuestSequence reference60 = ref span27[0]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010897u, new Vector3(0.9613037f, -1.9957249f, -45.609253f), 351); - obj58.Steps = list84; - reference60 = obj58; - ref QuestSequence reference61 = ref span27[1]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.Interact, 1010980u, new Vector3(-341.6648f, -2.3744712f, 10.696533f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - } - }; - obj59.Steps = list85; - reference61 = obj59; - ref QuestSequence reference62 = ref span27[2]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.Interact, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129); - obj60.Steps = list86; - reference62 = obj60; - ref QuestSequence reference63 = ref span27[3]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.Interact, 2005073u, new Vector3(-1.0223389f, 29.55664f, 172.96094f), 134) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaArcanist, - To = EAetheryteLocation.LimsaZephyrGate - } - }; - obj61.Steps = list87; - reference63 = obj61; - ref QuestSequence reference64 = ref span27[4]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 1010981u, new Vector3(124.74243f, 45.74832f, 135.7594f), 134) - { - Fly = true - }; - obj62.Steps = list88; - reference64 = obj62; - ref QuestSequence reference65 = ref span27[5]; - QuestSequence obj63 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - } - }; - obj63.Steps = list89; - reference65 = obj63; - questRoot12.QuestSequence = list83; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(422); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - CollectionsMarshal.AsSpan(list90)[0] = "JerryWester"; - questRoot13.Author = list90; - num = 6; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - Span span28 = CollectionsMarshal.AsSpan(list91); - ref QuestSequence reference66 = ref span28[0]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011020u, new Vector3(-329.09137f, 12.899738f, 12.039368f), 129); - obj64.Steps = list92; - reference66 = obj64; - ref QuestSequence reference67 = ref span28[1]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.Interact, 1010982u, new Vector3(570.18384f, 20.637413f, 490.6233f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj65.Steps = list93; - reference67 = obj65; - ref QuestSequence reference68 = ref span28[2]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Interact, 1010983u, new Vector3(594.7814f, 8.632993f, 601.77f), 137) - { - Fly = true - }; - obj66.Steps = list94; - reference68 = obj66; - ref QuestSequence reference69 = ref span28[3]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - ref QuestStep reference70 = ref CollectionsMarshal.AsSpan(list95)[0]; - QuestStep obj68 = new QuestStep(EInteractionType.Combat, 2005064u, new Vector3(602.9907f, 8.987488f, 577.66077f), 137) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list96 = new List(num3); - CollectionsMarshal.SetCount(list96, num3); - CollectionsMarshal.AsSpan(list96)[0] = 3660u; - obj68.KillEnemyDataIds = list96; - reference70 = obj68; - obj67.Steps = list95; - reference69 = obj67; - ref QuestSequence reference71 = ref span28[4]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.Interact, 1010983u, new Vector3(594.7814f, 8.632993f, 601.77f), 137); - obj69.Steps = list97; - reference71 = obj69; - ref QuestSequence reference72 = ref span28[5]; - QuestSequence obj70 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - Span span29 = CollectionsMarshal.AsSpan(list98); - span29[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span29[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span29[2] = new QuestStep(EInteractionType.CompleteQuest, 1010897u, new Vector3(0.9613037f, -1.9957249f, -45.609253f), 351); - obj70.Steps = list98; - reference72 = obj70; - questRoot13.QuestSequence = list91; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(423); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - CollectionsMarshal.AsSpan(list99)[0] = "JerryWester"; - questRoot14.Author = list99; - num = 13; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - Span span30 = CollectionsMarshal.AsSpan(list100); - ref QuestSequence reference73 = ref span30[0]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010897u, new Vector3(0.9613037f, -1.9957249f, -45.609253f), 351); - obj71.Steps = list101; - reference73 = obj71; - ref QuestSequence reference74 = ref span30[1]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - Span span31 = CollectionsMarshal.AsSpan(list102); - span31[0] = new QuestStep(EInteractionType.Interact, 2002880u, new Vector3(-0.015319824f, -1.0223389f, -29.251587f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span31[1] = new QuestStep(EInteractionType.Interact, 1011615u, new Vector3(-1.3275757f, 0f, -2.7008667f), 351); - obj72.Steps = list102; - reference74 = obj72; - ref QuestSequence reference75 = ref span30[2]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.Interact, 1010984u, new Vector3(-207.44641f, 20.86788f, 360.06702f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil - }; - obj73.Steps = list103; - reference75 = obj73; - ref QuestSequence reference76 = ref span30[3]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.Interact, 1010985u, new Vector3(-223.71259f, 12.277637f, 47.989624f), 153) - { - Fly = true - }; - obj74.Steps = list104; - reference76 = obj74; - ref QuestSequence reference77 = ref span30[4]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - ref QuestStep reference78 = ref CollectionsMarshal.AsSpan(list105)[0]; - QuestStep obj76 = new QuestStep(EInteractionType.Combat, 2005065u, new Vector3(-225.26898f, 13.137939f, 56.90088f), 153) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - CollectionsMarshal.AsSpan(list106)[0] = 23u; - obj76.KillEnemyDataIds = list106; - reference78 = obj76; - obj75.Steps = list105; - reference77 = obj75; - ref QuestSequence reference79 = ref span30[5]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.Interact, 1010985u, new Vector3(-223.71259f, 12.277637f, 47.989624f), 153); - obj77.Steps = list107; - reference79 = obj77; - ref QuestSequence reference80 = ref span30[6]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.Interact, 1010986u, new Vector3(122.941895f, 24.534142f, 169.72607f), 153) - { - Fly = true - }; - obj78.Steps = list108; - reference80 = obj78; - ref QuestSequence reference81 = ref span30[7]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - ref QuestStep reference82 = ref CollectionsMarshal.AsSpan(list109)[0]; - QuestStep obj80 = new QuestStep(EInteractionType.Combat, 2005066u, new Vector3(109.666504f, 24.15503f, 174.7616f), 153) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list110 = new List(num3); - CollectionsMarshal.SetCount(list110, num3); - Span span32 = CollectionsMarshal.AsSpan(list110); - span32[0] = 24u; - span32[1] = 130u; - obj80.KillEnemyDataIds = list110; - reference82 = obj80; - obj79.Steps = list109; - reference81 = obj79; - ref QuestSequence reference83 = ref span30[8]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.Interact, 1010986u, new Vector3(122.941895f, 24.534142f, 169.72607f), 153); - obj81.Steps = list111; - reference83 = obj81; - ref QuestSequence reference84 = ref span30[9]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.Interact, 1010987u, new Vector3(-355.2453f, 0.6691612f, 459.3728f), 153) - { - Fly = true - }; - obj82.Steps = list112; - reference84 = obj82; - ref QuestSequence reference85 = ref span30[10]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - ref QuestStep reference86 = ref CollectionsMarshal.AsSpan(list113)[0]; - QuestStep obj84 = new QuestStep(EInteractionType.Combat, 2005067u, new Vector3(-338.42987f, -0.07635498f, 453.4828f), 153) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - CollectionsMarshal.AsSpan(list114)[0] = 305u; - obj84.KillEnemyDataIds = list114; - reference86 = obj84; - obj83.Steps = list113; - reference85 = obj83; - ref QuestSequence reference87 = ref span30[11]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 11 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.Interact, 1010987u, new Vector3(-355.2453f, 0.6691612f, 459.3728f), 153); - obj85.Steps = list115; - reference87 = obj85; - ref QuestSequence reference88 = ref span30[12]; - QuestSequence obj86 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.CompleteQuest, 1010984u, new Vector3(-207.44641f, 20.86788f, 360.06702f), 153) - { - Fly = true - }; - obj86.Steps = list116; - reference88 = obj86; - questRoot14.QuestSequence = list100; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(424); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - CollectionsMarshal.AsSpan(list117)[0] = "JerryWester"; - questRoot15.Author = list117; - num = 4; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - Span span33 = CollectionsMarshal.AsSpan(list118); - ref QuestSequence reference89 = ref span33[0]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010984u, new Vector3(-207.44641f, 20.86788f, 360.06702f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj87.Steps = list119; - reference89 = obj87; - ref QuestSequence reference90 = ref span33[1]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.Interact, 1010988u, new Vector3(618.40234f, 22.52846f, 105.63818f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill - }; - obj88.Steps = list120; - reference90 = obj88; - ref QuestSequence reference91 = ref span33[2]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.Interact, 2005068u, new Vector3(604.57764f, 24.032959f, 105.119385f), 153); - obj89.Steps = list121; - reference91 = obj89; - ref QuestSequence reference92 = ref span33[3]; - QuestSequence obj90 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - Span span34 = CollectionsMarshal.AsSpan(list122); - span34[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span34[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span34[2] = new QuestStep(EInteractionType.CompleteQuest, 1010897u, new Vector3(0.9613037f, -1.9957249f, -45.609253f), 351); - obj90.Steps = list122; - reference92 = obj90; - questRoot15.QuestSequence = list118; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(425); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - CollectionsMarshal.AsSpan(list123)[0] = "JerryWester"; - questRoot16.Author = list123; - num = 2; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - Span span35 = CollectionsMarshal.AsSpan(list124); - ref QuestSequence reference93 = ref span35[0]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - Span span36 = CollectionsMarshal.AsSpan(list125); - ref QuestStep reference94 = ref span36[0]; - QuestStep obj92 = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list126 = new List(num3); - CollectionsMarshal.SetCount(list126, num3); - CollectionsMarshal.AsSpan(list126)[0] = 351; - skipStepConditions.InTerritory = list126; - skipConditions.StepIf = skipStepConditions; - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list127 = new List(num3); - CollectionsMarshal.SetCount(list127, num3); - CollectionsMarshal.AsSpan(list127)[0] = 351; - skipAetheryteCondition.InTerritory = list127; - skipConditions.AetheryteShortcutIf = skipAetheryteCondition; - obj92.SkipConditions = skipConditions; - reference94 = obj92; - span36[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.RisingStonesSolar - } - } - }; - span36[2] = new QuestStep(EInteractionType.AcceptQuest, 1010897u, new Vector3(0.9613037f, -1.9957249f, -45.609253f), 351); - obj91.Steps = list125; - reference93 = obj91; - ref QuestSequence reference95 = ref span35[1]; - QuestSequence obj93 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.CompleteQuest, 1010992u, new Vector3(-6.149414f, 29.99998f, 19.150085f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - obj93.Steps = list128; - reference95 = obj93; - questRoot16.QuestSequence = list124; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(426); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list129 = new List(num); - CollectionsMarshal.SetCount(list129, num); - CollectionsMarshal.AsSpan(list129)[0] = "JerryWester"; - questRoot17.Author = list129; - num = 6; - List list130 = new List(num); - CollectionsMarshal.SetCount(list130, num); - Span span37 = CollectionsMarshal.AsSpan(list130); - ref QuestSequence reference96 = ref span37[0]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010992u, new Vector3(-6.149414f, 29.99998f, 19.150085f), 131); - obj94.Steps = list131; - reference96 = obj94; - ref QuestSequence reference97 = ref span37[1]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.Interact, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahChamberOfRule, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj95.Steps = list132; - reference97 = obj95; - ref QuestSequence reference98 = ref span37[2]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.Interact, 2005069u, new Vector3(-289.17377f, 22.812195f, -56.6568f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - obj96.Steps = list133; - reference98 = obj96; - ref QuestSequence reference99 = ref span37[3]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.Interact, 2005070u, new Vector3(-289.17377f, 22.812195f, -56.6568f), 141); - obj97.Steps = list134; - reference99 = obj97; - ref QuestSequence reference100 = ref span37[4]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.Interact, 2005072u, new Vector3(-289.72308f, 22.812195f, -56.321106f), 141); - obj98.Steps = list135; - reference100 = obj98; - ref QuestSequence reference101 = ref span37[5]; - QuestSequence obj99 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj99.Steps = list136; - reference101 = obj99; - questRoot17.QuestSequence = list130; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(427); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list137 = new List(num); - CollectionsMarshal.SetCount(list137, num); - CollectionsMarshal.AsSpan(list137)[0] = "JerryWester"; - questRoot18.Author = list137; - num = 4; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - Span span38 = CollectionsMarshal.AsSpan(list138); - ref QuestSequence reference102 = ref span38[0]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130); - obj100.Steps = list139; - reference102 = obj100; - ref QuestSequence reference103 = ref span38[1]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - ref QuestStep reference104 = ref CollectionsMarshal.AsSpan(list140)[0]; - QuestStep obj102 = new QuestStep(EInteractionType.Interact, 1010997u, new Vector3(-22.354492f, 38.010006f, 83.42102f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - num3 = 1; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - CollectionsMarshal.AsSpan(list141)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_GAIUSE615_00427_Q1_000_012") - }; - obj102.DialogueChoices = list141; - reference104 = obj102; - obj101.Steps = list140; - reference103 = obj101; - ref QuestSequence reference105 = ref span38[2]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.Interact, 1010998u, new Vector3(78.416016f, -0.63573146f, -166.33862f), 141) - { - StopDistance = 5f - }; - obj103.Steps = list142; - reference105 = obj103; - ref QuestSequence reference106 = ref span38[3]; - QuestSequence obj104 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - Span span39 = CollectionsMarshal.AsSpan(list143); - span39[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(241.6061f, 303.12494f, -199.86047f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span39[1] = new QuestStep(EInteractionType.CompleteQuest, 1006384u, new Vector3(263.5996f, 303.1f, -199.96954f), 155); - obj104.Steps = list143; - reference106 = obj104; - questRoot18.QuestSequence = list138; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(428); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list144 = new List(num); - CollectionsMarshal.SetCount(list144, num); - CollectionsMarshal.AsSpan(list144)[0] = "JerryWester"; - questRoot19.Author = list144; - num = 2; - List list145 = new List(num); - CollectionsMarshal.SetCount(list145, num); - Span span40 = CollectionsMarshal.AsSpan(list145); - ref QuestSequence reference107 = ref span40[0]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006384u, new Vector3(263.5996f, 303.1f, -199.96954f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj105.Steps = list146; - reference107 = obj105; - ref QuestSequence reference108 = ref span40[1]; - QuestSequence obj106 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - ref QuestStep reference109 = ref CollectionsMarshal.AsSpan(list147)[0]; - QuestStep obj107 = new QuestStep(EInteractionType.CompleteQuest, 1007603u, new Vector3(264.91187f, 302.26236f, -223.71259f), 155) - { - Mount = true - }; - num3 = 1; - List list148 = new List(num3); - CollectionsMarshal.SetCount(list148, num3); - CollectionsMarshal.AsSpan(list148)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_GAIUSE616_00428_FORTEMPSGUARD00428_Q1_000_000") - }; - obj107.DialogueChoices = list148; - reference109 = obj107; - obj106.Steps = list147; - reference108 = obj106; - questRoot19.QuestSequence = list145; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(429); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list149 = new List(num); - CollectionsMarshal.SetCount(list149, num); - CollectionsMarshal.AsSpan(list149)[0] = "JerryWester"; - questRoot20.Author = list149; - num = 3; - List list150 = new List(num); - CollectionsMarshal.SetCount(list150, num); - Span span41 = CollectionsMarshal.AsSpan(list150); - ref QuestSequence reference110 = ref span41[0]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011000u, new Vector3(-0.07635498f, -1.9957249f, -42.25226f), 351); - obj108.Steps = list151; - reference110 = obj108; - ref QuestSequence reference111 = ref span41[1]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - Span span42 = CollectionsMarshal.AsSpan(list152); - span42[0] = new QuestStep(EInteractionType.Interact, 2002880u, new Vector3(-0.015319824f, -1.0223389f, -29.251587f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span42[1] = new QuestStep(EInteractionType.Interact, 2002879u, new Vector3(-0.015319824f, 2.9754639f, 27.481445f), 351) - { - TargetTerritoryId = (ushort)156 - }; - span42[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(30.917934f, 20.495003f, -656.1909f), 156) - { - Mount = true - }; - span42[3] = new QuestStep(EInteractionType.Interact, 2005045u, new Vector3(-146.44086f, 43.656006f, -188.61682f), 156) - { - Fly = true - }; - obj109.Steps = list152; - reference111 = obj109; - ref QuestSequence reference112 = ref span41[2]; - QuestSequence obj110 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - Span span43 = CollectionsMarshal.AsSpan(list153); - span43[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span43[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span43[2] = new QuestStep(EInteractionType.CompleteQuest, 1010897u, new Vector3(0.9613037f, -1.9957249f, -45.609253f), 351); - obj110.Steps = list153; - reference112 = obj110; - questRoot20.QuestSequence = list150; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(433); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list154 = new List(num); - CollectionsMarshal.SetCount(list154, num); - CollectionsMarshal.AsSpan(list154)[0] = "liza"; - questRoot21.Author = list154; - num = 4; - List list155 = new List(num); - CollectionsMarshal.SetCount(list155, num); - Span span44 = CollectionsMarshal.AsSpan(list155); - ref QuestSequence reference113 = ref span44[0]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009294u, new Vector3(-63.767517f, -1.7171676f, 11.673096f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj111.Steps = list156; - reference113 = obj111; - ref QuestSequence reference114 = ref span44[1]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.Interact, 1011250u, new Vector3(616.51013f, 22.291952f, 85.22156f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill - }; - obj112.Steps = list157; - reference114 = obj112; - ref QuestSequence reference115 = ref span44[2]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.Duty, null, null, 153) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 82u - } - }; - obj113.Steps = list158; - reference115 = obj113; - ref QuestSequence reference116 = ref span44[3]; - QuestSequence obj114 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011250u, new Vector3(616.51013f, 22.291952f, 85.22156f), 153); - obj114.Steps = list159; - reference116 = obj114; - questRoot21.QuestSequence = list155; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(434); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list160 = new List(num); - CollectionsMarshal.SetCount(list160, num); - CollectionsMarshal.AsSpan(list160)[0] = "liza"; - questRoot22.Author = list160; - num = 2; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - Span span45 = CollectionsMarshal.AsSpan(list161); - ref QuestSequence reference117 = ref span45[0]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011565u, new Vector3(-78.8739f, 4f, -110.429565f), 130); - obj115.Steps = list162; - reference117 = obj115; - ref QuestSequence reference118 = ref span45[1]; - QuestSequence obj116 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - ref QuestStep reference119 = ref CollectionsMarshal.AsSpan(list163)[0]; - QuestStep obj117 = new QuestStep(EInteractionType.CompleteQuest, 1004433u, new Vector3(-23.605713f, 83.19999f, -2.3041382f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAirship - } - }; - num3 = 1; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - CollectionsMarshal.AsSpan(list164)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_SUBGSC001_00434_Q1_000_000") - }; - obj117.DialogueChoices = list164; - obj117.NextQuestId = new QuestId(435); - reference119 = obj117; - obj116.Steps = list163; - reference118 = obj116; - questRoot22.QuestSequence = list161; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(435); - QuestRoot questRoot23 = new QuestRoot(); - num = 2; - List list165 = new List(num); - CollectionsMarshal.SetCount(list165, num); - Span span46 = CollectionsMarshal.AsSpan(list165); - span46[0] = "liza"; - span46[1] = "JerryWester"; - questRoot23.Author = list165; - num = 8; - List list166 = new List(num); - CollectionsMarshal.SetCount(list166, num); - Span span47 = CollectionsMarshal.AsSpan(list166); - ref QuestSequence reference120 = ref span47[0]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011022u, new Vector3(-38.895264f, -2.7930364E-06f, 97.33728f), 144) - { - StopDistance = 7f - }; - obj118.Steps = list167; - reference120 = obj118; - ref QuestSequence reference121 = ref span47[1]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - Span span48 = CollectionsMarshal.AsSpan(list168); - span48[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 144) - { - StopDistance = 7f, - AethernetShard = EAetheryteLocation.GoldSaucerEntranceCardSquares - }; - span48[1] = new QuestStep(EInteractionType.Interact, 1010448u, new Vector3(-54.00177f, 1.6000003f, 30.685791f), 144) - { - StopDistance = 5f - }; - obj119.Steps = list168; - reference121 = obj119; - ref QuestSequence reference122 = ref span47[2]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.Interact, 1011038u, new Vector3(-58.884644f, 1.6000003f, 27.634033f), 144) - { - StopDistance = 5f - }; - obj120.Steps = list169; - reference122 = obj120; - ref QuestSequence reference123 = ref span47[3]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.Interact, 1010478u, new Vector3(-99.19891f, -0.86297023f, 66.11731f), 144); - obj121.Steps = list170; - reference123 = obj121; - ref QuestSequence reference124 = ref span47[4]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 4 - }; - num2 = 6; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - Span span49 = CollectionsMarshal.AsSpan(list171); - span49[0] = new QuestStep(EInteractionType.Interact, 1011044u, new Vector3(-84.45868f, 3.7690625E-06f, 29.06836f), 144) - { - TargetTerritoryId = (ushort)388 - }; - span49[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 388) - { - StopDistance = 5f, - AethernetShard = EAetheryteLocation.GoldSaucerMinionSquare - }; - span49[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 388) - { - StopDistance = 7f, - AethernetShard = EAetheryteLocation.GoldSaucerChocoboSquare - }; - span49[3] = new QuestStep(EInteractionType.None, null, null, 388) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GoldSaucerChocoboSquare, - To = EAetheryteLocation.GoldSaucerEntranceCardSquares - } - }; - span49[4] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 144) - { - DelaySecondsAtStart = 3f, - Aetheryte = EAetheryteLocation.GoldSaucer - }; - span49[5] = new QuestStep(EInteractionType.Interact, 1011080u, new Vector3(21.530457f, 3.9997296f, 39.902344f), 144); - obj122.Steps = list171; - reference124 = obj122; - ref QuestSequence reference125 = ref span47[5]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 5 - }; - num2 = 9; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - Span span50 = CollectionsMarshal.AsSpan(list172); - span50[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(46.78062f, 11.798187f, 20.328043f), 144); - span50[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 144) - { - StopDistance = 7f, - DelaySecondsAtStart = 3f, - AethernetShard = EAetheryteLocation.GoldSaucerWonderSquareWest - }; - span50[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 144) - { - StopDistance = 7f, - AethernetShard = EAetheryteLocation.GoldSaucerWonderSquareEast - }; - span50[3] = new QuestStep(EInteractionType.None, null, null, 144) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GoldSaucerWonderSquareEast, - To = EAetheryteLocation.GoldSaucer - } - }; - span50[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 144) - { - StopDistance = 7f, - DelaySecondsAtStart = 3f, - AethernetShard = EAetheryteLocation.GoldSaucerEventSquare - }; - span50[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(122.973015f, -0.5100681f, -50.024624f), 144) - { - DelaySecondsAtStart = 3f - }; - span50[6] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 144) - { - StopDistance = 7f, - AethernetShard = EAetheryteLocation.GoldSaucerCactpotBoard - }; - span50[7] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(111.36922f, 13.000123f, -24.209782f), 144); - span50[8] = new QuestStep(EInteractionType.Interact, 1011079u, new Vector3(125.078125f, 13.000635f, -13.778931f), 144) - { - StopDistance = 4f - }; - obj123.Steps = list172; - reference125 = obj123; - ref QuestSequence reference126 = ref span47[6]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 6 - }; - num2 = 3; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - Span span51 = CollectionsMarshal.AsSpan(list173); - span51[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(111.36922f, 13.000123f, -24.209782f), 144); - span51[1] = new QuestStep(EInteractionType.None, null, null, 144) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GoldSaucerCactpotBoard, - To = EAetheryteLocation.GoldSaucer - } - }; - span51[2] = new QuestStep(EInteractionType.Interact, 1011084u, new Vector3(-12.527649f, 3.2546434f, -73.16705f), 144) - { - DelaySecondsAtStart = 3f - }; - obj124.Steps = list173; - reference126 = obj124; - ref QuestSequence reference127 = ref span47[7]; - QuestSequence obj125 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - Span span52 = CollectionsMarshal.AsSpan(list174); - span52[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 144) - { - StopDistance = 7f, - AethernetShard = EAetheryteLocation.GoldSaucerRoundSquare - }; - span52[1] = new QuestStep(EInteractionType.None, null, null, 144) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GoldSaucerRoundSquare, - To = EAetheryteLocation.GoldSaucerEntranceCardSquares - } - }; - span52[2] = new QuestStep(EInteractionType.CompleteQuest, 1010448u, new Vector3(-54.00177f, 1.6000003f, 30.685791f), 144) - { - StopDistance = 5f, - DelaySecondsAtStart = 3f - }; - obj125.Steps = list174; - reference127 = obj125; - questRoot23.QuestSequence = list166; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(436); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list175 = new List(num); - CollectionsMarshal.SetCount(list175, num); - CollectionsMarshal.AsSpan(list175)[0] = "Starr"; - questRoot24.Author = list175; - num = 2; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - Span span53 = CollectionsMarshal.AsSpan(list176); - ref QuestSequence reference128 = ref span53[0]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - ref QuestStep reference129 = ref CollectionsMarshal.AsSpan(list177)[0]; - QuestStep obj127 = new QuestStep(EInteractionType.AcceptQuest, 1010464u, new Vector3(-0.015319824f, -1.8903663E-06f, -65.61273f), 388) - { - AetheryteShortcut = EAetheryteLocation.GoldSaucer, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GoldSaucer, - To = EAetheryteLocation.GoldSaucerChocoboSquare - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition obj128 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list178 = new List(num3); - CollectionsMarshal.SetCount(list178, num3); - CollectionsMarshal.AsSpan(list178)[0] = 144; - obj128.InTerritory = list178; - skipConditions2.AetheryteShortcutIf = obj128; - obj127.SkipConditions = skipConditions2; - reference129 = obj127; - obj126.Steps = list177; - reference128 = obj126; - ref QuestSequence reference130 = ref span53[1]; - QuestSequence obj129 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - CollectionsMarshal.AsSpan(list179)[0] = new QuestStep(EInteractionType.CompleteQuest, 1010472u, new Vector3(-53.26935f, 0.3093315f, 69.41321f), 148) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - NextQuestId = new QuestId(565) - }; - obj129.Steps = list179; - reference130 = obj129; - questRoot24.QuestSequence = list176; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(437); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list180 = new List(num); - CollectionsMarshal.SetCount(list180, num); - CollectionsMarshal.AsSpan(list180)[0] = "Starr"; - questRoot25.Author = list180; - num = 1; - List list181 = new List(num); - CollectionsMarshal.SetCount(list181, num); - ref QuestSequence reference131 = ref CollectionsMarshal.AsSpan(list181)[0]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - ref QuestStep reference132 = ref CollectionsMarshal.AsSpan(list182)[0]; - QuestStep obj131 = new QuestStep(EInteractionType.AcceptQuest, 1011060u, new Vector3(-96.87958f, -0.86297023f, 67.826294f), 144) - { - AetheryteShortcut = EAetheryteLocation.GoldSaucer, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list183 = new List(num3); - CollectionsMarshal.SetCount(list183, num3); - CollectionsMarshal.AsSpan(list183)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_SUBGSC102_00437_Q1_000_000") - }; - obj131.DialogueChoices = list183; - reference132 = obj131; - obj130.Steps = list182; - reference131 = obj130; - questRoot25.QuestSequence = list181; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(438); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list184 = new List(num); - CollectionsMarshal.SetCount(list184, num); - CollectionsMarshal.AsSpan(list184)[0] = "Cacahuetes"; - questRoot26.Author = list184; - num = 12; - List list185 = new List(num); - CollectionsMarshal.SetCount(list185, num); - Span span54 = CollectionsMarshal.AsSpan(list185); - ref QuestSequence reference133 = ref span54[0]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - ref QuestStep reference134 = ref CollectionsMarshal.AsSpan(list186)[0]; - QuestStep obj133 = new QuestStep(EInteractionType.AcceptQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition obj134 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list187 = new List(num3); - CollectionsMarshal.SetCount(list187, num3); - CollectionsMarshal.AsSpan(list187)[0] = 133; - obj134.InTerritory = list187; - skipConditions3.AetheryteShortcutIf = obj134; - obj133.SkipConditions = skipConditions3; - reference134 = obj133; - obj132.Steps = list186; - reference133 = obj132; - ref QuestSequence reference135 = ref span54[1]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - CollectionsMarshal.AsSpan(list188)[0] = new QuestStep(EInteractionType.Interact, 1000756u, new Vector3(20.675903f, 24.30847f, 392.56873f), 152) - { - StopDistance = 2f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - obj135.Steps = list188; - reference135 = obj135; - ref QuestSequence reference136 = ref span54[2]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - Span span55 = CollectionsMarshal.AsSpan(list189); - span55[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(37.875587f, -1.4320529f, 335.96927f), 152) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - ref QuestStep reference137 = ref span55[1]; - QuestStep obj137 = new QuestStep(EInteractionType.Combat, 2000963u, new Vector3(39.230957f, -0.5036011f, 337.3922f), 152) - { - ItemId = 2000243u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list190 = new List(num3); - CollectionsMarshal.SetCount(list190, num3); - CollectionsMarshal.AsSpan(list190)[0] = 38u; - obj137.KillEnemyDataIds = list190; - reference137 = obj137; - obj136.Steps = list189; - reference136 = obj136; - ref QuestSequence reference138 = ref span54[3]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.Interact, 1000756u, new Vector3(20.675903f, 24.30847f, 392.56873f), 152) - { - StopDistance = 2f, - Fly = true - }; - obj138.Steps = list191; - reference138 = obj138; - ref QuestSequence reference139 = ref span54[4]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - Span span56 = CollectionsMarshal.AsSpan(list192); - span56[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-166.19086f, 8.399985f, -64.10584f), 153) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span56[1] = new QuestStep(EInteractionType.Interact, 1000590u, new Vector3(-165.9419f, 9.869227f, -81.34589f), 153); - obj139.Steps = list192; - reference139 = obj139; - ref QuestSequence reference140 = ref span54[5]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - Span span57 = CollectionsMarshal.AsSpan(list193); - span57[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-166.19086f, 8.399985f, -64.10584f), 153) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span57[1] = new QuestStep(EInteractionType.UseItem, 2000921u, new Vector3(-103.71564f, 6.42395f, 101.60974f), 153) - { - Fly = true, - ItemId = 2000232u - }; - obj140.Steps = list193; - reference140 = obj140; - ref QuestSequence reference141 = ref span54[6]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - Span span58 = CollectionsMarshal.AsSpan(list194); - span58[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-166.19086f, 8.399985f, -64.10584f), 153) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span58[1] = new QuestStep(EInteractionType.Interact, 1000590u, new Vector3(-165.9419f, 9.869227f, -81.34589f), 153); - obj141.Steps = list194; - reference141 = obj141; - ref QuestSequence reference142 = ref span54[7]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.Interact, 1002815u, new Vector3(-27.328918f, -34.62274f, 173.05249f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj142.Steps = list195; - reference142 = obj142; - ref QuestSequence reference143 = ref span54[8]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - ref QuestStep reference144 = ref CollectionsMarshal.AsSpan(list196)[0]; - QuestStep obj144 = new QuestStep(EInteractionType.Combat, null, new Vector3(-39.98818f, -46.837822f, 403.3237f), 154) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list197 = new List(num3); - CollectionsMarshal.SetCount(list197, num3); - CollectionsMarshal.AsSpan(list197)[0] = new ComplexCombatData - { - DataId = 17u, - MinimumKillCount = 6u - }; - obj144.ComplexCombatData = list197; - reference144 = obj144; - obj143.Steps = list196; - reference143 = obj143; - ref QuestSequence reference145 = ref span54[9]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - ref QuestStep reference146 = ref CollectionsMarshal.AsSpan(list198)[0]; - QuestStep obj146 = new QuestStep(EInteractionType.Combat, 2000922u, new Vector3(28.244385f, -54.337463f, 512.932f), 154) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list199 = new List(num3); - CollectionsMarshal.SetCount(list199, num3); - CollectionsMarshal.AsSpan(list199)[0] = 18u; - obj146.KillEnemyDataIds = list199; - obj146.CombatDelaySecondsAtStart = 3f; - reference146 = obj146; - obj145.Steps = list198; - reference145 = obj145; - ref QuestSequence reference147 = ref span54[10]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.Interact, 1002815u, new Vector3(-27.328918f, -34.62274f, 173.05249f), 154) - { - Fly = true - }; - obj147.Steps = list200; - reference147 = obj147; - ref QuestSequence reference148 = ref span54[11]; - QuestSequence obj148 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - }, - NextQuestId = new QuestId(439) - }; - obj148.Steps = list201; - reference148 = obj148; - questRoot26.QuestSequence = list185; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(439); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list202 = new List(num); - CollectionsMarshal.SetCount(list202, num); - CollectionsMarshal.AsSpan(list202)[0] = "Cacahuetes"; - questRoot27.Author = list202; - num = 4; - List list203 = new List(num); - CollectionsMarshal.SetCount(list203, num); - Span span59 = CollectionsMarshal.AsSpan(list203); - ref QuestSequence reference149 = ref span59[0]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - ref QuestStep reference150 = ref CollectionsMarshal.AsSpan(list204)[0]; - QuestStep obj150 = new QuestStep(EInteractionType.AcceptQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - } - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition obj151 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list205 = new List(num3); - CollectionsMarshal.SetCount(list205, num3); - CollectionsMarshal.AsSpan(list205)[0] = 133; - obj151.InTerritory = list205; - skipConditions4.AetheryteShortcutIf = obj151; - obj150.SkipConditions = skipConditions4; - reference150 = obj150; - obj149.Steps = list204; - reference149 = obj149; - ref QuestSequence reference151 = ref span59[1]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2000924u, new Vector3(-389.24243f, 65.537476f, -186.57214f), 148) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLancer, - To = EAetheryteLocation.GridaniaWhiteWolfGate - } - }; - obj152.Steps = list206; - reference151 = obj152; - ref QuestSequence reference152 = ref span59[2]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - CollectionsMarshal.AsSpan(list207)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1000448u, new Vector3(-287.00696f, -54.431038f, 289.99768f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Index = 1 - } - }; - obj153.Steps = list207; - reference152 = obj153; - ref QuestSequence reference153 = ref span59[3]; - QuestSequence obj154 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - }, - NextQuestId = new QuestId(1067) - }; - obj154.Steps = list208; - reference153 = obj154; - questRoot27.QuestSequence = list203; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(440); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list209 = new List(num); - CollectionsMarshal.SetCount(list209, num); - CollectionsMarshal.AsSpan(list209)[0] = "Cacahuetes"; - questRoot28.Author = list209; - num = 6; - List list210 = new List(num); - CollectionsMarshal.SetCount(list210, num); - Span span60 = CollectionsMarshal.AsSpan(list210); - ref QuestSequence reference154 = ref span60[0]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - ref QuestStep reference155 = ref CollectionsMarshal.AsSpan(list211)[0]; - QuestStep obj156 = new QuestStep(EInteractionType.AcceptQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipAetheryteCondition obj157 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list212 = new List(num3); - CollectionsMarshal.SetCount(list212, num3); - CollectionsMarshal.AsSpan(list212)[0] = 133; - obj157.InTerritory = list212; - skipConditions5.AetheryteShortcutIf = obj157; - obj156.SkipConditions = skipConditions5; - reference155 = obj156; - obj155.Steps = list211; - reference154 = obj155; - ref QuestSequence reference156 = ref span60[1]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - CollectionsMarshal.AsSpan(list213)[0] = new QuestStep(EInteractionType.Interact, 1008149u, new Vector3(-172.83899f, 8.492639f, -55.222473f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill - }; - obj158.Steps = list213; - reference156 = obj158; - ref QuestSequence reference157 = ref span60[2]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.Interact, 1008146u, new Vector3(-183.43082f, 9.869224f, -76.830215f), 153); - obj159.Steps = list214; - reference157 = obj159; - ref QuestSequence reference158 = ref span60[3]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1008150u, new Vector3(28.30542f, 3.6544461f, 35.38562f), 153) - { - Fly = true - }; - obj160.Steps = list215; - reference158 = obj160; - ref QuestSequence reference159 = ref span60[4]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - CollectionsMarshal.AsSpan(list216)[0] = new QuestStep(EInteractionType.Interact, 1008157u, new Vector3(42.404785f, 3.2469568f, 32.88318f), 153); - obj161.Steps = list216; - reference159 = obj161; - ref QuestSequence reference160 = ref span60[5]; - QuestSequence obj162 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - }, - NextQuestId = new QuestId(441) - }; - obj162.Steps = list217; - reference160 = obj162; - questRoot28.QuestSequence = list210; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(441); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - CollectionsMarshal.AsSpan(list218)[0] = "Cacahuetes"; - questRoot29.Author = list218; - num = 9; - List list219 = new List(num); - CollectionsMarshal.SetCount(list219, num); - Span span61 = CollectionsMarshal.AsSpan(list219); - ref QuestSequence reference161 = ref span61[0]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - ref QuestStep reference162 = ref CollectionsMarshal.AsSpan(list220)[0]; - QuestStep obj164 = new QuestStep(EInteractionType.AcceptQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipAetheryteCondition obj165 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list221 = new List(num3); - CollectionsMarshal.SetCount(list221, num3); - CollectionsMarshal.AsSpan(list221)[0] = 133; - obj165.InTerritory = list221; - skipConditions6.AetheryteShortcutIf = obj165; - obj164.SkipConditions = skipConditions6; - reference162 = obj164; - obj163.Steps = list220; - reference161 = obj163; - ref QuestSequence reference163 = ref span61[1]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - ref QuestStep reference164 = ref CollectionsMarshal.AsSpan(list222)[0]; - QuestStep obj167 = new QuestStep(EInteractionType.Combat, 2000899u, new Vector3(43.900146f, 6.5460815f, -1.9379272f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list223 = new List(num3); - CollectionsMarshal.SetCount(list223, num3); - CollectionsMarshal.AsSpan(list223)[0] = 294u; - obj167.KillEnemyDataIds = list223; - reference164 = obj167; - obj166.Steps = list222; - reference163 = obj166; - ref QuestSequence reference165 = ref span61[2]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.Interact, 1002965u, new Vector3(51.181263f, 6.6893935f, -3.2490644f), 153) - { - StopDistance = 7f - }; - obj168.Steps = list224; - reference165 = obj168; - ref QuestSequence reference166 = ref span61[3]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - ref QuestStep reference167 = ref CollectionsMarshal.AsSpan(list225)[0]; - QuestStep obj170 = new QuestStep(EInteractionType.Combat, 2000901u, new Vector3(122.36206f, 17.898804f, -136.85822f), 153) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list226 = new List(num3); - CollectionsMarshal.SetCount(list226, num3); - CollectionsMarshal.AsSpan(list226)[0] = 294u; - obj170.KillEnemyDataIds = list226; - reference167 = obj170; - obj169.Steps = list225; - reference166 = obj169; - ref QuestSequence reference168 = ref span61[4]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.Interact, 1002966u, new Vector3(124.193115f, 17.550354f, -129.90009f), 153) - { - StopDistance = 7f - }; - obj171.Steps = list227; - reference168 = obj171; - ref QuestSequence reference169 = ref span61[5]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - ref QuestStep reference170 = ref CollectionsMarshal.AsSpan(list228)[0]; - QuestStep obj173 = new QuestStep(EInteractionType.Combat, 2000906u, new Vector3(292.04236f, 15.365784f, -107.286194f), 153) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list229 = new List(num3); - CollectionsMarshal.SetCount(list229, num3); - CollectionsMarshal.AsSpan(list229)[0] = 294u; - obj173.KillEnemyDataIds = list229; - reference170 = obj173; - obj172.Steps = list228; - reference169 = obj172; - ref QuestSequence reference171 = ref span61[6]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.Interact, 1002967u, new Vector3(293.29358f, 16.181925f, -112.68793f), 153) - { - StopDistance = 7f - }; - obj174.Steps = list230; - reference171 = obj174; - ref QuestSequence reference172 = ref span61[7]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1002968u, new Vector3(332.14307f, 4.1362643f, -85.648926f), 153) - { - Fly = true - }; - obj175.Steps = list231; - reference172 = obj175; - ref QuestSequence reference173 = ref span61[8]; - QuestSequence obj176 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - }, - NextQuestId = new QuestId(1079) - }; - obj176.Steps = list232; - reference173 = obj176; - questRoot29.QuestSequence = list219; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(445); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list233 = new List(num); - CollectionsMarshal.SetCount(list233, num); - CollectionsMarshal.AsSpan(list233)[0] = "liza"; - questRoot30.Author = list233; - num = 5; - List list234 = new List(num); - CollectionsMarshal.SetCount(list234, num); - Span span62 = CollectionsMarshal.AsSpan(list234); - ref QuestSequence reference174 = ref span62[0]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000421u, new Vector3(98.25281f, -8f, -78.446655f), 148); - obj177.Steps = list235; - reference174 = obj177; - ref QuestSequence reference175 = ref span62[1]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - ref QuestStep reference176 = ref CollectionsMarshal.AsSpan(list236)[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.SinglePlayerDuty, 2000953u, new Vector3(323.5979f, 0.3508911f, -309.55975f), 148); - SinglePlayerDutyOptions singlePlayerDutyOptions2 = new SinglePlayerDutyOptions(); - num3 = 1; - List list237 = new List(num3); - CollectionsMarshal.SetCount(list237, num3); - CollectionsMarshal.AsSpan(list237)[0] = "AI doesn't automatically target newly spawning adds until after the boss died, and dies (tested on CNJ)"; - singlePlayerDutyOptions2.Notes = list237; - questStep3.SinglePlayerDutyOptions = singlePlayerDutyOptions2; - reference176 = questStep3; - obj178.Steps = list236; - reference175 = obj178; - span62[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference177 = ref span62[3]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.Interact, 2001194u, new Vector3(323.627f, 0.3168333f, -309.5412f), 148); - obj179.Steps = list238; - reference177 = obj179; - ref QuestSequence reference178 = ref span62[4]; - QuestSequence obj180 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - CollectionsMarshal.AsSpan(list239)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000421u, new Vector3(98.25281f, -8f, -78.446655f), 148); - obj180.Steps = list239; - reference178 = obj180; - questRoot30.QuestSequence = list234; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(446); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list240 = new List(num); - CollectionsMarshal.SetCount(list240, num); - CollectionsMarshal.AsSpan(list240)[0] = "liza"; - questRoot31.Author = list240; - num = 2; - List list241 = new List(num); - CollectionsMarshal.SetCount(list241, num); - Span span63 = CollectionsMarshal.AsSpan(list241); - ref QuestSequence reference179 = ref span63[0]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - CollectionsMarshal.AsSpan(list242)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000471u, new Vector3(-60.471558f, 0.19999865f, 6.301941f), 148); - obj181.Steps = list242; - reference179 = obj181; - ref QuestSequence reference180 = ref span63[1]; - QuestSequence obj182 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAirship - } - }; - obj182.Steps = list243; - reference180 = obj182; - questRoot31.QuestSequence = list241; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(447); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list244 = new List(num); - CollectionsMarshal.SetCount(list244, num); - CollectionsMarshal.AsSpan(list244)[0] = "liza"; - questRoot32.Author = list244; - num = 5; - List list245 = new List(num); - CollectionsMarshal.SetCount(list245, num); - Span span64 = CollectionsMarshal.AsSpan(list245); - ref QuestSequence reference181 = ref span64[0]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - CollectionsMarshal.AsSpan(list246)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132); - obj183.Steps = list246; - reference181 = obj183; - ref QuestSequence reference182 = ref span64[1]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - Span span65 = CollectionsMarshal.AsSpan(list247); - ref QuestStep reference183 = ref span65[0]; - QuestStep obj185 = new QuestStep(EInteractionType.Interact, 1000423u, new Vector3(232.04382f, 1.999974f, 45.578613f), 132) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - } - }; - num3 = 1; - List list248 = new List(num3); - CollectionsMarshal.SetCount(list248, num3); - CollectionsMarshal.AsSpan(list248)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANFST007_00447_Q1_000_1") - }; - obj185.DialogueChoices = list248; - reference183 = obj185; - span65[1] = new QuestStep(EInteractionType.Interact, 1003061u, new Vector3(-0.015319824f, 0.500025f, -4.3793945f), 204) - { - StopDistance = 7f, - DisableNavmesh = true - }; - obj184.Steps = list247; - reference182 = obj184; - ref QuestSequence reference184 = ref span64[2]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - ref QuestStep reference185 = ref CollectionsMarshal.AsSpan(list249)[0]; - QuestStep obj187 = new QuestStep(EInteractionType.SinglePlayerDuty, 1000456u, new Vector3(-303.5172f, 21.902342f, 127.45862f), 148) - { - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows - }; - SinglePlayerDutyOptions obj188 = new SinglePlayerDutyOptions - { - Enabled = true - }; - num3 = 1; - List list250 = new List(num3); - CollectionsMarshal.SetCount(list250, num3); - CollectionsMarshal.AsSpan(list250)[0] = "(Phase 1) Healer NPCs are only killed after the boss dies - allied NPCs will kill them eventually; all NPCs need to be killed for the duty to complete"; - obj188.Notes = list250; - obj187.SinglePlayerDutyOptions = obj188; - reference185 = obj187; - obj186.Steps = list249; - reference184 = obj186; - span64[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference186 = ref span64[4]; - QuestSequence obj189 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - Span span66 = CollectionsMarshal.AsSpan(list251); - ref QuestStep reference187 = ref span66[0]; - QuestStep obj190 = new QuestStep(EInteractionType.Interact, 1000423u, new Vector3(232.04382f, 1.999974f, 45.578613f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - } - }; - num3 = 1; - List list252 = new List(num3); - CollectionsMarshal.SetCount(list252, num3); - CollectionsMarshal.AsSpan(list252)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANFST007_00447_Q1_000_1") - }; - obj190.DialogueChoices = list252; - reference187 = obj190; - span66[1] = new QuestStep(EInteractionType.CompleteQuest, 1003061u, new Vector3(-0.015319824f, 0.500025f, -4.3793945f), 204) - { - StopDistance = 7f, - DisableNavmesh = true - }; - obj189.Steps = list251; - reference186 = obj189; - questRoot32.QuestSequence = list245; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(448); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list253 = new List(num); - CollectionsMarshal.SetCount(list253, num); - CollectionsMarshal.AsSpan(list253)[0] = "liza"; - questRoot33.Author = list253; - num = 4; - List list254 = new List(num); - CollectionsMarshal.SetCount(list254, num); - Span span67 = CollectionsMarshal.AsSpan(list254); - ref QuestSequence reference188 = ref span67[0]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - CollectionsMarshal.AsSpan(list255)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003061u, new Vector3(-0.015319824f, 0.500025f, -4.3793945f), 204) - { - StopDistance = 7f - }; - obj191.Steps = list255; - reference188 = obj191; - ref QuestSequence reference189 = ref span67[1]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - Span span68 = CollectionsMarshal.AsSpan(list256); - span68[0] = new QuestStep(EInteractionType.Interact, 2001215u, new Vector3(0.002457563f, 1.052062f, 9.820032f), 204) - { - TargetTerritoryId = (ushort)132 - }; - span68[1] = new QuestStep(EInteractionType.Interact, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaArcher, - To = EAetheryteLocation.GridaniaAirship - } - }; - obj192.Steps = list256; - reference189 = obj192; - ref QuestSequence reference190 = ref span67[2]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.Interact, 1000153u, new Vector3(-44.87683f, -1.2500024f, 56.839844f), 132); - obj193.Steps = list257; - reference190 = obj193; - ref QuestSequence reference191 = ref span67[3]; - QuestSequence obj194 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - CollectionsMarshal.AsSpan(list258)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132); - obj194.Steps = list258; - reference191 = obj194; - questRoot33.QuestSequence = list254; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(449); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list259 = new List(num); - CollectionsMarshal.SetCount(list259, num); - CollectionsMarshal.AsSpan(list259)[0] = "liza"; - questRoot34.Author = list259; - num = 3; - List list260 = new List(num); - CollectionsMarshal.SetCount(list260, num); - Span span69 = CollectionsMarshal.AsSpan(list260); - ref QuestSequence reference192 = ref span69[0]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132); - obj195.Steps = list261; - reference192 = obj195; - ref QuestSequence reference193 = ref span69[1]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - Span span70 = CollectionsMarshal.AsSpan(list262); - span70[0] = new QuestStep(EInteractionType.EquipItem, null, null, 132) - { - ItemId = 2651u - }; - span70[1] = new QuestStep(EInteractionType.Interact, 1000286u, new Vector3(-53.574463f, 7.2025366f, -118.36426f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - obj196.Steps = list262; - reference193 = obj196; - ref QuestSequence reference194 = ref span69[2]; - QuestSequence obj197 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - Span span71 = CollectionsMarshal.AsSpan(list263); - span71[0] = new QuestStep(EInteractionType.Interact, 2000087u, new Vector3(0.015197754f, 1.449585f, 7.7057495f), 179) - { - TargetTerritoryId = (ushort)132 - }; - span71[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(40.596844f, -8f, 103.85207f), 132); - ref QuestStep reference195 = ref span71[2]; - QuestStep obj198 = new QuestStep(EInteractionType.Interact, 1000460u, new Vector3(-159.41101f, 4.054107f, -4.1047363f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - num3 = 1; - List list264 = new List(num3); - CollectionsMarshal.SetCount(list264, num3); - CollectionsMarshal.AsSpan(list264)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANFST009_00449_Q2_000_1") - }; - obj198.DialogueChoices = list264; - reference195 = obj198; - span71[3] = new QuestStep(EInteractionType.CompleteQuest, 1003027u, new Vector3(4.8981323f, -1.92944f, -0.19836426f), 205); - obj197.Steps = list263; - reference194 = obj197; - questRoot34.QuestSequence = list260; - AddQuest(questId34, questRoot34); - } - - private static void LoadQuests9() - { - QuestId questId = new QuestId(451); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "Cacahuetes"; - questRoot.Author = list; - num = 1; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - ref QuestSequence reference = ref CollectionsMarshal.AsSpan(list2)[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference2 = ref CollectionsMarshal.AsSpan(list3)[0]; - QuestStep obj2 = new QuestStep(EInteractionType.AcceptQuest, 1000895u, new Vector3(-335.74432f, 12.899764f, 1.3884888f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - int num3 = 1; - List list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - CollectionsMarshal.AsSpan(list4)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSACN001_00451_Q1_000_000") - }; - obj2.DialogueChoices = list4; - obj2.NextQuestId = new QuestId(452); - reference2 = obj2; - obj.Steps = list3; - reference = obj; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(452); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list5 = new List(num); - CollectionsMarshal.SetCount(list5, num); - CollectionsMarshal.AsSpan(list5)[0] = "Cacahuetes"; - questRoot2.Author = list5; - num = 2; - List list6 = new List(num); - CollectionsMarshal.SetCount(list6, num); - Span span = CollectionsMarshal.AsSpan(list6); - ref QuestSequence reference3 = ref span[0]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - Span span2 = CollectionsMarshal.AsSpan(list7); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-335.8204f, 12.899764f, 4.017052f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span2[1] = new QuestStep(EInteractionType.AcceptQuest, 1000895u, new Vector3(-335.74432f, 12.899764f, 1.3884888f), 129); - obj3.Steps = list7; - reference3 = obj3; - ref QuestSequence reference4 = ref span[1]; - QuestSequence obj4 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - ref QuestStep reference5 = ref CollectionsMarshal.AsSpan(list8)[0]; - QuestStep questStep = new QuestStep(EInteractionType.CompleteQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129); - num3 = 1; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - CollectionsMarshal.AsSpan(list9)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSACN011_00452_Q1_000_000") - }; - questStep.DialogueChoices = list9; - questStep.NextQuestId = new QuestId(454); - reference5 = questStep; - obj4.Steps = list8; - reference4 = obj4; - questRoot2.QuestSequence = list6; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(453); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - CollectionsMarshal.AsSpan(list10)[0] = "liza"; - questRoot3.Author = list10; - num = 4; - List list11 = new List(num); - CollectionsMarshal.SetCount(list11, num); - Span span3 = CollectionsMarshal.AsSpan(list11); - ref QuestSequence reference6 = ref span3[0]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - Span span4 = CollectionsMarshal.AsSpan(list12); - span4[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-335.8204f, 12.899764f, 4.017052f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span4[1] = new QuestStep(EInteractionType.AcceptQuest, 1000895u, new Vector3(-335.74432f, 12.899764f, 1.3884888f), 129); - obj5.Steps = list12; - reference6 = obj5; - ref QuestSequence reference7 = ref span3[1]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - ref QuestStep reference8 = ref CollectionsMarshal.AsSpan(list13)[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129); - num3 = 1; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - CollectionsMarshal.AsSpan(list14)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSACN020_00453_Q1_000_000") - }; - questStep2.DialogueChoices = list14; - reference8 = questStep2; - obj6.Steps = list13; - reference7 = obj6; - ref QuestSequence reference9 = ref span3[2]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - Span span5 = CollectionsMarshal.AsSpan(list15); - ref QuestStep reference10 = ref span5[0]; - QuestStep obj8 = new QuestStep(EInteractionType.Combat, null, new Vector3(-1.5568014f, 66.12121f, 102.35001f), 135) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaArcanist, - To = EAetheryteLocation.LimsaTempestGate - }, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - Span span6 = CollectionsMarshal.AsSpan(list16); - ref ComplexCombatData reference11 = ref span6[0]; - ComplexCombatData obj9 = new ComplexCombatData - { - DataId = 347u, - MinimumKillCount = 3u - }; - int num4 = 6; - List list17 = new List(num4); - CollectionsMarshal.SetCount(list17, num4); - Span span7 = CollectionsMarshal.AsSpan(list17); - span7[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span7[1] = null; - span7[2] = null; - span7[3] = null; - span7[4] = null; - span7[5] = null; - obj9.CompletionQuestVariablesFlags = list17; - reference11 = obj9; - ref ComplexCombatData reference12 = ref span6[1]; - ComplexCombatData obj10 = new ComplexCombatData - { - DataId = 49u, - MinimumKillCount = 3u - }; - num4 = 6; - List list18 = new List(num4); - CollectionsMarshal.SetCount(list18, num4); - Span span8 = CollectionsMarshal.AsSpan(list18); - span8[0] = null; - span8[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span8[2] = null; - span8[3] = null; - span8[4] = null; - span8[5] = null; - obj10.CompletionQuestVariablesFlags = list18; - reference12 = obj10; - obj8.ComplexCombatData = list16; - num3 = 6; - List list19 = new List(num3); - CollectionsMarshal.SetCount(list19, num3); - Span span9 = CollectionsMarshal.AsSpan(list19); - span9[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span9[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = null; - obj8.CompletionQuestVariablesFlags = list19; - reference10 = obj8; - ref QuestStep reference13 = ref span5[1]; - QuestStep obj11 = new QuestStep(EInteractionType.Combat, null, new Vector3(157.63565f, 38.01287f, 48.92973f), 135) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - ref ComplexCombatData reference14 = ref CollectionsMarshal.AsSpan(list20)[0]; - ComplexCombatData obj12 = new ComplexCombatData - { - DataId = 324u, - MinimumKillCount = 3u - }; - num4 = 6; - List list21 = new List(num4); - CollectionsMarshal.SetCount(list21, num4); - Span span10 = CollectionsMarshal.AsSpan(list21); - span10[0] = null; - span10[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = null; - obj12.CompletionQuestVariablesFlags = list21; - reference14 = obj12; - obj11.ComplexCombatData = list20; - num3 = 6; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - Span span11 = CollectionsMarshal.AsSpan(list22); - span11[0] = null; - span11[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = null; - obj11.CompletionQuestVariablesFlags = list22; - reference13 = obj11; - obj7.Steps = list15; - reference9 = obj7; - ref QuestSequence reference15 = ref span3[3]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - }, - NextQuestId = new QuestId(455) - }; - obj13.Steps = list23; - reference15 = obj13; - questRoot3.QuestSequence = list11; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(454); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - CollectionsMarshal.AsSpan(list24)[0] = "liza"; - questRoot4.Author = list24; - num = 3; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - Span span12 = CollectionsMarshal.AsSpan(list25); - ref QuestSequence reference16 = ref span12[0]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj14.Steps = list26; - reference16 = obj14; - ref QuestSequence reference17 = ref span12[1]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - Span span13 = CollectionsMarshal.AsSpan(list27); - ref QuestStep reference18 = ref span13[0]; - QuestStep obj16 = new QuestStep(EInteractionType.Combat, null, new Vector3(-1.5568014f, 66.12121f, 102.35001f), 135) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaArcanist, - To = EAetheryteLocation.LimsaTempestGate - }, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - Span span14 = CollectionsMarshal.AsSpan(list28); - ref ComplexCombatData reference19 = ref span14[0]; - ComplexCombatData obj17 = new ComplexCombatData - { - DataId = 347u, - MinimumKillCount = 3u - }; - num4 = 6; - List list29 = new List(num4); - CollectionsMarshal.SetCount(list29, num4); - Span span15 = CollectionsMarshal.AsSpan(list29); - span15[0] = null; - span15[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = null; - obj17.CompletionQuestVariablesFlags = list29; - reference19 = obj17; - ref ComplexCombatData reference20 = ref span14[1]; - ComplexCombatData obj18 = new ComplexCombatData - { - DataId = 49u, - MinimumKillCount = 3u - }; - num4 = 6; - List list30 = new List(num4); - CollectionsMarshal.SetCount(list30, num4); - Span span16 = CollectionsMarshal.AsSpan(list30); - span16[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = null; - obj18.CompletionQuestVariablesFlags = list30; - reference20 = obj18; - obj16.ComplexCombatData = list28; - num3 = 6; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - Span span17 = CollectionsMarshal.AsSpan(list31); - span17[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span17[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = null; - obj16.CompletionQuestVariablesFlags = list31; - reference18 = obj16; - ref QuestStep reference21 = ref span13[1]; - QuestStep obj19 = new QuestStep(EInteractionType.Combat, null, new Vector3(157.63565f, 38.01287f, 48.92973f), 135) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - ref ComplexCombatData reference22 = ref CollectionsMarshal.AsSpan(list32)[0]; - ComplexCombatData obj20 = new ComplexCombatData - { - DataId = 324u, - MinimumKillCount = 3u - }; - num4 = 6; - List list33 = new List(num4); - CollectionsMarshal.SetCount(list33, num4); - Span span18 = CollectionsMarshal.AsSpan(list33); - span18[0] = null; - span18[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = null; - obj20.CompletionQuestVariablesFlags = list33; - reference22 = obj20; - obj19.ComplexCombatData = list32; - num3 = 6; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - Span span19 = CollectionsMarshal.AsSpan(list34); - span19[0] = null; - span19[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = null; - obj19.CompletionQuestVariablesFlags = list34; - reference21 = obj19; - obj15.Steps = list27; - reference17 = obj15; - ref QuestSequence reference23 = ref span12[2]; - QuestSequence obj21 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - }, - NextQuestId = new QuestId(455) - }; - obj21.Steps = list35; - reference23 = obj21; - questRoot4.QuestSequence = list25; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(455); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - CollectionsMarshal.AsSpan(list36)[0] = "liza"; - questRoot5.Author = list36; - num = 6; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - Span span20 = CollectionsMarshal.AsSpan(list37); - ref QuestSequence reference24 = ref span20[0]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj22.Steps = list38; - reference24 = obj22; - ref QuestSequence reference25 = ref span20[1]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - Span span21 = CollectionsMarshal.AsSpan(list39); - ref QuestStep reference26 = ref span21[0]; - QuestStep obj24 = new QuestStep(EInteractionType.Combat, null, new Vector3(368.87418f, 61.448803f, -69.13581f), 135) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaArcanist, - To = EAetheryteLocation.LimsaTempestGate - }, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - ref ComplexCombatData reference27 = ref CollectionsMarshal.AsSpan(list40)[0]; - ComplexCombatData obj25 = new ComplexCombatData - { - DataId = 339u, - MinimumKillCount = 3u - }; - num4 = 6; - List list41 = new List(num4); - CollectionsMarshal.SetCount(list41, num4); - Span span22 = CollectionsMarshal.AsSpan(list41); - span22[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = null; - obj25.CompletionQuestVariablesFlags = list41; - reference27 = obj25; - obj24.ComplexCombatData = list40; - num3 = 6; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - Span span23 = CollectionsMarshal.AsSpan(list42); - span23[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span23[1] = null; - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = null; - obj24.CompletionQuestVariablesFlags = list42; - reference26 = obj24; - ref QuestStep reference28 = ref span21[1]; - QuestStep obj26 = new QuestStep(EInteractionType.Combat, null, new Vector3(381.1583f, 68.00773f, -114.15414f), 135) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - ref ComplexCombatData reference29 = ref CollectionsMarshal.AsSpan(list43)[0]; - ComplexCombatData obj27 = new ComplexCombatData - { - DataId = 118u, - MinimumKillCount = 3u - }; - num4 = 6; - List list44 = new List(num4); - CollectionsMarshal.SetCount(list44, num4); - Span span24 = CollectionsMarshal.AsSpan(list44); - span24[0] = null; - span24[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = null; - obj27.CompletionQuestVariablesFlags = list44; - reference29 = obj27; - obj26.ComplexCombatData = list43; - num3 = 6; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - Span span25 = CollectionsMarshal.AsSpan(list45); - span25[0] = null; - span25[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = null; - obj26.CompletionQuestVariablesFlags = list45; - reference28 = obj26; - obj23.Steps = list39; - reference25 = obj23; - ref QuestSequence reference30 = ref span20[2]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - } - }; - obj28.Steps = list46; - reference30 = obj28; - ref QuestSequence reference31 = ref span20[3]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - ref QuestStep reference32 = ref CollectionsMarshal.AsSpan(list47)[0]; - QuestStep obj30 = new QuestStep(EInteractionType.Combat, 2002266u, new Vector3(-0.13739014f, 26.077637f, 196.52087f), 134) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaArcanist, - To = EAetheryteLocation.LimsaZephyrGate - }, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - CollectionsMarshal.AsSpan(list48)[0] = 39u; - obj30.KillEnemyDataIds = list48; - reference32 = obj30; - obj29.Steps = list47; - reference31 = obj29; - ref QuestSequence reference33 = ref span20[4]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - ref QuestStep reference34 = ref CollectionsMarshal.AsSpan(list49)[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2002476u, new Vector3(-0.10687256f, 25.955566f, 196.55139f), 134); - num3 = 1; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - CollectionsMarshal.AsSpan(list50)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CLSACN050_00455_Q1_000_000"), - Answer = new ExcelRef("TEXT_CLSACN050_00455_A1_000_002") - }; - questStep3.DialogueChoices = list50; - reference34 = questStep3; - obj31.Steps = list49; - reference33 = obj31; - ref QuestSequence reference35 = ref span20[5]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - }, - NextQuestId = new QuestId(457) - }; - obj32.Steps = list51; - reference35 = obj32; - questRoot5.QuestSequence = list37; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(456); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - CollectionsMarshal.AsSpan(list52)[0] = "liza"; - questRoot6.Author = list52; - num = 7; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - Span span26 = CollectionsMarshal.AsSpan(list53); - ref QuestSequence reference36 = ref span26[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj33.Steps = list54; - reference36 = obj33; - ref QuestSequence reference37 = ref span26[1]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - Span span27 = CollectionsMarshal.AsSpan(list55); - ref QuestStep reference38 = ref span27[0]; - QuestStep obj35 = new QuestStep(EInteractionType.Combat, null, new Vector3(667.4784f, 15.36824f, 443.4379f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaSwiftperch, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - CollectionsMarshal.AsSpan(list56)[0] = 22u; - obj35.KillEnemyDataIds = list56; - num3 = 6; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - Span span28 = CollectionsMarshal.AsSpan(list57); - span28[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = null; - obj35.CompletionQuestVariablesFlags = list57; - reference38 = obj35; - ref QuestStep reference39 = ref span27[1]; - QuestStep obj36 = new QuestStep(EInteractionType.Combat, null, new Vector3(686.6034f, 23.682272f, 422.78772f), 138) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list58 = new List(num3); - CollectionsMarshal.SetCount(list58, num3); - CollectionsMarshal.AsSpan(list58)[0] = 138u; - obj36.KillEnemyDataIds = list58; - num3 = 6; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - Span span29 = CollectionsMarshal.AsSpan(list59); - span29[0] = null; - span29[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = null; - obj36.CompletionQuestVariablesFlags = list59; - reference39 = obj36; - obj34.Steps = list55; - reference37 = obj34; - ref QuestSequence reference40 = ref span26[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.Interact, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - } - }; - obj37.Steps = list60; - reference40 = obj37; - ref QuestSequence reference41 = ref span26[3]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.Interact, 1005199u, new Vector3(-348.3177f, -2.3744698f, 11.917236f), 129); - obj38.Steps = list61; - reference41 = obj38; - ref QuestSequence reference42 = ref span26[4]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1005200u, new Vector3(-106.79791f, 45.688404f, -252.33844f), 134) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MiddleLaNosceaSummerfordFarms - }; - obj39.Steps = list62; - reference42 = obj39; - ref QuestSequence reference43 = ref span26[5]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - ref QuestStep reference44 = ref CollectionsMarshal.AsSpan(list63)[0]; - QuestStep obj41 = new QuestStep(EInteractionType.Interact, 1005201u, new Vector3(-98.49707f, 47.27536f, -262.31793f), 134) - { - StopDistance = 5f - }; - num3 = 1; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - CollectionsMarshal.AsSpan(list64)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CLSACN100_00456_Q1_000_000"), - Answer = new ExcelRef("TEXT_CLSACN100_00456_A1_000_001") - }; - obj41.DialogueChoices = list64; - reference44 = obj41; - obj40.Steps = list63; - reference43 = obj40; - ref QuestSequence reference45 = ref span26[6]; - QuestSequence obj42 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - }, - NextQuestId = new QuestId(1103) - }; - obj42.Steps = list65; - reference45 = obj42; - questRoot6.QuestSequence = list53; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(457); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - CollectionsMarshal.AsSpan(list66)[0] = "liza"; - questRoot7.Author = list66; - num = 7; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - Span span30 = CollectionsMarshal.AsSpan(list67); - ref QuestSequence reference46 = ref span30[0]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj43.Steps = list68; - reference46 = obj43; - ref QuestSequence reference47 = ref span30[1]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - Span span31 = CollectionsMarshal.AsSpan(list69); - ref QuestStep reference48 = ref span31[0]; - QuestStep obj45 = new QuestStep(EInteractionType.Combat, null, new Vector3(667.4784f, 15.36824f, 443.4379f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaSwiftperch, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list70 = new List(num3); - CollectionsMarshal.SetCount(list70, num3); - CollectionsMarshal.AsSpan(list70)[0] = 22u; - obj45.KillEnemyDataIds = list70; - num3 = 6; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - Span span32 = CollectionsMarshal.AsSpan(list71); - span32[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = null; - obj45.CompletionQuestVariablesFlags = list71; - reference48 = obj45; - ref QuestStep reference49 = ref span31[1]; - QuestStep obj46 = new QuestStep(EInteractionType.Combat, null, new Vector3(686.6034f, 23.682272f, 422.78772f), 138) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - CollectionsMarshal.AsSpan(list72)[0] = 138u; - obj46.KillEnemyDataIds = list72; - num3 = 6; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - Span span33 = CollectionsMarshal.AsSpan(list73); - span33[0] = null; - span33[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span33[2] = null; - span33[3] = null; - span33[4] = null; - span33[5] = null; - obj46.CompletionQuestVariablesFlags = list73; - reference49 = obj46; - obj44.Steps = list69; - reference47 = obj44; - ref QuestSequence reference50 = ref span30[2]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.Interact, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - } - }; - obj47.Steps = list74; - reference50 = obj47; - ref QuestSequence reference51 = ref span30[3]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.Interact, 1005199u, new Vector3(-348.3177f, -2.3744698f, 11.917236f), 129); - obj48.Steps = list75; - reference51 = obj48; - ref QuestSequence reference52 = ref span30[4]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1005200u, new Vector3(-106.79791f, 45.688404f, -252.33844f), 134) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MiddleLaNosceaSummerfordFarms - }; - obj49.Steps = list76; - reference52 = obj49; - ref QuestSequence reference53 = ref span30[5]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - ref QuestStep reference54 = ref CollectionsMarshal.AsSpan(list77)[0]; - QuestStep obj51 = new QuestStep(EInteractionType.Interact, 1005201u, new Vector3(-98.49707f, 47.27536f, -262.31793f), 134) - { - StopDistance = 5f - }; - num3 = 1; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - CollectionsMarshal.AsSpan(list78)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CLSACN101_00457_Q1_000_000"), - Answer = new ExcelRef("TEXT_CLSACN101_00457_A1_000_001") - }; - obj51.DialogueChoices = list78; - reference54 = obj51; - obj50.Steps = list77; - reference53 = obj50; - ref QuestSequence reference55 = ref span30[6]; - QuestSequence obj52 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - }, - NextQuestId = new QuestId(1103) - }; - obj52.Steps = list79; - reference55 = obj52; - questRoot7.QuestSequence = list67; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(458); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - CollectionsMarshal.AsSpan(list80)[0] = "liza"; - questRoot8.Author = list80; - num = 6; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - Span span34 = CollectionsMarshal.AsSpan(list81); - ref QuestSequence reference56 = ref span34[0]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj53.Steps = list82; - reference56 = obj53; - ref QuestSequence reference57 = ref span34[1]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.Interact, 1005208u, new Vector3(316.02954f, -24.136772f, 211.20007f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - obj54.Steps = list83; - reference57 = obj54; - ref QuestSequence reference58 = ref span34[2]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - ref QuestStep reference59 = ref CollectionsMarshal.AsSpan(list84)[0]; - QuestStep obj56 = new QuestStep(EInteractionType.Combat, 1005211u, new Vector3(204.27246f, -36.402367f, 306.17224f), 138) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - Span span35 = CollectionsMarshal.AsSpan(list85); - span35[0] = 317u; - span35[1] = 318u; - obj56.KillEnemyDataIds = list85; - reference59 = obj56; - obj55.Steps = list84; - reference58 = obj55; - ref QuestSequence reference60 = ref span34[3]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.Interact, 1005211u, new Vector3(204.27246f, -36.402367f, 306.17224f), 138); - obj57.Steps = list86; - reference60 = obj57; - ref QuestSequence reference61 = ref span34[4]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2002009u, new Vector3(173.81543f, -41.36731f, 280.7201f), 138); - obj58.Steps = list87; - reference61 = obj58; - ref QuestSequence reference62 = ref span34[5]; - QuestSequence obj59 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - }, - NextQuestId = new QuestId(459) - }; - obj59.Steps = list88; - reference62 = obj59; - questRoot8.QuestSequence = list81; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(459); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list89 = new List(num); - CollectionsMarshal.SetCount(list89, num); - CollectionsMarshal.AsSpan(list89)[0] = "liza"; - questRoot9.Author = list89; - num = 8; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - Span span36 = CollectionsMarshal.AsSpan(list90); - ref QuestSequence reference63 = ref span36[0]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj60.Steps = list91; - reference63 = obj60; - ref QuestSequence reference64 = ref span36[1]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.Interact, 1003505u, new Vector3(-186.20587f, 16f, 56.931396f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaArcanist, - To = EAetheryteLocation.LimsaHawkersAlley - } - }; - obj61.Steps = list92; - reference64 = obj61; - ref QuestSequence reference65 = ref span36[2]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.Interact, 1000938u, new Vector3(-4.654114f, 44.999847f, -241.84027f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaHawkersAlley, - To = EAetheryteLocation.LimsaMarauder - } - }; - obj62.Steps = list93; - reference65 = obj62; - ref QuestSequence reference66 = ref span36[3]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Interact, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaMarauder, - To = EAetheryteLocation.LimsaArcanist - } - }; - obj63.Steps = list94; - reference66 = obj63; - ref QuestSequence reference67 = ref span36[4]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - Span span37 = CollectionsMarshal.AsSpan(list95); - span37[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(177.58797f, -41.12709f, 260.26315f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - span37[1] = new QuestStep(EInteractionType.Interact, 1005215u, new Vector3(178.66785f, -41.140213f, 261.61597f), 138); - obj64.Steps = list95; - reference67 = obj64; - ref QuestSequence reference68 = ref span36[5]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.Interact, 1005217u, new Vector3(103.74609f, 68.15523f, 329.45752f), 135) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaTempestGate - } - }; - obj65.Steps = list96; - reference68 = obj65; - ref QuestSequence reference69 = ref span36[6]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2002010u, new Vector3(108.384766f, 68.13147f, 351.61353f), 135); - obj66.Steps = list97; - reference69 = obj66; - ref QuestSequence reference70 = ref span36[7]; - QuestSequence obj67 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - }, - NextQuestId = new QuestId(460) - }; - obj67.Steps = list98; - reference70 = obj67; - questRoot9.QuestSequence = list90; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(460); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - CollectionsMarshal.AsSpan(list99)[0] = "liza"; - questRoot10.Author = list99; - num = 12; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - Span span38 = CollectionsMarshal.AsSpan(list100); - ref QuestSequence reference71 = ref span38[0]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj68.Steps = list101; - reference71 = obj68; - ref QuestSequence reference72 = ref span38[1]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - Span span39 = CollectionsMarshal.AsSpan(list102); - span39[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(410.82263f, 31.185892f, -11.729958f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - span39[1] = new QuestStep(EInteractionType.Interact, 1005227u, new Vector3(-311.32983f, -1.5234554f, 127.336426f), 139) - { - Fly = true - }; - obj69.Steps = list102; - reference72 = obj69; - ref QuestSequence reference73 = ref span38[2]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - Span span40 = CollectionsMarshal.AsSpan(list103); - span40[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-394.91058f, -3.4000032f, 148.78712f), 139) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span40[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-449.98322f, 3.358525f, 88.437485f), 139) - { - Fly = true - }; - span40[2] = new QuestStep(EInteractionType.Interact, 1006195u, new Vector3(-453.36084f, 4.574484f, 71.54956f), 139); - obj70.Steps = list103; - reference73 = obj70; - ref QuestSequence reference74 = ref span38[3]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 3 - }; - num2 = 6; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - Span span41 = CollectionsMarshal.AsSpan(list104); - span41[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-449.98322f, 3.358525f, 88.437485f), 139) - { - Mount = true - }; - ref QuestStep reference75 = ref span41[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2001892u, new Vector3(-457.7249f, 29.19043f, 58.335205f), 139); - num3 = 6; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - Span span42 = CollectionsMarshal.AsSpan(list105); - span42[0] = null; - span42[1] = null; - span42[2] = null; - span42[3] = null; - span42[4] = null; - span42[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list105; - reference75 = questStep4; - ref QuestStep reference76 = ref span41[2]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2001894u, new Vector3(-393.4234f, 42.557373f, -2.975586f), 139); - num3 = 6; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - Span span43 = CollectionsMarshal.AsSpan(list106); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list106; - reference76 = questStep5; - ref QuestStep reference77 = ref span41[3]; - QuestStep questStep6 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-373.06784f, 38.31673f, 36.456448f), 139); - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - Span span44 = CollectionsMarshal.AsSpan(list107); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list107; - skipConditions.StepIf = skipStepConditions; - questStep6.SkipConditions = skipConditions; - reference77 = questStep6; - ref QuestStep reference78 = ref span41[4]; - QuestStep obj72 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-367.3377f, 27.109692f, 40.748257f), 139) - { - DisableNavmesh = true, - Mount = false - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - Span span45 = CollectionsMarshal.AsSpan(list108); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list108; - skipConditions2.StepIf = skipStepConditions2; - obj72.SkipConditions = skipConditions2; - reference78 = obj72; - ref QuestStep reference79 = ref span41[5]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2001893u, new Vector3(-388.72363f, 27.023682f, 45.578613f), 139); - num3 = 6; - List list109 = new List(num3); - CollectionsMarshal.SetCount(list109, num3); - Span span46 = CollectionsMarshal.AsSpan(list109); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list109; - reference79 = questStep7; - obj71.Steps = list104; - reference74 = obj71; - ref QuestSequence reference80 = ref span38[4]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 4 - }; - num2 = 4; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - Span span47 = CollectionsMarshal.AsSpan(list110); - span47[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-419.99802f, 19.50849f, 60.498474f), 139) - { - Mount = true - }; - span47[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-428.06293f, -1.8700926f, 65.585f), 139) - { - DisableNavmesh = true - }; - span47[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-449.98322f, 3.358525f, 88.437485f), 139); - span47[3] = new QuestStep(EInteractionType.Interact, 1006195u, new Vector3(-453.36084f, 4.574484f, 71.54956f), 139); - obj73.Steps = list110; - reference80 = obj73; - ref QuestSequence reference81 = ref span38[5]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - Span span48 = CollectionsMarshal.AsSpan(list111); - span48[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-449.98322f, 3.358525f, 88.437485f), 139) - { - Mount = true - }; - span48[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-599.5244f, -3.3999999f, -51.651997f), 139) - { - Fly = true - }; - span48[2] = new QuestStep(EInteractionType.Emote, 2002478u, new Vector3(-600.61035f, -3.189148f, -53.788086f), 139) - { - Emote = EEmote.Dance - }; - obj74.Steps = list111; - reference81 = obj74; - ref QuestSequence reference82 = ref span38[6]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.Interact, 2002478u, new Vector3(-600.61035f, -3.189148f, -53.788086f), 139); - obj75.Steps = list112; - reference82 = obj75; - ref QuestSequence reference83 = ref span38[7]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - Span span49 = CollectionsMarshal.AsSpan(list113); - span49[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-512.61053f, -3.4000013f, 0.97738916f), 139); - span49[1] = new QuestStep(EInteractionType.Interact, 2002478u, new Vector3(-600.61035f, -3.189148f, -53.788086f), 139) - { - DelaySecondsAtStart = 5f - }; - obj76.Steps = list113; - reference83 = obj76; - ref QuestSequence reference84 = ref span38[8]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 8 - }; - num2 = 2; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - Span span50 = CollectionsMarshal.AsSpan(list114); - span50[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-394.91058f, -3.4000032f, 148.78712f), 139) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span50[1] = new QuestStep(EInteractionType.Emote, 1005249u, new Vector3(-337.30072f, -2.1811728f, 141.31372f), 139) - { - Fly = true, - Emote = EEmote.Dance - }; - obj77.Steps = list114; - reference84 = obj77; - ref QuestSequence reference85 = ref span38[9]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 9 - }; - num2 = 2; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - Span span51 = CollectionsMarshal.AsSpan(list115); - span51[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-139.68823f, 39.999985f, 154.54538f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - ref QuestStep reference86 = ref span51[1]; - QuestStep obj79 = new QuestStep(EInteractionType.Emote, 1005228u, new Vector3(-190.3258f, 41.24994f, 176.22644f), 128) - { - Emote = EEmote.Dance - }; - num3 = 1; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - CollectionsMarshal.AsSpan(list116)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSACN250_00460_Q1_000_000") - }; - obj79.DialogueChoices = list116; - reference86 = obj79; - obj78.Steps = list115; - reference85 = obj78; - ref QuestSequence reference87 = ref span38[10]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.Interact, 1005228u, new Vector3(-190.3258f, 41.24994f, 176.22644f), 128); - obj80.Steps = list117; - reference87 = obj80; - ref QuestSequence reference88 = ref span38[11]; - QuestSequence obj81 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - }, - NextQuestId = new QuestId(461) - }; - obj81.Steps = list118; - reference88 = obj81; - questRoot10.QuestSequence = list100; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(461); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - CollectionsMarshal.AsSpan(list119)[0] = "liza"; - questRoot11.Author = list119; - num = 10; - List list120 = new List(num); - CollectionsMarshal.SetCount(list120, num); - Span span52 = CollectionsMarshal.AsSpan(list120); - ref QuestSequence reference89 = ref span52[0]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj82.Steps = list121; - reference89 = obj82; - ref QuestSequence reference90 = ref span52[1]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - Span span53 = CollectionsMarshal.AsSpan(list122); - span53[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-192.00433f, 0.9999907f, 211.68835f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaArcanist, - To = EAetheryteLocation.LimsaFisher - } - }; - span53[1] = new QuestStep(EInteractionType.Interact, 1000868u, new Vector3(-192.00433f, 0.9999907f, 211.68835f), 129) - { - StopDistance = 7f, - TargetTerritoryId = (ushort)137 - }; - span53[2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 137) - { - Aetheryte = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - span53[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(541.1713f, 9.74752f, 217.08224f), 137) - { - Fly = true - }; - span53[4] = new QuestStep(EInteractionType.Interact, 1005251u, new Vector3(550.46924f, 12.147732f, 220.9353f), 137) - { - StopDistance = 5f - }; - obj83.Steps = list122; - reference90 = obj83; - ref QuestSequence reference91 = ref span52[2]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - Span span54 = CollectionsMarshal.AsSpan(list123); - span54[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(542.48083f, 8.70027f, 398.26666f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - span54[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(585.3419f, 14.562424f, 379.80997f), 137); - span54[2] = new QuestStep(EInteractionType.Interact, 1005252u, new Vector3(586.0226f, 14.562427f, 376.21106f), 137) - { - StopDistance = 5f - }; - obj84.Steps = list123; - reference91 = obj84; - ref QuestSequence reference92 = ref span52[3]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.Interact, 1006273u, new Vector3(619.0126f, 23.936245f, 455.10022f), 137); - obj85.Steps = list124; - reference92 = obj85; - ref QuestSequence reference93 = ref span52[4]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.Interact, 1005253u, new Vector3(564.35486f, 20.617891f, 504.32593f), 137); - obj86.Steps = list125; - reference93 = obj86; - ref QuestSequence reference94 = ref span52[5]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - Span span55 = CollectionsMarshal.AsSpan(list126); - span55[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(515.26044f, 27.708418f, 469.322f), 137) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span55[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(449.59036f, 15.174555f, 377.2856f), 137) - { - Fly = true - }; - span55[2] = new QuestStep(EInteractionType.Interact, 1005254u, new Vector3(442.00806f, 15.793267f, 370.32104f), 137); - obj87.Steps = list126; - reference94 = obj87; - ref QuestSequence reference95 = ref span52[6]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - ref QuestStep reference96 = ref CollectionsMarshal.AsSpan(list127)[0]; - QuestStep obj89 = new QuestStep(EInteractionType.Interact, 1005229u, new Vector3(522.9114f, 17.448051f, 456.35156f), 137) - { - Fly = true - }; - num3 = 1; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - CollectionsMarshal.AsSpan(list128)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSACN300_00461_Q1_000_001") - }; - obj89.DialogueChoices = list128; - reference96 = obj89; - obj88.Steps = list127; - reference95 = obj88; - ref QuestSequence reference97 = ref span52[7]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1005235u, new Vector3(684.3823f, 11.594438f, 411.94775f), 137) - { - StopDistance = 1f, - Fly = true - }; - obj90.Steps = list129; - reference97 = obj90; - ref QuestSequence reference98 = ref span52[8]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.Interact, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - } - }; - obj91.Steps = list130; - reference98 = obj91; - ref QuestSequence reference99 = ref span52[9]; - QuestSequence obj92 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - NextQuestId = new QuestId(1091) - }; - obj92.Steps = list131; - reference99 = obj92; - questRoot11.QuestSequence = list120; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(462); - QuestRoot questRoot12 = new QuestRoot(); - num = 2; - List list132 = new List(num); - CollectionsMarshal.SetCount(list132, num); - Span span56 = CollectionsMarshal.AsSpan(list132); - span56[0] = "liza"; - span56[1] = "Wigglez"; - questRoot12.Author = list132; - num = 2; - List list133 = new List(num); - CollectionsMarshal.SetCount(list133, num); - Span span57 = CollectionsMarshal.AsSpan(list133); - ref QuestSequence reference100 = ref span57[0]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - ref QuestStep reference101 = ref CollectionsMarshal.AsSpan(list134)[0]; - QuestStep obj94 = new QuestStep(EInteractionType.AcceptQuest, 1000972u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition obj95 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list135 = new List(num3); - CollectionsMarshal.SetCount(list135, num3); - CollectionsMarshal.AsSpan(list135)[0] = 128; - obj95.InTerritory = list135; - skipConditions3.AetheryteShortcutIf = obj95; - obj94.SkipConditions = skipConditions3; - reference101 = obj94; - obj93.Steps = list134; - reference100 = obj93; - ref QuestSequence reference102 = ref span57[1]; - QuestSequence obj96 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - Span span58 = CollectionsMarshal.AsSpan(list136); - span58[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 128) - { - AethernetShard = EAetheryteLocation.LimsaAftcastle - }; - span58[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 134) - { - Aetheryte = EAetheryteLocation.MiddleLaNosceaSummerfordFarms, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.LimsaZephyrGate - } - }; - span58[2] = new QuestStep(EInteractionType.RegisterFreeOrFavoredAetheryte, null, null, 134) - { - Aetheryte = EAetheryteLocation.MiddleLaNosceaSummerfordFarms - }; - span58[3] = new QuestStep(EInteractionType.CompleteQuest, 1002626u, new Vector3(207.2633f, 112.860374f, -222.43079f), 134); - obj96.Steps = list136; - reference102 = obj96; - questRoot12.QuestSequence = list133; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(463); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list137 = new List(num); - CollectionsMarshal.SetCount(list137, num); - CollectionsMarshal.AsSpan(list137)[0] = "liza"; - questRoot13.Author = list137; - num = 2; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - Span span59 = CollectionsMarshal.AsSpan(list138); - ref QuestSequence reference103 = ref span59[0]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002626u, new Vector3(207.2633f, 112.860374f, -222.43079f), 134); - obj97.Steps = list139; - reference103 = obj97; - ref QuestSequence reference104 = ref span59[1]; - QuestSequence obj98 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 6; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - Span span60 = CollectionsMarshal.AsSpan(list140); - span60[0] = new QuestStep(EInteractionType.EquipRecommended, null, null, 134); - ref QuestStep reference105 = ref span60[1]; - QuestStep obj99 = new QuestStep(EInteractionType.PurchaseItem, 1003257u, new Vector3(201.70898f, 98.422874f, -206.10364f), 134) - { - ItemId = 2653u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - num3 = 1; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - CollectionsMarshal.AsSpan(list141)[0] = EExtendedClassJob.DoW; - obj99.RequiredCurrentJob = list141; - obj99.PurchaseMenu = new PurchaseMenu - { - ExcelSheet = "GilShop", - Key = new ExcelRef(262292u) - }; - reference105 = obj99; - ref QuestStep reference106 = ref span60[2]; - QuestStep obj100 = new QuestStep(EInteractionType.PurchaseItem, 1003257u, new Vector3(201.70898f, 98.422874f, -206.10364f), 134) - { - ItemId = 2655u, - ItemCount = 1 - }; - num3 = 1; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - CollectionsMarshal.AsSpan(list142)[0] = EExtendedClassJob.DoM; - obj100.RequiredCurrentJob = list142; - obj100.PurchaseMenu = new PurchaseMenu - { - ExcelSheet = "GilShop", - Key = new ExcelRef(262292u) - }; - reference106 = obj100; - span60[3] = new QuestStep(EInteractionType.EquipItem, null, null, 134) - { - ItemId = 2653u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span60[4] = new QuestStep(EInteractionType.EquipItem, null, null, 134) - { - ItemId = 2655u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span60[5] = new QuestStep(EInteractionType.CompleteQuest, 1002626u, new Vector3(207.2633f, 112.860374f, -222.43079f), 134) - { - Comment = "All starting gear (except the hat) is ilvl 5 already" - }; - obj98.Steps = list140; - reference104 = obj98; - questRoot13.QuestSequence = list138; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(465); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - CollectionsMarshal.AsSpan(list143)[0] = "liza"; - questRoot14.Author = list143; - num = 3; - List list144 = new List(num); - CollectionsMarshal.SetCount(list144, num); - Span span61 = CollectionsMarshal.AsSpan(list144); - ref QuestSequence reference107 = ref span61[0]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002626u, new Vector3(207.2633f, 112.860374f, -222.43079f), 134); - obj101.Steps = list145; - reference107 = obj101; - ref QuestSequence reference108 = ref span61[1]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - Span span62 = CollectionsMarshal.AsSpan(list146); - ref QuestStep reference109 = ref span62[0]; - QuestStep obj103 = new QuestStep(EInteractionType.Jump, null, new Vector3(200.59262f, 109.63514f, -268.2013f), 134) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(198.45822f, 101.082535f, -274.90256f), - StopDistance = 3f - } - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list147 = new List(num3); - CollectionsMarshal.SetCount(list147, num3); - Span span63 = CollectionsMarshal.AsSpan(list147); - span63[0] = null; - span63[1] = null; - span63[2] = null; - span63[3] = null; - span63[4] = null; - span63[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list147; - skipConditions4.StepIf = skipStepConditions3; - obj103.SkipConditions = skipConditions4; - reference109 = obj103; - ref QuestStep reference110 = ref span62[1]; - QuestStep obj104 = new QuestStep(EInteractionType.Interact, 1002639u, new Vector3(197.16174f, 101.098366f, -273.57898f), 134) - { - StopDistance = 5f, - DelaySecondsAtStart = 3f - }; - num3 = 6; - List list148 = new List(num3); - CollectionsMarshal.SetCount(list148, num3); - Span span64 = CollectionsMarshal.AsSpan(list148); - span64[0] = null; - span64[1] = null; - span64[2] = null; - span64[3] = null; - span64[4] = null; - span64[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj104.CompletionQuestVariablesFlags = list148; - num3 = 1; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - CollectionsMarshal.AsSpan(list149)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_SUBSEA053_00465_Q4_000_1"), - Answer = new ExcelRef("TEXT_SUBSEA053_00465_A4_000_2") - }; - obj104.DialogueChoices = list149; - reference110 = obj104; - ref QuestStep reference111 = ref span62[2]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1002638u, new Vector3(169.35986f, 93.96625f, -191.36346f), 134); - num3 = 6; - List list150 = new List(num3); - CollectionsMarshal.SetCount(list150, num3); - Span span65 = CollectionsMarshal.AsSpan(list150); - span65[0] = null; - span65[1] = null; - span65[2] = null; - span65[3] = null; - span65[4] = null; - span65[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list150; - num3 = 1; - List list151 = new List(num3); - CollectionsMarshal.SetCount(list151, num3); - CollectionsMarshal.AsSpan(list151)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_SUBSEA053_00465_Q3_000_1"), - Answer = new ExcelRef("TEXT_SUBSEA053_00465_A3_000_1") - }; - questStep8.DialogueChoices = list151; - reference111 = questStep8; - ref QuestStep reference112 = ref span62[3]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1002637u, new Vector3(94.46863f, 66.13388f, -257.52655f), 134); - num3 = 6; - List list152 = new List(num3); - CollectionsMarshal.SetCount(list152, num3); - Span span66 = CollectionsMarshal.AsSpan(list152); - span66[0] = null; - span66[1] = null; - span66[2] = null; - span66[3] = null; - span66[4] = null; - span66[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list152; - num3 = 1; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - CollectionsMarshal.AsSpan(list153)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_SUBSEA053_00465_Q2_000_1"), - Answer = new ExcelRef("TEXT_SUBSEA053_00465_A2_000_1") - }; - questStep9.DialogueChoices = list153; - reference112 = questStep9; - ref QuestStep reference113 = ref span62[4]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1002636u, new Vector3(17.746216f, 60.791252f, -269.91687f), 134); - num3 = 6; - List list154 = new List(num3); - CollectionsMarshal.SetCount(list154, num3); - Span span67 = CollectionsMarshal.AsSpan(list154); - span67[0] = null; - span67[1] = null; - span67[2] = null; - span67[3] = null; - span67[4] = null; - span67[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list154; - num3 = 1; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - CollectionsMarshal.AsSpan(list155)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_SUBSEA053_00465_Q1_000_1"), - Answer = new ExcelRef("TEXT_SUBSEA053_00465_A1_000_1") - }; - questStep10.DialogueChoices = list155; - reference113 = questStep10; - ref QuestStep reference114 = ref span62[5]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1002635u, new Vector3(33.829224f, 54.646034f, -150.31665f), 134); - num3 = 6; - List list156 = new List(num3); - CollectionsMarshal.SetCount(list156, num3); - Span span68 = CollectionsMarshal.AsSpan(list156); - span68[0] = null; - span68[1] = null; - span68[2] = null; - span68[3] = null; - span68[4] = null; - span68[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list156; - reference114 = questStep11; - obj102.Steps = list146; - reference108 = obj102; - ref QuestSequence reference115 = ref span61[2]; - QuestSequence obj105 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002626u, new Vector3(207.2633f, 112.860374f, -222.43079f), 134); - obj105.Steps = list157; - reference115 = obj105; - questRoot14.QuestSequence = list144; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(466); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list158 = new List(num); - CollectionsMarshal.SetCount(list158, num); - CollectionsMarshal.AsSpan(list158)[0] = "liza"; - questRoot15.Author = list158; - num = 7; - List list159 = new List(num); - CollectionsMarshal.SetCount(list159, num); - Span span69 = CollectionsMarshal.AsSpan(list159); - ref QuestSequence reference116 = ref span69[0]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002626u, new Vector3(207.2633f, 112.860374f, -222.43079f), 134); - obj106.Steps = list160; - reference116 = obj106; - ref QuestSequence reference117 = ref span69[1]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.Emote, 1002640u, new Vector3(131.09021f, 45.70909f, 134.44714f), 134) - { - Emote = EEmote.Doubt - }; - obj107.Steps = list161; - reference117 = obj107; - ref QuestSequence reference118 = ref span69[2]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - Span span70 = CollectionsMarshal.AsSpan(list162); - ref QuestStep reference119 = ref span70[0]; - QuestStep obj109 = new QuestStep(EInteractionType.Combat, null, new Vector3(189.7694f, 46.25815f, 121.13219f), 134) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list163 = new List(num3); - CollectionsMarshal.SetCount(list163, num3); - CollectionsMarshal.AsSpan(list163)[0] = new ComplexCombatData - { - DataId = 52u, - IgnoreQuestMarker = true - }; - obj109.ComplexCombatData = list163; - reference119 = obj109; - ref QuestStep reference120 = ref span70[1]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1002643u, new Vector3(194.44568f, 46.41682f, 119.21863f), 134); - num3 = 6; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - Span span71 = CollectionsMarshal.AsSpan(list164); - span71[0] = null; - span71[1] = null; - span71[2] = null; - span71[3] = null; - span71[4] = null; - span71[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list164; - reference120 = questStep12; - ref QuestStep reference121 = ref span70[2]; - QuestStep obj110 = new QuestStep(EInteractionType.Interact, 1002642u, new Vector3(192.52307f, 46.299305f, 122.11792f), 134) - { - StopDistance = 7f - }; - num3 = 6; - List list165 = new List(num3); - CollectionsMarshal.SetCount(list165, num3); - Span span72 = CollectionsMarshal.AsSpan(list165); - span72[0] = null; - span72[1] = null; - span72[2] = null; - span72[3] = null; - span72[4] = null; - span72[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj110.CompletionQuestVariablesFlags = list165; - reference121 = obj110; - ref QuestStep reference122 = ref span70[3]; - QuestStep obj111 = new QuestStep(EInteractionType.Interact, 1002641u, new Vector3(190.875f, 46.324783f, 118.30322f), 134) - { - StopDistance = 7f - }; - num3 = 6; - List list166 = new List(num3); - CollectionsMarshal.SetCount(list166, num3); - Span span73 = CollectionsMarshal.AsSpan(list166); - span73[0] = null; - span73[1] = null; - span73[2] = null; - span73[3] = null; - span73[4] = null; - span73[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj111.CompletionQuestVariablesFlags = list166; - reference122 = obj111; - obj108.Steps = list162; - reference118 = obj108; - ref QuestSequence reference123 = ref span69[3]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.Interact, 1002640u, new Vector3(131.09021f, 45.70909f, 134.44714f), 134); - obj112.Steps = list167; - reference123 = obj112; - ref QuestSequence reference124 = ref span69[4]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.Interact, 2001279u, new Vector3(132.7992f, 45.76172f, 134.93542f), 134); - obj113.Steps = list168; - reference124 = obj113; - ref QuestSequence reference125 = ref span69[5]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.Interact, 1002630u, new Vector3(179.85803f, 64.61002f, 294.75854f), 134); - obj114.Steps = list169; - reference125 = obj114; - ref QuestSequence reference126 = ref span69[6]; - QuestSequence obj115 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - Span span74 = CollectionsMarshal.AsSpan(list170); - span74[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(205.08835f, 111.9045f, -245.44336f), 134) - { - AetheryteShortcut = EAetheryteLocation.MiddleLaNosceaSummerfordFarms - }; - span74[1] = new QuestStep(EInteractionType.CompleteQuest, 1002626u, new Vector3(207.2633f, 112.860374f, -222.43079f), 134); - obj115.Steps = list170; - reference126 = obj115; - questRoot15.QuestSequence = list159; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(467); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - CollectionsMarshal.AsSpan(list171)[0] = "liza"; - questRoot16.Author = list171; - num = 4; - List list172 = new List(num); - CollectionsMarshal.SetCount(list172, num); - Span span75 = CollectionsMarshal.AsSpan(list172); - ref QuestSequence reference127 = ref span75[0]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002627u, new Vector3(203.32642f, 111.72371f, -213.91626f), 134); - obj116.Steps = list173; - reference127 = obj116; - ref QuestSequence reference128 = ref span75[1]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - Span span76 = CollectionsMarshal.AsSpan(list174); - span76[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(202.80931f, 111.89438f, -216.29411f), 134) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(192.77504f, 98.07924f, -211.47052f), - StopDistance = 5f - } - }; - span76[1] = new QuestStep(EInteractionType.Interact, 1002629u, new Vector3(52.750366f, 64.48143f, -185.71759f), 134); - obj117.Steps = list174; - reference128 = obj117; - ref QuestSequence reference129 = ref span75[2]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - Span span77 = CollectionsMarshal.AsSpan(list175); - ref QuestStep reference130 = ref span77[0]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 2001239u, new Vector3(-132.9519f, 45.365112f, -228.93109f), 134); - num3 = 6; - List list176 = new List(num3); - CollectionsMarshal.SetCount(list176, num3); - Span span78 = CollectionsMarshal.AsSpan(list176); - span78[0] = null; - span78[1] = null; - span78[2] = null; - span78[3] = null; - span78[4] = null; - span78[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list176; - reference130 = questStep13; - ref QuestStep reference131 = ref span77[1]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 2001238u, new Vector3(-121.78229f, 45.97534f, -210.83392f), 134); - num3 = 6; - List list177 = new List(num3); - CollectionsMarshal.SetCount(list177, num3); - Span span79 = CollectionsMarshal.AsSpan(list177); - span79[0] = null; - span79[1] = null; - span79[2] = null; - span79[3] = null; - span79[4] = null; - span79[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list177; - reference131 = questStep14; - ref QuestStep reference132 = ref span77[2]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 2001237u, new Vector3(-129.38129f, 46.67737f, -192.52313f), 134); - num3 = 6; - List list178 = new List(num3); - CollectionsMarshal.SetCount(list178, num3); - Span span80 = CollectionsMarshal.AsSpan(list178); - span80[0] = null; - span80[1] = null; - span80[2] = null; - span80[3] = null; - span80[4] = null; - span80[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list178; - reference132 = questStep15; - obj118.Steps = list175; - reference129 = obj118; - ref QuestSequence reference133 = ref span75[3]; - QuestSequence obj119 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - CollectionsMarshal.AsSpan(list179)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002631u, new Vector3(0.045776367f, 57.85028f, -308.76636f), 134); - obj119.Steps = list179; - reference133 = obj119; - questRoot16.QuestSequence = list172; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(468); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list180 = new List(num); - CollectionsMarshal.SetCount(list180, num); - CollectionsMarshal.AsSpan(list180)[0] = "liza"; - questRoot17.Author = list180; - num = 4; - List list181 = new List(num); - CollectionsMarshal.SetCount(list181, num); - Span span81 = CollectionsMarshal.AsSpan(list181); - ref QuestSequence reference134 = ref span81[0]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002631u, new Vector3(0.045776367f, 57.85028f, -308.76636f), 134); - obj120.Steps = list182; - reference134 = obj120; - ref QuestSequence reference135 = ref span81[1]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - ref QuestStep reference136 = ref CollectionsMarshal.AsSpan(list183)[0]; - QuestStep obj122 = new QuestStep(EInteractionType.Combat, null, new Vector3(-42.099247f, 54.599857f, -262.0961f), 134) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list184 = new List(num3); - CollectionsMarshal.SetCount(list184, num3); - Span span82 = CollectionsMarshal.AsSpan(list184); - span82[0] = 348u; - span82[1] = 349u; - obj122.KillEnemyDataIds = list184; - num3 = 6; - List list185 = new List(num3); - CollectionsMarshal.SetCount(list185, num3); - Span span83 = CollectionsMarshal.AsSpan(list185); - span83[0] = null; - span83[1] = null; - span83[2] = null; - span83[3] = null; - span83[4] = null; - span83[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj122.CompletionQuestVariablesFlags = list185; - reference136 = obj122; - obj121.Steps = list183; - reference135 = obj121; - ref QuestSequence reference137 = ref span81[2]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.Interact, 1002631u, new Vector3(0.045776367f, 57.85028f, -308.76636f), 134); - obj123.Steps = list186; - reference137 = obj123; - ref QuestSequence reference138 = ref span81[3]; - QuestSequence obj124 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - Span span84 = CollectionsMarshal.AsSpan(list187); - span84[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(205.08835f, 111.9045f, -245.44336f), 134) - { - AetheryteShortcut = EAetheryteLocation.MiddleLaNosceaSummerfordFarms - }; - span84[1] = new QuestStep(EInteractionType.CompleteQuest, 1002626u, new Vector3(207.2633f, 112.860374f, -222.43079f), 134); - obj124.Steps = list187; - reference138 = obj124; - questRoot17.QuestSequence = list181; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(469); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list188 = new List(num); - CollectionsMarshal.SetCount(list188, num); - CollectionsMarshal.AsSpan(list188)[0] = "liza"; - questRoot18.Author = list188; - num = 9; - List list189 = new List(num); - CollectionsMarshal.SetCount(list189, num); - Span span85 = CollectionsMarshal.AsSpan(list189); - ref QuestSequence reference139 = ref span85[0]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002626u, new Vector3(207.2633f, 112.860374f, -222.43079f), 134); - obj125.Steps = list190; - reference139 = obj125; - ref QuestSequence reference140 = ref span85[1]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.Interact, 1002633u, new Vector3(232.56274f, 113.07393f, -240.2533f), 134); - obj126.Steps = list191; - reference140 = obj126; - ref QuestSequence reference141 = ref span85[2]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.Interact, 1002645u, new Vector3(-144.27411f, 20.32f, -336.32416f), 134); - obj127.Steps = list192; - reference141 = obj127; - ref QuestSequence reference142 = ref span85[3]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.Interact, 1002646u, new Vector3(-58.762512f, 12.537111f, -410.94073f), 134); - obj128.Steps = list193; - reference142 = obj128; - ref QuestSequence reference143 = ref span85[4]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1002647u, new Vector3(-34.866882f, 10.902258f, -432.15082f), 134) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj129.Steps = list194; - reference143 = obj129; - span85[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference144 = ref span85[6]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - Span span86 = CollectionsMarshal.AsSpan(list195); - span86[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(205.08835f, 111.9045f, -245.44336f), 134) - { - AetheryteShortcut = EAetheryteLocation.MiddleLaNosceaSummerfordFarms - }; - span86[1] = new QuestStep(EInteractionType.Interact, 1002626u, new Vector3(207.2633f, 112.860374f, -222.43079f), 134); - obj130.Steps = list195; - reference144 = obj130; - ref QuestSequence reference145 = ref span85[7]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.Interact, 1002626u, new Vector3(207.2633f, 112.860374f, -222.43079f), 134); - obj131.Steps = list196; - reference145 = obj131; - ref QuestSequence reference146 = ref span85[8]; - QuestSequence obj132 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000972u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj132.Steps = list197; - reference146 = obj132; - questRoot18.QuestSequence = list189; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(490); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list198 = new List(num); - CollectionsMarshal.SetCount(list198, num); - CollectionsMarshal.AsSpan(list198)[0] = "FalconTaterz"; - questRoot19.Author = list198; - num = 5; - List list199 = new List(num); - CollectionsMarshal.SetCount(list199, num); - Span span87 = CollectionsMarshal.AsSpan(list199); - ref QuestSequence reference147 = ref span87[0]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010708u, new Vector3(-70.237305f, 6.9839683f, 1.9073486f), 131); - obj133.Steps = list200; - reference147 = obj133; - ref QuestSequence reference148 = ref span87[1]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - Span span88 = CollectionsMarshal.AsSpan(list201); - span88[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-72.76394f, 6.9845715f, 6.476269f), 131); - span88[1] = new QuestStep(EInteractionType.Interact, 1001285u, new Vector3(-68.77246f, 4.0411124f, -126.51257f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.Uldah - } - }; - obj134.Steps = list201; - reference148 = obj134; - ref QuestSequence reference149 = ref span87[2]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.Interact, 1011620u, new Vector3(-118.69995f, 40f, 95.23157f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAlchemist - } - }; - obj135.Steps = list202; - reference149 = obj135; - ref QuestSequence reference150 = ref span87[3]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.Interact, 1011672u, new Vector3(-118.21167f, 40f, 92.11865f), 131) - { - StopDistance = 5f - }; - obj136.Steps = list203; - reference150 = obj136; - ref QuestSequence reference151 = ref span87[4]; - QuestSequence obj137 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011677u, new Vector3(363.54602f, 74.743355f, 171.12988f), 140) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAlchemist, - To = EAetheryteLocation.UldahGateOfTheSultana - }, - NextQuestId = new QuestId(491) - }; - obj137.Steps = list204; - reference151 = obj137; - questRoot19.QuestSequence = list199; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(491); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list205 = new List(num); - CollectionsMarshal.SetCount(list205, num); - CollectionsMarshal.AsSpan(list205)[0] = "FalconTaterz"; - questRoot20.Author = list205; - num = 6; - List list206 = new List(num); - CollectionsMarshal.SetCount(list206, num); - Span span89 = CollectionsMarshal.AsSpan(list206); - ref QuestSequence reference152 = ref span89[0]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - CollectionsMarshal.AsSpan(list207)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011677u, new Vector3(363.54602f, 74.743355f, 171.12988f), 140); - obj138.Steps = list207; - reference152 = obj138; - ref QuestSequence reference153 = ref span89[1]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - Span span90 = CollectionsMarshal.AsSpan(list208); - span90[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-171.53638f, 17.999998f, 66.511505f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - } - }; - ref QuestStep reference154 = ref span90[1]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1011681u, new Vector3(-182.29956f, 18f, 56.90088f), 130); - num3 = 6; - List list209 = new List(num3); - CollectionsMarshal.SetCount(list209, num3); - Span span91 = CollectionsMarshal.AsSpan(list209); - span91[0] = null; - span91[1] = null; - span91[2] = null; - span91[3] = null; - span91[4] = null; - span91[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list209; - reference154 = questStep16; - ref QuestStep reference155 = ref span90[2]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1003897u, new Vector3(-195.45282f, 18f, 60.53247f), 130); - num3 = 6; - List list210 = new List(num3); - CollectionsMarshal.SetCount(list210, num3); - Span span92 = CollectionsMarshal.AsSpan(list210); - span92[0] = null; - span92[1] = null; - span92[2] = null; - span92[3] = null; - span92[4] = null; - span92[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list210; - reference155 = questStep17; - ref QuestStep reference156 = ref span90[3]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1001294u, new Vector3(-214.22144f, 18.5f, 72.129395f), 130); - num3 = 6; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - Span span93 = CollectionsMarshal.AsSpan(list211); - span93[0] = null; - span93[1] = null; - span93[2] = null; - span93[3] = null; - span93[4] = null; - span93[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list211; - reference156 = questStep18; - ref QuestStep reference157 = ref span90[4]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 1001708u, new Vector3(-250.3548f, 18f, 80.88806f), 130); - num3 = 6; - List list212 = new List(num3); - CollectionsMarshal.SetCount(list212, num3); - Span span94 = CollectionsMarshal.AsSpan(list212); - span94[0] = null; - span94[1] = null; - span94[2] = null; - span94[3] = null; - span94[4] = null; - span94[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list212; - reference157 = questStep19; - obj139.Steps = list208; - reference153 = obj139; - ref QuestSequence reference158 = ref span89[2]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - CollectionsMarshal.AsSpan(list213)[0] = new QuestStep(EInteractionType.Interact, 1011682u, new Vector3(-200.763f, 17.999998f, 59.189697f), 130); - obj140.Steps = list213; - reference158 = obj140; - ref QuestSequence reference159 = ref span89[3]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.Interact, 1011683u, new Vector3(76.8291f, 45f, -218.28033f), 140) - { - AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon - }; - obj141.Steps = list214; - reference159 = obj141; - ref QuestSequence reference160 = ref span89[4]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-345.65482f, 23f, -352.02484f), 140) - { - Fly = true - }; - obj142.Steps = list215; - reference160 = obj142; - ref QuestSequence reference161 = ref span89[5]; - QuestSequence obj143 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - CollectionsMarshal.AsSpan(list216)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011675u, new Vector3(-118.150635f, 40f, 96.29968f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAlchemist - }, - NextQuestId = new QuestId(492) - }; - obj143.Steps = list216; - reference161 = obj143; - questRoot20.QuestSequence = list206; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(492); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list217 = new List(num); - CollectionsMarshal.SetCount(list217, num); - CollectionsMarshal.AsSpan(list217)[0] = "FalconTaterz"; - questRoot21.Author = list217; - num = 7; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - Span span95 = CollectionsMarshal.AsSpan(list218); - ref QuestSequence reference162 = ref span95[0]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - CollectionsMarshal.AsSpan(list219)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011691u, new Vector3(40.878906f, 33.999985f, 27.939209f), 131); - obj144.Steps = list219; - reference162 = obj144; - ref QuestSequence reference163 = ref span95[1]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - Span span96 = CollectionsMarshal.AsSpan(list220); - span96[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(44.860275f, 34.02289f, -12.268097f), 131); - span96[1] = new QuestStep(EInteractionType.Interact, 2005164u, new Vector3(43.07617f, 33.98181f, -13.962036f), 131); - obj145.Steps = list220; - reference163 = obj145; - ref QuestSequence reference164 = ref span95[2]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - Span span97 = CollectionsMarshal.AsSpan(list221); - span97[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(45.576427f, 34f, -23.220316f), 131); - span97[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(49.565746f, 33.999992f, -25.594622f), 131) - { - DisableNavmesh = true - }; - span97[2] = new QuestStep(EInteractionType.Interact, 2005165u, new Vector3(60.16626f, 33.98181f, -21.316895f), 131); - obj146.Steps = list221; - reference164 = obj146; - ref QuestSequence reference165 = ref span95[3]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - Span span98 = CollectionsMarshal.AsSpan(list222); - span98[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(53.15642f, 33.999992f, -25.133741f), 131); - span98[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(62.437984f, 28.992012f, -34.336155f), 131) - { - DisableNavmesh = true - }; - span98[2] = new QuestStep(EInteractionType.Interact, 2005166u, new Vector3(74.96753f, 28.976807f, -29.007446f), 131); - obj147.Steps = list222; - reference165 = obj147; - ref QuestSequence reference166 = ref span95[4]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - Span span99 = CollectionsMarshal.AsSpan(list223); - span99[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(62.437984f, 28.992012f, -34.336155f), 131); - span99[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(45.576427f, 34f, -23.220316f), 131) - { - DisableNavmesh = true - }; - span99[2] = new QuestStep(EInteractionType.Interact, 1011697u, new Vector3(39.07837f, 33.999985f, 27.237305f), 131); - obj148.Steps = list223; - reference166 = obj148; - ref QuestSequence reference167 = ref span95[5]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - Span span100 = CollectionsMarshal.AsSpan(list224); - ref QuestStep reference168 = ref span100[0]; - QuestStep obj150 = new QuestStep(EInteractionType.Interact, 1011693u, new Vector3(39.444458f, 34f, 29.984009f), 131) - { - StopDistance = 7f - }; - num3 = 6; - List list225 = new List(num3); - CollectionsMarshal.SetCount(list225, num3); - Span span101 = CollectionsMarshal.AsSpan(list225); - span101[0] = null; - span101[1] = null; - span101[2] = null; - span101[3] = null; - span101[4] = null; - span101[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj150.CompletionQuestVariablesFlags = list225; - reference168 = obj150; - ref QuestStep reference169 = ref span100[1]; - QuestStep obj151 = new QuestStep(EInteractionType.Interact, 1011694u, new Vector3(41.367188f, 33.999992f, 29.43457f), 131) - { - StopDistance = 7f - }; - num3 = 6; - List list226 = new List(num3); - CollectionsMarshal.SetCount(list226, num3); - Span span102 = CollectionsMarshal.AsSpan(list226); - span102[0] = null; - span102[1] = null; - span102[2] = null; - span102[3] = null; - span102[4] = null; - span102[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj151.CompletionQuestVariablesFlags = list226; - reference169 = obj151; - ref QuestStep reference170 = ref span100[2]; - QuestStep obj152 = new QuestStep(EInteractionType.Interact, 1011695u, new Vector3(41.916504f, 33.999992f, 30.044922f), 131) - { - StopDistance = 7f - }; - num3 = 6; - List list227 = new List(num3); - CollectionsMarshal.SetCount(list227, num3); - Span span103 = CollectionsMarshal.AsSpan(list227); - span103[0] = null; - span103[1] = null; - span103[2] = null; - span103[3] = null; - span103[4] = null; - span103[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj152.CompletionQuestVariablesFlags = list227; - reference170 = obj152; - obj149.Steps = list224; - reference167 = obj149; - ref QuestSequence reference171 = ref span95[6]; - QuestSequence obj153 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011697u, new Vector3(39.07837f, 33.999985f, 27.237305f), 131) - { - NextQuestId = new QuestId(493) - }; - obj153.Steps = list228; - reference171 = obj153; - questRoot21.QuestSequence = list218; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(493); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list229 = new List(num); - CollectionsMarshal.SetCount(list229, num); - CollectionsMarshal.AsSpan(list229)[0] = "FalconTaterz"; - questRoot22.Author = list229; - num = 5; - List list230 = new List(num); - CollectionsMarshal.SetCount(list230, num); - Span span104 = CollectionsMarshal.AsSpan(list230); - ref QuestSequence reference172 = ref span104[0]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011699u, new Vector3(39.81079f, 34f, 30.22815f), 131) - { - StopDistance = 7f - }; - obj154.Steps = list231; - reference172 = obj154; - ref QuestSequence reference173 = ref span104[1]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.Interact, 1011707u, new Vector3(42.893066f, 33.99998f, 29.343018f), 131) - { - StopDistance = 7f - }; - obj155.Steps = list232; - reference173 = obj155; - ref QuestSequence reference174 = ref span104[2]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - Span span105 = CollectionsMarshal.AsSpan(list233); - span105[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(137.68585f, 3.9999998f, -58.555218f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahChamberOfRule, - To = EAetheryteLocation.UldahSapphireAvenue - } - }; - span105[1] = new QuestStep(EInteractionType.Interact, 1001679u, new Vector3(140.48975f, 4.0099983f, -59.80017f), 131) - { - StopDistance = 5f - }; - obj156.Steps = list233; - reference174 = obj156; - ref QuestSequence reference175 = ref span104[3]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - CollectionsMarshal.AsSpan(list234)[0] = new QuestStep(EInteractionType.Interact, 1011712u, new Vector3(-43.86969f, 30.000008f, 7.8583374f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahSapphireAvenue, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - obj157.Steps = list234; - reference175 = obj157; - ref QuestSequence reference176 = ref span104[4]; - QuestSequence obj158 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - Span span106 = CollectionsMarshal.AsSpan(list235); - span106[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(22.47297f, 33.999996f, -40.833565f), 131); - span106[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(33.41606f, 34f, -32.54854f), 131); - span106[2] = new QuestStep(EInteractionType.CompleteQuest, 1011707u, new Vector3(42.893066f, 33.99998f, 29.343018f), 131) - { - NextQuestId = new QuestId(502) - }; - obj158.Steps = list235; - reference176 = obj158; - questRoot22.QuestSequence = list230; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(494); - QuestRoot questRoot23 = new QuestRoot(); - num = 2; - List list236 = new List(num); - CollectionsMarshal.SetCount(list236, num); - Span span107 = CollectionsMarshal.AsSpan(list236); - span107[0] = "JerryWester"; - span107[1] = "Wigglez"; - questRoot23.Author = list236; - num = 5; - List list237 = new List(num); - CollectionsMarshal.SetCount(list237, num); - Span span108 = CollectionsMarshal.AsSpan(list237); - ref QuestSequence reference177 = ref span108[0]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006725u, new Vector3(446.82983f, -5.306207f, -465.72064f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj159.Steps = list238; - reference177 = obj159; - ref QuestSequence reference178 = ref span108[1]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - Span span109 = CollectionsMarshal.AsSpan(list239); - span109[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(579.65247f, 17.487066f, -278.57523f), 156) - { - Fly = true - }; - span109[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(572.9147f, -1.2399623f, -260.11197f), 156) - { - Fly = true - }; - span109[2] = new QuestStep(EInteractionType.Combat, null, new Vector3(572.3506f, -0.045776367f, -260.51727f), 156) - { - DelaySecondsAtStart = 1f, - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - span109[3] = new QuestStep(EInteractionType.Interact, 2002927u, new Vector3(572.3506f, -0.045776367f, -260.51727f), 156) - { - TargetTerritoryId = (ushort)156 - }; - span109[4] = new QuestStep(EInteractionType.Interact, 1011638u, new Vector3(664.8203f, -1.1951543f, -106.523315f), 156); - obj160.Steps = list239; - reference178 = obj160; - ref QuestSequence reference179 = ref span108[2]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.Interact, 1011640u, new Vector3(732.0515f, 15.33271f, -68.65039f), 156) - { - StopDistance = 7f - }; - obj161.Steps = list240; - reference179 = obj161; - ref QuestSequence reference180 = ref span108[3]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.Duty, null, null, 156) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 111u, - LowPriority = true - } - }; - obj162.Steps = list241; - reference180 = obj162; - ref QuestSequence reference181 = ref span108[4]; - QuestSequence obj163 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - Span span110 = CollectionsMarshal.AsSpan(list242); - span110[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(445.96164f, -5.3604937f, -466.67636f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span110[1] = new QuestStep(EInteractionType.CompleteQuest, 1006725u, new Vector3(446.82983f, -5.306207f, -465.72064f), 156) - { - NextQuestId = new QuestId(495) - }; - obj163.Steps = list242; - reference181 = obj163; - questRoot23.QuestSequence = list237; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(495); - QuestRoot questRoot24 = new QuestRoot(); - num = 2; - List list243 = new List(num); - CollectionsMarshal.SetCount(list243, num); - Span span111 = CollectionsMarshal.AsSpan(list243); - span111[0] = "JerryWester"; - span111[1] = "Wigglez"; - questRoot24.Author = list243; - num = 3; - List list244 = new List(num); - CollectionsMarshal.SetCount(list244, num); - Span span112 = CollectionsMarshal.AsSpan(list244); - ref QuestSequence reference182 = ref span112[0]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006725u, new Vector3(446.82983f, -5.306207f, -465.72064f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj164.Steps = list245; - reference182 = obj164; - ref QuestSequence reference183 = ref span112[1]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - Span span113 = CollectionsMarshal.AsSpan(list246); - span113[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(579.65247f, 17.487066f, -278.57523f), 156) - { - Fly = true - }; - span113[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(572.9147f, -1.2399623f, -260.11197f), 156) - { - Fly = true - }; - span113[2] = new QuestStep(EInteractionType.Combat, null, new Vector3(572.3506f, -0.045776367f, -260.51727f), 156) - { - DelaySecondsAtStart = 1f, - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - span113[3] = new QuestStep(EInteractionType.Interact, 2002927u, new Vector3(572.3506f, -0.045776367f, -260.51727f), 156) - { - TargetTerritoryId = (ushort)156 - }; - span113[4] = new QuestStep(EInteractionType.Interact, 1011641u, new Vector3(706.4468f, 15.332714f, -71.27496f), 156); - obj165.Steps = list246; - reference183 = obj165; - ref QuestSequence reference184 = ref span112[2]; - QuestSequence obj166 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - Span span114 = CollectionsMarshal.AsSpan(list247); - span114[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(445.96164f, -5.3604937f, -466.67636f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span114[1] = new QuestStep(EInteractionType.CompleteQuest, 1006725u, new Vector3(446.82983f, -5.306207f, -465.72064f), 156); - obj166.Steps = list247; - reference184 = obj166; - questRoot24.QuestSequence = list244; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(496); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list248 = new List(num); - CollectionsMarshal.SetCount(list248, num); - CollectionsMarshal.AsSpan(list248)[0] = "liza"; - questRoot25.Author = list248; - num = 6; - List list249 = new List(num); - CollectionsMarshal.SetCount(list249, num); - Span span115 = CollectionsMarshal.AsSpan(list249); - ref QuestSequence reference185 = ref span115[0]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - CollectionsMarshal.AsSpan(list250)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj167.Steps = list250; - reference185 = obj167; - ref QuestSequence reference186 = ref span115[1]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.Interact, 1006279u, new Vector3(-231.4336f, 21.512743f, 339.49792f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil - }; - obj168.Steps = list251; - reference186 = obj168; - ref QuestSequence reference187 = ref span115[2]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - CollectionsMarshal.AsSpan(list252)[0] = new QuestStep(EInteractionType.Interact, 1011650u, new Vector3(557.6714f, 20.721313f, 454.24573f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj169.Steps = list252; - reference187 = obj169; - ref QuestSequence reference188 = ref span115[3]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - CollectionsMarshal.AsSpan(list253)[0] = new QuestStep(EInteractionType.Emote, 1011650u, new Vector3(557.6714f, 20.721313f, 454.24573f), 137) - { - Emote = EEmote.Soothe - }; - obj170.Steps = list253; - reference188 = obj170; - ref QuestSequence reference189 = ref span115[4]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - ref QuestStep reference190 = ref CollectionsMarshal.AsSpan(list254)[0]; - QuestStep obj172 = new QuestStep(EInteractionType.Interact, 1011651u, new Vector3(8.804443f, 71.18964f, -15.182739f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport - }; - num3 = 1; - List list255 = new List(num3); - CollectionsMarshal.SetCount(list255, num3); - CollectionsMarshal.AsSpan(list255)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_SUBPST026_00496_Q1_000_000"), - Answer = new ExcelRef("TEXT_SUBPST026_00496_A1_000_001") - }; - obj172.DialogueChoices = list255; - reference190 = obj172; - obj171.Steps = list254; - reference189 = obj171; - ref QuestSequence reference191 = ref span115[5]; - QuestSequence obj173 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011652u, new Vector3(532.9823f, 44.02837f, 540.3982f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - NextQuestId = new QuestId(362) - }; - obj173.Steps = list256; - reference191 = obj173; - questRoot25.QuestSequence = list249; - AddQuest(questId25, questRoot25); - } - - private static void LoadQuests10() - { - QuestId questId = new QuestId(502); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "FalconTaterz"; - questRoot.Author = list; - num = 6; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011707u, new Vector3(42.893066f, 33.99998f, 29.343018f), 131); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1011714u, new Vector3(-223.19379f, -3.7199955f, 52.32312f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Say, 2005188u, new Vector3(-314.07648f, -1.083435f, 43.9917f), 141) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_CHRHDB505_00502_SAYTODO_000_000" - } - }; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - Span span2 = CollectionsMarshal.AsSpan(list6); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(159.84998f, 37.381317f, 174.60776f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill - }; - span2[1] = new QuestStep(EInteractionType.Interact, 1011722u, new Vector3(159.68555f, 37.432796f, 177.69128f), 153); - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.Duty, null, null, 153) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 85u - } - }; - obj5.Steps = list7; - reference5 = obj5; - ref QuestSequence reference6 = ref span[5]; - QuestSequence obj6 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011723u, new Vector3(141.06958f, 29.64365f, 173.72388f), 153) - { - NextQuestId = new QuestId(2226) - }; - obj6.Steps = list8; - reference6 = obj6; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(503); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - CollectionsMarshal.AsSpan(list9)[0] = "liza"; - questRoot2.Author = list9; - num = 3; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - Span span3 = CollectionsMarshal.AsSpan(list10); - ref QuestSequence reference7 = ref span3[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002061u, new Vector3(240.98572f, 58.357986f, -160.99799f), 140); - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span3[1]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - Span span4 = CollectionsMarshal.AsSpan(list12); - ref QuestStep reference9 = ref span4[0]; - QuestStep obj9 = new QuestStep(EInteractionType.Combat, 2001368u, new Vector3(297.56616f, 62.546753f, -194.04901f), 140) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - int num3 = 1; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - CollectionsMarshal.AsSpan(list13)[0] = 187u; - obj9.KillEnemyDataIds = list13; - num3 = 6; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - Span span5 = CollectionsMarshal.AsSpan(list14); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj9.CompletionQuestVariablesFlags = list14; - reference9 = obj9; - ref QuestStep reference10 = ref span4[1]; - QuestStep obj10 = new QuestStep(EInteractionType.Combat, 2001735u, new Vector3(318.31836f, 63.523315f, -200.9461f), 140) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list15 = new List(num3); - CollectionsMarshal.SetCount(list15, num3); - CollectionsMarshal.AsSpan(list15)[0] = 187u; - obj10.KillEnemyDataIds = list15; - num3 = 6; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - Span span6 = CollectionsMarshal.AsSpan(list16); - span6[0] = null; - span6[1] = null; - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj10.CompletionQuestVariablesFlags = list16; - reference10 = obj10; - ref QuestStep reference11 = ref span4[2]; - QuestStep obj11 = new QuestStep(EInteractionType.Combat, 2001369u, new Vector3(293.01892f, 63.46228f, -236.16394f), 140) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list17 = new List(num3); - CollectionsMarshal.SetCount(list17, num3); - CollectionsMarshal.AsSpan(list17)[0] = 187u; - obj11.KillEnemyDataIds = list17; - num3 = 6; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - Span span7 = CollectionsMarshal.AsSpan(list18); - span7[0] = null; - span7[1] = null; - span7[2] = null; - span7[3] = null; - span7[4] = null; - span7[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj11.CompletionQuestVariablesFlags = list18; - reference11 = obj11; - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference12 = ref span3[2]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002061u, new Vector3(240.98572f, 58.357986f, -160.99799f), 140); - obj12.Steps = list19; - reference12 = obj12; - questRoot2.QuestSequence = list10; - AddQuest(questId2, questRoot2); - UnlockLinkId questId3 = new UnlockLinkId(506); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - CollectionsMarshal.AsSpan(list20)[0] = "liza"; - questRoot3.Author = list20; - questRoot3.IsSeasonalQuest = true; - questRoot3.SeasonalQuestExpiry = new DateTime(2025, 8, 5, 0, 0, 0, DateTimeKind.Utc); - num = 1; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - ref QuestSequence reference13 = ref CollectionsMarshal.AsSpan(list21)[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - ref QuestStep reference14 = ref CollectionsMarshal.AsSpan(list22)[0]; - QuestStep obj14 = new QuestStep(EInteractionType.AcceptQuest, 1052475u, new Vector3(-22.354492f, 10.13581f, -241.41296f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition obj15 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - CollectionsMarshal.AsSpan(list23)[0] = 133; - obj15.InTerritory = list23; - skipConditions.AetheryteShortcutIf = obj15; - obj14.SkipConditions = skipConditions; - reference14 = obj14; - obj13.Steps = list22; - reference13 = obj13; - questRoot3.QuestSequence = list21; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(507); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - CollectionsMarshal.AsSpan(list24)[0] = "liza"; - questRoot4.Author = list24; - num = 10; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - Span span8 = CollectionsMarshal.AsSpan(list25); - ref QuestSequence reference15 = ref span8[0]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003027u, new Vector3(4.8981323f, -1.92944f, -0.19836426f), 205); - obj16.Steps = list26; - reference15 = obj16; - ref QuestSequence reference16 = ref span8[1]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - Span span9 = CollectionsMarshal.AsSpan(list27); - span9[0] = new QuestStep(EInteractionType.Interact, 2001216u, new Vector3(45.87172f, 7.763558f, 47.41661f), 205) - { - TargetTerritoryId = (ushort)133 - }; - span9[1] = new QuestStep(EInteractionType.Interact, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaConjurer, - To = EAetheryteLocation.GridaniaAirship - } - }; - obj17.Steps = list27; - reference16 = obj17; - ref QuestSequence reference17 = ref span8[2]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - ref QuestStep reference18 = ref CollectionsMarshal.AsSpan(list28)[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1000106u, new Vector3(29.007324f, -19.000002f, 105.485596f), 132); - num3 = 1; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - CollectionsMarshal.AsSpan(list29)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANFST200_00507_Q1_000_1") - }; - questStep.DialogueChoices = list29; - reference18 = questStep; - obj18.Steps = list28; - reference17 = obj18; - ref QuestSequence reference19 = ref span8[3]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - ref QuestStep reference20 = ref CollectionsMarshal.AsSpan(list30)[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2001666u, new Vector3(7.179191f, -21.93796f, 124.1005f), 132); - num3 = 1; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - CollectionsMarshal.AsSpan(list31)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANFST200_00507_Q2_000_1") - }; - questStep2.DialogueChoices = list31; - reference20 = questStep2; - obj19.Steps = list30; - reference19 = obj19; - ref QuestSequence reference21 = ref span8[4]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - Span span10 = CollectionsMarshal.AsSpan(list32); - ref QuestStep reference22 = ref span10[0]; - QuestStep obj21 = new QuestStep(EInteractionType.Interact, 1002703u, new Vector3(-12.375122f, 91.499985f, -0.5340576f), 128) - { - Comment = "Limsa Arrivals Attendant" - }; - num3 = 1; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - CollectionsMarshal.AsSpan(list33)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANFST200_00507_Q5_000_1") - }; - obj21.DialogueChoices = list33; - reference22 = obj21; - span10[1] = new QuestStep(EInteractionType.Interact, 1002693u, new Vector3(-6.515625f, 91.49996f, -13.656921f), 128); - obj20.Steps = list32; - reference21 = obj20; - ref QuestSequence reference23 = ref span8[5]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - Span span11 = CollectionsMarshal.AsSpan(list34); - ref QuestStep reference24 = ref span11[0]; - QuestStep obj23 = new QuestStep(EInteractionType.Interact, 1003583u, new Vector3(-7.248047f, 91.49999f, -16.128845f), 128) - { - TargetTerritoryId = (ushort)129 - }; - num3 = 1; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - CollectionsMarshal.AsSpan(list35)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Warp", - Answer = new ExcelRef(131094u) - }; - obj23.DialogueChoices = list35; - reference24 = obj23; - span11[1] = new QuestStep(EInteractionType.Interact, 1001029u, new Vector3(9.170593f, 20.999403f, -15.213318f), 129); - obj22.Steps = list34; - reference23 = obj22; - ref QuestSequence reference25 = ref span8[6]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 6 - }; - num2 = 10; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - Span span12 = CollectionsMarshal.AsSpan(list36); - span12[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 129) - { - Aetheryte = EAetheryteLocation.Limsa - }; - span12[1] = new QuestStep(EInteractionType.RegisterFreeOrFavoredAetheryte, null, null, 129) - { - Aetheryte = EAetheryteLocation.Limsa - }; - span12[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 129) - { - AethernetShard = EAetheryteLocation.LimsaHawkersAlley - }; - span12[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 129) - { - AethernetShard = EAetheryteLocation.LimsaArcanist - }; - span12[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 129) - { - AethernetShard = EAetheryteLocation.LimsaFisher, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaArcanist, - To = EAetheryteLocation.LimsaHawkersAlley - } - }; - span12[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-83.8817f, 18.475962f, -29.903847f), 129) - { - TargetTerritoryId = (ushort)128, - Comment = "Walk to Culinarians' Guild", - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.Limsa - } - }; - span12[6] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 128) - { - AethernetShard = EAetheryteLocation.LimsaCulinarian - }; - span12[7] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 128) - { - AethernetShard = EAetheryteLocation.LimsaMarauder - }; - span12[8] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 128) - { - AethernetShard = EAetheryteLocation.LimsaAftcastle - }; - ref QuestStep reference26 = ref span12[9]; - QuestStep obj25 = new QuestStep(EInteractionType.Interact, 1002695u, new Vector3(-25.92511f, 91.999954f, -3.6774292f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.LimsaAirship - } - }; - num3 = 1; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - CollectionsMarshal.AsSpan(list37)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANFST200_00507_Q6_000_1") - }; - obj25.DialogueChoices = list37; - reference26 = obj25; - obj24.Steps = list36; - reference25 = obj24; - ref QuestSequence reference27 = ref span8[7]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - ref QuestStep reference28 = ref CollectionsMarshal.AsSpan(list38)[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2001669u, new Vector3(-11.12384f, 92.0271f, 17.166382f), 128); - num3 = 1; - List list39 = new List(num3); - CollectionsMarshal.SetCount(list39, num3); - CollectionsMarshal.AsSpan(list39)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANFST200_00507_Q4_000_1") - }; - questStep3.DialogueChoices = list39; - reference28 = questStep3; - obj26.Steps = list38; - reference27 = obj26; - ref QuestSequence reference29 = ref span8[8]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 8 - }; - num2 = 2; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - Span span13 = CollectionsMarshal.AsSpan(list40); - ref QuestStep reference30 = ref span13[0]; - QuestStep obj28 = new QuestStep(EInteractionType.Interact, 1004434u, new Vector3(-27.17633f, 83.19998f, 2.304016f), 130) - { - Comment = "Ul'dah Arrivals Attendant" - }; - num3 = 1; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - CollectionsMarshal.AsSpan(list41)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANFST200_00507_Q7_000_1") - }; - obj28.DialogueChoices = list41; - reference30 = obj28; - span13[1] = new QuestStep(EInteractionType.Interact, 1004336u, new Vector3(-12.619263f, 82.99987f, 4.562378f), 130); - obj27.Steps = list40; - reference29 = obj27; - ref QuestSequence reference31 = ref span8[9]; - QuestSequence obj29 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - Span span14 = CollectionsMarshal.AsSpan(list42); - ref QuestStep reference32 = ref span14[0]; - QuestStep obj30 = new QuestStep(EInteractionType.Interact, 1004339u, new Vector3(-25.986206f, 81.799995f, -31.99823f), 130) - { - TargetTerritoryId = (ushort)131 - }; - num3 = 1; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - CollectionsMarshal.AsSpan(list43)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Warp", - Answer = new ExcelRef(131096u) - }; - obj30.DialogueChoices = list43; - reference32 = obj30; - span14[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahChamberOfRule - }; - span14[2] = new QuestStep(EInteractionType.CompleteQuest, 1001821u, new Vector3(-24.124573f, 38.000004f, 85.31323f), 131); - obj29.Steps = list42; - reference31 = obj29; - questRoot4.QuestSequence = list25; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(509); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - CollectionsMarshal.AsSpan(list44)[0] = "liza"; - questRoot5.Author = list44; - num = 3; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - Span span15 = CollectionsMarshal.AsSpan(list45); - ref QuestSequence reference33 = ref span15[0]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130); - obj31.Steps = list46; - reference33 = obj31; - ref QuestSequence reference34 = ref span15[1]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - Span span16 = CollectionsMarshal.AsSpan(list47); - span16[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-316.29608f, 23.44405f, -345.24487f), 140) - { - AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon - }; - span16[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-396.50018f, 23f, -351.0944f), 140); - span16[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-408.92343f, 23.167036f, -351.16223f), 140) - { - DisableNavmesh = true - }; - span16[3] = new QuestStep(EInteractionType.Interact, 1004603u, new Vector3(-489.8299f, 21.48999f, -381.97913f), 140); - obj32.Steps = list47; - reference34 = obj32; - ref QuestSequence reference35 = ref span15[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - Span span17 = CollectionsMarshal.AsSpan(list48); - span17[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-493.3852f, 21f, -382.50455f), 140); - span17[1] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span17[2] = new QuestStep(EInteractionType.CompleteQuest, 1005012u, new Vector3(22.507019f, 0.9999986f, -2.02948f), 212); - obj33.Steps = list48; - reference35 = obj33; - questRoot5.QuestSequence = list45; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(510); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - CollectionsMarshal.AsSpan(list49)[0] = "liza"; - questRoot6.Author = list49; - num = 3; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - Span span18 = CollectionsMarshal.AsSpan(list50); - ref QuestSequence reference36 = ref span18[0]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - ref QuestStep reference37 = ref CollectionsMarshal.AsSpan(list51)[0]; - QuestStep obj35 = new QuestStep(EInteractionType.AcceptQuest, 1003783u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212) - { - StopDistance = 5f - }; - num3 = 1; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - CollectionsMarshal.AsSpan(list52)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_MANFST207_00510_Q1_000_1"), - Answer = new ExcelRef("TEXT_MANFST207_00510_A1_000_1") - }; - obj35.DialogueChoices = list52; - reference37 = obj35; - obj34.Steps = list51; - reference36 = obj34; - ref QuestSequence reference38 = ref span18[1]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.Interact, 1005119u, new Vector3(33.37146f, 1.1999971f, 6.454529f), 212); - obj36.Steps = list53; - reference38 = obj36; - ref QuestSequence reference39 = ref span18[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 9; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - Span span19 = CollectionsMarshal.AsSpan(list54); - span19[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-64.84354f, -3.6581912f, 186.08156f), 141) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGateOfNald - } - }; - span19[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-62.2836f, -3.6582258f, 144.35869f), 141); - span19[2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 141) - { - Aetheryte = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - span19[3] = new QuestStep(EInteractionType.UnlockTaxiStand, 1001607u, new Vector3(-2.7314453f, -2.055717f, -158.52606f), 141) - { - TaxiStandId = (byte)14 - }; - span19[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(454.0109f, -17.999832f, -183.1808f), 141) - { - TargetTerritoryId = (ushort)145 - }; - span19[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-423.0189f, -37.96352f, 176.73677f), 145); - span19[6] = new QuestStep(EInteractionType.UnlockTaxiStand, 1003935u, new Vector3(-423.2395f, -39.060455f, 112.2301f), 145) - { - TaxiStandId = (byte)15 - }; - span19[7] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 145) - { - Aetheryte = EAetheryteLocation.EasternThanalanCampDrybone - }; - span19[8] = new QuestStep(EInteractionType.CompleteQuest, 1003929u, new Vector3(-378.65265f, -55.75492f, 106.79785f), 145); - obj37.Steps = list54; - reference39 = obj37; - questRoot6.QuestSequence = list50; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(511); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - CollectionsMarshal.AsSpan(list55)[0] = "liza"; - questRoot7.Author = list55; - num = 4; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - Span span20 = CollectionsMarshal.AsSpan(list56); - ref QuestSequence reference40 = ref span20[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005116u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj38.Steps = list57; - reference40 = obj38; - ref QuestSequence reference41 = ref span20[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - Span span21 = CollectionsMarshal.AsSpan(list58); - span21[0] = new QuestStep(EInteractionType.Interact, 2001717u, new Vector3(25.497803f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212 - }; - span21[1] = new QuestStep(EInteractionType.Interact, 2001716u, new Vector3(-15.701599f, 1.083313f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)140 - }; - span21[2] = new QuestStep(EInteractionType.Interact, 1003785u, new Vector3(-489.8299f, 21.48999f, -381.97913f), 140); - obj39.Steps = list58; - reference41 = obj39; - ref QuestSequence reference42 = ref span20[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - Span span22 = CollectionsMarshal.AsSpan(list59); - ref QuestStep reference43 = ref span22[0]; - QuestStep obj41 = new QuestStep(EInteractionType.Interact, 2001691u, new Vector3(-5.294922f, 29.984009f, 20.675903f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - num3 = 6; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - Span span23 = CollectionsMarshal.AsSpan(list60); - span23[0] = null; - span23[1] = null; - span23[2] = null; - span23[3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span23[4] = null; - span23[5] = null; - obj41.CompletionQuestVariablesFlags = list60; - reference43 = obj41; - ref QuestStep reference44 = ref span22[1]; - QuestStep obj42 = new QuestStep(EInteractionType.Interact, 1001029u, new Vector3(9.170593f, 20.999403f, -15.213318f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa - }; - num3 = 6; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - Span span24 = CollectionsMarshal.AsSpan(list61); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span24[4] = null; - span24[5] = null; - obj42.CompletionQuestVariablesFlags = list61; - num3 = 1; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - CollectionsMarshal.AsSpan(list62)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANFST300_00511_Q1_000_1") - }; - obj42.DialogueChoices = list62; - reference44 = obj42; - ref QuestStep reference45 = ref span22[2]; - QuestStep obj43 = new QuestStep(EInteractionType.Interact, 2001690u, new Vector3(-49.759705f, 7.003784f, -114.82416f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - num3 = 6; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - Span span25 = CollectionsMarshal.AsSpan(list63); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - span25[4] = null; - span25[5] = null; - obj43.CompletionQuestVariablesFlags = list63; - reference45 = obj43; - obj40.Steps = list59; - reference42 = obj40; - ref QuestSequence reference46 = ref span20[3]; - QuestSequence obj44 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - Span span26 = CollectionsMarshal.AsSpan(list64); - span26[0] = new QuestStep(EInteractionType.UseItem, null, null, 133) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span26[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span26[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span26[3] = new QuestStep(EInteractionType.Interact, 2001715u, new Vector3(23.23944f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212 - }; - span26[4] = new QuestStep(EInteractionType.CompleteQuest, 1005122u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj44.Steps = list64; - reference46 = obj44; - questRoot7.QuestSequence = list56; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(513); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - CollectionsMarshal.AsSpan(list65)[0] = "liza"; - questRoot8.Author = list65; - num = 2; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - Span span27 = CollectionsMarshal.AsSpan(list66); - ref QuestSequence reference47 = ref span27[0]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005128u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj45.Steps = list67; - reference47 = obj45; - ref QuestSequence reference48 = ref span27[1]; - QuestSequence obj46 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj46.Steps = list68; - reference48 = obj46; - questRoot8.QuestSequence = list66; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(514); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - CollectionsMarshal.AsSpan(list69)[0] = "JerryWester"; - questRoot9.Author = list69; - num = 5; - List list70 = new List(num); - CollectionsMarshal.SetCount(list70, num); - Span span28 = CollectionsMarshal.AsSpan(list70); - ref QuestSequence reference49 = ref span28[0]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000590u, new Vector3(-165.9419f, 9.869227f, -81.34589f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj47.Steps = list71; - reference49 = obj47; - ref QuestSequence reference50 = ref span28[1]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.Interact, 1000393u, new Vector3(-89.463684f, 3.318795f, -168.9021f), 153); - obj48.Steps = list72; - reference50 = obj48; - ref QuestSequence reference51 = ref span28[2]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.Duty, null, null, 153) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 1u - } - }; - obj49.Steps = list73; - reference51 = obj49; - span28[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference52 = ref span28[4]; - QuestSequence obj50 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000590u, new Vector3(-165.9419f, 9.869227f, -81.34589f), 153); - obj50.Steps = list74; - reference52 = obj50; - questRoot9.QuestSequence = list70; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(516); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - CollectionsMarshal.AsSpan(list75)[0] = "JerryWester"; - questRoot10.Author = list75; - num = 3; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - Span span29 = CollectionsMarshal.AsSpan(list76); - ref QuestSequence reference53 = ref span29[0]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006688u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj51.Steps = list77; - reference53 = obj51; - ref QuestSequence reference54 = ref span29[1]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.Interact, 1003281u, new Vector3(97.520386f, 40.248554f, 81.1322f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj52.Steps = list78; - reference54 = obj52; - ref QuestSequence reference55 = ref span29[2]; - QuestSequence obj53 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006264u, new Vector3(710.90247f, 66.027f, -277.66846f), 135) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.LimsaTempestGate - } - }; - obj53.Steps = list79; - reference55 = obj53; - questRoot10.QuestSequence = list76; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(517); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - CollectionsMarshal.AsSpan(list80)[0] = "JerryWester"; - questRoot11.Author = list80; - num = 5; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - Span span30 = CollectionsMarshal.AsSpan(list81); - ref QuestSequence reference56 = ref span30[0]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006343u, new Vector3(427.63403f, 4.115109f, 85.92346f), 139) - { - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj54.Steps = list82; - reference56 = obj54; - ref QuestSequence reference57 = ref span30[1]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.Interact, 1003281u, new Vector3(97.520386f, 40.248554f, 81.1322f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj55.Steps = list83; - reference57 = obj55; - ref QuestSequence reference58 = ref span30[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - Span span31 = CollectionsMarshal.AsSpan(list84); - span31[0] = new QuestStep(EInteractionType.UseItem, null, null, 128) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span31[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span31[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - obj56.Steps = list84; - reference58 = obj56; - ref QuestSequence reference59 = ref span30[3]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - Span span32 = CollectionsMarshal.AsSpan(list85); - span32[0] = new QuestStep(EInteractionType.Interact, 2001715u, new Vector3(23.23944f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212 - }; - span32[1] = new QuestStep(EInteractionType.Interact, 1007467u, new Vector3(36.057007f, 0.32037354f, -1.5411987f), 212); - obj57.Steps = list85; - reference59 = obj57; - ref QuestSequence reference60 = ref span30[4]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - ref QuestStep reference61 = ref CollectionsMarshal.AsSpan(list86)[0]; - QuestStep obj59 = new QuestStep(EInteractionType.CompleteQuest, 1006355u, new Vector3(-512.47424f, -16.42f, -7.522766f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - num3 = 1; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - CollectionsMarshal.AsSpan(list87)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_MANFST313_00517_Q1_000_050"), - Answer = new ExcelRef("TEXT_MANFST313_00517_A3_000_053") - }; - obj59.DialogueChoices = list87; - reference61 = obj59; - obj58.Steps = list86; - reference60 = obj58; - questRoot11.QuestSequence = list81; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(518); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list88 = new List(num); - CollectionsMarshal.SetCount(list88, num); - CollectionsMarshal.AsSpan(list88)[0] = "JerryWester"; - questRoot12.Author = list88; - num = 4; - List list89 = new List(num); - CollectionsMarshal.SetCount(list89, num); - Span span33 = CollectionsMarshal.AsSpan(list89); - ref QuestSequence reference62 = ref span33[0]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006672u, new Vector3(-509.36142f, -16.42f, -7.522766f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj60.Steps = list90; - reference62 = obj60; - ref QuestSequence reference63 = ref span33[1]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - ref QuestStep reference64 = ref CollectionsMarshal.AsSpan(list91)[0]; - QuestStep obj62 = new QuestStep(EInteractionType.Combat, 2002105u, new Vector3(-444.419f, -27.237366f, 15.945618f), 145) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - CollectionsMarshal.AsSpan(list92)[0] = 1902u; - obj62.KillEnemyDataIds = list92; - reference64 = obj62; - obj61.Steps = list91; - reference63 = obj61; - ref QuestSequence reference65 = ref span33[2]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.Interact, 1006672u, new Vector3(-509.36142f, -16.42f, -7.522766f), 145); - obj63.Steps = list93; - reference65 = obj63; - ref QuestSequence reference66 = ref span33[3]; - QuestSequence obj64 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006355u, new Vector3(-512.47424f, -16.42f, -7.522766f), 145); - obj64.Steps = list94; - reference66 = obj64; - questRoot12.QuestSequence = list89; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(519); - QuestRoot questRoot13 = new QuestRoot(); - num = 2; - List list95 = new List(num); - CollectionsMarshal.SetCount(list95, num); - Span span34 = CollectionsMarshal.AsSpan(list95); - span34[0] = "JerryWester"; - span34[1] = "Wigglez"; - questRoot13.Author = list95; - num = 5; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - Span span35 = CollectionsMarshal.AsSpan(list96); - ref QuestSequence reference67 = ref span35[0]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006492u, new Vector3(7.3395386f, -21.970974f, 121.934814f), 132); - obj65.Steps = list97; - reference67 = obj65; - ref QuestSequence reference68 = ref span35[1]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - Span span36 = CollectionsMarshal.AsSpan(list98); - ref QuestStep reference69 = ref span36[0]; - QuestStep obj67 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(29.821457f, -19.000002f, 103.27891f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list99 = new List(num3); - CollectionsMarshal.SetCount(list99, num3); - CollectionsMarshal.AsSpan(list99)[0] = 331; - skipStepConditions.InTerritory = list99; - skipConditions2.StepIf = skipStepConditions; - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list100 = new List(num3); - CollectionsMarshal.SetCount(list100, num3); - CollectionsMarshal.AsSpan(list100)[0] = 331; - skipAetheryteCondition.InTerritory = list100; - skipConditions2.AetheryteShortcutIf = skipAetheryteCondition; - obj67.SkipConditions = skipConditions2; - reference69 = obj67; - ref QuestStep reference70 = ref span36[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1000106u, null, 132); - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - CollectionsMarshal.AsSpan(list101)[0] = 331; - skipStepConditions2.InTerritory = list101; - skipConditions3.StepIf = skipStepConditions2; - questStep4.SkipConditions = skipConditions3; - num3 = 1; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - CollectionsMarshal.AsSpan(list102)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANFST404_00519_Q3_000_032") - }; - questStep4.DialogueChoices = list102; - reference70 = questStep4; - ref QuestStep reference71 = ref span36[2]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1006492u, new Vector3(7.3395386f, -21.970974f, 121.934814f), 132); - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - CollectionsMarshal.AsSpan(list103)[0] = 331; - skipStepConditions3.InTerritory = list103; - skipConditions4.StepIf = skipStepConditions3; - questStep5.SkipConditions = skipConditions4; - num3 = 1; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - CollectionsMarshal.AsSpan(list104)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANFST404_00519_Q2_000_031") - }; - questStep5.DialogueChoices = list104; - reference71 = questStep5; - span36[3] = new QuestStep(EInteractionType.Interact, 1007690u, new Vector3(-84.58081f, -0.6225241f, -35.568848f), 331); - obj66.Steps = list98; - reference68 = obj66; - ref QuestSequence reference72 = ref span35[2]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Duty, null, null, 331) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 58u - } - }; - obj68.Steps = list105; - reference72 = obj68; - span35[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference73 = ref span35[4]; - QuestSequence obj69 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006730u, new Vector3(-44.63269f, 84f, -3.768982f), 130) - { - StopDistance = 7f - }; - obj69.Steps = list106; - reference73 = obj69; - questRoot13.QuestSequence = list96; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(520); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - CollectionsMarshal.AsSpan(list107)[0] = "JerryWester"; - questRoot14.Author = list107; - num = 2; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - Span span37 = CollectionsMarshal.AsSpan(list108); - ref QuestSequence reference74 = ref span37[0]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006730u, new Vector3(-44.63269f, 84f, -3.768982f), 130) - { - StopDistance = 7f - }; - obj70.Steps = list109; - reference74 = obj70; - ref QuestSequence reference75 = ref span37[1]; - QuestSequence obj71 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - Span span38 = CollectionsMarshal.AsSpan(list110); - span38[0] = new QuestStep(EInteractionType.UseItem, null, null, 128) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span38[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span38[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span38[3] = new QuestStep(EInteractionType.CompleteQuest, 1007630u, new Vector3(22.812195f, 0.9999986f, 2.1820068f), 212); - obj71.Steps = list110; - reference75 = obj71; - questRoot14.QuestSequence = list108; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(521); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - CollectionsMarshal.AsSpan(list111)[0] = "JerryWester"; - questRoot15.Author = list111; - num = 8; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - Span span39 = CollectionsMarshal.AsSpan(list112); - ref QuestSequence reference76 = ref span39[0]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006555u, new Vector3(-2.7619019f, -158.5813f, -1.6327515f), 156); - obj72.Steps = list113; - reference76 = obj72; - ref QuestSequence reference77 = ref span39[1]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - Span span40 = CollectionsMarshal.AsSpan(list114); - span40[0] = new QuestStep(EInteractionType.EquipItem, null, null, 156) - { - Comment = "Can be re-bought from Glaumunt in Mor Dhona", - ItemId = 6223u - }; - span40[1] = new QuestStep(EInteractionType.EquipItem, null, null, 156) - { - Comment = "Can be re-bought from Glaumunt in Mor Dhona", - ItemId = 6224u - }; - span40[2] = new QuestStep(EInteractionType.Interact, 2002502u, new Vector3(0.7476196f, -156.93909f, 16.281311f), 156) - { - TargetTerritoryId = (ushort)156 - }; - span40[3] = new QuestStep(EInteractionType.Interact, 1007537u, new Vector3(-358.23608f, -16.248493f, -481.13226f), 156); - obj73.Steps = list114; - reference77 = obj73; - ref QuestSequence reference78 = ref span39[2]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - Span span41 = CollectionsMarshal.AsSpan(list115); - span41[0] = new QuestStep(EInteractionType.Emote, 1006568u, new Vector3(-559.3805f, -1.9197596f, -318.349f), 335) - { - Emote = EEmote.ImperialSalute - }; - span41[1] = new QuestStep(EInteractionType.Emote, 1006567u, new Vector3(-532.2195f, -1.9197612f, -284.50446f), 335) - { - Emote = EEmote.ImperialSalute - }; - span41[2] = new QuestStep(EInteractionType.Emote, 1006569u, new Vector3(-491.44736f, -3.9312067f, -300.8011f), 335) - { - Emote = EEmote.ImperialSalute - }; - obj74.Steps = list115; - reference78 = obj74; - ref QuestSequence reference79 = ref span39[3]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - Span span42 = CollectionsMarshal.AsSpan(list116); - span42[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-530.1089f, -3.3262053f, -308.2147f), 335); - span42[1] = new QuestStep(EInteractionType.Emote, 1007611u, new Vector3(-536.4004f, -1.9197441f, -308.00336f), 335) - { - StopDistance = 7f, - Emote = EEmote.ImperialSalute - }; - obj75.Steps = list116; - reference79 = obj75; - ref QuestSequence reference80 = ref span39[4]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.Interact, 1006562u, new Vector3(-495.964f, -3.7679372f, -288.1667f), 335); - obj76.Steps = list117; - reference80 = obj76; - ref QuestSequence reference81 = ref span39[5]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - Span span43 = CollectionsMarshal.AsSpan(list118); - span43[0] = new QuestStep(EInteractionType.EquipRecommended, null, new Vector3(-427.75616f, -0.77819824f, -273.82324f), 335); - ref QuestStep reference82 = ref span43[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.SinglePlayerDuty, 2002376u, new Vector3(-427.75616f, -0.77819824f, -273.82324f), 335); - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions(); - num3 = 1; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - CollectionsMarshal.AsSpan(list119)[0] = "(outside) Doesn't use obstacle maps or vnav to move to the shield generators, gets stuck on the big crates"; - singlePlayerDutyOptions.Notes = list119; - questStep6.SinglePlayerDutyOptions = singlePlayerDutyOptions; - reference82 = questStep6; - obj77.Steps = list118; - reference81 = obj77; - span39[6] = new QuestSequence - { - Sequence = 6 - }; - ref QuestSequence reference83 = ref span39[7]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006573u, new Vector3(-43.717102f, 84f, 2.1514893f), 130) - { - StopDistance = 5f - }; - obj78.Steps = list120; - reference83 = obj78; - questRoot15.QuestSequence = list112; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(522); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list121 = new List(num); - CollectionsMarshal.SetCount(list121, num); - CollectionsMarshal.AsSpan(list121)[0] = "JerryWester"; - questRoot16.Author = list121; - num = 3; - List list122 = new List(num); - CollectionsMarshal.SetCount(list122, num); - Span span44 = CollectionsMarshal.AsSpan(list122); - ref QuestSequence reference84 = ref span44[0]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006573u, new Vector3(-43.717102f, 84f, 2.1514893f), 130) - { - StopDistance = 5f - }; - obj79.Steps = list123; - reference84 = obj79; - ref QuestSequence reference85 = ref span44[1]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.Interact, 1001821u, new Vector3(-24.124573f, 38.000004f, 85.31323f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - }, - SkipConditions = new SkipConditions - { - AethernetShortcutIf = new SkipAetheryteCondition - { - Never = true - } - } - }; - obj80.Steps = list124; - reference85 = obj80; - ref QuestSequence reference86 = ref span44[2]; - QuestSequence obj81 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - Span span45 = CollectionsMarshal.AsSpan(list125); - span45[0] = new QuestStep(EInteractionType.UseItem, null, null, 128) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span45[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span45[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span45[3] = new QuestStep(EInteractionType.Interact, 2001715u, new Vector3(23.23944f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212 - }; - span45[4] = new QuestStep(EInteractionType.CompleteQuest, 1006690u, new Vector3(39.261353f, 1.2148079f, 0.8086548f), 212); - obj81.Steps = list125; - reference86 = obj81; - questRoot16.QuestSequence = list122; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(528); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - CollectionsMarshal.AsSpan(list126)[0] = "liza"; - questRoot17.Author = list126; - num = 10; - List list127 = new List(num); - CollectionsMarshal.SetCount(list127, num); - Span span46 = CollectionsMarshal.AsSpan(list127); - ref QuestSequence reference87 = ref span46[0]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.AcceptQuest, 1004004u, new Vector3(-139.29962f, 4.1f, -113.481445f), 130); - obj82.Steps = list128; - reference87 = obj82; - ref QuestSequence reference88 = ref span46[1]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.Interact, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130); - obj83.Steps = list129; - reference88 = obj83; - ref QuestSequence reference89 = ref span46[2]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - ref QuestStep reference90 = ref CollectionsMarshal.AsSpan(list130)[0]; - QuestStep obj85 = new QuestStep(EInteractionType.Interact, 1004433u, new Vector3(-23.605713f, 83.19999f, -2.3041382f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahAirship - } - }; - num3 = 1; - List list131 = new List(num3); - CollectionsMarshal.SetCount(list131, num3); - CollectionsMarshal.AsSpan(list131)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANWIL200_00528_Q1_000_1") - }; - obj85.DialogueChoices = list131; - reference90 = obj85; - obj84.Steps = list130; - reference89 = obj84; - ref QuestSequence reference91 = ref span46[3]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - ref QuestStep reference92 = ref CollectionsMarshal.AsSpan(list132)[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2001667u, new Vector3(-45.365112f, 84.09241f, -0.80877686f), 130); - num3 = 1; - List list133 = new List(num3); - CollectionsMarshal.SetCount(list133, num3); - CollectionsMarshal.AsSpan(list133)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANWIL200_00528_Q2_000_1") - }; - questStep7.DialogueChoices = list133; - reference92 = questStep7; - obj86.Steps = list132; - reference91 = obj86; - ref QuestSequence reference93 = ref span46[4]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - Span span47 = CollectionsMarshal.AsSpan(list134); - ref QuestStep reference94 = ref span47[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1002703u, new Vector3(-12.375122f, 91.499985f, -0.5340576f), 128); - num3 = 1; - List list135 = new List(num3); - CollectionsMarshal.SetCount(list135, num3); - CollectionsMarshal.AsSpan(list135)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANWIL200_00528_Q7_000_1") - }; - questStep8.DialogueChoices = list135; - reference94 = questStep8; - span47[1] = new QuestStep(EInteractionType.Interact, 1002693u, new Vector3(-6.515625f, 91.49996f, -13.656921f), 128); - obj87.Steps = list134; - reference93 = obj87; - ref QuestSequence reference95 = ref span46[5]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - Span span48 = CollectionsMarshal.AsSpan(list136); - ref QuestStep reference96 = ref span48[0]; - QuestStep obj89 = new QuestStep(EInteractionType.Interact, 1003583u, new Vector3(-7.248047f, 91.49999f, -16.128845f), 128) - { - TargetTerritoryId = (ushort)129 - }; - num3 = 1; - List list137 = new List(num3); - CollectionsMarshal.SetCount(list137, num3); - CollectionsMarshal.AsSpan(list137)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Warp", - Answer = new ExcelRef(131094u) - }; - obj89.DialogueChoices = list137; - reference96 = obj89; - span48[1] = new QuestStep(EInteractionType.Interact, 1001029u, new Vector3(9.170593f, 20.999403f, -15.213318f), 129); - obj88.Steps = list136; - reference95 = obj88; - ref QuestSequence reference97 = ref span46[6]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 6 - }; - num2 = 10; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - Span span49 = CollectionsMarshal.AsSpan(list138); - span49[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 129) - { - Aetheryte = EAetheryteLocation.Limsa - }; - span49[1] = new QuestStep(EInteractionType.RegisterFreeOrFavoredAetheryte, null, null, 129) - { - Aetheryte = EAetheryteLocation.Limsa - }; - span49[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 129) - { - AethernetShard = EAetheryteLocation.LimsaHawkersAlley - }; - span49[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 129) - { - AethernetShard = EAetheryteLocation.LimsaArcanist - }; - span49[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 129) - { - AethernetShard = EAetheryteLocation.LimsaFisher, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaArcanist, - To = EAetheryteLocation.LimsaHawkersAlley - } - }; - span49[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-83.8817f, 18.475962f, -29.903847f), 129) - { - TargetTerritoryId = (ushort)128, - Comment = "Walk to Culinarians' Guild", - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.Limsa - } - }; - span49[6] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 128) - { - AethernetShard = EAetheryteLocation.LimsaCulinarian - }; - span49[7] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 128) - { - AethernetShard = EAetheryteLocation.LimsaMarauder - }; - span49[8] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 128) - { - AethernetShard = EAetheryteLocation.LimsaAftcastle - }; - ref QuestStep reference98 = ref span49[9]; - QuestStep obj91 = new QuestStep(EInteractionType.Interact, 1002695u, new Vector3(-25.92511f, 91.999954f, -3.6774292f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.LimsaAirship - } - }; - num3 = 1; - List list139 = new List(num3); - CollectionsMarshal.SetCount(list139, num3); - CollectionsMarshal.AsSpan(list139)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANWIL200_00528_Q3_000_1") - }; - obj91.DialogueChoices = list139; - reference98 = obj91; - obj90.Steps = list138; - reference97 = obj90; - ref QuestSequence reference99 = ref span46[7]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - ref QuestStep reference100 = ref CollectionsMarshal.AsSpan(list140)[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 2001670u, new Vector3(-11.12384f, 92.0271f, 17.166382f), 128); - num3 = 1; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - CollectionsMarshal.AsSpan(list141)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANWIL200_00528_Q4_000_1") - }; - questStep9.DialogueChoices = list141; - reference100 = questStep9; - obj92.Steps = list140; - reference99 = obj92; - ref QuestSequence reference101 = ref span46[8]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 8 - }; - num2 = 2; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - Span span50 = CollectionsMarshal.AsSpan(list142); - ref QuestStep reference102 = ref span50[0]; - QuestStep obj94 = new QuestStep(EInteractionType.Interact, 1000109u, new Vector3(29.770264f, -19.000002f, 114.12219f), 132) - { - Comment = "Gridania Arrivals Attendant" - }; - num3 = 1; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - CollectionsMarshal.AsSpan(list143)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANWIL200_00528_Q10_000_1") - }; - obj94.DialogueChoices = list143; - reference102 = obj94; - span50[1] = new QuestStep(EInteractionType.Interact, 1002830u, new Vector3(36.63684f, -18.800003f, 89.64673f), 132); - obj93.Steps = list142; - reference101 = obj93; - ref QuestSequence reference103 = ref span46[9]; - QuestSequence obj95 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 12; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - Span span51 = CollectionsMarshal.AsSpan(list144); - span51[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 132) - { - Aetheryte = EAetheryteLocation.Gridania - }; - span51[1] = new QuestStep(EInteractionType.RegisterFreeOrFavoredAetheryte, null, null, 132) - { - Aetheryte = EAetheryteLocation.Gridania - }; - span51[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 132) - { - AethernetShard = EAetheryteLocation.GridaniaArcher - }; - span51[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(12.761639f, 1.2659149f, -18.021421f), 132) - { - TargetTerritoryId = (ushort)133, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaArcher, - To = EAetheryteLocation.Gridania - } - }; - span51[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaLeatherworker - }; - span51[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(121.70568f, 12.25941f, -100.795494f), 133); - span51[6] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaLancer - }; - span51[7] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaAmphitheatre, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLancer, - To = EAetheryteLocation.GridaniaLeatherworker - } - }; - span51[8] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-174.09056f, 10.91981f, -162.12527f), 133); - span51[9] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaBotanist - }; - span51[10] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaConjurer, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaBotanist, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - span51[11] = new QuestStep(EInteractionType.CompleteQuest, 1000460u, new Vector3(-159.41101f, 4.054107f, -4.1047363f), 133); - obj95.Steps = list144; - reference103 = obj95; - questRoot17.QuestSequence = list127; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(532); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list145 = new List(num); - CollectionsMarshal.SetCount(list145, num); - CollectionsMarshal.AsSpan(list145)[0] = "Cacahuetes"; - questRoot18.Author = list145; - num = 2; - List list146 = new List(num); - CollectionsMarshal.SetCount(list146, num); - Span span52 = CollectionsMarshal.AsSpan(list146); - ref QuestSequence reference104 = ref span52[0]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001286u, new Vector3(-88.9754f, 2.55f, -51.163513f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj96.Steps = list147; - reference104 = obj96; - ref QuestSequence reference105 = ref span52[1]; - QuestSequence obj97 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - ref QuestStep reference106 = ref CollectionsMarshal.AsSpan(list148)[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.CompleteQuest, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130); - num3 = 1; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - CollectionsMarshal.AsSpan(list149)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSPGL011_00532_Q1_000_1") - }; - questStep10.DialogueChoices = list149; - questStep10.NextQuestId = new QuestId(553); - reference106 = questStep10; - obj97.Steps = list148; - reference105 = obj97; - questRoot18.QuestSequence = list146; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(533); - QuestRoot questRoot19 = new QuestRoot(); - num = 2; - List list150 = new List(num); - CollectionsMarshal.SetCount(list150, num); - Span span53 = CollectionsMarshal.AsSpan(list150); - span53[0] = "liza"; - span53[1] = "plogon_enjoyer"; - questRoot19.Author = list150; - num = 4; - List list151 = new List(num); - CollectionsMarshal.SetCount(list151, num); - Span span54 = CollectionsMarshal.AsSpan(list151); - ref QuestSequence reference107 = ref span54[0]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - Span span55 = CollectionsMarshal.AsSpan(list152); - span55[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-86.589775f, 2.099846f, -51.574f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span55[1] = new QuestStep(EInteractionType.AcceptQuest, 1001286u, new Vector3(-88.9754f, 2.55f, -51.163513f), 130); - obj98.Steps = list152; - reference107 = obj98; - ref QuestSequence reference108 = ref span54[1]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - ref QuestStep reference109 = ref CollectionsMarshal.AsSpan(list153)[0]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130); - num3 = 1; - List list154 = new List(num3); - CollectionsMarshal.SetCount(list154, num3); - CollectionsMarshal.AsSpan(list154)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSPGL020_00533_Q1_000_1") - }; - questStep11.DialogueChoices = list154; - reference109 = questStep11; - obj99.Steps = list153; - reference108 = obj99; - ref QuestSequence reference110 = ref span54[2]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - Span span56 = CollectionsMarshal.AsSpan(list155); - ref QuestStep reference111 = ref span56[0]; - QuestStep obj101 = new QuestStep(EInteractionType.Combat, null, new Vector3(-126.59337f, 11.159969f, 276.25775f), 141) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGateOfNald - }, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list156 = new List(num3); - CollectionsMarshal.SetCount(list156, num3); - ref ComplexCombatData reference112 = ref CollectionsMarshal.AsSpan(list156)[0]; - ComplexCombatData obj102 = new ComplexCombatData - { - DataId = 351u, - MinimumKillCount = 3u - }; - int num4 = 6; - List list157 = new List(num4); - CollectionsMarshal.SetCount(list157, num4); - Span span57 = CollectionsMarshal.AsSpan(list157); - span57[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = null; - obj102.CompletionQuestVariablesFlags = list157; - reference112 = obj102; - obj101.ComplexCombatData = list156; - num3 = 6; - List list158 = new List(num3); - CollectionsMarshal.SetCount(list158, num3); - Span span58 = CollectionsMarshal.AsSpan(list158); - span58[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span58[1] = null; - span58[2] = null; - span58[3] = null; - span58[4] = null; - span58[5] = null; - obj101.CompletionQuestVariablesFlags = list158; - reference111 = obj101; - ref QuestStep reference113 = ref span56[1]; - QuestStep obj103 = new QuestStep(EInteractionType.Combat, null, new Vector3(-126.59337f, 11.159969f, 276.25775f), 141) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list159 = new List(num3); - CollectionsMarshal.SetCount(list159, num3); - ref ComplexCombatData reference114 = ref CollectionsMarshal.AsSpan(list159)[0]; - ComplexCombatData obj104 = new ComplexCombatData - { - DataId = 385u, - MinimumKillCount = 3u - }; - num4 = 6; - List list160 = new List(num4); - CollectionsMarshal.SetCount(list160, num4); - Span span59 = CollectionsMarshal.AsSpan(list160); - span59[0] = null; - span59[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span59[2] = null; - span59[3] = null; - span59[4] = null; - span59[5] = null; - obj104.CompletionQuestVariablesFlags = list160; - reference114 = obj104; - obj103.ComplexCombatData = list159; - num3 = 6; - List list161 = new List(num3); - CollectionsMarshal.SetCount(list161, num3); - Span span60 = CollectionsMarshal.AsSpan(list161); - span60[0] = null; - span60[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span60[2] = null; - span60[3] = null; - span60[4] = null; - span60[5] = null; - obj103.CompletionQuestVariablesFlags = list161; - reference113 = obj103; - ref QuestStep reference115 = ref span56[2]; - QuestStep obj105 = new QuestStep(EInteractionType.Combat, null, new Vector3(32.007893f, 5.8527403f, 299.76016f), 141) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list162 = new List(num3); - CollectionsMarshal.SetCount(list162, num3); - ref ComplexCombatData reference116 = ref CollectionsMarshal.AsSpan(list162)[0]; - ComplexCombatData obj106 = new ComplexCombatData - { - DataId = 205u, - MinimumKillCount = 3u - }; - num4 = 6; - List list163 = new List(num4); - CollectionsMarshal.SetCount(list163, num4); - Span span61 = CollectionsMarshal.AsSpan(list163); - span61[0] = null; - span61[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span61[2] = null; - span61[3] = null; - span61[4] = null; - span61[5] = null; - obj106.CompletionQuestVariablesFlags = list163; - reference116 = obj106; - obj105.ComplexCombatData = list162; - num3 = 6; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - Span span62 = CollectionsMarshal.AsSpan(list164); - span62[0] = null; - span62[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span62[2] = null; - span62[3] = null; - span62[4] = null; - span62[5] = null; - obj105.CompletionQuestVariablesFlags = list164; - reference115 = obj105; - obj100.Steps = list155; - reference110 = obj100; - ref QuestSequence reference117 = ref span54[3]; - QuestSequence obj107 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - NextQuestId = new QuestId(554) - }; - obj107.Steps = list165; - reference117 = obj107; - questRoot19.QuestSequence = list151; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(534); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list166 = new List(num); - CollectionsMarshal.SetCount(list166, num); - CollectionsMarshal.AsSpan(list166)[0] = "Cacahuetes"; - questRoot20.Author = list166; - num = 2; - List list167 = new List(num); - CollectionsMarshal.SetCount(list167, num); - Span span63 = CollectionsMarshal.AsSpan(list167); - ref QuestSequence reference118 = ref span63[0]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002283u, new Vector3(134.90503f, 7.5919275f, 98.039185f), 131); - obj108.Steps = list168; - reference118 = obj108; - ref QuestSequence reference119 = ref span63[1]; - QuestSequence obj109 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - ref QuestStep reference120 = ref CollectionsMarshal.AsSpan(list169)[0]; - QuestStep questStep12 = new QuestStep(EInteractionType.CompleteQuest, 1003818u, new Vector3(157.36621f, 7.7920074f, 98.924194f), 131); - num3 = 1; - List list170 = new List(num3); - CollectionsMarshal.SetCount(list170, num3); - CollectionsMarshal.AsSpan(list170)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSWVR011_00534_SYSTEM_Q0") - }; - questStep12.DialogueChoices = list170; - reference120 = questStep12; - obj109.Steps = list169; - reference119 = obj109; - questRoot20.QuestSequence = list167; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(543); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - CollectionsMarshal.AsSpan(list171)[0] = "liza"; - questRoot21.Author = list171; - num = 4; - List list172 = new List(num); - CollectionsMarshal.SetCount(list172, num); - Span span64 = CollectionsMarshal.AsSpan(list172); - ref QuestSequence reference121 = ref span64[0]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002626u, new Vector3(207.2633f, 112.860374f, -222.43079f), 134); - obj110.Steps = list173; - reference121 = obj110; - ref QuestSequence reference122 = ref span64[1]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - Span span65 = CollectionsMarshal.AsSpan(list174); - span65[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-21.400705f, 46.621056f, -70.3491f), 134); - span65[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 2001582u, new Vector3(-58.640503f, 27.145752f, -141.7716f), 134) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj111.Steps = list174; - reference122 = obj111; - span64[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference123 = ref span64[3]; - QuestSequence obj112 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002626u, new Vector3(207.2633f, 112.860374f, -222.43079f), 134); - obj112.Steps = list175; - reference123 = obj112; - questRoot21.QuestSequence = list172; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(544); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - CollectionsMarshal.AsSpan(list176)[0] = "liza"; - questRoot22.Author = list176; - num = 5; - List list177 = new List(num); - CollectionsMarshal.SetCount(list177, num); - Span span66 = CollectionsMarshal.AsSpan(list177); - ref QuestSequence reference124 = ref span66[0]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000972u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 128); - obj113.Steps = list178; - reference124 = obj113; - ref QuestSequence reference125 = ref span66[1]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - Span span67 = CollectionsMarshal.AsSpan(list179); - span67[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-1.9166679f, 44.999886f, -256.1519f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.LimsaMarauder - } - }; - span67[1] = new QuestStep(EInteractionType.Interact, 1003282u, new Vector3(-3.03656f, 48.168007f, -261.70752f), 128) - { - StopDistance = 7f - }; - obj114.Steps = list179; - reference125 = obj114; - ref QuestSequence reference126 = ref span66[2]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - ref QuestStep reference127 = ref CollectionsMarshal.AsSpan(list180)[0]; - QuestStep obj116 = new QuestStep(EInteractionType.SinglePlayerDuty, 1003283u, new Vector3(668.0552f, 7.297715f, 533.1654f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaSwiftperch - }; - SinglePlayerDutyOptions obj117 = new SinglePlayerDutyOptions - { - Enabled = true - }; - num3 = 1; - List list181 = new List(num3); - CollectionsMarshal.SetCount(list181, num3); - CollectionsMarshal.AsSpan(list181)[0] = "(Phase 1) Kills PGL NPCs and then the boss - allied NPCs will kill most other NPCs eventually; all NPCs need to be killed for the duty to complete"; - obj117.Notes = list181; - obj116.SinglePlayerDutyOptions = obj117; - reference127 = obj116; - obj115.Steps = list180; - reference126 = obj115; - span66[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference128 = ref span66[4]; - QuestSequence obj118 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - Span span68 = CollectionsMarshal.AsSpan(list182); - span68[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-1.9166679f, 44.999886f, -256.1519f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - span68[1] = new QuestStep(EInteractionType.CompleteQuest, 1003282u, new Vector3(-3.03656f, 48.168007f, -261.70752f), 128) - { - StopDistance = 7f - }; - obj118.Steps = list182; - reference128 = obj118; - questRoot22.QuestSequence = list177; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(545); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - CollectionsMarshal.AsSpan(list183)[0] = "liza"; - questRoot23.Author = list183; - num = 3; - List list184 = new List(num); - CollectionsMarshal.SetCount(list184, num); - Span span69 = CollectionsMarshal.AsSpan(list184); - ref QuestSequence reference129 = ref span69[0]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000972u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 128); - obj119.Steps = list185; - reference129 = obj119; - ref QuestSequence reference130 = ref span69[1]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - Span span70 = CollectionsMarshal.AsSpan(list186); - span70[0] = new QuestStep(EInteractionType.EquipItem, null, null, 128) - { - ItemId = 3760u - }; - ref QuestStep reference131 = ref span70[1]; - QuestStep obj121 = new QuestStep(EInteractionType.Interact, 1003597u, new Vector3(8.194031f, 39.999973f, 17.746216f), 128) - { - TargetTerritoryId = (ushort)129 - }; - num3 = 1; - List list187 = new List(num3); - CollectionsMarshal.SetCount(list187, num3); - CollectionsMarshal.AsSpan(list187)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Warp", - Answer = new ExcelRef(131094u) - }; - obj121.DialogueChoices = list187; - reference131 = obj121; - span70[2] = new QuestStep(EInteractionType.Interact, 1001029u, new Vector3(9.170593f, 20.999403f, -15.213318f), 129); - obj120.Steps = list186; - reference130 = obj120; - ref QuestSequence reference132 = ref span69[2]; - QuestSequence obj122 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - Span span71 = CollectionsMarshal.AsSpan(list188); - span71[0] = new QuestStep(EInteractionType.Interact, 2001010u, new Vector3(-0.015319824f, 1.449585f, 7.522644f), 177) - { - TargetTerritoryId = (ushort)128 - }; - ref QuestStep reference133 = ref span71[1]; - QuestStep obj123 = new QuestStep(EInteractionType.Interact, 1003597u, new Vector3(8.194031f, 39.999973f, 17.746216f), 128) - { - TargetTerritoryId = (ushort)129 - }; - num3 = 1; - List list189 = new List(num3); - CollectionsMarshal.SetCount(list189, num3); - CollectionsMarshal.AsSpan(list189)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Warp", - Answer = new ExcelRef(131094u) - }; - obj123.DialogueChoices = list189; - reference133 = obj123; - ref QuestStep reference134 = ref span71[2]; - QuestStep obj124 = new QuestStep(EInteractionType.Interact, 1001029u, new Vector3(9.170593f, 20.999403f, -15.213318f), 129) - { - TargetTerritoryId = (ushort)198 - }; - num3 = 1; - List list190 = new List(num3); - CollectionsMarshal.SetCount(list190, num3); - CollectionsMarshal.AsSpan(list190)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANSEA009_00545_Q1_000_1") - }; - obj124.DialogueChoices = list190; - reference134 = obj124; - span71[3] = new QuestStep(EInteractionType.CompleteQuest, 1002694u, new Vector3(-0.045776367f, 1.6001425f, -7.0039062f), 198); - obj122.Steps = list188; - reference132 = obj122; - questRoot23.QuestSequence = list184; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(546); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list191 = new List(num); - CollectionsMarshal.SetCount(list191, num); - CollectionsMarshal.AsSpan(list191)[0] = "liza"; - questRoot24.Author = list191; - num = 10; - List list192 = new List(num); - CollectionsMarshal.SetCount(list192, num); - Span span72 = CollectionsMarshal.AsSpan(list192); - ref QuestSequence reference135 = ref span72[0]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002694u, new Vector3(-0.045776367f, 1.6001425f, -7.0039062f), 198); - obj125.Steps = list193; - reference135 = obj125; - ref QuestSequence reference136 = ref span72[1]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - Span span73 = CollectionsMarshal.AsSpan(list194); - span73[0] = new QuestStep(EInteractionType.Interact, 2001835u, new Vector3(0.0235393f, 2.330988f, 9.8216f), 198) - { - TargetTerritoryId = (ushort)129 - }; - ref QuestStep reference137 = ref span73[1]; - QuestStep obj127 = new QuestStep(EInteractionType.Interact, 1003611u, new Vector3(9.781006f, 20.999247f, 15.0911255f), 129) - { - TargetTerritoryId = (ushort)128 - }; - num3 = 1; - List list195 = new List(num3); - CollectionsMarshal.SetCount(list195, num3); - CollectionsMarshal.AsSpan(list195)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Warp", - Answer = new ExcelRef(131093u) - }; - obj127.DialogueChoices = list195; - reference137 = obj127; - span73[2] = new QuestStep(EInteractionType.Interact, 1000972u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 128); - obj126.Steps = list194; - reference136 = obj126; - ref QuestSequence reference138 = ref span72[2]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - Span span74 = CollectionsMarshal.AsSpan(list196); - ref QuestStep reference139 = ref span74[0]; - QuestStep obj129 = new QuestStep(EInteractionType.Interact, 1003597u, new Vector3(8.194031f, 39.999973f, 17.746216f), 128) - { - TargetTerritoryId = (ushort)128 - }; - num3 = 1; - List list197 = new List(num3); - CollectionsMarshal.SetCount(list197, num3); - CollectionsMarshal.AsSpan(list197)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Warp", - Answer = new ExcelRef(131092u) - }; - obj129.DialogueChoices = list197; - reference139 = obj129; - ref QuestStep reference140 = ref span74[1]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1002695u, new Vector3(-25.92511f, 91.999954f, -3.6774292f), 128); - num3 = 1; - List list198 = new List(num3); - CollectionsMarshal.SetCount(list198, num3); - CollectionsMarshal.AsSpan(list198)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANSEA200_00546_Q1_000_1") - }; - questStep13.DialogueChoices = list198; - reference140 = questStep13; - obj128.Steps = list196; - reference138 = obj128; - ref QuestSequence reference141 = ref span72[3]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - ref QuestStep reference142 = ref CollectionsMarshal.AsSpan(list199)[0]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 2001668u, new Vector3(-11.10527f, 92.04318f, 17.18466f), 128); - num3 = 1; - List list200 = new List(num3); - CollectionsMarshal.SetCount(list200, num3); - CollectionsMarshal.AsSpan(list200)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANSEA200_00546_Q3_000_1") - }; - questStep14.DialogueChoices = list200; - reference142 = questStep14; - obj130.Steps = list199; - reference141 = obj130; - ref QuestSequence reference143 = ref span72[4]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - Span span75 = CollectionsMarshal.AsSpan(list201); - ref QuestStep reference144 = ref span75[0]; - QuestStep obj132 = new QuestStep(EInteractionType.Interact, 1000109u, new Vector3(29.770264f, -19.000002f, 114.12219f), 132) - { - Comment = "Gridania Arrivals Attendant" - }; - num3 = 1; - List list202 = new List(num3); - CollectionsMarshal.SetCount(list202, num3); - CollectionsMarshal.AsSpan(list202)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANSEA200_00546_Q7_000_1") - }; - obj132.DialogueChoices = list202; - reference144 = obj132; - span75[1] = new QuestStep(EInteractionType.Interact, 1002830u, new Vector3(36.63684f, -18.800003f, 89.64673f), 132); - obj131.Steps = list201; - reference143 = obj131; - ref QuestSequence reference145 = ref span72[5]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 5 - }; - num2 = 12; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - Span span76 = CollectionsMarshal.AsSpan(list203); - span76[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 132) - { - Aetheryte = EAetheryteLocation.Gridania - }; - span76[1] = new QuestStep(EInteractionType.RegisterFreeOrFavoredAetheryte, null, null, 132) - { - Aetheryte = EAetheryteLocation.Gridania - }; - span76[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 132) - { - AethernetShard = EAetheryteLocation.GridaniaArcher - }; - span76[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(12.761639f, 1.2659149f, -18.021421f), 132) - { - TargetTerritoryId = (ushort)133, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaArcher, - To = EAetheryteLocation.Gridania - } - }; - span76[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaLeatherworker - }; - span76[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(121.70568f, 12.25941f, -100.795494f), 133); - span76[6] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaLancer - }; - span76[7] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaAmphitheatre, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLancer, - To = EAetheryteLocation.GridaniaLeatherworker - } - }; - span76[8] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-174.09056f, 10.91981f, -162.12527f), 133); - span76[9] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaBotanist - }; - span76[10] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 133) - { - AethernetShard = EAetheryteLocation.GridaniaConjurer, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaBotanist, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - span76[11] = new QuestStep(EInteractionType.Interact, 1000460u, new Vector3(-159.41101f, 4.054107f, -4.1047363f), 133); - obj133.Steps = list203; - reference145 = obj133; - ref QuestSequence reference146 = ref span72[6]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - ref QuestStep reference147 = ref CollectionsMarshal.AsSpan(list204)[0]; - QuestStep obj135 = new QuestStep(EInteractionType.Interact, 1000106u, new Vector3(29.007324f, -19.000002f, 105.485596f), 132) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaConjurer, - To = EAetheryteLocation.GridaniaAirship - } - }; - num3 = 1; - List list205 = new List(num3); - CollectionsMarshal.SetCount(list205, num3); - CollectionsMarshal.AsSpan(list205)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANSEA200_00546_Q5_000_1") - }; - obj135.DialogueChoices = list205; - reference147 = obj135; - obj134.Steps = list204; - reference146 = obj134; - ref QuestSequence reference148 = ref span72[7]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - ref QuestStep reference149 = ref CollectionsMarshal.AsSpan(list206)[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 2001671u, new Vector3(7.156433f, -21.957764f, 123.73535f), 132); - num3 = 1; - List list207 = new List(num3); - CollectionsMarshal.SetCount(list207, num3); - CollectionsMarshal.AsSpan(list207)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANSEA200_00546_Q3_000_1") - }; - questStep15.DialogueChoices = list207; - reference149 = questStep15; - obj136.Steps = list206; - reference148 = obj136; - ref QuestSequence reference150 = ref span72[8]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 8 - }; - num2 = 2; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - Span span77 = CollectionsMarshal.AsSpan(list208); - ref QuestStep reference151 = ref span77[0]; - QuestStep obj138 = new QuestStep(EInteractionType.Interact, 1004434u, new Vector3(-27.17633f, 83.19998f, 2.304016f), 130) - { - Comment = "Ul'dah Arrivals Attendant" - }; - num3 = 1; - List list209 = new List(num3); - CollectionsMarshal.SetCount(list209, num3); - CollectionsMarshal.AsSpan(list209)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANSEA200_00546_Q7_000_1") - }; - obj138.DialogueChoices = list209; - reference151 = obj138; - span77[1] = new QuestStep(EInteractionType.Interact, 1004336u, new Vector3(-12.619263f, 82.99987f, 4.562378f), 130); - obj137.Steps = list208; - reference150 = obj137; - ref QuestSequence reference152 = ref span72[9]; - QuestSequence obj139 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - Span span78 = CollectionsMarshal.AsSpan(list210); - ref QuestStep reference153 = ref span78[0]; - QuestStep obj140 = new QuestStep(EInteractionType.Interact, 1004339u, new Vector3(-25.986206f, 81.799995f, -31.99823f), 130) - { - TargetTerritoryId = (ushort)131 - }; - num3 = 1; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - CollectionsMarshal.AsSpan(list211)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Warp", - Answer = new ExcelRef(131096u) - }; - obj140.DialogueChoices = list211; - reference153 = obj140; - span78[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahChamberOfRule - }; - span78[2] = new QuestStep(EInteractionType.CompleteQuest, 1001821u, new Vector3(-24.124573f, 38.000004f, 85.31323f), 131); - obj139.Steps = list210; - reference152 = obj139; - questRoot24.QuestSequence = list192; - AddQuest(questId24, questRoot24); - } - - private static void LoadQuests11() - { - QuestId questId = new QuestId(550); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 4; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003995u, new Vector3(75.33374f, 2.135708f, 316.33472f), 141); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1003996u, new Vector3(202.65503f, 14.136861f, 536.88855f), 141) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj2.Steps = list4; - reference2 = obj2; - span[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference3 = ref span[3]; - QuestSequence obj3 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003995u, new Vector3(75.33374f, 2.135708f, 316.33472f), 141); - obj3.Steps = list5; - reference3 = obj3; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(551); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list6 = new List(num); - CollectionsMarshal.SetCount(list6, num); - CollectionsMarshal.AsSpan(list6)[0] = "liza"; - questRoot2.Author = list6; - num = 5; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - Span span2 = CollectionsMarshal.AsSpan(list7); - ref QuestSequence reference4 = ref span2[0]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130); - obj4.Steps = list8; - reference4 = obj4; - ref QuestSequence reference5 = ref span2[1]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - Span span3 = CollectionsMarshal.AsSpan(list9); - ref QuestStep reference6 = ref span3[0]; - QuestStep obj6 = new QuestStep(EInteractionType.Interact, 1004005u, new Vector3(-123.88806f, 40f, 95.384155f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahAlchemist - } - }; - int num3 = 1; - List list10 = new List(num3); - CollectionsMarshal.SetCount(list10, num3); - CollectionsMarshal.AsSpan(list10)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANWIL007_00551_Q1_000_1") - }; - obj6.DialogueChoices = list10; - reference6 = obj6; - span3[1] = new QuestStep(EInteractionType.Interact, 1004002u, new Vector3(1.0527954f, 0.014807776f, -1.6633301f), 210); - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference7 = ref span2[2]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - ref QuestStep reference8 = ref CollectionsMarshal.AsSpan(list11)[0]; - QuestStep obj8 = new QuestStep(EInteractionType.SinglePlayerDuty, 2001427u, new Vector3(246.93665f, -17.105408f, -131.48706f), 141) - { - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - SinglePlayerDutyOptions obj9 = new SinglePlayerDutyOptions - { - Enabled = true - }; - num3 = 1; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - CollectionsMarshal.AsSpan(list12)[0] = "(Phase 1) Healer NPCs are only killed after the boss dies - allied NPCs will kill them eventually; all NPCs need to be killed for the duty to complete"; - obj9.Notes = list12; - obj8.SinglePlayerDutyOptions = obj9; - reference8 = obj8; - obj7.Steps = list11; - reference7 = obj7; - span2[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference9 = ref span2[4]; - QuestSequence obj10 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - Span span4 = CollectionsMarshal.AsSpan(list13); - ref QuestStep reference10 = ref span4[0]; - QuestStep obj11 = new QuestStep(EInteractionType.Interact, 1004005u, new Vector3(-123.88806f, 40f, 95.384155f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAlchemist - } - }; - num3 = 1; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - CollectionsMarshal.AsSpan(list14)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANWIL007_00551_Q1_000_1") - }; - obj11.DialogueChoices = list14; - reference10 = obj11; - span4[1] = new QuestStep(EInteractionType.CompleteQuest, 1004003u, new Vector3(0.015197754f, 0.014807776f, -1.6937866f), 210); - obj10.Steps = list13; - reference9 = obj10; - questRoot2.QuestSequence = list7; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(552); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - CollectionsMarshal.AsSpan(list15)[0] = "liza"; - questRoot3.Author = list15; - num = 3; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - Span span5 = CollectionsMarshal.AsSpan(list16); - ref QuestSequence reference11 = ref span5[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130); - obj12.Steps = list17; - reference11 = obj12; - ref QuestSequence reference12 = ref span5[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - Span span6 = CollectionsMarshal.AsSpan(list18); - span6[0] = new QuestStep(EInteractionType.EquipItem, null, null, 130) - { - ItemId = 4196u - }; - span6[1] = new QuestStep(EInteractionType.Interact, 1001821u, new Vector3(-24.124573f, 38.000004f, 85.31323f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - obj13.Steps = list18; - reference12 = obj13; - ref QuestSequence reference13 = ref span5[2]; - QuestSequence obj14 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - Span span7 = CollectionsMarshal.AsSpan(list19); - span7[0] = new QuestStep(EInteractionType.Interact, 2001011u, new Vector3(0.015197754f, 1.9683228f, 8.132996f), 178) - { - TargetTerritoryId = (ushort)130 - }; - span7[1] = new QuestStep(EInteractionType.CompleteQuest, 1004004u, new Vector3(-139.29962f, 4.1f, -113.481445f), 130); - obj14.Steps = list19; - reference13 = obj14; - questRoot3.QuestSequence = list16; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(553); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - CollectionsMarshal.AsSpan(list20)[0] = "plogon_enjoyer"; - questRoot4.Author = list20; - num = 3; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - Span span8 = CollectionsMarshal.AsSpan(list21); - ref QuestSequence reference14 = ref span8[0]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130); - obj15.Steps = list22; - reference14 = obj15; - ref QuestSequence reference15 = ref span8[1]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - Span span9 = CollectionsMarshal.AsSpan(list23); - ref QuestStep reference16 = ref span9[0]; - QuestStep obj17 = new QuestStep(EInteractionType.Combat, null, new Vector3(-126.59337f, 11.159969f, 276.25775f), 141) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGateOfNald - }, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - ref ComplexCombatData reference17 = ref CollectionsMarshal.AsSpan(list24)[0]; - ComplexCombatData obj18 = new ComplexCombatData - { - DataId = 351u, - MinimumKillCount = 3u - }; - int num4 = 6; - List list25 = new List(num4); - CollectionsMarshal.SetCount(list25, num4); - Span span10 = CollectionsMarshal.AsSpan(list25); - span10[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = null; - obj18.CompletionQuestVariablesFlags = list25; - reference17 = obj18; - obj17.ComplexCombatData = list24; - num3 = 6; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - Span span11 = CollectionsMarshal.AsSpan(list26); - span11[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = null; - obj17.CompletionQuestVariablesFlags = list26; - reference16 = obj17; - ref QuestStep reference18 = ref span9[1]; - QuestStep obj19 = new QuestStep(EInteractionType.Combat, null, new Vector3(-126.59337f, 11.159969f, 276.25775f), 141) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - ref ComplexCombatData reference19 = ref CollectionsMarshal.AsSpan(list27)[0]; - ComplexCombatData obj20 = new ComplexCombatData - { - DataId = 385u, - MinimumKillCount = 3u - }; - num4 = 6; - List list28 = new List(num4); - CollectionsMarshal.SetCount(list28, num4); - Span span12 = CollectionsMarshal.AsSpan(list28); - span12[0] = null; - span12[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = null; - obj20.CompletionQuestVariablesFlags = list28; - reference19 = obj20; - obj19.ComplexCombatData = list27; - num3 = 6; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - Span span13 = CollectionsMarshal.AsSpan(list29); - span13[0] = null; - span13[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = null; - obj19.CompletionQuestVariablesFlags = list29; - reference18 = obj19; - ref QuestStep reference20 = ref span9[2]; - QuestStep obj21 = new QuestStep(EInteractionType.Combat, null, new Vector3(32.007893f, 5.8527403f, 299.76016f), 141) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - ref ComplexCombatData reference21 = ref CollectionsMarshal.AsSpan(list30)[0]; - ComplexCombatData obj22 = new ComplexCombatData - { - DataId = 205u, - MinimumKillCount = 3u - }; - num4 = 6; - List list31 = new List(num4); - CollectionsMarshal.SetCount(list31, num4); - Span span14 = CollectionsMarshal.AsSpan(list31); - span14[0] = null; - span14[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = null; - obj22.CompletionQuestVariablesFlags = list31; - reference21 = obj22; - obj21.ComplexCombatData = list30; - num3 = 6; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - Span span15 = CollectionsMarshal.AsSpan(list32); - span15[0] = null; - span15[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = null; - obj21.CompletionQuestVariablesFlags = list32; - reference20 = obj21; - obj16.Steps = list23; - reference15 = obj16; - ref QuestSequence reference22 = ref span8[2]; - QuestSequence obj23 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - NextQuestId = new QuestId(554) - }; - obj23.Steps = list33; - reference22 = obj23; - questRoot4.QuestSequence = list21; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(554); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - CollectionsMarshal.AsSpan(list34)[0] = "plogon_enjoyer"; - questRoot5.Author = list34; - num = 5; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - Span span16 = CollectionsMarshal.AsSpan(list35); - ref QuestSequence reference23 = ref span16[0]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj24.Steps = list36; - reference23 = obj24; - ref QuestSequence reference24 = ref span16[1]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - Span span17 = CollectionsMarshal.AsSpan(list37); - span17[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-73.40663f, 0.60187495f, -59.04644f), 130); - ref QuestStep reference25 = ref span17[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2001285u, new Vector3(-80.36932f, 0.6866455f, -59.55603f), 130); - num3 = 6; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - Span span18 = CollectionsMarshal.AsSpan(list38); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list38; - reference25 = questStep; - ref QuestStep reference26 = ref span17[2]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2001282u, new Vector3(-21.74414f, 9.994568f, -78.50769f), 130); - num3 = 6; - List list39 = new List(num3); - CollectionsMarshal.SetCount(list39, num3); - Span span19 = CollectionsMarshal.AsSpan(list39); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list39; - reference26 = questStep2; - ref QuestStep reference27 = ref span17[3]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2001283u, new Vector3(37.03357f, 7.248047f, -98.8938f), 130); - num3 = 6; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - Span span20 = CollectionsMarshal.AsSpan(list40); - span20[0] = null; - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list40; - reference27 = questStep3; - ref QuestStep reference28 = ref span17[4]; - QuestStep obj26 = new QuestStep(EInteractionType.Interact, 2001280u, new Vector3(-162.46283f, 17.471558f, 60.196777f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahThaumaturge - } - }; - num3 = 6; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - Span span21 = CollectionsMarshal.AsSpan(list41); - span21[0] = null; - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj26.CompletionQuestVariablesFlags = list41; - reference28 = obj26; - ref QuestStep reference29 = ref span17[5]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2001281u, new Vector3(-254.74939f, 17.990356f, 67.33801f), 130); - num3 = 6; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - Span span22 = CollectionsMarshal.AsSpan(list42); - span22[0] = null; - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list42; - reference29 = questStep4; - obj25.Steps = list37; - reference24 = obj25; - ref QuestSequence reference30 = ref span16[2]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.Interact, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahThaumaturge, - To = EAetheryteLocation.Uldah - } - }; - obj27.Steps = list43; - reference30 = obj27; - ref QuestSequence reference31 = ref span16[3]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 3 - }; - num2 = 8; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - Span span23 = CollectionsMarshal.AsSpan(list44); - span23[0] = new QuestStep(EInteractionType.Action, 2001541u, new Vector3(224.7196f, 52.048462f, 79.45361f), 140) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGateOfTheSultana - }, - Action = EAction.Bootshine - }; - ref QuestStep reference32 = ref span23[1]; - QuestStep obj29 = new QuestStep(EInteractionType.Combat, null, new Vector3(224.7196f, 52.048462f, 79.45361f), 140) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - CollectionsMarshal.AsSpan(list45)[0] = 131u; - obj29.KillEnemyDataIds = list45; - obj29.CombatDelaySecondsAtStart = 1f; - reference32 = obj29; - span23[2] = new QuestStep(EInteractionType.Action, 2001542u, new Vector3(245.71594f, 52.475708f, 58.091064f), 140) - { - Fly = true, - Action = EAction.Bootshine - }; - ref QuestStep reference33 = ref span23[3]; - QuestStep obj30 = new QuestStep(EInteractionType.Combat, null, new Vector3(245.71594f, 52.475708f, 58.091064f), 140) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - CollectionsMarshal.AsSpan(list46)[0] = 131u; - obj30.KillEnemyDataIds = list46; - obj30.CombatDelaySecondsAtStart = 1f; - reference33 = obj30; - span23[4] = new QuestStep(EInteractionType.Action, 2001543u, new Vector3(224.01758f, 52.231567f, 41.367188f), 140) - { - Fly = true, - Action = EAction.Bootshine - }; - ref QuestStep reference34 = ref span23[5]; - QuestStep obj31 = new QuestStep(EInteractionType.Combat, null, new Vector3(224.01758f, 52.231567f, 41.367188f), 140) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list47 = new List(num3); - CollectionsMarshal.SetCount(list47, num3); - CollectionsMarshal.AsSpan(list47)[0] = 131u; - obj31.KillEnemyDataIds = list47; - obj31.CombatDelaySecondsAtStart = 1f; - reference34 = obj31; - span23[6] = new QuestStep(EInteractionType.Action, 2001544u, new Vector3(259.05237f, 53.421753f, 25.40625f), 140) - { - Fly = true, - Action = EAction.Bootshine - }; - ref QuestStep reference35 = ref span23[7]; - QuestStep obj32 = new QuestStep(EInteractionType.Combat, null, new Vector3(258.4417f, 52.01455f, 23.240385f), 140) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - CollectionsMarshal.AsSpan(list48)[0] = 131u; - obj32.KillEnemyDataIds = list48; - obj32.CombatDelaySecondsAtStart = 1f; - reference35 = obj32; - obj28.Steps = list44; - reference31 = obj28; - ref QuestSequence reference36 = ref span16[4]; - QuestSequence obj33 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - NextQuestId = new QuestId(555) - }; - obj33.Steps = list49; - reference36 = obj33; - questRoot5.QuestSequence = list35; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(555); - QuestRoot questRoot6 = new QuestRoot(); - num = 2; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - Span span24 = CollectionsMarshal.AsSpan(list50); - span24[0] = "liza"; - span24[1] = "plogon_enjoyer"; - questRoot6.Author = list50; - num = 5; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - Span span25 = CollectionsMarshal.AsSpan(list51); - ref QuestSequence reference37 = ref span25[0]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj34.Steps = list52; - reference37 = obj34; - ref QuestSequence reference38 = ref span25[1]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - Span span26 = CollectionsMarshal.AsSpan(list53); - ref QuestStep reference39 = ref span26[0]; - QuestStep obj36 = new QuestStep(EInteractionType.Action, 2001718u, new Vector3(-108.2017f, 4.989685f, -105.7603f), 130) - { - Action = EAction.Bootshine - }; - num3 = 6; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - Span span27 = CollectionsMarshal.AsSpan(list54); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - span27[4] = null; - span27[5] = null; - obj36.CompletionQuestVariablesFlags = list54; - reference39 = obj36; - ref QuestStep reference40 = ref span26[1]; - QuestStep obj37 = new QuestStep(EInteractionType.Action, 2001719u, new Vector3(-105.9365f, 4.9655f, -107.8618f), 130) - { - Action = EAction.Bootshine - }; - num3 = 6; - List list55 = new List(num3); - CollectionsMarshal.SetCount(list55, num3); - Span span28 = CollectionsMarshal.AsSpan(list55); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span28[4] = null; - span28[5] = null; - obj37.CompletionQuestVariablesFlags = list55; - reference40 = obj37; - ref QuestStep reference41 = ref span26[2]; - QuestStep obj38 = new QuestStep(EInteractionType.Action, 2001720u, new Vector3(-77.89734f, 5.0201416f, -129.19812f), 130) - { - Action = EAction.Bootshine - }; - num3 = 6; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - Span span29 = CollectionsMarshal.AsSpan(list56); - span29[0] = null; - span29[1] = null; - span29[2] = null; - span29[3] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span29[4] = null; - span29[5] = null; - obj38.CompletionQuestVariablesFlags = list56; - reference41 = obj38; - ref QuestStep reference42 = ref span26[3]; - QuestStep obj39 = new QuestStep(EInteractionType.Action, 2001721u, new Vector3(-74.906555f, 4.8981323f, -130.99878f), 130) - { - Action = EAction.Bootshine - }; - num3 = 6; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - Span span30 = CollectionsMarshal.AsSpan(list57); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span30[4] = null; - span30[5] = null; - obj39.CompletionQuestVariablesFlags = list57; - reference42 = obj39; - ref QuestStep reference43 = ref span26[4]; - QuestStep obj40 = new QuestStep(EInteractionType.Action, 2001722u, new Vector3(-71.732666f, 5.0201416f, -132.64673f), 130) - { - Action = EAction.Bootshine - }; - num3 = 6; - List list58 = new List(num3); - CollectionsMarshal.SetCount(list58, num3); - Span span31 = CollectionsMarshal.AsSpan(list58); - span31[0] = null; - span31[1] = null; - span31[2] = null; - span31[3] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - span31[4] = null; - span31[5] = null; - obj40.CompletionQuestVariablesFlags = list58; - reference43 = obj40; - obj35.Steps = list53; - reference38 = obj35; - ref QuestSequence reference44 = ref span25[2]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.Interact, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130); - obj41.Steps = list59; - reference44 = obj41; - ref QuestSequence reference45 = ref span25[3]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - ref QuestStep reference46 = ref CollectionsMarshal.AsSpan(list60)[0]; - QuestStep obj43 = new QuestStep(EInteractionType.Combat, null, new Vector3(-210.32118f, 21.582167f, -94.337494f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - CollectionsMarshal.AsSpan(list61)[0] = 771u; - obj43.KillEnemyDataIds = list61; - obj43.CombatDelaySecondsAtStart = 0f; - reference46 = obj43; - obj42.Steps = list60; - reference45 = obj42; - ref QuestSequence reference47 = ref span25[4]; - QuestSequence obj44 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - Span span32 = CollectionsMarshal.AsSpan(list62); - span32[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-118.55462f, 8.216448f, -82.81951f), 141); - span32[1] = new QuestStep(EInteractionType.CompleteQuest, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - NextQuestId = new QuestId(558) - }; - obj44.Steps = list62; - reference47 = obj44; - questRoot6.QuestSequence = list51; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(558); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list63 = new List(num); - CollectionsMarshal.SetCount(list63, num); - CollectionsMarshal.AsSpan(list63)[0] = "plogon_enjoyer"; - questRoot7.Author = list63; - num = 8; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - Span span33 = CollectionsMarshal.AsSpan(list64); - ref QuestSequence reference48 = ref span33[0]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj45.Steps = list65; - reference48 = obj45; - ref QuestSequence reference49 = ref span33[1]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - ref QuestStep reference50 = ref CollectionsMarshal.AsSpan(list66)[0]; - QuestStep obj47 = new QuestStep(EInteractionType.Combat, null, new Vector3(265.54178f, -19.718353f, -128.44438f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - CollectionsMarshal.AsSpan(list67)[0] = new ComplexCombatData - { - DataId = 26u, - RewardItemId = 2000408u, - RewardItemCount = 5 - }; - obj47.ComplexCombatData = list67; - obj47.CombatDelaySecondsAtStart = 0f; - reference50 = obj47; - obj46.Steps = list66; - reference49 = obj46; - ref QuestSequence reference51 = ref span33[2]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - Span span34 = CollectionsMarshal.AsSpan(list68); - span34[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(359.2259f, -1.9503738f, -187.50148f), 141); - span34[1] = new QuestStep(EInteractionType.Interact, 1003822u, new Vector3(-27.390015f, -2.056931f, -146.92914f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - obj48.Steps = list68; - reference51 = obj48; - ref QuestSequence reference52 = ref span33[3]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - Span span35 = CollectionsMarshal.AsSpan(list69); - span35[0] = new QuestStep(EInteractionType.Interact, 1001578u, new Vector3(-35.446716f, -2.057618f, -154.95538f), 141) - { - Mount = true - }; - span35[1] = new QuestStep(EInteractionType.Interact, 1001445u, new Vector3(-13.046509f, -2.0905762f, -184.40533f), 141) - { - Fly = true - }; - span35[2] = new QuestStep(EInteractionType.Interact, 1004148u, new Vector3(5.722107f, -1.985179f, -172.7779f), 141) - { - Fly = true - }; - obj49.Steps = list69; - reference52 = obj49; - ref QuestSequence reference53 = ref span33[4]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.Interact, 1003822u, new Vector3(-27.390015f, -2.056931f, -146.92914f), 141) - { - Fly = true - }; - obj50.Steps = list70; - reference53 = obj50; - ref QuestSequence reference54 = ref span33[5]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2001349u, new Vector3(-241.41296f, 8.0720215f, -32.24237f), 141) - { - Fly = true, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj51.Steps = list71; - reference54 = obj51; - ref QuestSequence reference55 = ref span33[6]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.Interact, 1004149u, new Vector3(-242.84735f, 7.405224f, -29.312622f), 141) - { - StopDistance = 6f - }; - obj52.Steps = list72; - reference55 = obj52; - ref QuestSequence reference56 = ref span33[7]; - QuestSequence obj53 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003827u, new Vector3(-65.65961f, 0.9481947f, -51.98755f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - NextQuestId = new QuestId(562) - }; - obj53.Steps = list73; - reference56 = obj53; - questRoot7.QuestSequence = list64; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(562); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - CollectionsMarshal.AsSpan(list74)[0] = "plogon_enjoyer"; - questRoot8.Author = list74; - num = 6; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - Span span36 = CollectionsMarshal.AsSpan(list75); - ref QuestSequence reference57 = ref span36[0]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj54.Steps = list76; - reference57 = obj54; - ref QuestSequence reference58 = ref span36[1]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Interact, 1003827u, new Vector3(-65.65961f, 0.9481947f, -51.98755f), 130); - obj55.Steps = list77; - reference58 = obj55; - ref QuestSequence reference59 = ref span36[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 2 - }; - num2 = 6; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - Span span37 = CollectionsMarshal.AsSpan(list78); - span37[0] = new QuestStep(EInteractionType.Action, 2001391u, new Vector3(-215.99152f, -29.495728f, 203.78418f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - Action = EAction.Bootshine - }; - ref QuestStep reference60 = ref span37[1]; - QuestStep obj57 = new QuestStep(EInteractionType.Combat, null, new Vector3(-215.99152f, -29.495728f, 203.78418f), 145) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - Span span38 = CollectionsMarshal.AsSpan(list79); - span38[0] = new ComplexCombatData - { - DataId = 139u, - MinimumKillCount = 1u - }; - span38[1] = new ComplexCombatData - { - DataId = 136u, - MinimumKillCount = 2u - }; - obj57.ComplexCombatData = list79; - obj57.CombatDelaySecondsAtStart = 1f; - reference60 = obj57; - span37[2] = new QuestStep(EInteractionType.Action, 2001389u, new Vector3(-242.4201f, -26.138794f, 229.17517f), 145) - { - Mount = true, - Action = EAction.Bootshine - }; - ref QuestStep reference61 = ref span37[3]; - QuestStep obj58 = new QuestStep(EInteractionType.Combat, null, new Vector3(-242.4201f, -26.138794f, 229.17517f), 145) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - CollectionsMarshal.AsSpan(list80)[0] = new ComplexCombatData - { - DataId = 57u, - MinimumKillCount = 2u - }; - obj58.ComplexCombatData = list80; - obj58.CombatDelaySecondsAtStart = 1f; - reference61 = obj58; - span37[4] = new QuestStep(EInteractionType.Action, 2001390u, new Vector3(-228.8396f, -27.8172f, 250.14111f), 145) - { - Mount = true, - Action = EAction.Bootshine - }; - ref QuestStep reference62 = ref span37[5]; - QuestStep obj59 = new QuestStep(EInteractionType.Combat, null, new Vector3(-228.8396f, -27.8172f, 250.14111f), 145) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list81 = new List(num3); - CollectionsMarshal.SetCount(list81, num3); - CollectionsMarshal.AsSpan(list81)[0] = new ComplexCombatData - { - DataId = 57u, - MinimumKillCount = 2u - }; - obj59.ComplexCombatData = list81; - obj59.CombatDelaySecondsAtStart = 1f; - reference62 = obj59; - obj56.Steps = list78; - reference59 = obj56; - ref QuestSequence reference63 = ref span36[3]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.Interact, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - obj60.Steps = list82; - reference63 = obj60; - ref QuestSequence reference64 = ref span36[4]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130); - obj61.Steps = list83; - reference64 = obj61; - ref QuestSequence reference65 = ref span36[5]; - QuestSequence obj62 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130) - { - NextQuestId = new QuestId(566) - }; - obj62.Steps = list84; - reference65 = obj62; - questRoot8.QuestSequence = list75; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(565); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - CollectionsMarshal.AsSpan(list85)[0] = "Starr"; - questRoot9.Author = list85; - num = 2; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - Span span39 = CollectionsMarshal.AsSpan(list86); - ref QuestSequence reference66 = ref span39[0]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010472u, new Vector3(-53.26935f, 0.3093315f, 69.41321f), 148) - { - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj63.Steps = list87; - reference66 = obj63; - ref QuestSequence reference67 = ref span39[1]; - QuestSequence obj64 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - ref QuestStep reference68 = ref CollectionsMarshal.AsSpan(list88)[0]; - QuestStep obj65 = new QuestStep(EInteractionType.CompleteQuest, 1010464u, new Vector3(-0.015319824f, -1.8903663E-06f, -65.61273f), 388) - { - AetheryteShortcut = EAetheryteLocation.GoldSaucer, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GoldSaucer, - To = EAetheryteLocation.GoldSaucerChocoboSquare - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 2; - List list89 = new List(num3); - CollectionsMarshal.SetCount(list89, num3); - Span span40 = CollectionsMarshal.AsSpan(list89); - span40[0] = 388; - span40[1] = 144; - skipAetheryteCondition.InTerritory = list89; - skipConditions.AetheryteShortcutIf = skipAetheryteCondition; - obj65.SkipConditions = skipConditions; - reference68 = obj65; - obj64.Steps = list88; - reference67 = obj64; - questRoot9.QuestSequence = list86; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(566); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - CollectionsMarshal.AsSpan(list90)[0] = "plogon_enjoyer"; - questRoot10.Author = list90; - num = 6; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - Span span41 = CollectionsMarshal.AsSpan(list91); - ref QuestSequence reference69 = ref span41[0]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj66.Steps = list92; - reference69 = obj66; - ref QuestSequence reference70 = ref span41[1]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.Interact, 1003827u, new Vector3(-65.65961f, 0.9481947f, -51.98755f), 130); - obj67.Steps = list93; - reference70 = obj67; - ref QuestSequence reference71 = ref span41[2]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Interact, 1003829u, new Vector3(-147.32587f, 25.913446f, -359.76202f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - obj68.Steps = list94; - reference71 = obj68; - ref QuestSequence reference72 = ref span41[3]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 3 - }; - num2 = 6; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - Span span42 = CollectionsMarshal.AsSpan(list95); - ref QuestStep reference73 = ref span42[0]; - QuestStep obj70 = new QuestStep(EInteractionType.UseItem, 2001525u, new Vector3(-203.81476f, 27.267822f, -351.76624f), 146) - { - ItemId = 2000409u - }; - num3 = 6; - List list96 = new List(num3); - CollectionsMarshal.SetCount(list96, num3); - Span span43 = CollectionsMarshal.AsSpan(list96); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj70.CompletionQuestVariablesFlags = list96; - reference73 = obj70; - span42[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-258.89648f, 26.681297f, -322.03738f), 146) - { - Mount = true - }; - span42[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-102.12759f, 14.866777f, -187.7578f), 146) - { - Fly = true - }; - ref QuestStep reference74 = ref span42[3]; - QuestStep obj71 = new QuestStep(EInteractionType.UseItem, 2001523u, new Vector3(-105.57721f, 14.999573f, -185.32086f), 146) - { - ItemId = 2000409u - }; - num3 = 6; - List list97 = new List(num3); - CollectionsMarshal.SetCount(list97, num3); - Span span44 = CollectionsMarshal.AsSpan(list97); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj71.CompletionQuestVariablesFlags = list97; - reference74 = obj71; - ref QuestStep reference75 = ref span42[4]; - QuestStep obj72 = new QuestStep(EInteractionType.UseItem, 2001524u, new Vector3(197.4364f, 15.548889f, -450.58368f), 146) - { - Fly = true, - ItemId = 2000409u - }; - num3 = 6; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - Span span45 = CollectionsMarshal.AsSpan(list98); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj72.CompletionQuestVariablesFlags = list98; - reference75 = obj72; - ref QuestStep reference76 = ref span42[5]; - QuestStep obj73 = new QuestStep(EInteractionType.UseItem, 2001522u, new Vector3(22.171326f, 17.868286f, -600.24414f), 146) - { - Fly = true, - ItemId = 2000409u - }; - num3 = 6; - List list99 = new List(num3); - CollectionsMarshal.SetCount(list99, num3); - Span span46 = CollectionsMarshal.AsSpan(list99); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj73.CompletionQuestVariablesFlags = list99; - reference76 = obj73; - obj69.Steps = list95; - reference72 = obj69; - ref QuestSequence reference77 = ref span41[4]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1003829u, new Vector3(-147.32587f, 25.913446f, -359.76202f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - obj74.Steps = list100; - reference77 = obj74; - ref QuestSequence reference78 = ref span41[5]; - QuestSequence obj75 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - NextQuestId = new QuestId(567) - }; - obj75.Steps = list101; - reference78 = obj75; - questRoot10.QuestSequence = list91; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(567); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - CollectionsMarshal.AsSpan(list102)[0] = "plogon_enjoyer"; - questRoot11.Author = list102; - num = 6; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - Span span47 = CollectionsMarshal.AsSpan(list103); - ref QuestSequence reference79 = ref span47[0]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj76.Steps = list104; - reference79 = obj76; - ref QuestSequence reference80 = ref span47[1]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 1003830u, new Vector3(-301.5335f, 5.0000005f, 471.3053f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings - }; - obj77.Steps = list105; - reference80 = obj77; - ref QuestSequence reference81 = ref span47[2]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - ref QuestStep reference82 = ref CollectionsMarshal.AsSpan(list106)[0]; - QuestStep obj79 = new QuestStep(EInteractionType.Combat, null, new Vector3(-262.6409f, 14.190942f, 594.23486f), 146) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - CollectionsMarshal.AsSpan(list107)[0] = new ComplexCombatData - { - DataId = 357u, - MinimumKillCount = 5u - }; - obj79.ComplexCombatData = list107; - obj79.CombatDelaySecondsAtStart = 0f; - reference82 = obj79; - obj78.Steps = list106; - reference81 = obj78; - ref QuestSequence reference83 = ref span47[3]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1003830u, new Vector3(-301.5335f, 5.0000005f, 471.3053f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings - }; - obj80.Steps = list108; - reference83 = obj80; - ref QuestSequence reference84 = ref span47[4]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1003890u, new Vector3(-21.805176f, 3.9999993f, -145.18964f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Index = 1 - } - }; - obj81.Steps = list109; - reference84 = obj81; - ref QuestSequence reference85 = ref span47[5]; - QuestSequence obj82 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130); - obj82.Steps = list110; - reference85 = obj82; - questRoot11.QuestSequence = list103; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(568); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - CollectionsMarshal.AsSpan(list111)[0] = "liza"; - questRoot12.Author = list111; - num = 3; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - Span span48 = CollectionsMarshal.AsSpan(list112); - ref QuestSequence reference86 = ref span48[0]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003988u, new Vector3(21.072632f, 7.45f, -78.84338f), 182); - obj83.Steps = list113; - reference86 = obj83; - ref QuestSequence reference87 = ref span48[1]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 1 - }; - num2 = 17; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - Span span49 = CollectionsMarshal.AsSpan(list114); - span49[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 130) - { - AethernetShard = EAetheryteLocation.UldahAdventurers - }; - span49[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(95.43315f, 4f, -105.26365f), 130); - ref QuestStep reference88 = ref span49[2]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1003908u, new Vector3(137.95679f, 4.041112f, -41.09259f), 131); - num3 = 6; - List list115 = new List(num3); - CollectionsMarshal.SetCount(list115, num3); - Span span50 = CollectionsMarshal.AsSpan(list115); - span50[0] = null; - span50[1] = null; - span50[2] = null; - span50[3] = null; - span50[4] = null; - span50[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list115; - reference88 = questStep5; - span49[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahSapphireAvenue - }; - span49[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahWeaver - }; - span49[5] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahMiner - }; - span49[6] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahGoldsmith - }; - span49[7] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahGladiator - }; - ref QuestStep reference89 = ref span49[8]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1002277u, new Vector3(-97.550964f, 7.05f, 23.605652f), 131); - num3 = 6; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - Span span51 = CollectionsMarshal.AsSpan(list116); - span51[0] = null; - span51[1] = null; - span51[2] = null; - span51[3] = null; - span51[4] = null; - span51[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list116; - reference89 = questStep6; - span49[9] = new QuestStep(EInteractionType.AcceptQuest, 1002277u, new Vector3(-97.550964f, 7.05f, 23.605652f), 131) - { - Disabled = true, - Comment = "Level 1 class quest isn't finished", - PickUpQuestId = new QuestId(253) - }; - span49[10] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-112.64317f, 7.734872f, 9.960203f), 131); - span49[11] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 130) - { - AethernetShard = EAetheryteLocation.UldahThaumaturge - }; - span49[12] = new QuestStep(EInteractionType.Interact, 1001834u, new Vector3(-23.331116f, 10f, -43.442444f), 130) - { - TargetTerritoryId = (ushort)131, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahThaumaturge, - To = EAetheryteLocation.UldahAdventurers - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span49[13] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahChamberOfRule, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span49[14] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahAlchemist, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - ref QuestStep reference90 = ref span49[15]; - QuestStep obj85 = new QuestStep(EInteractionType.Interact, 1001854u, new Vector3(-19.36377f, 34f, -42.588013f), 131) - { - TargetTerritoryId = (ushort)130, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAlchemist, - To = EAetheryteLocation.UldahChamberOfRule - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - num3 = 1; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - CollectionsMarshal.AsSpan(list117)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Warp", - Answer = new ExcelRef(131097u) - }; - obj85.DialogueChoices = list117; - reference90 = obj85; - ref QuestStep reference91 = ref span49[16]; - QuestStep obj86 = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 130) - { - Aetheryte = EAetheryteLocation.Uldah - }; - num3 = 6; - List list118 = new List(num3); - CollectionsMarshal.SetCount(list118, num3); - Span span52 = CollectionsMarshal.AsSpan(list118); - span52[0] = null; - span52[1] = null; - span52[2] = null; - span52[3] = null; - span52[4] = null; - span52[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj86.CompletionQuestVariablesFlags = list118; - reference91 = obj86; - obj84.Steps = list114; - reference87 = obj84; - ref QuestSequence reference92 = ref span48[2]; - QuestSequence obj87 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - Span span53 = CollectionsMarshal.AsSpan(list119); - span53[0] = new QuestStep(EInteractionType.RegisterFreeOrFavoredAetheryte, null, null, 130) - { - Aetheryte = EAetheryteLocation.Uldah - }; - span53[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 141) - { - Aetheryte = EAetheryteLocation.CentralThanalanBlackBrushStation, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGateOfNald - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span53[2] = new QuestStep(EInteractionType.None, null, null, 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span53[3] = new QuestStep(EInteractionType.CompleteQuest, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj87.Steps = list119; - reference92 = obj87; - questRoot12.QuestSequence = list112; - AddQuest(questId12, questRoot12); - UnlockLinkId questId13 = new UnlockLinkId(568); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list120 = new List(num); - CollectionsMarshal.SetCount(list120, num); - CollectionsMarshal.AsSpan(list120)[0] = "liza"; - questRoot13.Author = list120; - questRoot13.IsSeasonalQuest = true; - questRoot13.SeasonalQuestExpiry = new DateTime(2025, 12, 16, 14, 59, 0, DateTimeKind.Utc); - num = 1; - List list121 = new List(num); - CollectionsMarshal.SetCount(list121, num); - ref QuestSequence reference93 = ref CollectionsMarshal.AsSpan(list121)[0]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - ref QuestStep reference94 = ref CollectionsMarshal.AsSpan(list122)[0]; - QuestStep obj89 = new QuestStep(EInteractionType.AcceptQuest, 1052475u, new Vector3(-22.354492f, 10.13581f, -241.41296f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition obj90 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - CollectionsMarshal.AsSpan(list123)[0] = 133; - obj90.InTerritory = list123; - skipConditions2.AetheryteShortcutIf = obj90; - obj89.SkipConditions = skipConditions2; - reference94 = obj89; - obj88.Steps = list122; - reference93 = obj88; - questRoot13.QuestSequence = list121; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(569); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - CollectionsMarshal.AsSpan(list124)[0] = "liza"; - questRoot14.Author = list124; - num = 3; - List list125 = new List(num); - CollectionsMarshal.SetCount(list125, num); - Span span54 = CollectionsMarshal.AsSpan(list125); - ref QuestSequence reference95 = ref span54[0]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003988u, new Vector3(21.072632f, 7.45f, -78.84338f), 182); - obj91.Steps = list126; - reference95 = obj91; - ref QuestSequence reference96 = ref span54[1]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 1 - }; - num2 = 17; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - Span span55 = CollectionsMarshal.AsSpan(list127); - span55[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 130) - { - AethernetShard = EAetheryteLocation.UldahAdventurers - }; - span55[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(95.43315f, 4f, -105.26365f), 130); - ref QuestStep reference97 = ref span55[2]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1003908u, new Vector3(137.95679f, 4.041112f, -41.09259f), 131); - num3 = 6; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - Span span56 = CollectionsMarshal.AsSpan(list128); - span56[0] = null; - span56[1] = null; - span56[2] = null; - span56[3] = null; - span56[4] = null; - span56[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list128; - reference97 = questStep7; - span55[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahSapphireAvenue - }; - span55[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahWeaver - }; - span55[5] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahMiner - }; - span55[6] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahGoldsmith - }; - span55[7] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahGladiator - }; - span55[8] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-112.64317f, 7.734872f, 9.960203f), 131); - span55[9] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 130) - { - AethernetShard = EAetheryteLocation.UldahThaumaturge - }; - ref QuestStep reference98 = ref span55[10]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1001286u, new Vector3(-88.9754f, 2.55f, -51.163513f), 130); - num3 = 6; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - Span span57 = CollectionsMarshal.AsSpan(list129); - span57[0] = null; - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list129; - reference98 = questStep8; - span55[11] = new QuestStep(EInteractionType.AcceptQuest, 1001286u, new Vector3(-88.9754f, 2.55f, -51.163513f), 130) - { - Disabled = true, - Comment = "Level 1 class quest isn't finished", - PickUpQuestId = new QuestId(345) - }; - span55[12] = new QuestStep(EInteractionType.Interact, 1001834u, new Vector3(-23.331116f, 10f, -43.442444f), 130) - { - TargetTerritoryId = (ushort)131, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahThaumaturge, - To = EAetheryteLocation.UldahAdventurers - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span55[13] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahChamberOfRule, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span55[14] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahAlchemist, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - ref QuestStep reference99 = ref span55[15]; - QuestStep obj93 = new QuestStep(EInteractionType.Interact, 1001854u, new Vector3(-19.36377f, 34f, -42.588013f), 131) - { - TargetTerritoryId = (ushort)130, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAlchemist, - To = EAetheryteLocation.UldahChamberOfRule - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - num3 = 1; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - CollectionsMarshal.AsSpan(list130)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Warp", - Answer = new ExcelRef(131097u) - }; - obj93.DialogueChoices = list130; - reference99 = obj93; - ref QuestStep reference100 = ref span55[16]; - QuestStep obj94 = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 130) - { - Aetheryte = EAetheryteLocation.Uldah - }; - num3 = 6; - List list131 = new List(num3); - CollectionsMarshal.SetCount(list131, num3); - Span span58 = CollectionsMarshal.AsSpan(list131); - span58[0] = null; - span58[1] = null; - span58[2] = null; - span58[3] = null; - span58[4] = null; - span58[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj94.CompletionQuestVariablesFlags = list131; - reference100 = obj94; - obj92.Steps = list127; - reference96 = obj92; - ref QuestSequence reference101 = ref span54[2]; - QuestSequence obj95 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - Span span59 = CollectionsMarshal.AsSpan(list132); - span59[0] = new QuestStep(EInteractionType.RegisterFreeOrFavoredAetheryte, null, null, 130) - { - Aetheryte = EAetheryteLocation.Uldah - }; - span59[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 141) - { - Aetheryte = EAetheryteLocation.CentralThanalanBlackBrushStation, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGateOfNald - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span59[2] = new QuestStep(EInteractionType.None, null, null, 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span59[3] = new QuestStep(EInteractionType.CompleteQuest, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj95.Steps = list132; - reference101 = obj95; - questRoot14.QuestSequence = list125; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(570); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list133 = new List(num); - CollectionsMarshal.SetCount(list133, num); - CollectionsMarshal.AsSpan(list133)[0] = "liza"; - questRoot15.Author = list133; - num = 3; - List list134 = new List(num); - CollectionsMarshal.SetCount(list134, num); - Span span60 = CollectionsMarshal.AsSpan(list134); - ref QuestSequence reference102 = ref span60[0]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003988u, new Vector3(21.072632f, 7.45f, -78.84338f), 182); - obj96.Steps = list135; - reference102 = obj96; - ref QuestSequence reference103 = ref span60[1]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 1 - }; - num2 = 17; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - Span span61 = CollectionsMarshal.AsSpan(list136); - span61[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 130) - { - AethernetShard = EAetheryteLocation.UldahAdventurers - }; - span61[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(95.43315f, 4f, -105.26365f), 130); - ref QuestStep reference104 = ref span61[2]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1003908u, new Vector3(137.95679f, 4.041112f, -41.09259f), 131); - num3 = 6; - List list137 = new List(num3); - CollectionsMarshal.SetCount(list137, num3); - Span span62 = CollectionsMarshal.AsSpan(list137); - span62[0] = null; - span62[1] = null; - span62[2] = null; - span62[3] = null; - span62[4] = null; - span62[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list137; - reference104 = questStep9; - span61[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahSapphireAvenue - }; - span61[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahWeaver - }; - span61[5] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahMiner - }; - span61[6] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahGoldsmith - }; - span61[7] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahGladiator - }; - span61[8] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-112.64317f, 7.734872f, 9.960203f), 131); - span61[9] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 130) - { - AethernetShard = EAetheryteLocation.UldahThaumaturge - }; - ref QuestStep reference105 = ref span61[10]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1002279u, new Vector3(-196.8872f, 18.459997f, 59.952637f), 130); - num3 = 6; - List list138 = new List(num3); - CollectionsMarshal.SetCount(list138, num3); - Span span63 = CollectionsMarshal.AsSpan(list138); - span63[0] = null; - span63[1] = null; - span63[2] = null; - span63[3] = null; - span63[4] = null; - span63[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list138; - reference105 = questStep10; - span61[11] = new QuestStep(EInteractionType.AcceptQuest, 1002279u, new Vector3(-196.8872f, 18.459997f, 59.952637f), 130) - { - Disabled = true, - Comment = "Level 1 class quest isn't finished", - PickUpQuestId = new QuestId(345) - }; - span61[12] = new QuestStep(EInteractionType.Interact, 1001834u, new Vector3(-23.331116f, 10f, -43.442444f), 130) - { - TargetTerritoryId = (ushort)131, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahThaumaturge, - To = EAetheryteLocation.UldahAdventurers - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span61[13] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahChamberOfRule, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span61[14] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahAlchemist, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - ref QuestStep reference106 = ref span61[15]; - QuestStep obj98 = new QuestStep(EInteractionType.Interact, 1001854u, new Vector3(-19.36377f, 34f, -42.588013f), 131) - { - TargetTerritoryId = (ushort)130, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAlchemist, - To = EAetheryteLocation.UldahChamberOfRule - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - num3 = 1; - List list139 = new List(num3); - CollectionsMarshal.SetCount(list139, num3); - CollectionsMarshal.AsSpan(list139)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Warp", - Answer = new ExcelRef(131097u) - }; - obj98.DialogueChoices = list139; - reference106 = obj98; - ref QuestStep reference107 = ref span61[16]; - QuestStep obj99 = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 130) - { - Aetheryte = EAetheryteLocation.Uldah - }; - num3 = 6; - List list140 = new List(num3); - CollectionsMarshal.SetCount(list140, num3); - Span span64 = CollectionsMarshal.AsSpan(list140); - span64[0] = null; - span64[1] = null; - span64[2] = null; - span64[3] = null; - span64[4] = null; - span64[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj99.CompletionQuestVariablesFlags = list140; - reference107 = obj99; - obj97.Steps = list136; - reference103 = obj97; - ref QuestSequence reference108 = ref span60[2]; - QuestSequence obj100 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - Span span65 = CollectionsMarshal.AsSpan(list141); - span65[0] = new QuestStep(EInteractionType.RegisterFreeOrFavoredAetheryte, null, null, 130) - { - Aetheryte = EAetheryteLocation.Uldah - }; - span65[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 141) - { - Aetheryte = EAetheryteLocation.CentralThanalanBlackBrushStation, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGateOfNald - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span65[2] = new QuestStep(EInteractionType.None, null, null, 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions() - } - }; - span65[3] = new QuestStep(EInteractionType.CompleteQuest, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj100.Steps = list141; - reference108 = obj100; - questRoot15.QuestSequence = list134; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(574); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list142 = new List(num); - CollectionsMarshal.SetCount(list142, num); - CollectionsMarshal.AsSpan(list142)[0] = "liza"; - questRoot16.Author = list142; - num = 5; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - Span span66 = CollectionsMarshal.AsSpan(list143); - ref QuestSequence reference109 = ref span66[0]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003929u, new Vector3(-378.65265f, -55.75492f, 106.79785f), 145); - obj101.Steps = list144; - reference109 = obj101; - ref QuestSequence reference110 = ref span66[1]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 1 - }; - num2 = 8; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - Span span67 = CollectionsMarshal.AsSpan(list145); - span67[0] = new QuestStep(EInteractionType.EquipItem, null, null, 145) - { - ItemId = 2995u - }; - span67[1] = new QuestStep(EInteractionType.EquipItem, null, null, 145) - { - ItemId = 3306u - }; - ref QuestStep reference111 = ref span67[2]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1004327u, new Vector3(-412.03937f, -48.15f, 102.61682f), 145); - num3 = 6; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - Span span68 = CollectionsMarshal.AsSpan(list146); - span68[0] = null; - span68[1] = null; - span68[2] = null; - span68[3] = null; - span68[4] = null; - span68[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list146; - reference111 = questStep11; - ref QuestStep reference112 = ref span67[3]; - QuestStep obj103 = new QuestStep(EInteractionType.Jump, null, new Vector3(-409.44067f, -48.15f, 101.391624f), 145) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(-408.8825f, -55.764168f, 110.76053f), - StopDistance = 5f - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list147 = new List(num3); - CollectionsMarshal.SetCount(list147, num3); - Span span69 = CollectionsMarshal.AsSpan(list147); - span69[0] = null; - span69[1] = null; - span69[2] = null; - span69[3] = null; - span69[4] = null; - span69[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list147; - skipConditions3.StepIf = skipStepConditions; - obj103.SkipConditions = skipConditions3; - reference112 = obj103; - ref QuestStep reference113 = ref span67[4]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1004506u, new Vector3(-416.64764f, -54.15f, 96.42175f), 145); - num3 = 6; - List list148 = new List(num3); - CollectionsMarshal.SetCount(list148, num3); - Span span70 = CollectionsMarshal.AsSpan(list148); - span70[0] = null; - span70[1] = null; - span70[2] = null; - span70[3] = null; - span70[4] = null; - span70[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list148; - reference113 = questStep12; - ref QuestStep reference114 = ref span67[5]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1004325u, new Vector3(-402.45673f, -57.07999f, 131.82263f), 145); - num3 = 6; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - Span span71 = CollectionsMarshal.AsSpan(list149); - span71[0] = null; - span71[1] = null; - span71[2] = null; - span71[3] = null; - span71[4] = null; - span71[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list149; - reference114 = questStep13; - ref QuestStep reference115 = ref span67[6]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1004556u, new Vector3(-394.85773f, -57.30005f, 173.32715f), 145); - num3 = 6; - List list150 = new List(num3); - CollectionsMarshal.SetCount(list150, num3); - Span span72 = CollectionsMarshal.AsSpan(list150); - span72[0] = null; - span72[1] = null; - span72[2] = null; - span72[3] = null; - span72[4] = null; - span72[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list150; - reference115 = questStep14; - ref QuestStep reference116 = ref span67[7]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1003947u, new Vector3(-369.19202f, -57.079987f, 140.0625f), 145); - num3 = 6; - List list151 = new List(num3); - CollectionsMarshal.SetCount(list151, num3); - Span span73 = CollectionsMarshal.AsSpan(list151); - span73[0] = null; - span73[1] = null; - span73[2] = null; - span73[3] = null; - span73[4] = null; - span73[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list151; - reference116 = questStep15; - obj102.Steps = list145; - reference110 = obj102; - ref QuestSequence reference117 = ref span66[2]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.Interact, 1004324u, new Vector3(-377.6761f, -55.754112f, 108.17114f), 145); - obj104.Steps = list152; - reference117 = obj104; - ref QuestSequence reference118 = ref span66[3]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - Span span74 = CollectionsMarshal.AsSpan(list153); - span74[0] = new QuestStep(EInteractionType.EquipItem, null, null, 145) - { - ItemId = 2995u - }; - span74[1] = new QuestStep(EInteractionType.EquipItem, null, null, 145) - { - ItemId = 3306u - }; - span74[2] = new QuestStep(EInteractionType.Interact, 1004330u, new Vector3(-221.45422f, -30.074055f, 200.15259f), 145); - obj105.Steps = list153; - reference118 = obj105; - ref QuestSequence reference119 = ref span66[4]; - QuestSequence obj106 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 6; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - Span span75 = CollectionsMarshal.AsSpan(list154); - span75[0] = new QuestStep(EInteractionType.UseItem, null, null, 145) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span75[1] = new QuestStep(EInteractionType.EquipRecommended, null, null, 140); - span75[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span75[3] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span75[4] = new QuestStep(EInteractionType.Interact, 2001715u, new Vector3(23.23944f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212 - }; - span75[5] = new QuestStep(EInteractionType.CompleteQuest, 1005116u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj106.Steps = list154; - reference119 = obj106; - questRoot16.QuestSequence = list143; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(575); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list155 = new List(num); - CollectionsMarshal.SetCount(list155, num); - CollectionsMarshal.AsSpan(list155)[0] = "Cacahuetes"; - questRoot17.Author = list155; - num = 2; - List list156 = new List(num); - CollectionsMarshal.SetCount(list156, num); - Span span76 = CollectionsMarshal.AsSpan(list156); - ref QuestSequence reference120 = ref span76[0]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002281u, new Vector3(-115.739685f, 41.600117f, 118.88306f), 131); - obj107.Steps = list157; - reference120 = obj107; - ref QuestSequence reference121 = ref span76[1]; - QuestSequence obj108 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - ref QuestStep reference122 = ref CollectionsMarshal.AsSpan(list158)[0]; - QuestStep questStep16 = new QuestStep(EInteractionType.CompleteQuest, 1002299u, new Vector3(-98.8938f, 40.200146f, 120.83618f), 131); - num3 = 1; - List list159 = new List(num3); - CollectionsMarshal.SetCount(list159, num3); - CollectionsMarshal.AsSpan(list159)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSALC011_00575_Q1_1") - }; - questStep16.DialogueChoices = list159; - reference122 = questStep16; - obj108.Steps = list158; - reference121 = obj108; - questRoot17.QuestSequence = list156; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(576); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list160 = new List(num); - CollectionsMarshal.SetCount(list160, num); - CollectionsMarshal.AsSpan(list160)[0] = "liza"; - questRoot18.Author = list160; - num = 2; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - Span span77 = CollectionsMarshal.AsSpan(list161); - ref QuestSequence reference123 = ref span77[0]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011030u, new Vector3(7.522644f, -1.7667189E-06f, -68.589294f), 388); - obj109.Steps = list162; - reference123 = obj109; - ref QuestSequence reference124 = ref span77[1]; - QuestSequence obj110 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.CompleteQuest, 1010472u, new Vector3(-53.26935f, 0.3093315f, 69.41321f), 148) - { - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows - }; - obj110.Steps = list163; - reference124 = obj110; - questRoot18.QuestSequence = list161; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(585); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list164 = new List(num); - CollectionsMarshal.SetCount(list164, num); - CollectionsMarshal.AsSpan(list164)[0] = "JerryWester"; - questRoot19.Author = list164; - num = 5; - List list165 = new List(num); - CollectionsMarshal.SetCount(list165, num); - Span span78 = CollectionsMarshal.AsSpan(list165); - ref QuestSequence reference125 = ref span78[0]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006746u, new Vector3(460.65454f, 8.309061f, 74.47925f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj111.Steps = list166; - reference125 = obj111; - ref QuestSequence reference126 = ref span78[1]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - Span span79 = CollectionsMarshal.AsSpan(list167); - span79[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(427.1206f, 7.9075317f, 24.77774f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - span79[1] = new QuestStep(EInteractionType.Interact, 1013279u, new Vector3(441.70276f, 8.670496f, 18.814331f), 139); - obj112.Steps = list167; - reference126 = obj112; - ref QuestSequence reference127 = ref span78[2]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - Span span80 = CollectionsMarshal.AsSpan(list168); - span80[0] = new QuestStep(EInteractionType.Interact, 1004349u, new Vector3(444.99866f, -4.487237f, -453.02515f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span80[1] = new QuestStep(EInteractionType.Interact, 1007067u, new Vector3(444.99866f, -4.3439503f, -446.00598f), 156); - span80[2] = new QuestStep(EInteractionType.Interact, 1006550u, new Vector3(449.33228f, -12.436822f, -387.5639f), 156) - { - StopDistance = 1f, - Fly = true - }; - obj113.Steps = list168; - reference127 = obj113; - ref QuestSequence reference128 = ref span78[3]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.Interact, 2005571u, new Vector3(442.8015f, -19.516357f, -291.43213f), 156) - { - Fly = true - }; - obj114.Steps = list169; - reference128 = obj114; - ref QuestSequence reference129 = ref span78[4]; - QuestSequence obj115 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - Span span81 = CollectionsMarshal.AsSpan(list170); - span81[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(427.1206f, 7.9075317f, 24.77774f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - span81[1] = new QuestStep(EInteractionType.CompleteQuest, 1013279u, new Vector3(441.70276f, 8.670496f, 18.814331f), 139) - { - NextQuestId = new QuestId(586) - }; - obj115.Steps = list170; - reference129 = obj115; - questRoot19.QuestSequence = list165; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(586); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - CollectionsMarshal.AsSpan(list171)[0] = "JerryWester"; - questRoot20.Author = list171; - num = 3; - List list172 = new List(num); - CollectionsMarshal.SetCount(list172, num); - Span span82 = CollectionsMarshal.AsSpan(list172); - ref QuestSequence reference130 = ref span82[0]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013279u, new Vector3(441.70276f, 8.670496f, 18.814331f), 139) - { - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj116.Steps = list173; - reference130 = obj116; - ref QuestSequence reference131 = ref span82[1]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - Span span83 = CollectionsMarshal.AsSpan(list174); - span83[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(465.77087f, 367.76678f, -658.1668f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span83[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 1014199u, new Vector3(531.33435f, 348.49677f, -737.4227f), 155) - { - Fly = true, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj117.Steps = list174; - reference131 = obj117; - ref QuestSequence reference132 = ref span82[2]; - QuestSequence obj118 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - Span span84 = CollectionsMarshal.AsSpan(list175); - span84[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(427.1206f, 7.9075317f, 24.77774f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - span84[1] = new QuestStep(EInteractionType.CompleteQuest, 1013279u, new Vector3(441.70276f, 8.670496f, 18.814331f), 139) - { - NextQuestId = new QuestId(588) - }; - obj118.Steps = list175; - reference132 = obj118; - questRoot20.QuestSequence = list172; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(588); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - CollectionsMarshal.AsSpan(list176)[0] = "JerryWester"; - questRoot21.Author = list176; - num = 5; - List list177 = new List(num); - CollectionsMarshal.SetCount(list177, num); - Span span85 = CollectionsMarshal.AsSpan(list177); - ref QuestSequence reference133 = ref span85[0]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013279u, new Vector3(441.70276f, 8.670496f, 18.814331f), 139) - { - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj119.Steps = list178; - reference133 = obj119; - ref QuestSequence reference134 = ref span85[1]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - Span span86 = CollectionsMarshal.AsSpan(list179); - ref QuestStep reference135 = ref span86[0]; - QuestStep obj121 = new QuestStep(EInteractionType.Interact, 1011920u, new Vector3(519.8595f, -51.071976f, 88.24292f), 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - num3 = 6; - List list180 = new List(num3); - CollectionsMarshal.SetCount(list180, num3); - Span span87 = CollectionsMarshal.AsSpan(list180); - span87[0] = null; - span87[1] = null; - span87[2] = null; - span87[3] = null; - span87[4] = null; - span87[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj121.CompletionQuestVariablesFlags = list180; - reference135 = obj121; - span86[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(502.8876f, -48.989826f, 34.93356f), 398); - ref QuestStep reference136 = ref span86[2]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1011919u, new Vector3(497.82556f, -49.790283f, 11.825684f), 398); - num3 = 6; - List list181 = new List(num3); - CollectionsMarshal.SetCount(list181, num3); - Span span88 = CollectionsMarshal.AsSpan(list181); - span88[0] = null; - span88[1] = null; - span88[2] = null; - span88[3] = null; - span88[4] = null; - span88[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list181; - reference136 = questStep17; - ref QuestStep reference137 = ref span86[3]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1011921u, new Vector3(453.36072f, -51.141403f, 58.579346f), 398); - num3 = 6; - List list182 = new List(num3); - CollectionsMarshal.SetCount(list182, num3); - Span span89 = CollectionsMarshal.AsSpan(list182); - span89[0] = null; - span89[1] = null; - span89[2] = null; - span89[3] = null; - span89[4] = null; - span89[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list182; - reference137 = questStep18; - obj120.Steps = list179; - reference134 = obj120; - ref QuestSequence reference138 = ref span85[2]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - Span span90 = CollectionsMarshal.AsSpan(list183); - span90[0] = new QuestStep(EInteractionType.Interact, 2005574u, new Vector3(447.07397f, -47.715027f, -283.68048f), 398) - { - StopDistance = 0.25f, - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span90[1] = new QuestStep(EInteractionType.Interact, 2005574u, new Vector3(447.07397f, -47.715027f, -283.68048f), 398) - { - Fly = false, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - obj122.Steps = list183; - reference138 = obj122; - ref QuestSequence reference139 = ref span85[3]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - Span span91 = CollectionsMarshal.AsSpan(list184); - span91[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(423.53406f, -26.253891f, -550.60297f), 398); - ref QuestStep reference140 = ref span91[1]; - QuestStep obj124 = new QuestStep(EInteractionType.Combat, 2005573u, new Vector3(441.94702f, -21.530518f, -545.03705f), 398) - { - StopDistance = 0.25f, - Fly = true, - ItemId = 2001590u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list185 = new List(num3); - CollectionsMarshal.SetCount(list185, num3); - CollectionsMarshal.AsSpan(list185)[0] = 4373u; - obj124.KillEnemyDataIds = list185; - obj124.SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - }; - reference140 = obj124; - ref QuestStep reference141 = ref span91[2]; - QuestStep obj125 = new QuestStep(EInteractionType.Combat, 2005573u, new Vector3(441.94702f, -21.530518f, -545.03705f), 398) - { - StopDistance = 0.25f, - DisableNavmesh = true, - Fly = false, - ItemId = 2001590u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list186 = new List(num3); - CollectionsMarshal.SetCount(list186, num3); - CollectionsMarshal.AsSpan(list186)[0] = 4373u; - obj125.KillEnemyDataIds = list186; - obj125.SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - }; - reference141 = obj125; - obj123.Steps = list184; - reference139 = obj123; - ref QuestSequence reference142 = ref span85[4]; - QuestSequence obj126 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - Span span92 = CollectionsMarshal.AsSpan(list187); - span92[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(427.1206f, 7.9075317f, 24.77774f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - span92[1] = new QuestStep(EInteractionType.CompleteQuest, 1013279u, new Vector3(441.70276f, 8.670496f, 18.814331f), 139) - { - NextQuestId = new QuestId(596) - }; - obj126.Steps = list187; - reference142 = obj126; - questRoot21.QuestSequence = list177; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(594); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list188 = new List(num); - CollectionsMarshal.SetCount(list188, num); - CollectionsMarshal.AsSpan(list188)[0] = "liza"; - questRoot22.Author = list188; - num = 2; - List list189 = new List(num); - CollectionsMarshal.SetCount(list189, num); - Span span93 = CollectionsMarshal.AsSpan(list189); - ref QuestSequence reference143 = ref span93[0]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - ref QuestStep reference144 = ref CollectionsMarshal.AsSpan(list190)[0]; - QuestStep questStep19 = new QuestStep(EInteractionType.AcceptQuest, 1003987u, new Vector3(33.37146f, 4.0999947f, -151.99518f), 182); - num3 = 1; - List list191 = new List(num3); - CollectionsMarshal.SetCount(list191, num3); - CollectionsMarshal.AsSpan(list191)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "opening/OpeningUldah", - Prompt = new ExcelRef("TEXT_OPENINGULDAH_FST_SYSTEM_Q_01"), - Answer = new ExcelRef("TEXT_OPENINGULDAH_FST_SYSTEM_A_01") - }; - questStep19.DialogueChoices = list191; - reference144 = questStep19; - obj127.Steps = list190; - reference143 = obj127; - ref QuestSequence reference145 = ref span93[1]; - QuestSequence obj128 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003988u, new Vector3(21.072632f, 7.45f, -78.84338f), 182); - obj128.Steps = list192; - reference145 = obj128; - questRoot22.QuestSequence = list189; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(595); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list193 = new List(num); - CollectionsMarshal.SetCount(list193, num); - CollectionsMarshal.AsSpan(list193)[0] = "liza"; - questRoot23.Author = list193; - num = 2; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - Span span94 = CollectionsMarshal.AsSpan(list194); - ref QuestSequence reference146 = ref span94[0]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - ref QuestStep reference147 = ref CollectionsMarshal.AsSpan(list195)[0]; - QuestStep obj130 = new QuestStep(EInteractionType.AcceptQuest, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list196 = new List(num3); - CollectionsMarshal.SetCount(list196, num3); - CollectionsMarshal.AsSpan(list196)[0] = 130; - skipStepConditions2.NotInTerritory = list196; - skipConditions4.StepIf = skipStepConditions2; - obj130.SkipConditions = skipConditions4; - reference147 = obj130; - obj129.Steps = list195; - reference146 = obj129; - ref QuestSequence reference148 = ref span94[1]; - QuestSequence obj131 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - Span span95 = CollectionsMarshal.AsSpan(list197); - span95[0] = new QuestStep(EInteractionType.Interact, 1001834u, new Vector3(-23.331116f, 10f, -43.442444f), 130) - { - TargetTerritoryId = (ushort)131 - }; - span95[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahChamberOfRule - }; - span95[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahAlchemist - }; - span95[3] = new QuestStep(EInteractionType.CompleteQuest, 1003995u, new Vector3(75.33374f, 2.135708f, 316.33472f), 141) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAlchemist, - To = EAetheryteLocation.UldahGateOfNald - } - }; - obj131.Steps = list197; - reference148 = obj131; - questRoot23.QuestSequence = list194; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(596); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list198 = new List(num); - CollectionsMarshal.SetCount(list198, num); - CollectionsMarshal.AsSpan(list198)[0] = "JerryWester"; - questRoot24.Author = list198; - num = 10; - List list199 = new List(num); - CollectionsMarshal.SetCount(list199, num); - Span span96 = CollectionsMarshal.AsSpan(list199); - ref QuestSequence reference149 = ref span96[0]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013279u, new Vector3(441.70276f, 8.670496f, 18.814331f), 139) - { - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj132.Steps = list200; - reference149 = obj132; - ref QuestSequence reference150 = ref span96[1]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.Interact, 1013282u, new Vector3(304.1886f, -36.405907f, 332.69226f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - obj133.Steps = list201; - reference150 = obj133; - ref QuestSequence reference151 = ref span96[2]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - Span span97 = CollectionsMarshal.AsSpan(list202); - span97[0] = new QuestStep(EInteractionType.Interact, 1003584u, new Vector3(317.43335f, -36.325005f, 352.86487f), 138) - { - TargetTerritoryId = (ushort)138 - }; - span97[1] = new QuestStep(EInteractionType.Interact, 1013287u, new Vector3(-297.6883f, -41.69223f, 408.5603f), 138); - obj134.Steps = list202; - reference151 = obj134; - ref QuestSequence reference152 = ref span96[3]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - ref QuestStep reference153 = ref CollectionsMarshal.AsSpan(list203)[0]; - QuestStep obj136 = new QuestStep(EInteractionType.Combat, 1013292u, new Vector3(-229.8772f, -37.628788f, 545.15906f), 138) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list204 = new List(num3); - CollectionsMarshal.SetCount(list204, num3); - Span span98 = CollectionsMarshal.AsSpan(list204); - span98[0] = 4361u; - span98[1] = 4362u; - obj136.KillEnemyDataIds = list204; - reference153 = obj136; - obj135.Steps = list203; - reference152 = obj135; - ref QuestSequence reference154 = ref span96[4]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.Interact, 1013292u, new Vector3(-229.8772f, -37.628788f, 545.15906f), 138); - obj137.Steps = list205; - reference154 = obj137; - ref QuestSequence reference155 = ref span96[5]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - ref QuestStep reference156 = ref CollectionsMarshal.AsSpan(list206)[0]; - QuestStep obj139 = new QuestStep(EInteractionType.Combat, 1013334u, new Vector3(-276.60034f, -37.47169f, 586.96875f), 138) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list207 = new List(num3); - CollectionsMarshal.SetCount(list207, num3); - Span span99 = CollectionsMarshal.AsSpan(list207); - span99[0] = 4361u; - span99[1] = 4362u; - obj139.KillEnemyDataIds = list207; - reference156 = obj139; - obj138.Steps = list206; - reference155 = obj138; - ref QuestSequence reference157 = ref span96[6]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.Interact, 1013334u, new Vector3(-276.60034f, -37.47169f, 586.96875f), 138); - obj140.Steps = list208; - reference157 = obj140; - ref QuestSequence reference158 = ref span96[7]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - ref QuestStep reference159 = ref CollectionsMarshal.AsSpan(list209)[0]; - QuestStep obj142 = new QuestStep(EInteractionType.Combat, 1013338u, new Vector3(-253.25403f, -39.465584f, 661.21924f), 138) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list210 = new List(num3); - CollectionsMarshal.SetCount(list210, num3); - Span span100 = CollectionsMarshal.AsSpan(list210); - span100[0] = 4402u; - span100[1] = 4403u; - obj142.KillEnemyDataIds = list210; - reference159 = obj142; - obj141.Steps = list209; - reference158 = obj141; - ref QuestSequence reference160 = ref span96[8]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - CollectionsMarshal.AsSpan(list211)[0] = new QuestStep(EInteractionType.Interact, 1013337u, new Vector3(-254.10852f, -39.315884f, 658.8082f), 138); - obj143.Steps = list211; - reference160 = obj143; - ref QuestSequence reference161 = ref span96[9]; - QuestSequence obj144 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - CollectionsMarshal.AsSpan(list212)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013282u, new Vector3(304.1886f, -36.405907f, 332.69226f), 138) - { - NextQuestId = new QuestId(1677) - }; - obj144.Steps = list212; - reference161 = obj144; - questRoot24.QuestSequence = list199; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(597); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list213 = new List(num); - CollectionsMarshal.SetCount(list213, num); - CollectionsMarshal.AsSpan(list213)[0] = "liza"; - questRoot25.Author = list213; - num = 2; - List list214 = new List(num); - CollectionsMarshal.SetCount(list214, num); - Span span101 = CollectionsMarshal.AsSpan(list214); - ref QuestSequence reference162 = ref span101[0]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - ref QuestStep reference163 = ref CollectionsMarshal.AsSpan(list215)[0]; - QuestStep obj146 = new QuestStep(EInteractionType.AcceptQuest, 1002282u, new Vector3(3.5552979f, 7.5999613f, 153.2157f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahMiner - } - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipAetheryteCondition obj147 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list216 = new List(num3); - CollectionsMarshal.SetCount(list216, num3); - CollectionsMarshal.AsSpan(list216)[0] = 131; - obj147.InTerritory = list216; - skipConditions5.AetheryteShortcutIf = obj147; - obj146.SkipConditions = skipConditions5; - reference163 = obj146; - obj145.Steps = list215; - reference162 = obj145; - ref QuestSequence reference164 = ref span101[1]; - QuestSequence obj148 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - ref QuestStep reference165 = ref CollectionsMarshal.AsSpan(list217)[0]; - QuestStep questStep20 = new QuestStep(EInteractionType.CompleteQuest, 1002298u, new Vector3(-18.997498f, 6.2f, 157.42725f), 131); - num3 = 1; - List list218 = new List(num3); - CollectionsMarshal.SetCount(list218, num3); - CollectionsMarshal.AsSpan(list218)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSMIN011_00597_Q1_000_1") - }; - questStep20.DialogueChoices = list218; - questStep20.NextQuestId = new QuestId(599); - reference165 = questStep20; - obj148.Steps = list217; - reference164 = obj148; - questRoot25.QuestSequence = list214; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(598); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list219 = new List(num); - CollectionsMarshal.SetCount(list219, num); - CollectionsMarshal.AsSpan(list219)[0] = "JerryWester"; - questRoot26.Author = list219; - num = 9; - List list220 = new List(num); - CollectionsMarshal.SetCount(list220, num); - Span span102 = CollectionsMarshal.AsSpan(list220); - ref QuestSequence reference166 = ref span102[0]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013279u, new Vector3(441.70276f, 8.670496f, 18.814331f), 139) - { - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj149.Steps = list221; - reference166 = obj149; - ref QuestSequence reference167 = ref span102[1]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - Span span103 = CollectionsMarshal.AsSpan(list222); - span103[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(427.1206f, 7.9075317f, 24.77774f), 139) - { - Mount = true - }; - span103[1] = new QuestStep(EInteractionType.Interact, 1013339u, new Vector3(396.16992f, 8.113181f, 48.142212f), 139) - { - Fly = true - }; - obj150.Steps = list222; - reference167 = obj150; - ref QuestSequence reference168 = ref span102[2]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - CollectionsMarshal.AsSpan(list223)[0] = new QuestStep(EInteractionType.Interact, 1014284u, new Vector3(384.2068f, -0.39099246f, 65.90369f), 139) - { - Fly = true - }; - obj151.Steps = list223; - reference168 = obj151; - ref QuestSequence reference169 = ref span102[3]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.Emote, 1014284u, new Vector3(384.2068f, -0.39099246f, 65.90369f), 139) - { - Emote = EEmote.Slap - }; - obj152.Steps = list224; - reference169 = obj152; - ref QuestSequence reference170 = ref span102[4]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.Interact, 1013304u, new Vector3(347.37158f, 3.0454707f, -9.445435f), 139) - { - Fly = true - }; - obj153.Steps = list225; - reference170 = obj153; - ref QuestSequence reference171 = ref span102[5]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - ref QuestStep reference172 = ref CollectionsMarshal.AsSpan(list226)[0]; - QuestStep obj155 = new QuestStep(EInteractionType.Combat, 1013310u, new Vector3(354.63477f, 23.944334f, -133.44019f), 139) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list227 = new List(num3); - CollectionsMarshal.SetCount(list227, num3); - Span span104 = CollectionsMarshal.AsSpan(list227); - span104[0] = 4404u; - span104[1] = 4405u; - obj155.KillEnemyDataIds = list227; - reference172 = obj155; - obj154.Steps = list226; - reference171 = obj154; - ref QuestSequence reference173 = ref span102[6]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.Interact, 1013310u, new Vector3(354.63477f, 23.944334f, -133.44019f), 139); - obj156.Steps = list228; - reference173 = obj156; - ref QuestSequence reference174 = ref span102[7]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.Interact, 1013307u, new Vector3(281.69678f, 38.53493f, -176.74524f), 139); - obj157.Steps = list229; - reference174 = obj157; - ref QuestSequence reference175 = ref span102[8]; - QuestSequence obj158 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - Span span105 = CollectionsMarshal.AsSpan(list230); - span105[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(427.1206f, 7.9075317f, 24.77774f), 139) - { - Fly = true - }; - span105[1] = new QuestStep(EInteractionType.CompleteQuest, 1013279u, new Vector3(441.70276f, 8.670496f, 18.814331f), 139) - { - NextQuestId = new QuestId(601) - }; - obj158.Steps = list230; - reference175 = obj158; - questRoot26.QuestSequence = list220; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(599); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list231 = new List(num); - CollectionsMarshal.SetCount(list231, num); - CollectionsMarshal.AsSpan(list231)[0] = "liza"; - questRoot27.Author = list231; - num = 2; - List list232 = new List(num); - CollectionsMarshal.SetCount(list232, num); - Span span106 = CollectionsMarshal.AsSpan(list232); - ref QuestSequence reference176 = ref span106[0]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - ref QuestStep reference177 = ref CollectionsMarshal.AsSpan(list233)[0]; - QuestStep obj160 = new QuestStep(EInteractionType.AcceptQuest, 1002298u, new Vector3(-18.997498f, 6.2f, 157.42725f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahMiner - } - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipAetheryteCondition obj161 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list234 = new List(num3); - CollectionsMarshal.SetCount(list234, num3); - CollectionsMarshal.AsSpan(list234)[0] = 131; - obj161.InTerritory = list234; - skipConditions6.AetheryteShortcutIf = obj161; - obj160.SkipConditions = skipConditions6; - reference177 = obj160; - obj159.Steps = list233; - reference176 = obj159; - ref QuestSequence reference178 = ref span106[1]; - QuestSequence obj162 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - Span span107 = CollectionsMarshal.AsSpan(list235); - ref QuestStep reference179 = ref span107[0]; - QuestStep questStep21 = new QuestStep(EInteractionType.Gather, null, null, 131); - num3 = 1; - List list236 = new List(num3); - CollectionsMarshal.SetCount(list236, num3); - CollectionsMarshal.AsSpan(list236)[0] = new GatheredItem - { - ItemId = 5106u, - ItemCount = 10 - }; - questStep21.ItemsToGather = list236; - reference179 = questStep21; - ref QuestStep reference180 = ref span107[1]; - QuestStep obj163 = new QuestStep(EInteractionType.CompleteQuest, 1002298u, new Vector3(-18.997498f, 6.2f, 157.42725f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahMiner - } - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num3 = 2; - List list237 = new List(num3); - CollectionsMarshal.SetCount(list237, num3); - Span span108 = CollectionsMarshal.AsSpan(list237); - span108[0] = 130; - span108[1] = 131; - skipAetheryteCondition2.InTerritory = list237; - skipConditions7.AetheryteShortcutIf = skipAetheryteCondition2; - obj163.SkipConditions = skipConditions7; - reference180 = obj163; - obj162.Steps = list235; - reference178 = obj162; - questRoot27.QuestSequence = list232; - AddQuest(questId27, questRoot27); - } - - private static void LoadQuests12() - { - QuestId questId = new QuestId(600); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 2; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference2 = ref CollectionsMarshal.AsSpan(list3)[0]; - QuestStep obj2 = new QuestStep(EInteractionType.AcceptQuest, 1002298u, new Vector3(-18.997498f, 6.2f, 157.42725f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahMiner - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition obj3 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - int num3 = 1; - List list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - CollectionsMarshal.AsSpan(list4)[0] = 131; - obj3.InTerritory = list4; - skipConditions.AetheryteShortcutIf = obj3; - obj2.SkipConditions = skipConditions; - reference2 = obj2; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference3 = ref span[1]; - QuestSequence obj4 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - Span span2 = CollectionsMarshal.AsSpan(list5); - ref QuestStep reference4 = ref span2[0]; - QuestStep questStep = new QuestStep(EInteractionType.Gather, null, null, 131); - num3 = 1; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - CollectionsMarshal.AsSpan(list6)[0] = new GatheredItem - { - ItemId = 5432u, - ItemCount = 10 - }; - questStep.ItemsToGather = list6; - reference4 = questStep; - ref QuestStep reference5 = ref span2[1]; - QuestStep obj5 = new QuestStep(EInteractionType.CompleteQuest, 1002298u, new Vector3(-18.997498f, 6.2f, 157.42725f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahMiner - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 2; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span3 = CollectionsMarshal.AsSpan(list7); - span3[0] = 130; - span3[1] = 131; - skipAetheryteCondition.InTerritory = list7; - skipConditions2.AetheryteShortcutIf = skipAetheryteCondition; - obj5.SkipConditions = skipConditions2; - reference5 = obj5; - obj4.Steps = list5; - reference3 = obj4; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(601); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - CollectionsMarshal.AsSpan(list8)[0] = "JerryWester"; - questRoot2.Author = list8; - num = 6; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - Span span4 = CollectionsMarshal.AsSpan(list9); - ref QuestSequence reference6 = ref span4[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013279u, new Vector3(441.70276f, 8.670496f, 18.814331f), 139) - { - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span4[1]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - Span span5 = CollectionsMarshal.AsSpan(list11); - span5[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(427.1206f, 7.9075317f, 24.77774f), 139) - { - Mount = true - }; - span5[1] = new QuestStep(EInteractionType.Interact, 1013316u, new Vector3(398.97766f, 8.611752f, 46.28064f), 139) - { - Fly = true - }; - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span4[2]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Emote, 1013316u, new Vector3(398.97766f, 8.611752f, 46.28064f), 139) - { - Emote = EEmote.Slap - }; - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference9 = ref span4[3]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.Interact, 1006614u, new Vector3(65.87317f, -3.1181886f, 61.41748f), 138) - { - StopDistance = 1f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - obj9.Steps = list13; - reference9 = obj9; - ref QuestSequence reference10 = ref span4[4]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1013312u, new Vector3(-118.88306f, -25.500666f, 42.374268f), 138) - { - Fly = true, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj10.Steps = list14; - reference10 = obj10; - ref QuestSequence reference11 = ref span4[5]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013329u, new Vector3(-109.9718f, -24.72433f, 63.553833f), 138) - { - NextQuestId = new QuestId(2900) - }; - obj11.Steps = list15; - reference11 = obj11; - questRoot2.QuestSequence = list9; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(608); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - CollectionsMarshal.AsSpan(list16)[0] = "Cacahuetes"; - questRoot3.Author = list16; - num = 2; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - Span span6 = CollectionsMarshal.AsSpan(list17); - ref QuestSequence reference12 = ref span6[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002280u, new Vector3(-35.385742f, 13.599962f, 97.24573f), 131); - obj12.Steps = list18; - reference12 = obj12; - ref QuestSequence reference13 = ref span6[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - ref QuestStep reference14 = ref CollectionsMarshal.AsSpan(list19)[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.CompleteQuest, 1004093u, new Vector3(-25.162231f, 12.200003f, 110.795654f), 131); - num3 = 1; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - CollectionsMarshal.AsSpan(list20)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSGLD011_00608_A1_000_1") - }; - questStep2.DialogueChoices = list20; - reference14 = questStep2; - obj13.Steps = list19; - reference13 = obj13; - questRoot3.QuestSequence = list17; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(618); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - CollectionsMarshal.AsSpan(list21)[0] = "liza"; - questRoot4.Author = list21; - num = 3; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - Span span7 = CollectionsMarshal.AsSpan(list22); - ref QuestSequence reference15 = ref span7[0]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003929u, new Vector3(-378.65265f, -55.75492f, 106.79785f), 145); - obj14.Steps = list23; - reference15 = obj14; - ref QuestSequence reference16 = ref span7[1]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - Span span8 = CollectionsMarshal.AsSpan(list24); - ref QuestStep reference17 = ref span8[0]; - QuestStep obj16 = new QuestStep(EInteractionType.Combat, null, new Vector3(-338.71124f, -37.497707f, 243.90338f), 145) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - CollectionsMarshal.AsSpan(list25)[0] = 166u; - obj16.KillEnemyDataIds = list25; - reference17 = obj16; - ref QuestStep reference18 = ref span8[1]; - QuestStep obj17 = new QuestStep(EInteractionType.Interact, 1003943u, new Vector3(-335.1645f, -37.195824f, 242.20642f), 145) - { - StopDistance = 7f - }; - num3 = 6; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - Span span9 = CollectionsMarshal.AsSpan(list26); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj17.CompletionQuestVariablesFlags = list26; - reference18 = obj17; - ref QuestStep reference19 = ref span8[2]; - QuestStep obj18 = new QuestStep(EInteractionType.Interact, 1003944u, new Vector3(-335.71375f, -37.370598f, 245.31921f), 145) - { - StopDistance = 7f - }; - num3 = 6; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - Span span10 = CollectionsMarshal.AsSpan(list27); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj18.CompletionQuestVariablesFlags = list27; - reference19 = obj18; - ref QuestStep reference20 = ref span8[3]; - QuestStep obj19 = new QuestStep(EInteractionType.Interact, 1003942u, new Vector3(-341.81738f, -37.60504f, 243.42712f), 145) - { - StopDistance = 7f - }; - num3 = 6; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - Span span11 = CollectionsMarshal.AsSpan(list28); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj19.CompletionQuestVariablesFlags = list28; - reference20 = obj19; - obj15.Steps = list24; - reference16 = obj15; - ref QuestSequence reference21 = ref span7[2]; - QuestSequence obj20 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - Span span12 = CollectionsMarshal.AsSpan(list29); - span12[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-378.46735f, -38.009487f, 159.38092f), 145); - span12[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-379.3895f, -59.000004f, 147.99257f), 145) - { - DisableNavmesh = true - }; - span12[2] = new QuestStep(EInteractionType.CompleteQuest, 1003929u, new Vector3(-378.65265f, -55.75492f, 106.79785f), 145); - obj20.Steps = list29; - reference21 = obj20; - questRoot4.QuestSequence = list22; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(619); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - CollectionsMarshal.AsSpan(list30)[0] = "liza"; - questRoot5.Author = list30; - num = 5; - List list31 = new List(num); - CollectionsMarshal.SetCount(list31, num); - Span span13 = CollectionsMarshal.AsSpan(list31); - ref QuestSequence reference22 = ref span13[0]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003929u, new Vector3(-378.65265f, -55.75492f, 106.79785f), 145); - obj21.Steps = list32; - reference22 = obj21; - ref QuestSequence reference23 = ref span13[1]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Interact, 1003964u, new Vector3(-378.53058f, -59.3f, 164.23279f), 145); - obj22.Steps = list33; - reference23 = obj22; - ref QuestSequence reference24 = ref span13[2]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - Span span14 = CollectionsMarshal.AsSpan(list34); - ref QuestStep reference25 = ref span14[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1003967u, new Vector3(-392.87408f, -59f, 131.67004f), 145); - num3 = 6; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - Span span15 = CollectionsMarshal.AsSpan(list35); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list35; - reference25 = questStep3; - ref QuestStep reference26 = ref span14[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1003966u, new Vector3(-373.22046f, -56.798405f, 121.99585f), 145); - num3 = 6; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - Span span16 = CollectionsMarshal.AsSpan(list36); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list36; - reference26 = questStep4; - ref QuestStep reference27 = ref span14[2]; - QuestStep obj24 = new QuestStep(EInteractionType.Interact, 1003965u, new Vector3(-373.89185f, -55.898407f, 97.795044f), 145) - { - StopDistance = 7f - }; - num3 = 6; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - Span span17 = CollectionsMarshal.AsSpan(list37); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj24.CompletionQuestVariablesFlags = list37; - reference27 = obj24; - obj23.Steps = list34; - reference24 = obj23; - ref QuestSequence reference28 = ref span13[3]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.Interact, 1003964u, new Vector3(-378.53058f, -59.3f, 164.23279f), 145); - obj25.Steps = list38; - reference28 = obj25; - ref QuestSequence reference29 = ref span13[4]; - QuestSequence obj26 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003929u, new Vector3(-378.65265f, -55.75492f, 106.79785f), 145); - obj26.Steps = list39; - reference29 = obj26; - questRoot5.QuestSequence = list31; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(620); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - CollectionsMarshal.AsSpan(list40)[0] = "liza"; - questRoot6.Author = list40; - num = 7; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - Span span18 = CollectionsMarshal.AsSpan(list41); - ref QuestSequence reference30 = ref span18[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003929u, new Vector3(-378.65265f, -55.75492f, 106.79785f), 145); - obj27.Steps = list42; - reference30 = obj27; - ref QuestSequence reference31 = ref span18[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.Interact, 1005136u, new Vector3(-522.20953f, -17.077162f, 18.966919f), 145); - obj28.Steps = list43; - reference31 = obj28; - ref QuestSequence reference32 = ref span18[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.UseItem, 2001657u, new Vector3(-541.16125f, -5.2644043f, 46.097534f), 145) - { - ItemId = 2000517u - }; - obj29.Steps = list44; - reference32 = obj29; - ref QuestSequence reference33 = ref span18[3]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.Interact, 2001658u, new Vector3(-541.1918f, -5.1728516f, 46.036377f), 145); - obj30.Steps = list45; - reference33 = obj30; - ref QuestSequence reference34 = ref span18[4]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 1005136u, new Vector3(-522.20953f, -17.077162f, 18.966919f), 145); - obj31.Steps = list46; - reference34 = obj31; - ref QuestSequence reference35 = ref span18[5]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Interact, 1003969u, new Vector3(-504.9363f, -16.22f, -3.7080078f), 145); - obj32.Steps = list47; - reference35 = obj32; - ref QuestSequence reference36 = ref span18[6]; - QuestSequence obj33 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003929u, new Vector3(-378.65265f, -55.75492f, 106.79785f), 145); - obj33.Steps = list48; - reference36 = obj33; - questRoot6.QuestSequence = list41; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(621); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - CollectionsMarshal.AsSpan(list49)[0] = "liza"; - questRoot7.Author = list49; - num = 4; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - Span span19 = CollectionsMarshal.AsSpan(list50); - ref QuestSequence reference37 = ref span19[0]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003929u, new Vector3(-378.65265f, -55.75492f, 106.79785f), 145); - obj34.Steps = list51; - reference37 = obj34; - ref QuestSequence reference38 = ref span19[1]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.Interact, 1003976u, new Vector3(-549.0349f, 4.824463f, -266.77356f), 145); - obj35.Steps = list52; - reference38 = obj35; - ref QuestSequence reference39 = ref span19[2]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - Span span20 = CollectionsMarshal.AsSpan(list53); - ref QuestStep reference40 = ref span20[0]; - QuestStep obj37 = new QuestStep(EInteractionType.Combat, null, new Vector3(-421.59717f, -0.48849356f, -278.41507f), 145) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - Span span21 = CollectionsMarshal.AsSpan(list54); - span21[0] = 18u; - span21[1] = 19u; - obj37.KillEnemyDataIds = list54; - reference40 = obj37; - span20[1] = new QuestStep(EInteractionType.Interact, 1003975u, new Vector3(-418.57025f, -0.17093202f, -280.38452f), 145); - obj36.Steps = list53; - reference39 = obj36; - ref QuestSequence reference41 = ref span19[3]; - QuestSequence obj38 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003929u, new Vector3(-378.65265f, -55.75492f, 106.79785f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj38.Steps = list55; - reference41 = obj38; - questRoot7.QuestSequence = list50; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(622); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - CollectionsMarshal.AsSpan(list56)[0] = "liza"; - questRoot8.Author = list56; - num = 7; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - Span span22 = CollectionsMarshal.AsSpan(list57); - ref QuestSequence reference42 = ref span22[0]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003929u, new Vector3(-378.65265f, -55.75492f, 106.79785f), 145); - obj39.Steps = list58; - reference42 = obj39; - ref QuestSequence reference43 = ref span22[1]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.Interact, 1003977u, new Vector3(-200.27472f, -28.350327f, 324.75757f), 145); - obj40.Steps = list59; - reference43 = obj40; - ref QuestSequence reference44 = ref span22[2]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.Interact, 2001410u, new Vector3(-95.17059f, -27.023743f, 274.00623f), 145); - obj41.Steps = list60; - reference44 = obj41; - ref QuestSequence reference45 = ref span22[3]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.Interact, 1003977u, new Vector3(-200.27472f, -28.350327f, 324.75757f), 145); - obj42.Steps = list61; - reference45 = obj42; - ref QuestSequence reference46 = ref span22[4]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.Interact, 1004323u, new Vector3(-444.72424f, -55.558167f, 92.088135f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj43.Steps = list62; - reference46 = obj43; - ref QuestSequence reference47 = ref span22[5]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.Interact, 1003978u, new Vector3(-442.6795f, -55.694504f, 90.92847f), 145); - obj44.Steps = list63; - reference47 = obj44; - ref QuestSequence reference48 = ref span22[6]; - QuestSequence obj45 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003929u, new Vector3(-378.65265f, -55.75492f, 106.79785f), 145); - obj45.Steps = list64; - reference48 = obj45; - questRoot8.QuestSequence = list57; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(623); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - CollectionsMarshal.AsSpan(list65)[0] = "liza"; - questRoot9.Author = list65; - num = 2; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - Span span23 = CollectionsMarshal.AsSpan(list66); - ref QuestSequence reference49 = ref span23[0]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130); - obj46.Steps = list67; - reference49 = obj46; - ref QuestSequence reference50 = ref span23[1]; - QuestSequence obj47 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - Span span24 = CollectionsMarshal.AsSpan(list68); - span24[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 140) - { - Aetheryte = EAetheryteLocation.WesternThanalanHorizon, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahGateOfTheSultana - } - }; - span24[1] = new QuestStep(EInteractionType.CompleteQuest, 1002065u, new Vector3(60.9292f, 45.14234f, -205.005f), 140); - obj47.Steps = list68; - reference50 = obj47; - questRoot9.QuestSequence = list66; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(628); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - CollectionsMarshal.AsSpan(list69)[0] = "liza"; - questRoot10.Author = list69; - num = 2; - List list70 = new List(num); - CollectionsMarshal.SetCount(list70, num); - Span span25 = CollectionsMarshal.AsSpan(list70); - ref QuestSequence reference51 = ref span25[0]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002058u, new Vector3(59.616943f, 45.157562f, -215.89996f), 140); - obj48.Steps = list71; - reference51 = obj48; - ref QuestSequence reference52 = ref span25[1]; - QuestSequence obj49 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj49.Steps = list72; - reference52 = obj49; - questRoot10.QuestSequence = list70; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(638); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - CollectionsMarshal.AsSpan(list73)[0] = "liza"; - questRoot11.Author = list73; - num = 2; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - Span span26 = CollectionsMarshal.AsSpan(list74); - ref QuestSequence reference53 = ref span26[0]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001426u, new Vector3(123.33862f, 30.999996f, -384.9394f), 141); - obj50.Steps = list75; - reference53 = obj50; - ref QuestSequence reference54 = ref span26[1]; - QuestSequence obj51 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001426u, new Vector3(123.33862f, 30.999996f, -384.9394f), 141); - obj51.Steps = list76; - reference54 = obj51; - questRoot11.QuestSequence = list74; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(639); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - CollectionsMarshal.AsSpan(list77)[0] = "WigglyMuffin"; - questRoot12.Author = list77; - num = 2; - List list78 = new List(num); - CollectionsMarshal.SetCount(list78, num); - Span span27 = CollectionsMarshal.AsSpan(list78); - ref QuestSequence reference55 = ref span27[0]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001427u, new Vector3(102.89148f, 30.941309f, -377.95074f), 141) - { - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj52.Steps = list79; - reference55 = obj52; - ref QuestSequence reference56 = ref span27[1]; - QuestSequence obj53 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001427u, new Vector3(102.89148f, 30.941309f, -377.95074f), 141) - { - NextQuestId = new QuestId(640) - }; - obj53.Steps = list80; - reference56 = obj53; - questRoot12.QuestSequence = list78; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(640); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - CollectionsMarshal.AsSpan(list81)[0] = "WigglyMuffin"; - questRoot13.Author = list81; - num = 3; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - Span span28 = CollectionsMarshal.AsSpan(list82); - ref QuestSequence reference57 = ref span28[0]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001425u, new Vector3(115.12927f, 31.876099f, -392.2027f), 141) - { - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj54.Steps = list83; - reference57 = obj54; - ref QuestSequence reference58 = ref span28[1]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.WaitForManualProgress, null, null, 141) - { - Comment = "Meld materia before Mutamix" - }; - obj55.Steps = list84; - reference58 = obj55; - ref QuestSequence reference59 = ref span28[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001425u, new Vector3(115.12927f, 31.876099f, -392.2027f), 141); - obj56.Steps = list85; - reference59 = obj56; - questRoot13.QuestSequence = list82; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(641); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - CollectionsMarshal.AsSpan(list86)[0] = "liza"; - questRoot14.Author = list86; - num = 4; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - Span span29 = CollectionsMarshal.AsSpan(list87); - ref QuestSequence reference60 = ref span29[0]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.AcceptQuest, 1004002u, new Vector3(1.0527954f, 0.014807776f, -1.6633301f), 210); - obj57.Steps = list88; - reference60 = obj57; - ref QuestSequence reference61 = ref span29[1]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - Span span30 = CollectionsMarshal.AsSpan(list89); - span30[0] = new QuestStep(EInteractionType.Interact, 2001695u, new Vector3(0.0305846f, 0.92887f, 10.15652f), 210) - { - TargetTerritoryId = (ushort)131 - }; - span30[1] = new QuestStep(EInteractionType.Interact, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAlchemist, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj58.Steps = list89; - reference61 = obj58; - ref QuestSequence reference62 = ref span29[2]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.Interact, 1004093u, new Vector3(-25.162231f, 12.200003f, 110.795654f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahGoldsmith - } - }; - obj59.Steps = list90; - reference62 = obj59; - ref QuestSequence reference63 = ref span29[3]; - QuestSequence obj60 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGoldsmith, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj60.Steps = list91; - reference63 = obj60; - questRoot14.QuestSequence = list87; - AddQuest(questId14, questRoot14); - } - - private static void LoadQuests13() - { - QuestId questId = new QuestId(660); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 7; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1004621u, new Vector3(23.11737f, 6.9999914f, -86.533936f), 130); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - Span span2 = CollectionsMarshal.AsSpan(list5); - span2[0] = new QuestStep(EInteractionType.UnlockTaxiStand, 1003732u, new Vector3(63.645386f, 45.14341f, -193.59125f), 140) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahGateOfTheSultana - }, - TaxiStandId = (byte)11 - }; - span2[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 140) - { - Aetheryte = EAetheryteLocation.WesternThanalanHorizon - }; - span2[2] = new QuestStep(EInteractionType.Interact, 1002285u, new Vector3(326.46667f, 63f, -231.64728f), 140); - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Duty, null, null, 140) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 3u - } - }; - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1004621u, new Vector3(23.11737f, 6.9999914f, -86.533936f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - }, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj5.Steps = list7; - reference5 = obj5; - span[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference6 = ref span[6]; - QuestSequence obj6 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130); - obj6.Steps = list8; - reference6 = obj6; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(661); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - CollectionsMarshal.AsSpan(list9)[0] = "UcanPatates"; - questRoot2.Author = list9; - num = 3; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - Span span3 = CollectionsMarshal.AsSpan(list10); - ref QuestSequence reference7 = ref span3[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - ref QuestStep reference8 = ref CollectionsMarshal.AsSpan(list11)[0]; - QuestStep obj8 = new QuestStep(EInteractionType.AcceptQuest, 1001000u, new Vector3(-32.028687f, 41.499985f, 208.39233f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - int num3 = 2; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - Span span4 = CollectionsMarshal.AsSpan(list12); - span4[0] = 129; - span4[1] = 128; - skipAetheryteCondition.InTerritory = list12; - skipConditions.AetheryteShortcutIf = skipAetheryteCondition; - obj8.SkipConditions = skipConditions; - reference8 = obj8; - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference9 = ref span3[1]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - Span span5 = CollectionsMarshal.AsSpan(list13); - ref QuestStep reference10 = ref span5[0]; - QuestStep obj10 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(25.29642f, 44.499924f, 184.26752f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - CollectionsMarshal.AsSpan(list14)[0] = 135; - skipStepConditions.InTerritory = list14; - skipConditions2.StepIf = skipStepConditions; - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num3 = 2; - List list15 = new List(num3); - CollectionsMarshal.SetCount(list15, num3); - Span span6 = CollectionsMarshal.AsSpan(list15); - span6[0] = 129; - span6[1] = 128; - skipAetheryteCondition2.InTerritory = list15; - skipConditions2.AetheryteShortcutIf = skipAetheryteCondition2; - obj10.SkipConditions = skipConditions2; - reference10 = obj10; - ref QuestStep reference11 = ref span5[1]; - QuestStep obj11 = new QuestStep(EInteractionType.Combat, null, new Vector3(21.738638f, 61.836372f, 139.60422f), 135) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaTempestGate - }, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - ref ComplexCombatData reference12 = ref CollectionsMarshal.AsSpan(list16)[0]; - ComplexCombatData obj12 = new ComplexCombatData - { - DataId = 347u, - MinimumKillCount = 5u - }; - int num4 = 6; - List list17 = new List(num4); - CollectionsMarshal.SetCount(list17, num4); - Span span7 = CollectionsMarshal.AsSpan(list17); - span7[0] = new QuestWorkValue(null, (byte)5, EQuestWorkMode.Bitwise); - span7[1] = null; - span7[2] = null; - span7[3] = null; - span7[4] = null; - span7[5] = null; - obj12.CompletionQuestVariablesFlags = list17; - reference12 = obj12; - obj11.ComplexCombatData = list16; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition3 = new SkipAetheryteCondition(); - num3 = 1; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - CollectionsMarshal.AsSpan(list18)[0] = 135; - skipAetheryteCondition3.InTerritory = list18; - skipConditions3.AetheryteShortcutIf = skipAetheryteCondition3; - obj11.SkipConditions = skipConditions3; - num3 = 6; - List list19 = new List(num3); - CollectionsMarshal.SetCount(list19, num3); - Span span8 = CollectionsMarshal.AsSpan(list19); - span8[0] = new QuestWorkValue(null, (byte)5, EQuestWorkMode.Bitwise); - span8[1] = null; - span8[2] = null; - span8[3] = null; - span8[4] = null; - span8[5] = null; - obj11.CompletionQuestVariablesFlags = list19; - reference11 = obj11; - obj9.Steps = list13; - reference9 = obj9; - ref QuestSequence reference13 = ref span3[2]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - Span span9 = CollectionsMarshal.AsSpan(list20); - ref QuestStep reference14 = ref span9[0]; - QuestStep questStep = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-67.00804f, 75.84114f, 116.815384f), 135); - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - CollectionsMarshal.AsSpan(list21)[0] = 135; - skipStepConditions2.NotInTerritory = list21; - skipConditions4.StepIf = skipStepConditions2; - questStep.SkipConditions = skipConditions4; - reference14 = questStep; - ref QuestStep reference15 = ref span9[1]; - QuestStep obj14 = new QuestStep(EInteractionType.CompleteQuest, 1000972u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition4 = new SkipAetheryteCondition(); - num3 = 2; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - Span span10 = CollectionsMarshal.AsSpan(list22); - span10[0] = 129; - span10[1] = 128; - skipAetheryteCondition4.InTerritory = list22; - skipConditions5.AetheryteShortcutIf = skipAetheryteCondition4; - obj14.SkipConditions = skipConditions5; - reference15 = obj14; - obj13.Steps = list20; - reference13 = obj13; - questRoot2.QuestSequence = list10; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(671); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - CollectionsMarshal.AsSpan(list23)[0] = "liza"; - questRoot3.Author = list23; - num = 3; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - Span span11 = CollectionsMarshal.AsSpan(list24); - ref QuestSequence reference16 = ref span11[0]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003995u, new Vector3(75.33374f, 2.135708f, 316.33472f), 141); - obj15.Steps = list25; - reference16 = obj15; - ref QuestSequence reference17 = ref span11[1]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - Span span12 = CollectionsMarshal.AsSpan(list26); - ref QuestStep reference18 = ref span12[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1004601u, new Vector3(-62.424683f, 4.642519f, 261.28015f), 141); - num3 = 6; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - Span span13 = CollectionsMarshal.AsSpan(list27); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list27; - reference18 = questStep2; - ref QuestStep reference19 = ref span12[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1004600u, new Vector3(125.993774f, 14.462202f, 278.43127f), 141); - num3 = 6; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - Span span14 = CollectionsMarshal.AsSpan(list28); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list28; - reference19 = questStep3; - ref QuestStep reference20 = ref span12[2]; - QuestStep questStep4 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(117.63772f, 1.6851518f, 296.93826f), 141); - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - Span span15 = CollectionsMarshal.AsSpan(list29); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list29; - skipConditions6.StepIf = skipStepConditions3; - questStep4.SkipConditions = skipConditions6; - reference20 = questStep4; - ref QuestStep reference21 = ref span12[3]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1004599u, new Vector3(89.86035f, 4.6361504f, 425.40625f), 141); - num3 = 6; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - Span span16 = CollectionsMarshal.AsSpan(list30); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list30; - reference21 = questStep5; - obj16.Steps = list26; - reference17 = obj16; - ref QuestSequence reference22 = ref span11[2]; - QuestSequence obj17 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003995u, new Vector3(75.33374f, 2.135708f, 316.33472f), 141); - obj17.Steps = list31; - reference22 = obj17; - questRoot3.QuestSequence = list24; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(673); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list32 = new List(num); - CollectionsMarshal.SetCount(list32, num); - CollectionsMarshal.AsSpan(list32)[0] = "liza"; - questRoot4.Author = list32; - num = 2; - List list33 = new List(num); - CollectionsMarshal.SetCount(list33, num); - Span span17 = CollectionsMarshal.AsSpan(list33); - ref QuestSequence reference23 = ref span17[0]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002829u, new Vector3(-157.03064f, 4.0492578f, -2.7314453f), 133) - { - StopDistance = 5f - }; - obj18.Steps = list34; - reference23 = obj18; - ref QuestSequence reference24 = ref span17[1]; - QuestSequence obj19 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000972u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj19.Steps = list35; - reference24 = obj19; - questRoot4.QuestSequence = list33; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(674); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - CollectionsMarshal.AsSpan(list36)[0] = "liza"; - questRoot5.Author = list36; - num = 2; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - Span span18 = CollectionsMarshal.AsSpan(list37); - ref QuestSequence reference25 = ref span18[0]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001821u, new Vector3(-24.124573f, 38.000004f, 85.31323f), 131); - obj20.Steps = list38; - reference25 = obj20; - ref QuestSequence reference26 = ref span18[1]; - QuestSequence obj21 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 13; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - Span span19 = CollectionsMarshal.AsSpan(list39); - span19[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahAlchemist - }; - span19[1] = new QuestStep(EInteractionType.Jump, null, new Vector3(5.7796226f, 30f, -21.571625f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAlchemist, - To = EAetheryteLocation.UldahChamberOfRule - }, - JumpDestination = new JumpDestination - { - Position = new Vector3(3.6504946f, 14.688499f, -13.443354f), - StopDistance = 5f - } - }; - span19[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahGladiator - }; - span19[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahGoldsmith - }; - span19[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahMiner - }; - span19[5] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahWeaver - }; - span19[6] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 131) - { - AethernetShard = EAetheryteLocation.UldahSapphireAvenue - }; - span19[7] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(88.335236f, 4f, -110.905876f), 131) - { - TargetTerritoryId = (ushort)130 - }; - span19[8] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 130) - { - AethernetShard = EAetheryteLocation.UldahAdventurers - }; - span19[9] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 130) - { - Aetheryte = EAetheryteLocation.Uldah - }; - span19[10] = new QuestStep(EInteractionType.RegisterFreeOrFavoredAetheryte, null, null, 130) - { - Aetheryte = EAetheryteLocation.Uldah - }; - span19[11] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 130) - { - AethernetShard = EAetheryteLocation.UldahThaumaturge - }; - span19[12] = new QuestStep(EInteractionType.CompleteQuest, 1000972u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj21.Steps = list39; - reference26 = obj21; - questRoot5.QuestSequence = list37; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(676); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - CollectionsMarshal.AsSpan(list40)[0] = "liza"; - questRoot6.Author = list40; - num = 2; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - Span span20 = CollectionsMarshal.AsSpan(list41); - ref QuestSequence reference27 = ref span20[0]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000972u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 128); - obj22.Steps = list42; - reference27 = obj22; - ref QuestSequence reference28 = ref span20[1]; - QuestSequence obj23 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - Span span21 = CollectionsMarshal.AsSpan(list43); - ref QuestStep reference29 = ref span21[0]; - QuestStep obj24 = new QuestStep(EInteractionType.Interact, 1003597u, new Vector3(8.194031f, 39.999973f, 17.746216f), 128) - { - TargetTerritoryId = (ushort)128 - }; - num3 = 1; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - CollectionsMarshal.AsSpan(list44)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Warp", - Answer = new ExcelRef(131092u) - }; - obj24.DialogueChoices = list44; - reference29 = obj24; - ref QuestStep reference30 = ref span21[1]; - QuestStep obj25 = new QuestStep(EInteractionType.Interact, 1002695u, new Vector3(-25.92511f, 91.999954f, -3.6774292f), 128) - { - TargetTerritoryId = (ushort)132 - }; - num3 = 1; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - CollectionsMarshal.AsSpan(list45)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Warp", - Answer = new ExcelRef(131106u) - }; - obj25.DialogueChoices = list45; - reference30 = obj25; - span21[2] = new QuestStep(EInteractionType.CompleteQuest, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132); - obj23.Steps = list43; - reference28 = obj23; - questRoot6.QuestSequence = list41; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(677); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - CollectionsMarshal.AsSpan(list46)[0] = "liza"; - questRoot7.Author = list46; - num = 4; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - Span span22 = CollectionsMarshal.AsSpan(list47); - ref QuestSequence reference31 = ref span22[0]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132); - obj26.Steps = list48; - reference31 = obj26; - ref QuestSequence reference32 = ref span22[1]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - Span span23 = CollectionsMarshal.AsSpan(list49); - span23[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 148) - { - Aetheryte = EAetheryteLocation.CentralShroudBentbranchMeadows, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaBlueBadgerGate - } - }; - span23[1] = new QuestStep(EInteractionType.UnlockTaxiStand, 1002980u, new Vector3(22.934265f, -8f, 84.97742f), 148) - { - TaxiStandId = (byte)9 - }; - span23[2] = new QuestStep(EInteractionType.Interact, 1004612u, new Vector3(-114.94629f, -39.702168f, 335.46948f), 148); - obj27.Steps = list49; - reference32 = obj27; - ref QuestSequence reference33 = ref span22[2]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.Duty, null, null, 148) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 2u - } - }; - obj28.Steps = list50; - reference33 = obj28; - ref QuestSequence reference34 = ref span22[3]; - QuestSequence obj29 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj29.Steps = list51; - reference34 = obj29; - questRoot7.QuestSequence = list47; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(678); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - CollectionsMarshal.AsSpan(list52)[0] = "liza"; - questRoot8.Author = list52; - num = 2; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - Span span24 = CollectionsMarshal.AsSpan(list53); - ref QuestSequence reference35 = ref span24[0]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132); - obj30.Steps = list54; - reference35 = obj30; - ref QuestSequence reference36 = ref span24[1]; - QuestSequence obj31 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj31.Steps = list55; - reference36 = obj31; - questRoot8.QuestSequence = list53; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(680); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - CollectionsMarshal.AsSpan(list56)[0] = "liza"; - questRoot9.Author = list56; - num = 4; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - Span span25 = CollectionsMarshal.AsSpan(list57); - ref QuestSequence reference37 = ref span25[0]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - ref QuestStep reference38 = ref CollectionsMarshal.AsSpan(list58)[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.AcceptQuest, 1004884u, new Vector3(38.895264f, 1.2000012f, 3.463745f), 212); - num3 = 1; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - CollectionsMarshal.AsSpan(list59)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANFST302_00680_Q1_000_1") - }; - questStep6.DialogueChoices = list59; - reference38 = questStep6; - obj32.Steps = list58; - reference37 = obj32; - ref QuestSequence reference39 = ref span25[1]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - ref QuestStep reference40 = ref CollectionsMarshal.AsSpan(list60)[0]; - QuestStep obj34 = new QuestStep(EInteractionType.Interact, 1002394u, new Vector3(-69.5354f, -0.50095016f, -9.99469f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - num3 = 1; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - CollectionsMarshal.AsSpan(list61)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_MANFST302_00680_Q2_000_1"), - Answer = new ExcelRef("TEXT_MANFST302_00680_A2_000_2") - }; - obj34.DialogueChoices = list61; - reference40 = obj34; - obj33.Steps = list60; - reference39 = obj33; - ref QuestSequence reference41 = ref span25[2]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - Span span26 = CollectionsMarshal.AsSpan(list62); - span26[0] = new QuestStep(EInteractionType.Interact, 1001263u, new Vector3(181.41443f, -2.3519497f, -240.40594f), 133) - { - TargetTerritoryId = (ushort)152, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.EastShroudHawthorneHut - } - } - }; - span26[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 152) - { - Aetheryte = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.EastShroudHawthorneHut - } - } - }; - span26[2] = new QuestStep(EInteractionType.SinglePlayerDuty, 1004886u, new Vector3(30.319702f, 8.422709f, 475.30322f), 152) - { - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj35.Steps = list62; - reference41 = obj35; - ref QuestSequence reference42 = ref span25[3]; - QuestSequence obj36 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002394u, new Vector3(-69.5354f, -0.50095016f, -9.99469f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj36.Steps = list63; - reference42 = obj36; - questRoot9.QuestSequence = list57; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(681); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - CollectionsMarshal.AsSpan(list64)[0] = "liza"; - questRoot10.Author = list64; - num = 4; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - Span span27 = CollectionsMarshal.AsSpan(list65); - ref QuestSequence reference43 = ref span27[0]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - ref QuestStep reference44 = ref CollectionsMarshal.AsSpan(list66)[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.AcceptQuest, 1004885u, new Vector3(36.453735f, 1.2000011f, 4.6845093f), 212); - num3 = 1; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - CollectionsMarshal.AsSpan(list67)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANSEA302_00681_Q1_000_1") - }; - questStep7.DialogueChoices = list67; - reference44 = questStep7; - obj37.Steps = list66; - reference43 = obj37; - ref QuestSequence reference45 = ref span27[1]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - ref QuestStep reference46 = ref CollectionsMarshal.AsSpan(list68)[0]; - QuestStep obj39 = new QuestStep(EInteractionType.Interact, 1002388u, new Vector3(95.68933f, 40.250286f, 74.54028f), 128) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - num3 = 1; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - CollectionsMarshal.AsSpan(list69)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_MANSEA302_00681_Q2_000_1"), - Answer = new ExcelRef("TEXT_MANSEA302_00681_A2_000_2") - }; - obj39.DialogueChoices = list69; - reference46 = obj39; - obj38.Steps = list68; - reference45 = obj38; - ref QuestSequence reference47 = ref span27[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1004888u, new Vector3(389.2423f, 78.360275f, -349.05017f), 135) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.LimsaTempestGate - }, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj40.Steps = list70; - reference47 = obj40; - ref QuestSequence reference48 = ref span27[3]; - QuestSequence obj41 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002388u, new Vector3(95.68933f, 40.250286f, 74.54028f), 128) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj41.Steps = list71; - reference48 = obj41; - questRoot10.QuestSequence = list65; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(682); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - CollectionsMarshal.AsSpan(list72)[0] = "JerryWester"; - questRoot11.Author = list72; - num = 4; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - Span span28 = CollectionsMarshal.AsSpan(list73); - ref QuestSequence reference49 = ref span28[0]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - ref QuestStep reference50 = ref CollectionsMarshal.AsSpan(list74)[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.AcceptQuest, 1004883u, new Vector3(37.88806f, 1.2000012f, 4.135132f), 212); - num3 = 1; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - CollectionsMarshal.AsSpan(list75)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_MANWIL302_00682_Q1_000_1") - }; - questStep8.DialogueChoices = list75; - reference50 = questStep8; - obj42.Steps = list74; - reference49 = obj42; - ref QuestSequence reference51 = ref span28[1]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - ref QuestStep reference52 = ref CollectionsMarshal.AsSpan(list76)[0]; - QuestStep obj44 = new QuestStep(EInteractionType.Interact, 1002391u, new Vector3(-144.39618f, 4.1f, -107.22516f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - num3 = 1; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - CollectionsMarshal.AsSpan(list77)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_MANWIL302_00682_Q2_000_1"), - Answer = new ExcelRef("TEXT_MANWIL302_00682_A2_000_2") - }; - obj44.DialogueChoices = list77; - reference52 = obj44; - obj43.Steps = list76; - reference51 = obj43; - ref QuestSequence reference53 = ref span28[2]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1004887u, new Vector3(160.7843f, 54.85158f, -45.609253f), 140) - { - AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj45.Steps = list78; - reference53 = obj45; - ref QuestSequence reference54 = ref span28[3]; - QuestSequence obj46 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002391u, new Vector3(-144.39618f, 4.1f, -107.22516f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - obj46.Steps = list79; - reference54 = obj46; - questRoot11.QuestSequence = list73; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(683); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - CollectionsMarshal.AsSpan(list80)[0] = "liza"; - questRoot12.Author = list80; - num = 2; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - Span span29 = CollectionsMarshal.AsSpan(list81); - ref QuestSequence reference55 = ref span29[0]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002394u, new Vector3(-69.5354f, -0.50095016f, -9.99469f), 132); - obj47.Steps = list82; - reference55 = obj47; - ref QuestSequence reference56 = ref span29[1]; - QuestSequence obj48 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - Span span30 = CollectionsMarshal.AsSpan(list83); - span30[0] = new QuestStep(EInteractionType.UseItem, null, null, 132) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span30[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span30[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span30[3] = new QuestStep(EInteractionType.CompleteQuest, 1005012u, new Vector3(22.507019f, 0.9999986f, -2.02948f), 212); - obj48.Steps = list83; - reference56 = obj48; - questRoot12.QuestSequence = list81; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(684); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - CollectionsMarshal.AsSpan(list84)[0] = "liza"; - questRoot13.Author = list84; - num = 2; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - Span span31 = CollectionsMarshal.AsSpan(list85); - ref QuestSequence reference57 = ref span31[0]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002388u, new Vector3(95.68933f, 40.250286f, 74.54028f), 128) - { - StopDistance = 5f - }; - obj49.Steps = list86; - reference57 = obj49; - ref QuestSequence reference58 = ref span31[1]; - QuestSequence obj50 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - Span span32 = CollectionsMarshal.AsSpan(list87); - span32[0] = new QuestStep(EInteractionType.UseItem, null, null, 145) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span32[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span32[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span32[3] = new QuestStep(EInteractionType.CompleteQuest, 1005012u, new Vector3(22.507019f, 0.9999986f, -2.02948f), 212); - obj50.Steps = list87; - reference58 = obj50; - questRoot13.QuestSequence = list85; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(685); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list88 = new List(num); - CollectionsMarshal.SetCount(list88, num); - CollectionsMarshal.AsSpan(list88)[0] = "JerryWester"; - questRoot14.Author = list88; - num = 2; - List list89 = new List(num); - CollectionsMarshal.SetCount(list89, num); - Span span33 = CollectionsMarshal.AsSpan(list89); - ref QuestSequence reference59 = ref span33[0]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002391u, new Vector3(-144.39618f, 4.1f, -107.22516f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj51.Steps = list90; - reference59 = obj51; - ref QuestSequence reference60 = ref span33[1]; - QuestSequence obj52 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - Span span34 = CollectionsMarshal.AsSpan(list91); - span34[0] = new QuestStep(EInteractionType.UseItem, null, null, 132) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span34[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span34[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span34[3] = new QuestStep(EInteractionType.CompleteQuest, 1005012u, new Vector3(22.507019f, 0.9999986f, -2.02948f), 212); - obj52.Steps = list91; - reference60 = obj52; - questRoot14.QuestSequence = list89; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(689); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - CollectionsMarshal.AsSpan(list92)[0] = "liza"; - questRoot15.Author = list92; - num = 2; - List list93 = new List(num); - CollectionsMarshal.SetCount(list93, num); - Span span35 = CollectionsMarshal.AsSpan(list93); - ref QuestSequence reference61 = ref span35[0]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002237u, new Vector3(167.55933f, 14.095915f, 683.92444f), 135); - obj53.Steps = list94; - reference61 = obj53; - ref QuestSequence reference62 = ref span35[1]; - QuestSequence obj54 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000972u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj54.Steps = list95; - reference62 = obj54; - questRoot15.QuestSequence = list93; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(690); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - CollectionsMarshal.AsSpan(list96)[0] = "liza"; - questRoot16.Author = list96; - num = 4; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - Span span36 = CollectionsMarshal.AsSpan(list97); - ref QuestSequence reference63 = ref span36[0]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003282u, new Vector3(-3.03656f, 48.168007f, -261.70752f), 128) - { - StopDistance = 7f - }; - obj55.Steps = list98; - reference63 = obj55; - ref QuestSequence reference64 = ref span36[1]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 1000972u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaMarauder, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj56.Steps = list99; - reference64 = obj56; - ref QuestSequence reference65 = ref span36[2]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - Span span37 = CollectionsMarshal.AsSpan(list100); - ref QuestStep reference66 = ref span37[0]; - QuestStep obj58 = new QuestStep(EInteractionType.Interact, 1003597u, new Vector3(8.194031f, 39.999973f, 17.746216f), 128) - { - TargetTerritoryId = (ushort)129 - }; - num3 = 1; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - CollectionsMarshal.AsSpan(list101)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Warp", - Answer = new ExcelRef(131094u) - }; - obj58.DialogueChoices = list101; - reference66 = obj58; - span37[1] = new QuestStep(EInteractionType.Interact, 1003355u, new Vector3(-60.868286f, 18.000334f, 7.4921875f), 129); - obj57.Steps = list100; - reference65 = obj57; - ref QuestSequence reference67 = ref span36[3]; - QuestSequence obj59 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - Span span38 = CollectionsMarshal.AsSpan(list102); - ref QuestStep reference68 = ref span38[0]; - QuestStep obj60 = new QuestStep(EInteractionType.Interact, 1003611u, new Vector3(9.781006f, 20.999247f, 15.0911255f), 129) - { - TargetTerritoryId = (ushort)128 - }; - num3 = 1; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - CollectionsMarshal.AsSpan(list103)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Warp", - Answer = new ExcelRef(131093u) - }; - obj60.DialogueChoices = list103; - reference68 = obj60; - span38[1] = new QuestStep(EInteractionType.CompleteQuest, 1000972u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 128); - obj59.Steps = list102; - reference67 = obj59; - questRoot16.QuestSequence = list97; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(693); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list104 = new List(num); - CollectionsMarshal.SetCount(list104, num); - CollectionsMarshal.AsSpan(list104)[0] = "Wigglez"; - questRoot17.Author = list104; - num = 4; - List list105 = new List(num); - CollectionsMarshal.SetCount(list105, num); - Span span39 = CollectionsMarshal.AsSpan(list105); - ref QuestSequence reference69 = ref span39[0]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000970u, new Vector3(-12.375122f, 40.00016f, -12.161499f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj61.Steps = list106; - reference69 = obj61; - ref QuestSequence reference70 = ref span39[1]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.Interact, 1001788u, new Vector3(669.1843f, 9.198655f, 512.9929f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaSwiftperch - }; - obj62.Steps = list107; - reference70 = obj62; - ref QuestSequence reference71 = ref span39[2]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - Span span40 = CollectionsMarshal.AsSpan(list108); - span40[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(621.8044f, 8.93761f, 478.7172f), 138); - ref QuestStep reference72 = ref span40[1]; - QuestStep obj64 = new QuestStep(EInteractionType.Combat, null, new Vector3(621.8044f, 8.93761f, 478.7172f), 138) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list109 = new List(num3); - CollectionsMarshal.SetCount(list109, num3); - CollectionsMarshal.AsSpan(list109)[0] = 325u; - obj64.KillEnemyDataIds = list109; - obj64.CombatDelaySecondsAtStart = 1f; - reference72 = obj64; - obj63.Steps = list108; - reference71 = obj63; - ref QuestSequence reference73 = ref span39[3]; - QuestSequence obj65 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001788u, new Vector3(669.1843f, 9.198655f, 512.9929f), 138); - obj65.Steps = list110; - reference73 = obj65; - questRoot17.QuestSequence = list105; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(696); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - CollectionsMarshal.AsSpan(list111)[0] = "Wigglez"; - questRoot18.Author = list111; - num = 3; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - Span span41 = CollectionsMarshal.AsSpan(list112); - ref QuestSequence reference74 = ref span41[0]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.AcceptQuest, 1004344u, new Vector3(450.2173f, 17.748493f, 470.29822f), 137) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj66.Steps = list113; - reference74 = obj66; - ref QuestSequence reference75 = ref span41[1]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(514.8553f, 9.702245f, 376.2111f), 137); - obj67.Steps = list114; - reference75 = obj67; - ref QuestSequence reference76 = ref span41[2]; - QuestSequence obj68 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.CompleteQuest, 1004344u, new Vector3(450.2173f, 17.748493f, 470.29822f), 137) - { - StopDistance = 5f - }; - obj68.Steps = list115; - reference76 = obj68; - questRoot18.QuestSequence = list112; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(697); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - CollectionsMarshal.AsSpan(list116)[0] = "JerryWester, Friendly"; - questRoot19.Author = list116; - num = 3; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - Span span42 = CollectionsMarshal.AsSpan(list117); - ref QuestSequence reference77 = ref span42[0]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - Span span43 = CollectionsMarshal.AsSpan(list118); - ref QuestStep reference78 = ref span43[0]; - QuestStep obj70 = new QuestStep(EInteractionType.UseItem, null, null, 128) - { - ItemId = 30362u - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 1; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - CollectionsMarshal.AsSpan(list119)[0] = 140; - skipStepConditions4.InTerritory = list119; - skipConditions7.StepIf = skipStepConditions4; - obj70.SkipConditions = skipConditions7; - reference78 = obj70; - span43[1] = new QuestStep(EInteractionType.AcceptQuest, 1005021u, new Vector3(-472.49567f, 23.008797f, -355.00116f), 140); - obj69.Steps = list118; - reference77 = obj69; - ref QuestSequence reference79 = ref span42[1]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(52.697464f, 44.999996f, -253.78111f), 140); - obj71.Steps = list120; - reference79 = obj71; - ref QuestSequence reference80 = ref span42[2]; - QuestSequence obj72 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - Span span44 = CollectionsMarshal.AsSpan(list121); - span44[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-404.08105f, -25.560223f, 378.66812f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - span44[1] = new QuestStep(EInteractionType.CompleteQuest, 1004582u, new Vector3(-331.13605f, -22.476562f, 434.86682f), 145); - obj72.Steps = list121; - reference80 = obj72; - questRoot19.QuestSequence = list117; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(698); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list122 = new List(num); - CollectionsMarshal.SetCount(list122, num); - CollectionsMarshal.AsSpan(list122)[0] = "plogon_enjoyer"; - questRoot20.Author = list122; - num = 5; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - Span span45 = CollectionsMarshal.AsSpan(list123); - ref QuestSequence reference81 = ref span45[0]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj73.Steps = list124; - reference81 = obj73; - ref QuestSequence reference82 = ref span45[1]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - Span span46 = CollectionsMarshal.AsSpan(list125); - span46[0] = new QuestStep(EInteractionType.Action, 2001798u, new Vector3(-107.9017f, 4.989685f, -105.4603f), 130) - { - Action = EAction.Bootshine - }; - span46[1] = new QuestStep(EInteractionType.Action, 2001799u, new Vector3(-105.6365f, 4.9655f, -107.5618f), 130) - { - Action = EAction.Bootshine - }; - span46[2] = new QuestStep(EInteractionType.Action, 2001800u, new Vector3(-77.62268f, 5.0201416f, -128.893f), 130) - { - Action = EAction.Bootshine - }; - span46[3] = new QuestStep(EInteractionType.Action, 2001801u, new Vector3(-74.60144f, 4.8981323f, -130.69354f), 130) - { - Action = EAction.Bootshine - }; - span46[4] = new QuestStep(EInteractionType.Action, 2001802u, new Vector3(-71.42755f, 5.0201416f, -132.34149f), 130) - { - Action = EAction.Bootshine - }; - obj74.Steps = list125; - reference82 = obj74; - ref QuestSequence reference83 = ref span45[2]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.Interact, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130); - obj75.Steps = list126; - reference83 = obj75; - ref QuestSequence reference84 = ref span45[3]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - ref QuestStep reference85 = ref CollectionsMarshal.AsSpan(list127)[0]; - QuestStep obj77 = new QuestStep(EInteractionType.Combat, null, new Vector3(-210.32118f, 21.582167f, -94.337494f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - CollectionsMarshal.AsSpan(list128)[0] = 771u; - obj77.KillEnemyDataIds = list128; - obj77.CombatDelaySecondsAtStart = 0f; - reference85 = obj77; - obj76.Steps = list127; - reference84 = obj76; - ref QuestSequence reference86 = ref span45[4]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - Span span47 = CollectionsMarshal.AsSpan(list129); - span47[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-118.55462f, 8.216448f, -82.81951f), 141); - span47[1] = new QuestStep(EInteractionType.CompleteQuest, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - NextQuestId = new QuestId(558) - }; - obj78.Steps = list129; - reference86 = obj78; - questRoot20.QuestSequence = list123; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(699); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list130 = new List(num); - CollectionsMarshal.SetCount(list130, num); - CollectionsMarshal.AsSpan(list130)[0] = "WigglyMuffin"; - questRoot21.Author = list130; - num = 2; - List list131 = new List(num); - CollectionsMarshal.SetCount(list131, num); - Span span48 = CollectionsMarshal.AsSpan(list131); - ref QuestSequence reference87 = ref span48[0]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.AcceptQuest, 1004990u, new Vector3(-441.6419f, 23.669865f, -358.9685f), 140) - { - AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj79.Steps = list132; - reference87 = obj79; - ref QuestSequence reference88 = ref span48[1]; - QuestSequence obj80 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - Span span49 = CollectionsMarshal.AsSpan(list133); - span49[0] = new QuestStep(EInteractionType.PurchaseItem, 1004038u, new Vector3(-466.42255f, 23.47034f, -379.87335f), 140) - { - Comment = "Buy Orange Juice", - ItemId = 4745u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - }, - PurchaseMenu = new PurchaseMenu - { - ExcelSheet = "GilShop", - Key = new ExcelRef(262807u) - } - }; - span49[1] = new QuestStep(EInteractionType.CompleteQuest, 1004990u, new Vector3(-441.6419f, 23.669865f, -358.9685f), 140); - obj80.Steps = list133; - reference88 = obj80; - questRoot21.QuestSequence = list131; - AddQuest(questId21, questRoot21); - } - - private static void LoadQuests14() - { - QuestId questId = new QuestId(700); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 4; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - span2[0] = new QuestStep(EInteractionType.Interact, 1002393u, new Vector3(-67.94849f, -0.5009766f, -10.818665f), 132) - { - StopDistance = 3f, - Comment = "Buy Serpent Chocobo Issuance", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Never = true - } - }, - GCPurchase = new GCPurchaseInfo - { - ItemId = 6018u, - CategoryTab = 1 - } - }; - span2[1] = new QuestStep(EInteractionType.Interact, 1000136u, new Vector3(32.303345f, -0.050583772f, 70.29822f), 132); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1006001u, new Vector3(35.38562f, -0.89902794f, 67.551636f), 132) - { - StopDistance = 7f - }; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000136u, new Vector3(32.303345f, -0.050583772f, 70.29822f), 132); - obj4.Steps = list6; - reference4 = obj4; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(701); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - CollectionsMarshal.AsSpan(list7)[0] = "liza"; - questRoot2.Author = list7; - num = 4; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span3 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference5 = ref span3[0]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003281u, new Vector3(97.520386f, 40.248554f, 81.1322f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference6 = ref span3[1]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span4 = CollectionsMarshal.AsSpan(list10); - span4[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(93.22066f, 40.275368f, 76.687836f), 128); - span4[1] = new QuestStep(EInteractionType.Interact, 1002387u, new Vector3(95.750244f, 40.250286f, 76.67651f), 128) - { - StopDistance = 3f, - Comment = "Buy Storm Chocobo Issuance", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Never = true - } - }, - GCPurchase = new GCPurchaseInfo - { - ItemId = 6017u, - CategoryTab = 1 - } - }; - ref QuestStep reference7 = ref span4[2]; - QuestStep obj7 = new QuestStep(EInteractionType.Interact, 1003597u, new Vector3(8.194031f, 39.999973f, 17.746216f), 128) - { - TargetTerritoryId = (ushort)129 - }; - int num3 = 1; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - CollectionsMarshal.AsSpan(list11)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Warp", - Answer = new ExcelRef(131094u) - }; - obj7.DialogueChoices = list11; - reference7 = obj7; - span4[3] = new QuestStep(EInteractionType.Interact, 1001027u, new Vector3(45.792236f, 20f, -8.1026f), 129); - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference8 = ref span3[2]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Interact, 1006002u, new Vector3(49.576538f, 20f, -5.722229f), 129) - { - StopDistance = 7f - }; - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference9 = ref span3[3]; - QuestSequence obj9 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001027u, new Vector3(45.792236f, 20f, -8.1026f), 129); - obj9.Steps = list13; - reference9 = obj9; - questRoot2.QuestSequence = list8; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(702); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - CollectionsMarshal.AsSpan(list14)[0] = "liza"; - questRoot3.Author = list14; - num = 4; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - Span span5 = CollectionsMarshal.AsSpan(list15); - ref QuestSequence reference10 = ref span5[0]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - Span span6 = CollectionsMarshal.AsSpan(list16); - span6[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-119.1183f, 3.7999938f, -104.33473f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - span6[1] = new QuestStep(EInteractionType.AcceptQuest, 1004576u, new Vector3(-141.64954f, 4.1f, -114.67157f), 130); - obj10.Steps = list16; - reference10 = obj10; - ref QuestSequence reference11 = ref span5[1]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - Span span7 = CollectionsMarshal.AsSpan(list17); - span7[0] = new QuestStep(EInteractionType.Interact, 1002390u, new Vector3(-143.45007f, 4.5499268f, -108.537415f), 130) - { - StopDistance = 3f, - Comment = "Buy Flame Chocobo Issuance", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Never = true - } - }, - GCPurchase = new GCPurchaseInfo - { - ItemId = 6019u, - CategoryTab = 1 - } - }; - span7[1] = new QuestStep(EInteractionType.Interact, 1001978u, new Vector3(55.344482f, 4.124078f, -143.9079f), 130); - obj11.Steps = list17; - reference11 = obj11; - ref QuestSequence reference12 = ref span5[2]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.Interact, 1006003u, new Vector3(51.621216f, 4f, -142.22937f), 130); - obj12.Steps = list18; - reference12 = obj12; - ref QuestSequence reference13 = ref span5[3]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001978u, new Vector3(55.344482f, 4.124078f, -143.9079f), 130); - obj13.Steps = list19; - reference13 = obj13; - questRoot3.QuestSequence = list15; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(705); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - CollectionsMarshal.AsSpan(list20)[0] = "liza"; - questRoot4.Author = list20; - num = 3; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - Span span8 = CollectionsMarshal.AsSpan(list21); - ref QuestSequence reference14 = ref span8[0]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005021u, new Vector3(-472.49567f, 23.008797f, -355.00116f), 140); - obj14.Steps = list22; - reference14 = obj14; - ref QuestSequence reference15 = ref span8[1]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - Span span9 = CollectionsMarshal.AsSpan(list23); - span9[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(26.405773f, 29.49983f, -767.3998f), 156) - { - Fly = true - }; - span9[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(25.629164f, 28.999998f, -823.2204f), 156); - span9[2] = new QuestStep(EInteractionType.Interact, 1001304u, new Vector3(25.589355f, 29f, -825.37573f), 156); - obj15.Steps = list23; - reference15 = obj15; - ref QuestSequence reference16 = ref span8[2]; - QuestSequence obj16 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003075u, new Vector3(440.7262f, -0.9374562f, -62.21112f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaYellowSerpentGate - } - }; - obj16.Steps = list24; - reference16 = obj16; - questRoot4.QuestSequence = list21; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(709); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - CollectionsMarshal.AsSpan(list25)[0] = "JerryWester"; - questRoot5.Author = list25; - num = 3; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - Span span10 = CollectionsMarshal.AsSpan(list26); - ref QuestSequence reference17 = ref span10[0]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000540u, new Vector3(-238.17816f, 3.543561f, 283.71094f), 152) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj17.Steps = list27; - reference17 = obj17; - ref QuestSequence reference18 = ref span10[1]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - Span span11 = CollectionsMarshal.AsSpan(list28); - ref QuestStep reference19 = ref span11[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1000615u, new Vector3(-246.44855f, 3.5452707f, 279.92664f), 152); - num3 = 6; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - Span span12 = CollectionsMarshal.AsSpan(list29); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list29; - reference19 = questStep; - ref QuestStep reference20 = ref span11[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1000557u, new Vector3(-206.0426f, 2.663525f, 303.94446f), 152); - num3 = 6; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - Span span13 = CollectionsMarshal.AsSpan(list30); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list30; - reference20 = questStep2; - ref QuestStep reference21 = ref span11[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1000553u, new Vector3(-187.48767f, 4.4436555f, 292.50012f), 152); - num3 = 6; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - Span span14 = CollectionsMarshal.AsSpan(list31); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list31; - reference21 = questStep3; - obj18.Steps = list28; - reference18 = obj18; - ref QuestSequence reference22 = ref span10[2]; - QuestSequence obj19 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000540u, new Vector3(-238.17816f, 3.543561f, 283.71094f), 152); - obj19.Steps = list32; - reference22 = obj19; - questRoot5.QuestSequence = list26; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(710); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list33 = new List(num); - CollectionsMarshal.SetCount(list33, num); - CollectionsMarshal.AsSpan(list33)[0] = "JerryWester"; - questRoot6.Author = list33; - num = 4; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - Span span15 = CollectionsMarshal.AsSpan(list34); - ref QuestSequence reference23 = ref span15[0]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000540u, new Vector3(-238.17816f, 3.543561f, 283.71094f), 152) - { - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj20.Steps = list35; - reference23 = obj20; - ref QuestSequence reference24 = ref span15[1]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.Interact, 1000766u, new Vector3(-485.70996f, 9.170645f, 177.203f), 152); - obj21.Steps = list36; - reference24 = obj21; - ref QuestSequence reference25 = ref span15[2]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - ref QuestStep reference26 = ref CollectionsMarshal.AsSpan(list37)[0]; - QuestStep obj23 = new QuestStep(EInteractionType.Combat, 2001902u, new Vector3(-386.6789f, -0.015319824f, 192.46204f), 152) - { - ItemId = 2000571u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - CollectionsMarshal.AsSpan(list38)[0] = 33u; - obj23.KillEnemyDataIds = list38; - reference26 = obj23; - obj22.Steps = list37; - reference25 = obj22; - ref QuestSequence reference27 = ref span15[3]; - QuestSequence obj24 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000540u, new Vector3(-238.17816f, 3.543561f, 283.71094f), 152) - { - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - obj24.Steps = list39; - reference27 = obj24; - questRoot6.QuestSequence = list34; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(711); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - CollectionsMarshal.AsSpan(list40)[0] = "croizat"; - questRoot7.Author = list40; - num = 5; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - Span span16 = CollectionsMarshal.AsSpan(list41); - ref QuestSequence reference28 = ref span16[0]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000536u, new Vector3(-242.0539f, 3.5598407f, 287.4646f), 152); - obj25.Steps = list42; - reference28 = obj25; - ref QuestSequence reference29 = ref span16[1]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.Interact, 1000619u, new Vector3(-209.0639f, 22.813372f, 245.34973f), 152); - obj26.Steps = list43; - reference29 = obj26; - ref QuestSequence reference30 = ref span16[2]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - ref QuestStep reference31 = ref CollectionsMarshal.AsSpan(list44)[0]; - QuestStep obj28 = new QuestStep(EInteractionType.Combat, null, new Vector3(-171.7635f, 0.59028566f, 153.80334f), 152) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - CollectionsMarshal.AsSpan(list45)[0] = new ComplexCombatData - { - DataId = 38u, - MinimumKillCount = 6u - }; - obj28.ComplexCombatData = list45; - reference31 = obj28; - obj27.Steps = list44; - reference30 = obj27; - ref QuestSequence reference32 = ref span16[3]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 1000619u, new Vector3(-209.0639f, 22.813372f, 245.34973f), 152); - obj29.Steps = list46; - reference32 = obj29; - ref QuestSequence reference33 = ref span16[4]; - QuestSequence obj30 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000536u, new Vector3(-242.0539f, 3.5598407f, 287.4646f), 152); - obj30.Steps = list47; - reference33 = obj30; - questRoot7.QuestSequence = list41; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(712); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - CollectionsMarshal.AsSpan(list48)[0] = "croizat"; - questRoot8.Author = list48; - num = 3; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - Span span17 = CollectionsMarshal.AsSpan(list49); - ref QuestSequence reference34 = ref span17[0]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000615u, new Vector3(-246.44855f, 3.6067607f, 279.92664f), 152); - obj31.Steps = list50; - reference34 = obj31; - ref QuestSequence reference35 = ref span17[1]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - Span span18 = CollectionsMarshal.AsSpan(list51); - span18[0] = new QuestStep(EInteractionType.UseItem, 2000720u, new Vector3(-209.09442f, -4.654114f, 195.78845f), 152) - { - ItemId = 2000572u - }; - span18[1] = new QuestStep(EInteractionType.UseItem, 2000721u, new Vector3(-146.04419f, -5.2644043f, 199.23706f), 152) - { - ItemId = 2000572u - }; - span18[2] = new QuestStep(EInteractionType.UseItem, 2000722u, new Vector3(-173.32727f, 2.1820068f, 137.68213f), 152) - { - ItemId = 2000572u - }; - obj32.Steps = list51; - reference35 = obj32; - ref QuestSequence reference36 = ref span17[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000615u, new Vector3(-246.44855f, 3.6067607f, 279.92664f), 152); - obj33.Steps = list52; - reference36 = obj33; - questRoot8.QuestSequence = list49; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(715); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - CollectionsMarshal.AsSpan(list53)[0] = "JerryWester"; - questRoot9.Author = list53; - num = 5; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - Span span19 = CollectionsMarshal.AsSpan(list54); - ref QuestSequence reference37 = ref span19[0]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000540u, new Vector3(-238.17816f, 3.543561f, 283.71094f), 152) - { - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj34.Steps = list55; - reference37 = obj34; - ref QuestSequence reference38 = ref span19[1]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.Interact, 1006188u, new Vector3(-236.92688f, 3.5435789f, 283.4973f), 152); - obj35.Steps = list56; - reference38 = obj35; - ref QuestSequence reference39 = ref span19[2]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.Interact, 1000580u, new Vector3(25.65039f, -3.7080078f, 209.97937f), 152); - obj36.Steps = list57; - reference39 = obj36; - ref QuestSequence reference40 = ref span19[3]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.Emote, 1000580u, new Vector3(25.65039f, -3.7080078f, 209.97937f), 152) - { - DelaySecondsAtStart = 1f, - Emote = EEmote.Dance - }; - obj37.Steps = list58; - reference40 = obj37; - ref QuestSequence reference41 = ref span19[4]; - QuestSequence obj38 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000580u, new Vector3(25.65039f, -3.7080078f, 209.97937f), 152); - obj38.Steps = list59; - reference41 = obj38; - questRoot9.QuestSequence = list54; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(716); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - CollectionsMarshal.AsSpan(list60)[0] = "croizat"; - questRoot10.Author = list60; - num = 4; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - Span span20 = CollectionsMarshal.AsSpan(list61); - ref QuestSequence reference42 = ref span20[0]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000557u, new Vector3(-206.0426f, 2.663524f, 303.94446f), 152); - obj39.Steps = list62; - reference42 = obj39; - ref QuestSequence reference43 = ref span20[1]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - Span span21 = CollectionsMarshal.AsSpan(list63); - span21[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-244.26903f, 11.990254f, 283.21274f), 152); - span21[1] = new QuestStep(EInteractionType.Interact, 2001911u, new Vector3(-245.65503f, 11.001709f, 280.8728f), 152); - span21[2] = new QuestStep(EInteractionType.Interact, 2001912u, new Vector3(-237.995f, 16.006714f, 289.96716f), 152); - span21[3] = new QuestStep(EInteractionType.Interact, 2001909u, new Vector3(-221.36267f, 16.006714f, 291.12683f), 152); - span21[4] = new QuestStep(EInteractionType.Interact, 2001910u, new Vector3(-230.30444f, 7.1869507f, 272.29712f), 152); - obj40.Steps = list63; - reference43 = obj40; - ref QuestSequence reference44 = ref span20[2]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - Span span22 = CollectionsMarshal.AsSpan(list64); - span22[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-224.41977f, 0.99999976f, 271.15808f), 152); - span22[1] = new QuestStep(EInteractionType.Interact, 1000557u, new Vector3(-206.0426f, 2.663524f, 303.94446f), 152); - obj41.Steps = list64; - reference44 = obj41; - ref QuestSequence reference45 = ref span20[3]; - QuestSequence obj42 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000587u, new Vector3(-7.248047f, -8.407776f, 268.23828f), 152); - obj42.Steps = list65; - reference45 = obj42; - questRoot10.QuestSequence = list61; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(719); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - CollectionsMarshal.AsSpan(list66)[0] = "JerryWester"; - questRoot11.Author = list66; - num = 5; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - Span span23 = CollectionsMarshal.AsSpan(list67); - ref QuestSequence reference46 = ref span23[0]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000580u, new Vector3(25.65039f, -3.7080078f, 209.97937f), 152) - { - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj43.Steps = list68; - reference46 = obj43; - ref QuestSequence reference47 = ref span23[1]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - Span span24 = CollectionsMarshal.AsSpan(list69); - ref QuestStep reference48 = ref span24[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1000585u, new Vector3(25.558838f, -5.7208977f, 241.62659f), 152); - num3 = 6; - List list70 = new List(num3); - CollectionsMarshal.SetCount(list70, num3); - Span span25 = CollectionsMarshal.AsSpan(list70); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list70; - reference48 = questStep4; - ref QuestStep reference49 = ref span24[1]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1000277u, new Vector3(102.76941f, 8.161999f, 187.94531f), 152); - num3 = 6; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - Span span26 = CollectionsMarshal.AsSpan(list71); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list71; - reference49 = questStep5; - ref QuestStep reference50 = ref span24[2]; - QuestStep obj45 = new QuestStep(EInteractionType.Interact, 1000553u, new Vector3(-187.48767f, 4.4436555f, 292.50012f), 152) - { - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - num3 = 6; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - Span span27 = CollectionsMarshal.AsSpan(list72); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj45.CompletionQuestVariablesFlags = list72; - reference50 = obj45; - ref QuestStep reference51 = ref span24[3]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1000545u, new Vector3(-242.72534f, 3.5598407f, 286.9154f), 152); - num3 = 6; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - Span span28 = CollectionsMarshal.AsSpan(list73); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list73; - reference51 = questStep6; - obj44.Steps = list69; - reference47 = obj44; - ref QuestSequence reference52 = ref span23[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.Interact, 1000580u, new Vector3(25.65039f, -3.7080078f, 209.97937f), 152); - obj46.Steps = list74; - reference52 = obj46; - ref QuestSequence reference53 = ref span23[3]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - Span span29 = CollectionsMarshal.AsSpan(list75); - ref QuestStep reference54 = ref span29[0]; - QuestStep obj48 = new QuestStep(EInteractionType.Combat, 2001918u, new Vector3(-100.93848f, -8.285706f, 261.40222f), 152) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 4; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - Span span30 = CollectionsMarshal.AsSpan(list76); - span30[0] = 1895u; - span30[1] = 1896u; - span30[2] = 1897u; - span30[3] = 1898u; - obj48.KillEnemyDataIds = list76; - num3 = 6; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - Span span31 = CollectionsMarshal.AsSpan(list77); - span31[0] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - span31[1] = null; - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = null; - obj48.CompletionQuestVariablesFlags = list77; - reference54 = obj48; - span29[1] = new QuestStep(EInteractionType.Interact, 2001918u, new Vector3(-100.93848f, -8.285706f, 261.40222f), 152); - obj47.Steps = list75; - reference53 = obj47; - ref QuestSequence reference55 = ref span23[4]; - QuestSequence obj49 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000580u, new Vector3(25.65039f, -3.7080078f, 209.97937f), 152); - obj49.Steps = list78; - reference55 = obj49; - questRoot11.QuestSequence = list67; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(720); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - CollectionsMarshal.AsSpan(list79)[0] = "croizat"; - questRoot12.Author = list79; - num = 4; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - Span span32 = CollectionsMarshal.AsSpan(list80); - ref QuestSequence reference56 = ref span32[0]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006190u, new Vector3(26.871094f, -3.6219776f, 209.64368f), 152); - obj50.Steps = list81; - reference56 = obj50; - ref QuestSequence reference57 = ref span32[1]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.Emote, 1006190u, new Vector3(26.871094f, -3.6219776f, 209.64368f), 152) - { - Emote = EEmote.Poke - }; - obj51.Steps = list82; - reference57 = obj51; - ref QuestSequence reference58 = ref span32[2]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.Emote, 1006190u, new Vector3(26.871094f, -3.6219776f, 209.64368f), 152) - { - Emote = EEmote.ExamineSelf - }; - obj52.Steps = list83; - reference58 = obj52; - ref QuestSequence reference59 = ref span32[3]; - QuestSequence obj53 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006190u, new Vector3(26.871094f, -3.6219776f, 209.64368f), 152) - { - Emote = EEmote.Congratulate - }; - obj53.Steps = list84; - reference59 = obj53; - questRoot12.QuestSequence = list80; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(722); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - CollectionsMarshal.AsSpan(list85)[0] = "croizat"; - questRoot13.Author = list85; - num = 3; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - Span span33 = CollectionsMarshal.AsSpan(list86); - ref QuestSequence reference60 = ref span33[0]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000563u, new Vector3(-3.768982f, -5.8594565f, 217.2732f), 152); - obj54.Steps = list87; - reference60 = obj54; - ref QuestSequence reference61 = ref span33[1]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - Span span34 = CollectionsMarshal.AsSpan(list88); - ref QuestStep reference62 = ref span34[0]; - QuestStep obj56 = new QuestStep(EInteractionType.Combat, 2001921u, new Vector3(-76.58508f, -1.6327515f, 191.51587f), 152) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list89 = new List(num3); - CollectionsMarshal.SetCount(list89, num3); - CollectionsMarshal.AsSpan(list89)[0] = new ComplexCombatData - { - DataId = 1886u, - MinimumKillCount = 1u - }; - obj56.ComplexCombatData = list89; - reference62 = obj56; - ref QuestStep reference63 = ref span34[1]; - QuestStep obj57 = new QuestStep(EInteractionType.Combat, 2001920u, new Vector3(-54.673157f, -1.083435f, 328.14514f), 152) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - CollectionsMarshal.AsSpan(list90)[0] = new ComplexCombatData - { - DataId = 15u, - MinimumKillCount = 2u - }; - obj57.ComplexCombatData = list90; - reference63 = obj57; - obj55.Steps = list88; - reference61 = obj55; - ref QuestSequence reference64 = ref span33[2]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000563u, new Vector3(-3.768982f, -5.8594565f, 217.2732f), 152) - { - NextQuestId = new QuestId(723) - }; - obj58.Steps = list91; - reference64 = obj58; - questRoot13.QuestSequence = list86; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(723); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - CollectionsMarshal.AsSpan(list92)[0] = "croizat"; - questRoot14.Author = list92; - num = 3; - List list93 = new List(num); - CollectionsMarshal.SetCount(list93, num); - Span span35 = CollectionsMarshal.AsSpan(list93); - ref QuestSequence reference65 = ref span35[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000563u, new Vector3(-3.768982f, -5.8594565f, 217.2732f), 152); - obj59.Steps = list94; - reference65 = obj59; - ref QuestSequence reference66 = ref span35[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - Span span36 = CollectionsMarshal.AsSpan(list95); - span36[0] = new QuestStep(EInteractionType.Interact, 2001923u, new Vector3(-223.28534f, 1.9683228f, 129.28967f), 152); - span36[1] = new QuestStep(EInteractionType.Interact, 2001922u, new Vector3(-244.28174f, 2.8533936f, 128.52673f), 152); - span36[2] = new QuestStep(EInteractionType.Interact, 2001924u, new Vector3(-194.3847f, 11.062683f, 76.920654f), 152); - obj60.Steps = list95; - reference66 = obj60; - ref QuestSequence reference67 = ref span35[2]; - QuestSequence obj61 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000563u, new Vector3(-3.768982f, -5.8594565f, 217.2732f), 152); - obj61.Steps = list96; - reference67 = obj61; - questRoot14.QuestSequence = list93; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(724); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - CollectionsMarshal.AsSpan(list97)[0] = "JerryWester"; - questRoot15.Author = list97; - num = 5; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - Span span37 = CollectionsMarshal.AsSpan(list98); - ref QuestSequence reference68 = ref span37[0]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000580u, new Vector3(25.65039f, -3.7080078f, 209.97937f), 152) - { - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj62.Steps = list99; - reference68 = obj62; - ref QuestSequence reference69 = ref span37[1]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.Interact, 1002937u, new Vector3(-72.22095f, -2.5420866f, 187.85376f), 152); - obj63.Steps = list100; - reference69 = obj63; - ref QuestSequence reference70 = ref span37[2]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.Interact, 1000580u, new Vector3(25.65039f, -3.7080078f, 209.97937f), 152); - obj64.Steps = list101; - reference70 = obj64; - ref QuestSequence reference71 = ref span37[3]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1002998u, new Vector3(-283.92462f, 12.245282f, -39.383606f), 152) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj65.Steps = list102; - reference71 = obj65; - ref QuestSequence reference72 = ref span37[4]; - QuestSequence obj66 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000580u, new Vector3(25.65039f, -3.7080078f, 209.97937f), 152); - obj66.Steps = list103; - reference72 = obj66; - questRoot15.QuestSequence = list98; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(725); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list104 = new List(num); - CollectionsMarshal.SetCount(list104, num); - CollectionsMarshal.AsSpan(list104)[0] = "JerryWester"; - questRoot16.Author = list104; - num = 4; - List list105 = new List(num); - CollectionsMarshal.SetCount(list105, num); - Span span38 = CollectionsMarshal.AsSpan(list105); - ref QuestSequence reference73 = ref span38[0]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000580u, new Vector3(25.65039f, -3.7080078f, 209.97937f), 152) - { - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj67.Steps = list106; - reference73 = obj67; - ref QuestSequence reference74 = ref span38[1]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.Interact, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj68.Steps = list107; - reference74 = obj68; - ref QuestSequence reference75 = ref span38[2]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.Interact, 1000734u, new Vector3(-2.5482788f, -1.2191527f, 39.96338f), 148) - { - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows - }; - obj69.Steps = list108; - reference75 = obj69; - ref QuestSequence reference76 = ref span38[3]; - QuestSequence obj70 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - Span span39 = CollectionsMarshal.AsSpan(list109); - span39[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(164.6276f, -23.814985f, 551.0861f), 148) - { - TargetTerritoryId = (ushort)153 - }; - span39[1] = new QuestStep(EInteractionType.CompleteQuest, 1000590u, new Vector3(-165.9419f, 9.869227f, -81.34589f), 153); - obj70.Steps = list109; - reference76 = obj70; - questRoot16.QuestSequence = list105; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(727); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - CollectionsMarshal.AsSpan(list110)[0] = "croizat"; - questRoot17.Author = list110; - num = 3; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - Span span40 = CollectionsMarshal.AsSpan(list111); - ref QuestSequence reference77 = ref span40[0]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000594u, new Vector3(-167.92554f, 9.869228f, -76.70715f), 153); - obj71.Steps = list112; - reference77 = obj71; - ref QuestSequence reference78 = ref span40[1]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - ref QuestStep reference79 = ref CollectionsMarshal.AsSpan(list113)[0]; - QuestStep obj73 = new QuestStep(EInteractionType.Combat, 2187u, new Vector3(-151.47598f, 3.7521288f, 123.562065f), 153) - { - ItemId = 2000828u, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - CollectionsMarshal.AsSpan(list114)[0] = new ComplexCombatData - { - DataId = 2187u, - MinimumKillCount = 1u - }; - obj73.ComplexCombatData = list114; - obj73.CombatItemUse = new CombatItemUse - { - ItemId = 2000828u, - Condition = ECombatItemUseCondition.MissingStatus, - Value = 22 - }; - reference79 = obj73; - obj72.Steps = list113; - reference78 = obj72; - ref QuestSequence reference80 = ref span40[2]; - QuestSequence obj74 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000594u, new Vector3(-167.92554f, 9.869228f, -76.70715f), 153) - { - NextQuestId = new QuestId(728) - }; - obj74.Steps = list115; - reference80 = obj74; - questRoot17.QuestSequence = list111; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(728); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - CollectionsMarshal.AsSpan(list116)[0] = "croizat"; - questRoot18.Author = list116; - num = 6; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - Span span41 = CollectionsMarshal.AsSpan(list117); - ref QuestSequence reference81 = ref span41[0]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000594u, new Vector3(-167.92554f, 9.869228f, -76.70715f), 153); - obj75.Steps = list118; - reference81 = obj75; - ref QuestSequence reference82 = ref span41[1]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - Span span42 = CollectionsMarshal.AsSpan(list119); - ref QuestStep reference83 = ref span42[0]; - QuestStep obj77 = new QuestStep(EInteractionType.Combat, null, new Vector3(-167.31592f, 5.486305f, 15.132226f), 153) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list120 = new List(num3); - CollectionsMarshal.SetCount(list120, num3); - CollectionsMarshal.AsSpan(list120)[0] = new ComplexCombatData - { - DataId = 3u, - MinimumKillCount = 4u, - RewardItemId = 2000582u, - RewardItemCount = 4 - }; - obj77.ComplexCombatData = list120; - num3 = 6; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - Span span43 = CollectionsMarshal.AsSpan(list121); - span43[0] = null; - span43[1] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = null; - obj77.CompletionQuestVariablesFlags = list121; - reference83 = obj77; - ref QuestStep reference84 = ref span42[1]; - QuestStep obj78 = new QuestStep(EInteractionType.Combat, null, new Vector3(-119.055f, 4.8576365f, -28.191822f), 153) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list122 = new List(num3); - CollectionsMarshal.SetCount(list122, num3); - CollectionsMarshal.AsSpan(list122)[0] = new ComplexCombatData - { - DataId = 23u, - MinimumKillCount = 2u, - RewardItemId = 2000583u, - RewardItemCount = 2 - }; - obj78.ComplexCombatData = list122; - num3 = 6; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - Span span44 = CollectionsMarshal.AsSpan(list123); - span44[0] = null; - span44[1] = null; - span44[2] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span44[3] = null; - span44[4] = null; - span44[5] = null; - obj78.CompletionQuestVariablesFlags = list123; - reference84 = obj78; - obj76.Steps = list119; - reference82 = obj76; - ref QuestSequence reference85 = ref span41[2]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.Interact, 2002258u, new Vector3(42.923584f, 4.2266846f, 48.05066f), 153); - obj79.Steps = list124; - reference85 = obj79; - ref QuestSequence reference86 = ref span41[3]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.Interact, 2002258u, new Vector3(42.923584f, 4.2266846f, 48.05066f), 153); - obj80.Steps = list125; - reference86 = obj80; - ref QuestSequence reference87 = ref span41[4]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.Emote, 2002258u, new Vector3(42.923584f, 4.2266846f, 48.05066f), 153) - { - Emote = EEmote.Kneel - }; - obj81.Steps = list126; - reference87 = obj81; - ref QuestSequence reference88 = ref span41[5]; - QuestSequence obj82 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000594u, new Vector3(-167.92554f, 9.869228f, -76.70715f), 153); - obj82.Steps = list127; - reference88 = obj82; - questRoot18.QuestSequence = list117; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(729); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - CollectionsMarshal.AsSpan(list128)[0] = "liza"; - questRoot19.Author = list128; - num = 3; - List list129 = new List(num); - CollectionsMarshal.SetCount(list129, num); - Span span45 = CollectionsMarshal.AsSpan(list129); - ref QuestSequence reference89 = ref span45[0]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000598u, new Vector3(-170.82477f, 9.964111f, -84.153564f), 153); - obj83.Steps = list130; - reference89 = obj83; - ref QuestSequence reference90 = ref span45[1]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - ref QuestStep reference91 = ref CollectionsMarshal.AsSpan(list131)[0]; - QuestStep obj85 = new QuestStep(EInteractionType.Combat, null, new Vector3(-108.26998f, 2.4296746f, -35.70589f), 153) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - CollectionsMarshal.AsSpan(list132)[0] = 302u; - obj85.KillEnemyDataIds = list132; - reference91 = obj85; - obj84.Steps = list131; - reference90 = obj84; - ref QuestSequence reference92 = ref span45[2]; - QuestSequence obj86 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000598u, new Vector3(-170.82477f, 9.964111f, -84.153564f), 153); - obj86.Steps = list133; - reference92 = obj86; - questRoot19.QuestSequence = list129; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(731); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list134 = new List(num); - CollectionsMarshal.SetCount(list134, num); - CollectionsMarshal.AsSpan(list134)[0] = "croizat"; - questRoot20.Author = list134; - num = 3; - List list135 = new List(num); - CollectionsMarshal.SetCount(list135, num); - Span span46 = CollectionsMarshal.AsSpan(list135); - ref QuestSequence reference93 = ref span46[0]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000439u, new Vector3(-211.59686f, 6.8409586f, 39.78015f), 153); - obj87.Steps = list136; - reference93 = obj87; - ref QuestSequence reference94 = ref span46[1]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 1 - }; - num2 = 8; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - Span span47 = CollectionsMarshal.AsSpan(list137); - span47[0] = new QuestStep(EInteractionType.Interact, 2001184u, new Vector3(-228.62598f, 13.809326f, 66.57507f), 153); - span47[1] = new QuestStep(EInteractionType.Interact, 2000728u, new Vector3(-240.4364f, 11.093262f, 52.231567f), 153); - span47[2] = new QuestStep(EInteractionType.Interact, 2000729u, new Vector3(-261.67694f, 16.403442f, 49.851196f), 153); - span47[3] = new QuestStep(EInteractionType.Interact, 2001185u, new Vector3(-251.39246f, 14.145081f, 32.242188f), 153); - span47[4] = new QuestStep(EInteractionType.Interact, 2001186u, new Vector3(-238.48328f, 15.823547f, 17.257874f), 153); - span47[5] = new QuestStep(EInteractionType.Interact, 2000727u, new Vector3(-226.48969f, 10.60498f, 16.67804f), 153); - span47[6] = new QuestStep(EInteractionType.Interact, 2001187u, new Vector3(-213.8247f, 9.170593f, 19.607788f), 153); - span47[7] = new QuestStep(EInteractionType.Interact, 2001188u, new Vector3(-198.68774f, 6.9733276f, 32.60852f), 153); - obj88.Steps = list137; - reference94 = obj88; - ref QuestSequence reference95 = ref span46[2]; - QuestSequence obj89 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000439u, new Vector3(-211.59686f, 6.8409586f, 39.78015f), 153); - obj89.Steps = list138; - reference95 = obj89; - questRoot20.QuestSequence = list135; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(732); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - CollectionsMarshal.AsSpan(list139)[0] = "croizat"; - questRoot21.Author = list139; - num = 3; - List list140 = new List(num); - CollectionsMarshal.SetCount(list140, num); - Span span48 = CollectionsMarshal.AsSpan(list140); - ref QuestSequence reference96 = ref span48[0]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000598u, new Vector3(-170.82477f, 9.964111f, -84.153564f), 153); - obj90.Steps = list141; - reference96 = obj90; - ref QuestSequence reference97 = ref span48[1]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - Span span49 = CollectionsMarshal.AsSpan(list142); - span49[0] = new QuestStep(EInteractionType.UseItem, null, new Vector3(-294.13345f, 25.02198f, -193.98381f), 153) - { - ItemId = 2000586u, - GroundTarget = true - }; - span49[1] = new QuestStep(EInteractionType.UseItem, null, new Vector3(-287.41803f, 24.902437f, -193.99835f), 153) - { - ItemId = 2000586u, - GroundTarget = true - }; - span49[2] = new QuestStep(EInteractionType.UseItem, null, new Vector3(-294.52402f, 24.293709f, -207.5345f), 153) - { - ItemId = 2000586u, - GroundTarget = true - }; - obj91.Steps = list142; - reference97 = obj91; - ref QuestSequence reference98 = ref span48[2]; - QuestSequence obj92 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000598u, new Vector3(-170.82477f, 9.964111f, -84.153564f), 153); - obj92.Steps = list143; - reference98 = obj92; - questRoot21.QuestSequence = list140; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(737); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list144 = new List(num); - CollectionsMarshal.SetCount(list144, num); - CollectionsMarshal.AsSpan(list144)[0] = "JerryWester"; - questRoot22.Author = list144; - num = 2; - List list145 = new List(num); - CollectionsMarshal.SetCount(list145, num); - Span span50 = CollectionsMarshal.AsSpan(list145); - ref QuestSequence reference99 = ref span50[0]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006193u, new Vector3(-334.0658f, -0.81366825f, 148.91272f), 139); - obj93.Steps = list146; - reference99 = obj93; - ref QuestSequence reference100 = ref span50[1]; - QuestSequence obj94 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000590u, new Vector3(-165.9419f, 9.869227f, -81.34589f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill - }; - obj94.Steps = list147; - reference100 = obj94; - questRoot22.QuestSequence = list145; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(738); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list148 = new List(num); - CollectionsMarshal.SetCount(list148, num); - CollectionsMarshal.AsSpan(list148)[0] = "JerryWester"; - questRoot23.Author = list148; - num = 3; - List list149 = new List(num); - CollectionsMarshal.SetCount(list149, num); - Span span51 = CollectionsMarshal.AsSpan(list149); - ref QuestSequence reference101 = ref span51[0]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000590u, new Vector3(-165.9419f, 9.869227f, -81.34589f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj95.Steps = list150; - reference101 = obj95; - ref QuestSequence reference102 = ref span51[1]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 1 - }; - num2 = 10; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - Span span52 = CollectionsMarshal.AsSpan(list151); - ref QuestStep reference103 = ref span52[0]; - QuestStep obj97 = new QuestStep(EInteractionType.Interact, 2001949u, new Vector3(-142.77869f, 14.450195f, -130.11371f), 153) - { - Comment = "Enemy loses aggro by the next waypoint" - }; - num3 = 6; - List list152 = new List(num3); - CollectionsMarshal.SetCount(list152, num3); - Span span53 = CollectionsMarshal.AsSpan(list152); - span53[0] = null; - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj97.CompletionQuestVariablesFlags = list152; - reference103 = obj97; - ref QuestStep reference104 = ref span52[1]; - QuestStep obj98 = new QuestStep(EInteractionType.Jump, null, new Vector3(-108.2742f, 5.6416674f, -80.21974f), 153) - { - StopDistance = 0.25f, - JumpDestination = new JumpDestination - { - Position = new Vector3(-111.25065f, 8.312978f, -82.8167f), - DelaySeconds = 0.25f - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - Span span54 = CollectionsMarshal.AsSpan(list153); - span54[0] = null; - span54[1] = null; - span54[2] = null; - span54[3] = null; - span54[4] = null; - span54[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list153; - skipConditions.StepIf = skipStepConditions; - obj98.SkipConditions = skipConditions; - reference104 = obj98; - ref QuestStep reference105 = ref span52[2]; - QuestStep obj99 = new QuestStep(EInteractionType.Interact, 2001953u, new Vector3(-116.41113f, 11.032227f, -84.97754f), 153) - { - DisableNavmesh = true - }; - num3 = 6; - List list154 = new List(num3); - CollectionsMarshal.SetCount(list154, num3); - Span span55 = CollectionsMarshal.AsSpan(list154); - span55[0] = null; - span55[1] = null; - span55[2] = null; - span55[3] = null; - span55[4] = null; - span55[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj99.CompletionQuestVariablesFlags = list154; - reference105 = obj99; - ref QuestStep reference106 = ref span52[3]; - QuestStep questStep7 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-103.87269f, 5.116502f, -73.9041f), 153); - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - Span span56 = CollectionsMarshal.AsSpan(list155); - span56[0] = null; - span56[1] = null; - span56[2] = null; - span56[3] = null; - span56[4] = null; - span56[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list155; - skipConditions2.StepIf = skipStepConditions2; - questStep7.SkipConditions = skipConditions2; - reference106 = questStep7; - ref QuestStep reference107 = ref span52[4]; - QuestStep obj100 = new QuestStep(EInteractionType.Jump, null, new Vector3(-90.467575f, 3.3634722f, -27.515985f), 153) - { - StopDistance = 0.25f, - JumpDestination = new JumpDestination - { - Position = new Vector3(-84.96217f, 6.1436205f, -23.793756f), - DelaySeconds = 0.25f - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list156 = new List(num3); - CollectionsMarshal.SetCount(list156, num3); - Span span57 = CollectionsMarshal.AsSpan(list156); - span57[0] = null; - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list156; - skipConditions3.StepIf = skipStepConditions3; - obj100.SkipConditions = skipConditions3; - reference107 = obj100; - ref QuestStep reference108 = ref span52[5]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2001951u, new Vector3(-83.32953f, 7.1259155f, -21.561035f), 153); - num3 = 6; - List list157 = new List(num3); - CollectionsMarshal.SetCount(list157, num3); - Span span58 = CollectionsMarshal.AsSpan(list157); - span58[0] = null; - span58[1] = null; - span58[2] = null; - span58[3] = null; - span58[4] = null; - span58[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list157; - reference108 = questStep8; - ref QuestStep reference109 = ref span52[6]; - QuestStep obj101 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-77.875786f, 3.9296143f, -27.107864f), 153) - { - DisableNavmesh = true - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list158 = new List(num3); - CollectionsMarshal.SetCount(list158, num3); - Span span59 = CollectionsMarshal.AsSpan(list158); - span59[0] = null; - span59[1] = null; - span59[2] = null; - span59[3] = null; - span59[4] = null; - span59[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list158; - skipConditions4.StepIf = skipStepConditions4; - obj101.SkipConditions = skipConditions4; - reference109 = obj101; - ref QuestStep reference110 = ref span52[7]; - QuestStep questStep9 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(15.053005f, 3.8386261f, -40.758984f), 153); - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 6; - List list159 = new List(num3); - CollectionsMarshal.SetCount(list159, num3); - Span span60 = CollectionsMarshal.AsSpan(list159); - span60[0] = null; - span60[1] = null; - span60[2] = null; - span60[3] = null; - span60[4] = null; - span60[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions5.CompletionQuestVariablesFlags = list159; - skipConditions5.StepIf = skipStepConditions5; - questStep9.SkipConditions = skipConditions5; - reference110 = questStep9; - ref QuestStep reference111 = ref span52[8]; - QuestStep obj102 = new QuestStep(EInteractionType.Interact, 2001952u, new Vector3(18.722778f, 7.614197f, -43.137268f), 153) - { - StopDistance = 6f - }; - num3 = 6; - List list160 = new List(num3); - CollectionsMarshal.SetCount(list160, num3); - Span span61 = CollectionsMarshal.AsSpan(list160); - span61[0] = null; - span61[1] = null; - span61[2] = null; - span61[3] = null; - span61[4] = null; - span61[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj102.CompletionQuestVariablesFlags = list160; - reference111 = obj102; - ref QuestStep reference112 = ref span52[9]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 2001950u, new Vector3(63.553833f, 13.473633f, -32.333923f), 153); - num3 = 6; - List list161 = new List(num3); - CollectionsMarshal.SetCount(list161, num3); - Span span62 = CollectionsMarshal.AsSpan(list161); - span62[0] = null; - span62[1] = null; - span62[2] = null; - span62[3] = null; - span62[4] = null; - span62[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list161; - reference112 = questStep10; - obj96.Steps = list151; - reference102 = obj96; - ref QuestSequence reference113 = ref span51[2]; - QuestSequence obj103 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - Span span63 = CollectionsMarshal.AsSpan(list162); - span63[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(51.85704f, 2.712612f, -42.67677f), 153) - { - DisableNavmesh = true, - Mount = false - }; - span63[1] = new QuestStep(EInteractionType.CompleteQuest, 1000590u, new Vector3(-165.9419f, 9.869227f, -81.34589f), 153) - { - Mount = false - }; - obj103.Steps = list162; - reference113 = obj103; - questRoot23.QuestSequence = list149; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(739); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list163 = new List(num); - CollectionsMarshal.SetCount(list163, num); - CollectionsMarshal.AsSpan(list163)[0] = "croizat"; - questRoot24.Author = list163; - num = 3; - List list164 = new List(num); - CollectionsMarshal.SetCount(list164, num); - Span span64 = CollectionsMarshal.AsSpan(list164); - ref QuestSequence reference114 = ref span64[0]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000598u, new Vector3(-170.82477f, 9.964111f, -84.153564f), 153); - obj104.Steps = list165; - reference114 = obj104; - ref QuestSequence reference115 = ref span64[1]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - Span span65 = CollectionsMarshal.AsSpan(list166); - span65[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-177.59566f, 9.645649f, 37.61236f), 153); - span65[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-171.2098f, 14.47418f, 32.58564f), 153) - { - DisableNavmesh = true - }; - span65[2] = new QuestStep(EInteractionType.Interact, 1006197u, new Vector3(-151.72046f, 18.631226f, 39.53601f), 153) - { - DisableNavmesh = true - }; - span65[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-157.91785f, 5.4492426f, 49.70637f), 153) - { - DisableNavmesh = true - }; - span65[4] = new QuestStep(EInteractionType.Interact, 1006198u, new Vector3(-237.17102f, 15.565003f, 104.32593f), 153); - obj105.Steps = list166; - reference115 = obj105; - ref QuestSequence reference116 = ref span64[2]; - QuestSequence obj106 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000598u, new Vector3(-170.82477f, 9.964111f, -84.153564f), 153); - obj106.Steps = list167; - reference116 = obj106; - questRoot24.QuestSequence = list164; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(742); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list168 = new List(num); - CollectionsMarshal.SetCount(list168, num); - CollectionsMarshal.AsSpan(list168)[0] = "croizat"; - questRoot25.Author = list168; - num = 3; - List list169 = new List(num); - CollectionsMarshal.SetCount(list169, num); - Span span66 = CollectionsMarshal.AsSpan(list169); - ref QuestSequence reference117 = ref span66[0]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000598u, new Vector3(-170.82477f, 9.964111f, -84.153564f), 153); - obj107.Steps = list170; - reference117 = obj107; - ref QuestSequence reference118 = ref span66[1]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - Span span67 = CollectionsMarshal.AsSpan(list171); - ref QuestStep reference119 = ref span67[0]; - QuestStep obj109 = new QuestStep(EInteractionType.Combat, 2001955u, new Vector3(-97.70355f, 11.673096f, -84.00098f), 153) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list172 = new List(num3); - CollectionsMarshal.SetCount(list172, num3); - CollectionsMarshal.AsSpan(list172)[0] = 63u; - obj109.KillEnemyDataIds = list172; - reference119 = obj109; - span67[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-111.3334f, 1.7872865f, -60.205475f), 153); - ref QuestStep reference120 = ref span67[2]; - QuestStep obj110 = new QuestStep(EInteractionType.Combat, 2001956u, new Vector3(-110.03284f, 1.9989014f, -57.053528f), 153) - { - StopDistance = 5f, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list173 = new List(num3); - CollectionsMarshal.SetCount(list173, num3); - CollectionsMarshal.AsSpan(list173)[0] = 63u; - obj110.KillEnemyDataIds = list173; - reference120 = obj110; - obj108.Steps = list171; - reference118 = obj108; - ref QuestSequence reference121 = ref span66[2]; - QuestSequence obj111 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000598u, new Vector3(-170.82477f, 9.964111f, -84.153564f), 153); - obj111.Steps = list174; - reference121 = obj111; - questRoot25.QuestSequence = list169; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(743); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list175 = new List(num); - CollectionsMarshal.SetCount(list175, num); - CollectionsMarshal.AsSpan(list175)[0] = "JerryWester"; - questRoot26.Author = list175; - num = 2; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - Span span68 = CollectionsMarshal.AsSpan(list176); - ref QuestSequence reference122 = ref span68[0]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000590u, new Vector3(-165.9419f, 9.869227f, -81.34589f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj112.Steps = list177; - reference122 = obj112; - ref QuestSequence reference123 = ref span68[1]; - QuestSequence obj113 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - Span span69 = CollectionsMarshal.AsSpan(list178); - span69[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 153) - { - Aetheryte = EAetheryteLocation.SouthShroudCampTranquil - }; - span69[1] = new QuestStep(EInteractionType.CompleteQuest, 1000576u, new Vector3(21.469421f, -4.575074f, 221.75928f), 152) - { - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - obj113.Steps = list178; - reference123 = obj113; - questRoot26.QuestSequence = list176; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(744); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list179 = new List(num); - CollectionsMarshal.SetCount(list179, num); - CollectionsMarshal.AsSpan(list179)[0] = "JerryWester"; - questRoot27.Author = list179; - num = 3; - List list180 = new List(num); - CollectionsMarshal.SetCount(list180, num); - Span span70 = CollectionsMarshal.AsSpan(list180); - ref QuestSequence reference124 = ref span70[0]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000580u, new Vector3(25.65039f, -3.7080078f, 209.97937f), 152) - { - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj114.Steps = list181; - reference124 = obj114; - ref QuestSequence reference125 = ref span70[1]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.Emote, null, new Vector3(190.6642f, 8.673417f, 187.67012f), 152) - { - StopDistance = 0.5f, - Emote = EEmote.Lookout - }; - obj115.Steps = list182; - reference125 = obj115; - ref QuestSequence reference126 = ref span70[2]; - QuestSequence obj116 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - CollectionsMarshal.AsSpan(list183)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj116.Steps = list183; - reference126 = obj116; - questRoot27.QuestSequence = list180; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(745); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list184 = new List(num); - CollectionsMarshal.SetCount(list184, num); - CollectionsMarshal.AsSpan(list184)[0] = "skiaz"; - questRoot28.Author = list184; - num = 3; - List list185 = new List(num); - CollectionsMarshal.SetCount(list185, num); - Span span71 = CollectionsMarshal.AsSpan(list185); - ref QuestSequence reference127 = ref span71[0]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000576u, new Vector3(21.469421f, -4.5750833f, 221.75928f), 152) - { - Fly = true - }; - obj117.Steps = list186; - reference127 = obj117; - ref QuestSequence reference128 = ref span71[1]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - Span span72 = CollectionsMarshal.AsSpan(list187); - span72[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-286.51263f, 12.089579f, -33.4333f), 152) - { - Fly = true - }; - span72[1] = new QuestStep(EInteractionType.None, null, new Vector3(-286.51263f, 12.089579f, -33.4333f), 152) - { - Land = true - }; - ref QuestStep reference129 = ref span72[2]; - QuestStep obj119 = new QuestStep(EInteractionType.Combat, 2264u, new Vector3(-303.8529f, 12.348698f, -40.177063f), 152) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list188 = new List(num3); - CollectionsMarshal.SetCount(list188, num3); - CollectionsMarshal.AsSpan(list188)[0] = new ComplexCombatData - { - DataId = 2264u, - MinimumKillCount = 3u, - RewardItemId = 2000598u, - RewardItemCount = 3 - }; - obj119.ComplexCombatData = list188; - obj119.CombatItemUse = new CombatItemUse - { - ItemId = 2000597u, - Condition = ECombatItemUseCondition.HealthPercent, - Value = 30 - }; - reference129 = obj119; - obj118.Steps = list187; - reference128 = obj118; - ref QuestSequence reference130 = ref span71[2]; - QuestSequence obj120 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000576u, new Vector3(21.469421f, -4.5750833f, 221.75928f), 152) - { - Fly = true - }; - obj120.Steps = list189; - reference130 = obj120; - questRoot28.QuestSequence = list185; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(746); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list190 = new List(num); - CollectionsMarshal.SetCount(list190, num); - CollectionsMarshal.AsSpan(list190)[0] = "JerryWester"; - questRoot29.Author = list190; - num = 4; - List list191 = new List(num); - CollectionsMarshal.SetCount(list191, num); - Span span73 = CollectionsMarshal.AsSpan(list191); - ref QuestSequence reference131 = ref span73[0]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj121.Steps = list192; - reference131 = obj121; - ref QuestSequence reference132 = ref span73[1]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - Span span74 = CollectionsMarshal.AsSpan(list193); - span74[0] = new QuestStep(EInteractionType.UseItem, null, null, 132) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span74[1] = new QuestStep(EInteractionType.Interact, 1003785u, new Vector3(-489.8299f, 21.48999f, -381.97913f), 140); - obj122.Steps = list193; - reference132 = obj122; - ref QuestSequence reference133 = ref span73[2]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.91858f, 17.990356f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - obj123.Steps = list194; - reference133 = obj123; - ref QuestSequence reference134 = ref span73[3]; - QuestSequence obj124 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - Span span75 = CollectionsMarshal.AsSpan(list195); - span75[0] = new QuestStep(EInteractionType.Interact, 2001715u, new Vector3(23.23944f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212 - }; - span75[1] = new QuestStep(EInteractionType.CompleteQuest, 1006688u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj124.Steps = list195; - reference134 = obj124; - questRoot29.QuestSequence = list191; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(747); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list196 = new List(num); - CollectionsMarshal.SetCount(list196, num); - CollectionsMarshal.AsSpan(list196)[0] = "JerryWester"; - questRoot30.Author = list196; - num = 3; - List list197 = new List(num); - CollectionsMarshal.SetCount(list197, num); - Span span76 = CollectionsMarshal.AsSpan(list197); - ref QuestSequence reference135 = ref span76[0]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - CollectionsMarshal.AsSpan(list198)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006688u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj125.Steps = list198; - reference135 = obj125; - ref QuestSequence reference136 = ref span76[1]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - Span span77 = CollectionsMarshal.AsSpan(list199); - span77[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-119.1183f, 3.7999938f, -104.33473f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - span77[1] = new QuestStep(EInteractionType.Interact, 1004576u, new Vector3(-141.64954f, 4.1f, -114.67157f), 130); - obj126.Steps = list199; - reference136 = obj126; - ref QuestSequence reference137 = ref span76[2]; - QuestSequence obj127 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006196u, new Vector3(-63.98114f, -20.296238f, -5.142395f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj127.Steps = list200; - reference137 = obj127; - questRoot30.QuestSequence = list197; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(748); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list201 = new List(num); - CollectionsMarshal.SetCount(list201, num); - CollectionsMarshal.AsSpan(list201)[0] = "JerryWester"; - questRoot31.Author = list201; - num = 3; - List list202 = new List(num); - CollectionsMarshal.SetCount(list202, num); - Span span78 = CollectionsMarshal.AsSpan(list202); - ref QuestSequence reference138 = ref span78[0]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006196u, new Vector3(-63.98114f, -20.296238f, -5.142395f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj128.Steps = list203; - reference138 = obj128; - ref QuestSequence reference139 = ref span78[1]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - Span span79 = CollectionsMarshal.AsSpan(list204); - ref QuestStep reference140 = ref span79[0]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1006206u, new Vector3(-90.95911f, -29.465149f, -58.854065f), 145); - num3 = 6; - List list205 = new List(num3); - CollectionsMarshal.SetCount(list205, num3); - Span span80 = CollectionsMarshal.AsSpan(list205); - span80[0] = null; - span80[1] = null; - span80[2] = null; - span80[3] = null; - span80[4] = null; - span80[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list205; - reference140 = questStep11; - ref QuestStep reference141 = ref span79[1]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1006204u, new Vector3(-29.34314f, -10.500086f, -7.5532227f), 145); - num3 = 6; - List list206 = new List(num3); - CollectionsMarshal.SetCount(list206, num3); - Span span81 = CollectionsMarshal.AsSpan(list206); - span81[0] = null; - span81[1] = null; - span81[2] = null; - span81[3] = null; - span81[4] = null; - span81[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list206; - reference141 = questStep12; - ref QuestStep reference142 = ref span79[2]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1006205u, new Vector3(14.480774f, -5.9663696f, 7.4310913f), 145); - num3 = 6; - List list207 = new List(num3); - CollectionsMarshal.SetCount(list207, num3); - Span span82 = CollectionsMarshal.AsSpan(list207); - span82[0] = null; - span82[1] = null; - span82[2] = null; - span82[3] = null; - span82[4] = null; - span82[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list207; - reference142 = questStep13; - obj129.Steps = list204; - reference139 = obj129; - ref QuestSequence reference143 = ref span78[2]; - QuestSequence obj130 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006196u, new Vector3(-63.98114f, -20.296238f, -5.142395f), 145); - obj130.Steps = list208; - reference143 = obj130; - questRoot31.QuestSequence = list202; - AddQuest(questId31, questRoot31); - } - - private static void LoadQuests15() - { - QuestId questId = new QuestId(756); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "JerryWester"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006196u, new Vector3(-63.98114f, -20.296238f, -5.142395f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(318.09802f, 20.949646f, -263.94977f), 145); - ref QuestStep reference3 = ref span2[1]; - QuestStep obj3 = new QuestStep(EInteractionType.Combat, 2001965u, new Vector3(313.46606f, 23.178406f, -253.58972f), 145) - { - DisableNavmesh = true, - ItemId = 2000604u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - int num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = 363u; - obj3.KillEnemyDataIds = list5; - reference3 = obj3; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj4 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006196u, new Vector3(-63.98114f, -20.296238f, -5.142395f), 145); - obj4.Steps = list6; - reference4 = obj4; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(757); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - CollectionsMarshal.AsSpan(list7)[0] = "JerryWester"; - questRoot2.Author = list7; - num = 3; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span3 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference5 = ref span3[0]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006196u, new Vector3(-63.98114f, -20.296238f, -5.142395f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference6 = ref span3[1]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span4 = CollectionsMarshal.AsSpan(list10); - span4[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-171.46503f, -46.504063f, 491.88867f), 145) - { - TargetTerritoryId = (ushort)146 - }; - span4[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-47.50145f, 16.362688f, -439.62503f), 146); - span4[2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 146) - { - StopDistance = 7f, - Aetheryte = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - span4[3] = new QuestStep(EInteractionType.Interact, 1006211u, new Vector3(-217.48688f, 26.258211f, -361.2574f), 146); - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span3[2]; - QuestSequence obj7 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006215u, new Vector3(-227.34424f, 26.16842f, -352.98694f), 146); - obj7.Steps = list11; - reference7 = obj7; - questRoot2.QuestSequence = list8; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(760); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - CollectionsMarshal.AsSpan(list12)[0] = "skiaz"; - questRoot3.Author = list12; - num = 3; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - Span span5 = CollectionsMarshal.AsSpan(list13); - ref QuestSequence reference8 = ref span5[0]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.AcceptQuest, 1004894u, new Vector3(-138.87238f, 27.266977f, -427.81726f), 146) - { - Fly = true - }; - obj8.Steps = list14; - reference8 = obj8; - ref QuestSequence reference9 = ref span5[1]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - Span span6 = CollectionsMarshal.AsSpan(list15); - ref QuestStep reference10 = ref span6[0]; - QuestStep obj10 = new QuestStep(EInteractionType.Combat, 2259u, new Vector3(-92.27408f, 14.646322f, -233.21777f), 146) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - CollectionsMarshal.AsSpan(list16)[0] = new ComplexCombatData - { - DataId = 2259u, - MinimumKillCount = 1u - }; - obj10.ComplexCombatData = list16; - reference10 = obj10; - ref QuestStep reference11 = ref span6[1]; - QuestStep obj11 = new QuestStep(EInteractionType.Combat, 2260u, new Vector3(-92.27408f, 14.646322f, -233.21777f), 146) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list17 = new List(num3); - CollectionsMarshal.SetCount(list17, num3); - CollectionsMarshal.AsSpan(list17)[0] = new ComplexCombatData - { - DataId = 2260u, - MinimumKillCount = 1u - }; - obj11.ComplexCombatData = list17; - reference11 = obj11; - obj9.Steps = list15; - reference9 = obj9; - ref QuestSequence reference12 = ref span5[2]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.CompleteQuest, 1004894u, new Vector3(-138.87238f, 27.266977f, -427.81726f), 146); - obj12.Steps = list18; - reference12 = obj12; - questRoot3.QuestSequence = list13; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(761); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - CollectionsMarshal.AsSpan(list19)[0] = "JerryWester"; - questRoot4.Author = list19; - num = 3; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - Span span7 = CollectionsMarshal.AsSpan(list20); - ref QuestSequence reference13 = ref span7[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006217u, new Vector3(-181.04828f, 28.214073f, -402.02948f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj13.Steps = list21; - reference13 = obj13; - ref QuestSequence reference14 = ref span7[1]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - Span span8 = CollectionsMarshal.AsSpan(list22); - ref QuestStep reference15 = ref span8[0]; - QuestStep questStep = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-179.69392f, 18.008331f, -279.60886f), 146); - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - Span span9 = CollectionsMarshal.AsSpan(list23); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list23; - skipConditions.StepIf = skipStepConditions; - questStep.SkipConditions = skipConditions; - reference15 = questStep; - ref QuestStep reference16 = ref span8[1]; - QuestStep obj15 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-184.29613f, 3.5985415f, -246.7013f), 146) - { - DisableNavmesh = true - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - Span span10 = CollectionsMarshal.AsSpan(list24); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list24; - skipConditions2.StepIf = skipStepConditions2; - obj15.SkipConditions = skipConditions2; - reference16 = obj15; - ref QuestStep reference17 = ref span8[2]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1006702u, new Vector3(-186.14484f, 3.6335826f, -247.82184f), 146); - num3 = 6; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - Span span11 = CollectionsMarshal.AsSpan(list25); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list25; - reference17 = questStep2; - ref QuestStep reference18 = ref span8[3]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1006704u, new Vector3(-174.12073f, 4.3956237f, -165.45361f), 146); - num3 = 6; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - Span span12 = CollectionsMarshal.AsSpan(list26); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list26; - reference18 = questStep3; - ref QuestStep reference19 = ref span8[4]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1006703u, new Vector3(-187.27399f, 9.149252f, -133.22656f), 146); - num3 = 6; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - Span span13 = CollectionsMarshal.AsSpan(list27); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list27; - reference19 = questStep4; - obj14.Steps = list22; - reference14 = obj14; - ref QuestSequence reference20 = ref span7[2]; - QuestSequence obj16 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006217u, new Vector3(-181.04828f, 28.214073f, -402.02948f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - obj16.Steps = list28; - reference20 = obj16; - questRoot4.QuestSequence = list20; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(762); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - CollectionsMarshal.AsSpan(list29)[0] = "JerryWester"; - questRoot5.Author = list29; - num = 2; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - Span span14 = CollectionsMarshal.AsSpan(list30); - ref QuestSequence reference21 = ref span14[0]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006217u, new Vector3(-181.04828f, 28.214073f, -402.02948f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj17.Steps = list31; - reference21 = obj17; - ref QuestSequence reference22 = ref span14[1]; - QuestSequence obj18 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - Span span15 = CollectionsMarshal.AsSpan(list32); - span15[0] = new QuestStep(EInteractionType.UseItem, null, null, 128) - { - ItemId = 30362u - }; - span15[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span15[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.91858f, 17.990356f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span15[3] = new QuestStep(EInteractionType.Interact, 2001715u, new Vector3(23.23944f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212 - }; - span15[4] = new QuestStep(EInteractionType.CompleteQuest, 1006688u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj18.Steps = list32; - reference22 = obj18; - questRoot5.QuestSequence = list30; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(763); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list33 = new List(num); - CollectionsMarshal.SetCount(list33, num); - CollectionsMarshal.AsSpan(list33)[0] = "JerryWester"; - questRoot6.Author = list33; - num = 3; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - Span span16 = CollectionsMarshal.AsSpan(list34); - ref QuestSequence reference23 = ref span16[0]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006688u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj19.Steps = list35; - reference23 = obj19; - ref QuestSequence reference24 = ref span16[1]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - Span span17 = CollectionsMarshal.AsSpan(list36); - span17[0] = new QuestStep(EInteractionType.Interact, 2001717u, new Vector3(25.497803f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212 - }; - span17[1] = new QuestStep(EInteractionType.Interact, 1007418u, new Vector3(9.689453f, -3.0000017f, -55.985413f), 212); - obj20.Steps = list36; - reference24 = obj20; - ref QuestSequence reference25 = ref span16[2]; - QuestSequence obj21 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006219u, new Vector3(193.53015f, 7.8551283f, -25.864075f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill - }; - obj21.Steps = list37; - reference25 = obj21; - questRoot6.QuestSequence = list34; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(764); - QuestRoot questRoot7 = new QuestRoot(); - num = 2; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - Span span18 = CollectionsMarshal.AsSpan(list38); - span18[0] = "liza"; - span18[1] = "Friendly"; - questRoot7.Author = list38; - num = 2; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - Span span19 = CollectionsMarshal.AsSpan(list39); - ref QuestSequence reference26 = ref span19[0]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - Span span20 = CollectionsMarshal.AsSpan(list40); - ref QuestStep reference27 = ref span20[0]; - QuestStep obj23 = new QuestStep(EInteractionType.UseItem, null, null, 128) - { - ItemId = 30362u - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - CollectionsMarshal.AsSpan(list41)[0] = 140; - skipStepConditions3.InTerritory = list41; - skipConditions3.StepIf = skipStepConditions3; - obj23.SkipConditions = skipConditions3; - reference27 = obj23; - span20[1] = new QuestStep(EInteractionType.AcceptQuest, 1005021u, new Vector3(-472.49567f, 23.008797f, -355.00116f), 140); - obj22.Steps = list40; - reference26 = obj22; - ref QuestSequence reference28 = ref span19[1]; - QuestSequence obj24 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - Span span21 = CollectionsMarshal.AsSpan(list42); - span21[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-157.07425f, 24.884384f, -354.37775f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - span21[1] = new QuestStep(EInteractionType.CompleteQuest, 1006220u, new Vector3(185.74805f, 13.721187f, -443.1983f), 146) - { - Fly = true - }; - obj24.Steps = list42; - reference28 = obj24; - questRoot7.QuestSequence = list39; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(765); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - CollectionsMarshal.AsSpan(list43)[0] = "JerryWester"; - questRoot8.Author = list43; - num = 4; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - Span span22 = CollectionsMarshal.AsSpan(list44); - ref QuestSequence reference29 = ref span22[0]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000332u, new Vector3(207.7821f, 6.103813f, -39.536194f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj25.Steps = list45; - reference29 = obj25; - ref QuestSequence reference30 = ref span22[1]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 1006219u, new Vector3(193.53015f, 7.8551283f, -25.864075f), 153); - obj26.Steps = list46; - reference30 = obj26; - ref QuestSequence reference31 = ref span22[2]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Interact, 1000327u, new Vector3(177.66077f, 8.928099f, -43.01526f), 153); - obj27.Steps = list47; - reference31 = obj27; - ref QuestSequence reference32 = ref span22[3]; - QuestSequence obj28 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000332u, new Vector3(207.7821f, 6.103813f, -39.536194f), 153); - obj28.Steps = list48; - reference32 = obj28; - questRoot8.QuestSequence = list44; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(766); - QuestRoot questRoot9 = new QuestRoot(); - num = 2; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - Span span23 = CollectionsMarshal.AsSpan(list49); - span23[0] = "CryoTechnic"; - span23[1] = "croizat"; - questRoot9.Author = list49; - num = 3; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - Span span24 = CollectionsMarshal.AsSpan(list50); - ref QuestSequence reference33 = ref span24[0]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000334u, new Vector3(176.44006f, 8.926453f, -43.01526f), 153); - obj29.Steps = list51; - reference33 = obj29; - ref QuestSequence reference34 = ref span24[1]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - Span span25 = CollectionsMarshal.AsSpan(list52); - ref QuestStep reference35 = ref span25[0]; - QuestStep obj31 = new QuestStep(EInteractionType.Combat, 2001968u, new Vector3(106.370605f, 13.01593f, -9.99469f), 153) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - CollectionsMarshal.AsSpan(list53)[0] = 79u; - obj31.KillEnemyDataIds = list53; - reference35 = obj31; - ref QuestStep reference36 = ref span25[1]; - QuestStep obj32 = new QuestStep(EInteractionType.Combat, 2001966u, new Vector3(115.587036f, 6.9733276f, 29.648315f), 153) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - CollectionsMarshal.AsSpan(list54)[0] = 81u; - obj32.KillEnemyDataIds = list54; - reference36 = obj32; - ref QuestStep reference37 = ref span25[2]; - QuestStep obj33 = new QuestStep(EInteractionType.Combat, 2001967u, new Vector3(63.1875f, 7.583679f, 21.896606f), 153) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list55 = new List(num3); - CollectionsMarshal.SetCount(list55, num3); - CollectionsMarshal.AsSpan(list55)[0] = 311u; - obj33.KillEnemyDataIds = list55; - reference37 = obj33; - obj30.Steps = list52; - reference34 = obj30; - ref QuestSequence reference38 = ref span24[2]; - QuestSequence obj34 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000334u, new Vector3(176.44006f, 8.926453f, -43.01526f), 153); - obj34.Steps = list56; - reference38 = obj34; - questRoot9.QuestSequence = list50; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(767); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - CollectionsMarshal.AsSpan(list57)[0] = "croizat"; - questRoot10.Author = list57; - num = 3; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - Span span26 = CollectionsMarshal.AsSpan(list58); - ref QuestSequence reference39 = ref span26[0]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000331u, new Vector3(158.49548f, 18.119999f, -49.393555f), 153); - obj35.Steps = list59; - reference39 = obj35; - ref QuestSequence reference40 = ref span26[1]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.Interact, 1006235u, new Vector3(168.47485f, 5.2948f, -18.997498f), 153); - obj36.Steps = list60; - reference40 = obj36; - ref QuestSequence reference41 = ref span26[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000331u, new Vector3(158.49548f, 18.119999f, -49.393555f), 153); - obj37.Steps = list61; - reference41 = obj37; - questRoot10.QuestSequence = list58; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(768); - QuestRoot questRoot11 = new QuestRoot(); - num = 2; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - Span span27 = CollectionsMarshal.AsSpan(list62); - span27[0] = "CryoTechnic"; - span27[1] = "croizat"; - questRoot11.Author = list62; - num = 4; - List list63 = new List(num); - CollectionsMarshal.SetCount(list63, num); - Span span28 = CollectionsMarshal.AsSpan(list63); - ref QuestSequence reference42 = ref span28[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006236u, new Vector3(156.78638f, 11.218727f, -74.26575f), 153); - obj38.Steps = list64; - reference42 = obj38; - ref QuestSequence reference43 = ref span28[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.Interact, 1006237u, new Vector3(213.09216f, 29.495605f, -164.5686f), 153); - obj39.Steps = list65; - reference43 = obj39; - ref QuestSequence reference44 = ref span28[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 2 - }; - num2 = 6; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - Span span29 = CollectionsMarshal.AsSpan(list66); - span29[0] = new QuestStep(EInteractionType.Interact, 2002269u, new Vector3(209.30798f, 31.72351f, -165.14844f), 153); - span29[1] = new QuestStep(EInteractionType.Interact, 2001969u, new Vector3(209.12476f, 29.373535f, -151.04907f), 153); - ref QuestStep reference45 = ref span29[2]; - QuestStep obj41 = new QuestStep(EInteractionType.Combat, 2001970u, new Vector3(198.96228f, 31.998047f, -159.59418f), 153) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - CollectionsMarshal.AsSpan(list67)[0] = 9u; - obj41.KillEnemyDataIds = list67; - reference45 = obj41; - span29[3] = new QuestStep(EInteractionType.Interact, 2001971u, new Vector3(199.45056f, 34.531128f, -170.33649f), 153); - ref QuestStep reference46 = ref span29[4]; - QuestStep obj42 = new QuestStep(EInteractionType.Combat, 2001972u, new Vector3(209.70471f, 32.669556f, -171.83191f), 153) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list68 = new List(num3); - CollectionsMarshal.SetCount(list68, num3); - CollectionsMarshal.AsSpan(list68)[0] = 9u; - obj42.KillEnemyDataIds = list68; - reference46 = obj42; - ref QuestStep reference47 = ref span29[5]; - QuestStep obj43 = new QuestStep(EInteractionType.Combat, 2001973u, new Vector3(218.21924f, 28.94629f, -160.63171f), 153) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - CollectionsMarshal.AsSpan(list69)[0] = 9u; - obj43.KillEnemyDataIds = list69; - reference47 = obj43; - obj40.Steps = list66; - reference44 = obj40; - ref QuestSequence reference48 = ref span28[3]; - QuestSequence obj44 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006237u, new Vector3(213.09216f, 29.495605f, -164.5686f), 153) - { - NextQuestId = new QuestId(769) - }; - obj44.Steps = list70; - reference48 = obj44; - questRoot11.QuestSequence = list63; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(769); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - CollectionsMarshal.AsSpan(list71)[0] = "croizat"; - questRoot12.Author = list71; - num = 3; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - Span span30 = CollectionsMarshal.AsSpan(list72); - ref QuestSequence reference49 = ref span30[0]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006237u, new Vector3(213.09216f, 29.495605f, -164.5686f), 153); - obj45.Steps = list73; - reference49 = obj45; - ref QuestSequence reference50 = ref span30[1]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.UseItem, 2002278u, new Vector3(42.58789f, 4.196167f, 48.844116f), 153) - { - ItemId = 2000857u - }; - obj46.Steps = list74; - reference50 = obj46; - ref QuestSequence reference51 = ref span30[2]; - QuestSequence obj47 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001186u, new Vector3(150.16394f, 8.795548f, -56.321106f), 153); - obj47.Steps = list75; - reference51 = obj47; - questRoot12.QuestSequence = list72; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(770); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - CollectionsMarshal.AsSpan(list76)[0] = "croizat"; - questRoot13.Author = list76; - num = 3; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - Span span31 = CollectionsMarshal.AsSpan(list77); - ref QuestSequence reference52 = ref span31[0]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000420u, new Vector3(150.28601f, 11.218727f, -72.58722f), 153); - obj48.Steps = list78; - reference52 = obj48; - ref QuestSequence reference53 = ref span31[1]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - ref QuestStep reference54 = ref CollectionsMarshal.AsSpan(list79)[0]; - QuestStep obj50 = new QuestStep(EInteractionType.Combat, null, new Vector3(90.32601f, 14.940415f, -150.38887f), 153) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 3; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - Span span32 = CollectionsMarshal.AsSpan(list80); - ref ComplexCombatData reference55 = ref span32[0]; - ComplexCombatData obj51 = new ComplexCombatData - { - DataId = 87u, - MinimumKillCount = 1u - }; - int num4 = 6; - List list81 = new List(num4); - CollectionsMarshal.SetCount(list81, num4); - Span span33 = CollectionsMarshal.AsSpan(list81); - span33[0] = null; - span33[1] = new QuestWorkValue((byte)1, null, EQuestWorkMode.Bitwise); - span33[2] = null; - span33[3] = null; - span33[4] = null; - span33[5] = null; - obj51.CompletionQuestVariablesFlags = list81; - reference55 = obj51; - ref ComplexCombatData reference56 = ref span32[1]; - ComplexCombatData obj52 = new ComplexCombatData - { - DataId = 86u, - MinimumKillCount = 1u - }; - num4 = 6; - List list82 = new List(num4); - CollectionsMarshal.SetCount(list82, num4); - Span span34 = CollectionsMarshal.AsSpan(list82); - span34[0] = null; - span34[1] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span34[2] = null; - span34[3] = null; - span34[4] = null; - span34[5] = null; - obj52.CompletionQuestVariablesFlags = list82; - reference56 = obj52; - ref ComplexCombatData reference57 = ref span32[2]; - ComplexCombatData obj53 = new ComplexCombatData - { - DataId = 84u, - MinimumKillCount = 1u - }; - num4 = 6; - List list83 = new List(num4); - CollectionsMarshal.SetCount(list83, num4); - Span span35 = CollectionsMarshal.AsSpan(list83); - span35[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = null; - obj53.CompletionQuestVariablesFlags = list83; - reference57 = obj53; - obj50.ComplexCombatData = list80; - reference54 = obj50; - obj49.Steps = list79; - reference53 = obj49; - ref QuestSequence reference58 = ref span31[2]; - QuestSequence obj54 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000420u, new Vector3(150.28601f, 11.218727f, -72.58722f), 153); - obj54.Steps = list84; - reference58 = obj54; - questRoot13.QuestSequence = list77; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(771); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - CollectionsMarshal.AsSpan(list85)[0] = "croizat"; - questRoot14.Author = list85; - num = 3; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - Span span36 = CollectionsMarshal.AsSpan(list86); - ref QuestSequence reference59 = ref span36[0]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000328u, new Vector3(151.75085f, 11.642578f, -73.258606f), 153); - obj55.Steps = list87; - reference59 = obj55; - ref QuestSequence reference60 = ref span36[1]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 2001974u, new Vector3(73.258545f, 7.583679f, -109.819214f), 153); - obj56.Steps = list88; - reference60 = obj56; - ref QuestSequence reference61 = ref span36[2]; - QuestSequence obj57 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000328u, new Vector3(151.75085f, 11.642578f, -73.258606f), 153); - obj57.Steps = list89; - reference61 = obj57; - questRoot14.QuestSequence = list86; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(772); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - CollectionsMarshal.AsSpan(list90)[0] = "croizat"; - questRoot15.Author = list90; - num = 2; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - Span span37 = CollectionsMarshal.AsSpan(list91); - ref QuestSequence reference62 = ref span37[0]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006238u, new Vector3(197.77222f, 7.8551226f, -22.14087f), 153); - obj58.Steps = list92; - reference62 = obj58; - ref QuestSequence reference63 = ref span37[1]; - QuestSequence obj59 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000340u, new Vector3(277.51575f, 11.186312f, -255.60394f), 153) - { - NextQuestId = new QuestId(773) - }; - obj59.Steps = list93; - reference63 = obj59; - questRoot15.QuestSequence = list91; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(773); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - CollectionsMarshal.AsSpan(list94)[0] = "croizat"; - questRoot16.Author = list94; - num = 5; - List list95 = new List(num); - CollectionsMarshal.SetCount(list95, num); - Span span38 = CollectionsMarshal.AsSpan(list95); - ref QuestSequence reference64 = ref span38[0]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000340u, new Vector3(277.51575f, 11.186312f, -255.60394f), 153); - obj60.Steps = list96; - reference64 = obj60; - ref QuestSequence reference65 = ref span38[1]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - Span span39 = CollectionsMarshal.AsSpan(list97); - span39[0] = new QuestStep(EInteractionType.Interact, 2002282u, new Vector3(270.28296f, 12.130859f, -258.44214f), 153); - span39[1] = new QuestStep(EInteractionType.Interact, 2002281u, new Vector3(261.15808f, 11.24585f, -252.49103f), 153); - span39[2] = new QuestStep(EInteractionType.Interact, 2001975u, new Vector3(248.76782f, 11.459534f, -233.23413f), 153); - obj61.Steps = list97; - reference65 = obj61; - ref QuestSequence reference66 = ref span38[2]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.Interact, 2001976u, new Vector3(299.8855f, 14.175598f, -249.3172f), 153); - obj62.Steps = list98; - reference66 = obj62; - ref QuestSequence reference67 = ref span38[3]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 1000341u, new Vector3(300.09912f, 11.935754f, -247.02838f), 153); - obj63.Steps = list99; - reference67 = obj63; - ref QuestSequence reference68 = ref span38[4]; - QuestSequence obj64 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006238u, new Vector3(197.77222f, 7.8551226f, -22.14087f), 153); - obj64.Steps = list100; - reference68 = obj64; - questRoot16.QuestSequence = list95; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(774); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list101 = new List(num); - CollectionsMarshal.SetCount(list101, num); - CollectionsMarshal.AsSpan(list101)[0] = "JerryWester"; - questRoot17.Author = list101; - num = 5; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - Span span40 = CollectionsMarshal.AsSpan(list102); - ref QuestSequence reference69 = ref span40[0]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000332u, new Vector3(207.7821f, 6.103813f, -39.536194f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj65.Steps = list103; - reference69 = obj65; - ref QuestSequence reference70 = ref span40[1]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - ref QuestStep reference71 = ref CollectionsMarshal.AsSpan(list104)[0]; - QuestStep obj67 = new QuestStep(EInteractionType.Combat, null, new Vector3(262.89966f, 11.363011f, -143.02156f), 153) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - ref ComplexCombatData reference72 = ref CollectionsMarshal.AsSpan(list105)[0]; - ComplexCombatData obj68 = new ComplexCombatData - { - DataId = 4u, - MinimumKillCount = 4u - }; - num4 = 6; - List list106 = new List(num4); - CollectionsMarshal.SetCount(list106, num4); - Span span41 = CollectionsMarshal.AsSpan(list106); - span41[0] = null; - span41[1] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = null; - obj68.CompletionQuestVariablesFlags = list106; - reference72 = obj68; - obj67.ComplexCombatData = list105; - reference71 = obj67; - obj66.Steps = list104; - reference70 = obj66; - ref QuestSequence reference73 = ref span40[2]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.Interact, 1000332u, new Vector3(207.7821f, 6.103813f, -39.536194f), 153); - obj69.Steps = list107; - reference73 = obj69; - ref QuestSequence reference74 = ref span40[3]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.Interact, 1000590u, new Vector3(-165.9419f, 9.869227f, -81.34589f), 153); - obj70.Steps = list108; - reference74 = obj70; - ref QuestSequence reference75 = ref span40[4]; - QuestSequence obj71 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006680u, new Vector3(209.30798f, 6.1041656f, -39.932922f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill - }; - obj71.Steps = list109; - reference75 = obj71; - questRoot17.QuestSequence = list102; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(775); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - CollectionsMarshal.AsSpan(list110)[0] = "JerryWester"; - questRoot18.Author = list110; - num = 6; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - Span span42 = CollectionsMarshal.AsSpan(list111); - ref QuestSequence reference76 = ref span42[0]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000332u, new Vector3(207.7821f, 6.103813f, -39.536194f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj72.Steps = list112; - reference76 = obj72; - ref QuestSequence reference77 = ref span42[1]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.Interact, 1006219u, new Vector3(193.53015f, 7.8551283f, -25.864075f), 153); - obj73.Steps = list113; - reference77 = obj73; - ref QuestSequence reference78 = ref span42[2]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.Interact, 1000332u, new Vector3(207.7821f, 6.103813f, -39.536194f), 153); - obj74.Steps = list114; - reference78 = obj74; - ref QuestSequence reference79 = ref span42[3]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - ref QuestStep reference80 = ref CollectionsMarshal.AsSpan(list115)[0]; - QuestStep obj76 = new QuestStep(EInteractionType.Combat, 1006679u, new Vector3(352.49854f, -2.3331592f, 51.56018f), 153) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - CollectionsMarshal.AsSpan(list116)[0] = 1909u; - obj76.KillEnemyDataIds = list116; - reference80 = obj76; - obj75.Steps = list115; - reference79 = obj75; - ref QuestSequence reference81 = ref span42[4]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.Interact, 1006679u, new Vector3(352.49854f, -2.3331592f, 51.56018f), 153); - obj77.Steps = list117; - reference81 = obj77; - ref QuestSequence reference82 = ref span42[5]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000332u, new Vector3(207.7821f, 6.103813f, -39.536194f), 153); - obj78.Steps = list118; - reference82 = obj78; - questRoot18.QuestSequence = list111; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(776); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - CollectionsMarshal.AsSpan(list119)[0] = "JerryWester"; - questRoot19.Author = list119; - num = 2; - List list120 = new List(num); - CollectionsMarshal.SetCount(list120, num); - Span span43 = CollectionsMarshal.AsSpan(list120); - ref QuestSequence reference83 = ref span43[0]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000332u, new Vector3(207.7821f, 6.103813f, -39.536194f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj79.Steps = list121; - reference83 = obj79; - ref QuestSequence reference84 = ref span43[1]; - QuestSequence obj80 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006215u, new Vector3(-227.34424f, 26.16842f, -352.98694f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - obj80.Steps = list122; - reference84 = obj80; - questRoot19.QuestSequence = list120; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(777); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - CollectionsMarshal.AsSpan(list123)[0] = "JerryWester"; - questRoot20.Author = list123; - num = 3; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - Span span44 = CollectionsMarshal.AsSpan(list124); - ref QuestSequence reference85 = ref span44[0]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006215u, new Vector3(-227.34424f, 26.16842f, -352.98694f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj81.Steps = list125; - reference85 = obj81; - ref QuestSequence reference86 = ref span44[1]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - Span span45 = CollectionsMarshal.AsSpan(list126); - ref QuestStep reference87 = ref span45[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1006221u, new Vector3(-219.65369f, 26.204851f, -337.789f), 146); - num3 = 6; - List list127 = new List(num3); - CollectionsMarshal.SetCount(list127, num3); - Span span46 = CollectionsMarshal.AsSpan(list127); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list127; - reference87 = questStep5; - ref QuestStep reference88 = ref span45[1]; - QuestStep obj83 = new QuestStep(EInteractionType.Interact, 1006222u, new Vector3(-207.17181f, 27.31405f, -331.34973f), 146) - { - DisableNavmesh = true - }; - num3 = 6; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - Span span47 = CollectionsMarshal.AsSpan(list128); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj83.CompletionQuestVariablesFlags = list128; - reference88 = obj83; - ref QuestStep reference89 = ref span45[2]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1006223u, new Vector3(-85.06909f, 26.222988f, -348.50085f), 146); - num3 = 6; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - Span span48 = CollectionsMarshal.AsSpan(list129); - span48[0] = null; - span48[1] = null; - span48[2] = null; - span48[3] = null; - span48[4] = null; - span48[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list129; - reference89 = questStep6; - ref QuestStep reference90 = ref span45[3]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1006224u, new Vector3(-77.74481f, 27.626602f, -325.42914f), 146); - num3 = 6; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - Span span49 = CollectionsMarshal.AsSpan(list130); - span49[0] = null; - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list130; - reference90 = questStep7; - obj82.Steps = list126; - reference86 = obj82; - ref QuestSequence reference91 = ref span44[2]; - QuestSequence obj84 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006215u, new Vector3(-227.34424f, 26.16842f, -352.98694f), 146); - obj84.Steps = list131; - reference91 = obj84; - questRoot20.QuestSequence = list124; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(778); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list132 = new List(num); - CollectionsMarshal.SetCount(list132, num); - CollectionsMarshal.AsSpan(list132)[0] = "JerryWester"; - questRoot21.Author = list132; - num = 4; - List list133 = new List(num); - CollectionsMarshal.SetCount(list133, num); - Span span50 = CollectionsMarshal.AsSpan(list133); - ref QuestSequence reference92 = ref span50[0]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006226u, new Vector3(-225.97089f, 26.138475f, -355.0622f), 146) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj85.Steps = list134; - reference92 = obj85; - ref QuestSequence reference93 = ref span50[1]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - ref QuestStep reference94 = ref CollectionsMarshal.AsSpan(list135)[0]; - QuestStep obj87 = new QuestStep(EInteractionType.Combat, 1006228u, new Vector3(-194.75098f, 19.02249f, -557.8546f), 146) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - Span span51 = CollectionsMarshal.AsSpan(list136); - span51[0] = 2257u; - span51[1] = 2258u; - obj87.KillEnemyDataIds = list136; - reference94 = obj87; - obj86.Steps = list135; - reference93 = obj86; - ref QuestSequence reference95 = ref span50[2]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.Interact, 1006228u, new Vector3(-194.75098f, 19.02249f, -557.8546f), 146) - { - StopDistance = 7f - }; - obj88.Steps = list137; - reference95 = obj88; - ref QuestSequence reference96 = ref span50[3]; - QuestSequence obj89 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006215u, new Vector3(-227.34424f, 26.16842f, -352.98694f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - obj89.Steps = list138; - reference96 = obj89; - questRoot21.QuestSequence = list133; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(782); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - CollectionsMarshal.AsSpan(list139)[0] = "JerryWester"; - questRoot22.Author = list139; - num = 5; - List list140 = new List(num); - CollectionsMarshal.SetCount(list140, num); - Span span52 = CollectionsMarshal.AsSpan(list140); - ref QuestSequence reference97 = ref span52[0]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006215u, new Vector3(-227.34424f, 26.16842f, -352.98694f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj90.Steps = list141; - reference97 = obj90; - ref QuestSequence reference98 = ref span52[1]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - Span span53 = CollectionsMarshal.AsSpan(list142); - ref QuestStep reference99 = ref span53[0]; - QuestStep obj92 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-225.94685f, 26.139933f, -340.8984f), 146) - { - Mount = true - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - Span span54 = CollectionsMarshal.AsSpan(list143); - span54[0] = null; - span54[1] = null; - span54[2] = null; - span54[3] = null; - span54[4] = null; - span54[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list143; - skipConditions4.StepIf = skipStepConditions4; - obj92.SkipConditions = skipConditions4; - reference99 = obj92; - ref QuestStep reference100 = ref span53[1]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2001980u, new Vector3(-202.22784f, 28.122314f, -318.5016f), 146); - num3 = 6; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - Span span55 = CollectionsMarshal.AsSpan(list144); - span55[0] = null; - span55[1] = null; - span55[2] = null; - span55[3] = null; - span55[4] = null; - span55[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list144; - reference100 = questStep8; - ref QuestStep reference101 = ref span53[2]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1006225u, new Vector3(-83.84839f, 39.399178f, -333.69952f), 146); - num3 = 6; - List list145 = new List(num3); - CollectionsMarshal.SetCount(list145, num3); - Span span56 = CollectionsMarshal.AsSpan(list145); - span56[0] = null; - span56[1] = null; - span56[2] = null; - span56[3] = null; - span56[4] = null; - span56[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list145; - reference101 = questStep9; - ref QuestStep reference102 = ref span53[3]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1007617u, new Vector3(-114.7937f, 39.483143f, -339.71167f), 146); - num3 = 6; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - Span span57 = CollectionsMarshal.AsSpan(list146); - span57[0] = null; - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list146; - reference102 = questStep10; - ref QuestStep reference103 = ref span53[4]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 2001981u, new Vector3(-78.93494f, 26.474365f, -350.08777f), 146); - num3 = 6; - List list147 = new List(num3); - CollectionsMarshal.SetCount(list147, num3); - Span span58 = CollectionsMarshal.AsSpan(list147); - span58[0] = null; - span58[1] = null; - span58[2] = null; - span58[3] = null; - span58[4] = null; - span58[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list147; - reference103 = questStep11; - ref QuestStep reference104 = ref span53[5]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1007616u, new Vector3(-98.77167f, 26.161106f, -341.3291f), 146); - num3 = 6; - List list148 = new List(num3); - CollectionsMarshal.SetCount(list148, num3); - Span span59 = CollectionsMarshal.AsSpan(list148); - span59[0] = null; - span59[1] = null; - span59[2] = null; - span59[3] = null; - span59[4] = null; - span59[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list148; - reference104 = questStep12; - obj91.Steps = list142; - reference98 = obj91; - ref QuestSequence reference105 = ref span52[2]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.Interact, 1006215u, new Vector3(-227.34424f, 26.16842f, -352.98694f), 146); - obj93.Steps = list149; - reference105 = obj93; - ref QuestSequence reference106 = ref span52[3]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1006230u, new Vector3(34.89734f, 3.3969688f, -343.70947f), 146) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj94.Steps = list150; - reference106 = obj94; - ref QuestSequence reference107 = ref span52[4]; - QuestSequence obj95 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006215u, new Vector3(-227.34424f, 26.16842f, -352.98694f), 146); - obj95.Steps = list151; - reference107 = obj95; - questRoot22.QuestSequence = list140; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(783); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list152 = new List(num); - CollectionsMarshal.SetCount(list152, num); - CollectionsMarshal.AsSpan(list152)[0] = "JerryWester"; - questRoot23.Author = list152; - num = 2; - List list153 = new List(num); - CollectionsMarshal.SetCount(list153, num); - Span span60 = CollectionsMarshal.AsSpan(list153); - ref QuestSequence reference108 = ref span60[0]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006215u, new Vector3(-227.34424f, 26.16842f, -352.98694f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj96.Steps = list154; - reference108 = obj96; - ref QuestSequence reference109 = ref span60[1]; - QuestSequence obj97 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - Span span61 = CollectionsMarshal.AsSpan(list155); - span61[0] = new QuestStep(EInteractionType.UseItem, null, null, 128) - { - ItemId = 30362u - }; - span61[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span61[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.91858f, 17.990356f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span61[3] = new QuestStep(EInteractionType.Interact, 2001715u, new Vector3(23.23944f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212 - }; - span61[4] = new QuestStep(EInteractionType.CompleteQuest, 1006688u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj97.Steps = list155; - reference109 = obj97; - questRoot23.QuestSequence = list153; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(786); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list156 = new List(num); - CollectionsMarshal.SetCount(list156, num); - CollectionsMarshal.AsSpan(list156)[0] = "JerryWester"; - questRoot24.Author = list156; - num = 3; - List list157 = new List(num); - CollectionsMarshal.SetCount(list157, num); - Span span62 = CollectionsMarshal.AsSpan(list157); - ref QuestSequence reference110 = ref span62[0]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006242u, new Vector3(16.403442f, -44.865616f, 264.54565f), 154) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj98.Steps = list158; - reference110 = obj98; - ref QuestSequence reference111 = ref span62[1]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - ref QuestStep reference112 = ref CollectionsMarshal.AsSpan(list159)[0]; - QuestStep obj100 = new QuestStep(EInteractionType.Combat, 2001982u, new Vector3(-260.0901f, -56.38214f, 307.60657f), 154) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list160 = new List(num3); - CollectionsMarshal.SetCount(list160, num3); - CollectionsMarshal.AsSpan(list160)[0] = 1899u; - obj100.KillEnemyDataIds = list160; - reference112 = obj100; - obj99.Steps = list159; - reference111 = obj99; - ref QuestSequence reference113 = ref span62[2]; - QuestSequence obj101 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006242u, new Vector3(16.403442f, -44.865616f, 264.54565f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj101.Steps = list161; - reference113 = obj101; - questRoot24.QuestSequence = list157; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(787); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list162 = new List(num); - CollectionsMarshal.SetCount(list162, num); - CollectionsMarshal.AsSpan(list162)[0] = "JerryWester"; - questRoot25.Author = list162; - num = 4; - List list163 = new List(num); - CollectionsMarshal.SetCount(list163, num); - Span span63 = CollectionsMarshal.AsSpan(list163); - ref QuestSequence reference114 = ref span63[0]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006241u, new Vector3(17.349426f, -44.86564f, 262.745f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj102.Steps = list164; - reference114 = obj102; - ref QuestSequence reference115 = ref span63[1]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - Span span64 = CollectionsMarshal.AsSpan(list165); - span64[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.058176f, -40.87435f, 233.34166f), 154); - span64[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-195.16211f, -63.65229f, 370.28903f), 154); - span64[2] = new QuestStep(EInteractionType.UseItem, null, new Vector3(-222.67735f, -66.345436f, 396.86935f), 154) - { - ItemId = 2000616u, - GroundTarget = true - }; - obj103.Steps = list165; - reference115 = obj103; - ref QuestSequence reference116 = ref span63[2]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - Span span65 = CollectionsMarshal.AsSpan(list166); - ref QuestStep reference117 = ref span65[0]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 2001988u, new Vector3(-217.97516f, -66.086914f, 389.9137f), 154); - num3 = 6; - List list167 = new List(num3); - CollectionsMarshal.SetCount(list167, num3); - Span span66 = CollectionsMarshal.AsSpan(list167); - span66[0] = null; - span66[1] = null; - span66[2] = null; - span66[3] = null; - span66[4] = null; - span66[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list167; - reference117 = questStep13; - ref QuestStep reference118 = ref span65[1]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 2001986u, new Vector3(-219.71472f, -65.90375f, 383.3523f), 154); - num3 = 6; - List list168 = new List(num3); - CollectionsMarshal.SetCount(list168, num3); - Span span67 = CollectionsMarshal.AsSpan(list168); - span67[0] = null; - span67[1] = null; - span67[2] = null; - span67[3] = null; - span67[4] = null; - span67[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list168; - reference118 = questStep14; - ref QuestStep reference119 = ref span65[2]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 2001987u, new Vector3(-217.97516f, -65.20184f, 376.3026f), 154); - num3 = 6; - List list169 = new List(num3); - CollectionsMarshal.SetCount(list169, num3); - Span span68 = CollectionsMarshal.AsSpan(list169); - span68[0] = null; - span68[1] = null; - span68[2] = null; - span68[3] = null; - span68[4] = null; - span68[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list169; - reference119 = questStep15; - ref QuestStep reference120 = ref span65[3]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 2001985u, new Vector3(-233.02057f, -66.453064f, 378.95776f), 154); - num3 = 6; - List list170 = new List(num3); - CollectionsMarshal.SetCount(list170, num3); - Span span69 = CollectionsMarshal.AsSpan(list170); - span69[0] = null; - span69[1] = null; - span69[2] = null; - span69[3] = null; - span69[4] = null; - span69[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list170; - reference120 = questStep16; - ref QuestStep reference121 = ref span65[4]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 2001984u, new Vector3(-230.33496f, -66.819336f, 388.93713f), 154); - num3 = 6; - List list171 = new List(num3); - CollectionsMarshal.SetCount(list171, num3); - Span span70 = CollectionsMarshal.AsSpan(list171); - span70[0] = null; - span70[1] = null; - span70[2] = null; - span70[3] = null; - span70[4] = null; - span70[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list171; - reference121 = questStep17; - obj104.Steps = list166; - reference116 = obj104; - ref QuestSequence reference122 = ref span63[3]; - QuestSequence obj105 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006241u, new Vector3(17.349426f, -44.86564f, 262.745f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj105.Steps = list172; - reference122 = obj105; - questRoot25.QuestSequence = list163; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(788); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list173 = new List(num); - CollectionsMarshal.SetCount(list173, num); - CollectionsMarshal.AsSpan(list173)[0] = "croizat"; - questRoot26.Author = list173; - num = 3; - List list174 = new List(num); - CollectionsMarshal.SetCount(list174, num); - Span span71 = CollectionsMarshal.AsSpan(list174); - ref QuestSequence reference123 = ref span71[0]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006245u, new Vector3(4.9591064f, -46.518017f, 248.49304f), 154); - obj106.Steps = list175; - reference123 = obj106; - ref QuestSequence reference124 = ref span71[1]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - Span span72 = CollectionsMarshal.AsSpan(list176); - span72[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-223.82947f, -28.139849f, 261.55243f), 154); - span72[1] = new QuestStep(EInteractionType.Interact, 2001989u, new Vector3(-211.841f, -27.878296f, 261.8601f), 154) - { - DisableNavmesh = true - }; - obj107.Steps = list176; - reference124 = obj107; - ref QuestSequence reference125 = ref span71[2]; - QuestSequence obj108 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002804u, new Vector3(-26.260803f, -40.705082f, 172.74731f), 154) - { - NextQuestId = new QuestId(792) - }; - obj108.Steps = list177; - reference125 = obj108; - questRoot26.QuestSequence = list174; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(789); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list178 = new List(num); - CollectionsMarshal.SetCount(list178, num); - CollectionsMarshal.AsSpan(list178)[0] = "croizat"; - questRoot27.Author = list178; - num = 2; - List list179 = new List(num); - CollectionsMarshal.SetCount(list179, num); - Span span73 = CollectionsMarshal.AsSpan(list179); - ref QuestSequence reference126 = ref span73[0]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002779u, new Vector3(-34.470154f, -40.466434f, 221.02686f), 154); - obj109.Steps = list180; - reference126 = obj109; - ref QuestSequence reference127 = ref span73[1]; - QuestSequence obj110 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006371u, new Vector3(-301.04523f, -13.60442f, 198.44348f), 154); - obj110.Steps = list181; - reference127 = obj110; - questRoot27.QuestSequence = list179; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(792); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list182 = new List(num); - CollectionsMarshal.SetCount(list182, num); - CollectionsMarshal.AsSpan(list182)[0] = "croizat"; - questRoot28.Author = list182; - num = 3; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - Span span74 = CollectionsMarshal.AsSpan(list183); - ref QuestSequence reference128 = ref span74[0]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - CollectionsMarshal.AsSpan(list184)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002804u, new Vector3(-26.260803f, -40.705082f, 172.74731f), 154); - obj111.Steps = list184; - reference128 = obj111; - ref QuestSequence reference129 = ref span74[1]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - Span span75 = CollectionsMarshal.AsSpan(list185); - span75[0] = new QuestStep(EInteractionType.UseItem, 2001993u, new Vector3(-37.644104f, -39.749817f, 175.03625f), 154) - { - ItemId = 2000623u - }; - span75[1] = new QuestStep(EInteractionType.UseItem, 2001994u, new Vector3(-35.690857f, -33.676758f, 167.80347f), 154) - { - ItemId = 2000623u - }; - obj112.Steps = list185; - reference129 = obj112; - ref QuestSequence reference130 = ref span74[2]; - QuestSequence obj113 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002804u, new Vector3(-26.260803f, -40.705082f, 172.74731f), 154) - { - NextQuestId = new QuestId(793) - }; - obj113.Steps = list186; - reference130 = obj113; - questRoot28.QuestSequence = list183; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(793); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list187 = new List(num); - CollectionsMarshal.SetCount(list187, num); - CollectionsMarshal.AsSpan(list187)[0] = "croizat"; - questRoot29.Author = list187; - num = 4; - List list188 = new List(num); - CollectionsMarshal.SetCount(list188, num); - Span span76 = CollectionsMarshal.AsSpan(list188); - ref QuestSequence reference131 = ref span76[0]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002804u, new Vector3(-26.260803f, -40.705082f, 172.74731f), 154); - obj114.Steps = list189; - reference131 = obj114; - ref QuestSequence reference132 = ref span76[1]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - ref QuestStep reference133 = ref CollectionsMarshal.AsSpan(list190)[0]; - QuestStep obj116 = new QuestStep(EInteractionType.Combat, null, new Vector3(-106.12237f, -51.697598f, 386.2573f), 154) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list191 = new List(num3); - CollectionsMarshal.SetCount(list191, num3); - CollectionsMarshal.AsSpan(list191)[0] = new ComplexCombatData - { - DataId = 17u, - MinimumKillCount = 1u - }; - obj116.ComplexCombatData = list191; - reference133 = obj116; - obj115.Steps = list190; - reference132 = obj115; - ref QuestSequence reference134 = ref span76[2]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.Interact, 1006249u, new Vector3(-107.31671f, -52.25655f, 390.49353f), 154); - obj117.Steps = list192; - reference134 = obj117; - ref QuestSequence reference135 = ref span76[3]; - QuestSequence obj118 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002804u, new Vector3(-26.260803f, -40.705082f, 172.74731f), 154) - { - NextQuestId = new QuestId(796) - }; - obj118.Steps = list193; - reference135 = obj118; - questRoot29.QuestSequence = list188; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(794); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - CollectionsMarshal.AsSpan(list194)[0] = "croizat"; - questRoot30.Author = list194; - num = 3; - List list195 = new List(num); - CollectionsMarshal.SetCount(list195, num); - Span span77 = CollectionsMarshal.AsSpan(list195); - ref QuestSequence reference136 = ref span77[0]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002800u, new Vector3(-23.727844f, -40.250828f, 174.88354f), 154); - obj119.Steps = list196; - reference136 = obj119; - ref QuestSequence reference137 = ref span77[1]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.Interact, 1006251u, new Vector3(-56.839844f, -43.544834f, 353.5973f), 154); - obj120.Steps = list197; - reference137 = obj120; - ref QuestSequence reference138 = ref span77[2]; - QuestSequence obj121 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - CollectionsMarshal.AsSpan(list198)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002800u, new Vector3(-23.727844f, -40.250828f, 174.88354f), 154) - { - NextQuestId = new QuestId(795) - }; - obj121.Steps = list198; - reference138 = obj121; - questRoot30.QuestSequence = list195; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(795); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list199 = new List(num); - CollectionsMarshal.SetCount(list199, num); - CollectionsMarshal.AsSpan(list199)[0] = "croizat"; - questRoot31.Author = list199; - num = 3; - List list200 = new List(num); - CollectionsMarshal.SetCount(list200, num); - Span span78 = CollectionsMarshal.AsSpan(list200); - ref QuestSequence reference139 = ref span78[0]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002800u, new Vector3(-23.727844f, -40.250828f, 174.88354f), 154); - obj122.Steps = list201; - reference139 = obj122; - ref QuestSequence reference140 = ref span78[1]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.Interact, 2001995u, new Vector3(23.483582f, -45.609253f, 445.45654f), 154); - obj123.Steps = list202; - reference140 = obj123; - ref QuestSequence reference141 = ref span78[2]; - QuestSequence obj124 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002800u, new Vector3(-23.727844f, -40.250828f, 174.88354f), 154); - obj124.Steps = list203; - reference141 = obj124; - questRoot31.QuestSequence = list200; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(796); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list204 = new List(num); - CollectionsMarshal.SetCount(list204, num); - CollectionsMarshal.AsSpan(list204)[0] = "croizat"; - questRoot32.Author = list204; - num = 3; - List list205 = new List(num); - CollectionsMarshal.SetCount(list205, num); - Span span79 = CollectionsMarshal.AsSpan(list205); - ref QuestSequence reference142 = ref span79[0]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002804u, new Vector3(-26.260803f, -40.705082f, 172.74731f), 154); - obj125.Steps = list206; - reference142 = obj125; - ref QuestSequence reference143 = ref span79[1]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - Span span80 = CollectionsMarshal.AsSpan(list207); - span80[0] = new QuestStep(EInteractionType.Interact, 1006253u, new Vector3(-251.6366f, -31.279873f, 383.62695f), 154); - span80[1] = new QuestStep(EInteractionType.Interact, 1006258u, new Vector3(-246.479f, -31.537203f, 392.5382f), 154); - span80[2] = new QuestStep(EInteractionType.Interact, 1006254u, new Vector3(-244.52588f, -31.265808f, 392.3551f), 154); - obj126.Steps = list207; - reference143 = obj126; - ref QuestSequence reference144 = ref span79[2]; - QuestSequence obj127 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002804u, new Vector3(-26.260803f, -40.705082f, 172.74731f), 154); - obj127.Steps = list208; - reference144 = obj127; - questRoot32.QuestSequence = list205; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(797); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list209 = new List(num); - CollectionsMarshal.SetCount(list209, num); - CollectionsMarshal.AsSpan(list209)[0] = "croizat"; - questRoot33.Author = list209; - num = 3; - List list210 = new List(num); - CollectionsMarshal.SetCount(list210, num); - Span span81 = CollectionsMarshal.AsSpan(list210); - ref QuestSequence reference145 = ref span81[0]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - CollectionsMarshal.AsSpan(list211)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006258u, new Vector3(-246.479f, -31.537203f, 392.5382f), 154); - obj128.Steps = list211; - reference145 = obj128; - ref QuestSequence reference146 = ref span81[1]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - ref QuestStep reference147 = ref CollectionsMarshal.AsSpan(list212)[0]; - QuestStep obj130 = new QuestStep(EInteractionType.Combat, null, new Vector3(-218.99034f, -30.112806f, 339.3762f), 154) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list213 = new List(num3); - CollectionsMarshal.SetCount(list213, num3); - CollectionsMarshal.AsSpan(list213)[0] = new ComplexCombatData - { - DataId = 2266u, - MinimumKillCount = 2u, - RewardItemId = 2000628u - }; - obj130.ComplexCombatData = list213; - obj130.CombatItemUse = new CombatItemUse - { - ItemId = 2000627u, - Condition = ECombatItemUseCondition.HealthPercent, - Value = 50 - }; - reference147 = obj130; - obj129.Steps = list212; - reference146 = obj129; - ref QuestSequence reference148 = ref span81[2]; - QuestSequence obj131 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006258u, new Vector3(-246.479f, -31.537203f, 392.5382f), 154) - { - NextQuestId = new QuestId(798) - }; - obj131.Steps = list214; - reference148 = obj131; - questRoot33.QuestSequence = list210; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(798); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list215 = new List(num); - CollectionsMarshal.SetCount(list215, num); - CollectionsMarshal.AsSpan(list215)[0] = "croizat"; - questRoot34.Author = list215; - num = 3; - List list216 = new List(num); - CollectionsMarshal.SetCount(list216, num); - Span span82 = CollectionsMarshal.AsSpan(list216); - ref QuestSequence reference149 = ref span82[0]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006258u, new Vector3(-246.479f, -31.537203f, 392.5382f), 154); - obj132.Steps = list217; - reference149 = obj132; - ref QuestSequence reference150 = ref span82[1]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - Span span83 = CollectionsMarshal.AsSpan(list218); - ref QuestStep reference151 = ref span83[0]; - QuestStep obj134 = new QuestStep(EInteractionType.UseItem, 2001996u, new Vector3(-213.39746f, -37.94922f, 265.4917f), 154) - { - ItemId = 2000629u - }; - num3 = 6; - List list219 = new List(num3); - CollectionsMarshal.SetCount(list219, num3); - Span span84 = CollectionsMarshal.AsSpan(list219); - span84[0] = null; - span84[1] = null; - span84[2] = null; - span84[3] = null; - span84[4] = null; - span84[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj134.CompletionQuestVariablesFlags = list219; - reference151 = obj134; - ref QuestStep reference152 = ref span83[1]; - QuestStep obj135 = new QuestStep(EInteractionType.UseItem, 2001997u, new Vector3(-209.03339f, -42.37433f, 248.67627f), 154) - { - ItemId = 2000629u - }; - num3 = 6; - List list220 = new List(num3); - CollectionsMarshal.SetCount(list220, num3); - Span span85 = CollectionsMarshal.AsSpan(list220); - span85[0] = null; - span85[1] = null; - span85[2] = null; - span85[3] = null; - span85[4] = null; - span85[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj135.CompletionQuestVariablesFlags = list220; - reference152 = obj135; - ref QuestStep reference153 = ref span83[2]; - QuestStep obj136 = new QuestStep(EInteractionType.UseItem, 2001998u, new Vector3(-247.66925f, -43.38141f, 268.48242f), 154) - { - ItemId = 2000629u - }; - num3 = 6; - List list221 = new List(num3); - CollectionsMarshal.SetCount(list221, num3); - Span span86 = CollectionsMarshal.AsSpan(list221); - span86[0] = null; - span86[1] = null; - span86[2] = null; - span86[3] = null; - span86[4] = null; - span86[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj136.CompletionQuestVariablesFlags = list221; - reference153 = obj136; - obj133.Steps = list218; - reference150 = obj133; - ref QuestSequence reference154 = ref span82[2]; - QuestSequence obj137 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - CollectionsMarshal.AsSpan(list222)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006258u, new Vector3(-246.479f, -31.537203f, 392.5382f), 154); - obj137.Steps = list222; - reference154 = obj137; - questRoot34.QuestSequence = list216; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(799); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list223 = new List(num); - CollectionsMarshal.SetCount(list223, num); - CollectionsMarshal.AsSpan(list223)[0] = "JerryWester"; - questRoot35.Author = list223; - num = 3; - List list224 = new List(num); - CollectionsMarshal.SetCount(list224, num); - Span span87 = CollectionsMarshal.AsSpan(list224); - ref QuestSequence reference155 = ref span87[0]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006240u, new Vector3(14.389221f, -44.86571f, 262.65344f), 154) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj138.Steps = list225; - reference155 = obj138; - ref QuestSequence reference156 = ref span87[1]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - Span span88 = CollectionsMarshal.AsSpan(list226); - ref QuestStep reference157 = ref span88[0]; - QuestStep obj140 = new QuestStep(EInteractionType.Combat, 1007541u, new Vector3(-302.8459f, -51.768955f, 331.19702f), 154) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list227 = new List(num3); - CollectionsMarshal.SetCount(list227, num3); - CollectionsMarshal.AsSpan(list227)[0] = 182u; - obj140.KillEnemyDataIds = list227; - reference157 = obj140; - span88[1] = new QuestStep(EInteractionType.Interact, 1007541u, new Vector3(-302.8459f, -51.768955f, 331.19702f), 154); - obj139.Steps = list226; - reference156 = obj139; - ref QuestSequence reference158 = ref span87[2]; - QuestSequence obj141 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002780u, new Vector3(-89.79938f, -45.331406f, 195.88f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj141.Steps = list228; - reference158 = obj141; - questRoot35.QuestSequence = list224; - AddQuest(questId35, questRoot35); - } - - private static void LoadQuests16() - { - QuestId questId = new QuestId(800); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "JerryWester"; - questRoot.Author = list; - num = 5; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002780u, new Vector3(-89.79938f, -45.331406f, 195.88f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1000146u, new Vector3(49.79016f, -1.4669685f, 51.743286f), 132); - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Interact, 1000248u, new Vector3(143.05322f, 14.250365f, -250.72101f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - } - }; - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006263u, new Vector3(36.819946f, 16.351469f, -334.5846f), 133); - obj5.Steps = list7; - reference5 = obj5; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(801); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - CollectionsMarshal.AsSpan(list8)[0] = "JerryWester"; - questRoot2.Author = list8; - num = 6; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - Span span2 = CollectionsMarshal.AsSpan(list9); - ref QuestSequence reference6 = ref span2[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006263u, new Vector3(36.819946f, 16.351469f, -334.5846f), 133); - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span2[1]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - Span span3 = CollectionsMarshal.AsSpan(list11); - span3[0] = new QuestStep(EInteractionType.AcceptQuest, 1006259u, new Vector3(43.808594f, 2.5499606f, 21.683044f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - PickUpQuestId = new QuestId(802) - }; - span3[1] = new QuestStep(EInteractionType.Interact, 1000171u, new Vector3(-114.366455f, -7.351947f, 94.52954f), 132) - { - TargetTerritoryId = (ushort)148 - }; - span3[2] = new QuestStep(EInteractionType.Interact, 2001999u, new Vector3(-576.1349f, 68.13147f, 69.41321f), 148); - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span2[2]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - ref QuestStep reference9 = ref CollectionsMarshal.AsSpan(list12)[0]; - QuestStep questStep = new QuestStep(EInteractionType.Duty, null, null, 148); - DutyOptions obj9 = new DutyOptions - { - ContentFinderConditionId = 6u - }; - int num3 = 1; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - CollectionsMarshal.AsSpan(list13)[0] = "(after boss 2) Will not pick up the bloody parchment, and instead run off to open a random unrelated chest that it can't reach"; - obj9.Notes = list13; - questStep.DutyOptions = obj9; - reference9 = questStep; - obj8.Steps = list12; - reference8 = obj8; - span2[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference10 = ref span2[4]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.Interact, 1006263u, new Vector3(36.819946f, 16.351469f, -334.5846f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - } - }; - obj10.Steps = list14; - reference10 = obj10; - ref QuestSequence reference11 = ref span2[5]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - Span span4 = CollectionsMarshal.AsSpan(list15); - span4[0] = new QuestStep(EInteractionType.UseItem, null, null, 128) - { - ItemId = 30362u - }; - span4[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span4[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.91858f, 17.990356f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span4[3] = new QuestStep(EInteractionType.Interact, 2001715u, new Vector3(23.23944f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212 - }; - span4[4] = new QuestStep(EInteractionType.CompleteQuest, 1006688u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj11.Steps = list15; - reference11 = obj11; - questRoot2.QuestSequence = list9; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(802); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - CollectionsMarshal.AsSpan(list16)[0] = "liza"; - questRoot3.Author = list16; - num = 2; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - Span span5 = CollectionsMarshal.AsSpan(list17); - ref QuestSequence reference12 = ref span5[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006259u, new Vector3(43.808594f, 2.5499606f, 21.683044f), 132); - obj12.Steps = list18; - reference12 = obj12; - ref QuestSequence reference13 = ref span5[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000171u, new Vector3(-114.366455f, -7.351947f, 94.52954f), 132); - obj13.Steps = list19; - reference13 = obj13; - questRoot3.QuestSequence = list17; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(804); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - CollectionsMarshal.AsSpan(list20)[0] = "liza"; - questRoot4.Author = list20; - num = 3; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - Span span6 = CollectionsMarshal.AsSpan(list21); - ref QuestSequence reference14 = ref span6[0]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - Span span7 = CollectionsMarshal.AsSpan(list22); - span7[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-243.19783f, 58.69102f, -140.41818f), 148) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span7[1] = new QuestStep(EInteractionType.AcceptQuest, 1006261u, new Vector3(-244.73944f, 58.69352f, -140.06262f), 148); - obj14.Steps = list22; - reference14 = obj14; - ref QuestSequence reference15 = ref span6[1]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - ref QuestStep reference16 = ref CollectionsMarshal.AsSpan(list23)[0]; - QuestStep obj16 = new QuestStep(EInteractionType.Combat, null, new Vector3(-294.20667f, 61.58862f, -192.54443f), 148) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - ref ComplexCombatData reference17 = ref CollectionsMarshal.AsSpan(list24)[0]; - ComplexCombatData obj17 = new ComplexCombatData - { - DataId = 48u - }; - int num4 = 6; - List list25 = new List(num4); - CollectionsMarshal.SetCount(list25, num4); - Span span8 = CollectionsMarshal.AsSpan(list25); - span8[0] = null; - span8[1] = new QuestWorkValue((byte)5, null, EQuestWorkMode.Bitwise); - span8[2] = null; - span8[3] = null; - span8[4] = null; - span8[5] = null; - obj17.CompletionQuestVariablesFlags = list25; - reference17 = obj17; - obj16.ComplexCombatData = list24; - num3 = 6; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - Span span9 = CollectionsMarshal.AsSpan(list26); - span9[0] = null; - span9[1] = new QuestWorkValue((byte)5, null, EQuestWorkMode.Bitwise); - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = null; - obj16.CompletionQuestVariablesFlags = list26; - reference16 = obj16; - obj15.Steps = list23; - reference15 = obj15; - ref QuestSequence reference18 = ref span6[2]; - QuestSequence obj18 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - Span span10 = CollectionsMarshal.AsSpan(list27); - span10[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-243.19783f, 58.69102f, -140.41818f), 148) - { - Fly = true - }; - span10[1] = new QuestStep(EInteractionType.CompleteQuest, 1006261u, new Vector3(-244.73944f, 58.69352f, -140.06262f), 148) - { - NextQuestId = new QuestId(805) - }; - obj18.Steps = list27; - reference18 = obj18; - questRoot4.QuestSequence = list21; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(805); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - CollectionsMarshal.AsSpan(list28)[0] = "liza"; - questRoot5.Author = list28; - num = 3; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - Span span11 = CollectionsMarshal.AsSpan(list29); - ref QuestSequence reference19 = ref span11[0]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - Span span12 = CollectionsMarshal.AsSpan(list30); - span12[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-243.19783f, 58.69102f, -140.41818f), 148) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span12[1] = new QuestStep(EInteractionType.AcceptQuest, 1006261u, new Vector3(-244.73944f, 58.69352f, -140.06262f), 148); - obj19.Steps = list30; - reference19 = obj19; - ref QuestSequence reference20 = ref span11[1]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - ref QuestStep reference21 = ref CollectionsMarshal.AsSpan(list31)[0]; - QuestStep obj21 = new QuestStep(EInteractionType.Combat, null, new Vector3(-291.6655f, 60.450222f, -163.48296f), 148) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - CollectionsMarshal.AsSpan(list32)[0] = new ComplexCombatData - { - DataId = 2267u - }; - obj21.ComplexCombatData = list32; - obj21.CombatItemUse = new CombatItemUse - { - ItemId = 2000632u, - Condition = ECombatItemUseCondition.HealthPercent, - Value = 50 - }; - reference21 = obj21; - obj20.Steps = list31; - reference20 = obj20; - ref QuestSequence reference22 = ref span11[2]; - QuestSequence obj22 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - Span span13 = CollectionsMarshal.AsSpan(list33); - span13[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-243.19783f, 58.69102f, -140.41818f), 148) - { - Fly = true - }; - span13[1] = new QuestStep(EInteractionType.CompleteQuest, 1006261u, new Vector3(-244.73944f, 58.69352f, -140.06262f), 148) - { - NextQuestId = new QuestId(807) - }; - obj22.Steps = list33; - reference22 = obj22; - questRoot5.QuestSequence = list29; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(806); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - CollectionsMarshal.AsSpan(list34)[0] = "croizat"; - questRoot6.Author = list34; - num = 3; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - Span span14 = CollectionsMarshal.AsSpan(list35); - ref QuestSequence reference23 = ref span14[0]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006262u, new Vector3(-243.7019f, 58.71083f, -141.49695f), 148); - obj23.Steps = list36; - reference23 = obj23; - ref QuestSequence reference24 = ref span14[1]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - Span span15 = CollectionsMarshal.AsSpan(list37); - span15[0] = new QuestStep(EInteractionType.Interact, 2002003u, new Vector3(-408.80444f, 49.149292f, 12.283508f), 148); - span15[1] = new QuestStep(EInteractionType.Interact, 2002005u, new Vector3(-376.45538f, 51.0719f, 46.860474f), 148); - span15[2] = new QuestStep(EInteractionType.Interact, 2002004u, new Vector3(-399.4049f, 51.04138f, 76.00513f), 148); - obj24.Steps = list37; - reference24 = obj24; - ref QuestSequence reference25 = ref span14[2]; - QuestSequence obj25 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006262u, new Vector3(-243.7019f, 58.71083f, -141.49695f), 148); - obj25.Steps = list38; - reference25 = obj25; - questRoot6.QuestSequence = list35; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(807); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - CollectionsMarshal.AsSpan(list39)[0] = "liza"; - questRoot7.Author = list39; - num = 3; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - Span span16 = CollectionsMarshal.AsSpan(list40); - ref QuestSequence reference26 = ref span16[0]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - Span span17 = CollectionsMarshal.AsSpan(list41); - span17[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-243.19783f, 58.69102f, -140.41818f), 148) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span17[1] = new QuestStep(EInteractionType.AcceptQuest, 1006261u, new Vector3(-244.73944f, 58.69352f, -140.06262f), 148); - obj26.Steps = list41; - reference26 = obj26; - ref QuestSequence reference27 = ref span16[1]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - ref QuestStep reference28 = ref CollectionsMarshal.AsSpan(list42)[0]; - QuestStep obj28 = new QuestStep(EInteractionType.Combat, null, new Vector3(-327.70383f, 57.159073f, -13.640016f), 148) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - CollectionsMarshal.AsSpan(list43)[0] = new ComplexCombatData - { - DataId = 2193u, - NameId = 2057u - }; - obj28.ComplexCombatData = list43; - obj28.CombatItemUse = new CombatItemUse - { - ItemId = 2000958u, - Condition = ECombatItemUseCondition.MissingStatus, - Value = 22 - }; - reference28 = obj28; - obj27.Steps = list42; - reference27 = obj27; - ref QuestSequence reference29 = ref span16[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - Span span18 = CollectionsMarshal.AsSpan(list44); - span18[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-243.19783f, 58.69102f, -140.41818f), 148) - { - Fly = true - }; - span18[1] = new QuestStep(EInteractionType.CompleteQuest, 1006261u, new Vector3(-244.73944f, 58.69352f, -140.06262f), 148) - { - NextQuestId = new QuestId(1485) - }; - obj29.Steps = list44; - reference29 = obj29; - questRoot7.QuestSequence = list40; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(809); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - CollectionsMarshal.AsSpan(list45)[0] = "JerryWester"; - questRoot8.Author = list45; - num = 3; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - Span span19 = CollectionsMarshal.AsSpan(list46); - ref QuestSequence reference30 = ref span19[0]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006264u, new Vector3(710.90247f, 66.027f, -277.66846f), 135); - obj30.Steps = list47; - reference30 = obj30; - ref QuestSequence reference31 = ref span19[1]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - ref QuestStep reference32 = ref CollectionsMarshal.AsSpan(list48)[0]; - QuestStep obj32 = new QuestStep(EInteractionType.Combat, 2002033u, new Vector3(671.1986f, 64.37781f, -205.24915f), 135) - { - StopDistance = 0.25f, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - Span span20 = CollectionsMarshal.AsSpan(list49); - span20[0] = 2239u; - span20[1] = 2240u; - obj32.KillEnemyDataIds = list49; - reference32 = obj32; - obj31.Steps = list48; - reference31 = obj31; - ref QuestSequence reference33 = ref span19[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - Span span21 = CollectionsMarshal.AsSpan(list50); - span21[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(674.84393f, 64.118355f, -203.85042f), 135); - span21[1] = new QuestStep(EInteractionType.CompleteQuest, 1006264u, new Vector3(710.90247f, 66.027f, -277.66846f), 135); - obj33.Steps = list50; - reference33 = obj33; - questRoot8.QuestSequence = list46; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(810); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - CollectionsMarshal.AsSpan(list51)[0] = "JerryWester"; - questRoot9.Author = list51; - num = 3; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - Span span22 = CollectionsMarshal.AsSpan(list52); - ref QuestSequence reference34 = ref span22[0]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006264u, new Vector3(710.90247f, 66.027f, -277.66846f), 135); - obj34.Steps = list53; - reference34 = obj34; - ref QuestSequence reference35 = ref span22[1]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - ref QuestStep reference36 = ref CollectionsMarshal.AsSpan(list54)[0]; - QuestStep obj36 = new QuestStep(EInteractionType.Combat, 2002034u, new Vector3(646.1432f, 67.46008f, -263.38605f), 135) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list55 = new List(num3); - CollectionsMarshal.SetCount(list55, num3); - CollectionsMarshal.AsSpan(list55)[0] = 1900u; - obj36.KillEnemyDataIds = list55; - reference36 = obj36; - obj35.Steps = list54; - reference35 = obj35; - ref QuestSequence reference37 = ref span22[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006264u, new Vector3(710.90247f, 66.027f, -277.66846f), 135); - obj37.Steps = list56; - reference37 = obj37; - questRoot9.QuestSequence = list52; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(811); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - CollectionsMarshal.AsSpan(list57)[0] = "JerryWester"; - questRoot10.Author = list57; - num = 3; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - Span span23 = CollectionsMarshal.AsSpan(list58); - ref QuestSequence reference38 = ref span23[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006264u, new Vector3(710.90247f, 66.027f, -277.66846f), 135); - obj38.Steps = list59; - reference38 = obj38; - ref QuestSequence reference39 = ref span23[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1006265u, new Vector3(703.5171f, 65.78333f, -288.77704f), 135) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj39.Steps = list60; - reference39 = obj39; - ref QuestSequence reference40 = ref span23[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - Span span24 = CollectionsMarshal.AsSpan(list61); - span24[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(696.00323f, 80.20443f, -391.9752f), 135) - { - TargetTerritoryId = (ushort)137 - }; - span24[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(378.54834f, 21.81276f, 478.4722f), 137); - span24[2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 137) - { - Aetheryte = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - span24[3] = new QuestStep(EInteractionType.CompleteQuest, 1006266u, new Vector3(560.35706f, 20.721315f, 455.89368f), 137); - obj40.Steps = list61; - reference40 = obj40; - questRoot10.QuestSequence = list58; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(812); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - CollectionsMarshal.AsSpan(list62)[0] = "JerryWester"; - questRoot11.Author = list62; - num = 4; - List list63 = new List(num); - CollectionsMarshal.SetCount(list63, num); - Span span25 = CollectionsMarshal.AsSpan(list63); - ref QuestSequence reference41 = ref span25[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006266u, new Vector3(560.35706f, 20.721315f, 455.89368f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj41.Steps = list64; - reference41 = obj41; - ref QuestSequence reference42 = ref span25[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.UseItem, 2002035u, new Vector3(666.6819f, 9.018005f, 509.6361f), 137) - { - ItemId = 2000636u - }; - obj42.Steps = list65; - reference42 = obj42; - ref QuestSequence reference43 = ref span25[2]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - ref QuestStep reference44 = ref CollectionsMarshal.AsSpan(list66)[0]; - QuestStep obj44 = new QuestStep(EInteractionType.Combat, 2002639u, new Vector3(652.2468f, 12.039368f, 519.8595f), 137) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - CollectionsMarshal.AsSpan(list67)[0] = 1887u; - obj44.KillEnemyDataIds = list67; - reference44 = obj44; - obj43.Steps = list66; - reference43 = obj43; - ref QuestSequence reference45 = ref span25[3]; - QuestSequence obj45 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006266u, new Vector3(560.35706f, 20.721315f, 455.89368f), 137); - obj45.Steps = list68; - reference45 = obj45; - questRoot11.QuestSequence = list63; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(814); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - CollectionsMarshal.AsSpan(list69)[0] = "JerryWester"; - questRoot12.Author = list69; - num = 2; - List list70 = new List(num); - CollectionsMarshal.SetCount(list70, num); - Span span26 = CollectionsMarshal.AsSpan(list70); - ref QuestSequence reference46 = ref span26[0]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006266u, new Vector3(560.35706f, 20.721315f, 455.89368f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj46.Steps = list71; - reference46 = obj46; - ref QuestSequence reference47 = ref span26[1]; - QuestSequence obj47 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006279u, new Vector3(-231.4336f, 21.512743f, 339.49792f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil - }; - obj47.Steps = list72; - reference47 = obj47; - questRoot12.QuestSequence = list70; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(817); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - CollectionsMarshal.AsSpan(list73)[0] = "croizat"; - questRoot13.Author = list73; - num = 3; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - Span span27 = CollectionsMarshal.AsSpan(list74); - ref QuestSequence reference48 = ref span27[0]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006283u, new Vector3(-230.94531f, 21.491573f, 338.2467f), 153); - obj48.Steps = list75; - reference48 = obj48; - ref QuestSequence reference49 = ref span27[1]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - Span span28 = CollectionsMarshal.AsSpan(list76); - ref QuestStep reference50 = ref span28[0]; - QuestStep obj50 = new QuestStep(EInteractionType.Combat, null, new Vector3(-230.93796f, 8.626011f, 640.6978f), 153) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - CollectionsMarshal.AsSpan(list77)[0] = 13u; - obj50.KillEnemyDataIds = list77; - reference50 = obj50; - span28[1] = new QuestStep(EInteractionType.Interact, 1006284u, new Vector3(-228.62598f, 8.514692f, 641.1687f), 153); - obj49.Steps = list76; - reference49 = obj49; - ref QuestSequence reference51 = ref span27[2]; - QuestSequence obj51 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006283u, new Vector3(-230.94531f, 21.491573f, 338.2467f), 153); - obj51.Steps = list78; - reference51 = obj51; - questRoot13.QuestSequence = list74; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(818); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - CollectionsMarshal.AsSpan(list79)[0] = "croizat"; - questRoot14.Author = list79; - num = 3; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - Span span29 = CollectionsMarshal.AsSpan(list80); - ref QuestSequence reference52 = ref span29[0]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002762u, new Vector3(-203.69275f, 20.975048f, 367.33044f), 153); - obj52.Steps = list81; - reference52 = obj52; - ref QuestSequence reference53 = ref span29[1]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - Span span30 = CollectionsMarshal.AsSpan(list82); - span30[0] = new QuestStep(EInteractionType.Interact, 2002040u, new Vector3(-207.38544f, 8.8349f, 372.21326f), 153); - ref QuestStep reference54 = ref span30[1]; - QuestStep obj54 = new QuestStep(EInteractionType.Combat, 2002041u, new Vector3(-188.83038f, 1.1443481f, 429.6482f), 153) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list83 = new List(num3); - CollectionsMarshal.SetCount(list83, num3); - CollectionsMarshal.AsSpan(list83)[0] = 302u; - obj54.KillEnemyDataIds = list83; - reference54 = obj54; - ref QuestStep reference55 = ref span30[2]; - QuestStep obj55 = new QuestStep(EInteractionType.Combat, 2002042u, new Vector3(-204.21149f, 0.41192627f, 471.00012f), 153) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - CollectionsMarshal.AsSpan(list84)[0] = 302u; - obj55.KillEnemyDataIds = list84; - reference55 = obj55; - obj53.Steps = list82; - reference53 = obj53; - ref QuestSequence reference56 = ref span29[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002762u, new Vector3(-203.69275f, 20.975048f, 367.33044f), 153); - obj56.Steps = list85; - reference56 = obj56; - questRoot14.QuestSequence = list80; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(821); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - CollectionsMarshal.AsSpan(list86)[0] = "JerryWester"; - questRoot15.Author = list86; - num = 4; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - Span span31 = CollectionsMarshal.AsSpan(list87); - ref QuestSequence reference57 = ref span31[0]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.AcceptQuest, 1004917u, new Vector3(-358.6328f, 8.469424f, 422.4154f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj57.Steps = list88; - reference57 = obj57; - ref QuestSequence reference58 = ref span31[1]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.UseItem, 2002044u, new Vector3(75.97461f, 2.090454f, 692.9884f), 146) - { - ItemId = 2000643u - }; - obj58.Steps = list89; - reference58 = obj58; - ref QuestSequence reference59 = ref span31[2]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - ref QuestStep reference60 = ref CollectionsMarshal.AsSpan(list90)[0]; - QuestStep obj60 = new QuestStep(EInteractionType.Combat, 2002045u, new Vector3(89.066895f, 3.189148f, 673.0906f), 146) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list91 = new List(num3); - CollectionsMarshal.SetCount(list91, num3); - CollectionsMarshal.AsSpan(list91)[0] = 1889u; - obj60.KillEnemyDataIds = list91; - reference60 = obj60; - obj59.Steps = list90; - reference59 = obj59; - ref QuestSequence reference61 = ref span31[3]; - QuestSequence obj61 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.CompleteQuest, 1004917u, new Vector3(-358.6328f, 8.469424f, 422.4154f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings - }; - obj61.Steps = list92; - reference61 = obj61; - questRoot15.QuestSequence = list87; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(822); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list93 = new List(num); - CollectionsMarshal.SetCount(list93, num); - CollectionsMarshal.AsSpan(list93)[0] = "JerryWester"; - questRoot16.Author = list93; - num = 5; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - Span span32 = CollectionsMarshal.AsSpan(list94); - ref QuestSequence reference62 = ref span32[0]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.AcceptQuest, 1004917u, new Vector3(-358.6328f, 8.469424f, 422.4154f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj62.Steps = list95; - reference62 = obj62; - ref QuestSequence reference63 = ref span32[1]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - ref QuestStep reference64 = ref CollectionsMarshal.AsSpan(list96)[0]; - QuestStep obj64 = new QuestStep(EInteractionType.Combat, null, new Vector3(-44.549854f, 7.3629045f, 405.72034f), 146) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list97 = new List(num3); - CollectionsMarshal.SetCount(list97, num3); - CollectionsMarshal.AsSpan(list97)[0] = new ComplexCombatData - { - DataId = 356u - }; - obj64.ComplexCombatData = list97; - reference64 = obj64; - obj63.Steps = list96; - reference63 = obj63; - ref QuestSequence reference65 = ref span32[2]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.UseItem, 2002046u, new Vector3(42.86255f, 18.783813f, 582.5436f), 146) - { - ItemId = 2000645u - }; - obj65.Steps = list98; - reference65 = obj65; - ref QuestSequence reference66 = ref span32[3]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - ref QuestStep reference67 = ref CollectionsMarshal.AsSpan(list99)[0]; - QuestStep obj67 = new QuestStep(EInteractionType.Combat, 2002576u, new Vector3(57.99951f, 21.011597f, 569.69543f), 146) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list100 = new List(num3); - CollectionsMarshal.SetCount(list100, num3); - CollectionsMarshal.AsSpan(list100)[0] = 1890u; - obj67.KillEnemyDataIds = list100; - reference67 = obj67; - obj66.Steps = list99; - reference66 = obj66; - ref QuestSequence reference68 = ref span32[4]; - QuestSequence obj68 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.CompleteQuest, 1004917u, new Vector3(-358.6328f, 8.469424f, 422.4154f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings - }; - obj68.Steps = list101; - reference68 = obj68; - questRoot16.QuestSequence = list94; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(823); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - CollectionsMarshal.AsSpan(list102)[0] = "liza"; - questRoot17.Author = list102; - num = 3; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - Span span33 = CollectionsMarshal.AsSpan(list103); - ref QuestSequence reference69 = ref span33[0]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006287u, new Vector3(-354.66547f, 8.469922f, 416.80017f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj69.Steps = list104; - reference69 = obj69; - ref QuestSequence reference70 = ref span33[1]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - Span span34 = CollectionsMarshal.AsSpan(list105); - span34[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-347.53528f, 8.5170555f, 420.7671f), 146) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - ref QuestStep reference71 = ref span34[1]; - QuestStep obj71 = new QuestStep(EInteractionType.Combat, null, new Vector3(-452.6925f, 7.386449f, 579.44867f), 146) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - CollectionsMarshal.AsSpan(list106)[0] = 356u; - obj71.KillEnemyDataIds = list106; - num3 = 6; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - Span span35 = CollectionsMarshal.AsSpan(list107); - span35[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = null; - obj71.CompletionQuestVariablesFlags = list107; - reference71 = obj71; - span34[2] = new QuestStep(EInteractionType.Interact, 1006289u, new Vector3(-454.36792f, 7.3196526f, 580.3158f), 146); - obj70.Steps = list105; - reference70 = obj70; - ref QuestSequence reference72 = ref span33[2]; - QuestSequence obj72 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - Span span36 = CollectionsMarshal.AsSpan(list108); - span36[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-347.53528f, 8.5170555f, 420.7671f), 146) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span36[1] = new QuestStep(EInteractionType.CompleteQuest, 1006287u, new Vector3(-354.66547f, 8.469922f, 416.80017f), 146); - obj72.Steps = list108; - reference72 = obj72; - questRoot17.QuestSequence = list103; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(829); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - CollectionsMarshal.AsSpan(list109)[0] = "liza"; - questRoot18.Author = list109; - num = 4; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - Span span37 = CollectionsMarshal.AsSpan(list110); - ref QuestSequence reference73 = ref span37[0]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006287u, new Vector3(-354.66547f, 8.469922f, 416.80017f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj73.Steps = list111; - reference73 = obj73; - ref QuestSequence reference74 = ref span37[1]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span38 = CollectionsMarshal.AsSpan(list112); - span38[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-347.53528f, 8.5170555f, 420.7671f), 146) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - ref QuestStep reference75 = ref span38[1]; - QuestStep obj75 = new QuestStep(EInteractionType.Combat, null, new Vector3(311.96396f, 7.342495f, 653.4828f), 146) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 3; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - Span span39 = CollectionsMarshal.AsSpan(list113); - span39[0] = 166u; - span39[1] = 168u; - span39[2] = 169u; - obj75.KillEnemyDataIds = list113; - reference75 = obj75; - obj74.Steps = list112; - reference74 = obj74; - ref QuestSequence reference76 = ref span37[2]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.Emote, 1006736u, new Vector3(300.2517f, 7.6367383f, 651.2396f), 146) - { - Emote = EEmote.Psych - }; - obj76.Steps = list114; - reference76 = obj76; - ref QuestSequence reference77 = ref span37[3]; - QuestSequence obj77 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006287u, new Vector3(-354.66547f, 8.469922f, 416.80017f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings - }; - obj77.Steps = list115; - reference77 = obj77; - questRoot18.QuestSequence = list110; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(830); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - CollectionsMarshal.AsSpan(list116)[0] = "skiaz"; - questRoot19.Author = list116; - num = 6; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - Span span40 = CollectionsMarshal.AsSpan(list117); - ref QuestSequence reference78 = ref span40[0]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006288u, new Vector3(-361.40997f, 8.46532f, 426.13855f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings - }; - obj78.Steps = list118; - reference78 = obj78; - ref QuestSequence reference79 = ref span40[1]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.Interact, 1006287u, new Vector3(-354.66547f, 8.469922f, 416.80017f), 146); - obj79.Steps = list119; - reference79 = obj79; - ref QuestSequence reference80 = ref span40[2]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.Interact, 1006737u, new Vector3(-332.72296f, 4.1964035f, 278.21765f), 146); - obj80.Steps = list120; - reference80 = obj80; - ref QuestSequence reference81 = ref span40[3]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - ref QuestStep reference82 = ref CollectionsMarshal.AsSpan(list121)[0]; - QuestStep obj82 = new QuestStep(EInteractionType.Combat, 2268u, new Vector3(-192.82831f, 9.630248f, 454.79517f), 146) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list122 = new List(num3); - CollectionsMarshal.SetCount(list122, num3); - CollectionsMarshal.AsSpan(list122)[0] = new ComplexCombatData - { - DataId = 2268u, - MinimumKillCount = 3u - }; - obj82.ComplexCombatData = list122; - obj82.CombatItemUse = new CombatItemUse - { - ItemId = 2000647u, - Condition = ECombatItemUseCondition.HealthPercent, - Value = 50 - }; - reference82 = obj82; - obj81.Steps = list121; - reference81 = obj81; - ref QuestSequence reference83 = ref span40[4]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.Interact, 1006737u, new Vector3(-332.72296f, 4.1964035f, 278.21765f), 146) - { - Fly = true - }; - obj83.Steps = list123; - reference83 = obj83; - ref QuestSequence reference84 = ref span40[5]; - QuestSequence obj84 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006287u, new Vector3(-354.66547f, 8.469922f, 416.80017f), 146); - obj84.Steps = list124; - reference84 = obj84; - questRoot19.QuestSequence = list117; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(831); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list125 = new List(num); - CollectionsMarshal.SetCount(list125, num); - CollectionsMarshal.AsSpan(list125)[0] = "JerryWester"; - questRoot20.Author = list125; - num = 2; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - Span span41 = CollectionsMarshal.AsSpan(list126); - ref QuestSequence reference85 = ref span41[0]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.AcceptQuest, 1004917u, new Vector3(-358.6328f, 8.469424f, 422.4154f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj85.Steps = list127; - reference85 = obj85; - ref QuestSequence reference86 = ref span41[1]; - QuestSequence obj86 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006266u, new Vector3(560.35706f, 20.721315f, 455.89368f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj86.Steps = list128; - reference86 = obj86; - questRoot20.QuestSequence = list126; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(832); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list129 = new List(num); - CollectionsMarshal.SetCount(list129, num); - CollectionsMarshal.AsSpan(list129)[0] = "JerryWester"; - questRoot21.Author = list129; - questRoot21.Interruptible = false; - num = 6; - List list130 = new List(num); - CollectionsMarshal.SetCount(list130, num); - Span span42 = CollectionsMarshal.AsSpan(list130); - ref QuestSequence reference87 = ref span42[0]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006266u, new Vector3(560.35706f, 20.721315f, 455.89368f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj87.Steps = list131; - reference87 = obj87; - ref QuestSequence reference88 = ref span42[1]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.Interact, 1006267u, new Vector3(340.81018f, 34.269722f, 110.27698f), 137); - obj88.Steps = list132; - reference88 = obj88; - ref QuestSequence reference89 = ref span42[2]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - Span span43 = CollectionsMarshal.AsSpan(list133); - span43[0] = new QuestStep(EInteractionType.Interact, 1003588u, new Vector3(344.6859f, 31.889465f, 89.37195f), 137) - { - TargetTerritoryId = (ushort)137 - }; - span43[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 137) - { - StopDistance = 5f, - Aetheryte = EAetheryteLocation.EasternLaNosceaWineport - }; - span43[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-272.5533f, 59.7689f, 176.81541f), 137); - span43[3] = new QuestStep(EInteractionType.Interact, 1006268u, new Vector3(-334.6151f, 69.69995f, 153.79565f), 137); - obj89.Steps = list133; - reference89 = obj89; - ref QuestSequence reference90 = ref span42[3]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - ref QuestStep reference91 = ref CollectionsMarshal.AsSpan(list134)[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Duty, null, null, 137); - DutyOptions obj91 = new DutyOptions - { - ContentFinderConditionId = 8u - }; - num3 = 1; - List list135 = new List(num3); - CollectionsMarshal.SetCount(list135, num3); - CollectionsMarshal.AsSpan(list135)[0] = "(boss 2) Will walk out of the boss arena to try and attack optional enemies on the upper level, thus resetting the boss and breaking the path"; - obj91.Notes = list135; - questStep2.DutyOptions = obj91; - reference91 = questStep2; - obj90.Steps = list134; - reference90 = obj90; - ref QuestSequence reference92 = ref span42[4]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.Interact, 1006268u, new Vector3(-334.6151f, 69.69995f, 153.79565f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj92.Steps = list136; - reference92 = obj92; - ref QuestSequence reference93 = ref span42[5]; - QuestSequence obj93 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006266u, new Vector3(560.35706f, 20.721315f, 455.89368f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj93.Steps = list137; - reference93 = obj93; - questRoot21.QuestSequence = list130; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(840); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - CollectionsMarshal.AsSpan(list138)[0] = "JerryWester"; - questRoot22.Author = list138; - num = 3; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - Span span44 = CollectionsMarshal.AsSpan(list139); - ref QuestSequence reference94 = ref span44[0]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006305u, new Vector3(10.60498f, 71.47817f, -16.617126f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj94.Steps = list140; - reference94 = obj94; - ref QuestSequence reference95 = ref span44[1]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.Interact, 1006306u, new Vector3(-25.864075f, 71.787285f, -36.78955f), 137); - obj95.Steps = list141; - reference95 = obj95; - ref QuestSequence reference96 = ref span44[2]; - QuestSequence obj96 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006305u, new Vector3(10.60498f, 71.47817f, -16.617126f), 137); - obj96.Steps = list142; - reference96 = obj96; - questRoot22.QuestSequence = list139; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(843); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - CollectionsMarshal.AsSpan(list143)[0] = "JerryWester"; - questRoot23.Author = list143; - num = 3; - List list144 = new List(num); - CollectionsMarshal.SetCount(list144, num); - Span span45 = CollectionsMarshal.AsSpan(list144); - ref QuestSequence reference97 = ref span45[0]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006305u, new Vector3(10.60498f, 71.47817f, -16.617126f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj97.Steps = list145; - reference97 = obj97; - ref QuestSequence reference98 = ref span45[1]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - Span span46 = CollectionsMarshal.AsSpan(list146); - span46[0] = new QuestStep(EInteractionType.Interact, 1006309u, new Vector3(-116.56372f, 86.051636f, -5.874817f), 137); - span46[1] = new QuestStep(EInteractionType.Interact, 1006308u, new Vector3(-42.98468f, 75.575645f, -55.069885f), 137); - obj98.Steps = list146; - reference98 = obj98; - ref QuestSequence reference99 = ref span45[2]; - QuestSequence obj99 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006305u, new Vector3(10.60498f, 71.47817f, -16.617126f), 137); - obj99.Steps = list147; - reference99 = obj99; - questRoot23.QuestSequence = list144; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(845); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list148 = new List(num); - CollectionsMarshal.SetCount(list148, num); - CollectionsMarshal.AsSpan(list148)[0] = "JerryWester"; - questRoot24.Author = list148; - num = 3; - List list149 = new List(num); - CollectionsMarshal.SetCount(list149, num); - Span span47 = CollectionsMarshal.AsSpan(list149); - ref QuestSequence reference100 = ref span47[0]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006305u, new Vector3(10.60498f, 71.47817f, -16.617126f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj100.Steps = list150; - reference100 = obj100; - ref QuestSequence reference101 = ref span47[1]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.Interact, 1006311u, new Vector3(26.504883f, 42.202568f, 251.75854f), 137); - obj101.Steps = list151; - reference101 = obj101; - ref QuestSequence reference102 = ref span47[2]; - QuestSequence obj102 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006312u, new Vector3(-369.0395f, 54.28071f, 441.24512f), 137); - obj102.Steps = list152; - reference102 = obj102; - questRoot24.QuestSequence = list149; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(846); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list153 = new List(num); - CollectionsMarshal.SetCount(list153, num); - CollectionsMarshal.AsSpan(list153)[0] = "JerryWester"; - questRoot25.Author = list153; - num = 3; - List list154 = new List(num); - CollectionsMarshal.SetCount(list154, num); - Span span48 = CollectionsMarshal.AsSpan(list154); - ref QuestSequence reference103 = ref span48[0]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006312u, new Vector3(-369.0395f, 54.28071f, 441.24512f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj103.Steps = list155; - reference103 = obj103; - ref QuestSequence reference104 = ref span48[1]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - ref QuestStep reference105 = ref CollectionsMarshal.AsSpan(list156)[0]; - QuestStep obj105 = new QuestStep(EInteractionType.Combat, null, new Vector3(-309.02634f, 44.280117f, 464.14f), 137) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list157 = new List(num3); - CollectionsMarshal.SetCount(list157, num3); - CollectionsMarshal.AsSpan(list157)[0] = 136u; - obj105.KillEnemyDataIds = list157; - reference105 = obj105; - obj104.Steps = list156; - reference104 = obj104; - ref QuestSequence reference106 = ref span48[2]; - QuestSequence obj106 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006312u, new Vector3(-369.0395f, 54.28071f, 441.24512f), 137); - obj106.Steps = list158; - reference106 = obj106; - questRoot25.QuestSequence = list154; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(848); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list159 = new List(num); - CollectionsMarshal.SetCount(list159, num); - CollectionsMarshal.AsSpan(list159)[0] = "JerryWester"; - questRoot26.Author = list159; - num = 3; - List list160 = new List(num); - CollectionsMarshal.SetCount(list160, num); - Span span49 = CollectionsMarshal.AsSpan(list160); - ref QuestSequence reference107 = ref span49[0]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006312u, new Vector3(-369.0395f, 54.28071f, 441.24512f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj107.Steps = list161; - reference107 = obj107; - ref QuestSequence reference108 = ref span49[1]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - Span span50 = CollectionsMarshal.AsSpan(list162); - ref QuestStep reference109 = ref span50[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2002059u, new Vector3(-282.88702f, 33.951294f, 308.24744f), 137); - num3 = 6; - List list163 = new List(num3); - CollectionsMarshal.SetCount(list163, num3); - Span span51 = CollectionsMarshal.AsSpan(list163); - span51[0] = null; - span51[1] = null; - span51[2] = null; - span51[3] = null; - span51[4] = null; - span51[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list163; - reference109 = questStep3; - ref QuestStep reference110 = ref span50[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2002061u, new Vector3(-248.40167f, 33.98181f, 299.39722f), 137); - num3 = 6; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - Span span52 = CollectionsMarshal.AsSpan(list164); - span52[0] = null; - span52[1] = null; - span52[2] = null; - span52[3] = null; - span52[4] = null; - span52[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list164; - reference110 = questStep4; - ref QuestStep reference111 = ref span50[2]; - QuestStep questStep5 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-301.2062f, 35.646942f, 273.47797f), 137); - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list165 = new List(num3); - CollectionsMarshal.SetCount(list165, num3); - Span span53 = CollectionsMarshal.AsSpan(list165); - span53[0] = null; - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list165; - skipConditions.StepIf = skipStepConditions; - questStep5.SkipConditions = skipConditions; - reference111 = questStep5; - ref QuestStep reference112 = ref span50[3]; - QuestStep obj109 = new QuestStep(EInteractionType.Interact, 2002060u, new Vector3(-298.2987f, 33.89026f, 276.53918f), 137) - { - StopDistance = 4.5f - }; - num3 = 6; - List list166 = new List(num3); - CollectionsMarshal.SetCount(list166, num3); - Span span54 = CollectionsMarshal.AsSpan(list166); - span54[0] = null; - span54[1] = null; - span54[2] = null; - span54[3] = null; - span54[4] = null; - span54[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj109.CompletionQuestVariablesFlags = list166; - reference112 = obj109; - obj108.Steps = list162; - reference108 = obj108; - ref QuestSequence reference113 = ref span49[2]; - QuestSequence obj110 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006305u, new Vector3(10.60498f, 71.47817f, -16.617126f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport - }; - obj110.Steps = list167; - reference113 = obj110; - questRoot26.QuestSequence = list160; - AddQuest(questId26, questRoot26); - } - - private static void LoadQuests17() - { - QuestId questId = new QuestId(850); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "JerryWester"; - questRoot.Author = list; - num = 5; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006305u, new Vector3(10.60498f, 71.47817f, -16.617126f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1006312u, new Vector3(-369.0395f, 54.28071f, 441.24512f), 137); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - ref QuestStep reference4 = ref CollectionsMarshal.AsSpan(list5)[0]; - QuestStep obj4 = new QuestStep(EInteractionType.Combat, 2002062u, new Vector3(-242.63379f, 45.212402f, 495.32312f), 137) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - int num3 = 1; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - CollectionsMarshal.AsSpan(list6)[0] = 1910u; - obj4.KillEnemyDataIds = list6; - reference4 = obj4; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference5 = ref span[3]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.Interact, 1006305u, new Vector3(10.60498f, 71.47817f, -16.617126f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport - }; - obj5.Steps = list7; - reference5 = obj5; - ref QuestSequence reference6 = ref span[4]; - QuestSequence obj6 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006266u, new Vector3(560.35706f, 20.721315f, 455.89368f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj6.Steps = list8; - reference6 = obj6; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(855); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - CollectionsMarshal.AsSpan(list9)[0] = "JerryWester"; - questRoot2.Author = list9; - num = 5; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - Span span2 = CollectionsMarshal.AsSpan(list10); - ref QuestSequence reference7 = ref span2[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006676u, new Vector3(558.98376f, 20.706482f, 451.13293f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span2[1]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Interact, 1006314u, new Vector3(534.8439f, 17.448048f, 450.98022f), 137); - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference9 = ref span2[2]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.Interact, 2002598u, new Vector3(524.6348f, 18.16839f, 457.1489f), 137); - obj9.Steps = list13; - reference9 = obj9; - ref QuestSequence reference10 = ref span2[3]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 3 - }; - num2 = 5; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - Span span3 = CollectionsMarshal.AsSpan(list14); - ref QuestStep reference11 = ref span3[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1006319u, new Vector3(523.03345f, 17.44805f, 454.5509f), 137); - num3 = 6; - List list15 = new List(num3); - CollectionsMarshal.SetCount(list15, num3); - Span span4 = CollectionsMarshal.AsSpan(list15); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - span4[5] = null; - questStep.CompletionQuestVariablesFlags = list15; - reference11 = questStep; - ref QuestStep reference12 = ref span3[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1006318u, new Vector3(525.5055f, 17.448048f, 451.0719f), 137); - num3 = 6; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - Span span5 = CollectionsMarshal.AsSpan(list16); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span5[5] = null; - questStep2.CompletionQuestVariablesFlags = list16; - reference12 = questStep2; - ref QuestStep reference13 = ref span3[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1006317u, new Vector3(533.77576f, 17.654663f, 450.43103f), 137); - num3 = 6; - List list17 = new List(num3); - CollectionsMarshal.SetCount(list17, num3); - Span span6 = CollectionsMarshal.AsSpan(list17); - span6[0] = null; - span6[1] = null; - span6[2] = null; - span6[3] = null; - span6[4] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span6[5] = null; - questStep3.CompletionQuestVariablesFlags = list17; - reference13 = questStep3; - ref QuestStep reference14 = ref span3[3]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1006316u, new Vector3(560.38745f, 20.721313f, 457.02295f), 137); - num3 = 6; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - Span span7 = CollectionsMarshal.AsSpan(list18); - span7[0] = null; - span7[1] = null; - span7[2] = null; - span7[3] = null; - span7[4] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span7[5] = null; - questStep4.CompletionQuestVariablesFlags = list18; - reference14 = questStep4; - ref QuestStep reference15 = ref span3[4]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1006266u, new Vector3(560.35706f, 20.721315f, 455.89368f), 137); - num3 = 6; - List list19 = new List(num3); - CollectionsMarshal.SetCount(list19, num3); - Span span8 = CollectionsMarshal.AsSpan(list19); - span8[0] = null; - span8[1] = null; - span8[2] = null; - span8[3] = null; - span8[4] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - span8[5] = null; - questStep5.CompletionQuestVariablesFlags = list19; - reference15 = questStep5; - obj10.Steps = list14; - reference10 = obj10; - ref QuestSequence reference16 = ref span2[4]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006676u, new Vector3(558.98376f, 20.706482f, 451.13293f), 137) - { - StopDistance = 7f - }; - obj11.Steps = list20; - reference16 = obj11; - questRoot2.QuestSequence = list10; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(856); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - CollectionsMarshal.AsSpan(list21)[0] = "JerryWester"; - questRoot3.Author = list21; - num = 3; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - Span span9 = CollectionsMarshal.AsSpan(list22); - ref QuestSequence reference17 = ref span9[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006266u, new Vector3(560.35706f, 20.721315f, 455.89368f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj12.Steps = list23; - reference17 = obj12; - ref QuestSequence reference18 = ref span9[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - Span span10 = CollectionsMarshal.AsSpan(list24); - span10[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(76.605774f, 80.43136f, -119.52899f), 137) - { - TargetTerritoryId = (ushort)139, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport - }; - ref QuestStep reference19 = ref span10[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2002085u, new Vector3(404.86768f, 4.3182373f, 88.45642f), 139); - num3 = 6; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - Span span11 = CollectionsMarshal.AsSpan(list25); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list25; - reference19 = questStep6; - span10[2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 139) - { - StopDistance = 5f, - Aetheryte = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - ref QuestStep reference20 = ref span10[3]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2002084u, new Vector3(437.27783f, 8.194031f, 133.04333f), 139); - num3 = 6; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - Span span12 = CollectionsMarshal.AsSpan(list26); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list26; - reference20 = questStep7; - ref QuestStep reference21 = ref span10[4]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2002083u, new Vector3(402.30408f, 8.712891f, 47.196045f), 139); - num3 = 6; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - Span span13 = CollectionsMarshal.AsSpan(list27); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list27; - reference21 = questStep8; - obj13.Steps = list24; - reference18 = obj13; - ref QuestSequence reference22 = ref span9[2]; - QuestSequence obj14 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006341u, new Vector3(479.39258f, 16.258692f, 128.37415f), 139) - { - StopDistance = 7f - }; - obj14.Steps = list28; - reference22 = obj14; - questRoot3.QuestSequence = list22; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(857); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - CollectionsMarshal.AsSpan(list29)[0] = "JerryWester"; - questRoot4.Author = list29; - num = 4; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - Span span14 = CollectionsMarshal.AsSpan(list30); - ref QuestSequence reference23 = ref span14[0]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006341u, new Vector3(479.39258f, 16.258692f, 128.37415f), 139) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj15.Steps = list31; - reference23 = obj15; - ref QuestSequence reference24 = ref span14[1]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 2002086u, new Vector3(382.55884f, 25.253662f, -139.02502f), 139); - obj16.Steps = list32; - reference24 = obj16; - ref QuestSequence reference25 = ref span14[2]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Duty, null, null, 139) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 57u - } - }; - obj17.Steps = list33; - reference25 = obj17; - ref QuestSequence reference26 = ref span14[3]; - QuestSequence obj18 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006343u, new Vector3(427.63403f, 4.115109f, 85.92346f), 139); - obj18.Steps = list34; - reference26 = obj18; - questRoot4.QuestSequence = list30; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(862); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - CollectionsMarshal.AsSpan(list35)[0] = "skiaz"; - questRoot5.Author = list35; - num = 3; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - Span span15 = CollectionsMarshal.AsSpan(list36); - ref QuestSequence reference27 = ref span15[0]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006331u, new Vector3(-144.15204f, 64.989944f, -209.88788f), 180) - { - Fly = true - }; - obj19.Steps = list37; - reference27 = obj19; - ref QuestSequence reference28 = ref span15[1]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - Span span16 = CollectionsMarshal.AsSpan(list38); - span16[0] = new QuestStep(EInteractionType.Interact, 2002339u, new Vector3(-134.59985f, 82.81067f, -293.4768f), 180) - { - Fly = true - }; - span16[1] = new QuestStep(EInteractionType.Interact, 2002341u, new Vector3(-137.22437f, 81.19324f, -299.39728f), 180); - span16[2] = new QuestStep(EInteractionType.Interact, 2002338u, new Vector3(-148.24146f, 81.589966f, -306.5691f), 180); - span16[3] = new QuestStep(EInteractionType.Interact, 2002342u, new Vector3(-138.0484f, 81.19324f, -311.29932f), 180); - span16[4] = new QuestStep(EInteractionType.Interact, 2002343u, new Vector3(-132.03638f, 82.07825f, -321.76703f), 180); - span16[5] = new QuestStep(EInteractionType.Interact, 2002340u, new Vector3(-116.014404f, 78.87378f, -315.08362f), 180); - obj20.Steps = list38; - reference28 = obj20; - ref QuestSequence reference29 = ref span15[2]; - QuestSequence obj21 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006331u, new Vector3(-144.15204f, 64.989944f, -209.88788f), 180) - { - Fly = true, - NextQuestId = new QuestId(863) - }; - obj21.Steps = list39; - reference29 = obj21; - questRoot5.QuestSequence = list36; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(863); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - CollectionsMarshal.AsSpan(list40)[0] = "skiaz"; - questRoot6.Author = list40; - num = 3; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - Span span17 = CollectionsMarshal.AsSpan(list41); - ref QuestSequence reference30 = ref span17[0]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006331u, new Vector3(-144.15204f, 64.989944f, -209.88788f), 180) - { - Fly = true - }; - obj22.Steps = list42; - reference30 = obj22; - ref QuestSequence reference31 = ref span17[1]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - ref QuestStep reference32 = ref CollectionsMarshal.AsSpan(list43)[0]; - QuestStep obj24 = new QuestStep(EInteractionType.Combat, 2269u, new Vector3(-268.5741f, 64.49246f, -322.04163f), 180) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - CollectionsMarshal.AsSpan(list44)[0] = 2269u; - obj24.KillEnemyDataIds = list44; - obj24.CombatItemUse = new CombatItemUse - { - ItemId = 2000670u, - Condition = ECombatItemUseCondition.HealthPercent, - Value = 30 - }; - reference32 = obj24; - obj23.Steps = list43; - reference31 = obj23; - ref QuestSequence reference33 = ref span17[2]; - QuestSequence obj25 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006331u, new Vector3(-144.15204f, 64.989944f, -209.88788f), 180) - { - Fly = true - }; - obj25.Steps = list45; - reference33 = obj25; - questRoot6.QuestSequence = list41; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(876); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - CollectionsMarshal.AsSpan(list46)[0] = "JerryWester"; - questRoot7.Author = list46; - num = 7; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - Span span18 = CollectionsMarshal.AsSpan(list47); - ref QuestSequence reference34 = ref span18[0]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003958u, new Vector3(-497.70352f, -19.630796f, 39.993896f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj26.Steps = list48; - reference34 = obj26; - ref QuestSequence reference35 = ref span18[1]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - Span span19 = CollectionsMarshal.AsSpan(list49); - span19[0] = new QuestStep(EInteractionType.UseItem, null, null, 128) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span19[1] = new QuestStep(EInteractionType.Interact, 1006361u, new Vector3(-495.964f, 19.009007f, -371.72504f), 140); - obj27.Steps = list49; - reference35 = obj27; - ref QuestSequence reference36 = ref span18[2]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - Span span20 = CollectionsMarshal.AsSpan(list50); - ref QuestStep reference37 = ref span20[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1006348u, new Vector3(-473.99103f, 19.027954f, -370.84003f), 140); - num3 = 6; - List list51 = new List(num3); - CollectionsMarshal.SetCount(list51, num3); - Span span21 = CollectionsMarshal.AsSpan(list51); - span21[0] = null; - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span21[5] = null; - questStep9.CompletionQuestVariablesFlags = list51; - reference37 = questStep9; - ref QuestStep reference38 = ref span20[1]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1006347u, new Vector3(-474.6319f, 19.027954f, -371.20624f), 140); - num3 = 6; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - Span span22 = CollectionsMarshal.AsSpan(list52); - span22[0] = null; - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span22[5] = null; - questStep10.CompletionQuestVariablesFlags = list52; - reference38 = questStep10; - ref QuestStep reference39 = ref span20[2]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1006346u, new Vector3(-475.97467f, 19.027954f, -370.65692f), 140); - num3 = 6; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - Span span23 = CollectionsMarshal.AsSpan(list53); - span23[0] = null; - span23[1] = null; - span23[2] = null; - span23[3] = null; - span23[4] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span23[5] = null; - questStep11.CompletionQuestVariablesFlags = list53; - reference39 = questStep11; - ref QuestStep reference40 = ref span20[3]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1006345u, new Vector3(-477.34802f, 19.027954f, -370.35175f), 140); - num3 = 6; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - Span span24 = CollectionsMarshal.AsSpan(list54); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - span24[5] = null; - questStep12.CompletionQuestVariablesFlags = list54; - reference40 = questStep12; - obj28.Steps = list50; - reference36 = obj28; - ref QuestSequence reference41 = ref span18[3]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - Span span25 = CollectionsMarshal.AsSpan(list55); - span25[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-408.92343f, 23.167036f, -351.16223f), 140); - span25[1] = new QuestStep(EInteractionType.Interact, 1006362u, new Vector3(-395.8954f, 23f, -353.6584f), 140) - { - DisableNavmesh = true - }; - obj29.Steps = list55; - reference41 = obj29; - ref QuestSequence reference42 = ref span18[4]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 4 - }; - num2 = 5; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - Span span26 = CollectionsMarshal.AsSpan(list56); - ref QuestStep reference43 = ref span26[0]; - QuestStep obj31 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-408.92343f, 23.167036f, -351.16223f), 140) - { - DisableNavmesh = true, - Mount = true - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - Span span27 = CollectionsMarshal.AsSpan(list57); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span27[5] = null; - skipStepConditions.CompletionQuestVariablesFlags = list57; - skipConditions.StepIf = skipStepConditions; - obj31.SkipConditions = skipConditions; - reference43 = obj31; - ref QuestStep reference44 = ref span26[1]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1006344u, new Vector3(-474.57086f, 18.112427f, -372.5796f), 140); - num3 = 6; - List list58 = new List(num3); - CollectionsMarshal.SetCount(list58, num3); - Span span28 = CollectionsMarshal.AsSpan(list58); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span28[5] = null; - questStep13.CompletionQuestVariablesFlags = list58; - reference44 = questStep13; - ref QuestStep reference45 = ref span26[2]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1006351u, new Vector3(-475.82214f, 18.966919f, -372.67108f), 140); - num3 = 6; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - Span span29 = CollectionsMarshal.AsSpan(list59); - span29[0] = null; - span29[1] = null; - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list59; - reference45 = questStep14; - ref QuestStep reference46 = ref span26[3]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1006350u, new Vector3(-476.55457f, 19.027954f, -372.91522f), 140); - num3 = 6; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - Span span30 = CollectionsMarshal.AsSpan(list60); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list60; - reference46 = questStep15; - ref QuestStep reference47 = ref span26[4]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1006349u, new Vector3(-477.6532f, 19.027954f, -372.2744f), 140); - num3 = 6; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - Span span31 = CollectionsMarshal.AsSpan(list61); - span31[0] = null; - span31[1] = null; - span31[2] = null; - span31[3] = null; - span31[4] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - span31[5] = null; - questStep16.CompletionQuestVariablesFlags = list61; - reference47 = questStep16; - obj30.Steps = list56; - reference42 = obj30; - ref QuestSequence reference48 = ref span18[5]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - Span span32 = CollectionsMarshal.AsSpan(list62); - span32[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-408.92343f, 23.167036f, -351.16223f), 140); - span32[1] = new QuestStep(EInteractionType.Interact, 1006362u, new Vector3(-395.8954f, 23f, -353.6584f), 140) - { - DisableNavmesh = true - }; - obj32.Steps = list62; - reference48 = obj32; - ref QuestSequence reference49 = ref span18[6]; - QuestSequence obj33 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003958u, new Vector3(-497.70352f, -19.630796f, 39.993896f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj33.Steps = list63; - reference49 = obj33; - questRoot7.QuestSequence = list47; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(878); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - CollectionsMarshal.AsSpan(list64)[0] = "JerryWester"; - questRoot8.Author = list64; - num = 3; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - Span span33 = CollectionsMarshal.AsSpan(list65); - ref QuestSequence reference50 = ref span33[0]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003958u, new Vector3(-497.70352f, -19.630796f, 39.993896f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj34.Steps = list66; - reference50 = obj34; - ref QuestSequence reference51 = ref span33[1]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.Interact, 1000580u, new Vector3(25.65039f, -3.7080078f, 209.97937f), 152) - { - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - obj35.Steps = list67; - reference51 = obj35; - ref QuestSequence reference52 = ref span33[2]; - QuestSequence obj36 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003958u, new Vector3(-497.70352f, -19.630796f, 39.993896f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj36.Steps = list68; - reference52 = obj36; - questRoot8.QuestSequence = list65; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(883); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - CollectionsMarshal.AsSpan(list69)[0] = "JerryWester"; - questRoot9.Author = list69; - num = 3; - List list70 = new List(num); - CollectionsMarshal.SetCount(list70, num); - Span span34 = CollectionsMarshal.AsSpan(list70); - ref QuestSequence reference53 = ref span34[0]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006355u, new Vector3(-512.47424f, -16.42f, -7.522766f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj37.Steps = list71; - reference53 = obj37; - ref QuestSequence reference54 = ref span34[1]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.Interact, 1002780u, new Vector3(-89.79938f, -45.331406f, 195.88f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj38.Steps = list72; - reference54 = obj38; - ref QuestSequence reference55 = ref span34[2]; - QuestSequence obj39 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006371u, new Vector3(-301.04523f, -13.60442f, 198.44348f), 154); - obj39.Steps = list73; - reference55 = obj39; - questRoot9.QuestSequence = list70; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(884); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - CollectionsMarshal.AsSpan(list74)[0] = "JerryWester"; - questRoot10.Author = list74; - num = 2; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - Span span35 = CollectionsMarshal.AsSpan(list75); - ref QuestSequence reference56 = ref span35[0]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006371u, new Vector3(-301.04523f, -13.60442f, 198.44348f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj40.Steps = list76; - reference56 = obj40; - ref QuestSequence reference57 = ref span35[1]; - QuestSequence obj41 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - Span span36 = CollectionsMarshal.AsSpan(list77); - span36[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-372.23636f, -2.92979f, 178.26855f), 154); - span36[1] = new QuestStep(EInteractionType.CompleteQuest, 1006372u, new Vector3(171.52661f, 222.69258f, 355.48938f), 155); - obj41.Steps = list77; - reference57 = obj41; - questRoot10.QuestSequence = list75; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(885); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list78 = new List(num); - CollectionsMarshal.SetCount(list78, num); - CollectionsMarshal.AsSpan(list78)[0] = "croizat"; - questRoot11.Author = list78; - num = 3; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - Span span37 = CollectionsMarshal.AsSpan(list79); - ref QuestSequence reference58 = ref span37[0]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006375u, new Vector3(-296.65063f, -13.630577f, 197.34485f), 154); - obj42.Steps = list80; - reference58 = obj42; - ref QuestSequence reference59 = ref span37[1]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - ref QuestStep reference60 = ref CollectionsMarshal.AsSpan(list81)[0]; - QuestStep obj44 = new QuestStep(EInteractionType.Combat, 2002106u, new Vector3(-282.03253f, -54.24591f, 285.99976f), 154) - { - ItemId = 2000690u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - CollectionsMarshal.AsSpan(list82)[0] = 138u; - obj44.KillEnemyDataIds = list82; - reference60 = obj44; - obj43.Steps = list81; - reference59 = obj43; - ref QuestSequence reference61 = ref span37[2]; - QuestSequence obj45 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006375u, new Vector3(-296.65063f, -13.630577f, 197.34485f), 154); - obj45.Steps = list83; - reference61 = obj45; - questRoot11.QuestSequence = list79; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(886); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - CollectionsMarshal.AsSpan(list84)[0] = "JerryWester"; - questRoot12.Author = list84; - num = 5; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - Span span38 = CollectionsMarshal.AsSpan(list85); - ref QuestSequence reference62 = ref span38[0]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006372u, new Vector3(171.52661f, 222.69258f, 355.48938f), 155); - obj46.Steps = list86; - reference62 = obj46; - ref QuestSequence reference63 = ref span38[1]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - Span span39 = CollectionsMarshal.AsSpan(list87); - ref QuestStep reference64 = ref span39[0]; - QuestStep obj48 = new QuestStep(EInteractionType.Combat, null, new Vector3(48.65701f, 234.78163f, 348.13953f), 155) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list88 = new List(num3); - CollectionsMarshal.SetCount(list88, num3); - Span span40 = CollectionsMarshal.AsSpan(list88); - span40[0] = 724u; - span40[1] = 725u; - obj48.KillEnemyDataIds = list88; - reference64 = obj48; - span39[1] = new QuestStep(EInteractionType.Interact, 1006731u, new Vector3(52.231567f, 235.30933f, 347.85986f), 155); - obj47.Steps = list87; - reference63 = obj47; - ref QuestSequence reference65 = ref span38[2]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Interact, 1006372u, new Vector3(171.52661f, 222.69258f, 355.48938f), 155); - obj49.Steps = list89; - reference65 = obj49; - ref QuestSequence reference66 = ref span38[3]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.Interact, 1006376u, new Vector3(195.3612f, 234.79839f, 419.3026f), 155); - obj50.Steps = list90; - reference66 = obj50; - ref QuestSequence reference67 = ref span38[4]; - QuestSequence obj51 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006377u, new Vector3(200.97656f, 293.33f, 420.37073f), 155); - obj51.Steps = list91; - reference67 = obj51; - questRoot12.QuestSequence = list85; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(887); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - CollectionsMarshal.AsSpan(list92)[0] = "JerryWester"; - questRoot13.Author = list92; - num = 4; - List list93 = new List(num); - CollectionsMarshal.SetCount(list93, num); - Span span41 = CollectionsMarshal.AsSpan(list93); - ref QuestSequence reference68 = ref span41[0]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006378u, new Vector3(204.5166f, 293.32996f, 418.57007f), 155) - { - StopDistance = 7f - }; - obj52.Steps = list94; - reference68 = obj52; - ref QuestSequence reference69 = ref span41[1]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.Interact, 1006379u, new Vector3(538.4756f, 235.2618f, 317.1587f), 155); - obj53.Steps = list95; - reference69 = obj53; - ref QuestSequence reference70 = ref span41[2]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.Interact, 1006378u, new Vector3(204.5166f, 293.32996f, 418.57007f), 155); - obj54.Steps = list96; - reference70 = obj54; - ref QuestSequence reference71 = ref span41[3]; - QuestSequence obj55 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006380u, new Vector3(169.48193f, 223.03537f, 366.26233f), 155); - obj55.Steps = list97; - reference71 = obj55; - questRoot13.QuestSequence = list93; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(889); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - CollectionsMarshal.AsSpan(list98)[0] = "JerryWester"; - questRoot14.Author = list98; - num = 3; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - Span span42 = CollectionsMarshal.AsSpan(list99); - ref QuestSequence reference72 = ref span42[0]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006380u, new Vector3(169.48193f, 223.03537f, 366.26233f), 155); - obj56.Steps = list100; - reference72 = obj56; - ref QuestSequence reference73 = ref span42[1]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - Span span43 = CollectionsMarshal.AsSpan(list101); - ref QuestStep reference74 = ref span43[0]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 2002111u, new Vector3(24.12439f, 207.599f, 427.35938f), 155); - num3 = 6; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - Span span44 = CollectionsMarshal.AsSpan(list102); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list102; - reference74 = questStep17; - ref QuestStep reference75 = ref span43[1]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 2002110u, new Vector3(11.886719f, 207.20227f, 439.1698f), 155); - num3 = 6; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - Span span45 = CollectionsMarshal.AsSpan(list103); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list103; - reference75 = questStep18; - ref QuestStep reference76 = ref span43[2]; - QuestStep obj58 = new QuestStep(EInteractionType.Combat, 2002261u, new Vector3(4.196167f, 206.19507f, 465.9646f), 155) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - Span span46 = CollectionsMarshal.AsSpan(list104); - span46[0] = 724u; - span46[1] = 725u; - span46[2] = 726u; - obj58.KillEnemyDataIds = list104; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - Span span47 = CollectionsMarshal.AsSpan(list105); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list105; - skipConditions2.StepIf = skipStepConditions2; - obj58.SkipConditions = skipConditions2; - reference76 = obj58; - ref QuestStep reference77 = ref span43[3]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 2002261u, new Vector3(4.196167f, 206.19507f, 465.9646f), 155); - num3 = 6; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - Span span48 = CollectionsMarshal.AsSpan(list106); - span48[0] = null; - span48[1] = null; - span48[2] = null; - span48[3] = null; - span48[4] = null; - span48[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list106; - reference77 = questStep19; - obj57.Steps = list101; - reference73 = obj57; - ref QuestSequence reference78 = ref span42[2]; - QuestSequence obj59 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006380u, new Vector3(169.48193f, 223.03537f, 366.26233f), 155) - { - StopDistance = 2f - }; - obj59.Steps = list107; - reference78 = obj59; - questRoot14.QuestSequence = list99; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(890); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - CollectionsMarshal.AsSpan(list108)[0] = "JerryWester"; - questRoot15.Author = list108; - num = 3; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - Span span49 = CollectionsMarshal.AsSpan(list109); - ref QuestSequence reference79 = ref span49[0]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006382u, new Vector3(165.20935f, 222.99998f, 367.72717f), 155) - { - StopDistance = 7f - }; - obj60.Steps = list110; - reference79 = obj60; - ref QuestSequence reference80 = ref span49[1]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - ref QuestStep reference81 = ref CollectionsMarshal.AsSpan(list111)[0]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 1006383u, new Vector3(138.87231f, 285.06497f, 175.21924f), 155); - num3 = 1; - List list112 = new List(num3); - CollectionsMarshal.SetCount(list112, num3); - CollectionsMarshal.AsSpan(list112)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_GAIUSB608_00890_Q1_000_020"), - Answer = new ExcelRef("TEXT_GAIUSB608_00890_A3_000_023") - }; - questStep20.DialogueChoices = list112; - reference81 = questStep20; - obj61.Steps = list111; - reference80 = obj61; - ref QuestSequence reference82 = ref span49[2]; - QuestSequence obj62 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - Span span50 = CollectionsMarshal.AsSpan(list113); - span50[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 155) - { - StopDistance = 5f, - Aetheryte = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span50[1] = new QuestStep(EInteractionType.CompleteQuest, 1006384u, new Vector3(263.5996f, 303.1f, -199.96954f), 155); - obj62.Steps = list113; - reference82 = obj62; - questRoot15.QuestSequence = list109; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(897); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list114 = new List(num); - CollectionsMarshal.SetCount(list114, num); - CollectionsMarshal.AsSpan(list114)[0] = "JerryWester"; - questRoot16.Author = list114; - num = 3; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - Span span51 = CollectionsMarshal.AsSpan(list115); - ref QuestSequence reference83 = ref span51[0]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006384u, new Vector3(263.5996f, 303.1f, -199.96954f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj63.Steps = list116; - reference83 = obj63; - ref QuestSequence reference84 = ref span51[1]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 1 - }; - num2 = 7; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - Span span52 = CollectionsMarshal.AsSpan(list117); - ref QuestStep reference85 = ref span52[0]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1006395u, new Vector3(206.86658f, 303.115f, -296.2539f), 155); - num3 = 6; - List list118 = new List(num3); - CollectionsMarshal.SetCount(list118, num3); - Span span53 = CollectionsMarshal.AsSpan(list118); - span53[0] = null; - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep21.CompletionQuestVariablesFlags = list118; - reference85 = questStep21; - span52[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(205.61038f, 256.0028f, 83.6889f), 155); - ref QuestStep reference86 = ref span52[2]; - QuestStep obj65 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(198.30511f, 256.99997f, 76.41981f), 155) - { - DisableNavmesh = true - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - Span span54 = CollectionsMarshal.AsSpan(list119); - span54[0] = null; - span54[1] = null; - span54[2] = null; - span54[3] = null; - span54[4] = null; - span54[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list119; - skipConditions3.StepIf = skipStepConditions3; - obj65.SkipConditions = skipConditions3; - reference86 = obj65; - ref QuestStep reference87 = ref span52[3]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1006396u, new Vector3(193.1029f, 257f, 57.87744f), 155); - num3 = 6; - List list120 = new List(num3); - CollectionsMarshal.SetCount(list120, num3); - Span span55 = CollectionsMarshal.AsSpan(list120); - span55[0] = null; - span55[1] = null; - span55[2] = null; - span55[3] = null; - span55[4] = null; - span55[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep22.CompletionQuestVariablesFlags = list120; - reference87 = questStep22; - span52[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(198.30511f, 256.99997f, 76.41981f), 155) - { - Mount = true - }; - span52[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(205.61038f, 256.0028f, 83.6889f), 155) - { - DisableNavmesh = true - }; - ref QuestStep reference88 = ref span52[6]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1006377u, new Vector3(200.97656f, 293.33f, 420.37073f), 155); - num3 = 6; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - Span span56 = CollectionsMarshal.AsSpan(list121); - span56[0] = null; - span56[1] = null; - span56[2] = null; - span56[3] = null; - span56[4] = null; - span56[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list121; - reference88 = questStep23; - obj64.Steps = list117; - reference84 = obj64; - ref QuestSequence reference89 = ref span51[2]; - QuestSequence obj66 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006384u, new Vector3(263.5996f, 303.1f, -199.96954f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj66.Steps = list122; - reference89 = obj66; - questRoot16.QuestSequence = list115; - AddQuest(questId16, questRoot16); - } - - private static void LoadQuests18() - { - QuestId questId = new QuestId(910); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "JerryWester"; - questRoot.Author = list; - num = 5; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006384u, new Vector3(263.5996f, 303.1f, -199.96954f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference3 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj3 = new QuestStep(EInteractionType.Combat, 1006407u, new Vector3(224.01758f, 355.34894f, -554.8334f), 155) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - int num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = 1904u; - obj3.KillEnemyDataIds = list5; - reference3 = obj3; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - Span span2 = CollectionsMarshal.AsSpan(list6); - ref QuestStep reference5 = ref span2[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1006410u, new Vector3(232.8112f, 357.38858f, -567.4722f), 155); - num3 = 6; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span3 = CollectionsMarshal.AsSpan(list7); - span3[0] = null; - span3[1] = null; - span3[2] = null; - span3[3] = null; - span3[4] = null; - span3[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list7; - reference5 = questStep; - ref QuestStep reference6 = ref span2[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1006408u, new Vector3(212.57336f, 361.0884f, -586.9078f), 155); - num3 = 6; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - Span span4 = CollectionsMarshal.AsSpan(list8); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list8; - reference6 = questStep2; - ref QuestStep reference7 = ref span2[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1006409u, new Vector3(189.50183f, 359.89996f, -590.20374f), 155); - num3 = 6; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - Span span5 = CollectionsMarshal.AsSpan(list9); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list9; - reference7 = questStep3; - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference8 = ref span[3]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.Interact, 1006407u, new Vector3(224.01758f, 355.34894f, -554.8334f), 155); - obj5.Steps = list10; - reference8 = obj5; - ref QuestSequence reference9 = ref span[4]; - QuestSequence obj6 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006384u, new Vector3(263.5996f, 303.1f, -199.96954f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj6.Steps = list11; - reference9 = obj6; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(911); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - CollectionsMarshal.AsSpan(list12)[0] = "JerryWester"; - questRoot2.Author = list12; - num = 6; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - Span span6 = CollectionsMarshal.AsSpan(list13); - ref QuestSequence reference10 = ref span6[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006384u, new Vector3(263.5996f, 303.1f, -199.96954f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj7.Steps = list14; - reference10 = obj7; - ref QuestSequence reference11 = ref span6[1]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.Interact, 1006412u, new Vector3(282.30713f, 255.013f, 91.26416f), 155); - obj8.Steps = list15; - reference11 = obj8; - ref QuestSequence reference12 = ref span6[2]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.Interact, 1006413u, new Vector3(209.09436f, 302f, -190.1427f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj9.Steps = list16; - reference12 = obj9; - ref QuestSequence reference13 = ref span6[3]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - Span span7 = CollectionsMarshal.AsSpan(list17); - ref QuestStep reference14 = ref span7[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2002139u, new Vector3(208.05664f, 301.9912f, -193.59125f), 155); - num3 = 6; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - Span span8 = CollectionsMarshal.AsSpan(list18); - span8[0] = null; - span8[1] = null; - span8[2] = null; - span8[3] = null; - span8[4] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - span8[5] = null; - questStep4.CompletionQuestVariablesFlags = list18; - reference14 = questStep4; - ref QuestStep reference15 = ref span7[1]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2002140u, new Vector3(210.00989f, 301.9912f, -193.22504f), 155); - num3 = 6; - List list19 = new List(num3); - CollectionsMarshal.SetCount(list19, num3); - Span span9 = CollectionsMarshal.AsSpan(list19); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span9[5] = null; - questStep5.CompletionQuestVariablesFlags = list19; - reference15 = questStep5; - ref QuestStep reference16 = ref span7[2]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2002141u, new Vector3(212.05457f, 301.9912f, -193.65228f), 155); - num3 = 6; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - Span span10 = CollectionsMarshal.AsSpan(list20); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span10[5] = null; - questStep6.CompletionQuestVariablesFlags = list20; - reference16 = questStep6; - obj10.Steps = list17; - reference13 = obj10; - ref QuestSequence reference17 = ref span6[4]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.Interact, 1006413u, new Vector3(209.09436f, 302f, -190.1427f), 155); - obj11.Steps = list21; - reference17 = obj11; - ref QuestSequence reference18 = ref span6[5]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006384u, new Vector3(263.5996f, 303.1f, -199.96954f), 155); - obj12.Steps = list22; - reference18 = obj12; - questRoot2.QuestSequence = list13; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(912); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - CollectionsMarshal.AsSpan(list23)[0] = "JerryWester"; - questRoot3.Author = list23; - num = 5; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - Span span11 = CollectionsMarshal.AsSpan(list24); - ref QuestSequence reference19 = ref span11[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006384u, new Vector3(263.5996f, 303.1f, -199.96954f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj13.Steps = list25; - reference19 = obj13; - ref QuestSequence reference20 = ref span11[1]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.Interact, 1006415u, new Vector3(238.30005f, 312f, -227.00854f), 155); - obj14.Steps = list26; - reference20 = obj14; - ref QuestSequence reference21 = ref span11[2]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.Interact, 1006384u, new Vector3(263.5996f, 303.1f, -199.96954f), 155); - obj15.Steps = list27; - reference21 = obj15; - ref QuestSequence reference22 = ref span11[3]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1006416u, new Vector3(445.0598f, 304.93317f, -258.56415f), 155) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj16.Steps = list28; - reference22 = obj16; - ref QuestSequence reference23 = ref span11[4]; - QuestSequence obj17 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006384u, new Vector3(263.5996f, 303.1f, -199.96954f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj17.Steps = list29; - reference23 = obj17; - questRoot3.QuestSequence = list24; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(921); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - CollectionsMarshal.AsSpan(list30)[0] = "Friendly"; - questRoot4.Author = list30; - num = 3; - List list31 = new List(num); - CollectionsMarshal.SetCount(list31, num); - Span span12 = CollectionsMarshal.AsSpan(list31); - ref QuestSequence reference24 = ref span12[0]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - ref QuestStep reference25 = ref CollectionsMarshal.AsSpan(list32)[0]; - QuestStep obj19 = new QuestStep(EInteractionType.AcceptQuest, 1006440u, new Vector3(140.3982f, 4f, -54.154297f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahSapphireAvenue - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition obj20 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - CollectionsMarshal.AsSpan(list33)[0] = 130; - obj20.InTerritory = list33; - skipConditions.AetheryteShortcutIf = obj20; - skipConditions.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj19.SkipConditions = skipConditions; - reference25 = obj19; - obj18.Steps = list32; - reference24 = obj18; - ref QuestSequence reference26 = ref span12[1]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.UseItem, 2001019u, new Vector3(-276.60034f, -3.7995605f, -368.76483f), 141) - { - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - ItemId = 2000715u - }; - obj21.Steps = list34; - reference26 = obj21; - ref QuestSequence reference27 = ref span12[2]; - QuestSequence obj22 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.CompleteQuest, 1007818u, new Vector3(-282.88702f, -5.987557f, -372.64062f), 141); - obj22.Steps = list35; - reference27 = obj22; - questRoot4.QuestSequence = list31; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(924); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - CollectionsMarshal.AsSpan(list36)[0] = "JerryWester"; - questRoot5.Author = list36; - num = 5; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - Span span13 = CollectionsMarshal.AsSpan(list37); - ref QuestSequence reference28 = ref span13[0]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006435u, new Vector3(-478.26355f, 211f, -203.81476f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj23.Steps = list38; - reference28 = obj23; - ref QuestSequence reference29 = ref span13[1]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 1006441u, new Vector3(-414.45032f, 211.45752f, -294.48395f), 155); - obj24.Steps = list39; - reference29 = obj24; - ref QuestSequence reference30 = ref span13[2]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.Interact, 1006442u, new Vector3(-417.92938f, 224.99995f, -301.89978f), 155); - obj25.Steps = list40; - reference30 = obj25; - ref QuestSequence reference31 = ref span13[3]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.Interact, 1006443u, new Vector3(-434.95844f, 224.39996f, -199.45074f), 155); - obj26.Steps = list41; - reference31 = obj26; - ref QuestSequence reference32 = ref span13[4]; - QuestSequence obj27 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006444u, new Vector3(-432.9748f, 233.47266f, -199.6643f), 155); - obj27.Steps = list42; - reference32 = obj27; - questRoot5.QuestSequence = list37; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(927); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - CollectionsMarshal.AsSpan(list43)[0] = "JerryWester"; - questRoot6.Author = list43; - num = 6; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - Span span14 = CollectionsMarshal.AsSpan(list44); - ref QuestSequence reference33 = ref span14[0]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006448u, new Vector3(-428.97693f, 211f, -194.23212f), 155) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj28.Steps = list45; - reference33 = obj28; - ref QuestSequence reference34 = ref span14[1]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - ref QuestStep reference35 = ref CollectionsMarshal.AsSpan(list46)[0]; - QuestStep obj30 = new QuestStep(EInteractionType.Combat, 2002158u, new Vector3(-424.24664f, 279.0111f, 89.58569f), 155) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list47 = new List(num3); - CollectionsMarshal.SetCount(list47, num3); - CollectionsMarshal.AsSpan(list47)[0] = new ComplexCombatData - { - DataId = 2196u - }; - obj30.ComplexCombatData = list47; - obj30.CombatItemUse = new CombatItemUse - { - ItemId = 2000961u, - Condition = ECombatItemUseCondition.MissingStatus, - Value = 22 - }; - reference35 = obj30; - obj29.Steps = list46; - reference34 = obj29; - ref QuestSequence reference36 = ref span14[2]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.Interact, 1006448u, new Vector3(-428.97693f, 211f, -194.23212f), 155); - obj31.Steps = list48; - reference36 = obj31; - ref QuestSequence reference37 = ref span14[3]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - Span span15 = CollectionsMarshal.AsSpan(list49); - ref QuestStep reference38 = ref span15[0]; - QuestStep obj33 = new QuestStep(EInteractionType.Interact, 1006450u, new Vector3(-429.22107f, 211f, -201.7091f), 155) - { - StopDistance = 5f - }; - num3 = 6; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - Span span16 = CollectionsMarshal.AsSpan(list50); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj33.CompletionQuestVariablesFlags = list50; - reference38 = obj33; - ref QuestStep reference39 = ref span15[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1006449u, new Vector3(-436.51483f, 211.01697f, -204.18103f), 155); - num3 = 6; - List list51 = new List(num3); - CollectionsMarshal.SetCount(list51, num3); - Span span17 = CollectionsMarshal.AsSpan(list51); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list51; - reference39 = questStep7; - ref QuestStep reference40 = ref span15[2]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1006451u, new Vector3(-432.2118f, 224.39995f, -197.83319f), 155); - num3 = 6; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - Span span18 = CollectionsMarshal.AsSpan(list52); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list52; - reference40 = questStep8; - obj32.Steps = list49; - reference37 = obj32; - ref QuestSequence reference41 = ref span14[4]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.Interact, 1006448u, new Vector3(-428.97693f, 211f, -194.23212f), 155); - obj34.Steps = list53; - reference41 = obj34; - ref QuestSequence reference42 = ref span14[5]; - QuestSequence obj35 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.CompleteQuest, 1007567u, new Vector3(-411.64264f, 225.02267f, -304.036f), 155); - obj35.Steps = list54; - reference42 = obj35; - questRoot6.QuestSequence = list44; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(938); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - CollectionsMarshal.AsSpan(list55)[0] = "JerryWester"; - questRoot7.Author = list55; - num = 3; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - Span span19 = CollectionsMarshal.AsSpan(list56); - ref QuestSequence reference43 = ref span19[0]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006461u, new Vector3(-415.9762f, 224.99998f, -299.73297f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj36.Steps = list57; - reference43 = obj36; - ref QuestSequence reference44 = ref span19[1]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - Span span20 = CollectionsMarshal.AsSpan(list58); - ref QuestStep reference45 = ref span20[0]; - QuestStep obj38 = new QuestStep(EInteractionType.Interact, 1006466u, new Vector3(-410.23883f, 218.1f, -296.86432f), 155) - { - Mount = true - }; - num3 = 6; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - Span span21 = CollectionsMarshal.AsSpan(list59); - span21[0] = null; - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj38.CompletionQuestVariablesFlags = list59; - reference45 = obj38; - ref QuestStep reference46 = ref span20[1]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1006441u, new Vector3(-414.45032f, 211.45752f, -294.48395f), 155); - num3 = 6; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - Span span22 = CollectionsMarshal.AsSpan(list60); - span22[0] = null; - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list60; - reference46 = questStep9; - ref QuestStep reference47 = ref span20[2]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1007585u, new Vector3(-462.2721f, 211f, -270.43567f), 155); - num3 = 6; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - Span span23 = CollectionsMarshal.AsSpan(list61); - span23[0] = null; - span23[1] = null; - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list61; - reference47 = questStep10; - ref QuestStep reference48 = ref span20[3]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1006448u, new Vector3(-428.97693f, 211f, -194.23212f), 155); - num3 = 6; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - Span span24 = CollectionsMarshal.AsSpan(list62); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list62; - reference48 = questStep11; - obj37.Steps = list58; - reference44 = obj37; - ref QuestSequence reference49 = ref span19[2]; - QuestSequence obj39 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006467u, new Vector3(-437.94922f, 211.17f, -245.7771f), 155); - obj39.Steps = list63; - reference49 = obj39; - questRoot7.QuestSequence = list56; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(939); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - CollectionsMarshal.AsSpan(list64)[0] = "JerryWester"; - questRoot8.Author = list64; - num = 4; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - Span span25 = CollectionsMarshal.AsSpan(list65); - ref QuestSequence reference50 = ref span25[0]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006467u, new Vector3(-437.94922f, 211.17f, -245.7771f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj40.Steps = list66; - reference50 = obj40; - ref QuestSequence reference51 = ref span25[1]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - Span span26 = CollectionsMarshal.AsSpan(list67); - span26[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-398.1833f, 193.72365f, -330.6203f), 155); - span26[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-495.94693f, 149.93378f, -258.90088f), 155); - ref QuestStep reference52 = ref span26[2]; - QuestStep obj42 = new QuestStep(EInteractionType.Combat, 2002170u, new Vector3(-488.6702f, 150.1029f, -318.71527f), 155) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list68 = new List(num3); - CollectionsMarshal.SetCount(list68, num3); - CollectionsMarshal.AsSpan(list68)[0] = 46u; - obj42.KillEnemyDataIds = list68; - reference52 = obj42; - span26[3] = new QuestStep(EInteractionType.Interact, 2002170u, new Vector3(-488.6702f, 150.1029f, -318.71527f), 155); - obj41.Steps = list67; - reference51 = obj41; - ref QuestSequence reference53 = ref span25[2]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 2002590u, new Vector3(-488.6702f, 150.65222f, -317.79968f), 155); - obj43.Steps = list69; - reference53 = obj43; - ref QuestSequence reference54 = ref span25[3]; - QuestSequence obj44 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006467u, new Vector3(-437.94922f, 211.17f, -245.7771f), 155); - obj44.Steps = list70; - reference54 = obj44; - questRoot8.QuestSequence = list65; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(940); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - CollectionsMarshal.AsSpan(list71)[0] = "JerryWester"; - questRoot9.Author = list71; - num = 7; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - Span span27 = CollectionsMarshal.AsSpan(list72); - ref QuestSequence reference55 = ref span27[0]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006467u, new Vector3(-437.94922f, 211.17f, -245.7771f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj45.Steps = list73; - reference55 = obj45; - ref QuestSequence reference56 = ref span27[1]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.Interact, 1006466u, new Vector3(-410.23883f, 218.1f, -296.86432f), 155); - obj46.Steps = list74; - reference56 = obj46; - ref QuestSequence reference57 = ref span27[2]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.Interact, 1006468u, new Vector3(-418.17352f, 210.78818f, -280.0794f), 155); - obj47.Steps = list75; - reference57 = obj47; - ref QuestSequence reference58 = ref span27[3]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.Emote, 1006468u, new Vector3(-418.17352f, 210.78818f, -280.0794f), 155) - { - Emote = EEmote.Doubt - }; - obj48.Steps = list76; - reference58 = obj48; - ref QuestSequence reference59 = ref span27[4]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Interact, 2002174u, new Vector3(-391.3482f, 219.25684f, -179.43091f), 155); - obj49.Steps = list77; - reference59 = obj49; - ref QuestSequence reference60 = ref span27[5]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.Interact, 2002175u, new Vector3(-391.22614f, 219.28735f, -179.49188f), 155); - obj50.Steps = list78; - reference60 = obj50; - ref QuestSequence reference61 = ref span27[6]; - QuestSequence obj51 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006444u, new Vector3(-432.9748f, 233.47266f, -199.6643f), 155); - obj51.Steps = list79; - reference61 = obj51; - questRoot9.QuestSequence = list72; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(941); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - CollectionsMarshal.AsSpan(list80)[0] = "JerryWester"; - questRoot10.Author = list80; - num = 3; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - Span span28 = CollectionsMarshal.AsSpan(list81); - ref QuestSequence reference62 = ref span28[0]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006444u, new Vector3(-432.9748f, 233.47266f, -199.6643f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj52.Steps = list82; - reference62 = obj52; - ref QuestSequence reference63 = ref span28[1]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1006469u, new Vector3(-886.2593f, 228.30641f, 1.6021729f), 155) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj53.Steps = list83; - reference63 = obj53; - ref QuestSequence reference64 = ref span28[2]; - QuestSequence obj54 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006467u, new Vector3(-437.94922f, 211.17f, -245.7771f), 155); - obj54.Steps = list84; - reference64 = obj54; - questRoot10.QuestSequence = list81; - AddQuest(questId10, questRoot10); - } - - private static void LoadQuests19() - { - QuestId questId = new QuestId(952); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "JerryWester"; - questRoot.Author = list; - num = 6; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006467u, new Vector3(-437.94922f, 211.17f, -245.7771f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1006444u, new Vector3(-432.9748f, 233.47266f, -199.6643f), 155); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1006490u, new Vector3(-673.21277f, 205.95982f, -515.7702f), 155); - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - ref QuestStep reference5 = ref CollectionsMarshal.AsSpan(list6)[0]; - QuestStep questStep = new QuestStep(EInteractionType.Duty, null, null, 155); - DutyOptions obj5 = new DutyOptions - { - ContentFinderConditionId = 11u - }; - int num3 = 2; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span2 = CollectionsMarshal.AsSpan(list7); - span2[0] = "(boss 1) AI will not face cleaves away from healer, typically killing them"; - span2[1] = "(boss 3) AI will not face cleaves away from healer, which doesn't always kill them"; - obj5.Notes = list7; - questStep.DutyOptions = obj5; - reference5 = questStep; - obj4.Steps = list6; - reference4 = obj4; - span[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference6 = ref span[5]; - QuestSequence obj6 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006491u, new Vector3(7.248047f, -21.970922f, 119.73743f), 132) - { - StopDistance = 5f - }; - obj6.Steps = list8; - reference6 = obj6; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(953); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - CollectionsMarshal.AsSpan(list9)[0] = "JerryWester"; - questRoot2.Author = list9; - num = 2; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - Span span3 = CollectionsMarshal.AsSpan(list10); - ref QuestSequence reference7 = ref span3[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - Span span4 = CollectionsMarshal.AsSpan(list11); - ref QuestStep reference8 = ref span4[0]; - QuestStep obj8 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(28.973171f, -19.000002f, 102.00182f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAirship - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - CollectionsMarshal.AsSpan(list12)[0] = 132; - skipStepConditions.InTerritory = list12; - skipConditions.StepIf = skipStepConditions; - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - CollectionsMarshal.AsSpan(list13)[0] = 132; - skipAetheryteCondition.InTerritory = list13; - skipConditions.AetheryteShortcutIf = skipAetheryteCondition; - obj8.SkipConditions = skipConditions; - reference8 = obj8; - ref QuestStep reference9 = ref span4[1]; - QuestStep obj9 = new QuestStep(EInteractionType.Interact, 1000106u, new Vector3(29.007324f, -19.000002f, 105.485596f), 132) - { - TargetTerritoryId = (ushort)132 - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - CollectionsMarshal.AsSpan(list14)[0] = 132; - skipStepConditions2.InTerritory = list14; - skipConditions2.StepIf = skipStepConditions2; - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num3 = 1; - List list15 = new List(num3); - CollectionsMarshal.SetCount(list15, num3); - CollectionsMarshal.AsSpan(list15)[0] = 132; - skipAetheryteCondition2.InTerritory = list15; - skipConditions2.AetheryteShortcutIf = skipAetheryteCondition2; - obj9.SkipConditions = skipConditions2; - num3 = 1; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - CollectionsMarshal.AsSpan(list16)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_GAIUSC102_00953_Q1_000_110") - }; - obj9.DialogueChoices = list16; - reference9 = obj9; - span4[2] = new QuestStep(EInteractionType.AcceptQuest, 1006492u, new Vector3(7.3395386f, -21.970974f, 121.934814f), 132) - { - StopDistance = 5f - }; - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference10 = ref span3[1]; - QuestSequence obj10 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006493u, new Vector3(-437.67456f, -55.694504f, 100.87732f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj10.Steps = list17; - reference10 = obj10; - questRoot2.QuestSequence = list10; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(955); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - CollectionsMarshal.AsSpan(list18)[0] = "JerryWester"; - questRoot3.Author = list18; - num = 2; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - Span span5 = CollectionsMarshal.AsSpan(list19); - ref QuestSequence reference11 = ref span5[0]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006493u, new Vector3(-437.67456f, -55.694504f, 100.87732f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj11.Steps = list20; - reference11 = obj11; - ref QuestSequence reference12 = ref span5[1]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006495u, new Vector3(-2.2736206f, -17.544205f, 24.734863f), 145); - obj12.Steps = list21; - reference12 = obj12; - questRoot3.QuestSequence = list19; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(956); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - CollectionsMarshal.AsSpan(list22)[0] = "JerryWester"; - questRoot4.Author = list22; - num = 5; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - Span span6 = CollectionsMarshal.AsSpan(list23); - ref QuestSequence reference13 = ref span6[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006495u, new Vector3(-2.2736206f, -17.544205f, 24.734863f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj13.Steps = list24; - reference13 = obj13; - ref QuestSequence reference14 = ref span6[1]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - Span span7 = CollectionsMarshal.AsSpan(list25); - span7[0] = new QuestStep(EInteractionType.WalkTo, 2002327u, new Vector3(423.17834f, -62.45526f, 213.39734f), 145) - { - StopDistance = 3f - }; - span7[1] = new QuestStep(EInteractionType.UseItem, 2002327u, new Vector3(423.17834f, -62.45526f, 213.39734f), 145) - { - DelaySecondsAtStart = 2f, - ItemId = 2000742u - }; - obj14.Steps = list25; - reference14 = obj14; - ref QuestSequence reference15 = ref span6[2]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.UseItem, 2002501u, new Vector3(423.17834f, -62.45526f, 213.39734f), 145) - { - DelaySecondsAtStart = 3f, - ItemId = 2000837u - }; - obj15.Steps = list26; - reference15 = obj15; - ref QuestSequence reference16 = ref span6[3]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.Interact, 1006495u, new Vector3(-2.2736206f, -17.544205f, 24.734863f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj16.Steps = list27; - reference16 = obj16; - ref QuestSequence reference17 = ref span6[4]; - QuestSequence obj17 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006493u, new Vector3(-437.67456f, -55.694504f, 100.87732f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj17.Steps = list28; - reference17 = obj17; - questRoot4.QuestSequence = list23; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(959); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - CollectionsMarshal.AsSpan(list29)[0] = "JerryWester"; - questRoot5.Author = list29; - num = 2; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - Span span8 = CollectionsMarshal.AsSpan(list30); - ref QuestSequence reference18 = ref span8[0]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006493u, new Vector3(-437.67456f, -55.694504f, 100.87732f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj18.Steps = list31; - reference18 = obj18; - ref QuestSequence reference19 = ref span8[1]; - QuestSequence obj19 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006497u, new Vector3(321.1565f, -18.197807f, 276.5697f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - obj19.Steps = list32; - reference19 = obj19; - questRoot5.QuestSequence = list30; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(960); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list33 = new List(num); - CollectionsMarshal.SetCount(list33, num); - CollectionsMarshal.AsSpan(list33)[0] = "JerryWester"; - questRoot6.Author = list33; - num = 3; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - Span span9 = CollectionsMarshal.AsSpan(list34); - ref QuestSequence reference20 = ref span9[0]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006497u, new Vector3(321.1565f, -18.197807f, 276.5697f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj20.Steps = list35; - reference20 = obj20; - ref QuestSequence reference21 = ref span9[1]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 1 - }; - num2 = 9; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - Span span10 = CollectionsMarshal.AsSpan(list36); - ref QuestStep reference22 = ref span10[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(326.43436f, -10.900522f, 254.15413f), 138); - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - Span span11 = CollectionsMarshal.AsSpan(list37); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list37; - skipConditions3.StepIf = skipStepConditions3; - questStep2.SkipConditions = skipConditions3; - reference22 = questStep2; - ref QuestStep reference23 = ref span10[1]; - QuestStep obj22 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(323.1029f, -12.214727f, 253.75018f), 138) - { - DisableNavmesh = true - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - Span span12 = CollectionsMarshal.AsSpan(list38); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list38; - skipConditions4.StepIf = skipStepConditions4; - obj22.SkipConditions = skipConditions4; - reference23 = obj22; - ref QuestStep reference24 = ref span10[2]; - QuestStep obj23 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(322.68527f, -15.189899f, 241.07025f), 138) - { - DisableNavmesh = true - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 6; - List list39 = new List(num3); - CollectionsMarshal.SetCount(list39, num3); - Span span13 = CollectionsMarshal.AsSpan(list39); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions5.CompletionQuestVariablesFlags = list39; - skipConditions5.StepIf = skipStepConditions5; - obj23.SkipConditions = skipConditions5; - reference24 = obj23; - ref QuestStep reference25 = ref span10[3]; - QuestStep obj24 = new QuestStep(EInteractionType.Interact, 1006500u, new Vector3(321.1565f, -15.187395f, 253.52856f), 138) - { - StopDistance = 5f - }; - num3 = 6; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - Span span14 = CollectionsMarshal.AsSpan(list40); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj24.CompletionQuestVariablesFlags = list40; - reference25 = obj24; - ref QuestStep reference26 = ref span10[4]; - QuestStep obj25 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(317.6691f, -15.190072f, 236.13472f), 138) - { - DisableNavmesh = true - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 6; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - Span span15 = CollectionsMarshal.AsSpan(list41); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions6.CompletionQuestVariablesFlags = list41; - skipConditions6.StepIf = skipStepConditions6; - obj25.SkipConditions = skipConditions6; - reference26 = obj25; - ref QuestStep reference27 = ref span10[5]; - QuestStep obj26 = new QuestStep(EInteractionType.Jump, null, new Vector3(317.6691f, -15.190072f, 236.13472f), 138) - { - StopDistance = 1f, - JumpDestination = new JumpDestination - { - Position = new Vector3(311.00226f, -25.001122f, 236.11098f) - } - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 6; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - Span span16 = CollectionsMarshal.AsSpan(list42); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions7.CompletionQuestVariablesFlags = list42; - skipConditions7.StepIf = skipStepConditions7; - obj26.SkipConditions = skipConditions7; - reference27 = obj26; - ref QuestStep reference28 = ref span10[6]; - QuestStep questStep3 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(260.88342f, -24.975f, 249.04248f), 138); - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions8 = new SkipStepConditions(); - num3 = 6; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - Span span17 = CollectionsMarshal.AsSpan(list43); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions8.CompletionQuestVariablesFlags = list43; - skipConditions8.StepIf = skipStepConditions8; - questStep3.SkipConditions = skipConditions8; - reference28 = questStep3; - ref QuestStep reference29 = ref span10[7]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1006499u, new Vector3(260.88342f, -24.975f, 249.04248f), 138); - num3 = 6; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - Span span18 = CollectionsMarshal.AsSpan(list44); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list44; - reference29 = questStep4; - ref QuestStep reference30 = ref span10[8]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1006498u, new Vector3(178.78992f, -41.131824f, 257.16016f), 138); - num3 = 6; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - Span span19 = CollectionsMarshal.AsSpan(list45); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list45; - reference30 = questStep5; - obj21.Steps = list36; - reference21 = obj21; - ref QuestSequence reference31 = ref span9[2]; - QuestSequence obj27 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - Span span20 = CollectionsMarshal.AsSpan(list46); - span20[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(293.98203f, -24.988865f, 240.63774f), 138); - span20[1] = new QuestStep(EInteractionType.CompleteQuest, 1006497u, new Vector3(321.1565f, -18.197807f, 276.5697f), 138); - obj27.Steps = list46; - reference31 = obj27; - questRoot6.QuestSequence = list34; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(961); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - CollectionsMarshal.AsSpan(list47)[0] = "JerryWester"; - questRoot7.Author = list47; - num = 5; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - Span span21 = CollectionsMarshal.AsSpan(list48); - ref QuestSequence reference32 = ref span21[0]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006497u, new Vector3(321.1565f, -18.197807f, 276.5697f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj28.Steps = list49; - reference32 = obj28; - ref QuestSequence reference33 = ref span21[1]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - Span span22 = CollectionsMarshal.AsSpan(list50); - span22[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(293.98203f, -24.988865f, 240.63774f), 138); - span22[1] = new QuestStep(EInteractionType.Interact, 1006502u, new Vector3(182.39111f, -41.0828f, 260.151f), 138); - obj29.Steps = list50; - reference33 = obj29; - ref QuestSequence reference34 = ref span21[2]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - Span span23 = CollectionsMarshal.AsSpan(list51); - span23[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(293.98203f, -24.988865f, 240.63774f), 138); - span23[1] = new QuestStep(EInteractionType.Interact, 1006497u, new Vector3(321.1565f, -18.197807f, 276.5697f), 138); - obj30.Steps = list51; - reference34 = obj30; - ref QuestSequence reference35 = ref span21[3]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - Span span24 = CollectionsMarshal.AsSpan(list52); - span24[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(303.96317f, -36.40591f, 316.74185f), 138); - span24[1] = new QuestStep(EInteractionType.Interact, 1006501u, new Vector3(311.4214f, -36.405907f, 333.54688f), 138); - obj31.Steps = list52; - reference35 = obj31; - ref QuestSequence reference36 = ref span21[4]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - Span span25 = CollectionsMarshal.AsSpan(list53); - span25[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(305.6621f, -36.405907f, 320.81702f), 138) - { - Mount = true - }; - span25[1] = new QuestStep(EInteractionType.CompleteQuest, 1006497u, new Vector3(321.1565f, -18.197807f, 276.5697f), 138); - obj32.Steps = list53; - reference36 = obj32; - questRoot7.QuestSequence = list48; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(962); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - CollectionsMarshal.AsSpan(list54)[0] = "JerryWester"; - questRoot8.Author = list54; - num = 4; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - Span span26 = CollectionsMarshal.AsSpan(list55); - ref QuestSequence reference37 = ref span26[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006497u, new Vector3(321.1565f, -18.197807f, 276.5697f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj33.Steps = list56; - reference37 = obj33; - ref QuestSequence reference38 = ref span26[1]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - Span span27 = CollectionsMarshal.AsSpan(list57); - span27[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(303.96317f, -36.40591f, 316.74185f), 138); - span27[1] = new QuestStep(EInteractionType.Interact, 1007640u, new Vector3(317.95215f, -40.425003f, 374.10547f), 138); - obj34.Steps = list57; - reference38 = obj34; - ref QuestSequence reference39 = ref span26[2]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.Interact, 1007540u, new Vector3(-285.96942f, -40.868286f, 410.39136f), 138) - { - StopDistance = 7f - }; - obj35.Steps = list58; - reference39 = obj35; - ref QuestSequence reference40 = ref span26[3]; - QuestSequence obj36 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006503u, new Vector3(-266.5904f, -40.040386f, 461.72266f), 138); - obj36.Steps = list59; - reference40 = obj36; - questRoot8.QuestSequence = list55; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(963); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - CollectionsMarshal.AsSpan(list60)[0] = "JerryWester"; - questRoot9.Author = list60; - num = 3; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - Span span28 = CollectionsMarshal.AsSpan(list61); - ref QuestSequence reference41 = ref span28[0]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006503u, new Vector3(-266.5904f, -40.040386f, 461.72266f), 138); - obj37.Steps = list62; - reference41 = obj37; - ref QuestSequence reference42 = ref span28[1]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - Span span29 = CollectionsMarshal.AsSpan(list63); - ref QuestStep reference43 = ref span29[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1007639u, new Vector3(-196.82617f, -40.651188f, 499.9618f), 138); - num3 = 6; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - Span span30 = CollectionsMarshal.AsSpan(list64); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list64; - reference43 = questStep6; - ref QuestStep reference44 = ref span29[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1006506u, new Vector3(-198.47418f, -40.461403f, 499.9923f), 138); - num3 = 6; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - Span span31 = CollectionsMarshal.AsSpan(list65); - span31[0] = null; - span31[1] = null; - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list65; - reference44 = questStep7; - ref QuestStep reference45 = ref span29[2]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1006505u, new Vector3(-200.36627f, -40.340702f, 503.19666f), 138); - num3 = 6; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - Span span32 = CollectionsMarshal.AsSpan(list66); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list66; - reference45 = questStep8; - obj38.Steps = list63; - reference42 = obj38; - ref QuestSequence reference46 = ref span28[2]; - QuestSequence obj39 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006503u, new Vector3(-266.5904f, -40.040386f, 461.72266f), 138); - obj39.Steps = list67; - reference46 = obj39; - questRoot9.QuestSequence = list61; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(967); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - CollectionsMarshal.AsSpan(list68)[0] = "JerryWester"; - questRoot10.Author = list68; - num = 7; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - Span span33 = CollectionsMarshal.AsSpan(list69); - ref QuestSequence reference47 = ref span33[0]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006503u, new Vector3(-266.5904f, -40.040386f, 461.72266f), 138); - obj40.Steps = list70; - reference47 = obj40; - ref QuestSequence reference48 = ref span33[1]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.Interact, 1006507u, new Vector3(-287.22064f, -40.98314f, 407.64465f), 138); - obj41.Steps = list71; - reference48 = obj41; - ref QuestSequence reference49 = ref span33[2]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.Interact, 1007716u, new Vector3(-312.03174f, -41.36315f, 682.70386f), 138); - obj42.Steps = list72; - reference49 = obj42; - ref QuestSequence reference50 = ref span33[3]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2002189u, new Vector3(-307.75922f, -41.672424f, 695.3993f), 138) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj43.Steps = list73; - reference50 = obj43; - ref QuestSequence reference51 = ref span33[4]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.Interact, 1007716u, new Vector3(-312.03174f, -41.36315f, 682.70386f), 138); - obj44.Steps = list74; - reference51 = obj44; - ref QuestSequence reference52 = ref span33[5]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.Interact, 1006503u, new Vector3(-266.5904f, -40.040386f, 461.72266f), 138); - obj45.Steps = list75; - reference52 = obj45; - ref QuestSequence reference53 = ref span33[6]; - QuestSequence obj46 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - Span span34 = CollectionsMarshal.AsSpan(list76); - span34[0] = new QuestStep(EInteractionType.Interact, 1005239u, new Vector3(-289.9062f, -41.2455f, 406.51562f), 138) - { - TargetTerritoryId = (ushort)138, - Comment = "Ferry Skipper" - }; - span34[1] = new QuestStep(EInteractionType.CompleteQuest, 1006497u, new Vector3(321.1565f, -18.197807f, 276.5697f), 138); - obj46.Steps = list76; - reference53 = obj46; - questRoot10.QuestSequence = list69; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(969); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - CollectionsMarshal.AsSpan(list77)[0] = "UcanPatates"; - questRoot11.Author = list77; - num = 2; - List list78 = new List(num); - CollectionsMarshal.SetCount(list78, num); - Span span35 = CollectionsMarshal.AsSpan(list78); - ref QuestSequence reference54 = ref span35[0]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - ref QuestStep reference55 = ref CollectionsMarshal.AsSpan(list79)[0]; - QuestStep obj48 = new QuestStep(EInteractionType.AcceptQuest, 1006711u, new Vector3(-140.39832f, 7.8986163f, -142.99237f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition3 = new SkipAetheryteCondition(); - num3 = 2; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - Span span36 = CollectionsMarshal.AsSpan(list80); - span36[0] = 132; - span36[1] = 133; - skipAetheryteCondition3.InTerritory = list80; - skipConditions9.AetheryteShortcutIf = skipAetheryteCondition3; - skipConditions9.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj48.SkipConditions = skipConditions9; - reference55 = obj48; - obj47.Steps = list79; - reference54 = obj47; - ref QuestSequence reference56 = ref span35[1]; - QuestSequence obj49 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000617u, new Vector3(5.722107f, -7.2786255f, 270.95447f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - NextQuestId = new QuestId(970) - }; - obj49.Steps = list81; - reference56 = obj49; - questRoot11.QuestSequence = list78; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(970); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - CollectionsMarshal.AsSpan(list82)[0] = "UcanPatates"; - questRoot12.Author = list82; - num = 4; - List list83 = new List(num); - CollectionsMarshal.SetCount(list83, num); - Span span37 = CollectionsMarshal.AsSpan(list83); - ref QuestSequence reference57 = ref span37[0]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000617u, new Vector3(5.722107f, -7.2786255f, 270.95447f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj50.Steps = list84; - reference57 = obj50; - ref QuestSequence reference58 = ref span37[1]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.Interact, 1000587u, new Vector3(-7.248047f, -8.407776f, 268.23828f), 152) - { - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj51.Steps = list85; - reference58 = obj51; - ref QuestSequence reference59 = ref span37[2]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - Span span38 = CollectionsMarshal.AsSpan(list86); - ref QuestStep reference60 = ref span38[0]; - QuestStep obj53 = new QuestStep(EInteractionType.Interact, 2002191u, new Vector3(189.6543f, 7.94989f, 133.65369f), 152) - { - StopDistance = 0.25f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 6; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - Span span39 = CollectionsMarshal.AsSpan(list87); - span39[0] = null; - span39[1] = null; - span39[2] = null; - span39[3] = null; - span39[4] = null; - span39[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj53.CompletionQuestVariablesFlags = list87; - reference60 = obj53; - ref QuestStep reference61 = ref span38[1]; - QuestStep obj54 = new QuestStep(EInteractionType.Interact, 2002192u, new Vector3(181.04822f, 0.07623291f, 43.289795f), 152) - { - StopDistance = 0.25f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 6; - List list88 = new List(num3); - CollectionsMarshal.SetCount(list88, num3); - Span span40 = CollectionsMarshal.AsSpan(list88); - span40[0] = null; - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj54.CompletionQuestVariablesFlags = list88; - reference61 = obj54; - ref QuestStep reference62 = ref span38[2]; - QuestStep obj55 = new QuestStep(EInteractionType.Interact, 2002190u, new Vector3(233.66138f, 6.42395f, 199.11487f), 152) - { - StopDistance = 0.25f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 6; - List list89 = new List(num3); - CollectionsMarshal.SetCount(list89, num3); - Span span41 = CollectionsMarshal.AsSpan(list89); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj55.CompletionQuestVariablesFlags = list89; - reference62 = obj55; - obj52.Steps = list86; - reference59 = obj52; - ref QuestSequence reference63 = ref span37[3]; - QuestSequence obj56 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - Span span42 = CollectionsMarshal.AsSpan(list90); - span42[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(124.74073f, 6.729165f, 190.69174f), 152) - { - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span42[1] = new QuestStep(EInteractionType.CompleteQuest, 1006715u, new Vector3(-170.67218f, 56.713512f, -255.9701f), 152) - { - Fly = true, - NextQuestId = new QuestId(972) - }; - obj56.Steps = list90; - reference63 = obj56; - questRoot12.QuestSequence = list83; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(972); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - CollectionsMarshal.AsSpan(list91)[0] = "UcanPatates"; - questRoot13.Author = list91; - num = 3; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - Span span43 = CollectionsMarshal.AsSpan(list92); - ref QuestSequence reference64 = ref span43[0]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006715u, new Vector3(-170.67218f, 56.713512f, -255.9701f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj57.Steps = list93; - reference64 = obj57; - ref QuestSequence reference65 = ref span43[1]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - Span span44 = CollectionsMarshal.AsSpan(list94); - span44[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-193.69008f, 55.59636f, -177.57457f), 152) - { - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span44[1] = new QuestStep(EInteractionType.Interact, 1007568u, new Vector3(-183.88647f, 57.451885f, -143.93835f), 152); - obj58.Steps = list94; - reference65 = obj58; - ref QuestSequence reference66 = ref span43[2]; - QuestSequence obj59 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006715u, new Vector3(-170.67218f, 56.713512f, -255.9701f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj59.Steps = list95; - reference66 = obj59; - questRoot13.QuestSequence = list92; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(973); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - CollectionsMarshal.AsSpan(list96)[0] = "croizat"; - questRoot14.Author = list96; - num = 3; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - Span span45 = CollectionsMarshal.AsSpan(list97); - ref QuestSequence reference67 = ref span45[0]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006717u, new Vector3(-236.2555f, 51.499146f, -193.13348f), 152); - obj60.Steps = list98; - reference67 = obj60; - ref QuestSequence reference68 = ref span45[1]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - ref QuestStep reference69 = ref CollectionsMarshal.AsSpan(list99)[0]; - QuestStep obj62 = new QuestStep(EInteractionType.Combat, null, new Vector3(-9.741034f, 18.766914f, -0.8730635f), 152) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list100 = new List(num3); - CollectionsMarshal.SetCount(list100, num3); - CollectionsMarshal.AsSpan(list100)[0] = new ComplexCombatData - { - DataId = 133u, - MinimumKillCount = 4u, - RewardItemId = 2000751u, - RewardItemCount = 4 - }; - obj62.ComplexCombatData = list100; - reference69 = obj62; - obj61.Steps = list99; - reference68 = obj61; - ref QuestSequence reference70 = ref span45[2]; - QuestSequence obj63 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006717u, new Vector3(-236.2555f, 51.499146f, -193.13348f), 152); - obj63.Steps = list101; - reference70 = obj63; - questRoot14.QuestSequence = list97; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(975); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - CollectionsMarshal.AsSpan(list102)[0] = "JerryWester"; - questRoot15.Author = list102; - num = 2; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - Span span46 = CollectionsMarshal.AsSpan(list103); - ref QuestSequence reference71 = ref span46[0]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006710u, new Vector3(-123.73547f, 7.0426483f, -149.98096f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - obj64.Steps = list104; - reference71 = obj64; - ref QuestSequence reference72 = ref span46[1]; - QuestSequence obj65 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - Span span47 = CollectionsMarshal.AsSpan(list105); - ref QuestStep reference73 = ref span47[0]; - QuestStep obj66 = new QuestStep(EInteractionType.Interact, 1000106u, new Vector3(29.007324f, -19.000002f, 105.485596f), 132) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaAmphitheatre, - To = EAetheryteLocation.GridaniaAirship - } - }; - num3 = 1; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - CollectionsMarshal.AsSpan(list106)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_GAIUSC308_00975_Q1_000_040") - }; - obj66.DialogueChoices = list106; - reference73 = obj66; - span47[1] = new QuestStep(EInteractionType.CompleteQuest, 1006492u, new Vector3(7.3395386f, -21.970974f, 121.934814f), 132); - obj65.Steps = list105; - reference72 = obj65; - questRoot15.QuestSequence = list103; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(978); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - CollectionsMarshal.AsSpan(list107)[0] = "JerryWester"; - questRoot16.Author = list107; - num = 2; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - Span span48 = CollectionsMarshal.AsSpan(list108); - ref QuestSequence reference74 = ref span48[0]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.AcceptQuest, 1007473u, new Vector3(37.308228f, 1.2000015f, 2.9144287f), 212) - { - StopDistance = 7f - }; - obj67.Steps = list109; - reference74 = obj67; - ref QuestSequence reference75 = ref span48[1]; - QuestSequence obj68 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006380u, new Vector3(169.48193f, 223.03537f, 366.26233f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj68.Steps = list110; - reference75 = obj68; - questRoot16.QuestSequence = list108; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(979); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - CollectionsMarshal.AsSpan(list111)[0] = "liza"; - questRoot17.Author = list111; - num = 2; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - Span span49 = CollectionsMarshal.AsSpan(list112); - ref QuestSequence reference76 = ref span49[0]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006382u, new Vector3(165.20935f, 222.99998f, 367.72717f), 155); - obj69.Steps = list113; - reference76 = obj69; - ref QuestSequence reference77 = ref span49[1]; - QuestSequence obj70 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006516u, new Vector3(-82.68872f, 233.23743f, 317.1892f), 155); - obj70.Steps = list114; - reference77 = obj70; - questRoot17.QuestSequence = list112; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(980); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - CollectionsMarshal.AsSpan(list115)[0] = "JerryWester"; - questRoot18.Author = list115; - num = 3; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - Span span50 = CollectionsMarshal.AsSpan(list116); - ref QuestSequence reference78 = ref span50[0]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006380u, new Vector3(169.48193f, 223.03537f, 366.26233f), 155); - obj71.Steps = list117; - reference78 = obj71; - ref QuestSequence reference79 = ref span50[1]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.Interact, 1006517u, new Vector3(-49.607117f, 223.60161f, 350.57593f), 155); - obj72.Steps = list118; - reference79 = obj72; - ref QuestSequence reference80 = ref span50[2]; - QuestSequence obj73 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006518u, new Vector3(-354.84857f, 214.79114f, 687.5867f), 155); - obj73.Steps = list119; - reference80 = obj73; - questRoot18.QuestSequence = list116; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(981); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list120 = new List(num); - CollectionsMarshal.SetCount(list120, num); - CollectionsMarshal.AsSpan(list120)[0] = "JerryWester"; - questRoot19.Author = list120; - num = 8; - List list121 = new List(num); - CollectionsMarshal.SetCount(list121, num); - Span span51 = CollectionsMarshal.AsSpan(list121); - ref QuestSequence reference81 = ref span51[0]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006518u, new Vector3(-354.84857f, 214.79114f, 687.5867f), 155); - obj74.Steps = list122; - reference81 = obj74; - ref QuestSequence reference82 = ref span51[1]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.Interact, 2002196u, new Vector3(-322.80463f, 216.54077f, 655.8479f), 155); - obj75.Steps = list123; - reference82 = obj75; - ref QuestSequence reference83 = ref span51[2]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.Interact, 2002197u, new Vector3(-290.9438f, 223.25464f, 590.5393f), 155); - obj76.Steps = list124; - reference83 = obj76; - ref QuestSequence reference84 = ref span51[3]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.Interact, 2002198u, new Vector3(-316.15173f, 228.93103f, 540.917f), 155); - obj77.Steps = list125; - reference84 = obj77; - ref QuestSequence reference85 = ref span51[4]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.Interact, 2002199u, new Vector3(-338.2467f, 235.21777f, 525.5664f), 155); - obj78.Steps = list126; - reference85 = obj78; - ref QuestSequence reference86 = ref span51[5]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.Interact, 2002200u, new Vector3(-358.29712f, 236.71313f, 506.27905f), 155); - obj79.Steps = list127; - reference86 = obj79; - ref QuestSequence reference87 = ref span51[6]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - Span span52 = CollectionsMarshal.AsSpan(list128); - span52[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-399.05286f, 228.68446f, 445.9758f), 155); - span52[1] = new QuestStep(EInteractionType.Interact, 1006519u, new Vector3(-397.54333f, 229.15173f, 448.32532f), 155) - { - StopDistance = 7f, - DisableNavmesh = true - }; - obj80.Steps = list128; - reference87 = obj80; - ref QuestSequence reference88 = ref span51[7]; - QuestSequence obj81 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - Span span53 = CollectionsMarshal.AsSpan(list129); - span53[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-688.1699f, 241.99994f, 355.80283f), 155); - span53[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-692.2779f, 242.18399f, 366.4715f), 155) - { - DisableNavmesh = true - }; - span53[2] = new QuestStep(EInteractionType.CompleteQuest, 1006521u, new Vector3(-697.04736f, 242.18399f, 380.63623f), 155); - obj81.Steps = list129; - reference88 = obj81; - questRoot19.QuestSequence = list121; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(982); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list130 = new List(num); - CollectionsMarshal.SetCount(list130, num); - CollectionsMarshal.AsSpan(list130)[0] = "JerryWester"; - questRoot20.Author = list130; - num = 4; - List list131 = new List(num); - CollectionsMarshal.SetCount(list131, num); - Span span54 = CollectionsMarshal.AsSpan(list131); - ref QuestSequence reference89 = ref span54[0]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006520u, new Vector3(-699.51935f, 242.184f, 373.495f), 155) - { - StopDistance = 7f - }; - obj82.Steps = list132; - reference89 = obj82; - ref QuestSequence reference90 = ref span54[1]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.Interact, 1006521u, new Vector3(-697.04736f, 242.18399f, 380.63623f), 155); - obj83.Steps = list133; - reference90 = obj83; - ref QuestSequence reference91 = ref span54[2]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - Span span55 = CollectionsMarshal.AsSpan(list134); - span55[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-692.2779f, 242.18399f, 366.4715f), 155); - span55[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-688.1699f, 241.99994f, 355.80283f), 155) - { - DisableNavmesh = true - }; - span55[2] = new QuestStep(EInteractionType.Interact, 2002265u, new Vector3(-693.01904f, 253.86426f, 506.98096f), 155); - obj84.Steps = list134; - reference91 = obj84; - ref QuestSequence reference92 = ref span54[3]; - QuestSequence obj85 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - Span span56 = CollectionsMarshal.AsSpan(list135); - span56[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-690.43774f, 261.3325f, 433.44107f), 155) - { - Mount = false, - Comment = "Enemies lose aggro around here" - }; - span56[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-688.1699f, 241.99994f, 355.80283f), 155) - { - Mount = true - }; - span56[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-692.2779f, 242.18399f, 366.4715f), 155) - { - DisableNavmesh = true - }; - span56[3] = new QuestStep(EInteractionType.CompleteQuest, 1006520u, new Vector3(-699.51935f, 242.184f, 373.495f), 155); - obj85.Steps = list135; - reference92 = obj85; - questRoot20.QuestSequence = list131; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(983); - QuestRoot questRoot21 = new QuestRoot(); - num = 2; - List list136 = new List(num); - CollectionsMarshal.SetCount(list136, num); - Span span57 = CollectionsMarshal.AsSpan(list136); - span57[0] = "JerryWester"; - span57[1] = "Wigglez"; - questRoot21.Author = list136; - num = 4; - List list137 = new List(num); - CollectionsMarshal.SetCount(list137, num); - Span span58 = CollectionsMarshal.AsSpan(list137); - ref QuestSequence reference93 = ref span58[0]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006520u, new Vector3(-699.51935f, 242.184f, 373.495f), 155); - obj86.Steps = list138; - reference93 = obj86; - ref QuestSequence reference94 = ref span58[1]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.Interact, 1006522u, new Vector3(-694.42285f, 300.96927f, 372.1521f), 155); - obj87.Steps = list139; - reference94 = obj87; - ref QuestSequence reference95 = ref span58[2]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - Span span59 = CollectionsMarshal.AsSpan(list140); - ref QuestStep reference96 = ref span59[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-692.2779f, 242.18399f, 366.4715f), 155); - SkipConditions skipConditions10 = new SkipConditions(); - SkipStepConditions skipStepConditions9 = new SkipStepConditions(); - num3 = 1; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - CollectionsMarshal.AsSpan(list141)[0] = 304; - skipStepConditions9.InTerritory = list141; - skipStepConditions9.NearPosition = new NearPositionCondition - { - Position = new Vector3(-478.3551f, 288.4877f, 168.01697f), - MaximumDistance = 30f, - TerritoryId = 155 - }; - skipConditions10.StepIf = skipStepConditions9; - questStep9.SkipConditions = skipConditions10; - reference96 = questStep9; - ref QuestStep reference97 = ref span59[1]; - QuestStep obj89 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-688.1699f, 241.99994f, 355.80283f), 155) - { - DisableNavmesh = true - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipStepConditions skipStepConditions10 = new SkipStepConditions(); - num3 = 1; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - CollectionsMarshal.AsSpan(list142)[0] = 304; - skipStepConditions10.InTerritory = list142; - skipStepConditions10.NearPosition = new NearPositionCondition - { - Position = new Vector3(-478.3551f, 288.4877f, 168.01697f), - MaximumDistance = 30f, - TerritoryId = 155 - }; - skipConditions11.StepIf = skipStepConditions10; - obj89.SkipConditions = skipConditions11; - reference97 = obj89; - span59[2] = new QuestStep(EInteractionType.SinglePlayerDuty, 1006525u, new Vector3(-478.3551f, 288.4877f, 168.01697f), 155) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj88.Steps = list140; - reference95 = obj88; - ref QuestSequence reference98 = ref span58[3]; - QuestSequence obj90 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - Span span60 = CollectionsMarshal.AsSpan(list143); - span60[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-688.1699f, 241.99994f, 355.80283f), 155) - { - Mount = true - }; - span60[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-692.2779f, 242.18399f, 366.4715f), 155) - { - DisableNavmesh = true - }; - span60[2] = new QuestStep(EInteractionType.CompleteQuest, 1006520u, new Vector3(-699.51935f, 242.184f, 373.495f), 155); - obj90.Steps = list143; - reference98 = obj90; - questRoot21.QuestSequence = list137; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(984); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list144 = new List(num); - CollectionsMarshal.SetCount(list144, num); - CollectionsMarshal.AsSpan(list144)[0] = "JerryWester"; - questRoot22.Author = list144; - num = 3; - List list145 = new List(num); - CollectionsMarshal.SetCount(list145, num); - Span span61 = CollectionsMarshal.AsSpan(list145); - ref QuestSequence reference99 = ref span61[0]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006528u, new Vector3(-698.51227f, 242.18399f, 375.17358f), 155) - { - StopDistance = 5f - }; - obj91.Steps = list146; - reference99 = obj91; - ref QuestSequence reference100 = ref span61[1]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - Span span62 = CollectionsMarshal.AsSpan(list147); - span62[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-692.2779f, 242.18399f, 366.4715f), 155); - span62[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-688.1699f, 241.99994f, 355.80283f), 155) - { - DisableNavmesh = true - }; - span62[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-217.57614f, 217.23946f, 706.57166f), 155); - span62[3] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 156) - { - StopDistance = 5f, - Aetheryte = EAetheryteLocation.MorDhona - }; - span62[4] = new QuestStep(EInteractionType.Interact, 1006530u, new Vector3(21.927185f, 20.746975f, -682.06305f), 156); - obj92.Steps = list147; - reference100 = obj92; - ref QuestSequence reference101 = ref span61[2]; - QuestSequence obj93 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006531u, new Vector3(53.81848f, 25.009521f, -697.0779f), 156); - obj93.Steps = list148; - reference101 = obj93; - questRoot22.QuestSequence = list145; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(986); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list149 = new List(num); - CollectionsMarshal.SetCount(list149, num); - CollectionsMarshal.AsSpan(list149)[0] = "JerryWester"; - questRoot23.Author = list149; - num = 5; - List list150 = new List(num); - CollectionsMarshal.SetCount(list150, num); - Span span63 = CollectionsMarshal.AsSpan(list150); - ref QuestSequence reference102 = ref span63[0]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006531u, new Vector3(53.81848f, 25.009521f, -697.0779f), 156); - obj94.Steps = list151; - reference102 = obj94; - ref QuestSequence reference103 = ref span63[1]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - Span span64 = CollectionsMarshal.AsSpan(list152); - span64[0] = new QuestStep(EInteractionType.Combat, null, new Vector3(-420.5539f, -16.922302f, -325.30713f), 156) - { - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny, - CombatDelaySecondsAtStart = 2f - }; - ref QuestStep reference104 = ref span64[1]; - QuestStep obj96 = new QuestStep(EInteractionType.Combat, 2002201u, new Vector3(-420.5539f, -16.922302f, -325.30713f), 156) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - CollectionsMarshal.AsSpan(list153)[0] = 43u; - obj96.KillEnemyDataIds = list153; - reference104 = obj96; - obj95.Steps = list152; - reference103 = obj95; - ref QuestSequence reference105 = ref span63[2]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.Interact, 2002202u, new Vector3(-420.52344f, -16.922302f, -325.30713f), 156); - obj97.Steps = list154; - reference105 = obj97; - ref QuestSequence reference106 = ref span63[3]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.Interact, 1006534u, new Vector3(28.213867f, 20.662334f, -688.4413f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj98.Steps = list155; - reference106 = obj98; - ref QuestSequence reference107 = ref span63[4]; - QuestSequence obj99 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006535u, new Vector3(26.901611f, 20.543928f, -687.4037f), 156); - obj99.Steps = list156; - reference107 = obj99; - questRoot23.QuestSequence = list150; - AddQuest(questId23, questRoot23); - } - - private static void LoadQuests20() - { - QuestId questId = new QuestId(1001); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "JerryWester"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006535u, new Vector3(26.901611f, 20.543928f, -687.4037f), 156); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1, - Comment = "'Invalid target' messages can just be bad positioning?" - }; - num2 = 12; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference3 = ref span2[0]; - QuestStep questStep = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-148.50606f, -0.6686005f, -615.3246f), 156); - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - int num3 = 6; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - Span span3 = CollectionsMarshal.AsSpan(list5); - span3[0] = null; - span3[1] = null; - span3[2] = null; - span3[3] = null; - span3[4] = null; - span3[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list5; - skipConditions.StepIf = skipStepConditions; - questStep.SkipConditions = skipConditions; - reference3 = questStep; - ref QuestStep reference4 = ref span2[1]; - QuestStep obj3 = new QuestStep(EInteractionType.Combat, 2002232u, new Vector3(-146.92914f, 0.47296143f, -616.0525f), 156) - { - DelaySecondsAtStart = 2f, - ItemId = 2000766u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - CollectionsMarshal.AsSpan(list6)[0] = 46u; - obj3.KillEnemyDataIds = list6; - num3 = 6; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span4 = CollectionsMarshal.AsSpan(list7); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj3.CompletionQuestVariablesFlags = list7; - reference4 = obj3; - ref QuestStep reference5 = ref span2[2]; - QuestStep obj4 = new QuestStep(EInteractionType.UseItem, 2002233u, new Vector3(-202.07526f, 3.8909912f, -625.90985f), 156) - { - ItemId = 2000766u - }; - num3 = 6; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - Span span5 = CollectionsMarshal.AsSpan(list8); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj4.CompletionQuestVariablesFlags = list8; - reference5 = obj4; - ref QuestStep reference6 = ref span2[3]; - QuestStep questStep2 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-219.34567f, 4.551038f, -637.8296f), 156); - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - Span span6 = CollectionsMarshal.AsSpan(list9); - span6[0] = null; - span6[1] = null; - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list9; - skipConditions2.StepIf = skipStepConditions2; - questStep2.SkipConditions = skipConditions2; - reference6 = questStep2; - ref QuestStep reference7 = ref span2[4]; - QuestStep obj5 = new QuestStep(EInteractionType.UseItem, 2002234u, new Vector3(-216.81549f, 5.6915283f, -637.4762f), 156) - { - ItemId = 2000766u - }; - num3 = 6; - List list10 = new List(num3); - CollectionsMarshal.SetCount(list10, num3); - Span span7 = CollectionsMarshal.AsSpan(list10); - span7[0] = null; - span7[1] = null; - span7[2] = null; - span7[3] = null; - span7[4] = null; - span7[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj5.CompletionQuestVariablesFlags = list10; - reference7 = obj5; - ref QuestStep reference8 = ref span2[5]; - QuestStep obj6 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-196.89899f, 5.426553f, -658.71454f), 156) - { - Comment = "Avoids pit" - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - Span span8 = CollectionsMarshal.AsSpan(list11); - span8[0] = null; - span8[1] = null; - span8[2] = null; - span8[3] = null; - span8[4] = null; - span8[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list11; - skipConditions3.StepIf = skipStepConditions3; - obj6.SkipConditions = skipConditions3; - reference8 = obj6; - ref QuestStep reference9 = ref span2[6]; - QuestStep obj7 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-170.45108f, 3.23747f, -656.8099f), 156) - { - Comment = "Move into LOS" - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - Span span9 = CollectionsMarshal.AsSpan(list12); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list12; - skipConditions4.StepIf = skipStepConditions4; - obj7.SkipConditions = skipConditions4; - reference9 = obj7; - ref QuestStep reference10 = ref span2[7]; - QuestStep obj8 = new QuestStep(EInteractionType.Combat, 2002230u, new Vector3(-171.52673f, 4.0131226f, -655.787f), 156) - { - DelaySecondsAtStart = 2f, - ItemId = 2000766u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - CollectionsMarshal.AsSpan(list13)[0] = 46u; - obj8.KillEnemyDataIds = list13; - num3 = 6; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - Span span10 = CollectionsMarshal.AsSpan(list14); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj8.CompletionQuestVariablesFlags = list14; - reference10 = obj8; - span2[8] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-159.67096f, 2.7818115f, -634.4776f), 156); - span2[9] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-169.94295f, 13.794385f, -610.4647f), 156) - { - DisableNavmesh = true, - Comment = "TODO Unsure if this can be reached without flying, or needs more nav" - }; - span2[10] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-175.24794f, 10.096513f, -605.4419f), 156) - { - DisableNavmesh = true, - Mount = false - }; - span2[11] = new QuestStep(EInteractionType.UseItem, 2002231u, new Vector3(-174.91425f, 10.757568f, -603.8148f), 156) - { - DelaySecondsAtStart = 2f, - ItemId = 2000766u - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference11 = ref span[2]; - QuestSequence obj9 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006535u, new Vector3(26.901611f, 20.543928f, -687.4037f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj9.Steps = list15; - reference11 = obj9; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(1002); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - CollectionsMarshal.AsSpan(list16)[0] = "JerryWester"; - questRoot2.Author = list16; - num = 3; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - Span span11 = CollectionsMarshal.AsSpan(list17); - ref QuestSequence reference12 = ref span11[0]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006531u, new Vector3(53.81848f, 25.009521f, -697.0779f), 156); - obj10.Steps = list18; - reference12 = obj10; - ref QuestSequence reference13 = ref span11[1]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - Span span12 = CollectionsMarshal.AsSpan(list19); - ref QuestStep reference14 = ref span12[0]; - QuestStep obj12 = new QuestStep(EInteractionType.Combat, null, new Vector3(-505.211f, -1.9684448f, -467.46014f), 156) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - CollectionsMarshal.AsSpan(list20)[0] = 55u; - obj12.KillEnemyDataIds = list20; - obj12.CombatDelaySecondsAtStart = 5f; - reference14 = obj12; - span12[1] = new QuestStep(EInteractionType.Interact, 2002238u, new Vector3(-505.211f, -1.9684448f, -467.46014f), 156); - obj11.Steps = list19; - reference13 = obj11; - ref QuestSequence reference15 = ref span11[2]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006531u, new Vector3(53.81848f, 25.009521f, -697.0779f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj13.Steps = list21; - reference15 = obj13; - questRoot2.QuestSequence = list17; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(1004); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - CollectionsMarshal.AsSpan(list22)[0] = "JerryWester"; - questRoot3.Author = list22; - num = 4; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - Span span13 = CollectionsMarshal.AsSpan(list23); - ref QuestSequence reference16 = ref span13[0]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006531u, new Vector3(53.81848f, 25.009521f, -697.0779f), 156) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj14.Steps = list24; - reference16 = obj14; - ref QuestSequence reference17 = ref span13[1]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.Emote, 1006709u, new Vector3(-428.79382f, -6.623729f, -528.6183f), 156) - { - Emote = EEmote.ImperialSalute - }; - obj15.Steps = list25; - reference17 = obj15; - ref QuestSequence reference18 = ref span13[2]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - Span span14 = CollectionsMarshal.AsSpan(list26); - span14[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-159.67096f, 2.7818115f, -634.4776f), 156); - span14[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-169.94295f, 13.794385f, -610.4647f), 156) - { - DisableNavmesh = true - }; - span14[2] = new QuestStep(EInteractionType.SinglePlayerDuty, 2002329u, new Vector3(-169.8482f, 14.114502f, -609.4606f), 156) - { - ItemId = 2000771u, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj16.Steps = list26; - reference18 = obj16; - ref QuestSequence reference19 = ref span13[3]; - QuestSequence obj17 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - Span span15 = CollectionsMarshal.AsSpan(list27); - ref QuestStep reference20 = ref span15[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1006530u, new Vector3(21.927185f, 20.746975f, -682.06305f), 156); - num3 = 1; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - CollectionsMarshal.AsSpan(list28)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_GAIUSC604_01004_EVENTAREA_WARP_YESNO_TITLE") - }; - questStep3.DialogueChoices = list28; - reference20 = questStep3; - span15[1] = new QuestStep(EInteractionType.CompleteQuest, 1006555u, new Vector3(-2.7619019f, -158.5813f, -1.6327515f), 156); - obj17.Steps = list27; - reference19 = obj17; - questRoot3.QuestSequence = list23; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(1005); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - CollectionsMarshal.AsSpan(list29)[0] = "JerryWester"; - questRoot4.Author = list29; - num = 12; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - Span span16 = CollectionsMarshal.AsSpan(list30); - ref QuestSequence reference21 = ref span16[0]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006555u, new Vector3(-2.7619019f, -158.5813f, -1.6327515f), 156); - obj18.Steps = list31; - reference21 = obj18; - ref QuestSequence reference22 = ref span16[1]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 1006557u, new Vector3(1.4190674f, -158.5813f, 1.3274536f), 156) - { - StopDistance = 5f - }; - obj19.Steps = list32; - reference22 = obj19; - ref QuestSequence reference23 = ref span16[2]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Interact, 1004093u, new Vector3(-25.162231f, 12.200003f, 110.795654f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGoldsmith - } - }; - obj20.Steps = list33; - reference23 = obj20; - ref QuestSequence reference24 = ref span16[3]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - Span span17 = CollectionsMarshal.AsSpan(list34); - ref QuestStep reference25 = ref span17[0]; - QuestStep obj22 = new QuestStep(EInteractionType.Interact, 1006530u, new Vector3(21.927185f, 20.746975f, -682.06305f), 156) - { - TargetTerritoryId = (ushort)156, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - num3 = 1; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - CollectionsMarshal.AsSpan(list35)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_GAIUSC605_01005_Q1_000_000") - }; - obj22.DialogueChoices = list35; - reference25 = obj22; - span17[1] = new QuestStep(EInteractionType.Interact, 1006557u, new Vector3(1.4190674f, -158.5813f, 1.3274536f), 156); - obj21.Steps = list34; - reference24 = obj21; - ref QuestSequence reference26 = ref span16[4]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.Interact, 1006559u, new Vector3(-57.724915f, 3.7940114f, -636.68274f), 156) - { - StopDistance = 7f - }; - obj23.Steps = list36; - reference26 = obj23; - ref QuestSequence reference27 = ref span16[5]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - Span span18 = CollectionsMarshal.AsSpan(list37); - span18[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-159.67096f, 2.7818115f, -634.4776f), 156); - span18[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-169.94295f, 13.794385f, -610.4647f), 156) - { - DisableNavmesh = true - }; - span18[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-169.3748f, 13.709051f, -610.729f), 156); - obj24.Steps = list37; - reference27 = obj24; - ref QuestSequence reference28 = ref span16[6]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - Span span19 = CollectionsMarshal.AsSpan(list38); - span19[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-183.43071f, -2.638534f, -595.8602f), 156) - { - DisableNavmesh = true - }; - span19[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-227.08566f, 13.4605465f, -670.02313f), 156); - obj25.Steps = list38; - reference28 = obj25; - ref QuestSequence reference29 = ref span16[7]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-65.40249f, 2.9154358f, -634.5249f), 156); - obj26.Steps = list39; - reference29 = obj26; - ref QuestSequence reference30 = ref span16[8]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.Interact, 1006559u, new Vector3(-57.724915f, 3.7940114f, -636.68274f), 156); - obj27.Steps = list40; - reference30 = obj27; - ref QuestSequence reference31 = ref span16[9]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.Emote, 1006561u, new Vector3(-59.31189f, 3.32667f, -637.7814f), 156) - { - Emote = EEmote.Welcome - }; - obj28.Steps = list41; - reference31 = obj28; - ref QuestSequence reference32 = ref span16[10]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1006560u, new Vector3(-60.135864f, 3.1014364f, -641.3519f), 156) - { - StopDistance = 7f, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj29.Steps = list42; - reference32 = obj29; - ref QuestSequence reference33 = ref span16[11]; - QuestSequence obj30 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006555u, new Vector3(-2.7619019f, -158.5813f, -1.6327515f), 156); - obj30.Steps = list43; - reference33 = obj30; - questRoot4.QuestSequence = list30; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(1007); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - CollectionsMarshal.AsSpan(list44)[0] = "liza"; - questRoot5.Author = list44; - num = 2; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - Span span20 = CollectionsMarshal.AsSpan(list45); - ref QuestSequence reference34 = ref span20[0]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.AcceptQuest, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212); - obj31.Steps = list46; - reference34 = obj31; - ref QuestSequence reference35 = ref span20[1]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - Span span21 = CollectionsMarshal.AsSpan(list47); - span21[0] = new QuestStep(EInteractionType.Interact, 1000423u, new Vector3(232.04382f, 1.999974f, 45.578613f), 132) - { - TargetTerritoryId = (ushort)204 - }; - span21[1] = new QuestStep(EInteractionType.CompleteQuest, 1003061u, new Vector3(-0.015319824f, 0.500025f, -4.3793945f), 204) - { - DisableNavmesh = true, - NextQuestId = new QuestId(1008) - }; - obj32.Steps = list47; - reference35 = obj32; - questRoot5.QuestSequence = list45; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(1008); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - CollectionsMarshal.AsSpan(list48)[0] = "liza"; - questRoot6.Author = list48; - num = 3; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - Span span22 = CollectionsMarshal.AsSpan(list49); - ref QuestSequence reference36 = ref span22[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003061u, new Vector3(-0.015319824f, 0.500025f, -4.3793945f), 204); - obj33.Steps = list50; - reference36 = obj33; - ref QuestSequence reference37 = ref span22[1]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - Span span23 = CollectionsMarshal.AsSpan(list51); - ref QuestStep reference38 = ref span23[0]; - QuestStep obj35 = new QuestStep(EInteractionType.Interact, 2001215u, new Vector3(0.002457563f, 1.052062f, 9.820032f), 204) - { - TargetTerritoryId = (ushort)132 - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 1; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - CollectionsMarshal.AsSpan(list52)[0] = 204; - skipStepConditions5.NotInTerritory = list52; - skipConditions5.StepIf = skipStepConditions5; - obj35.SkipConditions = skipConditions5; - reference38 = obj35; - ref QuestStep reference39 = ref span23[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1000195u, new Vector3(197.4364f, 0.0026046988f, 57.114502f), 132); - num3 = 6; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - Span span24 = CollectionsMarshal.AsSpan(list53); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list53; - reference39 = questStep4; - ref QuestStep reference40 = ref span23[2]; - QuestStep obj36 = new QuestStep(EInteractionType.Interact, 1000156u, new Vector3(6.6376343f, 1.1442462f, -11.795227f), 132) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaArcher, - To = EAetheryteLocation.Gridania - } - }; - num3 = 6; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - Span span25 = CollectionsMarshal.AsSpan(list54); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj36.CompletionQuestVariablesFlags = list54; - reference40 = obj36; - ref QuestStep reference41 = ref span23[3]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1000122u, new Vector3(88.60913f, -8.685379f, 128.64868f), 132); - num3 = 6; - List list55 = new List(num3); - CollectionsMarshal.SetCount(list55, num3); - Span span26 = CollectionsMarshal.AsSpan(list55); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list55; - reference41 = questStep5; - ref QuestStep reference42 = ref span23[4]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1000372u, new Vector3(39.53601f, -8.041565f, 112.13855f), 132); - num3 = 6; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - Span span27 = CollectionsMarshal.AsSpan(list56); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list56; - reference42 = questStep6; - obj34.Steps = list51; - reference37 = obj34; - ref QuestSequence reference43 = ref span22[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - Span span28 = CollectionsMarshal.AsSpan(list57); - span28[0] = new QuestStep(EInteractionType.Interact, 1000423u, new Vector3(232.04382f, 1.999974f, 45.578613f), 132) - { - TargetTerritoryId = (ushort)204, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - } - }; - span28[1] = new QuestStep(EInteractionType.CompleteQuest, 1003061u, new Vector3(-0.015319824f, 0.500025f, -4.3793945f), 204) - { - DisableNavmesh = true, - NextQuestId = new QuestId(1009) - }; - obj37.Steps = list57; - reference43 = obj37; - questRoot6.QuestSequence = list49; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(1009); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - CollectionsMarshal.AsSpan(list58)[0] = "liza"; - questRoot7.Author = list58; - num = 6; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - Span span29 = CollectionsMarshal.AsSpan(list59); - ref QuestSequence reference44 = ref span29[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003061u, new Vector3(-0.015319824f, 0.500025f, -4.3793945f), 204); - obj38.Steps = list60; - reference44 = obj38; - ref QuestSequence reference45 = ref span29[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.Interact, 1006584u, new Vector3(193.83533f, 7.8634253f, -57.724915f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill - }; - obj39.Steps = list61; - reference45 = obj39; - ref QuestSequence reference46 = ref span29[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - Span span30 = CollectionsMarshal.AsSpan(list62); - span30[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(616.5126f, 22.329094f, 84.68576f), 153) - { - Fly = true - }; - ref QuestStep reference47 = ref span30[1]; - QuestStep obj41 = new QuestStep(EInteractionType.Combat, 2002241u, new Vector3(617.21216f, 23.605652f, 83.26843f), 153) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - CollectionsMarshal.AsSpan(list63)[0] = 2198u; - obj41.KillEnemyDataIds = list63; - reference47 = obj41; - obj40.Steps = list62; - reference46 = obj40; - ref QuestSequence reference48 = ref span29[3]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.Interact, 2002614u, new Vector3(617.21216f, 23.605652f, 83.26843f), 153); - obj42.Steps = list64; - reference48 = obj42; - ref QuestSequence reference49 = ref span29[4]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.Interact, 1006584u, new Vector3(193.83533f, 7.8634253f, -57.724915f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill - }; - obj43.Steps = list65; - reference49 = obj43; - ref QuestSequence reference50 = ref span29[5]; - QuestSequence obj44 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - Span span31 = CollectionsMarshal.AsSpan(list66); - span31[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(210.56421f, 18.119999f, -21.370262f), 153) - { - Fly = true - }; - span31[1] = new QuestStep(EInteractionType.CompleteQuest, 1006585u, new Vector3(209.3385f, 18.119999f, -21.957764f), 153) - { - NextQuestId = new QuestId(1012) - }; - obj44.Steps = list66; - reference50 = obj44; - questRoot7.QuestSequence = list59; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(1010); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - CollectionsMarshal.AsSpan(list67)[0] = "croizat"; - questRoot8.Author = list67; - num = 3; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - Span span32 = CollectionsMarshal.AsSpan(list68); - ref QuestSequence reference51 = ref span32[0]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006586u, new Vector3(199.26746f, 10.380431f, -85.404785f), 153); - obj45.Steps = list69; - reference51 = obj45; - ref QuestSequence reference52 = ref span32[1]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - ref QuestStep reference53 = ref CollectionsMarshal.AsSpan(list70)[0]; - QuestStep obj47 = new QuestStep(EInteractionType.Combat, null, new Vector3(391.67035f, -0.12984455f, 122.68336f), 153) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - CollectionsMarshal.AsSpan(list71)[0] = new ComplexCombatData - { - DataId = 16u, - MinimumKillCount = 5u, - RewardItemId = 2000845u, - RewardItemCount = 5 - }; - obj47.ComplexCombatData = list71; - reference53 = obj47; - obj46.Steps = list70; - reference52 = obj46; - ref QuestSequence reference54 = ref span32[2]; - QuestSequence obj48 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006586u, new Vector3(199.26746f, 10.380431f, -85.404785f), 153); - obj48.Steps = list72; - reference54 = obj48; - questRoot8.QuestSequence = list68; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(1011); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - CollectionsMarshal.AsSpan(list73)[0] = "croizat"; - questRoot9.Author = list73; - num = 4; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - Span span33 = CollectionsMarshal.AsSpan(list74); - ref QuestSequence reference55 = ref span33[0]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006587u, new Vector3(180.62097f, 9.909174f, -78.78235f), 153); - obj49.Steps = list75; - reference55 = obj49; - ref QuestSequence reference56 = ref span33[1]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.Emote, 1006587u, new Vector3(180.62097f, 9.909174f, -78.78235f), 153) - { - Emote = EEmote.Kneel - }; - obj50.Steps = list76; - reference56 = obj50; - ref QuestSequence reference57 = ref span33[2]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - ref QuestStep reference58 = ref CollectionsMarshal.AsSpan(list77)[0]; - QuestStep obj52 = new QuestStep(EInteractionType.Combat, null, new Vector3(540.6762f, 13.79814f, 162.87543f), 153) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - CollectionsMarshal.AsSpan(list78)[0] = new ComplexCombatData - { - DataId = 8u, - MinimumKillCount = 3u, - RewardItemId = 2000774u, - RewardItemCount = 3 - }; - obj52.ComplexCombatData = list78; - reference58 = obj52; - obj51.Steps = list77; - reference57 = obj51; - ref QuestSequence reference59 = ref span33[3]; - QuestSequence obj53 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006587u, new Vector3(180.62097f, 9.909174f, -78.78235f), 153); - obj53.Steps = list79; - reference59 = obj53; - questRoot9.QuestSequence = list74; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(1012); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - CollectionsMarshal.AsSpan(list80)[0] = "liza"; - questRoot10.Author = list80; - num = 2; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - Span span34 = CollectionsMarshal.AsSpan(list81); - ref QuestSequence reference60 = ref span34[0]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006585u, new Vector3(209.3385f, 18.119999f, -21.957764f), 153); - obj54.Steps = list82; - reference60 = obj54; - ref QuestSequence reference61 = ref span34[1]; - QuestSequence obj55 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - Span span35 = CollectionsMarshal.AsSpan(list83); - span35[0] = new QuestStep(EInteractionType.UseItem, null, null, 132) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span35[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span35[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span35[3] = new QuestStep(EInteractionType.CompleteQuest, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212) - { - NextQuestId = new QuestId(433) - }; - obj55.Steps = list83; - reference61 = obj55; - questRoot10.QuestSequence = list81; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(1021); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - CollectionsMarshal.AsSpan(list84)[0] = "Thaksin"; - questRoot11.Author = list84; - num = 3; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - Span span36 = CollectionsMarshal.AsSpan(list85); - ref QuestSequence reference62 = ref span36[0]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.AcceptQuest, 1004917u, new Vector3(-358.6328f, 8.469424f, 422.4154f), 146); - obj56.Steps = list86; - reference62 = obj56; - ref QuestSequence reference63 = ref span36[1]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - Span span37 = CollectionsMarshal.AsSpan(list87); - ref QuestStep reference64 = ref span37[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1006602u, new Vector3(-321.06506f, 8.830055f, 436.94202f), 146); - num3 = 6; - List list88 = new List(num3); - CollectionsMarshal.SetCount(list88, num3); - Span span38 = CollectionsMarshal.AsSpan(list88); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list88; - reference64 = questStep7; - ref QuestStep reference65 = ref span37[1]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1006600u, new Vector3(-283.5279f, 7.652629f, 423.14795f), 146); - num3 = 6; - List list89 = new List(num3); - CollectionsMarshal.SetCount(list89, num3); - Span span39 = CollectionsMarshal.AsSpan(list89); - span39[0] = null; - span39[1] = null; - span39[2] = null; - span39[3] = null; - span39[4] = null; - span39[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list89; - reference65 = questStep8; - ref QuestStep reference66 = ref span37[2]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1006599u, new Vector3(-279.98785f, 15.013981f, 373.37292f), 146); - num3 = 6; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - Span span40 = CollectionsMarshal.AsSpan(list90); - span40[0] = null; - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list90; - reference66 = questStep9; - ref QuestStep reference67 = ref span37[3]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1006601u, new Vector3(-293.53784f, 13.137939f, 354.63477f), 146); - num3 = 6; - List list91 = new List(num3); - CollectionsMarshal.SetCount(list91, num3); - Span span41 = CollectionsMarshal.AsSpan(list91); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list91; - reference67 = questStep10; - obj57.Steps = list87; - reference63 = obj57; - ref QuestSequence reference68 = ref span36[2]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.CompleteQuest, 1004917u, new Vector3(-358.6328f, 8.469424f, 422.4154f), 146); - obj58.Steps = list92; - reference68 = obj58; - questRoot11.QuestSequence = list85; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(1022); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list93 = new List(num); - CollectionsMarshal.SetCount(list93, num); - CollectionsMarshal.AsSpan(list93)[0] = "Thaksin"; - questRoot12.Author = list93; - num = 8; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - Span span42 = CollectionsMarshal.AsSpan(list94); - ref QuestSequence reference69 = ref span42[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.AcceptQuest, 1004914u, new Vector3(167.89502f, 3.1102452f, 972.5642f), 146) - { - Fly = true - }; - obj59.Steps = list95; - reference69 = obj59; - ref QuestSequence reference70 = ref span42[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.Interact, 1006603u, new Vector3(-196.79565f, 78.11096f, 49.851196f), 148) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows - }; - obj60.Steps = list96; - reference70 = obj60; - ref QuestSequence reference71 = ref span42[2]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.Interact, 1004914u, new Vector3(167.89502f, 3.1102452f, 972.5642f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings - }; - obj61.Steps = list97; - reference71 = obj61; - ref QuestSequence reference72 = ref span42[3]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - Span span43 = CollectionsMarshal.AsSpan(list98); - span43[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-207.9934f, 66.78476f, -258.7822f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - span43[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-234.89017f, 63.51318f, -255.7134f), 180) - { - Fly = true - }; - span43[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-356.22986f, 57.972702f, -381.27402f), 180) - { - Fly = true - }; - span43[3] = new QuestStep(EInteractionType.Interact, 1006604u, new Vector3(-278.73657f, 4.1657104f, -580.04126f), 180) - { - Fly = true - }; - obj62.Steps = list98; - reference72 = obj62; - ref QuestSequence reference73 = ref span42[4]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 1004914u, new Vector3(167.89502f, 3.1102452f, 972.5642f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings - }; - obj63.Steps = list99; - reference73 = obj63; - ref QuestSequence reference74 = ref span42[5]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.UseItem, null, new Vector3(-192.67111f, 35.175262f, 129.13567f), 146) - { - Fly = true, - ItemId = 2000779u, - GroundTarget = true - }; - obj64.Steps = list100; - reference74 = obj64; - ref QuestSequence reference75 = ref span42[6]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.Interact, 1006605u, new Vector3(-192.49261f, 35.210636f, 129.13708f), 146) - { - Fly = true - }; - obj65.Steps = list101; - reference75 = obj65; - ref QuestSequence reference76 = ref span42[7]; - QuestSequence obj66 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.CompleteQuest, 1004914u, new Vector3(167.89502f, 3.1102452f, 972.5642f), 146) - { - Fly = true - }; - obj66.Steps = list102; - reference76 = obj66; - questRoot12.QuestSequence = list94; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(1035); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - CollectionsMarshal.AsSpan(list103)[0] = "skiaz"; - questRoot13.Author = list103; - num = 4; - List list104 = new List(num); - CollectionsMarshal.SetCount(list104, num); - Span span44 = CollectionsMarshal.AsSpan(list104); - ref QuestSequence reference77 = ref span44[0]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006614u, new Vector3(65.87317f, -3.1181886f, 61.41748f), 138) - { - Fly = true - }; - obj67.Steps = list105; - reference77 = obj67; - ref QuestSequence reference78 = ref span44[1]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 1 - }; - num2 = 11; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - Span span45 = CollectionsMarshal.AsSpan(list106); - span45[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-440.48288f, -40.517853f, -225.25006f), 138) - { - Fly = true - }; - span45[1] = new QuestStep(EInteractionType.None, null, new Vector3(-440.48288f, -40.517853f, -225.25006f), 138) - { - Land = true - }; - span45[2] = new QuestStep(EInteractionType.UseItem, null, new Vector3(-440.48288f, -40.517853f, -225.25006f), 138) - { - ItemId = 2000782u, - GroundTarget = true - }; - ref QuestStep reference79 = ref span45[3]; - QuestStep obj69 = new QuestStep(EInteractionType.Combat, null, new Vector3(-440.3941f, -40.517452f, -225.2038f), 138) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - Span span46 = CollectionsMarshal.AsSpan(list107); - span46[0] = 2101u; - span46[1] = 2098u; - obj69.KillEnemyDataIds = list107; - reference79 = obj69; - span45[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-402.92905f, -38.11386f, -248.8578f), 138) - { - Fly = true - }; - span45[5] = new QuestStep(EInteractionType.None, null, new Vector3(-402.92905f, -38.11386f, -248.8578f), 138) - { - Land = true - }; - span45[6] = new QuestStep(EInteractionType.UseItem, null, new Vector3(-402.92905f, -38.11386f, -248.8578f), 138) - { - ItemId = 2000782u, - GroundTarget = true - }; - ref QuestStep reference80 = ref span45[7]; - QuestStep obj70 = new QuestStep(EInteractionType.Combat, null, new Vector3(-402.92905f, -38.11386f, -248.8578f), 138) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - Span span47 = CollectionsMarshal.AsSpan(list108); - span47[0] = 2101u; - span47[1] = 2098u; - obj70.KillEnemyDataIds = list108; - reference80 = obj70; - span45[8] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-417.09912f, -28.395859f, -251.60617f), 138) - { - Fly = true - }; - span45[9] = new QuestStep(EInteractionType.None, null, new Vector3(-417.09912f, -28.395859f, -251.60617f), 138) - { - Land = true - }; - span45[10] = new QuestStep(EInteractionType.UseItem, null, new Vector3(-417.09912f, -28.395859f, -251.60617f), 138) - { - ItemId = 2000782u, - GroundTarget = true - }; - obj68.Steps = list106; - reference78 = obj68; - ref QuestSequence reference81 = ref span44[2]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - Span span48 = CollectionsMarshal.AsSpan(list109); - ref QuestStep reference82 = ref span48[0]; - QuestStep obj72 = new QuestStep(EInteractionType.Combat, null, new Vector3(-417.09912f, -28.395859f, -251.60617f), 138) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list110 = new List(num3); - CollectionsMarshal.SetCount(list110, num3); - Span span49 = CollectionsMarshal.AsSpan(list110); - span49[0] = 2101u; - span49[1] = 2098u; - obj72.KillEnemyDataIds = list110; - reference82 = obj72; - span48[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-402.49347f, -32.838806f, -234.15048f), 138) - { - Fly = false - }; - span48[2] = new QuestStep(EInteractionType.Interact, 1006614u, new Vector3(65.87317f, -3.1181886f, 61.41748f), 138) - { - Fly = true - }; - obj71.Steps = list109; - reference81 = obj71; - ref QuestSequence reference83 = ref span44[3]; - QuestSequence obj73 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - Span span50 = CollectionsMarshal.AsSpan(list111); - span50[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-73.34997f, 17.649893f, -256.22174f), 140) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-491.869f, 19.009003f, -372.63593f), - MaximumDistance = 50f, - TerritoryId = 140 - } - } - } - }; - span50[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-491.869f, 19.009003f, -372.63593f), 140) - { - Fly = true - }; - span50[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span50[3] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span50[4] = new QuestStep(EInteractionType.CompleteQuest, 1007488u, new Vector3(-1.2055054f, -2.0000095f, -28.000305f), 212); - obj73.Steps = list111; - reference83 = obj73; - questRoot13.QuestSequence = list104; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(1037); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - CollectionsMarshal.AsSpan(list112)[0] = "JerryWester"; - questRoot14.Author = list112; - num = 2; - List list113 = new List(num); - CollectionsMarshal.SetCount(list113, num); - Span span51 = CollectionsMarshal.AsSpan(list113); - ref QuestSequence reference84 = ref span51[0]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006578u, new Vector3(-467.27704f, 22.996977f, -475.21173f), 140) - { - StopDistance = 7f - }; - obj74.Steps = list114; - reference84 = obj74; - ref QuestSequence reference85 = ref span51[1]; - QuestSequence obj75 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - Span span52 = CollectionsMarshal.AsSpan(list115); - span52[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-26.738379f, 33f, -495.80618f), 141) - { - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - span52[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 147) - { - Aetheryte = EAetheryteLocation.NorthernThanalanCampBluefog - }; - span52[2] = new QuestStep(EInteractionType.CompleteQuest, 1006638u, new Vector3(37.979614f, 4.051331f, 420.27917f), 147); - obj75.Steps = list115; - reference85 = obj75; - questRoot14.QuestSequence = list113; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(1047); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - CollectionsMarshal.AsSpan(list116)[0] = "JerryWester"; - questRoot15.Author = list116; - num = 2; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - Span span53 = CollectionsMarshal.AsSpan(list117); - ref QuestSequence reference86 = ref span53[0]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006693u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj76.Steps = list118; - reference86 = obj76; - ref QuestSequence reference87 = ref span53[1]; - QuestSequence obj77 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - Span span54 = CollectionsMarshal.AsSpan(list119); - span54[0] = new QuestStep(EInteractionType.Interact, 2001717u, new Vector3(25.497803f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212 - }; - span54[1] = new QuestStep(EInteractionType.CompleteQuest, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212) - { - Comment = "Next quest is picked up as part of 'Moving On'" - }; - obj77.Steps = list119; - reference87 = obj77; - questRoot15.QuestSequence = list117; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(1048); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list120 = new List(num); - CollectionsMarshal.SetCount(list120, num); - CollectionsMarshal.AsSpan(list120)[0] = "JerryWester"; - questRoot16.Author = list120; - num = 3; - List list121 = new List(num); - CollectionsMarshal.SetCount(list121, num); - Span span55 = CollectionsMarshal.AsSpan(list121); - ref QuestSequence reference88 = ref span55[0]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.AcceptQuest, 1007534u, new Vector3(1.4800415f, -3.0000014f, -48.722107f), 212); - obj78.Steps = list122; - reference88 = obj78; - ref QuestSequence reference89 = ref span55[1]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.Interact, 1004576u, new Vector3(-141.64954f, 4.1f, -114.67157f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - obj79.Steps = list123; - reference89 = obj79; - ref QuestSequence reference90 = ref span55[2]; - QuestSequence obj80 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - Span span56 = CollectionsMarshal.AsSpan(list124); - span56[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-22.992174f, 31.881628f, -3.1655574f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - span56[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(373.0123f, 46.21888f, -47.523537f), 146) - { - Fly = true - }; - span56[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(500.2741f, 36.9815f, -153.72185f), 146) - { - Fly = true - }; - span56[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(694.0748f, 4.267518f, -84.443855f), 146) - { - Fly = true - }; - span56[4] = new QuestStep(EInteractionType.CompleteQuest, 2002581u, new Vector3(694.3617f, 7.9193726f, -80.1557f), 146) - { - StopDistance = 5f, - Mount = false, - IgnoreDistanceToObject = true - }; - obj80.Steps = list124; - reference90 = obj80; - questRoot16.QuestSequence = list121; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(1049); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list125 = new List(num); - CollectionsMarshal.SetCount(list125, num); - CollectionsMarshal.AsSpan(list125)[0] = "liza"; - questRoot17.Author = list125; - num = 5; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - Span span57 = CollectionsMarshal.AsSpan(list126); - ref QuestSequence reference91 = ref span57[0]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - ref QuestStep reference92 = ref CollectionsMarshal.AsSpan(list127)[0]; - QuestStep obj82 = new QuestStep(EInteractionType.AcceptQuest, 1000927u, new Vector3(-1.2055054f, 44.999886f, -255.8786f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipAetheryteCondition obj83 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - CollectionsMarshal.AsSpan(list128)[0] = 128; - obj83.InTerritory = list128; - skipConditions6.AetheryteShortcutIf = obj83; - skipConditions6.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj82.SkipConditions = skipConditions6; - reference92 = obj82; - obj81.Steps = list127; - reference91 = obj81; - ref QuestSequence reference93 = ref span57[1]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.Interact, 1006761u, new Vector3(520.2562f, 17.62488f, 470.51184f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj84.Steps = list129; - reference93 = obj84; - ref QuestSequence reference94 = ref span57[2]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1006763u, new Vector3(494.9568f, 11.450662f, 329.76257f), 137) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj85.Steps = list130; - reference94 = obj85; - ref QuestSequence reference95 = ref span57[3]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.Interact, 1006762u, new Vector3(494.16345f, 12.305895f, 337.27014f), 137); - obj86.Steps = list131; - reference95 = obj86; - ref QuestSequence reference96 = ref span57[4]; - QuestSequence obj87 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006746u, new Vector3(460.65454f, 8.309061f, 74.47925f), 137) - { - NextQuestId = new QuestId(1050) - }; - obj87.Steps = list132; - reference96 = obj87; - questRoot17.QuestSequence = list126; - AddQuest(questId17, questRoot17); - } - - private static void LoadQuests21() - { - QuestId questId = new QuestId(1050); - QuestRoot questRoot = new QuestRoot(); - QuestRoot questRoot2 = questRoot; - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot2.Author = list; - QuestRoot questRoot3 = questRoot; - num = 4; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence2 = questSequence; - int num2 = 2; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span2 = CollectionsMarshal.AsSpan(list3); - span2[0] = new QuestStep(EInteractionType.EquipItem, null, null, 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - ItemId = 4544u, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span2[1] = new QuestStep(EInteractionType.AcceptQuest, 1006746u, new Vector3(460.65454f, 8.309061f, 74.47925f), 137); - questSequence2.Steps = list3; - reference = questSequence; - ref QuestSequence reference2 = ref span[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence3 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span3 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference3 = ref span3[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1004962u, new Vector3(-300.1908f, 7.2785034f, 410.94055f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - QuestStep questStep2 = questStep; - int num3 = 6; - List list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span4 = CollectionsMarshal.AsSpan(list4); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list4; - reference3 = questStep; - ref QuestStep reference4 = ref span3[1]; - questStep = new QuestStep(EInteractionType.Interact, 1006735u, new Vector3(-316.1822f, 8.844355f, 433.82922f), 146); - QuestStep questStep3 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span5 = CollectionsMarshal.AsSpan(list4); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list4; - reference4 = questStep; - ref QuestStep reference5 = ref span3[2]; - questStep = new QuestStep(EInteractionType.Interact, 1006288u, new Vector3(-361.40997f, 8.46532f, 426.13855f), 146); - QuestStep questStep4 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span6 = CollectionsMarshal.AsSpan(list4); - span6[0] = null; - span6[1] = null; - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list4; - reference5 = questStep; - questSequence3.Steps = list3; - reference2 = questSequence; - ref QuestSequence reference6 = ref span[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence4 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference7 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.Combat, null, new Vector3(156.89783f, 4.3410587f, 831.42926f), 146) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - QuestStep questStep5 = questStep; - num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = 1917u; - questStep5.KillEnemyDataIds = list5; - reference7 = questStep; - questSequence4.Steps = list3; - reference6 = questSequence; - ref QuestSequence reference8 = ref span[3]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence5 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006746u, new Vector3(460.65454f, 8.309061f, 74.47925f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - NextQuestId = new QuestId(1051) - }; - questSequence5.Steps = list3; - reference8 = questSequence; - questRoot3.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(1051); - questRoot = new QuestRoot(); - QuestRoot questRoot4 = questRoot; - num = 1; - List list6 = new List(num); - CollectionsMarshal.SetCount(list6, num); - CollectionsMarshal.AsSpan(list6)[0] = "liza"; - questRoot4.Author = list6; - QuestRoot questRoot5 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span7 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference9 = ref span7[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence6 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006746u, new Vector3(460.65454f, 8.309061f, 74.47925f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - questSequence6.Steps = list3; - reference9 = questSequence; - ref QuestSequence reference10 = ref span7[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence7 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1006764u, new Vector3(9.689453f, 65.05541f, 46.37207f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport - }; - questSequence7.Steps = list3; - reference10 = questSequence; - ref QuestSequence reference11 = ref span7[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence8 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference12 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.Combat, 2002307u, new Vector3(95.8114f, 74.143555f, -45.731323f), 137) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - QuestStep questStep6 = questStep; - num3 = 2; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span8 = CollectionsMarshal.AsSpan(list7); - span8[0] = 2u; - span8[1] = 12u; - questStep6.KillEnemyDataIds = list7; - reference12 = questStep; - questSequence8.Steps = list3; - reference11 = questSequence; - ref QuestSequence reference13 = ref span7[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence9 = questSequence; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.Interact, 1006768u, new Vector3(9.689453f, 65.162186f, 44.99878f), 137); - questSequence9.Steps = list8; - reference13 = questSequence; - ref QuestSequence reference14 = ref span7[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence10 = questSequence; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.Interact, 1006783u, new Vector3(-11.490112f, 69.24614f, 30.289062f), 137); - questSequence10.Steps = list9; - reference14 = questSequence; - ref QuestSequence reference15 = ref span7[5]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence11 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006746u, new Vector3(460.65454f, 8.309061f, 74.47925f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - NextQuestId = new QuestId(1052) - }; - questSequence11.Steps = list3; - reference15 = questSequence; - questRoot5.QuestSequence = list2; - AddQuest(questId2, questRoot); - QuestId questId3 = new QuestId(1052); - questRoot = new QuestRoot(); - QuestRoot questRoot6 = questRoot; - num = 1; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - CollectionsMarshal.AsSpan(list10)[0] = "liza"; - questRoot6.Author = list10; - QuestRoot questRoot7 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span9 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference16 = ref span9[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence12 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006746u, new Vector3(460.65454f, 8.309061f, 74.47925f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - questSequence12.Steps = list3; - reference16 = questSequence; - ref QuestSequence reference17 = ref span9[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence13 = questSequence; - num2 = 8; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span10 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference18 = ref span10[0]; - questStep = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-586.4241f, 236.18538f, 411.9264f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - QuestStep questStep7 = questStep; - SkipConditions skipConditions = new SkipConditions(); - SkipConditions skipConditions2 = skipConditions; - SkipStepConditions skipStepConditions = new SkipStepConditions(); - SkipStepConditions skipStepConditions2 = skipStepConditions; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span11 = CollectionsMarshal.AsSpan(list4); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list4; - skipConditions2.StepIf = skipStepConditions; - skipConditions.AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - questStep7.SkipConditions = skipConditions; - reference18 = questStep; - ref QuestStep reference19 = ref span10[1]; - questStep = new QuestStep(EInteractionType.Combat, null, new Vector3(-608.9161f, 247.47685f, 420.84274f), 155) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - QuestStep questStep8 = questStep; - num3 = 1; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - CollectionsMarshal.AsSpan(list11)[0] = 1918u; - questStep8.KillEnemyDataIds = list11; - QuestStep questStep9 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions3 = skipConditions; - skipStepConditions = new SkipStepConditions(); - SkipStepConditions skipStepConditions3 = skipStepConditions; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span12 = CollectionsMarshal.AsSpan(list4); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list4; - skipConditions3.StepIf = skipStepConditions; - questStep9.SkipConditions = skipConditions; - reference19 = questStep; - ref QuestStep reference20 = ref span10[2]; - questStep = new QuestStep(EInteractionType.Interact, 2002308u, new Vector3(-583.82544f, 234.97363f, 410.94055f), 155); - QuestStep questStep10 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span13 = CollectionsMarshal.AsSpan(list4); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list4; - reference20 = questStep; - ref QuestStep reference21 = ref span10[3]; - questStep = new QuestStep(EInteractionType.Combat, null, new Vector3(-52.048523f, 0.869751f, 359.39575f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - QuestStep questStep11 = questStep; - num3 = 1; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - CollectionsMarshal.AsSpan(list12)[0] = 1919u; - questStep11.KillEnemyDataIds = list12; - QuestStep questStep12 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions4 = skipConditions; - skipStepConditions = new SkipStepConditions(); - SkipStepConditions skipStepConditions4 = skipStepConditions; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span14 = CollectionsMarshal.AsSpan(list4); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list4; - skipConditions4.StepIf = skipStepConditions; - skipConditions.AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - questStep12.SkipConditions = skipConditions; - reference21 = questStep; - ref QuestStep reference22 = ref span10[4]; - questStep = new QuestStep(EInteractionType.Interact, 2002309u, new Vector3(-52.048523f, 0.869751f, 359.39575f), 153); - QuestStep questStep13 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span15 = CollectionsMarshal.AsSpan(list4); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list4; - reference22 = questStep; - ref QuestStep reference23 = ref span10[5]; - questStep = new QuestStep(EInteractionType.UseItem, null, null, 153) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - QuestStep questStep14 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions5 = skipConditions; - skipStepConditions = new SkipStepConditions(); - SkipStepConditions skipStepConditions5 = skipStepConditions; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span16 = CollectionsMarshal.AsSpan(list4); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions5.CompletionQuestVariablesFlags = list4; - skipConditions5.StepIf = skipStepConditions; - questStep14.SkipConditions = skipConditions; - reference23 = questStep; - ref QuestStep reference24 = ref span10[6]; - questStep = new QuestStep(EInteractionType.Combat, null, new Vector3(-283.92462f, 15.060608f, -774.6853f), 140) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - QuestStep questStep15 = questStep; - num3 = 1; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - CollectionsMarshal.AsSpan(list13)[0] = 1920u; - questStep15.KillEnemyDataIds = list13; - QuestStep questStep16 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions6 = skipConditions; - skipStepConditions = new SkipStepConditions(); - SkipStepConditions skipStepConditions6 = skipStepConditions; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span17 = CollectionsMarshal.AsSpan(list4); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions6.CompletionQuestVariablesFlags = list4; - skipConditions6.StepIf = skipStepConditions; - questStep16.SkipConditions = skipConditions; - reference24 = questStep; - ref QuestStep reference25 = ref span10[7]; - questStep = new QuestStep(EInteractionType.Interact, 2002310u, new Vector3(-283.92462f, 15.060608f, -774.6853f), 140); - QuestStep questStep17 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span18 = CollectionsMarshal.AsSpan(list4); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list4; - reference25 = questStep; - questSequence13.Steps = list3; - reference17 = questSequence; - ref QuestSequence reference26 = ref span9[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence14 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1006746u, new Vector3(460.65454f, 8.309061f, 74.47925f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - questSequence14.Steps = list3; - reference26 = questSequence; - ref QuestSequence reference27 = ref span9[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence15 = questSequence; - num2 = 4; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span19 = CollectionsMarshal.AsSpan(list3); - span19[0] = new QuestStep(EInteractionType.EquipItem, null, null, 137) - { - ItemId = 3684u - }; - span19[1] = new QuestStep(EInteractionType.EquipItem, null, null, 137) - { - ItemId = 3460u - }; - span19[2] = new QuestStep(EInteractionType.EquipItem, null, null, 137) - { - ItemId = 3891u - }; - span19[3] = new QuestStep(EInteractionType.Interact, 1006746u, new Vector3(460.65454f, 8.309061f, 74.47925f), 137); - questSequence15.Steps = list3; - reference27 = questSequence; - ref QuestSequence reference28 = ref span9[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence16 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span20 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference29 = ref span20[0]; - questStep = new QuestStep(EInteractionType.Combat, 2002311u, new Vector3(-282.7345f, 33.798706f, 300.98413f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - QuestStep questStep18 = questStep; - num3 = 1; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - ref ComplexCombatData reference30 = ref CollectionsMarshal.AsSpan(list14)[0]; - ComplexCombatData complexCombatData = new ComplexCombatData - { - DataId = 1921u - }; - ComplexCombatData complexCombatData2 = complexCombatData; - int num4 = 6; - list4 = new List(num4); - CollectionsMarshal.SetCount(list4, num4); - Span span21 = CollectionsMarshal.AsSpan(list4); - span21[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = null; - complexCombatData2.CompletionQuestVariablesFlags = list4; - reference30 = complexCombatData; - questStep18.ComplexCombatData = list14; - reference29 = questStep; - span20[1] = new QuestStep(EInteractionType.Interact, 2002311u, new Vector3(-282.7345f, 33.798706f, 300.98413f), 137); - questSequence16.Steps = list3; - reference28 = questSequence; - ref QuestSequence reference31 = ref span9[5]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence17 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006746u, new Vector3(460.65454f, 8.309061f, 74.47925f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - NextQuestId = new QuestId(1053) - }; - questSequence17.Steps = list3; - reference31 = questSequence; - questRoot7.QuestSequence = list2; - AddQuest(questId3, questRoot); - QuestId questId4 = new QuestId(1053); - questRoot = new QuestRoot(); - QuestRoot questRoot8 = questRoot; - num = 1; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - CollectionsMarshal.AsSpan(list15)[0] = "liza"; - questRoot8.Author = list15; - QuestRoot questRoot9 = questRoot; - num = 3; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span22 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference32 = ref span22[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence18 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006746u, new Vector3(460.65454f, 8.309061f, 74.47925f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - questSequence18.Steps = list3; - reference32 = questSequence; - ref QuestSequence reference33 = ref span22[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence19 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span23 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference34 = ref span23[0]; - questStep = new QuestStep(EInteractionType.Combat, null, new Vector3(573.56177f, 347.98422f, -760.73724f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - QuestStep questStep19 = questStep; - num3 = 1; - list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - ref ComplexCombatData reference35 = ref CollectionsMarshal.AsSpan(list14)[0]; - complexCombatData = new ComplexCombatData - { - DataId = 1922u - }; - ComplexCombatData complexCombatData3 = complexCombatData; - num4 = 6; - list4 = new List(num4); - CollectionsMarshal.SetCount(list4, num4); - Span span24 = CollectionsMarshal.AsSpan(list4); - span24[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = null; - complexCombatData3.CompletionQuestVariablesFlags = list4; - reference35 = complexCombatData; - questStep19.ComplexCombatData = list14; - questStep.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - reference34 = questStep; - span23[1] = new QuestStep(EInteractionType.Interact, 2002312u, new Vector3(579.4918f, 347.79883f, -764.3702f), 155); - questSequence19.Steps = list3; - reference33 = questSequence; - ref QuestSequence reference36 = ref span22[2]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence20 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006746u, new Vector3(460.65454f, 8.309061f, 74.47925f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - NextQuestId = new QuestId(1054) - }; - questSequence20.Steps = list3; - reference36 = questSequence; - questRoot9.QuestSequence = list2; - AddQuest(questId4, questRoot); - QuestId questId5 = new QuestId(1054); - questRoot = new QuestRoot(); - QuestRoot questRoot10 = questRoot; - num = 1; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - CollectionsMarshal.AsSpan(list16)[0] = "liza"; - questRoot10.Author = list16; - QuestRoot questRoot11 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span25 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference37 = ref span25[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence21 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006746u, new Vector3(460.65454f, 8.309061f, 74.47925f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - questSequence21.Steps = list3; - reference37 = questSequence; - ref QuestSequence reference38 = ref span25[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence22 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1006771u, new Vector3(89.829834f, 66.04188f, 18.753235f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - questSequence22.Steps = list3; - reference38 = questSequence; - ref QuestSequence reference39 = ref span25[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence23 = questSequence; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.Interact, 1006774u, new Vector3(-11.367981f, 69.20081f, 30.258545f), 137); - questSequence23.Steps = list17; - reference39 = questSequence; - ref QuestSequence reference40 = ref span25[3]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence24 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006746u, new Vector3(460.65454f, 8.309061f, 74.47925f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - questSequence24.Steps = list3; - reference40 = questSequence; - questRoot11.QuestSequence = list2; - AddQuest(questId5, questRoot); - QuestId questId6 = new QuestId(1055); - questRoot = new QuestRoot(); - QuestRoot questRoot12 = questRoot; - num = 1; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - CollectionsMarshal.AsSpan(list18)[0] = "Cacahuetes"; - questRoot12.Author = list18; - QuestRoot questRoot13 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span26 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference41 = ref span26[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence25 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference42 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1002277u, new Vector3(-97.550964f, 7.05f, 23.605652f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - QuestStep questStep20 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions7 = skipConditions; - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition - { - InSameTerritory = true - }; - SkipAetheryteCondition skipAetheryteCondition2 = skipAetheryteCondition; - num3 = 1; - List list19 = new List(num3); - CollectionsMarshal.SetCount(list19, num3); - CollectionsMarshal.AsSpan(list19)[0] = 131; - skipAetheryteCondition2.InTerritory = list19; - skipConditions7.AetheryteShortcutIf = skipAetheryteCondition; - questStep20.SkipConditions = skipConditions; - reference42 = questStep; - questSequence25.Steps = list3; - reference41 = questSequence; - ref QuestSequence reference43 = ref span26[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence26 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1006747u, new Vector3(-20.828613f, 29.999964f, -2.4262085f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - questSequence26.Steps = list3; - reference43 = questSequence; - ref QuestSequence reference44 = ref span26[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence27 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference45 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.Combat, 2002344u, new Vector3(-97.39838f, 14.846985f, -188.2201f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - QuestStep questStep21 = questStep; - num3 = 2; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - Span span27 = CollectionsMarshal.AsSpan(list20); - span27[0] = 18u; - span27[1] = 19u; - questStep21.KillEnemyDataIds = list20; - reference45 = questStep; - questSequence27.Steps = list3; - reference44 = questSequence; - ref QuestSequence reference46 = ref span26[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence28 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.UseItem, 2002345u, new Vector3(-97.39838f, 16.433899f, -188.2201f), 146) - { - ItemId = 2000821u - }; - questSequence28.Steps = list3; - reference46 = questSequence; - ref QuestSequence reference47 = ref span26[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence29 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1006747u, new Vector3(-20.828613f, 29.999964f, -2.4262085f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - questSequence29.Steps = list3; - reference47 = questSequence; - ref QuestSequence reference48 = ref span26[5]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence30 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006747u, new Vector3(-20.828613f, 29.999964f, -2.4262085f), 131) - { - NextQuestId = new QuestId(1056) - }; - questSequence30.Steps = list3; - reference48 = questSequence; - questRoot13.QuestSequence = list2; - AddQuest(questId6, questRoot); - QuestId questId7 = new QuestId(1056); - questRoot = new QuestRoot(); - QuestRoot questRoot14 = questRoot; - num = 1; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - CollectionsMarshal.AsSpan(list21)[0] = "liza"; - questRoot14.Author = list21; - QuestRoot questRoot15 = questRoot; - num = 3; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span28 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference49 = ref span28[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence31 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span29 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference50 = ref span29[0]; - questStep = new QuestStep(EInteractionType.EquipItem, null, null, 137) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - }, - ItemId = 4542u - }; - QuestStep questStep22 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions8 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition - { - InSameTerritory = true - }; - SkipAetheryteCondition skipAetheryteCondition3 = skipAetheryteCondition; - num3 = 1; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - CollectionsMarshal.AsSpan(list22)[0] = 131; - skipAetheryteCondition3.InTerritory = list22; - skipConditions8.AetheryteShortcutIf = skipAetheryteCondition; - questStep22.SkipConditions = skipConditions; - reference50 = questStep; - span29[1] = new QuestStep(EInteractionType.AcceptQuest, 1006747u, new Vector3(-20.828613f, 29.999964f, -2.4262085f), 131); - questSequence31.Steps = list3; - reference49 = questSequence; - ref QuestSequence reference51 = ref span28[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence32 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span30 = CollectionsMarshal.AsSpan(list3); - span30[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-259.72705f, 67.23717f, -293.5509f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span30[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-355.4327f, 63.813503f, -382.56308f), 180) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - ref QuestStep reference52 = ref span30[2]; - questStep = new QuestStep(EInteractionType.Combat, 2002346u, new Vector3(-312.27594f, 32.547485f, -444.9989f), 180) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - QuestStep questStep23 = questStep; - num3 = 1; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - CollectionsMarshal.AsSpan(list23)[0] = new ComplexCombatData - { - DataId = 6u, - NameId = 2020u - }; - questStep23.ComplexCombatData = list23; - reference52 = questStep; - questSequence32.Steps = list3; - reference51 = questSequence; - ref QuestSequence reference53 = ref span28[2]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence33 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006747u, new Vector3(-20.828613f, 29.999964f, -2.4262085f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - }, - NextQuestId = new QuestId(1057) - }; - questSequence33.Steps = list3; - reference53 = questSequence; - questRoot15.QuestSequence = list2; - AddQuest(questId7, questRoot); - QuestId questId8 = new QuestId(1057); - questRoot = new QuestRoot(); - QuestRoot questRoot16 = questRoot; - num = 1; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - CollectionsMarshal.AsSpan(list24)[0] = "liza"; - questRoot16.Author = list24; - QuestRoot questRoot17 = questRoot; - num = 3; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span31 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference54 = ref span31[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence34 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference55 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1006747u, new Vector3(-20.828613f, 29.999964f, -2.4262085f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - QuestStep questStep24 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions9 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition - { - InSameTerritory = true - }; - SkipAetheryteCondition skipAetheryteCondition4 = skipAetheryteCondition; - num3 = 1; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - CollectionsMarshal.AsSpan(list25)[0] = 131; - skipAetheryteCondition4.InTerritory = list25; - skipConditions9.AetheryteShortcutIf = skipAetheryteCondition; - questStep24.SkipConditions = skipConditions; - reference55 = questStep; - questSequence34.Steps = list3; - reference54 = questSequence; - ref QuestSequence reference56 = ref span31[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence35 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference57 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.Combat, 2002347u, new Vector3(175.82971f, -10.452454f, 84.91638f), 145) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - QuestStep questStep25 = questStep; - num3 = 1; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - CollectionsMarshal.AsSpan(list26)[0] = 383u; - questStep25.KillEnemyDataIds = list26; - reference57 = questStep; - questSequence35.Steps = list3; - reference56 = questSequence; - ref QuestSequence reference58 = ref span31[2]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence36 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006747u, new Vector3(-20.828613f, 29.999964f, -2.4262085f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - }, - NextQuestId = new QuestId(1058) - }; - questSequence36.Steps = list3; - reference58 = questSequence; - questRoot17.QuestSequence = list2; - AddQuest(questId8, questRoot); - QuestId questId9 = new QuestId(1058); - questRoot = new QuestRoot(); - QuestRoot questRoot18 = questRoot; - num = 1; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - CollectionsMarshal.AsSpan(list27)[0] = "liza, CryoTechnic"; - questRoot18.Author = list27; - QuestRoot questRoot19 = questRoot; - num = 3; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span32 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference59 = ref span32[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence37 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference60 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1006747u, new Vector3(-20.828613f, 29.999964f, -2.4262085f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - QuestStep questStep26 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions10 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition - { - InSameTerritory = true - }; - SkipAetheryteCondition skipAetheryteCondition5 = skipAetheryteCondition; - num3 = 1; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - CollectionsMarshal.AsSpan(list28)[0] = 131; - skipAetheryteCondition5.InTerritory = list28; - skipConditions10.AetheryteShortcutIf = skipAetheryteCondition; - questStep26.SkipConditions = skipConditions; - reference60 = questStep; - questSequence37.Steps = list3; - reference59 = questSequence; - ref QuestSequence reference61 = ref span32[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence38 = questSequence; - num2 = 16; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span33 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference62 = ref span33[0]; - questStep = new QuestStep(EInteractionType.Combat, null, new Vector3(-97.65164f, 14.866778f, -189.99821f), 146) - { - StopDistance = 0.5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - QuestStep questStep27 = questStep; - num3 = 2; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - Span span34 = CollectionsMarshal.AsSpan(list29); - span34[0] = 1923u; - span34[1] = 1924u; - questStep27.KillEnemyDataIds = list29; - QuestStep questStep28 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions11 = skipConditions; - skipStepConditions = new SkipStepConditions(); - SkipStepConditions skipStepConditions7 = skipStepConditions; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span35 = CollectionsMarshal.AsSpan(list4); - span35[0] = null; - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions7.CompletionQuestVariablesFlags = list4; - skipConditions11.StepIf = skipStepConditions; - skipConditions.AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - questStep28.SkipConditions = skipConditions; - reference62 = questStep; - ref QuestStep reference63 = ref span33[1]; - questStep = new QuestStep(EInteractionType.Interact, 2002349u, new Vector3(-97.39838f, 14.846985f, -188.2201f), 146); - QuestStep questStep29 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span36 = CollectionsMarshal.AsSpan(list4); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep29.CompletionQuestVariablesFlags = list4; - reference63 = questStep; - span33[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-195.88503f, 4.1472216f, -216.97708f), 146) - { - StopDistance = 0.5f, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span33[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-89.94699f, -4.7999415f, -104.621376f), 146) - { - StopDistance = 0.5f, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span33[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-58.741863f, -16.84673f, -170.08568f), 146) - { - StopDistance = 0.5f, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span33[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-80.41123f, -14.578715f, -170.62582f), 146) - { - StopDistance = 0.5f, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - ref QuestStep reference64 = ref span33[6]; - questStep = new QuestStep(EInteractionType.Combat, null, new Vector3(-97.35628f, -14.397484f, -176.70825f), 146) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - QuestStep questStep30 = questStep; - num3 = 2; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - Span span37 = CollectionsMarshal.AsSpan(list30); - span37[0] = 1923u; - span37[1] = 1924u; - questStep30.KillEnemyDataIds = list30; - QuestStep questStep31 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions12 = skipConditions; - skipStepConditions = new SkipStepConditions(); - SkipStepConditions skipStepConditions8 = skipStepConditions; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span38 = CollectionsMarshal.AsSpan(list4); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions8.CompletionQuestVariablesFlags = list4; - skipConditions12.StepIf = skipStepConditions; - questStep31.SkipConditions = skipConditions; - reference64 = questStep; - ref QuestStep reference65 = ref span33[7]; - questStep = new QuestStep(EInteractionType.Interact, 2002348u, new Vector3(-99.4126f, -14.4198f, -179.46143f), 146); - QuestStep questStep32 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span39 = CollectionsMarshal.AsSpan(list4); - span39[0] = null; - span39[1] = null; - span39[2] = null; - span39[3] = null; - span39[4] = null; - span39[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep32.CompletionQuestVariablesFlags = list4; - reference65 = questStep; - span33[8] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-58.741863f, -16.84673f, -170.08568f), 146) - { - StopDistance = 0.5f, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span33[9] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-75.59294f, -1.9464281f, -102.63653f), 146) - { - StopDistance = 0.5f, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - ref QuestStep reference66 = ref span33[10]; - questStep = new QuestStep(EInteractionType.Combat, null, new Vector3(137.78966f, 10.371678f, -427.8172f), 146) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - QuestStep questStep33 = questStep; - num3 = 2; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - Span span40 = CollectionsMarshal.AsSpan(list31); - span40[0] = 1923u; - span40[1] = 1924u; - questStep33.KillEnemyDataIds = list31; - QuestStep questStep34 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions13 = skipConditions; - skipStepConditions = new SkipStepConditions(); - SkipStepConditions skipStepConditions9 = skipStepConditions; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span41 = CollectionsMarshal.AsSpan(list4); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions9.CompletionQuestVariablesFlags = list4; - skipConditions13.StepIf = skipStepConditions; - questStep34.SkipConditions = skipConditions; - reference66 = questStep; - ref QuestStep reference67 = ref span33[11]; - questStep = new QuestStep(EInteractionType.WalkTo, null, new Vector3(137.78966f, 10.371678f, -427.8172f), 146) - { - StopDistance = 0.5f - }; - QuestStep questStep35 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions14 = skipConditions; - skipStepConditions = new SkipStepConditions(); - SkipStepConditions skipStepConditions10 = skipStepConditions; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span42 = CollectionsMarshal.AsSpan(list4); - span42[0] = null; - span42[1] = null; - span42[2] = null; - span42[3] = null; - span42[4] = null; - span42[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions10.CompletionQuestVariablesFlags = list4; - skipConditions14.StepIf = skipStepConditions; - questStep35.SkipConditions = skipConditions; - reference67 = questStep; - ref QuestStep reference68 = ref span33[12]; - questStep = new QuestStep(EInteractionType.Interact, 2002351u, new Vector3(137.74304f, 10.60498f, -420.5539f), 146) - { - DisableNavmesh = true - }; - QuestStep questStep36 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span43 = CollectionsMarshal.AsSpan(list4); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep36.CompletionQuestVariablesFlags = list4; - reference68 = questStep; - span33[13] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(137.70113f, 10.371678f, -427.45047f), 146) - { - DisableNavmesh = true - }; - ref QuestStep reference69 = ref span33[14]; - questStep = new QuestStep(EInteractionType.Combat, null, new Vector3(116.208305f, 11.091853f, -475.35126f), 146) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - QuestStep questStep37 = questStep; - num3 = 2; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - Span span44 = CollectionsMarshal.AsSpan(list32); - span44[0] = 1923u; - span44[1] = 1924u; - questStep37.KillEnemyDataIds = list32; - reference69 = questStep; - span33[15] = new QuestStep(EInteractionType.Interact, 2002350u, new Vector3(115.983765f, 11.184814f, -482.7802f), 146); - questSequence38.Steps = list3; - reference61 = questSequence; - ref QuestSequence reference70 = ref span32[2]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence39 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span45 = CollectionsMarshal.AsSpan(list3); - span45[0] = new QuestStep(EInteractionType.EquipRecommended, null, null, 146); - span45[1] = new QuestStep(EInteractionType.CompleteQuest, 1006747u, new Vector3(-20.828613f, 29.999964f, -2.4262085f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - }, - NextQuestId = new QuestId(1059) - }; - questSequence39.Steps = list3; - reference70 = questSequence; - questRoot19.QuestSequence = list2; - AddQuest(questId9, questRoot); - QuestId questId10 = new QuestId(1059); - questRoot = new QuestRoot(); - QuestRoot questRoot20 = questRoot; - num = 1; - List list33 = new List(num); - CollectionsMarshal.SetCount(list33, num); - CollectionsMarshal.AsSpan(list33)[0] = "liza"; - questRoot20.Author = list33; - QuestRoot questRoot21 = questRoot; - num = 3; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span46 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference71 = ref span46[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence40 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference72 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1006747u, new Vector3(-20.828613f, 29.999964f, -2.4262085f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - QuestStep questStep38 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions15 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition - { - InSameTerritory = true - }; - SkipAetheryteCondition skipAetheryteCondition6 = skipAetheryteCondition; - num3 = 1; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - CollectionsMarshal.AsSpan(list34)[0] = 131; - skipAetheryteCondition6.InTerritory = list34; - skipConditions15.AetheryteShortcutIf = skipAetheryteCondition; - questStep38.SkipConditions = skipConditions; - reference72 = questStep; - questSequence40.Steps = list3; - reference71 = questSequence; - ref QuestSequence reference73 = ref span46[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence41 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2002356u, new Vector3(-407.4312f, 7.156433f, 525.6886f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings - }; - questSequence41.Steps = list3; - reference73 = questSequence; - ref QuestSequence reference74 = ref span46[2]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence42 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006747u, new Vector3(-20.828613f, 29.999964f, -2.4262085f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - }, - NextQuestId = new QuestId(1060) - }; - questSequence42.Steps = list3; - reference74 = questSequence; - questRoot21.QuestSequence = list2; - AddQuest(questId10, questRoot); - QuestId questId11 = new QuestId(1060); - questRoot = new QuestRoot(); - QuestRoot questRoot22 = questRoot; - num = 1; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - CollectionsMarshal.AsSpan(list35)[0] = "liza"; - questRoot22.Author = list35; - QuestRoot questRoot23 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span47 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference75 = ref span47[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence43 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference76 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1006747u, new Vector3(-20.828613f, 29.999964f, -2.4262085f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - QuestStep questStep39 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions16 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition - { - InSameTerritory = true - }; - SkipAetheryteCondition skipAetheryteCondition7 = skipAetheryteCondition; - num3 = 1; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - CollectionsMarshal.AsSpan(list36)[0] = 131; - skipAetheryteCondition7.InTerritory = list36; - skipConditions16.AetheryteShortcutIf = skipAetheryteCondition; - questStep39.SkipConditions = skipConditions; - reference76 = questStep; - questSequence43.Steps = list3; - reference75 = questSequence; - ref QuestSequence reference77 = ref span47[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence44 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1007829u, new Vector3(26.932129f, 13f, 44.418945f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - questSequence44.Steps = list3; - reference77 = questSequence; - ref QuestSequence reference78 = ref span47[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence45 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span48 = CollectionsMarshal.AsSpan(list3); - span48[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-775.4471f, 224.95006f, 29.04266f), 155) - { - StopDistance = 0.5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span48[1] = new QuestStep(EInteractionType.SinglePlayerDuty, null, new Vector3(-775.4471f, 224.95006f, 29.04266f), 155) - { - StopDistance = 0.5f, - Mount = false - }; - questSequence45.Steps = list3; - reference78 = questSequence; - ref QuestSequence reference79 = ref span47[3]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence46 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006747u, new Vector3(-20.828613f, 29.999964f, -2.4262085f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - }, - NextQuestId = new QuestId(2032) - }; - questSequence46.Steps = list3; - reference79 = questSequence; - questRoot23.QuestSequence = list2; - AddQuest(questId11, questRoot); - QuestId questId12 = new QuestId(1061); - questRoot = new QuestRoot(); - QuestRoot questRoot24 = questRoot; - num = 1; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - CollectionsMarshal.AsSpan(list37)[0] = "plogon_enjoyer"; - questRoot24.Author = list37; - QuestRoot questRoot25 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span49 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference80 = ref span49[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence47 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001286u, new Vector3(-88.9754f, 2.55f, -51.163513f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - questSequence47.Steps = list3; - reference80 = questSequence; - ref QuestSequence reference81 = ref span49[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence48 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1006749u, new Vector3(-30.47229f, 13.599918f, 95.26196f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGoldsmith - } - }; - questSequence48.Steps = list3; - reference81 = questSequence; - ref QuestSequence reference82 = ref span49[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence49 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span50 = CollectionsMarshal.AsSpan(list3); - span50[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-231.99818f, -28.997791f, 123.01078f), 141) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGoldsmith, - To = EAetheryteLocation.UldahGateOfNald - } - }; - span50[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 2002439u, new Vector3(-232.80695f, -28.793823f, 125.29175f), 141) - { - ItemId = 2000951u - }; - questSequence49.Steps = list3; - reference82 = questSequence; - ref QuestSequence reference83 = ref span49[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence50 = questSequence; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.Interact, 2002440u, new Vector3(-232.80695f, -28.946411f, 125.29175f), 141); - questSequence50.Steps = list38; - reference83 = questSequence; - ref QuestSequence reference84 = ref span49[4]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence51 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006749u, new Vector3(-30.47229f, 13.599918f, 95.26196f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGoldsmith - }, - NextQuestId = new QuestId(1062) - }; - questSequence51.Steps = list3; - reference84 = questSequence; - questRoot25.QuestSequence = list2; - AddQuest(questId12, questRoot); - QuestId questId13 = new QuestId(1062); - questRoot = new QuestRoot(); - QuestRoot questRoot26 = questRoot; - num = 1; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - CollectionsMarshal.AsSpan(list39)[0] = "plogon_enjoyer"; - questRoot26.Author = list39; - QuestRoot questRoot27 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span51 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference85 = ref span51[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence52 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span52 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference86 = ref span52[0]; - questStep = new QuestStep(EInteractionType.EquipItem, null, null, 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGoldsmith - }, - ItemId = 4543u - }; - QuestStep questStep40 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions17 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition(); - SkipAetheryteCondition skipAetheryteCondition8 = skipAetheryteCondition; - num3 = 2; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - Span span53 = CollectionsMarshal.AsSpan(list40); - span53[0] = 130; - span53[1] = 131; - skipAetheryteCondition8.InTerritory = list40; - skipConditions17.AetheryteShortcutIf = skipAetheryteCondition; - skipConditions.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - questStep40.SkipConditions = skipConditions; - reference86 = questStep; - span52[1] = new QuestStep(EInteractionType.AcceptQuest, 1006749u, new Vector3(-30.47229f, 13.599918f, 95.26196f), 131); - questSequence52.Steps = list3; - reference85 = questSequence; - ref QuestSequence reference87 = ref span51[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence53 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference88 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.Combat, 2002441u, new Vector3(689.5093f, 9.750427f, 483.32947f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - ItemId = 2000817u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - QuestStep questStep41 = questStep; - num3 = 1; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - CollectionsMarshal.AsSpan(list41)[0] = 1925u; - questStep41.KillEnemyDataIds = list41; - reference88 = questStep; - questSequence53.Steps = list3; - reference87 = questSequence; - ref QuestSequence reference89 = ref span51[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence54 = questSequence; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.Interact, 2002442u, new Vector3(689.5093f, 9.750427f, 483.32947f), 137); - questSequence54.Steps = list42; - reference89 = questSequence; - ref QuestSequence reference90 = ref span51[3]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence55 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006749u, new Vector3(-30.47229f, 13.599918f, 95.26196f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGoldsmith - }, - NextQuestId = new QuestId(1063) - }; - questSequence55.Steps = list3; - reference90 = questSequence; - questRoot27.QuestSequence = list2; - AddQuest(questId13, questRoot); - QuestId questId14 = new QuestId(1063); - questRoot = new QuestRoot(); - QuestRoot questRoot28 = questRoot; - num = 1; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - CollectionsMarshal.AsSpan(list43)[0] = "plogon_enjoyer"; - questRoot28.Author = list43; - QuestRoot questRoot29 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span54 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference91 = ref span54[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence56 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference92 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1006749u, new Vector3(-30.47229f, 13.599918f, 95.26196f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGoldsmith - } - }; - QuestStep questStep42 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions18 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition(); - SkipAetheryteCondition skipAetheryteCondition9 = skipAetheryteCondition; - num3 = 2; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - Span span55 = CollectionsMarshal.AsSpan(list44); - span55[0] = 130; - span55[1] = 131; - skipAetheryteCondition9.InTerritory = list44; - skipConditions18.AetheryteShortcutIf = skipAetheryteCondition; - skipConditions.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - questStep42.SkipConditions = skipConditions; - reference92 = questStep; - questSequence56.Steps = list3; - reference91 = questSequence; - ref QuestSequence reference93 = ref span54[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence57 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1007874u, new Vector3(-221.48468f, 26.16912f, -343.9536f), 146) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - questSequence57.Steps = list3; - reference93 = questSequence; - ref QuestSequence reference94 = ref span54[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence58 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span56 = CollectionsMarshal.AsSpan(list3); - span56[0] = new QuestStep(EInteractionType.UseItem, 2002443u, new Vector3(24.215942f, 25.65039f, 115.983765f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - ItemId = 2000818u - }; - ref QuestStep reference95 = ref span56[1]; - questStep = new QuestStep(EInteractionType.Combat, null, new Vector3(24.215942f, 25.65039f, 115.983765f), 153) - { - DelaySecondsAtStart = 0f, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - QuestStep questStep43 = questStep; - num3 = 1; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - CollectionsMarshal.AsSpan(list45)[0] = 1926u; - questStep43.KillEnemyDataIds = list45; - reference95 = questStep; - questSequence58.Steps = list3; - reference94 = questSequence; - ref QuestSequence reference96 = ref span54[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence59 = questSequence; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 2002444u, new Vector3(24.215942f, 25.65039f, 115.983765f), 153); - questSequence59.Steps = list46; - reference96 = questSequence; - ref QuestSequence reference97 = ref span54[4]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence60 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006749u, new Vector3(-30.47229f, 13.599918f, 95.26196f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGoldsmith - }, - NextQuestId = new QuestId(1604) - }; - questSequence60.Steps = list3; - reference97 = questSequence; - questRoot29.QuestSequence = list2; - AddQuest(questId14, questRoot); - QuestId questId15 = new QuestId(1064); - questRoot = new QuestRoot(); - QuestRoot questRoot30 = questRoot; - num = 1; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - CollectionsMarshal.AsSpan(list47)[0] = "plogon_enjoyer"; - questRoot30.Author = list47; - QuestRoot questRoot31 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span57 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference98 = ref span57[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence61 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference99 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1006749u, new Vector3(-30.47229f, 13.599918f, 95.26196f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGoldsmith - } - }; - QuestStep questStep44 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions19 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition(); - SkipAetheryteCondition skipAetheryteCondition10 = skipAetheryteCondition; - num3 = 2; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - Span span58 = CollectionsMarshal.AsSpan(list48); - span58[0] = 130; - span58[1] = 131; - skipAetheryteCondition10.InTerritory = list48; - skipConditions19.AetheryteShortcutIf = skipAetheryteCondition; - skipConditions.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - questStep44.SkipConditions = skipConditions; - reference99 = questStep; - questSequence61.Steps = list3; - reference98 = questSequence; - ref QuestSequence reference100 = ref span57[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence62 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span59 = CollectionsMarshal.AsSpan(list3); - span59[0] = new QuestStep(EInteractionType.UseItem, 2002445u, new Vector3(3.1585693f, 20.58435f, -13.16864f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - ItemId = 2000820u - }; - ref QuestStep reference101 = ref span59[1]; - questStep = new QuestStep(EInteractionType.Combat, null, new Vector3(3.1585693f, 20.58435f, -13.16864f), 152) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - QuestStep questStep45 = questStep; - num3 = 1; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - CollectionsMarshal.AsSpan(list49)[0] = 1927u; - questStep45.KillEnemyDataIds = list49; - questStep.CombatDelaySecondsAtStart = 0f; - reference101 = questStep; - questSequence62.Steps = list3; - reference100 = questSequence; - ref QuestSequence reference102 = ref span57[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence63 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 2002446u, new Vector3(3.1585693f, 20.58435f, -13.16864f), 152); - questSequence63.Steps = list3; - reference102 = questSequence; - ref QuestSequence reference103 = ref span57[3]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence64 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006749u, new Vector3(-30.47229f, 13.599918f, 95.26196f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGoldsmith - }, - NextQuestId = new QuestId(1065) - }; - questSequence64.Steps = list3; - reference103 = questSequence; - questRoot31.QuestSequence = list2; - AddQuest(questId15, questRoot); - QuestId questId16 = new QuestId(1065); - questRoot = new QuestRoot(); - QuestRoot questRoot32 = questRoot; - num = 1; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - CollectionsMarshal.AsSpan(list50)[0] = "plogon_enjoyer"; - questRoot32.Author = list50; - QuestRoot questRoot33 = questRoot; - num = 8; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span60 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference104 = ref span60[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence65 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference105 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1006749u, new Vector3(-30.47229f, 13.599918f, 95.26196f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGoldsmith - } - }; - QuestStep questStep46 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions20 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition(); - SkipAetheryteCondition skipAetheryteCondition11 = skipAetheryteCondition; - num3 = 2; - List list51 = new List(num3); - CollectionsMarshal.SetCount(list51, num3); - Span span61 = CollectionsMarshal.AsSpan(list51); - span61[0] = 130; - span61[1] = 131; - skipAetheryteCondition11.InTerritory = list51; - skipConditions20.AetheryteShortcutIf = skipAetheryteCondition; - skipConditions.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - questStep46.SkipConditions = skipConditions; - reference105 = questStep; - questSequence65.Steps = list3; - reference104 = questSequence; - ref QuestSequence reference106 = ref span60[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence66 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference107 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.Interact, 1007875u, new Vector3(-221.48468f, 26.16912f, -343.9536f), 146) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - QuestStep questStep47 = questStep; - num3 = 1; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - CollectionsMarshal.AsSpan(list52)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_JOBMNK451_01065_Q1_000_000") - }; - questStep47.DialogueChoices = list52; - reference107 = questStep; - questSequence66.Steps = list3; - reference106 = questSequence; - ref QuestSequence reference108 = ref span60[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence67 = questSequence; - num2 = 8; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span62 = CollectionsMarshal.AsSpan(list3); - span62[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-258.66748f, 26.617363f, -320.76898f), 146) - { - Mount = true - }; - span62[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(38.911945f, 23.511465f, -142.86761f), 146) - { - Fly = true, - Land = true - }; - span62[2] = new QuestStep(EInteractionType.Interact, 2002447u, new Vector3(41.428223f, 25.101074f, -149.64526f), 146); - span62[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(46.038277f, 50.482662f, -578.6224f), 146) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span62[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(22.885742f, 17.930914f, -619.7939f), 146) - { - Fly = true - }; - span62[5] = new QuestStep(EInteractionType.Interact, 2002548u, new Vector3(17.837708f, 20.523315f, -629.1448f), 146) - { - Mount = true - }; - span62[6] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(214.89189f, 29.38419f, 59.154907f), 147) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCeruleumProcessingPlant - }; - span62[7] = new QuestStep(EInteractionType.Interact, 2002448u, new Vector3(213.70251f, 30.19751f, 61.020752f), 147); - questSequence67.Steps = list3; - reference108 = questSequence; - ref QuestSequence reference109 = ref span60[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence68 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1007875u, new Vector3(-221.48468f, 26.16912f, -343.9536f), 146) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - questSequence68.Steps = list3; - reference109 = questSequence; - ref QuestSequence reference110 = ref span60[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence69 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference111 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.Combat, 1007877u, new Vector3(-74.08258f, 2.6069984f, 716.39575f), 135) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - QuestStep questStep48 = questStep; - num3 = 3; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - Span span63 = CollectionsMarshal.AsSpan(list53); - span63[0] = 81u; - span63[1] = 345u; - span63[2] = 348u; - questStep48.KillEnemyDataIds = list53; - questStep.CombatDelaySecondsAtStart = 0f; - reference111 = questStep; - questSequence69.Steps = list3; - reference110 = questSequence; - ref QuestSequence reference112 = ref span60[5]; - questSequence = new QuestSequence - { - Sequence = 5 - }; - QuestSequence questSequence70 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1007877u, new Vector3(-74.08258f, 2.6069984f, 716.39575f), 135); - questSequence70.Steps = list3; - reference112 = questSequence; - ref QuestSequence reference113 = ref span60[6]; - questSequence = new QuestSequence - { - Sequence = 6 - }; - QuestSequence questSequence71 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1007875u, new Vector3(-221.48468f, 26.16912f, -343.9536f), 146) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - questSequence71.Steps = list3; - reference113 = questSequence; - ref QuestSequence reference114 = ref span60[7]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence72 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006749u, new Vector3(-30.47229f, 13.599918f, 95.26196f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGoldsmith - }, - NextQuestId = new QuestId(1066) - }; - questSequence72.Steps = list3; - reference114 = questSequence; - questRoot33.QuestSequence = list2; - AddQuest(questId16, questRoot); - QuestId questId17 = new QuestId(1066); - questRoot = new QuestRoot(); - QuestRoot questRoot34 = questRoot; - num = 1; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - CollectionsMarshal.AsSpan(list54)[0] = "plogon_enjoyer"; - questRoot34.Author = list54; - QuestRoot questRoot35 = questRoot; - num = 3; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span64 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference115 = ref span64[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence73 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference116 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1006749u, new Vector3(-30.47229f, 13.599918f, 95.26196f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGoldsmith - } - }; - QuestStep questStep49 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions21 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition(); - SkipAetheryteCondition skipAetheryteCondition12 = skipAetheryteCondition; - num3 = 2; - List list55 = new List(num3); - CollectionsMarshal.SetCount(list55, num3); - Span span65 = CollectionsMarshal.AsSpan(list55); - span65[0] = 130; - span65[1] = 131; - skipAetheryteCondition12.InTerritory = list55; - skipConditions21.AetheryteShortcutIf = skipAetheryteCondition; - skipConditions.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - questStep49.SkipConditions = skipConditions; - reference116 = questStep; - questSequence73.Steps = list3; - reference115 = questSequence; - ref QuestSequence reference117 = ref span64[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence74 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span66 = CollectionsMarshal.AsSpan(list3); - span66[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(107.50675f, -4.574165f, -543.2282f), 156) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span66[1] = new QuestStep(EInteractionType.SinglePlayerDuty, null, new Vector3(104.612144f, -4.931232f, -533.5191f), 156) - { - Mount = false - }; - questSequence74.Steps = list3; - reference117 = questSequence; - ref QuestSequence reference118 = ref span64[2]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence75 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1007899u, new Vector3(104.72266f, -4.9380107f, -533.53174f), 156) - { - Fly = true, - NextQuestId = new QuestId(2026) - }; - questSequence75.Steps = list3; - reference118 = questSequence; - questRoot35.QuestSequence = list2; - AddQuest(questId17, questRoot); - QuestId questId18 = new QuestId(1067); - questRoot = new QuestRoot(); - QuestRoot questRoot36 = questRoot; - num = 1; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - CollectionsMarshal.AsSpan(list56)[0] = "Cacahuetes"; - questRoot36.Author = list56; - QuestRoot questRoot37 = questRoot; - num = 7; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span67 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference119 = ref span67[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence76 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference120 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - } - }; - QuestStep questStep50 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions22 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition - { - InSameTerritory = true - }; - SkipAetheryteCondition skipAetheryteCondition13 = skipAetheryteCondition; - num3 = 1; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - CollectionsMarshal.AsSpan(list57)[0] = 133; - skipAetheryteCondition13.InTerritory = list57; - skipConditions22.AetheryteShortcutIf = skipAetheryteCondition; - questStep50.SkipConditions = skipConditions; - reference120 = questStep; - questSequence76.Steps = list3; - reference119 = questSequence; - ref QuestSequence reference121 = ref span67[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence77 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span68 = CollectionsMarshal.AsSpan(list3); - span68[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span68[1] = new QuestStep(EInteractionType.Interact, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155); - questSequence77.Steps = list3; - reference121 = questSequence; - ref QuestSequence reference122 = ref span67[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence78 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1007564u, new Vector3(272.23608f, 222.26244f, 339.1317f), 155); - questSequence78.Steps = list3; - reference122 = questSequence; - ref QuestSequence reference123 = ref span67[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence79 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1006375u, new Vector3(-296.65063f, -13.630577f, 197.34485f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - questSequence79.Steps = list3; - reference123 = questSequence; - ref QuestSequence reference124 = ref span67[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence80 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1007564u, new Vector3(272.23608f, 222.26244f, 339.1317f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - questSequence80.Steps = list3; - reference124 = questSequence; - ref QuestSequence reference125 = ref span67[5]; - questSequence = new QuestSequence - { - Sequence = 5 - }; - QuestSequence questSequence81 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span69 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference126 = ref span69[0]; - questStep = new QuestStep(EInteractionType.Combat, null, new Vector3(522.39246f, 234.74356f, 322.10266f), 155) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - QuestStep questStep51 = questStep; - num3 = 1; - List list58 = new List(num3); - CollectionsMarshal.SetCount(list58, num3); - CollectionsMarshal.AsSpan(list58)[0] = 1928u; - questStep51.KillEnemyDataIds = list58; - QuestStep questStep52 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span70 = CollectionsMarshal.AsSpan(list4); - span70[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span70[1] = null; - span70[2] = null; - span70[3] = null; - span70[4] = null; - span70[5] = null; - questStep52.CompletionQuestVariablesFlags = list4; - reference126 = questStep; - span69[1] = new QuestStep(EInteractionType.Interact, 2002420u, new Vector3(524.6509f, 234.72949f, 324.08643f), 155); - questSequence81.Steps = list3; - reference125 = questSequence; - ref QuestSequence reference127 = ref span67[6]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence82 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span71 = CollectionsMarshal.AsSpan(list3); - span71[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span71[1] = new QuestStep(EInteractionType.CompleteQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155) - { - NextQuestId = new QuestId(1068) - }; - questSequence82.Steps = list3; - reference127 = questSequence; - questRoot37.QuestSequence = list2; - AddQuest(questId18, questRoot); - QuestId questId19 = new QuestId(1068); - questRoot = new QuestRoot(); - QuestRoot questRoot38 = questRoot; - num = 1; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - CollectionsMarshal.AsSpan(list59)[0] = "Cacahuetes"; - questRoot38.Author = list59; - QuestRoot questRoot39 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span72 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference128 = ref span72[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence83 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span73 = CollectionsMarshal.AsSpan(list3); - span73[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span73[1] = new QuestStep(EInteractionType.EquipItem, null, null, 155) - { - ItemId = 4545u - }; - span73[2] = new QuestStep(EInteractionType.AcceptQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155); - questSequence83.Steps = list3; - reference128 = questSequence; - ref QuestSequence reference129 = ref span72[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence84 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span74 = CollectionsMarshal.AsSpan(list3); - span74[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(267.5908f, 236.15701f, -328.8527f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - JumpDestination = new JumpDestination - { - Position = new Vector3(264.47205f, 237.91518f, -336.72607f) - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span74[1] = new QuestStep(EInteractionType.Jump, null, new Vector3(266.22034f, 237.89253f, -341.475f), 155) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(263.72516f, 239.88335f, -346.17166f) - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - ref QuestStep reference130 = ref span74[2]; - questStep = new QuestStep(EInteractionType.Combat, 1007856u, new Vector3(261.76843f, 240.06624f, -346.48663f), 155) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - QuestStep questStep53 = questStep; - num3 = 1; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - CollectionsMarshal.AsSpan(list60)[0] = 58u; - questStep53.KillEnemyDataIds = list60; - reference130 = questStep; - questSequence84.Steps = list3; - reference129 = questSequence; - ref QuestSequence reference131 = ref span72[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence85 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span75 = CollectionsMarshal.AsSpan(list3); - span75[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(267.5908f, 236.15701f, -328.8527f), 155) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(264.47205f, 237.91518f, -336.72607f) - } - }; - span75[1] = new QuestStep(EInteractionType.Jump, null, new Vector3(266.22034f, 237.89253f, -341.475f), 155) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(263.72516f, 239.88335f, -346.17166f) - } - }; - span75[2] = new QuestStep(EInteractionType.Interact, 1007856u, new Vector3(261.76843f, 240.06624f, -346.48663f), 155); - questSequence85.Steps = list3; - reference131 = questSequence; - ref QuestSequence reference132 = ref span72[3]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence86 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span76 = CollectionsMarshal.AsSpan(list3); - span76[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span76[1] = new QuestStep(EInteractionType.CompleteQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155) - { - NextQuestId = new QuestId(1069) - }; - questSequence86.Steps = list3; - reference132 = questSequence; - questRoot39.QuestSequence = list2; - AddQuest(questId19, questRoot); - QuestId questId20 = new QuestId(1069); - questRoot = new QuestRoot(); - QuestRoot questRoot40 = questRoot; - num = 1; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - CollectionsMarshal.AsSpan(list61)[0] = "Cacahuetes"; - questRoot40.Author = list61; - QuestRoot questRoot41 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span77 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference133 = ref span77[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence87 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span78 = CollectionsMarshal.AsSpan(list3); - span78[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span78[1] = new QuestStep(EInteractionType.AcceptQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155); - questSequence87.Steps = list3; - reference133 = questSequence; - ref QuestSequence reference134 = ref span77[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence88 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span79 = CollectionsMarshal.AsSpan(list3); - span79[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(484.85364f, 247.89886f, -269.40628f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - ref QuestStep reference135 = ref span79[1]; - questStep = new QuestStep(EInteractionType.Combat, 1007857u, new Vector3(485.92358f, 248.1806f, -268.66565f), 155) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - QuestStep questStep54 = questStep; - num3 = 2; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - Span span80 = CollectionsMarshal.AsSpan(list62); - span80[0] = 11u; - span80[1] = 1931u; - questStep54.KillEnemyDataIds = list62; - reference135 = questStep; - questSequence88.Steps = list3; - reference134 = questSequence; - ref QuestSequence reference136 = ref span77[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence89 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1007857u, new Vector3(485.92358f, 248.1806f, -268.66565f), 155); - questSequence89.Steps = list3; - reference136 = questSequence; - ref QuestSequence reference137 = ref span77[3]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence90 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span81 = CollectionsMarshal.AsSpan(list3); - span81[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span81[1] = new QuestStep(EInteractionType.CompleteQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155) - { - NextQuestId = new QuestId(1070) - }; - questSequence90.Steps = list3; - reference137 = questSequence; - questRoot41.QuestSequence = list2; - AddQuest(questId20, questRoot); - QuestId questId21 = new QuestId(1070); - questRoot = new QuestRoot(); - QuestRoot questRoot42 = questRoot; - num = 1; - List list63 = new List(num); - CollectionsMarshal.SetCount(list63, num); - CollectionsMarshal.AsSpan(list63)[0] = "Cacahuetes"; - questRoot42.Author = list63; - QuestRoot questRoot43 = questRoot; - num = 12; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span82 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference138 = ref span82[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence91 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span83 = CollectionsMarshal.AsSpan(list3); - span83[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span83[1] = new QuestStep(EInteractionType.AcceptQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155); - questSequence91.Steps = list3; - reference138 = questSequence; - ref QuestSequence reference139 = ref span82[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence92 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 2002423u, new Vector3(-318.80682f, 304.64624f, 243.33557f), 155) - { - Fly = true - }; - questSequence92.Steps = list3; - reference139 = questSequence; - ref QuestSequence reference140 = ref span82[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence93 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span84 = CollectionsMarshal.AsSpan(list3); - span84[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span84[1] = new QuestStep(EInteractionType.Interact, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155); - questSequence93.Steps = list3; - reference140 = questSequence; - ref QuestSequence reference141 = ref span82[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence94 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference142 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.Combat, 1007858u, new Vector3(591.2107f, 331.39114f, -447.776f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - QuestStep questStep55 = questStep; - num3 = 1; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - CollectionsMarshal.AsSpan(list64)[0] = 1932u; - questStep55.KillEnemyDataIds = list64; - reference142 = questStep; - questSequence94.Steps = list3; - reference141 = questSequence; - ref QuestSequence reference143 = ref span82[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence95 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1007858u, new Vector3(591.2107f, 331.39114f, -447.776f), 155); - questSequence95.Steps = list3; - reference143 = questSequence; - ref QuestSequence reference144 = ref span82[5]; - questSequence = new QuestSequence - { - Sequence = 5 - }; - QuestSequence questSequence96 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference145 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.Combat, 1007859u, new Vector3(654.53577f, 305.091f, -354.11615f), 155) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - QuestStep questStep56 = questStep; - num3 = 1; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - CollectionsMarshal.AsSpan(list65)[0] = 1933u; - questStep56.KillEnemyDataIds = list65; - reference145 = questStep; - questSequence96.Steps = list3; - reference144 = questSequence; - ref QuestSequence reference146 = ref span82[6]; - questSequence = new QuestSequence - { - Sequence = 6 - }; - QuestSequence questSequence97 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1007859u, new Vector3(654.53577f, 305.091f, -354.11615f), 155); - questSequence97.Steps = list3; - reference146 = questSequence; - ref QuestSequence reference147 = ref span82[7]; - questSequence = new QuestSequence - { - Sequence = 7 - }; - QuestSequence questSequence98 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference148 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.Combat, 1007860u, new Vector3(622.06445f, 287.86145f, -317.89124f), 155) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - QuestStep questStep57 = questStep; - num3 = 1; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - CollectionsMarshal.AsSpan(list66)[0] = 1934u; - questStep57.KillEnemyDataIds = list66; - reference148 = questStep; - questSequence98.Steps = list3; - reference147 = questSequence; - ref QuestSequence reference149 = ref span82[8]; - questSequence = new QuestSequence - { - Sequence = 8 - }; - QuestSequence questSequence99 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1007860u, new Vector3(622.06445f, 287.86145f, -317.89124f), 155); - questSequence99.Steps = list3; - reference149 = questSequence; - ref QuestSequence reference150 = ref span82[9]; - questSequence = new QuestSequence - { - Sequence = 9 - }; - QuestSequence questSequence100 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span85 = CollectionsMarshal.AsSpan(list3); - span85[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span85[1] = new QuestStep(EInteractionType.Interact, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155); - questSequence100.Steps = list3; - reference150 = questSequence; - ref QuestSequence reference151 = ref span82[10]; - questSequence = new QuestSequence - { - Sequence = 10 - }; - QuestSequence questSequence101 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span86 = CollectionsMarshal.AsSpan(list3); - span86[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(179.19377f, 358.68628f, -580.35266f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - ref QuestStep reference152 = ref span86[1]; - questStep = new QuestStep(EInteractionType.Combat, 2002424u, new Vector3(67.91785f, 374.77686f, -672.2057f), 155) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - QuestStep questStep58 = questStep; - num3 = 1; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - CollectionsMarshal.AsSpan(list67)[0] = 1929u; - questStep58.KillEnemyDataIds = list67; - reference152 = questStep; - questSequence101.Steps = list3; - reference151 = questSequence; - ref QuestSequence reference153 = ref span82[11]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence102 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span87 = CollectionsMarshal.AsSpan(list3); - span87[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span87[1] = new QuestStep(EInteractionType.CompleteQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155) - { - NextQuestId = new QuestId(1071) - }; - questSequence102.Steps = list3; - reference153 = questSequence; - questRoot43.QuestSequence = list2; - AddQuest(questId21, questRoot); - QuestId questId22 = new QuestId(1071); - questRoot = new QuestRoot(); - QuestRoot questRoot44 = questRoot; - num = 1; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - CollectionsMarshal.AsSpan(list68)[0] = "Cacahuetes"; - questRoot44.Author = list68; - QuestRoot questRoot45 = questRoot; - num = 3; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span88 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference154 = ref span88[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence103 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span89 = CollectionsMarshal.AsSpan(list3); - span89[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span89[1] = new QuestStep(EInteractionType.AcceptQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155); - questSequence103.Steps = list3; - reference154 = questSequence; - ref QuestSequence reference155 = ref span88[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence104 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference156 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.Combat, 2002425u, new Vector3(96.69641f, 356.3744f, -257.2519f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - QuestStep questStep59 = questStep; - num3 = 1; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - CollectionsMarshal.AsSpan(list69)[0] = 1930u; - questStep59.KillEnemyDataIds = list69; - reference156 = questStep; - questSequence104.Steps = list3; - reference155 = questSequence; - ref QuestSequence reference157 = ref span88[2]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence105 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span90 = CollectionsMarshal.AsSpan(list3); - span90[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span90[1] = new QuestStep(EInteractionType.CompleteQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155) - { - NextQuestId = new QuestId(1072) - }; - questSequence105.Steps = list3; - reference157 = questSequence; - questRoot45.QuestSequence = list2; - AddQuest(questId22, questRoot); - QuestId questId23 = new QuestId(1072); - questRoot = new QuestRoot(); - QuestRoot questRoot46 = questRoot; - num = 1; - List list70 = new List(num); - CollectionsMarshal.SetCount(list70, num); - CollectionsMarshal.AsSpan(list70)[0] = "Cacahuetes"; - questRoot46.Author = list70; - QuestRoot questRoot47 = questRoot; - num = 3; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span91 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference158 = ref span91[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence106 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span92 = CollectionsMarshal.AsSpan(list3); - span92[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span92[1] = new QuestStep(EInteractionType.AcceptQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155); - questSequence106.Steps = list3; - reference158 = questSequence; - ref QuestSequence reference159 = ref span91[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence107 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span93 = CollectionsMarshal.AsSpan(list3); - span93[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(267.25278f, 361.89908f, -575.7137f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span93[1] = new QuestStep(EInteractionType.SinglePlayerDuty, null, new Vector3(266.7326f, 362.4986f, -586.0155f), 155) - { - Mount = false - }; - questSequence107.Steps = list3; - reference159 = questSequence; - ref QuestSequence reference160 = ref span91[2]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence108 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span94 = CollectionsMarshal.AsSpan(list3); - span94[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span94[1] = new QuestStep(EInteractionType.CompleteQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155) - { - NextQuestId = new QuestId(1689) - }; - questSequence108.Steps = list3; - reference160 = questSequence; - questRoot47.QuestSequence = list2; - AddQuest(questId23, questRoot); - QuestId questId24 = new QuestId(1073); - questRoot = new QuestRoot(); - QuestRoot questRoot48 = questRoot; - num = 1; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - CollectionsMarshal.AsSpan(list71)[0] = "pot0to"; - questRoot48.Author = list71; - QuestRoot questRoot49 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span95 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference161 = ref span95[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence109 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference162 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1002279u, new Vector3(-196.8872f, 18.459997f, 59.952637f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - } - }; - QuestStep questStep60 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions23 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition - { - InSameTerritory = true - }; - SkipAetheryteCondition skipAetheryteCondition14 = skipAetheryteCondition; - num3 = 1; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - CollectionsMarshal.AsSpan(list72)[0] = 130; - skipAetheryteCondition14.InTerritory = list72; - skipConditions23.AetheryteShortcutIf = skipAetheryteCondition; - questStep60.SkipConditions = skipConditions; - reference162 = questStep; - questSequence109.Steps = list3; - reference161 = questSequence; - ref QuestSequence reference163 = ref span95[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence110 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference164 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.Combat, 2002533u, new Vector3(-72.67877f, -32.059265f, -46.830017f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - QuestStep questStep61 = questStep; - num3 = 1; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - CollectionsMarshal.AsSpan(list73)[0] = 305u; - questStep61.KillEnemyDataIds = list73; - reference164 = questStep; - questSequence110.Steps = list3; - reference163 = questSequence; - ref QuestSequence reference165 = ref span95[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence111 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.UseItem, 2002429u, new Vector3(-72.67877f, -32.059265f, -46.830017f), 145) - { - ItemId = 2000954u - }; - questSequence111.Steps = list3; - reference165 = questSequence; - ref QuestSequence reference166 = ref span95[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence112 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1002279u, new Vector3(-196.8872f, 18.459997f, 59.952637f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - } - }; - questSequence112.Steps = list3; - reference166 = questSequence; - ref QuestSequence reference167 = ref span95[4]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence113 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference168 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.CompleteQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahThaumaturge, - To = EAetheryteLocation.UldahWeaver - } - }; - QuestStep questStep62 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions24 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition - { - InSameTerritory = true - }; - SkipAetheryteCondition skipAetheryteCondition15 = skipAetheryteCondition; - num3 = 1; - List list74 = new List(num3); - CollectionsMarshal.SetCount(list74, num3); - CollectionsMarshal.AsSpan(list74)[0] = 130; - skipAetheryteCondition15.InTerritory = list74; - skipConditions24.AetheryteShortcutIf = skipAetheryteCondition; - questStep62.SkipConditions = skipConditions; - reference168 = questStep; - questSequence113.Steps = list3; - reference167 = questSequence; - questRoot49.QuestSequence = list2; - AddQuest(questId24, questRoot); - QuestId questId25 = new QuestId(1074); - questRoot = new QuestRoot(); - QuestRoot questRoot50 = questRoot; - num = 1; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - CollectionsMarshal.AsSpan(list75)[0] = "pot0to"; - questRoot50.Author = list75; - QuestRoot questRoot51 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span96 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference169 = ref span96[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence114 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span97 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference170 = ref span97[0]; - questStep = new QuestStep(EInteractionType.EquipItem, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - }, - ItemId = 4548u - }; - QuestStep questStep63 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions25 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition - { - InSameTerritory = true - }; - SkipAetheryteCondition skipAetheryteCondition16 = skipAetheryteCondition; - num3 = 2; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - Span span98 = CollectionsMarshal.AsSpan(list76); - span98[0] = 130; - span98[1] = 131; - skipAetheryteCondition16.InTerritory = list76; - skipConditions25.AetheryteShortcutIf = skipAetheryteCondition; - questStep63.SkipConditions = skipConditions; - reference170 = questStep; - span97[1] = new QuestStep(EInteractionType.AcceptQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131); - questSequence114.Steps = list3; - reference169 = questSequence; - ref QuestSequence reference171 = ref span96[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence115 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference172 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.Combat, 2002534u, new Vector3(-7.9194946f, 13.687317f, 866.54443f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - QuestStep questStep64 = questStep; - num3 = 1; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - CollectionsMarshal.AsSpan(list77)[0] = 21u; - questStep64.KillEnemyDataIds = list77; - reference172 = questStep; - questSequence115.Steps = list3; - reference171 = questSequence; - ref QuestSequence reference173 = ref span96[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence116 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.UseItem, 2002430u, new Vector3(-7.9194946f, 13.687317f, 866.54443f), 146) - { - ItemId = 2000809u - }; - questSequence116.Steps = list3; - reference173 = questSequence; - ref QuestSequence reference174 = ref span96[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence117 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1002279u, new Vector3(-196.8872f, 18.459997f, 59.952637f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - } - }; - questSequence117.Steps = list3; - reference174 = questSequence; - ref QuestSequence reference175 = ref span96[4]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence118 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference176 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.CompleteQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - QuestStep questStep65 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions26 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition - { - InSameTerritory = true - }; - SkipAetheryteCondition skipAetheryteCondition17 = skipAetheryteCondition; - num3 = 1; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - CollectionsMarshal.AsSpan(list78)[0] = 130; - skipAetheryteCondition17.InTerritory = list78; - skipConditions26.AetheryteShortcutIf = skipAetheryteCondition; - questStep65.SkipConditions = skipConditions; - reference176 = questStep; - questSequence118.Steps = list3; - reference175 = questSequence; - questRoot51.QuestSequence = list2; - AddQuest(questId25, questRoot); - QuestId questId26 = new QuestId(1075); - questRoot = new QuestRoot(); - QuestRoot questRoot52 = questRoot; - num = 1; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - CollectionsMarshal.AsSpan(list79)[0] = "pot0to"; - questRoot52.Author = list79; - QuestRoot questRoot53 = questRoot; - num = 12; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span99 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference177 = ref span99[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence119 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference178 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - QuestStep questStep66 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions27 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition - { - InSameTerritory = true - }; - SkipAetheryteCondition skipAetheryteCondition18 = skipAetheryteCondition; - num3 = 2; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - Span span100 = CollectionsMarshal.AsSpan(list80); - span100[0] = 130; - span100[1] = 131; - skipAetheryteCondition18.InTerritory = list80; - skipConditions27.AetheryteShortcutIf = skipAetheryteCondition; - questStep66.SkipConditions = skipConditions; - reference178 = questStep; - questSequence119.Steps = list3; - reference177 = questSequence; - ref QuestSequence reference179 = ref span99[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence120 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1006753u, new Vector3(325.063f, 11.236564f, -6.2105103f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - questSequence120.Steps = list3; - reference179 = questSequence; - ref QuestSequence reference180 = ref span99[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence121 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1007864u, new Vector3(-167.40674f, 14.513778f, -251.3009f), 140) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon - }; - questSequence121.Steps = list3; - reference180 = questSequence; - ref QuestSequence reference181 = ref span99[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence122 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference182 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.Combat, 2002535u, new Vector3(-178.39331f, 15.42688f, -244.64789f), 140) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - QuestStep questStep67 = questStep; - num3 = 1; - List list81 = new List(num3); - CollectionsMarshal.SetCount(list81, num3); - CollectionsMarshal.AsSpan(list81)[0] = 182u; - questStep67.KillEnemyDataIds = list81; - reference182 = questStep; - questSequence122.Steps = list3; - reference181 = questSequence; - ref QuestSequence reference183 = ref span99[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence123 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.UseItem, 2002431u, new Vector3(-178.39331f, 15.42688f, -244.64789f), 140) - { - ItemId = 2000810u - }; - questSequence123.Steps = list3; - reference183 = questSequence; - ref QuestSequence reference184 = ref span99[5]; - questSequence = new QuestSequence - { - Sequence = 5 - }; - QuestSequence questSequence124 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1007864u, new Vector3(-167.40674f, 14.513778f, -251.3009f), 140); - questSequence124.Steps = list3; - reference184 = questSequence; - ref QuestSequence reference185 = ref span99[6]; - questSequence = new QuestSequence - { - Sequence = 6 - }; - QuestSequence questSequence125 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1007865u, new Vector3(-223.10223f, 14.513845f, -365.25525f), 140) - { - Fly = true - }; - questSequence125.Steps = list3; - reference185 = questSequence; - ref QuestSequence reference186 = ref span99[7]; - questSequence = new QuestSequence - { - Sequence = 7 - }; - QuestSequence questSequence126 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference187 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.Combat, 2002536u, new Vector3(-211.16962f, 15.396301f, -345.41852f), 140) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - QuestStep questStep68 = questStep; - num3 = 1; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - CollectionsMarshal.AsSpan(list82)[0] = 182u; - questStep68.KillEnemyDataIds = list82; - reference187 = questStep; - questSequence126.Steps = list3; - reference186 = questSequence; - ref QuestSequence reference188 = ref span99[8]; - questSequence = new QuestSequence - { - Sequence = 8 - }; - QuestSequence questSequence127 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.UseItem, 2002432u, new Vector3(-211.16962f, 15.396301f, -345.41852f), 140) - { - ItemId = 2000811u - }; - questSequence127.Steps = list3; - reference188 = questSequence; - ref QuestSequence reference189 = ref span99[9]; - questSequence = new QuestSequence - { - Sequence = 9 - }; - QuestSequence questSequence128 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1007865u, new Vector3(-223.10223f, 14.513845f, -365.25525f), 140); - questSequence128.Steps = list3; - reference189 = questSequence; - ref QuestSequence reference190 = ref span99[10]; - questSequence = new QuestSequence - { - Sequence = 10 - }; - QuestSequence questSequence129 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1007863u, new Vector3(-131.70062f, 17.982016f, -278.8587f), 140); - questSequence129.Steps = list3; - reference190 = questSequence; - ref QuestSequence reference191 = ref span99[11]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence130 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006753u, new Vector3(325.063f, 11.236564f, -6.2105103f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - questSequence130.Steps = list3; - reference191 = questSequence; - questRoot53.QuestSequence = list2; - AddQuest(questId26, questRoot); - QuestId questId27 = new QuestId(1076); - questRoot = new QuestRoot(); - QuestRoot questRoot54 = questRoot; - num = 1; - List list83 = new List(num); - CollectionsMarshal.SetCount(list83, num); - CollectionsMarshal.AsSpan(list83)[0] = "pot0to"; - questRoot54.Author = list83; - QuestRoot questRoot55 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span101 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference192 = ref span101[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence131 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference193 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1006753u, new Vector3(325.063f, 11.236564f, -6.2105103f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - QuestStep questStep69 = questStep; - num3 = 1; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - CollectionsMarshal.AsSpan(list84)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_JOBBLM450_01076_Q1_000_1") - }; - questStep69.DialogueChoices = list84; - reference193 = questStep; - questSequence131.Steps = list3; - reference192 = questSequence; - ref QuestSequence reference194 = ref span101[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence132 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2002433u, new Vector3(374.28845f, 3.40271f, 161.73035f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill - }; - questSequence132.Steps = list3; - reference194 = questSequence; - ref QuestSequence reference195 = ref span101[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence133 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1007866u, new Vector3(376.29065f, 2.505473f, 159.52626f), 153); - questSequence133.Steps = list3; - reference195 = questSequence; - ref QuestSequence reference196 = ref span101[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence134 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1007867u, new Vector3(282.39868f, 11.151184f, -6.729248f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - questSequence134.Steps = list3; - reference196 = questSequence; - ref QuestSequence reference197 = ref span101[4]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence135 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006753u, new Vector3(325.063f, 11.236564f, -6.2105103f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - questSequence135.Steps = list3; - reference197 = questSequence; - questRoot55.QuestSequence = list2; - AddQuest(questId27, questRoot); - QuestId questId28 = new QuestId(1077); - questRoot = new QuestRoot(); - QuestRoot questRoot56 = questRoot; - num = 1; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - CollectionsMarshal.AsSpan(list85)[0] = "pot0to"; - questRoot56.Author = list85; - QuestRoot questRoot57 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span102 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference198 = ref span102[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence136 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006753u, new Vector3(325.063f, 11.236564f, -6.2105103f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - questSequence136.Steps = list3; - reference198 = questSequence; - ref QuestSequence reference199 = ref span102[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence137 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span103 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference200 = ref span103[0]; - questStep = new QuestStep(EInteractionType.UseItem, 2002434u, new Vector3(-101.27417f, 28.213867f, 117.234985f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings, - ItemId = 2000812u - }; - QuestStep questStep70 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span104 = CollectionsMarshal.AsSpan(list4); - span104[0] = null; - span104[1] = null; - span104[2] = null; - span104[3] = null; - span104[4] = null; - span104[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep70.CompletionQuestVariablesFlags = list4; - reference200 = questStep; - ref QuestStep reference201 = ref span103[1]; - questStep = new QuestStep(EInteractionType.UseItem, 2002435u, new Vector3(-1.8158569f, -11.703674f, -37.79669f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - ItemId = 2000955u - }; - QuestStep questStep71 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span105 = CollectionsMarshal.AsSpan(list4); - span105[0] = null; - span105[1] = null; - span105[2] = null; - span105[3] = null; - span105[4] = null; - span105[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep71.CompletionQuestVariablesFlags = list4; - reference201 = questStep; - ref QuestStep reference202 = ref span103[2]; - questStep = new QuestStep(EInteractionType.UseItem, 2002436u, new Vector3(68.680786f, 55.832764f, -503.95975f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - ItemId = 2000956u - }; - QuestStep questStep72 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span106 = CollectionsMarshal.AsSpan(list4); - span106[0] = null; - span106[1] = null; - span106[2] = null; - span106[3] = null; - span106[4] = null; - span106[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep72.CompletionQuestVariablesFlags = list4; - reference202 = questStep; - questSequence137.Steps = list3; - reference199 = questSequence; - ref QuestSequence reference203 = ref span102[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence138 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1006753u, new Vector3(325.063f, 11.236564f, -6.2105103f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - questSequence138.Steps = list3; - reference203 = questSequence; - ref QuestSequence reference204 = ref span102[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence139 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference205 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.Combat, 2002537u, new Vector3(220.87427f, 5.5999756f, -269.9779f), 145) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - QuestStep questStep73 = questStep; - num3 = 2; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - Span span107 = CollectionsMarshal.AsSpan(list86); - span107[0] = 1935u; - span107[1] = 1936u; - questStep73.KillEnemyDataIds = list86; - reference205 = questStep; - questSequence139.Steps = list3; - reference204 = questSequence; - ref QuestSequence reference206 = ref span102[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence140 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.UseItem, 2002437u, new Vector3(220.87427f, 5.5999756f, -269.9779f), 145) - { - ItemId = 2000957u - }; - questSequence140.Steps = list3; - reference206 = questSequence; - ref QuestSequence reference207 = ref span102[5]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence141 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006753u, new Vector3(325.063f, 11.236564f, -6.2105103f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - questSequence141.Steps = list3; - reference207 = questSequence; - questRoot57.QuestSequence = list2; - AddQuest(questId28, questRoot); - QuestId questId29 = new QuestId(1078); - questRoot = new QuestRoot(); - QuestRoot questRoot58 = questRoot; - num = 1; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - CollectionsMarshal.AsSpan(list87)[0] = "pot0to"; - questRoot58.Author = list87; - QuestRoot questRoot59 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span108 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference208 = ref span108[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence142 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006753u, new Vector3(325.063f, 11.236564f, -6.2105103f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - questSequence142.Steps = list3; - reference208 = questSequence; - ref QuestSequence reference209 = ref span108[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence143 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference210 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.Interact, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - QuestStep questStep74 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions28 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition - { - InSameTerritory = true - }; - SkipAetheryteCondition skipAetheryteCondition19 = skipAetheryteCondition; - num3 = 2; - List list88 = new List(num3); - CollectionsMarshal.SetCount(list88, num3); - Span span109 = CollectionsMarshal.AsSpan(list88); - span109[0] = 130; - span109[1] = 131; - skipAetheryteCondition19.InTerritory = list88; - skipConditions28.AetheryteShortcutIf = skipAetheryteCondition; - questStep74.SkipConditions = skipConditions; - reference210 = questStep; - questSequence143.Steps = list3; - reference209 = questSequence; - ref QuestSequence reference211 = ref span108[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence144 = questSequence; - num2 = 5; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span110 = CollectionsMarshal.AsSpan(list3); - span110[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-173.17781f, 18.28456f, -280.36884f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span110[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-180.27478f, 3.2999475f, -243.23695f), 146) - { - DisableNavmesh = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span110[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-261.198f, 18.43726f, -104.834755f), 146) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span110[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-428.2874f, 5.952176f, -21.0684f), 146) - { - Fly = true - }; - span110[4] = new QuestStep(EInteractionType.SinglePlayerDuty, null, new Vector3(-431.92166f, 6.5580425f, -17.561014f), 146) - { - StopDistance = 0.5f, - Mount = false - }; - questSequence144.Steps = list3; - reference211 = questSequence; - ref QuestSequence reference212 = ref span108[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence145 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span111 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference213 = ref span111[0]; - questStep = new QuestStep(EInteractionType.Interact, 1007872u, new Vector3(-468.925f, -3.1649342f, 59.464355f), 146); - QuestStep questStep75 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span112 = CollectionsMarshal.AsSpan(list4); - span112[0] = null; - span112[1] = null; - span112[2] = null; - span112[3] = null; - span112[4] = null; - span112[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep75.CompletionQuestVariablesFlags = list4; - reference213 = questStep; - ref QuestStep reference214 = ref span111[1]; - questStep = new QuestStep(EInteractionType.Interact, 1007871u, new Vector3(-464.46936f, -3.1649272f, 65.415405f), 146); - QuestStep questStep76 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span113 = CollectionsMarshal.AsSpan(list4); - span113[0] = null; - span113[1] = null; - span113[2] = null; - span113[3] = null; - span113[4] = null; - span113[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep76.CompletionQuestVariablesFlags = list4; - reference214 = questStep; - ref QuestStep reference215 = ref span111[2]; - questStep = new QuestStep(EInteractionType.Interact, 1007873u, new Vector3(-458.70148f, -3.164927f, 63.370728f), 146); - QuestStep questStep77 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span114 = CollectionsMarshal.AsSpan(list4); - span114[0] = null; - span114[1] = null; - span114[2] = null; - span114[3] = null; - span114[4] = null; - span114[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep77.CompletionQuestVariablesFlags = list4; - reference215 = questStep; - questSequence145.Steps = list3; - reference212 = questSequence; - ref QuestSequence reference216 = ref span108[4]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence146 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006753u, new Vector3(325.063f, 11.236564f, -6.2105103f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - NextQuestId = new QuestId(1678) - }; - questSequence146.Steps = list3; - reference216 = questSequence; - questRoot59.QuestSequence = list2; - AddQuest(questId29, questRoot); - QuestId questId30 = new QuestId(1079); - questRoot = new QuestRoot(); - QuestRoot questRoot60 = questRoot; - num = 1; - List list89 = new List(num); - CollectionsMarshal.SetCount(list89, num); - CollectionsMarshal.AsSpan(list89)[0] = "Cacahuetes"; - questRoot60.Author = list89; - QuestRoot questRoot61 = questRoot; - num = 3; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span115 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference217 = ref span115[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence147 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference218 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - QuestStep questStep78 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions29 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition - { - InSameTerritory = true - }; - SkipAetheryteCondition skipAetheryteCondition20 = skipAetheryteCondition; - num3 = 1; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - CollectionsMarshal.AsSpan(list90)[0] = 133; - skipAetheryteCondition20.InTerritory = list90; - skipConditions29.AetheryteShortcutIf = skipAetheryteCondition; - questStep78.SkipConditions = skipConditions; - reference218 = questStep; - questSequence147.Steps = list3; - reference217 = questSequence; - ref QuestSequence reference219 = ref span115[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence148 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1007850u, new Vector3(-271.87f, 19.663366f, 97.42883f), 148) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows - }; - questSequence148.Steps = list3; - reference219 = questSequence; - ref QuestSequence reference220 = ref span115[2]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence149 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span116 = CollectionsMarshal.AsSpan(list3); - span116[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-146.86935f, 8.006159f, 268.78055f), 153) - { - StopDistance = 0.25f, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - JumpDestination = new JumpDestination - { - Position = new Vector3(-137.77051f, 7.7094107f, 275.28036f), - DelaySeconds = 0.75f - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span116[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-139.04318f, 8.522301f, 280.0128f), 153) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span116[2] = new QuestStep(EInteractionType.CompleteQuest, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153) - { - NextQuestId = new QuestId(1080) - }; - questSequence149.Steps = list3; - reference220 = questSequence; - questRoot61.QuestSequence = list2; - AddQuest(questId30, questRoot); - QuestId questId31 = new QuestId(1080); - questRoot = new QuestRoot(); - QuestRoot questRoot62 = questRoot; - num = 1; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - CollectionsMarshal.AsSpan(list91)[0] = "Cacahuetes"; - questRoot62.Author = list91; - QuestRoot questRoot63 = questRoot; - num = 3; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span117 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference221 = ref span117[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence150 = questSequence; - num2 = 4; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span118 = CollectionsMarshal.AsSpan(list3); - span118[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-146.86935f, 8.006159f, 268.78055f), 153) - { - StopDistance = 0.25f, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - JumpDestination = new JumpDestination - { - Position = new Vector3(-137.77051f, 7.7094107f, 275.28036f), - DelaySeconds = 0.75f - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked, - NearPosition = new NearPositionCondition - { - Position = new Vector3(-139.45221f, 8.712891f, 281.69678f), - MaximumDistance = 3f, - TerritoryId = 153 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span118[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-139.04318f, 8.522301f, 280.0128f), 153) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span118[2] = new QuestStep(EInteractionType.EquipItem, null, null, 153) - { - ItemId = 4547u - }; - span118[3] = new QuestStep(EInteractionType.AcceptQuest, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153); - questSequence150.Steps = list3; - reference221 = questSequence; - ref QuestSequence reference222 = ref span117[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence151 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span119 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference223 = ref span119[0]; - questStep = new QuestStep(EInteractionType.Combat, 2002392u, new Vector3(-416.5561f, 60.990234f, -148.63812f), 148) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaWhiteWolfGate - }, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - QuestStep questStep79 = questStep; - num3 = 1; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - CollectionsMarshal.AsSpan(list92)[0] = 1937u; - questStep79.KillEnemyDataIds = list92; - QuestStep questStep80 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span120 = CollectionsMarshal.AsSpan(list4); - span120[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span120[1] = null; - span120[2] = null; - span120[3] = null; - span120[4] = null; - span120[5] = null; - questStep80.CompletionQuestVariablesFlags = list4; - reference223 = questStep; - span119[1] = new QuestStep(EInteractionType.Interact, 2002392u, new Vector3(-416.5561f, 60.990234f, -148.63812f), 148); - questSequence151.Steps = list3; - reference222 = questSequence; - ref QuestSequence reference224 = ref span117[2]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence152 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span121 = CollectionsMarshal.AsSpan(list3); - span121[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-146.86935f, 8.006159f, 268.78055f), 153) - { - StopDistance = 0.25f, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - JumpDestination = new JumpDestination - { - Position = new Vector3(-137.77051f, 7.7094107f, 275.28036f), - DelaySeconds = 0.75f - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked, - NearPosition = new NearPositionCondition - { - Position = new Vector3(-139.45221f, 8.712891f, 281.69678f), - MaximumDistance = 3f, - TerritoryId = 153 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span121[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-139.04318f, 8.522301f, 280.0128f), 153) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span121[2] = new QuestStep(EInteractionType.CompleteQuest, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153) - { - NextQuestId = new QuestId(1081) - }; - questSequence152.Steps = list3; - reference224 = questSequence; - questRoot63.QuestSequence = list2; - AddQuest(questId31, questRoot); - QuestId questId32 = new QuestId(1081); - questRoot = new QuestRoot(); - QuestRoot questRoot64 = questRoot; - num = 1; - List list93 = new List(num); - CollectionsMarshal.SetCount(list93, num); - CollectionsMarshal.AsSpan(list93)[0] = "Cacahuetes"; - questRoot64.Author = list93; - QuestRoot questRoot65 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span122 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference225 = ref span122[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence153 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span123 = CollectionsMarshal.AsSpan(list3); - span123[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-146.86935f, 8.006159f, 268.78055f), 153) - { - StopDistance = 0.25f, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - JumpDestination = new JumpDestination - { - Position = new Vector3(-137.77051f, 7.7094107f, 275.28036f), - DelaySeconds = 0.75f - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked, - NearPosition = new NearPositionCondition - { - Position = new Vector3(-139.45221f, 8.712891f, 281.69678f), - MaximumDistance = 3f, - TerritoryId = 153 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span123[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-139.04318f, 8.522301f, 280.0128f), 153) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span123[2] = new QuestStep(EInteractionType.AcceptQuest, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153); - questSequence153.Steps = list3; - reference225 = questSequence; - ref QuestSequence reference226 = ref span122[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence154 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1007852u, new Vector3(-272.38885f, 12.935407f, -46.28064f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - questSequence154.Steps = list3; - reference226 = questSequence; - ref QuestSequence reference227 = ref span122[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence155 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span124 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference228 = ref span124[0]; - questStep = new QuestStep(EInteractionType.Combat, null, new Vector3(-271.5343f, 13.748352f, -51.773926f), 152) - { - StopDistance = 2f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - QuestStep questStep81 = questStep; - num3 = 2; - List list94 = new List(num3); - CollectionsMarshal.SetCount(list94, num3); - Span span125 = CollectionsMarshal.AsSpan(list94); - span125[0] = 1938u; - span125[1] = 1939u; - questStep81.KillEnemyDataIds = list94; - QuestStep questStep82 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span126 = CollectionsMarshal.AsSpan(list4); - span126[0] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - span126[1] = null; - span126[2] = null; - span126[3] = null; - span126[4] = null; - span126[5] = null; - questStep82.CompletionQuestVariablesFlags = list4; - reference228 = questStep; - span124[1] = new QuestStep(EInteractionType.Interact, 2002394u, new Vector3(-271.5343f, 13.748352f, -51.773926f), 152); - questSequence155.Steps = list3; - reference227 = questSequence; - ref QuestSequence reference229 = ref span122[3]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence156 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span127 = CollectionsMarshal.AsSpan(list3); - span127[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-146.86935f, 8.006159f, 268.78055f), 153) - { - StopDistance = 0.25f, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - JumpDestination = new JumpDestination - { - Position = new Vector3(-137.77051f, 7.7094107f, 275.28036f), - DelaySeconds = 0.75f - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked, - NearPosition = new NearPositionCondition - { - Position = new Vector3(-139.45221f, 8.712891f, 281.69678f), - MaximumDistance = 3f, - TerritoryId = 153 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span127[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-139.04318f, 8.522301f, 280.0128f), 153) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span127[2] = new QuestStep(EInteractionType.CompleteQuest, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153) - { - NextQuestId = new QuestId(1082) - }; - questSequence156.Steps = list3; - reference229 = questSequence; - questRoot65.QuestSequence = list2; - AddQuest(questId32, questRoot); - QuestId questId33 = new QuestId(1082); - questRoot = new QuestRoot(); - QuestRoot questRoot66 = questRoot; - num = 1; - List list95 = new List(num); - CollectionsMarshal.SetCount(list95, num); - CollectionsMarshal.AsSpan(list95)[0] = "Cacahuetes"; - questRoot66.Author = list95; - QuestRoot questRoot67 = questRoot; - num = 7; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span128 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference230 = ref span128[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence157 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span129 = CollectionsMarshal.AsSpan(list3); - span129[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-146.86935f, 8.006159f, 268.78055f), 153) - { - StopDistance = 0.25f, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - JumpDestination = new JumpDestination - { - Position = new Vector3(-137.77051f, 7.7094107f, 275.28036f), - DelaySeconds = 0.75f - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked, - NearPosition = new NearPositionCondition - { - Position = new Vector3(-139.45221f, 8.712891f, 281.69678f), - MaximumDistance = 3f, - TerritoryId = 153 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span129[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-139.04318f, 8.522301f, 280.0128f), 153) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span129[2] = new QuestStep(EInteractionType.AcceptQuest, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153); - questSequence157.Steps = list3; - reference230 = questSequence; - ref QuestSequence reference231 = ref span128[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence158 = questSequence; - num2 = 7; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span130 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference232 = ref span130[0]; - questStep = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-346.83008f, -37.93451f, -236.64346f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - QuestStep questStep83 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions30 = skipConditions; - skipStepConditions = new SkipStepConditions(); - SkipStepConditions skipStepConditions11 = skipStepConditions; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span131 = CollectionsMarshal.AsSpan(list4); - span131[0] = null; - span131[1] = null; - span131[2] = null; - span131[3] = null; - span131[4] = null; - span131[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions11.CompletionQuestVariablesFlags = list4; - skipStepConditions.Flying = ELockedSkipCondition.Locked; - skipConditions30.StepIf = skipStepConditions; - questStep83.SkipConditions = skipConditions; - reference232 = questStep; - ref QuestStep reference233 = ref span130[1]; - questStep = new QuestStep(EInteractionType.Emote, 2002396u, new Vector3(-347.34113f, -36.240234f, -249.6529f), 138) - { - Emote = EEmote.Pray - }; - QuestStep questStep84 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span132 = CollectionsMarshal.AsSpan(list4); - span132[0] = null; - span132[1] = null; - span132[2] = null; - span132[3] = null; - span132[4] = null; - span132[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep84.CompletionQuestVariablesFlags = list4; - reference233 = questStep; - ref QuestStep reference234 = ref span130[2]; - questStep = new QuestStep(EInteractionType.Emote, 2002397u, new Vector3(-339.46753f, -15.06073f, -403.21973f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - Emote = EEmote.Pray - }; - QuestStep questStep85 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span133 = CollectionsMarshal.AsSpan(list4); - span133[0] = null; - span133[1] = null; - span133[2] = null; - span133[3] = null; - span133[4] = null; - span133[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep85.CompletionQuestVariablesFlags = list4; - reference234 = questStep; - span130[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-26.738379f, 33f, -495.80618f), 141) - { - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - span130[4] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 147) - { - Aetheryte = EAetheryteLocation.NorthernThanalanCampBluefog - }; - span130[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-255.17686f, 59.31324f, -44.453175f), 147); - ref QuestStep reference235 = ref span130[6]; - questStep = new QuestStep(EInteractionType.Emote, 2002398u, new Vector3(-253.46765f, 60.68506f, -43.90027f), 147) - { - Emote = EEmote.Pray - }; - QuestStep questStep86 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span134 = CollectionsMarshal.AsSpan(list4); - span134[0] = null; - span134[1] = null; - span134[2] = null; - span134[3] = null; - span134[4] = null; - span134[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep86.CompletionQuestVariablesFlags = list4; - reference235 = questStep; - questSequence158.Steps = list3; - reference231 = questSequence; - ref QuestSequence reference236 = ref span128[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence159 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span135 = CollectionsMarshal.AsSpan(list3); - span135[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-146.86935f, 8.006159f, 268.78055f), 153) - { - StopDistance = 0.25f, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - JumpDestination = new JumpDestination - { - Position = new Vector3(-137.77051f, 7.7094107f, 275.28036f), - DelaySeconds = 0.75f - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked, - NearPosition = new NearPositionCondition - { - Position = new Vector3(-139.45221f, 8.712891f, 281.69678f), - MaximumDistance = 3f, - TerritoryId = 153 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span135[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-139.04318f, 8.522301f, 280.0128f), 153) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span135[2] = new QuestStep(EInteractionType.Interact, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153); - questSequence159.Steps = list3; - reference236 = questSequence; - ref QuestSequence reference237 = ref span128[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence160 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span136 = CollectionsMarshal.AsSpan(list3); - span136[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(109.89845f, 7.0051613f, -45.239243f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - span136[1] = new QuestStep(EInteractionType.Interact, 2002399u, new Vector3(107.83545f, 7.7057495f, -45.15149f), 154); - questSequence160.Steps = list3; - reference237 = questSequence; - ref QuestSequence reference238 = ref span128[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence161 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span137 = CollectionsMarshal.AsSpan(list3); - span137[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-146.86935f, 8.006159f, 268.78055f), 153) - { - StopDistance = 0.25f, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - JumpDestination = new JumpDestination - { - Position = new Vector3(-137.77051f, 7.7094107f, 275.28036f), - DelaySeconds = 0.75f - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked, - NearPosition = new NearPositionCondition - { - Position = new Vector3(-139.45221f, 8.712891f, 281.69678f), - MaximumDistance = 3f, - TerritoryId = 153 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span137[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-139.04318f, 8.522301f, 280.0128f), 153) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span137[2] = new QuestStep(EInteractionType.Interact, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153); - questSequence161.Steps = list3; - reference238 = questSequence; - ref QuestSequence reference239 = ref span128[5]; - questSequence = new QuestSequence - { - Sequence = 5 - }; - QuestSequence questSequence162 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span138 = CollectionsMarshal.AsSpan(list3); - span138[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(286.73157f, 42.137627f, -202.96959f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.OuterLaNosceaCampOverlook - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - AetheryteUnlocked = EAetheryteLocation.OuterLaNosceaCampOverlook - } - } - }; - span138[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(118.0728f, 74.37976f, -248.26317f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - AetheryteLocked = EAetheryteLocation.OuterLaNosceaCampOverlook - } - } - }; - span138[2] = new QuestStep(EInteractionType.Emote, 2002400u, new Vector3(117.32654f, 75.394775f, -246.54004f), 180) - { - Emote = EEmote.Pray - }; - questSequence162.Steps = list3; - reference239 = questSequence; - ref QuestSequence reference240 = ref span128[6]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence163 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span139 = CollectionsMarshal.AsSpan(list3); - span139[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-146.86935f, 8.006159f, 268.78055f), 153) - { - StopDistance = 0.25f, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - JumpDestination = new JumpDestination - { - Position = new Vector3(-137.77051f, 7.7094107f, 275.28036f), - DelaySeconds = 0.75f - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked, - NearPosition = new NearPositionCondition - { - Position = new Vector3(-139.45221f, 8.712891f, 281.69678f), - MaximumDistance = 3f, - TerritoryId = 153 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span139[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-139.04318f, 8.522301f, 280.0128f), 153) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span139[2] = new QuestStep(EInteractionType.CompleteQuest, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153) - { - NextQuestId = new QuestId(1083) - }; - questSequence163.Steps = list3; - reference240 = questSequence; - questRoot67.QuestSequence = list2; - AddQuest(questId33, questRoot); - QuestId questId34 = new QuestId(1083); - questRoot = new QuestRoot(); - QuestRoot questRoot68 = questRoot; - num = 1; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - CollectionsMarshal.AsSpan(list96)[0] = "Cacahuetes"; - questRoot68.Author = list96; - QuestRoot questRoot69 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span140 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference241 = ref span140[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence164 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span141 = CollectionsMarshal.AsSpan(list3); - span141[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-146.86935f, 8.006159f, 268.78055f), 153) - { - StopDistance = 0.25f, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - JumpDestination = new JumpDestination - { - Position = new Vector3(-137.77051f, 7.7094107f, 275.28036f), - DelaySeconds = 0.75f - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked, - NearPosition = new NearPositionCondition - { - Position = new Vector3(-139.45221f, 8.712891f, 281.69678f), - MaximumDistance = 3f, - TerritoryId = 153 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span141[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-139.04318f, 8.522301f, 280.0128f), 153) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span141[2] = new QuestStep(EInteractionType.AcceptQuest, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153); - questSequence164.Steps = list3; - reference241 = questSequence; - ref QuestSequence reference242 = ref span140[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence165 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1007861u, new Vector3(-138.59778f, 8.561184f, 281.2085f), 153) - { - StopDistance = 5f - }; - questSequence165.Steps = list3; - reference242 = questSequence; - ref QuestSequence reference243 = ref span140[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence166 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span142 = CollectionsMarshal.AsSpan(list3); - span142[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(47.682095f, 9.470074f, -98.02502f), 153) - { - StopDistance = 0.25f, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - JumpDestination = new JumpDestination - { - Position = new Vector3(51.224842f, 9.313359f, -104.32791f), - DelaySeconds = 0.2f - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span142[1] = new QuestStep(EInteractionType.Interact, 1007853u, new Vector3(53.72693f, 8.86706f, -111.25354f), 153) - { - Fly = true - }; - questSequence166.Steps = list3; - reference243 = questSequence; - ref QuestSequence reference244 = ref span140[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence167 = questSequence; - num2 = 4; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span143 = CollectionsMarshal.AsSpan(list3); - span143[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(49.495304f, 10.139881f, -101.576866f), 153); - span143[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(47.557983f, 9.440208f, -97.066605f), 153); - ref QuestStep reference245 = ref span143[2]; - questStep = new QuestStep(EInteractionType.Combat, 2002403u, new Vector3(151.53735f, 18.112427f, -127.30603f), 153) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - QuestStep questStep87 = questStep; - num3 = 3; - List list97 = new List(num3); - CollectionsMarshal.SetCount(list97, num3); - Span span144 = CollectionsMarshal.AsSpan(list97); - span144[0] = 1940u; - span144[1] = 1941u; - span144[2] = 1942u; - questStep87.KillEnemyDataIds = list97; - QuestStep questStep88 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span145 = CollectionsMarshal.AsSpan(list4); - span145[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span145[1] = null; - span145[2] = null; - span145[3] = null; - span145[4] = null; - span145[5] = null; - questStep88.CompletionQuestVariablesFlags = list4; - reference245 = questStep; - span143[3] = new QuestStep(EInteractionType.Interact, 2002403u, new Vector3(151.53735f, 18.112427f, -127.30603f), 153); - questSequence167.Steps = list3; - reference244 = questSequence; - ref QuestSequence reference246 = ref span140[4]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence168 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span146 = CollectionsMarshal.AsSpan(list3); - span146[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-146.86935f, 8.006159f, 268.78055f), 153) - { - StopDistance = 0.25f, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - JumpDestination = new JumpDestination - { - Position = new Vector3(-137.77051f, 7.7094107f, 275.28036f), - DelaySeconds = 0.75f - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked, - NearPosition = new NearPositionCondition - { - Position = new Vector3(-139.45221f, 8.712891f, 281.69678f), - MaximumDistance = 3f, - TerritoryId = 153 - } - } - } - }; - span146[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-139.04318f, 8.522301f, 280.0128f), 153) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span146[2] = new QuestStep(EInteractionType.CompleteQuest, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153) - { - NextQuestId = new QuestId(1084) - }; - questSequence168.Steps = list3; - reference246 = questSequence; - questRoot69.QuestSequence = list2; - AddQuest(questId34, questRoot); - QuestId questId35 = new QuestId(1084); - questRoot = new QuestRoot(); - QuestRoot questRoot70 = questRoot; - num = 1; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - CollectionsMarshal.AsSpan(list98)[0] = "Cacahuetes"; - questRoot70.Author = list98; - QuestRoot questRoot71 = questRoot; - num = 3; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span147 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference247 = ref span147[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence169 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span148 = CollectionsMarshal.AsSpan(list3); - span148[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-146.86935f, 8.006159f, 268.78055f), 153) - { - StopDistance = 0.25f, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - JumpDestination = new JumpDestination - { - Position = new Vector3(-137.77051f, 7.7094107f, 275.28036f), - DelaySeconds = 0.75f - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked, - NearPosition = new NearPositionCondition - { - Position = new Vector3(-139.45221f, 8.712891f, 281.69678f), - MaximumDistance = 3f, - TerritoryId = 153 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span148[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-139.04318f, 8.522301f, 280.0128f), 153) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span148[2] = new QuestStep(EInteractionType.AcceptQuest, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153); - questSequence169.Steps = list3; - reference247 = questSequence; - ref QuestSequence reference248 = ref span147[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence170 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2002408u, new Vector3(-316.27374f, 21.194763f, 179.70544f), 148) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows - }; - questSequence170.Steps = list3; - reference248 = questSequence; - ref QuestSequence reference249 = ref span147[2]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence171 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span149 = CollectionsMarshal.AsSpan(list3); - span149[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-146.86935f, 8.006159f, 268.78055f), 153) - { - StopDistance = 0.25f, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - JumpDestination = new JumpDestination - { - Position = new Vector3(-137.77051f, 7.7094107f, 275.28036f), - DelaySeconds = 0.75f - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked, - NearPosition = new NearPositionCondition - { - Position = new Vector3(-139.45221f, 8.712891f, 281.69678f), - MaximumDistance = 3f, - TerritoryId = 153 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span149[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-139.04318f, 8.522301f, 280.0128f), 153) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span149[2] = new QuestStep(EInteractionType.CompleteQuest, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153); - questSequence171.Steps = list3; - reference249 = questSequence; - questRoot71.QuestSequence = list2; - AddQuest(questId35, questRoot); - QuestId questId36 = new QuestId(1085); - questRoot = new QuestRoot(); - QuestRoot questRoot72 = questRoot; - num = 1; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - CollectionsMarshal.AsSpan(list99)[0] = "pot0to"; - questRoot72.Author = list99; - QuestRoot questRoot73 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span150 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference250 = ref span150[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence172 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - questSequence172.Steps = list3; - reference250 = questSequence; - ref QuestSequence reference251 = ref span150[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence173 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1006750u, new Vector3(16.464417f, 6.750492f, -7.3396606f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - questSequence173.Steps = list3; - reference251 = questSequence; - ref QuestSequence reference252 = ref span150[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence174 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1007834u, new Vector3(447.2876f, 2.147105f, 21.86615f), 153) - { - Fly = true - }; - questSequence174.Steps = list3; - reference252 = questSequence; - ref QuestSequence reference253 = ref span150[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence175 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 2002364u, new Vector3(457.9995f, 0.44250488f, -106.73688f), 153) - { - Fly = true - }; - questSequence175.Steps = list3; - reference253 = questSequence; - ref QuestSequence reference254 = ref span150[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence176 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span151 = CollectionsMarshal.AsSpan(list3); - span151[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(445.68686f, 2.7520387f, 24.184406f), 153) - { - Fly = true - }; - span151[1] = new QuestStep(EInteractionType.Interact, 1007834u, new Vector3(447.2876f, 2.147105f, 21.86615f), 153) - { - StopDistance = 7f, - Fly = false - }; - questSequence176.Steps = list3; - reference254 = questSequence; - ref QuestSequence reference255 = ref span150[5]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence177 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006750u, new Vector3(16.464417f, 6.750492f, -7.3396606f), 153) - { - Fly = true, - NextQuestId = new QuestId(1086) - }; - questSequence177.Steps = list3; - reference255 = questSequence; - questRoot73.QuestSequence = list2; - AddQuest(questId36, questRoot); - QuestId questId37 = new QuestId(1086); - questRoot = new QuestRoot(); - QuestRoot questRoot74 = questRoot; - num = 1; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - CollectionsMarshal.AsSpan(list100)[0] = "pot0to"; - questRoot74.Author = list100; - QuestRoot questRoot75 = questRoot; - num = 3; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span152 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference256 = ref span152[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence178 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span153 = CollectionsMarshal.AsSpan(list3); - span153[0] = new QuestStep(EInteractionType.EquipItem, null, null, 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - ItemId = 4546u, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span153[1] = new QuestStep(EInteractionType.EquipRecommended, null, null, 153); - span153[2] = new QuestStep(EInteractionType.AcceptQuest, 1006750u, new Vector3(16.464417f, 6.750492f, -7.3396606f), 153); - questSequence178.Steps = list3; - reference256 = questSequence; - ref QuestSequence reference257 = ref span152[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence179 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span154 = CollectionsMarshal.AsSpan(list3); - span154[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(570.48596f, 96.46625f, -526.59546f), 135) - { - TargetTerritoryId = (ushort)137, - Fly = true, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaTempestGate - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.EasternLaNosceaWineport - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - AetheryteUnlocked = EAetheryteLocation.EasternLaNosceaWineport - } - } - }; - ref QuestStep reference258 = ref span154[1]; - questStep = new QuestStep(EInteractionType.Combat, 2002366u, new Vector3(-143.0534f, 68.192505f, 586.1448f), 137) - { - StopDistance = 0.5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - QuestStep questStep89 = questStep; - num3 = 1; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - CollectionsMarshal.AsSpan(list101)[0] = 1945u; - questStep89.KillEnemyDataIds = list101; - questStep.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - reference258 = questStep; - questSequence179.Steps = list3; - reference257 = questSequence; - ref QuestSequence reference259 = ref span152[2]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence180 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006750u, new Vector3(16.464417f, 6.750492f, -7.3396606f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - NextQuestId = new QuestId(1087) - }; - questSequence180.Steps = list3; - reference259 = questSequence; - questRoot75.QuestSequence = list2; - AddQuest(questId37, questRoot); - QuestId questId38 = new QuestId(1087); - questRoot = new QuestRoot(); - QuestRoot questRoot76 = questRoot; - num = 1; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - CollectionsMarshal.AsSpan(list102)[0] = "pot0to"; - questRoot76.Author = list102; - QuestRoot questRoot77 = questRoot; - num = 3; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span155 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference260 = ref span155[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence181 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006750u, new Vector3(16.464417f, 6.750492f, -7.3396606f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - questSequence181.Steps = list3; - reference260 = questSequence; - ref QuestSequence reference261 = ref span155[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence182 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference262 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.Combat, 2002365u, new Vector3(272.05298f, 18.875366f, -164.53809f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - QuestStep questStep90 = questStep; - num3 = 1; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - CollectionsMarshal.AsSpan(list103)[0] = 58u; - questStep90.KillEnemyDataIds = list103; - questStep.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - reference262 = questStep; - questSequence182.Steps = list3; - reference261 = questSequence; - ref QuestSequence reference263 = ref span155[2]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence183 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006750u, new Vector3(16.464417f, 6.750492f, -7.3396606f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - NextQuestId = new QuestId(1088) - }; - questSequence183.Steps = list3; - reference263 = questSequence; - questRoot77.QuestSequence = list2; - AddQuest(questId38, questRoot); - QuestId questId39 = new QuestId(1088); - questRoot = new QuestRoot(); - QuestRoot questRoot78 = questRoot; - num = 1; - List list104 = new List(num); - CollectionsMarshal.SetCount(list104, num); - CollectionsMarshal.AsSpan(list104)[0] = "pot0to"; - questRoot78.Author = list104; - QuestRoot questRoot79 = questRoot; - num = 3; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span156 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference264 = ref span156[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence184 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006750u, new Vector3(16.464417f, 6.750492f, -7.3396606f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - questSequence184.Steps = list3; - reference264 = questSequence; - ref QuestSequence reference265 = ref span156[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence185 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2002367u, new Vector3(104.32593f, -21.774658f, 171.00781f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - ItemId = 2000952u, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - questSequence185.Steps = list3; - reference265 = questSequence; - ref QuestSequence reference266 = ref span156[2]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence186 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006750u, new Vector3(16.464417f, 6.750492f, -7.3396606f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - NextQuestId = new QuestId(1089) - }; - questSequence186.Steps = list3; - reference266 = questSequence; - questRoot79.QuestSequence = list2; - AddQuest(questId39, questRoot); - QuestId questId40 = new QuestId(1089); - questRoot = new QuestRoot(); - QuestRoot questRoot80 = questRoot; - num = 1; - List list105 = new List(num); - CollectionsMarshal.SetCount(list105, num); - CollectionsMarshal.AsSpan(list105)[0] = "pot0to"; - questRoot80.Author = list105; - QuestRoot questRoot81 = questRoot; - num = 3; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span157 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference267 = ref span157[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence187 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference268 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1006750u, new Vector3(16.464417f, 6.750492f, -7.3396606f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - QuestStep questStep91 = questStep; - num3 = 1; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - CollectionsMarshal.AsSpan(list106)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_JOBBRD451_01089_Q1_000_000") - }; - questStep91.DialogueChoices = list106; - reference268 = questStep; - questSequence187.Steps = list3; - reference267 = questSequence; - ref QuestSequence reference269 = ref span157[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence188 = questSequence; - num2 = 8; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span158 = CollectionsMarshal.AsSpan(list3); - span158[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(517.4273f, 13.999936f, 142.89926f), 153); - ref QuestStep reference270 = ref span158[1]; - questStep = new QuestStep(EInteractionType.Interact, 2002528u, new Vector3(512.291f, 10.482849f, 148.30237f), 153) - { - Fly = true - }; - QuestStep questStep92 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span159 = CollectionsMarshal.AsSpan(list4); - span159[0] = null; - span159[1] = null; - span159[2] = null; - span159[3] = null; - span159[4] = null; - span159[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep92.CompletionQuestVariablesFlags = list4; - reference270 = questStep; - ref QuestStep reference271 = ref span158[2]; - questStep = new QuestStep(EInteractionType.Interact, 2002530u, new Vector3(576.2263f, -24.002502f, -423.75836f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - QuestStep questStep93 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span160 = CollectionsMarshal.AsSpan(list4); - span160[0] = null; - span160[1] = null; - span160[2] = null; - span160[3] = null; - span160[4] = null; - span160[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep93.CompletionQuestVariablesFlags = list4; - reference271 = questStep; - span158[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-143.16391f, -25.75711f, 34.669674f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - ref QuestStep reference272 = ref span158[4]; - questStep = new QuestStep(EInteractionType.Interact, 2002527u, new Vector3(-168.29181f, -21.5f, 44.144287f), 138) - { - Fly = false - }; - QuestStep questStep94 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span161 = CollectionsMarshal.AsSpan(list4); - span161[0] = null; - span161[1] = null; - span161[2] = null; - span161[3] = null; - span161[4] = null; - span161[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep94.CompletionQuestVariablesFlags = list4; - reference272 = questStep; - span158[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-26.738379f, 33f, -495.80618f), 141) - { - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - span158[6] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 147) - { - Aetheryte = EAetheryteLocation.NorthernThanalanCampBluefog - }; - ref QuestStep reference273 = ref span158[7]; - questStep = new QuestStep(EInteractionType.Interact, 2002529u, new Vector3(-324.7273f, 87.96814f, -133.50122f), 147); - QuestStep questStep95 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span162 = CollectionsMarshal.AsSpan(list4); - span162[0] = null; - span162[1] = null; - span162[2] = null; - span162[3] = null; - span162[4] = null; - span162[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep95.CompletionQuestVariablesFlags = list4; - reference273 = questStep; - questSequence188.Steps = list3; - reference269 = questSequence; - ref QuestSequence reference274 = ref span157[2]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence189 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006750u, new Vector3(16.464417f, 6.750492f, -7.3396606f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - NextQuestId = new QuestId(1090) - }; - questSequence189.Steps = list3; - reference274 = questSequence; - questRoot81.QuestSequence = list2; - AddQuest(questId40, questRoot); - QuestId questId41 = new QuestId(1090); - questRoot = new QuestRoot(); - QuestRoot questRoot82 = questRoot; - num = 1; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - CollectionsMarshal.AsSpan(list107)[0] = "pot0to"; - questRoot82.Author = list107; - QuestRoot questRoot83 = questRoot; - num = 3; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span163 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference275 = ref span163[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence190 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006750u, new Vector3(16.464417f, 6.750492f, -7.3396606f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - questSequence190.Steps = list3; - reference275 = questSequence; - ref QuestSequence reference276 = ref span163[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence191 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span164 = CollectionsMarshal.AsSpan(list3); - span164[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(72.586075f, 226.66864f, 382.17618f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span164[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 2002373u, new Vector3(72.098755f, 227.19153f, 380.84985f), 155) - { - ItemId = 2000953u, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - questSequence191.Steps = list3; - reference276 = questSequence; - ref QuestSequence reference277 = ref span163[2]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence192 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1007891u, new Vector3(70.17627f, 226.72212f, 381.30762f), 155) - { - NextQuestId = new QuestId(1713) - }; - questSequence192.Steps = list3; - reference277 = questSequence; - questRoot83.QuestSequence = list2; - AddQuest(questId41, questRoot); - QuestId questId42 = new QuestId(1091); - questRoot = new QuestRoot(); - QuestRoot questRoot84 = questRoot; - num = 1; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - CollectionsMarshal.AsSpan(list108)[0] = "liza"; - questRoot84.Author = list108; - QuestRoot questRoot85 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span165 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference278 = ref span165[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence193 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - questSequence193.Steps = list3; - reference278 = questSequence; - ref QuestSequence reference279 = ref span165[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence194 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - questSequence194.Steps = list3; - reference279 = questSequence; - ref QuestSequence reference280 = ref span165[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence195 = questSequence; - num2 = 8; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span166 = CollectionsMarshal.AsSpan(list3); - span166[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-171.46503f, -46.504063f, 491.88867f), 145) - { - TargetTerritoryId = (ushort)146, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - AetheryteUnlocked = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - } - } - }; - span166[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-47.50145f, 16.362688f, -439.62503f), 146) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - } - } - }; - span166[2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 146) - { - StopDistance = 7f, - Aetheryte = EAetheryteLocation.SouthernThanalanLittleAlaMhigo, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - } - } - }; - span166[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-180.60515f, 17.857697f, -278.74887f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.SouthernThanalanForgottenSprings - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - AetheryteUnlocked = EAetheryteLocation.SouthernThanalanForgottenSprings - } - } - }; - span166[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-183.61136f, 3.5857017f, -248.78667f), 146) - { - DisableNavmesh = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.SouthernThanalanForgottenSprings - } - } - }; - span166[5] = new QuestStep(EInteractionType.Interact, 1004596u, new Vector3(-471.27496f, -2.650424f, 95.628296f), 146) - { - TargetTerritoryId = (ushort)146, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.SouthernThanalanForgottenSprings - } - } - }; - span166[6] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 146) - { - Aetheryte = EAetheryteLocation.SouthernThanalanForgottenSprings, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.SouthernThanalanForgottenSprings - } - } - }; - span166[7] = new QuestStep(EInteractionType.SinglePlayerDuty, 1006786u, new Vector3(-347.15802f, 0.9522269f, 741.3595f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings - }; - questSequence195.Steps = list3; - reference280 = questSequence; - ref QuestSequence reference281 = ref span165[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence196 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1006786u, new Vector3(-347.15802f, 0.9522269f, 741.3595f), 146) - { - StopDistance = 5f - }; - questSequence196.Steps = list3; - reference281 = questSequence; - ref QuestSequence reference282 = ref span165[4]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence197 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - }, - NextQuestId = new QuestId(1092) - }; - questSequence197.Steps = list3; - reference282 = questSequence; - questRoot85.QuestSequence = list2; - AddQuest(questId42, questRoot); - QuestId questId43 = new QuestId(1092); - questRoot = new QuestRoot(); - QuestRoot questRoot86 = questRoot; - num = 1; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - CollectionsMarshal.AsSpan(list109)[0] = "liza"; - questRoot86.Author = list109; - QuestRoot questRoot87 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span167 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference283 = ref span167[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence198 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span168 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference284 = ref span168[0]; - questStep = new QuestStep(EInteractionType.EquipItem, null, null, 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - }, - ItemId = 4549u - }; - QuestStep questStep96 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions31 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition - { - InSameTerritory = true - }; - SkipAetheryteCondition skipAetheryteCondition21 = skipAetheryteCondition; - num3 = 1; - List list110 = new List(num3); - CollectionsMarshal.SetCount(list110, num3); - CollectionsMarshal.AsSpan(list110)[0] = 133; - skipAetheryteCondition21.InTerritory = list110; - skipConditions31.AetheryteShortcutIf = skipAetheryteCondition; - questStep96.SkipConditions = skipConditions; - reference284 = questStep; - span168[1] = new QuestStep(EInteractionType.AcceptQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133); - questSequence198.Steps = list3; - reference283 = questSequence; - ref QuestSequence reference285 = ref span167[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence199 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1006787u, new Vector3(-268.78766f, -78.85388f, 444.8767f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - questSequence199.Steps = list3; - reference285 = questSequence; - ref QuestSequence reference286 = ref span167[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence200 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1006787u, new Vector3(-268.78766f, -78.85388f, 444.8767f), 154) - { - StopDistance = 7f - }; - questSequence200.Steps = list3; - reference286 = questSequence; - ref QuestSequence reference287 = ref span167[3]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence201 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - }, - NextQuestId = new QuestId(1093) - }; - questSequence201.Steps = list3; - reference287 = questSequence; - questRoot87.QuestSequence = list2; - AddQuest(questId43, questRoot); - QuestId questId44 = new QuestId(1093); - questRoot = new QuestRoot(); - QuestRoot questRoot88 = questRoot; - num = 1; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - CollectionsMarshal.AsSpan(list111)[0] = "liza"; - questRoot88.Author = list111; - QuestRoot questRoot89 = questRoot; - num = 3; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span169 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference288 = ref span169[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence202 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference289 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - QuestStep questStep97 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions32 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition - { - InSameTerritory = true - }; - SkipAetheryteCondition skipAetheryteCondition22 = skipAetheryteCondition; - num3 = 1; - List list112 = new List(num3); - CollectionsMarshal.SetCount(list112, num3); - CollectionsMarshal.AsSpan(list112)[0] = 133; - skipAetheryteCondition22.InTerritory = list112; - skipConditions32.AetheryteShortcutIf = skipAetheryteCondition; - questStep97.SkipConditions = skipConditions; - reference289 = questStep; - questSequence202.Steps = list3; - reference288 = questSequence; - ref QuestSequence reference290 = ref span169[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence203 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1006788u, new Vector3(-105.79089f, 27.83778f, -374.3191f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - questSequence203.Steps = list3; - reference290 = questSequence; - ref QuestSequence reference291 = ref span169[2]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence204 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span170 = CollectionsMarshal.AsSpan(list3); - span170[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-152.77162f, 27.317062f, -400.4738f), 146); - span170[1] = new QuestStep(EInteractionType.CompleteQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - }, - NextQuestId = new QuestId(1094) - }; - questSequence204.Steps = list3; - reference291 = questSequence; - questRoot89.QuestSequence = list2; - AddQuest(questId44, questRoot); - QuestId questId45 = new QuestId(1094); - questRoot = new QuestRoot(); - QuestRoot questRoot90 = questRoot; - num = 1; - List list113 = new List(num); - CollectionsMarshal.SetCount(list113, num); - CollectionsMarshal.AsSpan(list113)[0] = "liza"; - questRoot90.Author = list113; - QuestRoot questRoot91 = questRoot; - num = 10; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span171 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference292 = ref span171[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence205 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference293 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - QuestStep questStep98 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions33 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition - { - InSameTerritory = true - }; - SkipAetheryteCondition skipAetheryteCondition23 = skipAetheryteCondition; - num3 = 1; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - CollectionsMarshal.AsSpan(list114)[0] = 133; - skipAetheryteCondition23.InTerritory = list114; - skipConditions33.AetheryteShortcutIf = skipAetheryteCondition; - questStep98.SkipConditions = skipConditions; - reference293 = questStep; - questSequence205.Steps = list3; - reference292 = questSequence; - ref QuestSequence reference294 = ref span171[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence206 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1006725u, new Vector3(446.82983f, -5.306207f, -465.72064f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - questSequence206.Steps = list3; - reference294 = questSequence; - ref QuestSequence reference295 = ref span171[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence207 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference296 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.Combat, 1006789u, new Vector3(503.2882f, -12.351167f, -343.19073f), 156) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - QuestStep questStep99 = questStep; - num3 = 1; - List list115 = new List(num3); - CollectionsMarshal.SetCount(list115, num3); - CollectionsMarshal.AsSpan(list115)[0] = 1948u; - questStep99.KillEnemyDataIds = list115; - reference296 = questStep; - questSequence207.Steps = list3; - reference295 = questSequence; - ref QuestSequence reference297 = ref span171[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence208 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1006789u, new Vector3(503.2882f, -12.351167f, -343.19073f), 156); - questSequence208.Steps = list3; - reference297 = questSequence; - ref QuestSequence reference298 = ref span171[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence209 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference299 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.Combat, 1006790u, new Vector3(496.45215f, -2.546432f, -472.03784f), 156) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - QuestStep questStep100 = questStep; - num3 = 1; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - CollectionsMarshal.AsSpan(list116)[0] = 1948u; - questStep100.KillEnemyDataIds = list116; - reference299 = questStep; - questSequence209.Steps = list3; - reference298 = questSequence; - ref QuestSequence reference300 = ref span171[5]; - questSequence = new QuestSequence - { - Sequence = 5 - }; - QuestSequence questSequence210 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1006790u, new Vector3(496.45215f, -2.546432f, -472.03784f), 156); - questSequence210.Steps = list3; - reference300 = questSequence; - ref QuestSequence reference301 = ref span171[6]; - questSequence = new QuestSequence - { - Sequence = 6 - }; - QuestSequence questSequence211 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span172 = CollectionsMarshal.AsSpan(list3); - span172[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(372.27008f, -4.9949923f, -482.91302f), 156) - { - Fly = true - }; - ref QuestStep reference302 = ref span172[1]; - questStep = new QuestStep(EInteractionType.Combat, 1006791u, new Vector3(373.52563f, -5.242633f, -484.70288f), 156) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - QuestStep questStep101 = questStep; - num3 = 1; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - CollectionsMarshal.AsSpan(list117)[0] = 1948u; - questStep101.KillEnemyDataIds = list117; - reference302 = questStep; - questSequence211.Steps = list3; - reference301 = questSequence; - ref QuestSequence reference303 = ref span171[7]; - questSequence = new QuestSequence - { - Sequence = 7 - }; - QuestSequence questSequence212 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1006791u, new Vector3(373.52563f, -5.242633f, -484.70288f), 156); - questSequence212.Steps = list3; - reference303 = questSequence; - ref QuestSequence reference304 = ref span171[8]; - questSequence = new QuestSequence - { - Sequence = 8 - }; - QuestSequence questSequence213 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1006725u, new Vector3(446.82983f, -5.306207f, -465.72064f), 156) - { - Fly = true - }; - questSequence213.Steps = list3; - reference304 = questSequence; - ref QuestSequence reference305 = ref span171[9]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence214 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span173 = CollectionsMarshal.AsSpan(list3); - span173[0] = new QuestStep(EInteractionType.EquipRecommended, null, null, 156); - span173[1] = new QuestStep(EInteractionType.CompleteQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - }, - NextQuestId = new QuestId(1095) - }; - questSequence214.Steps = list3; - reference305 = questSequence; - questRoot91.QuestSequence = list2; - AddQuest(questId45, questRoot); - QuestId questId46 = new QuestId(1095); - questRoot = new QuestRoot(); - QuestRoot questRoot92 = questRoot; - num = 1; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - CollectionsMarshal.AsSpan(list118)[0] = "liza"; - questRoot92.Author = list118; - QuestRoot questRoot93 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span174 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference306 = ref span174[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence215 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference307 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - QuestStep questStep102 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions34 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition - { - InSameTerritory = true - }; - SkipAetheryteCondition skipAetheryteCondition24 = skipAetheryteCondition; - num3 = 1; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - CollectionsMarshal.AsSpan(list119)[0] = 133; - skipAetheryteCondition24.InTerritory = list119; - skipConditions34.AetheryteShortcutIf = skipAetheryteCondition; - questStep102.SkipConditions = skipConditions; - reference307 = questStep; - questSequence215.Steps = list3; - reference306 = questSequence; - ref QuestSequence reference308 = ref span174[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence216 = questSequence; - num2 = 6; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span175 = CollectionsMarshal.AsSpan(list3); - span175[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(287.2875f, 41.545933f, -200.75758f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.OuterLaNosceaCampOverlook - } - } - }; - span175[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(291.4182f, 41.15416f, -193.03651f), 139) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.OuterLaNosceaCampOverlook - } - } - }; - span175[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(285.82883f, 42.26685f, -203.32939f), 139) - { - TargetTerritoryId = (ushort)180, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.OuterLaNosceaCampOverlook - } - } - }; - span175[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-114.35803f, 64.464615f, -217.34372f), 180) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.OuterLaNosceaCampOverlook - } - } - }; - span175[4] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 180) - { - Aetheryte = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.OuterLaNosceaCampOverlook - } - } - }; - span175[5] = new QuestStep(EInteractionType.SinglePlayerDuty, 1006792u, new Vector3(-378.10333f, 51.61585f, -290.11975f), 180); - questSequence216.Steps = list3; - reference308 = questSequence; - ref QuestSequence reference309 = ref span174[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence217 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1006792u, new Vector3(-378.10333f, 51.61585f, -290.11975f), 180); - questSequence217.Steps = list3; - reference309 = questSequence; - ref QuestSequence reference310 = ref span174[3]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence218 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - }, - NextQuestId = new QuestId(1096) - }; - questSequence218.Steps = list3; - reference310 = questSequence; - questRoot93.QuestSequence = list2; - AddQuest(questId46, questRoot); - QuestId questId47 = new QuestId(1096); - questRoot = new QuestRoot(); - QuestRoot questRoot94 = questRoot; - num = 1; - List list120 = new List(num); - CollectionsMarshal.SetCount(list120, num); - CollectionsMarshal.AsSpan(list120)[0] = "liza"; - questRoot94.Author = list120; - QuestRoot questRoot95 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span176 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference311 = ref span176[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence219 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference312 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - QuestStep questStep103 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions35 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition - { - InSameTerritory = true - }; - SkipAetheryteCondition skipAetheryteCondition25 = skipAetheryteCondition; - num3 = 1; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - CollectionsMarshal.AsSpan(list121)[0] = 133; - skipAetheryteCondition25.InTerritory = list121; - skipConditions35.AetheryteShortcutIf = skipAetheryteCondition; - questStep103.SkipConditions = skipConditions; - reference312 = questStep; - questSequence219.Steps = list3; - reference311 = questSequence; - ref QuestSequence reference313 = ref span176[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence220 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span177 = CollectionsMarshal.AsSpan(list3); - span177[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(494.60034f, -2.1295002f, -484.951f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span177[1] = new QuestStep(EInteractionType.Interact, 1006793u, new Vector3(493.09534f, -2.349111f, -484.61133f), 156); - questSequence220.Steps = list3; - reference313 = questSequence; - ref QuestSequence reference314 = ref span176[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence221 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1006794u, new Vector3(493.09534f, -2.4306269f, -483.6042f), 156); - questSequence221.Steps = list3; - reference314 = questSequence; - ref QuestSequence reference315 = ref span176[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence222 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span178 = CollectionsMarshal.AsSpan(list3); - span178[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(500.36328f, -3.814063f, -770.9911f), 156) - { - Fly = true - }; - span178[1] = new QuestStep(EInteractionType.SinglePlayerDuty, null, new Vector3(504.98605f, -2.5969198f, -780.6112f), 156) - { - Mount = false - }; - questSequence222.Steps = list3; - reference315 = questSequence; - ref QuestSequence reference316 = ref span176[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence223 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1006795u, new Vector3(475.0896f, 5.8291526f, -842.40485f), 156); - questSequence223.Steps = list3; - reference316 = questSequence; - ref QuestSequence reference317 = ref span176[5]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence224 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - questSequence224.Steps = list3; - reference317 = questSequence; - questRoot95.QuestSequence = list2; - AddQuest(questId47, questRoot); - QuestId questId48 = new QuestId(1097); - questRoot = new QuestRoot(); - QuestRoot questRoot96 = questRoot; - num = 1; - List list122 = new List(num); - CollectionsMarshal.SetCount(list122, num); - CollectionsMarshal.AsSpan(list122)[0] = "liza"; - questRoot96.Author = list122; - QuestRoot questRoot97 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span179 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference318 = ref span179[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence225 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span180 = CollectionsMarshal.AsSpan(list3); - span180[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-335.8204f, 12.899764f, 4.017052f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span180[1] = new QuestStep(EInteractionType.AcceptQuest, 1000895u, new Vector3(-335.74432f, 12.899764f, 1.3884888f), 129); - questSequence225.Steps = list3; - reference318 = questSequence; - ref QuestSequence reference319 = ref span179[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence226 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1006757u, new Vector3(-4.4709473f, 44.999886f, -250.56848f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaArcanist, - To = EAetheryteLocation.LimsaMarauder - } - }; - questSequence226.Steps = list3; - reference319 = questSequence; - ref QuestSequence reference320 = ref span179[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence227 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1007835u, new Vector3(-8.011047f, 40.667355f, 192.76721f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport - }; - questSequence227.Steps = list3; - reference320 = questSequence; - ref QuestSequence reference321 = ref span179[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence228 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1007836u, new Vector3(31.3573f, 34.078865f, 222.76636f), 137) - { - StopDistance = 5f - }; - questSequence228.Steps = list3; - reference321 = questSequence; - ref QuestSequence reference322 = ref span179[4]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence229 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006757u, new Vector3(-4.4709473f, 44.999886f, -250.56848f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - }, - NextQuestId = new QuestId(1098) - }; - questSequence229.Steps = list3; - reference322 = questSequence; - questRoot97.QuestSequence = list2; - AddQuest(questId48, questRoot); - QuestId questId49 = new QuestId(1098); - questRoot = new QuestRoot(); - QuestRoot questRoot98 = questRoot; - num = 1; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - CollectionsMarshal.AsSpan(list123)[0] = "liza"; - questRoot98.Author = list123; - QuestRoot questRoot99 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span181 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference323 = ref span181[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence230 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span182 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference324 = ref span182[0]; - questStep = new QuestStep(EInteractionType.EquipItem, null, null, 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - }, - ItemId = 4550u - }; - QuestStep questStep104 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions36 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition - { - InSameTerritory = true - }; - SkipAetheryteCondition skipAetheryteCondition26 = skipAetheryteCondition; - num3 = 1; - List list124 = new List(num3); - CollectionsMarshal.SetCount(list124, num3); - CollectionsMarshal.AsSpan(list124)[0] = 128; - skipAetheryteCondition26.InTerritory = list124; - skipConditions36.AetheryteShortcutIf = skipAetheryteCondition; - questStep104.SkipConditions = skipConditions; - reference324 = questStep; - span182[1] = new QuestStep(EInteractionType.AcceptQuest, 1006757u, new Vector3(-4.4709473f, 44.999886f, -250.56848f), 128); - questSequence230.Steps = list3; - reference323 = questSequence; - ref QuestSequence reference325 = ref span181[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence231 = questSequence; - num2 = 8; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span183 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference326 = ref span183[0]; - questStep = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-337.73785f, 59.519302f, -120.80934f), 180) - { - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - QuestStep questStep105 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions37 = skipConditions; - skipStepConditions = new SkipStepConditions(); - SkipStepConditions skipStepConditions12 = skipStepConditions; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span184 = CollectionsMarshal.AsSpan(list4); - span184[0] = null; - span184[1] = null; - span184[2] = null; - span184[3] = null; - span184[4] = null; - span184[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions12.CompletionQuestVariablesFlags = list4; - skipConditions37.StepIf = skipStepConditions; - skipConditions.AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - questStep105.SkipConditions = skipConditions; - reference326 = questStep; - ref QuestStep reference327 = ref span183[1]; - questStep = new QuestStep(EInteractionType.Interact, 2002380u, new Vector3(-338.8877f, 61.722656f, -120.25641f), 180) - { - IgnoreDistanceToObject = true - }; - QuestStep questStep106 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span185 = CollectionsMarshal.AsSpan(list4); - span185[0] = null; - span185[1] = null; - span185[2] = null; - span185[3] = null; - span185[4] = null; - span185[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep106.CompletionQuestVariablesFlags = list4; - reference327 = questStep; - ref QuestStep reference328 = ref span183[2]; - questStep = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-275.93335f, 64.09534f, -197.701f), 180) - { - Fly = true - }; - QuestStep questStep107 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions38 = skipConditions; - skipStepConditions = new SkipStepConditions(); - SkipStepConditions skipStepConditions13 = skipStepConditions; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span186 = CollectionsMarshal.AsSpan(list4); - span186[0] = null; - span186[1] = null; - span186[2] = null; - span186[3] = null; - span186[4] = null; - span186[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions13.CompletionQuestVariablesFlags = list4; - skipConditions38.StepIf = skipStepConditions; - questStep107.SkipConditions = skipConditions; - reference328 = questStep; - ref QuestStep reference329 = ref span183[3]; - questStep = new QuestStep(EInteractionType.Interact, 2002379u, new Vector3(-274.28094f, 65.81213f, -196.97876f), 180); - QuestStep questStep108 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span187 = CollectionsMarshal.AsSpan(list4); - span187[0] = null; - span187[1] = null; - span187[2] = null; - span187[3] = null; - span187[4] = null; - span187[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep108.CompletionQuestVariablesFlags = list4; - reference329 = questStep; - ref QuestStep reference330 = ref span183[4]; - questStep = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-326.9142f, 64.60336f, -267.98495f), 180) - { - Fly = true - }; - QuestStep questStep109 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions39 = skipConditions; - skipStepConditions = new SkipStepConditions(); - SkipStepConditions skipStepConditions14 = skipStepConditions; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span188 = CollectionsMarshal.AsSpan(list4); - span188[0] = null; - span188[1] = null; - span188[2] = null; - span188[3] = null; - span188[4] = null; - span188[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions14.CompletionQuestVariablesFlags = list4; - skipConditions39.StepIf = skipStepConditions; - questStep109.SkipConditions = skipConditions; - reference330 = questStep; - ref QuestStep reference331 = ref span183[5]; - questStep = new QuestStep(EInteractionType.Interact, 2002382u, new Vector3(-327.87067f, 65.87317f, -267.59753f), 180); - QuestStep questStep110 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span189 = CollectionsMarshal.AsSpan(list4); - span189[0] = null; - span189[1] = null; - span189[2] = null; - span189[3] = null; - span189[4] = null; - span189[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep110.CompletionQuestVariablesFlags = list4; - reference331 = questStep; - ref QuestStep reference332 = ref span183[6]; - questStep = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-360.0172f, 65.166664f, -312.24045f), 180) - { - Fly = true - }; - QuestStep questStep111 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions40 = skipConditions; - skipStepConditions = new SkipStepConditions(); - SkipStepConditions skipStepConditions15 = skipStepConditions; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span190 = CollectionsMarshal.AsSpan(list4); - span190[0] = null; - span190[1] = null; - span190[2] = null; - span190[3] = null; - span190[4] = null; - span190[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions15.CompletionQuestVariablesFlags = list4; - skipConditions40.StepIf = skipStepConditions; - questStep111.SkipConditions = skipConditions; - reference332 = questStep; - ref QuestStep reference333 = ref span183[7]; - questStep = new QuestStep(EInteractionType.Interact, 2002381u, new Vector3(-360.55542f, 66.33093f, -310.87207f), 180); - QuestStep questStep112 = questStep; - num3 = 6; - list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span191 = CollectionsMarshal.AsSpan(list4); - span191[0] = null; - span191[1] = null; - span191[2] = null; - span191[3] = null; - span191[4] = null; - span191[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep112.CompletionQuestVariablesFlags = list4; - reference333 = questStep; - questSequence231.Steps = list3; - reference325 = questSequence; - ref QuestSequence reference334 = ref span181[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence232 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 2002383u, new Vector3(-437.94922f, 51.377075f, -321.24823f), 180) - { - Fly = true - }; - questSequence232.Steps = list3; - reference334 = questSequence; - ref QuestSequence reference335 = ref span181[3]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence233 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006757u, new Vector3(-4.4709473f, 44.999886f, -250.56848f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - }, - NextQuestId = new QuestId(1099) - }; - questSequence233.Steps = list3; - reference335 = questSequence; - questRoot99.QuestSequence = list2; - AddQuest(questId49, questRoot); - QuestId questId50 = new QuestId(1099); - questRoot = new QuestRoot(); - QuestRoot questRoot100 = questRoot; - num = 1; - List list125 = new List(num); - CollectionsMarshal.SetCount(list125, num); - CollectionsMarshal.AsSpan(list125)[0] = "liza"; - questRoot100.Author = list125; - QuestRoot questRoot101 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span192 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference336 = ref span192[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence234 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference337 = ref CollectionsMarshal.AsSpan(list3)[0]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1006757u, new Vector3(-4.4709473f, 44.999886f, -250.56848f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - QuestStep questStep113 = questStep; - skipConditions = new SkipConditions(); - SkipConditions skipConditions41 = skipConditions; - skipAetheryteCondition = new SkipAetheryteCondition - { - InSameTerritory = true - }; - SkipAetheryteCondition skipAetheryteCondition27 = skipAetheryteCondition; - num3 = 1; - List list126 = new List(num3); - CollectionsMarshal.SetCount(list126, num3); - CollectionsMarshal.AsSpan(list126)[0] = 128; - skipAetheryteCondition27.InTerritory = list126; - skipConditions41.AetheryteShortcutIf = skipAetheryteCondition; - questStep113.SkipConditions = skipConditions; - reference337 = questStep; - questSequence234.Steps = list3; - reference336 = questSequence; - ref QuestSequence reference338 = ref span192[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence235 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1007837u, new Vector3(256.82446f, -3.0527449f, 60.9292f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - questSequence235.Steps = list3; - reference338 = questSequence; - ref QuestSequence reference339 = ref span192[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence236 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.Interact, 1007845u, new Vector3(256.33618f, -3.2069032f, 58.091064f), 139) - { - StopDistance = 5f - }; - questSequence236.Steps = list3; - reference339 = questSequence; - ref QuestSequence reference340 = ref span192[3]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence237 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006757u, new Vector3(-4.4709473f, 44.999886f, -250.56848f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - }, - NextQuestId = new QuestId(1100) - }; - questSequence237.Steps = list3; - reference340 = questSequence; - questRoot101.QuestSequence = list2; - AddQuest(questId50, questRoot); - } - - private static void LoadQuests22() - { - QuestId questId = new QuestId(1100); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 8; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference2 = ref CollectionsMarshal.AsSpan(list3)[0]; - QuestStep obj2 = new QuestStep(EInteractionType.AcceptQuest, 1006757u, new Vector3(-4.4709473f, 44.999886f, -250.56848f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition obj3 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - int num3 = 1; - List list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - CollectionsMarshal.AsSpan(list4)[0] = 128; - obj3.InTerritory = list4; - skipConditions.AetheryteShortcutIf = obj3; - obj2.SkipConditions = skipConditions; - reference2 = obj2; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference3 = ref span[1]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - Span span2 = CollectionsMarshal.AsSpan(list5); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-260.8949f, -17.148405f, -346.92633f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - ref QuestStep reference4 = ref span2[1]; - QuestStep obj5 = new QuestStep(EInteractionType.Combat, 2002715u, new Vector3(-259.02197f, -15.762573f, -344.71655f), 156) - { - StopDistance = 4.5f, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - Span span3 = CollectionsMarshal.AsSpan(list6); - span3[0] = 1949u; - span3[1] = 2285u; - obj5.KillEnemyDataIds = list6; - reference4 = obj5; - obj4.Steps = list5; - reference3 = obj4; - ref QuestSequence reference5 = ref span[2]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.Interact, 2002716u, new Vector3(-259.02197f, -15.94574f, -344.71655f), 156) - { - StopDistance = 4.5f - }; - obj6.Steps = list7; - reference5 = obj6; - ref QuestSequence reference6 = ref span[3]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.Interact, 1003818u, new Vector3(157.36621f, 7.7920074f, 98.924194f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - obj7.Steps = list8; - reference6 = obj7; - ref QuestSequence reference7 = ref span[4]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.Interact, 1004093u, new Vector3(-25.162231f, 12.200003f, 110.795654f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahWeaver, - To = EAetheryteLocation.UldahGoldsmith - } - }; - obj8.Steps = list9; - reference7 = obj8; - ref QuestSequence reference8 = ref span[5]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.Interact, 1000691u, new Vector3(71.97681f, 8f, -166.52173f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLeatherworker - } - }; - obj9.Steps = list10; - reference8 = obj9; - ref QuestSequence reference9 = ref span[6]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.Interact, 1000357u, new Vector3(68.314575f, 8.199997f, -170.51965f), 133); - obj10.Steps = list11; - reference9 = obj10; - ref QuestSequence reference10 = ref span[7]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - Span span4 = CollectionsMarshal.AsSpan(list12); - span4[0] = new QuestStep(EInteractionType.EquipItem, 1006757u, new Vector3(-4.4709473f, 44.999886f, -250.56848f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - }, - ItemId = 2905u - }; - span4[1] = new QuestStep(EInteractionType.EquipItem, null, null, 128) - { - ItemId = 3689u - }; - span4[2] = new QuestStep(EInteractionType.EquipItem, null, null, 128) - { - ItemId = 3466u - }; - span4[3] = new QuestStep(EInteractionType.EquipItem, null, null, 128) - { - ItemId = 3897u - }; - span4[4] = new QuestStep(EInteractionType.CompleteQuest, 1006757u, new Vector3(-4.4709473f, 44.999886f, -250.56848f), 128) - { - NextQuestId = new QuestId(1101) - }; - obj11.Steps = list12; - reference10 = obj11; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(1101); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = "liza"; - questRoot2.Author = list13; - num = 5; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - Span span5 = CollectionsMarshal.AsSpan(list14); - ref QuestSequence reference11 = ref span5[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - ref QuestStep reference12 = ref CollectionsMarshal.AsSpan(list15)[0]; - QuestStep obj13 = new QuestStep(EInteractionType.AcceptQuest, 1006757u, new Vector3(-4.4709473f, 44.999886f, -250.56848f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition obj14 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - CollectionsMarshal.AsSpan(list16)[0] = 128; - obj14.InTerritory = list16; - skipConditions2.AetheryteShortcutIf = obj14; - obj13.SkipConditions = skipConditions2; - reference12 = obj13; - obj12.Steps = list15; - reference11 = obj12; - ref QuestSequence reference13 = ref span5[1]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.Interact, 1006332u, new Vector3(426.96265f, 8.373348f, 20.004517f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - obj15.Steps = list17; - reference13 = obj15; - ref QuestSequence reference14 = ref span5[2]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 2 - }; - num2 = 7; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - Span span6 = CollectionsMarshal.AsSpan(list18); - ref QuestStep reference15 = ref span6[0]; - QuestStep obj17 = new QuestStep(EInteractionType.Action, 1007843u, new Vector3(388.08264f, 7.8583374f, 40.512573f), 139) - { - Action = EAction.Esuna - }; - num3 = 6; - List list19 = new List(num3); - CollectionsMarshal.SetCount(list19, num3); - Span span7 = CollectionsMarshal.AsSpan(list19); - span7[0] = null; - span7[1] = null; - span7[2] = null; - span7[3] = null; - span7[4] = null; - span7[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj17.CompletionQuestVariablesFlags = list19; - reference15 = obj17; - ref QuestStep reference16 = ref span6[1]; - QuestStep obj18 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(423.76727f, 4.109605f, 74.008965f), 139) - { - Mount = true - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - Span span8 = CollectionsMarshal.AsSpan(list20); - span8[0] = null; - span8[1] = null; - span8[2] = null; - span8[3] = null; - span8[4] = null; - span8[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list20; - skipConditions3.StepIf = skipStepConditions; - obj18.SkipConditions = skipConditions3; - reference16 = obj18; - ref QuestStep reference17 = ref span6[2]; - QuestStep obj19 = new QuestStep(EInteractionType.Action, 1007844u, new Vector3(417.16638f, 3.6468506f, 59.64746f), 139) - { - Action = EAction.Esuna - }; - num3 = 6; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - Span span9 = CollectionsMarshal.AsSpan(list21); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj19.CompletionQuestVariablesFlags = list21; - reference17 = obj19; - ref QuestStep reference18 = ref span6[3]; - QuestStep obj20 = new QuestStep(EInteractionType.Action, 1007840u, new Vector3(427.2068f, 7.6130996f, 141.34424f), 139) - { - Action = EAction.Esuna - }; - num3 = 6; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - Span span10 = CollectionsMarshal.AsSpan(list22); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj20.CompletionQuestVariablesFlags = list22; - reference18 = obj20; - ref QuestStep reference19 = ref span6[4]; - QuestStep questStep = new QuestStep(EInteractionType.WalkTo, null, new Vector3(477.80576f, 10.397504f, 104.84231f), 139); - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - Span span11 = CollectionsMarshal.AsSpan(list23); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list23; - skipStepConditions2.Flying = ELockedSkipCondition.Unlocked; - skipConditions4.StepIf = skipStepConditions2; - questStep.SkipConditions = skipConditions4; - reference19 = questStep; - ref QuestStep reference20 = ref span6[5]; - QuestStep obj21 = new QuestStep(EInteractionType.Action, 1007842u, new Vector3(477.25635f, 8.499207f, 108.07959f), 139) - { - StopDistance = 0.5f, - Fly = true, - Action = EAction.Esuna - }; - num3 = 6; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - Span span12 = CollectionsMarshal.AsSpan(list24); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj21.CompletionQuestVariablesFlags = list24; - reference20 = obj21; - ref QuestStep reference21 = ref span6[6]; - QuestStep obj22 = new QuestStep(EInteractionType.Action, 1007841u, new Vector3(503.04407f, 16.468494f, 72.46509f), 139) - { - Fly = true, - Action = EAction.Esuna - }; - num3 = 6; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - Span span13 = CollectionsMarshal.AsSpan(list25); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj22.CompletionQuestVariablesFlags = list25; - reference21 = obj22; - obj16.Steps = list18; - reference14 = obj16; - ref QuestSequence reference22 = ref span5[3]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.Interact, 1006332u, new Vector3(426.96265f, 8.373348f, 20.004517f), 139); - obj23.Steps = list26; - reference22 = obj23; - ref QuestSequence reference23 = ref span5[4]; - QuestSequence obj24 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006757u, new Vector3(-4.4709473f, 44.999886f, -250.56848f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - }, - NextQuestId = new QuestId(1102) - }; - obj24.Steps = list27; - reference23 = obj24; - questRoot2.QuestSequence = list14; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(1102); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - CollectionsMarshal.AsSpan(list28)[0] = "liza"; - questRoot3.Author = list28; - num = 4; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - Span span14 = CollectionsMarshal.AsSpan(list29); - ref QuestSequence reference24 = ref span14[0]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - ref QuestStep reference25 = ref CollectionsMarshal.AsSpan(list30)[0]; - QuestStep obj26 = new QuestStep(EInteractionType.AcceptQuest, 1006757u, new Vector3(-4.4709473f, 44.999886f, -250.56848f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipAetheryteCondition obj27 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - CollectionsMarshal.AsSpan(list31)[0] = 128; - obj27.InTerritory = list31; - skipConditions5.AetheryteShortcutIf = obj27; - obj26.SkipConditions = skipConditions5; - reference25 = obj26; - obj25.Steps = list30; - reference24 = obj25; - ref QuestSequence reference26 = ref span14[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1007838u, new Vector3(256.36682f, -3.2069032f, 58.091064f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - obj28.Steps = list32; - reference26 = obj28; - ref QuestSequence reference27 = ref span14[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - Span span15 = CollectionsMarshal.AsSpan(list33); - ref QuestStep reference28 = ref span15[0]; - QuestStep obj30 = new QuestStep(EInteractionType.Interact, 1007838u, new Vector3(256.36682f, -3.2069032f, 58.091064f), 139) - { - StopDistance = 5f - }; - num3 = 6; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - Span span16 = CollectionsMarshal.AsSpan(list34); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj30.CompletionQuestVariablesFlags = list34; - reference28 = obj30; - ref QuestStep reference29 = ref span15[1]; - QuestStep obj31 = new QuestStep(EInteractionType.Interact, 1007846u, new Vector3(262.80603f, -2.852741f, 63.1875f), 139) - { - StopDistance = 5f - }; - num3 = 6; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - Span span17 = CollectionsMarshal.AsSpan(list35); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj31.CompletionQuestVariablesFlags = list35; - reference29 = obj31; - ref QuestStep reference30 = ref span15[2]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1007847u, new Vector3(257.98413f, -3.4f, 49.05774f), 139); - num3 = 6; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - Span span18 = CollectionsMarshal.AsSpan(list36); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list36; - reference30 = questStep2; - obj29.Steps = list33; - reference27 = obj29; - ref QuestSequence reference31 = ref span14[3]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.CompleteQuest, 1007849u, new Vector3(231.79968f, 5.18473f, 61.142822f), 139) - { - NextQuestId = new QuestId(1671) - }; - obj32.Steps = list37; - reference31 = obj32; - questRoot3.QuestSequence = list29; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(1103); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - CollectionsMarshal.AsSpan(list38)[0] = "liza"; - questRoot4.Author = list38; - num = 3; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - Span span19 = CollectionsMarshal.AsSpan(list39); - ref QuestSequence reference32 = ref span19[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj33.Steps = list40; - reference32 = obj33; - ref QuestSequence reference33 = ref span19[1]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - ref QuestStep reference34 = ref CollectionsMarshal.AsSpan(list41)[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1005199u, new Vector3(-348.3177f, -2.3744698f, 11.917236f), 129); - num3 = 1; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - CollectionsMarshal.AsSpan(list42)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CLSACN149_01103_Q1_000_000"), - Answer = new ExcelRef("TEXT_CLSACN149_01103_A1_000_000") - }; - questStep3.DialogueChoices = list42; - reference34 = questStep3; - obj34.Steps = list41; - reference33 = obj34; - ref QuestSequence reference35 = ref span19[2]; - QuestSequence obj35 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129) - { - NextQuestId = new QuestId(458) - }; - obj35.Steps = list43; - reference35 = obj35; - questRoot4.QuestSequence = list39; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(1104); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - CollectionsMarshal.AsSpan(list44)[0] = "liza"; - questRoot5.Author = list44; - num = 2; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - Span span20 = CollectionsMarshal.AsSpan(list45); - ref QuestSequence reference36 = ref span20[0]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003281u, new Vector3(97.520386f, 40.248554f, 81.1322f), 128); - obj36.Steps = list46; - reference36 = obj36; - ref QuestSequence reference37 = ref span20[1]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - Span span21 = CollectionsMarshal.AsSpan(list47); - span21[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(152.25397f, 14.095841f, 668.4288f), 135) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.LimsaTempestGate - } - }; - span21[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 135) - { - Aetheryte = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }; - span21[2] = new QuestStep(EInteractionType.Interact, 1002484u, new Vector3(270.71033f, 4.4031205f, 719.9968f), 135) - { - TargetTerritoryId = (ushort)250 - }; - span21[3] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 250) - { - Aetheryte = EAetheryteLocation.WolvesDenPier - }; - span21[4] = new QuestStep(EInteractionType.CompleteQuest, 1005184u, new Vector3(0.015197754f, 3.5836844f, -30.380737f), 250); - obj37.Steps = list47; - reference37 = obj37; - questRoot5.QuestSequence = list45; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(1105); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - CollectionsMarshal.AsSpan(list48)[0] = "liza"; - questRoot6.Author = list48; - num = 2; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - Span span22 = CollectionsMarshal.AsSpan(list49); - ref QuestSequence reference38 = ref span22[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132); - obj38.Steps = list50; - reference38 = obj38; - ref QuestSequence reference39 = ref span22[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - Span span23 = CollectionsMarshal.AsSpan(list51); - span23[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(152.25397f, 14.095841f, 668.4288f), 135) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaTempestGate - } - }; - span23[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 135) - { - Aetheryte = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }; - span23[2] = new QuestStep(EInteractionType.Interact, 1002484u, new Vector3(270.71033f, 4.4031205f, 719.9968f), 135) - { - TargetTerritoryId = (ushort)250 - }; - span23[3] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 250) - { - Aetheryte = EAetheryteLocation.WolvesDenPier - }; - span23[4] = new QuestStep(EInteractionType.CompleteQuest, 1005184u, new Vector3(0.015197754f, 3.5836844f, -30.380737f), 250); - obj39.Steps = list51; - reference39 = obj39; - questRoot6.QuestSequence = list49; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(1106); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - CollectionsMarshal.AsSpan(list52)[0] = "liza"; - questRoot7.Author = list52; - num = 2; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - Span span24 = CollectionsMarshal.AsSpan(list53); - ref QuestSequence reference40 = ref span24[0]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.AcceptQuest, 1004576u, new Vector3(-141.64954f, 4.1f, -114.67157f), 130); - obj40.Steps = list54; - reference40 = obj40; - ref QuestSequence reference41 = ref span24[1]; - QuestSequence obj41 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - Span span25 = CollectionsMarshal.AsSpan(list55); - span25[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(152.25397f, 14.095841f, 668.4288f), 135) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaTempestGate - } - }; - span25[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 135) - { - Aetheryte = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }; - span25[2] = new QuestStep(EInteractionType.Interact, 1002484u, new Vector3(270.71033f, 4.4031205f, 719.9968f), 135) - { - TargetTerritoryId = (ushort)250 - }; - span25[3] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 250) - { - Aetheryte = EAetheryteLocation.WolvesDenPier - }; - span25[4] = new QuestStep(EInteractionType.CompleteQuest, 1005184u, new Vector3(0.015197754f, 3.5836844f, -30.380737f), 250); - obj41.Steps = list55; - reference41 = obj41; - questRoot7.QuestSequence = list53; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(1107); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - CollectionsMarshal.AsSpan(list56)[0] = "Cacahuetes"; - questRoot8.Author = list56; - num = 2; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - Span span26 = CollectionsMarshal.AsSpan(list57); - ref QuestSequence reference42 = ref span26[0]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000859u, new Vector3(-166.76587f, 4.5496645f, 150.04187f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj42.Steps = list58; - reference42 = obj42; - ref QuestSequence reference43 = ref span26[1]; - QuestSequence obj43 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - Span span27 = CollectionsMarshal.AsSpan(list59); - span27[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-171.50569f, 4.550004f, 157.5545f), 129); - ref QuestStep reference44 = ref span27[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.CompleteQuest, 1000857u, new Vector3(-165.27051f, 5.2500057f, 164.29382f), 129); - num3 = 1; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - CollectionsMarshal.AsSpan(list60)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSFSH011_01107_Q1_000_001") - }; - questStep4.DialogueChoices = list60; - questStep4.NextQuestId = new QuestId(1108); - reference44 = questStep4; - obj43.Steps = list59; - reference43 = obj43; - questRoot8.QuestSequence = list57; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(1108); - QuestRoot questRoot9 = new QuestRoot(); - num = 2; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - Span span28 = CollectionsMarshal.AsSpan(list61); - span28[0] = "Cacahuetes"; - span28[1] = "Friendly"; - questRoot9.Author = list61; - num = 2; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - Span span29 = CollectionsMarshal.AsSpan(list62); - ref QuestSequence reference45 = ref span29[0]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - Span span30 = CollectionsMarshal.AsSpan(list63); - span30[0] = new QuestStep(EInteractionType.EquipItem, null, null, 129) - { - ItemId = 2571u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span30[1] = new QuestStep(EInteractionType.EquipRecommended, null, null, 129); - span30[2] = new QuestStep(EInteractionType.AcceptQuest, 1000857u, new Vector3(-165.27051f, 5.2500057f, 164.29382f), 129); - obj44.Steps = list63; - reference45 = obj44; - ref QuestSequence reference46 = ref span29[1]; - QuestSequence obj45 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - Span span31 = CollectionsMarshal.AsSpan(list64); - span31[0] = new QuestStep(EInteractionType.PurchaseItem, 1001016u, new Vector3(-42.679565f, 39.999947f, 119.920654f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.LimsaAftcastle - }, - ItemId = 4870u, - ItemCount = 5, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - }, - PurchaseMenu = new PurchaseMenu - { - ExcelSheet = "GilShop", - Key = new ExcelRef(262186u) - } - }; - span31[1] = new QuestStep(EInteractionType.CompleteQuest, 1000857u, new Vector3(-165.27051f, 5.2500057f, 164.29382f), 129) - { - Comment = "Complete quest", - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.LimsaFisher - }, - NextQuestId = new QuestId(3843) - }; - obj45.Steps = list64; - reference46 = obj45; - questRoot9.QuestSequence = list62; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(1127); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - CollectionsMarshal.AsSpan(list65)[0] = "pot0to"; - questRoot10.Author = list65; - num = 20; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - Span span32 = CollectionsMarshal.AsSpan(list66); - ref QuestSequence reference47 = ref span32[0]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003075u, new Vector3(440.7262f, -0.9374562f, -62.21112f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj46.Steps = list67; - reference47 = obj46; - ref QuestSequence reference48 = ref span32[1]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Interact, 2002499u, new Vector3(-319.17297f, -36.636963f, -278.73657f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - obj47.Steps = list68; - reference48 = obj47; - ref QuestSequence reference49 = ref span32[2]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1003075u, new Vector3(440.7262f, -0.9374562f, -62.21112f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj48.Steps = list69; - reference49 = obj48; - ref QuestSequence reference50 = ref span32[3]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - Span span33 = CollectionsMarshal.AsSpan(list70); - span33[0] = new QuestStep(EInteractionType.WaitForManualProgress, 1003075u, new Vector3(440.7262f, -0.9374562f, -62.21112f), 154) - { - Fly = true, - Comment = "Craft/purchase off marketboard an erudite's picatrix of healing and meld 2 grade 3 quicktongue materia to it." - }; - span33[1] = new QuestStep(EInteractionType.Interact, 1003075u, new Vector3(440.7262f, -0.9374562f, -62.21112f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj49.Steps = list70; - reference50 = obj49; - ref QuestSequence reference51 = ref span32[4]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.Duty, null, null, 154) - { - Fly = true, - Comment = "Queue for A Relic Reborn: The Chimera", - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 74u - } - }; - obj50.Steps = list71; - reference51 = obj50; - ref QuestSequence reference52 = ref span32[5]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - Span span34 = CollectionsMarshal.AsSpan(list72); - span34[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(437.6279f, -3.1627378f, -67.35514f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span34[1] = new QuestStep(EInteractionType.Interact, 1003075u, new Vector3(440.7262f, -0.9374562f, -62.21112f), 154); - obj51.Steps = list72; - reference52 = obj51; - ref QuestSequence reference53 = ref span32[6]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.Interact, 1001304u, new Vector3(25.589355f, 29f, -825.37573f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj52.Steps = list73; - reference53 = obj52; - ref QuestSequence reference54 = ref span32[7]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.Duty, null, null, 154) - { - Fly = true, - Comment = "Queue for Amdapor Keep", - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 14u - } - }; - obj53.Steps = list74; - reference54 = obj53; - ref QuestSequence reference55 = ref span32[8]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.Interact, 1001304u, new Vector3(25.589355f, 29f, -825.37573f), 156); - obj54.Steps = list75; - reference55 = obj54; - ref QuestSequence reference56 = ref span32[9]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 9 - }; - num2 = 2; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - Span span35 = CollectionsMarshal.AsSpan(list76); - span35[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(437.6279f, -3.1627378f, -67.35514f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span35[1] = new QuestStep(EInteractionType.Interact, 1003075u, new Vector3(440.7262f, -0.9374562f, -62.21112f), 154); - obj55.Steps = list76; - reference56 = obj55; - ref QuestSequence reference57 = ref span32[10]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 10 - }; - num2 = 2; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - Span span36 = CollectionsMarshal.AsSpan(list77); - span36[0] = new QuestStep(EInteractionType.EquipItem, null, null, 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - ItemId = 2192u, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - ref QuestStep reference58 = ref span36[1]; - QuestStep obj57 = new QuestStep(EInteractionType.Combat, 768u, new Vector3(-317.9305f, -39.35494f, -298.3956f), 138) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 3; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - Span span37 = CollectionsMarshal.AsSpan(list78); - span37[0] = 766u; - span37[1] = 767u; - span37[2] = 768u; - obj57.KillEnemyDataIds = list78; - num3 = 6; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - Span span38 = CollectionsMarshal.AsSpan(list79); - span38[0] = new QuestWorkValue(null, (byte)8, EQuestWorkMode.Bitwise); - span38[1] = new QuestWorkValue((byte)8, (byte)8, EQuestWorkMode.Bitwise); - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = null; - obj57.CompletionQuestVariablesFlags = list79; - reference58 = obj57; - obj56.Steps = list77; - reference57 = obj56; - ref QuestSequence reference59 = ref span32[11]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 11 - }; - num2 = 2; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - Span span39 = CollectionsMarshal.AsSpan(list80); - span39[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(437.6279f, -3.1627378f, -67.35514f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span39[1] = new QuestStep(EInteractionType.Interact, 1003075u, new Vector3(440.7262f, -0.9374562f, -62.21112f), 154); - obj58.Steps = list80; - reference59 = obj58; - ref QuestSequence reference60 = ref span32[12]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 12 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.Duty, null, null, 154) - { - Comment = "Queue for A Relic Reborn: The Hydra", - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 75u - } - }; - obj59.Steps = list81; - reference60 = obj59; - ref QuestSequence reference61 = ref span32[13]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 13 - }; - num2 = 2; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - Span span40 = CollectionsMarshal.AsSpan(list82); - span40[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(437.6279f, -3.1627378f, -67.35514f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span40[1] = new QuestStep(EInteractionType.Interact, 1003075u, new Vector3(440.7262f, -0.9374562f, -62.21112f), 154); - obj60.Steps = list82; - reference61 = obj60; - ref QuestSequence reference62 = ref span32[14]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 14 - }; - num2 = 2; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - Span span41 = CollectionsMarshal.AsSpan(list83); - span41[0] = new QuestStep(EInteractionType.EquipRecommended, null, null, 154); - span41[1] = new QuestStep(EInteractionType.Interact, 1003075u, new Vector3(440.7262f, -0.9374562f, -62.21112f), 154); - obj61.Steps = list83; - reference62 = obj61; - ref QuestSequence reference63 = ref span32[15]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 15 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.Duty, null, null, 154) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 59u - } - }; - obj62.Steps = list84; - reference63 = obj62; - ref QuestSequence reference64 = ref span32[16]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 16 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.Duty, null, null, 154) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 61u - } - }; - obj63.Steps = list85; - reference64 = obj63; - ref QuestSequence reference65 = ref span32[17]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 17 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.Duty, null, null, 154) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 60u - } - }; - obj64.Steps = list86; - reference65 = obj64; - ref QuestSequence reference66 = ref span32[18]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 18 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.Interact, 1003075u, new Vector3(440.7262f, -0.9374562f, -62.21112f), 154); - obj65.Steps = list87; - reference66 = obj65; - ref QuestSequence reference67 = ref span32[19]; - QuestSequence obj66 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - Span span42 = CollectionsMarshal.AsSpan(list88); - span42[0] = new QuestStep(EInteractionType.PurchaseItem, 1008119u, new Vector3(62.333008f, 31.28805f, -739.98627f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - ItemId = 6267u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span42[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(437.6279f, -3.1627378f, -67.35514f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span42[2] = new QuestStep(EInteractionType.CompleteQuest, 1003075u, new Vector3(440.7262f, -0.9374562f, -62.21112f), 154); - obj66.Steps = list88; - reference67 = obj66; - questRoot10.QuestSequence = list66; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(1128); - QuestRoot questRoot11 = new QuestRoot(); - num = 2; - List list89 = new List(num); - CollectionsMarshal.SetCount(list89, num); - Span span43 = CollectionsMarshal.AsSpan(list89); - span43[0] = "liza"; - span43[1] = "Friendly"; - questRoot11.Author = list89; - num = 4; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - Span span44 = CollectionsMarshal.AsSpan(list90); - ref QuestSequence reference68 = ref span44[0]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - ref QuestStep reference69 = ref CollectionsMarshal.AsSpan(list91)[0]; - QuestStep obj68 = new QuestStep(EInteractionType.AcceptQuest, 1003281u, new Vector3(97.520386f, 40.248554f, 81.1322f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipAetheryteCondition obj69 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - CollectionsMarshal.AsSpan(list92)[0] = 128; - obj69.InTerritory = list92; - skipConditions6.AetheryteShortcutIf = obj69; - skipConditions6.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj68.SkipConditions = skipConditions6; - reference69 = obj68; - obj67.Steps = list91; - reference68 = obj67; - ref QuestSequence reference70 = ref span44[1]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.Interact, 1006516u, new Vector3(-82.68872f, 233.23743f, 317.1892f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj70.Steps = list93; - reference70 = obj70; - ref QuestSequence reference71 = ref span44[2]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Duty, null, null, 155) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 13u - } - }; - obj71.Steps = list94; - reference71 = obj71; - ref QuestSequence reference72 = ref span44[3]; - QuestSequence obj72 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003281u, new Vector3(97.520386f, 40.248554f, 81.1322f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj72.Steps = list95; - reference72 = obj72; - questRoot11.QuestSequence = list90; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(1129); - QuestRoot questRoot12 = new QuestRoot(); - num = 2; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - Span span45 = CollectionsMarshal.AsSpan(list96); - span45[0] = "liza"; - span45[1] = "Friendly"; - questRoot12.Author = list96; - num = 4; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - Span span46 = CollectionsMarshal.AsSpan(list97); - ref QuestSequence reference73 = ref span46[0]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj73.Steps = list98; - reference73 = obj73; - ref QuestSequence reference74 = ref span46[1]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 1006516u, new Vector3(-82.68872f, 233.23743f, 317.1892f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj74.Steps = list99; - reference74 = obj74; - ref QuestSequence reference75 = ref span46[2]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.Duty, null, null, 155) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 13u - } - }; - obj75.Steps = list100; - reference75 = obj75; - ref QuestSequence reference76 = ref span46[3]; - QuestSequence obj76 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj76.Steps = list101; - reference76 = obj76; - questRoot12.QuestSequence = list97; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(1130); - QuestRoot questRoot13 = new QuestRoot(); - num = 2; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - Span span47 = CollectionsMarshal.AsSpan(list102); - span47[0] = "liza"; - span47[1] = "Friendly"; - questRoot13.Author = list102; - num = 4; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - Span span48 = CollectionsMarshal.AsSpan(list103); - ref QuestSequence reference77 = ref span48[0]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.AcceptQuest, 1004576u, new Vector3(-141.64954f, 4.1f, -114.67157f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj77.Steps = list104; - reference77 = obj77; - ref QuestSequence reference78 = ref span48[1]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 1006516u, new Vector3(-82.68872f, 233.23743f, 317.1892f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj78.Steps = list105; - reference78 = obj78; - ref QuestSequence reference79 = ref span48[2]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.Duty, null, null, 155) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 13u - } - }; - obj79.Steps = list106; - reference79 = obj79; - ref QuestSequence reference80 = ref span48[3]; - QuestSequence obj80 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.CompleteQuest, 1004576u, new Vector3(-141.64954f, 4.1f, -114.67157f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - obj80.Steps = list107; - reference80 = obj80; - questRoot13.QuestSequence = list103; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(1131); - QuestRoot questRoot14 = new QuestRoot(); - num = 2; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - Span span49 = CollectionsMarshal.AsSpan(list108); - span49[0] = "liza"; - span49[1] = "Friendly"; - questRoot14.Author = list108; - num = 4; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - Span span50 = CollectionsMarshal.AsSpan(list109); - ref QuestSequence reference81 = ref span50[0]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - ref QuestStep reference82 = ref CollectionsMarshal.AsSpan(list110)[0]; - QuestStep obj82 = new QuestStep(EInteractionType.AcceptQuest, 1003281u, new Vector3(97.520386f, 40.248554f, 81.1322f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipAetheryteCondition obj83 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list111 = new List(num3); - CollectionsMarshal.SetCount(list111, num3); - CollectionsMarshal.AsSpan(list111)[0] = 128; - obj83.InTerritory = list111; - skipConditions7.AetheryteShortcutIf = obj83; - skipConditions7.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj82.SkipConditions = skipConditions7; - reference82 = obj82; - obj81.Steps = list110; - reference81 = obj81; - ref QuestSequence reference83 = ref span50[1]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span51 = CollectionsMarshal.AsSpan(list112); - ref QuestStep reference84 = ref span51[0]; - QuestStep obj85 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(123.6f, 31.6f, -768.8f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - CollectionsMarshal.AsSpan(list113)[0] = 155; - skipStepConditions3.InTerritory = list113; - skipStepConditions3.AetheryteLocked = EAetheryteLocation.MorDhona; - skipConditions8.StepIf = skipStepConditions3; - SkipAetheryteCondition obj86 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - CollectionsMarshal.AsSpan(list114)[0] = 155; - obj86.InTerritory = list114; - obj86.AetheryteLocked = EAetheryteLocation.MorDhona; - skipConditions8.AetheryteShortcutIf = obj86; - obj85.SkipConditions = skipConditions8; - reference84 = obj85; - ref QuestStep reference85 = ref span51[1]; - QuestStep obj87 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(129.3f, 31.71f, -774.87f), 156) - { - TargetTerritoryId = (ushort)155 - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 1; - List list115 = new List(num3); - CollectionsMarshal.SetCount(list115, num3); - CollectionsMarshal.AsSpan(list115)[0] = 155; - skipStepConditions4.InTerritory = list115; - skipStepConditions4.AetheryteLocked = EAetheryteLocation.MorDhona; - skipConditions9.StepIf = skipStepConditions4; - obj87.SkipConditions = skipConditions9; - reference85 = obj87; - span51[2] = new QuestStep(EInteractionType.Interact, 1007625u, new Vector3(-354.1772f, 214.60808f, 692.65283f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj84.Steps = list112; - reference83 = obj84; - ref QuestSequence reference86 = ref span50[2]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.Duty, null, null, 155) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 5u - } - }; - obj88.Steps = list116; - reference86 = obj88; - ref QuestSequence reference87 = ref span50[3]; - QuestSequence obj89 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003281u, new Vector3(97.520386f, 40.248554f, 81.1322f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj89.Steps = list117; - reference87 = obj89; - questRoot14.QuestSequence = list109; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(1132); - QuestRoot questRoot15 = new QuestRoot(); - num = 2; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - Span span52 = CollectionsMarshal.AsSpan(list118); - span52[0] = "liza"; - span52[1] = "Friendly"; - questRoot15.Author = list118; - num = 4; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - Span span53 = CollectionsMarshal.AsSpan(list119); - ref QuestSequence reference88 = ref span53[0]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj90.Steps = list120; - reference88 = obj90; - ref QuestSequence reference89 = ref span53[1]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - Span span54 = CollectionsMarshal.AsSpan(list121); - ref QuestStep reference90 = ref span54[0]; - QuestStep obj92 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(123.6f, 31.6f, -768.8f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 1; - List list122 = new List(num3); - CollectionsMarshal.SetCount(list122, num3); - CollectionsMarshal.AsSpan(list122)[0] = 155; - skipStepConditions5.InTerritory = list122; - skipStepConditions5.AetheryteLocked = EAetheryteLocation.MorDhona; - skipConditions10.StepIf = skipStepConditions5; - SkipAetheryteCondition obj93 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - CollectionsMarshal.AsSpan(list123)[0] = 155; - obj93.InTerritory = list123; - obj93.AetheryteLocked = EAetheryteLocation.MorDhona; - skipConditions10.AetheryteShortcutIf = obj93; - obj92.SkipConditions = skipConditions10; - reference90 = obj92; - ref QuestStep reference91 = ref span54[1]; - QuestStep obj94 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(129.3f, 31.71f, -774.87f), 156) - { - TargetTerritoryId = (ushort)155 - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 1; - List list124 = new List(num3); - CollectionsMarshal.SetCount(list124, num3); - CollectionsMarshal.AsSpan(list124)[0] = 155; - skipStepConditions6.InTerritory = list124; - skipStepConditions6.AetheryteLocked = EAetheryteLocation.MorDhona; - skipConditions11.StepIf = skipStepConditions6; - obj94.SkipConditions = skipConditions11; - reference91 = obj94; - span54[2] = new QuestStep(EInteractionType.Interact, 1007625u, new Vector3(-354.1772f, 214.60808f, 692.65283f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj91.Steps = list121; - reference89 = obj91; - ref QuestSequence reference92 = ref span53[2]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.Duty, null, null, 155) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 5u - } - }; - obj95.Steps = list125; - reference92 = obj95; - ref QuestSequence reference93 = ref span53[3]; - QuestSequence obj96 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj96.Steps = list126; - reference93 = obj96; - questRoot15.QuestSequence = list119; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(1133); - QuestRoot questRoot16 = new QuestRoot(); - num = 2; - List list127 = new List(num); - CollectionsMarshal.SetCount(list127, num); - Span span55 = CollectionsMarshal.AsSpan(list127); - span55[0] = "liza"; - span55[1] = "Friendly"; - questRoot16.Author = list127; - num = 4; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - Span span56 = CollectionsMarshal.AsSpan(list128); - ref QuestSequence reference94 = ref span56[0]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.AcceptQuest, 1004576u, new Vector3(-141.64954f, 4.1f, -114.67157f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj97.Steps = list129; - reference94 = obj97; - ref QuestSequence reference95 = ref span56[1]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - Span span57 = CollectionsMarshal.AsSpan(list130); - ref QuestStep reference96 = ref span57[0]; - QuestStep obj99 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(123.6f, 31.6f, -768.8f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - SkipConditions skipConditions12 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 1; - List list131 = new List(num3); - CollectionsMarshal.SetCount(list131, num3); - CollectionsMarshal.AsSpan(list131)[0] = 155; - skipStepConditions7.InTerritory = list131; - skipStepConditions7.AetheryteLocked = EAetheryteLocation.MorDhona; - skipConditions12.StepIf = skipStepConditions7; - SkipAetheryteCondition obj100 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - CollectionsMarshal.AsSpan(list132)[0] = 155; - obj100.InTerritory = list132; - obj100.AetheryteLocked = EAetheryteLocation.MorDhona; - skipConditions12.AetheryteShortcutIf = obj100; - obj99.SkipConditions = skipConditions12; - reference96 = obj99; - ref QuestStep reference97 = ref span57[1]; - QuestStep obj101 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(129.3f, 31.71f, -774.87f), 156) - { - TargetTerritoryId = (ushort)155 - }; - SkipConditions skipConditions13 = new SkipConditions(); - SkipStepConditions skipStepConditions8 = new SkipStepConditions(); - num3 = 1; - List list133 = new List(num3); - CollectionsMarshal.SetCount(list133, num3); - CollectionsMarshal.AsSpan(list133)[0] = 155; - skipStepConditions8.InTerritory = list133; - skipStepConditions8.AetheryteLocked = EAetheryteLocation.MorDhona; - skipConditions13.StepIf = skipStepConditions8; - obj101.SkipConditions = skipConditions13; - reference97 = obj101; - span57[2] = new QuestStep(EInteractionType.Interact, 1007625u, new Vector3(-354.1772f, 214.60808f, 692.65283f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj98.Steps = list130; - reference95 = obj98; - ref QuestSequence reference98 = ref span56[2]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.Duty, null, null, 155) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 5u - } - }; - obj102.Steps = list134; - reference98 = obj102; - ref QuestSequence reference99 = ref span56[3]; - QuestSequence obj103 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.CompleteQuest, 1004576u, new Vector3(-141.64954f, 4.1f, -114.67157f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - obj103.Steps = list135; - reference99 = obj103; - questRoot16.QuestSequence = list128; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(1134); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list136 = new List(num); - CollectionsMarshal.SetCount(list136, num); - CollectionsMarshal.AsSpan(list136)[0] = "Cacahuetes"; - questRoot17.Author = list136; - num = 1; - List list137 = new List(num); - CollectionsMarshal.SetCount(list137, num); - ref QuestSequence reference100 = ref CollectionsMarshal.AsSpan(list137)[0]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - Span span58 = CollectionsMarshal.AsSpan(list138); - ref QuestStep reference101 = ref span58[0]; - QuestStep obj105 = new QuestStep(EInteractionType.Interact, 1000859u, new Vector3(-166.76587f, 4.5496645f, 150.04187f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - } - }; - num3 = 1; - List list139 = new List(num3); - CollectionsMarshal.SetCount(list139, num3); - CollectionsMarshal.AsSpan(list139)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSFSH001_01134_Q1_000_1") - }; - obj105.DialogueChoices = list139; - reference101 = obj105; - span58[1] = new QuestStep(EInteractionType.AcceptQuest, 1000859u, new Vector3(-166.76587f, 4.5496645f, 150.04187f), 129); - obj104.Steps = list138; - reference100 = obj104; - questRoot17.QuestSequence = list137; - AddQuest(questId17, questRoot17); - } - - private static void LoadQuests23() - { - QuestId questId = new QuestId(1157); - QuestRoot questRoot = new QuestRoot(); - int num = 2; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - Span span = CollectionsMarshal.AsSpan(list); - span[0] = "JerryWester"; - span[1] = "Wigglez"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span2 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span2[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 4; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span3 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference2 = ref span3[0]; - QuestStep obj2 = new QuestStep(EInteractionType.UseItem, null, null, 146) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - int num3 = 1; - List list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - CollectionsMarshal.AsSpan(list4)[0] = 212; - skipStepConditions.InTerritory = list4; - skipConditions.StepIf = skipStepConditions; - obj2.SkipConditions = skipConditions; - reference2 = obj2; - ref QuestStep reference3 = ref span3[1]; - QuestStep questStep = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = 212; - skipStepConditions2.InTerritory = list5; - skipConditions2.StepIf = skipStepConditions2; - questStep.SkipConditions = skipConditions2; - reference3 = questStep; - ref QuestStep reference4 = ref span3[2]; - QuestStep obj3 = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - CollectionsMarshal.AsSpan(list6)[0] = 212; - skipStepConditions3.InTerritory = list6; - skipConditions3.StepIf = skipStepConditions3; - obj3.SkipConditions = skipConditions3; - reference4 = obj3; - span3[3] = new QuestStep(EInteractionType.AcceptQuest, 1007531u, new Vector3(0.16778564f, -3.0000012f, -52.71997f), 212); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference5 = ref span2[1]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.Interact, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj4.Steps = list7; - reference5 = obj4; - ref QuestSequence reference6 = ref span2[2]; - QuestSequence obj5 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - Span span4 = CollectionsMarshal.AsSpan(list8); - ref QuestStep reference7 = ref span4[0]; - QuestStep obj6 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(649.43243f, 290.48322f, 175.73515f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 1; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - CollectionsMarshal.AsSpan(list9)[0] = 155; - skipStepConditions4.InTerritory = list9; - skipConditions4.StepIf = skipStepConditions4; - obj6.SkipConditions = skipConditions4; - reference7 = obj6; - span4[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(640.5904f, 287.48422f, 175.69055f), 155) - { - Fly = true - }; - span4[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(640.5904f, 287.48422f, 175.69055f), 155) - { - Mount = false - }; - span4[3] = new QuestStep(EInteractionType.CompleteQuest, 2002582u, new Vector3(649.7748f, 292.4391f, 175.34143f), 155); - obj5.Steps = list8; - reference6 = obj5; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(1158); - QuestRoot questRoot2 = new QuestRoot(); - num = 2; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - Span span5 = CollectionsMarshal.AsSpan(list10); - span5[0] = "JerryWester"; - span5[1] = "Wigglez"; - questRoot2.Author = list10; - num = 3; - List list11 = new List(num); - CollectionsMarshal.SetCount(list11, num); - Span span6 = CollectionsMarshal.AsSpan(list11); - ref QuestSequence reference8 = ref span6[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 4; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - Span span7 = CollectionsMarshal.AsSpan(list12); - ref QuestStep reference9 = ref span7[0]; - QuestStep obj8 = new QuestStep(EInteractionType.UseItem, null, null, 146) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 1; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - CollectionsMarshal.AsSpan(list13)[0] = 212; - skipStepConditions5.InTerritory = list13; - skipConditions5.StepIf = skipStepConditions5; - obj8.SkipConditions = skipConditions5; - reference9 = obj8; - ref QuestStep reference10 = ref span7[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 1; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - CollectionsMarshal.AsSpan(list14)[0] = 212; - skipStepConditions6.InTerritory = list14; - skipConditions6.StepIf = skipStepConditions6; - questStep2.SkipConditions = skipConditions6; - reference10 = questStep2; - ref QuestStep reference11 = ref span7[2]; - QuestStep obj9 = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 1; - List list15 = new List(num3); - CollectionsMarshal.SetCount(list15, num3); - CollectionsMarshal.AsSpan(list15)[0] = 212; - skipStepConditions7.InTerritory = list15; - skipConditions7.StepIf = skipStepConditions7; - obj9.SkipConditions = skipConditions7; - reference11 = obj9; - span7[3] = new QuestStep(EInteractionType.AcceptQuest, 1007533u, new Vector3(-0.80877686f, -3f, -47.80658f), 212); - obj7.Steps = list12; - reference8 = obj7; - ref QuestSequence reference12 = ref span6[1]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.Interact, 1003281u, new Vector3(97.520386f, 40.248554f, 81.1322f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj10.Steps = list16; - reference12 = obj10; - ref QuestSequence reference13 = ref span6[2]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 12; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - Span span8 = CollectionsMarshal.AsSpan(list17); - span8[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(287.2875f, 41.545933f, -200.75758f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - span8[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(285.82883f, 42.26685f, -203.32939f), 139) - { - TargetTerritoryId = (ushort)180 - }; - span8[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-114.35803f, 64.464615f, -217.34372f), 180) - { - Fly = true - }; - span8[3] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 180) - { - Aetheryte = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - span8[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(71.55255f, 59.83099f, -516.4647f), 180) - { - Fly = true - }; - span8[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(111.7023f, 28.568699f, -611.7063f), 180) - { - Fly = true - }; - span8[6] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(84.102905f, 28.170393f, -716.35504f), 180) - { - Fly = true - }; - span8[7] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(161.06644f, 26.61216f, -712.6371f), 180) - { - Fly = true - }; - span8[8] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(176.3917f, 29.076319f, -652.8805f), 180) - { - Fly = true - }; - span8[9] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(143.06934f, 23.642702f, -656.43506f), 180) - { - Fly = true - }; - ref QuestStep reference14 = ref span8[10]; - QuestStep obj12 = new QuestStep(EInteractionType.Combat, null, new Vector3(144.05684f, 26.19276f, -625.1859f), 180) - { - DelaySecondsAtStart = 2f, - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - num3 = 1; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - CollectionsMarshal.AsSpan(list18)[0] = 758u; - obj12.KillEnemyDataIds = list18; - reference14 = obj12; - span8[11] = new QuestStep(EInteractionType.CompleteQuest, 2002583u, new Vector3(144.39612f, 29.037842f, -622.4918f), 180); - obj11.Steps = list17; - reference13 = obj11; - questRoot2.QuestSequence = list11; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(1159); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - CollectionsMarshal.AsSpan(list19)[0] = "liza"; - questRoot3.Author = list19; - questRoot3.Comment = "Only Turn 5 is required for the next quest to unlock"; - num = 4; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - Span span9 = CollectionsMarshal.AsSpan(list20); - ref QuestSequence reference15 = ref span9[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 4; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - Span span10 = CollectionsMarshal.AsSpan(list21); - ref QuestStep reference16 = ref span10[0]; - QuestStep obj14 = new QuestStep(EInteractionType.UseItem, null, null, 132) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions8 = new SkipStepConditions(); - num3 = 2; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - Span span11 = CollectionsMarshal.AsSpan(list22); - span11[0] = 140; - span11[1] = 212; - skipStepConditions8.InTerritory = list22; - skipConditions8.StepIf = skipStepConditions8; - obj14.SkipConditions = skipConditions8; - reference16 = obj14; - ref QuestStep reference17 = ref span10[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions9 = new SkipStepConditions(); - num3 = 1; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - CollectionsMarshal.AsSpan(list23)[0] = 212; - skipStepConditions9.InTerritory = list23; - skipConditions9.StepIf = skipStepConditions9; - questStep3.SkipConditions = skipConditions9; - reference17 = questStep3; - ref QuestStep reference18 = ref span10[2]; - QuestStep obj15 = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipStepConditions skipStepConditions10 = new SkipStepConditions(); - num3 = 1; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - CollectionsMarshal.AsSpan(list24)[0] = 212; - skipStepConditions10.InTerritory = list24; - skipConditions10.StepIf = skipStepConditions10; - obj15.SkipConditions = skipConditions10; - reference18 = obj15; - span10[3] = new QuestStep(EInteractionType.AcceptQuest, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212); - obj13.Steps = list21; - reference15 = obj13; - ref QuestSequence reference19 = ref span9[1]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.Interact, 1007685u, new Vector3(-18.539795f, 70.50106f, 17.746216f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport - }; - obj16.Steps = list25; - reference19 = obj16; - ref QuestSequence reference20 = ref span9[2]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - Span span12 = CollectionsMarshal.AsSpan(list26); - span12[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(358.13956f, 76.42267f, -98.75324f), 137) - { - Fly = true - }; - span12[1] = new QuestStep(EInteractionType.Interact, 2002609u, new Vector3(356.98486f, 77.71411f, -99.83978f), 137); - obj17.Steps = list26; - reference20 = obj17; - ref QuestSequence reference21 = ref span9[3]; - QuestSequence obj18 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.CompleteQuest, 1007627u, new Vector3(13.260071f, 65.04303f, 43.808594f), 137) - { - Fly = true, - NextQuestId = new QuestId(1160) - }; - obj18.Steps = list27; - reference21 = obj18; - questRoot3.QuestSequence = list20; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(1160); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - CollectionsMarshal.AsSpan(list28)[0] = "liza"; - questRoot4.Author = list28; - num = 2; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - Span span13 = CollectionsMarshal.AsSpan(list29); - ref QuestSequence reference22 = ref span13[0]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 0 - }; - num2 = 4; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - Span span14 = CollectionsMarshal.AsSpan(list30); - ref QuestStep reference23 = ref span14[0]; - QuestStep obj20 = new QuestStep(EInteractionType.UseItem, null, null, 132) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipStepConditions skipStepConditions11 = new SkipStepConditions(); - num3 = 2; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - Span span15 = CollectionsMarshal.AsSpan(list31); - span15[0] = 140; - span15[1] = 212; - skipStepConditions11.InTerritory = list31; - skipConditions11.StepIf = skipStepConditions11; - obj20.SkipConditions = skipConditions11; - reference23 = obj20; - ref QuestStep reference24 = ref span14[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - SkipConditions skipConditions12 = new SkipConditions(); - SkipStepConditions skipStepConditions12 = new SkipStepConditions(); - num3 = 1; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - CollectionsMarshal.AsSpan(list32)[0] = 212; - skipStepConditions12.InTerritory = list32; - skipConditions12.StepIf = skipStepConditions12; - questStep4.SkipConditions = skipConditions12; - reference24 = questStep4; - ref QuestStep reference25 = ref span14[2]; - QuestStep obj21 = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - SkipConditions skipConditions13 = new SkipConditions(); - SkipStepConditions skipStepConditions13 = new SkipStepConditions(); - num3 = 1; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - CollectionsMarshal.AsSpan(list33)[0] = 212; - skipStepConditions13.InTerritory = list33; - skipConditions13.StepIf = skipStepConditions13; - obj21.SkipConditions = skipConditions13; - reference25 = obj21; - ref QuestStep reference26 = ref span14[3]; - QuestStep questStep5 = new QuestStep(EInteractionType.AcceptQuest, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212); - num3 = 1; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - CollectionsMarshal.AsSpan(list34)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_GAIUSD102_01160_Q1_000_000"), - Yes = false - }; - questStep5.DialogueChoices = list34; - reference26 = questStep5; - obj19.Steps = list30; - reference22 = obj19; - ref QuestSequence reference27 = ref span13[1]; - QuestSequence obj22 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.CompleteQuest, 1007684u, new Vector3(-2.975586f, -3.000001f, -55.10034f), 212) - { - NextQuestId = new QuestId(1313) - }; - obj22.Steps = list35; - reference27 = obj22; - questRoot4.QuestSequence = list29; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(1162); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - CollectionsMarshal.AsSpan(list36)[0] = "liza"; - questRoot5.Author = list36; - num = 6; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - Span span16 = CollectionsMarshal.AsSpan(list37); - ref QuestSequence reference28 = ref span16[0]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002754u, new Vector3(-219.22644f, 20.923328f, 338.4298f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj23.Steps = list38; - reference28 = obj23; - ref QuestSequence reference29 = ref span16[1]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 1000471u, new Vector3(-60.471558f, 0.19999865f, 6.301941f), 148) - { - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows - }; - obj24.Steps = list39; - reference29 = obj24; - ref QuestSequence reference30 = ref span16[2]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.Interact, 2001467u, new Vector3(-44.419067f, 1.4190674f, -36.850586f), 148); - obj25.Steps = list40; - reference30 = obj25; - ref QuestSequence reference31 = ref span16[3]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - Span span17 = CollectionsMarshal.AsSpan(list41); - span17[0] = new QuestStep(EInteractionType.Interact, 1000471u, new Vector3(-60.471558f, 0.19999865f, 6.301941f), 148); - span17[1] = new QuestStep(EInteractionType.PurchaseItem, 1000220u, new Vector3(16.189758f, -8.010209f, -15.640564f), 148) - { - ItemId = 4868u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - }, - PurchaseMenu = new PurchaseMenu - { - ExcelSheet = "GilShop", - Key = new ExcelRef(262773u) - } - }; - obj26.Steps = list41; - reference31 = obj26; - ref QuestSequence reference32 = ref span16[4]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - Span span18 = CollectionsMarshal.AsSpan(list42); - span18[0] = new QuestStep(EInteractionType.UseItem, null, new Vector3(-230.51279f, 57.95885f, -84.411194f), 148) - { - Fly = true, - ItemId = 4868u - }; - ref QuestStep reference33 = ref span18[1]; - QuestStep obj28 = new QuestStep(EInteractionType.Combat, null, new Vector3(-230.51279f, 57.95885f, -84.411194f), 148) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - CollectionsMarshal.AsSpan(list43)[0] = new ComplexCombatData - { - DataId = 178u, - MinimumKillCount = 3u - }; - obj28.ComplexCombatData = list43; - reference33 = obj28; - obj27.Steps = list42; - reference32 = obj27; - ref QuestSequence reference34 = ref span16[5]; - QuestSequence obj29 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000471u, new Vector3(-60.471558f, 0.19999865f, 6.301941f), 148); - obj29.Steps = list44; - reference34 = obj29; - questRoot5.QuestSequence = list37; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(1175); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - CollectionsMarshal.AsSpan(list45)[0] = "JerryWester"; - questRoot6.Author = list45; - num = 3; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - Span span19 = CollectionsMarshal.AsSpan(list46); - ref QuestSequence reference35 = ref span19[0]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 0 - }; - num2 = 5; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - Span span20 = CollectionsMarshal.AsSpan(list47); - ref QuestStep reference36 = ref span20[0]; - QuestStep obj31 = new QuestStep(EInteractionType.UseItem, null, null, 132) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - SkipConditions skipConditions14 = new SkipConditions(); - SkipStepConditions skipStepConditions14 = new SkipStepConditions(); - num3 = 2; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - Span span21 = CollectionsMarshal.AsSpan(list48); - span21[0] = 140; - span21[1] = 212; - skipStepConditions14.InTerritory = list48; - skipConditions14.StepIf = skipStepConditions14; - obj31.SkipConditions = skipConditions14; - reference36 = obj31; - ref QuestStep reference37 = ref span20[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - SkipConditions skipConditions15 = new SkipConditions(); - SkipStepConditions skipStepConditions15 = new SkipStepConditions(); - num3 = 1; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - CollectionsMarshal.AsSpan(list49)[0] = 212; - skipStepConditions15.InTerritory = list49; - skipConditions15.StepIf = skipStepConditions15; - questStep6.SkipConditions = skipConditions15; - reference37 = questStep6; - ref QuestStep reference38 = ref span20[2]; - QuestStep obj32 = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - SkipConditions skipConditions16 = new SkipConditions(); - SkipStepConditions skipStepConditions16 = new SkipStepConditions(); - num3 = 1; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - CollectionsMarshal.AsSpan(list50)[0] = 212; - skipStepConditions16.InTerritory = list50; - skipConditions16.StepIf = skipStepConditions16; - obj32.SkipConditions = skipConditions16; - reference38 = obj32; - span20[3] = new QuestStep(EInteractionType.Interact, 2001715u, new Vector3(23.23944f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.WakingSandsSolar - } - } - }; - span20[4] = new QuestStep(EInteractionType.AcceptQuest, 1006693u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj30.Steps = list47; - reference35 = obj30; - ref QuestSequence reference39 = ref span19[1]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 1 - }; - num2 = 7; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - Span span22 = CollectionsMarshal.AsSpan(list51); - span22[0] = new QuestStep(EInteractionType.AcceptQuest, 1006693u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212) - { - PickUpQuestId = new QuestId(1047) - }; - span22[1] = new QuestStep(EInteractionType.Interact, 2001717u, new Vector3(25.50043f, 2.099999f, 0f), 212) - { - TargetTerritoryId = (ushort)212, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.WakingSandsMainArea - } - } - }; - ref QuestStep reference40 = ref span22[2]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1007533u, new Vector3(-0.80877686f, -3f, -47.80658f), 212); - num3 = 6; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - Span span23 = CollectionsMarshal.AsSpan(list52); - span23[0] = null; - span23[1] = null; - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list52; - reference40 = questStep7; - ref QuestStep reference41 = ref span22[3]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1007534u, new Vector3(1.4800415f, -3.0000014f, -48.722107f), 212); - num3 = 6; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - Span span24 = CollectionsMarshal.AsSpan(list53); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list53; - reference41 = questStep8; - ref QuestStep reference42 = ref span22[4]; - QuestStep obj34 = new QuestStep(EInteractionType.Interact, 1007531u, new Vector3(0.16778564f, -3.0000012f, -52.71997f), 212) - { - StopDistance = 7f - }; - num3 = 6; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - Span span25 = CollectionsMarshal.AsSpan(list54); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj34.CompletionQuestVariablesFlags = list54; - reference42 = obj34; - ref QuestStep reference43 = ref span22[5]; - QuestStep obj35 = new QuestStep(EInteractionType.Interact, 1007530u, new Vector3(1.296936f, -3.0000012f, -52.262207f), 212) - { - StopDistance = 7f - }; - num3 = 6; - List list55 = new List(num3); - CollectionsMarshal.SetCount(list55, num3); - Span span26 = CollectionsMarshal.AsSpan(list55); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj35.CompletionQuestVariablesFlags = list55; - reference43 = obj35; - ref QuestStep reference44 = ref span22[6]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212); - num3 = 6; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - Span span27 = CollectionsMarshal.AsSpan(list56); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list56; - reference44 = questStep9; - obj33.Steps = list51; - reference39 = obj33; - ref QuestSequence reference45 = ref span19[2]; - QuestSequence obj36 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.CompleteQuest, 1007722u, new Vector3(2.4871826f, 5.1752613E-07f, 4.5929565f), 212); - obj36.Steps = list57; - reference45 = obj36; - questRoot6.QuestSequence = list46; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(1189); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - CollectionsMarshal.AsSpan(list58)[0] = "JerryWester"; - questRoot7.Author = list58; - num = 3; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - Span span28 = CollectionsMarshal.AsSpan(list59); - ref QuestSequence reference46 = ref span28[0]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj37.Steps = list60; - reference46 = obj37; - ref QuestSequence reference47 = ref span28[1]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - Span span29 = CollectionsMarshal.AsSpan(list61); - span29[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-105.23075f, 1.3112462f, 7.6441884f), 132) - { - TargetTerritoryId = (ushort)133 - }; - span29[1] = new QuestStep(EInteractionType.Interact, 1000460u, new Vector3(-159.41101f, 4.054107f, -4.1047363f), 133) - { - TargetTerritoryId = (ushort)205 - }; - span29[2] = new QuestStep(EInteractionType.Interact, 1003027u, new Vector3(4.8981323f, -1.92944f, -0.19836426f), 205); - obj38.Steps = list61; - reference47 = obj38; - ref QuestSequence reference48 = ref span28[2]; - QuestSequence obj39 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - Span span30 = CollectionsMarshal.AsSpan(list62); - span30[0] = new QuestStep(EInteractionType.Interact, 2001216u, new Vector3(45.87172f, 7.763558f, 47.41661f), 205) - { - TargetTerritoryId = (ushort)133 - }; - span30[1] = new QuestStep(EInteractionType.CompleteQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133); - obj39.Steps = list62; - reference48 = obj39; - questRoot7.QuestSequence = list59; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(1190); - QuestRoot questRoot8 = new QuestRoot(); - num = 3; - List list63 = new List(num); - CollectionsMarshal.SetCount(list63, num); - Span span31 = CollectionsMarshal.AsSpan(list63); - span31[0] = "JerryWester"; - span31[1] = "liza"; - span31[2] = "Wigglez"; - questRoot8.Author = list63; - num = 9; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - Span span32 = CollectionsMarshal.AsSpan(list64); - ref QuestSequence reference49 = ref span32[0]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133); - obj40.Steps = list65; - reference49 = obj40; - ref QuestSequence reference50 = ref span32[1]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.Interact, 1008275u, new Vector3(180.01062f, -2.265522f, -245.50244f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaConjurer, - To = EAetheryteLocation.GridaniaLancer - } - }; - obj41.Steps = list66; - reference50 = obj41; - ref QuestSequence reference51 = ref span32[2]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - Span span33 = CollectionsMarshal.AsSpan(list67); - span33[0] = new QuestStep(EInteractionType.Interact, 1001263u, new Vector3(181.41443f, -2.3519497f, -240.40594f), 133) - { - StopDistance = 7f, - TargetTerritoryId = (ushort)152 - }; - span33[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-548.81665f, 10.813553f, 63.75964f), 152); - obj42.Steps = list67; - reference51 = obj42; - ref QuestSequence reference52 = ref span32[3]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - Span span34 = CollectionsMarshal.AsSpan(list68); - span34[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-561.9863f, 9.919454f, 66.29564f), 152); - span34[1] = new QuestStep(EInteractionType.Interact, 1008276u, new Vector3(-542.9313f, 11.20175f, 62.241577f), 152); - obj43.Steps = list68; - reference52 = obj43; - ref QuestSequence reference53 = ref span32[4]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 4 - }; - num2 = 19; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - Span span35 = CollectionsMarshal.AsSpan(list69); - span35[0] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 2482u, new Vector3(-507.38052f, 8.868391f, 71.95016f), 152) - { - StopDistance = 0.25f, - NpcWaitDistance = 5f, - Mount = false, - Sprint = false - }; - span35[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-481.42728f, 6.422104f, 81.63048f), 152) - { - Mount = false, - Sprint = false - }; - ref QuestStep reference54 = ref span35[2]; - QuestStep obj45 = new QuestStep(EInteractionType.Combat, null, new Vector3(-481.42728f, 6.422104f, 81.63048f), 152) - { - DelaySecondsAtStart = 2f, - Mount = false, - Sprint = false, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list70 = new List(num3); - CollectionsMarshal.SetCount(list70, num3); - CollectionsMarshal.AsSpan(list70)[0] = 47u; - obj45.KillEnemyDataIds = list70; - reference54 = obj45; - span35[3] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 2482u, new Vector3(-450.86685f, 1.4933968f, 83.65083f), 152) - { - StopDistance = 0.25f, - NpcWaitDistance = 5f, - Mount = false, - Sprint = false - }; - span35[4] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 2482u, new Vector3(-419.417f, 0.14398265f, 83.16774f), 152) - { - StopDistance = 0.25f, - NpcWaitDistance = 5f, - Mount = false, - Sprint = false - }; - span35[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-378.81943f, 0.9094964f, 66.22969f), 152) - { - Mount = false, - Sprint = false - }; - ref QuestStep reference55 = ref span35[6]; - QuestStep obj46 = new QuestStep(EInteractionType.Combat, null, new Vector3(-378.81943f, 0.9094964f, 66.22969f), 152) - { - DelaySecondsAtStart = 2f, - Mount = false, - Sprint = false, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - CollectionsMarshal.AsSpan(list71)[0] = 2483u; - obj46.KillEnemyDataIds = list71; - reference55 = obj46; - span35[7] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-346.51294f, 6.312253f, 62.24674f), 152) - { - Mount = false, - Sprint = false - }; - ref QuestStep reference56 = ref span35[8]; - QuestStep obj47 = new QuestStep(EInteractionType.Combat, null, new Vector3(-346.51294f, 6.312253f, 62.24674f), 152) - { - DelaySecondsAtStart = 2f, - Mount = false, - Sprint = false, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - CollectionsMarshal.AsSpan(list72)[0] = 2484u; - obj47.KillEnemyDataIds = list72; - reference56 = obj47; - span35[9] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-313.74997f, 8.092487f, 82.45006f), 152) - { - Mount = false, - Sprint = false - }; - ref QuestStep reference57 = ref span35[10]; - QuestStep obj48 = new QuestStep(EInteractionType.Combat, null, new Vector3(-313.74997f, 8.092487f, 82.45006f), 152) - { - DelaySecondsAtStart = 2f, - Mount = false, - Sprint = false, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - CollectionsMarshal.AsSpan(list73)[0] = 2485u; - obj48.KillEnemyDataIds = list73; - reference57 = obj48; - span35[11] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 2482u, new Vector3(-283.93427f, 7.276271f, 98.03231f), 152) - { - StopDistance = 0.25f, - NpcWaitDistance = 5f, - Mount = false, - Sprint = false - }; - span35[12] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 2482u, new Vector3(-267.51584f, 6.6916447f, 90.286575f), 152) - { - StopDistance = 0.25f, - NpcWaitDistance = 5f, - Mount = false, - Sprint = false - }; - span35[13] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 2482u, new Vector3(-255.84544f, 11.492955f, 36.59282f), 152) - { - StopDistance = 0.25f, - NpcWaitDistance = 5f, - Mount = false, - Sprint = false - }; - span35[14] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-254.20119f, 11.42078f, -5.5896573f), 152) - { - Mount = false, - Sprint = false - }; - ref QuestStep reference58 = ref span35[15]; - QuestStep obj49 = new QuestStep(EInteractionType.Combat, null, new Vector3(-254.20119f, 11.42078f, -5.5896573f), 152) - { - DelaySecondsAtStart = 2f, - Mount = false, - Sprint = false, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list74 = new List(num3); - CollectionsMarshal.SetCount(list74, num3); - Span span36 = CollectionsMarshal.AsSpan(list74); - span36[0] = 2487u; - span36[1] = 2488u; - obj49.KillEnemyDataIds = list74; - reference58 = obj49; - span35[16] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 2482u, new Vector3(-286.692f, 11.75f, -23.839016f), 152) - { - StopDistance = 0.25f, - NpcWaitDistance = 5f, - Mount = false, - Sprint = false - }; - span35[17] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 2482u, new Vector3(-316.77347f, 12.01387f, -34.666443f), 152) - { - StopDistance = 0.25f, - NpcWaitDistance = 5f, - Mount = false, - Sprint = false - }; - span35[18] = new QuestStep(EInteractionType.Interact, 2003347u, new Vector3(-318.62366f, 12.25293f, -35.05005f), 152) - { - StopDistance = 4f - }; - obj44.Steps = list69; - reference53 = obj44; - ref QuestSequence reference59 = ref span32[5]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.Interact, 1008277u, new Vector3(-317.6776f, 12.293127f, -37.30841f), 152) - { - StopDistance = 4f, - DelaySecondsAtStart = 2f - }; - obj50.Steps = list75; - reference59 = obj50; - ref QuestSequence reference60 = ref span32[6]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.Interact, 2003046u, new Vector3(-318.62366f, 12.25293f, -35.080566f), 152) - { - StopDistance = 4f, - DelaySecondsAtStart = 3f - }; - obj51.Steps = list76; - reference60 = obj51; - ref QuestSequence reference61 = ref span32[7]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Duty, null, null, 152) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 66u - } - }; - obj52.Steps = list77; - reference61 = obj52; - ref QuestSequence reference62 = ref span32[8]; - QuestSequence obj53 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - Span span37 = CollectionsMarshal.AsSpan(list78); - span37[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-139.69998f, 8.511277f, 279.65753f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil - }; - span37[1] = new QuestStep(EInteractionType.CompleteQuest, 1007862u, new Vector3(-140.03204f, 8.647825f, 280.8728f), 153); - obj53.Steps = list78; - reference62 = obj53; - questRoot8.QuestSequence = list64; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(1191); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - CollectionsMarshal.AsSpan(list79)[0] = "JerryWester"; - questRoot9.Author = list79; - num = 3; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - Span span38 = CollectionsMarshal.AsSpan(list80); - ref QuestSequence reference63 = ref span38[0]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj54.Steps = list81; - reference63 = obj54; - ref QuestSequence reference64 = ref span38[1]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - Span span39 = CollectionsMarshal.AsSpan(list82); - span39[0] = new QuestStep(EInteractionType.Interact, 1000460u, new Vector3(-159.41101f, 4.054107f, -4.1047363f), 133) - { - TargetTerritoryId = (ushort)205, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - span39[1] = new QuestStep(EInteractionType.Interact, 1003027u, new Vector3(4.8981323f, -1.92944f, -0.19836426f), 205); - obj55.Steps = list82; - reference64 = obj55; - ref QuestSequence reference65 = ref span38[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - Span span40 = CollectionsMarshal.AsSpan(list83); - span40[0] = new QuestStep(EInteractionType.UseItem, null, null, 205) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span40[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span40[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span40[3] = new QuestStep(EInteractionType.Interact, 2001715u, new Vector3(23.23944f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212 - }; - span40[4] = new QuestStep(EInteractionType.CompleteQuest, 1006693u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj56.Steps = list83; - reference65 = obj56; - questRoot9.QuestSequence = list80; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(1192); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - CollectionsMarshal.AsSpan(list84)[0] = "JerryWester"; - questRoot10.Author = list84; - num = 9; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - Span span41 = CollectionsMarshal.AsSpan(list85); - ref QuestSequence reference66 = ref span41[0]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006693u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj57.Steps = list86; - reference66 = obj57; - ref QuestSequence reference67 = ref span41[1]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - Span span42 = CollectionsMarshal.AsSpan(list87); - span42[0] = new QuestStep(EInteractionType.Interact, 2001717u, new Vector3(25.497803f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212 - }; - span42[1] = new QuestStep(EInteractionType.Interact, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212); - obj58.Steps = list87; - reference67 = obj58; - ref QuestSequence reference68 = ref span41[2]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - Span span43 = CollectionsMarshal.AsSpan(list88); - span43[0] = new QuestStep(EInteractionType.Interact, 2001717u, new Vector3(25.497803f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212 - }; - span43[1] = new QuestStep(EInteractionType.Interact, 2001716u, new Vector3(-15.701599f, 1.083313f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)140 - }; - span43[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-461.71686f, 23.192137f, -369.12787f), 140); - obj59.Steps = list88; - reference68 = obj59; - ref QuestSequence reference69 = ref span41[3]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - ref QuestStep reference70 = ref CollectionsMarshal.AsSpan(list89)[0]; - QuestStep obj61 = new QuestStep(EInteractionType.Combat, null, new Vector3(-470.87872f, 22.698383f, -439.40274f), 140) - { - StopDistance = 0.25f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - CollectionsMarshal.AsSpan(list90)[0] = 2477u; - obj61.KillEnemyDataIds = list90; - reference70 = obj61; - obj60.Steps = list89; - reference69 = obj60; - ref QuestSequence reference71 = ref span41[4]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - ref QuestStep reference72 = ref CollectionsMarshal.AsSpan(list91)[0]; - QuestStep obj63 = new QuestStep(EInteractionType.Combat, null, new Vector3(-386.44818f, 24.74541f, -501.20456f), 140) - { - StopDistance = 0.25f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - CollectionsMarshal.AsSpan(list92)[0] = 2478u; - obj63.KillEnemyDataIds = list92; - reference72 = obj63; - obj62.Steps = list91; - reference71 = obj62; - ref QuestSequence reference73 = ref span41[5]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - ref QuestStep reference74 = ref CollectionsMarshal.AsSpan(list93)[0]; - QuestStep obj65 = new QuestStep(EInteractionType.Combat, null, new Vector3(-366.75403f, 16.426182f, -628.9341f), 140) - { - StopDistance = 0.25f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list94 = new List(num3); - CollectionsMarshal.SetCount(list94, num3); - CollectionsMarshal.AsSpan(list94)[0] = 2479u; - obj65.KillEnemyDataIds = list94; - reference74 = obj65; - obj64.Steps = list93; - reference73 = obj64; - ref QuestSequence reference75 = ref span41[6]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - ref QuestStep reference76 = ref CollectionsMarshal.AsSpan(list95)[0]; - QuestStep obj67 = new QuestStep(EInteractionType.Combat, null, new Vector3(-327.01913f, 14.785374f, -780.03625f), 140) - { - StopDistance = 0.25f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list96 = new List(num3); - CollectionsMarshal.SetCount(list96, num3); - Span span44 = CollectionsMarshal.AsSpan(list96); - span44[0] = 2480u; - span44[1] = 2481u; - obj67.KillEnemyDataIds = list96; - reference76 = obj67; - obj66.Steps = list95; - reference75 = obj66; - ref QuestSequence reference77 = ref span41[7]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.Interact, 1007751u, new Vector3(-325.185f, 14.7073965f, -784.3595f), 140); - obj68.Steps = list97; - reference77 = obj68; - ref QuestSequence reference78 = ref span41[8]; - QuestSequence obj69 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - Span span45 = CollectionsMarshal.AsSpan(list98); - span45[0] = new QuestStep(EInteractionType.UseItem, null, null, 140) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span45[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span45[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span45[3] = new QuestStep(EInteractionType.Interact, 2001715u, new Vector3(23.23944f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212 - }; - span45[4] = new QuestStep(EInteractionType.CompleteQuest, 1006693u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj69.Steps = list98; - reference78 = obj69; - questRoot10.QuestSequence = list85; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(1194); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - CollectionsMarshal.AsSpan(list99)[0] = "liza"; - questRoot11.Author = list99; - num = 2; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - Span span46 = CollectionsMarshal.AsSpan(list100); - ref QuestSequence reference79 = ref span46[0]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.AcceptQuest, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212); - obj70.Steps = list101; - reference79 = obj70; - ref QuestSequence reference80 = ref span46[1]; - QuestSequence obj71 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - NextQuestId = new QuestId(1195) - }; - obj71.Steps = list102; - reference80 = obj71; - questRoot11.QuestSequence = list100; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(1195); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - CollectionsMarshal.AsSpan(list103)[0] = "liza"; - questRoot12.Author = list103; - num = 6; - List list104 = new List(num); - CollectionsMarshal.SetCount(list104, num); - Span span47 = CollectionsMarshal.AsSpan(list104); - ref QuestSequence reference81 = ref span47[0]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132); - obj72.Steps = list105; - reference81 = obj72; - ref QuestSequence reference82 = ref span47[1]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - Span span48 = CollectionsMarshal.AsSpan(list106); - span48[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(643.84f, 287.48834f, 175.5028f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span48[1] = new QuestStep(EInteractionType.Interact, 2003456u, new Vector3(649.7748f, 292.4391f, 175.34143f), 155); - obj73.Steps = list106; - reference82 = obj73; - ref QuestSequence reference83 = ref span47[2]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.Duty, null, null, 155) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 65u - } - }; - obj74.Steps = list107; - reference83 = obj74; - span47[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference84 = ref span47[4]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.Interact, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj75.Steps = list108; - reference84 = obj75; - ref QuestSequence reference85 = ref span47[5]; - QuestSequence obj76 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - Span span49 = CollectionsMarshal.AsSpan(list109); - span49[0] = new QuestStep(EInteractionType.UseItem, null, null, 132) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span49[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span49[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span49[3] = new QuestStep(EInteractionType.CompleteQuest, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212) - { - NextQuestId = new QuestId(1196) - }; - obj76.Steps = list109; - reference85 = obj76; - questRoot12.QuestSequence = list104; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(1196); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - CollectionsMarshal.AsSpan(list110)[0] = "liza"; - questRoot13.Author = list110; - num = 7; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - Span span50 = CollectionsMarshal.AsSpan(list111); - ref QuestSequence reference86 = ref span50[0]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.AcceptQuest, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212); - obj77.Steps = list112; - reference86 = obj77; - ref QuestSequence reference87 = ref span50[1]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.Interact, 1003281u, new Vector3(97.520386f, 40.248554f, 81.1322f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj78.Steps = list113; - reference87 = obj78; - ref QuestSequence reference88 = ref span50[2]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 2 - }; - num2 = 7; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - Span span51 = CollectionsMarshal.AsSpan(list114); - span51[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(71.55255f, 59.83099f, -516.4647f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - span51[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(111.7023f, 28.568699f, -611.7063f), 180) - { - Fly = true - }; - span51[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(84.102905f, 28.170393f, -716.35504f), 180) - { - Fly = true - }; - span51[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(161.06644f, 26.61216f, -712.6371f), 180) - { - Fly = true - }; - span51[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(176.3917f, 29.076319f, -652.8805f), 180) - { - Fly = true - }; - span51[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(143.06934f, 23.642702f, -656.43506f), 180) - { - Fly = true - }; - span51[6] = new QuestStep(EInteractionType.Interact, 2003457u, new Vector3(144.39612f, 29.037842f, -622.4918f), 180); - obj79.Steps = list114; - reference88 = obj79; - ref QuestSequence reference89 = ref span50[3]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.Duty, null, null, 180) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 64u - } - }; - obj80.Steps = list115; - reference89 = obj80; - span50[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference90 = ref span50[5]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.Interact, 1003281u, new Vector3(97.520386f, 40.248554f, 81.1322f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj81.Steps = list116; - reference90 = obj81; - ref QuestSequence reference91 = ref span50[6]; - QuestSequence obj82 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - Span span52 = CollectionsMarshal.AsSpan(list117); - span52[0] = new QuestStep(EInteractionType.UseItem, null, null, 132) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span52[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span52[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span52[3] = new QuestStep(EInteractionType.CompleteQuest, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212) - { - NextQuestId = new QuestId(1197) - }; - obj82.Steps = list117; - reference91 = obj82; - questRoot13.QuestSequence = list111; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(1197); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - CollectionsMarshal.AsSpan(list118)[0] = "liza"; - questRoot14.Author = list118; - num = 7; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - Span span53 = CollectionsMarshal.AsSpan(list119); - ref QuestSequence reference92 = ref span53[0]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.AcceptQuest, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212); - obj83.Steps = list120; - reference92 = obj83; - ref QuestSequence reference93 = ref span53[1]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - Span span54 = CollectionsMarshal.AsSpan(list121); - span54[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-119.1183f, 3.7999938f, -104.33473f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - span54[1] = new QuestStep(EInteractionType.Interact, 1004576u, new Vector3(-141.64954f, 4.1f, -114.67157f), 130); - obj84.Steps = list121; - reference93 = obj84; - ref QuestSequence reference94 = ref span53[2]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - Span span55 = CollectionsMarshal.AsSpan(list122); - span55[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-22.992174f, 31.881628f, -3.1655574f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - span55[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(373.0123f, 46.21888f, -47.523537f), 146) - { - Fly = true - }; - span55[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(500.2741f, 36.9815f, -153.72185f), 146) - { - Fly = true - }; - span55[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(694.0748f, 4.267518f, -84.443855f), 146) - { - Fly = true - }; - span55[4] = new QuestStep(EInteractionType.Interact, 2003458u, new Vector3(694.3617f, 7.9193726f, -80.1557f), 146) - { - StopDistance = 5f, - Mount = false, - IgnoreDistanceToObject = true - }; - obj85.Steps = list122; - reference94 = obj85; - ref QuestSequence reference95 = ref span53[3]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.Duty, null, null, 146) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 63u - } - }; - obj86.Steps = list123; - reference95 = obj86; - span53[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference96 = ref span53[5]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - Span span56 = CollectionsMarshal.AsSpan(list124); - span56[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-119.1183f, 3.7999938f, -104.33473f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - span56[1] = new QuestStep(EInteractionType.Interact, 1004576u, new Vector3(-141.64954f, 4.1f, -114.67157f), 130); - obj87.Steps = list124; - reference96 = obj87; - ref QuestSequence reference97 = ref span53[6]; - QuestSequence obj88 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - Span span57 = CollectionsMarshal.AsSpan(list125); - span57[0] = new QuestStep(EInteractionType.UseItem, null, null, 132) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span57[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span57[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span57[3] = new QuestStep(EInteractionType.CompleteQuest, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212) - { - NextQuestId = new QuestId(1198) - }; - obj88.Steps = list125; - reference97 = obj88; - questRoot14.QuestSequence = list119; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(1198); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - CollectionsMarshal.AsSpan(list126)[0] = "liza"; - questRoot15.Author = list126; - num = 3; - List list127 = new List(num); - CollectionsMarshal.SetCount(list127, num); - Span span58 = CollectionsMarshal.AsSpan(list127); - ref QuestSequence reference98 = ref span58[0]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.AcceptQuest, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212); - obj89.Steps = list128; - reference98 = obj89; - ref QuestSequence reference99 = ref span58[1]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - Span span59 = CollectionsMarshal.AsSpan(list129); - span59[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(26.405773f, 29.49983f, -767.3998f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span59[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(25.629164f, 28.999998f, -823.2204f), 156); - span59[2] = new QuestStep(EInteractionType.Interact, 1001304u, new Vector3(25.589355f, 29f, -825.37573f), 156); - obj90.Steps = list129; - reference99 = obj90; - ref QuestSequence reference100 = ref span58[2]; - QuestSequence obj91 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - Span span60 = CollectionsMarshal.AsSpan(list130); - span60[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(26.405773f, 29.49983f, -767.3998f), 156) - { - Fly = true - }; - span60[1] = new QuestStep(EInteractionType.CompleteQuest, 1006951u, new Vector3(73.77734f, 33.066578f, -709.77344f), 156) - { - Fly = true - }; - obj91.Steps = list130; - reference100 = obj91; - questRoot15.QuestSequence = list127; - AddQuest(questId15, questRoot15); - } - - private static void LoadQuests24() - { - QuestId questId = new QuestId(1200); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "JerryWester"; - questRoot.Author = list; - num = 8; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006725u, new Vector3(446.82983f, -5.306207f, -465.72064f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1004093u, new Vector3(-25.162231f, 12.200003f, 110.795654f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGoldsmith - } - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1007755u, new Vector3(-34.62274f, 13.599951f, 99.47351f), 131); - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Interact, 1007756u, new Vector3(4.501404f, 4.2257967f, 411.58154f), 147) - { - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCampBluefog - }; - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - Span span2 = CollectionsMarshal.AsSpan(list7); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(243.06186f, 26.915272f, 74.2695f), 147) - { - Fly = true - }; - span2[1] = new QuestStep(EInteractionType.Interact, 1007759u, new Vector3(246.57043f, 25.742998f, 85.28259f), 147); - obj5.Steps = list7; - reference5 = obj5; - ref QuestSequence reference6 = ref span[5]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - Span span3 = CollectionsMarshal.AsSpan(list8); - span3[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(242.94734f, 27.148706f, 74.460915f), 147) - { - Fly = true - }; - span3[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(258.76767f, 25f, 43.66056f), 147) - { - Fly = true - }; - span3[2] = new QuestStep(EInteractionType.Interact, 2002892u, new Vector3(259.38806f, 24.979004f, 44.174805f), 147); - obj6.Steps = list8; - reference6 = obj6; - ref QuestSequence reference7 = ref span[6]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - Span span4 = CollectionsMarshal.AsSpan(list9); - span4[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(242.94734f, 27.148706f, 74.460915f), 147) - { - Fly = true - }; - span4[1] = new QuestStep(EInteractionType.Interact, 1007759u, new Vector3(246.57043f, 25.742998f, 85.28259f), 147); - obj7.Steps = list9; - reference7 = obj7; - ref QuestSequence reference8 = ref span[7]; - QuestSequence obj8 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span5 = CollectionsMarshal.AsSpan(list10); - span5[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(445.96164f, -5.3604937f, -466.67636f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span5[1] = new QuestStep(EInteractionType.CompleteQuest, 1006725u, new Vector3(446.82983f, -5.306207f, -465.72064f), 156) - { - NextQuestId = new QuestId(1201) - }; - obj8.Steps = list10; - reference8 = obj8; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(1201); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list11 = new List(num); - CollectionsMarshal.SetCount(list11, num); - CollectionsMarshal.AsSpan(list11)[0] = "JerryWester"; - questRoot2.Author = list11; - num = 6; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - Span span6 = CollectionsMarshal.AsSpan(list12); - ref QuestSequence reference9 = ref span6[0]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006725u, new Vector3(446.82983f, -5.306207f, -465.72064f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj9.Steps = list13; - reference9 = obj9; - ref QuestSequence reference10 = ref span6[1]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.Interact, 1000768u, new Vector3(172.35059f, 15.5f, -89.951965f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLeatherworker - } - }; - obj10.Steps = list14; - reference10 = obj10; - ref QuestSequence reference11 = ref span6[2]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - Span span7 = CollectionsMarshal.AsSpan(list15); - span7[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(467.32037f, 0.38625574f, 155.53741f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill - }; - span7[1] = new QuestStep(EInteractionType.Interact, 2002893u, new Vector3(467.39905f, 2.2124634f, 154.0398f), 153); - obj11.Steps = list15; - reference11 = obj11; - ref QuestSequence reference12 = ref span6[3]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - Span span8 = CollectionsMarshal.AsSpan(list16); - span8[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-155.03073f, -10.417721f, -70.72666f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - ref QuestStep reference13 = ref span8[1]; - QuestStep obj13 = new QuestStep(EInteractionType.Combat, null, new Vector3(-153.8042f, -9.645816f, -74.48335f), 154) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - int num3 = 3; - List list17 = new List(num3); - CollectionsMarshal.SetCount(list17, num3); - Span span9 = CollectionsMarshal.AsSpan(list17); - span9[0] = 2448u; - span9[1] = 2449u; - span9[2] = 2450u; - obj13.KillEnemyDataIds = list17; - reference13 = obj13; - span8[2] = new QuestStep(EInteractionType.Interact, 2002894u, new Vector3(-152.84961f, -8.46875f, -78.50769f), 154); - obj12.Steps = list16; - reference12 = obj12; - ref QuestSequence reference14 = ref span6[4]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - Span span10 = CollectionsMarshal.AsSpan(list18); - span10[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(29.507086f, 0.7410059f, -94.81342f), 154) - { - Fly = true - }; - span10[1] = new QuestStep(EInteractionType.Interact, 2002896u, new Vector3(28.824219f, 1.5715942f, -96.787964f), 154); - obj14.Steps = list18; - reference14 = obj14; - ref QuestSequence reference15 = ref span6[5]; - QuestSequence obj15 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - Span span11 = CollectionsMarshal.AsSpan(list19); - span11[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(445.96164f, -5.3604937f, -466.67636f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span11[1] = new QuestStep(EInteractionType.CompleteQuest, 1006725u, new Vector3(446.82983f, -5.306207f, -465.72064f), 156) - { - NextQuestId = new QuestId(1202) - }; - obj15.Steps = list19; - reference15 = obj15; - questRoot2.QuestSequence = list12; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(1202); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - CollectionsMarshal.AsSpan(list20)[0] = "JerryWester"; - questRoot3.Author = list20; - num = 4; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - Span span12 = CollectionsMarshal.AsSpan(list21); - ref QuestSequence reference16 = ref span12[0]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.AcceptQuest, 1007763u, new Vector3(447.4403f, -5.3500423f, -467.7959f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj16.Steps = list22; - reference16 = obj16; - ref QuestSequence reference17 = ref span12[1]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - Span span13 = CollectionsMarshal.AsSpan(list23); - span13[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(573.29987f, -1.5839931f, -261.4353f), 156) - { - Fly = true - }; - span13[1] = new QuestStep(EInteractionType.Interact, 2002897u, new Vector3(573.17444f, -1.7243042f, -262.77563f), 156); - obj17.Steps = list23; - reference17 = obj17; - ref QuestSequence reference18 = ref span12[2]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.Duty, null, null, 156) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 92u, - LowPriority = true - } - }; - obj18.Steps = list24; - reference18 = obj18; - ref QuestSequence reference19 = ref span12[3]; - QuestSequence obj19 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - Span span14 = CollectionsMarshal.AsSpan(list25); - span14[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(445.96164f, -5.3604937f, -466.67636f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span14[1] = new QuestStep(EInteractionType.CompleteQuest, 1007763u, new Vector3(447.4403f, -5.3500423f, -467.7959f), 156) - { - NextQuestId = new QuestId(1203) - }; - obj19.Steps = list25; - reference19 = obj19; - questRoot3.QuestSequence = list21; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(1203); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - CollectionsMarshal.AsSpan(list26)[0] = "JerryWester"; - questRoot4.Author = list26; - num = 2; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - Span span15 = CollectionsMarshal.AsSpan(list27); - ref QuestSequence reference20 = ref span15[0]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.AcceptQuest, 1007763u, new Vector3(447.4403f, -5.3500423f, -467.7959f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj20.Steps = list28; - reference20 = obj20; - ref QuestSequence reference21 = ref span15[1]; - QuestSequence obj21 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006725u, new Vector3(446.82983f, -5.306207f, -465.72064f), 156) - { - NextQuestId = new QuestId(1474) - }; - obj21.Steps = list29; - reference21 = obj21; - questRoot4.QuestSequence = list27; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(1204); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - CollectionsMarshal.AsSpan(list30)[0] = "FalconTaterz"; - questRoot5.Author = list30; - num = 5; - List list31 = new List(num); - CollectionsMarshal.SetCount(list31, num); - Span span16 = CollectionsMarshal.AsSpan(list31); - ref QuestSequence reference22 = ref span16[0]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - ref QuestStep reference23 = ref CollectionsMarshal.AsSpan(list32)[0]; - QuestStep obj23 = new QuestStep(EInteractionType.AcceptQuest, 1001285u, new Vector3(-68.77246f, 4.0411124f, -126.51257f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - CollectionsMarshal.AsSpan(list33)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CHRHDB101_01204_Q1_000_1") - }; - obj23.DialogueChoices = list33; - reference23 = obj23; - obj22.Steps = list32; - reference22 = obj22; - ref QuestSequence reference24 = ref span16[1]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.Interact, 1005709u, new Vector3(-464.16425f, -26.945036f, 85.40466f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj24.Steps = list34; - reference24 = obj24; - ref QuestSequence reference25 = ref span16[2]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - ref QuestStep reference26 = ref CollectionsMarshal.AsSpan(list35)[0]; - QuestStep obj26 = new QuestStep(EInteractionType.Combat, null, new Vector3(-273.9414f, 9.756445f, 222.65837f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings, - EnemySpawnType = EEnemySpawnType.FateEnemies - }; - num3 = 2; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - Span span17 = CollectionsMarshal.AsSpan(list36); - span17[0] = 2390u; - span17[1] = 2391u; - obj26.KillEnemyDataIds = list36; - reference26 = obj26; - obj25.Steps = list35; - reference25 = obj25; - ref QuestSequence reference27 = ref span16[3]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.Interact, 1005709u, new Vector3(-464.16425f, -26.945036f, 85.40466f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj27.Steps = list37; - reference27 = obj27; - ref QuestSequence reference28 = ref span16[4]; - QuestSequence obj28 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - ref QuestStep reference29 = ref CollectionsMarshal.AsSpan(list38)[0]; - QuestStep obj29 = new QuestStep(EInteractionType.CompleteQuest, 1005710u, new Vector3(4.4403076f, 7.2767544f, 885.55725f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings - }; - num3 = 1; - List list39 = new List(num3); - CollectionsMarshal.SetCount(list39, num3); - CollectionsMarshal.AsSpan(list39)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CHRHDB101_01204_Q2_000_1"), - Answer = new ExcelRef("TEXT_CHRHDB101_01204_Q2A2_000_2") - }; - obj29.DialogueChoices = list39; - obj29.NextQuestId = new QuestId(1205); - reference29 = obj29; - obj28.Steps = list38; - reference28 = obj28; - questRoot5.QuestSequence = list31; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(1205); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - CollectionsMarshal.AsSpan(list40)[0] = "FalconTaterz"; - questRoot6.Author = list40; - num = 3; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - Span span18 = CollectionsMarshal.AsSpan(list41); - ref QuestSequence reference30 = ref span18[0]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005711u, new Vector3(4.837097f, 7.4445505f, 884.70276f), 146); - obj30.Steps = list42; - reference30 = obj30; - ref QuestSequence reference31 = ref span18[1]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - Span span19 = CollectionsMarshal.AsSpan(list43); - ref QuestStep reference32 = ref span19[0]; - QuestStep obj32 = new QuestStep(EInteractionType.Interact, 1004333u, new Vector3(-101.854004f, 4.0131226f, -98.95477f), 130) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Uldah - }; - num3 = 6; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - Span span20 = CollectionsMarshal.AsSpan(list44); - span20[0] = null; - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj32.CompletionQuestVariablesFlags = list44; - reference32 = obj32; - ref QuestStep reference33 = ref span19[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1004331u, new Vector3(-20.096191f, 4.9999676f, -133.22656f), 130); - num3 = 6; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - Span span21 = CollectionsMarshal.AsSpan(list45); - span21[0] = null; - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list45; - reference33 = questStep; - ref QuestStep reference34 = ref span19[2]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1001313u, new Vector3(16.372864f, 7.9999795f, -106.21808f), 130); - num3 = 6; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - Span span22 = CollectionsMarshal.AsSpan(list46); - span22[0] = null; - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list46; - reference34 = questStep2; - obj31.Steps = list43; - reference31 = obj31; - ref QuestSequence reference35 = ref span18[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001285u, new Vector3(-68.77246f, 4.0411124f, -126.51257f), 130) - { - NextQuestId = new QuestId(1206) - }; - obj33.Steps = list47; - reference35 = obj33; - questRoot6.QuestSequence = list41; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(1206); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - CollectionsMarshal.AsSpan(list48)[0] = "FalconTaterz"; - questRoot7.Author = list48; - num = 7; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - Span span23 = CollectionsMarshal.AsSpan(list49); - ref QuestSequence reference36 = ref span23[0]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001285u, new Vector3(-68.77246f, 4.0411124f, -126.51257f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj34.Steps = list50; - reference36 = obj34; - ref QuestSequence reference37 = ref span23[1]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.Interact, 1001691u, new Vector3(142.16821f, 7.4920034f, 104.72266f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - obj35.Steps = list51; - reference37 = obj35; - ref QuestSequence reference38 = ref span23[2]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.Interact, 1005713u, new Vector3(-72.98395f, 3.9999995f, -113.02362f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahWeaver, - To = EAetheryteLocation.Uldah - } - }; - obj36.Steps = list52; - reference38 = obj36; - ref QuestSequence reference39 = ref span23[3]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - Span span24 = CollectionsMarshal.AsSpan(list53); - span24[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-147.13564f, 11.999999f, -5.086131f), 130); - span24[1] = new QuestStep(EInteractionType.Interact, 1005716u, new Vector3(-144.76239f, 12f, 0.99176025f), 130); - obj37.Steps = list53; - reference39 = obj37; - ref QuestSequence reference40 = ref span23[4]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.Interact, 1005717u, new Vector3(-147.17328f, 12f, -3.6469727f), 130); - obj38.Steps = list54; - reference40 = obj38; - ref QuestSequence reference41 = ref span23[5]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.UseItem, 2003001u, new Vector3(-144.79291f, 11.9782715f, -3.4943848f), 130) - { - ItemId = 2001126u - }; - obj39.Steps = list55; - reference41 = obj39; - ref QuestSequence reference42 = ref span23[6]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005716u, new Vector3(-144.76239f, 12f, 0.99176025f), 130) - { - StopDistance = 7f, - NextQuestId = new QuestId(1207) - }; - obj40.Steps = list56; - reference42 = obj40; - questRoot7.QuestSequence = list49; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(1207); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - CollectionsMarshal.AsSpan(list57)[0] = "FalconTaterz"; - questRoot8.Author = list57; - num = 13; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - Span span25 = CollectionsMarshal.AsSpan(list58); - ref QuestSequence reference43 = ref span25[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005721u, new Vector3(-144.06049f, 12f, -5.5390625f), 130) - { - StopDistance = 4f, - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj41.Steps = list59; - reference43 = obj41; - ref QuestSequence reference44 = ref span25[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.Interact, 1005722u, new Vector3(-550.4387f, -5.5688405f, -176.71478f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj42.Steps = list60; - reference44 = obj42; - ref QuestSequence reference45 = ref span25[2]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - Span span26 = CollectionsMarshal.AsSpan(list61); - ref QuestStep reference46 = ref span26[0]; - QuestStep obj44 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-567.424f, 5.893569f, -221.67596f), 145) - { - Fly = true - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - Span span27 = CollectionsMarshal.AsSpan(list62); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list62; - skipConditions.StepIf = skipStepConditions; - obj44.SkipConditions = skipConditions; - reference46 = obj44; - ref QuestStep reference47 = ref span26[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1004042u, new Vector3(-568.4138f, 5.893569f, -221.27112f), 145); - num3 = 6; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - Span span28 = CollectionsMarshal.AsSpan(list63); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list63; - reference47 = questStep3; - ref QuestStep reference48 = ref span26[2]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1003940u, new Vector3(-540.94763f, 4.134529f, -241.07733f), 145); - num3 = 6; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - Span span29 = CollectionsMarshal.AsSpan(list64); - span29[0] = null; - span29[1] = null; - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list64; - reference48 = questStep4; - ref QuestStep reference49 = ref span26[3]; - QuestStep obj45 = new QuestStep(EInteractionType.Interact, 1003939u, new Vector3(-540.09314f, 4.137387f, -240.98578f), 145) - { - StopDistance = 4f - }; - num3 = 6; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - Span span30 = CollectionsMarshal.AsSpan(list65); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj45.CompletionQuestVariablesFlags = list65; - reference49 = obj45; - obj43.Steps = list61; - reference45 = obj43; - ref QuestSequence reference50 = ref span25[3]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.Interact, 1005724u, new Vector3(-490.44025f, 2.8072534f, -274.34198f), 145) - { - Fly = true - }; - obj46.Steps = list66; - reference50 = obj46; - ref QuestSequence reference51 = ref span25[4]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.Interact, 1005727u, new Vector3(-221.11853f, -37.79669f, 149.67566f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj47.Steps = list67; - reference51 = obj47; - ref QuestSequence reference52 = ref span25[5]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.UseItem, 1005727u, new Vector3(-221.11853f, -37.79669f, 149.67566f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - ItemId = 2001150u - }; - obj48.Steps = list68; - reference52 = obj48; - ref QuestSequence reference53 = ref span25[6]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1005727u, new Vector3(-221.11853f, -37.79669f, 149.67566f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj49.Steps = list69; - reference53 = obj49; - ref QuestSequence reference54 = ref span25[7]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.Interact, 1005727u, new Vector3(-221.11853f, -37.79669f, 149.67566f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj50.Steps = list70; - reference54 = obj50; - ref QuestSequence reference55 = ref span25[8]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.Interact, 1005727u, new Vector3(-221.11853f, -37.79669f, 149.67566f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj51.Steps = list71; - reference55 = obj51; - ref QuestSequence reference56 = ref span25[9]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.Interact, 1005727u, new Vector3(-221.11853f, -37.79669f, 149.67566f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj52.Steps = list72; - reference56 = obj52; - ref QuestSequence reference57 = ref span25[10]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 10 - }; - num2 = 3; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - Span span31 = CollectionsMarshal.AsSpan(list73); - ref QuestStep reference58 = ref span31[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2003006u, new Vector3(-208.5451f, -37.9187f, 151.87305f), 145); - num3 = 6; - List list74 = new List(num3); - CollectionsMarshal.SetCount(list74, num3); - Span span32 = CollectionsMarshal.AsSpan(list74); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list74; - reference58 = questStep5; - ref QuestStep reference59 = ref span31[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2003005u, new Vector3(-220.87439f, -37.857666f, 166.0028f), 145); - num3 = 6; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - Span span33 = CollectionsMarshal.AsSpan(list75); - span33[0] = null; - span33[1] = null; - span33[2] = null; - span33[3] = null; - span33[4] = null; - span33[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list75; - reference59 = questStep6; - ref QuestStep reference60 = ref span31[2]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2003004u, new Vector3(-206.46985f, -37.644104f, 187.36548f), 145); - num3 = 6; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - Span span34 = CollectionsMarshal.AsSpan(list76); - span34[0] = null; - span34[1] = null; - span34[2] = null; - span34[3] = null; - span34[4] = null; - span34[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list76; - reference60 = questStep7; - obj53.Steps = list73; - reference57 = obj53; - ref QuestSequence reference61 = ref span25[11]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 11 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Interact, 1005730u, new Vector3(-222.49182f, -37.896374f, 159.3805f), 145); - obj54.Steps = list77; - reference61 = obj54; - ref QuestSequence reference62 = ref span25[12]; - QuestSequence obj55 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - Span span35 = CollectionsMarshal.AsSpan(list78); - span35[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-535.8004f, 5.3931885f, -252.96324f), 145) - { - Fly = true - }; - span35[1] = new QuestStep(EInteractionType.CompleteQuest, 1005731u, new Vector3(-526.8788f, 5.404997f, -246.50952f), 145) - { - NextQuestId = new QuestId(1315) - }; - obj55.Steps = list78; - reference62 = obj55; - questRoot8.QuestSequence = list58; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(1210); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - CollectionsMarshal.AsSpan(list79)[0] = "liza"; - questRoot9.Author = list79; - num = 5; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - Span span36 = CollectionsMarshal.AsSpan(list80); - ref QuestSequence reference63 = ref span36[0]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - ref QuestStep reference64 = ref CollectionsMarshal.AsSpan(list81)[0]; - QuestStep obj57 = new QuestStep(EInteractionType.AcceptQuest, 1003601u, new Vector3(-3.2807007f, 39.51757f, -9.414856f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition obj58 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - CollectionsMarshal.AsSpan(list82)[0] = 128; - obj58.InTerritory = list82; - skipConditions2.AetheryteShortcutIf = obj58; - obj57.SkipConditions = skipConditions2; - reference64 = obj57; - obj56.Steps = list81; - reference63 = obj56; - ref QuestSequence reference65 = ref span36[1]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.Interact, 1005516u, new Vector3(-46.0365f, 40f, 63.767456f), 128); - obj59.Steps = list83; - reference65 = obj59; - ref QuestSequence reference66 = ref span36[2]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.Emote, 1005515u, new Vector3(-44.449524f, 39.999996f, 61.81433f), 128) - { - Emote = EEmote.Doubt - }; - obj60.Steps = list84; - reference66 = obj60; - ref QuestSequence reference67 = ref span36[3]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - Span span37 = CollectionsMarshal.AsSpan(list85); - ref QuestStep reference68 = ref span37[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1001000u, new Vector3(-32.028687f, 41.499985f, 208.39233f), 128); - num3 = 6; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - Span span38 = CollectionsMarshal.AsSpan(list86); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list86; - reference68 = questStep8; - ref QuestStep reference69 = ref span37[1]; - QuestStep obj62 = new QuestStep(EInteractionType.Interact, 1000153u, new Vector3(-44.87683f, -1.2500024f, 56.839844f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - num3 = 6; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - Span span39 = CollectionsMarshal.AsSpan(list87); - span39[0] = null; - span39[1] = null; - span39[2] = null; - span39[3] = null; - span39[4] = null; - span39[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj62.CompletionQuestVariablesFlags = list87; - reference69 = obj62; - ref QuestStep reference70 = ref span37[2]; - QuestStep obj63 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-103.88594f, 41.50016f, 119.898315f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAlchemist - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list88 = new List(num3); - CollectionsMarshal.SetCount(list88, num3); - Span span40 = CollectionsMarshal.AsSpan(list88); - span40[0] = null; - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list88; - skipConditions3.StepIf = skipStepConditions2; - obj63.SkipConditions = skipConditions3; - reference70 = obj63; - ref QuestStep reference71 = ref span37[3]; - QuestStep obj64 = new QuestStep(EInteractionType.Interact, 1002299u, new Vector3(-98.8938f, 40.200146f, 120.83618f), 131) - { - StopDistance = 7f - }; - num3 = 6; - List list89 = new List(num3); - CollectionsMarshal.SetCount(list89, num3); - Span span41 = CollectionsMarshal.AsSpan(list89); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj64.CompletionQuestVariablesFlags = list89; - reference71 = obj64; - obj61.Steps = list85; - reference67 = obj61; - ref QuestSequence reference72 = ref span36[4]; - QuestSequence obj65 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005515u, new Vector3(-44.449524f, 39.999996f, 61.81433f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj65.Steps = list90; - reference72 = obj65; - questRoot9.QuestSequence = list80; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(1211); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - CollectionsMarshal.AsSpan(list91)[0] = "liza"; - questRoot10.Author = list91; - num = 6; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - Span span42 = CollectionsMarshal.AsSpan(list92); - ref QuestSequence reference73 = ref span42[0]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005526u, new Vector3(-17.624268f, 70.450066f, -17.71582f), 137); - obj66.Steps = list93; - reference73 = obj66; - ref QuestSequence reference74 = ref span42[1]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - Span span43 = CollectionsMarshal.AsSpan(list94); - span43[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-71.69795f, 46.029457f, 178.39331f), 137) - { - StopDistance = 0.5f, - Fly = true - }; - span43[1] = new QuestStep(EInteractionType.Interact, 1005527u, new Vector3(-68.2536f, 46.91121f, 178.2406f), 137) - { - StopDistance = 5f - }; - obj67.Steps = list94; - reference74 = obj67; - ref QuestSequence reference75 = ref span42[2]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - Span span44 = CollectionsMarshal.AsSpan(list95); - span44[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(75.93634f, 80.86577f, -124.46211f), 137) - { - Fly = true - }; - span44[1] = new QuestStep(EInteractionType.Interact, 1005528u, new Vector3(624.2312f, -3.0527444f, 165.27039f), 139) - { - StopDistance = 0.5f, - Fly = true - }; - obj68.Steps = list95; - reference75 = obj68; - ref QuestSequence reference76 = ref span42[3]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - ref QuestStep reference77 = ref CollectionsMarshal.AsSpan(list96)[0]; - QuestStep obj70 = new QuestStep(EInteractionType.Combat, 2003139u, new Vector3(600.5187f, -2.5177612f, 173.11353f), 139) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list97 = new List(num3); - CollectionsMarshal.SetCount(list97, num3); - Span span45 = CollectionsMarshal.AsSpan(list97); - span45[0] = 2437u; - span45[1] = 2438u; - obj70.KillEnemyDataIds = list97; - reference77 = obj70; - obj69.Steps = list96; - reference76 = obj69; - ref QuestSequence reference78 = ref span42[4]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.Interact, 2003007u, new Vector3(600.5187f, -2.3651733f, 173.11353f), 139); - obj71.Steps = list98; - reference78 = obj71; - ref QuestSequence reference79 = ref span42[5]; - QuestSequence obj72 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005528u, new Vector3(624.2312f, -3.0527444f, 165.27039f), 139); - obj72.Steps = list99; - reference79 = obj72; - questRoot10.QuestSequence = list92; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(1212); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - CollectionsMarshal.AsSpan(list100)[0] = "liza"; - questRoot11.Author = list100; - num = 5; - List list101 = new List(num); - CollectionsMarshal.SetCount(list101, num); - Span span46 = CollectionsMarshal.AsSpan(list101); - ref QuestSequence reference80 = ref span46[0]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - Span span47 = CollectionsMarshal.AsSpan(list102); - span47[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 148) - { - Aetheryte = EAetheryteLocation.CentralShroudBentbranchMeadows, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaBlueBadgerGate - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.CentralShroudBentbranchMeadows - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - AetheryteUnlocked = EAetheryteLocation.CentralShroudBentbranchMeadows - } - } - }; - span47[1] = new QuestStep(EInteractionType.AcceptQuest, 1000478u, new Vector3(11.642578f, -1.0223389f, 21.072632f), 148) - { - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true, - AetheryteLocked = EAetheryteLocation.CentralShroudBentbranchMeadows - } - } - }; - obj73.Steps = list102; - reference80 = obj73; - ref QuestSequence reference81 = ref span46[1]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.Interact, 1005530u, new Vector3(186.57202f, -32.23455f, 327.8706f), 148) - { - Fly = true - }; - obj74.Steps = list103; - reference81 = obj74; - ref QuestSequence reference82 = ref span46[2]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - ref QuestStep reference83 = ref CollectionsMarshal.AsSpan(list104)[0]; - QuestStep obj76 = new QuestStep(EInteractionType.Interact, 1005656u, new Vector3(200.3357f, -32.043697f, 323.7506f), 148) - { - TargetTerritoryId = (ushort)340 - }; - num3 = 1; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - CollectionsMarshal.AsSpan(list105)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Addon", - Prompt = new ExcelRef(6347u), - Answer = new ExcelRef(6403u) - }; - obj76.DialogueChoices = list105; - reference83 = obj76; - obj75.Steps = list104; - reference82 = obj75; - ref QuestSequence reference84 = ref span46[3]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.Interact, 1005879u, new Vector3(0.8086548f, 2.8884888f, 181.99426f), 340); - obj77.Steps = list106; - reference84 = obj77; - ref QuestSequence reference85 = ref span46[4]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000478u, new Vector3(11.642578f, -1.0223389f, 21.072632f), 148) - { - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows - }; - obj78.Steps = list107; - reference85 = obj78; - questRoot11.QuestSequence = list101; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(1213); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - CollectionsMarshal.AsSpan(list108)[0] = "liza"; - questRoot12.Author = list108; - num = 5; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - Span span48 = CollectionsMarshal.AsSpan(list109); - ref QuestSequence reference86 = ref span48[0]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - ref QuestStep reference87 = ref CollectionsMarshal.AsSpan(list110)[0]; - QuestStep obj80 = new QuestStep(EInteractionType.AcceptQuest, 1002001u, new Vector3(228.47327f, 52.038116f, 133.1654f), 140) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGateOfTheSultana - } - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition obj81 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list111 = new List(num3); - CollectionsMarshal.SetCount(list111, num3); - CollectionsMarshal.AsSpan(list111)[0] = 140; - obj81.InTerritory = list111; - skipConditions4.AetheryteShortcutIf = obj81; - obj80.SkipConditions = skipConditions4; - reference87 = obj80; - obj79.Steps = list110; - reference86 = obj79; - ref QuestSequence reference88 = ref span48[1]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.Interact, 1005531u, new Vector3(320.88184f, 67.27533f, 232.47119f), 140) - { - Fly = true - }; - obj82.Steps = list112; - reference88 = obj82; - ref QuestSequence reference89 = ref span48[2]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - ref QuestStep reference90 = ref CollectionsMarshal.AsSpan(list113)[0]; - QuestStep obj84 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(316.94064f, 67.1549f, 237f), 140) - { - TargetTerritoryId = (ushort)341 - }; - num3 = 1; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - CollectionsMarshal.AsSpan(list114)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Addon", - Prompt = new ExcelRef(6347u), - Answer = new ExcelRef(6349u) - }; - obj84.DialogueChoices = list114; - reference90 = obj84; - obj83.Steps = list113; - reference89 = obj83; - ref QuestSequence reference91 = ref span48[3]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.Interact, 1005880u, new Vector3(5.416931f, -11.076667f, -187.94543f), 341); - obj85.Steps = list115; - reference91 = obj85; - ref QuestSequence reference92 = ref span48[4]; - QuestSequence obj86 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - Span span49 = CollectionsMarshal.AsSpan(list116); - ref QuestStep reference93 = ref span49[0]; - QuestStep obj87 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-12.7114315f, -11.076661f, -199.92712f), 341) - { - TargetTerritoryId = (ushort)140 - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - CollectionsMarshal.AsSpan(list117)[0] = 341; - skipStepConditions3.NotInTerritory = list117; - skipConditions5.StepIf = skipStepConditions3; - obj87.SkipConditions = skipConditions5; - num3 = 1; - List list118 = new List(num3); - CollectionsMarshal.SetCount(list118, num3); - CollectionsMarshal.AsSpan(list118)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Addon", - Prompt = new ExcelRef(6347u), - Answer = new ExcelRef(6403u) - }; - obj87.DialogueChoices = list118; - reference93 = obj87; - ref QuestStep reference94 = ref span49[1]; - QuestStep obj88 = new QuestStep(EInteractionType.CompleteQuest, 1002001u, new Vector3(228.47327f, 52.038116f, 133.1654f), 140) - { - DelaySecondsAtStart = 3f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGateOfTheSultana - } - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipAetheryteCondition obj89 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - CollectionsMarshal.AsSpan(list119)[0] = 140; - obj89.InTerritory = list119; - skipConditions6.AetheryteShortcutIf = obj89; - obj88.SkipConditions = skipConditions6; - reference94 = obj88; - obj86.Steps = list116; - reference92 = obj86; - questRoot12.QuestSequence = list109; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(1214); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list120 = new List(num); - CollectionsMarshal.SetCount(list120, num); - CollectionsMarshal.AsSpan(list120)[0] = "liza"; - questRoot13.Author = list120; - num = 5; - List list121 = new List(num); - CollectionsMarshal.SetCount(list121, num); - Span span50 = CollectionsMarshal.AsSpan(list121); - ref QuestSequence reference95 = ref span50[0]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - ref QuestStep reference96 = ref CollectionsMarshal.AsSpan(list122)[0]; - QuestStep obj91 = new QuestStep(EInteractionType.AcceptQuest, 1002579u, new Vector3(508.01855f, 79.171745f, -61.96692f), 135) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaTempestGate - } - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipAetheryteCondition obj92 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - CollectionsMarshal.AsSpan(list123)[0] = 135; - obj92.InTerritory = list123; - skipConditions7.AetheryteShortcutIf = obj92; - obj91.SkipConditions = skipConditions7; - reference96 = obj91; - obj90.Steps = list122; - reference95 = obj90; - ref QuestSequence reference97 = ref span50[1]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.Interact, 1005529u, new Vector3(593.225f, 61.734455f, -113.96973f), 135) - { - Fly = true - }; - obj93.Steps = list124; - reference97 = obj93; - ref QuestSequence reference98 = ref span50[2]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - ref QuestStep reference99 = ref CollectionsMarshal.AsSpan(list125)[0]; - QuestStep obj95 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(598.26843f, 61.502148f, -105f), 135) - { - TargetTerritoryId = (ushort)339 - }; - num3 = 1; - List list126 = new List(num3); - CollectionsMarshal.SetCount(list126, num3); - CollectionsMarshal.AsSpan(list126)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Addon", - Prompt = new ExcelRef(6347u), - Answer = new ExcelRef(6403u) - }; - obj95.DialogueChoices = list126; - reference99 = obj95; - obj94.Steps = list125; - reference98 = obj94; - ref QuestSequence reference100 = ref span50[3]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.Interact, 1005881u, new Vector3(-18.631348f, 49.025185f, -113.42035f), 339); - obj96.Steps = list127; - reference100 = obj96; - ref QuestSequence reference101 = ref span50[4]; - QuestSequence obj97 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - Span span51 = CollectionsMarshal.AsSpan(list128); - ref QuestStep reference102 = ref span51[0]; - QuestStep obj98 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-9.527806f, 50.23951f, -129.5499f), 339) - { - DisableNavmesh = true - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 1; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - CollectionsMarshal.AsSpan(list129)[0] = 339; - skipStepConditions4.NotInTerritory = list129; - skipConditions8.StepIf = skipStepConditions4; - obj98.SkipConditions = skipConditions8; - reference102 = obj98; - ref QuestStep reference103 = ref span51[1]; - QuestStep obj99 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-9.739164f, 48.345356f, -171f), 339) - { - TargetTerritoryId = (ushort)135, - DisableNavmesh = true - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 1; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - CollectionsMarshal.AsSpan(list130)[0] = 339; - skipStepConditions5.NotInTerritory = list130; - skipConditions9.StepIf = skipStepConditions5; - obj99.SkipConditions = skipConditions9; - num3 = 1; - List list131 = new List(num3); - CollectionsMarshal.SetCount(list131, num3); - CollectionsMarshal.AsSpan(list131)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Addon", - Prompt = new ExcelRef(6347u), - Answer = new ExcelRef(6403u) - }; - obj99.DialogueChoices = list131; - reference103 = obj99; - ref QuestStep reference104 = ref span51[2]; - QuestStep obj100 = new QuestStep(EInteractionType.CompleteQuest, 1002579u, new Vector3(508.01855f, 79.171745f, -61.96692f), 135) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaTempestGate - } - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipAetheryteCondition obj101 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - CollectionsMarshal.AsSpan(list132)[0] = 135; - obj101.InTerritory = list132; - skipConditions10.AetheryteShortcutIf = obj101; - obj100.SkipConditions = skipConditions10; - reference104 = obj100; - obj97.Steps = list128; - reference101 = obj97; - questRoot13.QuestSequence = list121; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(1217); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list133 = new List(num); - CollectionsMarshal.SetCount(list133, num); - CollectionsMarshal.AsSpan(list133)[0] = "liza"; - questRoot14.Author = list133; - num = 4; - List list134 = new List(num); - CollectionsMarshal.SetCount(list134, num); - Span span52 = CollectionsMarshal.AsSpan(list134); - ref QuestSequence reference105 = ref span52[0]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.AcceptQuest, 1004576u, new Vector3(-141.64954f, 4.1f, -114.67157f), 130); - obj102.Steps = list135; - reference105 = obj102; - ref QuestSequence reference106 = ref span52[1]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.Interact, 1006217u, new Vector3(-181.04828f, 28.214073f, -402.02948f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - obj103.Steps = list136; - reference106 = obj103; - ref QuestSequence reference107 = ref span52[2]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - Span span53 = CollectionsMarshal.AsSpan(list137); - span53[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-150.9585f, 43.717075f, -345.03116f), 146) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span53[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(91.463745f, 10.278164f, -461.99072f), 146) - { - Fly = true - }; - span53[2] = new QuestStep(EInteractionType.Interact, 2002919u, new Vector3(90.958984f, 9.994568f, -460.41046f), 146); - obj104.Steps = list137; - reference107 = obj104; - ref QuestSequence reference108 = ref span52[3]; - QuestSequence obj105 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - Span span54 = CollectionsMarshal.AsSpan(list138); - span54[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(107.40087f, 15.010546f, -360.9872f), 146) - { - Fly = true - }; - span54[1] = new QuestStep(EInteractionType.CompleteQuest, 1005553u, new Vector3(122.6062f, 16.402647f, -362.11188f), 146) - { - NextQuestId = new QuestId(1218) - }; - obj105.Steps = list138; - reference108 = obj105; - questRoot14.QuestSequence = list134; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(1218); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - CollectionsMarshal.AsSpan(list139)[0] = "liza"; - questRoot15.Author = list139; - num = 5; - List list140 = new List(num); - CollectionsMarshal.SetCount(list140, num); - Span span55 = CollectionsMarshal.AsSpan(list140); - ref QuestSequence reference109 = ref span55[0]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005553u, new Vector3(122.6062f, 16.402647f, -362.11188f), 146); - obj106.Steps = list141; - reference109 = obj106; - ref QuestSequence reference110 = ref span55[1]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - Span span56 = CollectionsMarshal.AsSpan(list142); - span56[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(107.40087f, 15.010546f, -360.9872f), 146); - ref QuestStep reference111 = ref span56[1]; - QuestStep obj108 = new QuestStep(EInteractionType.Combat, 2002931u, new Vector3(-268.54352f, 4.7455444f, -77.16492f), 146) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - Span span57 = CollectionsMarshal.AsSpan(list143); - span57[0] = 2458u; - span57[1] = 2459u; - obj108.KillEnemyDataIds = list143; - reference111 = obj108; - obj107.Steps = list142; - reference110 = obj107; - ref QuestSequence reference112 = ref span55[2]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.Interact, 1005579u, new Vector3(-262.3789f, 4.4491196f, -75.791565f), 146); - obj109.Steps = list144; - reference112 = obj109; - ref QuestSequence reference113 = ref span55[3]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.Interact, 1005578u, new Vector3(89.00586f, 14.439478f, -387.77753f), 146) - { - Fly = true - }; - obj110.Steps = list145; - reference113 = obj110; - ref QuestSequence reference114 = ref span55[4]; - QuestSequence obj111 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - ref QuestStep reference115 = ref CollectionsMarshal.AsSpan(list146)[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.CompleteQuest, 1005553u, new Vector3(122.6062f, 16.402647f, -362.11188f), 146); - num3 = 1; - List list147 = new List(num3); - CollectionsMarshal.SetCount(list147, num3); - CollectionsMarshal.AsSpan(list147)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANAMA002_01218_SYSYTEM_Q1_000_1"), - Answer = new ExcelRef("TEXT_BANAMA002_01218_SYSYTEM_A1_000_1") - }; - questStep9.DialogueChoices = list147; - reference115 = questStep9; - obj111.Steps = list146; - reference114 = obj111; - questRoot15.QuestSequence = list140; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(1219); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list148 = new List(num); - CollectionsMarshal.SetCount(list148, num); - CollectionsMarshal.AsSpan(list148)[0] = "plogon_enjoyer"; - questRoot16.Author = list148; - num = 9; - List list149 = new List(num); - CollectionsMarshal.SetCount(list149, num); - Span span58 = CollectionsMarshal.AsSpan(list149); - ref QuestSequence reference116 = ref span58[0]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005553u, new Vector3(122.6062f, 16.402647f, -362.11188f), 146); - obj112.Steps = list150; - reference116 = obj112; - ref QuestSequence reference117 = ref span58[1]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.Interact, 1005581u, new Vector3(-55.985413f, -1.6554508f, -47.56244f), 146) - { - Fly = true - }; - obj113.Steps = list151; - reference117 = obj113; - ref QuestSequence reference118 = ref span58[2]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - Span span59 = CollectionsMarshal.AsSpan(list152); - span59[0] = new QuestStep(EInteractionType.Action, 2002949u, new Vector3(-70.17627f, 11.36792f, 97.0625f), 146) - { - Action = EAction.FieryBreath - }; - span59[1] = new QuestStep(EInteractionType.Action, 2002956u, new Vector3(-199.96954f, 5.661072f, 101.823364f), 146) - { - Action = EAction.FieryBreath - }; - span59[2] = new QuestStep(EInteractionType.Action, 2002950u, new Vector3(-118.0896f, 27.695068f, 126.97034f), 146) - { - Action = EAction.FieryBreath - }; - obj114.Steps = list152; - reference118 = obj114; - ref QuestSequence reference119 = ref span58[3]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.Interact, 1005585u, new Vector3(-114.64105f, 7.539109f, 308.82727f), 146); - obj115.Steps = list153; - reference119 = obj115; - ref QuestSequence reference120 = ref span58[4]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.Interact, 1005583u, new Vector3(-114.27484f, 7.6587763f, 310.01746f), 146); - obj116.Steps = list154; - reference120 = obj116; - ref QuestSequence reference121 = ref span58[5]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.Interact, 1005584u, new Vector3(-261.55493f, 7.084492f, 412.28345f), 146) - { - Fly = true - }; - obj117.Steps = list155; - reference121 = obj117; - ref QuestSequence reference122 = ref span58[6]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 6 - }; - num2 = 5; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - Span span60 = CollectionsMarshal.AsSpan(list156); - span60[0] = new QuestStep(EInteractionType.Interact, 1008284u, new Vector3(-306.44696f, 6.321288f, 392.5078f), 146) - { - Fly = true - }; - span60[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-365.44217f, 6.691126f, 395.09555f), 146) - { - Fly = true - }; - span60[2] = new QuestStep(EInteractionType.Interact, 1008287u, new Vector3(-366.10974f, 6.9095497f, 394.64404f), 146); - span60[3] = new QuestStep(EInteractionType.Interact, 1008285u, new Vector3(-319.50867f, 8.2855835f, 428.18335f), 146) - { - Fly = true - }; - span60[4] = new QuestStep(EInteractionType.Interact, 1008286u, new Vector3(-330.5562f, 8.096848f, 480.0641f), 146) - { - Fly = true - }; - obj118.Steps = list156; - reference122 = obj118; - ref QuestSequence reference123 = ref span58[7]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - Span span61 = CollectionsMarshal.AsSpan(list157); - span61[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-159.56685f, 23.290625f, -334.22568f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - span61[1] = new QuestStep(EInteractionType.Interact, 1005578u, new Vector3(89.00586f, 14.439478f, -387.77753f), 146) - { - Fly = true - }; - obj119.Steps = list157; - reference123 = obj119; - ref QuestSequence reference124 = ref span58[8]; - QuestSequence obj120 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005553u, new Vector3(122.6062f, 16.402647f, -362.11188f), 146) - { - Fly = true - }; - obj120.Steps = list158; - reference124 = obj120; - questRoot16.QuestSequence = list149; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(1222); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list159 = new List(num); - CollectionsMarshal.SetCount(list159, num); - CollectionsMarshal.AsSpan(list159)[0] = "plogon_enjoyer"; - questRoot17.Author = list159; - num = 3; - List list160 = new List(num); - CollectionsMarshal.SetCount(list160, num); - Span span62 = CollectionsMarshal.AsSpan(list160); - ref QuestSequence reference125 = ref span62[0]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005550u, new Vector3(105.27197f, 15.359643f, -357.3816f), 146); - obj121.Steps = list161; - reference125 = obj121; - ref QuestSequence reference126 = ref span62[1]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - Span span63 = CollectionsMarshal.AsSpan(list162); - ref QuestStep reference127 = ref span63[0]; - QuestStep obj123 = new QuestStep(EInteractionType.Combat, null, new Vector3(-84.12953f, -14.744684f, -148.0814f), 146) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list163 = new List(num3); - CollectionsMarshal.SetCount(list163, num3); - CollectionsMarshal.AsSpan(list163)[0] = new ComplexCombatData - { - DataId = 134u, - MinimumKillCount = 2u - }; - obj123.ComplexCombatData = list163; - reference127 = obj123; - ref QuestStep reference128 = ref span63[1]; - QuestStep obj124 = new QuestStep(EInteractionType.Combat, null, new Vector3(-253.56975f, 6.8785334f, 162.0949f), 146) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - CollectionsMarshal.AsSpan(list164)[0] = new ComplexCombatData - { - DataId = 358u, - MinimumKillCount = 1u - }; - obj124.ComplexCombatData = list164; - reference128 = obj124; - obj122.Steps = list162; - reference126 = obj122; - ref QuestSequence reference129 = ref span62[2]; - QuestSequence obj125 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005550u, new Vector3(105.27197f, 15.359643f, -357.3816f), 146) - { - Fly = true - }; - obj125.Steps = list165; - reference129 = obj125; - questRoot17.QuestSequence = list160; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(1223); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list166 = new List(num); - CollectionsMarshal.SetCount(list166, num); - CollectionsMarshal.AsSpan(list166)[0] = "plogon_enjoyer"; - questRoot18.Author = list166; - num = 3; - List list167 = new List(num); - CollectionsMarshal.SetCount(list167, num); - Span span64 = CollectionsMarshal.AsSpan(list167); - ref QuestSequence reference130 = ref span64[0]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005550u, new Vector3(105.27197f, 15.359643f, -357.3816f), 146); - obj126.Steps = list168; - reference130 = obj126; - ref QuestSequence reference131 = ref span64[1]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - ref QuestStep reference132 = ref CollectionsMarshal.AsSpan(list169)[0]; - QuestStep obj128 = new QuestStep(EInteractionType.Combat, null, new Vector3(38.26816f, 2.6207216f, -275.37003f), 146) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list170 = new List(num3); - CollectionsMarshal.SetCount(list170, num3); - Span span65 = CollectionsMarshal.AsSpan(list170); - span65[0] = new ComplexCombatData - { - DataId = 742u, - MinimumKillCount = 2u - }; - span65[1] = new ComplexCombatData - { - DataId = 739u, - MinimumKillCount = 2u - }; - obj128.ComplexCombatData = list170; - reference132 = obj128; - obj127.Steps = list169; - reference131 = obj127; - ref QuestSequence reference133 = ref span64[2]; - QuestSequence obj129 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005550u, new Vector3(105.27197f, 15.359643f, -357.3816f), 146) - { - Fly = true - }; - obj129.Steps = list171; - reference133 = obj129; - questRoot18.QuestSequence = list167; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(1224); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list172 = new List(num); - CollectionsMarshal.SetCount(list172, num); - CollectionsMarshal.AsSpan(list172)[0] = "plogon_enjoyer"; - questRoot19.Author = list172; - num = 3; - List list173 = new List(num); - CollectionsMarshal.SetCount(list173, num); - Span span66 = CollectionsMarshal.AsSpan(list173); - ref QuestSequence reference134 = ref span66[0]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005550u, new Vector3(105.27197f, 15.359643f, -357.3816f), 146); - obj130.Steps = list174; - reference134 = obj130; - ref QuestSequence reference135 = ref span66[1]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - Span span67 = CollectionsMarshal.AsSpan(list175); - ref QuestStep reference136 = ref span67[0]; - QuestStep obj132 = new QuestStep(EInteractionType.Interact, 2002979u, new Vector3(-180.68213f, 6.301941f, -136.21735f), 146) - { - Fly = true, - Land = true - }; - num3 = 6; - List> list176 = new List>(num3); - CollectionsMarshal.SetCount(list176, num3); - Span> span68 = CollectionsMarshal.AsSpan(list176); - span68[0] = null; - ref List reference137 = ref span68[1]; - int num4 = 2; - List list177 = new List(num4); - CollectionsMarshal.SetCount(list177, num4); - Span span69 = CollectionsMarshal.AsSpan(list177); - span69[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span69[1] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference137 = list177; - span68[2] = null; - span68[3] = null; - span68[4] = null; - span68[5] = null; - obj132.RequiredQuestVariables = list176; - reference136 = obj132; - ref QuestStep reference138 = ref span67[1]; - QuestStep obj133 = new QuestStep(EInteractionType.Interact, 2002981u, new Vector3(-30.655396f, 8.651855f, -87.02222f), 146) - { - Fly = true, - Land = true - }; - num3 = 6; - List> list178 = new List>(num3); - CollectionsMarshal.SetCount(list178, num3); - Span> span70 = CollectionsMarshal.AsSpan(list178); - span70[0] = null; - ref List reference139 = ref span70[1]; - num4 = 2; - List list179 = new List(num4); - CollectionsMarshal.SetCount(list179, num4); - Span span71 = CollectionsMarshal.AsSpan(list179); - span71[0] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - span71[1] = new QuestWorkValue((byte)1, (byte)1, EQuestWorkMode.Bitwise); - reference139 = list179; - span70[2] = null; - span70[3] = null; - span70[4] = null; - span70[5] = null; - obj133.RequiredQuestVariables = list178; - reference138 = obj133; - ref QuestStep reference140 = ref span67[2]; - QuestStep obj134 = new QuestStep(EInteractionType.Interact, 2002982u, new Vector3(-116.44165f, -0.3204956f, -34.40918f), 146) - { - Fly = true, - Land = true - }; - num3 = 6; - List> list180 = new List>(num3); - CollectionsMarshal.SetCount(list180, num3); - Span> span72 = CollectionsMarshal.AsSpan(list180); - span72[0] = null; - ref List reference141 = ref span72[1]; - num4 = 2; - List list181 = new List(num4); - CollectionsMarshal.SetCount(list181, num4); - Span span73 = CollectionsMarshal.AsSpan(list181); - span73[0] = new QuestWorkValue((byte)1, (byte)2, EQuestWorkMode.Bitwise); - span73[1] = new QuestWorkValue((byte)1, (byte)4, EQuestWorkMode.Bitwise); - reference141 = list181; - span72[2] = null; - span72[3] = null; - span72[4] = null; - span72[5] = null; - obj134.RequiredQuestVariables = list180; - reference140 = obj134; - ref QuestStep reference142 = ref span67[3]; - QuestStep obj135 = new QuestStep(EInteractionType.Interact, 2002985u, new Vector3(-41.031555f, 0.16778564f, 15.915161f), 146) - { - Fly = true, - Land = true - }; - num3 = 6; - List> list182 = new List>(num3); - CollectionsMarshal.SetCount(list182, num3); - Span> span74 = CollectionsMarshal.AsSpan(list182); - span74[0] = null; - ref List reference143 = ref span74[1]; - num4 = 3; - List list183 = new List(num4); - CollectionsMarshal.SetCount(list183, num4); - Span span75 = CollectionsMarshal.AsSpan(list183); - span75[0] = new QuestWorkValue((byte)2, (byte)1, EQuestWorkMode.Bitwise); - span75[1] = new QuestWorkValue((byte)2, (byte)2, EQuestWorkMode.Bitwise); - span75[2] = new QuestWorkValue((byte)2, (byte)4, EQuestWorkMode.Bitwise); - reference143 = list183; - span74[2] = null; - span74[3] = null; - span74[4] = null; - span74[5] = null; - obj135.RequiredQuestVariables = list182; - reference142 = obj135; - ref QuestStep reference144 = ref span67[4]; - QuestStep obj136 = new QuestStep(EInteractionType.Interact, 2002986u, new Vector3(-78.81293f, -1.083435f, 44.052734f), 146) - { - Fly = true, - Land = true - }; - num3 = 6; - List> list184 = new List>(num3); - CollectionsMarshal.SetCount(list184, num3); - Span> span76 = CollectionsMarshal.AsSpan(list184); - span76[0] = null; - ref List reference145 = ref span76[1]; - num4 = 3; - List list185 = new List(num4); - CollectionsMarshal.SetCount(list185, num4); - Span span77 = CollectionsMarshal.AsSpan(list185); - span77[0] = new QuestWorkValue((byte)3, (byte)1, EQuestWorkMode.Bitwise); - span77[1] = new QuestWorkValue((byte)3, (byte)2, EQuestWorkMode.Bitwise); - span77[2] = new QuestWorkValue((byte)3, (byte)4, EQuestWorkMode.Bitwise); - reference145 = list185; - span76[2] = null; - span76[3] = null; - span76[4] = null; - span76[5] = null; - obj136.RequiredQuestVariables = list184; - reference144 = obj136; - obj131.Steps = list175; - reference135 = obj131; - ref QuestSequence reference146 = ref span66[2]; - QuestSequence obj137 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005550u, new Vector3(105.27197f, 15.359643f, -357.3816f), 146) - { - Fly = true - }; - obj137.Steps = list186; - reference146 = obj137; - questRoot19.QuestSequence = list173; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(1225); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list187 = new List(num); - CollectionsMarshal.SetCount(list187, num); - CollectionsMarshal.AsSpan(list187)[0] = "plogon_enjoyer"; - questRoot20.Author = list187; - num = 3; - List list188 = new List(num); - CollectionsMarshal.SetCount(list188, num); - Span span78 = CollectionsMarshal.AsSpan(list188); - ref QuestSequence reference147 = ref span78[0]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005550u, new Vector3(105.27197f, 15.359643f, -357.3816f), 146); - obj138.Steps = list189; - reference147 = obj138; - ref QuestSequence reference148 = ref span78[1]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - ref QuestStep reference149 = ref CollectionsMarshal.AsSpan(list190)[0]; - QuestStep obj140 = new QuestStep(EInteractionType.Combat, null, new Vector3(-40.402416f, -1.1266766f, 0.71999836f), 146) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list191 = new List(num3); - CollectionsMarshal.SetCount(list191, num3); - Span span79 = CollectionsMarshal.AsSpan(list191); - span79[0] = new ComplexCombatData - { - DataId = 358u, - MinimumKillCount = 3u - }; - span79[1] = new ComplexCombatData - { - DataId = 2451u, - MinimumKillCount = 1u - }; - obj140.ComplexCombatData = list191; - reference149 = obj140; - obj139.Steps = list190; - reference148 = obj139; - ref QuestSequence reference150 = ref span78[2]; - QuestSequence obj141 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005550u, new Vector3(105.27197f, 15.359643f, -357.3816f), 146) - { - Fly = true - }; - obj141.Steps = list192; - reference150 = obj141; - questRoot20.QuestSequence = list188; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(1226); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list193 = new List(num); - CollectionsMarshal.SetCount(list193, num); - CollectionsMarshal.AsSpan(list193)[0] = "plogon_enjoyer"; - questRoot21.Author = list193; - num = 4; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - Span span80 = CollectionsMarshal.AsSpan(list194); - ref QuestSequence reference151 = ref span80[0]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005550u, new Vector3(105.27197f, 15.359643f, -357.3816f), 146); - obj142.Steps = list195; - reference151 = obj142; - ref QuestSequence reference152 = ref span80[1]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.Interact, 1008327u, new Vector3(45.303955f, 4f, -345.11334f), 146) - { - Fly = true - }; - obj143.Steps = list196; - reference152 = obj143; - span80[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference153 = ref span80[3]; - QuestSequence obj144 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005550u, new Vector3(105.27197f, 15.359643f, -357.3816f), 146) - { - Fly = true - }; - obj144.Steps = list197; - reference153 = obj144; - questRoot21.QuestSequence = list194; - AddQuest(questId21, questRoot21); - AddQuest(new QuestId(1227), new QuestRoot - { - Disabled = true, - QuestSequence = new List() - }); - QuestId questId22 = new QuestId(1228); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list198 = new List(num); - CollectionsMarshal.SetCount(list198, num); - CollectionsMarshal.AsSpan(list198)[0] = "plogon_enjoyer"; - questRoot22.Author = list198; - num = 3; - List list199 = new List(num); - CollectionsMarshal.SetCount(list199, num); - Span span81 = CollectionsMarshal.AsSpan(list199); - ref QuestSequence reference154 = ref span81[0]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005550u, new Vector3(105.27197f, 15.359643f, -357.3816f), 146); - obj145.Steps = list200; - reference154 = obj145; - ref QuestSequence reference155 = ref span81[1]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - Span span82 = CollectionsMarshal.AsSpan(list201); - ref QuestStep reference156 = ref span82[0]; - QuestStep obj147 = new QuestStep(EInteractionType.Combat, 2003169u, new Vector3(-191.18036f, 3.6774292f, -162.00513f), 146) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list202 = new List(num3); - CollectionsMarshal.SetCount(list202, num3); - CollectionsMarshal.AsSpan(list202)[0] = 80u; - obj147.KillEnemyDataIds = list202; - reference156 = obj147; - span82[1] = new QuestStep(EInteractionType.UseItem, 80u, new Vector3(-198.6194f, 4.4395595f, -156.7357f), 146) - { - ItemId = 2001191u - }; - ref QuestStep reference157 = ref span82[2]; - QuestStep obj148 = new QuestStep(EInteractionType.Combat, 2003168u, new Vector3(-155.44366f, 3.8604736f, -132.21948f), 146) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list203 = new List(num3); - CollectionsMarshal.SetCount(list203, num3); - CollectionsMarshal.AsSpan(list203)[0] = 80u; - obj148.KillEnemyDataIds = list203; - reference157 = obj148; - span82[3] = new QuestStep(EInteractionType.UseItem, 80u, new Vector3(-159.83832f, 4.2440715f, -136.43097f), 146) - { - ItemId = 2001191u - }; - ref QuestStep reference158 = ref span82[4]; - QuestStep obj149 = new QuestStep(EInteractionType.Combat, 2003172u, new Vector3(-19.36377f, 0.47296143f, 15.182739f), 146) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list204 = new List(num3); - CollectionsMarshal.SetCount(list204, num3); - CollectionsMarshal.AsSpan(list204)[0] = 80u; - obj149.KillEnemyDataIds = list204; - reference158 = obj149; - span82[5] = new QuestStep(EInteractionType.UseItem, 81u, new Vector3(-19.760498f, 0.97421986f, 19.790894f), 146) - { - ItemId = 2001191u - }; - obj146.Steps = list201; - reference155 = obj146; - ref QuestSequence reference159 = ref span81[2]; - QuestSequence obj150 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005550u, new Vector3(105.27197f, 15.359643f, -357.3816f), 146) - { - Fly = true - }; - obj150.Steps = list205; - reference159 = obj150; - questRoot22.QuestSequence = list199; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(1230); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list206 = new List(num); - CollectionsMarshal.SetCount(list206, num); - CollectionsMarshal.AsSpan(list206)[0] = "plogon_enjoyer"; - questRoot23.Author = list206; - num = 3; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - Span span83 = CollectionsMarshal.AsSpan(list207); - ref QuestSequence reference160 = ref span83[0]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005550u, new Vector3(105.27197f, 15.359643f, -357.3816f), 146); - obj151.Steps = list208; - reference160 = obj151; - ref QuestSequence reference161 = ref span83[1]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - Span span84 = CollectionsMarshal.AsSpan(list209); - ref QuestStep reference162 = ref span84[0]; - QuestStep obj153 = new QuestStep(EInteractionType.Interact, 2003141u, new Vector3(-22.537598f, 3.616333f, -44.663208f), 146) - { - Fly = true - }; - num3 = 6; - List> list210 = new List>(num3); - CollectionsMarshal.SetCount(list210, num3); - Span> span85 = CollectionsMarshal.AsSpan(list210); - span85[0] = null; - span85[1] = null; - span85[2] = null; - ref List reference163 = ref span85[3]; - num4 = 3; - List list211 = new List(num4); - CollectionsMarshal.SetCount(list211, num4); - Span span86 = CollectionsMarshal.AsSpan(list211); - span86[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - span86[1] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - span86[2] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - reference163 = list211; - span85[4] = null; - span85[5] = null; - obj153.RequiredQuestVariables = list210; - reference162 = obj153; - ref QuestStep reference164 = ref span84[1]; - QuestStep obj154 = new QuestStep(EInteractionType.Interact, 2003148u, new Vector3(15.27417f, 2.1820068f, 22.9953f), 146) - { - Fly = true - }; - num3 = 6; - List> list212 = new List>(num3); - CollectionsMarshal.SetCount(list212, num3); - Span> span87 = CollectionsMarshal.AsSpan(list212); - span87[0] = null; - span87[1] = null; - span87[2] = null; - ref List reference165 = ref span87[3]; - num4 = 3; - List list213 = new List(num4); - CollectionsMarshal.SetCount(list213, num4); - Span span88 = CollectionsMarshal.AsSpan(list213); - span88[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span88[1] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - span88[2] = new QuestWorkValue(0, (byte)5, EQuestWorkMode.Bitwise); - reference165 = list213; - span87[4] = null; - span87[5] = null; - obj154.RequiredQuestVariables = list212; - reference164 = obj154; - ref QuestStep reference166 = ref span84[2]; - QuestStep obj155 = new QuestStep(EInteractionType.Interact, 2003147u, new Vector3(25.192627f, 2.8533936f, 10.788086f), 146) - { - Fly = true - }; - num3 = 6; - List> list214 = new List>(num3); - CollectionsMarshal.SetCount(list214, num3); - Span> span89 = CollectionsMarshal.AsSpan(list214); - span89[0] = null; - span89[1] = null; - span89[2] = null; - ref List reference167 = ref span89[3]; - num4 = 3; - List list215 = new List(num4); - CollectionsMarshal.SetCount(list215, num4); - Span span90 = CollectionsMarshal.AsSpan(list215); - span90[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span90[1] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - span90[2] = new QuestWorkValue(0, (byte)5, EQuestWorkMode.Bitwise); - reference167 = list215; - span89[4] = null; - span89[5] = null; - obj155.RequiredQuestVariables = list214; - reference166 = obj155; - ref QuestStep reference168 = ref span84[3]; - QuestStep obj156 = new QuestStep(EInteractionType.Interact, 2003140u, new Vector3(-37.094727f, -0.5340576f, 14.90802f), 146) - { - Fly = true - }; - num3 = 6; - List> list216 = new List>(num3); - CollectionsMarshal.SetCount(list216, num3); - Span> span91 = CollectionsMarshal.AsSpan(list216); - span91[0] = null; - span91[1] = null; - span91[2] = null; - ref List reference169 = ref span91[3]; - num4 = 2; - List list217 = new List(num4); - CollectionsMarshal.SetCount(list217, num4); - Span span92 = CollectionsMarshal.AsSpan(list217); - span92[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - span92[1] = new QuestWorkValue(0, (byte)5, EQuestWorkMode.Bitwise); - reference169 = list217; - span91[4] = null; - span91[5] = null; - obj156.RequiredQuestVariables = list216; - reference168 = obj156; - ref QuestStep reference170 = ref span84[4]; - QuestStep obj157 = new QuestStep(EInteractionType.Interact, 2003136u, new Vector3(-52.99463f, -1.2055054f, 17.532532f), 146) - { - Fly = true - }; - num3 = 6; - List> list218 = new List>(num3); - CollectionsMarshal.SetCount(list218, num3); - Span> span93 = CollectionsMarshal.AsSpan(list218); - span93[0] = null; - span93[1] = null; - span93[2] = null; - ref List reference171 = ref span93[3]; - num4 = 4; - List list219 = new List(num4); - CollectionsMarshal.SetCount(list219, num4); - Span span94 = CollectionsMarshal.AsSpan(list219); - span94[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span94[1] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - span94[2] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - span94[3] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - reference171 = list219; - span93[4] = null; - span93[5] = null; - obj157.RequiredQuestVariables = list218; - reference170 = obj157; - ref QuestStep reference172 = ref span84[5]; - QuestStep obj158 = new QuestStep(EInteractionType.Combat, null, new Vector3(-52.99463f, -1.2055054f, 17.532532f), 146) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list220 = new List(num3); - CollectionsMarshal.SetCount(list220, num3); - Span span95 = CollectionsMarshal.AsSpan(list220); - span95[0] = new ComplexCombatData - { - DataId = 740u, - MinimumKillCount = 1u - }; - span95[1] = new ComplexCombatData - { - DataId = 741u, - MinimumKillCount = 1u - }; - obj158.ComplexCombatData = list220; - reference172 = obj158; - obj152.Steps = list209; - reference161 = obj152; - ref QuestSequence reference173 = ref span83[2]; - QuestSequence obj159 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - Span span96 = CollectionsMarshal.AsSpan(list221); - span96[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-124.393555f, -2.04119f, 36.344994f), 146); - span96[1] = new QuestStep(EInteractionType.CompleteQuest, 1005550u, new Vector3(105.27197f, 15.359643f, -357.3816f), 146) - { - DelaySecondsAtStart = 3f, - Fly = true - }; - obj159.Steps = list221; - reference173 = obj159; - questRoot23.QuestSequence = list207; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(1231); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list222 = new List(num); - CollectionsMarshal.SetCount(list222, num); - CollectionsMarshal.AsSpan(list222)[0] = "plogon_enjoyer"; - questRoot24.Author = list222; - num = 3; - List list223 = new List(num); - CollectionsMarshal.SetCount(list223, num); - Span span97 = CollectionsMarshal.AsSpan(list223); - ref QuestSequence reference174 = ref span97[0]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005550u, new Vector3(105.27197f, 15.359643f, -357.3816f), 146); - obj160.Steps = list224; - reference174 = obj160; - ref QuestSequence reference175 = ref span97[1]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - ref QuestStep reference176 = ref CollectionsMarshal.AsSpan(list225)[0]; - QuestStep obj162 = new QuestStep(EInteractionType.Combat, null, new Vector3(-9.631764f, 4.530592f, -52.115612f), 146) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list226 = new List(num3); - CollectionsMarshal.SetCount(list226, num3); - CollectionsMarshal.AsSpan(list226)[0] = new ComplexCombatData - { - DataId = 2452u, - MinimumKillCount = 2u - }; - obj162.ComplexCombatData = list226; - reference176 = obj162; - obj161.Steps = list225; - reference175 = obj161; - ref QuestSequence reference177 = ref span97[2]; - QuestSequence obj163 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - Span span98 = CollectionsMarshal.AsSpan(list227); - span98[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-74.8761f, -1.9533517f, -51.731575f), 146); - span98[1] = new QuestStep(EInteractionType.CompleteQuest, 1005550u, new Vector3(105.27197f, 15.359643f, -357.3816f), 146) - { - Fly = true - }; - obj163.Steps = list227; - reference177 = obj163; - questRoot24.QuestSequence = list223; - AddQuest(questId24, questRoot24); - AddQuest(new QuestId(1234), new QuestRoot - { - Disabled = true, - Comment = "WIP too many cases", - QuestSequence = new List() - }); - AddQuest(new QuestId(1235), new QuestRoot - { - Disabled = true, - QuestSequence = new List() - }); - QuestId questId25 = new QuestId(1236); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list228 = new List(num); - CollectionsMarshal.SetCount(list228, num); - CollectionsMarshal.AsSpan(list228)[0] = "plogon_enjoyer"; - questRoot25.Author = list228; - num = 4; - List list229 = new List(num); - CollectionsMarshal.SetCount(list229, num); - Span span99 = CollectionsMarshal.AsSpan(list229); - ref QuestSequence reference178 = ref span99[0]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005551u, new Vector3(98.924194f, 15.29447f, -349.4469f), 146); - obj164.Steps = list230; - reference178 = obj164; - ref QuestSequence reference179 = ref span99[1]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.Interact, 1005848u, new Vector3(-101.487854f, 8.097177f, 403.28064f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings - }; - obj165.Steps = list231; - reference179 = obj165; - ref QuestSequence reference180 = ref span99[2]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - Span span100 = CollectionsMarshal.AsSpan(list232); - ref QuestStep reference181 = ref span100[0]; - QuestStep obj167 = new QuestStep(EInteractionType.Action, 2003353u, new Vector3(-248.0965f, 2.8533936f, 675.95935f), 146) - { - Action = EAction.FieryBreath - }; - num3 = 6; - List> list233 = new List>(num3); - CollectionsMarshal.SetCount(list233, num3); - Span> span101 = CollectionsMarshal.AsSpan(list233); - span101[0] = null; - span101[1] = null; - span101[2] = null; - ref List reference182 = ref span101[3]; - num4 = 1; - List list234 = new List(num4); - CollectionsMarshal.SetCount(list234, num4); - CollectionsMarshal.AsSpan(list234)[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - reference182 = list234; - span101[4] = null; - span101[5] = null; - obj167.RequiredQuestVariables = list233; - reference181 = obj167; - ref QuestStep reference183 = ref span100[1]; - QuestStep obj168 = new QuestStep(EInteractionType.Action, 2003354u, new Vector3(-132.03638f, -1.449646f, 778.8052f), 146) - { - Action = EAction.FieryBreath - }; - num3 = 6; - List> list235 = new List>(num3); - CollectionsMarshal.SetCount(list235, num3); - Span> span102 = CollectionsMarshal.AsSpan(list235); - span102[0] = null; - span102[1] = null; - span102[2] = null; - ref List reference184 = ref span102[3]; - num4 = 2; - List list236 = new List(num4); - CollectionsMarshal.SetCount(list236, num4); - Span span103 = CollectionsMarshal.AsSpan(list236); - span103[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span103[1] = new QuestWorkValue(0, (byte)5, EQuestWorkMode.Bitwise); - reference184 = list236; - span102[4] = null; - span102[5] = null; - obj168.RequiredQuestVariables = list235; - reference183 = obj168; - ref QuestStep reference185 = ref span100[2]; - QuestStep obj169 = new QuestStep(EInteractionType.Action, 2003356u, new Vector3(78.446655f, 14.328186f, 589.9595f), 146) - { - Action = EAction.FieryBreath - }; - num3 = 6; - List> list237 = new List>(num3); - CollectionsMarshal.SetCount(list237, num3); - Span> span104 = CollectionsMarshal.AsSpan(list237); - span104[0] = null; - span104[1] = null; - span104[2] = null; - ref List reference186 = ref span104[3]; - num4 = 2; - List list238 = new List(num4); - CollectionsMarshal.SetCount(list238, num4); - Span span105 = CollectionsMarshal.AsSpan(list238); - span105[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span105[1] = new QuestWorkValue(0, (byte)5, EQuestWorkMode.Bitwise); - reference186 = list238; - span104[4] = null; - span104[5] = null; - obj169.RequiredQuestVariables = list237; - reference185 = obj169; - ref QuestStep reference187 = ref span100[3]; - QuestStep obj170 = new QuestStep(EInteractionType.Action, 2003357u, new Vector3(179.9801f, 6.6376343f, 601.15967f), 146) - { - Action = EAction.FieryBreath - }; - num3 = 6; - List> list239 = new List>(num3); - CollectionsMarshal.SetCount(list239, num3); - Span> span106 = CollectionsMarshal.AsSpan(list239); - span106[0] = null; - span106[1] = null; - span106[2] = null; - ref List reference188 = ref span106[3]; - num4 = 1; - List list240 = new List(num4); - CollectionsMarshal.SetCount(list240, num4); - CollectionsMarshal.AsSpan(list240)[0] = new QuestWorkValue(0, (byte)5, EQuestWorkMode.Bitwise); - reference188 = list240; - span106[4] = null; - span106[5] = null; - obj170.RequiredQuestVariables = list239; - reference187 = obj170; - obj166.Steps = list232; - reference180 = obj166; - ref QuestSequence reference189 = ref span99[3]; - QuestSequence obj171 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - Span span107 = CollectionsMarshal.AsSpan(list241); - span107[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-56.11375f, 25.301596f, -391.2648f), 146) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - span107[1] = new QuestStep(EInteractionType.CompleteQuest, 1005551u, new Vector3(98.924194f, 15.29447f, -349.4469f), 146) - { - Fly = true - }; - obj171.Steps = list241; - reference189 = obj171; - questRoot25.QuestSequence = list229; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(1240); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list242 = new List(num); - CollectionsMarshal.SetCount(list242, num); - CollectionsMarshal.AsSpan(list242)[0] = "plogon_enjoyer"; - questRoot26.Author = list242; - num = 5; - List list243 = new List(num); - CollectionsMarshal.SetCount(list243, num); - Span span108 = CollectionsMarshal.AsSpan(list243); - ref QuestSequence reference190 = ref span108[0]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005551u, new Vector3(98.924194f, 15.29447f, -349.4469f), 146); - obj172.Steps = list244; - reference190 = obj172; - ref QuestSequence reference191 = ref span108[1]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.Interact, 1005745u, new Vector3(22.720581f, 4.240738f, -443.07623f), 146) - { - Fly = true - }; - obj173.Steps = list245; - reference191 = obj173; - ref QuestSequence reference192 = ref span108[2]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 2 - }; - num2 = 11; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - Span span109 = CollectionsMarshal.AsSpan(list246); - span109[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-126.48953f, 27.57419f, 138.61473f), 146) - { - Fly = true - }; - ref QuestStep reference193 = ref span109[1]; - QuestStep obj175 = new QuestStep(EInteractionType.Interact, 2003048u, new Vector3(-136.85822f, 18.753235f, 116.50256f), 146) - { - Mount = true - }; - num3 = 6; - List> list247 = new List>(num3); - CollectionsMarshal.SetCount(list247, num3); - Span> span110 = CollectionsMarshal.AsSpan(list247); - span110[0] = null; - span110[1] = null; - ref List reference194 = ref span110[2]; - num4 = 2; - List list248 = new List(num4); - CollectionsMarshal.SetCount(list248, num4); - Span span111 = CollectionsMarshal.AsSpan(list248); - span111[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span111[1] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference194 = list248; - span110[3] = null; - span110[4] = null; - span110[5] = null; - obj175.RequiredQuestVariables = list247; - reference193 = obj175; - ref QuestStep reference195 = ref span109[2]; - QuestStep obj176 = new QuestStep(EInteractionType.Interact, 2003049u, new Vector3(-121.78229f, 28.732666f, 140.33716f), 146) - { - Mount = true - }; - num3 = 6; - List> list249 = new List>(num3); - CollectionsMarshal.SetCount(list249, num3); - Span> span112 = CollectionsMarshal.AsSpan(list249); - span112[0] = null; - span112[1] = null; - ref List reference196 = ref span112[2]; - num4 = 1; - List list250 = new List(num4); - CollectionsMarshal.SetCount(list250, num4); - CollectionsMarshal.AsSpan(list250)[0] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - reference196 = list250; - span112[3] = null; - span112[4] = null; - span112[5] = null; - obj176.RequiredQuestVariables = list249; - reference195 = obj176; - ref QuestStep reference197 = ref span109[3]; - QuestStep obj177 = new QuestStep(EInteractionType.Interact, 2003050u, new Vector3(-91.96619f, 43.07617f, 156.84741f), 146) - { - Mount = true - }; - num3 = 6; - List> list251 = new List>(num3); - CollectionsMarshal.SetCount(list251, num3); - Span> span113 = CollectionsMarshal.AsSpan(list251); - span113[0] = null; - span113[1] = null; - ref List reference198 = ref span113[2]; - num4 = 1; - List list252 = new List(num4); - CollectionsMarshal.SetCount(list252, num4); - CollectionsMarshal.AsSpan(list252)[0] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - reference198 = list252; - span113[3] = null; - span113[4] = null; - span113[5] = null; - obj177.RequiredQuestVariables = list251; - reference197 = obj177; - ref QuestStep reference199 = ref span109[4]; - QuestStep obj178 = new QuestStep(EInteractionType.Interact, 2003051u, new Vector3(-55.40558f, 42.526855f, 192.18738f), 146) - { - Mount = true - }; - num3 = 6; - List> list253 = new List>(num3); - CollectionsMarshal.SetCount(list253, num3); - Span> span114 = CollectionsMarshal.AsSpan(list253); - span114[0] = null; - span114[1] = null; - ref List reference200 = ref span114[2]; - num4 = 3; - List list254 = new List(num4); - CollectionsMarshal.SetCount(list254, num4); - Span span115 = CollectionsMarshal.AsSpan(list254); - span115[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span115[1] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - span115[2] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - reference200 = list254; - span114[3] = null; - span114[4] = null; - span114[5] = null; - obj178.RequiredQuestVariables = list253; - reference199 = obj178; - ref QuestStep reference201 = ref span109[5]; - QuestStep obj179 = new QuestStep(EInteractionType.Interact, 2003052u, new Vector3(6.668152f, 36.9115f, 207.01917f), 146) - { - Mount = true - }; - num3 = 6; - List> list255 = new List>(num3); - CollectionsMarshal.SetCount(list255, num3); - Span> span116 = CollectionsMarshal.AsSpan(list255); - span116[0] = null; - span116[1] = null; - ref List reference202 = ref span116[2]; - num4 = 1; - List list256 = new List(num4); - CollectionsMarshal.SetCount(list256, num4); - CollectionsMarshal.AsSpan(list256)[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference202 = list256; - span116[3] = null; - span116[4] = null; - span116[5] = null; - obj179.RequiredQuestVariables = list255; - reference201 = obj179; - ref QuestStep reference203 = ref span109[6]; - QuestStep obj180 = new QuestStep(EInteractionType.Interact, 2003053u, new Vector3(73.31958f, 31.784546f, 153.76514f), 146) - { - Mount = true - }; - num3 = 6; - List> list257 = new List>(num3); - CollectionsMarshal.SetCount(list257, num3); - Span> span117 = CollectionsMarshal.AsSpan(list257); - span117[0] = null; - span117[1] = null; - ref List reference204 = ref span117[2]; - num4 = 1; - List list258 = new List(num4); - CollectionsMarshal.SetCount(list258, num4); - CollectionsMarshal.AsSpan(list258)[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - reference204 = list258; - span117[3] = null; - span117[4] = null; - span117[5] = null; - obj180.RequiredQuestVariables = list257; - reference203 = obj180; - ref QuestStep reference205 = ref span109[7]; - QuestStep obj181 = new QuestStep(EInteractionType.Interact, 2003054u, new Vector3(79.42322f, 25.802979f, 208.66711f), 146) - { - Mount = true - }; - num3 = 6; - List> list259 = new List>(num3); - CollectionsMarshal.SetCount(list259, num3); - Span> span118 = CollectionsMarshal.AsSpan(list259); - span118[0] = null; - span118[1] = null; - ref List reference206 = ref span118[2]; - num4 = 2; - List list260 = new List(num4); - CollectionsMarshal.SetCount(list260, num4); - Span span119 = CollectionsMarshal.AsSpan(list260); - span119[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - span119[1] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - reference206 = list260; - span118[3] = null; - span118[4] = null; - span118[5] = null; - obj181.RequiredQuestVariables = list259; - reference205 = obj181; - ref QuestStep reference207 = ref span109[8]; - QuestStep obj182 = new QuestStep(EInteractionType.Interact, 2003055u, new Vector3(106.889404f, 14.602844f, 147.53943f), 146) - { - Mount = true - }; - num3 = 6; - List> list261 = new List>(num3); - CollectionsMarshal.SetCount(list261, num3); - Span> span120 = CollectionsMarshal.AsSpan(list261); - span120[0] = null; - span120[1] = null; - ref List reference208 = ref span120[2]; - num4 = 1; - List list262 = new List(num4); - CollectionsMarshal.SetCount(list262, num4); - CollectionsMarshal.AsSpan(list262)[0] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - reference208 = list262; - span120[3] = null; - span120[4] = null; - span120[5] = null; - obj182.RequiredQuestVariables = list261; - reference207 = obj182; - ref QuestStep reference209 = ref span109[9]; - QuestStep obj183 = new QuestStep(EInteractionType.Combat, null, new Vector3(135.42383f, 8.102478f, 178.36267f), 146) - { - Mount = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list263 = new List(num3); - CollectionsMarshal.SetCount(list263, num3); - CollectionsMarshal.AsSpan(list263)[0] = 2456u; - obj183.KillEnemyDataIds = list263; - reference209 = obj183; - span109[10] = new QuestStep(EInteractionType.Interact, 2003056u, new Vector3(135.42383f, 8.102478f, 178.36267f), 146); - obj174.Steps = list246; - reference192 = obj174; - ref QuestSequence reference210 = ref span108[3]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - Span span121 = CollectionsMarshal.AsSpan(list264); - span121[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-63.849556f, 26.409807f, -383.9894f), 146) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - span121[1] = new QuestStep(EInteractionType.Interact, 1005745u, new Vector3(22.720581f, 4.240738f, -443.07623f), 146) - { - Fly = true - }; - obj184.Steps = list264; - reference210 = obj184; - ref QuestSequence reference211 = ref span108[4]; - QuestSequence obj185 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005551u, new Vector3(98.924194f, 15.29447f, -349.4469f), 146) - { - Fly = true - }; - obj185.Steps = list265; - reference211 = obj185; - questRoot26.QuestSequence = list243; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(1241); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list266 = new List(num); - CollectionsMarshal.SetCount(list266, num); - CollectionsMarshal.AsSpan(list266)[0] = "plogon_enjoyer"; - questRoot27.Author = list266; - num = 3; - List list267 = new List(num); - CollectionsMarshal.SetCount(list267, num); - Span span122 = CollectionsMarshal.AsSpan(list267); - ref QuestSequence reference212 = ref span122[0]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - CollectionsMarshal.AsSpan(list268)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005551u, new Vector3(98.924194f, 15.29447f, -349.4469f), 146); - obj186.Steps = list268; - reference212 = obj186; - ref QuestSequence reference213 = ref span122[1]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - ref QuestStep reference214 = ref CollectionsMarshal.AsSpan(list269)[0]; - QuestStep obj188 = new QuestStep(EInteractionType.Combat, null, new Vector3(-38.375584f, 8.492833f, 156.09068f), 146) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list270 = new List(num3); - CollectionsMarshal.SetCount(list270, num3); - CollectionsMarshal.AsSpan(list270)[0] = new ComplexCombatData - { - DataId = 2452u, - MinimumKillCount = 2u - }; - obj188.ComplexCombatData = list270; - reference214 = obj188; - obj187.Steps = list269; - reference213 = obj187; - ref QuestSequence reference215 = ref span122[2]; - QuestSequence obj189 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - CollectionsMarshal.AsSpan(list271)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005551u, new Vector3(98.924194f, 15.29447f, -349.4469f), 146) - { - Fly = true - }; - obj189.Steps = list271; - reference215 = obj189; - questRoot27.QuestSequence = list267; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(1242); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list272 = new List(num); - CollectionsMarshal.SetCount(list272, num); - CollectionsMarshal.AsSpan(list272)[0] = "skiaz"; - questRoot28.Author = list272; - num = 3; - List list273 = new List(num); - CollectionsMarshal.SetCount(list273, num); - Span span123 = CollectionsMarshal.AsSpan(list273); - ref QuestSequence reference216 = ref span123[0]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - CollectionsMarshal.AsSpan(list274)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005552u, new Vector3(85.618286f, 15.28719f, -355.70312f), 146) - { - Fly = true - }; - obj190.Steps = list274; - reference216 = obj190; - ref QuestSequence reference217 = ref span123[1]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 1, - Comment = "Probably better to make here single steps for each enemy, since they are spread across a larger area" - }; - num2 = 2; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - Span span124 = CollectionsMarshal.AsSpan(list275); - ref QuestStep reference218 = ref span124[0]; - QuestStep obj192 = new QuestStep(EInteractionType.Combat, null, new Vector3(72.098755f, 12.723299f, 23.544617f), 146) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list276 = new List(num3); - CollectionsMarshal.SetCount(list276, num3); - CollectionsMarshal.AsSpan(list276)[0] = new ComplexCombatData - { - DataId = 741u, - NameId = 1838u, - MinimumKillCount = 3u - }; - obj192.ComplexCombatData = list276; - reference218 = obj192; - ref QuestStep reference219 = ref span124[1]; - QuestStep obj193 = new QuestStep(EInteractionType.Combat, null, new Vector3(168.87158f, 7.586792f, -30.533386f), 146) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list277 = new List(num3); - CollectionsMarshal.SetCount(list277, num3); - CollectionsMarshal.AsSpan(list277)[0] = new ComplexCombatData - { - DataId = 739u, - NameId = 1837u, - MinimumKillCount = 3u - }; - obj193.ComplexCombatData = list277; - reference219 = obj193; - obj191.Steps = list275; - reference217 = obj191; - ref QuestSequence reference220 = ref span123[2]; - QuestSequence obj194 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - CollectionsMarshal.AsSpan(list278)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005552u, new Vector3(85.618286f, 15.28719f, -355.70312f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - obj194.Steps = list278; - reference220 = obj194; - questRoot28.QuestSequence = list273; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(1243); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list279 = new List(num); - CollectionsMarshal.SetCount(list279, num); - CollectionsMarshal.AsSpan(list279)[0] = "skiaz"; - questRoot29.Author = list279; - num = 3; - List list280 = new List(num); - CollectionsMarshal.SetCount(list280, num); - Span span125 = CollectionsMarshal.AsSpan(list280); - ref QuestSequence reference221 = ref span125[0]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - CollectionsMarshal.AsSpan(list281)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005552u, new Vector3(85.618286f, 15.28719f, -355.70312f), 146) - { - Fly = true - }; - obj195.Steps = list281; - reference221 = obj195; - ref QuestSequence reference222 = ref span125[1]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 1, - Comment = "Probably better to make here single steps for each enemy, since they are spread across a larger area" - }; - num2 = 2; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - Span span126 = CollectionsMarshal.AsSpan(list282); - ref QuestStep reference223 = ref span126[0]; - QuestStep obj197 = new QuestStep(EInteractionType.Combat, null, new Vector3(103.1051f, 15.034634f, 20.46234f), 146) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list283 = new List(num3); - CollectionsMarshal.SetCount(list283, num3); - CollectionsMarshal.AsSpan(list283)[0] = new ComplexCombatData - { - DataId = 742u, - NameId = 1840u, - MinimumKillCount = 3u - }; - obj197.ComplexCombatData = list283; - reference223 = obj197; - ref QuestStep reference224 = ref span126[1]; - QuestStep obj198 = new QuestStep(EInteractionType.Combat, 740u, new Vector3(103.1051f, 15.034634f, 20.46234f), 146) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list284 = new List(num3); - CollectionsMarshal.SetCount(list284, num3); - CollectionsMarshal.AsSpan(list284)[0] = new ComplexCombatData - { - DataId = 740u, - NameId = 1839u, - MinimumKillCount = 3u - }; - obj198.ComplexCombatData = list284; - reference224 = obj198; - obj196.Steps = list282; - reference222 = obj196; - ref QuestSequence reference225 = ref span125[2]; - QuestSequence obj199 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - CollectionsMarshal.AsSpan(list285)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005552u, new Vector3(85.618286f, 15.28719f, -355.70312f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - obj199.Steps = list285; - reference225 = obj199; - questRoot29.QuestSequence = list280; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(1244); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list286 = new List(num); - CollectionsMarshal.SetCount(list286, num); - CollectionsMarshal.AsSpan(list286)[0] = "skiaz"; - questRoot30.Author = list286; - num = 3; - List list287 = new List(num); - CollectionsMarshal.SetCount(list287, num); - Span span127 = CollectionsMarshal.AsSpan(list287); - ref QuestSequence reference226 = ref span127[0]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - CollectionsMarshal.AsSpan(list288)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005552u, new Vector3(85.618286f, 15.28719f, -355.70312f), 146) - { - Fly = true - }; - obj200.Steps = list288; - reference226 = obj200; - ref QuestSequence reference227 = ref span127[1]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - Span span128 = CollectionsMarshal.AsSpan(list289); - span128[0] = new QuestStep(EInteractionType.Interact, 2003024u, new Vector3(345.23523f, 8.590759f, -24.399231f), 146) - { - Fly = true - }; - span128[1] = new QuestStep(EInteractionType.Interact, 2003027u, new Vector3(501.0299f, 7.614197f, -144.39618f), 146); - span128[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(534.8477f, 7.5996237f, -156.95335f), 146); - span128[3] = new QuestStep(EInteractionType.Interact, 2003030u, new Vector3(552.20874f, 7.614197f, -175.18884f), 146); - span128[4] = new QuestStep(EInteractionType.Interact, 2003031u, new Vector3(558.5259f, 7.583679f, -166.79645f), 146); - span128[5] = new QuestStep(EInteractionType.Interact, 2003029u, new Vector3(546.68494f, 10.543945f, -141.86316f), 146); - obj201.Steps = list289; - reference227 = obj201; - ref QuestSequence reference228 = ref span127[2]; - QuestSequence obj202 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - CollectionsMarshal.AsSpan(list290)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005552u, new Vector3(85.618286f, 15.28719f, -355.70312f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - obj202.Steps = list290; - reference228 = obj202; - questRoot30.QuestSequence = list287; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(1245); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list291 = new List(num); - CollectionsMarshal.SetCount(list291, num); - CollectionsMarshal.AsSpan(list291)[0] = "skiaz"; - questRoot31.Author = list291; - num = 3; - List list292 = new List(num); - CollectionsMarshal.SetCount(list292, num); - Span span129 = CollectionsMarshal.AsSpan(list292); - ref QuestSequence reference229 = ref span129[0]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - CollectionsMarshal.AsSpan(list293)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005552u, new Vector3(85.618286f, 15.28719f, -355.70312f), 146) - { - Fly = true - }; - obj203.Steps = list293; - reference229 = obj203; - ref QuestSequence reference230 = ref span129[1]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - Span span130 = CollectionsMarshal.AsSpan(list294); - span130[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(547.38745f, 7.599617f, -36.96097f), 146); - ref QuestStep reference231 = ref span130[1]; - QuestStep obj205 = new QuestStep(EInteractionType.Combat, null, new Vector3(547.38745f, 7.599617f, -36.96097f), 146) - { - EnemySpawnType = EEnemySpawnType.FateEnemies - }; - num3 = 2; - List list295 = new List(num3); - CollectionsMarshal.SetCount(list295, num3); - Span span131 = CollectionsMarshal.AsSpan(list295); - span131[0] = new ComplexCombatData - { - DataId = 740u, - NameId = 2369u, - MinimumKillCount = 3u - }; - span131[1] = new ComplexCombatData - { - DataId = 2501u, - MinimumKillCount = 1u - }; - obj205.ComplexCombatData = list295; - reference231 = obj205; - obj204.Steps = list294; - reference230 = obj204; - ref QuestSequence reference232 = ref span129[2]; - QuestSequence obj206 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - CollectionsMarshal.AsSpan(list296)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005552u, new Vector3(85.618286f, 15.28719f, -355.70312f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - obj206.Steps = list296; - reference232 = obj206; - questRoot31.QuestSequence = list292; - AddQuest(questId31, questRoot31); - AddQuest(new QuestId(1249), new QuestRoot - { - Disabled = true, - QuestSequence = new List() - }); - } - - private static void LoadQuests25() - { - QuestId questId = new QuestId(1252); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 4; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(45.84424f, 6.073427f, 248.96754f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - span2[1] = new QuestStep(EInteractionType.Interact, 1005564u, new Vector3(48.203125f, 6.0734696f, 247.79126f), 152); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1005577u, new Vector3(28.488525f, -3.6319542f, 210.62024f), 152) - { - Fly = true - }; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - Span span3 = CollectionsMarshal.AsSpan(list6); - span3[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(45.84424f, 6.073427f, 248.96754f), 152) - { - Fly = true - }; - span3[1] = new QuestStep(EInteractionType.CompleteQuest, 1005564u, new Vector3(48.203125f, 6.0734696f, 247.79126f), 152) - { - NextQuestId = new QuestId(1253) - }; - obj4.Steps = list6; - reference4 = obj4; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(1253); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - CollectionsMarshal.AsSpan(list7)[0] = "liza"; - questRoot2.Author = list7; - num = 5; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span4 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference5 = ref span4[0]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005564u, new Vector3(48.203125f, 6.0734696f, 247.79126f), 152); - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference6 = ref span4[1]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.Interact, 2002864u, new Vector3(270.28296f, -0.25946045f, 168.53589f), 152) - { - Fly = true - }; - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span4[2]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.Interact, 1005570u, new Vector3(292.77478f, -0.00153354f, 145.12854f), 152) - { - StopDistance = 7f - }; - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span4[3]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Interact, 1005565u, new Vector3(22.47644f, -6.2105103f, 252.552f), 152) - { - Fly = true - }; - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference9 = ref span4[4]; - QuestSequence obj9 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - Span span5 = CollectionsMarshal.AsSpan(list13); - span5[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(45.84424f, 6.073427f, 248.96754f), 152) - { - Fly = true - }; - ref QuestStep reference10 = ref span5[1]; - QuestStep questStep = new QuestStep(EInteractionType.CompleteQuest, 1005564u, new Vector3(48.203125f, 6.0734696f, 247.79126f), 152); - int num3 = 1; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - CollectionsMarshal.AsSpan(list14)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANSYL002_01253_SYSYTEM_Q1_000_1"), - Answer = new ExcelRef("TEXT_BANSYL002_01253_SYSYTEM_A1_000_1") - }; - questStep.DialogueChoices = list14; - reference10 = questStep; - obj9.Steps = list13; - reference9 = obj9; - questRoot2.QuestSequence = list8; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(1259); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - CollectionsMarshal.AsSpan(list15)[0] = "Censored"; - questRoot3.Author = list15; - num = 3; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - Span span6 = CollectionsMarshal.AsSpan(list16); - ref QuestSequence reference11 = ref span6[0]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005561u, new Vector3(47.01306f, 6.0734644f, 254.01685f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj10.Steps = list17; - reference11 = obj10; - ref QuestSequence reference12 = ref span6[1]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - Span span7 = CollectionsMarshal.AsSpan(list18); - ref QuestStep reference13 = ref span7[0]; - QuestStep obj12 = new QuestStep(EInteractionType.Interact, 2003073u, new Vector3(180.98718f, -0.38153076f, 68.03992f), 152) - { - Fly = true - }; - num3 = 6; - List list19 = new List(num3); - CollectionsMarshal.SetCount(list19, num3); - Span span8 = CollectionsMarshal.AsSpan(list19); - span8[0] = null; - span8[1] = null; - span8[2] = null; - span8[3] = null; - span8[4] = null; - span8[5] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - obj12.CompletionQuestVariablesFlags = list19; - reference13 = obj12; - ref QuestStep reference14 = ref span7[1]; - QuestStep obj13 = new QuestStep(EInteractionType.Interact, 2003069u, new Vector3(327.65686f, -6.088379f, -7.9194946f), 152) - { - Fly = true - }; - num3 = 6; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - Span span9 = CollectionsMarshal.AsSpan(list20); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj13.CompletionQuestVariablesFlags = list20; - reference14 = obj13; - ref QuestStep reference15 = ref span7[2]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2003068u, new Vector3(323.81165f, -5.783203f, -17.898865f), 152); - num3 = 6; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - Span span10 = CollectionsMarshal.AsSpan(list21); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list21; - reference15 = questStep2; - ref QuestStep reference16 = ref span7[3]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2003070u, new Vector3(328.08423f, -4.867676f, -31.296265f), 152); - num3 = 6; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - Span span11 = CollectionsMarshal.AsSpan(list22); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list22; - reference16 = questStep3; - span7[4] = new QuestStep(EInteractionType.Interact, 2003067u, new Vector3(354.57385f, -4.623535f, -11.39856f), 152); - obj11.Steps = list18; - reference12 = obj11; - ref QuestSequence reference17 = ref span6[2]; - QuestSequence obj14 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - Span span12 = CollectionsMarshal.AsSpan(list23); - span12[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(37.71168f, 4.7303743f, 250.62769f), 152) - { - Fly = true, - Land = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(37.71168f, 4.7303743f, 250.62769f), - MaximumDistance = 10f, - TerritoryId = 152 - } - } - } - }; - span12[1] = new QuestStep(EInteractionType.CompleteQuest, 1005561u, new Vector3(47.01306f, 6.0734644f, 254.01685f), 152); - obj14.Steps = list23; - reference17 = obj14; - questRoot3.QuestSequence = list16; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(1260); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - CollectionsMarshal.AsSpan(list24)[0] = "Censored"; - questRoot4.Author = list24; - num = 4; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - Span span13 = CollectionsMarshal.AsSpan(list25); - ref QuestSequence reference18 = ref span13[0]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005561u, new Vector3(47.01306f, 6.0734644f, 254.01685f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj15.Steps = list26; - reference18 = obj15; - ref QuestSequence reference19 = ref span13[1]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - Span span14 = CollectionsMarshal.AsSpan(list27); - ref QuestStep reference20 = ref span14[0]; - QuestStep obj17 = new QuestStep(EInteractionType.Interact, 2003228u, new Vector3(286.2439f, -4.5319824f, 57.114502f), 152) - { - Fly = true - }; - num3 = 6; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - Span span15 = CollectionsMarshal.AsSpan(list28); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - obj17.CompletionQuestVariablesFlags = list28; - reference20 = obj17; - ref QuestStep reference21 = ref span14[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2003221u, new Vector3(254.19995f, -6.363098f, 41.428223f), 152); - num3 = 6; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - Span span16 = CollectionsMarshal.AsSpan(list29); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list29; - reference21 = questStep4; - span14[2] = new QuestStep(EInteractionType.Interact, 2003222u, new Vector3(253.52856f, -5.5390625f, 22.262878f), 152); - obj16.Steps = list27; - reference19 = obj16; - ref QuestSequence reference22 = ref span13[2]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - Span span17 = CollectionsMarshal.AsSpan(list30); - ref QuestStep reference23 = ref span17[0]; - QuestStep obj19 = new QuestStep(EInteractionType.UseItem, 2003234u, new Vector3(231.1283f, -3.2197266f, -16.281433f), 152) - { - ItemId = 2001178u - }; - num3 = 6; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - Span span18 = CollectionsMarshal.AsSpan(list31); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - obj19.CompletionQuestVariablesFlags = list31; - reference23 = obj19; - ref QuestStep reference24 = ref span17[1]; - QuestStep obj20 = new QuestStep(EInteractionType.UseItem, 2003233u, new Vector3(245.59387f, -5.203369f, -41.672424f), 152) - { - ItemId = 2001178u - }; - num3 = 6; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - Span span19 = CollectionsMarshal.AsSpan(list32); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj20.CompletionQuestVariablesFlags = list32; - reference24 = obj20; - span17[2] = new QuestStep(EInteractionType.UseItem, 2003231u, new Vector3(211.56628f, -4.501404f, -51.499268f), 152) - { - ItemId = 2001178u - }; - obj18.Steps = list30; - reference22 = obj18; - ref QuestSequence reference25 = ref span13[3]; - QuestSequence obj21 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - Span span20 = CollectionsMarshal.AsSpan(list33); - span20[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(37.71168f, 4.7303743f, 250.62769f), 152) - { - Fly = true, - Land = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(37.71168f, 4.7303743f, 250.62769f), - MaximumDistance = 10f, - TerritoryId = 152 - } - } - } - }; - span20[1] = new QuestStep(EInteractionType.CompleteQuest, 1005561u, new Vector3(47.01306f, 6.0734644f, 254.01685f), 152); - obj21.Steps = list33; - reference25 = obj21; - questRoot4.QuestSequence = list25; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(1262); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - CollectionsMarshal.AsSpan(list34)[0] = "Censored"; - questRoot5.Author = list34; - num = 4; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - Span span21 = CollectionsMarshal.AsSpan(list35); - ref QuestSequence reference26 = ref span21[0]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005561u, new Vector3(47.01306f, 6.0734644f, 254.01685f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj22.Steps = list36; - reference26 = obj22; - ref QuestSequence reference27 = ref span21[1]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.Interact, 1008329u, new Vector3(175.86023f, 8.627428f, 204.18091f), 152) - { - Fly = true - }; - obj23.Steps = list37; - reference27 = obj23; - ref QuestSequence reference28 = ref span21[2]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 2 - }; - num2 = 6; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - Span span22 = CollectionsMarshal.AsSpan(list38); - ref QuestStep reference29 = ref span22[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2003079u, new Vector3(225.78772f, 5.996765f, 181.78064f), 152); - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list39 = new List(num3); - CollectionsMarshal.SetCount(list39, num3); - Span span23 = CollectionsMarshal.AsSpan(list39); - span23[0] = null; - span23[1] = null; - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list39; - skipConditions.StepIf = skipStepConditions; - questStep5.SkipConditions = skipConditions; - reference29 = questStep5; - ref QuestStep reference30 = ref span22[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2003303u, new Vector3(267.96362f, -0.16790771f, 168.9325f), 152); - num3 = 6; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - Span span24 = CollectionsMarshal.AsSpan(list40); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list40; - reference30 = questStep6; - span22[2] = new QuestStep(EInteractionType.Interact, 2003301u, new Vector3(220.29443f, -1.4801636f, 100.48059f), 152); - span22[3] = new QuestStep(EInteractionType.Interact, 2003081u, new Vector3(175.24988f, -0.22894287f, 57.328125f), 152); - span22[4] = new QuestStep(EInteractionType.Interact, 2003082u, new Vector3(97.67297f, 7.1259155f, -7.9194946f), 152); - span22[5] = new QuestStep(EInteractionType.Interact, 2003076u, new Vector3(-19.150085f, 19.33313f, -11.490112f), 152); - obj24.Steps = list38; - reference28 = obj24; - ref QuestSequence reference31 = ref span21[3]; - QuestSequence obj25 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - Span span25 = CollectionsMarshal.AsSpan(list41); - span25[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(37.71168f, 4.7303743f, 250.62769f), 152) - { - Fly = true, - Land = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(37.71168f, 4.7303743f, 250.62769f), - MaximumDistance = 10f, - TerritoryId = 152 - } - } - } - }; - span25[1] = new QuestStep(EInteractionType.CompleteQuest, 1005561u, new Vector3(47.01306f, 6.0734644f, 254.01685f), 152); - obj25.Steps = list41; - reference31 = obj25; - questRoot5.QuestSequence = list35; - AddQuest(questId5, questRoot5); - AddQuest(new QuestId(1264), new QuestRoot - { - Disabled = true, - Comment = "This is a FATE Allied Society Quest", - QuestSequence = new List() - }); - QuestId questId6 = new QuestId(1266); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - CollectionsMarshal.AsSpan(list42)[0] = "Censored"; - questRoot6.Author = list42; - num = 3; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - Span span26 = CollectionsMarshal.AsSpan(list43); - ref QuestSequence reference32 = ref span26[0]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005561u, new Vector3(47.01306f, 6.0734644f, 254.01685f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj26.Steps = list44; - reference32 = obj26; - ref QuestSequence reference33 = ref span26[1]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - ref QuestStep reference34 = ref CollectionsMarshal.AsSpan(list45)[0]; - QuestStep obj28 = new QuestStep(EInteractionType.Combat, null, new Vector3(220.62901f, 4.888098f, 163.73048f), 152) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - CollectionsMarshal.AsSpan(list46)[0] = new ComplexCombatData - { - DataId = 2660u, - NameId = 2314u, - MinimumKillCount = 2u - }; - obj28.ComplexCombatData = list46; - reference34 = obj28; - obj27.Steps = list45; - reference33 = obj27; - ref QuestSequence reference35 = ref span26[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - Span span27 = CollectionsMarshal.AsSpan(list47); - span27[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(37.71168f, 4.7303743f, 250.62769f), 152) - { - Fly = true, - Land = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(37.71168f, 4.7303743f, 250.62769f), - MaximumDistance = 10f, - TerritoryId = 152 - } - } - } - }; - span27[1] = new QuestStep(EInteractionType.CompleteQuest, 1005561u, new Vector3(47.01306f, 6.0734644f, 254.01685f), 152); - obj29.Steps = list47; - reference35 = obj29; - questRoot6.QuestSequence = list43; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(1274); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - CollectionsMarshal.AsSpan(list48)[0] = "liza"; - questRoot7.Author = list48; - num = 3; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - Span span28 = CollectionsMarshal.AsSpan(list49); - ref QuestSequence reference36 = ref span28[0]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005562u, new Vector3(36.850464f, -4.8778634f, 249.19507f), 152); - obj30.Steps = list50; - reference36 = obj30; - ref QuestSequence reference37 = ref span28[1]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - Span span29 = CollectionsMarshal.AsSpan(list51); - ref QuestStep reference38 = ref span29[0]; - QuestStep obj32 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(321.08926f, -17.347095f, -201.61072f), 152) - { - Fly = true - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - Span span30 = CollectionsMarshal.AsSpan(list52); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list52; - skipConditions2.StepIf = skipStepConditions2; - obj32.SkipConditions = skipConditions2; - reference38 = obj32; - ref QuestStep reference39 = ref span29[1]; - QuestStep obj33 = new QuestStep(EInteractionType.Combat, 2003494u, new Vector3(319.44763f, -17.227417f, -200.88507f), 152) - { - Fly = true, - ItemId = 2001154u, - GroundTarget = true, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - CollectionsMarshal.AsSpan(list53)[0] = 764u; - obj33.KillEnemyDataIds = list53; - num3 = 6; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - Span span31 = CollectionsMarshal.AsSpan(list54); - span31[0] = null; - span31[1] = null; - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj33.CompletionQuestVariablesFlags = list54; - reference39 = obj33; - ref QuestStep reference40 = ref span29[2]; - QuestStep obj34 = new QuestStep(EInteractionType.Combat, 2003041u, new Vector3(386.099f, -20.187744f, -200.763f), 152) - { - Fly = true, - ItemId = 2001154u, - GroundTarget = true, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list55 = new List(num3); - CollectionsMarshal.SetCount(list55, num3); - CollectionsMarshal.AsSpan(list55)[0] = 764u; - obj34.KillEnemyDataIds = list55; - num3 = 6; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - Span span32 = CollectionsMarshal.AsSpan(list56); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - obj34.CompletionQuestVariablesFlags = list56; - reference40 = obj34; - ref QuestStep reference41 = ref span29[3]; - QuestStep obj35 = new QuestStep(EInteractionType.Combat, 2003040u, new Vector3(326.77185f, -18.112549f, -235.95032f), 152) - { - Fly = true, - ItemId = 2001154u, - GroundTarget = true, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - CollectionsMarshal.AsSpan(list57)[0] = 764u; - obj35.KillEnemyDataIds = list57; - reference41 = obj35; - obj31.Steps = list51; - reference37 = obj31; - ref QuestSequence reference42 = ref span28[2]; - QuestSequence obj36 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005562u, new Vector3(36.850464f, -4.8778634f, 249.19507f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - obj36.Steps = list58; - reference42 = obj36; - questRoot7.QuestSequence = list49; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(1275); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - CollectionsMarshal.AsSpan(list59)[0] = "liza"; - questRoot8.Author = list59; - num = 4; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - Span span33 = CollectionsMarshal.AsSpan(list60); - ref QuestSequence reference43 = ref span33[0]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005562u, new Vector3(36.850464f, -4.8778634f, 249.19507f), 152); - obj37.Steps = list61; - reference43 = obj37; - ref QuestSequence reference44 = ref span33[1]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.Interact, 2003307u, new Vector3(261.82947f, -9.323303f, -72.80078f), 152) - { - Fly = true - }; - obj38.Steps = list62; - reference44 = obj38; - ref QuestSequence reference45 = ref span33[2]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - Span span34 = CollectionsMarshal.AsSpan(list63); - span34[0] = new QuestStep(EInteractionType.Interact, 2003487u, new Vector3(429.89233f, -14.2977295f, -257.61804f), 152); - span34[1] = new QuestStep(EInteractionType.Interact, 2003310u, new Vector3(551.812f, -22.537598f, -352.13245f), 152); - obj39.Steps = list63; - reference45 = obj39; - ref QuestSequence reference46 = ref span33[3]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005562u, new Vector3(36.850464f, -4.8778634f, 249.19507f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - obj40.Steps = list64; - reference46 = obj40; - questRoot8.QuestSequence = list60; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(1276); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - CollectionsMarshal.AsSpan(list65)[0] = "liza"; - questRoot9.Author = list65; - num = 3; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - Span span35 = CollectionsMarshal.AsSpan(list66); - ref QuestSequence reference47 = ref span35[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005562u, new Vector3(36.850464f, -4.8778634f, 249.19507f), 152); - obj41.Steps = list67; - reference47 = obj41; - ref QuestSequence reference48 = ref span35[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - ref QuestStep reference49 = ref CollectionsMarshal.AsSpan(list68)[0]; - QuestStep obj43 = new QuestStep(EInteractionType.Combat, null, new Vector3(336.78577f, -17.169508f, -252.20335f), 152) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - CollectionsMarshal.AsSpan(list69)[0] = 2464u; - obj43.KillEnemyDataIds = list69; - reference49 = obj43; - obj42.Steps = list68; - reference48 = obj42; - ref QuestSequence reference50 = ref span35[2]; - QuestSequence obj44 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005562u, new Vector3(36.850464f, -4.8778634f, 249.19507f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - obj44.Steps = list70; - reference50 = obj44; - questRoot9.QuestSequence = list66; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(1289); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - CollectionsMarshal.AsSpan(list71)[0] = "alydev"; - questRoot10.Author = list71; - num = 5; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - Span span36 = CollectionsMarshal.AsSpan(list72); - ref QuestSequence reference51 = ref span36[0]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005394u, new Vector3(246.87573f, -25.00047f, 246.1737f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(246.87573f, -25.00047f, 246.1737f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj45.Steps = list73; - reference51 = obj45; - ref QuestSequence reference52 = ref span36[1]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.Interact, 1005392u, new Vector3(210.25403f, -25.009617f, 223.71252f), 138); - obj46.Steps = list74; - reference52 = obj46; - ref QuestSequence reference53 = ref span36[2]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - ref QuestStep reference54 = ref CollectionsMarshal.AsSpan(list75)[0]; - QuestStep obj48 = new QuestStep(EInteractionType.Combat, null, new Vector3(219.21672f, -36.40546f, 321.90988f), 138) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - CollectionsMarshal.AsSpan(list76)[0] = 1390u; - obj48.KillEnemyDataIds = list76; - reference54 = obj48; - obj47.Steps = list75; - reference53 = obj47; - ref QuestSequence reference55 = ref span36[3]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Interact, 1005393u, new Vector3(221.14893f, -36.405968f, 323.5675f), 138); - obj49.Steps = list77; - reference55 = obj49; - ref QuestSequence reference56 = ref span36[4]; - QuestSequence obj50 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005394u, new Vector3(246.87573f, -25.00047f, 246.1737f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(246.87573f, -25.00047f, 246.1737f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj50.Steps = list78; - reference56 = obj50; - questRoot10.QuestSequence = list72; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(1290); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - CollectionsMarshal.AsSpan(list79)[0] = "alydev"; - questRoot11.Author = list79; - num = 5; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - Span span37 = CollectionsMarshal.AsSpan(list80); - ref QuestSequence reference57 = ref span37[0]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005394u, new Vector3(246.87573f, -25.00047f, 246.1737f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(246.87573f, -25.00047f, 246.1737f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj51.Steps = list81; - reference57 = obj51; - ref QuestSequence reference58 = ref span37[1]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.Interact, 1005392u, new Vector3(210.25403f, -25.009617f, 223.71252f), 138); - obj52.Steps = list82; - reference58 = obj52; - ref QuestSequence reference59 = ref span37[2]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.UseItem, 1005395u, new Vector3(523.6437f, 24.754877f, 292.37805f), 138) - { - ItemId = 2001083u - }; - obj53.Steps = list83; - reference59 = obj53; - ref QuestSequence reference60 = ref span37[3]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.Emote, 1005395u, new Vector3(523.6437f, 24.754877f, 292.37805f), 138) - { - Emote = EEmote.Soothe - }; - obj54.Steps = list84; - reference60 = obj54; - ref QuestSequence reference61 = ref span37[4]; - QuestSequence obj55 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005394u, new Vector3(246.87573f, -25.00047f, 246.1737f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(246.87573f, -25.00047f, 246.1737f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj55.Steps = list85; - reference61 = obj55; - questRoot11.QuestSequence = list80; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(1291); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - CollectionsMarshal.AsSpan(list86)[0] = "alydev"; - questRoot12.Author = list86; - num = 4; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - Span span38 = CollectionsMarshal.AsSpan(list87); - ref QuestSequence reference62 = ref span38[0]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005394u, new Vector3(246.87573f, -25.00047f, 246.1737f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(246.87573f, -25.00047f, 246.1737f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj56.Steps = list88; - reference62 = obj56; - ref QuestSequence reference63 = ref span38[1]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - ref QuestStep reference64 = ref CollectionsMarshal.AsSpan(list89)[0]; - QuestStep obj58 = new QuestStep(EInteractionType.Combat, null, new Vector3(209.67606f, -16.937475f, 117.99471f), 138) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - CollectionsMarshal.AsSpan(list90)[0] = 2447u; - obj58.KillEnemyDataIds = list90; - reference64 = obj58; - obj57.Steps = list89; - reference63 = obj57; - ref QuestSequence reference65 = ref span38[2]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.Interact, 1005396u, new Vector3(209.52148f, -16.919422f, 114.457886f), 138); - obj59.Steps = list91; - reference65 = obj59; - ref QuestSequence reference66 = ref span38[3]; - QuestSequence obj60 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005394u, new Vector3(246.87573f, -25.00047f, 246.1737f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(246.87573f, -25.00047f, 246.1737f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj60.Steps = list92; - reference66 = obj60; - questRoot12.QuestSequence = list87; - AddQuest(questId12, questRoot12); - } - - private static void LoadQuests26() - { - QuestId questId = new QuestId(1309); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006951u, new Vector3(73.77734f, 33.066578f, -709.77344f), 156); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference3 = ref span2[0]; - QuestStep obj3 = new QuestStep(EInteractionType.Duty, null, null, 155) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 65u - } - }; - int num3 = 6; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - Span span3 = CollectionsMarshal.AsSpan(list5); - span3[0] = null; - span3[1] = null; - span3[2] = null; - span3[3] = null; - span3[4] = null; - span3[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj3.CompletionQuestVariablesFlags = list5; - reference3 = obj3; - ref QuestStep reference4 = ref span2[1]; - QuestStep obj4 = new QuestStep(EInteractionType.Duty, null, null, 180) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 64u - } - }; - num3 = 6; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - Span span4 = CollectionsMarshal.AsSpan(list6); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj4.CompletionQuestVariablesFlags = list6; - reference4 = obj4; - ref QuestStep reference5 = ref span2[2]; - QuestStep obj5 = new QuestStep(EInteractionType.Duty, null, null, 146) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 63u - } - }; - num3 = 6; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span5 = CollectionsMarshal.AsSpan(list7); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj5.CompletionQuestVariablesFlags = list7; - reference5 = obj5; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference6 = ref span[2]; - QuestSequence obj6 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006951u, new Vector3(73.77734f, 33.066578f, -709.77344f), 156); - obj6.Steps = list8; - reference6 = obj6; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(1310); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - CollectionsMarshal.AsSpan(list9)[0] = "liza"; - questRoot2.Author = list9; - num = 2; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - Span span6 = CollectionsMarshal.AsSpan(list10); - ref QuestSequence reference7 = ref span6[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006381u, new Vector3(172.99146f, 222.00034f, 314.35107f), 155); - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span6[1]; - QuestSequence obj8 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - Span span7 = CollectionsMarshal.AsSpan(list12); - span7[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(242.65878f, 222.21414f, 327.51016f), 155) - { - Fly = true - }; - span7[1] = new QuestStep(EInteractionType.CompleteQuest, 1006385u, new Vector3(241.50452f, 222.25885f, 325.45972f), 155); - obj8.Steps = list12; - reference8 = obj8; - questRoot2.QuestSequence = list10; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(1313); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = "liza"; - questRoot3.Author = list13; - questRoot3.Comment = "Only Turn 9 is required for the next quest to unlock"; - num = 4; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - Span span8 = CollectionsMarshal.AsSpan(list14); - ref QuestSequence reference9 = ref span8[0]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 0 - }; - num2 = 4; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - Span span9 = CollectionsMarshal.AsSpan(list15); - ref QuestStep reference10 = ref span9[0]; - QuestStep obj10 = new QuestStep(EInteractionType.UseItem, null, null, 132) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 2; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - Span span10 = CollectionsMarshal.AsSpan(list16); - span10[0] = 140; - span10[1] = 212; - skipStepConditions.InTerritory = list16; - skipConditions.StepIf = skipStepConditions; - obj10.SkipConditions = skipConditions; - reference10 = obj10; - ref QuestStep reference11 = ref span9[1]; - QuestStep questStep = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list17 = new List(num3); - CollectionsMarshal.SetCount(list17, num3); - CollectionsMarshal.AsSpan(list17)[0] = 212; - skipStepConditions2.InTerritory = list17; - skipConditions2.StepIf = skipStepConditions2; - questStep.SkipConditions = skipConditions2; - reference11 = questStep; - ref QuestStep reference12 = ref span9[2]; - QuestStep obj11 = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - CollectionsMarshal.AsSpan(list18)[0] = 212; - skipStepConditions3.InTerritory = list18; - skipConditions3.StepIf = skipStepConditions3; - obj11.SkipConditions = skipConditions3; - reference12 = obj11; - span9[3] = new QuestStep(EInteractionType.AcceptQuest, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212); - obj9.Steps = list15; - reference9 = obj9; - ref QuestSequence reference13 = ref span8[1]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.Interact, 1008538u, new Vector3(-35.26361f, -45.545444f, 295.36877f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj12.Steps = list19; - reference13 = obj12; - ref QuestSequence reference14 = ref span8[2]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - Span span11 = CollectionsMarshal.AsSpan(list20); - span11[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-43.719337f, -46.570717f, 288.87f), 154) - { - Mount = true - }; - span11[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-238.82307f, -75.39517f, 422.71375f), 154) - { - Fly = true - }; - span11[2] = new QuestStep(EInteractionType.Interact, 1008539u, new Vector3(-236.74377f, -75.699936f, 423.0868f), 154); - obj13.Steps = list20; - reference14 = obj13; - ref QuestSequence reference15 = ref span8[3]; - QuestSequence obj14 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - Span span12 = CollectionsMarshal.AsSpan(list21); - span12[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-43.719337f, -46.570717f, 288.87f), 154) - { - Fly = true - }; - span12[1] = new QuestStep(EInteractionType.CompleteQuest, 1008538u, new Vector3(-35.26361f, -45.545444f, 295.36877f), 154) - { - NextQuestId = new QuestId(1314) - }; - obj14.Steps = list21; - reference15 = obj14; - questRoot3.QuestSequence = list14; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(1314); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - CollectionsMarshal.AsSpan(list22)[0] = "liza"; - questRoot4.Author = list22; - num = 2; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - Span span13 = CollectionsMarshal.AsSpan(list23); - ref QuestSequence reference16 = ref span13[0]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - Span span14 = CollectionsMarshal.AsSpan(list24); - span14[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-59.93238f, 77.08961f, -204.68428f), 147) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCeruleumProcessingPlant, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - ref QuestStep reference17 = ref span14[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.AcceptQuest, 1008540u, new Vector3(-60.31891f, 76.76807f, -203.23492f), 147); - num3 = 1; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - CollectionsMarshal.AsSpan(list25)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_GAIUSD302_01314_Q1_000_000"), - Yes = false - }; - questStep2.DialogueChoices = list25; - reference17 = questStep2; - obj15.Steps = list24; - reference16 = obj15; - ref QuestSequence reference18 = ref span13[1]; - QuestSequence obj16 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - Span span15 = CollectionsMarshal.AsSpan(list26); - span15[0] = new QuestStep(EInteractionType.UseItem, null, null, 132) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span15[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span15[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span15[3] = new QuestStep(EInteractionType.CompleteQuest, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212); - obj16.Steps = list26; - reference18 = obj16; - questRoot4.QuestSequence = list23; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(1315); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - CollectionsMarshal.AsSpan(list27)[0] = "FalconTaterz"; - questRoot5.Author = list27; - num = 7; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - Span span16 = CollectionsMarshal.AsSpan(list28); - ref QuestSequence reference19 = ref span16[0]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005884u, new Vector3(-526.26843f, 5.4049973f, -249.25616f), 145) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj17.Steps = list29; - reference19 = obj17; - ref QuestSequence reference20 = ref span16[1]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.Interact, 1003931u, new Vector3(-379.6292f, -55.85506f, 95.04846f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj18.Steps = list30; - reference20 = obj18; - ref QuestSequence reference21 = ref span16[2]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - Span span17 = CollectionsMarshal.AsSpan(list31); - span17[0] = new QuestStep(EInteractionType.UseItem, null, null, 145) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span17[1] = new QuestStep(EInteractionType.Interact, 1008709u, new Vector3(-431.7846f, 28.038658f, -383.1693f), 140); - obj19.Steps = list31; - reference21 = obj19; - ref QuestSequence reference22 = ref span16[3]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - Span span18 = CollectionsMarshal.AsSpan(list32); - ref QuestStep reference23 = ref span18[0]; - QuestStep obj21 = new QuestStep(EInteractionType.Interact, 1008713u, new Vector3(108.99512f, 57.816406f, 12.191956f), 140) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon - }; - num3 = 6; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - Span span19 = CollectionsMarshal.AsSpan(list33); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj21.CompletionQuestVariablesFlags = list33; - reference23 = obj21; - ref QuestStep reference24 = ref span18[1]; - QuestStep obj22 = new QuestStep(EInteractionType.Interact, 1002022u, new Vector3(12.039368f, 22.144684f, 65.384766f), 140) - { - Fly = true - }; - num3 = 6; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - Span span20 = CollectionsMarshal.AsSpan(list34); - span20[0] = null; - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj22.CompletionQuestVariablesFlags = list34; - reference24 = obj22; - ref QuestStep reference25 = ref span18[2]; - QuestStep obj23 = new QuestStep(EInteractionType.Interact, 1008715u, new Vector3(-69.90167f, 13.38208f, 158.73962f), 140) - { - Fly = true - }; - num3 = 6; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - Span span21 = CollectionsMarshal.AsSpan(list35); - span21[0] = null; - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj23.CompletionQuestVariablesFlags = list35; - reference25 = obj23; - obj20.Steps = list32; - reference22 = obj20; - ref QuestSequence reference26 = ref span16[4]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.Interact, 2003654u, new Vector3(-68.55884f, 13.809326f, 159.16675f), 140); - obj24.Steps = list36; - reference26 = obj24; - ref QuestSequence reference27 = ref span16[5]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 5 - }; - num2 = 4; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - Span span22 = CollectionsMarshal.AsSpan(list37); - ref QuestStep reference28 = ref span22[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2003658u, new Vector3(-71.06128f, 13.443176f, 155.9624f), 140); - num3 = 6; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - Span span23 = CollectionsMarshal.AsSpan(list38); - span23[0] = null; - span23[1] = null; - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list38; - reference28 = questStep3; - ref QuestStep reference29 = ref span22[1]; - QuestStep obj26 = new QuestStep(EInteractionType.Interact, 2003656u, new Vector3(-72.95343f, 13.504211f, 159.19727f), 140) - { - StopDistance = 4.5f - }; - num3 = 6; - List list39 = new List(num3); - CollectionsMarshal.SetCount(list39, num3); - Span span24 = CollectionsMarshal.AsSpan(list39); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj26.CompletionQuestVariablesFlags = list39; - reference29 = obj26; - ref QuestStep reference30 = ref span22[2]; - QuestStep obj27 = new QuestStep(EInteractionType.Interact, 2003657u, new Vector3(-80.18622f, 13.412659f, 158.12915f), 140) - { - StopDistance = 4.5f - }; - num3 = 6; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - Span span25 = CollectionsMarshal.AsSpan(list40); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj27.CompletionQuestVariablesFlags = list40; - reference30 = obj27; - ref QuestStep reference31 = ref span22[3]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2003659u, new Vector3(-76.15784f, 13.443176f, 155.90137f), 140); - num3 = 6; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - Span span26 = CollectionsMarshal.AsSpan(list41); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list41; - reference31 = questStep4; - obj25.Steps = list37; - reference27 = obj25; - ref QuestSequence reference32 = ref span16[6]; - QuestSequence obj28 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.CompleteQuest, 1008716u, new Vector3(-68.00946f, 13.443176f, 157.5188f), 140) - { - NextQuestId = new QuestId(1316) - }; - obj28.Steps = list42; - reference32 = obj28; - questRoot5.QuestSequence = list28; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(1316); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - CollectionsMarshal.AsSpan(list43)[0] = "FalconTaterz"; - questRoot6.Author = list43; - num = 4; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - Span span27 = CollectionsMarshal.AsSpan(list44); - ref QuestSequence reference33 = ref span27[0]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008716u, new Vector3(-68.00946f, 13.443176f, 157.5188f), 140); - obj29.Steps = list45; - reference33 = obj29; - ref QuestSequence reference34 = ref span27[1]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 2003664u, new Vector3(11.337402f, 2.670288f, 320.943f), 147) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCampBluefog - }; - obj30.Steps = list46; - reference34 = obj30; - ref QuestSequence reference35 = ref span27[2]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Interact, 2003665u, new Vector3(34.50061f, 12.191956f, 254.13892f), 147) - { - Fly = true - }; - obj31.Steps = list47; - reference35 = obj31; - ref QuestSequence reference36 = ref span27[3]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - Span span28 = CollectionsMarshal.AsSpan(list48); - span28[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(110.67165f, 18.372795f, 122.4577f), 147) - { - Fly = true - }; - span28[1] = new QuestStep(EInteractionType.CompleteQuest, 2003666u, new Vector3(111.192505f, 19.424683f, 121.20239f), 147) - { - NextQuestId = new QuestId(1317) - }; - obj32.Steps = list48; - reference36 = obj32; - questRoot6.QuestSequence = list44; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(1317); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - CollectionsMarshal.AsSpan(list49)[0] = "FalconTaterz"; - questRoot7.Author = list49; - num = 4; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - Span span29 = CollectionsMarshal.AsSpan(list50); - ref QuestSequence reference37 = ref span29[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008722u, new Vector3(109.7887f, 18.36741f, 121.72119f), 147); - obj33.Steps = list51; - reference37 = obj33; - ref QuestSequence reference38 = ref span29[1]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.Interact, 2003667u, new Vector3(139.48267f, 20.279175f, 102.92212f), 147); - obj34.Steps = list52; - reference38 = obj34; - ref QuestSequence reference39 = ref span29[2]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - Span span30 = CollectionsMarshal.AsSpan(list53); - span30[0] = new QuestStep(EInteractionType.UseItem, null, null, 145) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span30[1] = new QuestStep(EInteractionType.Interact, 1008730u, new Vector3(-431.26575f, 28.038658f, -381.4298f), 140); - obj35.Steps = list53; - reference39 = obj35; - ref QuestSequence reference40 = ref span29[3]; - QuestSequence obj36 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.CompleteQuest, 1008735u, new Vector3(-420.2793f, 23.113977f, -367.17786f), 140) - { - NextQuestId = new QuestId(1318) - }; - obj36.Steps = list54; - reference40 = obj36; - questRoot7.QuestSequence = list50; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(1318); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - CollectionsMarshal.AsSpan(list55)[0] = "FalconTaterz"; - questRoot8.Author = list55; - num = 9; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - Span span31 = CollectionsMarshal.AsSpan(list56); - ref QuestSequence reference41 = ref span31[0]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008736u, new Vector3(-418.44818f, 23.113976f, -367.8188f), 140) - { - StopDistance = 5f - }; - obj37.Steps = list57; - reference41 = obj37; - ref QuestSequence reference42 = ref span31[1]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.Interact, 1008739u, new Vector3(176.71472f, 222.1357f, 347.219f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj38.Steps = list58; - reference42 = obj38; - ref QuestSequence reference43 = ref span31[2]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.Interact, 1008741u, new Vector3(249.50024f, 222.36392f, 353.6278f), 155); - obj39.Steps = list59; - reference43 = obj39; - ref QuestSequence reference44 = ref span31[3]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.Interact, 1008746u, new Vector3(261.46326f, 222.27127f, 320.2411f), 155); - obj40.Steps = list60; - reference44 = obj40; - ref QuestSequence reference45 = ref span31[4]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.Interact, 2003741u, new Vector3(394.7965f, 225.0553f, 378.80518f), 155) - { - Fly = true - }; - obj41.Steps = list61; - reference45 = obj41; - ref QuestSequence reference46 = ref span31[5]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.Interact, 1008752u, new Vector3(487.81555f, 206.95914f, 479.69775f), 155) - { - Fly = true - }; - obj42.Steps = list62; - reference46 = obj42; - ref QuestSequence reference47 = ref span31[6]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.Duty, null, null, 155) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 76u - } - }; - obj43.Steps = list63; - reference47 = obj43; - ref QuestSequence reference48 = ref span31[7]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.Interact, 1008756u, new Vector3(480.12512f, 207.33582f, 475.33374f), 155) - { - StopDistance = 7f - }; - obj44.Steps = list64; - reference48 = obj44; - ref QuestSequence reference49 = ref span31[8]; - QuestSequence obj45 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - Span span32 = CollectionsMarshal.AsSpan(list65); - span32[0] = new QuestStep(EInteractionType.UseItem, null, null, 145) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span32[1] = new QuestStep(EInteractionType.CompleteQuest, 1008788u, new Vector3(-421.46948f, 23.113977f, -367.57465f), 140) - { - Fly = true, - NextQuestId = new QuestId(1438) - }; - obj45.Steps = list65; - reference49 = obj45; - questRoot8.QuestSequence = list56; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(1320); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - CollectionsMarshal.AsSpan(list66)[0] = "liza"; - questRoot9.Author = list66; - num = 8; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - Span span33 = CollectionsMarshal.AsSpan(list67); - ref QuestSequence reference50 = ref span33[0]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003550u, new Vector3(76.85962f, 39.99632f, 78.99597f), 128); - obj46.Steps = list68; - reference50 = obj46; - ref QuestSequence reference51 = ref span33[1]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1005964u, new Vector3(651.1177f, 9.597839f, 484.73328f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaSwiftperch - }; - obj47.Steps = list69; - reference51 = obj47; - ref QuestSequence reference52 = ref span33[2]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.Interact, 2003711u, new Vector3(629.0836f, 9.719971f, 496.33008f), 138); - obj48.Steps = list70; - reference52 = obj48; - ref QuestSequence reference53 = ref span33[3]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - ref QuestStep reference54 = ref CollectionsMarshal.AsSpan(list71)[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1005964u, new Vector3(651.1177f, 9.597839f, 484.73328f), 138); - num3 = 1; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - CollectionsMarshal.AsSpan(list72)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANKOB001_01320_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANKOB001_01320_A1_000_002") - }; - questStep5.DialogueChoices = list72; - reference54 = questStep5; - obj49.Steps = list71; - reference53 = obj49; - ref QuestSequence reference55 = ref span33[4]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.Interact, 1006325u, new Vector3(-141.55798f, 64.59769f, -212.26831f), 180) - { - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - obj50.Steps = list73; - reference55 = obj50; - ref QuestSequence reference56 = ref span33[5]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(19.274828f, 16.260347f, -199.21056f), 180) - { - Fly = true - }; - obj51.Steps = list74; - reference56 = obj51; - ref QuestSequence reference57 = ref span33[6]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.Interact, 1007950u, new Vector3(19.485779f, 16.159302f, -196.42938f), 180); - obj52.Steps = list75; - reference57 = obj52; - ref QuestSequence reference58 = ref span33[7]; - QuestSequence obj53 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005927u, new Vector3(-2.8534546f, 16.03717f, -172.5033f), 180) - { - NextQuestId = new QuestId(1321) - }; - obj53.Steps = list76; - reference58 = obj53; - questRoot9.QuestSequence = list67; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(1321); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - CollectionsMarshal.AsSpan(list77)[0] = "liza"; - questRoot10.Author = list77; - num = 6; - List list78 = new List(num); - CollectionsMarshal.SetCount(list78, num); - Span span34 = CollectionsMarshal.AsSpan(list78); - ref QuestSequence reference59 = ref span34[0]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005927u, new Vector3(-2.8534546f, 16.03717f, -172.5033f), 180); - obj54.Steps = list79; - reference59 = obj54; - ref QuestSequence reference60 = ref span34[1]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - Span span35 = CollectionsMarshal.AsSpan(list80); - ref QuestStep reference61 = ref span35[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(155.47716f, 68.658165f, -256.36594f), 180); - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list81 = new List(num3); - CollectionsMarshal.SetCount(list81, num3); - Span span36 = CollectionsMarshal.AsSpan(list81); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list81; - skipConditions4.StepIf = skipStepConditions4; - questStep6.SkipConditions = skipConditions4; - reference61 = questStep6; - ref QuestStep reference62 = ref span35[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2003715u, new Vector3(154.49756f, 69.047f, -254.32214f), 180); - num3 = 6; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - Span span37 = CollectionsMarshal.AsSpan(list82); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list82; - reference62 = questStep7; - ref QuestStep reference63 = ref span35[2]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2003713u, new Vector3(181.47546f, 64.59143f, -282.42926f), 180); - num3 = 6; - List list83 = new List(num3); - CollectionsMarshal.SetCount(list83, num3); - Span span38 = CollectionsMarshal.AsSpan(list83); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list83; - reference63 = questStep8; - ref QuestStep reference64 = ref span35[3]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 2003716u, new Vector3(180.28528f, 64.62195f, -255.17664f), 180); - num3 = 6; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - Span span39 = CollectionsMarshal.AsSpan(list84); - span39[0] = null; - span39[1] = null; - span39[2] = null; - span39[3] = null; - span39[4] = null; - span39[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list84; - reference64 = questStep9; - ref QuestStep reference65 = ref span35[4]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 2003714u, new Vector3(197.00916f, 64.042114f, -225.60468f), 180); - num3 = 6; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - Span span40 = CollectionsMarshal.AsSpan(list85); - span40[0] = null; - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list85; - reference65 = questStep10; - obj55.Steps = list80; - reference60 = obj55; - ref QuestSequence reference66 = ref span34[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.Interact, 1005927u, new Vector3(-2.8534546f, 16.03717f, -172.5033f), 180) - { - Fly = true - }; - obj56.Steps = list86; - reference66 = obj56; - ref QuestSequence reference67 = ref span34[3]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.Interact, 2003717u, new Vector3(0.38146973f, 16.433899f, -177.47778f), 180); - obj57.Steps = list87; - reference67 = obj57; - ref QuestSequence reference68 = ref span34[4]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 1005927u, new Vector3(-2.8534546f, 16.03717f, -172.5033f), 180) - { - StopDistance = 5f - }; - obj58.Steps = list88; - reference68 = obj58; - ref QuestSequence reference69 = ref span34[5]; - QuestSequence obj59 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - ref QuestStep reference70 = ref CollectionsMarshal.AsSpan(list89)[0]; - QuestStep obj60 = new QuestStep(EInteractionType.CompleteQuest, 1005927u, new Vector3(-2.8534546f, 16.03717f, -172.5033f), 180) - { - StopDistance = 5f - }; - num3 = 1; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - CollectionsMarshal.AsSpan(list90)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANKOB002_01321_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANKOB002_01321_A1_000_001") - }; - obj60.DialogueChoices = list90; - reference70 = obj60; - obj59.Steps = list89; - reference69 = obj59; - questRoot10.QuestSequence = list78; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(1322); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - CollectionsMarshal.AsSpan(list91)[0] = "Censored"; - questRoot11.Author = list91; - num = 11; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - Span span41 = CollectionsMarshal.AsSpan(list92); - ref QuestSequence reference71 = ref span41[0]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005927u, new Vector3(-2.8534546f, 16.03717f, -172.5033f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj61.Steps = list93; - reference71 = obj61; - ref QuestSequence reference72 = ref span41[1]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Interact, 1007936u, new Vector3(-89.12799f, 64.1947f, -246.84528f), 180) - { - Fly = true - }; - obj62.Steps = list94; - reference72 = obj62; - ref QuestSequence reference73 = ref span41[2]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.Interact, 1005927u, new Vector3(-2.8534546f, 16.03717f, -172.5033f), 180) - { - Fly = true - }; - obj63.Steps = list95; - reference73 = obj63; - ref QuestSequence reference74 = ref span41[3]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.Interact, 1005932u, new Vector3(-1.236023f, 33.38838f, -244.19019f), 180); - obj64.Steps = list96; - reference74 = obj64; - ref QuestSequence reference75 = ref span41[4]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - ref QuestStep reference76 = ref CollectionsMarshal.AsSpan(list97)[0]; - QuestStep obj66 = new QuestStep(EInteractionType.Interact, 1005960u, new Vector3(97.3678f, 56.809326f, -502.06763f), 180) - { - Fly = true, - Land = true - }; - num3 = 1; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - CollectionsMarshal.AsSpan(list98)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANKOB003_01322_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANKOB003_01322_A1_000_001") - }; - obj66.DialogueChoices = list98; - reference76 = obj66; - obj65.Steps = list97; - reference75 = obj65; - ref QuestSequence reference77 = ref span41[5]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 1007937u, new Vector3(221.82031f, 21.484379f, -580.6516f), 180); - obj67.Steps = list99; - reference77 = obj67; - ref QuestSequence reference78 = ref span41[6]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - ref QuestStep reference79 = ref CollectionsMarshal.AsSpan(list100)[0]; - QuestStep obj69 = new QuestStep(EInteractionType.Combat, 2003719u, new Vector3(182.5741f, 24.734863f, -622.33923f), 180) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - Span span42 = CollectionsMarshal.AsSpan(list101); - span42[0] = 2854u; - span42[1] = 2855u; - obj69.KillEnemyDataIds = list101; - reference79 = obj69; - obj68.Steps = list100; - reference78 = obj68; - ref QuestSequence reference80 = ref span41[7]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.Interact, 1007937u, new Vector3(221.82031f, 21.484379f, -580.6516f), 180); - obj70.Steps = list102; - reference80 = obj70; - ref QuestSequence reference81 = ref span41[8]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 8 - }; - num2 = 2; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - Span span43 = CollectionsMarshal.AsSpan(list103); - span43[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(224.7802f, 21.375952f, -579.86096f), 180); - span43[1] = new QuestStep(EInteractionType.UseItem, 2003720u, new Vector3(224.78064f, 23.941406f, -580.9568f), 180) - { - ItemId = 2001234u - }; - obj71.Steps = list103; - reference81 = obj71; - ref QuestSequence reference82 = ref span41[9]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.Interact, 1008883u, new Vector3(150.19446f, 26.489233f, -555.1385f), 180); - obj72.Steps = list104; - reference82 = obj72; - ref QuestSequence reference83 = ref span41[10]; - QuestSequence obj73 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005927u, new Vector3(-2.8534546f, 16.03717f, -172.5033f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - obj73.Steps = list105; - reference83 = obj73; - questRoot11.QuestSequence = list92; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(1323); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list106 = new List(num); - CollectionsMarshal.SetCount(list106, num); - CollectionsMarshal.AsSpan(list106)[0] = "Censored"; - questRoot12.Author = list106; - num = 9; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - Span span44 = CollectionsMarshal.AsSpan(list107); - ref QuestSequence reference84 = ref span44[0]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005931u, new Vector3(0.77819824f, 16.159302f, -171.49622f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(0.77819824f, 16.159302f, -171.49622f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj74.Steps = list108; - reference84 = obj74; - ref QuestSequence reference85 = ref span44[1]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.Interact, 1006325u, new Vector3(-141.55798f, 64.59769f, -212.26831f), 180) - { - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - obj75.Steps = list109; - reference85 = obj75; - ref QuestSequence reference86 = ref span44[2]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.Interact, 1005931u, new Vector3(0.77819824f, 16.159302f, -171.49622f), 180) - { - Fly = true - }; - obj76.Steps = list110; - reference86 = obj76; - ref QuestSequence reference87 = ref span44[3]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(217.99217f, 61.42252f, -233.55513f), 180) - { - Fly = true, - Land = true - }; - obj77.Steps = list111; - reference87 = obj77; - ref QuestSequence reference88 = ref span44[4]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span45 = CollectionsMarshal.AsSpan(list112); - ref QuestStep reference89 = ref span45[0]; - QuestStep obj79 = new QuestStep(EInteractionType.Combat, null, new Vector3(217.99217f, 61.42252f, -233.55513f), 180) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - Span span46 = CollectionsMarshal.AsSpan(list113); - span46[0] = 2864u; - span46[1] = 2865u; - span46[2] = 2866u; - obj79.KillEnemyDataIds = list113; - reference89 = obj79; - span45[1] = new QuestStep(EInteractionType.Interact, 1007941u, new Vector3(218.98218f, 61.284424f, -233.32574f), 180); - obj78.Steps = list112; - reference88 = obj78; - ref QuestSequence reference90 = ref span44[5]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.Interact, 2003722u, new Vector3(189.53223f, 64.25574f, -287.5868f), 180); - obj80.Steps = list114; - reference90 = obj80; - ref QuestSequence reference91 = ref span44[6]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.Interact, 1008947u, new Vector3(218.98218f, 61.284424f, -233.32574f), 180); - obj81.Steps = list115; - reference91 = obj81; - ref QuestSequence reference92 = ref span44[7]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.Interact, 1005927u, new Vector3(-2.8534546f, 16.03717f, -172.5033f), 180) - { - Fly = true - }; - obj82.Steps = list116; - reference92 = obj82; - ref QuestSequence reference93 = ref span44[8]; - QuestSequence obj83 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005931u, new Vector3(0.77819824f, 16.159302f, -171.49622f), 180); - obj83.Steps = list117; - reference93 = obj83; - questRoot12.QuestSequence = list107; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(1324); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - CollectionsMarshal.AsSpan(list118)[0] = "Censored"; - questRoot13.Author = list118; - num = 13; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - Span span47 = CollectionsMarshal.AsSpan(list119); - ref QuestSequence reference94 = ref span47[0]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005927u, new Vector3(-2.8534546f, 16.03717f, -172.5033f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-2.8534546f, 16.03717f, -172.5033f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj84.Steps = list120; - reference94 = obj84; - ref QuestSequence reference95 = ref span47[1]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.Interact, 1007949u, new Vector3(14.633362f, 16.165525f, -184.31378f), 180); - obj85.Steps = list121; - reference95 = obj85; - ref QuestSequence reference96 = ref span47[2]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.Interact, 1005927u, new Vector3(-2.8534546f, 16.03717f, -172.5033f), 180); - obj86.Steps = list122; - reference96 = obj86; - ref QuestSequence reference97 = ref span47[3]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.Interact, 1005932u, new Vector3(-1.236023f, 33.38838f, -244.19019f), 180) - { - Fly = true - }; - obj87.Steps = list123; - reference97 = obj87; - ref QuestSequence reference98 = ref span47[4]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - Span span48 = CollectionsMarshal.AsSpan(list124); - ref QuestStep reference99 = ref span48[0]; - QuestStep obj89 = new QuestStep(EInteractionType.UseItem, 2003723u, new Vector3(87.08313f, 22.018738f, -635.5535f), 180) - { - Fly = true, - ItemId = 2001237u - }; - num3 = 6; - List list125 = new List(num3); - CollectionsMarshal.SetCount(list125, num3); - Span span49 = CollectionsMarshal.AsSpan(list125); - span49[0] = null; - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj89.CompletionQuestVariablesFlags = list125; - reference99 = obj89; - ref QuestStep reference100 = ref span48[1]; - QuestStep obj90 = new QuestStep(EInteractionType.UseItem, 2003724u, new Vector3(96.11658f, 21.896606f, -644.9531f), 180) - { - ItemId = 2001237u - }; - num3 = 6; - List list126 = new List(num3); - CollectionsMarshal.SetCount(list126, num3); - Span span50 = CollectionsMarshal.AsSpan(list126); - span50[0] = null; - span50[1] = null; - span50[2] = null; - span50[3] = null; - span50[4] = null; - span50[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj90.CompletionQuestVariablesFlags = list126; - reference100 = obj90; - span48[2] = new QuestStep(EInteractionType.UseItem, 2003725u, new Vector3(92.94263f, 25.833496f, -655.0851f), 180) - { - ItemId = 2001237u - }; - obj88.Steps = list124; - reference98 = obj88; - ref QuestSequence reference101 = ref span47[5]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.Interact, 1007942u, new Vector3(74.93701f, 24.490723f, -665.5528f), 180); - obj91.Steps = list127; - reference101 = obj91; - ref QuestSequence reference102 = ref span47[6]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 6 - }; - num2 = 3; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - Span span51 = CollectionsMarshal.AsSpan(list128); - ref QuestStep reference103 = ref span51[0]; - QuestStep obj93 = new QuestStep(EInteractionType.UseItem, 2003727u, new Vector3(157.7019f, 22.11029f, -713.28296f), 180) - { - ItemId = 2001237u - }; - num3 = 6; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - Span span52 = CollectionsMarshal.AsSpan(list129); - span52[0] = null; - span52[1] = null; - span52[2] = null; - span52[3] = null; - span52[4] = null; - span52[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj93.CompletionQuestVariablesFlags = list129; - reference103 = obj93; - ref QuestStep reference104 = ref span51[1]; - QuestStep obj94 = new QuestStep(EInteractionType.UseItem, 2003728u, new Vector3(167.65088f, 21.927185f, -707.5151f), 180) - { - ItemId = 2001237u - }; - num3 = 6; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - Span span53 = CollectionsMarshal.AsSpan(list130); - span53[0] = null; - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj94.CompletionQuestVariablesFlags = list130; - reference104 = obj94; - span51[2] = new QuestStep(EInteractionType.UseItem, 2003726u, new Vector3(163.53088f, 25.925049f, -688.38025f), 180) - { - ItemId = 2001237u - }; - obj92.Steps = list128; - reference102 = obj92; - ref QuestSequence reference105 = ref span47[7]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.Interact, 1007943u, new Vector3(176.98938f, 24.795776f, -688.53284f), 180); - obj95.Steps = list131; - reference105 = obj95; - ref QuestSequence reference106 = ref span47[8]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - ref QuestStep reference107 = ref CollectionsMarshal.AsSpan(list132)[0]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1007944u, new Vector3(178.45422f, 23.483582f, -641.01624f), 180); - num3 = 1; - List list133 = new List(num3); - CollectionsMarshal.SetCount(list133, num3); - CollectionsMarshal.AsSpan(list133)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANKOB005_01324_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANKOB005_01324_A1_000_001") - }; - questStep11.DialogueChoices = list133; - reference107 = questStep11; - obj96.Steps = list132; - reference106 = obj96; - ref QuestSequence reference108 = ref span47[9]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.Interact, 1007946u, new Vector3(220.66064f, 21.481783f, -592.64514f), 180); - obj97.Steps = list134; - reference108 = obj97; - ref QuestSequence reference109 = ref span47[10]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.Interact, 1007947u, new Vector3(150.86597f, 26.382812f, -551.751f), 180); - obj98.Steps = list135; - reference109 = obj98; - ref QuestSequence reference110 = ref span47[11]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 11 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.Interact, 1005927u, new Vector3(-2.8534546f, 16.03717f, -172.5033f), 180) - { - Fly = true - }; - obj99.Steps = list136; - reference110 = obj99; - ref QuestSequence reference111 = ref span47[12]; - QuestSequence obj100 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003550u, new Vector3(76.85962f, 39.99632f, 78.99597f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj100.Steps = list137; - reference111 = obj100; - questRoot13.QuestSequence = list119; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(1325); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - CollectionsMarshal.AsSpan(list138)[0] = "Censored"; - questRoot14.Author = list138; - num = 4; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - Span span54 = CollectionsMarshal.AsSpan(list139); - ref QuestSequence reference112 = ref span54[0]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005928u, new Vector3(7.095398f, 16.167778f, -188.67786f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(7.095398f, 16.167778f, -188.67786f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj101.Steps = list140; - reference112 = obj101; - ref QuestSequence reference113 = ref span54[1]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - Span span55 = CollectionsMarshal.AsSpan(list141); - ref QuestStep reference114 = ref span55[0]; - QuestStep obj103 = new QuestStep(EInteractionType.Interact, 2003769u, new Vector3(-18.539795f, 48.447266f, -294.2398f), 180) - { - Fly = true - }; - num3 = 6; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - Span span56 = CollectionsMarshal.AsSpan(list142); - span56[0] = null; - span56[1] = null; - span56[2] = null; - span56[3] = null; - span56[4] = null; - span56[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj103.CompletionQuestVariablesFlags = list142; - reference114 = obj103; - ref QuestStep reference115 = ref span55[1]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 2003770u, new Vector3(-5.996826f, 48.41687f, -322.2553f), 180); - num3 = 6; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - Span span57 = CollectionsMarshal.AsSpan(list143); - span57[0] = null; - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list143; - reference115 = questStep12; - span55[2] = new QuestStep(EInteractionType.Interact, 2003773u, new Vector3(79.17908f, 57.51123f, -305.745f), 180) - { - Fly = true - }; - obj102.Steps = list141; - reference113 = obj102; - ref QuestSequence reference116 = ref span54[2]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.Interact, 1007957u, new Vector3(-101.76245f, 64.49596f, -225.08588f), 180) - { - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - obj104.Steps = list144; - reference116 = obj104; - ref QuestSequence reference117 = ref span54[3]; - QuestSequence obj105 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005928u, new Vector3(7.095398f, 16.167778f, -188.67786f), 180) - { - Fly = true - }; - obj105.Steps = list145; - reference117 = obj105; - questRoot14.QuestSequence = list139; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(1326); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list146 = new List(num); - CollectionsMarshal.SetCount(list146, num); - CollectionsMarshal.AsSpan(list146)[0] = "liza"; - questRoot15.Author = list146; - num = 3; - List list147 = new List(num); - CollectionsMarshal.SetCount(list147, num); - Span span58 = CollectionsMarshal.AsSpan(list147); - ref QuestSequence reference118 = ref span58[0]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005928u, new Vector3(7.095398f, 16.167778f, -188.67786f), 180); - obj106.Steps = list148; - reference118 = obj106; - ref QuestSequence reference119 = ref span58[1]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - Span span59 = CollectionsMarshal.AsSpan(list149); - ref QuestStep reference120 = ref span59[0]; - QuestStep obj108 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(11.243606f, 49.8394f, -374.39398f), 180) - { - Fly = true - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 6; - List list150 = new List(num3); - CollectionsMarshal.SetCount(list150, num3); - Span span60 = CollectionsMarshal.AsSpan(list150); - span60[0] = null; - span60[1] = null; - span60[2] = null; - span60[3] = null; - span60[4] = null; - span60[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions5.CompletionQuestVariablesFlags = list150; - skipConditions5.StepIf = skipStepConditions5; - obj108.SkipConditions = skipConditions5; - reference120 = obj108; - ref QuestStep reference121 = ref span59[1]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 2003774u, new Vector3(10.269287f, 49.82068f, -375.5398f), 180); - num3 = 6; - List list151 = new List(num3); - CollectionsMarshal.SetCount(list151, num3); - Span span61 = CollectionsMarshal.AsSpan(list151); - span61[0] = null; - span61[1] = null; - span61[2] = null; - span61[3] = null; - span61[4] = null; - span61[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list151; - reference121 = questStep13; - ref QuestStep reference122 = ref span59[2]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 2004022u, new Vector3(39.139404f, 48.2948f, -342.33618f), 180); - num3 = 6; - List list152 = new List(num3); - CollectionsMarshal.SetCount(list152, num3); - Span span62 = CollectionsMarshal.AsSpan(list152); - span62[0] = null; - span62[1] = null; - span62[2] = null; - span62[3] = null; - span62[4] = null; - span62[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list152; - reference122 = questStep14; - span59[3] = new QuestStep(EInteractionType.Interact, 2004020u, new Vector3(51.102417f, 48.2948f, -349.50793f), 180); - obj107.Steps = list149; - reference119 = obj107; - ref QuestSequence reference123 = ref span58[2]; - QuestSequence obj109 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005928u, new Vector3(7.095398f, 16.167778f, -188.67786f), 180) - { - Fly = true - }; - obj109.Steps = list153; - reference123 = obj109; - questRoot15.QuestSequence = list147; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(1327); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list154 = new List(num); - CollectionsMarshal.SetCount(list154, num); - CollectionsMarshal.AsSpan(list154)[0] = "liza"; - questRoot16.Author = list154; - num = 4; - List list155 = new List(num); - CollectionsMarshal.SetCount(list155, num); - Span span63 = CollectionsMarshal.AsSpan(list155); - ref QuestSequence reference124 = ref span63[0]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005928u, new Vector3(7.095398f, 16.167778f, -188.67786f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(7.095398f, 16.167778f, -188.67786f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj110.Steps = list156; - reference124 = obj110; - ref QuestSequence reference125 = ref span63[1]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - ref QuestStep reference126 = ref CollectionsMarshal.AsSpan(list157)[0]; - QuestStep obj112 = new QuestStep(EInteractionType.Combat, null, new Vector3(-1.668298f, 48.422268f, -312.28842f), 180) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list158 = new List(num3); - CollectionsMarshal.SetCount(list158, num3); - CollectionsMarshal.AsSpan(list158)[0] = new ComplexCombatData - { - DataId = 327u, - MinimumKillCount = 3u, - RewardItemId = 2001266u, - RewardItemCount = 3 - }; - obj112.ComplexCombatData = list158; - reference126 = obj112; - obj111.Steps = list157; - reference125 = obj111; - ref QuestSequence reference127 = ref span63[2]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.Interact, 1005932u, new Vector3(-1.236023f, 33.38838f, -244.19019f), 180) - { - Fly = true - }; - obj113.Steps = list159; - reference127 = obj113; - ref QuestSequence reference128 = ref span63[3]; - QuestSequence obj114 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005928u, new Vector3(7.095398f, 16.167778f, -188.67786f), 180) - { - Fly = true - }; - obj114.Steps = list160; - reference128 = obj114; - questRoot16.QuestSequence = list155; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(1328); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - CollectionsMarshal.AsSpan(list161)[0] = "liza"; - questRoot17.Author = list161; - num = 3; - List list162 = new List(num); - CollectionsMarshal.SetCount(list162, num); - Span span64 = CollectionsMarshal.AsSpan(list162); - ref QuestSequence reference129 = ref span64[0]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005928u, new Vector3(7.095398f, 16.167778f, -188.67786f), 180); - obj115.Steps = list163; - reference129 = obj115; - ref QuestSequence reference130 = ref span64[1]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - ref QuestStep reference131 = ref CollectionsMarshal.AsSpan(list164)[0]; - QuestStep obj117 = new QuestStep(EInteractionType.Combat, null, new Vector3(65.98078f, 57.753456f, -310.697f), 180) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list165 = new List(num3); - CollectionsMarshal.SetCount(list165, num3); - Span span65 = CollectionsMarshal.AsSpan(list165); - span65[0] = 755u; - span65[1] = 2881u; - obj117.KillEnemyDataIds = list165; - reference131 = obj117; - obj116.Steps = list164; - reference130 = obj116; - ref QuestSequence reference132 = ref span64[2]; - QuestSequence obj118 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005928u, new Vector3(7.095398f, 16.167778f, -188.67786f), 180) - { - Fly = true - }; - obj118.Steps = list166; - reference132 = obj118; - questRoot17.QuestSequence = list162; - AddQuest(questId17, questRoot17); - AddQuest(new QuestId(1329), new QuestRoot - { - Disabled = true, - QuestSequence = new List() - }); - QuestId questId18 = new QuestId(1330); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list167 = new List(num); - CollectionsMarshal.SetCount(list167, num); - CollectionsMarshal.AsSpan(list167)[0] = "Censored"; - questRoot18.Author = list167; - num = 7; - List list168 = new List(num); - CollectionsMarshal.SetCount(list168, num); - Span span66 = CollectionsMarshal.AsSpan(list168); - ref QuestSequence reference133 = ref span66[0]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005928u, new Vector3(7.095398f, 16.167778f, -188.67786f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(7.095398f, 16.167778f, -188.67786f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj119.Steps = list169; - reference133 = obj119; - ref QuestSequence reference134 = ref span66[1]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.Interact, 1005932u, new Vector3(-1.236023f, 33.38838f, -244.19019f), 180); - obj120.Steps = list170; - reference134 = obj120; - ref QuestSequence reference135 = ref span66[2]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - Span span67 = CollectionsMarshal.AsSpan(list171); - ref QuestStep reference136 = ref span67[0]; - QuestStep obj122 = new QuestStep(EInteractionType.Combat, 2003785u, new Vector3(-53.330322f, 64.46936f, -302.54065f), 180) - { - Fly = true, - ItemId = 2001257u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list172 = new List(num3); - CollectionsMarshal.SetCount(list172, num3); - CollectionsMarshal.AsSpan(list172)[0] = new ComplexCombatData - { - DataId = 2870u, - MinimumKillCount = 1u, - IgnoreQuestMarker = true - }; - obj122.ComplexCombatData = list172; - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 6; - List list173 = new List(num3); - CollectionsMarshal.SetCount(list173, num3); - Span span68 = CollectionsMarshal.AsSpan(list173); - span68[0] = null; - span68[1] = null; - span68[2] = null; - span68[3] = null; - span68[4] = null; - span68[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions6.CompletionQuestVariablesFlags = list173; - skipConditions6.StepIf = skipStepConditions6; - obj122.SkipConditions = skipConditions6; - reference136 = obj122; - ref QuestStep reference137 = ref span67[1]; - QuestStep obj123 = new QuestStep(EInteractionType.Combat, 2003784u, new Vector3(-57.90808f, 64.74402f, -301.68616f), 180) - { - ItemId = 2001257u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list174 = new List(num3); - CollectionsMarshal.SetCount(list174, num3); - CollectionsMarshal.AsSpan(list174)[0] = new ComplexCombatData - { - DataId = 2870u, - MinimumKillCount = 1u, - IgnoreQuestMarker = true - }; - obj123.ComplexCombatData = list174; - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 6; - List list175 = new List(num3); - CollectionsMarshal.SetCount(list175, num3); - Span span69 = CollectionsMarshal.AsSpan(list175); - span69[0] = null; - span69[1] = null; - span69[2] = null; - span69[3] = null; - span69[4] = null; - span69[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions7.CompletionQuestVariablesFlags = list175; - skipConditions7.StepIf = skipStepConditions7; - obj123.SkipConditions = skipConditions7; - reference137 = obj123; - ref QuestStep reference138 = ref span67[2]; - QuestStep obj124 = new QuestStep(EInteractionType.Combat, 2003786u, new Vector3(-63.46228f, 64.83557f, -298.60382f), 180) - { - ItemId = 2001257u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list176 = new List(num3); - CollectionsMarshal.SetCount(list176, num3); - CollectionsMarshal.AsSpan(list176)[0] = new ComplexCombatData - { - DataId = 2870u, - MinimumKillCount = 1u, - IgnoreQuestMarker = true - }; - obj124.ComplexCombatData = list176; - reference138 = obj124; - obj121.Steps = list171; - reference135 = obj121; - ref QuestSequence reference139 = ref span66[3]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.UseItem, 2003793u, new Vector3(-54.398438f, 64.49988f, -288.8075f), 180) - { - ItemId = 2001258u - }; - obj125.Steps = list177; - reference139 = obj125; - ref QuestSequence reference140 = ref span66[4]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - ref QuestStep reference141 = ref CollectionsMarshal.AsSpan(list178)[0]; - QuestStep obj127 = new QuestStep(EInteractionType.Combat, 2003797u, new Vector3(-49.912292f, 64.46936f, -303.5783f), 180) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list179 = new List(num3); - CollectionsMarshal.SetCount(list179, num3); - CollectionsMarshal.AsSpan(list179)[0] = new ComplexCombatData - { - DataId = 17u, - MinimumKillCount = 1u - }; - obj127.ComplexCombatData = list179; - reference141 = obj127; - obj126.Steps = list178; - reference140 = obj126; - ref QuestSequence reference142 = ref span66[5]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.Interact, 1005932u, new Vector3(-1.236023f, 33.38838f, -244.19019f), 180) - { - Fly = true - }; - obj128.Steps = list180; - reference142 = obj128; - ref QuestSequence reference143 = ref span66[6]; - QuestSequence obj129 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005928u, new Vector3(7.095398f, 16.167778f, -188.67786f), 180) - { - Fly = true - }; - obj129.Steps = list181; - reference143 = obj129; - questRoot18.QuestSequence = list168; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(1331); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list182 = new List(num); - CollectionsMarshal.SetCount(list182, num); - CollectionsMarshal.AsSpan(list182)[0] = "Censored"; - questRoot19.Author = list182; - num = 5; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - Span span70 = CollectionsMarshal.AsSpan(list183); - ref QuestSequence reference144 = ref span70[0]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - CollectionsMarshal.AsSpan(list184)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005928u, new Vector3(7.095398f, 16.167778f, -188.67786f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(7.095398f, 16.167778f, -188.67786f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj130.Steps = list184; - reference144 = obj130; - ref QuestSequence reference145 = ref span70[1]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.Interact, 1005932u, new Vector3(-1.236023f, 33.38838f, -244.19019f), 180); - obj131.Steps = list185; - reference145 = obj131; - ref QuestSequence reference146 = ref span70[2]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - Span span71 = CollectionsMarshal.AsSpan(list186); - ref QuestStep reference147 = ref span71[0]; - QuestStep obj133 = new QuestStep(EInteractionType.UseItem, 2003805u, new Vector3(176.10437f, 64.530396f, -273.39594f), 180) - { - Fly = true, - ItemId = 2001260u - }; - num3 = 6; - List list187 = new List(num3); - CollectionsMarshal.SetCount(list187, num3); - Span span72 = CollectionsMarshal.AsSpan(list187); - span72[0] = null; - span72[1] = null; - span72[2] = null; - span72[3] = null; - span72[4] = null; - span72[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj133.CompletionQuestVariablesFlags = list187; - reference147 = obj133; - ref QuestStep reference148 = ref span71[1]; - QuestStep obj134 = new QuestStep(EInteractionType.UseItem, 2003806u, new Vector3(178.45422f, 64.62195f, -271.2292f), 180) - { - ItemId = 2001260u - }; - num3 = 6; - List list188 = new List(num3); - CollectionsMarshal.SetCount(list188, num3); - Span span73 = CollectionsMarshal.AsSpan(list188); - span73[0] = null; - span73[1] = null; - span73[2] = null; - span73[3] = null; - span73[4] = null; - span73[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj134.CompletionQuestVariablesFlags = list188; - reference148 = obj134; - span71[2] = new QuestStep(EInteractionType.UseItem, 2003807u, new Vector3(180.37683f, 64.43884f, -268.17737f), 180) - { - ItemId = 2001260u - }; - obj132.Steps = list186; - reference146 = obj132; - ref QuestSequence reference149 = ref span70[3]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.UseItem, 2003808u, new Vector3(169.39038f, 65.50696f, -263.72174f), 180) - { - ItemId = 2001261u - }; - obj135.Steps = list189; - reference149 = obj135; - ref QuestSequence reference150 = ref span70[4]; - QuestSequence obj136 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005928u, new Vector3(7.095398f, 16.167778f, -188.67786f), 180) - { - Fly = true - }; - obj136.Steps = list190; - reference150 = obj136; - questRoot19.QuestSequence = list183; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(1332); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list191 = new List(num); - CollectionsMarshal.SetCount(list191, num); - CollectionsMarshal.AsSpan(list191)[0] = "Censored"; - questRoot20.Author = list191; - num = 3; - List list192 = new List(num); - CollectionsMarshal.SetCount(list192, num); - Span span74 = CollectionsMarshal.AsSpan(list192); - ref QuestSequence reference151 = ref span74[0]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005928u, new Vector3(7.095398f, 16.167778f, -188.67786f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(7.095398f, 16.167778f, -188.67786f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj137.Steps = list193; - reference151 = obj137; - ref QuestSequence reference152 = ref span74[1]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - Span span75 = CollectionsMarshal.AsSpan(list194); - ref QuestStep reference153 = ref span75[0]; - QuestStep obj139 = new QuestStep(EInteractionType.Interact, 2003553u, new Vector3(181.3534f, 64.7135f, -251.05676f), 180) - { - Fly = true - }; - num3 = 6; - List list195 = new List(num3); - CollectionsMarshal.SetCount(list195, num3); - Span span76 = CollectionsMarshal.AsSpan(list195); - span76[0] = null; - span76[1] = null; - span76[2] = null; - span76[3] = null; - span76[4] = null; - span76[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj139.CompletionQuestVariablesFlags = list195; - reference153 = obj139; - ref QuestStep reference154 = ref span75[1]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 2003557u, new Vector3(194.10999f, 64.80505f, -262.3484f), 180); - num3 = 6; - List list196 = new List(num3); - CollectionsMarshal.SetCount(list196, num3); - Span span77 = CollectionsMarshal.AsSpan(list196); - span77[0] = null; - span77[1] = null; - span77[2] = null; - span77[3] = null; - span77[4] = null; - span77[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list196; - reference154 = questStep15; - span75[2] = new QuestStep(EInteractionType.Interact, 2003556u, new Vector3(206.74438f, 64.56079f, -251.78918f), 180); - obj138.Steps = list194; - reference152 = obj138; - ref QuestSequence reference155 = ref span74[2]; - QuestSequence obj140 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005928u, new Vector3(7.095398f, 16.167778f, -188.67786f), 180) - { - Fly = true - }; - obj140.Steps = list197; - reference155 = obj140; - questRoot20.QuestSequence = list192; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(1333); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list198 = new List(num); - CollectionsMarshal.SetCount(list198, num); - CollectionsMarshal.AsSpan(list198)[0] = "Censored"; - questRoot21.Author = list198; - num = 5; - List list199 = new List(num); - CollectionsMarshal.SetCount(list199, num); - Span span78 = CollectionsMarshal.AsSpan(list199); - ref QuestSequence reference156 = ref span78[0]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005928u, new Vector3(7.095398f, 16.167778f, -188.67786f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(7.095398f, 16.167778f, -188.67786f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj141.Steps = list200; - reference156 = obj141; - ref QuestSequence reference157 = ref span78[1]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.Interact, 1005932u, new Vector3(-1.236023f, 33.38838f, -244.19019f), 180); - obj142.Steps = list201; - reference157 = obj142; - ref QuestSequence reference158 = ref span78[2]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - Span span79 = CollectionsMarshal.AsSpan(list202); - ref QuestStep reference159 = ref span79[0]; - QuestStep obj144 = new QuestStep(EInteractionType.Emote, 1005950u, new Vector3(-11.7647705f, 49.2008f, -289.2348f), 180) - { - Fly = true, - Land = true, - Emote = EEmote.Soothe - }; - num3 = 6; - List list203 = new List(num3); - CollectionsMarshal.SetCount(list203, num3); - Span span80 = CollectionsMarshal.AsSpan(list203); - span80[0] = null; - span80[1] = null; - span80[2] = null; - span80[3] = null; - span80[4] = null; - span80[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj144.CompletionQuestVariablesFlags = list203; - reference159 = obj144; - ref QuestStep reference160 = ref span79[1]; - QuestStep obj145 = new QuestStep(EInteractionType.Emote, 1005951u, new Vector3(-24.673828f, 49.15637f, -331.50226f), 180) - { - Emote = EEmote.Soothe - }; - num3 = 6; - List list204 = new List(num3); - CollectionsMarshal.SetCount(list204, num3); - Span span81 = CollectionsMarshal.AsSpan(list204); - span81[0] = null; - span81[1] = null; - span81[2] = null; - span81[3] = null; - span81[4] = null; - span81[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj145.CompletionQuestVariablesFlags = list204; - reference160 = obj145; - ref QuestStep reference161 = ref span79[2]; - QuestStep obj146 = new QuestStep(EInteractionType.Emote, 1005947u, new Vector3(-16.159302f, 50.30896f, -351.85785f), 180) - { - Emote = EEmote.Soothe - }; - num3 = 6; - List list205 = new List(num3); - CollectionsMarshal.SetCount(list205, num3); - Span span82 = CollectionsMarshal.AsSpan(list205); - span82[0] = null; - span82[1] = null; - span82[2] = null; - span82[3] = null; - span82[4] = null; - span82[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj146.CompletionQuestVariablesFlags = list205; - reference161 = obj146; - ref QuestStep reference162 = ref span79[3]; - QuestStep obj147 = new QuestStep(EInteractionType.Emote, 1005949u, new Vector3(15.42688f, 48.41687f, -324.02533f), 180) - { - Emote = EEmote.Soothe - }; - num3 = 6; - List list206 = new List(num3); - CollectionsMarshal.SetCount(list206, num3); - Span span83 = CollectionsMarshal.AsSpan(list206); - span83[0] = null; - span83[1] = null; - span83[2] = null; - span83[3] = null; - span83[4] = null; - span83[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj147.CompletionQuestVariablesFlags = list206; - reference162 = obj147; - span79[4] = new QuestStep(EInteractionType.Emote, 1005948u, new Vector3(50.125854f, 48.75892f, -326.55835f), 180) - { - Emote = EEmote.Soothe - }; - obj143.Steps = list202; - reference158 = obj143; - ref QuestSequence reference163 = ref span78[3]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - CollectionsMarshal.AsSpan(list207)[0] = new QuestStep(EInteractionType.Interact, 1005932u, new Vector3(-1.236023f, 33.38838f, -244.19019f), 180) - { - Fly = true - }; - obj148.Steps = list207; - reference163 = obj148; - ref QuestSequence reference164 = ref span78[4]; - QuestSequence obj149 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005928u, new Vector3(7.095398f, 16.167778f, -188.67786f), 180) - { - Fly = true - }; - obj149.Steps = list208; - reference164 = obj149; - questRoot21.QuestSequence = list199; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(1334); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list209 = new List(num); - CollectionsMarshal.SetCount(list209, num); - CollectionsMarshal.AsSpan(list209)[0] = "Censored"; - questRoot22.Author = list209; - num = 6; - List list210 = new List(num); - CollectionsMarshal.SetCount(list210, num); - Span span84 = CollectionsMarshal.AsSpan(list210); - ref QuestSequence reference165 = ref span84[0]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - CollectionsMarshal.AsSpan(list211)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005928u, new Vector3(7.095398f, 16.167778f, -188.67786f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(7.095398f, 16.167778f, -188.67786f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj150.Steps = list211; - reference165 = obj150; - ref QuestSequence reference166 = ref span84[1]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - ref QuestStep reference167 = ref CollectionsMarshal.AsSpan(list212)[0]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1005932u, new Vector3(-1.236023f, 33.38838f, -244.19019f), 180); - num3 = 1; - List list213 = new List(num3); - CollectionsMarshal.SetCount(list213, num3); - CollectionsMarshal.AsSpan(list213)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANKOB110_01334_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANKOB110_01334_A1_000_001") - }; - questStep16.DialogueChoices = list213; - reference167 = questStep16; - obj151.Steps = list212; - reference166 = obj151; - ref QuestSequence reference168 = ref span84[2]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.Interact, 2003950u, new Vector3(49.973267f, 49.332397f, -342.67188f), 180); - obj152.Steps = list214; - reference168 = obj152; - ref QuestSequence reference169 = ref span84[3]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - Span span85 = CollectionsMarshal.AsSpan(list215); - ref QuestStep reference170 = ref span85[0]; - QuestStep obj154 = new QuestStep(EInteractionType.Combat, 2003954u, new Vector3(48.081177f, 48.599854f, -346.21198f), 180) - { - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - num3 = 1; - List list216 = new List(num3); - CollectionsMarshal.SetCount(list216, num3); - CollectionsMarshal.AsSpan(list216)[0] = 2871u; - obj154.KillEnemyDataIds = list216; - reference170 = obj154; - ref QuestStep reference171 = ref span85[1]; - QuestStep obj155 = new QuestStep(EInteractionType.Combat, 2003954u, new Vector3(48.081177f, 48.599854f, -346.21198f), 180) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list217 = new List(num3); - CollectionsMarshal.SetCount(list217, num3); - CollectionsMarshal.AsSpan(list217)[0] = 17u; - obj155.KillEnemyDataIds = list217; - reference171 = obj155; - obj153.Steps = list215; - reference169 = obj153; - ref QuestSequence reference172 = ref span84[4]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - CollectionsMarshal.AsSpan(list218)[0] = new QuestStep(EInteractionType.Interact, 1005932u, new Vector3(-1.236023f, 33.38838f, -244.19019f), 180) - { - Fly = true - }; - obj156.Steps = list218; - reference172 = obj156; - ref QuestSequence reference173 = ref span84[5]; - QuestSequence obj157 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - CollectionsMarshal.AsSpan(list219)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005928u, new Vector3(7.095398f, 16.167778f, -188.67786f), 180) - { - Fly = true - }; - obj157.Steps = list219; - reference173 = obj157; - questRoot22.QuestSequence = list210; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(1335); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list220 = new List(num); - CollectionsMarshal.SetCount(list220, num); - CollectionsMarshal.AsSpan(list220)[0] = "Censored"; - questRoot23.Author = list220; - num = 3; - List list221 = new List(num); - CollectionsMarshal.SetCount(list221, num); - Span span86 = CollectionsMarshal.AsSpan(list221); - ref QuestSequence reference174 = ref span86[0]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - CollectionsMarshal.AsSpan(list222)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005929u, new Vector3(21.560913f, 16.342407f, -183.76447f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(21.560913f, 16.342407f, -183.76447f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj158.Steps = list222; - reference174 = obj158; - ref QuestSequence reference175 = ref span86[1]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - Span span87 = CollectionsMarshal.AsSpan(list223); - ref QuestStep reference176 = ref span87[0]; - QuestStep obj160 = new QuestStep(EInteractionType.Combat, 2003782u, new Vector3(65.35437f, 55.61914f, -450.7973f), 180) - { - Fly = true, - ItemId = 2001256u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list224 = new List(num3); - CollectionsMarshal.SetCount(list224, num3); - CollectionsMarshal.AsSpan(list224)[0] = 756u; - obj160.KillEnemyDataIds = list224; - num3 = 6; - List list225 = new List(num3); - CollectionsMarshal.SetCount(list225, num3); - Span span88 = CollectionsMarshal.AsSpan(list225); - span88[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span88[1] = null; - span88[2] = null; - span88[3] = null; - span88[4] = null; - span88[5] = null; - obj160.CompletionQuestVariablesFlags = list225; - reference176 = obj160; - ref QuestStep reference177 = ref span87[1]; - QuestStep obj161 = new QuestStep(EInteractionType.Combat, 2003781u, new Vector3(78.446655f, 55.61914f, -470.0542f), 180) - { - ItemId = 2001256u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list226 = new List(num3); - CollectionsMarshal.SetCount(list226, num3); - CollectionsMarshal.AsSpan(list226)[0] = 756u; - obj161.KillEnemyDataIds = list226; - reference177 = obj161; - obj159.Steps = list223; - reference175 = obj159; - ref QuestSequence reference178 = ref span86[2]; - QuestSequence obj162 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005929u, new Vector3(21.560913f, 16.342407f, -183.76447f), 180) - { - Fly = true - }; - obj162.Steps = list227; - reference178 = obj162; - questRoot23.QuestSequence = list221; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(1336); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list228 = new List(num); - CollectionsMarshal.SetCount(list228, num); - CollectionsMarshal.AsSpan(list228)[0] = "Censored"; - questRoot24.Author = list228; - questRoot24.Comment = "FATE"; - num = 2; - List list229 = new List(num); - CollectionsMarshal.SetCount(list229, num); - Span span89 = CollectionsMarshal.AsSpan(list229); - ref QuestSequence reference179 = ref span89[0]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005929u, new Vector3(21.560913f, 16.342407f, -183.76447f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(21.560913f, 16.342407f, -183.76447f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj163.Steps = list230; - reference179 = obj163; - ref QuestSequence reference180 = ref span89[1]; - QuestSequence obj164 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - Span span90 = CollectionsMarshal.AsSpan(list231); - span90[0] = new QuestStep(EInteractionType.WaitForManualProgress, null, new Vector3(92.81918f, 55.511665f, -464.93253f), 180) - { - Fly = true, - Comment = "Do the FATE" - }; - span90[1] = new QuestStep(EInteractionType.CompleteQuest, 1005929u, new Vector3(21.560913f, 16.342407f, -183.76447f), 180) - { - Fly = true - }; - obj164.Steps = list231; - reference180 = obj164; - questRoot24.QuestSequence = list229; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(1337); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list232 = new List(num); - CollectionsMarshal.SetCount(list232, num); - CollectionsMarshal.AsSpan(list232)[0] = "liza"; - questRoot25.Author = list232; - num = 5; - List list233 = new List(num); - CollectionsMarshal.SetCount(list233, num); - Span span91 = CollectionsMarshal.AsSpan(list233); - ref QuestSequence reference181 = ref span91[0]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - CollectionsMarshal.AsSpan(list234)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005929u, new Vector3(21.560913f, 16.342407f, -183.76447f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(21.560913f, 16.342407f, -183.76447f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj165.Steps = list234; - reference181 = obj165; - ref QuestSequence reference182 = ref span91[1]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.Interact, 1005932u, new Vector3(-1.236023f, 33.38838f, -244.19019f), 180) - { - Fly = true - }; - obj166.Steps = list235; - reference182 = obj166; - ref QuestSequence reference183 = ref span91[2]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - ref QuestStep reference184 = ref CollectionsMarshal.AsSpan(list236)[0]; - QuestStep obj168 = new QuestStep(EInteractionType.Combat, 2003686u, new Vector3(57.602783f, 48.111572f, -388.29633f), 180) - { - Fly = true, - ItemId = 2001226u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 3; - List list237 = new List(num3); - CollectionsMarshal.SetCount(list237, num3); - Span span92 = CollectionsMarshal.AsSpan(list237); - span92[0] = 2899u; - span92[1] = 2900u; - span92[2] = 2901u; - obj168.KillEnemyDataIds = list237; - reference184 = obj168; - obj167.Steps = list236; - reference183 = obj167; - ref QuestSequence reference185 = ref span91[3]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.Interact, 1005932u, new Vector3(-1.236023f, 33.38838f, -244.19019f), 180) - { - Fly = true - }; - obj169.Steps = list238; - reference185 = obj169; - ref QuestSequence reference186 = ref span91[4]; - QuestSequence obj170 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - CollectionsMarshal.AsSpan(list239)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005929u, new Vector3(21.560913f, 16.342407f, -183.76447f), 180) - { - Fly = true - }; - obj170.Steps = list239; - reference186 = obj170; - questRoot25.QuestSequence = list233; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(1338); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list240 = new List(num); - CollectionsMarshal.SetCount(list240, num); - CollectionsMarshal.AsSpan(list240)[0] = "liza"; - questRoot26.Author = list240; - num = 3; - List list241 = new List(num); - CollectionsMarshal.SetCount(list241, num); - Span span93 = CollectionsMarshal.AsSpan(list241); - ref QuestSequence reference187 = ref span93[0]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - CollectionsMarshal.AsSpan(list242)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005929u, new Vector3(21.560913f, 16.342407f, -183.76447f), 180); - obj171.Steps = list242; - reference187 = obj171; - ref QuestSequence reference188 = ref span93[1]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - ref QuestStep reference189 = ref CollectionsMarshal.AsSpan(list243)[0]; - QuestStep obj173 = new QuestStep(EInteractionType.Combat, null, new Vector3(51.48164f, 55.599014f, -491.209f), 180) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list244 = new List(num3); - CollectionsMarshal.SetCount(list244, num3); - CollectionsMarshal.AsSpan(list244)[0] = new ComplexCombatData - { - DataId = 2833u, - MinimumKillCount = 2u - }; - obj173.ComplexCombatData = list244; - reference189 = obj173; - obj172.Steps = list243; - reference188 = obj172; - ref QuestSequence reference190 = ref span93[2]; - QuestSequence obj174 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005929u, new Vector3(21.560913f, 16.342407f, -183.76447f), 180) - { - Fly = true - }; - obj174.Steps = list245; - reference190 = obj174; - questRoot26.QuestSequence = list241; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(1339); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list246 = new List(num); - CollectionsMarshal.SetCount(list246, num); - CollectionsMarshal.AsSpan(list246)[0] = "liza"; - questRoot27.Author = list246; - num = 8; - List list247 = new List(num); - CollectionsMarshal.SetCount(list247, num); - Span span94 = CollectionsMarshal.AsSpan(list247); - ref QuestSequence reference191 = ref span94[0]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005929u, new Vector3(21.560913f, 16.342407f, -183.76447f), 180); - obj175.Steps = list248; - reference191 = obj175; - ref QuestSequence reference192 = ref span94[1]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - Span span95 = CollectionsMarshal.AsSpan(list249); - span95[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(96.21657f, 55.28576f, -500.41245f), 180) - { - Fly = true - }; - span95[1] = new QuestStep(EInteractionType.Interact, 1005960u, new Vector3(97.3678f, 56.809326f, -502.06763f), 180); - obj176.Steps = list249; - reference192 = obj176; - ref QuestSequence reference193 = ref span94[2]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - Span span96 = CollectionsMarshal.AsSpan(list250); - ref QuestStep reference194 = ref span96[0]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1005960u, new Vector3(97.3678f, 56.809326f, -502.06763f), 180); - num3 = 1; - List list251 = new List(num3); - CollectionsMarshal.SetCount(list251, num3); - CollectionsMarshal.AsSpan(list251)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANKOB205_01339_SCENE00008_EVENTAREA_WARP_YESNO_TITLE") - }; - questStep17.DialogueChoices = list251; - reference194 = questStep17; - span96[1] = new QuestStep(EInteractionType.Interact, 2003743u, new Vector3(227.00842f, 22.75116f, -582.81836f), 180); - obj177.Steps = list250; - reference193 = obj177; - ref QuestSequence reference195 = ref span94[3]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - CollectionsMarshal.AsSpan(list252)[0] = new QuestStep(EInteractionType.UseItem, 2003744u, new Vector3(224.78064f, 23.941406f, -580.9568f), 180) - { - IgnoreDistanceToObject = true, - ItemId = 2001244u - }; - obj178.Steps = list252; - reference195 = obj178; - ref QuestSequence reference196 = ref span94[4]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 4 - }; - num2 = 4; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - Span span97 = CollectionsMarshal.AsSpan(list253); - ref QuestStep reference197 = ref span97[0]; - QuestStep obj180 = new QuestStep(EInteractionType.Combat, 2003746u, new Vector3(239.30713f, 22.323914f, -577.29456f), 180) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list254 = new List(num3); - CollectionsMarshal.SetCount(list254, num3); - CollectionsMarshal.AsSpan(list254)[0] = 2880u; - obj180.KillEnemyDataIds = list254; - num3 = 6; - List list255 = new List(num3); - CollectionsMarshal.SetCount(list255, num3); - Span span98 = CollectionsMarshal.AsSpan(list255); - span98[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span98[1] = null; - span98[2] = null; - span98[3] = null; - span98[4] = null; - span98[5] = null; - obj180.CompletionQuestVariablesFlags = list255; - reference197 = obj180; - ref QuestStep reference198 = ref span97[1]; - QuestStep obj181 = new QuestStep(EInteractionType.Combat, 2003745u, new Vector3(242.8778f, 22.507019f, -584.37476f), 180) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list256 = new List(num3); - CollectionsMarshal.SetCount(list256, num3); - CollectionsMarshal.AsSpan(list256)[0] = 2880u; - obj181.KillEnemyDataIds = list256; - num3 = 6; - List list257 = new List(num3); - CollectionsMarshal.SetCount(list257, num3); - Span span99 = CollectionsMarshal.AsSpan(list257); - span99[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span99[1] = null; - span99[2] = null; - span99[3] = null; - span99[4] = null; - span99[5] = null; - obj181.CompletionQuestVariablesFlags = list257; - reference198 = obj181; - ref QuestStep reference199 = ref span97[2]; - QuestStep obj182 = new QuestStep(EInteractionType.Combat, 2003746u, new Vector3(239.30713f, 22.323914f, -577.29456f), 180) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list258 = new List(num3); - CollectionsMarshal.SetCount(list258, num3); - CollectionsMarshal.AsSpan(list258)[0] = 2880u; - obj182.KillEnemyDataIds = list258; - num3 = 6; - List list259 = new List(num3); - CollectionsMarshal.SetCount(list259, num3); - Span span100 = CollectionsMarshal.AsSpan(list259); - span100[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span100[1] = null; - span100[2] = null; - span100[3] = null; - span100[4] = null; - span100[5] = null; - obj182.CompletionQuestVariablesFlags = list259; - reference199 = obj182; - ref QuestStep reference200 = ref span97[3]; - QuestStep obj183 = new QuestStep(EInteractionType.Combat, 2003745u, new Vector3(242.8778f, 22.507019f, -584.37476f), 180) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list260 = new List(num3); - CollectionsMarshal.SetCount(list260, num3); - CollectionsMarshal.AsSpan(list260)[0] = 2880u; - obj183.KillEnemyDataIds = list260; - num3 = 6; - List list261 = new List(num3); - CollectionsMarshal.SetCount(list261, num3); - Span span101 = CollectionsMarshal.AsSpan(list261); - span101[0] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - span101[1] = null; - span101[2] = null; - span101[3] = null; - span101[4] = null; - span101[5] = null; - obj183.CompletionQuestVariablesFlags = list261; - reference200 = obj183; - obj179.Steps = list253; - reference196 = obj179; - ref QuestSequence reference201 = ref span94[5]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - ref QuestStep reference202 = ref CollectionsMarshal.AsSpan(list262)[0]; - QuestStep obj185 = new QuestStep(EInteractionType.Combat, 2003746u, new Vector3(239.30713f, 22.323914f, -577.29456f), 180) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list263 = new List(num3); - CollectionsMarshal.SetCount(list263, num3); - CollectionsMarshal.AsSpan(list263)[0] = 2883u; - obj185.KillEnemyDataIds = list263; - reference202 = obj185; - obj184.Steps = list262; - reference201 = obj184; - ref QuestSequence reference203 = ref span94[6]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.Interact, 1005932u, new Vector3(-1.236023f, 33.38838f, -244.19019f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - obj186.Steps = list264; - reference203 = obj186; - ref QuestSequence reference204 = ref span94[7]; - QuestSequence obj187 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005929u, new Vector3(21.560913f, 16.342407f, -183.76447f), 180) - { - Fly = true - }; - obj187.Steps = list265; - reference204 = obj187; - questRoot27.QuestSequence = list247; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(1340); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list266 = new List(num); - CollectionsMarshal.SetCount(list266, num); - CollectionsMarshal.AsSpan(list266)[0] = "Censored"; - questRoot28.Author = list266; - num = 5; - List list267 = new List(num); - CollectionsMarshal.SetCount(list267, num); - Span span102 = CollectionsMarshal.AsSpan(list267); - ref QuestSequence reference205 = ref span102[0]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - CollectionsMarshal.AsSpan(list268)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005929u, new Vector3(21.560913f, 16.342407f, -183.76447f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(21.560913f, 16.342407f, -183.76447f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj188.Steps = list268; - reference205 = obj188; - ref QuestSequence reference206 = ref span102[1]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - CollectionsMarshal.AsSpan(list269)[0] = new QuestStep(EInteractionType.Interact, 1005960u, new Vector3(97.3678f, 56.809326f, -502.06763f), 180) - { - Fly = true, - Land = true - }; - obj189.Steps = list269; - reference206 = obj189; - ref QuestSequence reference207 = ref span102[2]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - Span span103 = CollectionsMarshal.AsSpan(list270); - ref QuestStep reference208 = ref span103[0]; - QuestStep obj191 = new QuestStep(EInteractionType.Interact, 1005960u, new Vector3(97.3678f, 56.809326f, -502.06763f), 180) - { - Fly = true, - Land = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(222.60724f, 21.499361f, -603.04285f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - num3 = 1; - List list271 = new List(num3); - CollectionsMarshal.SetCount(list271, num3); - CollectionsMarshal.AsSpan(list271)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANKOB206_01340_SCENE00023_EVENTAREA_WARP_YESNO_TITLE") - }; - obj191.DialogueChoices = list271; - reference208 = obj191; - ref QuestStep reference209 = ref span103[1]; - QuestStep obj192 = new QuestStep(EInteractionType.Combat, null, new Vector3(206.34064f, 26.164192f, -610.01776f), 180) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list272 = new List(num3); - CollectionsMarshal.SetCount(list272, num3); - CollectionsMarshal.AsSpan(list272)[0] = 2849u; - obj192.KillEnemyDataIds = list272; - num3 = 6; - List list273 = new List(num3); - CollectionsMarshal.SetCount(list273, num3); - Span span104 = CollectionsMarshal.AsSpan(list273); - span104[0] = null; - span104[1] = null; - span104[2] = null; - span104[3] = null; - span104[4] = null; - span104[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj192.CompletionQuestVariablesFlags = list273; - reference209 = obj192; - ref QuestStep reference210 = ref span103[2]; - QuestStep obj193 = new QuestStep(EInteractionType.Combat, null, new Vector3(214.34813f, 22.582228f, -620.98737f), 180) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list274 = new List(num3); - CollectionsMarshal.SetCount(list274, num3); - CollectionsMarshal.AsSpan(list274)[0] = 2849u; - obj193.KillEnemyDataIds = list274; - num3 = 6; - List list275 = new List(num3); - CollectionsMarshal.SetCount(list275, num3); - Span span105 = CollectionsMarshal.AsSpan(list275); - span105[0] = null; - span105[1] = null; - span105[2] = null; - span105[3] = null; - span105[4] = null; - span105[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - obj193.CompletionQuestVariablesFlags = list275; - reference210 = obj193; - ref QuestStep reference211 = ref span103[3]; - QuestStep obj194 = new QuestStep(EInteractionType.Combat, null, new Vector3(217.2839f, 21.428452f, -603.1931f), 180) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list276 = new List(num3); - CollectionsMarshal.SetCount(list276, num3); - CollectionsMarshal.AsSpan(list276)[0] = 2849u; - obj194.KillEnemyDataIds = list276; - num3 = 6; - List list277 = new List(num3); - CollectionsMarshal.SetCount(list277, num3); - Span span106 = CollectionsMarshal.AsSpan(list277); - span106[0] = null; - span106[1] = null; - span106[2] = null; - span106[3] = null; - span106[4] = null; - span106[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj194.CompletionQuestVariablesFlags = list277; - reference211 = obj194; - ref QuestStep reference212 = ref span103[4]; - QuestStep obj195 = new QuestStep(EInteractionType.Combat, null, new Vector3(230.32195f, 21.387749f, -600.7312f), 180) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list278 = new List(num3); - CollectionsMarshal.SetCount(list278, num3); - CollectionsMarshal.AsSpan(list278)[0] = 2849u; - obj195.KillEnemyDataIds = list278; - reference212 = obj195; - obj190.Steps = list270; - reference207 = obj190; - ref QuestSequence reference213 = ref span102[3]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - CollectionsMarshal.AsSpan(list279)[0] = new QuestStep(EInteractionType.UseItem, 2003647u, new Vector3(223.43774f, 21.469421f, -612.32935f), 180) - { - ItemId = 2001222u - }; - obj196.Steps = list279; - reference213 = obj196; - ref QuestSequence reference214 = ref span102[4]; - QuestSequence obj197 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - CollectionsMarshal.AsSpan(list280)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005929u, new Vector3(21.560913f, 16.342407f, -183.76447f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(21.560913f, 16.342407f, -183.76447f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj197.Steps = list280; - reference214 = obj197; - questRoot28.QuestSequence = list267; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(1341); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list281 = new List(num); - CollectionsMarshal.SetCount(list281, num); - CollectionsMarshal.AsSpan(list281)[0] = "Censored"; - questRoot29.Author = list281; - num = 7; - List list282 = new List(num); - CollectionsMarshal.SetCount(list282, num); - Span span107 = CollectionsMarshal.AsSpan(list282); - ref QuestSequence reference215 = ref span107[0]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005929u, new Vector3(21.560913f, 16.342407f, -183.76447f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(21.560913f, 16.342407f, -183.76447f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj198.Steps = list283; - reference215 = obj198; - ref QuestSequence reference216 = ref span107[1]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - CollectionsMarshal.AsSpan(list284)[0] = new QuestStep(EInteractionType.Interact, 1005932u, new Vector3(-1.236023f, 33.38838f, -244.19019f), 180) - { - Fly = true - }; - obj199.Steps = list284; - reference216 = obj199; - ref QuestSequence reference217 = ref span107[2]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - Span span108 = CollectionsMarshal.AsSpan(list285); - ref QuestStep reference218 = ref span108[0]; - QuestStep obj201 = new QuestStep(EInteractionType.Interact, 1005960u, new Vector3(97.3678f, 56.809326f, -502.06763f), 180) - { - Fly = true, - Land = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(167.17906f, 21.487904f, -562.23f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - num3 = 1; - List list286 = new List(num3); - CollectionsMarshal.SetCount(list286, num3); - CollectionsMarshal.AsSpan(list286)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANKOB207_01341_SCENE00018_EVENTAREA_WARP_YESNO_TITLE") - }; - obj201.DialogueChoices = list286; - reference218 = obj201; - ref QuestStep reference219 = ref span108[1]; - QuestStep obj202 = new QuestStep(EInteractionType.Combat, 2003885u, new Vector3(167.68127f, 21.438904f, -564.66016f), 180) - { - ItemId = 2001274u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list287 = new List(num3); - CollectionsMarshal.SetCount(list287, num3); - CollectionsMarshal.AsSpan(list287)[0] = 755u; - obj202.KillEnemyDataIds = list287; - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions8 = new SkipStepConditions(); - num3 = 6; - List list288 = new List(num3); - CollectionsMarshal.SetCount(list288, num3); - Span span109 = CollectionsMarshal.AsSpan(list288); - span109[0] = null; - span109[1] = null; - span109[2] = null; - span109[3] = null; - span109[4] = null; - span109[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions8.CompletionQuestVariablesFlags = list288; - skipConditions8.StepIf = skipStepConditions8; - obj202.SkipConditions = skipConditions8; - reference219 = obj202; - ref QuestStep reference220 = ref span108[2]; - QuestStep obj203 = new QuestStep(EInteractionType.Combat, 2003886u, new Vector3(170.8247f, 21.499878f, -565.17896f), 180) - { - ItemId = 2001274u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list289 = new List(num3); - CollectionsMarshal.SetCount(list289, num3); - CollectionsMarshal.AsSpan(list289)[0] = 755u; - obj203.KillEnemyDataIds = list289; - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions9 = new SkipStepConditions(); - num3 = 6; - List list290 = new List(num3); - CollectionsMarshal.SetCount(list290, num3); - Span span110 = CollectionsMarshal.AsSpan(list290); - span110[0] = null; - span110[1] = null; - span110[2] = null; - span110[3] = null; - span110[4] = null; - span110[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions9.CompletionQuestVariablesFlags = list290; - skipConditions9.StepIf = skipStepConditions9; - obj203.SkipConditions = skipConditions9; - reference220 = obj203; - ref QuestStep reference221 = ref span108[3]; - QuestStep obj204 = new QuestStep(EInteractionType.Combat, 2003887u, new Vector3(174.05957f, 21.438904f, -565.301f), 180) - { - ItemId = 2001274u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list291 = new List(num3); - CollectionsMarshal.SetCount(list291, num3); - CollectionsMarshal.AsSpan(list291)[0] = 755u; - obj204.KillEnemyDataIds = list291; - reference221 = obj204; - obj200.Steps = list285; - reference217 = obj200; - ref QuestSequence reference222 = ref span107[3]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - CollectionsMarshal.AsSpan(list292)[0] = new QuestStep(EInteractionType.UseItem, 2003888u, new Vector3(172.74731f, 21.377869f, -549.0654f), 180) - { - ItemId = 2001275u - }; - obj205.Steps = list292; - reference222 = obj205; - ref QuestSequence reference223 = ref span107[4]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - ref QuestStep reference224 = ref CollectionsMarshal.AsSpan(list293)[0]; - QuestStep obj207 = new QuestStep(EInteractionType.Combat, 2003892u, new Vector3(163.07312f, 21.499878f, -571.2215f), 180) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list294 = new List(num3); - CollectionsMarshal.SetCount(list294, num3); - CollectionsMarshal.AsSpan(list294)[0] = 2845u; - obj207.KillEnemyDataIds = list294; - reference224 = obj207; - obj206.Steps = list293; - reference223 = obj206; - ref QuestSequence reference225 = ref span107[5]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - CollectionsMarshal.AsSpan(list295)[0] = new QuestStep(EInteractionType.Interact, 1005932u, new Vector3(-1.236023f, 33.38838f, -244.19019f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-1.236023f, 33.38838f, -244.19019f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj208.Steps = list295; - reference225 = obj208; - ref QuestSequence reference226 = ref span107[6]; - QuestSequence obj209 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - CollectionsMarshal.AsSpan(list296)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005929u, new Vector3(21.560913f, 16.342407f, -183.76447f), 180) - { - Fly = true - }; - obj209.Steps = list296; - reference226 = obj209; - questRoot29.QuestSequence = list282; - AddQuest(questId29, questRoot29); - AddQuest(new QuestId(1342), new QuestRoot - { - Disabled = true, - QuestSequence = new List() - }); - QuestId questId30 = new QuestId(1343); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list297 = new List(num); - CollectionsMarshal.SetCount(list297, num); - CollectionsMarshal.AsSpan(list297)[0] = "Censored"; - questRoot30.Author = list297; - num = 3; - List list298 = new List(num); - CollectionsMarshal.SetCount(list298, num); - Span span111 = CollectionsMarshal.AsSpan(list298); - ref QuestSequence reference227 = ref span111[0]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - CollectionsMarshal.AsSpan(list299)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005929u, new Vector3(21.560913f, 16.342407f, -183.76447f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(21.560913f, 16.342407f, -183.76447f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj210.Steps = list299; - reference227 = obj210; - ref QuestSequence reference228 = ref span111[1]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 1 - }; - num2 = 7; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - Span span112 = CollectionsMarshal.AsSpan(list300); - ref QuestStep reference229 = ref span112[0]; - QuestStep obj212 = new QuestStep(EInteractionType.Interact, 1005960u, new Vector3(97.3678f, 56.809326f, -502.06763f), 180) - { - Fly = true, - Land = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(221.46777f, 21.491932f, -602.8513f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - num3 = 1; - List list301 = new List(num3); - CollectionsMarshal.SetCount(list301, num3); - CollectionsMarshal.AsSpan(list301)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANKOB209_01343_SCENE00009_EVENTAREA_WARP_YESNO_TITLE") - }; - obj212.DialogueChoices = list301; - reference229 = obj212; - ref QuestStep reference230 = ref span112[1]; - QuestStep obj213 = new QuestStep(EInteractionType.Combat, 1008786u, new Vector3(229.29724f, 21.671387f, -592.4315f), 180) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list302 = new List(num3); - CollectionsMarshal.SetCount(list302, num3); - CollectionsMarshal.AsSpan(list302)[0] = 757u; - obj213.KillEnemyDataIds = list302; - num3 = 6; - List list303 = new List(num3); - CollectionsMarshal.SetCount(list303, num3); - Span span113 = CollectionsMarshal.AsSpan(list303); - span113[0] = null; - span113[1] = null; - span113[2] = null; - span113[3] = null; - span113[4] = null; - span113[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - obj213.CompletionQuestVariablesFlags = list303; - reference230 = obj213; - ref QuestStep reference231 = ref span112[2]; - QuestStep obj214 = new QuestStep(EInteractionType.Combat, 1008784u, new Vector3(233.875f, 21.66776f, -605.2186f), 180) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list304 = new List(num3); - CollectionsMarshal.SetCount(list304, num3); - CollectionsMarshal.AsSpan(list304)[0] = 757u; - obj214.KillEnemyDataIds = list304; - num3 = 6; - List list305 = new List(num3); - CollectionsMarshal.SetCount(list305, num3); - Span span114 = CollectionsMarshal.AsSpan(list305); - span114[0] = null; - span114[1] = null; - span114[2] = null; - span114[3] = null; - span114[4] = null; - span114[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj214.CompletionQuestVariablesFlags = list305; - reference231 = obj214; - ref QuestStep reference232 = ref span112[3]; - QuestStep obj215 = new QuestStep(EInteractionType.Combat, 1008782u, new Vector3(215.96094f, 21.603994f, -613.3364f), 180) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list306 = new List(num3); - CollectionsMarshal.SetCount(list306, num3); - CollectionsMarshal.AsSpan(list306)[0] = 757u; - obj215.KillEnemyDataIds = list306; - num3 = 6; - List list307 = new List(num3); - CollectionsMarshal.SetCount(list307, num3); - Span span115 = CollectionsMarshal.AsSpan(list307); - span115[0] = null; - span115[1] = null; - span115[2] = null; - span115[3] = null; - span115[4] = null; - span115[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj215.CompletionQuestVariablesFlags = list307; - reference232 = obj215; - ref QuestStep reference233 = ref span112[4]; - QuestStep obj216 = new QuestStep(EInteractionType.Combat, 1008781u, new Vector3(228.29016f, 22.010138f, -616.083f), 180) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list308 = new List(num3); - CollectionsMarshal.SetCount(list308, num3); - CollectionsMarshal.AsSpan(list308)[0] = 758u; - obj216.KillEnemyDataIds = list308; - num3 = 6; - List list309 = new List(num3); - CollectionsMarshal.SetCount(list309, num3); - Span span116 = CollectionsMarshal.AsSpan(list309); - span116[0] = null; - span116[1] = null; - span116[2] = null; - span116[3] = null; - span116[4] = null; - span116[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj216.CompletionQuestVariablesFlags = list309; - reference233 = obj216; - ref QuestStep reference234 = ref span112[5]; - QuestStep obj217 = new QuestStep(EInteractionType.Combat, 1008785u, new Vector3(239.52087f, 25.649525f, -614.2825f), 180) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list310 = new List(num3); - CollectionsMarshal.SetCount(list310, num3); - CollectionsMarshal.AsSpan(list310)[0] = 758u; - obj217.KillEnemyDataIds = list310; - num3 = 6; - List list311 = new List(num3); - CollectionsMarshal.SetCount(list311, num3); - Span span117 = CollectionsMarshal.AsSpan(list311); - span117[0] = null; - span117[1] = null; - span117[2] = null; - span117[3] = null; - span117[4] = null; - span117[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj217.CompletionQuestVariablesFlags = list311; - reference234 = obj217; - ref QuestStep reference235 = ref span112[6]; - QuestStep obj218 = new QuestStep(EInteractionType.Combat, 1008783u, new Vector3(240.80249f, 26.19751f, -598.50464f), 180) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list312 = new List(num3); - CollectionsMarshal.SetCount(list312, num3); - CollectionsMarshal.AsSpan(list312)[0] = 758u; - obj218.KillEnemyDataIds = list312; - reference235 = obj218; - obj211.Steps = list300; - reference228 = obj211; - ref QuestSequence reference236 = ref span111[2]; - QuestSequence obj219 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list313 = new List(num2); - CollectionsMarshal.SetCount(list313, num2); - CollectionsMarshal.AsSpan(list313)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005929u, new Vector3(21.560913f, 16.342407f, -183.76447f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(21.560913f, 16.342407f, -183.76447f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj219.Steps = list313; - reference236 = obj219; - questRoot30.QuestSequence = list298; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(1344); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list314 = new List(num); - CollectionsMarshal.SetCount(list314, num); - CollectionsMarshal.AsSpan(list314)[0] = "liza"; - questRoot31.Author = list314; - num = 4; - List list315 = new List(num); - CollectionsMarshal.SetCount(list315, num); - Span span118 = CollectionsMarshal.AsSpan(list315); - ref QuestSequence reference237 = ref span118[0]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - CollectionsMarshal.AsSpan(list316)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005929u, new Vector3(21.560913f, 16.342407f, -183.76447f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(21.560913f, 16.342407f, -183.76447f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj220.Steps = list316; - reference237 = obj220; - ref QuestSequence reference238 = ref span118[1]; - QuestSequence obj221 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list317 = new List(num2); - CollectionsMarshal.SetCount(list317, num2); - ref QuestStep reference239 = ref CollectionsMarshal.AsSpan(list317)[0]; - QuestStep obj222 = new QuestStep(EInteractionType.Interact, 1005932u, new Vector3(-1.236023f, 33.38838f, -244.19019f), 180) - { - Fly = true - }; - num3 = 1; - List list318 = new List(num3); - CollectionsMarshal.SetCount(list318, num3); - CollectionsMarshal.AsSpan(list318)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANKOB210_01344_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANKOB210_01344_A1_000_001") - }; - obj222.DialogueChoices = list318; - reference239 = obj222; - obj221.Steps = list317; - reference238 = obj221; - ref QuestSequence reference240 = ref span118[2]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list319 = new List(num2); - CollectionsMarshal.SetCount(list319, num2); - CollectionsMarshal.AsSpan(list319)[0] = new QuestStep(EInteractionType.Interact, 2003963u, new Vector3(91.203125f, 55.74109f, -483.299f), 180) - { - Comment = "Spawns enemy that we ignore" - }; - obj223.Steps = list319; - reference240 = obj223; - ref QuestSequence reference241 = ref span118[3]; - QuestSequence obj224 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list320 = new List(num2); - CollectionsMarshal.SetCount(list320, num2); - CollectionsMarshal.AsSpan(list320)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005929u, new Vector3(21.560913f, 16.342407f, -183.76447f), 180) - { - Fly = true - }; - obj224.Steps = list320; - reference241 = obj224; - questRoot31.QuestSequence = list315; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(1346); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list321 = new List(num); - CollectionsMarshal.SetCount(list321, num); - CollectionsMarshal.AsSpan(list321)[0] = "JerryWester"; - questRoot32.Author = list321; - num = 5; - List list322 = new List(num); - CollectionsMarshal.SetCount(list322, num); - Span span119 = CollectionsMarshal.AsSpan(list322); - ref QuestSequence reference242 = ref span119[0]; - QuestSequence obj225 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list323 = new List(num2); - CollectionsMarshal.SetCount(list323, num2); - CollectionsMarshal.AsSpan(list323)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008597u, new Vector3(57.66382f, 44.999996f, -220.93542f), 140) - { - AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj225.Steps = list323; - reference242 = obj225; - ref QuestSequence reference243 = ref span119[1]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list324 = new List(num2); - CollectionsMarshal.SetCount(list324, num2); - CollectionsMarshal.AsSpan(list324)[0] = new QuestStep(EInteractionType.Interact, 1002058u, new Vector3(59.616943f, 45.157562f, -215.89996f), 140) - { - StopDistance = 7f - }; - obj226.Steps = list324; - reference243 = obj226; - ref QuestSequence reference244 = ref span119[2]; - QuestSequence obj227 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list325 = new List(num2); - CollectionsMarshal.SetCount(list325, num2); - Span span120 = CollectionsMarshal.AsSpan(list325); - span120[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(175.90674f, 52.66078f, -53.850098f), 140) - { - Fly = true - }; - ref QuestStep reference245 = ref span120[1]; - QuestStep obj228 = new QuestStep(EInteractionType.Combat, 2003561u, new Vector3(175.06665f, 52.628296f, -51.651794f), 140) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list326 = new List(num3); - CollectionsMarshal.SetCount(list326, num3); - Span span121 = CollectionsMarshal.AsSpan(list326); - span121[0] = 2853u; - span121[1] = 2877u; - obj228.KillEnemyDataIds = list326; - reference245 = obj228; - obj227.Steps = list325; - reference244 = obj227; - ref QuestSequence reference246 = ref span119[3]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list327 = new List(num2); - CollectionsMarshal.SetCount(list327, num2); - CollectionsMarshal.AsSpan(list327)[0] = new QuestStep(EInteractionType.Interact, 1008598u, new Vector3(140.45923f, 55.321606f, -33.066345f), 140); - obj229.Steps = list327; - reference246 = obj229; - ref QuestSequence reference247 = ref span119[4]; - QuestSequence obj230 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - CollectionsMarshal.AsSpan(list328)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002058u, new Vector3(59.616943f, 45.157562f, -215.89996f), 140) - { - Fly = true - }; - obj230.Steps = list328; - reference247 = obj230; - questRoot32.QuestSequence = list322; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(1347); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list329 = new List(num); - CollectionsMarshal.SetCount(list329, num); - CollectionsMarshal.AsSpan(list329)[0] = "JerryWester"; - questRoot33.Author = list329; - num = 10; - List list330 = new List(num); - CollectionsMarshal.SetCount(list330, num); - Span span122 = CollectionsMarshal.AsSpan(list330); - ref QuestSequence reference248 = ref span122[0]; - QuestSequence obj231 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list331 = new List(num2); - CollectionsMarshal.SetCount(list331, num2); - CollectionsMarshal.AsSpan(list331)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008597u, new Vector3(57.66382f, 44.999996f, -220.93542f), 140) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj231.Steps = list331; - reference248 = obj231; - ref QuestSequence reference249 = ref span122[1]; - QuestSequence obj232 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list332 = new List(num2); - CollectionsMarshal.SetCount(list332, num2); - Span span123 = CollectionsMarshal.AsSpan(list332); - span123[0] = new QuestStep(EInteractionType.UseItem, null, null, 140) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span123[1] = new QuestStep(EInteractionType.Interact, 1008600u, new Vector3(-516.35004f, 14.956879f, -370.47382f), 140); - obj232.Steps = list332; - reference249 = obj232; - ref QuestSequence reference250 = ref span122[2]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list333 = new List(num2); - CollectionsMarshal.SetCount(list333, num2); - CollectionsMarshal.AsSpan(list333)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-22.823868f, 37.760002f, 80.06303f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - obj233.Steps = list333; - reference250 = obj233; - ref QuestSequence reference251 = ref span122[3]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - CollectionsMarshal.AsSpan(list334)[0] = new QuestStep(EInteractionType.Interact, 1008604u, new Vector3(34.77527f, 7.1999946f, -93.91931f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahChamberOfRule, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj234.Steps = list334; - reference251 = obj234; - ref QuestSequence reference252 = ref span122[4]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list335 = new List(num2); - CollectionsMarshal.SetCount(list335, num2); - CollectionsMarshal.AsSpan(list335)[0] = new QuestStep(EInteractionType.Interact, 1008608u, new Vector3(33.188354f, 7.199998f, -95.384155f), 130); - obj235.Steps = list335; - reference252 = obj235; - ref QuestSequence reference253 = ref span122[5]; - QuestSequence obj236 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list336 = new List(num2); - CollectionsMarshal.SetCount(list336, num2); - CollectionsMarshal.AsSpan(list336)[0] = new QuestStep(EInteractionType.Interact, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130); - obj236.Steps = list336; - reference253 = obj236; - ref QuestSequence reference254 = ref span122[6]; - QuestSequence obj237 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list337 = new List(num2); - CollectionsMarshal.SetCount(list337, num2); - Span span124 = CollectionsMarshal.AsSpan(list337); - ref QuestStep reference255 = ref span124[0]; - QuestStep obj238 = new QuestStep(EInteractionType.Interact, 1001968u, new Vector3(136.0647f, 4.0099874f, -67.85687f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahSapphireAvenue - } - }; - num3 = 6; - List list338 = new List(num3); - CollectionsMarshal.SetCount(list338, num3); - Span span125 = CollectionsMarshal.AsSpan(list338); - span125[0] = null; - span125[1] = null; - span125[2] = null; - span125[3] = null; - span125[4] = null; - span125[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj238.CompletionQuestVariablesFlags = list338; - reference255 = obj238; - ref QuestStep reference256 = ref span124[1]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1001966u, new Vector3(126.7262f, 4.01f, -83.84839f), 131); - num3 = 6; - List list339 = new List(num3); - CollectionsMarshal.SetCount(list339, num3); - Span span126 = CollectionsMarshal.AsSpan(list339); - span126[0] = null; - span126[1] = null; - span126[2] = null; - span126[3] = null; - span126[4] = null; - span126[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list339; - reference256 = questStep18; - obj237.Steps = list337; - reference254 = obj237; - ref QuestSequence reference257 = ref span122[7]; - QuestSequence obj239 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list340 = new List(num2); - CollectionsMarshal.SetCount(list340, num2); - CollectionsMarshal.AsSpan(list340)[0] = new QuestStep(EInteractionType.Interact, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahSapphireAvenue, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj239.Steps = list340; - reference257 = obj239; - ref QuestSequence reference258 = ref span122[8]; - QuestSequence obj240 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - CollectionsMarshal.AsSpan(list341)[0] = new QuestStep(EInteractionType.Interact, 1008608u, new Vector3(33.188354f, 7.199998f, -95.384155f), 130); - obj240.Steps = list341; - reference258 = obj240; - ref QuestSequence reference259 = ref span122[9]; - QuestSequence obj241 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - CollectionsMarshal.AsSpan(list342)[0] = new QuestStep(EInteractionType.CompleteQuest, 1008616u, new Vector3(-18.265076f, 36.013893f, 57.938477f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - obj241.Steps = list342; - reference259 = obj241; - questRoot33.QuestSequence = list330; - AddQuest(questId33, questRoot33); - } - - private static void LoadQuests27() - { - QuestId questId = new QuestId(1352); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "JerryWester"; - questRoot.Author = list; - num = 5; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008639u, new Vector3(-497.94766f, 19.009045f, -354.75702f), 140) - { - AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-406.26895f, 23.167036f, -351.92947f), 140) - { - Fly = true - }; - span2[1] = new QuestStep(EInteractionType.Interact, 1008632u, new Vector3(-388.6931f, 23f, -350.94226f), 140); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - ref QuestStep reference4 = ref CollectionsMarshal.AsSpan(list5)[0]; - QuestStep obj4 = new QuestStep(EInteractionType.Combat, 2003573u, new Vector3(184.64929f, 52.140015f, 29.06836f), 140) - { - StopDistance = 0.25f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - int num3 = 1; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - CollectionsMarshal.AsSpan(list6)[0] = 2848u; - obj4.KillEnemyDataIds = list6; - reference4 = obj4; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference5 = ref span[3]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.Interact, 1008640u, new Vector3(126.17676f, 49.276558f, -173.23572f), 140) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon - }; - obj5.Steps = list7; - reference5 = obj5; - ref QuestSequence reference6 = ref span[4]; - QuestSequence obj6 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.CompleteQuest, 1008623u, new Vector3(24.887451f, 6.999997f, -80.03363f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj6.Steps = list8; - reference6 = obj6; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(1356); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - CollectionsMarshal.AsSpan(list9)[0] = "JerryWester"; - questRoot2.Author = list9; - num = 3; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - Span span3 = CollectionsMarshal.AsSpan(list10); - ref QuestSequence reference7 = ref span3[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008542u, new Vector3(0.8086548f, -1.9957249f, -42.557434f), 351); - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span3[1]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - Span span4 = CollectionsMarshal.AsSpan(list12); - ref QuestStep reference9 = ref span4[0]; - QuestStep obj9 = new QuestStep(EInteractionType.Interact, 1001029u, new Vector3(9.170593f, 20.999403f, -15.213318f), 129) - { - TargetTerritoryId = (ushort)198, - AetheryteShortcut = EAetheryteLocation.Limsa - }; - num3 = 1; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - CollectionsMarshal.AsSpan(list13)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_GAIUSE212_01356_Q1_000_1") - }; - obj9.DialogueChoices = list13; - reference9 = obj9; - span4[1] = new QuestStep(EInteractionType.Interact, 1002694u, new Vector3(-0.045776367f, 1.6001425f, -7.0039062f), 198); - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference10 = ref span3[2]; - QuestSequence obj10 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - Span span5 = CollectionsMarshal.AsSpan(list14); - span5[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(256.67426f, 1.7067826f, 216.63573f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - span5[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(62.872204f, -3.1182384f, 61.10103f), 138) - { - Fly = true - }; - span5[2] = new QuestStep(EInteractionType.CompleteQuest, 1006614u, new Vector3(65.87317f, -3.1181886f, 61.41748f), 138); - obj10.Steps = list14; - reference10 = obj10; - questRoot2.QuestSequence = list10; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(1358); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - CollectionsMarshal.AsSpan(list15)[0] = "JerryWester"; - questRoot3.Author = list15; - num = 5; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - Span span6 = CollectionsMarshal.AsSpan(list16); - ref QuestSequence reference11 = ref span6[0]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006614u, new Vector3(65.87317f, -3.1181886f, 61.41748f), 138); - obj11.Steps = list17; - reference11 = obj11; - ref QuestSequence reference12 = ref span6[1]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - Span span7 = CollectionsMarshal.AsSpan(list18); - span7[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-205.63104f, -38.72321f, -114.53675f), 138) - { - Fly = true - }; - span7[1] = new QuestStep(EInteractionType.UseItem, 1008683u, new Vector3(-208.45355f, -38.993774f, -113.29828f), 138) - { - ItemId = 2001214u - }; - obj12.Steps = list18; - reference12 = obj12; - ref QuestSequence reference13 = ref span6[2]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - ref QuestStep reference14 = ref CollectionsMarshal.AsSpan(list19)[0]; - QuestStep obj14 = new QuestStep(EInteractionType.Combat, null, new Vector3(-450.67154f, -41.88713f, -238.96031f), 138) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - Span span8 = CollectionsMarshal.AsSpan(list20); - span8[0] = 2861u; - span8[1] = 2862u; - span8[2] = 2863u; - obj14.KillEnemyDataIds = list20; - reference14 = obj14; - obj13.Steps = list19; - reference13 = obj13; - ref QuestSequence reference15 = ref span6[3]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - Span span9 = CollectionsMarshal.AsSpan(list21); - ref QuestStep reference16 = ref span9[0]; - QuestStep obj16 = new QuestStep(EInteractionType.Interact, 1008684u, new Vector3(-451.77386f, -41.985073f, -237.72034f), 138) - { - StopDistance = 0.25f - }; - num3 = 6; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - Span span10 = CollectionsMarshal.AsSpan(list22); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj16.CompletionQuestVariablesFlags = list22; - reference16 = obj16; - ref QuestStep reference17 = ref span9[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1008685u, new Vector3(-450.33954f, -41.83395f, -240.13129f), 138); - num3 = 6; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - Span span11 = CollectionsMarshal.AsSpan(list23); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list23; - reference17 = questStep; - obj15.Steps = list21; - reference15 = obj15; - ref QuestSequence reference18 = ref span6[4]; - QuestSequence obj17 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - Span span12 = CollectionsMarshal.AsSpan(list24); - span12[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(63.72484f, -3.1182368f, 60.3442f), 138) - { - Fly = true - }; - span12[1] = new QuestStep(EInteractionType.CompleteQuest, 1006614u, new Vector3(65.87317f, -3.1181886f, 61.41748f), 138); - obj17.Steps = list24; - reference18 = obj17; - questRoot3.QuestSequence = list16; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(1359); - QuestRoot questRoot4 = new QuestRoot(); - num = 2; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - Span span13 = CollectionsMarshal.AsSpan(list25); - span13[0] = "JerryWester"; - span13[1] = "Wigglez"; - questRoot4.Author = list25; - num = 6; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - Span span14 = CollectionsMarshal.AsSpan(list26); - ref QuestSequence reference19 = ref span14[0]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006614u, new Vector3(65.87317f, -3.1181886f, 61.41748f), 138); - obj18.Steps = list27; - reference19 = obj18; - ref QuestSequence reference20 = ref span14[1]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - Span span15 = CollectionsMarshal.AsSpan(list28); - span15[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-191.9162f, -16.555008f, -246.89261f), 138) - { - Fly = true - }; - ref QuestStep reference21 = ref span15[1]; - QuestStep obj20 = new QuestStep(EInteractionType.Combat, null, new Vector3(-203.74379f, -42.300938f, -250.68587f), 138) - { - StopDistance = 0.25f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - Span span16 = CollectionsMarshal.AsSpan(list29); - span16[0] = 2890u; - span16[1] = 2891u; - obj20.KillEnemyDataIds = list29; - reference21 = obj20; - obj19.Steps = list28; - reference20 = obj19; - ref QuestSequence reference22 = ref span14[2]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - Span span17 = CollectionsMarshal.AsSpan(list30); - span17[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-199.74171f, -7.5191383f, -282.04623f), 138) - { - Fly = true - }; - span17[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-194.43138f, -30.8899f, -322.80032f), 138) - { - Fly = true - }; - ref QuestStep reference23 = ref span17[2]; - QuestStep obj22 = new QuestStep(EInteractionType.Combat, null, new Vector3(-194.43138f, -40.785873f, -322.80032f), 138) - { - StopDistance = 0.25f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 4; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - Span span18 = CollectionsMarshal.AsSpan(list31); - span18[0] = 2892u; - span18[1] = 2893u; - span18[2] = 2894u; - span18[3] = 2895u; - obj22.KillEnemyDataIds = list31; - reference23 = obj22; - obj21.Steps = list30; - reference22 = obj21; - ref QuestSequence reference24 = ref span14[3]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - Span span19 = CollectionsMarshal.AsSpan(list32); - span19[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-310.84634f, -17.898666f, -338.26837f), 138) - { - Fly = true - }; - ref QuestStep reference25 = ref span19[1]; - QuestStep obj24 = new QuestStep(EInteractionType.Combat, null, new Vector3(-298.15454f, -41.646805f, -328.1372f), 138) - { - StopDistance = 0.25f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - Span span20 = CollectionsMarshal.AsSpan(list33); - span20[0] = 2896u; - span20[1] = 2897u; - span20[2] = 2898u; - obj24.KillEnemyDataIds = list33; - reference25 = obj24; - obj23.Steps = list32; - reference24 = obj23; - ref QuestSequence reference26 = ref span14[4]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - Span span21 = CollectionsMarshal.AsSpan(list34); - span21[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-328.71237f, -8.106506f, -314.975f), 138) - { - Fly = true - }; - span21[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-408.59018f, -8.778947f, -299.32205f), 138) - { - Fly = true - }; - span21[2] = new QuestStep(EInteractionType.Interact, 1008706u, new Vector3(-404.8371f, -32.810974f, -297.23047f), 138) - { - Fly = true - }; - obj25.Steps = list34; - reference26 = obj25; - ref QuestSequence reference27 = ref span14[5]; - QuestSequence obj26 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.CompleteQuest, 1008803u, new Vector3(-418.90594f, -35.708496f, -400.50354f), 138) - { - StopDistance = 5f - }; - obj26.Steps = list35; - reference27 = obj26; - questRoot4.QuestSequence = list26; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(1360); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - CollectionsMarshal.AsSpan(list36)[0] = "JerryWester"; - questRoot5.Author = list36; - num = 5; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - Span span22 = CollectionsMarshal.AsSpan(list37); - ref QuestSequence reference28 = ref span22[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008803u, new Vector3(-418.90594f, -35.708496f, -400.50354f), 138) - { - StopDistance = 5f - }; - obj27.Steps = list38; - reference28 = obj27; - ref QuestSequence reference29 = ref span22[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - Span span23 = CollectionsMarshal.AsSpan(list39); - ref QuestStep reference30 = ref span23[0]; - QuestStep obj29 = new QuestStep(EInteractionType.Interact, 1001029u, new Vector3(9.170593f, 20.999403f, -15.213318f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa - }; - num3 = 1; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - CollectionsMarshal.AsSpan(list40)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_GAIUSE216_01360_Q1_000_1") - }; - obj29.DialogueChoices = list40; - reference30 = obj29; - span23[1] = new QuestStep(EInteractionType.Interact, 1002694u, new Vector3(-0.045776367f, 1.6001425f, -7.0039062f), 198); - obj28.Steps = list39; - reference29 = obj28; - ref QuestSequence reference31 = ref span22[2]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.Interact, 1008679u, new Vector3(-1.2055054f, 1.6041331f, -3.830017f), 198); - obj30.Steps = list41; - reference31 = obj30; - ref QuestSequence reference32 = ref span22[3]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - Span span24 = CollectionsMarshal.AsSpan(list42); - span24[0] = new QuestStep(EInteractionType.Interact, 2001835u, new Vector3(0.0235393f, 2.330988f, 9.8216f), 198) - { - TargetTerritoryId = (ushort)129 - }; - span24[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(709.16064f, 66.00693f, -285.91016f), 135) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaTempestGate - } - }; - span24[2] = new QuestStep(EInteractionType.Interact, 1008692u, new Vector3(712.8556f, 66.027f, -279.07227f), 135); - obj31.Steps = list42; - reference32 = obj31; - ref QuestSequence reference33 = ref span22[4]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - Span span25 = CollectionsMarshal.AsSpan(list43); - span25[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(706.98395f, 66.00693f, -286.78662f), 135) - { - Mount = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - } - } - }; - span25[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(152.25397f, 14.095841f, 668.4288f), 135) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - } - } - }; - span25[2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 135) - { - Aetheryte = EAetheryteLocation.LowerLaNosceaMorabyDrydocks, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - } - } - }; - span25[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(156.7082f, 8.973654f, 584.51135f), 135) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - AetheryteLocked = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - } - } - }; - span25[4] = new QuestStep(EInteractionType.CompleteQuest, 1008693u, new Vector3(155.47412f, 8.973654f, 584.1306f), 135); - obj32.Steps = list43; - reference33 = obj32; - questRoot5.QuestSequence = list37; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(1361); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - CollectionsMarshal.AsSpan(list44)[0] = "JerryWester"; - questRoot6.Author = list44; - num = 3; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - Span span26 = CollectionsMarshal.AsSpan(list45); - ref QuestSequence reference34 = ref span26[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008693u, new Vector3(155.47412f, 8.973654f, 584.1306f), 135) - { - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj33.Steps = list46; - reference34 = obj33; - ref QuestSequence reference35 = ref span26[1]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Duty, null, null, 135) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 72u - } - }; - obj34.Steps = list47; - reference35 = obj34; - ref QuestSequence reference36 = ref span26[2]; - QuestSequence obj35 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - Span span27 = CollectionsMarshal.AsSpan(list48); - ref QuestStep reference37 = ref span27[0]; - QuestStep obj36 = new QuestStep(EInteractionType.Interact, 1001029u, new Vector3(9.170593f, 20.999403f, -15.213318f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa - }; - num3 = 1; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - CollectionsMarshal.AsSpan(list49)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_GAIUSE217_01361_Q1_000_1") - }; - obj36.DialogueChoices = list49; - reference37 = obj36; - span27[1] = new QuestStep(EInteractionType.CompleteQuest, 1002694u, new Vector3(-0.045776367f, 1.6001425f, -7.0039062f), 198); - obj35.Steps = list48; - reference36 = obj35; - questRoot6.QuestSequence = list45; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(1362); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - CollectionsMarshal.AsSpan(list50)[0] = "JerryWester"; - questRoot7.Author = list50; - num = 2; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - Span span28 = CollectionsMarshal.AsSpan(list51); - ref QuestSequence reference38 = ref span28[0]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001029u, new Vector3(9.170593f, 20.999403f, -15.213318f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj37.Steps = list52; - reference38 = obj37; - ref QuestSequence reference39 = ref span28[1]; - QuestSequence obj38 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.CompleteQuest, 1008694u, new Vector3(-117.265625f, 9.999865f, 154.7417f), 129); - obj38.Steps = list53; - reference39 = obj38; - questRoot7.QuestSequence = list51; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(1363); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - CollectionsMarshal.AsSpan(list54)[0] = "JerryWester"; - questRoot8.Author = list54; - num = 2; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - Span span29 = CollectionsMarshal.AsSpan(list55); - ref QuestSequence reference40 = ref span29[0]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008696u, new Vector3(-115.58716f, 9.999781f, 156.08447f), 129) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj39.Steps = list56; - reference40 = obj39; - ref QuestSequence reference41 = ref span29[1]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - Span span30 = CollectionsMarshal.AsSpan(list57); - span30[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span30[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span30[2] = new QuestStep(EInteractionType.CompleteQuest, 1008579u, new Vector3(1.0223389f, -1.9957249f, -45.731323f), 351); - obj40.Steps = list57; - reference41 = obj40; - questRoot8.QuestSequence = list55; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(1364); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - CollectionsMarshal.AsSpan(list58)[0] = "Censored"; - questRoot9.Author = list58; - questRoot9.Comment = "FATE"; - num = 2; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - Span span31 = CollectionsMarshal.AsSpan(list59); - ref QuestSequence reference42 = ref span31[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005930u, new Vector3(12.558105f, 16.159302f, -176.5622f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(12.558105f, 16.159302f, -176.5622f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj41.Steps = list60; - reference42 = obj41; - ref QuestSequence reference43 = ref span31[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - Span span32 = CollectionsMarshal.AsSpan(list61); - span32[0] = new QuestStep(EInteractionType.WaitForManualProgress, null, new Vector3(147.42166f, 24.300901f, -751.06976f), 180) - { - Fly = true, - Comment = "Do the FATE" - }; - span32[1] = new QuestStep(EInteractionType.CompleteQuest, 1005930u, new Vector3(12.558105f, 16.159302f, -176.5622f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(12.558105f, 16.159302f, -176.5622f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj42.Steps = list61; - reference43 = obj42; - questRoot9.QuestSequence = list59; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(1365); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - CollectionsMarshal.AsSpan(list62)[0] = "Censored"; - questRoot10.Author = list62; - num = 3; - List list63 = new List(num); - CollectionsMarshal.SetCount(list63, num); - Span span33 = CollectionsMarshal.AsSpan(list63); - ref QuestSequence reference44 = ref span33[0]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005930u, new Vector3(12.558105f, 16.159302f, -176.5622f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(12.558105f, 16.159302f, -176.5622f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj43.Steps = list64; - reference44 = obj43; - ref QuestSequence reference45 = ref span33[1]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - ref QuestStep reference46 = ref CollectionsMarshal.AsSpan(list65)[0]; - QuestStep obj45 = new QuestStep(EInteractionType.Combat, null, new Vector3(161.17926f, 21.418877f, -703.57477f), 180) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 3; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - Span span34 = CollectionsMarshal.AsSpan(list66); - span34[0] = 756u; - span34[1] = 757u; - span34[2] = 758u; - obj45.KillEnemyDataIds = list66; - reference46 = obj45; - obj44.Steps = list65; - reference45 = obj44; - ref QuestSequence reference47 = ref span33[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005930u, new Vector3(12.558105f, 16.159302f, -176.5622f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(12.558105f, 16.159302f, -176.5622f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj46.Steps = list67; - reference47 = obj46; - questRoot10.QuestSequence = list63; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(1366); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - CollectionsMarshal.AsSpan(list68)[0] = "liza"; - questRoot11.Author = list68; - num = 3; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - Span span35 = CollectionsMarshal.AsSpan(list69); - ref QuestSequence reference48 = ref span35[0]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005930u, new Vector3(12.558105f, 16.159302f, -176.5622f), 180); - obj47.Steps = list70; - reference48 = obj47; - ref QuestSequence reference49 = ref span35[1]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - Span span36 = CollectionsMarshal.AsSpan(list71); - span36[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(112.19494f, 23.602901f, -611.7208f), 180) - { - Fly = true - }; - span36[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(13.632976f, 21.54334f, -769.12134f), 180) - { - Fly = true - }; - ref QuestStep reference50 = ref span36[2]; - QuestStep obj49 = new QuestStep(EInteractionType.Combat, 2003699u, new Vector3(7.94989f, 21.713562f, -769.06995f), 180) - { - ItemId = 2001230u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - CollectionsMarshal.AsSpan(list72)[0] = 2841u; - obj49.KillEnemyDataIds = list72; - num3 = 6; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - Span span37 = CollectionsMarshal.AsSpan(list73); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj49.CompletionQuestVariablesFlags = list73; - reference50 = obj49; - ref QuestStep reference51 = ref span36[3]; - QuestStep obj50 = new QuestStep(EInteractionType.Combat, 2003701u, new Vector3(5.142273f, 23.75824f, -803.9216f), 180) - { - ItemId = 2001230u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list74 = new List(num3); - CollectionsMarshal.SetCount(list74, num3); - CollectionsMarshal.AsSpan(list74)[0] = 2841u; - obj50.KillEnemyDataIds = list74; - num3 = 6; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - Span span38 = CollectionsMarshal.AsSpan(list75); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj50.CompletionQuestVariablesFlags = list75; - reference51 = obj50; - ref QuestStep reference52 = ref span36[4]; - QuestStep obj51 = new QuestStep(EInteractionType.Combat, 2003702u, new Vector3(0.47296143f, 24.551636f, -795.74274f), 180) - { - ItemId = 2001230u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - CollectionsMarshal.AsSpan(list76)[0] = 2841u; - obj51.KillEnemyDataIds = list76; - reference52 = obj51; - obj48.Steps = list71; - reference49 = obj48; - ref QuestSequence reference53 = ref span35[2]; - QuestSequence obj52 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005930u, new Vector3(12.558105f, 16.159302f, -176.5622f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - obj52.Steps = list77; - reference53 = obj52; - questRoot11.QuestSequence = list69; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(1367); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list78 = new List(num); - CollectionsMarshal.SetCount(list78, num); - CollectionsMarshal.AsSpan(list78)[0] = "Censored"; - questRoot12.Author = list78; - num = 4; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - Span span39 = CollectionsMarshal.AsSpan(list79); - ref QuestSequence reference54 = ref span39[0]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005930u, new Vector3(12.558105f, 16.159302f, -176.5622f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(12.558105f, 16.159302f, -176.5622f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj53.Steps = list80; - reference54 = obj53; - ref QuestSequence reference55 = ref span39[1]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - Span span40 = CollectionsMarshal.AsSpan(list81); - ref QuestStep reference56 = ref span40[0]; - QuestStep obj55 = new QuestStep(EInteractionType.Interact, 2003753u, new Vector3(18.875366f, 25.558838f, -594.11005f), 180) - { - Fly = true, - Land = true - }; - num3 = 6; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - Span span41 = CollectionsMarshal.AsSpan(list82); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj55.CompletionQuestVariablesFlags = list82; - reference56 = obj55; - ref QuestStep reference57 = ref span40[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2003755u, new Vector3(15.854065f, 26.810059f, -648.188f), 180); - num3 = 6; - List list83 = new List(num3); - CollectionsMarshal.SetCount(list83, num3); - Span span42 = CollectionsMarshal.AsSpan(list83); - span42[0] = null; - span42[1] = null; - span42[2] = null; - span42[3] = null; - span42[4] = null; - span42[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list83; - reference57 = questStep2; - ref QuestStep reference58 = ref span40[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2003752u, new Vector3(-2.2125854f, 24.2771f, -722.31635f), 180); - num3 = 6; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - Span span43 = CollectionsMarshal.AsSpan(list84); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list84; - reference58 = questStep3; - ref QuestStep reference59 = ref span40[3]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2003754u, new Vector3(86.56433f, 24.215942f, -822.1714f), 180); - num3 = 6; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - Span span44 = CollectionsMarshal.AsSpan(list85); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list85; - reference59 = questStep4; - span40[4] = new QuestStep(EInteractionType.Interact, 2003756u, new Vector3(167.22351f, 24.76538f, -814.48083f), 180); - obj54.Steps = list81; - reference55 = obj54; - ref QuestSequence reference60 = ref span39[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.Interact, 1005932u, new Vector3(-1.236023f, 33.38838f, -244.19019f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - obj56.Steps = list86; - reference60 = obj56; - ref QuestSequence reference61 = ref span39[3]; - QuestSequence obj57 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005930u, new Vector3(12.558105f, 16.159302f, -176.5622f), 180) - { - Fly = true - }; - obj57.Steps = list87; - reference61 = obj57; - questRoot12.QuestSequence = list79; - AddQuest(questId12, questRoot12); - AddQuest(new QuestId(1368), new QuestRoot - { - Disabled = true, - QuestSequence = new List() - }); - QuestId questId13 = new QuestId(1369); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list88 = new List(num); - CollectionsMarshal.SetCount(list88, num); - CollectionsMarshal.AsSpan(list88)[0] = "Censored"; - questRoot13.Author = list88; - num = 7; - List list89 = new List(num); - CollectionsMarshal.SetCount(list89, num); - Span span45 = CollectionsMarshal.AsSpan(list89); - ref QuestSequence reference62 = ref span45[0]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005930u, new Vector3(12.558105f, 16.159302f, -176.5622f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(12.558105f, 16.159302f, -176.5622f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj58.Steps = list90; - reference62 = obj58; - ref QuestSequence reference63 = ref span45[1]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.Interact, 1005960u, new Vector3(97.3678f, 56.809326f, -502.06763f), 180) - { - Fly = true, - Land = true - }; - obj59.Steps = list91; - reference63 = obj59; - ref QuestSequence reference64 = ref span45[2]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - ref QuestStep reference65 = ref CollectionsMarshal.AsSpan(list92)[0]; - QuestStep obj61 = new QuestStep(EInteractionType.Combat, 2003920u, new Vector3(75.24219f, 28.000244f, -753.5668f), 180) - { - Fly = true, - Land = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - CollectionsMarshal.AsSpan(list93)[0] = 2846u; - obj61.KillEnemyDataIds = list93; - reference65 = obj61; - obj60.Steps = list92; - reference64 = obj60; - ref QuestSequence reference66 = ref span45[3]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Interact, 2003930u, new Vector3(75.24219f, 27.969727f, -753.5363f), 180); - obj62.Steps = list94; - reference66 = obj62; - ref QuestSequence reference67 = ref span45[4]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - ref QuestStep reference68 = ref CollectionsMarshal.AsSpan(list95)[0]; - QuestStep obj64 = new QuestStep(EInteractionType.Combat, 2003937u, new Vector3(314.62573f, 22.201843f, -711.9402f), 180) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list96 = new List(num3); - CollectionsMarshal.SetCount(list96, num3); - CollectionsMarshal.AsSpan(list96)[0] = 2846u; - obj64.KillEnemyDataIds = list96; - reference68 = obj64; - obj63.Steps = list95; - reference67 = obj63; - ref QuestSequence reference69 = ref span45[5]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.UseItem, 2003947u, new Vector3(314.62573f, 22.201843f, -711.9402f), 180) - { - ItemId = 2001282u - }; - obj65.Steps = list97; - reference69 = obj65; - ref QuestSequence reference70 = ref span45[6]; - QuestSequence obj66 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005930u, new Vector3(12.558105f, 16.159302f, -176.5622f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(12.558105f, 16.159302f, -176.5622f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj66.Steps = list98; - reference70 = obj66; - questRoot13.QuestSequence = list89; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(1370); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - CollectionsMarshal.AsSpan(list99)[0] = "liza"; - questRoot14.Author = list99; - num = 5; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - Span span46 = CollectionsMarshal.AsSpan(list100); - ref QuestSequence reference71 = ref span46[0]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005930u, new Vector3(12.558105f, 16.159302f, -176.5622f), 180); - obj67.Steps = list101; - reference71 = obj67; - ref QuestSequence reference72 = ref span46[1]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.Interact, 1005932u, new Vector3(-1.236023f, 33.38838f, -244.19019f), 180) - { - Fly = true - }; - obj68.Steps = list102; - reference72 = obj68; - ref QuestSequence reference73 = ref span46[2]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - Span span47 = CollectionsMarshal.AsSpan(list103); - ref QuestStep reference74 = ref span47[0]; - QuestStep obj70 = new QuestStep(EInteractionType.UseItem, 2003911u, new Vector3(296.5896f, 21.499878f, -722.13324f), 180) - { - Fly = true, - ItemId = 2001278u - }; - num3 = 6; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - Span span48 = CollectionsMarshal.AsSpan(list104); - span48[0] = null; - span48[1] = null; - span48[2] = null; - span48[3] = null; - span48[4] = null; - span48[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj70.CompletionQuestVariablesFlags = list104; - reference74 = obj70; - ref QuestStep reference75 = ref span47[1]; - QuestStep obj71 = new QuestStep(EInteractionType.Combat, null, new Vector3(296.5896f, 21.499878f, -722.13324f), 180) - { - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - num3 = 1; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - CollectionsMarshal.AsSpan(list105)[0] = new ComplexCombatData - { - DataId = 755u, - NameId = 2711u - }; - obj71.ComplexCombatData = list105; - reference75 = obj71; - ref QuestStep reference76 = ref span47[2]; - QuestStep obj72 = new QuestStep(EInteractionType.UseItem, 2003910u, new Vector3(293.41565f, 21.499878f, -721.91956f), 180) - { - ItemId = 2001278u - }; - num3 = 6; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - Span span49 = CollectionsMarshal.AsSpan(list106); - span49[0] = null; - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj72.CompletionQuestVariablesFlags = list106; - reference76 = obj72; - ref QuestStep reference77 = ref span47[3]; - QuestStep obj73 = new QuestStep(EInteractionType.Combat, null, new Vector3(293.41565f, 21.499878f, -721.91956f), 180) - { - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - num3 = 1; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - CollectionsMarshal.AsSpan(list107)[0] = new ComplexCombatData - { - DataId = 755u, - NameId = 2711u - }; - obj73.ComplexCombatData = list107; - reference77 = obj73; - ref QuestStep reference78 = ref span47[4]; - QuestStep obj74 = new QuestStep(EInteractionType.UseItem, 2003909u, new Vector3(290.0282f, 21.530457f, -721.3397f), 180) - { - ItemId = 2001278u - }; - num3 = 6; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - Span span50 = CollectionsMarshal.AsSpan(list108); - span50[0] = null; - span50[1] = null; - span50[2] = null; - span50[3] = null; - span50[4] = null; - span50[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj74.CompletionQuestVariablesFlags = list108; - reference78 = obj74; - obj69.Steps = list103; - reference73 = obj69; - ref QuestSequence reference79 = ref span46[3]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - Span span51 = CollectionsMarshal.AsSpan(list109); - ref QuestStep reference80 = ref span51[0]; - QuestStep obj76 = new QuestStep(EInteractionType.Combat, null, new Vector3(290.0282f, 21.530457f, -721.3397f), 180) - { - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - num3 = 1; - List list110 = new List(num3); - CollectionsMarshal.SetCount(list110, num3); - CollectionsMarshal.AsSpan(list110)[0] = new ComplexCombatData - { - DataId = 755u, - NameId = 2711u - }; - obj76.ComplexCombatData = list110; - reference80 = obj76; - span51[1] = new QuestStep(EInteractionType.UseItem, 2003912u, new Vector3(295.76562f, 21.469421f, -711.9402f), 180) - { - ItemId = 2001279u - }; - obj75.Steps = list109; - reference79 = obj75; - ref QuestSequence reference81 = ref span46[4]; - QuestSequence obj77 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005930u, new Vector3(12.558105f, 16.159302f, -176.5622f), 180) - { - DelaySecondsAtStart = 3f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - obj77.Steps = list111; - reference81 = obj77; - questRoot14.QuestSequence = list100; - AddQuest(questId14, questRoot14); - AddQuest(new QuestId(1371), new QuestRoot - { - Disabled = true, - QuestSequence = new List() - }); - AddQuest(new QuestId(1372), new QuestRoot - { - Disabled = true, - QuestSequence = new List() - }); - QuestId questId15 = new QuestId(1373); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - CollectionsMarshal.AsSpan(list112)[0] = "Censored"; - questRoot15.Author = list112; - num = 10; - List list113 = new List(num); - CollectionsMarshal.SetCount(list113, num); - Span span52 = CollectionsMarshal.AsSpan(list113); - ref QuestSequence reference82 = ref span52[0]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005930u, new Vector3(12.558105f, 16.159302f, -176.5622f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(12.558105f, 16.159302f, -176.5622f), - MaximumDistance = 50f, - TerritoryId = 180 - } - } - } - }; - obj78.Steps = list114; - reference82 = obj78; - ref QuestSequence reference83 = ref span52[1]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.Interact, 1005932u, new Vector3(-1.236023f, 33.38838f, -244.19019f), 180) - { - Fly = true - }; - obj79.Steps = list115; - reference83 = obj79; - ref QuestSequence reference84 = ref span52[2]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - ref QuestStep reference85 = ref CollectionsMarshal.AsSpan(list116)[0]; - QuestStep obj81 = new QuestStep(EInteractionType.Interact, 1008890u, new Vector3(19.516235f, 24.284801f, -559.7772f), 180) - { - Fly = true - }; - num3 = 1; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - CollectionsMarshal.AsSpan(list117)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANKOB310_01373_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANKOB310_01373_A1_000_001") - }; - obj81.DialogueChoices = list117; - reference85 = obj81; - obj80.Steps = list116; - reference84 = obj80; - ref QuestSequence reference86 = ref span52[3]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.Interact, 2003971u, new Vector3(99.168335f, 21.591492f, -639.7345f), 180); - obj82.Steps = list118; - reference86 = obj82; - ref QuestSequence reference87 = ref span52[4]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - Span span53 = CollectionsMarshal.AsSpan(list119); - ref QuestStep reference88 = ref span53[0]; - QuestStep obj84 = new QuestStep(EInteractionType.Combat, null, new Vector3(97.544685f, 21.545254f, -637.22314f), 180) - { - DelaySecondsAtStart = 2f, - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - num3 = 1; - List list120 = new List(num3); - CollectionsMarshal.SetCount(list120, num3); - CollectionsMarshal.AsSpan(list120)[0] = 2870u; - obj84.KillEnemyDataIds = list120; - reference88 = obj84; - ref QuestStep reference89 = ref span53[1]; - QuestStep obj85 = new QuestStep(EInteractionType.Combat, 2003974u, new Vector3(97.00159f, 21.591492f, -637.4762f), 180) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - CollectionsMarshal.AsSpan(list121)[0] = 2872u; - obj85.KillEnemyDataIds = list121; - reference89 = obj85; - obj83.Steps = list119; - reference87 = obj83; - ref QuestSequence reference90 = ref span52[5]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - ref QuestStep reference91 = ref CollectionsMarshal.AsSpan(list122)[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1008890u, new Vector3(19.516235f, 24.284801f, -559.7772f), 180); - num3 = 1; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - CollectionsMarshal.AsSpan(list123)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANKOB310_01373_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANKOB310_01373_A1_000_001") - }; - questStep5.DialogueChoices = list123; - reference91 = questStep5; - obj86.Steps = list122; - reference90 = obj86; - ref QuestSequence reference92 = ref span52[6]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.Interact, 2003979u, new Vector3(152.78857f, 22.171326f, -698.32916f), 180); - obj87.Steps = list124; - reference92 = obj87; - ref QuestSequence reference93 = ref span52[7]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - Span span54 = CollectionsMarshal.AsSpan(list125); - ref QuestStep reference94 = ref span54[0]; - QuestStep obj89 = new QuestStep(EInteractionType.Combat, null, new Vector3(147.60046f, 23.544617f, -705.2567f), 180) - { - DelaySecondsAtStart = 2f, - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - num3 = 1; - List list126 = new List(num3); - CollectionsMarshal.SetCount(list126, num3); - CollectionsMarshal.AsSpan(list126)[0] = 2870u; - obj89.KillEnemyDataIds = list126; - reference94 = obj89; - ref QuestStep reference95 = ref span54[1]; - QuestStep obj90 = new QuestStep(EInteractionType.Combat, 2003983u, new Vector3(147.60046f, 23.544617f, -705.2567f), 180) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list127 = new List(num3); - CollectionsMarshal.SetCount(list127, num3); - CollectionsMarshal.AsSpan(list127)[0] = 2872u; - obj90.KillEnemyDataIds = list127; - reference95 = obj90; - obj88.Steps = list125; - reference93 = obj88; - ref QuestSequence reference96 = ref span52[8]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.Interact, 1005932u, new Vector3(-1.236023f, 33.38838f, -244.19019f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - obj91.Steps = list128; - reference96 = obj91; - ref QuestSequence reference97 = ref span52[9]; - QuestSequence obj92 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005930u, new Vector3(12.558105f, 16.159302f, -176.5622f), 180) - { - Fly = true - }; - obj92.Steps = list129; - reference97 = obj92; - questRoot15.QuestSequence = list113; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(1374); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list130 = new List(num); - CollectionsMarshal.SetCount(list130, num); - CollectionsMarshal.AsSpan(list130)[0] = "liza"; - questRoot16.Author = list130; - num = 7; - List list131 = new List(num); - CollectionsMarshal.SetCount(list131, num); - Span span55 = CollectionsMarshal.AsSpan(list131); - ref QuestSequence reference98 = ref span55[0]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003281u, new Vector3(97.520386f, 40.248554f, 81.1322f), 128); - obj93.Steps = list132; - reference98 = obj93; - ref QuestSequence reference99 = ref span55[1]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.Interact, 1008826u, new Vector3(508.23218f, 9.926135f, 251.45337f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj94.Steps = list133; - reference99 = obj94; - ref QuestSequence reference100 = ref span55[2]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - Span span56 = CollectionsMarshal.AsSpan(list134); - ref QuestStep reference101 = ref span56[0]; - QuestStep obj96 = new QuestStep(EInteractionType.Interact, 1008832u, new Vector3(510.97888f, 8.979649f, 259.38806f), 137) - { - StopDistance = 7f - }; - num3 = 6; - List list135 = new List(num3); - CollectionsMarshal.SetCount(list135, num3); - Span span57 = CollectionsMarshal.AsSpan(list135); - span57[0] = null; - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj96.CompletionQuestVariablesFlags = list135; - reference101 = obj96; - ref QuestStep reference102 = ref span56[1]; - QuestStep obj97 = new QuestStep(EInteractionType.Interact, 1008831u, new Vector3(514.42737f, 8.931801f, 254.32202f), 137) - { - StopDistance = 7f - }; - num3 = 6; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - Span span58 = CollectionsMarshal.AsSpan(list136); - span58[0] = null; - span58[1] = null; - span58[2] = null; - span58[3] = null; - span58[4] = null; - span58[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj97.CompletionQuestVariablesFlags = list136; - reference102 = obj97; - ref QuestStep reference103 = ref span56[2]; - QuestStep obj98 = new QuestStep(EInteractionType.UseItem, 1008830u, new Vector3(519.24915f, 8.867149f, 245.8075f), 137) - { - ItemId = 2001288u - }; - num3 = 6; - List list137 = new List(num3); - CollectionsMarshal.SetCount(list137, num3); - Span span59 = CollectionsMarshal.AsSpan(list137); - span59[0] = null; - span59[1] = null; - span59[2] = null; - span59[3] = null; - span59[4] = null; - span59[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj98.CompletionQuestVariablesFlags = list137; - reference103 = obj98; - ref QuestStep reference104 = ref span56[3]; - QuestStep obj99 = new QuestStep(EInteractionType.UseItem, 1008829u, new Vector3(497.15417f, 12.65078f, 245.07507f), 137) - { - ItemId = 2001288u - }; - num3 = 6; - List list138 = new List(num3); - CollectionsMarshal.SetCount(list138, num3); - Span span60 = CollectionsMarshal.AsSpan(list138); - span60[0] = null; - span60[1] = null; - span60[2] = null; - span60[3] = null; - span60[4] = null; - span60[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj99.CompletionQuestVariablesFlags = list138; - reference104 = obj99; - obj95.Steps = list134; - reference100 = obj95; - ref QuestSequence reference105 = ref span55[3]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.Interact, 1008826u, new Vector3(508.23218f, 9.926135f, 251.45337f), 137); - obj100.Steps = list139; - reference105 = obj100; - ref QuestSequence reference106 = ref span55[4]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.Interact, 1008827u, new Vector3(508.35413f, 9.910819f, 250.26318f), 137); - obj101.Steps = list140; - reference106 = obj101; - ref QuestSequence reference107 = ref span55[5]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - Span span61 = CollectionsMarshal.AsSpan(list141); - span61[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-204.7492f, -41.732693f, 21.867413f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - span61[1] = new QuestStep(EInteractionType.Interact, 1008916u, new Vector3(-207.44641f, -42.06953f, 22.140747f), 138) - { - StopDistance = 5f - }; - obj102.Steps = list141; - reference107 = obj102; - ref QuestSequence reference108 = ref span55[6]; - QuestSequence obj103 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005937u, new Vector3(-238.02551f, -40.828262f, 68.28406f), 138) - { - Fly = true, - NextQuestId = new QuestId(1375) - }; - obj103.Steps = list142; - reference108 = obj103; - questRoot16.QuestSequence = list131; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(1375); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - CollectionsMarshal.AsSpan(list143)[0] = "liza"; - questRoot17.Author = list143; - num = 5; - List list144 = new List(num); - CollectionsMarshal.SetCount(list144, num); - Span span62 = CollectionsMarshal.AsSpan(list144); - ref QuestSequence reference109 = ref span62[0]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005937u, new Vector3(-238.02551f, -40.828262f, 68.28406f), 138) - { - Fly = true - }; - obj104.Steps = list145; - reference109 = obj104; - ref QuestSequence reference110 = ref span62[1]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.Interact, 1005940u, new Vector3(-226.12347f, -40.48583f, 57.083984f), 138); - obj105.Steps = list146; - reference110 = obj105; - ref QuestSequence reference111 = ref span62[2]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - Span span63 = CollectionsMarshal.AsSpan(list147); - span63[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-41.15807f, -23.382679f, -89.52834f), 138) - { - StopDistance = 0.5f, - Fly = true - }; - span63[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-41.15807f, -23.382679f, -89.52834f), 138) - { - StopDistance = 0.5f, - Mount = false - }; - obj106.Steps = list147; - reference111 = obj106; - ref QuestSequence reference112 = ref span62[3]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - Span span64 = CollectionsMarshal.AsSpan(list148); - ref QuestStep reference113 = ref span64[0]; - QuestStep obj108 = new QuestStep(EInteractionType.Combat, null, new Vector3(-41.15807f, -23.382679f, -89.52834f), 138) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - Span span65 = CollectionsMarshal.AsSpan(list149); - span65[0] = new ComplexCombatData - { - DataId = 2867u, - IgnoreQuestMarker = true - }; - span65[1] = new ComplexCombatData - { - DataId = 2868u, - IgnoreQuestMarker = true - }; - span65[2] = new ComplexCombatData - { - DataId = 2869u, - IgnoreQuestMarker = true - }; - obj108.ComplexCombatData = list149; - reference113 = obj108; - span64[1] = new QuestStep(EInteractionType.Interact, 1008897u, new Vector3(-38.31543f, -23.036211f, -88.85327f), 138); - obj107.Steps = list148; - reference112 = obj107; - ref QuestSequence reference114 = ref span62[4]; - QuestSequence obj109 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - ref QuestStep reference115 = ref CollectionsMarshal.AsSpan(list150)[0]; - QuestStep obj110 = new QuestStep(EInteractionType.CompleteQuest, 1005937u, new Vector3(-238.02551f, -40.828262f, 68.28406f), 138) - { - Fly = true - }; - num3 = 1; - List list151 = new List(num3); - CollectionsMarshal.SetCount(list151, num3); - CollectionsMarshal.AsSpan(list151)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANSAH002_01375_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANSAH002_01375_A1_000_001") - }; - obj110.DialogueChoices = list151; - reference115 = obj110; - obj109.Steps = list150; - reference114 = obj109; - questRoot17.QuestSequence = list144; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(1376); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list152 = new List(num); - CollectionsMarshal.SetCount(list152, num); - CollectionsMarshal.AsSpan(list152)[0] = "Censored"; - questRoot18.Author = list152; - num = 7; - List list153 = new List(num); - CollectionsMarshal.SetCount(list153, num); - Span span66 = CollectionsMarshal.AsSpan(list153); - ref QuestSequence reference116 = ref span66[0]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005937u, new Vector3(-238.02551f, -40.828262f, 68.28406f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-238.02551f, -40.828262f, 68.28406f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj111.Steps = list154; - reference116 = obj111; - ref QuestSequence reference117 = ref span66[1]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - ref QuestStep reference118 = ref CollectionsMarshal.AsSpan(list155)[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1005946u, new Vector3(-239.27673f, -42.130188f, 15.213196f), 138); - num3 = 1; - List list156 = new List(num3); - CollectionsMarshal.SetCount(list156, num3); - CollectionsMarshal.AsSpan(list156)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANSAH003_01376_Q1_000_000") - }; - questStep6.DialogueChoices = list156; - reference118 = questStep6; - obj112.Steps = list155; - reference117 = obj112; - ref QuestSequence reference119 = ref span66[2]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.Interact, 1008917u, new Vector3(-889.0669f, -27.57306f, 929.6559f), 138); - obj113.Steps = list157; - reference119 = obj113; - ref QuestSequence reference120 = ref span66[3]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - ref QuestStep reference121 = ref CollectionsMarshal.AsSpan(list158)[0]; - QuestStep obj115 = new QuestStep(EInteractionType.Combat, null, new Vector3(-864.2374f, -25.652748f, 928.6218f), 138) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list159 = new List(num3); - CollectionsMarshal.SetCount(list159, num3); - Span span67 = CollectionsMarshal.AsSpan(list159); - span67[0] = 767u; - span67[1] = 2832u; - obj115.KillEnemyDataIds = list159; - reference121 = obj115; - obj114.Steps = list158; - reference120 = obj114; - ref QuestSequence reference122 = ref span66[4]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.Interact, 1008917u, new Vector3(-889.0669f, -27.57306f, 929.6559f), 138); - obj116.Steps = list160; - reference122 = obj116; - ref QuestSequence reference123 = ref span66[5]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.Interact, 1008918u, new Vector3(317.1892f, -31.89867f, 273.73157f), 138); - obj117.Steps = list161; - reference123 = obj117; - ref QuestSequence reference124 = ref span66[6]; - QuestSequence obj118 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - Span span68 = CollectionsMarshal.AsSpan(list162); - span68[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(312.55045f, -31.875002f, 281.11264f), 138); - span68[1] = new QuestStep(EInteractionType.CompleteQuest, 1005937u, new Vector3(-238.02551f, -40.828262f, 68.28406f), 138) - { - Fly = true - }; - obj118.Steps = list162; - reference124 = obj118; - questRoot18.QuestSequence = list153; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(1377); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list163 = new List(num); - CollectionsMarshal.SetCount(list163, num); - CollectionsMarshal.AsSpan(list163)[0] = "Censored"; - questRoot19.Author = list163; - num = 6; - List list164 = new List(num); - CollectionsMarshal.SetCount(list164, num); - Span span69 = CollectionsMarshal.AsSpan(list164); - ref QuestSequence reference125 = ref span69[0]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005937u, new Vector3(-238.02551f, -40.828262f, 68.28406f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-238.02551f, -40.828262f, 68.28406f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj119.Steps = list165; - reference125 = obj119; - ref QuestSequence reference126 = ref span69[1]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.Interact, 1005940u, new Vector3(-226.12347f, -40.48583f, 57.083984f), 138); - obj120.Steps = list166; - reference126 = obj120; - ref QuestSequence reference127 = ref span69[2]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - Span span70 = CollectionsMarshal.AsSpan(list167); - ref QuestStep reference128 = ref span70[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1005946u, new Vector3(-239.27673f, -42.130188f, 15.213196f), 138); - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list168 = new List(num3); - CollectionsMarshal.SetCount(list168, num3); - Span span71 = CollectionsMarshal.AsSpan(list168); - span71[0] = null; - span71[1] = null; - span71[2] = null; - span71[3] = null; - span71[4] = null; - span71[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list168; - skipStepConditions.NearPosition = new NearPositionCondition - { - Position = new Vector3(-815.4858f, -42.074722f, 690.662f), - MaximumDistance = 200f, - TerritoryId = 138 - }; - skipConditions.StepIf = skipStepConditions; - questStep7.SkipConditions = skipConditions; - num3 = 1; - List list169 = new List(num3); - CollectionsMarshal.SetCount(list169, num3); - CollectionsMarshal.AsSpan(list169)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANSAH004_01377_Q1_000_000") - }; - questStep7.DialogueChoices = list169; - reference128 = questStep7; - ref QuestStep reference129 = ref span70[1]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1008904u, new Vector3(-792.2637f, -39.012253f, 716.21265f), 138); - num3 = 6; - List list170 = new List(num3); - CollectionsMarshal.SetCount(list170, num3); - Span span72 = CollectionsMarshal.AsSpan(list170); - span72[0] = null; - span72[1] = null; - span72[2] = null; - span72[3] = null; - span72[4] = null; - span72[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list170; - reference129 = questStep8; - span70[2] = new QuestStep(EInteractionType.Interact, 1008802u, new Vector3(-814.84705f, -42.154568f, 694.3312f), 138) - { - TargetTerritoryId = (ushort)138, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotNearPosition = new NearPositionCondition - { - Position = new Vector3(-814.84705f, -42.154568f, 694.3312f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - ref QuestStep reference130 = ref span70[3]; - QuestStep obj122 = new QuestStep(EInteractionType.Interact, 1008902u, new Vector3(-150.2251f, -41.378696f, -295.58252f), 138) - { - Fly = true - }; - num3 = 6; - List list171 = new List(num3); - CollectionsMarshal.SetCount(list171, num3); - Span span73 = CollectionsMarshal.AsSpan(list171); - span73[0] = null; - span73[1] = null; - span73[2] = null; - span73[3] = null; - span73[4] = null; - span73[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj122.CompletionQuestVariablesFlags = list171; - reference130 = obj122; - ref QuestStep reference131 = ref span70[4]; - QuestStep obj123 = new QuestStep(EInteractionType.Interact, 1008903u, new Vector3(-357.5647f, -35.210495f, -425.2232f), 138) - { - Fly = true, - Land = true - }; - num3 = 6; - List list172 = new List(num3); - CollectionsMarshal.SetCount(list172, num3); - Span span74 = CollectionsMarshal.AsSpan(list172); - span74[0] = null; - span74[1] = null; - span74[2] = null; - span74[3] = null; - span74[4] = null; - span74[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj123.CompletionQuestVariablesFlags = list172; - reference131 = obj123; - obj121.Steps = list167; - reference127 = obj121; - ref QuestSequence reference132 = ref span69[3]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.Interact, 1005940u, new Vector3(-226.12347f, -40.48583f, 57.083984f), 138) - { - Fly = true - }; - obj124.Steps = list173; - reference132 = obj124; - ref QuestSequence reference133 = ref span69[4]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.Interact, 2003989u, new Vector3(-364.9806f, -38.254395f, -242.81683f), 138) - { - Fly = true, - Land = true - }; - obj125.Steps = list174; - reference133 = obj125; - ref QuestSequence reference134 = ref span69[5]; - QuestSequence obj126 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005937u, new Vector3(-238.02551f, -40.828262f, 68.28406f), 138) - { - Fly = true - }; - obj126.Steps = list175; - reference134 = obj126; - questRoot19.QuestSequence = list164; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(1378); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - CollectionsMarshal.AsSpan(list176)[0] = "Censored"; - questRoot20.Author = list176; - num = 11; - List list177 = new List(num); - CollectionsMarshal.SetCount(list177, num); - Span span75 = CollectionsMarshal.AsSpan(list177); - ref QuestSequence reference135 = ref span75[0]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005937u, new Vector3(-238.02551f, -40.828262f, 68.28406f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-238.02551f, -40.828262f, 68.28406f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj127.Steps = list178; - reference135 = obj127; - ref QuestSequence reference136 = ref span75[1]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - CollectionsMarshal.AsSpan(list179)[0] = new QuestStep(EInteractionType.Interact, 1006614u, new Vector3(65.87317f, -3.1181886f, 61.41748f), 138) - { - Fly = true - }; - obj128.Steps = list179; - reference136 = obj128; - ref QuestSequence reference137 = ref span75[2]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.Interact, 1005937u, new Vector3(-238.02551f, -40.828262f, 68.28406f), 138) - { - Fly = true - }; - obj129.Steps = list180; - reference137 = obj129; - ref QuestSequence reference138 = ref span75[3]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.Interact, 2004024u, new Vector3(-412.95496f, -39.047913f, -229.72461f), 138) - { - Fly = true - }; - obj130.Steps = list181; - reference138 = obj130; - ref QuestSequence reference139 = ref span75[4]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.Interact, 1005937u, new Vector3(-238.02551f, -40.828262f, 68.28406f), 138) - { - Fly = true - }; - obj131.Steps = list182; - reference139 = obj131; - ref QuestSequence reference140 = ref span75[5]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - ref QuestStep reference141 = ref CollectionsMarshal.AsSpan(list183)[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1005946u, new Vector3(-239.27673f, -42.130188f, 15.213196f), 138); - num3 = 1; - List list184 = new List(num3); - CollectionsMarshal.SetCount(list184, num3); - CollectionsMarshal.AsSpan(list184)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANSAH005_01378_Q1_000_000") - }; - questStep9.DialogueChoices = list184; - reference141 = questStep9; - obj132.Steps = list183; - reference140 = obj132; - ref QuestSequence reference142 = ref span75[6]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - ref QuestStep reference143 = ref CollectionsMarshal.AsSpan(list185)[0]; - QuestStep obj134 = new QuestStep(EInteractionType.Combat, null, new Vector3(-919.11914f, -31.760002f, 820.28955f), 138) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list186 = new List(num3); - CollectionsMarshal.SetCount(list186, num3); - Span span76 = CollectionsMarshal.AsSpan(list186); - span76[0] = 765u; - span76[1] = 775u; - obj134.KillEnemyDataIds = list186; - reference143 = obj134; - obj133.Steps = list185; - reference142 = obj133; - ref QuestSequence reference144 = ref span75[7]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.UseItem, 1008922u, new Vector3(-914.8852f, -31.75f, 811.6426f), 138) - { - ItemId = 2001295u - }; - obj135.Steps = list187; - reference144 = obj135; - ref QuestSequence reference145 = ref span75[8]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - CollectionsMarshal.AsSpan(list188)[0] = new QuestStep(EInteractionType.Interact, 1008923u, new Vector3(321.85852f, -36.32501f, 350.1792f), 138); - obj136.Steps = list188; - reference145 = obj136; - ref QuestSequence reference146 = ref span75[9]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.Interact, 1005937u, new Vector3(-238.02551f, -40.828262f, 68.28406f), 138) - { - Fly = true - }; - obj137.Steps = list189; - reference146 = obj137; - ref QuestSequence reference147 = ref span75[10]; - QuestSequence obj138 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003281u, new Vector3(97.520386f, 40.248554f, 81.1322f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj138.Steps = list190; - reference147 = obj138; - questRoot20.QuestSequence = list177; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(1379); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list191 = new List(num); - CollectionsMarshal.SetCount(list191, num); - CollectionsMarshal.AsSpan(list191)[0] = "Censored"; - questRoot21.Author = list191; - questRoot21.Comment = "FATE"; - num = 2; - List list192 = new List(num); - CollectionsMarshal.SetCount(list192, num); - Span span77 = CollectionsMarshal.AsSpan(list192); - ref QuestSequence reference148 = ref span77[0]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005938u, new Vector3(-220.7218f, -40.720844f, 37.247192f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-220.7218f, -40.720844f, 37.247192f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj139.Steps = list193; - reference148 = obj139; - ref QuestSequence reference149 = ref span77[1]; - QuestSequence obj140 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - Span span78 = CollectionsMarshal.AsSpan(list194); - span78[0] = new QuestStep(EInteractionType.WaitForManualProgress, null, new Vector3(-143.67775f, -32.78761f, -122.891304f), 138) - { - Fly = true, - Comment = "Do the FATE" - }; - span78[1] = new QuestStep(EInteractionType.CompleteQuest, 1005938u, new Vector3(-220.7218f, -40.720844f, 37.247192f), 138) - { - Fly = true - }; - obj140.Steps = list194; - reference149 = obj140; - questRoot21.QuestSequence = list192; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(1380); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list195 = new List(num); - CollectionsMarshal.SetCount(list195, num); - CollectionsMarshal.AsSpan(list195)[0] = "Censored"; - questRoot22.Author = list195; - num = 3; - List list196 = new List(num); - CollectionsMarshal.SetCount(list196, num); - Span span79 = CollectionsMarshal.AsSpan(list196); - ref QuestSequence reference150 = ref span79[0]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005938u, new Vector3(-220.7218f, -40.720844f, 37.247192f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-220.7218f, -40.720844f, 37.247192f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj141.Steps = list197; - reference150 = obj141; - ref QuestSequence reference151 = ref span79[1]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - Span span80 = CollectionsMarshal.AsSpan(list198); - ref QuestStep reference152 = ref span80[0]; - QuestStep obj143 = new QuestStep(EInteractionType.UseItem, 2003871u, new Vector3(-126.93988f, -27.084778f, 29.800781f), 138) - { - Fly = true, - ItemId = 2001273u - }; - num3 = 6; - List list199 = new List(num3); - CollectionsMarshal.SetCount(list199, num3); - Span span81 = CollectionsMarshal.AsSpan(list199); - span81[0] = null; - span81[1] = null; - span81[2] = null; - span81[3] = null; - span81[4] = null; - span81[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj143.CompletionQuestVariablesFlags = list199; - reference152 = obj143; - ref QuestStep reference153 = ref span80[1]; - QuestStep obj144 = new QuestStep(EInteractionType.UseItem, 2003872u, new Vector3(-22.354492f, -14.999634f, -101.51831f), 138) - { - Fly = true, - ItemId = 2001273u - }; - num3 = 6; - List> list200 = new List>(num3); - CollectionsMarshal.SetCount(list200, num3); - Span> span82 = CollectionsMarshal.AsSpan(list200); - span82[0] = null; - span82[1] = null; - span82[2] = null; - span82[3] = null; - span82[4] = null; - ref List reference154 = ref span82[5]; - int num4 = 1; - List list201 = new List(num4); - CollectionsMarshal.SetCount(list201, num4); - CollectionsMarshal.AsSpan(list201)[0] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - reference154 = list201; - obj144.RequiredQuestVariables = list200; - reference153 = obj144; - obj142.Steps = list198; - reference151 = obj142; - ref QuestSequence reference155 = ref span79[2]; - QuestSequence obj145 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005938u, new Vector3(-220.7218f, -40.720844f, 37.247192f), 138) - { - Fly = true - }; - obj145.Steps = list202; - reference155 = obj145; - questRoot22.QuestSequence = list196; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(1381); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list203 = new List(num); - CollectionsMarshal.SetCount(list203, num); - CollectionsMarshal.AsSpan(list203)[0] = "Censored"; - questRoot23.Author = list203; - num = 3; - List list204 = new List(num); - CollectionsMarshal.SetCount(list204, num); - Span span83 = CollectionsMarshal.AsSpan(list204); - ref QuestSequence reference156 = ref span83[0]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005938u, new Vector3(-220.7218f, -40.720844f, 37.247192f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-220.7218f, -40.720844f, 37.247192f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj146.Steps = list205; - reference156 = obj146; - ref QuestSequence reference157 = ref span83[1]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - ref QuestStep reference158 = ref CollectionsMarshal.AsSpan(list206)[0]; - QuestStep obj148 = new QuestStep(EInteractionType.Combat, null, new Vector3(-93.46076f, -30.563955f, -116.52818f), 138) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list207 = new List(num3); - CollectionsMarshal.SetCount(list207, num3); - CollectionsMarshal.AsSpan(list207)[0] = 2835u; - obj148.KillEnemyDataIds = list207; - reference158 = obj148; - obj147.Steps = list206; - reference157 = obj147; - ref QuestSequence reference159 = ref span83[2]; - QuestSequence obj149 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005938u, new Vector3(-220.7218f, -40.720844f, 37.247192f), 138) - { - Fly = true - }; - obj149.Steps = list208; - reference159 = obj149; - questRoot23.QuestSequence = list204; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(1383); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list209 = new List(num); - CollectionsMarshal.SetCount(list209, num); - CollectionsMarshal.AsSpan(list209)[0] = "Censored"; - questRoot24.Author = list209; - num = 4; - List list210 = new List(num); - CollectionsMarshal.SetCount(list210, num); - Span span84 = CollectionsMarshal.AsSpan(list210); - ref QuestSequence reference160 = ref span84[0]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - CollectionsMarshal.AsSpan(list211)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005938u, new Vector3(-220.7218f, -40.720844f, 37.247192f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-220.7218f, -40.720844f, 37.247192f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj150.Steps = list211; - reference160 = obj150; - ref QuestSequence reference161 = ref span84[1]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - Span span85 = CollectionsMarshal.AsSpan(list212); - ref QuestStep reference162 = ref span85[0]; - QuestStep obj152 = new QuestStep(EInteractionType.Combat, 1008818u, new Vector3(-188.89148f, -41.164997f, -42.832153f), 138) - { - Fly = true, - Land = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list213 = new List(num3); - CollectionsMarshal.SetCount(list213, num3); - CollectionsMarshal.AsSpan(list213)[0] = 767u; - obj152.KillEnemyDataIds = list213; - reference162 = obj152; - ref QuestStep reference163 = ref span85[1]; - QuestStep obj153 = new QuestStep(EInteractionType.Combat, 1008819u, new Vector3(-156.35925f, -38.790955f, -49.302002f), 138) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list214 = new List(num3); - CollectionsMarshal.SetCount(list214, num3); - CollectionsMarshal.AsSpan(list214)[0] = 767u; - obj153.KillEnemyDataIds = list214; - reference163 = obj153; - ref QuestStep reference164 = ref span85[2]; - QuestStep obj154 = new QuestStep(EInteractionType.Combat, 1008820u, new Vector3(-153.27692f, -35.290905f, -72.70929f), 138) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list215 = new List(num3); - CollectionsMarshal.SetCount(list215, num3); - CollectionsMarshal.AsSpan(list215)[0] = 767u; - obj154.KillEnemyDataIds = list215; - reference164 = obj154; - obj151.Steps = list212; - reference161 = obj151; - ref QuestSequence reference165 = ref span84[2]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - Span span86 = CollectionsMarshal.AsSpan(list216); - span86[0] = new QuestStep(EInteractionType.UseItem, 1008825u, new Vector3(-212.72601f, -40.03688f, -102.80011f), 138) - { - ItemId = 2001254u - }; - span86[1] = new QuestStep(EInteractionType.UseItem, 1008823u, new Vector3(-213.58057f, -40.036037f, -103.593506f), 138) - { - ItemId = 2001254u - }; - span86[2] = new QuestStep(EInteractionType.UseItem, 1008824u, new Vector3(-212.75659f, -40.002003f, -104.631165f), 138) - { - ItemId = 2001254u - }; - obj155.Steps = list216; - reference165 = obj155; - ref QuestSequence reference166 = ref span84[3]; - QuestSequence obj156 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005938u, new Vector3(-220.7218f, -40.720844f, 37.247192f), 138) - { - Fly = true - }; - obj156.Steps = list217; - reference166 = obj156; - questRoot24.QuestSequence = list210; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(1386); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - CollectionsMarshal.AsSpan(list218)[0] = "Censored"; - questRoot25.Author = list218; - num = 3; - List list219 = new List(num); - CollectionsMarshal.SetCount(list219, num); - Span span87 = CollectionsMarshal.AsSpan(list219); - ref QuestSequence reference167 = ref span87[0]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005938u, new Vector3(-220.7218f, -40.720844f, 37.247192f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-220.7218f, -40.720844f, 37.247192f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj157.Steps = list220; - reference167 = obj157; - ref QuestSequence reference168 = ref span87[1]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - Span span88 = CollectionsMarshal.AsSpan(list221); - ref QuestStep reference169 = ref span88[0]; - QuestStep obj159 = new QuestStep(EInteractionType.Interact, 1005946u, new Vector3(-239.27673f, -42.130188f, 15.213196f), 138) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-847.4226f, -25.652754f, 886.75653f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - num3 = 1; - List list222 = new List(num3); - CollectionsMarshal.SetCount(list222, num3); - CollectionsMarshal.AsSpan(list222)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANSAH108_01386_01376_Q1_000_000") - }; - obj159.DialogueChoices = list222; - reference169 = obj159; - ref QuestStep reference170 = ref span88[1]; - QuestStep obj160 = new QuestStep(EInteractionType.Combat, null, new Vector3(-830.20886f, -25.652752f, 889.1423f), 138) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 3; - List list223 = new List(num3); - CollectionsMarshal.SetCount(list223, num3); - Span span89 = CollectionsMarshal.AsSpan(list223); - span89[0] = 765u; - span89[1] = 775u; - span89[2] = 776u; - obj160.KillEnemyDataIds = list223; - reference170 = obj160; - obj158.Steps = list221; - reference168 = obj158; - ref QuestSequence reference171 = ref span87[2]; - QuestSequence obj161 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - Span span90 = CollectionsMarshal.AsSpan(list224); - span90[0] = new QuestStep(EInteractionType.Interact, 2004012u, new Vector3(-847.50134f, -29.34314f, 887.0526f), 138) - { - TargetTerritoryId = (ushort)138, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotNearPosition = new NearPositionCondition - { - Position = new Vector3(-847.4226f, -25.652754f, 886.75653f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - span90[1] = new QuestStep(EInteractionType.CompleteQuest, 1005938u, new Vector3(-220.7218f, -40.720844f, 37.247192f), 138); - obj161.Steps = list224; - reference171 = obj161; - questRoot25.QuestSequence = list219; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(1387); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list225 = new List(num); - CollectionsMarshal.SetCount(list225, num); - CollectionsMarshal.AsSpan(list225)[0] = "Censored"; - questRoot26.Author = list225; - num = 3; - List list226 = new List(num); - CollectionsMarshal.SetCount(list226, num); - Span span91 = CollectionsMarshal.AsSpan(list226); - ref QuestSequence reference172 = ref span91[0]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005938u, new Vector3(-220.7218f, -40.720844f, 37.247192f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-220.7218f, -40.720844f, 37.247192f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj162.Steps = list227; - reference172 = obj162; - ref QuestSequence reference173 = ref span91[1]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 1 - }; - num2 = 7; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - Span span92 = CollectionsMarshal.AsSpan(list228); - ref QuestStep reference174 = ref span92[0]; - QuestStep obj164 = new QuestStep(EInteractionType.Interact, 1005946u, new Vector3(-239.27673f, -42.130188f, 15.213196f), 138) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-847.4226f, -25.652754f, 886.75653f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - num3 = 1; - List list229 = new List(num3); - CollectionsMarshal.SetCount(list229, num3); - CollectionsMarshal.AsSpan(list229)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANSAH109_01387_Q1_000_000") - }; - obj164.DialogueChoices = list229; - reference174 = obj164; - ref QuestStep reference175 = ref span92[1]; - QuestStep obj165 = new QuestStep(EInteractionType.Combat, null, new Vector3(-847.4226f, -25.652754f, 886.75653f), 138) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list230 = new List(num3); - CollectionsMarshal.SetCount(list230, num3); - CollectionsMarshal.AsSpan(list230)[0] = 2839u; - obj165.KillEnemyDataIds = list230; - reference175 = obj165; - span92[2] = new QuestStep(EInteractionType.Interact, 2004006u, new Vector3(-845.79236f, -25.650513f, 887.6019f), 138); - ref QuestStep reference176 = ref span92[3]; - QuestStep obj166 = new QuestStep(EInteractionType.Combat, null, new Vector3(-834.959f, -25.652752f, 881.4168f), 138) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list231 = new List(num3); - CollectionsMarshal.SetCount(list231, num3); - CollectionsMarshal.AsSpan(list231)[0] = 2839u; - obj166.KillEnemyDataIds = list231; - reference176 = obj166; - span92[4] = new QuestStep(EInteractionType.Interact, 2004005u, new Vector3(-833.2799f, -25.68097f, 880.70483f), 138); - ref QuestStep reference177 = ref span92[5]; - QuestStep obj167 = new QuestStep(EInteractionType.Combat, null, new Vector3(-830.6505f, -25.647753f, 896.4246f), 138) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list232 = new List(num3); - CollectionsMarshal.SetCount(list232, num3); - CollectionsMarshal.AsSpan(list232)[0] = 2839u; - obj167.KillEnemyDataIds = list232; - reference177 = obj167; - span92[6] = new QuestStep(EInteractionType.Interact, 2004004u, new Vector3(-830.1366f, -25.68097f, 897.48975f), 138); - obj163.Steps = list228; - reference173 = obj163; - ref QuestSequence reference178 = ref span91[2]; - QuestSequence obj168 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - CollectionsMarshal.AsSpan(list233)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005938u, new Vector3(-220.7218f, -40.720844f, 37.247192f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-220.7218f, -40.720844f, 37.247192f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj168.Steps = list233; - reference178 = obj168; - questRoot26.QuestSequence = list226; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(1388); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list234 = new List(num); - CollectionsMarshal.SetCount(list234, num); - CollectionsMarshal.AsSpan(list234)[0] = "Censored"; - questRoot27.Author = list234; - num = 3; - List list235 = new List(num); - CollectionsMarshal.SetCount(list235, num); - Span span93 = CollectionsMarshal.AsSpan(list235); - ref QuestSequence reference179 = ref span93[0]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005938u, new Vector3(-220.7218f, -40.720844f, 37.247192f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-220.7218f, -40.720844f, 37.247192f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj169.Steps = list236; - reference179 = obj169; - ref QuestSequence reference180 = ref span93[1]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - Span span94 = CollectionsMarshal.AsSpan(list237); - ref QuestStep reference181 = ref span94[0]; - QuestStep obj171 = new QuestStep(EInteractionType.Combat, 1008793u, new Vector3(-55.436035f, -24.903355f, 36.75891f), 138) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list238 = new List(num3); - CollectionsMarshal.SetCount(list238, num3); - CollectionsMarshal.AsSpan(list238)[0] = 2903u; - obj171.KillEnemyDataIds = list238; - reference181 = obj171; - ref QuestStep reference182 = ref span94[1]; - QuestStep obj172 = new QuestStep(EInteractionType.Combat, 1008796u, new Vector3(46.066895f, -14.420642f, 55.008667f), 138) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list239 = new List(num3); - CollectionsMarshal.SetCount(list239, num3); - CollectionsMarshal.AsSpan(list239)[0] = 2903u; - obj172.KillEnemyDataIds = list239; - reference182 = obj172; - obj170.Steps = list237; - reference180 = obj170; - ref QuestSequence reference183 = ref span93[2]; - QuestSequence obj173 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005938u, new Vector3(-220.7218f, -40.720844f, 37.247192f), 138) - { - Fly = true - }; - obj173.Steps = list240; - reference183 = obj173; - questRoot27.QuestSequence = list235; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(1390); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list241 = new List(num); - CollectionsMarshal.SetCount(list241, num); - CollectionsMarshal.AsSpan(list241)[0] = "Censored"; - questRoot28.Author = list241; - num = 3; - List list242 = new List(num); - CollectionsMarshal.SetCount(list242, num); - Span span95 = CollectionsMarshal.AsSpan(list242); - ref QuestSequence reference184 = ref span95[0]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005939u, new Vector3(-247.73022f, -42.09973f, 52.017944f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-247.73022f, -42.09973f, 52.017944f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj174.Steps = list243; - reference184 = obj174; - ref QuestSequence reference185 = ref span95[1]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - ref QuestStep reference186 = ref CollectionsMarshal.AsSpan(list244)[0]; - QuestStep obj176 = new QuestStep(EInteractionType.Combat, null, new Vector3(-230.4717f, -42.561234f, -222.34785f), 138) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list245 = new List(num3); - CollectionsMarshal.SetCount(list245, num3); - CollectionsMarshal.AsSpan(list245)[0] = new ComplexCombatData - { - DataId = 768u, - MinimumKillCount = 3u - }; - obj176.ComplexCombatData = list245; - reference186 = obj176; - obj175.Steps = list244; - reference185 = obj175; - ref QuestSequence reference187 = ref span95[2]; - QuestSequence obj177 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - Span span96 = CollectionsMarshal.AsSpan(list246); - span96[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-245.65279f, -41.732937f, 52.040615f), 138) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-245.65279f, -41.732937f, 52.040615f), - MaximumDistance = 5f, - TerritoryId = 138 - } - } - } - }; - span96[1] = new QuestStep(EInteractionType.CompleteQuest, 1005939u, new Vector3(-247.73022f, -42.09973f, 52.017944f), 138); - obj177.Steps = list246; - reference187 = obj177; - questRoot28.QuestSequence = list242; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(1391); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list247 = new List(num); - CollectionsMarshal.SetCount(list247, num); - CollectionsMarshal.AsSpan(list247)[0] = "Censored"; - questRoot29.Author = list247; - num = 3; - List list248 = new List(num); - CollectionsMarshal.SetCount(list248, num); - Span span97 = CollectionsMarshal.AsSpan(list248); - ref QuestSequence reference188 = ref span97[0]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005939u, new Vector3(-247.73022f, -42.09973f, 52.017944f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-247.73022f, -42.09973f, 52.017944f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj178.Steps = list249; - reference188 = obj178; - ref QuestSequence reference189 = ref span97[1]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - ref QuestStep reference190 = ref CollectionsMarshal.AsSpan(list250)[0]; - QuestStep obj180 = new QuestStep(EInteractionType.Combat, null, new Vector3(-194.0164f, -42.30825f, -278.38858f), 138) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list251 = new List(num3); - CollectionsMarshal.SetCount(list251, num3); - Span span98 = CollectionsMarshal.AsSpan(list251); - ref ComplexCombatData reference191 = ref span98[0]; - ComplexCombatData obj181 = new ComplexCombatData - { - DataId = 2832u, - MinimumKillCount = 2u - }; - num4 = 6; - List list252 = new List(num4); - CollectionsMarshal.SetCount(list252, num4); - Span span99 = CollectionsMarshal.AsSpan(list252); - span99[0] = null; - span99[1] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - span99[2] = null; - span99[3] = null; - span99[4] = null; - span99[5] = null; - obj181.CompletionQuestVariablesFlags = list252; - reference191 = obj181; - span98[1] = new ComplexCombatData - { - DataId = 2889u, - MinimumKillCount = 1u - }; - obj180.ComplexCombatData = list251; - reference190 = obj180; - obj179.Steps = list250; - reference189 = obj179; - ref QuestSequence reference192 = ref span97[2]; - QuestSequence obj182 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - Span span100 = CollectionsMarshal.AsSpan(list253); - span100[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-245.65279f, -41.732937f, 52.040615f), 138) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-245.65279f, -41.732937f, 52.040615f), - MaximumDistance = 5f, - TerritoryId = 138 - } - } - } - }; - span100[1] = new QuestStep(EInteractionType.CompleteQuest, 1005939u, new Vector3(-247.73022f, -42.09973f, 52.017944f), 138); - obj182.Steps = list253; - reference192 = obj182; - questRoot29.QuestSequence = list248; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(1392); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list254 = new List(num); - CollectionsMarshal.SetCount(list254, num); - CollectionsMarshal.AsSpan(list254)[0] = "Censored"; - questRoot30.Author = list254; - num = 3; - List list255 = new List(num); - CollectionsMarshal.SetCount(list255, num); - Span span101 = CollectionsMarshal.AsSpan(list255); - ref QuestSequence reference193 = ref span101[0]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005939u, new Vector3(-247.73022f, -42.09973f, 52.017944f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-247.73022f, -42.09973f, 52.017944f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj183.Steps = list256; - reference193 = obj183; - ref QuestSequence reference194 = ref span101[1]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - Span span102 = CollectionsMarshal.AsSpan(list257); - ref QuestStep reference195 = ref span102[0]; - QuestStep obj185 = new QuestStep(EInteractionType.Combat, 2003764u, new Vector3(-236.56067f, -41.001038f, -176.0434f), 138) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list258 = new List(num3); - CollectionsMarshal.SetCount(list258, num3); - CollectionsMarshal.AsSpan(list258)[0] = 2843u; - obj185.KillEnemyDataIds = list258; - num3 = 6; - List list259 = new List(num3); - CollectionsMarshal.SetCount(list259, num3); - Span span103 = CollectionsMarshal.AsSpan(list259); - span103[0] = null; - span103[1] = null; - span103[2] = null; - span103[3] = null; - span103[4] = null; - span103[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj185.CompletionQuestVariablesFlags = list259; - reference195 = obj185; - ref QuestStep reference196 = ref span102[1]; - QuestStep obj186 = new QuestStep(EInteractionType.Combat, 2003765u, new Vector3(-223.65149f, -41.36731f, -185.47345f), 138) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list260 = new List(num3); - CollectionsMarshal.SetCount(list260, num3); - CollectionsMarshal.AsSpan(list260)[0] = 2843u; - obj186.KillEnemyDataIds = list260; - num3 = 6; - List list261 = new List(num3); - CollectionsMarshal.SetCount(list261, num3); - Span span104 = CollectionsMarshal.AsSpan(list261); - span104[0] = null; - span104[1] = null; - span104[2] = null; - span104[3] = null; - span104[4] = null; - span104[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj186.CompletionQuestVariablesFlags = list261; - reference196 = obj186; - ref QuestStep reference197 = ref span102[2]; - QuestStep obj187 = new QuestStep(EInteractionType.Combat, 2003767u, new Vector3(-212.75659f, -41.672424f, -198.07745f), 138) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list262 = new List(num3); - CollectionsMarshal.SetCount(list262, num3); - CollectionsMarshal.AsSpan(list262)[0] = 2843u; - obj187.KillEnemyDataIds = list262; - reference197 = obj187; - obj184.Steps = list257; - reference194 = obj184; - ref QuestSequence reference198 = ref span101[2]; - QuestSequence obj188 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - Span span105 = CollectionsMarshal.AsSpan(list263); - span105[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-245.65279f, -41.732937f, 52.040615f), 138) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-245.65279f, -41.732937f, 52.040615f), - MaximumDistance = 5f, - TerritoryId = 138 - } - } - } - }; - span105[1] = new QuestStep(EInteractionType.CompleteQuest, 1005939u, new Vector3(-247.73022f, -42.09973f, 52.017944f), 138); - obj188.Steps = list263; - reference198 = obj188; - questRoot30.QuestSequence = list255; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(1393); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list264 = new List(num); - CollectionsMarshal.SetCount(list264, num); - CollectionsMarshal.AsSpan(list264)[0] = "Censored"; - questRoot31.Author = list264; - num = 3; - List list265 = new List(num); - CollectionsMarshal.SetCount(list265, num); - Span span106 = CollectionsMarshal.AsSpan(list265); - ref QuestSequence reference199 = ref span106[0]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - CollectionsMarshal.AsSpan(list266)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005939u, new Vector3(-247.73022f, -42.09973f, 52.017944f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-247.73022f, -42.09973f, 52.017944f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj189.Steps = list266; - reference199 = obj189; - ref QuestSequence reference200 = ref span106[1]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - ref QuestStep reference201 = ref CollectionsMarshal.AsSpan(list267)[0]; - QuestStep obj191 = new QuestStep(EInteractionType.Combat, null, new Vector3(-289.73663f, -41.544178f, -358.22406f), 138) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list268 = new List(num3); - CollectionsMarshal.SetCount(list268, num3); - CollectionsMarshal.AsSpan(list268)[0] = 2836u; - obj191.KillEnemyDataIds = list268; - reference201 = obj191; - obj190.Steps = list267; - reference200 = obj190; - ref QuestSequence reference202 = ref span106[2]; - QuestSequence obj192 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - Span span107 = CollectionsMarshal.AsSpan(list269); - span107[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-245.65279f, -41.732937f, 52.040615f), 138) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-245.65279f, -41.732937f, 52.040615f), - MaximumDistance = 5f, - TerritoryId = 138 - } - } - } - }; - span107[1] = new QuestStep(EInteractionType.CompleteQuest, 1005939u, new Vector3(-247.73022f, -42.09973f, 52.017944f), 138); - obj192.Steps = list269; - reference202 = obj192; - questRoot31.QuestSequence = list265; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(1396); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list270 = new List(num); - CollectionsMarshal.SetCount(list270, num); - CollectionsMarshal.AsSpan(list270)[0] = "Censored"; - questRoot32.Author = list270; - questRoot32.Comment = "FATE"; - num = 2; - List list271 = new List(num); - CollectionsMarshal.SetCount(list271, num); - Span span108 = CollectionsMarshal.AsSpan(list271); - ref QuestSequence reference203 = ref span108[0]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - CollectionsMarshal.AsSpan(list272)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005939u, new Vector3(-247.73022f, -42.09973f, 52.017944f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-247.73022f, -42.09973f, 52.017944f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj193.Steps = list272; - reference203 = obj193; - ref QuestSequence reference204 = ref span108[1]; - QuestSequence obj194 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - Span span109 = CollectionsMarshal.AsSpan(list273); - span109[0] = new QuestStep(EInteractionType.WaitForManualProgress, null, new Vector3(-184.54332f, -42.06609f, -259.07843f), 138) - { - Fly = true, - Comment = "Do the FATE" - }; - span109[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-245.65279f, -41.732937f, 52.040615f), 138) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-245.65279f, -41.732937f, 52.040615f), - MaximumDistance = 5f, - TerritoryId = 138 - } - } - } - }; - span109[2] = new QuestStep(EInteractionType.CompleteQuest, 1005939u, new Vector3(-247.73022f, -42.09973f, 52.017944f), 138); - obj194.Steps = list273; - reference204 = obj194; - questRoot32.QuestSequence = list271; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(1397); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list274 = new List(num); - CollectionsMarshal.SetCount(list274, num); - CollectionsMarshal.AsSpan(list274)[0] = "Censored"; - questRoot33.Author = list274; - num = 3; - List list275 = new List(num); - CollectionsMarshal.SetCount(list275, num); - Span span110 = CollectionsMarshal.AsSpan(list275); - ref QuestSequence reference205 = ref span110[0]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - CollectionsMarshal.AsSpan(list276)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005939u, new Vector3(-247.73022f, -42.09973f, 52.017944f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-247.73022f, -42.09973f, 52.017944f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj195.Steps = list276; - reference205 = obj195; - ref QuestSequence reference206 = ref span110[1]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - Span span111 = CollectionsMarshal.AsSpan(list277); - ref QuestStep reference207 = ref span111[0]; - QuestStep obj197 = new QuestStep(EInteractionType.Combat, 2003830u, new Vector3(-270.1305f, -43.2594f, -260.3647f), 138) - { - Fly = true, - ItemId = 2001265u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list278 = new List(num3); - CollectionsMarshal.SetCount(list278, num3); - CollectionsMarshal.AsSpan(list278)[0] = 766u; - obj197.KillEnemyDataIds = list278; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list279 = new List(num3); - CollectionsMarshal.SetCount(list279, num3); - Span span112 = CollectionsMarshal.AsSpan(list279); - span112[0] = null; - span112[1] = null; - span112[2] = null; - span112[3] = null; - span112[4] = null; - span112[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list279; - skipConditions2.StepIf = skipStepConditions2; - obj197.SkipConditions = skipConditions2; - reference207 = obj197; - ref QuestStep reference208 = ref span111[1]; - QuestStep obj198 = new QuestStep(EInteractionType.Combat, 2003829u, new Vector3(-218.49402f, -39.414062f, -332.29572f), 138) - { - Fly = true, - ItemId = 2001265u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list280 = new List(num3); - CollectionsMarshal.SetCount(list280, num3); - CollectionsMarshal.AsSpan(list280)[0] = 766u; - obj198.KillEnemyDataIds = list280; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list281 = new List(num3); - CollectionsMarshal.SetCount(list281, num3); - Span span113 = CollectionsMarshal.AsSpan(list281); - span113[0] = null; - span113[1] = null; - span113[2] = null; - span113[3] = null; - span113[4] = null; - span113[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list281; - skipConditions3.StepIf = skipStepConditions3; - obj198.SkipConditions = skipConditions3; - reference208 = obj198; - ref QuestStep reference209 = ref span111[2]; - QuestStep obj199 = new QuestStep(EInteractionType.Combat, 2003828u, new Vector3(-159.53314f, -41.397766f, -269.70325f), 138) - { - Fly = true, - ItemId = 2001265u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list282 = new List(num3); - CollectionsMarshal.SetCount(list282, num3); - CollectionsMarshal.AsSpan(list282)[0] = 766u; - obj199.KillEnemyDataIds = list282; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list283 = new List(num3); - CollectionsMarshal.SetCount(list283, num3); - Span span114 = CollectionsMarshal.AsSpan(list283); - span114[0] = null; - span114[1] = null; - span114[2] = null; - span114[3] = null; - span114[4] = null; - span114[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list283; - skipConditions4.StepIf = skipStepConditions4; - obj199.SkipConditions = skipConditions4; - reference209 = obj199; - ref QuestStep reference210 = ref span111[3]; - QuestStep obj200 = new QuestStep(EInteractionType.Combat, 2003831u, new Vector3(-192.82831f, -40.756897f, -211.53589f), 138) - { - Fly = true, - ItemId = 2001265u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list284 = new List(num3); - CollectionsMarshal.SetCount(list284, num3); - CollectionsMarshal.AsSpan(list284)[0] = 766u; - obj200.KillEnemyDataIds = list284; - reference210 = obj200; - obj196.Steps = list277; - reference206 = obj196; - ref QuestSequence reference211 = ref span110[2]; - QuestSequence obj201 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - Span span115 = CollectionsMarshal.AsSpan(list285); - span115[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-245.65279f, -41.732937f, 52.040615f), 138) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-245.65279f, -41.732937f, 52.040615f), - MaximumDistance = 5f, - TerritoryId = 138 - } - } - } - }; - span115[1] = new QuestStep(EInteractionType.CompleteQuest, 1005939u, new Vector3(-247.73022f, -42.09973f, 52.017944f), 138); - obj201.Steps = list285; - reference211 = obj201; - questRoot33.QuestSequence = list275; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(1399); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list286 = new List(num); - CollectionsMarshal.SetCount(list286, num); - CollectionsMarshal.AsSpan(list286)[0] = "Censored"; - questRoot34.Author = list286; - num = 3; - List list287 = new List(num); - CollectionsMarshal.SetCount(list287, num); - Span span116 = CollectionsMarshal.AsSpan(list287); - ref QuestSequence reference212 = ref span116[0]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - CollectionsMarshal.AsSpan(list288)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005939u, new Vector3(-247.73022f, -42.09973f, 52.017944f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-247.73022f, -42.09973f, 52.017944f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj202.Steps = list288; - reference212 = obj202; - ref QuestSequence reference213 = ref span116[1]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - Span span117 = CollectionsMarshal.AsSpan(list289); - ref QuestStep reference214 = ref span117[0]; - QuestStep obj204 = new QuestStep(EInteractionType.Interact, 1005946u, new Vector3(-239.27673f, -42.130188f, 15.213196f), 138) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-886.05554f, -29.20463f, 929.7735f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - num3 = 1; - List list290 = new List(num3); - CollectionsMarshal.SetCount(list290, num3); - CollectionsMarshal.AsSpan(list290)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANSAH210_01399_Q1_000_000") - }; - obj204.DialogueChoices = list290; - reference214 = obj204; - ref QuestStep reference215 = ref span117[1]; - QuestStep obj205 = new QuestStep(EInteractionType.Combat, null, new Vector3(-864.4419f, -25.652748f, 928.53f), 138) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list291 = new List(num3); - CollectionsMarshal.SetCount(list291, num3); - CollectionsMarshal.AsSpan(list291)[0] = 767u; - obj205.KillEnemyDataIds = list291; - reference215 = obj205; - obj203.Steps = list289; - reference213 = obj203; - ref QuestSequence reference216 = ref span116[2]; - QuestSequence obj206 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - Span span118 = CollectionsMarshal.AsSpan(list292); - span118[0] = new QuestStep(EInteractionType.Interact, 2004013u, new Vector3(-883.36005f, -29.251587f, 929.2285f), 138) - { - TargetTerritoryId = (ushort)138, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotNearPosition = new NearPositionCondition - { - Position = new Vector3(-883.36005f, -29.251587f, 929.2285f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - span118[1] = new QuestStep(EInteractionType.CompleteQuest, 1005939u, new Vector3(-247.73022f, -42.09973f, 52.017944f), 138); - obj206.Steps = list292; - reference216 = obj206; - questRoot34.QuestSequence = list287; - AddQuest(questId34, questRoot34); - } - - private static void LoadQuests28() - { - QuestId questId = new QuestId(1400); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005940u, new Vector3(-226.12347f, -40.48583f, 57.083984f), 138); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference3 = ref span2[0]; - QuestStep obj3 = new QuestStep(EInteractionType.Combat, null, new Vector3(-353.3627f, -39.6834f, -352.8219f), 138) - { - StopDistance = 1f, - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - int num3 = 2; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - Span span3 = CollectionsMarshal.AsSpan(list5); - span3[0] = new ComplexCombatData - { - DataId = 765u, - MinimumKillCount = 1u - }; - span3[1] = new ComplexCombatData - { - DataId = 2887u, - MinimumKillCount = 1u - }; - obj3.ComplexCombatData = list5; - num3 = 6; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - Span span4 = CollectionsMarshal.AsSpan(list6); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj3.CompletionQuestVariablesFlags = list6; - reference3 = obj3; - ref QuestStep reference4 = ref span2[1]; - QuestStep obj4 = new QuestStep(EInteractionType.Combat, null, new Vector3(-353.3627f, -39.6834f, -352.8219f), 138) - { - StopDistance = 20f, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span5 = CollectionsMarshal.AsSpan(list7); - span5[0] = new ComplexCombatData - { - DataId = 766u, - MinimumKillCount = 1u - }; - span5[1] = new ComplexCombatData - { - DataId = 2886u, - MinimumKillCount = 1u - }; - obj4.ComplexCombatData = list7; - num3 = 6; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - Span span6 = CollectionsMarshal.AsSpan(list8); - span6[0] = null; - span6[1] = null; - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj4.CompletionQuestVariablesFlags = list8; - reference4 = obj4; - ref QuestStep reference5 = ref span2[2]; - QuestStep obj5 = new QuestStep(EInteractionType.Combat, null, new Vector3(-353.3627f, -39.6834f, -352.8219f), 138) - { - StopDistance = 20f, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - Span span7 = CollectionsMarshal.AsSpan(list9); - span7[0] = new ComplexCombatData - { - DataId = 768u, - MinimumKillCount = 1u - }; - span7[1] = new ComplexCombatData - { - DataId = 2888u, - MinimumKillCount = 1u - }; - obj5.ComplexCombatData = list9; - num3 = 6; - List list10 = new List(num3); - CollectionsMarshal.SetCount(list10, num3); - Span span8 = CollectionsMarshal.AsSpan(list10); - span8[0] = null; - span8[1] = null; - span8[2] = null; - span8[3] = null; - span8[4] = null; - span8[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj5.CompletionQuestVariablesFlags = list10; - reference5 = obj5; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference6 = ref span[2]; - QuestSequence obj6 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005940u, new Vector3(-226.12347f, -40.48583f, 57.083984f), 138) - { - Fly = true - }; - obj6.Steps = list11; - reference6 = obj6; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(1401); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - CollectionsMarshal.AsSpan(list12)[0] = "Censored"; - questRoot2.Author = list12; - num = 3; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - Span span9 = CollectionsMarshal.AsSpan(list13); - ref QuestSequence reference7 = ref span9[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005940u, new Vector3(-226.12347f, -40.48583f, 57.083984f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-226.12347f, -40.48583f, 57.083984f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj7.Steps = list14; - reference7 = obj7; - ref QuestSequence reference8 = ref span9[1]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - ref QuestStep reference9 = ref CollectionsMarshal.AsSpan(list15)[0]; - QuestStep obj9 = new QuestStep(EInteractionType.Combat, null, new Vector3(-385.82654f, -38.97124f, -341.03537f), 138) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - CollectionsMarshal.AsSpan(list16)[0] = 2837u; - obj9.KillEnemyDataIds = list16; - reference9 = obj9; - obj8.Steps = list15; - reference8 = obj8; - ref QuestSequence reference10 = ref span9[2]; - QuestSequence obj10 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005940u, new Vector3(-226.12347f, -40.48583f, 57.083984f), 138) - { - Fly = true - }; - obj10.Steps = list17; - reference10 = obj10; - questRoot2.QuestSequence = list13; - AddQuest(questId2, questRoot2); - AddQuest(new QuestId(1402), new QuestRoot - { - Disabled = true, - Comment = "Needs more testing and edge case handling", - QuestSequence = new List() - }); - QuestId questId3 = new QuestId(1404); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - CollectionsMarshal.AsSpan(list18)[0] = "Censored"; - questRoot3.Author = list18; - num = 3; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - Span span10 = CollectionsMarshal.AsSpan(list19); - ref QuestSequence reference11 = ref span10[0]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005940u, new Vector3(-226.12347f, -40.48583f, 57.083984f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-226.12347f, -40.48583f, 57.083984f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj11.Steps = list20; - reference11 = obj11; - ref QuestSequence reference12 = ref span10[1]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - Span span11 = CollectionsMarshal.AsSpan(list21); - ref QuestStep reference13 = ref span11[0]; - QuestStep obj13 = new QuestStep(EInteractionType.Combat, null, new Vector3(-423.56384f, -40.76118f, -220.52809f), 138) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - Span span12 = CollectionsMarshal.AsSpan(list22); - span12[0] = new ComplexCombatData - { - DataId = 773u, - MinimumKillCount = 1u - }; - span12[1] = new ComplexCombatData - { - DataId = 2878u, - MinimumKillCount = 1u - }; - obj13.ComplexCombatData = list22; - num3 = 6; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - Span span13 = CollectionsMarshal.AsSpan(list23); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj13.CompletionQuestVariablesFlags = list23; - reference13 = obj13; - ref QuestStep reference14 = ref span11[1]; - QuestStep obj14 = new QuestStep(EInteractionType.Combat, null, new Vector3(-423.56384f, -40.76118f, -220.52809f), 138) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - Span span14 = CollectionsMarshal.AsSpan(list24); - span14[0] = new ComplexCombatData - { - DataId = 776u, - MinimumKillCount = 1u - }; - span14[1] = new ComplexCombatData - { - DataId = 2879u, - MinimumKillCount = 1u - }; - obj14.ComplexCombatData = list24; - num3 = 6; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - Span span15 = CollectionsMarshal.AsSpan(list25); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj14.CompletionQuestVariablesFlags = list25; - reference14 = obj14; - ref QuestStep reference15 = ref span11[2]; - QuestStep obj15 = new QuestStep(EInteractionType.Combat, null, new Vector3(-423.56384f, -40.76118f, -220.52809f), 138) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - Span span16 = CollectionsMarshal.AsSpan(list26); - span16[0] = new ComplexCombatData - { - DataId = 774u, - MinimumKillCount = 1u - }; - span16[1] = new ComplexCombatData - { - DataId = 2880u, - MinimumKillCount = 1u - }; - obj15.ComplexCombatData = list26; - reference15 = obj15; - obj12.Steps = list21; - reference12 = obj12; - ref QuestSequence reference16 = ref span10[2]; - QuestSequence obj16 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005940u, new Vector3(-226.12347f, -40.48583f, 57.083984f), 138) - { - Fly = true - }; - obj16.Steps = list27; - reference16 = obj16; - questRoot3.QuestSequence = list19; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(1405); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - CollectionsMarshal.AsSpan(list28)[0] = "Censored"; - questRoot4.Author = list28; - num = 5; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - Span span17 = CollectionsMarshal.AsSpan(list29); - ref QuestSequence reference17 = ref span17[0]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005940u, new Vector3(-226.12347f, -40.48583f, 57.083984f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-226.12347f, -40.48583f, 57.083984f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj17.Steps = list30; - reference17 = obj17; - ref QuestSequence reference18 = ref span17[1]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - ref QuestStep reference19 = ref CollectionsMarshal.AsSpan(list31)[0]; - QuestStep obj19 = new QuestStep(EInteractionType.Combat, null, new Vector3(-379.54794f, -36.814743f, -295.2606f), 138) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - CollectionsMarshal.AsSpan(list32)[0] = 139u; - obj19.KillEnemyDataIds = list32; - reference19 = obj19; - obj18.Steps = list31; - reference18 = obj18; - ref QuestSequence reference20 = ref span17[2]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - ref QuestStep reference21 = ref CollectionsMarshal.AsSpan(list33)[0]; - QuestStep obj21 = new QuestStep(EInteractionType.Combat, 2003833u, new Vector3(-500.23654f, -31.23523f, -351.97992f), 138) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 3; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - Span span18 = CollectionsMarshal.AsSpan(list34); - span18[0] = 2907u; - span18[1] = 2908u; - span18[2] = 2909u; - obj21.KillEnemyDataIds = list34; - reference21 = obj21; - obj20.Steps = list33; - reference20 = obj20; - ref QuestSequence reference22 = ref span17[3]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.UseItem, 2003864u, new Vector3(-500.23654f, -31.23523f, -351.97992f), 138) - { - ItemId = 2001272u - }; - obj22.Steps = list35; - reference22 = obj22; - ref QuestSequence reference23 = ref span17[4]; - QuestSequence obj23 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005940u, new Vector3(-226.12347f, -40.48583f, 57.083984f), 138) - { - Fly = true - }; - obj23.Steps = list36; - reference23 = obj23; - questRoot4.QuestSequence = list29; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(1406); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - CollectionsMarshal.AsSpan(list37)[0] = "Censored"; - questRoot5.Author = list37; - num = 3; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - Span span19 = CollectionsMarshal.AsSpan(list38); - ref QuestSequence reference24 = ref span19[0]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005940u, new Vector3(-226.12347f, -40.48583f, 57.083984f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-226.12347f, -40.48583f, 57.083984f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj24.Steps = list39; - reference24 = obj24; - ref QuestSequence reference25 = ref span19[1]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - Span span20 = CollectionsMarshal.AsSpan(list40); - ref QuestStep reference26 = ref span20[0]; - QuestStep obj26 = new QuestStep(EInteractionType.Interact, 1005946u, new Vector3(-239.27673f, -42.130188f, 15.213196f), 138) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-812.7521f, -25.647753f, 975.4917f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - num3 = 1; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - CollectionsMarshal.AsSpan(list41)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANSAH307_01406_Q1_000_000") - }; - obj26.DialogueChoices = list41; - reference26 = obj26; - ref QuestStep reference27 = ref span20[1]; - QuestStep obj27 = new QuestStep(EInteractionType.Combat, null, new Vector3(-812.7521f, -25.647753f, 975.4917f), 138) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - Span span21 = CollectionsMarshal.AsSpan(list42); - span21[0] = new ComplexCombatData - { - DataId = 773u, - MinimumKillCount = 1u - }; - span21[1] = new ComplexCombatData - { - DataId = 2910u, - MinimumKillCount = 1u - }; - obj27.ComplexCombatData = list42; - reference27 = obj27; - obj25.Steps = list40; - reference25 = obj25; - ref QuestSequence reference28 = ref span19[2]; - QuestSequence obj28 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - Span span22 = CollectionsMarshal.AsSpan(list43); - span22[0] = new QuestStep(EInteractionType.Interact, 2004014u, new Vector3(-826.84064f, -29.34314f, 971.4656f), 138) - { - TargetTerritoryId = (ushort)138, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotNearPosition = new NearPositionCondition - { - Position = new Vector3(-826.84064f, -29.34314f, 971.4656f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - span22[1] = new QuestStep(EInteractionType.CompleteQuest, 1005940u, new Vector3(-226.12347f, -40.48583f, 57.083984f), 138); - obj28.Steps = list43; - reference28 = obj28; - questRoot5.QuestSequence = list38; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(1407); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - CollectionsMarshal.AsSpan(list44)[0] = "Censored"; - questRoot6.Author = list44; - num = 3; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - Span span23 = CollectionsMarshal.AsSpan(list45); - ref QuestSequence reference29 = ref span23[0]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005940u, new Vector3(-226.12347f, -40.48583f, 57.083984f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-226.12347f, -40.48583f, 57.083984f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj29.Steps = list46; - reference29 = obj29; - ref QuestSequence reference30 = ref span23[1]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - Span span24 = CollectionsMarshal.AsSpan(list47); - ref QuestStep reference31 = ref span24[0]; - QuestStep obj31 = new QuestStep(EInteractionType.Interact, 1005946u, new Vector3(-239.27673f, -42.130188f, 15.213196f), 138) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-830.1075f, -28.771336f, 970.3592f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - num3 = 1; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - CollectionsMarshal.AsSpan(list48)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANSAH308_01407_Q1_000_000") - }; - obj31.DialogueChoices = list48; - reference31 = obj31; - ref QuestStep reference32 = ref span24[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1008914u, new Vector3(-846.8605f, -25.652748f, 962.0354f), 138); - num3 = 6; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - Span span25 = CollectionsMarshal.AsSpan(list49); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list49; - reference32 = questStep; - ref QuestStep reference33 = ref span24[2]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1008915u, new Vector3(-862.8214f, -20.652752f, 966.308f), 138); - num3 = 6; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - Span span26 = CollectionsMarshal.AsSpan(list50); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list50; - reference33 = questStep2; - ref QuestStep reference34 = ref span24[3]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1008912u, new Vector3(-821.40845f, -25.647757f, 974.853f), 138); - num3 = 6; - List list51 = new List(num3); - CollectionsMarshal.SetCount(list51, num3); - Span span27 = CollectionsMarshal.AsSpan(list51); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list51; - reference34 = questStep3; - span24[4] = new QuestStep(EInteractionType.Interact, 1008913u, new Vector3(-795.4986f, -23.649637f, 972.3506f), 138); - obj30.Steps = list47; - reference30 = obj30; - ref QuestSequence reference35 = ref span23[2]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - Span span28 = CollectionsMarshal.AsSpan(list52); - span28[0] = new QuestStep(EInteractionType.Interact, 2004014u, new Vector3(-826.84064f, -29.34314f, 971.4656f), 138) - { - TargetTerritoryId = (ushort)138, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotNearPosition = new NearPositionCondition - { - Position = new Vector3(-826.84064f, -29.34314f, 971.4656f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - span28[1] = new QuestStep(EInteractionType.CompleteQuest, 1005940u, new Vector3(-226.12347f, -40.48583f, 57.083984f), 138); - obj32.Steps = list52; - reference35 = obj32; - questRoot6.QuestSequence = list45; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(1409); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - CollectionsMarshal.AsSpan(list53)[0] = "Censored"; - questRoot7.Author = list53; - questRoot7.Comment = "FATE"; - num = 2; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - Span span29 = CollectionsMarshal.AsSpan(list54); - ref QuestSequence reference36 = ref span29[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005940u, new Vector3(-226.12347f, -40.48583f, 57.083984f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-226.12347f, -40.48583f, 57.083984f), - MaximumDistance = 50f, - TerritoryId = 138 - } - } - } - }; - obj33.Steps = list55; - reference36 = obj33; - ref QuestSequence reference37 = ref span29[1]; - QuestSequence obj34 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - Span span30 = CollectionsMarshal.AsSpan(list56); - span30[0] = new QuestStep(EInteractionType.WaitForManualProgress, null, new Vector3(-396.18066f, -40.36498f, -220.00629f), 138) - { - Fly = true, - Comment = "Do the FATE" - }; - span30[1] = new QuestStep(EInteractionType.CompleteQuest, 1005940u, new Vector3(-226.12347f, -40.48583f, 57.083984f), 138) - { - Fly = true - }; - obj34.Steps = list56; - reference37 = obj34; - questRoot7.QuestSequence = list54; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(1412); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - CollectionsMarshal.AsSpan(list57)[0] = "liza"; - questRoot8.Author = list57; - num = 3; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - Span span31 = CollectionsMarshal.AsSpan(list58); - ref QuestSequence reference38 = ref span31[0]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.AcceptQuest, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212); - obj35.Steps = list59; - reference38 = obj35; - ref QuestSequence reference39 = ref span31[1]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.Interact, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj36.Steps = list60; - reference39 = obj36; - ref QuestSequence reference40 = ref span31[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.CompleteQuest, 1008544u, new Vector3(-316.42633f, 12.050298f, -35.385742f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - obj37.Steps = list61; - reference40 = obj37; - questRoot8.QuestSequence = list58; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(1413); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - CollectionsMarshal.AsSpan(list62)[0] = "liza"; - questRoot9.Author = list62; - num = 3; - List list63 = new List(num); - CollectionsMarshal.SetCount(list63, num); - Span span32 = CollectionsMarshal.AsSpan(list63); - ref QuestSequence reference41 = ref span32[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.AcceptQuest, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212); - obj38.Steps = list64; - reference41 = obj38; - ref QuestSequence reference42 = ref span32[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.Interact, 1003281u, new Vector3(97.520386f, 40.248554f, 81.1322f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj39.Steps = list65; - reference42 = obj39; - ref QuestSequence reference43 = ref span32[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005409u, new Vector3(159.62463f, 8.974117f, 582.7573f), 135) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }; - obj40.Steps = list66; - reference43 = obj40; - questRoot9.QuestSequence = list63; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(1423); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - CollectionsMarshal.AsSpan(list67)[0] = "liza"; - questRoot10.Author = list67; - questRoot10.Comment = "Unlocks Mastercraft I/II books"; - num = 2; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - Span span33 = CollectionsMarshal.AsSpan(list68); - ref QuestSequence reference44 = ref span33[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - Span span34 = CollectionsMarshal.AsSpan(list69); - span34[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(24.076426f, 28.999966f, -729.6976f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span34[1] = new QuestStep(EInteractionType.AcceptQuest, 1006971u, new Vector3(24.307495f, 29.021706f, -726.8635f), 156); - obj41.Steps = list69; - reference44 = obj41; - ref QuestSequence reference45 = ref span33[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006971u, new Vector3(24.307495f, 29.021706f, -726.8635f), 156); - obj42.Steps = list70; - reference45 = obj42; - questRoot10.QuestSequence = list68; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(1425); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - CollectionsMarshal.AsSpan(list71)[0] = "kaiser"; - questRoot11.Author = list71; - num = 5; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - Span span35 = CollectionsMarshal.AsSpan(list72); - ref QuestSequence reference46 = ref span35[0]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - Span span36 = CollectionsMarshal.AsSpan(list73); - span36[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(54.415092f, -8.047034f, 104.69259f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span36[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(37.72773f, -8f, 104.152405f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span36[2] = new QuestStep(EInteractionType.AcceptQuest, 1000375u, new Vector3(42.313232f, -8f, 96.54382f), 132) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj43.Steps = list73; - reference46 = obj43; - ref QuestSequence reference47 = ref span35[1]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - Span span37 = CollectionsMarshal.AsSpan(list74); - span37[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(40.8096f, -8f, 104.92199f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-87.84625f, -3.3081923f, 41.70288f), - MaximumDistance = 5f, - TerritoryId = 132 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span37[1] = new QuestStep(EInteractionType.Interact, 1007792u, new Vector3(-87.84625f, -3.3081923f, 41.70288f), 132) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj44.Steps = list74; - reference47 = obj44; - ref QuestSequence reference48 = ref span35[2]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.Interact, 1000153u, new Vector3(-44.87683f, -1.2500024f, 56.839844f), 132) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj45.Steps = list75; - reference48 = obj45; - ref QuestSequence reference49 = ref span35[3]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - Span span38 = CollectionsMarshal.AsSpan(list76); - ref QuestStep reference50 = ref span38[0]; - QuestStep obj47 = new QuestStep(EInteractionType.Interact, 1007795u, new Vector3(28.94629f, 8.45142f, -96.421814f), 133) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLeatherworker - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 6; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - Span span39 = CollectionsMarshal.AsSpan(list77); - span39[0] = null; - span39[1] = null; - span39[2] = null; - span39[3] = null; - span39[4] = null; - span39[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj47.CompletionQuestVariablesFlags = list77; - reference50 = obj47; - ref QuestStep reference51 = ref span38[1]; - QuestStep obj48 = new QuestStep(EInteractionType.Interact, 1007794u, new Vector3(-124.864624f, 6.567382f, -120.74469f), 133) - { - StopDistance = 5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLeatherworker, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - num3 = 6; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - Span span40 = CollectionsMarshal.AsSpan(list78); - span40[0] = null; - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj48.CompletionQuestVariablesFlags = list78; - reference51 = obj48; - ref QuestStep reference52 = ref span38[2]; - QuestStep obj49 = new QuestStep(EInteractionType.Interact, 1007793u, new Vector3(-143.3891f, 4.123518f, -29.312622f), 133) - { - StopDistance = 5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaAmphitheatre, - To = EAetheryteLocation.GridaniaConjurer - } - }; - num3 = 6; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - Span span41 = CollectionsMarshal.AsSpan(list79); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj49.CompletionQuestVariablesFlags = list79; - reference52 = obj49; - obj46.Steps = list76; - reference49 = obj46; - ref QuestSequence reference53 = ref span35[4]; - QuestSequence obj50 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - Span span42 = CollectionsMarshal.AsSpan(list80); - span42[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-128.09769f, 5.6480865f, -36.499104f), 133); - span42[1] = new QuestStep(EInteractionType.CompleteQuest, 1007792u, new Vector3(-87.84625f, -3.3081923f, 41.70288f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaConjurer, - To = EAetheryteLocation.Gridania - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj50.Steps = list80; - reference53 = obj50; - questRoot11.QuestSequence = list72; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(1426); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - CollectionsMarshal.AsSpan(list81)[0] = "liza"; - questRoot12.Author = list81; - num = 4; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - Span span43 = CollectionsMarshal.AsSpan(list82); - ref QuestSequence reference54 = ref span43[0]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003505u, new Vector3(-186.20587f, 16f, 56.931396f), 129); - obj51.Steps = list83; - reference54 = obj51; - ref QuestSequence reference55 = ref span43[1]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - Span span44 = CollectionsMarshal.AsSpan(list84); - ref QuestStep reference56 = ref span44[0]; - QuestStep obj53 = new QuestStep(EInteractionType.Interact, 1007961u, new Vector3(-189.83752f, 0.9999907f, 205.61523f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaHawkersAlley, - To = EAetheryteLocation.LimsaFisher - } - }; - num3 = 6; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - Span span45 = CollectionsMarshal.AsSpan(list85); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj53.CompletionQuestVariablesFlags = list85; - reference56 = obj53; - ref QuestStep reference57 = ref span44[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1007962u, new Vector3(-170.39752f, 4f, 180.80408f), 129); - num3 = 6; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - Span span46 = CollectionsMarshal.AsSpan(list86); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list86; - reference57 = questStep4; - ref QuestStep reference58 = ref span44[2]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1007960u, new Vector3(-154.16199f, 3.9999826f, 186.26685f), 129); - num3 = 6; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - Span span47 = CollectionsMarshal.AsSpan(list87); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list87; - reference58 = questStep5; - obj52.Steps = list84; - reference55 = obj52; - ref QuestSequence reference59 = ref span43[2]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - Span span48 = CollectionsMarshal.AsSpan(list88); - span48[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-273.7194f, 11.32725f, 188.82817f), 129); - span48[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-268.3206f, 11.852169f, 189.21284f), 129) - { - DisableNavmesh = true - }; - span48[2] = new QuestStep(EInteractionType.Interact, 1007797u, new Vector3(-260.73096f, 16.35222f, 194.17102f), 129); - obj54.Steps = list88; - reference59 = obj54; - ref QuestSequence reference60 = ref span43[3]; - QuestSequence obj55 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - Span span49 = CollectionsMarshal.AsSpan(list89); - span49[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-273.7194f, 11.32725f, 188.82817f), 129); - span49[1] = new QuestStep(EInteractionType.CompleteQuest, 1003505u, new Vector3(-186.20587f, 16f, 56.931396f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.LimsaHawkersAlley - } - }; - obj55.Steps = list89; - reference60 = obj55; - questRoot12.QuestSequence = list82; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(1427); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - CollectionsMarshal.AsSpan(list90)[0] = "WigglyMuffin"; - questRoot13.Author = list90; - num = 4; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - Span span50 = CollectionsMarshal.AsSpan(list91); - ref QuestSequence reference61 = ref span50[0]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.AcceptQuest, 1007799u, new Vector3(-21.042236f, 10.020653f, -70.603516f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj56.Steps = list92; - reference61 = obj56; - ref QuestSequence reference62 = ref span50[1]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - Span span51 = CollectionsMarshal.AsSpan(list93); - ref QuestStep reference63 = ref span51[0]; - QuestStep obj58 = new QuestStep(EInteractionType.Interact, 1001834u, new Vector3(-23.331116f, 10f, -43.442444f), 130) - { - TargetTerritoryId = (ushort)131 - }; - num3 = 1; - List list94 = new List(num3); - CollectionsMarshal.SetCount(list94, num3); - CollectionsMarshal.AsSpan(list94)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Warp", - Answer = new ExcelRef(131096u) - }; - obj58.DialogueChoices = list94; - reference63 = obj58; - ref QuestStep reference64 = ref span51[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1007801u, new Vector3(50.247925f, 34f, -35.568848f), 131); - num3 = 6; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - Span span52 = CollectionsMarshal.AsSpan(list95); - span52[0] = null; - span52[1] = null; - span52[2] = null; - span52[3] = null; - span52[4] = null; - span52[5] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list95; - reference64 = questStep6; - ref QuestStep reference65 = ref span51[2]; - QuestStep obj59 = new QuestStep(EInteractionType.Interact, 1001697u, new Vector3(98.55798f, 12.279275f, 54.795166f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahChamberOfRule, - To = EAetheryteLocation.UldahWeaver - } - }; - num3 = 6; - List list96 = new List(num3); - CollectionsMarshal.SetCount(list96, num3); - Span span53 = CollectionsMarshal.AsSpan(list96); - span53[0] = null; - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = new QuestWorkValue((byte)6, null, EQuestWorkMode.Bitwise); - obj59.CompletionQuestVariablesFlags = list96; - reference65 = obj59; - span51[3] = new QuestStep(EInteractionType.Interact, 1007800u, new Vector3(6.5460815f, 15.000006f, -1.3275757f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahWeaver, - To = EAetheryteLocation.UldahGladiator - } - }; - obj57.Steps = list93; - reference62 = obj57; - ref QuestSequence reference66 = ref span50[2]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.Interact, 1007798u, new Vector3(-13.7178955f, 34.022892f, -51.86548f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - obj60.Steps = list97; - reference66 = obj60; - ref QuestSequence reference67 = ref span50[3]; - QuestSequence obj61 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.CompleteQuest, 1007798u, new Vector3(-13.7178955f, 34.022892f, -51.86548f), 131) - { - Emote = EEmote.Dance - }; - obj61.Steps = list98; - reference67 = obj61; - questRoot13.QuestSequence = list91; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(1431); - QuestRoot questRoot14 = new QuestRoot(); - num = 2; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - Span span54 = CollectionsMarshal.AsSpan(list99); - span54[0] = "liza"; - span54[1] = "Wigglez"; - questRoot14.Author = list99; - num = 3; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - Span span55 = CollectionsMarshal.AsSpan(list100); - ref QuestSequence reference68 = ref span55[0]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005411u, new Vector3(13.412659f, 40.2f, -13.260071f), 128); - obj62.Steps = list101; - reference68 = obj62; - ref QuestSequence reference69 = ref span55[1]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - Span span56 = CollectionsMarshal.AsSpan(list102); - ref QuestStep reference70 = ref span56[0]; - QuestStep obj64 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(17.99089f, 40f, 69.91187f), 128) - { - TargetTerritoryId = (ushort)128, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - CollectionsMarshal.AsSpan(list103)[0] = 128; - skipStepConditions.InTerritory = list103; - skipConditions.StepIf = skipStepConditions; - obj64.SkipConditions = skipConditions; - reference70 = obj64; - span56[1] = new QuestStep(EInteractionType.Interact, 1003598u, new Vector3(-12.069946f, 40.00053f, 11.459534f), 128); - obj63.Steps = list102; - reference69 = obj63; - ref QuestSequence reference71 = ref span55[2]; - QuestSequence obj65 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005410u, new Vector3(-182.45215f, 1.9999955f, 208.75867f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.LimsaFisher - } - }; - obj65.Steps = list104; - reference71 = obj65; - questRoot14.QuestSequence = list100; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(1432); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list105 = new List(num); - CollectionsMarshal.SetCount(list105, num); - CollectionsMarshal.AsSpan(list105)[0] = "liza"; - questRoot15.Author = list105; - num = 3; - List list106 = new List(num); - CollectionsMarshal.SetCount(list106, num); - Span span57 = CollectionsMarshal.AsSpan(list106); - ref QuestSequence reference72 = ref span57[0]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008950u, new Vector3(29.19043f, -1.4123198f, 52.658813f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj66.Steps = list107; - reference72 = obj66; - ref QuestSequence reference73 = ref span57[1]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - Span span58 = CollectionsMarshal.AsSpan(list108); - span58[0] = new QuestStep(EInteractionType.Interact, 1001263u, new Vector3(181.41443f, -2.3519497f, -240.40594f), 133) - { - TargetTerritoryId = (ushort)152, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.EastShroudHawthorneHut - } - } - }; - span58[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 152) - { - Aetheryte = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.EastShroudHawthorneHut - } - } - }; - ref QuestStep reference74 = ref span58[2]; - QuestStep obj68 = new QuestStep(EInteractionType.Combat, null, new Vector3(-53.214554f, -8.980761f, 297.15152f), 152) - { - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list109 = new List(num3); - CollectionsMarshal.SetCount(list109, num3); - CollectionsMarshal.AsSpan(list109)[0] = 12u; - obj68.KillEnemyDataIds = list109; - obj68.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - reference74 = obj68; - span58[3] = new QuestStep(EInteractionType.Interact, 1008951u, new Vector3(-51.651794f, -8.992504f, 296.9253f), 152); - obj67.Steps = list108; - reference73 = obj67; - ref QuestSequence reference75 = ref span57[2]; - QuestSequence obj69 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000233u, new Vector3(168.65796f, 15.5f, -95.99457f), 133) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLeatherworker - } - }; - obj69.Steps = list110; - reference75 = obj69; - questRoot15.QuestSequence = list106; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(1433); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - CollectionsMarshal.AsSpan(list111)[0] = "Cacahuetes"; - questRoot16.Author = list111; - num = 3; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - Span span59 = CollectionsMarshal.AsSpan(list112); - ref QuestSequence reference76 = ref span59[0]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005412u, new Vector3(-108.14075f, 18.000334f, -0.22894287f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj70.Steps = list113; - reference76 = obj70; - ref QuestSequence reference77 = ref span59[1]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - Span span60 = CollectionsMarshal.AsSpan(list114); - ref QuestStep reference78 = ref span60[0]; - QuestStep obj72 = new QuestStep(EInteractionType.Combat, null, new Vector3(248.49304f, -11.838913f, 97.45935f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list115 = new List(num3); - CollectionsMarshal.SetCount(list115, num3); - CollectionsMarshal.AsSpan(list115)[0] = 397u; - obj72.KillEnemyDataIds = list115; - reference78 = obj72; - span60[1] = new QuestStep(EInteractionType.Interact, 1005413u, new Vector3(248.49304f, -11.838913f, 97.45935f), 138); - obj71.Steps = list114; - reference77 = obj71; - ref QuestSequence reference79 = ref span59[2]; - QuestSequence obj73 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003275u, new Vector3(-147.1123f, 18.2f, 14.358704f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa - }; - obj73.Steps = list116; - reference79 = obj73; - questRoot16.QuestSequence = list112; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(1434); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - CollectionsMarshal.AsSpan(list117)[0] = "liza"; - questRoot17.Author = list117; - num = 3; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - Span span61 = CollectionsMarshal.AsSpan(list118); - ref QuestSequence reference80 = ref span61[0]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008798u, new Vector3(-93.06476f, 4f, -124.712036f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj74.Steps = list119; - reference80 = obj74; - ref QuestSequence reference81 = ref span61[1]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - Span span62 = CollectionsMarshal.AsSpan(list120); - ref QuestStep reference82 = ref span62[0]; - QuestStep obj76 = new QuestStep(EInteractionType.Combat, null, new Vector3(-240.09776f, -37.803402f, 105.18645f), 145) - { - StopDistance = 0.5f, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - CollectionsMarshal.AsSpan(list121)[0] = 138u; - obj76.KillEnemyDataIds = list121; - reference82 = obj76; - span62[1] = new QuestStep(EInteractionType.Interact, 1008799u, new Vector3(-237.72034f, -37.77224f, 103.4104f), 145); - obj75.Steps = list120; - reference81 = obj75; - ref QuestSequence reference83 = ref span61[2]; - QuestSequence obj77 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001963u, new Vector3(106.06543f, 4.642026f, -72.007385f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahSapphireAvenue - } - }; - obj77.Steps = list122; - reference83 = obj77; - questRoot17.QuestSequence = list118; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(1438); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - CollectionsMarshal.AsSpan(list123)[0] = "FalconTaterz"; - questRoot18.Author = list123; - num = 8; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - Span span63 = CollectionsMarshal.AsSpan(list124); - ref QuestSequence reference84 = ref span63[0]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008757u, new Vector3(-422.5376f, 23.113976f, -367.7882f), 140) - { - AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj78.Steps = list125; - reference84 = obj78; - ref QuestSequence reference85 = ref span63[1]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.Interact, 1009305u, new Vector3(562.4321f, 17.654663f, 421.7135f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj79.Steps = list126; - reference85 = obj79; - ref QuestSequence reference86 = ref span63[2]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - ref QuestStep reference87 = ref CollectionsMarshal.AsSpan(list127)[0]; - QuestStep obj81 = new QuestStep(EInteractionType.Interact, 1009307u, new Vector3(498.89368f, 10.079935f, 418.265f), 137) - { - Fly = true - }; - num3 = 2; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - Span span64 = CollectionsMarshal.AsSpan(list128); - span64[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CHRHDB301_01438_Q1_000_000"), - Answer = new ExcelRef("TEXT_CHRHDB301_01438_A1_000_030") - }; - span64[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CHRHDB301_01438_Q2_000_000"), - Answer = new ExcelRef("TEXT_CHRHDB301_01438_A2_000_030") - }; - obj81.DialogueChoices = list128; - reference87 = obj81; - obj80.Steps = list127; - reference86 = obj80; - ref QuestSequence reference88 = ref span63[3]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.Interact, 1009310u, new Vector3(471.18323f, 9.96334f, 794.6135f), 137) - { - Fly = true - }; - obj82.Steps = list129; - reference88 = obj82; - ref QuestSequence reference89 = ref span63[4]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.Interact, 1009308u, new Vector3(560.32654f, 17.707417f, 421.01147f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj83.Steps = list130; - reference89 = obj83; - ref QuestSequence reference90 = ref span63[5]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.Interact, 1009311u, new Vector3(531.2123f, 17.448051f, 454.1847f), 137); - obj84.Steps = list131; - reference90 = obj84; - ref QuestSequence reference91 = ref span63[6]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - Span span65 = CollectionsMarshal.AsSpan(list132); - span65[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(582.44116f, 14.587065f, 394.23407f), 137) - { - Fly = true - }; - span65[1] = new QuestStep(EInteractionType.Interact, 1009317u, new Vector3(583.88635f, 14.587067f, 394.70508f), 137); - obj85.Steps = list132; - reference91 = obj85; - ref QuestSequence reference92 = ref span63[7]; - QuestSequence obj86 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.CompleteQuest, 2004317u, new Vector3(515.98376f, 9.384277f, 525.81055f), 137) - { - Fly = true, - NextQuestId = new QuestId(1439) - }; - obj86.Steps = list133; - reference92 = obj86; - questRoot18.QuestSequence = list124; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(1439); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list134 = new List(num); - CollectionsMarshal.SetCount(list134, num); - CollectionsMarshal.AsSpan(list134)[0] = "FalconTaterz"; - questRoot19.Author = list134; - num = 5; - List list135 = new List(num); - CollectionsMarshal.SetCount(list135, num); - Span span66 = CollectionsMarshal.AsSpan(list135); - ref QuestSequence reference93 = ref span66[0]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009326u, new Vector3(526.2073f, 8.84578f, 556.54236f), 137); - obj87.Steps = list136; - reference93 = obj87; - ref QuestSequence reference94 = ref span66[1]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.Interact, 1009328u, new Vector3(515.0376f, 9.192075f, 524.834f), 137); - obj88.Steps = list137; - reference94 = obj88; - ref QuestSequence reference95 = ref span66[2]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - Span span67 = CollectionsMarshal.AsSpan(list138); - span67[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(581.1095f, 14.587067f, 394.20828f), 137) - { - Fly = true - }; - span67[1] = new QuestStep(EInteractionType.Interact, 1009319u, new Vector3(581.3534f, 14.587067f, 395.8037f), 137); - obj89.Steps = list138; - reference95 = obj89; - ref QuestSequence reference96 = ref span66[3]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.Interact, 1001023u, new Vector3(-78.62976f, 18.000334f, -22.62915f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa - }; - obj90.Steps = list139; - reference96 = obj90; - ref QuestSequence reference97 = ref span66[4]; - QuestSequence obj91 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009331u, new Vector3(311.54346f, -36.405907f, 344.71655f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - NextQuestId = new QuestId(1440) - }; - obj91.Steps = list140; - reference97 = obj91; - questRoot19.QuestSequence = list135; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(1440); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list141 = new List(num); - CollectionsMarshal.SetCount(list141, num); - CollectionsMarshal.AsSpan(list141)[0] = "FalconTaterz"; - questRoot20.Author = list141; - num = 6; - List list142 = new List(num); - CollectionsMarshal.SetCount(list142, num); - Span span68 = CollectionsMarshal.AsSpan(list142); - ref QuestSequence reference98 = ref span68[0]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - ref QuestStep reference99 = ref CollectionsMarshal.AsSpan(list143)[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.AcceptQuest, 1009331u, new Vector3(311.54346f, -36.405907f, 344.71655f), 138); - num3 = 1; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - CollectionsMarshal.AsSpan(list144)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CHRHDB303_01440_Q1_000_010") - }; - questStep7.DialogueChoices = list144; - reference99 = questStep7; - obj92.Steps = list143; - reference98 = obj92; - ref QuestSequence reference100 = ref span68[1]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - Span span69 = CollectionsMarshal.AsSpan(list145); - ref QuestStep reference101 = ref span69[0]; - QuestStep obj94 = new QuestStep(EInteractionType.Interact, 1003584u, new Vector3(317.43335f, -36.325005f, 352.86487f), 138) - { - TargetTerritoryId = (ushort)138 - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - Span span70 = CollectionsMarshal.AsSpan(list146); - span70[0] = null; - span70[1] = null; - span70[2] = null; - span70[3] = null; - span70[4] = null; - span70[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list146; - skipConditions2.StepIf = skipStepConditions2; - obj94.SkipConditions = skipConditions2; - reference101 = obj94; - ref QuestStep reference102 = ref span69[1]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2004324u, new Vector3(-283.0091f, -40.634766f, 425.58936f), 138); - num3 = 6; - List list147 = new List(num3); - CollectionsMarshal.SetCount(list147, num3); - Span span71 = CollectionsMarshal.AsSpan(list147); - span71[0] = null; - span71[1] = null; - span71[2] = null; - span71[3] = null; - span71[4] = null; - span71[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list147; - reference102 = questStep8; - ref QuestStep reference103 = ref span69[2]; - QuestStep obj95 = new QuestStep(EInteractionType.Interact, 2004325u, new Vector3(-242.60321f, -38.68164f, 514.7324f), 138) - { - Fly = true - }; - num3 = 6; - List list148 = new List(num3); - CollectionsMarshal.SetCount(list148, num3); - Span span72 = CollectionsMarshal.AsSpan(list148); - span72[0] = null; - span72[1] = null; - span72[2] = null; - span72[3] = null; - span72[4] = null; - span72[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj95.CompletionQuestVariablesFlags = list148; - reference103 = obj95; - ref QuestStep reference104 = ref span69[3]; - QuestStep obj96 = new QuestStep(EInteractionType.Interact, 2004326u, new Vector3(-291.06586f, -38.07129f, 596.765f), 138) - { - Fly = true - }; - num3 = 6; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - Span span73 = CollectionsMarshal.AsSpan(list149); - span73[0] = null; - span73[1] = null; - span73[2] = null; - span73[3] = null; - span73[4] = null; - span73[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj96.CompletionQuestVariablesFlags = list149; - reference104 = obj96; - obj93.Steps = list145; - reference100 = obj93; - ref QuestSequence reference105 = ref span68[2]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - Span span74 = CollectionsMarshal.AsSpan(list150); - ref QuestStep reference106 = ref span74[0]; - QuestStep obj98 = new QuestStep(EInteractionType.Interact, 1009335u, new Vector3(-256.70258f, -40.18569f, 684.1992f), 138) - { - Fly = true, - Comment = "Commence \"The Mandragoras\"" - }; - num3 = 1; - List list151 = new List(num3); - CollectionsMarshal.SetCount(list151, num3); - CollectionsMarshal.AsSpan(list151)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - ExcelSheet = "Addon", - Prompt = new ExcelRef(102445u), - PromptIsRegularExpression = true - }; - obj98.DialogueChoices = list151; - reference106 = obj98; - ref QuestStep reference107 = ref span74[1]; - QuestStep obj99 = new QuestStep(EInteractionType.Combat, null, new Vector3(-256.70258f, -40.18569f, 684.1992f), 138) - { - Comment = "Fight some Mandragoras", - EnemySpawnType = EEnemySpawnType.FateEnemies - }; - num3 = 5; - List list152 = new List(num3); - CollectionsMarshal.SetCount(list152, num3); - Span span75 = CollectionsMarshal.AsSpan(list152); - span75[0] = 2950u; - span75[1] = 2951u; - span75[2] = 2952u; - span75[3] = 2953u; - span75[4] = 2954u; - obj99.KillEnemyDataIds = list152; - reference107 = obj99; - obj97.Steps = list150; - reference105 = obj97; - ref QuestSequence reference108 = ref span68[3]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - Span span76 = CollectionsMarshal.AsSpan(list153); - span76[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(581.46533f, 14.587067f, 393.86594f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - span76[1] = new QuestStep(EInteractionType.Interact, 1009319u, new Vector3(581.3534f, 14.587067f, 395.8037f), 137); - obj100.Steps = list153; - reference108 = obj100; - ref QuestSequence reference109 = ref span68[4]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.Interact, 1009336u, new Vector3(494.49902f, 11.323204f, 210.3761f), 137) - { - Fly = true - }; - obj101.Steps = list154; - reference109 = obj101; - ref QuestSequence reference110 = ref span68[5]; - QuestSequence obj102 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009337u, new Vector3(-46.860474f, 75.95114f, 10.879639f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - NextQuestId = new QuestId(1441) - }; - obj102.Steps = list155; - reference110 = obj102; - questRoot20.QuestSequence = list142; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(1441); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list156 = new List(num); - CollectionsMarshal.SetCount(list156, num); - CollectionsMarshal.AsSpan(list156)[0] = "FalconTaterz"; - questRoot21.Author = list156; - num = 6; - List list157 = new List(num); - CollectionsMarshal.SetCount(list157, num); - Span span77 = CollectionsMarshal.AsSpan(list157); - ref QuestSequence reference111 = ref span77[0]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009341u, new Vector3(-48.44745f, 75.95115f, 9.079041f), 137); - obj103.Steps = list158; - reference111 = obj103; - ref QuestSequence reference112 = ref span77[1]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.Interact, 1009351u, new Vector3(524.28467f, 17.448048f, 449.08826f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj104.Steps = list159; - reference112 = obj104; - ref QuestSequence reference113 = ref span77[2]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.Interact, 1009347u, new Vector3(442.77087f, 15.823447f, 375.17358f), 137) - { - Fly = true - }; - obj105.Steps = list160; - reference113 = obj105; - ref QuestSequence reference114 = ref span77[3]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.Interact, 1009348u, new Vector3(386.19055f, 29.58076f, 350.3623f), 137) - { - Fly = true - }; - obj106.Steps = list161; - reference114 = obj106; - ref QuestSequence reference115 = ref span77[4]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.Interact, 1009345u, new Vector3(523.76587f, 17.448044f, 447.13513f), 137) - { - Fly = true - }; - obj107.Steps = list162; - reference115 = obj107; - ref QuestSequence reference116 = ref span77[5]; - QuestSequence obj108 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.CompleteQuest, 2004328u, new Vector3(523.4607f, 17.837708f, 455.2528f), 137) - { - NextQuestId = new QuestId(166) - }; - obj108.Steps = list163; - reference116 = obj108; - questRoot21.QuestSequence = list157; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(1442); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list164 = new List(num); - CollectionsMarshal.SetCount(list164, num); - CollectionsMarshal.AsSpan(list164)[0] = "JerryWester"; - questRoot22.Author = list164; - num = 3; - List list165 = new List(num); - CollectionsMarshal.SetCount(list165, num); - Span span78 = CollectionsMarshal.AsSpan(list165); - ref QuestSequence reference117 = ref span78[0]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008579u, new Vector3(1.0223389f, -1.9957249f, -45.731323f), 351); - obj109.Steps = list166; - reference117 = obj109; - ref QuestSequence reference118 = ref span78[1]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - Span span79 = CollectionsMarshal.AsSpan(list167); - span79[0] = new QuestStep(EInteractionType.Interact, 2002880u, new Vector3(0f, -1f, -29.25f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span79[1] = new QuestStep(EInteractionType.Interact, 2002879u, new Vector3(0f, 3f, 27.5f), 351) - { - TargetTerritoryId = (ushort)156 - }; - span79[2] = new QuestStep(EInteractionType.Interact, 1009239u, new Vector3(18.32605f, 21.252728f, -639.7345f), 156) - { - StopDistance = 7f - }; - obj110.Steps = list167; - reference118 = obj110; - ref QuestSequence reference119 = ref span78[2]; - QuestSequence obj111 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.CompleteQuest, 1008623u, new Vector3(24.887451f, 6.999997f, -80.03363f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj111.Steps = list168; - reference119 = obj111; - questRoot22.QuestSequence = list165; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(1443); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list169 = new List(num); - CollectionsMarshal.SetCount(list169, num); - CollectionsMarshal.AsSpan(list169)[0] = "JerryWester"; - questRoot23.Author = list169; - num = 7; - List list170 = new List(num); - CollectionsMarshal.SetCount(list170, num); - Span span80 = CollectionsMarshal.AsSpan(list170); - ref QuestSequence reference120 = ref span80[0]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008623u, new Vector3(24.887451f, 6.999997f, -80.03363f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj112.Steps = list171; - reference120 = obj112; - ref QuestSequence reference121 = ref span80[1]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.Interact, 1008700u, new Vector3(-132.52466f, 4.1f, -111.92493f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.Uldah - } - }; - obj113.Steps = list172; - reference121 = obj113; - ref QuestSequence reference122 = ref span80[2]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.Interact, 1004576u, new Vector3(-141.64954f, 4.1f, -114.67157f), 130); - obj114.Steps = list173; - reference122 = obj114; - ref QuestSequence reference123 = ref span80[3]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - Span span81 = CollectionsMarshal.AsSpan(list174); - ref QuestStep reference124 = ref span81[0]; - QuestStep obj116 = new QuestStep(EInteractionType.Interact, 1001484u, new Vector3(93.247925f, 0.34075317f, -272.60242f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - num3 = 6; - List list175 = new List(num3); - CollectionsMarshal.SetCount(list175, num3); - Span span82 = CollectionsMarshal.AsSpan(list175); - span82[0] = null; - span82[1] = null; - span82[2] = null; - span82[3] = null; - span82[4] = null; - span82[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj116.CompletionQuestVariablesFlags = list175; - reference124 = obj116; - ref QuestStep reference125 = ref span81[1]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1001605u, new Vector3(94.46863f, 0.34075314f, -272.60242f), 141); - num3 = 6; - List list176 = new List(num3); - CollectionsMarshal.SetCount(list176, num3); - Span span83 = CollectionsMarshal.AsSpan(list176); - span83[0] = null; - span83[1] = null; - span83[2] = null; - span83[3] = null; - span83[4] = null; - span83[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list176; - reference125 = questStep9; - obj115.Steps = list174; - reference123 = obj115; - ref QuestSequence reference126 = ref span80[4]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - Span span84 = CollectionsMarshal.AsSpan(list177); - span84[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(177.75328f, -1f, -316.30814f), 141) - { - Fly = true - }; - span84[1] = new QuestStep(EInteractionType.Interact, 1006359u, new Vector3(177.203f, -1f, -317.86072f), 141); - obj117.Steps = list177; - reference126 = obj117; - ref QuestSequence reference127 = ref span80[5]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.Interact, 1009049u, new Vector3(187.54858f, -1f, -302.93738f), 141); - obj118.Steps = list178; - reference127 = obj118; - ref QuestSequence reference128 = ref span80[6]; - QuestSequence obj119 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - CollectionsMarshal.AsSpan(list179)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009049u, new Vector3(187.54858f, -1f, -302.93738f), 141) - { - Emote = EEmote.Soothe - }; - obj119.Steps = list179; - reference128 = obj119; - questRoot23.QuestSequence = list170; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(1446); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list180 = new List(num); - CollectionsMarshal.SetCount(list180, num); - CollectionsMarshal.AsSpan(list180)[0] = "JerryWester"; - questRoot24.Author = list180; - num = 2; - List list181 = new List(num); - CollectionsMarshal.SetCount(list181, num); - Span span85 = CollectionsMarshal.AsSpan(list181); - ref QuestSequence reference129 = ref span85[0]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.AcceptQuest, 1004576u, new Vector3(-141.64954f, 4.1f, -114.67157f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj120.Steps = list182; - reference129 = obj120; - ref QuestSequence reference130 = ref span85[1]; - QuestSequence obj121 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - CollectionsMarshal.AsSpan(list183)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001821u, new Vector3(-24.124573f, 38.000004f, 85.31323f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - obj121.Steps = list183; - reference130 = obj121; - questRoot24.QuestSequence = list181; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(1447); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list184 = new List(num); - CollectionsMarshal.SetCount(list184, num); - CollectionsMarshal.AsSpan(list184)[0] = "JerryWester"; - questRoot25.Author = list184; - num = 2; - List list185 = new List(num); - CollectionsMarshal.SetCount(list185, num); - Span span86 = CollectionsMarshal.AsSpan(list185); - ref QuestSequence reference131 = ref span86[0]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009057u, new Vector3(-25.497864f, 38.010006f, 83.359985f), 131); - obj122.Steps = list186; - reference131 = obj122; - ref QuestSequence reference132 = ref span86[1]; - QuestSequence obj123 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - Span span87 = CollectionsMarshal.AsSpan(list187); - span87[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span87[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span87[2] = new QuestStep(EInteractionType.CompleteQuest, 1008579u, new Vector3(1.0223389f, -1.9957249f, -45.731323f), 351); - obj123.Steps = list187; - reference132 = obj123; - questRoot25.QuestSequence = list185; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(1448); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list188 = new List(num); - CollectionsMarshal.SetCount(list188, num); - CollectionsMarshal.AsSpan(list188)[0] = "JerryWester"; - questRoot26.Author = list188; - num = 4; - List list189 = new List(num); - CollectionsMarshal.SetCount(list189, num); - Span span88 = CollectionsMarshal.AsSpan(list189); - ref QuestSequence reference133 = ref span88[0]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008579u, new Vector3(1.0223389f, -1.9957249f, -45.731323f), 351); - obj124.Steps = list190; - reference133 = obj124; - ref QuestSequence reference134 = ref span88[1]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.Interact, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj125.Steps = list191; - reference134 = obj125; - ref QuestSequence reference135 = ref span88[2]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - Span span89 = CollectionsMarshal.AsSpan(list192); - span89[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-105.118355f, 1.308924f, 8.009593f), 132) - { - TargetTerritoryId = (ushort)133 - }; - span89[1] = new QuestStep(EInteractionType.Interact, 1000460u, new Vector3(-159.41101f, 4.054107f, -4.1047363f), 133) - { - TargetTerritoryId = (ushort)205 - }; - span89[2] = new QuestStep(EInteractionType.Interact, 1003027u, new Vector3(4.8981323f, -1.92944f, -0.19836426f), 205); - obj126.Steps = list192; - reference135 = obj126; - ref QuestSequence reference136 = ref span88[3]; - QuestSequence obj127 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009097u, new Vector3(22.87323f, -3.7749445f, 211.16956f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - obj127.Steps = list193; - reference136 = obj127; - questRoot26.QuestSequence = list189; - AddQuest(questId26, questRoot26); - } - - private static void LoadQuests29() - { - QuestId questId = new QuestId(1453); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "JerryWester"; - questRoot.Author = list; - num = 4; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009097u, new Vector3(22.87323f, -3.7749445f, 211.16956f), 152) - { - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - span2[0] = new QuestStep(EInteractionType.Interact, 1000460u, new Vector3(-159.41101f, 4.054107f, -4.1047363f), 133) - { - TargetTerritoryId = (ushort)205, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - span2[1] = new QuestStep(EInteractionType.Interact, 1003027u, new Vector3(4.8981323f, -1.92944f, -0.19836426f), 205); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1009096u, new Vector3(-158.12933f, 4.1921f, -17.013855f), 133); - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - Span span3 = CollectionsMarshal.AsSpan(list6); - span3[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span3[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span3[2] = new QuestStep(EInteractionType.CompleteQuest, 1008969u, new Vector3(0.99176025f, -1.9957249f, -45.700806f), 351); - obj4.Steps = list6; - reference4 = obj4; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(1456); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - CollectionsMarshal.AsSpan(list7)[0] = "JerryWester"; - questRoot2.Author = list7; - num = 4; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span4 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference5 = ref span4[0]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008969u, new Vector3(0.99176025f, -1.9957249f, -45.700806f), 351); - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference6 = ref span4[1]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span5 = CollectionsMarshal.AsSpan(list10); - span5[0] = new QuestStep(EInteractionType.Interact, 2002880u, new Vector3(-0.015319824f, -1.0223389f, -29.251587f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span5[1] = new QuestStep(EInteractionType.Interact, 1008980u, new Vector3(8.712891f, 0.009977885f, -3.8911133f), 351); - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span4[2]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - ref QuestStep reference8 = ref CollectionsMarshal.AsSpan(list11)[0]; - QuestStep obj8 = new QuestStep(EInteractionType.SinglePlayerDuty, 1009282u, new Vector3(132.95178f, -2.2044632f, -556.2372f), 156) - { - StopDistance = 1f, - TargetTerritoryId = (ushort)156, - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - int num3 = 1; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - CollectionsMarshal.AsSpan(list12)[0] = 156; - skipAetheryteCondition.InTerritory = list12; - skipConditions.AetheryteShortcutIf = skipAetheryteCondition; - obj8.SkipConditions = skipConditions; - reference8 = obj8; - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference9 = ref span4[3]; - QuestSequence obj9 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - Span span6 = CollectionsMarshal.AsSpan(list13); - span6[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(30.917934f, 20.495003f, -656.1909f), 156) - { - Fly = true - }; - span6[1] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351 - }; - span6[2] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span6[3] = new QuestStep(EInteractionType.CompleteQuest, 1009021u, new Vector3(2.9144287f, -1.9957249f, -42.130188f), 351); - obj9.Steps = list13; - reference9 = obj9; - questRoot2.QuestSequence = list8; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(1457); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - CollectionsMarshal.AsSpan(list14)[0] = "JerryWester"; - questRoot3.Author = list14; - num = 11; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - Span span7 = CollectionsMarshal.AsSpan(list15); - ref QuestSequence reference10 = ref span7[0]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009021u, new Vector3(2.9144287f, -1.9957249f, -42.130188f), 351); - obj10.Steps = list16; - reference10 = obj10; - ref QuestSequence reference11 = ref span7[1]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.Interact, 1009128u, new Vector3(1.1443481f, 19.999985f, -15.640564f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa - }; - obj11.Steps = list17; - reference11 = obj11; - ref QuestSequence reference12 = ref span7[2]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 2 - }; - num2 = 6; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - Span span8 = CollectionsMarshal.AsSpan(list18); - ref QuestStep reference13 = ref span8[0]; - QuestStep obj13 = new QuestStep(EInteractionType.Interact, 1003282u, new Vector3(-3.03656f, 48.168007f, -261.70752f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - num3 = 6; - List list19 = new List(num3); - CollectionsMarshal.SetCount(list19, num3); - Span span9 = CollectionsMarshal.AsSpan(list19); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj13.CompletionQuestVariablesFlags = list19; - reference13 = obj13; - ref QuestStep reference14 = ref span8[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1000915u, new Vector3(18.387085f, 47.600006f, -162.12714f), 128); - num3 = 6; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - Span span10 = CollectionsMarshal.AsSpan(list20); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list20; - reference14 = questStep; - ref QuestStep reference15 = ref span8[2]; - QuestStep obj14 = new QuestStep(EInteractionType.Interact, 1000918u, new Vector3(84.09241f, 44.399914f, 132.34143f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaMarauder, - To = EAetheryteLocation.LimsaAftcastle - } - }; - num3 = 6; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - Span span11 = CollectionsMarshal.AsSpan(list21); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj14.CompletionQuestVariablesFlags = list21; - reference15 = obj14; - ref QuestStep reference16 = ref span8[3]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1001000u, new Vector3(-32.028687f, 41.499985f, 208.39233f), 128); - num3 = 6; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - Span span12 = CollectionsMarshal.AsSpan(list22); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list22; - reference16 = questStep2; - span8[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-140.77458f, 39.99999f, 155.4174f), 128); - ref QuestStep reference17 = ref span8[5]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1009133u, new Vector3(-189.13562f, 41.249943f, 179.40027f), 128); - num3 = 6; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - Span span13 = CollectionsMarshal.AsSpan(list23); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list23; - reference17 = questStep3; - obj12.Steps = list18; - reference12 = obj12; - ref QuestSequence reference18 = ref span7[3]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.Interact, 1009129u, new Vector3(-22.110352f, 91.999985f, -11.6427f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAirship - } - }; - obj15.Steps = list24; - reference18 = obj15; - ref QuestSequence reference19 = ref span7[4]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - Span span14 = CollectionsMarshal.AsSpan(list25); - span14[0] = new QuestStep(EInteractionType.Interact, 1002695u, new Vector3(-25.92511f, 91.999954f, -3.6774292f), 128) - { - TargetTerritoryId = (ushort)132 - }; - span14[1] = new QuestStep(EInteractionType.Interact, 1009130u, new Vector3(-157.00012f, 4f, -20.187744f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - obj16.Steps = list25; - reference19 = obj16; - ref QuestSequence reference20 = ref span7[5]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 5 - }; - num2 = 4; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - Span span15 = CollectionsMarshal.AsSpan(list26); - ref QuestStep reference21 = ref span15[0]; - QuestStep obj18 = new QuestStep(EInteractionType.Interact, 1009138u, new Vector3(-35.324707f, 7.117063f, -110.76526f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaConjurer, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - num3 = 6; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - Span span16 = CollectionsMarshal.AsSpan(list27); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj18.CompletionQuestVariablesFlags = list27; - num3 = 1; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - CollectionsMarshal.AsSpan(list28)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_GAIUSE316_01457_Q1_000_142"), - Answer = new ExcelRef("TEXT_GAIUSE316_01457_A1_000_143") - }; - obj18.DialogueChoices = list28; - reference21 = obj18; - ref QuestStep reference22 = ref span15[1]; - QuestStep obj19 = new QuestStep(EInteractionType.Interact, 1000248u, new Vector3(143.05322f, 14.250365f, -250.72101f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaAmphitheatre, - To = EAetheryteLocation.GridaniaLancer - } - }; - num3 = 6; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - Span span17 = CollectionsMarshal.AsSpan(list29); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj19.CompletionQuestVariablesFlags = list29; - reference22 = obj19; - ref QuestStep reference23 = ref span15[2]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1006263u, new Vector3(36.819946f, 16.351469f, -334.5846f), 133); - num3 = 6; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - Span span18 = CollectionsMarshal.AsSpan(list30); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list30; - reference23 = questStep4; - ref QuestStep reference24 = ref span15[3]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1009139u, new Vector3(-14.328308f, 9.999907f, -262.68408f), 133); - num3 = 6; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - Span span19 = CollectionsMarshal.AsSpan(list31); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list31; - reference24 = questStep5; - obj17.Steps = list26; - reference20 = obj17; - ref QuestSequence reference25 = ref span7[6]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 1009131u, new Vector3(25.864014f, -19.000002f, 98.68005f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAirship - } - }; - obj20.Steps = list32; - reference25 = obj20; - ref QuestSequence reference26 = ref span7[7]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 7 - }; - num2 = 3; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - Span span20 = CollectionsMarshal.AsSpan(list33); - span20[0] = new QuestStep(EInteractionType.Interact, 1000106u, new Vector3(29.007324f, -19.000002f, 105.485596f), 132) - { - TargetTerritoryId = (ushort)130 - }; - span20[1] = new QuestStep(EInteractionType.Interact, 1004339u, new Vector3(-25.986206f, 81.799995f, -31.99823f), 130) - { - TargetTerritoryId = (ushort)131 - }; - span20[2] = new QuestStep(EInteractionType.Interact, 1009132u, new Vector3(-5.142395f, 29.999989f, 19.272095f), 131); - obj21.Steps = list33; - reference26 = obj21; - ref QuestSequence reference27 = ref span7[8]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 8 - }; - num2 = 5; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - Span span21 = CollectionsMarshal.AsSpan(list34); - ref QuestStep reference28 = ref span21[0]; - QuestStep obj23 = new QuestStep(EInteractionType.Interact, 1009135u, new Vector3(-89.3111f, 7.008094f, -10.025269f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahChamberOfRule, - To = EAetheryteLocation.UldahGladiator - } - }; - num3 = 6; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - Span span22 = CollectionsMarshal.AsSpan(list35); - span22[0] = null; - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj23.CompletionQuestVariablesFlags = list35; - reference28 = obj23; - ref QuestStep reference29 = ref span21[1]; - QuestStep obj24 = new QuestStep(EInteractionType.Interact, 1009136u, new Vector3(65.35437f, 14.005002f, 102.46423f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.UldahMiner - } - }; - num3 = 6; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - Span span23 = CollectionsMarshal.AsSpan(list36); - span23[0] = null; - span23[1] = null; - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj24.CompletionQuestVariablesFlags = list36; - reference29 = obj24; - ref QuestStep reference30 = ref span21[2]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1001691u, new Vector3(142.16821f, 7.4920034f, 104.72266f), 131); - num3 = 6; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - Span span24 = CollectionsMarshal.AsSpan(list37); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list37; - reference30 = questStep6; - ref QuestStep reference31 = ref span21[3]; - QuestStep obj25 = new QuestStep(EInteractionType.Interact, 1001679u, new Vector3(140.48975f, 4.0099983f, -59.80017f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahWeaver, - To = EAetheryteLocation.UldahSapphireAvenue - } - }; - num3 = 6; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - Span span25 = CollectionsMarshal.AsSpan(list38); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj25.CompletionQuestVariablesFlags = list38; - reference31 = obj25; - span21[4] = new QuestStep(EInteractionType.Interact, 1001657u, new Vector3(94.80432f, 7.9804688f, -34.042908f), 131); - obj22.Steps = list34; - reference27 = obj22; - ref QuestSequence reference32 = ref span7[9]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 1009132u, new Vector3(-5.142395f, 29.999989f, 19.272095f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahSapphireAvenue, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - obj26.Steps = list39; - reference32 = obj26; - ref QuestSequence reference33 = ref span7[10]; - QuestSequence obj27 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - Span span26 = CollectionsMarshal.AsSpan(list40); - span26[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span26[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span26[2] = new QuestStep(EInteractionType.CompleteQuest, 1009021u, new Vector3(2.9144287f, -1.9957249f, -42.130188f), 351); - obj27.Steps = list40; - reference33 = obj27; - questRoot3.QuestSequence = list15; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(1458); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - CollectionsMarshal.AsSpan(list41)[0] = "JerryWester"; - questRoot4.Author = list41; - num = 3; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - Span span27 = CollectionsMarshal.AsSpan(list42); - ref QuestSequence reference34 = ref span27[0]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008969u, new Vector3(0.99176025f, -1.9957249f, -45.700806f), 351) - { - StopDistance = 7f - }; - obj28.Steps = list43; - reference34 = obj28; - ref QuestSequence reference35 = ref span27[1]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - Span span28 = CollectionsMarshal.AsSpan(list44); - span28[0] = new QuestStep(EInteractionType.Interact, 2002880u, new Vector3(-0.015319824f, -1.0223389f, -29.251587f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span28[1] = new QuestStep(EInteractionType.Interact, 2002879u, new Vector3(-0.015319824f, 2.9754639f, 27.481445f), 351) - { - TargetTerritoryId = (ushort)156 - }; - span28[2] = new QuestStep(EInteractionType.Interact, 1006530u, new Vector3(21.927185f, 20.746975f, -682.06305f), 156); - obj29.Steps = list44; - reference35 = obj29; - ref QuestSequence reference36 = ref span27[2]; - QuestSequence obj30 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - Span span29 = CollectionsMarshal.AsSpan(list45); - span29[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(241.6061f, 303.12494f, -199.86047f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span29[1] = new QuestStep(EInteractionType.CompleteQuest, 1006384u, new Vector3(263.5996f, 303.1f, -199.96954f), 155); - obj30.Steps = list45; - reference36 = obj30; - questRoot4.QuestSequence = list42; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(1459); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - CollectionsMarshal.AsSpan(list46)[0] = "JerryWester"; - questRoot5.Author = list46; - num = 9; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - Span span30 = CollectionsMarshal.AsSpan(list47); - ref QuestSequence reference37 = ref span30[0]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006384u, new Vector3(263.5996f, 303.1f, -199.96954f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj31.Steps = list48; - reference37 = obj31; - ref QuestSequence reference38 = ref span30[1]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - Span span31 = CollectionsMarshal.AsSpan(list49); - span31[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(240.43533f, 303.94617f, -200.04732f), 155) - { - Fly = true - }; - span31[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-423.6362f, 266.62988f, -205.92511f), 155) - { - Fly = true - }; - span31[2] = new QuestStep(EInteractionType.Interact, 1006444u, new Vector3(-432.9748f, 233.47266f, -199.6643f), 155); - obj32.Steps = list49; - reference38 = obj32; - ref QuestSequence reference39 = ref span30[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - Span span32 = CollectionsMarshal.AsSpan(list50); - span32[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-431.37878f, 259.79306f, -194.97882f), 155) - { - Fly = true - }; - span32[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-423.87833f, 266.9849f, -205.68484f), 155) - { - Fly = false - }; - span32[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-429.45197f, 217.99948f, -296.54102f), 155) - { - Fly = true - }; - span32[3] = new QuestStep(EInteractionType.Interact, 1009081u, new Vector3(-413.93152f, 224.99988f, -298.2987f), 155); - obj33.Steps = list50; - reference39 = obj33; - ref QuestSequence reference40 = ref span30[3]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - Span span33 = CollectionsMarshal.AsSpan(list51); - span33[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-429.70523f, 217.9995f, -297.22086f), 155) - { - Mount = true - }; - ref QuestStep reference41 = ref span33[1]; - QuestStep obj35 = new QuestStep(EInteractionType.Combat, null, new Vector3(-701.3538f, 224.22969f, -31.912737f), 155) - { - StopDistance = 0.25f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - Span span34 = CollectionsMarshal.AsSpan(list52); - span34[0] = 3119u; - span34[1] = 3120u; - obj35.KillEnemyDataIds = list52; - reference41 = obj35; - obj34.Steps = list51; - reference40 = obj34; - ref QuestSequence reference42 = ref span30[4]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.Interact, 1009087u, new Vector3(-868.13153f, 226.16986f, 8.132996f), 155) - { - Fly = true - }; - obj36.Steps = list53; - reference42 = obj36; - ref QuestSequence reference43 = ref span30[5]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.Interact, 1009087u, new Vector3(-868.13153f, 226.16986f, 8.132996f), 155); - obj37.Steps = list54; - reference43 = obj37; - ref QuestSequence reference44 = ref span30[6]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - Span span35 = CollectionsMarshal.AsSpan(list55); - span35[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-427.42563f, 265.09998f, -211.80003f), 155) - { - Fly = true - }; - span35[1] = new QuestStep(EInteractionType.Interact, 1006444u, new Vector3(-432.9748f, 233.47266f, -199.6643f), 155); - obj38.Steps = list55; - reference44 = obj38; - ref QuestSequence reference45 = ref span30[7]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - Span span36 = CollectionsMarshal.AsSpan(list56); - span36[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(241.14075f, 303f, -200.08086f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span36[1] = new QuestStep(EInteractionType.Interact, 1006384u, new Vector3(263.5996f, 303.1f, -199.96954f), 155); - obj39.Steps = list56; - reference45 = obj39; - ref QuestSequence reference46 = ref span30[8]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006530u, new Vector3(21.927185f, 20.746975f, -682.06305f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj40.Steps = list57; - reference46 = obj40; - questRoot5.QuestSequence = list47; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(1460); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - CollectionsMarshal.AsSpan(list58)[0] = "JerryWester"; - questRoot6.Author = list58; - num = 5; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - Span span37 = CollectionsMarshal.AsSpan(list59); - ref QuestSequence reference47 = ref span37[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006530u, new Vector3(21.927185f, 20.746975f, -682.06305f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj41.Steps = list60; - reference47 = obj41; - ref QuestSequence reference48 = ref span37[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - Span span38 = CollectionsMarshal.AsSpan(list61); - span38[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span38[1] = new QuestStep(EInteractionType.Interact, 1008997u, new Vector3(-5.8442383f, 0.51025796f, -9.628479f), 351); - obj42.Steps = list61; - reference48 = obj42; - ref QuestSequence reference49 = ref span37[2]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 2 - }; - num2 = 12; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - Span span39 = CollectionsMarshal.AsSpan(list62); - ref QuestStep reference50 = ref span39[0]; - QuestStep obj44 = new QuestStep(EInteractionType.Interact, 2002879u, new Vector3(-0.015319824f, 2.9754639f, 27.481445f), 351) - { - TargetTerritoryId = (ushort)156 - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - Span span40 = CollectionsMarshal.AsSpan(list63); - span40[0] = null; - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list63; - skipConditions2.StepIf = skipStepConditions; - obj44.SkipConditions = skipConditions2; - reference50 = obj44; - ref QuestStep reference51 = ref span39[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1009147u, new Vector3(41.153564f, 20.495003f, -650.44635f), 156); - num3 = 6; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - Span span41 = CollectionsMarshal.AsSpan(list64); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list64; - reference51 = questStep7; - ref QuestStep reference52 = ref span39[2]; - QuestStep obj45 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(86.662384f, 28.34813f, -627.5218f), 156) - { - Fly = true - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - Span span42 = CollectionsMarshal.AsSpan(list65); - span42[0] = null; - span42[1] = null; - span42[2] = null; - span42[3] = null; - span42[4] = null; - span42[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list65; - skipConditions3.StepIf = skipStepConditions2; - obj45.SkipConditions = skipConditions3; - reference52 = obj45; - ref QuestStep reference53 = ref span39[3]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1009143u, new Vector3(86.778076f, 28.34813f, -625.94037f), 156); - num3 = 6; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - Span span43 = CollectionsMarshal.AsSpan(list66); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list66; - reference53 = questStep8; - ref QuestStep reference54 = ref span39[4]; - QuestStep obj46 = new QuestStep(EInteractionType.Interact, 1009148u, new Vector3(71.091675f, 33.06652f, -698.3597f), 156) - { - Fly = true - }; - num3 = 6; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - Span span44 = CollectionsMarshal.AsSpan(list67); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - obj46.CompletionQuestVariablesFlags = list67; - reference54 = obj46; - ref QuestStep reference55 = ref span39[5]; - QuestStep obj47 = new QuestStep(EInteractionType.Interact, 1009145u, new Vector3(55.832764f, 25.5776f, -703.6698f), 156) - { - Fly = true - }; - num3 = 6; - List list68 = new List(num3); - CollectionsMarshal.SetCount(list68, num3); - Span span45 = CollectionsMarshal.AsSpan(list68); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj47.CompletionQuestVariablesFlags = list68; - reference55 = obj47; - ref QuestStep reference56 = ref span39[6]; - QuestStep obj48 = new QuestStep(EInteractionType.Interact, 1009146u, new Vector3(47.80652f, 31.164318f, -744.9912f), 156) - { - StopDistance = 0.5f, - Fly = true - }; - num3 = 6; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - Span span46 = CollectionsMarshal.AsSpan(list69); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - obj48.CompletionQuestVariablesFlags = list69; - reference56 = obj48; - ref QuestStep reference57 = ref span39[7]; - QuestStep obj49 = new QuestStep(EInteractionType.Interact, 1009142u, new Vector3(22.384888f, 29.024387f, -735.4696f), 156) - { - Mount = true - }; - num3 = 6; - List list70 = new List(num3); - CollectionsMarshal.SetCount(list70, num3); - Span span47 = CollectionsMarshal.AsSpan(list70); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj49.CompletionQuestVariablesFlags = list70; - reference57 = obj49; - span39[8] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(20.33117f, 32.412514f, -710.2311f), 156) - { - Fly = true - }; - ref QuestStep reference58 = ref span39[9]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1009141u, new Vector3(22.171326f, 32.41251f, -711.4214f), 156); - num3 = 6; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - Span span48 = CollectionsMarshal.AsSpan(list71); - span48[0] = null; - span48[1] = null; - span48[2] = null; - span48[3] = null; - span48[4] = null; - span48[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list71; - reference58 = questStep9; - span39[10] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(19.0689f, 28.620823f, -687.8293f), 156) - { - Fly = true - }; - ref QuestStep reference59 = ref span39[11]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1009144u, new Vector3(20.61493f, 28.620823f, -688.38025f), 156); - num3 = 6; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - Span span49 = CollectionsMarshal.AsSpan(list72); - span49[0] = null; - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list72; - reference59 = questStep10; - obj43.Steps = list62; - reference49 = obj43; - ref QuestSequence reference60 = ref span37[3]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - Span span50 = CollectionsMarshal.AsSpan(list73); - span50[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(30.917934f, 20.495003f, -656.1909f), 156) - { - Fly = true - }; - span50[1] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351 - }; - span50[2] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span50[3] = new QuestStep(EInteractionType.Interact, 1009021u, new Vector3(2.9144287f, -1.9957249f, -42.130188f), 351) - { - StopDistance = 7f - }; - obj50.Steps = list73; - reference60 = obj50; - ref QuestSequence reference61 = ref span37[4]; - QuestSequence obj51 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.CompleteQuest, 1008969u, new Vector3(0.99176025f, -1.9957249f, -45.700806f), 351) - { - StopDistance = 7f - }; - obj51.Steps = list74; - reference61 = obj51; - questRoot6.QuestSequence = list59; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(1463); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - CollectionsMarshal.AsSpan(list75)[0] = "WigglyMuffin"; - questRoot7.Author = list75; - num = 2; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - Span span51 = CollectionsMarshal.AsSpan(list76); - ref QuestSequence reference62 = ref span51[0]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001428u, new Vector3(116.80774f, 30.907087f, -359.63995f), 141) - { - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj52.Steps = list77; - reference62 = obj52; - ref QuestSequence reference63 = ref span51[1]; - QuestSequence obj53 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001425u, new Vector3(115.12927f, 31.876099f, -392.2027f), 141); - obj53.Steps = list78; - reference63 = obj53; - questRoot7.QuestSequence = list76; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(1474); - QuestRoot questRoot8 = new QuestRoot(); - num = 2; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - Span span52 = CollectionsMarshal.AsSpan(list79); - span52[0] = "JerryWester"; - span52[1] = "Wigglez"; - questRoot8.Author = list79; - num = 6; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - Span span53 = CollectionsMarshal.AsSpan(list80); - ref QuestSequence reference64 = ref span53[0]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006725u, new Vector3(446.82983f, -5.306207f, -465.72064f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj54.Steps = list81; - reference64 = obj54; - ref QuestSequence reference65 = ref span53[1]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - Span span54 = CollectionsMarshal.AsSpan(list82); - span54[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(579.65247f, 17.487066f, -278.57523f), 156) - { - Fly = true - }; - span54[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(572.9147f, -1.2399623f, -260.11197f), 156) - { - Fly = true - }; - span54[2] = new QuestStep(EInteractionType.Combat, null, new Vector3(572.3506f, -0.045776367f, -260.51727f), 156) - { - DelaySecondsAtStart = 1f, - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - span54[3] = new QuestStep(EInteractionType.Interact, 2002927u, new Vector3(572.3506f, -0.045776367f, -260.51727f), 156) - { - TargetTerritoryId = (ushort)156 - }; - span54[4] = new QuestStep(EInteractionType.Interact, 1009372u, new Vector3(640.1312f, -1.08248f, -137.59064f), 156); - obj55.Steps = list82; - reference65 = obj55; - ref QuestSequence reference66 = ref span53[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.Interact, 1009374u, new Vector3(734.15735f, 15.330521f, -55.832825f), 156) - { - StopDistance = 7f - }; - obj56.Steps = list83; - reference66 = obj56; - ref QuestSequence reference67 = ref span53[3]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.Interact, 1009376u, new Vector3(730.73914f, 15.428448f, -56.168518f), 156) - { - StopDistance = 7f - }; - obj57.Steps = list84; - reference67 = obj57; - ref QuestSequence reference68 = ref span53[4]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.Duty, null, null, 156) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 102u, - LowPriority = true - } - }; - obj58.Steps = list85; - reference68 = obj58; - ref QuestSequence reference69 = ref span53[5]; - QuestSequence obj59 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - Span span55 = CollectionsMarshal.AsSpan(list86); - span55[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(445.96164f, -5.3604937f, -466.67636f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span55[1] = new QuestStep(EInteractionType.CompleteQuest, 1006725u, new Vector3(446.82983f, -5.306207f, -465.72064f), 156) - { - NextQuestId = new QuestId(494) - }; - obj59.Steps = list86; - reference69 = obj59; - questRoot8.QuestSequence = list80; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(1475); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - CollectionsMarshal.AsSpan(list87)[0] = "liza"; - questRoot9.Author = list87; - num = 9; - List list88 = new List(num); - CollectionsMarshal.SetCount(list88, num); - Span span56 = CollectionsMarshal.AsSpan(list88); - ref QuestSequence reference70 = ref span56[0]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - Span span57 = CollectionsMarshal.AsSpan(list89); - ref QuestStep reference71 = ref span57[0]; - QuestStep obj61 = new QuestStep(EInteractionType.Interact, 1011217u, new Vector3(17.990356f, 16.009666f, -9.567444f), 419) - { - TargetTerritoryId = (ushort)433, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardLastVigil - } - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - CollectionsMarshal.AsSpan(list90)[0] = 433; - skipStepConditions3.InTerritory = list90; - skipConditions4.StepIf = skipStepConditions3; - SkipAetheryteCondition obj62 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list91 = new List(num3); - CollectionsMarshal.SetCount(list91, num3); - Span span58 = CollectionsMarshal.AsSpan(list91); - span58[0] = 419; - span58[1] = 433; - obj62.InTerritory = list91; - skipConditions4.AetheryteShortcutIf = obj62; - obj61.SkipConditions = skipConditions4; - reference71 = obj61; - span57[1] = new QuestStep(EInteractionType.AcceptQuest, 1012337u, new Vector3(-5.874817f, -9.313226E-10f, -5.783203f), 433); - obj60.Steps = list89; - reference70 = obj60; - ref QuestSequence reference72 = ref span56[1]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - Span span59 = CollectionsMarshal.AsSpan(list92); - ref QuestStep reference73 = ref span59[0]; - QuestStep obj64 = new QuestStep(EInteractionType.Interact, 2005334u, new Vector3(-0.015319824f, 1.1443481f, 13.199036f), 433) - { - TargetTerritoryId = (ushort)419 - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 1; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - CollectionsMarshal.AsSpan(list93)[0] = 419; - skipStepConditions4.InTerritory = list93; - skipConditions5.StepIf = skipStepConditions4; - obj64.SkipConditions = skipConditions5; - reference73 = obj64; - span59[1] = new QuestStep(EInteractionType.Interact, 1012180u, new Vector3(-174.18176f, -12.555469f, -21.561035f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardLastVigil, - To = EAetheryteLocation.IshgardJeweledCrozier - } - }; - obj63.Steps = list92; - reference72 = obj63; - ref QuestSequence reference74 = ref span56[2]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Interact, 1011192u, new Vector3(88.36499f, 15.094684f, 31.296265f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardJeweledCrozier, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj65.Steps = list94; - reference74 = obj65; - ref QuestSequence reference75 = ref span56[3]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.Interact, 1011952u, new Vector3(-277.63788f, -184.59735f, 741.60376f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop - }; - obj66.Steps = list95; - reference75 = obj66; - ref QuestSequence reference76 = ref span56[4]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.Interact, 1011231u, new Vector3(503.1051f, 217.95148f, 790.2189f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj67.Steps = list96; - reference76 = obj67; - ref QuestSequence reference77 = ref span56[5]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.Interact, 2007017u, new Vector3(120.62256f, 14.938599f, -156.6034f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardTribunal - } - }; - obj68.Steps = list97; - reference77 = obj68; - ref QuestSequence reference78 = ref span56[6]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.Interact, 2007018u, new Vector3(23.025818f, 27.939209f, -145.73895f), 419); - obj69.Steps = list98; - reference78 = obj69; - ref QuestSequence reference79 = ref span56[7]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 1001029u, new Vector3(9.170593f, 20.999403f, -15.213318f), 129) - { - TargetTerritoryId = (ushort)198, - AetheryteShortcut = EAetheryteLocation.Limsa - }; - obj70.Steps = list99; - reference79 = obj70; - ref QuestSequence reference80 = ref span56[8]; - QuestSequence obj71 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - Span span60 = CollectionsMarshal.AsSpan(list100); - span60[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(25.714342f, 50.98988f, -779.1884f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span60[1] = new QuestStep(EInteractionType.CompleteQuest, 1016809u, new Vector3(29.861816f, 50.99997f, -818.2651f), 156) - { - NextQuestId = new QuestId(1476) - }; - obj71.Steps = list100; - reference80 = obj71; - questRoot9.QuestSequence = list88; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(1476); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list101 = new List(num); - CollectionsMarshal.SetCount(list101, num); - CollectionsMarshal.AsSpan(list101)[0] = "liza"; - questRoot10.Author = list101; - num = 6; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - Span span61 = CollectionsMarshal.AsSpan(list102); - ref QuestSequence reference81 = ref span61[0]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016809u, new Vector3(29.861816f, 50.99997f, -818.2651f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj72.Steps = list103; - reference81 = obj72; - ref QuestSequence reference82 = ref span61[1]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - Span span62 = CollectionsMarshal.AsSpan(list104); - span62[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-119.1183f, 3.7999938f, -104.33473f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - span62[1] = new QuestStep(EInteractionType.Interact, 1004576u, new Vector3(-141.64954f, 4.1f, -114.67157f), 130); - obj73.Steps = list104; - reference82 = obj73; - ref QuestSequence reference83 = ref span61[2]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 1012345u, new Vector3(460.16626f, 162.5073f, -527.0314f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj74.Steps = list105; - reference83 = obj74; - ref QuestSequence reference84 = ref span61[3]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - Span span63 = CollectionsMarshal.AsSpan(list106); - span63[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(454.75964f, 164.27075f, -535.00354f), 397) - { - Mount = true - }; - span63[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(454.9128f, 164.30827f, -542.1735f), 397) - { - DisableNavmesh = true - }; - span63[2] = new QuestStep(EInteractionType.Interact, 1017119u, new Vector3(450.7362f, 157.40831f, -545.0675f), 397); - obj75.Steps = list106; - reference84 = obj75; - ref QuestSequence reference85 = ref span61[4]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - Span span64 = CollectionsMarshal.AsSpan(list107); - span64[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(454.9128f, 164.30827f, -542.1735f), 397) - { - Mount = true - }; - span64[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(454.75964f, 164.27075f, -535.00354f), 397) - { - DisableNavmesh = true - }; - span64[2] = new QuestStep(EInteractionType.Interact, 1011907u, new Vector3(-288.8686f, 127.06639f, 13.199036f), 397) - { - Fly = true - }; - obj76.Steps = list107; - reference85 = obj76; - ref QuestSequence reference86 = ref span61[5]; - QuestSequence obj77 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011916u, new Vector3(470.02356f, -49.89133f, 20.370789f), 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather, - NextQuestId = new QuestId(1477) - }; - obj77.Steps = list108; - reference86 = obj77; - questRoot10.QuestSequence = list102; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(1477); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - CollectionsMarshal.AsSpan(list109)[0] = "liza"; - questRoot11.Author = list109; - num = 7; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - Span span65 = CollectionsMarshal.AsSpan(list110); - ref QuestSequence reference87 = ref span65[0]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011916u, new Vector3(470.02356f, -49.89133f, 20.370789f), 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj78.Steps = list111; - reference87 = obj78; - ref QuestSequence reference88 = ref span65[1]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span66 = CollectionsMarshal.AsSpan(list112); - span66[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(470.88556f, -51.141403f, 36.143986f), 398) - { - Mount = true - }; - span66[1] = new QuestStep(EInteractionType.Interact, 1011928u, new Vector3(73.19751f, -49.19563f, -139.05548f), 398) - { - Fly = true - }; - obj79.Steps = list112; - reference88 = obj79; - ref QuestSequence reference89 = ref span65[2]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.Interact, 1011935u, new Vector3(-285.63367f, 39.04305f, 53.72693f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - obj80.Steps = list113; - reference89 = obj80; - ref QuestSequence reference90 = ref span65[3]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - Span span67 = CollectionsMarshal.AsSpan(list114); - span67[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(379.64865f, -69.42944f, 695.1956f), 400) - { - Fly = true - }; - span67[1] = new QuestStep(EInteractionType.Interact, 1012077u, new Vector3(381.70435f, -66.84979f, 700.86194f), 400) - { - StopDistance = 8f, - IgnoreDistanceToObject = true - }; - obj81.Steps = list114; - reference90 = obj81; - ref QuestSequence reference91 = ref span65[4]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.Interact, 2007019u, new Vector3(-261.03613f, 30.350098f, 559.0447f), 400) - { - Fly = true - }; - obj82.Steps = list115; - reference91 = obj82; - ref QuestSequence reference92 = ref span65[5]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.Interact, 2007020u, new Vector3(-6.2714844f, 30.014404f, 23.453125f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - obj83.Steps = list116; - reference92 = obj83; - ref QuestSequence reference93 = ref span65[6]; - QuestSequence obj84 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017123u, new Vector3(12.924377f, 33.999996f, -39.32251f), 131) - { - NextQuestId = new QuestId(1478) - }; - obj84.Steps = list117; - reference93 = obj84; - questRoot11.QuestSequence = list110; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(1478); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - CollectionsMarshal.AsSpan(list118)[0] = "liza"; - questRoot12.Author = list118; - num = 8; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - Span span68 = CollectionsMarshal.AsSpan(list119); - ref QuestSequence reference94 = ref span68[0]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017123u, new Vector3(12.924377f, 33.999996f, -39.32251f), 131); - obj85.Steps = list120; - reference94 = obj85; - ref QuestSequence reference95 = ref span68[1]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.Interact, 1017118u, new Vector3(34.37854f, 20.495003f, -652.1554f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj86.Steps = list121; - reference95 = obj86; - ref QuestSequence reference96 = ref span68[2]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.Interact, 2007061u, new Vector3(-158.22083f, 17.04425f, -55.13086f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - obj87.Steps = list122; - reference96 = obj87; - ref QuestSequence reference97 = ref span68[3]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.Interact, 2007062u, new Vector3(570.1532f, -1.2055054f, -369.95502f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome - }; - obj88.Steps = list123; - reference97 = obj88; - ref QuestSequence reference98 = ref span68[4]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.Interact, 1012251u, new Vector3(12.313965f, -12.020877f, 40.268433f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardBrume - } - }; - obj89.Steps = list124; - reference98 = obj89; - ref QuestSequence reference99 = ref span68[5]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.Interact, 1012065u, new Vector3(-594.62885f, -51.05185f, -389.79175f), 401) - { - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - obj90.Steps = list125; - reference99 = obj90; - ref QuestSequence reference100 = ref span68[6]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.Interact, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - obj91.Steps = list126; - reference100 = obj91; - ref QuestSequence reference101 = ref span68[7]; - QuestSequence obj92 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012097u, new Vector3(73.3501f, 205.88956f, 23.483582f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - NextQuestId = new QuestId(1479) - }; - obj92.Steps = list127; - reference101 = obj92; - questRoot12.QuestSequence = list119; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(1479); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - CollectionsMarshal.AsSpan(list128)[0] = "liza"; - questRoot13.Author = list128; - num = 7; - List list129 = new List(num); - CollectionsMarshal.SetCount(list129, num); - Span span69 = CollectionsMarshal.AsSpan(list129); - ref QuestSequence reference102 = ref span69[0]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012097u, new Vector3(73.3501f, 205.88956f, 23.483582f), 478); - obj93.Steps = list130; - reference102 = obj93; - ref QuestSequence reference103 = ref span69[1]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - Span span70 = CollectionsMarshal.AsSpan(list131); - span70[0] = new QuestStep(EInteractionType.Interact, 2005336u, new Vector3(-488.79227f, 138.93335f, 741.0543f), 399) - { - TargetTerritoryId = (ushort)463, - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshirePrologueGate - } - }; - span70[1] = new QuestStep(EInteractionType.Interact, 1012138u, new Vector3(19.272095f, 38.43f, 15.854065f), 463); - obj94.Steps = list131; - reference103 = obj94; - ref QuestSequence reference104 = ref span69[2]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.Interact, 2007063u, new Vector3(-867.3381f, -184.31378f, -661.0056f), 402) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzysLlaHelix - }; - obj95.Steps = list132; - reference104 = obj95; - ref QuestSequence reference105 = ref span69[3]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.Interact, 2007068u, new Vector3(-916.7773f, -184.31378f, -678.645f), 402); - obj96.Steps = list133; - reference105 = obj96; - ref QuestSequence reference106 = ref span69[4]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.Interact, 2007064u, new Vector3(-696.0708f, -37.094727f, 432.33386f), 402) - { - Fly = true - }; - obj97.Steps = list134; - reference106 = obj97; - ref QuestSequence reference107 = ref span69[5]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.Interact, 2007065u, new Vector3(-64.2558f, 271.229f, -4.2268066f), 402) - { - Fly = true - }; - obj98.Steps = list135; - reference107 = obj98; - ref QuestSequence reference108 = ref span69[6]; - QuestSequence obj99 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - Span span71 = CollectionsMarshal.AsSpan(list136); - span71[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(174.36705f, 393.17496f, -569.3414f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span71[1] = new QuestStep(EInteractionType.CompleteQuest, 2007066u, new Vector3(50.339478f, 374.47156f, -676.5088f), 155) - { - Fly = true - }; - obj99.Steps = list136; - reference108 = obj99; - questRoot13.QuestSequence = list129; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(1480); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list137 = new List(num); - CollectionsMarshal.SetCount(list137, num); - CollectionsMarshal.AsSpan(list137)[0] = "liza"; - questRoot14.Author = list137; - num = 3; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - Span span72 = CollectionsMarshal.AsSpan(list138); - ref QuestSequence reference109 = ref span72[0]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017654u, new Vector3(79.72839f, 214.09999f, -94.98743f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj100.Steps = list139; - reference109 = obj100; - ref QuestSequence reference110 = ref span72[1]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.Duty, null, null, 478) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 220u - } - }; - obj101.Steps = list140; - reference110 = obj101; - ref QuestSequence reference111 = ref span72[2]; - QuestSequence obj102 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017654u, new Vector3(79.72839f, 214.09999f, -94.98743f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj102.Steps = list141; - reference111 = obj102; - questRoot14.QuestSequence = list138; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(1481); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list142 = new List(num); - CollectionsMarshal.SetCount(list142, num); - CollectionsMarshal.AsSpan(list142)[0] = "liza"; - questRoot15.Author = list142; - num = 2; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - Span span73 = CollectionsMarshal.AsSpan(list143); - ref QuestSequence reference112 = ref span73[0]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006550u, new Vector3(449.33228f, -12.436822f, -387.5639f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj103.Steps = list144; - reference112 = obj103; - ref QuestSequence reference113 = ref span73[1]; - QuestSequence obj104 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - ref QuestStep reference114 = ref CollectionsMarshal.AsSpan(list145)[0]; - QuestStep obj105 = new QuestStep(EInteractionType.CompleteQuest, 1003596u, new Vector3(-41.428284f, 20f, -5.661133f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa - }; - num3 = 1; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - CollectionsMarshal.AsSpan(list146)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_SUBPST000_01481_Q1_000_000"), - PromptIsRegularExpression = true - }; - obj105.DialogueChoices = list146; - obj105.NextQuestId = new QuestId(1483); - reference114 = obj105; - obj104.Steps = list145; - reference113 = obj104; - questRoot15.QuestSequence = list143; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(1482); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list147 = new List(num); - CollectionsMarshal.SetCount(list147, num); - CollectionsMarshal.AsSpan(list147)[0] = "liza"; - questRoot16.Author = list147; - num = 6; - List list148 = new List(num); - CollectionsMarshal.SetCount(list148, num); - Span span74 = CollectionsMarshal.AsSpan(list148); - ref QuestSequence reference115 = ref span74[0]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj106.Steps = list149; - reference115 = obj106; - ref QuestSequence reference116 = ref span74[1]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.Interact, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAirship - } - }; - obj107.Steps = list150; - reference116 = obj107; - ref QuestSequence reference117 = ref span74[2]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - Span span75 = CollectionsMarshal.AsSpan(list151); - ref QuestStep reference118 = ref span75[0]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 2004266u, new Vector3(103.715576f, 1.2664795f, 46.92151f), 132); - num3 = 6; - List list152 = new List(num3); - CollectionsMarshal.SetCount(list152, num3); - Span span76 = CollectionsMarshal.AsSpan(list152); - span76[0] = null; - span76[1] = null; - span76[2] = null; - span76[3] = null; - span76[4] = null; - span76[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list152; - reference118 = questStep11; - ref QuestStep reference119 = ref span75[1]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 2004267u, new Vector3(-67.216064f, -3.4332886f, 35.26355f), 132); - num3 = 6; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - Span span77 = CollectionsMarshal.AsSpan(list153); - span77[0] = null; - span77[1] = null; - span77[2] = null; - span77[3] = null; - span77[4] = null; - span77[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list153; - reference119 = questStep12; - ref QuestStep reference120 = ref span75[2]; - QuestStep obj109 = new QuestStep(EInteractionType.Interact, 2004269u, new Vector3(-141.2528f, 7.827881f, -190.53949f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - num3 = 6; - List list154 = new List(num3); - CollectionsMarshal.SetCount(list154, num3); - Span span78 = CollectionsMarshal.AsSpan(list154); - span78[0] = null; - span78[1] = null; - span78[2] = null; - span78[3] = null; - span78[4] = null; - span78[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj109.CompletionQuestVariablesFlags = list154; - reference120 = obj109; - ref QuestStep reference121 = ref span75[3]; - QuestStep obj110 = new QuestStep(EInteractionType.Interact, 2004268u, new Vector3(123.91846f, 14.145081f, -275.83734f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaAmphitheatre, - To = EAetheryteLocation.GridaniaLancer - } - }; - num3 = 6; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - Span span79 = CollectionsMarshal.AsSpan(list155); - span79[0] = null; - span79[1] = null; - span79[2] = null; - span79[3] = null; - span79[4] = null; - span79[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj110.CompletionQuestVariablesFlags = list155; - reference121 = obj110; - obj108.Steps = list151; - reference117 = obj108; - ref QuestSequence reference122 = ref span74[3]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.Interact, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLancer, - To = EAetheryteLocation.GridaniaAirship - } - }; - obj111.Steps = list156; - reference122 = obj111; - ref QuestSequence reference123 = ref span74[4]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.Interact, 2004270u, new Vector3(7.1869507f, 4.7455444f, -262.98932f), 148) - { - StopDistance = 1f, - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaBlueBadgerGate - } - }; - obj112.Steps = list157; - reference123 = obj112; - ref QuestSequence reference124 = ref span74[5]; - QuestSequence obj113 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAirship - }, - NextQuestId = new QuestId(1484) - }; - obj113.Steps = list158; - reference124 = obj113; - questRoot16.QuestSequence = list148; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(1483); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list159 = new List(num); - CollectionsMarshal.SetCount(list159, num); - CollectionsMarshal.AsSpan(list159)[0] = "liza"; - questRoot17.Author = list159; - num = 11; - List list160 = new List(num); - CollectionsMarshal.SetCount(list160, num); - Span span80 = CollectionsMarshal.AsSpan(list160); - ref QuestSequence reference125 = ref span80[0]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj114.Steps = list161; - reference125 = obj114; - ref QuestSequence reference126 = ref span80[1]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - Span span81 = CollectionsMarshal.AsSpan(list162); - ref QuestStep reference127 = ref span81[0]; - QuestStep obj116 = new QuestStep(EInteractionType.Interact, 1003611u, new Vector3(9.781006f, 20.999247f, 15.0911255f), 129) - { - TargetTerritoryId = (ushort)128 - }; - num3 = 1; - List list163 = new List(num3); - CollectionsMarshal.SetCount(list163, num3); - CollectionsMarshal.AsSpan(list163)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Warp", - Answer = new ExcelRef(131093u) - }; - obj116.DialogueChoices = list163; - reference127 = obj116; - ref QuestStep reference128 = ref span81[1]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1000972u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 128); - num3 = 1; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - CollectionsMarshal.AsSpan(list164)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_SUBPST002_01483_Q1_000_000") - }; - questStep13.DialogueChoices = list164; - reference128 = questStep13; - obj115.Steps = list162; - reference126 = obj115; - ref QuestSequence reference129 = ref span80[2]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.Interact, 1003601u, new Vector3(-3.2807007f, 39.51757f, -9.414856f), 128); - obj117.Steps = list165; - reference129 = obj117; - ref QuestSequence reference130 = ref span80[3]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.Interact, 1009183u, new Vector3(-63.21814f, 43.589653f, 48.447266f), 134) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.LimsaZephyrGate - } - }; - obj118.Steps = list166; - reference130 = obj118; - ref QuestSequence reference131 = ref span80[4]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.UseItem, 1009183u, new Vector3(-63.21814f, 43.589653f, 48.447266f), 134) - { - ItemId = 2001324u - }; - obj119.Steps = list167; - reference131 = obj119; - ref QuestSequence reference132 = ref span80[5]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.Interact, 1009666u, new Vector3(-22.171448f, 42.442753f, 128.67932f), 134) - { - Fly = true - }; - obj120.Steps = list168; - reference132 = obj120; - ref QuestSequence reference133 = ref span80[6]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.Interact, 1002626u, new Vector3(207.2633f, 112.86037f, -222.43079f), 134) - { - AetheryteShortcut = EAetheryteLocation.MiddleLaNosceaSummerfordFarms - }; - obj121.Steps = list169; - reference133 = obj121; - ref QuestSequence reference134 = ref span80[7]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.Interact, 2004272u, new Vector3(224.2008f, 114.3053f, -223.40735f), 134); - obj122.Steps = list170; - reference134 = obj122; - ref QuestSequence reference135 = ref span80[8]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.Interact, 1009184u, new Vector3(-22.171448f, 42.442753f, 128.67932f), 134) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaZephyrGate - } - }; - obj123.Steps = list171; - reference135 = obj123; - ref QuestSequence reference136 = ref span80[9]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.Interact, 1000972u, new Vector3(20.279175f, 40.19993f, -6.1189575f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj124.Steps = list172; - reference136 = obj124; - ref QuestSequence reference137 = ref span80[10]; - QuestSequence obj125 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - Span span82 = CollectionsMarshal.AsSpan(list173); - span82[0] = new QuestStep(EInteractionType.Interact, 1003597u, new Vector3(8.194031f, 39.999973f, 17.746216f), 128) - { - TargetTerritoryId = (ushort)129 - }; - span82[1] = new QuestStep(EInteractionType.CompleteQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - NextQuestId = new QuestId(1482) - }; - obj125.Steps = list173; - reference137 = obj125; - questRoot17.QuestSequence = list160; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(1484); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list174 = new List(num); - CollectionsMarshal.SetCount(list174, num); - CollectionsMarshal.AsSpan(list174)[0] = "liza"; - questRoot18.Author = list174; - num = 5; - List list175 = new List(num); - CollectionsMarshal.SetCount(list175, num); - Span span83 = CollectionsMarshal.AsSpan(list175); - ref QuestSequence reference138 = ref span83[0]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - CollectionsMarshal.AsSpan(list176)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj126.Steps = list176; - reference138 = obj126; - ref QuestSequence reference139 = ref span83[1]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.Interact, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj127.Steps = list177; - reference139 = obj127; - ref QuestSequence reference140 = ref span83[2]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.Interact, 1006357u, new Vector3(-28.854858f, 13.799997f, 118.66931f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahGoldsmith - } - }; - obj128.Steps = list178; - reference140 = obj128; - ref QuestSequence reference141 = ref span83[3]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - Span span84 = CollectionsMarshal.AsSpan(list179); - span84[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-282.37943f, 13.480675f, -155.46162f), 140) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon - }; - span84[1] = new QuestStep(EInteractionType.Interact, 1009186u, new Vector3(-281.94098f, 13.480675f, -156.4508f), 140); - obj129.Steps = list179; - reference141 = obj129; - ref QuestSequence reference142 = ref span83[4]; - QuestSequence obj130 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - }, - NextQuestId = new QuestId(1531) - }; - obj130.Steps = list180; - reference142 = obj130; - questRoot18.QuestSequence = list175; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(1485); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list181 = new List(num); - CollectionsMarshal.SetCount(list181, num); - CollectionsMarshal.AsSpan(list181)[0] = "liza"; - questRoot19.Author = list181; - num = 7; - List list182 = new List(num); - CollectionsMarshal.SetCount(list182, num); - Span span85 = CollectionsMarshal.AsSpan(list182); - ref QuestSequence reference143 = ref span85[0]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - CollectionsMarshal.AsSpan(list183)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj131.Steps = list183; - reference143 = obj131; - ref QuestSequence reference144 = ref span85[1]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - Span span86 = CollectionsMarshal.AsSpan(list184); - span86[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-243.19783f, 58.69102f, -140.41818f), 148) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span86[1] = new QuestStep(EInteractionType.Interact, 1006261u, new Vector3(-244.73944f, 58.69352f, -140.06262f), 148); - obj132.Steps = list184; - reference144 = obj132; - ref QuestSequence reference145 = ref span85[2]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.Interact, 1001455u, new Vector3(59.952637f, 0.99176025f, 255.8479f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGateOfNald - } - }; - obj133.Steps = list185; - reference145 = obj133; - ref QuestSequence reference146 = ref span85[3]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.UseItem, 2004276u, new Vector3(70.2677f, 1.2054443f, 250.53784f), 141) - { - ItemId = 2001329u - }; - obj134.Steps = list186; - reference146 = obj134; - ref QuestSequence reference147 = ref span85[4]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.UseItem, 2004277u, new Vector3(70.2677f, 1.2054443f, 250.53784f), 141) - { - DelaySecondsAtStart = 3f, - ItemId = 2001328u - }; - obj135.Steps = list187; - reference147 = obj135; - ref QuestSequence reference148 = ref span85[5]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - Span span87 = CollectionsMarshal.AsSpan(list188); - span87[0] = new QuestStep(EInteractionType.Combat, 2004277u, new Vector3(70.2677f, 1.2054443f, 250.53784f), 141) - { - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - span87[1] = new QuestStep(EInteractionType.Interact, 1009187u, new Vector3(70.573f, 1.5015054f, 251.39233f), 141); - obj136.Steps = list188; - reference148 = obj136; - ref QuestSequence reference149 = ref span85[6]; - QuestSequence obj137 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - Span span88 = CollectionsMarshal.AsSpan(list189); - span88[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-243.19783f, 58.69102f, -140.41818f), 148) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows - }; - span88[1] = new QuestStep(EInteractionType.CompleteQuest, 1006261u, new Vector3(-244.73944f, 58.69352f, -140.06262f), 148) - { - NextQuestId = new QuestId(1570) - }; - obj137.Steps = list189; - reference149 = obj137; - questRoot19.QuestSequence = list182; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(1486); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list190 = new List(num); - CollectionsMarshal.SetCount(list190, num); - CollectionsMarshal.AsSpan(list190)[0] = "liza"; - questRoot20.Author = list190; - num = 6; - List list191 = new List(num); - CollectionsMarshal.SetCount(list191, num); - Span span89 = CollectionsMarshal.AsSpan(list191); - ref QuestSequence reference150 = ref span89[0]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009294u, new Vector3(-63.767517f, -1.7171676f, 11.673096f), 132); - obj138.Steps = list192; - reference150 = obj138; - ref QuestSequence reference151 = ref span89[1]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.Interact, 1000612u, new Vector3(357.96143f, 8.934158f, 214.46558f), 154) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaYellowSerpentGate - } - }; - obj139.Steps = list193; - reference151 = obj139; - ref QuestSequence reference152 = ref span89[2]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - Span span90 = CollectionsMarshal.AsSpan(list194); - span90[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(264.54797f, -14.2467f, 56.094566f), 154) - { - Fly = true - }; - span90[1] = new QuestStep(EInteractionType.Interact, 2004442u, new Vector3(265.00342f, -13.931519f, 58.457275f), 154); - obj140.Steps = list194; - reference152 = obj140; - ref QuestSequence reference153 = ref span89[3]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.Interact, 1000612u, new Vector3(357.96143f, 8.934158f, 214.46558f), 154) - { - Fly = true - }; - obj141.Steps = list195; - reference153 = obj141; - ref QuestSequence reference154 = ref span89[4]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.Interact, 2004443u, new Vector3(211.9325f, -4.928711f, 27.572998f), 154) - { - Fly = true - }; - obj142.Steps = list196; - reference154 = obj142; - ref QuestSequence reference155 = ref span89[5]; - QuestSequence obj143 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009199u, new Vector3(149.43152f, -18.140299f, 99.22937f), 154) - { - Fly = true, - NextQuestId = new QuestId(1487) - }; - obj143.Steps = list197; - reference155 = obj143; - questRoot20.QuestSequence = list191; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(1487); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list198 = new List(num); - CollectionsMarshal.SetCount(list198, num); - CollectionsMarshal.AsSpan(list198)[0] = "liza"; - questRoot21.Author = list198; - num = 6; - List list199 = new List(num); - CollectionsMarshal.SetCount(list199, num); - Span span91 = CollectionsMarshal.AsSpan(list199); - ref QuestSequence reference156 = ref span91[0]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - ref QuestStep reference157 = ref CollectionsMarshal.AsSpan(list200)[0]; - QuestStep questStep14 = new QuestStep(EInteractionType.AcceptQuest, 1009199u, new Vector3(149.43152f, -18.140299f, 99.22937f), 154); - num3 = 1; - List list201 = new List(num3); - CollectionsMarshal.SetCount(list201, num3); - CollectionsMarshal.AsSpan(list201)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANIXA002_01487_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANIXA002_01487_A1_000_001") - }; - questStep14.DialogueChoices = list201; - reference157 = questStep14; - obj144.Steps = list200; - reference156 = obj144; - ref QuestSequence reference158 = ref span91[1]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.Interact, 1009594u, new Vector3(-22.568176f, -48.098206f, 289.66187f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj145.Steps = list202; - reference158 = obj145; - ref QuestSequence reference159 = ref span91[2]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - Span span92 = CollectionsMarshal.AsSpan(list203); - span92[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-4.085219f, -40.94998f, 179.05669f), 154) - { - Fly = true - }; - span92[1] = new QuestStep(EInteractionType.Interact, 1009218u, new Vector3(-4.1047363f, -40.949986f, 176.83679f), 154); - obj146.Steps = list203; - reference159 = obj146; - ref QuestSequence reference160 = ref span91[3]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - ref QuestStep reference161 = ref CollectionsMarshal.AsSpan(list204)[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1009595u, new Vector3(-2.8534546f, -40.94998f, 178.72888f), 154); - num3 = 1; - List list205 = new List(num3); - CollectionsMarshal.SetCount(list205, num3); - CollectionsMarshal.AsSpan(list205)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANIXA002_01487_Q2_000_000"), - Answer = new ExcelRef("TEXT_BANIXA002_01487_A2_000_001") - }; - questStep15.DialogueChoices = list205; - reference161 = questStep15; - obj147.Steps = list204; - reference160 = obj147; - ref QuestSequence reference162 = ref span91[4]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.Interact, 1009199u, new Vector3(149.43152f, -18.140299f, 99.22937f), 154) - { - Fly = true - }; - obj148.Steps = list206; - reference162 = obj148; - ref QuestSequence reference163 = ref span91[5]; - QuestSequence obj149 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - ref QuestStep reference164 = ref CollectionsMarshal.AsSpan(list207)[0]; - QuestStep questStep16 = new QuestStep(EInteractionType.CompleteQuest, 1009199u, new Vector3(149.43152f, -18.140299f, 99.22937f), 154); - num3 = 1; - List list208 = new List(num3); - CollectionsMarshal.SetCount(list208, num3); - CollectionsMarshal.AsSpan(list208)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANIXA002_01487_Q3_000_000"), - Answer = new ExcelRef("TEXT_BANIXA002_01487_A3_000_001") - }; - questStep16.DialogueChoices = list208; - reference164 = questStep16; - obj149.Steps = list207; - reference163 = obj149; - questRoot21.QuestSequence = list199; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(1488); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list209 = new List(num); - CollectionsMarshal.SetCount(list209, num); - CollectionsMarshal.AsSpan(list209)[0] = "Censored"; - questRoot22.Author = list209; - num = 5; - List list210 = new List(num); - CollectionsMarshal.SetCount(list210, num); - Span span93 = CollectionsMarshal.AsSpan(list210); - ref QuestSequence reference165 = ref span93[0]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - CollectionsMarshal.AsSpan(list211)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009199u, new Vector3(149.43152f, -18.140299f, 99.22937f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(149.43152f, -18.140299f, 99.22937f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj150.Steps = list211; - reference165 = obj150; - ref QuestSequence reference166 = ref span93[1]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - CollectionsMarshal.AsSpan(list212)[0] = new QuestStep(EInteractionType.Interact, 1009600u, new Vector3(121.08032f, -31.678165f, 301.07568f), 154) - { - Fly = true - }; - obj151.Steps = list212; - reference166 = obj151; - ref QuestSequence reference167 = ref span93[2]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - CollectionsMarshal.AsSpan(list213)[0] = new QuestStep(EInteractionType.Interact, 1009600u, new Vector3(121.08032f, -31.678165f, 301.07568f), 154); - obj152.Steps = list213; - reference167 = obj152; - ref QuestSequence reference168 = ref span93[3]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.Interact, 1009217u, new Vector3(363.72925f, -5.616498f, 347.219f), 154) - { - Fly = true - }; - obj153.Steps = list214; - reference168 = obj153; - ref QuestSequence reference169 = ref span93[4]; - QuestSequence obj154 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - Span span94 = CollectionsMarshal.AsSpan(list215); - span94[0] = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8130u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span94[1] = new QuestStep(EInteractionType.CompleteQuest, 1009199u, new Vector3(149.43152f, -18.140299f, 99.22937f), 154) - { - Fly = true - }; - obj154.Steps = list215; - reference169 = obj154; - questRoot22.QuestSequence = list210; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(1489); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list216 = new List(num); - CollectionsMarshal.SetCount(list216, num); - CollectionsMarshal.AsSpan(list216)[0] = "Censored"; - questRoot23.Author = list216; - num = 6; - List list217 = new List(num); - CollectionsMarshal.SetCount(list217, num); - Span span95 = CollectionsMarshal.AsSpan(list217); - ref QuestSequence reference170 = ref span95[0]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - CollectionsMarshal.AsSpan(list218)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009204u, new Vector3(151.93408f, -18.41936f, 100.72473f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(151.93408f, -18.41936f, 100.72473f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj155.Steps = list218; - reference170 = obj155; - ref QuestSequence reference171 = ref span95[1]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - CollectionsMarshal.AsSpan(list219)[0] = new QuestStep(EInteractionType.Interact, 1000107u, new Vector3(27.145752f, -19.000002f, 106.67578f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj156.Steps = list219; - reference171 = obj156; - ref QuestSequence reference172 = ref span95[2]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.Interact, 1000195u, new Vector3(197.4364f, 0.0026046988f, 57.114502f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - } - }; - obj157.Steps = list220; - reference172 = obj157; - ref QuestSequence reference173 = ref span95[3]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - ref QuestStep reference174 = ref CollectionsMarshal.AsSpan(list221)[0]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1009607u, new Vector3(191.05823f, -3.1634123E-15f, 46.341675f), 132); - num3 = 1; - List list222 = new List(num3); - CollectionsMarshal.SetCount(list222, num3); - CollectionsMarshal.AsSpan(list222)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANIXA004_01489_Q1_000_001"), - Answer = new ExcelRef("TEXT_BANIXA004_01489_A1_000_001") - }; - questStep17.DialogueChoices = list222; - reference174 = questStep17; - obj158.Steps = list221; - reference173 = obj158; - ref QuestSequence reference175 = ref span95[4]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - CollectionsMarshal.AsSpan(list223)[0] = new QuestStep(EInteractionType.Interact, 1009218u, new Vector3(-4.1047363f, -40.949986f, 176.83679f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj159.Steps = list223; - reference175 = obj159; - ref QuestSequence reference176 = ref span95[5]; - QuestSequence obj160 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - Span span96 = CollectionsMarshal.AsSpan(list224); - ref QuestStep reference177 = ref span96[0]; - QuestStep obj161 = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8131u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - num3 = 1; - List list225 = new List(num3); - CollectionsMarshal.SetCount(list225, num3); - CollectionsMarshal.AsSpan(list225)[0] = EExtendedClassJob.DoH; - obj161.RequiredCurrentJob = list225; - reference177 = obj161; - span96[1] = new QuestStep(EInteractionType.CompleteQuest, 1009204u, new Vector3(151.93408f, -18.41936f, 100.72473f), 154) - { - Fly = true - }; - obj160.Steps = list224; - reference176 = obj160; - questRoot23.QuestSequence = list217; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(1490); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list226 = new List(num); - CollectionsMarshal.SetCount(list226, num); - CollectionsMarshal.AsSpan(list226)[0] = "Censored"; - questRoot24.Author = list226; - num = 6; - List list227 = new List(num); - CollectionsMarshal.SetCount(list227, num); - Span span97 = CollectionsMarshal.AsSpan(list227); - ref QuestSequence reference178 = ref span97[0]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009199u, new Vector3(149.43152f, -18.140299f, 99.22937f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(149.43152f, -18.140299f, 99.22937f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj162.Steps = list228; - reference178 = obj162; - ref QuestSequence reference179 = ref span97[1]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.Interact, 1009204u, new Vector3(151.93408f, -18.41936f, 100.72473f), 154); - obj163.Steps = list229; - reference179 = obj163; - ref QuestSequence reference180 = ref span97[2]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.Interact, 1009610u, new Vector3(25.986084f, -8.047037f, 135.42383f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj164.Steps = list230; - reference180 = obj164; - ref QuestSequence reference181 = ref span97[3]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.Interact, 1002804u, new Vector3(-26.260803f, -40.705082f, 172.74731f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj165.Steps = list231; - reference181 = obj165; - ref QuestSequence reference182 = ref span97[4]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.Interact, 2004543u, new Vector3(-35.996094f, -40.57379f, 160.63171f), 154); - obj166.Steps = list232; - reference182 = obj166; - ref QuestSequence reference183 = ref span97[5]; - QuestSequence obj167 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - Span span98 = CollectionsMarshal.AsSpan(list233); - span98[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-31.151138f, -40.708473f, 195.69182f), 154); - span98[1] = new QuestStep(EInteractionType.CompleteQuest, 1009199u, new Vector3(149.43152f, -18.140299f, 99.22937f), 154) - { - Fly = true - }; - obj167.Steps = list233; - reference183 = obj167; - questRoot24.QuestSequence = list227; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(1491); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list234 = new List(num); - CollectionsMarshal.SetCount(list234, num); - CollectionsMarshal.AsSpan(list234)[0] = "Censored"; - questRoot25.Author = list234; - num = 6; - List list235 = new List(num); - CollectionsMarshal.SetCount(list235, num); - Span span99 = CollectionsMarshal.AsSpan(list235); - ref QuestSequence reference184 = ref span99[0]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009204u, new Vector3(151.93408f, -18.41936f, 100.72473f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(151.93408f, -18.41936f, 100.72473f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj168.Steps = list236; - reference184 = obj168; - ref QuestSequence reference185 = ref span99[1]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - CollectionsMarshal.AsSpan(list237)[0] = new QuestStep(EInteractionType.Interact, 1003075u, new Vector3(440.7262f, -0.9374562f, -62.21112f), 154) - { - Fly = true - }; - obj169.Steps = list237; - reference185 = obj169; - ref QuestSequence reference186 = ref span99[2]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.Interact, 1008945u, new Vector3(445.45654f, -0.9374095f, -67.36859f), 154); - obj170.Steps = list238; - reference186 = obj170; - ref QuestSequence reference187 = ref span99[3]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - Span span100 = CollectionsMarshal.AsSpan(list239); - span100[0] = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8132u, - ItemCount = 4, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span100[1] = new QuestStep(EInteractionType.Interact, 1003075u, new Vector3(440.7262f, -0.9374562f, -62.21112f), 154); - obj171.Steps = list239; - reference187 = obj171; - ref QuestSequence reference188 = ref span99[4]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.Interact, 1009204u, new Vector3(151.93408f, -18.41936f, 100.72473f), 154) - { - Fly = true - }; - obj172.Steps = list240; - reference188 = obj172; - ref QuestSequence reference189 = ref span99[5]; - QuestSequence obj173 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009199u, new Vector3(149.43152f, -18.140299f, 99.22937f), 154); - obj173.Steps = list241; - reference189 = obj173; - questRoot25.QuestSequence = list235; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(1492); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list242 = new List(num); - CollectionsMarshal.SetCount(list242, num); - CollectionsMarshal.AsSpan(list242)[0] = "Censored"; - questRoot26.Author = list242; - num = 9; - List list243 = new List(num); - CollectionsMarshal.SetCount(list243, num); - Span span101 = CollectionsMarshal.AsSpan(list243); - ref QuestSequence reference190 = ref span101[0]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009199u, new Vector3(149.43152f, -18.140299f, 99.22937f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(149.43152f, -18.140299f, 99.22937f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj174.Steps = list244; - reference190 = obj174; - ref QuestSequence reference191 = ref span101[1]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.Interact, 1009615u, new Vector3(26.443848f, -19.000004f, 111.528076f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAirship - } - }; - obj175.Steps = list245; - reference191 = obj175; - ref QuestSequence reference192 = ref span101[2]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - Span span102 = CollectionsMarshal.AsSpan(list246); - span102[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(175.1545f, 222.61827f, 354.20248f), 155) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span102[1] = new QuestStep(EInteractionType.Interact, 1009616u, new Vector3(168.81055f, 223.03535f, 363.08838f), 155); - obj176.Steps = list246; - reference192 = obj176; - ref QuestSequence reference193 = ref span101[3]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.Interact, 1009617u, new Vector3(181.41443f, 229.05f, 327.77905f), 155); - obj177.Steps = list247; - reference193 = obj177; - ref QuestSequence reference194 = ref span101[4]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.Interact, 1009219u, new Vector3(251.11768f, 222f, 366.2317f), 155); - obj178.Steps = list248; - reference194 = obj178; - ref QuestSequence reference195 = ref span101[5]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.UseItem, 2004447u, new Vector3(172.93042f, 229.72449f, 331.8379f), 155) - { - ItemId = 2001370u - }; - obj179.Steps = list249; - reference195 = obj179; - ref QuestSequence reference196 = ref span101[6]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - CollectionsMarshal.AsSpan(list250)[0] = new QuestStep(EInteractionType.Interact, 1009617u, new Vector3(181.41443f, 229.05f, 327.77905f), 155); - obj180.Steps = list250; - reference196 = obj180; - ref QuestSequence reference197 = ref span101[7]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.Interact, 1009618u, new Vector3(161.39453f, 222.02899f, 340.81018f), 155); - obj181.Steps = list251; - reference197 = obj181; - ref QuestSequence reference198 = ref span101[8]; - QuestSequence obj182 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - CollectionsMarshal.AsSpan(list252)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009199u, new Vector3(149.43152f, -18.140299f, 99.22937f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj182.Steps = list252; - reference198 = obj182; - questRoot26.QuestSequence = list243; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(1493); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list253 = new List(num); - CollectionsMarshal.SetCount(list253, num); - CollectionsMarshal.AsSpan(list253)[0] = "Censored"; - questRoot27.Author = list253; - num = 16; - List list254 = new List(num); - CollectionsMarshal.SetCount(list254, num); - Span span103 = CollectionsMarshal.AsSpan(list254); - ref QuestSequence reference199 = ref span103[0]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - CollectionsMarshal.AsSpan(list255)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009199u, new Vector3(149.43152f, -18.140299f, 99.22937f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(149.43152f, -18.140299f, 99.22937f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj183.Steps = list255; - reference199 = obj183; - ref QuestSequence reference200 = ref span103[1]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.Interact, 1009218u, new Vector3(-4.1047363f, -40.949986f, 176.83679f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj184.Steps = list256; - reference200 = obj184; - ref QuestSequence reference201 = ref span103[2]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - Span span104 = CollectionsMarshal.AsSpan(list257); - span104[0] = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8133u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span104[1] = new QuestStep(EInteractionType.Interact, 1009199u, new Vector3(149.43152f, -18.140299f, 99.22937f), 154) - { - Fly = true - }; - obj185.Steps = list257; - reference201 = obj185; - ref QuestSequence reference202 = ref span103[3]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - CollectionsMarshal.AsSpan(list258)[0] = new QuestStep(EInteractionType.Interact, 1009629u, new Vector3(586.694f, 302.0293f, -169.45148f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj186.Steps = list258; - reference202 = obj186; - ref QuestSequence reference203 = ref span103[4]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - CollectionsMarshal.AsSpan(list259)[0] = new QuestStep(EInteractionType.UseItem, 2004448u, new Vector3(588.9829f, 302.08276f, -165.75879f), 155) - { - ItemId = 2001439u - }; - obj187.Steps = list259; - reference203 = obj187; - ref QuestSequence reference204 = ref span103[5]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.Interact, 1009629u, new Vector3(586.694f, 302.0293f, -169.45148f), 155); - obj188.Steps = list260; - reference204 = obj188; - ref QuestSequence reference205 = ref span103[6]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - Span span105 = CollectionsMarshal.AsSpan(list261); - ref QuestStep reference206 = ref span105[0]; - QuestStep obj190 = new QuestStep(EInteractionType.UseItem, 2004449u, new Vector3(708.7357f, 287.52563f, 109.97168f), 155) - { - Fly = true, - ItemId = 2001439u - }; - num3 = 6; - List list262 = new List(num3); - CollectionsMarshal.SetCount(list262, num3); - Span span106 = CollectionsMarshal.AsSpan(list262); - span106[0] = null; - span106[1] = null; - span106[2] = null; - span106[3] = null; - span106[4] = null; - span106[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj190.CompletionQuestVariablesFlags = list262; - reference206 = obj190; - span105[1] = new QuestStep(EInteractionType.UseItem, 2004450u, new Vector3(589.9595f, 286.51855f, 183.00134f), 155) - { - Fly = true, - ItemId = 2001439u - }; - obj189.Steps = list261; - reference205 = obj189; - ref QuestSequence reference207 = ref span103[7]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - CollectionsMarshal.AsSpan(list263)[0] = new QuestStep(EInteractionType.UseItem, 2004451u, new Vector3(574.15125f, 302.7848f, 33.6156f), 155) - { - Fly = true, - ItemId = 2001439u - }; - obj191.Steps = list263; - reference207 = obj191; - ref QuestSequence reference208 = ref span103[8]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.Interact, 1009629u, new Vector3(586.694f, 302.0293f, -169.45148f), 155) - { - Fly = true - }; - obj192.Steps = list264; - reference208 = obj192; - ref QuestSequence reference209 = ref span103[9]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 9 - }; - num2 = 2; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - Span span107 = CollectionsMarshal.AsSpan(list265); - span107[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(195.04178f, 307.86307f, 411.6528f), 155) - { - Fly = true, - Land = true - }; - span107[1] = new QuestStep(EInteractionType.Interact, 1009693u, new Vector3(203.50952f, 297.2045f, 425.37573f), 155); - obj193.Steps = list265; - reference209 = obj193; - ref QuestSequence reference210 = ref span103[10]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - CollectionsMarshal.AsSpan(list266)[0] = new QuestStep(EInteractionType.Interact, 1009199u, new Vector3(149.43152f, -18.140299f, 99.22937f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj194.Steps = list266; - reference210 = obj194; - ref QuestSequence reference211 = ref span103[11]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 11 - }; - num2 = 1; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - CollectionsMarshal.AsSpan(list267)[0] = new QuestStep(EInteractionType.Interact, 1009707u, new Vector3(160.35706f, -22.797548f, 116.44153f), 154); - obj195.Steps = list267; - reference211 = obj195; - ref QuestSequence reference212 = ref span103[12]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 12 - }; - num2 = 1; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - CollectionsMarshal.AsSpan(list268)[0] = new QuestStep(EInteractionType.Interact, 1009199u, new Vector3(149.43152f, -18.140299f, 99.22937f), 154); - obj196.Steps = list268; - reference212 = obj196; - ref QuestSequence reference213 = ref span103[13]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 13 - }; - num2 = 2; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - Span span108 = CollectionsMarshal.AsSpan(list269); - span108[0] = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8134u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span108[1] = new QuestStep(EInteractionType.Interact, 1009707u, new Vector3(160.35706f, -22.797548f, 116.44153f), 154); - obj197.Steps = list269; - reference213 = obj197; - ref QuestSequence reference214 = ref span103[14]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 14 - }; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - ref QuestStep reference215 = ref CollectionsMarshal.AsSpan(list270)[0]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1009204u, new Vector3(151.93408f, -18.41936f, 100.72473f), 154); - num3 = 1; - List list271 = new List(num3); - CollectionsMarshal.SetCount(list271, num3); - CollectionsMarshal.AsSpan(list271)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANIXA008_01493_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANIXA008_01493_A1_000_001") - }; - questStep18.DialogueChoices = list271; - reference215 = questStep18; - obj198.Steps = list270; - reference214 = obj198; - ref QuestSequence reference216 = ref span103[15]; - QuestSequence obj199 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - CollectionsMarshal.AsSpan(list272)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009294u, new Vector3(-63.767517f, -1.7171676f, 11.673096f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj199.Steps = list272; - reference216 = obj199; - questRoot27.QuestSequence = list254; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(1494); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list273 = new List(num); - CollectionsMarshal.SetCount(list273, num); - CollectionsMarshal.AsSpan(list273)[0] = "Censored"; - questRoot28.Author = list273; - num = 5; - List list274 = new List(num); - CollectionsMarshal.SetCount(list274, num); - Span span109 = CollectionsMarshal.AsSpan(list274); - ref QuestSequence reference217 = ref span109[0]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009211u, new Vector3(153.8872f, -9.001622f, 77.50049f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(153.8872f, -9.001622f, 77.50049f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj200.Steps = list275; - reference217 = obj200; - ref QuestSequence reference218 = ref span109[1]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - CollectionsMarshal.AsSpan(list276)[0] = new QuestStep(EInteractionType.Interact, 1000656u, new Vector3(400.656f, -5.884923f, -104.90582f), 154) - { - Fly = true, - Land = true - }; - obj201.Steps = list276; - reference218 = obj201; - ref QuestSequence reference219 = ref span109[2]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - Span span110 = CollectionsMarshal.AsSpan(list277); - span110[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 154) - { - TargetClass = EExtendedClassJob.ConfiguredCombatJob - }; - ref QuestStep reference220 = ref span110[1]; - QuestStep obj203 = new QuestStep(EInteractionType.Combat, 2004452u, new Vector3(324.6051f, -14.206177f, 181.13977f), 154) - { - Fly = true, - Land = true, - ItemId = 2001374u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list278 = new List(num3); - CollectionsMarshal.SetCount(list278, num3); - CollectionsMarshal.AsSpan(list278)[0] = 3239u; - obj203.KillEnemyDataIds = list278; - reference220 = obj203; - obj202.Steps = list277; - reference219 = obj202; - ref QuestSequence reference221 = ref span109[3]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - CollectionsMarshal.AsSpan(list279)[0] = new QuestStep(EInteractionType.Interact, 1000656u, new Vector3(400.656f, -5.884923f, -104.90582f), 154) - { - Fly = true - }; - obj204.Steps = list279; - reference221 = obj204; - ref QuestSequence reference222 = ref span109[4]; - QuestSequence obj205 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - Span span111 = CollectionsMarshal.AsSpan(list280); - span111[0] = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8091u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span111[1] = new QuestStep(EInteractionType.CompleteQuest, 1009211u, new Vector3(153.8872f, -9.001622f, 77.50049f), 154) - { - Fly = true - }; - obj205.Steps = list280; - reference222 = obj205; - questRoot28.QuestSequence = list274; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(1495); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list281 = new List(num); - CollectionsMarshal.SetCount(list281, num); - CollectionsMarshal.AsSpan(list281)[0] = "Censored"; - questRoot29.Author = list281; - num = 5; - List list282 = new List(num); - CollectionsMarshal.SetCount(list282, num); - Span span112 = CollectionsMarshal.AsSpan(list282); - ref QuestSequence reference223 = ref span112[0]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009211u, new Vector3(153.8872f, -9.001622f, 77.50049f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(153.8872f, -9.001622f, 77.50049f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj206.Steps = list283; - reference223 = obj206; - ref QuestSequence reference224 = ref span112[1]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - CollectionsMarshal.AsSpan(list284)[0] = new QuestStep(EInteractionType.Interact, 1000656u, new Vector3(400.656f, -5.884923f, -104.90582f), 154) - { - Fly = true, - Land = true - }; - obj207.Steps = list284; - reference224 = obj207; - ref QuestSequence reference225 = ref span112[2]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - CollectionsMarshal.AsSpan(list285)[0] = new QuestStep(EInteractionType.Interact, 1000172u, new Vector3(358.96838f, 8.934157f, 231.25049f), 154) - { - Fly = true - }; - obj208.Steps = list285; - reference225 = obj208; - ref QuestSequence reference226 = ref span112[3]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - CollectionsMarshal.AsSpan(list286)[0] = new QuestStep(EInteractionType.Interact, 1000656u, new Vector3(400.656f, -5.884923f, -104.90582f), 154) - { - Fly = true - }; - obj209.Steps = list286; - reference226 = obj209; - ref QuestSequence reference227 = ref span112[4]; - QuestSequence obj210 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - Span span113 = CollectionsMarshal.AsSpan(list287); - span113[0] = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8092u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span113[1] = new QuestStep(EInteractionType.CompleteQuest, 1009211u, new Vector3(153.8872f, -9.001622f, 77.50049f), 154) - { - Fly = true - }; - obj210.Steps = list287; - reference227 = obj210; - questRoot29.QuestSequence = list282; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(1496); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list288 = new List(num); - CollectionsMarshal.SetCount(list288, num); - CollectionsMarshal.AsSpan(list288)[0] = "Censored"; - questRoot30.Author = list288; - num = 4; - List list289 = new List(num); - CollectionsMarshal.SetCount(list289, num); - Span span114 = CollectionsMarshal.AsSpan(list289); - ref QuestSequence reference228 = ref span114[0]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - CollectionsMarshal.AsSpan(list290)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009211u, new Vector3(153.8872f, -9.001622f, 77.50049f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(153.8872f, -9.001622f, 77.50049f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj211.Steps = list290; - reference228 = obj211; - ref QuestSequence reference229 = ref span114[1]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - Span span115 = CollectionsMarshal.AsSpan(list291); - span115[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 154) - { - TargetClass = EExtendedClassJob.ConfiguredCombatJob - }; - ref QuestStep reference230 = ref span115[1]; - QuestStep obj213 = new QuestStep(EInteractionType.Combat, null, new Vector3(218.67094f, -27.914522f, 211.52048f), 154) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list292 = new List(num3); - CollectionsMarshal.SetCount(list292, num3); - CollectionsMarshal.AsSpan(list292)[0] = 749u; - obj213.KillEnemyDataIds = list292; - num3 = 6; - List list293 = new List(num3); - CollectionsMarshal.SetCount(list293, num3); - Span span116 = CollectionsMarshal.AsSpan(list293); - span116[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span116[1] = null; - span116[2] = null; - span116[3] = null; - span116[4] = null; - span116[5] = null; - obj213.CompletionQuestVariablesFlags = list293; - reference230 = obj213; - span115[2] = new QuestStep(EInteractionType.Interact, 2004457u, new Vector3(217.15112f, -27.420471f, 209.88782f), 154); - obj212.Steps = list291; - reference229 = obj212; - ref QuestSequence reference231 = ref span114[2]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - CollectionsMarshal.AsSpan(list294)[0] = new QuestStep(EInteractionType.Interact, 1009217u, new Vector3(363.72925f, -5.616498f, 347.219f), 154) - { - Fly = true - }; - obj214.Steps = list294; - reference231 = obj214; - ref QuestSequence reference232 = ref span114[3]; - QuestSequence obj215 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - Span span117 = CollectionsMarshal.AsSpan(list295); - span117[0] = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8093u, - ItemCount = 2, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span117[1] = new QuestStep(EInteractionType.CompleteQuest, 1009211u, new Vector3(153.8872f, -9.001622f, 77.50049f), 154) - { - Fly = true - }; - obj215.Steps = list295; - reference232 = obj215; - questRoot30.QuestSequence = list289; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(1497); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list296 = new List(num); - CollectionsMarshal.SetCount(list296, num); - CollectionsMarshal.AsSpan(list296)[0] = "Censored"; - questRoot31.Author = list296; - num = 4; - List list297 = new List(num); - CollectionsMarshal.SetCount(list297, num); - Span span118 = CollectionsMarshal.AsSpan(list297); - ref QuestSequence reference233 = ref span118[0]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - CollectionsMarshal.AsSpan(list298)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009211u, new Vector3(153.8872f, -9.001622f, 77.50049f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(153.8872f, -9.001622f, 77.50049f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj216.Steps = list298; - reference233 = obj216; - ref QuestSequence reference234 = ref span118[1]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - CollectionsMarshal.AsSpan(list299)[0] = new QuestStep(EInteractionType.Say, 1009633u, new Vector3(254.77979f, -20.989405f, 351.76624f), 154) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANIXA104_01497_SYSTEM_100_062" - } - }; - obj217.Steps = list299; - reference234 = obj217; - ref QuestSequence reference235 = ref span118[2]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - CollectionsMarshal.AsSpan(list300)[0] = new QuestStep(EInteractionType.Interact, 1009217u, new Vector3(363.72925f, -5.616498f, 347.219f), 154) - { - Fly = true - }; - obj218.Steps = list300; - reference235 = obj218; - ref QuestSequence reference236 = ref span118[3]; - QuestSequence obj219 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - Span span119 = CollectionsMarshal.AsSpan(list301); - span119[0] = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8094u, - ItemCount = 3, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span119[1] = new QuestStep(EInteractionType.CompleteQuest, 1009211u, new Vector3(153.8872f, -9.001622f, 77.50049f), 154) - { - Fly = true - }; - obj219.Steps = list301; - reference236 = obj219; - questRoot31.QuestSequence = list297; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(1498); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list302 = new List(num); - CollectionsMarshal.SetCount(list302, num); - CollectionsMarshal.AsSpan(list302)[0] = "Censored"; - questRoot32.Author = list302; - num = 5; - List list303 = new List(num); - CollectionsMarshal.SetCount(list303, num); - Span span120 = CollectionsMarshal.AsSpan(list303); - ref QuestSequence reference237 = ref span120[0]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - CollectionsMarshal.AsSpan(list304)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009214u, new Vector3(159.3805f, -5.6866503f, 69.29114f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(153.8872f, -9.001622f, 77.50049f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj220.Steps = list304; - reference237 = obj220; - ref QuestSequence reference238 = ref span120[1]; - QuestSequence obj221 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - Span span121 = CollectionsMarshal.AsSpan(list305); - span121[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 400) - { - TargetClass = EExtendedClassJob.Botanist - }; - ref QuestStep reference239 = ref span121[1]; - QuestStep obj222 = new QuestStep(EInteractionType.Gather, null, null, 154) - { - Fly = true - }; - num3 = 2; - List list306 = new List(num3); - CollectionsMarshal.SetCount(list306, num3); - Span span122 = CollectionsMarshal.AsSpan(list306); - span122[0] = new GatheredItem - { - ItemId = 2001388u, - ItemCount = 15 - }; - span122[1] = new GatheredItem - { - ItemId = 2001389u, - ItemCount = 5 - }; - obj222.ItemsToGather = list306; - reference239 = obj222; - obj221.Steps = list305; - reference238 = obj221; - ref QuestSequence reference240 = ref span120[2]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list307 = new List(num2); - CollectionsMarshal.SetCount(list307, num2); - CollectionsMarshal.AsSpan(list307)[0] = new QuestStep(EInteractionType.Interact, 1009635u, new Vector3(12.49707f, -46.518524f, 234.24121f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj223.Steps = list307; - reference240 = obj223; - ref QuestSequence reference241 = ref span120[3]; - QuestSequence obj224 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - CollectionsMarshal.AsSpan(list308)[0] = new QuestStep(EInteractionType.Interact, 1009218u, new Vector3(-4.1047363f, -40.949986f, 176.83679f), 154) - { - Fly = true, - Land = true - }; - obj224.Steps = list308; - reference241 = obj224; - ref QuestSequence reference242 = ref span120[4]; - QuestSequence obj225 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - Span span123 = CollectionsMarshal.AsSpan(list309); - span123[0] = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8105u, - ItemCount = 4, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span123[1] = new QuestStep(EInteractionType.CompleteQuest, 1009214u, new Vector3(159.3805f, -5.6866503f, 69.29114f), 154) - { - Fly = true, - Land = true - }; - obj225.Steps = list309; - reference242 = obj225; - questRoot32.QuestSequence = list303; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(1499); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list310 = new List(num); - CollectionsMarshal.SetCount(list310, num); - CollectionsMarshal.AsSpan(list310)[0] = "Censored"; - questRoot33.Author = list310; - num = 5; - List list311 = new List(num); - CollectionsMarshal.SetCount(list311, num); - Span span124 = CollectionsMarshal.AsSpan(list311); - ref QuestSequence reference243 = ref span124[0]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - CollectionsMarshal.AsSpan(list312)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009214u, new Vector3(159.3805f, -5.6866503f, 69.29114f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(153.8872f, -9.001622f, 77.50049f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj226.Steps = list312; - reference243 = obj226; - ref QuestSequence reference244 = ref span124[1]; - QuestSequence obj227 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list313 = new List(num2); - CollectionsMarshal.SetCount(list313, num2); - Span span125 = CollectionsMarshal.AsSpan(list313); - span125[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 400) - { - TargetClass = EExtendedClassJob.Miner - }; - ref QuestStep reference245 = ref span125[1]; - QuestStep obj228 = new QuestStep(EInteractionType.Gather, null, null, 154) - { - Fly = true - }; - num3 = 2; - List list314 = new List(num3); - CollectionsMarshal.SetCount(list314, num3); - Span span126 = CollectionsMarshal.AsSpan(list314); - span126[0] = new GatheredItem - { - ItemId = 2001391u, - ItemCount = 15 - }; - span126[1] = new GatheredItem - { - ItemId = 2001392u, - ItemCount = 5 - }; - obj228.ItemsToGather = list314; - reference245 = obj228; - obj227.Steps = list313; - reference244 = obj227; - ref QuestSequence reference246 = ref span124[2]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - CollectionsMarshal.AsSpan(list315)[0] = new QuestStep(EInteractionType.Interact, 1009636u, new Vector3(0.015197754f, -46.4906f, 246.1737f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj229.Steps = list315; - reference246 = obj229; - ref QuestSequence reference247 = ref span124[3]; - QuestSequence obj230 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - CollectionsMarshal.AsSpan(list316)[0] = new QuestStep(EInteractionType.Interact, 1009218u, new Vector3(-4.1047363f, -40.949986f, 176.83679f), 154) - { - Fly = true, - Land = true - }; - obj230.Steps = list316; - reference247 = obj230; - ref QuestSequence reference248 = ref span124[4]; - QuestSequence obj231 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list317 = new List(num2); - CollectionsMarshal.SetCount(list317, num2); - Span span127 = CollectionsMarshal.AsSpan(list317); - span127[0] = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8106u, - ItemCount = 4, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span127[1] = new QuestStep(EInteractionType.CompleteQuest, 1009214u, new Vector3(159.3805f, -5.6866503f, 69.29114f), 154) - { - Fly = true, - Land = true - }; - obj231.Steps = list317; - reference248 = obj231; - questRoot33.QuestSequence = list311; - AddQuest(questId33, questRoot33); - } - - private static void LoadQuests30() - { - QuestId questId = new QuestId(1500); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "Censored"; - questRoot.Author = list; - num = 4; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009214u, new Vector3(159.3805f, -5.6866503f, 69.29114f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(153.8872f, -9.001622f, 77.50049f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference3 = ref span2[0]; - QuestStep obj3 = new QuestStep(EInteractionType.Interact, 2004478u, new Vector3(-108.293274f, -7.2786255f, -51.377197f), 154) - { - Fly = true, - Land = true - }; - int num3 = 6; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - Span span3 = CollectionsMarshal.AsSpan(list5); - span3[0] = null; - span3[1] = null; - span3[2] = null; - span3[3] = null; - span3[4] = null; - span3[5] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - obj3.CompletionQuestVariablesFlags = list5; - reference3 = obj3; - ref QuestStep reference4 = ref span2[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2004475u, new Vector3(-91.44739f, -5.2644043f, -100.93848f), 154); - num3 = 6; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - Span span4 = CollectionsMarshal.AsSpan(list6); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list6; - reference4 = questStep; - span2[2] = new QuestStep(EInteractionType.Interact, 2004476u, new Vector3(-123.91852f, -7.736328f, -118.24219f), 154); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference5 = ref span[2]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.Interact, 1009218u, new Vector3(-4.1047363f, -40.949986f, 176.83679f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj4.Steps = list7; - reference5 = obj4; - ref QuestSequence reference6 = ref span[3]; - QuestSequence obj5 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - Span span5 = CollectionsMarshal.AsSpan(list8); - span5[0] = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8107u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span5[1] = new QuestStep(EInteractionType.CompleteQuest, 1009214u, new Vector3(159.3805f, -5.6866503f, 69.29114f), 154) - { - Fly = true, - Land = true - }; - obj5.Steps = list8; - reference6 = obj5; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(1501); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - CollectionsMarshal.AsSpan(list9)[0] = "Censored"; - questRoot2.Author = list9; - num = 4; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - Span span6 = CollectionsMarshal.AsSpan(list10); - ref QuestSequence reference7 = ref span6[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009214u, new Vector3(159.3805f, -5.6866503f, 69.29114f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(153.8872f, -9.001622f, 77.50049f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj6.Steps = list11; - reference7 = obj6; - ref QuestSequence reference8 = ref span6[1]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Say, 1009637u, new Vector3(-156.11511f, -9.924311f, -92.5155f), 154) - { - Fly = true, - Land = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANIXA404_01501_SYSTEM_100_062" - } - }; - obj7.Steps = list12; - reference8 = obj7; - ref QuestSequence reference9 = ref span6[2]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.Interact, 1009218u, new Vector3(-4.1047363f, -40.949986f, 176.83679f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj8.Steps = list13; - reference9 = obj8; - ref QuestSequence reference10 = ref span6[3]; - QuestSequence obj9 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - Span span7 = CollectionsMarshal.AsSpan(list14); - span7[0] = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8108u, - ItemCount = 3, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span7[1] = new QuestStep(EInteractionType.CompleteQuest, 1009214u, new Vector3(159.3805f, -5.6866503f, 69.29114f), 154) - { - Fly = true, - Land = true - }; - obj9.Steps = list14; - reference10 = obj9; - questRoot2.QuestSequence = list10; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(1503); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - CollectionsMarshal.AsSpan(list15)[0] = "Censored"; - questRoot3.Author = list15; - num = 4; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - Span span8 = CollectionsMarshal.AsSpan(list16); - ref QuestSequence reference11 = ref span8[0]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009214u, new Vector3(159.3805f, -5.6866503f, 69.29114f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(153.8872f, -9.001622f, 77.50049f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj10.Steps = list17; - reference11 = obj10; - ref QuestSequence reference12 = ref span8[1]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - Span span9 = CollectionsMarshal.AsSpan(list18); - span9[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 154) - { - TargetClass = EExtendedClassJob.ConfiguredCombatJob - }; - ref QuestStep reference13 = ref span9[1]; - QuestStep obj12 = new QuestStep(EInteractionType.Combat, null, new Vector3(76.630516f, 7.3852587f, -54.13745f), 154) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list19 = new List(num3); - CollectionsMarshal.SetCount(list19, num3); - CollectionsMarshal.AsSpan(list19)[0] = 29u; - obj12.KillEnemyDataIds = list19; - reference13 = obj12; - obj11.Steps = list18; - reference12 = obj11; - ref QuestSequence reference14 = ref span8[2]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.Interact, 1008945u, new Vector3(445.45654f, -0.9374095f, -67.36859f), 154) - { - Fly = true, - Land = true - }; - obj13.Steps = list20; - reference14 = obj13; - ref QuestSequence reference15 = ref span8[3]; - QuestSequence obj14 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - Span span10 = CollectionsMarshal.AsSpan(list21); - span10[0] = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8110u, - ItemCount = 4, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span10[1] = new QuestStep(EInteractionType.CompleteQuest, 1009214u, new Vector3(159.3805f, -5.6866503f, 69.29114f), 154) - { - Fly = true, - Land = true - }; - obj14.Steps = list21; - reference15 = obj14; - questRoot3.QuestSequence = list16; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(1504); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - CollectionsMarshal.AsSpan(list22)[0] = "Censored"; - questRoot4.Author = list22; - num = 4; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - Span span11 = CollectionsMarshal.AsSpan(list23); - ref QuestSequence reference16 = ref span11[0]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009212u, new Vector3(151.29321f, -9.752633f, 79.697754f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(151.29321f, -9.752633f, 79.697754f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj15.Steps = list24; - reference16 = obj15; - ref QuestSequence reference17 = ref span11[1]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - Span span12 = CollectionsMarshal.AsSpan(list25); - span12[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 154) - { - TargetClass = EExtendedClassJob.ConfiguredCombatJob - }; - ref QuestStep reference18 = ref span12[1]; - QuestStep obj17 = new QuestStep(EInteractionType.Combat, null, new Vector3(83.55191f, -42.160282f, 359.22104f), 154) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - CollectionsMarshal.AsSpan(list26)[0] = 747u; - obj17.KillEnemyDataIds = list26; - num3 = 6; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - Span span13 = CollectionsMarshal.AsSpan(list27); - span13[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = null; - obj17.CompletionQuestVariablesFlags = list27; - reference18 = obj17; - span12[2] = new QuestStep(EInteractionType.Interact, 2004461u, new Vector3(82.993774f, -41.519836f, 362.2339f), 154); - obj16.Steps = list25; - reference17 = obj16; - ref QuestSequence reference19 = ref span11[2]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.Interact, 1009218u, new Vector3(-4.1047363f, -40.949986f, 176.83679f), 154) - { - Fly = true, - Land = true - }; - obj18.Steps = list28; - reference19 = obj18; - ref QuestSequence reference20 = ref span11[3]; - QuestSequence obj19 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - Span span14 = CollectionsMarshal.AsSpan(list29); - span14[0] = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8095u, - ItemCount = 3, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span14[1] = new QuestStep(EInteractionType.CompleteQuest, 1009212u, new Vector3(151.29321f, -9.752633f, 79.697754f), 154) - { - Fly = true - }; - obj19.Steps = list29; - reference20 = obj19; - questRoot4.QuestSequence = list23; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(1505); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - CollectionsMarshal.AsSpan(list30)[0] = "Censored"; - questRoot5.Author = list30; - num = 4; - List list31 = new List(num); - CollectionsMarshal.SetCount(list31, num); - Span span15 = CollectionsMarshal.AsSpan(list31); - ref QuestSequence reference21 = ref span15[0]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009212u, new Vector3(151.29321f, -9.752633f, 79.697754f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(151.29321f, -9.752633f, 79.697754f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj20.Steps = list32; - reference21 = obj20; - ref QuestSequence reference22 = ref span15[1]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Interact, 2004464u, new Vector3(25.741943f, -43.442444f, 441.12292f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj21.Steps = list33; - reference22 = obj21; - ref QuestSequence reference23 = ref span15[2]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.Interact, 1009218u, new Vector3(-4.1047363f, -40.949986f, 176.83679f), 154) - { - Fly = true, - Land = true - }; - obj22.Steps = list34; - reference23 = obj22; - ref QuestSequence reference24 = ref span15[3]; - QuestSequence obj23 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - Span span16 = CollectionsMarshal.AsSpan(list35); - span16[0] = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8096u, - ItemCount = 2, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span16[1] = new QuestStep(EInteractionType.CompleteQuest, 1009212u, new Vector3(151.29321f, -9.752633f, 79.697754f), 154) - { - Fly = true - }; - obj23.Steps = list35; - reference24 = obj23; - questRoot5.QuestSequence = list31; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(1506); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - CollectionsMarshal.AsSpan(list36)[0] = "Censored"; - questRoot6.Author = list36; - num = 4; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - Span span17 = CollectionsMarshal.AsSpan(list37); - ref QuestSequence reference25 = ref span17[0]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009212u, new Vector3(151.29321f, -9.752633f, 79.697754f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(151.29321f, -9.752633f, 79.697754f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj24.Steps = list38; - reference25 = obj24; - ref QuestSequence reference26 = ref span17[1]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - Span span18 = CollectionsMarshal.AsSpan(list39); - span18[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 154) - { - TargetClass = EExtendedClassJob.ConfiguredCombatJob - }; - ref QuestStep reference27 = ref span18[1]; - QuestStep obj26 = new QuestStep(EInteractionType.Combat, null, new Vector3(-180.06154f, -60.916454f, 355.63138f), 154) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - Span span19 = CollectionsMarshal.AsSpan(list40); - ref ComplexCombatData reference28 = ref span19[0]; - ComplexCombatData obj27 = new ComplexCombatData - { - DataId = 30u, - MinimumKillCount = 1u - }; - int num4 = 6; - List list41 = new List(num4); - CollectionsMarshal.SetCount(list41, num4); - Span span20 = CollectionsMarshal.AsSpan(list41); - span20[0] = null; - span20[1] = null; - span20[2] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span20[3] = null; - span20[4] = null; - span20[5] = null; - obj27.CompletionQuestVariablesFlags = list41; - reference28 = obj27; - span19[1] = new ComplexCombatData - { - DataId = 3240u, - MinimumKillCount = 1u - }; - obj26.ComplexCombatData = list40; - reference27 = obj26; - obj25.Steps = list39; - reference26 = obj25; - ref QuestSequence reference29 = ref span17[2]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.Interact, 1009218u, new Vector3(-4.1047363f, -40.949986f, 176.83679f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj28.Steps = list42; - reference29 = obj28; - ref QuestSequence reference30 = ref span17[3]; - QuestSequence obj29 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - Span span21 = CollectionsMarshal.AsSpan(list43); - span21[0] = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8097u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span21[1] = new QuestStep(EInteractionType.CompleteQuest, 1009212u, new Vector3(151.29321f, -9.752633f, 79.697754f), 154) - { - Fly = true - }; - obj29.Steps = list43; - reference30 = obj29; - questRoot6.QuestSequence = list37; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(1507); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - CollectionsMarshal.AsSpan(list44)[0] = "Censored"; - questRoot7.Author = list44; - num = 4; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - Span span22 = CollectionsMarshal.AsSpan(list45); - ref QuestSequence reference31 = ref span22[0]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009212u, new Vector3(151.29321f, -9.752633f, 79.697754f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(151.29321f, -9.752633f, 79.697754f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj30.Steps = list46; - reference31 = obj30; - ref QuestSequence reference32 = ref span22[1]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - Span span23 = CollectionsMarshal.AsSpan(list47); - ref QuestStep reference33 = ref span23[0]; - QuestStep obj32 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(18.913702f, -50.22517f, 533.0378f), 154) - { - TargetTerritoryId = (ushort)148, - Fly = true - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - CollectionsMarshal.AsSpan(list48)[0] = 148; - skipStepConditions.InTerritory = list48; - skipConditions.StepIf = skipStepConditions; - obj32.SkipConditions = skipConditions; - reference33 = obj32; - span23[1] = new QuestStep(EInteractionType.Say, 1009634u, new Vector3(-410.1778f, 64.43958f, -244.00702f), 148) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANIXA204_01507_SYSTEM_100_062" - } - }; - obj31.Steps = list47; - reference32 = obj31; - ref QuestSequence reference34 = ref span22[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.Interact, 1009218u, new Vector3(-4.1047363f, -40.949986f, 176.83679f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj33.Steps = list49; - reference34 = obj33; - ref QuestSequence reference35 = ref span22[3]; - QuestSequence obj34 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - Span span24 = CollectionsMarshal.AsSpan(list50); - span24[0] = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8098u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span24[1] = new QuestStep(EInteractionType.CompleteQuest, 1009212u, new Vector3(151.29321f, -9.752633f, 79.697754f), 154) - { - Fly = true - }; - obj34.Steps = list50; - reference35 = obj34; - questRoot7.QuestSequence = list45; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(1508); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - CollectionsMarshal.AsSpan(list51)[0] = "Censored"; - questRoot8.Author = list51; - num = 4; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - Span span25 = CollectionsMarshal.AsSpan(list52); - ref QuestSequence reference36 = ref span25[0]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009212u, new Vector3(151.29321f, -9.752633f, 79.697754f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(151.29321f, -9.752633f, 79.697754f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj35.Steps = list53; - reference36 = obj35; - ref QuestSequence reference37 = ref span25[1]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.Interact, 1006258u, new Vector3(-246.479f, -31.537203f, 392.5382f), 154) - { - Fly = true, - Land = true - }; - obj36.Steps = list54; - reference37 = obj36; - ref QuestSequence reference38 = ref span25[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.Interact, 1009218u, new Vector3(-4.1047363f, -40.949986f, 176.83679f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj37.Steps = list55; - reference38 = obj37; - ref QuestSequence reference39 = ref span25[3]; - QuestSequence obj38 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - Span span26 = CollectionsMarshal.AsSpan(list56); - span26[0] = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8099u, - ItemCount = 2, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span26[1] = new QuestStep(EInteractionType.CompleteQuest, 1009212u, new Vector3(151.29321f, -9.752633f, 79.697754f), 154) - { - Fly = true - }; - obj38.Steps = list56; - reference39 = obj38; - questRoot8.QuestSequence = list52; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(1510); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - CollectionsMarshal.AsSpan(list57)[0] = "Censored"; - questRoot9.Author = list57; - num = 5; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - Span span27 = CollectionsMarshal.AsSpan(list58); - ref QuestSequence reference40 = ref span27[0]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009215u, new Vector3(167.01001f, -13.604617f, 110.85681f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(167.01001f, -13.604617f, 110.85681f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj39.Steps = list59; - reference40 = obj39; - ref QuestSequence reference41 = ref span27[1]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - Span span28 = CollectionsMarshal.AsSpan(list60); - span28[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(37.581226f, 29f, -798.03467f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(37.581226f, 29f, -798.03467f), - MaximumDistance = 5f, - TerritoryId = 156 - } - } - } - }; - span28[1] = new QuestStep(EInteractionType.Interact, 1009220u, new Vector3(40.93994f, 29f, -798.3673f), 156); - obj40.Steps = list60; - reference41 = obj40; - ref QuestSequence reference42 = ref span27[2]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - Span span29 = CollectionsMarshal.AsSpan(list61); - span29[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 156) - { - TargetClass = EExtendedClassJob.Botanist - }; - ref QuestStep reference43 = ref span29[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Gather, null, null, 156); - num3 = 2; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - Span span30 = CollectionsMarshal.AsSpan(list62); - span30[0] = new GatheredItem - { - ItemId = 2001412u, - ItemCount = 15 - }; - span30[1] = new GatheredItem - { - ItemId = 2001413u, - ItemCount = 5 - }; - questStep2.ItemsToGather = list62; - reference43 = questStep2; - obj41.Steps = list61; - reference42 = obj41; - ref QuestSequence reference44 = ref span27[3]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - Span span31 = CollectionsMarshal.AsSpan(list63); - span31[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(37.581226f, 29f, -798.03467f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(37.581226f, 29f, -798.03467f), - MaximumDistance = 5f, - TerritoryId = 156 - } - } - } - }; - span31[1] = new QuestStep(EInteractionType.Interact, 1009220u, new Vector3(40.93994f, 29f, -798.3673f), 156); - obj42.Steps = list63; - reference44 = obj42; - ref QuestSequence reference45 = ref span27[4]; - QuestSequence obj43 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - Span span32 = CollectionsMarshal.AsSpan(list64); - span32[0] = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8113u, - ItemCount = 2, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span32[1] = new QuestStep(EInteractionType.CompleteQuest, 1009215u, new Vector3(167.01001f, -13.604617f, 110.85681f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(167.01001f, -13.604617f, 110.85681f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj43.Steps = list64; - reference45 = obj43; - questRoot9.QuestSequence = list58; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(1511); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - CollectionsMarshal.AsSpan(list65)[0] = "Censored"; - questRoot10.Author = list65; - num = 5; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - Span span33 = CollectionsMarshal.AsSpan(list66); - ref QuestSequence reference46 = ref span33[0]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009215u, new Vector3(167.01001f, -13.604617f, 110.85681f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(167.01001f, -13.604617f, 110.85681f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj44.Steps = list67; - reference46 = obj44; - ref QuestSequence reference47 = ref span33[1]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - Span span34 = CollectionsMarshal.AsSpan(list68); - span34[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(37.581226f, 29f, -798.03467f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(37.581226f, 29f, -798.03467f), - MaximumDistance = 5f, - TerritoryId = 156 - } - } - } - }; - span34[1] = new QuestStep(EInteractionType.Interact, 1009220u, new Vector3(40.93994f, 29f, -798.3673f), 156); - obj45.Steps = list68; - reference47 = obj45; - ref QuestSequence reference48 = ref span33[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - Span span35 = CollectionsMarshal.AsSpan(list69); - span35[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 156) - { - TargetClass = EExtendedClassJob.Miner - }; - ref QuestStep reference49 = ref span35[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.Gather, null, null, 156); - num3 = 2; - List list70 = new List(num3); - CollectionsMarshal.SetCount(list70, num3); - Span span36 = CollectionsMarshal.AsSpan(list70); - span36[0] = new GatheredItem - { - ItemId = 2001415u, - ItemCount = 15 - }; - span36[1] = new GatheredItem - { - ItemId = 2001416u, - ItemCount = 5 - }; - questStep3.ItemsToGather = list70; - reference49 = questStep3; - obj46.Steps = list69; - reference48 = obj46; - ref QuestSequence reference50 = ref span33[3]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - Span span37 = CollectionsMarshal.AsSpan(list71); - span37[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(37.581226f, 29f, -798.03467f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(37.581226f, 29f, -798.03467f), - MaximumDistance = 5f, - TerritoryId = 156 - } - } - } - }; - span37[1] = new QuestStep(EInteractionType.Interact, 1009220u, new Vector3(40.93994f, 29f, -798.3673f), 156); - obj47.Steps = list71; - reference50 = obj47; - ref QuestSequence reference51 = ref span33[4]; - QuestSequence obj48 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - Span span38 = CollectionsMarshal.AsSpan(list72); - span38[0] = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8114u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span38[1] = new QuestStep(EInteractionType.CompleteQuest, 1009215u, new Vector3(167.01001f, -13.604617f, 110.85681f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(167.01001f, -13.604617f, 110.85681f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj48.Steps = list72; - reference51 = obj48; - questRoot10.QuestSequence = list66; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(1512); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - CollectionsMarshal.AsSpan(list73)[0] = "Censored"; - questRoot11.Author = list73; - num = 5; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - Span span39 = CollectionsMarshal.AsSpan(list74); - ref QuestSequence reference52 = ref span39[0]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009215u, new Vector3(167.01001f, -13.604617f, 110.85681f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(167.01001f, -13.604617f, 110.85681f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj49.Steps = list75; - reference52 = obj49; - ref QuestSequence reference53 = ref span39[1]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - Span span40 = CollectionsMarshal.AsSpan(list76); - span40[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(37.581226f, 29f, -798.03467f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(37.581226f, 29f, -798.03467f), - MaximumDistance = 5f, - TerritoryId = 156 - } - } - } - }; - span40[1] = new QuestStep(EInteractionType.Interact, 1009220u, new Vector3(40.93994f, 29f, -798.3673f), 156); - obj50.Steps = list76; - reference53 = obj50; - ref QuestSequence reference54 = ref span39[2]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - Span span41 = CollectionsMarshal.AsSpan(list77); - span41[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 154) - { - TargetClass = EExtendedClassJob.ConfiguredCombatJob - }; - ref QuestStep reference55 = ref span41[1]; - QuestStep obj52 = new QuestStep(EInteractionType.Combat, null, new Vector3(-339.69962f, -17.148405f, -433.59454f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - CollectionsMarshal.AsSpan(list78)[0] = 140u; - obj52.KillEnemyDataIds = list78; - obj52.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NotNearPosition = new NearPositionCondition - { - Position = new Vector3(37.581226f, 29f, -798.03467f), - MaximumDistance = 5f, - TerritoryId = 156 - } - } - }; - reference55 = obj52; - obj51.Steps = list77; - reference54 = obj51; - ref QuestSequence reference56 = ref span39[3]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - Span span42 = CollectionsMarshal.AsSpan(list79); - span42[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(37.581226f, 29f, -798.03467f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(37.581226f, 29f, -798.03467f), - MaximumDistance = 5f, - TerritoryId = 156 - } - } - } - }; - span42[1] = new QuestStep(EInteractionType.Interact, 1009220u, new Vector3(40.93994f, 29f, -798.3673f), 156); - obj53.Steps = list79; - reference56 = obj53; - ref QuestSequence reference57 = ref span39[4]; - QuestSequence obj54 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - Span span43 = CollectionsMarshal.AsSpan(list80); - span43[0] = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8115u, - ItemCount = 2, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span43[1] = new QuestStep(EInteractionType.CompleteQuest, 1009215u, new Vector3(167.01001f, -13.604617f, 110.85681f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(167.01001f, -13.604617f, 110.85681f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj54.Steps = list80; - reference57 = obj54; - questRoot11.QuestSequence = list74; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(1513); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - CollectionsMarshal.AsSpan(list81)[0] = "Censored"; - questRoot12.Author = list81; - num = 5; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - Span span44 = CollectionsMarshal.AsSpan(list82); - ref QuestSequence reference58 = ref span44[0]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009215u, new Vector3(167.01001f, -13.604617f, 110.85681f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(167.01001f, -13.604617f, 110.85681f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj55.Steps = list83; - reference58 = obj55; - ref QuestSequence reference59 = ref span44[1]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - Span span45 = CollectionsMarshal.AsSpan(list84); - span45[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(37.581226f, 29f, -798.03467f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(37.581226f, 29f, -798.03467f), - MaximumDistance = 5f, - TerritoryId = 156 - } - } - } - }; - span45[1] = new QuestStep(EInteractionType.Interact, 1009220u, new Vector3(40.93994f, 29f, -798.3673f), 156); - obj56.Steps = list84; - reference59 = obj56; - ref QuestSequence reference60 = ref span44[2]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - Span span46 = CollectionsMarshal.AsSpan(list85); - span46[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 154) - { - TargetClass = EExtendedClassJob.ConfiguredCombatJob - }; - ref QuestStep reference61 = ref span46[1]; - QuestStep obj58 = new QuestStep(EInteractionType.Combat, null, new Vector3(-512.7902f, -4.0678735f, -442.46564f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - ref ComplexCombatData reference62 = ref CollectionsMarshal.AsSpan(list86)[0]; - ComplexCombatData obj59 = new ComplexCombatData - { - DataId = 2983u, - MinimumKillCount = 1u - }; - num4 = 6; - List list87 = new List(num4); - CollectionsMarshal.SetCount(list87, num4); - Span span47 = CollectionsMarshal.AsSpan(list87); - span47[0] = null; - span47[1] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = null; - obj59.CompletionQuestVariablesFlags = list87; - reference62 = obj59; - obj58.ComplexCombatData = list86; - obj58.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NotNearPosition = new NearPositionCondition - { - Position = new Vector3(37.581226f, 29f, -798.03467f), - MaximumDistance = 5f, - TerritoryId = 156 - } - } - }; - num3 = 6; - List list88 = new List(num3); - CollectionsMarshal.SetCount(list88, num3); - Span span48 = CollectionsMarshal.AsSpan(list88); - span48[0] = null; - span48[1] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span48[2] = null; - span48[3] = null; - span48[4] = null; - span48[5] = null; - obj58.CompletionQuestVariablesFlags = list88; - reference61 = obj58; - span46[2] = new QuestStep(EInteractionType.Interact, 2004479u, new Vector3(-513.0541f, -4.043701f, -442.46588f), 156); - obj57.Steps = list85; - reference60 = obj57; - ref QuestSequence reference63 = ref span44[3]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - Span span49 = CollectionsMarshal.AsSpan(list89); - span49[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(37.581226f, 29f, -798.03467f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(37.581226f, 29f, -798.03467f), - MaximumDistance = 5f, - TerritoryId = 156 - } - } - } - }; - span49[1] = new QuestStep(EInteractionType.Interact, 1009220u, new Vector3(40.93994f, 29f, -798.3673f), 156); - obj60.Steps = list89; - reference63 = obj60; - ref QuestSequence reference64 = ref span44[4]; - QuestSequence obj61 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - Span span50 = CollectionsMarshal.AsSpan(list90); - span50[0] = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8117u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span50[1] = new QuestStep(EInteractionType.CompleteQuest, 1009215u, new Vector3(167.01001f, -13.604617f, 110.85681f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(167.01001f, -13.604617f, 110.85681f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj61.Steps = list90; - reference64 = obj61; - questRoot12.QuestSequence = list82; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(1515); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - CollectionsMarshal.AsSpan(list91)[0] = "Censored"; - questRoot13.Author = list91; - num = 4; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - Span span51 = CollectionsMarshal.AsSpan(list92); - ref QuestSequence reference65 = ref span51[0]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - Span span52 = CollectionsMarshal.AsSpan(list93); - span52[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(161.94475f, -4.690532f, 63.927406f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(159.28894f, -3.6960998f, 64.286255f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - span52[1] = new QuestStep(EInteractionType.AcceptQuest, 1009213u, new Vector3(159.28894f, -3.6960998f, 64.286255f), 154); - obj62.Steps = list93; - reference65 = obj62; - ref QuestSequence reference66 = ref span51[1]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - Span span53 = CollectionsMarshal.AsSpan(list94); - ref QuestStep reference67 = ref span53[0]; - QuestStep obj64 = new QuestStep(EInteractionType.Interact, 1000776u, new Vector3(115.342896f, 287.02945f, 142.1377f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 6; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - Span span54 = CollectionsMarshal.AsSpan(list95); - span54[0] = null; - span54[1] = null; - span54[2] = null; - span54[3] = null; - span54[4] = null; - span54[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj64.CompletionQuestVariablesFlags = list95; - reference67 = obj64; - span53[1] = new QuestStep(EInteractionType.Say, 1009639u, new Vector3(59.952637f, 298.56396f, 176.25696f), 155) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANIXA302_01515_SYSTEM_100_062" - } - }; - obj63.Steps = list94; - reference66 = obj63; - ref QuestSequence reference68 = ref span51[2]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - Span span55 = CollectionsMarshal.AsSpan(list96); - span55[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(244.82239f, 222.01717f, 352.99496f), 155) - { - Fly = true, - Land = true - }; - span55[1] = new QuestStep(EInteractionType.Interact, 1009219u, new Vector3(251.11768f, 222f, 366.2317f), 155); - obj65.Steps = list96; - reference68 = obj65; - ref QuestSequence reference69 = ref span51[3]; - QuestSequence obj66 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - Span span56 = CollectionsMarshal.AsSpan(list97); - ref QuestStep reference70 = ref span56[0]; - QuestStep obj67 = new QuestStep(EInteractionType.Craft, null, null, 155) - { - ItemId = 8101u, - ItemCount = 2, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - num3 = 1; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - CollectionsMarshal.AsSpan(list98)[0] = EExtendedClassJob.DoH; - obj67.RequiredCurrentJob = list98; - reference70 = obj67; - span56[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(161.94475f, -4.690532f, 63.927406f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(159.28894f, -3.6960998f, 64.286255f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - span56[2] = new QuestStep(EInteractionType.CompleteQuest, 1009213u, new Vector3(159.28894f, -3.6960998f, 64.286255f), 154); - obj66.Steps = list97; - reference69 = obj66; - questRoot13.QuestSequence = list92; - AddQuest(questId13, questRoot13); - AddQuest(new QuestId(1516), new QuestRoot - { - Disabled = true, - QuestSequence = new List() - }); - QuestId questId14 = new QuestId(1517); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - CollectionsMarshal.AsSpan(list99)[0] = "Censored"; - questRoot14.Author = list99; - num = 4; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - Span span57 = CollectionsMarshal.AsSpan(list100); - ref QuestSequence reference71 = ref span57[0]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - Span span58 = CollectionsMarshal.AsSpan(list101); - span58[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(161.94475f, -4.690532f, 63.927406f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(159.28894f, -3.6960998f, 64.286255f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - span58[1] = new QuestStep(EInteractionType.AcceptQuest, 1009213u, new Vector3(159.28894f, -3.6960998f, 64.286255f), 154); - obj68.Steps = list101; - reference71 = obj68; - ref QuestSequence reference72 = ref span57[1]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - Span span59 = CollectionsMarshal.AsSpan(list102); - span59[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 155) - { - TargetClass = EExtendedClassJob.ConfiguredCombatJob - }; - ref QuestStep reference73 = ref span59[1]; - QuestStep obj70 = new QuestStep(EInteractionType.Combat, null, new Vector3(-238.96973f, 225.51239f, 425.29025f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - CollectionsMarshal.AsSpan(list103)[0] = 191u; - obj70.KillEnemyDataIds = list103; - obj70.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - reference73 = obj70; - obj69.Steps = list102; - reference72 = obj69; - ref QuestSequence reference74 = ref span57[2]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - Span span60 = CollectionsMarshal.AsSpan(list104); - span60[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(244.82239f, 222.01717f, 352.99496f), 155) - { - Fly = true, - Land = true - }; - span60[1] = new QuestStep(EInteractionType.Interact, 1009219u, new Vector3(251.11768f, 222f, 366.2317f), 155); - obj71.Steps = list104; - reference74 = obj71; - ref QuestSequence reference75 = ref span57[3]; - QuestSequence obj72 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - Span span61 = CollectionsMarshal.AsSpan(list105); - span61[0] = new QuestStep(EInteractionType.Craft, null, null, 155) - { - ItemId = 8103u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span61[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(161.94475f, -4.690532f, 63.927406f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(159.28894f, -3.6960998f, 64.286255f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - span61[2] = new QuestStep(EInteractionType.CompleteQuest, 1009213u, new Vector3(159.28894f, -3.6960998f, 64.286255f), 154); - obj72.Steps = list105; - reference75 = obj72; - questRoot14.QuestSequence = list100; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(1518); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list106 = new List(num); - CollectionsMarshal.SetCount(list106, num); - CollectionsMarshal.AsSpan(list106)[0] = "Censored"; - questRoot15.Author = list106; - num = 5; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - Span span62 = CollectionsMarshal.AsSpan(list107); - ref QuestSequence reference76 = ref span62[0]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - Span span63 = CollectionsMarshal.AsSpan(list108); - span63[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(161.94475f, -4.690532f, 63.927406f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(159.28894f, -3.6960998f, 64.286255f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - span63[1] = new QuestStep(EInteractionType.AcceptQuest, 1009213u, new Vector3(159.28894f, -3.6960998f, 64.286255f), 154); - obj73.Steps = list108; - reference76 = obj73; - ref QuestSequence reference77 = ref span62[1]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - Span span64 = CollectionsMarshal.AsSpan(list109); - span64[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(244.82239f, 222.01717f, 352.99496f), 155) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span64[1] = new QuestStep(EInteractionType.Interact, 1009219u, new Vector3(251.11768f, 222f, 366.2317f), 155); - obj74.Steps = list109; - reference77 = obj74; - ref QuestSequence reference78 = ref span62[2]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - Span span65 = CollectionsMarshal.AsSpan(list110); - span65[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(244.82239f, 222.01717f, 352.99496f), 155); - span65[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(195.20084f, 307.86295f, 411.4291f), 155) - { - Fly = true, - Land = true - }; - span65[2] = new QuestStep(EInteractionType.Interact, 1006378u, new Vector3(204.5166f, 293.32996f, 418.57007f), 155); - obj75.Steps = list110; - reference78 = obj75; - ref QuestSequence reference79 = ref span62[3]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - Span span66 = CollectionsMarshal.AsSpan(list111); - span66[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(195.20084f, 307.86295f, 411.4291f), 155) - { - Mount = true - }; - span66[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(244.82239f, 222.01717f, 352.99496f), 155) - { - Fly = true, - Land = true - }; - span66[2] = new QuestStep(EInteractionType.Interact, 1009219u, new Vector3(251.11768f, 222f, 366.2317f), 155); - obj76.Steps = list111; - reference79 = obj76; - ref QuestSequence reference80 = ref span62[4]; - QuestSequence obj77 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span67 = CollectionsMarshal.AsSpan(list112); - span67[0] = new QuestStep(EInteractionType.Craft, null, null, 155) - { - ItemId = 8104u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span67[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(161.94475f, -4.690532f, 63.927406f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(159.28894f, -3.6960998f, 64.286255f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - span67[2] = new QuestStep(EInteractionType.CompleteQuest, 1009213u, new Vector3(159.28894f, -3.6960998f, 64.286255f), 154); - obj77.Steps = list112; - reference80 = obj77; - questRoot15.QuestSequence = list107; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(1519); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list113 = new List(num); - CollectionsMarshal.SetCount(list113, num); - CollectionsMarshal.AsSpan(list113)[0] = "Censored"; - questRoot16.Author = list113; - num = 5; - List list114 = new List(num); - CollectionsMarshal.SetCount(list114, num); - Span span68 = CollectionsMarshal.AsSpan(list114); - ref QuestSequence reference81 = ref span68[0]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009215u, new Vector3(167.01001f, -13.604617f, 110.85681f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(167.01001f, -13.604617f, 110.85681f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj78.Steps = list115; - reference81 = obj78; - ref QuestSequence reference82 = ref span68[1]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - Span span69 = CollectionsMarshal.AsSpan(list116); - span69[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(37.581226f, 29f, -798.03467f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(37.581226f, 29f, -798.03467f), - MaximumDistance = 5f, - TerritoryId = 156 - } - } - } - }; - span69[1] = new QuestStep(EInteractionType.Interact, 1009220u, new Vector3(40.93994f, 29f, -798.3673f), 156); - obj79.Steps = list116; - reference82 = obj79; - ref QuestSequence reference83 = ref span68[2]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - Span span70 = CollectionsMarshal.AsSpan(list117); - span70[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 156) - { - TargetClass = EExtendedClassJob.ConfiguredCombatJob - }; - ref QuestStep reference84 = ref span70[1]; - QuestStep obj81 = new QuestStep(EInteractionType.Combat, 1009669u, new Vector3(-134.47784f, -1.2726249f, -637.7814f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list118 = new List(num3); - CollectionsMarshal.SetCount(list118, num3); - CollectionsMarshal.AsSpan(list118)[0] = 725u; - obj81.KillEnemyDataIds = list118; - obj81.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NotNearPosition = new NearPositionCondition - { - Position = new Vector3(37.581226f, 29f, -798.03467f), - MaximumDistance = 5f, - TerritoryId = 156 - } - } - }; - num3 = 6; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - Span span71 = CollectionsMarshal.AsSpan(list119); - span71[0] = null; - span71[1] = null; - span71[2] = null; - span71[3] = null; - span71[4] = null; - span71[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj81.CompletionQuestVariablesFlags = list119; - reference84 = obj81; - ref QuestStep reference85 = ref span70[2]; - QuestStep obj82 = new QuestStep(EInteractionType.Combat, 1009640u, new Vector3(-143.45007f, 3.3107295f, -663.99634f), 156) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list120 = new List(num3); - CollectionsMarshal.SetCount(list120, num3); - CollectionsMarshal.AsSpan(list120)[0] = 725u; - obj82.KillEnemyDataIds = list120; - num3 = 6; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - Span span72 = CollectionsMarshal.AsSpan(list121); - span72[0] = null; - span72[1] = null; - span72[2] = null; - span72[3] = null; - span72[4] = null; - span72[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj82.CompletionQuestVariablesFlags = list121; - reference85 = obj82; - ref QuestStep reference86 = ref span70[3]; - QuestStep obj83 = new QuestStep(EInteractionType.Combat, 1009670u, new Vector3(-189.28821f, 4.6535096f, -654.9325f), 156) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list122 = new List(num3); - CollectionsMarshal.SetCount(list122, num3); - CollectionsMarshal.AsSpan(list122)[0] = 725u; - obj83.KillEnemyDataIds = list122; - reference86 = obj83; - obj80.Steps = list117; - reference83 = obj80; - ref QuestSequence reference87 = ref span68[3]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - Span span73 = CollectionsMarshal.AsSpan(list123); - span73[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(37.581226f, 29f, -798.03467f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(37.581226f, 29f, -798.03467f), - MaximumDistance = 5f, - TerritoryId = 156 - } - } - } - }; - span73[1] = new QuestStep(EInteractionType.Interact, 1009220u, new Vector3(40.93994f, 29f, -798.3673f), 156); - obj84.Steps = list123; - reference87 = obj84; - ref QuestSequence reference88 = ref span68[4]; - QuestSequence obj85 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - Span span74 = CollectionsMarshal.AsSpan(list124); - span74[0] = new QuestStep(EInteractionType.Craft, null, null, 154) - { - ItemId = 8118u, - ItemCount = 2, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span74[1] = new QuestStep(EInteractionType.CompleteQuest, 1009215u, new Vector3(167.01001f, -13.604617f, 110.85681f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(167.01001f, -13.604617f, 110.85681f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj85.Steps = list124; - reference88 = obj85; - questRoot16.QuestSequence = list114; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(1521); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list125 = new List(num); - CollectionsMarshal.SetCount(list125, num); - CollectionsMarshal.AsSpan(list125)[0] = "Censored"; - questRoot17.Author = list125; - num = 5; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - Span span75 = CollectionsMarshal.AsSpan(list126); - ref QuestSequence reference89 = ref span75[0]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009216u, new Vector3(164.35486f, -22.797548f, 114.64099f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(153.8872f, -9.001622f, 77.50049f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj86.Steps = list127; - reference89 = obj86; - ref QuestSequence reference90 = ref span75[1]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - Span span76 = CollectionsMarshal.AsSpan(list128); - span76[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 155) - { - TargetClass = EExtendedClassJob.Botanist - }; - ref QuestStep reference91 = ref span76[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Gather, null, null, 155); - num3 = 2; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - Span span77 = CollectionsMarshal.AsSpan(list129); - span77[0] = new GatheredItem - { - ItemId = 2001424u, - ItemCount = 15 - }; - span77[1] = new GatheredItem - { - ItemId = 2001425u, - ItemCount = 5 - }; - questStep4.ItemsToGather = list129; - reference91 = questStep4; - obj87.Steps = list128; - reference90 = obj87; - ref QuestSequence reference92 = ref span75[2]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.Interact, 1009646u, new Vector3(246.78406f, 302f, -256.64148f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj88.Steps = list130; - reference92 = obj88; - ref QuestSequence reference93 = ref span75[3]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.Interact, 1009221u, new Vector3(202.13623f, 301.99976f, -253.55927f), 155); - obj89.Steps = list131; - reference93 = obj89; - ref QuestSequence reference94 = ref span75[4]; - QuestSequence obj90 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - Span span78 = CollectionsMarshal.AsSpan(list132); - span78[0] = new QuestStep(EInteractionType.Craft, null, null, 155) - { - ItemId = 8121u, - ItemCount = 2, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span78[1] = new QuestStep(EInteractionType.CompleteQuest, 1009216u, new Vector3(164.35486f, -22.797548f, 114.64099f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(153.8872f, -9.001622f, 77.50049f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj90.Steps = list132; - reference94 = obj90; - questRoot17.QuestSequence = list126; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(1522); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list133 = new List(num); - CollectionsMarshal.SetCount(list133, num); - CollectionsMarshal.AsSpan(list133)[0] = "Censored"; - questRoot18.Author = list133; - num = 5; - List list134 = new List(num); - CollectionsMarshal.SetCount(list134, num); - Span span79 = CollectionsMarshal.AsSpan(list134); - ref QuestSequence reference95 = ref span79[0]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009216u, new Vector3(164.35486f, -22.797548f, 114.64099f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(153.8872f, -9.001622f, 77.50049f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj91.Steps = list135; - reference95 = obj91; - ref QuestSequence reference96 = ref span79[1]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - Span span80 = CollectionsMarshal.AsSpan(list136); - span80[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 155) - { - TargetClass = EExtendedClassJob.Miner - }; - ref QuestStep reference97 = ref span80[1]; - QuestStep questStep5 = new QuestStep(EInteractionType.Gather, null, null, 155); - num3 = 2; - List list137 = new List(num3); - CollectionsMarshal.SetCount(list137, num3); - Span span81 = CollectionsMarshal.AsSpan(list137); - span81[0] = new GatheredItem - { - ItemId = 2001426u, - ItemCount = 15 - }; - span81[1] = new GatheredItem - { - ItemId = 2001427u, - ItemCount = 5 - }; - questStep5.ItemsToGather = list137; - reference97 = questStep5; - obj92.Steps = list136; - reference96 = obj92; - ref QuestSequence reference98 = ref span79[2]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.Interact, 1009647u, new Vector3(204.97437f, 302.26498f, -250.84308f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj93.Steps = list138; - reference98 = obj93; - ref QuestSequence reference99 = ref span79[3]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.Interact, 1009221u, new Vector3(202.13623f, 301.99976f, -253.55927f), 155); - obj94.Steps = list139; - reference99 = obj94; - ref QuestSequence reference100 = ref span79[4]; - QuestSequence obj95 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - Span span82 = CollectionsMarshal.AsSpan(list140); - span82[0] = new QuestStep(EInteractionType.Craft, null, null, 155) - { - ItemId = 8122u, - ItemCount = 2, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span82[1] = new QuestStep(EInteractionType.CompleteQuest, 1009216u, new Vector3(164.35486f, -22.797548f, 114.64099f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(153.8872f, -9.001622f, 77.50049f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj95.Steps = list140; - reference100 = obj95; - questRoot18.QuestSequence = list134; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(1523); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list141 = new List(num); - CollectionsMarshal.SetCount(list141, num); - CollectionsMarshal.AsSpan(list141)[0] = "Censored"; - questRoot19.Author = list141; - num = 5; - List list142 = new List(num); - CollectionsMarshal.SetCount(list142, num); - Span span83 = CollectionsMarshal.AsSpan(list142); - ref QuestSequence reference101 = ref span83[0]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009216u, new Vector3(164.35486f, -22.797548f, 114.64099f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(153.8872f, -9.001622f, 77.50049f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj96.Steps = list143; - reference101 = obj96; - ref QuestSequence reference102 = ref span83[1]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.Interact, 1009204u, new Vector3(151.93408f, -18.41936f, 100.72473f), 154); - obj97.Steps = list144; - reference102 = obj97; - ref QuestSequence reference103 = ref span83[2]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.Interact, 1009648u, new Vector3(-174.60901f, 304.1538f, -322.4079f), 155) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardGatesOfJudgement - } - }; - obj98.Steps = list145; - reference103 = obj98; - ref QuestSequence reference104 = ref span83[3]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.Interact, 1009221u, new Vector3(202.13623f, 301.99976f, -253.55927f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj99.Steps = list146; - reference104 = obj99; - ref QuestSequence reference105 = ref span83[4]; - QuestSequence obj100 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - Span span84 = CollectionsMarshal.AsSpan(list147); - span84[0] = new QuestStep(EInteractionType.Craft, null, null, 155) - { - ItemId = 8123u, - ItemCount = 3, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span84[1] = new QuestStep(EInteractionType.CompleteQuest, 1009216u, new Vector3(164.35486f, -22.797548f, 114.64099f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(153.8872f, -9.001622f, 77.50049f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj100.Steps = list147; - reference105 = obj100; - questRoot19.QuestSequence = list142; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(1528); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list148 = new List(num); - CollectionsMarshal.SetCount(list148, num); - CollectionsMarshal.AsSpan(list148)[0] = "liza"; - questRoot20.Author = list148; - num = 2; - List list149 = new List(num); - CollectionsMarshal.SetCount(list149, num); - Span span85 = CollectionsMarshal.AsSpan(list149); - ref QuestSequence reference106 = ref span85[0]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - ref QuestStep reference107 = ref CollectionsMarshal.AsSpan(list150)[0]; - QuestStep obj102 = new QuestStep(EInteractionType.AcceptQuest, 1003550u, new Vector3(76.85962f, 39.99632f, 78.99597f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition obj103 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list151 = new List(num3); - CollectionsMarshal.SetCount(list151, num3); - CollectionsMarshal.AsSpan(list151)[0] = 128; - obj103.InTerritory = list151; - skipConditions2.AetheryteShortcutIf = obj103; - obj102.SkipConditions = skipConditions2; - reference107 = obj102; - obj101.Steps = list150; - reference106 = obj101; - ref QuestSequence reference108 = ref span85[1]; - QuestSequence obj104 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009236u, new Vector3(-20.431885f, 91.99992f, -1.3886108f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.LimsaAirship - } - }; - obj104.Steps = list152; - reference108 = obj104; - questRoot20.QuestSequence = list149; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(1530); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list153 = new List(num); - CollectionsMarshal.SetCount(list153, num); - CollectionsMarshal.AsSpan(list153)[0] = "liza"; - questRoot21.Author = list153; - num = 5; - List list154 = new List(num); - CollectionsMarshal.SetCount(list154, num); - Span span86 = CollectionsMarshal.AsSpan(list154); - ref QuestSequence reference109 = ref span86[0]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009294u, new Vector3(-63.767517f, -1.7171676f, 11.673096f), 132); - obj105.Steps = list155; - reference109 = obj105; - ref QuestSequence reference110 = ref span86[1]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.Interact, 1000587u, new Vector3(-7.248047f, -8.407776f, 268.23828f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - obj106.Steps = list156; - reference110 = obj106; - ref QuestSequence reference111 = ref span86[2]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - Span span87 = CollectionsMarshal.AsSpan(list157); - span87[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(198.12068f, -31.484615f, -218.4991f), 152) - { - Fly = true - }; - span87[1] = new QuestStep(EInteractionType.Interact, 2004430u, new Vector3(198.2909f, -29.83142f, -220.44714f), 152); - obj107.Steps = list157; - reference111 = obj107; - ref QuestSequence reference112 = ref span86[3]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.Duty, null, null, 152) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 78u - } - }; - obj108.Steps = list158; - reference112 = obj108; - ref QuestSequence reference113 = ref span86[4]; - QuestSequence obj109 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - Span span88 = CollectionsMarshal.AsSpan(list159); - span88[0] = new QuestStep(EInteractionType.UseItem, null, null, 132) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span88[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span88[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span88[3] = new QuestStep(EInteractionType.CompleteQuest, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212); - obj109.Steps = list159; - reference113 = obj109; - questRoot21.QuestSequence = list154; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(1531); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list160 = new List(num); - CollectionsMarshal.SetCount(list160, num); - CollectionsMarshal.AsSpan(list160)[0] = "liza"; - questRoot22.Author = list160; - num = 6; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - Span span89 = CollectionsMarshal.AsSpan(list161); - ref QuestSequence reference114 = ref span89[0]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj110.Steps = list162; - reference114 = obj110; - ref QuestSequence reference115 = ref span89[1]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.Interact, 1000705u, new Vector3(-243.15253f, -4.000101f, -7.950012f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - obj111.Steps = list163; - reference115 = obj111; - ref QuestSequence reference116 = ref span89[2]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.Interact, 1006238u, new Vector3(197.77222f, 7.8551226f, -22.14087f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill - }; - obj112.Steps = list164; - reference116 = obj112; - ref QuestSequence reference117 = ref span89[3]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - Span span90 = CollectionsMarshal.AsSpan(list165); - ref QuestStep reference118 = ref span90[0]; - QuestStep obj114 = new QuestStep(EInteractionType.Interact, 1000312u, new Vector3(269.6421f, 7.877909f, -206.34778f), 153) - { - Fly = true - }; - num3 = 6; - List list166 = new List(num3); - CollectionsMarshal.SetCount(list166, num3); - Span span91 = CollectionsMarshal.AsSpan(list166); - span91[0] = null; - span91[1] = null; - span91[2] = null; - span91[3] = null; - span91[4] = null; - span91[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj114.CompletionQuestVariablesFlags = list166; - reference118 = obj114; - ref QuestStep reference119 = ref span90[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1000338u, new Vector3(268.20776f, 10.393627f, -250.11066f), 153); - num3 = 6; - List list167 = new List(num3); - CollectionsMarshal.SetCount(list167, num3); - Span span92 = CollectionsMarshal.AsSpan(list167); - span92[0] = null; - span92[1] = null; - span92[2] = null; - span92[3] = null; - span92[4] = null; - span92[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list167; - reference119 = questStep6; - ref QuestStep reference120 = ref span90[2]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1000340u, new Vector3(277.51575f, 11.186312f, -255.60394f), 153); - num3 = 6; - List list168 = new List(num3); - CollectionsMarshal.SetCount(list168, num3); - Span span93 = CollectionsMarshal.AsSpan(list168); - span93[0] = null; - span93[1] = null; - span93[2] = null; - span93[3] = null; - span93[4] = null; - span93[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list168; - reference120 = questStep7; - obj113.Steps = list165; - reference117 = obj113; - ref QuestSequence reference121 = ref span89[4]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - Span span94 = CollectionsMarshal.AsSpan(list169); - span94[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(265.58423f, 9.040689f, -227.60555f), 153); - span94[1] = new QuestStep(EInteractionType.Interact, 2004282u, new Vector3(261.5548f, 15.42688f, -125.90222f), 153) - { - Fly = true - }; - obj115.Steps = list169; - reference121 = obj115; - ref QuestSequence reference122 = ref span89[5]; - QuestSequence obj116 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000705u, new Vector3(-243.15253f, -4.000101f, -7.950012f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - }, - NextQuestId = new QuestId(1532) - }; - obj116.Steps = list170; - reference122 = obj116; - questRoot22.QuestSequence = list161; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(1532); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - CollectionsMarshal.AsSpan(list171)[0] = "liza"; - questRoot23.Author = list171; - num = 10; - List list172 = new List(num); - CollectionsMarshal.SetCount(list172, num); - Span span95 = CollectionsMarshal.AsSpan(list172); - ref QuestSequence reference123 = ref span95[0]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj117.Steps = list173; - reference123 = obj117; - ref QuestSequence reference124 = ref span95[1]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.Interact, 1006273u, new Vector3(619.0126f, 23.936245f, 455.10022f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj118.Steps = list174; - reference124 = obj118; - ref QuestSequence reference125 = ref span95[2]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.Interact, 1009267u, new Vector3(194.20154f, 59.531815f, -144.54877f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - obj119.Steps = list175; - reference125 = obj119; - ref QuestSequence reference126 = ref span95[3]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - Span span96 = CollectionsMarshal.AsSpan(list176); - span96[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-348.54996f, 67.72218f, -344.0944f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - span96[1] = new QuestStep(EInteractionType.Interact, 1009268u, new Vector3(-319.9054f, 4.416262f, -571.40466f), 180) - { - Fly = true - }; - obj120.Steps = list176; - reference126 = obj120; - ref QuestSequence reference127 = ref span95[4]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.UseItem, 1009268u, new Vector3(-319.9054f, 4.416262f, -571.40466f), 180) - { - ItemId = 2001334u - }; - obj121.Steps = list177; - reference127 = obj121; - ref QuestSequence reference128 = ref span95[5]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.UseItem, 1009268u, new Vector3(-319.9054f, 4.416262f, -571.40466f), 180) - { - ItemId = 2001334u - }; - obj122.Steps = list178; - reference128 = obj122; - ref QuestSequence reference129 = ref span95[6]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - CollectionsMarshal.AsSpan(list179)[0] = new QuestStep(EInteractionType.UseItem, 1009268u, new Vector3(-319.9054f, 4.416262f, -571.40466f), 180) - { - ItemId = 2001334u - }; - obj123.Steps = list179; - reference129 = obj123; - ref QuestSequence reference130 = ref span95[7]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.Interact, 1006273u, new Vector3(619.0126f, 23.936245f, 455.10022f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj124.Steps = list180; - reference130 = obj124; - ref QuestSequence reference131 = ref span95[8]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.Interact, 2004284u, new Vector3(517.32654f, 12.558105f, 78.93494f), 137) - { - Fly = true - }; - obj125.Steps = list181; - reference131 = obj125; - ref QuestSequence reference132 = ref span95[9]; - QuestSequence obj126 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006273u, new Vector3(619.0126f, 23.936245f, 455.10022f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - NextQuestId = new QuestId(1533) - }; - obj126.Steps = list182; - reference132 = obj126; - questRoot23.QuestSequence = list172; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(1533); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - CollectionsMarshal.AsSpan(list183)[0] = "liza"; - questRoot24.Author = list183; - num = 5; - List list184 = new List(num); - CollectionsMarshal.SetCount(list184, num); - Span span97 = CollectionsMarshal.AsSpan(list184); - ref QuestSequence reference133 = ref span97[0]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj127.Steps = list185; - reference133 = obj127; - ref QuestSequence reference134 = ref span97[1]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.Interact, 1009271u, new Vector3(149.9198f, 7.492006f, 109.391846f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - obj128.Steps = list186; - reference134 = obj128; - ref QuestSequence reference135 = ref span97[2]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - Span span98 = CollectionsMarshal.AsSpan(list187); - ref QuestStep reference136 = ref span98[0]; - QuestStep obj130 = new QuestStep(EInteractionType.Interact, 1009272u, new Vector3(-39.16992f, 13.499999f, 104.99719f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahWeaver, - To = EAetheryteLocation.UldahGoldsmith - } - }; - num3 = 6; - List list188 = new List(num3); - CollectionsMarshal.SetCount(list188, num3); - Span span99 = CollectionsMarshal.AsSpan(list188); - span99[0] = null; - span99[1] = null; - span99[2] = null; - span99[3] = null; - span99[4] = null; - span99[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj130.CompletionQuestVariablesFlags = list188; - num3 = 1; - List list189 = new List(num3); - CollectionsMarshal.SetCount(list189, num3); - CollectionsMarshal.AsSpan(list189)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_SUBPST007_01533_Q1_000_000"), - Answer = new ExcelRef("TEXT_SUBPST007_01533_A1_000_002") - }; - obj130.DialogueChoices = list189; - reference136 = obj130; - ref QuestStep reference137 = ref span98[1]; - QuestStep obj131 = new QuestStep(EInteractionType.Interact, 1009273u, new Vector3(-120.74469f, 41.50016f, 134.5083f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGoldsmith, - To = EAetheryteLocation.UldahAlchemist - } - }; - num3 = 6; - List list190 = new List(num3); - CollectionsMarshal.SetCount(list190, num3); - Span span100 = CollectionsMarshal.AsSpan(list190); - span100[0] = null; - span100[1] = null; - span100[2] = null; - span100[3] = null; - span100[4] = null; - span100[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj131.CompletionQuestVariablesFlags = list190; - num3 = 1; - List list191 = new List(num3); - CollectionsMarshal.SetCount(list191, num3); - CollectionsMarshal.AsSpan(list191)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_SUBPST007_01533_Q2_000_000"), - Answer = new ExcelRef("TEXT_SUBPST007_01533_A2_000_001") - }; - obj131.DialogueChoices = list191; - reference137 = obj131; - obj129.Steps = list187; - reference135 = obj129; - ref QuestSequence reference138 = ref span97[3]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(112.655914f, 8.361085f, 73.20917f), 131) - { - RestartNavigationIfCancelled = false, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAlchemist, - To = EAetheryteLocation.UldahWeaver - } - }; - obj132.Steps = list192; - reference138 = obj132; - ref QuestSequence reference139 = ref span97[4]; - QuestSequence obj133 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009369u, new Vector3(151.26257f, 7.492006f, 109.84961f), 131) - { - NextQuestId = new QuestId(1571) - }; - obj133.Steps = list193; - reference139 = obj133; - questRoot24.QuestSequence = list184; - AddQuest(questId24, questRoot24); - } - - private static void LoadQuests31() - { - QuestId questId = new QuestId(1551); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 2; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012299u, new Vector3(-16.586609f, 206.49942f, 42.98462f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019615u, new Vector3(-71.763245f, 206.50021f, 32.638916f), 478) - { - StopDistance = 5f - }; - obj2.Steps = list4; - reference2 = obj2; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(1553); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list5 = new List(num); - CollectionsMarshal.SetCount(list5, num); - CollectionsMarshal.AsSpan(list5)[0] = "liza"; - questRoot2.Author = list5; - num = 2; - List list6 = new List(num); - CollectionsMarshal.SetCount(list6, num); - Span span2 = CollectionsMarshal.AsSpan(list6); - ref QuestSequence reference3 = ref span2[0]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 0 - }; - num2 = 4; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - Span span3 = CollectionsMarshal.AsSpan(list7); - ref QuestStep reference4 = ref span3[0]; - QuestStep obj4 = new QuestStep(EInteractionType.UseItem, null, null, 132) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - int num3 = 2; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - Span span4 = CollectionsMarshal.AsSpan(list8); - span4[0] = 140; - span4[1] = 212; - skipStepConditions.InTerritory = list8; - skipConditions.StepIf = skipStepConditions; - obj4.SkipConditions = skipConditions; - reference4 = obj4; - ref QuestStep reference5 = ref span3[1]; - QuestStep questStep = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - CollectionsMarshal.AsSpan(list9)[0] = 212; - skipStepConditions2.InTerritory = list9; - skipConditions2.StepIf = skipStepConditions2; - questStep.SkipConditions = skipConditions2; - reference5 = questStep; - ref QuestStep reference6 = ref span3[2]; - QuestStep obj5 = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list10 = new List(num3); - CollectionsMarshal.SetCount(list10, num3); - CollectionsMarshal.AsSpan(list10)[0] = 212; - skipStepConditions3.InTerritory = list10; - skipConditions3.StepIf = skipStepConditions3; - obj5.SkipConditions = skipConditions3; - reference6 = obj5; - span3[3] = new QuestStep(EInteractionType.AcceptQuest, 1011618u, new Vector3(10.330261f, -3.0000017f, -54.8562f), 212); - obj3.Steps = list7; - reference3 = obj3; - ref QuestSequence reference7 = ref span2[1]; - QuestSequence obj6 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.CompleteQuest, 1004917u, new Vector3(-358.6328f, 8.469424f, 422.4154f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings, - NextQuestId = new QuestId(1021) - }; - obj6.Steps = list11; - reference7 = obj6; - questRoot2.QuestSequence = list6; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(1555); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - CollectionsMarshal.AsSpan(list12)[0] = "Censored"; - questRoot3.Author = list12; - num = 2; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - Span span5 = CollectionsMarshal.AsSpan(list13); - ref QuestSequence reference8 = ref span5[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - ref QuestStep reference9 = ref CollectionsMarshal.AsSpan(list14)[0]; - QuestStep obj8 = new QuestStep(EInteractionType.AcceptQuest, 1025721u, new Vector3(-75.94415f, 11.800039f, -115.617676f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeBokairoInn - } - }; - num3 = 1; - List list15 = new List(num3); - CollectionsMarshal.SetCount(list15, num3); - CollectionsMarshal.AsSpan(list15)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDY992_01555_Q1_000_000"), - Answer = new ExcelRef("TEXT_STMBDY992_01555_A1_000_001") - }; - obj8.DialogueChoices = list15; - reference9 = obj8; - obj7.Steps = list14; - reference8 = obj7; - ref QuestSequence reference10 = ref span5[1]; - QuestSequence obj9 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025721u, new Vector3(-75.94415f, 11.800039f, -115.617676f), 628); - obj9.Steps = list16; - reference10 = obj9; - questRoot3.QuestSequence = list13; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(1558); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - CollectionsMarshal.AsSpan(list17)[0] = "liza"; - questRoot4.Author = list17; - num = 2; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - Span span6 = CollectionsMarshal.AsSpan(list18); - ref QuestSequence reference11 = ref span6[0]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - Span span7 = CollectionsMarshal.AsSpan(list19); - span7[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(17.134737f, 21.252728f, -640.2821f), 156); - span7[1] = new QuestStep(EInteractionType.AcceptQuest, 1006950u, new Vector3(14.755432f, 21.252728f, -640.71106f), 156); - obj10.Steps = list19; - reference11 = obj10; - ref QuestSequence reference12 = ref span6[1]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006988u, new Vector3(41.33667f, 28.999998f, -795.4681f), 156) - { - StopDistance = 5f - }; - obj11.Steps = list20; - reference12 = obj11; - questRoot4.QuestSequence = list18; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(1560); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - CollectionsMarshal.AsSpan(list21)[0] = "alydev"; - questRoot5.Author = list21; - num = 9; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - Span span8 = CollectionsMarshal.AsSpan(list22); - ref QuestSequence reference13 = ref span8[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000471u, new Vector3(-60.471558f, 0.19999865f, 6.301941f), 148); - obj12.Steps = list23; - reference13 = obj12; - ref QuestSequence reference14 = ref span8[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - Span span9 = CollectionsMarshal.AsSpan(list24); - ref QuestStep reference15 = ref span9[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2004436u, new Vector3(-58.06067f, 0.19836426f, 5.355835f), 148); - num3 = 6; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - Span span10 = CollectionsMarshal.AsSpan(list25); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list25; - reference15 = questStep2; - ref QuestStep reference16 = ref span9[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2004432u, new Vector3(-64.62195f, -0.015319824f, -5.2339478f), 148); - num3 = 6; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - Span span11 = CollectionsMarshal.AsSpan(list26); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list26; - reference16 = questStep3; - ref QuestStep reference17 = ref span9[2]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2004433u, new Vector3(-47.28778f, -0.015319824f, -4.0131226f), 148); - num3 = 6; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - Span span12 = CollectionsMarshal.AsSpan(list27); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list27; - reference17 = questStep4; - ref QuestStep reference18 = ref span9[3]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2004434u, new Vector3(-51.773926f, 0.19836426f, 16.128723f), 148); - num3 = 6; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - Span span13 = CollectionsMarshal.AsSpan(list28); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list28; - reference18 = questStep5; - ref QuestStep reference19 = ref span9[4]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2004435u, new Vector3(-63.309692f, 0.19836426f, 16.03717f), 148); - num3 = 6; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - Span span14 = CollectionsMarshal.AsSpan(list29); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list29; - reference19 = questStep6; - obj13.Steps = list24; - reference14 = obj13; - ref QuestSequence reference20 = ref span8[2]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.Interact, 1000471u, new Vector3(-60.471558f, 0.19999865f, 6.301941f), 148); - obj14.Steps = list30; - reference20 = obj14; - ref QuestSequence reference21 = ref span8[3]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.Interact, 1000473u, new Vector3(-44.14441f, 0.74388826f, -32.88324f), 148); - obj15.Steps = list31; - reference21 = obj15; - ref QuestSequence reference22 = ref span8[4]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 1000471u, new Vector3(-60.471558f, 0.19999865f, 6.301941f), 148); - obj16.Steps = list32; - reference22 = obj16; - ref QuestSequence reference23 = ref span8[5]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Interact, 1000470u, new Vector3(-59.006653f, -0.010835781f, 26.41333f), 148); - obj17.Steps = list33; - reference23 = obj17; - ref QuestSequence reference24 = ref span8[6]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.Interact, 1009569u, new Vector3(-56.10742f, -0.020424694f, 28.54956f), 148) - { - StopDistance = 7f - }; - obj18.Steps = list34; - reference24 = obj18; - ref QuestSequence reference25 = ref span8[7]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.Interact, 1000470u, new Vector3(-59.006653f, -0.010835781f, 26.41333f), 148); - obj19.Steps = list35; - reference25 = obj19; - ref QuestSequence reference26 = ref span8[8]; - QuestSequence obj20 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000471u, new Vector3(-60.471558f, 0.19999865f, 6.301941f), 148); - obj20.Steps = list36; - reference26 = obj20; - questRoot5.QuestSequence = list22; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(1563); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - CollectionsMarshal.AsSpan(list37)[0] = "liza"; - questRoot6.Author = list37; - num = 2; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - Span span15 = CollectionsMarshal.AsSpan(list38); - ref QuestSequence reference27 = ref span15[0]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009294u, new Vector3(-63.767517f, -1.7171676f, 11.673096f), 132); - obj21.Steps = list39; - reference27 = obj21; - ref QuestSequence reference28 = ref span15[1]; - QuestSequence obj22 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009152u, new Vector3(-74.47931f, -0.50372624f, 3.250122f), 132) - { - NextQuestId = new QuestId(2119) - }; - obj22.Steps = list40; - reference28 = obj22; - questRoot6.QuestSequence = list38; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(1564); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - CollectionsMarshal.AsSpan(list41)[0] = "liza"; - questRoot7.Author = list41; - num = 2; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - Span span16 = CollectionsMarshal.AsSpan(list42); - ref QuestSequence reference29 = ref span16[0]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003550u, new Vector3(76.85962f, 39.99632f, 78.99597f), 128); - obj23.Steps = list43; - reference29 = obj23; - ref QuestSequence reference30 = ref span16[1]; - QuestSequence obj24 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009552u, new Vector3(96.025024f, 40.247147f, 60.68506f), 128) - { - NextQuestId = new QuestId(2119) - }; - obj24.Steps = list44; - reference30 = obj24; - questRoot7.QuestSequence = list42; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(1565); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - CollectionsMarshal.AsSpan(list45)[0] = "liza"; - questRoot8.Author = list45; - num = 2; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - Span span17 = CollectionsMarshal.AsSpan(list46); - ref QuestSequence reference31 = ref span17[0]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001634u, new Vector3(-130.93768f, 4.0999947f, -91.02008f), 130); - obj25.Steps = list47; - reference31 = obj25; - ref QuestSequence reference32 = ref span17[1]; - QuestSequence obj26 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001379u, new Vector3(-153.55157f, 4.10972f, -94.04144f), 130) - { - NextQuestId = new QuestId(2119) - }; - obj26.Steps = list48; - reference32 = obj26; - questRoot8.QuestSequence = list46; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(1566); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - CollectionsMarshal.AsSpan(list49)[0] = "Censored"; - questRoot9.Author = list49; - num = 4; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - Span span18 = CollectionsMarshal.AsSpan(list50); - ref QuestSequence reference33 = ref span18[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009216u, new Vector3(164.35486f, -22.797548f, 114.64099f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(153.8872f, -9.001622f, 77.50049f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj27.Steps = list51; - reference33 = obj27; - ref QuestSequence reference34 = ref span18[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - Span span19 = CollectionsMarshal.AsSpan(list52); - span19[0] = new QuestStep(EInteractionType.SwitchClass, null, null, 154) - { - TargetClass = EExtendedClassJob.ConfiguredCombatJob - }; - ref QuestStep reference35 = ref span19[1]; - QuestStep obj29 = new QuestStep(EInteractionType.Combat, null, new Vector3(581.92236f, 282.2539f, -304.58823f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - Span span20 = CollectionsMarshal.AsSpan(list53); - ref ComplexCombatData reference36 = ref span20[0]; - ComplexCombatData obj30 = new ComplexCombatData - { - DataId = 45u, - MinimumKillCount = 1u - }; - int num4 = 6; - List list54 = new List(num4); - CollectionsMarshal.SetCount(list54, num4); - Span span21 = CollectionsMarshal.AsSpan(list54); - span21[0] = null; - span21[1] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = null; - obj30.CompletionQuestVariablesFlags = list54; - reference36 = obj30; - span20[1] = new ComplexCombatData - { - DataId = 3241u, - MinimumKillCount = 1u - }; - obj29.ComplexCombatData = list53; - obj29.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - reference35 = obj29; - obj28.Steps = list52; - reference34 = obj28; - ref QuestSequence reference37 = ref span18[2]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.Interact, 1009221u, new Vector3(202.13623f, 301.99976f, -253.55927f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj31.Steps = list55; - reference37 = obj31; - ref QuestSequence reference38 = ref span18[3]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - Span span22 = CollectionsMarshal.AsSpan(list56); - span22[0] = new QuestStep(EInteractionType.Craft, null, null, 155) - { - ItemId = 8125u, - ItemCount = 2, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span22[1] = new QuestStep(EInteractionType.CompleteQuest, 1009216u, new Vector3(164.35486f, -22.797548f, 114.64099f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(153.8872f, -9.001622f, 77.50049f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj32.Steps = list56; - reference38 = obj32; - questRoot9.QuestSequence = list50; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(1567); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - CollectionsMarshal.AsSpan(list57)[0] = "Censored"; - questRoot10.Author = list57; - num = 4; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - Span span23 = CollectionsMarshal.AsSpan(list58); - ref QuestSequence reference39 = ref span23[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009216u, new Vector3(164.35486f, -22.797548f, 114.64099f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(153.8872f, -9.001622f, 77.50049f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj33.Steps = list59; - reference39 = obj33; - ref QuestSequence reference40 = ref span23[1]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - Span span24 = CollectionsMarshal.AsSpan(list60); - ref QuestStep reference41 = ref span24[0]; - QuestStep obj35 = new QuestStep(EInteractionType.Interact, 2004490u, new Vector3(596.704f, 303.5476f, -89.982544f), 155) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 6; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - Span span25 = CollectionsMarshal.AsSpan(list61); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj35.CompletionQuestVariablesFlags = list61; - reference41 = obj35; - ref QuestStep reference42 = ref span24[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2004491u, new Vector3(638.239f, 304.7379f, -93.888794f), 155); - num3 = 6; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - Span span26 = CollectionsMarshal.AsSpan(list62); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list62; - reference42 = questStep7; - span24[2] = new QuestStep(EInteractionType.Interact, 2004492u, new Vector3(618.95166f, 301.13672f, -43.47296f), 155); - obj34.Steps = list60; - reference40 = obj34; - ref QuestSequence reference43 = ref span23[2]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.Interact, 1009221u, new Vector3(202.13623f, 301.99976f, -253.55927f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj36.Steps = list63; - reference43 = obj36; - ref QuestSequence reference44 = ref span23[3]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - Span span27 = CollectionsMarshal.AsSpan(list64); - span27[0] = new QuestStep(EInteractionType.Craft, null, null, 155) - { - ItemId = 8126u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span27[1] = new QuestStep(EInteractionType.CompleteQuest, 1009216u, new Vector3(164.35486f, -22.797548f, 114.64099f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(153.8872f, -9.001622f, 77.50049f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj37.Steps = list64; - reference44 = obj37; - questRoot10.QuestSequence = list58; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(1568); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - CollectionsMarshal.AsSpan(list65)[0] = "Censored"; - questRoot11.Author = list65; - num = 4; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - Span span28 = CollectionsMarshal.AsSpan(list66); - ref QuestSequence reference45 = ref span28[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009216u, new Vector3(164.35486f, -22.797548f, 114.64099f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(153.8872f, -9.001622f, 77.50049f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj38.Steps = list67; - reference45 = obj38; - ref QuestSequence reference46 = ref span28[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Say, 1009649u, new Vector3(627.8019f, 300.56494f, -16.434021f), 155) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANIXA607_01568_SYSTEM_100_062" - } - }; - obj39.Steps = list68; - reference46 = obj39; - ref QuestSequence reference47 = ref span28[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1009221u, new Vector3(202.13623f, 301.99976f, -253.55927f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj40.Steps = list69; - reference47 = obj40; - ref QuestSequence reference48 = ref span28[3]; - QuestSequence obj41 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - Span span29 = CollectionsMarshal.AsSpan(list70); - span29[0] = new QuestStep(EInteractionType.Craft, null, null, 155) - { - ItemId = 8127u, - ItemCount = 2, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span29[1] = new QuestStep(EInteractionType.CompleteQuest, 1009216u, new Vector3(164.35486f, -22.797548f, 114.64099f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(153.8872f, -9.001622f, 77.50049f), - MaximumDistance = 50f, - TerritoryId = 154 - } - } - } - }; - obj41.Steps = list70; - reference48 = obj41; - questRoot11.QuestSequence = list66; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(1570); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - CollectionsMarshal.AsSpan(list71)[0] = "liza"; - questRoot12.Author = list71; - num = 6; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - Span span30 = CollectionsMarshal.AsSpan(list72); - ref QuestSequence reference49 = ref span30[0]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj42.Steps = list73; - reference49 = obj42; - ref QuestSequence reference50 = ref span30[1]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - Span span31 = CollectionsMarshal.AsSpan(list74); - span31[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-139.04318f, 8.522301f, 280.0128f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span31[1] = new QuestStep(EInteractionType.Interact, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153); - obj43.Steps = list74; - reference50 = obj43; - ref QuestSequence reference51 = ref span30[2]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.Interact, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa - }; - obj44.Steps = list75; - reference51 = obj44; - ref QuestSequence reference52 = ref span30[3]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.Interact, 2004573u, new Vector3(36.545288f, -3.7080078f, 225.7572f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - obj45.Steps = list76; - reference52 = obj45; - ref QuestSequence reference53 = ref span30[4]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - ref QuestStep reference54 = ref CollectionsMarshal.AsSpan(list77)[0]; - QuestStep obj47 = new QuestStep(EInteractionType.Combat, null, new Vector3(-83.15885f, -5.7812023f, 321.49606f), 152) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - Span span32 = CollectionsMarshal.AsSpan(list78); - span32[0] = 3552u; - span32[1] = 3553u; - obj47.KillEnemyDataIds = list78; - reference54 = obj47; - obj46.Steps = list77; - reference53 = obj46; - ref QuestSequence reference55 = ref span30[5]; - QuestSequence obj48 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - ref QuestStep reference56 = ref CollectionsMarshal.AsSpan(list79)[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.CompleteQuest, 1009721u, new Vector3(-83.36011f, -5.6851597f, 322.43823f), 152); - num3 = 1; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - CollectionsMarshal.AsSpan(list80)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_SUBPST010_01570_Q1_000_000"), - Answer = new ExcelRef("TEXT_SUBPST010_01570_A1_000_002") - }; - questStep8.DialogueChoices = list80; - questStep8.NextQuestId = new QuestId(1576); - reference56 = questStep8; - obj48.Steps = list79; - reference55 = obj48; - questRoot12.QuestSequence = list72; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(1571); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - CollectionsMarshal.AsSpan(list81)[0] = "liza"; - questRoot13.Author = list81; - num = 9; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - Span span33 = CollectionsMarshal.AsSpan(list82); - ref QuestSequence reference57 = ref span33[0]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj49.Steps = list83; - reference57 = obj49; - ref QuestSequence reference58 = ref span33[1]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.Interact, 1006331u, new Vector3(-144.15204f, 64.989944f, -209.88788f), 180) - { - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - obj50.Steps = list84; - reference58 = obj50; - ref QuestSequence reference59 = ref span33[2]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - Span span34 = CollectionsMarshal.AsSpan(list85); - ref QuestStep reference60 = ref span34[0]; - QuestStep obj52 = new QuestStep(EInteractionType.Combat, 1009726u, new Vector3(-280.8728f, 62.620903f, -201.9837f), 180) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - Span span35 = CollectionsMarshal.AsSpan(list86); - span35[0] = 2864u; - span35[1] = 2865u; - span35[2] = 2866u; - obj52.KillEnemyDataIds = list86; - num3 = 6; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - Span span36 = CollectionsMarshal.AsSpan(list87); - span36[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = null; - obj52.CompletionQuestVariablesFlags = list87; - reference60 = obj52; - span34[1] = new QuestStep(EInteractionType.Interact, 1009726u, new Vector3(-280.8728f, 62.620903f, -201.9837f), 180); - obj51.Steps = list85; - reference59 = obj51; - ref QuestSequence reference61 = ref span33[3]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 1006331u, new Vector3(-144.15204f, 64.989944f, -209.88788f), 180) - { - Fly = true - }; - obj53.Steps = list88; - reference61 = obj53; - ref QuestSequence reference62 = ref span33[4]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Interact, 1009729u, new Vector3(-108.72058f, 64.30314f, -220.38611f), 180); - obj54.Steps = list89; - reference62 = obj54; - ref QuestSequence reference63 = ref span33[5]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.Interact, 1009730u, new Vector3(-145.8305f, 64.83713f, -209.24695f), 180); - obj55.Steps = list90; - reference63 = obj55; - ref QuestSequence reference64 = ref span33[6]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.Interact, 1009732u, new Vector3(-439.59723f, 50.90922f, -319.69183f), 180) - { - Fly = true - }; - obj56.Steps = list91; - reference64 = obj56; - ref QuestSequence reference65 = ref span33[7]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.Interact, 1009753u, new Vector3(-107.408325f, 64.38365f, -223.62103f), 180) - { - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - obj57.Steps = list92; - reference65 = obj57; - ref QuestSequence reference66 = ref span33[8]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006331u, new Vector3(-144.15204f, 64.989944f, -209.88788f), 180) - { - NextQuestId = new QuestId(33) - }; - obj58.Steps = list93; - reference66 = obj58; - questRoot13.QuestSequence = list82; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(1572); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - CollectionsMarshal.AsSpan(list94)[0] = "liza"; - questRoot14.Author = list94; - num = 6; - List list95 = new List(num); - CollectionsMarshal.SetCount(list95, num); - Span span37 = CollectionsMarshal.AsSpan(list95); - ref QuestSequence reference67 = ref span37[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj59.Steps = list96; - reference67 = obj59; - ref QuestSequence reference68 = ref span37[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.Interact, 1000856u, new Vector3(-155.10797f, 4.070978f, 202.71606f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - } - }; - obj60.Steps = list97; - reference68 = obj60; - ref QuestSequence reference69 = ref span37[2]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.Interact, 1009733u, new Vector3(-356.31348f, 8.000001f, 49.54602f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.LimsaArcanist - } - }; - obj61.Steps = list98; - reference69 = obj61; - ref QuestSequence reference70 = ref span37[3]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 2004568u, new Vector3(-356.31348f, 7.9804688f, 48.90515f), 129); - obj62.Steps = list99; - reference70 = obj62; - ref QuestSequence reference71 = ref span37[4]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.UseItem, 2004570u, new Vector3(-83.634705f, 1.9378662f, 826.10803f), 135) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks, - ItemId = 2001446u - }; - obj63.Steps = list100; - reference71 = obj63; - ref QuestSequence reference72 = ref span37[5]; - QuestSequence obj64 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - Span span38 = CollectionsMarshal.AsSpan(list101); - span38[0] = new QuestStep(EInteractionType.PurchaseItem, 1001016u, new Vector3(-42.679565f, 39.999947f, 119.920654f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - }, - ItemId = 4870u, - ItemCount = 1, - PurchaseMenu = new PurchaseMenu - { - ExcelSheet = "GilShop", - Key = new ExcelRef(262186u) - } - }; - span38[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-82.249344f, 2.1958525f, 826.0164f), 135) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }; - span38[2] = new QuestStep(EInteractionType.CompleteQuest, 1009735u, new Vector3(-84.21454f, 1.802455f, 826.5963f), 135) - { - NextQuestId = new QuestId(1575) - }; - obj64.Steps = list101; - reference72 = obj64; - questRoot14.QuestSequence = list95; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(1573); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - CollectionsMarshal.AsSpan(list102)[0] = "liza"; - questRoot15.Author = list102; - num = 5; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - Span span39 = CollectionsMarshal.AsSpan(list103); - ref QuestSequence reference73 = ref span39[0]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj65.Steps = list104; - reference73 = obj65; - ref QuestSequence reference74 = ref span39[1]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 1009739u, new Vector3(-103.83765f, 40f, 113.206665f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj66.Steps = list105; - reference74 = obj66; - ref QuestSequence reference75 = ref span39[2]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.Interact, 1000153u, new Vector3(-44.87683f, -1.2500024f, 56.839844f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj67.Steps = list106; - reference75 = obj67; - ref QuestSequence reference76 = ref span39[3]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - Span span40 = CollectionsMarshal.AsSpan(list107); - span40[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-103.88594f, 41.50016f, 119.898315f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAlchemist - } - }; - span40[1] = new QuestStep(EInteractionType.Interact, 1002299u, new Vector3(-98.8938f, 40.200146f, 120.83618f), 131) - { - StopDistance = 7f - }; - obj68.Steps = list107; - reference76 = obj68; - ref QuestSequence reference77 = ref span39[4]; - QuestSequence obj69 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009744u, new Vector3(-47.470886f, 40f, 60.68506f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - }, - NextQuestId = new QuestId(1485) - }; - obj69.Steps = list108; - reference77 = obj69; - questRoot15.QuestSequence = list103; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(1574); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - CollectionsMarshal.AsSpan(list109)[0] = "liza"; - questRoot16.Author = list109; - num = 11; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - Span span41 = CollectionsMarshal.AsSpan(list110); - ref QuestSequence reference78 = ref span41[0]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.Limsa - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj70.Steps = list111; - reference78 = obj70; - ref QuestSequence reference79 = ref span41[1]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span42 = CollectionsMarshal.AsSpan(list112); - span42[0] = new QuestStep(EInteractionType.Interact, 1001263u, new Vector3(181.41443f, -2.3519497f, -240.40594f), 133) - { - TargetTerritoryId = (ushort)152, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - } - }; - span42[1] = new QuestStep(EInteractionType.Interact, 1009754u, new Vector3(-571.4351f, 10.28263f, 61.020752f), 152); - obj71.Steps = list112; - reference79 = obj71; - ref QuestSequence reference80 = ref span41[2]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - Span span43 = CollectionsMarshal.AsSpan(list113); - ref QuestStep reference81 = ref span43[0]; - QuestStep obj73 = new QuestStep(EInteractionType.Combat, 2004581u, new Vector3(354.72632f, 5.5999756f, -30.167114f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - CollectionsMarshal.AsSpan(list114)[0] = 2843u; - obj73.KillEnemyDataIds = list114; - num3 = 6; - List list115 = new List(num3); - CollectionsMarshal.SetCount(list115, num3); - Span span44 = CollectionsMarshal.AsSpan(list115); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj73.CompletionQuestVariablesFlags = list115; - reference81 = obj73; - ref QuestStep reference82 = ref span43[1]; - QuestStep obj74 = new QuestStep(EInteractionType.Combat, 2004582u, new Vector3(343.2821f, 2.4261475f, 8.895996f), 153) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - CollectionsMarshal.AsSpan(list116)[0] = 2843u; - obj74.KillEnemyDataIds = list116; - num3 = 6; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - Span span45 = CollectionsMarshal.AsSpan(list117); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj74.CompletionQuestVariablesFlags = list117; - reference82 = obj74; - obj72.Steps = list113; - reference80 = obj72; - ref QuestSequence reference83 = ref span41[3]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - ref QuestStep reference84 = ref CollectionsMarshal.AsSpan(list118)[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 2004845u, new Vector3(362.50854f, 1.663208f, -18.478699f), 153); - num3 = 1; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - CollectionsMarshal.AsSpan(list119)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_SUBPST014_01574_Q1_000_000"), - Answer = new ExcelRef("TEXT_SUBPST014_01574_A1_000_001") - }; - questStep9.DialogueChoices = list119; - reference84 = questStep9; - obj75.Steps = list118; - reference83 = obj75; - ref QuestSequence reference85 = ref span41[4]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.Interact, 1009755u, new Vector3(361.19617f, 1.6090399f, -18.448242f), 153); - obj76.Steps = list120; - reference85 = obj76; - ref QuestSequence reference86 = ref span41[5]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.Interact, 1009756u, new Vector3(377.40137f, 0.37321654f, 119.920654f), 153) - { - Fly = true - }; - obj77.Steps = list121; - reference86 = obj77; - ref QuestSequence reference87 = ref span41[6]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - Span span46 = CollectionsMarshal.AsSpan(list122); - span46[0] = new QuestStep(EInteractionType.Interact, 1001263u, new Vector3(181.41443f, -2.3519497f, -240.40594f), 133) - { - TargetTerritoryId = (ushort)152, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - } - }; - span46[1] = new QuestStep(EInteractionType.Interact, 1009754u, new Vector3(-571.4351f, 10.28263f, 61.020752f), 152); - obj78.Steps = list122; - reference87 = obj78; - ref QuestSequence reference88 = ref span41[7]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.Interact, 1009758u, new Vector3(-161.24213f, 7.554849f, 107.10303f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil - }; - obj79.Steps = list123; - reference88 = obj79; - ref QuestSequence reference89 = ref span41[8]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - ref QuestStep reference90 = ref CollectionsMarshal.AsSpan(list124)[0]; - QuestStep obj81 = new QuestStep(EInteractionType.Combat, 2004846u, new Vector3(-181.44507f, 8.0720215f, 101.27405f), 153) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list125 = new List(num3); - CollectionsMarshal.SetCount(list125, num3); - Span span47 = CollectionsMarshal.AsSpan(list125); - span47[0] = 2863u; - span47[1] = 3558u; - obj81.KillEnemyDataIds = list125; - reference90 = obj81; - obj80.Steps = list124; - reference89 = obj80; - ref QuestSequence reference91 = ref span41[9]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.Interact, 1009760u, new Vector3(-235.21783f, 6.619436f, 609.39954f), 153) - { - Fly = true - }; - obj82.Steps = list126; - reference91 = obj82; - ref QuestSequence reference92 = ref span41[10]; - QuestSequence obj83 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009760u, new Vector3(-235.21783f, 6.619436f, 609.39954f), 153) - { - NextQuestId = new QuestId(1572) - }; - obj83.Steps = list127; - reference92 = obj83; - questRoot16.QuestSequence = list110; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(1575); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - CollectionsMarshal.AsSpan(list128)[0] = "liza"; - questRoot17.Author = list128; - num = 13; - List list129 = new List(num); - CollectionsMarshal.SetCount(list129, num); - Span span48 = CollectionsMarshal.AsSpan(list129); - ref QuestSequence reference93 = ref span48[0]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj84.Steps = list130; - reference93 = obj84; - ref QuestSequence reference94 = ref span48[1]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.Interact, 1006406u, new Vector3(63.156982f, -13.3626f, 140.91699f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj85.Steps = list131; - reference94 = obj85; - ref QuestSequence reference95 = ref span48[2]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - ref QuestStep reference96 = ref CollectionsMarshal.AsSpan(list132)[0]; - QuestStep obj87 = new QuestStep(EInteractionType.Combat, null, new Vector3(328.4609f, -5.423937f, 266.34305f), 154) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list133 = new List(num3); - CollectionsMarshal.SetCount(list133, num3); - Span span49 = CollectionsMarshal.AsSpan(list133); - span49[0] = 3556u; - span49[1] = 3557u; - obj87.KillEnemyDataIds = list133; - reference96 = obj87; - obj86.Steps = list132; - reference95 = obj86; - ref QuestSequence reference97 = ref span48[3]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - ref QuestStep reference98 = ref CollectionsMarshal.AsSpan(list134)[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1010405u, new Vector3(334.73718f, -6.0854516f, 270.74072f), 154); - num3 = 1; - List list135 = new List(num3); - CollectionsMarshal.SetCount(list135, num3); - CollectionsMarshal.AsSpan(list135)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_SUBPST015_01575_Q1_000_070"), - Answer = new ExcelRef("TEXT_SUBPST015_01575_A1_001_070") - }; - questStep10.DialogueChoices = list135; - reference98 = questStep10; - obj88.Steps = list134; - reference97 = obj88; - ref QuestSequence reference99 = ref span48[4]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.Interact, 1010407u, new Vector3(225.54358f, -25.225279f, 233.56982f), 154) - { - Fly = true - }; - obj89.Steps = list136; - reference99 = obj89; - ref QuestSequence reference100 = ref span48[5]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.Interact, 1010408u, new Vector3(47.837036f, -34.920486f, 275.89832f), 154) - { - Fly = true - }; - obj90.Steps = list137; - reference100 = obj90; - ref QuestSequence reference101 = ref span48[6]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.Interact, 1006406u, new Vector3(63.156982f, -13.3626f, 140.91699f), 154); - obj91.Steps = list138; - reference101 = obj91; - ref QuestSequence reference102 = ref span48[7]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - Span span50 = CollectionsMarshal.AsSpan(list139); - span50[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-31.059683f, -40.708477f, 195.24632f), 154) - { - Fly = true - }; - span50[1] = new QuestStep(EInteractionType.Interact, 1010409u, new Vector3(-20.279297f, -34.656372f, 172.13696f), 154); - obj92.Steps = list139; - reference102 = obj92; - ref QuestSequence reference103 = ref span48[8]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.Interact, 1006406u, new Vector3(63.156982f, -13.3626f, 140.91699f), 154) - { - Fly = true - }; - obj93.Steps = list140; - reference103 = obj93; - ref QuestSequence reference104 = ref span48[9]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.Interact, 1010410u, new Vector3(9.567322f, -10.024739f, 22.934265f), 154) - { - Fly = true - }; - obj94.Steps = list141; - reference104 = obj94; - ref QuestSequence reference105 = ref span48[10]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.Interact, 1010509u, new Vector3(63.370728f, -13.485855f, 141.86316f), 154) - { - Fly = true - }; - obj95.Steps = list142; - reference105 = obj95; - ref QuestSequence reference106 = ref span48[11]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 11 - }; - num2 = 2; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - Span span51 = CollectionsMarshal.AsSpan(list143); - span51[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-31.059683f, -40.708477f, 195.24632f), 154) - { - Fly = true - }; - span51[1] = new QuestStep(EInteractionType.Interact, 1010409u, new Vector3(-20.279297f, -34.656372f, 172.13696f), 154); - obj96.Steps = list143; - reference106 = obj96; - ref QuestSequence reference107 = ref span48[12]; - QuestSequence obj97 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006406u, new Vector3(63.156982f, -13.3626f, 140.91699f), 154) - { - Fly = true, - NextQuestId = new QuestId(243) - }; - obj97.Steps = list144; - reference107 = obj97; - questRoot17.QuestSequence = list129; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(1576); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list145 = new List(num); - CollectionsMarshal.SetCount(list145, num); - CollectionsMarshal.AsSpan(list145)[0] = "liza"; - questRoot18.Author = list145; - num = 9; - List list146 = new List(num); - CollectionsMarshal.SetCount(list146, num); - Span span52 = CollectionsMarshal.AsSpan(list146); - ref QuestSequence reference108 = ref span52[0]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj98.Steps = list147; - reference108 = obj98; - ref QuestSequence reference109 = ref span52[1]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.Interact, 1006211u, new Vector3(-217.48688f, 26.258211f, -361.2574f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - obj99.Steps = list148; - reference109 = obj99; - ref QuestSequence reference110 = ref span52[2]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - Span span53 = CollectionsMarshal.AsSpan(list149); - span53[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-255.1732f, 27.485052f, -324.7051f), 146) - { - Mount = true - }; - ref QuestStep reference111 = ref span53[1]; - QuestStep obj101 = new QuestStep(EInteractionType.Interact, 2004884u, new Vector3(-64.86609f, -1.5411987f, -69.50488f), 146) - { - Fly = true - }; - num3 = 6; - List list150 = new List(num3); - CollectionsMarshal.SetCount(list150, num3); - Span span54 = CollectionsMarshal.AsSpan(list150); - span54[0] = null; - span54[1] = null; - span54[2] = null; - span54[3] = null; - span54[4] = null; - span54[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - obj101.CompletionQuestVariablesFlags = list150; - reference111 = obj101; - ref QuestStep reference112 = ref span53[2]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 2004883u, new Vector3(-53.635498f, -1.3886108f, -53.391357f), 146); - num3 = 6; - List list151 = new List(num3); - CollectionsMarshal.SetCount(list151, num3); - Span span55 = CollectionsMarshal.AsSpan(list151); - span55[0] = null; - span55[1] = null; - span55[2] = null; - span55[3] = null; - span55[4] = null; - span55[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list151; - reference112 = questStep11; - span53[3] = new QuestStep(EInteractionType.Interact, 2004882u, new Vector3(-69.077576f, -2.1820679f, -32.913757f), 146); - obj100.Steps = list149; - reference110 = obj100; - ref QuestSequence reference113 = ref span52[3]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.Interact, 1006211u, new Vector3(-217.48688f, 26.258211f, -361.2574f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - obj102.Steps = list152; - reference113 = obj102; - ref QuestSequence reference114 = ref span52[4]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.Interact, 1006196u, new Vector3(-63.98114f, -20.296238f, -5.142395f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj103.Steps = list153; - reference114 = obj103; - ref QuestSequence reference115 = ref span52[5]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-155.2711f, -32.952675f, 242.00226f), 145) - { - Fly = true - }; - obj104.Steps = list154; - reference115 = obj104; - ref QuestSequence reference116 = ref span52[6]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - Span span56 = CollectionsMarshal.AsSpan(list155); - ref QuestStep reference117 = ref span56[0]; - QuestStep obj106 = new QuestStep(EInteractionType.Combat, null, new Vector3(-155.2711f, -32.952675f, 242.00226f), 145) - { - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - num3 = 2; - List list156 = new List(num3); - CollectionsMarshal.SetCount(list156, num3); - Span span57 = CollectionsMarshal.AsSpan(list156); - span57[0] = 3554u; - span57[1] = 3555u; - obj106.KillEnemyDataIds = list156; - reference117 = obj106; - span56[1] = new QuestStep(EInteractionType.Interact, 1010417u, new Vector3(-154.37555f, -31.787657f, 244.7699f), 145) - { - StopDistance = 5f - }; - obj105.Steps = list155; - reference116 = obj105; - ref QuestSequence reference118 = ref span52[7]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.Interact, 1006196u, new Vector3(-63.98114f, -20.296238f, -5.142395f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj107.Steps = list157; - reference118 = obj107; - ref QuestSequence reference119 = ref span52[8]; - QuestSequence obj108 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006211u, new Vector3(-217.48688f, 26.258211f, -361.2574f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo, - NextQuestId = new QuestId(1577) - }; - obj108.Steps = list158; - reference119 = obj108; - questRoot18.QuestSequence = list146; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(1577); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list159 = new List(num); - CollectionsMarshal.SetCount(list159, num); - CollectionsMarshal.AsSpan(list159)[0] = "liza"; - questRoot19.Author = list159; - num = 10; - List list160 = new List(num); - CollectionsMarshal.SetCount(list160, num); - Span span58 = CollectionsMarshal.AsSpan(list160); - ref QuestSequence reference120 = ref span58[0]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009153u, new Vector3(-39.108948f, 20f, 5.416931f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj109.Steps = list161; - reference120 = obj109; - ref QuestSequence reference121 = ref span58[1]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - Span span59 = CollectionsMarshal.AsSpan(list162); - span59[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-99.05126f, 19.82f, 88.622086f), 129); - span59[1] = new QuestStep(EInteractionType.Interact, 1010419u, new Vector3(-117.84546f, 21.38377f, 83.604126f), 129); - obj110.Steps = list162; - reference121 = obj110; - ref QuestSequence reference122 = ref span58[2]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - Span span60 = CollectionsMarshal.AsSpan(list163); - span60[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-90.47176f, 22.179348f, 116.58494f), 129); - span60[1] = new QuestStep(EInteractionType.Interact, 1010420u, new Vector3(-10.208313f, 39.51757f, -1.8463745f), 128); - obj111.Steps = list163; - reference122 = obj111; - ref QuestSequence reference123 = ref span58[3]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - Span span61 = CollectionsMarshal.AsSpan(list164); - span61[0] = new QuestStep(EInteractionType.Interact, 1003597u, new Vector3(8.194031f, 39.999973f, 17.746216f), 128) - { - TargetTerritoryId = (ushort)129 - }; - span61[1] = new QuestStep(EInteractionType.Interact, 1010423u, new Vector3(-20.73706f, 19.999937f, 4.257263f), 129); - obj112.Steps = list164; - reference123 = obj112; - ref QuestSequence reference124 = ref span58[4]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.Interact, 1002433u, new Vector3(-6.729248f, 20.333345f, -0.7477417f), 129); - obj113.Steps = list165; - reference124 = obj113; - ref QuestSequence reference125 = ref span58[5]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.Interact, 1010423u, new Vector3(-20.73706f, 19.999937f, 4.257263f), 129); - obj114.Steps = list166; - reference125 = obj114; - ref QuestSequence reference126 = ref span58[6]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.Interact, 1010424u, new Vector3(-172.59485f, 4.284276f, 168.07812f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - } - }; - obj115.Steps = list167; - reference126 = obj115; - ref QuestSequence reference127 = ref span58[7]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.Interact, 1000857u, new Vector3(-165.27051f, 5.2500057f, 164.29382f), 129) - { - StopDistance = 7f - }; - obj116.Steps = list168; - reference127 = obj116; - ref QuestSequence reference128 = ref span58[8]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.Interact, 1010424u, new Vector3(-172.59485f, 4.284276f, 168.07812f), 129); - obj117.Steps = list169; - reference128 = obj117; - ref QuestSequence reference129 = ref span58[9]; - QuestSequence obj118 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.CompleteQuest, 1010521u, new Vector3(-184.64948f, 1.9999955f, 201.28174f), 129) - { - NextQuestId = new QuestId(241) - }; - obj118.Steps = list170; - reference129 = obj118; - questRoot19.QuestSequence = list160; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(1580); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - CollectionsMarshal.AsSpan(list171)[0] = "JerryWester"; - questRoot20.Author = list171; - num = 6; - List list172 = new List(num); - CollectionsMarshal.SetCount(list172, num); - Span span62 = CollectionsMarshal.AsSpan(list172); - ref QuestSequence reference130 = ref span62[0]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010925u, new Vector3(-1.4191895f, 0.014982708f, -0.07635498f), 395) - { - StopDistance = 7f - }; - obj119.Steps = list173; - reference130 = obj119; - ref QuestSequence reference131 = ref span62[1]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.Interact, 1012308u, new Vector3(-3.1281738f, 0f, 2.822876f), 395); - obj120.Steps = list174; - reference131 = obj120; - ref QuestSequence reference132 = ref span62[2]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - Span span63 = CollectionsMarshal.AsSpan(list175); - span63[0] = new QuestStep(EInteractionType.Interact, 2004781u, new Vector3(-4f, 1.2f, 11f), 395) - { - TargetTerritoryId = (ushort)155 - }; - span63[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-133.9223f, 304.15378f, -292.65924f), 155) - { - Fly = true - }; - ref QuestStep reference133 = ref span63[2]; - QuestStep obj122 = new QuestStep(EInteractionType.Interact, 1012309u, new Vector3(-163.89722f, 304.1538f, -333.05872f), 155) - { - Fly = true - }; - num3 = 1; - List list176 = new List(num3); - CollectionsMarshal.SetCount(list176, num3); - CollectionsMarshal.AsSpan(list176)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_HEAVNA101_01580_SCENE00005_EVENTAREA_WARP_YESNO_TITLE") - }; - obj122.DialogueChoices = list176; - reference133 = obj122; - obj121.Steps = list175; - reference132 = obj121; - span62[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference134 = ref span62[4]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.Interact, 1012310u, new Vector3(-10.269409f, 1.2791281f, 83.42102f), 418); - obj123.Steps = list177; - reference134 = obj123; - ref QuestSequence reference135 = ref span62[5]; - QuestSequence obj124 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 11; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - Span span64 = CollectionsMarshal.AsSpan(list178); - span64[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 418) - { - Aetheryte = EAetheryteLocation.Ishgard - }; - span64[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 418) - { - AethernetShard = EAetheryteLocation.IshgardSkysteelManufactory - }; - span64[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 418) - { - AethernetShard = EAetheryteLocation.IshgardBrume, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSkysteelManufactory, - To = EAetheryteLocation.Ishgard - } - }; - span64[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 418) - { - AethernetShard = EAetheryteLocation.IshgardForgottenKnight - }; - span64[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(53.15989f, 30.584269f, -82.98525f), 418) - { - TargetTerritoryId = (ushort)419 - }; - span64[5] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 419) - { - AethernetShard = EAetheryteLocation.IshgardAthenaeumAstrologicum - }; - span64[6] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 419) - { - AethernetShard = EAetheryteLocation.IshgardTribunal - }; - span64[7] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 419) - { - AethernetShard = EAetheryteLocation.IshgardSaintReymanaudsCathedral - }; - span64[8] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 419) - { - AethernetShard = EAetheryteLocation.IshgardJeweledCrozier - }; - span64[9] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 419) - { - AethernetShard = EAetheryteLocation.IshgardLastVigil - }; - span64[10] = new QuestStep(EInteractionType.CompleteQuest, 1012313u, new Vector3(15.609924f, 16.009666f, -6.515625f), 419); - obj124.Steps = list178; - reference135 = obj124; - questRoot20.QuestSequence = list172; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(1581); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list179 = new List(num); - CollectionsMarshal.SetCount(list179, num); - CollectionsMarshal.AsSpan(list179)[0] = "JerryWester"; - questRoot21.Author = list179; - num = 5; - List list180 = new List(num); - CollectionsMarshal.SetCount(list180, num); - Span span65 = CollectionsMarshal.AsSpan(list180); - ref QuestSequence reference136 = ref span65[0]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013036u, new Vector3(-0.22894287f, -9.313226E-10f, 7.3395386f), 433); - obj125.Steps = list181; - reference136 = obj125; - ref QuestSequence reference137 = ref span65[1]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.Interact, 1012316u, new Vector3(12.130859f, 16.009666f, -7.0039062f), 419) - { - StopDistance = 5f - }; - obj126.Steps = list182; - reference137 = obj126; - ref QuestSequence reference138 = ref span65[2]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - CollectionsMarshal.AsSpan(list183)[0] = new QuestStep(EInteractionType.Interact, 1012317u, new Vector3(-4.3793945f, 27.753849f, -148.27197f), 419); - obj127.Steps = list183; - reference138 = obj127; - ref QuestSequence reference139 = ref span65[3]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - CollectionsMarshal.AsSpan(list184)[0] = new QuestStep(EInteractionType.Interact, 1012180u, new Vector3(-174.18176f, -12.555469f, -21.561035f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSaintReymanaudsCathedral, - To = EAetheryteLocation.IshgardJeweledCrozier - } - }; - obj128.Steps = list184; - reference139 = obj128; - ref QuestSequence reference140 = ref span65[4]; - QuestSequence obj129 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012323u, new Vector3(-50.21753f, 8.05915f, 15.457336f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardJeweledCrozier, - To = EAetheryteLocation.Ishgard - } - }; - obj129.Steps = list185; - reference140 = obj129; - questRoot21.QuestSequence = list180; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(1582); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list186 = new List(num); - CollectionsMarshal.SetCount(list186, num); - CollectionsMarshal.AsSpan(list186)[0] = "JerryWester"; - questRoot22.Author = list186; - num = 4; - List list187 = new List(num); - CollectionsMarshal.SetCount(list187, num); - Span span66 = CollectionsMarshal.AsSpan(list187); - ref QuestSequence reference141 = ref span66[0]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - CollectionsMarshal.AsSpan(list188)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012323u, new Vector3(-50.21753f, 8.05915f, 15.457336f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj130.Steps = list188; - reference141 = obj130; - ref QuestSequence reference142 = ref span66[1]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.Interact, 1011192u, new Vector3(88.36499f, 15.094684f, 31.296265f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj131.Steps = list189; - reference142 = obj131; - ref QuestSequence reference143 = ref span66[2]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - Span span67 = CollectionsMarshal.AsSpan(list190); - span67[0] = new QuestStep(EInteractionType.Interact, 1011217u, new Vector3(17.990356f, 16.009666f, -9.567444f), 419) - { - TargetTerritoryId = (ushort)433, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardLastVigil - } - }; - span67[1] = new QuestStep(EInteractionType.Interact, 1013033u, new Vector3(-0.015319824f, 0.022254245f, 3.7078857f), 433); - obj132.Steps = list190; - reference143 = obj132; - ref QuestSequence reference144 = ref span66[3]; - QuestSequence obj133 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013036u, new Vector3(-0.22894287f, -9.313226E-10f, 7.3395386f), 433); - obj133.Steps = list191; - reference144 = obj133; - questRoot22.QuestSequence = list187; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(1583); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list192 = new List(num); - CollectionsMarshal.SetCount(list192, num); - CollectionsMarshal.AsSpan(list192)[0] = "JerryWester"; - questRoot23.Author = list192; - num = 5; - List list193 = new List(num); - CollectionsMarshal.SetCount(list193, num); - Span span68 = CollectionsMarshal.AsSpan(list193); - ref QuestSequence reference145 = ref span68[0]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012328u, new Vector3(1.7547607f, 0.0034502316f, -9.750549f), 433); - obj134.Steps = list194; - reference145 = obj134; - ref QuestSequence reference146 = ref span68[1]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - Span span69 = CollectionsMarshal.AsSpan(list195); - span69[0] = new QuestStep(EInteractionType.Interact, 2005334u, new Vector3(-0.001443714f, 1.1515f, 13.2236f), 433) - { - TargetTerritoryId = (ushort)419 - }; - ref QuestStep reference147 = ref span69[1]; - QuestStep obj136 = new QuestStep(EInteractionType.Interact, 1012331u, new Vector3(-163.43939f, 2.1510596f, -5.508545f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardLastVigil, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - num3 = 1; - List list196 = new List(num3); - CollectionsMarshal.SetCount(list196, num3); - CollectionsMarshal.AsSpan(list196)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_HEAVNA104_01583_SCENE00005_EVENTAREA_WARP_YESNO_TITLE") - }; - obj136.DialogueChoices = list196; - reference147 = obj136; - obj135.Steps = list195; - reference146 = obj135; - span68[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference148 = ref span68[3]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.Interact, 1012333u, new Vector3(481.40686f, 225.00232f, 793.14856f), 397); - obj137.Steps = list197; - reference148 = obj137; - ref QuestSequence reference149 = ref span68[4]; - QuestSequence obj138 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - Span span70 = CollectionsMarshal.AsSpan(list198); - span70[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 397) - { - StopDistance = 7f, - Aetheryte = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - span70[1] = new QuestStep(EInteractionType.CompleteQuest, 1011231u, new Vector3(503.1051f, 217.95148f, 790.2189f), 397); - obj138.Steps = list198; - reference149 = obj138; - questRoot23.QuestSequence = list193; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(1584); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list199 = new List(num); - CollectionsMarshal.SetCount(list199, num); - CollectionsMarshal.AsSpan(list199)[0] = "JerryWester"; - questRoot24.Author = list199; - num = 4; - List list200 = new List(num); - CollectionsMarshal.SetCount(list200, num); - Span span71 = CollectionsMarshal.AsSpan(list200); - ref QuestSequence reference150 = ref span71[0]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011231u, new Vector3(503.1051f, 217.95148f, 790.2189f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj139.Steps = list201; - reference150 = obj139; - ref QuestSequence reference151 = ref span71[1]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.Interact, 1011236u, new Vector3(446.00586f, 217.95142f, 764.06494f), 397); - obj140.Steps = list202; - reference151 = obj140; - ref QuestSequence reference152 = ref span71[2]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - Span span72 = CollectionsMarshal.AsSpan(list203); - ref QuestStep reference153 = ref span72[0]; - QuestStep obj142 = new QuestStep(EInteractionType.Combat, 2005403u, new Vector3(430.5067f, 225.0027f, 800.9321f), 397) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list204 = new List(num3); - CollectionsMarshal.SetCount(list204, num3); - CollectionsMarshal.AsSpan(list204)[0] = 4376u; - obj142.KillEnemyDataIds = list204; - num3 = 6; - List list205 = new List(num3); - CollectionsMarshal.SetCount(list205, num3); - Span span73 = CollectionsMarshal.AsSpan(list205); - span73[0] = null; - span73[1] = null; - span73[2] = null; - span73[3] = null; - span73[4] = null; - span73[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj142.CompletionQuestVariablesFlags = list205; - reference153 = obj142; - ref QuestStep reference154 = ref span72[1]; - QuestStep obj143 = new QuestStep(EInteractionType.Combat, 2005404u, new Vector3(552.39185f, 228.3512f, 725.9784f), 397) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list206 = new List(num3); - CollectionsMarshal.SetCount(list206, num3); - CollectionsMarshal.AsSpan(list206)[0] = 4376u; - obj143.KillEnemyDataIds = list206; - num3 = 6; - List list207 = new List(num3); - CollectionsMarshal.SetCount(list207, num3); - Span span74 = CollectionsMarshal.AsSpan(list207); - span74[0] = null; - span74[1] = null; - span74[2] = null; - span74[3] = null; - span74[4] = null; - span74[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj143.CompletionQuestVariablesFlags = list207; - reference154 = obj143; - ref QuestStep reference155 = ref span72[2]; - QuestStep obj144 = new QuestStep(EInteractionType.Combat, 2005405u, new Vector3(421.59143f, 212.69543f, 708.1559f), 397) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list208 = new List(num3); - CollectionsMarshal.SetCount(list208, num3); - CollectionsMarshal.AsSpan(list208)[0] = 4376u; - obj144.KillEnemyDataIds = list208; - num3 = 6; - List list209 = new List(num3); - CollectionsMarshal.SetCount(list209, num3); - Span span75 = CollectionsMarshal.AsSpan(list209); - span75[0] = null; - span75[1] = null; - span75[2] = null; - span75[3] = null; - span75[4] = null; - span75[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj144.CompletionQuestVariablesFlags = list209; - reference155 = obj144; - obj141.Steps = list203; - reference152 = obj141; - ref QuestSequence reference156 = ref span71[3]; - QuestSequence obj145 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - CollectionsMarshal.AsSpan(list210)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011236u, new Vector3(446.00586f, 217.95142f, 764.06494f), 397); - obj145.Steps = list210; - reference156 = obj145; - questRoot24.QuestSequence = list200; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(1585); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list211 = new List(num); - CollectionsMarshal.SetCount(list211, num); - CollectionsMarshal.AsSpan(list211)[0] = "JerryWester"; - questRoot25.Author = list211; - num = 4; - List list212 = new List(num); - CollectionsMarshal.SetCount(list212, num); - Span span76 = CollectionsMarshal.AsSpan(list212); - ref QuestSequence reference157 = ref span76[0]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - CollectionsMarshal.AsSpan(list213)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011236u, new Vector3(446.00586f, 217.95142f, 764.06494f), 397); - obj146.Steps = list213; - reference157 = obj146; - ref QuestSequence reference158 = ref span76[1]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - Span span77 = CollectionsMarshal.AsSpan(list214); - span77[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(464.90463f, 203.4332f, 679.09424f), 397); - span77[1] = new QuestStep(EInteractionType.Interact, 1011241u, new Vector3(501.7318f, 164.19402f, 301.13672f), 397); - obj147.Steps = list214; - reference158 = obj147; - ref QuestSequence reference159 = ref span76[2]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - ref QuestStep reference160 = ref CollectionsMarshal.AsSpan(list215)[0]; - QuestStep obj149 = new QuestStep(EInteractionType.Combat, null, new Vector3(462.2118f, 164.57632f, 301.1987f), 397) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list216 = new List(num3); - CollectionsMarshal.SetCount(list216, num3); - CollectionsMarshal.AsSpan(list216)[0] = new ComplexCombatData - { - DataId = 4803u, - RewardItemId = 2001572u, - RewardItemCount = 3 - }; - obj149.ComplexCombatData = list216; - reference160 = obj149; - obj148.Steps = list215; - reference159 = obj148; - ref QuestSequence reference161 = ref span76[3]; - QuestSequence obj150 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011241u, new Vector3(501.7318f, 164.19402f, 301.13672f), 397); - obj150.Steps = list217; - reference161 = obj150; - questRoot25.QuestSequence = list212; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(1586); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - CollectionsMarshal.AsSpan(list218)[0] = "JerryWester"; - questRoot26.Author = list218; - num = 3; - List list219 = new List(num); - CollectionsMarshal.SetCount(list219, num); - Span span78 = CollectionsMarshal.AsSpan(list219); - ref QuestSequence reference162 = ref span78[0]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011241u, new Vector3(501.7318f, 164.19402f, 301.13672f), 397); - obj151.Steps = list220; - reference162 = obj151; - ref QuestSequence reference163 = ref span78[1]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.Interact, 1011903u, new Vector3(197.13123f, 189.4263f, 270.61877f), 397); - obj152.Steps = list221; - reference163 = obj152; - ref QuestSequence reference164 = ref span78[2]; - QuestSequence obj153 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - CollectionsMarshal.AsSpan(list222)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011231u, new Vector3(503.1051f, 217.95148f, 790.2189f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj153.Steps = list222; - reference164 = obj153; - questRoot26.QuestSequence = list219; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(1587); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list223 = new List(num); - CollectionsMarshal.SetCount(list223, num); - CollectionsMarshal.AsSpan(list223)[0] = "JerryWester"; - questRoot27.Author = list223; - num = 6; - List list224 = new List(num); - CollectionsMarshal.SetCount(list224, num); - Span span79 = CollectionsMarshal.AsSpan(list224); - ref QuestSequence reference165 = ref span79[0]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011231u, new Vector3(503.1051f, 217.95148f, 790.2189f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj154.Steps = list225; - reference165 = obj154; - ref QuestSequence reference166 = ref span79[1]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - CollectionsMarshal.AsSpan(list226)[0] = new QuestStep(EInteractionType.Interact, 1012334u, new Vector3(510.64307f, 217.95148f, 785.2445f), 397); - obj155.Steps = list226; - reference166 = obj155; - ref QuestSequence reference167 = ref span79[2]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.Interact, 1012404u, new Vector3(179.52234f, 161.78215f, 132.73816f), 397); - obj156.Steps = list227; - reference167 = obj156; - ref QuestSequence reference168 = ref span79[3]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.Interact, 1012338u, new Vector3(354.6654f, 159.5203f, 140.67285f), 397); - obj157.Steps = list228; - reference168 = obj157; - ref QuestSequence reference169 = ref span79[4]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - ref QuestStep reference170 = ref CollectionsMarshal.AsSpan(list229)[0]; - QuestStep obj159 = new QuestStep(EInteractionType.Combat, null, new Vector3(81.99244f, 117.19824f, 152.92575f), 397) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list230 = new List(num3); - CollectionsMarshal.SetCount(list230, num3); - Span span80 = CollectionsMarshal.AsSpan(list230); - span80[0] = 4377u; - span80[1] = 4378u; - span80[2] = 4379u; - obj159.KillEnemyDataIds = list230; - reference170 = obj159; - obj158.Steps = list229; - reference169 = obj158; - ref QuestSequence reference171 = ref span79[5]; - QuestSequence obj160 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012340u, new Vector3(81.80359f, 117.19817f, 152.30017f), 397); - obj160.Steps = list231; - reference171 = obj160; - questRoot27.QuestSequence = list224; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(1588); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list232 = new List(num); - CollectionsMarshal.SetCount(list232, num); - CollectionsMarshal.AsSpan(list232)[0] = "JerryWester"; - questRoot28.Author = list232; - num = 3; - List list233 = new List(num); - CollectionsMarshal.SetCount(list233, num); - Span span81 = CollectionsMarshal.AsSpan(list233); - ref QuestSequence reference172 = ref span81[0]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - CollectionsMarshal.AsSpan(list234)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012344u, new Vector3(84.18396f, 117.19698f, 150.31653f), 397) - { - StopDistance = 7f - }; - obj161.Steps = list234; - reference172 = obj161; - ref QuestSequence reference173 = ref span81[1]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2005408u, new Vector3(103.77649f, 102.311646f, -42.404846f), 397) - { - Comment = "Walk straight to Gorgagne Mills basement, ignore footprints", - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj162.Steps = list235; - reference173 = obj162; - ref QuestSequence reference174 = ref span81[2]; - QuestSequence obj163 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012348u, new Vector3(465.01855f, 162.58325f, -522.9115f), 397); - obj163.Steps = list236; - reference174 = obj163; - questRoot28.QuestSequence = list233; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(1589); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list237 = new List(num); - CollectionsMarshal.SetCount(list237, num); - CollectionsMarshal.AsSpan(list237)[0] = "JerryWester"; - questRoot29.Author = list237; - num = 3; - List list238 = new List(num); - CollectionsMarshal.SetCount(list238, num); - Span span82 = CollectionsMarshal.AsSpan(list238); - ref QuestSequence reference175 = ref span82[0]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - CollectionsMarshal.AsSpan(list239)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012348u, new Vector3(465.01855f, 162.58325f, -522.9115f), 397); - obj164.Steps = list239; - reference175 = obj164; - ref QuestSequence reference176 = ref span82[1]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.Interact, 1011231u, new Vector3(503.1051f, 217.95148f, 790.2189f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj165.Steps = list240; - reference176 = obj165; - ref QuestSequence reference177 = ref span82[2]; - QuestSequence obj166 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - Span span83 = CollectionsMarshal.AsSpan(list241); - span83[0] = new QuestStep(EInteractionType.Interact, 1011217u, new Vector3(17.990356f, 16.009666f, -9.567444f), 419) - { - TargetTerritoryId = (ushort)433, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardLastVigil - } - }; - span83[1] = new QuestStep(EInteractionType.CompleteQuest, 1012328u, new Vector3(1.7547607f, 0.0034502316f, -9.750549f), 433); - obj166.Steps = list241; - reference177 = obj166; - questRoot29.QuestSequence = list238; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(1590); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list242 = new List(num); - CollectionsMarshal.SetCount(list242, num); - CollectionsMarshal.AsSpan(list242)[0] = "JerryWester"; - questRoot30.Author = list242; - num = 5; - List list243 = new List(num); - CollectionsMarshal.SetCount(list243, num); - Span span84 = CollectionsMarshal.AsSpan(list243); - ref QuestSequence reference178 = ref span84[0]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012329u, new Vector3(-7.309082f, 0.0035869647f, -0.5036011f), 433); - obj167.Steps = list244; - reference178 = obj167; - ref QuestSequence reference179 = ref span84[1]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - Span span85 = CollectionsMarshal.AsSpan(list245); - span85[0] = new QuestStep(EInteractionType.Interact, 2005334u, new Vector3(-0.001443714f, 1.1515f, 13.2236f), 433) - { - TargetTerritoryId = (ushort)419 - }; - ref QuestStep reference180 = ref span85[1]; - QuestStep obj169 = new QuestStep(EInteractionType.Interact, 1012353u, new Vector3(149.7367f, -12.263969f, -7.888916f), 419) - { - StopDistance = 5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardLastVigil, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - num3 = 1; - List list246 = new List(num3); - CollectionsMarshal.SetCount(list246, num3); - CollectionsMarshal.AsSpan(list246)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_HEAVNA111_01590_SCENE00007_EVENTAREA_WARP_YESNO_TITLE") - }; - obj169.DialogueChoices = list246; - reference180 = obj169; - obj168.Steps = list245; - reference179 = obj168; - span84[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference181 = ref span84[3]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.Interact, 1012351u, new Vector3(-731.1971f, -105.26523f, 470.54248f), 401); - obj170.Steps = list247; - reference181 = obj170; - ref QuestSequence reference182 = ref span84[4]; - QuestSequence obj171 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - Span span86 = CollectionsMarshal.AsSpan(list248); - span86[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 401) - { - Aetheryte = EAetheryteLocation.SeaOfCloudsCampCloudtop - }; - span86[1] = new QuestStep(EInteractionType.CompleteQuest, 1011952u, new Vector3(-277.63788f, -184.59735f, 741.60376f), 401); - obj171.Steps = list248; - reference182 = obj171; - questRoot30.QuestSequence = list243; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(1591); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list249 = new List(num); - CollectionsMarshal.SetCount(list249, num); - CollectionsMarshal.AsSpan(list249)[0] = "JerryWester"; - questRoot31.Author = list249; - num = 4; - List list250 = new List(num); - CollectionsMarshal.SetCount(list250, num); - Span span87 = CollectionsMarshal.AsSpan(list250); - ref QuestSequence reference183 = ref span87[0]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011952u, new Vector3(-277.63788f, -184.59735f, 741.60376f), 401) - { - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj172.Steps = list251; - reference183 = obj172; - ref QuestSequence reference184 = ref span87[1]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - ref QuestStep reference185 = ref CollectionsMarshal.AsSpan(list252)[0]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1012354u, new Vector3(-284.38245f, -185.08519f, 732.2346f), 401); - num3 = 1; - List list253 = new List(num3); - CollectionsMarshal.SetCount(list253, num3); - CollectionsMarshal.AsSpan(list253)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_HEAVNA112_01591_Q1_000_000"), - Answer = new ExcelRef("TEXT_HEAVNA112_01591_A1_000_001") - }; - questStep12.DialogueChoices = list253; - reference185 = questStep12; - obj173.Steps = list252; - reference184 = obj173; - ref QuestSequence reference186 = ref span87[2]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.Interact, 1012355u, new Vector3(-285.11487f, -185.0477f, 735.40857f), 401); - obj174.Steps = list254; - reference186 = obj174; - ref QuestSequence reference187 = ref span87[3]; - QuestSequence obj175 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - CollectionsMarshal.AsSpan(list255)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011952u, new Vector3(-277.63788f, -184.59735f, 741.60376f), 401); - obj175.Steps = list255; - reference187 = obj175; - questRoot31.QuestSequence = list250; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(1592); - QuestRoot questRoot32 = new QuestRoot(); - num = 2; - List list256 = new List(num); - CollectionsMarshal.SetCount(list256, num); - Span span88 = CollectionsMarshal.AsSpan(list256); - span88[0] = "JerryWester"; - span88[1] = "Wigglez"; - questRoot32.Author = list256; - num = 4; - List list257 = new List(num); - CollectionsMarshal.SetCount(list257, num); - Span span89 = CollectionsMarshal.AsSpan(list257); - ref QuestSequence reference188 = ref span89[0]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - CollectionsMarshal.AsSpan(list258)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011952u, new Vector3(-277.63788f, -184.59735f, 741.60376f), 401); - obj176.Steps = list258; - reference188 = obj176; - ref QuestSequence reference189 = ref span89[1]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - CollectionsMarshal.AsSpan(list259)[0] = new QuestStep(EInteractionType.Interact, 1012060u, new Vector3(-358.66333f, -157.99367f, 761.01306f), 401); - obj177.Steps = list259; - reference189 = obj177; - ref QuestSequence reference190 = ref span89[2]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - Span span90 = CollectionsMarshal.AsSpan(list260); - ref QuestStep reference191 = ref span90[0]; - QuestStep obj179 = new QuestStep(EInteractionType.Combat, 2005409u, new Vector3(-254.65784f, -185.68707f, 662.6841f), 401) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list261 = new List(num3); - CollectionsMarshal.SetCount(list261, num3); - Span span91 = CollectionsMarshal.AsSpan(list261); - span91[0] = 4381u; - span91[1] = 4382u; - obj179.KillEnemyDataIds = list261; - num3 = 6; - List list262 = new List(num3); - CollectionsMarshal.SetCount(list262, num3); - Span span92 = CollectionsMarshal.AsSpan(list262); - span92[0] = null; - span92[1] = null; - span92[2] = null; - span92[3] = null; - span92[4] = null; - span92[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj179.CompletionQuestVariablesFlags = list262; - reference191 = obj179; - ref QuestStep reference192 = ref span90[1]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 2005411u, new Vector3(-122.78937f, -166.00293f, 646.5095f), 401); - num3 = 6; - List list263 = new List(num3); - CollectionsMarshal.SetCount(list263, num3); - Span span93 = CollectionsMarshal.AsSpan(list263); - span93[0] = null; - span93[1] = null; - span93[2] = null; - span93[3] = null; - span93[4] = null; - span93[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list263; - reference192 = questStep13; - span90[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-117.67188f, -136.44162f, 423.856f), 401); - span90[3] = new QuestStep(EInteractionType.None, null, new Vector3(-117.67188f, -136.44162f, 423.856f), 401) - { - DelaySecondsAtStart = 5f, - Comment = "Wait in safe spot for combat to drop" - }; - ref QuestStep reference193 = ref span90[4]; - QuestStep obj180 = new QuestStep(EInteractionType.Combat, 2005410u, new Vector3(-81.16278f, -136.98022f, 468.5282f), 401) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list264 = new List(num3); - CollectionsMarshal.SetCount(list264, num3); - Span span94 = CollectionsMarshal.AsSpan(list264); - span94[0] = 4380u; - span94[1] = 4382u; - obj180.KillEnemyDataIds = list264; - num3 = 6; - List list265 = new List(num3); - CollectionsMarshal.SetCount(list265, num3); - Span span95 = CollectionsMarshal.AsSpan(list265); - span95[0] = null; - span95[1] = null; - span95[2] = null; - span95[3] = null; - span95[4] = null; - span95[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj180.CompletionQuestVariablesFlags = list265; - reference193 = obj180; - obj178.Steps = list260; - reference190 = obj178; - ref QuestSequence reference194 = ref span89[3]; - QuestSequence obj181 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - CollectionsMarshal.AsSpan(list266)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012060u, new Vector3(-358.66333f, -157.99367f, 761.01306f), 401); - obj181.Steps = list266; - reference194 = obj181; - questRoot32.QuestSequence = list257; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(1593); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list267 = new List(num); - CollectionsMarshal.SetCount(list267, num); - CollectionsMarshal.AsSpan(list267)[0] = "JerryWester"; - questRoot33.Author = list267; - num = 3; - List list268 = new List(num); - CollectionsMarshal.SetCount(list268, num); - Span span96 = CollectionsMarshal.AsSpan(list268); - ref QuestSequence reference195 = ref span96[0]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - CollectionsMarshal.AsSpan(list269)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012060u, new Vector3(-358.66333f, -157.99367f, 761.01306f), 401); - obj182.Steps = list269; - reference195 = obj182; - ref QuestSequence reference196 = ref span96[1]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - Span span97 = CollectionsMarshal.AsSpan(list270); - ref QuestStep reference197 = ref span97[0]; - QuestStep obj184 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-343.27975f, -169.12419f, 800.5701f), 401) - { - Mount = true - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list271 = new List(num3); - CollectionsMarshal.SetCount(list271, num3); - Span span98 = CollectionsMarshal.AsSpan(list271); - span98[0] = null; - span98[1] = null; - span98[2] = null; - span98[3] = null; - span98[4] = null; - span98[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list271; - skipConditions4.StepIf = skipStepConditions4; - obj184.SkipConditions = skipConditions4; - reference197 = obj184; - ref QuestStep reference198 = ref span97[1]; - QuestStep obj185 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-325.61444f, -184.8876f, 806.3595f), 401) - { - DisableNavmesh = true - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 6; - List list272 = new List(num3); - CollectionsMarshal.SetCount(list272, num3); - Span span99 = CollectionsMarshal.AsSpan(list272); - span99[0] = null; - span99[1] = null; - span99[2] = null; - span99[3] = null; - span99[4] = null; - span99[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions5.CompletionQuestVariablesFlags = list272; - skipConditions5.StepIf = skipStepConditions5; - obj185.SkipConditions = skipConditions5; - reference198 = obj185; - ref QuestStep reference199 = ref span97[2]; - QuestStep obj186 = new QuestStep(EInteractionType.Emote, 1013498u, new Vector3(-293.04956f, -183.73486f, 812.6802f), 401) - { - Emote = EEmote.Psych - }; - num3 = 6; - List list273 = new List(num3); - CollectionsMarshal.SetCount(list273, num3); - Span span100 = CollectionsMarshal.AsSpan(list273); - span100[0] = null; - span100[1] = null; - span100[2] = null; - span100[3] = null; - span100[4] = null; - span100[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj186.CompletionQuestVariablesFlags = list273; - reference199 = obj186; - span97[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-368.08698f, -185.05266f, 792.836f), 401); - ref QuestStep reference200 = ref span97[4]; - QuestStep obj187 = new QuestStep(EInteractionType.Emote, 1012360u, new Vector3(-337.75842f, -186.07346f, 618.55493f), 401) - { - Emote = EEmote.Psych - }; - num3 = 6; - List list274 = new List(num3); - CollectionsMarshal.SetCount(list274, num3); - Span span101 = CollectionsMarshal.AsSpan(list274); - span101[0] = null; - span101[1] = null; - span101[2] = null; - span101[3] = null; - span101[4] = null; - span101[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj187.CompletionQuestVariablesFlags = list274; - reference200 = obj187; - ref QuestStep reference201 = ref span97[5]; - QuestStep obj188 = new QuestStep(EInteractionType.Emote, 1012359u, new Vector3(-260.91406f, -184.91077f, 705.4092f), 401) - { - Emote = EEmote.Psych - }; - num3 = 6; - List list275 = new List(num3); - CollectionsMarshal.SetCount(list275, num3); - Span span102 = CollectionsMarshal.AsSpan(list275); - span102[0] = null; - span102[1] = null; - span102[2] = null; - span102[3] = null; - span102[4] = null; - span102[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj188.CompletionQuestVariablesFlags = list275; - reference201 = obj188; - obj183.Steps = list270; - reference196 = obj183; - ref QuestSequence reference202 = ref span96[2]; - QuestSequence obj189 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - CollectionsMarshal.AsSpan(list276)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012060u, new Vector3(-358.66333f, -157.99367f, 761.01306f), 401); - obj189.Steps = list276; - reference202 = obj189; - questRoot33.QuestSequence = list268; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(1594); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list277 = new List(num); - CollectionsMarshal.SetCount(list277, num); - CollectionsMarshal.AsSpan(list277)[0] = "JerryWester"; - questRoot34.Author = list277; - num = 6; - List list278 = new List(num); - CollectionsMarshal.SetCount(list278, num); - Span span103 = CollectionsMarshal.AsSpan(list278); - ref QuestSequence reference203 = ref span103[0]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - CollectionsMarshal.AsSpan(list279)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012060u, new Vector3(-358.66333f, -157.99367f, 761.01306f), 401); - obj190.Steps = list279; - reference203 = obj190; - ref QuestSequence reference204 = ref span103[1]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - CollectionsMarshal.AsSpan(list280)[0] = new QuestStep(EInteractionType.Interact, 1011952u, new Vector3(-277.63788f, -184.59735f, 741.60376f), 401); - obj191.Steps = list280; - reference204 = obj191; - ref QuestSequence reference205 = ref span103[2]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - ref QuestStep reference206 = ref CollectionsMarshal.AsSpan(list281)[0]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1012354u, new Vector3(-284.38245f, -185.08519f, 732.2346f), 401); - num3 = 1; - List list282 = new List(num3); - CollectionsMarshal.SetCount(list282, num3); - CollectionsMarshal.AsSpan(list282)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_HEAVNA115_01594_Q1_000_000"), - Answer = new ExcelRef("TEXT_HEAVNA115_01594_A1_000_001") - }; - questStep14.DialogueChoices = list282; - reference206 = questStep14; - obj192.Steps = list281; - reference205 = obj192; - ref QuestSequence reference207 = ref span103[3]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.Interact, 1012363u, new Vector3(62.546753f, -144.91164f, 527.9469f), 401); - obj193.Steps = list283; - reference207 = obj193; - ref QuestSequence reference208 = ref span103[4]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - CollectionsMarshal.AsSpan(list284)[0] = new QuestStep(EInteractionType.Interact, 2005412u, new Vector3(408.89587f, -124.01007f, 718.5625f), 401); - obj194.Steps = list284; - reference208 = obj194; - ref QuestSequence reference209 = ref span103[5]; - QuestSequence obj195 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - Span span104 = CollectionsMarshal.AsSpan(list285); - span104[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(91.65932f, -147.83772f, 551.8496f), 401); - span104[1] = new QuestStep(EInteractionType.CompleteQuest, 1012364u, new Vector3(64.10315f, -144.92407f, 527.36694f), 401); - obj195.Steps = list285; - reference209 = obj195; - questRoot34.QuestSequence = list278; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(1595); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list286 = new List(num); - CollectionsMarshal.SetCount(list286, num); - CollectionsMarshal.AsSpan(list286)[0] = "JerryWester"; - questRoot35.Author = list286; - num = 5; - List list287 = new List(num); - CollectionsMarshal.SetCount(list287, num); - Span span105 = CollectionsMarshal.AsSpan(list287); - ref QuestSequence reference210 = ref span105[0]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - CollectionsMarshal.AsSpan(list288)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012364u, new Vector3(64.10315f, -144.92407f, 527.36694f), 401); - obj196.Steps = list288; - reference210 = obj196; - ref QuestSequence reference211 = ref span105[1]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.Interact, 2005418u, new Vector3(418.4176f, -121.446594f, 630.64f), 401); - obj197.Steps = list289; - reference211 = obj197; - ref QuestSequence reference212 = ref span105[2]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - CollectionsMarshal.AsSpan(list290)[0] = new QuestStep(EInteractionType.Interact, 2005419u, new Vector3(299.82446f, -115.8313f, 424.73486f), 401); - obj198.Steps = list290; - reference212 = obj198; - ref QuestSequence reference213 = ref span105[3]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - CollectionsMarshal.AsSpan(list291)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1012366u, new Vector3(531.18164f, -99.84944f, 349.96558f), 401) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj199.Steps = list291; - reference213 = obj199; - ref QuestSequence reference214 = ref span105[4]; - QuestSequence obj200 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - CollectionsMarshal.AsSpan(list292)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012367u, new Vector3(-678.2483f, -110.67414f, 481.77307f), 401) - { - StopDistance = 7f - }; - obj200.Steps = list292; - reference214 = obj200; - questRoot35.QuestSequence = list287; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(1596); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list293 = new List(num); - CollectionsMarshal.SetCount(list293, num); - CollectionsMarshal.AsSpan(list293)[0] = "JerryWester"; - questRoot36.Author = list293; - num = 4; - List list294 = new List(num); - CollectionsMarshal.SetCount(list294, num); - Span span106 = CollectionsMarshal.AsSpan(list294); - ref QuestSequence reference215 = ref span106[0]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - CollectionsMarshal.AsSpan(list295)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012368u, new Vector3(-676.7529f, -111.71492f, 487.26624f), 401) - { - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj201.Steps = list295; - reference215 = obj201; - ref QuestSequence reference216 = ref span106[1]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - CollectionsMarshal.AsSpan(list296)[0] = new QuestStep(EInteractionType.Interact, 1011952u, new Vector3(-277.63788f, -184.59735f, 741.60376f), 401); - obj202.Steps = list296; - reference216 = obj202; - ref QuestSequence reference217 = ref span106[2]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - CollectionsMarshal.AsSpan(list297)[0] = new QuestStep(EInteractionType.Interact, 1012375u, new Vector3(164.50745f, -12.634913f, -23.178528f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - obj203.Steps = list297; - reference217 = obj203; - ref QuestSequence reference218 = ref span106[3]; - QuestSequence obj204 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - Span span107 = CollectionsMarshal.AsSpan(list298); - span107[0] = new QuestStep(EInteractionType.Interact, 1011217u, new Vector3(17.990356f, 16.009666f, -9.567444f), 419) - { - TargetTerritoryId = (ushort)433, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardAthenaeumAstrologicum, - To = EAetheryteLocation.IshgardLastVigil - } - }; - span107[1] = new QuestStep(EInteractionType.CompleteQuest, 1012329u, new Vector3(-7.309082f, 0.0035869647f, -0.5036011f), 433); - obj204.Steps = list298; - reference218 = obj204; - questRoot36.QuestSequence = list294; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(1597); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list299 = new List(num); - CollectionsMarshal.SetCount(list299, num); - CollectionsMarshal.AsSpan(list299)[0] = "JerryWester"; - questRoot37.Author = list299; - num = 5; - List list300 = new List(num); - CollectionsMarshal.SetCount(list300, num); - Span span108 = CollectionsMarshal.AsSpan(list300); - ref QuestSequence reference219 = ref span108[0]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - CollectionsMarshal.AsSpan(list301)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012377u, new Vector3(5.6915283f, -9.313226E-10f, 5.7526245f), 433); - obj205.Steps = list301; - reference219 = obj205; - ref QuestSequence reference220 = ref span108[1]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list302 = new List(num2); - CollectionsMarshal.SetCount(list302, num2); - CollectionsMarshal.AsSpan(list302)[0] = new QuestStep(EInteractionType.Interact, 1012378u, new Vector3(3.5248413f, -9.313226E-10f, 9.018005f), 433) - { - StopDistance = 5f - }; - obj206.Steps = list302; - reference220 = obj206; - ref QuestSequence reference221 = ref span108[2]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list303 = new List(num2); - CollectionsMarshal.SetCount(list303, num2); - Span span109 = CollectionsMarshal.AsSpan(list303); - span109[0] = new QuestStep(EInteractionType.Interact, 2005334u, new Vector3(-0.001443714f, 1.1515f, 13.2236f), 433) - { - TargetTerritoryId = (ushort)419 - }; - span109[1] = new QuestStep(EInteractionType.Interact, 1012380u, new Vector3(124.46777f, 24.458836f, 0.47296143f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardLastVigil, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj207.Steps = list303; - reference221 = obj207; - ref QuestSequence reference222 = ref span108[3]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - CollectionsMarshal.AsSpan(list304)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1012381u, new Vector3(120.653076f, 14.95313f, -156.63391f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardTribunal - }, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj208.Steps = list304; - reference222 = obj208; - ref QuestSequence reference223 = ref span108[4]; - QuestSequence obj209 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - CollectionsMarshal.AsSpan(list305)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012381u, new Vector3(120.653076f, 14.95313f, -156.63391f), 419); - obj209.Steps = list305; - reference223 = obj209; - questRoot37.QuestSequence = list300; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(1598); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list306 = new List(num); - CollectionsMarshal.SetCount(list306, num); - CollectionsMarshal.AsSpan(list306)[0] = "JerryWester"; - questRoot38.Author = list306; - num = 4; - List list307 = new List(num); - CollectionsMarshal.SetCount(list307, num); - Span span110 = CollectionsMarshal.AsSpan(list307); - ref QuestSequence reference224 = ref span110[0]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - CollectionsMarshal.AsSpan(list308)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012381u, new Vector3(120.653076f, 14.95313f, -156.63391f), 419); - obj210.Steps = list308; - reference224 = obj210; - ref QuestSequence reference225 = ref span110[1]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - Span span111 = CollectionsMarshal.AsSpan(list309); - span111[0] = new QuestStep(EInteractionType.Interact, 1011217u, new Vector3(17.990356f, 16.009666f, -9.567444f), 419) - { - TargetTerritoryId = (ushort)433, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardTribunal, - To = EAetheryteLocation.IshgardLastVigil - } - }; - span111[1] = new QuestStep(EInteractionType.Interact, 1013033u, new Vector3(-0.015319824f, 0.022254245f, 3.7078857f), 433); - obj211.Steps = list309; - reference225 = obj211; - ref QuestSequence reference226 = ref span110[2]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - Span span112 = CollectionsMarshal.AsSpan(list310); - span112[0] = new QuestStep(EInteractionType.Interact, 2005334u, new Vector3(-0.015319824f, 1.1443481f, 13.199036f), 433) - { - TargetTerritoryId = (ushort)419 - }; - span112[1] = new QuestStep(EInteractionType.Interact, 1012386u, new Vector3(6.149353f, 42.34489f, -208.39252f), 419); - obj212.Steps = list310; - reference226 = obj212; - ref QuestSequence reference227 = ref span110[3]; - QuestSequence obj213 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list311 = new List(num2); - CollectionsMarshal.SetCount(list311, num2); - Span span113 = CollectionsMarshal.AsSpan(list311); - span113[0] = new QuestStep(EInteractionType.Interact, 1011217u, new Vector3(17.990356f, 16.009666f, -9.567444f), 419) - { - TargetTerritoryId = (ushort)433 - }; - span113[1] = new QuestStep(EInteractionType.CompleteQuest, 1012387u, new Vector3(0.6866455f, 0.022254243f, 4.623413f), 433); - obj213.Steps = list311; - reference227 = obj213; - questRoot38.QuestSequence = list307; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(1599); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list312 = new List(num); - CollectionsMarshal.SetCount(list312, num); - CollectionsMarshal.AsSpan(list312)[0] = "JerryWester"; - questRoot39.Author = list312; - num = 3; - List list313 = new List(num); - CollectionsMarshal.SetCount(list313, num); - Span span114 = CollectionsMarshal.AsSpan(list313); - ref QuestSequence reference228 = ref span114[0]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - CollectionsMarshal.AsSpan(list314)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012387u, new Vector3(0.6866455f, 0.022254243f, 4.623413f), 433); - obj214.Steps = list314; - reference228 = obj214; - ref QuestSequence reference229 = ref span114[1]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - Span span115 = CollectionsMarshal.AsSpan(list315); - span115[0] = new QuestStep(EInteractionType.AcceptQuest, 1011952u, new Vector3(-277.63788f, -184.59735f, 741.60376f), 401) - { - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - PickUpQuestId = new QuestId(1748) - }; - ref QuestStep reference230 = ref span115[1]; - QuestStep obj216 = new QuestStep(EInteractionType.Interact, 1001029u, new Vector3(9.170593f, 20.999403f, -15.213318f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa - }; - num3 = 1; - List list316 = new List(num3); - CollectionsMarshal.SetCount(list316, num3); - CollectionsMarshal.AsSpan(list316)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_HEAVNA201_01599_Q1_000_000") - }; - obj216.DialogueChoices = list316; - reference230 = obj216; - obj215.Steps = list315; - reference229 = obj215; - ref QuestSequence reference231 = ref span114[2]; - QuestSequence obj217 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list317 = new List(num2); - CollectionsMarshal.SetCount(list317, num2); - Span span116 = CollectionsMarshal.AsSpan(list317); - span116[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(26.194313f, 50.989883f, -778.7069f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span116[1] = new QuestStep(EInteractionType.CompleteQuest, 1013018u, new Vector3(30.07544f, 50.99997f, -819.7299f), 156); - obj217.Steps = list317; - reference231 = obj217; - questRoot39.QuestSequence = list313; - AddQuest(questId39, questRoot39); - } - - private static void LoadQuests32() - { - QuestId questId = new QuestId(1600); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "JerryWester"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013018u, new Vector3(30.07544f, 50.99997f, -819.7299f), 156); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1013020u, new Vector3(-58.79309f, -21.311453f, -3.982666f), 145) - { - StopDistance = 1f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - Span span2 = CollectionsMarshal.AsSpan(list5); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-368.91202f, -22.538002f, 386.9863f), 145) - { - Fly = true - }; - span2[1] = new QuestStep(EInteractionType.CompleteQuest, 1013028u, new Vector3(-380.8805f, -23.064514f, 388.63196f), 145) - { - Fly = true - }; - obj3.Steps = list5; - reference3 = obj3; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(1601); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list6 = new List(num); - CollectionsMarshal.SetCount(list6, num); - CollectionsMarshal.AsSpan(list6)[0] = "JerryWester"; - questRoot2.Author = list6; - num = 7; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - Span span3 = CollectionsMarshal.AsSpan(list7); - ref QuestSequence reference4 = ref span3[0]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013028u, new Vector3(-380.8805f, -23.064514f, 388.63196f), 145); - obj4.Steps = list8; - reference4 = obj4; - ref QuestSequence reference5 = ref span3[1]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - ref QuestStep reference6 = ref CollectionsMarshal.AsSpan(list9)[0]; - QuestStep questStep = new QuestStep(EInteractionType.SinglePlayerDuty, 1013028u, new Vector3(-380.8805f, -23.064514f, 388.63196f), 145); - SinglePlayerDutyOptions obj6 = new SinglePlayerDutyOptions - { - Enabled = true - }; - int num3 = 1; - List list10 = new List(num3); - CollectionsMarshal.SetCount(list10, num3); - CollectionsMarshal.AsSpan(list10)[0] = "Will not move into melee range to kill the gate; Alphinaud will kill it after a while"; - obj6.Notes = list10; - questStep.SinglePlayerDutyOptions = obj6; - reference6 = questStep; - obj5.Steps = list9; - reference5 = obj5; - span3[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference7 = ref span3[3]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.Interact, 1013071u, new Vector3(-315.2362f, -24.488983f, 419.51624f), 145); - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span3[4]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Interact, 1013031u, new Vector3(-316.2433f, -24.34079f, 424.30762f), 145) - { - StopDistance = 5f - }; - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference9 = ref span3[5]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - Span span4 = CollectionsMarshal.AsSpan(list13); - span4[0] = new QuestStep(EInteractionType.UseItem, null, null, 145) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span4[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span4[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - obj9.Steps = list13; - reference9 = obj9; - ref QuestSequence reference10 = ref span3[6]; - QuestSequence obj10 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013038u, new Vector3(1.9989014f, 1.1445954E-06f, -2.5177612f), 212); - obj10.Steps = list14; - reference10 = obj10; - questRoot2.QuestSequence = list7; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(1602); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - CollectionsMarshal.AsSpan(list15)[0] = "JerryWester"; - questRoot3.Author = list15; - num = 4; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - Span span5 = CollectionsMarshal.AsSpan(list16); - ref QuestSequence reference11 = ref span5[0]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013038u, new Vector3(1.9989014f, 1.1445954E-06f, -2.5177612f), 212); - obj11.Steps = list17; - reference11 = obj11; - ref QuestSequence reference12 = ref span5[1]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.Interact, 1014644u, new Vector3(15.854065f, 15.96505f, -0.77819824f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardLastVigil - } - }; - obj12.Steps = list18; - reference12 = obj12; - ref QuestSequence reference13 = ref span5[2]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.Interact, 1011217u, new Vector3(17.990356f, 16.009666f, -9.567444f), 419) - { - StopDistance = 7f, - TargetTerritoryId = (ushort)433 - }; - obj13.Steps = list19; - reference13 = obj13; - ref QuestSequence reference14 = ref span5[3]; - QuestSequence obj14 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - ref QuestStep reference15 = ref CollectionsMarshal.AsSpan(list20)[0]; - QuestStep obj15 = new QuestStep(EInteractionType.CompleteQuest, 1012579u, new Vector3(1.1138916f, 0.022254243f, -4.409851f), 433) - { - StopDistance = 5f - }; - num3 = 1; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - CollectionsMarshal.AsSpan(list21)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_HEAVNA301_01602_Q1_000_000"), - Answer = new ExcelRef("TEXT_HEAVNA301_01602_A1_000_001") - }; - obj15.DialogueChoices = list21; - reference15 = obj15; - obj14.Steps = list20; - reference14 = obj14; - questRoot3.QuestSequence = list16; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(1603); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - CollectionsMarshal.AsSpan(list22)[0] = "JerryWester"; - questRoot4.Author = list22; - num = 4; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - Span span6 = CollectionsMarshal.AsSpan(list23); - ref QuestSequence reference16 = ref span6[0]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012579u, new Vector3(1.1138916f, 0.022254243f, -4.409851f), 433) - { - StopDistance = 5f - }; - obj16.Steps = list24; - reference16 = obj16; - ref QuestSequence reference17 = ref span6[1]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - Span span7 = CollectionsMarshal.AsSpan(list25); - span7[0] = new QuestStep(EInteractionType.Interact, 2005334u, new Vector3(-0.015319824f, 1.1443481f, 13.199036f), 433) - { - TargetTerritoryId = (ushort)419 - }; - span7[1] = new QuestStep(EInteractionType.Interact, 1012585u, new Vector3(14.755432f, 16.009666f, -4.0742188f), 419); - obj17.Steps = list25; - reference17 = obj17; - ref QuestSequence reference18 = ref span6[2]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - ref QuestStep reference19 = ref CollectionsMarshal.AsSpan(list26)[0]; - QuestStep obj19 = new QuestStep(EInteractionType.Interact, 1011223u, new Vector3(114.579956f, 24.412834f, -11.062805f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardLastVigil, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - num3 = 1; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - CollectionsMarshal.AsSpan(list27)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_HEAVNA302_01603_SCENE00020_EVENTAREA_WARP_YESNO_TITLE") - }; - obj19.DialogueChoices = list27; - reference19 = obj19; - obj18.Steps = list26; - reference18 = obj18; - ref QuestSequence reference20 = ref span6[3]; - QuestSequence obj20 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012588u, new Vector3(107.68286f, 24.378597f, -6.6987915f), 418) - { - StopDistance = 7f - }; - obj20.Steps = list28; - reference20 = obj20; - questRoot4.QuestSequence = list23; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(1604); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - CollectionsMarshal.AsSpan(list29)[0] = "JerryWester"; - questRoot5.Author = list29; - num = 7; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - Span span8 = CollectionsMarshal.AsSpan(list30); - ref QuestSequence reference21 = ref span8[0]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012588u, new Vector3(107.68286f, 24.378597f, -6.6987915f), 418) - { - StopDistance = 7f - }; - obj21.Steps = list31; - reference21 = obj21; - ref QuestSequence reference22 = ref span8[1]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 1011217u, new Vector3(17.990356f, 16.009666f, -9.567444f), 419) - { - TargetTerritoryId = (ushort)433, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardLastVigil - } - }; - obj22.Steps = list32; - reference22 = obj22; - ref QuestSequence reference23 = ref span8[2]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - Span span9 = CollectionsMarshal.AsSpan(list33); - ref QuestStep reference24 = ref span9[0]; - QuestStep obj24 = new QuestStep(EInteractionType.Interact, 2005334u, new Vector3(-0.015319824f, 1.1443481f, 13.199036f), 433) - { - TargetTerritoryId = (ushort)419 - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - CollectionsMarshal.AsSpan(list34)[0] = 419; - skipStepConditions.InTerritory = list34; - skipConditions.StepIf = skipStepConditions; - obj24.SkipConditions = skipConditions; - reference24 = obj24; - span9[1] = new QuestStep(EInteractionType.Interact, 1013422u, new Vector3(-97.73407f, 15.233179f, -40.787415f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardLastVigil, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - obj23.Steps = list33; - reference23 = obj23; - ref QuestSequence reference25 = ref span8[3]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.Interact, 1011231u, new Vector3(503.1051f, 217.95148f, 790.2189f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj25.Steps = list35; - reference25 = obj25; - ref QuestSequence reference26 = ref span8[4]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 4 - }; - num2 = 4; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - Span span10 = CollectionsMarshal.AsSpan(list36); - span10[0] = new QuestStep(EInteractionType.AcceptQuest, 1011240u, new Vector3(493.15625f, 200.2377f, 663.01965f), 397) - { - PickUpQuestId = new QuestId(1744) - }; - span10[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2005536u, new Vector3(402.0293f, 191.51587f, 561.4252f), 397) - { - AetherCurrentId = 2818053u - }; - span10[2] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2006187u, new Vector3(424.94836f, 164.29382f, -536.9192f), 397) - { - AetherCurrentId = 2818055u - }; - span10[3] = new QuestStep(EInteractionType.Interact, 1012592u, new Vector3(459.15918f, 162.51204f, -524.651f), 397); - obj26.Steps = list36; - reference26 = obj26; - ref QuestSequence reference27 = ref span8[5]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - Span span11 = CollectionsMarshal.AsSpan(list37); - span11[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(454.75964f, 164.27075f, -535.00354f), 397) - { - Mount = true - }; - span11[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(454.9128f, 164.30827f, -542.1735f), 397) - { - DisableNavmesh = true - }; - ref QuestStep reference28 = ref span11[2]; - QuestStep obj28 = new QuestStep(EInteractionType.Combat, null, new Vector3(455.6516f, 157.40831f, -546.16815f), 397) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - Span span12 = CollectionsMarshal.AsSpan(list38); - span12[0] = 4383u; - span12[1] = 4384u; - obj28.KillEnemyDataIds = list38; - reference28 = obj28; - obj27.Steps = list37; - reference27 = obj27; - ref QuestSequence reference29 = ref span8[6]; - QuestSequence obj29 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - Span span13 = CollectionsMarshal.AsSpan(list39); - span13[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(454.9128f, 164.30827f, -542.1735f), 397) - { - Mount = true - }; - span13[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(454.75964f, 164.27075f, -535.00354f), 397) - { - DisableNavmesh = true - }; - span13[2] = new QuestStep(EInteractionType.CompleteQuest, 1012592u, new Vector3(459.15918f, 162.51204f, -524.651f), 397); - obj29.Steps = list39; - reference29 = obj29; - questRoot5.QuestSequence = list30; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(1605); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - CollectionsMarshal.AsSpan(list40)[0] = "JerryWester"; - questRoot6.Author = list40; - num = 3; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - Span span14 = CollectionsMarshal.AsSpan(list41); - ref QuestSequence reference30 = ref span14[0]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012592u, new Vector3(459.15918f, 162.51204f, -524.651f), 397); - obj30.Steps = list42; - reference30 = obj30; - ref QuestSequence reference31 = ref span14[1]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - Span span15 = CollectionsMarshal.AsSpan(list43); - span15[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(454.75964f, 164.27075f, -535.00354f), 397); - span15[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(454.9128f, 164.30827f, -542.1735f), 397) - { - DisableNavmesh = true - }; - ref QuestStep reference32 = ref span15[2]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2005432u, new Vector3(450.85828f, 164.29382f, -544.79285f), 397); - num3 = 6; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - Span span16 = CollectionsMarshal.AsSpan(list44); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list44; - reference32 = questStep2; - ref QuestStep reference33 = ref span15[3]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2005433u, new Vector3(443.50342f, 157.48828f, -559.47205f), 397); - num3 = 6; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - Span span17 = CollectionsMarshal.AsSpan(list45); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list45; - reference33 = questStep3; - ref QuestStep reference34 = ref span15[4]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2005434u, new Vector3(466.7887f, 157.39673f, -540.8561f), 397); - num3 = 6; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - Span span18 = CollectionsMarshal.AsSpan(list46); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list46; - reference34 = questStep4; - obj31.Steps = list43; - reference31 = obj31; - ref QuestSequence reference35 = ref span14[2]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012601u, new Vector3(452.41467f, 157.40831f, -542.8397f), 397); - obj32.Steps = list47; - reference35 = obj32; - questRoot6.QuestSequence = list41; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(1606); - QuestRoot questRoot7 = new QuestRoot(); - num = 2; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - Span span19 = CollectionsMarshal.AsSpan(list48); - span19[0] = "JerryWester"; - span19[1] = "Wigglez"; - questRoot7.Author = list48; - num = 4; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - Span span20 = CollectionsMarshal.AsSpan(list49); - ref QuestSequence reference36 = ref span20[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012600u, new Vector3(451.65173f, 157.40831f, -544.6708f), 397) - { - StopDistance = 5f - }; - obj33.Steps = list50; - reference36 = obj33; - ref QuestSequence reference37 = ref span20[1]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 1 - }; - num2 = 7; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - Span span21 = CollectionsMarshal.AsSpan(list51); - span21[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(474.62885f, 200.2377f, 657.9519f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - span21[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(486.38373f, 163.58846f, 239.54294f), 397); - span21[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(517.53094f, 131.76724f, 200.50333f), 397) - { - DisableNavmesh = true - }; - span21[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(624.0087f, 117.14958f, 232.29897f), 397); - span21[4] = new QuestStep(EInteractionType.Combat, null, new Vector3(624.0087f, 117.14958f, 232.29897f), 397) - { - DelaySecondsAtStart = 8f, - Comment = "Fight anything needed", - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - span21[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(616.8997f, 78.429f, 207.48883f), 397) - { - DisableNavmesh = true - }; - span21[6] = new QuestStep(EInteractionType.SinglePlayerDuty, 1011905u, new Vector3(617.4868f, 78.429f, 217.30359f), 397) - { - DisableNavmesh = true, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj34.Steps = list51; - reference37 = obj34; - ref QuestSequence reference38 = ref span20[2]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.Interact, 1012604u, new Vector3(620.9657f, 78.42899f, 213.88562f), 397) - { - StopDistance = 5f - }; - obj35.Steps = list52; - reference38 = obj35; - ref QuestSequence reference39 = ref span20[3]; - QuestSequence obj36 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - Span span22 = CollectionsMarshal.AsSpan(list53); - span22[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2006189u, new Vector3(-332.90613f, 126.81775f, -29.953552f), 397) - { - AetherCurrentId = 2818057u - }; - span22[1] = new QuestStep(EInteractionType.CompleteQuest, 1011907u, new Vector3(-288.8686f, 127.06639f, 13.199036f), 397); - obj36.Steps = list53; - reference39 = obj36; - questRoot7.QuestSequence = list49; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(1607); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - CollectionsMarshal.AsSpan(list54)[0] = "JerryWester"; - questRoot8.Author = list54; - num = 3; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - Span span23 = CollectionsMarshal.AsSpan(list55); - ref QuestSequence reference40 = ref span23[0]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012765u, new Vector3(-280.0794f, 127.03028f, 11.9782715f), 397); - obj37.Steps = list56; - reference40 = obj37; - ref QuestSequence reference41 = ref span23[1]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - Span span24 = CollectionsMarshal.AsSpan(list57); - ref QuestStep reference42 = ref span24[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1013435u, new Vector3(-271.04602f, 126.894035f, 8.773865f), 397); - num3 = 6; - List list58 = new List(num3); - CollectionsMarshal.SetCount(list58, num3); - Span span25 = CollectionsMarshal.AsSpan(list58); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list58; - reference42 = questStep5; - ref QuestStep reference43 = ref span24[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1013436u, new Vector3(-260.39526f, 126.21859f, -2.822998f), 397); - num3 = 6; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - Span span26 = CollectionsMarshal.AsSpan(list59); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list59; - reference43 = questStep6; - ref QuestStep reference44 = ref span24[2]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1011910u, new Vector3(-298.26813f, 126.67049f, -1.4191895f), 397); - num3 = 6; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - Span span27 = CollectionsMarshal.AsSpan(list60); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list60; - reference44 = questStep7; - obj38.Steps = list57; - reference41 = obj38; - ref QuestSequence reference45 = ref span23[2]; - QuestSequence obj39 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012283u, new Vector3(-311.14673f, 126.503296f, -6.729248f), 397); - obj39.Steps = list61; - reference45 = obj39; - questRoot8.QuestSequence = list55; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(1608); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - CollectionsMarshal.AsSpan(list62)[0] = "JerryWester"; - questRoot9.Author = list62; - num = 3; - List list63 = new List(num); - CollectionsMarshal.SetCount(list63, num); - Span span28 = CollectionsMarshal.AsSpan(list63); - ref QuestSequence reference46 = ref span28[0]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012764u, new Vector3(-307.54565f, 126.63436f, -3.2807007f), 397); - obj40.Steps = list64; - reference46 = obj40; - ref QuestSequence reference47 = ref span28[1]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - Span span29 = CollectionsMarshal.AsSpan(list65); - span29[0] = new QuestStep(EInteractionType.AcceptQuest, 1011910u, new Vector3(-298.26813f, 126.67049f, -1.4191895f), 397) - { - PickUpQuestId = new QuestId(1759) - }; - span29[1] = new QuestStep(EInteractionType.AcceptQuest, 1011907u, new Vector3(-288.8686f, 127.06639f, 13.199036f), 397) - { - PickUpQuestId = new QuestId(1760) - }; - span29[2] = new QuestStep(EInteractionType.AcceptQuest, 1011911u, new Vector3(-279.56055f, 127.08131f, 13.595764f), 397) - { - PickUpQuestId = new QuestId(2111) - }; - ref QuestStep reference48 = ref span29[3]; - QuestStep obj42 = new QuestStep(EInteractionType.Combat, null, new Vector3(-365.48965f, 85.44247f, -360.56012f), 397) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - CollectionsMarshal.AsSpan(list66)[0] = new ComplexCombatData - { - DataId = 3988u, - MinimumKillCount = 2u - }; - obj42.ComplexCombatData = list66; - reference48 = obj42; - obj41.Steps = list65; - reference47 = obj41; - ref QuestSequence reference49 = ref span28[2]; - QuestSequence obj43 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - Span span30 = CollectionsMarshal.AsSpan(list67); - span30[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2006190u, new Vector3(-660.15106f, 135.51526f, -376.63843f), 397) - { - AetherCurrentId = 2818058u - }; - span30[1] = new QuestStep(EInteractionType.CompleteQuest, 1012670u, new Vector3(-631.9219f, 142.1073f, -322.71307f), 397); - obj43.Steps = list67; - reference49 = obj43; - questRoot9.QuestSequence = list63; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(1609); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - CollectionsMarshal.AsSpan(list68)[0] = "JerryWester"; - questRoot10.Author = list68; - num = 4; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - Span span31 = CollectionsMarshal.AsSpan(list69); - ref QuestSequence reference50 = ref span31[0]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012609u, new Vector3(-688.777f, 121.51788f, -390.49365f), 397); - obj44.Steps = list70; - reference50 = obj44; - ref QuestSequence reference51 = ref span31[1]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - Span span32 = CollectionsMarshal.AsSpan(list71); - span32[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-826.9342f, 117.95439f, -642.92413f), 397) - { - Fly = true - }; - span32[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-850.3646f, 117.68303f, -656.6694f), 397) - { - TargetTerritoryId = (ushort)398 - }; - obj45.Steps = list71; - reference51 = obj45; - ref QuestSequence reference52 = ref span31[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.Interact, 1012612u, new Vector3(801.90735f, -19.788122f, 311.75696f), 398); - obj46.Steps = list72; - reference52 = obj46; - ref QuestSequence reference53 = ref span31[3]; - QuestSequence obj47 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - Span span33 = CollectionsMarshal.AsSpan(list73); - span33[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2006195u, new Vector3(765.0111f, -15.85179f, 289.082f), 398) - { - AetherCurrentId = 2818068u - }; - span33[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(744.5929f, -34.200893f, 272.8362f), 398) - { - DisableNavmesh = true, - Mount = true - }; - span33[2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 398) - { - Aetheryte = EAetheryteLocation.DravanianForelandsTailfeather - }; - span33[3] = new QuestStep(EInteractionType.CompleteQuest, 1011916u, new Vector3(470.02356f, -49.89133f, 20.370789f), 398); - obj47.Steps = list73; - reference53 = obj47; - questRoot10.QuestSequence = list69; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(1610); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - CollectionsMarshal.AsSpan(list74)[0] = "JerryWester"; - questRoot11.Author = list74; - num = 5; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - Span span34 = CollectionsMarshal.AsSpan(list75); - ref QuestSequence reference54 = ref span34[0]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011916u, new Vector3(470.02356f, -49.89133f, 20.370789f), 398); - obj48.Steps = list76; - reference54 = obj48; - ref QuestSequence reference55 = ref span34[1]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Interact, 1012615u, new Vector3(468.77234f, -49.89133f, 25.589355f), 398); - obj49.Steps = list77; - reference55 = obj49; - ref QuestSequence reference56 = ref span34[2]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - Span span35 = CollectionsMarshal.AsSpan(list78); - span35[0] = new QuestStep(EInteractionType.AcceptQuest, 1011916u, new Vector3(470.02356f, -49.89133f, 20.370789f), 398) - { - PickUpQuestId = new QuestId(1771) - }; - ref QuestStep reference57 = ref span35[1]; - QuestStep obj51 = new QuestStep(EInteractionType.Combat, null, new Vector3(634.0371f, -40.05916f, -296.1493f), 398) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - Span span36 = CollectionsMarshal.AsSpan(list79); - span36[0] = 4367u; - span36[1] = 4368u; - obj51.KillEnemyDataIds = list79; - reference57 = obj51; - obj50.Steps = list78; - reference56 = obj50; - ref QuestSequence reference58 = ref span34[3]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - Span span37 = CollectionsMarshal.AsSpan(list80); - span37[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2006197u, new Vector3(433.52405f, -47.776062f, -286.24402f), 398) - { - AetherCurrentId = 2818070u - }; - ref QuestStep reference59 = ref span37[1]; - QuestStep obj53 = new QuestStep(EInteractionType.Combat, null, new Vector3(234.626f, -56.601433f, -258.33804f), 398) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list81 = new List(num3); - CollectionsMarshal.SetCount(list81, num3); - Span span38 = CollectionsMarshal.AsSpan(list81); - span38[0] = 4364u; - span38[1] = 4365u; - obj53.KillEnemyDataIds = list81; - reference59 = obj53; - obj52.Steps = list80; - reference58 = obj52; - ref QuestSequence reference60 = ref span34[4]; - QuestSequence obj54 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - ref QuestStep reference61 = ref CollectionsMarshal.AsSpan(list82)[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.CompleteQuest, 2005489u, new Vector3(169.604f, -63.24872f, -11.825806f), 398); - num3 = 1; - List list83 = new List(num3); - CollectionsMarshal.SetCount(list83, num3); - CollectionsMarshal.AsSpan(list83)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_HEAVNA309_01610_A1_000_000"), - Answer = new ExcelRef("TEXT_HEAVNA309_01610_Q1_000_001") - }; - questStep8.DialogueChoices = list83; - reference61 = questStep8; - obj54.Steps = list82; - reference60 = obj54; - questRoot11.QuestSequence = list75; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(1611); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - CollectionsMarshal.AsSpan(list84)[0] = "JerryWester"; - questRoot12.Author = list84; - num = 5; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - Span span39 = CollectionsMarshal.AsSpan(list85); - ref QuestSequence reference62 = ref span39[0]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012619u, new Vector3(167.25415f, -63.618378f, -9.2317505f), 398) - { - StopDistance = 7f - }; - obj55.Steps = list86; - reference62 = obj55; - ref QuestSequence reference63 = ref span39[1]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.Interact, 1012622u, new Vector3(-178.97314f, -105.59011f, 508.812f), 398); - obj56.Steps = list87; - reference63 = obj56; - ref QuestSequence reference64 = ref span39[2]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - ref QuestStep reference65 = ref CollectionsMarshal.AsSpan(list88)[0]; - QuestStep obj58 = new QuestStep(EInteractionType.Combat, null, new Vector3(-245.28185f, -84.46064f, 450.64175f), 398) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list89 = new List(num3); - CollectionsMarshal.SetCount(list89, num3); - Span span40 = CollectionsMarshal.AsSpan(list89); - span40[0] = 4364u; - span40[1] = 4366u; - span40[2] = 4369u; - obj58.KillEnemyDataIds = list89; - reference65 = obj58; - obj57.Steps = list88; - reference64 = obj57; - ref QuestSequence reference66 = ref span39[3]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - ref QuestStep reference67 = ref CollectionsMarshal.AsSpan(list90)[0]; - QuestStep obj60 = new QuestStep(EInteractionType.Combat, null, new Vector3(-282.51865f, -63.319576f, 333.95447f), 398) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list91 = new List(num3); - CollectionsMarshal.SetCount(list91, num3); - Span span41 = CollectionsMarshal.AsSpan(list91); - span41[0] = 4364u; - span41[1] = 4366u; - span41[2] = 4369u; - obj60.KillEnemyDataIds = list91; - reference67 = obj60; - obj59.Steps = list90; - reference66 = obj59; - ref QuestSequence reference68 = ref span39[4]; - QuestSequence obj61 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012625u, new Vector3(-212.72601f, -37.574783f, 185.16821f), 398); - obj61.Steps = list92; - reference68 = obj61; - questRoot12.QuestSequence = list85; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(1612); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list93 = new List(num); - CollectionsMarshal.SetCount(list93, num); - CollectionsMarshal.AsSpan(list93)[0] = "JerryWester"; - questRoot13.Author = list93; - num = 4; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - Span span42 = CollectionsMarshal.AsSpan(list94); - ref QuestSequence reference69 = ref span42[0]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012628u, new Vector3(-247.63867f, -30.290216f, 109.391846f), 398); - obj62.Steps = list95; - reference69 = obj62; - ref QuestSequence reference70 = ref span42[1]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - Span span43 = CollectionsMarshal.AsSpan(list96); - span43[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 398) - { - Aetheryte = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - span43[1] = new QuestStep(EInteractionType.Interact, 1011916u, new Vector3(470.02356f, -49.89133f, 20.370789f), 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - obj63.Steps = list96; - reference70 = obj63; - ref QuestSequence reference71 = ref span42[2]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - ref QuestStep reference72 = ref CollectionsMarshal.AsSpan(list97)[0]; - QuestStep obj65 = new QuestStep(EInteractionType.Combat, null, new Vector3(290.04944f, -65.506195f, 2.676069f), 398) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - CollectionsMarshal.AsSpan(list98)[0] = new ComplexCombatData - { - DataId = 4467u, - MinimumKillCount = 3u, - RewardItemId = 2001580u, - RewardItemCount = 3 - }; - obj65.ComplexCombatData = list98; - reference72 = obj65; - obj64.Steps = list97; - reference71 = obj64; - ref QuestSequence reference73 = ref span42[3]; - QuestSequence obj66 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012629u, new Vector3(200f, -55.462486f, -233.44781f), 398); - obj66.Steps = list99; - reference73 = obj66; - questRoot13.QuestSequence = list94; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(1613); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - CollectionsMarshal.AsSpan(list100)[0] = "JerryWester"; - questRoot14.Author = list100; - num = 3; - List list101 = new List(num); - CollectionsMarshal.SetCount(list101, num); - Span span44 = CollectionsMarshal.AsSpan(list101); - ref QuestSequence reference74 = ref span44[0]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012629u, new Vector3(200f, -55.462486f, -233.44781f), 398); - obj67.Steps = list102; - reference74 = obj67; - ref QuestSequence reference75 = ref span44[1]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.Interact, 1012671u, new Vector3(70.725464f, -49.385155f, -151.99518f), 398); - obj68.Steps = list103; - reference75 = obj68; - ref QuestSequence reference76 = ref span44[2]; - QuestSequence obj69 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011928u, new Vector3(73.19751f, -49.19563f, -139.05548f), 398); - obj69.Steps = list104; - reference76 = obj69; - questRoot14.QuestSequence = list101; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(1614); - QuestRoot questRoot15 = new QuestRoot(); - num = 2; - List list105 = new List(num); - CollectionsMarshal.SetCount(list105, num); - Span span45 = CollectionsMarshal.AsSpan(list105); - span45[0] = "JerryWester"; - span45[1] = "Wigglez"; - questRoot15.Author = list105; - num = 6; - List list106 = new List(num); - CollectionsMarshal.SetCount(list106, num); - Span span46 = CollectionsMarshal.AsSpan(list106); - ref QuestSequence reference77 = ref span46[0]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - ref QuestStep reference78 = ref CollectionsMarshal.AsSpan(list107)[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.AcceptQuest, 1012636u, new Vector3(77.46997f, -49.24018f, -148.97388f), 398); - num3 = 1; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - CollectionsMarshal.AsSpan(list108)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_HEAVNA313_01614_Q1_000_000"), - Answer = new ExcelRef("TEXT_HEAVNA313_01614_A1_000_001") - }; - questStep9.DialogueChoices = list108; - reference78 = questStep9; - obj70.Steps = list107; - reference77 = obj70; - ref QuestSequence reference79 = ref span46[1]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - Span span47 = CollectionsMarshal.AsSpan(list109); - ref QuestStep reference80 = ref span47[0]; - QuestStep obj72 = new QuestStep(EInteractionType.Interact, 1011930u, new Vector3(81.49841f, -49.21252f, -150.04199f), 398) - { - StopDistance = 7f - }; - num3 = 6; - List list110 = new List(num3); - CollectionsMarshal.SetCount(list110, num3); - Span span48 = CollectionsMarshal.AsSpan(list110); - span48[0] = null; - span48[1] = null; - span48[2] = null; - span48[3] = null; - span48[4] = null; - span48[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj72.CompletionQuestVariablesFlags = list110; - reference80 = obj72; - ref QuestStep reference81 = ref span47[1]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1011929u, new Vector3(70.81714f, -49.2083f, -141.55798f), 398); - num3 = 6; - List list111 = new List(num3); - CollectionsMarshal.SetCount(list111, num3); - Span span49 = CollectionsMarshal.AsSpan(list111); - span49[0] = null; - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list111; - reference81 = questStep10; - ref QuestStep reference82 = ref span47[2]; - QuestStep obj73 = new QuestStep(EInteractionType.Interact, 1011928u, new Vector3(73.19751f, -49.19563f, -139.05548f), 398) - { - StopDistance = 5f - }; - num3 = 6; - List list112 = new List(num3); - CollectionsMarshal.SetCount(list112, num3); - Span span50 = CollectionsMarshal.AsSpan(list112); - span50[0] = null; - span50[1] = null; - span50[2] = null; - span50[3] = null; - span50[4] = null; - span50[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj73.CompletionQuestVariablesFlags = list112; - reference82 = obj73; - obj71.Steps = list109; - reference79 = obj71; - ref QuestSequence reference83 = ref span46[2]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.Interact, 1011931u, new Vector3(56.839844f, -49.92323f, -135.91211f), 398); - obj74.Steps = list113; - reference83 = obj74; - ref QuestSequence reference84 = ref span46[3]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - Span span51 = CollectionsMarshal.AsSpan(list114); - span51[0] = new QuestStep(EInteractionType.AcceptQuest, 1011929u, new Vector3(70.81714f, -49.2083f, -141.55798f), 398) - { - PickUpQuestId = new QuestId(1790) - }; - span51[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(320.7925f, -59.45279f, 18.284615f), 398) - { - Comment = "Safe spot to drop aggro", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(320.7925f, -59.45279f, 18.284615f), - MaximumDistance = 5f, - TerritoryId = 398 - } - } - } - }; - span51[2] = new QuestStep(EInteractionType.None, null, null, 398) - { - DelaySecondsAtStart = 5f, - Comment = "Wait 5 seconds to ensure aggro is dropped", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotNearPosition = new NearPositionCondition - { - Position = new Vector3(320.7925f, -59.45279f, 18.284615f), - MaximumDistance = 5f, - TerritoryId = 398 - } - } - } - }; - ref QuestStep reference85 = ref span51[3]; - QuestStep obj76 = new QuestStep(EInteractionType.Combat, null, new Vector3(291.1391f, -64.697876f, -5.7822924f), 398) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list115 = new List(num3); - CollectionsMarshal.SetCount(list115, num3); - CollectionsMarshal.AsSpan(list115)[0] = new ComplexCombatData - { - DataId = 4467u, - MinimumKillCount = 1u, - RewardItemId = 2001579u, - RewardItemCount = 1 - }; - obj76.ComplexCombatData = list115; - reference85 = obj76; - obj75.Steps = list114; - reference84 = obj75; - ref QuestSequence reference86 = ref span46[4]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.Interact, 1011931u, new Vector3(56.839844f, -49.92323f, -135.91211f), 398); - obj77.Steps = list116; - reference86 = obj77; - ref QuestSequence reference87 = ref span46[5]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013582u, new Vector3(59.220215f, -50.888588f, -130.23578f), 398); - obj78.Steps = list117; - reference87 = obj78; - questRoot15.QuestSequence = list106; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(1615); - QuestRoot questRoot16 = new QuestRoot(); - num = 2; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - Span span52 = CollectionsMarshal.AsSpan(list118); - span52[0] = "JerryWester"; - span52[1] = "Wigglez"; - questRoot16.Author = list118; - num = 5; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - Span span53 = CollectionsMarshal.AsSpan(list119); - ref QuestSequence reference88 = ref span53[0]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013582u, new Vector3(59.220215f, -50.888588f, -130.23578f), 398); - obj79.Steps = list120; - reference88 = obj79; - ref QuestSequence reference89 = ref span53[1]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - ref QuestStep reference90 = ref CollectionsMarshal.AsSpan(list121)[0]; - QuestStep obj81 = new QuestStep(EInteractionType.Combat, 1012639u, new Vector3(190.50879f, -118.35855f, 567.7118f), 398) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 4; - List list122 = new List(num3); - CollectionsMarshal.SetCount(list122, num3); - Span span54 = CollectionsMarshal.AsSpan(list122); - span54[0] = 4364u; - span54[1] = 4366u; - span54[2] = 4369u; - span54[3] = 4370u; - obj81.KillEnemyDataIds = list122; - reference90 = obj81; - obj80.Steps = list121; - reference89 = obj80; - ref QuestSequence reference91 = ref span53[2]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - Span span55 = CollectionsMarshal.AsSpan(list123); - span55[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(256.292f, -117.802765f, 578.33594f), 398) - { - Comment = "Try to avoid combat" - }; - span55[1] = new QuestStep(EInteractionType.Combat, null, new Vector3(256.292f, -117.802765f, 578.33594f), 398) - { - DelaySecondsAtStart = 5f, - Comment = "Fight before interacting with Ysayle", - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - span55[2] = new QuestStep(EInteractionType.Interact, 1013192u, new Vector3(236.6521f, -118.15404f, 564.4159f), 398); - obj82.Steps = list123; - reference91 = obj82; - ref QuestSequence reference92 = ref span53[3]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - ref QuestStep reference93 = ref CollectionsMarshal.AsSpan(list124)[0]; - QuestStep obj84 = new QuestStep(EInteractionType.Combat, null, new Vector3(263.7836f, -97.12261f, 614.4929f), 398) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 6; - List list125 = new List(num3); - CollectionsMarshal.SetCount(list125, num3); - Span span56 = CollectionsMarshal.AsSpan(list125); - span56[0] = 4385u; - span56[1] = 4386u; - span56[2] = 4387u; - span56[3] = 4388u; - span56[4] = 4389u; - span56[5] = 4390u; - obj84.KillEnemyDataIds = list125; - reference93 = obj84; - obj83.Steps = list124; - reference92 = obj83; - ref QuestSequence reference94 = ref span53[4]; - QuestSequence obj85 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 7; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - Span span57 = CollectionsMarshal.AsSpan(list126); - span57[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(387.38608f, -96.33344f, 753.33954f), 398) - { - Comment = "Try to avoid combat" - }; - span57[1] = new QuestStep(EInteractionType.Combat, null, new Vector3(387.93314f, -96.378525f, 753.7759f), 398) - { - DelaySecondsAtStart = 10f, - Comment = "Fight anything needed", - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - span57[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(407.45706f, -92.90822f, 718.0504f), 398) - { - Comment = "Move to a safe spot between Aether current and Complete Quest Destination" - }; - span57[3] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2006204u, new Vector3(406.75964f, -89.79938f, 686.6101f), 398) - { - AetherCurrentId = 2818077u - }; - span57[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(407.45706f, -92.90822f, 718.0504f), 398) - { - Comment = "Move to a safe spot between Aether current and Complete Quest Destination" - }; - span57[5] = new QuestStep(EInteractionType.Combat, null, new Vector3(407.45706f, -92.90822f, 718.0504f), 398) - { - DelaySecondsAtStart = 1f, - Comment = "Fight anything needed", - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - span57[6] = new QuestStep(EInteractionType.CompleteQuest, 2006423u, new Vector3(394.3694f, -93.98035f, 731.80725f), 398); - obj85.Steps = list126; - reference94 = obj85; - questRoot16.QuestSequence = list119; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(1616); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list127 = new List(num); - CollectionsMarshal.SetCount(list127, num); - CollectionsMarshal.AsSpan(list127)[0] = "JerryWester"; - questRoot17.Author = list127; - num = 7; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - Span span58 = CollectionsMarshal.AsSpan(list128); - ref QuestSequence reference95 = ref span58[0]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012638u, new Vector3(394.94922f, -93.9111f, 727.5348f), 398); - obj86.Steps = list129; - reference95 = obj86; - ref QuestSequence reference96 = ref span58[1]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-5.6537967f, -0.012253165f, 22.646173f), 462); - obj87.Steps = list130; - reference96 = obj87; - ref QuestSequence reference97 = ref span58[2]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-17.24303f, 0f, 70.677536f), 462); - obj88.Steps = list131; - reference97 = obj88; - ref QuestSequence reference98 = ref span58[3]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.Duty, null, null, 462) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 86u - } - }; - obj89.Steps = list132; - reference98 = obj89; - span58[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference99 = ref span58[5]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.Interact, 1012656u, new Vector3(-10.940796f, -128.9908f, 728.26733f), 398) - { - StopDistance = 5f - }; - obj90.Steps = list133; - reference99 = obj90; - ref QuestSequence reference100 = ref span58[6]; - QuestSequence obj91 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 6; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - Span span59 = CollectionsMarshal.AsSpan(list134); - ref QuestStep reference101 = ref span59[0]; - QuestStep obj92 = new QuestStep(EInteractionType.AcceptQuest, 1011916u, new Vector3(470.02356f, -49.89133f, 20.370789f), 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list135 = new List(num3); - CollectionsMarshal.SetCount(list135, num3); - CollectionsMarshal.AsSpan(list135)[0] = new QuestId(1797); - skipAetheryteCondition.QuestsCompleted = list135; - skipConditions2.AetheryteShortcutIf = skipAetheryteCondition; - obj92.SkipConditions = skipConditions2; - obj92.PickUpQuestId = new QuestId(1797); - reference101 = obj92; - ref QuestStep reference102 = ref span59[1]; - QuestStep obj93 = new QuestStep(EInteractionType.AcceptQuest, 1011937u, new Vector3(-305.56195f, 39.04307f, 22.9953f), 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num3 = 1; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - CollectionsMarshal.AsSpan(list136)[0] = new QuestId(1802); - skipAetheryteCondition2.QuestsCompleted = list136; - skipConditions3.AetheryteShortcutIf = skipAetheryteCondition2; - obj93.SkipConditions = skipConditions3; - obj93.PickUpQuestId = new QuestId(1802); - reference102 = obj93; - span59[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-30.522272f, -32.192017f, -84.3334f), 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - span59[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-21.787895f, -30.428743f, -80.12713f), 398) - { - DisableNavmesh = true - }; - span59[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(22.235865f, -24.754946f, -119.65716f), 398); - span59[5] = new QuestStep(EInteractionType.CompleteQuest, 1014544u, new Vector3(56.351562f, -50.57729f, -142.50409f), 398) - { - DisableNavmesh = true - }; - obj91.Steps = list134; - reference100 = obj91; - questRoot17.QuestSequence = list128; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(1617); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list137 = new List(num); - CollectionsMarshal.SetCount(list137, num); - CollectionsMarshal.AsSpan(list137)[0] = "JerryWester"; - questRoot18.Author = list137; - num = 6; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - Span span60 = CollectionsMarshal.AsSpan(list138); - ref QuestSequence reference103 = ref span60[0]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013584u, new Vector3(58.91504f, -50.325172f, -146.95972f), 398) - { - StopDistance = 7f - }; - obj94.Steps = list139; - reference103 = obj94; - ref QuestSequence reference104 = ref span60[1]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.Interact, 1012657u, new Vector3(-248.64581f, -30.095806f, 102.22009f), 398) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - obj95.Steps = list140; - reference104 = obj95; - ref QuestSequence reference105 = ref span60[2]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - Span span61 = CollectionsMarshal.AsSpan(list141); - span61[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2006201u, new Vector3(-480.30823f, -5.996826f, -425.28424f), 398) - { - AetherCurrentId = 2818074u - }; - span61[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-467.55936f, -11.599176f, -445.6323f), 398) - { - DisableNavmesh = true, - Mount = true - }; - span61[2] = new QuestStep(EInteractionType.Interact, 2005448u, new Vector3(-688.38025f, 4.8981323f, -794.88824f), 398); - obj96.Steps = list141; - reference105 = obj96; - ref QuestSequence reference106 = ref span60[3]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.Duty, null, null, 398) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 37u - } - }; - obj97.Steps = list142; - reference106 = obj97; - span60[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference107 = ref span60[5]; - QuestSequence obj98 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012661u, new Vector3(240.31421f, -42.317062f, 615.1063f), 400); - obj98.Steps = list143; - reference107 = obj98; - questRoot18.QuestSequence = list138; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(1618); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list144 = new List(num); - CollectionsMarshal.SetCount(list144, num); - CollectionsMarshal.AsSpan(list144)[0] = "JerryWester"; - questRoot19.Author = list144; - num = 4; - List list145 = new List(num); - CollectionsMarshal.SetCount(list145, num); - Span span62 = CollectionsMarshal.AsSpan(list145); - ref QuestSequence reference108 = ref span62[0]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012661u, new Vector3(240.31421f, -42.317062f, 615.1063f), 400); - obj99.Steps = list146; - reference108 = obj99; - ref QuestSequence reference109 = ref span62[1]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - Span span63 = CollectionsMarshal.AsSpan(list147); - span63[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 400) - { - Aetheryte = EAetheryteLocation.ChurningMistsMoghome - }; - span63[1] = new QuestStep(EInteractionType.Interact, 1013195u, new Vector3(287.55627f, -46.700905f, 663.87415f), 400); - obj100.Steps = list147; - reference109 = obj100; - ref QuestSequence reference110 = ref span62[2]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - Span span64 = CollectionsMarshal.AsSpan(list148); - ref QuestStep reference111 = ref span64[0]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 2005451u, new Vector3(379.23242f, -69.44385f, 690.30273f), 400); - num3 = 6; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - Span span65 = CollectionsMarshal.AsSpan(list149); - span65[0] = null; - span65[1] = null; - span65[2] = null; - span65[3] = null; - span65[4] = null; - span65[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list149; - reference111 = questStep11; - ref QuestStep reference112 = ref span64[1]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 2005452u, new Vector3(402.0293f, -73.136475f, 668.4214f), 400); - num3 = 6; - List list150 = new List(num3); - CollectionsMarshal.SetCount(list150, num3); - Span span66 = CollectionsMarshal.AsSpan(list150); - span66[0] = null; - span66[1] = null; - span66[2] = null; - span66[3] = null; - span66[4] = null; - span66[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list150; - reference112 = questStep12; - ref QuestStep reference113 = ref span64[2]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 2005450u, new Vector3(405.90515f, -72.58722f, 696.2843f), 400); - num3 = 6; - List list151 = new List(num3); - CollectionsMarshal.SetCount(list151, num3); - Span span67 = CollectionsMarshal.AsSpan(list151); - span67[0] = null; - span67[1] = null; - span67[2] = null; - span67[3] = null; - span67[4] = null; - span67[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list151; - reference113 = questStep13; - obj101.Steps = list148; - reference110 = obj101; - ref QuestSequence reference114 = ref span62[3]; - QuestSequence obj102 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012664u, new Vector3(364.30908f, -74.10719f, 654.322f), 400); - obj102.Steps = list152; - reference114 = obj102; - questRoot19.QuestSequence = list145; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(1619); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list153 = new List(num); - CollectionsMarshal.SetCount(list153, num); - CollectionsMarshal.AsSpan(list153)[0] = "JerryWester"; - questRoot20.Author = list153; - num = 6; - List list154 = new List(num); - CollectionsMarshal.SetCount(list154, num); - Span span68 = CollectionsMarshal.AsSpan(list154); - ref QuestSequence reference115 = ref span68[0]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012664u, new Vector3(364.30908f, -74.10719f, 654.322f), 400); - obj103.Steps = list155; - reference115 = obj103; - ref QuestSequence reference116 = ref span68[1]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.Interact, 1012846u, new Vector3(-157.70203f, 4.0272756f, -23.971985f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - obj104.Steps = list156; - reference116 = obj104; - ref QuestSequence reference117 = ref span68[2]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - ref QuestStep reference118 = ref CollectionsMarshal.AsSpan(list157)[0]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1000460u, new Vector3(-159.41101f, 4.054107f, -4.1047363f), 133); - num3 = 1; - List list158 = new List(num3); - CollectionsMarshal.SetCount(list158, num3); - CollectionsMarshal.AsSpan(list158)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_HEAVNA318_01619_Q1_000_001") - }; - questStep14.DialogueChoices = list158; - reference118 = questStep14; - obj105.Steps = list157; - reference117 = obj105; - ref QuestSequence reference119 = ref span68[3]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.Interact, 1012846u, new Vector3(-157.70203f, 4.0272756f, -23.971985f), 133); - obj106.Steps = list159; - reference119 = obj106; - ref QuestSequence reference120 = ref span68[4]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.Interact, 1012667u, new Vector3(369.16138f, -73.9486f, 660.151f), 400) - { - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome - }; - obj107.Steps = list160; - reference120 = obj107; - ref QuestSequence reference121 = ref span68[5]; - QuestSequence obj108 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - Span span69 = CollectionsMarshal.AsSpan(list161); - span69[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(379.64865f, -69.42944f, 695.1956f), 400); - span69[1] = new QuestStep(EInteractionType.CompleteQuest, 1012077u, new Vector3(381.70435f, -66.84979f, 700.86194f), 400) - { - StopDistance = 8f, - IgnoreDistanceToObject = true - }; - obj108.Steps = list161; - reference121 = obj108; - questRoot20.QuestSequence = list154; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(1620); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list162 = new List(num); - CollectionsMarshal.SetCount(list162, num); - CollectionsMarshal.AsSpan(list162)[0] = "JerryWester"; - questRoot21.Author = list162; - num = 3; - List list163 = new List(num); - CollectionsMarshal.SetCount(list163, num); - Span span70 = CollectionsMarshal.AsSpan(list163); - ref QuestSequence reference122 = ref span70[0]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012078u, new Vector3(375.3567f, -69.42934f, 693.5072f), 400) - { - StopDistance = 6.5f - }; - obj109.Steps = list164; - reference122 = obj109; - ref QuestSequence reference123 = ref span70[1]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - Span span71 = CollectionsMarshal.AsSpan(list165); - span71[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(286.46622f, -46.748116f, 661.95807f), 400); - ref QuestStep reference124 = ref span71[1]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 2005453u, new Vector3(223.55994f, -38.68164f, 440.63464f), 400); - num3 = 6; - List list166 = new List(num3); - CollectionsMarshal.SetCount(list166, num3); - Span span72 = CollectionsMarshal.AsSpan(list166); - span72[0] = null; - span72[1] = null; - span72[2] = null; - span72[3] = null; - span72[4] = null; - span72[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list166; - reference124 = questStep15; - ref QuestStep reference125 = ref span71[2]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 2005455u, new Vector3(289.93665f, -37.979797f, 483.5431f), 400); - num3 = 6; - List list167 = new List(num3); - CollectionsMarshal.SetCount(list167, num3); - Span span73 = CollectionsMarshal.AsSpan(list167); - span73[0] = null; - span73[1] = null; - span73[2] = null; - span73[3] = null; - span73[4] = null; - span73[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list167; - reference125 = questStep16; - ref QuestStep reference126 = ref span71[3]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 2005454u, new Vector3(339.71155f, -12.466675f, 411.3069f), 400); - num3 = 6; - List list168 = new List(num3); - CollectionsMarshal.SetCount(list168, num3); - Span span74 = CollectionsMarshal.AsSpan(list168); - span74[0] = null; - span74[1] = null; - span74[2] = null; - span74[3] = null; - span74[4] = null; - span74[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list168; - reference126 = questStep17; - obj110.Steps = list165; - reference123 = obj110; - ref QuestSequence reference127 = ref span70[2]; - QuestSequence obj111 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012078u, new Vector3(375.3567f, -69.42934f, 693.5072f), 400); - obj111.Steps = list169; - reference127 = obj111; - questRoot21.QuestSequence = list163; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(1621); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list170 = new List(num); - CollectionsMarshal.SetCount(list170, num); - CollectionsMarshal.AsSpan(list170)[0] = "JerryWester"; - questRoot22.Author = list170; - num = 3; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - Span span75 = CollectionsMarshal.AsSpan(list171); - ref QuestSequence reference128 = ref span75[0]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012080u, new Vector3(392.20264f, -72.34356f, 649.56116f), 400); - obj112.Steps = list172; - reference128 = obj112; - ref QuestSequence reference129 = ref span75[1]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - Span span76 = CollectionsMarshal.AsSpan(list173); - span76[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(378.22073f, -74.08917f, 651.4364f), 400) - { - DisableNavmesh = true, - Mount = true - }; - span76[1] = new QuestStep(EInteractionType.AcceptQuest, 1012284u, new Vector3(363.24097f, -73.25598f, 678.4314f), 400) - { - PickUpQuestId = new QuestId(1819) - }; - span76[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(286.46622f, -46.748116f, 661.95807f), 400); - ref QuestStep reference130 = ref span76[3]; - QuestStep obj114 = new QuestStep(EInteractionType.Combat, null, new Vector3(243.81534f, -40.014244f, 443.64566f), 400) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list174 = new List(num3); - CollectionsMarshal.SetCount(list174, num3); - Span span77 = CollectionsMarshal.AsSpan(list174); - span77[0] = 4483u; - span77[1] = 5053u; - obj114.KillEnemyDataIds = list174; - reference130 = obj114; - obj113.Steps = list173; - reference129 = obj113; - ref QuestSequence reference131 = ref span75[2]; - QuestSequence obj115 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012080u, new Vector3(392.20264f, -72.34356f, 649.56116f), 400); - obj115.Steps = list175; - reference131 = obj115; - questRoot22.QuestSequence = list171; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(1622); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - CollectionsMarshal.AsSpan(list176)[0] = "JerryWester"; - questRoot23.Author = list176; - num = 5; - List list177 = new List(num); - CollectionsMarshal.SetCount(list177, num); - Span span78 = CollectionsMarshal.AsSpan(list177); - ref QuestSequence reference132 = ref span78[0]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012083u, new Vector3(355.8556f, -74.53787f, 639.6123f), 400); - obj116.Steps = list178; - reference132 = obj116; - ref QuestSequence reference133 = ref span78[1]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - Span span79 = CollectionsMarshal.AsSpan(list179); - ref QuestStep reference134 = ref span79[0]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1012081u, new Vector3(364.09546f, -73.26239f, 678.004f), 400); - num3 = 6; - List list180 = new List(num3); - CollectionsMarshal.SetCount(list180, num3); - Span span80 = CollectionsMarshal.AsSpan(list180); - span80[0] = null; - span80[1] = null; - span80[2] = null; - span80[3] = null; - span80[4] = null; - span80[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list180; - reference134 = questStep18; - ref QuestStep reference135 = ref span79[1]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 1015174u, new Vector3(360.58594f, -72.66654f, 706.2333f), 400); - num3 = 6; - List list181 = new List(num3); - CollectionsMarshal.SetCount(list181, num3); - Span span81 = CollectionsMarshal.AsSpan(list181); - span81[0] = null; - span81[1] = null; - span81[2] = null; - span81[3] = null; - span81[4] = null; - span81[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list181; - reference135 = questStep19; - ref QuestStep reference136 = ref span79[2]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 1012079u, new Vector3(406.75964f, -73.595436f, 702.57104f), 400); - num3 = 6; - List list182 = new List(num3); - CollectionsMarshal.SetCount(list182, num3); - Span span82 = CollectionsMarshal.AsSpan(list182); - span82[0] = null; - span82[1] = null; - span82[2] = null; - span82[3] = null; - span82[4] = null; - span82[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep20.CompletionQuestVariablesFlags = list182; - reference136 = questStep20; - obj117.Steps = list179; - reference133 = obj117; - ref QuestSequence reference137 = ref span78[2]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - CollectionsMarshal.AsSpan(list183)[0] = new QuestStep(EInteractionType.Interact, 1012083u, new Vector3(355.8556f, -74.53787f, 639.6123f), 400); - obj118.Steps = list183; - reference137 = obj118; - ref QuestSequence reference138 = ref span78[3]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - Span span83 = CollectionsMarshal.AsSpan(list184); - span83[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2006216u, new Vector3(421.1642f, -43.05859f, 661.7684f), 400) - { - AetherCurrentId = 2818099u - }; - span83[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(327.68222f, 2.3181255f, 602.9682f), 400); - span83[2] = new QuestStep(EInteractionType.Interact, 2005456u, new Vector3(261.24963f, 12.436096f, 622.06445f), 400); - obj119.Steps = list184; - reference138 = obj119; - ref QuestSequence reference139 = ref span78[4]; - QuestSequence obj120 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - Span span84 = CollectionsMarshal.AsSpan(list185); - span84[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(343.68805f, 16.317823f, 686.95074f), 400) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(367.56647f, -73.91838f, 661.2286f) - } - }; - span84[1] = new QuestStep(EInteractionType.CompleteQuest, 1012083u, new Vector3(355.8556f, -74.53787f, 639.6123f), 400) - { - DisableNavmesh = true - }; - obj120.Steps = list185; - reference139 = obj120; - questRoot23.QuestSequence = list177; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(1623); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list186 = new List(num); - CollectionsMarshal.SetCount(list186, num); - CollectionsMarshal.AsSpan(list186)[0] = "JerryWester"; - questRoot24.Author = list186; - num = 4; - List list187 = new List(num); - CollectionsMarshal.SetCount(list187, num); - Span span85 = CollectionsMarshal.AsSpan(list187); - ref QuestSequence reference140 = ref span85[0]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - Span span86 = CollectionsMarshal.AsSpan(list188); - span86[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(379.64865f, -69.42944f, 695.1956f), 400); - span86[1] = new QuestStep(EInteractionType.AcceptQuest, 1012077u, new Vector3(381.70435f, -66.84979f, 700.86194f), 400) - { - StopDistance = 8f, - IgnoreDistanceToObject = true - }; - obj121.Steps = list188; - reference140 = obj121; - ref QuestSequence reference141 = ref span85[1]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - Span span87 = CollectionsMarshal.AsSpan(list189); - ref QuestStep reference142 = ref span87[0]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1013586u, new Vector3(360.0061f, -73.64376f, 669.58105f), 400); - num3 = 6; - List list190 = new List(num3); - CollectionsMarshal.SetCount(list190, num3); - Span span88 = CollectionsMarshal.AsSpan(list190); - span88[0] = null; - span88[1] = null; - span88[2] = null; - span88[3] = null; - span88[4] = null; - span88[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep21.CompletionQuestVariablesFlags = list190; - reference142 = questStep21; - ref QuestStep reference143 = ref span87[1]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1013587u, new Vector3(337.7279f, -74.339264f, 648.00476f), 400); - num3 = 6; - List list191 = new List(num3); - CollectionsMarshal.SetCount(list191, num3); - Span span89 = CollectionsMarshal.AsSpan(list191); - span89[0] = null; - span89[1] = null; - span89[2] = null; - span89[3] = null; - span89[4] = null; - span89[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep22.CompletionQuestVariablesFlags = list191; - reference143 = questStep22; - ref QuestStep reference144 = ref span87[2]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1013589u, new Vector3(368.52063f, -74.14886f, 647.9437f), 400); - num3 = 6; - List list192 = new List(num3); - CollectionsMarshal.SetCount(list192, num3); - Span span90 = CollectionsMarshal.AsSpan(list192); - span90[0] = null; - span90[1] = null; - span90[2] = null; - span90[3] = null; - span90[4] = null; - span90[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list192; - reference144 = questStep23; - ref QuestStep reference145 = ref span87[3]; - QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 1013588u, new Vector3(392.08044f, -72.3437f, 655.02405f), 400); - num3 = 6; - List list193 = new List(num3); - CollectionsMarshal.SetCount(list193, num3); - Span span91 = CollectionsMarshal.AsSpan(list193); - span91[0] = null; - span91[1] = null; - span91[2] = null; - span91[3] = null; - span91[4] = null; - span91[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep24.CompletionQuestVariablesFlags = list193; - reference145 = questStep24; - ref QuestStep reference146 = ref span87[4]; - QuestStep questStep25 = new QuestStep(EInteractionType.Interact, 1013590u, new Vector3(392.26355f, -72.34358f, 645.1361f), 400); - num3 = 6; - List list194 = new List(num3); - CollectionsMarshal.SetCount(list194, num3); - Span span92 = CollectionsMarshal.AsSpan(list194); - span92[0] = null; - span92[1] = null; - span92[2] = null; - span92[3] = null; - span92[4] = null; - span92[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep25.CompletionQuestVariablesFlags = list194; - reference146 = questStep25; - obj122.Steps = list189; - reference141 = obj122; - ref QuestSequence reference147 = ref span85[2]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - Span span93 = CollectionsMarshal.AsSpan(list195); - span93[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(374.66388f, -74.11696f, 651.47766f), 400) - { - Mount = true - }; - span93[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(379.64865f, -69.42944f, 695.1956f), 400); - span93[2] = new QuestStep(EInteractionType.Interact, 1012077u, new Vector3(381.70435f, -66.84979f, 700.86194f), 400) - { - StopDistance = 8f, - IgnoreDistanceToObject = true - }; - obj123.Steps = list195; - reference147 = obj123; - ref QuestSequence reference148 = ref span85[3]; - QuestSequence obj124 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012078u, new Vector3(375.3567f, -69.42934f, 693.5072f), 400) - { - StopDistance = 7f - }; - obj124.Steps = list196; - reference148 = obj124; - questRoot24.QuestSequence = list187; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(1624); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list197 = new List(num); - CollectionsMarshal.SetCount(list197, num); - CollectionsMarshal.AsSpan(list197)[0] = "JerryWester"; - questRoot25.Author = list197; - num = 4; - List list198 = new List(num); - CollectionsMarshal.SetCount(list198, num); - Span span94 = CollectionsMarshal.AsSpan(list198); - ref QuestSequence reference149 = ref span94[0]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - CollectionsMarshal.AsSpan(list199)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012078u, new Vector3(375.3567f, -69.42934f, 693.5072f), 400) - { - StopDistance = 7f - }; - obj125.Steps = list199; - reference149 = obj125; - ref QuestSequence reference150 = ref span94[1]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.Interact, 1012664u, new Vector3(364.30908f, -74.10719f, 654.322f), 400); - obj126.Steps = list200; - reference150 = obj126; - ref QuestSequence reference151 = ref span94[2]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.Interact, 1013589u, new Vector3(368.52063f, -74.14886f, 647.9437f), 400); - obj127.Steps = list201; - reference151 = obj127; - ref QuestSequence reference152 = ref span94[3]; - QuestSequence obj128 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012682u, new Vector3(241.19922f, -42.249466f, 609.27747f), 400); - obj128.Steps = list202; - reference152 = obj128; - questRoot25.QuestSequence = list198; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(1625); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list203 = new List(num); - CollectionsMarshal.SetCount(list203, num); - CollectionsMarshal.AsSpan(list203)[0] = "JerryWester"; - questRoot26.Author = list203; - num = 4; - List list204 = new List(num); - CollectionsMarshal.SetCount(list204, num); - Span span95 = CollectionsMarshal.AsSpan(list204); - ref QuestSequence reference153 = ref span95[0]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012682u, new Vector3(241.19922f, -42.249466f, 609.27747f), 400); - obj129.Steps = list205; - reference153 = obj129; - ref QuestSequence reference154 = ref span95[1]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - ref QuestStep reference155 = ref CollectionsMarshal.AsSpan(list206)[0]; - QuestStep obj131 = new QuestStep(EInteractionType.Combat, null, new Vector3(305.3146f, -41.478928f, 327.0319f), 400) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list207 = new List(num3); - CollectionsMarshal.SetCount(list207, num3); - Span span96 = CollectionsMarshal.AsSpan(list207); - span96[0] = 4487u; - span96[1] = 4490u; - obj131.KillEnemyDataIds = list207; - reference155 = obj131; - obj130.Steps = list206; - reference154 = obj130; - ref QuestSequence reference156 = ref span95[2]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - ref QuestStep reference157 = ref CollectionsMarshal.AsSpan(list208)[0]; - QuestStep obj133 = new QuestStep(EInteractionType.Combat, null, new Vector3(208.34923f, -23.294632f, 165.22832f), 400) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list209 = new List(num3); - CollectionsMarshal.SetCount(list209, num3); - Span span97 = CollectionsMarshal.AsSpan(list209); - span97[0] = 4488u; - span97[1] = 4491u; - obj133.KillEnemyDataIds = list209; - reference157 = obj133; - obj132.Steps = list208; - reference156 = obj132; - ref QuestSequence reference158 = ref span95[3]; - QuestSequence obj134 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - Span span98 = CollectionsMarshal.AsSpan(list210); - ref QuestStep reference159 = ref span98[0]; - QuestStep obj135 = new QuestStep(EInteractionType.AcceptQuest, 1012285u, new Vector3(247.11987f, -42.33362f, 565.3314f), 400) - { - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition3 = new SkipAetheryteCondition(); - num3 = 1; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - CollectionsMarshal.AsSpan(list211)[0] = new QuestId(1823); - skipAetheryteCondition3.QuestsCompleted = list211; - skipConditions4.AetheryteShortcutIf = skipAetheryteCondition3; - obj135.SkipConditions = skipConditions4; - obj135.PickUpQuestId = new QuestId(1823); - reference159 = obj135; - span98[1] = new QuestStep(EInteractionType.CompleteQuest, 1013202u, new Vector3(-79.88104f, -8.844478f, 206.22559f), 400); - obj134.Steps = list210; - reference158 = obj134; - questRoot26.QuestSequence = list204; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(1626); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list212 = new List(num); - CollectionsMarshal.SetCount(list212, num); - CollectionsMarshal.AsSpan(list212)[0] = "JerryWester"; - questRoot27.Author = list212; - num = 4; - List list213 = new List(num); - CollectionsMarshal.SetCount(list213, num); - Span span99 = CollectionsMarshal.AsSpan(list213); - ref QuestSequence reference160 = ref span99[0]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013202u, new Vector3(-79.88104f, -8.844478f, 206.22559f), 400); - obj136.Steps = list214; - reference160 = obj136; - ref QuestSequence reference161 = ref span99[1]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - Span span100 = CollectionsMarshal.AsSpan(list215); - span100[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2006217u, new Vector3(-93.7973f, -6.7597656f, 223.83447f), 400) - { - StopDistance = 5f, - AetherCurrentId = 2818100u - }; - span100[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-263.82666f, 24.845102f, 446.3256f), 400); - span100[2] = new QuestStep(EInteractionType.Interact, 1012759u, new Vector3(-258.5031f, 30.373112f, 562.27966f), 400); - obj137.Steps = list215; - reference161 = obj137; - ref QuestSequence reference162 = ref span99[2]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - Span span101 = CollectionsMarshal.AsSpan(list216); - ref QuestStep reference163 = ref span101[0]; - QuestStep obj139 = new QuestStep(EInteractionType.Combat, null, new Vector3(-233.69716f, -12.69435f, 322.77405f), 400) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list217 = new List(num3); - CollectionsMarshal.SetCount(list217, num3); - CollectionsMarshal.AsSpan(list217)[0] = 4015u; - obj139.KillEnemyDataIds = list217; - num3 = 6; - List list218 = new List(num3); - CollectionsMarshal.SetCount(list218, num3); - Span span102 = CollectionsMarshal.AsSpan(list218); - span102[0] = null; - span102[1] = null; - span102[2] = null; - span102[3] = null; - span102[4] = null; - span102[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj139.CompletionQuestVariablesFlags = list218; - reference163 = obj139; - ref QuestStep reference164 = ref span101[1]; - QuestStep obj140 = new QuestStep(EInteractionType.Combat, null, new Vector3(-92.774055f, -5.1304445f, 379.861f), 400) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list219 = new List(num3); - CollectionsMarshal.SetCount(list219, num3); - CollectionsMarshal.AsSpan(list219)[0] = 4015u; - obj140.KillEnemyDataIds = list219; - num3 = 6; - List list220 = new List(num3); - CollectionsMarshal.SetCount(list220, num3); - Span span103 = CollectionsMarshal.AsSpan(list220); - span103[0] = null; - span103[1] = null; - span103[2] = null; - span103[3] = null; - span103[4] = null; - span103[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj140.CompletionQuestVariablesFlags = list220; - reference164 = obj140; - obj138.Steps = list216; - reference162 = obj138; - ref QuestSequence reference165 = ref span99[3]; - QuestSequence obj141 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - Span span104 = CollectionsMarshal.AsSpan(list221); - span104[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-250.59578f, 19.834919f, 438.27606f), 400); - span104[1] = new QuestStep(EInteractionType.CompleteQuest, 1012757u, new Vector3(-261.82965f, 30.373112f, 557.94604f), 400); - obj141.Steps = list221; - reference165 = obj141; - questRoot27.QuestSequence = list213; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(1627); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list222 = new List(num); - CollectionsMarshal.SetCount(list222, num); - CollectionsMarshal.AsSpan(list222)[0] = "JerryWester"; - questRoot28.Author = list222; - num = 3; - List list223 = new List(num); - CollectionsMarshal.SetCount(list223, num); - Span span105 = CollectionsMarshal.AsSpan(list223); - ref QuestSequence reference166 = ref span105[0]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012759u, new Vector3(-258.5031f, 30.373112f, 562.27966f), 400); - obj142.Steps = list224; - reference166 = obj142; - ref QuestSequence reference167 = ref span105[1]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - Span span106 = CollectionsMarshal.AsSpan(list225); - span106[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-289.72092f, 24.054262f, 489.63916f), 400); - span106[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-313.92142f, 21.75836f, 472.20667f), 400); - span106[2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 400) - { - Aetheryte = EAetheryteLocation.ChurningMistsZenith - }; - span106[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-718.6387f, 83.7983f, 241.97528f), 400); - span106[4] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2006218u, new Vector3(-775.26514f, 123.73535f, 243.70178f), 400) - { - AetherCurrentId = 2818101u - }; - span106[5] = new QuestStep(EInteractionType.Interact, 2005459u, new Vector3(-758.35815f, 123.704834f, 214.49597f), 400); - obj143.Steps = list225; - reference167 = obj143; - ref QuestSequence reference168 = ref span105[2]; - QuestSequence obj144 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - CollectionsMarshal.AsSpan(list226)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012694u, new Vector3(-758.32764f, 123.72873f, 210.74231f), 400) - { - StopDistance = 7f - }; - obj144.Steps = list226; - reference168 = obj144; - questRoot28.QuestSequence = list223; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(1628); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list227 = new List(num); - CollectionsMarshal.SetCount(list227, num); - CollectionsMarshal.AsSpan(list227)[0] = "JerryWester"; - questRoot29.Author = list227; - num = 5; - List list228 = new List(num); - CollectionsMarshal.SetCount(list228, num); - Span span107 = CollectionsMarshal.AsSpan(list228); - ref QuestSequence reference169 = ref span107[0]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012694u, new Vector3(-758.32764f, 123.72873f, 210.74231f), 400) - { - StopDistance = 7f - }; - obj145.Steps = list229; - reference169 = obj145; - ref QuestSequence reference170 = ref span107[1]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - ref QuestStep reference171 = ref CollectionsMarshal.AsSpan(list230)[0]; - QuestStep obj147 = new QuestStep(EInteractionType.Combat, null, new Vector3(-455.00378f, 43.619022f, 403.64548f), 400) - { - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list231 = new List(num3); - CollectionsMarshal.SetCount(list231, num3); - Span span108 = CollectionsMarshal.AsSpan(list231); - span108[0] = 4479u; - span108[1] = 4481u; - obj147.KillEnemyDataIds = list231; - reference171 = obj147; - obj146.Steps = list230; - reference170 = obj146; - ref QuestSequence reference172 = ref span107[2]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - ref QuestStep reference173 = ref CollectionsMarshal.AsSpan(list232)[0]; - QuestStep obj149 = new QuestStep(EInteractionType.Combat, null, new Vector3(149.1435f, -23.289272f, 177.45946f), 400) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list233 = new List(num3); - CollectionsMarshal.SetCount(list233, num3); - CollectionsMarshal.AsSpan(list233)[0] = 4491u; - obj149.KillEnemyDataIds = list233; - reference173 = obj149; - obj148.Steps = list232; - reference172 = obj148; - ref QuestSequence reference174 = ref span107[3]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - Span span109 = CollectionsMarshal.AsSpan(list234); - span109[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2006224u, new Vector3(340.01672f, -25.375793f, -130.54095f), 400) - { - AetherCurrentId = 2818107u - }; - ref QuestStep reference175 = ref span109[1]; - QuestStep obj151 = new QuestStep(EInteractionType.Combat, null, new Vector3(396.12845f, -29.186422f, -142.568f), 400) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list235 = new List(num3); - CollectionsMarshal.SetCount(list235, num3); - CollectionsMarshal.AsSpan(list235)[0] = 4479u; - obj151.KillEnemyDataIds = list235; - reference175 = obj151; - obj150.Steps = list234; - reference174 = obj150; - ref QuestSequence reference176 = ref span107[4]; - QuestSequence obj152 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012698u, new Vector3(569.17664f, -1.1916885f, -370.22968f), 400); - obj152.Steps = list236; - reference176 = obj152; - questRoot29.QuestSequence = list228; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(1629); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list237 = new List(num); - CollectionsMarshal.SetCount(list237, num); - CollectionsMarshal.AsSpan(list237)[0] = "JerryWester"; - questRoot30.Author = list237; - num = 5; - List list238 = new List(num); - CollectionsMarshal.SetCount(list238, num); - Span span110 = CollectionsMarshal.AsSpan(list238); - ref QuestSequence reference177 = ref span110[0]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - CollectionsMarshal.AsSpan(list239)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012698u, new Vector3(569.17664f, -1.1916885f, -370.22968f), 400); - obj153.Steps = list239; - reference177 = obj153; - ref QuestSequence reference178 = ref span110[1]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - Span span111 = CollectionsMarshal.AsSpan(list240); - span111[0] = new QuestStep(EInteractionType.AcceptQuest, 1013434u, new Vector3(517.9064f, -1.1917055f, -354.63495f), 400) - { - PickUpQuestId = new QuestId(1835) - }; - span111[1] = new QuestStep(EInteractionType.Interact, 1012720u, new Vector3(-106.9505f, 15.168516f, -40.60431f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - obj154.Steps = list240; - reference178 = obj154; - ref QuestSequence reference179 = ref span110[2]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - Span span112 = CollectionsMarshal.AsSpan(list241); - span112[0] = new QuestStep(EInteractionType.Interact, 1011217u, new Vector3(17.990356f, 16.009666f, -9.567444f), 419) - { - TargetTerritoryId = (ushort)433, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSkysteelManufactory, - To = EAetheryteLocation.IshgardLastVigil - } - }; - span112[1] = new QuestStep(EInteractionType.Interact, 1012583u, new Vector3(-2.1210327f, 0.009368893f, -9.567444f), 433); - obj155.Steps = list241; - reference179 = obj155; - ref QuestSequence reference180 = ref span110[3]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - Span span113 = CollectionsMarshal.AsSpan(list242); - span113[0] = new QuestStep(EInteractionType.Interact, 2005334u, new Vector3(-0.015319824f, 1.1443481f, 13.199036f), 433) - { - TargetTerritoryId = (ushort)419 - }; - span113[1] = new QuestStep(EInteractionType.Interact, 1012709u, new Vector3(151.01843f, -12.634913f, -28.671753f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardLastVigil, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - obj156.Steps = list242; - reference180 = obj156; - ref QuestSequence reference181 = ref span110[4]; - QuestSequence obj157 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012714u, new Vector3(-160.54016f, 16.979584f, -39.96344f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardAthenaeumAstrologicum, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - obj157.Steps = list243; - reference181 = obj157; - questRoot30.QuestSequence = list238; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(1630); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list244 = new List(num); - CollectionsMarshal.SetCount(list244, num); - CollectionsMarshal.AsSpan(list244)[0] = "JerryWester"; - questRoot31.Author = list244; - num = 6; - List list245 = new List(num); - CollectionsMarshal.SetCount(list245, num); - Span span114 = CollectionsMarshal.AsSpan(list245); - ref QuestSequence reference182 = ref span114[0]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - CollectionsMarshal.AsSpan(list246)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012721u, new Vector3(-162.49341f, 16.979584f, -37.521973f), 418) - { - StopDistance = 7f - }; - obj158.Steps = list246; - reference182 = obj158; - ref QuestSequence reference183 = ref span114[1]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - Span span115 = CollectionsMarshal.AsSpan(list247); - span115[0] = new QuestStep(EInteractionType.UseItem, null, null, 418) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span115[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span115[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - obj159.Steps = list247; - reference183 = obj159; - ref QuestSequence reference184 = ref span114[2]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.Interact, 1013154u, new Vector3(-6.881897f, 0f, -3.1281738f), 212) - { - StopDistance = 7f - }; - obj160.Steps = list248; - reference184 = obj160; - ref QuestSequence reference185 = ref span114[3]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 3 - }; - num2 = 7; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - Span span116 = CollectionsMarshal.AsSpan(list249); - span116[0] = new QuestStep(EInteractionType.Interact, 2001716u, new Vector3(-15.701599f, 1.083313f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)140 - }; - span116[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.1446f, 20.88255f, -376.3636f), 140) - { - Mount = true - }; - span116[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-335.0186f, 13.983504f, -100.87753f), 140) - { - Fly = true - }; - span116[3] = new QuestStep(EInteractionType.Interact, 1004019u, new Vector3(-335.9579f, 13.983504f, -99.65674f), 140) - { - TargetTerritoryId = (ushort)140 - }; - span116[4] = new QuestStep(EInteractionType.Interact, 1002030u, new Vector3(-296.315f, 16.964134f, 334.15735f), 140); - span116[5] = new QuestStep(EInteractionType.Interact, 1002014u, new Vector3(-253.43713f, 33.23899f, 404.04358f), 140); - span116[6] = new QuestStep(EInteractionType.Interact, 1002047u, new Vector3(-223.80408f, 32.90774f, 401.9989f), 140); - obj161.Steps = list249; - reference185 = obj161; - ref QuestSequence reference186 = ref span114[4]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - Span span117 = CollectionsMarshal.AsSpan(list250); - span117[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-218.33546f, 35.25f, 432.04767f), 140) - { - Fly = true - }; - span117[1] = new QuestStep(EInteractionType.Interact, 1013392u, new Vector3(-207.99579f, 35.249992f, 431.44873f), 140); - obj162.Steps = list250; - reference186 = obj162; - ref QuestSequence reference187 = ref span114[5]; - QuestSequence obj163 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012729u, new Vector3(-229.20581f, 33.907307f, 428.4275f), 140); - obj163.Steps = list251; - reference187 = obj163; - questRoot31.QuestSequence = list245; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(1631); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list252 = new List(num); - CollectionsMarshal.SetCount(list252, num); - CollectionsMarshal.AsSpan(list252)[0] = "JerryWester"; - questRoot32.Author = list252; - num = 3; - List list253 = new List(num); - CollectionsMarshal.SetCount(list253, num); - Span span118 = CollectionsMarshal.AsSpan(list253); - ref QuestSequence reference188 = ref span118[0]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012729u, new Vector3(-229.20581f, 33.907307f, 428.4275f), 140); - obj164.Steps = list254; - reference188 = obj164; - ref QuestSequence reference189 = ref span118[1]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - CollectionsMarshal.AsSpan(list255)[0] = new QuestStep(EInteractionType.Interact, 1001821u, new Vector3(-24.124573f, 38.000004f, 85.31323f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - obj165.Steps = list255; - reference189 = obj165; - ref QuestSequence reference190 = ref span118[2]; - QuestSequence obj166 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012731u, new Vector3(-23.91095f, 37.760002f, 78.812744f), 131) - { - StopDistance = 5f - }; - obj166.Steps = list256; - reference190 = obj166; - questRoot32.QuestSequence = list253; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(1632); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list257 = new List(num); - CollectionsMarshal.SetCount(list257, num); - CollectionsMarshal.AsSpan(list257)[0] = "JerryWester"; - questRoot33.Author = list257; - num = 3; - List list258 = new List(num); - CollectionsMarshal.SetCount(list258, num); - Span span119 = CollectionsMarshal.AsSpan(list258); - ref QuestSequence reference191 = ref span119[0]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - CollectionsMarshal.AsSpan(list259)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012731u, new Vector3(-23.91095f, 37.760002f, 78.812744f), 131) - { - StopDistance = 5f - }; - obj167.Steps = list259; - reference191 = obj167; - ref QuestSequence reference192 = ref span119[1]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj168.Steps = list260; - reference192 = obj168; - ref QuestSequence reference193 = ref span119[2]; - QuestSequence obj169 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012733u, new Vector3(-1.8768921f, 0f, -9.079163f), 351) - { - StopDistance = 5f - }; - obj169.Steps = list261; - reference193 = obj169; - questRoot33.QuestSequence = list258; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(1633); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list262 = new List(num); - CollectionsMarshal.SetCount(list262, num); - CollectionsMarshal.AsSpan(list262)[0] = "JerryWester"; - questRoot34.Author = list262; - num = 5; - List list263 = new List(num); - CollectionsMarshal.SetCount(list263, num); - Span span120 = CollectionsMarshal.AsSpan(list263); - ref QuestSequence reference194 = ref span120[0]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012733u, new Vector3(-1.8768921f, 0f, -9.079163f), 351) - { - StopDistance = 5f - }; - obj170.Steps = list264; - reference194 = obj170; - ref QuestSequence reference195 = ref span120[1]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.Interact, 1012717u, new Vector3(-158.80066f, 17.066208f, -56.168518f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - obj171.Steps = list265; - reference195 = obj171; - ref QuestSequence reference196 = ref span120[2]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - Span span121 = CollectionsMarshal.AsSpan(list266); - span121[0] = new QuestStep(EInteractionType.Interact, 1011217u, new Vector3(17.990356f, 16.009666f, -9.567444f), 419) - { - TargetTerritoryId = (ushort)433, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSkysteelManufactory, - To = EAetheryteLocation.IshgardLastVigil - } - }; - span121[1] = new QuestStep(EInteractionType.Interact, 1012744u, new Vector3(-2.3041382f, -9.313226E-10f, 5.9052124f), 433) - { - StopDistance = 5f - }; - obj172.Steps = list266; - reference196 = obj172; - ref QuestSequence reference197 = ref span120[3]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - Span span122 = CollectionsMarshal.AsSpan(list267); - span122[0] = new QuestStep(EInteractionType.Interact, 2005334u, new Vector3(-0.015319824f, 1.1443481f, 13.199036f), 433) - { - StopDistance = 4f, - TargetTerritoryId = (ushort)419 - }; - ref QuestStep reference198 = ref span122[1]; - QuestStep obj174 = new QuestStep(EInteractionType.Interact, 1011223u, new Vector3(114.579956f, 24.412834f, -11.062805f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardLastVigil, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - num3 = 1; - List list268 = new List(num3); - CollectionsMarshal.SetCount(list268, num3); - CollectionsMarshal.AsSpan(list268)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_HEAVNA332_01633_Q1_000_000") - }; - obj174.DialogueChoices = list268; - reference198 = obj174; - obj173.Steps = list267; - reference197 = obj173; - ref QuestSequence reference199 = ref span120[4]; - QuestSequence obj175 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - CollectionsMarshal.AsSpan(list269)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012589u, new Vector3(107.46924f, 24.37563f, -8.407776f), 418); - obj175.Steps = list269; - reference199 = obj175; - questRoot34.QuestSequence = list263; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(1634); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list270 = new List(num); - CollectionsMarshal.SetCount(list270, num); - CollectionsMarshal.AsSpan(list270)[0] = "JerryWester"; - questRoot35.Author = list270; - num = 5; - List list271 = new List(num); - CollectionsMarshal.SetCount(list271, num); - Span span123 = CollectionsMarshal.AsSpan(list271); - ref QuestSequence reference200 = ref span123[0]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - CollectionsMarshal.AsSpan(list272)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012589u, new Vector3(107.46924f, 24.37563f, -8.407776f), 418); - obj176.Steps = list272; - reference200 = obj176; - ref QuestSequence reference201 = ref span123[1]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - CollectionsMarshal.AsSpan(list273)[0] = new QuestStep(EInteractionType.Interact, 1013168u, new Vector3(-187.18243f, 15.9939995f, -47.68445f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - obj177.Steps = list273; - reference201 = obj177; - ref QuestSequence reference202 = ref span123[2]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - CollectionsMarshal.AsSpan(list274)[0] = new QuestStep(EInteractionType.Duty, null, null, 418) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 39u - } - }; - obj178.Steps = list274; - reference202 = obj178; - span123[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference203 = ref span123[4]; - QuestSequence obj179 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012746u, new Vector3(550.4386f, -1.1916885f, -354.94012f), 400) - { - StopDistance = 7f - }; - obj179.Steps = list275; - reference203 = obj179; - questRoot35.QuestSequence = list271; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(1635); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list276 = new List(num); - CollectionsMarshal.SetCount(list276, num); - CollectionsMarshal.AsSpan(list276)[0] = "JerryWester"; - questRoot36.Author = list276; - num = 2; - List list277 = new List(num); - CollectionsMarshal.SetCount(list277, num); - Span span124 = CollectionsMarshal.AsSpan(list277); - ref QuestSequence reference204 = ref span124[0]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - CollectionsMarshal.AsSpan(list278)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012746u, new Vector3(550.4386f, -1.1916885f, -354.94012f), 400) - { - StopDistance = 7f - }; - obj180.Steps = list278; - reference204 = obj180; - ref QuestSequence reference205 = ref span124[1]; - QuestSequence obj181 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - Span span125 = CollectionsMarshal.AsSpan(list279); - ref QuestStep reference206 = ref span125[0]; - QuestStep obj182 = new QuestStep(EInteractionType.AcceptQuest, 1013420u, new Vector3(-511.46716f, 50f, 347.0968f), 400) - { - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition4 = new SkipAetheryteCondition(); - num3 = 1; - List list280 = new List(num3); - CollectionsMarshal.SetCount(list280, num3); - CollectionsMarshal.AsSpan(list280)[0] = new QuestId(1828); - skipAetheryteCondition4.QuestsCompleted = list280; - skipConditions5.AetheryteShortcutIf = skipAetheryteCondition4; - obj182.SkipConditions = skipConditions5; - obj182.PickUpQuestId = new QuestId(1828); - reference206 = obj182; - span125[1] = new QuestStep(EInteractionType.CompleteQuest, 1013172u, new Vector3(-756.0998f, 123.72873f, 214.80127f), 400) - { - Fly = true - }; - obj181.Steps = list279; - reference205 = obj181; - questRoot36.QuestSequence = list277; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(1636); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list281 = new List(num); - CollectionsMarshal.SetCount(list281, num); - CollectionsMarshal.AsSpan(list281)[0] = "JerryWester"; - questRoot37.Author = list281; - num = 2; - List list282 = new List(num); - CollectionsMarshal.SetCount(list282, num); - Span span126 = CollectionsMarshal.AsSpan(list282); - ref QuestSequence reference207 = ref span126[0]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014110u, new Vector3(-753.7194f, 123.572525f, 212.57336f), 400); - obj183.Steps = list283; - reference207 = obj183; - ref QuestSequence reference208 = ref span126[1]; - QuestSequence obj184 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - CollectionsMarshal.AsSpan(list284)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012750u, new Vector3(-163.89722f, 27.979128f, -116.41113f), 418) - { - StopDistance = 7f - }; - obj184.Steps = list284; - reference208 = obj184; - questRoot37.QuestSequence = list282; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(1637); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list285 = new List(num); - CollectionsMarshal.SetCount(list285, num); - CollectionsMarshal.AsSpan(list285)[0] = "JerryWester"; - questRoot38.Author = list285; - num = 3; - List list286 = new List(num); - CollectionsMarshal.SetCount(list286, num); - Span span127 = CollectionsMarshal.AsSpan(list286); - ref QuestSequence reference209 = ref span127[0]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - CollectionsMarshal.AsSpan(list287)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012750u, new Vector3(-163.89722f, 27.979128f, -116.41113f), 418) - { - StopDistance = 7f - }; - obj185.Steps = list287; - reference209 = obj185; - ref QuestSequence reference210 = ref span127[1]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - CollectionsMarshal.AsSpan(list288)[0] = new QuestStep(EInteractionType.Interact, 1011217u, new Vector3(17.990356f, 16.009666f, -9.567444f), 419) - { - TargetTerritoryId = (ushort)433, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSkysteelManufactory, - To = EAetheryteLocation.IshgardLastVigil - } - }; - obj186.Steps = list288; - reference210 = obj186; - ref QuestSequence reference211 = ref span127[2]; - QuestSequence obj187 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012753u, new Vector3(2.5787354f, -9.313226E-10f, 7.6447144f), 433) - { - StopDistance = 5f - }; - obj187.Steps = list289; - reference211 = obj187; - questRoot38.QuestSequence = list286; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(1638); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list290 = new List(num); - CollectionsMarshal.SetCount(list290, num); - CollectionsMarshal.AsSpan(list290)[0] = "JerryWester"; - questRoot39.Author = list290; - num = 4; - List list291 = new List(num); - CollectionsMarshal.SetCount(list291, num); - Span span128 = CollectionsMarshal.AsSpan(list291); - ref QuestSequence reference212 = ref span128[0]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - CollectionsMarshal.AsSpan(list292)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012751u, new Vector3(-2.02948f, -9.313226E-10f, 6.362976f), 433) - { - StopDistance = 7f - }; - obj188.Steps = list292; - reference212 = obj188; - ref QuestSequence reference213 = ref span128[1]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - CollectionsMarshal.AsSpan(list293)[0] = new QuestStep(EInteractionType.Interact, 1013381u, new Vector3(92.36279f, 15.094684f, 33.188354f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardLastVigil, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj189.Steps = list293; - reference213 = obj189; - ref QuestSequence reference214 = ref span128[2]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - Span span129 = CollectionsMarshal.AsSpan(list294); - ref QuestStep reference215 = ref span129[0]; - QuestStep questStep26 = new QuestStep(EInteractionType.Interact, 1013342u, new Vector3(36.331665f, -12.020876f, 76.58496f), 418); - num3 = 6; - List list295 = new List(num3); - CollectionsMarshal.SetCount(list295, num3); - Span span130 = CollectionsMarshal.AsSpan(list295); - span130[0] = null; - span130[1] = null; - span130[2] = null; - span130[3] = null; - span130[4] = null; - span130[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep26.CompletionQuestVariablesFlags = list295; - reference215 = questStep26; - ref QuestStep reference216 = ref span129[1]; - QuestStep questStep27 = new QuestStep(EInteractionType.Interact, 1013341u, new Vector3(65.72058f, -12.008911f, 78.3551f), 418); - num3 = 6; - List list296 = new List(num3); - CollectionsMarshal.SetCount(list296, num3); - Span span131 = CollectionsMarshal.AsSpan(list296); - span131[0] = null; - span131[1] = null; - span131[2] = null; - span131[3] = null; - span131[4] = null; - span131[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep27.CompletionQuestVariablesFlags = list296; - reference216 = questStep27; - ref QuestStep reference217 = ref span129[2]; - QuestStep questStep28 = new QuestStep(EInteractionType.Interact, 1013340u, new Vector3(144.57922f, -20.020874f, 54.276245f), 418); - num3 = 6; - List list297 = new List(num3); - CollectionsMarshal.SetCount(list297, num3); - Span span132 = CollectionsMarshal.AsSpan(list297); - span132[0] = null; - span132[1] = null; - span132[2] = null; - span132[3] = null; - span132[4] = null; - span132[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep28.CompletionQuestVariablesFlags = list297; - reference217 = questStep28; - obj190.Steps = list294; - reference214 = obj190; - ref QuestSequence reference218 = ref span128[3]; - QuestSequence obj191 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - CollectionsMarshal.AsSpan(list298)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013332u, new Vector3(94.95691f, -22.000006f, 50.94983f), 418); - obj191.Steps = list298; - reference218 = obj191; - questRoot39.QuestSequence = list291; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(1639); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list299 = new List(num); - CollectionsMarshal.SetCount(list299, num); - CollectionsMarshal.AsSpan(list299)[0] = "JerryWester"; - questRoot40.Author = list299; - num = 6; - List list300 = new List(num); - CollectionsMarshal.SetCount(list300, num); - Span span133 = CollectionsMarshal.AsSpan(list300); - ref QuestSequence reference219 = ref span133[0]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - CollectionsMarshal.AsSpan(list301)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013260u, new Vector3(104.38696f, 15.000005f, 25.558838f), 418); - obj192.Steps = list301; - reference219 = obj192; - ref QuestSequence reference220 = ref span133[1]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list302 = new List(num2); - CollectionsMarshal.SetCount(list302, num2); - CollectionsMarshal.AsSpan(list302)[0] = new QuestStep(EInteractionType.Interact, 2005551u, new Vector3(38.254395f, -6.820801f, 76.34082f), 418); - obj193.Steps = list302; - reference220 = obj193; - ref QuestSequence reference221 = ref span133[2]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list303 = new List(num2); - CollectionsMarshal.SetCount(list303, num2); - CollectionsMarshal.AsSpan(list303)[0] = new QuestStep(EInteractionType.Interact, 2005550u, new Vector3(84.58069f, -6.9733887f, 81.55945f), 418); - obj194.Steps = list303; - reference221 = obj194; - ref QuestSequence reference222 = ref span133[3]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - CollectionsMarshal.AsSpan(list304)[0] = new QuestStep(EInteractionType.Interact, 1012768u, new Vector3(21.10321f, -12.020914f, 48.41687f), 418) - { - StopDistance = 7f - }; - obj195.Steps = list304; - reference222 = obj195; - ref QuestSequence reference223 = ref span133[4]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - CollectionsMarshal.AsSpan(list305)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1012773u, new Vector3(92.5459f, 15.00001f, 37.247192f), 418) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj196.Steps = list305; - reference223 = obj196; - ref QuestSequence reference224 = ref span133[5]; - QuestSequence obj197 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - CollectionsMarshal.AsSpan(list306)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012780u, new Vector3(86.38135f, 23.979128f, 12.802246f), 418) - { - StopDistance = 5f - }; - obj197.Steps = list306; - reference224 = obj197; - questRoot40.QuestSequence = list300; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(1640); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list307 = new List(num); - CollectionsMarshal.SetCount(list307, num); - CollectionsMarshal.AsSpan(list307)[0] = "JerryWester"; - questRoot41.Author = list307; - num = 8; - List list308 = new List(num); - CollectionsMarshal.SetCount(list308, num); - Span span134 = CollectionsMarshal.AsSpan(list308); - ref QuestSequence reference225 = ref span134[0]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - CollectionsMarshal.AsSpan(list309)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012780u, new Vector3(86.38135f, 23.979128f, 12.802246f), 418) - { - StopDistance = 5f - }; - obj198.Steps = list309; - reference225 = obj198; - ref QuestSequence reference226 = ref span134[1]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - CollectionsMarshal.AsSpan(list310)[0] = new QuestStep(EInteractionType.Interact, 1012778u, new Vector3(84.58069f, 23.979126f, 10.452393f), 418) - { - StopDistance = 5f - }; - obj199.Steps = list310; - reference226 = obj199; - ref QuestSequence reference227 = ref span134[2]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list311 = new List(num2); - CollectionsMarshal.SetCount(list311, num2); - CollectionsMarshal.AsSpan(list311)[0] = new QuestStep(EInteractionType.Interact, 1012212u, new Vector3(-6.790344f, 42.34489f, -207.04968f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardTribunal - } - }; - obj200.Steps = list311; - reference227 = obj200; - ref QuestSequence reference228 = ref span134[3]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - CollectionsMarshal.AsSpan(list312)[0] = new QuestStep(EInteractionType.Duty, null, null, 419) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 34u - } - }; - obj201.Steps = list312; - reference228 = obj201; - span134[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference229 = ref span134[5]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list313 = new List(num2); - CollectionsMarshal.SetCount(list313, num2); - CollectionsMarshal.AsSpan(list313)[0] = new QuestStep(EInteractionType.Interact, 1012212u, new Vector3(-6.790344f, 42.34489f, -207.04968f), 419) - { - StopDistance = 7f - }; - obj202.Steps = list313; - reference229 = obj202; - ref QuestSequence reference230 = ref span134[6]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - CollectionsMarshal.AsSpan(list314)[0] = new QuestStep(EInteractionType.Interact, 1013101u, new Vector3(17.990356f, 16.009666f, -9.567444f), 419) - { - TargetTerritoryId = (ushort)433 - }; - obj203.Steps = list314; - reference230 = obj203; - ref QuestSequence reference231 = ref span134[7]; - QuestSequence obj204 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - CollectionsMarshal.AsSpan(list315)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013227u, new Vector3(14.877502f, 16.009666f, -4.196289f), 419) - { - StopDistance = 5f - }; - obj204.Steps = list315; - reference231 = obj204; - questRoot41.QuestSequence = list308; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(1641); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list316 = new List(num); - CollectionsMarshal.SetCount(list316, num); - CollectionsMarshal.AsSpan(list316)[0] = "JerryWester"; - questRoot42.Author = list316; - num = 2; - List list317 = new List(num); - CollectionsMarshal.SetCount(list317, num); - Span span135 = CollectionsMarshal.AsSpan(list317); - ref QuestSequence reference232 = ref span135[0]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list318 = new List(num2); - CollectionsMarshal.SetCount(list318, num2); - CollectionsMarshal.AsSpan(list318)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013227u, new Vector3(14.877502f, 16.009666f, -4.196289f), 419) - { - StopDistance = 5f - }; - obj205.Steps = list318; - reference232 = obj205; - ref QuestSequence reference233 = ref span135[1]; - QuestSequence obj206 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list319 = new List(num2); - CollectionsMarshal.SetCount(list319, num2); - Span span136 = CollectionsMarshal.AsSpan(list319); - span136[0] = new QuestStep(EInteractionType.AcceptQuest, 1014720u, new Vector3(13.809326f, 15.96505f, -13.870483f), 419) - { - StopDistance = 7f, - PickUpQuestId = new QuestId(1874) - }; - ref QuestStep reference234 = ref span136[1]; - QuestStep obj207 = new QuestStep(EInteractionType.Interact, 1011223u, new Vector3(114.579956f, 24.412834f, -11.062805f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - num3 = 1; - List list320 = new List(num3); - CollectionsMarshal.SetCount(list320, num3); - CollectionsMarshal.AsSpan(list320)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_HEAVNA405_01641_SCENE00020_EVENTAREA_WARP_YESNO_TITLE") - }; - obj207.DialogueChoices = list320; - reference234 = obj207; - ref QuestStep reference235 = ref span136[2]; - QuestStep questStep29 = new QuestStep(EInteractionType.CompleteQuest, 1013183u, new Vector3(-0.015319824f, 0.019999694f, -6.302063f), 428); - num3 = 1; - List list321 = new List(num3); - CollectionsMarshal.SetCount(list321, num3); - CollectionsMarshal.AsSpan(list321)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_HEAVNA405_01641_Q1_000_000"), - Answer = new ExcelRef("TEXT_HEAVNA405_01641_A1_000_001") - }; - questStep29.DialogueChoices = list321; - reference235 = questStep29; - obj206.Steps = list319; - reference233 = obj206; - questRoot42.QuestSequence = list317; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(1642); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list322 = new List(num); - CollectionsMarshal.SetCount(list322, num); - CollectionsMarshal.AsSpan(list322)[0] = "JerryWester"; - questRoot43.Author = list322; - num = 2; - List list323 = new List(num); - CollectionsMarshal.SetCount(list323, num); - Span span137 = CollectionsMarshal.AsSpan(list323); - ref QuestSequence reference236 = ref span137[0]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list324 = new List(num2); - CollectionsMarshal.SetCount(list324, num2); - CollectionsMarshal.AsSpan(list324)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013384u, new Vector3(112.291016f, 24.390423f, -4.4709473f), 418) - { - StopDistance = 7f - }; - obj208.Steps = list324; - reference236 = obj208; - ref QuestSequence reference237 = ref span137[1]; - QuestSequence obj209 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list325 = new List(num2); - CollectionsMarshal.SetCount(list325, num2); - CollectionsMarshal.AsSpan(list325)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013261u, new Vector3(-158.49548f, 17.066208f, -56.26001f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - obj209.Steps = list325; - reference237 = obj209; - questRoot43.QuestSequence = list323; - AddQuest(questId43, questRoot43); - QuestId questId44 = new QuestId(1643); - QuestRoot questRoot44 = new QuestRoot(); - num = 1; - List list326 = new List(num); - CollectionsMarshal.SetCount(list326, num); - CollectionsMarshal.AsSpan(list326)[0] = "JerryWester"; - questRoot44.Author = list326; - num = 5; - List list327 = new List(num); - CollectionsMarshal.SetCount(list327, num); - Span span138 = CollectionsMarshal.AsSpan(list327); - ref QuestSequence reference238 = ref span138[0]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - CollectionsMarshal.AsSpan(list328)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013385u, new Vector3(-158.37347f, 17f, -54.276367f), 418); - obj210.Steps = list328; - reference238 = obj210; - ref QuestSequence reference239 = ref span138[1]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list329 = new List(num2); - CollectionsMarshal.SetCount(list329, num2); - CollectionsMarshal.AsSpan(list329)[0] = new QuestStep(EInteractionType.Interact, 1013077u, new Vector3(147.53943f, -12.634913f, -26.199768f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSkysteelManufactory, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - obj211.Steps = list329; - reference239 = obj211; - ref QuestSequence reference240 = ref span138[2]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list330 = new List(num2); - CollectionsMarshal.SetCount(list330, num2); - ref QuestStep reference241 = ref CollectionsMarshal.AsSpan(list330)[0]; - QuestStep questStep30 = new QuestStep(EInteractionType.Interact, 1013125u, new Vector3(148.60754f, -12.634913f, -13.443237f), 419); - num3 = 1; - List list331 = new List(num3); - CollectionsMarshal.SetCount(list331, num3); - CollectionsMarshal.AsSpan(list331)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_HEAVNA502_01643_Q1_000_000") - }; - questStep30.DialogueChoices = list331; - reference241 = questStep30; - obj212.Steps = list330; - reference240 = obj212; - span138[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference242 = ref span138[4]; - QuestSequence obj213 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list332 = new List(num2); - CollectionsMarshal.SetCount(list332, num2); - CollectionsMarshal.AsSpan(list332)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013085u, new Vector3(-805.53906f, -57.828876f, 157.64087f), 401); - obj213.Steps = list332; - reference242 = obj213; - questRoot44.QuestSequence = list327; - AddQuest(questId44, questRoot44); - QuestId questId45 = new QuestId(1644); - QuestRoot questRoot45 = new QuestRoot(); - num = 1; - List list333 = new List(num); - CollectionsMarshal.SetCount(list333, num); - CollectionsMarshal.AsSpan(list333)[0] = "JerryWester"; - questRoot45.Author = list333; - num = 4; - List list334 = new List(num); - CollectionsMarshal.SetCount(list334, num); - Span span139 = CollectionsMarshal.AsSpan(list334); - ref QuestSequence reference243 = ref span139[0]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list335 = new List(num2); - CollectionsMarshal.SetCount(list335, num2); - CollectionsMarshal.AsSpan(list335)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013085u, new Vector3(-805.53906f, -57.828876f, 157.64087f), 401); - obj214.Steps = list335; - reference243 = obj214; - ref QuestSequence reference244 = ref span139[1]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list336 = new List(num2); - CollectionsMarshal.SetCount(list336, num2); - Span span140 = CollectionsMarshal.AsSpan(list336); - span140[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2006228u, new Vector3(-747.097f, -57.09793f, 163.8361f), 401) - { - AetherCurrentId = 2818116u - }; - span140[1] = new QuestStep(EInteractionType.Emote, null, new Vector3(-703.7623f, -61.975857f, 113.54166f), 401) - { - StopDistance = 0.25f, - Emote = EEmote.Lookout - }; - obj215.Steps = list336; - reference244 = obj215; - ref QuestSequence reference245 = ref span139[2]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list337 = new List(num2); - CollectionsMarshal.SetCount(list337, num2); - CollectionsMarshal.AsSpan(list337)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, null, new Vector3(-761.80145f, -39.054474f, 77.39858f), 401) - { - StopDistance = 0.25f, - Emote = EEmote.Lookout, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj216.Steps = list337; - reference245 = obj216; - ref QuestSequence reference246 = ref span139[3]; - QuestSequence obj217 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list338 = new List(num2); - CollectionsMarshal.SetCount(list338, num2); - CollectionsMarshal.AsSpan(list338)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013089u, new Vector3(-751.6747f, -35.95642f, 18.722778f), 401) - { - StopDistance = 7f - }; - obj217.Steps = list338; - reference246 = obj217; - questRoot45.QuestSequence = list334; - AddQuest(questId45, questRoot45); - QuestId questId46 = new QuestId(1645); - QuestRoot questRoot46 = new QuestRoot(); - num = 1; - List list339 = new List(num); - CollectionsMarshal.SetCount(list339, num); - CollectionsMarshal.AsSpan(list339)[0] = "JerryWester"; - questRoot46.Author = list339; - num = 4; - List list340 = new List(num); - CollectionsMarshal.SetCount(list340, num); - Span span141 = CollectionsMarshal.AsSpan(list340); - ref QuestSequence reference247 = ref span141[0]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - CollectionsMarshal.AsSpan(list341)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013089u, new Vector3(-751.6747f, -35.95642f, 18.722778f), 401) - { - StopDistance = 7f - }; - obj218.Steps = list341; - reference247 = obj218; - ref QuestSequence reference248 = ref span141[1]; - QuestSequence obj219 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - CollectionsMarshal.AsSpan(list342)[0] = new QuestStep(EInteractionType.Interact, 1013093u, new Vector3(-749.1112f, -35.956425f, 22.049255f), 401); - obj219.Steps = list342; - reference248 = obj219; - ref QuestSequence reference249 = ref span141[2]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list343 = new List(num2); - CollectionsMarshal.SetCount(list343, num2); - Span span142 = CollectionsMarshal.AsSpan(list343); - span142[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-756.4804f, -13.877342f, -121.33485f), 401) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(-759.4263f, -9.201294f, -110.85681f) - } - }; - span142[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2006229u, new Vector3(-759.4263f, -9.201294f, -110.85681f), 401) - { - DisableNavmesh = true, - AetherCurrentId = 2818117u - }; - span142[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-755.9033f, -14.112402f, -177.06593f), 401); - span142[3] = new QuestStep(EInteractionType.Interact, 1013090u, new Vector3(-650.93463f, -58.6966f, -337.2397f), 401); - obj220.Steps = list343; - reference249 = obj220; - ref QuestSequence reference250 = ref span141[3]; - QuestSequence obj221 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list344 = new List(num2); - CollectionsMarshal.SetCount(list344, num2); - Span span143 = CollectionsMarshal.AsSpan(list344); - span143[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 401) - { - Aetheryte = EAetheryteLocation.SeaOfCloudsOkZundu - }; - span143[1] = new QuestStep(EInteractionType.CompleteQuest, 1013095u, new Vector3(-560.69275f, -52.30738f, -427.57312f), 401); - obj221.Steps = list344; - reference250 = obj221; - questRoot46.QuestSequence = list340; - AddQuest(questId46, questRoot46); - QuestId questId47 = new QuestId(1646); - QuestRoot questRoot47 = new QuestRoot(); - num = 1; - List list345 = new List(num); - CollectionsMarshal.SetCount(list345, num); - CollectionsMarshal.AsSpan(list345)[0] = "JerryWester"; - questRoot47.Author = list345; - num = 4; - List list346 = new List(num); - CollectionsMarshal.SetCount(list346, num); - Span span144 = CollectionsMarshal.AsSpan(list346); - ref QuestSequence reference251 = ref span144[0]; - QuestSequence obj222 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list347 = new List(num2); - CollectionsMarshal.SetCount(list347, num2); - CollectionsMarshal.AsSpan(list347)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013096u, new Vector3(-541.34436f, -37.144257f, -384.48163f), 401); - obj222.Steps = list347; - reference251 = obj222; - ref QuestSequence reference252 = ref span144[1]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list348 = new List(num2); - CollectionsMarshal.SetCount(list348, num2); - CollectionsMarshal.AsSpan(list348)[0] = new QuestStep(EInteractionType.Interact, 1013123u, new Vector3(-538.0178f, -37.04666f, -392.0501f), 401); - obj223.Steps = list348; - reference252 = obj223; - ref QuestSequence reference253 = ref span144[2]; - QuestSequence obj224 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list349 = new List(num2); - CollectionsMarshal.SetCount(list349, num2); - Span span145 = CollectionsMarshal.AsSpan(list349); - span145[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2006234u, new Vector3(-564.8127f, -36.68513f, -349.0807f), 401) - { - AetherCurrentId = 2818122u - }; - span145[1] = new QuestStep(EInteractionType.Emote, 1012070u, new Vector3(-554.0704f, -57.62821f, -547.4174f), 401) - { - Emote = EEmote.Bow - }; - obj224.Steps = list349; - reference253 = obj224; - ref QuestSequence reference254 = ref span144[3]; - QuestSequence obj225 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - CollectionsMarshal.AsSpan(list350)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014570u, new Vector3(-583.032f, -52.126114f, -447.4403f), 401); - obj225.Steps = list350; - reference254 = obj225; - questRoot47.QuestSequence = list346; - AddQuest(questId47, questRoot47); - QuestId questId48 = new QuestId(1647); - QuestRoot questRoot48 = new QuestRoot(); - num = 1; - List list351 = new List(num); - CollectionsMarshal.SetCount(list351, num); - CollectionsMarshal.AsSpan(list351)[0] = "JerryWester"; - questRoot48.Author = list351; - num = 7; - List list352 = new List(num); - CollectionsMarshal.SetCount(list352, num); - Span span146 = CollectionsMarshal.AsSpan(list352); - ref QuestSequence reference255 = ref span146[0]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list353 = new List(num2); - CollectionsMarshal.SetCount(list353, num2); - CollectionsMarshal.AsSpan(list353)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014570u, new Vector3(-583.032f, -52.126114f, -447.4403f), 401); - obj226.Steps = list353; - reference255 = obj226; - ref QuestSequence reference256 = ref span146[1]; - QuestSequence obj227 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list354 = new List(num2); - CollectionsMarshal.SetCount(list354, num2); - Span span147 = CollectionsMarshal.AsSpan(list354); - span147[0] = new QuestStep(EInteractionType.AcceptQuest, 1012069u, new Vector3(-647.0283f, -51.05719f, -417.74628f), 401) - { - PickUpQuestId = new QuestId(1909) - }; - span147[1] = new QuestStep(EInteractionType.Interact, 1012064u, new Vector3(-542.7787f, -37.11544f, -386.7094f), 401); - obj227.Steps = list354; - reference256 = obj227; - ref QuestSequence reference257 = ref span146[2]; - QuestSequence obj228 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list355 = new List(num2); - CollectionsMarshal.SetCount(list355, num2); - Span span148 = CollectionsMarshal.AsSpan(list355); - span148[0] = new QuestStep(EInteractionType.AcceptQuest, 1012068u, new Vector3(-597.0398f, -51.05185f, -387.0451f), 401) - { - PickUpQuestId = new QuestId(1910) - }; - span148[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2006231u, new Vector3(-180.34644f, -14.938599f, -543.1144f), 401) - { - AetherCurrentId = 2818119u - }; - span148[2] = new QuestStep(EInteractionType.Interact, 1013386u, new Vector3(-155.62683f, -14.153783f, -541.558f), 401); - obj228.Steps = list355; - reference257 = obj228; - ref QuestSequence reference258 = ref span146[3]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list356 = new List(num2); - CollectionsMarshal.SetCount(list356, num2); - ref QuestStep reference259 = ref CollectionsMarshal.AsSpan(list356)[0]; - QuestStep obj230 = new QuestStep(EInteractionType.Interact, 1013387u, new Vector3(-154.34503f, -14.730623f, -537.56006f), 401) - { - StopDistance = 7f - }; - num3 = 1; - List list357 = new List(num3); - CollectionsMarshal.SetCount(list357, num3); - CollectionsMarshal.AsSpan(list357)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_HEAVNA506_01647_Q1_000_000") - }; - obj230.DialogueChoices = list357; - reference259 = obj230; - obj229.Steps = list356; - reference258 = obj229; - ref QuestSequence reference260 = ref span146[4]; - QuestSequence obj231 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list358 = new List(num2); - CollectionsMarshal.SetCount(list358, num2); - CollectionsMarshal.AsSpan(list358)[0] = new QuestStep(EInteractionType.Duty, null, null, 401) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 88u - } - }; - obj231.Steps = list358; - reference260 = obj231; - span146[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference261 = ref span146[6]; - QuestSequence obj232 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list359 = new List(num2); - CollectionsMarshal.SetCount(list359, num2); - CollectionsMarshal.AsSpan(list359)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014575u, new Vector3(-156.66437f, -14.153766f, -543.0228f), 401) - { - StopDistance = 7f - }; - obj232.Steps = list359; - reference261 = obj232; - questRoot48.QuestSequence = list352; - AddQuest(questId48, questRoot48); - QuestId questId49 = new QuestId(1648); - QuestRoot questRoot49 = new QuestRoot(); - num = 1; - List list360 = new List(num); - CollectionsMarshal.SetCount(list360, num); - CollectionsMarshal.AsSpan(list360)[0] = "JerryWester"; - questRoot49.Author = list360; - num = 3; - List list361 = new List(num); - CollectionsMarshal.SetCount(list361, num); - Span span149 = CollectionsMarshal.AsSpan(list361); - ref QuestSequence reference262 = ref span149[0]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list362 = new List(num2); - CollectionsMarshal.SetCount(list362, num2); - CollectionsMarshal.AsSpan(list362)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014575u, new Vector3(-156.66437f, -14.153766f, -543.0228f), 401) - { - StopDistance = 7f - }; - obj233.Steps = list362; - reference262 = obj233; - ref QuestSequence reference263 = ref span149[1]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list363 = new List(num2); - CollectionsMarshal.SetCount(list363, num2); - CollectionsMarshal.AsSpan(list363)[0] = new QuestStep(EInteractionType.Interact, 1013100u, new Vector3(-582.63525f, -52.094604f, -447.13513f), 401); - obj234.Steps = list363; - reference263 = obj234; - ref QuestSequence reference264 = ref span149[2]; - QuestSequence obj235 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list364 = new List(num2); - CollectionsMarshal.SetCount(list364, num2); - CollectionsMarshal.AsSpan(list364)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012195u, new Vector3(-155.93195f, -14.153762f, -542.1378f), 401) - { - Fly = true - }; - obj235.Steps = list364; - reference264 = obj235; - questRoot49.QuestSequence = list361; - AddQuest(questId49, questRoot49); - QuestId questId50 = new QuestId(1649); - QuestRoot questRoot50 = new QuestRoot(); - num = 1; - List list365 = new List(num); - CollectionsMarshal.SetCount(list365, num); - CollectionsMarshal.AsSpan(list365)[0] = "JerryWester"; - questRoot50.Author = list365; - num = 2; - List list366 = new List(num); - CollectionsMarshal.SetCount(list366, num); - Span span150 = CollectionsMarshal.AsSpan(list366); - ref QuestSequence reference265 = ref span150[0]; - QuestSequence obj236 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list367 = new List(num2); - CollectionsMarshal.SetCount(list367, num2); - CollectionsMarshal.AsSpan(list367)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013386u, new Vector3(-155.62683f, -14.153783f, -541.558f), 401) - { - StopDistance = 5f - }; - obj236.Steps = list367; - reference265 = obj236; - ref QuestSequence reference266 = ref span150[1]; - QuestSequence obj237 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list368 = new List(num2); - CollectionsMarshal.SetCount(list368, num2); - CollectionsMarshal.AsSpan(list368)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013111u, new Vector3(162.89001f, -15.134373f, 37.094604f), 419) - { - StopDistance = 7f - }; - obj237.Steps = list368; - reference266 = obj237; - questRoot50.QuestSequence = list366; - AddQuest(questId50, questRoot50); - } - - private static void LoadQuests33() - { - QuestId questId = new QuestId(1650); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "JerryWester"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013112u, new Vector3(162.005f, -15.134371f, 38.52893f), 419) - { - StopDistance = 7f - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference3 = ref span2[0]; - QuestStep obj3 = new QuestStep(EInteractionType.Interact, 1011223u, new Vector3(114.579956f, 24.412834f, -11.062805f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardAthenaeumAstrologicum, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - int num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_HEAVNA601_01650_SCENE00008_EVENTAREA_WARP_YESNO_TITLE") - }; - obj3.DialogueChoices = list5; - reference3 = obj3; - span2[1] = new QuestStep(EInteractionType.Interact, 1013183u, new Vector3(-0.015319824f, 0.019999694f, -6.302063f), 428); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj4 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013162u, new Vector3(92.36279f, 15.094684f, 33.188354f), 418); - obj4.Steps = list6; - reference4 = obj4; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(1651); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - CollectionsMarshal.AsSpan(list7)[0] = "JerryWester"; - questRoot2.Author = list7; - num = 4; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span3 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference5 = ref span3[0]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013162u, new Vector3(92.36279f, 15.094684f, 33.188354f), 418); - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference6 = ref span3[1]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.Interact, 1012389u, new Vector3(-133.31812f, 4.1f, -111.77234f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span3[2]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.Interact, 1012391u, new Vector3(-202.62463f, -31.015825f, 105.088745f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span3[3]; - QuestSequence obj8 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012394u, new Vector3(-158.1903f, 4f, -21.194885f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - obj8.Steps = list12; - reference8 = obj8; - questRoot2.QuestSequence = list8; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(1652); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = "JerryWester"; - questRoot3.Author = list13; - num = 5; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - Span span4 = CollectionsMarshal.AsSpan(list14); - ref QuestSequence reference9 = ref span4[0]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012394u, new Vector3(-158.1903f, 4f, -21.194885f), 133); - obj9.Steps = list15; - reference9 = obj9; - ref QuestSequence reference10 = ref span4[1]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - Span span5 = CollectionsMarshal.AsSpan(list16); - ref QuestStep reference11 = ref span5[0]; - QuestStep obj11 = new QuestStep(EInteractionType.Interact, 1000460u, new Vector3(-159.41101f, 4.054107f, -4.1047363f), 133) - { - TargetTerritoryId = (ushort)205 - }; - num3 = 1; - List list17 = new List(num3); - CollectionsMarshal.SetCount(list17, num3); - CollectionsMarshal.AsSpan(list17)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_HEAVNA603_01652_SCENE00007_EVENTAREA_WARP_YESNO_TITLE") - }; - obj11.DialogueChoices = list17; - reference11 = obj11; - span5[1] = new QuestStep(EInteractionType.Interact, 1003027u, new Vector3(4.8981323f, -1.92944f, -0.19836426f), 205); - obj10.Steps = list16; - reference10 = obj10; - ref QuestSequence reference12 = ref span4[2]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.Interact, 1012396u, new Vector3(-153.1853f, 4f, -14.938599f), 133); - obj12.Steps = list18; - reference12 = obj12; - ref QuestSequence reference13 = ref span4[3]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.Interact, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaConjurer, - To = EAetheryteLocation.GridaniaLancer - } - }; - obj13.Steps = list19; - reference13 = obj13; - ref QuestSequence reference14 = ref span4[4]; - QuestSequence obj14 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012398u, new Vector3(35.538208f, -8f, 98.13074f), 132) - { - StopDistance = 5f - }; - obj14.Steps = list20; - reference14 = obj14; - questRoot3.QuestSequence = list14; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(1653); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - CollectionsMarshal.AsSpan(list21)[0] = "JerryWester"; - questRoot4.Author = list21; - num = 3; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - Span span6 = CollectionsMarshal.AsSpan(list22); - ref QuestSequence reference15 = ref span6[0]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012398u, new Vector3(35.538208f, -8f, 98.13074f), 132) - { - StopDistance = 5f - }; - obj15.Steps = list23; - reference15 = obj15; - ref QuestSequence reference16 = ref span6[1]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - Span span7 = CollectionsMarshal.AsSpan(list24); - span7[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(43.620056f, -7.9655867f, 103.63884f), 132); - ref QuestStep reference17 = ref span7[1]; - QuestStep obj17 = new QuestStep(EInteractionType.Interact, 1000691u, new Vector3(71.97681f, 8f, -166.52173f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLeatherworker - } - }; - num3 = 6; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - Span span8 = CollectionsMarshal.AsSpan(list25); - span8[0] = null; - span8[1] = null; - span8[2] = null; - span8[3] = null; - span8[4] = null; - span8[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj17.CompletionQuestVariablesFlags = list25; - reference17 = obj17; - ref QuestStep reference18 = ref span7[2]; - QuestStep obj18 = new QuestStep(EInteractionType.Interact, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLeatherworker, - To = EAetheryteLocation.GridaniaConjurer - } - }; - num3 = 6; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - Span span9 = CollectionsMarshal.AsSpan(list26); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj18.CompletionQuestVariablesFlags = list26; - reference18 = obj18; - obj16.Steps = list24; - reference16 = obj16; - ref QuestSequence reference19 = ref span6[2]; - QuestSequence obj19 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012398u, new Vector3(35.538208f, -8f, 98.13074f), 132) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaConjurer, - To = EAetheryteLocation.GridaniaAirship - } - }; - obj19.Steps = list27; - reference19 = obj19; - questRoot4.QuestSequence = list22; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(1654); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - CollectionsMarshal.AsSpan(list28)[0] = "JerryWester"; - questRoot5.Author = list28; - num = 3; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - Span span10 = CollectionsMarshal.AsSpan(list29); - ref QuestSequence reference20 = ref span10[0]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012400u, new Vector3(35.843384f, -8f, 99.35144f), 132); - obj20.Steps = list30; - reference20 = obj20; - ref QuestSequence reference21 = ref span10[1]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.Interact, 1012401u, new Vector3(-8.560364f, 5.4681287f, 40.6958f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard - }; - obj21.Steps = list31; - reference21 = obj21; - ref QuestSequence reference22 = ref span10[2]; - QuestSequence obj22 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012406u, new Vector3(587.45703f, -50.811344f, 69.16907f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - obj22.Steps = list32; - reference22 = obj22; - questRoot5.QuestSequence = list29; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(1655); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list33 = new List(num); - CollectionsMarshal.SetCount(list33, num); - CollectionsMarshal.AsSpan(list33)[0] = "JerryWester"; - questRoot6.Author = list33; - num = 4; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - Span span11 = CollectionsMarshal.AsSpan(list34); - ref QuestSequence reference23 = ref span11[0]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012406u, new Vector3(587.45703f, -50.811344f, 69.16907f), 398); - obj23.Steps = list35; - reference23 = obj23; - ref QuestSequence reference24 = ref span11[1]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - Span span12 = CollectionsMarshal.AsSpan(list36); - span12[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-793.8348f, -122.09079f, 577.7538f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - span12[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-802.08453f, -122.82994f, 577.8909f), 398) - { - TargetTerritoryId = (ushort)399 - }; - obj24.Steps = list36; - reference24 = obj24; - ref QuestSequence reference25 = ref span11[2]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - Span span13 = CollectionsMarshal.AsSpan(list37); - span13[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2006205u, new Vector3(729.21326f, 134.93542f, 150.89636f), 399) - { - AetherCurrentId = 2818083u - }; - span13[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2006208u, new Vector3(98.89368f, 73.07532f, -174.36487f), 399) - { - AetherCurrentId = 2818086u - }; - span13[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-229.85187f, 107.00484f, -632.70197f), 399) - { - TargetTerritoryId = (ushort)478 - }; - obj25.Steps = list37; - reference25 = obj25; - ref QuestSequence reference26 = ref span11[3]; - QuestSequence obj26 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - Span span14 = CollectionsMarshal.AsSpan(list38); - span14[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 478) - { - Aetheryte = EAetheryteLocation.Idyllshire - }; - span14[1] = new QuestStep(EInteractionType.CompleteQuest, 1012097u, new Vector3(73.3501f, 205.88956f, 23.483582f), 478); - obj26.Steps = list38; - reference26 = obj26; - questRoot6.QuestSequence = list34; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(1656); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - CollectionsMarshal.AsSpan(list39)[0] = "JerryWester"; - questRoot7.Author = list39; - num = 4; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - Span span15 = CollectionsMarshal.AsSpan(list40); - ref QuestSequence reference27 = ref span15[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012097u, new Vector3(73.3501f, 205.88956f, 23.483582f), 478); - obj27.Steps = list41; - reference27 = obj27; - ref QuestSequence reference28 = ref span15[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.Interact, 1012410u, new Vector3(71.732666f, 205.62819f, 26.901611f), 478) - { - StopDistance = 7f - }; - obj28.Steps = list42; - reference28 = obj28; - ref QuestSequence reference29 = ref span15[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - Span span16 = CollectionsMarshal.AsSpan(list43); - ref QuestStep reference30 = ref span16[0]; - QuestStep obj30 = new QuestStep(EInteractionType.Say, 1014413u, new Vector3(-42.008118f, 205.79572f, 3.4332886f), 478) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_HEAVNA607_01656_SAYTODO_000" - } - }; - num3 = 6; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - Span span17 = CollectionsMarshal.AsSpan(list44); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj30.CompletionQuestVariablesFlags = list44; - reference30 = obj30; - ref QuestStep reference31 = ref span16[1]; - QuestStep obj31 = new QuestStep(EInteractionType.Say, 1012413u, new Vector3(-69.230286f, 205.88773f, -68.61987f), 478) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_HEAVNA607_01656_SAYTODO_000" - } - }; - num3 = 6; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - Span span18 = CollectionsMarshal.AsSpan(list45); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj31.CompletionQuestVariablesFlags = list45; - reference31 = obj31; - obj29.Steps = list43; - reference29 = obj29; - ref QuestSequence reference32 = ref span15[3]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - Span span19 = CollectionsMarshal.AsSpan(list46); - span19[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 478) - { - AethernetShard = EAetheryteLocation.IdyllshireWest - }; - span19[1] = new QuestStep(EInteractionType.CompleteQuest, 1012097u, new Vector3(73.3501f, 205.88956f, 23.483582f), 478) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IdyllshireWest, - To = EAetheryteLocation.Idyllshire - } - }; - obj32.Steps = list46; - reference32 = obj32; - questRoot7.QuestSequence = list40; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(1657); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - CollectionsMarshal.AsSpan(list47)[0] = "JerryWester"; - questRoot8.Author = list47; - num = 4; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - Span span20 = CollectionsMarshal.AsSpan(list48); - ref QuestSequence reference33 = ref span20[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012097u, new Vector3(73.3501f, 205.88956f, 23.483582f), 478); - obj33.Steps = list49; - reference33 = obj33; - ref QuestSequence reference34 = ref span20[1]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - Span span21 = CollectionsMarshal.AsSpan(list50); - span21[0] = new QuestStep(EInteractionType.AcceptQuest, 1012287u, new Vector3(-28.397034f, 100.969696f, -186.4195f), 399) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshireEpilogueGate - }, - PickUpQuestId = new QuestId(1936) - }; - span21[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 1012416u, new Vector3(365.83496f, 80.11144f, 6.3324585f), 399) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshireEpilogueGate - }, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj34.Steps = list50; - reference34 = obj34; - ref QuestSequence reference35 = ref span20[2]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.Interact, 1012418u, new Vector3(352.65125f, 77.859474f, -5.9052734f), 399) - { - StopDistance = 7f - }; - obj35.Steps = list51; - reference35 = obj35; - ref QuestSequence reference36 = ref span20[3]; - QuestSequence obj36 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012097u, new Vector3(73.3501f, 205.88956f, 23.483582f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire - }; - obj36.Steps = list52; - reference36 = obj36; - questRoot8.QuestSequence = list48; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(1658); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - CollectionsMarshal.AsSpan(list53)[0] = "JerryWester"; - questRoot9.Author = list53; - num = 3; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - Span span22 = CollectionsMarshal.AsSpan(list54); - ref QuestSequence reference37 = ref span22[0]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012097u, new Vector3(73.3501f, 205.88956f, 23.483582f), 478); - obj37.Steps = list55; - reference37 = obj37; - ref QuestSequence reference38 = ref span22[1]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - Span span23 = CollectionsMarshal.AsSpan(list56); - span23[0] = new QuestStep(EInteractionType.AcceptQuest, 1012102u, new Vector3(72.40405f, 205.6815f, 31.631958f), 478) - { - PickUpQuestId = new QuestId(1945) - }; - span23[1] = new QuestStep(EInteractionType.Interact, 1012419u, new Vector3(78.96533f, 203.98001f, 133.1654f), 478); - obj38.Steps = list56; - reference38 = obj38; - ref QuestSequence reference39 = ref span22[2]; - QuestSequence obj39 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012421u, new Vector3(77.98877f, 203.98f, 127.91626f), 478) - { - StopDistance = 5f - }; - obj39.Steps = list57; - reference39 = obj39; - questRoot9.QuestSequence = list54; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(1659); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - CollectionsMarshal.AsSpan(list58)[0] = "JerryWester"; - questRoot10.Author = list58; - num = 4; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - Span span24 = CollectionsMarshal.AsSpan(list59); - ref QuestSequence reference40 = ref span24[0]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012421u, new Vector3(77.98877f, 203.98f, 127.91626f), 478) - { - StopDistance = 5f - }; - obj40.Steps = list60; - reference40 = obj40; - ref QuestSequence reference41 = ref span24[1]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - Span span25 = CollectionsMarshal.AsSpan(list61); - span25[0] = new QuestStep(EInteractionType.AcceptQuest, 1012133u, new Vector3(-26.840637f, 206.49944f, 28.67163f), 478) - { - PickUpQuestId = new QuestId(1963) - }; - ref QuestStep reference42 = ref span25[1]; - QuestStep obj42 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(71.86769f, 204.99998f, 145.98666f), 478) - { - TargetTerritoryId = (ushort)399 - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - CollectionsMarshal.AsSpan(list62)[0] = 399; - skipStepConditions.InTerritory = list62; - skipConditions.StepIf = skipStepConditions; - obj42.SkipConditions = skipConditions; - reference42 = obj42; - span25[2] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2006214u, new Vector3(-452.38422f, 138.10938f, 678.18713f), 399) - { - AetherCurrentId = 2818092u - }; - span25[3] = new QuestStep(EInteractionType.Interact, 1012423u, new Vector3(-476.58502f, 137.42972f, 702.6931f), 399); - obj41.Steps = list61; - reference41 = obj41; - ref QuestSequence reference43 = ref span24[2]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - ref QuestStep reference44 = ref CollectionsMarshal.AsSpan(list63)[0]; - QuestStep obj44 = new QuestStep(EInteractionType.Combat, 2005532u, new Vector3(-488.76178f, 138.99438f, 742.12244f), 399) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - CollectionsMarshal.AsSpan(list64)[0] = 4375u; - obj44.KillEnemyDataIds = list64; - reference44 = obj44; - obj43.Steps = list63; - reference43 = obj43; - ref QuestSequence reference45 = ref span24[3]; - QuestSequence obj45 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012423u, new Vector3(-476.58502f, 137.42972f, 702.6931f), 399); - obj45.Steps = list65; - reference45 = obj45; - questRoot10.QuestSequence = list59; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(1660); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - CollectionsMarshal.AsSpan(list66)[0] = "JerryWester"; - questRoot11.Author = list66; - num = 7; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - Span span26 = CollectionsMarshal.AsSpan(list67); - ref QuestSequence reference46 = ref span26[0]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012138u, new Vector3(19.272095f, 38.43f, 15.854065f), 463) - { - StopDistance = 7f - }; - obj46.Steps = list68; - reference46 = obj46; - ref QuestSequence reference47 = ref span26[1]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1012138u, new Vector3(19.272095f, 38.43f, 15.854065f), 463) - { - StopDistance = 7f - }; - obj47.Steps = list69; - reference47 = obj47; - ref QuestSequence reference48 = ref span26[2]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.Interact, 1012426u, new Vector3(23.971863f, 38.43f, 3.5552979f), 463) - { - StopDistance = 6f - }; - obj48.Steps = list70; - reference48 = obj48; - ref QuestSequence reference49 = ref span26[3]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - Span span27 = CollectionsMarshal.AsSpan(list71); - span27[0] = new QuestStep(EInteractionType.AcceptQuest, 1012141u, new Vector3(35.690796f, 38.43f, 12.985352f), 463) - { - PickUpQuestId = new QuestId(1966) - }; - ref QuestStep reference50 = ref span27[1]; - QuestStep obj50 = new QuestStep(EInteractionType.Interact, 2005337u, new Vector3(7.765594f, 38.9395f, -50.9989f), 463) - { - TargetTerritoryId = (ushort)399 - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - CollectionsMarshal.AsSpan(list72)[0] = 463; - skipStepConditions2.NotInTerritory = list72; - skipConditions2.StepIf = skipStepConditions2; - obj50.SkipConditions = skipConditions2; - reference50 = obj50; - span27[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(228.06944f, 228.11594f, 767.1184f), 399); - span27[3] = new QuestStep(EInteractionType.Interact, 1012427u, new Vector3(300.46533f, 232.541f, 767.87964f), 399) - { - DisableNavmesh = true - }; - obj49.Steps = list71; - reference49 = obj49; - ref QuestSequence reference51 = ref span26[4]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.Duty, null, null, 399) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 31u - } - }; - obj51.Steps = list73; - reference51 = obj51; - span26[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference52 = ref span26[6]; - QuestSequence obj52 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - Span span28 = CollectionsMarshal.AsSpan(list74); - span28[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(228.06944f, 228.11594f, 767.1184f), 399) - { - DisableNavmesh = true, - Mount = true - }; - span28[1] = new QuestStep(EInteractionType.Interact, 2005336u, new Vector3(-488.79227f, 138.93335f, 741.0543f), 399) - { - TargetTerritoryId = (ushort)463 - }; - span28[2] = new QuestStep(EInteractionType.CompleteQuest, 1012138u, new Vector3(19.272095f, 38.43f, 15.854065f), 463); - obj52.Steps = list74; - reference52 = obj52; - questRoot11.QuestSequence = list67; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(1661); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - CollectionsMarshal.AsSpan(list75)[0] = "JerryWester"; - questRoot12.Author = list75; - num = 4; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - Span span29 = CollectionsMarshal.AsSpan(list76); - ref QuestSequence reference53 = ref span29[0]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012138u, new Vector3(19.272095f, 38.43f, 15.854065f), 463); - obj53.Steps = list77; - reference53 = obj53; - ref QuestSequence reference54 = ref span29[1]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.Interact, 1012422u, new Vector3(-475.79156f, 137.42972f, 701.4724f), 399) - { - StopDistance = 7f - }; - obj54.Steps = list78; - reference54 = obj54; - ref QuestSequence reference55 = ref span29[2]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.Interact, 1012380u, new Vector3(124.46777f, 24.458836f, 0.47296143f), 418) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj55.Steps = list79; - reference55 = obj55; - ref QuestSequence reference56 = ref span29[3]; - QuestSequence obj56 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013163u, new Vector3(167.0404f, -14.313367f, 51.285522f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - obj56.Steps = list80; - reference56 = obj56; - questRoot12.QuestSequence = list76; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(1662); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - CollectionsMarshal.AsSpan(list81)[0] = "JerryWester"; - questRoot13.Author = list81; - num = 5; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - Span span30 = CollectionsMarshal.AsSpan(list82); - ref QuestSequence reference57 = ref span30[0]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012430u, new Vector3(165.94177f, -14.34896f, 51.651733f), 419) - { - StopDistance = 5f - }; - obj57.Steps = list83; - reference57 = obj57; - ref QuestSequence reference58 = ref span30[1]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.Interact, 1013166u, new Vector3(168.29175f, -14.52896f, 41.153564f), 419) - { - StopDistance = 7f - }; - obj58.Steps = list84; - reference58 = obj58; - ref QuestSequence reference59 = ref span30[2]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - Span span31 = CollectionsMarshal.AsSpan(list85); - ref QuestStep reference60 = ref span31[0]; - QuestStep obj60 = new QuestStep(EInteractionType.Interact, 1013167u, new Vector3(125.68848f, 24.458836f, 2.456604f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardAthenaeumAstrologicum, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - num3 = 6; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - Span span32 = CollectionsMarshal.AsSpan(list86); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj60.CompletionQuestVariablesFlags = list86; - reference60 = obj60; - ref QuestStep reference61 = ref span31[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1013161u, new Vector3(92.36279f, 15.094684f, 33.188354f), 418); - num3 = 6; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - Span span33 = CollectionsMarshal.AsSpan(list87); - span33[0] = null; - span33[1] = null; - span33[2] = null; - span33[3] = null; - span33[4] = null; - span33[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list87; - reference61 = questStep; - ref QuestStep reference62 = ref span31[2]; - QuestStep questStep2 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(89.00678f, 1.6069314f, 67.770386f), 418); - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list88 = new List(num3); - CollectionsMarshal.SetCount(list88, num3); - Span span34 = CollectionsMarshal.AsSpan(list88); - span34[0] = null; - span34[1] = null; - span34[2] = null; - span34[3] = null; - span34[4] = null; - span34[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list88; - skipConditions3.StepIf = skipStepConditions3; - questStep2.SkipConditions = skipConditions3; - reference62 = questStep2; - ref QuestStep reference63 = ref span31[3]; - QuestStep obj61 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(74.918564f, -13.879314f, 68.86857f), 418) - { - DisableNavmesh = true - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list89 = new List(num3); - CollectionsMarshal.SetCount(list89, num3); - Span span35 = CollectionsMarshal.AsSpan(list89); - span35[0] = null; - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list89; - skipConditions4.StepIf = skipStepConditions4; - obj61.SkipConditions = skipConditions4; - reference63 = obj61; - ref QuestStep reference64 = ref span31[4]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1012251u, new Vector3(12.313965f, -12.020877f, 40.268433f), 418); - num3 = 6; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - Span span36 = CollectionsMarshal.AsSpan(list90); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list90; - reference64 = questStep3; - obj59.Steps = list85; - reference59 = obj59; - ref QuestSequence reference65 = ref span30[3]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - Span span37 = CollectionsMarshal.AsSpan(list91); - span37[0] = new QuestStep(EInteractionType.Interact, 1011217u, new Vector3(17.990356f, 16.009666f, -9.567444f), 419) - { - TargetTerritoryId = (ushort)433, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardBrume, - To = EAetheryteLocation.IshgardLastVigil - } - }; - span37[1] = new QuestStep(EInteractionType.Interact, 1012397u, new Vector3(4.0131226f, -9.313226E-10f, 5.661072f), 433) - { - StopDistance = 7f - }; - obj62.Steps = list91; - reference65 = obj62; - ref QuestSequence reference66 = ref span30[4]; - QuestSequence obj63 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - Span span38 = CollectionsMarshal.AsSpan(list92); - span38[0] = new QuestStep(EInteractionType.Interact, 2005334u, new Vector3(-0.001443714f, 1.1515f, 13.2236f), 433) - { - TargetTerritoryId = (ushort)419 - }; - span38[1] = new QuestStep(EInteractionType.CompleteQuest, 1012430u, new Vector3(165.94177f, -14.34896f, 51.651733f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardLastVigil, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - obj63.Steps = list92; - reference66 = obj63; - questRoot13.QuestSequence = list82; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(1663); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list93 = new List(num); - CollectionsMarshal.SetCount(list93, num); - CollectionsMarshal.AsSpan(list93)[0] = "JerryWester"; - questRoot14.Author = list93; - num = 6; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - Span span39 = CollectionsMarshal.AsSpan(list94); - ref QuestSequence reference67 = ref span39[0]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012430u, new Vector3(165.94177f, -14.34896f, 51.651733f), 419); - obj64.Steps = list95; - reference67 = obj64; - ref QuestSequence reference68 = ref span39[1]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.Interact, 1012431u, new Vector3(180.16321f, -16.028961f, 34.6532f), 419); - obj65.Steps = list96; - reference68 = obj65; - ref QuestSequence reference69 = ref span39[2]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.Interact, 1012430u, new Vector3(165.94177f, -14.34896f, 51.651733f), 419); - obj66.Steps = list97; - reference69 = obj66; - span39[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference70 = ref span39[4]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.Interact, 1012854u, new Vector3(-861.84485f, -184.293f, -659.2356f), 402) - { - DisableNavmesh = true - }; - obj67.Steps = list98; - reference70 = obj67; - ref QuestSequence reference71 = ref span39[5]; - QuestSequence obj68 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - Span span40 = CollectionsMarshal.AsSpan(list99); - span40[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 402) - { - Aetheryte = EAetheryteLocation.AzysLlaHelix - }; - span40[1] = new QuestStep(EInteractionType.CompleteQuest, 1012792u, new Vector3(-650.1717f, -176.45021f, -565.14844f), 402); - obj68.Steps = list99; - reference71 = obj68; - questRoot14.QuestSequence = list94; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(1664); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - CollectionsMarshal.AsSpan(list100)[0] = "JerryWester"; - questRoot15.Author = list100; - num = 5; - List list101 = new List(num); - CollectionsMarshal.SetCount(list101, num); - Span span41 = CollectionsMarshal.AsSpan(list101); - ref QuestSequence reference72 = ref span41[0]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012792u, new Vector3(-650.1717f, -176.45021f, -565.14844f), 402); - obj69.Steps = list102; - reference72 = obj69; - ref QuestSequence reference73 = ref span41[1]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - Span span42 = CollectionsMarshal.AsSpan(list103); - ref QuestStep reference74 = ref span42[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2006237u, new Vector3(-637.6898f, -176.47064f, -558.3734f), 402); - num3 = 6; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - Span span43 = CollectionsMarshal.AsSpan(list104); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list104; - reference74 = questStep4; - ref QuestStep reference75 = ref span42[1]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2006236u, new Vector3(-649.7139f, -176.47064f, -538.6893f), 402); - num3 = 6; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - Span span44 = CollectionsMarshal.AsSpan(list105); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list105; - reference75 = questStep5; - ref QuestStep reference76 = ref span42[2]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2006238u, new Vector3(-645.16675f, -174.57855f, -477.92786f), 402); - num3 = 6; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - Span span45 = CollectionsMarshal.AsSpan(list106); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list106; - reference76 = questStep6; - obj70.Steps = list103; - reference73 = obj70; - ref QuestSequence reference77 = ref span41[2]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.Interact, 1014675u, new Vector3(-638.3612f, -176.4502f, -578.6679f), 402); - obj71.Steps = list107; - reference77 = obj71; - ref QuestSequence reference78 = ref span41[3]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.Interact, 2005565u, new Vector3(-428.0614f, -166.21655f, -411.88678f), 402); - obj72.Steps = list108; - reference78 = obj72; - ref QuestSequence reference79 = ref span41[4]; - QuestSequence obj73 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014675u, new Vector3(-638.3612f, -176.4502f, -578.6679f), 402); - obj73.Steps = list109; - reference79 = obj73; - questRoot15.QuestSequence = list101; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(1665); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - CollectionsMarshal.AsSpan(list110)[0] = "JerryWester"; - questRoot16.Author = list110; - num = 5; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - Span span46 = CollectionsMarshal.AsSpan(list111); - ref QuestSequence reference80 = ref span46[0]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - ref QuestStep reference81 = ref CollectionsMarshal.AsSpan(list112)[0]; - QuestStep obj75 = new QuestStep(EInteractionType.AcceptQuest, 1012796u, new Vector3(-639.8871f, -176.4502f, -579.3393f), 402) - { - StopDistance = 7f - }; - num3 = 1; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - CollectionsMarshal.AsSpan(list113)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_HEAVNA703_01665_Q1_000_000"), - Answer = new ExcelRef("TEXT_HEAVNA703_01665_A1_000_003") - }; - obj75.DialogueChoices = list113; - reference81 = obj75; - obj74.Steps = list112; - reference80 = obj74; - ref QuestSequence reference82 = ref span46[1]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.Interact, 1014677u, new Vector3(-642.9083f, -176.4502f, -577.5082f), 402) - { - StopDistance = 5f - }; - obj76.Steps = list114; - reference82 = obj76; - ref QuestSequence reference83 = ref span46[2]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - Span span47 = CollectionsMarshal.AsSpan(list115); - span47[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-550.3511f, -173.7904f, -486.51318f), 402); - span47[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-517.79803f, -169.71143f, -456.97668f), 402); - span47[2] = new QuestStep(EInteractionType.Interact, 1012797u, new Vector3(-166.36914f, -162.10732f, -490.898f), 402); - obj77.Steps = list115; - reference83 = obj77; - ref QuestSequence reference84 = ref span46[3]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - Span span48 = CollectionsMarshal.AsSpan(list116); - span48[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-138.06377f, -158.1412f, -496.24612f), 402); - span48[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-147.24174f, -154.81604f, -498.42224f), 402); - span48[2] = new QuestStep(EInteractionType.Interact, 2006363u, new Vector3(-145.7164f, -154.816f, -503.1721f), 402); - obj78.Steps = list116; - reference84 = obj78; - ref QuestSequence reference85 = ref span46[4]; - QuestSequence obj79 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012802u, new Vector3(235.98071f, -72.83498f, -619.8978f), 402) - { - DisableNavmesh = true - }; - obj79.Steps = list117; - reference85 = obj79; - questRoot16.QuestSequence = list111; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(1666); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - CollectionsMarshal.AsSpan(list118)[0] = "JerryWester"; - questRoot17.Author = list118; - num = 5; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - Span span49 = CollectionsMarshal.AsSpan(list119); - ref QuestSequence reference86 = ref span49[0]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012802u, new Vector3(235.98071f, -72.83498f, -619.8978f), 402); - obj80.Steps = list120; - reference86 = obj80; - ref QuestSequence reference87 = ref span49[1]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.Interact, 1012807u, new Vector3(780.9414f, -25.905136f, -508.1102f), 402); - obj81.Steps = list121; - reference87 = obj81; - ref QuestSequence reference88 = ref span49[2]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - Span span50 = CollectionsMarshal.AsSpan(list122); - span50[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(642.1002f, -32.964188f, -532.8383f), 402); - ref QuestStep reference89 = ref span50[1]; - QuestStep obj83 = new QuestStep(EInteractionType.Combat, 2005568u, new Vector3(344.13672f, -55.375f, -428.4886f), 402) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - CollectionsMarshal.AsSpan(list123)[0] = 4942u; - obj83.KillEnemyDataIds = list123; - num3 = 6; - List list124 = new List(num3); - CollectionsMarshal.SetCount(list124, num3); - Span span51 = CollectionsMarshal.AsSpan(list124); - span51[0] = null; - span51[1] = null; - span51[2] = null; - span51[3] = null; - span51[4] = null; - span51[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj83.CompletionQuestVariablesFlags = list124; - reference89 = obj83; - ref QuestStep reference90 = ref span50[2]; - QuestStep obj84 = new QuestStep(EInteractionType.Combat, 2005569u, new Vector3(296.71167f, -55.283447f, -459.2508f), 402) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list125 = new List(num3); - CollectionsMarshal.SetCount(list125, num3); - Span span52 = CollectionsMarshal.AsSpan(list125); - span52[0] = 4943u; - span52[1] = 4623u; - obj84.KillEnemyDataIds = list125; - num3 = 6; - List list126 = new List(num3); - CollectionsMarshal.SetCount(list126, num3); - Span span53 = CollectionsMarshal.AsSpan(list126); - span53[0] = null; - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj84.CompletionQuestVariablesFlags = list126; - reference90 = obj84; - ref QuestStep reference91 = ref span50[3]; - QuestStep obj85 = new QuestStep(EInteractionType.Combat, 2005567u, new Vector3(249.2561f, -55.49713f, -406.51562f), 402) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list127 = new List(num3); - CollectionsMarshal.SetCount(list127, num3); - Span span54 = CollectionsMarshal.AsSpan(list127); - span54[0] = 4614u; - span54[1] = 4942u; - obj85.KillEnemyDataIds = list127; - num3 = 6; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - Span span55 = CollectionsMarshal.AsSpan(list128); - span55[0] = null; - span55[1] = null; - span55[2] = null; - span55[3] = null; - span55[4] = null; - span55[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj85.CompletionQuestVariablesFlags = list128; - reference91 = obj85; - obj82.Steps = list122; - reference88 = obj82; - ref QuestSequence reference92 = ref span49[3]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.Interact, 1012807u, new Vector3(780.9414f, -25.905136f, -508.1102f), 402); - obj86.Steps = list129; - reference92 = obj86; - ref QuestSequence reference93 = ref span49[4]; - QuestSequence obj87 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - Span span56 = CollectionsMarshal.AsSpan(list130); - span56[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(780.2551f, -21.268166f, -478.28162f), 402); - span56[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(778.6274f, -17.943024f, -487.80676f), 402); - span56[2] = new QuestStep(EInteractionType.CompleteQuest, 2006364u, new Vector3(778.9745f, -17.96f, -483.6682f), 402); - obj87.Steps = list130; - reference93 = obj87; - questRoot17.QuestSequence = list119; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(1667); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list131 = new List(num); - CollectionsMarshal.SetCount(list131, num); - CollectionsMarshal.AsSpan(list131)[0] = "JerryWester"; - questRoot18.Author = list131; - num = 5; - List list132 = new List(num); - CollectionsMarshal.SetCount(list132, num); - Span span57 = CollectionsMarshal.AsSpan(list132); - ref QuestSequence reference94 = ref span57[0]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014850u, new Vector3(634.51587f, 10.474376f, 77.50049f), 402) - { - StopDistance = 7f - }; - obj88.Steps = list133; - reference94 = obj88; - ref QuestSequence reference95 = ref span57[1]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.Interact, 1012829u, new Vector3(641.90125f, 13.840106f, 506.95044f), 402); - obj89.Steps = list134; - reference95 = obj89; - ref QuestSequence reference96 = ref span57[2]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - ref QuestStep reference97 = ref CollectionsMarshal.AsSpan(list135)[0]; - QuestStep obj91 = new QuestStep(EInteractionType.Combat, 1012827u, new Vector3(228.22913f, 14.933587f, 553.97876f), 402) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 6; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - Span span58 = CollectionsMarshal.AsSpan(list136); - span58[0] = 4391u; - span58[1] = 4392u; - span58[2] = 4393u; - span58[3] = 4394u; - span58[4] = 4395u; - span58[5] = 4396u; - obj91.KillEnemyDataIds = list136; - reference97 = obj91; - obj90.Steps = list135; - reference96 = obj90; - ref QuestSequence reference98 = ref span57[3]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1012827u, new Vector3(228.22913f, 14.933587f, 553.97876f), 402) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj92.Steps = list137; - reference98 = obj92; - ref QuestSequence reference99 = ref span57[4]; - QuestSequence obj93 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012834u, new Vector3(-197.86377f, -102.78301f, 456.53467f), 402) - { - DisableNavmesh = true - }; - obj93.Steps = list138; - reference99 = obj93; - questRoot18.QuestSequence = list132; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(1668); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - CollectionsMarshal.AsSpan(list139)[0] = "JerryWester"; - questRoot19.Author = list139; - num = 2; - List list140 = new List(num); - CollectionsMarshal.SetCount(list140, num); - Span span59 = CollectionsMarshal.AsSpan(list140); - ref QuestSequence reference100 = ref span59[0]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012834u, new Vector3(-197.86377f, -102.78301f, 456.53467f), 402); - obj94.Steps = list141; - reference100 = obj94; - ref QuestSequence reference101 = ref span59[1]; - QuestSequence obj95 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.CompleteQuest, 2005465u, new Vector3(-696.13184f, -37.06427f, 432.4253f), 402); - obj95.Steps = list142; - reference101 = obj95; - questRoot19.QuestSequence = list140; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(1669); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - CollectionsMarshal.AsSpan(list143)[0] = "JerryWester"; - questRoot20.Author = list143; - num = 7; - List list144 = new List(num); - CollectionsMarshal.SetCount(list144, num); - Span span60 = CollectionsMarshal.AsSpan(list144); - ref QuestSequence reference102 = ref span60[0]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012848u, new Vector3(-319.0204f, 253f, -5.2339478f), 402) - { - Fly = true - }; - obj96.Steps = list145; - reference102 = obj96; - ref QuestSequence reference103 = ref span60[1]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - ref QuestStep reference104 = ref CollectionsMarshal.AsSpan(list146)[0]; - QuestStep obj98 = new QuestStep(EInteractionType.Combat, 1012850u, new Vector3(-62.882446f, 271.23285f, -5.661133f), 402) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 4; - List list147 = new List(num3); - CollectionsMarshal.SetCount(list147, num3); - Span span61 = CollectionsMarshal.AsSpan(list147); - span61[0] = 5039u; - span61[1] = 4363u; - span61[2] = 4398u; - span61[3] = 4397u; - obj98.KillEnemyDataIds = list147; - reference104 = obj98; - obj97.Steps = list146; - reference103 = obj97; - ref QuestSequence reference105 = ref span60[2]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.Interact, 1012850u, new Vector3(-62.882446f, 271.23285f, -5.661133f), 402); - obj99.Steps = list148; - reference105 = obj99; - ref QuestSequence reference106 = ref span60[3]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.Duty, null, null, 402) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 38u - } - }; - obj100.Steps = list149; - reference106 = obj100; - span60[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference107 = ref span60[5]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.Duty, null, null, 402) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 90u - } - }; - obj101.Steps = list150; - reference107 = obj101; - ref QuestSequence reference108 = ref span60[6]; - QuestSequence obj102 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012857u, new Vector3(0.7476196f, 0.022254243f, 4.623413f), 433) - { - StopDistance = 5f - }; - obj102.Steps = list151; - reference108 = obj102; - questRoot20.QuestSequence = list144; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(1671); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list152 = new List(num); - CollectionsMarshal.SetCount(list152, num); - CollectionsMarshal.AsSpan(list152)[0] = "liza"; - questRoot21.Author = list152; - num = 5; - List list153 = new List(num); - CollectionsMarshal.SetCount(list153, num); - Span span62 = CollectionsMarshal.AsSpan(list153); - ref QuestSequence reference109 = ref span62[0]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - ref QuestStep reference110 = ref CollectionsMarshal.AsSpan(list154)[0]; - QuestStep obj104 = new QuestStep(EInteractionType.AcceptQuest, 1006757u, new Vector3(-4.4709473f, 44.999886f, -250.56848f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipAetheryteCondition obj105 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - CollectionsMarshal.AsSpan(list155)[0] = 128; - obj105.InTerritory = list155; - skipConditions5.AetheryteShortcutIf = obj105; - obj104.SkipConditions = skipConditions5; - reference110 = obj104; - obj103.Steps = list154; - reference109 = obj103; - ref QuestSequence reference111 = ref span62[1]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - Span span63 = CollectionsMarshal.AsSpan(list156); - span63[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(207.68561f, -3.1246834f, 42.986313f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - span63[1] = new QuestStep(EInteractionType.Interact, 1013135u, new Vector3(206.0426f, -3.111818f, 41.94702f), 139); - obj106.Steps = list156; - reference111 = obj106; - ref QuestSequence reference112 = ref span62[2]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - ref QuestStep reference113 = ref CollectionsMarshal.AsSpan(list157)[0]; - QuestStep obj108 = new QuestStep(EInteractionType.Combat, 2005518u, new Vector3(-275.16595f, 64.25574f, -197.34491f), 180) - { - StopDistance = 0.5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list158 = new List(num3); - CollectionsMarshal.SetCount(list158, num3); - CollectionsMarshal.AsSpan(list158)[0] = 4399u; - obj108.KillEnemyDataIds = list158; - reference113 = obj108; - obj107.Steps = list157; - reference112 = obj107; - ref QuestSequence reference114 = ref span62[3]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.Interact, 2005519u, new Vector3(-275.16595f, 64.25574f, -197.34491f), 180); - obj109.Steps = list159; - reference114 = obj109; - ref QuestSequence reference115 = ref span62[4]; - QuestSequence obj110 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - Span span64 = CollectionsMarshal.AsSpan(list160); - span64[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(207.68561f, -3.1246834f, 42.986313f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - span64[1] = new QuestStep(EInteractionType.CompleteQuest, 1013135u, new Vector3(206.0426f, -3.111818f, 41.94702f), 139) - { - NextQuestId = new QuestId(1672) - }; - obj110.Steps = list160; - reference115 = obj110; - questRoot21.QuestSequence = list153; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(1672); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - CollectionsMarshal.AsSpan(list161)[0] = "liza"; - questRoot22.Author = list161; - num = 4; - List list162 = new List(num); - CollectionsMarshal.SetCount(list162, num); - Span span65 = CollectionsMarshal.AsSpan(list162); - ref QuestSequence reference116 = ref span65[0]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - Span span66 = CollectionsMarshal.AsSpan(list163); - span66[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(207.68561f, -3.1246834f, 42.986313f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span66[1] = new QuestStep(EInteractionType.AcceptQuest, 1013135u, new Vector3(206.0426f, -3.111818f, 41.94702f), 139); - obj111.Steps = list163; - reference116 = obj111; - ref QuestSequence reference117 = ref span65[1]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - Span span67 = CollectionsMarshal.AsSpan(list164); - span67[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(620.5845f, -3.0527442f, 169.40678f), 139) - { - Fly = true - }; - span67[1] = new QuestStep(EInteractionType.Interact, 1013137u, new Vector3(620.9657f, -3.002753f, 171.06885f), 139); - obj112.Steps = list164; - reference117 = obj112; - ref QuestSequence reference118 = ref span65[2]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2005520u, new Vector3(622.91907f, -3.0671387f, 171.6792f), 139) - { - StopDistance = 4.5f - }; - obj113.Steps = list165; - reference118 = obj113; - ref QuestSequence reference119 = ref span65[3]; - QuestSequence obj114 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - Span span68 = CollectionsMarshal.AsSpan(list166); - span68[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(207.68561f, -3.1246834f, 42.986313f), 139) - { - Fly = true - }; - span68[1] = new QuestStep(EInteractionType.CompleteQuest, 1013135u, new Vector3(206.0426f, -3.111818f, 41.94702f), 139) - { - NextQuestId = new QuestId(1673) - }; - obj114.Steps = list166; - reference119 = obj114; - questRoot22.QuestSequence = list162; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(1673); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list167 = new List(num); - CollectionsMarshal.SetCount(list167, num); - CollectionsMarshal.AsSpan(list167)[0] = "liza"; - questRoot23.Author = list167; - num = 7; - List list168 = new List(num); - CollectionsMarshal.SetCount(list168, num); - Span span69 = CollectionsMarshal.AsSpan(list168); - ref QuestSequence reference120 = ref span69[0]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - Span span70 = CollectionsMarshal.AsSpan(list169); - span70[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(207.68561f, -3.1246834f, 42.986313f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span70[1] = new QuestStep(EInteractionType.AcceptQuest, 1013135u, new Vector3(206.0426f, -3.111818f, 41.94702f), 139); - obj115.Steps = list169; - reference120 = obj115; - ref QuestSequence reference121 = ref span69[1]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - Span span71 = CollectionsMarshal.AsSpan(list170); - span71[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-289.83594f, 70.47664f, -272.06448f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - ref QuestStep reference122 = ref span71[1]; - QuestStep obj117 = new QuestStep(EInteractionType.Combat, 2005521u, new Vector3(-292.83594f, 72.15991f, -275.4101f), 180) - { - StopDistance = 0.5f, - Mount = false, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list171 = new List(num3); - CollectionsMarshal.SetCount(list171, num3); - CollectionsMarshal.AsSpan(list171)[0] = new ComplexCombatData - { - DataId = 30u, - NameId = 4108u - }; - obj117.ComplexCombatData = list171; - reference122 = obj117; - obj116.Steps = list170; - reference121 = obj116; - ref QuestSequence reference123 = ref span69[2]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - ref QuestStep reference124 = ref CollectionsMarshal.AsSpan(list172)[0]; - QuestStep obj119 = new QuestStep(EInteractionType.Combat, 2005522u, new Vector3(-302.05237f, 70.81714f, -292.28656f), 180) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list173 = new List(num3); - CollectionsMarshal.SetCount(list173, num3); - CollectionsMarshal.AsSpan(list173)[0] = new ComplexCombatData - { - DataId = 30u, - NameId = 4108u - }; - obj119.ComplexCombatData = list173; - reference124 = obj119; - obj118.Steps = list172; - reference123 = obj118; - ref QuestSequence reference125 = ref span69[3]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.Interact, 2005523u, new Vector3(-370.04657f, 65.69006f, -307.75922f), 180) - { - StopDistance = 0.5f, - Fly = true - }; - obj120.Steps = list174; - reference125 = obj120; - ref QuestSequence reference126 = ref span69[4]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - ref QuestStep reference127 = ref CollectionsMarshal.AsSpan(list175)[0]; - QuestStep obj122 = new QuestStep(EInteractionType.Combat, 2005530u, new Vector3(-381.55188f, 52.475708f, -298.93958f), 180) - { - StopDistance = 2f, - DisableNavmesh = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list176 = new List(num3); - CollectionsMarshal.SetCount(list176, num3); - CollectionsMarshal.AsSpan(list176)[0] = 4371u; - obj122.KillEnemyDataIds = list176; - reference127 = obj122; - obj121.Steps = list175; - reference126 = obj121; - ref QuestSequence reference128 = ref span69[5]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.Interact, 2005531u, new Vector3(-381.55188f, 52.8114f, -298.909f), 180); - obj123.Steps = list177; - reference128 = obj123; - ref QuestSequence reference129 = ref span69[6]; - QuestSequence obj124 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - Span span72 = CollectionsMarshal.AsSpan(list178); - span72[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(207.68561f, -3.1246834f, 42.986313f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - span72[1] = new QuestStep(EInteractionType.CompleteQuest, 1013135u, new Vector3(206.0426f, -3.111818f, 41.94702f), 139) - { - NextQuestId = new QuestId(1674) - }; - obj124.Steps = list178; - reference129 = obj124; - questRoot23.QuestSequence = list168; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(1674); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list179 = new List(num); - CollectionsMarshal.SetCount(list179, num); - CollectionsMarshal.AsSpan(list179)[0] = "liza"; - questRoot24.Author = list179; - num = 6; - List list180 = new List(num); - CollectionsMarshal.SetCount(list180, num); - Span span73 = CollectionsMarshal.AsSpan(list180); - ref QuestSequence reference130 = ref span73[0]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - Span span74 = CollectionsMarshal.AsSpan(list181); - span74[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(207.68561f, -3.1246834f, 42.986313f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span74[1] = new QuestStep(EInteractionType.AcceptQuest, 1013135u, new Vector3(206.0426f, -3.111818f, 41.94702f), 139); - obj125.Steps = list181; - reference130 = obj125; - ref QuestSequence reference131 = ref span73[1]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.Interact, 1013138u, new Vector3(404.19617f, -2.6082127f, 212.1156f), 139) - { - Fly = true - }; - obj126.Steps = list182; - reference131 = obj126; - ref QuestSequence reference132 = ref span73[2]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - CollectionsMarshal.AsSpan(list183)[0] = new QuestStep(EInteractionType.Say, 1013138u, new Vector3(404.19617f, -2.6082127f, 212.1156f), 139) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_JOBSCH560_01674_SYSTEM_100_023" - } - }; - obj127.Steps = list183; - reference132 = obj127; - ref QuestSequence reference133 = ref span73[3]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - CollectionsMarshal.AsSpan(list184)[0] = new QuestStep(EInteractionType.Say, 1013138u, new Vector3(404.19617f, -2.6082127f, 212.1156f), 139) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_JOBSCH560_01674_SYSTEM_100_023" - } - }; - obj128.Steps = list184; - reference133 = obj128; - ref QuestSequence reference134 = ref span73[4]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - ref QuestStep reference135 = ref CollectionsMarshal.AsSpan(list185)[0]; - QuestStep obj130 = new QuestStep(EInteractionType.Combat, 1013139u, new Vector3(700.9536f, -0.50953937f, 133.28748f), 139) - { - Fly = true, - Emote = EEmote.Laugh, - EnemySpawnType = EEnemySpawnType.AfterEmote - }; - num3 = 2; - List list186 = new List(num3); - CollectionsMarshal.SetCount(list186, num3); - Span span75 = CollectionsMarshal.AsSpan(list186); - span75[0] = 4400u; - span75[1] = 4401u; - obj130.KillEnemyDataIds = list186; - reference135 = obj130; - obj129.Steps = list185; - reference134 = obj129; - ref QuestSequence reference136 = ref span73[5]; - QuestSequence obj131 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013138u, new Vector3(404.19617f, -2.6082127f, 212.1156f), 139) - { - Fly = true, - NextQuestId = new QuestId(1675) - }; - obj131.Steps = list187; - reference136 = obj131; - questRoot24.QuestSequence = list180; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(1675); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list188 = new List(num); - CollectionsMarshal.SetCount(list188, num); - CollectionsMarshal.AsSpan(list188)[0] = "liza"; - questRoot25.Author = list188; - num = 6; - List list189 = new List(num); - CollectionsMarshal.SetCount(list189, num); - Span span76 = CollectionsMarshal.AsSpan(list189); - ref QuestSequence reference137 = ref span76[0]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - Span span77 = CollectionsMarshal.AsSpan(list190); - span77[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(207.68561f, -3.1246834f, 42.986313f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span77[1] = new QuestStep(EInteractionType.AcceptQuest, 1013135u, new Vector3(206.0426f, -3.111818f, 41.94702f), 139); - obj132.Steps = list190; - reference137 = obj132; - ref QuestSequence reference138 = ref span76[1]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.Interact, 1002279u, new Vector3(-196.8872f, 18.459997f, 59.952637f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - } - }; - obj133.Steps = list191; - reference138 = obj133; - ref QuestSequence reference139 = ref span76[2]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.Interact, 1011231u, new Vector3(503.1051f, 217.95148f, 790.2189f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj134.Steps = list192; - reference139 = obj134; - ref QuestSequence reference140 = ref span76[3]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.Interact, 1011234u, new Vector3(546.1356f, 217.90826f, 768.06274f), 397); - obj135.Steps = list193; - reference140 = obj135; - ref QuestSequence reference141 = ref span76[4]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - Span span78 = CollectionsMarshal.AsSpan(list194); - span78[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(528.09424f, 217.9514f, 773.35565f), 397); - ref QuestStep reference142 = ref span78[1]; - QuestStep obj137 = new QuestStep(EInteractionType.Combat, 2005525u, new Vector3(446.00586f, 140.82544f, -749.87415f), 397) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list195 = new List(num3); - CollectionsMarshal.SetCount(list195, num3); - CollectionsMarshal.AsSpan(list195)[0] = 4374u; - obj137.KillEnemyDataIds = list195; - num3 = 6; - List list196 = new List(num3); - CollectionsMarshal.SetCount(list196, num3); - Span span79 = CollectionsMarshal.AsSpan(list196); - span79[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span79[1] = null; - span79[2] = null; - span79[3] = null; - span79[4] = null; - span79[5] = null; - obj137.CompletionQuestVariablesFlags = list196; - reference142 = obj137; - span78[2] = new QuestStep(EInteractionType.Interact, 2005525u, new Vector3(446.00586f, 140.82544f, -749.87415f), 397); - obj136.Steps = list194; - reference141 = obj136; - ref QuestSequence reference143 = ref span76[5]; - QuestSequence obj138 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - Span span80 = CollectionsMarshal.AsSpan(list197); - span80[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(207.68561f, -3.1246834f, 42.986313f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - span80[1] = new QuestStep(EInteractionType.CompleteQuest, 1013135u, new Vector3(206.0426f, -3.111818f, 41.94702f), 139) - { - NextQuestId = new QuestId(1676) - }; - obj138.Steps = list197; - reference143 = obj138; - questRoot25.QuestSequence = list189; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(1676); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list198 = new List(num); - CollectionsMarshal.SetCount(list198, num); - CollectionsMarshal.AsSpan(list198)[0] = "liza"; - questRoot26.Author = list198; - num = 6; - List list199 = new List(num); - CollectionsMarshal.SetCount(list199, num); - Span span81 = CollectionsMarshal.AsSpan(list199); - ref QuestSequence reference144 = ref span81[0]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - Span span82 = CollectionsMarshal.AsSpan(list200); - span82[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(207.68561f, -3.1246834f, 42.986313f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span82[1] = new QuestStep(EInteractionType.AcceptQuest, 1013135u, new Vector3(206.0426f, -3.111818f, 41.94702f), 139); - obj139.Steps = list200; - reference144 = obj139; - ref QuestSequence reference145 = ref span81[1]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.Interact, 2005528u, new Vector3(-381.5824f, 52.475708f, -298.81744f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - obj140.Steps = list201; - reference145 = obj140; - ref QuestSequence reference146 = ref span81[2]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.Interact, 2005529u, new Vector3(290.15015f, 41.275635f, -193.83539f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - obj141.Steps = list202; - reference146 = obj141; - ref QuestSequence reference147 = ref span81[3]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1013143u, new Vector3(405.1117f, 4.109556f, 81.04065f), 139) - { - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - obj142.Steps = list203; - reference147 = obj142; - ref QuestSequence reference148 = ref span81[4]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 4 - }; - num2 = 5; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - Span span83 = CollectionsMarshal.AsSpan(list204); - span83[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(489.20578f, 16.495434f, 69.11804f), 139); - ref QuestStep reference149 = ref span83[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1013146u, new Vector3(489.73828f, 16.495436f, 67.33801f), 139); - num3 = 6; - List list205 = new List(num3); - CollectionsMarshal.SetCount(list205, num3); - Span span84 = CollectionsMarshal.AsSpan(list205); - span84[0] = null; - span84[1] = null; - span84[2] = null; - span84[3] = null; - span84[4] = null; - span84[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list205; - reference149 = questStep7; - ref QuestStep reference150 = ref span83[2]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1013147u, new Vector3(487.84607f, 16.495436f, 68.0094f), 139); - num3 = 6; - List list206 = new List(num3); - CollectionsMarshal.SetCount(list206, num3); - Span span85 = CollectionsMarshal.AsSpan(list206); - span85[0] = null; - span85[1] = null; - span85[2] = null; - span85[3] = null; - span85[4] = null; - span85[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list206; - reference150 = questStep8; - ref QuestStep reference151 = ref span83[3]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1013148u, new Vector3(489.64673f, 16.495436f, 70.573f), 139); - num3 = 6; - List list207 = new List(num3); - CollectionsMarshal.SetCount(list207, num3); - Span span86 = CollectionsMarshal.AsSpan(list207); - span86[0] = null; - span86[1] = null; - span86[2] = null; - span86[3] = null; - span86[4] = null; - span86[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list207; - reference151 = questStep9; - ref QuestStep reference152 = ref span83[4]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1013198u, new Vector3(487.47998f, 16.495436f, 70.35925f), 139); - num3 = 6; - List list208 = new List(num3); - CollectionsMarshal.SetCount(list208, num3); - Span span87 = CollectionsMarshal.AsSpan(list208); - span87[0] = null; - span87[1] = null; - span87[2] = null; - span87[3] = null; - span87[4] = null; - span87[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list208; - reference152 = questStep10; - obj143.Steps = list204; - reference148 = obj143; - ref QuestSequence reference153 = ref span81[5]; - QuestSequence obj144 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013199u, new Vector3(491.47778f, 16.495434f, 69.16907f), 139) - { - NextQuestId = new QuestId(2923) - }; - obj144.Steps = list209; - reference153 = obj144; - questRoot26.QuestSequence = list199; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(1677); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list210 = new List(num); - CollectionsMarshal.SetCount(list210, num); - CollectionsMarshal.AsSpan(list210)[0] = "JerryWester"; - questRoot27.Author = list210; - num = 4; - List list211 = new List(num); - CollectionsMarshal.SetCount(list211, num); - Span span88 = CollectionsMarshal.AsSpan(list211); - ref QuestSequence reference154 = ref span88[0]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - CollectionsMarshal.AsSpan(list212)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013282u, new Vector3(304.1886f, -36.405907f, 332.69226f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj145.Steps = list212; - reference154 = obj145; - ref QuestSequence reference155 = ref span88[1]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - Span span89 = CollectionsMarshal.AsSpan(list213); - span89[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(427.1206f, 7.9075317f, 24.77774f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - span89[1] = new QuestStep(EInteractionType.Interact, 1013279u, new Vector3(441.70276f, 8.670496f, 18.814331f), 139); - obj146.Steps = list213; - reference155 = obj146; - ref QuestSequence reference156 = ref span88[2]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - Span span90 = CollectionsMarshal.AsSpan(list214); - span90[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(427.1206f, 7.9075317f, 24.77774f), 139) - { - Mount = true - }; - span90[1] = new QuestStep(EInteractionType.Interact, 1013339u, new Vector3(396.16992f, 8.113181f, 48.142212f), 139) - { - Fly = true - }; - obj147.Steps = list214; - reference156 = obj147; - ref QuestSequence reference157 = ref span88[3]; - QuestSequence obj148 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - Span span91 = CollectionsMarshal.AsSpan(list215); - span91[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(427.1206f, 7.9075317f, 24.77774f), 139) - { - Fly = true - }; - span91[1] = new QuestStep(EInteractionType.CompleteQuest, 1013279u, new Vector3(441.70276f, 8.670496f, 18.814331f), 139) - { - NextQuestId = new QuestId(598) - }; - obj148.Steps = list215; - reference157 = obj148; - questRoot27.QuestSequence = list211; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(1678); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list216 = new List(num); - CollectionsMarshal.SetCount(list216, num); - CollectionsMarshal.AsSpan(list216)[0] = "liza"; - questRoot28.Author = list216; - num = 4; - List list217 = new List(num); - CollectionsMarshal.SetCount(list217, num); - Span span92 = CollectionsMarshal.AsSpan(list217); - ref QuestSequence reference158 = ref span92[0]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - ref QuestStep reference159 = ref CollectionsMarshal.AsSpan(list218)[0]; - QuestStep obj150 = new QuestStep(EInteractionType.AcceptQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipAetheryteCondition obj151 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list219 = new List(num3); - CollectionsMarshal.SetCount(list219, num3); - CollectionsMarshal.AsSpan(list219)[0] = 131; - obj151.InTerritory = list219; - skipConditions6.AetheryteShortcutIf = obj151; - obj150.SkipConditions = skipConditions6; - reference159 = obj150; - obj149.Steps = list218; - reference158 = obj149; - ref QuestSequence reference160 = ref span92[1]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - Span span93 = CollectionsMarshal.AsSpan(list220); - span93[0] = new QuestStep(EInteractionType.Interact, 1004597u, new Vector3(-292.10345f, -2.910112f, 245.59387f), 146) - { - TargetTerritoryId = (ushort)146, - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings - }; - span93[1] = new QuestStep(EInteractionType.Interact, 1013042u, new Vector3(-465.93427f, -3.164927f, 66.666626f), 146); - obj152.Steps = list220; - reference160 = obj152; - ref QuestSequence reference161 = ref span92[2]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.Interact, 1013043u, new Vector3(184.6189f, 3.1809216f, -334.27942f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj153.Steps = list221; - reference161 = obj153; - ref QuestSequence reference162 = ref span92[3]; - QuestSequence obj154 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - CollectionsMarshal.AsSpan(list222)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - }, - NextQuestId = new QuestId(1679) - }; - obj154.Steps = list222; - reference162 = obj154; - questRoot28.QuestSequence = list217; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(1679); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list223 = new List(num); - CollectionsMarshal.SetCount(list223, num); - CollectionsMarshal.AsSpan(list223)[0] = "liza"; - questRoot29.Author = list223; - num = 5; - List list224 = new List(num); - CollectionsMarshal.SetCount(list224, num); - Span span94 = CollectionsMarshal.AsSpan(list224); - ref QuestSequence reference163 = ref span94[0]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - ref QuestStep reference164 = ref CollectionsMarshal.AsSpan(list225)[0]; - QuestStep obj156 = new QuestStep(EInteractionType.AcceptQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipAetheryteCondition obj157 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list226 = new List(num3); - CollectionsMarshal.SetCount(list226, num3); - CollectionsMarshal.AsSpan(list226)[0] = 131; - obj157.InTerritory = list226; - skipConditions7.AetheryteShortcutIf = obj157; - obj156.SkipConditions = skipConditions7; - reference164 = obj156; - obj155.Steps = list225; - reference163 = obj155; - ref QuestSequence reference165 = ref span94[1]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.Interact, 1006753u, new Vector3(325.063f, 11.236564f, -6.2105103f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj158.Steps = list227; - reference165 = obj158; - ref QuestSequence reference166 = ref span94[2]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - ref QuestStep reference167 = ref CollectionsMarshal.AsSpan(list228)[0]; - QuestStep obj160 = new QuestStep(EInteractionType.Interact, 1013044u, new Vector3(191.72961f, -1.9153122f, 32.944214f), 145) - { - Fly = true - }; - num3 = 1; - List list229 = new List(num3); - CollectionsMarshal.SetCount(list229, num3); - CollectionsMarshal.AsSpan(list229)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBBLM520_01679_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBBLM520_01679_A1_000_002") - }; - obj160.DialogueChoices = list229; - reference167 = obj160; - obj159.Steps = list228; - reference166 = obj159; - ref QuestSequence reference168 = ref span94[3]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.Interact, 1006753u, new Vector3(325.063f, 11.236564f, -6.2105103f), 145) - { - Fly = true - }; - obj161.Steps = list230; - reference168 = obj161; - ref QuestSequence reference169 = ref span94[4]; - QuestSequence obj162 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - }, - NextQuestId = new QuestId(1680) - }; - obj162.Steps = list231; - reference169 = obj162; - questRoot29.QuestSequence = list224; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(1680); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list232 = new List(num); - CollectionsMarshal.SetCount(list232, num); - CollectionsMarshal.AsSpan(list232)[0] = "liza"; - questRoot30.Author = list232; - num = 6; - List list233 = new List(num); - CollectionsMarshal.SetCount(list233, num); - Span span95 = CollectionsMarshal.AsSpan(list233); - ref QuestSequence reference170 = ref span95[0]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - ref QuestStep reference171 = ref CollectionsMarshal.AsSpan(list234)[0]; - QuestStep obj164 = new QuestStep(EInteractionType.AcceptQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipAetheryteCondition obj165 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list235 = new List(num3); - CollectionsMarshal.SetCount(list235, num3); - CollectionsMarshal.AsSpan(list235)[0] = 131; - obj165.InTerritory = list235; - skipConditions8.AetheryteShortcutIf = obj165; - obj164.SkipConditions = skipConditions8; - reference171 = obj164; - obj163.Steps = list234; - reference170 = obj163; - ref QuestSequence reference172 = ref span95[1]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.Interact, 1013047u, new Vector3(409.4757f, -3.3999999f, 198.99292f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - obj166.Steps = list236; - reference172 = obj166; - ref QuestSequence reference173 = ref span95[2]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - CollectionsMarshal.AsSpan(list237)[0] = new QuestStep(EInteractionType.Interact, 2005469u, new Vector3(377.6454f, 0.77819824f, -3.616455f), 139) - { - Fly = true - }; - obj167.Steps = list237; - reference173 = obj167; - ref QuestSequence reference174 = ref span95[3]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - ref QuestStep reference175 = ref CollectionsMarshal.AsSpan(list238)[0]; - QuestStep obj169 = new QuestStep(EInteractionType.Combat, null, new Vector3(397.41708f, -3.3999999f, 10.57353f), 139) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list239 = new List(num3); - CollectionsMarshal.SetCount(list239, num3); - CollectionsMarshal.AsSpan(list239)[0] = 5049u; - obj169.KillEnemyDataIds = list239; - reference175 = obj169; - obj168.Steps = list238; - reference174 = obj168; - ref QuestSequence reference176 = ref span95[4]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.Interact, 1013048u, new Vector3(399.0996f, -3.3999999f, 11.215393f), 139); - obj170.Steps = list240; - reference176 = obj170; - ref QuestSequence reference177 = ref span95[5]; - QuestSequence obj171 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - }, - NextQuestId = new QuestId(1681) - }; - obj171.Steps = list241; - reference177 = obj171; - questRoot30.QuestSequence = list233; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(1681); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list242 = new List(num); - CollectionsMarshal.SetCount(list242, num); - CollectionsMarshal.AsSpan(list242)[0] = "liza"; - questRoot31.Author = list242; - num = 4; - List list243 = new List(num); - CollectionsMarshal.SetCount(list243, num); - Span span96 = CollectionsMarshal.AsSpan(list243); - ref QuestSequence reference178 = ref span96[0]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - ref QuestStep reference179 = ref CollectionsMarshal.AsSpan(list244)[0]; - QuestStep obj173 = new QuestStep(EInteractionType.AcceptQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipAetheryteCondition obj174 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list245 = new List(num3); - CollectionsMarshal.SetCount(list245, num3); - CollectionsMarshal.AsSpan(list245)[0] = 131; - obj174.InTerritory = list245; - skipConditions9.AetheryteShortcutIf = obj174; - obj173.SkipConditions = skipConditions9; - reference179 = obj173; - obj172.Steps = list244; - reference178 = obj172; - ref QuestSequence reference180 = ref span96[1]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - ref QuestStep reference181 = ref CollectionsMarshal.AsSpan(list246)[0]; - QuestStep obj176 = new QuestStep(EInteractionType.Combat, null, new Vector3(-173.73607f, -61.73199f, 370.57892f), 154) - { - StopDistance = 0.5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list247 = new List(num3); - CollectionsMarshal.SetCount(list247, num3); - CollectionsMarshal.AsSpan(list247)[0] = 4360u; - obj176.KillEnemyDataIds = list247; - reference181 = obj176; - obj175.Steps = list246; - reference180 = obj175; - ref QuestSequence reference182 = ref span96[2]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.Interact, 1013055u, new Vector3(-175.1278f, -61.86741f, 371.99963f), 154); - obj177.Steps = list248; - reference182 = obj177; - ref QuestSequence reference183 = ref span96[3]; - QuestSequence obj178 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - ref QuestStep reference184 = ref CollectionsMarshal.AsSpan(list249)[0]; - QuestStep obj179 = new QuestStep(EInteractionType.CompleteQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - num3 = 1; - List list250 = new List(num3); - CollectionsMarshal.SetCount(list250, num3); - CollectionsMarshal.AsSpan(list250)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBBLM560_01681_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBBLM560_01681_A1_000_001") - }; - obj179.DialogueChoices = list250; - obj179.NextQuestId = new QuestId(1682); - reference184 = obj179; - obj178.Steps = list249; - reference183 = obj178; - questRoot31.QuestSequence = list243; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(1682); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list251 = new List(num); - CollectionsMarshal.SetCount(list251, num); - CollectionsMarshal.AsSpan(list251)[0] = "liza"; - questRoot32.Author = list251; - num = 7; - List list252 = new List(num); - CollectionsMarshal.SetCount(list252, num); - Span span97 = CollectionsMarshal.AsSpan(list252); - ref QuestSequence reference185 = ref span97[0]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - ref QuestStep reference186 = ref CollectionsMarshal.AsSpan(list253)[0]; - QuestStep obj181 = new QuestStep(EInteractionType.AcceptQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipAetheryteCondition obj182 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list254 = new List(num3); - CollectionsMarshal.SetCount(list254, num3); - CollectionsMarshal.AsSpan(list254)[0] = 131; - obj182.InTerritory = list254; - skipConditions10.AetheryteShortcutIf = obj182; - obj181.SkipConditions = skipConditions10; - reference186 = obj181; - obj180.Steps = list253; - reference185 = obj180; - ref QuestSequence reference187 = ref span97[1]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - CollectionsMarshal.AsSpan(list255)[0] = new QuestStep(EInteractionType.Interact, 1013059u, new Vector3(30.411133f, 7.1999984f, -103.07471f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahWeaver, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj183.Steps = list255; - reference187 = obj183; - ref QuestSequence reference188 = ref span97[2]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.Interact, 1013060u, new Vector3(26.04712f, 1.2752796f, 92.851074f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardBrume - } - }; - obj184.Steps = list256; - reference188 = obj184; - ref QuestSequence reference189 = ref span97[3]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.Interact, 1013061u, new Vector3(-277.69897f, 124.9653f, -19.394226f), 397) - { - StopDistance = 1.5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj185.Steps = list257; - reference189 = obj185; - ref QuestSequence reference190 = ref span97[4]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - Span span98 = CollectionsMarshal.AsSpan(list258); - ref QuestStep reference191 = ref span98[0]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1013064u, new Vector3(-308.33905f, 126.09976f, -14.847046f), 397); - num3 = 6; - List list259 = new List(num3); - CollectionsMarshal.SetCount(list259, num3); - Span span99 = CollectionsMarshal.AsSpan(list259); - span99[0] = null; - span99[1] = null; - span99[2] = null; - span99[3] = null; - span99[4] = null; - span99[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list259; - reference191 = questStep11; - ref QuestStep reference192 = ref span98[1]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1013062u, new Vector3(-301.99133f, 126.85933f, 4.8981323f), 397); - num3 = 6; - List list260 = new List(num3); - CollectionsMarshal.SetCount(list260, num3); - Span span100 = CollectionsMarshal.AsSpan(list260); - span100[0] = null; - span100[1] = null; - span100[2] = null; - span100[3] = null; - span100[4] = null; - span100[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list260; - reference192 = questStep12; - ref QuestStep reference193 = ref span98[2]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1013063u, new Vector3(-284.44348f, 127.18384f, 11.825684f), 397); - num3 = 6; - List list261 = new List(num3); - CollectionsMarshal.SetCount(list261, num3); - Span span101 = CollectionsMarshal.AsSpan(list261); - span101[0] = null; - span101[1] = null; - span101[2] = null; - span101[3] = null; - span101[4] = null; - span101[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list261; - reference193 = questStep13; - obj186.Steps = list258; - reference190 = obj186; - ref QuestSequence reference194 = ref span97[5]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - ref QuestStep reference195 = ref CollectionsMarshal.AsSpan(list262)[0]; - QuestStep obj188 = new QuestStep(EInteractionType.SinglePlayerDuty, 1013065u, new Vector3(-67.00244f, 98.04463f, 189.99011f), 397) - { - Fly = true - }; - num3 = 1; - List list263 = new List(num3); - CollectionsMarshal.SetCount(list263, num3); - CollectionsMarshal.AsSpan(list263)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBBLM580_01682_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBBLM580_01682_A1_000_001") - }; - obj188.DialogueChoices = list263; - reference195 = obj188; - obj187.Steps = list262; - reference194 = obj187; - ref QuestSequence reference196 = ref span97[6]; - QuestSequence obj189 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - }, - NextQuestId = new QuestId(1683) - }; - obj189.Steps = list264; - reference196 = obj189; - questRoot32.QuestSequence = list252; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(1683); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list265 = new List(num); - CollectionsMarshal.SetCount(list265, num); - CollectionsMarshal.AsSpan(list265)[0] = "liza"; - questRoot33.Author = list265; - num = 6; - List list266 = new List(num); - CollectionsMarshal.SetCount(list266, num); - Span span102 = CollectionsMarshal.AsSpan(list266); - ref QuestSequence reference197 = ref span102[0]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - ref QuestStep reference198 = ref CollectionsMarshal.AsSpan(list267)[0]; - QuestStep obj191 = new QuestStep(EInteractionType.AcceptQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipAetheryteCondition obj192 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list268 = new List(num3); - CollectionsMarshal.SetCount(list268, num3); - CollectionsMarshal.AsSpan(list268)[0] = 131; - obj192.InTerritory = list268; - skipConditions11.AetheryteShortcutIf = obj192; - obj191.SkipConditions = skipConditions11; - reference198 = obj191; - obj190.Steps = list267; - reference197 = obj190; - ref QuestSequence reference199 = ref span102[1]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - CollectionsMarshal.AsSpan(list269)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1013066u, new Vector3(385.27502f, -18.74231f, 273.0907f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj193.Steps = list269; - reference199 = obj193; - span102[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference200 = ref span102[3]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - CollectionsMarshal.AsSpan(list270)[0] = new QuestStep(EInteractionType.Interact, 1013187u, new Vector3(476.73767f, -64.30186f, 234.2107f), 145) - { - StopDistance = 5f - }; - obj194.Steps = list270; - reference200 = obj194; - ref QuestSequence reference201 = ref span102[4]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 4 - }; - num2 = 4; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - Span span103 = CollectionsMarshal.AsSpan(list271); - span103[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(341.93842f, 28.63408f, 66.419495f), 145) - { - Fly = true - }; - ref QuestStep reference202 = ref span103[1]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1013189u, new Vector3(322.89612f, 10.818874f, -8.46875f), 145); - num3 = 6; - List list272 = new List(num3); - CollectionsMarshal.SetCount(list272, num3); - Span span104 = CollectionsMarshal.AsSpan(list272); - span104[0] = null; - span104[1] = null; - span104[2] = null; - span104[3] = null; - span104[4] = null; - span104[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list272; - reference202 = questStep14; - ref QuestStep reference203 = ref span103[2]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1006753u, new Vector3(325.063f, 11.236564f, -6.2105103f), 145); - num3 = 6; - List list273 = new List(num3); - CollectionsMarshal.SetCount(list273, num3); - Span span105 = CollectionsMarshal.AsSpan(list273); - span105[0] = null; - span105[1] = null; - span105[2] = null; - span105[3] = null; - span105[4] = null; - span105[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list273; - reference203 = questStep15; - ref QuestStep reference204 = ref span103[3]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1013188u, new Vector3(327.96216f, 11.425721f, -6.7597656f), 145); - num3 = 6; - List list274 = new List(num3); - CollectionsMarshal.SetCount(list274, num3); - Span span106 = CollectionsMarshal.AsSpan(list274); - span106[0] = null; - span106[1] = null; - span106[2] = null; - span106[3] = null; - span106[4] = null; - span106[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list274; - reference204 = questStep16; - obj195.Steps = list271; - reference201 = obj195; - ref QuestSequence reference205 = ref span102[5]; - QuestSequence obj196 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - }, - NextQuestId = new QuestId(2588) - }; - obj196.Steps = list275; - reference205 = obj196; - questRoot33.QuestSequence = list266; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(1684); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list276 = new List(num); - CollectionsMarshal.SetCount(list276, num); - CollectionsMarshal.AsSpan(list276)[0] = "xan"; - questRoot34.Author = list276; - num = 5; - List list277 = new List(num); - CollectionsMarshal.SetCount(list277, num); - Span span107 = CollectionsMarshal.AsSpan(list277); - ref QuestSequence reference206 = ref span107[0]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - Span span108 = CollectionsMarshal.AsSpan(list278); - span108[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span108[1] = new QuestStep(EInteractionType.AcceptQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137); - obj197.Steps = list278; - reference206 = obj197; - ref QuestSequence reference207 = ref span107[1]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - Span span109 = CollectionsMarshal.AsSpan(list279); - span109[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(227.31966f, -0.91833544f, 258.60855f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - span109[1] = new QuestStep(EInteractionType.Interact, 1003587u, new Vector3(220.90479f, -0.9591979f, 257.4043f), 139) - { - TargetTerritoryId = (ushort)139, - Mount = false - }; - span109[2] = new QuestStep(EInteractionType.Interact, 1013893u, new Vector3(-335.2865f, -2.7013655f, 135.17957f), 139); - obj198.Steps = list279; - reference207 = obj198; - ref QuestSequence reference208 = ref span107[2]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - Span span110 = CollectionsMarshal.AsSpan(list280); - ref QuestStep reference209 = ref span110[0]; - QuestStep obj200 = new QuestStep(EInteractionType.Combat, 2005925u, new Vector3(-449.08832f, -1.2055054f, 116.59412f), 139) - { - ItemId = 2001723u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 2; - List list281 = new List(num3); - CollectionsMarshal.SetCount(list281, num3); - Span span111 = CollectionsMarshal.AsSpan(list281); - span111[0] = 5048u; - span111[1] = 5046u; - obj200.KillEnemyDataIds = list281; - num3 = 6; - List list282 = new List(num3); - CollectionsMarshal.SetCount(list282, num3); - Span span112 = CollectionsMarshal.AsSpan(list282); - span112[0] = null; - span112[1] = null; - span112[2] = null; - span112[3] = null; - span112[4] = null; - span112[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj200.CompletionQuestVariablesFlags = list282; - reference209 = obj200; - ref QuestStep reference210 = ref span110[1]; - QuestStep obj201 = new QuestStep(EInteractionType.Combat, 2005926u, new Vector3(-424.24664f, -5.1728516f, 168.65796f), 139) - { - ItemId = 2001723u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 2; - List list283 = new List(num3); - CollectionsMarshal.SetCount(list283, num3); - Span span113 = CollectionsMarshal.AsSpan(list283); - span113[0] = 5046u; - span113[1] = 5048u; - obj201.KillEnemyDataIds = list283; - num3 = 6; - List list284 = new List(num3); - CollectionsMarshal.SetCount(list284, num3); - Span span114 = CollectionsMarshal.AsSpan(list284); - span114[0] = null; - span114[1] = null; - span114[2] = null; - span114[3] = null; - span114[4] = null; - span114[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj201.CompletionQuestVariablesFlags = list284; - reference210 = obj201; - ref QuestStep reference211 = ref span110[2]; - QuestStep obj202 = new QuestStep(EInteractionType.Combat, 2005927u, new Vector3(-457.75543f, -12.64978f, 218.92114f), 139) - { - ItemId = 2001723u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 2; - List list285 = new List(num3); - CollectionsMarshal.SetCount(list285, num3); - Span span115 = CollectionsMarshal.AsSpan(list285); - span115[0] = 5042u; - span115[1] = 4619u; - obj202.KillEnemyDataIds = list285; - num3 = 6; - List list286 = new List(num3); - CollectionsMarshal.SetCount(list286, num3); - Span span116 = CollectionsMarshal.AsSpan(list286); - span116[0] = null; - span116[1] = null; - span116[2] = null; - span116[3] = null; - span116[4] = null; - span116[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj202.CompletionQuestVariablesFlags = list286; - reference211 = obj202; - obj199.Steps = list280; - reference208 = obj199; - ref QuestSequence reference212 = ref span107[3]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - CollectionsMarshal.AsSpan(list287)[0] = new QuestStep(EInteractionType.Interact, 1013896u, new Vector3(-430.89954f, -12.362141f, 208.23987f), 139); - obj203.Steps = list287; - reference212 = obj203; - ref QuestSequence reference213 = ref span107[4]; - QuestSequence obj204 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - Span span117 = CollectionsMarshal.AsSpan(list288); - span117[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span117[1] = new QuestStep(EInteractionType.CompleteQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137) - { - NextQuestId = new QuestId(1685) - }; - obj204.Steps = list288; - reference213 = obj204; - questRoot34.QuestSequence = list277; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(1685); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list289 = new List(num); - CollectionsMarshal.SetCount(list289, num); - CollectionsMarshal.AsSpan(list289)[0] = "xan"; - questRoot35.Author = list289; - num = 9; - List list290 = new List(num); - CollectionsMarshal.SetCount(list290, num); - Span span118 = CollectionsMarshal.AsSpan(list290); - ref QuestSequence reference214 = ref span118[0]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - Span span119 = CollectionsMarshal.AsSpan(list291); - span119[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span119[1] = new QuestStep(EInteractionType.AcceptQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137); - obj205.Steps = list291; - reference214 = obj205; - ref QuestSequence reference215 = ref span118[1]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - ref QuestStep reference216 = ref CollectionsMarshal.AsSpan(list292)[0]; - QuestStep obj207 = new QuestStep(EInteractionType.Interact, 1013898u, new Vector3(107.71338f, 68.15523f, 332.5094f), 135) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list293 = new List(num3); - CollectionsMarshal.SetCount(list293, num3); - CollectionsMarshal.AsSpan(list293)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBNIN540_01685_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBNIN540_01685_A1_000_020") - }; - obj207.DialogueChoices = list293; - reference216 = obj207; - obj206.Steps = list292; - reference215 = obj206; - ref QuestSequence reference217 = ref span118[2]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - CollectionsMarshal.AsSpan(list294)[0] = new QuestStep(EInteractionType.Action, 2005928u, new Vector3(-22.842834f, 66.300415f, 426.1692f), 135) - { - Action = EAction.Raiton - }; - obj208.Steps = list294; - reference217 = obj208; - ref QuestSequence reference218 = ref span118[3]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - CollectionsMarshal.AsSpan(list295)[0] = new QuestStep(EInteractionType.Action, 2005929u, new Vector3(-46.707886f, 48.41687f, 529.1676f), 135) - { - Action = EAction.Raiton - }; - obj209.Steps = list295; - reference218 = obj209; - ref QuestSequence reference219 = ref span118[4]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - CollectionsMarshal.AsSpan(list296)[0] = new QuestStep(EInteractionType.Action, 2005930u, new Vector3(-93.888794f, 26.932129f, 623.25464f), 135) - { - Action = EAction.Raiton - }; - obj210.Steps = list296; - reference219 = obj210; - ref QuestSequence reference220 = ref span118[5]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - CollectionsMarshal.AsSpan(list297)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2005931u, new Vector3(-185.41241f, 0.015197754f, 678.8281f), 135) - { - Fly = true - }; - obj211.Steps = list297; - reference220 = obj211; - ref QuestSequence reference221 = ref span118[6]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - CollectionsMarshal.AsSpan(list298)[0] = new QuestStep(EInteractionType.Interact, 1013906u, new Vector3(-136.88867f, 2.2586327f, 697.8407f), 135); - obj212.Steps = list298; - reference221 = obj212; - ref QuestSequence reference222 = ref span118[7]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - ref QuestStep reference223 = ref CollectionsMarshal.AsSpan(list299)[0]; - QuestStep obj214 = new QuestStep(EInteractionType.Interact, 1013908u, new Vector3(-38.010254f, 71.439964f, 111.95532f), 135) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaTempestGate - } - }; - SkipConditions skipConditions12 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list300 = new List(num3); - CollectionsMarshal.SetCount(list300, num3); - CollectionsMarshal.AsSpan(list300)[0] = 129; - skipAetheryteCondition.InTerritory = list300; - skipConditions12.AetheryteShortcutIf = skipAetheryteCondition; - obj214.SkipConditions = skipConditions12; - reference223 = obj214; - obj213.Steps = list299; - reference222 = obj213; - ref QuestSequence reference224 = ref span118[8]; - QuestSequence obj215 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - Span span120 = CollectionsMarshal.AsSpan(list301); - span120[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span120[1] = new QuestStep(EInteractionType.CompleteQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137) - { - NextQuestId = new QuestId(1686) - }; - obj215.Steps = list301; - reference224 = obj215; - questRoot35.QuestSequence = list290; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(1686); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list302 = new List(num); - CollectionsMarshal.SetCount(list302, num); - CollectionsMarshal.AsSpan(list302)[0] = "xan"; - questRoot36.Author = list302; - num = 6; - List list303 = new List(num); - CollectionsMarshal.SetCount(list303, num); - Span span121 = CollectionsMarshal.AsSpan(list303); - ref QuestSequence reference225 = ref span121[0]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - Span span122 = CollectionsMarshal.AsSpan(list304); - span122[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span122[1] = new QuestStep(EInteractionType.AcceptQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137); - obj216.Steps = list304; - reference225 = obj216; - ref QuestSequence reference226 = ref span121[1]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - Span span123 = CollectionsMarshal.AsSpan(list305); - span123[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-151.80984f, -128.6493f, 265.27332f), - MaximumDistance = 50f, - TerritoryId = 129 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-151.80984f, -128.6493f, 265.27332f), - MaximumDistance = 50f, - TerritoryId = 129 - } - } - } - }; - span123[1] = new QuestStep(EInteractionType.Interact, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129); - obj217.Steps = list305; - reference226 = obj217; - ref QuestSequence reference227 = ref span121[2]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - Span span124 = CollectionsMarshal.AsSpan(list306); - ref QuestStep reference228 = ref span124[0]; - QuestStep obj219 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(246.007f, 56.384f, 839.334f), 137) - { - TargetTerritoryId = (ushort)135, - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - SkipConditions skipConditions13 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 1; - List list307 = new List(num3); - CollectionsMarshal.SetCount(list307, num3); - CollectionsMarshal.AsSpan(list307)[0] = 135; - skipStepConditions5.InTerritory = list307; - skipConditions13.StepIf = skipStepConditions5; - SkipAetheryteCondition obj220 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list308 = new List(num3); - CollectionsMarshal.SetCount(list308, num3); - CollectionsMarshal.AsSpan(list308)[0] = 135; - obj220.InTerritory = list308; - skipConditions13.AetheryteShortcutIf = obj220; - obj219.SkipConditions = skipConditions13; - reference228 = obj219; - ref QuestStep reference229 = ref span124[1]; - QuestStep obj221 = new QuestStep(EInteractionType.Combat, null, new Vector3(508.80716f, 95.940796f, -450.35608f), 135) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list309 = new List(num3); - CollectionsMarshal.SetCount(list309, num3); - CollectionsMarshal.AsSpan(list309)[0] = 4616u; - obj221.KillEnemyDataIds = list309; - reference229 = obj221; - obj218.Steps = list306; - reference227 = obj218; - ref QuestSequence reference230 = ref span121[3]; - QuestSequence obj222 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - CollectionsMarshal.AsSpan(list310)[0] = new QuestStep(EInteractionType.Interact, 1013909u, new Vector3(508.75085f, 95.94249f, -450.2785f), 135); - obj222.Steps = list310; - reference230 = obj222; - ref QuestSequence reference231 = ref span121[4]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list311 = new List(num2); - CollectionsMarshal.SetCount(list311, num2); - CollectionsMarshal.AsSpan(list311)[0] = new QuestStep(EInteractionType.Interact, 2005932u, new Vector3(483.36f, 10.879639f, 348.89746f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj223.Steps = list311; - reference231 = obj223; - ref QuestSequence reference232 = ref span121[5]; - QuestSequence obj224 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - Span span125 = CollectionsMarshal.AsSpan(list312); - span125[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - } - } - }; - span125[1] = new QuestStep(EInteractionType.CompleteQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137) - { - NextQuestId = new QuestId(1687) - }; - obj224.Steps = list312; - reference232 = obj224; - questRoot36.QuestSequence = list303; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(1687); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list313 = new List(num); - CollectionsMarshal.SetCount(list313, num); - CollectionsMarshal.AsSpan(list313)[0] = "xan"; - questRoot37.Author = list313; - num = 8; - List list314 = new List(num); - CollectionsMarshal.SetCount(list314, num); - Span span126 = CollectionsMarshal.AsSpan(list314); - ref QuestSequence reference233 = ref span126[0]; - QuestSequence obj225 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - Span span127 = CollectionsMarshal.AsSpan(list315); - span127[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span127[1] = new QuestStep(EInteractionType.AcceptQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137); - obj225.Steps = list315; - reference233 = obj225; - ref QuestSequence reference234 = ref span126[1]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - CollectionsMarshal.AsSpan(list316)[0] = new QuestStep(EInteractionType.Interact, 1001208u, new Vector3(-228.16821f, 16f, 50.644653f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaHawkersAlley - } - }; - obj226.Steps = list316; - reference234 = obj226; - ref QuestSequence reference235 = ref span126[2]; - QuestSequence obj227 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list317 = new List(num2); - CollectionsMarshal.SetCount(list317, num2); - CollectionsMarshal.AsSpan(list317)[0] = new QuestStep(EInteractionType.UseItem, 2005934u, new Vector3(-188.79993f, 1.7241821f, 207.7821f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaHawkersAlley, - To = EAetheryteLocation.LimsaFisher - }, - ItemId = 2001725u - }; - obj227.Steps = list317; - reference235 = obj227; - ref QuestSequence reference236 = ref span126[3]; - QuestSequence obj228 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list318 = new List(num2); - CollectionsMarshal.SetCount(list318, num2); - CollectionsMarshal.AsSpan(list318)[0] = new QuestStep(EInteractionType.Interact, 2005935u, new Vector3(-175.55511f, 3.982544f, 179.24768f), 129); - obj228.Steps = list318; - reference236 = obj228; - ref QuestSequence reference237 = ref span126[4]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list319 = new List(num2); - CollectionsMarshal.SetCount(list319, num2); - Span span128 = CollectionsMarshal.AsSpan(list319); - span128[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(234.53989f, -56.43721f, -254.02878f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - span128[1] = new QuestStep(EInteractionType.Interact, 1013912u, new Vector3(230.73157f, -56.71082f, -247.21143f), 398); - obj229.Steps = list319; - reference237 = obj229; - ref QuestSequence reference238 = ref span126[5]; - QuestSequence obj230 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list320 = new List(num2); - CollectionsMarshal.SetCount(list320, num2); - ref QuestStep reference239 = ref CollectionsMarshal.AsSpan(list320)[0]; - QuestStep obj231 = new QuestStep(EInteractionType.Combat, 2005938u, new Vector3(163.28674f, -64.2558f, -102.89166f), 398) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list321 = new List(num3); - CollectionsMarshal.SetCount(list321, num3); - Span span129 = CollectionsMarshal.AsSpan(list321); - span129[0] = 5042u; - span129[1] = 4619u; - obj231.KillEnemyDataIds = list321; - reference239 = obj231; - obj230.Steps = list320; - reference238 = obj230; - ref QuestSequence reference240 = ref span126[6]; - QuestSequence obj232 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list322 = new List(num2); - CollectionsMarshal.SetCount(list322, num2); - CollectionsMarshal.AsSpan(list322)[0] = new QuestStep(EInteractionType.Interact, 1015302u, new Vector3(237.59814f, -54.04252f, -217.02905f), 398) - { - Fly = true - }; - obj232.Steps = list322; - reference240 = obj232; - ref QuestSequence reference241 = ref span126[7]; - QuestSequence obj233 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list323 = new List(num2); - CollectionsMarshal.SetCount(list323, num2); - Span span130 = CollectionsMarshal.AsSpan(list323); - span130[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - } - } - }; - span130[1] = new QuestStep(EInteractionType.CompleteQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137) - { - NextQuestId = new QuestId(1688) - }; - obj233.Steps = list323; - reference241 = obj233; - questRoot37.QuestSequence = list314; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(1688); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list324 = new List(num); - CollectionsMarshal.SetCount(list324, num); - CollectionsMarshal.AsSpan(list324)[0] = "xan"; - questRoot38.Author = list324; - num = 8; - List list325 = new List(num); - CollectionsMarshal.SetCount(list325, num); - Span span131 = CollectionsMarshal.AsSpan(list325); - ref QuestSequence reference242 = ref span131[0]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list326 = new List(num2); - CollectionsMarshal.SetCount(list326, num2); - Span span132 = CollectionsMarshal.AsSpan(list326); - span132[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span132[1] = new QuestStep(EInteractionType.AcceptQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137); - obj234.Steps = list326; - reference242 = obj234; - ref QuestSequence reference243 = ref span131[1]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list327 = new List(num2); - CollectionsMarshal.SetCount(list327, num2); - Span span133 = CollectionsMarshal.AsSpan(list327); - span133[0] = new QuestStep(EInteractionType.Interact, 2004966u, new Vector3(-16.128845f, -23.300598f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-6.8438888f, 39.451496f, 259.44324f), - MaximumDistance = 20f, - TerritoryId = 137 - } - } - } - }; - ref QuestStep reference244 = ref span133[1]; - QuestStep obj236 = new QuestStep(EInteractionType.Combat, 2005940u, new Vector3(-4.867676f, 39.414062f, 263.7826f), 137) - { - Emote = EEmote.Doze, - EnemySpawnType = EEnemySpawnType.AfterEmote - }; - num3 = 2; - List list328 = new List(num3); - CollectionsMarshal.SetCount(list328, num3); - Span span134 = CollectionsMarshal.AsSpan(list328); - span134[0] = 5042u; - span134[1] = 4619u; - obj236.KillEnemyDataIds = list328; - num3 = 6; - List list329 = new List(num3); - CollectionsMarshal.SetCount(list329, num3); - Span span135 = CollectionsMarshal.AsSpan(list329); - span135[0] = null; - span135[1] = null; - span135[2] = null; - span135[3] = null; - span135[4] = null; - span135[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj236.CompletionQuestVariablesFlags = list329; - reference244 = obj236; - ref QuestStep reference245 = ref span133[2]; - QuestStep obj237 = new QuestStep(EInteractionType.Combat, 2005941u, new Vector3(-47.104614f, 39.749634f, 255.6648f), 137) - { - Emote = EEmote.Doze, - EnemySpawnType = EEnemySpawnType.AfterEmote - }; - num3 = 2; - List list330 = new List(num3); - CollectionsMarshal.SetCount(list330, num3); - Span span136 = CollectionsMarshal.AsSpan(list330); - span136[0] = 5042u; - span136[1] = 4619u; - obj237.KillEnemyDataIds = list330; - num3 = 6; - List list331 = new List(num3); - CollectionsMarshal.SetCount(list331, num3); - Span span137 = CollectionsMarshal.AsSpan(list331); - span137[0] = null; - span137[1] = null; - span137[2] = null; - span137[3] = null; - span137[4] = null; - span137[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj237.CompletionQuestVariablesFlags = list331; - reference245 = obj237; - obj235.Steps = list327; - reference243 = obj235; - ref QuestSequence reference246 = ref span131[2]; - QuestSequence obj238 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list332 = new List(num2); - CollectionsMarshal.SetCount(list332, num2); - Span span138 = CollectionsMarshal.AsSpan(list332); - span138[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span138[1] = new QuestStep(EInteractionType.Interact, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137); - obj238.Steps = list332; - reference246 = obj238; - ref QuestSequence reference247 = ref span131[3]; - QuestSequence obj239 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list333 = new List(num2); - CollectionsMarshal.SetCount(list333, num2); - ref QuestStep reference248 = ref CollectionsMarshal.AsSpan(list333)[0]; - QuestStep obj240 = new QuestStep(EInteractionType.Interact, 1013916u, new Vector3(103.990234f, 53.596413f, 674.8607f), 135) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }; - num3 = 1; - List list334 = new List(num3); - CollectionsMarshal.SetCount(list334, num3); - CollectionsMarshal.AsSpan(list334)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBNIN600_01688_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBNIN600_01688_A1_000_010") - }; - obj240.DialogueChoices = list334; - reference248 = obj240; - obj239.Steps = list333; - reference247 = obj239; - ref QuestSequence reference249 = ref span131[4]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list335 = new List(num2); - CollectionsMarshal.SetCount(list335, num2); - CollectionsMarshal.AsSpan(list335)[0] = new QuestStep(EInteractionType.Interact, 2005942u, new Vector3(122.545166f, 60.65454f, 934.47766f), 135) - { - Fly = true - }; - obj241.Steps = list335; - reference249 = obj241; - ref QuestSequence reference250 = ref span131[5]; - QuestSequence obj242 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list336 = new List(num2); - CollectionsMarshal.SetCount(list336, num2); - CollectionsMarshal.AsSpan(list336)[0] = new QuestStep(EInteractionType.Interact, 1013920u, new Vector3(259.60168f, 4.4031205f, 715.3887f), 135) - { - Fly = true - }; - obj242.Steps = list336; - reference250 = obj242; - ref QuestSequence reference251 = ref span131[6]; - QuestSequence obj243 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list337 = new List(num2); - CollectionsMarshal.SetCount(list337, num2); - CollectionsMarshal.AsSpan(list337)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1013920u, new Vector3(259.60168f, 4.4031205f, 715.3887f), 135); - obj243.Steps = list337; - reference251 = obj243; - ref QuestSequence reference252 = ref span131[7]; - QuestSequence obj244 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list338 = new List(num2); - CollectionsMarshal.SetCount(list338, num2); - Span span139 = CollectionsMarshal.AsSpan(list338); - span139[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - } - } - }; - span139[1] = new QuestStep(EInteractionType.CompleteQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137) - { - NextQuestId = new QuestId(2948) - }; - obj244.Steps = list338; - reference252 = obj244; - questRoot38.QuestSequence = list325; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(1689); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list339 = new List(num); - CollectionsMarshal.SetCount(list339, num); - CollectionsMarshal.AsSpan(list339)[0] = "AnimaMachinae"; - questRoot39.Author = list339; - num = 3; - List list340 = new List(num); - CollectionsMarshal.SetCount(list340, num); - Span span140 = CollectionsMarshal.AsSpan(list340); - ref QuestSequence reference253 = ref span140[0]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - Span span141 = CollectionsMarshal.AsSpan(list341); - span141[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span141[1] = new QuestStep(EInteractionType.AcceptQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155); - obj245.Steps = list341; - reference253 = obj245; - ref QuestSequence reference254 = ref span140[1]; - QuestSequence obj246 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - Span span142 = CollectionsMarshal.AsSpan(list342); - ref QuestStep reference255 = ref span142[0]; - QuestStep obj247 = new QuestStep(EInteractionType.Combat, 1013437u, new Vector3(-580.5906f, 206.85785f, -407.64478f), 155) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list343 = new List(num3); - CollectionsMarshal.SetCount(list343, num3); - CollectionsMarshal.AsSpan(list343)[0] = 4478u; - obj247.KillEnemyDataIds = list343; - num3 = 6; - List list344 = new List(num3); - CollectionsMarshal.SetCount(list344, num3); - Span span143 = CollectionsMarshal.AsSpan(list344); - span143[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span143[1] = null; - span143[2] = null; - span143[3] = null; - span143[4] = null; - span143[5] = null; - obj247.CompletionQuestVariablesFlags = list344; - reference255 = obj247; - span142[1] = new QuestStep(EInteractionType.Interact, 1013437u, new Vector3(-580.5906f, 206.85785f, -407.64478f), 155); - obj246.Steps = list342; - reference254 = obj246; - ref QuestSequence reference256 = ref span140[2]; - QuestSequence obj248 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list345 = new List(num2); - CollectionsMarshal.SetCount(list345, num2); - Span span144 = CollectionsMarshal.AsSpan(list345); - span144[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span144[1] = new QuestStep(EInteractionType.CompleteQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155) - { - NextQuestId = new QuestId(1690) - }; - obj248.Steps = list345; - reference256 = obj248; - questRoot39.QuestSequence = list340; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(1690); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list346 = new List(num); - CollectionsMarshal.SetCount(list346, num); - CollectionsMarshal.AsSpan(list346)[0] = "AnimaMachinae"; - questRoot40.Author = list346; - num = 5; - List list347 = new List(num); - CollectionsMarshal.SetCount(list347, num); - Span span145 = CollectionsMarshal.AsSpan(list347); - ref QuestSequence reference257 = ref span145[0]; - QuestSequence obj249 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list348 = new List(num2); - CollectionsMarshal.SetCount(list348, num2); - Span span146 = CollectionsMarshal.AsSpan(list348); - span146[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span146[1] = new QuestStep(EInteractionType.AcceptQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155); - obj249.Steps = list348; - reference257 = obj249; - ref QuestSequence reference258 = ref span145[1]; - QuestSequence obj250 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list349 = new List(num2); - CollectionsMarshal.SetCount(list349, num2); - ref QuestStep reference259 = ref CollectionsMarshal.AsSpan(list349)[0]; - QuestStep obj251 = new QuestStep(EInteractionType.Combat, 1013441u, new Vector3(468.58923f, 166.28001f, 256.73303f), 397) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list350 = new List(num3); - CollectionsMarshal.SetCount(list350, num3); - CollectionsMarshal.AsSpan(list350)[0] = 4504u; - obj251.KillEnemyDataIds = list350; - reference259 = obj251; - obj250.Steps = list349; - reference258 = obj250; - ref QuestSequence reference260 = ref span145[2]; - QuestSequence obj252 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list351 = new List(num2); - CollectionsMarshal.SetCount(list351, num2); - CollectionsMarshal.AsSpan(list351)[0] = new QuestStep(EInteractionType.Interact, 1013441u, new Vector3(468.58923f, 166.28001f, 256.73303f), 397); - obj252.Steps = list351; - reference260 = obj252; - ref QuestSequence reference261 = ref span145[3]; - QuestSequence obj253 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list352 = new List(num2); - CollectionsMarshal.SetCount(list352, num2); - ref QuestStep reference262 = ref CollectionsMarshal.AsSpan(list352)[0]; - QuestStep obj254 = new QuestStep(EInteractionType.Combat, 2006182u, new Vector3(197.40588f, 184.00854f, -102.80011f), 397) - { - Fly = true, - Land = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list353 = new List(num3); - CollectionsMarshal.SetCount(list353, num3); - CollectionsMarshal.AsSpan(list353)[0] = 4486u; - obj254.KillEnemyDataIds = list353; - reference262 = obj254; - obj253.Steps = list352; - reference261 = obj253; - ref QuestSequence reference263 = ref span145[4]; - QuestSequence obj255 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list354 = new List(num2); - CollectionsMarshal.SetCount(list354, num2); - CollectionsMarshal.AsSpan(list354)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013445u, new Vector3(202.19727f, 183.6595f, -96.11658f), 397); - obj255.Steps = list354; - reference263 = obj255; - questRoot40.QuestSequence = list347; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(1691); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list355 = new List(num); - CollectionsMarshal.SetCount(list355, num); - CollectionsMarshal.AsSpan(list355)[0] = "AnimaMachinae"; - questRoot41.Author = list355; - num = 3; - List list356 = new List(num); - CollectionsMarshal.SetCount(list356, num); - Span span147 = CollectionsMarshal.AsSpan(list356); - ref QuestSequence reference264 = ref span147[0]; - QuestSequence obj256 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list357 = new List(num2); - CollectionsMarshal.SetCount(list357, num2); - CollectionsMarshal.AsSpan(list357)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013445u, new Vector3(202.19727f, 183.6595f, -96.11658f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj256.Steps = list357; - reference264 = obj256; - ref QuestSequence reference265 = ref span147[1]; - QuestSequence obj257 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list358 = new List(num2); - CollectionsMarshal.SetCount(list358, num2); - CollectionsMarshal.AsSpan(list358)[0] = new QuestStep(EInteractionType.Interact, 1013448u, new Vector3(83.26843f, 23.979126f, 2.3345947f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj257.Steps = list358; - reference265 = obj257; - ref QuestSequence reference266 = ref span147[2]; - QuestSequence obj258 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list359 = new List(num2); - CollectionsMarshal.SetCount(list359, num2); - Span span148 = CollectionsMarshal.AsSpan(list359); - span148[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span148[1] = new QuestStep(EInteractionType.CompleteQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155) - { - NextQuestId = new QuestId(1690) - }; - obj258.Steps = list359; - reference266 = obj258; - questRoot41.QuestSequence = list356; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(1692); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list360 = new List(num); - CollectionsMarshal.SetCount(list360, num); - CollectionsMarshal.AsSpan(list360)[0] = "AnimaMachinae"; - questRoot42.Author = list360; - num = 6; - List list361 = new List(num); - CollectionsMarshal.SetCount(list361, num); - Span span149 = CollectionsMarshal.AsSpan(list361); - ref QuestSequence reference267 = ref span149[0]; - QuestSequence obj259 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list362 = new List(num2); - CollectionsMarshal.SetCount(list362, num2); - Span span150 = CollectionsMarshal.AsSpan(list362); - span150[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span150[1] = new QuestStep(EInteractionType.AcceptQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155); - obj259.Steps = list362; - reference267 = obj259; - ref QuestSequence reference268 = ref span149[1]; - QuestSequence obj260 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list363 = new List(num2); - CollectionsMarshal.SetCount(list363, num2); - CollectionsMarshal.AsSpan(list363)[0] = new QuestStep(EInteractionType.Interact, 1013450u, new Vector3(84.30603f, 23.979128f, -12.802368f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj260.Steps = list363; - reference268 = obj260; - ref QuestSequence reference269 = ref span149[2]; - QuestSequence obj261 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list364 = new List(num2); - CollectionsMarshal.SetCount(list364, num2); - CollectionsMarshal.AsSpan(list364)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1013456u, new Vector3(489.82983f, 164.7244f, 266.25464f), 397) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj261.Steps = list364; - reference269 = obj261; - ref QuestSequence reference270 = ref span149[3]; - QuestSequence obj262 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list365 = new List(num2); - CollectionsMarshal.SetCount(list365, num2); - CollectionsMarshal.AsSpan(list365)[0] = new QuestStep(EInteractionType.Interact, 1013457u, new Vector3(492.88147f, 164.6694f, 265.06445f), 397); - obj262.Steps = list365; - reference270 = obj262; - ref QuestSequence reference271 = ref span149[4]; - QuestSequence obj263 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list366 = new List(num2); - CollectionsMarshal.SetCount(list366, num2); - CollectionsMarshal.AsSpan(list366)[0] = new QuestStep(EInteractionType.Interact, 1013464u, new Vector3(133.47058f, 24.400866f, -6.149414f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj263.Steps = list366; - reference271 = obj263; - ref QuestSequence reference272 = ref span149[5]; - QuestSequence obj264 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list367 = new List(num2); - CollectionsMarshal.SetCount(list367, num2); - Span span151 = CollectionsMarshal.AsSpan(list367); - span151[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span151[1] = new QuestStep(EInteractionType.CompleteQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155) - { - NextQuestId = new QuestId(1690) - }; - obj264.Steps = list367; - reference272 = obj264; - questRoot42.QuestSequence = list361; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(1693); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list368 = new List(num); - CollectionsMarshal.SetCount(list368, num); - CollectionsMarshal.AsSpan(list368)[0] = "AnimaMachinae"; - questRoot43.Author = list368; - num = 5; - List list369 = new List(num); - CollectionsMarshal.SetCount(list369, num); - Span span152 = CollectionsMarshal.AsSpan(list369); - ref QuestSequence reference273 = ref span152[0]; - QuestSequence obj265 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list370 = new List(num2); - CollectionsMarshal.SetCount(list370, num2); - Span span153 = CollectionsMarshal.AsSpan(list370); - span153[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span153[1] = new QuestStep(EInteractionType.AcceptQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155); - obj265.Steps = list370; - reference273 = obj265; - ref QuestSequence reference274 = ref span152[1]; - QuestSequence obj266 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list371 = new List(num2); - CollectionsMarshal.SetCount(list371, num2); - Span span154 = CollectionsMarshal.AsSpan(list371); - span154[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-48.009445f, 98.00955f, 106.47891f), 397) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - span154[1] = new QuestStep(EInteractionType.Interact, 1013467u, new Vector3(-51.10254f, 98.63026f, 105.1499f), 397); - obj266.Steps = list371; - reference274 = obj266; - ref QuestSequence reference275 = ref span152[2]; - QuestSequence obj267 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list372 = new List(num2); - CollectionsMarshal.SetCount(list372, num2); - Span span155 = CollectionsMarshal.AsSpan(list372); - ref QuestStep reference276 = ref span155[0]; - QuestStep obj268 = new QuestStep(EInteractionType.Combat, 1013466u, new Vector3(-155.5047f, 175.79733f, 693.26306f), 397) - { - Fly = true, - Land = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list373 = new List(num3); - CollectionsMarshal.SetCount(list373, num3); - Span span156 = CollectionsMarshal.AsSpan(list373); - span156[0] = 4482u; - span156[1] = 5049u; - obj268.KillEnemyDataIds = list373; - num3 = 6; - List list374 = new List(num3); - CollectionsMarshal.SetCount(list374, num3); - Span span157 = CollectionsMarshal.AsSpan(list374); - span157[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - span157[1] = null; - span157[2] = null; - span157[3] = null; - span157[4] = null; - span157[5] = null; - obj268.CompletionQuestVariablesFlags = list374; - reference276 = obj268; - span155[1] = new QuestStep(EInteractionType.Interact, 1013466u, new Vector3(-155.5047f, 175.79733f, 693.26306f), 397); - obj267.Steps = list372; - reference275 = obj267; - ref QuestSequence reference277 = ref span152[3]; - QuestSequence obj269 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list375 = new List(num2); - CollectionsMarshal.SetCount(list375, num2); - CollectionsMarshal.AsSpan(list375)[0] = new QuestStep(EInteractionType.Interact, 1012163u, new Vector3(128.25195f, 24.458832f, -0.6867676f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj269.Steps = list375; - reference277 = obj269; - ref QuestSequence reference278 = ref span152[4]; - QuestSequence obj270 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list376 = new List(num2); - CollectionsMarshal.SetCount(list376, num2); - Span span158 = CollectionsMarshal.AsSpan(list376); - span158[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - ref QuestStep reference279 = ref span158[1]; - QuestStep questStep17 = new QuestStep(EInteractionType.CompleteQuest, 1013470u, new Vector3(218.00562f, 222f, 346.45605f), 155); - num3 = 1; - List list377 = new List(num3); - CollectionsMarshal.SetCount(list377, num3); - CollectionsMarshal.AsSpan(list377)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBDRG560_01693_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBDRG560_01693_A1_000_002") - }; - questStep17.DialogueChoices = list377; - reference279 = questStep17; - obj270.Steps = list376; - reference278 = obj270; - questRoot43.QuestSequence = list369; - AddQuest(questId43, questRoot43); - QuestId questId44 = new QuestId(1694); - QuestRoot questRoot44 = new QuestRoot(); - num = 1; - List list378 = new List(num); - CollectionsMarshal.SetCount(list378, num); - CollectionsMarshal.AsSpan(list378)[0] = "AnimaMachinae"; - questRoot44.Author = list378; - num = 6; - List list379 = new List(num); - CollectionsMarshal.SetCount(list379, num); - Span span159 = CollectionsMarshal.AsSpan(list379); - ref QuestSequence reference280 = ref span159[0]; - QuestSequence obj271 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list380 = new List(num2); - CollectionsMarshal.SetCount(list380, num2); - Span span160 = CollectionsMarshal.AsSpan(list380); - span160[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span160[1] = new QuestStep(EInteractionType.AcceptQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155); - obj271.Steps = list380; - reference280 = obj271; - ref QuestSequence reference281 = ref span159[1]; - QuestSequence obj272 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list381 = new List(num2); - CollectionsMarshal.SetCount(list381, num2); - CollectionsMarshal.AsSpan(list381)[0] = new QuestStep(EInteractionType.Interact, 1013471u, new Vector3(503.53247f, -51.363117f, 79.941895f), 398) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - obj272.Steps = list381; - reference281 = obj272; - ref QuestSequence reference282 = ref span159[2]; - QuestSequence obj273 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list382 = new List(num2); - CollectionsMarshal.SetCount(list382, num2); - ref QuestStep reference283 = ref CollectionsMarshal.AsSpan(list382)[0]; - QuestStep obj274 = new QuestStep(EInteractionType.Combat, 1013472u, new Vector3(396.35315f, -50.87535f, 73.04492f), 398) - { - Fly = true, - Land = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list383 = new List(num3); - CollectionsMarshal.SetCount(list383, num3); - CollectionsMarshal.AsSpan(list383)[0] = 4497u; - obj274.KillEnemyDataIds = list383; - reference283 = obj274; - obj273.Steps = list382; - reference282 = obj273; - ref QuestSequence reference284 = ref span159[3]; - QuestSequence obj275 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list384 = new List(num2); - CollectionsMarshal.SetCount(list384, num2); - CollectionsMarshal.AsSpan(list384)[0] = new QuestStep(EInteractionType.Interact, 1013471u, new Vector3(503.53247f, -51.363117f, 79.941895f), 398) - { - Fly = true, - Land = true - }; - obj275.Steps = list384; - reference284 = obj275; - ref QuestSequence reference285 = ref span159[4]; - QuestSequence obj276 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list385 = new List(num2); - CollectionsMarshal.SetCount(list385, num2); - CollectionsMarshal.AsSpan(list385)[0] = new QuestStep(EInteractionType.Interact, 1013476u, new Vector3(571.5571f, -36.290947f, 359.3651f), 398) - { - Fly = true, - Land = true - }; - obj276.Steps = list385; - reference285 = obj276; - ref QuestSequence reference286 = ref span159[5]; - QuestSequence obj277 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list386 = new List(num2); - CollectionsMarshal.SetCount(list386, num2); - Span span161 = CollectionsMarshal.AsSpan(list386); - span161[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span161[1] = new QuestStep(EInteractionType.CompleteQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155) - { - NextQuestId = new QuestId(1690) - }; - obj277.Steps = list386; - reference286 = obj277; - questRoot44.QuestSequence = list379; - AddQuest(questId44, questRoot44); - QuestId questId45 = new QuestId(1695); - QuestRoot questRoot45 = new QuestRoot(); - num = 1; - List list387 = new List(num); - CollectionsMarshal.SetCount(list387, num); - CollectionsMarshal.AsSpan(list387)[0] = "AnimaMachinae"; - questRoot45.Author = list387; - num = 6; - List list388 = new List(num); - CollectionsMarshal.SetCount(list388, num); - Span span162 = CollectionsMarshal.AsSpan(list388); - ref QuestSequence reference287 = ref span162[0]; - QuestSequence obj278 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list389 = new List(num2); - CollectionsMarshal.SetCount(list389, num2); - Span span163 = CollectionsMarshal.AsSpan(list389); - span163[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span163[1] = new QuestStep(EInteractionType.AcceptQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155); - obj278.Steps = list389; - reference287 = obj278; - ref QuestSequence reference288 = ref span162[1]; - QuestSequence obj279 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list390 = new List(num2); - CollectionsMarshal.SetCount(list390, num2); - CollectionsMarshal.AsSpan(list390)[0] = new QuestStep(EInteractionType.Interact, 1013483u, new Vector3(-272.26672f, 124.213005f, -23.361572f), 397) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj279.Steps = list390; - reference288 = obj279; - ref QuestSequence reference289 = ref span162[2]; - QuestSequence obj280 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list391 = new List(num2); - CollectionsMarshal.SetCount(list391, num2); - CollectionsMarshal.AsSpan(list391)[0] = new QuestStep(EInteractionType.Interact, 1013485u, new Vector3(-360.1892f, 101.91492f, -178.79004f), 397) - { - Fly = true, - Land = true - }; - obj280.Steps = list391; - reference289 = obj280; - ref QuestSequence reference290 = ref span162[3]; - QuestSequence obj281 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list392 = new List(num2); - CollectionsMarshal.SetCount(list392, num2); - CollectionsMarshal.AsSpan(list392)[0] = new QuestStep(EInteractionType.Interact, 1013489u, new Vector3(-429.099f, 121.59912f, -309.49878f), 397) - { - Fly = true, - Land = true - }; - obj281.Steps = list392; - reference290 = obj281; - ref QuestSequence reference291 = ref span162[4]; - QuestSequence obj282 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list393 = new List(num2); - CollectionsMarshal.SetCount(list393, num2); - CollectionsMarshal.AsSpan(list393)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1013494u, new Vector3(-505.30255f, 120.61159f, -311.39087f), 397) - { - Fly = true, - Land = true - }; - obj282.Steps = list393; - reference291 = obj282; - ref QuestSequence reference292 = ref span162[5]; - QuestSequence obj283 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list394 = new List(num2); - CollectionsMarshal.SetCount(list394, num2); - CollectionsMarshal.AsSpan(list394)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013494u, new Vector3(-505.30255f, 120.61159f, -311.39087f), 397); - obj283.Steps = list394; - reference292 = obj283; - questRoot45.QuestSequence = list388; - AddQuest(questId45, questRoot45); - QuestId questId46 = new QuestId(1696); - QuestRoot questRoot46 = new QuestRoot(); - num = 1; - List list395 = new List(num); - CollectionsMarshal.SetCount(list395, num); - CollectionsMarshal.AsSpan(list395)[0] = "liza"; - questRoot46.Author = list395; - num = 6; - List list396 = new List(num); - CollectionsMarshal.SetCount(list396, num); - Span span164 = CollectionsMarshal.AsSpan(list396); - ref QuestSequence reference293 = ref span164[0]; - QuestSequence obj284 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list397 = new List(num2); - CollectionsMarshal.SetCount(list397, num2); - CollectionsMarshal.AsSpan(list397)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj284.Steps = list397; - reference293 = obj284; - ref QuestSequence reference294 = ref span164[1]; - QuestSequence obj285 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list398 = new List(num2); - CollectionsMarshal.SetCount(list398, num2); - ref QuestStep reference295 = ref CollectionsMarshal.AsSpan(list398)[0]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418); - num3 = 1; - List list399 = new List(num3); - CollectionsMarshal.SetCount(list399, num3); - CollectionsMarshal.AsSpan(list399)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBMCH300_01696_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBMCH300_01696_A1_000_001") - }; - questStep18.DialogueChoices = list399; - reference295 = questStep18; - obj285.Steps = list398; - reference294 = obj285; - ref QuestSequence reference296 = ref span164[2]; - QuestSequence obj286 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list400 = new List(num2); - CollectionsMarshal.SetCount(list400, num2); - CollectionsMarshal.AsSpan(list400)[0] = new QuestStep(EInteractionType.Interact, 1014731u, new Vector3(-73.16705f, 64.608665f, -248.0965f), 180) - { - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - obj286.Steps = list400; - reference296 = obj286; - ref QuestSequence reference297 = ref span164[3]; - QuestSequence obj287 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list401 = new List(num2); - CollectionsMarshal.SetCount(list401, num2); - Span span165 = CollectionsMarshal.AsSpan(list401); - ref QuestStep reference298 = ref span165[0]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 1014733u, new Vector3(-98.435974f, 64.488625f, -215.56421f), 180); - num3 = 6; - List list402 = new List(num3); - CollectionsMarshal.SetCount(list402, num3); - Span span166 = CollectionsMarshal.AsSpan(list402); - span166[0] = null; - span166[1] = null; - span166[2] = null; - span166[3] = null; - span166[4] = null; - span166[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list402; - reference298 = questStep19; - ref QuestStep reference299 = ref span165[1]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 1014735u, new Vector3(-112.62689f, 64.39167f, -200.12213f), 180); - num3 = 6; - List list403 = new List(num3); - CollectionsMarshal.SetCount(list403, num3); - Span span167 = CollectionsMarshal.AsSpan(list403); - span167[0] = null; - span167[1] = null; - span167[2] = null; - span167[3] = null; - span167[4] = null; - span167[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep20.CompletionQuestVariablesFlags = list403; - reference299 = questStep20; - ref QuestStep reference300 = ref span165[2]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1014734u, new Vector3(-147.81415f, 64.37568f, -220.56921f), 180); - num3 = 6; - List list404 = new List(num3); - CollectionsMarshal.SetCount(list404, num3); - Span span168 = CollectionsMarshal.AsSpan(list404); - span168[0] = null; - span168[1] = null; - span168[2] = null; - span168[3] = null; - span168[4] = null; - span168[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep21.CompletionQuestVariablesFlags = list404; - reference300 = questStep21; - obj287.Steps = list401; - reference297 = obj287; - ref QuestSequence reference301 = ref span164[4]; - QuestSequence obj288 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list405 = new List(num2); - CollectionsMarshal.SetCount(list405, num2); - CollectionsMarshal.AsSpan(list405)[0] = new QuestStep(EInteractionType.Interact, 1014731u, new Vector3(-73.16705f, 64.608665f, -248.0965f), 180); - obj288.Steps = list405; - reference301 = obj288; - ref QuestSequence reference302 = ref span164[5]; - QuestSequence obj289 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list406 = new List(num2); - CollectionsMarshal.SetCount(list406, num2); - CollectionsMarshal.AsSpan(list406)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014736u, new Vector3(-99.25995f, 62.382347f, -182.78784f), 180) - { - NextQuestId = new QuestId(1697) - }; - obj289.Steps = list406; - reference302 = obj289; - questRoot46.QuestSequence = list396; - AddQuest(questId46, questRoot46); - QuestId questId47 = new QuestId(1697); - QuestRoot questRoot47 = new QuestRoot(); - num = 1; - List list407 = new List(num); - CollectionsMarshal.SetCount(list407, num); - CollectionsMarshal.AsSpan(list407)[0] = "liza"; - questRoot47.Author = list407; - num = 3; - List list408 = new List(num); - CollectionsMarshal.SetCount(list408, num); - Span span169 = CollectionsMarshal.AsSpan(list408); - ref QuestSequence reference303 = ref span169[0]; - QuestSequence obj290 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list409 = new List(num2); - CollectionsMarshal.SetCount(list409, num2); - Span span170 = CollectionsMarshal.AsSpan(list409); - span170[0] = new QuestStep(EInteractionType.EquipItem, null, null, 180) - { - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - ItemId = 10462u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span170[1] = new QuestStep(EInteractionType.EquipRecommended, null, null, 180); - span170[2] = new QuestStep(EInteractionType.AcceptQuest, 1014739u, new Vector3(-97.33734f, 62.55459f, -175.34143f), 180); - obj290.Steps = list409; - reference303 = obj290; - ref QuestSequence reference304 = ref span169[1]; - QuestSequence obj291 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list410 = new List(num2); - CollectionsMarshal.SetCount(list410, num2); - CollectionsMarshal.AsSpan(list410)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1014742u, new Vector3(-230.30444f, 63.88775f, -257.4655f), 180) - { - Fly = true - }; - obj291.Steps = list410; - reference304 = obj291; - ref QuestSequence reference305 = ref span169[2]; - QuestSequence obj292 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list411 = new List(num2); - CollectionsMarshal.SetCount(list411, num2); - CollectionsMarshal.AsSpan(list411)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - NextQuestId = new QuestId(1698) - }; - obj292.Steps = list411; - reference305 = obj292; - questRoot47.QuestSequence = list408; - AddQuest(questId47, questRoot47); - QuestId questId48 = new QuestId(1698); - QuestRoot questRoot48 = new QuestRoot(); - num = 1; - List list412 = new List(num); - CollectionsMarshal.SetCount(list412, num); - CollectionsMarshal.AsSpan(list412)[0] = "liza"; - questRoot48.Author = list412; - num = 8; - List list413 = new List(num); - CollectionsMarshal.SetCount(list413, num); - Span span171 = CollectionsMarshal.AsSpan(list413); - ref QuestSequence reference306 = ref span171[0]; - QuestSequence obj293 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list414 = new List(num2); - CollectionsMarshal.SetCount(list414, num2); - CollectionsMarshal.AsSpan(list414)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj293.Steps = list414; - reference306 = obj293; - ref QuestSequence reference307 = ref span171[1]; - QuestSequence obj294 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list415 = new List(num2); - CollectionsMarshal.SetCount(list415, num2); - CollectionsMarshal.AsSpan(list415)[0] = new QuestStep(EInteractionType.Interact, 1014745u, new Vector3(-205.82898f, 45.803963f, 517.20447f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport - }; - obj294.Steps = list415; - reference307 = obj294; - ref QuestSequence reference308 = ref span171[2]; - QuestSequence obj295 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list416 = new List(num2); - CollectionsMarshal.SetCount(list416, num2); - ref QuestStep reference309 = ref CollectionsMarshal.AsSpan(list416)[0]; - QuestStep obj296 = new QuestStep(EInteractionType.Combat, 1014748u, new Vector3(-233.66144f, 44.330624f, 519.09656f), 137) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list417 = new List(num3); - CollectionsMarshal.SetCount(list417, num3); - CollectionsMarshal.AsSpan(list417)[0] = 4476u; - obj296.KillEnemyDataIds = list417; - reference309 = obj296; - obj295.Steps = list416; - reference308 = obj295; - ref QuestSequence reference310 = ref span171[3]; - QuestSequence obj297 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list418 = new List(num2); - CollectionsMarshal.SetCount(list418, num2); - Span span172 = CollectionsMarshal.AsSpan(list418); - span172[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-235.98387f, 44.330624f, 540.6855f), 137); - ref QuestStep reference311 = ref span172[1]; - QuestStep obj298 = new QuestStep(EInteractionType.Combat, 1014749u, new Vector3(-234.02765f, 44.330624f, 539.81836f), 137) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list419 = new List(num3); - CollectionsMarshal.SetCount(list419, num3); - CollectionsMarshal.AsSpan(list419)[0] = 4477u; - obj298.KillEnemyDataIds = list419; - reference311 = obj298; - obj297.Steps = list418; - reference310 = obj297; - ref QuestSequence reference312 = ref span171[4]; - QuestSequence obj299 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list420 = new List(num2); - CollectionsMarshal.SetCount(list420, num2); - ref QuestStep reference313 = ref CollectionsMarshal.AsSpan(list420)[0]; - QuestStep obj300 = new QuestStep(EInteractionType.Combat, 1014745u, new Vector3(-205.82898f, 45.803963f, 517.20447f), 137) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list421 = new List(num3); - CollectionsMarshal.SetCount(list421, num3); - CollectionsMarshal.AsSpan(list421)[0] = 321u; - obj300.KillEnemyDataIds = list421; - reference313 = obj300; - obj299.Steps = list420; - reference312 = obj299; - ref QuestSequence reference314 = ref span171[5]; - QuestSequence obj301 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list422 = new List(num2); - CollectionsMarshal.SetCount(list422, num2); - CollectionsMarshal.AsSpan(list422)[0] = new QuestStep(EInteractionType.Interact, 1014745u, new Vector3(-205.82898f, 45.803963f, 517.20447f), 137); - obj301.Steps = list422; - reference314 = obj301; - ref QuestSequence reference315 = ref span171[6]; - QuestSequence obj302 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list423 = new List(num2); - CollectionsMarshal.SetCount(list423, num2); - CollectionsMarshal.AsSpan(list423)[0] = new QuestStep(EInteractionType.Interact, 1014748u, new Vector3(-233.66144f, 44.330624f, 519.09656f), 137); - obj302.Steps = list423; - reference315 = obj302; - ref QuestSequence reference316 = ref span171[7]; - QuestSequence obj303 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list424 = new List(num2); - CollectionsMarshal.SetCount(list424, num2); - CollectionsMarshal.AsSpan(list424)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - NextQuestId = new QuestId(1699) - }; - obj303.Steps = list424; - reference316 = obj303; - questRoot48.QuestSequence = list413; - AddQuest(questId48, questRoot48); - QuestId questId49 = new QuestId(1699); - QuestRoot questRoot49 = new QuestRoot(); - num = 1; - List list425 = new List(num); - CollectionsMarshal.SetCount(list425, num); - CollectionsMarshal.AsSpan(list425)[0] = "liza"; - questRoot49.Author = list425; - num = 2; - List list426 = new List(num); - CollectionsMarshal.SetCount(list426, num); - Span span173 = CollectionsMarshal.AsSpan(list426); - ref QuestSequence reference317 = ref span173[0]; - QuestSequence obj304 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list427 = new List(num2); - CollectionsMarshal.SetCount(list427, num2); - CollectionsMarshal.AsSpan(list427)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj304.Steps = list427; - reference317 = obj304; - ref QuestSequence reference318 = ref span173[1]; - QuestSequence obj305 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list428 = new List(num2); - CollectionsMarshal.SetCount(list428, num2); - CollectionsMarshal.AsSpan(list428)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - NextQuestId = new QuestId(1700) - }; - obj305.Steps = list428; - reference318 = obj305; - questRoot49.QuestSequence = list426; - AddQuest(questId49, questRoot49); - } - - private static void LoadQuests34() - { - QuestId questId = new QuestId(1700); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 8; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1014750u, new Vector3(-98.802185f, 16.0083f, 26.626953f), 418); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - Span span2 = CollectionsMarshal.AsSpan(list5); - ref QuestStep reference4 = ref span2[0]; - QuestStep obj4 = new QuestStep(EInteractionType.Action, 1014752u, new Vector3(-155.59625f, 16.979582f, -38.376526f), 418) - { - StopDistance = 10f, - Action = EAction.SlugShot - }; - int num3 = 6; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - Span span3 = CollectionsMarshal.AsSpan(list6); - span3[0] = null; - span3[1] = null; - span3[2] = null; - span3[3] = null; - span3[4] = null; - span3[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj4.CompletionQuestVariablesFlags = list6; - reference4 = obj4; - ref QuestStep reference5 = ref span2[1]; - QuestStep obj5 = new QuestStep(EInteractionType.Action, 1014753u, new Vector3(52.994507f, 24.071722f, -25.070618f), 418) - { - StopDistance = 10f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSkysteelManufactory, - To = EAetheryteLocation.IshgardForgottenKnight - }, - Action = EAction.SlugShot - }; - num3 = 6; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span4 = CollectionsMarshal.AsSpan(list7); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj5.CompletionQuestVariablesFlags = list7; - reference5 = obj5; - ref QuestStep reference6 = ref span2[2]; - QuestStep obj6 = new QuestStep(EInteractionType.Action, 1014754u, new Vector3(114.18323f, -7.146736f, 83.66516f), 418) - { - StopDistance = 10f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardBrume - }, - Action = EAction.SlugShot - }; - num3 = 6; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - Span span5 = CollectionsMarshal.AsSpan(list8); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj6.CompletionQuestVariablesFlags = list8; - reference6 = obj6; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference7 = ref span[3]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.Interact, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardBrume, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - obj7.Steps = list9; - reference7 = obj7; - ref QuestSequence reference8 = ref span[4]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1014760u, new Vector3(232.6543f, 251.81952f, 127.21448f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj8.Steps = list10; - reference8 = obj8; - ref QuestSequence reference9 = ref span[5]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.Interact, 1014762u, new Vector3(207.44641f, 255.97514f, 82.26135f), 155); - obj9.Steps = list11; - reference9 = obj9; - ref QuestSequence reference10 = ref span[6]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Interact, 1014762u, new Vector3(207.44641f, 255.97514f, 82.26135f), 155); - obj10.Steps = list12; - reference10 = obj10; - ref QuestSequence reference11 = ref span[7]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - NextQuestId = new QuestId(1701) - }; - obj11.Steps = list13; - reference11 = obj11; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(1701); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - CollectionsMarshal.AsSpan(list14)[0] = "liza"; - questRoot2.Author = list14; - num = 2; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - Span span6 = CollectionsMarshal.AsSpan(list15); - ref QuestSequence reference12 = ref span6[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj12.Steps = list16; - reference12 = obj12; - ref QuestSequence reference13 = ref span6[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - NextQuestId = new QuestId(1702) - }; - obj13.Steps = list17; - reference13 = obj13; - questRoot2.QuestSequence = list15; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(1702); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - CollectionsMarshal.AsSpan(list18)[0] = "liza"; - questRoot3.Author = list18; - num = 6; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - Span span7 = CollectionsMarshal.AsSpan(list19); - ref QuestSequence reference14 = ref span7[0]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj14.Steps = list20; - reference14 = obj14; - ref QuestSequence reference15 = ref span7[1]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - ref QuestStep reference16 = ref CollectionsMarshal.AsSpan(list21)[0]; - QuestStep obj16 = new QuestStep(EInteractionType.Interact, 1014769u, new Vector3(-245.4414f, -20.03492f, -63.645386f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSkysteelManufactory, - To = EAetheryteLocation.IshgardJeweledCrozier - } - }; - num3 = 1; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - CollectionsMarshal.AsSpan(list22)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBMCH451_01702_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBMCH451_01702_A1_000_002") - }; - obj16.DialogueChoices = list22; - reference16 = obj16; - obj15.Steps = list21; - reference15 = obj15; - ref QuestSequence reference17 = ref span7[2]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.Interact, 2006262u, new Vector3(-246.357f, -20.035156f, -64.683044f), 419) - { - StopDistance = 4.5f - }; - obj17.Steps = list23; - reference17 = obj17; - ref QuestSequence reference18 = ref span7[3]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - ref QuestStep reference19 = ref CollectionsMarshal.AsSpan(list24)[0]; - QuestStep obj19 = new QuestStep(EInteractionType.Interact, 1014770u, new Vector3(-16.281433f, 16.009666f, -6.668213f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardJeweledCrozier, - To = EAetheryteLocation.IshgardLastVigil - } - }; - num3 = 1; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - CollectionsMarshal.AsSpan(list25)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBMCH451_01702_Q2_000_000"), - Answer = new ExcelRef("TEXT_JOBMCH451_01702_A2_000_001") - }; - obj19.DialogueChoices = list25; - reference19 = obj19; - obj18.Steps = list24; - reference18 = obj18; - ref QuestSequence reference20 = ref span7[4]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1014772u, new Vector3(427.0542f, 15.170297f, 706.72156f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj20.Steps = list26; - reference20 = obj20; - ref QuestSequence reference21 = ref span7[5]; - QuestSequence obj21 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - NextQuestId = new QuestId(1703) - }; - obj21.Steps = list27; - reference21 = obj21; - questRoot3.QuestSequence = list19; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(1703); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - CollectionsMarshal.AsSpan(list28)[0] = "liza"; - questRoot4.Author = list28; - num = 7; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - Span span8 = CollectionsMarshal.AsSpan(list29); - ref QuestSequence reference22 = ref span8[0]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj22.Steps = list30; - reference22 = obj22; - ref QuestSequence reference23 = ref span8[1]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.Interact, 1014775u, new Vector3(-155.6878f, 16.979584f, -38.4375f), 418); - obj23.Steps = list31; - reference23 = obj23; - ref QuestSequence reference24 = ref span8[2]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 1014776u, new Vector3(-138.7503f, 23.240587f, -83.878845f), 418); - obj24.Steps = list32; - reference24 = obj24; - ref QuestSequence reference25 = ref span8[3]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - Span span9 = CollectionsMarshal.AsSpan(list33); - ref QuestStep reference26 = ref span9[0]; - QuestStep obj26 = new QuestStep(EInteractionType.Action, 1014778u, new Vector3(-160.35712f, 26.378231f, -88.9754f), 418) - { - Action = EAction.SlugShot - }; - num3 = 6; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - Span span10 = CollectionsMarshal.AsSpan(list34); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj26.CompletionQuestVariablesFlags = list34; - reference26 = obj26; - ref QuestStep reference27 = ref span9[1]; - QuestStep obj27 = new QuestStep(EInteractionType.Action, 1014779u, new Vector3(-94.31604f, 19.008303f, -16.494995f), 418) - { - Action = EAction.SlugShot - }; - num3 = 6; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - Span span11 = CollectionsMarshal.AsSpan(list35); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj27.CompletionQuestVariablesFlags = list35; - reference27 = obj27; - ref QuestStep reference28 = ref span9[2]; - QuestStep obj28 = new QuestStep(EInteractionType.Action, 1014777u, new Vector3(-133.83691f, 18.94346f, -12.100403f), 418) - { - Action = EAction.SlugShot - }; - num3 = 6; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - Span span12 = CollectionsMarshal.AsSpan(list36); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj28.CompletionQuestVariablesFlags = list36; - reference28 = obj28; - obj25.Steps = list33; - reference25 = obj25; - ref QuestSequence reference29 = ref span8[4]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.Interact, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418); - obj29.Steps = list37; - reference29 = obj29; - ref QuestSequence reference30 = ref span8[5]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.Interact, 1014782u, new Vector3(-151.59845f, 16.979586f, -22.720703f), 418); - obj30.Steps = list38; - reference30 = obj30; - ref QuestSequence reference31 = ref span8[6]; - QuestSequence obj31 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - NextQuestId = new QuestId(1704) - }; - obj31.Steps = list39; - reference31 = obj31; - questRoot4.QuestSequence = list29; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(1704); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - CollectionsMarshal.AsSpan(list40)[0] = "liza"; - questRoot5.Author = list40; - num = 5; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - Span span13 = CollectionsMarshal.AsSpan(list41); - ref QuestSequence reference32 = ref span13[0]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj32.Steps = list42; - reference32 = obj32; - ref QuestSequence reference33 = ref span13[1]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.Interact, 1014784u, new Vector3(224.29236f, 302f, -276.84448f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj33.Steps = list43; - reference33 = obj33; - ref QuestSequence reference34 = ref span13[2]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1014784u, new Vector3(224.29236f, 302f, -276.84448f), 155); - obj34.Steps = list44; - reference34 = obj34; - ref QuestSequence reference35 = ref span13[3]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.Interact, 1014788u, new Vector3(222.06445f, 302f, -189.01355f), 155) - { - StopDistance = 5f - }; - obj35.Steps = list45; - reference35 = obj35; - ref QuestSequence reference36 = ref span13[4]; - QuestSequence obj36 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - NextQuestId = new QuestId(1705) - }; - obj36.Steps = list46; - reference36 = obj36; - questRoot5.QuestSequence = list41; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(1705); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - CollectionsMarshal.AsSpan(list47)[0] = "liza"; - questRoot6.Author = list47; - num = 4; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - Span span14 = CollectionsMarshal.AsSpan(list48); - ref QuestSequence reference37 = ref span14[0]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj37.Steps = list49; - reference37 = obj37; - ref QuestSequence reference38 = ref span14[1]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.Interact, 1014793u, new Vector3(-139.48273f, 19.236662f, -11.978394f), 418); - obj38.Steps = list50; - reference38 = obj38; - ref QuestSequence reference39 = ref span14[2]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.Interact, 1014795u, new Vector3(-18.265076f, 16.009666f, -7.5532227f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSkysteelManufactory, - To = EAetheryteLocation.IshgardLastVigil - } - }; - obj39.Steps = list51; - reference39 = obj39; - ref QuestSequence reference40 = ref span14[3]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014796u, new Vector3(-152.88019f, 16.999998f, -52.903076f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardLastVigil, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - NextQuestId = new QuestId(1706) - }; - obj40.Steps = list52; - reference40 = obj40; - questRoot6.QuestSequence = list48; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(1706); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - CollectionsMarshal.AsSpan(list53)[0] = "liza"; - questRoot7.Author = list53; - num = 7; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - Span span15 = CollectionsMarshal.AsSpan(list54); - ref QuestSequence reference41 = ref span15[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj41.Steps = list55; - reference41 = obj41; - ref QuestSequence reference42 = ref span15[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - Span span16 = CollectionsMarshal.AsSpan(list56); - ref QuestStep reference43 = ref span16[0]; - QuestStep obj43 = new QuestStep(EInteractionType.Combat, null, new Vector3(-461.6901f, -4.0053887f, -292.6277f), 156) - { - StopDistance = 0.5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - CollectionsMarshal.AsSpan(list57)[0] = 201u; - obj43.KillEnemyDataIds = list57; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list58 = new List(num3); - CollectionsMarshal.SetCount(list58, num3); - Span span17 = CollectionsMarshal.AsSpan(list58); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list58; - skipConditions.StepIf = skipStepConditions; - skipConditions.AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj43.SkipConditions = skipConditions; - reference43 = obj43; - ref QuestStep reference44 = ref span16[1]; - QuestStep obj44 = new QuestStep(EInteractionType.Interact, 2006271u, new Vector3(-462.7909f, -2.7619019f, -289.4179f), 156) - { - StopDistance = 4.5f - }; - num3 = 6; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - Span span18 = CollectionsMarshal.AsSpan(list59); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj44.CompletionQuestVariablesFlags = list59; - reference44 = obj44; - ref QuestStep reference45 = ref span16[2]; - QuestStep obj45 = new QuestStep(EInteractionType.Combat, null, new Vector3(-567.30835f, -3.9906769f, -334.9877f), 156) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - Span span19 = CollectionsMarshal.AsSpan(list60); - span19[0] = 5039u; - span19[1] = 5040u; - span19[2] = 5041u; - obj45.KillEnemyDataIds = list60; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - Span span20 = CollectionsMarshal.AsSpan(list61); - span20[0] = null; - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list61; - skipConditions2.StepIf = skipStepConditions2; - obj45.SkipConditions = skipConditions2; - reference45 = obj45; - ref QuestStep reference46 = ref span16[3]; - QuestStep obj46 = new QuestStep(EInteractionType.Interact, 2006270u, new Vector3(-570.4891f, -2.8840332f, -334.76776f), 156) - { - StopDistance = 4.5f - }; - num3 = 6; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - Span span21 = CollectionsMarshal.AsSpan(list62); - span21[0] = null; - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj46.CompletionQuestVariablesFlags = list62; - reference46 = obj46; - ref QuestStep reference47 = ref span16[4]; - QuestStep obj47 = new QuestStep(EInteractionType.Combat, null, new Vector3(-660.1279f, -2.9330442f, -366.86145f), 156) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - Span span22 = CollectionsMarshal.AsSpan(list63); - span22[0] = 4472u; - span22[1] = 4473u; - obj47.KillEnemyDataIds = list63; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - Span span23 = CollectionsMarshal.AsSpan(list64); - span23[0] = null; - span23[1] = null; - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list64; - skipConditions3.StepIf = skipStepConditions3; - obj47.SkipConditions = skipConditions3; - reference47 = obj47; - ref QuestStep reference48 = ref span16[5]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2006269u, new Vector3(-661.3413f, -1.6937866f, -367.8188f), 156); - num3 = 6; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - Span span24 = CollectionsMarshal.AsSpan(list65); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list65; - reference48 = questStep; - obj42.Steps = list56; - reference42 = obj42; - ref QuestSequence reference49 = ref span15[2]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.Interact, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - obj48.Steps = list66; - reference49 = obj48; - ref QuestSequence reference50 = ref span15[3]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - Span span25 = CollectionsMarshal.AsSpan(list67); - ref QuestStep reference51 = ref span25[0]; - QuestStep obj50 = new QuestStep(EInteractionType.Interact, 1014801u, new Vector3(16.220276f, -12.02089f, 49.454468f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSkysteelManufactory, - To = EAetheryteLocation.IshgardBrume - } - }; - num3 = 6; - List list68 = new List(num3); - CollectionsMarshal.SetCount(list68, num3); - Span span26 = CollectionsMarshal.AsSpan(list68); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj50.CompletionQuestVariablesFlags = list68; - reference51 = obj50; - ref QuestStep reference52 = ref span25[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1014800u, new Vector3(58.182617f, -12.020877f, 79.81995f), 418); - num3 = 6; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - Span span27 = CollectionsMarshal.AsSpan(list69); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list69; - reference52 = questStep2; - ref QuestStep reference53 = ref span25[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1014799u, new Vector3(114.88513f, -19.787056f, 62.57715f), 418); - num3 = 6; - List list70 = new List(num3); - CollectionsMarshal.SetCount(list70, num3); - Span span28 = CollectionsMarshal.AsSpan(list70); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list70; - reference53 = questStep3; - obj49.Steps = list67; - reference50 = obj49; - ref QuestSequence reference54 = ref span15[4]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.Interact, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - StopDistance = 5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardBrume, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - obj51.Steps = list71; - reference54 = obj51; - ref QuestSequence reference55 = ref span15[5]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.Interact, 2006272u, new Vector3(483.97034f, 212.51233f, 726.8329f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj52.Steps = list72; - reference55 = obj52; - ref QuestSequence reference56 = ref span15[6]; - QuestSequence obj53 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - ref QuestStep reference57 = ref CollectionsMarshal.AsSpan(list73)[0]; - QuestStep obj54 = new QuestStep(EInteractionType.CompleteQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - num3 = 1; - List list74 = new List(num3); - CollectionsMarshal.SetCount(list74, num3); - CollectionsMarshal.AsSpan(list74)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBMCH520_01706_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBMCH520_01706_A1_000_001") - }; - obj54.DialogueChoices = list74; - obj54.NextQuestId = new QuestId(1707); - reference57 = obj54; - obj53.Steps = list73; - reference56 = obj53; - questRoot7.QuestSequence = list54; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(1707); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - CollectionsMarshal.AsSpan(list75)[0] = "liza"; - questRoot8.Author = list75; - num = 7; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - Span span29 = CollectionsMarshal.AsSpan(list76); - ref QuestSequence reference58 = ref span29[0]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj55.Steps = list77; - reference58 = obj55; - ref QuestSequence reference59 = ref span29[1]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.Interact, 1014805u, new Vector3(482.96326f, 212.5841f, 724.7882f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj56.Steps = list78; - reference59 = obj56; - ref QuestSequence reference60 = ref span29[2]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.Interact, 1014809u, new Vector3(114.335815f, -19.787056f, 61.81433f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardBrume - } - }; - obj57.Steps = list79; - reference60 = obj57; - ref QuestSequence reference61 = ref span29[3]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.Action, 1014810u, new Vector3(117.17395f, -22.017334f, 32.791626f), 418) - { - StopDistance = 10f, - Action = EAction.SlugShot - }; - obj58.Steps = list80; - reference61 = obj58; - ref QuestSequence reference62 = ref span29[4]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1014811u, new Vector3(319.69165f, 161.10796f, 147.44788f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj59.Steps = list81; - reference62 = obj59; - ref QuestSequence reference63 = ref span29[5]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.Interact, 1014816u, new Vector3(397.05493f, 161.18224f, -98.10034f), 397) - { - StopDistance = 5f - }; - obj60.Steps = list82; - reference63 = obj60; - ref QuestSequence reference64 = ref span29[6]; - QuestSequence obj61 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - NextQuestId = new QuestId(1708) - }; - obj61.Steps = list83; - reference64 = obj61; - questRoot8.QuestSequence = list76; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(1708); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - CollectionsMarshal.AsSpan(list84)[0] = "liza"; - questRoot9.Author = list84; - num = 8; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - Span span30 = CollectionsMarshal.AsSpan(list85); - ref QuestSequence reference65 = ref span30[0]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj62.Steps = list86; - reference65 = obj62; - ref QuestSequence reference66 = ref span30[1]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.Interact, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418); - obj63.Steps = list87; - reference66 = obj63; - ref QuestSequence reference67 = ref span30[2]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 1014822u, new Vector3(95.20105f, 15.000009f, 25.345215f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSkysteelManufactory, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj64.Steps = list88; - reference67 = obj64; - ref QuestSequence reference68 = ref span30[3]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Interact, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - obj65.Steps = list89; - reference68 = obj65; - ref QuestSequence reference69 = ref span30[4]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.Interact, 1014823u, new Vector3(490.37915f, -51.13661f, 29.587158f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - obj66.Steps = list90; - reference69 = obj66; - ref QuestSequence reference70 = ref span30[5]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - ref QuestStep reference71 = ref CollectionsMarshal.AsSpan(list91)[0]; - QuestStep obj68 = new QuestStep(EInteractionType.Combat, 1014825u, new Vector3(576.4706f, -37.673805f, -134.78296f), 398) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - Span span31 = CollectionsMarshal.AsSpan(list92); - span31[0] = 5042u; - span31[1] = 5045u; - obj68.KillEnemyDataIds = list92; - reference71 = obj68; - obj67.Steps = list91; - reference70 = obj67; - ref QuestSequence reference72 = ref span30[6]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.Interact, 1014829u, new Vector3(578.5762f, -37.88608f, -132.55518f), 398) - { - StopDistance = 7f - }; - obj69.Steps = list93; - reference72 = obj69; - ref QuestSequence reference73 = ref span30[7]; - QuestSequence obj70 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - NextQuestId = new QuestId(1710) - }; - obj70.Steps = list94; - reference73 = obj70; - questRoot9.QuestSequence = list85; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(1709); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list95 = new List(num); - CollectionsMarshal.SetCount(list95, num); - CollectionsMarshal.AsSpan(list95)[0] = "JerryWester"; - questRoot10.Author = list95; - num = 7; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - Span span32 = CollectionsMarshal.AsSpan(list96); - ref QuestSequence reference74 = ref span32[0]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.AcceptQuest, 1007753u, new Vector3(17.990356f, 20.385572f, -665.79694f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj71.Steps = list97; - reference74 = obj71; - ref QuestSequence reference75 = ref span32[1]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - Span span33 = CollectionsMarshal.AsSpan(list98); - span33[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(445.96164f, -5.3604937f, -466.67636f), 156) - { - Fly = true - }; - span33[1] = new QuestStep(EInteractionType.Interact, 1006725u, new Vector3(446.82983f, -5.306207f, -465.72064f), 156); - obj72.Steps = list98; - reference75 = obj72; - ref QuestSequence reference76 = ref span32[2]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 1006725u, new Vector3(446.82983f, -5.306207f, -465.72064f), 156); - obj73.Steps = list99; - reference76 = obj73; - ref QuestSequence reference77 = ref span32[3]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 3 - }; - num2 = 10; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - Span span34 = CollectionsMarshal.AsSpan(list100); - ref QuestStep reference78 = ref span34[0]; - QuestStep obj75 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(287.2875f, 41.545933f, -200.75758f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - Span span35 = CollectionsMarshal.AsSpan(list101); - span35[0] = null; - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list101; - skipConditions4.StepIf = skipStepConditions4; - obj75.SkipConditions = skipConditions4; - reference78 = obj75; - ref QuestStep reference79 = ref span34[1]; - QuestStep obj76 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(285.82883f, 42.26685f, -203.32939f), 139) - { - TargetTerritoryId = (ushort)180 - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 6; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - Span span36 = CollectionsMarshal.AsSpan(list102); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions5.CompletionQuestVariablesFlags = list102; - skipConditions5.StepIf = skipStepConditions5; - obj76.SkipConditions = skipConditions5; - reference79 = obj76; - ref QuestStep reference80 = ref span34[2]; - QuestStep obj77 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-114.35803f, 64.464615f, -217.34372f), 180) - { - Fly = true - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 6; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - Span span37 = CollectionsMarshal.AsSpan(list103); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions6.CompletionQuestVariablesFlags = list103; - skipConditions6.StepIf = skipStepConditions6; - obj77.SkipConditions = skipConditions6; - reference80 = obj77; - ref QuestStep reference81 = ref span34[3]; - QuestStep obj78 = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 180) - { - Aetheryte = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 6; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - Span span38 = CollectionsMarshal.AsSpan(list104); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions7.CompletionQuestVariablesFlags = list104; - skipConditions7.StepIf = skipStepConditions7; - obj78.SkipConditions = skipConditions7; - reference81 = obj78; - ref QuestStep reference82 = ref span34[4]; - QuestStep obj79 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(72.39681f, 58.74831f, -517.9883f), 180) - { - Fly = true - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions8 = new SkipStepConditions(); - num3 = 6; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - Span span39 = CollectionsMarshal.AsSpan(list105); - span39[0] = null; - span39[1] = null; - span39[2] = null; - span39[3] = null; - span39[4] = null; - span39[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions8.CompletionQuestVariablesFlags = list105; - skipConditions8.StepIf = skipStepConditions8; - obj79.SkipConditions = skipConditions8; - reference82 = obj79; - ref QuestStep reference83 = ref span34[5]; - QuestStep obj80 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(111.84353f, 28.346682f, -610.36945f), 180) - { - Fly = true - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions9 = new SkipStepConditions(); - num3 = 6; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - Span span40 = CollectionsMarshal.AsSpan(list106); - span40[0] = null; - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions9.CompletionQuestVariablesFlags = list106; - skipConditions9.StepIf = skipStepConditions9; - obj80.SkipConditions = skipConditions9; - reference83 = obj80; - ref QuestStep reference84 = ref span34[6]; - QuestStep questStep4 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(102.67392f, 21.581085f, -633.5837f), 180); - SkipConditions skipConditions10 = new SkipConditions(); - SkipStepConditions skipStepConditions10 = new SkipStepConditions(); - num3 = 6; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - Span span41 = CollectionsMarshal.AsSpan(list107); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions10.CompletionQuestVariablesFlags = list107; - skipConditions10.StepIf = skipStepConditions10; - questStep4.SkipConditions = skipConditions10; - reference84 = questStep4; - ref QuestStep reference85 = ref span34[7]; - QuestStep obj81 = new QuestStep(EInteractionType.Combat, 2000075u, new Vector3(102.15906f, 21.560913f, -632.8679f), 180) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - CollectionsMarshal.AsSpan(list108)[0] = 9487u; - obj81.KillEnemyDataIds = list108; - num3 = 6; - List list109 = new List(num3); - CollectionsMarshal.SetCount(list109, num3); - Span span42 = CollectionsMarshal.AsSpan(list109); - span42[0] = null; - span42[1] = null; - span42[2] = null; - span42[3] = null; - span42[4] = null; - span42[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj81.CompletionQuestVariablesFlags = list109; - reference85 = obj81; - ref QuestStep reference86 = ref span34[8]; - QuestStep obj82 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-487.1432f, -32.409756f, -369.94928f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipStepConditions skipStepConditions11 = new SkipStepConditions(); - num3 = 6; - List list110 = new List(num3); - CollectionsMarshal.SetCount(list110, num3); - Span span43 = CollectionsMarshal.AsSpan(list110); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions11.CompletionQuestVariablesFlags = list110; - skipConditions11.StepIf = skipStepConditions11; - obj82.SkipConditions = skipConditions11; - reference86 = obj82; - ref QuestStep reference87 = ref span34[9]; - QuestStep obj83 = new QuestStep(EInteractionType.Combat, 2000076u, new Vector3(-486.86963f, -32.455933f, -368.8258f), 138) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list111 = new List(num3); - CollectionsMarshal.SetCount(list111, num3); - CollectionsMarshal.AsSpan(list111)[0] = 9488u; - obj83.KillEnemyDataIds = list111; - num3 = 6; - List list112 = new List(num3); - CollectionsMarshal.SetCount(list112, num3); - Span span44 = CollectionsMarshal.AsSpan(list112); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj83.CompletionQuestVariablesFlags = list112; - reference87 = obj83; - obj74.Steps = list100; - reference77 = obj74; - ref QuestSequence reference88 = ref span32[4]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - Span span45 = CollectionsMarshal.AsSpan(list113); - span45[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(446.57513f, -5.352314f, -466.78467f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span45[1] = new QuestStep(EInteractionType.Interact, 1006725u, new Vector3(446.82983f, -5.306207f, -465.72064f), 156); - obj84.Steps = list113; - reference88 = obj84; - ref QuestSequence reference89 = ref span32[5]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 5 - }; - num2 = 4; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - Span span46 = CollectionsMarshal.AsSpan(list114); - span46[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-155.21196f, 46.52775f, -319.86398f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - span46[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(3.8795898f, 38.80212f, 0.40251642f), 146) - { - Fly = true - }; - ref QuestStep reference90 = ref span46[2]; - QuestStep obj86 = new QuestStep(EInteractionType.Combat, 2000077u, new Vector3(233.3562f, 7.9804688f, -22.720703f), 146) - { - DisableNavmesh = true, - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list115 = new List(num3); - CollectionsMarshal.SetCount(list115, num3); - CollectionsMarshal.AsSpan(list115)[0] = 9489u; - obj86.KillEnemyDataIds = list115; - num3 = 6; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - Span span47 = CollectionsMarshal.AsSpan(list116); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj86.CompletionQuestVariablesFlags = list116; - reference90 = obj86; - ref QuestStep reference91 = ref span46[3]; - QuestStep obj87 = new QuestStep(EInteractionType.Combat, 2000078u, new Vector3(613.5499f, 301.8081f, -101.42676f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - CollectionsMarshal.AsSpan(list117)[0] = 9490u; - obj87.KillEnemyDataIds = list117; - num3 = 6; - List list118 = new List(num3); - CollectionsMarshal.SetCount(list118, num3); - Span span48 = CollectionsMarshal.AsSpan(list118); - span48[0] = null; - span48[1] = null; - span48[2] = null; - span48[3] = null; - span48[4] = null; - span48[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj87.CompletionQuestVariablesFlags = list118; - reference91 = obj87; - obj85.Steps = list114; - reference89 = obj85; - ref QuestSequence reference92 = ref span32[6]; - QuestSequence obj88 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - Span span49 = CollectionsMarshal.AsSpan(list119); - span49[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(446.49927f, -5.364953f, -467.05328f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span49[1] = new QuestStep(EInteractionType.CompleteQuest, 1006725u, new Vector3(446.82983f, -5.306207f, -465.72064f), 156) - { - NextQuestId = new QuestId(1200) - }; - obj88.Steps = list119; - reference92 = obj88; - questRoot10.QuestSequence = list96; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(1710); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list120 = new List(num); - CollectionsMarshal.SetCount(list120, num); - CollectionsMarshal.AsSpan(list120)[0] = "liza"; - questRoot11.Author = list120; - num = 4; - List list121 = new List(num); - CollectionsMarshal.SetCount(list121, num); - Span span50 = CollectionsMarshal.AsSpan(list121); - ref QuestSequence reference93 = ref span50[0]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj89.Steps = list122; - reference93 = obj89; - ref QuestSequence reference94 = ref span50[1]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.Interact, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418); - obj90.Steps = list123; - reference94 = obj90; - ref QuestSequence reference95 = ref span50[2]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - Span span51 = CollectionsMarshal.AsSpan(list124); - ref QuestStep reference96 = ref span51[0]; - QuestStep obj92 = new QuestStep(EInteractionType.Combat, null, new Vector3(306.3128f, 70.876f, -411.73788f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list125 = new List(num3); - CollectionsMarshal.SetCount(list125, num3); - CollectionsMarshal.AsSpan(list125)[0] = 4484u; - obj92.KillEnemyDataIds = list125; - SkipConditions skipConditions12 = new SkipConditions(); - SkipStepConditions skipStepConditions12 = new SkipStepConditions(); - num3 = 6; - List list126 = new List(num3); - CollectionsMarshal.SetCount(list126, num3); - Span span52 = CollectionsMarshal.AsSpan(list126); - span52[0] = null; - span52[1] = null; - span52[2] = null; - span52[3] = null; - span52[4] = null; - span52[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions12.CompletionQuestVariablesFlags = list126; - skipConditions12.StepIf = skipStepConditions12; - obj92.SkipConditions = skipConditions12; - reference96 = obj92; - ref QuestStep reference97 = ref span51[1]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2006274u, new Vector3(305.0736f, 71.06128f, -413.44324f), 401); - num3 = 6; - List list127 = new List(num3); - CollectionsMarshal.SetCount(list127, num3); - Span span53 = CollectionsMarshal.AsSpan(list127); - span53[0] = null; - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list127; - reference97 = questStep5; - ref QuestStep reference98 = ref span51[2]; - QuestStep obj93 = new QuestStep(EInteractionType.Combat, null, new Vector3(382.58212f, 71.00385f, -313.4424f), 401) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - CollectionsMarshal.AsSpan(list128)[0] = 4617u; - obj93.KillEnemyDataIds = list128; - SkipConditions skipConditions13 = new SkipConditions(); - SkipStepConditions skipStepConditions13 = new SkipStepConditions(); - num3 = 6; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - Span span54 = CollectionsMarshal.AsSpan(list129); - span54[0] = null; - span54[1] = null; - span54[2] = null; - span54[3] = null; - span54[4] = null; - span54[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions13.CompletionQuestVariablesFlags = list129; - skipConditions13.StepIf = skipStepConditions13; - obj93.SkipConditions = skipConditions13; - reference98 = obj93; - ref QuestStep reference99 = ref span51[3]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2006275u, new Vector3(384.02368f, 71.39697f, -311.90973f), 401); - num3 = 6; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - Span span55 = CollectionsMarshal.AsSpan(list130); - span55[0] = null; - span55[1] = null; - span55[2] = null; - span55[3] = null; - span55[4] = null; - span55[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list130; - reference99 = questStep6; - obj91.Steps = list124; - reference95 = obj91; - ref QuestSequence reference100 = ref span50[3]; - QuestSequence obj94 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - NextQuestId = new QuestId(1711) - }; - obj94.Steps = list131; - reference100 = obj94; - questRoot11.QuestSequence = list121; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(1711); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list132 = new List(num); - CollectionsMarshal.SetCount(list132, num); - CollectionsMarshal.AsSpan(list132)[0] = "liza"; - questRoot12.Author = list132; - num = 4; - List list133 = new List(num); - CollectionsMarshal.SetCount(list133, num); - Span span56 = CollectionsMarshal.AsSpan(list133); - ref QuestSequence reference101 = ref span56[0]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj95.Steps = list134; - reference101 = obj95; - ref QuestSequence reference102 = ref span56[1]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.Interact, 1014830u, new Vector3(74.81494f, 10.089107f, -111.680786f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSkysteelManufactory, - To = EAetheryteLocation.IshgardTribunal - } - }; - obj96.Steps = list135; - reference102 = obj96; - ref QuestSequence reference103 = ref span56[2]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.Action, 1014830u, new Vector3(74.81494f, 10.089107f, -111.680786f), 419) - { - Action = EAction.SlugShot - }; - obj97.Steps = list136; - reference103 = obj97; - ref QuestSequence reference104 = ref span56[3]; - QuestSequence obj98 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardTribunal, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - NextQuestId = new QuestId(1712) - }; - obj98.Steps = list137; - reference104 = obj98; - questRoot12.QuestSequence = list133; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(1712); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - CollectionsMarshal.AsSpan(list138)[0] = "liza"; - questRoot13.Author = list138; - num = 5; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - Span span57 = CollectionsMarshal.AsSpan(list139); - ref QuestSequence reference105 = ref span57[0]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj99.Steps = list140; - reference105 = obj99; - ref QuestSequence reference106 = ref span57[1]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - Span span58 = CollectionsMarshal.AsSpan(list141); - ref QuestStep reference107 = ref span58[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1014835u, new Vector3(-86.4729f, 15.23318f, -63.98114f), 418); - num3 = 6; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - Span span59 = CollectionsMarshal.AsSpan(list142); - span59[0] = null; - span59[1] = null; - span59[2] = null; - span59[3] = null; - span59[4] = null; - span59[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list142; - reference107 = questStep7; - ref QuestStep reference108 = ref span58[1]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1014837u, new Vector3(-135.51538f, 5.467082f, 39.93274f), 418); - num3 = 6; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - Span span60 = CollectionsMarshal.AsSpan(list143); - span60[0] = null; - span60[1] = null; - span60[2] = null; - span60[3] = null; - span60[4] = null; - span60[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list143; - reference108 = questStep8; - ref QuestStep reference109 = ref span58[2]; - QuestStep obj101 = new QuestStep(EInteractionType.Interact, 1014836u, new Vector3(-20.004639f, 1.5791271f, 90.37915f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSkysteelManufactory, - To = EAetheryteLocation.Ishgard - } - }; - num3 = 6; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - Span span61 = CollectionsMarshal.AsSpan(list144); - span61[0] = null; - span61[1] = null; - span61[2] = null; - span61[3] = null; - span61[4] = null; - span61[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj101.CompletionQuestVariablesFlags = list144; - reference109 = obj101; - ref QuestStep reference110 = ref span58[3]; - QuestStep obj102 = new QuestStep(EInteractionType.Interact, 1014834u, new Vector3(56.839844f, 24.071722f, -30.075562f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - num3 = 6; - List list145 = new List(num3); - CollectionsMarshal.SetCount(list145, num3); - Span span62 = CollectionsMarshal.AsSpan(list145); - span62[0] = null; - span62[1] = null; - span62[2] = null; - span62[3] = null; - span62[4] = null; - span62[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj102.CompletionQuestVariablesFlags = list145; - reference110 = obj102; - obj100.Steps = list141; - reference106 = obj100; - ref QuestSequence reference111 = ref span57[2]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.Interact, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - StopDistance = 5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - obj103.Steps = list146; - reference111 = obj103; - ref QuestSequence reference112 = ref span57[3]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - Span span63 = CollectionsMarshal.AsSpan(list147); - span63[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(874.0602f, -3.0127013f, 353.70963f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - span63[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 1014841u, new Vector3(-631.281f, 96.94948f, -461.63123f), 397) - { - Fly = true - }; - obj104.Steps = list147; - reference112 = obj104; - ref QuestSequence reference113 = ref span57[4]; - QuestSequence obj105 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - NextQuestId = new QuestId(2109) - }; - obj105.Steps = list148; - reference113 = obj105; - questRoot13.QuestSequence = list139; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(1713); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list149 = new List(num); - CollectionsMarshal.SetCount(list149, num); - CollectionsMarshal.AsSpan(list149)[0] = "pot0to"; - questRoot14.Author = list149; - num = 9; - List list150 = new List(num); - CollectionsMarshal.SetCount(list150, num); - Span span64 = CollectionsMarshal.AsSpan(list150); - ref QuestSequence reference114 = ref span64[0]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006750u, new Vector3(16.464417f, 6.750492f, -7.3396606f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj106.Steps = list151; - reference114 = obj106; - ref QuestSequence reference115 = ref span64[1]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.Interact, 1014202u, new Vector3(190.14258f, -2.5202732f, 73.136475f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj107.Steps = list152; - reference115 = obj107; - ref QuestSequence reference116 = ref span64[2]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - Span span65 = CollectionsMarshal.AsSpan(list153); - ref QuestStep reference117 = ref span65[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1000423u, new Vector3(232.04382f, 1.999974f, 45.578613f), 132); - num3 = 1; - List list154 = new List(num3); - CollectionsMarshal.SetCount(list154, num3); - CollectionsMarshal.AsSpan(list154)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_JOBBRD501_01713_Q1_000_000") - }; - questStep9.DialogueChoices = list154; - reference117 = questStep9; - span65[1] = new QuestStep(EInteractionType.Interact, 1014203u, new Vector3(1.2359009f, 0.5000253f, -1.083435f), 204); - obj108.Steps = list153; - reference116 = obj108; - ref QuestSequence reference118 = ref span64[3]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.Interact, 1014203u, new Vector3(1.2359009f, 0.5000253f, -1.083435f), 204); - obj109.Steps = list155; - reference118 = obj109; - ref QuestSequence reference119 = ref span64[4]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - ref QuestStep reference120 = ref CollectionsMarshal.AsSpan(list156)[0]; - QuestStep obj111 = new QuestStep(EInteractionType.Combat, 1014207u, new Vector3(28.854736f, 6.655561f, 421.46936f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list157 = new List(num3); - CollectionsMarshal.SetCount(list157, num3); - CollectionsMarshal.AsSpan(list157)[0] = 4684u; - obj111.KillEnemyDataIds = list157; - reference120 = obj111; - obj110.Steps = list156; - reference119 = obj110; - ref QuestSequence reference121 = ref span64[5]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.Interact, 1014207u, new Vector3(28.854736f, 6.655561f, 421.46936f), 152); - obj112.Steps = list158; - reference121 = obj112; - ref QuestSequence reference122 = ref span64[6]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.Interact, 1014204u, new Vector3(24.673828f, 6.386869f, 414.9386f), 152) - { - StopDistance = 7f - }; - obj113.Steps = list159; - reference122 = obj113; - ref QuestSequence reference123 = ref span64[7]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.Interact, 1014205u, new Vector3(190.72253f, -2.5872245f, 74.75391f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj114.Steps = list160; - reference123 = obj114; - ref QuestSequence reference124 = ref span64[8]; - QuestSequence obj115 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014208u, new Vector3(-52.536804f, 8.059147f, 31.72351f), 418) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - NextQuestId = new QuestId(1714) - }; - obj115.Steps = list161; - reference124 = obj115; - questRoot14.QuestSequence = list150; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(1714); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list162 = new List(num); - CollectionsMarshal.SetCount(list162, num); - CollectionsMarshal.AsSpan(list162)[0] = "liza"; - questRoot15.Author = list162; - num = 6; - List list163 = new List(num); - CollectionsMarshal.SetCount(list163, num); - Span span66 = CollectionsMarshal.AsSpan(list163); - ref QuestSequence reference125 = ref span66[0]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014208u, new Vector3(-52.536804f, 8.059147f, 31.72351f), 418) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj116.Steps = list164; - reference125 = obj116; - ref QuestSequence reference126 = ref span66[1]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.Interact, 1014215u, new Vector3(446.4026f, 212.53983f, 697.444f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj117.Steps = list165; - reference126 = obj117; - ref QuestSequence reference127 = ref span66[2]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.Interact, 1014217u, new Vector3(59.128662f, 101.451355f, -50.797363f), 397) - { - Fly = true - }; - obj118.Steps = list166; - reference127 = obj118; - ref QuestSequence reference128 = ref span66[3]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - ref QuestStep reference129 = ref CollectionsMarshal.AsSpan(list167)[0]; - QuestStep obj120 = new QuestStep(EInteractionType.Combat, 2006300u, new Vector3(66.11731f, 103.86804f, -127.03143f), 397) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list168 = new List(num3); - CollectionsMarshal.SetCount(list168, num3); - CollectionsMarshal.AsSpan(list168)[0] = 4680u; - obj120.KillEnemyDataIds = list168; - reference129 = obj120; - obj119.Steps = list167; - reference128 = obj119; - ref QuestSequence reference130 = ref span66[4]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.Interact, 1014218u, new Vector3(58.76245f, 101.43757f, -51.682373f), 397) - { - Fly = true - }; - obj121.Steps = list169; - reference130 = obj121; - ref QuestSequence reference131 = ref span66[5]; - QuestSequence obj122 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014216u, new Vector3(445.365f, 212.53983f, 699.7938f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - NextQuestId = new QuestId(1715) - }; - obj122.Steps = list170; - reference131 = obj122; - questRoot15.QuestSequence = list163; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(1715); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - CollectionsMarshal.AsSpan(list171)[0] = "liza"; - questRoot16.Author = list171; - num = 9; - List list172 = new List(num); - CollectionsMarshal.SetCount(list172, num); - Span span67 = CollectionsMarshal.AsSpan(list172); - ref QuestSequence reference132 = ref span67[0]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014216u, new Vector3(445.365f, 212.53983f, 699.7938f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj123.Steps = list173; - reference132 = obj123; - ref QuestSequence reference133 = ref span67[1]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.Interact, 1014227u, new Vector3(-294.27026f, 125.76025f, -15.152283f), 397) - { - Fly = true - }; - obj124.Steps = list174; - reference133 = obj124; - ref QuestSequence reference134 = ref span67[2]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.Interact, 1014233u, new Vector3(-299.12268f, 126.35769f, -8.682434f), 397) - { - StopDistance = 7f - }; - obj125.Steps = list175; - reference134 = obj125; - ref QuestSequence reference135 = ref span67[3]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - CollectionsMarshal.AsSpan(list176)[0] = new QuestStep(EInteractionType.Interact, 1014246u, new Vector3(-429.8009f, 92.59371f, -509.4225f), 397) - { - Fly = true - }; - obj126.Steps = list176; - reference135 = obj126; - ref QuestSequence reference136 = ref span67[4]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - ref QuestStep reference137 = ref CollectionsMarshal.AsSpan(list177)[0]; - QuestStep obj128 = new QuestStep(EInteractionType.Combat, 2006301u, new Vector3(-778.0118f, 112.01648f, -580.52954f), 397) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list178 = new List(num3); - CollectionsMarshal.SetCount(list178, num3); - CollectionsMarshal.AsSpan(list178)[0] = 4487u; - obj128.KillEnemyDataIds = list178; - reference137 = obj128; - obj127.Steps = list177; - reference136 = obj127; - ref QuestSequence reference138 = ref span67[5]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - CollectionsMarshal.AsSpan(list179)[0] = new QuestStep(EInteractionType.Interact, 1014230u, new Vector3(-753.93304f, 103.917046f, -467.1855f), 397) - { - Fly = true - }; - obj129.Steps = list179; - reference138 = obj129; - ref QuestSequence reference139 = ref span67[6]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.Emote, 1014242u, new Vector3(-750.9728f, 103.93008f, -465.4765f), 397) - { - StopDistance = 4.5f, - Emote = EEmote.Salute - }; - obj130.Steps = list180; - reference139 = obj130; - ref QuestSequence reference140 = ref span67[7]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.Interact, 1014230u, new Vector3(-753.93304f, 103.917046f, -467.1855f), 397); - obj131.Steps = list181; - reference140 = obj131; - ref QuestSequence reference141 = ref span67[8]; - QuestSequence obj132 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014232u, new Vector3(544.97595f, -51.27571f, 65.384766f), 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather, - NextQuestId = new QuestId(1716) - }; - obj132.Steps = list182; - reference141 = obj132; - questRoot16.QuestSequence = list172; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(1716); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - CollectionsMarshal.AsSpan(list183)[0] = "liza"; - questRoot17.Author = list183; - num = 4; - List list184 = new List(num); - CollectionsMarshal.SetCount(list184, num); - Span span68 = CollectionsMarshal.AsSpan(list184); - ref QuestSequence reference142 = ref span68[0]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - ref QuestStep reference143 = ref CollectionsMarshal.AsSpan(list185)[0]; - QuestStep obj134 = new QuestStep(EInteractionType.AcceptQuest, 1014232u, new Vector3(544.97595f, -51.27571f, 65.384766f), 398) - { - StopDistance = 7f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list186 = new List(num3); - CollectionsMarshal.SetCount(list186, num3); - CollectionsMarshal.AsSpan(list186)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBBRD560_01716_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBBRD560_01716_A1_000_000") - }; - obj134.DialogueChoices = list186; - reference143 = obj134; - obj133.Steps = list185; - reference142 = obj133; - ref QuestSequence reference144 = ref span68[1]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1014248u, new Vector3(218.43286f, -104.75025f, 592.00415f), 398) - { - Fly = true - }; - obj135.Steps = list187; - reference144 = obj135; - ref QuestSequence reference145 = ref span68[2]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - CollectionsMarshal.AsSpan(list188)[0] = new QuestStep(EInteractionType.Interact, 1014249u, new Vector3(186.08374f, -119.0711f, 480.4912f), 398) - { - StopDistance = 5f - }; - obj136.Steps = list188; - reference145 = obj136; - ref QuestSequence reference146 = ref span68[3]; - QuestSequence obj137 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014231u, new Vector3(544.4877f, -51.27571f, 64.62195f), 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - obj137.Steps = list189; - reference146 = obj137; - questRoot17.QuestSequence = list184; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(1717); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list190 = new List(num); - CollectionsMarshal.SetCount(list190, num); - CollectionsMarshal.AsSpan(list190)[0] = "liza"; - questRoot18.Author = list190; - num = 11; - List list191 = new List(num); - CollectionsMarshal.SetCount(list191, num); - Span span69 = CollectionsMarshal.AsSpan(list191); - ref QuestSequence reference147 = ref span69[0]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014232u, new Vector3(544.97595f, -51.27571f, 65.384766f), 398) - { - StopDistance = 7f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj138.Steps = list192; - reference147 = obj138; - ref QuestSequence reference148 = ref span69[1]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - ref QuestStep reference149 = ref CollectionsMarshal.AsSpan(list193)[0]; - QuestStep obj140 = new QuestStep(EInteractionType.Interact, 1014270u, new Vector3(457.1145f, -51.15781f, 101.48767f), 398) - { - Fly = true - }; - num3 = 1; - List list194 = new List(num3); - CollectionsMarshal.SetCount(list194, num3); - CollectionsMarshal.AsSpan(list194)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBBRD580_01717_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBBRD580_01717_A1_000_000") - }; - obj140.DialogueChoices = list194; - reference149 = obj140; - obj139.Steps = list193; - reference148 = obj139; - ref QuestSequence reference150 = ref span69[2]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.Interact, 1014262u, new Vector3(-223.65149f, -30.093239f, 78.72119f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - obj141.Steps = list195; - reference150 = obj141; - ref QuestSequence reference151 = ref span69[3]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.Interact, 1014264u, new Vector3(159.74658f, -62.55156f, 685.84717f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome - }; - obj142.Steps = list196; - reference151 = obj142; - ref QuestSequence reference152 = ref span69[4]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - Span span70 = CollectionsMarshal.AsSpan(list197); - span70[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(379.64865f, -69.42944f, 695.1956f), 400) - { - Fly = true - }; - span70[1] = new QuestStep(EInteractionType.Interact, 1012077u, new Vector3(381.70435f, -66.84979f, 700.86194f), 400) - { - StopDistance = 8f - }; - obj143.Steps = list197; - reference152 = obj143; - ref QuestSequence reference153 = ref span69[5]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - CollectionsMarshal.AsSpan(list198)[0] = new QuestStep(EInteractionType.Interact, 1014266u, new Vector3(273.4568f, -38.082943f, 524.95605f), 400) - { - Fly = true - }; - obj144.Steps = list198; - reference153 = obj144; - ref QuestSequence reference154 = ref span69[6]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - ref QuestStep reference155 = ref CollectionsMarshal.AsSpan(list199)[0]; - QuestStep obj146 = new QuestStep(EInteractionType.Combat, 2006302u, new Vector3(269.94727f, -40.299072f, 398.61133f), 400) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list200 = new List(num3); - CollectionsMarshal.SetCount(list200, num3); - CollectionsMarshal.AsSpan(list200)[0] = 4681u; - obj146.KillEnemyDataIds = list200; - reference155 = obj146; - obj145.Steps = list199; - reference154 = obj145; - ref QuestSequence reference156 = ref span69[7]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - ref QuestStep reference157 = ref CollectionsMarshal.AsSpan(list201)[0]; - QuestStep obj148 = new QuestStep(EInteractionType.Combat, 2006303u, new Vector3(342.15295f, -40.024475f, 288.56335f), 400) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list202 = new List(num3); - CollectionsMarshal.SetCount(list202, num3); - CollectionsMarshal.AsSpan(list202)[0] = 4682u; - obj148.KillEnemyDataIds = list202; - reference157 = obj148; - obj147.Steps = list201; - reference156 = obj147; - ref QuestSequence reference158 = ref span69[8]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - ref QuestStep reference159 = ref CollectionsMarshal.AsSpan(list203)[0]; - QuestStep obj150 = new QuestStep(EInteractionType.Combat, 2006304u, new Vector3(417.07483f, -34.561768f, 222.9801f), 400) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list204 = new List(num3); - CollectionsMarshal.SetCount(list204, num3); - CollectionsMarshal.AsSpan(list204)[0] = 4483u; - obj150.KillEnemyDataIds = list204; - reference159 = obj150; - obj149.Steps = list203; - reference158 = obj149; - ref QuestSequence reference160 = ref span69[9]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.Interact, 2006381u, new Vector3(421.16418f, -29.404175f, 97.18469f), 400) - { - Fly = true - }; - obj151.Steps = list205; - reference160 = obj151; - ref QuestSequence reference161 = ref span69[10]; - QuestSequence obj152 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - Span span71 = CollectionsMarshal.AsSpan(list206); - span71[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(379.64865f, -69.42944f, 695.1956f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome - }; - span71[1] = new QuestStep(EInteractionType.CompleteQuest, 1012077u, new Vector3(381.70435f, -66.84979f, 700.86194f), 400) - { - StopDistance = 8f, - NextQuestId = new QuestId(1718) - }; - obj152.Steps = list206; - reference161 = obj152; - questRoot18.QuestSequence = list191; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(1718); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - CollectionsMarshal.AsSpan(list207)[0] = "liza"; - questRoot19.Author = list207; - num = 7; - List list208 = new List(num); - CollectionsMarshal.SetCount(list208, num); - Span span72 = CollectionsMarshal.AsSpan(list208); - ref QuestSequence reference162 = ref span72[0]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - ref QuestStep reference163 = ref CollectionsMarshal.AsSpan(list209)[0]; - QuestStep obj154 = new QuestStep(EInteractionType.AcceptQuest, 1014265u, new Vector3(377.37073f, -69.42938f, 695.6129f), 400) - { - StopDistance = 7f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list210 = new List(num3); - CollectionsMarshal.SetCount(list210, num3); - CollectionsMarshal.AsSpan(list210)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBBRD600_01718_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBBRD600_01718_A1_000_000") - }; - obj154.DialogueChoices = list210; - reference163 = obj154; - obj153.Steps = list209; - reference162 = obj153; - ref QuestSequence reference164 = ref span72[1]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - CollectionsMarshal.AsSpan(list211)[0] = new QuestStep(EInteractionType.Interact, 1014277u, new Vector3(485.00793f, -9.204832f, 742.6719f), 400) - { - Fly = true - }; - obj155.Steps = list211; - reference164 = obj155; - ref QuestSequence reference165 = ref span72[2]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - ref QuestStep reference166 = ref CollectionsMarshal.AsSpan(list212)[0]; - QuestStep obj157 = new QuestStep(EInteractionType.Interact, 1014273u, new Vector3(28.976807f, -18.800003f, 96.69641f), 132) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAirship - } - }; - num3 = 1; - List list213 = new List(num3); - CollectionsMarshal.SetCount(list213, num3); - CollectionsMarshal.AsSpan(list213)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_JOBBRD600_01718_Q2_000_000") - }; - obj157.DialogueChoices = list213; - reference166 = obj157; - obj156.Steps = list212; - reference165 = obj156; - ref QuestSequence reference167 = ref span72[3]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.Interact, 1014274u, new Vector3(-449.9428f, -4.031367f, -716.4264f), 401) - { - StopDistance = 5f - }; - obj158.Steps = list214; - reference167 = obj158; - ref QuestSequence reference168 = ref span72[4]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1014275u, new Vector3(-179.46143f, 19.473629f, -855.98535f), 401) - { - Fly = true - }; - obj159.Steps = list215; - reference168 = obj159; - ref QuestSequence reference169 = ref span72[5]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - ref QuestStep reference170 = ref CollectionsMarshal.AsSpan(list216)[0]; - QuestStep obj161 = new QuestStep(EInteractionType.Interact, 1014276u, new Vector3(-451.89594f, -4.8975077f, -713.80176f), 401) - { - Fly = true - }; - num3 = 1; - List list217 = new List(num3); - CollectionsMarshal.SetCount(list217, num3); - CollectionsMarshal.AsSpan(list217)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_JOBBRD600_01718_Q3_000_000") - }; - obj161.DialogueChoices = list217; - reference170 = obj161; - obj160.Steps = list216; - reference169 = obj160; - ref QuestSequence reference171 = ref span72[6]; - QuestSequence obj162 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - CollectionsMarshal.AsSpan(list218)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006750u, new Vector3(16.464417f, 6.750492f, -7.3396606f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - NextQuestId = new QuestId(2890) - }; - obj162.Steps = list218; - reference171 = obj162; - questRoot19.QuestSequence = list208; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(1719); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list219 = new List(num); - CollectionsMarshal.SetCount(list219, num); - CollectionsMarshal.AsSpan(list219)[0] = "Cacahuetes"; - questRoot20.Author = list219; - num = 8; - List list220 = new List(num); - CollectionsMarshal.SetCount(list220, num); - Span span73 = CollectionsMarshal.AsSpan(list220); - ref QuestSequence reference172 = ref span73[0]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - Span span74 = CollectionsMarshal.AsSpan(list221); - span74[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-146.86935f, 8.006159f, 268.78055f), 153) - { - StopDistance = 0.25f, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - JumpDestination = new JumpDestination - { - Position = new Vector3(-137.77051f, 7.7094107f, 275.28036f), - DelaySeconds = 0.75f - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked, - NearPosition = new NearPositionCondition - { - Position = new Vector3(-139.45221f, 8.712891f, 281.69678f), - MaximumDistance = 3f, - TerritoryId = 153 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span74[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-139.04318f, 8.522301f, 280.0128f), 153) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span74[2] = new QuestStep(EInteractionType.AcceptQuest, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153); - obj163.Steps = list221; - reference172 = obj163; - ref QuestSequence reference173 = ref span73[1]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - CollectionsMarshal.AsSpan(list222)[0] = new QuestStep(EInteractionType.Interact, 1013606u, new Vector3(-317.1283f, 21.686531f, 183.03198f), 148) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows - }; - obj164.Steps = list222; - reference173 = obj164; - ref QuestSequence reference174 = ref span73[2]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - Span span75 = CollectionsMarshal.AsSpan(list223); - ref QuestStep reference175 = ref span75[0]; - QuestStep obj166 = new QuestStep(EInteractionType.Interact, 1006245u, new Vector3(4.9591064f, -46.518013f, 248.49304f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - num3 = 6; - List list224 = new List(num3); - CollectionsMarshal.SetCount(list224, num3); - Span span76 = CollectionsMarshal.AsSpan(list224); - span76[0] = null; - span76[1] = null; - span76[2] = null; - span76[3] = null; - span76[4] = null; - span76[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj166.CompletionQuestVariablesFlags = list224; - reference175 = obj166; - ref QuestStep reference176 = ref span75[1]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1007092u, new Vector3(-59.31189f, -40.90982f, 232.62378f), 154); - num3 = 6; - List list225 = new List(num3); - CollectionsMarshal.SetCount(list225, num3); - Span span77 = CollectionsMarshal.AsSpan(list225); - span77[0] = null; - span77[1] = null; - span77[2] = null; - span77[3] = null; - span77[4] = null; - span77[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list225; - reference176 = questStep10; - ref QuestStep reference177 = ref span75[2]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1002804u, new Vector3(-26.260803f, -40.705082f, 172.74731f), 154); - num3 = 6; - List list226 = new List(num3); - CollectionsMarshal.SetCount(list226, num3); - Span span78 = CollectionsMarshal.AsSpan(list226); - span78[0] = null; - span78[1] = null; - span78[2] = null; - span78[3] = null; - span78[4] = null; - span78[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list226; - reference177 = questStep11; - obj165.Steps = list223; - reference174 = obj165; - ref QuestSequence reference178 = ref span73[3]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - Span span79 = CollectionsMarshal.AsSpan(list227); - ref QuestStep reference179 = ref span79[0]; - QuestStep obj168 = new QuestStep(EInteractionType.Combat, null, new Vector3(108.506836f, 7.167203f, -47.01306f), 154) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list228 = new List(num3); - CollectionsMarshal.SetCount(list228, num3); - CollectionsMarshal.AsSpan(list228)[0] = 4683u; - obj168.KillEnemyDataIds = list228; - num3 = 6; - List list229 = new List(num3); - CollectionsMarshal.SetCount(list229, num3); - Span span80 = CollectionsMarshal.AsSpan(list229); - span80[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - span80[1] = null; - span80[2] = null; - span80[3] = null; - span80[4] = null; - span80[5] = null; - obj168.CompletionQuestVariablesFlags = list229; - reference179 = obj168; - span79[1] = new QuestStep(EInteractionType.Interact, 1013605u, new Vector3(108.506836f, 7.167203f, -47.01306f), 154); - obj167.Steps = list227; - reference178 = obj167; - ref QuestSequence reference180 = ref span73[4]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.Interact, 1013605u, new Vector3(108.506836f, 7.167203f, -47.01306f), 154); - obj169.Steps = list230; - reference180 = obj169; - ref QuestSequence reference181 = ref span73[5]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.Interact, 1013606u, new Vector3(-317.1283f, 21.686531f, 183.03198f), 148) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows - }; - obj170.Steps = list231; - reference181 = obj170; - ref QuestSequence reference182 = ref span73[6]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.Interact, 1013608u, new Vector3(-314.9615f, 21.609262f, 182.8794f), 148); - obj171.Steps = list232; - reference182 = obj171; - ref QuestSequence reference183 = ref span73[7]; - QuestSequence obj172 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - CollectionsMarshal.AsSpan(list233)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013609u, new Vector3(-44.480103f, -40.949986f, 187.7622f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - NextQuestId = new QuestId(1720) - }; - obj172.Steps = list233; - reference183 = obj172; - questRoot20.QuestSequence = list220; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(1720); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list234 = new List(num); - CollectionsMarshal.SetCount(list234, num); - CollectionsMarshal.AsSpan(list234)[0] = "Cacahuetes"; - questRoot21.Author = list234; - num = 5; - List list235 = new List(num); - CollectionsMarshal.SetCount(list235, num); - Span span81 = CollectionsMarshal.AsSpan(list235); - ref QuestSequence reference184 = ref span81[0]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013609u, new Vector3(-44.480103f, -40.949986f, 187.7622f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj173.Steps = list236; - reference184 = obj173; - ref QuestSequence reference185 = ref span81[1]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - CollectionsMarshal.AsSpan(list237)[0] = new QuestStep(EInteractionType.Interact, 1013610u, new Vector3(209.21643f, 302f, -204.85242f), 155) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj174.Steps = list237; - reference185 = obj174; - ref QuestSequence reference186 = ref span81[2]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1013663u, new Vector3(161.91345f, 275.37952f, 16.403442f), 155) - { - Fly = true - }; - obj175.Steps = list238; - reference186 = obj175; - ref QuestSequence reference187 = ref span81[3]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - CollectionsMarshal.AsSpan(list239)[0] = new QuestStep(EInteractionType.Interact, 2005889u, new Vector3(143.78564f, 280.0183f, 19.882507f), 155); - obj176.Steps = list239; - reference187 = obj176; - ref QuestSequence reference188 = ref span81[4]; - QuestSequence obj177 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013610u, new Vector3(209.21643f, 302f, -204.85242f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - NextQuestId = new QuestId(1721) - }; - obj177.Steps = list240; - reference188 = obj177; - questRoot21.QuestSequence = list235; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(1721); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list241 = new List(num); - CollectionsMarshal.SetCount(list241, num); - CollectionsMarshal.AsSpan(list241)[0] = "Cacahuetes"; - questRoot22.Author = list241; - num = 8; - List list242 = new List(num); - CollectionsMarshal.SetCount(list242, num); - Span span82 = CollectionsMarshal.AsSpan(list242); - ref QuestSequence reference189 = ref span82[0]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013610u, new Vector3(209.21643f, 302f, -204.85242f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj178.Steps = list243; - reference189 = obj178; - ref QuestSequence reference190 = ref span82[1]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.Interact, 1013613u, new Vector3(479.91138f, 226.62401f, 817.0442f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj179.Steps = list244; - reference190 = obj179; - ref QuestSequence reference191 = ref span82[2]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - Span span83 = CollectionsMarshal.AsSpan(list245); - ref QuestStep reference192 = ref span83[0]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1011232u, new Vector3(506.8589f, 217.95148f, 792.4772f), 397); - num3 = 6; - List list246 = new List(num3); - CollectionsMarshal.SetCount(list246, num3); - Span span84 = CollectionsMarshal.AsSpan(list246); - span84[0] = null; - span84[1] = null; - span84[2] = null; - span84[3] = null; - span84[4] = null; - span84[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list246; - reference192 = questStep12; - ref QuestStep reference193 = ref span83[1]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1011237u, new Vector3(447.3181f, 212.53984f, 725.00183f), 397); - num3 = 6; - List list247 = new List(num3); - CollectionsMarshal.SetCount(list247, num3); - Span span85 = CollectionsMarshal.AsSpan(list247); - span85[0] = null; - span85[1] = null; - span85[2] = null; - span85[3] = null; - span85[4] = null; - span85[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list247; - reference193 = questStep13; - obj180.Steps = list245; - reference191 = obj180; - ref QuestSequence reference194 = ref span82[3]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.Interact, 1013614u, new Vector3(463.5232f, 200.23772f, 651.911f), 397); - obj181.Steps = list248; - reference194 = obj181; - ref QuestSequence reference195 = ref span82[4]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.Interact, 1013617u, new Vector3(-513.0846f, 101.57904f, -653.3456f), 397) - { - Fly = true - }; - obj182.Steps = list249; - reference195 = obj182; - ref QuestSequence reference196 = ref span82[5]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - Span span86 = CollectionsMarshal.AsSpan(list250); - ref QuestStep reference197 = ref span86[0]; - QuestStep obj184 = new QuestStep(EInteractionType.Combat, null, new Vector3(-336.4157f, 89.00586f, -586.5721f), 397) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list251 = new List(num3); - CollectionsMarshal.SetCount(list251, num3); - CollectionsMarshal.AsSpan(list251)[0] = 4677u; - obj184.KillEnemyDataIds = list251; - num3 = 6; - List list252 = new List(num3); - CollectionsMarshal.SetCount(list252, num3); - Span span87 = CollectionsMarshal.AsSpan(list252); - span87[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - span87[1] = null; - span87[2] = null; - span87[3] = null; - span87[4] = null; - span87[5] = null; - obj184.CompletionQuestVariablesFlags = list252; - reference197 = obj184; - span86[1] = new QuestStep(EInteractionType.Interact, 2005855u, new Vector3(-336.4157f, 89.00586f, -586.5721f), 397); - obj183.Steps = list250; - reference196 = obj183; - ref QuestSequence reference198 = ref span82[6]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - CollectionsMarshal.AsSpan(list253)[0] = new QuestStep(EInteractionType.Interact, 1013618u, new Vector3(-402.12103f, 90.9028f, -688.53284f), 397) - { - Fly = true - }; - obj185.Steps = list253; - reference198 = obj185; - ref QuestSequence reference199 = ref span82[7]; - QuestSequence obj186 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013614u, new Vector3(463.5232f, 200.23772f, 651.911f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - NextQuestId = new QuestId(1722) - }; - obj186.Steps = list254; - reference199 = obj186; - questRoot22.QuestSequence = list242; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(1722); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list255 = new List(num); - CollectionsMarshal.SetCount(list255, num); - CollectionsMarshal.AsSpan(list255)[0] = "Cacahuetes"; - questRoot23.Author = list255; - num = 5; - List list256 = new List(num); - CollectionsMarshal.SetCount(list256, num); - Span span88 = CollectionsMarshal.AsSpan(list256); - ref QuestSequence reference200 = ref span88[0]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013614u, new Vector3(463.5232f, 200.23772f, 651.911f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj187.Steps = list257; - reference200 = obj187; - ref QuestSequence reference201 = ref span88[1]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - CollectionsMarshal.AsSpan(list258)[0] = new QuestStep(EInteractionType.Interact, 1013619u, new Vector3(-274.49457f, 125.33218f, -13.870483f), 397) - { - Fly = true - }; - obj188.Steps = list258; - reference201 = obj188; - ref QuestSequence reference202 = ref span88[2]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - CollectionsMarshal.AsSpan(list259)[0] = new QuestStep(EInteractionType.Action, 1013620u, new Vector3(-275.2575f, 125.596924f, -11.215393f), 397) - { - StopDistance = 5f, - Action = EAction.Cure2 - }; - obj189.Steps = list259; - reference202 = obj189; - ref QuestSequence reference203 = ref span88[3]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - Span span89 = CollectionsMarshal.AsSpan(list260); - ref QuestStep reference204 = ref span89[0]; - QuestStep obj191 = new QuestStep(EInteractionType.Combat, 2005857u, new Vector3(-336.4157f, 89.00586f, -586.5721f), 397) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list261 = new List(num3); - CollectionsMarshal.SetCount(list261, num3); - CollectionsMarshal.AsSpan(list261)[0] = 4690u; - obj191.KillEnemyDataIds = list261; - num3 = 6; - List list262 = new List(num3); - CollectionsMarshal.SetCount(list262, num3); - Span span90 = CollectionsMarshal.AsSpan(list262); - span90[0] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - span90[1] = null; - span90[2] = null; - span90[3] = null; - span90[4] = null; - span90[5] = null; - obj191.CompletionQuestVariablesFlags = list262; - reference204 = obj191; - span89[1] = new QuestStep(EInteractionType.Interact, 2005857u, new Vector3(-336.4157f, 89.00586f, -586.5721f), 397); - obj190.Steps = list260; - reference203 = obj190; - ref QuestSequence reference205 = ref span88[4]; - QuestSequence obj192 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - CollectionsMarshal.AsSpan(list263)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013623u, new Vector3(486.93054f, -51.1414f, 25.986084f), 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather, - NextQuestId = new QuestId(1723) - }; - obj192.Steps = list263; - reference205 = obj192; - questRoot23.QuestSequence = list256; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(1723); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list264 = new List(num); - CollectionsMarshal.SetCount(list264, num); - CollectionsMarshal.AsSpan(list264)[0] = "Cacahuetes"; - questRoot24.Author = list264; - num = 6; - List list265 = new List(num); - CollectionsMarshal.SetCount(list265, num); - Span span91 = CollectionsMarshal.AsSpan(list265); - ref QuestSequence reference206 = ref span91[0]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - CollectionsMarshal.AsSpan(list266)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013623u, new Vector3(486.93054f, -51.1414f, 25.986084f), 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj193.Steps = list266; - reference206 = obj193; - ref QuestSequence reference207 = ref span91[1]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - CollectionsMarshal.AsSpan(list267)[0] = new QuestStep(EInteractionType.Interact, 1013624u, new Vector3(-183.61182f, -104.708206f, 505.60767f), 398) - { - Fly = true - }; - obj194.Steps = list267; - reference207 = obj194; - ref QuestSequence reference208 = ref span91[2]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - Span span92 = CollectionsMarshal.AsSpan(list268); - ref QuestStep reference209 = ref span92[0]; - QuestStep obj196 = new QuestStep(EInteractionType.Combat, null, new Vector3(-561.82196f, -46.707886f, 300.46533f), 398) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list269 = new List(num3); - CollectionsMarshal.SetCount(list269, num3); - Span span93 = CollectionsMarshal.AsSpan(list269); - span93[0] = 4691u; - span93[1] = 4692u; - obj196.KillEnemyDataIds = list269; - num3 = 6; - List list270 = new List(num3); - CollectionsMarshal.SetCount(list270, num3); - Span span94 = CollectionsMarshal.AsSpan(list270); - span94[0] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - span94[1] = null; - span94[2] = null; - span94[3] = null; - span94[4] = null; - span94[5] = null; - obj196.CompletionQuestVariablesFlags = list270; - reference209 = obj196; - span92[1] = new QuestStep(EInteractionType.Interact, 2005859u, new Vector3(-561.82196f, -46.707886f, 300.46533f), 398); - obj195.Steps = list268; - reference208 = obj195; - ref QuestSequence reference210 = ref span91[3]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - CollectionsMarshal.AsSpan(list271)[0] = new QuestStep(EInteractionType.Interact, 1013625u, new Vector3(-679.9573f, -100.52397f, 775.1736f), 398) - { - Fly = true - }; - obj197.Steps = list271; - reference210 = obj197; - ref QuestSequence reference211 = ref span91[4]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - Span span95 = CollectionsMarshal.AsSpan(list272); - ref QuestStep reference212 = ref span95[0]; - QuestStep obj199 = new QuestStep(EInteractionType.Combat, 1013625u, new Vector3(-679.9573f, -100.52397f, 775.1736f), 398) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list273 = new List(num3); - CollectionsMarshal.SetCount(list273, num3); - Span span96 = CollectionsMarshal.AsSpan(list273); - span96[0] = 4690u; - span96[1] = 4691u; - obj199.KillEnemyDataIds = list273; - reference212 = obj199; - span95[1] = new QuestStep(EInteractionType.Interact, 2005861u, new Vector3(-678.4009f, -100.60278f, 778.13367f), 398); - obj198.Steps = list272; - reference211 = obj198; - ref QuestSequence reference213 = ref span91[5]; - QuestSequence obj200 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - ref QuestStep reference214 = ref CollectionsMarshal.AsSpan(list274)[0]; - QuestStep questStep14 = new QuestStep(EInteractionType.CompleteQuest, 1013625u, new Vector3(-679.9573f, -100.52397f, 775.1736f), 398); - num3 = 1; - List list275 = new List(num3); - CollectionsMarshal.SetCount(list275, num3); - CollectionsMarshal.AsSpan(list275)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBWHM580_01723_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBWHM580_01723_A1_000_001") - }; - questStep14.DialogueChoices = list275; - questStep14.NextQuestId = new QuestId(1724); - reference214 = questStep14; - obj200.Steps = list274; - reference213 = obj200; - questRoot24.QuestSequence = list265; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(1724); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list276 = new List(num); - CollectionsMarshal.SetCount(list276, num); - CollectionsMarshal.AsSpan(list276)[0] = "Cacahuetes"; - questRoot25.Author = list276; - num = 2; - List list277 = new List(num); - CollectionsMarshal.SetCount(list277, num); - Span span97 = CollectionsMarshal.AsSpan(list277); - ref QuestSequence reference215 = ref span97[0]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - CollectionsMarshal.AsSpan(list278)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013627u, new Vector3(-679.9573f, -100.52397f, 775.1736f), 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj201.Steps = list278; - reference215 = obj201; - ref QuestSequence reference216 = ref span97[1]; - QuestSequence obj202 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - Span span98 = CollectionsMarshal.AsSpan(list279); - span98[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-146.86935f, 8.006159f, 268.78055f), 153) - { - StopDistance = 0.25f, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - JumpDestination = new JumpDestination - { - Position = new Vector3(-137.77051f, 7.7094107f, 275.28036f), - DelaySeconds = 0.75f - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked, - NearPosition = new NearPositionCondition - { - Position = new Vector3(-139.45221f, 8.712891f, 281.69678f), - MaximumDistance = 3f, - TerritoryId = 153 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span98[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-139.04318f, 8.522301f, 280.0128f), 153) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span98[2] = new QuestStep(EInteractionType.CompleteQuest, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153) - { - NextQuestId = new QuestId(1725) - }; - obj202.Steps = list279; - reference216 = obj202; - questRoot25.QuestSequence = list277; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(1725); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list280 = new List(num); - CollectionsMarshal.SetCount(list280, num); - CollectionsMarshal.AsSpan(list280)[0] = "Cacahuetes"; - questRoot26.Author = list280; - num = 8; - List list281 = new List(num); - CollectionsMarshal.SetCount(list281, num); - Span span99 = CollectionsMarshal.AsSpan(list281); - ref QuestSequence reference217 = ref span99[0]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - Span span100 = CollectionsMarshal.AsSpan(list282); - span100[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-146.86935f, 8.006159f, 268.78055f), 153) - { - StopDistance = 0.25f, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - JumpDestination = new JumpDestination - { - Position = new Vector3(-137.77051f, 7.7094107f, 275.28036f), - DelaySeconds = 0.75f - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked, - NearPosition = new NearPositionCondition - { - Position = new Vector3(-139.45221f, 8.712891f, 281.69678f), - MaximumDistance = 3f, - TerritoryId = 153 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span100[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-139.04318f, 8.522301f, 280.0128f), 153) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span100[2] = new QuestStep(EInteractionType.AcceptQuest, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153); - obj203.Steps = list282; - reference217 = obj203; - ref QuestSequence reference218 = ref span99[1]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.Interact, 1013609u, new Vector3(-44.480103f, -40.949986f, 187.7622f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj204.Steps = list283; - reference218 = obj204; - ref QuestSequence reference219 = ref span99[2]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - Span span101 = CollectionsMarshal.AsSpan(list284); - span101[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-146.86935f, 8.006159f, 268.78055f), 153) - { - StopDistance = 0.25f, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - JumpDestination = new JumpDestination - { - Position = new Vector3(-137.77051f, 7.7094107f, 275.28036f), - DelaySeconds = 0.75f - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked, - NearPosition = new NearPositionCondition - { - Position = new Vector3(-139.45221f, 8.712891f, 281.69678f), - MaximumDistance = 3f, - TerritoryId = 153 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span101[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-139.04318f, 8.522301f, 280.0128f), 153) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span101[2] = new QuestStep(EInteractionType.Interact, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153); - obj205.Steps = list284; - reference219 = obj205; - ref QuestSequence reference220 = ref span99[3]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - CollectionsMarshal.AsSpan(list285)[0] = new QuestStep(EInteractionType.Interact, 1013632u, new Vector3(491.38623f, -51.091385f, 34.561646f), 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - obj206.Steps = list285; - reference220 = obj206; - ref QuestSequence reference221 = ref span99[4]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - CollectionsMarshal.AsSpan(list286)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1013635u, new Vector3(-122.453674f, 0.72138774f, -615.80835f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - obj207.Steps = list286; - reference221 = obj207; - ref QuestSequence reference222 = ref span99[5]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - CollectionsMarshal.AsSpan(list287)[0] = new QuestStep(EInteractionType.Interact, 1013639u, new Vector3(-120.74469f, 0.555462f, -616.6323f), 398); - obj208.Steps = list287; - reference222 = obj208; - ref QuestSequence reference223 = ref span99[6]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - CollectionsMarshal.AsSpan(list288)[0] = new QuestStep(EInteractionType.Interact, 1013639u, new Vector3(-120.74469f, 0.555462f, -616.6323f), 398); - obj209.Steps = list288; - reference223 = obj209; - ref QuestSequence reference224 = ref span99[7]; - QuestSequence obj210 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - Span span102 = CollectionsMarshal.AsSpan(list289); - span102[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-146.86935f, 8.006159f, 268.78055f), 153) - { - StopDistance = 0.25f, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - JumpDestination = new JumpDestination - { - Position = new Vector3(-137.77051f, 7.7094107f, 275.28036f), - DelaySeconds = 0.75f - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked, - NearPosition = new NearPositionCondition - { - Position = new Vector3(-139.45221f, 8.712891f, 281.69678f), - MaximumDistance = 3f, - TerritoryId = 153 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span102[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-139.04318f, 8.522301f, 280.0128f), 153) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span102[2] = new QuestStep(EInteractionType.CompleteQuest, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153) - { - NextQuestId = new QuestId(2414) - }; - obj210.Steps = list289; - reference224 = obj210; - questRoot26.QuestSequence = list281; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(1730); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list290 = new List(num); - CollectionsMarshal.SetCount(list290, num); - CollectionsMarshal.AsSpan(list290)[0] = "Thaksin"; - questRoot27.Author = list290; - num = 6; - List list291 = new List(num); - CollectionsMarshal.SetCount(list291, num); - Span span103 = CollectionsMarshal.AsSpan(list291); - ref QuestSequence reference225 = ref span103[0]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - CollectionsMarshal.AsSpan(list292)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012170u, new Vector3(102.92212f, 3.6299734f, 65.56799f), 418); - obj211.Steps = list292; - reference225 = obj211; - ref QuestSequence reference226 = ref span103[1]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - CollectionsMarshal.AsSpan(list293)[0] = new QuestStep(EInteractionType.Interact, 1012162u, new Vector3(135.97314f, 24.376427f, 12.619202f), 418); - obj212.Steps = list293; - reference226 = obj212; - ref QuestSequence reference227 = ref span103[2]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - CollectionsMarshal.AsSpan(list294)[0] = new QuestStep(EInteractionType.Interact, 1012170u, new Vector3(102.92212f, 3.6299734f, 65.56799f), 418); - obj213.Steps = list294; - reference227 = obj213; - ref QuestSequence reference228 = ref span103[3]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - Span span104 = CollectionsMarshal.AsSpan(list295); - ref QuestStep reference229 = ref span104[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1014711u, new Vector3(58.03003f, -7.146736f, 82.41394f), 418); - num3 = 6; - List list296 = new List(num3); - CollectionsMarshal.SetCount(list296, num3); - Span span105 = CollectionsMarshal.AsSpan(list296); - span105[0] = null; - span105[1] = null; - span105[2] = null; - span105[3] = null; - span105[4] = null; - span105[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list296; - reference229 = questStep15; - ref QuestStep reference230 = ref span104[1]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1014712u, new Vector3(93.91919f, -19.941168f, 78.20239f), 418); - num3 = 6; - List list297 = new List(num3); - CollectionsMarshal.SetCount(list297, num3); - Span span106 = CollectionsMarshal.AsSpan(list297); - span106[0] = null; - span106[1] = null; - span106[2] = null; - span106[3] = null; - span106[4] = null; - span106[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list297; - reference230 = questStep16; - ref QuestStep reference231 = ref span104[2]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1014713u, new Vector3(131.9447f, -20.000105f, 62.027832f), 418); - num3 = 6; - List list298 = new List(num3); - CollectionsMarshal.SetCount(list298, num3); - Span span107 = CollectionsMarshal.AsSpan(list298); - span107[0] = null; - span107[1] = null; - span107[2] = null; - span107[3] = null; - span107[4] = null; - span107[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list298; - reference231 = questStep17; - obj214.Steps = list295; - reference228 = obj214; - ref QuestSequence reference232 = ref span103[4]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - CollectionsMarshal.AsSpan(list299)[0] = new QuestStep(EInteractionType.Interact, 1014714u, new Vector3(23.178406f, -12.020877f, 35.294067f), 418); - obj215.Steps = list299; - reference232 = obj215; - ref QuestSequence reference233 = ref span103[5]; - QuestSequence obj216 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - CollectionsMarshal.AsSpan(list300)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012170u, new Vector3(102.92212f, 3.6299734f, 65.56799f), 418); - obj216.Steps = list300; - reference233 = obj216; - questRoot27.QuestSequence = list291; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(1744); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list301 = new List(num); - CollectionsMarshal.SetCount(list301, num); - CollectionsMarshal.AsSpan(list301)[0] = "JerryWester"; - questRoot28.Author = list301; - num = 3; - List list302 = new List(num); - CollectionsMarshal.SetCount(list302, num); - Span span108 = CollectionsMarshal.AsSpan(list302); - ref QuestSequence reference234 = ref span108[0]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list303 = new List(num2); - CollectionsMarshal.SetCount(list303, num2); - CollectionsMarshal.AsSpan(list303)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011240u, new Vector3(493.15625f, 200.2377f, 663.01965f), 397); - obj217.Steps = list303; - reference234 = obj217; - ref QuestSequence reference235 = ref span108[1]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - ref QuestStep reference236 = ref CollectionsMarshal.AsSpan(list304)[0]; - QuestStep obj219 = new QuestStep(EInteractionType.Combat, null, new Vector3(419.65634f, 162.0455f, -176.55469f), 397) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list305 = new List(num3); - CollectionsMarshal.SetCount(list305, num3); - CollectionsMarshal.AsSpan(list305)[0] = new ComplexCombatData - { - DataId = 4802u, - MinimumKillCount = 3u - }; - obj219.ComplexCombatData = list305; - reference236 = obj219; - obj218.Steps = list304; - reference235 = obj218; - ref QuestSequence reference237 = ref span108[2]; - QuestSequence obj220 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - Span span109 = CollectionsMarshal.AsSpan(list306); - span109[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(524.6143f, 212.77472f, 703.436f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - span109[1] = new QuestStep(EInteractionType.CompleteQuest, 1011240u, new Vector3(493.15625f, 200.2377f, 663.01965f), 397); - obj220.Steps = list306; - reference237 = obj220; - questRoot28.QuestSequence = list302; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(1748); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list307 = new List(num); - CollectionsMarshal.SetCount(list307, num); - CollectionsMarshal.AsSpan(list307)[0] = "JerryWester"; - questRoot29.Author = list307; - num = 4; - List list308 = new List(num); - CollectionsMarshal.SetCount(list308, num); - Span span110 = CollectionsMarshal.AsSpan(list308); - ref QuestSequence reference238 = ref span110[0]; - QuestSequence obj221 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - ref QuestStep reference239 = ref CollectionsMarshal.AsSpan(list309)[0]; - QuestStep obj222 = new QuestStep(EInteractionType.AcceptQuest, 1011952u, new Vector3(-277.63788f, -184.59735f, 741.60376f), 401) - { - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop - }; - SkipConditions skipConditions14 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list310 = new List(num3); - CollectionsMarshal.SetCount(list310, num3); - CollectionsMarshal.AsSpan(list310)[0] = 401; - skipAetheryteCondition.InTerritory = list310; - skipConditions14.AetheryteShortcutIf = skipAetheryteCondition; - obj222.SkipConditions = skipConditions14; - reference239 = obj222; - obj221.Steps = list309; - reference238 = obj221; - ref QuestSequence reference240 = ref span110[1]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list311 = new List(num2); - CollectionsMarshal.SetCount(list311, num2); - ref QuestStep reference241 = ref CollectionsMarshal.AsSpan(list311)[0]; - QuestStep obj224 = new QuestStep(EInteractionType.Combat, null, new Vector3(-333.82166f, -182.95169f, 718.7151f), 401) - { - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list312 = new List(num3); - CollectionsMarshal.SetCount(list312, num3); - CollectionsMarshal.AsSpan(list312)[0] = new ComplexCombatData - { - DataId = 4813u, - MinimumKillCount = 1u, - RewardItemId = 2001599u, - RewardItemCount = 1 - }; - obj224.ComplexCombatData = list312; - SkipConditions skipConditions15 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num3 = 1; - List list313 = new List(num3); - CollectionsMarshal.SetCount(list313, num3); - CollectionsMarshal.AsSpan(list313)[0] = 401; - skipAetheryteCondition2.InTerritory = list313; - skipConditions15.AetheryteShortcutIf = skipAetheryteCondition2; - obj224.SkipConditions = skipConditions15; - reference241 = obj224; - obj223.Steps = list311; - reference240 = obj223; - ref QuestSequence reference242 = ref span110[2]; - QuestSequence obj225 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - ref QuestStep reference243 = ref CollectionsMarshal.AsSpan(list314)[0]; - QuestStep obj226 = new QuestStep(EInteractionType.Combat, null, new Vector3(-333.82166f, -182.95169f, 718.7151f), 401) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list315 = new List(num3); - CollectionsMarshal.SetCount(list315, num3); - CollectionsMarshal.AsSpan(list315)[0] = new ComplexCombatData - { - DataId = 4813u, - MinimumKillCount = 1u, - RewardItemId = 2001599u, - RewardItemCount = 1 - }; - obj226.ComplexCombatData = list315; - reference243 = obj226; - obj225.Steps = list314; - reference242 = obj225; - ref QuestSequence reference244 = ref span110[3]; - QuestSequence obj227 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - CollectionsMarshal.AsSpan(list316)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011952u, new Vector3(-277.63788f, -184.59735f, 741.60376f), 401); - obj227.Steps = list316; - reference244 = obj227; - questRoot29.QuestSequence = list308; - AddQuest(questId29, questRoot29); - } - - private static void LoadQuests35() - { - QuestId questId = new QuestId(1759); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "JerryWester"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011910u, new Vector3(-298.26813f, 126.67049f, -1.4191895f), 397); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference3 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj3 = new QuestStep(EInteractionType.Combat, null, new Vector3(-245.22125f, 122.768654f, -59.46304f), 397) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - int num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = new ComplexCombatData - { - DataId = 3993u, - MinimumKillCount = 4u - }; - obj3.ComplexCombatData = list5; - reference3 = obj3; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj4 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011910u, new Vector3(-298.26813f, 126.67049f, -1.4191895f), 397); - obj4.Steps = list6; - reference4 = obj4; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(1760); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - CollectionsMarshal.AsSpan(list7)[0] = "JerryWester"; - questRoot2.Author = list7; - num = 3; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span2 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference5 = ref span2[0]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011907u, new Vector3(-288.8686f, 127.06639f, 13.199036f), 397); - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference6 = ref span2[1]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - ref QuestStep reference7 = ref CollectionsMarshal.AsSpan(list10)[0]; - QuestStep obj7 = new QuestStep(EInteractionType.Combat, null, new Vector3(-334.73944f, 115.3904f, -107.88696f), 397) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - CollectionsMarshal.AsSpan(list11)[0] = new ComplexCombatData - { - DataId = 4464u, - MinimumKillCount = 3u - }; - obj7.ComplexCombatData = list11; - reference7 = obj7; - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference8 = ref span2[2]; - QuestSequence obj8 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011907u, new Vector3(-288.8686f, 127.06639f, 13.199036f), 397); - obj8.Steps = list12; - reference8 = obj8; - questRoot2.QuestSequence = list8; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(1762); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = "Thaksin"; - questRoot3.Author = list13; - num = 5; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - Span span3 = CollectionsMarshal.AsSpan(list14); - ref QuestSequence reference9 = ref span3[0]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013710u, new Vector3(-294.6975f, 126.84874f, 4.5318604f), 397); - obj9.Steps = list15; - reference9 = obj9; - ref QuestSequence reference10 = ref span3[1]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.Interact, 1014133u, new Vector3(-259.84595f, 126.44779f, 1.9073486f), 397); - obj10.Steps = list16; - reference10 = obj10; - ref QuestSequence reference11 = ref span3[2]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - Span span4 = CollectionsMarshal.AsSpan(list17); - ref QuestStep reference12 = ref span4[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2006005u, new Vector3(-157.70203f, 110.73462f, -52.414795f), 397); - num3 = 6; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - Span span5 = CollectionsMarshal.AsSpan(list18); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list18; - reference12 = questStep; - ref QuestStep reference13 = ref span4[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2006006u, new Vector3(-228.25977f, 112.47424f, -127.55017f), 397); - num3 = 6; - List list19 = new List(num3); - CollectionsMarshal.SetCount(list19, num3); - Span span6 = CollectionsMarshal.AsSpan(list19); - span6[0] = null; - span6[1] = null; - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list19; - reference13 = questStep2; - ref QuestStep reference14 = ref span4[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2006007u, new Vector3(-348.10413f, 116.50256f, -91.93567f), 397); - num3 = 6; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - Span span7 = CollectionsMarshal.AsSpan(list20); - span7[0] = null; - span7[1] = null; - span7[2] = null; - span7[3] = null; - span7[4] = null; - span7[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list20; - reference14 = questStep3; - obj11.Steps = list17; - reference11 = obj11; - ref QuestSequence reference15 = ref span3[3]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.Interact, 1014133u, new Vector3(-259.84595f, 126.44779f, 1.9073486f), 397); - obj12.Steps = list21; - reference15 = obj12; - ref QuestSequence reference16 = ref span3[4]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013710u, new Vector3(-294.6975f, 126.84874f, 4.5318604f), 397) - { - NextQuestId = new QuestId(1764) - }; - obj13.Steps = list22; - reference16 = obj13; - questRoot3.QuestSequence = list14; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(1764); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - CollectionsMarshal.AsSpan(list23)[0] = "Thaksin"; - questRoot4.Author = list23; - num = 5; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - Span span8 = CollectionsMarshal.AsSpan(list24); - ref QuestSequence reference17 = ref span8[0]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013710u, new Vector3(-294.6975f, 126.84874f, 4.5318604f), 397); - obj14.Steps = list25; - reference17 = obj14; - ref QuestSequence reference18 = ref span8[1]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.Interact, 1014134u, new Vector3(-293.23267f, 126.85495f, 5.2643433f), 397); - obj15.Steps = list26; - reference18 = obj15; - ref QuestSequence reference19 = ref span8[2]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - Span span9 = CollectionsMarshal.AsSpan(list27); - span9[0] = new QuestStep(EInteractionType.Interact, 1014136u, new Vector3(292.74426f, 132.44626f, -244.73944f), 397) - { - Fly = true - }; - ref QuestStep reference20 = ref span9[1]; - QuestStep obj17 = new QuestStep(EInteractionType.Combat, 4041u, new Vector3(289.0053f, 132.30807f, -233.57523f), 397) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - CollectionsMarshal.AsSpan(list28)[0] = 4041u; - obj17.KillEnemyDataIds = list28; - reference20 = obj17; - obj16.Steps = list27; - reference19 = obj16; - ref QuestSequence reference21 = ref span8[3]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.Interact, 1014136u, new Vector3(292.74426f, 132.44626f, -244.73944f), 397); - obj18.Steps = list29; - reference21 = obj18; - ref QuestSequence reference22 = ref span8[4]; - QuestSequence obj19 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013710u, new Vector3(-294.6975f, 126.84874f, 4.5318604f), 397) - { - Fly = true, - NextQuestId = new QuestId(1765) - }; - obj19.Steps = list30; - reference22 = obj19; - questRoot4.QuestSequence = list24; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(1765); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list31 = new List(num); - CollectionsMarshal.SetCount(list31, num); - CollectionsMarshal.AsSpan(list31)[0] = "Thaksin"; - questRoot5.Author = list31; - num = 5; - List list32 = new List(num); - CollectionsMarshal.SetCount(list32, num); - Span span10 = CollectionsMarshal.AsSpan(list32); - ref QuestSequence reference23 = ref span10[0]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013710u, new Vector3(-294.6975f, 126.84874f, 4.5318604f), 397); - obj20.Steps = list33; - reference23 = obj20; - ref QuestSequence reference24 = ref span10[1]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.Interact, 1014138u, new Vector3(-219.19586f, 112.21238f, -244.1596f), 397) - { - Fly = true - }; - obj21.Steps = list34; - reference24 = obj21; - ref QuestSequence reference25 = ref span10[2]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - ref QuestStep reference26 = ref CollectionsMarshal.AsSpan(list35)[0]; - QuestStep obj23 = new QuestStep(EInteractionType.Combat, 4470u, new Vector3(-468.44992f, 93.85853f, -506.40417f), 397) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - CollectionsMarshal.AsSpan(list36)[0] = 4470u; - obj23.KillEnemyDataIds = list36; - reference26 = obj23; - obj22.Steps = list35; - reference25 = obj22; - ref QuestSequence reference27 = ref span10[3]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - Span span11 = CollectionsMarshal.AsSpan(list37); - span11[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-219.1624f, 112.29031f, -239.88861f), 397) - { - Fly = true - }; - span11[1] = new QuestStep(EInteractionType.Interact, 1014138u, new Vector3(-219.19586f, 112.21238f, -244.1596f), 397); - obj24.Steps = list37; - reference27 = obj24; - ref QuestSequence reference28 = ref span10[4]; - QuestSequence obj25 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013710u, new Vector3(-294.6975f, 126.84874f, 4.5318604f), 397) - { - Fly = true, - NextQuestId = new QuestId(1766) - }; - obj25.Steps = list38; - reference28 = obj25; - questRoot5.QuestSequence = list32; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(1766); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - CollectionsMarshal.AsSpan(list39)[0] = "Thaksin"; - questRoot6.Author = list39; - num = 6; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - Span span12 = CollectionsMarshal.AsSpan(list40); - ref QuestSequence reference29 = ref span12[0]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013710u, new Vector3(-294.6975f, 126.84874f, 4.5318604f), 397); - obj26.Steps = list41; - reference29 = obj26; - ref QuestSequence reference30 = ref span12[1]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.Interact, 1014138u, new Vector3(-219.19586f, 112.21238f, -244.1596f), 397) - { - Fly = true - }; - obj27.Steps = list42; - reference30 = obj27; - ref QuestSequence reference31 = ref span12[2]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.Interact, 1014140u, new Vector3(-472.19043f, 93.87282f, -503.7156f), 397) - { - Fly = true - }; - obj28.Steps = list43; - reference31 = obj28; - ref QuestSequence reference32 = ref span12[3]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - ref QuestStep reference33 = ref CollectionsMarshal.AsSpan(list44)[0]; - QuestStep obj30 = new QuestStep(EInteractionType.Combat, 4468u, new Vector3(-696.8278f, 100.08534f, -603.926f), 397) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - CollectionsMarshal.AsSpan(list45)[0] = 4468u; - obj30.KillEnemyDataIds = list45; - reference33 = obj30; - obj29.Steps = list44; - reference32 = obj29; - ref QuestSequence reference34 = ref span12[4]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 1014140u, new Vector3(-472.19043f, 93.87282f, -503.7156f), 397) - { - Fly = true - }; - obj31.Steps = list46; - reference34 = obj31; - ref QuestSequence reference35 = ref span12[5]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013710u, new Vector3(-294.6975f, 126.84874f, 4.5318604f), 397) - { - Fly = true, - NextQuestId = new QuestId(1769) - }; - obj32.Steps = list47; - reference35 = obj32; - questRoot6.QuestSequence = list40; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(1769); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - CollectionsMarshal.AsSpan(list48)[0] = "Thaksin"; - questRoot7.Author = list48; - num = 11; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - Span span13 = CollectionsMarshal.AsSpan(list49); - ref QuestSequence reference36 = ref span13[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013710u, new Vector3(-294.6975f, 126.84874f, 4.5318604f), 397); - obj33.Steps = list50; - reference36 = obj33; - ref QuestSequence reference37 = ref span13[1]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.Interact, 1014142u, new Vector3(-290.33344f, 76.98337f, -259.93744f), 397) - { - Fly = true - }; - obj34.Steps = list51; - reference37 = obj34; - ref QuestSequence reference38 = ref span13[2]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.Interact, 2006013u, new Vector3(-287.76996f, 77.74463f, -278.00415f), 397); - obj35.Steps = list52; - reference38 = obj35; - ref QuestSequence reference39 = ref span13[3]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.Interact, 1014142u, new Vector3(-290.33344f, 76.98337f, -259.93744f), 397); - obj36.Steps = list53; - reference39 = obj36; - ref QuestSequence reference40 = ref span13[4]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - Span span14 = CollectionsMarshal.AsSpan(list54); - span14[0] = new QuestStep(EInteractionType.Interact, 2006014u, new Vector3(-291.8593f, 76.98169f, -261.0056f), 397); - ref QuestStep reference41 = ref span14[1]; - QuestStep obj38 = new QuestStep(EInteractionType.Combat, 4037u, new Vector3(-285.1214f, 76.98337f, -275.5287f), 397) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list55 = new List(num3); - CollectionsMarshal.SetCount(list55, num3); - CollectionsMarshal.AsSpan(list55)[0] = 4037u; - obj38.KillEnemyDataIds = list55; - reference41 = obj38; - obj37.Steps = list54; - reference40 = obj37; - ref QuestSequence reference42 = ref span13[5]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.Interact, 1014142u, new Vector3(-290.33344f, 76.98337f, -259.93744f), 397); - obj39.Steps = list56; - reference42 = obj39; - ref QuestSequence reference43 = ref span13[6]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.Interact, 1013710u, new Vector3(-294.6975f, 126.84874f, 4.5318604f), 397) - { - Fly = true - }; - obj40.Steps = list57; - reference43 = obj40; - ref QuestSequence reference44 = ref span13[7]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.Interact, 1014144u, new Vector3(-258.16742f, 126.98671f, 12.77179f), 397); - obj41.Steps = list58; - reference44 = obj41; - ref QuestSequence reference45 = ref span13[8]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.Interact, 2006015u, new Vector3(-252.33844f, 127.00073f, 11.093262f), 397); - obj42.Steps = list59; - reference45 = obj42; - ref QuestSequence reference46 = ref span13[9]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.Interact, 1014144u, new Vector3(-258.16742f, 126.98671f, 12.77179f), 397); - obj43.Steps = list60; - reference46 = obj43; - ref QuestSequence reference47 = ref span13[10]; - QuestSequence obj44 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013710u, new Vector3(-294.6975f, 126.84874f, 4.5318604f), 397); - obj44.Steps = list61; - reference47 = obj44; - questRoot7.QuestSequence = list49; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(1771); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - CollectionsMarshal.AsSpan(list62)[0] = "JerryWester"; - questRoot8.Author = list62; - num = 3; - List list63 = new List(num); - CollectionsMarshal.SetCount(list63, num); - Span span15 = CollectionsMarshal.AsSpan(list63); - ref QuestSequence reference48 = ref span15[0]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011916u, new Vector3(470.02356f, -49.89133f, 20.370789f), 398); - obj45.Steps = list64; - reference48 = obj45; - ref QuestSequence reference49 = ref span15[1]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 1 - }; - num2 = 8; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - Span span16 = CollectionsMarshal.AsSpan(list65); - ref QuestStep reference50 = ref span16[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(627.76666f, -26.098835f, -408.3923f), 398); - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - Span span17 = CollectionsMarshal.AsSpan(list66); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list66; - skipConditions.StepIf = skipStepConditions; - questStep4.SkipConditions = skipConditions; - reference50 = questStep4; - ref QuestStep reference51 = ref span16[1]; - QuestStep obj47 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(643.6058f, -17.959486f, -409.5136f), 398) - { - DisableNavmesh = true - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - Span span18 = CollectionsMarshal.AsSpan(list67); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list67; - skipConditions2.StepIf = skipStepConditions2; - obj47.SkipConditions = skipConditions2; - reference51 = obj47; - ref QuestStep reference52 = ref span16[2]; - QuestStep obj48 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(681.08307f, -23.861216f, -313.61807f), 398) - { - DisableNavmesh = true - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list68 = new List(num3); - CollectionsMarshal.SetCount(list68, num3); - Span span19 = CollectionsMarshal.AsSpan(list68); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list68; - skipConditions3.StepIf = skipStepConditions3; - obj48.SkipConditions = skipConditions3; - reference52 = obj48; - ref QuestStep reference53 = ref span16[3]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1011932u, new Vector3(685.96924f, -24.382862f, -269.06238f), 398); - num3 = 6; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - Span span20 = CollectionsMarshal.AsSpan(list69); - span20[0] = null; - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list69; - reference53 = questStep5; - ref QuestStep reference54 = ref span16[4]; - QuestStep obj49 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(698.47815f, -24.308271f, -262.69476f), 398) - { - Mount = true - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list70 = new List(num3); - CollectionsMarshal.SetCount(list70, num3); - Span span21 = CollectionsMarshal.AsSpan(list70); - span21[0] = null; - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list70; - skipConditions4.StepIf = skipStepConditions4; - obj49.SkipConditions = skipConditions4; - reference54 = obj49; - ref QuestStep reference55 = ref span16[5]; - QuestStep obj50 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(725.30743f, -43.07919f, -208.64124f), 398) - { - DisableNavmesh = true - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 6; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - Span span22 = CollectionsMarshal.AsSpan(list71); - span22[0] = null; - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions5.CompletionQuestVariablesFlags = list71; - skipConditions5.StepIf = skipStepConditions5; - obj50.SkipConditions = skipConditions5; - reference55 = obj50; - ref QuestStep reference56 = ref span16[6]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1011924u, new Vector3(849.0576f, -37.669926f, -39.56665f), 398); - num3 = 6; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - Span span23 = CollectionsMarshal.AsSpan(list72); - span23[0] = null; - span23[1] = null; - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list72; - reference56 = questStep6; - ref QuestStep reference57 = ref span16[7]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1011923u, new Vector3(711.1161f, -36.390835f, 198.10791f), 398); - num3 = 6; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - Span span24 = CollectionsMarshal.AsSpan(list73); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list73; - reference57 = questStep7; - obj46.Steps = list65; - reference49 = obj46; - ref QuestSequence reference58 = ref span15[2]; - QuestSequence obj51 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011916u, new Vector3(470.02356f, -49.89133f, 20.370789f), 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - obj51.Steps = list74; - reference58 = obj51; - questRoot8.QuestSequence = list63; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(1790); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - CollectionsMarshal.AsSpan(list75)[0] = "JerryWester"; - questRoot9.Author = list75; - num = 3; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - Span span25 = CollectionsMarshal.AsSpan(list76); - ref QuestSequence reference59 = ref span25[0]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011929u, new Vector3(70.81714f, -49.2083f, -141.55798f), 398); - obj52.Steps = list77; - reference59 = obj52; - ref QuestSequence reference60 = ref span25[1]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - ref QuestStep reference61 = ref CollectionsMarshal.AsSpan(list78)[0]; - QuestStep obj54 = new QuestStep(EInteractionType.Combat, 4001u, new Vector3(179.33923f, -108.80406f, 597.07007f), 398) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - CollectionsMarshal.AsSpan(list79)[0] = new ComplexCombatData - { - DataId = 4001u, - MinimumKillCount = 2u, - RewardItemId = 2001614u, - RewardItemCount = 2 - }; - obj54.ComplexCombatData = list79; - reference61 = obj54; - obj53.Steps = list78; - reference60 = obj53; - ref QuestSequence reference62 = ref span25[2]; - QuestSequence obj55 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - Span span26 = CollectionsMarshal.AsSpan(list80); - span26[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(70.535545f, -49.45454f, -149.54617f), 398); - span26[1] = new QuestStep(EInteractionType.CompleteQuest, 1011929u, new Vector3(70.81714f, -49.2083f, -141.55798f), 398); - obj55.Steps = list80; - reference62 = obj55; - questRoot9.QuestSequence = list76; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(1791); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - CollectionsMarshal.AsSpan(list81)[0] = "Thaksin"; - questRoot10.Author = list81; - num = 3; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - Span span27 = CollectionsMarshal.AsSpan(list82); - ref QuestSequence reference63 = ref span27[0]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011931u, new Vector3(56.839844f, -49.92323f, -135.91211f), 398) - { - Fly = true - }; - obj56.Steps = list83; - reference63 = obj56; - ref QuestSequence reference64 = ref span27[1]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - Span span28 = CollectionsMarshal.AsSpan(list84); - ref QuestStep reference65 = ref span28[0]; - QuestStep obj58 = new QuestStep(EInteractionType.Interact, 2005617u, new Vector3(197.22278f, -99.931335f, 644.4646f), 398) - { - StopDistance = 0.5f, - Fly = true - }; - num3 = 6; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - Span span29 = CollectionsMarshal.AsSpan(list85); - span29[0] = null; - span29[1] = null; - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj58.CompletionQuestVariablesFlags = list85; - reference65 = obj58; - ref QuestStep reference66 = ref span28[1]; - QuestStep obj59 = new QuestStep(EInteractionType.Interact, 2005618u, new Vector3(287.64783f, -94.10242f, 597.9553f), 398) - { - StopDistance = 0.5f, - Fly = true - }; - num3 = 6; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - Span span30 = CollectionsMarshal.AsSpan(list86); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj59.CompletionQuestVariablesFlags = list86; - reference66 = obj59; - obj57.Steps = list84; - reference64 = obj57; - ref QuestSequence reference67 = ref span27[2]; - QuestSequence obj60 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011931u, new Vector3(56.839844f, -49.92323f, -135.91211f), 398) - { - Fly = true, - NextQuestId = new QuestId(1793) - }; - obj60.Steps = list87; - reference67 = obj60; - questRoot10.QuestSequence = list82; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(1793); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list88 = new List(num); - CollectionsMarshal.SetCount(list88, num); - CollectionsMarshal.AsSpan(list88)[0] = "Thaksin"; - questRoot11.Author = list88; - num = 3; - List list89 = new List(num); - CollectionsMarshal.SetCount(list89, num); - Span span31 = CollectionsMarshal.AsSpan(list89); - ref QuestSequence reference68 = ref span31[0]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011931u, new Vector3(56.839844f, -49.92323f, -135.91211f), 398) - { - Fly = true - }; - obj61.Steps = list90; - reference68 = obj61; - ref QuestSequence reference69 = ref span31[1]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - Span span32 = CollectionsMarshal.AsSpan(list91); - ref QuestStep reference70 = ref span32[0]; - QuestStep obj63 = new QuestStep(EInteractionType.Interact, 2005636u, new Vector3(-247.21143f, -77.62268f, 819.4857f), 398) - { - Fly = true - }; - num3 = 6; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - Span span33 = CollectionsMarshal.AsSpan(list92); - span33[0] = null; - span33[1] = null; - span33[2] = null; - span33[3] = null; - span33[4] = null; - span33[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj63.CompletionQuestVariablesFlags = list92; - reference70 = obj63; - ref QuestStep reference71 = ref span32[1]; - QuestStep obj64 = new QuestStep(EInteractionType.Interact, 2005635u, new Vector3(-187.24353f, -84.85547f, 733.51636f), 398) - { - Fly = true - }; - num3 = 6; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - Span span34 = CollectionsMarshal.AsSpan(list93); - span34[0] = null; - span34[1] = null; - span34[2] = null; - span34[3] = null; - span34[4] = null; - span34[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj64.CompletionQuestVariablesFlags = list93; - reference71 = obj64; - ref QuestStep reference72 = ref span32[2]; - QuestStep obj65 = new QuestStep(EInteractionType.Interact, 2005633u, new Vector3(-273.518f, -82.47504f, 644.6478f), 398) - { - Fly = true - }; - num3 = 6; - List list94 = new List(num3); - CollectionsMarshal.SetCount(list94, num3); - Span span35 = CollectionsMarshal.AsSpan(list94); - span35[0] = null; - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj65.CompletionQuestVariablesFlags = list94; - reference72 = obj65; - ref QuestStep reference73 = ref span32[3]; - QuestStep obj66 = new QuestStep(EInteractionType.Interact, 2005634u, new Vector3(-307.3015f, -80.1557f, 665.6748f), 398) - { - Fly = true - }; - num3 = 6; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - Span span36 = CollectionsMarshal.AsSpan(list95); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj66.CompletionQuestVariablesFlags = list95; - reference73 = obj66; - obj62.Steps = list91; - reference69 = obj62; - ref QuestSequence reference74 = ref span31[2]; - QuestSequence obj67 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011931u, new Vector3(56.839844f, -49.92323f, -135.91211f), 398) - { - Fly = true - }; - obj67.Steps = list96; - reference74 = obj67; - questRoot11.QuestSequence = list89; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(1797); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - CollectionsMarshal.AsSpan(list97)[0] = "JerryWester"; - questRoot12.Author = list97; - num = 3; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - Span span37 = CollectionsMarshal.AsSpan(list98); - ref QuestSequence reference75 = ref span37[0]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011916u, new Vector3(470.02356f, -49.89133f, 20.370789f), 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj68.Steps = list99; - reference75 = obj68; - ref QuestSequence reference76 = ref span37[1]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 1 - }; - num2 = 8; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - Span span38 = CollectionsMarshal.AsSpan(list100); - ref QuestStep reference77 = ref span38[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(627.76666f, -26.098835f, -408.3923f), 398); - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 6; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - Span span39 = CollectionsMarshal.AsSpan(list101); - span39[0] = null; - span39[1] = null; - span39[2] = null; - span39[3] = null; - span39[4] = null; - span39[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions6.CompletionQuestVariablesFlags = list101; - skipConditions6.StepIf = skipStepConditions6; - questStep8.SkipConditions = skipConditions6; - reference77 = questStep8; - ref QuestStep reference78 = ref span38[1]; - QuestStep obj70 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(643.6058f, -17.959486f, -409.5136f), 398) - { - DisableNavmesh = true - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 6; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - Span span40 = CollectionsMarshal.AsSpan(list102); - span40[0] = null; - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions7.CompletionQuestVariablesFlags = list102; - skipConditions7.StepIf = skipStepConditions7; - obj70.SkipConditions = skipConditions7; - reference78 = obj70; - ref QuestStep reference79 = ref span38[2]; - QuestStep obj71 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(681.08307f, -23.861216f, -313.61807f), 398) - { - DisableNavmesh = true - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions8 = new SkipStepConditions(); - num3 = 6; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - Span span41 = CollectionsMarshal.AsSpan(list103); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions8.CompletionQuestVariablesFlags = list103; - skipConditions8.StepIf = skipStepConditions8; - obj71.SkipConditions = skipConditions8; - reference79 = obj71; - ref QuestStep reference80 = ref span38[3]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1011932u, new Vector3(685.96924f, -24.382862f, -269.06238f), 398); - num3 = 6; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - Span span42 = CollectionsMarshal.AsSpan(list104); - span42[0] = null; - span42[1] = null; - span42[2] = null; - span42[3] = null; - span42[4] = null; - span42[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list104; - reference80 = questStep9; - ref QuestStep reference81 = ref span38[4]; - QuestStep obj72 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(698.47815f, -24.308271f, -262.69476f), 398) - { - Mount = true - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions9 = new SkipStepConditions(); - num3 = 6; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - Span span43 = CollectionsMarshal.AsSpan(list105); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions9.CompletionQuestVariablesFlags = list105; - skipConditions9.StepIf = skipStepConditions9; - obj72.SkipConditions = skipConditions9; - reference81 = obj72; - ref QuestStep reference82 = ref span38[5]; - QuestStep obj73 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(725.30743f, -43.07919f, -208.64124f), 398) - { - DisableNavmesh = true - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipStepConditions skipStepConditions10 = new SkipStepConditions(); - num3 = 6; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - Span span44 = CollectionsMarshal.AsSpan(list106); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions10.CompletionQuestVariablesFlags = list106; - skipConditions10.StepIf = skipStepConditions10; - obj73.SkipConditions = skipConditions10; - reference82 = obj73; - ref QuestStep reference83 = ref span38[6]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1011924u, new Vector3(849.0576f, -37.669926f, -39.56665f), 398); - num3 = 6; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - Span span45 = CollectionsMarshal.AsSpan(list107); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list107; - reference83 = questStep10; - ref QuestStep reference84 = ref span38[7]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1011923u, new Vector3(711.1161f, -36.390835f, 198.10791f), 398); - num3 = 6; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - Span span46 = CollectionsMarshal.AsSpan(list108); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list108; - reference84 = questStep11; - obj69.Steps = list100; - reference76 = obj69; - ref QuestSequence reference85 = ref span37[2]; - QuestSequence obj74 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011916u, new Vector3(470.02356f, -49.89133f, 20.370789f), 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - obj74.Steps = list109; - reference85 = obj74; - questRoot12.QuestSequence = list98; - AddQuest(questId12, questRoot12); - } - - private static void LoadQuests36() - { - QuestId questId = new QuestId(1802); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "JerryWester"; - questRoot.Author = list; - num = 8; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011937u, new Vector3(-305.56195f, 39.04307f, 22.9953f), 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-334.08136f, 40.34739f, 18.237068f), 398); - span2[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-324.42703f, -22.971008f, 51.45664f), 398) - { - DisableNavmesh = true - }; - span2[2] = new QuestStep(EInteractionType.Interact, 1013406u, new Vector3(-411.52057f, -35.095f, 231.46399f), 398); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - ref QuestStep reference4 = ref CollectionsMarshal.AsSpan(list5)[0]; - QuestStep obj4 = new QuestStep(EInteractionType.Combat, null, new Vector3(-431.6009f, -34.79498f, 250.46066f), 398) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - int num3 = 1; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - CollectionsMarshal.AsSpan(list6)[0] = 4494u; - obj4.KillEnemyDataIds = list6; - reference4 = obj4; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference5 = ref span[3]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.Interact, 1013407u, new Vector3(-408.40778f, -34.191658f, 238.48315f), 398); - obj5.Steps = list7; - reference5 = obj5; - ref QuestSequence reference6 = ref span[4]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - ref QuestStep reference7 = ref CollectionsMarshal.AsSpan(list8)[0]; - QuestStep obj7 = new QuestStep(EInteractionType.Combat, null, new Vector3(-431.6009f, -34.79498f, 250.46066f), 398) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - CollectionsMarshal.AsSpan(list9)[0] = 4495u; - obj7.KillEnemyDataIds = list9; - reference7 = obj7; - obj6.Steps = list8; - reference6 = obj6; - ref QuestSequence reference8 = ref span[5]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.Interact, 1013408u, new Vector3(-409.87262f, -34.650936f, 234.88208f), 398); - obj8.Steps = list10; - reference8 = obj8; - ref QuestSequence reference9 = ref span[6]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - ref QuestStep reference10 = ref CollectionsMarshal.AsSpan(list11)[0]; - QuestStep obj10 = new QuestStep(EInteractionType.Combat, null, new Vector3(-431.6009f, -34.79498f, 250.46066f), 398) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - CollectionsMarshal.AsSpan(list12)[0] = 4496u; - obj10.KillEnemyDataIds = list12; - reference10 = obj10; - obj9.Steps = list11; - reference9 = obj9; - ref QuestSequence reference11 = ref span[7]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011937u, new Vector3(-305.56195f, 39.04307f, 22.9953f), 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - obj11.Steps = list13; - reference11 = obj11; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(1819); - QuestRoot questRoot2 = new QuestRoot(); - num = 2; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - Span span3 = CollectionsMarshal.AsSpan(list14); - span3[0] = "JerryWester"; - span3[1] = "Wigglez"; - questRoot2.Author = list14; - num = 3; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - Span span4 = CollectionsMarshal.AsSpan(list15); - ref QuestSequence reference12 = ref span4[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012284u, new Vector3(363.24097f, -73.25598f, 678.4314f), 400); - obj12.Steps = list16; - reference12 = obj12; - ref QuestSequence reference13 = ref span4[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - Span span5 = CollectionsMarshal.AsSpan(list17); - span5[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(550.8325f, 21.90062f, 530.2827f), 400); - span5[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(574.6052f, -6.4543915f, 536.073f), 400) - { - DisableNavmesh = true - }; - ref QuestStep reference14 = ref span5[2]; - QuestStep obj14 = new QuestStep(EInteractionType.Combat, null, new Vector3(574.6052f, -6.4543915f, 536.073f), 400) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - CollectionsMarshal.AsSpan(list18)[0] = new ComplexCombatData - { - DataId = 4039u, - MinimumKillCount = 3u - }; - obj14.ComplexCombatData = list18; - reference14 = obj14; - obj13.Steps = list17; - reference13 = obj13; - ref QuestSequence reference15 = ref span4[2]; - QuestSequence obj15 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012284u, new Vector3(363.24097f, -73.25598f, 678.4314f), 400) - { - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome - }; - obj15.Steps = list19; - reference15 = obj15; - questRoot2.QuestSequence = list15; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(1821); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - CollectionsMarshal.AsSpan(list20)[0] = "liza"; - questRoot3.Author = list20; - num = 6; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - Span span6 = CollectionsMarshal.AsSpan(list21); - ref QuestSequence reference16 = ref span6[0]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014424u, new Vector3(357.47314f, 2.7662196f, 638.3002f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj16.Steps = list22; - reference16 = obj16; - ref QuestSequence reference17 = ref span6[1]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.Interact, 1014425u, new Vector3(475.7915f, -4.4960318f, 722.13306f), 400) - { - Fly = true - }; - obj17.Steps = list23; - reference17 = obj17; - ref QuestSequence reference18 = ref span6[2]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.Interact, 1014427u, new Vector3(474.6012f, -4.4750566f, 721.5532f), 400); - obj18.Steps = list24; - reference18 = obj18; - ref QuestSequence reference19 = ref span6[3]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(769.16034f, -9.491294f, 286.96594f), 400) - { - Fly = true - }; - obj19.Steps = list25; - reference19 = obj19; - ref QuestSequence reference20 = ref span6[4]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - Span span7 = CollectionsMarshal.AsSpan(list26); - ref QuestStep reference21 = ref span7[0]; - QuestStep obj21 = new QuestStep(EInteractionType.Combat, null, new Vector3(769.16034f, -9.491294f, 286.96594f), 400) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - CollectionsMarshal.AsSpan(list27)[0] = 4039u; - obj21.KillEnemyDataIds = list27; - reference21 = obj21; - span7[1] = new QuestStep(EInteractionType.Interact, 1014426u, new Vector3(770.2295f, -9.491293f, 287.95288f), 400) - { - StopDistance = 7f - }; - obj20.Steps = list26; - reference20 = obj20; - ref QuestSequence reference22 = ref span6[5]; - QuestSequence obj22 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014427u, new Vector3(474.6012f, -4.4750566f, 721.5532f), 400) - { - Fly = true, - NextQuestId = new QuestId(1824) - }; - obj22.Steps = list28; - reference22 = obj22; - questRoot3.QuestSequence = list21; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(1823); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - CollectionsMarshal.AsSpan(list29)[0] = "JerryWester"; - questRoot4.Author = list29; - num = 3; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - Span span8 = CollectionsMarshal.AsSpan(list30); - ref QuestSequence reference23 = ref span8[0]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012285u, new Vector3(247.11987f, -42.33362f, 565.3314f), 400); - obj23.Steps = list31; - reference23 = obj23; - ref QuestSequence reference24 = ref span8[1]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - ref QuestStep reference25 = ref CollectionsMarshal.AsSpan(list32)[0]; - QuestStep obj25 = new QuestStep(EInteractionType.Combat, null, new Vector3(456.25598f, -27.669996f, 157.59406f), 400) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - CollectionsMarshal.AsSpan(list33)[0] = new ComplexCombatData - { - DataId = 3999u, - MinimumKillCount = 3u - }; - obj25.ComplexCombatData = list33; - reference25 = obj25; - obj24.Steps = list32; - reference24 = obj24; - ref QuestSequence reference26 = ref span8[2]; - QuestSequence obj26 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - Span span9 = CollectionsMarshal.AsSpan(list34); - span9[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(83.82025f, -24.433022f, 150.46234f), 400); - span9[1] = new QuestStep(EInteractionType.CompleteQuest, 1012288u, new Vector3(-47.04364f, -8.866012f, 165.94177f), 400); - obj26.Steps = list34; - reference26 = obj26; - questRoot4.QuestSequence = list30; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(1824); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - CollectionsMarshal.AsSpan(list35)[0] = "liza"; - questRoot5.Author = list35; - num = 10; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - Span span10 = CollectionsMarshal.AsSpan(list36); - ref QuestSequence reference27 = ref span10[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014429u, new Vector3(-77.34796f, -8.655561f, 165.23987f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj27.Steps = list37; - reference27 = obj27; - ref QuestSequence reference28 = ref span10[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.Interact, 1014431u, new Vector3(-77.37854f, -8.6555605f, 166.36902f), 400); - obj28.Steps = list38; - reference28 = obj28; - ref QuestSequence reference29 = ref span10[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 1014430u, new Vector3(357.90027f, -29.897694f, -105.21106f), 400) - { - Fly = true - }; - obj29.Steps = list39; - reference29 = obj29; - ref QuestSequence reference30 = ref span10[3]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - ref QuestStep reference31 = ref CollectionsMarshal.AsSpan(list40)[0]; - QuestStep obj31 = new QuestStep(EInteractionType.Combat, null, new Vector3(318.27338f, -29.677633f, -148.89816f), 400) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - CollectionsMarshal.AsSpan(list41)[0] = new ComplexCombatData - { - DataId = 4470u, - MinimumKillCount = 1u - }; - obj31.ComplexCombatData = list41; - reference31 = obj31; - obj30.Steps = list40; - reference30 = obj30; - ref QuestSequence reference32 = ref span10[4]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.Interact, 1014430u, new Vector3(357.90027f, -29.897694f, -105.21106f), 400) - { - Fly = true - }; - obj32.Steps = list42; - reference32 = obj32; - ref QuestSequence reference33 = ref span10[5]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - ref QuestStep reference34 = ref CollectionsMarshal.AsSpan(list43)[0]; - QuestStep obj34 = new QuestStep(EInteractionType.Combat, null, new Vector3(293.52023f, -30.697027f, -167.88272f), 400) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - CollectionsMarshal.AsSpan(list44)[0] = new ComplexCombatData - { - DataId = 4470u, - MinimumKillCount = 1u - }; - obj34.ComplexCombatData = list44; - reference34 = obj34; - obj33.Steps = list43; - reference33 = obj33; - ref QuestSequence reference35 = ref span10[6]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.Interact, 1014430u, new Vector3(357.90027f, -29.897694f, -105.21106f), 400) - { - Fly = true - }; - obj35.Steps = list45; - reference35 = obj35; - ref QuestSequence reference36 = ref span10[7]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - ref QuestStep reference37 = ref CollectionsMarshal.AsSpan(list46)[0]; - QuestStep obj37 = new QuestStep(EInteractionType.Combat, null, new Vector3(226.58783f, -36.917496f, -100.45467f), 400) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list47 = new List(num3); - CollectionsMarshal.SetCount(list47, num3); - CollectionsMarshal.AsSpan(list47)[0] = new ComplexCombatData - { - DataId = 4470u, - MinimumKillCount = 1u - }; - obj37.ComplexCombatData = list47; - reference37 = obj37; - obj36.Steps = list46; - reference36 = obj36; - ref QuestSequence reference38 = ref span10[8]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.Interact, 1014430u, new Vector3(357.90027f, -29.897694f, -105.21106f), 400) - { - Fly = true - }; - obj38.Steps = list48; - reference38 = obj38; - ref QuestSequence reference39 = ref span10[9]; - QuestSequence obj39 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014431u, new Vector3(-77.37854f, -8.6555605f, 166.36902f), 400) - { - Fly = true, - NextQuestId = new QuestId(1831) - }; - obj39.Steps = list49; - reference39 = obj39; - questRoot5.QuestSequence = list36; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(1828); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - CollectionsMarshal.AsSpan(list50)[0] = "JerryWester"; - questRoot6.Author = list50; - num = 3; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - Span span11 = CollectionsMarshal.AsSpan(list51); - ref QuestSequence reference40 = ref span11[0]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013420u, new Vector3(-511.46716f, 50f, 347.0968f), 400); - obj40.Steps = list52; - reference40 = obj40; - ref QuestSequence reference41 = ref span11[1]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 1 - }; - num2 = 9; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - Span span12 = CollectionsMarshal.AsSpan(list53); - ref QuestStep reference42 = ref span12[0]; - QuestStep questStep = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-526.363f, 50.165375f, 407.25165f), 400); - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - Span span13 = CollectionsMarshal.AsSpan(list54); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list54; - skipConditions.StepIf = skipStepConditions; - questStep.SkipConditions = skipConditions; - reference42 = questStep; - ref QuestStep reference43 = ref span12[1]; - QuestStep obj42 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-533.25507f, 53.07081f, 414.5445f), 400) - { - DisableNavmesh = true - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list55 = new List(num3); - CollectionsMarshal.SetCount(list55, num3); - Span span14 = CollectionsMarshal.AsSpan(list55); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list55; - skipConditions2.StepIf = skipStepConditions2; - obj42.SkipConditions = skipConditions2; - reference43 = obj42; - ref QuestStep reference44 = ref span12[2]; - QuestStep questStep2 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-515.5652f, 57.261906f, 444.5247f), 400); - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - Span span15 = CollectionsMarshal.AsSpan(list56); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list56; - skipConditions3.StepIf = skipStepConditions3; - questStep2.SkipConditions = skipConditions3; - reference44 = questStep2; - ref QuestStep reference45 = ref span12[3]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1013424u, new Vector3(-498.9853f, 57.261353f, 437.94922f), 400); - num3 = 6; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - Span span16 = CollectionsMarshal.AsSpan(list57); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list57; - reference45 = questStep3; - ref QuestStep reference46 = ref span12[4]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1013425u, new Vector3(-451.80438f, 44.72754f, 416.89172f), 400); - num3 = 6; - List list58 = new List(num3); - CollectionsMarshal.SetCount(list58, num3); - Span span17 = CollectionsMarshal.AsSpan(list58); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list58; - reference46 = questStep4; - ref QuestStep reference47 = ref span12[5]; - QuestStep questStep5 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-456.7709f, 43.310535f, 387.23517f), 400); - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - Span span18 = CollectionsMarshal.AsSpan(list59); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list59; - skipConditions4.StepIf = skipStepConditions4; - questStep5.SkipConditions = skipConditions4; - reference47 = questStep5; - ref QuestStep reference48 = ref span12[6]; - QuestStep obj43 = new QuestStep(EInteractionType.Jump, null, new Vector3(-443.18756f, 51.336708f, 390.36755f), 400) - { - StopDistance = 0.25f, - DisableNavmesh = true, - JumpDestination = new JumpDestination - { - Position = new Vector3(-441.0496f, 53.51014f, 385.287f), - StopDistance = 0.5f - } - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 6; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - Span span19 = CollectionsMarshal.AsSpan(list60); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions5.CompletionQuestVariablesFlags = list60; - skipConditions5.StepIf = skipStepConditions5; - obj43.SkipConditions = skipConditions5; - reference48 = obj43; - ref QuestStep reference49 = ref span12[7]; - QuestStep obj44 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-443.36014f, 53.653843f, 380.91522f), 400) - { - StopDistance = 0.5f, - DisableNavmesh = true - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 6; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - Span span20 = CollectionsMarshal.AsSpan(list61); - span20[0] = null; - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions6.CompletionQuestVariablesFlags = list61; - skipConditions6.StepIf = skipStepConditions6; - obj44.SkipConditions = skipConditions6; - reference49 = obj44; - ref QuestStep reference50 = ref span12[8]; - QuestStep obj45 = new QuestStep(EInteractionType.Interact, 1013421u, new Vector3(-455.16138f, 53.48893f, 379.3545f), 400) - { - DisableNavmesh = true - }; - num3 = 6; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - Span span21 = CollectionsMarshal.AsSpan(list62); - span21[0] = null; - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj45.CompletionQuestVariablesFlags = list62; - reference50 = obj45; - obj41.Steps = list53; - reference41 = obj41; - ref QuestSequence reference51 = ref span11[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - Span span22 = CollectionsMarshal.AsSpan(list63); - span22[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-465.66104f, 43.041187f, 380.90747f), 400) - { - DisableNavmesh = true, - Mount = true - }; - span22[1] = new QuestStep(EInteractionType.CompleteQuest, 1013420u, new Vector3(-511.46716f, 50f, 347.0968f), 400); - obj46.Steps = list63; - reference51 = obj46; - questRoot6.QuestSequence = list51; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(1831); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - CollectionsMarshal.AsSpan(list64)[0] = "liza"; - questRoot7.Author = list64; - num = 8; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - Span span23 = CollectionsMarshal.AsSpan(list65); - ref QuestSequence reference52 = ref span23[0]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014432u, new Vector3(-625.8793f, 50f, 332.63135f), 400) - { - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - obj47.Steps = list66; - reference52 = obj47; - ref QuestSequence reference53 = ref span23[1]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.Interact, 1014436u, new Vector3(-626.42865f, 49.999996f, 334.0658f), 400) - { - StopDistance = 7f - }; - obj48.Steps = list67; - reference53 = obj48; - ref QuestSequence reference54 = ref span23[2]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Interact, 1014432u, new Vector3(-625.8793f, 50f, 332.63135f), 400); - obj49.Steps = list68; - reference54 = obj49; - ref QuestSequence reference55 = ref span23[3]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-473.00934f, 42.910698f, 361.0051f), 400); - obj50.Steps = list69; - reference55 = obj50; - ref QuestSequence reference56 = ref span23[4]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - Span span24 = CollectionsMarshal.AsSpan(list70); - ref QuestStep reference57 = ref span24[0]; - QuestStep obj52 = new QuestStep(EInteractionType.Combat, null, new Vector3(-473.00934f, 42.910698f, 361.0051f), 400) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - CollectionsMarshal.AsSpan(list71)[0] = 4076u; - obj52.KillEnemyDataIds = list71; - reference57 = obj52; - span24[1] = new QuestStep(EInteractionType.Interact, 1014433u, new Vector3(-473.4112f, 42.91877f, 360.0061f), 400); - obj51.Steps = list70; - reference56 = obj51; - ref QuestSequence reference58 = ref span23[5]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-177.2358f, -20.962738f, 266.31805f), 400) - { - Fly = true - }; - obj53.Steps = list72; - reference58 = obj53; - ref QuestSequence reference59 = ref span23[6]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - Span span25 = CollectionsMarshal.AsSpan(list73); - ref QuestStep reference60 = ref span25[0]; - QuestStep obj55 = new QuestStep(EInteractionType.Combat, null, new Vector3(-177.2358f, -20.962738f, 266.31805f), 400) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list74 = new List(num3); - CollectionsMarshal.SetCount(list74, num3); - CollectionsMarshal.AsSpan(list74)[0] = 4076u; - obj55.KillEnemyDataIds = list74; - reference60 = obj55; - span25[1] = new QuestStep(EInteractionType.Interact, 1014434u, new Vector3(-177.11151f, -20.990452f, 266.5293f), 400); - obj54.Steps = list73; - reference59 = obj54; - ref QuestSequence reference61 = ref span23[7]; - QuestSequence obj56 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014435u, new Vector3(-109.056274f, -8.844471f, 209.3385f), 400) - { - Fly = true, - NextQuestId = new QuestId(1832) - }; - obj56.Steps = list75; - reference61 = obj56; - questRoot7.QuestSequence = list65; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(1832); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - CollectionsMarshal.AsSpan(list76)[0] = "liza"; - questRoot8.Author = list76; - num = 6; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - Span span26 = CollectionsMarshal.AsSpan(list77); - ref QuestSequence reference62 = ref span26[0]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014442u, new Vector3(455.28345f, -24.191578f, 109.05615f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj57.Steps = list78; - reference62 = obj57; - ref QuestSequence reference63 = ref span26[1]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.Interact, 1014445u, new Vector3(455.2528f, -24.093994f, 109.88013f), 400); - obj58.Steps = list79; - reference63 = obj58; - ref QuestSequence reference64 = ref span26[2]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.Interact, 1014442u, new Vector3(455.28345f, -24.191578f, 109.05615f), 400); - obj59.Steps = list80; - reference64 = obj59; - ref QuestSequence reference65 = ref span26[3]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.Interact, 1012084u, new Vector3(225.54358f, 6.9602013f, 709.34607f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome - }; - obj60.Steps = list81; - reference65 = obj60; - ref QuestSequence reference66 = ref span26[4]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - Span span27 = CollectionsMarshal.AsSpan(list82); - span27[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(391.38687f, -27.748926f, 113.191864f), 400) - { - Fly = true - }; - span27[1] = new QuestStep(EInteractionType.Interact, 1014446u, new Vector3(389.7306f, -27.420471f, 114.06116f), 400); - obj61.Steps = list82; - reference66 = obj61; - ref QuestSequence reference67 = ref span26[5]; - QuestSequence obj62 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012082u, new Vector3(381.70435f, -69.41491f, 691.5541f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome, - NextQuestId = new QuestId(1863) - }; - obj62.Steps = list83; - reference67 = obj62; - questRoot8.QuestSequence = list77; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(1835); - QuestRoot questRoot9 = new QuestRoot(); - num = 2; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - Span span28 = CollectionsMarshal.AsSpan(list84); - span28[0] = "JerryWester"; - span28[1] = "Wigglez"; - questRoot9.Author = list84; - num = 3; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - Span span29 = CollectionsMarshal.AsSpan(list85); - ref QuestSequence reference68 = ref span29[0]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013434u, new Vector3(517.9064f, -1.1917055f, -354.63495f), 400); - obj63.Steps = list86; - reference68 = obj63; - ref QuestSequence reference69 = ref span29[1]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - ref QuestStep reference70 = ref CollectionsMarshal.AsSpan(list87)[0]; - QuestStep obj65 = new QuestStep(EInteractionType.Combat, null, new Vector3(438.3409f, -19.777754f, -282.78647f), 400) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list88 = new List(num3); - CollectionsMarshal.SetCount(list88, num3); - CollectionsMarshal.AsSpan(list88)[0] = new ComplexCombatData - { - DataId = 4041u, - MinimumKillCount = 4u - }; - obj65.ComplexCombatData = list88; - reference70 = obj65; - obj64.Steps = list87; - reference69 = obj64; - ref QuestSequence reference71 = ref span29[2]; - QuestSequence obj66 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - Span span30 = CollectionsMarshal.AsSpan(list89); - span30[0] = new QuestStep(EInteractionType.Combat, null, new Vector3(517.9064f, -1.1917055f, -354.63495f), 400) - { - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny, - CombatDelaySecondsAtStart = 1f - }; - span30[1] = new QuestStep(EInteractionType.CompleteQuest, 1013434u, new Vector3(517.9064f, -1.1917055f, -354.63495f), 400); - obj66.Steps = list89; - reference71 = obj66; - questRoot9.QuestSequence = list85; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(1840); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - CollectionsMarshal.AsSpan(list90)[0] = "Thaksin"; - questRoot10.Author = list90; - num = 3; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - Span span31 = CollectionsMarshal.AsSpan(list91); - ref QuestSequence reference72 = ref span31[0]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012085u, new Vector3(286.88477f, 14.36517f, 645.1666f), 400); - obj67.Steps = list92; - reference72 = obj67; - ref QuestSequence reference73 = ref span31[1]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - Span span32 = CollectionsMarshal.AsSpan(list93); - ref QuestStep reference74 = ref span32[0]; - QuestStep obj69 = new QuestStep(EInteractionType.Interact, 2005720u, new Vector3(565.9419f, -9.445435f, -14.328308f), 400) - { - Fly = true - }; - num3 = 6; - List list94 = new List(num3); - CollectionsMarshal.SetCount(list94, num3); - Span span33 = CollectionsMarshal.AsSpan(list94); - span33[0] = null; - span33[1] = null; - span33[2] = null; - span33[3] = null; - span33[4] = null; - span33[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj69.CompletionQuestVariablesFlags = list94; - reference74 = obj69; - ref QuestStep reference75 = ref span32[1]; - QuestStep obj70 = new QuestStep(EInteractionType.Interact, 2005718u, new Vector3(664.39294f, -0.4730835f, -3.2807007f), 400) - { - Fly = true - }; - num3 = 6; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - Span span34 = CollectionsMarshal.AsSpan(list95); - span34[0] = null; - span34[1] = null; - span34[2] = null; - span34[3] = null; - span34[4] = null; - span34[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj70.CompletionQuestVariablesFlags = list95; - reference75 = obj70; - ref QuestStep reference76 = ref span32[2]; - QuestStep obj71 = new QuestStep(EInteractionType.Interact, 2005721u, new Vector3(653.83374f, -0.7172241f, -70.02368f), 400) - { - Fly = true - }; - num3 = 6; - List list96 = new List(num3); - CollectionsMarshal.SetCount(list96, num3); - Span span35 = CollectionsMarshal.AsSpan(list96); - span35[0] = null; - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj71.CompletionQuestVariablesFlags = list96; - reference76 = obj71; - ref QuestStep reference77 = ref span32[3]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2005717u, new Vector3(639.00195f, 46.463623f, -113.05414f), 400); - num3 = 6; - List list97 = new List(num3); - CollectionsMarshal.SetCount(list97, num3); - Span span36 = CollectionsMarshal.AsSpan(list97); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list97; - reference77 = questStep6; - ref QuestStep reference78 = ref span32[4]; - QuestStep obj72 = new QuestStep(EInteractionType.Interact, 2005719u, new Vector3(527.0923f, -4.287842f, -84.916504f), 400) - { - Fly = true - }; - num3 = 6; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - Span span37 = CollectionsMarshal.AsSpan(list98); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj72.CompletionQuestVariablesFlags = list98; - reference78 = obj72; - obj68.Steps = list93; - reference73 = obj68; - ref QuestSequence reference79 = ref span31[2]; - QuestSequence obj73 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012085u, new Vector3(286.88477f, 14.36517f, 645.1666f), 400) - { - Fly = true - }; - obj73.Steps = list99; - reference79 = obj73; - questRoot10.QuestSequence = list91; - AddQuest(questId10, questRoot10); - } - - private static void LoadQuests37() - { - QuestId questId = new QuestId(1863); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 4; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012082u, new Vector3(381.70435f, -69.41491f, 691.5541f), 400); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference3 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj3 = new QuestStep(EInteractionType.Combat, null, new Vector3(-6.1052914f, -20.632738f, 181.941f), 400) - { - StopDistance = 0.25f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - int num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = 3999u; - obj3.KillEnemyDataIds = list5; - reference3 = obj3; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Interact, 1014290u, new Vector3(-6.302063f, -20.660929f, 181.75012f), 400); - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[3]; - QuestSequence obj5 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014293u, new Vector3(-106.889465f, 36.394444f, 186.1753f), 400) - { - Fly = true, - NextQuestId = new QuestId(1864) - }; - obj5.Steps = list7; - reference5 = obj5; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(1864); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - CollectionsMarshal.AsSpan(list8)[0] = "liza"; - questRoot2.Author = list8; - num = 6; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - Span span2 = CollectionsMarshal.AsSpan(list9); - ref QuestSequence reference6 = ref span2[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014293u, new Vector3(-106.889465f, 36.394444f, 186.1753f), 400) - { - Fly = true - }; - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span2[1]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.Interact, 1014294u, new Vector3(-369.64984f, 30.292116f, 423.0868f), 400) - { - Fly = true - }; - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span2[2]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - ref QuestStep reference9 = ref CollectionsMarshal.AsSpan(list12)[0]; - QuestStep obj9 = new QuestStep(EInteractionType.Combat, null, new Vector3(-271.42133f, 41.099045f, 241.92078f), 400) - { - StopDistance = 0.25f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - CollectionsMarshal.AsSpan(list13)[0] = 4076u; - obj9.KillEnemyDataIds = list13; - reference9 = obj9; - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference10 = ref span2[3]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.Interact, 1014297u, new Vector3(-271.44275f, 41.099045f, 242.20642f), 400); - obj10.Steps = list14; - reference10 = obj10; - ref QuestSequence reference11 = ref span2[4]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.Interact, 1014294u, new Vector3(-369.64984f, 30.292116f, 423.0868f), 400) - { - Fly = true - }; - obj11.Steps = list15; - reference11 = obj11; - ref QuestSequence reference12 = ref span2[5]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014300u, new Vector3(-696.34546f, 79f, 269.00122f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - NextQuestId = new QuestId(1865) - }; - obj12.Steps = list16; - reference12 = obj12; - questRoot2.QuestSequence = list9; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(1865); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - CollectionsMarshal.AsSpan(list17)[0] = "liza"; - questRoot3.Author = list17; - num = 3; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - Span span3 = CollectionsMarshal.AsSpan(list18); - ref QuestSequence reference13 = ref span3[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014300u, new Vector3(-696.34546f, 79f, 269.00122f), 400) - { - Fly = true - }; - obj13.Steps = list19; - reference13 = obj13; - ref QuestSequence reference14 = ref span3[1]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.Interact, 1014303u, new Vector3(-811.8868f, 83.29895f, 219.3789f), 400) - { - Fly = true - }; - obj14.Steps = list20; - reference14 = obj14; - ref QuestSequence reference15 = ref span3[2]; - QuestSequence obj15 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014304u, new Vector3(-471.7937f, 39.90609f, 156.2981f), 400) - { - Fly = true, - NextQuestId = new QuestId(1866) - }; - obj15.Steps = list21; - reference15 = obj15; - questRoot3.QuestSequence = list18; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(1866); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - CollectionsMarshal.AsSpan(list22)[0] = "liza"; - questRoot4.Author = list22; - num = 3; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - Span span4 = CollectionsMarshal.AsSpan(list23); - ref QuestSequence reference16 = ref span4[0]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - Span span5 = CollectionsMarshal.AsSpan(list24); - span5[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-662.4473f, 73f, 172.12396f), 400) - { - Fly = true - }; - span5[1] = new QuestStep(EInteractionType.AcceptQuest, 1014307u, new Vector3(-661.40234f, 73f, 171.03833f), 400); - obj16.Steps = list24; - reference16 = obj16; - ref QuestSequence reference17 = ref span4[1]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - Span span6 = CollectionsMarshal.AsSpan(list25); - ref QuestStep reference18 = ref span6[0]; - QuestStep obj18 = new QuestStep(EInteractionType.Combat, null, new Vector3(-611.016f, 81f, 142.83911f), 400) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - CollectionsMarshal.AsSpan(list26)[0] = 4045u; - obj18.KillEnemyDataIds = list26; - num3 = 6; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - Span span7 = CollectionsMarshal.AsSpan(list27); - span7[0] = null; - span7[1] = null; - span7[2] = null; - span7[3] = null; - span7[4] = null; - span7[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj18.CompletionQuestVariablesFlags = list27; - reference18 = obj18; - ref QuestStep reference19 = ref span6[1]; - QuestStep obj19 = new QuestStep(EInteractionType.Combat, null, new Vector3(-627.9241f, 81f, 98.83264f), 400) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - CollectionsMarshal.AsSpan(list28)[0] = 4045u; - obj19.KillEnemyDataIds = list28; - num3 = 6; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - Span span8 = CollectionsMarshal.AsSpan(list29); - span8[0] = null; - span8[1] = null; - span8[2] = null; - span8[3] = null; - span8[4] = null; - span8[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj19.CompletionQuestVariablesFlags = list29; - reference19 = obj19; - ref QuestStep reference20 = ref span6[2]; - QuestStep obj20 = new QuestStep(EInteractionType.Combat, null, new Vector3(-579.05023f, 80.999985f, 101.69408f), 400) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - CollectionsMarshal.AsSpan(list30)[0] = 4045u; - obj20.KillEnemyDataIds = list30; - num3 = 6; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - Span span9 = CollectionsMarshal.AsSpan(list31); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj20.CompletionQuestVariablesFlags = list31; - reference20 = obj20; - obj17.Steps = list25; - reference17 = obj17; - ref QuestSequence reference21 = ref span4[2]; - QuestSequence obj21 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - Span span10 = CollectionsMarshal.AsSpan(list32); - span10[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-662.4473f, 73f, 172.12396f), 400) - { - Fly = true - }; - span10[1] = new QuestStep(EInteractionType.CompleteQuest, 1014307u, new Vector3(-661.40234f, 73f, 171.03833f), 400) - { - NextQuestId = new QuestId(1867) - }; - obj21.Steps = list32; - reference21 = obj21; - questRoot4.QuestSequence = list23; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(1867); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list33 = new List(num); - CollectionsMarshal.SetCount(list33, num); - CollectionsMarshal.AsSpan(list33)[0] = "liza"; - questRoot5.Author = list33; - num = 3; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - Span span11 = CollectionsMarshal.AsSpan(list34); - ref QuestSequence reference22 = ref span11[0]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - Span span12 = CollectionsMarshal.AsSpan(list35); - span12[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-745.7825f, 73f, 317.39563f), 400) - { - Fly = true - }; - span12[1] = new QuestStep(EInteractionType.AcceptQuest, 1014308u, new Vector3(-746.12036f, 73f, 318.7456f), 400); - obj22.Steps = list35; - reference22 = obj22; - ref QuestSequence reference23 = ref span11[1]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - Span span13 = CollectionsMarshal.AsSpan(list36); - ref QuestStep reference24 = ref span13[0]; - QuestStep obj24 = new QuestStep(EInteractionType.Combat, null, new Vector3(-723.45496f, 81f, 378.70322f), 400) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - CollectionsMarshal.AsSpan(list37)[0] = 4045u; - obj24.KillEnemyDataIds = list37; - num3 = 6; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - Span span14 = CollectionsMarshal.AsSpan(list38); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj24.CompletionQuestVariablesFlags = list38; - reference24 = obj24; - ref QuestStep reference25 = ref span13[1]; - QuestStep obj25 = new QuestStep(EInteractionType.Combat, null, new Vector3(-722.5188f, 80.999985f, 427.1239f), 400) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list39 = new List(num3); - CollectionsMarshal.SetCount(list39, num3); - CollectionsMarshal.AsSpan(list39)[0] = 4045u; - obj25.KillEnemyDataIds = list39; - num3 = 6; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - Span span15 = CollectionsMarshal.AsSpan(list40); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj25.CompletionQuestVariablesFlags = list40; - reference25 = obj25; - ref QuestStep reference26 = ref span13[2]; - QuestStep obj26 = new QuestStep(EInteractionType.Combat, null, new Vector3(-765.2328f, 81f, 406.13608f), 400) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - CollectionsMarshal.AsSpan(list41)[0] = 4045u; - obj26.KillEnemyDataIds = list41; - num3 = 6; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - Span span16 = CollectionsMarshal.AsSpan(list42); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj26.CompletionQuestVariablesFlags = list42; - reference26 = obj26; - obj23.Steps = list36; - reference23 = obj23; - ref QuestSequence reference27 = ref span11[2]; - QuestSequence obj27 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - Span span17 = CollectionsMarshal.AsSpan(list43); - span17[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-745.7825f, 73f, 317.39563f), 400) - { - Fly = true - }; - span17[1] = new QuestStep(EInteractionType.CompleteQuest, 1014308u, new Vector3(-746.12036f, 73f, 318.7456f), 400) - { - NextQuestId = new QuestId(1868) - }; - obj27.Steps = list43; - reference27 = obj27; - questRoot5.QuestSequence = list34; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(1868); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - CollectionsMarshal.AsSpan(list44)[0] = "liza"; - questRoot6.Author = list44; - num = 4; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - Span span18 = CollectionsMarshal.AsSpan(list45); - ref QuestSequence reference28 = ref span18[0]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014300u, new Vector3(-696.34546f, 79f, 269.00122f), 400) - { - Fly = true - }; - obj28.Steps = list46; - reference28 = obj28; - ref QuestSequence reference29 = ref span18[1]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - ref QuestStep reference30 = ref CollectionsMarshal.AsSpan(list47)[0]; - QuestStep obj30 = new QuestStep(EInteractionType.Combat, 1014310u, new Vector3(-713.80176f, 343f, 238.94104f), 400) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - CollectionsMarshal.AsSpan(list48)[0] = 4493u; - obj30.KillEnemyDataIds = list48; - reference30 = obj30; - obj29.Steps = list47; - reference29 = obj29; - ref QuestSequence reference31 = ref span18[2]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.Interact, 1014311u, new Vector3(-711.17725f, 342.0005f, 236.3164f), 400) - { - StopDistance = 5f - }; - obj31.Steps = list49; - reference31 = obj31; - ref QuestSequence reference32 = ref span18[3]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012082u, new Vector3(381.70435f, -69.41491f, 691.5541f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome, - NextQuestId = new QuestId(1872) - }; - obj32.Steps = list50; - reference32 = obj32; - questRoot6.QuestSequence = list45; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(1869); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - CollectionsMarshal.AsSpan(list51)[0] = "pot0to"; - questRoot7.Author = list51; - num = 3; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - Span span19 = CollectionsMarshal.AsSpan(list52); - ref QuestSequence reference33 = ref span19[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - ref QuestStep reference34 = ref CollectionsMarshal.AsSpan(list53)[0]; - QuestStep obj34 = new QuestStep(EInteractionType.AcceptQuest, 1012181u, new Vector3(-248.55426f, -20.034918f, -90.98956f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardJeweledCrozier - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - CollectionsMarshal.AsSpan(list54)[0] = 419; - skipAetheryteCondition.InTerritory = list54; - skipConditions.AetheryteShortcutIf = skipAetheryteCondition; - obj34.SkipConditions = skipConditions; - reference34 = obj34; - obj33.Steps = list53; - reference33 = obj33; - ref QuestSequence reference35 = ref span19[1]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 1 - }; - num2 = 8; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - Span span20 = CollectionsMarshal.AsSpan(list55); - span20[0] = new QuestStep(EInteractionType.Interact, 1012263u, new Vector3(-129.4118f, 14.803129f, -127.91644f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardJeweledCrozier, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - } - }; - span20[1] = new QuestStep(EInteractionType.Interact, 1011215u, new Vector3(-145.37274f, 14.80313f, -129.25922f), 419) - { - TargetTerritoryId = (ushort)427 - }; - span20[2] = new QuestStep(EInteractionType.Interact, 1012262u, new Vector3(-10.330383f, 0f, 8.194031f), 427); - span20[3] = new QuestStep(EInteractionType.Interact, 1012264u, new Vector3(-6.790344f, 0.024999565f, 3.829956f), 427); - span20[4] = new QuestStep(EInteractionType.Interact, 2006245u, new Vector3(-7.675354f, 0.83917236f, -2.9145508f), 427); - span20[5] = new QuestStep(EInteractionType.Interact, 1012265u, new Vector3(-2.1820679f, 0.289917f, -5.508545f), 427); - span20[6] = new QuestStep(EInteractionType.Interact, 2006244u, new Vector3(11.093262f, 1.3884888f, -7.8584595f), 427); - span20[7] = new QuestStep(EInteractionType.Interact, 2006243u, new Vector3(7.2174683f, 1.4190674f, 1.083313f), 427); - obj35.Steps = list55; - reference35 = obj35; - ref QuestSequence reference36 = ref span19[2]; - QuestSequence obj36 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - Span span21 = CollectionsMarshal.AsSpan(list56); - span21[0] = new QuestStep(EInteractionType.Interact, 2005332u, new Vector3(-5.0202637f, 1.1443481f, 11.856201f), 427) - { - TargetTerritoryId = (ushort)419 - }; - ref QuestStep reference37 = ref span21[1]; - QuestStep obj37 = new QuestStep(EInteractionType.CompleteQuest, 1012181u, new Vector3(-248.55426f, -20.034918f, -90.98956f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSaintReymanaudsCathedral, - To = EAetheryteLocation.IshgardJeweledCrozier - } - }; - num3 = 1; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - CollectionsMarshal.AsSpan(list57)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_HEAVNZ601_01869_Q1_000_000"), - Answer = new ExcelRef("TEXT_HEAVNZ601_01869_A1_000_005") - }; - obj37.DialogueChoices = list57; - obj37.NextQuestId = new QuestId(2152); - reference37 = obj37; - obj36.Steps = list56; - reference36 = obj36; - questRoot7.QuestSequence = list52; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(1870); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - CollectionsMarshal.AsSpan(list58)[0] = "Thaksin"; - questRoot8.Author = list58; - num = 6; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - Span span22 = CollectionsMarshal.AsSpan(list59); - ref QuestSequence reference38 = ref span22[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012180u, new Vector3(-174.18176f, -12.555469f, -21.561035f), 419); - obj38.Steps = list60; - reference38 = obj38; - ref QuestSequence reference39 = ref span22[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - Span span23 = CollectionsMarshal.AsSpan(list61); - ref QuestStep reference40 = ref span23[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2006246u, new Vector3(-218.40247f, -16.037292f, -34.683777f), 419); - num3 = 6; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - Span span24 = CollectionsMarshal.AsSpan(list62); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list62; - reference40 = questStep; - ref QuestStep reference41 = ref span23[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2006247u, new Vector3(-229.23633f, -20.035156f, -83.05487f), 419); - num3 = 6; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - Span span25 = CollectionsMarshal.AsSpan(list63); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list63; - reference41 = questStep2; - ref QuestStep reference42 = ref span23[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2006248u, new Vector3(-252.1554f, -20.035156f, -57.66388f), 419); - num3 = 6; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - Span span26 = CollectionsMarshal.AsSpan(list64); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list64; - reference42 = questStep3; - obj39.Steps = list61; - reference39 = obj39; - ref QuestSequence reference43 = ref span22[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.Interact, 1012180u, new Vector3(-174.18176f, -12.555469f, -21.561035f), 419); - obj40.Steps = list65; - reference43 = obj40; - ref QuestSequence reference44 = ref span22[3]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.Interact, 1014721u, new Vector3(119.31018f, -12.634913f, -13.626343f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardJeweledCrozier, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - obj41.Steps = list66; - reference44 = obj41; - ref QuestSequence reference45 = ref span22[4]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.Interact, 2006330u, new Vector3(118.791504f, -11.6427f, -13.351685f), 419); - obj42.Steps = list67; - reference45 = obj42; - ref QuestSequence reference46 = ref span22[5]; - QuestSequence obj43 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012180u, new Vector3(-174.18176f, -12.555469f, -21.561035f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardAthenaeumAstrologicum, - To = EAetheryteLocation.IshgardJeweledCrozier - } - }; - obj43.Steps = list68; - reference46 = obj43; - questRoot8.QuestSequence = list59; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(1871); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - CollectionsMarshal.AsSpan(list69)[0] = "liza"; - questRoot9.Author = list69; - num = 6; - List list70 = new List(num); - CollectionsMarshal.SetCount(list70, num); - Span span27 = CollectionsMarshal.AsSpan(list70); - ref QuestSequence reference47 = ref span27[0]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013560u, new Vector3(15.609924f, 81.84059f, -317.37244f), 400); - obj44.Steps = list71; - reference47 = obj44; - ref QuestSequence reference48 = ref span27[1]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.Interact, 2005821u, new Vector3(16.159302f, 82.1698f, -322.89618f), 400) - { - StopDistance = 4f - }; - obj45.Steps = list72; - reference48 = obj45; - ref QuestSequence reference49 = ref span27[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.Interact, 1013569u, new Vector3(330.73914f, 223.01535f, -480.36932f), 400) - { - StopDistance = 1f, - Fly = true - }; - obj46.Steps = list73; - reference49 = obj46; - ref QuestSequence reference50 = ref span27[3]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.Interact, 1012163u, new Vector3(128.25195f, 24.458832f, -0.6867676f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj47.Steps = list74; - reference50 = obj47; - ref QuestSequence reference51 = ref span27[4]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - Span span28 = CollectionsMarshal.AsSpan(list75); - span28[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(379.64865f, -69.42944f, 695.1956f), 400) - { - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome - }; - span28[1] = new QuestStep(EInteractionType.Interact, 1012077u, new Vector3(381.70435f, -66.84979f, 700.86194f), 400) - { - StopDistance = 8f - }; - obj48.Steps = list75; - reference51 = obj48; - ref QuestSequence reference52 = ref span27[5]; - QuestSequence obj49 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014314u, new Vector3(12.100342f, 81.8406f, -318.0133f), 400) - { - Fly = true - }; - obj49.Steps = list76; - reference52 = obj49; - questRoot9.QuestSequence = list70; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(1872); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - CollectionsMarshal.AsSpan(list77)[0] = "liza"; - questRoot10.Author = list77; - num = 4; - List list78 = new List(num); - CollectionsMarshal.SetCount(list78, num); - Span span29 = CollectionsMarshal.AsSpan(list78); - ref QuestSequence reference53 = ref span29[0]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - ref QuestStep reference54 = ref CollectionsMarshal.AsSpan(list79)[0]; - QuestStep obj51 = new QuestStep(EInteractionType.AcceptQuest, 1013557u, new Vector3(9.6588745f, 15.96505f, -7.4921875f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardLastVigil - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition obj52 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - CollectionsMarshal.AsSpan(list80)[0] = 419; - obj52.InTerritory = list80; - skipConditions2.AetheryteShortcutIf = obj52; - obj51.SkipConditions = skipConditions2; - reference54 = obj51; - obj50.Steps = list79; - reference53 = obj50; - ref QuestSequence reference55 = ref span29[1]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.Interact, 1012163u, new Vector3(128.25195f, 24.458832f, -0.6867676f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardLastVigil, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj53.Steps = list81; - reference55 = obj53; - ref QuestSequence reference56 = ref span29[2]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.Interact, 1013559u, new Vector3(129.22852f, 24.397108f, -1.9379272f), 418) - { - StopDistance = 5f - }; - obj54.Steps = list82; - reference56 = obj54; - ref QuestSequence reference57 = ref span29[3]; - QuestSequence obj55 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013560u, new Vector3(15.609924f, 81.84059f, -317.37244f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome, - NextQuestId = new QuestId(1878) - }; - obj55.Steps = list83; - reference57 = obj55; - questRoot10.QuestSequence = list78; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(1873); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - CollectionsMarshal.AsSpan(list84)[0] = "Thaksin"; - questRoot11.Author = list84; - num = 3; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - Span span30 = CollectionsMarshal.AsSpan(list85); - ref QuestSequence reference58 = ref span30[0]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014718u, new Vector3(-29.526245f, 11.965078f, 48.355713f), 419); - obj56.Steps = list86; - reference58 = obj56; - ref QuestSequence reference59 = ref span30[1]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.Interact, 1011231u, new Vector3(503.1051f, 217.95148f, 790.2189f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj57.Steps = list87; - reference59 = obj57; - ref QuestSequence reference60 = ref span30[2]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - Span span31 = CollectionsMarshal.AsSpan(list88); - span31[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-110.26132f, 153.61101f, 10.394781f), 397) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span31[1] = new QuestStep(EInteractionType.CompleteQuest, 1014719u, new Vector3(-293.6294f, 125.4389f, -19.058533f), 397) - { - Fly = true - }; - obj58.Steps = list88; - reference60 = obj58; - questRoot11.QuestSequence = list85; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(1874); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list89 = new List(num); - CollectionsMarshal.SetCount(list89, num); - CollectionsMarshal.AsSpan(list89)[0] = "JerryWester"; - questRoot12.Author = list89; - num = 3; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - Span span32 = CollectionsMarshal.AsSpan(list90); - ref QuestSequence reference61 = ref span32[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014720u, new Vector3(13.809326f, 15.96505f, -13.870483f), 419); - obj59.Steps = list91; - reference61 = obj59; - ref QuestSequence reference62 = ref span32[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.Interact, 1012055u, new Vector3(-656.76355f, -117.32357f, 492.78992f), 401) - { - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop - }; - obj60.Steps = list92; - reference62 = obj60; - ref QuestSequence reference63 = ref span32[2]; - QuestSequence obj61 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011952u, new Vector3(-277.63788f, -184.59735f, 741.60376f), 401); - obj61.Steps = list93; - reference63 = obj61; - questRoot12.QuestSequence = list90; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(1878); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - CollectionsMarshal.AsSpan(list94)[0] = "liza"; - questRoot13.Author = list94; - num = 3; - List list95 = new List(num); - CollectionsMarshal.SetCount(list95, num); - Span span33 = CollectionsMarshal.AsSpan(list95); - ref QuestSequence reference64 = ref span33[0]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013560u, new Vector3(15.609924f, 81.84059f, -317.37244f), 400); - obj62.Steps = list96; - reference64 = obj62; - ref QuestSequence reference65 = ref span33[1]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - Span span34 = CollectionsMarshal.AsSpan(list97); - ref QuestStep reference66 = ref span34[0]; - QuestStep obj64 = new QuestStep(EInteractionType.Combat, null, new Vector3(-40.84487f, 62.87995f, -293.59937f), 400) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - CollectionsMarshal.AsSpan(list98)[0] = 4044u; - obj64.KillEnemyDataIds = list98; - num3 = 6; - List list99 = new List(num3); - CollectionsMarshal.SetCount(list99, num3); - Span span35 = CollectionsMarshal.AsSpan(list99); - span35[0] = null; - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj64.CompletionQuestVariablesFlags = list99; - reference66 = obj64; - ref QuestStep reference67 = ref span34[1]; - QuestStep obj65 = new QuestStep(EInteractionType.Combat, null, new Vector3(-49.8887f, 76.75615f, -348.67075f), 400) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list100 = new List(num3); - CollectionsMarshal.SetCount(list100, num3); - CollectionsMarshal.AsSpan(list100)[0] = 4044u; - obj65.KillEnemyDataIds = list100; - num3 = 6; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - Span span36 = CollectionsMarshal.AsSpan(list101); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj65.CompletionQuestVariablesFlags = list101; - reference67 = obj65; - ref QuestStep reference68 = ref span34[2]; - QuestStep obj66 = new QuestStep(EInteractionType.Combat, null, new Vector3(-10.931383f, 76.75615f, -249.3747f), 400) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - CollectionsMarshal.AsSpan(list102)[0] = 4044u; - obj66.KillEnemyDataIds = list102; - num3 = 6; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - Span span37 = CollectionsMarshal.AsSpan(list103); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj66.CompletionQuestVariablesFlags = list103; - reference68 = obj66; - obj63.Steps = list97; - reference65 = obj63; - ref QuestSequence reference69 = ref span33[2]; - QuestSequence obj67 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013560u, new Vector3(15.609924f, 81.84059f, -317.37244f), 400) - { - Fly = true, - NextQuestId = new QuestId(1881) - }; - obj67.Steps = list104; - reference69 = obj67; - questRoot13.QuestSequence = list95; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(1879); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list105 = new List(num); - CollectionsMarshal.SetCount(list105, num); - CollectionsMarshal.AsSpan(list105)[0] = "liza"; - questRoot14.Author = list105; - num = 4; - List list106 = new List(num); - CollectionsMarshal.SetCount(list106, num); - Span span38 = CollectionsMarshal.AsSpan(list106); - ref QuestSequence reference70 = ref span38[0]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013560u, new Vector3(15.609924f, 81.84059f, -317.37244f), 400); - obj68.Steps = list107; - reference70 = obj68; - ref QuestSequence reference71 = ref span38[1]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.Interact, 1013566u, new Vector3(-753.59735f, 285.65656f, -168.65796f), 400) - { - StopDistance = 0.25f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - obj69.Steps = list108; - reference71 = obj69; - ref QuestSequence reference72 = ref span38[2]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - ref QuestStep reference73 = ref CollectionsMarshal.AsSpan(list109)[0]; - QuestStep obj71 = new QuestStep(EInteractionType.Combat, null, new Vector3(-734.0618f, 258.66254f, -178.1613f), 400) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list110 = new List(num3); - CollectionsMarshal.SetCount(list110, num3); - CollectionsMarshal.AsSpan(list110)[0] = 4044u; - obj71.KillEnemyDataIds = list110; - reference73 = obj71; - obj70.Steps = list109; - reference72 = obj70; - ref QuestSequence reference74 = ref span38[3]; - QuestSequence obj72 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013566u, new Vector3(-753.59735f, 285.65656f, -168.65796f), 400) - { - StopDistance = 0.25f, - Fly = true, - NextQuestId = new QuestId(1883) - }; - obj72.Steps = list111; - reference74 = obj72; - questRoot14.QuestSequence = list106; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(1880); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - CollectionsMarshal.AsSpan(list112)[0] = "liza"; - questRoot15.Author = list112; - num = 3; - List list113 = new List(num); - CollectionsMarshal.SetCount(list113, num); - Span span39 = CollectionsMarshal.AsSpan(list113); - ref QuestSequence reference75 = ref span39[0]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013567u, new Vector3(15.609924f, 81.84059f, -317.37244f), 400); - obj73.Steps = list114; - reference75 = obj73; - ref QuestSequence reference76 = ref span39[1]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - ref QuestStep reference77 = ref CollectionsMarshal.AsSpan(list115)[0]; - QuestStep obj75 = new QuestStep(EInteractionType.Combat, null, new Vector3(-131.11111f, -64.89958f, -321.4496f), 400) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - CollectionsMarshal.AsSpan(list116)[0] = 4505u; - obj75.KillEnemyDataIds = list116; - reference77 = obj75; - obj74.Steps = list115; - reference76 = obj74; - ref QuestSequence reference78 = ref span39[2]; - QuestSequence obj76 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013560u, new Vector3(15.609924f, 81.84059f, -317.37244f), 400) - { - Fly = true, - NextQuestId = new QuestId(1871) - }; - obj76.Steps = list117; - reference78 = obj76; - questRoot15.QuestSequence = list113; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(1881); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - CollectionsMarshal.AsSpan(list118)[0] = "liza"; - questRoot16.Author = list118; - num = 4; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - Span span40 = CollectionsMarshal.AsSpan(list119); - ref QuestSequence reference79 = ref span40[0]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013560u, new Vector3(15.609924f, 81.84059f, -317.37244f), 400); - obj77.Steps = list120; - reference79 = obj77; - ref QuestSequence reference80 = ref span40[1]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.Interact, 1013569u, new Vector3(330.73914f, 223.01535f, -480.36932f), 400) - { - StopDistance = 1f, - Fly = true - }; - obj78.Steps = list121; - reference80 = obj78; - ref QuestSequence reference81 = ref span40[2]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - ref QuestStep reference82 = ref CollectionsMarshal.AsSpan(list122)[0]; - QuestStep obj80 = new QuestStep(EInteractionType.Combat, null, new Vector3(315.91586f, 234.0008f, -617.9445f), 400) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - ref ComplexCombatData reference83 = ref CollectionsMarshal.AsSpan(list123)[0]; - ComplexCombatData obj81 = new ComplexCombatData - { - DataId = 4469u, - MinimumKillCount = 3u - }; - int num4 = 6; - List list124 = new List(num4); - CollectionsMarshal.SetCount(list124, num4); - Span span41 = CollectionsMarshal.AsSpan(list124); - span41[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = null; - obj81.CompletionQuestVariablesFlags = list124; - reference83 = obj81; - obj80.ComplexCombatData = list123; - reference82 = obj80; - obj79.Steps = list122; - reference81 = obj79; - ref QuestSequence reference84 = ref span40[3]; - QuestSequence obj82 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013569u, new Vector3(330.73914f, 223.01535f, -480.36932f), 400) - { - StopDistance = 1f, - Fly = true, - NextQuestId = new QuestId(1882) - }; - obj82.Steps = list125; - reference84 = obj82; - questRoot16.QuestSequence = list119; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(1882); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - CollectionsMarshal.AsSpan(list126)[0] = "liza"; - questRoot17.Author = list126; - num = 4; - List list127 = new List(num); - CollectionsMarshal.SetCount(list127, num); - Span span42 = CollectionsMarshal.AsSpan(list127); - ref QuestSequence reference85 = ref span42[0]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013569u, new Vector3(330.73914f, 223.01535f, -480.36932f), 400); - obj83.Steps = list128; - reference85 = obj83; - ref QuestSequence reference86 = ref span42[1]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - Span span43 = CollectionsMarshal.AsSpan(list129); - ref QuestStep reference87 = ref span43[0]; - QuestStep obj85 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(159.85898f, 212.64731f, -734.95905f), 400) - { - Fly = true - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - Span span44 = CollectionsMarshal.AsSpan(list130); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list130; - skipConditions3.StepIf = skipStepConditions; - obj85.SkipConditions = skipConditions3; - reference87 = obj85; - ref QuestStep reference88 = ref span43[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2005805u, new Vector3(161.39453f, 212.6344f, -733.7301f), 400); - num3 = 6; - List list131 = new List(num3); - CollectionsMarshal.SetCount(list131, num3); - Span span45 = CollectionsMarshal.AsSpan(list131); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list131; - reference88 = questStep4; - ref QuestStep reference89 = ref span43[2]; - QuestStep obj86 = new QuestStep(EInteractionType.Interact, 2005806u, new Vector3(110.52112f, 212.6344f, -785.15295f), 400) - { - Fly = true - }; - num3 = 6; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - Span span46 = CollectionsMarshal.AsSpan(list132); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj86.CompletionQuestVariablesFlags = list132; - reference89 = obj86; - obj84.Steps = list129; - reference86 = obj84; - ref QuestSequence reference90 = ref span42[2]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.Interact, 1013569u, new Vector3(330.73914f, 223.01535f, -480.36932f), 400) - { - StopDistance = 1f, - Fly = true - }; - obj87.Steps = list133; - reference90 = obj87; - ref QuestSequence reference91 = ref span42[3]; - QuestSequence obj88 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013560u, new Vector3(15.609924f, 81.84059f, -317.37244f), 400) - { - Fly = true, - NextQuestId = new QuestId(1879) - }; - obj88.Steps = list134; - reference91 = obj88; - questRoot17.QuestSequence = list127; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(1883); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list135 = new List(num); - CollectionsMarshal.SetCount(list135, num); - CollectionsMarshal.AsSpan(list135)[0] = "liza"; - questRoot18.Author = list135; - num = 5; - List list136 = new List(num); - CollectionsMarshal.SetCount(list136, num); - Span span47 = CollectionsMarshal.AsSpan(list136); - ref QuestSequence reference92 = ref span47[0]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013566u, new Vector3(-753.59735f, 285.65656f, -168.65796f), 400); - obj89.Steps = list137; - reference92 = obj89; - ref QuestSequence reference93 = ref span47[1]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.Interact, 1013570u, new Vector3(-556.4203f, 266.003f, -673.7926f), 400) - { - StopDistance = 0.25f, - Fly = true - }; - obj90.Steps = list138; - reference93 = obj90; - ref QuestSequence reference94 = ref span47[2]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - ref QuestStep reference95 = ref CollectionsMarshal.AsSpan(list139)[0]; - QuestStep obj92 = new QuestStep(EInteractionType.Combat, null, new Vector3(-568.1701f, 258.0283f, -651.9808f), 400) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list140 = new List(num3); - CollectionsMarshal.SetCount(list140, num3); - CollectionsMarshal.AsSpan(list140)[0] = new ComplexCombatData - { - DataId = 4044u, - MinimumKillCount = 3u - }; - obj92.ComplexCombatData = list140; - num3 = 6; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - Span span48 = CollectionsMarshal.AsSpan(list141); - span48[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span48[1] = null; - span48[2] = null; - span48[3] = null; - span48[4] = null; - span48[5] = null; - obj92.CompletionQuestVariablesFlags = list141; - reference95 = obj92; - obj91.Steps = list139; - reference94 = obj91; - ref QuestSequence reference96 = ref span47[3]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - ref QuestStep reference97 = ref CollectionsMarshal.AsSpan(list142)[0]; - QuestStep obj94 = new QuestStep(EInteractionType.Combat, null, new Vector3(-568.1701f, 258.0283f, -651.9808f), 400) - { - StopDistance = 100f, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - CollectionsMarshal.AsSpan(list143)[0] = new ComplexCombatData - { - DataId = 4044u, - MinimumKillCount = 1u - }; - obj94.ComplexCombatData = list143; - reference97 = obj94; - obj93.Steps = list142; - reference96 = obj93; - ref QuestSequence reference98 = ref span47[4]; - QuestSequence obj95 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013570u, new Vector3(-556.4203f, 266.003f, -673.7926f), 400) - { - StopDistance = 0.25f, - Fly = true, - NextQuestId = new QuestId(1884) - }; - obj95.Steps = list144; - reference98 = obj95; - questRoot18.QuestSequence = list136; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(1884); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list145 = new List(num); - CollectionsMarshal.SetCount(list145, num); - CollectionsMarshal.AsSpan(list145)[0] = "liza"; - questRoot19.Author = list145; - num = 9; - List list146 = new List(num); - CollectionsMarshal.SetCount(list146, num); - Span span49 = CollectionsMarshal.AsSpan(list146); - ref QuestSequence reference99 = ref span49[0]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013570u, new Vector3(-556.4203f, 266.003f, -673.7926f), 400); - obj96.Steps = list147; - reference99 = obj96; - ref QuestSequence reference100 = ref span49[1]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - Span span50 = CollectionsMarshal.AsSpan(list148); - ref QuestStep reference101 = ref span50[0]; - QuestStep obj98 = new QuestStep(EInteractionType.Interact, 2005812u, new Vector3(-757.4121f, 257.49585f, -702.57117f), 400) - { - Fly = true - }; - num3 = 6; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - Span span51 = CollectionsMarshal.AsSpan(list149); - span51[0] = null; - span51[1] = null; - span51[2] = null; - span51[3] = null; - span51[4] = null; - span51[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj98.CompletionQuestVariablesFlags = list149; - reference101 = obj98; - ref QuestStep reference102 = ref span50[1]; - QuestStep obj99 = new QuestStep(EInteractionType.Interact, 2005811u, new Vector3(-815.4879f, 258.0758f, -674.9218f), 400) - { - Fly = true - }; - num3 = 6; - List list150 = new List(num3); - CollectionsMarshal.SetCount(list150, num3); - Span span52 = CollectionsMarshal.AsSpan(list150); - span52[0] = null; - span52[1] = null; - span52[2] = null; - span52[3] = null; - span52[4] = null; - span52[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj99.CompletionQuestVariablesFlags = list150; - reference102 = obj99; - ref QuestStep reference103 = ref span50[2]; - QuestStep obj100 = new QuestStep(EInteractionType.Interact, 2005813u, new Vector3(-788.0522f, 257.67908f, -644.1901f), 400) - { - Fly = true - }; - num3 = 6; - List list151 = new List(num3); - CollectionsMarshal.SetCount(list151, num3); - Span span53 = CollectionsMarshal.AsSpan(list151); - span53[0] = null; - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj100.CompletionQuestVariablesFlags = list151; - reference103 = obj100; - obj97.Steps = list148; - reference100 = obj97; - ref QuestSequence reference104 = ref span49[2]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.Interact, 1013570u, new Vector3(-556.4203f, 266.003f, -673.7926f), 400) - { - StopDistance = 0.25f, - Fly = true - }; - obj101.Steps = list152; - reference104 = obj101; - ref QuestSequence reference105 = ref span49[3]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.Interact, 1013566u, new Vector3(-753.59735f, 285.65656f, -168.65796f), 400) - { - StopDistance = 0.25f, - Fly = true - }; - obj102.Steps = list153; - reference105 = obj102; - ref QuestSequence reference106 = ref span49[4]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - Span span54 = CollectionsMarshal.AsSpan(list154); - ref QuestStep reference107 = ref span54[0]; - QuestStep obj104 = new QuestStep(EInteractionType.Interact, 2005814u, new Vector3(-755.9472f, 258.80823f, -207.72113f), 400) - { - Fly = true - }; - num3 = 6; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - Span span55 = CollectionsMarshal.AsSpan(list155); - span55[0] = null; - span55[1] = null; - span55[2] = null; - span55[3] = null; - span55[4] = null; - span55[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj104.CompletionQuestVariablesFlags = list155; - reference107 = obj104; - ref QuestStep reference108 = ref span54[1]; - QuestStep obj105 = new QuestStep(EInteractionType.Interact, 2005816u, new Vector3(-698.024f, 258.28943f, -221.66785f), 400) - { - Fly = true - }; - num3 = 6; - List list156 = new List(num3); - CollectionsMarshal.SetCount(list156, num3); - Span span56 = CollectionsMarshal.AsSpan(list156); - span56[0] = null; - span56[1] = null; - span56[2] = null; - span56[3] = null; - span56[4] = null; - span56[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj105.CompletionQuestVariablesFlags = list156; - reference108 = obj105; - ref QuestStep reference109 = ref span54[2]; - QuestStep obj106 = new QuestStep(EInteractionType.Interact, 2005815u, new Vector3(-701.83875f, 258.53357f, -165.23999f), 400) - { - Fly = true - }; - num3 = 6; - List list157 = new List(num3); - CollectionsMarshal.SetCount(list157, num3); - Span span57 = CollectionsMarshal.AsSpan(list157); - span57[0] = null; - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj106.CompletionQuestVariablesFlags = list157; - reference109 = obj106; - obj103.Steps = list154; - reference106 = obj103; - ref QuestSequence reference110 = ref span49[5]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.Interact, 1013566u, new Vector3(-753.59735f, 285.65656f, -168.65796f), 400) - { - StopDistance = 0.25f, - Fly = true - }; - obj107.Steps = list158; - reference110 = obj107; - ref QuestSequence reference111 = ref span49[6]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.Interact, 1013567u, new Vector3(15.609924f, 81.84059f, -317.37244f), 400) - { - Fly = true - }; - obj108.Steps = list159; - reference111 = obj108; - ref QuestSequence reference112 = ref span49[7]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.Interact, 2005817u, new Vector3(16.159302f, 82.1698f, -322.89618f), 400); - obj109.Steps = list160; - reference112 = obj109; - ref QuestSequence reference113 = ref span49[8]; - QuestSequence obj110 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013567u, new Vector3(15.609924f, 81.84059f, -317.37244f), 400) - { - NextQuestId = new QuestId(1880) - }; - obj110.Steps = list161; - reference113 = obj110; - questRoot19.QuestSequence = list146; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(1889); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list162 = new List(num); - CollectionsMarshal.SetCount(list162, num); - CollectionsMarshal.AsSpan(list162)[0] = "Thaksin"; - questRoot20.Author = list162; - num = 6; - List list163 = new List(num); - CollectionsMarshal.SetCount(list163, num); - Span span58 = CollectionsMarshal.AsSpan(list163); - ref QuestSequence reference114 = ref span58[0]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014146u, new Vector3(-258.74725f, 126.98546f, 12.649658f), 397); - obj111.Steps = list164; - reference114 = obj111; - ref QuestSequence reference115 = ref span58[1]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.Interact, 1014147u, new Vector3(-256.97723f, 126.99508f, 13.168518f), 397); - obj112.Steps = list165; - reference115 = obj112; - ref QuestSequence reference116 = ref span58[2]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - Span span59 = CollectionsMarshal.AsSpan(list166); - span59[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-298.8484f, 221.68138f, 548.0529f), 397) - { - Fly = true - }; - span59[1] = new QuestStep(EInteractionType.Interact, 1014149u, new Vector3(-294.5144f, 221.58685f, 545.922f), 397) - { - Land = true - }; - obj113.Steps = list166; - reference116 = obj113; - ref QuestSequence reference117 = ref span58[3]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - Span span60 = CollectionsMarshal.AsSpan(list167); - span60[0] = new QuestStep(EInteractionType.Interact, 2006017u, new Vector3(-253.34558f, 221.36255f, 528.92346f), 397); - ref QuestStep reference118 = ref span60[1]; - QuestStep obj115 = new QuestStep(EInteractionType.Combat, 4076u, new Vector3(-257.5558f, 221.35532f, 520.9053f), 397) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list168 = new List(num3); - CollectionsMarshal.SetCount(list168, num3); - CollectionsMarshal.AsSpan(list168)[0] = 4076u; - obj115.KillEnemyDataIds = list168; - reference118 = obj115; - obj114.Steps = list167; - reference117 = obj114; - ref QuestSequence reference119 = ref span58[4]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.Interact, 1014149u, new Vector3(-294.5144f, 221.58685f, 545.922f), 397); - obj116.Steps = list169; - reference119 = obj116; - ref QuestSequence reference120 = ref span58[5]; - QuestSequence obj117 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014146u, new Vector3(-258.74725f, 126.98546f, 12.649658f), 397) - { - Fly = true, - NextQuestId = new QuestId(1890) - }; - obj117.Steps = list170; - reference120 = obj117; - questRoot20.QuestSequence = list163; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(1890); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - CollectionsMarshal.AsSpan(list171)[0] = "Thaksin"; - questRoot21.Author = list171; - num = 4; - List list172 = new List(num); - CollectionsMarshal.SetCount(list172, num); - Span span61 = CollectionsMarshal.AsSpan(list172); - ref QuestSequence reference121 = ref span61[0]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014146u, new Vector3(-258.74725f, 126.98546f, 12.649658f), 397); - obj118.Steps = list173; - reference121 = obj118; - ref QuestSequence reference122 = ref span61[1]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - ref QuestStep reference123 = ref CollectionsMarshal.AsSpan(list174)[0]; - QuestStep obj120 = new QuestStep(EInteractionType.Combat, null, new Vector3(-297.49585f, 219.87524f, 281.65045f), 397) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list175 = new List(num3); - CollectionsMarshal.SetCount(list175, num3); - CollectionsMarshal.AsSpan(list175)[0] = new ComplexCombatData - { - DataId = 3992u, - MinimumKillCount = 5u - }; - obj120.ComplexCombatData = list175; - reference123 = obj120; - obj119.Steps = list174; - reference122 = obj119; - ref QuestSequence reference124 = ref span61[2]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - CollectionsMarshal.AsSpan(list176)[0] = new QuestStep(EInteractionType.Interact, 1014150u, new Vector3(507.13354f, 217.95148f, 791.37854f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj121.Steps = list176; - reference124 = obj121; - ref QuestSequence reference125 = ref span61[3]; - QuestSequence obj122 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - Span span62 = CollectionsMarshal.AsSpan(list177); - span62[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-110.26132f, 153.61101f, 10.394781f), 397) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span62[1] = new QuestStep(EInteractionType.CompleteQuest, 1014146u, new Vector3(-258.74725f, 126.98546f, 12.649658f), 397) - { - Fly = true, - NextQuestId = new QuestId(1891) - }; - obj122.Steps = list177; - reference125 = obj122; - questRoot21.QuestSequence = list172; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(1891); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list178 = new List(num); - CollectionsMarshal.SetCount(list178, num); - CollectionsMarshal.AsSpan(list178)[0] = "Thaksin"; - questRoot22.Author = list178; - num = 5; - List list179 = new List(num); - CollectionsMarshal.SetCount(list179, num); - Span span63 = CollectionsMarshal.AsSpan(list179); - ref QuestSequence reference126 = ref span63[0]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014146u, new Vector3(-258.74725f, 126.98546f, 12.649658f), 397); - obj123.Steps = list180; - reference126 = obj123; - ref QuestSequence reference127 = ref span63[1]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - Span span64 = CollectionsMarshal.AsSpan(list181); - span64[0] = new QuestStep(EInteractionType.Interact, 1014151u, new Vector3(-156.08453f, 219.14235f, 669.7031f), 397) - { - Fly = true - }; - ref QuestStep reference128 = ref span64[1]; - QuestStep obj125 = new QuestStep(EInteractionType.Combat, 732u, new Vector3(-151.29321f, 218.95082f, 669.4895f), 397) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list182 = new List(num3); - CollectionsMarshal.SetCount(list182, num3); - CollectionsMarshal.AsSpan(list182)[0] = 732u; - obj125.KillEnemyDataIds = list182; - reference128 = obj125; - obj124.Steps = list181; - reference127 = obj124; - ref QuestSequence reference129 = ref span63[2]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - CollectionsMarshal.AsSpan(list183)[0] = new QuestStep(EInteractionType.Interact, 1014151u, new Vector3(-156.08453f, 219.14235f, 669.7031f), 397); - obj126.Steps = list183; - reference129 = obj126; - ref QuestSequence reference130 = ref span63[3]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - CollectionsMarshal.AsSpan(list184)[0] = new QuestStep(EInteractionType.Interact, 1014151u, new Vector3(-156.08453f, 219.14235f, 669.7031f), 397); - obj127.Steps = list184; - reference130 = obj127; - ref QuestSequence reference131 = ref span63[4]; - QuestSequence obj128 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014146u, new Vector3(-258.74725f, 126.98546f, 12.649658f), 397) - { - Fly = true, - NextQuestId = new QuestId(1892) - }; - obj128.Steps = list185; - reference131 = obj128; - questRoot22.QuestSequence = list179; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(1892); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list186 = new List(num); - CollectionsMarshal.SetCount(list186, num); - CollectionsMarshal.AsSpan(list186)[0] = "Thaksin"; - questRoot23.Author = list186; - num = 4; - List list187 = new List(num); - CollectionsMarshal.SetCount(list187, num); - Span span65 = CollectionsMarshal.AsSpan(list187); - ref QuestSequence reference132 = ref span65[0]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - CollectionsMarshal.AsSpan(list188)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014146u, new Vector3(-258.74725f, 126.98546f, 12.649658f), 397); - obj129.Steps = list188; - reference132 = obj129; - ref QuestSequence reference133 = ref span65[1]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - Span span66 = CollectionsMarshal.AsSpan(list189); - span66[0] = new QuestStep(EInteractionType.Interact, 2006019u, new Vector3(-152.42242f, 219.62305f, 669.94727f), 397) - { - Fly = true - }; - ref QuestStep reference134 = ref span66[1]; - QuestStep obj131 = new QuestStep(EInteractionType.Combat, 4782u, new Vector3(-158.97404f, 219.45131f, 672.79553f), 397) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list190 = new List(num3); - CollectionsMarshal.SetCount(list190, num3); - CollectionsMarshal.AsSpan(list190)[0] = 4782u; - obj131.KillEnemyDataIds = list190; - reference134 = obj131; - obj130.Steps = list189; - reference133 = obj130; - ref QuestSequence reference135 = ref span65[2]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.Interact, 2006181u, new Vector3(-152.42242f, 219.62305f, 669.94727f), 397); - obj132.Steps = list191; - reference135 = obj132; - ref QuestSequence reference136 = ref span65[3]; - QuestSequence obj133 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014146u, new Vector3(-258.74725f, 126.98546f, 12.649658f), 397) - { - Fly = true, - NextQuestId = new QuestId(1893) - }; - obj133.Steps = list192; - reference136 = obj133; - questRoot23.QuestSequence = list187; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(1893); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list193 = new List(num); - CollectionsMarshal.SetCount(list193, num); - CollectionsMarshal.AsSpan(list193)[0] = "Thaksin"; - questRoot24.Author = list193; - num = 4; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - Span span67 = CollectionsMarshal.AsSpan(list194); - ref QuestSequence reference137 = ref span67[0]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014146u, new Vector3(-258.74725f, 126.98546f, 12.649658f), 397); - obj134.Steps = list195; - reference137 = obj134; - ref QuestSequence reference138 = ref span67[1]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - Span span68 = CollectionsMarshal.AsSpan(list196); - ref QuestStep reference139 = ref span68[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1011907u, new Vector3(-288.8686f, 127.06639f, 13.199036f), 397); - num3 = 6; - List list197 = new List(num3); - CollectionsMarshal.SetCount(list197, num3); - Span span69 = CollectionsMarshal.AsSpan(list197); - span69[0] = null; - span69[1] = null; - span69[2] = null; - span69[3] = null; - span69[4] = null; - span69[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list197; - reference139 = questStep5; - ref QuestStep reference140 = ref span68[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1011910u, new Vector3(-298.26813f, 126.67049f, -1.4191895f), 397); - num3 = 6; - List list198 = new List(num3); - CollectionsMarshal.SetCount(list198, num3); - Span span70 = CollectionsMarshal.AsSpan(list198); - span70[0] = null; - span70[1] = null; - span70[2] = null; - span70[3] = null; - span70[4] = null; - span70[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list198; - reference140 = questStep6; - ref QuestStep reference141 = ref span68[2]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1014133u, new Vector3(-259.84595f, 126.44779f, 1.9073486f), 397); - num3 = 6; - List list199 = new List(num3); - CollectionsMarshal.SetCount(list199, num3); - Span span71 = CollectionsMarshal.AsSpan(list199); - span71[0] = null; - span71[1] = null; - span71[2] = null; - span71[3] = null; - span71[4] = null; - span71[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list199; - reference141 = questStep7; - obj135.Steps = list196; - reference138 = obj135; - ref QuestSequence reference142 = ref span67[2]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.Interact, 1014152u, new Vector3(496.1776f, 133.93082f, -862.2416f), 397) - { - Fly = true - }; - obj136.Steps = list200; - reference142 = obj136; - ref QuestSequence reference143 = ref span67[3]; - QuestSequence obj137 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014153u, new Vector3(-295.82666f, 126.83744f, 3.829956f), 397) - { - Fly = true, - NextQuestId = new QuestId(1898) - }; - obj137.Steps = list201; - reference143 = obj137; - questRoot24.QuestSequence = list194; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(1898); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list202 = new List(num); - CollectionsMarshal.SetCount(list202, num); - CollectionsMarshal.AsSpan(list202)[0] = "Thaksin"; - questRoot25.Author = list202; - num = 13; - List list203 = new List(num); - CollectionsMarshal.SetCount(list203, num); - Span span72 = CollectionsMarshal.AsSpan(list203); - ref QuestSequence reference144 = ref span72[0]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013710u, new Vector3(-294.6975f, 126.84874f, 4.5318604f), 397); - obj138.Steps = list204; - reference144 = obj138; - ref QuestSequence reference145 = ref span72[1]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.Interact, 1014153u, new Vector3(-295.82666f, 126.83744f, 3.829956f), 397); - obj139.Steps = list205; - reference145 = obj139; - ref QuestSequence reference146 = ref span72[2]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.Interact, 1013710u, new Vector3(-294.6975f, 126.84874f, 4.5318604f), 397); - obj140.Steps = list206; - reference146 = obj140; - ref QuestSequence reference147 = ref span72[3]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - CollectionsMarshal.AsSpan(list207)[0] = new QuestStep(EInteractionType.Interact, 1014154u, new Vector3(-519.1577f, 119.39417f, -161.24213f), 397) - { - Fly = true - }; - obj141.Steps = list207; - reference147 = obj141; - ref QuestSequence reference148 = ref span72[4]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.Interact, 1014155u, new Vector3(-527.245f, 118.94699f, -163.13422f), 397); - obj142.Steps = list208; - reference148 = obj142; - ref QuestSequence reference149 = ref span72[5]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.Interact, 2006026u, new Vector3(-525.7191f, 119.06604f, -165.72827f), 397); - obj143.Steps = list209; - reference149 = obj143; - ref QuestSequence reference150 = ref span72[6]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - CollectionsMarshal.AsSpan(list210)[0] = new QuestStep(EInteractionType.Interact, 1013710u, new Vector3(-294.6975f, 126.84874f, 4.5318604f), 397) - { - Fly = true - }; - obj144.Steps = list210; - reference150 = obj144; - ref QuestSequence reference151 = ref span72[7]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - Span span73 = CollectionsMarshal.AsSpan(list211); - span73[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-92.57648f, 96.33008f, -645.1057f), 397) - { - Fly = true - }; - span73[1] = new QuestStep(EInteractionType.UseItem, 2006027u, new Vector3(-92.57648f, 96.33008f, -645.1057f), 397) - { - ItemId = 2001751u - }; - obj145.Steps = list211; - reference151 = obj145; - ref QuestSequence reference152 = ref span72[8]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 8 - }; - num2 = 2; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - Span span74 = CollectionsMarshal.AsSpan(list212); - span74[0] = new QuestStep(EInteractionType.Interact, 2006028u, new Vector3(-92.5155f, 93.52246f, -623.621f), 397); - ref QuestStep reference153 = ref span74[1]; - QuestStep obj147 = new QuestStep(EInteractionType.Combat, 4621u, new Vector3(-92.37683f, 95.76039f, -640.7043f), 397) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list213 = new List(num3); - CollectionsMarshal.SetCount(list213, num3); - CollectionsMarshal.AsSpan(list213)[0] = 4621u; - obj147.KillEnemyDataIds = list213; - reference153 = obj147; - obj146.Steps = list212; - reference152 = obj146; - ref QuestSequence reference154 = ref span72[9]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.Interact, 2006460u, new Vector3(-92.57648f, 96.33008f, -645.1057f), 397); - obj148.Steps = list214; - reference154 = obj148; - ref QuestSequence reference155 = ref span72[10]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.Interact, 1013710u, new Vector3(-294.6975f, 126.84874f, 4.5318604f), 397) - { - Fly = true - }; - obj149.Steps = list215; - reference155 = obj149; - ref QuestSequence reference156 = ref span72[11]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 11 - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - CollectionsMarshal.AsSpan(list216)[0] = new QuestStep(EInteractionType.Interact, 1014147u, new Vector3(-256.97723f, 126.99508f, 13.168518f), 397); - obj150.Steps = list216; - reference156 = obj150; - ref QuestSequence reference157 = ref span72[12]; - QuestSequence obj151 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013710u, new Vector3(-294.6975f, 126.84874f, 4.5318604f), 397); - obj151.Steps = list217; - reference157 = obj151; - questRoot25.QuestSequence = list203; - AddQuest(questId25, questRoot25); - } - - private static void LoadQuests38() - { - QuestId questId = new QuestId(1909); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "JerryWester"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012069u, new Vector3(-647.0283f, -51.05719f, -417.74628f), 401); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-44.83911f, -1.6023016f, -655.73804f), 401); - ref QuestStep reference3 = ref span2[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2005824u, new Vector3(204.8523f, 12.741211f, -596.2158f), 401); - int num3 = 6; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - Span span3 = CollectionsMarshal.AsSpan(list5); - span3[0] = null; - span3[1] = null; - span3[2] = null; - span3[3] = null; - span3[4] = null; - span3[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list5; - reference3 = questStep; - ref QuestStep reference4 = ref span2[2]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2005826u, new Vector3(224.93323f, 12.863342f, -653.3456f), 401); - num3 = 6; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - Span span4 = CollectionsMarshal.AsSpan(list6); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list6; - reference4 = questStep2; - ref QuestStep reference5 = ref span2[3]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2005825u, new Vector3(244.34265f, 38.345825f, -564.3549f), 401); - num3 = 6; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span5 = CollectionsMarshal.AsSpan(list7); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list7; - reference5 = questStep3; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference6 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012069u, new Vector3(-647.0283f, -51.05719f, -417.74628f), 401) - { - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - obj3.Steps = list8; - reference6 = obj3; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(1910); - QuestRoot questRoot2 = new QuestRoot(); - num = 2; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - Span span6 = CollectionsMarshal.AsSpan(list9); - span6[0] = "JerryWester"; - span6[1] = "Wigglez"; - questRoot2.Author = list9; - num = 3; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - Span span7 = CollectionsMarshal.AsSpan(list10); - ref QuestSequence reference7 = ref span7[0]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012068u, new Vector3(-597.0398f, -51.05185f, -387.0451f), 401); - obj4.Steps = list11; - reference7 = obj4; - ref QuestSequence reference8 = ref span7[1]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - Span span8 = CollectionsMarshal.AsSpan(list12); - span8[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-568.5969f, -50.649483f, -452.10956f), 401) - { - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-568.5969f, -50.649483f, -452.10956f), - MaximumDistance = 200f, - TerritoryId = 401 - } - } - } - }; - ref QuestStep reference9 = ref span8[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1012072u, new Vector3(-568.5969f, -50.649483f, -452.10956f), 401); - num3 = 6; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - Span span9 = CollectionsMarshal.AsSpan(list13); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list13; - reference9 = questStep4; - ref QuestStep reference10 = ref span8[2]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1012071u, new Vector3(-568.3833f, -50.605247f, -449.11877f), 401); - num3 = 6; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - Span span10 = CollectionsMarshal.AsSpan(list14); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list14; - reference10 = questStep5; - ref QuestStep reference11 = ref span8[3]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1012069u, new Vector3(-647.0283f, -51.05719f, -417.74628f), 401); - num3 = 6; - List list15 = new List(num3); - CollectionsMarshal.SetCount(list15, num3); - Span span11 = CollectionsMarshal.AsSpan(list15); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list15; - reference11 = questStep6; - obj5.Steps = list12; - reference8 = obj5; - ref QuestSequence reference12 = ref span7[2]; - QuestSequence obj6 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014171u, new Vector3(-373.43408f, -55.21164f, -630.0908f), 401) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_HEAVNZ706_01910_SAY_000_000" - } - }; - obj6.Steps = list16; - reference12 = obj6; - questRoot2.QuestSequence = list10; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(1936); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - CollectionsMarshal.AsSpan(list17)[0] = "JerryWester"; - questRoot3.Author = list17; - num = 4; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - Span span12 = CollectionsMarshal.AsSpan(list18); - ref QuestSequence reference13 = ref span12[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012287u, new Vector3(-28.397034f, 100.969696f, -186.4195f), 399); - obj7.Steps = list19; - reference13 = obj7; - ref QuestSequence reference14 = ref span12[1]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - ref QuestStep reference15 = ref CollectionsMarshal.AsSpan(list20)[0]; - QuestStep obj9 = new QuestStep(EInteractionType.Combat, null, new Vector3(56.196793f, 83.32266f, -218.24187f), 399) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - Span span13 = CollectionsMarshal.AsSpan(list21); - span13[0] = 4506u; - span13[1] = 4507u; - obj9.KillEnemyDataIds = list21; - reference15 = obj9; - obj8.Steps = list20; - reference14 = obj8; - ref QuestSequence reference16 = ref span12[2]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - ref QuestStep reference17 = ref CollectionsMarshal.AsSpan(list22)[0]; - QuestStep obj11 = new QuestStep(EInteractionType.Combat, null, new Vector3(104.56799f, 63.322918f, -218.18315f), 399) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - Span span14 = CollectionsMarshal.AsSpan(list23); - span14[0] = 4506u; - span14[1] = 4507u; - obj11.KillEnemyDataIds = list23; - reference17 = obj11; - obj10.Steps = list22; - reference16 = obj10; - ref QuestSequence reference18 = ref span12[3]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012287u, new Vector3(-28.397034f, 100.969696f, -186.4195f), 399); - obj12.Steps = list24; - reference18 = obj12; - questRoot3.QuestSequence = list18; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(1945); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - CollectionsMarshal.AsSpan(list25)[0] = "JerryWester"; - questRoot4.Author = list25; - num = 3; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - Span span15 = CollectionsMarshal.AsSpan(list26); - ref QuestSequence reference19 = ref span15[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012102u, new Vector3(72.40405f, 205.6815f, 31.631958f), 478); - obj13.Steps = list27; - reference19 = obj13; - ref QuestSequence reference20 = ref span15[1]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - Span span16 = CollectionsMarshal.AsSpan(list28); - span16[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(148.52824f, 207f, 117.84323f), 478) - { - TargetTerritoryId = (ushort)399 - }; - span16[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-104.97165f, 100.7737f, -302.41528f), 399); - ref QuestStep reference21 = ref span16[2]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2005878u, new Vector3(490.77588f, 83.7262f, -14.847046f), 399); - num3 = 6; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - Span span17 = CollectionsMarshal.AsSpan(list29); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list29; - reference21 = questStep7; - ref QuestStep reference22 = ref span16[3]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2005879u, new Vector3(496.42163f, 83.7262f, 18.631226f), 399); - num3 = 6; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - Span span18 = CollectionsMarshal.AsSpan(list30); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list30; - reference22 = questStep8; - ref QuestStep reference23 = ref span16[4]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 2005877u, new Vector3(458.70142f, 83.7262f, 34.74475f), 399); - num3 = 6; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - Span span19 = CollectionsMarshal.AsSpan(list31); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list31; - reference23 = questStep9; - obj14.Steps = list28; - reference20 = obj14; - ref QuestSequence reference24 = ref span15[2]; - QuestSequence obj15 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012102u, new Vector3(72.40405f, 205.6815f, 31.631958f), 478) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Idyllshire - }; - obj15.Steps = list32; - reference24 = obj15; - questRoot4.QuestSequence = list26; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(1947); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list33 = new List(num); - CollectionsMarshal.SetCount(list33, num); - CollectionsMarshal.AsSpan(list33)[0] = "Thaksin"; - questRoot5.Author = list33; - num = 3; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - Span span20 = CollectionsMarshal.AsSpan(list34); - ref QuestSequence reference25 = ref span20[0]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012287u, new Vector3(-28.397034f, 100.969696f, -186.4195f), 399) - { - Fly = true - }; - obj16.Steps = list35; - reference25 = obj16; - ref QuestSequence reference26 = ref span20[1]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - ref QuestStep reference27 = ref CollectionsMarshal.AsSpan(list36)[0]; - QuestStep obj18 = new QuestStep(EInteractionType.Combat, null, new Vector3(301.43185f, 76.142914f, 171.03389f), 399) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - CollectionsMarshal.AsSpan(list37)[0] = new ComplexCombatData - { - DataId = 4020u, - MinimumKillCount = 3u - }; - obj18.ComplexCombatData = list37; - reference27 = obj18; - obj17.Steps = list36; - reference26 = obj17; - ref QuestSequence reference28 = ref span20[2]; - QuestSequence obj19 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012287u, new Vector3(-28.397034f, 100.969696f, -186.4195f), 399) - { - Fly = true - }; - obj19.Steps = list38; - reference28 = obj19; - questRoot5.QuestSequence = list34; - AddQuest(questId5, questRoot5); - } - - private static void LoadQuests39() - { - QuestId questId = new QuestId(1963); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "JerryWester"; - questRoot.Author = list; - num = 5; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012133u, new Vector3(-26.840637f, 206.49944f, 28.67163f), 478); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(71.86769f, 204.99998f, 145.98666f), 478) - { - TargetTerritoryId = (ushort)399 - }; - span2[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2006210u, new Vector3(-487.48004f, 144.64026f, -285.359f), 399) - { - AetherCurrentId = 2818088u - }; - span2[2] = new QuestStep(EInteractionType.Interact, 1013651u, new Vector3(-475.76105f, 155.8605f, -209.76581f), 399); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-403.42465f, 154.8542f, 82.59637f), 399); - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - Span span3 = CollectionsMarshal.AsSpan(list6); - span3[0] = new QuestStep(EInteractionType.Combat, null, new Vector3(-403.42465f, 154.8542f, 82.59637f), 399) - { - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - span3[1] = new QuestStep(EInteractionType.Interact, 2005885u, new Vector3(-403.2807f, 155.35205f, 82.84119f), 399) - { - DelaySecondsAtStart = 2f - }; - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013651u, new Vector3(-475.76105f, 155.8605f, -209.76581f), 399); - obj5.Steps = list7; - reference5 = obj5; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(1964); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - CollectionsMarshal.AsSpan(list8)[0] = "Thaksin"; - questRoot2.Author = list8; - num = 4; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - Span span4 = CollectionsMarshal.AsSpan(list9); - ref QuestSequence reference6 = ref span4[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013651u, new Vector3(-475.76105f, 155.8605f, -209.76581f), 399); - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span4[1]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - Span span5 = CollectionsMarshal.AsSpan(list11); - span5[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-654.5463f, 148.56897f, 187.12466f), 399) - { - Fly = true - }; - span5[1] = new QuestStep(EInteractionType.Interact, 1013655u, new Vector3(-669.9169f, 154.30952f, 191.08862f), 399) - { - Land = true - }; - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span4[2]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - Span span6 = CollectionsMarshal.AsSpan(list12); - span6[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-894.6883f, 215.50499f, 157.66754f), 399) - { - Fly = true - }; - ref QuestStep reference9 = ref span6[1]; - QuestStep obj9 = new QuestStep(EInteractionType.Combat, 5047u, new Vector3(-894.9264f, 215.16266f, 155.29102f), 399) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - int num3 = 2; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - Span span7 = CollectionsMarshal.AsSpan(list13); - span7[0] = 5047u; - span7[1] = 5048u; - obj9.KillEnemyDataIds = list13; - reference9 = obj9; - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference10 = ref span4[3]; - QuestSequence obj10 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - Span span8 = CollectionsMarshal.AsSpan(list14); - span8[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-654.5463f, 148.56897f, 187.12466f), 399) - { - Fly = true - }; - span8[1] = new QuestStep(EInteractionType.CompleteQuest, 1013655u, new Vector3(-669.9169f, 154.30952f, 191.08862f), 399) - { - Land = true - }; - obj10.Steps = list14; - reference10 = obj10; - questRoot2.QuestSequence = list9; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(1965); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - CollectionsMarshal.AsSpan(list15)[0] = "Thaksin"; - questRoot3.Author = list15; - num = 6; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - Span span9 = CollectionsMarshal.AsSpan(list16); - ref QuestSequence reference11 = ref span9[0]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013655u, new Vector3(-669.9169f, 154.30952f, 191.08862f), 399); - obj11.Steps = list17; - reference11 = obj11; - ref QuestSequence reference12 = ref span9[1]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.Interact, 1013656u, new Vector3(-617.8836f, 150.38008f, 327.19922f), 399); - obj12.Steps = list18; - reference12 = obj12; - ref QuestSequence reference13 = ref span9[2]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - Span span10 = CollectionsMarshal.AsSpan(list19); - span10[0] = new QuestStep(EInteractionType.Interact, 1013659u, new Vector3(-617.76154f, 153.8528f, 349.35522f), 399); - ref QuestStep reference14 = ref span10[1]; - QuestStep obj14 = new QuestStep(EInteractionType.Combat, 5049u, new Vector3(-617.76154f, 153.8528f, 349.35522f), 399) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - Span span11 = CollectionsMarshal.AsSpan(list20); - span11[0] = 5046u; - span11[1] = 5049u; - obj14.KillEnemyDataIds = list20; - reference14 = obj14; - obj13.Steps = list19; - reference13 = obj13; - ref QuestSequence reference15 = ref span9[3]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.Interact, 1013659u, new Vector3(-617.76154f, 153.8528f, 349.35522f), 399); - obj15.Steps = list21; - reference15 = obj15; - ref QuestSequence reference16 = ref span9[4]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.Interact, 1013656u, new Vector3(-617.8836f, 150.38008f, 327.19922f), 399); - obj16.Steps = list22; - reference16 = obj16; - ref QuestSequence reference17 = ref span9[5]; - QuestSequence obj17 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012133u, new Vector3(-26.840637f, 206.49944f, 28.67163f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire - }; - obj17.Steps = list23; - reference17 = obj17; - questRoot3.QuestSequence = list16; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(1966); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - CollectionsMarshal.AsSpan(list24)[0] = "JerryWester"; - questRoot4.Author = list24; - num = 3; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - Span span12 = CollectionsMarshal.AsSpan(list25); - ref QuestSequence reference18 = ref span12[0]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012141u, new Vector3(35.690796f, 38.43f, 12.985352f), 463); - obj18.Steps = list26; - reference18 = obj18; - ref QuestSequence reference19 = ref span12[1]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - Span span13 = CollectionsMarshal.AsSpan(list27); - ref QuestStep reference20 = ref span13[0]; - QuestStep obj20 = new QuestStep(EInteractionType.Interact, 2005337u, new Vector3(7.765594f, 38.9395f, -50.9989f), 463) - { - TargetTerritoryId = (ushort)399 - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - CollectionsMarshal.AsSpan(list28)[0] = 463; - skipStepConditions.NotInTerritory = list28; - skipConditions.StepIf = skipStepConditions; - obj20.SkipConditions = skipConditions; - reference20 = obj20; - ref QuestStep reference21 = ref span13[1]; - QuestStep obj21 = new QuestStep(EInteractionType.Combat, 2006061u, new Vector3(-486.93066f, 137.40747f, 701.3198f), 399) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - CollectionsMarshal.AsSpan(list29)[0] = 44u; - obj21.KillEnemyDataIds = list29; - num3 = 6; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - Span span14 = CollectionsMarshal.AsSpan(list30); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj21.CompletionQuestVariablesFlags = list30; - reference21 = obj21; - ref QuestStep reference22 = ref span13[2]; - QuestStep obj22 = new QuestStep(EInteractionType.Combat, 2006062u, new Vector3(-471.8548f, 137.40747f, 705.5619f), 399) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - CollectionsMarshal.AsSpan(list31)[0] = 44u; - obj22.KillEnemyDataIds = list31; - num3 = 6; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - Span span15 = CollectionsMarshal.AsSpan(list32); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj22.CompletionQuestVariablesFlags = list32; - reference22 = obj22; - ref QuestStep reference23 = ref span13[3]; - QuestStep obj23 = new QuestStep(EInteractionType.Combat, 2006063u, new Vector3(-473.50275f, 137.40747f, 685.3893f), 399) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - CollectionsMarshal.AsSpan(list33)[0] = 44u; - obj23.KillEnemyDataIds = list33; - num3 = 6; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - Span span16 = CollectionsMarshal.AsSpan(list34); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj23.CompletionQuestVariablesFlags = list34; - reference23 = obj23; - obj19.Steps = list27; - reference19 = obj19; - ref QuestSequence reference24 = ref span12[2]; - QuestSequence obj24 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - Span span17 = CollectionsMarshal.AsSpan(list35); - span17[0] = new QuestStep(EInteractionType.Interact, 2005336u, new Vector3(-488.79227f, 138.93335f, 741.0543f), 399) - { - TargetTerritoryId = (ushort)463 - }; - span17[1] = new QuestStep(EInteractionType.CompleteQuest, 1012141u, new Vector3(35.690796f, 38.43f, 12.985352f), 463); - obj24.Steps = list35; - reference24 = obj24; - questRoot4.QuestSequence = list25; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(1979); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - CollectionsMarshal.AsSpan(list36)[0] = "goatzone"; - questRoot5.Author = list36; - num = 3; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - Span span18 = CollectionsMarshal.AsSpan(list37); - ref QuestSequence reference25 = ref span18[0]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012145u, new Vector3(-607.7516f, -176.4502f, -527.5502f), 402); - obj25.Steps = list38; - reference25 = obj25; - ref QuestSequence reference26 = ref span18[1]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - ref QuestStep reference27 = ref CollectionsMarshal.AsSpan(list39)[0]; - QuestStep obj27 = new QuestStep(EInteractionType.Combat, null, new Vector3(-441.42657f, -167.25401f, -432.4462f), 402) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - CollectionsMarshal.AsSpan(list40)[0] = new ComplexCombatData - { - DataId = 4093u, - MinimumKillCount = 5u - }; - obj27.ComplexCombatData = list40; - reference27 = obj27; - obj26.Steps = list39; - reference26 = obj26; - ref QuestSequence reference28 = ref span18[2]; - QuestSequence obj28 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012145u, new Vector3(-607.7516f, -176.4502f, -527.5502f), 402) - { - Fly = true - }; - obj28.Steps = list41; - reference28 = obj28; - questRoot5.QuestSequence = list37; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(1980); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - CollectionsMarshal.AsSpan(list42)[0] = "goatzone"; - questRoot6.Author = list42; - num = 3; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - Span span19 = CollectionsMarshal.AsSpan(list43); - ref QuestSequence reference29 = ref span19[0]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012146u, new Vector3(-643.76294f, -176.4502f, -527.3976f), 402); - obj29.Steps = list44; - reference29 = obj29; - ref QuestSequence reference30 = ref span19[1]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - ref QuestStep reference31 = ref CollectionsMarshal.AsSpan(list45)[0]; - QuestStep obj31 = new QuestStep(EInteractionType.Combat, null, new Vector3(-439.6144f, -186.3405f, -617.2911f), 402) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - CollectionsMarshal.AsSpan(list46)[0] = new ComplexCombatData - { - DataId = 4092u, - MinimumKillCount = 5u - }; - obj31.ComplexCombatData = list46; - reference31 = obj31; - obj30.Steps = list45; - reference30 = obj30; - ref QuestSequence reference32 = ref span19[2]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012146u, new Vector3(-643.76294f, -176.4502f, -527.3976f), 402) - { - AetheryteShortcut = EAetheryteLocation.AzysLlaHelix - }; - obj32.Steps = list47; - reference32 = obj32; - questRoot6.QuestSequence = list43; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(1981); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - CollectionsMarshal.AsSpan(list48)[0] = "goatzone"; - questRoot7.Author = list48; - num = 3; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - Span span20 = CollectionsMarshal.AsSpan(list49); - ref QuestSequence reference33 = ref span20[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012147u, new Vector3(-426.627f, -162.1281f, -328.6031f), 402) - { - Fly = true - }; - obj33.Steps = list50; - reference33 = obj33; - ref QuestSequence reference34 = ref span20[1]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - ref QuestStep reference35 = ref CollectionsMarshal.AsSpan(list51)[0]; - QuestStep obj35 = new QuestStep(EInteractionType.Combat, null, new Vector3(-528.74396f, -143.65883f, -580.686f), 402) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - CollectionsMarshal.AsSpan(list52)[0] = 4503u; - obj35.KillEnemyDataIds = list52; - reference35 = obj35; - obj34.Steps = list51; - reference34 = obj34; - ref QuestSequence reference36 = ref span20[2]; - QuestSequence obj36 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012147u, new Vector3(-426.627f, -162.1281f, -328.6031f), 402) - { - Fly = true - }; - obj36.Steps = list53; - reference36 = obj36; - questRoot7.QuestSequence = list49; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(1982); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - CollectionsMarshal.AsSpan(list54)[0] = "goatzone"; - questRoot8.Author = list54; - num = 3; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - Span span21 = CollectionsMarshal.AsSpan(list55); - ref QuestSequence reference37 = ref span21[0]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012148u, new Vector3(-173.2663f, -162.03395f, -510.39905f), 402) - { - Fly = true - }; - obj37.Steps = list56; - reference37 = obj37; - ref QuestSequence reference38 = ref span21[1]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - ref QuestStep reference39 = ref CollectionsMarshal.AsSpan(list57)[0]; - QuestStep obj39 = new QuestStep(EInteractionType.Combat, null, new Vector3(-189.43037f, -160.1837f, -499.3027f), 402) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list58 = new List(num3); - CollectionsMarshal.SetCount(list58, num3); - Span span22 = CollectionsMarshal.AsSpan(list58); - span22[0] = new ComplexCombatData - { - DataId = 4091u, - MinimumKillCount = 3u - }; - span22[1] = new ComplexCombatData - { - DataId = 4090u, - MinimumKillCount = 3u - }; - obj39.ComplexCombatData = list58; - reference39 = obj39; - obj38.Steps = list57; - reference38 = obj38; - ref QuestSequence reference40 = ref span21[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012148u, new Vector3(-173.2663f, -162.03395f, -510.39905f), 402); - obj40.Steps = list59; - reference40 = obj40; - questRoot8.QuestSequence = list55; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(1983); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - CollectionsMarshal.AsSpan(list60)[0] = "goatzone"; - questRoot9.Author = list60; - num = 3; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - Span span23 = CollectionsMarshal.AsSpan(list61); - ref QuestSequence reference41 = ref span23[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012289u, new Vector3(231.18933f, -72.92926f, -603.1434f), 402) - { - Fly = true - }; - obj41.Steps = list62; - reference41 = obj41; - ref QuestSequence reference42 = ref span23[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - ref QuestStep reference43 = ref CollectionsMarshal.AsSpan(list63)[0]; - QuestStep obj43 = new QuestStep(EInteractionType.Combat, null, new Vector3(517.51276f, -40.378292f, -785.99677f), 402) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - CollectionsMarshal.AsSpan(list64)[0] = new ComplexCombatData - { - DataId = 4141u, - MinimumKillCount = 2u - }; - obj43.ComplexCombatData = list64; - reference43 = obj43; - obj42.Steps = list63; - reference42 = obj42; - ref QuestSequence reference44 = ref span23[2]; - QuestSequence obj44 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012289u, new Vector3(231.18933f, -72.92926f, -603.1434f), 402) - { - Fly = true - }; - obj44.Steps = list65; - reference44 = obj44; - questRoot9.QuestSequence = list61; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(1984); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - CollectionsMarshal.AsSpan(list66)[0] = "goatzone"; - questRoot10.Author = list66; - num = 3; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - Span span24 = CollectionsMarshal.AsSpan(list67); - ref QuestSequence reference45 = ref span24[0]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012290u, new Vector3(760.5248f, -30.307041f, -579.67505f), 402) - { - Fly = true - }; - obj45.Steps = list68; - reference45 = obj45; - ref QuestSequence reference46 = ref span24[1]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - ref QuestStep reference47 = ref CollectionsMarshal.AsSpan(list69)[0]; - QuestStep obj47 = new QuestStep(EInteractionType.Combat, null, new Vector3(668.9029f, -86.006f, -775.5664f), 402) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list70 = new List(num3); - CollectionsMarshal.SetCount(list70, num3); - CollectionsMarshal.AsSpan(list70)[0] = new ComplexCombatData - { - DataId = 4046u, - MinimumKillCount = 4u - }; - obj47.ComplexCombatData = list70; - reference47 = obj47; - obj46.Steps = list69; - reference46 = obj46; - ref QuestSequence reference48 = ref span24[2]; - QuestSequence obj48 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012290u, new Vector3(760.5248f, -30.307041f, -579.67505f), 402) - { - Fly = true - }; - obj48.Steps = list71; - reference48 = obj48; - questRoot10.QuestSequence = list67; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(1985); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - CollectionsMarshal.AsSpan(list72)[0] = "goatzone"; - questRoot11.Author = list72; - num = 3; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - Span span25 = CollectionsMarshal.AsSpan(list73); - ref QuestSequence reference49 = ref span25[0]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012291u, new Vector3(804.074f, -26.326342f, -527.48914f), 402); - obj49.Steps = list74; - reference49 = obj49; - ref QuestSequence reference50 = ref span25[1]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - ref QuestStep reference51 = ref CollectionsMarshal.AsSpan(list75)[0]; - QuestStep obj51 = new QuestStep(EInteractionType.Combat, null, new Vector3(355.31863f, -46.22946f, -507.70428f), 402) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - CollectionsMarshal.AsSpan(list76)[0] = new ComplexCombatData - { - DataId = 4072u, - MinimumKillCount = 4u - }; - obj51.ComplexCombatData = list76; - reference51 = obj51; - obj50.Steps = list75; - reference50 = obj50; - ref QuestSequence reference52 = ref span25[2]; - QuestSequence obj52 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012291u, new Vector3(804.074f, -26.326342f, -527.48914f), 402) - { - Fly = true - }; - obj52.Steps = list77; - reference52 = obj52; - questRoot11.QuestSequence = list73; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(1986); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list78 = new List(num); - CollectionsMarshal.SetCount(list78, num); - CollectionsMarshal.AsSpan(list78)[0] = "goatzone"; - questRoot12.Author = list78; - num = 3; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - Span span26 = CollectionsMarshal.AsSpan(list79); - ref QuestSequence reference53 = ref span26[0]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012292u, new Vector3(583.9779f, 10.93506f, 100.02283f), 402) - { - Fly = true - }; - obj53.Steps = list80; - reference53 = obj53; - ref QuestSequence reference54 = ref span26[1]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - ref QuestStep reference55 = ref CollectionsMarshal.AsSpan(list81)[0]; - QuestStep obj55 = new QuestStep(EInteractionType.Combat, null, new Vector3(773.4017f, -0.06258035f, 147.04689f), 402) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 5; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - Span span27 = CollectionsMarshal.AsSpan(list82); - span27[0] = 4669u; - span27[1] = 4970u; - span27[2] = 4671u; - span27[3] = 4672u; - span27[4] = 4673u; - obj55.KillEnemyDataIds = list82; - reference55 = obj55; - obj54.Steps = list81; - reference54 = obj54; - ref QuestSequence reference56 = ref span26[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012292u, new Vector3(583.9779f, 10.93506f, 100.02283f), 402) - { - Fly = true - }; - obj56.Steps = list83; - reference56 = obj56; - questRoot12.QuestSequence = list79; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(1987); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - CollectionsMarshal.AsSpan(list84)[0] = "goatzone"; - questRoot13.Author = list84; - num = 3; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - Span span28 = CollectionsMarshal.AsSpan(list85); - ref QuestSequence reference57 = ref span28[0]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012293u, new Vector3(573.4187f, 13.072888f, 329.2439f), 402) - { - Fly = true - }; - obj57.Steps = list86; - reference57 = obj57; - ref QuestSequence reference58 = ref span28[1]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - ref QuestStep reference59 = ref CollectionsMarshal.AsSpan(list87)[0]; - QuestStep obj59 = new QuestStep(EInteractionType.Combat, null, new Vector3(495.16974f, 31.67624f, 517.37463f), 402) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list88 = new List(num3); - CollectionsMarshal.SetCount(list88, num3); - CollectionsMarshal.AsSpan(list88)[0] = new ComplexCombatData - { - DataId = 4083u, - MinimumKillCount = 4u - }; - obj59.ComplexCombatData = list88; - reference59 = obj59; - obj58.Steps = list87; - reference58 = obj58; - ref QuestSequence reference60 = ref span28[2]; - QuestSequence obj60 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012293u, new Vector3(573.4187f, 13.072888f, 329.2439f), 402) - { - Fly = true - }; - obj60.Steps = list89; - reference60 = obj60; - questRoot13.QuestSequence = list85; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(1988); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - CollectionsMarshal.AsSpan(list90)[0] = "goatzone"; - questRoot14.Author = list90; - num = 3; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - Span span29 = CollectionsMarshal.AsSpan(list91); - ref QuestSequence reference61 = ref span29[0]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012294u, new Vector3(366.4148f, 20.214104f, 756.7101f), 402) - { - Fly = true - }; - obj61.Steps = list92; - reference61 = obj61; - ref QuestSequence reference62 = ref span29[1]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - Span span30 = CollectionsMarshal.AsSpan(list93); - ref QuestStep reference63 = ref span30[0]; - QuestStep obj63 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(505.4667f, 16.87959f, 751.14856f), 402) - { - Fly = true - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list94 = new List(num3); - CollectionsMarshal.SetCount(list94, num3); - Span span31 = CollectionsMarshal.AsSpan(list94); - span31[0] = null; - span31[1] = null; - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list94; - skipConditions2.StepIf = skipStepConditions2; - obj63.SkipConditions = skipConditions2; - reference63 = obj63; - ref QuestStep reference64 = ref span30[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2005900u, new Vector3(506.76733f, 16.861145f, 750.24023f), 402); - num3 = 6; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - Span span32 = CollectionsMarshal.AsSpan(list95); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list95; - reference64 = questStep; - ref QuestStep reference65 = ref span30[2]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2005903u, new Vector3(544.64014f, 15.945618f, 760.61633f), 402); - num3 = 6; - List list96 = new List(num3); - CollectionsMarshal.SetCount(list96, num3); - Span span33 = CollectionsMarshal.AsSpan(list96); - span33[0] = null; - span33[1] = null; - span33[2] = null; - span33[3] = null; - span33[4] = null; - span33[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list96; - reference65 = questStep2; - ref QuestStep reference66 = ref span30[3]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2005899u, new Vector3(545.4031f, 20.2182f, 802.8534f), 402); - num3 = 6; - List list97 = new List(num3); - CollectionsMarshal.SetCount(list97, num3); - Span span34 = CollectionsMarshal.AsSpan(list97); - span34[0] = null; - span34[1] = null; - span34[2] = null; - span34[3] = null; - span34[4] = null; - span34[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list97; - reference66 = questStep3; - ref QuestStep reference67 = ref span30[4]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2005902u, new Vector3(614.6791f, 20.2182f, 758.938f), 402); - num3 = 6; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - Span span35 = CollectionsMarshal.AsSpan(list98); - span35[0] = null; - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list98; - reference67 = questStep4; - ref QuestStep reference68 = ref span30[5]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2005901u, new Vector3(605.3406f, 15.945618f, 708.06433f), 402); - num3 = 6; - List list99 = new List(num3); - CollectionsMarshal.SetCount(list99, num3); - Span span36 = CollectionsMarshal.AsSpan(list99); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list99; - reference68 = questStep5; - obj62.Steps = list93; - reference62 = obj62; - ref QuestSequence reference69 = ref span29[2]; - QuestSequence obj64 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012294u, new Vector3(366.4148f, 20.214104f, 756.7101f), 402) - { - Fly = true - }; - obj64.Steps = list100; - reference69 = obj64; - questRoot14.QuestSequence = list91; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(1989); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list101 = new List(num); - CollectionsMarshal.SetCount(list101, num); - CollectionsMarshal.AsSpan(list101)[0] = "goatzone"; - questRoot15.Author = list101; - num = 3; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - Span span37 = CollectionsMarshal.AsSpan(list102); - ref QuestSequence reference70 = ref span37[0]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012295u, new Vector3(214.64856f, 13.75853f, 536.9801f), 402) - { - Fly = true - }; - obj65.Steps = list103; - reference70 = obj65; - ref QuestSequence reference71 = ref span37[1]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - ref QuestStep reference72 = ref CollectionsMarshal.AsSpan(list104)[0]; - QuestStep obj67 = new QuestStep(EInteractionType.Combat, null, new Vector3(144.31177f, 5.9740877f, 387.8086f), 402) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - CollectionsMarshal.AsSpan(list105)[0] = new ComplexCombatData - { - DataId = 4630u, - MinimumKillCount = 3u - }; - obj67.ComplexCombatData = list105; - reference72 = obj67; - obj66.Steps = list104; - reference71 = obj66; - ref QuestSequence reference73 = ref span37[2]; - QuestSequence obj68 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012295u, new Vector3(214.64856f, 13.75853f, 536.9801f), 402) - { - Fly = true - }; - obj68.Steps = list106; - reference73 = obj68; - questRoot15.QuestSequence = list102; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(1990); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - CollectionsMarshal.AsSpan(list107)[0] = "goatzone"; - questRoot16.Author = list107; - num = 3; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - Span span38 = CollectionsMarshal.AsSpan(list108); - ref QuestSequence reference74 = ref span38[0]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012296u, new Vector3(-658.32f, -75.48534f, 699.1531f), 402) - { - Fly = true - }; - obj69.Steps = list109; - reference74 = obj69; - ref QuestSequence reference75 = ref span38[1]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - Span span39 = CollectionsMarshal.AsSpan(list110); - ref QuestStep reference76 = ref span39[0]; - QuestStep obj71 = new QuestStep(EInteractionType.Combat, null, new Vector3(-345.30673f, -89.61499f, 353.53f), 402) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list111 = new List(num3); - CollectionsMarshal.SetCount(list111, num3); - CollectionsMarshal.AsSpan(list111)[0] = new ComplexCombatData - { - DataId = 4075u, - MinimumKillCount = 3u - }; - obj71.ComplexCombatData = list111; - num3 = 6; - List list112 = new List(num3); - CollectionsMarshal.SetCount(list112, num3); - Span span40 = CollectionsMarshal.AsSpan(list112); - span40[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = null; - obj71.CompletionQuestVariablesFlags = list112; - reference76 = obj71; - ref QuestStep reference77 = ref span39[1]; - QuestStep obj72 = new QuestStep(EInteractionType.Combat, null, new Vector3(-553.4664f, -104.895905f, 175.68343f), 402) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - CollectionsMarshal.AsSpan(list113)[0] = new ComplexCombatData - { - DataId = 4668u, - MinimumKillCount = 3u - }; - obj72.ComplexCombatData = list113; - reference77 = obj72; - obj70.Steps = list110; - reference75 = obj70; - ref QuestSequence reference78 = ref span38[2]; - QuestSequence obj73 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012296u, new Vector3(-658.32f, -75.48534f, 699.1531f), 402) - { - Fly = true - }; - obj73.Steps = list114; - reference78 = obj73; - questRoot16.QuestSequence = list108; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(1991); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - CollectionsMarshal.AsSpan(list115)[0] = "goatzone"; - questRoot17.Author = list115; - num = 3; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - Span span41 = CollectionsMarshal.AsSpan(list116); - ref QuestSequence reference79 = ref span41[0]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012297u, new Vector3(-554.95544f, -89.69182f, 771.87756f), 402) - { - Fly = true - }; - obj74.Steps = list117; - reference79 = obj74; - ref QuestSequence reference80 = ref span41[1]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - ref QuestStep reference81 = ref CollectionsMarshal.AsSpan(list118)[0]; - QuestStep obj76 = new QuestStep(EInteractionType.Combat, null, new Vector3(-679.16223f, -48.151093f, 542.7097f), 402) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - CollectionsMarshal.AsSpan(list119)[0] = new ComplexCombatData - { - DataId = 4095u, - MinimumKillCount = 4u - }; - obj76.ComplexCombatData = list119; - reference81 = obj76; - obj75.Steps = list118; - reference80 = obj75; - ref QuestSequence reference82 = ref span41[2]; - QuestSequence obj77 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012297u, new Vector3(-554.95544f, -89.69182f, 771.87756f), 402) - { - Fly = true - }; - obj77.Steps = list120; - reference82 = obj77; - questRoot17.QuestSequence = list116; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(1992); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list121 = new List(num); - CollectionsMarshal.SetCount(list121, num); - CollectionsMarshal.AsSpan(list121)[0] = "goatzone"; - questRoot18.Author = list121; - num = 3; - List list122 = new List(num); - CollectionsMarshal.SetCount(list122, num); - Span span42 = CollectionsMarshal.AsSpan(list122); - ref QuestSequence reference83 = ref span42[0]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012298u, new Vector3(-192.67572f, -102.749916f, 476.9817f), 402) - { - Fly = true - }; - obj78.Steps = list123; - reference83 = obj78; - ref QuestSequence reference84 = ref span42[1]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - Span span43 = CollectionsMarshal.AsSpan(list124); - ref QuestStep reference85 = ref span43[0]; - QuestStep obj80 = new QuestStep(EInteractionType.Combat, null, new Vector3(-375.98807f, -106.10026f, 710.48956f), 402) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list125 = new List(num3); - CollectionsMarshal.SetCount(list125, num3); - CollectionsMarshal.AsSpan(list125)[0] = new ComplexCombatData - { - DataId = 4493u, - MinimumKillCount = 1u - }; - obj80.ComplexCombatData = list125; - num3 = 6; - List list126 = new List(num3); - CollectionsMarshal.SetCount(list126, num3); - Span span44 = CollectionsMarshal.AsSpan(list126); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj80.CompletionQuestVariablesFlags = list126; - reference85 = obj80; - ref QuestStep reference86 = ref span43[1]; - QuestStep obj81 = new QuestStep(EInteractionType.Combat, null, new Vector3(-372.88766f, -105.78837f, 746.95245f), 402) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list127 = new List(num3); - CollectionsMarshal.SetCount(list127, num3); - CollectionsMarshal.AsSpan(list127)[0] = new ComplexCombatData - { - DataId = 4493u, - MinimumKillCount = 1u - }; - obj81.ComplexCombatData = list127; - num3 = 6; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - Span span45 = CollectionsMarshal.AsSpan(list128); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj81.CompletionQuestVariablesFlags = list128; - reference86 = obj81; - ref QuestStep reference87 = ref span43[2]; - QuestStep obj82 = new QuestStep(EInteractionType.Combat, null, new Vector3(-321.94852f, -106.57244f, 716.5662f), 402) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - CollectionsMarshal.AsSpan(list129)[0] = new ComplexCombatData - { - DataId = 4493u, - MinimumKillCount = 1u - }; - obj82.ComplexCombatData = list129; - num3 = 6; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - Span span46 = CollectionsMarshal.AsSpan(list130); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj82.CompletionQuestVariablesFlags = list130; - reference87 = obj82; - obj79.Steps = list124; - reference84 = obj79; - ref QuestSequence reference88 = ref span42[2]; - QuestSequence obj83 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012298u, new Vector3(-192.67572f, -102.749916f, 476.9817f), 402) - { - Fly = true - }; - obj83.Steps = list131; - reference88 = obj83; - questRoot18.QuestSequence = list122; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(1993); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list132 = new List(num); - CollectionsMarshal.SetCount(list132, num); - CollectionsMarshal.AsSpan(list132)[0] = "JerryWester"; - questRoot19.Author = list132; - num = 4; - List list133 = new List(num); - CollectionsMarshal.SetCount(list133, num); - Span span47 = CollectionsMarshal.AsSpan(list133); - ref QuestSequence reference89 = ref span47[0]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013332u, new Vector3(94.95691f, -22.000006f, 50.94983f), 418); - obj84.Steps = list134; - reference89 = obj84; - ref QuestSequence reference90 = ref span47[1]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.Interact, 1011192u, new Vector3(88.36499f, 15.094684f, 31.296265f), 418); - obj85.Steps = list135; - reference90 = obj85; - ref QuestSequence reference91 = ref span47[2]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.Interact, 1013196u, new Vector3(-249.43921f, -20.03492f, -65.0188f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardJeweledCrozier - } - }; - obj86.Steps = list136; - reference91 = obj86; - ref QuestSequence reference92 = ref span47[3]; - QuestSequence obj87 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011192u, new Vector3(88.36499f, 15.094684f, 31.296265f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardJeweledCrozier, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj87.Steps = list137; - reference92 = obj87; - questRoot19.QuestSequence = list133; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(1994); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - CollectionsMarshal.AsSpan(list138)[0] = "JerryWester"; - questRoot20.Author = list138; - num = 3; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - Span span48 = CollectionsMarshal.AsSpan(list139); - ref QuestSequence reference93 = ref span48[0]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011192u, new Vector3(88.36499f, 15.094684f, 31.296265f), 418); - obj88.Steps = list140; - reference93 = obj88; - ref QuestSequence reference94 = ref span48[1]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.Interact, 1011222u, new Vector3(231.92188f, -13.73494f, -106.85901f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - obj89.Steps = list141; - reference94 = obj89; - ref QuestSequence reference95 = ref span48[2]; - QuestSequence obj90 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011192u, new Vector3(88.36499f, 15.094684f, 31.296265f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardAthenaeumAstrologicum, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj90.Steps = list142; - reference95 = obj90; - questRoot20.QuestSequence = list139; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(1995); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - CollectionsMarshal.AsSpan(list143)[0] = "JerryWester"; - questRoot21.Author = list143; - num = 3; - List list144 = new List(num); - CollectionsMarshal.SetCount(list144, num); - Span span49 = CollectionsMarshal.AsSpan(list144); - ref QuestSequence reference96 = ref span49[0]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011192u, new Vector3(88.36499f, 15.094684f, 31.296265f), 418); - obj91.Steps = list145; - reference96 = obj91; - ref QuestSequence reference97 = ref span49[1]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - Span span50 = CollectionsMarshal.AsSpan(list146); - span50[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(90.44213f, -3.7030487f, 76.662605f), 418); - span50[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(101.28695f, -20.020874f, 76.39896f), 418) - { - DisableNavmesh = true - }; - span50[2] = new QuestStep(EInteractionType.Interact, 1012169u, new Vector3(109.391846f, -22.012903f, 29.95337f), 418); - obj92.Steps = list146; - reference97 = obj92; - ref QuestSequence reference98 = ref span49[2]; - QuestSequence obj93 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011192u, new Vector3(88.36499f, 15.094684f, 31.296265f), 418); - obj93.Steps = list147; - reference98 = obj93; - questRoot21.QuestSequence = list144; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(1996); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list148 = new List(num); - CollectionsMarshal.SetCount(list148, num); - CollectionsMarshal.AsSpan(list148)[0] = "JerryWester"; - questRoot22.Author = list148; - num = 3; - List list149 = new List(num); - CollectionsMarshal.SetCount(list149, num); - Span span51 = CollectionsMarshal.AsSpan(list149); - ref QuestSequence reference99 = ref span51[0]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011192u, new Vector3(88.36499f, 15.094684f, 31.296265f), 418); - obj94.Steps = list150; - reference99 = obj94; - ref QuestSequence reference100 = ref span51[1]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - Span span52 = CollectionsMarshal.AsSpan(list151); - span52[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(90.44213f, -3.7030487f, 76.662605f), 418); - span52[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(101.28695f, -20.020874f, 76.39896f), 418) - { - DisableNavmesh = true - }; - ref QuestStep reference101 = ref span52[2]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1013340u, new Vector3(144.57922f, -20.020874f, 54.276245f), 418); - num3 = 1; - List list152 = new List(num3); - CollectionsMarshal.SetCount(list152, num3); - CollectionsMarshal.AsSpan(list152)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_HEAVNA409_01996_Q1_000_000"), - Answer = new ExcelRef("TEXT_HEAVNA409_01996_A1_000_001") - }; - questStep6.DialogueChoices = list152; - reference101 = questStep6; - obj95.Steps = list151; - reference100 = obj95; - ref QuestSequence reference102 = ref span51[2]; - QuestSequence obj96 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013260u, new Vector3(104.38696f, 15.000005f, 25.558838f), 418); - obj96.Steps = list153; - reference102 = obj96; - questRoot22.QuestSequence = list149; - AddQuest(questId22, questRoot22); - } - - private static void LoadQuests40() - { - QuestId questId = new QuestId(2012); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "kaiser"; - questRoot.Author = list; - num = 7; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference2 = ref CollectionsMarshal.AsSpan(list3)[0]; - QuestStep obj2 = new QuestStep(EInteractionType.AcceptQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition obj3 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - int num3 = 1; - List list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - CollectionsMarshal.AsSpan(list4)[0] = 419; - obj3.InTerritory = list4; - skipConditions.AetheryteShortcutIf = obj3; - obj2.SkipConditions = skipConditions; - reference2 = obj2; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference3 = ref span[1]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f - }; - obj4.Steps = list5; - reference3 = obj4; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - Span span2 = CollectionsMarshal.AsSpan(list6); - ref QuestStep reference5 = ref span2[0]; - QuestStep obj6 = new QuestStep(EInteractionType.Interact, 1012221u, new Vector3(195.08655f, -5.3999624f, -65.65961f), 419) - { - StopDistance = 4f - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span3 = CollectionsMarshal.AsSpan(list7); - span3[0] = null; - span3[1] = null; - span3[2] = null; - span3[3] = null; - span3[4] = null; - span3[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list7; - skipConditions2.StepIf = skipStepConditions; - obj6.SkipConditions = skipConditions2; - reference5 = obj6; - ref QuestStep reference6 = ref span2[1]; - QuestStep obj7 = new QuestStep(EInteractionType.Interact, 1012223u, new Vector3(188.70825f, -5.3999662f, -68.833435f), 419) - { - StopDistance = 4f - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - Span span4 = CollectionsMarshal.AsSpan(list8); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list8; - skipConditions3.StepIf = skipStepConditions2; - obj7.SkipConditions = skipConditions3; - reference6 = obj7; - ref QuestStep reference7 = ref span2[2]; - QuestStep obj8 = new QuestStep(EInteractionType.Interact, 1012224u, new Vector3(175.12769f, -5.4349146f, -57.938538f), 419) - { - StopDistance = 4f - }; - num3 = 6; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - Span span5 = CollectionsMarshal.AsSpan(list9); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj8.CompletionQuestVariablesFlags = list9; - reference7 = obj8; - obj5.Steps = list6; - reference4 = obj5; - ref QuestSequence reference8 = ref span[3]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.Interact, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 4f - }; - obj9.Steps = list10; - reference8 = obj9; - ref QuestSequence reference9 = ref span[4]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - Span span6 = CollectionsMarshal.AsSpan(list11); - span6[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(197.57971f, 307.86523f, 409.82266f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span6[1] = new QuestStep(EInteractionType.Interact, 1014980u, new Vector3(198.6571f, 293.33f, 418.57007f), 155) - { - StopDistance = 4f, - Fly = false, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj10.Steps = list11; - reference9 = obj10; - ref QuestSequence reference10 = ref span[5]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Interact, 1014931u, new Vector3(182.97095f, 7.488976f, -46.830017f), 153) - { - StopDistance = 4f, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj11.Steps = list12; - reference10 = obj11; - ref QuestSequence reference11 = ref span[6]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014925u, new Vector3(184.49683f, 14.1174555f, 51.92639f), 153) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - NextQuestId = new QuestId(2013) - }; - obj12.Steps = list13; - reference11 = obj12; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(2013); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - CollectionsMarshal.AsSpan(list14)[0] = "kaiser"; - questRoot2.Author = list14; - num = 3; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - Span span7 = CollectionsMarshal.AsSpan(list15); - ref QuestSequence reference12 = ref span7[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - ref QuestStep reference13 = ref CollectionsMarshal.AsSpan(list16)[0]; - QuestStep obj14 = new QuestStep(EInteractionType.AcceptQuest, 1014981u, new Vector3(185.62585f, 14.044273f, 50.492065f), 153) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition obj15 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list17 = new List(num3); - CollectionsMarshal.SetCount(list17, num3); - CollectionsMarshal.AsSpan(list17)[0] = 419; - obj15.InTerritory = list17; - skipConditions4.AetheryteShortcutIf = obj15; - obj14.SkipConditions = skipConditions4; - reference13 = obj14; - obj13.Steps = list16; - reference12 = obj13; - ref QuestSequence reference14 = ref span7[1]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1014981u, new Vector3(185.62585f, 14.044273f, 50.492065f), 153) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj16.Steps = list18; - reference14 = obj16; - ref QuestSequence reference15 = ref span7[2]; - QuestSequence obj17 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - }, - NextQuestId = new QuestId(2014) - }; - obj17.Steps = list19; - reference15 = obj17; - questRoot2.QuestSequence = list15; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(2014); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - CollectionsMarshal.AsSpan(list20)[0] = "kaiser"; - questRoot3.Author = list20; - num = 7; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - Span span8 = CollectionsMarshal.AsSpan(list21); - ref QuestSequence reference16 = ref span8[0]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - ref QuestStep reference17 = ref CollectionsMarshal.AsSpan(list22)[0]; - QuestStep obj19 = new QuestStep(EInteractionType.AcceptQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipAetheryteCondition obj20 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - CollectionsMarshal.AsSpan(list23)[0] = 419; - obj20.InTerritory = list23; - skipConditions5.AetheryteShortcutIf = obj20; - obj19.SkipConditions = skipConditions5; - reference17 = obj19; - obj18.Steps = list22; - reference16 = obj18; - ref QuestSequence reference18 = ref span8[1]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.Interact, 1014935u, new Vector3(143.35852f, -6.0896406f, 409.81152f), 145) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj21.Steps = list24; - reference18 = obj21; - ref QuestSequence reference19 = ref span8[2]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.Interact, 2006314u, new Vector3(143.05322f, -6.149414f, 412.10034f), 145) - { - StopDistance = 2f, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj22.Steps = list25; - reference19 = obj22; - ref QuestSequence reference20 = ref span8[3]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.Interact, 1014941u, new Vector3(-61.72278f, 23.150558f, -408.71295f), 146) - { - StopDistance = 4f, - Fly = false, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj23.Steps = list26; - reference20 = obj23; - ref QuestSequence reference21 = ref span8[4]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.Interact, 2006315u, new Vector3(-60.16632f, 23.147888f, -406.79028f), 146) - { - StopDistance = 2f, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj24.Steps = list27; - reference21 = obj24; - ref QuestSequence reference22 = ref span8[5]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.Interact, 1014941u, new Vector3(-61.72278f, 23.150558f, -408.71295f), 146) - { - StopDistance = 3f, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj25.Steps = list28; - reference22 = obj25; - ref QuestSequence reference23 = ref span8[6]; - QuestSequence obj26 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - }, - NextQuestId = new QuestId(2015) - }; - obj26.Steps = list29; - reference23 = obj26; - questRoot3.QuestSequence = list21; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(2015); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - CollectionsMarshal.AsSpan(list30)[0] = "kaiser"; - questRoot4.Author = list30; - num = 2; - List list31 = new List(num); - CollectionsMarshal.SetCount(list31, num); - Span span9 = CollectionsMarshal.AsSpan(list31); - ref QuestSequence reference24 = ref span9[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - ref QuestStep reference25 = ref CollectionsMarshal.AsSpan(list32)[0]; - QuestStep obj28 = new QuestStep(EInteractionType.AcceptQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipAetheryteCondition obj29 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - CollectionsMarshal.AsSpan(list33)[0] = 419; - obj29.InTerritory = list33; - skipConditions6.AetheryteShortcutIf = obj29; - obj28.SkipConditions = skipConditions6; - reference25 = obj28; - obj27.Steps = list32; - reference24 = obj27; - ref QuestSequence reference26 = ref span9[1]; - QuestSequence obj30 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014944u, new Vector3(199.93884f, -0.899981f, -48.722107f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(199.93884f, -0.899981f, -48.722107f), - MaximumDistance = 100f, - TerritoryId = 419 - } - } - }, - NextQuestId = new QuestId(2016) - }; - obj30.Steps = list34; - reference26 = obj30; - questRoot4.QuestSequence = list31; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(2016); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - CollectionsMarshal.AsSpan(list35)[0] = "kaiser"; - questRoot5.Author = list35; - num = 7; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - Span span10 = CollectionsMarshal.AsSpan(list36); - ref QuestSequence reference27 = ref span10[0]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - ref QuestStep reference28 = ref CollectionsMarshal.AsSpan(list37)[0]; - QuestStep obj32 = new QuestStep(EInteractionType.AcceptQuest, 1014944u, new Vector3(199.93884f, -0.899981f, -48.722107f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipAetheryteCondition obj33 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - CollectionsMarshal.AsSpan(list38)[0] = 419; - obj33.InTerritory = list38; - skipConditions7.AetheryteShortcutIf = obj33; - obj32.SkipConditions = skipConditions7; - reference28 = obj32; - obj31.Steps = list37; - reference27 = obj31; - ref QuestSequence reference29 = ref span10[1]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 4f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(202.38037f, -5.3999662f, -58.9151f), - MaximumDistance = 100f, - TerritoryId = 419 - } - } - } - }; - obj34.Steps = list39; - reference29 = obj34; - ref QuestSequence reference30 = ref span10[2]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.Interact, 1014946u, new Vector3(-189.89856f, 16f, 58.182617f), 129) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaHawkersAlley - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj35.Steps = list40; - reference30 = obj35; - ref QuestSequence reference31 = ref span10[3]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - Span span11 = CollectionsMarshal.AsSpan(list41); - ref QuestStep reference32 = ref span11[0]; - QuestStep obj37 = new QuestStep(EInteractionType.Interact, 1014947u, new Vector3(-187.85382f, 3.9999306f, 170.1228f), 129) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaHawkersAlley, - To = EAetheryteLocation.LimsaFisher - } - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - Span span12 = CollectionsMarshal.AsSpan(list42); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list42; - skipConditions8.StepIf = skipStepConditions3; - skipConditions8.AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj37.SkipConditions = skipConditions8; - reference32 = obj37; - ref QuestStep reference33 = ref span11[1]; - QuestStep obj38 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-2.1358607f, 45.631218f, -258.50027f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.LimsaMarauder - } - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 1; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - CollectionsMarshal.AsSpan(list43)[0] = 128; - skipStepConditions4.InTerritory = list43; - skipConditions9.StepIf = skipStepConditions4; - obj38.SkipConditions = skipConditions9; - reference33 = obj38; - ref QuestStep reference34 = ref span11[2]; - QuestStep obj39 = new QuestStep(EInteractionType.Interact, 1003282u, new Vector3(-3.03656f, 48.168007f, -261.70752f), 128) - { - StopDistance = 5f - }; - num3 = 6; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - Span span13 = CollectionsMarshal.AsSpan(list44); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj39.CompletionQuestVariablesFlags = list44; - reference34 = obj39; - ref QuestStep reference35 = ref span11[3]; - QuestStep obj40 = new QuestStep(EInteractionType.Interact, 1002680u, new Vector3(1.4800415f, 30.47563f, -242.20648f), 128) - { - StopDistance = 5f - }; - num3 = 6; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - Span span14 = CollectionsMarshal.AsSpan(list45); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj40.CompletionQuestVariablesFlags = list45; - reference35 = obj40; - obj36.Steps = list41; - reference31 = obj36; - ref QuestSequence reference36 = ref span10[4]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 1014948u, new Vector3(17.166382f, 47.600006f, -160.23505f), 128) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - obj41.Steps = list46; - reference36 = obj41; - ref QuestSequence reference37 = ref span10[5]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2006316u, new Vector3(17.715698f, 47.592896f, -160.47919f), 128); - obj42.Steps = list47; - reference37 = obj42; - ref QuestSequence reference38 = ref span10[6]; - QuestSequence obj43 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(202.38037f, -5.3999662f, -58.9151f), - MaximumDistance = 100f, - TerritoryId = 419 - } - } - }, - NextQuestId = new QuestId(2017) - }; - obj43.Steps = list48; - reference38 = obj43; - questRoot5.QuestSequence = list36; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(2017); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - CollectionsMarshal.AsSpan(list49)[0] = "kaiser"; - questRoot6.Author = list49; - num = 6; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - Span span15 = CollectionsMarshal.AsSpan(list50); - ref QuestSequence reference39 = ref span15[0]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - ref QuestStep reference40 = ref CollectionsMarshal.AsSpan(list51)[0]; - QuestStep obj45 = new QuestStep(EInteractionType.AcceptQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipAetheryteCondition obj46 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - CollectionsMarshal.AsSpan(list52)[0] = 419; - obj46.InTerritory = list52; - skipConditions10.AetheryteShortcutIf = obj46; - obj45.SkipConditions = skipConditions10; - reference40 = obj45; - obj44.Steps = list51; - reference39 = obj44; - ref QuestSequence reference41 = ref span15[1]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - Span span16 = CollectionsMarshal.AsSpan(list53); - span16[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(197.69202f, 307.86456f, 409.4611f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span16[1] = new QuestStep(EInteractionType.Interact, 1006377u, new Vector3(200.97656f, 293.33f, 420.37073f), 155) - { - StopDistance = 4f, - Fly = false, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj47.Steps = list53; - reference41 = obj47; - ref QuestSequence reference42 = ref span15[2]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.Interact, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(202.38037f, -5.3999662f, -58.9151f), - MaximumDistance = 100f, - TerritoryId = 419 - } - } - } - }; - obj48.Steps = list54; - reference42 = obj48; - ref QuestSequence reference43 = ref span15[3]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1014949u, new Vector3(-159.65515f, 40.350307f, -194.7204f), 156) - { - StopDistance = 5f, - Fly = true, - Comment = "Solo duty here!", - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj49.Steps = list55; - reference43 = obj49; - ref QuestSequence reference44 = ref span15[4]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.Interact, 2006318u, new Vector3(-147.2649f, 43.320312f, -186.63312f), 156) - { - StopDistance = 3f - }; - obj50.Steps = list56; - reference44 = obj50; - ref QuestSequence reference45 = ref span15[5]; - QuestSequence obj51 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(202.38037f, -5.3999662f, -58.9151f), - MaximumDistance = 100f, - TerritoryId = 419 - } - } - }, - NextQuestId = new QuestId(2018) - }; - obj51.Steps = list57; - reference45 = obj51; - questRoot6.QuestSequence = list50; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(2018); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - CollectionsMarshal.AsSpan(list58)[0] = "kaiser"; - questRoot7.Author = list58; - num = 2; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - Span span17 = CollectionsMarshal.AsSpan(list59); - ref QuestSequence reference46 = ref span17[0]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - ref QuestStep reference47 = ref CollectionsMarshal.AsSpan(list60)[0]; - QuestStep obj53 = new QuestStep(EInteractionType.AcceptQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipAetheryteCondition obj54 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - CollectionsMarshal.AsSpan(list61)[0] = 419; - obj54.InTerritory = list61; - skipConditions11.AetheryteShortcutIf = obj54; - obj53.SkipConditions = skipConditions11; - reference47 = obj53; - obj52.Steps = list60; - reference46 = obj52; - ref QuestSequence reference48 = ref span17[1]; - QuestSequence obj55 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014944u, new Vector3(199.93884f, -0.899981f, -48.722107f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(199.93884f, -0.899981f, -48.722107f), - MaximumDistance = 100f, - TerritoryId = 419 - } - } - }, - NextQuestId = new QuestId(2019) - }; - obj55.Steps = list62; - reference48 = obj55; - questRoot7.QuestSequence = list59; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(2019); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list63 = new List(num); - CollectionsMarshal.SetCount(list63, num); - CollectionsMarshal.AsSpan(list63)[0] = "kaiser"; - questRoot8.Author = list63; - num = 6; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - Span span18 = CollectionsMarshal.AsSpan(list64); - ref QuestSequence reference49 = ref span18[0]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - ref QuestStep reference50 = ref CollectionsMarshal.AsSpan(list65)[0]; - QuestStep obj57 = new QuestStep(EInteractionType.AcceptQuest, 1014944u, new Vector3(199.93884f, -0.899981f, -48.722107f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - SkipConditions skipConditions12 = new SkipConditions(); - SkipAetheryteCondition obj58 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - CollectionsMarshal.AsSpan(list66)[0] = 419; - obj58.InTerritory = list66; - skipConditions12.AetheryteShortcutIf = obj58; - obj57.SkipConditions = skipConditions12; - reference50 = obj57; - obj56.Steps = list65; - reference49 = obj56; - ref QuestSequence reference51 = ref span18[1]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.Interact, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 4f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(202.38037f, -5.3999662f, -58.9151f), - MaximumDistance = 100f, - TerritoryId = 419 - } - } - } - }; - obj59.Steps = list67; - reference51 = obj59; - ref QuestSequence reference52 = ref span18[2]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1014957u, new Vector3(238.78845f, 302f, -277.97363f), 155) - { - StopDistance = 4f, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj60.Steps = list68; - reference52 = obj60; - ref QuestSequence reference53 = ref span18[3]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1014960u, new Vector3(262.83667f, 359.1351f, -688.3192f), 155) - { - StopDistance = 4f, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj61.Steps = list69; - reference53 = obj61; - ref QuestSequence reference54 = ref span18[4]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.Interact, 1014961u, new Vector3(259.72375f, 359.09564f, -689.93665f), 155) - { - StopDistance = 4f, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj62.Steps = list70; - reference54 = obj62; - ref QuestSequence reference55 = ref span18[5]; - QuestSequence obj63 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.CompleteQuest, 2006367u, new Vector3(205.92041f, 307.8507f, 412.25293f), 155) - { - StopDistance = 2f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - NextQuestId = new QuestId(2020) - }; - obj63.Steps = list71; - reference55 = obj63; - questRoot8.QuestSequence = list64; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(2020); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - CollectionsMarshal.AsSpan(list72)[0] = "kaiser"; - questRoot9.Author = list72; - num = 7; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - Span span19 = CollectionsMarshal.AsSpan(list73); - ref QuestSequence reference56 = ref span19[0]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - ref QuestStep reference57 = ref CollectionsMarshal.AsSpan(list74)[0]; - QuestStep obj65 = new QuestStep(EInteractionType.AcceptQuest, 1015127u, new Vector3(204.60815f, 307.87106f, 414.63342f), 155) - { - StopDistance = 3f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - SkipConditions skipConditions13 = new SkipConditions(); - SkipAetheryteCondition obj66 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - CollectionsMarshal.AsSpan(list75)[0] = 419; - obj66.InTerritory = list75; - skipConditions13.AetheryteShortcutIf = obj66; - obj65.SkipConditions = skipConditions13; - reference57 = obj65; - obj64.Steps = list74; - reference56 = obj64; - ref QuestSequence reference58 = ref span19[1]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - Span span20 = CollectionsMarshal.AsSpan(list76); - ref QuestStep reference59 = ref span20[0]; - QuestStep obj68 = new QuestStep(EInteractionType.Interact, 1006377u, new Vector3(200.97656f, 293.33f, 420.37073f), 155) - { - StopDistance = 4f - }; - SkipConditions skipConditions14 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 6; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - Span span21 = CollectionsMarshal.AsSpan(list77); - span21[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions5.CompletionQuestVariablesFlags = list77; - skipConditions14.StepIf = skipStepConditions5; - obj68.SkipConditions = skipConditions14; - reference59 = obj68; - span20[1] = new QuestStep(EInteractionType.Jump, null, new Vector3(205.51671f, 285.27087f, 413.4063f), 155) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(198.82875f, 234.59601f, 424.70218f) - } - }; - span20[2] = new QuestStep(EInteractionType.Interact, 1006376u, new Vector3(195.3612f, 234.79839f, 419.3026f), 155) - { - StopDistance = 3f - }; - obj67.Steps = list76; - reference58 = obj67; - ref QuestSequence reference60 = ref span19[2]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.Interact, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(202.38037f, -5.3999662f, -58.9151f), - MaximumDistance = 100f, - TerritoryId = 419 - } - } - } - }; - obj69.Steps = list78; - reference60 = obj69; - ref QuestSequence reference61 = ref span19[3]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.Interact, 1015128u, new Vector3(116.472046f, -4.734893f, -52.567383f), 419) - { - StopDistance = 5f - }; - obj70.Steps = list79; - reference61 = obj70; - ref QuestSequence reference62 = ref span19[4]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.Interact, 1015130u, new Vector3(51.743286f, 11.741424f, 27.115234f), 419) - { - StopDistance = 5f - }; - obj71.Steps = list80; - reference62 = obj71; - ref QuestSequence reference63 = ref span19[5]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.Interact, 1015129u, new Vector3(-0.07635498f, 11.965096f, 44.327393f), 419) - { - StopDistance = 5f - }; - obj72.Steps = list81; - reference63 = obj72; - ref QuestSequence reference64 = ref span19[6]; - QuestSequence obj73 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(202.38037f, -5.3999662f, -58.9151f), - MaximumDistance = 100f, - TerritoryId = 419 - } - } - }, - NextQuestId = new QuestId(2021) - }; - obj73.Steps = list82; - reference64 = obj73; - questRoot9.QuestSequence = list73; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(2021); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list83 = new List(num); - CollectionsMarshal.SetCount(list83, num); - CollectionsMarshal.AsSpan(list83)[0] = "kaiser"; - questRoot10.Author = list83; - num = 10; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - Span span22 = CollectionsMarshal.AsSpan(list84); - ref QuestSequence reference65 = ref span22[0]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - ref QuestStep reference66 = ref CollectionsMarshal.AsSpan(list85)[0]; - QuestStep obj75 = new QuestStep(EInteractionType.AcceptQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - SkipConditions skipConditions15 = new SkipConditions(); - SkipAetheryteCondition obj76 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - CollectionsMarshal.AsSpan(list86)[0] = 419; - obj76.InTerritory = list86; - skipConditions15.AetheryteShortcutIf = obj76; - obj75.SkipConditions = skipConditions15; - reference66 = obj75; - obj74.Steps = list85; - reference65 = obj74; - ref QuestSequence reference67 = ref span22[1]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.Interact, 1015142u, new Vector3(446.98242f, 217.95142f, 753.994f), 397) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj77.Steps = list87; - reference67 = obj77; - ref QuestSequence reference68 = ref span22[2]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 1015145u, new Vector3(487.17468f, 200.23772f, 656.27515f), 397) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj78.Steps = list88; - reference68 = obj78; - ref QuestSequence reference69 = ref span22[3]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Action, 1015146u, new Vector3(485.0995f, 200.2377f, 654.68823f), 397) - { - StopDistance = 4f, - Action = EAction.AspectedBenefic - }; - obj79.Steps = list89; - reference69 = obj79; - ref QuestSequence reference70 = ref span22[4]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - ref QuestStep reference71 = ref CollectionsMarshal.AsSpan(list90)[0]; - QuestStep obj81 = new QuestStep(EInteractionType.Combat, null, new Vector3(501.1413f, 161.74702f, -318.04788f), 397) - { - StopDistance = 3f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list91 = new List(num3); - CollectionsMarshal.SetCount(list91, num3); - Span span23 = CollectionsMarshal.AsSpan(list91); - span23[0] = new ComplexCombatData - { - DataId = 4619u, - MinimumKillCount = 1u - }; - span23[1] = new ComplexCombatData - { - DataId = 4360u, - MinimumKillCount = 2u - }; - obj81.ComplexCombatData = list91; - obj81.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - reference71 = obj81; - obj80.Steps = list90; - reference70 = obj80; - ref QuestSequence reference72 = ref span22[5]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.Action, 1015147u, new Vector3(500.11438f, 161.61157f, -320.02753f), 397) - { - StopDistance = 3f, - Action = EAction.AspectedBenefic - }; - obj82.Steps = list92; - reference72 = obj82; - ref QuestSequence reference73 = ref span22[6]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.Interact, 1015142u, new Vector3(446.98242f, 217.95142f, 753.994f), 397) - { - StopDistance = 4f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj83.Steps = list93; - reference73 = obj83; - ref QuestSequence reference74 = ref span22[7]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 7 - }; - num2 = 3; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - Span span24 = CollectionsMarshal.AsSpan(list94); - span24[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(529.5874f, 227.05162f, 717.32074f), 397) - { - Fly = true - }; - span24[1] = new QuestStep(EInteractionType.None, null, null, 397) - { - Mount = false - }; - span24[2] = new QuestStep(EInteractionType.Interact, 1015149u, new Vector3(533.59265f, 228.33778f, 720.2715f), 397) - { - StopDistance = 4f - }; - obj84.Steps = list94; - reference74 = obj84; - ref QuestSequence reference75 = ref span22[8]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.Interact, 1015151u, new Vector3(541.25256f, 228.85133f, 742.5497f), 397) - { - StopDistance = 4f, - Fly = false - }; - obj85.Steps = list95; - reference75 = obj85; - ref QuestSequence reference76 = ref span22[9]; - QuestSequence obj86 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(202.38037f, -5.3999662f, -58.9151f), - MaximumDistance = 100f, - TerritoryId = 419 - } - } - }, - NextQuestId = new QuestId(2022) - }; - obj86.Steps = list96; - reference76 = obj86; - questRoot10.QuestSequence = list84; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(2022); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - CollectionsMarshal.AsSpan(list97)[0] = "kaiser"; - questRoot11.Author = list97; - num = 6; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - Span span25 = CollectionsMarshal.AsSpan(list98); - ref QuestSequence reference77 = ref span25[0]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - ref QuestStep reference78 = ref CollectionsMarshal.AsSpan(list99)[0]; - QuestStep obj88 = new QuestStep(EInteractionType.AcceptQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - SkipConditions skipConditions16 = new SkipConditions(); - SkipAetheryteCondition obj89 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list100 = new List(num3); - CollectionsMarshal.SetCount(list100, num3); - CollectionsMarshal.AsSpan(list100)[0] = 419; - obj89.InTerritory = list100; - skipConditions16.AetheryteShortcutIf = obj89; - obj88.SkipConditions = skipConditions16; - reference78 = obj88; - obj87.Steps = list99; - reference77 = obj87; - ref QuestSequence reference79 = ref span25[1]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.Interact, 1015168u, new Vector3(-266.01056f, 126.407364f, -0.045776367f), 397) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj90.Steps = list101; - reference79 = obj90; - ref QuestSequence reference80 = ref span25[2]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - Span span26 = CollectionsMarshal.AsSpan(list102); - ref QuestStep reference81 = ref span26[0]; - QuestStep obj92 = new QuestStep(EInteractionType.Action, 1015169u, new Vector3(-311.42145f, 126.83597f, 3.4942627f), 397) - { - StopDistance = 4f, - Action = EAction.AspectedBenefic - }; - num3 = 6; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - Span span27 = CollectionsMarshal.AsSpan(list103); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj92.CompletionQuestVariablesFlags = list103; - reference81 = obj92; - ref QuestStep reference82 = ref span26[1]; - QuestStep obj93 = new QuestStep(EInteractionType.Action, 1015171u, new Vector3(-320.02753f, 126.52038f, -14.023071f), 397) - { - StopDistance = 4f, - Action = EAction.AspectedBenefic - }; - num3 = 6; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - Span span28 = CollectionsMarshal.AsSpan(list104); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj93.CompletionQuestVariablesFlags = list104; - reference82 = obj93; - ref QuestStep reference83 = ref span26[2]; - QuestStep obj94 = new QuestStep(EInteractionType.Action, 1015170u, new Vector3(-296.86432f, 125.87531f, -14.389343f), 397) - { - StopDistance = 4f, - Action = EAction.AspectedBenefic - }; - num3 = 6; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - Span span29 = CollectionsMarshal.AsSpan(list105); - span29[0] = null; - span29[1] = null; - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj94.CompletionQuestVariablesFlags = list105; - reference83 = obj94; - obj91.Steps = list102; - reference80 = obj91; - ref QuestSequence reference84 = ref span25[3]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.Interact, 1015163u, new Vector3(-310.0786f, 125.02021f, -25.192688f), 397) - { - StopDistance = 4f - }; - obj95.Steps = list106; - reference84 = obj95; - ref QuestSequence reference85 = ref span25[4]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.Action, 1015178u, new Vector3(-310.0786f, 125.02021f, -25.192688f), 397) - { - StopDistance = 4f, - Action = EAction.AspectedBenefic - }; - obj96.Steps = list107; - reference85 = obj96; - ref QuestSequence reference86 = ref span25[5]; - QuestSequence obj97 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(202.38037f, -5.3999662f, -58.9151f), - MaximumDistance = 100f, - TerritoryId = 419 - } - } - }, - NextQuestId = new QuestId(2023) - }; - obj97.Steps = list108; - reference86 = obj97; - questRoot11.QuestSequence = list98; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(2023); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - CollectionsMarshal.AsSpan(list109)[0] = "kaiser"; - questRoot12.Author = list109; - num = 6; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - Span span30 = CollectionsMarshal.AsSpan(list110); - ref QuestSequence reference87 = ref span30[0]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - ref QuestStep reference88 = ref CollectionsMarshal.AsSpan(list111)[0]; - QuestStep obj99 = new QuestStep(EInteractionType.AcceptQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - SkipConditions skipConditions17 = new SkipConditions(); - SkipAetheryteCondition obj100 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list112 = new List(num3); - CollectionsMarshal.SetCount(list112, num3); - CollectionsMarshal.AsSpan(list112)[0] = 419; - obj100.InTerritory = list112; - skipConditions17.AetheryteShortcutIf = obj100; - obj99.SkipConditions = skipConditions17; - reference88 = obj99; - obj98.Steps = list111; - reference87 = obj98; - ref QuestSequence reference89 = ref span30[1]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.Interact, 1015084u, new Vector3(487.08313f, -51.1414f, 33.340942f), 398) - { - StopDistance = 5f, - Fly = false, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj101.Steps = list113; - reference89 = obj101; - ref QuestSequence reference90 = ref span30[2]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - Span span31 = CollectionsMarshal.AsSpan(list114); - ref QuestStep reference91 = ref span31[0]; - QuestStep obj103 = new QuestStep(EInteractionType.Action, 1015094u, new Vector3(472.03772f, -51.14139f, 8.590759f), 398) - { - StopDistance = 4f, - Action = EAction.AspectedBenefic - }; - num3 = 6; - List list115 = new List(num3); - CollectionsMarshal.SetCount(list115, num3); - Span span32 = CollectionsMarshal.AsSpan(list115); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj103.CompletionQuestVariablesFlags = list115; - reference91 = obj103; - ref QuestStep reference92 = ref span31[1]; - QuestStep obj104 = new QuestStep(EInteractionType.Action, 1015092u, new Vector3(560.9979f, -51.27571f, 62.974f), 398) - { - StopDistance = 4f, - Action = EAction.AspectedBenefic - }; - num3 = 6; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - Span span33 = CollectionsMarshal.AsSpan(list116); - span33[0] = null; - span33[1] = null; - span33[2] = null; - span33[3] = null; - span33[4] = null; - span33[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj104.CompletionQuestVariablesFlags = list116; - reference92 = obj104; - ref QuestStep reference93 = ref span31[2]; - QuestStep obj105 = new QuestStep(EInteractionType.Action, 1015093u, new Vector3(465.568f, -51.19559f, 98.10022f), 398) - { - StopDistance = 4f, - Action = EAction.AspectedBenefic - }; - num3 = 6; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - Span span34 = CollectionsMarshal.AsSpan(list117); - span34[0] = null; - span34[1] = null; - span34[2] = null; - span34[3] = null; - span34[4] = null; - span34[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj105.CompletionQuestVariablesFlags = list117; - reference93 = obj105; - obj102.Steps = list114; - reference90 = obj102; - ref QuestSequence reference94 = ref span30[3]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.Interact, 1015087u, new Vector3(509.75806f, -51.32657f, 75.913574f), 398) - { - StopDistance = 4f, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj106.Steps = list118; - reference94 = obj106; - ref QuestSequence reference95 = ref span30[4]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1015095u, new Vector3(731.56323f, -40.98759f, -27.420471f), 398) - { - StopDistance = 4f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj107.Steps = list119; - reference95 = obj107; - ref QuestSequence reference96 = ref span30[5]; - QuestSequence obj108 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(202.38037f, -5.3999662f, -58.9151f), - MaximumDistance = 100f, - TerritoryId = 419 - } - } - }, - NextQuestId = new QuestId(2024) - }; - obj108.Steps = list120; - reference96 = obj108; - questRoot12.QuestSequence = list110; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(2024); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list121 = new List(num); - CollectionsMarshal.SetCount(list121, num); - CollectionsMarshal.AsSpan(list121)[0] = "kaiser"; - questRoot13.Author = list121; - num = 9; - List list122 = new List(num); - CollectionsMarshal.SetCount(list122, num); - Span span35 = CollectionsMarshal.AsSpan(list122); - ref QuestSequence reference97 = ref span35[0]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - ref QuestStep reference98 = ref CollectionsMarshal.AsSpan(list123)[0]; - QuestStep obj110 = new QuestStep(EInteractionType.AcceptQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - SkipConditions skipConditions18 = new SkipConditions(); - SkipAetheryteCondition obj111 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list124 = new List(num3); - CollectionsMarshal.SetCount(list124, num3); - CollectionsMarshal.AsSpan(list124)[0] = 419; - obj111.InTerritory = list124; - skipConditions18.AetheryteShortcutIf = obj111; - obj110.SkipConditions = skipConditions18; - reference98 = obj110; - obj109.Steps = list123; - reference97 = obj109; - ref QuestSequence reference99 = ref span35[1]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.Interact, 1015181u, new Vector3(707.94226f, 204.32489f, -252.49103f), 397) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj112.Steps = list125; - reference99 = obj112; - ref QuestSequence reference100 = ref span35[2]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.Action, 1015190u, new Vector3(679.1942f, 207.2133f, -273.82324f), 397) - { - StopDistance = 4f, - Action = EAction.AspectedBenefic - }; - obj113.Steps = list126; - reference100 = obj113; - ref QuestSequence reference101 = ref span35[3]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.Action, 1015191u, new Vector3(651.78906f, 207.92256f, -268.29938f), 397) - { - StopDistance = 4f, - Action = EAction.AspectedBenefic - }; - obj114.Steps = list127; - reference101 = obj114; - ref QuestSequence reference102 = ref span35[4]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.Action, 1015192u, new Vector3(652.82666f, 209.09976f, -282.70392f), 397) - { - StopDistance = 4f, - Action = EAction.AspectedBenefic - }; - obj115.Steps = list128; - reference102 = obj115; - ref QuestSequence reference103 = ref span35[5]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - Span span36 = CollectionsMarshal.AsSpan(list129); - ref QuestStep reference104 = ref span36[0]; - QuestStep obj117 = new QuestStep(EInteractionType.Combat, null, new Vector3(614.313f, 210.86438f, -301.28937f), 397) - { - StopDistance = 3f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - CollectionsMarshal.AsSpan(list130)[0] = new ComplexCombatData - { - DataId = 4676u, - MinimumKillCount = 3u - }; - obj117.ComplexCombatData = list130; - reference104 = obj117; - span36[1] = new QuestStep(EInteractionType.Interact, 2006415u, new Vector3(614.313f, 210.86438f, -301.28937f), 397); - obj116.Steps = list129; - reference103 = obj116; - ref QuestSequence reference105 = ref span35[6]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.Interact, 1015197u, new Vector3(614.25183f, 210.67752f, -300.1908f), 397) - { - StopDistance = 3f - }; - obj118.Steps = list131; - reference105 = obj118; - ref QuestSequence reference106 = ref span35[7]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.Interact, 1015181u, new Vector3(707.94226f, 204.32489f, -252.49103f), 397) - { - StopDistance = 5f, - Fly = true - }; - obj119.Steps = list132; - reference106 = obj119; - ref QuestSequence reference107 = ref span35[8]; - QuestSequence obj120 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(202.38037f, -5.3999662f, -58.9151f), - MaximumDistance = 100f, - TerritoryId = 419 - } - } - }, - NextQuestId = new QuestId(2025) - }; - obj120.Steps = list133; - reference107 = obj120; - questRoot13.QuestSequence = list122; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(2025); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list134 = new List(num); - CollectionsMarshal.SetCount(list134, num); - CollectionsMarshal.AsSpan(list134)[0] = "kaiser"; - questRoot14.Author = list134; - num = 6; - List list135 = new List(num); - CollectionsMarshal.SetCount(list135, num); - Span span37 = CollectionsMarshal.AsSpan(list135); - ref QuestSequence reference108 = ref span37[0]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - ref QuestStep reference109 = ref CollectionsMarshal.AsSpan(list136)[0]; - QuestStep obj122 = new QuestStep(EInteractionType.AcceptQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - SkipConditions skipConditions19 = new SkipConditions(); - SkipAetheryteCondition obj123 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list137 = new List(num3); - CollectionsMarshal.SetCount(list137, num3); - CollectionsMarshal.AsSpan(list137)[0] = 419; - obj123.InTerritory = list137; - skipConditions19.AetheryteShortcutIf = obj123; - obj122.SkipConditions = skipConditions19; - reference109 = obj122; - obj121.Steps = list136; - reference108 = obj121; - ref QuestSequence reference110 = ref span37[1]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.Interact, 1015108u, new Vector3(-359.42633f, 141.55403f, -215.32007f), 399) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshirePrologueGate - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj124.Steps = list138; - reference110 = obj124; - ref QuestSequence reference111 = ref span37[2]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - ref QuestStep reference112 = ref CollectionsMarshal.AsSpan(list139)[0]; - QuestStep obj126 = new QuestStep(EInteractionType.Interact, 1015111u, new Vector3(-447.65393f, 159.354f, 147.63098f), 399) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshirePrologueGate - } - }; - SkipConditions skipConditions20 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list140 = new List(num3); - CollectionsMarshal.SetCount(list140, num3); - CollectionsMarshal.AsSpan(list140)[0] = 399; - skipAetheryteCondition.InTerritory = list140; - skipConditions20.AetheryteShortcutIf = skipAetheryteCondition; - skipConditions20.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj126.SkipConditions = skipConditions20; - reference112 = obj126; - obj125.Steps = list139; - reference111 = obj125; - ref QuestSequence reference113 = ref span37[3]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - ref QuestStep reference114 = ref CollectionsMarshal.AsSpan(list141)[0]; - QuestStep obj128 = new QuestStep(EInteractionType.SinglePlayerDuty, 1015114u, new Vector3(-370.47382f, 147.34354f, 59.128662f), 399) - { - StopDistance = 4f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshirePrologueGate - } - }; - SkipConditions skipConditions21 = new SkipConditions(); - SkipAetheryteCondition obj129 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - CollectionsMarshal.AsSpan(list142)[0] = 399; - obj129.InTerritory = list142; - skipConditions21.AetheryteShortcutIf = obj129; - skipConditions21.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj128.SkipConditions = skipConditions21; - reference114 = obj128; - obj127.Steps = list141; - reference113 = obj127; - ref QuestSequence reference115 = ref span37[4]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.Interact, 1015114u, new Vector3(-370.47382f, 147.34354f, 59.128662f), 399) - { - StopDistance = 4f - }; - obj130.Steps = list143; - reference115 = obj130; - ref QuestSequence reference116 = ref span37[5]; - QuestSequence obj131 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(202.38037f, -5.3999662f, -58.9151f), - MaximumDistance = 100f, - TerritoryId = 419 - } - } - }, - NextQuestId = new QuestId(2409) - }; - obj131.Steps = list144; - reference116 = obj131; - questRoot14.QuestSequence = list135; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(2026); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list145 = new List(num); - CollectionsMarshal.SetCount(list145, num); - CollectionsMarshal.AsSpan(list145)[0] = "plogon_enjoyer"; - questRoot15.Author = list145; - num = 9; - List list146 = new List(num); - CollectionsMarshal.SetCount(list146, num); - Span span38 = CollectionsMarshal.AsSpan(list146); - ref QuestSequence reference117 = ref span38[0]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - ref QuestStep reference118 = ref CollectionsMarshal.AsSpan(list147)[0]; - QuestStep obj133 = new QuestStep(EInteractionType.AcceptQuest, 1006749u, new Vector3(-30.47229f, 13.599918f, 95.26196f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGoldsmith - } - }; - SkipConditions skipConditions22 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num3 = 2; - List list148 = new List(num3); - CollectionsMarshal.SetCount(list148, num3); - Span span39 = CollectionsMarshal.AsSpan(list148); - span39[0] = 130; - span39[1] = 131; - skipAetheryteCondition2.InTerritory = list148; - skipConditions22.AetheryteShortcutIf = skipAetheryteCondition2; - skipConditions22.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj133.SkipConditions = skipConditions22; - reference118 = obj133; - obj132.Steps = list147; - reference117 = obj132; - ref QuestSequence reference119 = ref span38[1]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.Interact, 1013971u, new Vector3(15.854065f, 28.620823f, -682.76495f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj134.Steps = list149; - reference119 = obj134; - ref QuestSequence reference120 = ref span38[2]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.Interact, 1013976u, new Vector3(95.87244f, -4.4635005f, -533.56226f), 156) - { - Fly = true - }; - obj135.Steps = list150; - reference120 = obj135; - ref QuestSequence reference121 = ref span38[3]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - ref QuestStep reference122 = ref CollectionsMarshal.AsSpan(list151)[0]; - QuestStep obj137 = new QuestStep(EInteractionType.Combat, 1013977u, new Vector3(207.53784f, 18.12324f, -608.75867f), 156) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list152 = new List(num3); - CollectionsMarshal.SetCount(list152, num3); - CollectionsMarshal.AsSpan(list152)[0] = 777u; - obj137.KillEnemyDataIds = list152; - reference122 = obj137; - obj136.Steps = list151; - reference121 = obj136; - ref QuestSequence reference123 = ref span38[4]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.Interact, 1013977u, new Vector3(207.53784f, 18.12324f, -608.75867f), 156); - obj138.Steps = list153; - reference123 = obj138; - ref QuestSequence reference124 = ref span38[5]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - ref QuestStep reference125 = ref CollectionsMarshal.AsSpan(list154)[0]; - QuestStep obj140 = new QuestStep(EInteractionType.Combat, 1013978u, new Vector3(205.95093f, -22.991264f, -449.24084f), 156) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - CollectionsMarshal.AsSpan(list155)[0] = 4615u; - obj140.KillEnemyDataIds = list155; - reference125 = obj140; - obj139.Steps = list154; - reference124 = obj139; - ref QuestSequence reference126 = ref span38[6]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.Interact, 1013978u, new Vector3(205.95093f, -22.991264f, -449.24084f), 156); - obj141.Steps = list156; - reference126 = obj141; - ref QuestSequence reference127 = ref span38[7]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.Interact, 1014111u, new Vector3(95.87244f, -4.4635005f, -533.56226f), 156) - { - Fly = true - }; - obj142.Steps = list157; - reference127 = obj142; - ref QuestSequence reference128 = ref span38[8]; - QuestSequence obj143 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013971u, new Vector3(15.854065f, 28.620823f, -682.76495f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - NextQuestId = new QuestId(2027) - }; - obj143.Steps = list158; - reference128 = obj143; - questRoot15.QuestSequence = list146; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(2027); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list159 = new List(num); - CollectionsMarshal.SetCount(list159, num); - CollectionsMarshal.AsSpan(list159)[0] = "plogon_enjoyer"; - questRoot16.Author = list159; - num = 10; - List list160 = new List(num); - CollectionsMarshal.SetCount(list160, num); - Span span40 = CollectionsMarshal.AsSpan(list160); - ref QuestSequence reference129 = ref span40[0]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013971u, new Vector3(15.854065f, 28.620823f, -682.76495f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj144.Steps = list161; - reference129 = obj144; - ref QuestSequence reference130 = ref span40[1]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.Interact, 1013982u, new Vector3(-73.0755f, 2.668869f, -622.52234f), 156) - { - Fly = true - }; - obj145.Steps = list162; - reference130 = obj145; - ref QuestSequence reference131 = ref span40[2]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - Span span41 = CollectionsMarshal.AsSpan(list163); - span41[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-144.73549f, 1.9077771f, -655.4047f), 156) - { - Fly = true - }; - span41[1] = new QuestStep(EInteractionType.Interact, 1013984u, new Vector3(-142.22937f, 1.3916924f, -654.13904f), 156); - obj146.Steps = list163; - reference131 = obj146; - ref QuestSequence reference132 = ref span40[3]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - ref QuestStep reference133 = ref CollectionsMarshal.AsSpan(list164)[0]; - QuestStep obj148 = new QuestStep(EInteractionType.Combat, null, new Vector3(-142.22937f, 1.3916924f, -654.13904f), 156) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list165 = new List(num3); - CollectionsMarshal.SetCount(list165, num3); - CollectionsMarshal.AsSpan(list165)[0] = 5047u; - obj148.KillEnemyDataIds = list165; - reference133 = obj148; - obj147.Steps = list164; - reference132 = obj147; - ref QuestSequence reference134 = ref span40[4]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - Span span42 = CollectionsMarshal.AsSpan(list166); - span42[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-222.99123f, 3.602174f, -625.4028f), 156) - { - Fly = true - }; - span42[1] = new QuestStep(EInteractionType.Interact, 1013987u, new Vector3(-223.40735f, 4.1458693f, -628.32074f), 156); - obj149.Steps = list166; - reference134 = obj149; - ref QuestSequence reference135 = ref span40[5]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - ref QuestStep reference136 = ref CollectionsMarshal.AsSpan(list167)[0]; - QuestStep obj151 = new QuestStep(EInteractionType.Combat, null, new Vector3(-223.40735f, 4.1458693f, -628.32074f), 156) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list168 = new List(num3); - CollectionsMarshal.SetCount(list168, num3); - CollectionsMarshal.AsSpan(list168)[0] = 5047u; - obj151.KillEnemyDataIds = list168; - reference136 = obj151; - obj150.Steps = list167; - reference135 = obj150; - ref QuestSequence reference137 = ref span40[6]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - Span span43 = CollectionsMarshal.AsSpan(list169); - span43[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-256.7943f, -5.5647316f, -542.8478f), 156) - { - Fly = true - }; - span43[1] = new QuestStep(EInteractionType.Interact, 1013990u, new Vector3(-253.83386f, -5.455734f, -542.87024f), 156); - obj152.Steps = list169; - reference137 = obj152; - ref QuestSequence reference138 = ref span40[7]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - ref QuestStep reference139 = ref CollectionsMarshal.AsSpan(list170)[0]; - QuestStep obj154 = new QuestStep(EInteractionType.Combat, null, new Vector3(-253.83386f, -5.455734f, -542.87024f), 156) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list171 = new List(num3); - CollectionsMarshal.SetCount(list171, num3); - CollectionsMarshal.AsSpan(list171)[0] = 5043u; - obj154.KillEnemyDataIds = list171; - reference139 = obj154; - obj153.Steps = list170; - reference138 = obj153; - ref QuestSequence reference140 = ref span40[8]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.Interact, 1013994u, new Vector3(-402.36517f, -14.213073f, -502.06763f), 156) - { - Fly = true - }; - obj155.Steps = list172; - reference140 = obj155; - ref QuestSequence reference141 = ref span40[9]; - QuestSequence obj156 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013971u, new Vector3(15.854065f, 28.620823f, -682.76495f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - NextQuestId = new QuestId(2028) - }; - obj156.Steps = list173; - reference141 = obj156; - questRoot16.QuestSequence = list160; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(2028); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list174 = new List(num); - CollectionsMarshal.SetCount(list174, num); - CollectionsMarshal.AsSpan(list174)[0] = "plogon_enjoyer"; - questRoot17.Author = list174; - num = 4; - List list175 = new List(num); - CollectionsMarshal.SetCount(list175, num); - Span span44 = CollectionsMarshal.AsSpan(list175); - ref QuestSequence reference142 = ref span44[0]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - CollectionsMarshal.AsSpan(list176)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013971u, new Vector3(15.854065f, 28.620823f, -682.76495f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj157.Steps = list176; - reference142 = obj157; - ref QuestSequence reference143 = ref span44[1]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1013997u, new Vector3(-78.29407f, 68.34659f, -157.33582f), 147) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCeruleumProcessingPlant - }; - obj158.Steps = list177; - reference143 = obj158; - ref QuestSequence reference144 = ref span44[2]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.Interact, 1013997u, new Vector3(-78.29407f, 68.34659f, -157.33582f), 147) - { - StopDistance = 4f - }; - obj159.Steps = list178; - reference144 = obj159; - ref QuestSequence reference145 = ref span44[3]; - QuestSequence obj160 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - CollectionsMarshal.AsSpan(list179)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013971u, new Vector3(15.854065f, 28.620823f, -682.76495f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - NextQuestId = new QuestId(2029) - }; - obj160.Steps = list179; - reference145 = obj160; - questRoot17.QuestSequence = list175; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(2029); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list180 = new List(num); - CollectionsMarshal.SetCount(list180, num); - CollectionsMarshal.AsSpan(list180)[0] = "plogon_enjoyer"; - questRoot18.Author = list180; - num = 5; - List list181 = new List(num); - CollectionsMarshal.SetCount(list181, num); - Span span45 = CollectionsMarshal.AsSpan(list181); - ref QuestSequence reference146 = ref span45[0]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013971u, new Vector3(15.854065f, 28.620823f, -682.76495f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj161.Steps = list182; - reference146 = obj161; - ref QuestSequence reference147 = ref span45[1]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - CollectionsMarshal.AsSpan(list183)[0] = new QuestStep(EInteractionType.Interact, 1013999u, new Vector3(33.89026f, -8.812927f, 126.17676f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj162.Steps = list183; - reference147 = obj162; - ref QuestSequence reference148 = ref span45[2]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - ref QuestStep reference149 = ref CollectionsMarshal.AsSpan(list184)[0]; - QuestStep obj164 = new QuestStep(EInteractionType.Combat, 2005966u, new Vector3(163.53088f, -27.328918f, 207.84314f), 154) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list185 = new List(num3); - CollectionsMarshal.SetCount(list185, num3); - CollectionsMarshal.AsSpan(list185)[0] = 5043u; - obj164.KillEnemyDataIds = list185; - reference149 = obj164; - obj163.Steps = list184; - reference148 = obj163; - ref QuestSequence reference150 = ref span45[3]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.Interact, 1014001u, new Vector3(404.89807f, -5.4588227f, 72.342896f), 154) - { - Fly = true - }; - obj165.Steps = list186; - reference150 = obj165; - ref QuestSequence reference151 = ref span45[4]; - QuestSequence obj166 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013971u, new Vector3(15.854065f, 28.620823f, -682.76495f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - NextQuestId = new QuestId(2030) - }; - obj166.Steps = list187; - reference151 = obj166; - questRoot18.QuestSequence = list181; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(2030); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list188 = new List(num); - CollectionsMarshal.SetCount(list188, num); - CollectionsMarshal.AsSpan(list188)[0] = "plogon_enjoyer"; - questRoot19.Author = list188; - num = 7; - List list189 = new List(num); - CollectionsMarshal.SetCount(list189, num); - Span span46 = CollectionsMarshal.AsSpan(list189); - ref QuestSequence reference152 = ref span46[0]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013971u, new Vector3(15.854065f, 28.620823f, -682.76495f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj167.Steps = list190; - reference152 = obj167; - ref QuestSequence reference153 = ref span46[1]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - Span span47 = CollectionsMarshal.AsSpan(list191); - span47[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(873.8737f, -3.1452856f, 352.47165f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - span47[1] = new QuestStep(EInteractionType.Interact, 1014005u, new Vector3(-631.22f, 121.245285f, -652.39954f), 397) - { - Fly = true - }; - obj168.Steps = list191; - reference153 = obj168; - ref QuestSequence reference154 = ref span46[2]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - ref QuestStep reference155 = ref CollectionsMarshal.AsSpan(list192)[0]; - QuestStep obj170 = new QuestStep(EInteractionType.Combat, 2005967u, new Vector3(-556.9696f, 116.68567f, -794.0032f), 397) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list193 = new List(num3); - CollectionsMarshal.SetCount(list193, num3); - CollectionsMarshal.AsSpan(list193)[0] = 4627u; - obj170.KillEnemyDataIds = list193; - reference155 = obj170; - obj169.Steps = list192; - reference154 = obj169; - ref QuestSequence reference156 = ref span46[3]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.Interact, 1014006u, new Vector3(-627.19165f, 121.248f, -648.5847f), 397) - { - Fly = true - }; - obj171.Steps = list194; - reference156 = obj171; - ref QuestSequence reference157 = ref span46[4]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.Interact, 1014007u, new Vector3(-621.51526f, 121.248f, -649.13403f), 397); - obj172.Steps = list195; - reference157 = obj172; - ref QuestSequence reference158 = ref span46[5]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.Emote, 1014010u, new Vector3(-621.51526f, 121.248f, -649.13403f), 397) - { - DelaySecondsAtStart = 1f, - Emote = EEmote.Rally - }; - obj173.Steps = list196; - reference158 = obj173; - ref QuestSequence reference159 = ref span46[6]; - QuestSequence obj174 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013971u, new Vector3(15.854065f, 28.620823f, -682.76495f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - NextQuestId = new QuestId(2031) - }; - obj174.Steps = list197; - reference159 = obj174; - questRoot19.QuestSequence = list189; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(2031); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list198 = new List(num); - CollectionsMarshal.SetCount(list198, num); - CollectionsMarshal.AsSpan(list198)[0] = "plogon_enjoyer"; - questRoot20.Author = list198; - num = 4; - List list199 = new List(num); - CollectionsMarshal.SetCount(list199, num); - Span span48 = CollectionsMarshal.AsSpan(list199); - ref QuestSequence reference160 = ref span48[0]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013971u, new Vector3(15.854065f, 28.620823f, -682.76495f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj175.Steps = list200; - reference160 = obj175; - ref QuestSequence reference161 = ref span48[1]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - ref QuestStep reference162 = ref CollectionsMarshal.AsSpan(list201)[0]; - QuestStep obj177 = new QuestStep(EInteractionType.Interact, 1014012u, new Vector3(-142.1684f, 26.764246f, -357.50366f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - num3 = 1; - List list202 = new List(num3); - CollectionsMarshal.SetCount(list202, num3); - CollectionsMarshal.AsSpan(list202)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBMNK600_02031_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBMNK600_02031_A1_000_010") - }; - obj177.DialogueChoices = list202; - reference162 = obj177; - obj176.Steps = list201; - reference161 = obj176; - ref QuestSequence reference163 = ref span48[2]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1014011u, new Vector3(-143.08392f, 26.654997f, -358.114f), 146); - obj178.Steps = list203; - reference163 = obj178; - ref QuestSequence reference164 = ref span48[3]; - QuestSequence obj179 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014112u, new Vector3(-149.34009f, 12.685881f, -260.91406f), 146) - { - StopDistance = 4f, - NextQuestId = new QuestId(2426) - }; - obj179.Steps = list204; - reference164 = obj179; - questRoot20.QuestSequence = list199; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(2032); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list205 = new List(num); - CollectionsMarshal.SetCount(list205, num); - CollectionsMarshal.AsSpan(list205)[0] = "goatzone"; - questRoot21.Author = list205; - num = 7; - List list206 = new List(num); - CollectionsMarshal.SetCount(list206, num); - Span span49 = CollectionsMarshal.AsSpan(list206); - ref QuestSequence reference165 = ref span49[0]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - ref QuestStep reference166 = ref CollectionsMarshal.AsSpan(list207)[0]; - QuestStep obj181 = new QuestStep(EInteractionType.AcceptQuest, 1006747u, new Vector3(-20.828613f, 29.999964f, -2.4262085f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - SkipConditions skipConditions23 = new SkipConditions(); - SkipAetheryteCondition obj182 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list208 = new List(num3); - CollectionsMarshal.SetCount(list208, num3); - CollectionsMarshal.AsSpan(list208)[0] = 131; - obj182.InTerritory = list208; - skipConditions23.AetheryteShortcutIf = obj182; - skipConditions23.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj181.SkipConditions = skipConditions23; - reference166 = obj181; - obj180.Steps = list207; - reference165 = obj180; - ref QuestSequence reference167 = ref span49[1]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.Interact, 1014046u, new Vector3(38.223755f, 5.000002f, 404.28784f), 147) - { - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCampBluefog, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj183.Steps = list209; - reference167 = obj183; - ref QuestSequence reference168 = ref span49[2]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - CollectionsMarshal.AsSpan(list210)[0] = new QuestStep(EInteractionType.Interact, 1014121u, new Vector3(47.104614f, 14.24741f, 197.92468f), 147) - { - Fly = true - }; - obj184.Steps = list210; - reference168 = obj184; - ref QuestSequence reference169 = ref span49[3]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - ref QuestStep reference170 = ref CollectionsMarshal.AsSpan(list211)[0]; - QuestStep obj186 = new QuestStep(EInteractionType.Combat, 2005978u, new Vector3(1.5715942f, 21.316772f, 181.8722f), 147) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list212 = new List(num3); - CollectionsMarshal.SetCount(list212, num3); - CollectionsMarshal.AsSpan(list212)[0] = 4686u; - obj186.KillEnemyDataIds = list212; - reference170 = obj186; - obj185.Steps = list211; - reference169 = obj185; - ref QuestSequence reference171 = ref span49[4]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - CollectionsMarshal.AsSpan(list213)[0] = new QuestStep(EInteractionType.Interact, 1014121u, new Vector3(47.104614f, 14.24741f, 197.92468f), 147); - obj187.Steps = list213; - reference171 = obj187; - ref QuestSequence reference172 = ref span49[5]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - ref QuestStep reference173 = ref CollectionsMarshal.AsSpan(list214)[0]; - QuestStep obj189 = new QuestStep(EInteractionType.Interact, 1006747u, new Vector3(-20.828613f, 29.999964f, -2.4262085f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - SkipConditions skipConditions24 = new SkipConditions(); - SkipAetheryteCondition obj190 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list215 = new List(num3); - CollectionsMarshal.SetCount(list215, num3); - CollectionsMarshal.AsSpan(list215)[0] = 131; - obj190.InTerritory = list215; - skipConditions24.AetheryteShortcutIf = obj190; - skipConditions24.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj189.SkipConditions = skipConditions24; - reference173 = obj189; - obj188.Steps = list214; - reference172 = obj188; - ref QuestSequence reference174 = ref span49[6]; - QuestSequence obj191 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - CollectionsMarshal.AsSpan(list216)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003995u, new Vector3(75.33374f, 2.135708f, 316.33472f), 141) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahChamberOfRule, - To = EAetheryteLocation.UldahGateOfThal - }, - NextQuestId = new QuestId(2033) - }; - obj191.Steps = list216; - reference174 = obj191; - questRoot21.QuestSequence = list206; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(2033); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list217 = new List(num); - CollectionsMarshal.SetCount(list217, num); - CollectionsMarshal.AsSpan(list217)[0] = "goatzone"; - questRoot22.Author = list217; - num = 5; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - Span span50 = CollectionsMarshal.AsSpan(list218); - ref QuestSequence reference175 = ref span50[0]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - ref QuestStep reference176 = ref CollectionsMarshal.AsSpan(list219)[0]; - QuestStep obj193 = new QuestStep(EInteractionType.AcceptQuest, 1003995u, new Vector3(75.33374f, 2.135708f, 316.33472f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGateOfThal - } - }; - SkipConditions skipConditions25 = new SkipConditions(); - SkipAetheryteCondition obj194 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list220 = new List(num3); - CollectionsMarshal.SetCount(list220, num3); - CollectionsMarshal.AsSpan(list220)[0] = 141; - obj194.InTerritory = list220; - skipConditions25.AetheryteShortcutIf = obj194; - skipConditions25.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj193.SkipConditions = skipConditions25; - reference176 = obj193; - obj192.Steps = list219; - reference175 = obj192; - ref QuestSequence reference177 = ref span50[1]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - Span span51 = CollectionsMarshal.AsSpan(list221); - ref QuestStep reference178 = ref span51[0]; - QuestStep obj196 = new QuestStep(EInteractionType.Interact, 1011237u, new Vector3(447.3181f, 212.53984f, 725.00183f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 6; - List list222 = new List(num3); - CollectionsMarshal.SetCount(list222, num3); - Span span52 = CollectionsMarshal.AsSpan(list222); - span52[0] = null; - span52[1] = null; - span52[2] = null; - span52[3] = null; - span52[4] = null; - span52[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj196.CompletionQuestVariablesFlags = list222; - reference178 = obj196; - ref QuestStep reference179 = ref span51[1]; - QuestStep obj197 = new QuestStep(EInteractionType.Interact, 1011233u, new Vector3(518.9136f, 217.95152f, 769.9243f), 397) - { - Fly = true - }; - num3 = 6; - List list223 = new List(num3); - CollectionsMarshal.SetCount(list223, num3); - Span span53 = CollectionsMarshal.AsSpan(list223); - span53[0] = null; - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj197.CompletionQuestVariablesFlags = list223; - reference179 = obj197; - ref QuestStep reference180 = ref span51[2]; - QuestStep obj198 = new QuestStep(EInteractionType.Interact, 1011235u, new Vector3(522.54517f, 228.3512f, 723.5675f), 397) - { - Fly = true - }; - num3 = 6; - List list224 = new List(num3); - CollectionsMarshal.SetCount(list224, num3); - Span span54 = CollectionsMarshal.AsSpan(list224); - span54[0] = null; - span54[1] = null; - span54[2] = null; - span54[3] = null; - span54[4] = null; - span54[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj198.CompletionQuestVariablesFlags = list224; - reference180 = obj198; - obj195.Steps = list221; - reference177 = obj195; - ref QuestSequence reference181 = ref span50[2]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.Interact, 1014052u, new Vector3(458.12158f, 200.23763f, 658.0757f), 397) - { - Fly = true - }; - obj199.Steps = list225; - reference181 = obj199; - ref QuestSequence reference182 = ref span50[3]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - Span span55 = CollectionsMarshal.AsSpan(list226); - ref QuestStep reference183 = ref span55[0]; - QuestStep obj201 = new QuestStep(EInteractionType.Combat, null, new Vector3(50.883884f, 124.41451f, 174.64914f), 397) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list227 = new List(num3); - CollectionsMarshal.SetCount(list227, num3); - Span span56 = CollectionsMarshal.AsSpan(list227); - span56[0] = 5043u; - span56[1] = 4619u; - obj201.KillEnemyDataIds = list227; - num3 = 6; - List list228 = new List(num3); - CollectionsMarshal.SetCount(list228, num3); - Span span57 = CollectionsMarshal.AsSpan(list228); - span57[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = null; - obj201.CompletionQuestVariablesFlags = list228; - reference183 = obj201; - span55[1] = new QuestStep(EInteractionType.Interact, 1014053u, new Vector3(48.966187f, 124.34676f, 175.73816f), 397); - obj200.Steps = list226; - reference182 = obj200; - ref QuestSequence reference184 = ref span50[4]; - QuestSequence obj202 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014054u, new Vector3(509.17822f, 212.5399f, 695.796f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - NextQuestId = new QuestId(2034) - }; - obj202.Steps = list229; - reference184 = obj202; - questRoot22.QuestSequence = list218; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(2034); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list230 = new List(num); - CollectionsMarshal.SetCount(list230, num); - CollectionsMarshal.AsSpan(list230)[0] = "goatzone"; - questRoot23.Author = list230; - num = 10; - List list231 = new List(num); - CollectionsMarshal.SetCount(list231, num); - Span span58 = CollectionsMarshal.AsSpan(list231); - ref QuestSequence reference185 = ref span58[0]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014054u, new Vector3(509.17822f, 212.5399f, 695.796f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj203.Steps = list232; - reference185 = obj203; - ref QuestSequence reference186 = ref span58[1]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - CollectionsMarshal.AsSpan(list233)[0] = new QuestStep(EInteractionType.Interact, 1014055u, new Vector3(173.69336f, 133.38922f, -413.47375f), 397) - { - Fly = true - }; - obj204.Steps = list233; - reference186 = obj204; - ref QuestSequence reference187 = ref span58[2]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - Span span59 = CollectionsMarshal.AsSpan(list234); - span59[0] = new QuestStep(EInteractionType.Interact, 2005983u, new Vector3(108.07959f, 129.41174f, -403.52484f), 397); - span59[1] = new QuestStep(EInteractionType.Interact, 2005980u, new Vector3(64.68298f, 128.61829f, -397.42126f), 397); - obj205.Steps = list234; - reference187 = obj205; - ref QuestSequence reference188 = ref span58[3]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.Interact, 1014055u, new Vector3(173.69336f, 133.38922f, -413.47375f), 397) - { - Fly = true - }; - obj206.Steps = list235; - reference188 = obj206; - ref QuestSequence reference189 = ref span58[4]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.Interact, 2005981u, new Vector3(15.487854f, 106.09595f, -419.30273f), 397) - { - Fly = true - }; - obj207.Steps = list236; - reference189 = obj207; - ref QuestSequence reference190 = ref span58[5]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - CollectionsMarshal.AsSpan(list237)[0] = new QuestStep(EInteractionType.Interact, 2005982u, new Vector3(-4.6845703f, 94.13281f, -506.15704f), 397) - { - Fly = true - }; - obj208.Steps = list237; - reference190 = obj208; - ref QuestSequence reference191 = ref span58[6]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - Span span60 = CollectionsMarshal.AsSpan(list238); - ref QuestStep reference192 = ref span60[0]; - QuestStep obj210 = new QuestStep(EInteractionType.Combat, null, new Vector3(-134.89986f, 88.67885f, -576.3159f), 397) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list239 = new List(num3); - CollectionsMarshal.SetCount(list239, num3); - Span span61 = CollectionsMarshal.AsSpan(list239); - span61[0] = 4360u; - span61[1] = 4619u; - obj210.KillEnemyDataIds = list239; - num3 = 6; - List list240 = new List(num3); - CollectionsMarshal.SetCount(list240, num3); - Span span62 = CollectionsMarshal.AsSpan(list240); - span62[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span62[1] = null; - span62[2] = null; - span62[3] = null; - span62[4] = null; - span62[5] = null; - obj210.CompletionQuestVariablesFlags = list240; - reference192 = obj210; - span60[1] = new QuestStep(EInteractionType.Interact, 1014058u, new Vector3(-138.35364f, 88.59643f, -577.0504f), 397); - obj209.Steps = list238; - reference191 = obj209; - ref QuestSequence reference193 = ref span58[7]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1014059u, new Vector3(-788.02167f, 113.151276f, -589.807f), 397) - { - Fly = true - }; - obj211.Steps = list241; - reference193 = obj211; - ref QuestSequence reference194 = ref span58[8]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - CollectionsMarshal.AsSpan(list242)[0] = new QuestStep(EInteractionType.Interact, 1014064u, new Vector3(-788.02167f, 113.151276f, -589.807f), 397); - obj212.Steps = list242; - reference194 = obj212; - ref QuestSequence reference195 = ref span58[9]; - QuestSequence obj213 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014065u, new Vector3(509.17822f, 212.5399f, 695.796f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - NextQuestId = new QuestId(2035) - }; - obj213.Steps = list243; - reference195 = obj213; - questRoot23.QuestSequence = list231; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(2035); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list244 = new List(num); - CollectionsMarshal.SetCount(list244, num); - CollectionsMarshal.AsSpan(list244)[0] = "goatzone"; - questRoot24.Author = list244; - num = 5; - List list245 = new List(num); - CollectionsMarshal.SetCount(list245, num); - Span span63 = CollectionsMarshal.AsSpan(list245); - ref QuestSequence reference196 = ref span63[0]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - CollectionsMarshal.AsSpan(list246)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014065u, new Vector3(509.17822f, 212.5399f, 695.796f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj214.Steps = list246; - reference196 = obj214; - ref QuestSequence reference197 = ref span63[1]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.Interact, 1011922u, new Vector3(448.56934f, -51.141407f, 108.93408f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - obj215.Steps = list247; - reference197 = obj215; - ref QuestSequence reference198 = ref span63[2]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.Interact, 1014067u, new Vector3(451.34656f, -24.978418f, -496.39127f), 398) - { - Fly = true - }; - obj216.Steps = list248; - reference198 = obj216; - ref QuestSequence reference199 = ref span63[3]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.Interact, 2005986u, new Vector3(507.86584f, -21.927307f, -524.4374f), 398); - obj217.Steps = list249; - reference199 = obj217; - ref QuestSequence reference200 = ref span63[4]; - QuestSequence obj218 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - CollectionsMarshal.AsSpan(list250)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014068u, new Vector3(51.132935f, 124.95631f, 178.69836f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - NextQuestId = new QuestId(2036) - }; - obj218.Steps = list250; - reference200 = obj218; - questRoot24.QuestSequence = list245; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(2036); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list251 = new List(num); - CollectionsMarshal.SetCount(list251, num); - CollectionsMarshal.AsSpan(list251)[0] = "goatzone"; - questRoot25.Author = list251; - num = 10; - List list252 = new List(num); - CollectionsMarshal.SetCount(list252, num); - Span span64 = CollectionsMarshal.AsSpan(list252); - ref QuestSequence reference201 = ref span64[0]; - QuestSequence obj219 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - CollectionsMarshal.AsSpan(list253)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014068u, new Vector3(51.132935f, 124.95631f, 178.69836f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj219.Steps = list253; - reference201 = obj219; - ref QuestSequence reference202 = ref span64[1]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.Interact, 1014069u, new Vector3(460.5935f, 200.23763f, 658.56396f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj220.Steps = list254; - reference202 = obj220; - ref QuestSequence reference203 = ref span64[2]; - QuestSequence obj221 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - CollectionsMarshal.AsSpan(list255)[0] = new QuestStep(EInteractionType.Interact, 1011233u, new Vector3(518.9136f, 217.95152f, 769.9243f), 397) - { - Fly = true - }; - obj221.Steps = list255; - reference203 = obj221; - ref QuestSequence reference204 = ref span64[3]; - QuestSequence obj222 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.Interact, 1014073u, new Vector3(-693.8125f, -109.83532f, 490.95898f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop - }; - obj222.Steps = list256; - reference204 = obj222; - ref QuestSequence reference205 = ref span64[4]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.Interact, 1014075u, new Vector3(-272.17517f, -184.2003f, 736.0493f), 401) - { - Fly = true - }; - obj223.Steps = list257; - reference205 = obj223; - ref QuestSequence reference206 = ref span64[5]; - QuestSequence obj224 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - ref QuestStep reference207 = ref CollectionsMarshal.AsSpan(list258)[0]; - QuestStep obj225 = new QuestStep(EInteractionType.Combat, null, new Vector3(-43.012157f, -176.80112f, 753.7885f), 401) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list259 = new List(num3); - CollectionsMarshal.SetCount(list259, num3); - Span span65 = CollectionsMarshal.AsSpan(list259); - span65[0] = 5048u; - span65[1] = 5049u; - obj225.KillEnemyDataIds = list259; - reference207 = obj225; - obj224.Steps = list258; - reference206 = obj224; - ref QuestSequence reference208 = ref span64[6]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - ref QuestStep reference209 = ref CollectionsMarshal.AsSpan(list260)[0]; - QuestStep obj227 = new QuestStep(EInteractionType.Combat, null, new Vector3(207.48586f, -176.39336f, 721.5167f), 401) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list261 = new List(num3); - CollectionsMarshal.SetCount(list261, num3); - Span span66 = CollectionsMarshal.AsSpan(list261); - span66[0] = 4687u; - span66[1] = 4688u; - obj227.KillEnemyDataIds = list261; - reference209 = obj227; - obj226.Steps = list260; - reference208 = obj226; - ref QuestSequence reference210 = ref span64[7]; - QuestSequence obj228 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - CollectionsMarshal.AsSpan(list262)[0] = new QuestStep(EInteractionType.Interact, 1014088u, new Vector3(200.42712f, -176.62952f, 737.0565f), 401); - obj228.Steps = list262; - reference210 = obj228; - ref QuestSequence reference211 = ref span64[8]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - CollectionsMarshal.AsSpan(list263)[0] = new QuestStep(EInteractionType.Interact, 1014089u, new Vector3(205.98145f, -176.69763f, 739.52844f), 401); - obj229.Steps = list263; - reference211 = obj229; - ref QuestSequence reference212 = ref span64[9]; - QuestSequence obj230 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.CompleteQuest, 1015055u, new Vector3(509.17822f, 212.5399f, 695.796f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - NextQuestId = new QuestId(2037) - }; - obj230.Steps = list264; - reference212 = obj230; - questRoot25.QuestSequence = list252; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(2037); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list265 = new List(num); - CollectionsMarshal.SetCount(list265, num); - CollectionsMarshal.AsSpan(list265)[0] = "goatzone"; - questRoot26.Author = list265; - num = 8; - List list266 = new List(num); - CollectionsMarshal.SetCount(list266, num); - Span span67 = CollectionsMarshal.AsSpan(list266); - ref QuestSequence reference213 = ref span67[0]; - QuestSequence obj231 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - CollectionsMarshal.AsSpan(list267)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014092u, new Vector3(509.17822f, 212.5399f, 695.796f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj231.Steps = list267; - reference213 = obj231; - ref QuestSequence reference214 = ref span67[1]; - QuestSequence obj232 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - CollectionsMarshal.AsSpan(list268)[0] = new QuestStep(EInteractionType.Interact, 1014094u, new Vector3(457.51123f, 200.23764f, 660.8834f), 397) - { - Fly = true - }; - obj232.Steps = list268; - reference214 = obj232; - ref QuestSequence reference215 = ref span67[2]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - CollectionsMarshal.AsSpan(list269)[0] = new QuestStep(EInteractionType.Interact, 2005990u, new Vector3(51.865356f, 125.26123f, 179.85803f), 397) - { - Fly = true - }; - obj233.Steps = list269; - reference215 = obj233; - ref QuestSequence reference216 = ref span67[3]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - CollectionsMarshal.AsSpan(list270)[0] = new QuestStep(EInteractionType.Interact, 1014096u, new Vector3(458.64026f, 200.23764f, 659.7848f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj234.Steps = list270; - reference216 = obj234; - ref QuestSequence reference217 = ref span67[4]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - CollectionsMarshal.AsSpan(list271)[0] = new QuestStep(EInteractionType.Interact, 1014097u, new Vector3(452.90295f, 130.79962f, -850.1869f), 397) - { - Fly = true - }; - obj235.Steps = list271; - reference217 = obj235; - ref QuestSequence reference218 = ref span67[5]; - QuestSequence obj236 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - CollectionsMarshal.AsSpan(list272)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1014099u, new Vector3(457.20605f, 130.79962f, -848.6f), 397); - obj236.Steps = list272; - reference218 = obj236; - ref QuestSequence reference219 = ref span67[6]; - QuestSequence obj237 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - CollectionsMarshal.AsSpan(list273)[0] = new QuestStep(EInteractionType.Interact, 1014102u, new Vector3(454.5204f, 130.79962f, -850.2479f), 397) - { - StopDistance = 5f - }; - obj237.Steps = list273; - reference219 = obj237; - ref QuestSequence reference220 = ref span67[7]; - QuestSequence obj238 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - CollectionsMarshal.AsSpan(list274)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014103u, new Vector3(509.17822f, 212.5399f, 695.796f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj238.Steps = list274; - reference220 = obj238; - questRoot26.QuestSequence = list266; - AddQuest(questId26, questRoot26); - } - - private static void LoadQuests41() - { - QuestId questId = new QuestId(2053); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference2 = ref CollectionsMarshal.AsSpan(list3)[0]; - QuestStep obj2 = new QuestStep(EInteractionType.AcceptQuest, 1014873u, new Vector3(101.57922f, 12.418198f, -117.60132f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardTribunal - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition obj3 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - int num3 = 1; - List list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - CollectionsMarshal.AsSpan(list4)[0] = 419; - obj3.InTerritory = list4; - skipConditions.AetheryteShortcutIf = obj3; - obj2.SkipConditions = skipConditions; - reference2 = obj2; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference3 = ref span[1]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1014876u, new Vector3(5.783081f, -2.080677f, 45.395508f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardTribunal, - To = EAetheryteLocation.IshgardBrume - } - }; - obj4.Steps = list5; - reference3 = obj4; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj5 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014875u, new Vector3(6.9122925f, -1.9210143f, 47.287598f), 418) - { - NextQuestId = new QuestId(2054) - }; - obj5.Steps = list6; - reference4 = obj5; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(2054); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - CollectionsMarshal.AsSpan(list7)[0] = "liza"; - questRoot2.Author = list7; - num = 7; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span2 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference5 = ref span2[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - Span span3 = CollectionsMarshal.AsSpan(list9); - span3[0] = new QuestStep(EInteractionType.EquipItem, null, null, 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardBrume - }, - ItemId = 10400u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span3[1] = new QuestStep(EInteractionType.EquipRecommended, null, null, 418); - span3[2] = new QuestStep(EInteractionType.AcceptQuest, 1014875u, new Vector3(6.9122925f, -1.9210143f, 47.287598f), 418); - obj6.Steps = list9; - reference5 = obj6; - ref QuestSequence reference6 = ref span2[1]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.Interact, 1014879u, new Vector3(134.05042f, -20.020874f, 73.746826f), 418); - obj7.Steps = list10; - reference6 = obj7; - ref QuestSequence reference7 = ref span2[2]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.Interact, 1014880u, new Vector3(136.98022f, -20.020876f, 69.840576f), 418) - { - StopDistance = 7f - }; - obj8.Steps = list11; - reference7 = obj8; - ref QuestSequence reference8 = ref span2[3]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - Span span4 = CollectionsMarshal.AsSpan(list12); - span4[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(157.94511f, -19.477406f, 53.021667f), 418) - { - TargetTerritoryId = (ushort)419 - }; - span4[1] = new QuestStep(EInteractionType.Interact, 1014882u, new Vector3(244.09851f, -13.7349415f, -95.50629f), 419); - obj9.Steps = list12; - reference8 = obj9; - ref QuestSequence reference9 = ref span2[4]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1014883u, new Vector3(151.6289f, -9.190302f, -64.9577f), 419); - obj10.Steps = list13; - reference9 = obj10; - ref QuestSequence reference10 = ref span2[5]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.Interact, 1014888u, new Vector3(40.390625f, 16.080097f, -85.9541f), 419); - obj11.Steps = list14; - reference10 = obj11; - ref QuestSequence reference11 = ref span2[6]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - ref QuestStep reference12 = ref CollectionsMarshal.AsSpan(list15)[0]; - QuestStep questStep = new QuestStep(EInteractionType.CompleteQuest, 1014889u, new Vector3(43.381348f, 16.080097f, -86.045654f), 419); - num3 = 1; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - CollectionsMarshal.AsSpan(list16)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBDRK301_02054_Q1_000_115"), - Answer = new ExcelRef("TEXT_JOBDRK301_02054_A1_000_116") - }; - questStep.DialogueChoices = list16; - questStep.NextQuestId = new QuestId(2055); - reference12 = questStep; - obj12.Steps = list15; - reference11 = obj12; - questRoot2.QuestSequence = list8; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(2055); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - CollectionsMarshal.AsSpan(list17)[0] = "liza"; - questRoot3.Author = list17; - num = 9; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - Span span5 = CollectionsMarshal.AsSpan(list18); - ref QuestSequence reference13 = ref span5[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - ref QuestStep reference14 = ref CollectionsMarshal.AsSpan(list19)[0]; - QuestStep obj14 = new QuestStep(EInteractionType.AcceptQuest, 1014890u, new Vector3(6.9122925f, -1.9210143f, 47.287598f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardBrume - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - CollectionsMarshal.AsSpan(list20)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBDRK350_02055_Q1_000_002"), - Answer = new ExcelRef("TEXT_JOBDRK350_02055_A1_000_003") - }; - obj14.DialogueChoices = list20; - reference14 = obj14; - obj13.Steps = list19; - reference13 = obj13; - ref QuestSequence reference15 = ref span5[1]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.Interact, 1014891u, new Vector3(-173.17468f, 27.899424f, -397.69592f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - obj15.Steps = list21; - reference15 = obj15; - ref QuestSequence reference16 = ref span5[2]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.Interact, 1006215u, new Vector3(-227.34424f, 26.16842f, -352.98694f), 146); - obj16.Steps = list22; - reference16 = obj16; - ref QuestSequence reference17 = ref span5[3]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - Span span6 = CollectionsMarshal.AsSpan(list23); - span6[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-258.55716f, 26.612217f, -320.62222f), 146) - { - Mount = true - }; - span6[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-257.8064f, 14.002786f, -105.36169f), 146) - { - Fly = true - }; - span6[2] = new QuestStep(EInteractionType.Interact, 1014892u, new Vector3(-415.03015f, 3.695741f, -42.343872f), 146) - { - Fly = true - }; - obj17.Steps = list23; - reference17 = obj17; - ref QuestSequence reference18 = ref span5[4]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.UseItem, 2006291u, new Vector3(-389.12036f, 3.4332886f, -57.572388f), 146) - { - ItemId = 2001812u - }; - obj18.Steps = list24; - reference18 = obj18; - ref QuestSequence reference19 = ref span5[5]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - ref QuestStep reference20 = ref CollectionsMarshal.AsSpan(list25)[0]; - QuestStep obj20 = new QuestStep(EInteractionType.Combat, 2006293u, new Vector3(-384.9088f, 6.088318f, -45.212524f), 146) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - CollectionsMarshal.AsSpan(list26)[0] = 4693u; - obj20.KillEnemyDataIds = list26; - reference20 = obj20; - obj19.Steps = list25; - reference19 = obj19; - ref QuestSequence reference21 = ref span5[6]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.Interact, 1014892u, new Vector3(-415.03015f, 3.695741f, -42.343872f), 146); - obj21.Steps = list27; - reference21 = obj21; - ref QuestSequence reference22 = ref span5[7]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - Span span7 = CollectionsMarshal.AsSpan(list28); - span7[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-257.8064f, 14.002786f, -105.36169f), 146) - { - Fly = true - }; - span7[1] = new QuestStep(EInteractionType.Interact, 1014893u, new Vector3(-215.7168f, 16.844267f, -270.6493f), 146) - { - StopDistance = 1f, - Fly = true - }; - obj22.Steps = list28; - reference22 = obj22; - ref QuestSequence reference23 = ref span5[8]; - QuestSequence obj23 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014893u, new Vector3(-215.7168f, 16.844267f, -270.6493f), 146) - { - NextQuestId = new QuestId(2056) - }; - obj23.Steps = list29; - reference23 = obj23; - questRoot3.QuestSequence = list18; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(2056); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - CollectionsMarshal.AsSpan(list30)[0] = "liza"; - questRoot4.Author = list30; - num = 10; - List list31 = new List(num); - CollectionsMarshal.SetCount(list31, num); - Span span8 = CollectionsMarshal.AsSpan(list31); - ref QuestSequence reference24 = ref span8[0]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014890u, new Vector3(6.9122925f, -1.9210143f, 47.287598f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardBrume - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj24.Steps = list32; - reference24 = obj24; - ref QuestSequence reference25 = ref span8[1]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Interact, 1014894u, new Vector3(329.57947f, -11.1054125f, 157.64087f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj25.Steps = list33; - reference25 = obj25; - ref QuestSequence reference26 = ref span8[2]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - ref QuestStep reference27 = ref CollectionsMarshal.AsSpan(list34)[0]; - QuestStep obj27 = new QuestStep(EInteractionType.Combat, 2006295u, new Vector3(298.6648f, -11.7647705f, 159.96033f), 145) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - Span span9 = CollectionsMarshal.AsSpan(list35); - span9[0] = 4694u; - span9[1] = 4695u; - obj27.KillEnemyDataIds = list35; - reference27 = obj27; - obj26.Steps = list34; - reference26 = obj26; - ref QuestSequence reference28 = ref span8[3]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.Interact, 1014894u, new Vector3(329.57947f, -11.1054125f, 157.64087f), 145); - obj28.Steps = list36; - reference28 = obj28; - ref QuestSequence reference29 = ref span8[4]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - ref QuestStep reference30 = ref CollectionsMarshal.AsSpan(list37)[0]; - QuestStep obj30 = new QuestStep(EInteractionType.Interact, 1014895u, new Vector3(-367.14734f, -55.99894f, 107.10303f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - num3 = 1; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - CollectionsMarshal.AsSpan(list38)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBDRK400_02056_Q1_000_056"), - Answer = new ExcelRef("TEXT_JOBDRK400_02056_A2_000_058") - }; - obj30.DialogueChoices = list38; - reference30 = obj30; - obj29.Steps = list37; - reference29 = obj29; - ref QuestSequence reference31 = ref span8[5]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1014896u, new Vector3(-200.30524f, -28.35069f, 324.75757f), 145) - { - StopDistance = 2f, - Fly = true - }; - obj31.Steps = list39; - reference31 = obj31; - ref QuestSequence reference32 = ref span8[6]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.Interact, 1015329u, new Vector3(-177.05048f, -31.365185f, 310.68884f), 145) - { - StopDistance = 7f - }; - obj32.Steps = list40; - reference32 = obj32; - ref QuestSequence reference33 = ref span8[7]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.Interact, 1003929u, new Vector3(-378.65265f, -55.75492f, 106.79785f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj33.Steps = list41; - reference33 = obj33; - ref QuestSequence reference34 = ref span8[8]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.Interact, 1014895u, new Vector3(-367.14734f, -55.99894f, 107.10303f), 145); - obj34.Steps = list42; - reference34 = obj34; - ref QuestSequence reference35 = ref span8[9]; - QuestSequence obj35 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014895u, new Vector3(-367.14734f, -55.99894f, 107.10303f), 145) - { - NextQuestId = new QuestId(2057) - }; - obj35.Steps = list43; - reference35 = obj35; - questRoot4.QuestSequence = list31; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(2057); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - CollectionsMarshal.AsSpan(list44)[0] = "liza"; - questRoot5.Author = list44; - num = 7; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - Span span10 = CollectionsMarshal.AsSpan(list45); - ref QuestSequence reference36 = ref span10[0]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014890u, new Vector3(6.9122925f, -1.9210143f, 47.287598f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardBrume - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj36.Steps = list46; - reference36 = obj36; - ref QuestSequence reference37 = ref span10[1]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - ref QuestStep reference38 = ref CollectionsMarshal.AsSpan(list47)[0]; - QuestStep obj38 = new QuestStep(EInteractionType.Interact, 1014897u, new Vector3(168.74951f, 8.973653f, 583.85596f), 135) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }; - num3 = 1; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - CollectionsMarshal.AsSpan(list48)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBDRK450_02057_Q1_000_025"), - Answer = new ExcelRef("TEXT_JOBDRK450_02057_A1_000_027") - }; - obj38.DialogueChoices = list48; - reference38 = obj38; - obj37.Steps = list47; - reference37 = obj37; - ref QuestSequence reference39 = ref span10[2]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1014899u, new Vector3(-97.76465f, 2.9821281f, 713.06934f), 135) - { - Fly = true - }; - obj39.Steps = list49; - reference39 = obj39; - ref QuestSequence reference40 = ref span10[3]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.Interact, 1014900u, new Vector3(-110.88739f, 9.73618f, 672.7245f), 135) - { - StopDistance = 5f - }; - obj40.Steps = list50; - reference40 = obj40; - ref QuestSequence reference41 = ref span10[4]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.Interact, 1014898u, new Vector3(162.005f, 8.973654f, 583.82544f), 135) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }; - obj41.Steps = list51; - reference41 = obj41; - ref QuestSequence reference42 = ref span10[5]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - ref QuestStep reference43 = ref CollectionsMarshal.AsSpan(list52)[0]; - QuestStep obj43 = new QuestStep(EInteractionType.Interact, 1014901u, new Vector3(235.67554f, 8f, 698.20703f), 135) - { - Fly = true - }; - num3 = 1; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - CollectionsMarshal.AsSpan(list53)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBDRK450_02057_Q2_000_111"), - Answer = new ExcelRef("TEXT_JOBDRK450_02057_A2_000_114") - }; - obj43.DialogueChoices = list53; - reference43 = obj43; - obj42.Steps = list52; - reference42 = obj42; - ref QuestSequence reference44 = ref span10[6]; - QuestSequence obj44 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014901u, new Vector3(235.67554f, 8f, 698.20703f), 135) - { - NextQuestId = new QuestId(2058) - }; - obj44.Steps = list54; - reference44 = obj44; - questRoot5.QuestSequence = list45; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(2058); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - CollectionsMarshal.AsSpan(list55)[0] = "liza"; - questRoot6.Author = list55; - num = 7; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - Span span11 = CollectionsMarshal.AsSpan(list56); - ref QuestSequence reference45 = ref span11[0]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014890u, new Vector3(6.9122925f, -1.9210143f, 47.287598f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardBrume - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj45.Steps = list57; - reference45 = obj45; - ref QuestSequence reference46 = ref span11[1]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.Say, 2006305u, new Vector3(-94.95697f, 298.63428f, -212.66504f), 155) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardBrume, - To = EAetheryteLocation.IshgardGatesOfJudgement - }, - ChatMessage = new ChatMessage - { - Key = "TEXT_JOBDRK500_02058_SAY_000_000" - } - }; - obj46.Steps = list58; - reference46 = obj46; - ref QuestSequence reference47 = ref span11[2]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.Interact, 1015328u, new Vector3(-313.5271f, 244.50482f, 33.310425f), 155) - { - Fly = true - }; - obj47.Steps = list59; - reference47 = obj47; - ref QuestSequence reference48 = ref span11[3]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - ref QuestStep reference49 = ref CollectionsMarshal.AsSpan(list60)[0]; - QuestStep obj49 = new QuestStep(EInteractionType.Combat, 2006306u, new Vector3(-405.53906f, 274.70813f, 79.087524f), 155) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 3; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - Span span12 = CollectionsMarshal.AsSpan(list61); - span12[0] = 4678u; - span12[1] = 4679u; - span12[2] = 4696u; - obj49.KillEnemyDataIds = list61; - reference49 = obj49; - obj48.Steps = list60; - reference48 = obj48; - ref QuestSequence reference50 = ref span11[4]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.Interact, 1014906u, new Vector3(-313.5271f, 244.50482f, 33.310425f), 155) - { - Fly = true - }; - obj50.Steps = list62; - reference50 = obj50; - ref QuestSequence reference51 = ref span11[5]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1014907u, new Vector3(-314.6258f, 244.62024f, 32.272827f), 155); - obj51.Steps = list63; - reference51 = obj51; - ref QuestSequence reference52 = ref span11[6]; - QuestSequence obj52 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014908u, new Vector3(-431.26575f, 210.99998f, -251.20929f), 155); - obj52.Steps = list64; - reference52 = obj52; - questRoot6.QuestSequence = list56; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(2059); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - CollectionsMarshal.AsSpan(list65)[0] = "liza"; - questRoot7.Author = list65; - num = 4; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - Span span13 = CollectionsMarshal.AsSpan(list66); - ref QuestSequence reference53 = ref span13[0]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014909u, new Vector3(-427.1153f, 211f, -267.26184f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj53.Steps = list67; - reference53 = obj53; - ref QuestSequence reference54 = ref span13[1]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - ref QuestStep reference55 = ref CollectionsMarshal.AsSpan(list68)[0]; - QuestStep obj55 = new QuestStep(EInteractionType.Combat, 1015030u, new Vector3(-824.979f, 243.96797f, -215.86938f), 155) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - Span span14 = CollectionsMarshal.AsSpan(list69); - span14[0] = 4377u; - span14[1] = 4378u; - obj55.KillEnemyDataIds = list69; - reference55 = obj55; - obj54.Steps = list68; - reference54 = obj54; - ref QuestSequence reference56 = ref span13[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.Interact, 1015030u, new Vector3(-824.979f, 243.96797f, -215.86938f), 155); - obj56.Steps = list70; - reference56 = obj56; - ref QuestSequence reference57 = ref span13[3]; - QuestSequence obj57 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013969u, new Vector3(104.234375f, 14.999986f, 40.787354f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - }, - NextQuestId = new QuestId(2060) - }; - obj57.Steps = list71; - reference57 = obj57; - questRoot7.QuestSequence = list66; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(2060); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - CollectionsMarshal.AsSpan(list72)[0] = "liza"; - questRoot8.Author = list72; - num = 8; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - Span span15 = CollectionsMarshal.AsSpan(list73); - ref QuestSequence reference58 = ref span15[0]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013969u, new Vector3(104.234375f, 14.999986f, 40.787354f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj58.Steps = list74; - reference58 = obj58; - ref QuestSequence reference59 = ref span15[1]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - ref QuestStep reference60 = ref CollectionsMarshal.AsSpan(list75)[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1013970u, new Vector3(103.4104f, 15.00001f, 41.306152f), 418); - num3 = 1; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - CollectionsMarshal.AsSpan(list76)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBDRK520_02060_Q1_000_041"), - Answer = new ExcelRef("TEXT_JOBDRK520_02060_A1_000_045") - }; - questStep2.DialogueChoices = list76; - reference60 = questStep2; - obj59.Steps = list75; - reference59 = obj59; - ref QuestSequence reference61 = ref span15[2]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Interact, 1015034u, new Vector3(-634.69904f, -119.471756f, 476.24915f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop - }; - obj60.Steps = list77; - reference61 = obj60; - ref QuestSequence reference62 = ref span15[3]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - ref QuestStep reference63 = ref CollectionsMarshal.AsSpan(list78)[0]; - QuestStep obj62 = new QuestStep(EInteractionType.Combat, null, new Vector3(-528.29944f, -165.42699f, 578.5855f), 401) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - ref ComplexCombatData reference64 = ref CollectionsMarshal.AsSpan(list79)[0]; - ComplexCombatData obj63 = new ComplexCombatData - { - DataId = 4812u, - MinimumKillCount = 3u - }; - int num4 = 6; - List list80 = new List(num4); - CollectionsMarshal.SetCount(list80, num4); - Span span16 = CollectionsMarshal.AsSpan(list80); - span16[0] = null; - span16[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = null; - obj63.CompletionQuestVariablesFlags = list80; - reference64 = obj63; - obj62.ComplexCombatData = list79; - reference63 = obj62; - obj61.Steps = list78; - reference62 = obj61; - ref QuestSequence reference65 = ref span15[4]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.Interact, 1015033u, new Vector3(571.8928f, -113.998665f, 326.74133f), 401) - { - Fly = true - }; - obj64.Steps = list81; - reference65 = obj64; - ref QuestSequence reference66 = ref span15[5]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - ref QuestStep reference67 = ref CollectionsMarshal.AsSpan(list82)[0]; - QuestStep obj66 = new QuestStep(EInteractionType.Combat, 2006342u, new Vector3(533.53174f, -100.14502f, 367.54407f), 401) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 3; - List list83 = new List(num3); - CollectionsMarshal.SetCount(list83, num3); - Span span17 = CollectionsMarshal.AsSpan(list83); - span17[0] = 4619u; - span17[1] = 5044u; - span17[2] = 5045u; - obj66.KillEnemyDataIds = list83; - reference67 = obj66; - obj65.Steps = list82; - reference66 = obj65; - ref QuestSequence reference68 = ref span15[6]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.Interact, 1015036u, new Vector3(571.43494f, -113.94505f, 331.41064f), 401) - { - Fly = true - }; - obj67.Steps = list84; - reference68 = obj67; - ref QuestSequence reference69 = ref span15[7]; - QuestSequence obj68 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013969u, new Vector3(104.234375f, 14.999986f, 40.787354f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - }, - NextQuestId = new QuestId(2061) - }; - obj68.Steps = list85; - reference69 = obj68; - questRoot8.QuestSequence = list73; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(2061); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - CollectionsMarshal.AsSpan(list86)[0] = "liza"; - questRoot9.Author = list86; - num = 9; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - Span span18 = CollectionsMarshal.AsSpan(list87); - ref QuestSequence reference70 = ref span18[0]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013969u, new Vector3(104.234375f, 14.999986f, 40.787354f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj69.Steps = list88; - reference70 = obj69; - ref QuestSequence reference71 = ref span18[1]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Interact, 1015038u, new Vector3(210.49817f, 302.2458f, -166.888f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj70.Steps = list89; - reference71 = obj70; - ref QuestSequence reference72 = ref span18[2]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1015039u, new Vector3(209.43005f, 302.2567f, -166.888f), 155); - obj71.Steps = list90; - reference72 = obj71; - ref QuestSequence reference73 = ref span18[3]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.Interact, 1015040u, new Vector3(221.94238f, 222.00142f, 320.9734f), 155); - obj72.Steps = list91; - reference73 = obj72; - ref QuestSequence reference74 = ref span18[4]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.Interact, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - obj73.Steps = list92; - reference74 = obj73; - ref QuestSequence reference75 = ref span18[5]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.Interact, 1015043u, new Vector3(29.67871f, -7.8f, 89.61609f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj74.Steps = list93; - reference75 = obj74; - ref QuestSequence reference76 = ref span18[6]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Interact, 1015432u, new Vector3(29.67871f, -7.8f, 89.61609f), 132); - obj75.Steps = list94; - reference76 = obj75; - ref QuestSequence reference77 = ref span18[7]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.Interact, 1015066u, new Vector3(47.440186f, -8.046949f, 110.73462f), 132) - { - StopDistance = 6f - }; - obj76.Steps = list95; - reference77 = obj76; - ref QuestSequence reference78 = ref span18[8]; - QuestSequence obj77 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013969u, new Vector3(104.234375f, 14.999986f, 40.787354f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - }, - NextQuestId = new QuestId(2062) - }; - obj77.Steps = list96; - reference78 = obj77; - questRoot9.QuestSequence = list87; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(2062); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - CollectionsMarshal.AsSpan(list97)[0] = "liza"; - questRoot10.Author = list97; - num = 7; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - Span span19 = CollectionsMarshal.AsSpan(list98); - ref QuestSequence reference79 = ref span19[0]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013969u, new Vector3(104.234375f, 14.999986f, 40.787354f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj78.Steps = list99; - reference79 = obj78; - ref QuestSequence reference80 = ref span19[1]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.Interact, 1011935u, new Vector3(-285.63367f, 39.04305f, 53.72693f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - obj79.Steps = list100; - reference80 = obj79; - ref QuestSequence reference81 = ref span19[2]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.Interact, 1015044u, new Vector3(-282.1546f, 39.043068f, 46.036377f), 398); - obj80.Steps = list101; - reference81 = obj80; - ref QuestSequence reference82 = ref span19[3]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - Span span20 = CollectionsMarshal.AsSpan(list102); - ref QuestStep reference83 = ref span20[0]; - QuestStep obj82 = new QuestStep(EInteractionType.Combat, 2006344u, new Vector3(-557.8241f, -92.24078f, 595.1781f), 398) - { - StopDistance = 1f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - CollectionsMarshal.AsSpan(list103)[0] = 4685u; - obj82.KillEnemyDataIds = list103; - num3 = 6; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - Span span21 = CollectionsMarshal.AsSpan(list104); - span21[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = null; - obj82.CompletionQuestVariablesFlags = list104; - reference83 = obj82; - span20[1] = new QuestStep(EInteractionType.Interact, 2006344u, new Vector3(-557.8241f, -92.24078f, 595.1781f), 398); - obj81.Steps = list102; - reference82 = obj81; - ref QuestSequence reference84 = ref span19[4]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 1011935u, new Vector3(-285.63367f, 39.04305f, 53.72693f), 398) - { - StopDistance = 7f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - obj83.Steps = list105; - reference84 = obj83; - ref QuestSequence reference85 = ref span19[5]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.Interact, 1015046u, new Vector3(-460.01373f, -9.639711f, -294.78906f), 398) - { - StopDistance = 5f, - Fly = true - }; - obj84.Steps = list106; - reference85 = obj84; - ref QuestSequence reference86 = ref span19[6]; - QuestSequence obj85 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013969u, new Vector3(104.234375f, 14.999986f, 40.787354f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - }, - NextQuestId = new QuestId(2063) - }; - obj85.Steps = list107; - reference86 = obj85; - questRoot10.QuestSequence = list98; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(2063); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - CollectionsMarshal.AsSpan(list108)[0] = "liza"; - questRoot11.Author = list108; - num = 8; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - Span span22 = CollectionsMarshal.AsSpan(list109); - ref QuestSequence reference87 = ref span22[0]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013969u, new Vector3(104.234375f, 14.999986f, 40.787354f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj86.Steps = list110; - reference87 = obj86; - ref QuestSequence reference88 = ref span22[1]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.Interact, 1012076u, new Vector3(254.13892f, -43.160442f, 626.3981f), 400) - { - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome - }; - obj87.Steps = list111; - reference88 = obj87; - ref QuestSequence reference89 = ref span22[2]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span23 = CollectionsMarshal.AsSpan(list112); - ref QuestStep reference90 = ref span23[0]; - QuestStep obj89 = new QuestStep(EInteractionType.Interact, 2006346u, new Vector3(429.9839f, -10.11676f, 708.1864f), 400) - { - Fly = true - }; - num3 = 6; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - Span span24 = CollectionsMarshal.AsSpan(list113); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj89.CompletionQuestVariablesFlags = list113; - reference90 = obj89; - ref QuestStep reference91 = ref span23[1]; - QuestStep obj90 = new QuestStep(EInteractionType.Interact, 2006347u, new Vector3(346.48657f, 0.25933838f, 565.6061f), 400) - { - Fly = true - }; - num3 = 6; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - Span span25 = CollectionsMarshal.AsSpan(list114); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj90.CompletionQuestVariablesFlags = list114; - reference91 = obj90; - ref QuestStep reference92 = ref span23[2]; - QuestStep obj91 = new QuestStep(EInteractionType.Interact, 2006348u, new Vector3(312.1842f, 17.868286f, 718.8982f), 400) - { - Fly = true - }; - num3 = 6; - List list115 = new List(num3); - CollectionsMarshal.SetCount(list115, num3); - Span span26 = CollectionsMarshal.AsSpan(list115); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj91.CompletionQuestVariablesFlags = list115; - reference92 = obj91; - ref QuestStep reference93 = ref span23[3]; - QuestStep obj92 = new QuestStep(EInteractionType.Interact, 2006349u, new Vector3(204.76074f, 4.7455444f, 736.3545f), 400) - { - Fly = true - }; - num3 = 6; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - Span span27 = CollectionsMarshal.AsSpan(list116); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj92.CompletionQuestVariablesFlags = list116; - reference93 = obj92; - obj88.Steps = list112; - reference89 = obj88; - ref QuestSequence reference94 = ref span22[3]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.Interact, 1012076u, new Vector3(254.13892f, -43.160442f, 626.3981f), 400) - { - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome - }; - obj93.Steps = list117; - reference94 = obj93; - ref QuestSequence reference95 = ref span22[4]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - ref QuestStep reference96 = ref CollectionsMarshal.AsSpan(list118)[0]; - QuestStep obj95 = new QuestStep(EInteractionType.Combat, 2006350u, new Vector3(173.84595f, -22.14087f, 160.7843f), 400) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - CollectionsMarshal.AsSpan(list119)[0] = 4675u; - obj95.KillEnemyDataIds = list119; - reference96 = obj95; - obj94.Steps = list118; - reference95 = obj94; - ref QuestSequence reference97 = ref span22[5]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1015049u, new Vector3(-158.80066f, -23.017008f, 282.12402f), 400) - { - Fly = true - }; - obj96.Steps = list120; - reference97 = obj96; - ref QuestSequence reference98 = ref span22[6]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.Interact, 1015050u, new Vector3(-158.1903f, -22.967546f, 275.83728f), 400); - obj97.Steps = list121; - reference98 = obj97; - ref QuestSequence reference99 = ref span22[7]; - QuestSequence obj98 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013969u, new Vector3(104.234375f, 14.999986f, 40.787354f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - }, - NextQuestId = new QuestId(2064) - }; - obj98.Steps = list122; - reference99 = obj98; - questRoot11.QuestSequence = list109; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(2064); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - CollectionsMarshal.AsSpan(list123)[0] = "liza"; - questRoot12.Author = list123; - num = 4; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - Span span28 = CollectionsMarshal.AsSpan(list124); - ref QuestSequence reference100 = ref span28[0]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013969u, new Vector3(104.234375f, 14.999986f, 40.787354f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj99.Steps = list125; - reference100 = obj99; - ref QuestSequence reference101 = ref span28[1]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.Interact, 1013970u, new Vector3(103.4104f, 15.00001f, 41.306152f), 418); - obj100.Steps = list126; - reference101 = obj100; - ref QuestSequence reference102 = ref span28[2]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1015052u, new Vector3(-347.5243f, 91.63155f, -558.8312f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj101.Steps = list127; - reference102 = obj101; - ref QuestSequence reference103 = ref span28[3]; - QuestSequence obj102 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - ref QuestStep reference104 = ref CollectionsMarshal.AsSpan(list128)[0]; - QuestStep obj103 = new QuestStep(EInteractionType.CompleteQuest, 1013969u, new Vector3(104.234375f, 14.999986f, 40.787354f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - num3 = 1; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - CollectionsMarshal.AsSpan(list129)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBDRK600_02064_Q1_000_153"), - Answer = new ExcelRef("TEXT_JOBDRK600_02064_A1_000_154") - }; - obj103.DialogueChoices = list129; - obj103.NextQuestId = new QuestId(2915); - reference104 = obj103; - obj102.Steps = list128; - reference103 = obj102; - questRoot12.QuestSequence = list124; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(2090); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list130 = new List(num); - CollectionsMarshal.SetCount(list130, num); - CollectionsMarshal.AsSpan(list130)[0] = "liza"; - questRoot13.Author = list130; - num = 8; - List list131 = new List(num); - CollectionsMarshal.SetCount(list131, num); - Span span29 = CollectionsMarshal.AsSpan(list131); - ref QuestSequence reference105 = ref span29[0]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012097u, new Vector3(73.3501f, 205.88956f, 23.483582f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj104.Steps = list132; - reference105 = obj104; - ref QuestSequence reference106 = ref span29[1]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.Interact, 1013714u, new Vector3(-33.76825f, 100.96971f, -182.48267f), 399) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshireEpilogueGate - } - }; - obj105.Steps = list133; - reference106 = obj105; - ref QuestSequence reference107 = ref span29[2]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.Interact, 1014403u, new Vector3(69.443726f, 53.303707f, 198.59619f), 399) - { - Fly = true - }; - obj106.Steps = list134; - reference107 = obj106; - ref QuestSequence reference108 = ref span29[3]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.UseItem, 2006124u, new Vector3(-43.198303f, 100.8468f, -181.81128f), 399) - { - Fly = true, - ItemId = 2001792u - }; - obj107.Steps = list135; - reference108 = obj107; - ref QuestSequence reference109 = ref span29[4]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.Interact, 2006180u, new Vector3(-43.717102f, 101.48767f, -181.62811f), 399); - obj108.Steps = list136; - reference109 = obj108; - ref QuestSequence reference110 = ref span29[5]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.Interact, 1014404u, new Vector3(67.97888f, 53.343666f, 199.02332f), 399) - { - Fly = true - }; - obj109.Steps = list137; - reference110 = obj109; - ref QuestSequence reference111 = ref span29[6]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.Duty, null, null, 399) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 112u - } - }; - obj110.Steps = list138; - reference111 = obj110; - ref QuestSequence reference112 = ref span29[7]; - QuestSequence obj111 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014407u, new Vector3(-38.16284f, 100.95273f, -184.06964f), 399) - { - StopDistance = 5f, - NextQuestId = new QuestId(2091) - }; - obj111.Steps = list139; - reference112 = obj111; - questRoot13.QuestSequence = list131; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(2091); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list140 = new List(num); - CollectionsMarshal.SetCount(list140, num); - CollectionsMarshal.AsSpan(list140)[0] = "liza"; - questRoot14.Author = list140; - num = 3; - List list141 = new List(num); - CollectionsMarshal.SetCount(list141, num); - Span span30 = CollectionsMarshal.AsSpan(list141); - ref QuestSequence reference113 = ref span30[0]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014407u, new Vector3(-38.16284f, 100.95273f, -184.06964f), 399) - { - StopDistance = 5f - }; - obj112.Steps = list142; - reference113 = obj112; - ref QuestSequence reference114 = ref span30[1]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.Duty, null, null, 399) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 113u - } - }; - obj113.Steps = list143; - reference114 = obj113; - ref QuestSequence reference115 = ref span30[2]; - QuestSequence obj114 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014407u, new Vector3(-38.16284f, 100.95273f, -184.06964f), 399) - { - StopDistance = 5f, - NextQuestId = new QuestId(2092) - }; - obj114.Steps = list144; - reference115 = obj114; - questRoot14.QuestSequence = list141; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(2092); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list145 = new List(num); - CollectionsMarshal.SetCount(list145, num); - CollectionsMarshal.AsSpan(list145)[0] = "liza"; - questRoot15.Author = list145; - num = 3; - List list146 = new List(num); - CollectionsMarshal.SetCount(list146, num); - Span span31 = CollectionsMarshal.AsSpan(list146); - ref QuestSequence reference116 = ref span31[0]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014407u, new Vector3(-38.16284f, 100.95273f, -184.06964f), 399) - { - StopDistance = 5f - }; - obj115.Steps = list147; - reference116 = obj115; - ref QuestSequence reference117 = ref span31[1]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.Duty, null, null, 399) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 114u - } - }; - obj116.Steps = list148; - reference117 = obj116; - ref QuestSequence reference118 = ref span31[2]; - QuestSequence obj117 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014409u, new Vector3(-41.519836f, 100.89075f, -181.99438f), 399) - { - StopDistance = 5f, - NextQuestId = new QuestId(2093) - }; - obj117.Steps = list149; - reference118 = obj117; - questRoot15.QuestSequence = list146; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(2093); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list150 = new List(num); - CollectionsMarshal.SetCount(list150, num); - CollectionsMarshal.AsSpan(list150)[0] = "liza"; - questRoot16.Author = list150; - num = 3; - List list151 = new List(num); - CollectionsMarshal.SetCount(list151, num); - Span span32 = CollectionsMarshal.AsSpan(list151); - ref QuestSequence reference119 = ref span32[0]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014409u, new Vector3(-41.519836f, 100.89075f, -181.99438f), 399) - { - StopDistance = 5f - }; - obj118.Steps = list152; - reference119 = obj118; - ref QuestSequence reference120 = ref span32[1]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.Duty, null, null, 399) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 115u - } - }; - obj119.Steps = list153; - reference120 = obj119; - ref QuestSequence reference121 = ref span32[2]; - QuestSequence obj120 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - Span span33 = CollectionsMarshal.AsSpan(list154); - ref QuestStep reference122 = ref span33[0]; - QuestStep obj121 = new QuestStep(EInteractionType.Interact, 2006431u, new Vector3(0f, -67f, 15.5f), 505) - { - TargetTerritoryId = (ushort)399 - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - CollectionsMarshal.AsSpan(list155)[0] = 505; - skipStepConditions.NotInTerritory = list155; - skipConditions2.StepIf = skipStepConditions; - obj121.SkipConditions = skipConditions2; - reference122 = obj121; - span33[1] = new QuestStep(EInteractionType.CompleteQuest, 1014405u, new Vector3(69.62683f, 53.404236f, 201.5564f), 399) - { - NextQuestId = new QuestId(2094) - }; - obj120.Steps = list154; - reference121 = obj120; - questRoot16.QuestSequence = list151; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(2094); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list156 = new List(num); - CollectionsMarshal.SetCount(list156, num); - CollectionsMarshal.AsSpan(list156)[0] = "liza"; - questRoot17.Author = list156; - num = 3; - List list157 = new List(num); - CollectionsMarshal.SetCount(list157, num); - Span span34 = CollectionsMarshal.AsSpan(list157); - ref QuestSequence reference123 = ref span34[0]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014405u, new Vector3(69.62683f, 53.404236f, 201.5564f), 399); - obj122.Steps = list158; - reference123 = obj122; - ref QuestSequence reference124 = ref span34[1]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.Interact, 1014409u, new Vector3(-41.519836f, 100.89075f, -181.99438f), 399) - { - Fly = true - }; - obj123.Steps = list159; - reference124 = obj123; - ref QuestSequence reference125 = ref span34[2]; - QuestSequence obj124 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014402u, new Vector3(-42.37433f, 100.87579f, -183.21509f), 399) - { - NextQuestId = new QuestId(2249) - }; - obj124.Steps = list160; - reference125 = obj124; - questRoot17.QuestSequence = list157; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(2095); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - CollectionsMarshal.AsSpan(list161)[0] = "liza"; - questRoot18.Author = list161; - num = 2; - List list162 = new List(num); - CollectionsMarshal.SetCount(list162, num); - Span span35 = CollectionsMarshal.AsSpan(list162); - ref QuestSequence reference126 = ref span35[0]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012161u, new Vector3(-54.429016f, 15.140585f, -38.101807f), 418); - obj125.Steps = list163; - reference126 = obj125; - ref QuestSequence reference127 = ref span35[1]; - QuestSequence obj126 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013395u, new Vector3(45.609253f, 31.195326f, -732.9061f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - NextQuestId = new QuestId(2097) - }; - obj126.Steps = list164; - reference127 = obj126; - questRoot18.QuestSequence = list162; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(2097); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list165 = new List(num); - CollectionsMarshal.SetCount(list165, num); - CollectionsMarshal.AsSpan(list165)[0] = "liza"; - questRoot19.Author = list165; - num = 2; - List list166 = new List(num); - CollectionsMarshal.SetCount(list166, num); - Span span36 = CollectionsMarshal.AsSpan(list166); - ref QuestSequence reference128 = ref span36[0]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013395u, new Vector3(45.609253f, 31.195326f, -732.9061f), 156); - obj127.Steps = list167; - reference128 = obj127; - ref QuestSequence reference129 = ref span36[1]; - QuestSequence obj128 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001428u, new Vector3(116.80774f, 30.907087f, -359.63995f), 141) - { - StopDistance = 1f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - NextQuestId = new QuestId(2098) - }; - obj128.Steps = list168; - reference129 = obj128; - questRoot19.QuestSequence = list166; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(2098); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list169 = new List(num); - CollectionsMarshal.SetCount(list169, num); - CollectionsMarshal.AsSpan(list169)[0] = "liza"; - questRoot20.Author = list169; - num = 2; - List list170 = new List(num); - CollectionsMarshal.SetCount(list170, num); - Span span37 = CollectionsMarshal.AsSpan(list170); - ref QuestSequence reference130 = ref span37[0]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013395u, new Vector3(45.609253f, 31.195326f, -732.9061f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj129.Steps = list171; - reference130 = obj129; - ref QuestSequence reference131 = ref span37[1]; - QuestSequence obj130 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - Span span38 = CollectionsMarshal.AsSpan(list172); - span38[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-14.635355f, 206.49942f, 44.826305f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span38[1] = new QuestStep(EInteractionType.CompleteQuest, 1012299u, new Vector3(-16.586609f, 206.49942f, 42.98462f), 478); - obj130.Steps = list172; - reference131 = obj130; - questRoot20.QuestSequence = list170; - AddQuest(questId20, questRoot20); - } - - private static void LoadQuests42() - { - QuestId questId = new QuestId(2100); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 4; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference2 = ref CollectionsMarshal.AsSpan(list3)[0]; - QuestStep obj2 = new QuestStep(EInteractionType.AcceptQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition obj3 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - int num3 = 1; - List list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - CollectionsMarshal.AsSpan(list4)[0] = 133; - obj3.InTerritory = list4; - skipConditions.AetheryteShortcutIf = obj3; - obj2.SkipConditions = skipConditions; - reference2 = obj2; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference3 = ref span[1]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1006725u, new Vector3(446.82983f, -5.306207f, -465.72064f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj4.Steps = list5; - reference3 = obj4; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Interact, 1014018u, new Vector3(481.9867f, 5.4917006f, -838.52905f), 156) - { - Fly = true - }; - obj5.Steps = list6; - reference4 = obj5; - ref QuestSequence reference5 = ref span[3]; - QuestSequence obj6 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - }, - NextQuestId = new QuestId(2101) - }; - obj6.Steps = list7; - reference5 = obj6; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(2101); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - CollectionsMarshal.AsSpan(list8)[0] = "liza"; - questRoot2.Author = list8; - num = 6; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - Span span2 = CollectionsMarshal.AsSpan(list9); - ref QuestSequence reference6 = ref span2[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - ref QuestStep reference7 = ref CollectionsMarshal.AsSpan(list10)[0]; - QuestStep obj8 = new QuestStep(EInteractionType.AcceptQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition obj9 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - CollectionsMarshal.AsSpan(list11)[0] = 133; - obj9.InTerritory = list11; - skipConditions2.AetheryteShortcutIf = obj9; - obj8.SkipConditions = skipConditions2; - reference7 = obj8; - obj7.Steps = list10; - reference6 = obj7; - ref QuestSequence reference8 = ref span2[1]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Interact, 1014020u, new Vector3(-416.70862f, -55.58494f, 112.38269f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj10.Steps = list12; - reference8 = obj10; - ref QuestSequence reference9 = ref span2[2]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - Span span3 = CollectionsMarshal.AsSpan(list13); - ref QuestStep reference10 = ref span3[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1004506u, new Vector3(-416.64764f, -54.15f, 96.42175f), 145); - num3 = 6; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - Span span4 = CollectionsMarshal.AsSpan(list14); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list14; - reference10 = questStep; - ref QuestStep reference11 = ref span3[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1003931u, new Vector3(-379.6292f, -55.85506f, 95.04846f), 145); - num3 = 6; - List list15 = new List(num3); - CollectionsMarshal.SetCount(list15, num3); - Span span5 = CollectionsMarshal.AsSpan(list15); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list15; - reference11 = questStep2; - ref QuestStep reference12 = ref span3[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1004556u, new Vector3(-394.85773f, -57.30005f, 173.32715f), 145); - num3 = 6; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - Span span6 = CollectionsMarshal.AsSpan(list16); - span6[0] = null; - span6[1] = null; - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list16; - reference12 = questStep3; - obj11.Steps = list13; - reference9 = obj11; - ref QuestSequence reference13 = ref span2[3]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.Interact, 1014020u, new Vector3(-416.70862f, -55.58494f, 112.38269f), 145); - obj12.Steps = list17; - reference13 = obj12; - ref QuestSequence reference14 = ref span2[4]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - Span span7 = CollectionsMarshal.AsSpan(list18); - ref QuestStep reference15 = ref span7[0]; - QuestStep obj14 = new QuestStep(EInteractionType.Combat, null, new Vector3(-194.28932f, -36.84067f, 26.942286f), 145) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list19 = new List(num3); - CollectionsMarshal.SetCount(list19, num3); - Span span8 = CollectionsMarshal.AsSpan(list19); - span8[0] = 4777u; - span8[1] = 4778u; - obj14.KillEnemyDataIds = list19; - num3 = 6; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - Span span9 = CollectionsMarshal.AsSpan(list20); - span9[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = null; - obj14.CompletionQuestVariablesFlags = list20; - reference15 = obj14; - span7[1] = new QuestStep(EInteractionType.Interact, 1014025u, new Vector3(-193.59125f, -36.83681f, 25.894531f), 145); - obj13.Steps = list18; - reference14 = obj13; - ref QuestSequence reference16 = ref span2[5]; - QuestSequence obj15 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014028u, new Vector3(-126.57361f, 4.0999947f, -96.23871f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - NextQuestId = new QuestId(2102) - }; - obj15.Steps = list21; - reference16 = obj15; - questRoot2.QuestSequence = list9; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(2102); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - CollectionsMarshal.AsSpan(list22)[0] = "liza"; - questRoot3.Author = list22; - num = 5; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - Span span10 = CollectionsMarshal.AsSpan(list23); - ref QuestSequence reference17 = ref span10[0]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014028u, new Vector3(-126.57361f, 4.0999947f, -96.23871f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj16.Steps = list24; - reference17 = obj16; - ref QuestSequence reference18 = ref span10[1]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.Interact, 1014029u, new Vector3(45.24292f, 18f, -414.87756f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - obj17.Steps = list25; - reference18 = obj17; - ref QuestSequence reference19 = ref span10[2]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - Span span11 = CollectionsMarshal.AsSpan(list26); - ref QuestStep reference20 = ref span11[0]; - QuestStep obj19 = new QuestStep(EInteractionType.Combat, 2005969u, new Vector3(-4.5319824f, 27.695068f, -422.2019f), 141) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - CollectionsMarshal.AsSpan(list27)[0] = 4781u; - obj19.KillEnemyDataIds = list27; - num3 = 6; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - Span span12 = CollectionsMarshal.AsSpan(list28); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj19.CompletionQuestVariablesFlags = list28; - reference20 = obj19; - ref QuestStep reference21 = ref span11[1]; - QuestStep obj20 = new QuestStep(EInteractionType.Combat, 2005970u, new Vector3(-29.160034f, 27.42041f, -417.99042f), 141) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - CollectionsMarshal.AsSpan(list29)[0] = 4781u; - obj20.KillEnemyDataIds = list29; - num3 = 6; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - Span span13 = CollectionsMarshal.AsSpan(list30); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj20.CompletionQuestVariablesFlags = list30; - reference21 = obj20; - ref QuestStep reference22 = ref span11[2]; - QuestStep obj21 = new QuestStep(EInteractionType.Combat, 2005971u, new Vector3(-11.6427f, 34.01233f, -458.60992f), 141) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - Span span14 = CollectionsMarshal.AsSpan(list31); - span14[0] = 4781u; - span14[1] = 4786u; - obj21.KillEnemyDataIds = list31; - num3 = 6; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - Span span15 = CollectionsMarshal.AsSpan(list32); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj21.CompletionQuestVariablesFlags = list32; - reference22 = obj21; - obj18.Steps = list26; - reference19 = obj18; - ref QuestSequence reference23 = ref span10[3]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Interact, 1014029u, new Vector3(45.24292f, 18f, -414.87756f), 141) - { - Fly = true - }; - obj22.Steps = list33; - reference23 = obj22; - ref QuestSequence reference24 = ref span10[4]; - QuestSequence obj23 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014028u, new Vector3(-126.57361f, 4.0999947f, -96.23871f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - NextQuestId = new QuestId(2103) - }; - obj23.Steps = list34; - reference24 = obj23; - questRoot3.QuestSequence = list23; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(2103); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - CollectionsMarshal.AsSpan(list35)[0] = "liza"; - questRoot4.Author = list35; - num = 6; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - Span span16 = CollectionsMarshal.AsSpan(list36); - ref QuestSequence reference25 = ref span16[0]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014028u, new Vector3(-126.57361f, 4.0999947f, -96.23871f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj24.Steps = list37; - reference25 = obj24; - ref QuestSequence reference26 = ref span16[1]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.Interact, 1014033u, new Vector3(47.16565f, 4f, 466.14783f), 147) - { - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCampBluefog - }; - obj25.Steps = list38; - reference26 = obj25; - ref QuestSequence reference27 = ref span16[2]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 2005972u, new Vector3(-6.8513794f, 5.722107f, 290.8827f), 147) - { - StopDistance = 1f, - Fly = true - }; - obj26.Steps = list39; - reference27 = obj26; - ref QuestSequence reference28 = ref span16[3]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - ref QuestStep reference29 = ref CollectionsMarshal.AsSpan(list40)[0]; - QuestStep obj28 = new QuestStep(EInteractionType.Combat, null, new Vector3(13.795937f, 5.0408907f, 280.2135f), 147) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - Span span17 = CollectionsMarshal.AsSpan(list41); - span17[0] = 4787u; - span17[1] = 4788u; - obj28.KillEnemyDataIds = list41; - reference29 = obj28; - obj27.Steps = list40; - reference28 = obj27; - ref QuestSequence reference30 = ref span16[4]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.Interact, 1014034u, new Vector3(13.687317f, 4.983316f, 284.38232f), 147) - { - StopDistance = 7f - }; - obj29.Steps = list42; - reference30 = obj29; - ref QuestSequence reference31 = ref span16[5]; - QuestSequence obj30 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014028u, new Vector3(-126.57361f, 4.0999947f, -96.23871f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - NextQuestId = new QuestId(2104) - }; - obj30.Steps = list43; - reference31 = obj30; - questRoot4.QuestSequence = list36; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(2104); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - CollectionsMarshal.AsSpan(list44)[0] = "liza"; - questRoot5.Author = list44; - num = 5; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - Span span18 = CollectionsMarshal.AsSpan(list45); - ref QuestSequence reference32 = ref span18[0]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014028u, new Vector3(-126.57361f, 4.0999947f, -96.23871f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj31.Steps = list46; - reference32 = obj31; - ref QuestSequence reference33 = ref span18[1]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Interact, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - obj32.Steps = list47; - reference33 = obj32; - ref QuestSequence reference34 = ref span18[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.Interact, 1014028u, new Vector3(-126.57361f, 4.0999947f, -96.23871f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - obj33.Steps = list48; - reference34 = obj33; - ref QuestSequence reference35 = ref span18[3]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1014038u, new Vector3(-20.24878f, 83.19998f, -1.4801636f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAirship - } - }; - obj34.Steps = list49; - reference35 = obj34; - ref QuestSequence reference36 = ref span18[4]; - QuestSequence obj35 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014028u, new Vector3(-126.57361f, 4.0999947f, -96.23871f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - NextQuestId = new QuestId(2105) - }; - obj35.Steps = list50; - reference36 = obj35; - questRoot5.QuestSequence = list45; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(2105); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - CollectionsMarshal.AsSpan(list51)[0] = "liza"; - questRoot6.Author = list51; - num = 4; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - Span span19 = CollectionsMarshal.AsSpan(list52); - ref QuestSequence reference37 = ref span19[0]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014028u, new Vector3(-126.57361f, 4.0999947f, -96.23871f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj36.Steps = list53; - reference37 = obj36; - ref QuestSequence reference38 = ref span19[1]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1014042u, new Vector3(277.11902f, 232.54102f, 760.1892f), 399) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshirePrologueGate - } - }; - obj37.Steps = list54; - reference38 = obj37; - ref QuestSequence reference39 = ref span19[2]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.Interact, 1014045u, new Vector3(260.5172f, 232.54103f, 728.9081f), 399); - obj38.Steps = list55; - reference39 = obj38; - ref QuestSequence reference40 = ref span19[3]; - QuestSequence obj39 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014044u, new Vector3(264.515f, 232.54102f, 728.84717f), 399) - { - StopDistance = 7f - }; - obj39.Steps = list56; - reference40 = obj39; - questRoot6.QuestSequence = list52; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(2106); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - CollectionsMarshal.AsSpan(list57)[0] = "liza"; - questRoot7.Author = list57; - num = 1; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - ref QuestSequence reference41 = ref CollectionsMarshal.AsSpan(list58)[0]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - Span span20 = CollectionsMarshal.AsSpan(list59); - span20[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-56.3453f, 15.140585f, -41.30522f), 418); - span20[1] = new QuestStep(EInteractionType.AcceptQuest, 1011208u, new Vector3(-53.543945f, 15.195588f, -42.679565f), 418) - { - StopDistance = 7f - }; - obj40.Steps = list59; - reference41 = obj40; - questRoot7.QuestSequence = list58; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(2107); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - CollectionsMarshal.AsSpan(list60)[0] = "JerryWester"; - questRoot8.Author = list60; - num = 1; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - ref QuestSequence reference42 = ref CollectionsMarshal.AsSpan(list61)[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013715u, new Vector3(503.37976f, -48.989826f, 33.066284f), 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj41.Steps = list62; - reference42 = obj41; - questRoot8.QuestSequence = list61; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(2109); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list63 = new List(num); - CollectionsMarshal.SetCount(list63, num); - CollectionsMarshal.AsSpan(list63)[0] = "liza"; - questRoot9.Author = list63; - num = 1; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - ref QuestSequence reference43 = ref CollectionsMarshal.AsSpan(list64)[0]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - ref QuestStep reference44 = ref CollectionsMarshal.AsSpan(list65)[0]; - QuestStep obj43 = new QuestStep(EInteractionType.AcceptQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - CollectionsMarshal.AsSpan(list66)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_JOBMCH299_02109_Q1_000_000") - }; - obj43.DialogueChoices = list66; - reference44 = obj43; - obj42.Steps = list65; - reference43 = obj42; - questRoot9.QuestSequence = list64; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(2110); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - CollectionsMarshal.AsSpan(list67)[0] = "liza"; - questRoot10.Author = list67; - num = 1; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - ref QuestSequence reference45 = ref CollectionsMarshal.AsSpan(list68)[0]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - ref QuestStep reference46 = ref CollectionsMarshal.AsSpan(list69)[0]; - QuestStep obj45 = new QuestStep(EInteractionType.AcceptQuest, 1014873u, new Vector3(101.57922f, 12.418198f, -117.60132f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardTribunal - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition obj46 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list70 = new List(num3); - CollectionsMarshal.SetCount(list70, num3); - CollectionsMarshal.AsSpan(list70)[0] = 419; - obj46.InTerritory = list70; - skipConditions3.AetheryteShortcutIf = obj46; - obj45.SkipConditions = skipConditions3; - num3 = 1; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - CollectionsMarshal.AsSpan(list71)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_JOBDRK299_02110_Q1_000_005") - }; - obj45.DialogueChoices = list71; - reference46 = obj45; - obj44.Steps = list69; - reference45 = obj44; - questRoot10.QuestSequence = list68; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(2111); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - CollectionsMarshal.AsSpan(list72)[0] = "JerryWester"; - questRoot11.Author = list72; - num = 4; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - Span span21 = CollectionsMarshal.AsSpan(list73); - ref QuestSequence reference47 = ref span21[0]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011911u, new Vector3(-279.56055f, 127.08131f, 13.595764f), 397); - obj47.Steps = list74; - reference47 = obj47; - ref QuestSequence reference48 = ref span21[1]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.Interact, 1013746u, new Vector3(-87.815735f, 87.188995f, -735.04236f), 397); - obj48.Steps = list75; - reference48 = obj48; - ref QuestSequence reference49 = ref span21[2]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.Duty, null, null, 397) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 36u, - LowPriority = true - } - }; - obj49.Steps = list76; - reference49 = obj49; - ref QuestSequence reference50 = ref span21[3]; - QuestSequence obj50 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011911u, new Vector3(-279.56055f, 127.08131f, 13.595764f), 397); - obj50.Steps = list77; - reference50 = obj50; - questRoot11.QuestSequence = list73; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(2114); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list78 = new List(num); - CollectionsMarshal.SetCount(list78, num); - CollectionsMarshal.AsSpan(list78)[0] = "liza"; - questRoot12.Author = list78; - num = 2; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - Span span22 = CollectionsMarshal.AsSpan(list79); - ref QuestSequence reference51 = ref span22[0]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - ref QuestStep reference52 = ref CollectionsMarshal.AsSpan(list80)[0]; - QuestStep obj52 = new QuestStep(EInteractionType.AcceptQuest, 1012217u, new Vector3(25.925049f, 15.8650675f, 19.394226f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardLastVigil - } - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition obj53 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list81 = new List(num3); - CollectionsMarshal.SetCount(list81, num3); - CollectionsMarshal.AsSpan(list81)[0] = 419; - obj53.InTerritory = list81; - skipConditions4.AetheryteShortcutIf = obj53; - obj52.SkipConditions = skipConditions4; - reference52 = obj52; - obj51.Steps = list80; - reference51 = obj51; - ref QuestSequence reference53 = ref span22[1]; - QuestSequence obj54 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - Span span23 = CollectionsMarshal.AsSpan(list82); - span23[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span23[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span23[2] = new QuestStep(EInteractionType.CompleteQuest, 2006287u, new Vector3(0.015197754f, -1.9990234f, -40.909485f), 351) - { - NextQuestId = new QuestId(2230) - }; - obj54.Steps = list82; - reference53 = obj54; - questRoot12.QuestSequence = list79; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(2115); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list83 = new List(num); - CollectionsMarshal.SetCount(list83, num); - CollectionsMarshal.AsSpan(list83)[0] = "liza"; - questRoot13.Author = list83; - num = 7; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - Span span24 = CollectionsMarshal.AsSpan(list84); - ref QuestSequence reference54 = ref span24[0]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - Span span25 = CollectionsMarshal.AsSpan(list85); - ref QuestStep reference55 = ref span25[0]; - QuestStep obj56 = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - CollectionsMarshal.AsSpan(list86)[0] = 351; - skipStepConditions.InTerritory = list86; - skipConditions5.StepIf = skipStepConditions; - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - CollectionsMarshal.AsSpan(list87)[0] = 351; - skipAetheryteCondition.InTerritory = list87; - skipConditions5.AetheryteShortcutIf = skipAetheryteCondition; - obj56.SkipConditions = skipConditions5; - reference55 = obj56; - span25[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.RisingStonesSolar - } - } - }; - span25[2] = new QuestStep(EInteractionType.AcceptQuest, 1014565u, new Vector3(0.44250488f, -1.9957249f, -43.22882f), 351) - { - StopDistance = 7f - }; - obj55.Steps = list85; - reference54 = obj55; - ref QuestSequence reference56 = ref span24[1]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 1012064u, new Vector3(-542.7787f, -37.11544f, -386.7094f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - obj57.Steps = list88; - reference56 = obj57; - ref QuestSequence reference57 = ref span24[2]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Interact, 1014623u, new Vector3(-808.8655f, -57.761612f, 159.5636f), 401) - { - Fly = true - }; - obj58.Steps = list89; - reference57 = obj58; - ref QuestSequence reference58 = ref span24[3]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - Span span26 = CollectionsMarshal.AsSpan(list90); - span26[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(367.30618f, 141.31621f, 258.9364f), 401) - { - Fly = true - }; - span26[1] = new QuestStep(EInteractionType.Interact, 2006288u, new Vector3(369.55823f, 143.17542f, 260.70032f), 401) - { - StopDistance = 4f - }; - obj59.Steps = list90; - reference58 = obj59; - ref QuestSequence reference59 = ref span24[4]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.Duty, null, null, 401) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 89u - } - }; - obj60.Steps = list91; - reference59 = obj60; - ref QuestSequence reference60 = ref span24[5]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.Interact, 1012064u, new Vector3(-542.7787f, -37.11544f, -386.7094f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - obj61.Steps = list92; - reference60 = obj61; - ref QuestSequence reference61 = ref span24[6]; - QuestSequence obj62 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - Span span27 = CollectionsMarshal.AsSpan(list93); - span27[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span27[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span27[2] = new QuestStep(EInteractionType.CompleteQuest, 1014565u, new Vector3(0.44250488f, -1.9957249f, -43.22882f), 351) - { - StopDistance = 7f - }; - obj62.Steps = list93; - reference61 = obj62; - questRoot13.QuestSequence = list84; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(2116); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - CollectionsMarshal.AsSpan(list94)[0] = "liza"; - questRoot14.Author = list94; - num = 6; - List list95 = new List(num); - CollectionsMarshal.SetCount(list95, num); - Span span28 = CollectionsMarshal.AsSpan(list95); - ref QuestSequence reference62 = ref span28[0]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - Span span29 = CollectionsMarshal.AsSpan(list96); - ref QuestStep reference63 = ref span29[0]; - QuestStep obj64 = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list97 = new List(num3); - CollectionsMarshal.SetCount(list97, num3); - CollectionsMarshal.AsSpan(list97)[0] = 351; - skipStepConditions2.InTerritory = list97; - skipConditions6.StepIf = skipStepConditions2; - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num3 = 1; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - CollectionsMarshal.AsSpan(list98)[0] = 351; - skipAetheryteCondition2.InTerritory = list98; - skipConditions6.AetheryteShortcutIf = skipAetheryteCondition2; - obj64.SkipConditions = skipConditions6; - reference63 = obj64; - span29[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.RisingStonesSolar - } - } - }; - span29[2] = new QuestStep(EInteractionType.AcceptQuest, 1014565u, new Vector3(0.44250488f, -1.9957249f, -43.22882f), 351) - { - StopDistance = 7f - }; - obj63.Steps = list96; - reference62 = obj63; - ref QuestSequence reference64 = ref span28[1]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - Span span30 = CollectionsMarshal.AsSpan(list99); - span30[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(73.307335f, -49.128403f, -142.59073f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - span30[1] = new QuestStep(EInteractionType.Interact, 1011928u, new Vector3(73.19751f, -49.19563f, -139.05548f), 398) - { - StopDistance = 4f - }; - obj65.Steps = list99; - reference64 = obj65; - ref QuestSequence reference65 = ref span28[2]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - Span span31 = CollectionsMarshal.AsSpan(list100); - span31[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(258.42062f, -112.936935f, 924.15704f), 398) - { - Fly = true - }; - span31[1] = new QuestStep(EInteractionType.Interact, 2006289u, new Vector3(257.77063f, -111.92493f, 925.3832f), 398); - obj66.Steps = list100; - reference65 = obj66; - ref QuestSequence reference66 = ref span28[3]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.Duty, null, null, 401) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 87u - } - }; - obj67.Steps = list101; - reference66 = obj67; - ref QuestSequence reference67 = ref span28[4]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - Span span32 = CollectionsMarshal.AsSpan(list102); - span32[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(73.307335f, -49.128403f, -142.59073f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - span32[1] = new QuestStep(EInteractionType.Interact, 1011928u, new Vector3(73.19751f, -49.19563f, -139.05548f), 398) - { - StopDistance = 4f - }; - obj68.Steps = list102; - reference67 = obj68; - ref QuestSequence reference68 = ref span28[5]; - QuestSequence obj69 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - Span span33 = CollectionsMarshal.AsSpan(list103); - span33[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span33[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span33[2] = new QuestStep(EInteractionType.CompleteQuest, 1014565u, new Vector3(0.44250488f, -1.9957249f, -43.22882f), 351) - { - StopDistance = 7f - }; - obj69.Steps = list103; - reference68 = obj69; - questRoot14.QuestSequence = list95; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(2118); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list104 = new List(num); - CollectionsMarshal.SetCount(list104, num); - CollectionsMarshal.AsSpan(list104)[0] = "liza"; - questRoot15.Author = list104; - num = 2; - List list105 = new List(num); - CollectionsMarshal.SetCount(list105, num); - Span span34 = CollectionsMarshal.AsSpan(list105); - ref QuestSequence reference69 = ref span34[0]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017083u, new Vector3(63.797974f, 207.28995f, -1.5107422f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj70.Steps = list106; - reference69 = obj70; - ref QuestSequence reference70 = ref span34[1]; - QuestSequence obj71 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.CompleteQuest, 1015599u, new Vector3(-205.79846f, 102.81167f, -580.0717f), 399) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshireEpilogueGate - }, - NextQuestId = new QuestId(2940) - }; - obj71.Steps = list107; - reference70 = obj71; - questRoot15.QuestSequence = list105; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(2119); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - CollectionsMarshal.AsSpan(list108)[0] = "liza"; - questRoot16.Author = list108; - num = 3; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - Span span35 = CollectionsMarshal.AsSpan(list109); - ref QuestSequence reference71 = ref span35[0]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012256u, new Vector3(86.96118f, 24f, 30.350098f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj72.Steps = list110; - reference71 = obj72; - ref QuestSequence reference72 = ref span35[1]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.Interact, 1012225u, new Vector3(90.10449f, 15.094684f, 30.044922f), 418) - { - StopDistance = 5f - }; - obj73.Steps = list111; - reference72 = obj73; - ref QuestSequence reference73 = ref span35[2]; - QuestSequence obj74 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.CompleteQuest, 2005909u, new Vector3(73.899414f, 24.307495f, 22.049255f), 418) - { - NextQuestId = new QuestId(2120) - }; - obj74.Steps = list112; - reference73 = obj74; - questRoot16.QuestSequence = list109; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(2120); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list113 = new List(num); - CollectionsMarshal.SetCount(list113, num); - CollectionsMarshal.AsSpan(list113)[0] = "liza"; - questRoot17.Author = list113; - num = 3; - List list114 = new List(num); - CollectionsMarshal.SetCount(list114, num); - Span span36 = CollectionsMarshal.AsSpan(list114); - ref QuestSequence reference74 = ref span36[0]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012226u, new Vector3(71.732666f, 23.979126f, 20.85907f), 418) - { - StopDistance = 7f - }; - obj75.Steps = list115; - reference74 = obj75; - ref QuestSequence reference75 = ref span36[1]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.Interact, 1012225u, new Vector3(90.10449f, 15.094684f, 30.044922f), 418) - { - StopDistance = 5f - }; - obj76.Steps = list116; - reference75 = obj76; - ref QuestSequence reference76 = ref span36[2]; - QuestSequence obj77 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.CompleteQuest, 2005909u, new Vector3(73.899414f, 24.307495f, 22.049255f), 418) - { - NextQuestId = new QuestId(2121) - }; - obj77.Steps = list117; - reference76 = obj77; - questRoot17.QuestSequence = list114; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(2121); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - CollectionsMarshal.AsSpan(list118)[0] = "liza"; - questRoot18.Author = list118; - num = 3; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - Span span37 = CollectionsMarshal.AsSpan(list119); - ref QuestSequence reference77 = ref span37[0]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013721u, new Vector3(17.380005f, 205.38686f, 37.491333f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj78.Steps = list120; - reference77 = obj78; - ref QuestSequence reference78 = ref span37[1]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.Interact, 1012225u, new Vector3(90.10449f, 15.094684f, 30.044922f), 418) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj79.Steps = list121; - reference78 = obj79; - ref QuestSequence reference79 = ref span37[2]; - QuestSequence obj80 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.CompleteQuest, 2005909u, new Vector3(73.899414f, 24.307495f, 22.049255f), 418) - { - NextQuestId = new QuestId(2122) - }; - obj80.Steps = list122; - reference79 = obj80; - questRoot18.QuestSequence = list119; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(2122); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - CollectionsMarshal.AsSpan(list123)[0] = "liza"; - questRoot19.Author = list123; - num = 2; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - Span span38 = CollectionsMarshal.AsSpan(list124); - ref QuestSequence reference80 = ref span38[0]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012225u, new Vector3(90.10449f, 15.094684f, 30.044922f), 418) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj81.Steps = list125; - reference80 = obj81; - ref QuestSequence reference81 = ref span38[1]; - QuestSequence obj82 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.CompleteQuest, 2005909u, new Vector3(73.899414f, 24.307495f, 22.049255f), 418) - { - NextQuestId = new QuestId(2936) - }; - obj82.Steps = list126; - reference81 = obj82; - questRoot19.QuestSequence = list124; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(2123); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list127 = new List(num); - CollectionsMarshal.SetCount(list127, num); - CollectionsMarshal.AsSpan(list127)[0] = "liza"; - questRoot20.Author = list127; - num = 1; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - ref QuestSequence reference82 = ref CollectionsMarshal.AsSpan(list128)[0]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - ref QuestStep reference83 = ref CollectionsMarshal.AsSpan(list129)[0]; - QuestStep obj84 = new QuestStep(EInteractionType.AcceptQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipAetheryteCondition obj85 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - CollectionsMarshal.AsSpan(list130)[0] = 419; - obj85.InTerritory = list130; - skipConditions7.AetheryteShortcutIf = obj85; - obj84.SkipConditions = skipConditions7; - num3 = 2; - List list131 = new List(num3); - CollectionsMarshal.SetCount(list131, num3); - Span span39 = CollectionsMarshal.AsSpan(list131); - span39[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_JOBAST299_02123_Q1_000_000") - }; - span39[1] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_JOBAST299_02123_Q2_000_000") - }; - obj84.DialogueChoices = list131; - reference83 = obj84; - obj83.Steps = list129; - reference82 = obj83; - questRoot20.QuestSequence = list128; - AddQuest(questId20, questRoot20); - } - - private static void LoadQuests43() - { - QuestId questId = new QuestId(2152); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "pot0to"; - questRoot.Author = list; - num = 4; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference2 = ref CollectionsMarshal.AsSpan(list3)[0]; - QuestStep obj2 = new QuestStep(EInteractionType.AcceptQuest, 1012181u, new Vector3(-248.55426f, -20.034918f, -90.98956f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardJeweledCrozier - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - int num3 = 1; - List list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - CollectionsMarshal.AsSpan(list4)[0] = 419; - skipAetheryteCondition.InTerritory = list4; - skipConditions.AetheryteShortcutIf = skipAetheryteCondition; - obj2.SkipConditions = skipConditions; - reference2 = obj2; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference3 = ref span[1]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1015926u, new Vector3(-114.00018f, -4.7349386f, -33.463074f), 419); - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Interact, 1015931u, new Vector3(97.032104f, -22.000004f, 52.414673f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardJeweledCrozier, - To = EAetheryteLocation.IshgardBrume - } - }; - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[3]; - QuestSequence obj5 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012181u, new Vector3(-248.55426f, -20.034918f, -90.98956f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardBrume, - To = EAetheryteLocation.IshgardJeweledCrozier - }, - NextQuestId = new QuestId(2153) - }; - obj5.Steps = list7; - reference5 = obj5; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(2153); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - CollectionsMarshal.AsSpan(list8)[0] = "pot0to"; - questRoot2.Author = list8; - num = 7; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - Span span2 = CollectionsMarshal.AsSpan(list9); - ref QuestSequence reference6 = ref span2[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - ref QuestStep reference7 = ref CollectionsMarshal.AsSpan(list10)[0]; - QuestStep obj7 = new QuestStep(EInteractionType.AcceptQuest, 1015932u, new Vector3(-250.81262f, -20.03492f, -89.982544f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardJeweledCrozier - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num3 = 1; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - CollectionsMarshal.AsSpan(list11)[0] = 419; - skipAetheryteCondition2.InTerritory = list11; - skipConditions2.AetheryteShortcutIf = skipAetheryteCondition2; - obj7.SkipConditions = skipConditions2; - reference7 = obj7; - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference8 = ref span2[1]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Interact, 1016234u, new Vector3(-145.37274f, 14.80313f, -129.25922f), 419) - { - TargetTerritoryId = (ushort)427, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardJeweledCrozier, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - } - }; - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference9 = ref span2[2]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.Interact, 1015933u, new Vector3(-7.950012f, 0.024999563f, -8.224609f), 427); - obj9.Steps = list13; - reference9 = obj9; - ref QuestSequence reference10 = ref span2[3]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.Interact, 1015935u, new Vector3(5.1116943f, 0.22499955f, 4.0131226f), 427); - obj10.Steps = list14; - reference10 = obj10; - ref QuestSequence reference11 = ref span2[4]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.Interact, 1015936u, new Vector3(69.90149f, 23.979128f, -48.722107f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj11.Steps = list15; - reference11 = obj11; - ref QuestSequence reference12 = ref span2[5]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - Span span3 = CollectionsMarshal.AsSpan(list16); - span3[0] = new QuestStep(EInteractionType.Interact, 1011215u, new Vector3(-145.37274f, 14.80313f, -129.25922f), 419) - { - TargetTerritoryId = (ushort)427, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - } - }; - span3[1] = new QuestStep(EInteractionType.Interact, 1012266u, new Vector3(-7.950012f, 0.20000005f, -10.51355f), 427); - obj12.Steps = list16; - reference12 = obj12; - ref QuestSequence reference13 = ref span2[6]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012266u, new Vector3(-7.950012f, 0.20000005f, -10.51355f), 427) - { - NextQuestId = new QuestId(2154) - }; - obj13.Steps = list17; - reference13 = obj13; - questRoot2.QuestSequence = list9; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(2154); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - CollectionsMarshal.AsSpan(list18)[0] = "pot0to"; - questRoot3.Author = list18; - num = 6; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - Span span4 = CollectionsMarshal.AsSpan(list19); - ref QuestSequence reference14 = ref span4[0]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - Span span5 = CollectionsMarshal.AsSpan(list20); - ref QuestStep reference15 = ref span5[0]; - QuestStep obj15 = new QuestStep(EInteractionType.Interact, 1011215u, new Vector3(-145.37274f, 14.80313f, -129.25922f), 419) - { - TargetTerritoryId = (ushort)427, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - CollectionsMarshal.AsSpan(list21)[0] = 427; - skipStepConditions.InTerritory = list21; - skipConditions3.StepIf = skipStepConditions; - SkipAetheryteCondition skipAetheryteCondition3 = new SkipAetheryteCondition(); - num3 = 2; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - Span span6 = CollectionsMarshal.AsSpan(list22); - span6[0] = 419; - span6[1] = 427; - skipAetheryteCondition3.InTerritory = list22; - skipConditions3.AetheryteShortcutIf = skipAetheryteCondition3; - obj15.SkipConditions = skipConditions3; - reference15 = obj15; - span5[1] = new QuestStep(EInteractionType.AcceptQuest, 1012266u, new Vector3(-7.950012f, 0.20000005f, -10.51355f), 427); - obj14.Steps = list20; - reference14 = obj14; - ref QuestSequence reference16 = ref span4[1]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - Span span7 = CollectionsMarshal.AsSpan(list23); - span7[0] = new QuestStep(EInteractionType.Interact, 2005332u, new Vector3(-5.012468f, 1.1515f, 11.86189f), 427) - { - TargetTerritoryId = (ushort)419 - }; - span7[1] = new QuestStep(EInteractionType.Interact, 1015977u, new Vector3(-177.35565f, 15.06314f, -174.36487f), 419); - obj16.Steps = list23; - reference16 = obj16; - ref QuestSequence reference17 = ref span4[2]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.Interact, 1015941u, new Vector3(-175.34143f, 15.063141f, -171.09949f), 419); - obj17.Steps = list24; - reference17 = obj17; - ref QuestSequence reference18 = ref span4[3]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - Span span8 = CollectionsMarshal.AsSpan(list25); - span8[0] = new QuestStep(EInteractionType.Interact, 1011215u, new Vector3(-145.37274f, 14.80313f, -129.25922f), 419) - { - TargetTerritoryId = (ushort)427 - }; - span8[1] = new QuestStep(EInteractionType.Interact, 1015944u, new Vector3(6.94281f, 0.22499956f, 7.4310913f), 427); - obj18.Steps = list25; - reference18 = obj18; - ref QuestSequence reference19 = ref span4[4]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - Span span9 = CollectionsMarshal.AsSpan(list26); - span9[0] = new QuestStep(EInteractionType.Interact, 2005332u, new Vector3(-5.0202637f, 1.1443481f, 11.856201f), 427) - { - TargetTerritoryId = (ushort)419 - }; - span9[1] = new QuestStep(EInteractionType.Interact, 1015949u, new Vector3(-62.180542f, -4.734931f, -36.514893f), 419); - span9[2] = new QuestStep(EInteractionType.Interact, 1015947u, new Vector3(-228.99219f, -20.034918f, -77.073364f), 419); - obj19.Steps = list26; - reference19 = obj19; - ref QuestSequence reference20 = ref span4[5]; - QuestSequence obj20 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - Span span10 = CollectionsMarshal.AsSpan(list27); - span10[0] = new QuestStep(EInteractionType.Interact, 1011215u, new Vector3(-145.37274f, 14.80313f, -129.25922f), 419) - { - TargetTerritoryId = (ushort)427, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardJeweledCrozier, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - } - }; - span10[1] = new QuestStep(EInteractionType.CompleteQuest, 1015952u, new Vector3(-1.3886108f, 0.20000005f, -9.903137f), 427) - { - NextQuestId = new QuestId(2155) - }; - obj20.Steps = list27; - reference20 = obj20; - questRoot3.QuestSequence = list19; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(2155); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - CollectionsMarshal.AsSpan(list28)[0] = "pot0to"; - questRoot4.Author = list28; - num = 10; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - Span span11 = CollectionsMarshal.AsSpan(list29); - ref QuestSequence reference21 = ref span11[0]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - Span span12 = CollectionsMarshal.AsSpan(list30); - ref QuestStep reference22 = ref span12[0]; - QuestStep obj22 = new QuestStep(EInteractionType.Interact, 1011215u, new Vector3(-145.37274f, 14.80313f, -129.25922f), 419) - { - TargetTerritoryId = (ushort)427, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - } - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - CollectionsMarshal.AsSpan(list31)[0] = 427; - skipStepConditions2.InTerritory = list31; - skipConditions4.StepIf = skipStepConditions2; - SkipAetheryteCondition skipAetheryteCondition4 = new SkipAetheryteCondition(); - num3 = 2; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - Span span13 = CollectionsMarshal.AsSpan(list32); - span13[0] = 419; - span13[1] = 427; - skipAetheryteCondition4.InTerritory = list32; - skipConditions4.AetheryteShortcutIf = skipAetheryteCondition4; - obj22.SkipConditions = skipConditions4; - reference22 = obj22; - span12[1] = new QuestStep(EInteractionType.AcceptQuest, 1015952u, new Vector3(-1.3886108f, 0.20000005f, -9.903137f), 427); - obj21.Steps = list30; - reference21 = obj21; - ref QuestSequence reference23 = ref span11[1]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - Span span14 = CollectionsMarshal.AsSpan(list33); - span14[0] = new QuestStep(EInteractionType.Interact, 2005332u, new Vector3(-5.012468f, 1.1515f, 11.86189f), 427) - { - TargetTerritoryId = (ushort)419 - }; - span14[1] = new QuestStep(EInteractionType.Interact, 1015965u, new Vector3(-31.631958f, 15.965061f, -66.941345f), 419); - obj23.Steps = list33; - reference23 = obj23; - ref QuestSequence reference24 = ref span11[2]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.Interact, 1015975u, new Vector3(-63.98114f, -4.734931f, -36.14868f), 419); - obj24.Steps = list34; - reference24 = obj24; - ref QuestSequence reference25 = ref span11[3]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - Span span15 = CollectionsMarshal.AsSpan(list35); - span15[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-15.249258f, -13.663432f, -64.45602f), 419); - span15[1] = new QuestStep(EInteractionType.Interact, 1015968u, new Vector3(-41.001038f, 19.008322f, -31.296265f), 418); - obj25.Steps = list35; - reference25 = obj25; - ref QuestSequence reference26 = ref span11[4]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.Interact, 1015972u, new Vector3(-41.73346f, 19.008322f, -31.845642f), 418); - obj26.Steps = list36; - reference26 = obj26; - ref QuestSequence reference27 = ref span11[5]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.Interact, 1015973u, new Vector3(782.62f, 216.88771f, 222.9801f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj27.Steps = list37; - reference27 = obj27; - ref QuestSequence reference28 = ref span11[6]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - ref QuestStep reference29 = ref CollectionsMarshal.AsSpan(list38)[0]; - QuestStep obj29 = new QuestStep(EInteractionType.Combat, 2006603u, new Vector3(782.1926f, 216.6322f, 219.74512f), 397) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list39 = new List(num3); - CollectionsMarshal.SetCount(list39, num3); - CollectionsMarshal.AsSpan(list39)[0] = 4676u; - obj29.KillEnemyDataIds = list39; - reference29 = obj29; - obj28.Steps = list38; - reference28 = obj28; - ref QuestSequence reference30 = ref span11[7]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.Interact, 2006617u, new Vector3(782.1926f, 216.6322f, 219.74512f), 397); - obj30.Steps = list40; - reference30 = obj30; - ref QuestSequence reference31 = ref span11[8]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.Interact, 1015970u, new Vector3(-37.82715f, 19.008322f, -28.976868f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard - }; - obj31.Steps = list41; - reference31 = obj31; - ref QuestSequence reference32 = ref span11[9]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.CompleteQuest, 1015976u, new Vector3(-122.51471f, 14.553129f, -166.97955f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSkysteelManufactory, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - }, - NextQuestId = new QuestId(2207) - }; - obj32.Steps = list42; - reference32 = obj32; - questRoot4.QuestSequence = list29; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(2156); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - CollectionsMarshal.AsSpan(list43)[0] = "JerryWester"; - questRoot5.Author = list43; - num = 5; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - Span span16 = CollectionsMarshal.AsSpan(list44); - ref QuestSequence reference33 = ref span16[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012857u, new Vector3(0.7476196f, 0.022254243f, 4.623413f), 433) - { - StopDistance = 5f - }; - obj33.Steps = list45; - reference33 = obj33; - ref QuestSequence reference34 = ref span16[1]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - ref QuestStep reference35 = ref CollectionsMarshal.AsSpan(list46)[0]; - QuestStep obj35 = new QuestStep(EInteractionType.Interact, 1011223u, new Vector3(114.579956f, 24.412834f, -11.062805f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardLastVigil, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - num3 = 1; - List list47 = new List(num3); - CollectionsMarshal.SetCount(list47, num3); - CollectionsMarshal.AsSpan(list47)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_HEAVNB101_02156_SCENE00010_EVENTAREA_WARP_YESNO_TITLE") - }; - obj35.DialogueChoices = list47; - reference35 = obj35; - obj34.Steps = list46; - reference34 = obj34; - ref QuestSequence reference36 = ref span16[2]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.Interact, 1015978u, new Vector3(111.283936f, 24.388157f, -4.3793945f), 418) - { - StopDistance = 5f - }; - obj36.Steps = list48; - reference36 = obj36; - ref QuestSequence reference37 = ref span16[3]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.Interact, 1012326u, new Vector3(92.36279f, 15.094684f, 33.188354f), 418); - obj37.Steps = list49; - reference37 = obj37; - ref QuestSequence reference38 = ref span16[4]; - QuestSequence obj38 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.CompleteQuest, 1015978u, new Vector3(111.283936f, 24.388157f, -4.3793945f), 418); - obj38.Steps = list50; - reference38 = obj38; - questRoot5.QuestSequence = list44; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(2157); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - CollectionsMarshal.AsSpan(list51)[0] = "JerryWester"; - questRoot6.Author = list51; - num = 4; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - Span span17 = CollectionsMarshal.AsSpan(list52); - ref QuestSequence reference39 = ref span17[0]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.AcceptQuest, 1015979u, new Vector3(112.53516f, 24.391697f, -2.8840332f), 418) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj39.Steps = list53; - reference39 = obj39; - ref QuestSequence reference40 = ref span17[1]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.Interact, 1015980u, new Vector3(632.1659f, -54.909866f, 71.854614f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - obj40.Steps = list54; - reference40 = obj40; - ref QuestSequence reference41 = ref span17[2]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.Interact, 1011935u, new Vector3(-285.63367f, 39.04305f, 53.72693f), 398) - { - StopDistance = 9f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - obj41.Steps = list55; - reference41 = obj41; - ref QuestSequence reference42 = ref span17[3]; - QuestSequence obj42 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.CompleteQuest, 1015983u, new Vector3(-297.74933f, 39.04307f, 37.064087f), 398); - obj42.Steps = list56; - reference42 = obj42; - questRoot6.QuestSequence = list52; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(2158); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - CollectionsMarshal.AsSpan(list57)[0] = "JerryWester"; - questRoot7.Author = list57; - num = 4; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - Span span18 = CollectionsMarshal.AsSpan(list58); - ref QuestSequence reference43 = ref span18[0]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.AcceptQuest, 1015983u, new Vector3(-297.74933f, 39.04307f, 37.064087f), 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj43.Steps = list59; - reference43 = obj43; - ref QuestSequence reference44 = ref span18[1]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.Interact, 1015987u, new Vector3(42.252197f, 205.32579f, 19.546753f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire - }; - obj44.Steps = list60; - reference44 = obj44; - ref QuestSequence reference45 = ref span18[2]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.Interact, 2006605u, new Vector3(101.182495f, 206.71387f, 111.34509f), 478); - obj45.Steps = list61; - reference45 = obj45; - ref QuestSequence reference46 = ref span18[3]; - QuestSequence obj46 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.CompleteQuest, 1015992u, new Vector3(-478.14148f, 137.42972f, 700.8926f), 399) - { - Fly = true - }; - obj46.Steps = list62; - reference46 = obj46; - questRoot7.QuestSequence = list58; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(2159); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list63 = new List(num); - CollectionsMarshal.SetCount(list63, num); - CollectionsMarshal.AsSpan(list63)[0] = "JerryWester"; - questRoot8.Author = list63; - num = 6; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - Span span19 = CollectionsMarshal.AsSpan(list64); - ref QuestSequence reference47 = ref span19[0]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.AcceptQuest, 1015992u, new Vector3(-478.14148f, 137.42972f, 700.8926f), 399); - obj47.Steps = list65; - reference47 = obj47; - ref QuestSequence reference48 = ref span19[1]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.Interact, 2005336u, new Vector3(-488.79227f, 138.93335f, 741.0543f), 399) - { - TargetTerritoryId = (ushort)463 - }; - obj48.Steps = list66; - reference48 = obj48; - ref QuestSequence reference49 = ref span19[2]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.Interact, 1012405u, new Vector3(587.7927f, -50.623985f, 70.725464f), 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - obj49.Steps = list67; - reference49 = obj49; - ref QuestSequence reference50 = ref span19[3]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - Span span20 = CollectionsMarshal.AsSpan(list68); - span20[0] = new QuestStep(EInteractionType.Interact, 1011917u, new Vector3(535.30164f, -51.340645f, 65.293335f), 398); - span20[1] = new QuestStep(EInteractionType.Interact, 1011916u, new Vector3(470.02356f, -49.89133f, 20.370789f), 398); - span20[2] = new QuestStep(EInteractionType.Interact, 1011922u, new Vector3(448.56934f, -51.141407f, 108.93408f), 398); - obj50.Steps = list68; - reference50 = obj50; - ref QuestSequence reference51 = ref span19[4]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1015994u, new Vector3(470.38977f, -51.141403f, 38.651123f), 398); - obj51.Steps = list69; - reference51 = obj51; - ref QuestSequence reference52 = ref span19[5]; - QuestSequence obj52 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.CompleteQuest, 2006610u, new Vector3(191.79065f, -54.154297f, -235.95032f), 398) - { - Fly = true - }; - obj52.Steps = list70; - reference52 = obj52; - questRoot8.QuestSequence = list64; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(2160); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - CollectionsMarshal.AsSpan(list71)[0] = "JerryWester"; - questRoot9.Author = list71; - num = 5; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - Span span21 = CollectionsMarshal.AsSpan(list72); - ref QuestSequence reference53 = ref span21[0]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.AcceptQuest, 1015998u, new Vector3(192.43152f, -54.189243f, -234.3634f), 398); - obj53.Steps = list73; - reference53 = obj53; - ref QuestSequence reference54 = ref span21[1]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.Interact, 1011928u, new Vector3(73.19751f, -49.19563f, -139.05548f), 398) - { - Fly = true - }; - obj54.Steps = list74; - reference54 = obj54; - ref QuestSequence reference55 = ref span21[2]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - ref QuestStep reference56 = ref CollectionsMarshal.AsSpan(list75)[0]; - QuestStep obj56 = new QuestStep(EInteractionType.Combat, null, new Vector3(173.8547f, -108.97817f, 600.48395f), 398) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - Span span22 = CollectionsMarshal.AsSpan(list76); - span22[0] = 4365u; - span22[1] = 4364u; - obj56.KillEnemyDataIds = list76; - reference56 = obj56; - obj55.Steps = list75; - reference55 = obj55; - ref QuestSequence reference57 = ref span21[3]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Interact, 2006607u, new Vector3(207.75159f, -105.42462f, 596.765f), 398) - { - Fly = true - }; - obj57.Steps = list77; - reference57 = obj57; - ref QuestSequence reference58 = ref span21[4]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016002u, new Vector3(225.11633f, -116.6398f, 504.72266f), 398); - obj58.Steps = list78; - reference58 = obj58; - questRoot9.QuestSequence = list72; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(2161); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - CollectionsMarshal.AsSpan(list79)[0] = "JerryWester"; - questRoot10.Author = list79; - num = 4; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - Span span23 = CollectionsMarshal.AsSpan(list80); - ref QuestSequence reference59 = ref span23[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016000u, new Vector3(222.49182f, -116.93088f, 504.08167f), 398); - obj59.Steps = list81; - reference59 = obj59; - ref QuestSequence reference60 = ref span23[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.Interact, 1011935u, new Vector3(-285.63367f, 39.04305f, 53.72693f), 398) - { - StopDistance = 9f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - obj60.Steps = list82; - reference60 = obj60; - ref QuestSequence reference61 = ref span23[2]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.Interact, 1012401u, new Vector3(-8.560364f, 5.4681287f, 40.6958f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard - }; - obj61.Steps = list83; - reference61 = obj61; - ref QuestSequence reference62 = ref span23[3]; - QuestSequence obj62 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016008u, new Vector3(125.93262f, 24.458836f, -5.5390625f), 418); - obj62.Steps = list84; - reference62 = obj62; - questRoot10.QuestSequence = list80; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(2162); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - CollectionsMarshal.AsSpan(list85)[0] = "JerryWester"; - questRoot11.Author = list85; - num = 6; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - Span span24 = CollectionsMarshal.AsSpan(list86); - ref QuestSequence reference63 = ref span24[0]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016008u, new Vector3(125.93262f, 24.458836f, -5.5390625f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj63.Steps = list87; - reference63 = obj63; - ref QuestSequence reference64 = ref span24[1]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 1012384u, new Vector3(-182.66577f, -12.534915f, -39.871887f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardJeweledCrozier - } - }; - obj64.Steps = list88; - reference64 = obj64; - ref QuestSequence reference65 = ref span24[2]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - Span span25 = CollectionsMarshal.AsSpan(list89); - ref QuestStep reference66 = ref span25[0]; - QuestStep obj66 = new QuestStep(EInteractionType.Interact, 1016018u, new Vector3(26.16919f, 27.964573f, -146.71558f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardJeweledCrozier, - To = EAetheryteLocation.IshgardTribunal - } - }; - num3 = 6; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - Span span26 = CollectionsMarshal.AsSpan(list90); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj66.CompletionQuestVariablesFlags = list90; - reference66 = obj66; - ref QuestStep reference67 = ref span25[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1016020u, new Vector3(-3.3112793f, 27.753849f, -148.4856f), 419); - num3 = 6; - List list91 = new List(num3); - CollectionsMarshal.SetCount(list91, num3); - Span span27 = CollectionsMarshal.AsSpan(list91); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list91; - reference67 = questStep; - ref QuestStep reference68 = ref span25[2]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1016015u, new Vector3(-7.827942f, 26.965073f, -106.6759f), 419); - num3 = 6; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - Span span28 = CollectionsMarshal.AsSpan(list92); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list92; - reference68 = questStep2; - obj65.Steps = list89; - reference65 = obj65; - ref QuestSequence reference69 = ref span24[3]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.Interact, 1016028u, new Vector3(59.861084f, -4.734944f, -41.61145f), 419); - obj67.Steps = list93; - reference69 = obj67; - ref QuestSequence reference70 = ref span24[4]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Interact, 1016031u, new Vector3(14.5112915f, -12.020877f, 37.03357f), 418) - { - StopDistance = 7f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardAthenaeumAstrologicum, - To = EAetheryteLocation.IshgardBrume - } - }; - obj68.Steps = list94; - reference70 = obj68; - ref QuestSequence reference71 = ref span24[5]; - QuestSequence obj69 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016008u, new Vector3(125.93262f, 24.458836f, -5.5390625f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardBrume, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj69.Steps = list95; - reference71 = obj69; - questRoot11.QuestSequence = list86; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(2163); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - CollectionsMarshal.AsSpan(list96)[0] = "JerryWester"; - questRoot12.Author = list96; - num = 5; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - Span span29 = CollectionsMarshal.AsSpan(list97); - ref QuestSequence reference72 = ref span29[0]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016008u, new Vector3(125.93262f, 24.458836f, -5.5390625f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj70.Steps = list98; - reference72 = obj70; - ref QuestSequence reference73 = ref span29[1]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1016034u, new Vector3(-182.39111f, -0.23098835f, -70.72565f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - }, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj71.Steps = list99; - reference73 = obj71; - span29[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference74 = ref span29[3]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.Interact, 1016049u, new Vector3(-3.0975952f, 27.79051f, -140.36774f), 419) - { - StopDistance = 7f - }; - obj72.Steps = list100; - reference74 = obj72; - ref QuestSequence reference75 = ref span29[4]; - QuestSequence obj73 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - Span span30 = CollectionsMarshal.AsSpan(list101); - span30[0] = new QuestStep(EInteractionType.Interact, 1011217u, new Vector3(17.990356f, 16.009666f, -9.567444f), 419) - { - TargetTerritoryId = (ushort)433 - }; - span30[1] = new QuestStep(EInteractionType.CompleteQuest, 1016050u, new Vector3(0.7476196f, 0.022254243f, 4.623413f), 433) - { - StopDistance = 7f - }; - obj73.Steps = list101; - reference75 = obj73; - questRoot12.QuestSequence = list97; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(2164); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - CollectionsMarshal.AsSpan(list102)[0] = "liza"; - questRoot13.Author = list102; - num = 8; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - Span span31 = CollectionsMarshal.AsSpan(list103); - ref QuestSequence reference76 = ref span31[0]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012064u, new Vector3(-542.7787f, -37.11544f, -386.7094f), 401); - obj74.Steps = list104; - reference76 = obj74; - ref QuestSequence reference77 = ref span31[1]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 2006621u, new Vector3(-428.27502f, 201.34265f, -229.05322f), 401) - { - StopDistance = 0.5f, - Fly = true - }; - obj75.Steps = list105; - reference77 = obj75; - ref QuestSequence reference78 = ref span31[2]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - ref QuestStep reference79 = ref CollectionsMarshal.AsSpan(list106)[0]; - QuestStep obj77 = new QuestStep(EInteractionType.Combat, null, new Vector3(-427.762f, 168.23676f, -215.835f), 401) - { - StopDistance = 5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - Span span32 = CollectionsMarshal.AsSpan(list107); - span32[0] = 5232u; - span32[1] = 5233u; - obj77.KillEnemyDataIds = list107; - reference79 = obj77; - obj76.Steps = list106; - reference78 = obj76; - ref QuestSequence reference80 = ref span31[3]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.Interact, 1016150u, new Vector3(-429.52625f, 167.9683f, -224.445f), 401); - obj78.Steps = list108; - reference80 = obj78; - ref QuestSequence reference81 = ref span31[4]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.Interact, 1012064u, new Vector3(-542.7787f, -37.11544f, -386.7094f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - obj79.Steps = list109; - reference81 = obj79; - ref QuestSequence reference82 = ref span31[5]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.Interact, 1016087u, new Vector3(-796.7498f, -133.2695f, -410.6966f), 401) - { - Fly = true - }; - obj80.Steps = list110; - reference82 = obj80; - ref QuestSequence reference83 = ref span31[6]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 6 - }; - num2 = 3; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - Span span33 = CollectionsMarshal.AsSpan(list111); - ref QuestStep reference84 = ref span33[0]; - QuestStep obj82 = new QuestStep(EInteractionType.Action, 1016158u, new Vector3(-779.263f, -117.906494f, -393.54547f), 401) - { - Fly = true, - Action = EAction.BuffetSanuwa - }; - num3 = 6; - List list112 = new List(num3); - CollectionsMarshal.SetCount(list112, num3); - Span span34 = CollectionsMarshal.AsSpan(list112); - span34[0] = null; - span34[1] = null; - span34[2] = null; - span34[3] = null; - span34[4] = null; - span34[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj82.CompletionQuestVariablesFlags = list112; - reference84 = obj82; - ref QuestStep reference85 = ref span33[1]; - QuestStep obj83 = new QuestStep(EInteractionType.Action, 1016157u, new Vector3(-813.2906f, -110.49066f, -434.1955f), 401) - { - Fly = true, - Action = EAction.BuffetSanuwa - }; - num3 = 6; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - Span span35 = CollectionsMarshal.AsSpan(list113); - span35[0] = null; - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj83.CompletionQuestVariablesFlags = list113; - reference85 = obj83; - ref QuestStep reference86 = ref span33[2]; - QuestStep obj84 = new QuestStep(EInteractionType.Action, 1016156u, new Vector3(-860.59357f, -122.91144f, -378.34747f), 401) - { - Fly = true, - Action = EAction.BuffetSanuwa - }; - num3 = 6; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - Span span36 = CollectionsMarshal.AsSpan(list114); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj84.CompletionQuestVariablesFlags = list114; - reference86 = obj84; - obj81.Steps = list111; - reference83 = obj81; - ref QuestSequence reference87 = ref span31[7]; - QuestSequence obj85 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - Span span37 = CollectionsMarshal.AsSpan(list115); - span37[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-796.7498f, -133.2695f, -410.6966f), 401) - { - StopDistance = 2f, - Fly = true - }; - ref QuestStep reference88 = ref span37[1]; - QuestStep obj86 = new QuestStep(EInteractionType.CompleteQuest, 1016087u, new Vector3(-796.7498f, -133.2695f, -410.6966f), 401) - { - Mount = false - }; - num3 = 1; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - CollectionsMarshal.AsSpan(list116)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANVAN001_02164_SYSYTEM_Q1_000_110"), - Answer = new ExcelRef("TEXT_BANVAN001_02164_SYSYTEM_A1_000_111") - }; - obj86.DialogueChoices = list116; - reference88 = obj86; - obj85.Steps = list115; - reference87 = obj85; - questRoot13.QuestSequence = list103; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(2165); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - CollectionsMarshal.AsSpan(list117)[0] = "Censored"; - questRoot14.Author = list117; - num = 8; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - Span span38 = CollectionsMarshal.AsSpan(list118); - ref QuestSequence reference89 = ref span38[0]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016087u, new Vector3(-796.7498f, -133.2695f, -410.6966f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-796.7498f, -133.2695f, -410.6966f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj87.Steps = list119; - reference89 = obj87; - ref QuestSequence reference90 = ref span38[1]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.Interact, 1016159u, new Vector3(115.983765f, -93.22756f, 477.8667f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop - }; - obj88.Steps = list120; - reference90 = obj88; - ref QuestSequence reference91 = ref span38[2]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.Interact, 1016161u, new Vector3(108.04907f, -147.83774f, 495.1704f), 401) - { - Fly = true - }; - obj89.Steps = list121; - reference91 = obj89; - ref QuestSequence reference92 = ref span38[3]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.Interact, 1016159u, new Vector3(115.983765f, -93.22756f, 477.8667f), 401) - { - Fly = true - }; - obj90.Steps = list122; - reference92 = obj90; - ref QuestSequence reference93 = ref span38[4]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - ref QuestStep reference94 = ref CollectionsMarshal.AsSpan(list123)[0]; - QuestStep obj92 = new QuestStep(EInteractionType.Combat, null, new Vector3(120.88076f, -93.90284f, 481.25824f), 401) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list124 = new List(num3); - CollectionsMarshal.SetCount(list124, num3); - Span span39 = CollectionsMarshal.AsSpan(list124); - span39[0] = 5232u; - span39[1] = 5233u; - obj92.KillEnemyDataIds = list124; - reference94 = obj92; - obj91.Steps = list123; - reference93 = obj91; - ref QuestSequence reference95 = ref span38[5]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.Interact, 1016463u, new Vector3(115.983765f, -93.22756f, 477.8667f), 401); - obj93.Steps = list125; - reference95 = obj93; - ref QuestSequence reference96 = ref span38[6]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.Interact, 1012064u, new Vector3(-542.7787f, -37.11544f, -386.7094f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - obj94.Steps = list126; - reference96 = obj94; - ref QuestSequence reference97 = ref span38[7]; - QuestSequence obj95 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016087u, new Vector3(-796.7498f, -133.2695f, -410.6966f), 401) - { - Fly = true - }; - obj95.Steps = list127; - reference97 = obj95; - questRoot14.QuestSequence = list118; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(2166); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - CollectionsMarshal.AsSpan(list128)[0] = "AnimaMachinae"; - questRoot15.Author = list128; - num = 7; - List list129 = new List(num); - CollectionsMarshal.SetCount(list129, num); - Span span40 = CollectionsMarshal.AsSpan(list129); - ref QuestSequence reference98 = ref span40[0]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016087u, new Vector3(-796.7498f, -133.2695f, -410.6966f), 401); - obj96.Steps = list130; - reference98 = obj96; - ref QuestSequence reference99 = ref span40[1]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - Span span41 = CollectionsMarshal.AsSpan(list131); - span41[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-790.3409f, -129.17549f, -409.1912f), 401) - { - Fly = true - }; - span41[1] = new QuestStep(EInteractionType.Interact, 1016166u, new Vector3(557.885f, -126.23241f, 283.07007f), 401) - { - Fly = true - }; - obj97.Steps = list131; - reference99 = obj97; - ref QuestSequence reference100 = ref span40[2]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - Span span42 = CollectionsMarshal.AsSpan(list132); - ref QuestStep reference101 = ref span42[0]; - QuestStep obj99 = new QuestStep(EInteractionType.UseItem, 2006627u, new Vector3(583.52014f, -126.81775f, 268.0857f), 401) - { - ItemId = 2001901u - }; - num3 = 6; - List list133 = new List(num3); - CollectionsMarshal.SetCount(list133, num3); - Span span43 = CollectionsMarshal.AsSpan(list133); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj99.CompletionQuestVariablesFlags = list133; - reference101 = obj99; - ref QuestStep reference102 = ref span42[1]; - QuestStep obj100 = new QuestStep(EInteractionType.UseItem, 2006628u, new Vector3(632.95935f, -111.680786f, 157.85449f), 401) - { - Fly = true, - ItemId = 2001901u - }; - num3 = 6; - List list134 = new List(num3); - CollectionsMarshal.SetCount(list134, num3); - Span span44 = CollectionsMarshal.AsSpan(list134); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj100.CompletionQuestVariablesFlags = list134; - reference102 = obj100; - ref QuestStep reference103 = ref span42[2]; - QuestStep obj101 = new QuestStep(EInteractionType.UseItem, 2006629u, new Vector3(688.5939f, -95.99457f, 101.27405f), 401) - { - Fly = true, - ItemId = 2001901u - }; - num3 = 6; - List list135 = new List(num3); - CollectionsMarshal.SetCount(list135, num3); - Span span45 = CollectionsMarshal.AsSpan(list135); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj101.CompletionQuestVariablesFlags = list135; - reference103 = obj101; - ref QuestStep reference104 = ref span42[3]; - QuestStep obj102 = new QuestStep(EInteractionType.UseItem, 2006630u, new Vector3(709.86475f, -85.19116f, 29.892456f), 401) - { - Fly = true, - ItemId = 2001901u - }; - num3 = 6; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - Span span46 = CollectionsMarshal.AsSpan(list136); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj102.CompletionQuestVariablesFlags = list136; - reference104 = obj102; - ref QuestStep reference105 = ref span42[4]; - QuestStep obj103 = new QuestStep(EInteractionType.UseItem, 2006631u, new Vector3(722.8656f, -65.84277f, -57.938538f), 401) - { - Fly = true, - ItemId = 2001901u - }; - num3 = 6; - List list137 = new List(num3); - CollectionsMarshal.SetCount(list137, num3); - Span span47 = CollectionsMarshal.AsSpan(list137); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj103.CompletionQuestVariablesFlags = list137; - reference105 = obj103; - obj98.Steps = list132; - reference100 = obj98; - ref QuestSequence reference106 = ref span40[3]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.Interact, 1016166u, new Vector3(557.885f, -126.23241f, 283.07007f), 401) - { - Fly = true - }; - obj104.Steps = list138; - reference106 = obj104; - ref QuestSequence reference107 = ref span40[4]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.Emote, 1016166u, new Vector3(557.885f, -126.23241f, 283.07007f), 401) - { - Emote = EEmote.Dance - }; - obj105.Steps = list139; - reference107 = obj105; - ref QuestSequence reference108 = ref span40[5]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.Interact, 1012064u, new Vector3(-542.7787f, -37.11544f, -386.7094f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - obj106.Steps = list140; - reference108 = obj106; - ref QuestSequence reference109 = ref span40[6]; - QuestSequence obj107 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016087u, new Vector3(-796.7498f, -133.2695f, -410.6966f), 401) - { - Fly = true - }; - obj107.Steps = list141; - reference109 = obj107; - questRoot15.QuestSequence = list129; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(2167); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list142 = new List(num); - CollectionsMarshal.SetCount(list142, num); - CollectionsMarshal.AsSpan(list142)[0] = "Censored"; - questRoot16.Author = list142; - num = 6; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - Span span48 = CollectionsMarshal.AsSpan(list143); - ref QuestSequence reference110 = ref span48[0]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016087u, new Vector3(-796.7498f, -133.2695f, -410.6966f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-796.7498f, -133.2695f, -410.6966f), - MaximumDistance = 100f, - TerritoryId = 401 - } - } - } - }; - obj108.Steps = list144; - reference110 = obj108; - ref QuestSequence reference111 = ref span48[1]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - ref QuestStep reference112 = ref CollectionsMarshal.AsSpan(list145)[0]; - QuestStep obj110 = new QuestStep(EInteractionType.Combat, null, new Vector3(-298.6771f, 93.99152f, -222.3565f), 401) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - Span span49 = CollectionsMarshal.AsSpan(list146); - span49[0] = 5232u; - span49[1] = 5233u; - obj110.KillEnemyDataIds = list146; - reference112 = obj110; - obj109.Steps = list145; - reference111 = obj109; - ref QuestSequence reference113 = ref span48[2]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.Interact, 1016168u, new Vector3(-306.1723f, 93.99152f, -226.42871f), 401); - obj111.Steps = list147; - reference113 = obj111; - ref QuestSequence reference114 = ref span48[3]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.Interact, 1016172u, new Vector3(-314.71735f, -7.6638403f, -230.60962f), 401) - { - Fly = true - }; - obj112.Steps = list148; - reference114 = obj112; - ref QuestSequence reference115 = ref span48[4]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.Interact, 1012064u, new Vector3(-542.7787f, -37.11544f, -386.7094f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - obj113.Steps = list149; - reference115 = obj113; - ref QuestSequence reference116 = ref span48[5]; - QuestSequence obj114 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016087u, new Vector3(-796.7498f, -133.2695f, -410.6966f), 401) - { - Fly = true - }; - obj114.Steps = list150; - reference116 = obj114; - questRoot16.QuestSequence = list143; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(2168); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list151 = new List(num); - CollectionsMarshal.SetCount(list151, num); - CollectionsMarshal.AsSpan(list151)[0] = "Censored"; - questRoot17.Author = list151; - num = 6; - List list152 = new List(num); - CollectionsMarshal.SetCount(list152, num); - Span span50 = CollectionsMarshal.AsSpan(list152); - ref QuestSequence reference117 = ref span50[0]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016087u, new Vector3(-796.7498f, -133.2695f, -410.6966f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-796.7498f, -133.2695f, -410.6966f), - MaximumDistance = 100f, - TerritoryId = 401 - } - } - } - }; - obj115.Steps = list153; - reference117 = obj115; - ref QuestSequence reference118 = ref span50[1]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.Interact, 2006633u, new Vector3(-13.002365f, 172.73012f, -103.776634f), 401) - { - StopDistance = 1f, - Fly = true, - Land = true - }; - obj116.Steps = list154; - reference118 = obj116; - ref QuestSequence reference119 = ref span50[2]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.Interact, 1016088u, new Vector3(-818.143f, -129.93259f, -414.02307f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - obj117.Steps = list155; - reference119 = obj117; - ref QuestSequence reference120 = ref span50[3]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - ref QuestStep reference121 = ref CollectionsMarshal.AsSpan(list156)[0]; - QuestStep obj119 = new QuestStep(EInteractionType.Combat, null, new Vector3(207.00311f, -118.345215f, 420.25885f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list157 = new List(num3); - CollectionsMarshal.SetCount(list157, num3); - CollectionsMarshal.AsSpan(list157)[0] = 5234u; - obj119.KillEnemyDataIds = list157; - reference121 = obj119; - obj118.Steps = list156; - reference120 = obj118; - ref QuestSequence reference122 = ref span50[4]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.Interact, 1016173u, new Vector3(205.31006f, -118.345215f, 422.20178f), 401); - obj120.Steps = list158; - reference122 = obj120; - ref QuestSequence reference123 = ref span50[5]; - QuestSequence obj121 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016087u, new Vector3(-796.7498f, -133.2695f, -410.6966f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - obj121.Steps = list159; - reference123 = obj121; - questRoot17.QuestSequence = list152; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(2169); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list160 = new List(num); - CollectionsMarshal.SetCount(list160, num); - CollectionsMarshal.AsSpan(list160)[0] = "plogon_enjoyer"; - questRoot18.Author = list160; - num = 9; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - Span span51 = CollectionsMarshal.AsSpan(list161); - ref QuestSequence reference124 = ref span51[0]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016087u, new Vector3(-796.7498f, -133.2695f, -410.6966f), 401); - obj122.Steps = list162; - reference124 = obj122; - ref QuestSequence reference125 = ref span51[1]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.Interact, 1012064u, new Vector3(-542.7787f, -37.11544f, -386.7094f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - obj123.Steps = list163; - reference125 = obj123; - ref QuestSequence reference126 = ref span51[2]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.Interact, 1016174u, new Vector3(-606.4088f, -51.071037f, -370.87054f), 401) - { - Fly = true - }; - obj124.Steps = list164; - reference126 = obj124; - ref QuestSequence reference127 = ref span51[3]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - Span span52 = CollectionsMarshal.AsSpan(list165); - span52[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-589.2831f, -1.0348412f, -340.14413f), 401) - { - Fly = true, - Land = true - }; - span52[1] = new QuestStep(EInteractionType.Emote, null, new Vector3(-589.2831f, -1.0348412f, -340.14413f), 401) - { - Mount = false, - Emote = EEmote.Dance - }; - obj125.Steps = list165; - reference127 = obj125; - ref QuestSequence reference128 = ref span51[4]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.Interact, 1016174u, new Vector3(-606.4088f, -51.071037f, -370.87054f), 401) - { - Fly = true - }; - obj126.Steps = list166; - reference128 = obj126; - ref QuestSequence reference129 = ref span51[5]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.Interact, 1016175u, new Vector3(657.557f, -125.6886f, 307.60657f), 401) - { - Fly = true - }; - obj127.Steps = list167; - reference129 = obj127; - ref QuestSequence reference130 = ref span51[6]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - Span span53 = CollectionsMarshal.AsSpan(list168); - span53[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(702.4233f, -60.78939f, 145.91805f), 401) - { - Fly = true, - Land = true - }; - span53[1] = new QuestStep(EInteractionType.Emote, null, new Vector3(702.4233f, -60.78939f, 145.91805f), 401) - { - Mount = false, - Emote = EEmote.Dance - }; - obj128.Steps = list168; - reference130 = obj128; - ref QuestSequence reference131 = ref span51[7]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.Interact, 1016175u, new Vector3(657.557f, -125.6886f, 307.60657f), 401) - { - Fly = true - }; - obj129.Steps = list169; - reference131 = obj129; - ref QuestSequence reference132 = ref span51[8]; - QuestSequence obj130 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016174u, new Vector3(-606.4088f, -51.071037f, -370.87054f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - obj130.Steps = list170; - reference132 = obj130; - questRoot18.QuestSequence = list161; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(2170); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - CollectionsMarshal.AsSpan(list171)[0] = "plogon_enjoyer"; - questRoot19.Author = list171; - num = 5; - List list172 = new List(num); - CollectionsMarshal.SetCount(list172, num); - Span span54 = CollectionsMarshal.AsSpan(list172); - ref QuestSequence reference133 = ref span54[0]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016087u, new Vector3(-796.7498f, -133.2695f, -410.6966f), 401); - obj131.Steps = list173; - reference133 = obj131; - ref QuestSequence reference134 = ref span54[1]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.Emote, 2006623u, new Vector3(-761.74567f, -132.61621f, -422.1714f), 401) - { - Fly = true, - Emote = EEmote.SundropDance - }; - obj132.Steps = list174; - reference134 = obj132; - ref QuestSequence reference135 = ref span54[2]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.Interact, 1016087u, new Vector3(-796.7498f, -133.2695f, -410.6966f), 401) - { - Fly = true - }; - obj133.Steps = list175; - reference135 = obj133; - ref QuestSequence reference136 = ref span54[3]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - CollectionsMarshal.AsSpan(list176)[0] = new QuestStep(EInteractionType.Interact, 1012064u, new Vector3(-542.7787f, -37.11544f, -386.7094f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - obj134.Steps = list176; - reference136 = obj134; - ref QuestSequence reference137 = ref span54[4]; - QuestSequence obj135 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.CompleteQuest, 2006637u, new Vector3(-220.47766f, -4.9592285f, -582.3301f), 401) - { - Fly = true - }; - obj135.Steps = list177; - reference137 = obj135; - questRoot19.QuestSequence = list172; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(2171); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list178 = new List(num); - CollectionsMarshal.SetCount(list178, num); - CollectionsMarshal.AsSpan(list178)[0] = "plogon_enjoyer"; - questRoot20.Author = list178; - num = 3; - List list179 = new List(num); - CollectionsMarshal.SetCount(list179, num); - Span span55 = CollectionsMarshal.AsSpan(list179); - ref QuestSequence reference138 = ref span55[0]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj136.Steps = list180; - reference138 = obj136; - ref QuestSequence reference139 = ref span55[1]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - Span span56 = CollectionsMarshal.AsSpan(list181); - span56[0] = new QuestStep(EInteractionType.Interact, 2006639u, new Vector3(-270.3136f, -13.962036f, -635.2484f), 401) - { - Fly = true - }; - ref QuestStep reference140 = ref span56[1]; - QuestStep obj138 = new QuestStep(EInteractionType.Combat, 2006642u, new Vector3(-245.41089f, -13.229614f, -608.2704f), 401) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list182 = new List(num3); - CollectionsMarshal.SetCount(list182, num3); - CollectionsMarshal.AsSpan(list182)[0] = 5236u; - obj138.KillEnemyDataIds = list182; - reference140 = obj138; - span56[2] = new QuestStep(EInteractionType.Interact, 2006640u, new Vector3(-82.230896f, -10.727112f, -637.90344f), 401) - { - Fly = true - }; - ref QuestStep reference141 = ref span56[3]; - QuestStep obj139 = new QuestStep(EInteractionType.Combat, 2006641u, new Vector3(-24.765442f, 5.3253784f, -657.70966f), 401) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list183 = new List(num3); - CollectionsMarshal.SetCount(list183, num3); - CollectionsMarshal.AsSpan(list183)[0] = 5236u; - obj139.KillEnemyDataIds = list183; - reference141 = obj139; - obj137.Steps = list181; - reference139 = obj137; - ref QuestSequence reference142 = ref span55[2]; - QuestSequence obj140 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - CollectionsMarshal.AsSpan(list184)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-799.46594f, -133.2695f, -404.1352f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - obj140.Steps = list184; - reference142 = obj140; - questRoot20.QuestSequence = list179; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(2172); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list185 = new List(num); - CollectionsMarshal.SetCount(list185, num); - CollectionsMarshal.AsSpan(list185)[0] = "plogon_enjoyer"; - questRoot21.Author = list185; - num = 5; - List list186 = new List(num); - CollectionsMarshal.SetCount(list186, num); - Span span57 = CollectionsMarshal.AsSpan(list186); - ref QuestSequence reference143 = ref span57[0]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj141.Steps = list187; - reference143 = obj141; - ref QuestSequence reference144 = ref span57[1]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - Span span58 = CollectionsMarshal.AsSpan(list188); - span58[0] = new QuestStep(EInteractionType.Interact, 2006645u, new Vector3(-473.10602f, -56.01587f, -624.1398f), 401) - { - Fly = true - }; - span58[1] = new QuestStep(EInteractionType.Interact, 2006644u, new Vector3(-365.92664f, -57.053528f, -579.553f), 401) - { - Fly = true - }; - span58[2] = new QuestStep(EInteractionType.Interact, 2006643u, new Vector3(-381.9486f, -56.50421f, -521.8433f), 401) - { - Fly = true - }; - obj142.Steps = list188; - reference144 = obj142; - ref QuestSequence reference145 = ref span57[2]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - Span span59 = CollectionsMarshal.AsSpan(list189); - span59[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - span59[1] = new QuestStep(EInteractionType.Interact, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401) - { - Mount = false - }; - obj143.Steps = list189; - reference145 = obj143; - ref QuestSequence reference146 = ref span57[3]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.Interact, 1012056u, new Vector3(-658.89984f, -127.78361f, 622.98f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop - }; - obj144.Steps = list190; - reference146 = obj144; - ref QuestSequence reference147 = ref span57[4]; - QuestSequence obj145 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-799.46594f, -133.2695f, -404.1352f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - obj145.Steps = list191; - reference147 = obj145; - questRoot21.QuestSequence = list186; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(2173); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list192 = new List(num); - CollectionsMarshal.SetCount(list192, num); - CollectionsMarshal.AsSpan(list192)[0] = "AnimaMachinae"; - questRoot22.Author = list192; - num = 4; - List list193 = new List(num); - CollectionsMarshal.SetCount(list193, num); - Span span60 = CollectionsMarshal.AsSpan(list193); - ref QuestSequence reference148 = ref span60[0]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj146.Steps = list194; - reference148 = obj146; - ref QuestSequence reference149 = ref span60[1]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - Span span61 = CollectionsMarshal.AsSpan(list195); - span61[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-776.0281f, -133.35559f, -414.32825f), 401) - { - StopDistance = 3f, - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-776.0281f, -133.35559f, -414.32825f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - span61[1] = new QuestStep(EInteractionType.Interact, 1016093u, new Vector3(-776.0281f, -133.35559f, -414.32825f), 401); - obj147.Steps = list195; - reference149 = obj147; - ref QuestSequence reference150 = ref span60[2]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 2 - }; - num2 = 8; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - Span span62 = CollectionsMarshal.AsSpan(list196); - span62[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-544.89056f, 61.602722f, -373.9669f), 401) - { - Fly = true - }; - ref QuestStep reference151 = ref span62[1]; - QuestStep obj149 = new QuestStep(EInteractionType.Action, 2006649u, new Vector3(-539.0555f, 64.22522f, -377.0047f), 401) - { - StopDistance = 3f, - Action = EAction.BuffetSanuwa - }; - num3 = 6; - List list197 = new List(num3); - CollectionsMarshal.SetCount(list197, num3); - Span span63 = CollectionsMarshal.AsSpan(list197); - span63[0] = null; - span63[1] = null; - span63[2] = null; - span63[3] = null; - span63[4] = null; - span63[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj149.CompletionQuestVariablesFlags = list197; - reference151 = obj149; - span62[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-505.35422f, -28.166508f, -528.1072f), 401) - { - Fly = true - }; - ref QuestStep reference152 = ref span62[3]; - QuestStep obj150 = new QuestStep(EInteractionType.Action, 2006647u, new Vector3(-504.78372f, -26.68805f, -530.93774f), 401) - { - StopDistance = 3f, - Action = EAction.BuffetSanuwa - }; - num3 = 6; - List list198 = new List(num3); - CollectionsMarshal.SetCount(list198, num3); - Span span64 = CollectionsMarshal.AsSpan(list198); - span64[0] = null; - span64[1] = null; - span64[2] = null; - span64[3] = null; - span64[4] = null; - span64[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj150.CompletionQuestVariablesFlags = list198; - reference152 = obj150; - span62[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-478.25208f, -31.101946f, -663.0455f), 401) - { - Fly = true - }; - ref QuestStep reference153 = ref span62[5]; - QuestStep obj151 = new QuestStep(EInteractionType.Action, 2006648u, new Vector3(-477.40906f, -28.885437f, -668.32996f), 401) - { - StopDistance = 3f, - Action = EAction.BuffetSanuwa - }; - num3 = 6; - List list199 = new List(num3); - CollectionsMarshal.SetCount(list199, num3); - Span span65 = CollectionsMarshal.AsSpan(list199); - span65[0] = null; - span65[1] = null; - span65[2] = null; - span65[3] = null; - span65[4] = null; - span65[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj151.CompletionQuestVariablesFlags = list199; - reference153 = obj151; - span62[6] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-102.45963f, -1.2632592f, -619.294f), 401) - { - Fly = true - }; - span62[7] = new QuestStep(EInteractionType.Action, 2006646u, new Vector3(-96.20813f, 0.32037354f, -620.26404f), 401) - { - StopDistance = 3f, - Action = EAction.BuffetSanuwa - }; - obj148.Steps = list196; - reference150 = obj148; - ref QuestSequence reference154 = ref span60[3]; - QuestSequence obj152 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - obj152.Steps = list200; - reference154 = obj152; - questRoot22.QuestSequence = list193; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(2174); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list201 = new List(num); - CollectionsMarshal.SetCount(list201, num); - CollectionsMarshal.AsSpan(list201)[0] = "AnimaMachinae"; - questRoot23.Author = list201; - num = 3; - List list202 = new List(num); - CollectionsMarshal.SetCount(list202, num); - Span span66 = CollectionsMarshal.AsSpan(list202); - ref QuestSequence reference155 = ref span66[0]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj153.Steps = list203; - reference155 = obj153; - ref QuestSequence reference156 = ref span66[1]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - Span span67 = CollectionsMarshal.AsSpan(list204); - ref QuestStep reference157 = ref span67[0]; - QuestStep obj155 = new QuestStep(EInteractionType.Interact, 2006651u, new Vector3(664.3624f, -30.86908f, -137.0108f), 401) - { - Fly = true - }; - num3 = 6; - List list205 = new List(num3); - CollectionsMarshal.SetCount(list205, num3); - Span span68 = CollectionsMarshal.AsSpan(list205); - span68[0] = null; - span68[1] = null; - span68[2] = null; - span68[3] = null; - span68[4] = null; - span68[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj155.CompletionQuestVariablesFlags = list205; - reference157 = obj155; - ref QuestStep reference158 = ref span67[1]; - QuestStep obj156 = new QuestStep(EInteractionType.Interact, 2006652u, new Vector3(847.2876f, -50.58368f, 7.2174683f), 401) - { - Fly = true - }; - num3 = 6; - List list206 = new List(num3); - CollectionsMarshal.SetCount(list206, num3); - Span span69 = CollectionsMarshal.AsSpan(list206); - span69[0] = null; - span69[1] = null; - span69[2] = null; - span69[3] = null; - span69[4] = null; - span69[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj156.CompletionQuestVariablesFlags = list206; - reference158 = obj156; - ref QuestStep reference159 = ref span67[2]; - QuestStep obj157 = new QuestStep(EInteractionType.Combat, 2006653u, new Vector3(860.2273f, -84.45868f, 19.272095f), 401) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list207 = new List(num3); - CollectionsMarshal.SetCount(list207, num3); - CollectionsMarshal.AsSpan(list207)[0] = 5235u; - obj157.KillEnemyDataIds = list207; - num3 = 6; - List list208 = new List(num3); - CollectionsMarshal.SetCount(list208, num3); - Span span70 = CollectionsMarshal.AsSpan(list208); - span70[0] = null; - span70[1] = null; - span70[2] = null; - span70[3] = null; - span70[4] = null; - span70[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj157.CompletionQuestVariablesFlags = list208; - reference159 = obj157; - ref QuestStep reference160 = ref span67[3]; - QuestStep obj158 = new QuestStep(EInteractionType.Combat, 2006654u, new Vector3(642.63354f, -92.57648f, 63.035034f), 401) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list209 = new List(num3); - CollectionsMarshal.SetCount(list209, num3); - CollectionsMarshal.AsSpan(list209)[0] = 5235u; - obj158.KillEnemyDataIds = list209; - reference160 = obj158; - obj154.Steps = list204; - reference156 = obj154; - ref QuestSequence reference161 = ref span66[2]; - QuestSequence obj159 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - CollectionsMarshal.AsSpan(list210)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-799.46594f, -133.2695f, -404.1352f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - obj159.Steps = list210; - reference161 = obj159; - questRoot23.QuestSequence = list202; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(2175); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list211 = new List(num); - CollectionsMarshal.SetCount(list211, num); - CollectionsMarshal.AsSpan(list211)[0] = "AnimaMachinae"; - questRoot24.Author = list211; - num = 6; - List list212 = new List(num); - CollectionsMarshal.SetCount(list212, num); - Span span71 = CollectionsMarshal.AsSpan(list212); - ref QuestSequence reference162 = ref span71[0]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - CollectionsMarshal.AsSpan(list213)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj160.Steps = list213; - reference162 = obj160; - ref QuestSequence reference163 = ref span71[1]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - Span span72 = CollectionsMarshal.AsSpan(list214); - span72[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-776.0281f, -133.35559f, -414.32825f), 401) - { - StopDistance = 3f, - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-776.0281f, -133.35559f, -414.32825f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - span72[1] = new QuestStep(EInteractionType.Interact, 1016093u, new Vector3(-776.0281f, -133.35559f, -414.32825f), 401); - obj161.Steps = list214; - reference163 = obj161; - ref QuestSequence reference164 = ref span71[2]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.Action, 2006655u, new Vector3(-48.325317f, 17.990356f, -852.47577f), 401) - { - Fly = true, - Action = EAction.BuffetSanuwa - }; - obj162.Steps = list215; - reference164 = obj162; - ref QuestSequence reference165 = ref span71[3]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - CollectionsMarshal.AsSpan(list216)[0] = new QuestStep(EInteractionType.Action, 2006656u, new Vector3(95.23157f, -11.886841f, -817.6242f), 401) - { - Fly = true, - Action = EAction.BuffetSanuwa - }; - obj163.Steps = list216; - reference165 = obj163; - ref QuestSequence reference166 = ref span71[4]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.Action, 2006657u, new Vector3(205.8899f, -6.9123535f, -785.70233f), 401) - { - Fly = true, - Action = EAction.BuffetSanuwa - }; - obj164.Steps = list217; - reference166 = obj164; - ref QuestSequence reference167 = ref span71[5]; - QuestSequence obj165 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - CollectionsMarshal.AsSpan(list218)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - obj165.Steps = list218; - reference167 = obj165; - questRoot24.QuestSequence = list212; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(2176); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list219 = new List(num); - CollectionsMarshal.SetCount(list219, num); - CollectionsMarshal.AsSpan(list219)[0] = "AnimaMachinae"; - questRoot25.Author = list219; - num = 4; - List list220 = new List(num); - CollectionsMarshal.SetCount(list220, num); - Span span73 = CollectionsMarshal.AsSpan(list220); - ref QuestSequence reference168 = ref span73[0]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj166.Steps = list221; - reference168 = obj166; - ref QuestSequence reference169 = ref span73[1]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - CollectionsMarshal.AsSpan(list222)[0] = new QuestStep(EInteractionType.Interact, 1011952u, new Vector3(-277.63788f, -184.59735f, 741.60376f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop - }; - obj167.Steps = list222; - reference169 = obj167; - ref QuestSequence reference170 = ref span73[2]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 2 - }; - num2 = 6; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - Span span74 = CollectionsMarshal.AsSpan(list223); - ref QuestStep reference171 = ref span74[0]; - QuestStep obj169 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(151.96031f, -135.00737f, 611.10016f), 401) - { - Fly = true - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list224 = new List(num3); - CollectionsMarshal.SetCount(list224, num3); - Span span75 = CollectionsMarshal.AsSpan(list224); - span75[0] = null; - span75[1] = null; - span75[2] = null; - span75[3] = null; - span75[4] = null; - span75[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list224; - skipConditions5.StepIf = skipStepConditions3; - obj169.SkipConditions = skipConditions5; - reference171 = obj169; - ref QuestStep reference172 = ref span74[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2006662u, new Vector3(150.77429f, -133.98956f, 610.00977f), 401); - num3 = 6; - List list225 = new List(num3); - CollectionsMarshal.SetCount(list225, num3); - Span span76 = CollectionsMarshal.AsSpan(list225); - span76[0] = null; - span76[1] = null; - span76[2] = null; - span76[3] = null; - span76[4] = null; - span76[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list225; - reference172 = questStep3; - ref QuestStep reference173 = ref span74[2]; - QuestStep obj170 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(208.36453f, -125.28946f, 630.55835f), 401) - { - Fly = true - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list226 = new List(num3); - CollectionsMarshal.SetCount(list226, num3); - Span span77 = CollectionsMarshal.AsSpan(list226); - span77[0] = null; - span77[1] = null; - span77[2] = null; - span77[3] = null; - span77[4] = null; - span77[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list226; - skipConditions6.StepIf = skipStepConditions4; - obj170.SkipConditions = skipConditions6; - reference173 = obj170; - ref QuestStep reference174 = ref span74[3]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2006661u, new Vector3(207.2633f, -124.101685f, 631.8303f), 401); - num3 = 6; - List list227 = new List(num3); - CollectionsMarshal.SetCount(list227, num3); - Span span78 = CollectionsMarshal.AsSpan(list227); - span78[0] = null; - span78[1] = null; - span78[2] = null; - span78[3] = null; - span78[4] = null; - span78[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list227; - reference174 = questStep4; - span74[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(402.99722f, -125.28946f, 724.59906f), 401) - { - Fly = true - }; - span74[5] = new QuestStep(EInteractionType.Interact, 2006658u, new Vector3(407.187f, -122.51471f, 724.0558f), 401) - { - Mount = false - }; - obj168.Steps = list223; - reference170 = obj168; - ref QuestSequence reference175 = ref span73[3]; - QuestSequence obj171 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-799.46594f, -133.2695f, -404.1352f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - obj171.Steps = list228; - reference175 = obj171; - questRoot25.QuestSequence = list220; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(2177); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list229 = new List(num); - CollectionsMarshal.SetCount(list229, num); - CollectionsMarshal.AsSpan(list229)[0] = "liza"; - questRoot26.Author = list229; - num = 3; - List list230 = new List(num); - CollectionsMarshal.SetCount(list230, num); - Span span79 = CollectionsMarshal.AsSpan(list230); - ref QuestSequence reference176 = ref span79[0]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj172.Steps = list231; - reference176 = obj172; - ref QuestSequence reference177 = ref span79[1]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - Span span80 = CollectionsMarshal.AsSpan(list232); - ref QuestStep reference178 = ref span80[0]; - QuestStep obj174 = new QuestStep(EInteractionType.Interact, 2006663u, new Vector3(665.0034f, -158.7702f, 662.2567f), 401) - { - Fly = true - }; - num3 = 6; - List list233 = new List(num3); - CollectionsMarshal.SetCount(list233, num3); - Span span81 = CollectionsMarshal.AsSpan(list233); - span81[0] = null; - span81[1] = null; - span81[2] = null; - span81[3] = null; - span81[4] = null; - span81[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj174.CompletionQuestVariablesFlags = list233; - reference178 = obj174; - ref QuestStep reference179 = ref span80[1]; - QuestStep obj175 = new QuestStep(EInteractionType.Interact, 2006665u, new Vector3(728.1146f, -157.45789f, 815.5488f), 401) - { - Fly = true, - Comment = "Enemy despawns when out of range" - }; - num3 = 6; - List list234 = new List(num3); - CollectionsMarshal.SetCount(list234, num3); - Span span82 = CollectionsMarshal.AsSpan(list234); - span82[0] = null; - span82[1] = null; - span82[2] = null; - span82[3] = null; - span82[4] = null; - span82[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj175.CompletionQuestVariablesFlags = list234; - reference179 = obj175; - ref QuestStep reference180 = ref span80[2]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2006664u, new Vector3(625.3605f, -160.29602f, 835.62976f), 401); - num3 = 6; - List list235 = new List(num3); - CollectionsMarshal.SetCount(list235, num3); - Span span83 = CollectionsMarshal.AsSpan(list235); - span83[0] = null; - span83[1] = null; - span83[2] = null; - span83[3] = null; - span83[4] = null; - span83[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list235; - reference180 = questStep5; - obj173.Steps = list232; - reference177 = obj173; - ref QuestSequence reference181 = ref span79[2]; - QuestSequence obj176 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-799.46594f, -133.2695f, -404.1352f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - obj176.Steps = list236; - reference181 = obj176; - questRoot26.QuestSequence = list230; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(2178); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list237 = new List(num); - CollectionsMarshal.SetCount(list237, num); - CollectionsMarshal.AsSpan(list237)[0] = "liza"; - questRoot27.Author = list237; - num = 4; - List list238 = new List(num); - CollectionsMarshal.SetCount(list238, num); - Span span84 = CollectionsMarshal.AsSpan(list238); - ref QuestSequence reference182 = ref span84[0]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - CollectionsMarshal.AsSpan(list239)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj177.Steps = list239; - reference182 = obj177; - ref QuestSequence reference183 = ref span84[1]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - Span span85 = CollectionsMarshal.AsSpan(list240); - span85[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-776.0281f, -133.35559f, -414.32825f), 401) - { - StopDistance = 3f, - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-776.0281f, -133.35559f, -414.32825f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - span85[1] = new QuestStep(EInteractionType.Interact, 1016093u, new Vector3(-776.0281f, -133.35559f, -414.32825f), 401); - obj178.Steps = list240; - reference183 = obj178; - ref QuestSequence reference184 = ref span84[2]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - Span span86 = CollectionsMarshal.AsSpan(list241); - ref QuestStep reference185 = ref span86[0]; - QuestStep obj180 = new QuestStep(EInteractionType.Action, 1016219u, new Vector3(14.389221f, -111.05486f, 413.71777f), 401) - { - Fly = true, - Action = EAction.BuffetSanuwa - }; - num3 = 6; - List list242 = new List(num3); - CollectionsMarshal.SetCount(list242, num3); - Span span87 = CollectionsMarshal.AsSpan(list242); - span87[0] = null; - span87[1] = null; - span87[2] = null; - span87[3] = null; - span87[4] = null; - span87[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj180.CompletionQuestVariablesFlags = list242; - reference185 = obj180; - ref QuestStep reference186 = ref span86[1]; - QuestStep obj181 = new QuestStep(EInteractionType.Action, 1016217u, new Vector3(97.48987f, -86.45681f, 466.57495f), 401) - { - Fly = true, - Action = EAction.BuffetSanuwa - }; - num3 = 6; - List list243 = new List(num3); - CollectionsMarshal.SetCount(list243, num3); - Span span88 = CollectionsMarshal.AsSpan(list243); - span88[0] = null; - span88[1] = null; - span88[2] = null; - span88[3] = null; - span88[4] = null; - span88[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj181.CompletionQuestVariablesFlags = list243; - reference186 = obj181; - ref QuestStep reference187 = ref span86[2]; - QuestStep obj182 = new QuestStep(EInteractionType.Action, 1016218u, new Vector3(137.95679f, -87.380325f, 434.62268f), 401) - { - Fly = true, - Action = EAction.BuffetSanuwa - }; - num3 = 6; - List list244 = new List(num3); - CollectionsMarshal.SetCount(list244, num3); - Span span89 = CollectionsMarshal.AsSpan(list244); - span89[0] = null; - span89[1] = null; - span89[2] = null; - span89[3] = null; - span89[4] = null; - span89[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj182.CompletionQuestVariablesFlags = list244; - reference187 = obj182; - obj179.Steps = list241; - reference184 = obj179; - ref QuestSequence reference188 = ref span84[3]; - QuestSequence obj183 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - obj183.Steps = list245; - reference188 = obj183; - questRoot27.QuestSequence = list238; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(2179); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list246 = new List(num); - CollectionsMarshal.SetCount(list246, num); - CollectionsMarshal.AsSpan(list246)[0] = "plogon_enjoyer"; - questRoot28.Author = list246; - num = 4; - List list247 = new List(num); - CollectionsMarshal.SetCount(list247, num); - Span span90 = CollectionsMarshal.AsSpan(list247); - ref QuestSequence reference189 = ref span90[0]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj184.Steps = list248; - reference189 = obj184; - ref QuestSequence reference190 = ref span90[1]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - Span span91 = CollectionsMarshal.AsSpan(list249); - span91[0] = new QuestStep(EInteractionType.Interact, 1012057u, new Vector3(-599.0845f, -122.5f, 559.50244f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop - }; - span91[1] = new QuestStep(EInteractionType.Interact, 1012055u, new Vector3(-656.76355f, -117.32357f, 492.78992f), 401) - { - Fly = true - }; - span91[2] = new QuestStep(EInteractionType.Interact, 1016215u, new Vector3(-279.71313f, -156.87129f, 766.9946f), 401) - { - Fly = true - }; - obj185.Steps = list249; - reference190 = obj185; - ref QuestSequence reference191 = ref span90[2]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - Span span92 = CollectionsMarshal.AsSpan(list250); - span92[0] = new QuestStep(EInteractionType.Interact, 2006702u, new Vector3(270.8933f, -114.21387f, 395.2544f), 401) - { - Fly = true - }; - span92[1] = new QuestStep(EInteractionType.Interact, 2006703u, new Vector3(504.1123f, -101.335205f, 360.58594f), 401) - { - Fly = true - }; - obj186.Steps = list250; - reference191 = obj186; - ref QuestSequence reference192 = ref span90[3]; - QuestSequence obj187 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-799.46594f, -133.2695f, -404.1352f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - obj187.Steps = list251; - reference192 = obj187; - questRoot28.QuestSequence = list247; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(2180); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list252 = new List(num); - CollectionsMarshal.SetCount(list252, num); - CollectionsMarshal.AsSpan(list252)[0] = "plogon_enjoyer"; - questRoot29.Author = list252; - num = 5; - List list253 = new List(num); - CollectionsMarshal.SetCount(list253, num); - Span span93 = CollectionsMarshal.AsSpan(list253); - ref QuestSequence reference193 = ref span93[0]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj188.Steps = list254; - reference193 = obj188; - ref QuestSequence reference194 = ref span93[1]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - Span span94 = CollectionsMarshal.AsSpan(list255); - ref QuestStep reference195 = ref span94[0]; - QuestStep obj190 = new QuestStep(EInteractionType.Interact, 2006667u, new Vector3(-792.59937f, -58.365784f, 188.06738f), 401) - { - Fly = true - }; - num3 = 6; - List> list256 = new List>(num3); - CollectionsMarshal.SetCount(list256, num3); - Span> span95 = CollectionsMarshal.AsSpan(list256); - span95[0] = null; - span95[1] = null; - ref List reference196 = ref span95[2]; - int num4 = 1; - List list257 = new List(num4); - CollectionsMarshal.SetCount(list257, num4); - CollectionsMarshal.AsSpan(list257)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference196 = list257; - span95[3] = null; - span95[4] = null; - span95[5] = null; - obj190.RequiredQuestVariables = list256; - reference195 = obj190; - ref QuestStep reference197 = ref span94[1]; - QuestStep obj191 = new QuestStep(EInteractionType.Interact, 2006761u, new Vector3(-759.4568f, -61.905884f, 140.21509f), 401) - { - Fly = true - }; - num3 = 6; - List> list258 = new List>(num3); - CollectionsMarshal.SetCount(list258, num3); - Span> span96 = CollectionsMarshal.AsSpan(list258); - span96[0] = null; - span96[1] = null; - ref List reference198 = ref span96[2]; - num4 = 1; - List list259 = new List(num4); - CollectionsMarshal.SetCount(list259, num4); - CollectionsMarshal.AsSpan(list259)[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference198 = list259; - span96[3] = null; - span96[4] = null; - span96[5] = null; - obj191.RequiredQuestVariables = list258; - reference197 = obj191; - obj189.Steps = list255; - reference194 = obj189; - ref QuestSequence reference199 = ref span93[2]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - ref QuestStep reference200 = ref CollectionsMarshal.AsSpan(list260)[0]; - QuestStep obj193 = new QuestStep(EInteractionType.Combat, 2006666u, new Vector3(-627.863f, -59.372925f, -162.12714f), 401) - { - Fly = true, - ItemId = 2001941u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list261 = new List(num3); - CollectionsMarshal.SetCount(list261, num3); - CollectionsMarshal.AsSpan(list261)[0] = 5238u; - obj193.KillEnemyDataIds = list261; - num3 = 6; - List> list262 = new List>(num3); - CollectionsMarshal.SetCount(list262, num3); - Span> span97 = CollectionsMarshal.AsSpan(list262); - span97[0] = null; - ref List reference201 = ref span97[1]; - num4 = 1; - List list263 = new List(num4); - CollectionsMarshal.SetCount(list263, num4); - CollectionsMarshal.AsSpan(list263)[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - reference201 = list263; - span97[2] = null; - span97[3] = null; - span97[4] = null; - span97[5] = null; - obj193.RequiredQuestVariables = list262; - reference200 = obj193; - obj192.Steps = list260; - reference199 = obj192; - ref QuestSequence reference202 = ref span93[3]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.Interact, 1012068u, new Vector3(-597.0398f, -51.05185f, -387.0451f), 401) - { - Fly = true - }; - obj194.Steps = list264; - reference202 = obj194; - ref QuestSequence reference203 = ref span93[4]; - QuestSequence obj195 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401) - { - Fly = true - }; - obj195.Steps = list265; - reference203 = obj195; - questRoot29.QuestSequence = list253; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(2181); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list266 = new List(num); - CollectionsMarshal.SetCount(list266, num); - CollectionsMarshal.AsSpan(list266)[0] = "AnimaMachinae"; - questRoot30.Author = list266; - num = 4; - List list267 = new List(num); - CollectionsMarshal.SetCount(list267, num); - Span span98 = CollectionsMarshal.AsSpan(list267); - ref QuestSequence reference204 = ref span98[0]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - CollectionsMarshal.AsSpan(list268)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj196.Steps = list268; - reference204 = obj196; - ref QuestSequence reference205 = ref span98[1]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - CollectionsMarshal.AsSpan(list269)[0] = new QuestStep(EInteractionType.Interact, 1016091u, new Vector3(-804.25726f, -133.2695f, -390.89038f), 401); - obj197.Steps = list269; - reference205 = obj197; - ref QuestSequence reference206 = ref span98[2]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 2 - }; - num2 = 6; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - Span span99 = CollectionsMarshal.AsSpan(list270); - ref QuestStep reference207 = ref span99[0]; - QuestStep obj199 = new QuestStep(EInteractionType.Interact, 2006705u, new Vector3(-356.1914f, -153.21588f, 246.23486f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop - }; - num3 = 6; - List list271 = new List(num3); - CollectionsMarshal.SetCount(list271, num3); - Span span100 = CollectionsMarshal.AsSpan(list271); - span100[0] = null; - span100[1] = null; - span100[2] = null; - span100[3] = null; - span100[4] = null; - span100[5] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - obj199.CompletionQuestVariablesFlags = list271; - reference207 = obj199; - ref QuestStep reference208 = ref span99[1]; - QuestStep obj200 = new QuestStep(EInteractionType.Interact, 2006706u, new Vector3(-292.34766f, -142.2904f, 325.91736f), 401) - { - Fly = true - }; - num3 = 6; - List list272 = new List(num3); - CollectionsMarshal.SetCount(list272, num3); - Span span101 = CollectionsMarshal.AsSpan(list272); - span101[0] = null; - span101[1] = null; - span101[2] = null; - span101[3] = null; - span101[4] = null; - span101[5] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - obj200.CompletionQuestVariablesFlags = list272; - reference208 = obj200; - ref QuestStep reference209 = ref span99[2]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2006704u, new Vector3(-281.11694f, -133.13501f, 345.2964f), 401); - num3 = 6; - List list273 = new List(num3); - CollectionsMarshal.SetCount(list273, num3); - Span span102 = CollectionsMarshal.AsSpan(list273); - span102[0] = null; - span102[1] = null; - span102[2] = null; - span102[3] = null; - span102[4] = null; - span102[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list273; - reference209 = questStep6; - ref QuestStep reference210 = ref span99[3]; - QuestStep obj201 = new QuestStep(EInteractionType.Interact, 2006670u, new Vector3(165.85034f, -86.13721f, 415.94556f), 401) - { - Fly = true - }; - num3 = 6; - List list274 = new List(num3); - CollectionsMarshal.SetCount(list274, num3); - Span span103 = CollectionsMarshal.AsSpan(list274); - span103[0] = null; - span103[1] = null; - span103[2] = null; - span103[3] = null; - span103[4] = null; - span103[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj201.CompletionQuestVariablesFlags = list274; - reference210 = obj201; - ref QuestStep reference211 = ref span99[4]; - QuestStep obj202 = new QuestStep(EInteractionType.Interact, 2006669u, new Vector3(282.88696f, -82.26141f, 366.07922f), 401) - { - Fly = true - }; - num3 = 6; - List list275 = new List(num3); - CollectionsMarshal.SetCount(list275, num3); - Span span104 = CollectionsMarshal.AsSpan(list275); - span104[0] = null; - span104[1] = null; - span104[2] = null; - span104[3] = null; - span104[4] = null; - span104[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj202.CompletionQuestVariablesFlags = list275; - reference211 = obj202; - span99[5] = new QuestStep(EInteractionType.Interact, 2006671u, new Vector3(129.8695f, -92.17981f, 293.11047f), 401) - { - Fly = true - }; - obj198.Steps = list270; - reference206 = obj198; - ref QuestSequence reference212 = ref span98[3]; - QuestSequence obj203 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - CollectionsMarshal.AsSpan(list276)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016091u, new Vector3(-804.25726f, -133.2695f, -390.89038f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-799.46594f, -133.2695f, -404.1352f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - obj203.Steps = list276; - reference212 = obj203; - questRoot30.QuestSequence = list267; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(2182); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list277 = new List(num); - CollectionsMarshal.SetCount(list277, num); - CollectionsMarshal.AsSpan(list277)[0] = "plogon_enjoyer"; - questRoot31.Author = list277; - num = 5; - List list278 = new List(num); - CollectionsMarshal.SetCount(list278, num); - Span span105 = CollectionsMarshal.AsSpan(list278); - ref QuestSequence reference213 = ref span105[0]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - CollectionsMarshal.AsSpan(list279)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj204.Steps = list279; - reference213 = obj204; - ref QuestSequence reference214 = ref span105[1]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - CollectionsMarshal.AsSpan(list280)[0] = new QuestStep(EInteractionType.Interact, 1016091u, new Vector3(-804.25726f, -133.2695f, -390.89038f), 401); - obj205.Steps = list280; - reference214 = obj205; - ref QuestSequence reference215 = ref span105[2]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - Span span106 = CollectionsMarshal.AsSpan(list281); - span106[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-776.0281f, -133.35559f, -414.32825f), 401) - { - StopDistance = 3f, - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-776.0281f, -133.35559f, -414.32825f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - span106[1] = new QuestStep(EInteractionType.Interact, 1016093u, new Vector3(-776.0281f, -133.35559f, -414.32825f), 401) - { - Fly = true - }; - obj206.Steps = list281; - reference215 = obj206; - ref QuestSequence reference216 = ref span105[3]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - Span span107 = CollectionsMarshal.AsSpan(list282); - span107[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-850.9607f, 2.3374987f, -234.1339f), 401) - { - Fly = true - }; - ref QuestStep reference217 = ref span107[1]; - QuestStep obj208 = new QuestStep(EInteractionType.Action, 1016222u, new Vector3(-853.8186f, 7.7667847f, -223.92621f), 401) - { - Fly = true, - Action = EAction.BuffetSanuwa - }; - num3 = 6; - List list283 = new List(num3); - CollectionsMarshal.SetCount(list283, num3); - Span span108 = CollectionsMarshal.AsSpan(list283); - span108[0] = null; - span108[1] = null; - span108[2] = null; - span108[3] = null; - span108[4] = null; - span108[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj208.CompletionQuestVariablesFlags = list283; - reference217 = obj208; - ref QuestStep reference218 = ref span107[2]; - QuestStep obj209 = new QuestStep(EInteractionType.Action, 1016221u, new Vector3(-576.40955f, -51.59082f, -543.8773f), 401) - { - Fly = true, - Action = EAction.BuffetSanuwa - }; - num3 = 6; - List list284 = new List(num3); - CollectionsMarshal.SetCount(list284, num3); - Span span109 = CollectionsMarshal.AsSpan(list284); - span109[0] = null; - span109[1] = null; - span109[2] = null; - span109[3] = null; - span109[4] = null; - span109[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj209.CompletionQuestVariablesFlags = list284; - reference218 = obj209; - span107[3] = new QuestStep(EInteractionType.Action, 1016220u, new Vector3(-455.7718f, -20.828613f, -610.8644f), 401) - { - Fly = true, - Action = EAction.BuffetSanuwa - }; - obj207.Steps = list282; - reference216 = obj207; - ref QuestSequence reference219 = ref span105[4]; - QuestSequence obj210 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - CollectionsMarshal.AsSpan(list285)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016091u, new Vector3(-804.25726f, -133.2695f, -390.89038f), 401) - { - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - obj210.Steps = list285; - reference219 = obj210; - questRoot31.QuestSequence = list278; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(2183); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list286 = new List(num); - CollectionsMarshal.SetCount(list286, num); - CollectionsMarshal.AsSpan(list286)[0] = "plogon_enjoyer"; - questRoot32.Author = list286; - num = 5; - List list287 = new List(num); - CollectionsMarshal.SetCount(list287, num); - Span span110 = CollectionsMarshal.AsSpan(list287); - ref QuestSequence reference220 = ref span110[0]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - CollectionsMarshal.AsSpan(list288)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj211.Steps = list288; - reference220 = obj211; - ref QuestSequence reference221 = ref span110[1]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.Interact, 1016090u, new Vector3(-836.51483f, -133.26949f, -386.61786f), 401) - { - Fly = true - }; - obj212.Steps = list289; - reference221 = obj212; - ref QuestSequence reference222 = ref span110[2]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - Span span111 = CollectionsMarshal.AsSpan(list290); - span111[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-834.9571f, -130.33038f, -386.03116f), 401) - { - Fly = true - }; - span111[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(833.7674f, -97.81962f, -735.3544f), 401) - { - Fly = true - }; - ref QuestStep reference223 = ref span111[2]; - QuestStep obj214 = new QuestStep(EInteractionType.Combat, 1016223u, new Vector3(834.37854f, -97.83405f, -738.18567f), 401) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list291 = new List(num3); - CollectionsMarshal.SetCount(list291, num3); - CollectionsMarshal.AsSpan(list291)[0] = 5239u; - obj214.KillEnemyDataIds = list291; - reference223 = obj214; - obj213.Steps = list290; - reference222 = obj213; - ref QuestSequence reference224 = ref span110[3]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - CollectionsMarshal.AsSpan(list292)[0] = new QuestStep(EInteractionType.Interact, 1016223u, new Vector3(834.37854f, -97.83405f, -738.18567f), 401); - obj215.Steps = list292; - reference224 = obj215; - ref QuestSequence reference225 = ref span110[4]; - QuestSequence obj216 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - CollectionsMarshal.AsSpan(list293)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016090u, new Vector3(-836.51483f, -133.26949f, -386.61786f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-799.46594f, -133.2695f, -404.1352f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - obj216.Steps = list293; - reference225 = obj216; - questRoot32.QuestSequence = list287; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(2184); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list294 = new List(num); - CollectionsMarshal.SetCount(list294, num); - CollectionsMarshal.AsSpan(list294)[0] = "plogon_enjoyer"; - questRoot33.Author = list294; - num = 5; - List list295 = new List(num); - CollectionsMarshal.SetCount(list295, num); - Span span112 = CollectionsMarshal.AsSpan(list295); - ref QuestSequence reference226 = ref span112[0]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - CollectionsMarshal.AsSpan(list296)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj217.Steps = list296; - reference226 = obj217; - ref QuestSequence reference227 = ref span112[1]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - CollectionsMarshal.AsSpan(list297)[0] = new QuestStep(EInteractionType.Interact, 1016090u, new Vector3(-836.51483f, -133.26949f, -386.61786f), 401) - { - Fly = true - }; - obj218.Steps = list297; - reference227 = obj218; - ref QuestSequence reference228 = ref span112[2]; - QuestSequence obj219 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - Span span113 = CollectionsMarshal.AsSpan(list298); - span113[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-776.0281f, -133.35559f, -414.32825f), 401) - { - StopDistance = 3f, - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-776.0281f, -133.35559f, -414.32825f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - span113[1] = new QuestStep(EInteractionType.Interact, 1016093u, new Vector3(-776.0281f, -133.35559f, -414.32825f), 401) - { - Fly = true - }; - obj219.Steps = list298; - reference228 = obj219; - ref QuestSequence reference229 = ref span112[3]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - Span span114 = CollectionsMarshal.AsSpan(list299); - span114[0] = new QuestStep(EInteractionType.Action, 1016227u, new Vector3(473.1975f, -98.03464f, -527.7333f), 401) - { - Fly = true, - Action = EAction.BuffetSanuwa - }; - span114[1] = new QuestStep(EInteractionType.Action, 1016226u, new Vector3(710.9331f, -98.032555f, -741.0239f), 401) - { - Fly = true, - Action = EAction.BuffetSanuwa - }; - obj220.Steps = list299; - reference229 = obj220; - ref QuestSequence reference230 = ref span112[4]; - QuestSequence obj221 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - CollectionsMarshal.AsSpan(list300)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016090u, new Vector3(-836.51483f, -133.26949f, -386.61786f), 401) - { - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - obj221.Steps = list300; - reference230 = obj221; - questRoot33.QuestSequence = list295; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(2185); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list301 = new List(num); - CollectionsMarshal.SetCount(list301, num); - CollectionsMarshal.AsSpan(list301)[0] = "plogon_enjoyer"; - questRoot34.Author = list301; - num = 6; - List list302 = new List(num); - CollectionsMarshal.SetCount(list302, num); - Span span115 = CollectionsMarshal.AsSpan(list302); - ref QuestSequence reference231 = ref span115[0]; - QuestSequence obj222 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list303 = new List(num2); - CollectionsMarshal.SetCount(list303, num2); - CollectionsMarshal.AsSpan(list303)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj222.Steps = list303; - reference231 = obj222; - ref QuestSequence reference232 = ref span115[1]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - CollectionsMarshal.AsSpan(list304)[0] = new QuestStep(EInteractionType.Interact, 1016092u, new Vector3(-792.6299f, -133.32184f, -425.5589f), 401) - { - Fly = true - }; - obj223.Steps = list304; - reference232 = obj223; - ref QuestSequence reference233 = ref span115[2]; - QuestSequence obj224 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - Span span116 = CollectionsMarshal.AsSpan(list305); - ref QuestStep reference234 = ref span116[0]; - QuestStep obj225 = new QuestStep(EInteractionType.Interact, 2006676u, new Vector3(-717.0062f, -13.901062f, -101.487854f), 401) - { - Fly = true - }; - num3 = 6; - List> list306 = new List>(num3); - CollectionsMarshal.SetCount(list306, num3); - Span> span117 = CollectionsMarshal.AsSpan(list306); - span117[0] = null; - span117[1] = null; - ref List reference235 = ref span117[2]; - num4 = 1; - List list307 = new List(num4); - CollectionsMarshal.SetCount(list307, num4); - CollectionsMarshal.AsSpan(list307)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference235 = list307; - span117[3] = null; - span117[4] = null; - span117[5] = null; - obj225.RequiredQuestVariables = list306; - reference234 = obj225; - ref QuestStep reference236 = ref span116[1]; - QuestStep obj226 = new QuestStep(EInteractionType.Interact, 2006762u, new Vector3(-781.52136f, -13.931519f, -114.30542f), 401) - { - Fly = true - }; - num3 = 6; - List> list308 = new List>(num3); - CollectionsMarshal.SetCount(list308, num3); - Span> span118 = CollectionsMarshal.AsSpan(list308); - span118[0] = null; - span118[1] = null; - ref List reference237 = ref span118[2]; - num4 = 1; - List list309 = new List(num4); - CollectionsMarshal.SetCount(list309, num4); - CollectionsMarshal.AsSpan(list309)[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference237 = list309; - span118[3] = null; - span118[4] = null; - span118[5] = null; - obj226.RequiredQuestVariables = list308; - reference236 = obj226; - obj224.Steps = list305; - reference233 = obj224; - ref QuestSequence reference238 = ref span115[3]; - QuestSequence obj227 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - ref QuestStep reference239 = ref CollectionsMarshal.AsSpan(list310)[0]; - QuestStep obj228 = new QuestStep(EInteractionType.Combat, 2006675u, new Vector3(-642.298f, -207.29382f, 211.10852f), 401) - { - Fly = true, - ItemId = 2001912u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list311 = new List(num3); - CollectionsMarshal.SetCount(list311, num3); - CollectionsMarshal.AsSpan(list311)[0] = 5240u; - obj228.KillEnemyDataIds = list311; - reference239 = obj228; - obj227.Steps = list310; - reference238 = obj227; - ref QuestSequence reference240 = ref span115[4]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - CollectionsMarshal.AsSpan(list312)[0] = new QuestStep(EInteractionType.Interact, 1012054u, new Vector3(-640.1007f, -119.56208f, 469.5963f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop - }; - obj229.Steps = list312; - reference240 = obj229; - ref QuestSequence reference241 = ref span115[5]; - QuestSequence obj230 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list313 = new List(num2); - CollectionsMarshal.SetCount(list313, num2); - CollectionsMarshal.AsSpan(list313)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016092u, new Vector3(-792.6299f, -133.32184f, -425.5589f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-799.46594f, -133.2695f, -404.1352f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - obj230.Steps = list313; - reference241 = obj230; - questRoot34.QuestSequence = list302; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(2186); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list314 = new List(num); - CollectionsMarshal.SetCount(list314, num); - CollectionsMarshal.AsSpan(list314)[0] = "plogon_enjoyer"; - questRoot35.Author = list314; - num = 4; - List list315 = new List(num); - CollectionsMarshal.SetCount(list315, num); - Span span119 = CollectionsMarshal.AsSpan(list315); - ref QuestSequence reference242 = ref span119[0]; - QuestSequence obj231 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - CollectionsMarshal.AsSpan(list316)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj231.Steps = list316; - reference242 = obj231; - ref QuestSequence reference243 = ref span119[1]; - QuestSequence obj232 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list317 = new List(num2); - CollectionsMarshal.SetCount(list317, num2); - CollectionsMarshal.AsSpan(list317)[0] = new QuestStep(EInteractionType.Interact, 1016092u, new Vector3(-792.6299f, -133.32184f, -425.5589f), 401) - { - Fly = true - }; - obj232.Steps = list317; - reference243 = obj232; - ref QuestSequence reference244 = ref span119[2]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list318 = new List(num2); - CollectionsMarshal.SetCount(list318, num2); - Span span120 = CollectionsMarshal.AsSpan(list318); - ref QuestStep reference245 = ref span120[0]; - QuestStep obj234 = new QuestStep(EInteractionType.Combat, 2006677u, new Vector3(117.96753f, 12.25293f, -412.92444f), 401) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list319 = new List(num3); - CollectionsMarshal.SetCount(list319, num3); - CollectionsMarshal.AsSpan(list319)[0] = 5241u; - obj234.KillEnemyDataIds = list319; - reference245 = obj234; - ref QuestStep reference246 = ref span120[1]; - QuestStep obj235 = new QuestStep(EInteractionType.Combat, 2006678u, new Vector3(160.54016f, 11.856201f, -507.65244f), 401) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list320 = new List(num3); - CollectionsMarshal.SetCount(list320, num3); - CollectionsMarshal.AsSpan(list320)[0] = 5241u; - obj235.KillEnemyDataIds = list320; - reference246 = obj235; - obj233.Steps = list318; - reference244 = obj233; - ref QuestSequence reference247 = ref span119[3]; - QuestSequence obj236 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list321 = new List(num2); - CollectionsMarshal.SetCount(list321, num2); - CollectionsMarshal.AsSpan(list321)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016092u, new Vector3(-792.6299f, -133.32184f, -425.5589f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-799.46594f, -133.2695f, -404.1352f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - obj236.Steps = list321; - reference247 = obj236; - questRoot35.QuestSequence = list315; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(2187); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list322 = new List(num); - CollectionsMarshal.SetCount(list322, num); - CollectionsMarshal.AsSpan(list322)[0] = "plogon_enjoyer"; - questRoot36.Author = list322; - num = 5; - List list323 = new List(num); - CollectionsMarshal.SetCount(list323, num); - Span span121 = CollectionsMarshal.AsSpan(list323); - ref QuestSequence reference248 = ref span121[0]; - QuestSequence obj237 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list324 = new List(num2); - CollectionsMarshal.SetCount(list324, num2); - CollectionsMarshal.AsSpan(list324)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj237.Steps = list324; - reference248 = obj237; - ref QuestSequence reference249 = ref span121[1]; - QuestSequence obj238 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list325 = new List(num2); - CollectionsMarshal.SetCount(list325, num2); - CollectionsMarshal.AsSpan(list325)[0] = new QuestStep(EInteractionType.Interact, 1016092u, new Vector3(-792.6299f, -133.32184f, -425.5589f), 401) - { - Fly = true - }; - obj238.Steps = list325; - reference249 = obj238; - ref QuestSequence reference250 = ref span121[2]; - QuestSequence obj239 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list326 = new List(num2); - CollectionsMarshal.SetCount(list326, num2); - ref QuestStep reference251 = ref CollectionsMarshal.AsSpan(list326)[0]; - QuestStep obj240 = new QuestStep(EInteractionType.Combat, 2006679u, new Vector3(-401.175f, -202.65509f, 432.39478f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list327 = new List(num3); - CollectionsMarshal.SetCount(list327, num3); - CollectionsMarshal.AsSpan(list327)[0] = 5242u; - obj240.KillEnemyDataIds = list327; - reference251 = obj240; - obj239.Steps = list326; - reference250 = obj239; - ref QuestSequence reference252 = ref span121[3]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - ref QuestStep reference253 = ref CollectionsMarshal.AsSpan(list328)[0]; - QuestStep obj242 = new QuestStep(EInteractionType.Combat, 2006680u, new Vector3(-280.8728f, -202.01422f, 390.7987f), 401) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list329 = new List(num3); - CollectionsMarshal.SetCount(list329, num3); - CollectionsMarshal.AsSpan(list329)[0] = 5242u; - obj242.KillEnemyDataIds = list329; - reference253 = obj242; - obj241.Steps = list328; - reference252 = obj241; - ref QuestSequence reference254 = ref span121[4]; - QuestSequence obj243 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list330 = new List(num2); - CollectionsMarshal.SetCount(list330, num2); - CollectionsMarshal.AsSpan(list330)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016092u, new Vector3(-792.6299f, -133.32184f, -425.5589f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-799.46594f, -133.2695f, -404.1352f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - obj243.Steps = list330; - reference254 = obj243; - questRoot36.QuestSequence = list323; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(2188); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list331 = new List(num); - CollectionsMarshal.SetCount(list331, num); - CollectionsMarshal.AsSpan(list331)[0] = "plogon_enjoyer"; - questRoot37.Author = list331; - num = 4; - List list332 = new List(num); - CollectionsMarshal.SetCount(list332, num); - Span span122 = CollectionsMarshal.AsSpan(list332); - ref QuestSequence reference255 = ref span122[0]; - QuestSequence obj244 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list333 = new List(num2); - CollectionsMarshal.SetCount(list333, num2); - CollectionsMarshal.AsSpan(list333)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj244.Steps = list333; - reference255 = obj244; - ref QuestSequence reference256 = ref span122[1]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - CollectionsMarshal.AsSpan(list334)[0] = new QuestStep(EInteractionType.Interact, 1016092u, new Vector3(-792.6299f, -133.32184f, -425.5589f), 401) - { - Fly = true - }; - obj245.Steps = list334; - reference256 = obj245; - ref QuestSequence reference257 = ref span122[2]; - QuestSequence obj246 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list335 = new List(num2); - CollectionsMarshal.SetCount(list335, num2); - Span span123 = CollectionsMarshal.AsSpan(list335); - span123[0] = new QuestStep(EInteractionType.Interact, 2006682u, new Vector3(25.711426f, 150.46924f, -133.56226f), 401) - { - Fly = true - }; - span123[1] = new QuestStep(EInteractionType.Interact, 2006681u, new Vector3(237.07935f, 163.95813f, -46.433228f), 401) - { - Fly = true - }; - span123[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(237.02913f, 169.13622f, -44.168194f), 401) - { - Fly = true - }; - span123[3] = new QuestStep(EInteractionType.Interact, 2006683u, new Vector3(332.5094f, 106.79785f, -68.2536f), 401) - { - Fly = true - }; - obj246.Steps = list335; - reference257 = obj246; - ref QuestSequence reference258 = ref span122[3]; - QuestSequence obj247 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list336 = new List(num2); - CollectionsMarshal.SetCount(list336, num2); - Span span124 = CollectionsMarshal.AsSpan(list336); - span124[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(317.41415f, 110.85538f, -34.527588f), 401) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotNearPosition = new NearPositionCondition - { - Position = new Vector3(317.41415f, 110.85538f, -34.527588f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - span124[1] = new QuestStep(EInteractionType.CompleteQuest, 1016092u, new Vector3(-792.6299f, -133.32184f, -425.5589f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-799.46594f, -133.2695f, -404.1352f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - obj247.Steps = list336; - reference258 = obj247; - questRoot37.QuestSequence = list332; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(2189); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list337 = new List(num); - CollectionsMarshal.SetCount(list337, num); - CollectionsMarshal.AsSpan(list337)[0] = "plogon_enjoyer"; - questRoot38.Author = list337; - num = 8; - List list338 = new List(num); - CollectionsMarshal.SetCount(list338, num); - Span span125 = CollectionsMarshal.AsSpan(list338); - ref QuestSequence reference259 = ref span125[0]; - QuestSequence obj248 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list339 = new List(num2); - CollectionsMarshal.SetCount(list339, num2); - CollectionsMarshal.AsSpan(list339)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj248.Steps = list339; - reference259 = obj248; - ref QuestSequence reference260 = ref span125[1]; - QuestSequence obj249 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list340 = new List(num2); - CollectionsMarshal.SetCount(list340, num2); - CollectionsMarshal.AsSpan(list340)[0] = new QuestStep(EInteractionType.Interact, 1016088u, new Vector3(-818.143f, -129.93259f, -414.02307f), 401) - { - Fly = true - }; - obj249.Steps = list340; - reference260 = obj249; - ref QuestSequence reference261 = ref span125[2]; - QuestSequence obj250 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - CollectionsMarshal.AsSpan(list341)[0] = new QuestStep(EInteractionType.Interact, 1016228u, new Vector3(-547.7836f, -57.646603f, -549.76733f), 401) - { - Fly = true - }; - obj250.Steps = list341; - reference261 = obj250; - ref QuestSequence reference262 = ref span125[3]; - QuestSequence obj251 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - ref QuestStep reference263 = ref CollectionsMarshal.AsSpan(list342)[0]; - QuestStep obj252 = new QuestStep(EInteractionType.Combat, 2006684u, new Vector3(-357.29004f, -56.565247f, -598.9929f), 401) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list343 = new List(num3); - CollectionsMarshal.SetCount(list343, num3); - CollectionsMarshal.AsSpan(list343)[0] = 5243u; - obj252.KillEnemyDataIds = list343; - reference263 = obj252; - obj251.Steps = list342; - reference262 = obj251; - ref QuestSequence reference264 = ref span125[4]; - QuestSequence obj253 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list344 = new List(num2); - CollectionsMarshal.SetCount(list344, num2); - CollectionsMarshal.AsSpan(list344)[0] = new QuestStep(EInteractionType.Interact, 1016229u, new Vector3(-369.31415f, -54.222214f, -605.3407f), 401) - { - Fly = true - }; - obj253.Steps = list344; - reference264 = obj253; - ref QuestSequence reference265 = ref span125[5]; - QuestSequence obj254 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list345 = new List(num2); - CollectionsMarshal.SetCount(list345, num2); - ref QuestStep reference266 = ref CollectionsMarshal.AsSpan(list345)[0]; - QuestStep obj255 = new QuestStep(EInteractionType.Combat, 2006685u, new Vector3(-107.07257f, -13.5043335f, -655.6039f), 401) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list346 = new List(num3); - CollectionsMarshal.SetCount(list346, num3); - CollectionsMarshal.AsSpan(list346)[0] = 5243u; - obj255.KillEnemyDataIds = list346; - reference266 = obj255; - obj254.Steps = list345; - reference265 = obj254; - ref QuestSequence reference267 = ref span125[6]; - QuestSequence obj256 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list347 = new List(num2); - CollectionsMarshal.SetCount(list347, num2); - CollectionsMarshal.AsSpan(list347)[0] = new QuestStep(EInteractionType.Interact, 1016230u, new Vector3(-114.85474f, -13.978999f, -652.8878f), 401) - { - Fly = true - }; - obj256.Steps = list347; - reference267 = obj256; - ref QuestSequence reference268 = ref span125[7]; - QuestSequence obj257 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list348 = new List(num2); - CollectionsMarshal.SetCount(list348, num2); - CollectionsMarshal.AsSpan(list348)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016088u, new Vector3(-818.143f, -129.93259f, -414.02307f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-799.46594f, -133.2695f, -404.1352f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - obj257.Steps = list348; - reference268 = obj257; - questRoot38.QuestSequence = list338; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(2190); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list349 = new List(num); - CollectionsMarshal.SetCount(list349, num); - CollectionsMarshal.AsSpan(list349)[0] = "plogon_enjoyer"; - questRoot39.Author = list349; - num = 4; - List list350 = new List(num); - CollectionsMarshal.SetCount(list350, num); - Span span126 = CollectionsMarshal.AsSpan(list350); - ref QuestSequence reference269 = ref span126[0]; - QuestSequence obj258 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list351 = new List(num2); - CollectionsMarshal.SetCount(list351, num2); - CollectionsMarshal.AsSpan(list351)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj258.Steps = list351; - reference269 = obj258; - ref QuestSequence reference270 = ref span126[1]; - QuestSequence obj259 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list352 = new List(num2); - CollectionsMarshal.SetCount(list352, num2); - CollectionsMarshal.AsSpan(list352)[0] = new QuestStep(EInteractionType.Interact, 1016088u, new Vector3(-818.143f, -129.93259f, -414.02307f), 401) - { - Fly = true - }; - obj259.Steps = list352; - reference270 = obj259; - ref QuestSequence reference271 = ref span126[2]; - QuestSequence obj260 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list353 = new List(num2); - CollectionsMarshal.SetCount(list353, num2); - Span span127 = CollectionsMarshal.AsSpan(list353); - ref QuestStep reference272 = ref span127[0]; - QuestStep obj261 = new QuestStep(EInteractionType.Combat, 2006707u, new Vector3(72.92273f, -88.39557f, 428.82422f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list354 = new List(num3); - CollectionsMarshal.SetCount(list354, num3); - CollectionsMarshal.AsSpan(list354)[0] = 5244u; - obj261.KillEnemyDataIds = list354; - reference272 = obj261; - ref QuestStep reference273 = ref span127[1]; - QuestStep obj262 = new QuestStep(EInteractionType.Combat, 2006686u, new Vector3(167.58984f, -97.428955f, 455.71057f), 401) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list355 = new List(num3); - CollectionsMarshal.SetCount(list355, num3); - CollectionsMarshal.AsSpan(list355)[0] = 5244u; - obj262.KillEnemyDataIds = list355; - reference273 = obj262; - obj260.Steps = list353; - reference271 = obj260; - ref QuestSequence reference274 = ref span126[3]; - QuestSequence obj263 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list356 = new List(num2); - CollectionsMarshal.SetCount(list356, num2); - CollectionsMarshal.AsSpan(list356)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016088u, new Vector3(-818.143f, -129.93259f, -414.02307f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-799.46594f, -133.2695f, -404.1352f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - obj263.Steps = list356; - reference274 = obj263; - questRoot39.QuestSequence = list350; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(2191); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list357 = new List(num); - CollectionsMarshal.SetCount(list357, num); - CollectionsMarshal.AsSpan(list357)[0] = "plogon_enjoyer"; - questRoot40.Author = list357; - num = 4; - List list358 = new List(num); - CollectionsMarshal.SetCount(list358, num); - Span span128 = CollectionsMarshal.AsSpan(list358); - ref QuestSequence reference275 = ref span128[0]; - QuestSequence obj264 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list359 = new List(num2); - CollectionsMarshal.SetCount(list359, num2); - CollectionsMarshal.AsSpan(list359)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj264.Steps = list359; - reference275 = obj264; - ref QuestSequence reference276 = ref span128[1]; - QuestSequence obj265 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list360 = new List(num2); - CollectionsMarshal.SetCount(list360, num2); - CollectionsMarshal.AsSpan(list360)[0] = new QuestStep(EInteractionType.Interact, 1016088u, new Vector3(-818.143f, -129.93259f, -414.02307f), 401) - { - Fly = true - }; - obj265.Steps = list360; - reference276 = obj265; - ref QuestSequence reference277 = ref span128[2]; - QuestSequence obj266 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list361 = new List(num2); - CollectionsMarshal.SetCount(list361, num2); - Span span129 = CollectionsMarshal.AsSpan(list361); - ref QuestStep reference278 = ref span129[0]; - QuestStep obj267 = new QuestStep(EInteractionType.Combat, 2006690u, new Vector3(-857.6333f, 4.6539917f, -218.67706f), 401) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list362 = new List(num3); - CollectionsMarshal.SetCount(list362, num3); - CollectionsMarshal.AsSpan(list362)[0] = 5246u; - obj267.KillEnemyDataIds = list362; - num3 = 6; - List list363 = new List(num3); - CollectionsMarshal.SetCount(list363, num3); - Span span130 = CollectionsMarshal.AsSpan(list363); - span130[0] = null; - span130[1] = null; - span130[2] = null; - span130[3] = null; - span130[4] = null; - span130[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj267.CompletionQuestVariablesFlags = list363; - reference278 = obj267; - ref QuestStep reference279 = ref span129[1]; - QuestStep obj268 = new QuestStep(EInteractionType.Interact, 2006689u, new Vector3(-830.3197f, -14.358765f, -131.82275f), 401) - { - Fly = true - }; - num3 = 6; - List list364 = new List(num3); - CollectionsMarshal.SetCount(list364, num3); - Span span131 = CollectionsMarshal.AsSpan(list364); - span131[0] = null; - span131[1] = null; - span131[2] = null; - span131[3] = null; - span131[4] = null; - span131[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj268.CompletionQuestVariablesFlags = list364; - reference279 = obj268; - ref QuestStep reference280 = ref span129[2]; - QuestStep obj269 = new QuestStep(EInteractionType.Interact, 2006687u, new Vector3(-553.97876f, -58.42682f, -271.10706f), 401) - { - Fly = true - }; - num3 = 6; - List list365 = new List(num3); - CollectionsMarshal.SetCount(list365, num3); - Span span132 = CollectionsMarshal.AsSpan(list365); - span132[0] = null; - span132[1] = null; - span132[2] = null; - span132[3] = null; - span132[4] = null; - span132[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj269.CompletionQuestVariablesFlags = list365; - reference280 = obj269; - ref QuestStep reference281 = ref span129[3]; - QuestStep obj270 = new QuestStep(EInteractionType.Interact, 2006688u, new Vector3(-715.1446f, -58.640503f, -342.30566f), 401) - { - Fly = true - }; - num3 = 6; - List list366 = new List(num3); - CollectionsMarshal.SetCount(list366, num3); - Span span133 = CollectionsMarshal.AsSpan(list366); - span133[0] = null; - span133[1] = null; - span133[2] = null; - span133[3] = null; - span133[4] = null; - span133[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj270.CompletionQuestVariablesFlags = list366; - reference281 = obj270; - obj266.Steps = list361; - reference277 = obj266; - ref QuestSequence reference282 = ref span128[3]; - QuestSequence obj271 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list367 = new List(num2); - CollectionsMarshal.SetCount(list367, num2); - CollectionsMarshal.AsSpan(list367)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016088u, new Vector3(-818.143f, -129.93259f, -414.02307f), 401) - { - Fly = true - }; - obj271.Steps = list367; - reference282 = obj271; - questRoot40.QuestSequence = list358; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(2192); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list368 = new List(num); - CollectionsMarshal.SetCount(list368, num); - CollectionsMarshal.AsSpan(list368)[0] = "plogon_enjoyer"; - questRoot41.Author = list368; - num = 4; - List list369 = new List(num); - CollectionsMarshal.SetCount(list369, num); - Span span134 = CollectionsMarshal.AsSpan(list369); - ref QuestSequence reference283 = ref span134[0]; - QuestSequence obj272 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list370 = new List(num2); - CollectionsMarshal.SetCount(list370, num2); - CollectionsMarshal.AsSpan(list370)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj272.Steps = list370; - reference283 = obj272; - ref QuestSequence reference284 = ref span134[1]; - QuestSequence obj273 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list371 = new List(num2); - CollectionsMarshal.SetCount(list371, num2); - CollectionsMarshal.AsSpan(list371)[0] = new QuestStep(EInteractionType.Interact, 1016092u, new Vector3(-792.6299f, -133.32184f, -425.5589f), 401) - { - Fly = true - }; - obj273.Steps = list371; - reference284 = obj273; - ref QuestSequence reference285 = ref span134[2]; - QuestSequence obj274 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list372 = new List(num2); - CollectionsMarshal.SetCount(list372, num2); - Span span135 = CollectionsMarshal.AsSpan(list372); - ref QuestStep reference286 = ref span135[0]; - QuestStep obj275 = new QuestStep(EInteractionType.UseItem, 1016375u, new Vector3(-627.89355f, -149.95285f, 480.15564f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop, - ItemId = 2001934u - }; - num3 = 6; - List list373 = new List(num3); - CollectionsMarshal.SetCount(list373, num3); - Span span136 = CollectionsMarshal.AsSpan(list373); - span136[0] = null; - span136[1] = null; - span136[2] = null; - span136[3] = null; - span136[4] = null; - span136[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj275.CompletionQuestVariablesFlags = list373; - reference286 = obj275; - ref QuestStep reference287 = ref span135[1]; - QuestStep obj276 = new QuestStep(EInteractionType.UseItem, 1016232u, new Vector3(-452.10956f, -187.396f, 734.18774f), 401) - { - Fly = true, - ItemId = 2001934u - }; - num3 = 6; - List list374 = new List(num3); - CollectionsMarshal.SetCount(list374, num3); - Span span137 = CollectionsMarshal.AsSpan(list374); - span137[0] = null; - span137[1] = null; - span137[2] = null; - span137[3] = null; - span137[4] = null; - span137[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj276.CompletionQuestVariablesFlags = list374; - reference287 = obj276; - ref QuestStep reference288 = ref span135[2]; - QuestStep obj277 = new QuestStep(EInteractionType.UseItem, 1016233u, new Vector3(-359.823f, -184.95448f, 796.71924f), 401) - { - Fly = true, - ItemId = 2001934u - }; - num3 = 6; - List list375 = new List(num3); - CollectionsMarshal.SetCount(list375, num3); - Span span138 = CollectionsMarshal.AsSpan(list375); - span138[0] = null; - span138[1] = null; - span138[2] = null; - span138[3] = null; - span138[4] = null; - span138[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj277.CompletionQuestVariablesFlags = list375; - reference288 = obj277; - ref QuestStep reference289 = ref span135[3]; - QuestStep obj278 = new QuestStep(EInteractionType.UseItem, 1016374u, new Vector3(-343.00757f, -161.8661f, 770.01587f), 401) - { - Fly = true, - ItemId = 2001934u - }; - num3 = 6; - List list376 = new List(num3); - CollectionsMarshal.SetCount(list376, num3); - Span span139 = CollectionsMarshal.AsSpan(list376); - span139[0] = null; - span139[1] = null; - span139[2] = null; - span139[3] = null; - span139[4] = null; - span139[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj278.CompletionQuestVariablesFlags = list376; - reference289 = obj278; - ref QuestStep reference290 = ref span135[4]; - QuestStep obj279 = new QuestStep(EInteractionType.UseItem, 1016231u, new Vector3(-333.79114f, -184.97446f, 625.1162f), 401) - { - Fly = true, - ItemId = 2001934u - }; - num3 = 6; - List list377 = new List(num3); - CollectionsMarshal.SetCount(list377, num3); - Span span140 = CollectionsMarshal.AsSpan(list377); - span140[0] = null; - span140[1] = null; - span140[2] = null; - span140[3] = null; - span140[4] = null; - span140[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj279.CompletionQuestVariablesFlags = list377; - reference290 = obj279; - obj274.Steps = list372; - reference285 = obj274; - ref QuestSequence reference291 = ref span134[3]; - QuestSequence obj280 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list378 = new List(num2); - CollectionsMarshal.SetCount(list378, num2); - CollectionsMarshal.AsSpan(list378)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016092u, new Vector3(-792.6299f, -133.32184f, -425.5589f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-799.46594f, -133.2695f, -404.1352f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - obj280.Steps = list378; - reference291 = obj280; - questRoot41.QuestSequence = list369; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(2193); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list379 = new List(num); - CollectionsMarshal.SetCount(list379, num); - CollectionsMarshal.AsSpan(list379)[0] = "plogon_enjoyer"; - questRoot42.Author = list379; - num = 4; - List list380 = new List(num); - CollectionsMarshal.SetCount(list380, num); - Span span141 = CollectionsMarshal.AsSpan(list380); - ref QuestSequence reference292 = ref span141[0]; - QuestSequence obj281 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list381 = new List(num2); - CollectionsMarshal.SetCount(list381, num2); - CollectionsMarshal.AsSpan(list381)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj281.Steps = list381; - reference292 = obj281; - ref QuestSequence reference293 = ref span141[1]; - QuestSequence obj282 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list382 = new List(num2); - CollectionsMarshal.SetCount(list382, num2); - CollectionsMarshal.AsSpan(list382)[0] = new QuestStep(EInteractionType.Interact, 1016091u, new Vector3(-804.25726f, -133.2695f, -390.89038f), 401) - { - Fly = true - }; - obj282.Steps = list382; - reference293 = obj282; - ref QuestSequence reference294 = ref span141[2]; - QuestSequence obj283 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list383 = new List(num2); - CollectionsMarshal.SetCount(list383, num2); - Span span142 = CollectionsMarshal.AsSpan(list383); - ref QuestStep reference295 = ref span142[0]; - QuestStep obj284 = new QuestStep(EInteractionType.Interact, 1016508u, new Vector3(-261.8601f, -132.0669f, 388.66248f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop - }; - num3 = 6; - List list384 = new List(num3); - CollectionsMarshal.SetCount(list384, num3); - Span span143 = CollectionsMarshal.AsSpan(list384); - span143[0] = null; - span143[1] = null; - span143[2] = null; - span143[3] = null; - span143[4] = null; - span143[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj284.CompletionQuestVariablesFlags = list384; - reference295 = obj284; - ref QuestStep reference296 = ref span142[1]; - QuestStep obj285 = new QuestStep(EInteractionType.Interact, 1016235u, new Vector3(-229.48047f, -129.59497f, 418.44812f), 401) - { - Fly = true - }; - num3 = 6; - List list385 = new List(num3); - CollectionsMarshal.SetCount(list385, num3); - Span span144 = CollectionsMarshal.AsSpan(list385); - span144[0] = null; - span144[1] = null; - span144[2] = null; - span144[3] = null; - span144[4] = null; - span144[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj285.CompletionQuestVariablesFlags = list385; - reference296 = obj285; - ref QuestStep reference297 = ref span142[2]; - QuestStep obj286 = new QuestStep(EInteractionType.Interact, 1016236u, new Vector3(-196.2768f, -131.82275f, 333.9436f), 401) - { - Fly = true - }; - num3 = 6; - List list386 = new List(num3); - CollectionsMarshal.SetCount(list386, num3); - Span span145 = CollectionsMarshal.AsSpan(list386); - span145[0] = null; - span145[1] = null; - span145[2] = null; - span145[3] = null; - span145[4] = null; - span145[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj286.CompletionQuestVariablesFlags = list386; - reference297 = obj286; - ref QuestStep reference298 = ref span142[3]; - QuestStep obj287 = new QuestStep(EInteractionType.Interact, 1016216u, new Vector3(-253.62024f, -130.38837f, 340.3219f), 401) - { - Fly = true - }; - num3 = 6; - List list387 = new List(num3); - CollectionsMarshal.SetCount(list387, num3); - Span span146 = CollectionsMarshal.AsSpan(list387); - span146[0] = null; - span146[1] = null; - span146[2] = null; - span146[3] = null; - span146[4] = null; - span146[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj287.CompletionQuestVariablesFlags = list387; - reference298 = obj287; - obj283.Steps = list383; - reference294 = obj283; - ref QuestSequence reference299 = ref span141[3]; - QuestSequence obj288 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list388 = new List(num2); - CollectionsMarshal.SetCount(list388, num2); - CollectionsMarshal.AsSpan(list388)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016091u, new Vector3(-804.25726f, -133.2695f, -390.89038f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-799.46594f, -133.2695f, -404.1352f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - obj288.Steps = list388; - reference299 = obj288; - questRoot42.QuestSequence = list380; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(2194); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list389 = new List(num); - CollectionsMarshal.SetCount(list389, num); - CollectionsMarshal.AsSpan(list389)[0] = "plogon_enjoyer"; - questRoot43.Author = list389; - num = 4; - List list390 = new List(num); - CollectionsMarshal.SetCount(list390, num); - Span span147 = CollectionsMarshal.AsSpan(list390); - ref QuestSequence reference300 = ref span147[0]; - QuestSequence obj289 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list391 = new List(num2); - CollectionsMarshal.SetCount(list391, num2); - CollectionsMarshal.AsSpan(list391)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj289.Steps = list391; - reference300 = obj289; - ref QuestSequence reference301 = ref span147[1]; - QuestSequence obj290 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list392 = new List(num2); - CollectionsMarshal.SetCount(list392, num2); - CollectionsMarshal.AsSpan(list392)[0] = new QuestStep(EInteractionType.Interact, 1016093u, new Vector3(-776.0281f, -133.35559f, -414.32825f), 401) - { - Fly = true - }; - obj290.Steps = list392; - reference301 = obj290; - ref QuestSequence reference302 = ref span147[2]; - QuestSequence obj291 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list393 = new List(num2); - CollectionsMarshal.SetCount(list393, num2); - Span span148 = CollectionsMarshal.AsSpan(list393); - span148[0] = new QuestStep(EInteractionType.Interact, 2006693u, new Vector3(-420.8286f, -185.8396f, 705.745f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop - }; - span148[1] = new QuestStep(EInteractionType.Interact, 2006692u, new Vector3(-300.49597f, -192.37054f, 638.5442f), 401) - { - Fly = true - }; - span148[2] = new QuestStep(EInteractionType.Interact, 2006691u, new Vector3(-244.73944f, -184.92413f, 687.4342f), 401) - { - Fly = true - }; - obj291.Steps = list393; - reference302 = obj291; - ref QuestSequence reference303 = ref span147[3]; - QuestSequence obj292 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list394 = new List(num2); - CollectionsMarshal.SetCount(list394, num2); - CollectionsMarshal.AsSpan(list394)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016093u, new Vector3(-776.0281f, -133.35559f, -414.32825f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-799.46594f, -133.2695f, -404.1352f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - obj292.Steps = list394; - reference303 = obj292; - questRoot43.QuestSequence = list390; - AddQuest(questId43, questRoot43); - QuestId questId44 = new QuestId(2195); - QuestRoot questRoot44 = new QuestRoot(); - num = 1; - List list395 = new List(num); - CollectionsMarshal.SetCount(list395, num); - CollectionsMarshal.AsSpan(list395)[0] = "plogon_enjoyer"; - questRoot44.Author = list395; - num = 5; - List list396 = new List(num); - CollectionsMarshal.SetCount(list396, num); - Span span149 = CollectionsMarshal.AsSpan(list396); - ref QuestSequence reference304 = ref span149[0]; - QuestSequence obj293 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list397 = new List(num2); - CollectionsMarshal.SetCount(list397, num2); - CollectionsMarshal.AsSpan(list397)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj293.Steps = list397; - reference304 = obj293; - ref QuestSequence reference305 = ref span149[1]; - QuestSequence obj294 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list398 = new List(num2); - CollectionsMarshal.SetCount(list398, num2); - CollectionsMarshal.AsSpan(list398)[0] = new QuestStep(EInteractionType.Interact, 1016088u, new Vector3(-818.143f, -129.93259f, -414.02307f), 401) - { - Fly = true - }; - obj294.Steps = list398; - reference305 = obj294; - ref QuestSequence reference306 = ref span149[2]; - QuestSequence obj295 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list399 = new List(num2); - CollectionsMarshal.SetCount(list399, num2); - CollectionsMarshal.AsSpan(list399)[0] = new QuestStep(EInteractionType.Interact, 1011952u, new Vector3(-277.63788f, -184.59735f, 741.60376f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop - }; - obj295.Steps = list399; - reference306 = obj295; - ref QuestSequence reference307 = ref span149[3]; - QuestSequence obj296 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list400 = new List(num2); - CollectionsMarshal.SetCount(list400, num2); - Span span150 = CollectionsMarshal.AsSpan(list400); - span150[0] = new QuestStep(EInteractionType.Interact, 1016385u, new Vector3(-519.646f, -152.47815f, 280.38452f), 401) - { - Fly = true - }; - span150[1] = new QuestStep(EInteractionType.Interact, 1016377u, new Vector3(272.7854f, -114.24131f, 387.6859f), 401) - { - Fly = true - }; - span150[2] = new QuestStep(EInteractionType.Interact, 1016376u, new Vector3(702.90686f, -126.03205f, 392.04993f), 401) - { - Fly = true - }; - obj296.Steps = list400; - reference307 = obj296; - ref QuestSequence reference308 = ref span149[4]; - QuestSequence obj297 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list401 = new List(num2); - CollectionsMarshal.SetCount(list401, num2); - CollectionsMarshal.AsSpan(list401)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016088u, new Vector3(-818.143f, -129.93259f, -414.02307f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-799.46594f, -133.2695f, -404.1352f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - obj297.Steps = list401; - reference308 = obj297; - questRoot44.QuestSequence = list396; - AddQuest(questId44, questRoot44); - QuestId questId45 = new QuestId(2196); - QuestRoot questRoot45 = new QuestRoot(); - num = 1; - List list402 = new List(num); - CollectionsMarshal.SetCount(list402, num); - CollectionsMarshal.AsSpan(list402)[0] = "plogon_enjoyer"; - questRoot45.Author = list402; - num = 5; - List list403 = new List(num); - CollectionsMarshal.SetCount(list403, num); - Span span151 = CollectionsMarshal.AsSpan(list403); - ref QuestSequence reference309 = ref span151[0]; - QuestSequence obj298 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list404 = new List(num2); - CollectionsMarshal.SetCount(list404, num2); - CollectionsMarshal.AsSpan(list404)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj298.Steps = list404; - reference309 = obj298; - ref QuestSequence reference310 = ref span151[1]; - QuestSequence obj299 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list405 = new List(num2); - CollectionsMarshal.SetCount(list405, num2); - CollectionsMarshal.AsSpan(list405)[0] = new QuestStep(EInteractionType.Interact, 2006694u, new Vector3(-28.030884f, -136.98022f, 454.94763f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop - }; - obj299.Steps = list405; - reference310 = obj299; - ref QuestSequence reference311 = ref span151[2]; - QuestSequence obj300 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list406 = new List(num2); - CollectionsMarshal.SetCount(list406, num2); - CollectionsMarshal.AsSpan(list406)[0] = new QuestStep(EInteractionType.Interact, 2006699u, new Vector3(-15.182739f, -136.98022f, 458.33508f), 401); - obj300.Steps = list406; - reference311 = obj300; - ref QuestSequence reference312 = ref span151[3]; - QuestSequence obj301 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list407 = new List(num2); - CollectionsMarshal.SetCount(list407, num2); - CollectionsMarshal.AsSpan(list407)[0] = new QuestStep(EInteractionType.UseItem, 1016237u, new Vector3(-28.000305f, -137.77374f, 454.94763f), 401) - { - ItemId = 2001935u - }; - obj301.Steps = list407; - reference312 = obj301; - ref QuestSequence reference313 = ref span151[4]; - QuestSequence obj302 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list408 = new List(num2); - CollectionsMarshal.SetCount(list408, num2); - CollectionsMarshal.AsSpan(list408)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-799.46594f, -133.2695f, -404.1352f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - obj302.Steps = list408; - reference313 = obj302; - questRoot45.QuestSequence = list403; - AddQuest(questId45, questRoot45); - QuestId questId46 = new QuestId(2197); - QuestRoot questRoot46 = new QuestRoot(); - num = 1; - List list409 = new List(num); - CollectionsMarshal.SetCount(list409, num); - CollectionsMarshal.AsSpan(list409)[0] = "plogon_enjoyer"; - questRoot46.Author = list409; - num = 4; - List list410 = new List(num); - CollectionsMarshal.SetCount(list410, num); - Span span152 = CollectionsMarshal.AsSpan(list410); - ref QuestSequence reference314 = ref span152[0]; - QuestSequence obj303 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list411 = new List(num2); - CollectionsMarshal.SetCount(list411, num2); - CollectionsMarshal.AsSpan(list411)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj303.Steps = list411; - reference314 = obj303; - ref QuestSequence reference315 = ref span152[1]; - QuestSequence obj304 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list412 = new List(num2); - CollectionsMarshal.SetCount(list412, num2); - CollectionsMarshal.AsSpan(list412)[0] = new QuestStep(EInteractionType.Interact, 1016088u, new Vector3(-818.143f, -129.93259f, -414.02307f), 401) - { - Fly = true - }; - obj304.Steps = list412; - reference315 = obj304; - ref QuestSequence reference316 = ref span152[2]; - QuestSequence obj305 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list413 = new List(num2); - CollectionsMarshal.SetCount(list413, num2); - Span span153 = CollectionsMarshal.AsSpan(list413); - span153[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(650.37317f, -41.15606f, -302.4378f), 401) - { - Fly = true - }; - span153[1] = new QuestStep(EInteractionType.Emote, 1016362u, new Vector3(647.57764f, -41.156067f, -301.47253f), 401) - { - Emote = EEmote.SundropDance - }; - span153[2] = new QuestStep(EInteractionType.Emote, 1016365u, new Vector3(682.36804f, -11.396843f, -400.6256f), 401) - { - Fly = true, - Emote = EEmote.SundropDance - }; - span153[3] = new QuestStep(EInteractionType.Emote, 1016364u, new Vector3(799.9846f, -11.396843f, -416.98334f), 401) - { - Fly = true, - Emote = EEmote.SundropDance - }; - span153[4] = new QuestStep(EInteractionType.Emote, 1016363u, new Vector3(776.9131f, -39.97968f, -540.24567f), 401) - { - Fly = true, - Emote = EEmote.SundropDance - }; - obj305.Steps = list413; - reference316 = obj305; - ref QuestSequence reference317 = ref span152[3]; - QuestSequence obj306 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list414 = new List(num2); - CollectionsMarshal.SetCount(list414, num2); - CollectionsMarshal.AsSpan(list414)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016088u, new Vector3(-818.143f, -129.93259f, -414.02307f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-799.46594f, -133.2695f, -404.1352f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - obj306.Steps = list414; - reference317 = obj306; - questRoot46.QuestSequence = list410; - AddQuest(questId46, questRoot46); - QuestId questId47 = new QuestId(2198); - QuestRoot questRoot47 = new QuestRoot(); - num = 1; - List list415 = new List(num); - CollectionsMarshal.SetCount(list415, num); - CollectionsMarshal.AsSpan(list415)[0] = "plogon_enjoyer"; - questRoot47.Author = list415; - num = 4; - List list416 = new List(num); - CollectionsMarshal.SetCount(list416, num); - Span span154 = CollectionsMarshal.AsSpan(list416); - ref QuestSequence reference318 = ref span154[0]; - QuestSequence obj307 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list417 = new List(num2); - CollectionsMarshal.SetCount(list417, num2); - CollectionsMarshal.AsSpan(list417)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj307.Steps = list417; - reference318 = obj307; - ref QuestSequence reference319 = ref span154[1]; - QuestSequence obj308 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list418 = new List(num2); - CollectionsMarshal.SetCount(list418, num2); - CollectionsMarshal.AsSpan(list418)[0] = new QuestStep(EInteractionType.Interact, 1016088u, new Vector3(-818.143f, -129.93259f, -414.02307f), 401) - { - Fly = true - }; - obj308.Steps = list418; - reference319 = obj308; - ref QuestSequence reference320 = ref span154[2]; - QuestSequence obj309 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list419 = new List(num2); - CollectionsMarshal.SetCount(list419, num2); - Span span155 = CollectionsMarshal.AsSpan(list419); - span155[0] = new QuestStep(EInteractionType.Emote, 1016241u, new Vector3(-182.94049f, 213.612f, 204.57764f), 401) - { - Fly = true, - Emote = EEmote.SundropDance - }; - ref QuestStep reference321 = ref span155[1]; - QuestStep obj310 = new QuestStep(EInteractionType.Combat, null, new Vector3(-182.94049f, 213.612f, 204.57764f), 401) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list420 = new List(num3); - CollectionsMarshal.SetCount(list420, num3); - CollectionsMarshal.AsSpan(list420)[0] = 5235u; - obj310.KillEnemyDataIds = list420; - obj310.CombatDelaySecondsAtStart = 0f; - reference321 = obj310; - span155[2] = new QuestStep(EInteractionType.Emote, 1016239u, new Vector3(-64.683044f, 212.9267f, 101.33508f), 401) - { - Fly = true, - Emote = EEmote.SundropDance - }; - span155[3] = new QuestStep(EInteractionType.Emote, 1016240u, new Vector3(233.23413f, 240.42369f, 118.30322f), 401) - { - Fly = true, - Emote = EEmote.SundropDance - }; - obj309.Steps = list419; - reference320 = obj309; - ref QuestSequence reference322 = ref span154[3]; - QuestSequence obj311 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list421 = new List(num2); - CollectionsMarshal.SetCount(list421, num2); - CollectionsMarshal.AsSpan(list421)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016088u, new Vector3(-818.143f, -129.93259f, -414.02307f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-799.46594f, -133.2695f, -404.1352f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - obj311.Steps = list421; - reference322 = obj311; - questRoot47.QuestSequence = list416; - AddQuest(questId47, questRoot47); - QuestId questId48 = new QuestId(2199); - QuestRoot questRoot48 = new QuestRoot(); - num = 1; - List list422 = new List(num); - CollectionsMarshal.SetCount(list422, num); - CollectionsMarshal.AsSpan(list422)[0] = "plogon_enjoyer"; - questRoot48.Author = list422; - num = 6; - List list423 = new List(num); - CollectionsMarshal.SetCount(list423, num); - Span span156 = CollectionsMarshal.AsSpan(list423); - ref QuestSequence reference323 = ref span156[0]; - QuestSequence obj312 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list424 = new List(num2); - CollectionsMarshal.SetCount(list424, num2); - CollectionsMarshal.AsSpan(list424)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj312.Steps = list424; - reference323 = obj312; - ref QuestSequence reference324 = ref span156[1]; - QuestSequence obj313 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list425 = new List(num2); - CollectionsMarshal.SetCount(list425, num2); - CollectionsMarshal.AsSpan(list425)[0] = new QuestStep(EInteractionType.Interact, 1016088u, new Vector3(-818.143f, -129.93259f, -414.02307f), 401) - { - Fly = true - }; - obj313.Steps = list425; - reference324 = obj313; - ref QuestSequence reference325 = ref span156[2]; - QuestSequence obj314 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list426 = new List(num2); - CollectionsMarshal.SetCount(list426, num2); - CollectionsMarshal.AsSpan(list426)[0] = new QuestStep(EInteractionType.Interact, 2006708u, new Vector3(-198.41309f, 93.55298f, -303.88342f), 401) - { - Fly = true - }; - obj314.Steps = list426; - reference325 = obj314; - ref QuestSequence reference326 = ref span156[3]; - QuestSequence obj315 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list427 = new List(num2); - CollectionsMarshal.SetCount(list427, num2); - CollectionsMarshal.AsSpan(list427)[0] = new QuestStep(EInteractionType.UseItem, 2006695u, new Vector3(111.46704f, -84.55023f, 429.83142f), 401) - { - Fly = true, - ItemId = 2001927u - }; - obj315.Steps = list427; - reference326 = obj315; - ref QuestSequence reference327 = ref span156[4]; - QuestSequence obj316 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list428 = new List(num2); - CollectionsMarshal.SetCount(list428, num2); - CollectionsMarshal.AsSpan(list428)[0] = new QuestStep(EInteractionType.Emote, 2006696u, new Vector3(111.436646f, -83.024414f, 428.85486f), 401) - { - Emote = EEmote.SundropDance - }; - obj316.Steps = list428; - reference327 = obj316; - ref QuestSequence reference328 = ref span156[5]; - QuestSequence obj317 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list429 = new List(num2); - CollectionsMarshal.SetCount(list429, num2); - CollectionsMarshal.AsSpan(list429)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016088u, new Vector3(-818.143f, -129.93259f, -414.02307f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-799.46594f, -133.2695f, -404.1352f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - obj317.Steps = list429; - reference328 = obj317; - questRoot48.QuestSequence = list423; - AddQuest(questId48, questRoot48); - } - - private static void LoadQuests44() - { - QuestId questId = new QuestId(2200); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "plogon_enjoyer"; - questRoot.Author = list; - num = 7; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016089u, new Vector3(-799.46594f, -133.2695f, -404.1352f), 401); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1016088u, new Vector3(-818.143f, -129.93259f, -414.02307f), 401) - { - Fly = true - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - Span span2 = CollectionsMarshal.AsSpan(list5); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-776.0281f, -133.35559f, -414.32825f), 401) - { - StopDistance = 3f, - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-776.0281f, -133.35559f, -414.32825f), - MaximumDistance = 50f, - TerritoryId = 401 - } - } - } - }; - span2[1] = new QuestStep(EInteractionType.Interact, 1016093u, new Vector3(-776.0281f, -133.35559f, -414.32825f), 401) - { - Fly = true - }; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Action, 1016242u, new Vector3(284.19922f, 28.574171f, -636.3775f), 401) - { - Fly = true, - Action = EAction.BuffetSanuwa - }; - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.Action, 1016378u, new Vector3(338.4298f, 31.483738f, -562.1882f), 401) - { - Fly = true, - Action = EAction.BuffetSanuwa - }; - obj5.Steps = list7; - reference5 = obj5; - ref QuestSequence reference6 = ref span[5]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.Action, 1016379u, new Vector3(501.27405f, 112.648964f, -182.97095f), 401) - { - Fly = true, - Action = EAction.BuffetSanuwa - }; - obj6.Steps = list8; - reference6 = obj6; - ref QuestSequence reference7 = ref span[6]; - QuestSequence obj7 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016088u, new Vector3(-818.143f, -129.93259f, -414.02307f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - obj7.Steps = list9; - reference7 = obj7; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(2204); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - CollectionsMarshal.AsSpan(list10)[0] = "liza"; - questRoot2.Author = list10; - num = 5; - List list11 = new List(num); - CollectionsMarshal.SetCount(list11, num); - Span span3 = CollectionsMarshal.AsSpan(list11); - ref QuestSequence reference8 = ref span3[0]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016125u, new Vector3(146.16614f, -12.634914f, -27.420471f), 419); - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference9 = ref span3[1]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.Interact, 1012055u, new Vector3(-656.76355f, -117.32357f, 492.78992f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop - }; - obj9.Steps = list13; - reference9 = obj9; - ref QuestSequence reference10 = ref span3[2]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - Span span4 = CollectionsMarshal.AsSpan(list14); - span4[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-884.77277f, -36.27771f, 11.526271f), 401) - { - Fly = true - }; - span4[1] = new QuestStep(EInteractionType.Interact, 1016124u, new Vector3(-887.9072f, -36.68469f, 11.428955f), 401) - { - StopDistance = 5f - }; - obj10.Steps = list14; - reference10 = obj10; - ref QuestSequence reference11 = ref span3[3]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - ref QuestStep reference12 = ref CollectionsMarshal.AsSpan(list15)[0]; - QuestStep obj12 = new QuestStep(EInteractionType.Interact, 1016130u, new Vector3(-815.7931f, -88.52015f, -835.2941f), 401) - { - Fly = true - }; - int num3 = 1; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - CollectionsMarshal.AsSpan(list16)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_HEAVNM101_02204_Q1_000_000"), - Answer = new ExcelRef("TEXT_HEAVNM101_02204_A1_000_001") - }; - obj12.DialogueChoices = list16; - reference12 = obj12; - obj11.Steps = list15; - reference11 = obj11; - ref QuestSequence reference13 = ref span3[4]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016119u, new Vector3(147.11218f, -14.525106f, -864.4083f), 401) - { - StopDistance = 7f, - NextQuestId = new QuestId(2205) - }; - obj13.Steps = list17; - reference13 = obj13; - questRoot2.QuestSequence = list11; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(2205); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - CollectionsMarshal.AsSpan(list18)[0] = "liza"; - questRoot3.Author = list18; - num = 4; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - Span span5 = CollectionsMarshal.AsSpan(list19); - ref QuestSequence reference14 = ref span5[0]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016119u, new Vector3(147.11218f, -14.525106f, -864.4083f), 401) - { - StopDistance = 7f - }; - obj14.Steps = list20; - reference14 = obj14; - ref QuestSequence reference15 = ref span5[1]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.Duty, null, null, 401) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 120u - } - }; - obj15.Steps = list21; - reference15 = obj15; - span5[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference16 = ref span5[3]; - QuestSequence obj16 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016137u, new Vector3(145.61682f, -13.626623f, -868.2536f), 401) - { - StopDistance = 7f, - NextQuestId = new QuestId(2285) - }; - obj16.Steps = list22; - reference16 = obj16; - questRoot3.QuestSequence = list19; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(2206); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - CollectionsMarshal.AsSpan(list23)[0] = "WigglyMuffin"; - questRoot4.Author = list23; - questRoot4.IsSeasonalQuest = true; - questRoot4.SeasonalQuestExpiry = new DateTime(2026, 5, 25, 14, 59, 0, DateTimeKind.Utc); - num = 11; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - Span span6 = CollectionsMarshal.AsSpan(list24); - ref QuestSequence reference17 = ref span6[0]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - ref QuestStep reference18 = ref CollectionsMarshal.AsSpan(list25)[0]; - QuestStep obj18 = new QuestStep(EInteractionType.AcceptQuest, 1016143u, new Vector3(18.264954f, 40.215122f, 0.19836426f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 2; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - Span span7 = CollectionsMarshal.AsSpan(list26); - span7[0] = 128; - span7[1] = 129; - skipAetheryteCondition.InTerritory = list26; - skipConditions.AetheryteShortcutIf = skipAetheryteCondition; - obj18.SkipConditions = skipConditions; - reference18 = obj18; - obj17.Steps = list25; - reference17 = obj17; - ref QuestSequence reference19 = ref span6[1]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.Interact, 1016144u, new Vector3(505.7296f, 16.632269f, 454.1847f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj19.Steps = list27; - reference19 = obj19; - ref QuestSequence reference20 = ref span6[2]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - ref QuestStep reference21 = ref CollectionsMarshal.AsSpan(list28)[0]; - QuestStep obj21 = new QuestStep(EInteractionType.Combat, null, new Vector3(567.6814f, 8.7027645f, 587.7927f), 137) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.FateEnemies - }; - num3 = 1; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - CollectionsMarshal.AsSpan(list29)[0] = 382u; - obj21.KillEnemyDataIds = list29; - reference21 = obj21; - obj20.Steps = list28; - reference20 = obj20; - ref QuestSequence reference22 = ref span6[3]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.Interact, 1016145u, new Vector3(-4.867676f, 19.999998f, -16.250854f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa - }; - obj22.Steps = list30; - reference22 = obj22; - ref QuestSequence reference23 = ref span6[4]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - ref QuestStep reference24 = ref CollectionsMarshal.AsSpan(list31)[0]; - QuestStep obj24 = new QuestStep(EInteractionType.Combat, null, new Vector3(-506.07254f, 65.23953f, 70.2418f), 148) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows, - EnemySpawnType = EEnemySpawnType.FateEnemies - }; - num3 = 3; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - Span span8 = CollectionsMarshal.AsSpan(list32); - span8[0] = 21u; - span8[1] = 390u; - span8[2] = 5273u; - obj24.KillEnemyDataIds = list32; - reference24 = obj24; - obj23.Steps = list31; - reference23 = obj23; - ref QuestSequence reference25 = ref span6[5]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Interact, 1016146u, new Vector3(31.143677f, -8f, 96.87952f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj25.Steps = list33; - reference25 = obj25; - ref QuestSequence reference26 = ref span6[6]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - ref QuestStep reference27 = ref CollectionsMarshal.AsSpan(list34)[0]; - QuestStep obj27 = new QuestStep(EInteractionType.Combat, null, new Vector3(68.59128f, 3.5292425f, 779.83606f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings, - EnemySpawnType = EEnemySpawnType.FateEnemies - }; - num3 = 1; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - CollectionsMarshal.AsSpan(list35)[0] = 5253u; - obj27.KillEnemyDataIds = list35; - reference27 = obj27; - obj26.Steps = list34; - reference26 = obj26; - ref QuestSequence reference28 = ref span6[7]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.Interact, 1016147u, new Vector3(24.002441f, 7.1999917f, -89.982544f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj28.Steps = list36; - reference28 = obj28; - ref QuestSequence reference29 = ref span6[8]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 8 - }; - num2 = 2; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - Span span9 = CollectionsMarshal.AsSpan(list37); - ref QuestStep reference30 = ref span9[0]; - QuestStep obj30 = new QuestStep(EInteractionType.Interact, 2006700u, new Vector3(266.1631f, -3.0671387f, 60.77661f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - num3 = 1; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - CollectionsMarshal.AsSpan(list38)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - ExcelSheet = "Addon", - Prompt = new ExcelRef(102445u), - PromptIsRegularExpression = true - }; - obj30.DialogueChoices = list38; - reference30 = obj30; - ref QuestStep reference31 = ref span9[1]; - QuestStep obj31 = new QuestStep(EInteractionType.Combat, 2006700u, new Vector3(266.1631f, -3.0671387f, 60.77661f), 139) - { - EnemySpawnType = EEnemySpawnType.FateEnemies - }; - num3 = 2; - List list39 = new List(num3); - CollectionsMarshal.SetCount(list39, num3); - Span span10 = CollectionsMarshal.AsSpan(list39); - span10[0] = 5254u; - span10[1] = 5255u; - obj31.KillEnemyDataIds = list39; - reference31 = obj31; - obj29.Steps = list37; - reference29 = obj29; - ref QuestSequence reference32 = ref span6[9]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.Interact, 1016145u, new Vector3(-4.867676f, 19.999998f, -16.250854f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa - }; - obj32.Steps = list40; - reference32 = obj32; - ref QuestSequence reference33 = ref span6[10]; - QuestSequence obj33 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - Span span11 = CollectionsMarshal.AsSpan(list41); - span11[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-7.600418f, 21.000898f, 26.702374f), 129) - { - TargetTerritoryId = (ushort)128 - }; - span11[1] = new QuestStep(EInteractionType.CompleteQuest, 1016143u, new Vector3(18.264954f, 40.215122f, 0.19836426f), 128); - obj33.Steps = list41; - reference33 = obj33; - questRoot4.QuestSequence = list24; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(2207); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - CollectionsMarshal.AsSpan(list42)[0] = "pot0to"; - questRoot5.Author = list42; - num = 5; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - Span span12 = CollectionsMarshal.AsSpan(list43); - ref QuestSequence reference34 = ref span12[0]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - ref QuestStep reference35 = ref CollectionsMarshal.AsSpan(list44)[0]; - QuestStep obj35 = new QuestStep(EInteractionType.AcceptQuest, 1015976u, new Vector3(-122.51471f, 14.553129f, -166.97955f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num3 = 2; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - Span span13 = CollectionsMarshal.AsSpan(list45); - span13[0] = 418; - span13[1] = 419; - skipAetheryteCondition2.InTerritory = list45; - skipConditions2.AetheryteShortcutIf = skipAetheryteCondition2; - obj35.SkipConditions = skipConditions2; - reference35 = obj35; - obj34.Steps = list44; - reference34 = obj34; - ref QuestSequence reference36 = ref span12[1]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - Span span14 = CollectionsMarshal.AsSpan(list46); - span14[0] = new QuestStep(EInteractionType.Interact, 1016234u, new Vector3(-145.37274f, 14.80313f, -129.25922f), 419) - { - TargetTerritoryId = (ushort)427 - }; - span14[1] = new QuestStep(EInteractionType.Interact, 1018161u, new Vector3(-8.590881f, 0.024999563f, 3.9520264f), 427); - span14[2] = new QuestStep(EInteractionType.Interact, 1017877u, new Vector3(-5.44751f, 0.024999565f, -2.2736206f), 427); - span14[3] = new QuestStep(EInteractionType.Interact, 1017875u, new Vector3(-1.236023f, 0.024999565f, -4.8982544f), 427); - span14[4] = new QuestStep(EInteractionType.Interact, 1018008u, new Vector3(5.1727905f, 0.22499956f, 0.32037354f), 427); - span14[5] = new QuestStep(EInteractionType.Interact, 1017876u, new Vector3(8.743347f, 0.20000005f, 2.670288f), 427); - obj36.Steps = list46; - reference36 = obj36; - ref QuestSequence reference37 = ref span12[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Interact, 1017874u, new Vector3(6.42395f, 0.22499956f, -6.149414f), 427); - obj37.Steps = list47; - reference37 = obj37; - ref QuestSequence reference38 = ref span12[3]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.Interact, 1017878u, new Vector3(547.8751f, 174.05713f, -537.0108f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj38.Steps = list48; - reference38 = obj38; - ref QuestSequence reference39 = ref span12[4]; - QuestSequence obj39 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - Span span15 = CollectionsMarshal.AsSpan(list49); - span15[0] = new QuestStep(EInteractionType.Interact, 1011215u, new Vector3(-145.37274f, 14.80313f, -129.25922f), 419) - { - TargetTerritoryId = (ushort)427, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - } - }; - span15[1] = new QuestStep(EInteractionType.CompleteQuest, 1017874u, new Vector3(6.42395f, 0.22499956f, -6.149414f), 427) - { - NextQuestId = new QuestId(2208) - }; - obj39.Steps = list49; - reference39 = obj39; - questRoot5.QuestSequence = list43; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(2208); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - CollectionsMarshal.AsSpan(list50)[0] = "pot0to"; - questRoot6.Author = list50; - num = 5; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - Span span16 = CollectionsMarshal.AsSpan(list51); - ref QuestSequence reference40 = ref span16[0]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - Span span17 = CollectionsMarshal.AsSpan(list52); - ref QuestStep reference41 = ref span17[0]; - QuestStep obj41 = new QuestStep(EInteractionType.Interact, 1011215u, new Vector3(-145.37274f, 14.80313f, -129.25922f), 419) - { - TargetTerritoryId = (ushort)427, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - CollectionsMarshal.AsSpan(list53)[0] = 427; - skipStepConditions.InTerritory = list53; - skipConditions3.StepIf = skipStepConditions; - SkipAetheryteCondition skipAetheryteCondition3 = new SkipAetheryteCondition(); - num3 = 2; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - Span span18 = CollectionsMarshal.AsSpan(list54); - span18[0] = 419; - span18[1] = 427; - skipAetheryteCondition3.InTerritory = list54; - skipConditions3.AetheryteShortcutIf = skipAetheryteCondition3; - obj41.SkipConditions = skipConditions3; - reference41 = obj41; - span17[1] = new QuestStep(EInteractionType.AcceptQuest, 1017874u, new Vector3(6.42395f, 0.22499956f, -6.149414f), 427); - obj40.Steps = list52; - reference40 = obj40; - ref QuestSequence reference42 = ref span16[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - Span span19 = CollectionsMarshal.AsSpan(list55); - span19[0] = new QuestStep(EInteractionType.Interact, 2005332u, new Vector3(-5.0202637f, 1.1443481f, 11.856201f), 427) - { - TargetTerritoryId = (ushort)419 - }; - span19[1] = new QuestStep(EInteractionType.Interact, 1017879u, new Vector3(56.10742f, 11.965071f, 38.92566f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSaintReymanaudsCathedral, - To = EAetheryteLocation.IshgardLastVigil - } - }; - obj42.Steps = list55; - reference42 = obj42; - ref QuestSequence reference43 = ref span16[2]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.Interact, 1015976u, new Vector3(-122.51471f, 14.553129f, -166.97955f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardLastVigil, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - } - }; - obj43.Steps = list56; - reference43 = obj43; - ref QuestSequence reference44 = ref span16[3]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - Span span20 = CollectionsMarshal.AsSpan(list57); - span20[0] = new QuestStep(EInteractionType.Interact, 1012167u, new Vector3(27.66455f, -11.992287f, 47.86743f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSaintReymanaudsCathedral, - To = EAetheryteLocation.IshgardBrume - } - }; - span20[1] = new QuestStep(EInteractionType.Interact, 1018087u, new Vector3(99.168335f, -22.000004f, 49.210327f), 418); - span20[2] = new QuestStep(EInteractionType.Interact, 1011192u, new Vector3(88.36499f, 15.094684f, 31.296265f), 418); - obj44.Steps = list57; - reference44 = obj44; - ref QuestSequence reference45 = ref span16[4]; - QuestSequence obj45 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.CompleteQuest, 1015976u, new Vector3(-122.51471f, 14.553129f, -166.97955f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - }, - NextQuestId = new QuestId(2209) - }; - obj45.Steps = list58; - reference45 = obj45; - questRoot6.QuestSequence = list51; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(2209); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - CollectionsMarshal.AsSpan(list59)[0] = "pot0to"; - questRoot7.Author = list59; - num = 4; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - Span span21 = CollectionsMarshal.AsSpan(list60); - ref QuestSequence reference46 = ref span21[0]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - ref QuestStep reference47 = ref CollectionsMarshal.AsSpan(list61)[0]; - QuestStep obj47 = new QuestStep(EInteractionType.AcceptQuest, 1015976u, new Vector3(-122.51471f, 14.553129f, -166.97955f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - } - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition4 = new SkipAetheryteCondition(); - num3 = 2; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - Span span22 = CollectionsMarshal.AsSpan(list62); - span22[0] = 418; - span22[1] = 419; - skipAetheryteCondition4.InTerritory = list62; - skipConditions4.AetheryteShortcutIf = skipAetheryteCondition4; - obj47.SkipConditions = skipConditions4; - reference47 = obj47; - obj46.Steps = list61; - reference46 = obj46; - ref QuestSequence reference48 = ref span21[1]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - Span span23 = CollectionsMarshal.AsSpan(list63); - span23[0] = new QuestStep(EInteractionType.Interact, 1011215u, new Vector3(-145.37274f, 14.80313f, -129.25922f), 419) - { - TargetTerritoryId = (ushort)427 - }; - span23[1] = new QuestStep(EInteractionType.Interact, 1018161u, new Vector3(-8.590881f, 0.024999563f, 3.9520264f), 427); - span23[2] = new QuestStep(EInteractionType.Interact, 1017877u, new Vector3(-5.44751f, 0.024999565f, -2.2736206f), 427); - span23[3] = new QuestStep(EInteractionType.Interact, 1017875u, new Vector3(-1.236023f, 0.024999565f, -4.8982544f), 427); - span23[4] = new QuestStep(EInteractionType.Interact, 1018008u, new Vector3(5.1727905f, 0.22499956f, 0.32037354f), 427); - span23[5] = new QuestStep(EInteractionType.Interact, 1017876u, new Vector3(8.743347f, 0.20000005f, 2.670288f), 427); - obj48.Steps = list63; - reference48 = obj48; - ref QuestSequence reference49 = ref span21[2]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - Span span24 = CollectionsMarshal.AsSpan(list64); - span24[0] = new QuestStep(EInteractionType.Interact, 2005332u, new Vector3(-5.0202637f, 1.1443481f, 11.856201f), 427) - { - TargetTerritoryId = (ushort)419 - }; - span24[1] = new QuestStep(EInteractionType.Interact, 1017883u, new Vector3(94.77368f, -4.73493f, -37.979797f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSaintReymanaudsCathedral, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - obj49.Steps = list64; - reference49 = obj49; - ref QuestSequence reference50 = ref span21[3]; - QuestSequence obj50 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.CompleteQuest, 1015976u, new Vector3(-122.51471f, 14.553129f, -166.97955f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardAthenaeumAstrologicum, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - }, - NextQuestId = new QuestId(2210) - }; - obj50.Steps = list65; - reference50 = obj50; - questRoot7.QuestSequence = list60; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(2210); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - CollectionsMarshal.AsSpan(list66)[0] = "pot0to"; - questRoot8.Author = list66; - num = 8; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - Span span25 = CollectionsMarshal.AsSpan(list67); - ref QuestSequence reference51 = ref span25[0]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - ref QuestStep reference52 = ref CollectionsMarshal.AsSpan(list68)[0]; - QuestStep obj52 = new QuestStep(EInteractionType.AcceptQuest, 1015976u, new Vector3(-122.51471f, 14.553129f, -166.97955f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - } - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition5 = new SkipAetheryteCondition(); - num3 = 2; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - Span span26 = CollectionsMarshal.AsSpan(list69); - span26[0] = 418; - span26[1] = 419; - skipAetheryteCondition5.InTerritory = list69; - skipConditions5.AetheryteShortcutIf = skipAetheryteCondition5; - obj52.SkipConditions = skipConditions5; - reference52 = obj52; - obj51.Steps = list68; - reference51 = obj51; - ref QuestSequence reference53 = ref span25[1]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.Interact, 2007422u, new Vector3(-225.84882f, -20.035156f, -81.22388f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSaintReymanaudsCathedral, - To = EAetheryteLocation.IshgardJeweledCrozier - } - }; - obj53.Steps = list70; - reference53 = obj53; - ref QuestSequence reference54 = ref span25[2]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.Interact, 1017886u, new Vector3(-6.1799316f, 1.3070598f, 93.095215f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardJeweledCrozier, - To = EAetheryteLocation.Ishgard - } - }; - obj54.Steps = list71; - reference54 = obj54; - ref QuestSequence reference55 = ref span25[3]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - Span span27 = CollectionsMarshal.AsSpan(list72); - span27[0] = new QuestStep(EInteractionType.Interact, 1011224u, new Vector3(4.5929565f, -2.52555f, 149.49255f), 418) - { - TargetTerritoryId = (ushort)155, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Never = true - } - } - }; - span27[1] = new QuestStep(EInteractionType.Interact, 1017887u, new Vector3(-147.87524f, 290.3255f, -155.99298f), 155) - { - Fly = true - }; - obj55.Steps = list72; - reference55 = obj55; - ref QuestSequence reference56 = ref span25[4]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.Say, 2007423u, new Vector3(-191.21088f, 285.17578f, -154.22296f), 155) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_CHREND204_02210_SYSTEM_000_030" - } - }; - obj56.Steps = list73; - reference56 = obj56; - ref QuestSequence reference57 = ref span25[5]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - ref QuestStep reference58 = ref CollectionsMarshal.AsSpan(list74)[0]; - QuestStep obj58 = new QuestStep(EInteractionType.Combat, null, new Vector3(-191.21088f, 285.17578f, -154.22296f), 155) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - Span span28 = CollectionsMarshal.AsSpan(list75); - span28[0] = 724u; - span28[1] = 725u; - obj58.KillEnemyDataIds = list75; - reference58 = obj58; - obj57.Steps = list74; - reference57 = obj57; - ref QuestSequence reference59 = ref span25[6]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.Interact, 1017892u, new Vector3(-165.75879f, 289.35385f, -142.1684f), 155); - obj59.Steps = list76; - reference59 = obj59; - ref QuestSequence reference60 = ref span25[7]; - QuestSequence obj60 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.CompleteQuest, 1015976u, new Vector3(-122.51471f, 14.553129f, -166.97955f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - }, - NextQuestId = new QuestId(2361) - }; - obj60.Steps = list77; - reference60 = obj60; - questRoot8.QuestSequence = list67; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(2225); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list78 = new List(num); - CollectionsMarshal.SetCount(list78, num); - CollectionsMarshal.AsSpan(list78)[0] = "plogon_enjoyer"; - questRoot9.Author = list78; - num = 2; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - Span span29 = CollectionsMarshal.AsSpan(list79); - ref QuestSequence reference61 = ref span29[0]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016087u, new Vector3(-796.7498f, -133.2695f, -410.6966f), 401); - obj61.Steps = list80; - reference61 = obj61; - ref QuestSequence reference62 = ref span29[1]; - QuestSequence obj62 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016088u, new Vector3(-818.143f, -129.93259f, -414.02307f), 401); - obj62.Steps = list81; - reference62 = obj62; - questRoot9.QuestSequence = list79; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(2226); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - CollectionsMarshal.AsSpan(list82)[0] = "liza"; - questRoot10.Author = list82; - num = 7; - List list83 = new List(num); - CollectionsMarshal.SetCount(list83, num); - Span span30 = CollectionsMarshal.AsSpan(list83); - ref QuestSequence reference63 = ref span30[0]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - ref QuestStep reference64 = ref CollectionsMarshal.AsSpan(list84)[0]; - QuestStep obj64 = new QuestStep(EInteractionType.AcceptQuest, 1016597u, new Vector3(-266.71252f, -20.034918f, -66.42261f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardJeweledCrozier - } - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipAetheryteCondition obj65 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - CollectionsMarshal.AsSpan(list85)[0] = 419; - obj65.InTerritory = list85; - skipConditions6.AetheryteShortcutIf = obj65; - obj64.SkipConditions = skipConditions6; - reference64 = obj64; - obj63.Steps = list84; - reference63 = obj63; - ref QuestSequence reference65 = ref span30[1]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - Span span31 = CollectionsMarshal.AsSpan(list86); - ref QuestStep reference66 = ref span31[0]; - QuestStep questStep = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-258.68442f, -20.03493f, -66.1965f), 419); - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - Span span32 = CollectionsMarshal.AsSpan(list87); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list87; - skipConditions7.StepIf = skipStepConditions2; - questStep.SkipConditions = skipConditions7; - reference66 = questStep; - ref QuestStep reference67 = ref span31[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1011207u, new Vector3(-258.8083f, -20.03509f, -63.553833f), 419); - num3 = 6; - List list88 = new List(num3); - CollectionsMarshal.SetCount(list88, num3); - Span span33 = CollectionsMarshal.AsSpan(list88); - span33[0] = null; - span33[1] = null; - span33[2] = null; - span33[3] = null; - span33[4] = null; - span33[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list88; - reference67 = questStep2; - ref QuestStep reference68 = ref span31[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-226.53459f, -16.134916f, -51.93084f), 419); - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list89 = new List(num3); - CollectionsMarshal.SetCount(list89, num3); - Span span34 = CollectionsMarshal.AsSpan(list89); - span34[0] = null; - span34[1] = null; - span34[2] = null; - span34[3] = null; - span34[4] = null; - span34[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list89; - skipConditions8.StepIf = skipStepConditions3; - questStep3.SkipConditions = skipConditions8; - reference68 = questStep3; - ref QuestStep reference69 = ref span31[3]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1011202u, new Vector3(-228.10712f, -16.034918f, -49.912292f), 419); - num3 = 6; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - Span span35 = CollectionsMarshal.AsSpan(list90); - span35[0] = null; - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list90; - reference69 = questStep4; - ref QuestStep reference70 = ref span31[4]; - QuestStep questStep5 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-205.36649f, -16.134916f, -51.418564f), 419); - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list91 = new List(num3); - CollectionsMarshal.SetCount(list91, num3); - Span span36 = CollectionsMarshal.AsSpan(list91); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list91; - skipConditions9.StepIf = skipStepConditions4; - questStep5.SkipConditions = skipConditions9; - reference70 = questStep5; - ref QuestStep reference71 = ref span31[5]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1011204u, new Vector3(-203.6012f, -16.034918f, -53.23877f), 419); - num3 = 6; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - Span span37 = CollectionsMarshal.AsSpan(list92); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list92; - reference71 = questStep6; - obj66.Steps = list86; - reference65 = obj66; - ref QuestSequence reference72 = ref span30[2]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.Interact, 1012180u, new Vector3(-174.18176f, -12.555469f, -21.561035f), 419); - obj67.Steps = list93; - reference72 = obj67; - ref QuestSequence reference73 = ref span30[3]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Interact, 1015596u, new Vector3(15.915161f, 15.96505f, -0.22894287f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardJeweledCrozier, - To = EAetheryteLocation.IshgardLastVigil - } - }; - obj68.Steps = list94; - reference73 = obj68; - ref QuestSequence reference74 = ref span30[4]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.Interact, 2006709u, new Vector3(38.80359f, 16.494995f, -31.204712f), 419); - obj69.Steps = list95; - reference74 = obj69; - ref QuestSequence reference75 = ref span30[5]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.Interact, 1011231u, new Vector3(503.1051f, 217.95148f, 790.2189f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj70.Steps = list96; - reference75 = obj70; - ref QuestSequence reference76 = ref span30[6]; - QuestSequence obj71 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.CompleteQuest, 2006753u, new Vector3(-217.05963f, 88.09033f, -585.2598f), 397) - { - Fly = true, - NextQuestId = new QuestId(2227) - }; - obj71.Steps = list97; - reference76 = obj71; - questRoot10.QuestSequence = list83; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(2227); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - CollectionsMarshal.AsSpan(list98)[0] = "liza"; - questRoot11.Author = list98; - num = 7; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - Span span38 = CollectionsMarshal.AsSpan(list99); - ref QuestSequence reference77 = ref span38[0]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016604u, new Vector3(-222.24768f, 88.525505f, -582.8794f), 397) - { - StopDistance = 7f - }; - obj72.Steps = list100; - reference77 = obj72; - ref QuestSequence reference78 = ref span38[1]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.Interact, 1016629u, new Vector3(409.9336f, 166.24477f, -448.661f), 397) - { - Fly = true - }; - obj73.Steps = list101; - reference78 = obj73; - ref QuestSequence reference79 = ref span38[2]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.Interact, 1016612u, new Vector3(757.83923f, 186.03809f, -538.26196f), 397) - { - Fly = true - }; - obj74.Steps = list102; - reference79 = obj74; - ref QuestSequence reference80 = ref span38[3]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - ref QuestStep reference81 = ref CollectionsMarshal.AsSpan(list103)[0]; - QuestStep obj76 = new QuestStep(EInteractionType.Combat, null, new Vector3(789.0687f, 186.03352f, -529.4571f), 397) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - CollectionsMarshal.AsSpan(list104)[0] = 5536u; - obj76.KillEnemyDataIds = list104; - reference81 = obj76; - obj75.Steps = list103; - reference80 = obj75; - ref QuestSequence reference82 = ref span38[4]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 2006763u, new Vector3(789.2728f, 186.44995f, -529.3507f), 397); - obj77.Steps = list105; - reference82 = obj77; - ref QuestSequence reference83 = ref span38[5]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.Interact, 1016617u, new Vector3(790.3716f, 186.03076f, -527.0314f), 397); - obj78.Steps = list106; - reference83 = obj78; - ref QuestSequence reference84 = ref span38[6]; - QuestSequence obj79 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016619u, new Vector3(-66.84979f, 8.05915f, 9.506287f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - NextQuestId = new QuestId(2228) - }; - obj79.Steps = list107; - reference84 = obj79; - questRoot11.QuestSequence = list99; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(2228); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - CollectionsMarshal.AsSpan(list108)[0] = "liza"; - questRoot12.Author = list108; - num = 6; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - Span span39 = CollectionsMarshal.AsSpan(list109); - ref QuestSequence reference85 = ref span39[0]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016619u, new Vector3(-66.84979f, 8.05915f, 9.506287f), 418); - obj80.Steps = list110; - reference85 = obj80; - ref QuestSequence reference86 = ref span39[1]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.Interact, 1016600u, new Vector3(46.097534f, 15.8650675f, -27.298462f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardLastVigil - } - }; - obj81.Steps = list111; - reference86 = obj81; - ref QuestSequence reference87 = ref span39[2]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.Interact, 1017131u, new Vector3(35.446655f, 15.965061f, -96.75751f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardLastVigil, - To = EAetheryteLocation.IshgardTribunal - } - }; - obj82.Steps = list112; - reference87 = obj82; - ref QuestSequence reference88 = ref span39[3]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.Interact, 1017278u, new Vector3(-158.31238f, 2.0333426f, -10.635559f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardTribunal, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - obj83.Steps = list113; - reference88 = obj83; - ref QuestSequence reference89 = ref span39[4]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.Interact, 1016607u, new Vector3(-260.12054f, -20.035f, -66.14789f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSkysteelManufactory, - To = EAetheryteLocation.IshgardJeweledCrozier - } - }; - obj84.Steps = list114; - reference89 = obj84; - ref QuestSequence reference90 = ref span39[5]; - QuestSequence obj85 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016608u, new Vector3(-261.0971f, -20.03499f, -66.11737f), 419) - { - StopDistance = 5f, - NextQuestId = new QuestId(2229) - }; - obj85.Steps = list115; - reference90 = obj85; - questRoot12.QuestSequence = list109; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(2229); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - CollectionsMarshal.AsSpan(list116)[0] = "liza"; - questRoot13.Author = list116; - num = 8; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - Span span40 = CollectionsMarshal.AsSpan(list117); - ref QuestSequence reference91 = ref span40[0]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016608u, new Vector3(-261.0971f, -20.03499f, -66.11737f), 419) - { - StopDistance = 5f - }; - obj86.Steps = list118; - reference91 = obj86; - ref QuestSequence reference92 = ref span40[1]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.Interact, 1011225u, new Vector3(-170.6112f, 16.979578f, -37.125244f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardJeweledCrozier, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - obj87.Steps = list119; - reference92 = obj87; - ref QuestSequence reference93 = ref span40[2]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.Interact, 1017133u, new Vector3(408.07202f, 195.66847f, 585.3512f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj88.Steps = list120; - reference93 = obj88; - ref QuestSequence reference94 = ref span40[3]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.Interact, 2007180u, new Vector3(262.10425f, 163.31726f, 295.67407f), 397) - { - Fly = true - }; - obj89.Steps = list121; - reference94 = obj89; - ref QuestSequence reference95 = ref span40[4]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.Interact, 1017274u, new Vector3(164.53796f, 166.2741f, 181.32288f), 397) - { - Fly = true - }; - obj90.Steps = list122; - reference95 = obj90; - ref QuestSequence reference96 = ref span40[5]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.Interact, 1017274u, new Vector3(164.53796f, 166.2741f, 181.32288f), 397); - obj91.Steps = list123; - reference96 = obj91; - ref QuestSequence reference97 = ref span40[6]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.Interact, 1017277u, new Vector3(163.13416f, 166.2741f, 179.4613f), 397) - { - StopDistance = 5f - }; - obj92.Steps = list124; - reference97 = obj92; - ref QuestSequence reference98 = ref span40[7]; - QuestSequence obj93 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016619u, new Vector3(-66.84979f, 8.05915f, 9.506287f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - NextQuestId = new QuestId(2369) - }; - obj93.Steps = list125; - reference98 = obj93; - questRoot13.QuestSequence = list117; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(2230); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - CollectionsMarshal.AsSpan(list126)[0] = "liza"; - questRoot14.Author = list126; - num = 4; - List list127 = new List(num); - CollectionsMarshal.SetCount(list127, num); - Span span41 = CollectionsMarshal.AsSpan(list127); - ref QuestSequence reference99 = ref span41[0]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - Span span42 = CollectionsMarshal.AsSpan(list128); - ref QuestStep reference100 = ref span42[0]; - QuestStep obj95 = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 1; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - CollectionsMarshal.AsSpan(list129)[0] = 351; - skipStepConditions5.InTerritory = list129; - skipConditions10.StepIf = skipStepConditions5; - SkipAetheryteCondition skipAetheryteCondition6 = new SkipAetheryteCondition(); - num3 = 1; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - CollectionsMarshal.AsSpan(list130)[0] = 351; - skipAetheryteCondition6.InTerritory = list130; - skipConditions10.AetheryteShortcutIf = skipAetheryteCondition6; - obj95.SkipConditions = skipConditions10; - reference100 = obj95; - span42[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.RisingStonesSolar - } - } - }; - span42[2] = new QuestStep(EInteractionType.AcceptQuest, 1014565u, new Vector3(0.44250488f, -1.9957249f, -43.22882f), 351) - { - StopDistance = 7f - }; - obj94.Steps = list128; - reference99 = obj94; - ref QuestSequence reference101 = ref span41[1]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.Interact, 1016631u, new Vector3(209.12476f, 256.37268f, -4.3793945f), 402) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzysLlaHelix - }; - obj96.Steps = list131; - reference101 = obj96; - ref QuestSequence reference102 = ref span41[2]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.Duty, null, null, 401) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 134u - } - }; - obj97.Steps = list132; - reference102 = obj97; - ref QuestSequence reference103 = ref span41[3]; - QuestSequence obj98 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - Span span43 = CollectionsMarshal.AsSpan(list133); - span43[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span43[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span43[2] = new QuestStep(EInteractionType.CompleteQuest, 1014565u, new Vector3(0.44250488f, -1.9957249f, -43.22882f), 351) - { - StopDistance = 7f, - NextQuestId = new QuestId(2288) - }; - obj98.Steps = list133; - reference103 = obj98; - questRoot14.QuestSequence = list127; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(2231); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list134 = new List(num); - CollectionsMarshal.SetCount(list134, num); - CollectionsMarshal.AsSpan(list134)[0] = "JerryWester"; - questRoot15.Author = list134; - num = 5; - List list135 = new List(num); - CollectionsMarshal.SetCount(list135, num); - Span span44 = CollectionsMarshal.AsSpan(list135); - ref QuestSequence reference104 = ref span44[0]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012580u, new Vector3(16.006714f, 16.009666f, -3.189148f), 419) - { - StopDistance = 7f - }; - obj99.Steps = list136; - reference104 = obj99; - ref QuestSequence reference105 = ref span44[1]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.Interact, 1016531u, new Vector3(-323.99487f, 11.999983f, 44.96826f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - } - }; - obj100.Steps = list137; - reference105 = obj100; - ref QuestSequence reference106 = ref span44[2]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.Interact, 1010388u, new Vector3(40.482178f, 20.495f, -650.96515f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj101.Steps = list138; - reference106 = obj101; - ref QuestSequence reference107 = ref span44[3]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 3 - }; - num2 = 6; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - Span span45 = CollectionsMarshal.AsSpan(list139); - span45[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351 - }; - ref QuestStep reference108 = ref span45[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1016541u, new Vector3(2.1514893f, 0f, -7.4921875f), 351); - num3 = 6; - List list140 = new List(num3); - CollectionsMarshal.SetCount(list140, num3); - Span span46 = CollectionsMarshal.AsSpan(list140); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list140; - reference108 = questStep7; - ref QuestStep reference109 = ref span45[2]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1016538u, new Vector3(14.572327f, 0f, -9.964172f), 351); - num3 = 6; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - Span span47 = CollectionsMarshal.AsSpan(list141); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list141; - reference109 = questStep8; - ref QuestStep reference110 = ref span45[3]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1016540u, new Vector3(31.967651f, -1f, -4.196289f), 351); - num3 = 6; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - Span span48 = CollectionsMarshal.AsSpan(list142); - span48[0] = null; - span48[1] = null; - span48[2] = null; - span48[3] = null; - span48[4] = null; - span48[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list142; - reference110 = questStep9; - ref QuestStep reference111 = ref span45[4]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1016543u, new Vector3(33.0968f, -1f, 5.7526245f), 351); - num3 = 6; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - Span span49 = CollectionsMarshal.AsSpan(list143); - span49[0] = null; - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list143; - reference111 = questStep10; - ref QuestStep reference112 = ref span45[5]; - QuestStep obj103 = new QuestStep(EInteractionType.Interact, 1016542u, new Vector3(36.27063f, -0.25946045f, 2.4871826f), 351) - { - StopDistance = 5f - }; - num3 = 6; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - Span span50 = CollectionsMarshal.AsSpan(list144); - span50[0] = null; - span50[1] = null; - span50[2] = null; - span50[3] = null; - span50[4] = null; - span50[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj103.CompletionQuestVariablesFlags = list144; - reference112 = obj103; - obj102.Steps = list139; - reference107 = obj102; - ref QuestSequence reference113 = ref span44[4]; - QuestSequence obj104 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016535u, new Vector3(-2.6704102f, 0f, -5.2644043f), 351); - obj104.Steps = list145; - reference113 = obj104; - questRoot15.QuestSequence = list135; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(2232); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list146 = new List(num); - CollectionsMarshal.SetCount(list146, num); - CollectionsMarshal.AsSpan(list146)[0] = "JerryWester"; - questRoot16.Author = list146; - num = 6; - List list147 = new List(num); - CollectionsMarshal.SetCount(list147, num); - Span span51 = CollectionsMarshal.AsSpan(list147); - ref QuestSequence reference114 = ref span51[0]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016534u, new Vector3(-1.7243042f, 0f, -3.6469727f), 351); - obj105.Steps = list148; - reference114 = obj105; - ref QuestSequence reference115 = ref span51[1]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.Interact, 1016558u, new Vector3(43.74756f, 205.2239f, 19.638367f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire - }; - obj106.Steps = list149; - reference115 = obj106; - ref QuestSequence reference116 = ref span51[2]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - Span span52 = CollectionsMarshal.AsSpan(list150); - span52[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(71.86769f, 204.99998f, 145.98666f), 478) - { - TargetTerritoryId = (ushort)399 - }; - span52[1] = new QuestStep(EInteractionType.Interact, 2005336u, new Vector3(-488.79227f, 138.93335f, 741.0543f), 399) - { - StopDistance = 0.25f, - TargetTerritoryId = (ushort)463, - Fly = true - }; - span52[2] = new QuestStep(EInteractionType.Interact, 1012138u, new Vector3(19.272095f, 38.43f, 15.854065f), 463); - obj107.Steps = list150; - reference116 = obj107; - ref QuestSequence reference117 = ref span51[3]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.Duty, null, null, 463) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 141u - } - }; - obj108.Steps = list151; - reference117 = obj108; - span51[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference118 = ref span51[5]; - QuestSequence obj109 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - ref QuestStep reference119 = ref CollectionsMarshal.AsSpan(list152)[0]; - QuestStep obj110 = new QuestStep(EInteractionType.CompleteQuest, 1016560u, new Vector3(21.133728f, 38.4364f, 8.041443f), 463) - { - StopDistance = 7f - }; - num3 = 1; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - CollectionsMarshal.AsSpan(list153)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_HEAVNC102_02232_Q1_000_121"), - Answer = new ExcelRef("TEXT_HEAVNC102_02232_A1_000_124") - }; - obj110.DialogueChoices = list153; - reference119 = obj110; - obj109.Steps = list152; - reference118 = obj109; - questRoot16.QuestSequence = list147; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(2233); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list154 = new List(num); - CollectionsMarshal.SetCount(list154, num); - CollectionsMarshal.AsSpan(list154)[0] = "JerryWester"; - questRoot17.Author = list154; - num = 3; - List list155 = new List(num); - CollectionsMarshal.SetCount(list155, num); - Span span53 = CollectionsMarshal.AsSpan(list155); - ref QuestSequence reference120 = ref span53[0]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016560u, new Vector3(21.133728f, 38.4364f, 8.041443f), 463) - { - StopDistance = 7f - }; - obj111.Steps = list156; - reference120 = obj111; - ref QuestSequence reference121 = ref span53[1]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - ref QuestStep reference122 = ref CollectionsMarshal.AsSpan(list157)[0]; - QuestStep obj113 = new QuestStep(EInteractionType.Interact, 1011223u, new Vector3(114.579956f, 24.412834f, -11.062805f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - num3 = 1; - List list158 = new List(num3); - CollectionsMarshal.SetCount(list158, num3); - CollectionsMarshal.AsSpan(list158)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_HEAVNC103_02233_Q1_000_021") - }; - obj113.DialogueChoices = list158; - reference122 = obj113; - obj112.Steps = list157; - reference121 = obj112; - ref QuestSequence reference123 = ref span53[2]; - QuestSequence obj114 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016564u, new Vector3(481.40686f, 225.00232f, 793.08765f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj114.Steps = list159; - reference123 = obj114; - questRoot17.QuestSequence = list155; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(2234); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list160 = new List(num); - CollectionsMarshal.SetCount(list160, num); - CollectionsMarshal.AsSpan(list160)[0] = "JerryWester"; - questRoot18.Author = list160; - num = 3; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - Span span54 = CollectionsMarshal.AsSpan(list161); - ref QuestSequence reference124 = ref span54[0]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016564u, new Vector3(481.40686f, 225.00232f, 793.08765f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj115.Steps = list162; - reference124 = obj115; - ref QuestSequence reference125 = ref span54[1]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - Span span55 = CollectionsMarshal.AsSpan(list163); - ref QuestStep reference126 = ref span55[0]; - QuestStep obj117 = new QuestStep(EInteractionType.Interact, 1011231u, new Vector3(503.1051f, 217.95148f, 790.2189f), 397) - { - Fly = true - }; - num3 = 6; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - Span span56 = CollectionsMarshal.AsSpan(list164); - span56[0] = null; - span56[1] = null; - span56[2] = null; - span56[3] = null; - span56[4] = null; - span56[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj117.CompletionQuestVariablesFlags = list164; - reference126 = obj117; - ref QuestStep reference127 = ref span55[1]; - QuestStep obj118 = new QuestStep(EInteractionType.Interact, 1016568u, new Vector3(465.5984f, 217.95128f, 752.7428f), 397) - { - Fly = true - }; - num3 = 6; - List list165 = new List(num3); - CollectionsMarshal.SetCount(list165, num3); - Span span57 = CollectionsMarshal.AsSpan(list165); - span57[0] = null; - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj118.CompletionQuestVariablesFlags = list165; - reference127 = obj118; - ref QuestStep reference128 = ref span55[2]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1011236u, new Vector3(446.00586f, 217.95142f, 764.06494f), 397); - num3 = 6; - List list166 = new List(num3); - CollectionsMarshal.SetCount(list166, num3); - Span span58 = CollectionsMarshal.AsSpan(list166); - span58[0] = null; - span58[1] = null; - span58[2] = null; - span58[3] = null; - span58[4] = null; - span58[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list166; - reference128 = questStep11; - obj116.Steps = list163; - reference125 = obj116; - ref QuestSequence reference129 = ref span54[2]; - QuestSequence obj119 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016565u, new Vector3(503.34937f, 217.95154f, 760.46387f), 397) - { - Fly = true - }; - obj119.Steps = list167; - reference129 = obj119; - questRoot18.QuestSequence = list161; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(2235); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list168 = new List(num); - CollectionsMarshal.SetCount(list168, num); - CollectionsMarshal.AsSpan(list168)[0] = "JerryWester"; - questRoot19.Author = list168; - num = 5; - List list169 = new List(num); - CollectionsMarshal.SetCount(list169, num); - Span span59 = CollectionsMarshal.AsSpan(list169); - ref QuestSequence reference130 = ref span59[0]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016566u, new Vector3(515.5565f, 217.95154f, 763.7291f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj120.Steps = list170; - reference130 = obj120; - ref QuestSequence reference131 = ref span59[1]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - Span span60 = CollectionsMarshal.AsSpan(list171); - ref QuestStep reference132 = ref span60[0]; - QuestStep obj122 = new QuestStep(EInteractionType.Combat, 2006869u, new Vector3(334.7981f, 186.11426f, 442.22168f), 397) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list172 = new List(num3); - CollectionsMarshal.SetCount(list172, num3); - Span span61 = CollectionsMarshal.AsSpan(list172); - span61[0] = 5537u; - span61[1] = 5538u; - obj122.KillEnemyDataIds = list172; - num3 = 6; - List list173 = new List(num3); - CollectionsMarshal.SetCount(list173, num3); - Span span62 = CollectionsMarshal.AsSpan(list173); - span62[0] = null; - span62[1] = null; - span62[2] = null; - span62[3] = null; - span62[4] = null; - span62[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj122.CompletionQuestVariablesFlags = list173; - reference132 = obj122; - ref QuestStep reference133 = ref span60[1]; - QuestStep obj123 = new QuestStep(EInteractionType.Combat, 2006870u, new Vector3(439.9939f, 165.45349f, 344.74695f), 397) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list174 = new List(num3); - CollectionsMarshal.SetCount(list174, num3); - CollectionsMarshal.AsSpan(list174)[0] = 5539u; - obj123.KillEnemyDataIds = list174; - num3 = 6; - List list175 = new List(num3); - CollectionsMarshal.SetCount(list175, num3); - Span span63 = CollectionsMarshal.AsSpan(list175); - span63[0] = null; - span63[1] = null; - span63[2] = null; - span63[3] = null; - span63[4] = null; - span63[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj123.CompletionQuestVariablesFlags = list175; - reference133 = obj123; - obj121.Steps = list171; - reference131 = obj121; - ref QuestSequence reference134 = ref span59[2]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - CollectionsMarshal.AsSpan(list176)[0] = new QuestStep(EInteractionType.Interact, 1016566u, new Vector3(515.5565f, 217.95154f, 763.7291f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj124.Steps = list176; - reference134 = obj124; - ref QuestSequence reference135 = ref span59[3]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.Interact, 1016573u, new Vector3(79.02649f, 117.196884f, 157.57996f), 397) - { - StopDistance = 1f, - Fly = true - }; - obj125.Steps = list177; - reference135 = obj125; - ref QuestSequence reference136 = ref span59[4]; - QuestSequence obj126 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016566u, new Vector3(515.5565f, 217.95154f, 763.7291f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj126.Steps = list178; - reference136 = obj126; - questRoot19.QuestSequence = list169; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(2236); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list179 = new List(num); - CollectionsMarshal.SetCount(list179, num); - CollectionsMarshal.AsSpan(list179)[0] = "JerryWester"; - questRoot20.Author = list179; - num = 4; - List list180 = new List(num); - CollectionsMarshal.SetCount(list180, num); - Span span64 = CollectionsMarshal.AsSpan(list180); - ref QuestSequence reference137 = ref span64[0]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016566u, new Vector3(515.5565f, 217.95154f, 763.7291f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj127.Steps = list181; - reference137 = obj127; - ref QuestSequence reference138 = ref span64[1]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.Interact, 1016579u, new Vector3(507.16406f, 217.95152f, 769.9243f), 397); - obj128.Steps = list182; - reference138 = obj128; - ref QuestSequence reference139 = ref span64[2]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - Span span65 = CollectionsMarshal.AsSpan(list183); - ref QuestStep reference140 = ref span65[0]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1016569u, new Vector3(495.32312f, 217.95135f, 742.6107f), 397); - num3 = 6; - List list184 = new List(num3); - CollectionsMarshal.SetCount(list184, num3); - Span span66 = CollectionsMarshal.AsSpan(list184); - span66[0] = null; - span66[1] = null; - span66[2] = null; - span66[3] = null; - span66[4] = null; - span66[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list184; - reference140 = questStep12; - span65[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(522.6554f, 228.37697f, 752.68335f), 397) - { - Fly = true - }; - ref QuestStep reference141 = ref span65[2]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1016570u, new Vector3(520.0122f, 228.37695f, 752.7732f), 397); - num3 = 6; - List list185 = new List(num3); - CollectionsMarshal.SetCount(list185, num3); - Span span67 = CollectionsMarshal.AsSpan(list185); - span67[0] = null; - span67[1] = null; - span67[2] = null; - span67[3] = null; - span67[4] = null; - span67[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list185; - reference141 = questStep13; - ref QuestStep reference142 = ref span65[3]; - QuestStep obj130 = new QuestStep(EInteractionType.Interact, 1011235u, new Vector3(522.54517f, 228.3512f, 723.5675f), 397) - { - Fly = true - }; - num3 = 6; - List list186 = new List(num3); - CollectionsMarshal.SetCount(list186, num3); - Span span68 = CollectionsMarshal.AsSpan(list186); - span68[0] = null; - span68[1] = null; - span68[2] = null; - span68[3] = null; - span68[4] = null; - span68[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj130.CompletionQuestVariablesFlags = list186; - reference142 = obj130; - obj129.Steps = list183; - reference139 = obj129; - ref QuestSequence reference143 = ref span64[3]; - QuestSequence obj131 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016580u, new Vector3(416.5254f, 217.95142f, 754.20764f), 397) - { - Fly = true - }; - obj131.Steps = list187; - reference143 = obj131; - questRoot20.QuestSequence = list180; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(2237); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list188 = new List(num); - CollectionsMarshal.SetCount(list188, num); - CollectionsMarshal.AsSpan(list188)[0] = "JerryWester"; - questRoot21.Author = list188; - num = 4; - List list189 = new List(num); - CollectionsMarshal.SetCount(list189, num); - Span span69 = CollectionsMarshal.AsSpan(list189); - ref QuestSequence reference144 = ref span69[0]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016580u, new Vector3(416.5254f, 217.95142f, 754.20764f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj132.Steps = list190; - reference144 = obj132; - ref QuestSequence reference145 = ref span69[1]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - Span span70 = CollectionsMarshal.AsSpan(list191); - span70[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(528.9199f, 217.95137f, 773.3327f), 397) - { - Fly = true - }; - span70[1] = new QuestStep(EInteractionType.Interact, 1016069u, new Vector3(540.3677f, 217.90826f, 769.0393f), 397); - obj133.Steps = list191; - reference145 = obj133; - ref QuestSequence reference146 = ref span69[2]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - Span span71 = CollectionsMarshal.AsSpan(list192); - span71[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(528.9199f, 217.95137f, 773.3327f), 397) - { - Mount = true - }; - span71[1] = new QuestStep(EInteractionType.Interact, 1016581u, new Vector3(477.37842f, 223.92603f, 872.6787f), 397) - { - Fly = true - }; - obj134.Steps = list192; - reference146 = obj134; - ref QuestSequence reference147 = ref span69[3]; - QuestSequence obj135 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016579u, new Vector3(507.16406f, 217.95152f, 769.9243f), 397) - { - Fly = true - }; - obj135.Steps = list193; - reference147 = obj135; - questRoot21.QuestSequence = list189; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(2238); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - CollectionsMarshal.AsSpan(list194)[0] = "JerryWester"; - questRoot22.Author = list194; - num = 8; - List list195 = new List(num); - CollectionsMarshal.SetCount(list195, num); - Span span72 = CollectionsMarshal.AsSpan(list195); - ref QuestSequence reference148 = ref span72[0]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016579u, new Vector3(507.16406f, 217.95152f, 769.9243f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj136.Steps = list196; - reference148 = obj136; - ref QuestSequence reference149 = ref span72[1]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - Span span73 = CollectionsMarshal.AsSpan(list197); - ref QuestStep reference150 = ref span73[0]; - QuestStep obj138 = new QuestStep(EInteractionType.Interact, 1011223u, new Vector3(114.579956f, 24.412834f, -11.062805f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - num3 = 1; - List list198 = new List(num3); - CollectionsMarshal.SetCount(list198, num3); - CollectionsMarshal.AsSpan(list198)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_HEAVNC108_02238_Q1_000_031") - }; - obj138.DialogueChoices = list198; - reference150 = obj138; - span73[1] = new QuestStep(EInteractionType.Interact, 1013183u, new Vector3(-0.015319824f, 0.019999694f, -6.302063f), 428); - obj137.Steps = list197; - reference149 = obj137; - ref QuestSequence reference151 = ref span72[2]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - ref QuestStep reference152 = ref CollectionsMarshal.AsSpan(list199)[0]; - QuestStep obj140 = new QuestStep(EInteractionType.Interact, 1016583u, new Vector3(112.53516f, 24.391685f, -2.9145508f), 418) - { - StopDistance = 7f - }; - num3 = 1; - List list200 = new List(num3); - CollectionsMarshal.SetCount(list200, num3); - CollectionsMarshal.AsSpan(list200)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_HEAVNC108_02238_Q2_000_093"), - Answer = new ExcelRef("TEXT_HEAVNC108_02238_A2_000_095") - }; - obj140.DialogueChoices = list200; - reference152 = obj140; - obj139.Steps = list199; - reference151 = obj139; - ref QuestSequence reference153 = ref span72[3]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.Interact, 1013167u, new Vector3(125.68848f, 24.458836f, 2.456604f), 418); - obj141.Steps = list201; - reference153 = obj141; - ref QuestSequence reference154 = ref span72[4]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.Interact, 1012251u, new Vector3(12.313965f, -12.020877f, 40.268433f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardBrume - } - }; - obj142.Steps = list202; - reference154 = obj142; - ref QuestSequence reference155 = ref span72[5]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.Interact, 1016585u, new Vector3(-177.11151f, -12.534915f, -43.137268f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardBrume, - To = EAetheryteLocation.IshgardJeweledCrozier - } - }; - obj143.Steps = list203; - reference155 = obj143; - ref QuestSequence reference156 = ref span72[6]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - ref QuestStep reference157 = ref CollectionsMarshal.AsSpan(list204)[0]; - QuestStep obj145 = new QuestStep(EInteractionType.Interact, 1011223u, new Vector3(114.579956f, 24.412834f, -11.062805f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardJeweledCrozier, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - num3 = 1; - List list205 = new List(num3); - CollectionsMarshal.SetCount(list205, num3); - CollectionsMarshal.AsSpan(list205)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_HEAVNC108_02238_Q3_000_223") - }; - obj145.DialogueChoices = list205; - reference157 = obj145; - obj144.Steps = list204; - reference156 = obj144; - ref QuestSequence reference158 = ref span72[7]; - QuestSequence obj146 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016583u, new Vector3(112.53516f, 24.391685f, -2.9145508f), 418) - { - StopDistance = 7f - }; - obj146.Steps = list206; - reference158 = obj146; - questRoot22.QuestSequence = list195; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(2239); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - CollectionsMarshal.AsSpan(list207)[0] = "JerryWester"; - questRoot23.Author = list207; - num = 6; - List list208 = new List(num); - CollectionsMarshal.SetCount(list208, num); - Span span74 = CollectionsMarshal.AsSpan(list208); - ref QuestSequence reference159 = ref span74[0]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.AcceptQuest, 1015978u, new Vector3(111.283936f, 24.388157f, -4.3793945f), 418) - { - StopDistance = 7f - }; - obj147.Steps = list209; - reference159 = obj147; - ref QuestSequence reference160 = ref span74[1]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - Span span75 = CollectionsMarshal.AsSpan(list210); - span75[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-132.00812f, 304.1538f, -292.25592f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span75[1] = new QuestStep(EInteractionType.Interact, 1016587u, new Vector3(-133.92847f, 304.15384f, -300.83167f), 155); - obj148.Steps = list210; - reference160 = obj148; - ref QuestSequence reference161 = ref span74[2]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - CollectionsMarshal.AsSpan(list211)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1016587u, new Vector3(-133.92847f, 304.15384f, -300.83167f), 155) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj149.Steps = list211; - reference161 = obj149; - span74[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference162 = ref span74[4]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - CollectionsMarshal.AsSpan(list212)[0] = new QuestStep(EInteractionType.Interact, 1016072u, new Vector3(-53.543945f, 298.9f, -204.36407f), 155); - obj150.Steps = list212; - reference162 = obj150; - ref QuestSequence reference163 = ref span74[5]; - QuestSequence obj151 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - Span span76 = CollectionsMarshal.AsSpan(list213); - span76[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-132.00812f, 304.1538f, -292.25592f), 155) - { - Fly = true - }; - span76[1] = new QuestStep(EInteractionType.CompleteQuest, 1016588u, new Vector3(-136.64453f, 304.15384f, -308.36963f), 155); - obj151.Steps = list213; - reference163 = obj151; - questRoot23.QuestSequence = list208; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(2240); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list214 = new List(num); - CollectionsMarshal.SetCount(list214, num); - CollectionsMarshal.AsSpan(list214)[0] = "JerryWester"; - questRoot24.Author = list214; - num = 4; - List list215 = new List(num); - CollectionsMarshal.SetCount(list215, num); - Span span77 = CollectionsMarshal.AsSpan(list215); - ref QuestSequence reference164 = ref span77[0]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - CollectionsMarshal.AsSpan(list216)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016074u, new Vector3(-139.849f, 304.15384f, -309.8955f), 155) - { - StopDistance = 7f - }; - obj152.Steps = list216; - reference164 = obj152; - ref QuestSequence reference165 = ref span77[1]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.Interact, 1016589u, new Vector3(7.4005737f, 1.2791227f, 104.35632f), 418) - { - StopDistance = 5f - }; - obj153.Steps = list217; - reference165 = obj153; - ref QuestSequence reference166 = ref span77[2]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - CollectionsMarshal.AsSpan(list218)[0] = new QuestStep(EInteractionType.Interact, 1016565u, new Vector3(503.34937f, 217.95154f, 760.46387f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj154.Steps = list218; - reference166 = obj154; - ref QuestSequence reference167 = ref span77[3]; - QuestSequence obj155 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - ref QuestStep reference168 = ref CollectionsMarshal.AsSpan(list219)[0]; - QuestStep obj156 = new QuestStep(EInteractionType.CompleteQuest, 1016590u, new Vector3(501.97595f, 217.95152f, 762.72217f), 397) - { - StopDistance = 7f - }; - num3 = 1; - List list220 = new List(num3); - CollectionsMarshal.SetCount(list220, num3); - CollectionsMarshal.AsSpan(list220)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_HEAVNC110_02240_Q1_000_071"), - Answer = new ExcelRef("TEXT_HEAVNC110_02240_A1_000_072") - }; - obj156.DialogueChoices = list220; - reference168 = obj156; - obj155.Steps = list219; - reference167 = obj155; - questRoot24.QuestSequence = list215; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(2241); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list221 = new List(num); - CollectionsMarshal.SetCount(list221, num); - CollectionsMarshal.AsSpan(list221)[0] = "JerryWester"; - questRoot25.Author = list221; - num = 4; - List list222 = new List(num); - CollectionsMarshal.SetCount(list222, num); - Span span78 = CollectionsMarshal.AsSpan(list222); - ref QuestSequence reference169 = ref span78[0]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - CollectionsMarshal.AsSpan(list223)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016590u, new Vector3(501.97595f, 217.95152f, 762.72217f), 397) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj157.Steps = list223; - reference169 = obj157; - ref QuestSequence reference170 = ref span78[1]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - Span span79 = CollectionsMarshal.AsSpan(list224); - span79[0] = new QuestStep(EInteractionType.Interact, 1009973u, new Vector3(264.91187f, 302.26236f, -223.71259f), 155) - { - TargetTerritoryId = (ushort)395, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span79[1] = new QuestStep(EInteractionType.Interact, 2006864u, new Vector3(-2.7924194f, -0.015319824f, 0.10675049f), 395); - obj158.Steps = list224; - reference170 = obj158; - ref QuestSequence reference171 = ref span78[2]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.Interact, 1016591u, new Vector3(-2.02948f, 0.014982708f, 4.562378f), 395); - obj159.Steps = list225; - reference171 = obj159; - ref QuestSequence reference172 = ref span78[3]; - QuestSequence obj160 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - CollectionsMarshal.AsSpan(list226)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013227u, new Vector3(14.877502f, 16.009666f, -4.196289f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardLastVigil - } - }; - obj160.Steps = list226; - reference172 = obj160; - questRoot25.QuestSequence = list222; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(2242); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list227 = new List(num); - CollectionsMarshal.SetCount(list227, num); - CollectionsMarshal.AsSpan(list227)[0] = "JerryWester"; - questRoot26.Author = list227; - num = 4; - List list228 = new List(num); - CollectionsMarshal.SetCount(list228, num); - Span span80 = CollectionsMarshal.AsSpan(list228); - ref QuestSequence reference173 = ref span80[0]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.AcceptQuest, 1015596u, new Vector3(15.915161f, 15.96505f, -0.22894287f), 419) - { - StopDistance = 7f - }; - obj161.Steps = list229; - reference173 = obj161; - ref QuestSequence reference174 = ref span80[1]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - Span span81 = CollectionsMarshal.AsSpan(list230); - span81[0] = new QuestStep(EInteractionType.Interact, 1011217u, new Vector3(17.990356f, 16.009666f, -9.567444f), 419) - { - StopDistance = 7f, - TargetTerritoryId = (ushort)433 - }; - span81[1] = new QuestStep(EInteractionType.Interact, 1012857u, new Vector3(0.7476196f, 0.022254243f, 4.623413f), 433) - { - StopDistance = 7f - }; - obj162.Steps = list230; - reference174 = obj162; - ref QuestSequence reference175 = ref span80[2]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.Interact, 1016807u, new Vector3(92.851074f, 15.00001f, 38.254395f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardLastVigil, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj163.Steps = list231; - reference175 = obj163; - ref QuestSequence reference176 = ref span80[3]; - QuestSequence obj164 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016818u, new Vector3(109.72754f, 24.384384f, -4.715088f), 418); - obj164.Steps = list232; - reference176 = obj164; - questRoot26.QuestSequence = list228; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(2243); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list233 = new List(num); - CollectionsMarshal.SetCount(list233, num); - CollectionsMarshal.AsSpan(list233)[0] = "JerryWester"; - questRoot27.Author = list233; - num = 3; - List list234 = new List(num); - CollectionsMarshal.SetCount(list234, num); - Span span82 = CollectionsMarshal.AsSpan(list234); - ref QuestSequence reference177 = ref span82[0]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016818u, new Vector3(109.72754f, 24.384384f, -4.715088f), 418); - obj165.Steps = list235; - reference177 = obj165; - ref QuestSequence reference178 = ref span82[1]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.Interact, 1016881u, new Vector3(110.30737f, 24.386719f, -2.3347168f), 418) - { - StopDistance = 7f - }; - obj166.Steps = list236; - reference178 = obj166; - ref QuestSequence reference179 = ref span82[2]; - QuestSequence obj167 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - CollectionsMarshal.AsSpan(list237)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011935u, new Vector3(-285.63367f, 39.04305f, 53.72693f), 398) - { - StopDistance = 9f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - obj167.Steps = list237; - reference179 = obj167; - questRoot27.QuestSequence = list234; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(2244); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list238 = new List(num); - CollectionsMarshal.SetCount(list238, num); - CollectionsMarshal.AsSpan(list238)[0] = "JerryWester"; - questRoot28.Author = list238; - num = 8; - List list239 = new List(num); - CollectionsMarshal.SetCount(list239, num); - Span span83 = CollectionsMarshal.AsSpan(list239); - ref QuestSequence reference180 = ref span83[0]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016819u, new Vector3(-291.43213f, 39.04307f, 33.6156f), 398) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj168.Steps = list240; - reference180 = obj168; - ref QuestSequence reference181 = ref span83[1]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.Interact, 1016811u, new Vector3(234.5769f, -42.669212f, 615.28955f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome - }; - obj169.Steps = list241; - reference181 = obj169; - ref QuestSequence reference182 = ref span83[2]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - CollectionsMarshal.AsSpan(list242)[0] = new QuestStep(EInteractionType.Interact, 2006956u, new Vector3(-758.35815f, 123.704834f, 214.52649f), 400) - { - StopDistance = 1f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - obj170.Steps = list242; - reference182 = obj170; - ref QuestSequence reference183 = ref span83[3]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.Interact, 1016813u, new Vector3(-755.30634f, 123.72871f, 210.95593f), 400) - { - StopDistance = 5f - }; - obj171.Steps = list243; - reference183 = obj171; - ref QuestSequence reference184 = ref span83[4]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.Interact, 1016812u, new Vector3(-743.31274f, 83.799995f, 267.68896f), 400) - { - Fly = true - }; - obj172.Steps = list244; - reference184 = obj172; - ref QuestSequence reference185 = ref span83[5]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - ref QuestStep reference186 = ref CollectionsMarshal.AsSpan(list245)[0]; - QuestStep questStep14 = new QuestStep(EInteractionType.Duty, null, null, 400); - DutyOptions obj174 = new DutyOptions - { - ContentFinderConditionId = 171u - }; - num3 = 2; - List list246 = new List(num3); - CollectionsMarshal.SetCount(list246, num3); - Span span84 = CollectionsMarshal.AsSpan(list246); - span84[0] = "(boss 1) Doesn't knock all moogles out of the rez area"; - span84[1] = "(boss 3) Stack goal zone isn't properly removed from NPC, so the character will stack even for spread markers + slide into AOEs during ice"; - obj174.Notes = list246; - questStep14.DutyOptions = obj174; - reference186 = questStep14; - obj173.Steps = list245; - reference185 = obj173; - span83[6] = new QuestSequence - { - Sequence = 6 - }; - ref QuestSequence reference187 = ref span83[7]; - QuestSequence obj175 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017011u, new Vector3(-758.3887f, 123.72872f, 210.77283f), 400) - { - StopDistance = 7f - }; - obj175.Steps = list247; - reference187 = obj175; - questRoot28.QuestSequence = list239; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(2245); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list248 = new List(num); - CollectionsMarshal.SetCount(list248, num); - CollectionsMarshal.AsSpan(list248)[0] = "JerryWester"; - questRoot29.Author = list248; - num = 5; - List list249 = new List(num); - CollectionsMarshal.SetCount(list249, num); - Span span85 = CollectionsMarshal.AsSpan(list249); - ref QuestSequence reference188 = ref span85[0]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - CollectionsMarshal.AsSpan(list250)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016813u, new Vector3(-755.30634f, 123.72871f, 210.95593f), 400) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj176.Steps = list250; - reference188 = obj176; - span85[1] = new QuestSequence - { - Sequence = 1 - }; - ref QuestSequence reference189 = ref span85[2]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.Duty, null, null, 569) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 169u - } - }; - obj177.Steps = list251; - reference189 = obj177; - span85[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference190 = ref span85[4]; - QuestSequence obj178 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - CollectionsMarshal.AsSpan(list252)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016589u, new Vector3(7.4005737f, 1.2791227f, 104.35632f), 418); - obj178.Steps = list252; - reference190 = obj178; - questRoot29.QuestSequence = list249; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(2246); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list253 = new List(num); - CollectionsMarshal.SetCount(list253, num); - CollectionsMarshal.AsSpan(list253)[0] = "JerryWester"; - questRoot30.Author = list253; - num = 4; - List list254 = new List(num); - CollectionsMarshal.SetCount(list254, num); - Span span86 = CollectionsMarshal.AsSpan(list254); - ref QuestSequence reference191 = ref span86[0]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - CollectionsMarshal.AsSpan(list255)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016589u, new Vector3(7.4005737f, 1.2791227f, 104.35632f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj179.Steps = list255; - reference191 = obj179; - ref QuestSequence reference192 = ref span86[1]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.Interact, 1017024u, new Vector3(110.03284f, 24.383236f, -6.4851074f), 418); - obj180.Steps = list256; - reference192 = obj180; - ref QuestSequence reference193 = ref span86[2]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.Interact, 1011217u, new Vector3(17.990356f, 16.009666f, -9.567444f), 419) - { - TargetTerritoryId = (ushort)433, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardLastVigil - } - }; - obj181.Steps = list257; - reference193 = obj181; - ref QuestSequence reference194 = ref span86[3]; - QuestSequence obj182 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - Span span87 = CollectionsMarshal.AsSpan(list258); - span87[0] = new QuestStep(EInteractionType.Interact, 2005334u, new Vector3(-0.001443714f, 1.1515f, 13.2236f), 433) - { - TargetTerritoryId = (ushort)419 - }; - span87[1] = new QuestStep(EInteractionType.CompleteQuest, 1012380u, new Vector3(124.46777f, 24.458836f, 0.47296143f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardLastVigil, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj182.Steps = list258; - reference194 = obj182; - questRoot30.QuestSequence = list254; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(2247); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list259 = new List(num); - CollectionsMarshal.SetCount(list259, num); - CollectionsMarshal.AsSpan(list259)[0] = "JerryWester"; - questRoot31.Author = list259; - num = 4; - List list260 = new List(num); - CollectionsMarshal.SetCount(list260, num); - Span span88 = CollectionsMarshal.AsSpan(list260); - ref QuestSequence reference195 = ref span88[0]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012380u, new Vector3(124.46777f, 24.458836f, 0.47296143f), 418); - obj183.Steps = list261; - reference195 = obj183; - ref QuestSequence reference196 = ref span88[1]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - ref QuestStep reference197 = ref CollectionsMarshal.AsSpan(list262)[0]; - QuestStep obj185 = new QuestStep(EInteractionType.Interact, 1016823u, new Vector3(124.833984f, 24.458836f, 0.62561035f), 418) - { - StopDistance = 4f - }; - num3 = 1; - List list263 = new List(num3); - CollectionsMarshal.SetCount(list263, num3); - CollectionsMarshal.AsSpan(list263)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_HEAVND106_02247_Q1_000_000") - }; - obj185.DialogueChoices = list263; - reference197 = obj185; - obj184.Steps = list262; - reference196 = obj184; - ref QuestSequence reference198 = ref span88[2]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.Interact, 1016828u, new Vector3(169.26831f, -14.528959f, 36.697876f), 419); - obj186.Steps = list264; - reference198 = obj186; - ref QuestSequence reference199 = ref span88[3]; - QuestSequence obj187 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - Span span89 = CollectionsMarshal.AsSpan(list265); - span89[0] = new QuestStep(EInteractionType.Interact, 1011217u, new Vector3(17.990356f, 16.009666f, -9.567444f), 419) - { - TargetTerritoryId = (ushort)433, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardAthenaeumAstrologicum, - To = EAetheryteLocation.IshgardLastVigil - } - }; - span89[1] = new QuestStep(EInteractionType.CompleteQuest, 1012857u, new Vector3(0.7476196f, 0.022254243f, 4.623413f), 433) - { - StopDistance = 7f - }; - obj187.Steps = list265; - reference199 = obj187; - questRoot31.QuestSequence = list260; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(2249); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list266 = new List(num); - CollectionsMarshal.SetCount(list266, num); - CollectionsMarshal.AsSpan(list266)[0] = "liza"; - questRoot32.Author = list266; - num = 7; - List list267 = new List(num); - CollectionsMarshal.SetCount(list267, num); - Span span90 = CollectionsMarshal.AsSpan(list267); - ref QuestSequence reference200 = ref span90[0]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - CollectionsMarshal.AsSpan(list268)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014402u, new Vector3(-42.37433f, 100.87579f, -183.21509f), 399); - obj188.Steps = list268; - reference200 = obj188; - ref QuestSequence reference201 = ref span90[1]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - CollectionsMarshal.AsSpan(list269)[0] = new QuestStep(EInteractionType.Interact, 1016635u, new Vector3(-237.07947f, 123.32269f, -209.76581f), 399) - { - Fly = true - }; - obj189.Steps = list269; - reference201 = obj189; - ref QuestSequence reference202 = ref span90[2]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - CollectionsMarshal.AsSpan(list270)[0] = new QuestStep(EInteractionType.Interact, 1014408u, new Vector3(-36.30127f, 100.96971f, -182.90991f), 399) - { - Fly = true - }; - obj190.Steps = list270; - reference202 = obj190; - ref QuestSequence reference203 = ref span90[3]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - CollectionsMarshal.AsSpan(list271)[0] = new QuestStep(EInteractionType.Interact, 1016636u, new Vector3(53.910034f, 71.85243f, 76.76807f), 399) - { - Fly = true - }; - obj191.Steps = list271; - reference203 = obj191; - ref QuestSequence reference204 = ref span90[4]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - CollectionsMarshal.AsSpan(list272)[0] = new QuestStep(EInteractionType.Interact, 1016642u, new Vector3(-94.98743f, 53.987366f, 180.46838f), 399) - { - Fly = true - }; - obj192.Steps = list272; - reference204 = obj192; - ref QuestSequence reference205 = ref span90[5]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - CollectionsMarshal.AsSpan(list273)[0] = new QuestStep(EInteractionType.Duty, null, null, 399) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 136u - } - }; - obj193.Steps = list273; - reference205 = obj193; - ref QuestSequence reference206 = ref span90[6]; - QuestSequence obj194 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - CollectionsMarshal.AsSpan(list274)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014407u, new Vector3(-38.16284f, 100.95273f, -184.06964f), 399) - { - StopDistance = 5f, - NextQuestId = new QuestId(2250) - }; - obj194.Steps = list274; - reference206 = obj194; - questRoot32.QuestSequence = list267; - AddQuest(questId32, questRoot32); - } - - private static void LoadQuests45() - { - QuestId questId = new QuestId(2250); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016637u, new Vector3(-38.16284f, 100.95273f, -184.06964f), 399) - { - StopDistance = 5f - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Duty, null, null, 399) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 137u - } - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014409u, new Vector3(-41.519836f, 100.89075f, -181.99438f), 399) - { - StopDistance = 5f, - NextQuestId = new QuestId(2251) - }; - obj3.Steps = list5; - reference3 = obj3; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(2251); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list6 = new List(num); - CollectionsMarshal.SetCount(list6, num); - CollectionsMarshal.AsSpan(list6)[0] = "liza"; - questRoot2.Author = list6; - num = 3; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - Span span2 = CollectionsMarshal.AsSpan(list7); - ref QuestSequence reference4 = ref span2[0]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014409u, new Vector3(-41.519836f, 100.89075f, -181.99438f), 399) - { - StopDistance = 5f - }; - obj4.Steps = list8; - reference4 = obj4; - ref QuestSequence reference5 = ref span2[1]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.Duty, null, null, 399) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 138u - } - }; - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference6 = ref span2[2]; - QuestSequence obj6 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013714u, new Vector3(-33.76825f, 100.96971f, -182.48267f), 399) - { - StopDistance = 5f, - NextQuestId = new QuestId(2252) - }; - obj6.Steps = list10; - reference6 = obj6; - questRoot2.QuestSequence = list7; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(2252); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list11 = new List(num); - CollectionsMarshal.SetCount(list11, num); - CollectionsMarshal.AsSpan(list11)[0] = "liza"; - questRoot3.Author = list11; - num = 3; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - Span span3 = CollectionsMarshal.AsSpan(list12); - ref QuestSequence reference7 = ref span3[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013714u, new Vector3(-33.76825f, 100.96971f, -182.48267f), 399) - { - StopDistance = 5f - }; - obj7.Steps = list13; - reference7 = obj7; - ref QuestSequence reference8 = ref span3[1]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.Duty, null, null, 399) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 139u - } - }; - obj8.Steps = list14; - reference8 = obj8; - ref QuestSequence reference9 = ref span3[2]; - QuestSequence obj9 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - Span span4 = CollectionsMarshal.AsSpan(list15); - ref QuestStep reference10 = ref span4[0]; - QuestStep obj10 = new QuestStep(EInteractionType.Interact, 2007003u, new Vector3(0f, -67f, 15.5f), 553) - { - TargetTerritoryId = (ushort)399 - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - int num3 = 1; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - CollectionsMarshal.AsSpan(list16)[0] = 553; - skipStepConditions.NotInTerritory = list16; - skipConditions.StepIf = skipStepConditions; - obj10.SkipConditions = skipConditions; - reference10 = obj10; - span4[1] = new QuestStep(EInteractionType.CompleteQuest, 1013714u, new Vector3(-33.76825f, 100.96971f, -182.48267f), 399) - { - StopDistance = 5f, - NextQuestId = new QuestId(2253) - }; - obj9.Steps = list15; - reference9 = obj9; - questRoot3.QuestSequence = list12; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(2253); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - CollectionsMarshal.AsSpan(list17)[0] = "liza"; - questRoot4.Author = list17; - num = 5; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - Span span5 = CollectionsMarshal.AsSpan(list18); - ref QuestSequence reference11 = ref span5[0]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013714u, new Vector3(-33.76825f, 100.96971f, -182.48267f), 399) - { - StopDistance = 5f - }; - obj11.Steps = list19; - reference11 = obj11; - ref QuestSequence reference12 = ref span5[1]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.Interact, 1017001u, new Vector3(-38.651123f, 100.943344f, -182.17749f), 399) - { - StopDistance = 5f - }; - obj12.Steps = list20; - reference12 = obj12; - ref QuestSequence reference13 = ref span5[2]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.Interact, 2006957u, new Vector3(-36.78955f, 100.96887f, -184.25275f), 399); - obj13.Steps = list21; - reference13 = obj13; - ref QuestSequence reference14 = ref span5[3]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.Interact, 1016641u, new Vector3(-49.94281f, 100.66968f, -148.45508f), 399); - obj14.Steps = list22; - reference14 = obj14; - ref QuestSequence reference15 = ref span5[4]; - QuestSequence obj15 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016638u, new Vector3(-42.4964f, 100.873566f, -183.12354f), 399) - { - Fly = true, - NextQuestId = new QuestId(2335) - }; - obj15.Steps = list23; - reference15 = obj15; - questRoot4.QuestSequence = list18; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(2255); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - CollectionsMarshal.AsSpan(list24)[0] = "liza"; - questRoot5.Author = list24; - num = 10; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - Span span6 = CollectionsMarshal.AsSpan(list25); - ref QuestSequence reference16 = ref span6[0]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011928u, new Vector3(73.19751f, -49.19563f, -139.05548f), 398) - { - Fly = true - }; - obj16.Steps = list26; - reference16 = obj16; - ref QuestSequence reference17 = ref span6[1]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.Interact, 1016835u, new Vector3(447.37915f, -51.141407f, 108.53735f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - obj17.Steps = list27; - reference17 = obj17; - ref QuestSequence reference18 = ref span6[2]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - ref QuestStep reference19 = ref CollectionsMarshal.AsSpan(list28)[0]; - QuestStep obj19 = new QuestStep(EInteractionType.Interact, 1016836u, new Vector3(212.42078f, -58.007248f, -228.07666f), 398) - { - Fly = true - }; - num3 = 1; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - CollectionsMarshal.AsSpan(list29)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANGNA001_02255_Q1_000_031"), - Answer = new ExcelRef("TEXT_BANGNA001_02255_A1_000_032") - }; - obj19.DialogueChoices = list29; - reference19 = obj19; - obj18.Steps = list28; - reference18 = obj18; - ref QuestSequence reference20 = ref span6[3]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - ref QuestStep reference21 = ref CollectionsMarshal.AsSpan(list30)[0]; - QuestStep obj21 = new QuestStep(EInteractionType.Combat, 2006874u, new Vector3(222.156f, -74.93713f, 122.51465f), 398) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - CollectionsMarshal.AsSpan(list31)[0] = 5540u; - obj21.KillEnemyDataIds = list31; - reference21 = obj21; - obj20.Steps = list30; - reference20 = obj20; - ref QuestSequence reference22 = ref span6[4]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 1016836u, new Vector3(212.42078f, -58.007248f, -228.07666f), 398) - { - Fly = true - }; - obj22.Steps = list32; - reference22 = obj22; - ref QuestSequence reference23 = ref span6[5]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - Span span7 = CollectionsMarshal.AsSpan(list33); - span7[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(471.25446f, -51.141403f, 35.94126f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - span7[1] = new QuestStep(EInteractionType.Interact, 1011916u, new Vector3(470.02356f, -49.89133f, 20.370789f), 398); - obj23.Steps = list33; - reference23 = obj23; - ref QuestSequence reference24 = ref span6[6]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - Span span8 = CollectionsMarshal.AsSpan(list34); - span8[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(471.25446f, -51.141403f, 35.94126f), 398) - { - Mount = true - }; - span8[1] = new QuestStep(EInteractionType.Interact, 1011928u, new Vector3(73.19751f, -49.19563f, -139.05548f), 398) - { - Fly = true - }; - obj24.Steps = list34; - reference24 = obj24; - ref QuestSequence reference25 = ref span6[7]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.Interact, 1016837u, new Vector3(58.88452f, -48.000004f, -171.06891f), 398); - obj25.Steps = list35; - reference25 = obj25; - ref QuestSequence reference26 = ref span6[8]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.Action, null, new Vector3(215.13696f, -87.32745f, 217.94458f), 398) - { - Fly = true, - Action = EAction.Fumigate - }; - obj26.Steps = list36; - reference26 = obj26; - ref QuestSequence reference27 = ref span6[9]; - QuestSequence obj27 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - Span span9 = CollectionsMarshal.AsSpan(list37); - span9[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.88452f, -48.000004f, -171.06891f), 398) - { - StopDistance = 2f, - Fly = true - }; - ref QuestStep reference28 = ref span9[1]; - QuestStep obj28 = new QuestStep(EInteractionType.CompleteQuest, 1016837u, new Vector3(58.88452f, -48.000004f, -171.06891f), 398) - { - Mount = false - }; - num3 = 1; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - CollectionsMarshal.AsSpan(list38)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANGNA001_02255_Q1_000_105"), - Answer = new ExcelRef("TEXT_BANGNA001_02255_A1_000_106") - }; - obj28.DialogueChoices = list38; - reference28 = obj28; - obj27.Steps = list37; - reference27 = obj27; - questRoot5.QuestSequence = list25; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(2256); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - CollectionsMarshal.AsSpan(list39)[0] = "AnimaMachinae"; - questRoot6.Author = list39; - num = 10; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - Span span10 = CollectionsMarshal.AsSpan(list40); - ref QuestSequence reference29 = ref span10[0]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016802u, new Vector3(53.360718f, -48.000004f, -169.97028f), 398) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj29.Steps = list41; - reference29 = obj29; - ref QuestSequence reference30 = ref span10[1]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - ref QuestStep reference31 = ref CollectionsMarshal.AsSpan(list42)[0]; - QuestStep obj31 = new QuestStep(EInteractionType.Combat, 1016841u, new Vector3(842.9846f, -8.926968f, 338.2467f), 398) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - CollectionsMarshal.AsSpan(list43)[0] = 5541u; - obj31.KillEnemyDataIds = list43; - reference31 = obj31; - obj30.Steps = list42; - reference30 = obj30; - ref QuestSequence reference32 = ref span10[2]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.Interact, 1016841u, new Vector3(842.9846f, -8.926968f, 338.2467f), 398); - obj32.Steps = list44; - reference32 = obj32; - ref QuestSequence reference33 = ref span10[3]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - Span span11 = CollectionsMarshal.AsSpan(list45); - span11[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(875.1023f, -3.6736863f, 355.24545f), 398) - { - Fly = true, - Land = true - }; - span11[1] = new QuestStep(EInteractionType.Interact, 1016842u, new Vector3(-791.9585f, 113.93191f, -624.59753f), 397) - { - Fly = true, - Land = true - }; - obj33.Steps = list45; - reference33 = obj33; - ref QuestSequence reference34 = ref span10[4]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 1011907u, new Vector3(-288.8686f, 127.06639f, 13.199036f), 397) - { - Fly = true, - Land = true - }; - obj34.Steps = list46; - reference34 = obj34; - ref QuestSequence reference35 = ref span10[5]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.UseItem, 2006877u, new Vector3(-276.63086f, 122.27051f, -45.02942f), 397) - { - ItemId = 2001950u - }; - obj35.Steps = list47; - reference35 = obj35; - ref QuestSequence reference36 = ref span10[6]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.Interact, 1016890u, new Vector3(-273.91473f, 122.361694f, -43.320435f), 397); - obj36.Steps = list48; - reference36 = obj36; - ref QuestSequence reference37 = ref span10[7]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.Interact, 1011928u, new Vector3(73.19751f, -49.19563f, -139.05548f), 398) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - obj37.Steps = list49; - reference37 = obj37; - ref QuestSequence reference38 = ref span10[8]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.Interact, 1016843u, new Vector3(103.16626f, -50.70595f, -184.31378f), 398) - { - Fly = true, - Land = true - }; - obj38.Steps = list50; - reference38 = obj38; - ref QuestSequence reference39 = ref span10[9]; - QuestSequence obj39 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016802u, new Vector3(53.360718f, -48.000004f, -169.97028f), 398) - { - Fly = true, - Land = true - }; - obj39.Steps = list51; - reference39 = obj39; - questRoot6.QuestSequence = list40; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(2257); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - CollectionsMarshal.AsSpan(list52)[0] = "Theo"; - questRoot7.Author = list52; - num = 11; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - Span span12 = CollectionsMarshal.AsSpan(list53); - ref QuestSequence reference40 = ref span12[0]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016802u, new Vector3(53.360718f, -48.000004f, -169.97028f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj40.Steps = list54; - reference40 = obj40; - ref QuestSequence reference41 = ref span12[1]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - Span span13 = CollectionsMarshal.AsSpan(list55); - span13[0] = new QuestStep(EInteractionType.Interact, 1016844u, new Vector3(-743.0991f, -117.75057f, 574.85315f), 398) - { - Fly = true - }; - ref QuestStep reference42 = ref span13[1]; - QuestStep obj42 = new QuestStep(EInteractionType.Combat, 5542u, new Vector3(-731.547f, -116.99814f, 577.7823f), 398) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - CollectionsMarshal.AsSpan(list56)[0] = 5542u; - obj42.KillEnemyDataIds = list56; - obj42.CombatDelaySecondsAtStart = 3f; - reference42 = obj42; - obj41.Steps = list55; - reference41 = obj41; - ref QuestSequence reference43 = ref span12[2]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.Interact, 1016844u, new Vector3(-743.0991f, -117.75057f, 574.85315f), 398); - obj43.Steps = list57; - reference43 = obj43; - ref QuestSequence reference44 = ref span12[3]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - Span span14 = CollectionsMarshal.AsSpan(list58); - ref QuestStep reference45 = ref span14[0]; - QuestStep obj45 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-802.4346f, -122.50925f, 578.51434f), 398) - { - Fly = true - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - CollectionsMarshal.AsSpan(list59)[0] = 399; - skipStepConditions2.InTerritory = list59; - skipConditions2.StepIf = skipStepConditions2; - obj45.SkipConditions = skipConditions2; - reference45 = obj45; - span14[1] = new QuestStep(EInteractionType.Interact, 1016845u, new Vector3(508.72046f, 77.65831f, 119.21863f), 399) - { - Fly = true - }; - obj44.Steps = list58; - reference44 = obj44; - ref QuestSequence reference46 = ref span12[4]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.Interact, 1012097u, new Vector3(73.3501f, 205.88956f, 23.483582f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj46.Steps = list60; - reference46 = obj46; - ref QuestSequence reference47 = ref span12[5]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.Interact, 1012132u, new Vector3(43.015137f, 206.04718f, 56.50415f), 478); - obj47.Steps = list61; - reference47 = obj47; - ref QuestSequence reference48 = ref span12[6]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - Span span15 = CollectionsMarshal.AsSpan(list62); - ref QuestStep reference49 = ref span15[0]; - QuestStep obj49 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(147.913f, 207f, 118.226494f), 478) - { - Mount = true - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - CollectionsMarshal.AsSpan(list63)[0] = 399; - skipStepConditions3.InTerritory = list63; - skipConditions3.StepIf = skipStepConditions3; - obj49.SkipConditions = skipConditions3; - reference49 = obj49; - span15[1] = new QuestStep(EInteractionType.Interact, 1016996u, new Vector3(-85.80151f, 100.87653f, -325.185f), 399) - { - Fly = true - }; - obj48.Steps = list62; - reference48 = obj48; - ref QuestSequence reference50 = ref span12[7]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.Interact, 1011928u, new Vector3(73.19751f, -49.19563f, -139.05548f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj50.Steps = list64; - reference50 = obj50; - ref QuestSequence reference51 = ref span12[8]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.Interact, 1016848u, new Vector3(286.7627f, -112.2676f, 424.55164f), 398) - { - Fly = true - }; - obj51.Steps = list65; - reference51 = obj51; - ref QuestSequence reference52 = ref span12[9]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.Say, 1016848u, new Vector3(286.7627f, -112.2676f, 424.55164f), 398) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_BANGNA003_02257_SYSTEM_100_096" - } - }; - obj52.Steps = list66; - reference52 = obj52; - ref QuestSequence reference53 = ref span12[10]; - QuestSequence obj53 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016802u, new Vector3(53.360718f, -48.000004f, -169.97028f), 398) - { - Fly = true - }; - obj53.Steps = list67; - reference53 = obj53; - questRoot7.QuestSequence = list53; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(2258); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - CollectionsMarshal.AsSpan(list68)[0] = "Theo"; - questRoot8.Author = list68; - num = 9; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - Span span16 = CollectionsMarshal.AsSpan(list69); - ref QuestSequence reference54 = ref span16[0]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016802u, new Vector3(53.360718f, -48.000004f, -169.97028f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj54.Steps = list70; - reference54 = obj54; - ref QuestSequence reference55 = ref span16[1]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.Interact, 1016849u, new Vector3(-209.46063f, -46.08357f, 222.52222f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj55.Steps = list71; - reference55 = obj55; - ref QuestSequence reference56 = ref span16[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.Interact, 1011935u, new Vector3(-285.63367f, 39.04305f, 53.72693f), 398) - { - Fly = true - }; - obj56.Steps = list72; - reference56 = obj56; - ref QuestSequence reference57 = ref span16[3]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - ref QuestStep reference58 = ref CollectionsMarshal.AsSpan(list73)[0]; - QuestStep obj58 = new QuestStep(EInteractionType.Interact, 1016850u, new Vector3(-187.36554f, -34.771328f, -70.42041f), 398) - { - Fly = true - }; - num3 = 1; - List list74 = new List(num3); - CollectionsMarshal.SetCount(list74, num3); - CollectionsMarshal.AsSpan(list74)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANGNA004_02258_Q1_000_051"), - Answer = new ExcelRef("TEXT_BANGNA004_02258_A1_000_052") - }; - obj58.DialogueChoices = list74; - reference58 = obj58; - obj57.Steps = list73; - reference57 = obj57; - ref QuestSequence reference59 = ref span16[4]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - Span span17 = CollectionsMarshal.AsSpan(list75); - ref QuestStep reference60 = ref span17[0]; - QuestStep obj60 = new QuestStep(EInteractionType.Combat, null, new Vector3(-68.02277f, -33.766434f, -164.5872f), 398) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - CollectionsMarshal.AsSpan(list76)[0] = 5543u; - obj60.KillEnemyDataIds = list76; - num3 = 6; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - Span span18 = CollectionsMarshal.AsSpan(list77); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj60.CompletionQuestVariablesFlags = list77; - reference60 = obj60; - ref QuestStep reference61 = ref span17[1]; - QuestStep obj61 = new QuestStep(EInteractionType.Combat, null, new Vector3(-67.26527f, -34.505165f, 89.80089f), 398) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - CollectionsMarshal.AsSpan(list78)[0] = 5543u; - obj61.KillEnemyDataIds = list78; - num3 = 6; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - Span span19 = CollectionsMarshal.AsSpan(list79); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj61.CompletionQuestVariablesFlags = list79; - reference61 = obj61; - obj59.Steps = list75; - reference59 = obj59; - ref QuestSequence reference62 = ref span16[5]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.Interact, 1016850u, new Vector3(-187.36554f, -34.771328f, -70.42041f), 398) - { - Fly = true - }; - obj62.Steps = list80; - reference62 = obj62; - ref QuestSequence reference63 = ref span16[6]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.Interact, 1016850u, new Vector3(-187.36554f, -34.771328f, -70.42041f), 398); - obj63.Steps = list81; - reference63 = obj63; - ref QuestSequence reference64 = ref span16[7]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.Interact, 1011935u, new Vector3(-285.63367f, 39.04305f, 53.72693f), 398) - { - Fly = true - }; - obj64.Steps = list82; - reference64 = obj64; - ref QuestSequence reference65 = ref span16[8]; - QuestSequence obj65 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011928u, new Vector3(73.19751f, -49.19563f, -139.05548f), 398) - { - Fly = true - }; - obj65.Steps = list83; - reference65 = obj65; - questRoot8.QuestSequence = list69; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(2259); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - CollectionsMarshal.AsSpan(list84)[0] = "Censored"; - questRoot9.Author = list84; - num = 6; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - Span span20 = CollectionsMarshal.AsSpan(list85); - ref QuestSequence reference66 = ref span20[0]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016802u, new Vector3(53.360718f, -48.000004f, -169.97028f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(53.360718f, -48.000004f, -169.97028f), - MaximumDistance = 100f, - TerritoryId = 398 - } - } - } - }; - obj66.Steps = list86; - reference66 = obj66; - ref QuestSequence reference67 = ref span20[1]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.Interact, 1011928u, new Vector3(73.19751f, -49.19563f, -139.05548f), 398) - { - Fly = true - }; - obj67.Steps = list87; - reference67 = obj67; - ref QuestSequence reference68 = ref span20[2]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - ref QuestStep reference69 = ref CollectionsMarshal.AsSpan(list88)[0]; - QuestStep obj69 = new QuestStep(EInteractionType.Combat, null, new Vector3(230.88948f, -103.47084f, 588.0345f), 398) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list89 = new List(num3); - CollectionsMarshal.SetCount(list89, num3); - Span span21 = CollectionsMarshal.AsSpan(list89); - span21[0] = 5544u; - span21[1] = 5545u; - obj69.KillEnemyDataIds = list89; - reference69 = obj69; - obj68.Steps = list88; - reference68 = obj68; - ref QuestSequence reference70 = ref span20[3]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.Interact, 1016851u, new Vector3(230.88416f, -103.38962f, 588.67773f), 398); - obj70.Steps = list90; - reference70 = obj70; - ref QuestSequence reference71 = ref span20[4]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.Interact, 1016891u, new Vector3(297.2915f, -119.91257f, 681.1168f), 398) - { - Fly = true - }; - obj71.Steps = list91; - reference71 = obj71; - ref QuestSequence reference72 = ref span20[5]; - QuestSequence obj72 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016802u, new Vector3(53.360718f, -48.000004f, -169.97028f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - obj72.Steps = list92; - reference72 = obj72; - questRoot9.QuestSequence = list85; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(2260); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list93 = new List(num); - CollectionsMarshal.SetCount(list93, num); - CollectionsMarshal.AsSpan(list93)[0] = "plogon_enjoyer"; - questRoot10.Author = list93; - num = 2; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - Span span22 = CollectionsMarshal.AsSpan(list94); - ref QuestSequence reference73 = ref span22[0]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016802u, new Vector3(53.360718f, -48.000004f, -169.97028f), 398); - obj73.Steps = list95; - reference73 = obj73; - ref QuestSequence reference74 = ref span22[1]; - QuestSequence obj74 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011928u, new Vector3(73.19751f, -49.19563f, -139.05548f), 398) - { - Fly = true - }; - obj74.Steps = list96; - reference74 = obj74; - questRoot10.QuestSequence = list94; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(2261); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - CollectionsMarshal.AsSpan(list97)[0] = "plogon_enjoyer"; - questRoot11.Author = list97; - num = 3; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - Span span23 = CollectionsMarshal.AsSpan(list98); - ref QuestSequence reference75 = ref span23[0]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj75.Steps = list99; - reference75 = obj75; - ref QuestSequence reference76 = ref span23[1]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - Span span24 = CollectionsMarshal.AsSpan(list100); - ref QuestStep reference77 = ref span24[0]; - QuestStep obj77 = new QuestStep(EInteractionType.Combat, 2006883u, new Vector3(31.418213f, -65.32391f, 111.74182f), 398) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - CollectionsMarshal.AsSpan(list101)[0] = 5550u; - obj77.KillEnemyDataIds = list101; - reference77 = obj77; - ref QuestStep reference78 = ref span24[1]; - QuestStep obj78 = new QuestStep(EInteractionType.Combat, 2006882u, new Vector3(307.05725f, -66.54462f, 163.43933f), 398) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - CollectionsMarshal.AsSpan(list102)[0] = 5550u; - obj78.KillEnemyDataIds = list102; - reference78 = obj78; - span24[2] = new QuestStep(EInteractionType.Interact, 2006881u, new Vector3(352.25452f, -51.07196f, -46.982605f), 398) - { - Fly = true - }; - obj76.Steps = list100; - reference76 = obj76; - ref QuestSequence reference79 = ref span23[2]; - QuestSequence obj79 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - Span span25 = CollectionsMarshal.AsSpan(list103); - span25[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.39701f, -48.000008f, -172.36507f), 398) - { - Fly = true - }; - span25[1] = new QuestStep(EInteractionType.CompleteQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj79.Steps = list103; - reference79 = obj79; - questRoot11.QuestSequence = list98; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(2262); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list104 = new List(num); - CollectionsMarshal.SetCount(list104, num); - CollectionsMarshal.AsSpan(list104)[0] = "plogon_enjoyer"; - questRoot12.Author = list104; - num = 5; - List list105 = new List(num); - CollectionsMarshal.SetCount(list105, num); - Span span26 = CollectionsMarshal.AsSpan(list105); - ref QuestSequence reference80 = ref span26[0]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj80.Steps = list106; - reference80 = obj80; - ref QuestSequence reference81 = ref span26[1]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - Span span27 = CollectionsMarshal.AsSpan(list107); - span27[0] = new QuestStep(EInteractionType.Interact, 2006886u, new Vector3(237.65918f, -71.45807f, 99.01575f), 398) - { - Fly = true - }; - span27[1] = new QuestStep(EInteractionType.Interact, 2006885u, new Vector3(284.5349f, -67.61273f, 83.878784f), 398) - { - Fly = true - }; - span27[2] = new QuestStep(EInteractionType.Interact, 2006884u, new Vector3(294.94165f, -68.92505f, 129.19812f), 398) - { - Fly = true - }; - obj81.Steps = list107; - reference81 = obj81; - ref QuestSequence reference82 = ref span26[2]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - Span span28 = CollectionsMarshal.AsSpan(list108); - span28[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.39701f, -48.000008f, -172.36507f), 398) - { - Fly = true - }; - span28[1] = new QuestStep(EInteractionType.Interact, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj82.Steps = list108; - reference82 = obj82; - ref QuestSequence reference83 = ref span26[3]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - Span span29 = CollectionsMarshal.AsSpan(list109); - span29[0] = new QuestStep(EInteractionType.Interact, 1011917u, new Vector3(535.30164f, -51.340645f, 65.293335f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - span29[1] = new QuestStep(EInteractionType.Interact, 1011922u, new Vector3(448.56934f, -51.141407f, 108.93408f), 398) - { - Fly = true - }; - obj83.Steps = list109; - reference83 = obj83; - ref QuestSequence reference84 = ref span26[4]; - QuestSequence obj84 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - Span span30 = CollectionsMarshal.AsSpan(list110); - span30[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.39701f, -48.000008f, -172.36507f), 398) - { - Fly = true - }; - span30[1] = new QuestStep(EInteractionType.CompleteQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj84.Steps = list110; - reference84 = obj84; - questRoot12.QuestSequence = list105; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(2263); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - CollectionsMarshal.AsSpan(list111)[0] = "plogon_enjoyer"; - questRoot13.Author = list111; - num = 6; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - Span span31 = CollectionsMarshal.AsSpan(list112); - ref QuestSequence reference85 = ref span31[0]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj85.Steps = list113; - reference85 = obj85; - ref QuestSequence reference86 = ref span31[1]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - Span span32 = CollectionsMarshal.AsSpan(list114); - span32[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(74.20459f, -48.533592f, -171.12994f), 398) - { - StopDistance = 2.5f, - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(74.20459f, -48.533592f, -171.12994f), - MaximumDistance = 50f, - TerritoryId = 398 - } - } - } - }; - span32[1] = new QuestStep(EInteractionType.Interact, 1017031u, new Vector3(74.20459f, -48.533592f, -171.12994f), 398); - obj86.Steps = list114; - reference86 = obj86; - ref QuestSequence reference87 = ref span31[2]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.Action, 2006887u, new Vector3(523.4302f, -50.370117f, 90.86743f), 398) - { - Fly = true, - Action = EAction.Fumigate - }; - obj87.Steps = list115; - reference87 = obj87; - ref QuestSequence reference88 = ref span31[3]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.Action, 2006970u, new Vector3(517.4791f, -50.644714f, 89.00586f), 398) - { - Fly = true, - Action = EAction.Fumigate - }; - obj88.Steps = list116; - reference88 = obj88; - ref QuestSequence reference89 = ref span31[4]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - Span span33 = CollectionsMarshal.AsSpan(list117); - span33[0] = new QuestStep(EInteractionType.Action, 2006889u, new Vector3(689.7229f, -52.262207f, 62.088867f), 398) - { - Fly = true, - Action = EAction.Fumigate - }; - span33[1] = new QuestStep(EInteractionType.Action, 2006888u, new Vector3(586.1753f, -37.979797f, 257.3739f), 398) - { - Fly = true, - Action = EAction.Fumigate - }; - obj89.Steps = list117; - reference89 = obj89; - ref QuestSequence reference90 = ref span31[5]; - QuestSequence obj90 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - Span span34 = CollectionsMarshal.AsSpan(list118); - span34[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.39701f, -48.000008f, -172.36507f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - span34[1] = new QuestStep(EInteractionType.CompleteQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj90.Steps = list118; - reference90 = obj90; - questRoot13.QuestSequence = list112; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(2264); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - CollectionsMarshal.AsSpan(list119)[0] = "plogon_enjoyer"; - questRoot14.Author = list119; - num = 3; - List list120 = new List(num); - CollectionsMarshal.SetCount(list120, num); - Span span35 = CollectionsMarshal.AsSpan(list120); - ref QuestSequence reference91 = ref span35[0]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj91.Steps = list121; - reference91 = obj91; - ref QuestSequence reference92 = ref span35[1]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - Span span36 = CollectionsMarshal.AsSpan(list122); - ref QuestStep reference93 = ref span36[0]; - QuestStep obj93 = new QuestStep(EInteractionType.Combat, 2006872u, new Vector3(333.82153f, -47.53192f, -331.53284f), 398) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - CollectionsMarshal.AsSpan(list123)[0] = 5546u; - obj93.KillEnemyDataIds = list123; - reference93 = obj93; - span36[1] = new QuestStep(EInteractionType.Interact, 2006871u, new Vector3(559.71606f, -41.24518f, -333.1808f), 398) - { - Fly = true - }; - ref QuestStep reference94 = ref span36[2]; - QuestStep obj94 = new QuestStep(EInteractionType.Combat, 2006873u, new Vector3(707.7285f, -50.095398f, -151.47632f), 398) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list124 = new List(num3); - CollectionsMarshal.SetCount(list124, num3); - CollectionsMarshal.AsSpan(list124)[0] = 5546u; - obj94.KillEnemyDataIds = list124; - reference94 = obj94; - obj92.Steps = list122; - reference92 = obj92; - ref QuestSequence reference95 = ref span35[2]; - QuestSequence obj95 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - Span span37 = CollectionsMarshal.AsSpan(list125); - span37[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.39701f, -48.000008f, -172.36507f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(66.20886f, -49.2817f, -159.44159f), - MaximumDistance = 30f, - TerritoryId = 398 - } - } - } - }; - span37[1] = new QuestStep(EInteractionType.CompleteQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj95.Steps = list125; - reference95 = obj95; - questRoot14.QuestSequence = list120; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(2265); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - CollectionsMarshal.AsSpan(list126)[0] = "plogon_enjoyer"; - questRoot15.Author = list126; - num = 3; - List list127 = new List(num); - CollectionsMarshal.SetCount(list127, num); - Span span38 = CollectionsMarshal.AsSpan(list127); - ref QuestSequence reference96 = ref span38[0]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj96.Steps = list128; - reference96 = obj96; - ref QuestSequence reference97 = ref span38[1]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - Span span39 = CollectionsMarshal.AsSpan(list129); - span39[0] = new QuestStep(EInteractionType.Interact, 2006897u, new Vector3(88.48706f, -123.43024f, 561.7914f), 398) - { - Fly = true - }; - span39[1] = new QuestStep(EInteractionType.Interact, 2006899u, new Vector3(137.1023f, -120.01227f, 586.08374f), 398) - { - Fly = true - }; - span39[2] = new QuestStep(EInteractionType.Interact, 2006898u, new Vector3(111.86377f, -119.035645f, 617.4868f), 398) - { - Fly = true - }; - span39[3] = new QuestStep(EInteractionType.Interact, 2006894u, new Vector3(223.22424f, -123.6134f, 697.6272f), 398) - { - Fly = true - }; - span39[4] = new QuestStep(EInteractionType.Interact, 2006892u, new Vector3(209.1554f, -123.12512f, 767.91016f), 398) - { - Fly = true - }; - span39[5] = new QuestStep(EInteractionType.Interact, 2006893u, new Vector3(291.03528f, -119.40192f, 664.6676f), 398) - { - Fly = true - }; - obj97.Steps = list129; - reference97 = obj97; - ref QuestSequence reference98 = ref span38[2]; - QuestSequence obj98 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - Span span40 = CollectionsMarshal.AsSpan(list130); - span40[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.39701f, -48.000008f, -172.36507f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(66.20886f, -49.2817f, -159.44159f), - MaximumDistance = 30f, - TerritoryId = 398 - } - } - } - }; - span40[1] = new QuestStep(EInteractionType.CompleteQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj98.Steps = list130; - reference98 = obj98; - questRoot15.QuestSequence = list127; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(2266); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list131 = new List(num); - CollectionsMarshal.SetCount(list131, num); - CollectionsMarshal.AsSpan(list131)[0] = "plogon_enjoyer"; - questRoot16.Author = list131; - num = 3; - List list132 = new List(num); - CollectionsMarshal.SetCount(list132, num); - Span span41 = CollectionsMarshal.AsSpan(list132); - ref QuestSequence reference99 = ref span41[0]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj99.Steps = list133; - reference99 = obj99; - ref QuestSequence reference100 = ref span41[1]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - Span span42 = CollectionsMarshal.AsSpan(list134); - span42[0] = new QuestStep(EInteractionType.Interact, 2006903u, new Vector3(20.004517f, -84.00098f, 282.15454f), 398) - { - Fly = true - }; - span42[1] = new QuestStep(EInteractionType.Interact, 2006904u, new Vector3(52.68933f, -100.572266f, 317.1283f), 398) - { - Mount = true - }; - span42[2] = new QuestStep(EInteractionType.Interact, 2006905u, new Vector3(6.301941f, -100.206055f, 351.43042f), 398) - { - Mount = true - }; - span42[3] = new QuestStep(EInteractionType.Interact, 2006902u, new Vector3(-317.49445f, -80.55243f, 632.59326f), 398) - { - Fly = true - }; - span42[4] = new QuestStep(EInteractionType.Interact, 2006901u, new Vector3(-336.96503f, -80.55243f, 655.08496f), 398) - { - Mount = true - }; - span42[5] = new QuestStep(EInteractionType.Interact, 2006900u, new Vector3(-379.75128f, -75.21173f, 669.2759f), 398) - { - Fly = true - }; - obj100.Steps = list134; - reference100 = obj100; - ref QuestSequence reference101 = ref span41[2]; - QuestSequence obj101 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - Span span43 = CollectionsMarshal.AsSpan(list135); - span43[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.39701f, -48.000008f, -172.36507f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(66.20886f, -49.2817f, -159.44159f), - MaximumDistance = 30f, - TerritoryId = 398 - } - } - } - }; - span43[1] = new QuestStep(EInteractionType.CompleteQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj101.Steps = list135; - reference101 = obj101; - questRoot16.QuestSequence = list132; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(2267); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list136 = new List(num); - CollectionsMarshal.SetCount(list136, num); - CollectionsMarshal.AsSpan(list136)[0] = "plogon_enjoyer"; - questRoot17.Author = list136; - num = 3; - List list137 = new List(num); - CollectionsMarshal.SetCount(list137, num); - Span span44 = CollectionsMarshal.AsSpan(list137); - ref QuestSequence reference102 = ref span44[0]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj102.Steps = list138; - reference102 = obj102; - ref QuestSequence reference103 = ref span44[1]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - Span span45 = CollectionsMarshal.AsSpan(list139); - ref QuestStep reference104 = ref span45[0]; - QuestStep obj104 = new QuestStep(EInteractionType.Combat, 2006909u, new Vector3(-124.37634f, -86.07617f, 763.6987f), 398) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list140 = new List(num3); - CollectionsMarshal.SetCount(list140, num3); - CollectionsMarshal.AsSpan(list140)[0] = 5548u; - obj104.KillEnemyDataIds = list140; - reference104 = obj104; - span45[1] = new QuestStep(EInteractionType.Interact, 2006906u, new Vector3(-178.51532f, -86.167725f, 775.845f), 398) - { - Fly = true - }; - ref QuestStep reference105 = ref span45[2]; - QuestStep obj105 = new QuestStep(EInteractionType.Combat, 2006908u, new Vector3(-305.745f, -68.13159f, 812.7717f), 398) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - CollectionsMarshal.AsSpan(list141)[0] = 5548u; - obj105.KillEnemyDataIds = list141; - reference105 = obj105; - span45[3] = new QuestStep(EInteractionType.Interact, 2006907u, new Vector3(-303.36462f, -80.52191f, 734.15735f), 398) - { - Fly = true - }; - obj103.Steps = list139; - reference103 = obj103; - ref QuestSequence reference106 = ref span44[2]; - QuestSequence obj106 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - Span span46 = CollectionsMarshal.AsSpan(list142); - span46[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.39701f, -48.000008f, -172.36507f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(66.20886f, -49.2817f, -159.44159f), - MaximumDistance = 30f, - TerritoryId = 398 - } - } - } - }; - span46[1] = new QuestStep(EInteractionType.CompleteQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj106.Steps = list142; - reference106 = obj106; - questRoot17.QuestSequence = list137; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(2268); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - CollectionsMarshal.AsSpan(list143)[0] = "plogon_enjoyer"; - questRoot18.Author = list143; - num = 4; - List list144 = new List(num); - CollectionsMarshal.SetCount(list144, num); - Span span47 = CollectionsMarshal.AsSpan(list144); - ref QuestSequence reference107 = ref span47[0]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj107.Steps = list145; - reference107 = obj107; - ref QuestSequence reference108 = ref span47[1]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - Span span48 = CollectionsMarshal.AsSpan(list146); - span48[0] = new QuestStep(EInteractionType.Interact, 2006913u, new Vector3(566.7964f, -20.553955f, -530.2052f), 398) - { - Fly = true - }; - span48[1] = new QuestStep(EInteractionType.Interact, 2006914u, new Vector3(595.3917f, -20.187744f, -547.4785f), 398) - { - Fly = true - }; - span48[2] = new QuestStep(EInteractionType.Interact, 2006912u, new Vector3(639.8259f, -19.60791f, -588.098f), 398) - { - Fly = true - }; - obj108.Steps = list146; - reference108 = obj108; - ref QuestSequence reference109 = ref span47[2]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - Span span49 = CollectionsMarshal.AsSpan(list147); - span49[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.39701f, -48.000008f, -172.36507f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - span49[1] = new QuestStep(EInteractionType.Interact, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj109.Steps = list147; - reference109 = obj109; - ref QuestSequence reference110 = ref span47[3]; - QuestSequence obj110 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016855u, new Vector3(74.906494f, -48f, -175.67712f), 398); - obj110.Steps = list148; - reference110 = obj110; - questRoot18.QuestSequence = list144; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(2269); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list149 = new List(num); - CollectionsMarshal.SetCount(list149, num); - CollectionsMarshal.AsSpan(list149)[0] = "AnimaMachinae"; - questRoot19.Author = list149; - num = 6; - List list150 = new List(num); - CollectionsMarshal.SetCount(list150, num); - Span span50 = CollectionsMarshal.AsSpan(list150); - ref QuestSequence reference111 = ref span50[0]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj111.Steps = list151; - reference111 = obj111; - ref QuestSequence reference112 = ref span50[1]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - Span span51 = CollectionsMarshal.AsSpan(list152); - span51[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(74.20459f, -48.533592f, -171.12994f), 398) - { - StopDistance = 3f, - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(74.20459f, -48.533592f, -171.12994f), - MaximumDistance = 50f, - TerritoryId = 398 - } - } - } - }; - span51[1] = new QuestStep(EInteractionType.Interact, 1017031u, new Vector3(74.20459f, -48.533592f, -171.12994f), 398); - obj112.Steps = list152; - reference112 = obj112; - ref QuestSequence reference113 = ref span50[2]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.Action, 2006915u, new Vector3(96.45227f, -66.2395f, 616.6017f), 398) - { - Fly = true, - Action = EAction.Fumigate - }; - obj113.Steps = list153; - reference113 = obj113; - ref QuestSequence reference114 = ref span50[3]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.Action, 2006916u, new Vector3(-149.95044f, -55.25299f, 541.37476f), 398) - { - Fly = true, - Action = EAction.Fumigate - }; - obj114.Steps = list154; - reference114 = obj114; - ref QuestSequence reference115 = ref span50[4]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.Action, 2006917u, new Vector3(-625.0859f, -49.94281f, 491.02002f), 398) - { - Fly = true, - Action = EAction.Fumigate - }; - obj115.Steps = list155; - reference115 = obj115; - ref QuestSequence reference116 = ref span50[5]; - QuestSequence obj116 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - Span span52 = CollectionsMarshal.AsSpan(list156); - span52[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.39701f, -48.000008f, -172.36507f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - span52[1] = new QuestStep(EInteractionType.CompleteQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj116.Steps = list156; - reference116 = obj116; - questRoot19.QuestSequence = list150; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(2270); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list157 = new List(num); - CollectionsMarshal.SetCount(list157, num); - CollectionsMarshal.AsSpan(list157)[0] = "AnimaMachinae"; - questRoot20.Author = list157; - num = 5; - List list158 = new List(num); - CollectionsMarshal.SetCount(list158, num); - Span span53 = CollectionsMarshal.AsSpan(list158); - ref QuestSequence reference117 = ref span53[0]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj117.Steps = list159; - reference117 = obj117; - ref QuestSequence reference118 = ref span53[1]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - Span span54 = CollectionsMarshal.AsSpan(list160); - span54[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(449.65012f, -51.141403f, 106.932205f), 398) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - span54[1] = new QuestStep(EInteractionType.Interact, 1011922u, new Vector3(448.56934f, -51.141407f, 108.93408f), 398); - obj118.Steps = list160; - reference118 = obj118; - ref QuestSequence reference119 = ref span53[2]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - Span span55 = CollectionsMarshal.AsSpan(list161); - ref QuestStep reference120 = ref span55[0]; - QuestStep obj120 = new QuestStep(EInteractionType.Combat, 2006918u, new Vector3(475.69995f, -44.174927f, -231.46417f), 398) - { - Fly = true, - Land = true, - ItemId = 2001961u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list162 = new List(num3); - CollectionsMarshal.SetCount(list162, num3); - CollectionsMarshal.AsSpan(list162)[0] = 71224u; - obj120.KillEnemyDataIds = list162; - num3 = 6; - List list163 = new List(num3); - CollectionsMarshal.SetCount(list163, num3); - Span span56 = CollectionsMarshal.AsSpan(list163); - span56[0] = null; - span56[1] = null; - span56[2] = null; - span56[3] = null; - span56[4] = null; - span56[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj120.CompletionQuestVariablesFlags = list163; - reference120 = obj120; - ref QuestStep reference121 = ref span55[1]; - QuestStep obj121 = new QuestStep(EInteractionType.Combat, 2006920u, new Vector3(329.4879f, -45.487183f, -262.13477f), 398) - { - Fly = true, - Land = true, - ItemId = 2001961u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - CollectionsMarshal.AsSpan(list164)[0] = 5548u; - obj121.KillEnemyDataIds = list164; - num3 = 6; - List list165 = new List(num3); - CollectionsMarshal.SetCount(list165, num3); - Span span57 = CollectionsMarshal.AsSpan(list165); - span57[0] = null; - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj121.CompletionQuestVariablesFlags = list165; - reference121 = obj121; - ref QuestStep reference122 = ref span55[2]; - QuestStep obj122 = new QuestStep(EInteractionType.Combat, 2006919u, new Vector3(535.45435f, -32.39496f, -410.60504f), 398) - { - Fly = true, - Land = true, - ItemId = 2001961u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list166 = new List(num3); - CollectionsMarshal.SetCount(list166, num3); - CollectionsMarshal.AsSpan(list166)[0] = 71224u; - obj122.KillEnemyDataIds = list166; - reference122 = obj122; - obj119.Steps = list161; - reference119 = obj119; - ref QuestSequence reference123 = ref span53[3]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - Span span58 = CollectionsMarshal.AsSpan(list167); - span58[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(449.65012f, -51.141403f, 106.932205f), 398) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - span58[1] = new QuestStep(EInteractionType.Interact, 1011922u, new Vector3(448.56934f, -51.141407f, 108.93408f), 398); - obj123.Steps = list167; - reference123 = obj123; - ref QuestSequence reference124 = ref span53[4]; - QuestSequence obj124 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - Span span59 = CollectionsMarshal.AsSpan(list168); - span59[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.39701f, -48.000008f, -172.36507f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(66.20886f, -49.2817f, -159.44159f), - MaximumDistance = 30f, - TerritoryId = 398 - } - } - } - }; - span59[1] = new QuestStep(EInteractionType.CompleteQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj124.Steps = list168; - reference124 = obj124; - questRoot20.QuestSequence = list158; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(2271); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list169 = new List(num); - CollectionsMarshal.SetCount(list169, num); - CollectionsMarshal.AsSpan(list169)[0] = "AnimaMachinae"; - questRoot21.Author = list169; - num = 7; - List list170 = new List(num); - CollectionsMarshal.SetCount(list170, num); - Span span60 = CollectionsMarshal.AsSpan(list170); - ref QuestSequence reference125 = ref span60[0]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj125.Steps = list171; - reference125 = obj125; - ref QuestSequence reference126 = ref span60[1]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.Interact, 1016859u, new Vector3(-566.6743f, -97.34781f, 481.01013f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - obj126.Steps = list172; - reference126 = obj126; - ref QuestSequence reference127 = ref span60[2]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.Interact, 2006922u, new Vector3(-481.0102f, -93.18689f, 474.69275f), 398); - obj127.Steps = list173; - reference127 = obj127; - ref QuestSequence reference128 = ref span60[3]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.Interact, 1016859u, new Vector3(-566.6743f, -97.34781f, 481.01013f), 398); - obj128.Steps = list174; - reference128 = obj128; - ref QuestSequence reference129 = ref span60[4]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.Interact, 2006923u, new Vector3(-477.59216f, -93.003784f, 475.18103f), 398); - obj129.Steps = list175; - reference129 = obj129; - ref QuestSequence reference130 = ref span60[5]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - CollectionsMarshal.AsSpan(list176)[0] = new QuestStep(EInteractionType.Interact, 1016859u, new Vector3(-566.6743f, -97.34781f, 481.01013f), 398); - obj130.Steps = list176; - reference130 = obj130; - ref QuestSequence reference131 = ref span60[6]; - QuestSequence obj131 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - Span span61 = CollectionsMarshal.AsSpan(list177); - span61[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.39701f, -48.000008f, -172.36507f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(66.20886f, -49.2817f, -159.44159f), - MaximumDistance = 30f, - TerritoryId = 398 - } - } - } - }; - span61[1] = new QuestStep(EInteractionType.CompleteQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj131.Steps = list177; - reference131 = obj131; - questRoot21.QuestSequence = list170; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(2272); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list178 = new List(num); - CollectionsMarshal.SetCount(list178, num); - CollectionsMarshal.AsSpan(list178)[0] = "plogon_enjoyer"; - questRoot22.Author = list178; - num = 5; - List list179 = new List(num); - CollectionsMarshal.SetCount(list179, num); - Span span62 = CollectionsMarshal.AsSpan(list179); - ref QuestSequence reference132 = ref span62[0]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj132.Steps = list180; - reference132 = obj132; - ref QuestSequence reference133 = ref span62[1]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - Span span63 = CollectionsMarshal.AsSpan(list181); - span63[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(74.20459f, -48.533592f, -171.12994f), 398) - { - StopDistance = 3f, - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(74.20459f, -48.533592f, -171.12994f), - MaximumDistance = 50f, - TerritoryId = 398 - } - } - } - }; - span63[1] = new QuestStep(EInteractionType.Interact, 1017031u, new Vector3(74.20459f, -48.533592f, -171.12994f), 398); - obj133.Steps = list181; - reference133 = obj133; - ref QuestSequence reference134 = ref span62[2]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.Action, null, new Vector3(-190.26477f, -104.73892f, 512.932f), 398) - { - Fly = true, - Action = EAction.Fumigate - }; - obj134.Steps = list182; - reference134 = obj134; - ref QuestSequence reference135 = ref span62[3]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - Span span64 = CollectionsMarshal.AsSpan(list183); - ref QuestStep reference136 = ref span64[0]; - QuestStep obj136 = new QuestStep(EInteractionType.Action, null, new Vector3(-13.443237f, -129.2623f, 712.21484f), 398) - { - Fly = true, - Action = EAction.Fumigate - }; - num3 = 6; - List list184 = new List(num3); - CollectionsMarshal.SetCount(list184, num3); - Span span65 = CollectionsMarshal.AsSpan(list184); - span65[0] = null; - span65[1] = null; - span65[2] = null; - span65[3] = null; - span65[4] = null; - span65[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj136.CompletionQuestVariablesFlags = list184; - reference136 = obj136; - ref QuestStep reference137 = ref span64[1]; - QuestStep obj137 = new QuestStep(EInteractionType.Action, null, new Vector3(45.151367f, -132.12938f, 685.7556f), 398) - { - Fly = true, - Action = EAction.Fumigate - }; - num3 = 6; - List list185 = new List(num3); - CollectionsMarshal.SetCount(list185, num3); - Span span66 = CollectionsMarshal.AsSpan(list185); - span66[0] = null; - span66[1] = null; - span66[2] = null; - span66[3] = null; - span66[4] = null; - span66[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj137.CompletionQuestVariablesFlags = list185; - reference137 = obj137; - obj135.Steps = list183; - reference135 = obj135; - ref QuestSequence reference138 = ref span62[4]; - QuestSequence obj138 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - Span span67 = CollectionsMarshal.AsSpan(list186); - span67[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.39701f, -48.000008f, -172.36507f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - span67[1] = new QuestStep(EInteractionType.CompleteQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj138.Steps = list186; - reference138 = obj138; - questRoot22.QuestSequence = list179; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(2273); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list187 = new List(num); - CollectionsMarshal.SetCount(list187, num); - CollectionsMarshal.AsSpan(list187)[0] = "plogon_enjoyer"; - questRoot23.Author = list187; - num = 4; - List list188 = new List(num); - CollectionsMarshal.SetCount(list188, num); - Span span68 = CollectionsMarshal.AsSpan(list188); - ref QuestSequence reference139 = ref span68[0]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj139.Steps = list189; - reference139 = obj139; - ref QuestSequence reference140 = ref span68[1]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.Interact, 2006930u, new Vector3(510.3684f, -26.077698f, -592.3705f), 398) - { - Fly = true - }; - obj140.Steps = list190; - reference140 = obj140; - ref QuestSequence reference141 = ref span68[2]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - ref QuestStep reference142 = ref CollectionsMarshal.AsSpan(list191)[0]; - QuestStep obj142 = new QuestStep(EInteractionType.Combat, 2006931u, new Vector3(358.81592f, -51.98755f, -137.89581f), 398) - { - Fly = true, - ItemId = 2001963u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list192 = new List(num3); - CollectionsMarshal.SetCount(list192, num3); - CollectionsMarshal.AsSpan(list192)[0] = 5552u; - obj142.KillEnemyDataIds = list192; - reference142 = obj142; - obj141.Steps = list191; - reference141 = obj141; - ref QuestSequence reference143 = ref span68[3]; - QuestSequence obj143 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - Span span69 = CollectionsMarshal.AsSpan(list193); - span69[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.39701f, -48.000008f, -172.36507f), 398) - { - Fly = true - }; - span69[1] = new QuestStep(EInteractionType.CompleteQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj143.Steps = list193; - reference143 = obj143; - questRoot23.QuestSequence = list188; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(2274); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - CollectionsMarshal.AsSpan(list194)[0] = "plogon_enjoyer"; - questRoot24.Author = list194; - num = 4; - List list195 = new List(num); - CollectionsMarshal.SetCount(list195, num); - Span span70 = CollectionsMarshal.AsSpan(list195); - ref QuestSequence reference144 = ref span70[0]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj144.Steps = list196; - reference144 = obj144; - ref QuestSequence reference145 = ref span70[1]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - Span span71 = CollectionsMarshal.AsSpan(list197); - span71[0] = new QuestStep(EInteractionType.Interact, 2006937u, new Vector3(-42.282776f, -32.73065f, 183.30652f), 398) - { - Fly = true - }; - span71[1] = new QuestStep(EInteractionType.Interact, 2006935u, new Vector3(-46.189087f, -47.257202f, 241.93176f), 398) - { - Fly = true - }; - span71[2] = new QuestStep(EInteractionType.Interact, 2006936u, new Vector3(-83.57367f, -48.17273f, 231.89136f), 398) - { - Fly = true - }; - span71[3] = new QuestStep(EInteractionType.Interact, 2006934u, new Vector3(-105.02789f, -69.68799f, 350.63696f), 398) - { - Fly = true - }; - span71[4] = new QuestStep(EInteractionType.Interact, 2006933u, new Vector3(-80.03363f, -71.67163f, 412.46655f), 398) - { - Fly = true - }; - span71[5] = new QuestStep(EInteractionType.Interact, 2006932u, new Vector3(-155.41315f, -71.122375f, 387.28918f), 398) - { - Fly = true - }; - obj145.Steps = list197; - reference145 = obj145; - ref QuestSequence reference146 = ref span70[2]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - Span span72 = CollectionsMarshal.AsSpan(list198); - span72[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.39701f, -48.000008f, -172.36507f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(58.39701f, -48.000008f, -172.36507f), - MaximumDistance = 50f, - TerritoryId = 398 - } - } - } - }; - span72[1] = new QuestStep(EInteractionType.Interact, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj146.Steps = list198; - reference146 = obj146; - ref QuestSequence reference147 = ref span70[3]; - QuestSequence obj147 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - CollectionsMarshal.AsSpan(list199)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016863u, new Vector3(67.948364f, -48.43746f, -168.23071f), 398) - { - Fly = true - }; - obj147.Steps = list199; - reference147 = obj147; - questRoot24.QuestSequence = list195; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(2275); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list200 = new List(num); - CollectionsMarshal.SetCount(list200, num); - CollectionsMarshal.AsSpan(list200)[0] = "liza"; - questRoot25.Author = list200; - num = 5; - List list201 = new List(num); - CollectionsMarshal.SetCount(list201, num); - Span span73 = CollectionsMarshal.AsSpan(list201); - ref QuestSequence reference148 = ref span73[0]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj148.Steps = list202; - reference148 = obj148; - ref QuestSequence reference149 = ref span73[1]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - Span span74 = CollectionsMarshal.AsSpan(list203); - ref QuestStep reference150 = ref span74[0]; - QuestStep obj150 = new QuestStep(EInteractionType.Interact, 1016865u, new Vector3(-272.23627f, -35.408485f, 219.07373f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - num3 = 6; - List list204 = new List(num3); - CollectionsMarshal.SetCount(list204, num3); - Span span75 = CollectionsMarshal.AsSpan(list204); - span75[0] = null; - span75[1] = null; - span75[2] = null; - span75[3] = null; - span75[4] = null; - span75[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj150.CompletionQuestVariablesFlags = list204; - reference150 = obj150; - ref QuestStep reference151 = ref span74[1]; - QuestStep obj151 = new QuestStep(EInteractionType.Interact, 1016864u, new Vector3(-452.32324f, -35.352047f, 174.30371f), 398) - { - Fly = true - }; - num3 = 6; - List list205 = new List(num3); - CollectionsMarshal.SetCount(list205, num3); - Span span76 = CollectionsMarshal.AsSpan(list205); - span76[0] = null; - span76[1] = null; - span76[2] = null; - span76[3] = null; - span76[4] = null; - span76[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj151.CompletionQuestVariablesFlags = list205; - reference151 = obj151; - obj149.Steps = list203; - reference149 = obj149; - ref QuestSequence reference152 = ref span73[2]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - ref QuestStep reference153 = ref CollectionsMarshal.AsSpan(list206)[0]; - QuestStep obj153 = new QuestStep(EInteractionType.Combat, 1016866u, new Vector3(-397.05505f, -34.192406f, 243.12195f), 398) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list207 = new List(num3); - CollectionsMarshal.SetCount(list207, num3); - CollectionsMarshal.AsSpan(list207)[0] = 5551u; - obj153.KillEnemyDataIds = list207; - reference153 = obj153; - obj152.Steps = list206; - reference152 = obj152; - ref QuestSequence reference154 = ref span73[3]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.Interact, 1016866u, new Vector3(-397.05505f, -34.192406f, 243.12195f), 398); - obj154.Steps = list208; - reference154 = obj154; - ref QuestSequence reference155 = ref span73[4]; - QuestSequence obj155 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - Span span77 = CollectionsMarshal.AsSpan(list209); - span77[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.39701f, -48.000008f, -172.36507f), 398) - { - Fly = true - }; - span77[1] = new QuestStep(EInteractionType.CompleteQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj155.Steps = list209; - reference155 = obj155; - questRoot25.QuestSequence = list201; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(2276); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list210 = new List(num); - CollectionsMarshal.SetCount(list210, num); - CollectionsMarshal.AsSpan(list210)[0] = "plogon_enjoyer"; - questRoot26.Author = list210; - num = 4; - List list211 = new List(num); - CollectionsMarshal.SetCount(list211, num); - Span span78 = CollectionsMarshal.AsSpan(list211); - ref QuestSequence reference156 = ref span78[0]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - CollectionsMarshal.AsSpan(list212)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj156.Steps = list212; - reference156 = obj156; - ref QuestSequence reference157 = ref span78[1]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - Span span79 = CollectionsMarshal.AsSpan(list213); - span79[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(74.20459f, -48.533592f, -171.12994f), 398) - { - StopDistance = 3f, - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(74.20459f, -48.533592f, -171.12994f), - MaximumDistance = 50f, - TerritoryId = 398 - } - } - } - }; - span79[1] = new QuestStep(EInteractionType.Interact, 1017031u, new Vector3(74.20459f, -48.533592f, -171.12994f), 398); - obj157.Steps = list213; - reference157 = obj157; - ref QuestSequence reference158 = ref span78[2]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - Span span80 = CollectionsMarshal.AsSpan(list214); - ref QuestStep reference159 = ref span80[0]; - QuestStep obj159 = new QuestStep(EInteractionType.Action, 2006938u, new Vector3(-178.88159f, 179.88855f, 4.257263f), 398) - { - Fly = true, - Action = EAction.Fumigate - }; - num3 = 6; - List list215 = new List(num3); - CollectionsMarshal.SetCount(list215, num3); - Span span81 = CollectionsMarshal.AsSpan(list215); - span81[0] = null; - span81[1] = null; - span81[2] = null; - span81[3] = null; - span81[4] = null; - span81[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj159.CompletionQuestVariablesFlags = list215; - reference159 = obj159; - ref QuestStep reference160 = ref span80[1]; - QuestStep obj160 = new QuestStep(EInteractionType.Action, 2006940u, new Vector3(-311.8181f, -29.495728f, 143.63306f), 398) - { - Fly = true, - Action = EAction.Fumigate - }; - num3 = 6; - List list216 = new List(num3); - CollectionsMarshal.SetCount(list216, num3); - Span span82 = CollectionsMarshal.AsSpan(list216); - span82[0] = null; - span82[1] = null; - span82[2] = null; - span82[3] = null; - span82[4] = null; - span82[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj160.CompletionQuestVariablesFlags = list216; - reference160 = obj160; - ref QuestStep reference161 = ref span80[2]; - QuestStep obj161 = new QuestStep(EInteractionType.Action, 2006939u, new Vector3(-313.80182f, -29.495728f, 102.098145f), 398) - { - Fly = true, - Action = EAction.Fumigate - }; - num3 = 6; - List list217 = new List(num3); - CollectionsMarshal.SetCount(list217, num3); - Span span83 = CollectionsMarshal.AsSpan(list217); - span83[0] = null; - span83[1] = null; - span83[2] = null; - span83[3] = null; - span83[4] = null; - span83[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj161.CompletionQuestVariablesFlags = list217; - reference161 = obj161; - obj158.Steps = list214; - reference158 = obj158; - ref QuestSequence reference162 = ref span78[3]; - QuestSequence obj162 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - Span span84 = CollectionsMarshal.AsSpan(list218); - span84[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.39701f, -48.000008f, -172.36507f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - span84[1] = new QuestStep(EInteractionType.CompleteQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj162.Steps = list218; - reference162 = obj162; - questRoot26.QuestSequence = list211; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(2277); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list219 = new List(num); - CollectionsMarshal.SetCount(list219, num); - CollectionsMarshal.AsSpan(list219)[0] = "plogon_enjoyer"; - questRoot27.Author = list219; - num = 5; - List list220 = new List(num); - CollectionsMarshal.SetCount(list220, num); - Span span85 = CollectionsMarshal.AsSpan(list220); - ref QuestSequence reference163 = ref span85[0]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj163.Steps = list221; - reference163 = obj163; - ref QuestSequence reference164 = ref span85[1]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - Span span86 = CollectionsMarshal.AsSpan(list222); - span86[0] = new QuestStep(EInteractionType.Say, 1016872u, new Vector3(-42.954163f, -33.573986f, -24.490784f), 398) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANGNA602_02277_SYSTEM_000_012" - } - }; - span86[1] = new QuestStep(EInteractionType.Say, 1016871u, new Vector3(-113.38989f, -34.45324f, -206.65302f), 398) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANGNA602_02277_SYSTEM_000_012" - } - }; - span86[2] = new QuestStep(EInteractionType.Say, 1016873u, new Vector3(-178.17963f, -35.40849f, -80.094604f), 398) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANGNA602_02277_SYSTEM_000_012" - } - }; - obj164.Steps = list222; - reference164 = obj164; - ref QuestSequence reference165 = ref span85[2]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - CollectionsMarshal.AsSpan(list223)[0] = new QuestStep(EInteractionType.Say, 1016874u, new Vector3(-399.25232f, 96.070595f, -43.01526f), 398) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANGNA602_02277_SYSTEM_000_012" - } - }; - obj165.Steps = list223; - reference165 = obj165; - ref QuestSequence reference166 = ref span85[3]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.Interact, 1016874u, new Vector3(-399.25232f, 96.070595f, -43.01526f), 398); - obj166.Steps = list224; - reference166 = obj166; - ref QuestSequence reference167 = ref span85[4]; - QuestSequence obj167 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - Span span87 = CollectionsMarshal.AsSpan(list225); - span87[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.39701f, -48.000008f, -172.36507f), 398) - { - Fly = true - }; - span87[1] = new QuestStep(EInteractionType.CompleteQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj167.Steps = list225; - reference167 = obj167; - questRoot27.QuestSequence = list220; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(2278); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list226 = new List(num); - CollectionsMarshal.SetCount(list226, num); - CollectionsMarshal.AsSpan(list226)[0] = "plogon_enjoyer"; - questRoot28.Author = list226; - num = 7; - List list227 = new List(num); - CollectionsMarshal.SetCount(list227, num); - Span span88 = CollectionsMarshal.AsSpan(list227); - ref QuestSequence reference168 = ref span88[0]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj168.Steps = list228; - reference168 = obj168; - ref QuestSequence reference169 = ref span88[1]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.Interact, 1016875u, new Vector3(-274.09784f, -22.971008f, 22.812195f), 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - obj169.Steps = list229; - reference169 = obj169; - ref QuestSequence reference170 = ref span88[2]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.Interact, 1016876u, new Vector3(148.48547f, 65.56322f, -644.09863f), 398) - { - Fly = true - }; - obj170.Steps = list230; - reference170 = obj170; - ref QuestSequence reference171 = ref span88[3]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.Interact, 1016877u, new Vector3(212.23767f, 52.205494f, -777.676f), 398) - { - Fly = true - }; - obj171.Steps = list231; - reference171 = obj171; - ref QuestSequence reference172 = ref span88[4]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.Interact, 1016878u, new Vector3(210.31506f, 59.655575f, -919.06616f), 398) - { - Fly = true - }; - obj172.Steps = list232; - reference172 = obj172; - ref QuestSequence reference173 = ref span88[5]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - CollectionsMarshal.AsSpan(list233)[0] = new QuestStep(EInteractionType.Interact, 1016875u, new Vector3(-274.09784f, -22.971008f, 22.812195f), 398) - { - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - obj173.Steps = list233; - reference173 = obj173; - ref QuestSequence reference174 = ref span88[6]; - QuestSequence obj174 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - Span span89 = CollectionsMarshal.AsSpan(list234); - span89[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.39701f, -48.000008f, -172.36507f), 398) - { - Fly = true - }; - span89[1] = new QuestStep(EInteractionType.CompleteQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj174.Steps = list234; - reference174 = obj174; - questRoot28.QuestSequence = list227; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(2279); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list235 = new List(num); - CollectionsMarshal.SetCount(list235, num); - CollectionsMarshal.AsSpan(list235)[0] = "plogon_enjoyer"; - questRoot29.Author = list235; - num = 3; - List list236 = new List(num); - CollectionsMarshal.SetCount(list236, num); - Span span90 = CollectionsMarshal.AsSpan(list236); - ref QuestSequence reference175 = ref span90[0]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - CollectionsMarshal.AsSpan(list237)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj175.Steps = list237; - reference175 = obj175; - ref QuestSequence reference176 = ref span90[1]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - Span span91 = CollectionsMarshal.AsSpan(list238); - span91[0] = new QuestStep(EInteractionType.Interact, 2006945u, new Vector3(204.63867f, -106.43176f, 360.55542f), 398) - { - Fly = true - }; - ref QuestStep reference177 = ref span91[1]; - QuestStep obj177 = new QuestStep(EInteractionType.Combat, 2006947u, new Vector3(205.98145f, -109.544556f, 389.7306f), 398) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list239 = new List(num3); - CollectionsMarshal.SetCount(list239, num3); - CollectionsMarshal.AsSpan(list239)[0] = 5549u; - obj177.KillEnemyDataIds = list239; - reference177 = obj177; - ref QuestStep reference178 = ref span91[2]; - QuestStep obj178 = new QuestStep(EInteractionType.Combat, 2006948u, new Vector3(154.43652f, -112.50476f, 445.15137f), 398) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list240 = new List(num3); - CollectionsMarshal.SetCount(list240, num3); - CollectionsMarshal.AsSpan(list240)[0] = 5549u; - obj178.KillEnemyDataIds = list240; - reference178 = obj178; - span91[3] = new QuestStep(EInteractionType.Interact, 2006946u, new Vector3(153.0022f, -86.289795f, 418.44812f), 398) - { - Fly = true - }; - obj176.Steps = list238; - reference176 = obj176; - ref QuestSequence reference179 = ref span90[2]; - QuestSequence obj179 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - Span span92 = CollectionsMarshal.AsSpan(list241); - span92[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.39701f, -48.000008f, -172.36507f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(66.20886f, -49.2817f, -159.44159f), - MaximumDistance = 30f, - TerritoryId = 398 - } - } - } - }; - span92[1] = new QuestStep(EInteractionType.CompleteQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj179.Steps = list241; - reference179 = obj179; - questRoot29.QuestSequence = list236; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(2280); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list242 = new List(num); - CollectionsMarshal.SetCount(list242, num); - CollectionsMarshal.AsSpan(list242)[0] = "plogon_enjoyer"; - questRoot30.Author = list242; - num = 7; - List list243 = new List(num); - CollectionsMarshal.SetCount(list243, num); - Span span93 = CollectionsMarshal.AsSpan(list243); - ref QuestSequence reference180 = ref span93[0]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj180.Steps = list244; - reference180 = obj180; - ref QuestSequence reference181 = ref span93[1]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.Interact, 1016879u, new Vector3(-412.16144f, 2.644555f, -145.1286f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - obj181.Steps = list245; - reference181 = obj181; - ref QuestSequence reference182 = ref span93[2]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - CollectionsMarshal.AsSpan(list246)[0] = new QuestStep(EInteractionType.Interact, 2006950u, new Vector3(-450.9499f, -7.7058716f, -222.61395f), 398) - { - Fly = true, - Land = true - }; - obj182.Steps = list246; - reference182 = obj182; - ref QuestSequence reference183 = ref span93[3]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.Interact, 1016879u, new Vector3(-412.16144f, 2.644555f, -145.1286f), 398); - obj183.Steps = list247; - reference183 = obj183; - ref QuestSequence reference184 = ref span93[4]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.Interact, 2006951u, new Vector3(-388.35742f, -10.238831f, -268.5741f), 398) - { - Fly = true, - Land = true - }; - obj184.Steps = list248; - reference184 = obj184; - ref QuestSequence reference185 = ref span93[5]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.Interact, 1016879u, new Vector3(-412.16144f, 2.644555f, -145.1286f), 398); - obj185.Steps = list249; - reference185 = obj185; - ref QuestSequence reference186 = ref span93[6]; - QuestSequence obj186 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - Span span94 = CollectionsMarshal.AsSpan(list250); - span94[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.39701f, -48.000008f, -172.36507f), 398) - { - Fly = true - }; - span94[1] = new QuestStep(EInteractionType.CompleteQuest, 1016803u, new Vector3(57.297607f, -47.842846f, -174.63953f), 398); - obj186.Steps = list250; - reference186 = obj186; - questRoot30.QuestSequence = list243; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(2281); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list251 = new List(num); - CollectionsMarshal.SetCount(list251, num); - CollectionsMarshal.AsSpan(list251)[0] = "liza"; - questRoot31.Author = list251; - num = 2; - List list252 = new List(num); - CollectionsMarshal.SetCount(list252, num); - Span span95 = CollectionsMarshal.AsSpan(list252); - ref QuestSequence reference187 = ref span95[0]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - Span span96 = CollectionsMarshal.AsSpan(list253); - ref QuestStep reference188 = ref span96[0]; - QuestStep obj188 = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 1; - List list254 = new List(num3); - CollectionsMarshal.SetCount(list254, num3); - CollectionsMarshal.AsSpan(list254)[0] = 351; - skipStepConditions4.InTerritory = list254; - skipConditions4.StepIf = skipStepConditions4; - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list255 = new List(num3); - CollectionsMarshal.SetCount(list255, num3); - CollectionsMarshal.AsSpan(list255)[0] = 351; - skipAetheryteCondition.InTerritory = list255; - skipConditions4.AetheryteShortcutIf = skipAetheryteCondition; - obj188.SkipConditions = skipConditions4; - reference188 = obj188; - span96[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.RisingStonesSolar - } - } - }; - span96[2] = new QuestStep(EInteractionType.AcceptQuest, 1014565u, new Vector3(0.44250488f, -1.9957249f, -43.22882f), 351) - { - StopDistance = 7f - }; - obj187.Steps = list253; - reference187 = obj187; - ref QuestSequence reference189 = ref span95[1]; - QuestSequence obj189 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - Span span97 = CollectionsMarshal.AsSpan(list256); - span97[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(212.05304f, 256.37265f, 0.08028713f), 402) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzysLlaHelix, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(152.26978f, 245.1f, -6.2714844f), - MaximumDistance = 10f, - TerritoryId = 402 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span97[1] = new QuestStep(EInteractionType.CompleteQuest, 1016633u, new Vector3(152.26978f, 245.1f, -6.2714844f), 402) - { - Fly = true - }; - obj189.Steps = list256; - reference189 = obj189; - questRoot31.QuestSequence = list252; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(2285); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list257 = new List(num); - CollectionsMarshal.SetCount(list257, num); - CollectionsMarshal.AsSpan(list257)[0] = "liza"; - questRoot32.Author = list257; - num = 9; - List list258 = new List(num); - CollectionsMarshal.SetCount(list258, num); - Span span98 = CollectionsMarshal.AsSpan(list258); - ref QuestSequence reference190 = ref span98[0]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - CollectionsMarshal.AsSpan(list259)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016130u, new Vector3(-815.7931f, -88.52015f, -835.2941f), 401); - obj190.Steps = list259; - reference190 = obj190; - ref QuestSequence reference191 = ref span98[1]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - Span span99 = CollectionsMarshal.AsSpan(list260); - span99[0] = new QuestStep(EInteractionType.Interact, 2007074u, new Vector3(-815.8236f, -87.26642f, -834.3175f), 401) - { - StopDistance = 4f, - TargetTerritoryId = (ushort)567 - }; - span99[1] = new QuestStep(EInteractionType.Interact, 2007080u, new Vector3(18.1734f, -14.755493f, 26.840576f), 567) - { - TargetTerritoryId = (ushort)567 - }; - span99[2] = new QuestStep(EInteractionType.Interact, 1017141u, new Vector3(23.208984f, 2.5864775f, -15.854187f), 567); - obj191.Steps = list260; - reference191 = obj191; - ref QuestSequence reference192 = ref span98[2]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - Span span100 = CollectionsMarshal.AsSpan(list261); - span100[0] = new QuestStep(EInteractionType.Interact, 2007075u, new Vector3(22.323914f, 3.5552979f, -18.814392f), 567) - { - TargetTerritoryId = (ushort)568 - }; - span100[1] = new QuestStep(EInteractionType.Interact, 1017142u, new Vector3(1.5715942f, -9.5926225E-08f, -2.243164f), 568); - obj192.Steps = list261; - reference192 = obj192; - ref QuestSequence reference193 = ref span98[3]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - CollectionsMarshal.AsSpan(list262)[0] = new QuestStep(EInteractionType.Interact, 1017145u, new Vector3(136.73608f, -13.763474f, -869.5049f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - obj193.Steps = list262; - reference193 = obj193; - ref QuestSequence reference194 = ref span98[4]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - CollectionsMarshal.AsSpan(list263)[0] = new QuestStep(EInteractionType.Interact, 1017149u, new Vector3(35.599243f, -15.420995f, 25.833496f), 567); - obj194.Steps = list263; - reference194 = obj194; - ref QuestSequence reference195 = ref span98[5]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - Span span101 = CollectionsMarshal.AsSpan(list264); - span101[0] = new QuestStep(EInteractionType.Interact, 2007080u, new Vector3(18.1734f, -14.755493f, 26.840576f), 567) - { - TargetTerritoryId = (ushort)567 - }; - span101[1] = new QuestStep(EInteractionType.Interact, 2007075u, new Vector3(22.323914f, 3.5552979f, -18.814392f), 567) - { - TargetTerritoryId = (ushort)568 - }; - span101[2] = new QuestStep(EInteractionType.Interact, 1017155u, new Vector3(0.10675049f, 0.022368316f, 0.56451416f), 568); - obj195.Steps = list264; - reference195 = obj195; - ref QuestSequence reference196 = ref span98[6]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.Interact, 1017158u, new Vector3(46.73828f, -15.36437f, 43.198242f), 567) - { - StopDistance = 7f - }; - obj196.Steps = list265; - reference196 = obj196; - ref QuestSequence reference197 = ref span98[7]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - CollectionsMarshal.AsSpan(list266)[0] = new QuestStep(EInteractionType.Duty, null, null, 567) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 168u - } - }; - obj197.Steps = list266; - reference197 = obj197; - ref QuestSequence reference198 = ref span98[8]; - QuestSequence obj198 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - CollectionsMarshal.AsSpan(list267)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017158u, new Vector3(46.73828f, -15.36437f, 43.198242f), 567) - { - StopDistance = 5f, - NextQuestId = new QuestId(2286) - }; - obj198.Steps = list267; - reference198 = obj198; - questRoot32.QuestSequence = list258; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(2286); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list268 = new List(num); - CollectionsMarshal.SetCount(list268, num); - CollectionsMarshal.AsSpan(list268)[0] = "liza"; - questRoot33.Author = list268; - num = 2; - List list269 = new List(num); - CollectionsMarshal.SetCount(list269, num); - Span span102 = CollectionsMarshal.AsSpan(list269); - ref QuestSequence reference199 = ref span102[0]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - CollectionsMarshal.AsSpan(list270)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017168u, new Vector3(47.745483f, -15.543178f, 39.07837f), 567); - obj199.Steps = list270; - reference199 = obj199; - ref QuestSequence reference200 = ref span102[1]; - QuestSequence obj200 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - Span span103 = CollectionsMarshal.AsSpan(list271); - span103[0] = new QuestStep(EInteractionType.Interact, 2007080u, new Vector3(18.19791f, -14.73229f, 26.85483f), 567) - { - TargetTerritoryId = (ushort)567 - }; - span103[1] = new QuestStep(EInteractionType.Interact, 2007075u, new Vector3(22.34343f, 3.560182f, -18.78459f), 567) - { - TargetTerritoryId = (ushort)568 - }; - span103[2] = new QuestStep(EInteractionType.CompleteQuest, 1017200u, new Vector3(-3.2807007f, 1.937151E-07f, 2.1209717f), 568) - { - StopDistance = 7f, - NextQuestId = new QuestId(2373) - }; - obj200.Steps = list271; - reference200 = obj200; - questRoot33.QuestSequence = list269; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(2288); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list272 = new List(num); - CollectionsMarshal.SetCount(list272, num); - CollectionsMarshal.AsSpan(list272)[0] = "liza"; - questRoot34.Author = list272; - num = 6; - List list273 = new List(num); - CollectionsMarshal.SetCount(list273, num); - Span span104 = CollectionsMarshal.AsSpan(list273); - ref QuestSequence reference201 = ref span104[0]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - Span span105 = CollectionsMarshal.AsSpan(list274); - ref QuestStep reference202 = ref span105[0]; - QuestStep obj202 = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 1; - List list275 = new List(num3); - CollectionsMarshal.SetCount(list275, num3); - CollectionsMarshal.AsSpan(list275)[0] = 351; - skipStepConditions5.InTerritory = list275; - skipConditions5.StepIf = skipStepConditions5; - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num3 = 1; - List list276 = new List(num3); - CollectionsMarshal.SetCount(list276, num3); - CollectionsMarshal.AsSpan(list276)[0] = 351; - skipAetheryteCondition2.InTerritory = list276; - skipConditions5.AetheryteShortcutIf = skipAetheryteCondition2; - obj202.SkipConditions = skipConditions5; - reference202 = obj202; - span105[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.RisingStonesSolar - } - } - }; - span105[2] = new QuestStep(EInteractionType.AcceptQuest, 1014565u, new Vector3(0.44250488f, -1.9957249f, -43.22882f), 351) - { - StopDistance = 7f - }; - obj201.Steps = list274; - reference201 = obj201; - ref QuestSequence reference203 = ref span104[1]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - CollectionsMarshal.AsSpan(list277)[0] = new QuestStep(EInteractionType.Interact, 1017115u, new Vector3(-59.67804f, 271.23285f, 4.0131226f), 402) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzysLlaHelix - }; - obj203.Steps = list277; - reference203 = obj203; - ref QuestSequence reference204 = ref span104[2]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - CollectionsMarshal.AsSpan(list278)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2005564u, new Vector3(-58.121643f, 271.1986f, -4.1047363f), 402); - obj204.Steps = list278; - reference204 = obj204; - span104[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference205 = ref span104[4]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - CollectionsMarshal.AsSpan(list279)[0] = new QuestStep(EInteractionType.Interact, 1017167u, new Vector3(-66.91089f, 271.23285f, 4.0131226f), 402); - obj205.Steps = list279; - reference205 = obj205; - ref QuestSequence reference206 = ref span104[5]; - QuestSequence obj206 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - Span span106 = CollectionsMarshal.AsSpan(list280); - span106[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span106[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span106[2] = new QuestStep(EInteractionType.CompleteQuest, 1014565u, new Vector3(0.44250488f, -1.9957249f, -43.22882f), 351) - { - StopDistance = 7f, - NextQuestId = new QuestId(2332) - }; - obj206.Steps = list280; - reference206 = obj206; - questRoot34.QuestSequence = list273; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(2290); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list281 = new List(num); - CollectionsMarshal.SetCount(list281, num); - CollectionsMarshal.AsSpan(list281)[0] = "liza"; - questRoot35.Author = list281; - num = 5; - List list282 = new List(num); - CollectionsMarshal.SetCount(list282, num); - Span span107 = CollectionsMarshal.AsSpan(list282); - ref QuestSequence reference207 = ref span107[0]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400); - obj207.Steps = list283; - reference207 = obj207; - ref QuestSequence reference208 = ref span107[1]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - CollectionsMarshal.AsSpan(list284)[0] = new QuestStep(EInteractionType.Interact, 1017351u, new Vector3(-74.87604f, -8.172172f, 158.70898f), 400) - { - Fly = true - }; - obj208.Steps = list284; - reference208 = obj208; - ref QuestSequence reference209 = ref span107[2]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - Span span108 = CollectionsMarshal.AsSpan(list285); - span108[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15725u, - ItemCount = 3 - }; - span108[1] = new QuestStep(EInteractionType.Interact, 1017352u, new Vector3(-56.809387f, -8.866012f, 161.8219f), 400); - obj209.Steps = list285; - reference209 = obj209; - ref QuestSequence reference210 = ref span107[3]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - Span span109 = CollectionsMarshal.AsSpan(list286); - ref QuestStep reference211 = ref span109[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1017353u, new Vector3(-33.554626f, -8.866012f, 163.43933f), 400); - num3 = 6; - List list287 = new List(num3); - CollectionsMarshal.SetCount(list287, num3); - Span span110 = CollectionsMarshal.AsSpan(list287); - span110[0] = null; - span110[1] = null; - span110[2] = null; - span110[3] = null; - span110[4] = null; - span110[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list287; - reference211 = questStep; - ref QuestStep reference212 = ref span109[1]; - QuestStep obj211 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-104.788086f, -8.655561f, 194.60593f), 400) - { - Fly = true - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 6; - List list288 = new List(num3); - CollectionsMarshal.SetCount(list288, num3); - Span span111 = CollectionsMarshal.AsSpan(list288); - span111[0] = null; - span111[1] = null; - span111[2] = null; - span111[3] = null; - span111[4] = null; - span111[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions6.CompletionQuestVariablesFlags = list288; - skipConditions6.StepIf = skipStepConditions6; - obj211.SkipConditions = skipConditions6; - reference212 = obj211; - ref QuestStep reference213 = ref span109[2]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1017354u, new Vector3(-104.41754f, -8.6555605f, 193.16394f), 400); - num3 = 6; - List list289 = new List(num3); - CollectionsMarshal.SetCount(list289, num3); - Span span112 = CollectionsMarshal.AsSpan(list289); - span112[0] = null; - span112[1] = null; - span112[2] = null; - span112[3] = null; - span112[4] = null; - span112[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list289; - reference213 = questStep2; - ref QuestStep reference214 = ref span109[3]; - QuestStep obj212 = new QuestStep(EInteractionType.Interact, 1017355u, new Vector3(-110.97894f, -8.866015f, 247.94385f), 400) - { - Fly = true - }; - num3 = 6; - List list290 = new List(num3); - CollectionsMarshal.SetCount(list290, num3); - Span span113 = CollectionsMarshal.AsSpan(list290); - span113[0] = null; - span113[1] = null; - span113[2] = null; - span113[3] = null; - span113[4] = null; - span113[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj212.CompletionQuestVariablesFlags = list290; - reference214 = obj212; - obj210.Steps = list286; - reference210 = obj210; - ref QuestSequence reference215 = ref span107[4]; - QuestSequence obj213 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - CollectionsMarshal.AsSpan(list291)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true - }; - obj213.Steps = list291; - reference215 = obj213; - questRoot35.QuestSequence = list282; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(2291); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list292 = new List(num); - CollectionsMarshal.SetCount(list292, num); - CollectionsMarshal.AsSpan(list292)[0] = "Censored"; - questRoot36.Author = list292; - num = 3; - List list293 = new List(num); - CollectionsMarshal.SetCount(list293, num); - Span span114 = CollectionsMarshal.AsSpan(list293); - ref QuestSequence reference216 = ref span114[0]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - CollectionsMarshal.AsSpan(list294)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj214.Steps = list294; - reference216 = obj214; - ref QuestSequence reference217 = ref span114[1]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - CollectionsMarshal.AsSpan(list295)[0] = new QuestStep(EInteractionType.Interact, 1017356u, new Vector3(676.14246f, -0.4951099f, 11.550964f), 400) - { - Fly = true - }; - obj215.Steps = list295; - reference217 = obj215; - ref QuestSequence reference218 = ref span114[2]; - QuestSequence obj216 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - Span span115 = CollectionsMarshal.AsSpan(list296); - span115[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15726u, - ItemCount = 3, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span115[1] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj216.Steps = list296; - reference218 = obj216; - questRoot36.QuestSequence = list293; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(2292); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list297 = new List(num); - CollectionsMarshal.SetCount(list297, num); - CollectionsMarshal.AsSpan(list297)[0] = "Censored"; - questRoot37.Author = list297; - num = 4; - List list298 = new List(num); - CollectionsMarshal.SetCount(list298, num); - Span span116 = CollectionsMarshal.AsSpan(list298); - ref QuestSequence reference219 = ref span116[0]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - CollectionsMarshal.AsSpan(list299)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj217.Steps = list299; - reference219 = obj217; - ref QuestSequence reference220 = ref span116[1]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - Span span117 = CollectionsMarshal.AsSpan(list300); - ref QuestStep reference221 = ref span117[0]; - QuestStep obj219 = new QuestStep(EInteractionType.Interact, 1017357u, new Vector3(312.3673f, -35.70687f, 89.25f), 400) - { - Fly = true - }; - num3 = 6; - List list301 = new List(num3); - CollectionsMarshal.SetCount(list301, num3); - Span span118 = CollectionsMarshal.AsSpan(list301); - span118[0] = null; - span118[1] = null; - span118[2] = null; - span118[3] = null; - span118[4] = null; - span118[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj219.CompletionQuestVariablesFlags = list301; - reference221 = obj219; - span117[1] = new QuestStep(EInteractionType.Interact, 1017358u, new Vector3(837.9186f, -3.0115817f, 211.56628f), 400) - { - Fly = true - }; - obj218.Steps = list300; - reference220 = obj218; - ref QuestSequence reference222 = ref span116[2]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list302 = new List(num2); - CollectionsMarshal.SetCount(list302, num2); - CollectionsMarshal.AsSpan(list302)[0] = new QuestStep(EInteractionType.Interact, 1017471u, new Vector3(-391.0735f, 59.9946f, 303.1814f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - obj220.Steps = list302; - reference222 = obj220; - ref QuestSequence reference223 = ref span116[3]; - QuestSequence obj221 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list303 = new List(num2); - CollectionsMarshal.SetCount(list303, num2); - Span span119 = CollectionsMarshal.AsSpan(list303); - span119[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15727u, - ItemCount = 2, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span119[1] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 100f, - TerritoryId = 400 - } - } - } - }; - obj221.Steps = list303; - reference223 = obj221; - questRoot37.QuestSequence = list298; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(2293); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list304 = new List(num); - CollectionsMarshal.SetCount(list304, num); - CollectionsMarshal.AsSpan(list304)[0] = "Censored"; - questRoot38.Author = list304; - num = 6; - List list305 = new List(num); - CollectionsMarshal.SetCount(list305, num); - Span span120 = CollectionsMarshal.AsSpan(list305); - ref QuestSequence reference224 = ref span120[0]; - QuestSequence obj222 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - CollectionsMarshal.AsSpan(list306)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj222.Steps = list306; - reference224 = obj222; - ref QuestSequence reference225 = ref span120[1]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list307 = new List(num2); - CollectionsMarshal.SetCount(list307, num2); - CollectionsMarshal.AsSpan(list307)[0] = new QuestStep(EInteractionType.Interact, 1017359u, new Vector3(401.9989f, -6.0554f, 581.65857f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(401.9989f, -6.0554f, 581.65857f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj223.Steps = list307; - reference225 = obj223; - ref QuestSequence reference226 = ref span120[2]; - QuestSequence obj224 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - Span span121 = CollectionsMarshal.AsSpan(list308); - span121[0] = new QuestStep(EInteractionType.Interact, 1017362u, new Vector3(279.3468f, -37.982975f, 487.6936f), 400) - { - Fly = true - }; - span121[1] = new QuestStep(EInteractionType.Interact, 1017363u, new Vector3(320.88184f, -13.416825f, 439.07825f), 400) - { - Fly = true - }; - span121[2] = new QuestStep(EInteractionType.Interact, 1017361u, new Vector3(177.7218f, -33.74496f, 486.8695f), 400) - { - Fly = true - }; - obj224.Steps = list308; - reference226 = obj224; - ref QuestSequence reference227 = ref span120[3]; - QuestSequence obj225 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - CollectionsMarshal.AsSpan(list309)[0] = new QuestStep(EInteractionType.Interact, 1017359u, new Vector3(401.9989f, -6.0554f, 581.65857f), 400) - { - Fly = true - }; - obj225.Steps = list309; - reference227 = obj225; - ref QuestSequence reference228 = ref span120[4]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - Span span122 = CollectionsMarshal.AsSpan(list310); - span122[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15728u, - ItemCount = 3, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span122[1] = new QuestStep(EInteractionType.Interact, 1017360u, new Vector3(395.98682f, -5.798145f, 587.3655f), 400); - obj226.Steps = list310; - reference228 = obj226; - ref QuestSequence reference229 = ref span120[5]; - QuestSequence obj227 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list311 = new List(num2); - CollectionsMarshal.SetCount(list311, num2); - CollectionsMarshal.AsSpan(list311)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj227.Steps = list311; - reference229 = obj227; - questRoot38.QuestSequence = list305; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(2294); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list312 = new List(num); - CollectionsMarshal.SetCount(list312, num); - CollectionsMarshal.AsSpan(list312)[0] = "Censored"; - questRoot39.Author = list312; - num = 5; - List list313 = new List(num); - CollectionsMarshal.SetCount(list313, num); - Span span123 = CollectionsMarshal.AsSpan(list313); - ref QuestSequence reference230 = ref span123[0]; - QuestSequence obj228 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - CollectionsMarshal.AsSpan(list314)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj228.Steps = list314; - reference230 = obj228; - ref QuestSequence reference231 = ref span123[1]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - CollectionsMarshal.AsSpan(list315)[0] = new QuestStep(EInteractionType.Interact, 1017364u, new Vector3(517.87585f, -11.374985f, 82.96326f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(517.87585f, -11.374985f, 82.96326f), - MaximumDistance = 100f, - TerritoryId = 400 - } - } - } - }; - obj229.Steps = list315; - reference231 = obj229; - ref QuestSequence reference232 = ref span123[2]; - QuestSequence obj230 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - Span span124 = CollectionsMarshal.AsSpan(list316); - ref QuestStep reference233 = ref span124[0]; - QuestStep obj231 = new QuestStep(EInteractionType.Interact, 2007227u, new Vector3(439.9939f, -31.601501f, 204.88281f), 400) - { - Fly = true - }; - num3 = 6; - List list317 = new List(num3); - CollectionsMarshal.SetCount(list317, num3); - Span span125 = CollectionsMarshal.AsSpan(list317); - span125[0] = null; - span125[1] = null; - span125[2] = null; - span125[3] = null; - span125[4] = null; - span125[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj231.CompletionQuestVariablesFlags = list317; - reference233 = obj231; - ref QuestStep reference234 = ref span124[1]; - QuestStep obj232 = new QuestStep(EInteractionType.Interact, 2007226u, new Vector3(430.80798f, -27.878296f, 141.92407f), 400) - { - Fly = true - }; - num3 = 6; - List list318 = new List(num3); - CollectionsMarshal.SetCount(list318, num3); - Span span126 = CollectionsMarshal.AsSpan(list318); - span126[0] = null; - span126[1] = null; - span126[2] = null; - span126[3] = null; - span126[4] = null; - span126[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj232.CompletionQuestVariablesFlags = list318; - reference234 = obj232; - span124[2] = new QuestStep(EInteractionType.Interact, 2007225u, new Vector3(413.68726f, -22.354492f, 16.525452f), 400) - { - Fly = true - }; - obj230.Steps = list316; - reference232 = obj230; - ref QuestSequence reference235 = ref span123[3]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list319 = new List(num2); - CollectionsMarshal.SetCount(list319, num2); - CollectionsMarshal.AsSpan(list319)[0] = new QuestStep(EInteractionType.Interact, 1017364u, new Vector3(517.87585f, -11.374985f, 82.96326f), 400) - { - Fly = true - }; - obj233.Steps = list319; - reference235 = obj233; - ref QuestSequence reference236 = ref span123[4]; - QuestSequence obj234 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list320 = new List(num2); - CollectionsMarshal.SetCount(list320, num2); - Span span127 = CollectionsMarshal.AsSpan(list320); - span127[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15729u, - ItemCount = 3, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span127[1] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj234.Steps = list320; - reference236 = obj234; - questRoot39.QuestSequence = list313; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(2295); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list321 = new List(num); - CollectionsMarshal.SetCount(list321, num); - CollectionsMarshal.AsSpan(list321)[0] = "Censored"; - questRoot40.Author = list321; - num = 3; - List list322 = new List(num); - CollectionsMarshal.SetCount(list322, num); - Span span128 = CollectionsMarshal.AsSpan(list322); - ref QuestSequence reference237 = ref span128[0]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list323 = new List(num2); - CollectionsMarshal.SetCount(list323, num2); - CollectionsMarshal.AsSpan(list323)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj235.Steps = list323; - reference237 = obj235; - ref QuestSequence reference238 = ref span128[1]; - QuestSequence obj236 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list324 = new List(num2); - CollectionsMarshal.SetCount(list324, num2); - Span span129 = CollectionsMarshal.AsSpan(list324); - ref QuestStep reference239 = ref span129[0]; - QuestStep obj237 = new QuestStep(EInteractionType.Say, 1017365u, new Vector3(255.75635f, -43.649445f, 637.2014f), 400) - { - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANMOG202_02295_SYSTEM_000_019" - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(255.75635f, -43.649445f, 637.2014f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - num3 = 6; - List list325 = new List(num3); - CollectionsMarshal.SetCount(list325, num3); - Span span130 = CollectionsMarshal.AsSpan(list325); - span130[0] = null; - span130[1] = null; - span130[2] = null; - span130[3] = null; - span130[4] = null; - span130[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj237.CompletionQuestVariablesFlags = list325; - reference239 = obj237; - ref QuestStep reference240 = ref span129[1]; - QuestStep obj238 = new QuestStep(EInteractionType.Say, 1017366u, new Vector3(296.37585f, -47.154934f, 673.9756f), 400) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_BANMOG202_02295_SYSTEM_000_019" - } - }; - num3 = 6; - List list326 = new List(num3); - CollectionsMarshal.SetCount(list326, num3); - Span span131 = CollectionsMarshal.AsSpan(list326); - span131[0] = null; - span131[1] = null; - span131[2] = null; - span131[3] = null; - span131[4] = null; - span131[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj238.CompletionQuestVariablesFlags = list326; - reference240 = obj238; - ref QuestStep reference241 = ref span129[2]; - QuestStep obj239 = new QuestStep(EInteractionType.Say, 1017368u, new Vector3(451.7433f, -5.8336167f, 649.7444f), 400) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANMOG202_02295_SYSTEM_000_019" - } - }; - num3 = 6; - List list327 = new List(num3); - CollectionsMarshal.SetCount(list327, num3); - Span span132 = CollectionsMarshal.AsSpan(list327); - span132[0] = null; - span132[1] = null; - span132[2] = null; - span132[3] = null; - span132[4] = null; - span132[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj239.CompletionQuestVariablesFlags = list327; - reference241 = obj239; - span129[3] = new QuestStep(EInteractionType.Say, 1017367u, new Vector3(484.45862f, -7.7667823f, 716.9756f), 400) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANMOG202_02295_SYSTEM_000_019" - } - }; - obj236.Steps = list324; - reference238 = obj236; - ref QuestSequence reference242 = ref span128[2]; - QuestSequence obj240 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - CollectionsMarshal.AsSpan(list328)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj240.Steps = list328; - reference242 = obj240; - questRoot40.QuestSequence = list322; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(2296); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list329 = new List(num); - CollectionsMarshal.SetCount(list329, num); - CollectionsMarshal.AsSpan(list329)[0] = "Censored"; - questRoot41.Author = list329; - num = 4; - List list330 = new List(num); - CollectionsMarshal.SetCount(list330, num); - Span span133 = CollectionsMarshal.AsSpan(list330); - ref QuestSequence reference243 = ref span133[0]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list331 = new List(num2); - CollectionsMarshal.SetCount(list331, num2); - CollectionsMarshal.AsSpan(list331)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj241.Steps = list331; - reference243 = obj241; - ref QuestSequence reference244 = ref span133[1]; - QuestSequence obj242 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list332 = new List(num2); - CollectionsMarshal.SetCount(list332, num2); - CollectionsMarshal.AsSpan(list332)[0] = new QuestStep(EInteractionType.Interact, 1017369u, new Vector3(444.93774f, -5.6449523f, 653.4065f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(444.93774f, -5.6449523f, 653.4065f), - MaximumDistance = 100f, - TerritoryId = 400 - } - } - } - }; - obj242.Steps = list332; - reference244 = obj242; - ref QuestSequence reference245 = ref span133[2]; - QuestSequence obj243 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list333 = new List(num2); - CollectionsMarshal.SetCount(list333, num2); - Span span134 = CollectionsMarshal.AsSpan(list333); - span134[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15730u, - ItemCount = 3, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span134[1] = new QuestStep(EInteractionType.Interact, 1017370u, new Vector3(456.07678f, -5.5784807f, 676.84436f), 400); - obj243.Steps = list333; - reference245 = obj243; - ref QuestSequence reference246 = ref span133[3]; - QuestSequence obj244 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - CollectionsMarshal.AsSpan(list334)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj244.Steps = list334; - reference246 = obj244; - questRoot41.QuestSequence = list330; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(2297); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list335 = new List(num); - CollectionsMarshal.SetCount(list335, num); - CollectionsMarshal.AsSpan(list335)[0] = "pot0to"; - questRoot42.Author = list335; - num = 5; - List list336 = new List(num); - CollectionsMarshal.SetCount(list336, num); - Span span135 = CollectionsMarshal.AsSpan(list336); - ref QuestSequence reference247 = ref span135[0]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list337 = new List(num2); - CollectionsMarshal.SetCount(list337, num2); - CollectionsMarshal.AsSpan(list337)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - obj245.Steps = list337; - reference247 = obj245; - ref QuestSequence reference248 = ref span135[1]; - QuestSequence obj246 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list338 = new List(num2); - CollectionsMarshal.SetCount(list338, num2); - CollectionsMarshal.AsSpan(list338)[0] = new QuestStep(EInteractionType.Interact, 1017322u, new Vector3(-331.5633f, 58.823204f, 323.17078f), 400); - obj246.Steps = list338; - reference248 = obj246; - ref QuestSequence reference249 = ref span135[2]; - QuestSequence obj247 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list339 = new List(num2); - CollectionsMarshal.SetCount(list339, num2); - CollectionsMarshal.AsSpan(list339)[0] = new QuestStep(EInteractionType.Action, null, new Vector3(-740.9363f, 81f, 427.06656f), 400) - { - Fly = true, - Action = EAction.Seed - }; - obj247.Steps = list339; - reference249 = obj247; - ref QuestSequence reference250 = ref span135[3]; - QuestSequence obj248 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list340 = new List(num2); - CollectionsMarshal.SetCount(list340, num2); - CollectionsMarshal.AsSpan(list340)[0] = new QuestStep(EInteractionType.Action, null, new Vector3(-44.158283f, 81.187126f, -265.6412f), 400) - { - Fly = true, - Action = EAction.Seed - }; - obj248.Steps = list340; - reference250 = obj248; - ref QuestSequence reference251 = ref span135[4]; - QuestSequence obj249 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - CollectionsMarshal.AsSpan(list341)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj249.Steps = list341; - reference251 = obj249; - questRoot42.QuestSequence = list336; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(2298); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list342 = new List(num); - CollectionsMarshal.SetCount(list342, num); - CollectionsMarshal.AsSpan(list342)[0] = "Censored"; - questRoot43.Author = list342; - num = 4; - List list343 = new List(num); - CollectionsMarshal.SetCount(list343, num); - Span span136 = CollectionsMarshal.AsSpan(list343); - ref QuestSequence reference252 = ref span136[0]; - QuestSequence obj250 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list344 = new List(num2); - CollectionsMarshal.SetCount(list344, num2); - CollectionsMarshal.AsSpan(list344)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj250.Steps = list344; - reference252 = obj250; - ref QuestSequence reference253 = ref span136[1]; - QuestSequence obj251 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list345 = new List(num2); - CollectionsMarshal.SetCount(list345, num2); - CollectionsMarshal.AsSpan(list345)[0] = new QuestStep(EInteractionType.Interact, 1017377u, new Vector3(559.9907f, -1.071418f, -372.42694f), 400) - { - Fly = true, - Land = true - }; - obj251.Steps = list345; - reference253 = obj251; - ref QuestSequence reference254 = ref span136[2]; - QuestSequence obj252 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list346 = new List(num2); - CollectionsMarshal.SetCount(list346, num2); - Span span137 = CollectionsMarshal.AsSpan(list346); - span137[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15731u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span137[1] = new QuestStep(EInteractionType.Interact, 1017378u, new Vector3(555.84033f, -1.1545231f, -386.28217f), 400); - obj252.Steps = list346; - reference254 = obj252; - ref QuestSequence reference255 = ref span136[3]; - QuestSequence obj253 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list347 = new List(num2); - CollectionsMarshal.SetCount(list347, num2); - CollectionsMarshal.AsSpan(list347)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj253.Steps = list347; - reference255 = obj253; - questRoot43.QuestSequence = list343; - AddQuest(questId43, questRoot43); - QuestId questId44 = new QuestId(2299); - QuestRoot questRoot44 = new QuestRoot(); - num = 1; - List list348 = new List(num); - CollectionsMarshal.SetCount(list348, num); - CollectionsMarshal.AsSpan(list348)[0] = "Censored"; - questRoot44.Author = list348; - num = 4; - List list349 = new List(num); - CollectionsMarshal.SetCount(list349, num); - Span span138 = CollectionsMarshal.AsSpan(list349); - ref QuestSequence reference256 = ref span138[0]; - QuestSequence obj254 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - CollectionsMarshal.AsSpan(list350)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj254.Steps = list350; - reference256 = obj254; - ref QuestSequence reference257 = ref span138[1]; - QuestSequence obj255 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list351 = new List(num2); - CollectionsMarshal.SetCount(list351, num2); - CollectionsMarshal.AsSpan(list351)[0] = new QuestStep(EInteractionType.Interact, 1017379u, new Vector3(-183.0625f, 182.06508f, -759.21265f), 400) - { - Fly = true - }; - obj255.Steps = list351; - reference257 = obj255; - ref QuestSequence reference258 = ref span138[2]; - QuestSequence obj256 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list352 = new List(num2); - CollectionsMarshal.SetCount(list352, num2); - Span span139 = CollectionsMarshal.AsSpan(list352); - span139[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15732u, - ItemCount = 2, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span139[1] = new QuestStep(EInteractionType.Interact, 1017380u, new Vector3(-171.74036f, 178.63443f, -772.9458f), 400); - obj256.Steps = list352; - reference258 = obj256; - ref QuestSequence reference259 = ref span138[3]; - QuestSequence obj257 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list353 = new List(num2); - CollectionsMarshal.SetCount(list353, num2); - CollectionsMarshal.AsSpan(list353)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj257.Steps = list353; - reference259 = obj257; - questRoot44.QuestSequence = list349; - AddQuest(questId44, questRoot44); - } - - private static void LoadQuests46() - { - QuestId questId = new QuestId(2300); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "plogon_enjoyer"; - questRoot.Author = list; - num = 5; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1017383u, new Vector3(-657.46545f, 73.76131f, 219.28735f), 400) - { - Fly = true, - Land = true - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - Span span2 = CollectionsMarshal.AsSpan(list5); - span2[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15733u, - ItemCount = 1 - }; - ref QuestStep reference4 = ref span2[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1017384u, new Vector3(-651.51447f, 73f, 217.2732f), 400); - int num3 = 1; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - CollectionsMarshal.AsSpan(list6)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANMOG303_02300_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANMOG303_02300_A1_000_001") - }; - questStep.DialogueChoices = list6; - reference4 = questStep; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference5 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.Interact, 1017387u, new Vector3(-59.55603f, -8.685017f, 186.84668f), 400) - { - Fly = true - }; - obj4.Steps = list7; - reference5 = obj4; - ref QuestSequence reference6 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj5.Steps = list8; - reference6 = obj5; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(2301); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - CollectionsMarshal.AsSpan(list9)[0] = "plogon_enjoyer"; - questRoot2.Author = list9; - num = 6; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - Span span3 = CollectionsMarshal.AsSpan(list10); - ref QuestSequence reference7 = ref span3[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400); - obj6.Steps = list11; - reference7 = obj6; - ref QuestSequence reference8 = ref span3[1]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Interact, 1017321u, new Vector3(-376.4859f, 60.89619f, 319.7832f), 400) - { - Fly = true - }; - obj7.Steps = list12; - reference8 = obj7; - ref QuestSequence reference9 = ref span3[2]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - Span span4 = CollectionsMarshal.AsSpan(list13); - span4[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15734u, - ItemCount = 1 - }; - span4[1] = new QuestStep(EInteractionType.Interact, 1017392u, new Vector3(112.687744f, -24.088774f, 167.74243f), 400) - { - Fly = true - }; - obj8.Steps = list13; - reference9 = obj8; - ref QuestSequence reference10 = ref span3[3]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.Interact, 2007234u, new Vector3(111.86377f, -21.988281f, 192.43152f), 400) - { - Fly = true - }; - obj9.Steps = list14; - reference10 = obj9; - ref QuestSequence reference11 = ref span3[4]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.Interact, 1017392u, new Vector3(112.687744f, -24.088774f, 167.74243f), 400) - { - Fly = true - }; - obj10.Steps = list15; - reference11 = obj10; - ref QuestSequence reference12 = ref span3[5]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj11.Steps = list16; - reference12 = obj11; - questRoot2.QuestSequence = list10; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(2302); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - CollectionsMarshal.AsSpan(list17)[0] = "plogon_enjoyer"; - questRoot3.Author = list17; - num = 6; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - Span span5 = CollectionsMarshal.AsSpan(list18); - ref QuestSequence reference13 = ref span5[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400); - obj12.Steps = list19; - reference13 = obj12; - ref QuestSequence reference14 = ref span5[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.Interact, 1017470u, new Vector3(-353.53632f, 60.896175f, 299.61084f), 400) - { - Fly = true - }; - obj13.Steps = list20; - reference14 = obj13; - ref QuestSequence reference15 = ref span5[2]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.Action, 2007272u, new Vector3(306.53845f, -38.254395f, 111.0094f), 400) - { - Fly = true, - Action = EAction.Roar - }; - obj14.Steps = list21; - reference15 = obj14; - ref QuestSequence reference16 = ref span5[3]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.Action, 2007273u, new Vector3(431.99805f, -28.152893f, 112.321655f), 400) - { - Fly = true, - Action = EAction.Roar - }; - obj15.Steps = list22; - reference16 = obj15; - ref QuestSequence reference17 = ref span5[4]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.Action, 2007274u, new Vector3(390.70715f, -35.599304f, 252.58252f), 400) - { - Fly = true, - Action = EAction.Roar - }; - obj16.Steps = list23; - reference17 = obj16; - ref QuestSequence reference18 = ref span5[5]; - QuestSequence obj17 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj17.Steps = list24; - reference18 = obj17; - questRoot3.QuestSequence = list18; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(2303); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - CollectionsMarshal.AsSpan(list25)[0] = "Censored"; - questRoot4.Author = list25; - num = 4; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - Span span6 = CollectionsMarshal.AsSpan(list26); - ref QuestSequence reference19 = ref span6[0]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj18.Steps = list27; - reference19 = obj18; - ref QuestSequence reference20 = ref span6[1]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.Interact, 1017403u, new Vector3(-686.12195f, 335f, 165.75867f), 400) - { - Fly = true - }; - obj19.Steps = list28; - reference20 = obj19; - ref QuestSequence reference21 = ref span6[2]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - Span span7 = CollectionsMarshal.AsSpan(list29); - span7[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15735u, - ItemCount = 2, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span7[1] = new QuestStep(EInteractionType.Interact, 1017534u, new Vector3(-661.1582f, 335f, 158.49548f), 400); - obj20.Steps = list29; - reference21 = obj20; - ref QuestSequence reference22 = ref span6[3]; - QuestSequence obj21 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true - }; - obj21.Steps = list30; - reference22 = obj21; - questRoot4.QuestSequence = list26; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(2304); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list31 = new List(num); - CollectionsMarshal.SetCount(list31, num); - CollectionsMarshal.AsSpan(list31)[0] = "liza"; - questRoot5.Author = list31; - num = 5; - List list32 = new List(num); - CollectionsMarshal.SetCount(list32, num); - Span span8 = CollectionsMarshal.AsSpan(list32); - ref QuestSequence reference23 = ref span8[0]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400); - obj22.Steps = list33; - reference23 = obj22; - ref QuestSequence reference24 = ref span8[1]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.Interact, 1017406u, new Vector3(-95.04846f, 79.8345f, -301.80823f), 400) - { - Fly = true - }; - obj23.Steps = list34; - reference24 = obj23; - ref QuestSequence reference25 = ref span8[2]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.Interact, 1017407u, new Vector3(-128.34369f, 125.92322f, -314.6258f), 400) - { - Fly = true - }; - obj24.Steps = list35; - reference25 = obj24; - ref QuestSequence reference26 = ref span8[3]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - Span span9 = CollectionsMarshal.AsSpan(list36); - span9[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15736u, - ItemCount = 3 - }; - span9[1] = new QuestStep(EInteractionType.Interact, 1017408u, new Vector3(-108.59851f, 122.442116f, -318.31848f), 400); - obj25.Steps = list36; - reference26 = obj25; - ref QuestSequence reference27 = ref span8[4]; - QuestSequence obj26 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj26.Steps = list37; - reference27 = obj26; - questRoot5.QuestSequence = list32; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(2305); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - CollectionsMarshal.AsSpan(list38)[0] = "liza"; - questRoot6.Author = list38; - num = 7; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - Span span10 = CollectionsMarshal.AsSpan(list39); - ref QuestSequence reference28 = ref span10[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400); - obj27.Steps = list40; - reference28 = obj27; - ref QuestSequence reference29 = ref span10[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.Interact, 1017471u, new Vector3(-391.0735f, 59.9946f, 303.1814f), 400); - obj28.Steps = list41; - reference29 = obj28; - ref QuestSequence reference30 = ref span10[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - Span span11 = CollectionsMarshal.AsSpan(list42); - span11[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-255.2606f, -24.29513f, 737.67456f), 400) - { - Fly = true - }; - span11[1] = new QuestStep(EInteractionType.Interact, 1017409u, new Vector3(-254.71893f, -24.295156f, 738.5519f), 400); - obj29.Steps = list42; - reference30 = obj29; - ref QuestSequence reference31 = ref span10[3]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - Span span12 = CollectionsMarshal.AsSpan(list43); - ref QuestStep reference32 = ref span12[0]; - QuestStep obj31 = new QuestStep(EInteractionType.Interact, 2007244u, new Vector3(-658.9609f, 94.25488f, -417.07483f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - num3 = 6; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - Span span13 = CollectionsMarshal.AsSpan(list44); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj31.CompletionQuestVariablesFlags = list44; - reference32 = obj31; - ref QuestStep reference33 = ref span12[1]; - QuestStep obj32 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-673.58887f, 93.64293f, -506.5746f), 400) - { - Fly = true - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - Span span14 = CollectionsMarshal.AsSpan(list45); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list45; - skipConditions.StepIf = skipStepConditions; - obj32.SkipConditions = skipConditions; - reference33 = obj32; - ref QuestStep reference34 = ref span12[2]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2007245u, new Vector3(-671.1376f, 93.91919f, -507.49982f), 400); - num3 = 6; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - Span span15 = CollectionsMarshal.AsSpan(list46); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list46; - reference34 = questStep2; - ref QuestStep reference35 = ref span12[3]; - QuestStep obj33 = new QuestStep(EInteractionType.Interact, 2007246u, new Vector3(-813.1685f, 94.865234f, -457.3282f), 400) - { - Fly = true - }; - num3 = 6; - List list47 = new List(num3); - CollectionsMarshal.SetCount(list47, num3); - Span span16 = CollectionsMarshal.AsSpan(list47); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj33.CompletionQuestVariablesFlags = list47; - reference35 = obj33; - obj30.Steps = list43; - reference31 = obj30; - ref QuestSequence reference36 = ref span10[4]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - Span span17 = CollectionsMarshal.AsSpan(list48); - span17[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-255.2606f, -24.29513f, 737.67456f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - span17[1] = new QuestStep(EInteractionType.Interact, 1017409u, new Vector3(-254.71893f, -24.295156f, 738.5519f), 400); - obj34.Steps = list48; - reference36 = obj34; - ref QuestSequence reference37 = ref span10[5]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - Span span18 = CollectionsMarshal.AsSpan(list49); - span18[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15737u, - ItemCount = 1 - }; - span18[1] = new QuestStep(EInteractionType.Interact, 1017410u, new Vector3(-246.2044f, -24.295149f, 760.7384f), 400); - obj35.Steps = list49; - reference37 = obj35; - ref QuestSequence reference38 = ref span10[6]; - QuestSequence obj36 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj36.Steps = list50; - reference38 = obj36; - questRoot6.QuestSequence = list39; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(2306); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - CollectionsMarshal.AsSpan(list51)[0] = "liza"; - questRoot7.Author = list51; - num = 6; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - Span span19 = CollectionsMarshal.AsSpan(list52); - ref QuestSequence reference39 = ref span19[0]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400); - obj37.Steps = list53; - reference39 = obj37; - ref QuestSequence reference40 = ref span19[1]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.Interact, 1017470u, new Vector3(-353.53632f, 60.896175f, 299.61084f), 400); - obj38.Steps = list54; - reference40 = obj38; - ref QuestSequence reference41 = ref span19[2]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.Action, 2007264u, new Vector3(508.32373f, -0.77819824f, -360.49445f), 400) - { - Fly = true, - Action = EAction.Roar - }; - obj39.Steps = list55; - reference41 = obj39; - ref QuestSequence reference42 = ref span19[3]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.Action, 2007265u, new Vector3(613.39734f, -11.917358f, -335.6222f), 400) - { - Fly = true, - Action = EAction.Roar - }; - obj40.Steps = list56; - reference42 = obj40; - ref QuestSequence reference43 = ref span19[4]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.Action, 2007266u, new Vector3(554.0398f, 50.644653f, -393.72858f), 400) - { - Fly = true, - Action = EAction.Roar - }; - obj41.Steps = list57; - reference43 = obj41; - ref QuestSequence reference44 = ref span19[5]; - QuestSequence obj42 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj42.Steps = list58; - reference44 = obj42; - questRoot7.QuestSequence = list52; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(2307); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - CollectionsMarshal.AsSpan(list59)[0] = "Censored"; - questRoot8.Author = list59; - num = 5; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - Span span20 = CollectionsMarshal.AsSpan(list60); - ref QuestSequence reference45 = ref span20[0]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj43.Steps = list61; - reference45 = obj43; - ref QuestSequence reference46 = ref span20[1]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.Interact, 1017412u, new Vector3(402.45667f, -74.34704f, 636.6826f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome - }; - obj44.Steps = list62; - reference46 = obj44; - ref QuestSequence reference47 = ref span20[2]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - Span span21 = CollectionsMarshal.AsSpan(list63); - span21[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15738u, - ItemCount = 3, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span21[1] = new QuestStep(EInteractionType.Interact, 1017413u, new Vector3(397.97046f, -72.344055f, 653.0403f), 400); - obj45.Steps = list63; - reference47 = obj45; - ref QuestSequence reference48 = ref span20[3]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.Interact, 1017321u, new Vector3(-376.4859f, 60.89619f, 319.7832f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - obj46.Steps = list64; - reference48 = obj46; - ref QuestSequence reference49 = ref span20[4]; - QuestSequence obj47 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj47.Steps = list65; - reference49 = obj47; - questRoot8.QuestSequence = list60; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(2308); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - CollectionsMarshal.AsSpan(list66)[0] = "skiaz"; - questRoot9.Author = list66; - num = 5; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - Span span22 = CollectionsMarshal.AsSpan(list67); - ref QuestSequence reference50 = ref span22[0]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400); - obj48.Steps = list68; - reference50 = obj48; - ref QuestSequence reference51 = ref span22[1]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1017414u, new Vector3(420.37073f, -10.765623f, 705.4398f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(420.37073f, -10.765623f, 705.4398f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj49.Steps = list69; - reference51 = obj49; - ref QuestSequence reference52 = ref span22[2]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.Interact, 2007249u, new Vector3(73.77734f, -32.73065f, -183.0625f), 400) - { - Fly = true - }; - obj50.Steps = list70; - reference52 = obj50; - ref QuestSequence reference53 = ref span22[3]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.Interact, 1017414u, new Vector3(420.37073f, -10.765623f, 705.4398f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(420.37073f, -10.765623f, 705.4398f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj51.Steps = list71; - reference53 = obj51; - ref QuestSequence reference54 = ref span22[4]; - QuestSequence obj52 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj52.Steps = list72; - reference54 = obj52; - questRoot9.QuestSequence = list67; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(2309); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - CollectionsMarshal.AsSpan(list73)[0] = "skiaz"; - questRoot10.Author = list73; - num = 7; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - Span span23 = CollectionsMarshal.AsSpan(list74); - ref QuestSequence reference55 = ref span23[0]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400); - obj53.Steps = list75; - reference55 = obj53; - ref QuestSequence reference56 = ref span23[1]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.Interact, 1017470u, new Vector3(-353.53632f, 60.896175f, 299.61084f), 400) - { - Fly = true - }; - obj54.Steps = list76; - reference56 = obj54; - ref QuestSequence reference57 = ref span23[2]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Action, 2007275u, new Vector3(-147.05127f, 77.653076f, -189.77649f), 400) - { - Fly = true, - Action = EAction.Roar - }; - obj55.Steps = list77; - reference57 = obj55; - ref QuestSequence reference58 = ref span23[3]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.Action, 2007276u, new Vector3(-190.2038f, 77.653076f, -304.49384f), 400) - { - Fly = true, - Action = EAction.Roar - }; - obj56.Steps = list78; - reference58 = obj56; - ref QuestSequence reference59 = ref span23[4]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.Action, 2007277u, new Vector3(-75.88312f, 77.653076f, -347.79895f), 400) - { - Fly = true, - Action = EAction.Roar - }; - obj57.Steps = list79; - reference59 = obj57; - ref QuestSequence reference60 = ref span23[5]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.Action, 2007278u, new Vector3(-32.852783f, 77.62268f, -233.87512f), 400) - { - Fly = true, - Action = EAction.Roar - }; - obj58.Steps = list80; - reference60 = obj58; - ref QuestSequence reference61 = ref span23[6]; - QuestSequence obj59 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj59.Steps = list81; - reference61 = obj59; - questRoot10.QuestSequence = list74; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(2310); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - CollectionsMarshal.AsSpan(list82)[0] = "Censored"; - questRoot11.Author = list82; - num = 5; - List list83 = new List(num); - CollectionsMarshal.SetCount(list83, num); - Span span24 = CollectionsMarshal.AsSpan(list83); - ref QuestSequence reference62 = ref span24[0]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj60.Steps = list84; - reference62 = obj60; - ref QuestSequence reference63 = ref span24[1]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.Interact, 1017416u, new Vector3(-696.9253f, 180.23418f, 709.8954f), 400) - { - Fly = true - }; - obj61.Steps = list85; - reference63 = obj61; - ref QuestSequence reference64 = ref span24[2]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.Interact, 1017421u, new Vector3(217.51733f, 6.1228147f, 721.94995f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome - }; - obj62.Steps = list86; - reference64 = obj62; - ref QuestSequence reference65 = ref span24[3]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - Span span25 = CollectionsMarshal.AsSpan(list87); - span25[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15739u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span25[1] = new QuestStep(EInteractionType.Interact, 1017416u, new Vector3(-696.9253f, 180.23418f, 709.8954f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - obj63.Steps = list87; - reference65 = obj63; - ref QuestSequence reference66 = ref span24[4]; - QuestSequence obj64 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj64.Steps = list88; - reference66 = obj64; - questRoot11.QuestSequence = list83; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(2311); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list89 = new List(num); - CollectionsMarshal.SetCount(list89, num); - CollectionsMarshal.AsSpan(list89)[0] = "liza"; - questRoot12.Author = list89; - num = 7; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - Span span26 = CollectionsMarshal.AsSpan(list90); - ref QuestSequence reference67 = ref span26[0]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400); - obj65.Steps = list91; - reference67 = obj65; - ref QuestSequence reference68 = ref span26[1]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.Interact, 1017422u, new Vector3(-8.804504f, 81.8406f, -312.00128f), 400) - { - Fly = true - }; - obj66.Steps = list92; - reference68 = obj66; - ref QuestSequence reference69 = ref span26[2]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.Interact, 1017424u, new Vector3(7.4310913f, 81.84059f, -321.1872f), 400); - obj67.Steps = list93; - reference69 = obj67; - ref QuestSequence reference70 = ref span26[3]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Interact, 1017422u, new Vector3(-8.804504f, 81.8406f, -312.00128f), 400); - obj68.Steps = list94; - reference70 = obj68; - ref QuestSequence reference71 = ref span26[4]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - Span span27 = CollectionsMarshal.AsSpan(list95); - span27[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15740u, - ItemCount = 3 - }; - span27[1] = new QuestStep(EInteractionType.Interact, 1017424u, new Vector3(7.4310913f, 81.84059f, -321.1872f), 400); - obj69.Steps = list95; - reference71 = obj69; - ref QuestSequence reference72 = ref span26[5]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.Interact, 1017422u, new Vector3(-8.804504f, 81.8406f, -312.00128f), 400); - obj70.Steps = list96; - reference72 = obj70; - ref QuestSequence reference73 = ref span26[6]; - QuestSequence obj71 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj71.Steps = list97; - reference73 = obj71; - questRoot12.QuestSequence = list90; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(2312); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - CollectionsMarshal.AsSpan(list98)[0] = "liza"; - questRoot13.Author = list98; - num = 6; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - Span span28 = CollectionsMarshal.AsSpan(list99); - ref QuestSequence reference74 = ref span28[0]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400); - obj72.Steps = list100; - reference74 = obj72; - ref QuestSequence reference75 = ref span28[1]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.Interact, 1017322u, new Vector3(-331.5633f, 58.823204f, 323.17078f), 400); - obj73.Steps = list101; - reference75 = obj73; - ref QuestSequence reference76 = ref span28[2]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.Action, 2007279u, new Vector3(-491.63043f, 37.369263f, 158.95312f), 400) - { - Fly = true, - Action = EAction.Seed - }; - obj74.Steps = list102; - reference76 = obj74; - ref QuestSequence reference77 = ref span28[3]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.Action, 2007280u, new Vector3(-380.2091f, 39.871826f, -23.819397f), 400) - { - Fly = true, - Action = EAction.Seed - }; - obj75.Steps = list103; - reference77 = obj75; - ref QuestSequence reference78 = ref span28[4]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.Action, 2007281u, new Vector3(-52.323242f, 81.80359f, -116.258545f), 400) - { - Fly = true, - Action = EAction.Seed - }; - obj76.Steps = list104; - reference78 = obj76; - ref QuestSequence reference79 = ref span28[5]; - QuestSequence obj77 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - obj77.Steps = list105; - reference79 = obj77; - questRoot13.QuestSequence = list99; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(2313); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list106 = new List(num); - CollectionsMarshal.SetCount(list106, num); - CollectionsMarshal.AsSpan(list106)[0] = "liza"; - questRoot14.Author = list106; - num = 6; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - Span span29 = CollectionsMarshal.AsSpan(list107); - ref QuestSequence reference80 = ref span29[0]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400); - obj78.Steps = list108; - reference80 = obj78; - ref QuestSequence reference81 = ref span29[1]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - Span span30 = CollectionsMarshal.AsSpan(list109); - span30[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-841.98883f, 32.499996f, 479.86572f), 400) - { - Fly = true - }; - span30[1] = new QuestStep(EInteractionType.Interact, 1017453u, new Vector3(-840.8484f, 32.5f, 481.43726f), 400); - obj79.Steps = list109; - reference81 = obj79; - ref QuestSequence reference82 = ref span29[2]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.Interact, 2007256u, new Vector3(-846.79944f, 34.01233f, 476.92053f), 400); - obj80.Steps = list110; - reference82 = obj80; - ref QuestSequence reference83 = ref span29[3]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.Interact, 1017453u, new Vector3(-840.8484f, 32.5f, 481.43726f), 400); - obj81.Steps = list111; - reference83 = obj81; - ref QuestSequence reference84 = ref span29[4]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span31 = CollectionsMarshal.AsSpan(list112); - span31[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15741u, - ItemCount = 3 - }; - span31[1] = new QuestStep(EInteractionType.Interact, 1017549u, new Vector3(-836.9116f, 35.219498f, 457.6637f), 400); - obj82.Steps = list112; - reference84 = obj82; - ref QuestSequence reference85 = ref span29[5]; - QuestSequence obj83 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj83.Steps = list113; - reference85 = obj83; - questRoot14.QuestSequence = list107; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(2314); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list114 = new List(num); - CollectionsMarshal.SetCount(list114, num); - CollectionsMarshal.AsSpan(list114)[0] = "liza"; - questRoot15.Author = list114; - num = 7; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - Span span32 = CollectionsMarshal.AsSpan(list115); - ref QuestSequence reference86 = ref span32[0]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400); - obj84.Steps = list116; - reference86 = obj84; - ref QuestSequence reference87 = ref span32[1]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - Span span33 = CollectionsMarshal.AsSpan(list117); - span33[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-0.5671045f, -23.618042f, 144.09882f), 400) - { - Fly = true - }; - span33[1] = new QuestStep(EInteractionType.Interact, 1017455u, new Vector3(-1.7548828f, -23.618038f, 144.64026f), 400); - obj85.Steps = list117; - reference87 = obj85; - ref QuestSequence reference88 = ref span32[2]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.Interact, 1017351u, new Vector3(-74.87604f, -8.172172f, 158.70898f), 400) - { - Fly = true - }; - obj86.Steps = list118; - reference88 = obj86; - ref QuestSequence reference89 = ref span32[3]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - Span span34 = CollectionsMarshal.AsSpan(list119); - span34[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15742u, - ItemCount = 1 - }; - span34[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-0.5671045f, -23.618042f, 144.09882f), 400) - { - Fly = true - }; - span34[2] = new QuestStep(EInteractionType.Interact, 1017455u, new Vector3(-1.7548828f, -23.618038f, 144.64026f), 400); - obj87.Steps = list119; - reference89 = obj87; - ref QuestSequence reference90 = ref span32[4]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.Interact, 1017456u, new Vector3(-152.02563f, 160.94061f, -770.50433f), 400) - { - Fly = true - }; - obj88.Steps = list120; - reference90 = obj88; - ref QuestSequence reference91 = ref span32[5]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.Interact, 1017470u, new Vector3(-353.53632f, 60.896175f, 299.61084f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - obj89.Steps = list121; - reference91 = obj89; - ref QuestSequence reference92 = ref span32[6]; - QuestSequence obj90 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400); - obj90.Steps = list122; - reference92 = obj90; - questRoot15.QuestSequence = list115; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(2315); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - CollectionsMarshal.AsSpan(list123)[0] = "Censored"; - questRoot16.Author = list123; - num = 6; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - Span span35 = CollectionsMarshal.AsSpan(list124); - ref QuestSequence reference93 = ref span35[0]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj91.Steps = list125; - reference93 = obj91; - ref QuestSequence reference94 = ref span35[1]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - Span span36 = CollectionsMarshal.AsSpan(list126); - ref QuestStep reference95 = ref span36[0]; - QuestStep obj93 = new QuestStep(EInteractionType.Interact, 1017459u, new Vector3(-611.41376f, 70f, 209.30798f), 400) - { - Fly = true - }; - num3 = 6; - List list127 = new List(num3); - CollectionsMarshal.SetCount(list127, num3); - Span span37 = CollectionsMarshal.AsSpan(list127); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj93.CompletionQuestVariablesFlags = list127; - reference95 = obj93; - ref QuestStep reference96 = ref span36[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1017458u, new Vector3(-618.7381f, 70f, 207.9347f), 400); - num3 = 6; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - Span span38 = CollectionsMarshal.AsSpan(list128); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list128; - reference96 = questStep3; - span36[2] = new QuestStep(EInteractionType.Interact, 1017457u, new Vector3(-619.74524f, 70f, 214.52649f), 400); - obj92.Steps = list126; - reference94 = obj92; - ref QuestSequence reference97 = ref span35[2]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.Interact, 1017352u, new Vector3(-56.809387f, -8.866012f, 161.8219f), 400) - { - Fly = true, - Land = true - }; - obj94.Steps = list129; - reference97 = obj94; - ref QuestSequence reference98 = ref span35[3]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - Span span39 = CollectionsMarshal.AsSpan(list130); - ref QuestStep reference99 = ref span39[0]; - QuestStep obj96 = new QuestStep(EInteractionType.Interact, 1017461u, new Vector3(79.9115f, -22.838034f, -123.67438f), 400) - { - Fly = true - }; - num3 = 6; - List list131 = new List(num3); - CollectionsMarshal.SetCount(list131, num3); - Span span40 = CollectionsMarshal.AsSpan(list131); - span40[0] = null; - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj96.CompletionQuestVariablesFlags = list131; - reference99 = obj96; - ref QuestStep reference100 = ref span39[1]; - QuestStep obj97 = new QuestStep(EInteractionType.Interact, 1017462u, new Vector3(-479.08752f, 106.92683f, -112.077515f), 400) - { - Fly = true - }; - num3 = 6; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - Span span41 = CollectionsMarshal.AsSpan(list132); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj97.CompletionQuestVariablesFlags = list132; - reference100 = obj97; - span39[2] = new QuestStep(EInteractionType.Interact, 1017460u, new Vector3(-689.05164f, 78.99983f, 266.0105f), 400) - { - Fly = true - }; - obj95.Steps = list130; - reference98 = obj95; - ref QuestSequence reference101 = ref span35[4]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.Interact, 1017352u, new Vector3(-56.809387f, -8.866012f, 161.8219f), 400) - { - Fly = true, - Land = true - }; - obj98.Steps = list133; - reference101 = obj98; - ref QuestSequence reference102 = ref span35[5]; - QuestSequence obj99 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj99.Steps = list134; - reference102 = obj99; - questRoot16.QuestSequence = list124; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(2316); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list135 = new List(num); - CollectionsMarshal.SetCount(list135, num); - CollectionsMarshal.AsSpan(list135)[0] = "Censored"; - questRoot17.Author = list135; - num = 6; - List list136 = new List(num); - CollectionsMarshal.SetCount(list136, num); - Span span42 = CollectionsMarshal.AsSpan(list136); - ref QuestSequence reference103 = ref span42[0]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj100.Steps = list137; - reference103 = obj100; - ref QuestSequence reference104 = ref span42[1]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.Interact, 1017321u, new Vector3(-376.4859f, 60.89619f, 319.7832f), 400); - obj101.Steps = list138; - reference104 = obj101; - ref QuestSequence reference105 = ref span42[2]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.Interact, 1017351u, new Vector3(-74.87604f, -8.172172f, 158.70898f), 400) - { - Fly = true - }; - obj102.Steps = list139; - reference105 = obj102; - ref QuestSequence reference106 = ref span42[3]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - Span span43 = CollectionsMarshal.AsSpan(list140); - span43[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15743u, - ItemCount = 3, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span43[1] = new QuestStep(EInteractionType.Interact, 1017321u, new Vector3(-376.4859f, 60.89619f, 319.7832f), 400) - { - Fly = true - }; - obj103.Steps = list140; - reference106 = obj103; - ref QuestSequence reference107 = ref span42[4]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - Span span44 = CollectionsMarshal.AsSpan(list141); - ref QuestStep reference108 = ref span44[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1017463u, new Vector3(-380.23956f, 59.994583f, 281.84937f), 400); - num3 = 6; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - Span span45 = CollectionsMarshal.AsSpan(list142); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list142; - reference108 = questStep4; - ref QuestStep reference109 = ref span44[1]; - QuestStep obj105 = new QuestStep(EInteractionType.Interact, 1017464u, new Vector3(-118.48633f, 36.39444f, 163.22571f), 400) - { - Fly = true - }; - num3 = 6; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - Span span46 = CollectionsMarshal.AsSpan(list143); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj105.CompletionQuestVariablesFlags = list143; - reference109 = obj105; - span44[2] = new QuestStep(EInteractionType.Interact, 1017351u, new Vector3(-74.87604f, -8.172172f, 158.70898f), 400) - { - Fly = true - }; - obj104.Steps = list141; - reference107 = obj104; - ref QuestSequence reference110 = ref span42[5]; - QuestSequence obj106 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj106.Steps = list144; - reference110 = obj106; - questRoot17.QuestSequence = list136; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(2317); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list145 = new List(num); - CollectionsMarshal.SetCount(list145, num); - CollectionsMarshal.AsSpan(list145)[0] = "liza"; - questRoot18.Author = list145; - num = 4; - List list146 = new List(num); - CollectionsMarshal.SetCount(list146, num); - Span span47 = CollectionsMarshal.AsSpan(list146); - ref QuestSequence reference111 = ref span47[0]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400); - obj107.Steps = list147; - reference111 = obj107; - ref QuestSequence reference112 = ref span47[1]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.Interact, 1017465u, new Vector3(202.28882f, 42.309406f, -577.3861f), 400) - { - Fly = true - }; - obj108.Steps = list148; - reference112 = obj108; - ref QuestSequence reference113 = ref span47[2]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - Span span48 = CollectionsMarshal.AsSpan(list149); - span48[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15744u, - ItemCount = 2 - }; - span48[1] = new QuestStep(EInteractionType.Interact, 1017466u, new Vector3(176.71472f, 42.308628f, -571.37415f), 400); - obj109.Steps = list149; - reference113 = obj109; - ref QuestSequence reference114 = ref span47[3]; - QuestSequence obj110 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj110.Steps = list150; - reference114 = obj110; - questRoot18.QuestSequence = list146; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(2318); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list151 = new List(num); - CollectionsMarshal.SetCount(list151, num); - CollectionsMarshal.AsSpan(list151)[0] = "liza"; - questRoot19.Author = list151; - num = 8; - List list152 = new List(num); - CollectionsMarshal.SetCount(list152, num); - Span span49 = CollectionsMarshal.AsSpan(list152); - ref QuestSequence reference115 = ref span49[0]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400); - obj111.Steps = list153; - reference115 = obj111; - ref QuestSequence reference116 = ref span49[1]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.Interact, 1017351u, new Vector3(-74.87604f, -8.172172f, 158.70898f), 400) - { - Fly = true - }; - obj112.Steps = list154; - reference116 = obj112; - ref QuestSequence reference117 = ref span49[2]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.Interact, 1017467u, new Vector3(-40.20758f, -8.6555605f, 202.83813f), 400) - { - StopDistance = 0.5f, - Fly = true - }; - obj113.Steps = list155; - reference117 = obj113; - ref QuestSequence reference118 = ref span49[3]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.Emote, 1017624u, new Vector3(-76.0968f, -8.655561f, 216.17456f), 400) - { - Fly = true, - Emote = EEmote.Psych - }; - obj114.Steps = list156; - reference118 = obj114; - ref QuestSequence reference119 = ref span49[4]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.Emote, 1017625u, new Vector3(-46.76892f, 10.765197f, 243.12195f), 400) - { - StopDistance = 0.5f, - Fly = true, - Emote = EEmote.Slap - }; - obj115.Steps = list157; - reference119 = obj115; - ref QuestSequence reference120 = ref span49[5]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.Interact, 1017351u, new Vector3(-74.87604f, -8.172172f, 158.70898f), 400) - { - Fly = true - }; - obj116.Steps = list158; - reference120 = obj116; - ref QuestSequence reference121 = ref span49[6]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - Span span50 = CollectionsMarshal.AsSpan(list159); - span50[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15745u, - ItemCount = 1 - }; - span50[1] = new QuestStep(EInteractionType.Interact, 1017625u, new Vector3(-46.76892f, 10.765197f, 243.12195f), 400) - { - StopDistance = 0.5f, - Fly = true - }; - obj117.Steps = list159; - reference121 = obj117; - ref QuestSequence reference122 = ref span49[7]; - QuestSequence obj118 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj118.Steps = list160; - reference122 = obj118; - questRoot19.QuestSequence = list152; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(2319); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - CollectionsMarshal.AsSpan(list161)[0] = "liza, Redacted"; - questRoot20.Author = list161; - num = 5; - List list162 = new List(num); - CollectionsMarshal.SetCount(list162, num); - Span span51 = CollectionsMarshal.AsSpan(list162); - ref QuestSequence reference123 = ref span51[0]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj119.Steps = list163; - reference123 = obj119; - ref QuestSequence reference124 = ref span51[1]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - Span span52 = CollectionsMarshal.AsSpan(list164); - span52[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-354.06366f, 61.351093f, 305.64108f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-354.06366f, 61.351093f, 305.64108f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - span52[1] = new QuestStep(EInteractionType.Interact, 1017470u, new Vector3(-353.53632f, 60.896175f, 299.61084f), 400); - obj120.Steps = list164; - reference124 = obj120; - ref QuestSequence reference125 = ref span51[2]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.Action, 2007283u, new Vector3(-177.87445f, 53.055542f, 53.665894f), 400) - { - Fly = true, - Action = EAction.Roar - }; - obj121.Steps = list165; - reference125 = obj121; - ref QuestSequence reference126 = ref span51[3]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.Action, 2007284u, new Vector3(-320.60736f, 220.38599f, -708.00336f), 400) - { - Fly = true, - Action = EAction.Roar - }; - obj122.Steps = list166; - reference126 = obj122; - ref QuestSequence reference127 = ref span51[4]; - QuestSequence obj123 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017171u, new Vector3(-335.56116f, 59.003433f, 313.98486f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj123.Steps = list167; - reference127 = obj123; - questRoot20.QuestSequence = list162; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(2320); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list168 = new List(num); - CollectionsMarshal.SetCount(list168, num); - CollectionsMarshal.AsSpan(list168)[0] = "Censored"; - questRoot21.Author = list168; - num = 9; - List list169 = new List(num); - CollectionsMarshal.SetCount(list169, num); - Span span53 = CollectionsMarshal.AsSpan(list169); - ref QuestSequence reference128 = ref span53[0]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017328u, new Vector3(234.33276f, -42.20274f, 601.00696f), 400) - { - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(234.33276f, -42.20274f, 601.00696f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj124.Steps = list170; - reference128 = obj124; - ref QuestSequence reference129 = ref span53[1]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.Interact, 1017329u, new Vector3(351.76624f, -74.80417f, 629.96875f), 400) - { - Fly = true - }; - obj125.Steps = list171; - reference129 = obj125; - ref QuestSequence reference130 = ref span53[2]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.Interact, 1012163u, new Vector3(128.25195f, 24.458832f, -0.6867676f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj126.Steps = list172; - reference130 = obj126; - ref QuestSequence reference131 = ref span53[3]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.Interact, 1017330u, new Vector3(-246.72314f, -20.034918f, -90.10455f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardJeweledCrozier - } - }; - obj127.Steps = list173; - reference131 = obj127; - ref QuestSequence reference132 = ref span53[4]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - Span span54 = CollectionsMarshal.AsSpan(list174); - span54[0] = new QuestStep(EInteractionType.Craft, null, null, 419) - { - ItemId = 15720u, - ItemCount = 1 - }; - span54[1] = new QuestStep(EInteractionType.Interact, 1017330u, new Vector3(-246.72314f, -20.034918f, -90.10455f), 419); - obj128.Steps = list174; - reference132 = obj128; - ref QuestSequence reference133 = ref span53[5]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.Interact, 1017331u, new Vector3(-366.84216f, 60.89617f, 312.6726f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - obj129.Steps = list175; - reference133 = obj129; - ref QuestSequence reference134 = ref span53[6]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - CollectionsMarshal.AsSpan(list176)[0] = new QuestStep(EInteractionType.Interact, 1017334u, new Vector3(-614.374f, 48f, 326.28357f), 400) - { - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - obj130.Steps = list176; - reference134 = obj130; - ref QuestSequence reference135 = ref span53[7]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.Interact, 1017331u, new Vector3(-366.84216f, 60.89617f, 312.6726f), 400) - { - Fly = true - }; - obj131.Steps = list177; - reference135 = obj131; - ref QuestSequence reference136 = ref span53[8]; - QuestSequence obj132 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - ref QuestStep reference137 = ref CollectionsMarshal.AsSpan(list178)[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.CompleteQuest, 1017335u, new Vector3(-370.9926f, 60.86112f, 309.8954f), 400); - num3 = 1; - List list179 = new List(num3); - CollectionsMarshal.SetCount(list179, num3); - CollectionsMarshal.AsSpan(list179)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANMOG001_02320_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANMOG001_02320_A1_000_001") - }; - questStep5.DialogueChoices = list179; - reference137 = questStep5; - obj132.Steps = list178; - reference136 = obj132; - questRoot21.QuestSequence = list169; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(2321); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list180 = new List(num); - CollectionsMarshal.SetCount(list180, num); - CollectionsMarshal.AsSpan(list180)[0] = "Censored"; - questRoot22.Author = list180; - num = 11; - List list181 = new List(num); - CollectionsMarshal.SetCount(list181, num); - Span span55 = CollectionsMarshal.AsSpan(list181); - ref QuestSequence reference138 = ref span55[0]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017169u, new Vector3(-342.15308f, 59.03801f, 315.14453f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj133.Steps = list182; - reference138 = obj133; - ref QuestSequence reference139 = ref span55[1]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - CollectionsMarshal.AsSpan(list183)[0] = new QuestStep(EInteractionType.Interact, 1017170u, new Vector3(-344.22827f, 59.038006f, 317.1587f), 400); - obj134.Steps = list183; - reference139 = obj134; - ref QuestSequence reference140 = ref span55[2]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - CollectionsMarshal.AsSpan(list184)[0] = new QuestStep(EInteractionType.Interact, 1017339u, new Vector3(-104.875305f, 36.394436f, 170.48901f), 400) - { - Fly = true - }; - obj135.Steps = list184; - reference140 = obj135; - ref QuestSequence reference141 = ref span55[3]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - ref QuestStep reference142 = ref CollectionsMarshal.AsSpan(list185)[0]; - QuestStep obj137 = new QuestStep(EInteractionType.Interact, 1017341u, new Vector3(-90.92853f, -8.655593f, 173.84595f), 400) - { - Fly = true - }; - num3 = 1; - List list186 = new List(num3); - CollectionsMarshal.SetCount(list186, num3); - CollectionsMarshal.AsSpan(list186)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANMOG002_02321_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANMOG002_02321_A1_000_001") - }; - obj137.DialogueChoices = list186; - reference142 = obj137; - obj136.Steps = list185; - reference141 = obj136; - ref QuestSequence reference143 = ref span55[4]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.Interact, 1012078u, new Vector3(375.3567f, -69.42934f, 693.5072f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome - }; - obj138.Steps = list187; - reference143 = obj138; - ref QuestSequence reference144 = ref span55[5]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - CollectionsMarshal.AsSpan(list188)[0] = new QuestStep(EInteractionType.Interact, 1017339u, new Vector3(-104.875305f, 36.394436f, 170.48901f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - obj139.Steps = list188; - reference144 = obj139; - ref QuestSequence reference145 = ref span55[6]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.Interact, 1017342u, new Vector3(230.57898f, -6.0532966f, 44.541016f), 400) - { - Fly = true - }; - obj140.Steps = list189; - reference145 = obj140; - ref QuestSequence reference146 = ref span55[7]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.Interact, 1017343u, new Vector3(-375.47876f, 60.106445f, 307.27087f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - obj141.Steps = list190; - reference146 = obj141; - ref QuestSequence reference147 = ref span55[8]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.Interact, 1017322u, new Vector3(-331.5633f, 58.823204f, 323.17078f), 400) - { - Fly = true - }; - obj142.Steps = list191; - reference147 = obj142; - ref QuestSequence reference148 = ref span55[9]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.Action, 2007197u, new Vector3(-376.8521f, 60.135742f, 302.6931f), 400) - { - Fly = true, - Action = EAction.Seed - }; - obj143.Steps = list192; - reference148 = obj143; - ref QuestSequence reference149 = ref span55[10]; - QuestSequence obj144 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017169u, new Vector3(-342.15308f, 59.03801f, 315.14453f), 400) - { - Fly = true - }; - obj144.Steps = list193; - reference149 = obj144; - questRoot22.QuestSequence = list181; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(2322); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - CollectionsMarshal.AsSpan(list194)[0] = "liza"; - questRoot23.Author = list194; - num = 9; - List list195 = new List(num); - CollectionsMarshal.SetCount(list195, num); - Span span56 = CollectionsMarshal.AsSpan(list195); - ref QuestSequence reference150 = ref span56[0]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017169u, new Vector3(-342.15308f, 59.03801f, 315.14453f), 400); - obj145.Steps = list196; - reference150 = obj145; - ref QuestSequence reference151 = ref span56[1]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.Interact, 1017170u, new Vector3(-344.22827f, 59.038006f, 317.1587f), 400) - { - StopDistance = 7f - }; - obj146.Steps = list197; - reference151 = obj146; - ref QuestSequence reference152 = ref span56[2]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - CollectionsMarshal.AsSpan(list198)[0] = new QuestStep(EInteractionType.Interact, 2007198u, new Vector3(-339.65057f, 58.976074f, 319.50854f), 400) - { - StopDistance = 4.5f - }; - obj147.Steps = list198; - reference152 = obj147; - ref QuestSequence reference153 = ref span56[3]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - CollectionsMarshal.AsSpan(list199)[0] = new QuestStep(EInteractionType.Interact, 1017432u, new Vector3(-743.6179f, 81f, 372.1521f), 400) - { - Fly = true - }; - obj148.Steps = list199; - reference153 = obj148; - ref QuestSequence reference154 = ref span56[4]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - ref QuestStep reference155 = ref CollectionsMarshal.AsSpan(list200)[0]; - QuestStep obj150 = new QuestStep(EInteractionType.Interact, 1017169u, new Vector3(-342.15308f, 59.03801f, 315.14453f), 400) - { - Fly = true - }; - num3 = 1; - List list201 = new List(num3); - CollectionsMarshal.SetCount(list201, num3); - CollectionsMarshal.AsSpan(list201)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANMOG003_02322_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANMOG003_02322_A1_000_001") - }; - obj150.DialogueChoices = list201; - reference155 = obj150; - obj149.Steps = list200; - reference154 = obj149; - ref QuestSequence reference156 = ref span56[5]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.Interact, 1017172u, new Vector3(-329.3355f, 59.056396f, 298.23755f), 400); - obj151.Steps = list202; - reference156 = obj151; - ref QuestSequence reference157 = ref span56[6]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - Span span57 = CollectionsMarshal.AsSpan(list203); - span57[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15721u, - ItemCount = 1 - }; - span57[1] = new QuestStep(EInteractionType.Interact, 1017169u, new Vector3(-342.15308f, 59.03801f, 315.14453f), 400); - obj152.Steps = list203; - reference157 = obj152; - ref QuestSequence reference158 = ref span56[7]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.Interact, 1017432u, new Vector3(-743.6179f, 81f, 372.1521f), 400) - { - Fly = true - }; - obj153.Steps = list204; - reference158 = obj153; - ref QuestSequence reference159 = ref span56[8]; - QuestSequence obj154 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017170u, new Vector3(-344.22827f, 59.038006f, 317.1587f), 400) - { - Fly = true - }; - obj154.Steps = list205; - reference159 = obj154; - questRoot23.QuestSequence = list195; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(2323); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list206 = new List(num); - CollectionsMarshal.SetCount(list206, num); - CollectionsMarshal.AsSpan(list206)[0] = "Censored"; - questRoot24.Author = list206; - num = 10; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - Span span58 = CollectionsMarshal.AsSpan(list207); - ref QuestSequence reference160 = ref span58[0]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017169u, new Vector3(-342.15308f, 59.03801f, 315.14453f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj155.Steps = list208; - reference160 = obj155; - ref QuestSequence reference161 = ref span58[1]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.Interact, 1017170u, new Vector3(-344.22827f, 59.038006f, 317.1587f), 400); - obj156.Steps = list209; - reference161 = obj156; - ref QuestSequence reference162 = ref span58[2]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - CollectionsMarshal.AsSpan(list210)[0] = new QuestStep(EInteractionType.Interact, 1017437u, new Vector3(-628.38184f, 81f, 136.12573f), 400) - { - Fly = true - }; - obj157.Steps = list210; - reference162 = obj157; - ref QuestSequence reference163 = ref span58[3]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - ref QuestStep reference164 = ref CollectionsMarshal.AsSpan(list211)[0]; - QuestStep obj159 = new QuestStep(EInteractionType.Interact, 1017170u, new Vector3(-344.22827f, 59.038006f, 317.1587f), 400) - { - Fly = true - }; - num3 = 1; - List list212 = new List(num3); - CollectionsMarshal.SetCount(list212, num3); - CollectionsMarshal.AsSpan(list212)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANMOG004_02323_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANMOG004_02323_A1_000_001") - }; - obj159.DialogueChoices = list212; - reference164 = obj159; - obj158.Steps = list211; - reference163 = obj158; - ref QuestSequence reference165 = ref span58[4]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - CollectionsMarshal.AsSpan(list213)[0] = new QuestStep(EInteractionType.Interact, 2007199u, new Vector3(-651.11774f, 249.04248f, -770.6264f), 400) - { - Fly = true - }; - obj160.Steps = list213; - reference165 = obj160; - ref QuestSequence reference166 = ref span58[5]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.Interact, 1017442u, new Vector3(-652.8268f, 248.69513f, -767.87976f), 400); - obj161.Steps = list214; - reference166 = obj161; - ref QuestSequence reference167 = ref span58[6]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.Interact, 1017432u, new Vector3(-743.6179f, 81f, 372.1521f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - obj162.Steps = list215; - reference167 = obj162; - ref QuestSequence reference168 = ref span58[7]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - CollectionsMarshal.AsSpan(list216)[0] = new QuestStep(EInteractionType.Action, 2007199u, new Vector3(-651.11774f, 249.04248f, -770.6264f), 400) - { - Fly = true, - Action = EAction.Roar - }; - obj163.Steps = list216; - reference168 = obj163; - ref QuestSequence reference169 = ref span58[8]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.Interact, 1017437u, new Vector3(-628.38184f, 81f, 136.12573f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - obj164.Steps = list217; - reference169 = obj164; - ref QuestSequence reference170 = ref span58[9]; - QuestSequence obj165 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - CollectionsMarshal.AsSpan(list218)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017169u, new Vector3(-342.15308f, 59.03801f, 315.14453f), 400) - { - Fly = true - }; - obj165.Steps = list218; - reference170 = obj165; - questRoot24.QuestSequence = list207; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(2324); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list219 = new List(num); - CollectionsMarshal.SetCount(list219, num); - CollectionsMarshal.AsSpan(list219)[0] = "Censored"; - questRoot25.Author = list219; - num = 6; - List list220 = new List(num); - CollectionsMarshal.SetCount(list220, num); - Span span59 = CollectionsMarshal.AsSpan(list220); - ref QuestSequence reference171 = ref span59[0]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017169u, new Vector3(-342.15308f, 59.03801f, 315.14453f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj166.Steps = list221; - reference171 = obj166; - ref QuestSequence reference172 = ref span59[1]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - CollectionsMarshal.AsSpan(list222)[0] = new QuestStep(EInteractionType.Interact, 1017170u, new Vector3(-344.22827f, 59.038006f, 317.1587f), 400); - obj167.Steps = list222; - reference172 = obj167; - ref QuestSequence reference173 = ref span59[2]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - CollectionsMarshal.AsSpan(list223)[0] = new QuestStep(EInteractionType.Interact, 1017446u, new Vector3(-103.92926f, -8.845976f, 216.35767f), 400) - { - Fly = true - }; - obj168.Steps = list223; - reference173 = obj168; - ref QuestSequence reference174 = ref span59[3]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.Interact, 1017170u, new Vector3(-344.22827f, 59.038006f, 317.1587f), 400) - { - Fly = true - }; - obj169.Steps = list224; - reference174 = obj169; - ref QuestSequence reference175 = ref span59[4]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.Interact, 1017172u, new Vector3(-329.3355f, 59.056396f, 298.23755f), 400); - obj170.Steps = list225; - reference175 = obj170; - ref QuestSequence reference176 = ref span59[5]; - QuestSequence obj171 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - Span span60 = CollectionsMarshal.AsSpan(list226); - span60[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15722u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span60[1] = new QuestStep(EInteractionType.CompleteQuest, 1017170u, new Vector3(-344.22827f, 59.038006f, 317.1587f), 400); - obj171.Steps = list226; - reference176 = obj171; - questRoot25.QuestSequence = list220; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(2325); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list227 = new List(num); - CollectionsMarshal.SetCount(list227, num); - CollectionsMarshal.AsSpan(list227)[0] = "Censored"; - questRoot26.Author = list227; - num = 7; - List list228 = new List(num); - CollectionsMarshal.SetCount(list228, num); - Span span61 = CollectionsMarshal.AsSpan(list228); - ref QuestSequence reference177 = ref span61[0]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017320u, new Vector3(-342.15308f, 59.03801f, 315.14453f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-342.15308f, 59.03801f, 315.14453f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj172.Steps = list229; - reference177 = obj172; - ref QuestSequence reference178 = ref span61[1]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.Interact, 1017170u, new Vector3(-344.22827f, 59.038006f, 317.1587f), 400); - obj173.Steps = list230; - reference178 = obj173; - ref QuestSequence reference179 = ref span61[2]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.Interact, 1012163u, new Vector3(128.25195f, 24.458832f, -0.6867676f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj174.Steps = list231; - reference179 = obj174; - ref QuestSequence reference180 = ref span61[3]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.Interact, 1012162u, new Vector3(135.97314f, 24.376427f, 12.619202f), 418); - obj175.Steps = list232; - reference180 = obj175; - ref QuestSequence reference181 = ref span61[4]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - CollectionsMarshal.AsSpan(list233)[0] = new QuestStep(EInteractionType.Interact, 1017170u, new Vector3(-344.22827f, 59.038006f, 317.1587f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - obj176.Steps = list233; - reference181 = obj176; - ref QuestSequence reference182 = ref span61[5]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - CollectionsMarshal.AsSpan(list234)[0] = new QuestStep(EInteractionType.Interact, 1017172u, new Vector3(-329.3355f, 59.056396f, 298.23755f), 400); - obj177.Steps = list234; - reference182 = obj177; - ref QuestSequence reference183 = ref span61[6]; - QuestSequence obj178 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - Span span62 = CollectionsMarshal.AsSpan(list235); - span62[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15723u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span62[1] = new QuestStep(EInteractionType.CompleteQuest, 1017320u, new Vector3(-342.15308f, 59.03801f, 315.14453f), 400); - obj178.Steps = list235; - reference183 = obj178; - questRoot26.QuestSequence = list228; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(2326); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list236 = new List(num); - CollectionsMarshal.SetCount(list236, num); - CollectionsMarshal.AsSpan(list236)[0] = "Censored"; - questRoot27.Author = list236; - num = 9; - List list237 = new List(num); - CollectionsMarshal.SetCount(list237, num); - Span span63 = CollectionsMarshal.AsSpan(list237); - ref QuestSequence reference184 = ref span63[0]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017320u, new Vector3(-342.15308f, 59.03801f, 315.14453f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-342.15308f, 59.03801f, 315.14453f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj179.Steps = list238; - reference184 = obj179; - ref QuestSequence reference185 = ref span63[1]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - CollectionsMarshal.AsSpan(list239)[0] = new QuestStep(EInteractionType.Interact, 1017170u, new Vector3(-344.22827f, 59.038006f, 317.1587f), 400); - obj180.Steps = list239; - reference185 = obj180; - ref QuestSequence reference186 = ref span63[2]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.Interact, 1011935u, new Vector3(-285.63367f, 39.04305f, 53.72693f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - obj181.Steps = list240; - reference186 = obj181; - ref QuestSequence reference187 = ref span63[3]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.Interact, 1017447u, new Vector3(-374.99048f, 58.99875f, 340.1693f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - obj182.Steps = list241; - reference187 = obj182; - ref QuestSequence reference188 = ref span63[4]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - Span span64 = CollectionsMarshal.AsSpan(list242); - ref QuestStep reference189 = ref span64[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2007202u, new Vector3(-372.15234f, 60.318848f, 335.89685f), 400); - num3 = 6; - List list243 = new List(num3); - CollectionsMarshal.SetCount(list243, num3); - Span span65 = CollectionsMarshal.AsSpan(list243); - span65[0] = null; - span65[1] = null; - span65[2] = null; - span65[3] = null; - span65[4] = null; - span65[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list243; - reference189 = questStep6; - ref QuestStep reference190 = ref span64[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2007201u, new Vector3(-367.63562f, 59.8916f, 333.45532f), 400); - num3 = 6; - List list244 = new List(num3); - CollectionsMarshal.SetCount(list244, num3); - Span span66 = CollectionsMarshal.AsSpan(list244); - span66[0] = null; - span66[1] = null; - span66[2] = null; - span66[3] = null; - span66[4] = null; - span66[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list244; - reference190 = questStep7; - span64[2] = new QuestStep(EInteractionType.Interact, 2007221u, new Vector3(-364.9806f, 60.471436f, 331.74634f), 400); - obj183.Steps = list242; - reference188 = obj183; - ref QuestSequence reference191 = ref span63[5]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.Interact, 1017447u, new Vector3(-374.99048f, 58.99875f, 340.1693f), 400); - obj184.Steps = list245; - reference191 = obj184; - ref QuestSequence reference192 = ref span63[6]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - CollectionsMarshal.AsSpan(list246)[0] = new QuestStep(EInteractionType.Interact, 1017448u, new Vector3(-383.35242f, 59.9946f, 297.74927f), 400); - obj185.Steps = list246; - reference192 = obj185; - ref QuestSequence reference193 = ref span63[7]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.Interact, 1017172u, new Vector3(-329.3355f, 59.056396f, 298.23755f), 400); - obj186.Steps = list247; - reference193 = obj186; - ref QuestSequence reference194 = ref span63[8]; - QuestSequence obj187 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - Span span67 = CollectionsMarshal.AsSpan(list248); - span67[0] = new QuestStep(EInteractionType.Craft, null, null, 400) - { - ItemId = 15724u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span67[1] = new QuestStep(EInteractionType.CompleteQuest, 1017170u, new Vector3(-344.22827f, 59.038006f, 317.1587f), 400); - obj187.Steps = list248; - reference194 = obj187; - questRoot27.QuestSequence = list237; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(2327); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list249 = new List(num); - CollectionsMarshal.SetCount(list249, num); - CollectionsMarshal.AsSpan(list249)[0] = "Skiaz"; - questRoot28.Author = list249; - num = 3; - List list250 = new List(num); - CollectionsMarshal.SetCount(list250, num); - Span span68 = CollectionsMarshal.AsSpan(list250); - ref QuestSequence reference195 = ref span68[0]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017320u, new Vector3(-342.15308f, 59.03801f, 315.14453f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-342.15308f, 59.03801f, 315.14453f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj188.Steps = list251; - reference195 = obj188; - ref QuestSequence reference196 = ref span68[1]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - Span span69 = CollectionsMarshal.AsSpan(list252); - span69[0] = new QuestStep(EInteractionType.Interact, 1017170u, new Vector3(-344.22827f, 59.038006f, 317.1587f), 400) - { - Fly = true - }; - span69[1] = new QuestStep(EInteractionType.Interact, 1017173u, new Vector3(-363.82086f, 60.896187f, 306.38586f), 400) - { - Fly = true - }; - obj189.Steps = list252; - reference196 = obj189; - ref QuestSequence reference197 = ref span68[2]; - QuestSequence obj190 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - CollectionsMarshal.AsSpan(list253)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017320u, new Vector3(-342.15308f, 59.03801f, 315.14453f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-335.56116f, 59.003433f, 313.98486f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj190.Steps = list253; - reference197 = obj190; - questRoot28.QuestSequence = list250; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(2332); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list254 = new List(num); - CollectionsMarshal.SetCount(list254, num); - CollectionsMarshal.AsSpan(list254)[0] = "liza"; - questRoot29.Author = list254; - num = 4; - List list255 = new List(num); - CollectionsMarshal.SetCount(list255, num); - Span span70 = CollectionsMarshal.AsSpan(list255); - ref QuestSequence reference198 = ref span70[0]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - Span span71 = CollectionsMarshal.AsSpan(list256); - ref QuestStep reference199 = ref span71[0]; - QuestStep obj192 = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list257 = new List(num3); - CollectionsMarshal.SetCount(list257, num3); - CollectionsMarshal.AsSpan(list257)[0] = 351; - skipStepConditions2.InTerritory = list257; - skipConditions2.StepIf = skipStepConditions2; - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list258 = new List(num3); - CollectionsMarshal.SetCount(list258, num3); - CollectionsMarshal.AsSpan(list258)[0] = 351; - skipAetheryteCondition.InTerritory = list258; - skipConditions2.AetheryteShortcutIf = skipAetheryteCondition; - obj192.SkipConditions = skipConditions2; - reference199 = obj192; - span71[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.RisingStonesSolar - } - } - }; - span71[2] = new QuestStep(EInteractionType.AcceptQuest, 1014565u, new Vector3(0.44250488f, -1.9957249f, -43.22882f), 351) - { - StopDistance = 7f - }; - obj191.Steps = list256; - reference198 = obj191; - ref QuestSequence reference200 = ref span70[1]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - CollectionsMarshal.AsSpan(list259)[0] = new QuestStep(EInteractionType.Interact, 1017674u, new Vector3(209.97937f, 256.37262f, 5.9052124f), 402) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzysLlaHelix - }; - obj193.Steps = list259; - reference200 = obj193; - ref QuestSequence reference201 = ref span70[2]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.Duty, null, null, 402) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 183u - } - }; - obj194.Steps = list260; - reference201 = obj194; - ref QuestSequence reference202 = ref span70[3]; - QuestSequence obj195 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - Span span72 = CollectionsMarshal.AsSpan(list261); - span72[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span72[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span72[2] = new QuestStep(EInteractionType.CompleteQuest, 1014565u, new Vector3(0.44250488f, -1.9957249f, -43.22882f), 351) - { - StopDistance = 7f, - NextQuestId = new QuestId(2394) - }; - obj195.Steps = list261; - reference202 = obj195; - questRoot29.QuestSequence = list255; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(2333); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list262 = new List(num); - CollectionsMarshal.SetCount(list262, num); - CollectionsMarshal.AsSpan(list262)[0] = "liza"; - questRoot30.Author = list262; - num = 2; - List list263 = new List(num); - CollectionsMarshal.SetCount(list263, num); - Span span73 = CollectionsMarshal.AsSpan(list263); - ref QuestSequence reference203 = ref span73[0]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - Span span74 = CollectionsMarshal.AsSpan(list264); - ref QuestStep reference204 = ref span74[0]; - QuestStep obj197 = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list265 = new List(num3); - CollectionsMarshal.SetCount(list265, num3); - CollectionsMarshal.AsSpan(list265)[0] = 351; - skipStepConditions3.InTerritory = list265; - skipConditions3.StepIf = skipStepConditions3; - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num3 = 1; - List list266 = new List(num3); - CollectionsMarshal.SetCount(list266, num3); - CollectionsMarshal.AsSpan(list266)[0] = 351; - skipAetheryteCondition2.InTerritory = list266; - skipConditions3.AetheryteShortcutIf = skipAetheryteCondition2; - obj197.SkipConditions = skipConditions3; - reference204 = obj197; - span74[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.RisingStonesSolar - } - } - }; - span74[2] = new QuestStep(EInteractionType.AcceptQuest, 1014565u, new Vector3(0.44250488f, -1.9957249f, -43.22882f), 351) - { - StopDistance = 7f - }; - obj196.Steps = list264; - reference203 = obj196; - ref QuestSequence reference205 = ref span73[1]; - QuestSequence obj198 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - Span span75 = CollectionsMarshal.AsSpan(list267); - span75[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(212.05304f, 256.37265f, 0.08028713f), 402) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzysLlaHelix, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(152.26978f, 245.1f, -6.2714844f), - MaximumDistance = 10f, - TerritoryId = 402 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span75[1] = new QuestStep(EInteractionType.CompleteQuest, 1016633u, new Vector3(152.26978f, 245.1f, -6.2714844f), 402) - { - Fly = true - }; - obj198.Steps = list267; - reference205 = obj198; - questRoot30.QuestSequence = list263; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(2335); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list268 = new List(num); - CollectionsMarshal.SetCount(list268, num); - CollectionsMarshal.AsSpan(list268)[0] = "liza"; - questRoot31.Author = list268; - num = 5; - List list269 = new List(num); - CollectionsMarshal.SetCount(list269, num); - Span span76 = CollectionsMarshal.AsSpan(list269); - ref QuestSequence reference206 = ref span76[0]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - CollectionsMarshal.AsSpan(list270)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016638u, new Vector3(-42.4964f, 100.873566f, -183.12354f), 399); - obj199.Steps = list270; - reference206 = obj199; - ref QuestSequence reference207 = ref span76[1]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - CollectionsMarshal.AsSpan(list271)[0] = new QuestStep(EInteractionType.Interact, 1017930u, new Vector3(-121.26343f, 100.66968f, -131.12079f), 399) - { - Fly = true - }; - obj200.Steps = list271; - reference207 = obj200; - ref QuestSequence reference208 = ref span76[2]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - CollectionsMarshal.AsSpan(list272)[0] = new QuestStep(EInteractionType.Interact, 1017932u, new Vector3(47.745483f, 71.508316f, 68.16199f), 399) - { - Fly = true - }; - obj201.Steps = list272; - reference208 = obj201; - ref QuestSequence reference209 = ref span76[3]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - CollectionsMarshal.AsSpan(list273)[0] = new QuestStep(EInteractionType.Duty, null, null, 399) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 186u - } - }; - obj202.Steps = list273; - reference209 = obj202; - ref QuestSequence reference210 = ref span76[4]; - QuestSequence obj203 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - CollectionsMarshal.AsSpan(list274)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017932u, new Vector3(47.745483f, 71.508316f, 68.16199f), 399) - { - StopDistance = 5f, - NextQuestId = new QuestId(2336) - }; - obj203.Steps = list274; - reference210 = obj203; - questRoot31.QuestSequence = list269; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(2336); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list275 = new List(num); - CollectionsMarshal.SetCount(list275, num); - CollectionsMarshal.AsSpan(list275)[0] = "liza"; - questRoot32.Author = list275; - num = 3; - List list276 = new List(num); - CollectionsMarshal.SetCount(list276, num); - Span span77 = CollectionsMarshal.AsSpan(list276); - ref QuestSequence reference211 = ref span77[0]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - CollectionsMarshal.AsSpan(list277)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017932u, new Vector3(47.745483f, 71.508316f, 68.16199f), 399) - { - StopDistance = 5f - }; - obj204.Steps = list277; - reference211 = obj204; - ref QuestSequence reference212 = ref span77[1]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - CollectionsMarshal.AsSpan(list278)[0] = new QuestStep(EInteractionType.Duty, null, null, 399) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 187u - } - }; - obj205.Steps = list278; - reference212 = obj205; - ref QuestSequence reference213 = ref span77[2]; - QuestSequence obj206 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - CollectionsMarshal.AsSpan(list279)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017938u, new Vector3(-16.70868f, 215.13815f, 256.27515f), 399) - { - NextQuestId = new QuestId(2337) - }; - obj206.Steps = list279; - reference213 = obj206; - questRoot32.QuestSequence = list276; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(2337); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list280 = new List(num); - CollectionsMarshal.SetCount(list280, num); - CollectionsMarshal.AsSpan(list280)[0] = "liza"; - questRoot33.Author = list280; - num = 3; - List list281 = new List(num); - CollectionsMarshal.SetCount(list281, num); - Span span78 = CollectionsMarshal.AsSpan(list281); - ref QuestSequence reference214 = ref span78[0]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - CollectionsMarshal.AsSpan(list282)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016640u, new Vector3(-48.508484f, 100.66968f, -148.33301f), 399) - { - StopDistance = 7f - }; - obj207.Steps = list282; - reference214 = obj207; - ref QuestSequence reference215 = ref span78[1]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.Duty, null, null, 399) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 188u - } - }; - obj208.Steps = list283; - reference215 = obj208; - ref QuestSequence reference216 = ref span78[2]; - QuestSequence obj209 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - CollectionsMarshal.AsSpan(list284)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017942u, new Vector3(-42.130188f, 100.88026f, -183.27612f), 399) - { - StopDistance = 5f, - NextQuestId = new QuestId(2338) - }; - obj209.Steps = list284; - reference216 = obj209; - questRoot33.QuestSequence = list281; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(2338); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list285 = new List(num); - CollectionsMarshal.SetCount(list285, num); - CollectionsMarshal.AsSpan(list285)[0] = "liza"; - questRoot34.Author = list285; - num = 6; - List list286 = new List(num); - CollectionsMarshal.SetCount(list286, num); - Span span79 = CollectionsMarshal.AsSpan(list286); - ref QuestSequence reference217 = ref span79[0]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - CollectionsMarshal.AsSpan(list287)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017942u, new Vector3(-42.130188f, 100.88026f, -183.27612f), 399) - { - StopDistance = 5f - }; - obj210.Steps = list287; - reference217 = obj210; - span79[1] = new QuestSequence - { - Sequence = 1 - }; - ref QuestSequence reference218 = ref span79[2]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - CollectionsMarshal.AsSpan(list288)[0] = new QuestStep(EInteractionType.Duty, null, null, 399) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 189u - } - }; - obj211.Steps = list288; - reference218 = obj211; - span79[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference219 = ref span79[4]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.Interact, 2007465u, new Vector3(-11.91736f, 0.4729614f, 14.20605f), 588) - { - TargetTerritoryId = (ushort)399 - }; - obj212.Steps = list289; - reference219 = obj212; - ref QuestSequence reference220 = ref span79[5]; - QuestSequence obj213 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - CollectionsMarshal.AsSpan(list290)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017944u, new Vector3(-233.90558f, 148.49608f, -7.8584595f), 399) - { - StopDistance = 7f, - NextQuestId = new QuestId(2339) - }; - obj213.Steps = list290; - reference220 = obj213; - questRoot34.QuestSequence = list286; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(2339); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list291 = new List(num); - CollectionsMarshal.SetCount(list291, num); - CollectionsMarshal.AsSpan(list291)[0] = "liza"; - questRoot35.Author = list291; - num = 3; - List list292 = new List(num); - CollectionsMarshal.SetCount(list292, num); - Span span80 = CollectionsMarshal.AsSpan(list292); - ref QuestSequence reference221 = ref span80[0]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - CollectionsMarshal.AsSpan(list293)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017944u, new Vector3(-233.90558f, 148.49608f, -7.8584595f), 399) - { - StopDistance = 7f - }; - obj214.Steps = list293; - reference221 = obj214; - ref QuestSequence reference222 = ref span80[1]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - CollectionsMarshal.AsSpan(list294)[0] = new QuestStep(EInteractionType.Interact, 1018346u, new Vector3(-237.17102f, 123.32269f, -209.82684f), 399) - { - Fly = true - }; - obj215.Steps = list294; - reference222 = obj215; - ref QuestSequence reference223 = ref span80[2]; - QuestSequence obj216 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - CollectionsMarshal.AsSpan(list295)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013714u, new Vector3(-33.76825f, 100.96971f, -182.48267f), 399) - { - Fly = true - }; - obj216.Steps = list295; - reference223 = obj216; - questRoot35.QuestSequence = list292; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(2341); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list296 = new List(num); - CollectionsMarshal.SetCount(list296, num); - CollectionsMarshal.AsSpan(list296)[0] = "JerryWester"; - questRoot36.Author = list296; - num = 4; - List list297 = new List(num); - CollectionsMarshal.SetCount(list297, num); - Span span81 = CollectionsMarshal.AsSpan(list297); - ref QuestSequence reference224 = ref span81[0]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - CollectionsMarshal.AsSpan(list298)[0] = new QuestStep(EInteractionType.AcceptQuest, 1015596u, new Vector3(15.915161f, 15.96505f, -0.22894287f), 419) - { - StopDistance = 7f - }; - obj217.Steps = list298; - reference224 = obj217; - ref QuestSequence reference225 = ref span81[1]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - CollectionsMarshal.AsSpan(list299)[0] = new QuestStep(EInteractionType.Interact, 1017719u, new Vector3(238.26953f, -13.534949f, -87.937744f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardLastVigil, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - obj218.Steps = list299; - reference225 = obj218; - ref QuestSequence reference226 = ref span81[2]; - QuestSequence obj219 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - CollectionsMarshal.AsSpan(list300)[0] = new QuestStep(EInteractionType.Interact, 1011217u, new Vector3(17.990356f, 16.009666f, -9.567444f), 419) - { - StopDistance = 7f, - TargetTerritoryId = (ushort)433 - }; - obj219.Steps = list300; - reference226 = obj219; - ref QuestSequence reference227 = ref span81[3]; - QuestSequence obj220 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - CollectionsMarshal.AsSpan(list301)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017721u, new Vector3(2.0598755f, 0.022254245f, -1.3275757f), 433) - { - StopDistance = 5f - }; - obj220.Steps = list301; - reference227 = obj220; - questRoot36.QuestSequence = list297; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(2342); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list302 = new List(num); - CollectionsMarshal.SetCount(list302, num); - CollectionsMarshal.AsSpan(list302)[0] = "JerryWester"; - questRoot37.Author = list302; - num = 5; - List list303 = new List(num); - CollectionsMarshal.SetCount(list303, num); - Span span82 = CollectionsMarshal.AsSpan(list303); - ref QuestSequence reference228 = ref span82[0]; - QuestSequence obj221 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - CollectionsMarshal.AsSpan(list304)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017721u, new Vector3(2.0598755f, 0.022254245f, -1.3275757f), 433) - { - StopDistance = 5f - }; - obj221.Steps = list304; - reference228 = obj221; - ref QuestSequence reference229 = ref span82[1]; - QuestSequence obj222 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - CollectionsMarshal.AsSpan(list305)[0] = new QuestStep(EInteractionType.Interact, 1017723u, new Vector3(248.40149f, 302f, -260.85297f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj222.Steps = list305; - reference229 = obj222; - ref QuestSequence reference230 = ref span82[2]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - CollectionsMarshal.AsSpan(list306)[0] = new QuestStep(EInteractionType.Interact, 1017725u, new Vector3(603.6315f, 331.42905f, -306.508f), 155) - { - Fly = true - }; - obj223.Steps = list306; - reference230 = obj223; - ref QuestSequence reference231 = ref span82[3]; - QuestSequence obj224 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list307 = new List(num2); - CollectionsMarshal.SetCount(list307, num2); - ref QuestStep reference232 = ref CollectionsMarshal.AsSpan(list307)[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.Duty, null, null, 155); - DutyOptions obj225 = new DutyOptions - { - ContentFinderConditionId = 182u - }; - num3 = 2; - List list308 = new List(num3); - CollectionsMarshal.SetCount(list308, num3); - Span span83 = CollectionsMarshal.AsSpan(list308); - span83[0] = "(after boss 1) the drawbridges being up will lead you to die from the spikes"; - span83[1] = "(after boss 1) the lift isn't working properly"; - obj225.Notes = list308; - questStep8.DutyOptions = obj225; - reference232 = questStep8; - obj224.Steps = list307; - reference231 = obj224; - ref QuestSequence reference233 = ref span82[4]; - QuestSequence obj226 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - CollectionsMarshal.AsSpan(list309)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017724u, new Vector3(601.9531f, 331.81714f, -308.8579f), 155) - { - StopDistance = 7f - }; - obj226.Steps = list309; - reference233 = obj226; - questRoot37.QuestSequence = list303; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(2343); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list310 = new List(num); - CollectionsMarshal.SetCount(list310, num); - CollectionsMarshal.AsSpan(list310)[0] = "JerryWester"; - questRoot38.Author = list310; - num = 5; - List list311 = new List(num); - CollectionsMarshal.SetCount(list311, num); - Span span84 = CollectionsMarshal.AsSpan(list311); - ref QuestSequence reference234 = ref span84[0]; - QuestSequence obj227 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - CollectionsMarshal.AsSpan(list312)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017724u, new Vector3(601.9531f, 331.81714f, -308.8579f), 155) - { - StopDistance = 7f - }; - obj227.Steps = list312; - reference234 = obj227; - ref QuestSequence reference235 = ref span84[1]; - QuestSequence obj228 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list313 = new List(num2); - CollectionsMarshal.SetCount(list313, num2); - CollectionsMarshal.AsSpan(list313)[0] = new QuestStep(EInteractionType.Interact, 1012380u, new Vector3(124.46777f, 24.458836f, 0.47296143f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj228.Steps = list313; - reference235 = obj228; - ref QuestSequence reference236 = ref span84[2]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - CollectionsMarshal.AsSpan(list314)[0] = new QuestStep(EInteractionType.Interact, 1016818u, new Vector3(109.72754f, 24.384384f, -4.715088f), 418) - { - StopDistance = 7f - }; - obj229.Steps = list314; - reference236 = obj229; - ref QuestSequence reference237 = ref span84[3]; - QuestSequence obj230 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - Span span85 = CollectionsMarshal.AsSpan(list315); - span85[0] = new QuestStep(EInteractionType.UseItem, null, null, 418) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span85[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span85[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - obj230.Steps = list315; - reference237 = obj230; - ref QuestSequence reference238 = ref span84[4]; - QuestSequence obj231 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - CollectionsMarshal.AsSpan(list316)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006325u, new Vector3(-141.55798f, 64.59769f, -212.26831f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - obj231.Steps = list316; - reference238 = obj231; - questRoot38.QuestSequence = list311; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(2344); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list317 = new List(num); - CollectionsMarshal.SetCount(list317, num); - CollectionsMarshal.AsSpan(list317)[0] = "JerryWester"; - questRoot39.Author = list317; - num = 7; - List list318 = new List(num); - CollectionsMarshal.SetCount(list318, num); - Span span86 = CollectionsMarshal.AsSpan(list318); - ref QuestSequence reference239 = ref span86[0]; - QuestSequence obj232 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list319 = new List(num2); - CollectionsMarshal.SetCount(list319, num2); - CollectionsMarshal.AsSpan(list319)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006325u, new Vector3(-141.55798f, 64.59769f, -212.26831f), 180) - { - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj232.Steps = list319; - reference239 = obj232; - ref QuestSequence reference240 = ref span86[1]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list320 = new List(num2); - CollectionsMarshal.SetCount(list320, num2); - CollectionsMarshal.AsSpan(list320)[0] = new QuestStep(EInteractionType.Interact, 1017728u, new Vector3(-126.78729f, 64.801445f, -211.0476f), 180); - obj233.Steps = list320; - reference240 = obj233; - ref QuestSequence reference241 = ref span86[2]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list321 = new List(num2); - CollectionsMarshal.SetCount(list321, num2); - CollectionsMarshal.AsSpan(list321)[0] = new QuestStep(EInteractionType.Interact, 1017732u, new Vector3(-74.99817f, 64.60398f, -289.53992f), 180) - { - Fly = true - }; - obj234.Steps = list321; - reference241 = obj234; - ref QuestSequence reference242 = ref span86[3]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list322 = new List(num2); - CollectionsMarshal.SetCount(list322, num2); - CollectionsMarshal.AsSpan(list322)[0] = new QuestStep(EInteractionType.Interact, 1017733u, new Vector3(-29.221008f, 57.161472f, -235.4925f), 180) - { - StopDistance = 1f, - Fly = true - }; - obj235.Steps = list322; - reference242 = obj235; - ref QuestSequence reference243 = ref span86[4]; - QuestSequence obj236 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list323 = new List(num2); - CollectionsMarshal.SetCount(list323, num2); - Span span87 = CollectionsMarshal.AsSpan(list323); - span87[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-112.94925f, 74.435455f, -281.74304f), 180) - { - Fly = true - }; - span87[1] = new QuestStep(EInteractionType.Interact, 1017734u, new Vector3(-105.4552f, 67.90736f, -277.7295f), 180) - { - DelaySecondsAtStart = 1f, - DisableNavmesh = true, - Mount = false - }; - obj236.Steps = list323; - reference243 = obj236; - ref QuestSequence reference244 = ref span86[5]; - QuestSequence obj237 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list324 = new List(num2); - CollectionsMarshal.SetCount(list324, num2); - CollectionsMarshal.AsSpan(list324)[0] = new QuestStep(EInteractionType.Interact, 1017735u, new Vector3(-39.230957f, 64.43301f, -226.94745f), 180) - { - Fly = true - }; - obj237.Steps = list324; - reference244 = obj237; - ref QuestSequence reference245 = ref span86[6]; - QuestSequence obj238 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list325 = new List(num2); - CollectionsMarshal.SetCount(list325, num2); - CollectionsMarshal.AsSpan(list325)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017736u, new Vector3(-42.008118f, 64.500336f, -228.47339f), 180); - obj238.Steps = list325; - reference245 = obj238; - questRoot39.QuestSequence = list318; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(2345); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list326 = new List(num); - CollectionsMarshal.SetCount(list326, num); - CollectionsMarshal.AsSpan(list326)[0] = "JerryWester"; - questRoot40.Author = list326; - num = 10; - List list327 = new List(num); - CollectionsMarshal.SetCount(list327, num); - Span span88 = CollectionsMarshal.AsSpan(list327); - ref QuestSequence reference246 = ref span88[0]; - QuestSequence obj239 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - CollectionsMarshal.AsSpan(list328)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016815u, new Vector3(-39.108948f, 64.40771f, -226.88641f), 180) - { - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj239.Steps = list328; - reference246 = obj239; - ref QuestSequence reference247 = ref span88[1]; - QuestSequence obj240 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list329 = new List(num2); - CollectionsMarshal.SetCount(list329, num2); - CollectionsMarshal.AsSpan(list329)[0] = new QuestStep(EInteractionType.Interact, 1017865u, new Vector3(74.906494f, 66.5736f, -242.35907f), 180) - { - Fly = true - }; - obj240.Steps = list329; - reference247 = obj240; - ref QuestSequence reference248 = ref span88[2]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list330 = new List(num2); - CollectionsMarshal.SetCount(list330, num2); - CollectionsMarshal.AsSpan(list330)[0] = new QuestStep(EInteractionType.Interact, 2007415u, new Vector3(76.76807f, 66.48352f, -243.54932f), 180); - obj241.Steps = list330; - reference248 = obj241; - ref QuestSequence reference249 = ref span88[3]; - QuestSequence obj242 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list331 = new List(num2); - CollectionsMarshal.SetCount(list331, num2); - CollectionsMarshal.AsSpan(list331)[0] = new QuestStep(EInteractionType.Interact, 2007416u, new Vector3(88.76172f, 48.599854f, -399.5575f), 180) - { - Fly = true - }; - obj242.Steps = list331; - reference249 = obj242; - ref QuestSequence reference250 = ref span88[4]; - QuestSequence obj243 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list332 = new List(num2); - CollectionsMarshal.SetCount(list332, num2); - CollectionsMarshal.AsSpan(list332)[0] = new QuestStep(EInteractionType.Interact, 2007459u, new Vector3(88.60913f, 55.436035f, -456.80933f), 180) - { - Fly = true - }; - obj243.Steps = list332; - reference250 = obj243; - ref QuestSequence reference251 = ref span88[5]; - QuestSequence obj244 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list333 = new List(num2); - CollectionsMarshal.SetCount(list333, num2); - CollectionsMarshal.AsSpan(list333)[0] = new QuestStep(EInteractionType.Interact, 1018112u, new Vector3(87.96814f, 55.499306f, -454.5205f), 180); - obj244.Steps = list333; - reference251 = obj244; - ref QuestSequence reference252 = ref span88[6]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 6 - }; - num2 = 7; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - Span span89 = CollectionsMarshal.AsSpan(list334); - span89[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(71.55255f, 59.83099f, -516.4647f), 180) - { - Fly = true - }; - span89[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(110.36899f, 23.559273f, -618.5543f), 180); - span89[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(84.102905f, 28.170393f, -716.35504f), 180) - { - Fly = true - }; - span89[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(161.06644f, 26.61216f, -712.6371f), 180) - { - Fly = true - }; - span89[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(176.3917f, 29.076319f, -652.8805f), 180) - { - Fly = true - }; - span89[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(143.06934f, 23.642702f, -656.43506f), 180) - { - Fly = true - }; - span89[6] = new QuestStep(EInteractionType.Interact, 1017739u, new Vector3(146.34924f, 24.163107f, -635.40094f), 180); - obj245.Steps = list334; - reference252 = obj245; - ref QuestSequence reference253 = ref span88[7]; - QuestSequence obj246 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list335 = new List(num2); - CollectionsMarshal.SetCount(list335, num2); - CollectionsMarshal.AsSpan(list335)[0] = new QuestStep(EInteractionType.Interact, 1017741u, new Vector3(146.68494f, 24.240011f, -632.4712f), 180) - { - StopDistance = 7f - }; - obj246.Steps = list335; - reference253 = obj246; - ref QuestSequence reference254 = ref span88[8]; - QuestSequence obj247 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list336 = new List(num2); - CollectionsMarshal.SetCount(list336, num2); - CollectionsMarshal.AsSpan(list336)[0] = new QuestStep(EInteractionType.Duty, null, null, 180) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 60u - } - }; - obj247.Steps = list336; - reference254 = obj247; - ref QuestSequence reference255 = ref span88[9]; - QuestSequence obj248 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list337 = new List(num2); - CollectionsMarshal.SetCount(list337, num2); - CollectionsMarshal.AsSpan(list337)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017744u, new Vector3(-48.29486f, 64.43991f, -235.5841f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - obj248.Steps = list337; - reference255 = obj248; - questRoot40.QuestSequence = list327; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(2346); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list338 = new List(num); - CollectionsMarshal.SetCount(list338, num); - CollectionsMarshal.AsSpan(list338)[0] = "JerryWester"; - questRoot41.Author = list338; - num = 7; - List list339 = new List(num); - CollectionsMarshal.SetCount(list339, num); - Span span90 = CollectionsMarshal.AsSpan(list339); - ref QuestSequence reference256 = ref span90[0]; - QuestSequence obj249 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list340 = new List(num2); - CollectionsMarshal.SetCount(list340, num2); - CollectionsMarshal.AsSpan(list340)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017744u, new Vector3(-48.29486f, 64.43991f, -235.5841f), 180) - { - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj249.Steps = list340; - reference256 = obj249; - ref QuestSequence reference257 = ref span90[1]; - QuestSequence obj250 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - CollectionsMarshal.AsSpan(list341)[0] = new QuestStep(EInteractionType.Interact, 1006325u, new Vector3(-141.55798f, 64.59769f, -212.26831f), 180) - { - Fly = true - }; - obj250.Steps = list341; - reference257 = obj250; - ref QuestSequence reference258 = ref span90[2]; - QuestSequence obj251 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - CollectionsMarshal.AsSpan(list342)[0] = new QuestStep(EInteractionType.Interact, 1017728u, new Vector3(-126.78729f, 64.801445f, -211.0476f), 180); - obj251.Steps = list342; - reference258 = obj251; - ref QuestSequence reference259 = ref span90[3]; - QuestSequence obj252 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list343 = new List(num2); - CollectionsMarshal.SetCount(list343, num2); - CollectionsMarshal.AsSpan(list343)[0] = new QuestStep(EInteractionType.Interact, 1017747u, new Vector3(-96.910095f, 62.55459f, -160.05188f), 180) - { - Fly = true - }; - obj252.Steps = list343; - reference259 = obj252; - ref QuestSequence reference260 = ref span90[4]; - QuestSequence obj253 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list344 = new List(num2); - CollectionsMarshal.SetCount(list344, num2); - Span span91 = CollectionsMarshal.AsSpan(list344); - span91[0] = new QuestStep(EInteractionType.UseItem, null, null, 180) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span91[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span91[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - obj253.Steps = list344; - reference260 = obj253; - ref QuestSequence reference261 = ref span90[5]; - QuestSequence obj254 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list345 = new List(num2); - CollectionsMarshal.SetCount(list345, num2); - CollectionsMarshal.AsSpan(list345)[0] = new QuestStep(EInteractionType.Interact, 1018368u, new Vector3(-8.46875f, 0f, -3.2502441f), 212) - { - StopDistance = 5f - }; - obj254.Steps = list345; - reference261 = obj254; - ref QuestSequence reference262 = ref span90[6]; - QuestSequence obj255 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list346 = new List(num2); - CollectionsMarshal.SetCount(list346, num2); - CollectionsMarshal.AsSpan(list346)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017751u, new Vector3(-169.35992f, 27.48653f, -397.1161f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - obj255.Steps = list346; - reference262 = obj255; - questRoot41.QuestSequence = list339; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(2347); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list347 = new List(num); - CollectionsMarshal.SetCount(list347, num); - CollectionsMarshal.AsSpan(list347)[0] = "JerryWester"; - questRoot42.Author = list347; - num = 6; - List list348 = new List(num); - CollectionsMarshal.SetCount(list348, num); - Span span92 = CollectionsMarshal.AsSpan(list348); - ref QuestSequence reference263 = ref span92[0]; - QuestSequence obj256 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list349 = new List(num2); - CollectionsMarshal.SetCount(list349, num2); - CollectionsMarshal.AsSpan(list349)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017750u, new Vector3(-170.58063f, 27.660244f, -397.72644f), 146) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj256.Steps = list349; - reference263 = obj256; - ref QuestSequence reference264 = ref span92[1]; - QuestSequence obj257 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - Span span93 = CollectionsMarshal.AsSpan(list350); - ref QuestStep reference265 = ref span93[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1006223u, new Vector3(-85.06909f, 26.222988f, -348.50085f), 146); - num3 = 6; - List list351 = new List(num3); - CollectionsMarshal.SetCount(list351, num3); - Span span94 = CollectionsMarshal.AsSpan(list351); - span94[0] = null; - span94[1] = null; - span94[2] = null; - span94[3] = null; - span94[4] = null; - span94[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list351; - reference265 = questStep9; - ref QuestStep reference266 = ref span93[1]; - QuestStep obj258 = new QuestStep(EInteractionType.Interact, 1006224u, new Vector3(-77.74481f, 27.626602f, -325.42914f), 146) - { - Mount = true - }; - num3 = 6; - List list352 = new List(num3); - CollectionsMarshal.SetCount(list352, num3); - Span span95 = CollectionsMarshal.AsSpan(list352); - span95[0] = null; - span95[1] = null; - span95[2] = null; - span95[3] = null; - span95[4] = null; - span95[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj258.CompletionQuestVariablesFlags = list352; - reference266 = obj258; - ref QuestStep reference267 = ref span93[2]; - QuestStep obj259 = new QuestStep(EInteractionType.Interact, 1006213u, new Vector3(-102.49487f, 37.8654f, -355.97772f), 146) - { - Fly = true - }; - num3 = 6; - List list353 = new List(num3); - CollectionsMarshal.SetCount(list353, num3); - Span span96 = CollectionsMarshal.AsSpan(list353); - span96[0] = null; - span96[1] = null; - span96[2] = null; - span96[3] = null; - span96[4] = null; - span96[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj259.CompletionQuestVariablesFlags = list353; - reference267 = obj259; - obj257.Steps = list350; - reference264 = obj257; - ref QuestSequence reference268 = ref span92[2]; - QuestSequence obj260 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list354 = new List(num2); - CollectionsMarshal.SetCount(list354, num2); - CollectionsMarshal.AsSpan(list354)[0] = new QuestStep(EInteractionType.Interact, 1017750u, new Vector3(-170.58063f, 27.660244f, -397.72644f), 146); - obj260.Steps = list354; - reference268 = obj260; - ref QuestSequence reference269 = ref span92[3]; - QuestSequence obj261 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list355 = new List(num2); - CollectionsMarshal.SetCount(list355, num2); - CollectionsMarshal.AsSpan(list355)[0] = new QuestStep(EInteractionType.Interact, 1006215u, new Vector3(-227.34424f, 26.16842f, -352.98694f), 146); - obj261.Steps = list355; - reference269 = obj261; - ref QuestSequence reference270 = ref span92[4]; - QuestSequence obj262 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list356 = new List(num2); - CollectionsMarshal.SetCount(list356, num2); - Span span97 = CollectionsMarshal.AsSpan(list356); - span97[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-58.848705f, 26.173487f, -385.86462f), 146); - span97[1] = new QuestStep(EInteractionType.Interact, 1017756u, new Vector3(181.96375f, 13.495921f, -446.82996f), 146) - { - Fly = true - }; - obj262.Steps = list356; - reference270 = obj262; - ref QuestSequence reference271 = ref span92[5]; - QuestSequence obj263 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list357 = new List(num2); - CollectionsMarshal.SetCount(list357, num2); - CollectionsMarshal.AsSpan(list357)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017757u, new Vector3(179.797f, 13.124423f, -443.1678f), 146); - obj263.Steps = list357; - reference271 = obj263; - questRoot42.QuestSequence = list348; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(2348); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list358 = new List(num); - CollectionsMarshal.SetCount(list358, num); - CollectionsMarshal.AsSpan(list358)[0] = "JerryWester"; - questRoot43.Author = list358; - num = 5; - List list359 = new List(num); - CollectionsMarshal.SetCount(list359, num); - Span span98 = CollectionsMarshal.AsSpan(list359); - ref QuestSequence reference272 = ref span98[0]; - QuestSequence obj264 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list360 = new List(num2); - CollectionsMarshal.SetCount(list360, num2); - CollectionsMarshal.AsSpan(list360)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017759u, new Vector3(179.61389f, 13.09844f, -441.48932f), 146) - { - StopDistance = 5f - }; - obj264.Steps = list360; - reference272 = obj264; - ref QuestSequence reference273 = ref span98[1]; - QuestSequence obj265 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list361 = new List(num2); - CollectionsMarshal.SetCount(list361, num2); - CollectionsMarshal.AsSpan(list361)[0] = new QuestStep(EInteractionType.Interact, 1006224u, new Vector3(-77.74481f, 27.626602f, -325.42914f), 146); - obj265.Steps = list361; - reference273 = obj265; - ref QuestSequence reference274 = ref span98[2]; - QuestSequence obj266 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list362 = new List(num2); - CollectionsMarshal.SetCount(list362, num2); - CollectionsMarshal.AsSpan(list362)[0] = new QuestStep(EInteractionType.Interact, 1017760u, new Vector3(-79.57587f, 27.602297f, -326.19214f), 146); - obj266.Steps = list362; - reference274 = obj266; - ref QuestSequence reference275 = ref span98[3]; - QuestSequence obj267 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list363 = new List(num2); - CollectionsMarshal.SetCount(list363, num2); - Span span99 = CollectionsMarshal.AsSpan(list363); - span99[0] = new QuestStep(EInteractionType.EquipItem, null, null, 146) - { - ItemId = 2995u - }; - span99[1] = new QuestStep(EInteractionType.EquipItem, null, null, 146) - { - ItemId = 3306u - }; - span99[2] = new QuestStep(EInteractionType.Interact, 1017761u, new Vector3(-106.9505f, 21.884232f, -478.90442f), 146) - { - Fly = true - }; - obj267.Steps = list363; - reference275 = obj267; - ref QuestSequence reference276 = ref span98[4]; - QuestSequence obj268 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list364 = new List(num2); - CollectionsMarshal.SetCount(list364, num2); - Span span100 = CollectionsMarshal.AsSpan(list364); - span100[0] = new QuestStep(EInteractionType.EquipRecommended, null, null, 146); - span100[1] = new QuestStep(EInteractionType.CompleteQuest, 1017762u, new Vector3(-106.9505f, 21.88654f, -478.8739f), 146); - obj268.Steps = list364; - reference276 = obj268; - questRoot43.QuestSequence = list359; - AddQuest(questId43, questRoot43); - QuestId questId44 = new QuestId(2349); - QuestRoot questRoot44 = new QuestRoot(); - num = 1; - List list365 = new List(num); - CollectionsMarshal.SetCount(list365, num); - CollectionsMarshal.AsSpan(list365)[0] = "JerryWester"; - questRoot44.Author = list365; - num = 4; - List list366 = new List(num); - CollectionsMarshal.SetCount(list366, num); - Span span101 = CollectionsMarshal.AsSpan(list366); - ref QuestSequence reference277 = ref span101[0]; - QuestSequence obj269 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list367 = new List(num2); - CollectionsMarshal.SetCount(list367, num2); - CollectionsMarshal.AsSpan(list367)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017762u, new Vector3(-106.9505f, 21.88654f, -478.8739f), 146); - obj269.Steps = list367; - reference277 = obj269; - ref QuestSequence reference278 = ref span101[1]; - QuestSequence obj270 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list368 = new List(num2); - CollectionsMarshal.SetCount(list368, num2); - CollectionsMarshal.AsSpan(list368)[0] = new QuestStep(EInteractionType.Interact, 1017751u, new Vector3(-169.35992f, 27.48653f, -397.1161f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - obj270.Steps = list368; - reference278 = obj270; - ref QuestSequence reference279 = ref span101[2]; - QuestSequence obj271 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list369 = new List(num2); - CollectionsMarshal.SetCount(list369, num2); - CollectionsMarshal.AsSpan(list369)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1017764u, new Vector3(4.2266846f, 0.91341394f, -9.720032f), 146) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj271.Steps = list369; - reference279 = obj271; - ref QuestSequence reference280 = ref span101[3]; - QuestSequence obj272 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list370 = new List(num2); - CollectionsMarshal.SetCount(list370, num2); - CollectionsMarshal.AsSpan(list370)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017767u, new Vector3(1.3274536f, 0.90783566f, -3.4638672f), 146) - { - StopDistance = 5f - }; - obj272.Steps = list370; - reference280 = obj272; - questRoot44.QuestSequence = list366; - AddQuest(questId44, questRoot44); - } - - private static void LoadQuests47() - { - QuestId questId = new QuestId(2350); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "JerryWester"; - questRoot.Author = list; - num = 5; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017767u, new Vector3(1.3274536f, 0.90783566f, -3.4638672f), 146) - { - StopDistance = 5f - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1017768u, new Vector3(-0.80877686f, 0.72928506f, -4.867676f), 146); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1017771u, new Vector3(-68.95557f, 26.907436f, -393.66754f), 146) - { - Fly = true - }; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - Span span2 = CollectionsMarshal.AsSpan(list6); - span2[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span2[1] = new QuestStep(EInteractionType.Interact, 1017775u, new Vector3(-2.3651733f, -2.0000217f, -24.887512f), 351); - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017776u, new Vector3(-3.5858765f, 0.018040119f, -6.9123535f), 351); - obj5.Steps = list7; - reference5 = obj5; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(2351); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - CollectionsMarshal.AsSpan(list8)[0] = "JerryWester"; - questRoot2.Author = list8; - num = 3; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - Span span3 = CollectionsMarshal.AsSpan(list9); - ref QuestSequence reference6 = ref span3[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017788u, new Vector3(27.847656f, -1f, -0.5036011f), 351); - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span3[1]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - Span span4 = CollectionsMarshal.AsSpan(list11); - span4[0] = new QuestStep(EInteractionType.Interact, 2002879u, new Vector3(-0.015319824f, 2.9754639f, 27.481445f), 351) - { - TargetTerritoryId = (ushort)156 - }; - span4[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(29.352629f, 21.285944f, -652.1081f), 156) - { - Mount = true - }; - span4[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(26.110107f, 29.57478f, -770.24866f), 156) - { - Fly = true - }; - span4[3] = new QuestStep(EInteractionType.Interact, 2007563u, new Vector3(35.38562f, 28.976807f, -791.56177f), 156); - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span3[2]; - QuestSequence obj8 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013167u, new Vector3(125.68848f, 24.458836f, 2.456604f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj8.Steps = list12; - reference8 = obj8; - questRoot2.QuestSequence = list9; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(2352); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = "JerryWester"; - questRoot3.Author = list13; - num = 4; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - Span span5 = CollectionsMarshal.AsSpan(list14); - ref QuestSequence reference9 = ref span5[0]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016008u, new Vector3(125.93262f, 24.458836f, -5.5390625f), 418) - { - StopDistance = 5f - }; - obj9.Steps = list15; - reference9 = obj9; - ref QuestSequence reference10 = ref span5[1]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - Span span6 = CollectionsMarshal.AsSpan(list16); - span6[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-132.85718f, 304.1538f, -293.03745f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span6[1] = new QuestStep(EInteractionType.Interact, 2007472u, new Vector3(-140.97815f, 304.09705f, -311.14673f), 155); - obj10.Steps = list16; - reference10 = obj10; - ref QuestSequence reference11 = ref span5[2]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.Interact, 1018013u, new Vector3(233.84448f, 302f, -188.95251f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj11.Steps = list17; - reference11 = obj11; - ref QuestSequence reference12 = ref span5[3]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.CompleteQuest, 1018015u, new Vector3(8.407715f, -1.5097584f, 13.9314575f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj12.Steps = list18; - reference12 = obj12; - questRoot3.QuestSequence = list14; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(2353); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - CollectionsMarshal.AsSpan(list19)[0] = "JerryWester"; - questRoot4.Author = list19; - num = 4; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - Span span7 = CollectionsMarshal.AsSpan(list20); - ref QuestSequence reference13 = ref span7[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.AcceptQuest, 1018015u, new Vector3(8.407715f, -1.5097584f, 13.9314575f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj13.Steps = list21; - reference13 = obj13; - ref QuestSequence reference14 = ref span7[1]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.Interact, 1000460u, new Vector3(-159.41101f, 4.054107f, -4.1047363f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - obj14.Steps = list22; - reference14 = obj14; - ref QuestSequence reference15 = ref span7[2]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.Interact, 1012395u, new Vector3(-154.10089f, 4f, -15.4574585f), 133); - obj15.Steps = list23; - reference15 = obj15; - ref QuestSequence reference16 = ref span7[3]; - QuestSequence obj16 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.CompleteQuest, 1018020u, new Vector3(34.1344f, 20.495003f, -655.57336f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj16.Steps = list24; - reference16 = obj16; - questRoot4.QuestSequence = list20; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(2354); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - CollectionsMarshal.AsSpan(list25)[0] = "JerryWester"; - questRoot5.Author = list25; - num = 9; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - Span span8 = CollectionsMarshal.AsSpan(list26); - ref QuestSequence reference17 = ref span8[0]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.AcceptQuest, 1018020u, new Vector3(34.1344f, 20.495003f, -655.57336f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj17.Steps = list27; - reference17 = obj17; - ref QuestSequence reference18 = ref span8[1]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351 - }; - obj18.Steps = list28; - reference18 = obj18; - ref QuestSequence reference19 = ref span8[2]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.Interact, 1018022u, new Vector3(-1.3580933f, 0f, -4.501404f), 351) - { - StopDistance = 7f - }; - obj19.Steps = list29; - reference19 = obj19; - ref QuestSequence reference20 = ref span8[3]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.Interact, 1018023u, new Vector3(-199.35913f, 1.23591f, 283.03955f), 152) - { - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - obj20.Steps = list30; - reference20 = obj20; - ref QuestSequence reference21 = ref span8[4]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.Interact, 1018024u, new Vector3(19.08899f, 6.192316f, 397.93994f), 152) - { - Fly = true - }; - obj21.Steps = list31; - reference21 = obj21; - ref QuestSequence reference22 = ref span8[5]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 1018025u, new Vector3(44.510498f, 7.6110673f, 488.2428f), 152) - { - Fly = true - }; - obj22.Steps = list32; - reference22 = obj22; - ref QuestSequence reference23 = ref span8[6]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Duty, null, null, 152) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 219u - } - }; - obj23.Steps = list33; - reference23 = obj23; - span8[7] = new QuestSequence - { - Sequence = 7 - }; - ref QuestSequence reference24 = ref span8[8]; - QuestSequence obj24 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.CompleteQuest, 1018026u, new Vector3(39.597046f, 6.8267684f, 489.86023f), 152); - obj24.Steps = list34; - reference24 = obj24; - questRoot5.QuestSequence = list26; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(2355); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - CollectionsMarshal.AsSpan(list35)[0] = "JerryWester"; - questRoot6.Author = list35; - num = 2; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - Span span9 = CollectionsMarshal.AsSpan(list36); - ref QuestSequence reference25 = ref span9[0]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.AcceptQuest, 1018029u, new Vector3(36.057007f, 7.1708746f, 485.43518f), 152) - { - StopDistance = 5f - }; - obj25.Steps = list37; - reference25 = obj25; - ref QuestSequence reference26 = ref span9[1]; - QuestSequence obj26 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - Span span10 = CollectionsMarshal.AsSpan(list38); - span10[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span10[1] = new QuestStep(EInteractionType.CompleteQuest, 1018033u, new Vector3(-3.7080078f, 0.01804012f, -6.881897f), 351); - obj26.Steps = list38; - reference26 = obj26; - questRoot6.QuestSequence = list36; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(2356); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - CollectionsMarshal.AsSpan(list39)[0] = "JerryWester"; - questRoot7.Author = list39; - num = 3; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - Span span11 = CollectionsMarshal.AsSpan(list40); - ref QuestSequence reference27 = ref span11[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017749u, new Vector3(-3.7995605f, 0.01804012f, -7.7669067f), 351) - { - StopDistance = 5f - }; - obj27.Steps = list41; - reference27 = obj27; - ref QuestSequence reference28 = ref span11[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.Interact, 1000460u, new Vector3(-159.41101f, 4.054107f, -4.1047363f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - obj28.Steps = list42; - reference28 = obj28; - ref QuestSequence reference29 = ref span11[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012395u, new Vector3(-154.10089f, 4f, -15.4574585f), 133); - obj29.Steps = list43; - reference29 = obj29; - questRoot7.QuestSequence = list40; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(2357); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - CollectionsMarshal.AsSpan(list44)[0] = "JerryWester"; - questRoot8.Author = list44; - num = 5; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - Span span12 = CollectionsMarshal.AsSpan(list45); - ref QuestSequence reference30 = ref span12[0]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012395u, new Vector3(-154.10089f, 4f, -15.4574585f), 133); - obj30.Steps = list46; - reference30 = obj30; - ref QuestSequence reference31 = ref span12[1]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Interact, 1018046u, new Vector3(40.604248f, -19.000013f, 92.36279f), 132) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaConjurer, - To = EAetheryteLocation.GridaniaAirship - } - }; - obj31.Steps = list47; - reference31 = obj31; - ref QuestSequence reference32 = ref span12[2]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - ref QuestStep reference33 = ref CollectionsMarshal.AsSpan(list48)[0]; - QuestStep obj33 = new QuestStep(EInteractionType.Interact, 1000107u, new Vector3(27.145752f, -19.000002f, 106.67578f), 132) - { - StopDistance = 7f - }; - int num3 = 1; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - CollectionsMarshal.AsSpan(list49)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_HEAVNG102_02357_Q1_100_035") - }; - obj33.DialogueChoices = list49; - reference33 = obj33; - obj32.Steps = list48; - reference32 = obj32; - ref QuestSequence reference34 = ref span12[3]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.Interact, 1013180u, new Vector3(125.90222f, -15.185763f, -431.7846f), 156) - { - StopDistance = 7f - }; - obj34.Steps = list50; - reference34 = obj34; - ref QuestSequence reference35 = ref span12[4]; - QuestSequence obj35 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - Span span13 = CollectionsMarshal.AsSpan(list51); - span13[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(29.352629f, 21.285944f, -652.1081f), 156) - { - Fly = true - }; - span13[1] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351 - }; - span13[2] = new QuestStep(EInteractionType.CompleteQuest, 1018041u, new Vector3(13.199036f, 0f, -8.590881f), 351); - obj35.Steps = list51; - reference35 = obj35; - questRoot8.QuestSequence = list45; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(2358); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - CollectionsMarshal.AsSpan(list52)[0] = "JerryWester"; - questRoot9.Author = list52; - num = 5; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - Span span14 = CollectionsMarshal.AsSpan(list53); - ref QuestSequence reference36 = ref span14[0]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.AcceptQuest, 1018043u, new Vector3(-1.1444702f, 0f, -3.2807007f), 351) - { - StopDistance = 5f - }; - obj36.Steps = list54; - reference36 = obj36; - ref QuestSequence reference37 = ref span14[1]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - Span span15 = CollectionsMarshal.AsSpan(list55); - span15[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(29.352629f, 21.285944f, -652.1081f), 156) - { - Mount = true - }; - ref QuestStep reference38 = ref span15[1]; - QuestStep obj38 = new QuestStep(EInteractionType.SinglePlayerDuty, 1018044u, new Vector3(127.73328f, -15.353702f, -421.1338f), 156) - { - Fly = true - }; - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions(); - num3 = 1; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - CollectionsMarshal.AsSpan(list56)[0] = "(phase 2) AI doesn't use any of the Red Baron's attacks, just moves with it and eventually dies (after a few minutes)"; - singlePlayerDutyOptions.Notes = list56; - obj38.SinglePlayerDutyOptions = singlePlayerDutyOptions; - reference38 = obj38; - obj37.Steps = list55; - reference37 = obj37; - span14[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference39 = ref span14[3]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - ref QuestStep reference40 = ref CollectionsMarshal.AsSpan(list57)[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1018045u, new Vector3(2.1514893f, 0.93368113f, 12.741211f), 636); - num3 = 1; - List list58 = new List(num3); - CollectionsMarshal.SetCount(list58, num3); - CollectionsMarshal.AsSpan(list58)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_HEAVNG103_02358_Q2_000_000") - }; - questStep.DialogueChoices = list58; - reference40 = questStep; - obj39.Steps = list57; - reference39 = obj39; - ref QuestSequence reference41 = ref span14[4]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.CompleteQuest, 1018046u, new Vector3(40.604248f, -19.000013f, 92.36279f), 132); - obj40.Steps = list59; - reference41 = obj40; - questRoot9.QuestSequence = list53; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(2359); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - CollectionsMarshal.AsSpan(list60)[0] = "JerryWester"; - questRoot10.Author = list60; - num = 5; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - Span span16 = CollectionsMarshal.AsSpan(list61); - ref QuestSequence reference42 = ref span16[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.AcceptQuest, 1018048u, new Vector3(41.82495f, -19.000027f, 93.30884f), 132) - { - StopDistance = 5f - }; - obj41.Steps = list62; - reference42 = obj41; - ref QuestSequence reference43 = ref span16[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - Span span17 = CollectionsMarshal.AsSpan(list63); - span17[0] = new QuestStep(EInteractionType.Interact, 1000460u, new Vector3(-159.41101f, 4.054107f, -4.1047363f), 133) - { - TargetTerritoryId = (ushort)205, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - span17[1] = new QuestStep(EInteractionType.Interact, 1003027u, new Vector3(4.8981323f, -1.92944f, -0.19836426f), 205); - obj42.Steps = list63; - reference43 = obj42; - ref QuestSequence reference44 = ref span16[2]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.Interact, 1018430u, new Vector3(2.8533936f, -1.9294398f, 4.6845093f), 205) - { - StopDistance = 5f - }; - obj43.Steps = list64; - reference44 = obj43; - ref QuestSequence reference45 = ref span16[3]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.Interact, 1018329u, new Vector3(16.861145f, 5.895894f, 393.75903f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - obj44.Steps = list65; - reference45 = obj44; - ref QuestSequence reference46 = ref span16[4]; - QuestSequence obj45 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.CompleteQuest, 1018331u, new Vector3(-2.6398926f, 0f, -7.400635f), 351); - obj45.Steps = list66; - reference46 = obj45; - questRoot10.QuestSequence = list61; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(2361); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - CollectionsMarshal.AsSpan(list67)[0] = "pot0to"; - questRoot11.Author = list67; - num = 5; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - Span span18 = CollectionsMarshal.AsSpan(list68); - ref QuestSequence reference47 = ref span18[0]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - ref QuestStep reference48 = ref CollectionsMarshal.AsSpan(list69)[0]; - QuestStep obj47 = new QuestStep(EInteractionType.AcceptQuest, 1015976u, new Vector3(-122.51471f, 14.553129f, -166.97955f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 2; - List list70 = new List(num3); - CollectionsMarshal.SetCount(list70, num3); - Span span19 = CollectionsMarshal.AsSpan(list70); - span19[0] = 418; - span19[1] = 419; - skipAetheryteCondition.InTerritory = list70; - skipConditions.AetheryteShortcutIf = skipAetheryteCondition; - obj47.SkipConditions = skipConditions; - reference48 = obj47; - obj46.Steps = list69; - reference47 = obj46; - ref QuestSequence reference49 = ref span18[1]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.Interact, 1011215u, new Vector3(-145.37274f, 14.80313f, -129.25922f), 419) - { - TargetTerritoryId = (ushort)427 - }; - obj48.Steps = list71; - reference49 = obj48; - ref QuestSequence reference50 = ref span18[2]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.Emote, 1017902u, new Vector3(-7.461731f, 0.024999565f, -6.9733887f), 427) - { - Emote = EEmote.Soothe - }; - obj49.Steps = list72; - reference50 = obj49; - ref QuestSequence reference51 = ref span18[3]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.Emote, 1017904u, new Vector3(-6.4240723f, 0.024999565f, -5.56958f), 427) - { - Emote = EEmote.Rally - }; - obj50.Steps = list73; - reference51 = obj50; - ref QuestSequence reference52 = ref span18[4]; - QuestSequence obj51 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017897u, new Vector3(-5.0202637f, 0.07901219f, -8.6519165f), 427) - { - NextQuestId = new QuestId(2362) - }; - obj51.Steps = list74; - reference52 = obj51; - questRoot11.QuestSequence = list68; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(2362); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - CollectionsMarshal.AsSpan(list75)[0] = "pot0to"; - questRoot12.Author = list75; - num = 4; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - Span span20 = CollectionsMarshal.AsSpan(list76); - ref QuestSequence reference53 = ref span20[0]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - Span span21 = CollectionsMarshal.AsSpan(list77); - ref QuestStep reference54 = ref span21[0]; - QuestStep obj53 = new QuestStep(EInteractionType.Interact, 1011215u, new Vector3(-145.37274f, 14.80313f, -129.25922f), 419) - { - TargetTerritoryId = (ushort)427, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - CollectionsMarshal.AsSpan(list78)[0] = 427; - skipStepConditions.InTerritory = list78; - skipConditions2.StepIf = skipStepConditions; - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num3 = 2; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - Span span22 = CollectionsMarshal.AsSpan(list79); - span22[0] = 419; - span22[1] = 427; - skipAetheryteCondition2.InTerritory = list79; - skipConditions2.AetheryteShortcutIf = skipAetheryteCondition2; - obj53.SkipConditions = skipConditions2; - reference54 = obj53; - span21[1] = new QuestStep(EInteractionType.AcceptQuest, 1017897u, new Vector3(-5.0202637f, 0.07901219f, -8.6519165f), 427); - obj52.Steps = list77; - reference53 = obj52; - ref QuestSequence reference55 = ref span20[1]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - Span span23 = CollectionsMarshal.AsSpan(list80); - span23[0] = new QuestStep(EInteractionType.Interact, 2005332u, new Vector3(-5.0202637f, 1.1443481f, 11.856201f), 427) - { - TargetTerritoryId = (ushort)419 - }; - span23[1] = new QuestStep(EInteractionType.Interact, 1017909u, new Vector3(-120.22589f, 14.55313f, -162.61542f), 419); - obj54.Steps = list80; - reference55 = obj54; - ref QuestSequence reference56 = ref span20[2]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.Interact, 1017912u, new Vector3(-35.690857f, 15.965062f, -68.2536f), 419); - obj55.Steps = list81; - reference56 = obj55; - ref QuestSequence reference57 = ref span20[3]; - QuestSequence obj56 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017912u, new Vector3(-35.690857f, 15.965062f, -68.2536f), 419) - { - Emote = EEmote.Soothe, - NextQuestId = new QuestId(2363) - }; - obj56.Steps = list82; - reference57 = obj56; - questRoot12.QuestSequence = list76; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(2363); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list83 = new List(num); - CollectionsMarshal.SetCount(list83, num); - CollectionsMarshal.AsSpan(list83)[0] = "pot0to"; - questRoot13.Author = list83; - num = 4; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - Span span24 = CollectionsMarshal.AsSpan(list84); - ref QuestSequence reference58 = ref span24[0]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - ref QuestStep reference59 = ref CollectionsMarshal.AsSpan(list85)[0]; - QuestStep obj58 = new QuestStep(EInteractionType.AcceptQuest, 1017914u, new Vector3(-38.529114f, 15.965062f, -70.45099f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition3 = new SkipAetheryteCondition(); - num3 = 1; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - CollectionsMarshal.AsSpan(list86)[0] = 419; - skipAetheryteCondition3.InTerritory = list86; - skipConditions3.AetheryteShortcutIf = skipAetheryteCondition3; - obj58.SkipConditions = skipConditions3; - num3 = 1; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - CollectionsMarshal.AsSpan(list87)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CHREND303_02363_Q1_000_000"), - Answer = new ExcelRef("TEXT_CHREND303_02363_A1_000_001") - }; - obj58.DialogueChoices = list87; - reference59 = obj58; - obj57.Steps = list85; - reference58 = obj57; - ref QuestSequence reference60 = ref span24[1]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - Span span25 = CollectionsMarshal.AsSpan(list88); - span25[0] = new QuestStep(EInteractionType.Interact, 1011215u, new Vector3(-145.37274f, 14.80313f, -129.25922f), 419) - { - TargetTerritoryId = (ushort)427 - }; - span25[1] = new QuestStep(EInteractionType.Interact, 2007426u, new Vector3(11.856201f, 0.19836426f, 10.421875f), 427); - span25[2] = new QuestStep(EInteractionType.Interact, 1017919u, new Vector3(-9.323303f, 0.20000005f, -10.238831f), 427); - span25[3] = new QuestStep(EInteractionType.Interact, 1017920u, new Vector3(4.714966f, 0.22499956f, -5.9663696f), 427); - span25[4] = new QuestStep(EInteractionType.Interact, 1017918u, new Vector3(10.391357f, 0.20000005f, -0.56463623f), 427); - span25[5] = new QuestStep(EInteractionType.Interact, 2007425u, new Vector3(-8.346741f, 0.015197754f, 0.8086548f), 427); - obj59.Steps = list88; - reference60 = obj59; - ref QuestSequence reference61 = ref span24[2]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Interact, 1017916u, new Vector3(-2.609314f, 0.024999565f, 6.1798096f), 427); - obj60.Steps = list89; - reference61 = obj60; - ref QuestSequence reference62 = ref span24[3]; - QuestSequence obj61 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - Span span26 = CollectionsMarshal.AsSpan(list90); - span26[0] = new QuestStep(EInteractionType.Interact, 2005332u, new Vector3(-5.0202637f, 1.1443481f, 11.856201f), 427) - { - TargetTerritoryId = (ushort)419 - }; - span26[1] = new QuestStep(EInteractionType.CompleteQuest, 1017923u, new Vector3(-45.090515f, 15.8744135f, -91.32526f), 419) - { - NextQuestId = new QuestId(2364) - }; - obj61.Steps = list90; - reference62 = obj61; - questRoot13.QuestSequence = list84; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(2364); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - CollectionsMarshal.AsSpan(list91)[0] = "pot0to"; - questRoot14.Author = list91; - num = 4; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - Span span27 = CollectionsMarshal.AsSpan(list92); - ref QuestSequence reference63 = ref span27[0]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - ref QuestStep reference64 = ref CollectionsMarshal.AsSpan(list93)[0]; - QuestStep obj63 = new QuestStep(EInteractionType.AcceptQuest, 1017926u, new Vector3(-33.157898f, 15.965062f, -67.826416f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - } - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition4 = new SkipAetheryteCondition(); - num3 = 1; - List list94 = new List(num3); - CollectionsMarshal.SetCount(list94, num3); - CollectionsMarshal.AsSpan(list94)[0] = 419; - skipAetheryteCondition4.InTerritory = list94; - skipConditions4.AetheryteShortcutIf = skipAetheryteCondition4; - obj63.SkipConditions = skipConditions4; - num3 = 2; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - Span span28 = CollectionsMarshal.AsSpan(list95); - span28[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CHREND304_02364_Q1_100_000"), - Answer = new ExcelRef("TEXT_CHREND304_02364_A1_100_001") - }; - span28[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CHREND304_02364_Q1_000_000"), - Answer = new ExcelRef("TEXT_CHREND304_02364_A1_000_003") - }; - obj63.DialogueChoices = list95; - reference64 = obj63; - obj62.Steps = list93; - reference63 = obj62; - ref QuestSequence reference65 = ref span27[1]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.Interact, 1017927u, new Vector3(171.92334f, -1.4414048f, -92.729065f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSaintReymanaudsCathedral, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - obj64.Steps = list96; - reference65 = obj64; - ref QuestSequence reference66 = ref span27[2]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.Interact, 1015977u, new Vector3(-177.35565f, 15.06314f, -174.36487f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardAthenaeumAstrologicum, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - } - }; - obj65.Steps = list97; - reference66 = obj65; - ref QuestSequence reference67 = ref span27[3]; - QuestSequence obj66 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017929u, new Vector3(-172.22864f, 15.063141f, -170.55011f), 419); - obj66.Steps = list98; - reference67 = obj66; - questRoot14.QuestSequence = list92; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(2369); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - CollectionsMarshal.AsSpan(list99)[0] = "liza"; - questRoot15.Author = list99; - num = 7; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - Span span29 = CollectionsMarshal.AsSpan(list100); - ref QuestSequence reference68 = ref span29[0]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016619u, new Vector3(-66.84979f, 8.05915f, 9.506287f), 418); - obj67.Steps = list101; - reference68 = obj67; - ref QuestSequence reference69 = ref span29[1]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.Interact, 1017959u, new Vector3(39.505493f, 16.49931f, -29.922974f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardLastVigil - } - }; - obj68.Steps = list102; - reference69 = obj68; - ref QuestSequence reference70 = ref span29[2]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - Span span30 = CollectionsMarshal.AsSpan(list103); - ref QuestStep reference71 = ref span30[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1017962u, new Vector3(4.837097f, 11.964993f, 31.296265f), 419); - num3 = 6; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - Span span31 = CollectionsMarshal.AsSpan(list104); - span31[0] = null; - span31[1] = null; - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list104; - reference71 = questStep2; - ref QuestStep reference72 = ref span30[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1017963u, new Vector3(21.683044f, 11.965154f, 47.68445f), 419); - num3 = 6; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - Span span32 = CollectionsMarshal.AsSpan(list105); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list105; - reference72 = questStep3; - ref QuestStep reference73 = ref span30[2]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1017964u, new Vector3(-40.634766f, 11.965008f, 32.028687f), 419); - num3 = 6; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - Span span33 = CollectionsMarshal.AsSpan(list106); - span33[0] = null; - span33[1] = null; - span33[2] = null; - span33[3] = null; - span33[4] = null; - span33[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list106; - reference73 = questStep4; - obj69.Steps = list103; - reference70 = obj69; - ref QuestSequence reference74 = ref span29[3]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.Interact, 1017968u, new Vector3(-43.778137f, 11.965093f, 47.348755f), 419); - obj70.Steps = list107; - reference74 = obj70; - ref QuestSequence reference75 = ref span29[4]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.Interact, 1017970u, new Vector3(132.43298f, 205.99544f, 80.9491f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire - }; - obj71.Steps = list108; - reference75 = obj71; - ref QuestSequence reference76 = ref span29[5]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 5 - }; - num2 = 4; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - Span span34 = CollectionsMarshal.AsSpan(list109); - ref QuestStep reference77 = ref span34[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1012099u, new Vector3(50.278442f, 206.04715f, 57.75537f), 478); - num3 = 6; - List list110 = new List(num3); - CollectionsMarshal.SetCount(list110, num3); - Span span35 = CollectionsMarshal.AsSpan(list110); - span35[0] = null; - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list110; - reference77 = questStep5; - ref QuestStep reference78 = ref span34[1]; - QuestStep obj73 = new QuestStep(EInteractionType.Interact, 1012299u, new Vector3(-16.586609f, 206.49942f, 42.98462f), 478) - { - StopDistance = 5f - }; - num3 = 6; - List list111 = new List(num3); - CollectionsMarshal.SetCount(list111, num3); - Span span36 = CollectionsMarshal.AsSpan(list111); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj73.CompletionQuestVariablesFlags = list111; - reference78 = obj73; - ref QuestStep reference79 = ref span34[2]; - QuestStep questStep6 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-2.76668f, 205.81511f, 24.614613f), 478); - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list112 = new List(num3); - CollectionsMarshal.SetCount(list112, num3); - Span span37 = CollectionsMarshal.AsSpan(list112); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list112; - skipConditions5.StepIf = skipStepConditions2; - questStep6.SkipConditions = skipConditions5; - reference79 = questStep6; - ref QuestStep reference80 = ref span34[3]; - QuestStep obj74 = new QuestStep(EInteractionType.Interact, 1017977u, new Vector3(-0.7172241f, 206.49947f, 20.09607f), 478) - { - StopDistance = 7f - }; - num3 = 6; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - Span span38 = CollectionsMarshal.AsSpan(list113); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj74.CompletionQuestVariablesFlags = list113; - reference80 = obj74; - obj72.Steps = list109; - reference76 = obj72; - ref QuestSequence reference81 = ref span29[6]; - QuestSequence obj75 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017981u, new Vector3(10.208252f, 206.77286f, 62.394165f), 478) - { - NextQuestId = new QuestId(2370) - }; - obj75.Steps = list114; - reference81 = obj75; - questRoot15.QuestSequence = list100; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(2370); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - CollectionsMarshal.AsSpan(list115)[0] = "liza"; - questRoot16.Author = list115; - num = 13; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - Span span39 = CollectionsMarshal.AsSpan(list116); - ref QuestSequence reference82 = ref span39[0]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017983u, new Vector3(11.520508f, 207.49994f, 85.34363f), 478) - { - StopDistance = 7f - }; - obj76.Steps = list117; - reference82 = obj76; - ref QuestSequence reference83 = ref span39[1]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.Interact, 1017988u, new Vector3(-544.1825f, 144.84157f, -346.7918f), 399) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshirePrologueGate - } - }; - obj77.Steps = list118; - reference83 = obj77; - ref QuestSequence reference84 = ref span39[2]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.Interact, 1017993u, new Vector3(-544.1825f, 144.84157f, -346.7918f), 399); - obj78.Steps = list119; - reference84 = obj78; - ref QuestSequence reference85 = ref span39[3]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.Interact, 1017997u, new Vector3(-595.48334f, 147.9601f, -37.43042f), 399) - { - Fly = true - }; - obj79.Steps = list120; - reference85 = obj79; - ref QuestSequence reference86 = ref span39[4]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.Interact, 1018005u, new Vector3(-761.31836f, 149.64381f, 16.739136f), 399) - { - Fly = true - }; - obj80.Steps = list121; - reference86 = obj80; - ref QuestSequence reference87 = ref span39[5]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.Interact, 1018005u, new Vector3(-761.31836f, 149.64381f, 16.739136f), 399); - obj81.Steps = list122; - reference87 = obj81; - ref QuestSequence reference88 = ref span39[6]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.Interact, 1018122u, new Vector3(-761.2573f, 149.64243f, 16.80011f), 399); - obj82.Steps = list123; - reference88 = obj82; - ref QuestSequence reference89 = ref span39[7]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.Interact, 1018122u, new Vector3(-761.2573f, 149.64243f, 16.80011f), 399); - obj83.Steps = list124; - reference89 = obj83; - ref QuestSequence reference90 = ref span39[8]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.Interact, 1018122u, new Vector3(-761.2573f, 149.64243f, 16.80011f), 399); - obj84.Steps = list125; - reference90 = obj84; - ref QuestSequence reference91 = ref span39[9]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.Interact, 1018122u, new Vector3(-761.2573f, 149.64243f, 16.80011f), 399); - obj85.Steps = list126; - reference91 = obj85; - ref QuestSequence reference92 = ref span39[10]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.Interact, 1017997u, new Vector3(-595.48334f, 147.9601f, -37.43042f), 399) - { - Fly = true - }; - obj86.Steps = list127; - reference92 = obj86; - ref QuestSequence reference93 = ref span39[11]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 11 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.Interact, 1018007u, new Vector3(-602.5941f, 147.58852f, -39.230957f), 399) - { - StopDistance = 7f - }; - obj87.Steps = list128; - reference93 = obj87; - ref QuestSequence reference94 = ref span39[12]; - QuestSequence obj88 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016619u, new Vector3(-66.84979f, 8.05915f, 9.506287f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - NextQuestId = new QuestId(2371) - }; - obj88.Steps = list129; - reference94 = obj88; - questRoot16.QuestSequence = list116; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(2371); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list130 = new List(num); - CollectionsMarshal.SetCount(list130, num); - CollectionsMarshal.AsSpan(list130)[0] = "liza"; - questRoot17.Author = list130; - num = 7; - List list131 = new List(num); - CollectionsMarshal.SetCount(list131, num); - Span span40 = CollectionsMarshal.AsSpan(list131); - ref QuestSequence reference95 = ref span40[0]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016619u, new Vector3(-66.84979f, 8.05915f, 9.506287f), 418); - obj89.Steps = list132; - reference95 = obj89; - ref QuestSequence reference96 = ref span40[1]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.Interact, 1018448u, new Vector3(11.48999f, 206.58485f, 76.157715f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire - }; - obj90.Steps = list133; - reference96 = obj90; - ref QuestSequence reference97 = ref span40[2]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.Interact, 1018451u, new Vector3(606.775f, -49.501324f, 40.482178f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - obj91.Steps = list134; - reference97 = obj91; - ref QuestSequence reference98 = ref span40[3]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - Span span41 = CollectionsMarshal.AsSpan(list135); - ref QuestStep reference99 = ref span41[0]; - QuestStep obj93 = new QuestStep(EInteractionType.Interact, 1011920u, new Vector3(519.8595f, -51.071976f, 88.24292f), 398) - { - Fly = true - }; - num3 = 6; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - Span span42 = CollectionsMarshal.AsSpan(list136); - span42[0] = null; - span42[1] = null; - span42[2] = null; - span42[3] = null; - span42[4] = null; - span42[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj93.CompletionQuestVariablesFlags = list136; - reference99 = obj93; - ref QuestStep reference100 = ref span41[1]; - QuestStep obj94 = new QuestStep(EInteractionType.Interact, 1011921u, new Vector3(453.36072f, -51.141403f, 58.579346f), 398) - { - Fly = true - }; - num3 = 6; - List list137 = new List(num3); - CollectionsMarshal.SetCount(list137, num3); - Span span43 = CollectionsMarshal.AsSpan(list137); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj94.CompletionQuestVariablesFlags = list137; - reference100 = obj94; - ref QuestStep reference101 = ref span41[2]; - QuestStep obj95 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(493.00256f, -51.02798f, 16.711847f), 398) - { - Fly = true - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list138 = new List(num3); - CollectionsMarshal.SetCount(list138, num3); - Span span44 = CollectionsMarshal.AsSpan(list138); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list138; - skipConditions6.StepIf = skipStepConditions3; - obj95.SkipConditions = skipConditions6; - reference101 = obj95; - ref QuestStep reference102 = ref span41[3]; - QuestStep obj96 = new QuestStep(EInteractionType.Interact, 1011919u, new Vector3(497.82556f, -49.790283f, 11.825684f), 398) - { - StopDistance = 7f - }; - num3 = 6; - List list139 = new List(num3); - CollectionsMarshal.SetCount(list139, num3); - Span span45 = CollectionsMarshal.AsSpan(list139); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj96.CompletionQuestVariablesFlags = list139; - reference102 = obj96; - obj92.Steps = list135; - reference98 = obj92; - ref QuestSequence reference103 = ref span40[4]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.Interact, 1018454u, new Vector3(549.18726f, -51.275715f, 6.1798096f), 398) - { - Fly = true - }; - obj97.Steps = list140; - reference103 = obj97; - ref QuestSequence reference104 = ref span40[5]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.Interact, 1018460u, new Vector3(-108.659546f, -35.633152f, -19.485779f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - obj98.Steps = list141; - reference104 = obj98; - ref QuestSequence reference105 = ref span40[6]; - QuestSequence obj99 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.CompleteQuest, 1018460u, new Vector3(-108.659546f, -35.633152f, -19.485779f), 398) - { - NextQuestId = new QuestId(2372) - }; - obj99.Steps = list142; - reference105 = obj99; - questRoot17.QuestSequence = list131; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(2372); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - CollectionsMarshal.AsSpan(list143)[0] = "liza"; - questRoot18.Author = list143; - num = 10; - List list144 = new List(num); - CollectionsMarshal.SetCount(list144, num); - Span span46 = CollectionsMarshal.AsSpan(list144); - ref QuestSequence reference106 = ref span46[0]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.AcceptQuest, 1018463u, new Vector3(-108.62903f, -35.63229f, -19.455322f), 398); - obj100.Steps = list145; - reference106 = obj100; - ref QuestSequence reference107 = ref span46[1]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.Interact, 1018468u, new Vector3(-559.7162f, 48f, 304.5243f), 400) - { - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - obj101.Steps = list146; - reference107 = obj101; - ref QuestSequence reference108 = ref span46[2]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.UseItem, 1018468u, new Vector3(-559.7162f, 48f, 304.5243f), 400) - { - ItemId = 2002034u - }; - obj102.Steps = list147; - reference108 = obj102; - ref QuestSequence reference109 = ref span46[3]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.Interact, 1018468u, new Vector3(-559.7162f, 48f, 304.5243f), 400); - obj103.Steps = list148; - reference109 = obj103; - ref QuestSequence reference110 = ref span46[4]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.UseItem, 1018468u, new Vector3(-559.7162f, 48f, 304.5243f), 400) - { - ItemId = 2002047u - }; - obj104.Steps = list149; - reference110 = obj104; - ref QuestSequence reference111 = ref span46[5]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.Interact, 1018468u, new Vector3(-559.7162f, 48f, 304.5243f), 400); - obj105.Steps = list150; - reference111 = obj105; - ref QuestSequence reference112 = ref span46[6]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.Interact, 1018468u, new Vector3(-559.7162f, 48f, 304.5243f), 400); - obj106.Steps = list151; - reference112 = obj106; - ref QuestSequence reference113 = ref span46[7]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.Interact, 1018468u, new Vector3(-559.7162f, 48f, 304.5243f), 400); - obj107.Steps = list152; - reference113 = obj107; - ref QuestSequence reference114 = ref span46[8]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.Interact, 1018459u, new Vector3(-673.8232f, 73f, 288.4718f), 400) - { - StopDistance = 5f - }; - obj108.Steps = list153; - reference114 = obj108; - ref QuestSequence reference115 = ref span46[9]; - QuestSequence obj109 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.CompleteQuest, 1018456u, new Vector3(13.595764f, 206.59943f, 77.28699f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - NextQuestId = new QuestId(3008) - }; - obj109.Steps = list154; - reference115 = obj109; - questRoot18.QuestSequence = list144; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(2373); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list155 = new List(num); - CollectionsMarshal.SetCount(list155, num); - CollectionsMarshal.AsSpan(list155)[0] = "liza"; - questRoot19.Author = list155; - num = 5; - List list156 = new List(num); - CollectionsMarshal.SetCount(list156, num); - Span span47 = CollectionsMarshal.AsSpan(list156); - ref QuestSequence reference116 = ref span47[0]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.AcceptQuest, 1016130u, new Vector3(-815.7931f, -88.52015f, -835.2941f), 401) - { - StopDistance = 7f - }; - obj110.Steps = list157; - reference116 = obj110; - ref QuestSequence reference117 = ref span47[1]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - Span span48 = CollectionsMarshal.AsSpan(list158); - span48[0] = new QuestStep(EInteractionType.Interact, 2007074u, new Vector3(-815.8236f, -87.26642f, -834.3175f), 401) - { - TargetTerritoryId = (ushort)567 - }; - span48[1] = new QuestStep(EInteractionType.Interact, 2007080u, new Vector3(18.1734f, -14.755493f, 26.840576f), 567) - { - TargetTerritoryId = (ushort)567 - }; - span48[2] = new QuestStep(EInteractionType.Interact, 2007075u, new Vector3(22.323914f, 3.5552979f, -18.814392f), 567) - { - TargetTerritoryId = (ushort)568 - }; - span48[3] = new QuestStep(EInteractionType.Interact, 1018062u, new Vector3(0.015197754f, 0.8518491f, 3.9215698f), 568) - { - StopDistance = 5f - }; - obj111.Steps = list158; - reference117 = obj111; - ref QuestSequence reference118 = ref span47[2]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.Interact, 1018068u, new Vector3(6.9733276f, -0.4050198f, 8.529724f), 567); - obj112.Steps = list159; - reference118 = obj112; - ref QuestSequence reference119 = ref span47[3]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.Duty, null, null, 567) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 220u - } - }; - obj113.Steps = list160; - reference119 = obj113; - ref QuestSequence reference120 = ref span47[4]; - QuestSequence obj114 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.CompleteQuest, 1018079u, new Vector3(47.40979f, -15.364383f, 41.885986f), 567) - { - StopDistance = 7f, - NextQuestId = new QuestId(2374) - }; - obj114.Steps = list161; - reference120 = obj114; - questRoot19.QuestSequence = list156; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(2374); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list162 = new List(num); - CollectionsMarshal.SetCount(list162, num); - CollectionsMarshal.AsSpan(list162)[0] = "liza"; - questRoot20.Author = list162; - num = 3; - List list163 = new List(num); - CollectionsMarshal.SetCount(list163, num); - Span span49 = CollectionsMarshal.AsSpan(list163); - ref QuestSequence reference121 = ref span49[0]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.AcceptQuest, 1018079u, new Vector3(47.40979f, -15.364383f, 41.885986f), 567) - { - StopDistance = 7f - }; - obj115.Steps = list164; - reference121 = obj115; - ref QuestSequence reference122 = ref span49[1]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - Span span50 = CollectionsMarshal.AsSpan(list165); - span50[0] = new QuestStep(EInteractionType.Interact, 2007080u, new Vector3(18.19791f, -14.73229f, 26.85483f), 567) - { - TargetTerritoryId = (ushort)567 - }; - span50[1] = new QuestStep(EInteractionType.Interact, 2007075u, new Vector3(22.34343f, 3.560182f, -18.78459f), 567) - { - TargetTerritoryId = (ushort)568 - }; - span50[2] = new QuestStep(EInteractionType.Interact, 1018072u, new Vector3(-1.2664795f, 7.357448E-08f, -1.9684448f), 568); - obj116.Steps = list165; - reference122 = obj116; - ref QuestSequence reference123 = ref span49[2]; - QuestSequence obj117 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.CompleteQuest, 1018083u, new Vector3(45.212402f, -15.420993f, 25.77246f), 567) - { - StopDistance = 5f - }; - obj117.Steps = list166; - reference123 = obj117; - questRoot20.QuestSequence = list163; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(2382); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list167 = new List(num); - CollectionsMarshal.SetCount(list167, num); - CollectionsMarshal.AsSpan(list167)[0] = "plogon_enjoyer"; - questRoot21.Author = list167; - num = 11; - List list168 = new List(num); - CollectionsMarshal.SetCount(list168, num); - Span span51 = CollectionsMarshal.AsSpan(list168); - ref QuestSequence reference124 = ref span51[0]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012132u, new Vector3(43.015137f, 206.04718f, 56.50415f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj118.Steps = list169; - reference124 = obj118; - ref QuestSequence reference125 = ref span51[1]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.Interact, 1016802u, new Vector3(53.360718f, -48.000004f, -169.97028f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - obj119.Steps = list170; - reference125 = obj119; - ref QuestSequence reference126 = ref span51[2]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.Interact, 1018232u, new Vector3(236.01123f, -42.313934f, 596.3989f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome - }; - obj120.Steps = list171; - reference126 = obj120; - ref QuestSequence reference127 = ref span51[3]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.Interact, 1017320u, new Vector3(-342.15308f, 59.03801f, 315.14453f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - obj121.Steps = list172; - reference127 = obj121; - ref QuestSequence reference128 = ref span51[4]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.Interact, 1017170u, new Vector3(-344.22827f, 59.038006f, 317.1587f), 400); - obj122.Steps = list173; - reference128 = obj122; - ref QuestSequence reference129 = ref span51[5]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.Interact, 1017173u, new Vector3(-363.82086f, 60.896187f, 306.38586f), 400) - { - Fly = true - }; - obj123.Steps = list174; - reference129 = obj123; - ref QuestSequence reference130 = ref span51[6]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.Emote, 1017173u, new Vector3(-363.82086f, 60.896187f, 306.38586f), 400) - { - Emote = EEmote.Rally - }; - obj124.Steps = list175; - reference130 = obj124; - ref QuestSequence reference131 = ref span51[7]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - CollectionsMarshal.AsSpan(list176)[0] = new QuestStep(EInteractionType.Interact, 1017170u, new Vector3(-344.22827f, 59.038006f, 317.1587f), 400) - { - Fly = true - }; - obj125.Steps = list176; - reference131 = obj125; - ref QuestSequence reference132 = ref span51[8]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.Interact, 2007517u, new Vector3(-332.6314f, 59.067627f, 298.39014f), 400) - { - Fly = true - }; - obj126.Steps = list177; - reference132 = obj126; - ref QuestSequence reference133 = ref span51[9]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.Interact, 1018234u, new Vector3(-635.85876f, 82.249985f, 142.96167f), 400) - { - Fly = true - }; - obj127.Steps = list178; - reference133 = obj127; - ref QuestSequence reference134 = ref span51[10]; - QuestSequence obj128 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - CollectionsMarshal.AsSpan(list179)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017320u, new Vector3(-342.15308f, 59.03801f, 315.14453f), 400) - { - Fly = true, - NextQuestId = new QuestId(2383) - }; - obj128.Steps = list179; - reference134 = obj128; - questRoot21.QuestSequence = list168; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(2383); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list180 = new List(num); - CollectionsMarshal.SetCount(list180, num); - CollectionsMarshal.AsSpan(list180)[0] = "plogon_enjoyer"; - questRoot22.Author = list180; - num = 7; - List list181 = new List(num); - CollectionsMarshal.SetCount(list181, num); - Span span52 = CollectionsMarshal.AsSpan(list181); - ref QuestSequence reference135 = ref span52[0]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.AcceptQuest, 1017320u, new Vector3(-342.15308f, 59.03801f, 315.14453f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj129.Steps = list182; - reference135 = obj129; - ref QuestSequence reference136 = ref span52[1]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - Span span53 = CollectionsMarshal.AsSpan(list183); - span53[0] = new QuestStep(EInteractionType.Interact, 1018242u, new Vector3(-365.1942f, 60.616608f, 279.89612f), 400) - { - Fly = true - }; - span53[1] = new QuestStep(EInteractionType.Interact, 1018241u, new Vector3(-421.40845f, 60.89619f, 272.755f), 400) - { - Fly = true - }; - obj130.Steps = list183; - reference136 = obj130; - ref QuestSequence reference137 = ref span52[2]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - CollectionsMarshal.AsSpan(list184)[0] = new QuestStep(EInteractionType.Interact, 1018239u, new Vector3(-339.25385f, 59.038f, 317.03674f), 400) - { - Fly = true - }; - obj131.Steps = list184; - reference137 = obj131; - ref QuestSequence reference138 = ref span52[3]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.Interact, 1011928u, new Vector3(73.19751f, -49.19563f, -139.05548f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - obj132.Steps = list185; - reference138 = obj132; - ref QuestSequence reference139 = ref span52[4]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.Interact, 1018243u, new Vector3(35.99597f, -130.7033f, 543.3279f), 398) - { - Fly = true - }; - obj133.Steps = list186; - reference139 = obj133; - ref QuestSequence reference140 = ref span52[5]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - Span span54 = CollectionsMarshal.AsSpan(list187); - span54[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(471.06836f, -51.141403f, 35.919243f), 398) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - span54[1] = new QuestStep(EInteractionType.Interact, 1011916u, new Vector3(470.02356f, -49.89133f, 20.370789f), 398); - obj134.Steps = list187; - reference140 = obj134; - ref QuestSequence reference141 = ref span52[6]; - QuestSequence obj135 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - CollectionsMarshal.AsSpan(list188)[0] = new QuestStep(EInteractionType.CompleteQuest, 1011907u, new Vector3(-288.8686f, 127.06639f, 13.199036f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - NextQuestId = new QuestId(2384) - }; - obj135.Steps = list188; - reference141 = obj135; - questRoot22.QuestSequence = list181; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(2384); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list189 = new List(num); - CollectionsMarshal.SetCount(list189, num); - CollectionsMarshal.AsSpan(list189)[0] = "plogon_enjoyer"; - questRoot23.Author = list189; - num = 6; - List list190 = new List(num); - CollectionsMarshal.SetCount(list190, num); - Span span55 = CollectionsMarshal.AsSpan(list190); - ref QuestSequence reference142 = ref span55[0]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.AcceptQuest, 1018248u, new Vector3(-287.34265f, 126.77467f, 3.3721924f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj136.Steps = list191; - reference142 = obj136; - ref QuestSequence reference143 = ref span55[1]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.Interact, 1018249u, new Vector3(-814.9691f, -130.31683f, -415.85413f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - obj137.Steps = list192; - reference143 = obj137; - ref QuestSequence reference144 = ref span55[2]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.Interact, 1018251u, new Vector3(285.7556f, -112.76572f, 562.1881f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop - }; - obj138.Steps = list193; - reference144 = obj138; - ref QuestSequence reference145 = ref span55[3]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.Emote, 1018251u, new Vector3(285.7556f, -112.76572f, 562.1881f), 401) - { - Emote = EEmote.MogDance - }; - obj139.Steps = list194; - reference145 = obj139; - ref QuestSequence reference146 = ref span55[4]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.Interact, 1018254u, new Vector3(383.93213f, -125.28945f, 734.4929f), 401); - obj140.Steps = list195; - reference146 = obj140; - ref QuestSequence reference147 = ref span55[5]; - QuestSequence obj141 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.CompleteQuest, 1018255u, new Vector3(-793.7896f, -133.26949f, -412.6803f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - NextQuestId = new QuestId(2385) - }; - obj141.Steps = list196; - reference147 = obj141; - questRoot23.QuestSequence = list190; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(2385); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list197 = new List(num); - CollectionsMarshal.SetCount(list197, num); - CollectionsMarshal.AsSpan(list197)[0] = "plogon_enjoyer"; - questRoot24.Author = list197; - num = 6; - List list198 = new List(num); - CollectionsMarshal.SetCount(list198, num); - Span span56 = CollectionsMarshal.AsSpan(list198); - ref QuestSequence reference148 = ref span56[0]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - CollectionsMarshal.AsSpan(list199)[0] = new QuestStep(EInteractionType.AcceptQuest, 1018255u, new Vector3(-793.7896f, -133.26949f, -412.6803f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj142.Steps = list199; - reference148 = obj142; - ref QuestSequence reference149 = ref span56[1]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.Interact, 1018257u, new Vector3(-664.36255f, -176.4502f, -570.3975f), 402) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzysLlaHelix - }; - obj143.Steps = list200; - reference149 = obj143; - ref QuestSequence reference150 = ref span56[2]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.Interact, 1018260u, new Vector3(-189.5628f, -102.63812f, 449.60706f), 402) - { - Fly = true - }; - obj144.Steps = list201; - reference150 = obj144; - ref QuestSequence reference151 = ref span56[3]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.Interact, 2007518u, new Vector3(-697.01685f, -37.82715f, 431.2047f), 402) - { - Fly = true - }; - obj145.Steps = list202; - reference151 = obj145; - ref QuestSequence reference152 = ref span56[4]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.Interact, 1018261u, new Vector3(785.3054f, -24.802603f, -766.3539f), 402) - { - Fly = true - }; - obj146.Steps = list203; - reference152 = obj146; - ref QuestSequence reference153 = ref span56[5]; - QuestSequence obj147 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016087u, new Vector3(-796.7498f, -133.2695f, -410.6966f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - obj147.Steps = list204; - reference153 = obj147; - questRoot24.QuestSequence = list198; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(2386); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list205 = new List(num); - CollectionsMarshal.SetCount(list205, num); - CollectionsMarshal.AsSpan(list205)[0] = "UcanPatates"; - questRoot25.Author = list205; - num = 4; - List list206 = new List(num); - CollectionsMarshal.SetCount(list206, num); - Span span57 = CollectionsMarshal.AsSpan(list206); - ref QuestSequence reference154 = ref span57[0]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - ref QuestStep reference155 = ref CollectionsMarshal.AsSpan(list207)[0]; - QuestStep obj149 = new QuestStep(EInteractionType.AcceptQuest, 1012133u, new Vector3(-26.840637f, 206.49944f, 28.67163f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipAetheryteCondition obj150 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list208 = new List(num3); - CollectionsMarshal.SetCount(list208, num3); - CollectionsMarshal.AsSpan(list208)[0] = 478; - obj150.InTerritory = list208; - skipConditions7.AetheryteShortcutIf = obj150; - obj149.SkipConditions = skipConditions7; - reference155 = obj149; - obj148.Steps = list207; - reference154 = obj148; - ref QuestSequence reference156 = ref span57[1]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - Span span58 = CollectionsMarshal.AsSpan(list209); - ref QuestStep reference157 = ref span58[0]; - QuestStep obj152 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(148.23425f, 207f, 119.497574f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 1; - List list210 = new List(num3); - CollectionsMarshal.SetCount(list210, num3); - CollectionsMarshal.AsSpan(list210)[0] = 399; - skipStepConditions4.InTerritory = list210; - skipConditions8.StepIf = skipStepConditions4; - SkipAetheryteCondition obj153 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - CollectionsMarshal.AsSpan(list211)[0] = 399; - obj153.InTerritory = list211; - skipConditions8.AetheryteShortcutIf = obj153; - obj152.SkipConditions = skipConditions8; - reference157 = obj152; - span58[1] = new QuestStep(EInteractionType.Interact, 1018367u, new Vector3(302.11328f, 232.54102f, 767.14734f), 399) - { - Fly = true - }; - obj151.Steps = list209; - reference156 = obj151; - ref QuestSequence reference158 = ref span57[2]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - CollectionsMarshal.AsSpan(list212)[0] = new QuestStep(EInteractionType.Duty, null, null, 399) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 196u - } - }; - obj154.Steps = list212; - reference158 = obj154; - ref QuestSequence reference159 = ref span57[3]; - QuestSequence obj155 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - CollectionsMarshal.AsSpan(list213)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012133u, new Vector3(-26.840637f, 206.49944f, 28.67163f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj155.Steps = list213; - reference159 = obj155; - questRoot25.QuestSequence = list206; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(2392); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list214 = new List(num); - CollectionsMarshal.SetCount(list214, num); - CollectionsMarshal.AsSpan(list214)[0] = "liza"; - questRoot26.Author = list214; - num = 2; - List list215 = new List(num); - CollectionsMarshal.SetCount(list215, num); - Span span59 = CollectionsMarshal.AsSpan(list215); - ref QuestSequence reference160 = ref span59[0]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - CollectionsMarshal.AsSpan(list216)[0] = new QuestStep(EInteractionType.AcceptQuest, 1018317u, new Vector3(44.174805f, 206.99484f, -9.720032f), 478); - obj156.Steps = list216; - reference160 = obj156; - ref QuestSequence reference161 = ref span59[1]; - QuestSequence obj157 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.CompleteQuest, 1017653u, new Vector3(-17.990417f, 211.4722f, -1.4801636f), 478); - obj157.Steps = list217; - reference161 = obj157; - questRoot26.QuestSequence = list215; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(2394); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - CollectionsMarshal.AsSpan(list218)[0] = "liza"; - questRoot27.Author = list218; - num = 7; - List list219 = new List(num); - CollectionsMarshal.SetCount(list219, num); - Span span60 = CollectionsMarshal.AsSpan(list219); - ref QuestSequence reference162 = ref span60[0]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - Span span61 = CollectionsMarshal.AsSpan(list220); - ref QuestStep reference163 = ref span61[0]; - QuestStep obj159 = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 1; - List list221 = new List(num3); - CollectionsMarshal.SetCount(list221, num3); - CollectionsMarshal.AsSpan(list221)[0] = 351; - skipStepConditions5.InTerritory = list221; - skipConditions9.StepIf = skipStepConditions5; - SkipAetheryteCondition skipAetheryteCondition5 = new SkipAetheryteCondition(); - num3 = 1; - List list222 = new List(num3); - CollectionsMarshal.SetCount(list222, num3); - CollectionsMarshal.AsSpan(list222)[0] = 351; - skipAetheryteCondition5.InTerritory = list222; - skipConditions9.AetheryteShortcutIf = skipAetheryteCondition5; - obj159.SkipConditions = skipConditions9; - reference163 = obj159; - span61[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.RisingStonesSolar - } - } - }; - span61[2] = new QuestStep(EInteractionType.AcceptQuest, 1014565u, new Vector3(0.44250488f, -1.9957249f, -43.22882f), 351) - { - StopDistance = 7f - }; - obj158.Steps = list220; - reference162 = obj158; - ref QuestSequence reference164 = ref span60[1]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - CollectionsMarshal.AsSpan(list223)[0] = new QuestStep(EInteractionType.Interact, 2007560u, new Vector3(216.11353f, 256.36682f, 10.757568f), 402) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzysLlaHelix - }; - obj160.Steps = list223; - reference164 = obj160; - ref QuestSequence reference165 = ref span60[2]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.Interact, 1017675u, new Vector3(148.11926f, 245.1f, -4.1657104f), 402); - obj161.Steps = list224; - reference165 = obj161; - span60[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference166 = ref span60[4]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.Interact, 1018511u, new Vector3(-1.449646f, 3.144145E-06f, 5.2643433f), 507); - obj162.Steps = list225; - reference166 = obj162; - ref QuestSequence reference167 = ref span60[5]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - CollectionsMarshal.AsSpan(list226)[0] = new QuestStep(EInteractionType.Duty, null, null, 507) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 223u - } - }; - obj163.Steps = list226; - reference167 = obj163; - ref QuestSequence reference168 = ref span60[6]; - QuestSequence obj164 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - Span span62 = CollectionsMarshal.AsSpan(list227); - span62[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span62[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span62[2] = new QuestStep(EInteractionType.CompleteQuest, 1014565u, new Vector3(0.44250488f, -1.9957249f, -43.22882f), 351) - { - StopDistance = 7f - }; - obj164.Steps = list227; - reference168 = obj164; - questRoot27.QuestSequence = list219; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(2395); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list228 = new List(num); - CollectionsMarshal.SetCount(list228, num); - CollectionsMarshal.AsSpan(list228)[0] = "liza"; - questRoot28.Author = list228; - num = 2; - List list229 = new List(num); - CollectionsMarshal.SetCount(list229, num); - Span span63 = CollectionsMarshal.AsSpan(list229); - ref QuestSequence reference169 = ref span63[0]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - Span span64 = CollectionsMarshal.AsSpan(list230); - ref QuestStep reference170 = ref span64[0]; - QuestStep obj166 = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 1; - List list231 = new List(num3); - CollectionsMarshal.SetCount(list231, num3); - CollectionsMarshal.AsSpan(list231)[0] = 351; - skipStepConditions6.InTerritory = list231; - skipConditions10.StepIf = skipStepConditions6; - SkipAetheryteCondition skipAetheryteCondition6 = new SkipAetheryteCondition(); - num3 = 1; - List list232 = new List(num3); - CollectionsMarshal.SetCount(list232, num3); - CollectionsMarshal.AsSpan(list232)[0] = 351; - skipAetheryteCondition6.InTerritory = list232; - skipConditions10.AetheryteShortcutIf = skipAetheryteCondition6; - obj166.SkipConditions = skipConditions10; - reference170 = obj166; - span64[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.RisingStonesSolar - } - } - }; - span64[2] = new QuestStep(EInteractionType.AcceptQuest, 1014565u, new Vector3(0.44250488f, -1.9957249f, -43.22882f), 351) - { - StopDistance = 7f - }; - obj165.Steps = list230; - reference169 = obj165; - ref QuestSequence reference171 = ref span63[1]; - QuestSequence obj167 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - Span span65 = CollectionsMarshal.AsSpan(list233); - span65[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(212.05304f, 256.37265f, 0.08028713f), 402) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzysLlaHelix, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(152.26978f, 245.1f, -6.2714844f), - MaximumDistance = 10f, - TerritoryId = 402 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span65[1] = new QuestStep(EInteractionType.CompleteQuest, 1016633u, new Vector3(152.26978f, 245.1f, -6.2714844f), 402) - { - Fly = true - }; - obj167.Steps = list233; - reference171 = obj167; - questRoot28.QuestSequence = list229; - AddQuest(questId28, questRoot28); - } - - private static void LoadQuests48() - { - QuestId questId = new QuestId(2409); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "kaiser"; - questRoot.Author = list; - num = 4; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(202.38037f, -5.3999662f, -58.9151f), - MaximumDistance = 100f, - TerritoryId = 419 - } - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1021184u, new Vector3(191.9126f, 234.44899f, 402.45667f), 155) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - ref QuestStep reference4 = ref CollectionsMarshal.AsSpan(list5)[0]; - QuestStep obj4 = new QuestStep(EInteractionType.Interact, 1021187u, new Vector3(-1.9990234f, 0.74534994f, 360.25012f), 153) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - int num3 = 1; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - CollectionsMarshal.AsSpan(list6)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBAST601_02409_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBAST601_02409_A1_000_001") - }; - obj4.DialogueChoices = list6; - reference4 = obj4; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference5 = ref span[3]; - QuestSequence obj5 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021191u, new Vector3(195.1781f, -5.3999624f, -67.06348f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(195.1781f, -5.3999624f, -67.06348f), - MaximumDistance = 100f, - TerritoryId = 419 - } - } - }, - NextQuestId = new QuestId(2410) - }; - obj5.Steps = list7; - reference5 = obj5; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(2410); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - CollectionsMarshal.AsSpan(list8)[0] = "kaiser"; - questRoot2.Author = list8; - num = 5; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - Span span2 = CollectionsMarshal.AsSpan(list9); - ref QuestSequence reference6 = ref span2[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021191u, new Vector3(195.1781f, -5.3999624f, -67.06348f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(195.1781f, -5.3999624f, -67.06348f), - MaximumDistance = 100f, - TerritoryId = 419 - } - } - } - }; - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span2[1]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.Interact, 1021221u, new Vector3(180.22424f, -5.4349146f, -55.588684f), 419) - { - StopDistance = 5f - }; - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span2[2]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - Span span3 = CollectionsMarshal.AsSpan(list12); - ref QuestStep reference9 = ref span3[0]; - QuestStep obj9 = new QuestStep(EInteractionType.Combat, null, new Vector3(244.403f, 361.78677f, -616.2311f), 155) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - CollectionsMarshal.AsSpan(list13)[0] = new ComplexCombatData - { - DataId = 7235u, - MinimumKillCount = 2u - }; - obj9.ComplexCombatData = list13; - obj9.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - reference9 = obj9; - span3[1] = new QuestStep(EInteractionType.Interact, 1021222u, new Vector3(240.68054f, 362.1392f, -614.74023f), 155); - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference10 = ref span2[3]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.Interact, 1021191u, new Vector3(195.1781f, -5.3999624f, -67.06348f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(195.1781f, -5.3999624f, -67.06348f), - MaximumDistance = 100f, - TerritoryId = 419 - } - } - } - }; - obj10.Steps = list14; - reference10 = obj10; - ref QuestSequence reference11 = ref span2[4]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(202.38037f, -5.3999662f, -58.9151f), - MaximumDistance = 100f, - TerritoryId = 419 - } - } - }, - NextQuestId = new QuestId(2411) - }; - obj11.Steps = list15; - reference11 = obj11; - questRoot2.QuestSequence = list9; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(2411); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - CollectionsMarshal.AsSpan(list16)[0] = "kaiser"; - questRoot3.Author = list16; - num = 6; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - Span span4 = CollectionsMarshal.AsSpan(list17); - ref QuestSequence reference12 = ref span4[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(202.38037f, -5.3999662f, -58.9151f), - MaximumDistance = 100f, - TerritoryId = 419 - } - } - } - }; - obj12.Steps = list18; - reference12 = obj12; - ref QuestSequence reference13 = ref span4[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.Interact, 1021255u, new Vector3(-0.35101318f, 11.965101f, 45.029297f), 419) - { - StopDistance = 5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardAthenaeumAstrologicum, - To = EAetheryteLocation.IshgardLastVigil - } - }; - obj13.Steps = list19; - reference13 = obj13; - ref QuestSequence reference14 = ref span4[2]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - Span span5 = CollectionsMarshal.AsSpan(list20); - ref QuestStep reference15 = ref span5[0]; - QuestStep obj15 = new QuestStep(EInteractionType.Interact, 1021259u, new Vector3(-16.250854f, 0.09999631f, -31.784546f), 628) - { - StopDistance = 4f, - AetheryteShortcut = EAetheryteLocation.Kugane - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - Span span6 = CollectionsMarshal.AsSpan(list21); - span6[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span6[1] = null; - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list21; - skipConditions.StepIf = skipStepConditions; - skipConditions.AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj15.SkipConditions = skipConditions; - reference15 = obj15; - ref QuestStep reference16 = ref span5[1]; - QuestStep obj16 = new QuestStep(EInteractionType.Interact, 1021256u, new Vector3(28.610596f, 4f, 53.57434f), 628) - { - StopDistance = 4f, - AetheryteShortcut = EAetheryteLocation.Kugane - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - Span span7 = CollectionsMarshal.AsSpan(list22); - span7[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - span7[1] = null; - span7[2] = null; - span7[3] = null; - span7[4] = null; - span7[5] = null; - skipStepConditions2.CompletionQuestVariablesFlags = list22; - skipConditions2.StepIf = skipStepConditions2; - skipConditions2.AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj16.SkipConditions = skipConditions2; - reference16 = obj16; - span5[2] = new QuestStep(EInteractionType.Interact, 1021260u, new Vector3(-12.069946f, -4.9889293f, 15.579407f), 628) - { - StopDistance = 4f, - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj14.Steps = list20; - reference14 = obj14; - ref QuestSequence reference17 = ref span4[3]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.Interact, 2007937u, new Vector3(-51.621338f, 16.891724f, 0.045776367f), 628) - { - StopDistance = 2f, - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj17.Steps = list23; - reference17 = obj17; - ref QuestSequence reference18 = ref span4[4]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - Span span8 = CollectionsMarshal.AsSpan(list24); - span8[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-53.109528f, 15.469519f, 22.387312f), 628) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(-57.846985f, -3f, 25.16211f), - StopDistance = 4f, - Type = EJumpType.RepeatedJumps - } - }; - span8[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 1021261u, new Vector3(-57.846985f, -3f, 25.16211f), 628) - { - StopDistance = 4f, - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj18.Steps = list24; - reference18 = obj18; - ref QuestSequence reference19 = ref span4[5]; - QuestSequence obj19 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021262u, new Vector3(98.10022f, 4.0000014f, 87.44946f), 628) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyBazaar - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(98.10022f, 4.0000014f, 87.44946f), - MaximumDistance = 20f, - TerritoryId = 628 - } - } - }, - NextQuestId = new QuestId(2412) - }; - obj19.Steps = list25; - reference19 = obj19; - questRoot3.QuestSequence = list17; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(2412); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - CollectionsMarshal.AsSpan(list26)[0] = "kaiser"; - questRoot4.Author = list26; - num = 6; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - Span span9 = CollectionsMarshal.AsSpan(list27); - ref QuestSequence reference20 = ref span9[0]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021262u, new Vector3(98.10022f, 4.0000014f, 87.44946f), 628) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyBazaar - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(98.10022f, 4.0000014f, 87.44946f), - MaximumDistance = 20f, - TerritoryId = 628 - } - } - } - }; - obj20.Steps = list28; - reference20 = obj20; - ref QuestSequence reference21 = ref span9[1]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.Interact, 1021273u, new Vector3(469.84045f, 69.6416f, -68.37573f), 614) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai - }; - obj21.Steps = list29; - reference21 = obj21; - ref QuestSequence reference22 = ref span9[2]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - ref QuestStep reference23 = ref CollectionsMarshal.AsSpan(list30)[0]; - QuestStep obj23 = new QuestStep(EInteractionType.Combat, 1021274u, new Vector3(-413.77893f, 55.093624f, 305.83655f), 614) - { - StopDistance = 4f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - CollectionsMarshal.AsSpan(list31)[0] = 7236u; - obj23.KillEnemyDataIds = list31; - obj23.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - num3 = 1; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - CollectionsMarshal.AsSpan(list32)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_JOBAST680_02412_Q1_000_024") - }; - obj23.DialogueChoices = list32; - reference23 = obj23; - obj22.Steps = list30; - reference22 = obj22; - ref QuestSequence reference24 = ref span9[3]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Interact, 1021274u, new Vector3(-413.77893f, 55.093624f, 305.83655f), 614) - { - StopDistance = 4f, - Fly = false - }; - obj24.Steps = list33; - reference24 = obj24; - ref QuestSequence reference25 = ref span9[4]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.Interact, 1021054u, new Vector3(-36.66742f, 14.000003f, -58.457336f), 628) - { - StopDistance = 4f, - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj25.Steps = list34; - reference25 = obj25; - ref QuestSequence reference26 = ref span9[5]; - QuestSequence obj26 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021262u, new Vector3(98.10022f, 4.0000014f, 87.44946f), 628) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyBazaar - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(98.10022f, 4.0000014f, 87.44946f), - MaximumDistance = 20f, - TerritoryId = 628 - } - } - }, - NextQuestId = new QuestId(2413) - }; - obj26.Steps = list35; - reference26 = obj26; - questRoot4.QuestSequence = list27; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(2413); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - CollectionsMarshal.AsSpan(list36)[0] = "kaiser"; - questRoot5.Author = list36; - num = 5; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - Span span10 = CollectionsMarshal.AsSpan(list37); - ref QuestSequence reference27 = ref span10[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021262u, new Vector3(98.10022f, 4.0000014f, 87.44946f), 628) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyBazaar - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(98.10022f, 4.0000014f, 87.44946f), - MaximumDistance = 20f, - TerritoryId = 628 - } - } - } - }; - obj27.Steps = list38; - reference27 = obj27; - ref QuestSequence reference28 = ref span10[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 2008103u, new Vector3(44.84619f, 8.255066f, 178.11853f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj28.Steps = list39; - reference28 = obj28; - ref QuestSequence reference29 = ref span10[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.Interact, 1021305u, new Vector3(-61.356567f, -3f, 28.854736f), 628) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeThavnairianConsulate, - To = EAetheryteLocation.KuganeMarkets - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj29.Steps = list40; - reference29 = obj29; - ref QuestSequence reference30 = ref span10[3]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2008104u, new Vector3(128.13f, 24.979004f, -0.22894287f), 628) - { - StopDistance = 3f, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeMarkets, - To = EAetheryteLocation.KuganeRubyBazaar - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj30.Steps = list41; - reference30 = obj30; - ref QuestSequence reference31 = ref span10[4]; - QuestSequence obj31 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021309u, new Vector3(-47.501343f, 16.624714f, 9.719971f), 628) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-47.501343f, 16.624714f, 9.719971f), - MaximumDistance = 20f, - TerritoryId = 628 - } - } - }, - NextQuestId = new QuestId(3222) - }; - obj31.Steps = list42; - reference31 = obj31; - questRoot5.QuestSequence = list37; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(2414); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - CollectionsMarshal.AsSpan(list43)[0] = "Cacahuetes"; - questRoot6.Author = list43; - num = 6; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - Span span11 = CollectionsMarshal.AsSpan(list44); - ref QuestSequence reference32 = ref span11[0]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - Span span12 = CollectionsMarshal.AsSpan(list45); - span12[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-146.86935f, 8.006159f, 268.78055f), 153) - { - StopDistance = 0.25f, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - JumpDestination = new JumpDestination - { - Position = new Vector3(-137.77051f, 7.7094107f, 275.28036f), - DelaySeconds = 0.75f - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked, - NearPosition = new NearPositionCondition - { - Position = new Vector3(-139.45221f, 8.712891f, 281.69678f), - MaximumDistance = 3f, - TerritoryId = 153 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span12[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-139.04318f, 8.522301f, 280.0128f), 153) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span12[2] = new QuestStep(EInteractionType.AcceptQuest, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153); - obj32.Steps = list45; - reference32 = obj32; - ref QuestSequence reference33 = ref span11[1]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - obj33.Steps = list46; - reference33 = obj33; - ref QuestSequence reference34 = ref span11[2]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Interact, 1018744u, new Vector3(87.96814f, 5.9457893f, 490.56213f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - obj34.Steps = list47; - reference34 = obj34; - ref QuestSequence reference35 = ref span11[3]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.Interact, 1018746u, new Vector3(-651.3619f, 130f, -527.8248f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens - }; - obj35.Steps = list48; - reference35 = obj35; - ref QuestSequence reference36 = ref span11[4]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.Interact, 2007687u, new Vector3(-640.8331f, 120.3479f, -291.52362f), 612) - { - Fly = true - }; - obj36.Steps = list49; - reference36 = obj36; - ref QuestSequence reference37 = ref span11[5]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.CompleteQuest, 1018752u, new Vector3(-622.5834f, 130.26505f, -473.7469f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - NextQuestId = new QuestId(2415) - }; - obj37.Steps = list50; - reference37 = obj37; - questRoot6.QuestSequence = list44; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(2415); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - CollectionsMarshal.AsSpan(list51)[0] = "Cacahuetes"; - questRoot7.Author = list51; - num = 5; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - Span span13 = CollectionsMarshal.AsSpan(list52); - ref QuestSequence reference38 = ref span13[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.AcceptQuest, 1018753u, new Vector3(-623.621f, 130.24214f, -474.72345f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj38.Steps = list53; - reference38 = obj38; - ref QuestSequence reference39 = ref span13[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.Interact, 1018757u, new Vector3(-437.2168f, 73.07981f, -100.23657f), 612) - { - Fly = true - }; - obj39.Steps = list54; - reference39 = obj39; - ref QuestSequence reference40 = ref span13[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - Span span14 = CollectionsMarshal.AsSpan(list55); - ref QuestStep reference41 = ref span14[0]; - QuestStep obj41 = new QuestStep(EInteractionType.Combat, null, new Vector3(-586.0533f, 54.95936f, 204.82178f), 612) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - CollectionsMarshal.AsSpan(list56)[0] = 7214u; - obj41.KillEnemyDataIds = list56; - reference41 = obj41; - span14[1] = new QuestStep(EInteractionType.Interact, 1018758u, new Vector3(-586.0533f, 54.95936f, 204.82178f), 612); - obj40.Steps = list55; - reference40 = obj40; - ref QuestSequence reference42 = ref span13[3]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.Interact, 1000692u, new Vector3(-258.8083f, -5.7735243f, -27.267883f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - obj42.Steps = list57; - reference42 = obj42; - ref QuestSequence reference43 = ref span13[4]; - QuestSequence obj43 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.CompleteQuest, 1018753u, new Vector3(-623.621f, 130.24214f, -474.72345f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - NextQuestId = new QuestId(2416) - }; - obj43.Steps = list58; - reference43 = obj43; - questRoot7.QuestSequence = list52; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(2416); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - CollectionsMarshal.AsSpan(list59)[0] = "Cacahuetes"; - questRoot8.Author = list59; - num = 6; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - Span span15 = CollectionsMarshal.AsSpan(list60); - ref QuestSequence reference44 = ref span15[0]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.AcceptQuest, 1018753u, new Vector3(-623.621f, 130.24214f, -474.72345f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj44.Steps = list61; - reference44 = obj44; - ref QuestSequence reference45 = ref span15[1]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.Interact, 2007711u, new Vector3(-488.0293f, 50.94983f, 86.96118f), 612) - { - Fly = true - }; - obj45.Steps = list62; - reference45 = obj45; - ref QuestSequence reference46 = ref span15[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.Interact, 2007712u, new Vector3(-461.63123f, 57.14502f, 186.08374f), 612) - { - Fly = true - }; - obj46.Steps = list63; - reference46 = obj46; - ref QuestSequence reference47 = ref span15[3]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.Interact, 2007713u, new Vector3(-529.9306f, 36.88098f, 451.16345f), 612) - { - Fly = true - }; - obj47.Steps = list64; - reference47 = obj47; - ref QuestSequence reference48 = ref span15[4]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1019090u, new Vector3(-638.3002f, 38.30705f, 374.92932f), 612) - { - Fly = true - }; - obj48.Steps = list65; - reference48 = obj48; - ref QuestSequence reference49 = ref span15[5]; - QuestSequence obj49 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - ref QuestStep reference50 = ref CollectionsMarshal.AsSpan(list66)[0]; - QuestStep obj50 = new QuestStep(EInteractionType.CompleteQuest, 1018753u, new Vector3(-623.621f, 130.24214f, -474.72345f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens - }; - num3 = 1; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - CollectionsMarshal.AsSpan(list67)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBWHM650_02416_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBWHM650_02416_A1_000_001") - }; - obj50.DialogueChoices = list67; - obj50.NextQuestId = new QuestId(2417); - reference50 = obj50; - obj49.Steps = list66; - reference49 = obj49; - questRoot8.QuestSequence = list60; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(2417); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - CollectionsMarshal.AsSpan(list68)[0] = "Cacahuetes"; - questRoot9.Author = list68; - num = 5; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - Span span16 = CollectionsMarshal.AsSpan(list69); - ref QuestSequence reference51 = ref span16[0]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.AcceptQuest, 1018753u, new Vector3(-623.621f, 130.24214f, -474.72345f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj51.Steps = list70; - reference51 = obj51; - ref QuestSequence reference52 = ref span16[1]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.Interact, 1019125u, new Vector3(-651.81964f, 40.067055f, 370.80945f), 612) - { - Fly = true - }; - obj52.Steps = list71; - reference52 = obj52; - ref QuestSequence reference53 = ref span16[2]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - Span span17 = CollectionsMarshal.AsSpan(list72); - ref QuestStep reference54 = ref span17[0]; - QuestStep obj54 = new QuestStep(EInteractionType.Combat, null, new Vector3(-175.06683f, 59.779804f, -558.8312f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - CollectionsMarshal.AsSpan(list73)[0] = 7215u; - obj54.KillEnemyDataIds = list73; - reference54 = obj54; - span17[1] = new QuestStep(EInteractionType.Interact, 1019128u, new Vector3(-175.06683f, 59.779804f, -558.8312f), 612); - obj53.Steps = list72; - reference53 = obj53; - ref QuestSequence reference55 = ref span16[3]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - Span span18 = CollectionsMarshal.AsSpan(list74); - span18[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-650.58673f, 39.856243f, 371.54846f), 612) - { - Fly = true - }; - span18[1] = new QuestStep(EInteractionType.Interact, 1019131u, new Vector3(-663.7522f, 43.594555f, 363.75977f), 612); - obj55.Steps = list74; - reference55 = obj55; - ref QuestSequence reference56 = ref span16[4]; - QuestSequence obj56 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019132u, new Vector3(-655.02405f, 40.43195f, 375.96704f), 612) - { - NextQuestId = new QuestId(2418) - }; - obj56.Steps = list75; - reference56 = obj56; - questRoot9.QuestSequence = list69; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(2418); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - CollectionsMarshal.AsSpan(list76)[0] = "Cacahuetes"; - questRoot10.Author = list76; - num = 7; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - Span span19 = CollectionsMarshal.AsSpan(list77); - ref QuestSequence reference57 = ref span19[0]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019132u, new Vector3(-655.02405f, 40.43195f, 375.96704f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj57.Steps = list78; - reference57 = obj57; - ref QuestSequence reference58 = ref span19[1]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.Interact, 1018759u, new Vector3(-636.8048f, 130f, -528.6183f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens - }; - obj58.Steps = list79; - reference58 = obj58; - ref QuestSequence reference59 = ref span19[2]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - Span span20 = CollectionsMarshal.AsSpan(list80); - span20[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-650.58673f, 39.856243f, 371.54846f), 612) - { - Fly = true - }; - span20[1] = new QuestStep(EInteractionType.Interact, 1019130u, new Vector3(-665.3696f, 43.594574f, 364.40063f), 612); - obj59.Steps = list80; - reference59 = obj59; - ref QuestSequence reference60 = ref span19[3]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - ref QuestStep reference61 = ref CollectionsMarshal.AsSpan(list81)[0]; - QuestStep obj61 = new QuestStep(EInteractionType.Emote, 1019130u, new Vector3(-665.3696f, 43.594574f, 364.40063f), 612) - { - Emote = EEmote.Soothe - }; - num3 = 1; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - CollectionsMarshal.AsSpan(list82)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBWHM700_02418_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBWHM700_02418_A1_000_001") - }; - obj61.DialogueChoices = list82; - reference61 = obj61; - obj60.Steps = list81; - reference60 = obj60; - ref QuestSequence reference62 = ref span19[4]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - ref QuestStep reference63 = ref CollectionsMarshal.AsSpan(list83)[0]; - QuestStep obj63 = new QuestStep(EInteractionType.Combat, null, new Vector3(-381.88757f, 40.283813f, 484.82483f), 612) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - CollectionsMarshal.AsSpan(list84)[0] = 7216u; - obj63.KillEnemyDataIds = list84; - reference63 = obj63; - obj62.Steps = list83; - reference62 = obj62; - ref QuestSequence reference64 = ref span19[5]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1019127u, new Vector3(-381.88757f, 40.283813f, 484.82483f), 612) - { - ItemId = 2002053u - }; - obj64.Steps = list85; - reference64 = obj64; - ref QuestSequence reference65 = ref span19[6]; - QuestSequence obj65 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019588u, new Vector3(-382.71155f, 40.275818f, 484.36694f), 612); - obj65.Steps = list86; - reference65 = obj65; - questRoot10.QuestSequence = list77; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(2426); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - CollectionsMarshal.AsSpan(list87)[0] = "plogon_enjoyer"; - questRoot11.Author = list87; - num = 5; - List list88 = new List(num); - CollectionsMarshal.SetCount(list88, num); - Span span21 = CollectionsMarshal.AsSpan(list88); - ref QuestSequence reference66 = ref span21[0]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - ref QuestStep reference67 = ref CollectionsMarshal.AsSpan(list89)[0]; - QuestStep obj67 = new QuestStep(EInteractionType.AcceptQuest, 1006749u, new Vector3(-30.47229f, 13.599918f, 95.26196f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGoldsmith - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 2; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - Span span22 = CollectionsMarshal.AsSpan(list90); - span22[0] = 130; - span22[1] = 131; - skipAetheryteCondition.InTerritory = list90; - skipConditions3.AetheryteShortcutIf = skipAetheryteCondition; - skipConditions3.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj67.SkipConditions = skipConditions3; - reference67 = obj67; - obj66.Steps = list89; - reference66 = obj66; - ref QuestSequence reference68 = ref span21[1]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.Interact, 1013971u, new Vector3(15.854065f, 28.620823f, -682.76495f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj68.Steps = list91; - reference68 = obj68; - ref QuestSequence reference69 = ref span21[2]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.Interact, 1022372u, new Vector3(-224.90277f, 26.139341f, -353.38373f), 146) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - obj69.Steps = list92; - reference69 = obj69; - ref QuestSequence reference70 = ref span21[3]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.Interact, 1022373u, new Vector3(-81.22388f, 39.42472f, -336.96503f), 146) - { - Mount = true - }; - obj70.Steps = list93; - reference70 = obj70; - ref QuestSequence reference71 = ref span21[4]; - QuestSequence obj71 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - ref QuestStep reference72 = ref CollectionsMarshal.AsSpan(list94)[0]; - QuestStep obj72 = new QuestStep(EInteractionType.CompleteQuest, 1013971u, new Vector3(15.854065f, 28.620823f, -682.76495f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - num3 = 1; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - CollectionsMarshal.AsSpan(list95)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBMNK601_02426_Q2_000_000"), - Answer = new ExcelRef("TEXT_JOBMNK601_02426_A2_000_001") - }; - obj72.DialogueChoices = list95; - reference72 = obj72; - obj71.Steps = list94; - reference71 = obj71; - questRoot11.QuestSequence = list88; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(2427); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - CollectionsMarshal.AsSpan(list96)[0] = "plogon_enjoyer"; - questRoot12.Author = list96; - num = 8; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - Span span23 = CollectionsMarshal.AsSpan(list97); - ref QuestSequence reference73 = ref span23[0]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013971u, new Vector3(15.854065f, 28.620823f, -682.76495f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj73.Steps = list98; - reference73 = obj73; - ref QuestSequence reference74 = ref span23[1]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 1022384u, new Vector3(76.920654f, 62.19928f, -669.4591f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachFringesGate - } - }; - obj74.Steps = list99; - reference74 = obj74; - ref QuestSequence reference75 = ref span23[2]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.Interact, 1022387u, new Vector3(49.94275f, 118.155785f, -746.0899f), 620) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - obj75.Steps = list100; - reference75 = obj75; - ref QuestSequence reference76 = ref span23[3]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.Interact, 1022390u, new Vector3(51.132935f, 118.44431f, -789.27295f), 620) - { - Fly = true - }; - obj76.Steps = list101; - reference76 = obj76; - ref QuestSequence reference77 = ref span23[4]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - Span span24 = CollectionsMarshal.AsSpan(list102); - span24[0] = new QuestStep(EInteractionType.Action, null, new Vector3(46.555176f, 117.997925f, -784.2374f), 620) - { - Action = EAction.FormShift - }; - span24[1] = new QuestStep(EInteractionType.Action, 2008451u, new Vector3(46.555176f, 117.997925f, -784.2374f), 620) - { - Action = EAction.TwinSnakes - }; - obj77.Steps = list102; - reference77 = obj77; - ref QuestSequence reference78 = ref span23[5]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.Action, 2008451u, new Vector3(46.555176f, 117.997925f, -784.2374f), 620) - { - Action = EAction.DragonKick - }; - obj78.Steps = list103; - reference78 = obj78; - ref QuestSequence reference79 = ref span23[6]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.Action, 2008451u, new Vector3(46.555176f, 117.997925f, -784.2374f), 620) - { - Action = EAction.Demolish - }; - obj79.Steps = list104; - reference79 = obj79; - ref QuestSequence reference80 = ref span23[7]; - QuestSequence obj80 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022390u, new Vector3(51.132935f, 118.44431f, -789.27295f), 620) - { - StopDistance = 5f, - NextQuestId = new QuestId(2428) - }; - obj80.Steps = list105; - reference80 = obj80; - questRoot12.QuestSequence = list97; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(2428); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list106 = new List(num); - CollectionsMarshal.SetCount(list106, num); - CollectionsMarshal.AsSpan(list106)[0] = "plogon_enjoyer"; - questRoot13.Author = list106; - num = 8; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - Span span25 = CollectionsMarshal.AsSpan(list107); - ref QuestSequence reference81 = ref span25[0]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022390u, new Vector3(51.132935f, 118.44431f, -789.27295f), 620) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj81.Steps = list108; - reference81 = obj81; - ref QuestSequence reference82 = ref span25[1]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.Interact, 1003817u, new Vector3(-74.57086f, 1.9999951f, -42.404846f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - obj82.Steps = list109; - reference82 = obj82; - ref QuestSequence reference83 = ref span25[2]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.Interact, 1022390u, new Vector3(51.132935f, 118.44431f, -789.27295f), 620) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - obj83.Steps = list110; - reference83 = obj83; - ref QuestSequence reference84 = ref span25[3]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.Interact, 1022404u, new Vector3(76.43237f, 62.148823f, -667.2923f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachFringesGate - } - }; - obj84.Steps = list111; - reference84 = obj84; - ref QuestSequence reference85 = ref span25[4]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span26 = CollectionsMarshal.AsSpan(list112); - span26[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-96.72436f, 60.086643f, -602.3445f), 612) - { - Fly = true - }; - ref QuestStep reference86 = ref span26[1]; - QuestStep obj86 = new QuestStep(EInteractionType.Combat, null, new Vector3(-109.40343f, 60.039776f, -612.03217f), 612) - { - Mount = false, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - CollectionsMarshal.AsSpan(list113)[0] = 7217u; - obj86.KillEnemyDataIds = list113; - obj86.CombatDelaySecondsAtStart = 0f; - reference86 = obj86; - span26[2] = new QuestStep(EInteractionType.Interact, 1022405u, new Vector3(-106.82843f, 60.07189f, -609.49115f), 612); - obj85.Steps = list112; - reference85 = obj85; - ref QuestSequence reference87 = ref span25[5]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.Interact, 1022411u, new Vector3(-107.927124f, 60.035603f, -609.76575f), 612); - obj87.Steps = list114; - reference87 = obj87; - ref QuestSequence reference88 = ref span25[6]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.Interact, 1022412u, new Vector3(103.77649f, 118.18349f, -707.393f), 620) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - obj88.Steps = list115; - reference88 = obj88; - ref QuestSequence reference89 = ref span25[7]; - QuestSequence obj89 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023728u, new Vector3(51.132935f, 118.44431f, -789.27295f), 620) - { - Fly = true, - NextQuestId = new QuestId(2429) - }; - obj89.Steps = list116; - reference89 = obj89; - questRoot13.QuestSequence = list107; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(2429); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - CollectionsMarshal.AsSpan(list117)[0] = "plogon_enjoyer"; - questRoot14.Author = list117; - num = 9; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - Span span27 = CollectionsMarshal.AsSpan(list118); - ref QuestSequence reference90 = ref span27[0]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023728u, new Vector3(51.132935f, 118.44431f, -789.27295f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj90.Steps = list119; - reference90 = obj90; - ref QuestSequence reference91 = ref span27[1]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.Interact, 1022437u, new Vector3(81.467896f, 118.391884f, -792.7825f), 620) - { - Fly = true - }; - obj91.Steps = list120; - reference91 = obj91; - ref QuestSequence reference92 = ref span27[2]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.Interact, 1022438u, new Vector3(-61.112427f, -0.002525447f, -67.67377f), 635) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachWest - } - }; - obj92.Steps = list121; - reference92 = obj92; - ref QuestSequence reference93 = ref span27[3]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.Interact, 1023728u, new Vector3(51.132935f, 118.44431f, -789.27295f), 620) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - obj93.Steps = list122; - reference93 = obj93; - ref QuestSequence reference94 = ref span27[4]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.Interact, 1022439u, new Vector3(162.40173f, 49.7417f, -251.9112f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachFringesGate - } - }; - obj94.Steps = list123; - reference94 = obj94; - ref QuestSequence reference95 = ref span27[5]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1022442u, new Vector3(-575.1583f, 110.899315f, -324.69672f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens - }; - obj95.Steps = list124; - reference95 = obj95; - span27[6] = new QuestSequence - { - Sequence = 6 - }; - ref QuestSequence reference96 = ref span27[7]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.Interact, 1022446u, new Vector3(-586.2974f, 113.00655f, -312.7337f), 612) - { - StopDistance = 4f - }; - obj96.Steps = list125; - reference96 = obj96; - ref QuestSequence reference97 = ref span27[8]; - QuestSequence obj97 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022390u, new Vector3(51.132935f, 118.44431f, -789.27295f), 620) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha, - NextQuestId = new QuestId(2430) - }; - obj97.Steps = list126; - reference97 = obj97; - questRoot14.QuestSequence = list118; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(2430); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list127 = new List(num); - CollectionsMarshal.SetCount(list127, num); - CollectionsMarshal.AsSpan(list127)[0] = "plogon_enjoyer"; - questRoot15.Author = list127; - num = 6; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - Span span28 = CollectionsMarshal.AsSpan(list128); - ref QuestSequence reference98 = ref span28[0]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - ref QuestStep reference99 = ref CollectionsMarshal.AsSpan(list129)[0]; - QuestStep obj99 = new QuestStep(EInteractionType.AcceptQuest, 1022390u, new Vector3(51.132935f, 118.44431f, -789.27295f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - CollectionsMarshal.AsSpan(list130)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBMNK700_02430_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBMNK700_02430_A1_000_001") - }; - obj99.DialogueChoices = list130; - reference99 = obj99; - obj98.Steps = list129; - reference98 = obj98; - ref QuestSequence reference100 = ref span28[1]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.Interact, 1022532u, new Vector3(617.6089f, 271.0004f, -463.1266f), 620) - { - Fly = true - }; - obj100.Steps = list131; - reference100 = obj100; - ref QuestSequence reference101 = ref span28[2]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1022548u, new Vector3(75.638916f, 62.111427f, -665.3696f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachFringesGate - } - }; - obj101.Steps = list132; - reference101 = obj101; - span28[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference102 = ref span28[4]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - Span span29 = CollectionsMarshal.AsSpan(list133); - ref QuestStep reference103 = ref span29[0]; - QuestStep obj103 = new QuestStep(EInteractionType.Interact, 1022539u, new Vector3(54.36792f, 118.22339f, -785.12244f), 620) - { - StopDistance = 7f - }; - num3 = 6; - List list134 = new List(num3); - CollectionsMarshal.SetCount(list134, num3); - Span span30 = CollectionsMarshal.AsSpan(list134); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj103.CompletionQuestVariablesFlags = list134; - reference103 = obj103; - ref QuestStep reference104 = ref span29[1]; - QuestStep obj104 = new QuestStep(EInteractionType.Interact, 1022538u, new Vector3(51.31604f, 118.32745f, -786.9841f), 620) - { - StopDistance = 7f - }; - num3 = 6; - List list135 = new List(num3); - CollectionsMarshal.SetCount(list135, num3); - Span span31 = CollectionsMarshal.AsSpan(list135); - span31[0] = null; - span31[1] = null; - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj104.CompletionQuestVariablesFlags = list135; - reference104 = obj104; - ref QuestStep reference105 = ref span29[2]; - QuestStep obj105 = new QuestStep(EInteractionType.Interact, 1022392u, new Vector3(53.147095f, 118.4737f, -788.4489f), 620) - { - StopDistance = 7f - }; - num3 = 6; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - Span span32 = CollectionsMarshal.AsSpan(list136); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj105.CompletionQuestVariablesFlags = list136; - reference105 = obj105; - obj102.Steps = list133; - reference102 = obj102; - ref QuestSequence reference106 = ref span28[5]; - QuestSequence obj106 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022390u, new Vector3(51.132935f, 118.44431f, -789.27295f), 620) - { - StopDistance = 7f, - NextQuestId = new QuestId(3211) - }; - obj106.Steps = list137; - reference106 = obj106; - questRoot15.QuestSequence = list128; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(2446); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - CollectionsMarshal.AsSpan(list138)[0] = "JerryWester"; - questRoot16.Author = list138; - num = 5; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - Span span33 = CollectionsMarshal.AsSpan(list139); - ref QuestSequence reference107 = ref span33[0]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - Span span34 = CollectionsMarshal.AsSpan(list140); - ref QuestStep reference108 = ref span34[0]; - QuestStep obj108 = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - CollectionsMarshal.AsSpan(list141)[0] = 351; - skipStepConditions3.InTerritory = list141; - skipConditions4.StepIf = skipStepConditions3; - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num3 = 1; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - CollectionsMarshal.AsSpan(list142)[0] = 351; - skipAetheryteCondition2.InTerritory = list142; - skipConditions4.AetheryteShortcutIf = skipAetheryteCondition2; - obj108.SkipConditions = skipConditions4; - reference108 = obj108; - span34[1] = new QuestStep(EInteractionType.AcceptQuest, 1018330u, new Vector3(-4.196289f, 0.018040119f, -6.6377563f), 351); - obj107.Steps = list140; - reference107 = obj107; - ref QuestSequence reference109 = ref span33[1]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.Interact, 1020284u, new Vector3(-3.3112793f, 0.018040119f, -6.881897f), 351); - obj109.Steps = list143; - reference109 = obj109; - ref QuestSequence reference110 = ref span33[2]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.Interact, 1020300u, new Vector3(24.795776f, 6.1891203f, 401.9989f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - obj110.Steps = list144; - reference110 = obj110; - ref QuestSequence reference111 = ref span33[3]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - ref QuestStep reference112 = ref CollectionsMarshal.AsSpan(list145)[0]; - QuestStep obj112 = new QuestStep(EInteractionType.Interact, 1020303u, new Vector3(26.962646f, 6.1844764f, 400.99182f), 152) - { - StopDistance = 7f - }; - num3 = 1; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - CollectionsMarshal.AsSpan(list146)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDA101_02446_WARP_YESNO_TITLE_001") - }; - obj112.DialogueChoices = list146; - reference112 = obj112; - obj111.Steps = list145; - reference111 = obj111; - ref QuestSequence reference113 = ref span33[4]; - QuestSequence obj113 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - Span span35 = CollectionsMarshal.AsSpan(list147); - span35[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 612) - { - Aetheryte = EAetheryteLocation.FringesCastrumOriens - }; - span35[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-612.8515f, 130f, -506.81757f), 612); - span35[2] = new QuestStep(EInteractionType.CompleteQuest, 1020304u, new Vector3(-606.7445f, 130f, -506.95053f), 612) - { - StopDistance = 7f - }; - obj113.Steps = list147; - reference113 = obj113; - questRoot16.QuestSequence = list139; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(2447); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list148 = new List(num); - CollectionsMarshal.SetCount(list148, num); - CollectionsMarshal.AsSpan(list148)[0] = "JerryWester"; - questRoot17.Author = list148; - num = 6; - List list149 = new List(num); - CollectionsMarshal.SetCount(list149, num); - Span span36 = CollectionsMarshal.AsSpan(list149); - ref QuestSequence reference114 = ref span36[0]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020527u, new Vector3(-612.0852f, 130f, -504.02078f), 612) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj114.Steps = list150; - reference114 = obj114; - ref QuestSequence reference115 = ref span36[1]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.Interact, 1020311u, new Vector3(-481.2848f, 96.387344f, -341.26807f), 612); - obj115.Steps = list151; - reference115 = obj115; - ref QuestSequence reference116 = ref span36[2]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - Span span37 = CollectionsMarshal.AsSpan(list152); - span37[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2007965u, new Vector3(-487.26636f, 76.70703f, -249.56134f), 612) - { - AetherCurrentId = 2818133u - }; - span37[1] = new QuestStep(EInteractionType.Interact, 1020316u, new Vector3(-213.51953f, 59.159065f, -531.426f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens - }; - obj116.Steps = list152; - reference116 = obj116; - ref QuestSequence reference117 = ref span36[3]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - Span span38 = CollectionsMarshal.AsSpan(list153); - span38[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-124.70333f, 58.571022f, -581.12805f), 612); - span38[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2007967u, new Vector3(155.84033f, 53.3302f, -499.44305f), 612) - { - AetherCurrentId = 2818135u - }; - span38[2] = new QuestStep(EInteractionType.Interact, 1020321u, new Vector3(447.77588f, 61.497482f, -543.72473f), 612); - obj117.Steps = list153; - reference117 = obj117; - ref QuestSequence reference118 = ref span36[4]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(484.6969f, 61.72069f, -558.6724f), 612) - { - TargetTerritoryId = (ushort)635 - }; - obj118.Steps = list154; - reference118 = obj118; - ref QuestSequence reference119 = ref span36[5]; - QuestSequence obj119 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020329u, new Vector3(-32.974792f, 18.045086f, 129.41174f), 635); - obj119.Steps = list155; - reference119 = obj119; - questRoot17.QuestSequence = list149; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(2448); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list156 = new List(num); - CollectionsMarshal.SetCount(list156, num); - CollectionsMarshal.AsSpan(list156)[0] = "JerryWester"; - questRoot18.Author = list156; - num = 2; - List list157 = new List(num); - CollectionsMarshal.SetCount(list157, num); - Span span39 = CollectionsMarshal.AsSpan(list157); - ref QuestSequence reference120 = ref span39[0]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020329u, new Vector3(-32.974792f, 18.045086f, 129.41174f), 635); - obj120.Steps = list158; - reference120 = obj120; - ref QuestSequence reference121 = ref span39[1]; - QuestSequence obj121 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - Span span40 = CollectionsMarshal.AsSpan(list159); - span40[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 635) - { - AethernetShard = EAetheryteLocation.RhalgrsReachWest - }; - span40[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 635) - { - Aetheryte = EAetheryteLocation.RhalgrsReach - }; - span40[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 635) - { - AethernetShard = EAetheryteLocation.RhalgrsReachNorthEast - }; - span40[3] = new QuestStep(EInteractionType.CompleteQuest, 1019466u, new Vector3(170.91626f, 13.02367f, -91.38635f), 635); - obj121.Steps = list159; - reference121 = obj121; - questRoot18.QuestSequence = list157; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(2449); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list160 = new List(num); - CollectionsMarshal.SetCount(list160, num); - CollectionsMarshal.AsSpan(list160)[0] = "JerryWester"; - questRoot19.Author = list160; - num = 6; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - Span span41 = CollectionsMarshal.AsSpan(list161); - ref QuestSequence reference122 = ref span41[0]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020332u, new Vector3(164.90417f, 13.023668f, -91.50836f), 635) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj122.Steps = list162; - reference122 = obj122; - ref QuestSequence reference123 = ref span41[1]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.Interact, 1020339u, new Vector3(95.2926f, 1.2333723f, -78.23309f), 635); - obj123.Steps = list163; - reference123 = obj123; - ref QuestSequence reference124 = ref span41[2]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.Interact, 1020345u, new Vector3(-1.8463745f, 2.6970465f, -68.833435f), 635); - obj124.Steps = list164; - reference124 = obj124; - ref QuestSequence reference125 = ref span41[3]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.Interact, 1020346u, new Vector3(-117.60132f, 0.5980477f, -65.812195f), 635); - obj125.Steps = list165; - reference125 = obj125; - ref QuestSequence reference126 = ref span41[4]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.Interact, 1020344u, new Vector3(86.65588f, 0f, 88.70068f), 635) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReachWest, - To = EAetheryteLocation.RhalgrsReach - } - }; - obj126.Steps = list166; - reference126 = obj126; - ref QuestSequence reference127 = ref span41[5]; - QuestSequence obj127 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020347u, new Vector3(59.67798f, -8.1507994E-13f, -4.0742188f), 635); - obj127.Steps = list167; - reference127 = obj127; - questRoot19.QuestSequence = list161; - AddQuest(questId19, questRoot19); - } - - private static void LoadQuests49() - { - QuestId questId = new QuestId(2450); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "JerryWester"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020341u, new Vector3(61.17334f, -9.369123E-13f, -4.6845703f), 635) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1019466u, new Vector3(170.91626f, 13.02367f, -91.38635f), 635); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020333u, new Vector3(164.14124f, 13.023669f, -92.30188f), 635); - obj3.Steps = list5; - reference3 = obj3; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(2451); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list6 = new List(num); - CollectionsMarshal.SetCount(list6, num); - CollectionsMarshal.AsSpan(list6)[0] = "JerryWester"; - questRoot2.Author = list6; - num = 5; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - Span span2 = CollectionsMarshal.AsSpan(list7); - ref QuestSequence reference4 = ref span2[0]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020337u, new Vector3(171.31299f, 13.02367f, -89.951965f), 635) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj4.Steps = list8; - reference4 = obj4; - ref QuestSequence reference5 = ref span2[1]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.Interact, 1020395u, new Vector3(-37.67456f, 18.448887f, 133.28748f), 635); - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference6 = ref span2[2]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span3 = CollectionsMarshal.AsSpan(list10); - span3[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-30.398779f, 12.536386f, 167.62189f), 635) - { - TargetTerritoryId = (ushort)612 - }; - span3[1] = new QuestStep(EInteractionType.Interact, 1020498u, new Vector3(158.12915f, 49.714592f, -475.27277f), 612); - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span2[3]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - ref QuestStep reference8 = ref CollectionsMarshal.AsSpan(list11)[0]; - QuestStep obj8 = new QuestStep(EInteractionType.Combat, 2008157u, new Vector3(58.426758f, 51.895874f, -482.32245f), 612) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - int num3 = 2; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - Span span4 = CollectionsMarshal.AsSpan(list12); - span4[0] = 7553u; - span4[1] = 7554u; - obj8.KillEnemyDataIds = list12; - reference8 = obj8; - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference9 = ref span2[4]; - QuestSequence obj9 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020351u, new Vector3(-95.84198f, 59.801033f, -551.9341f), 612); - obj9.Steps = list13; - reference9 = obj9; - questRoot2.QuestSequence = list7; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(2452); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - CollectionsMarshal.AsSpan(list14)[0] = "JerryWester"; - questRoot3.Author = list14; - num = 3; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - Span span5 = CollectionsMarshal.AsSpan(list15); - ref QuestSequence reference10 = ref span5[0]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020351u, new Vector3(-95.84198f, 59.801033f, -551.9341f), 612); - obj10.Steps = list16; - reference10 = obj10; - ref QuestSequence reference11 = ref span5[1]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.Interact, 1020353u, new Vector3(-394.85773f, 105.037674f, -425.5589f), 612); - obj11.Steps = list17; - reference11 = obj11; - ref QuestSequence reference12 = ref span5[2]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020304u, new Vector3(-606.7445f, 130f, -506.95053f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens - }; - obj12.Steps = list18; - reference12 = obj12; - questRoot3.QuestSequence = list15; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(2453); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - CollectionsMarshal.AsSpan(list19)[0] = "JerryWester"; - questRoot4.Author = list19; - num = 4; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - Span span6 = CollectionsMarshal.AsSpan(list20); - ref QuestSequence reference13 = ref span6[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020304u, new Vector3(-606.7445f, 130f, -506.95053f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj13.Steps = list21; - reference13 = obj13; - ref QuestSequence reference14 = ref span6[1]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - Span span7 = CollectionsMarshal.AsSpan(list22); - span7[0] = new QuestStep(EInteractionType.AcceptQuest, 1019517u, new Vector3(-653.0099f, 129.91537f, -510.67374f), 612) - { - PickUpQuestId = new QuestId(2639) - }; - ref QuestStep reference15 = ref span7[1]; - QuestStep obj15 = new QuestStep(EInteractionType.Combat, 2007955u, new Vector3(-228.22925f, 59.861084f, -409.5064f), 612) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - Span span8 = CollectionsMarshal.AsSpan(list23); - span8[0] = 8048u; - span8[1] = 8049u; - obj15.KillEnemyDataIds = list23; - reference15 = obj15; - obj14.Steps = list22; - reference14 = obj14; - ref QuestSequence reference16 = ref span6[2]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1020503u, new Vector3(-494.16345f, 82.14899f, -266.8651f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj16.Steps = list24; - reference16 = obj16; - ref QuestSequence reference17 = ref span6[3]; - QuestSequence obj17 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020361u, new Vector3(-507.4388f, 86.34846f, -289.84515f), 612) - { - StopDistance = 5f - }; - obj17.Steps = list25; - reference17 = obj17; - questRoot4.QuestSequence = list20; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(2454); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - CollectionsMarshal.AsSpan(list26)[0] = "JerryWester"; - questRoot5.Author = list26; - num = 2; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - Span span9 = CollectionsMarshal.AsSpan(list27); - ref QuestSequence reference18 = ref span9[0]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020361u, new Vector3(-507.4388f, 86.34846f, -289.84515f), 612) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj18.Steps = list28; - reference18 = obj18; - ref QuestSequence reference19 = ref span9[1]; - QuestSequence obj19 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020337u, new Vector3(171.31299f, 13.02367f, -89.951965f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachNorthEast - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj19.Steps = list29; - reference19 = obj19; - questRoot5.QuestSequence = list27; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(2455); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - CollectionsMarshal.AsSpan(list30)[0] = "JerryWester"; - questRoot6.Author = list30; - num = 6; - List list31 = new List(num); - CollectionsMarshal.SetCount(list31, num); - Span span10 = CollectionsMarshal.AsSpan(list31); - ref QuestSequence reference20 = ref span10[0]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020338u, new Vector3(170.30591f, 13.02367f, -93.06476f), 635) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj20.Steps = list32; - reference20 = obj20; - ref QuestSequence reference21 = ref span10[1]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Interact, 1020366u, new Vector3(114.18323f, 0.6520416f, -11.673218f), 635); - obj21.Steps = list33; - reference21 = obj21; - ref QuestSequence reference22 = ref span10[2]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(132.8247f, -0.57445294f, -3.299387f), 635) - { - TargetTerritoryId = (ushort)620 - }; - obj22.Steps = list34; - reference22 = obj22; - ref QuestSequence reference23 = ref span10[3]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.Interact, 1020368u, new Vector3(-641.2604f, 50.867527f, -784.1764f), 620) - { - StopDistance = 7f - }; - obj23.Steps = list35; - reference23 = obj23; - ref QuestSequence reference24 = ref span10[4]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.Interact, 1020370u, new Vector3(-384.7563f, 52.201828f, -636.4691f), 620); - obj24.Steps = list36; - reference24 = obj24; - ref QuestSequence reference25 = ref span10[5]; - QuestSequence obj25 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020372u, new Vector3(36.423218f, 117.95596f, -742.2446f), 620); - obj25.Steps = list37; - reference25 = obj25; - questRoot6.QuestSequence = list31; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(2456); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - CollectionsMarshal.AsSpan(list38)[0] = "JerryWester"; - questRoot7.Author = list38; - num = 3; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - Span span11 = CollectionsMarshal.AsSpan(list39); - ref QuestSequence reference26 = ref span11[0]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020372u, new Vector3(36.423218f, 117.95596f, -742.2446f), 620); - obj26.Steps = list40; - reference26 = obj26; - ref QuestSequence reference27 = ref span11[1]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - Span span12 = CollectionsMarshal.AsSpan(list41); - span12[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 620) - { - Aetheryte = EAetheryteLocation.PeaksAlaGannha - }; - span12[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2007976u, new Vector3(202.86865f, 133.89783f, -753.1395f), 620) - { - AetherCurrentId = 2818149u - }; - span12[2] = new QuestStep(EInteractionType.Interact, 1020841u, new Vector3(146.01355f, 118.1921f, -730.4951f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - obj27.Steps = list41; - reference27 = obj27; - ref QuestSequence reference28 = ref span11[2]; - QuestSequence obj28 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020374u, new Vector3(89.21948f, 119.4052f, -684.7792f), 620); - obj28.Steps = list42; - reference28 = obj28; - questRoot7.QuestSequence = list39; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(2457); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - CollectionsMarshal.AsSpan(list43)[0] = "JerryWester"; - questRoot8.Author = list43; - num = 4; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - Span span13 = CollectionsMarshal.AsSpan(list44); - ref QuestSequence reference29 = ref span13[0]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020376u, new Vector3(95.44519f, 118.15579f, -758.053f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj29.Steps = list45; - reference29 = obj29; - ref QuestSequence reference30 = ref span13[1]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 1020375u, new Vector3(78.87378f, 118.26358f, -779.69025f), 620); - obj30.Steps = list46; - reference30 = obj30; - ref QuestSequence reference31 = ref span13[2]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Interact, 1020374u, new Vector3(89.21948f, 119.4052f, -684.7792f), 620); - obj31.Steps = list47; - reference31 = obj31; - ref QuestSequence reference32 = ref span13[3]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020379u, new Vector3(85.40466f, 118.15579f, -719.96643f), 620) - { - StopDistance = 5f - }; - obj32.Steps = list48; - reference32 = obj32; - questRoot8.QuestSequence = list44; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(2458); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - CollectionsMarshal.AsSpan(list49)[0] = "JerryWester"; - questRoot9.Author = list49; - num = 6; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - Span span14 = CollectionsMarshal.AsSpan(list50); - ref QuestSequence reference33 = ref span14[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020379u, new Vector3(85.40466f, 118.15579f, -719.96643f), 620) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj33.Steps = list51; - reference33 = obj33; - ref QuestSequence reference34 = ref span14[1]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - Span span15 = CollectionsMarshal.AsSpan(list52); - span15[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-98.166626f, 104.979965f, -480.49606f), 620); - span15[1] = new QuestStep(EInteractionType.Interact, 2008681u, new Vector3(-257.70966f, 102.311646f, -381.36877f), 620); - obj34.Steps = list52; - reference34 = obj34; - ref QuestSequence reference35 = ref span14[2]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - ref QuestStep reference36 = ref CollectionsMarshal.AsSpan(list53)[0]; - QuestStep obj36 = new QuestStep(EInteractionType.Combat, null, new Vector3(-281.2972f, 104.584076f, -359.10394f), 620) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - CollectionsMarshal.AsSpan(list54)[0] = 7514u; - obj36.KillEnemyDataIds = list54; - reference36 = obj36; - obj35.Steps = list53; - reference35 = obj35; - ref QuestSequence reference37 = ref span14[3]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - Span span16 = CollectionsMarshal.AsSpan(list55); - span16[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2007978u, new Vector3(-271.2597f, 157.91565f, -280.2625f), 620) - { - AetherCurrentId = 2818151u - }; - span16[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-270.3264f, 202.14117f, -232.75537f), 620); - span16[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-270.3756f, 200.71988f, -237.96118f), 620) - { - DisableNavmesh = true - }; - ref QuestStep reference38 = ref span16[3]; - QuestStep obj38 = new QuestStep(EInteractionType.Combat, null, new Vector3(-281.3983f, 200.71988f, -294.9439f), 620) - { - StopDistance = 0.25f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - Span span17 = CollectionsMarshal.AsSpan(list56); - span17[0] = 7555u; - span17[1] = 8047u; - obj38.KillEnemyDataIds = list56; - reference38 = obj38; - obj37.Steps = list55; - reference37 = obj37; - ref QuestSequence reference39 = ref span14[4]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.Interact, 1020380u, new Vector3(-281.5138f, 200.71988f, -294.0871f), 620); - obj39.Steps = list57; - reference39 = obj39; - ref QuestSequence reference40 = ref span14[5]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020382u, new Vector3(-284.596f, 200.71988f, -287.2511f), 620); - obj40.Steps = list58; - reference40 = obj40; - questRoot9.QuestSequence = list50; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(2459); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - CollectionsMarshal.AsSpan(list59)[0] = "JerryWester"; - questRoot10.Author = list59; - num = 4; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - Span span18 = CollectionsMarshal.AsSpan(list60); - ref QuestSequence reference41 = ref span18[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020382u, new Vector3(-284.596f, 200.71988f, -287.2511f), 620); - obj41.Steps = list61; - reference41 = obj41; - ref QuestSequence reference42 = ref span18[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - Span span19 = CollectionsMarshal.AsSpan(list62); - span19[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-281.5496f, 200.71988f, -258.17767f), 620) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(-281.22574f, 192.18245f, -239.78777f) - } - }; - span19[1] = new QuestStep(EInteractionType.Interact, 2008684u, new Vector3(-200.4273f, 95.26196f, -448.23383f), 620); - obj42.Steps = list62; - reference42 = obj42; - ref QuestSequence reference43 = ref span18[2]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.Interact, 1020385u, new Vector3(-111.711365f, 105.71431f, -364.065f), 620); - obj43.Steps = list63; - reference43 = obj43; - ref QuestSequence reference44 = ref span18[3]; - QuestSequence obj44 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020387u, new Vector3(-140.94757f, 104.16588f, -401.81586f), 620); - obj44.Steps = list64; - reference44 = obj44; - questRoot10.QuestSequence = list60; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(2460); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - CollectionsMarshal.AsSpan(list65)[0] = "JerryWester"; - questRoot11.Author = list65; - num = 5; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - Span span20 = CollectionsMarshal.AsSpan(list66); - ref QuestSequence reference45 = ref span20[0]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020387u, new Vector3(-140.94757f, 104.16588f, -401.81586f), 620); - obj45.Steps = list67; - reference45 = obj45; - ref QuestSequence reference46 = ref span20[1]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Interact, 1020841u, new Vector3(146.01355f, 118.1921f, -730.4951f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - obj46.Steps = list68; - reference46 = obj46; - ref QuestSequence reference47 = ref span20[2]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1020511u, new Vector3(143.81628f, 118.1921f, -732.93665f), 620) - { - StopDistance = 5f - }; - obj47.Steps = list69; - reference47 = obj47; - ref QuestSequence reference48 = ref span20[3]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.Interact, 1020512u, new Vector3(35.080444f, 117.831955f, -728.0537f), 620); - obj48.Steps = list70; - reference48 = obj48; - ref QuestSequence reference49 = ref span20[4]; - QuestSequence obj49 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - Span span21 = CollectionsMarshal.AsSpan(list71); - span21[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(165.07161f, 13.02367f, -91.94302f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachNorthEast - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span21[1] = new QuestStep(EInteractionType.CompleteQuest, 1020338u, new Vector3(170.30591f, 13.02367f, -93.06476f), 635) - { - StopDistance = 7f - }; - obj49.Steps = list71; - reference49 = obj49; - questRoot11.QuestSequence = list66; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(2461); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - CollectionsMarshal.AsSpan(list72)[0] = "JerryWester"; - questRoot12.Author = list72; - num = 2; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - Span span22 = CollectionsMarshal.AsSpan(list73); - ref QuestSequence reference50 = ref span22[0]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019466u, new Vector3(170.91626f, 13.02367f, -91.38635f), 635) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj50.Steps = list74; - reference50 = obj50; - ref QuestSequence reference51 = ref span22[1]; - QuestSequence obj51 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020390u, new Vector3(164.2633f, 13.02367f, -88.91437f), 635) - { - StopDistance = 5f - }; - obj51.Steps = list75; - reference51 = obj51; - questRoot12.QuestSequence = list73; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(2462); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - CollectionsMarshal.AsSpan(list76)[0] = "JerryWester"; - questRoot13.Author = list76; - num = 5; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - Span span23 = CollectionsMarshal.AsSpan(list77); - ref QuestSequence reference52 = ref span23[0]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020332u, new Vector3(164.90417f, 13.023668f, -91.50836f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj52.Steps = list78; - reference52 = obj52; - ref QuestSequence reference53 = ref span23[1]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.Interact, 1020342u, new Vector3(-137.86536f, 0.59805053f, -80.27777f), 635) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReachNorthEast, - To = EAetheryteLocation.RhalgrsReachWest - } - }; - obj53.Steps = list79; - reference53 = obj53; - ref QuestSequence reference54 = ref span23[2]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.Interact, 1020324u, new Vector3(-35.90454f, 18.50759f, 134.14197f), 635); - obj54.Steps = list80; - reference54 = obj54; - ref QuestSequence reference55 = ref span23[3]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - Span span24 = CollectionsMarshal.AsSpan(list81); - span24[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-611.21484f, 130f, -503.3509f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens - }; - span24[1] = new QuestStep(EInteractionType.Interact, 1020304u, new Vector3(-606.7445f, 130f, -506.95053f), 612) - { - StopDistance = 7f - }; - obj55.Steps = list81; - reference55 = obj55; - ref QuestSequence reference56 = ref span23[4]; - QuestSequence obj56 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020526u, new Vector3(-609.6132f, 130f, -501.12158f), 612) - { - StopDistance = 5f - }; - obj56.Steps = list82; - reference56 = obj56; - questRoot13.QuestSequence = list77; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(2463); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list83 = new List(num); - CollectionsMarshal.SetCount(list83, num); - CollectionsMarshal.AsSpan(list83)[0] = "JerryWester"; - questRoot14.Author = list83; - num = 3; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - Span span25 = CollectionsMarshal.AsSpan(list84); - ref QuestSequence reference57 = ref span25[0]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020354u, new Vector3(-605.2186f, 130f, -506.2486f), 612) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj57.Steps = list85; - reference57 = obj57; - ref QuestSequence reference58 = ref span25[1]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1020399u, new Vector3(-115.80072f, 40.833466f, -37.766113f), 612) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj58.Steps = list86; - reference58 = obj58; - ref QuestSequence reference59 = ref span25[2]; - QuestSequence obj59 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020400u, new Vector3(71.30542f, 0.024691548f, -75.76111f), 635) - { - StopDistance = 5f - }; - obj59.Steps = list87; - reference59 = obj59; - questRoot14.QuestSequence = list84; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(2464); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list88 = new List(num); - CollectionsMarshal.SetCount(list88, num); - CollectionsMarshal.AsSpan(list88)[0] = "JerryWester"; - questRoot15.Author = list88; - num = 3; - List list89 = new List(num); - CollectionsMarshal.SetCount(list89, num); - Span span26 = CollectionsMarshal.AsSpan(list89); - ref QuestSequence reference60 = ref span26[0]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020400u, new Vector3(71.30542f, 0.024691548f, -75.76111f), 635) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj60.Steps = list90; - reference60 = obj60; - ref QuestSequence reference61 = ref span26[1]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.Interact, 1020411u, new Vector3(50.644653f, 0f, 3.0975342f), 635); - obj61.Steps = list91; - reference61 = obj61; - ref QuestSequence reference62 = ref span26[2]; - QuestSequence obj62 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - Span span27 = CollectionsMarshal.AsSpan(list92); - span27[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(2.6558871f, -2.1714334f, -3.1224606f), 635) - { - Mount = true - }; - span27[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-29.991734f, -0.5866744f, -14.3459f), 635); - span27[2] = new QuestStep(EInteractionType.CompleteQuest, 1020416u, new Vector3(-135.82056f, 0.59805036f, -83.634705f), 635); - obj62.Steps = list92; - reference62 = obj62; - questRoot15.QuestSequence = list89; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(2465); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list93 = new List(num); - CollectionsMarshal.SetCount(list93, num); - CollectionsMarshal.AsSpan(list93)[0] = "JerryWester"; - questRoot16.Author = list93; - num = 4; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - Span span28 = CollectionsMarshal.AsSpan(list94); - ref QuestSequence reference63 = ref span28[0]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020420u, new Vector3(-139.63531f, 0.598051f, -81.498474f), 635) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj63.Steps = list95; - reference63 = obj63; - ref QuestSequence reference64 = ref span28[1]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.Interact, 1019486u, new Vector3(-116.746826f, 0.6342248f, -55.832825f), 635); - obj64.Steps = list96; - reference64 = obj64; - ref QuestSequence reference65 = ref span28[2]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - Span span29 = CollectionsMarshal.AsSpan(list97); - ref QuestStep reference66 = ref span29[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2008158u, new Vector3(-110.21594f, 2.2735596f, -72.95343f), 635); - num3 = 6; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - Span span30 = CollectionsMarshal.AsSpan(list98); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list98; - reference66 = questStep; - ref QuestStep reference67 = ref span29[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2008160u, new Vector3(-133.25708f, 1.8463135f, -56.595703f), 635); - num3 = 6; - List list99 = new List(num3); - CollectionsMarshal.SetCount(list99, num3); - Span span31 = CollectionsMarshal.AsSpan(list99); - span31[0] = null; - span31[1] = null; - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list99; - reference67 = questStep2; - span29[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-128.45901f, 0.59804773f, -52.17099f), 635) - { - DisableNavmesh = true - }; - ref QuestStep reference68 = ref span29[3]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2008159u, new Vector3(-139.23859f, 1.9073486f, -33.707214f), 635); - num3 = 6; - List list100 = new List(num3); - CollectionsMarshal.SetCount(list100, num3); - Span span32 = CollectionsMarshal.AsSpan(list100); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list100; - reference68 = questStep3; - obj65.Steps = list97; - reference65 = obj65; - ref QuestSequence reference69 = ref span28[3]; - QuestSequence obj66 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020422u, new Vector3(-85.923584f, -3.615388E-12f, -18.051514f), 635); - obj66.Steps = list101; - reference69 = obj66; - questRoot16.QuestSequence = list94; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(2466); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - CollectionsMarshal.AsSpan(list102)[0] = "JerryWester"; - questRoot17.Author = list102; - num = 4; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - Span span33 = CollectionsMarshal.AsSpan(list103); - ref QuestSequence reference70 = ref span33[0]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020431u, new Vector3(-91.233765f, -3.968323E-12f, -19.821533f), 635) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj67.Steps = list104; - reference70 = obj67; - ref QuestSequence reference71 = ref span33[1]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 1020400u, new Vector3(71.30542f, 0.024691548f, -75.76111f), 635) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReachWest, - To = EAetheryteLocation.RhalgrsReachNorthEast - } - }; - obj68.Steps = list105; - reference71 = obj68; - ref QuestSequence reference72 = ref span33[2]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - Span span34 = CollectionsMarshal.AsSpan(list106); - ref QuestStep reference73 = ref span34[0]; - QuestStep obj70 = new QuestStep(EInteractionType.AcceptQuest, 1020841u, new Vector3(146.01355f, 118.1921f, -730.4951f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - CollectionsMarshal.AsSpan(list107)[0] = new QuestId(2655); - skipAetheryteCondition.QuestsCompleted = list107; - skipConditions.AetheryteShortcutIf = skipAetheryteCondition; - obj70.SkipConditions = skipConditions; - obj70.PickUpQuestId = new QuestId(2655); - reference73 = obj70; - span34[1] = new QuestStep(EInteractionType.Interact, 1020432u, new Vector3(-612.3904f, 130.1009f, -481.68158f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens - }; - obj69.Steps = list106; - reference72 = obj69; - ref QuestSequence reference74 = ref span33[3]; - QuestSequence obj71 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020525u, new Vector3(-610.2846f, 130f, -501.8845f), 612); - obj71.Steps = list108; - reference74 = obj71; - questRoot17.QuestSequence = list103; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(2467); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - CollectionsMarshal.AsSpan(list109)[0] = "JerryWester"; - questRoot18.Author = list109; - num = 3; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - Span span35 = CollectionsMarshal.AsSpan(list110); - ref QuestSequence reference75 = ref span35[0]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020526u, new Vector3(-609.6132f, 130f, -501.12158f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj72.Steps = list111; - reference75 = obj72; - ref QuestSequence reference76 = ref span35[1]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span36 = CollectionsMarshal.AsSpan(list112); - span36[0] = new QuestStep(EInteractionType.AcceptQuest, 1019519u, new Vector3(-613.1228f, 130f, -529.839f), 612) - { - PickUpQuestId = new QuestId(2661) - }; - span36[1] = new QuestStep(EInteractionType.Interact, 1020434u, new Vector3(13.534729f, 43.999996f, -36.850586f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj73.Steps = list112; - reference76 = obj73; - ref QuestSequence reference77 = ref span35[2]; - QuestSequence obj74 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020434u, new Vector3(13.534729f, 43.999996f, -36.850586f), 128); - obj74.Steps = list113; - reference77 = obj74; - questRoot18.QuestSequence = list110; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(2468); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list114 = new List(num); - CollectionsMarshal.SetCount(list114, num); - CollectionsMarshal.AsSpan(list114)[0] = "JerryWester"; - questRoot19.Author = list114; - num = 4; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - Span span37 = CollectionsMarshal.AsSpan(list115); - ref QuestSequence reference78 = ref span37[0]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020434u, new Vector3(13.534729f, 43.999996f, -36.850586f), 128); - obj75.Steps = list116; - reference78 = obj75; - ref QuestSequence reference79 = ref span37[1]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.Interact, 1020436u, new Vector3(40.57373f, 20.495369f, -648.73737f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj76.Steps = list117; - reference79 = obj76; - ref QuestSequence reference80 = ref span37[2]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - Span span38 = CollectionsMarshal.AsSpan(list118); - span38[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351 - }; - ref QuestStep reference81 = ref span38[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1020499u, new Vector3(-7.7058716f, 0.009977884f, 6.881775f), 351); - num3 = 6; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - Span span39 = CollectionsMarshal.AsSpan(list119); - span39[0] = null; - span39[1] = null; - span39[2] = null; - span39[3] = null; - span39[4] = null; - span39[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list119; - reference81 = questStep4; - ref QuestStep reference82 = ref span38[2]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1020529u, new Vector3(6.6071167f, 0f, -8.46875f), 351); - num3 = 6; - List list120 = new List(num3); - CollectionsMarshal.SetCount(list120, num3); - Span span40 = CollectionsMarshal.AsSpan(list120); - span40[0] = null; - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list120; - reference82 = questStep5; - ref QuestStep reference83 = ref span38[3]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1020528u, new Vector3(34.10388f, -1f, 1.4190674f), 351); - num3 = 6; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - Span span41 = CollectionsMarshal.AsSpan(list121); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list121; - reference83 = questStep6; - obj77.Steps = list118; - reference80 = obj77; - ref QuestSequence reference84 = ref span37[3]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - Span span42 = CollectionsMarshal.AsSpan(list122); - span42[0] = new QuestStep(EInteractionType.Interact, 2002879u, new Vector3(-0.015319824f, 2.9754639f, 27.481445f), 351) - { - TargetTerritoryId = (ushort)156 - }; - span42[1] = new QuestStep(EInteractionType.CompleteQuest, 1020436u, new Vector3(40.57373f, 20.495369f, -648.73737f), 156); - obj78.Steps = list122; - reference84 = obj78; - questRoot19.QuestSequence = list115; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(2469); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - CollectionsMarshal.AsSpan(list123)[0] = "JerryWester"; - questRoot20.Author = list123; - num = 7; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - Span span43 = CollectionsMarshal.AsSpan(list124); - ref QuestSequence reference85 = ref span43[0]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020436u, new Vector3(40.57373f, 20.495369f, -648.73737f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj79.Steps = list125; - reference85 = obj79; - ref QuestSequence reference86 = ref span43[1]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.Interact, 1020439u, new Vector3(-355.55048f, 7.9999094f, 38.712036f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - } - }; - obj80.Steps = list126; - reference86 = obj80; - ref QuestSequence reference87 = ref span43[2]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - ref QuestStep reference88 = ref CollectionsMarshal.AsSpan(list127)[0]; - QuestStep obj82 = new QuestStep(EInteractionType.Interact, 1020442u, new Vector3(-357.65625f, 8.000015f, 45.822754f), 129) - { - StopDistance = 7f - }; - num3 = 1; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - CollectionsMarshal.AsSpan(list128)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDA139_02469_EVENTAREA_WARP_YESNO_TITLE") - }; - obj82.DialogueChoices = list128; - reference88 = obj82; - obj81.Steps = list127; - reference87 = obj81; - ref QuestSequence reference89 = ref span43[3]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.Interact, 1020447u, new Vector3(5.0201416f, 21.347214f, -39.07837f), 680); - obj83.Steps = list129; - reference89 = obj83; - ref QuestSequence reference90 = ref span43[4]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.Duty, null, null, 680) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 238u - } - }; - obj84.Steps = list130; - reference90 = obj84; - span43[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference91 = ref span43[6]; - QuestSequence obj85 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020454u, new Vector3(-123.09454f, -6.9999976f, -58.884644f), 628) - { - StopDistance = 6f - }; - obj85.Steps = list131; - reference91 = obj85; - questRoot20.QuestSequence = list124; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(2470); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list132 = new List(num); - CollectionsMarshal.SetCount(list132, num); - CollectionsMarshal.AsSpan(list132)[0] = "JerryWester"; - questRoot21.Author = list132; - num = 3; - List list133 = new List(num); - CollectionsMarshal.SetCount(list133, num); - Span span44 = CollectionsMarshal.AsSpan(list133); - ref QuestSequence reference92 = ref span44[0]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020450u, new Vector3(-124.52893f, -6.9999976f, -55.832825f), 628) - { - StopDistance = 6f - }; - obj86.Steps = list134; - reference92 = obj86; - ref QuestSequence reference93 = ref span44[1]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.Interact, 1020455u, new Vector3(-63.34027f, -2.711526f, -58.396362f), 628) - { - StopDistance = 5f - }; - obj87.Steps = list135; - reference93 = obj87; - ref QuestSequence reference94 = ref span44[2]; - QuestSequence obj88 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - Span span45 = CollectionsMarshal.AsSpan(list136); - span45[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 628) - { - AethernetShard = EAetheryteLocation.KuganeShiokazeHostelry - }; - span45[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 628) - { - Aetheryte = EAetheryteLocation.Kugane - }; - span45[2] = new QuestStep(EInteractionType.CompleteQuest, 1020460u, new Vector3(17.92926f, -1.5668043E-05f, -41.21466f), 628); - obj88.Steps = list136; - reference94 = obj88; - questRoot21.QuestSequence = list133; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(2471); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list137 = new List(num); - CollectionsMarshal.SetCount(list137, num); - CollectionsMarshal.AsSpan(list137)[0] = "JerryWester"; - questRoot22.Author = list137; - num = 4; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - Span span46 = CollectionsMarshal.AsSpan(list138); - ref QuestSequence reference95 = ref span46[0]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020460u, new Vector3(17.92926f, -1.5668043E-05f, -41.21466f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj89.Steps = list139; - reference95 = obj89; - ref QuestSequence reference96 = ref span46[1]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.Interact, 1020461u, new Vector3(24.582275f, 4f, 68.28406f), 628); - obj90.Steps = list140; - reference96 = obj90; - ref QuestSequence reference97 = ref span46[2]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - Span span47 = CollectionsMarshal.AsSpan(list141); - span47[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 628) - { - AethernetShard = EAetheryteLocation.KuganeMarkets - }; - span47[1] = new QuestStep(EInteractionType.Interact, 1022359u, new Vector3(88.12085f, 4f, 69.7489f), 628); - obj91.Steps = list141; - reference97 = obj91; - ref QuestSequence reference98 = ref span46[3]; - QuestSequence obj92 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020462u, new Vector3(95.140015f, 8.02f, 151.9646f), 628); - obj92.Steps = list142; - reference98 = obj92; - questRoot22.QuestSequence = list138; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(2472); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - CollectionsMarshal.AsSpan(list143)[0] = "JerryWester"; - questRoot23.Author = list143; - num = 3; - List list144 = new List(num); - CollectionsMarshal.SetCount(list144, num); - Span span48 = CollectionsMarshal.AsSpan(list144); - ref QuestSequence reference99 = ref span48[0]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020462u, new Vector3(95.140015f, 8.02f, 151.9646f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj93.Steps = list145; - reference99 = obj93; - ref QuestSequence reference100 = ref span48[1]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - Span span49 = CollectionsMarshal.AsSpan(list146); - span49[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 628) - { - AethernetShard = EAetheryteLocation.KuganeRubyBazaar - }; - span49[1] = new QuestStep(EInteractionType.Interact, 1020480u, new Vector3(150.80493f, 14.7757225f, 92.454346f), 628); - obj94.Steps = list146; - reference100 = obj94; - ref QuestSequence reference101 = ref span48[2]; - QuestSequence obj95 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020465u, new Vector3(1.5411377f, 0f, -0.96136475f), 639) - { - StopDistance = 7f - }; - obj95.Steps = list147; - reference101 = obj95; - questRoot23.QuestSequence = list144; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(2473); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list148 = new List(num); - CollectionsMarshal.SetCount(list148, num); - CollectionsMarshal.AsSpan(list148)[0] = "JerryWester"; - questRoot24.Author = list148; - num = 7; - List list149 = new List(num); - CollectionsMarshal.SetCount(list149, num); - Span span50 = CollectionsMarshal.AsSpan(list149); - ref QuestSequence reference102 = ref span50[0]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020465u, new Vector3(1.5411377f, 0f, -0.96136475f), 639) - { - StopDistance = 7f - }; - obj96.Steps = list150; - reference102 = obj96; - ref QuestSequence reference103 = ref span50[1]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.Interact, 1022086u, new Vector3(142.47339f, 14.7757225f, 90.4707f), 628); - obj97.Steps = list151; - reference103 = obj97; - ref QuestSequence reference104 = ref span50[2]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.UseItem, null, new Vector3(142.47339f, 14.7757225f, 90.4707f), 628) - { - ItemId = 2002099u - }; - obj98.Steps = list152; - reference104 = obj98; - ref QuestSequence reference105 = ref span50[3]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - Span span51 = CollectionsMarshal.AsSpan(list153); - span51[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 628) - { - AethernetShard = EAetheryteLocation.KuganeRakuzaDistrict, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeRubyBazaar, - To = EAetheryteLocation.Kugane - } - }; - span51[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 628) - { - AethernetShard = EAetheryteLocation.KuganeBokairoInn - }; - span51[2] = new QuestStep(EInteractionType.Interact, 1018982u, new Vector3(-83.08539f, 18.05f, -191.14978f), 628); - obj99.Steps = list153; - reference105 = obj99; - ref QuestSequence reference106 = ref span50[4]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.Interact, 1019002u, new Vector3(-48.05072f, -2.9f, -50.247986f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeBokairoInn, - To = EAetheryteLocation.KuganeShiokazeHostelry - } - }; - obj100.Steps = list154; - reference106 = obj100; - ref QuestSequence reference107 = ref span50[5]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - Span span52 = CollectionsMarshal.AsSpan(list155); - ref QuestStep reference108 = ref span52[0]; - QuestStep obj102 = new QuestStep(EInteractionType.Interact, 1020471u, new Vector3(-81.83417f, -3f, 34.50061f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeShiokazeHostelry, - To = EAetheryteLocation.KuganeMarkets - } - }; - num3 = 6; - List list156 = new List(num3); - CollectionsMarshal.SetCount(list156, num3); - Span span53 = CollectionsMarshal.AsSpan(list156); - span53[0] = null; - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj102.CompletionQuestVariablesFlags = list156; - reference108 = obj102; - ref QuestStep reference109 = ref span52[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1020469u, new Vector3(-108.50696f, -5.999997f, 72.098755f), 628); - num3 = 6; - List list157 = new List(num3); - CollectionsMarshal.SetCount(list157, num3); - Span span54 = CollectionsMarshal.AsSpan(list157); - span54[0] = null; - span54[1] = null; - span54[2] = null; - span54[3] = null; - span54[4] = null; - span54[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list157; - reference109 = questStep7; - ref QuestStep reference110 = ref span52[2]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1020470u, new Vector3(-158.64807f, 4.000002f, 86.96118f), 628); - num3 = 6; - List list158 = new List(num3); - CollectionsMarshal.SetCount(list158, num3); - Span span55 = CollectionsMarshal.AsSpan(list158); - span55[0] = null; - span55[1] = null; - span55[2] = null; - span55[3] = null; - span55[4] = null; - span55[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list158; - reference110 = questStep8; - obj101.Steps = list155; - reference107 = obj101; - ref QuestSequence reference111 = ref span50[6]; - QuestSequence obj103 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 6; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - Span span56 = CollectionsMarshal.AsSpan(list159); - span56[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-132.33249f, 4.510561f, 117.53347f), 628) - { - StopDistance = 0.25f, - JumpDestination = new JumpDestination - { - Position = new Vector3(-131.75923f, 6.245034f, 123.01645f), - StopDistance = 0.5f - } - }; - span56[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-125.70999f, 8.414458f, 123.2643f), 628) - { - DisableNavmesh = true - }; - span56[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-124.25544f, -4.999999f, 145.54941f), 628) - { - DisableNavmesh = true - }; - span56[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 628) - { - DisableNavmesh = true, - AethernetShard = EAetheryteLocation.KuganePier1 - }; - span56[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 628) - { - AethernetShard = EAetheryteLocation.KuganeThavnairianConsulate - }; - span56[5] = new QuestStep(EInteractionType.CompleteQuest, 1020472u, new Vector3(-32.39496f, 0.029811792f, -68.3147f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeThavnairianConsulate, - To = EAetheryteLocation.KuganeShiokazeHostelry - } - }; - obj103.Steps = list159; - reference111 = obj103; - questRoot24.QuestSequence = list149; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(2474); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list160 = new List(num); - CollectionsMarshal.SetCount(list160, num); - CollectionsMarshal.AsSpan(list160)[0] = "JerryWester"; - questRoot25.Author = list160; - num = 7; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - Span span57 = CollectionsMarshal.AsSpan(list161); - ref QuestSequence reference112 = ref span57[0]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020472u, new Vector3(-32.39496f, 0.029811792f, -68.3147f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj104.Steps = list162; - reference112 = obj104; - ref QuestSequence reference113 = ref span57[1]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.Interact, 1020473u, new Vector3(-34.65332f, 14.001162f, -46.616333f), 628); - obj105.Steps = list163; - reference113 = obj105; - ref QuestSequence reference114 = ref span57[2]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - Span span58 = CollectionsMarshal.AsSpan(list164); - span58[0] = new QuestStep(EInteractionType.Interact, 1019070u, new Vector3(151.20166f, 14.7757225f, 95.78088f), 628) - { - TargetTerritoryId = (ushort)639, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeShiokazeHostelry, - To = EAetheryteLocation.KuganeRubyBazaar - } - }; - span58[1] = new QuestStep(EInteractionType.Interact, 1020465u, new Vector3(1.5411377f, 0f, -0.96136475f), 639); - obj106.Steps = list164; - reference114 = obj106; - ref QuestSequence reference115 = ref span57[3]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.Interact, 1020468u, new Vector3(-0.9309082f, 0.024139475f, -0.13739014f), 639); - obj107.Steps = list165; - reference115 = obj107; - ref QuestSequence reference116 = ref span57[4]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - Span span59 = CollectionsMarshal.AsSpan(list166); - span59[0] = new QuestStep(EInteractionType.Interact, 2008134u, new Vector3(-0.015319824f, 1.1443481f, 13.504211f), 639) - { - TargetTerritoryId = (ushort)628 - }; - span59[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 1020475u, new Vector3(-52.140076f, 16.75975f, -6.729248f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeRubyBazaar, - To = EAetheryteLocation.KuganeMarkets - }, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj108.Steps = list166; - reference116 = obj108; - span57[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference117 = ref span57[6]; - QuestSequence obj109 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020476u, new Vector3(147.75305f, 14.775722f, 91.721924f), 628); - obj109.Steps = list167; - reference117 = obj109; - questRoot25.QuestSequence = list161; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(2475); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list168 = new List(num); - CollectionsMarshal.SetCount(list168, num); - CollectionsMarshal.AsSpan(list168)[0] = "JerryWester"; - questRoot26.Author = list168; - num = 7; - List list169 = new List(num); - CollectionsMarshal.SetCount(list169, num); - Span span60 = CollectionsMarshal.AsSpan(list169); - ref QuestSequence reference118 = ref span60[0]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020476u, new Vector3(147.75305f, 14.775722f, 91.721924f), 628); - obj110.Steps = list170; - reference118 = obj110; - span60[1] = new QuestSequence - { - Sequence = 1 - }; - ref QuestSequence reference119 = ref span60[2]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.Interact, 1020464u, new Vector3(0.045776367f, 0f, -2.3041382f), 639) - { - StopDistance = 7f - }; - obj111.Steps = list171; - reference119 = obj111; - ref QuestSequence reference120 = ref span60[3]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - Span span61 = CollectionsMarshal.AsSpan(list172); - span61[0] = new QuestStep(EInteractionType.Interact, 2008134u, new Vector3(-0.015319824f, 1.1443481f, 13.504211f), 639) - { - TargetTerritoryId = (ushort)628 - }; - span61[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 628) - { - AethernetShard = EAetheryteLocation.KuganeSekiseigumiBarracks, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeRubyBazaar, - To = EAetheryteLocation.Kugane - } - }; - span61[2] = new QuestStep(EInteractionType.Interact, 1020481u, new Vector3(125.596924f, 14.804411f, -102.861084f), 628); - obj112.Steps = list172; - reference120 = obj112; - ref QuestSequence reference121 = ref span60[4]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.Interact, 2007910u, new Vector3(125.322266f, 14.358704f, -100.48071f), 628); - obj113.Steps = list173; - reference121 = obj113; - ref QuestSequence reference122 = ref span60[5]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.Interact, 2008333u, new Vector3(125.41394f, 14.358704f, -100.51117f), 628); - obj114.Steps = list174; - reference122 = obj114; - ref QuestSequence reference123 = ref span60[6]; - QuestSequence obj115 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020483u, new Vector3(127.79431f, 14.650923f, -101.701416f), 628) - { - StopDistance = 7f - }; - obj115.Steps = list175; - reference123 = obj115; - questRoot26.QuestSequence = list169; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(2476); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - CollectionsMarshal.AsSpan(list176)[0] = "JerryWester"; - questRoot27.Author = list176; - num = 4; - List list177 = new List(num); - CollectionsMarshal.SetCount(list177, num); - Span span62 = CollectionsMarshal.AsSpan(list177); - ref QuestSequence reference124 = ref span62[0]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020484u, new Vector3(126.57361f, 14.054269f, -99.47363f), 628) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj116.Steps = list178; - reference124 = obj116; - ref QuestSequence reference125 = ref span62[1]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - CollectionsMarshal.AsSpan(list179)[0] = new QuestStep(EInteractionType.Interact, 1019070u, new Vector3(151.20166f, 14.7757225f, 95.78088f), 628) - { - TargetTerritoryId = (ushort)639, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeSekiseigumiBarracks, - To = EAetheryteLocation.KuganeRubyBazaar - } - }; - obj117.Steps = list179; - reference125 = obj117; - ref QuestSequence reference126 = ref span62[2]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - ref QuestStep reference127 = ref CollectionsMarshal.AsSpan(list180)[0]; - QuestStep obj119 = new QuestStep(EInteractionType.Interact, 1020485u, new Vector3(-124.1322f, -6.999998f, -58.51837f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeRubyBazaar, - To = EAetheryteLocation.KuganeShiokazeHostelry - } - }; - num3 = 1; - List list181 = new List(num3); - CollectionsMarshal.SetCount(list181, num3); - CollectionsMarshal.AsSpan(list181)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDA207_02476_Q1_000_000"), - Answer = new ExcelRef("TEXT_STMBDA207_02476_A1_000_001") - }; - obj119.DialogueChoices = list181; - reference127 = obj119; - obj118.Steps = list180; - reference126 = obj118; - ref QuestSequence reference128 = ref span62[3]; - QuestSequence obj120 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019891u, new Vector3(852.4147f, 5.923008f, 847.7759f), 613) - { - StopDistance = 7f - }; - obj120.Steps = list182; - reference128 = obj120; - questRoot27.QuestSequence = list177; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(2477); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - CollectionsMarshal.AsSpan(list183)[0] = "JerryWester"; - questRoot28.Author = list183; - num = 4; - List list184 = new List(num); - CollectionsMarshal.SetCount(list184, num); - Span span63 = CollectionsMarshal.AsSpan(list184); - ref QuestSequence reference129 = ref span63[0]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019891u, new Vector3(852.4147f, 5.923008f, 847.7759f), 613) - { - StopDistance = 7f - }; - obj121.Steps = list185; - reference129 = obj121; - ref QuestSequence reference130 = ref span63[1]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.Interact, 1019893u, new Vector3(736.1714f, -0.600044f, 822.96484f), 613); - obj122.Steps = list186; - reference130 = obj122; - ref QuestSequence reference131 = ref span63[2]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - Span span64 = CollectionsMarshal.AsSpan(list187); - span64[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(594.744f, -0.41014904f, 835.82776f), 613); - span64[1] = new QuestStep(EInteractionType.Interact, 1019896u, new Vector3(560.54016f, 0.44452444f, 828.21387f), 613); - obj123.Steps = list187; - reference131 = obj123; - ref QuestSequence reference132 = ref span63[3]; - QuestSequence obj124 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - CollectionsMarshal.AsSpan(list188)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019898u, new Vector3(464.5609f, 30.21226f, 791.53125f), 613); - obj124.Steps = list188; - reference132 = obj124; - questRoot28.QuestSequence = list184; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(2478); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list189 = new List(num); - CollectionsMarshal.SetCount(list189, num); - CollectionsMarshal.AsSpan(list189)[0] = "JerryWester"; - questRoot29.Author = list189; - num = 4; - List list190 = new List(num); - CollectionsMarshal.SetCount(list190, num); - Span span65 = CollectionsMarshal.AsSpan(list190); - ref QuestSequence reference133 = ref span65[0]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019898u, new Vector3(464.5609f, 30.21226f, 791.53125f), 613); - obj125.Steps = list191; - reference133 = obj125; - ref QuestSequence reference134 = ref span65[1]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - Span span66 = CollectionsMarshal.AsSpan(list192); - span66[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2007995u, new Vector3(423.54468f, 15.823547f, 801.541f), 613) - { - AetherCurrentId = 2818178u - }; - span66[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(375.51163f, 9.2976055f, 788.4051f), 613) - { - DisableNavmesh = true, - Mount = true - }; - span66[2] = new QuestStep(EInteractionType.Interact, 2007848u, new Vector3(150.46924f, 1.2054443f, 551.9645f), 613); - obj126.Steps = list192; - reference134 = obj126; - ref QuestSequence reference135 = ref span65[2]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.Interact, 1019912u, new Vector3(116.105835f, -0.5f, 499.32092f), 613) - { - StopDistance = 7f - }; - obj127.Steps = list193; - reference135 = obj127; - ref QuestSequence reference136 = ref span65[3]; - QuestSequence obj128 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - Span span67 = CollectionsMarshal.AsSpan(list194); - span67[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(377.86084f, 10.638865f, 792.4622f), 613) - { - StopDistance = 0.5f, - JumpDestination = new JumpDestination - { - Position = new Vector3(384.9748f, 14.661837f, 793.96063f) - } - }; - span67[1] = new QuestStep(EInteractionType.CompleteQuest, 1023650u, new Vector3(404.53186f, 19.5081f, 755.6113f), 613); - obj128.Steps = list194; - reference136 = obj128; - questRoot29.QuestSequence = list190; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(2479); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list195 = new List(num); - CollectionsMarshal.SetCount(list195, num); - CollectionsMarshal.AsSpan(list195)[0] = "JerryWester"; - questRoot30.Author = list195; - num = 9; - List list196 = new List(num); - CollectionsMarshal.SetCount(list196, num); - Span span68 = CollectionsMarshal.AsSpan(list196); - ref QuestSequence reference137 = ref span68[0]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023650u, new Vector3(404.53186f, 19.5081f, 755.6113f), 613); - obj129.Steps = list197; - reference137 = obj129; - ref QuestSequence reference138 = ref span68[1]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - CollectionsMarshal.AsSpan(list198)[0] = new QuestStep(EInteractionType.Interact, 1023683u, new Vector3(466.88025f, 30.398874f, 792.813f), 613); - obj130.Steps = list198; - reference138 = obj130; - ref QuestSequence reference139 = ref span68[2]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - Span span69 = CollectionsMarshal.AsSpan(list199); - span69[0] = new QuestStep(EInteractionType.AcceptQuest, 1019168u, new Vector3(501.33508f, 34.0062f, 781.70435f), 613) - { - PickUpQuestId = new QuestId(2673) - }; - span69[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(553.3004f, 0.94003797f, 833.7598f), 613); - ref QuestStep reference140 = ref span69[2]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1019915u, new Vector3(576.5315f, 0.94003797f, 849.3323f), 613); - num3 = 1; - List list200 = new List(num3); - CollectionsMarshal.SetCount(list200, num3); - CollectionsMarshal.AsSpan(list200)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDA303_02479_Q1_000_021"), - Answer = new ExcelRef("TEXT_STMBDA303_02479_A1_000_022") - }; - questStep9.DialogueChoices = list200; - reference140 = questStep9; - obj131.Steps = list199; - reference139 = obj131; - ref QuestSequence reference141 = ref span68[3]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.Interact, 1019919u, new Vector3(-711.32983f, -71f / (226f * (float)Math.PI), -301.83875f), 613) - { - StopDistance = 5f - }; - obj132.Steps = list201; - reference141 = obj132; - ref QuestSequence reference142 = ref span68[4]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.Interact, 1019923u, new Vector3(-742.79395f, 2.129947f, -312.3064f), 613) - { - StopDistance = 5f - }; - obj133.Steps = list202; - reference142 = obj133; - ref QuestSequence reference143 = ref span68[5]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - Span span70 = CollectionsMarshal.AsSpan(list203); - span70[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-462.84192f, -0.3000002f, -533.4066f), 613); - span70[1] = new QuestStep(EInteractionType.Interact, 1019925u, new Vector3(-423.78882f, 3.201082f, -545.89154f), 613); - obj134.Steps = list203; - reference143 = obj134; - ref QuestSequence reference144 = ref span68[6]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - ref QuestStep reference145 = ref CollectionsMarshal.AsSpan(list204)[0]; - QuestStep obj136 = new QuestStep(EInteractionType.Combat, null, new Vector3(-436.89062f, 1.4498298f, -547.5498f), 613) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list205 = new List(num3); - CollectionsMarshal.SetCount(list205, num3); - CollectionsMarshal.AsSpan(list205)[0] = 8029u; - obj136.KillEnemyDataIds = list205; - reference145 = obj136; - obj135.Steps = list204; - reference144 = obj135; - ref QuestSequence reference146 = ref span68[7]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.Interact, 1019928u, new Vector3(-228.93109f, 0.39421302f, -530.44934f), 613); - obj137.Steps = list206; - reference146 = obj137; - ref QuestSequence reference147 = ref span68[8]; - QuestSequence obj138 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - CollectionsMarshal.AsSpan(list207)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019930u, new Vector3(-58.335266f, 1.9963632f, -597.0703f), 613); - obj138.Steps = list207; - reference147 = obj138; - questRoot30.QuestSequence = list196; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(2480); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list208 = new List(num); - CollectionsMarshal.SetCount(list208, num); - CollectionsMarshal.AsSpan(list208)[0] = "JerryWester"; - questRoot31.Author = list208; - num = 6; - List list209 = new List(num); - CollectionsMarshal.SetCount(list209, num); - Span span71 = CollectionsMarshal.AsSpan(list209); - ref QuestSequence reference148 = ref span71[0]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - CollectionsMarshal.AsSpan(list210)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019929u, new Vector3(-57.724915f, 2.0040545f, -598.2605f), 613) - { - StopDistance = 5f - }; - obj139.Steps = list210; - reference148 = obj139; - ref QuestSequence reference149 = ref span71[1]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - CollectionsMarshal.AsSpan(list211)[0] = new QuestStep(EInteractionType.Interact, 1019931u, new Vector3(54.703613f, 2.4445753f, -595.4528f), 613); - obj140.Steps = list211; - reference149 = obj140; - ref QuestSequence reference150 = ref span71[2]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - Span span72 = CollectionsMarshal.AsSpan(list212); - span72[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 613) - { - Aetheryte = EAetheryteLocation.RubySeaOnokoro - }; - span72[1] = new QuestStep(EInteractionType.Jump, null, new Vector3(20.867485f, 25.111027f, -634.323f), 613) - { - StopDistance = 0.25f, - JumpDestination = new JumpDestination - { - Position = new Vector3(20.556915f, 26.25455f, -633.04f) - } - }; - span72[2] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2007999u, new Vector3(21.286316f, 24.002441f, -623.621f), 613) - { - AetherCurrentId = 2818182u - }; - span72[3] = new QuestStep(EInteractionType.Jump, null, new Vector3(20.3128f, 26.236794f, -629.7924f), 613) - { - StopDistance = 0.25f, - Mount = true, - JumpDestination = new JumpDestination - { - Position = new Vector3(20.867485f, 25.111027f, -634.323f) - } - }; - span72[4] = new QuestStep(EInteractionType.Interact, 1021505u, new Vector3(79.42322f, 33.00897f, -669.9474f), 613); - obj141.Steps = list212; - reference150 = obj141; - ref QuestSequence reference151 = ref span71[3]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - CollectionsMarshal.AsSpan(list213)[0] = new QuestStep(EInteractionType.Interact, 1019938u, new Vector3(68.46716f, 25.007832f, -643.8239f), 613) - { - Mount = true - }; - obj142.Steps = list213; - reference151 = obj142; - ref QuestSequence reference152 = ref span71[4]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 4 - }; - num2 = 4; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - Span span73 = CollectionsMarshal.AsSpan(list214); - ref QuestStep reference153 = ref span73[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 2007852u, new Vector3(109.17822f, 2.670288f, -619.95886f), 613); - num3 = 6; - List list215 = new List(num3); - CollectionsMarshal.SetCount(list215, num3); - Span span74 = CollectionsMarshal.AsSpan(list215); - span74[0] = null; - span74[1] = null; - span74[2] = null; - span74[3] = null; - span74[4] = null; - span74[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list215; - reference153 = questStep10; - ref QuestStep reference154 = ref span73[1]; - QuestStep questStep11 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(28.796398f, 1.1177638f, -561.9825f), 613); - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list216 = new List(num3); - CollectionsMarshal.SetCount(list216, num3); - Span span75 = CollectionsMarshal.AsSpan(list216); - span75[0] = null; - span75[1] = null; - span75[2] = null; - span75[3] = null; - span75[4] = null; - span75[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list216; - skipConditions2.StepIf = skipStepConditions; - questStep11.SkipConditions = skipConditions2; - reference154 = questStep11; - ref QuestStep reference155 = ref span73[2]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1021508u, new Vector3(13.565186f, 5.3493934f, -482.87177f), 613); - num3 = 6; - List list217 = new List(num3); - CollectionsMarshal.SetCount(list217, num3); - Span span76 = CollectionsMarshal.AsSpan(list217); - span76[0] = null; - span76[1] = null; - span76[2] = null; - span76[3] = null; - span76[4] = null; - span76[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list217; - reference155 = questStep12; - ref QuestStep reference156 = ref span73[3]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 2007854u, new Vector3(-107.74402f, 2.1209717f, -521.32446f), 613); - num3 = 6; - List list218 = new List(num3); - CollectionsMarshal.SetCount(list218, num3); - Span span77 = CollectionsMarshal.AsSpan(list218); - span77[0] = null; - span77[1] = null; - span77[2] = null; - span77[3] = null; - span77[4] = null; - span77[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list218; - reference156 = questStep13; - obj143.Steps = list214; - reference152 = obj143; - ref QuestSequence reference157 = ref span71[5]; - QuestSequence obj144 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - Span span78 = CollectionsMarshal.AsSpan(list219); - span78[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-61.59895f, 0.75750256f, -577.81134f), 613); - span78[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(47.88596f, 2.0565174f, -591.9783f), 613); - span78[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(47.516483f, 8.753822f, -612.76074f), 613) - { - DisableNavmesh = true - }; - span78[3] = new QuestStep(EInteractionType.CompleteQuest, 1019939u, new Vector3(69.53528f, 25.007832f, -643.6713f), 613); - obj144.Steps = list219; - reference157 = obj144; - questRoot31.QuestSequence = list209; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(2481); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list220 = new List(num); - CollectionsMarshal.SetCount(list220, num); - CollectionsMarshal.AsSpan(list220)[0] = "JerryWester"; - questRoot32.Author = list220; - num = 7; - List list221 = new List(num); - CollectionsMarshal.SetCount(list221, num); - Span span79 = CollectionsMarshal.AsSpan(list221); - ref QuestSequence reference158 = ref span79[0]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - CollectionsMarshal.AsSpan(list222)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021511u, new Vector3(31.3573f, 3.245383f, -602.74664f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj145.Steps = list222; - reference158 = obj145; - ref QuestSequence reference159 = ref span79[1]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - CollectionsMarshal.AsSpan(list223)[0] = new QuestStep(EInteractionType.Interact, 2007911u, new Vector3(33.98181f, 4.1046753f, -603.87585f), 613) - { - StopDistance = 4f - }; - obj146.Steps = list223; - reference159 = obj146; - ref QuestSequence reference160 = ref span79[2]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - Span span80 = CollectionsMarshal.AsSpan(list224); - ref QuestStep reference161 = ref span80[0]; - QuestStep obj148 = new QuestStep(EInteractionType.Combat, 2007912u, new Vector3(138.10938f, 0.9613037f, -688.1666f), 613) - { - ItemId = 2002093u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list225 = new List(num3); - CollectionsMarshal.SetCount(list225, num3); - CollectionsMarshal.AsSpan(list225)[0] = 6676u; - obj148.KillEnemyDataIds = list225; - num3 = 6; - List list226 = new List(num3); - CollectionsMarshal.SetCount(list226, num3); - Span span81 = CollectionsMarshal.AsSpan(list226); - span81[0] = null; - span81[1] = null; - span81[2] = null; - span81[3] = null; - span81[4] = null; - span81[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj148.CompletionQuestVariablesFlags = list226; - reference161 = obj148; - ref QuestStep reference162 = ref span80[1]; - QuestStep obj149 = new QuestStep(EInteractionType.Combat, 2007913u, new Vector3(256.21423f, -0.015319824f, -673.4874f), 613) - { - ItemId = 2002093u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list227 = new List(num3); - CollectionsMarshal.SetCount(list227, num3); - CollectionsMarshal.AsSpan(list227)[0] = 6676u; - obj149.KillEnemyDataIds = list227; - num3 = 6; - List list228 = new List(num3); - CollectionsMarshal.SetCount(list228, num3); - Span span82 = CollectionsMarshal.AsSpan(list228); - span82[0] = null; - span82[1] = null; - span82[2] = null; - span82[3] = null; - span82[4] = null; - span82[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj149.CompletionQuestVariablesFlags = list228; - reference162 = obj149; - obj147.Steps = list224; - reference160 = obj147; - ref QuestSequence reference163 = ref span79[3]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - ref QuestStep reference164 = ref CollectionsMarshal.AsSpan(list229)[0]; - QuestStep obj151 = new QuestStep(EInteractionType.Combat, null, new Vector3(446.98648f, 9.27001f, -657.7555f), 613) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list230 = new List(num3); - CollectionsMarshal.SetCount(list230, num3); - CollectionsMarshal.AsSpan(list230)[0] = 6618u; - obj151.KillEnemyDataIds = list230; - reference164 = obj151; - obj150.Steps = list229; - reference163 = obj150; - ref QuestSequence reference165 = ref span79[4]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.Interact, 1019946u, new Vector3(449.39343f, 9.2068815f, -661.21924f), 613) - { - StopDistance = 7f - }; - obj152.Steps = list231; - reference165 = obj152; - ref QuestSequence reference166 = ref span79[5]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.Interact, 1019939u, new Vector3(69.53528f, 25.007832f, -643.6713f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - obj153.Steps = list232; - reference166 = obj153; - ref QuestSequence reference167 = ref span79[6]; - QuestSequence obj154 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - CollectionsMarshal.AsSpan(list233)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021505u, new Vector3(79.42322f, 33.00897f, -669.9474f), 613); - obj154.Steps = list233; - reference167 = obj154; - questRoot32.QuestSequence = list221; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(2482); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list234 = new List(num); - CollectionsMarshal.SetCount(list234, num); - CollectionsMarshal.AsSpan(list234)[0] = "JerryWester"; - questRoot33.Author = list234; - num = 5; - List list235 = new List(num); - CollectionsMarshal.SetCount(list235, num); - Span span83 = CollectionsMarshal.AsSpan(list235); - ref QuestSequence reference168 = ref span83[0]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021505u, new Vector3(79.42322f, 33.00897f, -669.9474f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj155.Steps = list236; - reference168 = obj155; - ref QuestSequence reference169 = ref span83[1]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - Span span84 = CollectionsMarshal.AsSpan(list237); - span84[0] = new QuestStep(EInteractionType.AcceptQuest, 1022102u, new Vector3(97.8866f, 2.096308f, -617.79205f), 613) - { - PickUpQuestId = new QuestId(2687) - }; - span84[1] = new QuestStep(EInteractionType.Interact, 1019951u, new Vector3(152.6665f, 1.1855946f, -500.3586f), 613); - obj156.Steps = list237; - reference169 = obj156; - ref QuestSequence reference170 = ref span83[2]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - Span span85 = CollectionsMarshal.AsSpan(list238); - span85[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(159.34975f, -0.60327315f, -494.75882f), 613) - { - DisableNavmesh = true - }; - span85[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(529.52386f, -0.2066946f, -264.25665f), 613); - span85[2] = new QuestStep(EInteractionType.Interact, 1019952u, new Vector3(732.63135f, 3.4147437f, -237.72034f), 613); - obj157.Steps = list238; - reference170 = obj157; - ref QuestSequence reference171 = ref span83[3]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - Span span86 = CollectionsMarshal.AsSpan(list239); - span86[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2008002u, new Vector3(694.7584f, 1.9073486f, -53.48291f), 613) - { - AetherCurrentId = 2818185u - }; - span86[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(637.34863f, 3.9160664f, -62.50255f), 613); - span86[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(540.77136f, -64.228035f, -173.20897f), 613); - obj158.Steps = list239; - reference171 = obj158; - ref QuestSequence reference172 = ref span83[4]; - QuestSequence obj159 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019956u, new Vector3(422.11023f, -98.96018f, -223.10223f), 613) - { - StopDistance = 5f - }; - obj159.Steps = list240; - reference172 = obj159; - questRoot33.QuestSequence = list235; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(2483); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list241 = new List(num); - CollectionsMarshal.SetCount(list241, num); - CollectionsMarshal.AsSpan(list241)[0] = "JerryWester"; - questRoot34.Author = list241; - num = 5; - List list242 = new List(num); - CollectionsMarshal.SetCount(list242, num); - Span span87 = CollectionsMarshal.AsSpan(list242); - ref QuestSequence reference173 = ref span87[0]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019958u, new Vector3(420.34033f, -99.19678f, -221.36267f), 613) - { - StopDistance = 7f - }; - obj160.Steps = list243; - reference173 = obj160; - ref QuestSequence reference174 = ref span87[1]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.Interact, 1019178u, new Vector3(319.69165f, -120.03494f, -250.90417f), 613); - obj161.Steps = list244; - reference174 = obj161; - ref QuestSequence reference175 = ref span87[2]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.Interact, 1019960u, new Vector3(321.3092f, -120.01774f, -248.2185f), 613); - obj162.Steps = list245; - reference175 = obj162; - ref QuestSequence reference176 = ref span87[3]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - Span span88 = CollectionsMarshal.AsSpan(list246); - span88[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 613) - { - Aetheryte = EAetheryteLocation.RubySeaTamamizu - }; - span88[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(543.42303f, -61.394184f, -153.51427f), 613); - span88[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(647.60547f, 3.3050807f, -55.93293f), 613); - ref QuestStep reference177 = ref span88[3]; - QuestStep obj164 = new QuestStep(EInteractionType.Combat, null, new Vector3(664.2144f, 1.8086157f, -5.028036f), 613) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list247 = new List(num3); - CollectionsMarshal.SetCount(list247, num3); - CollectionsMarshal.AsSpan(list247)[0] = new ComplexCombatData - { - DataId = 6638u, - MinimumKillCount = 1u, - RewardItemId = 2002094u, - RewardItemCount = 1 - }; - obj164.ComplexCombatData = list247; - reference177 = obj164; - obj163.Steps = list246; - reference176 = obj163; - ref QuestSequence reference178 = ref span87[4]; - QuestSequence obj165 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019958u, new Vector3(420.34033f, -99.19678f, -221.36267f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - obj165.Steps = list248; - reference178 = obj165; - questRoot34.QuestSequence = list242; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(2484); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list249 = new List(num); - CollectionsMarshal.SetCount(list249, num); - CollectionsMarshal.AsSpan(list249)[0] = "JerryWester"; - questRoot35.Author = list249; - num = 3; - List list250 = new List(num); - CollectionsMarshal.SetCount(list250, num); - Span span89 = CollectionsMarshal.AsSpan(list250); - ref QuestSequence reference179 = ref span89[0]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019958u, new Vector3(420.34033f, -99.19678f, -221.36267f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj166.Steps = list251; - reference179 = obj166; - ref QuestSequence reference180 = ref span89[1]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - Span span90 = CollectionsMarshal.AsSpan(list252); - span90[0] = new QuestStep(EInteractionType.AcceptQuest, 1023357u, new Vector3(565.0873f, -62.272896f, -147.84473f), 613) - { - PickUpQuestId = new QuestId(2693) - }; - span90[1] = new QuestStep(EInteractionType.Interact, 1019969u, new Vector3(322.56042f, -120.39043f, -300.5265f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - obj167.Steps = list252; - reference180 = obj167; - ref QuestSequence reference181 = ref span89[2]; - QuestSequence obj168 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - Span span91 = CollectionsMarshal.AsSpan(list253); - span91[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(22.288645f, -196.2301f, -155.5739f), 613) - { - RestartNavigationIfCancelled = false - }; - span91[1] = new QuestStep(EInteractionType.CompleteQuest, 1019970u, new Vector3(19.424683f, -197.53093f, -143.93835f), 613) - { - Mount = false - }; - obj168.Steps = list253; - reference181 = obj168; - questRoot35.QuestSequence = list250; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(2485); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list254 = new List(num); - CollectionsMarshal.SetCount(list254, num); - CollectionsMarshal.AsSpan(list254)[0] = "JerryWester"; - questRoot36.Author = list254; - num = 3; - List list255 = new List(num); - CollectionsMarshal.SetCount(list255, num); - Span span92 = CollectionsMarshal.AsSpan(list255); - ref QuestSequence reference182 = ref span92[0]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019970u, new Vector3(19.424683f, -197.53093f, -143.93835f), 613); - obj169.Steps = list256; - reference182 = obj169; - ref QuestSequence reference183 = ref span92[1]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.Interact, 1019197u, new Vector3(-8.926575f, -187.08374f, -95.018005f), 613); - obj170.Steps = list257; - reference183 = obj170; - ref QuestSequence reference184 = ref span92[2]; - QuestSequence obj171 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - CollectionsMarshal.AsSpan(list258)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019971u, new Vector3(20.248657f, -197.56319f, -145.4032f), 613) - { - Mount = true - }; - obj171.Steps = list258; - reference184 = obj171; - questRoot36.QuestSequence = list255; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(2486); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list259 = new List(num); - CollectionsMarshal.SetCount(list259, num); - CollectionsMarshal.AsSpan(list259)[0] = "JerryWester"; - questRoot37.Author = list259; - num = 5; - List list260 = new List(num); - CollectionsMarshal.SetCount(list260, num); - Span span93 = CollectionsMarshal.AsSpan(list260); - ref QuestSequence reference185 = ref span93[0]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019971u, new Vector3(20.248657f, -197.56319f, -145.4032f), 613); - obj172.Steps = list261; - reference185 = obj172; - ref QuestSequence reference186 = ref span93[1]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - Span span94 = CollectionsMarshal.AsSpan(list262); - ref QuestStep reference187 = ref span94[0]; - QuestStep questStep14 = new QuestStep(EInteractionType.AcceptQuest, 1023280u, new Vector3(-62.790894f, -198.96509f, -64.34735f), 613); - num3 = 1; - List list263 = new List(num3); - CollectionsMarshal.SetCount(list263, num3); - CollectionsMarshal.AsSpan(list263)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "quest/026/StmBdy001_02632", - Prompt = new ExcelRef("TEXT_STMBDY001_02632_Q1_000_050"), - Answer = new ExcelRef("TEXT_STMBDY001_02632_A1_000_051") - }; - questStep14.DialogueChoices = list263; - questStep14.PickUpQuestId = new QuestId(2632); - reference187 = questStep14; - span94[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(21.067955f, -197.78902f, -155.23956f), 613) - { - RestartNavigationIfCancelled = false - }; - span94[2] = new QuestStep(EInteractionType.Interact, 1019978u, new Vector3(-227.86298f, -178.2102f, 185.74805f), 613) - { - Fly = true - }; - obj173.Steps = list262; - reference186 = obj173; - ref QuestSequence reference188 = ref span93[2]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.UseItem, null, new Vector3(-220.46619f, -193.02971f, 222.901f), 613) - { - StopDistance = 1f, - Fly = true, - ItemId = 2002243u - }; - obj174.Steps = list264; - reference188 = obj174; - ref QuestSequence reference189 = ref span93[3]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.Interact, 2007920u, new Vector3(-220.6607f, -192.49261f, 221.51514f), 613) - { - Mount = false - }; - obj175.Steps = list265; - reference189 = obj175; - ref QuestSequence reference190 = ref span93[4]; - QuestSequence obj176 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - CollectionsMarshal.AsSpan(list266)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019978u, new Vector3(-227.86298f, -178.2102f, 185.74805f), 613) - { - Fly = true - }; - obj176.Steps = list266; - reference190 = obj176; - questRoot37.QuestSequence = list260; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(2487); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list267 = new List(num); - CollectionsMarshal.SetCount(list267, num); - CollectionsMarshal.AsSpan(list267)[0] = "JerryWester"; - questRoot38.Author = list267; - num = 3; - List list268 = new List(num); - CollectionsMarshal.SetCount(list268, num); - Span span95 = CollectionsMarshal.AsSpan(list268); - ref QuestSequence reference191 = ref span95[0]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - CollectionsMarshal.AsSpan(list269)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019978u, new Vector3(-227.86298f, -178.2102f, 185.74805f), 613) - { - Mount = false - }; - obj177.Steps = list269; - reference191 = obj177; - ref QuestSequence reference192 = ref span95[1]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - CollectionsMarshal.AsSpan(list270)[0] = new QuestStep(EInteractionType.Interact, 1019178u, new Vector3(319.69165f, -120.03494f, -250.90417f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - obj178.Steps = list270; - reference192 = obj178; - ref QuestSequence reference193 = ref span95[2]; - QuestSequence obj179 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - CollectionsMarshal.AsSpan(list271)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019961u, new Vector3(323.0487f, -120.03495f, -249.01202f), 613); - obj179.Steps = list271; - reference193 = obj179; - questRoot38.QuestSequence = list268; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(2488); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list272 = new List(num); - CollectionsMarshal.SetCount(list272, num); - CollectionsMarshal.AsSpan(list272)[0] = "JerryWester"; - questRoot39.Author = list272; - num = 7; - List list273 = new List(num); - CollectionsMarshal.SetCount(list273, num); - Span span96 = CollectionsMarshal.AsSpan(list273); - ref QuestSequence reference194 = ref span96[0]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - ref QuestStep reference195 = ref CollectionsMarshal.AsSpan(list274)[0]; - QuestStep obj181 = new QuestStep(EInteractionType.AcceptQuest, 1019961u, new Vector3(323.0487f, -120.03495f, -249.01202f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list275 = new List(num3); - CollectionsMarshal.SetCount(list275, num3); - CollectionsMarshal.AsSpan(list275)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDA312_02488_Q1_000_013"), - Answer = new ExcelRef("TEXT_STMBDA312_02488_A1_000_014") - }; - obj181.DialogueChoices = list275; - reference195 = obj181; - obj180.Steps = list274; - reference194 = obj180; - ref QuestSequence reference196 = ref span96[1]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - Span span97 = CollectionsMarshal.AsSpan(list276); - span97[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(322.05746f, -121.20501f, -314.00232f), 613) - { - RestartNavigationIfCancelled = false - }; - span97[1] = new QuestStep(EInteractionType.Interact, 1019981u, new Vector3(-470.81714f, -94.80432f, 191.85156f), 613) - { - Fly = true - }; - obj182.Steps = list276; - reference196 = obj182; - ref QuestSequence reference197 = ref span96[2]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - Span span98 = CollectionsMarshal.AsSpan(list277); - span98[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-583.7968f, -58.207996f, 244.92668f), 613) - { - Mount = true, - Fly = true - }; - span98[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-655.3086f, 0f, 270.4341f), 613) - { - DisableNavmesh = true, - Fly = true, - RestartNavigationIfCancelled = false - }; - span98[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-692.9208f, -0.3971126f, 261.18878f), 613); - span98[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-721.99646f, 0.08899796f, 248.7757f), 613); - ref QuestStep reference198 = ref span98[4]; - QuestStep obj184 = new QuestStep(EInteractionType.Combat, null, new Vector3(-739.8565f, 4.6514797f, 233.82903f), 613) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list278 = new List(num3); - CollectionsMarshal.SetCount(list278, num3); - Span span99 = CollectionsMarshal.AsSpan(list278); - span99[0] = 7557u; - span99[1] = 7558u; - obj184.KillEnemyDataIds = list278; - reference198 = obj184; - obj183.Steps = list277; - reference197 = obj183; - ref QuestSequence reference199 = ref span96[3]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - ref QuestStep reference200 = ref CollectionsMarshal.AsSpan(list279)[0]; - QuestStep obj186 = new QuestStep(EInteractionType.Combat, null, new Vector3(-701.18787f, 6.9741554f, 19.126472f), 613) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list280 = new List(num3); - CollectionsMarshal.SetCount(list280, num3); - Span span100 = CollectionsMarshal.AsSpan(list280); - span100[0] = 7559u; - span100[1] = 8041u; - span100[2] = 8042u; - obj186.KillEnemyDataIds = list280; - reference200 = obj186; - obj185.Steps = list279; - reference199 = obj185; - ref QuestSequence reference201 = ref span96[4]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - CollectionsMarshal.AsSpan(list281)[0] = new QuestStep(EInteractionType.Interact, 1020624u, new Vector3(-740.2304f, 8.312634f, 118.18103f), 613); - obj187.Steps = list281; - reference201 = obj187; - ref QuestSequence reference202 = ref span96[5]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - Span span101 = CollectionsMarshal.AsSpan(list282); - span101[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2008004u, new Vector3(-805.7832f, 36.575806f, 235.18726f), 613) - { - AetherCurrentId = 2818187u - }; - span101[1] = new QuestStep(EInteractionType.Interact, 1019983u, new Vector3(-835.7214f, 51.33433f, 38.986816f), 613); - obj188.Steps = list282; - reference202 = obj188; - ref QuestSequence reference203 = ref span96[6]; - QuestSequence obj189 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019985u, new Vector3(-797.3602f, 48.41823f, 149.64526f), 613); - obj189.Steps = list283; - reference203 = obj189; - questRoot39.QuestSequence = list273; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(2489); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list284 = new List(num); - CollectionsMarshal.SetCount(list284, num); - CollectionsMarshal.AsSpan(list284)[0] = "JerryWester"; - questRoot40.Author = list284; - num = 6; - List list285 = new List(num); - CollectionsMarshal.SetCount(list285, num); - Span span102 = CollectionsMarshal.AsSpan(list285); - ref QuestSequence reference204 = ref span102[0]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - CollectionsMarshal.AsSpan(list286)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019985u, new Vector3(-797.3602f, 48.41823f, 149.64526f), 613); - obj190.Steps = list286; - reference204 = obj190; - ref QuestSequence reference205 = ref span102[1]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - CollectionsMarshal.AsSpan(list287)[0] = new QuestStep(EInteractionType.Interact, 2007853u, new Vector3(-838.9868f, 52.017944f, 38.010254f), 613); - obj191.Steps = list287; - reference205 = obj191; - ref QuestSequence reference206 = ref span102[2]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - CollectionsMarshal.AsSpan(list288)[0] = new QuestStep(EInteractionType.Duty, null, null, 613) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 243u - } - }; - obj192.Steps = list288; - reference206 = obj192; - span102[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference207 = ref span102[4]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - Span span103 = CollectionsMarshal.AsSpan(list289); - span103[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-596.66895f, -45.822067f, -272.77194f), 613); - span103[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-625.9836f, -0.5999986f, -278.578f), 613) - { - DisableNavmesh = true, - RestartNavigationIfCancelled = false - }; - span103[2] = new QuestStep(EInteractionType.Interact, 1019987u, new Vector3(-727.657f, 0.3198316f, -316.88416f), 613); - obj193.Steps = list289; - reference207 = obj193; - ref QuestSequence reference208 = ref span102[5]; - QuestSequence obj194 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - CollectionsMarshal.AsSpan(list290)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019988u, new Vector3(-761.83716f, 4.763445f, -455.2224f), 613); - obj194.Steps = list290; - reference208 = obj194; - questRoot40.QuestSequence = list285; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(2490); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list291 = new List(num); - CollectionsMarshal.SetCount(list291, num); - CollectionsMarshal.AsSpan(list291)[0] = "JerryWester"; - questRoot41.Author = list291; - num = 3; - List list292 = new List(num); - CollectionsMarshal.SetCount(list292, num); - Span span104 = CollectionsMarshal.AsSpan(list292); - ref QuestSequence reference209 = ref span104[0]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - CollectionsMarshal.AsSpan(list293)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019988u, new Vector3(-761.83716f, 4.763445f, -455.2224f), 613); - obj195.Steps = list293; - reference209 = obj195; - ref QuestSequence reference210 = ref span104[1]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - Span span105 = CollectionsMarshal.AsSpan(list294); - ref QuestStep reference211 = ref span105[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-780.3967f, 7.9621f, -446.48938f), 613); - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list295 = new List(num3); - CollectionsMarshal.SetCount(list295, num3); - Span span106 = CollectionsMarshal.AsSpan(list295); - span106[0] = null; - span106[1] = null; - span106[2] = null; - span106[3] = null; - span106[4] = null; - span106[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list295; - skipConditions3.StepIf = skipStepConditions2; - questStep15.SkipConditions = skipConditions3; - reference211 = questStep15; - ref QuestStep reference212 = ref span105[1]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1019991u, new Vector3(-807.3701f, 8.49827f, -418.87543f), 613); - num3 = 6; - List list296 = new List(num3); - CollectionsMarshal.SetCount(list296, num3); - Span span107 = CollectionsMarshal.AsSpan(list296); - span107[0] = null; - span107[1] = null; - span107[2] = null; - span107[3] = null; - span107[4] = null; - span107[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list296; - reference212 = questStep16; - ref QuestStep reference213 = ref span105[2]; - QuestStep obj197 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-796.8525f, 8.05057f, -418.3381f), 613) - { - Mount = true - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list297 = new List(num3); - CollectionsMarshal.SetCount(list297, num3); - Span span108 = CollectionsMarshal.AsSpan(list297); - span108[0] = null; - span108[1] = null; - span108[2] = null; - span108[3] = null; - span108[4] = null; - span108[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list297; - skipConditions4.StepIf = skipStepConditions3; - obj197.SkipConditions = skipConditions4; - reference213 = obj197; - ref QuestStep reference214 = ref span105[3]; - QuestStep obj198 = new QuestStep(EInteractionType.Interact, 1019990u, new Vector3(-794.6136f, 4.993313f, -372.67108f), 613) - { - DisableNavmesh = true - }; - num3 = 6; - List list298 = new List(num3); - CollectionsMarshal.SetCount(list298, num3); - Span span109 = CollectionsMarshal.AsSpan(list298); - span109[0] = null; - span109[1] = null; - span109[2] = null; - span109[3] = null; - span109[4] = null; - span109[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj198.CompletionQuestVariablesFlags = list298; - reference214 = obj198; - ref QuestStep reference215 = ref span105[4]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1019992u, new Vector3(-791.2566f, 21.428185f, -480.24725f), 613); - num3 = 6; - List list299 = new List(num3); - CollectionsMarshal.SetCount(list299, num3); - Span span110 = CollectionsMarshal.AsSpan(list299); - span110[0] = null; - span110[1] = null; - span110[2] = null; - span110[3] = null; - span110[4] = null; - span110[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list299; - reference215 = questStep17; - obj196.Steps = list294; - reference210 = obj196; - ref QuestSequence reference216 = ref span104[2]; - QuestSequence obj199 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - CollectionsMarshal.AsSpan(list300)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019989u, new Vector3(-761.83716f, 4.763445f, -453.4829f), 613); - obj199.Steps = list300; - reference216 = obj199; - questRoot41.QuestSequence = list292; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(2491); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list301 = new List(num); - CollectionsMarshal.SetCount(list301, num); - CollectionsMarshal.AsSpan(list301)[0] = "JerryWester"; - questRoot42.Author = list301; - num = 4; - List list302 = new List(num); - CollectionsMarshal.SetCount(list302, num); - Span span111 = CollectionsMarshal.AsSpan(list302); - ref QuestSequence reference217 = ref span111[0]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list303 = new List(num2); - CollectionsMarshal.SetCount(list303, num2); - CollectionsMarshal.AsSpan(list303)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020186u, new Vector3(-761.7761f, 4.763445f, -460.01373f), 613) - { - StopDistance = 5f - }; - obj200.Steps = list303; - reference217 = obj200; - ref QuestSequence reference218 = ref span111[1]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - CollectionsMarshal.AsSpan(list304)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-831.06116f, 20.168653f, -266.25217f), 613) - { - TargetTerritoryId = (ushort)614, - Fly = true - }; - obj201.Steps = list304; - reference218 = obj201; - ref QuestSequence reference219 = ref span111[2]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - CollectionsMarshal.AsSpan(list305)[0] = new QuestStep(EInteractionType.Interact, 1019994u, new Vector3(790.4325f, 99.489136f, -290.8523f), 614); - obj202.Steps = list305; - reference219 = obj202; - ref QuestSequence reference220 = ref span111[3]; - QuestSequence obj203 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - CollectionsMarshal.AsSpan(list306)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019997u, new Vector3(527.9164f, 43.697002f, -156.05408f), 614); - obj203.Steps = list306; - reference220 = obj203; - questRoot42.QuestSequence = list302; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(2492); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list307 = new List(num); - CollectionsMarshal.SetCount(list307, num); - CollectionsMarshal.AsSpan(list307)[0] = "JerryWester"; - questRoot43.Author = list307; - num = 5; - List list308 = new List(num); - CollectionsMarshal.SetCount(list308, num); - Span span112 = CollectionsMarshal.AsSpan(list308); - ref QuestSequence reference221 = ref span112[0]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - CollectionsMarshal.AsSpan(list309)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019997u, new Vector3(527.9164f, 43.697002f, -156.05408f), 614); - obj204.Steps = list309; - reference221 = obj204; - ref QuestSequence reference222 = ref span112[1]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - CollectionsMarshal.AsSpan(list310)[0] = new QuestStep(EInteractionType.Interact, 2007834u, new Vector3(487.0526f, 50.461548f, -115.03784f), 614); - obj205.Steps = list310; - reference222 = obj205; - ref QuestSequence reference223 = ref span112[2]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list311 = new List(num2); - CollectionsMarshal.SetCount(list311, num2); - CollectionsMarshal.AsSpan(list311)[0] = new QuestStep(EInteractionType.Interact, 1020000u, new Vector3(507.95752f, 41.742855f, -94.5907f), 614); - obj206.Steps = list311; - reference223 = obj206; - ref QuestSequence reference224 = ref span112[3]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - Span span113 = CollectionsMarshal.AsSpan(list312); - span113[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 614) - { - Aetheryte = EAetheryteLocation.YanxiaNamai - }; - span113[1] = new QuestStep(EInteractionType.Interact, 1020016u, new Vector3(414.51123f, -0.30000687f, -276.56976f), 614); - obj207.Steps = list312; - reference224 = obj207; - ref QuestSequence reference225 = ref span112[4]; - QuestSequence obj208 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list313 = new List(num2); - CollectionsMarshal.SetCount(list313, num2); - Span span114 = CollectionsMarshal.AsSpan(list313); - span114[0] = new QuestStep(EInteractionType.Dive, null, new Vector3(406.34747f, -0.6000004f, -281.95883f), 614) - { - StopDistance = 0.25f - }; - span114[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(365.84177f, -50.164906f, -309.3022f), 614) - { - Fly = true - }; - span114[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(301.059f, -21.410976f, -358.57938f), 614) - { - StopDistance = 0.25f, - Fly = true, - RestartNavigationIfCancelled = false - }; - span114[3] = new QuestStep(EInteractionType.CompleteQuest, 1020007u, new Vector3(277.9735f, 3.2627518f, -378.95782f), 614); - obj208.Steps = list313; - reference225 = obj208; - questRoot43.QuestSequence = list308; - AddQuest(questId43, questRoot43); - QuestId questId44 = new QuestId(2493); - QuestRoot questRoot44 = new QuestRoot(); - num = 1; - List list314 = new List(num); - CollectionsMarshal.SetCount(list314, num); - CollectionsMarshal.AsSpan(list314)[0] = "JerryWester"; - questRoot44.Author = list314; - num = 4; - List list315 = new List(num); - CollectionsMarshal.SetCount(list315, num); - Span span115 = CollectionsMarshal.AsSpan(list315); - ref QuestSequence reference226 = ref span115[0]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - CollectionsMarshal.AsSpan(list316)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020011u, new Vector3(-49.881836f, -0.26051223f, -12.893921f), 681); - obj209.Steps = list316; - reference226 = obj209; - ref QuestSequence reference227 = ref span115[1]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list317 = new List(num2); - CollectionsMarshal.SetCount(list317, num2); - CollectionsMarshal.AsSpan(list317)[0] = new QuestStep(EInteractionType.Interact, 1020012u, new Vector3(486.9917f, 50.48013f, -115.40399f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaNamai - }; - obj210.Steps = list317; - reference227 = obj210; - ref QuestSequence reference228 = ref span115[2]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list318 = new List(num2); - CollectionsMarshal.SetCount(list318, num2); - Span span116 = CollectionsMarshal.AsSpan(list318); - ref QuestStep reference229 = ref span116[0]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1019263u, new Vector3(451.56018f, 58.77665f, -188.3421f), 614); - num3 = 6; - List list319 = new List(num3); - CollectionsMarshal.SetCount(list319, num3); - Span span117 = CollectionsMarshal.AsSpan(list319); - span117[0] = null; - span117[1] = null; - span117[2] = null; - span117[3] = null; - span117[4] = null; - span117[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list319; - reference229 = questStep18; - ref QuestStep reference230 = ref span116[1]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 1022719u, new Vector3(434.22595f, 68.02851f, -65.171326f), 614); - num3 = 6; - List list320 = new List(num3); - CollectionsMarshal.SetCount(list320, num3); - Span span118 = CollectionsMarshal.AsSpan(list320); - span118[0] = null; - span118[1] = null; - span118[2] = null; - span118[3] = null; - span118[4] = null; - span118[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list320; - num3 = 1; - List list321 = new List(num3); - CollectionsMarshal.SetCount(list321, num3); - CollectionsMarshal.AsSpan(list321)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDA317_02493_Q1_100_040"), - Answer = new ExcelRef("TEXT_STMBDA317_02493_A1_102_040") - }; - questStep19.DialogueChoices = list321; - reference230 = questStep19; - ref QuestStep reference231 = ref span116[2]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 1019259u, new Vector3(405.4779f, 67.4601f, -61.539734f), 614); - num3 = 6; - List list322 = new List(num3); - CollectionsMarshal.SetCount(list322, num3); - Span span119 = CollectionsMarshal.AsSpan(list322); - span119[0] = null; - span119[1] = null; - span119[2] = null; - span119[3] = null; - span119[4] = null; - span119[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep20.CompletionQuestVariablesFlags = list322; - reference231 = questStep20; - ref QuestStep reference232 = ref span116[3]; - QuestStep obj212 = new QuestStep(EInteractionType.Interact, 1020015u, new Vector3(389.2423f, 72.07916f, -68.467285f), 614) - { - Mount = true - }; - num3 = 6; - List list323 = new List(num3); - CollectionsMarshal.SetCount(list323, num3); - Span span120 = CollectionsMarshal.AsSpan(list323); - span120[0] = null; - span120[1] = null; - span120[2] = null; - span120[3] = null; - span120[4] = null; - span120[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj212.CompletionQuestVariablesFlags = list323; - reference232 = obj212; - obj211.Steps = list318; - reference228 = obj211; - ref QuestSequence reference233 = ref span115[3]; - QuestSequence obj213 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list324 = new List(num2); - CollectionsMarshal.SetCount(list324, num2); - CollectionsMarshal.AsSpan(list324)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020012u, new Vector3(486.9917f, 50.48013f, -115.40399f), 614); - obj213.Steps = list324; - reference233 = obj213; - questRoot44.QuestSequence = list315; - AddQuest(questId44, questRoot44); - QuestId questId45 = new QuestId(2494); - QuestRoot questRoot45 = new QuestRoot(); - num = 1; - List list325 = new List(num); - CollectionsMarshal.SetCount(list325, num); - CollectionsMarshal.AsSpan(list325)[0] = "JerryWester"; - questRoot45.Author = list325; - num = 7; - List list326 = new List(num); - CollectionsMarshal.SetCount(list326, num); - Span span121 = CollectionsMarshal.AsSpan(list326); - ref QuestSequence reference234 = ref span121[0]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list327 = new List(num2); - CollectionsMarshal.SetCount(list327, num2); - CollectionsMarshal.AsSpan(list327)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020012u, new Vector3(486.9917f, 50.48013f, -115.40399f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj214.Steps = list327; - reference234 = obj214; - ref QuestSequence reference235 = ref span121[1]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - Span span122 = CollectionsMarshal.AsSpan(list328); - span122[0] = new QuestStep(EInteractionType.AcceptQuest, 1019314u, new Vector3(421.77454f, -0.3000138f, -293.9651f), 614) - { - PickUpQuestId = new QuestId(2724) - }; - span122[1] = new QuestStep(EInteractionType.AcceptQuest, 1019263u, new Vector3(451.56018f, 58.77665f, -188.3421f), 614) - { - PickUpQuestId = new QuestId(2728) - }; - ref QuestStep reference236 = ref span122[2]; - QuestStep obj216 = new QuestStep(EInteractionType.Combat, null, new Vector3(508.4545f, 83.838875f, 98.54378f), 614) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list329 = new List(num3); - CollectionsMarshal.SetCount(list329, num3); - CollectionsMarshal.AsSpan(list329)[0] = 7560u; - obj216.KillEnemyDataIds = list329; - reference236 = obj216; - obj215.Steps = list328; - reference235 = obj215; - ref QuestSequence reference237 = ref span121[2]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list330 = new List(num2); - CollectionsMarshal.SetCount(list330, num2); - CollectionsMarshal.AsSpan(list330)[0] = new QuestStep(EInteractionType.Interact, 1020018u, new Vector3(507.86584f, 83.5696f, 94.92627f), 614) - { - StopDistance = 7f - }; - obj217.Steps = list330; - reference237 = obj217; - ref QuestSequence reference238 = ref span121[3]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list331 = new List(num2); - CollectionsMarshal.SetCount(list331, num2); - ref QuestStep reference239 = ref CollectionsMarshal.AsSpan(list331)[0]; - QuestStep obj219 = new QuestStep(EInteractionType.Combat, 2007836u, new Vector3(370.01587f, 85.52673f, 32.48633f), 614) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list332 = new List(num3); - CollectionsMarshal.SetCount(list332, num3); - CollectionsMarshal.AsSpan(list332)[0] = 6685u; - obj219.KillEnemyDataIds = list332; - reference239 = obj219; - obj218.Steps = list331; - reference238 = obj218; - ref QuestSequence reference240 = ref span121[4]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list333 = new List(num2); - CollectionsMarshal.SetCount(list333, num2); - CollectionsMarshal.AsSpan(list333)[0] = new QuestStep(EInteractionType.Interact, 1020018u, new Vector3(507.86584f, 83.5696f, 94.92627f), 614); - obj220.Steps = list333; - reference240 = obj220; - ref QuestSequence reference241 = ref span121[5]; - QuestSequence obj221 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - CollectionsMarshal.AsSpan(list334)[0] = new QuestStep(EInteractionType.Interact, 1020019u, new Vector3(208.8197f, 141.52237f, -28.82434f), 614); - obj221.Steps = list334; - reference241 = obj221; - ref QuestSequence reference242 = ref span121[6]; - QuestSequence obj222 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list335 = new List(num2); - CollectionsMarshal.SetCount(list335, num2); - Span span123 = CollectionsMarshal.AsSpan(list335); - span123[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2008008u, new Vector3(163.5614f, 144.60962f, -11.917358f), 614) - { - AetherCurrentId = 2818196u - }; - span123[1] = new QuestStep(EInteractionType.CompleteQuest, 1020020u, new Vector3(397.75684f, 72.835175f, -97.06268f), 614) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai - }; - obj222.Steps = list335; - reference242 = obj222; - questRoot45.QuestSequence = list326; - AddQuest(questId45, questRoot45); - QuestId questId46 = new QuestId(2495); - QuestRoot questRoot46 = new QuestRoot(); - num = 1; - List list336 = new List(num); - CollectionsMarshal.SetCount(list336, num); - CollectionsMarshal.AsSpan(list336)[0] = "JerryWester"; - questRoot46.Author = list336; - num = 10; - List list337 = new List(num); - CollectionsMarshal.SetCount(list337, num); - Span span124 = CollectionsMarshal.AsSpan(list337); - ref QuestSequence reference243 = ref span124[0]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list338 = new List(num2); - CollectionsMarshal.SetCount(list338, num2); - CollectionsMarshal.AsSpan(list338)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020020u, new Vector3(397.75684f, 72.835175f, -97.06268f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj223.Steps = list338; - reference243 = obj223; - ref QuestSequence reference244 = ref span124[1]; - QuestSequence obj224 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list339 = new List(num2); - CollectionsMarshal.SetCount(list339, num2); - Span span125 = CollectionsMarshal.AsSpan(list339); - span125[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(417.0395f, 68.028534f, -109.489944f), 614) - { - Mount = true - }; - span125[1] = new QuestStep(EInteractionType.Interact, 2007838u, new Vector3(418.4176f, 68.0094f, -135.4544f), 614); - obj224.Steps = list339; - reference244 = obj224; - ref QuestSequence reference245 = ref span124[2]; - QuestSequence obj225 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list340 = new List(num2); - CollectionsMarshal.SetCount(list340, num2); - CollectionsMarshal.AsSpan(list340)[0] = new QuestStep(EInteractionType.Interact, 1020022u, new Vector3(418.0514f, 68.0285f, -133.89801f), 614); - obj225.Steps = list340; - reference245 = obj225; - ref QuestSequence reference246 = ref span124[3]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - Span span126 = CollectionsMarshal.AsSpan(list341); - span126[0] = new QuestStep(EInteractionType.AcceptQuest, 1019316u, new Vector3(434.89734f, 68.02076f, -125.01721f), 614) - { - PickUpQuestId = new QuestId(2733) - }; - span126[1] = new QuestStep(EInteractionType.AcceptQuest, 1019313u, new Vector3(465.26282f, 58.52148f, -171.09949f), 614) - { - PickUpQuestId = new QuestId(2730) - }; - span126[2] = new QuestStep(EInteractionType.Interact, 1020024u, new Vector3(534.2335f, 84.80294f, 111.13135f), 614); - obj226.Steps = list341; - reference246 = obj226; - ref QuestSequence reference247 = ref span124[4]; - QuestSequence obj227 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - CollectionsMarshal.AsSpan(list342)[0] = new QuestStep(EInteractionType.Snipe, 1020282u, new Vector3(498.83264f, 78.04988f, 147.23425f), 614) - { - Comment = "Snipe soldiers" - }; - obj227.Steps = list342; - reference247 = obj227; - ref QuestSequence reference248 = ref span124[5]; - QuestSequence obj228 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list343 = new List(num2); - CollectionsMarshal.SetCount(list343, num2); - CollectionsMarshal.AsSpan(list343)[0] = new QuestStep(EInteractionType.Snipe, 2007835u, new Vector3(535.2406f, 54.48987f, 237.04883f), 614) - { - Comment = "Snipe soldiers" - }; - obj228.Steps = list343; - reference248 = obj228; - ref QuestSequence reference249 = ref span124[6]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list344 = new List(num2); - CollectionsMarshal.SetCount(list344, num2); - CollectionsMarshal.AsSpan(list344)[0] = new QuestStep(EInteractionType.Interact, 1020025u, new Vector3(303.60876f, 16.701138f, 584.71045f), 614); - obj229.Steps = list344; - reference249 = obj229; - ref QuestSequence reference250 = ref span124[7]; - QuestSequence obj230 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list345 = new List(num2); - CollectionsMarshal.SetCount(list345, num2); - CollectionsMarshal.AsSpan(list345)[0] = new QuestStep(EInteractionType.Snipe, 2007915u, new Vector3(329.67102f, 32.97461f, 603.2959f), 614) - { - Comment = "Snipe soldiers" - }; - obj230.Steps = list345; - reference250 = obj230; - ref QuestSequence reference251 = ref span124[8]; - QuestSequence obj231 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list346 = new List(num2); - CollectionsMarshal.SetCount(list346, num2); - CollectionsMarshal.AsSpan(list346)[0] = new QuestStep(EInteractionType.Interact, 1020025u, new Vector3(303.60876f, 16.701138f, 584.71045f), 614); - obj231.Steps = list346; - reference251 = obj231; - ref QuestSequence reference252 = ref span124[9]; - QuestSequence obj232 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list347 = new List(num2); - CollectionsMarshal.SetCount(list347, num2); - CollectionsMarshal.AsSpan(list347)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020283u, new Vector3(406.27136f, 14.6418705f, 626.1234f), 614); - obj232.Steps = list347; - reference252 = obj232; - questRoot46.QuestSequence = list337; - AddQuest(questId46, questRoot46); - QuestId questId47 = new QuestId(2496); - QuestRoot questRoot47 = new QuestRoot(); - num = 1; - List list348 = new List(num); - CollectionsMarshal.SetCount(list348, num); - CollectionsMarshal.AsSpan(list348)[0] = "JerryWester"; - questRoot47.Author = list348; - num = 8; - List list349 = new List(num); - CollectionsMarshal.SetCount(list349, num); - Span span127 = CollectionsMarshal.AsSpan(list349); - ref QuestSequence reference253 = ref span127[0]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - CollectionsMarshal.AsSpan(list350)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023780u, new Vector3(406.21033f, 14.6418705f, 625.9707f), 614); - obj233.Steps = list350; - reference253 = obj233; - ref QuestSequence reference254 = ref span127[1]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list351 = new List(num2); - CollectionsMarshal.SetCount(list351, num2); - CollectionsMarshal.AsSpan(list351)[0] = new QuestStep(EInteractionType.Interact, 2007839u, new Vector3(358.69373f, 22.659607f, 573.69336f), 614); - obj234.Steps = list351; - reference254 = obj234; - ref QuestSequence reference255 = ref span127[2]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list352 = new List(num2); - CollectionsMarshal.SetCount(list352, num2); - CollectionsMarshal.AsSpan(list352)[0] = new QuestStep(EInteractionType.Interact, 1020042u, new Vector3(435.2329f, 14.64187f, 619.8672f), 614); - obj235.Steps = list352; - reference255 = obj235; - ref QuestSequence reference256 = ref span127[3]; - QuestSequence obj236 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list353 = new List(num2); - CollectionsMarshal.SetCount(list353, num2); - Span span128 = CollectionsMarshal.AsSpan(list353); - span128[0] = new QuestStep(EInteractionType.Interact, 1020045u, new Vector3(439.01733f, 14.6418705f, 624.0481f), 614); - span128[1] = new QuestStep(EInteractionType.Interact, 1020044u, new Vector3(438.40686f, 14.6418705f, 622.21704f), 614); - span128[2] = new QuestStep(EInteractionType.Interact, 1020043u, new Vector3(438.4375f, 14.6418705f, 620.35547f), 614) - { - StopDistance = 4f - }; - obj236.Steps = list353; - reference256 = obj236; - ref QuestSequence reference257 = ref span127[4]; - QuestSequence obj237 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list354 = new List(num2); - CollectionsMarshal.SetCount(list354, num2); - CollectionsMarshal.AsSpan(list354)[0] = new QuestStep(EInteractionType.Interact, 1020042u, new Vector3(435.2329f, 14.64187f, 619.8672f), 614) - { - StopDistance = 4f - }; - obj237.Steps = list354; - reference257 = obj237; - ref QuestSequence reference258 = ref span127[5]; - QuestSequence obj238 = new QuestSequence - { - Sequence = 5 - }; - num2 = 7; - List list355 = new List(num2); - CollectionsMarshal.SetCount(list355, num2); - Span span129 = CollectionsMarshal.AsSpan(list355); - span129[0] = new QuestStep(EInteractionType.EquipItem, null, null, 614) - { - ItemId = 20596u - }; - span129[1] = new QuestStep(EInteractionType.EquipItem, null, null, 614) - { - ItemId = 20597u - }; - span129[2] = new QuestStep(EInteractionType.EquipItem, null, null, 614) - { - ItemId = 20598u - }; - span129[3] = new QuestStep(EInteractionType.EquipItem, null, null, 614) - { - ItemId = 20599u - }; - span129[4] = new QuestStep(EInteractionType.EquipItem, null, null, 614) - { - ItemId = 20600u - }; - ref QuestStep reference259 = ref span129[5]; - QuestStep obj239 = new QuestStep(EInteractionType.Emote, 1020041u, new Vector3(446.73828f, 14.626371f, 705.0431f), 614) - { - Emote = EEmote.ImperialSalute - }; - num3 = 6; - List list356 = new List(num3); - CollectionsMarshal.SetCount(list356, num3); - Span span130 = CollectionsMarshal.AsSpan(list356); - span130[0] = null; - span130[1] = null; - span130[2] = null; - span130[3] = null; - span130[4] = null; - span130[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj239.CompletionQuestVariablesFlags = list356; - reference259 = obj239; - ref QuestStep reference260 = ref span129[6]; - QuestStep obj240 = new QuestStep(EInteractionType.Emote, 1020040u, new Vector3(436.14856f, 14.6418705f, 706.1721f), 614) - { - Emote = EEmote.ImperialSalute - }; - num3 = 6; - List list357 = new List(num3); - CollectionsMarshal.SetCount(list357, num3); - Span span131 = CollectionsMarshal.AsSpan(list357); - span131[0] = null; - span131[1] = null; - span131[2] = null; - span131[3] = null; - span131[4] = null; - span131[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj240.CompletionQuestVariablesFlags = list357; - reference260 = obj240; - obj238.Steps = list355; - reference258 = obj238; - ref QuestSequence reference261 = ref span127[6]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list358 = new List(num2); - CollectionsMarshal.SetCount(list358, num2); - Span span132 = CollectionsMarshal.AsSpan(list358); - span132[0] = new QuestStep(EInteractionType.EquipRecommended, null, null, 614); - span132[1] = new QuestStep(EInteractionType.Interact, 1020042u, new Vector3(435.2329f, 14.64187f, 619.8672f), 614); - obj241.Steps = list358; - reference261 = obj241; - ref QuestSequence reference262 = ref span127[7]; - QuestSequence obj242 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list359 = new List(num2); - CollectionsMarshal.SetCount(list359, num2); - CollectionsMarshal.AsSpan(list359)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020029u, new Vector3(457.69434f, 30.001902f, 764.187f), 614); - obj242.Steps = list359; - reference262 = obj242; - questRoot47.QuestSequence = list349; - AddQuest(questId47, questRoot47); - QuestId questId48 = new QuestId(2497); - QuestRoot questRoot48 = new QuestRoot(); - num = 1; - List list360 = new List(num); - CollectionsMarshal.SetCount(list360, num); - CollectionsMarshal.AsSpan(list360)[0] = "JerryWester"; - questRoot48.Author = list360; - num = 9; - List list361 = new List(num); - CollectionsMarshal.SetCount(list361, num); - Span span133 = CollectionsMarshal.AsSpan(list361); - ref QuestSequence reference263 = ref span133[0]; - QuestSequence obj243 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list362 = new List(num2); - CollectionsMarshal.SetCount(list362, num2); - CollectionsMarshal.AsSpan(list362)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020046u, new Vector3(455.95483f, 29.324865f, 759.6703f), 614); - obj243.Steps = list362; - reference263 = obj243; - ref QuestSequence reference264 = ref span133[1]; - QuestSequence obj244 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list363 = new List(num2); - CollectionsMarshal.SetCount(list363, num2); - Span span134 = CollectionsMarshal.AsSpan(list363); - span134[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2008011u, new Vector3(457.51123f, 32.36438f, 822.4154f), 614) - { - AetherCurrentId = 2818199u - }; - span134[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(453.69717f, 14.463846f, 663.386f), 614); - span134[2] = new QuestStep(EInteractionType.Interact, 1020047u, new Vector3(433.9818f, 14.6418705f, 622.76636f), 614); - obj244.Steps = list363; - reference264 = obj244; - ref QuestSequence reference265 = ref span133[2]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list364 = new List(num2); - CollectionsMarshal.SetCount(list364, num2); - CollectionsMarshal.AsSpan(list364)[0] = new QuestStep(EInteractionType.Interact, 2007840u, new Vector3(390.6156f, 14.633362f, 685.96924f), 614); - obj245.Steps = list364; - reference265 = obj245; - ref QuestSequence reference266 = ref span133[3]; - QuestSequence obj246 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list365 = new List(num2); - CollectionsMarshal.SetCount(list365, num2); - CollectionsMarshal.AsSpan(list365)[0] = new QuestStep(EInteractionType.UseItem, 1020049u, new Vector3(390.5547f, 14.64187f, 685.9387f), 614) - { - ItemId = 2002070u - }; - obj246.Steps = list365; - reference266 = obj246; - ref QuestSequence reference267 = ref span133[4]; - QuestSequence obj247 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list366 = new List(num2); - CollectionsMarshal.SetCount(list366, num2); - CollectionsMarshal.AsSpan(list366)[0] = new QuestStep(EInteractionType.Interact, 1020048u, new Vector3(434.5006f, 14.6418705f, 624.567f), 614); - obj247.Steps = list366; - reference267 = obj247; - ref QuestSequence reference268 = ref span133[5]; - QuestSequence obj248 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list367 = new List(num2); - CollectionsMarshal.SetCount(list367, num2); - CollectionsMarshal.AsSpan(list367)[0] = new QuestStep(EInteractionType.Interact, 2007841u, new Vector3(485.37415f, 14.633362f, 742.97705f), 614); - obj248.Steps = list367; - reference268 = obj248; - ref QuestSequence reference269 = ref span133[6]; - QuestSequence obj249 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list368 = new List(num2); - CollectionsMarshal.SetCount(list368, num2); - CollectionsMarshal.AsSpan(list368)[0] = new QuestStep(EInteractionType.UseItem, 1020050u, new Vector3(485.2522f, 14.641862f, 742.97705f), 614) - { - ItemId = 2002070u - }; - obj249.Steps = list368; - reference269 = obj249; - ref QuestSequence reference270 = ref span133[7]; - QuestSequence obj250 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list369 = new List(num2); - CollectionsMarshal.SetCount(list369, num2); - CollectionsMarshal.AsSpan(list369)[0] = new QuestStep(EInteractionType.Interact, 1020051u, new Vector3(232.56274f, 1.4025975f, 756.0996f), 614); - obj250.Steps = list369; - reference270 = obj250; - ref QuestSequence reference271 = ref span133[8]; - QuestSequence obj251 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list370 = new List(num2); - CollectionsMarshal.SetCount(list370, num2); - Span span135 = CollectionsMarshal.AsSpan(list370); - span135[0] = new QuestStep(EInteractionType.Dive, null, new Vector3(406.34747f, -0.6000004f, -281.95883f), 614) - { - StopDistance = 0.25f, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai - }; - span135[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(365.84177f, -50.164906f, -309.3022f), 614) - { - Fly = true - }; - span135[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(301.059f, -21.410976f, -358.57938f), 614) - { - StopDistance = 0.25f, - Fly = true, - RestartNavigationIfCancelled = false - }; - span135[3] = new QuestStep(EInteractionType.CompleteQuest, 1023787u, new Vector3(278.30933f, 2.9544957f, -378.43903f), 614); - obj251.Steps = list370; - reference271 = obj251; - questRoot48.QuestSequence = list361; - AddQuest(questId48, questRoot48); - QuestId questId49 = new QuestId(2498); - QuestRoot questRoot49 = new QuestRoot(); - num = 1; - List list371 = new List(num); - CollectionsMarshal.SetCount(list371, num); - CollectionsMarshal.AsSpan(list371)[0] = "JerryWester"; - questRoot49.Author = list371; - num = 5; - List list372 = new List(num); - CollectionsMarshal.SetCount(list372, num); - Span span136 = CollectionsMarshal.AsSpan(list372); - ref QuestSequence reference272 = ref span136[0]; - QuestSequence obj252 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list373 = new List(num2); - CollectionsMarshal.SetCount(list373, num2); - CollectionsMarshal.AsSpan(list373)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020055u, new Vector3(-463.21814f, 1.2300053f, 535.6068f), 614); - obj252.Steps = list373; - reference272 = obj252; - ref QuestSequence reference273 = ref span136[1]; - QuestSequence obj253 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list374 = new List(num2); - CollectionsMarshal.SetCount(list374, num2); - CollectionsMarshal.AsSpan(list374)[0] = new QuestStep(EInteractionType.Interact, 2007842u, new Vector3(-245.74658f, 16.922241f, 577.7217f), 614); - obj253.Steps = list374; - reference273 = obj253; - ref QuestSequence reference274 = ref span136[2]; - QuestSequence obj254 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list375 = new List(num2); - CollectionsMarshal.SetCount(list375, num2); - CollectionsMarshal.AsSpan(list375)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1020056u, new Vector3(-247.91339f, 16.932724f, 577.4165f), 614) - { - StopDistance = 7f, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj254.Steps = list375; - reference274 = obj254; - span136[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference275 = ref span136[4]; - QuestSequence obj255 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list376 = new List(num2); - CollectionsMarshal.SetCount(list376, num2); - CollectionsMarshal.AsSpan(list376)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020057u, new Vector3(488.30383f, 7.396728f, 375.14294f), 614); - obj255.Steps = list376; - reference275 = obj255; - questRoot49.QuestSequence = list372; - AddQuest(questId49, questRoot49); - QuestId questId50 = new QuestId(2499); - QuestRoot questRoot50 = new QuestRoot(); - num = 1; - List list377 = new List(num); - CollectionsMarshal.SetCount(list377, num); - CollectionsMarshal.AsSpan(list377)[0] = "JerryWester"; - questRoot50.Author = list377; - num = 4; - List list378 = new List(num); - CollectionsMarshal.SetCount(list378, num); - Span span137 = CollectionsMarshal.AsSpan(list378); - ref QuestSequence reference276 = ref span137[0]; - QuestSequence obj256 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list379 = new List(num2); - CollectionsMarshal.SetCount(list379, num2); - CollectionsMarshal.AsSpan(list379)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020059u, new Vector3(490.19604f, 8.442365f, 373.22034f), 614) - { - StopDistance = 7f - }; - obj256.Steps = list379; - reference276 = obj256; - ref QuestSequence reference277 = ref span137[1]; - QuestSequence obj257 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list380 = new List(num2); - CollectionsMarshal.SetCount(list380, num2); - CollectionsMarshal.AsSpan(list380)[0] = new QuestStep(EInteractionType.Interact, 1020062u, new Vector3(453.4828f, 57.1882f, -146.41034f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaNamai - }; - obj257.Steps = list380; - reference277 = obj257; - ref QuestSequence reference278 = ref span137[2]; - QuestSequence obj258 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list381 = new List(num2); - CollectionsMarshal.SetCount(list381, num2); - Span span138 = CollectionsMarshal.AsSpan(list381); - ref QuestStep reference279 = ref span138[0]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1020064u, new Vector3(443.2898f, 58.814686f, -172.90002f), 614); - num3 = 6; - List list382 = new List(num3); - CollectionsMarshal.SetCount(list382, num3); - Span span139 = CollectionsMarshal.AsSpan(list382); - span139[0] = null; - span139[1] = null; - span139[2] = null; - span139[3] = null; - span139[4] = null; - span139[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep21.CompletionQuestVariablesFlags = list382; - reference279 = questStep21; - ref QuestStep reference280 = ref span138[1]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1020063u, new Vector3(442.83203f, 58.859047f, -171.06891f), 614); - num3 = 6; - List list383 = new List(num3); - CollectionsMarshal.SetCount(list383, num3); - Span span140 = CollectionsMarshal.AsSpan(list383); - span140[0] = null; - span140[1] = null; - span140[2] = null; - span140[3] = null; - span140[4] = null; - span140[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep22.CompletionQuestVariablesFlags = list383; - reference280 = questStep22; - ref QuestStep reference281 = ref span138[2]; - QuestStep obj259 = new QuestStep(EInteractionType.Interact, 1020065u, new Vector3(459.25073f, 58.79123f, -187.42657f), 614) - { - Mount = true - }; - num3 = 6; - List list384 = new List(num3); - CollectionsMarshal.SetCount(list384, num3); - Span span141 = CollectionsMarshal.AsSpan(list384); - span141[0] = null; - span141[1] = null; - span141[2] = null; - span141[3] = null; - span141[4] = null; - span141[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj259.CompletionQuestVariablesFlags = list384; - reference281 = obj259; - ref QuestStep reference282 = ref span138[3]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1020066u, new Vector3(445.5481f, 68.028534f, -73.56378f), 614); - num3 = 6; - List list385 = new List(num3); - CollectionsMarshal.SetCount(list385, num3); - Span span142 = CollectionsMarshal.AsSpan(list385); - span142[0] = null; - span142[1] = null; - span142[2] = null; - span142[3] = null; - span142[4] = null; - span142[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list385; - reference282 = questStep23; - obj258.Steps = list381; - reference278 = obj258; - ref QuestSequence reference283 = ref span137[3]; - QuestSequence obj260 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list386 = new List(num2); - CollectionsMarshal.SetCount(list386, num2); - CollectionsMarshal.AsSpan(list386)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020067u, new Vector3(446.67737f, 68.028534f, -74.47931f), 614); - obj260.Steps = list386; - reference283 = obj260; - questRoot50.QuestSequence = list378; - AddQuest(questId50, questRoot50); - } - - private static void LoadQuests50() - { - QuestId questId = new QuestId(2500); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "JerryWester"; - questRoot.Author = list; - num = 5; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020079u, new Vector3(560.235f, -19.505638f, 408.68237f), 622); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference3 = ref span2[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1019355u, new Vector3(556.8779f, -19.505642f, 397.14648f), 622); - int num3 = 6; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - Span span3 = CollectionsMarshal.AsSpan(list5); - span3[0] = null; - span3[1] = null; - span3[2] = null; - span3[3] = null; - span3[4] = null; - span3[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list5; - reference3 = questStep; - ref QuestStep reference4 = ref span2[1]; - QuestStep obj3 = new QuestStep(EInteractionType.Interact, 1019353u, new Vector3(544.0298f, -19.505642f, 391.68372f), 622) - { - StopDistance = 7f - }; - num3 = 6; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - Span span4 = CollectionsMarshal.AsSpan(list6); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj3.CompletionQuestVariablesFlags = list6; - reference4 = obj3; - ref QuestStep reference5 = ref span2[2]; - QuestStep questStep2 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(547.51385f, -19.505655f, 355.95413f), 622); - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span5 = CollectionsMarshal.AsSpan(list7); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list7; - skipConditions.StepIf = skipStepConditions; - questStep2.SkipConditions = skipConditions; - reference5 = questStep2; - ref QuestStep reference6 = ref span2[3]; - QuestStep obj4 = new QuestStep(EInteractionType.Interact, 1019349u, new Vector3(543.93823f, -19.505642f, 354.08557f), 622) - { - StopDistance = 7f - }; - num3 = 6; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - Span span6 = CollectionsMarshal.AsSpan(list8); - span6[0] = null; - span6[1] = null; - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj4.CompletionQuestVariablesFlags = list8; - reference6 = obj4; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference7 = ref span[2]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - Span span7 = CollectionsMarshal.AsSpan(list9); - span7[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 622) - { - Aetheryte = EAetheryteLocation.AzimSteppeReunion - }; - span7[1] = new QuestStep(EInteractionType.Interact, 1020275u, new Vector3(540.917f, -19.504309f, 278.0652f), 622); - obj5.Steps = list9; - reference7 = obj5; - ref QuestSequence reference8 = ref span[3]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.Say, 1020281u, new Vector3(571.58765f, -19.505655f, 313.71008f), 622) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_STMBDA401_02500_SAYTODO_000_000" - } - }; - obj6.Steps = list10; - reference8 = obj6; - ref QuestSequence reference9 = ref span[4]; - QuestSequence obj7 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020281u, new Vector3(571.58765f, -19.505655f, 313.71008f), 622); - obj7.Steps = list11; - reference9 = obj7; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(2501); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - CollectionsMarshal.AsSpan(list12)[0] = "JerryWester"; - questRoot2.Author = list12; - num = 3; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - Span span8 = CollectionsMarshal.AsSpan(list13); - ref QuestSequence reference10 = ref span8[0]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020281u, new Vector3(571.58765f, -19.505655f, 313.71008f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj8.Steps = list14; - reference10 = obj8; - ref QuestSequence reference11 = ref span8[1]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - Span span9 = CollectionsMarshal.AsSpan(list15); - span9[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(553.1567f, -19.505648f, 306.37933f), 622) - { - Mount = true - }; - ref QuestStep reference12 = ref span9[1]; - QuestStep obj10 = new QuestStep(EInteractionType.Combat, null, new Vector3(395.68478f, -8.147073f, 299.55774f), 622) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - ref ComplexCombatData reference13 = ref CollectionsMarshal.AsSpan(list16)[0]; - ComplexCombatData obj11 = new ComplexCombatData - { - DataId = 6626u, - MinimumKillCount = 2u, - RewardItemId = 2002204u, - RewardItemCount = 2 - }; - int num4 = 6; - List list17 = new List(num4); - CollectionsMarshal.SetCount(list17, num4); - Span span10 = CollectionsMarshal.AsSpan(list17); - span10[0] = null; - span10[1] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = null; - obj11.CompletionQuestVariablesFlags = list17; - reference13 = obj11; - obj10.ComplexCombatData = list16; - reference12 = obj10; - obj9.Steps = list15; - reference11 = obj9; - ref QuestSequence reference14 = ref span8[2]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020281u, new Vector3(571.58765f, -19.505655f, 313.71008f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion - }; - obj12.Steps = list18; - reference14 = obj12; - questRoot2.QuestSequence = list13; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(2502); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - CollectionsMarshal.AsSpan(list19)[0] = "JerryWester"; - questRoot3.Author = list19; - num = 3; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - Span span11 = CollectionsMarshal.AsSpan(list20); - ref QuestSequence reference15 = ref span11[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020281u, new Vector3(571.58765f, -19.505655f, 313.71008f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj13.Steps = list21; - reference15 = obj13; - ref QuestSequence reference16 = ref span11[1]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - Span span12 = CollectionsMarshal.AsSpan(list22); - span12[0] = new QuestStep(EInteractionType.AcceptQuest, 1019347u, new Vector3(575.2803f, -19.505632f, 343.74f), 622) - { - PickUpQuestId = new QuestId(2760) - }; - span12[1] = new QuestStep(EInteractionType.Interact, 1020279u, new Vector3(592.9198f, 24.918879f, 380.27002f), 622); - obj14.Steps = list22; - reference16 = obj14; - ref QuestSequence reference17 = ref span11[2]; - QuestSequence obj15 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020543u, new Vector3(592.9198f, 24.943647f, 380.0564f), 622); - obj15.Steps = list23; - reference17 = obj15; - questRoot3.QuestSequence = list20; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(2503); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - CollectionsMarshal.AsSpan(list24)[0] = "JerryWester"; - questRoot4.Author = list24; - num = 4; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - Span span13 = CollectionsMarshal.AsSpan(list25); - ref QuestSequence reference18 = ref span13[0]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020543u, new Vector3(592.9198f, 24.943647f, 380.0564f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj16.Steps = list26; - reference18 = obj16; - ref QuestSequence reference19 = ref span13[1]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.Interact, 1020531u, new Vector3(491.29468f, 8.481642f, -234.48541f), 622); - obj17.Steps = list27; - reference19 = obj17; - ref QuestSequence reference20 = ref span13[2]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.Interact, 1019382u, new Vector3(496.5437f, 40.859642f, -510.58215f), 622); - obj18.Steps = list28; - reference20 = obj18; - ref QuestSequence reference21 = ref span13[3]; - QuestSequence obj19 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020501u, new Vector3(484.48914f, 40.21725f, -469.5354f), 622); - obj19.Steps = list29; - reference21 = obj19; - questRoot4.QuestSequence = list25; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(2504); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - CollectionsMarshal.AsSpan(list30)[0] = "JerryWester"; - questRoot5.Author = list30; - num = 5; - List list31 = new List(num); - CollectionsMarshal.SetCount(list31, num); - Span span14 = CollectionsMarshal.AsSpan(list31); - ref QuestSequence reference22 = ref span14[0]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020501u, new Vector3(484.48914f, 40.21725f, -469.5354f), 622); - obj20.Steps = list32; - reference22 = obj20; - ref QuestSequence reference23 = ref span14[1]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Interact, 1020548u, new Vector3(416.495f, 42.579082f, -450.12592f), 622); - obj21.Steps = list33; - reference23 = obj21; - ref QuestSequence reference24 = ref span14[2]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - Span span15 = CollectionsMarshal.AsSpan(list34); - ref QuestStep reference25 = ref span15[0]; - QuestStep obj23 = new QuestStep(EInteractionType.Combat, 2008457u, new Vector3(313.52698f, 50.766724f, -456.77887f), 622) - { - ItemId = 2002199u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - CollectionsMarshal.AsSpan(list35)[0] = 7546u; - obj23.KillEnemyDataIds = list35; - num3 = 6; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - Span span16 = CollectionsMarshal.AsSpan(list36); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj23.CompletionQuestVariablesFlags = list36; - reference25 = obj23; - ref QuestStep reference26 = ref span15[1]; - QuestStep obj24 = new QuestStep(EInteractionType.Combat, 2008456u, new Vector3(224.47546f, 101.27405f, -542.4735f), 622) - { - ItemId = 2002199u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 2; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - Span span17 = CollectionsMarshal.AsSpan(list37); - span17[0] = 7546u; - span17[1] = 7562u; - obj24.KillEnemyDataIds = list37; - num3 = 6; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - Span span18 = CollectionsMarshal.AsSpan(list38); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj24.CompletionQuestVariablesFlags = list38; - reference26 = obj24; - ref QuestStep reference27 = ref span15[2]; - QuestStep obj25 = new QuestStep(EInteractionType.Combat, 2008131u, new Vector3(100.694214f, 116.472046f, -597.7417f), 622) - { - ItemId = 2002199u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list39 = new List(num3); - CollectionsMarshal.SetCount(list39, num3); - CollectionsMarshal.AsSpan(list39)[0] = 7562u; - obj25.KillEnemyDataIds = list39; - num3 = 6; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - Span span19 = CollectionsMarshal.AsSpan(list40); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj25.CompletionQuestVariablesFlags = list40; - reference27 = obj25; - obj22.Steps = list34; - reference24 = obj22; - ref QuestSequence reference28 = ref span14[3]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - Span span20 = CollectionsMarshal.AsSpan(list41); - span20[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2008017u, new Vector3(231.98291f, 93.36987f, -515.8008f), 622) - { - AetherCurrentId = 2818210u - }; - span20[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(235.19914f, 62.795677f, -495.62f), 622) - { - DisableNavmesh = true, - Mount = true - }; - span20[2] = new QuestStep(EInteractionType.Interact, 1020547u, new Vector3(418.265f, 42.699287f, -448.53894f), 622); - obj26.Steps = list41; - reference28 = obj26; - ref QuestSequence reference29 = ref span14[4]; - QuestSequence obj27 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020501u, new Vector3(484.48914f, 40.21725f, -469.5354f), 622); - obj27.Steps = list42; - reference29 = obj27; - questRoot5.QuestSequence = list31; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(2505); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - CollectionsMarshal.AsSpan(list43)[0] = "JerryWester"; - questRoot6.Author = list43; - num = 7; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - Span span21 = CollectionsMarshal.AsSpan(list44); - ref QuestSequence reference30 = ref span21[0]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020501u, new Vector3(484.48914f, 40.21725f, -469.5354f), 622); - obj28.Steps = list45; - reference30 = obj28; - ref QuestSequence reference31 = ref span21[1]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 1019396u, new Vector3(542.1378f, 40.425697f, -500.54172f), 622); - obj29.Steps = list46; - reference31 = obj29; - ref QuestSequence reference32 = ref span21[2]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Interact, 1020549u, new Vector3(555.9625f, 10.160159f, -266.46832f), 622); - obj30.Steps = list47; - reference32 = obj30; - ref QuestSequence reference33 = ref span21[3]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - Span span22 = CollectionsMarshal.AsSpan(list48); - ref QuestStep reference34 = ref span22[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2008245u, new Vector3(562.0354f, 9.750427f, -297.8103f), 622); - num3 = 6; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - Span span23 = CollectionsMarshal.AsSpan(list49); - span23[0] = null; - span23[1] = null; - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list49; - reference34 = questStep3; - ref QuestStep reference35 = ref span22[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2008247u, new Vector3(692.56116f, 3.4942627f, -273.91473f), 622); - num3 = 6; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - Span span24 = CollectionsMarshal.AsSpan(list50); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list50; - reference35 = questStep4; - ref QuestStep reference36 = ref span22[2]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2008248u, new Vector3(729.3048f, 6.301941f, -355.18427f), 622); - num3 = 6; - List list51 = new List(num3); - CollectionsMarshal.SetCount(list51, num3); - Span span25 = CollectionsMarshal.AsSpan(list51); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list51; - reference36 = questStep5; - ref QuestStep reference37 = ref span22[3]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2008246u, new Vector3(641.7792f, 5.996765f, -355.6115f), 622); - num3 = 6; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - Span span26 = CollectionsMarshal.AsSpan(list52); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list52; - reference37 = questStep6; - obj31.Steps = list48; - reference33 = obj31; - ref QuestSequence reference38 = ref span21[4]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.Interact, 1020549u, new Vector3(555.9625f, 10.160159f, -266.46832f), 622); - obj32.Steps = list53; - reference38 = obj32; - ref QuestSequence reference39 = ref span21[5]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.Interact, 1020501u, new Vector3(484.48914f, 40.21725f, -469.5354f), 622); - obj33.Steps = list54; - reference39 = obj33; - ref QuestSequence reference40 = ref span21[6]; - QuestSequence obj34 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020544u, new Vector3(485.2522f, 40.32777f, -472.19043f), 622); - obj34.Steps = list55; - reference40 = obj34; - questRoot6.QuestSequence = list44; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(2506); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - CollectionsMarshal.AsSpan(list56)[0] = "JerryWester"; - questRoot7.Author = list56; - num = 7; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - Span span27 = CollectionsMarshal.AsSpan(list57); - ref QuestSequence reference41 = ref span27[0]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020544u, new Vector3(485.2522f, 40.32777f, -472.19043f), 622); - obj35.Steps = list58; - reference41 = obj35; - ref QuestSequence reference42 = ref span27[1]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.Interact, 1020670u, new Vector3(420.4928f, 42.47494f, -439.01733f), 622); - obj36.Steps = list59; - reference42 = obj36; - ref QuestSequence reference43 = ref span27[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - Span span28 = CollectionsMarshal.AsSpan(list60); - span28[0] = new QuestStep(EInteractionType.AcceptQuest, 1019405u, new Vector3(343.58728f, 26.261887f, -326.55835f), 622) - { - PickUpQuestId = new QuestId(2771) - }; - span28[1] = new QuestStep(EInteractionType.Interact, 1020671u, new Vector3(291.27942f, 46.15984f, -417.99042f), 622); - obj37.Steps = list60; - reference43 = obj37; - ref QuestSequence reference44 = ref span27[3]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - ref QuestStep reference45 = ref CollectionsMarshal.AsSpan(list61)[0]; - QuestStep obj39 = new QuestStep(EInteractionType.Combat, 2008929u, new Vector3(223.22424f, 49.66809f, -426.13873f), 622) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 3; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - Span span29 = CollectionsMarshal.AsSpan(list62); - span29[0] = 7565u; - span29[1] = 7566u; - span29[2] = 7567u; - obj39.KillEnemyDataIds = list62; - reference45 = obj39; - obj38.Steps = list61; - reference44 = obj38; - ref QuestSequence reference46 = ref span27[4]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.Interact, 1020673u, new Vector3(-2.1516113f, 69.62067f, -491.87457f), 622); - obj40.Steps = list63; - reference46 = obj40; - ref QuestSequence reference47 = ref span27[5]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - ref QuestStep reference48 = ref CollectionsMarshal.AsSpan(list64)[0]; - QuestStep obj42 = new QuestStep(EInteractionType.Combat, 2008930u, new Vector3(-250.59894f, 76.1272f, -486.71704f), 622) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - Span span30 = CollectionsMarshal.AsSpan(list65); - span30[0] = 7547u; - span30[1] = 7567u; - obj42.KillEnemyDataIds = list65; - reference48 = obj42; - obj41.Steps = list64; - reference47 = obj41; - ref QuestSequence reference49 = ref span27[6]; - QuestSequence obj43 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020679u, new Vector3(-507.80502f, 71.23162f, -512.0775f), 622); - obj43.Steps = list66; - reference49 = obj43; - questRoot7.QuestSequence = list57; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(2507); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - CollectionsMarshal.AsSpan(list67)[0] = "JerryWester"; - questRoot8.Author = list67; - num = 3; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - Span span31 = CollectionsMarshal.AsSpan(list68); - ref QuestSequence reference50 = ref span31[0]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020679u, new Vector3(-507.80502f, 71.23162f, -512.0775f), 622); - obj44.Steps = list69; - reference50 = obj44; - ref QuestSequence reference51 = ref span31[1]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.Duty, null, null, 622) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 240u - } - }; - obj45.Steps = list70; - reference51 = obj45; - ref QuestSequence reference52 = ref span31[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020682u, new Vector3(-507.49982f, 70.84219f, -501.45728f), 622); - obj46.Steps = list71; - reference52 = obj46; - questRoot8.QuestSequence = list68; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(2508); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - CollectionsMarshal.AsSpan(list72)[0] = "JerryWester"; - questRoot9.Author = list72; - num = 2; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - Span span32 = CollectionsMarshal.AsSpan(list73); - ref QuestSequence reference53 = ref span32[0]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020682u, new Vector3(-507.49982f, 70.84219f, -501.45728f), 622); - obj47.Steps = list74; - reference53 = obj47; - ref QuestSequence reference54 = ref span32[1]; - QuestSequence obj48 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019417u, new Vector3(-39.414062f, 122.1f, 63.61487f), 622); - obj48.Steps = list75; - reference54 = obj48; - questRoot9.QuestSequence = list73; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(2509); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - CollectionsMarshal.AsSpan(list76)[0] = "JerryWester"; - questRoot10.Author = list76; - num = 6; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - Span span33 = CollectionsMarshal.AsSpan(list77); - ref QuestSequence reference55 = ref span33[0]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022078u, new Vector3(-29.526245f, 121.09276f, 70.29822f), 622); - obj49.Steps = list78; - reference55 = obj49; - ref QuestSequence reference56 = ref span33[1]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - Span span34 = CollectionsMarshal.AsSpan(list79); - span34[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 622) - { - Aetheryte = EAetheryteLocation.AzimSteppeDawnThrone - }; - span34[1] = new QuestStep(EInteractionType.Interact, 1020687u, new Vector3(102.92212f, 114.904976f, 70.66455f), 622); - obj50.Steps = list79; - reference56 = obj50; - ref QuestSequence reference57 = ref span33[2]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - Span span35 = CollectionsMarshal.AsSpan(list80); - span35[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2008019u, new Vector3(105.607666f, 116.01428f, -49.69867f), 622) - { - AetherCurrentId = 2818212u - }; - ref QuestStep reference58 = ref span35[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1023089u, new Vector3(66.178345f, 114.904976f, -8.0720825f), 622); - num3 = 1; - List list81 = new List(num3); - CollectionsMarshal.SetCount(list81, num3); - CollectionsMarshal.AsSpan(list81)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDA410_02509_SYSTEM_000_051") - }; - questStep7.DialogueChoices = list81; - reference58 = questStep7; - obj51.Steps = list80; - reference57 = obj51; - ref QuestSequence reference59 = ref span33[3]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 3 - }; - num2 = 10; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - Span span36 = CollectionsMarshal.AsSpan(list82); - span36[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(65.04901f, 1.9869974f, 23.111439f), 622) - { - DisableNavmesh = true - }; - span36[1] = new QuestStep(EInteractionType.Dive, null, new Vector3(65.04901f, 1.9869974f, 23.111439f), 622) - { - DelaySecondsAtStart = 2f - }; - ref QuestStep reference60 = ref span36[2]; - QuestStep obj53 = new QuestStep(EInteractionType.Interact, 2008252u, new Vector3(61.020752f, -72.09894f, 11.123779f), 622) - { - DisableNavmesh = true - }; - num3 = 6; - List list83 = new List(num3); - CollectionsMarshal.SetCount(list83, num3); - Span span37 = CollectionsMarshal.AsSpan(list83); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj53.CompletionQuestVariablesFlags = list83; - reference60 = obj53; - ref QuestStep reference61 = ref span36[3]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2008250u, new Vector3(109.54443f, -51.285645f, -40.878906f), 622); - num3 = 6; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - Span span38 = CollectionsMarshal.AsSpan(list84); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list84; - reference61 = questStep8; - ref QuestStep reference62 = ref span36[4]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 2008255u, new Vector3(134.7218f, -61.69226f, -18.783936f), 622); - num3 = 6; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - Span span39 = CollectionsMarshal.AsSpan(list85); - span39[0] = null; - span39[1] = null; - span39[2] = null; - span39[3] = null; - span39[4] = null; - span39[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list85; - reference62 = questStep9; - ref QuestStep reference63 = ref span36[5]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 2008253u, new Vector3(166.55212f, -62.912964f, 27.481445f), 622); - num3 = 6; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - Span span40 = CollectionsMarshal.AsSpan(list86); - span40[0] = null; - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list86; - reference63 = questStep10; - ref QuestStep reference64 = ref span36[6]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 2008257u, new Vector3(-194.2627f, -57.66388f, 105.97388f), 622); - num3 = 6; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - Span span41 = CollectionsMarshal.AsSpan(list87); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list87; - reference64 = questStep11; - ref QuestStep reference65 = ref span36[7]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 2008256u, new Vector3(-126.26843f, -54.64258f, 93.43091f), 622); - num3 = 6; - List list88 = new List(num3); - CollectionsMarshal.SetCount(list88, num3); - Span span42 = CollectionsMarshal.AsSpan(list88); - span42[0] = null; - span42[1] = null; - span42[2] = null; - span42[3] = null; - span42[4] = null; - span42[5] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list88; - reference65 = questStep12; - ref QuestStep reference66 = ref span36[8]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 2008251u, new Vector3(-74.23517f, -57.78595f, 59.464355f), 622); - num3 = 6; - List list89 = new List(num3); - CollectionsMarshal.SetCount(list89, num3); - Span span43 = CollectionsMarshal.AsSpan(list89); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list89; - reference66 = questStep13; - ref QuestStep reference67 = ref span36[9]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 2008254u, new Vector3(-78.202515f, -60.105347f, 6.5460815f), 622); - num3 = 6; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - Span span44 = CollectionsMarshal.AsSpan(list90); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list90; - reference67 = questStep14; - obj52.Steps = list82; - reference59 = obj52; - ref QuestSequence reference68 = ref span33[4]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.Interact, 1020687u, new Vector3(102.92212f, 114.904976f, 70.66455f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone - }; - obj54.Steps = list91; - reference68 = obj54; - ref QuestSequence reference69 = ref span33[5]; - QuestSequence obj55 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019417u, new Vector3(-39.414062f, 122.1f, 63.61487f), 622); - obj55.Steps = list92; - reference69 = obj55; - questRoot10.QuestSequence = list77; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(2510); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list93 = new List(num); - CollectionsMarshal.SetCount(list93, num); - CollectionsMarshal.AsSpan(list93)[0] = "JerryWester"; - questRoot11.Author = list93; - num = 6; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - Span span45 = CollectionsMarshal.AsSpan(list94); - ref QuestSequence reference70 = ref span45[0]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021730u, new Vector3(-31.204712f, 121.12067f, 62.088867f), 622) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj56.Steps = list95; - reference70 = obj56; - ref QuestSequence reference71 = ref span45[1]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.Interact, 1019426u, new Vector3(-31.47937f, 114.90497f, -37.857666f), 622); - obj57.Steps = list96; - reference71 = obj57; - ref QuestSequence reference72 = ref span45[2]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - Span span46 = CollectionsMarshal.AsSpan(list97); - ref QuestStep reference73 = ref span46[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1021601u, new Vector3(69.047f, 115.59484f, -17.654724f), 622); - num3 = 6; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - Span span47 = CollectionsMarshal.AsSpan(list98); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list98; - reference73 = questStep15; - ref QuestStep reference74 = ref span46[1]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1021602u, new Vector3(-8.1026f, 114.90496f, 133.1654f), 622); - num3 = 6; - List list99 = new List(num3); - CollectionsMarshal.SetCount(list99, num3); - Span span48 = CollectionsMarshal.AsSpan(list99); - span48[0] = null; - span48[1] = null; - span48[2] = null; - span48[3] = null; - span48[4] = null; - span48[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list99; - reference74 = questStep16; - ref QuestStep reference75 = ref span46[2]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1020691u, new Vector3(1.6021729f, 114.90497f, 96.42175f), 622); - num3 = 6; - List list100 = new List(num3); - CollectionsMarshal.SetCount(list100, num3); - Span span49 = CollectionsMarshal.AsSpan(list100); - span49[0] = null; - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list100; - reference75 = questStep17; - ref QuestStep reference76 = ref span46[3]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1021600u, new Vector3(-44.327515f, 121f, 36.697876f), 622); - num3 = 6; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - Span span50 = CollectionsMarshal.AsSpan(list101); - span50[0] = null; - span50[1] = null; - span50[2] = null; - span50[3] = null; - span50[4] = null; - span50[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list101; - reference76 = questStep18; - obj58.Steps = list97; - reference72 = obj58; - ref QuestSequence reference77 = ref span45[3]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - Span span51 = CollectionsMarshal.AsSpan(list102); - span51[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-45.269917f, 114.904976f, 30.628508f), 622) - { - DisableNavmesh = true, - Mount = true - }; - span51[1] = new QuestStep(EInteractionType.Interact, 1019426u, new Vector3(-31.47937f, 114.90497f, -37.857666f), 622); - obj59.Steps = list102; - reference77 = obj59; - ref QuestSequence reference78 = ref span45[4]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.Interact, 1020689u, new Vector3(-28.21399f, 114.90497f, -37.583008f), 622); - obj60.Steps = list103; - reference78 = obj60; - ref QuestSequence reference79 = ref span45[5]; - QuestSequence obj61 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019417u, new Vector3(-39.414062f, 122.1f, 63.61487f), 622); - obj61.Steps = list104; - reference79 = obj61; - questRoot11.QuestSequence = list94; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(2511); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list105 = new List(num); - CollectionsMarshal.SetCount(list105, num); - CollectionsMarshal.AsSpan(list105)[0] = "JerryWester"; - questRoot12.Author = list105; - num = 5; - List list106 = new List(num); - CollectionsMarshal.SetCount(list106, num); - Span span52 = CollectionsMarshal.AsSpan(list106); - ref QuestSequence reference80 = ref span52[0]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019417u, new Vector3(-39.414062f, 122.1f, 63.61487f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj62.Steps = list107; - reference80 = obj62; - ref QuestSequence reference81 = ref span52[1]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.Interact, 1021605u, new Vector3(63.70642f, 114.90497f, 72.55664f), 622); - obj63.Steps = list108; - reference81 = obj63; - ref QuestSequence reference82 = ref span52[2]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - Span span53 = CollectionsMarshal.AsSpan(list109); - span53[0] = new QuestStep(EInteractionType.AcceptQuest, 1023348u, new Vector3(79.24011f, 114.90497f, 95.994385f), 622) - { - PickUpQuestId = new QuestId(2782) - }; - span53[1] = new QuestStep(EInteractionType.Emote, null, new Vector3(-136.6883f, 15.660965f, 579.51746f), 622) - { - StopDistance = 0.25f, - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion, - Emote = EEmote.Lookout - }; - obj64.Steps = list109; - reference82 = obj64; - ref QuestSequence reference83 = ref span52[3]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - Span span54 = CollectionsMarshal.AsSpan(list110); - ref QuestStep reference84 = ref span54[0]; - QuestStep obj66 = new QuestStep(EInteractionType.Combat, null, new Vector3(-291.58472f, 10.658516f, 602.01416f), 622) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list111 = new List(num3); - CollectionsMarshal.SetCount(list111, num3); - CollectionsMarshal.AsSpan(list111)[0] = 7563u; - obj66.KillEnemyDataIds = list111; - num3 = 6; - List list112 = new List(num3); - CollectionsMarshal.SetCount(list112, num3); - Span span55 = CollectionsMarshal.AsSpan(list112); - span55[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span55[1] = null; - span55[2] = null; - span55[3] = null; - span55[4] = null; - span55[5] = null; - obj66.CompletionQuestVariablesFlags = list112; - reference84 = obj66; - span54[1] = new QuestStep(EInteractionType.Interact, 1021608u, new Vector3(-291.58472f, 10.658516f, 602.01416f), 622); - obj65.Steps = list110; - reference83 = obj65; - ref QuestSequence reference85 = ref span52[4]; - QuestSequence obj67 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021625u, new Vector3(-290.33344f, 10.389871f, 598.9928f), 622) - { - StopDistance = 7f - }; - obj67.Steps = list113; - reference85 = obj67; - questRoot12.QuestSequence = list106; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(2512); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list114 = new List(num); - CollectionsMarshal.SetCount(list114, num); - CollectionsMarshal.AsSpan(list114)[0] = "JerryWester"; - questRoot13.Author = list114; - num = 5; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - Span span56 = CollectionsMarshal.AsSpan(list115); - ref QuestSequence reference86 = ref span56[0]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021625u, new Vector3(-290.33344f, 10.389871f, 598.9928f), 622) - { - StopDistance = 7f - }; - obj68.Steps = list116; - reference86 = obj68; - ref QuestSequence reference87 = ref span56[1]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.Interact, 1021611u, new Vector3(-447.74554f, 3.0839548f, 545.922f), 622); - obj69.Steps = list117; - reference87 = obj69; - ref QuestSequence reference88 = ref span56[2]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.Interact, 1021613u, new Vector3(-450.6142f, 3.3978803f, 540.7339f), 622); - obj70.Steps = list118; - reference88 = obj70; - ref QuestSequence reference89 = ref span56[3]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - Span span57 = CollectionsMarshal.AsSpan(list119); - ref QuestStep reference90 = ref span57[0]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 1019320u, new Vector3(-435.29413f, 2.267429f, 582.2689f), 622); - num3 = 6; - List list120 = new List(num3); - CollectionsMarshal.SetCount(list120, num3); - Span span58 = CollectionsMarshal.AsSpan(list120); - span58[0] = null; - span58[1] = null; - span58[2] = null; - span58[3] = null; - span58[4] = null; - span58[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list120; - reference90 = questStep19; - ref QuestStep reference91 = ref span57[1]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 1019322u, new Vector3(-411.64264f, 2.2485201f, 617.1815f), 622); - num3 = 6; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - Span span59 = CollectionsMarshal.AsSpan(list121); - span59[0] = null; - span59[1] = null; - span59[2] = null; - span59[3] = null; - span59[4] = null; - span59[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep20.CompletionQuestVariablesFlags = list121; - reference91 = questStep20; - ref QuestStep reference92 = ref span57[2]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1019321u, new Vector3(-473.0144f, 2.320309f, 616.907f), 622); - num3 = 6; - List list122 = new List(num3); - CollectionsMarshal.SetCount(list122, num3); - Span span60 = CollectionsMarshal.AsSpan(list122); - span60[0] = null; - span60[1] = null; - span60[2] = null; - span60[3] = null; - span60[4] = null; - span60[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep21.CompletionQuestVariablesFlags = list122; - reference92 = questStep21; - obj71.Steps = list119; - reference89 = obj71; - ref QuestSequence reference93 = ref span56[4]; - QuestSequence obj72 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021615u, new Vector3(-399.0387f, 2.257562f, 599.26746f), 622); - obj72.Steps = list123; - reference93 = obj72; - questRoot13.QuestSequence = list115; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(2513); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - CollectionsMarshal.AsSpan(list124)[0] = "JerryWester"; - questRoot14.Author = list124; - num = 4; - List list125 = new List(num); - CollectionsMarshal.SetCount(list125, num); - Span span61 = CollectionsMarshal.AsSpan(list125); - ref QuestSequence reference94 = ref span61[0]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021615u, new Vector3(-399.0387f, 2.257562f, 599.26746f), 622); - obj73.Steps = list126; - reference94 = obj73; - ref QuestSequence reference95 = ref span61[1]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - Span span62 = CollectionsMarshal.AsSpan(list127); - span62[0] = new QuestStep(EInteractionType.AcceptQuest, 1023193u, new Vector3(-434.0429f, 2.5501096f, 650.01904f), 622) - { - PickUpQuestId = new QuestId(2791) - }; - span62[1] = new QuestStep(EInteractionType.Interact, 1020280u, new Vector3(-448.1422f, 2.2771428f, 632.1354f), 622); - obj74.Steps = list127; - reference95 = obj74; - ref QuestSequence reference96 = ref span61[2]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - Span span63 = CollectionsMarshal.AsSpan(list128); - ref QuestStep reference97 = ref span63[0]; - QuestStep obj76 = new QuestStep(EInteractionType.Combat, null, new Vector3(-704.3717f, 6.362976f, 615.0759f), 622) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - CollectionsMarshal.AsSpan(list129)[0] = 7529u; - obj76.KillEnemyDataIds = list129; - reference97 = obj76; - span63[1] = new QuestStep(EInteractionType.Interact, 2008484u, new Vector3(-704.3717f, 6.362976f, 615.0759f), 622); - obj75.Steps = list128; - reference96 = obj75; - ref QuestSequence reference98 = ref span61[3]; - QuestSequence obj77 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021628u, new Vector3(-705.50085f, 6.554513f, 613.1837f), 622); - obj77.Steps = list130; - reference98 = obj77; - questRoot14.QuestSequence = list125; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(2514); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list131 = new List(num); - CollectionsMarshal.SetCount(list131, num); - CollectionsMarshal.AsSpan(list131)[0] = "JerryWester"; - questRoot15.Author = list131; - num = 4; - List list132 = new List(num); - CollectionsMarshal.SetCount(list132, num); - Span span64 = CollectionsMarshal.AsSpan(list132); - ref QuestSequence reference99 = ref span64[0]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021628u, new Vector3(-705.50085f, 6.554513f, 613.1837f), 622); - obj78.Steps = list133; - reference99 = obj78; - ref QuestSequence reference100 = ref span64[1]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - Span span65 = CollectionsMarshal.AsSpan(list134); - span65[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2008022u, new Vector3(-693.8301f, 7.263198f, 658.8989f), 622) - { - AetherCurrentId = 2818215u - }; - span65[1] = new QuestStep(EInteractionType.Interact, 1019417u, new Vector3(-39.414062f, 122.1f, 63.61487f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone - }; - obj79.Steps = list134; - reference100 = obj79; - ref QuestSequence reference101 = ref span64[2]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.Interact, 1021630u, new Vector3(59.586426f, 114.90497f, 72.3125f), 622); - obj80.Steps = list135; - reference101 = obj80; - ref QuestSequence reference102 = ref span64[3]; - QuestSequence obj81 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - Span span66 = CollectionsMarshal.AsSpan(list136); - span66[0] = new QuestStep(EInteractionType.Interact, 1019424u, new Vector3(66.056274f, 114.904976f, -8.377258f), 622) - { - TargetTerritoryId = (ushort)622 - }; - span66[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(202.73067f, 6.1036434f, 11.536863f), 622); - span66[2] = new QuestStep(EInteractionType.CompleteQuest, 1020539u, new Vector3(498.2832f, 40.836098f, -508.20172f), 622); - obj81.Steps = list136; - reference102 = obj81; - questRoot15.QuestSequence = list132; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(2515); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list137 = new List(num); - CollectionsMarshal.SetCount(list137, num); - CollectionsMarshal.AsSpan(list137)[0] = "JerryWester"; - questRoot16.Author = list137; - num = 6; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - Span span67 = CollectionsMarshal.AsSpan(list138); - ref QuestSequence reference103 = ref span67[0]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020539u, new Vector3(498.2832f, 40.836098f, -508.20172f), 622); - obj82.Steps = list139; - reference103 = obj82; - ref QuestSequence reference104 = ref span67[1]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - Span span68 = CollectionsMarshal.AsSpan(list140); - ref QuestStep reference105 = ref span68[0]; - QuestStep obj84 = new QuestStep(EInteractionType.Interact, 1019386u, new Vector3(501.21313f, 40.836082f, -505.9129f), 622) - { - StopDistance = 7f - }; - num3 = 6; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - Span span69 = CollectionsMarshal.AsSpan(list141); - span69[0] = null; - span69[1] = null; - span69[2] = null; - span69[3] = null; - span69[4] = null; - span69[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj84.CompletionQuestVariablesFlags = list141; - reference105 = obj84; - ref QuestStep reference106 = ref span68[1]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1019388u, new Vector3(508.04907f, 40.4257f, -482.7802f), 622); - num3 = 6; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - Span span70 = CollectionsMarshal.AsSpan(list142); - span70[0] = null; - span70[1] = null; - span70[2] = null; - span70[3] = null; - span70[4] = null; - span70[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep22.CompletionQuestVariablesFlags = list142; - num3 = 1; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - CollectionsMarshal.AsSpan(list143)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDA416_02515_Q1_000_102"), - Answer = new ExcelRef("TEXT_STMBDA416_02515_A1_000_103") - }; - questStep22.DialogueChoices = list143; - reference106 = questStep22; - ref QuestStep reference107 = ref span68[2]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1021634u, new Vector3(547.0206f, 38.87306f, -484.2146f), 622); - num3 = 6; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - Span span71 = CollectionsMarshal.AsSpan(list144); - span71[0] = null; - span71[1] = null; - span71[2] = null; - span71[3] = null; - span71[4] = null; - span71[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list144; - num3 = 1; - List list145 = new List(num3); - CollectionsMarshal.SetCount(list145, num3); - CollectionsMarshal.AsSpan(list145)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDA416_02515_Q1_100_070"), - Answer = new ExcelRef("TEXT_STMBDA416_02515_A1_120_070") - }; - questStep23.DialogueChoices = list145; - reference107 = questStep23; - ref QuestStep reference108 = ref span68[3]; - QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 1019396u, new Vector3(542.1378f, 40.425697f, -500.54172f), 622); - num3 = 6; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - Span span72 = CollectionsMarshal.AsSpan(list146); - span72[0] = null; - span72[1] = null; - span72[2] = null; - span72[3] = null; - span72[4] = null; - span72[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep24.CompletionQuestVariablesFlags = list146; - reference108 = questStep24; - obj83.Steps = list140; - reference104 = obj83; - ref QuestSequence reference109 = ref span67[2]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.Interact, 1019382u, new Vector3(496.5437f, 40.859642f, -510.58215f), 622); - obj85.Steps = list147; - reference109 = obj85; - ref QuestSequence reference110 = ref span67[3]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1020539u, new Vector3(498.2832f, 40.836098f, -508.20172f), 622) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj86.Steps = list148; - reference110 = obj86; - span67[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference111 = ref span67[5]; - QuestSequence obj87 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020540u, new Vector3(486.6864f, 40.08099f, -465.72064f), 622); - obj87.Steps = list149; - reference111 = obj87; - questRoot16.QuestSequence = list138; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(2516); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list150 = new List(num); - CollectionsMarshal.SetCount(list150, num); - CollectionsMarshal.AsSpan(list150)[0] = "JerryWester"; - questRoot17.Author = list150; - num = 5; - List list151 = new List(num); - CollectionsMarshal.SetCount(list151, num); - Span span73 = CollectionsMarshal.AsSpan(list151); - ref QuestSequence reference112 = ref span73[0]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020540u, new Vector3(486.6864f, 40.08099f, -465.72064f), 622); - obj88.Steps = list152; - reference112 = obj88; - ref QuestSequence reference113 = ref span73[1]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.Interact, 1019382u, new Vector3(496.5437f, 40.859642f, -510.58215f), 622); - obj89.Steps = list153; - reference113 = obj89; - ref QuestSequence reference114 = ref span73[2]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.Interact, 1021634u, new Vector3(547.0206f, 38.87306f, -484.2146f), 622); - obj90.Steps = list154; - reference114 = obj90; - ref QuestSequence reference115 = ref span73[3]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.Emote, null, new Vector3(545.6276f, 38.841972f, -482.91553f), 622) - { - StopDistance = 0.25f, - Emote = EEmote.VictoryPose - }; - obj91.Steps = list155; - reference115 = obj91; - ref QuestSequence reference116 = ref span73[4]; - QuestSequence obj92 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020539u, new Vector3(498.2832f, 40.836098f, -508.20172f), 622); - obj92.Steps = list156; - reference116 = obj92; - questRoot17.QuestSequence = list151; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(2517); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list157 = new List(num); - CollectionsMarshal.SetCount(list157, num); - CollectionsMarshal.AsSpan(list157)[0] = "JerryWester"; - questRoot18.Author = list157; - num = 4; - List list158 = new List(num); - CollectionsMarshal.SetCount(list158, num); - Span span74 = CollectionsMarshal.AsSpan(list158); - ref QuestSequence reference117 = ref span74[0]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021633u, new Vector3(495.10938f, 40.836124f, -508.50693f), 622) - { - StopDistance = 7f - }; - obj93.Steps = list159; - reference117 = obj93; - ref QuestSequence reference118 = ref span74[1]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.Interact, 1019417u, new Vector3(-39.414062f, 122.1f, 63.61487f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone - }; - obj94.Steps = list160; - reference118 = obj94; - ref QuestSequence reference119 = ref span74[2]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - Span span75 = CollectionsMarshal.AsSpan(list161); - span75[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(12.142036f, 121f, 63.4195f), 622) - { - Mount = true, - Fly = true - }; - span75[1] = new QuestStep(EInteractionType.Interact, 1019424u, new Vector3(66.056274f, 114.904976f, -8.377258f), 622) - { - TargetTerritoryId = (ushort)622, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span75[2] = new QuestStep(EInteractionType.Interact, 1020280u, new Vector3(-448.1422f, 2.2771428f, 632.1354f), 622) - { - Fly = true - }; - obj95.Steps = list161; - reference119 = obj95; - ref QuestSequence reference120 = ref span74[3]; - QuestSequence obj96 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021646u, new Vector3(-167.89502f, 0.88495153f, 816.8002f), 622) - { - Fly = true - }; - obj96.Steps = list162; - reference120 = obj96; - questRoot18.QuestSequence = list158; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(2518); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list163 = new List(num); - CollectionsMarshal.SetCount(list163, num); - CollectionsMarshal.AsSpan(list163)[0] = "JerryWester"; - questRoot19.Author = list163; - num = 4; - List list164 = new List(num); - CollectionsMarshal.SetCount(list164, num); - Span span76 = CollectionsMarshal.AsSpan(list164); - ref QuestSequence reference121 = ref span76[0]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021647u, new Vector3(-169.482f, 0.9213525f, 817.0748f), 622); - obj97.Steps = list165; - reference121 = obj97; - ref QuestSequence reference122 = ref span76[1]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - Span span77 = CollectionsMarshal.AsSpan(list166); - span77[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-161.8687f, 0.59802794f, 855.427f), 622) - { - TargetTerritoryId = (ushort)614, - Mount = true - }; - span77[1] = new QuestStep(EInteractionType.Interact, 1021652u, new Vector3(508.32373f, 14.072665f, -856.199f), 614); - obj98.Steps = list166; - reference122 = obj98; - ref QuestSequence reference123 = ref span76[2]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.Interact, 1021692u, new Vector3(330.76978f, 23.266533f, -542.56506f), 614) - { - Fly = true - }; - obj99.Steps = list167; - reference123 = obj99; - ref QuestSequence reference124 = ref span76[3]; - QuestSequence obj100 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020519u, new Vector3(173.78503f, 5.16971f, -417.41058f), 614); - obj100.Steps = list168; - reference124 = obj100; - questRoot19.QuestSequence = list164; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(2519); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list169 = new List(num); - CollectionsMarshal.SetCount(list169, num); - CollectionsMarshal.AsSpan(list169)[0] = "JerryWester"; - questRoot20.Author = list169; - num = 4; - List list170 = new List(num); - CollectionsMarshal.SetCount(list170, num); - Span span78 = CollectionsMarshal.AsSpan(list170); - ref QuestSequence reference125 = ref span78[0]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020519u, new Vector3(173.78503f, 5.16971f, -417.41058f), 614); - obj101.Steps = list171; - reference125 = obj101; - ref QuestSequence reference126 = ref span78[1]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.Interact, 1020524u, new Vector3(173.20508f, 5.1910434f, -433.24945f), 614); - obj102.Steps = list172; - reference126 = obj102; - ref QuestSequence reference127 = ref span78[2]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.Interact, 1020519u, new Vector3(173.78503f, 5.16971f, -417.41058f), 614); - obj103.Steps = list173; - reference127 = obj103; - ref QuestSequence reference128 = ref span78[3]; - QuestSequence obj104 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - Span span79 = CollectionsMarshal.AsSpan(list174); - span79[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 614) - { - Aetheryte = EAetheryteLocation.YanxiaHouseOfTheFierce - }; - span79[1] = new QuestStep(EInteractionType.Interact, 1019070u, new Vector3(151.20166f, 14.7757225f, 95.78088f), 628) - { - TargetTerritoryId = (ushort)639, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyBazaar - } - }; - span79[2] = new QuestStep(EInteractionType.CompleteQuest, 1023084u, new Vector3(-1.5717163f, 0f, -1.449646f), 639); - obj104.Steps = list174; - reference128 = obj104; - questRoot20.QuestSequence = list170; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(2520); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list175 = new List(num); - CollectionsMarshal.SetCount(list175, num); - CollectionsMarshal.AsSpan(list175)[0] = "JerryWester"; - questRoot21.Author = list175; - num = 9; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - Span span80 = CollectionsMarshal.AsSpan(list176); - ref QuestSequence reference129 = ref span80[0]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020519u, new Vector3(173.78503f, 5.16971f, -417.41058f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaHouseOfTheFierce, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj105.Steps = list177; - reference129 = obj105; - ref QuestSequence reference130 = ref span80[1]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.Interact, 1020520u, new Vector3(235.85864f, 4.456162f, -382.8031f), 614) - { - Fly = true - }; - obj106.Steps = list178; - reference130 = obj106; - ref QuestSequence reference131 = ref span80[2]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - Span span81 = CollectionsMarshal.AsSpan(list179); - span81[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(331.6093f, 22.34645f, -545.8195f), 614) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span81[1] = new QuestStep(EInteractionType.Interact, 2007923u, new Vector3(280.96436f, 16.006714f, -641.413f), 614) - { - Fly = true - }; - obj107.Steps = list179; - reference131 = obj107; - ref QuestSequence reference132 = ref span80[3]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.Interact, 2007924u, new Vector3(284.13818f, 6.729187f, -792.6604f), 614) - { - Fly = true - }; - obj108.Steps = list180; - reference132 = obj108; - ref QuestSequence reference133 = ref span80[4]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - ref QuestStep reference134 = ref CollectionsMarshal.AsSpan(list181)[0]; - QuestStep obj110 = new QuestStep(EInteractionType.Interact, 1020228u, new Vector3(462.6687f, -3.4607835f, -799.31335f), 614) - { - Fly = true - }; - num3 = 1; - List list182 = new List(num3); - CollectionsMarshal.SetCount(list182, num3); - CollectionsMarshal.AsSpan(list182)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDA502_02520_Q1_000_081"), - Answer = new ExcelRef("TEXT_STMBDA502_02520_A1_000_082") - }; - obj110.DialogueChoices = list182; - reference134 = obj110; - obj109.Steps = list181; - reference133 = obj109; - ref QuestSequence reference135 = ref span80[5]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - Span span82 = CollectionsMarshal.AsSpan(list183); - span82[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(543.4046f, 22.617083f, -726.5077f), 614) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span82[1] = new QuestStep(EInteractionType.Interact, 1020230u, new Vector3(552.1476f, 23.140884f, -690.486f), 614) - { - Fly = true - }; - obj111.Steps = list183; - reference135 = obj111; - ref QuestSequence reference136 = ref span80[6]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - ref QuestStep reference137 = ref CollectionsMarshal.AsSpan(list184)[0]; - QuestStep obj113 = new QuestStep(EInteractionType.Combat, null, new Vector3(551.98566f, 23.177525f, -691.4329f), 614) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list185 = new List(num3); - CollectionsMarshal.SetCount(list185, num3); - CollectionsMarshal.AsSpan(list185)[0] = 7561u; - obj113.KillEnemyDataIds = list185; - reference137 = obj113; - obj112.Steps = list184; - reference136 = obj112; - ref QuestSequence reference138 = ref span80[7]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.Interact, 1020273u, new Vector3(498.83264f, 11.856819f, -838.34595f), 614) - { - Fly = true - }; - obj114.Steps = list186; - reference138 = obj114; - ref QuestSequence reference139 = ref span80[8]; - QuestSequence obj115 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020520u, new Vector3(235.85864f, 4.456162f, -382.8031f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaHouseOfTheFierce - }; - obj115.Steps = list187; - reference139 = obj115; - questRoot21.QuestSequence = list176; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(2521); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list188 = new List(num); - CollectionsMarshal.SetCount(list188, num); - CollectionsMarshal.AsSpan(list188)[0] = "JerryWester"; - questRoot22.Author = list188; - num = 4; - List list189 = new List(num); - CollectionsMarshal.SetCount(list189, num); - Span span83 = CollectionsMarshal.AsSpan(list189); - ref QuestSequence reference140 = ref span83[0]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020520u, new Vector3(235.85864f, 4.456162f, -382.8031f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaHouseOfTheFierce, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj116.Steps = list190; - reference140 = obj116; - ref QuestSequence reference141 = ref span83[1]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.Interact, 1020521u, new Vector3(188.34204f, 5.069492f, -414.99963f), 614) - { - Fly = true - }; - obj117.Steps = list191; - reference141 = obj117; - ref QuestSequence reference142 = ref span83[2]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.Interact, 1023092u, new Vector3(442.64893f, 58.867764f, -171.31305f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai - }; - obj118.Steps = list192; - reference142 = obj118; - ref QuestSequence reference143 = ref span83[3]; - QuestSequence obj119 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020232u, new Vector3(337.27014f, 31.034986f, 206.43921f), 614) - { - Fly = true - }; - obj119.Steps = list193; - reference143 = obj119; - questRoot22.QuestSequence = list189; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(2522); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - CollectionsMarshal.AsSpan(list194)[0] = "JerryWester"; - questRoot23.Author = list194; - num = 7; - List list195 = new List(num); - CollectionsMarshal.SetCount(list195, num); - Span span84 = CollectionsMarshal.AsSpan(list195); - ref QuestSequence reference144 = ref span84[0]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020234u, new Vector3(336.93433f, 31.12357f, 203.479f), 614); - obj120.Steps = list196; - reference144 = obj120; - ref QuestSequence reference145 = ref span84[1]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - Span span85 = CollectionsMarshal.AsSpan(list197); - ref QuestStep reference146 = ref span85[0]; - QuestStep obj122 = new QuestStep(EInteractionType.Interact, 1019286u, new Vector3(233.60034f, 5.2518563f, -425.3758f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaHouseOfTheFierce - }; - num3 = 6; - List list198 = new List(num3); - CollectionsMarshal.SetCount(list198, num3); - Span span86 = CollectionsMarshal.AsSpan(list198); - span86[0] = null; - span86[1] = null; - span86[2] = null; - span86[3] = null; - span86[4] = null; - span86[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj122.CompletionQuestVariablesFlags = list198; - reference146 = obj122; - ref QuestStep reference147 = ref span85[1]; - QuestStep questStep25 = new QuestStep(EInteractionType.Interact, 1019287u, new Vector3(196.55139f, 5.1694055f, -410.66608f), 614); - num3 = 6; - List list199 = new List(num3); - CollectionsMarshal.SetCount(list199, num3); - Span span87 = CollectionsMarshal.AsSpan(list199); - span87[0] = null; - span87[1] = null; - span87[2] = null; - span87[3] = null; - span87[4] = null; - span87[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep25.CompletionQuestVariablesFlags = list199; - reference147 = questStep25; - ref QuestStep reference148 = ref span85[2]; - QuestStep questStep26 = new QuestStep(EInteractionType.Interact, 1019285u, new Vector3(195.63586f, 5.16971f, -437.2473f), 614); - num3 = 6; - List list200 = new List(num3); - CollectionsMarshal.SetCount(list200, num3); - Span span88 = CollectionsMarshal.AsSpan(list200); - span88[0] = null; - span88[1] = null; - span88[2] = null; - span88[3] = null; - span88[4] = null; - span88[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep26.CompletionQuestVariablesFlags = list200; - reference148 = questStep26; - obj121.Steps = list197; - reference145 = obj121; - ref QuestSequence reference149 = ref span84[2]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.Interact, 1023083u, new Vector3(174.73096f, 5.196835f, -432.578f), 614); - obj123.Steps = list201; - reference149 = obj123; - ref QuestSequence reference150 = ref span84[3]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - Span span89 = CollectionsMarshal.AsSpan(list202); - span89[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(318.10266f, 24.931192f, -494.28577f), 614) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span89[1] = new QuestStep(EInteractionType.Interact, 1020237u, new Vector3(-74.784485f, 53.217514f, -522.301f), 614) - { - Fly = true - }; - obj124.Steps = list202; - reference150 = obj124; - ref QuestSequence reference151 = ref span84[4]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.Interact, 1020238u, new Vector3(-156.23712f, 53.217514f, -621.912f), 614) - { - Fly = true - }; - obj125.Steps = list203; - reference151 = obj125; - ref QuestSequence reference152 = ref span84[5]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.Interact, 2007931u, new Vector3(-246.26538f, 53.20813f, -515.95337f), 614) - { - Fly = true - }; - obj126.Steps = list204; - reference152 = obj126; - ref QuestSequence reference153 = ref span84[6]; - QuestSequence obj127 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020239u, new Vector3(-291.43213f, 53.21751f, -614.313f), 614) - { - Fly = true - }; - obj127.Steps = list205; - reference153 = obj127; - questRoot23.QuestSequence = list195; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(2523); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list206 = new List(num); - CollectionsMarshal.SetCount(list206, num); - CollectionsMarshal.AsSpan(list206)[0] = "JerryWester"; - questRoot24.Author = list206; - num = 4; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - Span span90 = CollectionsMarshal.AsSpan(list207); - ref QuestSequence reference154 = ref span90[0]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020239u, new Vector3(-291.43213f, 53.21751f, -614.313f), 614); - obj128.Steps = list208; - reference154 = obj128; - ref QuestSequence reference155 = ref span90[1]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.Interact, 1020519u, new Vector3(173.78503f, 5.16971f, -417.41058f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaHouseOfTheFierce - }; - obj129.Steps = list209; - reference155 = obj129; - ref QuestSequence reference156 = ref span90[2]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - Span span91 = CollectionsMarshal.AsSpan(list210); - ref QuestStep reference157 = ref span91[0]; - QuestStep questStep27 = new QuestStep(EInteractionType.Interact, 1020523u, new Vector3(177.203f, 5.169708f, -416.15936f), 614); - num3 = 6; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - Span span92 = CollectionsMarshal.AsSpan(list211); - span92[0] = null; - span92[1] = null; - span92[2] = null; - span92[3] = null; - span92[4] = null; - span92[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep27.CompletionQuestVariablesFlags = list211; - reference157 = questStep27; - ref QuestStep reference158 = ref span91[1]; - QuestStep questStep28 = new QuestStep(EInteractionType.Interact, 1020521u, new Vector3(188.34204f, 5.069492f, -414.99963f), 614); - num3 = 6; - List list212 = new List(num3); - CollectionsMarshal.SetCount(list212, num3); - Span span93 = CollectionsMarshal.AsSpan(list212); - span93[0] = null; - span93[1] = null; - span93[2] = null; - span93[3] = null; - span93[4] = null; - span93[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep28.CompletionQuestVariablesFlags = list212; - reference158 = questStep28; - ref QuestStep reference159 = ref span91[2]; - QuestStep questStep29 = new QuestStep(EInteractionType.Interact, 1020240u, new Vector3(234.11914f, 5.6966333f, -427.1153f), 614); - num3 = 6; - List list213 = new List(num3); - CollectionsMarshal.SetCount(list213, num3); - Span span94 = CollectionsMarshal.AsSpan(list213); - span94[0] = null; - span94[1] = null; - span94[2] = null; - span94[3] = null; - span94[4] = null; - span94[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep29.CompletionQuestVariablesFlags = list213; - reference159 = questStep29; - obj130.Steps = list210; - reference156 = obj130; - ref QuestSequence reference160 = ref span90[3]; - QuestSequence obj131 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - Span span95 = CollectionsMarshal.AsSpan(list214); - span95[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(175.34885f, 5.16971f, -419.04416f), 614) - { - Fly = true - }; - ref QuestStep reference161 = ref span95[1]; - QuestStep questStep30 = new QuestStep(EInteractionType.CompleteQuest, 1020519u, new Vector3(173.78503f, 5.16971f, -417.41058f), 614); - num3 = 1; - List list215 = new List(num3); - CollectionsMarshal.SetCount(list215, num3); - CollectionsMarshal.AsSpan(list215)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDA505_02523_Q1_000_122"), - Answer = new ExcelRef("TEXT_STMBDA505_02523_A1_000_123") - }; - questStep30.DialogueChoices = list215; - reference161 = questStep30; - obj131.Steps = list214; - reference160 = obj131; - questRoot24.QuestSequence = list207; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(2524); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list216 = new List(num); - CollectionsMarshal.SetCount(list216, num); - CollectionsMarshal.AsSpan(list216)[0] = "JerryWester"; - questRoot25.Author = list216; - num = 7; - List list217 = new List(num); - CollectionsMarshal.SetCount(list217, num); - Span span96 = CollectionsMarshal.AsSpan(list217); - ref QuestSequence reference162 = ref span96[0]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - CollectionsMarshal.AsSpan(list218)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020524u, new Vector3(173.20508f, 5.1910434f, -433.24945f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaHouseOfTheFierce, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj132.Steps = list218; - reference162 = obj132; - ref QuestSequence reference163 = ref span96[1]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - Span span97 = CollectionsMarshal.AsSpan(list219); - span97[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(318.10266f, 24.931192f, -494.28577f), 614) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span97[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(77.23522f, 32.751614f, -517.566f), 614) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span97[2] = new QuestStep(EInteractionType.Interact, 2007932u, new Vector3(-162.70697f, 53.20813f, -558.80066f), 614) - { - Fly = true - }; - obj133.Steps = list219; - reference163 = obj133; - ref QuestSequence reference164 = ref span96[2]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.Interact, 1020244u, new Vector3(-241.99286f, 53.217506f, -653.193f), 614) - { - StopDistance = 5f - }; - obj134.Steps = list220; - reference164 = obj134; - ref QuestSequence reference165 = ref span96[3]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - Span span98 = CollectionsMarshal.AsSpan(list221); - span98[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-364.42896f, 1.2300289f, -363.52563f), 614) - { - Fly = true - }; - span98[1] = new QuestStep(EInteractionType.Interact, 1020247u, new Vector3(-366.3844f, 1.2300524f, -362.5086f), 614); - obj135.Steps = list221; - reference165 = obj135; - ref QuestSequence reference166 = ref span96[4]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - CollectionsMarshal.AsSpan(list222)[0] = new QuestStep(EInteractionType.Duty, null, null, 614) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 241u - } - }; - obj136.Steps = list222; - reference166 = obj136; - span96[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference167 = ref span96[6]; - QuestSequence obj137 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - CollectionsMarshal.AsSpan(list223)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020248u, new Vector3(-390.28003f, 30.646172f, -455.86328f), 614) - { - StopDistance = 7f - }; - obj137.Steps = list223; - reference167 = obj137; - questRoot25.QuestSequence = list217; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(2525); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list224 = new List(num); - CollectionsMarshal.SetCount(list224, num); - CollectionsMarshal.AsSpan(list224)[0] = "JerryWester"; - questRoot26.Author = list224; - num = 6; - List list225 = new List(num); - CollectionsMarshal.SetCount(list225, num); - Span span99 = CollectionsMarshal.AsSpan(list225); - ref QuestSequence reference168 = ref span99[0]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - CollectionsMarshal.AsSpan(list226)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020248u, new Vector3(-390.28003f, 30.646172f, -455.86328f), 614) - { - StopDistance = 7f - }; - obj138.Steps = list226; - reference168 = obj138; - ref QuestSequence reference169 = ref span99[1]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - ref QuestStep reference170 = ref CollectionsMarshal.AsSpan(list227)[0]; - QuestStep obj140 = new QuestStep(EInteractionType.Interact, 1020255u, new Vector3(-349.05017f, 1.2300365f, -343.86212f), 614) - { - Fly = true - }; - num3 = 1; - List list228 = new List(num3); - CollectionsMarshal.SetCount(list228, num3); - CollectionsMarshal.AsSpan(list228)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDA507_02525_Q1_000_092"), - Answer = new ExcelRef("TEXT_STMBDA507_02525_A1_000_093") - }; - obj140.DialogueChoices = list228; - reference170 = obj140; - obj139.Steps = list227; - reference169 = obj139; - span99[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference171 = ref span99[3]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - Span span100 = CollectionsMarshal.AsSpan(list229); - span100[0] = new QuestStep(EInteractionType.Interact, 1020644u, new Vector3(147.4784f, -4.1787133f, 50.5531f), 682) - { - TargetTerritoryId = (ushort)614 - }; - span100[1] = new QuestStep(EInteractionType.Interact, 1020258u, new Vector3(-462.39417f, 1.2300053f, 546.1356f), 614); - obj141.Steps = list229; - reference171 = obj141; - ref QuestSequence reference172 = ref span99[4]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - ref QuestStep reference173 = ref CollectionsMarshal.AsSpan(list230)[0]; - QuestStep obj143 = new QuestStep(EInteractionType.Interact, 1020263u, new Vector3(-472.12946f, 1.2306242f, 557.09155f), 614) - { - TargetTerritoryId = (ushort)628 - }; - num3 = 1; - List list231 = new List(num3); - CollectionsMarshal.SetCount(list231, num3); - CollectionsMarshal.AsSpan(list231)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDA507_02525_Q2_000_191"), - Answer = new ExcelRef("TEXT_STMBDA507_02525_A2_000_192") - }; - obj143.DialogueChoices = list231; - reference173 = obj143; - obj142.Steps = list230; - reference172 = obj142; - ref QuestSequence reference174 = ref span99[5]; - QuestSequence obj144 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020265u, new Vector3(-175.92126f, -7.0001082f, 53.81848f), 628) - { - StopDistance = 4f - }; - obj144.Steps = list232; - reference174 = obj144; - questRoot26.QuestSequence = list225; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(2526); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list233 = new List(num); - CollectionsMarshal.SetCount(list233, num); - CollectionsMarshal.AsSpan(list233)[0] = "JerryWester"; - questRoot27.Author = list233; - num = 4; - List list234 = new List(num); - CollectionsMarshal.SetCount(list234, num); - Span span101 = CollectionsMarshal.AsSpan(list234); - ref QuestSequence reference175 = ref span101[0]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020267u, new Vector3(-171.55719f, -7.000024f, 55.527588f), 628) - { - StopDistance = 7f - }; - obj145.Steps = list235; - reference175 = obj145; - ref QuestSequence reference176 = ref span101[1]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.Interact, 1019070u, new Vector3(151.20166f, 14.7757225f, 95.78088f), 628) - { - TargetTerritoryId = (ushort)639, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyBazaar - } - }; - obj146.Steps = list236; - reference176 = obj146; - ref QuestSequence reference177 = ref span101[2]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - Span span102 = CollectionsMarshal.AsSpan(list237); - span102[0] = new QuestStep(EInteractionType.Interact, 2008134u, new Vector3(-0.015319824f, 1.1443481f, 13.504211f), 639) - { - TargetTerritoryId = (ushort)628 - }; - span102[1] = new QuestStep(EInteractionType.Interact, 1020270u, new Vector3(-88.91437f, -6.999999f, -56.26001f), 628) - { - TargetTerritoryId = (ushort)129, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeRubyBazaar, - To = EAetheryteLocation.KuganeShiokazeHostelry - } - }; - obj147.Steps = list237; - reference177 = obj147; - ref QuestSequence reference178 = ref span101[3]; - QuestSequence obj148 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020441u, new Vector3(-355.58105f, 8.000015f, 40.787354f), 129); - obj148.Steps = list238; - reference178 = obj148; - questRoot27.QuestSequence = list234; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(2527); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list239 = new List(num); - CollectionsMarshal.SetCount(list239, num); - CollectionsMarshal.AsSpan(list239)[0] = "JerryWester"; - questRoot28.Author = list239; - num = 4; - List list240 = new List(num); - CollectionsMarshal.SetCount(list240, num); - Span span103 = CollectionsMarshal.AsSpan(list240); - ref QuestSequence reference179 = ref span103[0]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020439u, new Vector3(-355.55048f, 7.9999094f, 38.712036f), 129) - { - StopDistance = 6f - }; - obj149.Steps = list241; - reference179 = obj149; - ref QuestSequence reference180 = ref span103[1]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - CollectionsMarshal.AsSpan(list242)[0] = new QuestStep(EInteractionType.Interact, 1020553u, new Vector3(-612.66504f, 130.14716f, -480.36932f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens - }; - obj150.Steps = list242; - reference180 = obj150; - ref QuestSequence reference181 = ref span103[2]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.Interact, 1020401u, new Vector3(-473.16705f, 98.582886f, -349.05017f), 612); - obj151.Steps = list243; - reference181 = obj151; - ref QuestSequence reference182 = ref span103[3]; - QuestSequence obj152 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020354u, new Vector3(-605.2186f, 130f, -506.2486f), 612); - obj152.Steps = list244; - reference182 = obj152; - questRoot28.QuestSequence = list240; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(2528); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list245 = new List(num); - CollectionsMarshal.SetCount(list245, num); - CollectionsMarshal.AsSpan(list245)[0] = "JerryWester"; - questRoot29.Author = list245; - num = 6; - List list246 = new List(num); - CollectionsMarshal.SetCount(list246, num); - Span span104 = CollectionsMarshal.AsSpan(list246); - ref QuestSequence reference183 = ref span104[0]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020304u, new Vector3(-606.7445f, 130f, -506.95053f), 612) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj153.Steps = list247; - reference183 = obj153; - ref QuestSequence reference184 = ref span104[1]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.Interact, 1019466u, new Vector3(170.91626f, 13.02367f, -91.38635f), 635) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachNorthEast - } - }; - obj154.Steps = list248; - reference184 = obj154; - ref QuestSequence reference185 = ref span104[2]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - Span span105 = CollectionsMarshal.AsSpan(list249); - ref QuestStep reference186 = ref span105[0]; - QuestStep questStep31 = new QuestStep(EInteractionType.Interact, 1023762u, new Vector3(133.86731f, 0.65204144f, 8.926453f), 635); - num3 = 6; - List list250 = new List(num3); - CollectionsMarshal.SetCount(list250, num3); - Span span106 = CollectionsMarshal.AsSpan(list250); - span106[0] = null; - span106[1] = null; - span106[2] = null; - span106[3] = null; - span106[4] = null; - span106[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep31.CompletionQuestVariablesFlags = list250; - reference186 = questStep31; - ref QuestStep reference187 = ref span105[1]; - QuestStep questStep32 = new QuestStep(EInteractionType.Interact, 1023298u, new Vector3(22.354431f, -0.33829167f, 3.7384033f), 635); - num3 = 6; - List list251 = new List(num3); - CollectionsMarshal.SetCount(list251, num3); - Span span107 = CollectionsMarshal.AsSpan(list251); - span107[0] = null; - span107[1] = null; - span107[2] = null; - span107[3] = null; - span107[4] = null; - span107[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep32.CompletionQuestVariablesFlags = list251; - reference187 = questStep32; - ref QuestStep reference188 = ref span105[2]; - QuestStep questStep33 = new QuestStep(EInteractionType.Interact, 1023763u, new Vector3(13.504211f, -0.45803526f, 121.87378f), 635); - num3 = 6; - List list252 = new List(num3); - CollectionsMarshal.SetCount(list252, num3); - Span span108 = CollectionsMarshal.AsSpan(list252); - span108[0] = null; - span108[1] = null; - span108[2] = null; - span108[3] = null; - span108[4] = null; - span108[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep33.CompletionQuestVariablesFlags = list252; - reference188 = questStep33; - obj155.Steps = list249; - reference185 = obj155; - ref QuestSequence reference189 = ref span104[3]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - CollectionsMarshal.AsSpan(list253)[0] = new QuestStep(EInteractionType.Interact, 1019466u, new Vector3(170.91626f, 13.02367f, -91.38635f), 635) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachNorthEast - } - }; - obj156.Steps = list253; - reference189 = obj156; - ref QuestSequence reference190 = ref span104[4]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1020559u, new Vector3(-188.86096f, 43.219845f, -149.58423f), 612) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReachNorthEast, - To = EAetheryteLocation.RhalgrsReachFringesGate - }, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj157.Steps = list254; - reference190 = obj157; - ref QuestSequence reference191 = ref span104[5]; - QuestSequence obj158 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - CollectionsMarshal.AsSpan(list255)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020567u, new Vector3(-91.233765f, 50.004436f, 187.85376f), 612); - obj158.Steps = list255; - reference191 = obj158; - questRoot29.QuestSequence = list246; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(2529); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list256 = new List(num); - CollectionsMarshal.SetCount(list256, num); - CollectionsMarshal.AsSpan(list256)[0] = "JerryWester"; - questRoot30.Author = list256; - num = 4; - List list257 = new List(num); - CollectionsMarshal.SetCount(list257, num); - Span span109 = CollectionsMarshal.AsSpan(list257); - ref QuestSequence reference192 = ref span109[0]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - CollectionsMarshal.AsSpan(list258)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020568u, new Vector3(-92.42395f, 50.004436f, 185.6565f), 612) - { - StopDistance = 7f - }; - obj159.Steps = list258; - reference192 = obj159; - ref QuestSequence reference193 = ref span109[1]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - Span span110 = CollectionsMarshal.AsSpan(list259); - ref QuestStep reference194 = ref span110[0]; - QuestStep obj161 = new QuestStep(EInteractionType.Combat, null, new Vector3(-244.85674f, 52.147297f, 25.87217f), 612) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list260 = new List(num3); - CollectionsMarshal.SetCount(list260, num3); - CollectionsMarshal.AsSpan(list260)[0] = 8036u; - obj161.KillEnemyDataIds = list260; - num3 = 6; - List list261 = new List(num3); - CollectionsMarshal.SetCount(list261, num3); - Span span111 = CollectionsMarshal.AsSpan(list261); - span111[0] = null; - span111[1] = null; - span111[2] = null; - span111[3] = null; - span111[4] = null; - span111[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj161.CompletionQuestVariablesFlags = list261; - reference194 = obj161; - ref QuestStep reference195 = ref span110[1]; - QuestStep obj162 = new QuestStep(EInteractionType.Combat, null, new Vector3(-506.97742f, 56.85329f, 174.75038f), 612) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list262 = new List(num3); - CollectionsMarshal.SetCount(list262, num3); - Span span112 = CollectionsMarshal.AsSpan(list262); - span112[0] = 8044u; - span112[1] = 8050u; - obj162.KillEnemyDataIds = list262; - num3 = 6; - List list263 = new List(num3); - CollectionsMarshal.SetCount(list263, num3); - Span span113 = CollectionsMarshal.AsSpan(list263); - span113[0] = null; - span113[1] = null; - span113[2] = null; - span113[3] = null; - span113[4] = null; - span113[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj162.CompletionQuestVariablesFlags = list263; - reference195 = obj162; - obj160.Steps = list259; - reference193 = obj160; - ref QuestSequence reference196 = ref span109[2]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.Interact, 1020574u, new Vector3(-386.28217f, 54.221977f, -27.17633f), 612); - obj163.Steps = list264; - reference196 = obj163; - ref QuestSequence reference197 = ref span109[3]; - QuestSequence obj164 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020568u, new Vector3(-92.42395f, 50.004436f, 185.6565f), 612); - obj164.Steps = list265; - reference197 = obj164; - questRoot30.QuestSequence = list257; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(2530); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list266 = new List(num); - CollectionsMarshal.SetCount(list266, num); - CollectionsMarshal.AsSpan(list266)[0] = "JerryWester"; - questRoot31.Author = list266; - num = 4; - List list267 = new List(num); - CollectionsMarshal.SetCount(list267, num); - Span span114 = CollectionsMarshal.AsSpan(list267); - ref QuestSequence reference198 = ref span114[0]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - CollectionsMarshal.AsSpan(list268)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020568u, new Vector3(-92.42395f, 50.004436f, 185.6565f), 612); - obj165.Steps = list268; - reference198 = obj165; - ref QuestSequence reference199 = ref span114[1]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - ref QuestStep reference200 = ref CollectionsMarshal.AsSpan(list269)[0]; - QuestStep obj167 = new QuestStep(EInteractionType.Interact, 1020573u, new Vector3(-90.68439f, 50.00444f, 210.46765f), 612) - { - StopDistance = 7f, - TargetTerritoryId = (ushort)612 - }; - num3 = 1; - List list270 = new List(num3); - CollectionsMarshal.SetCount(list270, num3); - CollectionsMarshal.AsSpan(list270)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDA604_02530_WARP_YESNO_TITLE") - }; - obj167.DialogueChoices = list270; - reference200 = obj167; - obj166.Steps = list269; - reference199 = obj166; - ref QuestSequence reference201 = ref span114[2]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - CollectionsMarshal.AsSpan(list271)[0] = new QuestStep(EInteractionType.Interact, 1022327u, new Vector3(374.89893f, 44.793087f, 273.7621f), 612); - obj168.Steps = list271; - reference201 = obj168; - ref QuestSequence reference202 = ref span114[3]; - QuestSequence obj169 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - Span span115 = CollectionsMarshal.AsSpan(list272); - span115[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 612) - { - Aetheryte = EAetheryteLocation.FringesPeeringStones - }; - span115[1] = new QuestStep(EInteractionType.CompleteQuest, 1020578u, new Vector3(426.56592f, 114.54993f, 221.7898f), 612); - obj169.Steps = list272; - reference202 = obj169; - questRoot31.QuestSequence = list267; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(2531); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list273 = new List(num); - CollectionsMarshal.SetCount(list273, num); - CollectionsMarshal.AsSpan(list273)[0] = "JerryWester"; - questRoot32.Author = list273; - num = 3; - List list274 = new List(num); - CollectionsMarshal.SetCount(list274, num); - Span span116 = CollectionsMarshal.AsSpan(list274); - ref QuestSequence reference203 = ref span116[0]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020580u, new Vector3(451.52966f, 114.37317f, 236.40796f), 612); - obj170.Steps = list275; - reference203 = obj170; - ref QuestSequence reference204 = ref span116[1]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - Span span117 = CollectionsMarshal.AsSpan(list276); - span117[0] = new QuestStep(EInteractionType.AcceptQuest, 1020807u, new Vector3(433.9818f, 114.48304f, 233.29517f), 612) - { - PickUpQuestId = new QuestId(2821) - }; - span117[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2007971u, new Vector3(322.59094f, 88.97534f, 10.513428f), 612) - { - AetherCurrentId = 2818139u - }; - span117[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(328.29312f, 79.1903f, 2.052349f), 612) - { - DisableNavmesh = true, - Mount = true - }; - span117[3] = new QuestStep(EInteractionType.Interact, 1020817u, new Vector3(327.5348f, 83.45977f, -103.07471f), 612); - obj171.Steps = list276; - reference204 = obj171; - ref QuestSequence reference205 = ref span116[2]; - QuestSequence obj172 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - CollectionsMarshal.AsSpan(list277)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020827u, new Vector3(334.1267f, 82.94969f, -101.27417f), 612) - { - StopDistance = 7f - }; - obj172.Steps = list277; - reference205 = obj172; - questRoot32.QuestSequence = list274; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(2532); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list278 = new List(num); - CollectionsMarshal.SetCount(list278, num); - CollectionsMarshal.AsSpan(list278)[0] = "JerryWester"; - questRoot33.Author = list278; - num = 8; - List list279 = new List(num); - CollectionsMarshal.SetCount(list279, num); - Span span118 = CollectionsMarshal.AsSpan(list279); - ref QuestSequence reference206 = ref span118[0]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - CollectionsMarshal.AsSpan(list280)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020827u, new Vector3(334.1267f, 82.94969f, -101.27417f), 612) - { - StopDistance = 7f - }; - obj173.Steps = list280; - reference206 = obj173; - ref QuestSequence reference207 = ref span118[1]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - Span span119 = CollectionsMarshal.AsSpan(list281); - span119[0] = new QuestStep(EInteractionType.AcceptQuest, 1020821u, new Vector3(276.7223f, 76.853935f, -23.51416f), 612) - { - PickUpQuestId = new QuestId(2816) - }; - span119[1] = new QuestStep(EInteractionType.Interact, 1020589u, new Vector3(510.79578f, 122.30697f, -239.643f), 612); - obj174.Steps = list281; - reference207 = obj174; - ref QuestSequence reference208 = ref span118[2]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - Span span120 = CollectionsMarshal.AsSpan(list282); - span120[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2007972u, new Vector3(743.00745f, 180.98718f, -214.06885f), 612) - { - AetherCurrentId = 2818140u - }; - span120[1] = new QuestStep(EInteractionType.Interact, 2008200u, new Vector3(804.5929f, 179.70544f, -304.70746f), 612); - obj175.Steps = list282; - reference208 = obj175; - span118[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference209 = ref span118[4]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - ref QuestStep reference210 = ref CollectionsMarshal.AsSpan(list283)[0]; - QuestStep questStep34 = new QuestStep(EInteractionType.Interact, 1020593u, new Vector3(2.3651123f, -5.169945f, -13.260071f), 683); - num3 = 1; - List list284 = new List(num3); - CollectionsMarshal.SetCount(list284, num3); - CollectionsMarshal.AsSpan(list284)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDA606_02532_Q1_000_150"), - Answer = new ExcelRef("TEXT_STMBDA606_02532_A1_000_151") - }; - questStep34.DialogueChoices = list284; - reference210 = questStep34; - obj176.Steps = list283; - reference209 = obj176; - ref QuestSequence reference211 = ref span118[5]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - CollectionsMarshal.AsSpan(list285)[0] = new QuestStep(EInteractionType.Duty, null, null, 683) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 263u - } - }; - obj177.Steps = list285; - reference211 = obj177; - span118[6] = new QuestSequence - { - Sequence = 6 - }; - ref QuestSequence reference212 = ref span118[7]; - QuestSequence obj178 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - CollectionsMarshal.AsSpan(list286)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020592u, new Vector3(509.39185f, 122.137985f, -242.14551f), 612) - { - StopDistance = 5f - }; - obj178.Steps = list286; - reference212 = obj178; - questRoot33.QuestSequence = list279; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(2533); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list287 = new List(num); - CollectionsMarshal.SetCount(list287, num); - CollectionsMarshal.AsSpan(list287)[0] = "JerryWester"; - questRoot34.Author = list287; - num = 5; - List list288 = new List(num); - CollectionsMarshal.SetCount(list288, num); - Span span121 = CollectionsMarshal.AsSpan(list288); - ref QuestSequence reference213 = ref span121[0]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020589u, new Vector3(510.79578f, 122.30697f, -239.643f), 612) - { - StopDistance = 7f - }; - obj179.Steps = list289; - reference213 = obj179; - ref QuestSequence reference214 = ref span121[1]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - CollectionsMarshal.AsSpan(list290)[0] = new QuestStep(EInteractionType.Interact, 1020817u, new Vector3(327.5348f, 83.45977f, -103.07471f), 612); - obj180.Steps = list290; - reference214 = obj180; - ref QuestSequence reference215 = ref span121[2]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - CollectionsMarshal.AsSpan(list291)[0] = new QuestStep(EInteractionType.Interact, 1020578u, new Vector3(426.56592f, 114.54993f, 221.7898f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones - }; - obj181.Steps = list291; - reference215 = obj181; - ref QuestSequence reference216 = ref span121[3]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - CollectionsMarshal.AsSpan(list292)[0] = new QuestStep(EInteractionType.Interact, 1020578u, new Vector3(426.56592f, 114.54993f, 221.7898f), 612); - obj182.Steps = list292; - reference216 = obj182; - ref QuestSequence reference217 = ref span121[4]; - QuestSequence obj183 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - CollectionsMarshal.AsSpan(list293)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020596u, new Vector3(424.73486f, 114.60925f, 222.18652f), 612); - obj183.Steps = list293; - reference217 = obj183; - questRoot34.QuestSequence = list288; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(2534); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list294 = new List(num); - CollectionsMarshal.SetCount(list294, num); - CollectionsMarshal.AsSpan(list294)[0] = "JerryWester"; - questRoot35.Author = list294; - num = 5; - List list295 = new List(num); - CollectionsMarshal.SetCount(list295, num); - Span span122 = CollectionsMarshal.AsSpan(list295); - ref QuestSequence reference218 = ref span122[0]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - CollectionsMarshal.AsSpan(list296)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020596u, new Vector3(424.73486f, 114.60925f, 222.18652f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj184.Steps = list296; - reference218 = obj184; - ref QuestSequence reference219 = ref span122[1]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - Span span123 = CollectionsMarshal.AsSpan(list297); - span123[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(404.45657f, 73.72764f, 204.51974f), 612) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span123[1] = new QuestStep(EInteractionType.Interact, 1022334u, new Vector3(845.8839f, 86.0183f, 361.9287f), 612) - { - Fly = true - }; - obj185.Steps = list297; - reference219 = obj185; - span122[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference220 = ref span122[3]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - CollectionsMarshal.AsSpan(list298)[0] = new QuestStep(EInteractionType.Interact, 1020599u, new Vector3(-601.4649f, 323.9936f, 179.70544f), 620); - obj186.Steps = list298; - reference220 = obj186; - ref QuestSequence reference221 = ref span122[4]; - QuestSequence obj187 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - CollectionsMarshal.AsSpan(list299)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020600u, new Vector3(-286.7323f, 256.99963f, 696.22327f), 620); - obj187.Steps = list299; - reference221 = obj187; - questRoot35.QuestSequence = list295; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(2535); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list300 = new List(num); - CollectionsMarshal.SetCount(list300, num); - CollectionsMarshal.AsSpan(list300)[0] = "JerryWester"; - questRoot36.Author = list300; - num = 3; - List list301 = new List(num); - CollectionsMarshal.SetCount(list301, num); - Span span124 = CollectionsMarshal.AsSpan(list301); - ref QuestSequence reference222 = ref span124[0]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list302 = new List(num2); - CollectionsMarshal.SetCount(list302, num2); - CollectionsMarshal.AsSpan(list302)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020600u, new Vector3(-286.7323f, 256.99963f, 696.22327f), 620); - obj188.Steps = list302; - reference222 = obj188; - ref QuestSequence reference223 = ref span124[1]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list303 = new List(num2); - CollectionsMarshal.SetCount(list303, num2); - Span span125 = CollectionsMarshal.AsSpan(list303); - span125[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 620) - { - Aetheryte = EAetheryteLocation.PeaksAlaGhiri - }; - span125[1] = new QuestStep(EInteractionType.Interact, 1020604u, new Vector3(-299.39728f, 257.52652f, 770.7484f), 620); - obj189.Steps = list303; - reference223 = obj189; - ref QuestSequence reference224 = ref span124[2]; - QuestSequence obj190 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - CollectionsMarshal.AsSpan(list304)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020630u, new Vector3(-297.47473f, 257.52652f, 765.31616f), 620) - { - StopDistance = 6f - }; - obj190.Steps = list304; - reference224 = obj190; - questRoot36.QuestSequence = list301; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(2536); - QuestRoot questRoot37 = new QuestRoot(); - num = 2; - List list305 = new List(num); - CollectionsMarshal.SetCount(list305, num); - Span span126 = CollectionsMarshal.AsSpan(list305); - span126[0] = "JerryWester"; - span126[1] = "ewlame"; - questRoot37.Author = list305; - num = 3; - List list306 = new List(num); - CollectionsMarshal.SetCount(list306, num); - Span span127 = CollectionsMarshal.AsSpan(list306); - ref QuestSequence reference225 = ref span127[0]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list307 = new List(num2); - CollectionsMarshal.SetCount(list307, num2); - CollectionsMarshal.AsSpan(list307)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020630u, new Vector3(-297.47473f, 257.52652f, 765.31616f), 620) - { - StopDistance = 6f, - AetheryteShortcut = EAetheryteLocation.PeaksAlaGhiri, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj191.Steps = list307; - reference225 = obj191; - ref QuestSequence reference226 = ref span127[1]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - Span span128 = CollectionsMarshal.AsSpan(list308); - ref QuestStep reference227 = ref span128[0]; - QuestStep obj193 = new QuestStep(EInteractionType.Combat, 2008202u, new Vector3(-549.7368f, 257.3739f, 557.6714f), 620) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list309 = new List(num3); - CollectionsMarshal.SetCount(list309, num3); - Span span129 = CollectionsMarshal.AsSpan(list309); - span129[0] = 8033u; - span129[1] = 8045u; - obj193.KillEnemyDataIds = list309; - num3 = 6; - List list310 = new List(num3); - CollectionsMarshal.SetCount(list310, num3); - Span span130 = CollectionsMarshal.AsSpan(list310); - span130[0] = null; - span130[1] = null; - span130[2] = null; - span130[3] = null; - span130[4] = null; - span130[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj193.CompletionQuestVariablesFlags = list310; - reference227 = obj193; - ref QuestStep reference228 = ref span128[1]; - QuestStep obj194 = new QuestStep(EInteractionType.Combat, 2008203u, new Vector3(-460.92932f, 295.58252f, 256.0005f), 620) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list311 = new List(num3); - CollectionsMarshal.SetCount(list311, num3); - Span span131 = CollectionsMarshal.AsSpan(list311); - span131[0] = 8031u; - span131[1] = 8032u; - obj194.KillEnemyDataIds = list311; - num3 = 6; - List list312 = new List(num3); - CollectionsMarshal.SetCount(list312, num3); - Span span132 = CollectionsMarshal.AsSpan(list312); - span132[0] = null; - span132[1] = null; - span132[2] = null; - span132[3] = null; - span132[4] = null; - span132[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj194.CompletionQuestVariablesFlags = list312; - reference228 = obj194; - obj192.Steps = list308; - reference226 = obj192; - ref QuestSequence reference229 = ref span127[2]; - QuestSequence obj195 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list313 = new List(num2); - CollectionsMarshal.SetCount(list313, num2); - Span span133 = CollectionsMarshal.AsSpan(list313); - span133[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2007981u, new Vector3(-485.22168f, 304.46313f, 247.39441f), 620) - { - AetherCurrentId = 2818154u - }; - span133[1] = new QuestStep(EInteractionType.CompleteQuest, 1020608u, new Vector3(-346.15094f, 305.93304f, 149.03479f), 620); - obj195.Steps = list313; - reference229 = obj195; - questRoot37.QuestSequence = list306; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(2537); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list314 = new List(num); - CollectionsMarshal.SetCount(list314, num); - CollectionsMarshal.AsSpan(list314)[0] = "JerryWester"; - questRoot38.Author = list314; - num = 7; - List list315 = new List(num); - CollectionsMarshal.SetCount(list315, num); - Span span134 = CollectionsMarshal.AsSpan(list315); - ref QuestSequence reference230 = ref span134[0]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - CollectionsMarshal.AsSpan(list316)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020608u, new Vector3(-346.15094f, 305.93304f, 149.03479f), 620); - obj196.Steps = list316; - reference230 = obj196; - ref QuestSequence reference231 = ref span134[1]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list317 = new List(num2); - CollectionsMarshal.SetCount(list317, num2); - CollectionsMarshal.AsSpan(list317)[0] = new QuestStep(EInteractionType.Interact, 1020609u, new Vector3(-134.26416f, 305.2497f, 187.79272f), 620); - obj197.Steps = list317; - reference231 = obj197; - ref QuestSequence reference232 = ref span134[2]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list318 = new List(num2); - CollectionsMarshal.SetCount(list318, num2); - Span span135 = CollectionsMarshal.AsSpan(list318); - ref QuestStep reference233 = ref span135[0]; - QuestStep questStep35 = new QuestStep(EInteractionType.Interact, 2008944u, new Vector3(-128.98456f, 306.47742f, 188.58618f), 620); - num3 = 1; - List list319 = new List(num3); - CollectionsMarshal.SetCount(list319, num3); - CollectionsMarshal.AsSpan(list319)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDA611_02537_AREA_WARP_YESNO_TITLE") - }; - questStep35.DialogueChoices = list319; - reference233 = questStep35; - span135[1] = new QuestStep(EInteractionType.Interact, 1020610u, new Vector3(-77.25653f, 305.92664f, 154.00928f), 620); - obj198.Steps = list318; - reference232 = obj198; - ref QuestSequence reference234 = ref span134[3]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list320 = new List(num2); - CollectionsMarshal.SetCount(list320, num2); - Span span136 = CollectionsMarshal.AsSpan(list320); - ref QuestStep reference235 = ref span136[0]; - QuestStep questStep36 = new QuestStep(EInteractionType.Interact, 1020617u, new Vector3(-15.274292f, 317.61813f, 134.93542f), 620); - num3 = 6; - List list321 = new List(num3); - CollectionsMarshal.SetCount(list321, num3); - Span span137 = CollectionsMarshal.AsSpan(list321); - span137[0] = null; - span137[1] = null; - span137[2] = null; - span137[3] = null; - span137[4] = null; - span137[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep36.CompletionQuestVariablesFlags = list321; - reference235 = questStep36; - ref QuestStep reference236 = ref span136[1]; - QuestStep questStep37 = new QuestStep(EInteractionType.Interact, 1020618u, new Vector3(-17.502136f, 317.66766f, 114.39685f), 620); - num3 = 6; - List list322 = new List(num3); - CollectionsMarshal.SetCount(list322, num3); - Span span138 = CollectionsMarshal.AsSpan(list322); - span138[0] = null; - span138[1] = null; - span138[2] = null; - span138[3] = null; - span138[4] = null; - span138[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep37.CompletionQuestVariablesFlags = list322; - reference236 = questStep37; - ref QuestStep reference237 = ref span136[2]; - QuestStep questStep38 = new QuestStep(EInteractionType.Interact, 1020619u, new Vector3(0.289917f, 317.56836f, 105.57703f), 620); - num3 = 6; - List list323 = new List(num3); - CollectionsMarshal.SetCount(list323, num3); - Span span139 = CollectionsMarshal.AsSpan(list323); - span139[0] = null; - span139[1] = null; - span139[2] = null; - span139[3] = null; - span139[4] = null; - span139[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep38.CompletionQuestVariablesFlags = list323; - reference237 = questStep38; - obj199.Steps = list320; - reference234 = obj199; - ref QuestSequence reference238 = ref span134[4]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list324 = new List(num2); - CollectionsMarshal.SetCount(list324, num2); - CollectionsMarshal.AsSpan(list324)[0] = new QuestStep(EInteractionType.Interact, 1022335u, new Vector3(-30.289246f, 317.56836f, 123.85742f), 620); - obj200.Steps = list324; - reference238 = obj200; - ref QuestSequence reference239 = ref span134[5]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list325 = new List(num2); - CollectionsMarshal.SetCount(list325, num2); - CollectionsMarshal.AsSpan(list325)[0] = new QuestStep(EInteractionType.Interact, 1020613u, new Vector3(7.7667847f, 317.61786f, 110.0022f), 620); - obj201.Steps = list325; - reference239 = obj201; - ref QuestSequence reference240 = ref span134[6]; - QuestSequence obj202 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list326 = new List(num2); - CollectionsMarshal.SetCount(list326, num2); - CollectionsMarshal.AsSpan(list326)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020611u, new Vector3(7.827881f, 317.5509f, 112.41321f), 620); - obj202.Steps = list326; - reference240 = obj202; - questRoot38.QuestSequence = list315; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(2538); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list327 = new List(num); - CollectionsMarshal.SetCount(list327, num); - CollectionsMarshal.AsSpan(list327)[0] = "JerryWester"; - questRoot39.Author = list327; - num = 4; - List list328 = new List(num); - CollectionsMarshal.SetCount(list328, num); - Span span140 = CollectionsMarshal.AsSpan(list328); - ref QuestSequence reference241 = ref span140[0]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list329 = new List(num2); - CollectionsMarshal.SetCount(list329, num2); - CollectionsMarshal.AsSpan(list329)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020611u, new Vector3(7.827881f, 317.5509f, 112.41321f), 620); - obj203.Steps = list329; - reference241 = obj203; - ref QuestSequence reference242 = ref span140[1]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list330 = new List(num2); - CollectionsMarshal.SetCount(list330, num2); - CollectionsMarshal.AsSpan(list330)[0] = new QuestStep(EInteractionType.Interact, 1019945u, new Vector3(7.9804688f, 306.56976f, 73.68579f), 620); - obj204.Steps = list330; - reference242 = obj204; - ref QuestSequence reference243 = ref span140[2]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list331 = new List(num2); - CollectionsMarshal.SetCount(list331, num2); - Span span141 = CollectionsMarshal.AsSpan(list331); - ref QuestStep reference244 = ref span141[0]; - QuestStep questStep39 = new QuestStep(EInteractionType.Interact, 1023835u, new Vector3(-150.04199f, 305.79913f, 82.871704f), 620); - num3 = 6; - List list332 = new List(num3); - CollectionsMarshal.SetCount(list332, num3); - Span span142 = CollectionsMarshal.AsSpan(list332); - span142[0] = null; - span142[1] = null; - span142[2] = null; - span142[3] = null; - span142[4] = null; - span142[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep39.CompletionQuestVariablesFlags = list332; - reference244 = questStep39; - span141[1] = new QuestStep(EInteractionType.Interact, 2008450u, new Vector3(-126.54315f, 306.50793f, 186.26685f), 620) - { - TargetTerritoryId = (ushort)620 - }; - ref QuestStep reference245 = ref span141[2]; - QuestStep questStep40 = new QuestStep(EInteractionType.Interact, 1023834u, new Vector3(-148.4856f, 300.39352f, 265.73584f), 620); - num3 = 6; - List list333 = new List(num3); - CollectionsMarshal.SetCount(list333, num3); - Span span143 = CollectionsMarshal.AsSpan(list333); - span143[0] = null; - span143[1] = null; - span143[2] = null; - span143[3] = null; - span143[4] = null; - span143[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep40.CompletionQuestVariablesFlags = list333; - reference245 = questStep40; - ref QuestStep reference246 = ref span141[3]; - QuestStep questStep41 = new QuestStep(EInteractionType.Interact, 1020623u, new Vector3(-212.63446f, 296.37332f, 297.04736f), 620); - num3 = 6; - List list334 = new List(num3); - CollectionsMarshal.SetCount(list334, num3); - Span span144 = CollectionsMarshal.AsSpan(list334); - span144[0] = null; - span144[1] = null; - span144[2] = null; - span144[3] = null; - span144[4] = null; - span144[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep41.CompletionQuestVariablesFlags = list334; - reference246 = questStep41; - obj205.Steps = list331; - reference243 = obj205; - ref QuestSequence reference247 = ref span140[3]; - QuestSequence obj206 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list335 = new List(num2); - CollectionsMarshal.SetCount(list335, num2); - CollectionsMarshal.AsSpan(list335)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020601u, new Vector3(-286.54926f, 256.8515f, 693.1411f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGhiri - }; - obj206.Steps = list335; - reference247 = obj206; - questRoot39.QuestSequence = list328; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(2539); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list336 = new List(num); - CollectionsMarshal.SetCount(list336, num); - CollectionsMarshal.AsSpan(list336)[0] = "JerryWester"; - questRoot40.Author = list336; - num = 3; - List list337 = new List(num); - CollectionsMarshal.SetCount(list337, num); - Span span145 = CollectionsMarshal.AsSpan(list337); - ref QuestSequence reference248 = ref span145[0]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list338 = new List(num2); - CollectionsMarshal.SetCount(list338, num2); - CollectionsMarshal.AsSpan(list338)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020601u, new Vector3(-286.54926f, 256.8515f, 693.1411f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGhiri, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj207.Steps = list338; - reference248 = obj207; - ref QuestSequence reference249 = ref span145[1]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list339 = new List(num2); - CollectionsMarshal.SetCount(list339, num2); - CollectionsMarshal.AsSpan(list339)[0] = new QuestStep(EInteractionType.Interact, 1020604u, new Vector3(-299.39728f, 257.52652f, 770.7484f), 620); - obj208.Steps = list339; - reference249 = obj208; - ref QuestSequence reference250 = ref span145[2]; - QuestSequence obj209 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list340 = new List(num2); - CollectionsMarshal.SetCount(list340, num2); - CollectionsMarshal.AsSpan(list340)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020631u, new Vector3(-300.49597f, 257.5265f, 765.0415f), 620) - { - StopDistance = 7f - }; - obj209.Steps = list340; - reference250 = obj209; - questRoot40.QuestSequence = list337; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(2540); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list341 = new List(num); - CollectionsMarshal.SetCount(list341, num); - CollectionsMarshal.AsSpan(list341)[0] = "JerryWester"; - questRoot41.Author = list341; - num = 4; - List list342 = new List(num); - CollectionsMarshal.SetCount(list342, num); - Span span146 = CollectionsMarshal.AsSpan(list342); - ref QuestSequence reference251 = ref span146[0]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list343 = new List(num2); - CollectionsMarshal.SetCount(list343, num2); - CollectionsMarshal.AsSpan(list343)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020631u, new Vector3(-300.49597f, 257.5265f, 765.0415f), 620) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.PeaksAlaGhiri, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj210.Steps = list343; - reference251 = obj210; - ref QuestSequence reference252 = ref span146[1]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list344 = new List(num2); - CollectionsMarshal.SetCount(list344, num2); - ref QuestStep reference253 = ref CollectionsMarshal.AsSpan(list344)[0]; - QuestStep obj212 = new QuestStep(EInteractionType.Combat, 2009007u, new Vector3(-75.24231f, 262.4093f, 661.86f), 620) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list345 = new List(num3); - CollectionsMarshal.SetCount(list345, num3); - CollectionsMarshal.AsSpan(list345)[0] = 7534u; - obj212.KillEnemyDataIds = list345; - reference253 = obj212; - obj211.Steps = list344; - reference252 = obj211; - ref QuestSequence reference254 = ref span146[2]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list346 = new List(num2); - CollectionsMarshal.SetCount(list346, num2); - CollectionsMarshal.AsSpan(list346)[0] = new QuestStep(EInteractionType.Interact, 2008211u, new Vector3(-75.48645f, 262.4093f, 661.86f), 620) - { - StopDistance = 4.25f - }; - obj213.Steps = list346; - reference254 = obj213; - ref QuestSequence reference255 = ref span146[3]; - QuestSequence obj214 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list347 = new List(num2); - CollectionsMarshal.SetCount(list347, num2); - CollectionsMarshal.AsSpan(list347)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020633u, new Vector3(-113.42035f, 263.73114f, 655.75635f), 620) - { - StopDistance = 7f - }; - obj214.Steps = list347; - reference255 = obj214; - questRoot41.QuestSequence = list342; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(2541); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list348 = new List(num); - CollectionsMarshal.SetCount(list348, num); - CollectionsMarshal.AsSpan(list348)[0] = "JerryWester"; - questRoot42.Author = list348; - num = 3; - List list349 = new List(num); - CollectionsMarshal.SetCount(list349, num); - Span span147 = CollectionsMarshal.AsSpan(list349); - ref QuestSequence reference256 = ref span147[0]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - CollectionsMarshal.AsSpan(list350)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020633u, new Vector3(-113.42035f, 263.73114f, 655.75635f), 620) - { - StopDistance = 7f - }; - obj215.Steps = list350; - reference256 = obj215; - ref QuestSequence reference257 = ref span147[1]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list351 = new List(num2); - CollectionsMarshal.SetCount(list351, num2); - CollectionsMarshal.AsSpan(list351)[0] = new QuestStep(EInteractionType.Interact, 1020604u, new Vector3(-299.39728f, 257.52652f, 770.7484f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGhiri - }; - obj216.Steps = list351; - reference257 = obj216; - ref QuestSequence reference258 = ref span147[2]; - QuestSequence obj217 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list352 = new List(num2); - CollectionsMarshal.SetCount(list352, num2); - CollectionsMarshal.AsSpan(list352)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020629u, new Vector3(-298.51227f, 257.52652f, 764.98047f), 620) - { - StopDistance = 7f - }; - obj217.Steps = list352; - reference258 = obj217; - questRoot42.QuestSequence = list349; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(2542); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list353 = new List(num); - CollectionsMarshal.SetCount(list353, num); - CollectionsMarshal.AsSpan(list353)[0] = "JerryWester"; - questRoot43.Author = list353; - num = 6; - List list354 = new List(num); - CollectionsMarshal.SetCount(list354, num); - Span span148 = CollectionsMarshal.AsSpan(list354); - ref QuestSequence reference259 = ref span148[0]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list355 = new List(num2); - CollectionsMarshal.SetCount(list355, num2); - CollectionsMarshal.AsSpan(list355)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020629u, new Vector3(-298.51227f, 257.52652f, 764.98047f), 620) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.PeaksAlaGhiri, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj218.Steps = list355; - reference259 = obj218; - ref QuestSequence reference260 = ref span148[1]; - QuestSequence obj219 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list356 = new List(num2); - CollectionsMarshal.SetCount(list356, num2); - Span span149 = CollectionsMarshal.AsSpan(list356); - span149[0] = new QuestStep(EInteractionType.AcceptQuest, 1020873u, new Vector3(-327.96222f, 258.90652f, 757.3815f), 620) - { - PickUpQuestId = new QuestId(2842) - }; - span149[1] = new QuestStep(EInteractionType.Interact, 2009008u, new Vector3(-171.2215f, 294.5144f, 302.44897f), 620); - obj219.Steps = list356; - reference260 = obj219; - ref QuestSequence reference261 = ref span148[2]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list357 = new List(num2); - CollectionsMarshal.SetCount(list357, num2); - Span span150 = CollectionsMarshal.AsSpan(list357); - span150[0] = new QuestStep(EInteractionType.Interact, 1021557u, new Vector3(-130.02216f, 305.38147f, 189.71533f), 620) - { - TargetTerritoryId = (ushort)620 - }; - ref QuestStep reference262 = ref span150[1]; - QuestStep obj221 = new QuestStep(EInteractionType.Combat, 2009009u, new Vector3(-115.40399f, 305.47034f, 161.3031f), 620) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list358 = new List(num3); - CollectionsMarshal.SetCount(list358, num3); - Span span151 = CollectionsMarshal.AsSpan(list358); - span151[0] = 8032u; - span151[1] = 8045u; - obj221.KillEnemyDataIds = list358; - reference262 = obj221; - obj220.Steps = list357; - reference261 = obj220; - ref QuestSequence reference263 = ref span148[3]; - QuestSequence obj222 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list359 = new List(num2); - CollectionsMarshal.SetCount(list359, num2); - CollectionsMarshal.AsSpan(list359)[0] = new QuestStep(EInteractionType.Interact, 1021616u, new Vector3(64.31665f, 305.92664f, 152.6665f), 620); - obj222.Steps = list359; - reference263 = obj222; - ref QuestSequence reference264 = ref span148[4]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list360 = new List(num2); - CollectionsMarshal.SetCount(list360, num2); - ref QuestStep reference265 = ref CollectionsMarshal.AsSpan(list360)[0]; - QuestStep obj224 = new QuestStep(EInteractionType.Combat, 2009010u, new Vector3(148.82117f, 308.73572f, 166.58276f), 620) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list361 = new List(num3); - CollectionsMarshal.SetCount(list361, num3); - CollectionsMarshal.AsSpan(list361)[0] = 7569u; - obj224.KillEnemyDataIds = list361; - reference265 = obj224; - obj223.Steps = list360; - reference264 = obj223; - ref QuestSequence reference266 = ref span148[5]; - QuestSequence obj225 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list362 = new List(num2); - CollectionsMarshal.SetCount(list362, num2); - CollectionsMarshal.AsSpan(list362)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022344u, new Vector3(353.78027f, 323.77386f, 273.30432f), 620); - obj225.Steps = list362; - reference266 = obj225; - questRoot43.QuestSequence = list354; - AddQuest(questId43, questRoot43); - QuestId questId44 = new QuestId(2543); - QuestRoot questRoot44 = new QuestRoot(); - num = 1; - List list363 = new List(num); - CollectionsMarshal.SetCount(list363, num); - CollectionsMarshal.AsSpan(list363)[0] = "JerryWester"; - questRoot44.Author = list363; - num = 3; - List list364 = new List(num); - CollectionsMarshal.SetCount(list364, num); - Span span152 = CollectionsMarshal.AsSpan(list364); - ref QuestSequence reference267 = ref span152[0]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list365 = new List(num2); - CollectionsMarshal.SetCount(list365, num2); - CollectionsMarshal.AsSpan(list365)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022344u, new Vector3(353.78027f, 323.77386f, 273.30432f), 620); - obj226.Steps = list365; - reference267 = obj226; - ref QuestSequence reference268 = ref span152[1]; - QuestSequence obj227 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list366 = new List(num2); - CollectionsMarshal.SetCount(list366, num2); - ref QuestStep reference269 = ref CollectionsMarshal.AsSpan(list366)[0]; - QuestStep questStep42 = new QuestStep(EInteractionType.Interact, 1020642u, new Vector3(302.93726f, 324.3033f, 383.04712f), 620); - num3 = 1; - List list367 = new List(num3); - CollectionsMarshal.SetCount(list367, num3); - CollectionsMarshal.AsSpan(list367)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDA617_02543_Q1_000_000"), - Answer = new ExcelRef("TEXT_STMBDA617_02543_A1_000_002") - }; - questStep42.DialogueChoices = list367; - reference269 = questStep42; - obj227.Steps = list366; - reference268 = obj227; - ref QuestSequence reference270 = ref span152[2]; - QuestSequence obj228 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list368 = new List(num2); - CollectionsMarshal.SetCount(list368, num2); - CollectionsMarshal.AsSpan(list368)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020645u, new Vector3(257.80115f, 314.40753f, 416.15918f), 620); - obj228.Steps = list368; - reference270 = obj228; - questRoot44.QuestSequence = list364; - AddQuest(questId44, questRoot44); - QuestId questId45 = new QuestId(2544); - QuestRoot questRoot45 = new QuestRoot(); - num = 1; - List list369 = new List(num); - CollectionsMarshal.SetCount(list369, num); - CollectionsMarshal.AsSpan(list369)[0] = "JerryWester"; - questRoot45.Author = list369; - num = 9; - List list370 = new List(num); - CollectionsMarshal.SetCount(list370, num); - Span span153 = CollectionsMarshal.AsSpan(list370); - ref QuestSequence reference271 = ref span153[0]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list371 = new List(num2); - CollectionsMarshal.SetCount(list371, num2); - CollectionsMarshal.AsSpan(list371)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023606u, new Vector3(257.1908f, 314.22742f, 418.2954f), 620) - { - StopDistance = 7f - }; - obj229.Steps = list371; - reference271 = obj229; - ref QuestSequence reference272 = ref span153[1]; - QuestSequence obj230 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list372 = new List(num2); - CollectionsMarshal.SetCount(list372, num2); - ref QuestStep reference273 = ref CollectionsMarshal.AsSpan(list372)[0]; - QuestStep obj231 = new QuestStep(EInteractionType.Combat, 2009011u, new Vector3(306.38586f, 318.5625f, 432.45593f), 620) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list373 = new List(num3); - CollectionsMarshal.SetCount(list373, num3); - Span span154 = CollectionsMarshal.AsSpan(list373); - span154[0] = 7553u; - span154[1] = 7554u; - obj231.KillEnemyDataIds = list373; - reference273 = obj231; - obj230.Steps = list372; - reference272 = obj230; - ref QuestSequence reference274 = ref span153[2]; - QuestSequence obj232 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list374 = new List(num2); - CollectionsMarshal.SetCount(list374, num2); - ref QuestStep reference275 = ref CollectionsMarshal.AsSpan(list374)[0]; - QuestStep obj233 = new QuestStep(EInteractionType.Combat, 2009012u, new Vector3(333.36377f, 322.0111f, 439.3529f), 620) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list375 = new List(num3); - CollectionsMarshal.SetCount(list375, num3); - Span span155 = CollectionsMarshal.AsSpan(list375); - span155[0] = 8033u; - span155[1] = 8045u; - obj233.KillEnemyDataIds = list375; - reference275 = obj233; - obj232.Steps = list374; - reference274 = obj232; - ref QuestSequence reference276 = ref span153[3]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list376 = new List(num2); - CollectionsMarshal.SetCount(list376, num2); - CollectionsMarshal.AsSpan(list376)[0] = new QuestStep(EInteractionType.Interact, 1020646u, new Vector3(385.7633f, 332.03845f, 487.0526f), 620); - obj234.Steps = list376; - reference276 = obj234; - ref QuestSequence reference277 = ref span153[4]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list377 = new List(num2); - CollectionsMarshal.SetCount(list377, num2); - ref QuestStep reference278 = ref CollectionsMarshal.AsSpan(list377)[0]; - QuestStep obj236 = new QuestStep(EInteractionType.Combat, 2009013u, new Vector3(422.2323f, 335.46948f, 481.74243f), 620) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list378 = new List(num3); - CollectionsMarshal.SetCount(list378, num3); - Span span156 = CollectionsMarshal.AsSpan(list378); - span156[0] = 7568u; - span156[1] = 8040u; - obj236.KillEnemyDataIds = list378; - reference278 = obj236; - obj235.Steps = list377; - reference277 = obj235; - ref QuestSequence reference279 = ref span153[5]; - QuestSequence obj237 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list379 = new List(num2); - CollectionsMarshal.SetCount(list379, num2); - CollectionsMarshal.AsSpan(list379)[0] = new QuestStep(EInteractionType.Interact, 2008212u, new Vector3(431.11304f, 335.6526f, 487.17468f), 620); - obj237.Steps = list379; - reference279 = obj237; - ref QuestSequence reference280 = ref span153[6]; - QuestSequence obj238 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list380 = new List(num2); - CollectionsMarshal.SetCount(list380, num2); - ref QuestStep reference281 = ref CollectionsMarshal.AsSpan(list380)[0]; - QuestStep questStep43 = new QuestStep(EInteractionType.Duty, null, null, 620); - DutyOptions obj239 = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 242u - }; - num3 = 2; - List list381 = new List(num3); - CollectionsMarshal.SetCount(list381, num3); - Span span157 = CollectionsMarshal.AsSpan(list381); - span157[0] = "(before boss 2) AD doesn't attack magitek pods, but waits for enemies to spawn from them (even though it has explicit waypoints)"; - span157[1] = "(boss 2) VBM moves out of the towers before their mechanic is resolved, sometimes killing the NPC healer"; - obj239.Notes = list381; - questStep43.DutyOptions = obj239; - reference281 = questStep43; - obj238.Steps = list380; - reference280 = obj238; - span153[7] = new QuestSequence - { - Sequence = 7 - }; - ref QuestSequence reference282 = ref span153[8]; - QuestSequence obj240 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list382 = new List(num2); - CollectionsMarshal.SetCount(list382, num2); - CollectionsMarshal.AsSpan(list382)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020647u, new Vector3(561.45557f, 344.11768f, 435.3551f), 620) - { - StopDistance = 5f - }; - obj240.Steps = list382; - reference282 = obj240; - questRoot45.QuestSequence = list370; - AddQuest(questId45, questRoot45); - QuestId questId46 = new QuestId(2545); - QuestRoot questRoot46 = new QuestRoot(); - num = 1; - List list383 = new List(num); - CollectionsMarshal.SetCount(list383, num); - CollectionsMarshal.AsSpan(list383)[0] = "JerryWester"; - questRoot46.Author = list383; - num = 2; - List list384 = new List(num); - CollectionsMarshal.SetCount(list384, num); - Span span158 = CollectionsMarshal.AsSpan(list384); - ref QuestSequence reference283 = ref span158[0]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list385 = new List(num2); - CollectionsMarshal.SetCount(list385, num2); - CollectionsMarshal.AsSpan(list385)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020648u, new Vector3(568.1697f, 344.1177f, 435.29407f), 620); - obj241.Steps = list385; - reference283 = obj241; - ref QuestSequence reference284 = ref span158[1]; - QuestSequence obj242 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list386 = new List(num2); - CollectionsMarshal.SetCount(list386, num2); - CollectionsMarshal.AsSpan(list386)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020656u, new Vector3(260.39514f, 322.83618f, 742.0309f), 620); - obj242.Steps = list386; - reference284 = obj242; - questRoot46.QuestSequence = list384; - AddQuest(questId46, questRoot46); - QuestId questId47 = new QuestId(2546); - QuestRoot questRoot47 = new QuestRoot(); - num = 1; - List list387 = new List(num); - CollectionsMarshal.SetCount(list387, num); - CollectionsMarshal.AsSpan(list387)[0] = "JerryWester"; - questRoot47.Author = list387; - num = 7; - List list388 = new List(num); - CollectionsMarshal.SetCount(list388, num); - Span span159 = CollectionsMarshal.AsSpan(list388); - ref QuestSequence reference285 = ref span159[0]; - QuestSequence obj243 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list389 = new List(num2); - CollectionsMarshal.SetCount(list389, num2); - CollectionsMarshal.AsSpan(list389)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020656u, new Vector3(260.39514f, 322.83618f, 742.0309f), 620); - obj243.Steps = list389; - reference285 = obj243; - ref QuestSequence reference286 = ref span159[1]; - QuestSequence obj244 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list390 = new List(num2); - CollectionsMarshal.SetCount(list390, num2); - CollectionsMarshal.AsSpan(list390)[0] = new QuestStep(EInteractionType.Interact, 1022370u, new Vector3(265.156f, 322.83618f, 746.94434f), 620) - { - StopDistance = 7f - }; - obj244.Steps = list390; - reference286 = obj244; - ref QuestSequence reference287 = ref span159[2]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list391 = new List(num2); - CollectionsMarshal.SetCount(list391, num2); - CollectionsMarshal.AsSpan(list391)[0] = new QuestStep(EInteractionType.Interact, 1022371u, new Vector3(259.84583f, 322.83618f, 740.6881f), 620) - { - StopDistance = 7f - }; - obj245.Steps = list391; - reference287 = obj245; - ref QuestSequence reference288 = ref span159[3]; - QuestSequence obj246 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list392 = new List(num2); - CollectionsMarshal.SetCount(list392, num2); - CollectionsMarshal.AsSpan(list392)[0] = new QuestStep(EInteractionType.Interact, 1020653u, new Vector3(202.10571f, 311.14526f, 606.16455f), 620); - obj246.Steps = list392; - reference288 = obj246; - ref QuestSequence reference289 = ref span159[4]; - QuestSequence obj247 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list393 = new List(num2); - CollectionsMarshal.SetCount(list393, num2); - Span span160 = CollectionsMarshal.AsSpan(list393); - span160[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2007984u, new Vector3(146.6239f, 303.7307f, 460.80713f), 620) - { - AetherCurrentId = 2818157u - }; - ref QuestStep reference290 = ref span160[1]; - QuestStep obj248 = new QuestStep(EInteractionType.Combat, 1020657u, new Vector3(143.6637f, 298.43732f, 399.95422f), 620) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 3; - List list394 = new List(num3); - CollectionsMarshal.SetCount(list394, num3); - Span span161 = CollectionsMarshal.AsSpan(list394); - span161[0] = 7494u; - span161[1] = 7536u; - span161[2] = 7565u; - obj248.KillEnemyDataIds = list394; - reference290 = obj248; - obj247.Steps = list393; - reference289 = obj247; - ref QuestSequence reference291 = ref span159[5]; - QuestSequence obj249 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list395 = new List(num2); - CollectionsMarshal.SetCount(list395, num2); - CollectionsMarshal.AsSpan(list395)[0] = new QuestStep(EInteractionType.Interact, 1020658u, new Vector3(404.28784f, 334.2325f, 484.45862f), 620); - obj249.Steps = list395; - reference291 = obj249; - ref QuestSequence reference292 = ref span159[6]; - QuestSequence obj250 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list396 = new List(num2); - CollectionsMarshal.SetCount(list396, num2); - CollectionsMarshal.AsSpan(list396)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020660u, new Vector3(318.16577f, 324.3033f, 376.88245f), 620); - obj250.Steps = list396; - reference292 = obj250; - questRoot47.QuestSequence = list388; - AddQuest(questId47, questRoot47); - QuestId questId48 = new QuestId(2547); - QuestRoot questRoot48 = new QuestRoot(); - num = 1; - List list397 = new List(num); - CollectionsMarshal.SetCount(list397, num); - CollectionsMarshal.AsSpan(list397)[0] = "JerryWester"; - questRoot48.Author = list397; - num = 4; - List list398 = new List(num); - CollectionsMarshal.SetCount(list398, num); - Span span162 = CollectionsMarshal.AsSpan(list398); - ref QuestSequence reference293 = ref span162[0]; - QuestSequence obj251 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list399 = new List(num2); - CollectionsMarshal.SetCount(list399, num2); - CollectionsMarshal.AsSpan(list399)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020661u, new Vector3(316.823f, 324.3033f, 378.6526f), 620); - obj251.Steps = list399; - reference293 = obj251; - ref QuestSequence reference294 = ref span162[1]; - QuestSequence obj252 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list400 = new List(num2); - CollectionsMarshal.SetCount(list400, num2); - CollectionsMarshal.AsSpan(list400)[0] = new QuestStep(EInteractionType.Interact, 1019486u, new Vector3(-116.746826f, 0.6342248f, -55.832825f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachWest - } - }; - obj252.Steps = list400; - reference294 = obj252; - ref QuestSequence reference295 = ref span162[2]; - QuestSequence obj253 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list401 = new List(num2); - CollectionsMarshal.SetCount(list401, num2); - CollectionsMarshal.AsSpan(list401)[0] = new QuestStep(EInteractionType.Interact, 2008216u, new Vector3(-52.47583f, -0.015319824f, -23.39215f), 635); - obj253.Steps = list401; - reference295 = obj253; - ref QuestSequence reference296 = ref span162[3]; - QuestSequence obj254 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list402 = new List(num2); - CollectionsMarshal.SetCount(list402, num2); - CollectionsMarshal.AsSpan(list402)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020665u, new Vector3(-53.421875f, -0.11677644f, -28.610718f), 635) - { - StopDistance = 5f - }; - obj254.Steps = list402; - reference296 = obj254; - questRoot48.QuestSequence = list398; - AddQuest(questId48, questRoot48); - QuestId questId49 = new QuestId(2548); - QuestRoot questRoot49 = new QuestRoot(); - num = 1; - List list403 = new List(num); - CollectionsMarshal.SetCount(list403, num); - CollectionsMarshal.AsSpan(list403)[0] = "JerryWester"; - questRoot49.Author = list403; - num = 5; - List list404 = new List(num); - CollectionsMarshal.SetCount(list404, num); - Span span163 = CollectionsMarshal.AsSpan(list404); - ref QuestSequence reference297 = ref span163[0]; - QuestSequence obj255 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list405 = new List(num2); - CollectionsMarshal.SetCount(list405, num2); - CollectionsMarshal.AsSpan(list405)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020665u, new Vector3(-53.421875f, -0.11677644f, -28.610718f), 635) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj255.Steps = list405; - reference297 = obj255; - ref QuestSequence reference298 = ref span163[1]; - QuestSequence obj256 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list406 = new List(num2); - CollectionsMarshal.SetCount(list406, num2); - CollectionsMarshal.AsSpan(list406)[0] = new QuestStep(EInteractionType.Interact, 1020412u, new Vector3(-137.74323f, 0.5980506f, -81.498474f), 635); - obj256.Steps = list406; - reference298 = obj256; - ref QuestSequence reference299 = ref span163[2]; - QuestSequence obj257 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list407 = new List(num2); - CollectionsMarshal.SetCount(list407, num2); - Span span164 = CollectionsMarshal.AsSpan(list407); - span164[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-271.59692f, 257.52652f, 737.01855f), 620) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.PeaksAlaGhiri - }; - span164[1] = new QuestStep(EInteractionType.Interact, 1021557u, new Vector3(-130.02216f, 305.38147f, 189.71533f), 620) - { - TargetTerritoryId = (ushort)620, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span164[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(1.7183262f, 317.60666f, 141.11252f), 620) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span164[3] = new QuestStep(EInteractionType.Interact, 1020649u, new Vector3(570.94666f, 344.1177f, 422.17126f), 620) - { - Fly = true - }; - obj257.Steps = list407; - reference299 = obj257; - ref QuestSequence reference300 = ref span163[3]; - QuestSequence obj258 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list408 = new List(num2); - CollectionsMarshal.SetCount(list408, num2); - CollectionsMarshal.AsSpan(list408)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(590.9373f, 344.0868f, 421.07693f), 620); - obj258.Steps = list408; - reference300 = obj258; - ref QuestSequence reference301 = ref span163[4]; - QuestSequence obj259 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list409 = new List(num2); - CollectionsMarshal.SetCount(list409, num2); - Span span165 = CollectionsMarshal.AsSpan(list409); - span165[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 621) - { - Aetheryte = EAetheryteLocation.LochsPortaPraetoria - }; - span165[1] = new QuestStep(EInteractionType.CompleteQuest, 1021704u, new Vector3(-651.51447f, 50.000015f, -3.1281738f), 621); - obj259.Steps = list409; - reference301 = obj259; - questRoot49.QuestSequence = list404; - AddQuest(questId49, questRoot49); - QuestId questId50 = new QuestId(2549); - QuestRoot questRoot50 = new QuestRoot(); - num = 1; - List list410 = new List(num); - CollectionsMarshal.SetCount(list410, num); - CollectionsMarshal.AsSpan(list410)[0] = "JerryWester"; - questRoot50.Author = list410; - num = 3; - List list411 = new List(num); - CollectionsMarshal.SetCount(list411, num); - Span span166 = CollectionsMarshal.AsSpan(list411); - ref QuestSequence reference302 = ref span166[0]; - QuestSequence obj260 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list412 = new List(num2); - CollectionsMarshal.SetCount(list412, num2); - CollectionsMarshal.AsSpan(list412)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021704u, new Vector3(-651.51447f, 50.000015f, -3.1281738f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj260.Steps = list412; - reference302 = obj260; - ref QuestSequence reference303 = ref span166[1]; - QuestSequence obj261 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list413 = new List(num2); - CollectionsMarshal.SetCount(list413, num2); - Span span167 = CollectionsMarshal.AsSpan(list413); - ref QuestStep reference304 = ref span167[0]; - QuestStep obj262 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-791.2012f, 46.3994f, -15.904689f), 621) - { - TargetTerritoryId = (ushort)620 - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list414 = new List(num3); - CollectionsMarshal.SetCount(list414, num3); - CollectionsMarshal.AsSpan(list414)[0] = 620; - skipStepConditions2.InTerritory = list414; - num3 = 1; - List list415 = new List(num3); - CollectionsMarshal.SetCount(list415, num3); - CollectionsMarshal.AsSpan(list415)[0] = new QuestId(2860); - skipStepConditions2.QuestsCompleted = list415; - skipConditions2.StepIf = skipStepConditions2; - obj262.SkipConditions = skipConditions2; - reference304 = obj262; - span167[1] = new QuestStep(EInteractionType.AcceptQuest, 1023167u, new Vector3(313.28296f, 324.51355f, 362.4475f), 620) - { - PickUpQuestId = new QuestId(2851) - }; - span167[2] = new QuestStep(EInteractionType.AcceptQuest, 1020893u, new Vector3(283.77197f, 322.87146f, 752.34607f), 620) - { - PickUpQuestId = new QuestId(2860) - }; - ref QuestStep reference305 = ref span167[3]; - QuestStep obj263 = new QuestStep(EInteractionType.SinglePlayerDuty, 1021705u, new Vector3(-649.897f, 50.00002f, -1.9990234f), 621) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria - }; - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions(); - num3 = 1; - List list416 = new List(num3); - CollectionsMarshal.SetCount(list416, num3); - CollectionsMarshal.AsSpan(list416)[0] = "Navigation gets stuck in various places"; - singlePlayerDutyOptions.Notes = list416; - obj263.SinglePlayerDutyOptions = singlePlayerDutyOptions; - reference305 = obj263; - obj261.Steps = list413; - reference303 = obj261; - ref QuestSequence reference306 = ref span166[2]; - QuestSequence obj264 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list417 = new List(num2); - CollectionsMarshal.SetCount(list417, num2); - CollectionsMarshal.AsSpan(list417)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021710u, new Vector3(66.544556f, 45.410225f, 766.47595f), 621) - { - StopDistance = 5f - }; - obj264.Steps = list417; - reference306 = obj264; - questRoot50.QuestSequence = list411; - AddQuest(questId50, questRoot50); - } - - private static void LoadQuests51() - { - QuestId questId = new QuestId(2550); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "JerryWester"; - questRoot.Author = list; - num = 7; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021710u, new Vector3(66.544556f, 45.410225f, 766.47595f), 621) - { - StopDistance = 5f - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - span2[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2007992u, new Vector3(109.60547f, 41.97754f, 788.63196f), 621) - { - AetherCurrentId = 2818170u - }; - span2[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(93.08614f, 42.177456f, 772.668f), 621) - { - Mount = true - }; - span2[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(75.00177f, 45.410225f, 755.10895f), 621) - { - DisableNavmesh = true - }; - span2[3] = new QuestStep(EInteractionType.Interact, 1021712u, new Vector3(210.98645f, -0.3f, 340.3219f), 621); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - Span span3 = CollectionsMarshal.AsSpan(list5); - span3[0] = new QuestStep(EInteractionType.Dive, null, new Vector3(195.84085f, -0.6f, 315.3333f), 621) - { - StopDistance = 0.25f - }; - span3[1] = new QuestStep(EInteractionType.Interact, 1021714u, new Vector3(317.03674f, -94.16345f, 350.91174f), 621); - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - Span span4 = CollectionsMarshal.AsSpan(list6); - span4[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(509.62668f, -21.210978f, 478.69604f), 621) - { - StopDistance = 0.25f, - RestartNavigationIfCancelled = false - }; - span4[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(515.8843f, 0f, 468.1183f), 621) - { - StopDistance = 0.25f, - DisableNavmesh = true - }; - span4[2] = new QuestStep(EInteractionType.Interact, 1021716u, new Vector3(675.95935f, 60f, 460.34937f), 621); - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - ref QuestStep reference6 = ref CollectionsMarshal.AsSpan(list7)[0]; - QuestStep questStep = new QuestStep(EInteractionType.SinglePlayerDuty, 1021716u, new Vector3(675.95935f, 60f, 460.34937f), 621); - SinglePlayerDutyOptions obj6 = new SinglePlayerDutyOptions - { - Enabled = true - }; - int num3 = 1; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - CollectionsMarshal.AsSpan(list8)[0] = "(Fordola) Gets hit by AOEs due to moving into them before the mechanic resolves"; - obj6.Notes = list8; - questStep.SinglePlayerDutyOptions = obj6; - reference6 = questStep; - obj5.Steps = list7; - reference5 = obj5; - span[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference7 = ref span[6]; - QuestSequence obj7 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021717u, new Vector3(756.9542f, 70f, 445.45654f), 621); - obj7.Steps = list9; - reference7 = obj7; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(2551); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - CollectionsMarshal.AsSpan(list10)[0] = "JerryWester"; - questRoot2.Author = list10; - num = 6; - List list11 = new List(num); - CollectionsMarshal.SetCount(list11, num); - Span span5 = CollectionsMarshal.AsSpan(list11); - ref QuestSequence reference8 = ref span5[0]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021717u, new Vector3(756.9542f, 70f, 445.45654f), 621); - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference9 = ref span5[1]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - Span span6 = CollectionsMarshal.AsSpan(list13); - span6[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2007994u, new Vector3(683.40576f, 69.99304f, 521.1719f), 621) - { - AetherCurrentId = 2818172u - }; - span6[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 621) - { - Aetheryte = EAetheryteLocation.LochsAlaMhiganQuarter - }; - span6[2] = new QuestStep(EInteractionType.Interact, 1022733u, new Vector3(643.67126f, 80f, 654.16943f), 621); - obj9.Steps = list13; - reference9 = obj9; - ref QuestSequence reference10 = ref span5[2]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - Span span7 = CollectionsMarshal.AsSpan(list14); - span7[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-672.0402f, 49.99975f, 15.600315f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria - }; - span7[1] = new QuestStep(EInteractionType.Interact, 1021698u, new Vector3(-672.694f, 49.999725f, 14.999573f), 621); - obj10.Steps = list14; - reference10 = obj10; - ref QuestSequence reference11 = ref span5[3]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.Interact, 1021719u, new Vector3(-669.21497f, 50.01024f, 17.92926f), 621) - { - StopDistance = 5f - }; - obj11.Steps = list15; - reference11 = obj11; - ref QuestSequence reference12 = ref span5[4]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - Span span8 = CollectionsMarshal.AsSpan(list16); - ref QuestStep reference13 = ref span8[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1021703u, new Vector3(-631.4946f, 53.75f, 13.717773f), 621); - num3 = 6; - List list17 = new List(num3); - CollectionsMarshal.SetCount(list17, num3); - Span span9 = CollectionsMarshal.AsSpan(list17); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list17; - reference13 = questStep2; - ref QuestStep reference14 = ref span8[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1021701u, new Vector3(-599.38965f, 33.999783f, 0.5340576f), 621); - num3 = 6; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - Span span10 = CollectionsMarshal.AsSpan(list18); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list18; - reference14 = questStep3; - ref QuestStep reference15 = ref span8[2]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1021702u, new Vector3(-589.9901f, 33.999954f, -4.043701f), 621); - num3 = 6; - List list19 = new List(num3); - CollectionsMarshal.SetCount(list19, num3); - Span span11 = CollectionsMarshal.AsSpan(list19); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list19; - reference15 = questStep4; - obj12.Steps = list16; - reference12 = obj12; - ref QuestSequence reference16 = ref span5[5]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021698u, new Vector3(-672.694f, 49.999725f, 14.999573f), 621); - obj13.Steps = list20; - reference16 = obj13; - questRoot2.QuestSequence = list11; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(2552); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - CollectionsMarshal.AsSpan(list21)[0] = "JerryWester"; - questRoot3.Author = list21; - num = 5; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - Span span12 = CollectionsMarshal.AsSpan(list22); - ref QuestSequence reference17 = ref span12[0]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021698u, new Vector3(-672.694f, 49.999725f, 14.999573f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj14.Steps = list23; - reference17 = obj14; - ref QuestSequence reference18 = ref span12[1]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - Span span13 = CollectionsMarshal.AsSpan(list24); - span13[0] = new QuestStep(EInteractionType.AcceptQuest, 1022987u, new Vector3(-662.13477f, 49.999794f, -48.874695f), 621) - { - PickUpQuestId = new QuestId(2881) - }; - span13[1] = new QuestStep(EInteractionType.AcceptQuest, 1022992u, new Vector3(-506.6148f, 8.7f, -40.299072f), 621) - { - PickUpQuestId = new QuestId(2877) - }; - span13[2] = new QuestStep(EInteractionType.AcceptQuest, 1022990u, new Vector3(-524.58997f, 8.688546f, -19.424805f), 621) - { - PickUpQuestId = new QuestId(2880) - }; - span13[3] = new QuestStep(EInteractionType.AcceptQuest, 1022991u, new Vector3(-539.6353f, 7.6119823f, 52.140015f), 621) - { - PickUpQuestId = new QuestId(2883) - }; - span13[4] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2007993u, new Vector3(261.5243f, 78.3855f, 69.93213f), 621) - { - AetherCurrentId = 2818171u - }; - span13[5] = new QuestStep(EInteractionType.Interact, 1021722u, new Vector3(336.04932f, 78.00011f, 44.022217f), 621); - obj15.Steps = list24; - reference18 = obj15; - ref QuestSequence reference19 = ref span12[2]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1022738u, new Vector3(509.60547f, 111.16203f, -107.133606f), 621) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj16.Steps = list25; - reference19 = obj16; - ref QuestSequence reference20 = ref span12[3]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - ref QuestStep reference21 = ref CollectionsMarshal.AsSpan(list26)[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1022739u, new Vector3(509.72766f, 111.38903f, -110.826355f), 621); - num3 = 1; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - CollectionsMarshal.AsSpan(list27)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDA705_02552_Q1_000_075"), - Answer = new ExcelRef("TEXT_STMBDA705_02552_A1_000_076") - }; - questStep5.DialogueChoices = list27; - reference21 = questStep5; - obj17.Steps = list26; - reference20 = obj17; - ref QuestSequence reference22 = ref span12[4]; - QuestSequence obj18 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021724u, new Vector3(560.0519f, 162f, 72.28198f), 621); - obj18.Steps = list28; - reference22 = obj18; - questRoot3.QuestSequence = list22; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(2553); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - CollectionsMarshal.AsSpan(list29)[0] = "JerryWester"; - questRoot4.Author = list29; - num = 9; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - Span span14 = CollectionsMarshal.AsSpan(list30); - ref QuestSequence reference23 = ref span14[0]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021724u, new Vector3(560.0519f, 162f, 72.28198f), 621); - obj19.Steps = list31; - reference23 = obj19; - ref QuestSequence reference24 = ref span14[1]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Duty, null, null, 621) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 247u - } - }; - obj20.Steps = list32; - reference24 = obj20; - span14[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference25 = ref span14[3]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Duty, null, null, 621) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 239u - } - }; - obj21.Steps = list33; - reference25 = obj21; - span14[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference26 = ref span14[5]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.Interact, 1020356u, new Vector3(-584.4968f, 21.62428f, -11.947815f), 621) - { - StopDistance = 7f - }; - obj22.Steps = list34; - reference26 = obj22; - ref QuestSequence reference27 = ref span14[6]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 6 - }; - num2 = 5; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - Span span15 = CollectionsMarshal.AsSpan(list35); - ref QuestStep reference28 = ref span15[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1021726u, new Vector3(-615.198f, 34.00002f, -7.1870728f), 621); - num3 = 6; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - Span span16 = CollectionsMarshal.AsSpan(list36); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list36; - reference28 = questStep6; - ref QuestStep reference29 = ref span15[1]; - QuestStep obj24 = new QuestStep(EInteractionType.Interact, 1021704u, new Vector3(-651.51447f, 50.000015f, -3.1281738f), 621) - { - StopDistance = 1f - }; - num3 = 6; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - Span span17 = CollectionsMarshal.AsSpan(list37); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj24.CompletionQuestVariablesFlags = list37; - reference29 = obj24; - ref QuestStep reference30 = ref span15[2]; - QuestStep obj25 = new QuestStep(EInteractionType.Interact, 1022724u, new Vector3(-650.3243f, 50.00002f, 0.869751f), 621) - { - StopDistance = 7f - }; - num3 = 6; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - Span span18 = CollectionsMarshal.AsSpan(list38); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj25.CompletionQuestVariablesFlags = list38; - reference30 = obj25; - span15[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-668.1697f, 49.99959f, 10.722498f), 621); - ref QuestStep reference31 = ref span15[4]; - QuestStep obj26 = new QuestStep(EInteractionType.Interact, 1021698u, new Vector3(-672.694f, 49.999725f, 14.999573f), 621) - { - StopDistance = 7f - }; - num3 = 6; - List list39 = new List(num3); - CollectionsMarshal.SetCount(list39, num3); - Span span19 = CollectionsMarshal.AsSpan(list39); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj26.CompletionQuestVariablesFlags = list39; - reference31 = obj26; - obj23.Steps = list35; - reference27 = obj23; - ref QuestSequence reference32 = ref span14[7]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.Interact, 1020356u, new Vector3(-584.4968f, 21.62428f, -11.947815f), 621); - obj27.Steps = list40; - reference32 = obj27; - ref QuestSequence reference33 = ref span14[8]; - QuestSequence obj28 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021728u, new Vector3(65.384766f, -0.41614467f, -80.24719f), 635); - obj28.Steps = list41; - reference33 = obj28; - questRoot4.QuestSequence = list30; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(2559); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - CollectionsMarshal.AsSpan(list42)[0] = "liza"; - questRoot5.Author = list42; - num = 3; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - Span span20 = CollectionsMarshal.AsSpan(list43); - ref QuestSequence reference34 = ref span20[0]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021829u, new Vector3(-98.435974f, 4f, -104.997375f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj29.Steps = list44; - reference34 = obj29; - ref QuestSequence reference35 = ref span20[1]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.Interact, 1021830u, new Vector3(-102.06769f, 6.9845653f, 12.008789f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - obj30.Steps = list45; - reference35 = obj30; - ref QuestSequence reference36 = ref span20[2]; - QuestSequence obj31 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021834u, new Vector3(-89.28058f, 2.150006f, 59.739014f), 131) - { - NextQuestId = new QuestId(2560) - }; - obj31.Steps = list46; - reference36 = obj31; - questRoot5.QuestSequence = list43; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(2560); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - CollectionsMarshal.AsSpan(list47)[0] = "liza"; - questRoot6.Author = list47; - num = 4; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - Span span21 = CollectionsMarshal.AsSpan(list48); - ref QuestSequence reference37 = ref span21[0]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 0 - }; - num2 = 4; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - Span span22 = CollectionsMarshal.AsSpan(list49); - ref QuestStep reference38 = ref span22[0]; - QuestStep obj33 = new QuestStep(EInteractionType.EquipItem, null, null, 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - }, - ItemId = 20388u - }; - SkipConditions obj34 = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - }; - SkipAetheryteCondition obj35 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - CollectionsMarshal.AsSpan(list50)[0] = 131; - obj35.InTerritory = list50; - obj34.AetheryteShortcutIf = obj35; - obj33.SkipConditions = obj34; - reference38 = obj33; - span22[1] = new QuestStep(EInteractionType.UseItem, null, new Vector3(-89.28058f, 2.150006f, 59.739014f), 131) - { - ItemId = 20620u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span22[2] = new QuestStep(EInteractionType.EquipRecommended, null, null, 131); - span22[3] = new QuestStep(EInteractionType.AcceptQuest, 1023637u, new Vector3(-89.28058f, 2.150006f, 59.739014f), 131); - obj32.Steps = list49; - reference37 = obj32; - ref QuestSequence reference39 = ref span21[1]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1023637u, new Vector3(-89.28058f, 2.150006f, 59.739014f), 131); - obj36.Steps = list51; - reference39 = obj36; - ref QuestSequence reference40 = ref span21[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - ref QuestStep reference41 = ref CollectionsMarshal.AsSpan(list52)[0]; - QuestStep obj38 = new QuestStep(EInteractionType.Interact, 1023637u, new Vector3(-89.28058f, 2.150006f, 59.739014f), 131) - { - StopDistance = 5f - }; - num3 = 1; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - CollectionsMarshal.AsSpan(list53)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_JOBSAM501_02560_Q1_000_035") - }; - obj38.DialogueChoices = list53; - reference41 = obj38; - obj37.Steps = list52; - reference40 = obj37; - ref QuestSequence reference42 = ref span21[3]; - QuestSequence obj39 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021835u, new Vector3(35.66028f, 6.9999986f, -82.993835f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - }, - NextQuestId = new QuestId(2561) - }; - obj39.Steps = list54; - reference42 = obj39; - questRoot6.QuestSequence = list48; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(2561); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - CollectionsMarshal.AsSpan(list55)[0] = "liza"; - questRoot7.Author = list55; - num = 8; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - Span span23 = CollectionsMarshal.AsSpan(list56); - ref QuestSequence reference43 = ref span23[0]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021835u, new Vector3(35.66028f, 6.9999986f, -82.993835f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj40.Steps = list57; - reference43 = obj40; - ref QuestSequence reference44 = ref span23[1]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - Span span24 = CollectionsMarshal.AsSpan(list58); - span24[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-157.90921f, 4.650242f, 238.56398f), 141) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahGateOfNald - } - }; - ref QuestStep reference45 = ref span24[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1021843u, new Vector3(-164.3855f, 4.2354193f, 234.36328f), 141); - num3 = 6; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - Span span25 = CollectionsMarshal.AsSpan(list59); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list59; - reference45 = questStep7; - ref QuestStep reference46 = ref span24[2]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1021844u, new Vector3(-157.27478f, 4.2354183f, 205.46265f), 141); - num3 = 6; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - Span span26 = CollectionsMarshal.AsSpan(list60); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list60; - reference46 = questStep8; - ref QuestStep reference47 = ref span24[3]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1021845u, new Vector3(-138.59778f, 4.211028f, 223.95667f), 141); - num3 = 6; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - Span span27 = CollectionsMarshal.AsSpan(list61); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list61; - reference47 = questStep9; - obj41.Steps = list58; - reference44 = obj41; - ref QuestSequence reference48 = ref span23[2]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.Interact, 1021847u, new Vector3(-153.0633f, 4.2354183f, 226.55066f), 141); - obj42.Steps = list62; - reference48 = obj42; - ref QuestSequence reference49 = ref span23[3]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.Interact, 1022092u, new Vector3(-132.31104f, 3.9113228f, 221.20996f), 141); - obj43.Steps = list63; - reference49 = obj43; - ref QuestSequence reference50 = ref span23[4]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.Interact, 1021849u, new Vector3(91.17261f, 0.95918494f, 345.6931f), 141) - { - Fly = true - }; - obj44.Steps = list64; - reference50 = obj44; - ref QuestSequence reference51 = ref span23[5]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - ref QuestStep reference52 = ref CollectionsMarshal.AsSpan(list65)[0]; - QuestStep obj46 = new QuestStep(EInteractionType.Combat, null, new Vector3(101.36345f, 1.4716027f, 356.92258f), 141) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - CollectionsMarshal.AsSpan(list66)[0] = 7237u; - obj46.KillEnemyDataIds = list66; - reference52 = obj46; - obj45.Steps = list65; - reference51 = obj45; - ref QuestSequence reference53 = ref span23[6]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.Interact, 1021854u, new Vector3(106.06543f, 1.957012f, 360.15857f), 141) - { - StopDistance = 7f - }; - obj47.Steps = list67; - reference53 = obj47; - ref QuestSequence reference54 = ref span23[7]; - QuestSequence obj48 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021858u, new Vector3(9.536865f, 40.00023f, -15.213318f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - }, - NextQuestId = new QuestId(2562) - }; - obj48.Steps = list68; - reference54 = obj48; - questRoot7.QuestSequence = list56; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(2562); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - CollectionsMarshal.AsSpan(list69)[0] = "liza"; - questRoot8.Author = list69; - num = 7; - List list70 = new List(num); - CollectionsMarshal.SetCount(list70, num); - Span span28 = CollectionsMarshal.AsSpan(list70); - ref QuestSequence reference55 = ref span28[0]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - ref QuestStep reference56 = ref CollectionsMarshal.AsSpan(list71)[0]; - QuestStep obj50 = new QuestStep(EInteractionType.AcceptQuest, 1021858u, new Vector3(9.536865f, 40.00023f, -15.213318f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition obj51 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - CollectionsMarshal.AsSpan(list72)[0] = 128; - obj51.InTerritory = list72; - skipConditions.AetheryteShortcutIf = obj51; - obj50.SkipConditions = skipConditions; - reference56 = obj50; - obj49.Steps = list71; - reference55 = obj49; - ref QuestSequence reference57 = ref span28[1]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - Span span29 = CollectionsMarshal.AsSpan(list73); - ref QuestStep reference58 = ref span29[0]; - QuestStep obj53 = new QuestStep(EInteractionType.Interact, 1001217u, new Vector3(-140.85602f, 18.199999f, 17.013733f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.Limsa - } - }; - num3 = 6; - List list74 = new List(num3); - CollectionsMarshal.SetCount(list74, num3); - Span span30 = CollectionsMarshal.AsSpan(list74); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj53.CompletionQuestVariablesFlags = list74; - reference58 = obj53; - ref QuestStep reference59 = ref span29[1]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1001208u, new Vector3(-228.16821f, 16f, 50.644653f), 129); - num3 = 6; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - Span span31 = CollectionsMarshal.AsSpan(list75); - span31[0] = null; - span31[1] = null; - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list75; - reference59 = questStep10; - ref QuestStep reference60 = ref span29[2]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1003272u, new Vector3(-262.92822f, 16.2f, 51.407593f), 129); - num3 = 6; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - Span span32 = CollectionsMarshal.AsSpan(list76); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list76; - reference60 = questStep11; - obj52.Steps = list73; - reference57 = obj52; - ref QuestSequence reference61 = ref span28[2]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Interact, 1021860u, new Vector3(-205.70691f, 16f, 52.8114f), 129); - obj54.Steps = list77; - reference61 = obj54; - ref QuestSequence reference62 = ref span28[3]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.Interact, 1021862u, new Vector3(-176.62323f, 4f, 181.65857f), 129) - { - StopDistance = 7f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaHawkersAlley, - To = EAetheryteLocation.LimsaFisher - } - }; - obj55.Steps = list78; - reference62 = obj55; - ref QuestSequence reference63 = ref span28[4]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.Interact, 1006273u, new Vector3(619.0126f, 23.936245f, 455.10022f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj56.Steps = list79; - reference63 = obj56; - ref QuestSequence reference64 = ref span28[5]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1021866u, new Vector3(673.54834f, 11.594437f, 390.7378f), 137) - { - Fly = true - }; - obj57.Steps = list80; - reference64 = obj57; - ref QuestSequence reference65 = ref span28[6]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021869u, new Vector3(43.259277f, -8f, 99.19885f), 132) - { - StopDistance = 1.5f, - AetheryteShortcut = EAetheryteLocation.Gridania, - NextQuestId = new QuestId(2563) - }; - obj58.Steps = list81; - reference65 = obj58; - questRoot8.QuestSequence = list70; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(2563); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - CollectionsMarshal.AsSpan(list82)[0] = "liza"; - questRoot9.Author = list82; - num = 9; - List list83 = new List(num); - CollectionsMarshal.SetCount(list83, num); - Span span33 = CollectionsMarshal.AsSpan(list83); - ref QuestSequence reference66 = ref span33[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021869u, new Vector3(43.259277f, -8f, 99.19885f), 132) - { - StopDistance = 1.5f, - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj59.Steps = list84; - reference66 = obj59; - ref QuestSequence reference67 = ref span33[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - Span span34 = CollectionsMarshal.AsSpan(list85); - ref QuestStep reference68 = ref span34[0]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1000146u, new Vector3(49.79016f, -1.4669685f, 51.743286f), 132); - num3 = 6; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - Span span35 = CollectionsMarshal.AsSpan(list86); - span35[0] = null; - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list86; - reference68 = questStep12; - ref QuestStep reference69 = ref span34[1]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1000184u, new Vector3(12.130859f, -1.4203229f, 30.44165f), 132); - num3 = 6; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - Span span36 = CollectionsMarshal.AsSpan(list87); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list87; - reference69 = questStep13; - ref QuestStep reference70 = ref span34[2]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1001276u, new Vector3(13.961914f, 0.1373291f, 2.090454f), 132); - num3 = 6; - List list88 = new List(num3); - CollectionsMarshal.SetCount(list88, num3); - Span span37 = CollectionsMarshal.AsSpan(list88); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list88; - reference70 = questStep14; - obj60.Steps = list85; - reference67 = obj60; - ref QuestSequence reference71 = ref span33[2]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Interact, 1021871u, new Vector3(-17.929382f, -3.5175722f, 8.895996f), 132); - obj61.Steps = list89; - reference71 = obj61; - ref QuestSequence reference72 = ref span33[3]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.Interact, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132); - obj62.Steps = list90; - reference72 = obj62; - ref QuestSequence reference73 = ref span33[4]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - ref QuestStep reference74 = ref CollectionsMarshal.AsSpan(list91)[0]; - QuestStep obj64 = new QuestStep(EInteractionType.Combat, null, new Vector3(16.415976f, -13.3742895f, 13.173157f), 154) - { - StopDistance = 0.5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - Span span38 = CollectionsMarshal.AsSpan(list92); - span38[0] = 7492u; - span38[1] = 7493u; - obj64.KillEnemyDataIds = list92; - reference74 = obj64; - obj63.Steps = list91; - reference73 = obj63; - ref QuestSequence reference75 = ref span33[5]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.Interact, 1021873u, new Vector3(15.6710205f, -13.159564f, 14.572327f), 154); - obj65.Steps = list93; - reference75 = obj65; - ref QuestSequence reference76 = ref span33[6]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Interact, 1021877u, new Vector3(72.03784f, -13.573448f, -6.790344f), 154); - obj66.Steps = list94; - reference76 = obj66; - ref QuestSequence reference77 = ref span33[7]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.Interact, 1021923u, new Vector3(-16.739136f, -3.3721945f, 8.590759f), 132); - obj67.Steps = list95; - reference77 = obj67; - ref QuestSequence reference78 = ref span33[8]; - QuestSequence obj68 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021878u, new Vector3(112.41321f, 3.6299734f, 62.302612f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardBrume - }, - NextQuestId = new QuestId(2564) - }; - obj68.Steps = list96; - reference78 = obj68; - questRoot9.QuestSequence = list83; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(2564); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - CollectionsMarshal.AsSpan(list97)[0] = "liza"; - questRoot10.Author = list97; - num = 8; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - Span span39 = CollectionsMarshal.AsSpan(list98); - ref QuestSequence reference79 = ref span39[0]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021878u, new Vector3(112.41321f, 3.6299734f, 62.302612f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardBrume - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj69.Steps = list99; - reference79 = obj69; - ref QuestSequence reference80 = ref span39[1]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - Span span40 = CollectionsMarshal.AsSpan(list100); - span40[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(89.911125f, 0.8319905f, 69.05516f), 418); - span40[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(79.70269f, -15.835008f, 69.00836f), 418) - { - DisableNavmesh = true - }; - ref QuestStep reference81 = ref span40[2]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1021882u, new Vector3(104.29541f, -20.020874f, 60.624023f), 418); - num3 = 6; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - Span span41 = CollectionsMarshal.AsSpan(list101); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list101; - reference81 = questStep15; - ref QuestStep reference82 = ref span40[3]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1021883u, new Vector3(35.202515f, -14.000005f, 34.74475f), 418); - num3 = 6; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - Span span42 = CollectionsMarshal.AsSpan(list102); - span42[0] = null; - span42[1] = null; - span42[2] = null; - span42[3] = null; - span42[4] = null; - span42[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list102; - reference82 = questStep16; - ref QuestStep reference83 = ref span40[4]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1021884u, new Vector3(20.645447f, -12.020878f, 37.79651f), 418); - num3 = 6; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - Span span43 = CollectionsMarshal.AsSpan(list103); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list103; - reference83 = questStep17; - obj70.Steps = list100; - reference80 = obj70; - ref QuestSequence reference84 = ref span39[2]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - Span span44 = CollectionsMarshal.AsSpan(list104); - span44[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(52.22194f, -12.020878f, 75.08158f), 418); - span44[1] = new QuestStep(EInteractionType.Interact, 1021885u, new Vector3(36.63684f, -6.947115f, 79.39258f), 418); - obj71.Steps = list104; - reference84 = obj71; - ref QuestSequence reference85 = ref span39[3]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 1022094u, new Vector3(110.27698f, -20.000004f, 69.93213f), 418); - obj72.Steps = list105; - reference85 = obj72; - ref QuestSequence reference86 = ref span39[4]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.Interact, 1021886u, new Vector3(0.015197754f, 13.46524f, 59.15918f), 419) - { - StopDistance = 7f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardBrume, - To = EAetheryteLocation.IshgardLastVigil - } - }; - obj73.Steps = list106; - reference86 = obj73; - ref QuestSequence reference87 = ref span39[5]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - ref QuestStep reference88 = ref CollectionsMarshal.AsSpan(list107)[0]; - QuestStep obj75 = new QuestStep(EInteractionType.Combat, null, new Vector3(360.62927f, 161.10802f, 27.17857f), 397) - { - StopDistance = 0.5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - Span span45 = CollectionsMarshal.AsSpan(list108); - span45[0] = 7237u; - span45[1] = 7494u; - obj75.KillEnemyDataIds = list108; - reference88 = obj75; - obj74.Steps = list107; - reference87 = obj74; - ref QuestSequence reference89 = ref span39[6]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.Interact, 1021888u, new Vector3(358.87683f, 161.108f, 26.5354f), 397); - obj76.Steps = list109; - reference89 = obj76; - ref QuestSequence reference90 = ref span39[7]; - QuestSequence obj77 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021879u, new Vector3(112.50476f, 3.6299736f, 60.837646f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardBrume - }, - NextQuestId = new QuestId(2565) - }; - obj77.Steps = list110; - reference90 = obj77; - questRoot10.QuestSequence = list98; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(2565); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - CollectionsMarshal.AsSpan(list111)[0] = "liza"; - questRoot11.Author = list111; - num = 6; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - Span span46 = CollectionsMarshal.AsSpan(list112); - ref QuestSequence reference91 = ref span46[0]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021879u, new Vector3(112.50476f, 3.6299736f, 60.837646f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardBrume - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj78.Steps = list113; - reference91 = obj78; - ref QuestSequence reference92 = ref span46[1]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.Interact, 2008327u, new Vector3(59.40332f, 23.971863f, -5.6000977f), 418); - obj79.Steps = list114; - reference92 = obj79; - ref QuestSequence reference93 = ref span46[2]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.Interact, 2008328u, new Vector3(-17.288513f, 5.4779663f, 29.709229f), 418); - obj80.Steps = list115; - reference93 = obj80; - ref QuestSequence reference94 = ref span46[3]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - Span span47 = CollectionsMarshal.AsSpan(list116); - span47[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(465.55804f, 203.43318f, 680.2831f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span47[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 1021894u, new Vector3(-217.82257f, 112.33306f, -243.94604f), 397) - { - Fly = true - }; - obj81.Steps = list116; - reference94 = obj81; - span46[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference95 = ref span46[5]; - QuestSequence obj82 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021836u, new Vector3(36.850464f, 6.999999f, -83.78735f), 130) - { - NextQuestId = new QuestId(2566) - }; - obj82.Steps = list117; - reference95 = obj82; - questRoot11.QuestSequence = list112; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(2566); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - CollectionsMarshal.AsSpan(list118)[0] = "liza"; - questRoot12.Author = list118; - num = 6; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - Span span48 = CollectionsMarshal.AsSpan(list119); - ref QuestSequence reference96 = ref span48[0]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021836u, new Vector3(36.850464f, 6.999999f, -83.78735f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj83.Steps = list120; - reference96 = obj83; - ref QuestSequence reference97 = ref span48[1]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.Interact, 1022185u, new Vector3(39.04773f, 8f, -119.76807f), 130); - obj84.Steps = list121; - reference97 = obj84; - ref QuestSequence reference98 = ref span48[2]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - ref QuestStep reference99 = ref CollectionsMarshal.AsSpan(list122)[0]; - QuestStep obj86 = new QuestStep(EInteractionType.Combat, null, new Vector3(-99.923485f, 49.52189f, 322.85992f), 140) - { - StopDistance = 0.5f, - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahGateOfTheSultana - }, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - CollectionsMarshal.AsSpan(list123)[0] = 7495u; - obj86.KillEnemyDataIds = list123; - reference99 = obj86; - obj85.Steps = list122; - reference98 = obj85; - ref QuestSequence reference100 = ref span48[3]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.Interact, 1022186u, new Vector3(-98.95477f, 49.469913f, 317.83008f), 140) - { - StopDistance = 7f - }; - obj87.Steps = list124; - reference100 = obj87; - ref QuestSequence reference101 = ref span48[4]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.Interact, 1022189u, new Vector3(-312.67267f, 33.089348f, 446.5553f), 140) - { - Fly = true - }; - obj88.Steps = list125; - reference101 = obj88; - ref QuestSequence reference102 = ref span48[5]; - QuestSequence obj89 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021836u, new Vector3(36.850464f, 6.999999f, -83.78735f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - }, - NextQuestId = new QuestId(2567) - }; - obj89.Steps = list126; - reference102 = obj89; - questRoot12.QuestSequence = list119; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(2567); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list127 = new List(num); - CollectionsMarshal.SetCount(list127, num); - CollectionsMarshal.AsSpan(list127)[0] = "liza"; - questRoot13.Author = list127; - num = 5; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - Span span49 = CollectionsMarshal.AsSpan(list128); - ref QuestSequence reference103 = ref span49[0]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021836u, new Vector3(36.850464f, 6.999999f, -83.78735f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj90.Steps = list129; - reference103 = obj90; - ref QuestSequence reference104 = ref span49[1]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.Interact, 1022190u, new Vector3(128.61829f, 15f, -158.03778f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - } - }; - obj91.Steps = list130; - reference104 = obj91; - ref QuestSequence reference105 = ref span49[2]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - Span span50 = CollectionsMarshal.AsSpan(list131); - span50[0] = new QuestStep(EInteractionType.Interact, 1024622u, new Vector3(102.433716f, 0.2814351f, -550.9575f), 613) - { - TargetTerritoryId = (ushort)613, - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - ref QuestStep reference106 = ref span50[1]; - QuestStep obj93 = new QuestStep(EInteractionType.Combat, null, new Vector3(568.7077f, 0.73303545f, 754.9407f), 613) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - CollectionsMarshal.AsSpan(list132)[0] = 7496u; - obj93.KillEnemyDataIds = list132; - reference106 = obj93; - obj92.Steps = list131; - reference105 = obj92; - ref QuestSequence reference107 = ref span49[3]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.Interact, 1022191u, new Vector3(567.8645f, 0.73303545f, 755.1842f), 613); - obj94.Steps = list133; - reference107 = obj94; - ref QuestSequence reference108 = ref span49[4]; - QuestSequence obj95 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - ref QuestStep reference109 = ref CollectionsMarshal.AsSpan(list134)[0]; - QuestStep obj96 = new QuestStep(EInteractionType.CompleteQuest, 1022190u, new Vector3(128.61829f, 15f, -158.03778f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - } - }; - num3 = 1; - List list135 = new List(num3); - CollectionsMarshal.SetCount(list135, num3); - CollectionsMarshal.AsSpan(list135)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_JOBSAM630_02567_Q1_000_054") - }; - obj96.DialogueChoices = list135; - obj96.NextQuestId = new QuestId(2568); - reference109 = obj96; - obj95.Steps = list134; - reference108 = obj95; - questRoot13.QuestSequence = list128; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(2568); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list136 = new List(num); - CollectionsMarshal.SetCount(list136, num); - CollectionsMarshal.AsSpan(list136)[0] = "liza"; - questRoot14.Author = list136; - num = 9; - List list137 = new List(num); - CollectionsMarshal.SetCount(list137, num); - Span span51 = CollectionsMarshal.AsSpan(list137); - ref QuestSequence reference110 = ref span51[0]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022184u, new Vector3(129.71692f, 15f, -157.61047f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj97.Steps = list138; - reference110 = obj97; - ref QuestSequence reference111 = ref span51[1]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.Interact, 2008439u, new Vector3(-100.87744f, -6.0273438f, 67.03284f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeSekiseigumiBarracks, - To = EAetheryteLocation.KuganeMarkets - } - }; - obj98.Steps = list139; - reference111 = obj98; - ref QuestSequence reference112 = ref span51[2]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.Interact, 2008440u, new Vector3(-140.36774f, -7.0649414f, 78.3551f), 628); - obj99.Steps = list140; - reference112 = obj99; - ref QuestSequence reference113 = ref span51[3]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.Interact, 2008441u, new Vector3(-140.33728f, -7.0039062f, 72.739746f), 628); - obj100.Steps = list141; - reference113 = obj100; - ref QuestSequence reference114 = ref span51[4]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.Interact, 1022196u, new Vector3(-22.293457f, -3f, 31.814941f), 628); - obj101.Steps = list142; - reference114 = obj101; - ref QuestSequence reference115 = ref span51[5]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.Interact, 1022197u, new Vector3(46.219482f, 8.02f, 144.79285f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeMarkets, - To = EAetheryteLocation.KuganeThavnairianConsulate - } - }; - obj102.Steps = list143; - reference115 = obj102; - ref QuestSequence reference116 = ref span51[6]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1022201u, new Vector3(37.338745f, 5.951233f, -133.95898f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeThavnairianConsulate, - To = EAetheryteLocation.KuganeRakuzaDistrict - } - }; - obj103.Steps = list144; - reference116 = obj103; - span51[7] = new QuestSequence - { - Sequence = 7 - }; - ref QuestSequence reference117 = ref span51[8]; - QuestSequence obj104 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022203u, new Vector3(128.55725f, 15f, -158.09875f), 628) - { - NextQuestId = new QuestId(2569) - }; - obj104.Steps = list145; - reference117 = obj104; - questRoot14.QuestSequence = list137; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(2569); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list146 = new List(num); - CollectionsMarshal.SetCount(list146, num); - CollectionsMarshal.AsSpan(list146)[0] = "liza"; - questRoot15.Author = list146; - num = 8; - List list147 = new List(num); - CollectionsMarshal.SetCount(list147, num); - Span span52 = CollectionsMarshal.AsSpan(list147); - ref QuestSequence reference118 = ref span52[0]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022184u, new Vector3(129.71692f, 15f, -157.61047f), 628) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj105.Steps = list148; - reference118 = obj105; - ref QuestSequence reference119 = ref span52[1]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.Interact, 1022204u, new Vector3(537.01074f, 70.39123f, 25.375732f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai - }; - obj106.Steps = list149; - reference119 = obj106; - ref QuestSequence reference120 = ref span52[2]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - ref QuestStep reference121 = ref CollectionsMarshal.AsSpan(list150)[0]; - QuestStep obj108 = new QuestStep(EInteractionType.Combat, 2008443u, new Vector3(255.02393f, 7.7667847f, 458.5182f), 614) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list151 = new List(num3); - CollectionsMarshal.SetCount(list151, num3); - CollectionsMarshal.AsSpan(list151)[0] = 7497u; - obj108.KillEnemyDataIds = list151; - reference121 = obj108; - obj107.Steps = list150; - reference120 = obj107; - ref QuestSequence reference122 = ref span52[3]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - ref QuestStep reference123 = ref CollectionsMarshal.AsSpan(list152)[0]; - QuestStep obj110 = new QuestStep(EInteractionType.Combat, 2008444u, new Vector3(152.57495f, 13.626221f, 425.55872f), 614) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - CollectionsMarshal.AsSpan(list153)[0] = 7498u; - obj110.KillEnemyDataIds = list153; - reference123 = obj110; - obj109.Steps = list152; - reference122 = obj109; - ref QuestSequence reference124 = ref span52[4]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - ref QuestStep reference125 = ref CollectionsMarshal.AsSpan(list154)[0]; - QuestStep obj112 = new QuestStep(EInteractionType.Combat, 2008445u, new Vector3(64.43884f, 10.788086f, 444.23596f), 614) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - CollectionsMarshal.AsSpan(list155)[0] = 7496u; - obj112.KillEnemyDataIds = list155; - reference125 = obj112; - obj111.Steps = list154; - reference124 = obj111; - ref QuestSequence reference126 = ref span52[5]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.Interact, 1022205u, new Vector3(175.2804f, 5.1901503f, 522.33154f), 614) - { - Fly = true - }; - obj113.Steps = list156; - reference126 = obj113; - ref QuestSequence reference127 = ref span52[6]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - ref QuestStep reference128 = ref CollectionsMarshal.AsSpan(list157)[0]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1022205u, new Vector3(175.2804f, 5.1901503f, 522.33154f), 614); - num3 = 1; - List list158 = new List(num3); - CollectionsMarshal.SetCount(list158, num3); - CollectionsMarshal.AsSpan(list158)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_JOBSAM680_02569_Q1_000_041") - }; - questStep18.DialogueChoices = list158; - reference128 = questStep18; - obj114.Steps = list157; - reference127 = obj114; - ref QuestSequence reference129 = ref span52[7]; - QuestSequence obj115 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022184u, new Vector3(129.71692f, 15f, -157.61047f), 628) - { - NextQuestId = new QuestId(2570) - }; - obj115.Steps = list159; - reference129 = obj115; - questRoot15.QuestSequence = list147; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(2570); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list160 = new List(num); - CollectionsMarshal.SetCount(list160, num); - CollectionsMarshal.AsSpan(list160)[0] = "liza"; - questRoot16.Author = list160; - num = 6; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - Span span53 = CollectionsMarshal.AsSpan(list161); - ref QuestSequence reference130 = ref span53[0]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022184u, new Vector3(129.71692f, 15f, -157.61047f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj116.Steps = list162; - reference130 = obj116; - ref QuestSequence reference131 = ref span53[1]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - Span span54 = CollectionsMarshal.AsSpan(list163); - ref QuestStep reference132 = ref span54[0]; - QuestStep obj118 = new QuestStep(EInteractionType.Interact, 1022208u, new Vector3(14.755432f, -6.558981E-11f, -66.88031f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeSekiseigumiBarracks, - To = EAetheryteLocation.Kugane - } - }; - num3 = 6; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - Span span55 = CollectionsMarshal.AsSpan(list164); - span55[0] = null; - span55[1] = null; - span55[2] = null; - span55[3] = null; - span55[4] = null; - span55[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj118.CompletionQuestVariablesFlags = list164; - reference132 = obj118; - ref QuestStep reference133 = ref span54[1]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 1022207u, new Vector3(-59.861206f, -2.9000297f, -64.805115f), 628); - num3 = 6; - List list165 = new List(num3); - CollectionsMarshal.SetCount(list165, num3); - Span span56 = CollectionsMarshal.AsSpan(list165); - span56[0] = null; - span56[1] = null; - span56[2] = null; - span56[3] = null; - span56[4] = null; - span56[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list165; - reference133 = questStep19; - ref QuestStep reference134 = ref span54[2]; - QuestStep obj119 = new QuestStep(EInteractionType.Interact, 1022209u, new Vector3(42.648926f, 4.0000005f, 54.97815f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeShiokazeHostelry, - To = EAetheryteLocation.KuganeMarkets - } - }; - num3 = 6; - List list166 = new List(num3); - CollectionsMarshal.SetCount(list166, num3); - Span span57 = CollectionsMarshal.AsSpan(list166); - span57[0] = null; - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj119.CompletionQuestVariablesFlags = list166; - reference134 = obj119; - obj117.Steps = list163; - reference131 = obj117; - ref QuestSequence reference135 = ref span53[2]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.Interact, 1022377u, new Vector3(124.6814f, 15f, -154.83331f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeMarkets, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - } - }; - obj120.Steps = list167; - reference135 = obj120; - ref QuestSequence reference136 = ref span53[3]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - Span span58 = CollectionsMarshal.AsSpan(list168); - span58[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(541.33655f, -61.59003f, -166.09608f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span58[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(545.0479f, -61.943626f, -147.57167f), 613) - { - DisableNavmesh = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span58[2] = new QuestStep(EInteractionType.SinglePlayerDuty, 1022215u, new Vector3(787.19763f, 1.5872339f, 80.03345f), 613) - { - Fly = true - }; - obj121.Steps = list168; - reference136 = obj121; - span53[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference137 = ref span53[5]; - QuestSequence obj122 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022184u, new Vector3(129.71692f, 15f, -157.61047f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - } - }; - obj122.Steps = list169; - reference137 = obj122; - questRoot16.QuestSequence = list161; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(2571); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list170 = new List(num); - CollectionsMarshal.SetCount(list170, num); - CollectionsMarshal.AsSpan(list170)[0] = "liza"; - questRoot17.Author = list170; - num = 4; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - Span span59 = CollectionsMarshal.AsSpan(list171); - ref QuestSequence reference138 = ref span59[0]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - ref QuestStep reference139 = ref CollectionsMarshal.AsSpan(list172)[0]; - QuestStep obj124 = new QuestStep(EInteractionType.AcceptQuest, 1006747u, new Vector3(-20.828613f, 29.999964f, -2.4262085f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition obj125 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list173 = new List(num3); - CollectionsMarshal.SetCount(list173, num3); - CollectionsMarshal.AsSpan(list173)[0] = 131; - obj125.InTerritory = list173; - skipConditions2.AetheryteShortcutIf = obj125; - obj124.SkipConditions = skipConditions2; - num3 = 1; - List list174 = new List(num3); - CollectionsMarshal.SetCount(list174, num3); - CollectionsMarshal.AsSpan(list174)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBPLD601_02571_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBPLD601_02571_A1_000_001") - }; - obj124.DialogueChoices = list174; - reference139 = obj124; - obj123.Steps = list172; - reference138 = obj123; - ref QuestSequence reference140 = ref span59[1]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.Interact, 1021342u, new Vector3(-25.558899f, 38.010006f, 82.6886f), 131); - obj126.Steps = list175; - reference140 = obj126; - ref QuestSequence reference141 = ref span59[2]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - Span span60 = CollectionsMarshal.AsSpan(list176); - ref QuestStep reference142 = ref span60[0]; - QuestStep obj128 = new QuestStep(EInteractionType.Interact, 1021343u, new Vector3(-75.60846f, 6.9845715f, 6.210388f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahChamberOfRule, - To = EAetheryteLocation.UldahGladiator - } - }; - num3 = 6; - List list177 = new List(num3); - CollectionsMarshal.SetCount(list177, num3); - Span span61 = CollectionsMarshal.AsSpan(list177); - span61[0] = null; - span61[1] = null; - span61[2] = null; - span61[3] = null; - span61[4] = null; - span61[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj128.CompletionQuestVariablesFlags = list177; - reference142 = obj128; - ref QuestStep reference143 = ref span60[1]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 1021345u, new Vector3(-69.96271f, 7.0740614f, -10.696594f), 131); - num3 = 6; - List list178 = new List(num3); - CollectionsMarshal.SetCount(list178, num3); - Span span62 = CollectionsMarshal.AsSpan(list178); - span62[0] = null; - span62[1] = null; - span62[2] = null; - span62[3] = null; - span62[4] = null; - span62[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep20.CompletionQuestVariablesFlags = list178; - reference143 = questStep20; - ref QuestStep reference144 = ref span60[2]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1021346u, new Vector3(-96.69641f, 6.9845695f, -9.506409f), 131); - num3 = 6; - List list179 = new List(num3); - CollectionsMarshal.SetCount(list179, num3); - Span span63 = CollectionsMarshal.AsSpan(list179); - span63[0] = null; - span63[1] = null; - span63[2] = null; - span63[3] = null; - span63[4] = null; - span63[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep21.CompletionQuestVariablesFlags = list179; - reference144 = questStep21; - ref QuestStep reference145 = ref span60[3]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1021347u, new Vector3(-105.638245f, 6.9839897f, 3.0059814f), 131); - num3 = 6; - List list180 = new List(num3); - CollectionsMarshal.SetCount(list180, num3); - Span span64 = CollectionsMarshal.AsSpan(list180); - span64[0] = null; - span64[1] = null; - span64[2] = null; - span64[3] = null; - span64[4] = null; - span64[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep22.CompletionQuestVariablesFlags = list180; - reference145 = questStep22; - ref QuestStep reference146 = ref span60[4]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1021344u, new Vector3(-96.910095f, 6.984566f, 15.0911255f), 131); - num3 = 6; - List list181 = new List(num3); - CollectionsMarshal.SetCount(list181, num3); - Span span65 = CollectionsMarshal.AsSpan(list181); - span65[0] = null; - span65[1] = null; - span65[2] = null; - span65[3] = null; - span65[4] = null; - span65[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list181; - reference146 = questStep23; - obj127.Steps = list176; - reference141 = obj127; - ref QuestSequence reference147 = ref span59[3]; - QuestSequence obj129 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.5000024f, 39.81079f), 131) - { - NextQuestId = new QuestId(2572) - }; - obj129.Steps = list182; - reference147 = obj129; - questRoot17.QuestSequence = list171; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(2572); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - CollectionsMarshal.AsSpan(list183)[0] = "liza"; - questRoot18.Author = list183; - num = 6; - List list184 = new List(num); - CollectionsMarshal.SetCount(list184, num); - Span span66 = CollectionsMarshal.AsSpan(list184); - ref QuestSequence reference148 = ref span66[0]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - ref QuestStep reference149 = ref CollectionsMarshal.AsSpan(list185)[0]; - QuestStep obj131 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.5000024f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition obj132 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list186 = new List(num3); - CollectionsMarshal.SetCount(list186, num3); - CollectionsMarshal.AsSpan(list186)[0] = 131; - obj132.InTerritory = list186; - skipConditions3.AetheryteShortcutIf = obj132; - obj131.SkipConditions = skipConditions3; - reference149 = obj131; - obj130.Steps = list185; - reference148 = obj130; - ref QuestSequence reference150 = ref span66[1]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.Interact, 2008101u, new Vector3(-82.44458f, 1.9378662f, 60.77661f), 131); - obj133.Steps = list187; - reference150 = obj133; - ref QuestSequence reference151 = ref span66[2]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - CollectionsMarshal.AsSpan(list188)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1021271u, new Vector3(-87.174866f, 1.9499679f, 57.358643f), 131); - obj134.Steps = list188; - reference151 = obj134; - span66[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference152 = ref span66[4]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.Interact, 1021275u, new Vector3(-84.67236f, 1.9500066f, 60.868164f), 131) - { - StopDistance = 5f - }; - obj135.Steps = list189; - reference152 = obj135; - ref QuestSequence reference153 = ref span66[5]; - QuestSequence obj136 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.5000024f, 39.81079f), 131) - { - NextQuestId = new QuestId(2573) - }; - obj136.Steps = list190; - reference153 = obj136; - questRoot18.QuestSequence = list184; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(2573); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list191 = new List(num); - CollectionsMarshal.SetCount(list191, num); - CollectionsMarshal.AsSpan(list191)[0] = "liza"; - questRoot19.Author = list191; - num = 6; - List list192 = new List(num); - CollectionsMarshal.SetCount(list192, num); - Span span67 = CollectionsMarshal.AsSpan(list192); - ref QuestSequence reference154 = ref span67[0]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - ref QuestStep reference155 = ref CollectionsMarshal.AsSpan(list193)[0]; - QuestStep obj138 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.5000024f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition obj139 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list194 = new List(num3); - CollectionsMarshal.SetCount(list194, num3); - CollectionsMarshal.AsSpan(list194)[0] = 131; - obj139.InTerritory = list194; - skipConditions4.AetheryteShortcutIf = obj139; - obj138.SkipConditions = skipConditions4; - reference155 = obj138; - obj137.Steps = list193; - reference154 = obj137; - ref QuestSequence reference156 = ref span67[1]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - ref QuestStep reference157 = ref CollectionsMarshal.AsSpan(list195)[0]; - QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 1021364u, new Vector3(-84.36719f, 6.9845676f, 11.276367f), 131); - num3 = 1; - List list196 = new List(num3); - CollectionsMarshal.SetCount(list196, num3); - CollectionsMarshal.AsSpan(list196)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_JOBPLD650_02573_Q1_000_011") - }; - questStep24.DialogueChoices = list196; - reference157 = questStep24; - obj140.Steps = list195; - reference156 = obj140; - ref QuestSequence reference158 = ref span67[2]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - Span span68 = CollectionsMarshal.AsSpan(list197); - ref QuestStep reference159 = ref span68[0]; - QuestStep questStep25 = new QuestStep(EInteractionType.Interact, 1021365u, new Vector3(-94.010864f, 6.9845667f, 15.548889f), 131); - num3 = 6; - List list198 = new List(num3); - CollectionsMarshal.SetCount(list198, num3); - Span span69 = CollectionsMarshal.AsSpan(list198); - span69[0] = null; - span69[1] = null; - span69[2] = null; - span69[3] = null; - span69[4] = null; - span69[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep25.CompletionQuestVariablesFlags = list198; - reference159 = questStep25; - ref QuestStep reference160 = ref span68[1]; - QuestStep questStep26 = new QuestStep(EInteractionType.Interact, 1021366u, new Vector3(-99.83978f, 6.9845657f, 14.297607f), 131); - num3 = 6; - List list199 = new List(num3); - CollectionsMarshal.SetCount(list199, num3); - Span span70 = CollectionsMarshal.AsSpan(list199); - span70[0] = null; - span70[1] = null; - span70[2] = null; - span70[3] = null; - span70[4] = null; - span70[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep26.CompletionQuestVariablesFlags = list199; - reference160 = questStep26; - obj141.Steps = list197; - reference158 = obj141; - ref QuestSequence reference161 = ref span67[3]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.Interact, 1001739u, new Vector3(-94.529724f, 6.5000024f, 39.81079f), 131); - obj142.Steps = list200; - reference161 = obj142; - ref QuestSequence reference162 = ref span67[4]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.Interact, 2008187u, new Vector3(22.2323f, 7.1869507f, -101.24359f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj143.Steps = list201; - reference162 = obj143; - ref QuestSequence reference163 = ref span67[5]; - QuestSequence obj144 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.5000024f, 39.81079f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahGladiator - }, - NextQuestId = new QuestId(2574) - }; - obj144.Steps = list202; - reference163 = obj144; - questRoot19.QuestSequence = list192; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(2574); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list203 = new List(num); - CollectionsMarshal.SetCount(list203, num); - CollectionsMarshal.AsSpan(list203)[0] = "liza"; - questRoot20.Author = list203; - num = 9; - List list204 = new List(num); - CollectionsMarshal.SetCount(list204, num); - Span span71 = CollectionsMarshal.AsSpan(list204); - ref QuestSequence reference164 = ref span71[0]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - ref QuestStep reference165 = ref CollectionsMarshal.AsSpan(list205)[0]; - QuestStep obj146 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.5000024f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipAetheryteCondition obj147 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list206 = new List(num3); - CollectionsMarshal.SetCount(list206, num3); - CollectionsMarshal.AsSpan(list206)[0] = 131; - obj147.InTerritory = list206; - skipConditions5.AetheryteShortcutIf = obj147; - obj146.SkipConditions = skipConditions5; - reference165 = obj146; - obj145.Steps = list205; - reference164 = obj145; - ref QuestSequence reference166 = ref span71[1]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - CollectionsMarshal.AsSpan(list207)[0] = new QuestStep(EInteractionType.Interact, 1001739u, new Vector3(-94.529724f, 6.5000024f, 39.81079f), 131); - obj148.Steps = list207; - reference166 = obj148; - ref QuestSequence reference167 = ref span71[2]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.Interact, 1021271u, new Vector3(-87.174866f, 1.9499679f, 57.358643f), 131); - obj149.Steps = list208; - reference167 = obj149; - ref QuestSequence reference168 = ref span71[3]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(64.84746f, 7.9209166f, -37.27604f), 131) - { - RestartNavigationIfCancelled = false, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.UldahSapphireAvenue - } - }; - obj150.Steps = list209; - reference168 = obj150; - ref QuestSequence reference169 = ref span71[4]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - Span span72 = CollectionsMarshal.AsSpan(list210); - ref QuestStep reference170 = ref span72[0]; - QuestStep questStep27 = new QuestStep(EInteractionType.Interact, 1021379u, new Vector3(81.01013f, 8f, -73.624756f), 131); - num3 = 6; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - Span span73 = CollectionsMarshal.AsSpan(list211); - span73[0] = null; - span73[1] = null; - span73[2] = null; - span73[3] = null; - span73[4] = null; - span73[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep27.CompletionQuestVariablesFlags = list211; - reference170 = questStep27; - ref QuestStep reference171 = ref span72[1]; - QuestStep questStep28 = new QuestStep(EInteractionType.Interact, 1021378u, new Vector3(97.45935f, 7.9999995f, -11.947815f), 131); - num3 = 6; - List list212 = new List(num3); - CollectionsMarshal.SetCount(list212, num3); - Span span74 = CollectionsMarshal.AsSpan(list212); - span74[0] = null; - span74[1] = null; - span74[2] = null; - span74[3] = null; - span74[4] = null; - span74[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep28.CompletionQuestVariablesFlags = list212; - reference171 = questStep28; - ref QuestStep reference172 = ref span72[2]; - QuestStep questStep29 = new QuestStep(EInteractionType.Interact, 1021380u, new Vector3(105.6687f, 8f, 4.714966f), 131); - num3 = 6; - List list213 = new List(num3); - CollectionsMarshal.SetCount(list213, num3); - Span span75 = CollectionsMarshal.AsSpan(list213); - span75[0] = null; - span75[1] = null; - span75[2] = null; - span75[3] = null; - span75[4] = null; - span75[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep29.CompletionQuestVariablesFlags = list213; - reference172 = questStep29; - obj151.Steps = list210; - reference169 = obj151; - ref QuestSequence reference173 = ref span71[5]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.Say, 1021381u, new Vector3(138.53662f, 4f, 51.377075f), 131) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_JOBPLD680_02574_SYSTEM_000_084" - } - }; - obj152.Steps = list214; - reference173 = obj152; - ref QuestSequence reference174 = ref span71[6]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - Span span76 = CollectionsMarshal.AsSpan(list215); - ref QuestStep reference175 = ref span76[0]; - QuestStep questStep30 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(165.3437f, 4.014847f, 46.210514f), 131); - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list216 = new List(num3); - CollectionsMarshal.SetCount(list216, num3); - CollectionsMarshal.AsSpan(list216)[0] = 141; - skipStepConditions.InTerritory = list216; - skipConditions6.StepIf = skipStepConditions; - questStep30.SkipConditions = skipConditions6; - reference175 = questStep30; - ref QuestStep reference176 = ref span76[1]; - QuestStep obj154 = new QuestStep(EInteractionType.Combat, 1021382u, new Vector3(282.39868f, 15.414177f, 513.1456f), 141) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list217 = new List(num3); - CollectionsMarshal.SetCount(list217, num3); - Span span77 = CollectionsMarshal.AsSpan(list217); - span77[0] = 7237u; - span77[1] = 7238u; - obj154.KillEnemyDataIds = list217; - num3 = 1; - List list218 = new List(num3); - CollectionsMarshal.SetCount(list218, num3); - CollectionsMarshal.AsSpan(list218)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBPLD680_02574_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBPLD680_02574_A1_000_002") - }; - obj154.DialogueChoices = list218; - reference176 = obj154; - obj153.Steps = list215; - reference174 = obj153; - ref QuestSequence reference177 = ref span71[7]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - CollectionsMarshal.AsSpan(list219)[0] = new QuestStep(EInteractionType.Interact, 1021383u, new Vector3(284.71802f, 15.770843f, 512.5658f), 141) - { - StopDistance = 7f - }; - obj155.Steps = list219; - reference177 = obj155; - ref QuestSequence reference178 = ref span71[8]; - QuestSequence obj156 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.5000024f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - }, - NextQuestId = new QuestId(2575) - }; - obj156.Steps = list220; - reference178 = obj156; - questRoot20.QuestSequence = list204; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(2575); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list221 = new List(num); - CollectionsMarshal.SetCount(list221, num); - CollectionsMarshal.AsSpan(list221)[0] = "liza"; - questRoot21.Author = list221; - num = 4; - List list222 = new List(num); - CollectionsMarshal.SetCount(list222, num); - Span span78 = CollectionsMarshal.AsSpan(list222); - ref QuestSequence reference179 = ref span78[0]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - ref QuestStep reference180 = ref CollectionsMarshal.AsSpan(list223)[0]; - QuestStep obj158 = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.5000024f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipAetheryteCondition obj159 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list224 = new List(num3); - CollectionsMarshal.SetCount(list224, num3); - CollectionsMarshal.AsSpan(list224)[0] = 131; - obj159.InTerritory = list224; - skipConditions7.AetheryteShortcutIf = obj159; - obj158.SkipConditions = skipConditions7; - reference180 = obj158; - obj157.Steps = list223; - reference179 = obj157; - ref QuestSequence reference181 = ref span78[1]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1021271u, new Vector3(-87.174866f, 1.9499679f, 57.358643f), 131); - obj160.Steps = list225; - reference181 = obj160; - span78[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference182 = ref span78[3]; - QuestSequence obj161 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - Span span79 = CollectionsMarshal.AsSpan(list226); - span79[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-95.62987f, 6.500003f, 41.749443f), 131); - span79[1] = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.5000024f, 39.81079f), 131); - obj161.Steps = list226; - reference182 = obj161; - questRoot21.QuestSequence = list222; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(2576); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list227 = new List(num); - CollectionsMarshal.SetCount(list227, num); - CollectionsMarshal.AsSpan(list227)[0] = "liza"; - questRoot22.Author = list227; - num = 6; - List list228 = new List(num); - CollectionsMarshal.SetCount(list228, num); - Span span80 = CollectionsMarshal.AsSpan(list228); - ref QuestSequence reference183 = ref span80[0]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - ref QuestStep reference184 = ref CollectionsMarshal.AsSpan(list229)[0]; - QuestStep obj163 = new QuestStep(EInteractionType.AcceptQuest, 1021425u, new Vector3(146.1051f, 4f, 25.223145f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahSapphireAvenue - } - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipAetheryteCondition obj164 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list230 = new List(num3); - CollectionsMarshal.SetCount(list230, num3); - CollectionsMarshal.AsSpan(list230)[0] = 131; - obj164.InTerritory = list230; - skipConditions8.AetheryteShortcutIf = obj164; - obj163.SkipConditions = skipConditions8; - num3 = 1; - List list231 = new List(num3); - CollectionsMarshal.SetCount(list231, num3); - CollectionsMarshal.AsSpan(list231)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBRDM500_02576_Q1_000_010"), - Answer = new ExcelRef("TEXT_JOBRDM500_02576_A1_000_011") - }; - obj163.DialogueChoices = list231; - reference184 = obj163; - obj162.Steps = list229; - reference183 = obj162; - ref QuestSequence reference185 = ref span80[1]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - Span span81 = CollectionsMarshal.AsSpan(list232); - span81[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(166.65004f, 3.9997904f, 43.372593f), 131); - span81[1] = new QuestStep(EInteractionType.Interact, 1021426u, new Vector3(124.04053f, 5.292755f, 559.65515f), 141) - { - Fly = true - }; - obj165.Steps = list232; - reference185 = obj165; - ref QuestSequence reference186 = ref span80[2]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - CollectionsMarshal.AsSpan(list233)[0] = new QuestStep(EInteractionType.Interact, 1021434u, new Vector3(125.718994f, 5.2929487f, 558.9531f), 141) - { - StopDistance = 7f - }; - obj166.Steps = list233; - reference186 = obj166; - ref QuestSequence reference187 = ref span80[3]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - Span span82 = CollectionsMarshal.AsSpan(list234); - span82[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(8.849496f, 18.34012f, 562.2148f), 141) - { - Fly = true - }; - span82[1] = new QuestStep(EInteractionType.Interact, 1021435u, new Vector3(145.73889f, 4f, 25.223145f), 131); - obj167.Steps = list234; - reference187 = obj167; - ref QuestSequence reference188 = ref span80[4]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - Span span83 = CollectionsMarshal.AsSpan(list235); - span83[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-77.95643f, -12.787907f, -45.044247f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - span83[1] = new QuestStep(EInteractionType.Interact, 1021438u, new Vector3(-96.84906f, -11.350002f, -47.3183f), 141); - obj168.Steps = list235; - reference188 = obj168; - ref QuestSequence reference189 = ref span80[5]; - QuestSequence obj169 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - ref QuestStep reference190 = ref CollectionsMarshal.AsSpan(list236)[0]; - QuestStep questStep31 = new QuestStep(EInteractionType.CompleteQuest, 1021438u, new Vector3(-96.84906f, -11.350002f, -47.3183f), 141); - num3 = 1; - List list237 = new List(num3); - CollectionsMarshal.SetCount(list237, num3); - CollectionsMarshal.AsSpan(list237)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_JOBRDM500_02576_Q1_000_310") - }; - questStep31.DialogueChoices = list237; - questStep31.NextQuestId = new QuestId(2577); - reference190 = questStep31; - obj169.Steps = list236; - reference189 = obj169; - questRoot22.QuestSequence = list228; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(2577); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list238 = new List(num); - CollectionsMarshal.SetCount(list238, num); - CollectionsMarshal.AsSpan(list238)[0] = "liza"; - questRoot23.Author = list238; - num = 5; - List list239 = new List(num); - CollectionsMarshal.SetCount(list239, num); - Span span84 = CollectionsMarshal.AsSpan(list239); - ref QuestSequence reference191 = ref span84[0]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 0 - }; - num2 = 4; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - Span span85 = CollectionsMarshal.AsSpan(list240); - span85[0] = new QuestStep(EInteractionType.EquipItem, null, null, 141) - { - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - ItemId = 20389u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span85[1] = new QuestStep(EInteractionType.UseItem, 1021438u, new Vector3(-96.84906f, -11.350002f, -47.3183f), 141) - { - ItemId = 20621u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span85[2] = new QuestStep(EInteractionType.EquipRecommended, null, null, 141); - span85[3] = new QuestStep(EInteractionType.AcceptQuest, 1021438u, new Vector3(-96.84906f, -11.350002f, -47.3183f), 141); - obj170.Steps = list240; - reference191 = obj170; - ref QuestSequence reference192 = ref span84[1]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - Span span86 = CollectionsMarshal.AsSpan(list241); - span86[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-508.00916f, -17.453016f, 16.0174f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - span86[1] = new QuestStep(EInteractionType.Interact, 1021439u, new Vector3(-513.7255f, -16.420002f, -6.668213f), 145); - obj171.Steps = list241; - reference192 = obj171; - ref QuestSequence reference193 = ref span84[2]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - CollectionsMarshal.AsSpan(list242)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1021440u, new Vector3(-505.6382f, -17.810839f, 28.702148f), 145); - obj172.Steps = list242; - reference193 = obj172; - ref QuestSequence reference194 = ref span84[3]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.Interact, 1021441u, new Vector3(-428.58014f, -29.27635f, 24.826416f), 145) - { - StopDistance = 5f - }; - obj173.Steps = list243; - reference194 = obj173; - ref QuestSequence reference195 = ref span84[4]; - QuestSequence obj174 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021447u, new Vector3(-496.75748f, -17.41137f, 28.091797f), 145) - { - StopDistance = 1f, - Fly = true, - NextQuestId = new QuestId(2578) - }; - obj174.Steps = list244; - reference195 = obj174; - questRoot23.QuestSequence = list239; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(2578); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list245 = new List(num); - CollectionsMarshal.SetCount(list245, num); - CollectionsMarshal.AsSpan(list245)[0] = "liza"; - questRoot24.Author = list245; - num = 10; - List list246 = new List(num); - CollectionsMarshal.SetCount(list246, num); - Span span87 = CollectionsMarshal.AsSpan(list246); - ref QuestSequence reference196 = ref span87[0]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021447u, new Vector3(-496.75748f, -17.41137f, 28.091797f), 145) - { - StopDistance = 1f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj175.Steps = list247; - reference196 = obj175; - ref QuestSequence reference197 = ref span87[1]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.Interact, 1006355u, new Vector3(-512.47424f, -16.42f, -7.522766f), 145); - obj176.Steps = list248; - reference197 = obj176; - ref QuestSequence reference198 = ref span87[2]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.Interact, 1021448u, new Vector3(-56.717834f, -1.8104911E-06f, 102.708374f), 144) - { - AetheryteShortcut = EAetheryteLocation.GoldSaucer, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GoldSaucer, - To = EAetheryteLocation.GoldSaucerEntranceCardSquares - } - }; - obj177.Steps = list249; - reference198 = obj177; - ref QuestSequence reference199 = ref span87[3]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - CollectionsMarshal.AsSpan(list250)[0] = new QuestStep(EInteractionType.Interact, 2008218u, new Vector3(-0.07635498f, 20.98108f, 53.60486f), 144) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GoldSaucerEntranceCardSquares, - To = EAetheryteLocation.GoldSaucerWonderSquareWest - } - }; - obj178.Steps = list250; - reference199 = obj178; - ref QuestSequence reference200 = ref span87[4]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.Interact, 1021450u, new Vector3(-8.621399f, 20.99973f, 43.381348f), 144); - obj179.Steps = list251; - reference200 = obj179; - ref QuestSequence reference201 = ref span87[5]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - Span span88 = CollectionsMarshal.AsSpan(list252); - span88[0] = new QuestStep(EInteractionType.UseItem, null, null, 144) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span88[1] = new QuestStep(EInteractionType.Interact, 1021451u, new Vector3(-429.64832f, 23.743237f, -351.06433f), 140); - obj180.Steps = list252; - reference201 = obj180; - ref QuestSequence reference202 = ref span87[6]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 6 - }; - num2 = 3; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - Span span89 = CollectionsMarshal.AsSpan(list253); - span89[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-408.92343f, 23.167036f, -351.16223f), 140); - span89[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-375.8867f, 23f, -352.31714f), 140) - { - DisableNavmesh = true - }; - ref QuestStep reference203 = ref span89[2]; - QuestStep obj182 = new QuestStep(EInteractionType.Combat, 2008219u, new Vector3(-326.1311f, 22.9953f, -348.19562f), 140) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list254 = new List(num3); - CollectionsMarshal.SetCount(list254, num3); - CollectionsMarshal.AsSpan(list254)[0] = 7218u; - obj182.KillEnemyDataIds = list254; - reference203 = obj182; - obj181.Steps = list253; - reference202 = obj181; - ref QuestSequence reference204 = ref span87[7]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 7 - }; - num2 = 3; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - Span span90 = CollectionsMarshal.AsSpan(list255); - span90[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-375.8867f, 23f, -352.31714f), 140); - span90[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-408.92343f, 23.167036f, -351.16223f), 140) - { - DisableNavmesh = true - }; - span90[2] = new QuestStep(EInteractionType.Interact, 1021453u, new Vector3(-407.98047f, 23.008799f, -320.36322f), 140); - obj183.Steps = list255; - reference204 = obj183; - ref QuestSequence reference205 = ref span87[8]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 8 - }; - num2 = 2; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - Span span91 = CollectionsMarshal.AsSpan(list256); - span91[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-405.64215f, 23.167034f, -350.37634f), 140); - span91[1] = new QuestStep(EInteractionType.Interact, 1021456u, new Vector3(-400.38147f, 23f, -348.13464f), 140) - { - StopDistance = 7f - }; - obj184.Steps = list256; - reference205 = obj184; - ref QuestSequence reference206 = ref span87[9]; - QuestSequence obj185 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021457u, new Vector3(-476.40198f, 23.228897f, -430.71643f), 140) - { - Fly = true, - NextQuestId = new QuestId(2579) - }; - obj185.Steps = list257; - reference206 = obj185; - questRoot24.QuestSequence = list246; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(2579); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list258 = new List(num); - CollectionsMarshal.SetCount(list258, num); - CollectionsMarshal.AsSpan(list258)[0] = "liza"; - questRoot25.Author = list258; - num = 9; - List list259 = new List(num); - CollectionsMarshal.SetCount(list259, num); - Span span92 = CollectionsMarshal.AsSpan(list259); - ref QuestSequence reference207 = ref span92[0]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021457u, new Vector3(-476.40198f, 23.228897f, -430.71643f), 140) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj186.Steps = list260; - reference207 = obj186; - ref QuestSequence reference208 = ref span92[1]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.Interact, 1021458u, new Vector3(282.5818f, -24.99566f, 243.7323f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - obj187.Steps = list261; - reference208 = obj187; - ref QuestSequence reference209 = ref span92[2]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - Span span93 = CollectionsMarshal.AsSpan(list262); - ref QuestStep reference210 = ref span93[0]; - QuestStep questStep32 = new QuestStep(EInteractionType.Interact, 1021464u, new Vector3(327.77905f, -31.89878f, 275.59314f), 138); - num3 = 6; - List list263 = new List(num3); - CollectionsMarshal.SetCount(list263, num3); - Span span94 = CollectionsMarshal.AsSpan(list263); - span94[0] = null; - span94[1] = null; - span94[2] = null; - span94[3] = null; - span94[4] = null; - span94[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep32.CompletionQuestVariablesFlags = list263; - reference210 = questStep32; - ref QuestStep reference211 = ref span93[1]; - QuestStep questStep33 = new QuestStep(EInteractionType.Interact, 1021463u, new Vector3(311.4823f, -36.325005f, 351.33887f), 138); - num3 = 6; - List list264 = new List(num3); - CollectionsMarshal.SetCount(list264, num3); - Span span95 = CollectionsMarshal.AsSpan(list264); - span95[0] = null; - span95[1] = null; - span95[2] = null; - span95[3] = null; - span95[4] = null; - span95[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep33.CompletionQuestVariablesFlags = list264; - reference211 = questStep33; - ref QuestStep reference212 = ref span93[2]; - QuestStep questStep34 = new QuestStep(EInteractionType.Interact, 1021465u, new Vector3(319.2339f, -40.425003f, 382.37573f), 138); - num3 = 6; - List list265 = new List(num3); - CollectionsMarshal.SetCount(list265, num3); - Span span96 = CollectionsMarshal.AsSpan(list265); - span96[0] = null; - span96[1] = null; - span96[2] = null; - span96[3] = null; - span96[4] = null; - span96[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep34.CompletionQuestVariablesFlags = list265; - reference212 = questStep34; - obj188.Steps = list262; - reference209 = obj188; - ref QuestSequence reference213 = ref span92[3]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - CollectionsMarshal.AsSpan(list266)[0] = new QuestStep(EInteractionType.Interact, 1021458u, new Vector3(282.5818f, -24.99566f, 243.7323f), 138) - { - StopDistance = 1f, - Fly = true - }; - obj189.Steps = list266; - reference213 = obj189; - ref QuestSequence reference214 = ref span92[4]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - ref QuestStep reference215 = ref CollectionsMarshal.AsSpan(list267)[0]; - QuestStep obj191 = new QuestStep(EInteractionType.Combat, 2008221u, new Vector3(200.09155f, -36.728516f, 276.17297f), 138) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list268 = new List(num3); - CollectionsMarshal.SetCount(list268, num3); - CollectionsMarshal.AsSpan(list268)[0] = 7219u; - obj191.KillEnemyDataIds = list268; - reference215 = obj191; - obj190.Steps = list267; - reference214 = obj190; - ref QuestSequence reference216 = ref span92[5]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - CollectionsMarshal.AsSpan(list269)[0] = new QuestStep(EInteractionType.Interact, 1021459u, new Vector3(207.35486f, -36.405907f, 328.11462f), 138) - { - Fly = true - }; - obj192.Steps = list269; - reference216 = obj192; - ref QuestSequence reference217 = ref span92[6]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - CollectionsMarshal.AsSpan(list270)[0] = new QuestStep(EInteractionType.UseItem, 2008924u, new Vector3(206.073f, -35.568848f, 329.21338f), 138) - { - ItemId = 2002182u - }; - obj193.Steps = list270; - reference217 = obj193; - ref QuestSequence reference218 = ref span92[7]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - Span span97 = CollectionsMarshal.AsSpan(list271); - span97[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(303.05298f, -36.405563f, 307.39264f), 138) - { - Fly = true - }; - span97[1] = new QuestStep(EInteractionType.Interact, 1021460u, new Vector3(319.44763f, -35.9496f, 305.6228f), 138); - obj194.Steps = list271; - reference218 = obj194; - ref QuestSequence reference219 = ref span92[8]; - QuestSequence obj195 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - CollectionsMarshal.AsSpan(list272)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021462u, new Vector3(307.36243f, -36.402996f, 309.98706f), 138) - { - NextQuestId = new QuestId(2580) - }; - obj195.Steps = list272; - reference219 = obj195; - questRoot25.QuestSequence = list259; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(2580); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list273 = new List(num); - CollectionsMarshal.SetCount(list273, num); - CollectionsMarshal.AsSpan(list273)[0] = "liza"; - questRoot26.Author = list273; - num = 8; - List list274 = new List(num); - CollectionsMarshal.SetCount(list274, num); - Span span98 = CollectionsMarshal.AsSpan(list274); - ref QuestSequence reference220 = ref span98[0]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021462u, new Vector3(307.36243f, -36.402996f, 309.98706f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj196.Steps = list275; - reference220 = obj196; - ref QuestSequence reference221 = ref span98[1]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - CollectionsMarshal.AsSpan(list276)[0] = new QuestStep(EInteractionType.Interact, 1021466u, new Vector3(320.54626f, -35.949726f, 306.11108f), 138); - obj197.Steps = list276; - reference221 = obj197; - ref QuestSequence reference222 = ref span98[2]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - Span span99 = CollectionsMarshal.AsSpan(list277); - span99[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(310.38196f, -35.96502f, 314.66306f), 138) - { - Mount = true - }; - span99[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(192.09558f, -17.541195f, 268.45526f), 138) - { - Fly = true - }; - ref QuestStep reference223 = ref span99[2]; - QuestStep questStep35 = new QuestStep(EInteractionType.Interact, 1021467u, new Vector3(190.96667f, -17.339743f, 269.27588f), 138); - num3 = 2; - List list278 = new List(num3); - CollectionsMarshal.SetCount(list278, num3); - Span span100 = CollectionsMarshal.AsSpan(list278); - span100[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBRDM560_02580_Q1_000_100"), - Answer = new ExcelRef("TEXT_JOBRDM560_02580_A1_000_101") - }; - span100[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBRDM560_02580_Q2_000_131"), - Answer = new ExcelRef("TEXT_JOBRDM560_02580_A2_000_131") - }; - questStep35.DialogueChoices = list278; - reference223 = questStep35; - obj198.Steps = list277; - reference222 = obj198; - ref QuestSequence reference224 = ref span98[3]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - Span span101 = CollectionsMarshal.AsSpan(list279); - span101[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(303.05298f, -36.405563f, 307.39264f), 138) - { - Fly = true - }; - span101[1] = new QuestStep(EInteractionType.Interact, 1021468u, new Vector3(319.44763f, -35.949703f, 306.90466f), 138); - obj199.Steps = list279; - reference224 = obj199; - ref QuestSequence reference225 = ref span98[4]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - Span span102 = CollectionsMarshal.AsSpan(list280); - span102[0] = new QuestStep(EInteractionType.Interact, 1003584u, new Vector3(317.43335f, -36.325005f, 352.86487f), 138) - { - TargetTerritoryId = (ushort)138 - }; - span102[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 1021469u, new Vector3(-289.14325f, -40.63008f, 420.46228f), 138) - { - StopDistance = 7f - }; - obj200.Steps = list280; - reference225 = obj200; - ref QuestSequence reference226 = ref span98[5]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - CollectionsMarshal.AsSpan(list281)[0] = new QuestStep(EInteractionType.Interact, 1021442u, new Vector3(-304.89056f, -40.172314f, 660.1815f), 138); - obj201.Steps = list281; - reference226 = obj201; - ref QuestSequence reference227 = ref span98[6]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - CollectionsMarshal.AsSpan(list282)[0] = new QuestStep(EInteractionType.Interact, 1021471u, new Vector3(320.88184f, -40.425003f, 369.77185f), 138); - obj202.Steps = list282; - reference227 = obj202; - ref QuestSequence reference228 = ref span98[7]; - QuestSequence obj203 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021473u, new Vector3(311.39075f, -25.002254f, 230.82312f), 138) - { - Fly = true, - NextQuestId = new QuestId(2581) - }; - obj203.Steps = list283; - reference228 = obj203; - questRoot26.QuestSequence = list274; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(2581); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list284 = new List(num); - CollectionsMarshal.SetCount(list284, num); - CollectionsMarshal.AsSpan(list284)[0] = "liza"; - questRoot27.Author = list284; - num = 7; - List list285 = new List(num); - CollectionsMarshal.SetCount(list285, num); - Span span103 = CollectionsMarshal.AsSpan(list285); - ref QuestSequence reference229 = ref span103[0]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - CollectionsMarshal.AsSpan(list286)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021473u, new Vector3(311.39075f, -25.002254f, 230.82312f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj204.Steps = list286; - reference229 = obj204; - ref QuestSequence reference230 = ref span103[1]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - ref QuestStep reference231 = ref CollectionsMarshal.AsSpan(list287)[0]; - QuestStep obj206 = new QuestStep(EInteractionType.Interact, 1021475u, new Vector3(-196.94824f, 15.542886f, 37.582886f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaHawkersAlley - } - }; - num3 = 1; - List list288 = new List(num3); - CollectionsMarshal.SetCount(list288, num3); - CollectionsMarshal.AsSpan(list288)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBRDM580_02581_Q1_000_100"), - Answer = new ExcelRef("TEXT_JOBRDM580_02581_A1_000_101") - }; - obj206.DialogueChoices = list288; - reference231 = obj206; - obj205.Steps = list287; - reference230 = obj205; - ref QuestSequence reference232 = ref span103[2]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.Interact, 1021478u, new Vector3(-17.257996f, 40.000496f, -6.4240723f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaHawkersAlley, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj207.Steps = list289; - reference232 = obj207; - ref QuestSequence reference233 = ref span103[3]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - CollectionsMarshal.AsSpan(list290)[0] = new QuestStep(EInteractionType.Interact, 1021480u, new Vector3(-304.28015f, 78.854965f, -140.82556f), 147) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCeruleumProcessingPlant - }; - obj208.Steps = list290; - reference233 = obj208; - ref QuestSequence reference234 = ref span103[4]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - ref QuestStep reference235 = ref CollectionsMarshal.AsSpan(list291)[0]; - QuestStep obj210 = new QuestStep(EInteractionType.Combat, 2008233u, new Vector3(-292.6833f, 84.4281f, -359.39575f), 147) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list292 = new List(num3); - CollectionsMarshal.SetCount(list292, num3); - Span span104 = CollectionsMarshal.AsSpan(list292); - span104[0] = 7221u; - span104[1] = 7222u; - obj210.KillEnemyDataIds = list292; - reference235 = obj210; - obj209.Steps = list291; - reference234 = obj209; - ref QuestSequence reference236 = ref span103[5]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - CollectionsMarshal.AsSpan(list293)[0] = new QuestStep(EInteractionType.Interact, 1021480u, new Vector3(-304.28015f, 78.854965f, -140.82556f), 147) - { - Fly = true - }; - obj211.Steps = list293; - reference236 = obj211; - ref QuestSequence reference237 = ref span103[6]; - QuestSequence obj212 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - CollectionsMarshal.AsSpan(list294)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021482u, new Vector3(-94.92645f, 48.01958f, -31.570984f), 147) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCeruleumProcessingPlant, - NextQuestId = new QuestId(2582) - }; - obj212.Steps = list294; - reference237 = obj212; - questRoot27.QuestSequence = list285; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(2582); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list295 = new List(num); - CollectionsMarshal.SetCount(list295, num); - CollectionsMarshal.AsSpan(list295)[0] = "liza"; - questRoot28.Author = list295; - num = 8; - List list296 = new List(num); - CollectionsMarshal.SetCount(list296, num); - Span span105 = CollectionsMarshal.AsSpan(list296); - ref QuestSequence reference238 = ref span105[0]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - CollectionsMarshal.AsSpan(list297)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021482u, new Vector3(-94.92645f, 48.01958f, -31.570984f), 147) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCeruleumProcessingPlant, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj213.Steps = list297; - reference238 = obj213; - ref QuestSequence reference239 = ref span105[1]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - CollectionsMarshal.AsSpan(list298)[0] = new QuestStep(EInteractionType.Interact, 1021484u, new Vector3(3.3721924f, 50.266228f, -770.1076f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj214.Steps = list298; - reference239 = obj214; - ref QuestSequence reference240 = ref span105[2]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - CollectionsMarshal.AsSpan(list299)[0] = new QuestStep(EInteractionType.Interact, 1021486u, new Vector3(54.642456f, 20.4949f, -671.3207f), 156) - { - Fly = true - }; - obj215.Steps = list299; - reference240 = obj215; - ref QuestSequence reference241 = ref span105[3]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - CollectionsMarshal.AsSpan(list300)[0] = new QuestStep(EInteractionType.Interact, 1021487u, new Vector3(94.56018f, 20.33949f, -609.4606f), 156) - { - Fly = true - }; - obj216.Steps = list300; - reference241 = obj216; - ref QuestSequence reference242 = ref span105[4]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - Span span106 = CollectionsMarshal.AsSpan(list301); - ref QuestStep reference243 = ref span106[0]; - QuestStep obj218 = new QuestStep(EInteractionType.Combat, null, new Vector3(175.10304f, 10.336163f, -584.578f), 156) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list302 = new List(num3); - CollectionsMarshal.SetCount(list302, num3); - CollectionsMarshal.AsSpan(list302)[0] = 7223u; - obj218.KillEnemyDataIds = list302; - num3 = 6; - List list303 = new List(num3); - CollectionsMarshal.SetCount(list303, num3); - Span span107 = CollectionsMarshal.AsSpan(list303); - span107[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span107[1] = null; - span107[2] = null; - span107[3] = null; - span107[4] = null; - span107[5] = null; - obj218.CompletionQuestVariablesFlags = list303; - reference243 = obj218; - span106[1] = new QuestStep(EInteractionType.Interact, 1021489u, new Vector3(176.3789f, 9.963035f, -583.64233f), 156); - obj217.Steps = list301; - reference242 = obj217; - ref QuestSequence reference244 = ref span105[5]; - QuestSequence obj219 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - Span span108 = CollectionsMarshal.AsSpan(list304); - ref QuestStep reference245 = ref span108[0]; - QuestStep obj220 = new QuestStep(EInteractionType.Combat, null, new Vector3(210.32977f, -17.479898f, -470.8124f), 156) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list305 = new List(num3); - CollectionsMarshal.SetCount(list305, num3); - CollectionsMarshal.AsSpan(list305)[0] = 7224u; - obj220.KillEnemyDataIds = list305; - num3 = 6; - List list306 = new List(num3); - CollectionsMarshal.SetCount(list306, num3); - Span span109 = CollectionsMarshal.AsSpan(list306); - span109[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span109[1] = null; - span109[2] = null; - span109[3] = null; - span109[4] = null; - span109[5] = null; - obj220.CompletionQuestVariablesFlags = list306; - reference245 = obj220; - span108[1] = new QuestStep(EInteractionType.Interact, 1021490u, new Vector3(211.56628f, -17.612108f, -469.50488f), 156); - obj219.Steps = list304; - reference244 = obj219; - ref QuestSequence reference246 = ref span105[6]; - QuestSequence obj221 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list307 = new List(num2); - CollectionsMarshal.SetCount(list307, num2); - CollectionsMarshal.AsSpan(list307)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2008526u, new Vector3(376.82153f, -17.563171f, -343.67902f), 156) - { - Fly = true - }; - obj221.Steps = list307; - reference246 = obj221; - ref QuestSequence reference247 = ref span105[7]; - QuestSequence obj222 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - CollectionsMarshal.AsSpan(list308)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021493u, new Vector3(55.557983f, 20.485168f, -672.5719f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - NextQuestId = new QuestId(2583) - }; - obj222.Steps = list308; - reference247 = obj222; - questRoot28.QuestSequence = list296; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(2583); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list309 = new List(num); - CollectionsMarshal.SetCount(list309, num); - CollectionsMarshal.AsSpan(list309)[0] = "liza"; - questRoot29.Author = list309; - num = 7; - List list310 = new List(num); - CollectionsMarshal.SetCount(list310, num); - Span span110 = CollectionsMarshal.AsSpan(list310); - ref QuestSequence reference248 = ref span110[0]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list311 = new List(num2); - CollectionsMarshal.SetCount(list311, num2); - CollectionsMarshal.AsSpan(list311)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021493u, new Vector3(55.557983f, 20.485168f, -672.5719f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj223.Steps = list311; - reference248 = obj223; - ref QuestSequence reference249 = ref span110[1]; - QuestSequence obj224 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - CollectionsMarshal.AsSpan(list312)[0] = new QuestStep(EInteractionType.Interact, 1021772u, new Vector3(63.095947f, 207.82686f, -14.725037f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire - }; - obj224.Steps = list312; - reference249 = obj224; - ref QuestSequence reference250 = ref span110[2]; - QuestSequence obj225 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list313 = new List(num2); - CollectionsMarshal.SetCount(list313, num2); - ref QuestStep reference251 = ref CollectionsMarshal.AsSpan(list313)[0]; - QuestStep obj226 = new QuestStep(EInteractionType.Combat, 2008220u, new Vector3(385.9464f, 78.446655f, -114.488464f), 399) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshireEpilogueGate - }, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list314 = new List(num3); - CollectionsMarshal.SetCount(list314, num3); - Span span111 = CollectionsMarshal.AsSpan(list314); - span111[0] = 7225u; - span111[1] = 8039u; - obj226.KillEnemyDataIds = list314; - reference251 = obj226; - obj225.Steps = list313; - reference250 = obj225; - ref QuestSequence reference252 = ref span110[3]; - QuestSequence obj227 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - CollectionsMarshal.AsSpan(list315)[0] = new QuestStep(EInteractionType.Interact, 1021774u, new Vector3(141.31372f, 66.09973f, -238.14758f), 399) - { - Fly = true - }; - obj227.Steps = list315; - reference252 = obj227; - ref QuestSequence reference253 = ref span110[4]; - QuestSequence obj228 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - CollectionsMarshal.AsSpan(list316)[0] = new QuestStep(EInteractionType.Interact, 1021775u, new Vector3(266.98706f, 78.3604f, -10.788147f), 399) - { - Fly = true - }; - obj228.Steps = list316; - reference253 = obj228; - ref QuestSequence reference254 = ref span110[5]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list317 = new List(num2); - CollectionsMarshal.SetCount(list317, num2); - CollectionsMarshal.AsSpan(list317)[0] = new QuestStep(EInteractionType.Interact, 1021778u, new Vector3(-4.135254f, 211f, -39.84137f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire - }; - obj229.Steps = list317; - reference254 = obj229; - ref QuestSequence reference255 = ref span110[6]; - QuestSequence obj230 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list318 = new List(num2); - CollectionsMarshal.SetCount(list318, num2); - CollectionsMarshal.AsSpan(list318)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021779u, new Vector3(-5.44751f, 210.99998f, -39.658203f), 478) - { - NextQuestId = new QuestId(2584) - }; - obj230.Steps = list318; - reference255 = obj230; - questRoot29.QuestSequence = list310; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(2584); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list319 = new List(num); - CollectionsMarshal.SetCount(list319, num); - CollectionsMarshal.AsSpan(list319)[0] = "liza"; - questRoot30.Author = list319; - num = 7; - List list320 = new List(num); - CollectionsMarshal.SetCount(list320, num); - Span span112 = CollectionsMarshal.AsSpan(list320); - ref QuestSequence reference256 = ref span112[0]; - QuestSequence obj231 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list321 = new List(num2); - CollectionsMarshal.SetCount(list321, num2); - ref QuestStep reference257 = ref CollectionsMarshal.AsSpan(list321)[0]; - QuestStep obj232 = new QuestStep(EInteractionType.AcceptQuest, 1021779u, new Vector3(-5.44751f, 210.99998f, -39.658203f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list322 = new List(num3); - CollectionsMarshal.SetCount(list322, num3); - CollectionsMarshal.AsSpan(list322)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBRDM630_02584_Q1_000_050"), - Answer = new ExcelRef("TEXT_JOBRDM630_02584_A1_000_051") - }; - obj232.DialogueChoices = list322; - reference257 = obj232; - obj231.Steps = list321; - reference256 = obj231; - ref QuestSequence reference258 = ref span112[1]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list323 = new List(num2); - CollectionsMarshal.SetCount(list323, num2); - Span span113 = CollectionsMarshal.AsSpan(list323); - span113[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-341.33426f, 94.733665f, -414.5643f), 620) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - span113[1] = new QuestStep(EInteractionType.Interact, 1021780u, new Vector3(-339.04022f, 94.94087f, -414.17566f), 620); - obj233.Steps = list323; - reference258 = obj233; - ref QuestSequence reference259 = ref span112[2]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 2 - }; - num2 = 8; - List list324 = new List(num2); - CollectionsMarshal.SetCount(list324, num2); - Span span114 = CollectionsMarshal.AsSpan(list324); - ref QuestStep reference260 = ref span114[0]; - QuestStep obj235 = new QuestStep(EInteractionType.Interact, 2008291u, new Vector3(-299.48883f, 200.7019f, -240.55853f), 620) - { - Fly = true - }; - num3 = 6; - List list325 = new List(num3); - CollectionsMarshal.SetCount(list325, num3); - Span span115 = CollectionsMarshal.AsSpan(list325); - span115[0] = null; - span115[1] = null; - span115[2] = null; - span115[3] = null; - span115[4] = null; - span115[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj235.CompletionQuestVariablesFlags = list325; - reference260 = obj235; - ref QuestStep reference261 = ref span114[1]; - QuestStep obj236 = new QuestStep(EInteractionType.Jump, null, new Vector3(-299.41455f, 200.71986f, -238.0671f), 620) - { - StopDistance = 0.5f, - JumpDestination = new JumpDestination - { - Position = new Vector3(-299.78412f, 202.14117f, -229.18993f) - } - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list326 = new List(num3); - CollectionsMarshal.SetCount(list326, num3); - Span span116 = CollectionsMarshal.AsSpan(list326); - span116[0] = null; - span116[1] = null; - span116[2] = null; - span116[3] = null; - span116[4] = null; - span116[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list326; - skipStepConditions2.Flying = ELockedSkipCondition.Unlocked; - skipConditions9.StepIf = skipStepConditions2; - obj236.SkipConditions = skipConditions9; - reference261 = obj236; - ref QuestStep reference262 = ref span114[2]; - QuestStep obj237 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-292.9197f, 203.25142f, -222.20459f), 620) - { - DisableNavmesh = true - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list327 = new List(num3); - CollectionsMarshal.SetCount(list327, num3); - Span span117 = CollectionsMarshal.AsSpan(list327); - span117[0] = null; - span117[1] = null; - span117[2] = null; - span117[3] = null; - span117[4] = null; - span117[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list327; - skipStepConditions3.Flying = ELockedSkipCondition.Unlocked; - skipConditions10.StepIf = skipStepConditions3; - obj237.SkipConditions = skipConditions10; - reference262 = obj237; - ref QuestStep reference263 = ref span114[3]; - QuestStep obj238 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-262.3789f, 106.614746f, -206.86658f), 620) - { - DisableNavmesh = true, - Sprint = false - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list328 = new List(num3); - CollectionsMarshal.SetCount(list328, num3); - Span span118 = CollectionsMarshal.AsSpan(list328); - span118[0] = null; - span118[1] = null; - span118[2] = null; - span118[3] = null; - span118[4] = null; - span118[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list328; - skipStepConditions4.Flying = ELockedSkipCondition.Unlocked; - skipConditions11.StepIf = skipStepConditions4; - obj238.SkipConditions = skipConditions11; - reference263 = obj238; - ref QuestStep reference264 = ref span114[4]; - QuestStep obj239 = new QuestStep(EInteractionType.Interact, 2008292u, new Vector3(-262.3789f, 106.614746f, -206.86658f), 620) - { - Fly = true - }; - num3 = 6; - List list329 = new List(num3); - CollectionsMarshal.SetCount(list329, num3); - Span span119 = CollectionsMarshal.AsSpan(list329); - span119[0] = null; - span119[1] = null; - span119[2] = null; - span119[3] = null; - span119[4] = null; - span119[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj239.CompletionQuestVariablesFlags = list329; - reference264 = obj239; - ref QuestStep reference265 = ref span114[5]; - QuestStep obj240 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-207.53746f, 108.3858f, -304.68738f), 620) - { - StopDistance = 0.5f - }; - SkipConditions skipConditions12 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 6; - List list330 = new List(num3); - CollectionsMarshal.SetCount(list330, num3); - Span span120 = CollectionsMarshal.AsSpan(list330); - span120[0] = null; - span120[1] = null; - span120[2] = null; - span120[3] = null; - span120[4] = null; - span120[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions5.CompletionQuestVariablesFlags = list330; - skipStepConditions5.Flying = ELockedSkipCondition.Unlocked; - skipConditions12.StepIf = skipStepConditions5; - obj240.SkipConditions = skipConditions12; - reference265 = obj240; - ref QuestStep reference266 = ref span114[6]; - QuestStep obj241 = new QuestStep(EInteractionType.Jump, null, new Vector3(-207.53746f, 108.3858f, -304.68738f), 620) - { - StopDistance = 0.5f, - Mount = false, - JumpDestination = new JumpDestination - { - Position = new Vector3(-210.40668f, 109.666504f, -299.794f), - StopDistance = 0.5f, - DelaySeconds = 0.2f - } - }; - SkipConditions skipConditions13 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 6; - List list331 = new List(num3); - CollectionsMarshal.SetCount(list331, num3); - Span span121 = CollectionsMarshal.AsSpan(list331); - span121[0] = null; - span121[1] = null; - span121[2] = null; - span121[3] = null; - span121[4] = null; - span121[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions6.CompletionQuestVariablesFlags = list331; - skipStepConditions6.Flying = ELockedSkipCondition.Unlocked; - skipConditions13.StepIf = skipStepConditions6; - obj241.SkipConditions = skipConditions13; - reference266 = obj241; - ref QuestStep reference267 = ref span114[7]; - QuestStep obj242 = new QuestStep(EInteractionType.Interact, 2008293u, new Vector3(-210.40668f, 109.666504f, -299.794f), 620) - { - StopDistance = 1f, - Fly = true - }; - num3 = 6; - List list332 = new List(num3); - CollectionsMarshal.SetCount(list332, num3); - Span span122 = CollectionsMarshal.AsSpan(list332); - span122[0] = null; - span122[1] = null; - span122[2] = null; - span122[3] = null; - span122[4] = null; - span122[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj242.CompletionQuestVariablesFlags = list332; - reference267 = obj242; - obj234.Steps = list324; - reference259 = obj234; - ref QuestSequence reference268 = ref span112[3]; - QuestSequence obj243 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list333 = new List(num2); - CollectionsMarshal.SetCount(list333, num2); - Span span123 = CollectionsMarshal.AsSpan(list333); - span123[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-213.96315f, 107.1167f, -305.87753f), 620) - { - DisableNavmesh = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span123[1] = new QuestStep(EInteractionType.Interact, 1021781u, new Vector3(-308.43066f, 102.62436f, -372.2744f), 620) - { - Fly = true - }; - obj243.Steps = list333; - reference268 = obj243; - ref QuestSequence reference269 = ref span112[4]; - QuestSequence obj244 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - ref QuestStep reference270 = ref CollectionsMarshal.AsSpan(list334)[0]; - QuestStep obj245 = new QuestStep(EInteractionType.Combat, 2008294u, new Vector3(782.6809f, 256.91602f, -388.29633f), 620) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list335 = new List(num3); - CollectionsMarshal.SetCount(list335, num3); - CollectionsMarshal.AsSpan(list335)[0] = 7822u; - obj245.KillEnemyDataIds = list335; - reference270 = obj245; - obj244.Steps = list334; - reference269 = obj244; - ref QuestSequence reference271 = ref span112[5]; - QuestSequence obj246 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list336 = new List(num2); - CollectionsMarshal.SetCount(list336, num2); - CollectionsMarshal.AsSpan(list336)[0] = new QuestStep(EInteractionType.Interact, 1021782u, new Vector3(120.74463f, 118.383255f, -732.57043f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - obj246.Steps = list336; - reference271 = obj246; - ref QuestSequence reference272 = ref span112[6]; - QuestSequence obj247 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list337 = new List(num2); - CollectionsMarshal.SetCount(list337, num2); - CollectionsMarshal.AsSpan(list337)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021778u, new Vector3(-4.135254f, 211f, -39.84137f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - NextQuestId = new QuestId(2585) - }; - obj247.Steps = list337; - reference272 = obj247; - questRoot30.QuestSequence = list320; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(2585); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list338 = new List(num); - CollectionsMarshal.SetCount(list338, num); - CollectionsMarshal.AsSpan(list338)[0] = "liza"; - questRoot31.Author = list338; - num = 6; - List list339 = new List(num); - CollectionsMarshal.SetCount(list339, num); - Span span124 = CollectionsMarshal.AsSpan(list339); - ref QuestSequence reference273 = ref span124[0]; - QuestSequence obj248 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list340 = new List(num2); - CollectionsMarshal.SetCount(list340, num2); - CollectionsMarshal.AsSpan(list340)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021779u, new Vector3(-5.44751f, 210.99998f, -39.658203f), 478) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj248.Steps = list340; - reference273 = obj248; - ref QuestSequence reference274 = ref span124[1]; - QuestSequence obj249 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - Span span125 = CollectionsMarshal.AsSpan(list341); - span125[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.853794f, 210.99998f, 3.6528845f), 478) - { - Mount = true - }; - span125[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-20.601719f, 205.82156f, 23.937931f), 478) - { - DisableNavmesh = true - }; - span125[2] = new QuestStep(EInteractionType.Interact, 1012133u, new Vector3(-26.840637f, 206.49944f, 28.67163f), 478); - obj249.Steps = list341; - reference274 = obj249; - ref QuestSequence reference275 = ref span124[2]; - QuestSequence obj250 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - CollectionsMarshal.AsSpan(list342)[0] = new QuestStep(EInteractionType.Interact, 1021779u, new Vector3(-5.44751f, 210.99998f, -39.658203f), 478); - obj250.Steps = list342; - reference275 = obj250; - ref QuestSequence reference276 = ref span124[3]; - QuestSequence obj251 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list343 = new List(num2); - CollectionsMarshal.SetCount(list343, num2); - CollectionsMarshal.AsSpan(list343)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1021783u, new Vector3(277.11902f, 232.541f, 785.5801f), 399) - { - Fly = true, - Comment = "TODO Navigation doesn't work if flying is locked", - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshirePrologueGate - } - }; - obj251.Steps = list343; - reference276 = obj251; - ref QuestSequence reference277 = ref span124[4]; - QuestSequence obj252 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list344 = new List(num2); - CollectionsMarshal.SetCount(list344, num2); - CollectionsMarshal.AsSpan(list344)[0] = new QuestStep(EInteractionType.Interact, 1021783u, new Vector3(277.11902f, 232.54102f, 785.5801f), 399) - { - StopDistance = 7f - }; - obj252.Steps = list344; - reference277 = obj252; - ref QuestSequence reference278 = ref span124[5]; - QuestSequence obj253 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list345 = new List(num2); - CollectionsMarshal.SetCount(list345, num2); - CollectionsMarshal.AsSpan(list345)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021779u, new Vector3(-5.44751f, 210.99998f, -39.658203f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - NextQuestId = new QuestId(2586) - }; - obj253.Steps = list345; - reference278 = obj253; - questRoot31.QuestSequence = list339; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(2586); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list346 = new List(num); - CollectionsMarshal.SetCount(list346, num); - CollectionsMarshal.AsSpan(list346)[0] = "liza"; - questRoot32.Author = list346; - num = 9; - List list347 = new List(num); - CollectionsMarshal.SetCount(list347, num); - Span span126 = CollectionsMarshal.AsSpan(list347); - ref QuestSequence reference279 = ref span126[0]; - QuestSequence obj254 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list348 = new List(num2); - CollectionsMarshal.SetCount(list348, num2); - CollectionsMarshal.AsSpan(list348)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021779u, new Vector3(-5.44751f, 210.99998f, -39.658203f), 478) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj254.Steps = list348; - reference279 = obj254; - ref QuestSequence reference280 = ref span126[1]; - QuestSequence obj255 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list349 = new List(num2); - CollectionsMarshal.SetCount(list349, num2); - CollectionsMarshal.AsSpan(list349)[0] = new QuestStep(EInteractionType.Interact, 1021785u, new Vector3(115.19031f, 14.631312f, -165.11792f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardTribunal - } - }; - obj255.Steps = list349; - reference280 = obj255; - ref QuestSequence reference281 = ref span126[2]; - QuestSequence obj256 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - CollectionsMarshal.AsSpan(list350)[0] = new QuestStep(EInteractionType.Interact, 1021788u, new Vector3(34.042847f, 11.965077f, 48.355713f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardTribunal, - To = EAetheryteLocation.IshgardLastVigil - } - }; - obj256.Steps = list350; - reference281 = obj256; - ref QuestSequence reference282 = ref span126[3]; - QuestSequence obj257 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list351 = new List(num2); - CollectionsMarshal.SetCount(list351, num2); - CollectionsMarshal.AsSpan(list351)[0] = new QuestStep(EInteractionType.Interact, 1021789u, new Vector3(455.5885f, 300.37985f, -349.32483f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj257.Steps = list351; - reference282 = obj257; - ref QuestSequence reference283 = ref span126[4]; - QuestSequence obj258 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list352 = new List(num2); - CollectionsMarshal.SetCount(list352, num2); - ref QuestStep reference284 = ref CollectionsMarshal.AsSpan(list352)[0]; - QuestStep obj259 = new QuestStep(EInteractionType.Combat, 2008997u, new Vector3(299.2141f, 239.12415f, -312.76422f), 155) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list353 = new List(num3); - CollectionsMarshal.SetCount(list353, num3); - CollectionsMarshal.AsSpan(list353)[0] = 7226u; - obj259.KillEnemyDataIds = list353; - reference284 = obj259; - obj258.Steps = list352; - reference283 = obj258; - ref QuestSequence reference285 = ref span126[5]; - QuestSequence obj260 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list354 = new List(num2); - CollectionsMarshal.SetCount(list354, num2); - CollectionsMarshal.AsSpan(list354)[0] = new QuestStep(EInteractionType.Interact, 1021791u, new Vector3(445.94482f, 250.97905f, -309.25464f), 155) - { - Fly = true - }; - obj260.Steps = list354; - reference285 = obj260; - ref QuestSequence reference286 = ref span126[6]; - QuestSequence obj261 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list355 = new List(num2); - CollectionsMarshal.SetCount(list355, num2); - CollectionsMarshal.AsSpan(list355)[0] = new QuestStep(EInteractionType.Interact, 1021794u, new Vector3(295.9486f, 238.09589f, -317.34192f), 155) - { - Fly = true - }; - obj261.Steps = list355; - reference286 = obj261; - ref QuestSequence reference287 = ref span126[7]; - QuestSequence obj262 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list356 = new List(num2); - CollectionsMarshal.SetCount(list356, num2); - CollectionsMarshal.AsSpan(list356)[0] = new QuestStep(EInteractionType.Interact, 1021793u, new Vector3(295.24683f, 238.25597f, -315.78546f), 155); - obj262.Steps = list356; - reference287 = obj262; - ref QuestSequence reference288 = ref span126[8]; - QuestSequence obj263 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list357 = new List(num2); - CollectionsMarshal.SetCount(list357, num2); - CollectionsMarshal.AsSpan(list357)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021795u, new Vector3(-19.638367f, 15.965051f, -37.247314f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardLastVigil - }, - NextQuestId = new QuestId(2587) - }; - obj263.Steps = list357; - reference288 = obj263; - questRoot32.QuestSequence = list347; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(2587); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list358 = new List(num); - CollectionsMarshal.SetCount(list358, num); - CollectionsMarshal.AsSpan(list358)[0] = "liza"; - questRoot33.Author = list358; - num = 8; - List list359 = new List(num); - CollectionsMarshal.SetCount(list359, num); - Span span127 = CollectionsMarshal.AsSpan(list359); - ref QuestSequence reference289 = ref span127[0]; - QuestSequence obj264 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list360 = new List(num2); - CollectionsMarshal.SetCount(list360, num2); - ref QuestStep reference290 = ref CollectionsMarshal.AsSpan(list360)[0]; - QuestStep obj265 = new QuestStep(EInteractionType.AcceptQuest, 1021795u, new Vector3(-19.638367f, 15.965051f, -37.247314f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardLastVigil - } - }; - SkipConditions skipConditions14 = new SkipConditions(); - SkipAetheryteCondition obj266 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list361 = new List(num3); - CollectionsMarshal.SetCount(list361, num3); - CollectionsMarshal.AsSpan(list361)[0] = 419; - obj266.InTerritory = list361; - skipConditions14.AetheryteShortcutIf = obj266; - obj265.SkipConditions = skipConditions14; - reference290 = obj265; - obj264.Steps = list360; - reference289 = obj264; - ref QuestSequence reference291 = ref span127[1]; - QuestSequence obj267 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list362 = new List(num2); - CollectionsMarshal.SetCount(list362, num2); - CollectionsMarshal.AsSpan(list362)[0] = new QuestStep(EInteractionType.Interact, 1021796u, new Vector3(-198.71832f, 18f, 61.08191f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - } - }; - obj267.Steps = list362; - reference291 = obj267; - ref QuestSequence reference292 = ref span127[2]; - QuestSequence obj268 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list363 = new List(num2); - CollectionsMarshal.SetCount(list363, num2); - CollectionsMarshal.AsSpan(list363)[0] = new QuestStep(EInteractionType.Interact, 1021798u, new Vector3(-198.71832f, 18f, 61.08191f), 130); - obj268.Steps = list363; - reference292 = obj268; - ref QuestSequence reference293 = ref span127[3]; - QuestSequence obj269 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list364 = new List(num2); - CollectionsMarshal.SetCount(list364, num2); - CollectionsMarshal.AsSpan(list364)[0] = new QuestStep(EInteractionType.Interact, 1021799u, new Vector3(54.520386f, 20.411621f, -676.6614f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj269.Steps = list364; - reference293 = obj269; - ref QuestSequence reference294 = ref span127[4]; - QuestSequence obj270 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list365 = new List(num2); - CollectionsMarshal.SetCount(list365, num2); - CollectionsMarshal.AsSpan(list365)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1021801u, new Vector3(367.87964f, -16.467955f, -335.86633f), 156) - { - Fly = true - }; - obj270.Steps = list365; - reference294 = obj270; - span127[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference295 = ref span127[6]; - QuestSequence obj271 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list366 = new List(num2); - CollectionsMarshal.SetCount(list366, num2); - CollectionsMarshal.AsSpan(list366)[0] = new QuestStep(EInteractionType.Interact, 1021804u, new Vector3(368.1543f, -16.339586f, -331.44128f), 156) - { - StopDistance = 5f - }; - obj271.Steps = list366; - reference295 = obj271; - ref QuestSequence reference296 = ref span127[7]; - QuestSequence obj272 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list367 = new List(num2); - CollectionsMarshal.SetCount(list367, num2); - CollectionsMarshal.AsSpan(list367)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021800u, new Vector3(55.557983f, 20.411068f, -675.5627f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj272.Steps = list367; - reference296 = obj272; - questRoot33.QuestSequence = list359; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(2588); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list368 = new List(num); - CollectionsMarshal.SetCount(list368, num); - CollectionsMarshal.AsSpan(list368)[0] = "liza"; - questRoot34.Author = list368; - num = 3; - List list369 = new List(num); - CollectionsMarshal.SetCount(list369, num); - Span span128 = CollectionsMarshal.AsSpan(list369); - ref QuestSequence reference297 = ref span128[0]; - QuestSequence obj273 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list370 = new List(num2); - CollectionsMarshal.SetCount(list370, num2); - ref QuestStep reference298 = ref CollectionsMarshal.AsSpan(list370)[0]; - QuestStep obj274 = new QuestStep(EInteractionType.AcceptQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions15 = new SkipConditions(); - SkipAetheryteCondition obj275 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list371 = new List(num3); - CollectionsMarshal.SetCount(list371, num3); - CollectionsMarshal.AsSpan(list371)[0] = 131; - obj275.InTerritory = list371; - skipConditions15.AetheryteShortcutIf = obj275; - obj274.SkipConditions = skipConditions15; - reference298 = obj274; - obj273.Steps = list370; - reference297 = obj273; - ref QuestSequence reference299 = ref span128[1]; - QuestSequence obj276 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list372 = new List(num2); - CollectionsMarshal.SetCount(list372, num2); - Span span129 = CollectionsMarshal.AsSpan(list372); - span129[0] = new QuestStep(EInteractionType.Interact, 1004597u, new Vector3(-292.10345f, -2.910112f, 245.59387f), 146) - { - TargetTerritoryId = (ushort)146, - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings - }; - span129[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 1020959u, new Vector3(-463.1571f, -3.164927f, 61.264893f), 146); - obj276.Steps = list372; - reference299 = obj276; - ref QuestSequence reference300 = ref span128[2]; - QuestSequence obj277 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list373 = new List(num2); - CollectionsMarshal.SetCount(list373, num2); - CollectionsMarshal.AsSpan(list373)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - }, - NextQuestId = new QuestId(2589) - }; - obj277.Steps = list373; - reference300 = obj277; - questRoot34.QuestSequence = list369; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(2589); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list374 = new List(num); - CollectionsMarshal.SetCount(list374, num); - CollectionsMarshal.AsSpan(list374)[0] = "liza"; - questRoot35.Author = list374; - num = 5; - List list375 = new List(num); - CollectionsMarshal.SetCount(list375, num); - Span span130 = CollectionsMarshal.AsSpan(list375); - ref QuestSequence reference301 = ref span130[0]; - QuestSequence obj278 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list376 = new List(num2); - CollectionsMarshal.SetCount(list376, num2); - ref QuestStep reference302 = ref CollectionsMarshal.AsSpan(list376)[0]; - QuestStep obj279 = new QuestStep(EInteractionType.AcceptQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions16 = new SkipConditions(); - SkipAetheryteCondition obj280 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list377 = new List(num3); - CollectionsMarshal.SetCount(list377, num3); - CollectionsMarshal.AsSpan(list377)[0] = 131; - obj280.InTerritory = list377; - skipConditions16.AetheryteShortcutIf = obj280; - obj279.SkipConditions = skipConditions16; - reference302 = obj279; - obj278.Steps = list376; - reference301 = obj278; - ref QuestSequence reference303 = ref span130[1]; - QuestSequence obj281 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list378 = new List(num2); - CollectionsMarshal.SetCount(list378, num2); - CollectionsMarshal.AsSpan(list378)[0] = new QuestStep(EInteractionType.Interact, 1008543u, new Vector3(-360.00616f, 1.2644191f, 459.83057f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil - }; - obj281.Steps = list378; - reference303 = obj281; - ref QuestSequence reference304 = ref span130[2]; - QuestSequence obj282 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list379 = new List(num2); - CollectionsMarshal.SetCount(list379, num2); - Span span131 = CollectionsMarshal.AsSpan(list379); - ref QuestStep reference305 = ref span131[0]; - QuestStep obj283 = new QuestStep(EInteractionType.Combat, 2007872u, new Vector3(-275.62378f, 4.8675537f, 523.76587f), 153) - { - Fly = true, - Action = EAction.Fire3, - EnemySpawnType = EEnemySpawnType.AfterAction - }; - num3 = 1; - List list380 = new List(num3); - CollectionsMarshal.SetCount(list380, num3); - CollectionsMarshal.AsSpan(list380)[0] = 7232u; - obj283.KillEnemyDataIds = list380; - num3 = 6; - List list381 = new List(num3); - CollectionsMarshal.SetCount(list381, num3); - Span span132 = CollectionsMarshal.AsSpan(list381); - span132[0] = null; - span132[1] = null; - span132[2] = null; - span132[3] = null; - span132[4] = null; - span132[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj283.CompletionQuestVariablesFlags = list381; - reference305 = obj283; - ref QuestStep reference306 = ref span131[1]; - QuestStep obj284 = new QuestStep(EInteractionType.Combat, 2007873u, new Vector3(-298.909f, 11.825684f, 567.46765f), 153) - { - Action = EAction.Fire3, - EnemySpawnType = EEnemySpawnType.AfterAction - }; - num3 = 1; - List list382 = new List(num3); - CollectionsMarshal.SetCount(list382, num3); - CollectionsMarshal.AsSpan(list382)[0] = 7232u; - obj284.KillEnemyDataIds = list382; - num3 = 6; - List list383 = new List(num3); - CollectionsMarshal.SetCount(list383, num3); - Span span133 = CollectionsMarshal.AsSpan(list383); - span133[0] = null; - span133[1] = null; - span133[2] = null; - span133[3] = null; - span133[4] = null; - span133[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj284.CompletionQuestVariablesFlags = list383; - reference306 = obj284; - ref QuestStep reference307 = ref span131[2]; - QuestStep obj285 = new QuestStep(EInteractionType.Combat, 2007874u, new Vector3(-310.5974f, 12.344482f, 645.777f), 153) - { - Action = EAction.Fire3, - EnemySpawnType = EEnemySpawnType.AfterAction - }; - num3 = 1; - List list384 = new List(num3); - CollectionsMarshal.SetCount(list384, num3); - CollectionsMarshal.AsSpan(list384)[0] = 7232u; - obj285.KillEnemyDataIds = list384; - num3 = 6; - List list385 = new List(num3); - CollectionsMarshal.SetCount(list385, num3); - Span span134 = CollectionsMarshal.AsSpan(list385); - span134[0] = null; - span134[1] = null; - span134[2] = null; - span134[3] = null; - span134[4] = null; - span134[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj285.CompletionQuestVariablesFlags = list385; - reference307 = obj285; - obj282.Steps = list379; - reference304 = obj282; - ref QuestSequence reference308 = ref span130[3]; - QuestSequence obj286 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list386 = new List(num2); - CollectionsMarshal.SetCount(list386, num2); - CollectionsMarshal.AsSpan(list386)[0] = new QuestStep(EInteractionType.Interact, 1020964u, new Vector3(-348.50085f, 0.22347936f, 454.45935f), 153) - { - Fly = true - }; - obj286.Steps = list386; - reference308 = obj286; - ref QuestSequence reference309 = ref span130[4]; - QuestSequence obj287 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list387 = new List(num2); - CollectionsMarshal.SetCount(list387, num2); - CollectionsMarshal.AsSpan(list387)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020966u, new Vector3(87.47986f, 18f, 113.69495f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - }, - NextQuestId = new QuestId(2590) - }; - obj287.Steps = list387; - reference309 = obj287; - questRoot35.QuestSequence = list375; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(2590); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list388 = new List(num); - CollectionsMarshal.SetCount(list388, num); - CollectionsMarshal.AsSpan(list388)[0] = "liza"; - questRoot36.Author = list388; - num = 7; - List list389 = new List(num); - CollectionsMarshal.SetCount(list389, num); - Span span135 = CollectionsMarshal.AsSpan(list389); - ref QuestSequence reference310 = ref span135[0]; - QuestSequence obj288 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list390 = new List(num2); - CollectionsMarshal.SetCount(list390, num2); - ref QuestStep reference311 = ref CollectionsMarshal.AsSpan(list390)[0]; - QuestStep obj289 = new QuestStep(EInteractionType.AcceptQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions17 = new SkipConditions(); - SkipAetheryteCondition obj290 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list391 = new List(num3); - CollectionsMarshal.SetCount(list391, num3); - CollectionsMarshal.AsSpan(list391)[0] = 131; - obj290.InTerritory = list391; - skipConditions17.AetheryteShortcutIf = obj290; - obj289.SkipConditions = skipConditions17; - reference311 = obj289; - obj288.Steps = list390; - reference310 = obj288; - ref QuestSequence reference312 = ref span135[1]; - QuestSequence obj291 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list392 = new List(num2); - CollectionsMarshal.SetCount(list392, num2); - CollectionsMarshal.AsSpan(list392)[0] = new QuestStep(EInteractionType.Interact, 1021051u, new Vector3(-36.91156f, 20.090933f, -679.07227f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj291.Steps = list392; - reference312 = obj291; - ref QuestSequence reference313 = ref span135[2]; - QuestSequence obj292 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list393 = new List(num2); - CollectionsMarshal.SetCount(list393, num2); - Span span136 = CollectionsMarshal.AsSpan(list393); - span136[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-335.20407f, -15.94506f, -491.67297f), 156) - { - Fly = true - }; - span136[1] = new QuestStep(EInteractionType.Interact, 1021052u, new Vector3(-334.00476f, -16.18119f, -490.1961f), 156); - obj292.Steps = list393; - reference313 = obj292; - ref QuestSequence reference314 = ref span135[3]; - QuestSequence obj293 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list394 = new List(num2); - CollectionsMarshal.SetCount(list394, num2); - CollectionsMarshal.AsSpan(list394)[0] = new QuestStep(EInteractionType.Interact, 2007907u, new Vector3(-321.21765f, -16.922302f, -361.6236f), 156) - { - Fly = true - }; - obj293.Steps = list394; - reference314 = obj293; - ref QuestSequence reference315 = ref span135[4]; - QuestSequence obj294 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list395 = new List(num2); - CollectionsMarshal.SetCount(list395, num2); - ref QuestStep reference316 = ref CollectionsMarshal.AsSpan(list395)[0]; - QuestStep obj295 = new QuestStep(EInteractionType.Combat, null, new Vector3(-412.69736f, -17.148405f, -361.9313f), 156) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list396 = new List(num3); - CollectionsMarshal.SetCount(list396, num3); - CollectionsMarshal.AsSpan(list396)[0] = 7233u; - obj295.KillEnemyDataIds = list396; - reference316 = obj295; - obj294.Steps = list395; - reference315 = obj294; - ref QuestSequence reference317 = ref span135[5]; - QuestSequence obj296 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list397 = new List(num2); - CollectionsMarshal.SetCount(list397, num2); - CollectionsMarshal.AsSpan(list397)[0] = new QuestStep(EInteractionType.Interact, 1021059u, new Vector3(-413.80945f, -17.148407f, -362.23395f), 156); - obj296.Steps = list397; - reference317 = obj296; - ref QuestSequence reference318 = ref span135[6]; - QuestSequence obj297 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list398 = new List(num2); - CollectionsMarshal.SetCount(list398, num2); - ref QuestStep reference319 = ref CollectionsMarshal.AsSpan(list398)[0]; - QuestStep obj298 = new QuestStep(EInteractionType.CompleteQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - num3 = 1; - List list399 = new List(num3); - CollectionsMarshal.SetCount(list399, num3); - CollectionsMarshal.AsSpan(list399)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBBLM650_02590_Q2_000_000"), - Answer = new ExcelRef("TEXT_JOBBLM650_02590_A2_000_001") - }; - obj298.DialogueChoices = list399; - obj298.NextQuestId = new QuestId(2591); - reference319 = obj298; - obj297.Steps = list398; - reference318 = obj297; - questRoot36.QuestSequence = list389; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(2591); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list400 = new List(num); - CollectionsMarshal.SetCount(list400, num); - CollectionsMarshal.AsSpan(list400)[0] = "liza"; - questRoot37.Author = list400; - num = 7; - List list401 = new List(num); - CollectionsMarshal.SetCount(list401, num); - Span span137 = CollectionsMarshal.AsSpan(list401); - ref QuestSequence reference320 = ref span137[0]; - QuestSequence obj299 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list402 = new List(num2); - CollectionsMarshal.SetCount(list402, num2); - ref QuestStep reference321 = ref CollectionsMarshal.AsSpan(list402)[0]; - QuestStep obj300 = new QuestStep(EInteractionType.AcceptQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions18 = new SkipConditions(); - SkipAetheryteCondition obj301 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list403 = new List(num3); - CollectionsMarshal.SetCount(list403, num3); - CollectionsMarshal.AsSpan(list403)[0] = 131; - obj301.InTerritory = list403; - skipConditions18.AetheryteShortcutIf = obj301; - obj300.SkipConditions = skipConditions18; - reference321 = obj300; - obj299.Steps = list402; - reference320 = obj299; - ref QuestSequence reference322 = ref span137[1]; - QuestSequence obj302 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list404 = new List(num2); - CollectionsMarshal.SetCount(list404, num2); - CollectionsMarshal.AsSpan(list404)[0] = new QuestStep(EInteractionType.Interact, 1021086u, new Vector3(326.10046f, 11.181234f, -8.743469f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj302.Steps = list404; - reference322 = obj302; - ref QuestSequence reference323 = ref span137[2]; - QuestSequence obj303 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list405 = new List(num2); - CollectionsMarshal.SetCount(list405, num2); - CollectionsMarshal.AsSpan(list405)[0] = new QuestStep(EInteractionType.Interact, 1021090u, new Vector3(7.2174683f, 115.514336f, -720.7599f), 620) - { - StopDistance = 0.5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - obj303.Steps = list405; - reference323 = obj303; - ref QuestSequence reference324 = ref span137[3]; - QuestSequence obj304 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list406 = new List(num2); - CollectionsMarshal.SetCount(list406, num2); - ref QuestStep reference325 = ref CollectionsMarshal.AsSpan(list406)[0]; - QuestStep obj305 = new QuestStep(EInteractionType.Combat, 2007936u, new Vector3(-284.93176f, 66.20886f, -679.07227f), 620) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list407 = new List(num3); - CollectionsMarshal.SetCount(list407, num3); - CollectionsMarshal.AsSpan(list407)[0] = 7234u; - obj305.KillEnemyDataIds = list407; - reference325 = obj305; - obj304.Steps = list406; - reference324 = obj304; - ref QuestSequence reference326 = ref span137[4]; - QuestSequence obj306 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list408 = new List(num2); - CollectionsMarshal.SetCount(list408, num2); - CollectionsMarshal.AsSpan(list408)[0] = new QuestStep(EInteractionType.Interact, 1021092u, new Vector3(-266.4073f, 76.297005f, -623.1022f), 620) - { - Fly = true - }; - obj306.Steps = list408; - reference326 = obj306; - ref QuestSequence reference327 = ref span137[5]; - QuestSequence obj307 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list409 = new List(num2); - CollectionsMarshal.SetCount(list409, num2); - CollectionsMarshal.AsSpan(list409)[0] = new QuestStep(EInteractionType.Interact, 1006753u, new Vector3(325.063f, 11.236564f, -6.2105103f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj307.Steps = list409; - reference327 = obj307; - ref QuestSequence reference328 = ref span137[6]; - QuestSequence obj308 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list410 = new List(num2); - CollectionsMarshal.SetCount(list410, num2); - CollectionsMarshal.AsSpan(list410)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - }, - NextQuestId = new QuestId(2592) - }; - obj308.Steps = list410; - reference328 = obj308; - questRoot37.QuestSequence = list401; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(2592); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list411 = new List(num); - CollectionsMarshal.SetCount(list411, num); - CollectionsMarshal.AsSpan(list411)[0] = "liza"; - questRoot38.Author = list411; - num = 7; - List list412 = new List(num); - CollectionsMarshal.SetCount(list412, num); - Span span138 = CollectionsMarshal.AsSpan(list412); - ref QuestSequence reference329 = ref span138[0]; - QuestSequence obj309 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list413 = new List(num2); - CollectionsMarshal.SetCount(list413, num2); - ref QuestStep reference330 = ref CollectionsMarshal.AsSpan(list413)[0]; - QuestStep obj310 = new QuestStep(EInteractionType.AcceptQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions19 = new SkipConditions(); - SkipAetheryteCondition obj311 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list414 = new List(num3); - CollectionsMarshal.SetCount(list414, num3); - CollectionsMarshal.AsSpan(list414)[0] = 131; - obj311.InTerritory = list414; - skipConditions19.AetheryteShortcutIf = obj311; - obj310.SkipConditions = skipConditions19; - reference330 = obj310; - obj309.Steps = list413; - reference329 = obj309; - ref QuestSequence reference331 = ref span138[1]; - QuestSequence obj312 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list415 = new List(num2); - CollectionsMarshal.SetCount(list415, num2); - CollectionsMarshal.AsSpan(list415)[0] = new QuestStep(EInteractionType.Interact, 1021097u, new Vector3(-270.37463f, -29.998833f, 111.92493f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - obj312.Steps = list415; - reference331 = obj312; - ref QuestSequence reference332 = ref span138[2]; - QuestSequence obj313 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list416 = new List(num2); - CollectionsMarshal.SetCount(list416, num2); - CollectionsMarshal.AsSpan(list416)[0] = new QuestStep(EInteractionType.Interact, 1011935u, new Vector3(-285.63367f, 39.04305f, 53.72693f), 398) - { - Fly = true - }; - obj313.Steps = list416; - reference332 = obj313; - ref QuestSequence reference333 = ref span138[3]; - QuestSequence obj314 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list417 = new List(num2); - CollectionsMarshal.SetCount(list417, num2); - CollectionsMarshal.AsSpan(list417)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1021102u, new Vector3(-287.19012f, 39.04307f, 44.47998f), 398); - obj314.Steps = list417; - reference333 = obj314; - span138[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference334 = ref span138[5]; - QuestSequence obj315 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list418 = new List(num2); - CollectionsMarshal.SetCount(list418, num2); - CollectionsMarshal.AsSpan(list418)[0] = new QuestStep(EInteractionType.Interact, 1021104u, new Vector3(-267.17023f, -30.09441f, 117.54016f), 398) - { - Fly = true - }; - obj315.Steps = list418; - reference334 = obj315; - ref QuestSequence reference335 = ref span138[6]; - QuestSequence obj316 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list419 = new List(num2); - CollectionsMarshal.SetCount(list419, num2); - CollectionsMarshal.AsSpan(list419)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - obj316.Steps = list419; - reference335 = obj316; - questRoot38.QuestSequence = list412; - AddQuest(questId38, questRoot38); - } - - private static void LoadQuests52() - { - QuestId questId = new QuestId(2622); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 7; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021349u, new Vector3(-43.930786f, 209.23637f, -90.77594f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshireWest - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1000815u, new Vector3(-233.9361f, 6.668152f, -171.03839f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaBotanist - } - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - Span span2 = CollectionsMarshal.AsSpan(list5); - ref QuestStep reference4 = ref span2[0]; - QuestStep obj4 = new QuestStep(EInteractionType.Interact, 1002659u, new Vector3(532.8297f, 88.99998f, -72.09894f), 135) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaTempestGate - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - int num3 = 1; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - CollectionsMarshal.AsSpan(list6)[0] = 135; - skipAetheryteCondition.InTerritory = list6; - skipConditions.AetheryteShortcutIf = skipAetheryteCondition; - obj4.SkipConditions = skipConditions; - num3 = 6; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span3 = CollectionsMarshal.AsSpan(list7); - span3[0] = null; - span3[1] = null; - span3[2] = null; - span3[3] = null; - span3[4] = null; - span3[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj4.CompletionQuestVariablesFlags = list7; - reference4 = obj4; - ref QuestStep reference5 = ref span2[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1002657u, new Vector3(540.52026f, 89f, -74.02161f), 135); - num3 = 6; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - Span span4 = CollectionsMarshal.AsSpan(list8); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list8; - reference5 = questStep; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference6 = ref span[3]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.Interact, 1021353u, new Vector3(564.17163f, 84.45213f, -100.328125f), 135) - { - Fly = true - }; - obj5.Steps = list9; - reference6 = obj5; - ref QuestSequence reference7 = ref span[4]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span5 = CollectionsMarshal.AsSpan(list10); - ref QuestStep reference8 = ref span5[0]; - QuestStep obj7 = new QuestStep(EInteractionType.Interact, 1019064u, new Vector3(59.220215f, 4f, 67.70422f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeMarkets - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 6; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - Span span6 = CollectionsMarshal.AsSpan(list11); - span6[0] = null; - span6[1] = null; - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj7.CompletionQuestVariablesFlags = list11; - reference8 = obj7; - ref QuestStep reference9 = ref span5[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1019065u, new Vector3(80.49133f, 4f, 56.443115f), 628); - num3 = 6; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - Span span7 = CollectionsMarshal.AsSpan(list12); - span7[0] = null; - span7[1] = null; - span7[2] = null; - span7[3] = null; - span7[4] = null; - span7[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list12; - reference9 = questStep2; - obj6.Steps = list10; - reference7 = obj6; - ref QuestSequence reference10 = ref span[5]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.Interact, 1019233u, new Vector3(-734.15735f, 1.9602847f, -611.38324f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - obj8.Steps = list13; - reference10 = obj8; - ref QuestSequence reference11 = ref span[6]; - QuestSequence obj9 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - Span span8 = CollectionsMarshal.AsSpan(list14); - ref QuestStep reference12 = ref span8[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Gather, null, null, 478); - num3 = 1; - List list15 = new List(num3); - CollectionsMarshal.SetCount(list15, num3); - CollectionsMarshal.AsSpan(list15)[0] = new GatheredItem - { - ItemId = 17946u, - ItemCount = 20 - }; - questStep3.ItemsToGather = list15; - reference12 = questStep3; - span8[1] = new QuestStep(EInteractionType.CompleteQuest, 1021349u, new Vector3(-43.930786f, 209.23637f, -90.77594f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshireWest - }, - NextQuestId = new QuestId(2623) - }; - obj9.Steps = list14; - reference11 = obj9; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(2623); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - CollectionsMarshal.AsSpan(list16)[0] = "liza"; - questRoot2.Author = list16; - num = 8; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - Span span9 = CollectionsMarshal.AsSpan(list17); - ref QuestSequence reference13 = ref span9[0]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021349u, new Vector3(-43.930786f, 209.23637f, -90.77594f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshireWest - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj10.Steps = list18; - reference13 = obj10; - ref QuestSequence reference14 = ref span9[1]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.Interact, 1000815u, new Vector3(-233.9361f, 6.668152f, -171.03839f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaBotanist - } - }; - obj11.Steps = list19; - reference14 = obj11; - ref QuestSequence reference15 = ref span9[2]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.Interact, 2008181u, new Vector3(-46.31122f, 209.49109f, -86.35089f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshireWest - } - }; - obj12.Steps = list20; - reference15 = obj12; - ref QuestSequence reference16 = ref span9[3]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.Interact, 2008181u, new Vector3(-46.31122f, 209.49109f, -86.35089f), 478); - obj13.Steps = list21; - reference16 = obj13; - ref QuestSequence reference17 = ref span9[4]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - ref QuestStep reference18 = ref CollectionsMarshal.AsSpan(list22)[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1021349u, new Vector3(-43.930786f, 209.23637f, -90.77594f), 478); - num3 = 1; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - CollectionsMarshal.AsSpan(list23)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CLSHRV680_02623_Q1_000_000"), - Answer = new ExcelRef("TEXT_CLSHRV680_02623_A1_000_002") - }; - questStep4.DialogueChoices = list23; - reference18 = questStep4; - obj14.Steps = list22; - reference17 = obj14; - ref QuestSequence reference19 = ref span9[5]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.Interact, 1017106u, new Vector3(73.99097f, 214.12f, -92.57648f), 478); - obj15.Steps = list24; - reference19 = obj15; - ref QuestSequence reference20 = ref span9[6]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - Span span10 = CollectionsMarshal.AsSpan(list25); - ref QuestStep reference21 = ref span10[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Gather, null, null, 478); - num3 = 1; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - CollectionsMarshal.AsSpan(list26)[0] = new GatheredItem - { - ItemId = 17947u, - ItemCount = 20 - }; - questStep5.ItemsToGather = list26; - reference21 = questStep5; - span10[1] = new QuestStep(EInteractionType.Interact, 1017106u, new Vector3(73.99097f, 214.12f, -92.57648f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire - }; - obj16.Steps = list25; - reference20 = obj16; - ref QuestSequence reference22 = ref span9[7]; - QuestSequence obj17 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021349u, new Vector3(-43.930786f, 209.23637f, -90.77594f), 478); - obj17.Steps = list27; - reference22 = obj17; - questRoot2.QuestSequence = list17; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(2624); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - CollectionsMarshal.AsSpan(list28)[0] = "liza"; - questRoot3.Author = list28; - num = 7; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - Span span11 = CollectionsMarshal.AsSpan(list29); - ref QuestSequence reference23 = ref span11[0]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021349u, new Vector3(-43.930786f, 209.23637f, -90.77594f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshireWest - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj18.Steps = list30; - reference23 = obj18; - ref QuestSequence reference24 = ref span11[1]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.Interact, 1000815u, new Vector3(-233.9361f, 6.668152f, -171.03839f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaBotanist - } - }; - obj19.Steps = list31; - reference24 = obj19; - ref QuestSequence reference25 = ref span11[2]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 1021358u, new Vector3(-599.54224f, 130f, -483.32953f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens - }; - obj20.Steps = list32; - reference25 = obj20; - ref QuestSequence reference26 = ref span11[3]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Interact, 1021359u, new Vector3(-262.25684f, 256.97177f, 695.52136f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGhiri - }; - obj21.Steps = list33; - reference26 = obj21; - ref QuestSequence reference27 = ref span11[4]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - Span span12 = CollectionsMarshal.AsSpan(list34); - ref QuestStep reference28 = ref span12[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1021591u, new Vector3(-277.82104f, 258.90652f, 782.77246f), 620); - num3 = 6; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - Span span13 = CollectionsMarshal.AsSpan(list35); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list35; - reference28 = questStep6; - ref QuestStep reference29 = ref span12[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1021595u, new Vector3(-232.50171f, 258.90652f, 783.505f), 620); - num3 = 6; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - Span span14 = CollectionsMarshal.AsSpan(list36); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list36; - reference29 = questStep7; - ref QuestStep reference30 = ref span12[2]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1020870u, new Vector3(-218.61603f, 257.52652f, 737.1786f), 620); - num3 = 6; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - Span span15 = CollectionsMarshal.AsSpan(list37); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list37; - reference30 = questStep8; - obj22.Steps = list34; - reference27 = obj22; - ref QuestSequence reference31 = ref span11[5]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.Interact, 1022381u, new Vector3(-243.12207f, 257.52652f, 744.0145f), 620); - obj23.Steps = list38; - reference31 = obj23; - ref QuestSequence reference32 = ref span11[6]; - QuestSequence obj24 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - Span span16 = CollectionsMarshal.AsSpan(list39); - ref QuestStep reference33 = ref span16[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.Gather, null, null, 478); - num3 = 1; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - CollectionsMarshal.AsSpan(list40)[0] = new GatheredItem - { - ItemId = 17948u, - ItemCount = 5 - }; - questStep9.ItemsToGather = list40; - reference33 = questStep9; - span16[1] = new QuestStep(EInteractionType.CompleteQuest, 1021349u, new Vector3(-43.930786f, 209.23637f, -90.77594f), 478) - { - Comment = "Eorzean Time: 4:00-5:59 AM/PM", - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshireWest - } - }; - obj24.Steps = list39; - reference32 = obj24; - questRoot3.QuestSequence = list29; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(2625); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - CollectionsMarshal.AsSpan(list41)[0] = "liza"; - questRoot4.Author = list41; - num = 6; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - Span span17 = CollectionsMarshal.AsSpan(list42); - ref QuestSequence reference34 = ref span17[0]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - ref QuestStep reference35 = ref CollectionsMarshal.AsSpan(list43)[0]; - QuestStep obj26 = new QuestStep(EInteractionType.AcceptQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition obj27 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - CollectionsMarshal.AsSpan(list44)[0] = 133; - obj27.InTerritory = list44; - skipConditions2.AetheryteShortcutIf = obj27; - obj26.SkipConditions = skipConditions2; - reference35 = obj26; - obj25.Steps = list43; - reference34 = obj25; - ref QuestSequence reference36 = ref span17[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.Interact, 1006725u, new Vector3(446.82983f, -5.306207f, -465.72064f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj28.Steps = list45; - reference36 = obj28; - ref QuestSequence reference37 = ref span17[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 1022761u, new Vector3(5.996765f, 20.712559f, -659.26605f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj29.Steps = list46; - reference37 = obj29; - ref QuestSequence reference38 = ref span17[3]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - ref QuestStep reference39 = ref CollectionsMarshal.AsSpan(list47)[0]; - QuestStep obj31 = new QuestStep(EInteractionType.Combat, 1022762u, new Vector3(385.39697f, 23.711746f, -712.7031f), 156) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - CollectionsMarshal.AsSpan(list48)[0] = 7227u; - obj31.KillEnemyDataIds = list48; - reference39 = obj31; - obj30.Steps = list47; - reference38 = obj30; - ref QuestSequence reference40 = ref span17[4]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.Interact, 1022763u, new Vector3(384.0542f, 23.602556f, -711.20776f), 156); - obj32.Steps = list49; - reference40 = obj32; - ref QuestSequence reference41 = ref span17[5]; - QuestSequence obj33 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - }, - NextQuestId = new QuestId(2626) - }; - obj33.Steps = list50; - reference41 = obj33; - questRoot4.QuestSequence = list42; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(2626); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - CollectionsMarshal.AsSpan(list51)[0] = "liza"; - questRoot5.Author = list51; - num = 7; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - Span span18 = CollectionsMarshal.AsSpan(list52); - ref QuestSequence reference42 = ref span18[0]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - ref QuestStep reference43 = ref CollectionsMarshal.AsSpan(list53)[0]; - QuestStep obj35 = new QuestStep(EInteractionType.AcceptQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition obj36 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - CollectionsMarshal.AsSpan(list54)[0] = 133; - obj36.InTerritory = list54; - skipConditions3.AetheryteShortcutIf = obj36; - obj35.SkipConditions = skipConditions3; - reference43 = obj35; - obj34.Steps = list53; - reference42 = obj34; - ref QuestSequence reference44 = ref span18[1]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.Interact, 1022765u, new Vector3(49.66809f, 3.9999626f, 429.22095f), 147) - { - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCampBluefog - }; - obj37.Steps = list55; - reference44 = obj37; - ref QuestSequence reference45 = ref span18[2]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - ref QuestStep reference46 = ref CollectionsMarshal.AsSpan(list56)[0]; - QuestStep obj39 = new QuestStep(EInteractionType.Combat, 1022770u, new Vector3(82.38342f, 14.362329f, 221.20996f), 147) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - CollectionsMarshal.AsSpan(list57)[0] = 7228u; - obj39.KillEnemyDataIds = list57; - reference46 = obj39; - obj38.Steps = list56; - reference45 = obj38; - ref QuestSequence reference47 = ref span18[3]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - ref QuestStep reference48 = ref CollectionsMarshal.AsSpan(list58)[0]; - QuestStep obj41 = new QuestStep(EInteractionType.Combat, 1022772u, new Vector3(87.907104f, 14.713098f, 222.03394f), 147) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - CollectionsMarshal.AsSpan(list59)[0] = 7229u; - obj41.KillEnemyDataIds = list59; - reference48 = obj41; - obj40.Steps = list58; - reference47 = obj40; - ref QuestSequence reference49 = ref span18[4]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - ref QuestStep reference50 = ref CollectionsMarshal.AsSpan(list60)[0]; - QuestStep obj43 = new QuestStep(EInteractionType.Combat, 1022772u, new Vector3(87.907104f, 14.713098f, 222.03394f), 147) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - CollectionsMarshal.AsSpan(list61)[0] = 7230u; - obj43.KillEnemyDataIds = list61; - reference50 = obj43; - obj42.Steps = list60; - reference49 = obj42; - ref QuestSequence reference51 = ref span18[5]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.Interact, 1022773u, new Vector3(74.66235f, 14.033362f, 228.5343f), 147); - obj44.Steps = list62; - reference51 = obj44; - ref QuestSequence reference52 = ref span18[6]; - QuestSequence obj45 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - }, - NextQuestId = new QuestId(2627) - }; - obj45.Steps = list63; - reference52 = obj45; - questRoot5.QuestSequence = list52; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(2627); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - CollectionsMarshal.AsSpan(list64)[0] = "liza"; - questRoot6.Author = list64; - num = 6; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - Span span19 = CollectionsMarshal.AsSpan(list65); - ref QuestSequence reference53 = ref span19[0]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - ref QuestStep reference54 = ref CollectionsMarshal.AsSpan(list66)[0]; - QuestStep obj47 = new QuestStep(EInteractionType.AcceptQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition obj48 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - CollectionsMarshal.AsSpan(list67)[0] = 133; - obj48.InTerritory = list67; - skipConditions4.AetheryteShortcutIf = obj48; - obj47.SkipConditions = skipConditions4; - reference54 = obj47; - obj46.Steps = list66; - reference53 = obj46; - ref QuestSequence reference55 = ref span19[1]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Interact, 1014039u, new Vector3(-17.990417f, 83.19999f, 0.6560669f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAirship - } - }; - obj49.Steps = list68; - reference55 = obj49; - ref QuestSequence reference56 = ref span19[2]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1014038u, new Vector3(-20.24878f, 83.19998f, -1.4801636f), 130) - { - StopDistance = 7f - }; - obj50.Steps = list69; - reference56 = obj50; - span19[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference57 = ref span19[4]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.Interact, 1014040u, new Vector3(-19.028076f, 83.19999f, 0.10675049f), 130) - { - StopDistance = 7f - }; - obj51.Steps = list70; - reference57 = obj51; - ref QuestSequence reference58 = ref span19[5]; - QuestSequence obj52 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - }, - NextQuestId = new QuestId(2628) - }; - obj52.Steps = list71; - reference58 = obj52; - questRoot6.QuestSequence = list65; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(2628); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - CollectionsMarshal.AsSpan(list72)[0] = "liza"; - questRoot7.Author = list72; - num = 6; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - Span span20 = CollectionsMarshal.AsSpan(list73); - ref QuestSequence reference59 = ref span20[0]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - ref QuestStep reference60 = ref CollectionsMarshal.AsSpan(list74)[0]; - QuestStep obj54 = new QuestStep(EInteractionType.AcceptQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipAetheryteCondition obj55 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - CollectionsMarshal.AsSpan(list75)[0] = 133; - obj55.InTerritory = list75; - skipConditions5.AetheryteShortcutIf = obj55; - obj54.SkipConditions = skipConditions5; - reference60 = obj54; - obj53.Steps = list74; - reference59 = obj53; - ref QuestSequence reference61 = ref span20[1]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.Interact, 1006725u, new Vector3(446.82983f, -5.306207f, -465.72064f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj56.Steps = list76; - reference61 = obj56; - ref QuestSequence reference62 = ref span20[2]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - Span span21 = CollectionsMarshal.AsSpan(list77); - span21[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(26.405773f, 29.49983f, -767.3998f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span21[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(25.629164f, 28.999998f, -823.2204f), 156); - span21[2] = new QuestStep(EInteractionType.Interact, 1001304u, new Vector3(25.589355f, 29f, -825.37573f), 156); - obj57.Steps = list77; - reference62 = obj57; - ref QuestSequence reference63 = ref span20[3]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - Span span22 = CollectionsMarshal.AsSpan(list78); - span22[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(26.405773f, 29.49983f, -767.3998f), 156); - span22[1] = new QuestStep(EInteractionType.Interact, 1023894u, new Vector3(8.346619f, 20.717896f, -657.49603f), 156) - { - Fly = true - }; - obj58.Steps = list78; - reference63 = obj58; - ref QuestSequence reference64 = ref span20[4]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.Interact, 1022780u, new Vector3(412.5581f, -5.7435417f, -436.39276f), 156) - { - Fly = true - }; - obj59.Steps = list79; - reference64 = obj59; - ref QuestSequence reference65 = ref span20[5]; - QuestSequence obj60 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - }, - NextQuestId = new QuestId(2629) - }; - obj60.Steps = list80; - reference65 = obj60; - questRoot7.QuestSequence = list73; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(2629); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - CollectionsMarshal.AsSpan(list81)[0] = "liza"; - questRoot8.Author = list81; - num = 7; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - Span span23 = CollectionsMarshal.AsSpan(list82); - ref QuestSequence reference66 = ref span23[0]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - ref QuestStep reference67 = ref CollectionsMarshal.AsSpan(list83)[0]; - QuestStep obj62 = new QuestStep(EInteractionType.AcceptQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipAetheryteCondition obj63 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - CollectionsMarshal.AsSpan(list84)[0] = 133; - obj63.InTerritory = list84; - skipConditions6.AetheryteShortcutIf = obj63; - obj62.SkipConditions = skipConditions6; - reference67 = obj62; - obj61.Steps = list83; - reference66 = obj61; - ref QuestSequence reference68 = ref span23[1]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.Interact, 1022785u, new Vector3(-624.6891f, -176.4502f, -565.0874f), 402) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzysLlaHelix - }; - obj64.Steps = list85; - reference68 = obj64; - ref QuestSequence reference69 = ref span23[2]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - ref QuestStep reference70 = ref CollectionsMarshal.AsSpan(list86)[0]; - QuestStep obj66 = new QuestStep(EInteractionType.Combat, null, new Vector3(20.176798f, 293.97687f, -0.15623161f), 402) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - CollectionsMarshal.AsSpan(list87)[0] = 7231u; - obj66.KillEnemyDataIds = list87; - reference70 = obj66; - obj65.Steps = list86; - reference69 = obj65; - ref QuestSequence reference71 = ref span23[3]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 2008640u, new Vector3(16.617004f, 293.8734f, 0.07623291f), 402); - obj67.Steps = list88; - reference71 = obj67; - ref QuestSequence reference72 = ref span23[4]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1023595u, new Vector3(21.98816f, 293.97577f, 0.41192627f), 402); - obj68.Steps = list89; - reference72 = obj68; - ref QuestSequence reference73 = ref span23[5]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.Interact, 1022790u, new Vector3(21.957703f, 293.9787f, -1.0529175f), 402) - { - StopDistance = 5f - }; - obj69.Steps = list90; - reference73 = obj69; - ref QuestSequence reference74 = ref span23[6]; - QuestSequence obj70 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - obj70.Steps = list91; - reference74 = obj70; - questRoot8.QuestSequence = list82; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(2630); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - CollectionsMarshal.AsSpan(list92)[0] = "JerryWester"; - questRoot9.Author = list92; - num = 5; - List list93 = new List(num); - CollectionsMarshal.SetCount(list93, num); - Span span24 = CollectionsMarshal.AsSpan(list93); - ref QuestSequence reference75 = ref span24[0]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020068u, new Vector3(444.41882f, 68.028534f, -76.951294f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj71.Steps = list94; - reference75 = obj71; - ref QuestSequence reference76 = ref span24[1]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - Span span25 = CollectionsMarshal.AsSpan(list95); - span25[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(839.0091f, 99.60754f, -427.17267f), 614) - { - StopDistance = 0.25f, - TargetTerritoryId = (ushort)613, - Fly = true - }; - span25[1] = new QuestStep(EInteractionType.Interact, 1020073u, new Vector3(-762.1119f, 4.763445f, -453.4829f), 613) - { - StopDistance = 0.25f, - Fly = true - }; - obj72.Steps = list95; - reference76 = obj72; - ref QuestSequence reference77 = ref span24[2]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-743.88257f, -2.4347913f, -871.06934f), 613) - { - TargetTerritoryId = (ushort)622, - Fly = true - }; - obj73.Steps = list96; - reference77 = obj73; - ref QuestSequence reference78 = ref span24[3]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.Interact, 1020076u, new Vector3(540.3677f, -19.793196f, 636.6216f), 622); - obj74.Steps = list97; - reference78 = obj74; - ref QuestSequence reference79 = ref span24[4]; - QuestSequence obj75 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - Span span26 = CollectionsMarshal.AsSpan(list98); - span26[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2008015u, new Vector3(570.27527f, -19.516357f, 438.16272f), 622) - { - AetherCurrentId = 2818208u - }; - span26[1] = new QuestStep(EInteractionType.CompleteQuest, 1020079u, new Vector3(560.235f, -19.505638f, 408.68237f), 622); - obj75.Steps = list98; - reference79 = obj75; - questRoot9.QuestSequence = list93; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(2631); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - CollectionsMarshal.AsSpan(list99)[0] = "liza"; - questRoot10.Author = list99; - num = 5; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - Span span27 = CollectionsMarshal.AsSpan(list100); - ref QuestSequence reference80 = ref span27[0]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022628u, new Vector3(38.651123f, 2.99999f, -66.7583f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj76.Steps = list101; - reference80 = obj76; - ref QuestSequence reference81 = ref span27[1]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.Interact, 1023604u, new Vector3(-113.96973f, -7.010037f, -39.292053f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeShiokazeHostelry - } - }; - obj77.Steps = list102; - reference81 = obj77; - ref QuestSequence reference82 = ref span27[2]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - ref QuestStep reference83 = ref CollectionsMarshal.AsSpan(list103)[0]; - QuestStep obj79 = new QuestStep(EInteractionType.Interact, 1019006u, new Vector3(-116.80786f, -7.0101376f, -39.108948f), 628) - { - StopDistance = 7f, - TargetTerritoryId = (ushort)641 - }; - num3 = 1; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - CollectionsMarshal.AsSpan(list104)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "Addon", - Prompt = new ExcelRef(6347u), - Answer = new ExcelRef(6349u) - }; - obj79.DialogueChoices = list104; - reference83 = obj79; - obj78.Steps = list103; - reference82 = obj78; - ref QuestSequence reference84 = ref span27[3]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 1023605u, new Vector3(-99.99243f, 2.1199996f, 117.57068f), 641); - obj80.Steps = list105; - reference84 = obj80; - ref QuestSequence reference85 = ref span27[4]; - QuestSequence obj81 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022628u, new Vector3(38.651123f, 2.99999f, -66.7583f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane - }; - obj81.Steps = list106; - reference85 = obj81; - questRoot10.QuestSequence = list100; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(2632); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - CollectionsMarshal.AsSpan(list107)[0] = "JerryWester"; - questRoot11.Author = list107; - num = 6; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - Span span28 = CollectionsMarshal.AsSpan(list108); - ref QuestSequence reference86 = ref span28[0]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - ref QuestStep reference87 = ref CollectionsMarshal.AsSpan(list109)[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.AcceptQuest, 1023280u, new Vector3(-62.790894f, -198.96509f, -64.34735f), 613); - num3 = 1; - List list110 = new List(num3); - CollectionsMarshal.SetCount(list110, num3); - CollectionsMarshal.AsSpan(list110)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDY001_02632_Q1_000_050"), - Answer = new ExcelRef("TEXT_STMBDY001_02632_A1_000_051") - }; - questStep10.DialogueChoices = list110; - reference87 = questStep10; - obj82.Steps = list109; - reference86 = obj82; - ref QuestSequence reference88 = ref span28[1]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.Interact, 1019197u, new Vector3(-8.926575f, -187.08374f, -95.018005f), 613); - obj83.Steps = list111; - reference88 = obj83; - ref QuestSequence reference89 = ref span28[2]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span29 = CollectionsMarshal.AsSpan(list112); - span29[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(21.067955f, -197.78902f, -155.23956f), 613) - { - RestartNavigationIfCancelled = false - }; - span29[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-238.47687f, -192.81738f, 329.51413f), 613); - span29[2] = new QuestStep(EInteractionType.Interact, 1023293u, new Vector3(-957.15265f, -895.9945f, 756.83215f), 613) - { - Fly = true - }; - obj84.Steps = list112; - reference89 = obj84; - ref QuestSequence reference90 = ref span28[3]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.Duty, null, null, 613) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 235u, - LowPriority = true - } - }; - obj85.Steps = list113; - reference90 = obj85; - ref QuestSequence reference91 = ref span28[4]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.Interact, 1023293u, new Vector3(-957.15265f, -895.9945f, 756.83215f), 613) - { - StopDistance = 8f - }; - obj86.Steps = list114; - reference91 = obj86; - ref QuestSequence reference92 = ref span28[5]; - QuestSequence obj87 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - Span span30 = CollectionsMarshal.AsSpan(list115); - span30[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(322.1539f, -121.22571f, -314.2446f), 613) - { - RestartNavigationIfCancelled = false, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span30[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(22.288645f, -196.2301f, -155.5739f), 613) - { - RestartNavigationIfCancelled = false - }; - span30[2] = new QuestStep(EInteractionType.CompleteQuest, 1023280u, new Vector3(-62.790894f, -198.96509f, -64.34735f), 613); - obj87.Steps = list115; - reference92 = obj87; - questRoot11.QuestSequence = list108; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(2635); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - CollectionsMarshal.AsSpan(list116)[0] = "JerryWester"; - questRoot12.Author = list116; - num = 3; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - Span span31 = CollectionsMarshal.AsSpan(list117); - ref QuestSequence reference93 = ref span31[0]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019470u, new Vector3(152.11719f, 13.1533165f, -118.48633f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj88.Steps = list118; - reference93 = obj88; - ref QuestSequence reference94 = ref span31[1]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - Span span32 = CollectionsMarshal.AsSpan(list119); - ref QuestStep reference95 = ref span32[0]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1019473u, new Vector3(51.285522f, 23.640764f, -288.96008f), 635); - num3 = 6; - List list120 = new List(num3); - CollectionsMarshal.SetCount(list120, num3); - Span span33 = CollectionsMarshal.AsSpan(list120); - span33[0] = null; - span33[1] = null; - span33[2] = null; - span33[3] = null; - span33[4] = null; - span33[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list120; - reference95 = questStep11; - ref QuestStep reference96 = ref span32[1]; - QuestStep obj90 = new QuestStep(EInteractionType.Interact, 1019476u, new Vector3(77.25635f, 0f, -14.175659f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach - }; - num3 = 6; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - Span span34 = CollectionsMarshal.AsSpan(list121); - span34[0] = null; - span34[1] = null; - span34[2] = null; - span34[3] = null; - span34[4] = null; - span34[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj90.CompletionQuestVariablesFlags = list121; - reference96 = obj90; - ref QuestStep reference97 = ref span32[2]; - QuestStep questStep12 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(0.3239292f, -2.1258624f, 5.0789523f), 635); - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list122 = new List(num3); - CollectionsMarshal.SetCount(list122, num3); - Span span35 = CollectionsMarshal.AsSpan(list122); - span35[0] = null; - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list122; - skipConditions7.StepIf = skipStepConditions; - questStep12.SkipConditions = skipConditions7; - reference97 = questStep12; - ref QuestStep reference98 = ref span32[3]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1019486u, new Vector3(-116.746826f, 0.6342248f, -55.832825f), 635); - num3 = 6; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - Span span36 = CollectionsMarshal.AsSpan(list123); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list123; - reference98 = questStep13; - ref QuestStep reference99 = ref span32[4]; - QuestStep questStep14 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-42.27211f, -0.059376776f, -115.03399f), 635); - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list124 = new List(num3); - CollectionsMarshal.SetCount(list124, num3); - Span span37 = CollectionsMarshal.AsSpan(list124); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list124; - skipConditions8.StepIf = skipStepConditions2; - questStep14.SkipConditions = skipConditions8; - reference99 = questStep14; - ref QuestStep reference100 = ref span32[5]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1019490u, new Vector3(-6.240967f, -0.036807638f, -119.18823f), 635); - num3 = 6; - List list125 = new List(num3); - CollectionsMarshal.SetCount(list125, num3); - Span span38 = CollectionsMarshal.AsSpan(list125); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list125; - reference100 = questStep15; - obj89.Steps = list119; - reference94 = obj89; - ref QuestSequence reference101 = ref span31[2]; - QuestSequence obj91 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - Span span39 = CollectionsMarshal.AsSpan(list126); - span39[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(79.89871f, -0.38368523f, -108.87432f), 635) - { - Mount = false - }; - span39[1] = new QuestStep(EInteractionType.CompleteQuest, 1019470u, new Vector3(152.11719f, 13.1533165f, -118.48633f), 635); - obj91.Steps = list126; - reference101 = obj91; - questRoot12.QuestSequence = list117; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(2636); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list127 = new List(num); - CollectionsMarshal.SetCount(list127, num); - CollectionsMarshal.AsSpan(list127)[0] = "JerryWester"; - questRoot13.Author = list127; - num = 4; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - Span span40 = CollectionsMarshal.AsSpan(list128); - ref QuestSequence reference102 = ref span40[0]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019476u, new Vector3(77.25635f, 0f, -14.175659f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj92.Steps = list129; - reference102 = obj92; - ref QuestSequence reference103 = ref span40[1]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.Interact, 1019471u, new Vector3(149.49255f, 12.918162f, -137.07184f), 635); - obj93.Steps = list130; - reference103 = obj93; - ref QuestSequence reference104 = ref span40[2]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - Span span41 = CollectionsMarshal.AsSpan(list131); - ref QuestStep reference105 = ref span41[0]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 2007954u, new Vector3(89.52466f, 0.5340576f, -96.23871f), 635); - num3 = 6; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - Span span42 = CollectionsMarshal.AsSpan(list132); - span42[0] = null; - span42[1] = null; - span42[2] = null; - span42[3] = null; - span42[4] = null; - span42[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list132; - reference105 = questStep16; - ref QuestStep reference106 = ref span41[1]; - QuestStep questStep17 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(35.282135f, -2.2715392f, -115.13004f), 635); - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list133 = new List(num3); - CollectionsMarshal.SetCount(list133, num3); - Span span43 = CollectionsMarshal.AsSpan(list133); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list133; - skipConditions9.StepIf = skipStepConditions3; - questStep17.SkipConditions = skipConditions9; - reference106 = questStep17; - ref QuestStep reference107 = ref span41[2]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 2007951u, new Vector3(24.887451f, -0.3204956f, -119.85962f), 635); - num3 = 6; - List list134 = new List(num3); - CollectionsMarshal.SetCount(list134, num3); - Span span44 = CollectionsMarshal.AsSpan(list134); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list134; - reference107 = questStep18; - ref QuestStep reference108 = ref span41[3]; - QuestStep obj95 = new QuestStep(EInteractionType.Interact, 2007953u, new Vector3(-35.568848f, 9.262146f, 100.20593f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach - }; - num3 = 6; - List list135 = new List(num3); - CollectionsMarshal.SetCount(list135, num3); - Span span45 = CollectionsMarshal.AsSpan(list135); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj95.CompletionQuestVariablesFlags = list135; - reference108 = obj95; - ref QuestStep reference109 = ref span41[4]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 2007952u, new Vector3(-33.40204f, -0.16790771f, -16.800232f), 635); - num3 = 6; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - Span span46 = CollectionsMarshal.AsSpan(list136); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list136; - reference109 = questStep19; - obj94.Steps = list131; - reference104 = obj94; - ref QuestSequence reference110 = ref span40[3]; - QuestSequence obj96 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - Span span47 = CollectionsMarshal.AsSpan(list137); - span47[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(0.3266226f, -2.281856f, -3.879818f), 635) - { - Mount = true - }; - span47[1] = new QuestStep(EInteractionType.CompleteQuest, 1019476u, new Vector3(77.25635f, 0f, -14.175659f), 635); - obj96.Steps = list137; - reference110 = obj96; - questRoot13.QuestSequence = list128; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(2637); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - CollectionsMarshal.AsSpan(list138)[0] = "JerryWester"; - questRoot14.Author = list138; - num = 3; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - Span span48 = CollectionsMarshal.AsSpan(list139); - ref QuestSequence reference111 = ref span48[0]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - Span span49 = CollectionsMarshal.AsSpan(list140); - span49[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(0.3266226f, -2.281856f, -3.879818f), 635) - { - Mount = true - }; - span49[1] = new QuestStep(EInteractionType.AcceptQuest, 1021167u, new Vector3(-43.961243f, 0f, -15.030151f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj97.Steps = list140; - reference111 = obj97; - ref QuestSequence reference112 = ref span48[1]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - Span span50 = CollectionsMarshal.AsSpan(list141); - ref QuestStep reference113 = ref span50[0]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 1021168u, new Vector3(-160.38757f, -4.5343585f, -149.95044f), 635); - num3 = 6; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - Span span51 = CollectionsMarshal.AsSpan(list142); - span51[0] = null; - span51[1] = null; - span51[2] = null; - span51[3] = null; - span51[4] = null; - span51[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep20.CompletionQuestVariablesFlags = list142; - reference113 = questStep20; - ref QuestStep reference114 = ref span50[1]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1021169u, new Vector3(19.485779f, -0.9195468f, 98.5885f), 635); - num3 = 6; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - Span span52 = CollectionsMarshal.AsSpan(list143); - span52[0] = null; - span52[1] = null; - span52[2] = null; - span52[3] = null; - span52[4] = null; - span52[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep21.CompletionQuestVariablesFlags = list143; - reference114 = questStep21; - ref QuestStep reference115 = ref span50[2]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1021171u, new Vector3(79.78931f, -0.19127949f, 56.809326f), 635); - num3 = 6; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - Span span53 = CollectionsMarshal.AsSpan(list144); - span53[0] = null; - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep22.CompletionQuestVariablesFlags = list144; - reference115 = questStep22; - ref QuestStep reference116 = ref span50[3]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1021170u, new Vector3(76.21875f, 0f, -12.466675f), 635); - num3 = 6; - List list145 = new List(num3); - CollectionsMarshal.SetCount(list145, num3); - Span span54 = CollectionsMarshal.AsSpan(list145); - span54[0] = null; - span54[1] = null; - span54[2] = null; - span54[3] = null; - span54[4] = null; - span54[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list145; - reference116 = questStep23; - ref QuestStep reference117 = ref span50[4]; - QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 1021172u, new Vector3(179.85803f, 13.567484f, -144.15204f), 635); - num3 = 6; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - Span span55 = CollectionsMarshal.AsSpan(list146); - span55[0] = null; - span55[1] = null; - span55[2] = null; - span55[3] = null; - span55[4] = null; - span55[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep24.CompletionQuestVariablesFlags = list146; - reference117 = questStep24; - obj98.Steps = list141; - reference112 = obj98; - ref QuestSequence reference118 = ref span48[2]; - QuestSequence obj99 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021167u, new Vector3(-43.961243f, 0f, -15.030151f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachWest - } - }; - obj99.Steps = list147; - reference118 = obj99; - questRoot14.QuestSequence = list139; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(2638); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list148 = new List(num); - CollectionsMarshal.SetCount(list148, num); - CollectionsMarshal.AsSpan(list148)[0] = "JerryWester"; - questRoot15.Author = list148; - num = 3; - List list149 = new List(num); - CollectionsMarshal.SetCount(list149, num); - Span span56 = CollectionsMarshal.AsSpan(list149); - ref QuestSequence reference119 = ref span56[0]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023298u, new Vector3(22.354431f, -0.33829167f, 3.7384033f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj100.Steps = list150; - reference119 = obj100; - ref QuestSequence reference120 = ref span56[1]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.Interact, 2008813u, new Vector3(143.5415f, 14.206055f, -164.72119f), 635) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachNorthEast - } - }; - obj101.Steps = list151; - reference120 = obj101; - ref QuestSequence reference121 = ref span56[2]; - QuestSequence obj102 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023638u, new Vector3(152.84961f, 13.097335f, -94.16345f), 635); - obj102.Steps = list152; - reference121 = obj102; - questRoot15.QuestSequence = list149; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(2639); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list153 = new List(num); - CollectionsMarshal.SetCount(list153, num); - CollectionsMarshal.AsSpan(list153)[0] = "JerryWester"; - questRoot16.Author = list153; - num = 5; - List list154 = new List(num); - CollectionsMarshal.SetCount(list154, num); - Span span57 = CollectionsMarshal.AsSpan(list154); - ref QuestSequence reference122 = ref span57[0]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019517u, new Vector3(-653.0099f, 129.91537f, -510.67374f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj103.Steps = list155; - reference122 = obj103; - ref QuestSequence reference123 = ref span57[1]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.Interact, 1019523u, new Vector3(-623.74304f, 130f, -483.7873f), 612); - obj104.Steps = list156; - reference123 = obj104; - ref QuestSequence reference124 = ref span57[2]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - ref QuestStep reference125 = ref CollectionsMarshal.AsSpan(list157)[0]; - QuestStep obj106 = new QuestStep(EInteractionType.Combat, null, new Vector3(-449.52835f, 105.07213f, -401.3476f), 612) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list158 = new List(num3); - CollectionsMarshal.SetCount(list158, num3); - CollectionsMarshal.AsSpan(list158)[0] = 7504u; - obj106.KillEnemyDataIds = list158; - reference125 = obj106; - obj105.Steps = list157; - reference124 = obj105; - ref QuestSequence reference126 = ref span57[3]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - ref QuestStep reference127 = ref CollectionsMarshal.AsSpan(list159)[0]; - QuestStep obj108 = new QuestStep(EInteractionType.Combat, null, new Vector3(-232.26196f, 64.93323f, -676.26465f), 612) - { - StopDistance = 2f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list160 = new List(num3); - CollectionsMarshal.SetCount(list160, num3); - CollectionsMarshal.AsSpan(list160)[0] = 7505u; - obj108.KillEnemyDataIds = list160; - reference127 = obj108; - obj107.Steps = list159; - reference126 = obj107; - ref QuestSequence reference128 = ref span57[4]; - QuestSequence obj109 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - Span span58 = CollectionsMarshal.AsSpan(list161); - span58[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-653.0099f, 129.91537f, -510.67374f), 612); - span58[1] = new QuestStep(EInteractionType.CompleteQuest, 1019517u, new Vector3(-653.0099f, 129.91537f, -510.67374f), 612) - { - Mount = false, - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens - }; - obj109.Steps = list161; - reference128 = obj109; - questRoot16.QuestSequence = list154; - AddQuest(questId16, questRoot16); - } - - private static void LoadQuests53() - { - QuestId questId = new QuestId(2655); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "JerryWester"; - questRoot.Author = list; - num = 5; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020841u, new Vector3(146.01355f, 118.1921f, -730.4951f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1021752u, new Vector3(14.724915f, 118.08588f, -776.82153f), 620); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1021752u, new Vector3(14.724915f, 118.08588f, -776.82153f), 620); - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - ref QuestStep reference5 = ref CollectionsMarshal.AsSpan(list6)[0]; - QuestStep obj5 = new QuestStep(EInteractionType.Combat, null, new Vector3(656.90076f, 231.05865f, -611.2172f), 620) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - int num3 = 1; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - CollectionsMarshal.AsSpan(list7)[0] = new ComplexCombatData - { - DataId = 6609u, - MinimumKillCount = 2u, - RewardItemId = 2002205u, - RewardItemCount = 2 - }; - obj5.ComplexCombatData = list7; - reference5 = obj5; - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference6 = ref span[4]; - QuestSequence obj6 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021752u, new Vector3(14.724915f, 118.08588f, -776.82153f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - obj6.Steps = list8; - reference6 = obj6; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(2661); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - CollectionsMarshal.AsSpan(list9)[0] = "JerryWester"; - questRoot2.Author = list9; - num = 6; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - Span span2 = CollectionsMarshal.AsSpan(list10); - ref QuestSequence reference7 = ref span2[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019519u, new Vector3(-613.1228f, 130f, -529.839f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span2[1]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Interact, 1023142u, new Vector3(-642.9083f, 130.25946f, -538.29254f), 612); - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference9 = ref span2[2]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.Interact, 1023143u, new Vector3(-631.0674f, 130.30254f, -465.96478f), 612); - obj9.Steps = list13; - reference9 = obj9; - ref QuestSequence reference10 = ref span2[3]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - ref QuestStep reference11 = ref CollectionsMarshal.AsSpan(list14)[0]; - QuestStep obj11 = new QuestStep(EInteractionType.Combat, 1023147u, new Vector3(-429.4652f, 75.3867f, -124.712036f), 612) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list15 = new List(num3); - CollectionsMarshal.SetCount(list15, num3); - Span span3 = CollectionsMarshal.AsSpan(list15); - span3[0] = 7217u; - span3[1] = 7553u; - obj11.KillEnemyDataIds = list15; - reference11 = obj11; - obj10.Steps = list14; - reference10 = obj10; - ref QuestSequence reference12 = ref span2[4]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.Interact, 1023148u, new Vector3(-429.89246f, 74.88393f, -118.30322f), 612) - { - StopDistance = 5f - }; - obj12.Steps = list16; - reference12 = obj12; - ref QuestSequence reference13 = ref span2[5]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023147u, new Vector3(-429.4652f, 75.3867f, -124.712036f), 612) - { - StopDistance = 7f - }; - obj13.Steps = list17; - reference13 = obj13; - questRoot2.QuestSequence = list10; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(2662); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - CollectionsMarshal.AsSpan(list18)[0] = "liza"; - questRoot3.Author = list18; - num = 4; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - Span span4 = CollectionsMarshal.AsSpan(list19); - ref QuestSequence reference14 = ref span4[0]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023754u, new Vector3(-429.4652f, 75.3867f, -124.712036f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj14.Steps = list20; - reference14 = obj14; - ref QuestSequence reference15 = ref span4[1]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - Span span5 = CollectionsMarshal.AsSpan(list21); - ref QuestStep reference16 = ref span5[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2008756u, new Vector3(-417.8073f, 76.8291f, -98.46649f), 612); - num3 = 6; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - Span span6 = CollectionsMarshal.AsSpan(list22); - span6[0] = null; - span6[1] = null; - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list22; - reference16 = questStep; - ref QuestStep reference17 = ref span5[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2008758u, new Vector3(-411.88678f, 71.82422f, -85.46582f), 612); - num3 = 6; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - Span span7 = CollectionsMarshal.AsSpan(list23); - span7[0] = null; - span7[1] = null; - span7[2] = null; - span7[3] = null; - span7[4] = null; - span7[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list23; - reference17 = questStep2; - ref QuestStep reference18 = ref span5[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2008757u, new Vector3(-423.6057f, 66.056274f, -33.463074f), 612); - num3 = 6; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - Span span8 = CollectionsMarshal.AsSpan(list24); - span8[0] = null; - span8[1] = null; - span8[2] = null; - span8[3] = null; - span8[4] = null; - span8[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list24; - reference18 = questStep3; - obj15.Steps = list21; - reference15 = obj15; - ref QuestSequence reference19 = ref span4[2]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.Interact, 2008759u, new Vector3(-426.50494f, 75.028564f, -121.90442f), 612) - { - Fly = true - }; - obj16.Steps = list25; - reference19 = obj16; - ref QuestSequence reference20 = ref span4[3]; - QuestSequence obj17 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019519u, new Vector3(-613.1228f, 130f, -529.839f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - NextQuestId = new QuestId(2663) - }; - obj17.Steps = list26; - reference20 = obj17; - questRoot3.QuestSequence = list19; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(2663); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - CollectionsMarshal.AsSpan(list27)[0] = "liza"; - questRoot4.Author = list27; - num = 6; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - Span span9 = CollectionsMarshal.AsSpan(list28); - ref QuestSequence reference21 = ref span9[0]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019519u, new Vector3(-613.1228f, 130f, -529.839f), 612); - obj18.Steps = list29; - reference21 = obj18; - ref QuestSequence reference22 = ref span9[1]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.Interact, 1023142u, new Vector3(-642.9083f, 130.25946f, -538.29254f), 612) - { - StopDistance = 1f - }; - obj19.Steps = list30; - reference22 = obj19; - ref QuestSequence reference23 = ref span9[2]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.Interact, 1019519u, new Vector3(-613.1228f, 130f, -529.839f), 612); - obj20.Steps = list31; - reference23 = obj20; - ref QuestSequence reference24 = ref span9[3]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 1023153u, new Vector3(-680.10986f, 120.11875f, -241.13837f), 612) - { - Fly = true - }; - obj21.Steps = list32; - reference24 = obj21; - ref QuestSequence reference25 = ref span9[4]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Interact, 1023154u, new Vector3(-736.56824f, 110.02372f, -176.13495f), 612) - { - Fly = true - }; - obj22.Steps = list33; - reference25 = obj22; - ref QuestSequence reference26 = ref span9[5]; - QuestSequence obj23 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019519u, new Vector3(-613.1228f, 130f, -529.839f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - NextQuestId = new QuestId(2664) - }; - obj23.Steps = list34; - reference26 = obj23; - questRoot4.QuestSequence = list28; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(2664); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - CollectionsMarshal.AsSpan(list35)[0] = "liza"; - questRoot5.Author = list35; - num = 8; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - Span span10 = CollectionsMarshal.AsSpan(list36); - ref QuestSequence reference27 = ref span10[0]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019519u, new Vector3(-613.1228f, 130f, -529.839f), 612); - obj24.Steps = list37; - reference27 = obj24; - ref QuestSequence reference28 = ref span10[1]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.Interact, 1023144u, new Vector3(-631.7998f, 130.39117f, -467.67383f), 612) - { - Fly = true - }; - obj25.Steps = list38; - reference28 = obj25; - ref QuestSequence reference29 = ref span10[2]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 2008786u, new Vector3(-630.45703f, 130.3883f, -466.75824f), 612); - obj26.Steps = list39; - reference29 = obj26; - ref QuestSequence reference30 = ref span10[3]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.Interact, 1023144u, new Vector3(-631.7998f, 130.39117f, -467.67383f), 612); - obj27.Steps = list40; - reference30 = obj27; - ref QuestSequence reference31 = ref span10[4]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.Interact, 1023157u, new Vector3(-427.26788f, 74.15582f, -103.56299f), 612) - { - Fly = true - }; - obj28.Steps = list41; - reference31 = obj28; - ref QuestSequence reference32 = ref span10[5]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - Span span11 = CollectionsMarshal.AsSpan(list42); - span11[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-397.5847f, 73.92399f, -104.41468f), 612) - { - Fly = true - }; - span11[1] = new QuestStep(EInteractionType.Interact, 2008761u, new Vector3(-398.30627f, 74.23511f, -106.70636f), 612); - obj29.Steps = list42; - reference32 = obj29; - ref QuestSequence reference33 = ref span10[6]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 6 - }; - num2 = 3; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - Span span12 = CollectionsMarshal.AsSpan(list43); - span12[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-391.48306f, 73.52123f, -100.069016f), 612) - { - Mount = true - }; - span12[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-424.38403f, 62.880836f, -28.616083f), 612) - { - Fly = true - }; - span12[2] = new QuestStep(EInteractionType.Interact, 1023158u, new Vector3(-426.71857f, 63.23476f, -28.82434f), 612); - obj30.Steps = list43; - reference33 = obj30; - ref QuestSequence reference34 = ref span10[7]; - QuestSequence obj31 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019519u, new Vector3(-613.1228f, 130f, -529.839f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - NextQuestId = new QuestId(2824) - }; - obj31.Steps = list44; - reference34 = obj31; - questRoot5.QuestSequence = list36; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(2668); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - CollectionsMarshal.AsSpan(list45)[0] = "liza"; - questRoot6.Author = list45; - num = 3; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - Span span13 = CollectionsMarshal.AsSpan(list46); - ref QuestSequence reference35 = ref span13[0]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022958u, new Vector3(25.253662f, 7.9999995f, 159.47205f), 628); - obj32.Steps = list47; - reference35 = obj32; - ref QuestSequence reference36 = ref span13[1]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - Span span14 = CollectionsMarshal.AsSpan(list48); - ref QuestStep reference37 = ref span14[0]; - QuestStep obj34 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-59.62348f, 7.999999f, -59.427254f), 628) - { - RestartNavigationIfCancelled = false, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeThavnairianConsulate, - To = EAetheryteLocation.KuganeShiokazeHostelry - } - }; - num3 = 6; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - Span span15 = CollectionsMarshal.AsSpan(list49); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj34.CompletionQuestVariablesFlags = list49; - reference37 = obj34; - span14[1] = new QuestStep(EInteractionType.Jump, null, new Vector3(-74.28216f, 18f, -164.39622f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeShiokazeHostelry, - To = EAetheryteLocation.KuganeBokairoInn - }, - JumpDestination = new JumpDestination - { - Position = new Vector3(-67.259315f, 20.530502f, -163.86617f), - StopDistance = 0.5f, - Type = EJumpType.RepeatedJumps - } - }; - span14[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-37.85175f, 20.196363f, -163.43034f), 628); - span14[3] = new QuestStep(EInteractionType.Jump, null, new Vector3(-37.806847f, 21.332985f, -161.45049f), 628) - { - StopDistance = 1f, - JumpDestination = new JumpDestination - { - Position = new Vector3(-31.778416f, 23.141376f, -159.92921f) - } - }; - span14[4] = new QuestStep(EInteractionType.Jump, null, new Vector3(-32.529102f, 23.164635f, -159.86409f), 628) - { - StopDistance = 0.5f, - JumpDestination = new JumpDestination - { - Position = new Vector3(-28.255697f, 24.146992f, -159.81477f) - } - }; - ref QuestStep reference38 = ref span14[5]; - QuestStep obj35 = new QuestStep(EInteractionType.Jump, null, new Vector3(-28.255697f, 24.146992f, -159.81477f), 628) - { - StopDistance = 0.5f, - RestartNavigationIfCancelled = false, - JumpDestination = new JumpDestination - { - Position = new Vector3(-24.809277f, 24.899979f, -159.88982f), - StopDistance = 0.5f - } - }; - num3 = 6; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - Span span16 = CollectionsMarshal.AsSpan(list50); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj35.CompletionQuestVariablesFlags = list50; - reference38 = obj35; - obj33.Steps = list48; - reference36 = obj33; - ref QuestSequence reference39 = ref span13[2]; - QuestSequence obj36 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022958u, new Vector3(25.253662f, 7.9999995f, 159.47205f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeThavnairianConsulate - } - }; - obj36.Steps = list51; - reference39 = obj36; - questRoot6.QuestSequence = list46; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(2669); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - CollectionsMarshal.AsSpan(list52)[0] = "liza"; - questRoot7.Author = list52; - num = 4; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - Span span17 = CollectionsMarshal.AsSpan(list53); - ref QuestSequence reference40 = ref span17[0]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023304u, new Vector3(2.7008667f, 2.0507723E-06f, -52.84204f), 628); - obj37.Steps = list54; - reference40 = obj37; - ref QuestSequence reference41 = ref span17[1]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.Interact, 1023306u, new Vector3(-80.338745f, -6.9700804f, -49.118835f), 628); - obj38.Steps = list55; - reference41 = obj38; - ref QuestSequence reference42 = ref span17[2]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.UseItem, 1023305u, new Vector3(4.409851f, 2.100081E-06f, -52.903076f), 628) - { - ItemId = 2002339u - }; - obj39.Steps = list56; - reference42 = obj39; - ref QuestSequence reference43 = ref span17[3]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023304u, new Vector3(2.7008667f, 2.0507723E-06f, -52.84204f), 628); - obj40.Steps = list57; - reference43 = obj40; - questRoot7.QuestSequence = list53; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(2673); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - CollectionsMarshal.AsSpan(list58)[0] = "JerryWester"; - questRoot8.Author = list58; - num = 4; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - Span span18 = CollectionsMarshal.AsSpan(list59); - ref QuestSequence reference44 = ref span18[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019168u, new Vector3(501.33508f, 34.0062f, 781.70435f), 613); - obj41.Steps = list60; - reference44 = obj41; - ref QuestSequence reference45 = ref span18[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.Interact, 1019154u, new Vector3(829.1294f, 5.9230084f, 859.739f), 613) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyPrice - } - }; - obj42.Steps = list61; - reference45 = obj42; - ref QuestSequence reference46 = ref span18[2]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - Span span19 = CollectionsMarshal.AsSpan(list62); - span19[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(595.4312f, -0.26869023f, 800.52985f), 613); - span19[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(459.92212f, -0.19133466f, 672.5903f), 613); - ref QuestStep reference47 = ref span19[2]; - QuestStep obj44 = new QuestStep(EInteractionType.Combat, 1022745u, new Vector3(288.6853f, -0.5f, 393.78955f), 613) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - CollectionsMarshal.AsSpan(list63)[0] = 7497u; - obj44.KillEnemyDataIds = list63; - reference47 = obj44; - obj43.Steps = list62; - reference46 = obj43; - ref QuestSequence reference48 = ref span18[3]; - QuestSequence obj45 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019154u, new Vector3(829.1294f, 5.9230084f, 859.739f), 613) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyPrice - } - }; - obj45.Steps = list64; - reference48 = obj45; - questRoot8.QuestSequence = list59; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(2679); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - CollectionsMarshal.AsSpan(list65)[0] = "JerryWester"; - questRoot9.Author = list65; - num = 4; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - Span span20 = CollectionsMarshal.AsSpan(list66); - ref QuestSequence reference49 = ref span20[0]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021509u, new Vector3(107.80493f, 0.80715245f, -574.548f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj46.Steps = list67; - reference49 = obj46; - ref QuestSequence reference50 = ref span20[1]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Interact, 2008475u, new Vector3(-103.01367f, 2.2124634f, -856.199f), 613); - obj47.Steps = list68; - reference50 = obj47; - ref QuestSequence reference51 = ref span20[2]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1022401u, new Vector3(-158.89221f, -0.5f, -898.0087f), 613); - obj48.Steps = list69; - reference51 = obj48; - ref QuestSequence reference52 = ref span20[3]; - QuestSequence obj49 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021509u, new Vector3(107.80493f, 0.80715245f, -574.548f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - obj49.Steps = list70; - reference52 = obj49; - questRoot9.QuestSequence = list66; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(2681); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - CollectionsMarshal.AsSpan(list71)[0] = "JerryWester"; - questRoot10.Author = list71; - num = 4; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - Span span21 = CollectionsMarshal.AsSpan(list72); - ref QuestSequence reference53 = ref span21[0]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021517u, new Vector3(85.09949f, 41.112656f, -717.89124f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj50.Steps = list73; - reference53 = obj50; - ref QuestSequence reference54 = ref span21[1]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.Interact, 1021513u, new Vector3(41.000854f, 21.22528f, -634.0276f), 613); - obj51.Steps = list74; - reference54 = obj51; - ref QuestSequence reference55 = ref span21[2]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - Span span22 = CollectionsMarshal.AsSpan(list75); - span22[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(97.741745f, 0.95900655f, -790.4652f), 613); - span22[1] = new QuestStep(EInteractionType.Interact, 1022959u, new Vector3(88.36499f, 5.006782f, -862.3331f), 613); - obj52.Steps = list75; - reference55 = obj52; - ref QuestSequence reference56 = ref span21[3]; - QuestSequence obj53 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021517u, new Vector3(85.09949f, 41.112656f, -717.89124f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - obj53.Steps = list76; - reference56 = obj53; - questRoot10.QuestSequence = list72; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(2687); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - CollectionsMarshal.AsSpan(list77)[0] = "JerryWester"; - questRoot11.Author = list77; - num = 5; - List list78 = new List(num); - CollectionsMarshal.SetCount(list78, num); - Span span23 = CollectionsMarshal.AsSpan(list78); - ref QuestSequence reference57 = ref span23[0]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022102u, new Vector3(97.8866f, 2.096308f, -617.79205f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj54.Steps = list79; - reference57 = obj54; - ref QuestSequence reference58 = ref span23[1]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.Interact, 1022103u, new Vector3(-47.135193f, 2.8637304f, -636.286f), 613); - obj55.Steps = list80; - reference58 = obj55; - ref QuestSequence reference59 = ref span23[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.Interact, 1022122u, new Vector3(134.66089f, 12.000001f, 69.047f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyBazaar - } - }; - obj56.Steps = list81; - reference59 = obj56; - ref QuestSequence reference60 = ref span23[3]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.Interact, 1019049u, new Vector3(-130.87665f, -5.000044f, 140.82544f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeRubyBazaar, - To = EAetheryteLocation.KuganePier1 - } - }; - obj57.Steps = list82; - reference60 = obj57; - ref QuestSequence reference61 = ref span23[4]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022117u, new Vector3(-49.515564f, 2.6587384f, -636.56067f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - obj58.Steps = list83; - reference61 = obj58; - questRoot11.QuestSequence = list78; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(2693); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - CollectionsMarshal.AsSpan(list84)[0] = "JerryWester"; - questRoot12.Author = list84; - num = 5; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - Span span24 = CollectionsMarshal.AsSpan(list85); - ref QuestSequence reference62 = ref span24[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023357u, new Vector3(565.0873f, -62.272896f, -147.84473f), 613); - obj59.Steps = list86; - reference62 = obj59; - ref QuestSequence reference63 = ref span24[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.Interact, 1023358u, new Vector3(608.5145f, -3.4784377f, -92.82062f), 613); - obj60.Steps = list87; - reference63 = obj60; - ref QuestSequence reference64 = ref span24[2]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - Span span25 = CollectionsMarshal.AsSpan(list88); - span25[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(611.58606f, -1.6943853f, -91.26402f), 613) - { - StopDistance = 0.25f, - Mount = false, - JumpDestination = new JumpDestination - { - Position = new Vector3(617.04565f, -17.818226f, -108.994415f) - } - }; - span25[1] = new QuestStep(EInteractionType.Jump, null, new Vector3(617.01825f, -18.570948f, -114.45003f), 613) - { - StopDistance = 0.25f, - Mount = false, - JumpDestination = new JumpDestination - { - Position = new Vector3(619.67755f, -28.768707f, -127.102554f) - } - }; - obj61.Steps = list88; - reference64 = obj61; - ref QuestSequence reference65 = ref span24[3]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - Span span26 = CollectionsMarshal.AsSpan(list89); - span26[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(617.17053f, -29.302427f, -130.22484f), 613) - { - StopDistance = 0.25f, - Mount = false, - JumpDestination = new JumpDestination - { - Position = new Vector3(604.2836f, -34.756268f, -136.64783f) - } - }; - span26[1] = new QuestStep(EInteractionType.Jump, null, new Vector3(601.5953f, -36.643044f, -144.1365f), 613) - { - StopDistance = 0.25f, - Mount = false, - JumpDestination = new JumpDestination - { - Position = new Vector3(598.6192f, -43.845043f, -154.23668f) - } - }; - span26[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(594.64703f, -43.869747f, -156.01822f), 613); - obj62.Steps = list89; - reference65 = obj62; - ref QuestSequence reference66 = ref span24[4]; - QuestSequence obj63 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - Span span27 = CollectionsMarshal.AsSpan(list90); - span27[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(570.09125f, -62.583626f, -145.46727f), 613) - { - DisableNavmesh = true - }; - span27[1] = new QuestStep(EInteractionType.CompleteQuest, 1023358u, new Vector3(608.5145f, -3.4784377f, -92.82062f), 613); - obj63.Steps = list90; - reference66 = obj63; - questRoot12.QuestSequence = list85; - AddQuest(questId12, questRoot12); - } - - private static void LoadQuests54() - { - QuestId questId = new QuestId(2704); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 3; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span2 = CollectionsMarshal.AsSpan(list3); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(322.1539f, -121.22571f, -314.2446f), 613) - { - RestartNavigationIfCancelled = false, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span2[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(22.288645f, -196.2301f, -155.5739f), 613) - { - RestartNavigationIfCancelled = false - }; - span2[2] = new QuestStep(EInteractionType.AcceptQuest, 1023280u, new Vector3(-62.790894f, -198.96509f, -64.34735f), 613) - { - Fly = true - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1023281u, new Vector3(-9.597961f, -196.98103f, -82.383545f), 613) - { - Fly = true - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023280u, new Vector3(-62.790894f, -198.96509f, -64.34735f), 613) - { - Fly = true, - NextQuestId = new QuestId(2705) - }; - obj3.Steps = list5; - reference3 = obj3; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(2705); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list6 = new List(num); - CollectionsMarshal.SetCount(list6, num); - CollectionsMarshal.AsSpan(list6)[0] = "liza"; - questRoot2.Author = list6; - num = 4; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - Span span3 = CollectionsMarshal.AsSpan(list7); - ref QuestSequence reference4 = ref span3[0]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023280u, new Vector3(-62.790894f, -198.96509f, -64.34735f), 613); - obj4.Steps = list8; - reference4 = obj4; - ref QuestSequence reference5 = ref span3[1]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - ref QuestStep reference6 = ref CollectionsMarshal.AsSpan(list9)[0]; - QuestStep obj6 = new QuestStep(EInteractionType.Interact, 1023282u, new Vector3(-32.791687f, 0.5718597f, -554.7723f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - int num3 = 1; - List list10 = new List(num3); - CollectionsMarshal.SetCount(list10, num3); - CollectionsMarshal.AsSpan(list10)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDZ309_02705_Q1_100_091"), - Answer = new ExcelRef("TEXT_STMBDZ309_02705_A1_101_091") - }; - obj6.DialogueChoices = list10; - reference6 = obj6; - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference7 = ref span3[2]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - ref QuestStep reference8 = ref CollectionsMarshal.AsSpan(list11)[0]; - QuestStep obj8 = new QuestStep(EInteractionType.Interact, 1023285u, new Vector3(119.493286f, 5.006782f, -862.6078f), 613) - { - Fly = true - }; - num3 = 1; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - CollectionsMarshal.AsSpan(list12)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDZ309_02705_Q2_100_151"), - Answer = new ExcelRef("TEXT_STMBDZ309_02705_A2_101_151") - }; - obj8.DialogueChoices = list12; - reference8 = obj8; - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference9 = ref span3[3]; - QuestSequence obj9 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - Span span4 = CollectionsMarshal.AsSpan(list13); - span4[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(322.1539f, -121.22571f, -314.2446f), 613) - { - RestartNavigationIfCancelled = false, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span4[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(22.288645f, -196.2301f, -155.5739f), 613) - { - RestartNavigationIfCancelled = false - }; - span4[2] = new QuestStep(EInteractionType.CompleteQuest, 1023280u, new Vector3(-62.790894f, -198.96509f, -64.34735f), 613) - { - Fly = true, - NextQuestId = new QuestId(2706) - }; - obj9.Steps = list13; - reference9 = obj9; - questRoot2.QuestSequence = list7; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(2706); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - CollectionsMarshal.AsSpan(list14)[0] = "liza"; - questRoot3.Author = list14; - num = 7; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - Span span5 = CollectionsMarshal.AsSpan(list15); - ref QuestSequence reference10 = ref span5[0]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023280u, new Vector3(-62.790894f, -198.96509f, -64.34735f), 613); - obj10.Steps = list16; - reference10 = obj10; - ref QuestSequence reference11 = ref span5[1]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - ref QuestStep reference12 = ref CollectionsMarshal.AsSpan(list17)[0]; - QuestStep obj12 = new QuestStep(EInteractionType.Interact, 1023287u, new Vector3(422.11023f, -98.96063f, -223.22424f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - num3 = 1; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - CollectionsMarshal.AsSpan(list18)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDZ310_02706_Q1_000_100"), - Answer = new ExcelRef("TEXT_STMBDZ310_02706_A1_000_102") - }; - obj12.DialogueChoices = list18; - reference12 = obj12; - obj11.Steps = list17; - reference11 = obj11; - ref QuestSequence reference13 = ref span5[2]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - ref QuestStep reference14 = ref CollectionsMarshal.AsSpan(list19)[0]; - QuestStep obj14 = new QuestStep(EInteractionType.Interact, 1023288u, new Vector3(350.515f, -120.581055f, -316.76202f), 613) - { - Fly = true - }; - num3 = 2; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - Span span6 = CollectionsMarshal.AsSpan(list20); - span6[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDZ310_02706_Q2_000_160"), - Answer = new ExcelRef("TEXT_STMBDZ310_02706_A2_000_161") - }; - span6[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDZ310_02706_Q3_000_200"), - Answer = new ExcelRef("TEXT_STMBDZ310_02706_A3_000_201") - }; - obj14.DialogueChoices = list20; - reference14 = obj14; - obj13.Steps = list19; - reference13 = obj13; - ref QuestSequence reference15 = ref span5[3]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - Span span7 = CollectionsMarshal.AsSpan(list21); - span7[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(322.1539f, -121.22571f, -314.2446f), 613) - { - Mount = true, - RestartNavigationIfCancelled = false - }; - span7[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(198.4342f, -162.28119f, 115.91883f), 613) - { - Fly = true, - RestartNavigationIfCancelled = false - }; - span7[2] = new QuestStep(EInteractionType.Interact, 1023290u, new Vector3(222.33911f, -165.19557f, 137.89575f), 613); - obj15.Steps = list21; - reference15 = obj15; - ref QuestSequence reference16 = ref span5[4]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - ref QuestStep reference17 = ref CollectionsMarshal.AsSpan(list22)[0]; - QuestStep obj17 = new QuestStep(EInteractionType.Combat, 2008809u, new Vector3(163.43933f, -172.01501f, 262.0736f), 613) - { - Fly = true, - ItemId = 2002332u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - CollectionsMarshal.AsSpan(list23)[0] = 7824u; - obj17.KillEnemyDataIds = list23; - reference17 = obj17; - obj16.Steps = list22; - reference16 = obj16; - ref QuestSequence reference18 = ref span5[5]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.Interact, 1023290u, new Vector3(222.33911f, -165.19557f, 137.89575f), 613) - { - Fly = true - }; - obj18.Steps = list24; - reference18 = obj18; - ref QuestSequence reference19 = ref span5[6]; - QuestSequence obj19 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - Span span8 = CollectionsMarshal.AsSpan(list25); - span8[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(200.64441f, -165.55836f, 116.97804f), 613) - { - Mount = true, - RestartNavigationIfCancelled = false - }; - span8[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(163.43794f, -133.31677f, 79.0077f), 613) - { - DelaySecondsAtStart = 2f, - DisableNavmesh = true - }; - span8[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-96.41638f, -199.01863f, -68.85027f), 613) - { - Fly = true, - RestartNavigationIfCancelled = false - }; - span8[3] = new QuestStep(EInteractionType.CompleteQuest, 1023280u, new Vector3(-62.790894f, -198.96509f, -64.34735f), 613) - { - NextQuestId = new QuestId(2707) - }; - obj19.Steps = list25; - reference19 = obj19; - questRoot3.QuestSequence = list15; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(2707); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - CollectionsMarshal.AsSpan(list26)[0] = "liza"; - questRoot4.Author = list26; - num = 3; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - Span span9 = CollectionsMarshal.AsSpan(list27); - ref QuestSequence reference20 = ref span9[0]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023280u, new Vector3(-62.790894f, -198.96509f, -64.34735f), 613); - obj20.Steps = list28; - reference20 = obj20; - ref QuestSequence reference21 = ref span9[1]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.Interact, 1023281u, new Vector3(-9.597961f, -196.98103f, -82.383545f), 613) - { - Fly = true - }; - obj21.Steps = list29; - reference21 = obj21; - ref QuestSequence reference22 = ref span9[2]; - QuestSequence obj22 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - ref QuestStep reference23 = ref CollectionsMarshal.AsSpan(list30)[0]; - QuestStep obj23 = new QuestStep(EInteractionType.CompleteQuest, 1023291u, new Vector3(8.46875f, -198.34206f, -157.15265f), 613) - { - Fly = true - }; - num3 = 1; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - CollectionsMarshal.AsSpan(list31)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDZ311_02707_Q1_000_160"), - Answer = new ExcelRef("TEXT_STMBDZ311_02707_A1_000_162") - }; - obj23.DialogueChoices = list31; - obj23.NextQuestId = new QuestId(3139); - reference23 = obj23; - obj22.Steps = list30; - reference22 = obj22; - questRoot4.QuestSequence = list27; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(2724); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list32 = new List(num); - CollectionsMarshal.SetCount(list32, num); - CollectionsMarshal.AsSpan(list32)[0] = "JerryWester"; - questRoot5.Author = list32; - num = 3; - List list33 = new List(num); - CollectionsMarshal.SetCount(list33, num); - Span span10 = CollectionsMarshal.AsSpan(list33); - ref QuestSequence reference24 = ref span10[0]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019314u, new Vector3(421.77454f, -0.3000138f, -293.9651f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj24.Steps = list34; - reference24 = obj24; - ref QuestSequence reference25 = ref span10[1]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 1 - }; - num2 = 7; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - Span span11 = CollectionsMarshal.AsSpan(list35); - ref QuestStep reference26 = ref span11[0]; - QuestStep obj26 = new QuestStep(EInteractionType.UseItem, 2008461u, new Vector3(474.2351f, 28.824219f, -212.23773f), 614) - { - ItemId = 2002241u - }; - num3 = 6; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - Span span12 = CollectionsMarshal.AsSpan(list36); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj26.CompletionQuestVariablesFlags = list36; - reference26 = obj26; - ref QuestStep reference27 = ref span11[1]; - QuestStep obj27 = new QuestStep(EInteractionType.UseItem, 2008462u, new Vector3(569.6649f, 43.930664f, -145.22015f), 614) - { - ItemId = 2002241u - }; - num3 = 6; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - Span span13 = CollectionsMarshal.AsSpan(list37); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj27.CompletionQuestVariablesFlags = list37; - reference27 = obj27; - ref QuestStep reference28 = ref span11[2]; - QuestStep obj28 = new QuestStep(EInteractionType.UseItem, 2008463u, new Vector3(531.18164f, 85.40466f, -303.33417f), 614) - { - ItemId = 2002241u - }; - num3 = 6; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - Span span14 = CollectionsMarshal.AsSpan(list38); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj28.CompletionQuestVariablesFlags = list38; - reference28 = obj28; - ref QuestStep reference29 = ref span11[3]; - QuestStep obj29 = new QuestStep(EInteractionType.UseItem, 2008464u, new Vector3(537.8042f, 61.57019f, -10.269409f), 614) - { - ItemId = 2002241u - }; - num3 = 6; - List list39 = new List(num3); - CollectionsMarshal.SetCount(list39, num3); - Span span15 = CollectionsMarshal.AsSpan(list39); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj29.CompletionQuestVariablesFlags = list39; - reference29 = obj29; - ref QuestStep reference30 = ref span11[4]; - QuestStep obj30 = new QuestStep(EInteractionType.UseItem, 2008466u, new Vector3(487.0221f, 65.537476f, -23.361572f), 614) - { - ItemId = 2002241u - }; - num3 = 6; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - Span span16 = CollectionsMarshal.AsSpan(list40); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - obj30.CompletionQuestVariablesFlags = list40; - reference30 = obj30; - span11[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(445.11514f, 40.55606f, -51.57855f), 614) - { - DisableNavmesh = true, - Mount = true - }; - ref QuestStep reference31 = ref span11[6]; - QuestStep obj31 = new QuestStep(EInteractionType.UseItem, 2008465u, new Vector3(380.84985f, 41.031494f, -29.892456f), 614) - { - ItemId = 2002241u - }; - num3 = 6; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - Span span17 = CollectionsMarshal.AsSpan(list41); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj31.CompletionQuestVariablesFlags = list41; - reference31 = obj31; - obj25.Steps = list35; - reference25 = obj25; - ref QuestSequence reference32 = ref span10[2]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019314u, new Vector3(421.77454f, -0.3000138f, -293.9651f), 614); - obj32.Steps = list42; - reference32 = obj32; - questRoot5.QuestSequence = list33; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(2728); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - CollectionsMarshal.AsSpan(list43)[0] = "JerryWester"; - questRoot6.Author = list43; - num = 8; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - Span span18 = CollectionsMarshal.AsSpan(list44); - ref QuestSequence reference33 = ref span18[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019263u, new Vector3(451.56018f, 58.77665f, -188.3421f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj33.Steps = list45; - reference33 = obj33; - ref QuestSequence reference34 = ref span18[1]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 1019264u, new Vector3(362.35596f, 90.70435f, -164.72119f), 614); - obj34.Steps = list46; - reference34 = obj34; - ref QuestSequence reference35 = ref span18[2]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - Span span19 = CollectionsMarshal.AsSpan(list47); - ref QuestStep reference36 = ref span19[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2008352u, new Vector3(379.23242f, 90.684326f, -134.72198f), 614); - num3 = 6; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - Span span20 = CollectionsMarshal.AsSpan(list48); - span20[0] = null; - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list48; - reference36 = questStep; - ref QuestStep reference37 = ref span19[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2008354u, new Vector3(369.5276f, 97.61194f, -102.92212f), 614); - num3 = 6; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - Span span21 = CollectionsMarshal.AsSpan(list49); - span21[0] = null; - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list49; - reference37 = questStep2; - ref QuestStep reference38 = ref span19[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2008353u, new Vector3(352.34607f, 97.61194f, -134.99658f), 614); - num3 = 6; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - Span span22 = CollectionsMarshal.AsSpan(list50); - span22[0] = null; - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list50; - reference38 = questStep3; - obj35.Steps = list47; - reference35 = obj35; - ref QuestSequence reference39 = ref span18[3]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.Interact, 1019264u, new Vector3(362.35596f, 90.70435f, -164.72119f), 614) - { - Mount = true - }; - obj36.Steps = list51; - reference39 = obj36; - ref QuestSequence reference40 = ref span18[4]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.UseItem, 2008355u, new Vector3(332.96704f, 100.87732f, -109.14783f), 614) - { - ItemId = 2002213u - }; - obj37.Steps = list52; - reference40 = obj37; - ref QuestSequence reference41 = ref span18[5]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.Emote, 1022071u, new Vector3(332.93652f, 100.91828f, -109.75824f), 614) - { - Emote = EEmote.Clap - }; - obj38.Steps = list53; - reference41 = obj38; - ref QuestSequence reference42 = ref span18[6]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.Interact, 1019264u, new Vector3(362.35596f, 90.70435f, -164.72119f), 614); - obj39.Steps = list54; - reference42 = obj39; - ref QuestSequence reference43 = ref span18[7]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019263u, new Vector3(451.56018f, 58.77665f, -188.3421f), 614); - obj40.Steps = list55; - reference43 = obj40; - questRoot6.QuestSequence = list44; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(2730); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - CollectionsMarshal.AsSpan(list56)[0] = "JerryWester"; - questRoot7.Author = list56; - num = 3; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - Span span23 = CollectionsMarshal.AsSpan(list57); - ref QuestSequence reference44 = ref span23[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019313u, new Vector3(465.26282f, 58.52148f, -171.09949f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj41.Steps = list58; - reference44 = obj41; - ref QuestSequence reference45 = ref span23[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - ref QuestStep reference46 = ref CollectionsMarshal.AsSpan(list59)[0]; - QuestStep obj43 = new QuestStep(EInteractionType.Combat, null, new Vector3(151.29321f, -0.2997286f, 229.44983f), 614) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - CollectionsMarshal.AsSpan(list60)[0] = new ComplexCombatData - { - DataId = 6682u, - MinimumKillCount = 3u, - RewardItemId = 2002239u, - RewardItemCount = 3 - }; - obj43.ComplexCombatData = list60; - reference46 = obj43; - obj42.Steps = list59; - reference45 = obj42; - ref QuestSequence reference47 = ref span23[2]; - QuestSequence obj44 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019295u, new Vector3(756.3439f, 98.04659f, -229.93823f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaNamai - }; - obj44.Steps = list61; - reference47 = obj44; - questRoot7.QuestSequence = list57; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(2733); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - CollectionsMarshal.AsSpan(list62)[0] = "JerryWester"; - questRoot8.Author = list62; - num = 8; - List list63 = new List(num); - CollectionsMarshal.SetCount(list63, num); - Span span24 = CollectionsMarshal.AsSpan(list63); - ref QuestSequence reference48 = ref span24[0]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019316u, new Vector3(434.89734f, 68.02076f, -125.01721f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj45.Steps = list64; - reference48 = obj45; - ref QuestSequence reference49 = ref span24[1]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.Interact, 1022457u, new Vector3(529.56433f, 19.872318f, 350.24023f), 614); - obj46.Steps = list65; - reference49 = obj46; - ref QuestSequence reference50 = ref span24[2]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - Span span25 = CollectionsMarshal.AsSpan(list66); - span25[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2008007u, new Vector3(497.27625f, 16.342407f, 402.48718f), 614) - { - AetherCurrentId = 2818195u - }; - span25[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(439.41403f, -0.3f, 464.3263f), 614) - { - DisableNavmesh = true, - Mount = true - }; - ref QuestStep reference51 = ref span25[2]; - QuestStep obj48 = new QuestStep(EInteractionType.Combat, 1022458u, new Vector3(210.95593f, 7.398857f, 500.26697f), 614) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - Span span26 = CollectionsMarshal.AsSpan(list67); - span26[0] = 7524u; - span26[1] = 7525u; - obj48.KillEnemyDataIds = list67; - reference51 = obj48; - obj47.Steps = list66; - reference50 = obj47; - ref QuestSequence reference52 = ref span24[3]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Interact, 2008518u, new Vector3(211.4137f, 8.255066f, 501.97595f), 614); - obj49.Steps = list68; - reference52 = obj49; - ref QuestSequence reference53 = ref span24[4]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - Span span27 = CollectionsMarshal.AsSpan(list69); - span27[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(439.41403f, -0.3f, 464.3263f), 614); - span27[1] = new QuestStep(EInteractionType.Interact, 1022457u, new Vector3(529.56433f, 19.872318f, 350.24023f), 614); - obj50.Steps = list69; - reference53 = obj50; - ref QuestSequence reference54 = ref span24[5]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - Span span28 = CollectionsMarshal.AsSpan(list70); - span28[0] = new QuestStep(EInteractionType.Dive, null, new Vector3(605.15845f, -0.5999999f, 499.43237f), 614) - { - StopDistance = 0.25f - }; - span28[1] = new QuestStep(EInteractionType.Interact, 2008519u, new Vector3(619.8672f, -48.66101f, 559.83826f), 614) - { - DisableNavmesh = true, - Mount = true - }; - obj51.Steps = list70; - reference54 = obj51; - ref QuestSequence reference55 = ref span24[6]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 6 - }; - num2 = 3; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - Span span29 = CollectionsMarshal.AsSpan(list71); - span29[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(605.15845f, -0.5999999f, 499.43237f), 614) - { - StopDistance = 0.25f, - DisableNavmesh = true, - Mount = true - }; - span29[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(617.7405f, -0.3f, 493.613f), 614) - { - StopDistance = 0.25f - }; - span29[2] = new QuestStep(EInteractionType.Interact, 1022457u, new Vector3(529.56433f, 19.872318f, 350.24023f), 614); - obj52.Steps = list71; - reference55 = obj52; - ref QuestSequence reference56 = ref span24[7]; - QuestSequence obj53 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019316u, new Vector3(434.89734f, 68.02076f, -125.01721f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaNamai - }; - obj53.Steps = list72; - reference56 = obj53; - questRoot8.QuestSequence = list63; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(2734); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - CollectionsMarshal.AsSpan(list73)[0] = "Theo"; - questRoot9.Author = list73; - num = 3; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - Span span30 = CollectionsMarshal.AsSpan(list74); - ref QuestSequence reference57 = ref span30[0]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019262u, new Vector3(445.76172f, 58.67623f, -155.62683f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(445.76172f, 58.67623f, -155.62683f), - MaximumDistance = 50f, - TerritoryId = 614 - } - } - } - }; - obj54.Steps = list75; - reference57 = obj54; - ref QuestSequence reference58 = ref span30[1]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - Span span31 = CollectionsMarshal.AsSpan(list76); - ref QuestStep reference59 = ref span31[0]; - QuestStep obj56 = new QuestStep(EInteractionType.Interact, 2008520u, new Vector3(476.85962f, 58.304688f, -178.08807f), 614) - { - Mount = true - }; - num3 = 6; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - Span span32 = CollectionsMarshal.AsSpan(list77); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj56.CompletionQuestVariablesFlags = list77; - reference59 = obj56; - ref QuestStep reference60 = ref span31[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2008521u, new Vector3(477.8667f, 59.098145f, -177.66083f), 614); - num3 = 6; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - Span span33 = CollectionsMarshal.AsSpan(list78); - span33[0] = null; - span33[1] = null; - span33[2] = null; - span33[3] = null; - span33[4] = null; - span33[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list78; - reference60 = questStep4; - obj55.Steps = list76; - reference58 = obj55; - ref QuestSequence reference61 = ref span30[2]; - QuestSequence obj57 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019302u, new Vector3(-279.347f, 17.31996f, 498.49683f), 614) - { - Fly = true, - NextQuestId = new QuestId(2748) - }; - obj57.Steps = list79; - reference61 = obj57; - questRoot9.QuestSequence = list74; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(2736); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - CollectionsMarshal.AsSpan(list80)[0] = "Theo"; - questRoot10.Author = list80; - num = 6; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - Span span34 = CollectionsMarshal.AsSpan(list81); - ref QuestSequence reference62 = ref span34[0]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019312u, new Vector3(473.80774f, 58.448307f, -182.78784f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(472.4036f, 58.568016f, -181.87f), - MaximumDistance = 50f, - TerritoryId = 614 - } - } - } - }; - obj58.Steps = list82; - reference62 = obj58; - ref QuestSequence reference63 = ref span34[1]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.Interact, 2008459u, new Vector3(394.5525f, 80.88806f, -194.17108f), 614) - { - Fly = true - }; - obj59.Steps = list83; - reference63 = obj59; - ref QuestSequence reference64 = ref span34[2]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.Emote, 1022399u, new Vector3(392.69092f, 80.90235f, -194.9035f), 614) - { - Emote = EEmote.Rally - }; - obj60.Steps = list84; - reference64 = obj60; - ref QuestSequence reference65 = ref span34[3]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - ref QuestStep reference66 = ref CollectionsMarshal.AsSpan(list85)[0]; - QuestStep obj62 = new QuestStep(EInteractionType.Combat, null, new Vector3(497.38757f, 55.17306f, 191.36812f), 614) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - CollectionsMarshal.AsSpan(list86)[0] = 7539u; - obj62.KillEnemyDataIds = list86; - reference66 = obj62; - obj61.Steps = list85; - reference65 = obj61; - ref QuestSequence reference67 = ref span34[4]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.Interact, 1022400u, new Vector3(499.9618f, 55.28981f, 191.18018f), 614); - obj63.Steps = list87; - reference67 = obj63; - ref QuestSequence reference68 = ref span34[5]; - QuestSequence obj64 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - ref QuestStep reference69 = ref CollectionsMarshal.AsSpan(list88)[0]; - QuestStep obj65 = new QuestStep(EInteractionType.CompleteQuest, 1019312u, new Vector3(473.80774f, 58.448307f, -182.78784f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(435.81787f, 68.84845f, -94.02999f), - MaximumDistance = 150f, - TerritoryId = 614 - } - } - } - }; - num3 = 1; - List list89 = new List(num3); - CollectionsMarshal.SetCount(list89, num3); - CollectionsMarshal.AsSpan(list89)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDZ413_02736_Q1_000_000"), - Answer = new ExcelRef("TEXT_STMBDZ413_02736_A1_000_002") - }; - obj65.DialogueChoices = list89; - obj65.NextQuestId = new QuestId(2737); - reference69 = obj65; - obj64.Steps = list88; - reference68 = obj64; - questRoot10.QuestSequence = list81; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(2737); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - CollectionsMarshal.AsSpan(list90)[0] = "Theo"; - questRoot11.Author = list90; - num = 6; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - Span span35 = CollectionsMarshal.AsSpan(list91); - ref QuestSequence reference70 = ref span35[0]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019312u, new Vector3(473.80774f, 58.448307f, -182.78784f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(472.4036f, 58.568016f, -181.87f), - MaximumDistance = 50f, - TerritoryId = 614 - } - } - } - }; - obj66.Steps = list92; - reference70 = obj66; - ref QuestSequence reference71 = ref span35[1]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.Interact, 1022399u, new Vector3(392.69092f, 80.90235f, -194.9035f), 614) - { - Fly = true - }; - obj67.Steps = list93; - reference71 = obj67; - ref QuestSequence reference72 = ref span35[2]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Interact, 1022421u, new Vector3(634.5464f, 86.07644f, -146.74603f), 614) - { - Fly = true - }; - obj68.Steps = list94; - reference72 = obj68; - ref QuestSequence reference73 = ref span35[3]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.Emote, 1022423u, new Vector3(499.71765f, 66.36111f, -16.586609f), 614) - { - Fly = true, - Emote = EEmote.Psych - }; - obj69.Steps = list95; - reference73 = obj69; - ref QuestSequence reference74 = ref span35[4]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.Interact, 1022424u, new Vector3(475.51685f, 68.02852f, -106.30963f), 614) - { - Fly = true - }; - obj70.Steps = list96; - reference74 = obj70; - ref QuestSequence reference75 = ref span35[5]; - QuestSequence obj71 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019312u, new Vector3(473.80774f, 58.448307f, -182.78784f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(435.81787f, 68.84845f, -94.02999f), - MaximumDistance = 150f, - TerritoryId = 614 - } - } - }, - NextQuestId = new QuestId(2738) - }; - obj71.Steps = list97; - reference75 = obj71; - questRoot11.QuestSequence = list91; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(2738); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - CollectionsMarshal.AsSpan(list98)[0] = "Theo"; - questRoot12.Author = list98; - num = 5; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - Span span36 = CollectionsMarshal.AsSpan(list99); - ref QuestSequence reference76 = ref span36[0]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019312u, new Vector3(473.80774f, 58.448307f, -182.78784f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(472.4036f, 58.568016f, -181.87f), - MaximumDistance = 50f, - TerritoryId = 614 - } - } - } - }; - obj72.Steps = list100; - reference76 = obj72; - ref QuestSequence reference77 = ref span36[1]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - ref QuestStep reference78 = ref CollectionsMarshal.AsSpan(list101)[0]; - QuestStep obj74 = new QuestStep(EInteractionType.Interact, 1022414u, new Vector3(605.249f, 67.79578f, -137.49908f), 614) - { - Fly = true - }; - num3 = 1; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - CollectionsMarshal.AsSpan(list102)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDZ415_02738_Q1_000_000"), - Answer = new ExcelRef("TEXT_STMBDZ415_02738_A1_000_001") - }; - obj74.DialogueChoices = list102; - reference78 = obj74; - obj73.Steps = list101; - reference77 = obj73; - ref QuestSequence reference79 = ref span36[2]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - Span span37 = CollectionsMarshal.AsSpan(list103); - ref QuestStep reference80 = ref span37[0]; - QuestStep obj76 = new QuestStep(EInteractionType.Interact, 2008490u, new Vector3(627.8019f, 84.97742f, -98.49707f), 614) - { - Fly = true - }; - num3 = 6; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - Span span38 = CollectionsMarshal.AsSpan(list104); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj76.CompletionQuestVariablesFlags = list104; - reference80 = obj76; - ref QuestStep reference81 = ref span37[1]; - QuestStep obj77 = new QuestStep(EInteractionType.Interact, 2008491u, new Vector3(664.8203f, 92.088135f, -107.774536f), 614) - { - Mount = true - }; - num3 = 6; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - Span span39 = CollectionsMarshal.AsSpan(list105); - span39[0] = null; - span39[1] = null; - span39[2] = null; - span39[3] = null; - span39[4] = null; - span39[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj77.CompletionQuestVariablesFlags = list105; - reference81 = obj77; - ref QuestStep reference82 = ref span37[2]; - QuestStep obj78 = new QuestStep(EInteractionType.Interact, 2008492u, new Vector3(657.98413f, 85.22156f, -150.56079f), 614) - { - Mount = true - }; - num3 = 6; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - Span span40 = CollectionsMarshal.AsSpan(list106); - span40[0] = null; - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj78.CompletionQuestVariablesFlags = list106; - reference82 = obj78; - obj75.Steps = list103; - reference79 = obj75; - ref QuestSequence reference83 = ref span36[3]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.Interact, 1022414u, new Vector3(605.249f, 67.79578f, -137.49908f), 614) - { - Fly = true - }; - obj79.Steps = list107; - reference83 = obj79; - ref QuestSequence reference84 = ref span36[4]; - QuestSequence obj80 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019312u, new Vector3(473.80774f, 58.448307f, -182.78784f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(435.81787f, 68.84845f, -94.02999f), - MaximumDistance = 150f, - TerritoryId = 614 - } - } - }, - NextQuestId = new QuestId(2739) - }; - obj80.Steps = list108; - reference84 = obj80; - questRoot12.QuestSequence = list99; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(2739); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - CollectionsMarshal.AsSpan(list109)[0] = "Theo"; - questRoot13.Author = list109; - num = 7; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - Span span41 = CollectionsMarshal.AsSpan(list110); - ref QuestSequence reference85 = ref span41[0]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022425u, new Vector3(473.3806f, 58.51295f, -180.95679f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(472.4036f, 58.568016f, -181.87f), - MaximumDistance = 50f, - TerritoryId = 614 - } - } - } - }; - obj81.Steps = list111; - reference85 = obj81; - ref QuestSequence reference86 = ref span41[1]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.Interact, 1022417u, new Vector3(365.6825f, 100.83898f, -93.91931f), 614) - { - StopDistance = 0.5f, - Fly = true - }; - obj82.Steps = list112; - reference86 = obj82; - ref QuestSequence reference87 = ref span41[2]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.Interact, 1022416u, new Vector3(675.92883f, 98.45921f, -103.80713f), 614) - { - Fly = true - }; - obj83.Steps = list113; - reference87 = obj83; - ref QuestSequence reference88 = ref span41[3]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.Interact, 1022418u, new Vector3(734.5845f, 119.698425f, -35.05005f), 614) - { - Fly = true - }; - obj84.Steps = list114; - reference88 = obj84; - ref QuestSequence reference89 = ref span41[4]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - ref QuestStep reference90 = ref CollectionsMarshal.AsSpan(list115)[0]; - QuestStep obj86 = new QuestStep(EInteractionType.Combat, null, new Vector3(720.75977f, 116.93192f, -60.349487f), 614) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - CollectionsMarshal.AsSpan(list116)[0] = 7540u; - obj86.KillEnemyDataIds = list116; - reference90 = obj86; - obj85.Steps = list115; - reference89 = obj85; - ref QuestSequence reference91 = ref span41[5]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.Interact, 1022418u, new Vector3(734.5845f, 119.698425f, -35.05005f), 614) - { - Fly = true - }; - obj87.Steps = list117; - reference91 = obj87; - ref QuestSequence reference92 = ref span41[6]; - QuestSequence obj88 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019312u, new Vector3(473.80774f, 58.448307f, -182.78784f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(435.81787f, 68.84845f, -94.02999f), - MaximumDistance = 150f, - TerritoryId = 614 - } - } - }, - NextQuestId = new QuestId(2740) - }; - obj88.Steps = list118; - reference92 = obj88; - questRoot13.QuestSequence = list110; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(2740); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - CollectionsMarshal.AsSpan(list119)[0] = "Theo"; - questRoot14.Author = list119; - num = 5; - List list120 = new List(num); - CollectionsMarshal.SetCount(list120, num); - Span span42 = CollectionsMarshal.AsSpan(list120); - ref QuestSequence reference93 = ref span42[0]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022399u, new Vector3(392.69092f, 80.90235f, -194.9035f), 614); - obj89.Steps = list121; - reference93 = obj89; - ref QuestSequence reference94 = ref span42[1]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.Interact, 1023237u, new Vector3(-233.72241f, 17.628202f, 485.3131f), 614) - { - Fly = true - }; - obj90.Steps = list122; - reference94 = obj90; - ref QuestSequence reference95 = ref span42[2]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.Interact, 1023237u, new Vector3(-233.72241f, 17.628202f, 485.3131f), 614); - obj91.Steps = list123; - reference95 = obj91; - ref QuestSequence reference96 = ref span42[3]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.Interact, 1023463u, new Vector3(563.8666f, 68.09528f, -11.306946f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai - }; - obj92.Steps = list124; - reference96 = obj92; - ref QuestSequence reference97 = ref span42[4]; - QuestSequence obj93 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023465u, new Vector3(462.76025f, 68.01855f, -106.55377f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(462.13455f, 68.01515f, -104.52245f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj93.Steps = list125; - reference97 = obj93; - questRoot14.QuestSequence = list120; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(2747); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - CollectionsMarshal.AsSpan(list126)[0] = "Theo"; - questRoot15.Author = list126; - num = 4; - List list127 = new List(num); - CollectionsMarshal.SetCount(list127, num); - Span span43 = CollectionsMarshal.AsSpan(list127); - ref QuestSequence reference98 = ref span43[0]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - Span span44 = CollectionsMarshal.AsSpan(list128); - span44[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-297.51367f, 17.31996f, 508.2195f), 614) - { - Fly = true - }; - span44[1] = new QuestStep(EInteractionType.AcceptQuest, 1019298u, new Vector3(-318.87692f, 17.974895f, 508.29004f), 614) - { - StopDistance = 0.25f - }; - obj94.Steps = list128; - reference98 = obj94; - ref QuestSequence reference99 = ref span43[1]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.Interact, 1019261u, new Vector3(403.00586f, 76.169815f, -148.8518f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai - }; - obj95.Steps = list129; - reference99 = obj95; - ref QuestSequence reference100 = ref span43[2]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - Span span45 = CollectionsMarshal.AsSpan(list130); - span45[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-297.51367f, 17.31996f, 508.2195f), 614) - { - Fly = true - }; - span45[1] = new QuestStep(EInteractionType.Interact, 1019298u, new Vector3(-318.87692f, 17.974895f, 508.29004f), 614) - { - StopDistance = 0.25f - }; - obj96.Steps = list130; - reference100 = obj96; - ref QuestSequence reference101 = ref span43[3]; - QuestSequence obj97 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019261u, new Vector3(403.00586f, 76.169815f, -148.8518f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - NextQuestId = new QuestId(2740) - }; - obj97.Steps = list131; - reference101 = obj97; - questRoot15.QuestSequence = list127; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(2748); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list132 = new List(num); - CollectionsMarshal.SetCount(list132, num); - CollectionsMarshal.AsSpan(list132)[0] = "liza"; - questRoot16.Author = list132; - num = 6; - List list133 = new List(num); - CollectionsMarshal.SetCount(list133, num); - Span span46 = CollectionsMarshal.AsSpan(list133); - ref QuestSequence reference102 = ref span46[0]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023236u, new Vector3(-300.06866f, 16.806112f, 539.45215f), 614) - { - Fly = true - }; - obj98.Steps = list134; - reference102 = obj98; - ref QuestSequence reference103 = ref span46[1]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.Interact, 1023237u, new Vector3(-233.72241f, 17.628202f, 485.3131f), 614) - { - Fly = true - }; - obj99.Steps = list135; - reference103 = obj99; - ref QuestSequence reference104 = ref span46[2]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - Span span47 = CollectionsMarshal.AsSpan(list136); - span47[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-463.34363f, 1.3011811f, 578.3476f), 614) - { - Fly = true - }; - span47[1] = new QuestStep(EInteractionType.Interact, 1023238u, new Vector3(-464.49988f, 1.3011812f, 577.32495f), 614); - obj100.Steps = list136; - reference104 = obj100; - ref QuestSequence reference105 = ref span46[3]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - Span span48 = CollectionsMarshal.AsSpan(list137); - span48[0] = new QuestStep(EInteractionType.Dive, null, new Vector3(-487.5986f, -0.5999999f, 578.5466f), 614) - { - DisableNavmesh = true - }; - span48[1] = new QuestStep(EInteractionType.Interact, 2008799u, new Vector3(-549.7063f, -109.51398f, 569.32935f), 614) - { - Mount = true, - Fly = true - }; - obj101.Steps = list137; - reference105 = obj101; - ref QuestSequence reference106 = ref span46[4]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - Span span49 = CollectionsMarshal.AsSpan(list138); - span49[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-487.5986f, -0.5999999f, 578.5466f), 614) - { - DisableNavmesh = true, - RestartNavigationIfCancelled = false - }; - span49[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-463.34363f, 1.3011811f, 578.3476f), 614) - { - Fly = true - }; - span49[2] = new QuestStep(EInteractionType.Interact, 1023238u, new Vector3(-464.49988f, 1.3011812f, 577.32495f), 614); - obj102.Steps = list138; - reference106 = obj102; - ref QuestSequence reference107 = ref span46[5]; - QuestSequence obj103 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023237u, new Vector3(-233.72241f, 17.628202f, 485.3131f), 614) - { - Fly = true, - NextQuestId = new QuestId(2749) - }; - obj103.Steps = list139; - reference107 = obj103; - questRoot16.QuestSequence = list133; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(2749); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list140 = new List(num); - CollectionsMarshal.SetCount(list140, num); - CollectionsMarshal.AsSpan(list140)[0] = "Theo"; - questRoot17.Author = list140; - num = 7; - List list141 = new List(num); - CollectionsMarshal.SetCount(list141, num); - Span span50 = CollectionsMarshal.AsSpan(list141); - ref QuestSequence reference108 = ref span50[0]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023237u, new Vector3(-233.72241f, 17.628202f, 485.3131f), 614); - obj104.Steps = list142; - reference108 = obj104; - ref QuestSequence reference109 = ref span50[1]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.Interact, 1023239u, new Vector3(-392.72144f, 46.670254f, 452.93335f), 614) - { - StopDistance = 0.5f, - Fly = true - }; - obj105.Steps = list143; - reference109 = obj105; - ref QuestSequence reference110 = ref span50[2]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - Span span51 = CollectionsMarshal.AsSpan(list144); - span51[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-239.56377f, 49.354053f, 284.94565f), 614) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span51[1] = new QuestStep(EInteractionType.Interact, 1023240u, new Vector3(-258.6557f, 38.181896f, 217.9751f), 614) - { - Fly = true - }; - obj106.Steps = list144; - reference110 = obj106; - ref QuestSequence reference111 = ref span50[3]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - ref QuestStep reference112 = ref CollectionsMarshal.AsSpan(list145)[0]; - QuestStep obj108 = new QuestStep(EInteractionType.Combat, null, new Vector3(-287.37323f, 39.150906f, 206.95801f), 614) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - CollectionsMarshal.AsSpan(list146)[0] = 7541u; - obj108.KillEnemyDataIds = list146; - reference112 = obj108; - obj107.Steps = list145; - reference111 = obj107; - ref QuestSequence reference113 = ref span50[4]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.Interact, 1023240u, new Vector3(-258.6557f, 38.181896f, 217.9751f), 614) - { - Fly = true - }; - obj109.Steps = list147; - reference113 = obj109; - ref QuestSequence reference114 = ref span50[5]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.Interact, 2008801u, new Vector3(-234.24127f, 17.593567f, 486.9917f), 614) - { - Fly = true - }; - obj110.Steps = list148; - reference114 = obj110; - ref QuestSequence reference115 = ref span50[6]; - QuestSequence obj111 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023237u, new Vector3(-233.72241f, 17.628202f, 485.3131f), 614) - { - Fly = true, - NextQuestId = new QuestId(2750) - }; - obj111.Steps = list149; - reference115 = obj111; - questRoot17.QuestSequence = list141; - AddQuest(questId17, questRoot17); - } - - private static void LoadQuests55() - { - QuestId questId = new QuestId(2750); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "Theo"; - questRoot.Author = list; - num = 6; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023237u, new Vector3(-233.72241f, 17.628202f, 485.3131f), 614); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference3 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj3 = new QuestStep(EInteractionType.Combat, null, new Vector3(151.29321f, -0.2997286f, 229.44983f), 614) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - int num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = new ComplexCombatData - { - DataId = 6682u, - MinimumKillCount = 3u - }; - obj3.ComplexCombatData = list5; - reference3 = obj3; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Interact, 1023237u, new Vector3(-233.72241f, 17.628202f, 485.3131f), 614) - { - Fly = true - }; - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[3]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.Interact, 2008802u, new Vector3(-235.03479f, 17.654663f, 487.32727f), 614); - obj5.Steps = list7; - reference5 = obj5; - ref QuestSequence reference6 = ref span[4]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.Interact, 1023243u, new Vector3(-88.85327f, -0.35101318f, 654.4442f), 614) - { - Fly = true - }; - obj6.Steps = list8; - reference6 = obj6; - ref QuestSequence reference7 = ref span[5]; - QuestSequence obj7 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023237u, new Vector3(-233.72241f, 17.628202f, 485.3131f), 614) - { - Fly = true, - NextQuestId = new QuestId(2751) - }; - obj7.Steps = list9; - reference7 = obj7; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(2751); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - CollectionsMarshal.AsSpan(list10)[0] = "Theo"; - questRoot2.Author = list10; - num = 7; - List list11 = new List(num); - CollectionsMarshal.SetCount(list11, num); - Span span2 = CollectionsMarshal.AsSpan(list11); - ref QuestSequence reference8 = ref span2[0]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023237u, new Vector3(-233.72241f, 17.628202f, 485.3131f), 614); - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference9 = ref span2[1]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.Interact, 1023244u, new Vector3(-290.15033f, 17.31996f, 490.86743f), 614) - { - Fly = true - }; - obj9.Steps = list13; - reference9 = obj9; - ref QuestSequence reference10 = ref span2[2]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.Interact, 1023245u, new Vector3(133.1654f, 13.172864f, 483.7871f), 614) - { - Fly = true - }; - obj10.Steps = list14; - reference10 = obj10; - ref QuestSequence reference11 = ref span2[3]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.Interact, 1023246u, new Vector3(401.3275f, 14.6418705f, 630.15173f), 614) - { - Fly = true - }; - obj11.Steps = list15; - reference11 = obj11; - ref QuestSequence reference12 = ref span2[4]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - ref QuestStep reference13 = ref CollectionsMarshal.AsSpan(list16)[0]; - QuestStep obj13 = new QuestStep(EInteractionType.Combat, null, new Vector3(447.20697f, 14.621715f, 673.4272f), 614) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list17 = new List(num3); - CollectionsMarshal.SetCount(list17, num3); - CollectionsMarshal.AsSpan(list17)[0] = 7525u; - obj13.KillEnemyDataIds = list17; - reference13 = obj13; - obj12.Steps = list16; - reference12 = obj12; - ref QuestSequence reference14 = ref span2[5]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.Interact, 1023246u, new Vector3(401.3275f, 14.6418705f, 630.15173f), 614) - { - Fly = true - }; - obj14.Steps = list18; - reference14 = obj14; - ref QuestSequence reference15 = ref span2[6]; - QuestSequence obj15 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023244u, new Vector3(-290.15033f, 17.31996f, 490.86743f), 614) - { - Fly = true, - NextQuestId = new QuestId(2747) - }; - obj15.Steps = list19; - reference15 = obj15; - questRoot2.QuestSequence = list11; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(2758); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - CollectionsMarshal.AsSpan(list20)[0] = "liza"; - questRoot3.Author = list20; - num = 3; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - Span span3 = CollectionsMarshal.AsSpan(list21); - ref QuestSequence reference16 = ref span3[0]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023253u, new Vector3(594.44556f, -19.505789f, 285.60303f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj16.Steps = list22; - reference16 = obj16; - ref QuestSequence reference17 = ref span3[1]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - ref QuestStep reference18 = ref CollectionsMarshal.AsSpan(list23)[0]; - QuestStep obj18 = new QuestStep(EInteractionType.Combat, null, new Vector3(659.4403f, -0.7996712f, -28.710917f), 622) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - ref ComplexCombatData reference19 = ref CollectionsMarshal.AsSpan(list24)[0]; - ComplexCombatData obj19 = new ComplexCombatData - { - DataId = 6692u, - MinimumKillCount = 3u - }; - int num4 = 6; - List list25 = new List(num4); - CollectionsMarshal.SetCount(list25, num4); - Span span4 = CollectionsMarshal.AsSpan(list25); - span4[0] = null; - span4[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = null; - obj19.CompletionQuestVariablesFlags = list25; - reference19 = obj19; - obj18.ComplexCombatData = list24; - reference18 = obj18; - obj17.Steps = list23; - reference17 = obj17; - ref QuestSequence reference20 = ref span3[2]; - QuestSequence obj20 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023253u, new Vector3(594.44556f, -19.505789f, 285.60303f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion - }; - obj20.Steps = list26; - reference20 = obj20; - questRoot3.QuestSequence = list21; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(2760); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - CollectionsMarshal.AsSpan(list27)[0] = "JerryWester"; - questRoot4.Author = list27; - num = 3; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - Span span5 = CollectionsMarshal.AsSpan(list28); - ref QuestSequence reference21 = ref span5[0]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019347u, new Vector3(575.2803f, -19.505632f, 343.74f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj21.Steps = list29; - reference21 = obj21; - ref QuestSequence reference22 = ref span5[1]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.Interact, 1022127u, new Vector3(606.3783f, -14.991949f, 328.542f), 622); - obj22.Steps = list30; - reference22 = obj22; - ref QuestSequence reference23 = ref span5[2]; - QuestSequence obj23 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022128u, new Vector3(588.00635f, -19.505651f, 316.57886f), 622); - obj23.Steps = list31; - reference23 = obj23; - questRoot4.QuestSequence = list28; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(2771); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list32 = new List(num); - CollectionsMarshal.SetCount(list32, num); - CollectionsMarshal.AsSpan(list32)[0] = "JerryWester"; - questRoot5.Author = list32; - num = 4; - List list33 = new List(num); - CollectionsMarshal.SetCount(list33, num); - Span span6 = CollectionsMarshal.AsSpan(list33); - ref QuestSequence reference24 = ref span6[0]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019405u, new Vector3(343.58728f, 26.261887f, -326.55835f), 622); - obj24.Steps = list34; - reference24 = obj24; - ref QuestSequence reference25 = ref span6[1]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.Snipe, 2008318u, new Vector3(-83.48212f, 33.21875f, -210.22363f), 622) - { - Comment = "Snipe sheep" - }; - obj25.Steps = list35; - reference25 = obj25; - ref QuestSequence reference26 = ref span6[2]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.Interact, 1021900u, new Vector3(-83.36011f, 27.540436f, -146.44086f), 622); - obj26.Steps = list36; - reference26 = obj26; - ref QuestSequence reference27 = ref span6[3]; - QuestSequence obj27 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019405u, new Vector3(343.58728f, 26.261887f, -326.55835f), 622); - obj27.Steps = list37; - reference27 = obj27; - questRoot5.QuestSequence = list33; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(2782); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - CollectionsMarshal.AsSpan(list38)[0] = "JerryWester"; - questRoot6.Author = list38; - num = 4; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - Span span7 = CollectionsMarshal.AsSpan(list39); - ref QuestSequence reference28 = ref span7[0]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023348u, new Vector3(79.24011f, 114.90497f, 95.994385f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(79.24011f, 114.90497f, 95.994385f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj28.Steps = list40; - reference28 = obj28; - ref QuestSequence reference29 = ref span7[1]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.Interact, 1019430u, new Vector3(33.98181f, 114.90497f, -40.69586f), 622); - obj29.Steps = list41; - reference29 = obj29; - ref QuestSequence reference30 = ref span7[2]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - Span span8 = CollectionsMarshal.AsSpan(list42); - ref QuestStep reference31 = ref span8[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2008925u, new Vector3(26.962646f, 115.464966f, -44.419067f), 622); - num3 = 6; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - Span span9 = CollectionsMarshal.AsSpan(list43); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list43; - reference31 = questStep; - ref QuestStep reference32 = ref span8[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2008927u, new Vector3(28.915894f, 115.464966f, -49.5766f), 622); - num3 = 6; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - Span span10 = CollectionsMarshal.AsSpan(list44); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list44; - reference32 = questStep2; - ref QuestStep reference33 = ref span8[2]; - QuestStep obj31 = new QuestStep(EInteractionType.Interact, 2008926u, new Vector3(27.634033f, 115.464966f, -48.05072f), 622) - { - StopDistance = 4f - }; - num3 = 6; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - Span span11 = CollectionsMarshal.AsSpan(list45); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj31.CompletionQuestVariablesFlags = list45; - reference33 = obj31; - obj30.Steps = list42; - reference30 = obj30; - ref QuestSequence reference34 = ref span7[3]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023348u, new Vector3(79.24011f, 114.90497f, 95.994385f), 622); - obj32.Steps = list46; - reference34 = obj32; - questRoot6.QuestSequence = list39; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(2791); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - CollectionsMarshal.AsSpan(list47)[0] = "JerryWester"; - questRoot7.Author = list47; - num = 3; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - Span span12 = CollectionsMarshal.AsSpan(list48); - ref QuestSequence reference35 = ref span12[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023193u, new Vector3(-434.0429f, 2.5501096f, 650.01904f), 622); - obj33.Steps = list49; - reference35 = obj33; - ref QuestSequence reference36 = ref span12[1]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - Span span13 = CollectionsMarshal.AsSpan(list50); - ref QuestStep reference37 = ref span13[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1019321u, new Vector3(-473.0144f, 2.320309f, 616.907f), 622); - num3 = 6; - List list51 = new List(num3); - CollectionsMarshal.SetCount(list51, num3); - Span span14 = CollectionsMarshal.AsSpan(list51); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list51; - reference37 = questStep3; - ref QuestStep reference38 = ref span13[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1022222u, new Vector3(-485.22168f, 2.6499166f, 609.94885f), 622); - num3 = 6; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - Span span15 = CollectionsMarshal.AsSpan(list52); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list52; - reference38 = questStep4; - ref QuestStep reference39 = ref span13[2]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1022228u, new Vector3(-436.72852f, 2.253339f, 573.4187f), 622); - num3 = 6; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - Span span16 = CollectionsMarshal.AsSpan(list53); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list53; - reference39 = questStep5; - obj34.Steps = list50; - reference36 = obj34; - ref QuestSequence reference40 = ref span12[2]; - QuestSequence obj35 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - ref QuestStep reference41 = ref CollectionsMarshal.AsSpan(list54)[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.CompleteQuest, 1023193u, new Vector3(-434.0429f, 2.5501096f, 650.01904f), 622); - num3 = 1; - List list55 = new List(num3); - CollectionsMarshal.SetCount(list55, num3); - CollectionsMarshal.AsSpan(list55)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDZ613_02791_Q1_000_000"), - Answer = new ExcelRef("TEXT_STMBDZ613_02791_A1_000_002") - }; - questStep6.DialogueChoices = list55; - reference41 = questStep6; - obj35.Steps = list54; - reference40 = obj35; - questRoot7.QuestSequence = list48; - AddQuest(questId7, questRoot7); - } - - private static void LoadQuests56() - { - QuestId questId = new QuestId(2813); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022620u, new Vector3(-4.7455444f, 0.022830343f, -113.96973f), 628); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference3 = ref span2[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1023127u, new Vector3(-102.9527f, 11.80004f, -114.76312f), 628); - int num3 = 6; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - Span span3 = CollectionsMarshal.AsSpan(list5); - span3[0] = null; - span3[1] = null; - span3[2] = null; - span3[3] = null; - span3[4] = null; - span3[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list5; - reference3 = questStep; - ref QuestStep reference4 = ref span2[1]; - QuestStep obj3 = new QuestStep(EInteractionType.Interact, 1023131u, new Vector3(-88.304016f, -6.9999995f, -63.09613f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeBokairoInn, - To = EAetheryteLocation.KuganeShiokazeHostelry - } - }; - num3 = 6; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - Span span4 = CollectionsMarshal.AsSpan(list6); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - obj3.CompletionQuestVariablesFlags = list6; - reference4 = obj3; - ref QuestStep reference5 = ref span2[2]; - QuestStep obj4 = new QuestStep(EInteractionType.Interact, 1023126u, new Vector3(32.60852f, 2.9999993f, -49.881836f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeShiokazeHostelry, - To = EAetheryteLocation.Kugane - } - }; - num3 = 6; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span5 = CollectionsMarshal.AsSpan(list7); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj4.CompletionQuestVariablesFlags = list7; - reference5 = obj4; - ref QuestStep reference6 = ref span2[3]; - QuestStep obj5 = new QuestStep(EInteractionType.Interact, 1023130u, new Vector3(80.460815f, 4.000001f, 71.488525f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeMarkets - } - }; - num3 = 6; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - Span span6 = CollectionsMarshal.AsSpan(list8); - span6[0] = null; - span6[1] = null; - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj5.CompletionQuestVariablesFlags = list8; - reference6 = obj5; - ref QuestStep reference7 = ref span2[4]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1023128u, new Vector3(-34.103943f, 15.000004f, 68.86389f), 628); - num3 = 6; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - Span span7 = CollectionsMarshal.AsSpan(list9); - span7[0] = null; - span7[1] = null; - span7[2] = null; - span7[3] = null; - span7[4] = null; - span7[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list9; - reference7 = questStep2; - ref QuestStep reference8 = ref span2[5]; - QuestStep obj6 = new QuestStep(EInteractionType.Interact, 1023129u, new Vector3(17.593567f, 11.44387f, 174.45642f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeMarkets, - To = EAetheryteLocation.KuganeThavnairianConsulate - } - }; - num3 = 6; - List list10 = new List(num3); - CollectionsMarshal.SetCount(list10, num3); - Span span8 = CollectionsMarshal.AsSpan(list10); - span8[0] = null; - span8[1] = null; - span8[2] = null; - span8[3] = null; - span8[4] = null; - span8[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj6.CompletionQuestVariablesFlags = list10; - reference8 = obj6; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference9 = ref span[2]; - QuestSequence obj7 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - ref QuestStep reference10 = ref CollectionsMarshal.AsSpan(list11)[0]; - QuestStep obj8 = new QuestStep(EInteractionType.CompleteQuest, 1022620u, new Vector3(-4.7455444f, 0.022830343f, -113.96973f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeThavnairianConsulate, - To = EAetheryteLocation.KuganeRakuzaDistrict - } - }; - num3 = 1; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - CollectionsMarshal.AsSpan(list12)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDZ710_02813_Q1_000_031"), - Answer = new ExcelRef("TEXT_STMBDZ710_02813_A1_000_032") - }; - obj8.DialogueChoices = list12; - reference10 = obj8; - obj7.Steps = list11; - reference9 = obj7; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(2816); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = "JerryWester"; - questRoot2.Author = list13; - num = 5; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - Span span9 = CollectionsMarshal.AsSpan(list14); - ref QuestSequence reference11 = ref span9[0]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020821u, new Vector3(276.7223f, 76.853935f, -23.51416f), 612); - obj9.Steps = list15; - reference11 = obj9; - ref QuestSequence reference12 = ref span9[1]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - ref QuestStep reference13 = ref CollectionsMarshal.AsSpan(list16)[0]; - QuestStep obj11 = new QuestStep(EInteractionType.Combat, null, new Vector3(566.8916f, 72.80687f, 138.84087f), 612) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list17 = new List(num3); - CollectionsMarshal.SetCount(list17, num3); - Span span10 = CollectionsMarshal.AsSpan(list17); - span10[0] = 7224u; - span10[1] = 7237u; - span10[2] = 7512u; - obj11.KillEnemyDataIds = list17; - reference13 = obj11; - obj10.Steps = list16; - reference12 = obj10; - ref QuestSequence reference14 = ref span9[2]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.Interact, 1021227u, new Vector3(567.0709f, 72.83738f, 138.93335f), 612); - obj12.Steps = list18; - reference14 = obj12; - ref QuestSequence reference15 = ref span9[3]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.Interact, 1021948u, new Vector3(608.97217f, 49.31076f, 327.10767f), 612); - obj13.Steps = list19; - reference15 = obj13; - ref QuestSequence reference16 = ref span9[4]; - QuestSequence obj14 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020821u, new Vector3(276.7223f, 76.853935f, -23.51416f), 612); - obj14.Steps = list20; - reference16 = obj14; - questRoot2.QuestSequence = list14; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(2821); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - CollectionsMarshal.AsSpan(list21)[0] = "JerryWester"; - questRoot3.Author = list21; - num = 3; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - Span span11 = CollectionsMarshal.AsSpan(list22); - ref QuestSequence reference17 = ref span11[0]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020807u, new Vector3(433.9818f, 114.48304f, 233.29517f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj15.Steps = list23; - reference17 = obj15; - ref QuestSequence reference18 = ref span11[1]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - ref QuestStep reference19 = ref CollectionsMarshal.AsSpan(list24)[0]; - QuestStep obj17 = new QuestStep(EInteractionType.Combat, null, new Vector3(385.1642f, 74.01643f, 135.44316f), 612) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - CollectionsMarshal.AsSpan(list25)[0] = 6655u; - obj17.KillEnemyDataIds = list25; - obj17.CombatItemUse = new CombatItemUse - { - ItemId = 2002324u, - Condition = ECombatItemUseCondition.HealthPercent, - Value = 50 - }; - reference19 = obj17; - obj16.Steps = list24; - reference18 = obj16; - ref QuestSequence reference20 = ref span11[2]; - QuestSequence obj18 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020807u, new Vector3(433.9818f, 114.48304f, 233.29517f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones - }; - obj18.Steps = list26; - reference20 = obj18; - questRoot3.QuestSequence = list22; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(2824); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - CollectionsMarshal.AsSpan(list27)[0] = "liza"; - questRoot4.Author = list27; - num = 4; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - Span span12 = CollectionsMarshal.AsSpan(list28); - ref QuestSequence reference21 = ref span12[0]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021565u, new Vector3(440.11584f, 114.254425f, 212.84802f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones - }; - obj19.Steps = list29; - reference21 = obj19; - ref QuestSequence reference22 = ref span12[1]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.Interact, 1023160u, new Vector3(303.12048f, 46.087757f, 493.0647f), 612) - { - Fly = true - }; - obj20.Steps = list30; - reference22 = obj20; - ref QuestSequence reference23 = ref span12[2]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - ref QuestStep reference24 = ref CollectionsMarshal.AsSpan(list31)[0]; - QuestStep obj22 = new QuestStep(EInteractionType.Combat, 2008763u, new Vector3(465.7511f, 77.56152f, 118.08948f), 612) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - CollectionsMarshal.AsSpan(list32)[0] = 7545u; - obj22.KillEnemyDataIds = list32; - reference24 = obj22; - obj21.Steps = list31; - reference23 = obj21; - ref QuestSequence reference25 = ref span12[3]; - QuestSequence obj23 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023161u, new Vector3(465.62903f, 77.67306f, 114.854614f), 612) - { - StopDistance = 7f, - NextQuestId = new QuestId(2825) - }; - obj23.Steps = list33; - reference25 = obj23; - questRoot4.QuestSequence = list28; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(2825); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - CollectionsMarshal.AsSpan(list34)[0] = "liza"; - questRoot5.Author = list34; - num = 3; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - Span span13 = CollectionsMarshal.AsSpan(list35); - ref QuestSequence reference26 = ref span13[0]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023161u, new Vector3(465.62903f, 77.67306f, 114.854614f), 612) - { - StopDistance = 7f - }; - obj24.Steps = list36; - reference26 = obj24; - ref QuestSequence reference27 = ref span13[1]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.Interact, 1023162u, new Vector3(403.8911f, 114.18445f, 212.32922f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones - }; - obj25.Steps = list37; - reference27 = obj25; - ref QuestSequence reference28 = ref span13[2]; - QuestSequence obj26 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023163u, new Vector3(305.16516f, 45.654415f, 491.59985f), 612) - { - Fly = true, - NextQuestId = new QuestId(2826) - }; - obj26.Steps = list38; - reference28 = obj26; - questRoot5.QuestSequence = list35; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(2826); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - CollectionsMarshal.AsSpan(list39)[0] = "liza"; - questRoot6.Author = list39; - num = 6; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - Span span14 = CollectionsMarshal.AsSpan(list40); - ref QuestSequence reference29 = ref span14[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023163u, new Vector3(305.16516f, 45.654415f, 491.59985f), 612); - obj27.Steps = list41; - reference29 = obj27; - ref QuestSequence reference30 = ref span14[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - Span span15 = CollectionsMarshal.AsSpan(list42); - span15[0] = new QuestStep(EInteractionType.Interact, 1019531u, new Vector3(-70.2984f, 56.0216f, 210.22351f), 612) - { - TargetTerritoryId = (ushort)612, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span15[1] = new QuestStep(EInteractionType.Interact, 1023164u, new Vector3(-127.45862f, 41.197662f, 7.248047f), 612) - { - Fly = true - }; - obj28.Steps = list42; - reference30 = obj28; - ref QuestSequence reference31 = ref span14[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.UseItem, 1023164u, new Vector3(-127.45862f, 41.197662f, 7.248047f), 612) - { - ItemId = 2002274u, - GroundTarget = true - }; - obj29.Steps = list43; - reference31 = obj29; - ref QuestSequence reference32 = ref span14[3]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.UseItem, 1023164u, new Vector3(-127.45862f, 41.197662f, 7.248047f), 612) - { - ItemId = 2002274u, - GroundTarget = true - }; - obj30.Steps = list44; - reference32 = obj30; - ref QuestSequence reference33 = ref span14[4]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.UseItem, 1023164u, new Vector3(-127.45862f, 41.197662f, 7.248047f), 612) - { - ItemId = 2002274u, - GroundTarget = true - }; - obj31.Steps = list45; - reference33 = obj31; - ref QuestSequence reference34 = ref span14[5]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023164u, new Vector3(-127.45862f, 41.197662f, 7.248047f), 612) - { - NextQuestId = new QuestId(2827) - }; - obj32.Steps = list46; - reference34 = obj32; - questRoot6.QuestSequence = list40; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(2827); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - CollectionsMarshal.AsSpan(list47)[0] = "liza"; - questRoot7.Author = list47; - num = 5; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - Span span16 = CollectionsMarshal.AsSpan(list48); - ref QuestSequence reference35 = ref span16[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023164u, new Vector3(-127.45862f, 41.197662f, 7.248047f), 612); - obj33.Steps = list49; - reference35 = obj33; - ref QuestSequence reference36 = ref span16[1]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.Interact, 1021565u, new Vector3(440.11584f, 114.254425f, 212.84802f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones - }; - obj34.Steps = list50; - reference36 = obj34; - ref QuestSequence reference37 = ref span16[2]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.Interact, 2008764u, new Vector3(608.1482f, 48.02002f, 362.6306f), 612) - { - Fly = true - }; - obj35.Steps = list51; - reference37 = obj35; - ref QuestSequence reference38 = ref span16[3]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.Interact, 1023166u, new Vector3(607.3242f, 48.087296f, 364.79736f), 612) - { - StopDistance = 5f - }; - obj36.Steps = list52; - reference38 = obj36; - ref QuestSequence reference39 = ref span16[4]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021565u, new Vector3(440.11584f, 114.254425f, 212.84802f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones, - NextQuestId = new QuestId(2828) - }; - obj37.Steps = list53; - reference39 = obj37; - questRoot7.QuestSequence = list48; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(2828); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - CollectionsMarshal.AsSpan(list54)[0] = "liza"; - questRoot8.Author = list54; - num = 5; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - Span span17 = CollectionsMarshal.AsSpan(list55); - ref QuestSequence reference40 = ref span17[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021565u, new Vector3(440.11584f, 114.254425f, 212.84802f), 612); - obj38.Steps = list56; - reference40 = obj38; - ref QuestSequence reference41 = ref span17[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - Span span18 = CollectionsMarshal.AsSpan(list57); - span18[0] = new QuestStep(EInteractionType.Interact, 1019531u, new Vector3(-70.2984f, 56.0216f, 210.22351f), 612) - { - TargetTerritoryId = (ushort)612, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - ref QuestStep reference42 = ref span18[1]; - QuestStep obj40 = new QuestStep(EInteractionType.Combat, null, new Vector3(-641.61725f, 78.03014f, 118.72834f), 612) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list58 = new List(num3); - CollectionsMarshal.SetCount(list58, num3); - Span span19 = CollectionsMarshal.AsSpan(list58); - span19[0] = 7825u; - span19[1] = 7826u; - span19[2] = 7827u; - obj40.KillEnemyDataIds = list58; - reference42 = obj40; - obj39.Steps = list57; - reference41 = obj39; - ref QuestSequence reference43 = ref span17[2]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.Interact, 1023409u, new Vector3(-642.7558f, 77.98847f, 117.631714f), 612); - obj41.Steps = list59; - reference43 = obj41; - ref QuestSequence reference44 = ref span17[3]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.Interact, 2008893u, new Vector3(-648.49316f, 48.41687f, 245.89917f), 612) - { - Fly = true - }; - obj42.Steps = list60; - reference44 = obj42; - ref QuestSequence reference45 = ref span17[4]; - QuestSequence obj43 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021565u, new Vector3(440.11584f, 114.254425f, 212.84802f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones - }; - obj43.Steps = list61; - reference45 = obj43; - questRoot8.QuestSequence = list55; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(2842); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - CollectionsMarshal.AsSpan(list62)[0] = "JerryWester"; - questRoot9.Author = list62; - num = 4; - List list63 = new List(num); - CollectionsMarshal.SetCount(list63, num); - Span span20 = CollectionsMarshal.AsSpan(list63); - ref QuestSequence reference46 = ref span20[0]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020873u, new Vector3(-327.96222f, 258.90652f, 757.3815f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGhiri, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj44.Steps = list64; - reference46 = obj44; - ref QuestSequence reference47 = ref span20[1]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.Interact, 1023258u, new Vector3(-232.3186f, 258.90652f, 799.46594f), 620); - obj45.Steps = list65; - reference47 = obj45; - ref QuestSequence reference48 = ref span20[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - Span span21 = CollectionsMarshal.AsSpan(list66); - span21[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-245.80753f, 258.90652f, 786.1918f), 620) - { - Mount = true - }; - ref QuestStep reference49 = ref span21[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1023259u, new Vector3(-293.41577f, 258.9065f, 788.63196f), 620); - num3 = 6; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - Span span22 = CollectionsMarshal.AsSpan(list67); - span22[0] = null; - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list67; - reference49 = questStep3; - ref QuestStep reference50 = ref span21[2]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1020871u, new Vector3(-237.90344f, 257.71973f, 741.5731f), 620); - num3 = 6; - List list68 = new List(num3); - CollectionsMarshal.SetCount(list68, num3); - Span span23 = CollectionsMarshal.AsSpan(list68); - span23[0] = null; - span23[1] = null; - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list68; - reference50 = questStep4; - ref QuestStep reference51 = ref span21[3]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1020870u, new Vector3(-218.61603f, 257.52652f, 737.1786f), 620); - num3 = 6; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - Span span24 = CollectionsMarshal.AsSpan(list69); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list69; - reference51 = questStep5; - obj46.Steps = list66; - reference48 = obj46; - ref QuestSequence reference52 = ref span20[3]; - QuestSequence obj47 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023258u, new Vector3(-232.3186f, 258.90652f, 799.46594f), 620); - obj47.Steps = list70; - reference52 = obj47; - questRoot9.QuestSequence = list63; - AddQuest(questId9, questRoot9); - } - - private static void LoadQuests57() - { - QuestId questId = new QuestId(2851); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "JerryWester"; - questRoot.Author = list; - num = 5; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023167u, new Vector3(313.28296f, 324.51355f, 362.4475f), 620); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1023168u, new Vector3(357.07642f, 325.1959f, 333.5775f), 620); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1023169u, new Vector3(-199.35913f, 258.90652f, 780.9109f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGhiri - }; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - Span span2 = CollectionsMarshal.AsSpan(list6); - span2[0] = new QuestStep(EInteractionType.Interact, 1021557u, new Vector3(-130.02216f, 305.38147f, 189.71533f), 620) - { - TargetTerritoryId = (ushort)620, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.LochsPortaPraetoria - } - } - }; - span2[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(1.7183262f, 317.60666f, 141.11252f), 620) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.LochsPortaPraetoria - } - } - }; - span2[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-791.2012f, 46.3994f, -15.904689f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteLocked = EAetheryteLocation.LochsPortaPraetoria - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - AetheryteLocked = EAetheryteLocation.LochsPortaPraetoria - } - } - }; - span2[3] = new QuestStep(EInteractionType.Interact, 1023168u, new Vector3(357.07642f, 325.1959f, 333.5775f), 620); - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - Span span3 = CollectionsMarshal.AsSpan(list7); - span3[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(364.314f, 326.0898f, 338.17725f), 620); - span3[1] = new QuestStep(EInteractionType.CompleteQuest, 1023167u, new Vector3(313.28296f, 324.51355f, 362.4475f), 620); - obj5.Steps = list7; - reference5 = obj5; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(2860); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - CollectionsMarshal.AsSpan(list8)[0] = "JerryWester"; - questRoot2.Author = list8; - num = 4; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - Span span4 = CollectionsMarshal.AsSpan(list9); - ref QuestSequence reference6 = ref span4[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020893u, new Vector3(283.77197f, 322.87146f, 752.34607f), 620); - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span4[1]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - Span span5 = CollectionsMarshal.AsSpan(list11); - ref QuestStep reference8 = ref span5[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1020888u, new Vector3(321.21765f, 324.3033f, 390.70715f), 620); - int num3 = 6; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - Span span6 = CollectionsMarshal.AsSpan(list12); - span6[0] = null; - span6[1] = null; - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list12; - reference8 = questStep; - ref QuestStep reference9 = ref span5[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1020886u, new Vector3(342.70227f, 325.54596f, 359.54822f), 620); - num3 = 6; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - Span span7 = CollectionsMarshal.AsSpan(list13); - span7[0] = null; - span7[1] = null; - span7[2] = null; - span7[3] = null; - span7[4] = null; - span7[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list13; - reference9 = questStep2; - ref QuestStep reference10 = ref span5[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1020887u, new Vector3(337.20898f, 324.30093f, 328.51135f), 620); - num3 = 6; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - Span span8 = CollectionsMarshal.AsSpan(list14); - span8[0] = null; - span8[1] = null; - span8[2] = null; - span8[3] = null; - span8[4] = null; - span8[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list14; - reference10 = questStep3; - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference11 = ref span4[2]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.Interact, 1020870u, new Vector3(-218.61603f, 257.52652f, 737.1786f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGhiri - }; - obj8.Steps = list15; - reference11 = obj8; - ref QuestSequence reference12 = ref span4[3]; - QuestSequence obj9 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - Span span9 = CollectionsMarshal.AsSpan(list16); - span9[0] = new QuestStep(EInteractionType.Interact, 1021557u, new Vector3(-130.02216f, 305.38147f, 189.71533f), 620) - { - TargetTerritoryId = (ushort)620, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.LochsPortaPraetoria - } - } - }; - span9[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(1.7183262f, 317.60666f, 141.11252f), 620) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.LochsPortaPraetoria - } - } - }; - span9[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-791.2012f, 46.3994f, -15.904689f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteLocked = EAetheryteLocation.LochsPortaPraetoria - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - AetheryteLocked = EAetheryteLocation.LochsPortaPraetoria - } - } - }; - span9[3] = new QuestStep(EInteractionType.CompleteQuest, 1020893u, new Vector3(283.77197f, 322.87146f, 752.34607f), 620); - obj9.Steps = list16; - reference12 = obj9; - questRoot2.QuestSequence = list9; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(2877); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - CollectionsMarshal.AsSpan(list17)[0] = "JerryWester"; - questRoot3.Author = list17; - num = 3; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - Span span10 = CollectionsMarshal.AsSpan(list18); - ref QuestSequence reference13 = ref span10[0]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022992u, new Vector3(-506.6148f, 8.7f, -40.299072f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj10.Steps = list19; - reference13 = obj10; - ref QuestSequence reference14 = ref span10[1]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - ref QuestStep reference15 = ref CollectionsMarshal.AsSpan(list20)[0]; - QuestStep obj12 = new QuestStep(EInteractionType.Combat, null, new Vector3(-257.40616f, 98.88382f, -488.98062f), 621) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - CollectionsMarshal.AsSpan(list21)[0] = 7849u; - obj12.KillEnemyDataIds = list21; - reference15 = obj12; - obj11.Steps = list20; - reference14 = obj11; - ref QuestSequence reference16 = ref span10[2]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022992u, new Vector3(-506.6148f, 8.7f, -40.299072f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria - }; - obj13.Steps = list22; - reference16 = obj13; - questRoot3.QuestSequence = list18; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(2880); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - CollectionsMarshal.AsSpan(list23)[0] = "JerryWester"; - questRoot4.Author = list23; - num = 3; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - Span span11 = CollectionsMarshal.AsSpan(list24); - ref QuestSequence reference17 = ref span11[0]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022990u, new Vector3(-524.58997f, 8.688546f, -19.424805f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj14.Steps = list25; - reference17 = obj14; - ref QuestSequence reference18 = ref span11[1]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - Span span12 = CollectionsMarshal.AsSpan(list26); - span12[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-64.335396f, -0.3f, -341.21475f), 621); - span12[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(2.4417508f, 0.14104319f, -387.06744f), 621); - ref QuestStep reference19 = ref span12[2]; - QuestStep obj16 = new QuestStep(EInteractionType.Combat, null, new Vector3(-89.3111f, 42.999996f, -677.6074f), 621) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - CollectionsMarshal.AsSpan(list27)[0] = new ComplexCombatData - { - DataId = 6651u, - MinimumKillCount = 4u - }; - obj16.ComplexCombatData = list27; - reference19 = obj16; - obj15.Steps = list26; - reference18 = obj15; - ref QuestSequence reference20 = ref span11[2]; - QuestSequence obj17 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022990u, new Vector3(-524.58997f, 8.688546f, -19.424805f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria - }; - obj17.Steps = list28; - reference20 = obj17; - questRoot4.QuestSequence = list24; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(2881); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - CollectionsMarshal.AsSpan(list29)[0] = "JerryWester"; - questRoot5.Author = list29; - num = 5; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - Span span13 = CollectionsMarshal.AsSpan(list30); - ref QuestSequence reference21 = ref span13[0]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022987u, new Vector3(-662.13477f, 49.999794f, -48.874695f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj18.Steps = list31; - reference21 = obj18; - ref QuestSequence reference22 = ref span13[1]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 1023174u, new Vector3(-82.29199f, 1.134715f, -297.56616f), 621); - obj19.Steps = list32; - reference22 = obj19; - ref QuestSequence reference23 = ref span13[2]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - Span span14 = CollectionsMarshal.AsSpan(list33); - span14[0] = new QuestStep(EInteractionType.Dive, null, new Vector3(-90.963715f, -0.6f, -263.12756f), 621) - { - StopDistance = 0.5f - }; - span14[1] = new QuestStep(EInteractionType.Interact, 2008779u, new Vector3(-56.229553f, -339.04022f, -103.89868f), 621); - obj20.Steps = list33; - reference23 = obj20; - ref QuestSequence reference24 = ref span13[3]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - Span span15 = CollectionsMarshal.AsSpan(list34); - span15[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-90.963715f, -0.6f, -263.12756f), 621) - { - StopDistance = 0.5f, - DisableNavmesh = true, - Mount = true, - RestartNavigationIfCancelled = false - }; - span15[1] = new QuestStep(EInteractionType.Interact, 1023174u, new Vector3(-82.29199f, 1.134715f, -297.56616f), 621); - obj21.Steps = list34; - reference24 = obj21; - ref QuestSequence reference25 = ref span13[4]; - QuestSequence obj22 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022987u, new Vector3(-662.13477f, 49.999794f, -48.874695f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria - }; - obj22.Steps = list35; - reference25 = obj22; - questRoot5.QuestSequence = list30; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(2883); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - CollectionsMarshal.AsSpan(list36)[0] = "JerryWester"; - questRoot6.Author = list36; - num = 3; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - Span span16 = CollectionsMarshal.AsSpan(list37); - ref QuestSequence reference26 = ref span16[0]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022991u, new Vector3(-539.6353f, 7.6119823f, 52.140015f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj23.Steps = list38; - reference26 = obj23; - ref QuestSequence reference27 = ref span16[1]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - Span span17 = CollectionsMarshal.AsSpan(list39); - span17[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2007987u, new Vector3(-380.2091f, 10.055664f, 16.891724f), 621) - { - AetherCurrentId = 2818165u - }; - ref QuestStep reference28 = ref span17[1]; - QuestStep obj25 = new QuestStep(EInteractionType.Combat, null, new Vector3(-197.38828f, 3.820687f, 288.09766f), 621) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - CollectionsMarshal.AsSpan(list40)[0] = 6599u; - obj25.KillEnemyDataIds = list40; - obj25.CombatItemUse = new CombatItemUse - { - ItemId = 2002315u, - Condition = ECombatItemUseCondition.HealthPercent, - Value = 50 - }; - reference28 = obj25; - obj24.Steps = list39; - reference27 = obj24; - ref QuestSequence reference29 = ref span16[2]; - QuestSequence obj26 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022991u, new Vector3(-539.6353f, 7.6119823f, 52.140015f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria - }; - obj26.Steps = list41; - reference29 = obj26; - questRoot6.QuestSequence = list37; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(2890); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - CollectionsMarshal.AsSpan(list42)[0] = "liza"; - questRoot7.Author = list42; - num = 5; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - Span span18 = CollectionsMarshal.AsSpan(list43); - ref QuestSequence reference30 = ref span18[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006750u, new Vector3(16.464417f, 6.750492f, -7.3396606f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj27.Steps = list44; - reference30 = obj27; - ref QuestSequence reference31 = ref span18[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.Interact, 1022505u, new Vector3(192.46204f, -2.5453281f, 73.746826f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - } - }; - obj28.Steps = list45; - reference31 = obj28; - ref QuestSequence reference32 = ref span18[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaArcher, - To = EAetheryteLocation.Gridania - } - }; - obj29.Steps = list46; - reference32 = obj29; - ref QuestSequence reference33 = ref span18[3]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Interact, 1022508u, new Vector3(-71.33594f, -7.877128f, 240.34485f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - obj30.Steps = list47; - reference33 = obj30; - ref QuestSequence reference34 = ref span18[4]; - QuestSequence obj31 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022511u, new Vector3(-653.13196f, 130f, -523.827f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - NextQuestId = new QuestId(2891) - }; - obj31.Steps = list48; - reference34 = obj31; - questRoot7.QuestSequence = list43; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(2891); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - CollectionsMarshal.AsSpan(list49)[0] = "liza"; - questRoot8.Author = list49; - num = 5; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - Span span19 = CollectionsMarshal.AsSpan(list50); - ref QuestSequence reference35 = ref span19[0]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022512u, new Vector3(-653.04034f, 130f, -522.1485f), 612) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj32.Steps = list51; - reference35 = obj32; - ref QuestSequence reference36 = ref span19[1]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.Interact, 1022514u, new Vector3(-586.0533f, 130.0406f, -534.59985f), 612) - { - Fly = true - }; - obj33.Steps = list52; - reference36 = obj33; - ref QuestSequence reference37 = ref span19[2]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - ref QuestStep reference38 = ref CollectionsMarshal.AsSpan(list53)[0]; - QuestStep obj35 = new QuestStep(EInteractionType.Combat, null, new Vector3(-247.82184f, 61.395123f, -484.64178f), 612) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - Span span20 = CollectionsMarshal.AsSpan(list54); - span20[0] = 7494u; - span20[1] = 7499u; - obj35.KillEnemyDataIds = list54; - reference38 = obj35; - obj34.Steps = list53; - reference37 = obj34; - ref QuestSequence reference39 = ref span19[3]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.Interact, 1022515u, new Vector3(-247.82184f, 61.395123f, -484.64178f), 612) - { - StopDistance = 5f - }; - obj36.Steps = list55; - reference39 = obj36; - ref QuestSequence reference40 = ref span19[4]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022513u, new Vector3(-650.9041f, 130f, -520.8667f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - NextQuestId = new QuestId(2892) - }; - obj37.Steps = list56; - reference40 = obj37; - questRoot8.QuestSequence = list50; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(2892); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - CollectionsMarshal.AsSpan(list57)[0] = "liza"; - questRoot9.Author = list57; - num = 5; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - Span span21 = CollectionsMarshal.AsSpan(list58); - ref QuestSequence reference41 = ref span21[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022512u, new Vector3(-653.04034f, 130f, -522.1485f), 612) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj38.Steps = list59; - reference41 = obj38; - ref QuestSequence reference42 = ref span21[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.Interact, 1022519u, new Vector3(-616.8155f, 130.14346f, -469.41333f), 612) - { - Fly = true - }; - obj39.Steps = list60; - reference42 = obj39; - ref QuestSequence reference43 = ref span21[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.Interact, 1022520u, new Vector3(-610.956f, 125.92732f, -424.58234f), 612) - { - Fly = true - }; - obj40.Steps = list61; - reference43 = obj40; - ref QuestSequence reference44 = ref span21[3]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - Span span22 = CollectionsMarshal.AsSpan(list62); - span22[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.37027f, 45.90861f, -362.9656f), 612) - { - Fly = true - }; - span22[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 1022522u, new Vector3(214.86218f, 45.93671f, -360.61652f), 612); - obj41.Steps = list62; - reference44 = obj41; - ref QuestSequence reference45 = ref span21[4]; - QuestSequence obj42 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022523u, new Vector3(-653.04034f, 130f, -522.17896f), 612) - { - StopDistance = 5f, - NextQuestId = new QuestId(2893) - }; - obj42.Steps = list63; - reference45 = obj42; - questRoot9.QuestSequence = list58; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(2893); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - CollectionsMarshal.AsSpan(list64)[0] = "liza"; - questRoot10.Author = list64; - num = 6; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - Span span23 = CollectionsMarshal.AsSpan(list65); - ref QuestSequence reference46 = ref span23[0]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - ref QuestStep reference47 = ref CollectionsMarshal.AsSpan(list66)[0]; - QuestStep obj44 = new QuestStep(EInteractionType.AcceptQuest, 1022523u, new Vector3(-653.04034f, 130f, -522.17896f), 612) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - CollectionsMarshal.AsSpan(list67)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBBRD680_02893_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBBRD680_02893_A1_000_003") - }; - obj44.DialogueChoices = list67; - reference47 = obj44; - obj43.Steps = list66; - reference46 = obj43; - ref QuestSequence reference48 = ref span23[1]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Interact, 1022514u, new Vector3(-586.0533f, 130.0406f, -534.59985f), 612) - { - Fly = true - }; - obj45.Steps = list68; - reference48 = obj45; - ref QuestSequence reference49 = ref span23[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - ref QuestStep reference50 = ref CollectionsMarshal.AsSpan(list69)[0]; - QuestStep obj47 = new QuestStep(EInteractionType.Combat, 2008682u, new Vector3(-610.2846f, 42.801514f, 290.79114f), 612) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list70 = new List(num3); - CollectionsMarshal.SetCount(list70, num3); - Span span24 = CollectionsMarshal.AsSpan(list70); - span24[0] = 7494u; - span24[1] = 7499u; - obj47.KillEnemyDataIds = list70; - reference50 = obj47; - obj46.Steps = list69; - reference49 = obj46; - ref QuestSequence reference51 = ref span23[3]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.Interact, 1022514u, new Vector3(-586.0533f, 130.0406f, -534.59985f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens - }; - obj48.Steps = list71; - reference51 = obj48; - ref QuestSequence reference52 = ref span23[4]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - ref QuestStep reference53 = ref CollectionsMarshal.AsSpan(list72)[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1022527u, new Vector3(-555.871f, 91.035034f, -185.8396f), 612); - num3 = 1; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - CollectionsMarshal.AsSpan(list73)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBBRD680_02893_Q2_000_000"), - Answer = new ExcelRef("TEXT_JOBBRD680_02893_A2_000_001") - }; - questStep4.DialogueChoices = list73; - reference53 = questStep4; - obj49.Steps = list72; - reference52 = obj49; - ref QuestSequence reference54 = ref span23[5]; - QuestSequence obj50 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022528u, new Vector3(-52.35376f, -3.326972f, 20.58435f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - NextQuestId = new QuestId(2894) - }; - obj50.Steps = list74; - reference54 = obj50; - questRoot10.QuestSequence = list65; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(2894); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - CollectionsMarshal.AsSpan(list75)[0] = "liza"; - questRoot11.Author = list75; - num = 8; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - Span span25 = CollectionsMarshal.AsSpan(list76); - ref QuestSequence reference55 = ref span25[0]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022528u, new Vector3(-52.35376f, -3.326972f, 20.58435f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj51.Steps = list77; - reference55 = obj51; - ref QuestSequence reference56 = ref span25[1]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - Span span26 = CollectionsMarshal.AsSpan(list78); - ref QuestStep reference57 = ref span26[0]; - QuestStep obj53 = new QuestStep(EInteractionType.Interact, 1000254u, new Vector3(157.7019f, 15.900381f, -270.34418f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - } - }; - num3 = 6; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - Span span27 = CollectionsMarshal.AsSpan(list79); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj53.CompletionQuestVariablesFlags = list79; - reference57 = obj53; - ref QuestStep reference58 = ref span26[1]; - QuestStep obj54 = new QuestStep(EInteractionType.Interact, 1000200u, new Vector3(209.55212f, 0.9999819f, 35.01941f), 132) - { - StopDistance = 5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLancer, - To = EAetheryteLocation.GridaniaArcher - } - }; - num3 = 6; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - Span span28 = CollectionsMarshal.AsSpan(list80); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj54.CompletionQuestVariablesFlags = list80; - reference58 = obj54; - obj52.Steps = list78; - reference56 = obj52; - ref QuestSequence reference59 = ref span25[2]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.Interact, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaArcher, - To = EAetheryteLocation.Gridania - } - }; - obj55.Steps = list81; - reference59 = obj55; - ref QuestSequence reference60 = ref span25[3]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - Span span29 = CollectionsMarshal.AsSpan(list82); - span29[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-183.93188f, -53.111656f, 330.18417f), 154) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - span29[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-248.3785f, -74.95606f, 424.39832f), 154) - { - Fly = true - }; - span29[2] = new QuestStep(EInteractionType.SinglePlayerDuty, 1022529u, new Vector3(-248.52368f, -75.63651f, 426.9015f), 154); - obj56.Steps = list82; - reference60 = obj56; - span25[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference61 = ref span25[5]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.Interact, 1022530u, new Vector3(-246.93683f, -75.542496f, 426.5354f), 154) - { - StopDistance = 5f - }; - obj57.Steps = list83; - reference61 = obj57; - ref QuestSequence reference62 = ref span25[6]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.Interact, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj58.Steps = list84; - reference62 = obj58; - ref QuestSequence reference63 = ref span25[7]; - QuestSequence obj59 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006750u, new Vector3(16.464417f, 6.750492f, -7.3396606f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill - }; - obj59.Steps = list85; - reference63 = obj59; - questRoot11.QuestSequence = list76; - AddQuest(questId11, questRoot11); - } - - private static void LoadQuests58() - { - QuestId questId = new QuestId(2900); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 4; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006746u, new Vector3(460.65454f, 8.309061f, 74.47925f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1023885u, new Vector3(217.30359f, 7.999984f, 686.427f), 135) - { - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj2.Steps = list4; - reference2 = obj2; - span[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference3 = ref span[3]; - QuestSequence obj3 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023885u, new Vector3(217.30359f, 7.999984f, 686.427f), 135) - { - StopDistance = 5f, - NextQuestId = new QuestId(2901) - }; - obj3.Steps = list5; - reference3 = obj3; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(2901); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list6 = new List(num); - CollectionsMarshal.SetCount(list6, num); - CollectionsMarshal.AsSpan(list6)[0] = "liza"; - questRoot2.Author = list6; - num = 6; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - Span span2 = CollectionsMarshal.AsSpan(list7); - ref QuestSequence reference4 = ref span2[0]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023885u, new Vector3(217.30359f, 7.999984f, 686.427f), 135) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj4.Steps = list8; - reference4 = obj4; - ref QuestSequence reference5 = ref span2[1]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.Interact, 1022806u, new Vector3(-164.5686f, 81.072655f, -294.33136f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference6 = ref span2[2]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - ref QuestStep reference7 = ref CollectionsMarshal.AsSpan(list10)[0]; - QuestStep obj7 = new QuestStep(EInteractionType.Combat, 2008649u, new Vector3(-295.85718f, 53.20813f, -283.98572f), 180) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - int num3 = 2; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - Span span3 = CollectionsMarshal.AsSpan(list11); - span3[0] = 7500u; - span3[1] = 7501u; - obj7.KillEnemyDataIds = list11; - reference7 = obj7; - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference8 = ref span2[3]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - ref QuestStep reference9 = ref CollectionsMarshal.AsSpan(list12)[0]; - QuestStep obj9 = new QuestStep(EInteractionType.Combat, 2008650u, new Vector3(-408.9876f, 46.860474f, -305.43988f), 180) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - Span span4 = CollectionsMarshal.AsSpan(list13); - span4[0] = 7500u; - span4[1] = 7501u; - obj9.KillEnemyDataIds = list13; - reference9 = obj9; - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference10 = ref span2[4]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.Interact, 1022811u, new Vector3(-359.9756f, 58.723488f, -365.37732f), 180) - { - Fly = true - }; - obj10.Steps = list14; - reference10 = obj10; - ref QuestSequence reference11 = ref span2[5]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023885u, new Vector3(217.30359f, 7.999984f, 686.427f), 135) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks, - NextQuestId = new QuestId(2902) - }; - obj11.Steps = list15; - reference11 = obj11; - questRoot2.QuestSequence = list7; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(2902); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - CollectionsMarshal.AsSpan(list16)[0] = "liza"; - questRoot3.Author = list16; - num = 8; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - Span span5 = CollectionsMarshal.AsSpan(list17); - ref QuestSequence reference12 = ref span5[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023885u, new Vector3(217.30359f, 7.999984f, 686.427f), 135) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj12.Steps = list18; - reference12 = obj12; - ref QuestSequence reference13 = ref span5[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.Interact, 1022816u, new Vector3(-4.3183594f, 39.78392f, 197.52808f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport - }; - obj13.Steps = list19; - reference13 = obj13; - ref QuestSequence reference14 = ref span5[2]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - ref QuestStep reference15 = ref CollectionsMarshal.AsSpan(list20)[0]; - QuestStep obj15 = new QuestStep(EInteractionType.Combat, 2008651u, new Vector3(-4.8066406f, 39.475098f, 348.2871f), 137) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - Span span6 = CollectionsMarshal.AsSpan(list21); - span6[0] = 7500u; - span6[1] = 7501u; - obj15.KillEnemyDataIds = list21; - reference15 = obj15; - obj14.Steps = list20; - reference14 = obj14; - ref QuestSequence reference16 = ref span5[3]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - ref QuestStep reference17 = ref CollectionsMarshal.AsSpan(list22)[0]; - QuestStep obj17 = new QuestStep(EInteractionType.Combat, 2008652u, new Vector3(-82.59711f, 38.437378f, 501.42664f), 137) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - Span span7 = CollectionsMarshal.AsSpan(list23); - span7[0] = 7502u; - span7[1] = 7503u; - obj17.KillEnemyDataIds = list23; - reference17 = obj17; - obj16.Steps = list22; - reference16 = obj16; - ref QuestSequence reference18 = ref span5[4]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - ref QuestStep reference19 = ref CollectionsMarshal.AsSpan(list24)[0]; - QuestStep obj19 = new QuestStep(EInteractionType.Combat, 2008653u, new Vector3(-115.70923f, 49.66809f, 603.02124f), 137) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - Span span8 = CollectionsMarshal.AsSpan(list25); - span8[0] = 7502u; - span8[1] = 7503u; - obj19.KillEnemyDataIds = list25; - reference19 = obj19; - obj18.Steps = list24; - reference18 = obj18; - ref QuestSequence reference20 = ref span5[5]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.Interact, 1022821u, new Vector3(-149.85895f, 55.805172f, 642.7251f), 137) - { - Fly = true - }; - obj20.Steps = list26; - reference20 = obj20; - ref QuestSequence reference21 = ref span5[6]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.Interact, 1022825u, new Vector3(-208.08728f, 46.619385f, 467.73462f), 137) - { - Fly = true - }; - obj21.Steps = list27; - reference21 = obj21; - ref QuestSequence reference22 = ref span5[7]; - QuestSequence obj22 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023885u, new Vector3(217.30359f, 7.999984f, 686.427f), 135) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks, - NextQuestId = new QuestId(2903) - }; - obj22.Steps = list28; - reference22 = obj22; - questRoot3.QuestSequence = list17; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(2903); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - CollectionsMarshal.AsSpan(list29)[0] = "liza"; - questRoot4.Author = list29; - num = 6; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - Span span9 = CollectionsMarshal.AsSpan(list30); - ref QuestSequence reference23 = ref span9[0]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023885u, new Vector3(217.30359f, 7.999984f, 686.427f), 135) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj23.Steps = list31; - reference23 = obj23; - ref QuestSequence reference24 = ref span9[1]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - Span span10 = CollectionsMarshal.AsSpan(list32); - ref QuestStep reference25 = ref span10[0]; - QuestStep obj25 = new QuestStep(EInteractionType.Interact, 1019355u, new Vector3(556.8779f, -19.505642f, 397.14648f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion - }; - num3 = 6; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - Span span11 = CollectionsMarshal.AsSpan(list33); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj25.CompletionQuestVariablesFlags = list33; - reference25 = obj25; - ref QuestStep reference26 = ref span10[1]; - QuestStep obj26 = new QuestStep(EInteractionType.Interact, 1019347u, new Vector3(575.2803f, -19.505632f, 343.74f), 622) - { - Fly = true - }; - num3 = 6; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - Span span12 = CollectionsMarshal.AsSpan(list34); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj26.CompletionQuestVariablesFlags = list34; - reference26 = obj26; - ref QuestStep reference27 = ref span10[2]; - QuestStep obj27 = new QuestStep(EInteractionType.Interact, 1019354u, new Vector3(573.6323f, -19.505655f, 311.6654f), 622) - { - Fly = true - }; - num3 = 6; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - Span span13 = CollectionsMarshal.AsSpan(list35); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj27.CompletionQuestVariablesFlags = list35; - reference27 = obj27; - obj24.Steps = list32; - reference24 = obj24; - ref QuestSequence reference28 = ref span9[2]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - ref QuestStep reference29 = ref CollectionsMarshal.AsSpan(list36)[0]; - QuestStep obj29 = new QuestStep(EInteractionType.Combat, null, new Vector3(-186.52919f, 2.935472f, 369.28806f), 622) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - CollectionsMarshal.AsSpan(list37)[0] = 6641u; - obj29.KillEnemyDataIds = list37; - reference29 = obj29; - obj28.Steps = list36; - reference28 = obj28; - ref QuestSequence reference30 = ref span9[3]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.Interact, 1022832u, new Vector3(-183.76447f, 2.8128173f, 370.3822f), 622) - { - StopDistance = 5f - }; - obj30.Steps = list38; - reference30 = obj30; - ref QuestSequence reference31 = ref span9[4]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 1022834u, new Vector3(-339.25385f, 21.774029f, 268.6045f), 622) - { - Fly = true - }; - obj31.Steps = list39; - reference31 = obj31; - ref QuestSequence reference32 = ref span9[5]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - ref QuestStep reference33 = ref CollectionsMarshal.AsSpan(list40)[0]; - QuestStep obj33 = new QuestStep(EInteractionType.CompleteQuest, 1022836u, new Vector3(525.10876f, -19.50681f, 403.3722f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion - }; - num3 = 1; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - CollectionsMarshal.AsSpan(list41)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBWAR680_02903_Q1_000_075"), - Answer = new ExcelRef("TEXT_JOBWAR680_02903_A1_000_076") - }; - obj33.DialogueChoices = list41; - obj33.NextQuestId = new QuestId(2904); - reference33 = obj33; - obj32.Steps = list40; - reference32 = obj32; - questRoot4.QuestSequence = list30; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(2904); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - CollectionsMarshal.AsSpan(list42)[0] = "liza"; - questRoot5.Author = list42; - num = 10; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - Span span14 = CollectionsMarshal.AsSpan(list43); - ref QuestSequence reference34 = ref span14[0]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022836u, new Vector3(525.10876f, -19.50681f, 403.3722f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(525.10876f, -19.50681f, 403.3722f), - MaximumDistance = 100f, - TerritoryId = 622 - } - } - } - }; - obj34.Steps = list44; - reference34 = obj34; - ref QuestSequence reference35 = ref span14[1]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.Interact, 1022837u, new Vector3(548.97375f, -19.503174f, 277.57678f), 622) - { - Fly = true - }; - obj35.Steps = list45; - reference35 = obj35; - ref QuestSequence reference36 = ref span14[2]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(534.11285f, 38.830116f, -473.95575f), 622); - obj36.Steps = list46; - reference36 = obj36; - ref QuestSequence reference37 = ref span14[3]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Interact, 1022839u, new Vector3(467.46008f, 39.964607f, -440.8484f), 622) - { - Fly = true - }; - obj37.Steps = list47; - reference37 = obj37; - ref QuestSequence reference38 = ref span14[4]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.Interact, 1022836u, new Vector3(525.10876f, -19.50681f, 403.3722f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion - }; - obj38.Steps = list48; - reference38 = obj38; - ref QuestSequence reference39 = ref span14[5]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.Emote, 1022836u, new Vector3(525.10876f, -19.50681f, 403.3722f), 622) - { - Emote = EEmote.Slap - }; - obj39.Steps = list49; - reference39 = obj39; - ref QuestSequence reference40 = ref span14[6]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - ref QuestStep reference41 = ref CollectionsMarshal.AsSpan(list50)[0]; - QuestStep obj41 = new QuestStep(EInteractionType.SinglePlayerDuty, 1022840u, new Vector3(233.38672f, 23.094816f, -234.57697f), 622) - { - Fly = true - }; - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions(); - num3 = 1; - List list51 = new List(num3); - CollectionsMarshal.SetCount(list51, num3); - CollectionsMarshal.AsSpan(list51)[0] = "Keeps attacking the invulnerable boss instead of the mammoths, thus letting your allied NPC die"; - singlePlayerDutyOptions.Notes = list51; - obj41.SinglePlayerDutyOptions = singlePlayerDutyOptions; - reference41 = obj41; - obj40.Steps = list50; - reference40 = obj40; - span14[7] = new QuestSequence - { - Sequence = 7 - }; - ref QuestSequence reference42 = ref span14[8]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.Interact, 1022841u, new Vector3(233.17297f, 23.085413f, -234.42438f), 622); - obj42.Steps = list52; - reference42 = obj42; - ref QuestSequence reference43 = ref span14[9]; - QuestSequence obj43 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023885u, new Vector3(217.30359f, 7.999984f, 686.427f), 135) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }; - obj43.Steps = list53; - reference43 = obj43; - questRoot5.QuestSequence = list43; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(2905); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - CollectionsMarshal.AsSpan(list54)[0] = "liza"; - questRoot6.Author = list54; - num = 5; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - Span span15 = CollectionsMarshal.AsSpan(list55); - ref QuestSequence reference44 = ref span15[0]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj44.Steps = list56; - reference44 = obj44; - ref QuestSequence reference45 = ref span15[1]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.Interact, 1022146u, new Vector3(56.321045f, 207.33994f, -31.937195f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire - }; - obj45.Steps = list57; - reference45 = obj45; - ref QuestSequence reference46 = ref span15[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - Span span16 = CollectionsMarshal.AsSpan(list58); - ref QuestStep reference47 = ref span16[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1017656u, new Vector3(70.7561f, 207.28993f, 0.59503174f), 478); - num3 = 6; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - Span span17 = CollectionsMarshal.AsSpan(list59); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list59; - reference47 = questStep; - ref QuestStep reference48 = ref span16[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1013721u, new Vector3(17.380005f, 205.38686f, 37.491333f), 478); - num3 = 6; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - Span span18 = CollectionsMarshal.AsSpan(list60); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list60; - reference48 = questStep2; - ref QuestStep reference49 = ref span16[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1012133u, new Vector3(-26.840637f, 206.49944f, 28.67163f), 478); - num3 = 6; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - Span span19 = CollectionsMarshal.AsSpan(list61); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list61; - reference49 = questStep3; - obj46.Steps = list58; - reference46 = obj46; - ref QuestSequence reference50 = ref span15[3]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.Interact, 1022148u, new Vector3(-78.965515f, 206.50021f, 23.575134f), 478); - obj47.Steps = list62; - reference50 = obj47; - ref QuestSequence reference51 = ref span15[4]; - QuestSequence obj48 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012251u, new Vector3(12.313965f, -12.020877f, 40.268433f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardBrume - } - }; - obj48.Steps = list63; - reference51 = obj48; - questRoot6.QuestSequence = list55; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(2906); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - CollectionsMarshal.AsSpan(list64)[0] = "liza"; - questRoot7.Author = list64; - num = 7; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - Span span20 = CollectionsMarshal.AsSpan(list65); - ref QuestSequence reference52 = ref span20[0]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012251u, new Vector3(12.313965f, -12.020877f, 40.268433f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardBrume - }, - SkipConditions = new SkipConditions - { - AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj49.Steps = list66; - reference52 = obj49; - ref QuestSequence reference53 = ref span20[1]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.Interact, 1022151u, new Vector3(115.098755f, 24.398598f, 2.822876f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardBrume, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj50.Steps = list67; - reference53 = obj50; - ref QuestSequence reference54 = ref span20[2]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Interact, 1022152u, new Vector3(3.9215698f, 27.790508f, -150.83551f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - } - }; - obj51.Steps = list68; - reference54 = obj51; - ref QuestSequence reference55 = ref span20[3]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSaintReymanaudsCathedral, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - obj52.Steps = list69; - reference55 = obj52; - ref QuestSequence reference56 = ref span20[4]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - ref QuestStep reference57 = ref CollectionsMarshal.AsSpan(list70)[0]; - QuestStep obj54 = new QuestStep(EInteractionType.Combat, null, new Vector3(660.36426f, 202.54167f, -180.60214f), 397) - { - StopDistance = 1f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - CollectionsMarshal.AsSpan(list71)[0] = 7486u; - obj54.KillEnemyDataIds = list71; - reference57 = obj54; - obj53.Steps = list70; - reference56 = obj53; - ref QuestSequence reference58 = ref span20[5]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.Interact, 1022153u, new Vector3(662.95874f, 202.59106f, -177.14203f), 397) - { - StopDistance = 7f - }; - obj55.Steps = list72; - reference58 = obj55; - ref QuestSequence reference59 = ref span20[6]; - QuestSequence obj56 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012251u, new Vector3(12.313965f, -12.020877f, 40.268433f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardBrume - } - }; - obj56.Steps = list73; - reference59 = obj56; - questRoot7.QuestSequence = list65; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(2907); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - CollectionsMarshal.AsSpan(list74)[0] = "UcanPatates"; - questRoot8.Author = list74; - num = 6; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - Span span21 = CollectionsMarshal.AsSpan(list75); - ref QuestSequence reference60 = ref span21[0]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012251u, new Vector3(12.313965f, -12.020877f, 40.268433f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardBrume - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj57.Steps = list76; - reference60 = obj57; - ref QuestSequence reference61 = ref span21[1]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Interact, 1022157u, new Vector3(-323.9643f, 239.9684f, 372.91516f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj58.Steps = list77; - reference61 = obj58; - ref QuestSequence reference62 = ref span21[2]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1022163u, new Vector3(-395.95636f, 240.14958f, 340.59656f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj59.Steps = list78; - reference62 = obj59; - span21[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference63 = ref span21[4]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.Interact, 1022167u, new Vector3(-385.36664f, 232.23338f, 314.65625f), 155) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj60.Steps = list79; - reference63 = obj60; - ref QuestSequence reference64 = ref span21[5]; - QuestSequence obj61 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012251u, new Vector3(12.313965f, -12.020877f, 40.268433f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardBrume - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj61.Steps = list80; - reference64 = obj61; - questRoot8.QuestSequence = list75; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(2908); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - CollectionsMarshal.AsSpan(list81)[0] = "UcanPatates"; - questRoot9.Author = list81; - num = 7; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - Span span22 = CollectionsMarshal.AsSpan(list82); - ref QuestSequence reference65 = ref span22[0]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012251u, new Vector3(12.313965f, -12.020877f, 40.268433f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardBrume - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj62.Steps = list83; - reference65 = obj62; - ref QuestSequence reference66 = ref span22[1]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.Interact, 1022169u, new Vector3(-58.854065f, 20.000334f, 42.83203f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj63.Steps = list84; - reference66 = obj63; - ref QuestSequence reference67 = ref span22[2]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - ref QuestStep reference68 = ref CollectionsMarshal.AsSpan(list85)[0]; - QuestStep obj65 = new QuestStep(EInteractionType.Interact, 1022170u, new Vector3(-172.6253f, 41.10136f, 175.89062f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition obj66 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - CollectionsMarshal.AsSpan(list86)[0] = 128; - obj66.InTerritory = list86; - skipConditions.AetheryteShortcutIf = obj66; - skipConditions.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj65.SkipConditions = skipConditions; - num3 = 1; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - CollectionsMarshal.AsSpan(list87)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBMCH680_02908_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBMCH680_02908_A1_000_001") - }; - obj65.DialogueChoices = list87; - reference68 = obj65; - obj64.Steps = list85; - reference67 = obj64; - ref QuestSequence reference69 = ref span22[3]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - ref QuestStep reference70 = ref CollectionsMarshal.AsSpan(list88)[0]; - QuestStep obj68 = new QuestStep(EInteractionType.Combat, 1022173u, new Vector3(356.5575f, 351.0862f, -545.2201f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list89 = new List(num3); - CollectionsMarshal.SetCount(list89, num3); - CollectionsMarshal.AsSpan(list89)[0] = new ComplexCombatData - { - DataId = 7487u, - MinimumKillCount = 2u - }; - obj68.ComplexCombatData = list89; - obj68.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - reference70 = obj68; - obj67.Steps = list88; - reference69 = obj67; - ref QuestSequence reference71 = ref span22[4]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.Interact, 1022173u, new Vector3(356.5575f, 351.0862f, -545.2201f), 155); - obj69.Steps = list90; - reference71 = obj69; - ref QuestSequence reference72 = ref span22[5]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.Interact, 1022151u, new Vector3(115.098755f, 24.398598f, 2.822876f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj70.Steps = list91; - reference72 = obj70; - ref QuestSequence reference73 = ref span22[6]; - QuestSequence obj71 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012251u, new Vector3(12.313965f, -12.020877f, 40.268433f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardBrume - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj71.Steps = list92; - reference73 = obj71; - questRoot9.QuestSequence = list82; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(2909); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list93 = new List(num); - CollectionsMarshal.SetCount(list93, num); - CollectionsMarshal.AsSpan(list93)[0] = "UcanPatates"; - questRoot10.Author = list93; - num = 4; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - Span span23 = CollectionsMarshal.AsSpan(list94); - ref QuestSequence reference74 = ref span23[0]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012251u, new Vector3(12.313965f, -12.020877f, 40.268433f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardBrume - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj72.Steps = list95; - reference74 = obj72; - ref QuestSequence reference75 = ref span23[1]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.Interact, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj73.Steps = list96; - reference75 = obj73; - ref QuestSequence reference76 = ref span23[2]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1012251u, new Vector3(12.313965f, -12.020877f, 40.268433f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSkysteelManufactory, - To = EAetheryteLocation.Ishgard - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj74.Steps = list97; - reference76 = obj74; - ref QuestSequence reference77 = ref span23[3]; - QuestSequence obj75 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012251u, new Vector3(12.313965f, -12.020877f, 40.268433f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj75.Steps = list98; - reference77 = obj75; - questRoot10.QuestSequence = list94; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(2910); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - CollectionsMarshal.AsSpan(list99)[0] = "liza"; - questRoot11.Author = list99; - num = 3; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - Span span24 = CollectionsMarshal.AsSpan(list100); - ref QuestSequence reference78 = ref span24[0]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - Span span25 = CollectionsMarshal.AsSpan(list101); - span25[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span25[1] = new QuestStep(EInteractionType.AcceptQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155); - obj76.Steps = list101; - reference78 = obj76; - ref QuestSequence reference79 = ref span24[1]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.Interact, 2008547u, new Vector3(47.592896f, -37.003174f, -297.71887f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - obj77.Steps = list102; - reference79 = obj77; - ref QuestSequence reference80 = ref span24[2]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - Span span26 = CollectionsMarshal.AsSpan(list103); - span26[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span26[1] = new QuestStep(EInteractionType.CompleteQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155) - { - NextQuestId = new QuestId(2911) - }; - obj78.Steps = list103; - reference80 = obj78; - questRoot11.QuestSequence = list100; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(2911); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list104 = new List(num); - CollectionsMarshal.SetCount(list104, num); - CollectionsMarshal.AsSpan(list104)[0] = "liza"; - questRoot12.Author = list104; - num = 6; - List list105 = new List(num); - CollectionsMarshal.SetCount(list105, num); - Span span27 = CollectionsMarshal.AsSpan(list105); - ref QuestSequence reference81 = ref span27[0]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - Span span28 = CollectionsMarshal.AsSpan(list106); - span28[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span28[1] = new QuestStep(EInteractionType.AcceptQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155); - obj79.Steps = list106; - reference81 = obj79; - ref QuestSequence reference82 = ref span27[1]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.Interact, 1022543u, new Vector3(46.951904f, -37.000004f, -298.48175f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - obj80.Steps = list107; - reference82 = obj80; - ref QuestSequence reference83 = ref span27[2]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.Interact, 2008548u, new Vector3(80.91858f, 68.16199f, -696.00977f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachFringesGate - } - }; - obj81.Steps = list108; - reference83 = obj81; - ref QuestSequence reference84 = ref span27[3]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - ref QuestStep reference85 = ref CollectionsMarshal.AsSpan(list109)[0]; - QuestStep obj83 = new QuestStep(EInteractionType.Combat, null, new Vector3(91.50208f, 68.1708f, -722.4152f), 612) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list110 = new List(num3); - CollectionsMarshal.SetCount(list110, num3); - CollectionsMarshal.AsSpan(list110)[0] = 8046u; - obj83.KillEnemyDataIds = list110; - reference85 = obj83; - obj82.Steps = list109; - reference84 = obj82; - ref QuestSequence reference86 = ref span27[4]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.Interact, 1022547u, new Vector3(92.39331f, 68.1708f, -712.8557f), 612); - obj84.Steps = list111; - reference86 = obj84; - ref QuestSequence reference87 = ref span27[5]; - QuestSequence obj85 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span29 = CollectionsMarshal.AsSpan(list112); - span29[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span29[1] = new QuestStep(EInteractionType.CompleteQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155) - { - NextQuestId = new QuestId(2912) - }; - obj85.Steps = list112; - reference87 = obj85; - questRoot12.QuestSequence = list105; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(2912); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list113 = new List(num); - CollectionsMarshal.SetCount(list113, num); - CollectionsMarshal.AsSpan(list113)[0] = "liza"; - questRoot13.Author = list113; - num = 8; - List list114 = new List(num); - CollectionsMarshal.SetCount(list114, num); - Span span30 = CollectionsMarshal.AsSpan(list114); - ref QuestSequence reference88 = ref span30[0]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - Span span31 = CollectionsMarshal.AsSpan(list115); - span31[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span31[1] = new QuestStep(EInteractionType.AcceptQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155); - obj86.Steps = list115; - reference88 = obj86; - ref QuestSequence reference89 = ref span30[1]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.Interact, 1018982u, new Vector3(-83.08539f, 18.05f, -191.14978f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeBokairoInn - } - }; - obj87.Steps = list116; - reference89 = obj87; - ref QuestSequence reference90 = ref span30[2]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.Interact, 1022550u, new Vector3(-728.9082f, 0.34026724f, -427.9698f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - obj88.Steps = list117; - reference90 = obj88; - ref QuestSequence reference91 = ref span30[3]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.Interact, 1022551u, new Vector3(-772.549f, 4.7634416f, -504.29544f), 613) - { - Fly = true - }; - obj89.Steps = list118; - reference91 = obj89; - ref QuestSequence reference92 = ref span30[4]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.Interact, 2008550u, new Vector3(-711.20776f, 0.44250488f, -545.4337f), 613) - { - Fly = true - }; - obj90.Steps = list119; - reference92 = obj90; - ref QuestSequence reference93 = ref span30[5]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - Span span32 = CollectionsMarshal.AsSpan(list120); - span32[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(657.20935f, 1.1933115f, -799.82635f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - ref QuestStep reference94 = ref span32[1]; - QuestStep obj92 = new QuestStep(EInteractionType.Combat, 1022552u, new Vector3(657.7401f, 1.0385457f, -797.8485f), 613) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - CollectionsMarshal.AsSpan(list121)[0] = 7488u; - obj92.KillEnemyDataIds = list121; - reference94 = obj92; - obj91.Steps = list120; - reference93 = obj91; - ref QuestSequence reference95 = ref span30[6]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.Interact, 1022552u, new Vector3(657.7401f, 1.0385457f, -797.8485f), 613); - obj93.Steps = list122; - reference95 = obj93; - ref QuestSequence reference96 = ref span30[7]; - QuestSequence obj94 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - ref QuestStep reference97 = ref CollectionsMarshal.AsSpan(list123)[0]; - QuestStep obj95 = new QuestStep(EInteractionType.CompleteQuest, 1022553u, new Vector3(-92.607056f, 18.9999f, -194.41522f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeBokairoInn - } - }; - num3 = 1; - List list124 = new List(num3); - CollectionsMarshal.SetCount(list124, num3); - CollectionsMarshal.AsSpan(list124)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBDRG650_02912_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBDRG650_02912_A1_000_001") - }; - obj95.DialogueChoices = list124; - obj95.NextQuestId = new QuestId(2913); - reference97 = obj95; - obj94.Steps = list123; - reference96 = obj94; - questRoot13.QuestSequence = list114; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(2913); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list125 = new List(num); - CollectionsMarshal.SetCount(list125, num); - CollectionsMarshal.AsSpan(list125)[0] = "liza"; - questRoot14.Author = list125; - num = 9; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - Span span33 = CollectionsMarshal.AsSpan(list126); - ref QuestSequence reference98 = ref span33[0]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022553u, new Vector3(-92.607056f, 18.9999f, -194.41522f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeBokairoInn - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj96.Steps = list127; - reference98 = obj96; - ref QuestSequence reference99 = ref span33[1]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.Interact, 1022748u, new Vector3(13.046387f, -7.961876f, -99.77875f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeBokairoInn, - To = EAetheryteLocation.KuganeRakuzaDistrict - } - }; - obj97.Steps = list128; - reference99 = obj97; - ref QuestSequence reference100 = ref span33[2]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.Interact, 1022560u, new Vector3(528.4656f, -19.450546f, 273.33484f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion - }; - obj98.Steps = list129; - reference100 = obj98; - ref QuestSequence reference101 = ref span33[3]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - Span span34 = CollectionsMarshal.AsSpan(list130); - ref QuestStep reference102 = ref span34[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1022554u, new Vector3(554.9553f, -19.411264f, 274.92175f), 622); - num3 = 6; - List list131 = new List(num3); - CollectionsMarshal.SetCount(list131, num3); - Span span35 = CollectionsMarshal.AsSpan(list131); - span35[0] = null; - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list131; - reference102 = questStep4; - ref QuestStep reference103 = ref span34[1]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1022555u, new Vector3(545.4337f, -19.505648f, 309.68176f), 622); - num3 = 6; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - Span span36 = CollectionsMarshal.AsSpan(list132); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list132; - reference103 = questStep5; - ref QuestStep reference104 = ref span34[2]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1022556u, new Vector3(570.3364f, -19.50564f, 319.11182f), 622); - num3 = 6; - List list133 = new List(num3); - CollectionsMarshal.SetCount(list133, num3); - Span span37 = CollectionsMarshal.AsSpan(list133); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list133; - reference104 = questStep6; - obj99.Steps = list130; - reference101 = obj99; - ref QuestSequence reference105 = ref span33[4]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.Interact, 1022560u, new Vector3(528.4656f, -19.450546f, 273.33484f), 622); - obj100.Steps = list134; - reference105 = obj100; - ref QuestSequence reference106 = ref span33[5]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1022561u, new Vector3(-288.4718f, 60.053967f, -328.1148f), 622) - { - Fly = true - }; - obj101.Steps = list135; - reference106 = obj101; - span33[6] = new QuestSequence - { - Sequence = 6 - }; - ref QuestSequence reference107 = ref span33[7]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.Interact, 1022569u, new Vector3(-309.5293f, 61.288292f, -319.50867f), 622); - obj102.Steps = list136; - reference107 = obj102; - ref QuestSequence reference108 = ref span33[8]; - QuestSequence obj103 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022560u, new Vector3(528.4656f, -19.450546f, 273.33484f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion, - NextQuestId = new QuestId(2914) - }; - obj103.Steps = list137; - reference108 = obj103; - questRoot14.QuestSequence = list126; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(2914); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - CollectionsMarshal.AsSpan(list138)[0] = "liza"; - questRoot15.Author = list138; - num = 3; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - Span span38 = CollectionsMarshal.AsSpan(list139); - ref QuestSequence reference109 = ref span38[0]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022560u, new Vector3(528.4656f, -19.450546f, 273.33484f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj104.Steps = list140; - reference109 = obj104; - ref QuestSequence reference110 = ref span38[1]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1022562u, new Vector3(-494.3466f, 71.278076f, -509.51404f), 622) - { - Fly = true - }; - obj105.Steps = list141; - reference110 = obj105; - ref QuestSequence reference111 = ref span38[2]; - QuestSequence obj106 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022562u, new Vector3(-494.3466f, 71.278076f, -509.51404f), 622) - { - StopDistance = 7f - }; - obj106.Steps = list142; - reference111 = obj106; - questRoot15.QuestSequence = list139; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(2915); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - CollectionsMarshal.AsSpan(list143)[0] = "liza"; - questRoot16.Author = list143; - num = 10; - List list144 = new List(num); - CollectionsMarshal.SetCount(list144, num); - Span span39 = CollectionsMarshal.AsSpan(list144); - ref QuestSequence reference112 = ref span39[0]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - ref QuestStep reference113 = ref CollectionsMarshal.AsSpan(list145)[0]; - QuestStep obj108 = new QuestStep(EInteractionType.AcceptQuest, 1013969u, new Vector3(104.234375f, 14.999986f, 40.787354f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - CollectionsMarshal.AsSpan(list146)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBDRK601_02915_Q0_000_004"), - Answer = new ExcelRef("TEXT_JOBDRK601_02915_A0_000_005") - }; - obj108.DialogueChoices = list146; - reference113 = obj108; - obj107.Steps = list145; - reference112 = obj107; - ref QuestSequence reference114 = ref span39[1]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.Interact, 2008659u, new Vector3(2.5177002f, 11.947815f, 37.00305f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardLastVigil - } - }; - obj109.Steps = list147; - reference114 = obj109; - ref QuestSequence reference115 = ref span39[2]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.Interact, 1022855u, new Vector3(75.394775f, 24.071722f, -13.595825f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardLastVigil, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj110.Steps = list148; - reference115 = obj110; - ref QuestSequence reference116 = ref span39[3]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.Interact, 1022859u, new Vector3(3.6774292f, 5.46805f, 26.596436f), 418); - obj111.Steps = list149; - reference116 = obj111; - ref QuestSequence reference117 = ref span39[4]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.Interact, 1022855u, new Vector3(75.394775f, 24.071722f, -13.595825f), 418); - obj112.Steps = list150; - reference117 = obj112; - ref QuestSequence reference118 = ref span39[5]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.Interact, 2008660u, new Vector3(31.906494f, 15.945618f, -65.07977f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardTribunal - } - }; - obj113.Steps = list151; - reference118 = obj113; - ref QuestSequence reference119 = ref span39[6]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.Interact, 1022862u, new Vector3(482.29187f, 203.4332f, 683.25305f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj114.Steps = list152; - reference119 = obj114; - ref QuestSequence reference120 = ref span39[7]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.Interact, 1022863u, new Vector3(384.2068f, 170.07738f, 419.7909f), 397) - { - Fly = true - }; - obj115.Steps = list153; - reference120 = obj115; - ref QuestSequence reference121 = ref span39[8]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.Action, 2008661u, new Vector3(380.02588f, 169.78711f, 416.5559f), 397) - { - Action = EAction.Souleater - }; - obj116.Steps = list154; - reference121 = obj116; - ref QuestSequence reference122 = ref span39[9]; - QuestSequence obj117 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022866u, new Vector3(482.07825f, 203.4332f, 680.7506f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - NextQuestId = new QuestId(2916) - }; - obj117.Steps = list155; - reference122 = obj117; - questRoot16.QuestSequence = list144; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(2916); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list156 = new List(num); - CollectionsMarshal.SetCount(list156, num); - CollectionsMarshal.AsSpan(list156)[0] = "liza"; - questRoot17.Author = list156; - num = 8; - List list157 = new List(num); - CollectionsMarshal.SetCount(list157, num); - Span span40 = CollectionsMarshal.AsSpan(list157); - ref QuestSequence reference123 = ref span40[0]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022866u, new Vector3(482.07825f, 203.4332f, 680.7506f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj118.Steps = list158; - reference123 = obj118; - ref QuestSequence reference124 = ref span40[1]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.Interact, 1022870u, new Vector3(464.53027f, -51.1414f, 44.47998f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather - }; - obj119.Steps = list159; - reference124 = obj119; - ref QuestSequence reference125 = ref span40[2]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.Interact, 2008662u, new Vector3(436.94202f, -51.163513f, 98.68005f), 398) - { - StopDistance = 1f, - Fly = true - }; - obj120.Steps = list160; - reference125 = obj120; - ref QuestSequence reference126 = ref span40[3]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - ref QuestStep reference127 = ref CollectionsMarshal.AsSpan(list161)[0]; - QuestStep obj122 = new QuestStep(EInteractionType.Combat, 1022879u, new Vector3(503.4713f, -45.078712f, -116.92993f), 398) - { - StopDistance = 1f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list162 = new List(num3); - CollectionsMarshal.SetCount(list162, num3); - Span span41 = CollectionsMarshal.AsSpan(list162); - span41[0] = 7489u; - span41[1] = 7490u; - obj122.KillEnemyDataIds = list162; - reference127 = obj122; - obj121.Steps = list161; - reference126 = obj121; - ref QuestSequence reference128 = ref span40[4]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.Interact, 1022880u, new Vector3(612.8175f, -26.250998f, -436.45386f), 398) - { - Fly = true - }; - obj123.Steps = list163; - reference128 = obj123; - ref QuestSequence reference129 = ref span40[5]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.Action, 2008663u, new Vector3(622.8275f, -25.467346f, -446.43323f), 398) - { - Action = EAction.Souleater - }; - obj124.Steps = list164; - reference129 = obj124; - ref QuestSequence reference130 = ref span40[6]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.Interact, 1023414u, new Vector3(617.8529f, -25.577927f, -446.61633f), 398); - obj125.Steps = list165; - reference130 = obj125; - ref QuestSequence reference131 = ref span40[7]; - QuestSequence obj126 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022885u, new Vector3(461.41748f, -51.141403f, 43.4729f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather, - NextQuestId = new QuestId(2917) - }; - obj126.Steps = list166; - reference131 = obj126; - questRoot17.QuestSequence = list157; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(2917); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list167 = new List(num); - CollectionsMarshal.SetCount(list167, num); - CollectionsMarshal.AsSpan(list167)[0] = "liza"; - questRoot18.Author = list167; - num = 10; - List list168 = new List(num); - CollectionsMarshal.SetCount(list168, num); - Span span42 = CollectionsMarshal.AsSpan(list168); - ref QuestSequence reference132 = ref span42[0]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022885u, new Vector3(461.41748f, -51.141403f, 43.4729f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj127.Steps = list169; - reference132 = obj127; - ref QuestSequence reference133 = ref span42[1]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.Interact, 1022888u, new Vector3(252.58252f, -43.12347f, 627.06946f), 400) - { - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome - }; - obj128.Steps = list170; - reference133 = obj128; - ref QuestSequence reference134 = ref span42[2]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - ref QuestStep reference135 = ref CollectionsMarshal.AsSpan(list171)[0]; - QuestStep obj130 = new QuestStep(EInteractionType.Interact, 1022891u, new Vector3(154.25342f, -64.449585f, 678.06506f), 400) - { - Fly = true - }; - num3 = 1; - List list172 = new List(num3); - CollectionsMarshal.SetCount(list172, num3); - CollectionsMarshal.AsSpan(list172)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBDRK650_02917_Q1_000_052"), - Answer = new ExcelRef("TEXT_JOBDRK650_02917_A1_000_053") - }; - obj130.DialogueChoices = list172; - reference135 = obj130; - obj129.Steps = list171; - reference134 = obj129; - ref QuestSequence reference136 = ref span42[3]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.Interact, 1022888u, new Vector3(252.58252f, -43.12347f, 627.06946f), 400) - { - Fly = true - }; - obj131.Steps = list173; - reference136 = obj131; - ref QuestSequence reference137 = ref span42[4]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.Interact, 1022893u, new Vector3(418.53967f, -28.947046f, 89.25f), 400) - { - Fly = true - }; - obj132.Steps = list174; - reference137 = obj132; - ref QuestSequence reference138 = ref span42[5]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1022897u, new Vector3(-166.24707f, -22.88001f, 289.38733f), 400) - { - Fly = true - }; - obj133.Steps = list175; - reference138 = obj133; - span42[6] = new QuestSequence - { - Sequence = 6 - }; - ref QuestSequence reference139 = ref span42[7]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - CollectionsMarshal.AsSpan(list176)[0] = new QuestStep(EInteractionType.Action, 2008665u, new Vector3(-160.02142f, -22.995422f, 283.6194f), 400) - { - Action = EAction.Souleater - }; - obj134.Steps = list176; - reference139 = obj134; - ref QuestSequence reference140 = ref span42[8]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.Interact, 1022900u, new Vector3(-164.5686f, -22.88756f, 285.7556f), 400) - { - StopDistance = 5f - }; - obj135.Steps = list177; - reference140 = obj135; - ref QuestSequence reference141 = ref span42[9]; - QuestSequence obj136 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022953u, new Vector3(253.0708f, -43.136364f, 626.88635f), 400) - { - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome - }; - obj136.Steps = list178; - reference141 = obj136; - questRoot18.QuestSequence = list168; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(2918); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list179 = new List(num); - CollectionsMarshal.SetCount(list179, num); - CollectionsMarshal.AsSpan(list179)[0] = "liza"; - questRoot19.Author = list179; - num = 11; - List list180 = new List(num); - CollectionsMarshal.SetCount(list180, num); - Span span43 = CollectionsMarshal.AsSpan(list180); - ref QuestSequence reference142 = ref span43[0]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022892u, new Vector3(252.64355f, -43.032913f, 625.0857f), 400) - { - AetheryteShortcut = EAetheryteLocation.ChurningMistsMoghome, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj137.Steps = list181; - reference142 = obj137; - ref QuestSequence reference143 = ref span43[1]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.Interact, 1022890u, new Vector3(-620.5692f, 130f, -527.5807f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens - }; - obj138.Steps = list182; - reference143 = obj138; - ref QuestSequence reference144 = ref span43[2]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - Span span44 = CollectionsMarshal.AsSpan(list183); - span44[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-284.4574f, 73.94617f, -692.77094f), 612) - { - Fly = true - }; - span44[1] = new QuestStep(EInteractionType.Interact, 1022902u, new Vector3(-359.51782f, 63.3675f, -727.93164f), 612); - obj139.Steps = list183; - reference144 = obj139; - ref QuestSequence reference145 = ref span43[3]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - CollectionsMarshal.AsSpan(list184)[0] = new QuestStep(EInteractionType.Interact, 1022904u, new Vector3(-276.75293f, 74.50722f, -695.8572f), 612); - obj140.Steps = list184; - reference145 = obj140; - ref QuestSequence reference146 = ref span43[4]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - Span span45 = CollectionsMarshal.AsSpan(list185); - ref QuestStep reference147 = ref span45[0]; - QuestStep obj142 = new QuestStep(EInteractionType.Combat, null, new Vector3(25.767f, 54.715424f, -532.3533f), 612) - { - StopDistance = 1f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list186 = new List(num3); - CollectionsMarshal.SetCount(list186, num3); - CollectionsMarshal.AsSpan(list186)[0] = 7491u; - obj142.KillEnemyDataIds = list186; - num3 = 6; - List list187 = new List(num3); - CollectionsMarshal.SetCount(list187, num3); - Span span46 = CollectionsMarshal.AsSpan(list187); - span46[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = null; - obj142.CompletionQuestVariablesFlags = list187; - reference147 = obj142; - span45[1] = new QuestStep(EInteractionType.Interact, 1022905u, new Vector3(25.101074f, 54.83547f, -533.04346f), 612); - obj141.Steps = list185; - reference146 = obj141; - ref QuestSequence reference148 = ref span43[5]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - CollectionsMarshal.AsSpan(list188)[0] = new QuestStep(EInteractionType.Interact, 1022908u, new Vector3(182.8794f, 54.52025f, -491.56943f), 612) - { - Fly = true - }; - obj143.Steps = list188; - reference148 = obj143; - ref QuestSequence reference149 = ref span43[6]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.Interact, 1022910u, new Vector3(301.31982f, 56.419365f, -470.08472f), 612) - { - Fly = true - }; - obj144.Steps = list189; - reference149 = obj144; - ref QuestSequence reference150 = ref span43[7]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.Interact, 1022911u, new Vector3(383.65747f, 65.514336f, -539.4217f), 612) - { - Fly = true - }; - obj145.Steps = list190; - reference150 = obj145; - ref QuestSequence reference151 = ref span43[8]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.Action, 2008667u, new Vector3(386.95337f, 65.537476f, -540.9171f), 612) - { - Action = EAction.Souleater - }; - obj146.Steps = list191; - reference151 = obj146; - ref QuestSequence reference152 = ref span43[9]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.Emote, 2008668u, new Vector3(-0.045776367f, 5.3864136f, -77.592224f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - Emote = EEmote.Respect - }; - obj147.Steps = list192; - reference152 = obj147; - ref QuestSequence reference153 = ref span43[10]; - QuestSequence obj148 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.CompleteQuest, 1013969u, new Vector3(104.234375f, 14.999986f, 40.787354f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - }, - NextQuestId = new QuestId(2919) - }; - obj148.Steps = list193; - reference153 = obj148; - questRoot19.QuestSequence = list180; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(2919); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - CollectionsMarshal.AsSpan(list194)[0] = "liza"; - questRoot20.Author = list194; - num = 9; - List list195 = new List(num); - CollectionsMarshal.SetCount(list195, num); - Span span47 = CollectionsMarshal.AsSpan(list195); - ref QuestSequence reference154 = ref span47[0]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.AcceptQuest, 1013969u, new Vector3(104.234375f, 14.999986f, 40.787354f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj149.Steps = list196; - reference154 = obj149; - ref QuestSequence reference155 = ref span47[1]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - Span span48 = CollectionsMarshal.AsSpan(list197); - ref QuestStep reference156 = ref span48[0]; - QuestStep obj151 = new QuestStep(EInteractionType.Interact, 1022916u, new Vector3(-57.724915f, -0.071196444f, -40.146484f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachWest - } - }; - num3 = 6; - List list198 = new List(num3); - CollectionsMarshal.SetCount(list198, num3); - Span span49 = CollectionsMarshal.AsSpan(list198); - span49[0] = null; - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj151.CompletionQuestVariablesFlags = list198; - reference156 = obj151; - ref QuestStep reference157 = ref span48[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1019486u, new Vector3(-116.746826f, 0.6342248f, -55.832825f), 635); - num3 = 6; - List list199 = new List(num3); - CollectionsMarshal.SetCount(list199, num3); - Span span50 = CollectionsMarshal.AsSpan(list199); - span50[0] = null; - span50[1] = null; - span50[2] = null; - span50[3] = null; - span50[4] = null; - span50[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list199; - reference157 = questStep7; - ref QuestStep reference158 = ref span48[2]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1022915u, new Vector3(-38.773254f, 18.82157f, 146.807f), 635); - num3 = 6; - List list200 = new List(num3); - CollectionsMarshal.SetCount(list200, num3); - Span span51 = CollectionsMarshal.AsSpan(list200); - span51[0] = null; - span51[1] = null; - span51[2] = null; - span51[3] = null; - span51[4] = null; - span51[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list200; - reference158 = questStep8; - obj150.Steps = list197; - reference155 = obj150; - ref QuestSequence reference159 = ref span47[2]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.Interact, 1022914u, new Vector3(112.7489f, 0.6520417f, -9.414856f), 635); - obj152.Steps = list201; - reference159 = obj152; - ref QuestSequence reference160 = ref span47[3]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - Span span52 = CollectionsMarshal.AsSpan(list202); - span52[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(132.40436f, -0.5395956f, -3.4915996f), 635) - { - TargetTerritoryId = (ushort)620 - }; - span52[1] = new QuestStep(EInteractionType.Interact, 1022922u, new Vector3(-553.70416f, 46.755432f, -669.9474f), 620) - { - Fly = true - }; - obj153.Steps = list202; - reference160 = obj153; - ref QuestSequence reference161 = ref span47[4]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.Interact, 2008669u, new Vector3(-387.9607f, 51.93484f, -626.3676f), 620) - { - Fly = true - }; - obj154.Steps = list203; - reference161 = obj154; - ref QuestSequence reference162 = ref span47[5]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1023073u, new Vector3(-624.7196f, 58.3448f, -484.48926f), 620); - obj155.Steps = list204; - reference162 = obj155; - span47[6] = new QuestSequence - { - Sequence = 6 - }; - ref QuestSequence reference163 = ref span47[7]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.Interact, 1013969u, new Vector3(104.234375f, 14.999986f, 40.787354f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj156.Steps = list205; - reference163 = obj156; - ref QuestSequence reference164 = ref span47[8]; - QuestSequence obj157 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.CompleteQuest, 2008885u, new Vector3(2.670288f, 11.947815f, 36.972534f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardLastVigil - } - }; - obj157.Steps = list206; - reference164 = obj157; - questRoot20.QuestSequence = list195; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(2920); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - CollectionsMarshal.AsSpan(list207)[0] = "JerryWester"; - questRoot21.Author = list207; - num = 1; - List list208 = new List(num); - CollectionsMarshal.SetCount(list208, num); - ref QuestSequence reference165 = ref CollectionsMarshal.AsSpan(list208)[0]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019464u, new Vector3(-33.096924f, 7.9693108f, 95.109375f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj158.Steps = list209; - reference165 = obj158; - questRoot21.QuestSequence = list208; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(2921); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list210 = new List(num); - CollectionsMarshal.SetCount(list210, num); - CollectionsMarshal.AsSpan(list210)[0] = "liza"; - questRoot22.Author = list210; - num = 1; - List list211 = new List(num); - CollectionsMarshal.SetCount(list211, num); - ref QuestSequence reference166 = ref CollectionsMarshal.AsSpan(list211)[0]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - CollectionsMarshal.AsSpan(list212)[0] = new QuestStep(EInteractionType.AcceptQuest, 1018997u, new Vector3(20.492798f, -8.014721E-11f, -80.94916f), 628) - { - StopDistance = 5f - }; - obj159.Steps = list212; - reference166 = obj159; - questRoot22.QuestSequence = list211; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(2923); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list213 = new List(num); - CollectionsMarshal.SetCount(list213, num); - CollectionsMarshal.AsSpan(list213)[0] = "liza"; - questRoot23.Author = list213; - num = 5; - List list214 = new List(num); - CollectionsMarshal.SetCount(list214, num); - Span span53 = CollectionsMarshal.AsSpan(list214); - ref QuestSequence reference167 = ref span53[0]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - ref QuestStep reference168 = ref CollectionsMarshal.AsSpan(list215)[0]; - QuestStep obj161 = new QuestStep(EInteractionType.AcceptQuest, 1006757u, new Vector3(-4.4709473f, 44.999886f, -250.56848f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition obj162 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list216 = new List(num3); - CollectionsMarshal.SetCount(list216, num3); - CollectionsMarshal.AsSpan(list216)[0] = 128; - obj162.InTerritory = list216; - skipConditions2.AetheryteShortcutIf = obj162; - obj161.SkipConditions = skipConditions2; - reference168 = obj161; - obj160.Steps = list215; - reference167 = obj160; - ref QuestSequence reference169 = ref span53[1]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - Span span54 = CollectionsMarshal.AsSpan(list217); - span54[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(207.68561f, -3.1246834f, 42.986313f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - span54[1] = new QuestStep(EInteractionType.Interact, 1013135u, new Vector3(206.0426f, -3.111818f, 41.94702f), 139); - obj163.Steps = list217; - reference169 = obj163; - ref QuestSequence reference170 = ref span53[2]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - CollectionsMarshal.AsSpan(list218)[0] = new QuestStep(EInteractionType.Interact, 1009552u, new Vector3(96.025024f, 40.247147f, 60.68506f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj164.Steps = list218; - reference170 = obj164; - ref QuestSequence reference171 = ref span53[3]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - Span span55 = CollectionsMarshal.AsSpan(list219); - span55[0] = new QuestStep(EInteractionType.UseItem, null, null, 145) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span55[1] = new QuestStep(EInteractionType.Interact, 1021904u, new Vector3(-480.5829f, 23.11398f, -315.81604f), 140); - obj165.Steps = list219; - reference171 = obj165; - ref QuestSequence reference172 = ref span53[4]; - QuestSequence obj166 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - Span span56 = CollectionsMarshal.AsSpan(list220); - span56[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(207.68561f, -3.1246834f, 42.986313f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - span56[1] = new QuestStep(EInteractionType.CompleteQuest, 1013135u, new Vector3(206.0426f, -3.111818f, 41.94702f), 139) - { - NextQuestId = new QuestId(2924) - }; - obj166.Steps = list220; - reference172 = obj166; - questRoot23.QuestSequence = list214; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(2924); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list221 = new List(num); - CollectionsMarshal.SetCount(list221, num); - CollectionsMarshal.AsSpan(list221)[0] = "liza"; - questRoot24.Author = list221; - num = 9; - List list222 = new List(num); - CollectionsMarshal.SetCount(list222, num); - Span span57 = CollectionsMarshal.AsSpan(list222); - ref QuestSequence reference173 = ref span57[0]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - Span span58 = CollectionsMarshal.AsSpan(list223); - span58[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(207.68561f, -3.1246834f, 42.986313f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span58[1] = new QuestStep(EInteractionType.AcceptQuest, 1013135u, new Vector3(206.0426f, -3.111818f, 41.94702f), 139); - obj167.Steps = list223; - reference173 = obj167; - ref QuestSequence reference174 = ref span57[1]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.Interact, 1006757u, new Vector3(-4.4709473f, 44.999886f, -250.56848f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - obj168.Steps = list224; - reference174 = obj168; - ref QuestSequence reference175 = ref span57[2]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.Interact, 1021905u, new Vector3(-220.17242f, 20.83071f, 353.16992f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil - }; - obj169.Steps = list225; - reference175 = obj169; - ref QuestSequence reference176 = ref span57[3]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - CollectionsMarshal.AsSpan(list226)[0] = new QuestStep(EInteractionType.Interact, 2008554u, new Vector3(-230.18237f, 1.3274536f, 406.3629f), 153) - { - Fly = true - }; - obj170.Steps = list226; - reference176 = obj170; - ref QuestSequence reference177 = ref span57[4]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.Interact, 2008555u, new Vector3(-182.8794f, 0.3508911f, 463.76733f), 153) - { - Fly = true - }; - obj171.Steps = list227; - reference177 = obj171; - ref QuestSequence reference178 = ref span57[5]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.Interact, 2008556u, new Vector3(-81.71216f, 1.2054443f, 395.71216f), 153) - { - Fly = true - }; - obj172.Steps = list228; - reference178 = obj172; - ref QuestSequence reference179 = ref span57[6]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - ref QuestStep reference180 = ref CollectionsMarshal.AsSpan(list229)[0]; - QuestStep obj174 = new QuestStep(EInteractionType.Combat, null, new Vector3(-69.98173f, 0.9259782f, 361.20602f), 153) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list230 = new List(num3); - CollectionsMarshal.SetCount(list230, num3); - Span span59 = CollectionsMarshal.AsSpan(list230); - span59[0] = 7237u; - span59[1] = 7494u; - span59[2] = 7499u; - obj174.KillEnemyDataIds = list230; - reference180 = obj174; - obj173.Steps = list229; - reference179 = obj173; - ref QuestSequence reference181 = ref span57[7]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.Action, 1021910u, new Vector3(-70.115234f, 0.94099265f, 360.3723f), 153) - { - Action = EAction.Adloquium - }; - obj175.Steps = list231; - reference181 = obj175; - ref QuestSequence reference182 = ref span57[8]; - QuestSequence obj176 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021911u, new Vector3(-220.84387f, 21.261763f, 363.39355f), 153) - { - Fly = true, - NextQuestId = new QuestId(2925) - }; - obj176.Steps = list232; - reference182 = obj176; - questRoot24.QuestSequence = list222; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(2925); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list233 = new List(num); - CollectionsMarshal.SetCount(list233, num); - CollectionsMarshal.AsSpan(list233)[0] = "liza"; - questRoot25.Author = list233; - num = 3; - List list234 = new List(num); - CollectionsMarshal.SetCount(list234, num); - Span span60 = CollectionsMarshal.AsSpan(list234); - ref QuestSequence reference183 = ref span60[0]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021911u, new Vector3(-220.84387f, 21.261763f, 363.39355f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj177.Steps = list235; - reference183 = obj177; - ref QuestSequence reference184 = ref span60[1]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1021913u, new Vector3(161.39453f, 37.625904f, 169.17664f), 153) - { - Fly = true - }; - obj178.Steps = list236; - reference184 = obj178; - ref QuestSequence reference185 = ref span60[2]; - QuestSequence obj179 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - CollectionsMarshal.AsSpan(list237)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021911u, new Vector3(-220.84387f, 21.261763f, 363.39355f), 153) - { - StopDistance = 5f, - NextQuestId = new QuestId(2926) - }; - obj179.Steps = list237; - reference185 = obj179; - questRoot25.QuestSequence = list234; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(2926); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list238 = new List(num); - CollectionsMarshal.SetCount(list238, num); - CollectionsMarshal.AsSpan(list238)[0] = "liza"; - questRoot26.Author = list238; - num = 7; - List list239 = new List(num); - CollectionsMarshal.SetCount(list239, num); - Span span61 = CollectionsMarshal.AsSpan(list239); - ref QuestSequence reference186 = ref span61[0]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021911u, new Vector3(-220.84387f, 21.261763f, 363.39355f), 153) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj180.Steps = list240; - reference186 = obj180; - ref QuestSequence reference187 = ref span61[1]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - Span span62 = CollectionsMarshal.AsSpan(list241); - span62[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(207.68561f, -3.1246834f, 42.986313f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - span62[1] = new QuestStep(EInteractionType.Interact, 1013135u, new Vector3(206.0426f, -3.111818f, 41.94702f), 139); - obj181.Steps = list241; - reference187 = obj181; - ref QuestSequence reference188 = ref span61[2]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - CollectionsMarshal.AsSpan(list242)[0] = new QuestStep(EInteractionType.Interact, 1021911u, new Vector3(-220.84387f, 21.261763f, 363.39355f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil - }; - obj182.Steps = list242; - reference188 = obj182; - ref QuestSequence reference189 = ref span61[3]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.Interact, 2008557u, new Vector3(-160.08246f, 1.9683228f, 175.52454f), 153) - { - Fly = true - }; - obj183.Steps = list243; - reference189 = obj183; - ref QuestSequence reference190 = ref span61[4]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.Interact, 2008558u, new Vector3(-150.19464f, 4.714966f, 52.109497f), 153) - { - Fly = true - }; - obj184.Steps = list244; - reference190 = obj184; - ref QuestSequence reference191 = ref span61[5]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - ref QuestStep reference192 = ref CollectionsMarshal.AsSpan(list245)[0]; - QuestStep obj186 = new QuestStep(EInteractionType.Combat, 2008559u, new Vector3(-250.5379f, 16.830688f, 19.21106f), 153) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list246 = new List(num3); - CollectionsMarshal.SetCount(list246, num3); - CollectionsMarshal.AsSpan(list246)[0] = 6621u; - obj186.KillEnemyDataIds = list246; - reference192 = obj186; - obj185.Steps = list245; - reference191 = obj185; - ref QuestSequence reference193 = ref span61[6]; - QuestSequence obj187 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021911u, new Vector3(-220.84387f, 21.261763f, 363.39355f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - NextQuestId = new QuestId(2927) - }; - obj187.Steps = list247; - reference193 = obj187; - questRoot26.QuestSequence = list239; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(2927); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list248 = new List(num); - CollectionsMarshal.SetCount(list248, num); - CollectionsMarshal.AsSpan(list248)[0] = "liza"; - questRoot27.Author = list248; - num = 7; - List list249 = new List(num); - CollectionsMarshal.SetCount(list249, num); - Span span63 = CollectionsMarshal.AsSpan(list249); - ref QuestSequence reference194 = ref span63[0]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - CollectionsMarshal.AsSpan(list250)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021911u, new Vector3(-220.84387f, 21.261763f, 363.39355f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj188.Steps = list250; - reference194 = obj188; - ref QuestSequence reference195 = ref span63[1]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1021917u, new Vector3(-343.80103f, -0.3600377f, 448.1117f), 153) - { - Fly = true - }; - obj189.Steps = list251; - reference195 = obj189; - span63[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference196 = ref span63[3]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - CollectionsMarshal.AsSpan(list252)[0] = new QuestStep(EInteractionType.Interact, 1021911u, new Vector3(-220.84387f, 21.261763f, 363.39355f), 153); - obj190.Steps = list252; - reference196 = obj190; - ref QuestSequence reference197 = ref span63[4]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - Span span64 = CollectionsMarshal.AsSpan(list253); - span64[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(207.68561f, -3.1246834f, 42.986313f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - span64[1] = new QuestStep(EInteractionType.Interact, 1013135u, new Vector3(206.0426f, -3.111818f, 41.94702f), 139); - obj191.Steps = list253; - reference197 = obj191; - ref QuestSequence reference198 = ref span63[5]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - Span span65 = CollectionsMarshal.AsSpan(list254); - ref QuestStep reference199 = ref span65[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1013135u, new Vector3(206.0426f, -3.111818f, 41.94702f), 139); - num3 = 6; - List list255 = new List(num3); - CollectionsMarshal.SetCount(list255, num3); - Span span66 = CollectionsMarshal.AsSpan(list255); - span66[0] = null; - span66[1] = null; - span66[2] = null; - span66[3] = null; - span66[4] = null; - span66[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list255; - reference199 = questStep9; - ref QuestStep reference200 = ref span65[1]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1021919u, new Vector3(207.53784f, -3.049824f, 43.22876f), 139); - num3 = 6; - List list256 = new List(num3); - CollectionsMarshal.SetCount(list256, num3); - Span span67 = CollectionsMarshal.AsSpan(list256); - span67[0] = null; - span67[1] = null; - span67[2] = null; - span67[3] = null; - span67[4] = null; - span67[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list256; - reference200 = questStep10; - obj192.Steps = list254; - reference198 = obj192; - ref QuestSequence reference201 = ref span63[6]; - QuestSequence obj193 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021918u, new Vector3(206.80542f, -3.065022f, 43.83911f), 139); - obj193.Steps = list257; - reference201 = obj193; - questRoot27.QuestSequence = list249; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(2928); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list258 = new List(num); - CollectionsMarshal.SetCount(list258, num); - CollectionsMarshal.AsSpan(list258)[0] = "liza"; - questRoot28.Author = list258; - num = 6; - List list259 = new List(num); - CollectionsMarshal.SetCount(list259, num); - Span span68 = CollectionsMarshal.AsSpan(list259); - ref QuestSequence reference202 = ref span68[0]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021926u, new Vector3(71.06128f, -0.10695544f, 59.372803f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj194.Steps = list260; - reference202 = obj194; - ref QuestSequence reference203 = ref span68[1]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.Interact, 1021930u, new Vector3(112.41321f, 0.65204173f, 56.290405f), 635); - obj195.Steps = list261; - reference203 = obj195; - ref QuestSequence reference204 = ref span68[2]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - CollectionsMarshal.AsSpan(list262)[0] = new QuestStep(EInteractionType.Interact, 1021933u, new Vector3(466.20886f, 69.27097f, 525.7495f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones - }; - obj196.Steps = list262; - reference204 = obj196; - ref QuestSequence reference205 = ref span68[3]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - CollectionsMarshal.AsSpan(list263)[0] = new QuestStep(EInteractionType.Interact, 1021941u, new Vector3(467.00232f, 69.270096f, 521.14136f), 612); - obj197.Steps = list263; - reference205 = obj197; - ref QuestSequence reference206 = ref span68[4]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1021937u, new Vector3(465.5984f, 69.25287f, 518.88293f), 612) - { - StopDistance = 7f - }; - obj198.Steps = list264; - reference206 = obj198; - ref QuestSequence reference207 = ref span68[5]; - QuestSequence obj199 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021942u, new Vector3(-208.57562f, -223.5f, -124.16266f), 724) - { - NextQuestId = new QuestId(2929) - }; - obj199.Steps = list265; - reference207 = obj199; - questRoot28.QuestSequence = list259; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(2929); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list266 = new List(num); - CollectionsMarshal.SetCount(list266, num); - CollectionsMarshal.AsSpan(list266)[0] = "liza"; - questRoot29.Author = list266; - num = 4; - List list267 = new List(num); - CollectionsMarshal.SetCount(list267, num); - Span span69 = CollectionsMarshal.AsSpan(list267); - ref QuestSequence reference208 = ref span69[0]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - CollectionsMarshal.AsSpan(list268)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021942u, new Vector3(-208.57562f, -223.5f, -124.16266f), 724); - obj200.Steps = list268; - reference208 = obj200; - ref QuestSequence reference209 = ref span69[1]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - CollectionsMarshal.AsSpan(list269)[0] = new QuestStep(EInteractionType.Interact, 1021946u, new Vector3(-211.01703f, -223.25f, -117.021484f), 724) - { - StopDistance = 6f - }; - obj201.Steps = list269; - reference209 = obj201; - ref QuestSequence reference210 = ref span69[2]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - CollectionsMarshal.AsSpan(list270)[0] = new QuestStep(EInteractionType.Duty, null, null, 724) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 252u - } - }; - obj202.Steps = list270; - reference210 = obj202; - ref QuestSequence reference211 = ref span69[3]; - QuestSequence obj203 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - CollectionsMarshal.AsSpan(list271)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021942u, new Vector3(-208.57562f, -223.5f, -124.16266f), 724) - { - NextQuestId = new QuestId(2930) - }; - obj203.Steps = list271; - reference211 = obj203; - questRoot29.QuestSequence = list267; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(2930); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list272 = new List(num); - CollectionsMarshal.SetCount(list272, num); - CollectionsMarshal.AsSpan(list272)[0] = "liza"; - questRoot30.Author = list272; - num = 4; - List list273 = new List(num); - CollectionsMarshal.SetCount(list273, num); - Span span70 = CollectionsMarshal.AsSpan(list273); - ref QuestSequence reference212 = ref span70[0]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - CollectionsMarshal.AsSpan(list274)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021942u, new Vector3(-208.57562f, -223.5f, -124.16266f), 724); - obj204.Steps = list274; - reference212 = obj204; - ref QuestSequence reference213 = ref span70[1]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.Interact, 1021946u, new Vector3(-211.01703f, -223.25f, -117.021484f), 724) - { - StopDistance = 6f - }; - obj205.Steps = list275; - reference213 = obj205; - ref QuestSequence reference214 = ref span70[2]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - CollectionsMarshal.AsSpan(list276)[0] = new QuestStep(EInteractionType.Duty, null, null, 724) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 253u - } - }; - obj206.Steps = list276; - reference214 = obj206; - ref QuestSequence reference215 = ref span70[3]; - QuestSequence obj207 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - CollectionsMarshal.AsSpan(list277)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021943u, new Vector3(-207.20227f, -223.50002f, -124.95618f), 724) - { - StopDistance = 7f, - NextQuestId = new QuestId(2931) - }; - obj207.Steps = list277; - reference215 = obj207; - questRoot30.QuestSequence = list273; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(2931); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list278 = new List(num); - CollectionsMarshal.SetCount(list278, num); - CollectionsMarshal.AsSpan(list278)[0] = "liza"; - questRoot31.Author = list278; - num = 4; - List list279 = new List(num); - CollectionsMarshal.SetCount(list279, num); - Span span71 = CollectionsMarshal.AsSpan(list279); - ref QuestSequence reference216 = ref span71[0]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - CollectionsMarshal.AsSpan(list280)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021942u, new Vector3(-208.57562f, -223.5f, -124.16266f), 724) - { - StopDistance = 7f - }; - obj208.Steps = list280; - reference216 = obj208; - ref QuestSequence reference217 = ref span71[1]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - CollectionsMarshal.AsSpan(list281)[0] = new QuestStep(EInteractionType.Interact, 1021946u, new Vector3(-211.01703f, -223.25f, -117.021484f), 724) - { - StopDistance = 6f - }; - obj209.Steps = list281; - reference217 = obj209; - ref QuestSequence reference218 = ref span71[2]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - CollectionsMarshal.AsSpan(list282)[0] = new QuestStep(EInteractionType.Duty, null, null, 724) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 254u - } - }; - obj210.Steps = list282; - reference218 = obj210; - ref QuestSequence reference219 = ref span71[3]; - QuestSequence obj211 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021942u, new Vector3(-208.57562f, -223.5f, -124.16266f), 724) - { - StopDistance = 6f, - NextQuestId = new QuestId(2932) - }; - obj211.Steps = list283; - reference219 = obj211; - questRoot31.QuestSequence = list279; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(2932); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list284 = new List(num); - CollectionsMarshal.SetCount(list284, num); - CollectionsMarshal.AsSpan(list284)[0] = "liza"; - questRoot32.Author = list284; - num = 4; - List list285 = new List(num); - CollectionsMarshal.SetCount(list285, num); - Span span72 = CollectionsMarshal.AsSpan(list285); - ref QuestSequence reference220 = ref span72[0]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - CollectionsMarshal.AsSpan(list286)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021942u, new Vector3(-208.57562f, -223.5f, -124.16266f), 724) - { - StopDistance = 7f - }; - obj212.Steps = list286; - reference220 = obj212; - ref QuestSequence reference221 = ref span72[1]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - CollectionsMarshal.AsSpan(list287)[0] = new QuestStep(EInteractionType.Interact, 1021946u, new Vector3(-211.01703f, -223.25f, -117.021484f), 724) - { - StopDistance = 6f - }; - obj213.Steps = list287; - reference221 = obj213; - ref QuestSequence reference222 = ref span72[2]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - CollectionsMarshal.AsSpan(list288)[0] = new QuestStep(EInteractionType.Duty, null, null, 724) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 255u - } - }; - obj214.Steps = list288; - reference222 = obj214; - ref QuestSequence reference223 = ref span72[3]; - QuestSequence obj215 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021949u, new Vector3(462.6687f, 69.02547f, 515.06824f), 612) - { - StopDistance = 5f, - NextQuestId = new QuestId(2933) - }; - obj215.Steps = list289; - reference223 = obj215; - questRoot32.QuestSequence = list285; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(2933); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list290 = new List(num); - CollectionsMarshal.SetCount(list290, num); - CollectionsMarshal.AsSpan(list290)[0] = "liza"; - questRoot33.Author = list290; - num = 6; - List list291 = new List(num); - CollectionsMarshal.SetCount(list291, num); - Span span73 = CollectionsMarshal.AsSpan(list291); - ref QuestSequence reference224 = ref span73[0]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - CollectionsMarshal.AsSpan(list292)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021949u, new Vector3(462.6687f, 69.02547f, 515.06824f), 612) - { - StopDistance = 5f - }; - obj216.Steps = list292; - reference224 = obj216; - ref QuestSequence reference225 = ref span73[1]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - CollectionsMarshal.AsSpan(list293)[0] = new QuestStep(EInteractionType.Interact, 1023687u, new Vector3(112.7489f, 0.65204155f, 60.227295f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach - }; - obj217.Steps = list293; - reference225 = obj217; - ref QuestSequence reference226 = ref span73[2]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - CollectionsMarshal.AsSpan(list294)[0] = new QuestStep(EInteractionType.Interact, 1021952u, new Vector3(40.146484f, -19.000002f, 94.92627f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAirship - } - }; - obj218.Steps = list294; - reference226 = obj218; - ref QuestSequence reference227 = ref span73[3]; - QuestSequence obj219 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - CollectionsMarshal.AsSpan(list295)[0] = new QuestStep(EInteractionType.Interact, 1021956u, new Vector3(4.257263f, 0.002998305f, -0.4730835f), 636); - obj219.Steps = list295; - reference227 = obj219; - ref QuestSequence reference228 = ref span73[4]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - CollectionsMarshal.AsSpan(list296)[0] = new QuestStep(EInteractionType.Interact, 1021953u, new Vector3(41.550293f, -19.000004f, 95.26196f), 132); - obj220.Steps = list296; - reference228 = obj220; - ref QuestSequence reference229 = ref span73[5]; - QuestSequence obj221 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - CollectionsMarshal.AsSpan(list297)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023687u, new Vector3(112.7489f, 0.65204155f, 60.227295f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - NextQuestId = new QuestId(3031) - }; - obj221.Steps = list297; - reference229 = obj221; - questRoot33.QuestSequence = list291; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(2934); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list298 = new List(num); - CollectionsMarshal.SetCount(list298, num); - CollectionsMarshal.AsSpan(list298)[0] = "JerryWester"; - questRoot34.Author = list298; - num = 4; - List list299 = new List(num); - CollectionsMarshal.SetCount(list299, num); - Span span74 = CollectionsMarshal.AsSpan(list299); - ref QuestSequence reference230 = ref span74[0]; - QuestSequence obj222 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - CollectionsMarshal.AsSpan(list300)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020004u, new Vector3(276.35608f, 3.6584158f, -377.5235f), 614) - { - StopDistance = 5f - }; - obj222.Steps = list300; - reference230 = obj222; - span74[1] = new QuestSequence - { - Sequence = 1 - }; - ref QuestSequence reference231 = ref span74[2]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - Span span75 = CollectionsMarshal.AsSpan(list301); - ref QuestStep reference232 = ref span75[0]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1020008u, new Vector3(5.996765f, -0.5066767f, 2.5177002f), 681); - num3 = 6; - List list302 = new List(num3); - CollectionsMarshal.SetCount(list302, num3); - Span span76 = CollectionsMarshal.AsSpan(list302); - span76[0] = null; - span76[1] = null; - span76[2] = null; - span76[3] = null; - span76[4] = null; - span76[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list302; - reference232 = questStep11; - ref QuestStep reference233 = ref span75[1]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1020010u, new Vector3(-30.014526f, -0.24868584f, -2.822998f), 681); - num3 = 6; - List list303 = new List(num3); - CollectionsMarshal.SetCount(list303, num3); - Span span77 = CollectionsMarshal.AsSpan(list303); - span77[0] = null; - span77[1] = null; - span77[2] = null; - span77[3] = null; - span77[4] = null; - span77[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list303; - reference233 = questStep12; - ref QuestStep reference234 = ref span75[2]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1020009u, new Vector3(-45.243042f, -0.2509899f, -31.845642f), 681); - num3 = 6; - List list304 = new List(num3); - CollectionsMarshal.SetCount(list304, num3); - Span span78 = CollectionsMarshal.AsSpan(list304); - span78[0] = null; - span78[1] = null; - span78[2] = null; - span78[3] = null; - span78[4] = null; - span78[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list304; - reference234 = questStep13; - obj223.Steps = list301; - reference231 = obj223; - ref QuestSequence reference235 = ref span74[3]; - QuestSequence obj224 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - ref QuestStep reference236 = ref CollectionsMarshal.AsSpan(list305)[0]; - QuestStep questStep14 = new QuestStep(EInteractionType.CompleteQuest, 1020011u, new Vector3(-49.881836f, -0.26051223f, -12.893921f), 681); - num3 = 1; - List list306 = new List(num3); - CollectionsMarshal.SetCount(list306, num3); - CollectionsMarshal.AsSpan(list306)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDA325_02934_Q1_000_064"), - Answer = new ExcelRef("TEXT_STMBDA325_02934_A1_000_065") - }; - questStep14.DialogueChoices = list306; - reference236 = questStep14; - obj224.Steps = list305; - reference235 = obj224; - questRoot34.QuestSequence = list299; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(2935); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list307 = new List(num); - CollectionsMarshal.SetCount(list307, num); - CollectionsMarshal.AsSpan(list307)[0] = "JerryWester"; - questRoot35.Author = list307; - num = 3; - List list308 = new List(num); - CollectionsMarshal.SetCount(list308, num); - Span span79 = CollectionsMarshal.AsSpan(list308); - ref QuestSequence reference237 = ref span79[0]; - QuestSequence obj225 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - CollectionsMarshal.AsSpan(list309)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020052u, new Vector3(-52.47583f, -0.2509899f, -25.742065f), 681) - { - StopDistance = 7f - }; - obj225.Steps = list309; - reference237 = obj225; - ref QuestSequence reference238 = ref span79[1]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - CollectionsMarshal.AsSpan(list310)[0] = new QuestStep(EInteractionType.Interact, 1020053u, new Vector3(456.01575f, 41.2719f, -43.320435f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaNamai - }; - obj226.Steps = list310; - reference238 = obj226; - ref QuestSequence reference239 = ref span79[2]; - QuestSequence obj227 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list311 = new List(num2); - CollectionsMarshal.SetCount(list311, num2); - Span span80 = CollectionsMarshal.AsSpan(list311); - span80[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(161.05653f, -0.299994f, 191.03581f), 614); - span80[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2008013u, new Vector3(-97.428955f, 13.260071f, 563.714f), 614) - { - AetherCurrentId = 2818201u - }; - span80[2] = new QuestStep(EInteractionType.CompleteQuest, 1020055u, new Vector3(-463.21814f, 1.2300053f, 535.6068f), 614); - obj227.Steps = list311; - reference239 = obj227; - questRoot35.QuestSequence = list308; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(2936); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list312 = new List(num); - CollectionsMarshal.SetCount(list312, num); - CollectionsMarshal.AsSpan(list312)[0] = "liza"; - questRoot36.Author = list312; - num = 2; - List list313 = new List(num); - CollectionsMarshal.SetCount(list313, num); - Span span81 = CollectionsMarshal.AsSpan(list313); - ref QuestSequence reference240 = ref span81[0]; - QuestSequence obj228 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - CollectionsMarshal.AsSpan(list314)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019007u, new Vector3(-42.526978f, -2.9f, -47.959167f), 628) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj228.Steps = list314; - reference240 = obj228; - ref QuestSequence reference241 = ref span81[1]; - QuestSequence obj229 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - CollectionsMarshal.AsSpan(list315)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019009u, new Vector3(-29.160034f, 0.09999966f, -46.189087f), 628) - { - NextQuestId = new QuestId(2937) - }; - obj229.Steps = list315; - reference241 = obj229; - questRoot36.QuestSequence = list313; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(2937); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list316 = new List(num); - CollectionsMarshal.SetCount(list316, num); - CollectionsMarshal.AsSpan(list316)[0] = "liza"; - questRoot37.Author = list316; - num = 2; - List list317 = new List(num); - CollectionsMarshal.SetCount(list317, num); - Span span82 = CollectionsMarshal.AsSpan(list317); - ref QuestSequence reference242 = ref span82[0]; - QuestSequence obj230 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list318 = new List(num2); - CollectionsMarshal.SetCount(list318, num2); - CollectionsMarshal.AsSpan(list318)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019007u, new Vector3(-42.526978f, -2.9f, -47.959167f), 628) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj230.Steps = list318; - reference242 = obj230; - ref QuestSequence reference243 = ref span82[1]; - QuestSequence obj231 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list319 = new List(num2); - CollectionsMarshal.SetCount(list319, num2); - CollectionsMarshal.AsSpan(list319)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019009u, new Vector3(-29.160034f, 0.09999966f, -46.189087f), 628) - { - NextQuestId = new QuestId(2938) - }; - obj231.Steps = list319; - reference243 = obj231; - questRoot37.QuestSequence = list317; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(2938); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list320 = new List(num); - CollectionsMarshal.SetCount(list320, num); - CollectionsMarshal.AsSpan(list320)[0] = "liza"; - questRoot38.Author = list320; - num = 2; - List list321 = new List(num); - CollectionsMarshal.SetCount(list321, num); - Span span83 = CollectionsMarshal.AsSpan(list321); - ref QuestSequence reference244 = ref span83[0]; - QuestSequence obj232 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list322 = new List(num2); - CollectionsMarshal.SetCount(list322, num2); - CollectionsMarshal.AsSpan(list322)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019007u, new Vector3(-42.526978f, -2.9f, -47.959167f), 628) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj232.Steps = list322; - reference244 = obj232; - ref QuestSequence reference245 = ref span83[1]; - QuestSequence obj233 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list323 = new List(num2); - CollectionsMarshal.SetCount(list323, num2); - CollectionsMarshal.AsSpan(list323)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019009u, new Vector3(-29.160034f, 0.09999966f, -46.189087f), 628) - { - NextQuestId = new QuestId(2939) - }; - obj233.Steps = list323; - reference245 = obj233; - questRoot38.QuestSequence = list321; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(2939); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list324 = new List(num); - CollectionsMarshal.SetCount(list324, num); - CollectionsMarshal.AsSpan(list324)[0] = "liza"; - questRoot39.Author = list324; - num = 2; - List list325 = new List(num); - CollectionsMarshal.SetCount(list325, num); - Span span84 = CollectionsMarshal.AsSpan(list325); - ref QuestSequence reference246 = ref span84[0]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list326 = new List(num2); - CollectionsMarshal.SetCount(list326, num2); - CollectionsMarshal.AsSpan(list326)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019007u, new Vector3(-42.526978f, -2.9f, -47.959167f), 628) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj234.Steps = list326; - reference246 = obj234; - ref QuestSequence reference247 = ref span84[1]; - QuestSequence obj235 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list327 = new List(num2); - CollectionsMarshal.SetCount(list327, num2); - CollectionsMarshal.AsSpan(list327)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019009u, new Vector3(-29.160034f, 0.09999966f, -46.189087f), 628) - { - NextQuestId = new QuestId(3597) - }; - obj235.Steps = list327; - reference247 = obj235; - questRoot39.QuestSequence = list325; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(2940); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list328 = new List(num); - CollectionsMarshal.SetCount(list328, num); - CollectionsMarshal.AsSpan(list328)[0] = "liza"; - questRoot40.Author = list328; - num = 2; - List list329 = new List(num); - CollectionsMarshal.SetCount(list329, num); - Span span85 = CollectionsMarshal.AsSpan(list329); - ref QuestSequence reference248 = ref span85[0]; - QuestSequence obj236 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list330 = new List(num2); - CollectionsMarshal.SetCount(list330, num2); - CollectionsMarshal.AsSpan(list330)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023642u, new Vector3(53.787964f, 0f, 93.0647f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj236.Steps = list330; - reference248 = obj236; - ref QuestSequence reference249 = ref span85[1]; - QuestSequence obj237 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list331 = new List(num2); - CollectionsMarshal.SetCount(list331, num2); - CollectionsMarshal.AsSpan(list331)[0] = new QuestStep(EInteractionType.CompleteQuest, 1022849u, new Vector3(429.37354f, 60.51156f, -506.82846f), 612) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachFringesGate - }, - NextQuestId = new QuestId(3601) - }; - obj237.Steps = list331; - reference249 = obj237; - questRoot40.QuestSequence = list329; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(2941); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list332 = new List(num); - CollectionsMarshal.SetCount(list332, num); - CollectionsMarshal.AsSpan(list332)[0] = "liza"; - questRoot41.Author = list332; - num = 1; - List list333 = new List(num); - CollectionsMarshal.SetCount(list333, num); - ref QuestSequence reference250 = ref CollectionsMarshal.AsSpan(list333)[0]; - QuestSequence obj238 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - Span span86 = CollectionsMarshal.AsSpan(list334); - span86[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-69.61145f, 0.00999999f, 62.405437f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span86[1] = new QuestStep(EInteractionType.AcceptQuest, 1019459u, new Vector3(-70.54254f, 0.4599931f, 64.37781f), 635); - obj238.Steps = list334; - reference250 = obj238; - questRoot41.QuestSequence = list333; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(2943); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list335 = new List(num); - CollectionsMarshal.SetCount(list335, num); - CollectionsMarshal.AsSpan(list335)[0] = "liza"; - questRoot42.Author = list335; - num = 1; - List list336 = new List(num); - CollectionsMarshal.SetCount(list336, num); - ref QuestSequence reference251 = ref CollectionsMarshal.AsSpan(list336)[0]; - QuestSequence obj239 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list337 = new List(num2); - CollectionsMarshal.SetCount(list337, num2); - CollectionsMarshal.AsSpan(list337)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022622u, new Vector3(18.08191f, 4.0559936f, 70.02356f), 628); - obj239.Steps = list337; - reference251 = obj239; - questRoot42.QuestSequence = list336; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(2946); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list338 = new List(num); - CollectionsMarshal.SetCount(list338, num); - CollectionsMarshal.AsSpan(list338)[0] = "JerryWester"; - questRoot43.Author = list338; - num = 4; - List list339 = new List(num); - CollectionsMarshal.SetCount(list339, num); - Span span87 = CollectionsMarshal.AsSpan(list339); - ref QuestSequence reference252 = ref span87[0]; - QuestSequence obj240 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list340 = new List(num2); - CollectionsMarshal.SetCount(list340, num2); - CollectionsMarshal.AsSpan(list340)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023084u, new Vector3(-1.5717163f, 0f, -1.449646f), 639); - obj240.Steps = list340; - reference252 = obj240; - ref QuestSequence reference253 = ref span87[1]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - Span span88 = CollectionsMarshal.AsSpan(list341); - span88[0] = new QuestStep(EInteractionType.Interact, 2008134u, new Vector3(-0.015319824f, 1.1443481f, 13.504211f), 639) - { - TargetTerritoryId = (ushort)628 - }; - span88[1] = new QuestStep(EInteractionType.Interact, 1020222u, new Vector3(-9.781128f, 5.982579f, -172.53375f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeRubyBazaar, - To = EAetheryteLocation.KuganeRakuzaDistrict - } - }; - obj241.Steps = list341; - reference253 = obj241; - ref QuestSequence reference254 = ref span87[2]; - QuestSequence obj242 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - Span span89 = CollectionsMarshal.AsSpan(list342); - span89[0] = new QuestStep(EInteractionType.Interact, 1019070u, new Vector3(151.20166f, 14.7757225f, 95.78088f), 628) - { - TargetTerritoryId = (ushort)639, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeRakuzaDistrict, - To = EAetheryteLocation.KuganeRubyBazaar - } - }; - span89[1] = new QuestStep(EInteractionType.Interact, 1023084u, new Vector3(-1.5717163f, 0f, -1.449646f), 639); - obj242.Steps = list342; - reference254 = obj242; - ref QuestSequence reference255 = ref span87[3]; - QuestSequence obj243 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list343 = new List(num2); - CollectionsMarshal.SetCount(list343, num2); - CollectionsMarshal.AsSpan(list343)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020519u, new Vector3(173.78503f, 5.16971f, -417.41058f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaHouseOfTheFierce - }; - obj243.Steps = list343; - reference255 = obj243; - questRoot43.QuestSequence = list339; - AddQuest(questId43, questRoot43); - QuestId questId44 = new QuestId(2947); - QuestRoot questRoot44 = new QuestRoot(); - num = 1; - List list344 = new List(num); - CollectionsMarshal.SetCount(list344, num); - CollectionsMarshal.AsSpan(list344)[0] = "JerryWester"; - questRoot44.Author = list344; - num = 6; - List list345 = new List(num); - CollectionsMarshal.SetCount(list345, num); - Span span90 = CollectionsMarshal.AsSpan(list345); - ref QuestSequence reference256 = ref span90[0]; - QuestSequence obj244 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list346 = new List(num2); - CollectionsMarshal.SetCount(list346, num2); - CollectionsMarshal.AsSpan(list346)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020232u, new Vector3(337.27014f, 31.034986f, 206.43921f), 614); - obj244.Steps = list346; - reference256 = obj244; - ref QuestSequence reference257 = ref span90[1]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list347 = new List(num2); - CollectionsMarshal.SetCount(list347, num2); - Span span91 = CollectionsMarshal.AsSpan(list347); - span91[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(163.68964f, -0.29980254f, 228.32257f), 614) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span91[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(146.4086f, -0.3000002f, 271.62607f), 614) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span91[2] = new QuestStep(EInteractionType.UseItem, 2007926u, new Vector3(164.99573f, 6.2713623f, 357.80872f), 614) - { - Fly = true, - ItemId = 2002176u, - GroundTarget = true - }; - obj245.Steps = list347; - reference257 = obj245; - ref QuestSequence reference258 = ref span90[2]; - QuestSequence obj246 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list348 = new List(num2); - CollectionsMarshal.SetCount(list348, num2); - Span span92 = CollectionsMarshal.AsSpan(list348); - ref QuestStep reference259 = ref span92[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 2007928u, new Vector3(170.55005f, 6.6376343f, 360.12805f), 614); - num3 = 6; - List list349 = new List(num3); - CollectionsMarshal.SetCount(list349, num3); - Span span93 = CollectionsMarshal.AsSpan(list349); - span93[0] = null; - span93[1] = null; - span93[2] = null; - span93[3] = null; - span93[4] = null; - span93[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list349; - reference259 = questStep15; - ref QuestStep reference260 = ref span92[1]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 2007930u, new Vector3(165.6062f, 4.348816f, 349.38574f), 614); - num3 = 6; - List list350 = new List(num3); - CollectionsMarshal.SetCount(list350, num3); - Span span94 = CollectionsMarshal.AsSpan(list350); - span94[0] = null; - span94[1] = null; - span94[2] = null; - span94[3] = null; - span94[4] = null; - span94[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list350; - reference260 = questStep16; - ref QuestStep reference261 = ref span92[2]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 2007929u, new Vector3(157.61035f, 6.6376343f, 357.01526f), 614); - num3 = 6; - List list351 = new List(num3); - CollectionsMarshal.SetCount(list351, num3); - Span span95 = CollectionsMarshal.AsSpan(list351); - span95[0] = null; - span95[1] = null; - span95[2] = null; - span95[3] = null; - span95[4] = null; - span95[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list351; - reference261 = questStep17; - obj246.Steps = list348; - reference258 = obj246; - ref QuestSequence reference262 = ref span90[3]; - QuestSequence obj247 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list352 = new List(num2); - CollectionsMarshal.SetCount(list352, num2); - CollectionsMarshal.AsSpan(list352)[0] = new QuestStep(EInteractionType.UseItem, 2007927u, new Vector3(40.72632f, 5.4473877f, 301.07568f), 614) - { - Fly = true, - ItemId = 2002176u, - GroundTarget = true - }; - obj247.Steps = list352; - reference262 = obj247; - ref QuestSequence reference263 = ref span90[4]; - QuestSequence obj248 = new QuestSequence - { - Sequence = 4 - }; - num2 = 6; - List list353 = new List(num2); - CollectionsMarshal.SetCount(list353, num2); - Span span96 = CollectionsMarshal.AsSpan(list353); - ref QuestStep reference264 = ref span96[0]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 2008192u, new Vector3(37.67456f, 5.0201416f, 295.1858f), 614); - num3 = 6; - List list354 = new List(num3); - CollectionsMarshal.SetCount(list354, num3); - Span span97 = CollectionsMarshal.AsSpan(list354); - span97[0] = null; - span97[1] = null; - span97[2] = null; - span97[3] = null; - span97[4] = null; - span97[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list354; - reference264 = questStep18; - ref QuestStep reference265 = ref span96[1]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 2008193u, new Vector3(44.87671f, 5.3864136f, 293.59875f), 614); - num3 = 6; - List list355 = new List(num3); - CollectionsMarshal.SetCount(list355, num3); - Span span98 = CollectionsMarshal.AsSpan(list355); - span98[0] = null; - span98[1] = null; - span98[2] = null; - span98[3] = null; - span98[4] = null; - span98[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list355; - reference265 = questStep19; - ref QuestStep reference266 = ref span96[2]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 2008189u, new Vector3(48.78308f, 5.5999756f, 294.02612f), 614); - num3 = 6; - List list356 = new List(num3); - CollectionsMarshal.SetCount(list356, num3); - Span span99 = CollectionsMarshal.AsSpan(list356); - span99[0] = null; - span99[1] = null; - span99[2] = null; - span99[3] = null; - span99[4] = null; - span99[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep20.CompletionQuestVariablesFlags = list356; - reference266 = questStep20; - ref QuestStep reference267 = ref span96[3]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 2008188u, new Vector3(49.759644f, 5.9662476f, 301.07568f), 614); - num3 = 6; - List list357 = new List(num3); - CollectionsMarshal.SetCount(list357, num3); - Span span100 = CollectionsMarshal.AsSpan(list357); - span100[0] = null; - span100[1] = null; - span100[2] = null; - span100[3] = null; - span100[4] = null; - span100[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep21.CompletionQuestVariablesFlags = list357; - reference267 = questStep21; - ref QuestStep reference268 = ref span96[4]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 2008191u, new Vector3(41.672363f, 5.416931f, 308.91882f), 614); - num3 = 6; - List list358 = new List(num3); - CollectionsMarshal.SetCount(list358, num3); - Span span101 = CollectionsMarshal.AsSpan(list358); - span101[0] = null; - span101[1] = null; - span101[2] = null; - span101[3] = null; - span101[4] = null; - span101[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep22.CompletionQuestVariablesFlags = list358; - reference268 = questStep22; - ref QuestStep reference269 = ref span96[5]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 2008190u, new Vector3(33.829224f, 4.8065186f, 308.5221f), 614); - num3 = 6; - List list359 = new List(num3); - CollectionsMarshal.SetCount(list359, num3); - Span span102 = CollectionsMarshal.AsSpan(list359); - span102[0] = null; - span102[1] = null; - span102[2] = null; - span102[3] = null; - span102[4] = null; - span102[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list359; - reference269 = questStep23; - obj248.Steps = list353; - reference263 = obj248; - ref QuestSequence reference270 = ref span90[5]; - QuestSequence obj249 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list360 = new List(num2); - CollectionsMarshal.SetCount(list360, num2); - Span span103 = CollectionsMarshal.AsSpan(list360); - span103[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(163.68964f, -0.29980254f, 228.32257f), 614) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span103[1] = new QuestStep(EInteractionType.CompleteQuest, 1020232u, new Vector3(337.27014f, 31.034986f, 206.43921f), 614) - { - Fly = true - }; - obj249.Steps = list360; - reference270 = obj249; - questRoot44.QuestSequence = list345; - AddQuest(questId44, questRoot44); - QuestId questId45 = new QuestId(2948); - QuestRoot questRoot45 = new QuestRoot(); - num = 1; - List list361 = new List(num); - CollectionsMarshal.SetCount(list361, num); - CollectionsMarshal.AsSpan(list361)[0] = "xan"; - questRoot45.Author = list361; - num = 8; - List list362 = new List(num); - CollectionsMarshal.SetCount(list362, num); - Span span104 = CollectionsMarshal.AsSpan(list362); - ref QuestSequence reference271 = ref span104[0]; - QuestSequence obj250 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list363 = new List(num2); - CollectionsMarshal.SetCount(list363, num2); - Span span105 = CollectionsMarshal.AsSpan(list363); - span105[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span105[1] = new QuestStep(EInteractionType.AcceptQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137); - obj250.Steps = list363; - reference271 = obj250; - ref QuestSequence reference272 = ref span104[1]; - QuestSequence obj251 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list364 = new List(num2); - CollectionsMarshal.SetCount(list364, num2); - Span span106 = CollectionsMarshal.AsSpan(list364); - span106[0] = new QuestStep(EInteractionType.Interact, 1009944u, new Vector3(-152.66656f, 2.8562405f, 243.18298f), 129) - { - TargetTerritoryId = (ushort)129, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-151.80984f, -128.6493f, 265.27332f), - MaximumDistance = 50f, - TerritoryId = 129 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-151.80984f, -128.6493f, 265.27332f), - MaximumDistance = 50f, - TerritoryId = 129 - } - } - } - }; - span106[1] = new QuestStep(EInteractionType.Interact, 1009943u, new Vector3(-153.36847f, -129.4397f, 265.88843f), 129); - obj251.Steps = list364; - reference272 = obj251; - ref QuestSequence reference273 = ref span104[2]; - QuestSequence obj252 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list365 = new List(num2); - CollectionsMarshal.SetCount(list365, num2); - ref QuestStep reference274 = ref CollectionsMarshal.AsSpan(list365)[0]; - QuestStep obj253 = new QuestStep(EInteractionType.Interact, 1005411u, new Vector3(13.412659f, 40.2f, -13.260071f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - num3 = 1; - List list366 = new List(num3); - CollectionsMarshal.SetCount(list366, num3); - CollectionsMarshal.AsSpan(list366)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBNIN601_02948_Q1_000_031"), - Answer = new ExcelRef("TEXT_JOBNIN601_02948_A3_000_034") - }; - obj253.DialogueChoices = list366; - reference274 = obj253; - obj252.Steps = list365; - reference273 = obj252; - ref QuestSequence reference275 = ref span104[3]; - QuestSequence obj254 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list367 = new List(num2); - CollectionsMarshal.SetCount(list367, num2); - Span span107 = CollectionsMarshal.AsSpan(list367); - ref QuestStep reference276 = ref span107[0]; - QuestStep obj255 = new QuestStep(EInteractionType.Interact, 1003597u, new Vector3(8.194031f, 39.999973f, 17.746216f), 128) - { - TargetTerritoryId = (ushort)129 - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list368 = new List(num3); - CollectionsMarshal.SetCount(list368, num3); - CollectionsMarshal.AsSpan(list368)[0] = 129; - skipStepConditions.InTerritory = list368; - skipConditions3.StepIf = skipStepConditions; - obj255.SkipConditions = skipConditions3; - reference276 = obj255; - span107[1] = new QuestStep(EInteractionType.Interact, 1023751u, new Vector3(0.62561035f, 20.333344f, 5.935669f), 129); - obj254.Steps = list367; - reference275 = obj254; - ref QuestSequence reference277 = ref span104[4]; - QuestSequence obj256 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list369 = new List(num2); - CollectionsMarshal.SetCount(list369, num2); - CollectionsMarshal.AsSpan(list369)[0] = new QuestStep(EInteractionType.Interact, 1023545u, new Vector3(-3.8911133f, 66.760155f, 45.303955f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport - }; - obj256.Steps = list369; - reference277 = obj256; - ref QuestSequence reference278 = ref span104[5]; - QuestSequence obj257 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list370 = new List(num2); - CollectionsMarshal.SetCount(list370, num2); - ref QuestStep reference279 = ref CollectionsMarshal.AsSpan(list370)[0]; - QuestStep obj258 = new QuestStep(EInteractionType.Combat, 1023547u, new Vector3(468.80298f, 10.538202f, 774.13586f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list371 = new List(num3); - CollectionsMarshal.SetCount(list371, num3); - CollectionsMarshal.AsSpan(list371)[0] = 7496u; - obj258.KillEnemyDataIds = list371; - reference279 = obj258; - obj257.Steps = list370; - reference278 = obj257; - ref QuestSequence reference280 = ref span104[6]; - QuestSequence obj259 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list372 = new List(num2); - CollectionsMarshal.SetCount(list372, num2); - CollectionsMarshal.AsSpan(list372)[0] = new QuestStep(EInteractionType.Interact, 1023550u, new Vector3(477.10376f, 11.543927f, 232.28796f), 137) - { - Fly = true - }; - obj259.Steps = list372; - reference280 = obj259; - ref QuestSequence reference281 = ref span104[7]; - QuestSequence obj260 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list373 = new List(num2); - CollectionsMarshal.SetCount(list373, num2); - Span span108 = CollectionsMarshal.AsSpan(list373); - span108[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - } - } - }; - span108[1] = new QuestStep(EInteractionType.CompleteQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137) - { - NextQuestId = new QuestId(2949) - }; - obj260.Steps = list373; - reference281 = obj260; - questRoot45.QuestSequence = list362; - AddQuest(questId45, questRoot45); - QuestId questId46 = new QuestId(2949); - QuestRoot questRoot46 = new QuestRoot(); - num = 1; - List list374 = new List(num); - CollectionsMarshal.SetCount(list374, num); - CollectionsMarshal.AsSpan(list374)[0] = "xan"; - questRoot46.Author = list374; - num = 9; - List list375 = new List(num); - CollectionsMarshal.SetCount(list375, num); - Span span109 = CollectionsMarshal.AsSpan(list375); - ref QuestSequence reference282 = ref span109[0]; - QuestSequence obj261 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list376 = new List(num2); - CollectionsMarshal.SetCount(list376, num2); - Span span110 = CollectionsMarshal.AsSpan(list376); - span110[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span110[1] = new QuestStep(EInteractionType.AcceptQuest, 1010778u, new Vector3(-28.854858f, -24.773243f, 265.3086f), 137); - obj261.Steps = list376; - reference282 = obj261; - ref QuestSequence reference283 = ref span109[1]; - QuestSequence obj262 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list377 = new List(num2); - CollectionsMarshal.SetCount(list377, num2); - CollectionsMarshal.AsSpan(list377)[0] = new QuestStep(EInteractionType.Interact, 1023555u, new Vector3(116.349976f, 11.993538f, -40.45172f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - } - }; - obj262.Steps = list377; - reference283 = obj262; - ref QuestSequence reference284 = ref span109[2]; - QuestSequence obj263 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list378 = new List(num2); - CollectionsMarshal.SetCount(list378, num2); - Span span111 = CollectionsMarshal.AsSpan(list378); - ref QuestStep reference285 = ref span111[0]; - QuestStep obj264 = new QuestStep(EInteractionType.Action, null, new Vector3(-22.793612f, 2.2649765E-06f, -60.22008f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeSekiseigumiBarracks, - To = EAetheryteLocation.Kugane - }, - Action = EAction.Hide - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list379 = new List(num3); - CollectionsMarshal.SetCount(list379, num3); - Span span112 = CollectionsMarshal.AsSpan(list379); - span112[0] = null; - span112[1] = null; - span112[2] = null; - span112[3] = null; - span112[4] = null; - span112[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list379; - skipConditions4.StepIf = skipStepConditions2; - obj264.SkipConditions = skipConditions4; - reference285 = obj264; - ref QuestStep reference286 = ref span111[1]; - QuestStep questStep24 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-46.572186f, 3.0135043f, -71.70311f), 628); - num3 = 6; - List list380 = new List(num3); - CollectionsMarshal.SetCount(list380, num3); - Span span113 = CollectionsMarshal.AsSpan(list380); - span113[0] = null; - span113[1] = null; - span113[2] = null; - span113[3] = null; - span113[4] = null; - span113[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep24.CompletionQuestVariablesFlags = list380; - reference286 = questStep24; - span111[2] = new QuestStep(EInteractionType.StatusOff, null, null, 628) - { - Status = EStatus.Hidden - }; - span111[3] = new QuestStep(EInteractionType.Action, null, new Vector3(-53.864307f, -2.1307263f, -106.929726f), 628) - { - Action = EAction.Hide - }; - span111[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-82.41595f, -7.300003f, -111.459076f), 628); - obj263.Steps = list378; - reference284 = obj263; - ref QuestSequence reference287 = ref span109[3]; - QuestSequence obj265 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list381 = new List(num2); - CollectionsMarshal.SetCount(list381, num2); - Span span114 = CollectionsMarshal.AsSpan(list381); - span114[0] = new QuestStep(EInteractionType.StatusOff, null, null, 628) - { - Status = EStatus.Hidden - }; - span114[1] = new QuestStep(EInteractionType.Interact, 1023555u, new Vector3(116.349976f, 11.993538f, -40.45172f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - } - }; - obj265.Steps = list381; - reference287 = obj265; - ref QuestSequence reference288 = ref span109[4]; - QuestSequence obj266 = new QuestSequence - { - Sequence = 4 - }; - num2 = 5; - List list382 = new List(num2); - CollectionsMarshal.SetCount(list382, num2); - Span span115 = CollectionsMarshal.AsSpan(list382); - span115[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-75.76606f, 18f, -164.78288f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeSekiseigumiBarracks, - To = EAetheryteLocation.KuganeBokairoInn - }, - JumpDestination = new JumpDestination - { - Position = new Vector3(-70.46664f, 19.583387f, -163.98515f) - } - }; - span115[1] = new QuestStep(EInteractionType.Jump, null, new Vector3(-70.54904f, 19.550425f, -163.96664f), 628) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(-67.09049f, 20.600859f, -163.70255f) - } - }; - span115[2] = new QuestStep(EInteractionType.Jump, null, new Vector3(-68.15528f, 20.696194f, -163.4804f), 628) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(-67.90176f, 24.143099f, -159.9363f) - } - }; - span115[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-39.38211f, 20.545578f, -156.03827f), 628) - { - DisableNavmesh = true - }; - span115[4] = new QuestStep(EInteractionType.Interact, 2008933u, new Vector3(-40.05493f, 18.783813f, -143.3891f), 628) - { - DisableNavmesh = true - }; - obj266.Steps = list382; - reference288 = obj266; - ref QuestSequence reference289 = ref span109[5]; - QuestSequence obj267 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list383 = new List(num2); - CollectionsMarshal.SetCount(list383, num2); - Span span116 = CollectionsMarshal.AsSpan(list383); - span116[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-55.23437f, 5.9548235f, -144.91388f), 628) - { - DisableNavmesh = true - }; - span116[1] = new QuestStep(EInteractionType.Interact, 2008934u, new Vector3(-117.5708f, 13.412659f, -134.35571f), 628); - obj267.Steps = list383; - reference289 = obj267; - ref QuestSequence reference290 = ref span109[6]; - QuestSequence obj268 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list384 = new List(num2); - CollectionsMarshal.SetCount(list384, num2); - CollectionsMarshal.AsSpan(list384)[0] = new QuestStep(EInteractionType.Interact, 2008935u, new Vector3(-118.18121f, 13.199036f, -143.14496f), 628); - obj268.Steps = list384; - reference290 = obj268; - ref QuestSequence reference291 = ref span109[7]; - QuestSequence obj269 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list385 = new List(num2); - CollectionsMarshal.SetCount(list385, num2); - CollectionsMarshal.AsSpan(list385)[0] = new QuestStep(EInteractionType.Interact, 2008936u, new Vector3(-107.49988f, 19.241516f, -201.31226f), 628); - obj269.Steps = list385; - reference291 = obj269; - ref QuestSequence reference292 = ref span109[8]; - QuestSequence obj270 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list386 = new List(num2); - CollectionsMarshal.SetCount(list386, num2); - CollectionsMarshal.AsSpan(list386)[0] = new QuestStep(EInteractionType.CompleteQuest, 2008937u, new Vector3(116.80774f, 11.9782715f, -38.345947f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeBokairoInn, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - }, - NextQuestId = new QuestId(2950) - }; - obj270.Steps = list386; - reference292 = obj270; - questRoot46.QuestSequence = list375; - AddQuest(questId46, questRoot46); - } - - private static void LoadQuests59() - { - QuestId questId = new QuestId(2950); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "xan"; - questRoot.Author = list; - num = 7; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023555u, new Vector3(116.349976f, 11.993538f, -40.45172f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1023565u, new Vector3(60.77661f, 2.011992f, 34.042847f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeSekiseigumiBarracks, - To = EAetheryteLocation.KuganeMarkets - } - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1023566u, new Vector3(8.682312f, 4f, 49.881714f), 628); - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Interact, 1023565u, new Vector3(60.77661f, 2.011992f, 34.042847f), 628); - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.Interact, 1023555u, new Vector3(116.349976f, 11.993538f, -40.45172f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeMarkets, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - } - }; - obj5.Steps = list7; - reference5 = obj5; - ref QuestSequence reference6 = ref span[5]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1023567u, new Vector3(696.681f, -0.051437557f, 22.659607f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(696.681f, -0.051437557f, 22.659607f), - MaximumDistance = 100f, - TerritoryId = 613 - } - } - } - }; - obj6.Steps = list8; - reference6 = obj6; - ref QuestSequence reference7 = ref span[6]; - QuestSequence obj7 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023570u, new Vector3(412.16138f, 68.02851f, -96.75751f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - NextQuestId = new QuestId(2951) - }; - obj7.Steps = list9; - reference7 = obj7; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(2951); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - CollectionsMarshal.AsSpan(list10)[0] = "xan"; - questRoot2.Author = list10; - num = 9; - List list11 = new List(num); - CollectionsMarshal.SetCount(list11, num); - Span span2 = CollectionsMarshal.AsSpan(list11); - ref QuestSequence reference8 = ref span2[0]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - ref QuestStep reference9 = ref CollectionsMarshal.AsSpan(list12)[0]; - QuestStep obj9 = new QuestStep(EInteractionType.AcceptQuest, 1023571u, new Vector3(413.0769f, 68.02851f, -99.321045f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - int num3 = 1; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - CollectionsMarshal.AsSpan(list13)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBNIN680_02951_Q1_000_003"), - Answer = new ExcelRef("TEXT_JOBNIN680_02951_A3_000_006") - }; - obj9.DialogueChoices = list13; - reference9 = obj9; - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference10 = ref span2[1]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.Interact, 1023573u, new Vector3(703.24243f, 107.83904f, -341.45117f), 614) - { - Fly = true - }; - obj10.Steps = list14; - reference10 = obj10; - ref QuestSequence reference11 = ref span2[2]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - ref QuestStep reference12 = ref CollectionsMarshal.AsSpan(list15)[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1023570u, new Vector3(412.16138f, 68.02851f, -96.75751f), 614); - num3 = 1; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - CollectionsMarshal.AsSpan(list16)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_JOBNIN680_02951_SYSTEM_100_049") - }; - questStep.DialogueChoices = list16; - reference12 = questStep; - obj11.Steps = list15; - reference11 = obj11; - ref QuestSequence reference13 = ref span2[3]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.Interact, 1023577u, new Vector3(693.2936f, 171.37398f, 84.82483f), 614); - obj12.Steps = list17; - reference13 = obj12; - ref QuestSequence reference14 = ref span2[4]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.Interact, 1023570u, new Vector3(412.16138f, 68.02851f, -96.75751f), 614); - obj13.Steps = list18; - reference14 = obj13; - ref QuestSequence reference15 = ref span2[5]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - ref QuestStep reference16 = ref CollectionsMarshal.AsSpan(list19)[0]; - QuestStep obj15 = new QuestStep(EInteractionType.Combat, null, new Vector3(555.4114f, 16.160986f, 390.68732f), 614) - { - StopDistance = 1f, - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - CollectionsMarshal.AsSpan(list20)[0] = 6641u; - obj15.KillEnemyDataIds = list20; - reference16 = obj15; - obj14.Steps = list19; - reference15 = obj14; - ref QuestSequence reference17 = ref span2[6]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - ref QuestStep reference18 = ref CollectionsMarshal.AsSpan(list21)[0]; - QuestStep obj17 = new QuestStep(EInteractionType.Interact, 1023570u, new Vector3(412.16138f, 68.02851f, -96.75751f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaNamai - }; - num3 = 1; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - CollectionsMarshal.AsSpan(list22)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_JOBNIN680_02951_SYSTEM_100_049") - }; - obj17.DialogueChoices = list22; - reference18 = obj17; - obj16.Steps = list21; - reference17 = obj16; - ref QuestSequence reference19 = ref span2[7]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.Interact, 1023577u, new Vector3(693.2936f, 171.37398f, 84.82483f), 614); - obj18.Steps = list23; - reference19 = obj18; - ref QuestSequence reference20 = ref span2[8]; - QuestSequence obj19 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023570u, new Vector3(412.16138f, 68.02851f, -96.75751f), 614) - { - NextQuestId = new QuestId(2952) - }; - obj19.Steps = list24; - reference20 = obj19; - questRoot2.QuestSequence = list11; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(2952); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - CollectionsMarshal.AsSpan(list25)[0] = "xan"; - questRoot3.Author = list25; - num = 3; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - Span span3 = CollectionsMarshal.AsSpan(list26); - ref QuestSequence reference21 = ref span3[0]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - ref QuestStep reference22 = ref CollectionsMarshal.AsSpan(list27)[0]; - QuestStep obj21 = new QuestStep(EInteractionType.AcceptQuest, 1023570u, new Vector3(413.0769f, 68.02851f, -99.321045f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - CollectionsMarshal.AsSpan(list28)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBNIN700_02952_Q1_100_004"), - Answer = new ExcelRef("TEXT_JOBNIN700_02952_A1_100_005") - }; - obj21.DialogueChoices = list28; - reference22 = obj21; - obj20.Steps = list27; - reference21 = obj20; - ref QuestSequence reference23 = ref span3[1]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2008939u, new Vector3(-174.60901f, 1.1138916f, 767.5134f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-174.60901f, 1.1138916f, 767.5134f), - MaximumDistance = 100f, - TerritoryId = 622 - } - } - } - }; - obj22.Steps = list29; - reference23 = obj22; - ref QuestSequence reference24 = ref span3[2]; - QuestSequence obj23 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - Span span4 = CollectionsMarshal.AsSpan(list30); - span4[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.DockStorehouse - } - } - }; - span4[1] = new QuestStep(EInteractionType.CompleteQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137) - { - NextQuestId = new QuestId(2949) - }; - obj23.Steps = list30; - reference24 = obj23; - questRoot3.QuestSequence = list26; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(2953); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list31 = new List(num); - CollectionsMarshal.SetCount(list31, num); - CollectionsMarshal.AsSpan(list31)[0] = "JerryWester"; - questRoot4.Author = list31; - num = 5; - List list32 = new List(num); - CollectionsMarshal.SetCount(list32, num); - Span span5 = CollectionsMarshal.AsSpan(list32); - ref QuestSequence reference25 = ref span5[0]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - Span span6 = CollectionsMarshal.AsSpan(list33); - span6[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(52.668243f, 4.323245f, -600.21014f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span6[1] = new QuestStep(EInteractionType.AcceptQuest, 1021507u, new Vector3(57.236572f, 1.575162f, -578.24066f), 613) - { - DisableNavmesh = true - }; - obj24.Steps = list33; - reference25 = obj24; - ref QuestSequence reference26 = ref span5[1]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - ref QuestStep reference27 = ref CollectionsMarshal.AsSpan(list34)[0]; - QuestStep obj26 = new QuestStep(EInteractionType.Combat, null, new Vector3(-371.42313f, 3.2183487f, -537.3274f), 613) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - CollectionsMarshal.AsSpan(list35)[0] = 8029u; - obj26.KillEnemyDataIds = list35; - reference27 = obj26; - obj25.Steps = list34; - reference26 = obj25; - ref QuestSequence reference28 = ref span5[2]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.Interact, 1023682u, new Vector3(-367.9713f, 3.3707767f, -534.4778f), 613) - { - StopDistance = 7f - }; - obj27.Steps = list36; - reference28 = obj27; - ref QuestSequence reference29 = ref span5[3]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.Interact, 1023682u, new Vector3(-367.9713f, 3.3707767f, -534.4778f), 613) - { - StopDistance = 7f - }; - obj28.Steps = list37; - reference29 = obj28; - ref QuestSequence reference30 = ref span5[4]; - QuestSequence obj29 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021507u, new Vector3(57.236572f, 1.575162f, -578.24066f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - obj29.Steps = list38; - reference30 = obj29; - questRoot4.QuestSequence = list32; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(2954); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - CollectionsMarshal.AsSpan(list39)[0] = "JerryWester"; - questRoot5.Author = list39; - num = 3; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - Span span7 = CollectionsMarshal.AsSpan(list40); - ref QuestSequence reference31 = ref span7[0]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020842u, new Vector3(81.55945f, 118.15579f, -717.89124f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj30.Steps = list41; - reference31 = obj30; - ref QuestSequence reference32 = ref span7[1]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - Span span8 = CollectionsMarshal.AsSpan(list42); - ref QuestStep reference33 = ref span8[0]; - QuestStep obj32 = new QuestStep(EInteractionType.Combat, null, new Vector3(-53.208252f, 104.518814f, -739.1928f), 620) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - CollectionsMarshal.AsSpan(list43)[0] = new ComplexCombatData - { - DataId = 7447u, - MinimumKillCount = 1u, - RewardItemId = 2002391u, - RewardItemCount = 1 - }; - obj32.ComplexCombatData = list43; - reference33 = obj32; - ref QuestStep reference34 = ref span8[1]; - QuestStep obj33 = new QuestStep(EInteractionType.Combat, null, new Vector3(-476.92078f, 48.885674f, -732.2957f), 620) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - CollectionsMarshal.AsSpan(list44)[0] = new ComplexCombatData - { - DataId = 7450u, - MinimumKillCount = 1u, - RewardItemId = 2002392u, - RewardItemCount = 1 - }; - obj33.ComplexCombatData = list44; - reference34 = obj33; - obj31.Steps = list42; - reference32 = obj31; - ref QuestSequence reference35 = ref span7[2]; - QuestSequence obj34 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020842u, new Vector3(81.55945f, 118.15579f, -717.89124f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - obj34.Steps = list45; - reference35 = obj34; - questRoot5.QuestSequence = list40; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(2955); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - CollectionsMarshal.AsSpan(list46)[0] = "JerryWester"; - questRoot6.Author = list46; - num = 4; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - Span span9 = CollectionsMarshal.AsSpan(list47); - ref QuestSequence reference36 = ref span9[0]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020848u, new Vector3(113.725464f, 118.15579f, -715.6634f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj35.Steps = list48; - reference36 = obj35; - ref QuestSequence reference37 = ref span9[1]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.Interact, 1020857u, new Vector3(-768.91736f, 81.467896f, -300.8011f), 620) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachPeaksGate - } - }; - obj36.Steps = list49; - reference37 = obj36; - ref QuestSequence reference38 = ref span9[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.Interact, 2008680u, new Vector3(-763.97345f, 81.89514f, -298.3902f), 620); - obj37.Steps = list50; - reference38 = obj37; - ref QuestSequence reference39 = ref span9[3]; - QuestSequence obj38 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020848u, new Vector3(113.725464f, 118.15579f, -715.6634f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - obj38.Steps = list51; - reference39 = obj38; - questRoot6.QuestSequence = list47; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(2962); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - CollectionsMarshal.AsSpan(list52)[0] = "JerryWester"; - questRoot7.Author = list52; - num = 3; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - Span span10 = CollectionsMarshal.AsSpan(list53); - ref QuestSequence reference40 = ref span10[0]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019468u, new Vector3(170.58057f, 13.02367f, -91.96619f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj39.Steps = list54; - reference40 = obj39; - ref QuestSequence reference41 = ref span10[1]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.Interact, 1024136u, new Vector3(-29.34314f, -0.1424195f, -124.52893f), 635); - obj40.Steps = list55; - reference41 = obj40; - ref QuestSequence reference42 = ref span10[2]; - QuestSequence obj41 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - Span span11 = CollectionsMarshal.AsSpan(list56); - span11[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-63.63005f, -0.0012056828f, -101.09714f), 635); - span11[1] = new QuestStep(EInteractionType.CompleteQuest, 2009050u, new Vector3(49.66809f, -0.015319824f, 58.182617f), 635) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReachWest, - To = EAetheryteLocation.RhalgrsReach - } - }; - obj41.Steps = list56; - reference42 = obj41; - questRoot7.QuestSequence = list53; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(2963); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - CollectionsMarshal.AsSpan(list57)[0] = "JerryWester"; - questRoot8.Author = list57; - num = 4; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - Span span12 = CollectionsMarshal.AsSpan(list58); - ref QuestSequence reference43 = ref span12[0]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024137u, new Vector3(47.77588f, 0f, 58.64038f), 635) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj42.Steps = list59; - reference43 = obj42; - ref QuestSequence reference44 = ref span12[1]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - Span span13 = CollectionsMarshal.AsSpan(list60); - ref QuestStep reference45 = ref span13[0]; - QuestStep obj44 = new QuestStep(EInteractionType.Interact, 1024130u, new Vector3(614.61804f, 80.000015f, 624.567f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter - }; - num3 = 6; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - Span span14 = CollectionsMarshal.AsSpan(list61); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj44.CompletionQuestVariablesFlags = list61; - reference45 = obj44; - ref QuestStep reference46 = ref span13[1]; - QuestStep obj45 = new QuestStep(EInteractionType.Interact, 1024131u, new Vector3(585.3512f, 70f, 564.0801f), 621) - { - Fly = true - }; - num3 = 6; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - Span span15 = CollectionsMarshal.AsSpan(list62); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj45.CompletionQuestVariablesFlags = list62; - reference46 = obj45; - span13[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(682.593f, 69.99999f, 538.1847f), 621) - { - Fly = true - }; - ref QuestStep reference47 = ref span13[3]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1024132u, new Vector3(683.71094f, 70f, 540.5508f), 621); - num3 = 6; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - Span span16 = CollectionsMarshal.AsSpan(list63); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list63; - reference47 = questStep2; - obj43.Steps = list60; - reference44 = obj43; - ref QuestSequence reference48 = ref span12[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.Interact, 1024133u, new Vector3(745.20483f, 69.99999f, 489.76868f), 621); - obj46.Steps = list64; - reference48 = obj46; - ref QuestSequence reference49 = ref span12[3]; - QuestSequence obj47 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024103u, new Vector3(532.494f, 70f, 576.1653f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter - }; - obj47.Steps = list65; - reference49 = obj47; - questRoot8.QuestSequence = list58; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(2964); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - CollectionsMarshal.AsSpan(list66)[0] = "JerryWester"; - questRoot9.Author = list66; - num = 7; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - Span span17 = CollectionsMarshal.AsSpan(list67); - ref QuestSequence reference50 = ref span17[0]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024104u, new Vector3(530.81555f, 70f, 576.0128f), 621) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj48.Steps = list68; - reference50 = obj48; - ref QuestSequence reference51 = ref span17[1]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - Span span18 = CollectionsMarshal.AsSpan(list69); - span18[0] = new QuestStep(EInteractionType.Interact, 1023048u, new Vector3(497.76453f, 69.99941f, 583.7339f), 621) - { - TargetTerritoryId = (ushort)621, - Fly = true - }; - span18[1] = new QuestStep(EInteractionType.Interact, 1024134u, new Vector3(207.84314f, -0.3f, 338.55188f), 621) - { - Fly = true - }; - obj49.Steps = list69; - reference51 = obj49; - ref QuestSequence reference52 = ref span17[2]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - Span span19 = CollectionsMarshal.AsSpan(list70); - span19[0] = new QuestStep(EInteractionType.Dive, null, new Vector3(196.67705f, -0.6f, 318.12054f), 621) - { - StopDistance = 0.25f - }; - span19[1] = new QuestStep(EInteractionType.Interact, 2009052u, new Vector3(144.97595f, -270.98505f, -12.283508f), 621); - obj50.Steps = list70; - reference52 = obj50; - ref QuestSequence reference53 = ref span17[3]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.Interact, 2009054u, new Vector3(258.19788f, -274.06738f, -12.588745f), 621); - obj51.Steps = list71; - reference53 = obj51; - ref QuestSequence reference54 = ref span17[4]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.Duty, null, null, 621) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 279u - } - }; - obj52.Steps = list72; - reference54 = obj52; - span17[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference55 = ref span17[6]; - QuestSequence obj53 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024104u, new Vector3(530.81555f, 70f, 576.0128f), 621) - { - StopDistance = 6f - }; - obj53.Steps = list73; - reference55 = obj53; - questRoot9.QuestSequence = list67; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(2965); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - CollectionsMarshal.AsSpan(list74)[0] = "JerryWester"; - questRoot10.Author = list74; - num = 4; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - Span span20 = CollectionsMarshal.AsSpan(list75); - ref QuestSequence reference56 = ref span20[0]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024103u, new Vector3(532.494f, 70f, 576.1653f), 621) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj54.Steps = list76; - reference56 = obj54; - ref QuestSequence reference57 = ref span20[1]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Interact, 1024105u, new Vector3(739.22327f, 70f, 537.6515f), 621) - { - Fly = true - }; - obj55.Steps = list77; - reference57 = obj55; - ref QuestSequence reference58 = ref span20[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.Interact, 1024107u, new Vector3(788.3878f, 69.999916f, 637.3845f), 621) - { - StopDistance = 5f - }; - obj56.Steps = list78; - reference58 = obj56; - ref QuestSequence reference59 = ref span20[3]; - QuestSequence obj57 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - ref QuestStep reference60 = ref CollectionsMarshal.AsSpan(list79)[0]; - QuestStep obj58 = new QuestStep(EInteractionType.CompleteQuest, 1024112u, new Vector3(796.933f, 69.9999f, 634.76f), 621) - { - StopDistance = 7f - }; - num3 = 1; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - CollectionsMarshal.AsSpan(list80)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDB104_02965_Q1_000_000") - }; - obj58.DialogueChoices = list80; - reference60 = obj58; - obj57.Steps = list79; - reference59 = obj57; - questRoot10.QuestSequence = list75; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(2966); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - CollectionsMarshal.AsSpan(list81)[0] = "JerryWester"; - questRoot11.Author = list81; - num = 6; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - Span span21 = CollectionsMarshal.AsSpan(list82); - ref QuestSequence reference61 = ref span21[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024125u, new Vector3(775.6007f, 69.99993f, 639.4292f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj59.Steps = list83; - reference61 = obj59; - ref QuestSequence reference62 = ref span21[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - ref QuestStep reference63 = ref CollectionsMarshal.AsSpan(list84)[0]; - QuestStep obj61 = new QuestStep(EInteractionType.Interact, 1024113u, new Vector3(754.26855f, 70f, 424.70435f), 621) - { - Fly = true - }; - num3 = 1; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - CollectionsMarshal.AsSpan(list85)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDB105_02966_Q1_000_000") - }; - obj61.DialogueChoices = list85; - reference63 = obj61; - obj60.Steps = list84; - reference62 = obj60; - ref QuestSequence reference64 = ref span21[2]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.Interact, 1024114u, new Vector3(5.2338257f, 0.054396715f, -3.3417358f), 738); - obj62.Steps = list86; - reference64 = obj62; - ref QuestSequence reference65 = ref span21[3]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 3 - }; - num2 = 5; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - Span span22 = CollectionsMarshal.AsSpan(list87); - span22[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-2.9216702f, -2.0000002f, -34.863174f), 738) - { - StopDistance = 0.25f, - JumpDestination = new JumpDestination - { - Position = new Vector3(-2.9769177f, -1.3092512f, -36.29651f), - DelaySeconds = 0.1f - } - }; - span22[1] = new QuestStep(EInteractionType.Jump, null, new Vector3(-2.9769177f, -1.3092512f, -36.29651f), 738) - { - StopDistance = 0.25f, - JumpDestination = new JumpDestination - { - Position = new Vector3(-2.8188858f, 0.16235979f, -38.626305f), - DelaySeconds = 0.1f - } - }; - span22[2] = new QuestStep(EInteractionType.Interact, 2009058u, new Vector3(-2.8188858f, 0.16235979f, -38.626305f), 738) - { - StopDistance = 4f, - DelaySecondsAtStart = 3f - }; - span22[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-0.01923807f, -2.0000002f, -35.31207f), 738) - { - DisableNavmesh = true - }; - span22[4] = new QuestStep(EInteractionType.Interact, 1024118u, new Vector3(24.612793f, -0.3670061f, 5.0201416f), 738); - obj63.Steps = list87; - reference65 = obj63; - ref QuestSequence reference66 = ref span21[4]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 1024114u, new Vector3(5.2338257f, 0.054396715f, -3.3417358f), 738); - obj64.Steps = list88; - reference66 = obj64; - ref QuestSequence reference67 = ref span21[5]; - QuestSequence obj65 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024119u, new Vector3(758.6632f, 70f, 446.31104f), 621); - obj65.Steps = list89; - reference67 = obj65; - questRoot11.QuestSequence = list82; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(2967); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - CollectionsMarshal.AsSpan(list90)[0] = "JerryWester"; - questRoot12.Author = list90; - num = 7; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - Span span23 = CollectionsMarshal.AsSpan(list91); - ref QuestSequence reference68 = ref span23[0]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024120u, new Vector3(757.68665f, 70f, 444.3275f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj66.Steps = list92; - reference68 = obj66; - ref QuestSequence reference69 = ref span23[1]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - Span span24 = CollectionsMarshal.AsSpan(list93); - span24[0] = new QuestStep(EInteractionType.None, null, null, 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - span24[1] = new QuestStep(EInteractionType.AcceptQuest, 1011565u, new Vector3(-78.8739f, 4f, -110.429565f), 130) - { - PickUpQuestId = new QuestId(434) - }; - span24[2] = new QuestStep(EInteractionType.Interact, 1001821u, new Vector3(-24.124573f, 38.000004f, 85.31323f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj67.Steps = list93; - reference69 = obj67; - ref QuestSequence reference70 = ref span23[2]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Interact, 1024122u, new Vector3(57.968994f, 4f, -121.53815f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahChamberOfRule, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj68.Steps = list94; - reference70 = obj68; - ref QuestSequence reference71 = ref span23[3]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - ref QuestStep reference72 = ref CollectionsMarshal.AsSpan(list95)[0]; - QuestStep obj70 = new QuestStep(EInteractionType.Interact, 1024123u, new Vector3(-132.9519f, 4.590753f, 238.7273f), 141) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahGateOfNald - } - }; - num3 = 1; - List list96 = new List(num3); - CollectionsMarshal.SetCount(list96, num3); - CollectionsMarshal.AsSpan(list96)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDB106_02967_Q1_000_000"), - Answer = new ExcelRef("TEXT_STMBDB106_02967_A1_000_002") - }; - obj70.DialogueChoices = list96; - reference72 = obj70; - obj69.Steps = list95; - reference71 = obj69; - ref QuestSequence reference73 = ref span23[4]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.Interact, 1024124u, new Vector3(254.35254f, -6.26633f, -152.36133f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - obj71.Steps = list97; - reference73 = obj71; - ref QuestSequence reference74 = ref span23[5]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.Interact, 1024102u, new Vector3(-105.7298f, 6.9839897f, -4.135254f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - obj72.Steps = list98; - reference74 = obj72; - ref QuestSequence reference75 = ref span23[6]; - QuestSequence obj73 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024102u, new Vector3(-105.7298f, 6.9839897f, -4.135254f), 131); - obj73.Steps = list99; - reference75 = obj73; - questRoot12.QuestSequence = list91; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(2968); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - CollectionsMarshal.AsSpan(list100)[0] = "JerryWester"; - questRoot13.Author = list100; - num = 5; - List list101 = new List(num); - CollectionsMarshal.SetCount(list101, num); - Span span25 = CollectionsMarshal.AsSpan(list101); - ref QuestSequence reference76 = ref span25[0]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024102u, new Vector3(-105.7298f, 6.9839897f, -4.135254f), 131); - obj74.Steps = list102; - reference76 = obj74; - ref QuestSequence reference77 = ref span25[1]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.Interact, 1024040u, new Vector3(-201.06812f, 18f, 78.62964f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.UldahThaumaturge - } - }; - obj75.Steps = list103; - reference77 = obj75; - ref QuestSequence reference78 = ref span25[2]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.Interact, 1024041u, new Vector3(-22.781738f, 83.19999f, -7.5532227f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahThaumaturge, - To = EAetheryteLocation.UldahAirship - } - }; - obj76.Steps = list104; - reference78 = obj76; - ref QuestSequence reference79 = ref span25[3]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - Span span26 = CollectionsMarshal.AsSpan(list105); - span26[0] = new QuestStep(EInteractionType.Interact, 1004433u, new Vector3(-23.605713f, 83.19999f, -2.3041382f), 130) - { - TargetTerritoryId = (ushort)144 - }; - span26[1] = new QuestStep(EInteractionType.Interact, 1024042u, new Vector3(-51.682373f, 0.04428002f, 53.94055f), 144); - obj77.Steps = list105; - reference79 = obj77; - ref QuestSequence reference80 = ref span25[4]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - Span span27 = CollectionsMarshal.AsSpan(list106); - span27[0] = new QuestStep(EInteractionType.None, null, null, 144) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GoldSaucerEntranceCardSquares, - To = EAetheryteLocation.GoldSaucerWonderSquareWest - } - }; - span27[1] = new QuestStep(EInteractionType.CompleteQuest, 1024043u, new Vector3(-12.77179f, 20.999727f, 47.837036f), 144); - obj78.Steps = list106; - reference80 = obj78; - questRoot13.QuestSequence = list101; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(2969); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - CollectionsMarshal.AsSpan(list107)[0] = "JerryWester"; - questRoot14.Author = list107; - num = 5; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - Span span28 = CollectionsMarshal.AsSpan(list108); - ref QuestSequence reference81 = ref span28[0]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024043u, new Vector3(-12.77179f, 20.999727f, 47.837036f), 144) - { - AetheryteShortcut = EAetheryteLocation.GoldSaucer, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj79.Steps = list109; - reference81 = obj79; - ref QuestSequence reference82 = ref span28[1]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - Span span29 = CollectionsMarshal.AsSpan(list110); - span29[0] = new QuestStep(EInteractionType.Interact, 1019070u, new Vector3(151.20166f, 14.7757225f, 95.78088f), 628) - { - TargetTerritoryId = (ushort)639, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyBazaar - } - }; - span29[1] = new QuestStep(EInteractionType.Interact, 1020622u, new Vector3(0.045776367f, 0f, -2.3041382f), 639); - obj80.Steps = list110; - reference82 = obj80; - ref QuestSequence reference83 = ref span28[2]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.Interact, 1024044u, new Vector3(-110.36853f, 4f, -114.00018f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - obj81.Steps = list111; - reference83 = obj81; - ref QuestSequence reference84 = ref span28[3]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.Interact, 1024045u, new Vector3(-2.822998f, -2.0000012f, -17.166443f), 212) - { - StopDistance = 5f - }; - obj82.Steps = list112; - reference84 = obj82; - ref QuestSequence reference85 = ref span28[4]; - QuestSequence obj83 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024045u, new Vector3(-2.822998f, -2.0000012f, -17.166443f), 212) - { - StopDistance = 5f - }; - obj83.Steps = list113; - reference85 = obj83; - questRoot14.QuestSequence = list108; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(2970); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list114 = new List(num); - CollectionsMarshal.SetCount(list114, num); - CollectionsMarshal.AsSpan(list114)[0] = "JerryWester"; - questRoot15.Author = list114; - num = 8; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - Span span30 = CollectionsMarshal.AsSpan(list115); - ref QuestSequence reference86 = ref span30[0]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024045u, new Vector3(-2.822998f, -2.0000012f, -17.166443f), 212) - { - StopDistance = 5f - }; - obj84.Steps = list116; - reference86 = obj84; - ref QuestSequence reference87 = ref span30[1]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.Interact, 1024046u, new Vector3(592.70605f, 80.00001f, 618.6465f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter - }; - obj85.Steps = list117; - reference87 = obj85; - ref QuestSequence reference88 = ref span30[2]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.Interact, 1023036u, new Vector3(-285.23688f, 11.183244f, 188.83032f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria - }; - obj86.Steps = list118; - reference88 = obj86; - ref QuestSequence reference89 = ref span30[3]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.Snipe, 1024052u, new Vector3(-238.54431f, 0.9244179f, 196.55139f), 621) - { - Fly = true, - Comment = "Aim at jaw" - }; - obj87.Steps = list119; - reference89 = obj87; - ref QuestSequence reference90 = ref span30[4]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.Interact, 1024340u, new Vector3(-208.20941f, -0.3f, 207.6294f), 621) - { - StopDistance = 5f - }; - obj88.Steps = list120; - reference90 = obj88; - ref QuestSequence reference91 = ref span30[5]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.Snipe, 1024053u, new Vector3(8.590759f, 5.3881354f, 282.7954f), 621) - { - Fly = true, - Comment = "Aim at nearest eye" - }; - obj89.Steps = list121; - reference91 = obj89; - ref QuestSequence reference92 = ref span30[6]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.Interact, 1024341u, new Vector3(-3.5248413f, 3.1742485f, 249.34766f), 621) - { - StopDistance = 6f - }; - obj90.Steps = list122; - reference92 = obj90; - ref QuestSequence reference93 = ref span30[7]; - QuestSequence obj91 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023036u, new Vector3(-285.23688f, 11.183244f, 188.83032f), 621) - { - Fly = true - }; - obj91.Steps = list123; - reference93 = obj91; - questRoot15.QuestSequence = list115; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(2971); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - CollectionsMarshal.AsSpan(list124)[0] = "JerryWester"; - questRoot16.Author = list124; - num = 4; - List list125 = new List(num); - CollectionsMarshal.SetCount(list125, num); - Span span31 = CollectionsMarshal.AsSpan(list125); - ref QuestSequence reference94 = ref span31[0]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024051u, new Vector3(-285.29797f, 11.183233f, 187.02979f), 621) - { - StopDistance = 5f - }; - obj92.Steps = list126; - reference94 = obj92; - ref QuestSequence reference95 = ref span31[1]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - Span span32 = CollectionsMarshal.AsSpan(list127); - span32[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(528.8298f, 70f, 580.3701f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter - }; - span32[1] = new QuestStep(EInteractionType.Interact, 2009047u, new Vector3(526.8176f, 69.962524f, 577.3861f), 621) - { - StopDistance = 4f - }; - obj93.Steps = list127; - reference95 = obj93; - ref QuestSequence reference96 = ref span31[2]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.Interact, 1024055u, new Vector3(525.0781f, 70f, 574.6699f), 621) - { - StopDistance = 7f - }; - obj94.Steps = list128; - reference96 = obj94; - ref QuestSequence reference97 = ref span31[3]; - QuestSequence obj95 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - Span span33 = CollectionsMarshal.AsSpan(list129); - span33[0] = new QuestStep(EInteractionType.Interact, 1023048u, new Vector3(497.76453f, 69.99941f, 583.7339f), 621) - { - TargetTerritoryId = (ushort)621, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span33[1] = new QuestStep(EInteractionType.CompleteQuest, 1024057u, new Vector3(340.23022f, 74.00002f, 70.66455f), 621) - { - Fly = true - }; - obj95.Steps = list129; - reference97 = obj95; - questRoot16.QuestSequence = list125; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(2972); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list130 = new List(num); - CollectionsMarshal.SetCount(list130, num); - CollectionsMarshal.AsSpan(list130)[0] = "JerryWester"; - questRoot17.Author = list130; - num = 9; - List list131 = new List(num); - CollectionsMarshal.SetCount(list131, num); - Span span34 = CollectionsMarshal.AsSpan(list131); - ref QuestSequence reference98 = ref span34[0]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - ref QuestStep reference99 = ref CollectionsMarshal.AsSpan(list132)[0]; - QuestStep obj97 = new QuestStep(EInteractionType.AcceptQuest, 1024063u, new Vector3(339.62f, 74.00002f, 75.48633f), 621) - { - StopDistance = 5f - }; - num3 = 1; - List list133 = new List(num3); - CollectionsMarshal.SetCount(list133, num3); - CollectionsMarshal.AsSpan(list133)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDB111_02972_Q1_000_000"), - Answer = new ExcelRef("TEXT_STMBDB111_02972_A1_000_001") - }; - obj97.DialogueChoices = list133; - reference99 = obj97; - obj96.Steps = list132; - reference98 = obj96; - ref QuestSequence reference100 = ref span34[1]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.Interact, 2009048u, new Vector3(593.56055f, 79.972534f, 621.9425f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter - }; - obj98.Steps = list134; - reference100 = obj98; - ref QuestSequence reference101 = ref span34[2]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - ref QuestStep reference102 = ref CollectionsMarshal.AsSpan(list135)[0]; - QuestStep obj100 = new QuestStep(EInteractionType.Interact, 1024065u, new Vector3(749.9961f, 70.139626f, 522.88086f), 621) - { - Fly = true - }; - num3 = 1; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - CollectionsMarshal.AsSpan(list136)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDB111_02972_Q2_000_000") - }; - obj100.DialogueChoices = list136; - reference102 = obj100; - obj99.Steps = list135; - reference101 = obj99; - ref QuestSequence reference103 = ref span34[3]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1024066u, new Vector3(245.07507f, 122f, -349.0807f), 737) - { - StopDistance = 5f, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj101.Steps = list137; - reference103 = obj101; - span34[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference104 = ref span34[5]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.Interact, 1024206u, new Vector3(251.69751f, 122f, -345.5406f), 737); - obj102.Steps = list138; - reference104 = obj102; - ref QuestSequence reference105 = ref span34[6]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.Interact, 1024068u, new Vector3(741.1764f, 70f, 525.5055f), 621) - { - StopDistance = 6f - }; - obj103.Steps = list139; - reference105 = obj103; - ref QuestSequence reference106 = ref span34[7]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.Interact, 1024068u, new Vector3(741.1764f, 70f, 525.5055f), 621) - { - StopDistance = 6f - }; - obj104.Steps = list140; - reference106 = obj104; - ref QuestSequence reference107 = ref span34[8]; - QuestSequence obj105 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019468u, new Vector3(170.58057f, 13.02367f, -91.96619f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachNorthEast - } - }; - obj105.Steps = list141; - reference107 = obj105; - questRoot17.QuestSequence = list131; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(2974); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list142 = new List(num); - CollectionsMarshal.SetCount(list142, num); - CollectionsMarshal.AsSpan(list142)[0] = "plogon_enjoyer"; - questRoot18.Author = list142; - num = 7; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - Span span35 = CollectionsMarshal.AsSpan(list143); - ref QuestSequence reference108 = ref span35[0]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024215u, new Vector3(400.07617f, -119.589325f, -247.54712f), 613); - obj106.Steps = list144; - reference108 = obj106; - ref QuestSequence reference109 = ref span35[1]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - ref QuestStep reference110 = ref CollectionsMarshal.AsSpan(list145)[0]; - QuestStep obj108 = new QuestStep(EInteractionType.Interact, 1024231u, new Vector3(463.40125f, 56.86197f, -157.94617f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai - }; - num3 = 1; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - CollectionsMarshal.AsSpan(list146)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANKJN002_02974_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANKJN002_02974_A1_000_001") - }; - obj108.DialogueChoices = list146; - reference110 = obj108; - obj107.Steps = list145; - reference109 = obj107; - ref QuestSequence reference111 = ref span35[2]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.Snipe, 2009169u, new Vector3(145.922f, 26.352295f, 456.9314f), 614) - { - Fly = true, - Comment = "Snipe Namazu" - }; - obj109.Steps = list147; - reference111 = obj109; - ref QuestSequence reference112 = ref span35[3]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.Snipe, 2009170u, new Vector3(205.31006f, 14.297607f, 712.76404f), 614) - { - Fly = true, - Comment = "Snipe Namazu" - }; - obj110.Steps = list148; - reference112 = obj110; - ref QuestSequence reference113 = ref span35[4]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.Interact, 1024238u, new Vector3(302.72363f, 2.8619597f, 731.44116f), 614) - { - Fly = true - }; - obj111.Steps = list149; - reference113 = obj111; - ref QuestSequence reference114 = ref span35[5]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.Interact, 1024244u, new Vector3(181.10925f, 6.1105657f, 553.2462f), 614) - { - Fly = true - }; - obj112.Steps = list150; - reference114 = obj112; - ref QuestSequence reference115 = ref span35[6]; - QuestSequence obj113 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - ref QuestStep reference116 = ref CollectionsMarshal.AsSpan(list151)[0]; - QuestStep obj114 = new QuestStep(EInteractionType.CompleteQuest, 1024215u, new Vector3(400.07617f, -119.589325f, -247.54712f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - num3 = 1; - List list152 = new List(num3); - CollectionsMarshal.SetCount(list152, num3); - CollectionsMarshal.AsSpan(list152)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANKJN002_02974_Q3_000_000"), - Answer = new ExcelRef("TEXT_BANKJN002_02974_A3_000_001") - }; - obj114.DialogueChoices = list152; - reference116 = obj114; - obj113.Steps = list151; - reference115 = obj113; - questRoot18.QuestSequence = list143; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(2975); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list153 = new List(num); - CollectionsMarshal.SetCount(list153, num); - CollectionsMarshal.AsSpan(list153)[0] = "plogon_enjoyer"; - questRoot19.Author = list153; - num = 8; - List list154 = new List(num); - CollectionsMarshal.SetCount(list154, num); - Span span36 = CollectionsMarshal.AsSpan(list154); - ref QuestSequence reference117 = ref span36[0]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024215u, new Vector3(400.07617f, -119.589325f, -247.54712f), 613); - obj115.Steps = list155; - reference117 = obj115; - ref QuestSequence reference118 = ref span36[1]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.Interact, 1024248u, new Vector3(539.48267f, -19.505934f, 416.09827f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion - }; - obj116.Steps = list156; - reference118 = obj116; - ref QuestSequence reference119 = ref span36[2]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - Span span37 = CollectionsMarshal.AsSpan(list157); - span37[0] = new QuestStep(EInteractionType.Interact, 1024250u, new Vector3(561.21155f, -19.505632f, 365.28564f), 622) - { - Fly = true - }; - span37[1] = new QuestStep(EInteractionType.Interact, 1024251u, new Vector3(553.6124f, -19.505638f, 314.7478f), 622) - { - Fly = true - }; - span37[2] = new QuestStep(EInteractionType.Interact, 1024252u, new Vector3(571.2213f, -19.505638f, 296.46753f), 622) - { - Fly = true - }; - obj117.Steps = list157; - reference119 = obj117; - ref QuestSequence reference120 = ref span36[3]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - ref QuestStep reference121 = ref CollectionsMarshal.AsSpan(list158)[0]; - QuestStep obj119 = new QuestStep(EInteractionType.Interact, 1024248u, new Vector3(539.48267f, -19.505934f, 416.09827f), 622) - { - Fly = true - }; - num3 = 1; - List list159 = new List(num3); - CollectionsMarshal.SetCount(list159, num3); - CollectionsMarshal.AsSpan(list159)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANKJN003_02975_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANKJN003_02975_A1_000_001") - }; - obj119.DialogueChoices = list159; - reference121 = obj119; - obj118.Steps = list158; - reference120 = obj118; - ref QuestSequence reference122 = ref span36[4]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - ref QuestStep reference123 = ref CollectionsMarshal.AsSpan(list160)[0]; - QuestStep obj121 = new QuestStep(EInteractionType.Interact, 1024253u, new Vector3(355.30627f, -13.019889f, 471.1222f), 622) - { - Fly = true - }; - num3 = 1; - List list161 = new List(num3); - CollectionsMarshal.SetCount(list161, num3); - CollectionsMarshal.AsSpan(list161)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANKJN003_02975_Q2_000_000"), - Answer = new ExcelRef("TEXT_BANKJN003_02975_A2_000_001") - }; - obj121.DialogueChoices = list161; - reference123 = obj121; - obj120.Steps = list160; - reference122 = obj120; - ref QuestSequence reference124 = ref span36[5]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - ref QuestStep reference125 = ref CollectionsMarshal.AsSpan(list162)[0]; - QuestStep obj123 = new QuestStep(EInteractionType.Combat, null, new Vector3(474.09186f, -25.232485f, 550.5908f), 622) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list163 = new List(num3); - CollectionsMarshal.SetCount(list163, num3); - Span span38 = CollectionsMarshal.AsSpan(list163); - span38[0] = 8251u; - span38[1] = 8252u; - span38[2] = 8253u; - obj123.KillEnemyDataIds = list163; - reference125 = obj123; - obj122.Steps = list162; - reference124 = obj122; - ref QuestSequence reference126 = ref span36[6]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.Interact, 1024256u, new Vector3(355.79456f, -12.957703f, 470.29822f), 622) - { - Fly = true - }; - obj124.Steps = list164; - reference126 = obj124; - ref QuestSequence reference127 = ref span36[7]; - QuestSequence obj125 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - ref QuestStep reference128 = ref CollectionsMarshal.AsSpan(list165)[0]; - QuestStep obj126 = new QuestStep(EInteractionType.CompleteQuest, 1024215u, new Vector3(400.07617f, -119.589325f, -247.54712f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - num3 = 1; - List list166 = new List(num3); - CollectionsMarshal.SetCount(list166, num3); - CollectionsMarshal.AsSpan(list166)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANKJN003_02975_Q3_000_000"), - Answer = new ExcelRef("TEXT_BANKJN003_02975_A3_000_002") - }; - obj126.DialogueChoices = list166; - reference128 = obj126; - obj125.Steps = list165; - reference127 = obj125; - questRoot19.QuestSequence = list154; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(2976); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list167 = new List(num); - CollectionsMarshal.SetCount(list167, num); - CollectionsMarshal.AsSpan(list167)[0] = "plogon_enjoyer"; - questRoot20.Author = list167; - num = 6; - List list168 = new List(num); - CollectionsMarshal.SetCount(list168, num); - Span span39 = CollectionsMarshal.AsSpan(list168); - ref QuestSequence reference129 = ref span39[0]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024215u, new Vector3(400.07617f, -119.589325f, -247.54712f), 613); - obj127.Steps = list169; - reference129 = obj127; - ref QuestSequence reference130 = ref span39[1]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.Interact, 1024260u, new Vector3(-131.9143f, -4.999999f, 181.75012f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganePier1 - } - }; - obj128.Steps = list170; - reference130 = obj128; - ref QuestSequence reference131 = ref span39[2]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - ref QuestStep reference132 = ref CollectionsMarshal.AsSpan(list171)[0]; - QuestStep obj130 = new QuestStep(EInteractionType.Combat, null, new Vector3(246.58658f, 6.193447f, 651.3461f), 613) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganePier1, - To = EAetheryteLocation.KuganeRubyPrice - }, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list172 = new List(num3); - CollectionsMarshal.SetCount(list172, num3); - Span span40 = CollectionsMarshal.AsSpan(list172); - span40[0] = 8244u; - span40[1] = 8246u; - obj130.KillEnemyDataIds = list172; - reference132 = obj130; - obj129.Steps = list171; - reference131 = obj129; - ref QuestSequence reference133 = ref span39[3]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.Interact, 1024264u, new Vector3(246.90613f, 6.054259f, 649.2561f), 613); - obj131.Steps = list173; - reference133 = obj131; - ref QuestSequence reference134 = ref span39[4]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.Interact, 1024267u, new Vector3(-130.57153f, -4.999999f, 183.36768f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganePier1 - } - }; - obj132.Steps = list174; - reference134 = obj132; - ref QuestSequence reference135 = ref span39[5]; - QuestSequence obj133 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024215u, new Vector3(400.07617f, -119.589325f, -247.54712f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - obj133.Steps = list175; - reference135 = obj133; - questRoot20.QuestSequence = list168; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(2977); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - CollectionsMarshal.AsSpan(list176)[0] = "Theo"; - questRoot21.Author = list176; - num = 5; - List list177 = new List(num); - CollectionsMarshal.SetCount(list177, num); - Span span41 = CollectionsMarshal.AsSpan(list177); - ref QuestSequence reference136 = ref span41[0]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024215u, new Vector3(400.07617f, -119.589325f, -247.54712f), 613); - obj134.Steps = list178; - reference136 = obj134; - ref QuestSequence reference137 = ref span41[1]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - CollectionsMarshal.AsSpan(list179)[0] = new QuestStep(EInteractionType.Interact, 1024269u, new Vector3(330.64758f, -116.86714f, -202.47198f), 613); - obj135.Steps = list179; - reference137 = obj135; - ref QuestSequence reference138 = ref span41[2]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.Interact, 2009174u, new Vector3(321.9806f, -120.042725f, -250.4159f), 613); - obj136.Steps = list180; - reference138 = obj136; - ref QuestSequence reference139 = ref span41[3]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - Span span42 = CollectionsMarshal.AsSpan(list181); - span42[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(318.06195f, -83.027016f, -226.5931f), 613) - { - Fly = true, - RestartNavigationIfCancelled = false, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Diving = true - } - } - }; - span42[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 1024270u, new Vector3(-666.89557f, -33.707214f, 268.17725f), 613) - { - Fly = true - }; - obj137.Steps = list181; - reference139 = obj137; - ref QuestSequence reference140 = ref span41[4]; - QuestSequence obj138 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024215u, new Vector3(400.07617f, -119.589325f, -247.54712f), 613); - obj138.Steps = list182; - reference140 = obj138; - questRoot21.QuestSequence = list177; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(2978); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - CollectionsMarshal.AsSpan(list183)[0] = "Theo"; - questRoot22.Author = list183; - num = 5; - List list184 = new List(num); - CollectionsMarshal.SetCount(list184, num); - Span span43 = CollectionsMarshal.AsSpan(list184); - ref QuestSequence reference141 = ref span43[0]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024220u, new Vector3(400.07617f, -119.589325f, -247.54712f), 613); - obj139.Steps = list185; - reference141 = obj139; - ref QuestSequence reference142 = ref span43[1]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - ref QuestStep reference143 = ref CollectionsMarshal.AsSpan(list186)[0]; - QuestStep obj141 = new QuestStep(EInteractionType.Interact, 1024423u, new Vector3(-272.57196f, 17.31996f, 490.01294f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list187 = new List(num3); - CollectionsMarshal.SetCount(list187, num3); - CollectionsMarshal.AsSpan(list187)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANKJN006_02978_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANKJN006_02978_A1_000_001") - }; - obj141.DialogueChoices = list187; - reference143 = obj141; - obj140.Steps = list186; - reference142 = obj140; - ref QuestSequence reference144 = ref span43[2]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - CollectionsMarshal.AsSpan(list188)[0] = new QuestStep(EInteractionType.Interact, 1024425u, new Vector3(533.8063f, -19.505651f, 316.15173f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj142.Steps = list188; - reference144 = obj142; - ref QuestSequence reference145 = ref span43[3]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.Interact, 1024428u, new Vector3(-130.57153f, -4.999999f, 183.36768f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganePier1 - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj143.Steps = list189; - reference145 = obj143; - ref QuestSequence reference146 = ref span43[4]; - QuestSequence obj144 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019178u, new Vector3(319.69165f, -120.03494f, -250.90417f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - obj144.Steps = list190; - reference146 = obj144; - questRoot22.QuestSequence = list184; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(2979); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list191 = new List(num); - CollectionsMarshal.SetCount(list191, num); - CollectionsMarshal.AsSpan(list191)[0] = "plogon_enjoyer"; - questRoot23.Author = list191; - num = 4; - List list192 = new List(num); - CollectionsMarshal.SetCount(list192, num); - Span span44 = CollectionsMarshal.AsSpan(list192); - ref QuestSequence reference147 = ref span44[0]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj145.Steps = list193; - reference147 = obj145; - ref QuestSequence reference148 = ref span44[1]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.Interact, 1024538u, new Vector3(703.7003f, 0.73878324f, -26.077698f), 613) - { - Fly = true - }; - obj146.Steps = list194; - reference148 = obj146; - ref QuestSequence reference149 = ref span44[2]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 2 - }; - num2 = 6; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - Span span45 = CollectionsMarshal.AsSpan(list195); - ref QuestStep reference150 = ref span45[0]; - QuestStep obj148 = new QuestStep(EInteractionType.Combat, 2009241u, new Vector3(532.6465f, 0.99176025f, -201.2818f), 613) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list196 = new List(num3); - CollectionsMarshal.SetCount(list196, num3); - CollectionsMarshal.AsSpan(list196)[0] = 8234u; - obj148.KillEnemyDataIds = list196; - num3 = 6; - List> list197 = new List>(num3); - CollectionsMarshal.SetCount(list197, num3); - Span> span46 = CollectionsMarshal.AsSpan(list197); - span46[0] = null; - span46[1] = null; - ref List reference151 = ref span46[2]; - int num4 = 2; - List list198 = new List(num4); - CollectionsMarshal.SetCount(list198, num4); - Span span47 = CollectionsMarshal.AsSpan(list198); - span47[0] = new QuestWorkValue((byte)2, (byte)1, EQuestWorkMode.Bitwise); - span47[1] = new QuestWorkValue((byte)2, (byte)2, EQuestWorkMode.Bitwise); - reference151 = list198; - span46[3] = null; - span46[4] = null; - span46[5] = null; - obj148.RequiredQuestVariables = list197; - reference150 = obj148; - ref QuestStep reference152 = ref span45[1]; - QuestStep obj149 = new QuestStep(EInteractionType.UseItem, 8234u, new Vector3(534.78296f, 1f, -193.164f), 613) - { - ItemId = 2002398u - }; - num3 = 6; - List> list199 = new List>(num3); - CollectionsMarshal.SetCount(list199, num3); - Span> span48 = CollectionsMarshal.AsSpan(list199); - span48[0] = null; - span48[1] = null; - ref List reference153 = ref span48[2]; - num4 = 2; - List list200 = new List(num4); - CollectionsMarshal.SetCount(list200, num4); - Span span49 = CollectionsMarshal.AsSpan(list200); - span49[0] = new QuestWorkValue((byte)2, (byte)1, EQuestWorkMode.Bitwise); - span49[1] = new QuestWorkValue((byte)2, (byte)2, EQuestWorkMode.Bitwise); - reference153 = list200; - span48[3] = null; - span48[4] = null; - span48[5] = null; - obj149.RequiredQuestVariables = list199; - reference152 = obj149; - ref QuestStep reference154 = ref span45[2]; - QuestStep obj150 = new QuestStep(EInteractionType.Combat, 2009240u, new Vector3(620.2334f, 0.10675049f, -315.9076f), 613) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list201 = new List(num3); - CollectionsMarshal.SetCount(list201, num3); - CollectionsMarshal.AsSpan(list201)[0] = 8233u; - obj150.KillEnemyDataIds = list201; - num3 = 6; - List> list202 = new List>(num3); - CollectionsMarshal.SetCount(list202, num3); - Span> span50 = CollectionsMarshal.AsSpan(list202); - span50[0] = null; - span50[1] = null; - ref List reference155 = ref span50[2]; - num4 = 2; - List list203 = new List(num4); - CollectionsMarshal.SetCount(list203, num4); - Span span51 = CollectionsMarshal.AsSpan(list203); - span51[0] = new QuestWorkValue((byte)1, (byte)2, EQuestWorkMode.Bitwise); - span51[1] = new QuestWorkValue((byte)2, (byte)3, EQuestWorkMode.Bitwise); - reference155 = list203; - span50[3] = null; - span50[4] = null; - span50[5] = null; - obj150.RequiredQuestVariables = list202; - reference154 = obj150; - ref QuestStep reference156 = ref span45[3]; - QuestStep obj151 = new QuestStep(EInteractionType.UseItem, 8233u, new Vector3(616.9984f, 0.04129504f, -318.1964f), 613) - { - ItemId = 2002398u - }; - num3 = 6; - List> list204 = new List>(num3); - CollectionsMarshal.SetCount(list204, num3); - Span> span52 = CollectionsMarshal.AsSpan(list204); - span52[0] = null; - span52[1] = null; - ref List reference157 = ref span52[2]; - num4 = 2; - List list205 = new List(num4); - CollectionsMarshal.SetCount(list205, num4); - Span span53 = CollectionsMarshal.AsSpan(list205); - span53[0] = new QuestWorkValue((byte)1, (byte)2, EQuestWorkMode.Bitwise); - span53[1] = new QuestWorkValue((byte)2, (byte)3, EQuestWorkMode.Bitwise); - reference157 = list205; - span52[3] = null; - span52[4] = null; - span52[5] = null; - obj151.RequiredQuestVariables = list204; - reference156 = obj151; - ref QuestStep reference158 = ref span45[4]; - QuestStep obj152 = new QuestStep(EInteractionType.Combat, 2009239u, new Vector3(762.9358f, 0.44250488f, -286.7323f), 613) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list206 = new List(num3); - CollectionsMarshal.SetCount(list206, num3); - CollectionsMarshal.AsSpan(list206)[0] = 8232u; - obj152.KillEnemyDataIds = list206; - num3 = 6; - List> list207 = new List>(num3); - CollectionsMarshal.SetCount(list207, num3); - Span> span54 = CollectionsMarshal.AsSpan(list207); - span54[0] = null; - span54[1] = null; - ref List reference159 = ref span54[2]; - num4 = 2; - List list208 = new List(num4); - CollectionsMarshal.SetCount(list208, num4); - Span span55 = CollectionsMarshal.AsSpan(list208); - span55[0] = new QuestWorkValue((byte)1, (byte)1, EQuestWorkMode.Bitwise); - span55[1] = new QuestWorkValue((byte)1, (byte)3, EQuestWorkMode.Bitwise); - reference159 = list208; - span54[3] = null; - span54[4] = null; - span54[5] = null; - obj152.RequiredQuestVariables = list207; - reference158 = obj152; - ref QuestStep reference160 = ref span45[5]; - QuestStep obj153 = new QuestStep(EInteractionType.UseItem, 8232u, new Vector3(760.98267f, 0.36481446f, -290.0893f), 613) - { - ItemId = 2002398u - }; - num3 = 6; - List> list209 = new List>(num3); - CollectionsMarshal.SetCount(list209, num3); - Span> span56 = CollectionsMarshal.AsSpan(list209); - span56[0] = null; - span56[1] = null; - ref List reference161 = ref span56[2]; - num4 = 2; - List list210 = new List(num4); - CollectionsMarshal.SetCount(list210, num4); - Span span57 = CollectionsMarshal.AsSpan(list210); - span57[0] = new QuestWorkValue((byte)1, (byte)1, EQuestWorkMode.Bitwise); - span57[1] = new QuestWorkValue((byte)1, (byte)3, EQuestWorkMode.Bitwise); - reference161 = list210; - span56[3] = null; - span56[4] = null; - span56[5] = null; - obj153.RequiredQuestVariables = list209; - reference160 = obj153; - obj147.Steps = list195; - reference149 = obj147; - ref QuestSequence reference162 = ref span44[3]; - QuestSequence obj154 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - Span span58 = CollectionsMarshal.AsSpan(list211); - span58[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(391.50903f, -119.58932f, -236.18898f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span58[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj154.Steps = list211; - reference162 = obj154; - questRoot23.QuestSequence = list192; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(2980); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list212 = new List(num); - CollectionsMarshal.SetCount(list212, num); - CollectionsMarshal.AsSpan(list212)[0] = "plogon_enjoyer"; - questRoot24.Author = list212; - num = 4; - List list213 = new List(num); - CollectionsMarshal.SetCount(list213, num); - Span span59 = CollectionsMarshal.AsSpan(list213); - ref QuestSequence reference163 = ref span59[0]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj155.Steps = list214; - reference163 = obj155; - ref QuestSequence reference164 = ref span59[1]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 1 - }; - num2 = 9; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - Span span60 = CollectionsMarshal.AsSpan(list215); - span60[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(318.06195f, -83.027016f, -226.5931f), 613) - { - Fly = true, - RestartNavigationIfCancelled = false - }; - ref QuestStep reference165 = ref span60[1]; - QuestStep obj157 = new QuestStep(EInteractionType.Interact, 2009094u, new Vector3(211.078f, -135.14917f, 56.168457f), 613) - { - Fly = true - }; - num3 = 6; - List> list216 = new List>(num3); - CollectionsMarshal.SetCount(list216, num3); - Span> span61 = CollectionsMarshal.AsSpan(list216); - span61[0] = null; - ref List reference166 = ref span61[1]; - num4 = 6; - List list217 = new List(num4); - CollectionsMarshal.SetCount(list217, num4); - Span span62 = CollectionsMarshal.AsSpan(list217); - span62[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span62[1] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - span62[2] = new QuestWorkValue(0, (byte)5, EQuestWorkMode.Bitwise); - span62[3] = new QuestWorkValue(0, (byte)6, EQuestWorkMode.Bitwise); - span62[4] = new QuestWorkValue(0, (byte)7, EQuestWorkMode.Bitwise); - span62[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - reference166 = list217; - span61[2] = null; - span61[3] = null; - span61[4] = null; - span61[5] = null; - obj157.RequiredQuestVariables = list216; - reference165 = obj157; - ref QuestStep reference167 = ref span60[2]; - QuestStep obj158 = new QuestStep(EInteractionType.Interact, 2009095u, new Vector3(163.0426f, -148.05829f, 72.28198f), 613) - { - Fly = true - }; - num3 = 6; - List> list218 = new List>(num3); - CollectionsMarshal.SetCount(list218, num3); - Span> span63 = CollectionsMarshal.AsSpan(list218); - span63[0] = null; - ref List reference168 = ref span63[1]; - num4 = 3; - List list219 = new List(num4); - CollectionsMarshal.SetCount(list219, num4); - Span span64 = CollectionsMarshal.AsSpan(list219); - span64[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - span64[1] = new QuestWorkValue(0, (byte)9, EQuestWorkMode.Bitwise); - span64[2] = new QuestWorkValue((byte)1, (byte)5, EQuestWorkMode.Bitwise); - reference168 = list219; - span63[2] = null; - span63[3] = null; - span63[4] = null; - span63[5] = null; - obj158.RequiredQuestVariables = list218; - reference167 = obj158; - ref QuestStep reference169 = ref span60[3]; - QuestStep obj159 = new QuestStep(EInteractionType.Interact, 2009096u, new Vector3(134.23352f, -161.21161f, 70.450806f), 613) - { - Fly = true - }; - num3 = 6; - List> list220 = new List>(num3); - CollectionsMarshal.SetCount(list220, num3); - Span> span65 = CollectionsMarshal.AsSpan(list220); - span65[0] = null; - ref List reference170 = ref span65[1]; - num4 = 2; - List list221 = new List(num4); - CollectionsMarshal.SetCount(list221, num4); - Span span66 = CollectionsMarshal.AsSpan(list221); - span66[0] = new QuestWorkValue((byte)1, (byte)8, EQuestWorkMode.Bitwise); - span66[1] = new QuestWorkValue((byte)2, (byte)5, EQuestWorkMode.Bitwise); - reference170 = list221; - span65[2] = null; - span65[3] = null; - span65[4] = null; - span65[5] = null; - obj159.RequiredQuestVariables = list220; - reference169 = obj159; - ref QuestStep reference171 = ref span60[4]; - QuestStep obj160 = new QuestStep(EInteractionType.Interact, 2009080u, new Vector3(196.27673f, -146.685f, 40.45166f), 613) - { - Fly = true - }; - num3 = 6; - List> list222 = new List>(num3); - CollectionsMarshal.SetCount(list222, num3); - Span> span67 = CollectionsMarshal.AsSpan(list222); - span67[0] = null; - ref List reference172 = ref span67[1]; - num4 = 2; - List list223 = new List(num4); - CollectionsMarshal.SetCount(list223, num4); - Span span68 = CollectionsMarshal.AsSpan(list223); - span68[0] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - span68[1] = new QuestWorkValue((byte)1, (byte)3, EQuestWorkMode.Bitwise); - reference172 = list223; - span67[2] = null; - span67[3] = null; - span67[4] = null; - span67[5] = null; - obj160.RequiredQuestVariables = list222; - reference171 = obj160; - ref QuestStep reference173 = ref span60[5]; - QuestStep obj161 = new QuestStep(EInteractionType.Interact, 2009081u, new Vector3(151.56775f, -168.1087f, 49.454468f), 613) - { - Fly = true - }; - num3 = 6; - List> list224 = new List>(num3); - CollectionsMarshal.SetCount(list224, num3); - Span> span69 = CollectionsMarshal.AsSpan(list224); - span69[0] = null; - ref List reference174 = ref span69[1]; - num4 = 3; - List list225 = new List(num4); - CollectionsMarshal.SetCount(list225, num4); - Span span70 = CollectionsMarshal.AsSpan(list225); - span70[0] = new QuestWorkValue((byte)1, (byte)6, EQuestWorkMode.Bitwise); - span70[1] = new QuestWorkValue((byte)1, (byte)7, EQuestWorkMode.Bitwise); - span70[2] = new QuestWorkValue((byte)2, (byte)8, EQuestWorkMode.Bitwise); - reference174 = list225; - span69[2] = null; - span69[3] = null; - span69[4] = null; - span69[5] = null; - obj161.RequiredQuestVariables = list224; - reference173 = obj161; - ref QuestStep reference175 = ref span60[6]; - QuestStep obj162 = new QuestStep(EInteractionType.Interact, 2009082u, new Vector3(141.86316f, -170.30597f, 96.75745f), 613) - { - Fly = true - }; - num3 = 6; - List> list226 = new List>(num3); - CollectionsMarshal.SetCount(list226, num3); - Span> span71 = CollectionsMarshal.AsSpan(list226); - span71[0] = null; - ref List reference176 = ref span71[1]; - num4 = 5; - List list227 = new List(num4); - CollectionsMarshal.SetCount(list227, num4); - Span span72 = CollectionsMarshal.AsSpan(list227); - span72[0] = new QuestWorkValue((byte)1, (byte)2, EQuestWorkMode.Bitwise); - span72[1] = new QuestWorkValue((byte)1, (byte)1, EQuestWorkMode.Bitwise); - span72[2] = new QuestWorkValue((byte)1, (byte)4, EQuestWorkMode.Bitwise); - span72[3] = new QuestWorkValue((byte)2, (byte)3, EQuestWorkMode.Bitwise); - span72[4] = new QuestWorkValue((byte)2, (byte)6, EQuestWorkMode.Bitwise); - reference176 = list227; - span71[2] = null; - span71[3] = null; - span71[4] = null; - span71[5] = null; - obj162.RequiredQuestVariables = list226; - reference175 = obj162; - ref QuestStep reference177 = ref span60[7]; - QuestStep obj163 = new QuestStep(EInteractionType.Interact, 2009083u, new Vector3(165.08728f, -143.54169f, 116.227905f), 613) - { - Fly = true - }; - num3 = 6; - List> list228 = new List>(num3); - CollectionsMarshal.SetCount(list228, num3); - Span> span73 = CollectionsMarshal.AsSpan(list228); - span73[0] = null; - ref List reference178 = ref span73[1]; - num4 = 4; - List list229 = new List(num4); - CollectionsMarshal.SetCount(list229, num4); - Span span74 = CollectionsMarshal.AsSpan(list229); - span74[0] = new QuestWorkValue((byte)1, (byte)9, EQuestWorkMode.Bitwise); - span74[1] = new QuestWorkValue((byte)2, (byte)1, EQuestWorkMode.Bitwise); - span74[2] = new QuestWorkValue((byte)2, (byte)4, EQuestWorkMode.Bitwise); - span74[3] = new QuestWorkValue((byte)2, (byte)7, EQuestWorkMode.Bitwise); - reference178 = list229; - span73[2] = null; - span73[3] = null; - span73[4] = null; - span73[5] = null; - obj163.RequiredQuestVariables = list228; - reference177 = obj163; - ref QuestStep reference179 = ref span60[8]; - QuestStep obj164 = new QuestStep(EInteractionType.Interact, 2009084u, new Vector3(173.81543f, -167.3457f, 114.61047f), 613) - { - Fly = true - }; - num3 = 6; - List> list230 = new List>(num3); - CollectionsMarshal.SetCount(list230, num3); - Span> span75 = CollectionsMarshal.AsSpan(list230); - span75[0] = null; - ref List reference180 = ref span75[1]; - num4 = 2; - List list231 = new List(num4); - CollectionsMarshal.SetCount(list231, num4); - Span span76 = CollectionsMarshal.AsSpan(list231); - span76[0] = new QuestWorkValue((byte)2, (byte)2, EQuestWorkMode.Bitwise); - span76[1] = new QuestWorkValue((byte)2, (byte)9, EQuestWorkMode.Bitwise); - reference180 = list231; - span75[2] = null; - span75[3] = null; - span75[4] = null; - span75[5] = null; - obj164.RequiredQuestVariables = list230; - reference179 = obj164; - obj156.Steps = list215; - reference164 = obj156; - ref QuestSequence reference181 = ref span59[2]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.Interact, 1024460u, new Vector3(873.9298f, 1.1792068f, 851.9568f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyPrice - } - }; - obj165.Steps = list232; - reference181 = obj165; - ref QuestSequence reference182 = ref span59[3]; - QuestSequence obj166 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - Span span77 = CollectionsMarshal.AsSpan(list233); - span77[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(392.59683f, -119.589325f, -234.30063f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span77[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj166.Steps = list233; - reference182 = obj166; - questRoot24.QuestSequence = list213; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(2981); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list234 = new List(num); - CollectionsMarshal.SetCount(list234, num); - CollectionsMarshal.AsSpan(list234)[0] = "plogon_enjoyer"; - questRoot25.Author = list234; - num = 5; - List list235 = new List(num); - CollectionsMarshal.SetCount(list235, num); - Span span78 = CollectionsMarshal.AsSpan(list235); - ref QuestSequence reference183 = ref span78[0]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj167.Steps = list236; - reference183 = obj167; - ref QuestSequence reference184 = ref span78[1]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - Span span79 = CollectionsMarshal.AsSpan(list237); - span79[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(317.60394f, -83.29468f, -227.42934f), 613) - { - Fly = true, - RestartNavigationIfCancelled = false - }; - span79[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-3.8817294f, -146.96666f, -155.70833f), 613) - { - Fly = true, - RestartNavigationIfCancelled = false - }; - span79[2] = new QuestStep(EInteractionType.Interact, 1024294u, new Vector3(-24.765442f, -190.38937f, -137.10236f), 613) - { - Fly = true - }; - obj168.Steps = list237; - reference184 = obj168; - ref QuestSequence reference185 = ref span78[2]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.UseItem, null, new Vector3(367.17773f, -119.94679f, -292.3781f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu, - ItemId = 2002400u - }; - obj169.Steps = list238; - reference185 = obj169; - ref QuestSequence reference186 = ref span78[3]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - CollectionsMarshal.AsSpan(list239)[0] = new QuestStep(EInteractionType.Emote, 2009085u, new Vector3(367.18176f, -119.93892f, -291.77762f), 613) - { - Emote = EEmote.Pray - }; - obj170.Steps = list239; - reference186 = obj170; - ref QuestSequence reference187 = ref span78[4]; - QuestSequence obj171 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - Span span80 = CollectionsMarshal.AsSpan(list240); - span80[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(392.59683f, -119.589325f, -234.30063f), 613) - { - Fly = true - }; - span80[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj171.Steps = list240; - reference187 = obj171; - questRoot25.QuestSequence = list235; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(2982); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list241 = new List(num); - CollectionsMarshal.SetCount(list241, num); - CollectionsMarshal.AsSpan(list241)[0] = "plogon_enjoyer"; - questRoot26.Author = list241; - num = 4; - List list242 = new List(num); - CollectionsMarshal.SetCount(list242, num); - Span span81 = CollectionsMarshal.AsSpan(list242); - ref QuestSequence reference188 = ref span81[0]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj172.Steps = list243; - reference188 = obj172; - ref QuestSequence reference189 = ref span81[1]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.Interact, 1024218u, new Vector3(387.56384f, -119.795334f, -257.64862f), 613) - { - Fly = true - }; - obj173.Steps = list244; - reference189 = obj173; - ref QuestSequence reference190 = ref span81[2]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 2 - }; - num2 = 6; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - Span span82 = CollectionsMarshal.AsSpan(list245); - span82[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(317.60294f, -83.18693f, -227.16872f), 613) - { - Fly = true, - RestartNavigationIfCancelled = false - }; - ref QuestStep reference191 = ref span82[1]; - QuestStep obj175 = new QuestStep(EInteractionType.Action, 2009233u, new Vector3(81.19324f, -197.77222f, -266.8651f), 613) - { - Action = EAction.Inhale - }; - num3 = 6; - List> list246 = new List>(num3); - CollectionsMarshal.SetCount(list246, num3); - Span> span83 = CollectionsMarshal.AsSpan(list246); - span83[0] = null; - span83[1] = null; - span83[2] = null; - ref List reference192 = ref span83[3]; - num4 = 3; - List list247 = new List(num4); - CollectionsMarshal.SetCount(list247, num4); - Span span84 = CollectionsMarshal.AsSpan(list247); - span84[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span84[1] = new QuestWorkValue((byte)7, 0, EQuestWorkMode.Bitwise); - span84[2] = new QuestWorkValue((byte)9, 0, EQuestWorkMode.Bitwise); - reference192 = list247; - span83[4] = null; - span83[5] = null; - obj175.RequiredQuestVariables = list246; - reference191 = obj175; - ref QuestStep reference193 = ref span82[2]; - QuestStep obj176 = new QuestStep(EInteractionType.Action, 2009234u, new Vector3(195.05603f, -183.30664f, -346.6087f), 613) - { - Action = EAction.Inhale - }; - num3 = 6; - List> list248 = new List>(num3); - CollectionsMarshal.SetCount(list248, num3); - Span> span85 = CollectionsMarshal.AsSpan(list248); - span85[0] = null; - span85[1] = null; - span85[2] = null; - ref List reference194 = ref span85[3]; - num4 = 4; - List list249 = new List(num4); - CollectionsMarshal.SetCount(list249, num4); - Span span86 = CollectionsMarshal.AsSpan(list249); - span86[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span86[1] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span86[2] = new QuestWorkValue((byte)6, 0, EQuestWorkMode.Bitwise); - span86[3] = new QuestWorkValue((byte)9, 0, EQuestWorkMode.Bitwise); - reference194 = list249; - span85[4] = null; - span85[5] = null; - obj176.RequiredQuestVariables = list248; - reference193 = obj176; - ref QuestStep reference195 = ref span82[3]; - QuestStep obj177 = new QuestStep(EInteractionType.Action, 2009235u, new Vector3(50.980347f, -139.42175f, -280.96442f), 613) - { - Action = EAction.Inhale - }; - num3 = 6; - List> list250 = new List>(num3); - CollectionsMarshal.SetCount(list250, num3); - Span> span87 = CollectionsMarshal.AsSpan(list250); - span87[0] = null; - span87[1] = null; - span87[2] = null; - ref List reference196 = ref span87[3]; - num4 = 3; - List list251 = new List(num4); - CollectionsMarshal.SetCount(list251, num4); - Span span88 = CollectionsMarshal.AsSpan(list251); - span88[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span88[1] = new QuestWorkValue((byte)5, 0, EQuestWorkMode.Bitwise); - span88[2] = new QuestWorkValue((byte)6, 0, EQuestWorkMode.Bitwise); - reference196 = list251; - span87[4] = null; - span87[5] = null; - obj177.RequiredQuestVariables = list250; - reference195 = obj177; - ref QuestStep reference197 = ref span82[4]; - QuestStep obj178 = new QuestStep(EInteractionType.Action, 2009236u, new Vector3(192.0653f, -172.80847f, -247.63867f), 613) - { - Action = EAction.Inhale - }; - num3 = 6; - List> list252 = new List>(num3); - CollectionsMarshal.SetCount(list252, num3); - Span> span89 = CollectionsMarshal.AsSpan(list252); - span89[0] = null; - span89[1] = null; - span89[2] = null; - ref List reference198 = ref span89[3]; - num4 = 4; - List list253 = new List(num4); - CollectionsMarshal.SetCount(list253, num4); - Span span90 = CollectionsMarshal.AsSpan(list253); - span90[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span90[1] = new QuestWorkValue((byte)5, 0, EQuestWorkMode.Bitwise); - span90[2] = new QuestWorkValue((byte)6, 0, EQuestWorkMode.Bitwise); - span90[3] = new QuestWorkValue((byte)7, 0, EQuestWorkMode.Bitwise); - reference198 = list253; - span89[4] = null; - span89[5] = null; - obj178.RequiredQuestVariables = list252; - reference197 = obj178; - ref QuestStep reference199 = ref span82[5]; - QuestStep obj179 = new QuestStep(EInteractionType.Action, 2009237u, new Vector3(173.99854f, -161.85254f, -190.29535f), 613) - { - Action = EAction.Inhale - }; - num3 = 6; - List> list254 = new List>(num3); - CollectionsMarshal.SetCount(list254, num3); - Span> span91 = CollectionsMarshal.AsSpan(list254); - span91[0] = null; - span91[1] = null; - span91[2] = null; - ref List reference200 = ref span91[3]; - num4 = 4; - List list255 = new List(num4); - CollectionsMarshal.SetCount(list255, num4); - Span span92 = CollectionsMarshal.AsSpan(list255); - span92[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span92[1] = new QuestWorkValue((byte)5, 0, EQuestWorkMode.Bitwise); - span92[2] = new QuestWorkValue((byte)7, 0, EQuestWorkMode.Bitwise); - span92[3] = new QuestWorkValue((byte)9, 0, EQuestWorkMode.Bitwise); - reference200 = list255; - span91[4] = null; - span91[5] = null; - obj179.RequiredQuestVariables = list254; - reference199 = obj179; - obj174.Steps = list245; - reference190 = obj174; - ref QuestSequence reference201 = ref span81[3]; - QuestSequence obj180 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - Span span93 = CollectionsMarshal.AsSpan(list256); - span93[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(392.59683f, -119.589325f, -234.30063f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span93[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj180.Steps = list256; - reference201 = obj180; - questRoot26.QuestSequence = list242; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(2983); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list257 = new List(num); - CollectionsMarshal.SetCount(list257, num); - CollectionsMarshal.AsSpan(list257)[0] = "plogon_enjoyer"; - questRoot27.Author = list257; - num = 3; - List list258 = new List(num); - CollectionsMarshal.SetCount(list258, num); - Span span94 = CollectionsMarshal.AsSpan(list258); - ref QuestSequence reference202 = ref span94[0]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - CollectionsMarshal.AsSpan(list259)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj181.Steps = list259; - reference202 = obj181; - ref QuestSequence reference203 = ref span94[1]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - Span span95 = CollectionsMarshal.AsSpan(list260); - span95[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(840.90247f, 5.923009f, 842.75916f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyPrice - } - }; - ref QuestStep reference204 = ref span95[1]; - QuestStep obj183 = new QuestStep(EInteractionType.Combat, 2009092u, new Vector3(38.864624f, 18.20398f, 712.7947f), 613) - { - Fly = true, - ItemId = 2002401u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list261 = new List(num3); - CollectionsMarshal.SetCount(list261, num3); - CollectionsMarshal.AsSpan(list261)[0] = 8236u; - obj183.KillEnemyDataIds = list261; - num3 = 6; - List> list262 = new List>(num3); - CollectionsMarshal.SetCount(list262, num3); - Span> span96 = CollectionsMarshal.AsSpan(list262); - span96[0] = null; - span96[1] = null; - span96[2] = null; - ref List reference205 = ref span96[3]; - num4 = 2; - List list263 = new List(num4); - CollectionsMarshal.SetCount(list263, num4); - Span span97 = CollectionsMarshal.AsSpan(list263); - span97[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span97[1] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference205 = list263; - span96[4] = null; - span96[5] = null; - obj183.RequiredQuestVariables = list262; - reference204 = obj183; - ref QuestStep reference206 = ref span95[2]; - QuestStep obj184 = new QuestStep(EInteractionType.Combat, 2009091u, new Vector3(-72.58722f, 10.513428f, 632.41016f), 613) - { - Fly = true, - ItemId = 2002401u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list264 = new List(num3); - CollectionsMarshal.SetCount(list264, num3); - CollectionsMarshal.AsSpan(list264)[0] = 8236u; - obj184.KillEnemyDataIds = list264; - num3 = 6; - List> list265 = new List>(num3); - CollectionsMarshal.SetCount(list265, num3); - Span> span98 = CollectionsMarshal.AsSpan(list265); - span98[0] = null; - span98[1] = null; - span98[2] = null; - ref List reference207 = ref span98[3]; - num4 = 1; - List list266 = new List(num4); - CollectionsMarshal.SetCount(list266, num4); - CollectionsMarshal.AsSpan(list266)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference207 = list266; - span98[4] = null; - span98[5] = null; - obj184.RequiredQuestVariables = list265; - reference206 = obj184; - ref QuestStep reference208 = ref span95[3]; - QuestStep obj185 = new QuestStep(EInteractionType.Combat, 2009093u, new Vector3(29.495605f, 3.0059814f, 527.7637f), 613) - { - Fly = true, - ItemId = 2002401u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list267 = new List(num3); - CollectionsMarshal.SetCount(list267, num3); - CollectionsMarshal.AsSpan(list267)[0] = 8236u; - obj185.KillEnemyDataIds = list267; - num3 = 6; - List> list268 = new List>(num3); - CollectionsMarshal.SetCount(list268, num3); - Span> span99 = CollectionsMarshal.AsSpan(list268); - span99[0] = null; - span99[1] = null; - span99[2] = null; - ref List reference209 = ref span99[3]; - num4 = 1; - List list269 = new List(num4); - CollectionsMarshal.SetCount(list269, num4); - CollectionsMarshal.AsSpan(list269)[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference209 = list269; - span99[4] = null; - span99[5] = null; - obj185.RequiredQuestVariables = list268; - reference208 = obj185; - obj182.Steps = list260; - reference203 = obj182; - ref QuestSequence reference210 = ref span94[2]; - QuestSequence obj186 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - Span span100 = CollectionsMarshal.AsSpan(list270); - span100[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(391.50903f, -119.58932f, -236.18898f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span100[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj186.Steps = list270; - reference210 = obj186; - questRoot27.QuestSequence = list258; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(2984); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list271 = new List(num); - CollectionsMarshal.SetCount(list271, num); - CollectionsMarshal.AsSpan(list271)[0] = "plogon_enjoyer"; - questRoot28.Author = list271; - num = 3; - List list272 = new List(num); - CollectionsMarshal.SetCount(list272, num); - Span span101 = CollectionsMarshal.AsSpan(list272); - ref QuestSequence reference211 = ref span101[0]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - CollectionsMarshal.AsSpan(list273)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj187.Steps = list273; - reference211 = obj187; - ref QuestSequence reference212 = ref span101[1]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - Span span102 = CollectionsMarshal.AsSpan(list274); - ref QuestStep reference213 = ref span102[0]; - QuestStep obj189 = new QuestStep(EInteractionType.Interact, 1019249u, new Vector3(537.1328f, 33.655228f, -811.1849f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - num3 = 6; - List> list275 = new List>(num3); - CollectionsMarshal.SetCount(list275, num3); - Span> span103 = CollectionsMarshal.AsSpan(list275); - span103[0] = null; - span103[1] = null; - ref List reference214 = ref span103[2]; - num4 = 2; - List list276 = new List(num4); - CollectionsMarshal.SetCount(list276, num4); - Span span104 = CollectionsMarshal.AsSpan(list276); - span104[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span104[1] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference214 = list276; - span103[3] = null; - span103[4] = null; - span103[5] = null; - obj189.RequiredQuestVariables = list275; - reference213 = obj189; - ref QuestStep reference215 = ref span102[1]; - QuestStep obj190 = new QuestStep(EInteractionType.Interact, 1024348u, new Vector3(724.8187f, 1.3691645f, -814.4198f), 613) - { - Fly = true - }; - num3 = 6; - List> list277 = new List>(num3); - CollectionsMarshal.SetCount(list277, num3); - Span> span105 = CollectionsMarshal.AsSpan(list277); - span105[0] = null; - span105[1] = null; - ref List reference216 = ref span105[2]; - num4 = 1; - List list278 = new List(num4); - CollectionsMarshal.SetCount(list278, num4); - CollectionsMarshal.AsSpan(list278)[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference216 = list278; - span105[3] = null; - span105[4] = null; - span105[5] = null; - obj190.RequiredQuestVariables = list277; - reference215 = obj190; - ref QuestStep reference217 = ref span102[2]; - QuestStep obj191 = new QuestStep(EInteractionType.Interact, 1024420u, new Vector3(577.3556f, 9.866471f, -733.79114f), 613) - { - Fly = true - }; - num3 = 6; - List> list279 = new List>(num3); - CollectionsMarshal.SetCount(list279, num3); - Span> span106 = CollectionsMarshal.AsSpan(list279); - span106[0] = null; - span106[1] = null; - ref List reference218 = ref span106[2]; - num4 = 1; - List list280 = new List(num4); - CollectionsMarshal.SetCount(list280, num4); - CollectionsMarshal.AsSpan(list280)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference218 = list280; - span106[3] = null; - span106[4] = null; - span106[5] = null; - obj191.RequiredQuestVariables = list279; - reference217 = obj191; - obj188.Steps = list274; - reference212 = obj188; - ref QuestSequence reference219 = ref span101[2]; - QuestSequence obj192 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - Span span107 = CollectionsMarshal.AsSpan(list281); - span107[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(392.59683f, -119.589325f, -234.30063f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span107[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj192.Steps = list281; - reference219 = obj192; - questRoot28.QuestSequence = list272; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(2985); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list282 = new List(num); - CollectionsMarshal.SetCount(list282, num); - CollectionsMarshal.AsSpan(list282)[0] = "plogon_enjoyer"; - questRoot29.Author = list282; - num = 4; - List list283 = new List(num); - CollectionsMarshal.SetCount(list283, num); - Span span108 = CollectionsMarshal.AsSpan(list283); - ref QuestSequence reference220 = ref span108[0]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - CollectionsMarshal.AsSpan(list284)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj193.Steps = list284; - reference220 = obj193; - ref QuestSequence reference221 = ref span108[1]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - Span span109 = CollectionsMarshal.AsSpan(list285); - span109[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(324.734f, -118.16611f, -310.65613f), 613) - { - Fly = true, - RestartNavigationIfCancelled = false - }; - span109[1] = new QuestStep(EInteractionType.Say, 2009099u, new Vector3(829.0073f, -122.179016f, -768.91736f), 613) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANKJN401_02985_SAYTODO_000_015" - } - }; - obj194.Steps = list285; - reference221 = obj194; - ref QuestSequence reference222 = ref span108[2]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - Span span110 = CollectionsMarshal.AsSpan(list286); - ref QuestStep reference223 = ref span110[0]; - QuestStep obj196 = new QuestStep(EInteractionType.Interact, 1024295u, new Vector3(861.6616f, -108.659546f, -546.4103f), 613) - { - Fly = true - }; - num3 = 6; - List> list287 = new List>(num3); - CollectionsMarshal.SetCount(list287, num3); - Span> span111 = CollectionsMarshal.AsSpan(list287); - span111[0] = null; - ref List reference224 = ref span111[1]; - num4 = 1; - List list288 = new List(num4); - CollectionsMarshal.SetCount(list288, num4); - CollectionsMarshal.AsSpan(list288)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference224 = list288; - span111[2] = null; - span111[3] = null; - span111[4] = null; - span111[5] = null; - obj196.RequiredQuestVariables = list287; - reference223 = obj196; - ref QuestStep reference225 = ref span110[1]; - QuestStep obj197 = new QuestStep(EInteractionType.Interact, 1024345u, new Vector3(891.78296f, -140.61188f, -794.36945f), 613) - { - Fly = true - }; - num3 = 6; - List> list289 = new List>(num3); - CollectionsMarshal.SetCount(list289, num3); - Span> span112 = CollectionsMarshal.AsSpan(list289); - span112[0] = null; - ref List reference226 = ref span112[1]; - num4 = 1; - List list290 = new List(num4); - CollectionsMarshal.SetCount(list290, num4); - CollectionsMarshal.AsSpan(list290)[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference226 = list290; - span112[2] = null; - span112[3] = null; - span112[4] = null; - span112[5] = null; - obj197.RequiredQuestVariables = list289; - reference225 = obj197; - ref QuestStep reference227 = ref span110[2]; - QuestStep obj198 = new QuestStep(EInteractionType.Interact, 1024344u, new Vector3(836.14856f, -127.85541f, -910.7042f), 613) - { - Fly = true - }; - num3 = 6; - List> list291 = new List>(num3); - CollectionsMarshal.SetCount(list291, num3); - Span> span113 = CollectionsMarshal.AsSpan(list291); - span113[0] = null; - ref List reference228 = ref span113[1]; - num4 = 1; - List list292 = new List(num4); - CollectionsMarshal.SetCount(list292, num4); - CollectionsMarshal.AsSpan(list292)[0] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - reference228 = list292; - span113[2] = null; - span113[3] = null; - span113[4] = null; - span113[5] = null; - obj198.RequiredQuestVariables = list291; - reference227 = obj198; - obj195.Steps = list286; - reference222 = obj195; - ref QuestSequence reference229 = ref span108[3]; - QuestSequence obj199 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - Span span114 = CollectionsMarshal.AsSpan(list293); - span114[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(392.59683f, -119.589325f, -234.30063f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span114[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj199.Steps = list293; - reference229 = obj199; - questRoot29.QuestSequence = list283; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(2986); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list294 = new List(num); - CollectionsMarshal.SetCount(list294, num); - CollectionsMarshal.AsSpan(list294)[0] = "plogon_enjoyer"; - questRoot30.Author = list294; - num = 3; - List list295 = new List(num); - CollectionsMarshal.SetCount(list295, num); - Span span115 = CollectionsMarshal.AsSpan(list295); - ref QuestSequence reference230 = ref span115[0]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - CollectionsMarshal.AsSpan(list296)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj200.Steps = list296; - reference230 = obj200; - ref QuestSequence reference231 = ref span115[1]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - Span span116 = CollectionsMarshal.AsSpan(list297); - ref QuestStep reference232 = ref span116[0]; - QuestStep obj202 = new QuestStep(EInteractionType.Combat, null, new Vector3(-305.79498f, -0.5f, -517.7326f), 613) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list298 = new List(num3); - CollectionsMarshal.SetCount(list298, num3); - CollectionsMarshal.AsSpan(list298)[0] = 8237u; - obj202.KillEnemyDataIds = list298; - num3 = 6; - List> list299 = new List>(num3); - CollectionsMarshal.SetCount(list299, num3); - Span> span117 = CollectionsMarshal.AsSpan(list299); - span117[0] = null; - span117[1] = null; - ref List reference233 = ref span117[2]; - num4 = 1; - List list300 = new List(num4); - CollectionsMarshal.SetCount(list300, num4); - CollectionsMarshal.AsSpan(list300)[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - reference233 = list300; - span117[3] = null; - span117[4] = null; - span117[5] = null; - obj202.RequiredQuestVariables = list299; - reference232 = obj202; - ref QuestStep reference234 = ref span116[1]; - QuestStep obj203 = new QuestStep(EInteractionType.Combat, null, new Vector3(166.64561f, -0.4983238f, -751.1739f), 613) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list301 = new List(num3); - CollectionsMarshal.SetCount(list301, num3); - CollectionsMarshal.AsSpan(list301)[0] = 8237u; - obj203.KillEnemyDataIds = list301; - num3 = 6; - List> list302 = new List>(num3); - CollectionsMarshal.SetCount(list302, num3); - Span> span118 = CollectionsMarshal.AsSpan(list302); - span118[0] = null; - span118[1] = null; - ref List reference235 = ref span118[2]; - num4 = 1; - List list303 = new List(num4); - CollectionsMarshal.SetCount(list303, num4); - CollectionsMarshal.AsSpan(list303)[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference235 = list303; - span118[3] = null; - span118[4] = null; - span118[5] = null; - obj203.RequiredQuestVariables = list302; - reference234 = obj203; - ref QuestStep reference236 = ref span116[2]; - QuestStep obj204 = new QuestStep(EInteractionType.Combat, null, new Vector3(-135.29268f, -0.06343824f, -805.9451f), 613) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list304 = new List(num3); - CollectionsMarshal.SetCount(list304, num3); - CollectionsMarshal.AsSpan(list304)[0] = 8237u; - obj204.KillEnemyDataIds = list304; - num3 = 6; - List> list305 = new List>(num3); - CollectionsMarshal.SetCount(list305, num3); - Span> span119 = CollectionsMarshal.AsSpan(list305); - span119[0] = null; - span119[1] = null; - ref List reference237 = ref span119[2]; - num4 = 1; - List list306 = new List(num4); - CollectionsMarshal.SetCount(list306, num4); - CollectionsMarshal.AsSpan(list306)[0] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - reference237 = list306; - span119[3] = null; - span119[4] = null; - span119[5] = null; - obj204.RequiredQuestVariables = list305; - reference236 = obj204; - obj201.Steps = list297; - reference231 = obj201; - ref QuestSequence reference238 = ref span115[2]; - QuestSequence obj205 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list307 = new List(num2); - CollectionsMarshal.SetCount(list307, num2); - Span span120 = CollectionsMarshal.AsSpan(list307); - span120[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(392.59683f, -119.589325f, -234.30063f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span120[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj205.Steps = list307; - reference238 = obj205; - questRoot30.QuestSequence = list295; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(2987); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list308 = new List(num); - CollectionsMarshal.SetCount(list308, num); - CollectionsMarshal.AsSpan(list308)[0] = "plogon_enjoyer"; - questRoot31.Author = list308; - num = 4; - List list309 = new List(num); - CollectionsMarshal.SetCount(list309, num); - Span span121 = CollectionsMarshal.AsSpan(list309); - ref QuestSequence reference239 = ref span121[0]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - CollectionsMarshal.AsSpan(list310)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj206.Steps = list310; - reference239 = obj206; - ref QuestSequence reference240 = ref span121[1]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list311 = new List(num2); - CollectionsMarshal.SetCount(list311, num2); - CollectionsMarshal.AsSpan(list311)[0] = new QuestStep(EInteractionType.Interact, 1024300u, new Vector3(139.60474f, -0.17411774f, -578.1796f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - obj207.Steps = list311; - reference240 = obj207; - ref QuestSequence reference241 = ref span121[2]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - Span span122 = CollectionsMarshal.AsSpan(list312); - ref QuestStep reference242 = ref span122[0]; - QuestStep obj209 = new QuestStep(EInteractionType.Interact, 1024305u, new Vector3(30.71643f, 1.1855971f, -529.778f), 613) - { - Fly = true - }; - num3 = 6; - List> list313 = new List>(num3); - CollectionsMarshal.SetCount(list313, num3); - Span> span123 = CollectionsMarshal.AsSpan(list313); - span123[0] = null; - span123[1] = null; - ref List reference243 = ref span123[2]; - num4 = 2; - List list314 = new List(num4); - CollectionsMarshal.SetCount(list314, num4); - Span span124 = CollectionsMarshal.AsSpan(list314); - span124[0] = new QuestWorkValue((byte)2, (byte)1, EQuestWorkMode.Bitwise); - span124[1] = new QuestWorkValue((byte)2, (byte)2, EQuestWorkMode.Bitwise); - reference243 = list314; - span123[3] = null; - span123[4] = null; - span123[5] = null; - obj209.RequiredQuestVariables = list313; - reference242 = obj209; - ref QuestStep reference244 = ref span122[1]; - QuestStep obj210 = new QuestStep(EInteractionType.Interact, 1024303u, new Vector3(43.503418f, 3.6636734f, -619.379f), 613) - { - Fly = true - }; - num3 = 6; - List> list315 = new List>(num3); - CollectionsMarshal.SetCount(list315, num3); - Span> span125 = CollectionsMarshal.AsSpan(list315); - span125[0] = null; - span125[1] = null; - ref List reference245 = ref span125[2]; - num4 = 2; - List list316 = new List(num4); - CollectionsMarshal.SetCount(list316, num4); - Span span126 = CollectionsMarshal.AsSpan(list316); - span126[0] = new QuestWorkValue((byte)1, (byte)1, EQuestWorkMode.Bitwise); - span126[1] = new QuestWorkValue((byte)2, (byte)3, EQuestWorkMode.Bitwise); - reference245 = list316; - span125[3] = null; - span125[4] = null; - span125[5] = null; - obj210.RequiredQuestVariables = list315; - reference244 = obj210; - ref QuestStep reference246 = ref span122[2]; - QuestStep obj211 = new QuestStep(EInteractionType.Interact, 1024301u, new Vector3(-11.886841f, 3.194641f, -622.88855f), 613) - { - Fly = true - }; - num3 = 6; - List> list317 = new List>(num3); - CollectionsMarshal.SetCount(list317, num3); - Span> span127 = CollectionsMarshal.AsSpan(list317); - span127[0] = null; - span127[1] = null; - ref List reference247 = ref span127[2]; - num4 = 2; - List list318 = new List(num4); - CollectionsMarshal.SetCount(list318, num4); - Span span128 = CollectionsMarshal.AsSpan(list318); - span128[0] = new QuestWorkValue((byte)1, (byte)2, EQuestWorkMode.Bitwise); - span128[1] = new QuestWorkValue((byte)1, (byte)3, EQuestWorkMode.Bitwise); - reference247 = list318; - span127[3] = null; - span127[4] = null; - span127[5] = null; - obj211.RequiredQuestVariables = list317; - reference246 = obj211; - obj208.Steps = list312; - reference241 = obj208; - ref QuestSequence reference248 = ref span121[3]; - QuestSequence obj212 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list319 = new List(num2); - CollectionsMarshal.SetCount(list319, num2); - Span span129 = CollectionsMarshal.AsSpan(list319); - span129[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(392.59683f, -119.589325f, -234.30063f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span129[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj212.Steps = list319; - reference248 = obj212; - questRoot31.QuestSequence = list309; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(2988); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list320 = new List(num); - CollectionsMarshal.SetCount(list320, num); - CollectionsMarshal.AsSpan(list320)[0] = "plogon_enjoyer"; - questRoot32.Author = list320; - num = 4; - List list321 = new List(num); - CollectionsMarshal.SetCount(list321, num); - Span span130 = CollectionsMarshal.AsSpan(list321); - ref QuestSequence reference249 = ref span130[0]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list322 = new List(num2); - CollectionsMarshal.SetCount(list322, num2); - CollectionsMarshal.AsSpan(list322)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj213.Steps = list322; - reference249 = obj213; - ref QuestSequence reference250 = ref span130[1]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list323 = new List(num2); - CollectionsMarshal.SetCount(list323, num2); - Span span131 = CollectionsMarshal.AsSpan(list323); - span131[0] = new QuestStep(EInteractionType.None, null, null, 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - ref QuestStep reference251 = ref span131[1]; - QuestStep obj215 = new QuestStep(EInteractionType.UseItem, 2009104u, new Vector3(399.89307f, -0.10687256f, -347.21906f), 613) - { - Fly = true, - ItemId = 2002405u - }; - num3 = 6; - List> list324 = new List>(num3); - CollectionsMarshal.SetCount(list324, num3); - Span> span132 = CollectionsMarshal.AsSpan(list324); - span132[0] = null; - span132[1] = null; - ref List reference252 = ref span132[2]; - num4 = 1; - List list325 = new List(num4); - CollectionsMarshal.SetCount(list325, num4); - CollectionsMarshal.AsSpan(list325)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference252 = list325; - span132[3] = null; - span132[4] = null; - span132[5] = null; - obj215.RequiredQuestVariables = list324; - reference251 = obj215; - ref QuestStep reference253 = ref span131[2]; - QuestStep obj216 = new QuestStep(EInteractionType.UseItem, 2009103u, new Vector3(187.24341f, -0.10687256f, -477.71423f), 613) - { - Fly = true, - ItemId = 2002405u - }; - num3 = 6; - List> list326 = new List>(num3); - CollectionsMarshal.SetCount(list326, num3); - Span> span133 = CollectionsMarshal.AsSpan(list326); - span133[0] = null; - span133[1] = null; - ref List reference254 = ref span133[2]; - num4 = 1; - List list327 = new List(num4); - CollectionsMarshal.SetCount(list327, num4); - CollectionsMarshal.AsSpan(list327)[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference254 = list327; - span133[3] = null; - span133[4] = null; - span133[5] = null; - obj216.RequiredQuestVariables = list326; - reference253 = obj216; - ref QuestStep reference255 = ref span131[3]; - QuestStep obj217 = new QuestStep(EInteractionType.UseItem, 2009102u, new Vector3(379.07983f, -0.07635498f, -494.31604f), 613) - { - Fly = true, - ItemId = 2002405u - }; - num3 = 6; - List> list328 = new List>(num3); - CollectionsMarshal.SetCount(list328, num3); - Span> span134 = CollectionsMarshal.AsSpan(list328); - span134[0] = null; - span134[1] = null; - ref List reference256 = ref span134[2]; - num4 = 1; - List list329 = new List(num4); - CollectionsMarshal.SetCount(list329, num4); - CollectionsMarshal.AsSpan(list329)[0] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - reference256 = list329; - span134[3] = null; - span134[4] = null; - span134[5] = null; - obj217.RequiredQuestVariables = list328; - reference255 = obj217; - obj214.Steps = list323; - reference250 = obj214; - ref QuestSequence reference257 = ref span130[2]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list330 = new List(num2); - CollectionsMarshal.SetCount(list330, num2); - CollectionsMarshal.AsSpan(list330)[0] = new QuestStep(EInteractionType.Interact, 1024218u, new Vector3(387.56384f, -119.795334f, -257.64862f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - obj218.Steps = list330; - reference257 = obj218; - ref QuestSequence reference258 = ref span130[3]; - QuestSequence obj219 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list331 = new List(num2); - CollectionsMarshal.SetCount(list331, num2); - Span span135 = CollectionsMarshal.AsSpan(list331); - span135[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(392.59683f, -119.589325f, -234.30063f), 613) - { - Fly = true - }; - span135[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj219.Steps = list331; - reference258 = obj219; - questRoot32.QuestSequence = list321; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(2989); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list332 = new List(num); - CollectionsMarshal.SetCount(list332, num); - CollectionsMarshal.AsSpan(list332)[0] = "plogon_enjoyer"; - questRoot33.Author = list332; - num = 3; - List list333 = new List(num); - CollectionsMarshal.SetCount(list333, num); - Span span136 = CollectionsMarshal.AsSpan(list333); - ref QuestSequence reference259 = ref span136[0]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - CollectionsMarshal.AsSpan(list334)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj220.Steps = list334; - reference259 = obj220; - ref QuestSequence reference260 = ref span136[1]; - QuestSequence obj221 = new QuestSequence - { - Sequence = 1 - }; - num2 = 10; - List list335 = new List(num2); - CollectionsMarshal.SetCount(list335, num2); - Span span137 = CollectionsMarshal.AsSpan(list335); - span137[0] = new QuestStep(EInteractionType.None, null, null, 613) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyPrice - } - }; - ref QuestStep reference261 = ref span137[1]; - QuestStep obj222 = new QuestStep(EInteractionType.Combat, 2009161u, new Vector3(52.262085f, 18.844849f, 576.43994f), 613) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list336 = new List(num3); - CollectionsMarshal.SetCount(list336, num3); - CollectionsMarshal.AsSpan(list336)[0] = 8238u; - obj222.KillEnemyDataIds = list336; - num3 = 6; - List> list337 = new List>(num3); - CollectionsMarshal.SetCount(list337, num3); - Span> span138 = CollectionsMarshal.AsSpan(list337); - span138[0] = null; - span138[1] = null; - ref List reference262 = ref span138[2]; - num4 = 1; - List list338 = new List(num4); - CollectionsMarshal.SetCount(list338, num4); - CollectionsMarshal.AsSpan(list338)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference262 = list338; - span138[3] = null; - span138[4] = null; - span138[5] = null; - obj222.RequiredQuestVariables = list337; - reference261 = obj222; - ref QuestStep reference263 = ref span137[2]; - QuestStep obj223 = new QuestStep(EInteractionType.Combat, null, new Vector3(52.262085f, 18.844849f, 576.43994f), 613) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list339 = new List(num3); - CollectionsMarshal.SetCount(list339, num3); - CollectionsMarshal.AsSpan(list339)[0] = 8239u; - obj223.KillEnemyDataIds = list339; - num3 = 6; - List> list340 = new List>(num3); - CollectionsMarshal.SetCount(list340, num3); - Span> span139 = CollectionsMarshal.AsSpan(list340); - span139[0] = null; - span139[1] = null; - ref List reference264 = ref span139[2]; - num4 = 1; - List list341 = new List(num4); - CollectionsMarshal.SetCount(list341, num4); - CollectionsMarshal.AsSpan(list341)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference264 = list341; - span139[3] = null; - span139[4] = null; - span139[5] = null; - obj223.RequiredQuestVariables = list340; - reference263 = obj223; - ref QuestStep reference265 = ref span137[3]; - QuestStep obj224 = new QuestStep(EInteractionType.Combat, null, new Vector3(52.262085f, 18.844849f, 576.43994f), 613) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list342 = new List(num3); - CollectionsMarshal.SetCount(list342, num3); - CollectionsMarshal.AsSpan(list342)[0] = 8240u; - obj224.KillEnemyDataIds = list342; - num3 = 6; - List> list343 = new List>(num3); - CollectionsMarshal.SetCount(list343, num3); - Span> span140 = CollectionsMarshal.AsSpan(list343); - span140[0] = null; - span140[1] = null; - ref List reference266 = ref span140[2]; - num4 = 1; - List list344 = new List(num4); - CollectionsMarshal.SetCount(list344, num4); - CollectionsMarshal.AsSpan(list344)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference266 = list344; - span140[3] = null; - span140[4] = null; - span140[5] = null; - obj224.RequiredQuestVariables = list343; - reference265 = obj224; - ref QuestStep reference267 = ref span137[4]; - QuestStep obj225 = new QuestStep(EInteractionType.Combat, 2009162u, new Vector3(29.587158f, 51.407593f, 771.35876f), 613) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list345 = new List(num3); - CollectionsMarshal.SetCount(list345, num3); - CollectionsMarshal.AsSpan(list345)[0] = 8238u; - obj225.KillEnemyDataIds = list345; - num3 = 6; - List> list346 = new List>(num3); - CollectionsMarshal.SetCount(list346, num3); - Span> span141 = CollectionsMarshal.AsSpan(list346); - span141[0] = null; - span141[1] = null; - ref List reference268 = ref span141[2]; - num4 = 1; - List list347 = new List(num4); - CollectionsMarshal.SetCount(list347, num4); - CollectionsMarshal.AsSpan(list347)[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference268 = list347; - span141[3] = null; - span141[4] = null; - span141[5] = null; - obj225.RequiredQuestVariables = list346; - reference267 = obj225; - ref QuestStep reference269 = ref span137[5]; - QuestStep obj226 = new QuestStep(EInteractionType.Combat, null, new Vector3(29.587158f, 51.407593f, 771.35876f), 613) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list348 = new List(num3); - CollectionsMarshal.SetCount(list348, num3); - CollectionsMarshal.AsSpan(list348)[0] = 8239u; - obj226.KillEnemyDataIds = list348; - num3 = 6; - List> list349 = new List>(num3); - CollectionsMarshal.SetCount(list349, num3); - Span> span142 = CollectionsMarshal.AsSpan(list349); - span142[0] = null; - span142[1] = null; - ref List reference270 = ref span142[2]; - num4 = 1; - List list350 = new List(num4); - CollectionsMarshal.SetCount(list350, num4); - CollectionsMarshal.AsSpan(list350)[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference270 = list350; - span142[3] = null; - span142[4] = null; - span142[5] = null; - obj226.RequiredQuestVariables = list349; - reference269 = obj226; - ref QuestStep reference271 = ref span137[6]; - QuestStep obj227 = new QuestStep(EInteractionType.Combat, null, new Vector3(29.587158f, 51.407593f, 771.35876f), 613) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list351 = new List(num3); - CollectionsMarshal.SetCount(list351, num3); - CollectionsMarshal.AsSpan(list351)[0] = 8240u; - obj227.KillEnemyDataIds = list351; - num3 = 6; - List> list352 = new List>(num3); - CollectionsMarshal.SetCount(list352, num3); - Span> span143 = CollectionsMarshal.AsSpan(list352); - span143[0] = null; - span143[1] = null; - ref List reference272 = ref span143[2]; - num4 = 1; - List list353 = new List(num4); - CollectionsMarshal.SetCount(list353, num4); - CollectionsMarshal.AsSpan(list353)[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference272 = list353; - span143[3] = null; - span143[4] = null; - span143[5] = null; - obj227.RequiredQuestVariables = list352; - reference271 = obj227; - ref QuestStep reference273 = ref span137[7]; - QuestStep obj228 = new QuestStep(EInteractionType.Combat, 2009163u, new Vector3(337.84998f, 5.8136597f, 685.26733f), 613) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list354 = new List(num3); - CollectionsMarshal.SetCount(list354, num3); - CollectionsMarshal.AsSpan(list354)[0] = 8238u; - obj228.KillEnemyDataIds = list354; - num3 = 6; - List> list355 = new List>(num3); - CollectionsMarshal.SetCount(list355, num3); - Span> span144 = CollectionsMarshal.AsSpan(list355); - span144[0] = null; - span144[1] = null; - ref List reference274 = ref span144[2]; - num4 = 1; - List list356 = new List(num4); - CollectionsMarshal.SetCount(list356, num4); - CollectionsMarshal.AsSpan(list356)[0] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - reference274 = list356; - span144[3] = null; - span144[4] = null; - span144[5] = null; - obj228.RequiredQuestVariables = list355; - reference273 = obj228; - ref QuestStep reference275 = ref span137[8]; - QuestStep obj229 = new QuestStep(EInteractionType.Combat, null, new Vector3(337.84998f, 5.8136597f, 685.26733f), 613) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list357 = new List(num3); - CollectionsMarshal.SetCount(list357, num3); - CollectionsMarshal.AsSpan(list357)[0] = 8239u; - obj229.KillEnemyDataIds = list357; - num3 = 6; - List> list358 = new List>(num3); - CollectionsMarshal.SetCount(list358, num3); - Span> span145 = CollectionsMarshal.AsSpan(list358); - span145[0] = null; - span145[1] = null; - ref List reference276 = ref span145[2]; - num4 = 1; - List list359 = new List(num4); - CollectionsMarshal.SetCount(list359, num4); - CollectionsMarshal.AsSpan(list359)[0] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - reference276 = list359; - span145[3] = null; - span145[4] = null; - span145[5] = null; - obj229.RequiredQuestVariables = list358; - reference275 = obj229; - ref QuestStep reference277 = ref span137[9]; - QuestStep obj230 = new QuestStep(EInteractionType.Combat, null, new Vector3(337.84998f, 5.8136597f, 685.26733f), 613) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list360 = new List(num3); - CollectionsMarshal.SetCount(list360, num3); - CollectionsMarshal.AsSpan(list360)[0] = 8240u; - obj230.KillEnemyDataIds = list360; - num3 = 6; - List> list361 = new List>(num3); - CollectionsMarshal.SetCount(list361, num3); - Span> span146 = CollectionsMarshal.AsSpan(list361); - span146[0] = null; - span146[1] = null; - ref List reference278 = ref span146[2]; - num4 = 1; - List list362 = new List(num4); - CollectionsMarshal.SetCount(list362, num4); - CollectionsMarshal.AsSpan(list362)[0] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - reference278 = list362; - span146[3] = null; - span146[4] = null; - span146[5] = null; - obj230.RequiredQuestVariables = list361; - reference277 = obj230; - obj221.Steps = list335; - reference260 = obj221; - ref QuestSequence reference279 = ref span136[2]; - QuestSequence obj231 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list363 = new List(num2); - CollectionsMarshal.SetCount(list363, num2); - Span span147 = CollectionsMarshal.AsSpan(list363); - span147[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(392.59683f, -119.589325f, -234.30063f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span147[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj231.Steps = list363; - reference279 = obj231; - questRoot33.QuestSequence = list333; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(2990); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list364 = new List(num); - CollectionsMarshal.SetCount(list364, num); - CollectionsMarshal.AsSpan(list364)[0] = "plogon_enjoyer"; - questRoot34.Author = list364; - num = 4; - List list365 = new List(num); - CollectionsMarshal.SetCount(list365, num); - Span span148 = CollectionsMarshal.AsSpan(list365); - ref QuestSequence reference280 = ref span148[0]; - QuestSequence obj232 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list366 = new List(num2); - CollectionsMarshal.SetCount(list366, num2); - CollectionsMarshal.AsSpan(list366)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj232.Steps = list366; - reference280 = obj232; - ref QuestSequence reference281 = ref span148[1]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list367 = new List(num2); - CollectionsMarshal.SetCount(list367, num2); - CollectionsMarshal.AsSpan(list367)[0] = new QuestStep(EInteractionType.Interact, 1024218u, new Vector3(387.56384f, -119.795334f, -257.64862f), 613) - { - Fly = true - }; - obj233.Steps = list367; - reference281 = obj233; - ref QuestSequence reference282 = ref span148[2]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 2 - }; - num2 = 6; - List list368 = new List(num2); - CollectionsMarshal.SetCount(list368, num2); - Span span149 = CollectionsMarshal.AsSpan(list368); - span149[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(322.45865f, -121.24298f, -314.65158f), 613) - { - Fly = true, - RestartNavigationIfCancelled = false - }; - ref QuestStep reference283 = ref span149[1]; - QuestStep obj235 = new QuestStep(EInteractionType.Action, 2009109u, new Vector3(239.18518f, -74.99817f, -464.95764f), 613) - { - Fly = true, - Action = EAction.Inhale - }; - num3 = 6; - List> list369 = new List>(num3); - CollectionsMarshal.SetCount(list369, num3); - Span> span150 = CollectionsMarshal.AsSpan(list369); - span150[0] = null; - span150[1] = null; - span150[2] = null; - ref List reference284 = ref span150[3]; - num4 = 4; - List list370 = new List(num4); - CollectionsMarshal.SetCount(list370, num4); - Span span151 = CollectionsMarshal.AsSpan(list370); - span151[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span151[1] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - span151[2] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - span151[3] = new QuestWorkValue((byte)9, 0, EQuestWorkMode.Bitwise); - reference284 = list370; - span150[4] = null; - span150[5] = null; - obj235.RequiredQuestVariables = list369; - reference283 = obj235; - ref QuestStep reference285 = ref span149[2]; - QuestStep obj236 = new QuestStep(EInteractionType.Action, 2009108u, new Vector3(286.33557f, -74.60144f, -499.01584f), 613) - { - Fly = true, - Action = EAction.Inhale - }; - num3 = 6; - List> list371 = new List>(num3); - CollectionsMarshal.SetCount(list371, num3); - Span> span152 = CollectionsMarshal.AsSpan(list371); - span152[0] = null; - span152[1] = null; - span152[2] = null; - ref List reference286 = ref span152[3]; - num4 = 4; - List list372 = new List(num4); - CollectionsMarshal.SetCount(list372, num4); - Span span153 = CollectionsMarshal.AsSpan(list372); - span153[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span153[1] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - span153[2] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - span153[3] = new QuestWorkValue((byte)10, 0, EQuestWorkMode.Bitwise); - reference286 = list372; - span152[4] = null; - span152[5] = null; - obj236.RequiredQuestVariables = list371; - reference285 = obj236; - ref QuestStep reference287 = ref span149[3]; - QuestStep obj237 = new QuestStep(EInteractionType.Action, 2009106u, new Vector3(539.2385f, -56.26001f, -364.88904f), 613) - { - Fly = true, - Action = EAction.Inhale - }; - num3 = 6; - List> list373 = new List>(num3); - CollectionsMarshal.SetCount(list373, num3); - Span> span154 = CollectionsMarshal.AsSpan(list373); - span154[0] = null; - span154[1] = null; - span154[2] = null; - ref List reference288 = ref span154[3]; - num4 = 3; - List list374 = new List(num4); - CollectionsMarshal.SetCount(list374, num4); - Span span155 = CollectionsMarshal.AsSpan(list374); - span155[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span155[1] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span155[2] = new QuestWorkValue((byte)10, 0, EQuestWorkMode.Bitwise); - reference288 = list374; - span154[4] = null; - span154[5] = null; - obj237.RequiredQuestVariables = list373; - reference287 = obj237; - ref QuestStep reference289 = ref span149[4]; - QuestStep obj238 = new QuestStep(EInteractionType.Action, 2009107u, new Vector3(560.14343f, -75.547424f, -410.81866f), 613) - { - Fly = true, - Action = EAction.Inhale - }; - num3 = 6; - List> list375 = new List>(num3); - CollectionsMarshal.SetCount(list375, num3); - Span> span156 = CollectionsMarshal.AsSpan(list375); - span156[0] = null; - span156[1] = null; - span156[2] = null; - ref List reference290 = ref span156[3]; - num4 = 4; - List list376 = new List(num4); - CollectionsMarshal.SetCount(list376, num4); - Span span157 = CollectionsMarshal.AsSpan(list376); - span157[0] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - span157[1] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span157[2] = new QuestWorkValue((byte)9, 0, EQuestWorkMode.Bitwise); - span157[3] = new QuestWorkValue((byte)10, 0, EQuestWorkMode.Bitwise); - reference290 = list376; - span156[4] = null; - span156[5] = null; - obj238.RequiredQuestVariables = list375; - reference289 = obj238; - ref QuestStep reference291 = ref span149[5]; - QuestStep obj239 = new QuestStep(EInteractionType.Action, 2009105u, new Vector3(613.94666f, -74.57086f, -400.04578f), 613) - { - Fly = true, - Action = EAction.Inhale - }; - num3 = 6; - List> list377 = new List>(num3); - CollectionsMarshal.SetCount(list377, num3); - Span> span158 = CollectionsMarshal.AsSpan(list377); - span158[0] = null; - span158[1] = null; - span158[2] = null; - ref List reference292 = ref span158[3]; - num4 = 3; - List list378 = new List(num4); - CollectionsMarshal.SetCount(list378, num4); - Span span159 = CollectionsMarshal.AsSpan(list378); - span159[0] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span159[1] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - span159[2] = new QuestWorkValue((byte)9, 0, EQuestWorkMode.Bitwise); - reference292 = list378; - span158[4] = null; - span158[5] = null; - obj239.RequiredQuestVariables = list377; - reference291 = obj239; - obj234.Steps = list368; - reference282 = obj234; - ref QuestSequence reference293 = ref span148[3]; - QuestSequence obj240 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list379 = new List(num2); - CollectionsMarshal.SetCount(list379, num2); - Span span160 = CollectionsMarshal.AsSpan(list379); - span160[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(392.59683f, -119.589325f, -234.30063f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span160[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj240.Steps = list379; - reference293 = obj240; - questRoot34.QuestSequence = list365; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(2991); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list380 = new List(num); - CollectionsMarshal.SetCount(list380, num); - CollectionsMarshal.AsSpan(list380)[0] = "plogon_enjoyer"; - questRoot35.Author = list380; - num = 3; - List list381 = new List(num); - CollectionsMarshal.SetCount(list381, num); - Span span161 = CollectionsMarshal.AsSpan(list381); - ref QuestSequence reference294 = ref span161[0]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list382 = new List(num2); - CollectionsMarshal.SetCount(list382, num2); - CollectionsMarshal.AsSpan(list382)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj241.Steps = list382; - reference294 = obj241; - ref QuestSequence reference295 = ref span161[1]; - QuestSequence obj242 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list383 = new List(num2); - CollectionsMarshal.SetCount(list383, num2); - Span span162 = CollectionsMarshal.AsSpan(list383); - span162[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(314.92435f, -78.61959f, -226.5322f), 613) - { - Fly = true, - RestartNavigationIfCancelled = false - }; - span162[1] = new QuestStep(EInteractionType.Interact, 1024307u, new Vector3(29.617676f, -86.167725f, -26.962769f), 613) - { - Fly = true - }; - obj242.Steps = list383; - reference295 = obj242; - ref QuestSequence reference296 = ref span161[2]; - QuestSequence obj243 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list384 = new List(num2); - CollectionsMarshal.SetCount(list384, num2); - Span span163 = CollectionsMarshal.AsSpan(list384); - span163[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(392.59683f, -119.589325f, -234.30063f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span163[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj243.Steps = list384; - reference296 = obj243; - questRoot35.QuestSequence = list381; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(2992); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list385 = new List(num); - CollectionsMarshal.SetCount(list385, num); - CollectionsMarshal.AsSpan(list385)[0] = "plogon_enjoyer"; - questRoot36.Author = list385; - num = 3; - List list386 = new List(num); - CollectionsMarshal.SetCount(list386, num); - Span span164 = CollectionsMarshal.AsSpan(list386); - ref QuestSequence reference297 = ref span164[0]; - QuestSequence obj244 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list387 = new List(num2); - CollectionsMarshal.SetCount(list387, num2); - CollectionsMarshal.AsSpan(list387)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj244.Steps = list387; - reference297 = obj244; - ref QuestSequence reference298 = ref span164[1]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 1 - }; - num2 = 7; - List list388 = new List(num2); - CollectionsMarshal.SetCount(list388, num2); - Span span165 = CollectionsMarshal.AsSpan(list388); - span165[0] = new QuestStep(EInteractionType.None, null, null, 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - ref QuestStep reference299 = ref span165[1]; - QuestStep obj246 = new QuestStep(EInteractionType.Interact, 2009114u, new Vector3(558.5259f, -0.015319824f, -516.92993f), 613) - { - Fly = true - }; - num3 = 6; - List> list389 = new List>(num3); - CollectionsMarshal.SetCount(list389, num3); - Span> span166 = CollectionsMarshal.AsSpan(list389); - span166[0] = null; - span166[1] = null; - span166[2] = null; - span166[3] = null; - ref List reference300 = ref span166[4]; - num4 = 2; - List list390 = new List(num4); - CollectionsMarshal.SetCount(list390, num4); - Span span167 = CollectionsMarshal.AsSpan(list390); - span167[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span167[1] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference300 = list390; - span166[5] = null; - obj246.RequiredQuestVariables = list389; - reference299 = obj246; - ref QuestStep reference301 = ref span165[2]; - QuestStep obj247 = new QuestStep(EInteractionType.Combat, 2009116u, new Vector3(558.5259f, -0.015319824f, -516.92993f), 613) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list391 = new List(num3); - CollectionsMarshal.SetCount(list391, num3); - CollectionsMarshal.AsSpan(list391)[0] = 8241u; - obj247.KillEnemyDataIds = list391; - num3 = 6; - List> list392 = new List>(num3); - CollectionsMarshal.SetCount(list392, num3); - Span> span168 = CollectionsMarshal.AsSpan(list392); - span168[0] = null; - span168[1] = null; - span168[2] = null; - span168[3] = null; - ref List reference302 = ref span168[4]; - num4 = 3; - List list393 = new List(num4); - CollectionsMarshal.SetCount(list393, num4); - Span span169 = CollectionsMarshal.AsSpan(list393); - span169[0] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - span169[1] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - span169[2] = new QuestWorkValue(0, (byte)5, EQuestWorkMode.Bitwise); - reference302 = list393; - span168[5] = null; - obj247.RequiredQuestVariables = list392; - reference301 = obj247; - ref QuestStep reference303 = ref span165[3]; - QuestStep obj248 = new QuestStep(EInteractionType.Interact, 2009113u, new Vector3(633.1731f, -0.015319824f, -497.79507f), 613) - { - Fly = true - }; - num3 = 6; - List> list394 = new List>(num3); - CollectionsMarshal.SetCount(list394, num3); - Span> span170 = CollectionsMarshal.AsSpan(list394); - span170[0] = null; - span170[1] = null; - span170[2] = null; - span170[3] = null; - ref List reference304 = ref span170[4]; - num4 = 2; - List list395 = new List(num4); - CollectionsMarshal.SetCount(list395, num4); - Span span171 = CollectionsMarshal.AsSpan(list395); - span171[0] = new QuestWorkValue((byte)1, (byte)2, EQuestWorkMode.Bitwise); - span171[1] = new QuestWorkValue((byte)1, (byte)4, EQuestWorkMode.Bitwise); - reference304 = list395; - span170[5] = null; - obj248.RequiredQuestVariables = list394; - reference303 = obj248; - ref QuestStep reference305 = ref span165[4]; - QuestStep obj249 = new QuestStep(EInteractionType.Combat, 2009111u, new Vector3(633.1731f, -0.015319824f, -497.79507f), 613) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list396 = new List(num3); - CollectionsMarshal.SetCount(list396, num3); - CollectionsMarshal.AsSpan(list396)[0] = 8241u; - obj249.KillEnemyDataIds = list396; - num3 = 6; - List> list397 = new List>(num3); - CollectionsMarshal.SetCount(list397, num3); - Span> span172 = CollectionsMarshal.AsSpan(list397); - span172[0] = null; - span172[1] = null; - span172[2] = null; - span172[3] = null; - ref List reference306 = ref span172[4]; - num4 = 3; - List list398 = new List(num4); - CollectionsMarshal.SetCount(list398, num4); - Span span173 = CollectionsMarshal.AsSpan(list398); - span173[0] = new QuestWorkValue((byte)1, (byte)1, EQuestWorkMode.Bitwise); - span173[1] = new QuestWorkValue((byte)1, (byte)3, EQuestWorkMode.Bitwise); - span173[2] = new QuestWorkValue((byte)1, (byte)5, EQuestWorkMode.Bitwise); - reference306 = list398; - span172[5] = null; - obj249.RequiredQuestVariables = list397; - reference305 = obj249; - ref QuestStep reference307 = ref span165[5]; - QuestStep obj250 = new QuestStep(EInteractionType.Interact, 2009110u, new Vector3(694.08704f, -0.015319824f, -611.017f), 613) - { - Fly = true - }; - num3 = 6; - List> list399 = new List>(num3); - CollectionsMarshal.SetCount(list399, num3); - Span> span174 = CollectionsMarshal.AsSpan(list399); - span174[0] = null; - span174[1] = null; - span174[2] = null; - span174[3] = null; - ref List reference308 = ref span174[4]; - num4 = 3; - List list400 = new List(num4); - CollectionsMarshal.SetCount(list400, num4); - Span span175 = CollectionsMarshal.AsSpan(list400); - span175[0] = new QuestWorkValue((byte)2, (byte)1, EQuestWorkMode.Bitwise); - span175[1] = new QuestWorkValue((byte)2, (byte)4, EQuestWorkMode.Bitwise); - span175[2] = new QuestWorkValue((byte)2, (byte)5, EQuestWorkMode.Bitwise); - reference308 = list400; - span174[5] = null; - obj250.RequiredQuestVariables = list399; - reference307 = obj250; - ref QuestStep reference309 = ref span165[6]; - QuestStep obj251 = new QuestStep(EInteractionType.Combat, 2009117u, new Vector3(694.08704f, -0.015319824f, -611.017f), 613) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list401 = new List(num3); - CollectionsMarshal.SetCount(list401, num3); - CollectionsMarshal.AsSpan(list401)[0] = 8241u; - obj251.KillEnemyDataIds = list401; - num3 = 6; - List> list402 = new List>(num3); - CollectionsMarshal.SetCount(list402, num3); - Span> span176 = CollectionsMarshal.AsSpan(list402); - span176[0] = null; - span176[1] = null; - span176[2] = null; - span176[3] = null; - ref List reference310 = ref span176[4]; - num4 = 2; - List list403 = new List(num4); - CollectionsMarshal.SetCount(list403, num4); - Span span177 = CollectionsMarshal.AsSpan(list403); - span177[0] = new QuestWorkValue((byte)2, (byte)2, EQuestWorkMode.Bitwise); - span177[1] = new QuestWorkValue((byte)2, (byte)3, EQuestWorkMode.Bitwise); - reference310 = list403; - span176[5] = null; - obj251.RequiredQuestVariables = list402; - reference309 = obj251; - obj245.Steps = list388; - reference298 = obj245; - ref QuestSequence reference311 = ref span164[2]; - QuestSequence obj252 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list404 = new List(num2); - CollectionsMarshal.SetCount(list404, num2); - Span span178 = CollectionsMarshal.AsSpan(list404); - span178[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(392.59683f, -119.589325f, -234.30063f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span178[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj252.Steps = list404; - reference311 = obj252; - questRoot36.QuestSequence = list386; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(2993); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list405 = new List(num); - CollectionsMarshal.SetCount(list405, num); - CollectionsMarshal.AsSpan(list405)[0] = "plogon_enjoyer"; - questRoot37.Author = list405; - num = 3; - List list406 = new List(num); - CollectionsMarshal.SetCount(list406, num); - Span span179 = CollectionsMarshal.AsSpan(list406); - ref QuestSequence reference312 = ref span179[0]; - QuestSequence obj253 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list407 = new List(num2); - CollectionsMarshal.SetCount(list407, num2); - CollectionsMarshal.AsSpan(list407)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj253.Steps = list407; - reference312 = obj253; - ref QuestSequence reference313 = ref span179[1]; - QuestSequence obj254 = new QuestSequence - { - Sequence = 1 - }; - num2 = 7; - List list408 = new List(num2); - CollectionsMarshal.SetCount(list408, num2); - Span span180 = CollectionsMarshal.AsSpan(list408); - span180[0] = new QuestStep(EInteractionType.None, null, null, 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - ref QuestStep reference314 = ref span180[1]; - QuestStep obj255 = new QuestStep(EInteractionType.Interact, 1024310u, new Vector3(-795.0103f, 21.373795f, -466.20892f), 613) - { - Fly = true - }; - num3 = 6; - List> list409 = new List>(num3); - CollectionsMarshal.SetCount(list409, num3); - Span> span181 = CollectionsMarshal.AsSpan(list409); - span181[0] = null; - span181[1] = null; - span181[2] = null; - span181[3] = null; - ref List reference315 = ref span181[4]; - num4 = 1; - List list410 = new List(num4); - CollectionsMarshal.SetCount(list410, num4); - CollectionsMarshal.AsSpan(list410)[0] = new QuestWorkValue((byte)1, (byte)1, EQuestWorkMode.Bitwise); - reference315 = list410; - span181[5] = null; - obj255.RequiredQuestVariables = list409; - reference314 = obj255; - ref QuestStep reference316 = ref span180[2]; - QuestStep obj256 = new QuestStep(EInteractionType.Interact, 1024311u, new Vector3(-750.39294f, 1.6679686f, -479.33167f), 613) - { - Fly = true - }; - num3 = 6; - List> list411 = new List>(num3); - CollectionsMarshal.SetCount(list411, num3); - Span> span182 = CollectionsMarshal.AsSpan(list411); - span182[0] = null; - span182[1] = null; - span182[2] = null; - span182[3] = null; - ref List reference317 = ref span182[4]; - num4 = 3; - List list412 = new List(num4); - CollectionsMarshal.SetCount(list412, num4); - Span span183 = CollectionsMarshal.AsSpan(list412); - span183[0] = new QuestWorkValue((byte)1, (byte)2, EQuestWorkMode.Bitwise); - span183[1] = new QuestWorkValue((byte)2, (byte)1, EQuestWorkMode.Bitwise); - span183[2] = new QuestWorkValue((byte)2, (byte)2, EQuestWorkMode.Bitwise); - reference317 = list412; - span182[5] = null; - obj256.RequiredQuestVariables = list411; - reference316 = obj256; - ref QuestStep reference318 = ref span180[3]; - QuestStep obj257 = new QuestStep(EInteractionType.Interact, 1024312u, new Vector3(-792.08057f, 8.039127f, -444.419f), 613) - { - Fly = true - }; - num3 = 6; - List> list413 = new List>(num3); - CollectionsMarshal.SetCount(list413, num3); - Span> span184 = CollectionsMarshal.AsSpan(list413); - span184[0] = null; - span184[1] = null; - span184[2] = null; - span184[3] = null; - ref List reference319 = ref span184[4]; - num4 = 2; - List list414 = new List(num4); - CollectionsMarshal.SetCount(list414, num4); - Span span185 = CollectionsMarshal.AsSpan(list414); - span185[0] = new QuestWorkValue((byte)1, (byte)1, EQuestWorkMode.Bitwise); - span185[1] = new QuestWorkValue((byte)1, (byte)2, EQuestWorkMode.Bitwise); - reference319 = list414; - span184[5] = null; - obj257.RequiredQuestVariables = list413; - reference318 = obj257; - ref QuestStep reference320 = ref span180[4]; - QuestStep obj258 = new QuestStep(EInteractionType.Interact, 1024313u, new Vector3(-764.12604f, 4.763445f, -441.51984f), 613) - { - Fly = true - }; - num3 = 6; - List> list415 = new List>(num3); - CollectionsMarshal.SetCount(list415, num3); - Span> span186 = CollectionsMarshal.AsSpan(list415); - span186[0] = null; - span186[1] = null; - span186[2] = null; - span186[3] = null; - ref List reference321 = ref span186[4]; - num4 = 2; - List list416 = new List(num4); - CollectionsMarshal.SetCount(list416, num4); - Span span187 = CollectionsMarshal.AsSpan(list416); - span187[0] = new QuestWorkValue((byte)2, (byte)1, EQuestWorkMode.Bitwise); - span187[1] = new QuestWorkValue((byte)2, (byte)2, EQuestWorkMode.Bitwise); - reference321 = list416; - span186[5] = null; - obj258.RequiredQuestVariables = list415; - reference320 = obj258; - ref QuestStep reference322 = ref span180[5]; - QuestStep obj259 = new QuestStep(EInteractionType.Interact, 1024314u, new Vector3(-784.48157f, 7.7091823f, -456.9925f), 613) - { - Fly = true - }; - num3 = 6; - List> list417 = new List>(num3); - CollectionsMarshal.SetCount(list417, num3); - Span> span188 = CollectionsMarshal.AsSpan(list417); - span188[0] = null; - span188[1] = null; - span188[2] = null; - span188[3] = null; - ref List reference323 = ref span188[4]; - num4 = 2; - List list418 = new List(num4); - CollectionsMarshal.SetCount(list418, num4); - Span span189 = CollectionsMarshal.AsSpan(list418); - span189[0] = new QuestWorkValue((byte)1, (byte)1, EQuestWorkMode.Bitwise); - span189[1] = new QuestWorkValue((byte)2, (byte)1, EQuestWorkMode.Bitwise); - reference323 = list418; - span188[5] = null; - obj259.RequiredQuestVariables = list417; - reference322 = obj259; - ref QuestStep reference324 = ref span180[6]; - QuestStep obj260 = new QuestStep(EInteractionType.Interact, 1024315u, new Vector3(-797.4823f, 8.045045f, -417.56317f), 613) - { - Fly = true - }; - num3 = 6; - List> list419 = new List>(num3); - CollectionsMarshal.SetCount(list419, num3); - Span> span190 = CollectionsMarshal.AsSpan(list419); - span190[0] = null; - span190[1] = null; - span190[2] = null; - span190[3] = null; - ref List reference325 = ref span190[4]; - num4 = 2; - List list420 = new List(num4); - CollectionsMarshal.SetCount(list420, num4); - Span span191 = CollectionsMarshal.AsSpan(list420); - span191[0] = new QuestWorkValue((byte)1, (byte)2, EQuestWorkMode.Bitwise); - span191[1] = new QuestWorkValue((byte)2, (byte)2, EQuestWorkMode.Bitwise); - reference325 = list420; - span190[5] = null; - obj260.RequiredQuestVariables = list419; - reference324 = obj260; - obj254.Steps = list408; - reference313 = obj254; - ref QuestSequence reference326 = ref span179[2]; - QuestSequence obj261 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list421 = new List(num2); - CollectionsMarshal.SetCount(list421, num2); - Span span192 = CollectionsMarshal.AsSpan(list421); - span192[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(392.59683f, -119.589325f, -234.30063f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span192[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj261.Steps = list421; - reference326 = obj261; - questRoot37.QuestSequence = list406; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(2994); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list422 = new List(num); - CollectionsMarshal.SetCount(list422, num); - CollectionsMarshal.AsSpan(list422)[0] = "plogon_enjoyer"; - questRoot38.Author = list422; - num = 3; - List list423 = new List(num); - CollectionsMarshal.SetCount(list423, num); - Span span193 = CollectionsMarshal.AsSpan(list423); - ref QuestSequence reference327 = ref span193[0]; - QuestSequence obj262 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list424 = new List(num2); - CollectionsMarshal.SetCount(list424, num2); - CollectionsMarshal.AsSpan(list424)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj262.Steps = list424; - reference327 = obj262; - ref QuestSequence reference328 = ref span193[1]; - QuestSequence obj263 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list425 = new List(num2); - CollectionsMarshal.SetCount(list425, num2); - Span span194 = CollectionsMarshal.AsSpan(list425); - span194[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(318.03552f, -82.86303f, -227.4517f), 613) - { - Fly = true, - RestartNavigationIfCancelled = false - }; - ref QuestStep reference329 = ref span194[1]; - QuestStep obj264 = new QuestStep(EInteractionType.Interact, 2009119u, new Vector3(-229.26678f, -308.73578f, 449.485f), 613) - { - Fly = true - }; - num3 = 6; - List> list426 = new List>(num3); - CollectionsMarshal.SetCount(list426, num3); - Span> span195 = CollectionsMarshal.AsSpan(list426); - span195[0] = null; - ref List reference330 = ref span195[1]; - num4 = 1; - List list427 = new List(num4); - CollectionsMarshal.SetCount(list427, num4); - CollectionsMarshal.AsSpan(list427)[0] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - reference330 = list427; - span195[2] = null; - span195[3] = null; - span195[4] = null; - span195[5] = null; - obj264.RequiredQuestVariables = list426; - reference329 = obj264; - ref QuestStep reference331 = ref span194[2]; - QuestStep obj265 = new QuestStep(EInteractionType.Interact, 2009120u, new Vector3(-233.9361f, -411.3985f, 372.8236f), 613) - { - Fly = true - }; - num3 = 6; - List> list428 = new List>(num3); - CollectionsMarshal.SetCount(list428, num3); - Span> span196 = CollectionsMarshal.AsSpan(list428); - span196[0] = null; - ref List reference332 = ref span196[1]; - num4 = 1; - List list429 = new List(num4); - CollectionsMarshal.SetCount(list429, num4); - CollectionsMarshal.AsSpan(list429)[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference332 = list429; - span196[2] = null; - span196[3] = null; - span196[4] = null; - span196[5] = null; - obj265.RequiredQuestVariables = list428; - reference331 = obj265; - ref QuestStep reference333 = ref span194[3]; - QuestStep obj266 = new QuestStep(EInteractionType.Interact, 2009121u, new Vector3(-279.62158f, -366.81165f, 408.68237f), 613) - { - Fly = true - }; - num3 = 6; - List> list430 = new List>(num3); - CollectionsMarshal.SetCount(list430, num3); - Span> span197 = CollectionsMarshal.AsSpan(list430); - span197[0] = null; - ref List reference334 = ref span197[1]; - num4 = 2; - List list431 = new List(num4); - CollectionsMarshal.SetCount(list431, num4); - Span span198 = CollectionsMarshal.AsSpan(list431); - span198[0] = new QuestWorkValue((byte)1, (byte)2, EQuestWorkMode.Bitwise); - span198[1] = new QuestWorkValue((byte)1, (byte)3, EQuestWorkMode.Bitwise); - reference334 = list431; - span197[2] = null; - span197[3] = null; - span197[4] = null; - span197[5] = null; - obj266.RequiredQuestVariables = list430; - reference333 = obj266; - ref QuestStep reference335 = ref span194[4]; - QuestStep obj267 = new QuestStep(EInteractionType.Interact, 2009122u, new Vector3(-286.09143f, -367.422f, 390.2494f), 613) - { - Fly = true - }; - num3 = 6; - List> list432 = new List>(num3); - CollectionsMarshal.SetCount(list432, num3); - Span> span199 = CollectionsMarshal.AsSpan(list432); - span199[0] = null; - ref List reference336 = ref span199[1]; - num4 = 1; - List list433 = new List(num4); - CollectionsMarshal.SetCount(list433, num4); - CollectionsMarshal.AsSpan(list433)[0] = new QuestWorkValue((byte)2, (byte)2, EQuestWorkMode.Bitwise); - reference336 = list433; - span199[2] = null; - span199[3] = null; - span199[4] = null; - span199[5] = null; - obj267.RequiredQuestVariables = list432; - reference335 = obj267; - ref QuestStep reference337 = ref span194[5]; - QuestStep obj268 = new QuestStep(EInteractionType.Interact, 2009123u, new Vector3(-249.59192f, -325.948f, 472.70923f), 613) - { - Fly = true - }; - num3 = 6; - List> list434 = new List>(num3); - CollectionsMarshal.SetCount(list434, num3); - Span> span200 = CollectionsMarshal.AsSpan(list434); - span200[0] = null; - ref List reference338 = ref span200[1]; - num4 = 1; - List list435 = new List(num4); - CollectionsMarshal.SetCount(list435, num4); - CollectionsMarshal.AsSpan(list435)[0] = new QuestWorkValue((byte)2, (byte)3, EQuestWorkMode.Bitwise); - reference338 = list435; - span200[2] = null; - span200[3] = null; - span200[4] = null; - span200[5] = null; - obj268.RequiredQuestVariables = list434; - reference337 = obj268; - obj263.Steps = list425; - reference328 = obj263; - ref QuestSequence reference339 = ref span193[2]; - QuestSequence obj269 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list436 = new List(num2); - CollectionsMarshal.SetCount(list436, num2); - Span span201 = CollectionsMarshal.AsSpan(list436); - span201[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(391.50903f, -119.58932f, -236.18898f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span201[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj269.Steps = list436; - reference339 = obj269; - questRoot38.QuestSequence = list423; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(2995); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list437 = new List(num); - CollectionsMarshal.SetCount(list437, num); - CollectionsMarshal.AsSpan(list437)[0] = "plogon_enjoyer"; - questRoot39.Author = list437; - num = 5; - List list438 = new List(num); - CollectionsMarshal.SetCount(list438, num); - Span span202 = CollectionsMarshal.AsSpan(list438); - ref QuestSequence reference340 = ref span202[0]; - QuestSequence obj270 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list439 = new List(num2); - CollectionsMarshal.SetCount(list439, num2); - CollectionsMarshal.AsSpan(list439)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj270.Steps = list439; - reference340 = obj270; - ref QuestSequence reference341 = ref span202[1]; - QuestSequence obj271 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list440 = new List(num2); - CollectionsMarshal.SetCount(list440, num2); - CollectionsMarshal.AsSpan(list440)[0] = new QuestStep(EInteractionType.Interact, 1024316u, new Vector3(714.9614f, -0.3f, 140.3982f), 613) - { - Fly = true - }; - obj271.Steps = list440; - reference341 = obj271; - ref QuestSequence reference342 = ref span202[2]; - QuestSequence obj272 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list441 = new List(num2); - CollectionsMarshal.SetCount(list441, num2); - Span span203 = CollectionsMarshal.AsSpan(list441); - ref QuestStep reference343 = ref span203[0]; - QuestStep obj273 = new QuestStep(EInteractionType.UseItem, 2009124u, new Vector3(753.56665f, 0.41192627f, 121.72119f), 613) - { - Fly = true, - ItemId = 2002414u - }; - num3 = 6; - List> list442 = new List>(num3); - CollectionsMarshal.SetCount(list442, num3); - Span> span204 = CollectionsMarshal.AsSpan(list442); - span204[0] = null; - span204[1] = null; - span204[2] = null; - ref List reference344 = ref span204[3]; - num4 = 3; - List list443 = new List(num4); - CollectionsMarshal.SetCount(list443, num4); - Span span205 = CollectionsMarshal.AsSpan(list443); - span205[0] = new QuestWorkValue((byte)1, (byte)1, EQuestWorkMode.Bitwise); - span205[1] = new QuestWorkValue((byte)1, (byte)3, EQuestWorkMode.Bitwise); - span205[2] = new QuestWorkValue((byte)1, (byte)4, EQuestWorkMode.Bitwise); - reference344 = list443; - span204[4] = null; - span204[5] = null; - obj273.RequiredQuestVariables = list442; - reference343 = obj273; - ref QuestStep reference345 = ref span203[1]; - QuestStep obj274 = new QuestStep(EInteractionType.UseItem, 2009126u, new Vector3(745.41846f, 0.16778564f, 95.750244f), 613) - { - Fly = true, - ItemId = 2002414u - }; - num3 = 6; - List> list444 = new List>(num3); - CollectionsMarshal.SetCount(list444, num3); - Span> span206 = CollectionsMarshal.AsSpan(list444); - span206[0] = null; - span206[1] = null; - span206[2] = null; - ref List reference346 = ref span206[3]; - num4 = 1; - List list445 = new List(num4); - CollectionsMarshal.SetCount(list445, num4); - CollectionsMarshal.AsSpan(list445)[0] = new QuestWorkValue((byte)1, (byte)3, EQuestWorkMode.Bitwise); - reference346 = list445; - span206[4] = null; - span206[5] = null; - obj274.RequiredQuestVariables = list444; - reference345 = obj274; - ref QuestStep reference347 = ref span203[2]; - QuestStep obj275 = new QuestStep(EInteractionType.UseItem, 2009127u, new Vector3(745.44885f, 0.16778564f, 95.78088f), 613) - { - Fly = true, - ItemId = 2002414u - }; - num3 = 6; - List> list446 = new List>(num3); - CollectionsMarshal.SetCount(list446, num3); - Span> span207 = CollectionsMarshal.AsSpan(list446); - span207[0] = null; - span207[1] = null; - span207[2] = null; - ref List reference348 = ref span207[3]; - num4 = 2; - List list447 = new List(num4); - CollectionsMarshal.SetCount(list447, num4); - Span span208 = CollectionsMarshal.AsSpan(list447); - span208[0] = new QuestWorkValue((byte)1, (byte)1, EQuestWorkMode.Bitwise); - span208[1] = new QuestWorkValue((byte)1, (byte)4, EQuestWorkMode.Bitwise); - reference348 = list447; - span207[4] = null; - span207[5] = null; - obj275.RequiredQuestVariables = list446; - reference347 = obj275; - ref QuestStep reference349 = ref span203[3]; - QuestStep obj276 = new QuestStep(EInteractionType.UseItem, 2009128u, new Vector3(777.1571f, 1.2054443f, 110.36853f), 613) - { - Fly = true, - ItemId = 2002414u - }; - num3 = 6; - List> list448 = new List>(num3); - CollectionsMarshal.SetCount(list448, num3); - Span> span209 = CollectionsMarshal.AsSpan(list448); - span209[0] = null; - span209[1] = null; - span209[2] = null; - ref List reference350 = ref span209[3]; - num4 = 2; - List list449 = new List(num4); - CollectionsMarshal.SetCount(list449, num4); - Span span210 = CollectionsMarshal.AsSpan(list449); - span210[0] = new QuestWorkValue((byte)1, (byte)1, EQuestWorkMode.Bitwise); - span210[1] = new QuestWorkValue((byte)1, (byte)3, EQuestWorkMode.Bitwise); - reference350 = list449; - span209[4] = null; - span209[5] = null; - obj276.RequiredQuestVariables = list448; - reference349 = obj276; - ref QuestStep reference351 = ref span203[4]; - QuestStep obj277 = new QuestStep(EInteractionType.UseItem, 2009227u, new Vector3(777.1876f, 1.2359009f, 110.36853f), 613) - { - Fly = true, - ItemId = 2002414u - }; - num3 = 6; - List> list450 = new List>(num3); - CollectionsMarshal.SetCount(list450, num3); - Span> span211 = CollectionsMarshal.AsSpan(list450); - span211[0] = null; - span211[1] = null; - span211[2] = null; - ref List reference352 = ref span211[3]; - num4 = 1; - List list451 = new List(num4); - CollectionsMarshal.SetCount(list451, num4); - CollectionsMarshal.AsSpan(list451)[0] = new QuestWorkValue((byte)1, (byte)4, EQuestWorkMode.Bitwise); - reference352 = list451; - span211[4] = null; - span211[5] = null; - obj277.RequiredQuestVariables = list450; - reference351 = obj277; - obj272.Steps = list441; - reference342 = obj272; - ref QuestSequence reference353 = ref span202[3]; - QuestSequence obj278 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list452 = new List(num2); - CollectionsMarshal.SetCount(list452, num2); - CollectionsMarshal.AsSpan(list452)[0] = new QuestStep(EInteractionType.Interact, 1024316u, new Vector3(714.9614f, -0.3f, 140.3982f), 613) - { - Fly = true - }; - obj278.Steps = list452; - reference353 = obj278; - ref QuestSequence reference354 = ref span202[4]; - QuestSequence obj279 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list453 = new List(num2); - CollectionsMarshal.SetCount(list453, num2); - Span span212 = CollectionsMarshal.AsSpan(list453); - span212[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(391.50903f, -119.58932f, -236.18898f), 613) - { - Fly = true - }; - span212[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj279.Steps = list453; - reference354 = obj279; - questRoot39.QuestSequence = list438; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(2996); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list454 = new List(num); - CollectionsMarshal.SetCount(list454, num); - CollectionsMarshal.AsSpan(list454)[0] = "plogon_enjoyer"; - questRoot40.Author = list454; - num = 3; - List list455 = new List(num); - CollectionsMarshal.SetCount(list455, num); - Span span213 = CollectionsMarshal.AsSpan(list455); - ref QuestSequence reference355 = ref span213[0]; - QuestSequence obj280 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list456 = new List(num2); - CollectionsMarshal.SetCount(list456, num2); - CollectionsMarshal.AsSpan(list456)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj280.Steps = list456; - reference355 = obj280; - ref QuestSequence reference356 = ref span213[1]; - QuestSequence obj281 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list457 = new List(num2); - CollectionsMarshal.SetCount(list457, num2); - Span span214 = CollectionsMarshal.AsSpan(list457); - ref QuestStep reference357 = ref span214[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2009129u, new Vector3(320.39355f, -0.07635498f, 2.7313232f), 613); - num3 = 6; - List> list458 = new List>(num3); - CollectionsMarshal.SetCount(list458, num3); - Span> span215 = CollectionsMarshal.AsSpan(list458); - span215[0] = null; - ref List reference358 = ref span215[1]; - num4 = 1; - List list459 = new List(num4); - CollectionsMarshal.SetCount(list459, num4); - CollectionsMarshal.AsSpan(list459)[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference358 = list459; - span215[2] = null; - span215[3] = null; - span215[4] = null; - span215[5] = null; - questStep3.RequiredQuestVariables = list458; - reference357 = questStep3; - ref QuestStep reference359 = ref span214[1]; - QuestStep obj282 = new QuestStep(EInteractionType.Interact, 2009130u, new Vector3(14.572327f, -0.07635498f, -352.86487f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - num3 = 6; - List> list460 = new List>(num3); - CollectionsMarshal.SetCount(list460, num3); - Span> span216 = CollectionsMarshal.AsSpan(list460); - span216[0] = null; - ref List reference360 = ref span216[1]; - num4 = 3; - List list461 = new List(num4); - CollectionsMarshal.SetCount(list461, num4); - Span span217 = CollectionsMarshal.AsSpan(list461); - span217[0] = new QuestWorkValue(0, (byte)6, EQuestWorkMode.Bitwise); - span217[1] = new QuestWorkValue(0, (byte)7, EQuestWorkMode.Bitwise); - span217[2] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - reference360 = list461; - span216[2] = null; - span216[3] = null; - span216[4] = null; - span216[5] = null; - obj282.RequiredQuestVariables = list460; - reference359 = obj282; - ref QuestStep reference361 = ref span214[2]; - QuestStep obj283 = new QuestStep(EInteractionType.Interact, 2009131u, new Vector3(90.13501f, -0.045776367f, 177.50818f), 613) - { - Fly = true - }; - num3 = 6; - List> list462 = new List>(num3); - CollectionsMarshal.SetCount(list462, num3); - Span> span218 = CollectionsMarshal.AsSpan(list462); - span218[0] = null; - ref List reference362 = ref span218[1]; - num4 = 2; - List list463 = new List(num4); - CollectionsMarshal.SetCount(list463, num4); - Span span219 = CollectionsMarshal.AsSpan(list463); - span219[0] = new QuestWorkValue((byte)1, (byte)2, EQuestWorkMode.Bitwise); - span219[1] = new QuestWorkValue((byte)1, (byte)6, EQuestWorkMode.Bitwise); - reference362 = list463; - span218[2] = null; - span218[3] = null; - span218[4] = null; - span218[5] = null; - obj283.RequiredQuestVariables = list462; - reference361 = obj283; - ref QuestStep reference363 = ref span214[3]; - QuestStep obj284 = new QuestStep(EInteractionType.Interact, 2009132u, new Vector3(-48.69159f, -0.045776367f, -312.1844f), 613) - { - Fly = true - }; - num3 = 6; - List> list464 = new List>(num3); - CollectionsMarshal.SetCount(list464, num3); - Span> span220 = CollectionsMarshal.AsSpan(list464); - span220[0] = null; - ref List reference364 = ref span220[1]; - num4 = 2; - List list465 = new List(num4); - CollectionsMarshal.SetCount(list465, num4); - Span span221 = CollectionsMarshal.AsSpan(list465); - span221[0] = new QuestWorkValue((byte)1, (byte)7, EQuestWorkMode.Bitwise); - span221[1] = new QuestWorkValue((byte)1, (byte)8, EQuestWorkMode.Bitwise); - reference364 = list465; - span220[2] = null; - span220[3] = null; - span220[4] = null; - span220[5] = null; - obj284.RequiredQuestVariables = list464; - reference363 = obj284; - ref QuestStep reference365 = ref span214[4]; - QuestStep obj285 = new QuestStep(EInteractionType.Interact, 2009133u, new Vector3(23.941406f, -0.19836426f, 192.70618f), 613) - { - Fly = true - }; - num3 = 6; - List> list466 = new List>(num3); - CollectionsMarshal.SetCount(list466, num3); - Span> span222 = CollectionsMarshal.AsSpan(list466); - span222[0] = null; - ref List reference366 = ref span222[1]; - num4 = 1; - List list467 = new List(num4); - CollectionsMarshal.SetCount(list467, num4); - CollectionsMarshal.AsSpan(list467)[0] = new QuestWorkValue((byte)2, (byte)7, EQuestWorkMode.Bitwise); - reference366 = list467; - span222[2] = null; - span222[3] = null; - span222[4] = null; - span222[5] = null; - obj285.RequiredQuestVariables = list466; - reference365 = obj285; - ref QuestStep reference367 = ref span214[5]; - QuestStep obj286 = new QuestStep(EInteractionType.Interact, 2009134u, new Vector3(284.99268f, -0.19836426f, -28.000305f), 613) - { - Fly = true - }; - num3 = 6; - List> list468 = new List>(num3); - CollectionsMarshal.SetCount(list468, num3); - Span> span223 = CollectionsMarshal.AsSpan(list468); - span223[0] = null; - ref List reference368 = ref span223[1]; - num4 = 3; - List list469 = new List(num4); - CollectionsMarshal.SetCount(list469, num4); - Span span224 = CollectionsMarshal.AsSpan(list469); - span224[0] = new QuestWorkValue((byte)2, (byte)2, EQuestWorkMode.Bitwise); - span224[1] = new QuestWorkValue((byte)2, (byte)6, EQuestWorkMode.Bitwise); - span224[2] = new QuestWorkValue((byte)2, (byte)8, EQuestWorkMode.Bitwise); - reference368 = list469; - span223[2] = null; - span223[3] = null; - span223[4] = null; - span223[5] = null; - obj286.RequiredQuestVariables = list468; - reference367 = obj286; - obj281.Steps = list457; - reference356 = obj281; - ref QuestSequence reference369 = ref span213[2]; - QuestSequence obj287 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list470 = new List(num2); - CollectionsMarshal.SetCount(list470, num2); - Span span225 = CollectionsMarshal.AsSpan(list470); - span225[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(391.50903f, -119.58932f, -236.18898f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span225[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj287.Steps = list470; - reference369 = obj287; - questRoot40.QuestSequence = list455; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(2997); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list471 = new List(num); - CollectionsMarshal.SetCount(list471, num); - CollectionsMarshal.AsSpan(list471)[0] = "Theo"; - questRoot41.Author = list471; - num = 3; - List list472 = new List(num); - CollectionsMarshal.SetCount(list472, num); - Span span226 = CollectionsMarshal.AsSpan(list472); - ref QuestSequence reference370 = ref span226[0]; - QuestSequence obj288 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list473 = new List(num2); - CollectionsMarshal.SetCount(list473, num2); - CollectionsMarshal.AsSpan(list473)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj288.Steps = list473; - reference370 = obj288; - ref QuestSequence reference371 = ref span226[1]; - QuestSequence obj289 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list474 = new List(num2); - CollectionsMarshal.SetCount(list474, num2); - Span span227 = CollectionsMarshal.AsSpan(list474); - span227[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(318.06195f, -83.027016f, -226.5931f), 613) - { - Fly = true, - RestartNavigationIfCancelled = false - }; - ref QuestStep reference372 = ref span227[1]; - QuestStep obj290 = new QuestStep(EInteractionType.Interact, 2009135u, new Vector3(-77.74481f, -180.6211f, 33.157837f), 613) - { - Fly = true - }; - num3 = 6; - List> list475 = new List>(num3); - CollectionsMarshal.SetCount(list475, num3); - Span> span228 = CollectionsMarshal.AsSpan(list475); - span228[0] = null; - span228[1] = null; - span228[2] = null; - ref List reference373 = ref span228[3]; - num4 = 1; - List list476 = new List(num4); - CollectionsMarshal.SetCount(list476, num4); - CollectionsMarshal.AsSpan(list476)[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - reference373 = list476; - span228[4] = null; - span228[5] = null; - obj290.RequiredQuestVariables = list475; - reference372 = obj290; - ref QuestStep reference374 = ref span227[2]; - QuestStep obj291 = new QuestStep(EInteractionType.Interact, 2009136u, new Vector3(-150.10309f, -167.01001f, 87.60205f), 613) - { - Fly = true - }; - num3 = 6; - List> list477 = new List>(num3); - CollectionsMarshal.SetCount(list477, num3); - Span> span229 = CollectionsMarshal.AsSpan(list477); - span229[0] = null; - span229[1] = null; - span229[2] = null; - ref List reference375 = ref span229[3]; - num4 = 1; - List list478 = new List(num4); - CollectionsMarshal.SetCount(list478, num4); - CollectionsMarshal.AsSpan(list478)[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - reference375 = list478; - span229[4] = null; - span229[5] = null; - obj291.RequiredQuestVariables = list477; - reference374 = obj291; - ref QuestStep reference376 = ref span227[3]; - QuestStep obj292 = new QuestStep(EInteractionType.Interact, 2009137u, new Vector3(-141.68011f, -149.34009f, -214.64868f), 613) - { - Fly = true - }; - num3 = 6; - List> list479 = new List>(num3); - CollectionsMarshal.SetCount(list479, num3); - Span> span230 = CollectionsMarshal.AsSpan(list479); - span230[0] = null; - span230[1] = null; - span230[2] = null; - ref List reference377 = ref span230[3]; - num4 = 1; - List list480 = new List(num4); - CollectionsMarshal.SetCount(list480, num4); - CollectionsMarshal.AsSpan(list480)[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - reference377 = list480; - span230[4] = null; - span230[5] = null; - obj292.RequiredQuestVariables = list479; - reference376 = obj292; - ref QuestStep reference378 = ref span227[4]; - QuestStep obj293 = new QuestStep(EInteractionType.Interact, 2009139u, new Vector3(-131.7312f, -191.97375f, -6.1189575f), 613) - { - Fly = true - }; - num3 = 6; - List> list481 = new List>(num3); - CollectionsMarshal.SetCount(list481, num3); - Span> span231 = CollectionsMarshal.AsSpan(list481); - span231[0] = null; - span231[1] = null; - span231[2] = null; - ref List reference379 = ref span231[3]; - num4 = 1; - List list482 = new List(num4); - CollectionsMarshal.SetCount(list482, num4); - CollectionsMarshal.AsSpan(list482)[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - reference379 = list482; - span231[4] = null; - span231[5] = null; - obj293.RequiredQuestVariables = list481; - reference378 = obj293; - obj289.Steps = list474; - reference371 = obj289; - ref QuestSequence reference380 = ref span226[2]; - QuestSequence obj294 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list483 = new List(num2); - CollectionsMarshal.SetCount(list483, num2); - Span span232 = CollectionsMarshal.AsSpan(list483); - span232[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(391.50903f, -119.58932f, -236.18898f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span232[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj294.Steps = list483; - reference380 = obj294; - questRoot41.QuestSequence = list472; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(2998); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list484 = new List(num); - CollectionsMarshal.SetCount(list484, num); - CollectionsMarshal.AsSpan(list484)[0] = "plogon_enjoyer"; - questRoot42.Author = list484; - num = 4; - List list485 = new List(num); - CollectionsMarshal.SetCount(list485, num); - Span span233 = CollectionsMarshal.AsSpan(list485); - ref QuestSequence reference381 = ref span233[0]; - QuestSequence obj295 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list486 = new List(num2); - CollectionsMarshal.SetCount(list486, num2); - CollectionsMarshal.AsSpan(list486)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj295.Steps = list486; - reference381 = obj295; - ref QuestSequence reference382 = ref span233[1]; - QuestSequence obj296 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list487 = new List(num2); - CollectionsMarshal.SetCount(list487, num2); - Span span234 = CollectionsMarshal.AsSpan(list487); - span234[0] = new QuestStep(EInteractionType.None, null, null, 613) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyPrice - } - }; - ref QuestStep reference383 = ref span234[1]; - QuestStep obj297 = new QuestStep(EInteractionType.Combat, 2009100u, new Vector3(394.7661f, 16.983276f, 845.9448f), 613) - { - Fly = true, - ItemId = 2002419u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list488 = new List(num3); - CollectionsMarshal.SetCount(list488, num3); - CollectionsMarshal.AsSpan(list488)[0] = 8242u; - obj297.KillEnemyDataIds = list488; - num3 = 6; - List> list489 = new List>(num3); - CollectionsMarshal.SetCount(list489, num3); - Span> span235 = CollectionsMarshal.AsSpan(list489); - span235[0] = null; - span235[1] = null; - span235[2] = null; - span235[3] = null; - ref List reference384 = ref span235[4]; - num4 = 4; - List list490 = new List(num4); - CollectionsMarshal.SetCount(list490, num4); - Span span236 = CollectionsMarshal.AsSpan(list490); - span236[0] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - span236[1] = new QuestWorkValue((byte)5, 0, EQuestWorkMode.Bitwise); - span236[2] = new QuestWorkValue((byte)7, 0, EQuestWorkMode.Bitwise); - span236[3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - reference384 = list490; - span235[5] = null; - obj297.RequiredQuestVariables = list489; - reference383 = obj297; - ref QuestStep reference385 = ref span234[2]; - QuestStep obj298 = new QuestStep(EInteractionType.Combat, 2009101u, new Vector3(460.99023f, 0.56451416f, 889.494f), 613) - { - Fly = true, - ItemId = 2002419u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list491 = new List(num3); - CollectionsMarshal.SetCount(list491, num3); - CollectionsMarshal.AsSpan(list491)[0] = 8242u; - obj298.KillEnemyDataIds = list491; - num3 = 6; - List> list492 = new List>(num3); - CollectionsMarshal.SetCount(list492, num3); - Span> span237 = CollectionsMarshal.AsSpan(list492); - span237[0] = null; - span237[1] = null; - span237[2] = null; - span237[3] = null; - ref List reference386 = ref span237[4]; - num4 = 3; - List list493 = new List(num4); - CollectionsMarshal.SetCount(list493, num4); - Span span238 = CollectionsMarshal.AsSpan(list493); - span238[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span238[1] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span238[2] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - reference386 = list493; - span237[5] = null; - obj298.RequiredQuestVariables = list492; - reference385 = obj298; - ref QuestStep reference387 = ref span234[3]; - QuestStep obj299 = new QuestStep(EInteractionType.Combat, 2009142u, new Vector3(480.4607f, 3.829956f, 841.3672f), 613) - { - Fly = true, - ItemId = 2002419u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list494 = new List(num3); - CollectionsMarshal.SetCount(list494, num3); - CollectionsMarshal.AsSpan(list494)[0] = 8242u; - obj299.KillEnemyDataIds = list494; - num3 = 6; - List> list495 = new List>(num3); - CollectionsMarshal.SetCount(list495, num3); - Span> span239 = CollectionsMarshal.AsSpan(list495); - span239[0] = null; - span239[1] = null; - span239[2] = null; - span239[3] = null; - ref List reference388 = ref span239[4]; - num4 = 4; - List list496 = new List(num4); - CollectionsMarshal.SetCount(list496, num4); - Span span240 = CollectionsMarshal.AsSpan(list496); - span240[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span240[1] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span240[2] = new QuestWorkValue((byte)5, 0, EQuestWorkMode.Bitwise); - span240[3] = new QuestWorkValue((byte)6, 0, EQuestWorkMode.Bitwise); - reference388 = list496; - span239[5] = null; - obj299.RequiredQuestVariables = list495; - reference387 = obj299; - ref QuestStep reference389 = ref span234[4]; - QuestStep obj300 = new QuestStep(EInteractionType.Combat, 2009140u, new Vector3(543.1753f, -0.015319824f, 685.7251f), 613) - { - Fly = true, - ItemId = 2002419u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 2; - List list497 = new List(num3); - CollectionsMarshal.SetCount(list497, num3); - Span span241 = CollectionsMarshal.AsSpan(list497); - span241[0] = 8243u; - span241[1] = 8243u; - obj300.KillEnemyDataIds = list497; - num3 = 6; - List> list498 = new List>(num3); - CollectionsMarshal.SetCount(list498, num3); - Span> span242 = CollectionsMarshal.AsSpan(list498); - span242[0] = null; - span242[1] = null; - span242[2] = null; - span242[3] = null; - ref List reference390 = ref span242[4]; - num4 = 2; - List list499 = new List(num4); - CollectionsMarshal.SetCount(list499, num4); - Span span243 = CollectionsMarshal.AsSpan(list499); - span243[0] = new QuestWorkValue((byte)6, 0, EQuestWorkMode.Bitwise); - span243[1] = new QuestWorkValue((byte)7, 0, EQuestWorkMode.Bitwise); - reference390 = list499; - span242[5] = null; - obj300.RequiredQuestVariables = list498; - reference389 = obj300; - ref QuestStep reference391 = ref span234[5]; - QuestStep obj301 = new QuestStep(EInteractionType.Combat, 2009141u, new Vector3(352.1018f, -0.015319824f, 860.31885f), 613) - { - Fly = true, - ItemId = 2002419u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 2; - List list500 = new List(num3); - CollectionsMarshal.SetCount(list500, num3); - Span span244 = CollectionsMarshal.AsSpan(list500); - span244[0] = 8243u; - span244[1] = 8243u; - obj301.KillEnemyDataIds = list500; - num3 = 6; - List> list501 = new List>(num3); - CollectionsMarshal.SetCount(list501, num3); - Span> span245 = CollectionsMarshal.AsSpan(list501); - span245[0] = null; - span245[1] = null; - span245[2] = null; - span245[3] = null; - ref List reference392 = ref span245[4]; - num4 = 3; - List list502 = new List(num4); - CollectionsMarshal.SetCount(list502, num4); - Span span246 = CollectionsMarshal.AsSpan(list502); - span246[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span246[1] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - span246[2] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - reference392 = list502; - span245[5] = null; - obj301.RequiredQuestVariables = list501; - reference391 = obj301; - obj296.Steps = list487; - reference382 = obj296; - ref QuestSequence reference393 = ref span233[2]; - QuestSequence obj302 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list503 = new List(num2); - CollectionsMarshal.SetCount(list503, num2); - CollectionsMarshal.AsSpan(list503)[0] = new QuestStep(EInteractionType.Interact, 1024317u, new Vector3(823.3004f, 5.9230013f, 866.6361f), 613) - { - Fly = true - }; - obj302.Steps = list503; - reference393 = obj302; - ref QuestSequence reference394 = ref span233[3]; - QuestSequence obj303 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list504 = new List(num2); - CollectionsMarshal.SetCount(list504, num2); - Span span247 = CollectionsMarshal.AsSpan(list504); - span247[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(392.59683f, -119.589325f, -234.30063f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span247[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj303.Steps = list504; - reference394 = obj303; - questRoot42.QuestSequence = list485; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(2999); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list505 = new List(num); - CollectionsMarshal.SetCount(list505, num); - CollectionsMarshal.AsSpan(list505)[0] = "plogon_enjoyer"; - questRoot43.Author = list505; - num = 3; - List list506 = new List(num); - CollectionsMarshal.SetCount(list506, num); - Span span248 = CollectionsMarshal.AsSpan(list506); - ref QuestSequence reference395 = ref span248[0]; - QuestSequence obj304 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list507 = new List(num2); - CollectionsMarshal.SetCount(list507, num2); - CollectionsMarshal.AsSpan(list507)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj304.Steps = list507; - reference395 = obj304; - ref QuestSequence reference396 = ref span248[1]; - QuestSequence obj305 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list508 = new List(num2); - CollectionsMarshal.SetCount(list508, num2); - Span span249 = CollectionsMarshal.AsSpan(list508); - span249[0] = new QuestStep(EInteractionType.None, null, null, 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - span249[1] = new QuestStep(EInteractionType.UseItem, null, new Vector3(-848.8846f, 36.0507f, 300.73306f), 613) - { - Fly = true, - ItemId = 2002422u, - GroundTarget = true - }; - span249[2] = new QuestStep(EInteractionType.UseItem, null, new Vector3(-842.2923f, 36.053864f, 319.94763f), 613) - { - Fly = true, - ItemId = 2002422u, - GroundTarget = true - }; - span249[3] = new QuestStep(EInteractionType.UseItem, null, new Vector3(-873.57074f, 36.01944f, 318.8049f), 613) - { - Fly = true, - ItemId = 2002422u, - GroundTarget = true - }; - obj305.Steps = list508; - reference396 = obj305; - ref QuestSequence reference397 = ref span248[2]; - QuestSequence obj306 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list509 = new List(num2); - CollectionsMarshal.SetCount(list509, num2); - Span span250 = CollectionsMarshal.AsSpan(list509); - span250[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(391.50903f, -119.58932f, -236.18898f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span250[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj306.Steps = list509; - reference397 = obj306; - questRoot43.QuestSequence = list506; - AddQuest(questId43, questRoot43); - } - - private static void LoadQuests60() - { - QuestId questId = new QuestId(3000); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "plogon_enjoyer"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 10; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(317.37f, -83.39401f, -227.2903f), 613) - { - Fly = true, - RestartNavigationIfCancelled = false - }; - ref QuestStep reference3 = ref span2[1]; - QuestStep obj3 = new QuestStep(EInteractionType.Interact, 2009216u, new Vector3(-154.40613f, -179.3393f, 187.97583f), 613) - { - Fly = true - }; - int num3 = 6; - List> list5 = new List>(num3); - CollectionsMarshal.SetCount(list5, num3); - Span> span3 = CollectionsMarshal.AsSpan(list5); - span3[0] = null; - span3[1] = null; - ref List reference4 = ref span3[2]; - int num4 = 1; - List list6 = new List(num4); - CollectionsMarshal.SetCount(list6, num4); - CollectionsMarshal.AsSpan(list6)[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference4 = list6; - span3[3] = null; - span3[4] = null; - span3[5] = null; - obj3.RequiredQuestVariables = list5; - reference3 = obj3; - ref QuestStep reference5 = ref span2[2]; - QuestStep obj4 = new QuestStep(EInteractionType.Interact, 2009217u, new Vector3(-245.80762f, -194.50684f, 219.98926f), 613) - { - Fly = true - }; - num3 = 6; - List> list7 = new List>(num3); - CollectionsMarshal.SetCount(list7, num3); - Span> span4 = CollectionsMarshal.AsSpan(list7); - span4[0] = null; - span4[1] = null; - ref List reference6 = ref span4[2]; - num4 = 1; - List list8 = new List(num4); - CollectionsMarshal.SetCount(list8, num4); - CollectionsMarshal.AsSpan(list8)[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference6 = list8; - span4[3] = null; - span4[4] = null; - span4[5] = null; - obj4.RequiredQuestVariables = list7; - reference5 = obj4; - ref QuestStep reference7 = ref span2[3]; - QuestStep obj5 = new QuestStep(EInteractionType.Interact, 2009218u, new Vector3(-162.8291f, -192.52313f, 255.6344f), 613) - { - Fly = true - }; - num3 = 6; - List> list9 = new List>(num3); - CollectionsMarshal.SetCount(list9, num3); - Span> span5 = CollectionsMarshal.AsSpan(list9); - span5[0] = null; - span5[1] = null; - ref List reference8 = ref span5[2]; - num4 = 1; - List list10 = new List(num4); - CollectionsMarshal.SetCount(list10, num4); - CollectionsMarshal.AsSpan(list10)[0] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - reference8 = list10; - span5[3] = null; - span5[4] = null; - span5[5] = null; - obj5.RequiredQuestVariables = list9; - reference7 = obj5; - ref QuestStep reference9 = ref span2[4]; - QuestStep obj6 = new QuestStep(EInteractionType.Interact, 2009146u, new Vector3(-154.40613f, -179.3393f, 187.97583f), 613) - { - Fly = true - }; - num3 = 6; - List> list11 = new List>(num3); - CollectionsMarshal.SetCount(list11, num3); - Span> span6 = CollectionsMarshal.AsSpan(list11); - span6[0] = null; - span6[1] = null; - ref List reference10 = ref span6[2]; - num4 = 1; - List list12 = new List(num4); - CollectionsMarshal.SetCount(list12, num4); - CollectionsMarshal.AsSpan(list12)[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - reference10 = list12; - span6[3] = null; - span6[4] = null; - span6[5] = null; - obj6.RequiredQuestVariables = list11; - reference9 = obj6; - ref QuestStep reference11 = ref span2[5]; - QuestStep obj7 = new QuestStep(EInteractionType.Interact, 2009147u, new Vector3(-154.40613f, -179.3393f, 187.97583f), 613) - { - Fly = true - }; - num3 = 6; - List> list13 = new List>(num3); - CollectionsMarshal.SetCount(list13, num3); - Span> span7 = CollectionsMarshal.AsSpan(list13); - span7[0] = null; - span7[1] = null; - ref List reference12 = ref span7[2]; - num4 = 1; - List list14 = new List(num4); - CollectionsMarshal.SetCount(list14, num4); - CollectionsMarshal.AsSpan(list14)[0] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - reference12 = list14; - span7[3] = null; - span7[4] = null; - span7[5] = null; - obj7.RequiredQuestVariables = list13; - reference11 = obj7; - ref QuestStep reference13 = ref span2[6]; - QuestStep obj8 = new QuestStep(EInteractionType.Interact, 2009148u, new Vector3(-245.80762f, -194.50684f, 219.98926f), 613) - { - Fly = true - }; - num3 = 6; - List> list15 = new List>(num3); - CollectionsMarshal.SetCount(list15, num3); - Span> span8 = CollectionsMarshal.AsSpan(list15); - span8[0] = null; - span8[1] = null; - ref List reference14 = ref span8[2]; - num4 = 1; - List list16 = new List(num4); - CollectionsMarshal.SetCount(list16, num4); - CollectionsMarshal.AsSpan(list16)[0] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - reference14 = list16; - span8[3] = null; - span8[4] = null; - span8[5] = null; - obj8.RequiredQuestVariables = list15; - reference13 = obj8; - ref QuestStep reference15 = ref span2[7]; - QuestStep obj9 = new QuestStep(EInteractionType.Interact, 2009149u, new Vector3(-245.80762f, -194.50684f, 219.98926f), 613) - { - Fly = true - }; - num3 = 6; - List> list17 = new List>(num3); - CollectionsMarshal.SetCount(list17, num3); - Span> span9 = CollectionsMarshal.AsSpan(list17); - span9[0] = null; - span9[1] = null; - ref List reference16 = ref span9[2]; - num4 = 1; - List list18 = new List(num4); - CollectionsMarshal.SetCount(list18, num4); - CollectionsMarshal.AsSpan(list18)[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - reference16 = list18; - span9[3] = null; - span9[4] = null; - span9[5] = null; - obj9.RequiredQuestVariables = list17; - reference15 = obj9; - ref QuestStep reference17 = ref span2[8]; - QuestStep obj10 = new QuestStep(EInteractionType.Interact, 2009150u, new Vector3(-162.8291f, -192.52313f, 255.6344f), 613) - { - Fly = true - }; - num3 = 6; - List> list19 = new List>(num3); - CollectionsMarshal.SetCount(list19, num3); - Span> span10 = CollectionsMarshal.AsSpan(list19); - span10[0] = null; - span10[1] = null; - ref List reference18 = ref span10[2]; - num4 = 1; - List list20 = new List(num4); - CollectionsMarshal.SetCount(list20, num4); - CollectionsMarshal.AsSpan(list20)[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference18 = list20; - span10[3] = null; - span10[4] = null; - span10[5] = null; - obj10.RequiredQuestVariables = list19; - reference17 = obj10; - ref QuestStep reference19 = ref span2[9]; - QuestStep obj11 = new QuestStep(EInteractionType.Interact, 2009151u, new Vector3(-162.8291f, -192.52313f, 255.6344f), 613) - { - Fly = true - }; - num3 = 6; - List> list21 = new List>(num3); - CollectionsMarshal.SetCount(list21, num3); - Span> span11 = CollectionsMarshal.AsSpan(list21); - span11[0] = null; - span11[1] = null; - ref List reference20 = ref span11[2]; - num4 = 1; - List list22 = new List(num4); - CollectionsMarshal.SetCount(list22, num4); - CollectionsMarshal.AsSpan(list22)[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - reference20 = list22; - span11[3] = null; - span11[4] = null; - span11[5] = null; - obj11.RequiredQuestVariables = list21; - reference19 = obj11; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference21 = ref span[2]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - Span span12 = CollectionsMarshal.AsSpan(list23); - span12[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(392.55026f, -119.58932f, -234.19606f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span12[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj12.Steps = list23; - reference21 = obj12; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(3001); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - CollectionsMarshal.AsSpan(list24)[0] = "plogon_enjoyer"; - questRoot2.Author = list24; - num = 3; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - Span span13 = CollectionsMarshal.AsSpan(list25); - ref QuestSequence reference22 = ref span13[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj13.Steps = list26; - reference22 = obj13; - ref QuestSequence reference23 = ref span13[1]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 1 - }; - num2 = 7; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - Span span14 = CollectionsMarshal.AsSpan(list27); - span14[0] = new QuestStep(EInteractionType.None, null, null, 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - ref QuestStep reference24 = ref span14[1]; - QuestStep obj15 = new QuestStep(EInteractionType.Combat, null, new Vector3(-727.74854f, 4.2885633f, 188.58618f), 613) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - Span span15 = CollectionsMarshal.AsSpan(list28); - span15[0] = 8245u; - span15[1] = 8246u; - obj15.KillEnemyDataIds = list28; - num3 = 6; - List> list29 = new List>(num3); - CollectionsMarshal.SetCount(list29, num3); - Span> span16 = CollectionsMarshal.AsSpan(list29); - span16[0] = null; - span16[1] = null; - ref List reference25 = ref span16[2]; - num4 = 1; - List list30 = new List(num4); - CollectionsMarshal.SetCount(list30, num4); - CollectionsMarshal.AsSpan(list30)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference25 = list30; - span16[3] = null; - span16[4] = null; - span16[5] = null; - obj15.RequiredQuestVariables = list29; - reference24 = obj15; - ref QuestStep reference26 = ref span14[2]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1024320u, new Vector3(-727.74854f, 4.2885633f, 188.58618f), 613); - num3 = 6; - List> list31 = new List>(num3); - CollectionsMarshal.SetCount(list31, num3); - Span> span17 = CollectionsMarshal.AsSpan(list31); - span17[0] = null; - span17[1] = null; - ref List reference27 = ref span17[2]; - num4 = 1; - List list32 = new List(num4); - CollectionsMarshal.SetCount(list32, num4); - CollectionsMarshal.AsSpan(list32)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference27 = list32; - span17[3] = null; - span17[4] = null; - span17[5] = null; - questStep.RequiredQuestVariables = list31; - reference26 = questStep; - ref QuestStep reference28 = ref span14[3]; - QuestStep obj16 = new QuestStep(EInteractionType.Combat, null, new Vector3(-869.9321f, 36.052956f, 280.29297f), 613) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - Span span18 = CollectionsMarshal.AsSpan(list33); - span18[0] = 8247u; - span18[1] = 8248u; - span18[2] = 8249u; - obj16.KillEnemyDataIds = list33; - num3 = 6; - List> list34 = new List>(num3); - CollectionsMarshal.SetCount(list34, num3); - Span> span19 = CollectionsMarshal.AsSpan(list34); - span19[0] = null; - span19[1] = null; - ref List reference29 = ref span19[2]; - num4 = 1; - List list35 = new List(num4); - CollectionsMarshal.SetCount(list35, num4); - CollectionsMarshal.AsSpan(list35)[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference29 = list35; - span19[3] = null; - span19[4] = null; - span19[5] = null; - obj16.RequiredQuestVariables = list34; - reference28 = obj16; - ref QuestStep reference30 = ref span14[4]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1024322u, new Vector3(-869.9321f, 36.052956f, 280.29297f), 613); - num3 = 6; - List> list36 = new List>(num3); - CollectionsMarshal.SetCount(list36, num3); - Span> span20 = CollectionsMarshal.AsSpan(list36); - span20[0] = null; - span20[1] = null; - ref List reference31 = ref span20[2]; - num4 = 1; - List list37 = new List(num4); - CollectionsMarshal.SetCount(list37, num4); - CollectionsMarshal.AsSpan(list37)[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference31 = list37; - span20[3] = null; - span20[4] = null; - span20[5] = null; - questStep2.RequiredQuestVariables = list36; - reference30 = questStep2; - ref QuestStep reference32 = ref span14[5]; - QuestStep obj17 = new QuestStep(EInteractionType.Combat, null, new Vector3(-607.43207f, 7.033699f, 184.71848f), 613) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - Span span21 = CollectionsMarshal.AsSpan(list38); - span21[0] = 8244u; - span21[1] = 8246u; - obj17.KillEnemyDataIds = list38; - num3 = 6; - List> list39 = new List>(num3); - CollectionsMarshal.SetCount(list39, num3); - Span> span22 = CollectionsMarshal.AsSpan(list39); - span22[0] = null; - span22[1] = null; - ref List reference33 = ref span22[2]; - num4 = 1; - List list40 = new List(num4); - CollectionsMarshal.SetCount(list40, num4); - CollectionsMarshal.AsSpan(list40)[0] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - reference33 = list40; - span22[3] = null; - span22[4] = null; - span22[5] = null; - obj17.RequiredQuestVariables = list39; - reference32 = obj17; - ref QuestStep reference34 = ref span14[6]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1024318u, new Vector3(-607.7821f, 7.029549f, 184.83252f), 613); - num3 = 6; - List> list41 = new List>(num3); - CollectionsMarshal.SetCount(list41, num3); - Span> span23 = CollectionsMarshal.AsSpan(list41); - span23[0] = null; - span23[1] = null; - ref List reference35 = ref span23[2]; - num4 = 1; - List list42 = new List(num4); - CollectionsMarshal.SetCount(list42, num4); - CollectionsMarshal.AsSpan(list42)[0] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - reference35 = list42; - span23[3] = null; - span23[4] = null; - span23[5] = null; - questStep3.RequiredQuestVariables = list41; - reference34 = questStep3; - obj14.Steps = list27; - reference23 = obj14; - ref QuestSequence reference36 = ref span13[2]; - QuestSequence obj18 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - Span span24 = CollectionsMarshal.AsSpan(list43); - span24[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(392.55026f, -119.58932f, -234.19606f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span24[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj18.Steps = list43; - reference36 = obj18; - questRoot2.QuestSequence = list25; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(3002); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - CollectionsMarshal.AsSpan(list44)[0] = "pot0to"; - questRoot3.Author = list44; - num = 3; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - Span span25 = CollectionsMarshal.AsSpan(list45); - ref QuestSequence reference37 = ref span25[0]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj19.Steps = list46; - reference37 = obj19; - ref QuestSequence reference38 = ref span25[1]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - Span span26 = CollectionsMarshal.AsSpan(list47); - ref QuestStep reference39 = ref span26[0]; - QuestStep obj21 = new QuestStep(EInteractionType.Combat, 8250u, new Vector3(429.41656f, -0.5f, 506.90598f), 613) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - CollectionsMarshal.AsSpan(list48)[0] = 8250u; - obj21.KillEnemyDataIds = list48; - obj21.CombatItemUse = new CombatItemUse - { - ItemId = 2002424u, - Condition = ECombatItemUseCondition.Incapacitated - }; - num3 = 6; - List> list49 = new List>(num3); - CollectionsMarshal.SetCount(list49, num3); - Span> span27 = CollectionsMarshal.AsSpan(list49); - span27[0] = null; - span27[1] = null; - span27[2] = null; - ref List reference40 = ref span27[3]; - num4 = 18; - List list50 = new List(num4); - CollectionsMarshal.SetCount(list50, num4); - Span span28 = CollectionsMarshal.AsSpan(list50); - span28[0] = new QuestWorkValue((byte)1, (byte)1, EQuestWorkMode.Bitwise); - span28[1] = new QuestWorkValue((byte)1, (byte)2, EQuestWorkMode.Bitwise); - span28[2] = new QuestWorkValue((byte)1, (byte)5, EQuestWorkMode.Bitwise); - span28[3] = new QuestWorkValue((byte)1, (byte)7, EQuestWorkMode.Bitwise); - span28[4] = new QuestWorkValue((byte)1, (byte)8, EQuestWorkMode.Bitwise); - span28[5] = new QuestWorkValue((byte)1, (byte)10, EQuestWorkMode.Bitwise); - span28[6] = new QuestWorkValue((byte)2, (byte)1, EQuestWorkMode.Bitwise); - span28[7] = new QuestWorkValue((byte)2, (byte)2, EQuestWorkMode.Bitwise); - span28[8] = new QuestWorkValue((byte)2, (byte)5, EQuestWorkMode.Bitwise); - span28[9] = new QuestWorkValue((byte)2, (byte)7, EQuestWorkMode.Bitwise); - span28[10] = new QuestWorkValue((byte)2, (byte)8, EQuestWorkMode.Bitwise); - span28[11] = new QuestWorkValue((byte)2, (byte)10, EQuestWorkMode.Bitwise); - span28[12] = new QuestWorkValue((byte)3, (byte)1, EQuestWorkMode.Bitwise); - span28[13] = new QuestWorkValue((byte)3, (byte)2, EQuestWorkMode.Bitwise); - span28[14] = new QuestWorkValue((byte)3, (byte)5, EQuestWorkMode.Bitwise); - span28[15] = new QuestWorkValue((byte)3, (byte)7, EQuestWorkMode.Bitwise); - span28[16] = new QuestWorkValue((byte)3, (byte)8, EQuestWorkMode.Bitwise); - span28[17] = new QuestWorkValue((byte)3, (byte)10, EQuestWorkMode.Bitwise); - reference40 = list50; - span27[4] = null; - span27[5] = null; - obj21.RequiredQuestVariables = list49; - reference39 = obj21; - ref QuestStep reference41 = ref span26[1]; - QuestStep obj22 = new QuestStep(EInteractionType.Combat, 8250u, new Vector3(253.2539f, -0.5f, 479.6062f), 613) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list51 = new List(num3); - CollectionsMarshal.SetCount(list51, num3); - CollectionsMarshal.AsSpan(list51)[0] = 8250u; - obj22.KillEnemyDataIds = list51; - obj22.CombatItemUse = new CombatItemUse - { - ItemId = 2002424u, - Condition = ECombatItemUseCondition.Incapacitated - }; - num3 = 6; - List> list52 = new List>(num3); - CollectionsMarshal.SetCount(list52, num3); - Span> span29 = CollectionsMarshal.AsSpan(list52); - span29[0] = null; - span29[1] = null; - span29[2] = null; - ref List reference42 = ref span29[3]; - num4 = 18; - List list53 = new List(num4); - CollectionsMarshal.SetCount(list53, num4); - Span span30 = CollectionsMarshal.AsSpan(list53); - span30[0] = new QuestWorkValue((byte)1, (byte)1, EQuestWorkMode.Bitwise); - span30[1] = new QuestWorkValue((byte)1, (byte)3, EQuestWorkMode.Bitwise); - span30[2] = new QuestWorkValue((byte)1, (byte)6, EQuestWorkMode.Bitwise); - span30[3] = new QuestWorkValue((byte)1, (byte)8, EQuestWorkMode.Bitwise); - span30[4] = new QuestWorkValue((byte)1, (byte)9, EQuestWorkMode.Bitwise); - span30[5] = new QuestWorkValue((byte)1, (byte)10, EQuestWorkMode.Bitwise); - span30[6] = new QuestWorkValue((byte)2, (byte)1, EQuestWorkMode.Bitwise); - span30[7] = new QuestWorkValue((byte)2, (byte)3, EQuestWorkMode.Bitwise); - span30[8] = new QuestWorkValue((byte)2, (byte)6, EQuestWorkMode.Bitwise); - span30[9] = new QuestWorkValue((byte)2, (byte)8, EQuestWorkMode.Bitwise); - span30[10] = new QuestWorkValue((byte)2, (byte)9, EQuestWorkMode.Bitwise); - span30[11] = new QuestWorkValue((byte)2, (byte)10, EQuestWorkMode.Bitwise); - span30[12] = new QuestWorkValue((byte)3, (byte)1, EQuestWorkMode.Bitwise); - span30[13] = new QuestWorkValue((byte)3, (byte)3, EQuestWorkMode.Bitwise); - span30[14] = new QuestWorkValue((byte)3, (byte)6, EQuestWorkMode.Bitwise); - span30[15] = new QuestWorkValue((byte)3, (byte)8, EQuestWorkMode.Bitwise); - span30[16] = new QuestWorkValue((byte)3, (byte)9, EQuestWorkMode.Bitwise); - span30[17] = new QuestWorkValue((byte)3, (byte)10, EQuestWorkMode.Bitwise); - reference42 = list53; - span29[4] = null; - span29[5] = null; - obj22.RequiredQuestVariables = list52; - reference41 = obj22; - ref QuestStep reference43 = ref span26[2]; - QuestStep obj23 = new QuestStep(EInteractionType.Combat, 8250u, new Vector3(94.01074f, -0.5f, 491.844f), 613) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - CollectionsMarshal.AsSpan(list54)[0] = 8250u; - obj23.KillEnemyDataIds = list54; - obj23.CombatItemUse = new CombatItemUse - { - ItemId = 2002424u, - Condition = ECombatItemUseCondition.Incapacitated - }; - num3 = 6; - List> list55 = new List>(num3); - CollectionsMarshal.SetCount(list55, num3); - Span> span31 = CollectionsMarshal.AsSpan(list55); - span31[0] = null; - span31[1] = null; - span31[2] = null; - ref List reference44 = ref span31[3]; - num4 = 18; - List list56 = new List(num4); - CollectionsMarshal.SetCount(list56, num4); - Span span32 = CollectionsMarshal.AsSpan(list56); - span32[0] = new QuestWorkValue((byte)1, (byte)2, EQuestWorkMode.Bitwise); - span32[1] = new QuestWorkValue((byte)1, (byte)3, EQuestWorkMode.Bitwise); - span32[2] = new QuestWorkValue((byte)1, (byte)4, EQuestWorkMode.Bitwise); - span32[3] = new QuestWorkValue((byte)1, (byte)5, EQuestWorkMode.Bitwise); - span32[4] = new QuestWorkValue((byte)1, (byte)6, EQuestWorkMode.Bitwise); - span32[5] = new QuestWorkValue((byte)1, (byte)8, EQuestWorkMode.Bitwise); - span32[6] = new QuestWorkValue((byte)2, (byte)2, EQuestWorkMode.Bitwise); - span32[7] = new QuestWorkValue((byte)2, (byte)3, EQuestWorkMode.Bitwise); - span32[8] = new QuestWorkValue((byte)2, (byte)4, EQuestWorkMode.Bitwise); - span32[9] = new QuestWorkValue((byte)2, (byte)5, EQuestWorkMode.Bitwise); - span32[10] = new QuestWorkValue((byte)2, (byte)6, EQuestWorkMode.Bitwise); - span32[11] = new QuestWorkValue((byte)2, (byte)8, EQuestWorkMode.Bitwise); - span32[12] = new QuestWorkValue((byte)3, (byte)2, EQuestWorkMode.Bitwise); - span32[13] = new QuestWorkValue((byte)3, (byte)3, EQuestWorkMode.Bitwise); - span32[14] = new QuestWorkValue((byte)3, (byte)4, EQuestWorkMode.Bitwise); - span32[15] = new QuestWorkValue((byte)3, (byte)5, EQuestWorkMode.Bitwise); - span32[16] = new QuestWorkValue((byte)3, (byte)6, EQuestWorkMode.Bitwise); - span32[17] = new QuestWorkValue((byte)3, (byte)8, EQuestWorkMode.Bitwise); - reference44 = list56; - span31[4] = null; - span31[5] = null; - obj23.RequiredQuestVariables = list55; - reference43 = obj23; - ref QuestStep reference45 = ref span26[3]; - QuestStep obj24 = new QuestStep(EInteractionType.Combat, null, new Vector3(-192.0653f, -0.5f, 628.25964f), 613) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - CollectionsMarshal.AsSpan(list57)[0] = 8250u; - obj24.KillEnemyDataIds = list57; - obj24.CombatItemUse = new CombatItemUse - { - ItemId = 2002424u, - Condition = ECombatItemUseCondition.Incapacitated - }; - num3 = 6; - List> list58 = new List>(num3); - CollectionsMarshal.SetCount(list58, num3); - Span> span33 = CollectionsMarshal.AsSpan(list58); - span33[0] = null; - span33[1] = null; - span33[2] = null; - ref List reference46 = ref span33[3]; - num4 = 18; - List list59 = new List(num4); - CollectionsMarshal.SetCount(list59, num4); - Span span34 = CollectionsMarshal.AsSpan(list59); - span34[0] = new QuestWorkValue((byte)1, (byte)1, EQuestWorkMode.Bitwise); - span34[1] = new QuestWorkValue((byte)1, (byte)4, EQuestWorkMode.Bitwise); - span34[2] = new QuestWorkValue((byte)1, (byte)5, EQuestWorkMode.Bitwise); - span34[3] = new QuestWorkValue((byte)1, (byte)6, EQuestWorkMode.Bitwise); - span34[4] = new QuestWorkValue((byte)1, (byte)7, EQuestWorkMode.Bitwise); - span34[5] = new QuestWorkValue((byte)1, (byte)9, EQuestWorkMode.Bitwise); - span34[6] = new QuestWorkValue((byte)2, (byte)1, EQuestWorkMode.Bitwise); - span34[7] = new QuestWorkValue((byte)2, (byte)4, EQuestWorkMode.Bitwise); - span34[8] = new QuestWorkValue((byte)2, (byte)5, EQuestWorkMode.Bitwise); - span34[9] = new QuestWorkValue((byte)2, (byte)6, EQuestWorkMode.Bitwise); - span34[10] = new QuestWorkValue((byte)2, (byte)7, EQuestWorkMode.Bitwise); - span34[11] = new QuestWorkValue((byte)2, (byte)9, EQuestWorkMode.Bitwise); - span34[12] = new QuestWorkValue((byte)3, (byte)1, EQuestWorkMode.Bitwise); - span34[13] = new QuestWorkValue((byte)3, (byte)4, EQuestWorkMode.Bitwise); - span34[14] = new QuestWorkValue((byte)3, (byte)5, EQuestWorkMode.Bitwise); - span34[15] = new QuestWorkValue((byte)3, (byte)6, EQuestWorkMode.Bitwise); - span34[16] = new QuestWorkValue((byte)3, (byte)7, EQuestWorkMode.Bitwise); - span34[17] = new QuestWorkValue((byte)3, (byte)9, EQuestWorkMode.Bitwise); - reference46 = list59; - span33[4] = null; - span33[5] = null; - obj24.RequiredQuestVariables = list58; - reference45 = obj24; - ref QuestStep reference47 = ref span26[4]; - QuestStep obj25 = new QuestStep(EInteractionType.Combat, null, new Vector3(-370.41278f, -0.5f, 863.64526f), 613) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - CollectionsMarshal.AsSpan(list60)[0] = 8250u; - obj25.KillEnemyDataIds = list60; - obj25.CombatItemUse = new CombatItemUse - { - ItemId = 2002424u, - Condition = ECombatItemUseCondition.Incapacitated - }; - num3 = 6; - List> list61 = new List>(num3); - CollectionsMarshal.SetCount(list61, num3); - Span> span35 = CollectionsMarshal.AsSpan(list61); - span35[0] = null; - span35[1] = null; - span35[2] = null; - ref List reference48 = ref span35[3]; - num4 = 18; - List list62 = new List(num4); - CollectionsMarshal.SetCount(list62, num4); - Span span36 = CollectionsMarshal.AsSpan(list62); - span36[0] = new QuestWorkValue((byte)1, (byte)2, EQuestWorkMode.Bitwise); - span36[1] = new QuestWorkValue((byte)1, (byte)3, EQuestWorkMode.Bitwise); - span36[2] = new QuestWorkValue((byte)1, (byte)4, EQuestWorkMode.Bitwise); - span36[3] = new QuestWorkValue((byte)1, (byte)7, EQuestWorkMode.Bitwise); - span36[4] = new QuestWorkValue((byte)1, (byte)9, EQuestWorkMode.Bitwise); - span36[5] = new QuestWorkValue((byte)1, (byte)10, EQuestWorkMode.Bitwise); - span36[6] = new QuestWorkValue((byte)2, (byte)2, EQuestWorkMode.Bitwise); - span36[7] = new QuestWorkValue((byte)2, (byte)3, EQuestWorkMode.Bitwise); - span36[8] = new QuestWorkValue((byte)2, (byte)4, EQuestWorkMode.Bitwise); - span36[9] = new QuestWorkValue((byte)2, (byte)7, EQuestWorkMode.Bitwise); - span36[10] = new QuestWorkValue((byte)2, (byte)9, EQuestWorkMode.Bitwise); - span36[11] = new QuestWorkValue((byte)2, (byte)10, EQuestWorkMode.Bitwise); - span36[12] = new QuestWorkValue((byte)3, (byte)2, EQuestWorkMode.Bitwise); - span36[13] = new QuestWorkValue((byte)3, (byte)3, EQuestWorkMode.Bitwise); - span36[14] = new QuestWorkValue((byte)3, (byte)4, EQuestWorkMode.Bitwise); - span36[15] = new QuestWorkValue((byte)3, (byte)7, EQuestWorkMode.Bitwise); - span36[16] = new QuestWorkValue((byte)3, (byte)9, EQuestWorkMode.Bitwise); - span36[17] = new QuestWorkValue((byte)3, (byte)10, EQuestWorkMode.Bitwise); - reference48 = list62; - span35[4] = null; - span35[5] = null; - obj25.RequiredQuestVariables = list61; - reference47 = obj25; - obj20.Steps = list47; - reference38 = obj20; - ref QuestSequence reference49 = ref span25[2]; - QuestSequence obj26 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - Span span37 = CollectionsMarshal.AsSpan(list63); - span37[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(392.55026f, -119.58932f, -234.19606f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - span37[1] = new QuestStep(EInteractionType.CompleteQuest, 1024217u, new Vector3(394.39978f, -119.58932f, -232.28815f), 613); - obj26.Steps = list63; - reference49 = obj26; - questRoot3.QuestSequence = list45; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(3003); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - CollectionsMarshal.AsSpan(list64)[0] = "liza"; - questRoot4.Author = list64; - num = 5; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - Span span38 = CollectionsMarshal.AsSpan(list65); - ref QuestSequence reference50 = ref span38[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.AcceptQuest, 1018994u, new Vector3(49.240845f, 4.0000005f, 55.77173f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeMarkets - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj27.Steps = list66; - reference50 = obj27; - ref QuestSequence reference51 = ref span38[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.Interact, 1024140u, new Vector3(-40.665344f, 15.000004f, 42.22168f), 628); - obj28.Steps = list67; - reference51 = obj28; - ref QuestSequence reference52 = ref span38[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Interact, 1024155u, new Vector3(-58.18268f, 79.05602f, 43.9917f), 628); - obj29.Steps = list68; - reference52 = obj29; - ref QuestSequence reference53 = ref span38[3]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1024160u, new Vector3(-11.581665f, 0.04687078f, -3.7385254f), 735); - obj30.Steps = list69; - reference53 = obj30; - ref QuestSequence reference54 = ref span38[4]; - QuestSequence obj31 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024142u, new Vector3(-15.365906f, -1.1998292f, -4.837158f), 736) - { - NextQuestId = new QuestId(3004) - }; - obj31.Steps = list70; - reference54 = obj31; - questRoot4.QuestSequence = list65; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(3004); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - CollectionsMarshal.AsSpan(list71)[0] = "liza"; - questRoot5.Author = list71; - num = 6; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - Span span39 = CollectionsMarshal.AsSpan(list72); - ref QuestSequence reference55 = ref span39[0]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024142u, new Vector3(-15.365906f, -1.1998292f, -4.837158f), 736); - obj32.Steps = list73; - reference55 = obj32; - span39[1] = new QuestSequence - { - Sequence = 1 - }; - ref QuestSequence reference56 = ref span39[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.Duty, null, null, 736) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 281u - } - }; - obj33.Steps = list74; - reference56 = obj33; - span39[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference57 = ref span39[4]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.Interact, 1024146u, new Vector3(-11.001831f, -3.094841E-06f, -6.8513794f), 735); - obj34.Steps = list75; - reference57 = obj34; - ref QuestSequence reference58 = ref span39[5]; - QuestSequence obj35 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024149u, new Vector3(-42.25226f, 15.000004f, 42.557373f), 628) - { - StopDistance = 7f, - NextQuestId = new QuestId(3089) - }; - obj35.Steps = list76; - reference58 = obj35; - questRoot5.QuestSequence = list72; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(3005); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - CollectionsMarshal.AsSpan(list77)[0] = "liza"; - questRoot6.Author = list77; - num = 2; - List list78 = new List(num); - CollectionsMarshal.SetCount(list78, num); - Span span40 = CollectionsMarshal.AsSpan(list78); - ref QuestSequence reference59 = ref span40[0]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - Span span41 = CollectionsMarshal.AsSpan(list79); - span41[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-69.61145f, 0.00999999f, 62.405437f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span41[1] = new QuestStep(EInteractionType.AcceptQuest, 1019459u, new Vector3(-70.54254f, 0.4599931f, 64.37781f), 635); - obj36.Steps = list79; - reference59 = obj36; - ref QuestSequence reference60 = ref span40[1]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020337u, new Vector3(171.31299f, 13.02367f, -89.951965f), 635) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReachWest, - To = EAetheryteLocation.RhalgrsReachNorthEast - } - }; - obj37.Steps = list80; - reference60 = obj37; - questRoot6.QuestSequence = list78; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(3008); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - CollectionsMarshal.AsSpan(list81)[0] = "liza"; - questRoot7.Author = list81; - num = 7; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - Span span42 = CollectionsMarshal.AsSpan(list82); - ref QuestSequence reference61 = ref span42[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024349u, new Vector3(-27.054321f, -1.3048761E-05f, -69.596436f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj38.Steps = list83; - reference61 = obj38; - ref QuestSequence reference62 = ref span42[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.Interact, 1024350u, new Vector3(-36.02661f, 14.001708f, -45.39563f), 628); - obj39.Steps = list84; - reference62 = obj39; - ref QuestSequence reference63 = ref span42[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - ref QuestStep reference64 = ref CollectionsMarshal.AsSpan(list85)[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1024350u, new Vector3(-36.02661f, 14.001708f, -45.39563f), 628); - num3 = 1; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - CollectionsMarshal.AsSpan(list86)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CHRHDB711_03008_Q1_000_000"), - Answer = new ExcelRef("TEXT_CHRHDB711_03008_A1_000_002") - }; - questStep4.DialogueChoices = list86; - reference64 = questStep4; - obj40.Steps = list85; - reference63 = obj40; - ref QuestSequence reference65 = ref span42[3]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - Span span43 = CollectionsMarshal.AsSpan(list87); - ref QuestStep reference66 = ref span43[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1019000u, new Vector3(39.414062f, 4.49998f, -43.47296f), 628); - num3 = 6; - List list88 = new List(num3); - CollectionsMarshal.SetCount(list88, num3); - Span span44 = CollectionsMarshal.AsSpan(list88); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list88; - reference66 = questStep5; - ref QuestStep reference67 = ref span43[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-93.72425f, 11.799999f, -147.28041f), 628); - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list89 = new List(num3); - CollectionsMarshal.SetCount(list89, num3); - Span span45 = CollectionsMarshal.AsSpan(list89); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list89; - skipConditions.StepIf = skipStepConditions; - questStep6.SkipConditions = skipConditions; - reference67 = questStep6; - ref QuestStep reference68 = ref span43[2]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1019034u, new Vector3(-95.84198f, 11.8f, -147.29541f), 628); - num3 = 6; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - Span span46 = CollectionsMarshal.AsSpan(list90); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list90; - reference68 = questStep7; - ref QuestStep reference69 = ref span43[3]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1024409u, new Vector3(-20.920166f, 6.019962f, -133.31812f), 628); - num3 = 6; - List list91 = new List(num3); - CollectionsMarshal.SetCount(list91, num3); - Span span47 = CollectionsMarshal.AsSpan(list91); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list91; - reference69 = questStep8; - obj41.Steps = list87; - reference65 = obj41; - ref QuestSequence reference70 = ref span42[4]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - ref QuestStep reference71 = ref CollectionsMarshal.AsSpan(list92)[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1024351u, new Vector3(-36.270752f, 5.9819617f, -152.36133f), 628); - num3 = 1; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - CollectionsMarshal.AsSpan(list93)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CHRHDB711_03008_Q2_000_000"), - Answer = new ExcelRef("TEXT_CHRHDB711_03008_A2_000_001") - }; - questStep9.DialogueChoices = list93; - reference71 = questStep9; - obj42.Steps = list92; - reference70 = obj42; - ref QuestSequence reference72 = ref span42[5]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Interact, 1024352u, new Vector3(24.093994f, 6.025086f, -134.02002f), 628); - obj43.Steps = list94; - reference72 = obj43; - ref QuestSequence reference73 = ref span42[6]; - QuestSequence obj44 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024355u, new Vector3(25.375732f, 6.0313134f, -119.432434f), 628) - { - NextQuestId = new QuestId(3020) - }; - obj44.Steps = list95; - reference73 = obj44; - questRoot7.QuestSequence = list82; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(3015); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - CollectionsMarshal.AsSpan(list96)[0] = "liza"; - questRoot8.Author = list96; - num = 13; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - Span span48 = CollectionsMarshal.AsSpan(list97); - ref QuestSequence reference74 = ref span48[0]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024836u, new Vector3(-788.2658f, 11.709066f, -283.0091f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - obj45.Steps = list98; - reference74 = obj45; - ref QuestSequence reference75 = ref span48[1]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - Span span49 = CollectionsMarshal.AsSpan(list99); - span49[0] = new QuestStep(EInteractionType.Interact, 1024622u, new Vector3(102.433716f, 0.2814351f, -550.9575f), 613) - { - TargetTerritoryId = (ushort)613, - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - span49[1] = new QuestStep(EInteractionType.Interact, 2009398u, new Vector3(279.4994f, 16.55597f, 844.541f), 613) - { - Fly = true - }; - obj46.Steps = list99; - reference75 = obj46; - ref QuestSequence reference76 = ref span48[2]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.Duty, null, null, 613) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 284u - } - }; - obj47.Steps = list100; - reference76 = obj47; - span48[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference77 = ref span48[4]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - Span span50 = CollectionsMarshal.AsSpan(list101); - ref QuestStep reference78 = ref span50[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1025142u, new Vector3(51.5907f, -90.000015f, -492.51547f), 764); - num3 = 6; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - Span span51 = CollectionsMarshal.AsSpan(list102); - span51[0] = null; - span51[1] = null; - span51[2] = null; - span51[3] = null; - span51[4] = null; - span51[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list102; - reference78 = questStep10; - ref QuestStep reference79 = ref span50[1]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1025141u, new Vector3(55.161255f, -89.90002f, -459.0982f), 764); - num3 = 6; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - Span span52 = CollectionsMarshal.AsSpan(list103); - span52[0] = null; - span52[1] = null; - span52[2] = null; - span52[3] = null; - span52[4] = null; - span52[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list103; - reference79 = questStep11; - ref QuestStep reference80 = ref span50[2]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1025143u, new Vector3(97.67297f, -89.90002f, -480.36932f), 764); - num3 = 6; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - Span span53 = CollectionsMarshal.AsSpan(list104); - span53[0] = null; - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list104; - reference80 = questStep12; - obj48.Steps = list101; - reference77 = obj48; - ref QuestSequence reference81 = ref span48[5]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 1025138u, new Vector3(61.997314f, -90.00002f, -478.14148f), 764); - obj49.Steps = list105; - reference81 = obj49; - ref QuestSequence reference82 = ref span48[6]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.Interact, 1025144u, new Vector3(8.804443f, -90f, -470.63403f), 764); - obj50.Steps = list106; - reference82 = obj50; - ref QuestSequence reference83 = ref span48[7]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.Interact, 1025148u, new Vector3(509.17822f, 23.72771f, -764.0345f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaHouseOfTheFierce - }; - obj51.Steps = list107; - reference83 = obj51; - ref QuestSequence reference84 = ref span48[8]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.Duty, null, null, 614) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 290u - } - }; - obj52.Steps = list108; - reference84 = obj52; - ref QuestSequence reference85 = ref span48[9]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.Interact, 1025469u, new Vector3(505.5161f, 23.265062f, -768.6732f), 614); - obj53.Steps = list109; - reference85 = obj53; - ref QuestSequence reference86 = ref span48[10]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - ref QuestStep reference87 = ref CollectionsMarshal.AsSpan(list110)[0]; - QuestStep obj55 = new QuestStep(EInteractionType.Interact, 1025137u, new Vector3(281.66626f, 16.350018f, 846.89087f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyPrice - } - }; - num3 = 1; - List list111 = new List(num3); - CollectionsMarshal.SetCount(list111, num3); - CollectionsMarshal.AsSpan(list111)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDY301_03015_Q7_000_000") - }; - obj55.DialogueChoices = list111; - reference87 = obj55; - obj54.Steps = list110; - reference86 = obj54; - ref QuestSequence reference88 = ref span48[11]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 11 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.Interact, 1025168u, new Vector3(75.638916f, -89.90002f, -503.95975f), 764); - obj56.Steps = list112; - reference88 = obj56; - ref QuestSequence reference89 = ref span48[12]; - QuestSequence obj57 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019178u, new Vector3(319.69165f, -120.03494f, -250.90417f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu, - NextQuestId = new QuestId(3016) - }; - obj57.Steps = list113; - reference89 = obj57; - questRoot8.QuestSequence = list97; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(3016); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list114 = new List(num); - CollectionsMarshal.SetCount(list114, num); - CollectionsMarshal.AsSpan(list114)[0] = "liza"; - questRoot9.Author = list114; - num = 9; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - Span span54 = CollectionsMarshal.AsSpan(list115); - ref QuestSequence reference90 = ref span54[0]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019178u, new Vector3(319.69165f, -120.03494f, -250.90417f), 613); - obj58.Steps = list116; - reference90 = obj58; - ref QuestSequence reference91 = ref span54[1]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - Span span55 = CollectionsMarshal.AsSpan(list117); - span55[0] = new QuestStep(EInteractionType.Interact, 1025137u, new Vector3(281.66626f, 16.350018f, 846.89087f), 613) - { - TargetTerritoryId = (ushort)764, - Fly = true, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyPrice - } - }; - span55[1] = new QuestStep(EInteractionType.Interact, 1025559u, new Vector3(61.753174f, -90.00002f, -478.11096f), 764); - obj59.Steps = list117; - reference91 = obj59; - ref QuestSequence reference92 = ref span54[2]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.Interact, 1025563u, new Vector3(-485.19116f, 68.82959f, 273.2738f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DomanEnclave, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.DomanEnclave, - To = EAetheryteLocation.DomanEnclaveOneRiver - } - }; - obj60.Steps = list118; - reference92 = obj60; - ref QuestSequence reference93 = ref span54[3]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.Duty, null, null, 614) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 536u - } - }; - obj61.Steps = list119; - reference93 = obj61; - ref QuestSequence reference94 = ref span54[4]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - Span span56 = CollectionsMarshal.AsSpan(list120); - span56[0] = new QuestStep(EInteractionType.Interact, 1025137u, new Vector3(281.66626f, 16.350018f, 846.89087f), 613) - { - TargetTerritoryId = (ushort)764, - Fly = true, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyPrice - } - }; - span56[1] = new QuestStep(EInteractionType.Interact, 1025138u, new Vector3(61.997314f, -90.00002f, -478.14148f), 764); - obj62.Steps = list120; - reference94 = obj62; - ref QuestSequence reference95 = ref span54[5]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1025138u, new Vector3(61.997314f, -90.00002f, -478.14148f), 764); - obj63.Steps = list121; - reference95 = obj63; - span54[6] = new QuestSequence - { - Sequence = 6 - }; - ref QuestSequence reference96 = ref span54[7]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.Interact, 1025138u, new Vector3(61.997314f, -90.00002f, -478.14148f), 764); - obj64.Steps = list122; - reference96 = obj64; - ref QuestSequence reference97 = ref span54[8]; - QuestSequence obj65 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019178u, new Vector3(319.69165f, -120.03494f, -250.90417f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu, - NextQuestId = new QuestId(3152) - }; - obj65.Steps = list123; - reference97 = obj65; - questRoot9.QuestSequence = list115; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(3017); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - CollectionsMarshal.AsSpan(list124)[0] = "WigglyMuffin"; - questRoot10.Author = list124; - num = 3; - List list125 = new List(num); - CollectionsMarshal.SetCount(list125, num); - Span span57 = CollectionsMarshal.AsSpan(list125); - ref QuestSequence reference98 = ref span57[0]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.AcceptQuest, 1004990u, new Vector3(-441.6419f, 23.669865f, -358.9685f), 140) - { - AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj66.Steps = list126; - reference98 = obj66; - ref QuestSequence reference99 = ref span57[1]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.Interact, 1004096u, new Vector3(-444.75476f, 25f, -324.26947f), 140); - obj67.Steps = list127; - reference99 = obj67; - ref QuestSequence reference100 = ref span57[2]; - QuestSequence obj68 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.CompleteQuest, 1004990u, new Vector3(-441.6419f, 23.669865f, -358.9685f), 140) - { - NextQuestId = new QuestId(3018) - }; - obj68.Steps = list128; - reference100 = obj68; - questRoot10.QuestSequence = list125; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(3018); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list129 = new List(num); - CollectionsMarshal.SetCount(list129, num); - CollectionsMarshal.AsSpan(list129)[0] = "WigglyMuffin"; - questRoot11.Author = list129; - num = 4; - List list130 = new List(num); - CollectionsMarshal.SetCount(list130, num); - Span span58 = CollectionsMarshal.AsSpan(list130); - ref QuestSequence reference101 = ref span58[0]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.AcceptQuest, 1004990u, new Vector3(-441.6419f, 23.669865f, -358.9685f), 140) - { - AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj69.Steps = list131; - reference101 = obj69; - ref QuestSequence reference102 = ref span58[1]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.Interact, 1004096u, new Vector3(-444.75476f, 25f, -324.26947f), 140); - obj70.Steps = list132; - reference102 = obj70; - ref QuestSequence reference103 = ref span58[2]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.Interact, 1004990u, new Vector3(-441.6419f, 23.669865f, -358.9685f), 140); - obj71.Steps = list133; - reference103 = obj71; - ref QuestSequence reference104 = ref span58[3]; - QuestSequence obj72 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024586u, new Vector3(-464.31683f, 23.008799f, -321.1872f), 140); - obj72.Steps = list134; - reference104 = obj72; - questRoot11.QuestSequence = list130; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(3020); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list135 = new List(num); - CollectionsMarshal.SetCount(list135, num); - CollectionsMarshal.AsSpan(list135)[0] = "liza"; - questRoot12.Author = list135; - num = 6; - List list136 = new List(num); - CollectionsMarshal.SetCount(list136, num); - Span span59 = CollectionsMarshal.AsSpan(list136); - ref QuestSequence reference105 = ref span59[0]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - ref QuestStep reference106 = ref CollectionsMarshal.AsSpan(list137)[0]; - QuestStep obj74 = new QuestStep(EInteractionType.AcceptQuest, 1024355u, new Vector3(25.375732f, 6.0313134f, -119.432434f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list138 = new List(num3); - CollectionsMarshal.SetCount(list138, num3); - CollectionsMarshal.AsSpan(list138)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CHRHDB721_03020_Q1_000_004"), - Answer = new ExcelRef("TEXT_CHRHDB721_03020_A1_000_005") - }; - obj74.DialogueChoices = list138; - reference106 = obj74; - obj73.Steps = list137; - reference105 = obj73; - ref QuestSequence reference107 = ref span59[1]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - Span span60 = CollectionsMarshal.AsSpan(list139); - ref QuestStep reference108 = ref span60[0]; - QuestStep obj76 = new QuestStep(EInteractionType.Interact, 1024711u, new Vector3(136.21729f, 12.000006f, -69.87109f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeRakuzaDistrict, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - } - }; - num3 = 6; - List list140 = new List(num3); - CollectionsMarshal.SetCount(list140, num3); - Span span61 = CollectionsMarshal.AsSpan(list140); - span61[0] = null; - span61[1] = null; - span61[2] = null; - span61[3] = null; - span61[4] = null; - span61[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj76.CompletionQuestVariablesFlags = list140; - reference108 = obj76; - ref QuestStep reference109 = ref span60[1]; - QuestStep obj77 = new QuestStep(EInteractionType.Interact, 1019063u, new Vector3(3.3416748f, -6.6541724E-11f, -67.73486f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeSekiseigumiBarracks, - To = EAetheryteLocation.Kugane - } - }; - num3 = 6; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - Span span62 = CollectionsMarshal.AsSpan(list141); - span62[0] = null; - span62[1] = null; - span62[2] = null; - span62[3] = null; - span62[4] = null; - span62[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj77.CompletionQuestVariablesFlags = list141; - reference109 = obj77; - ref QuestStep reference110 = ref span60[2]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1019039u, new Vector3(-35.111023f, 13.999897f, -64.042114f), 628); - num3 = 6; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - Span span63 = CollectionsMarshal.AsSpan(list142); - span63[0] = null; - span63[1] = null; - span63[2] = null; - span63[3] = null; - span63[4] = null; - span63[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list142; - reference110 = questStep13; - obj75.Steps = list139; - reference107 = obj75; - ref QuestSequence reference111 = ref span59[2]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.Interact, 1024705u, new Vector3(8.590759f, 4f, 35.171997f), 628); - obj78.Steps = list143; - reference111 = obj78; - ref QuestSequence reference112 = ref span59[3]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.Interact, 1024708u, new Vector3(98.83264f, 4.0000014f, 103.471436f), 628); - obj79.Steps = list144; - reference112 = obj79; - ref QuestSequence reference113 = ref span59[4]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.Interact, 1024709u, new Vector3(-108.01868f, -5.999997f, 70.23718f), 628); - obj80.Steps = list145; - reference113 = obj80; - ref QuestSequence reference114 = ref span59[5]; - QuestSequence obj81 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024710u, new Vector3(835.5382f, 5.9230075f, 834.6837f), 613) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyPrice - }, - NextQuestId = new QuestId(3021) - }; - obj81.Steps = list146; - reference114 = obj81; - questRoot12.QuestSequence = list136; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(3021); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list147 = new List(num); - CollectionsMarshal.SetCount(list147, num); - CollectionsMarshal.AsSpan(list147)[0] = "liza"; - questRoot13.Author = list147; - num = 8; - List list148 = new List(num); - CollectionsMarshal.SetCount(list148, num); - Span span64 = CollectionsMarshal.AsSpan(list148); - ref QuestSequence reference115 = ref span64[0]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024710u, new Vector3(835.5382f, 5.9230075f, 834.6837f), 613); - obj82.Steps = list149; - reference115 = obj82; - ref QuestSequence reference116 = ref span64[1]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.Interact, 1019166u, new Vector3(495.6587f, 29.394592f, 722.0111f), 613) - { - Fly = true - }; - obj83.Steps = list150; - reference116 = obj83; - ref QuestSequence reference117 = ref span64[2]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.Interact, 1024717u, new Vector3(503.44092f, 28.738373f, 737.4226f), 613); - obj84.Steps = list151; - reference117 = obj84; - ref QuestSequence reference118 = ref span64[3]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.Interact, 2008628u, new Vector3(633.81384f, 1.4800415f, 216.26611f), 613) - { - Fly = true - }; - obj85.Steps = list152; - reference118 = obj85; - ref QuestSequence reference119 = ref span64[4]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.Interact, 1024722u, new Vector3(615.4115f, 69.10424f, -79.88104f), 613) - { - Fly = true - }; - obj86.Steps = list153; - reference119 = obj86; - ref QuestSequence reference120 = ref span64[5]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.Interact, 1024723u, new Vector3(534.2031f, 0.004061999f, -252.58258f), 613) - { - Fly = true - }; - obj87.Steps = list154; - reference120 = obj87; - ref QuestSequence reference121 = ref span64[6]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.Interact, 1024725u, new Vector3(100.02283f, 4.0000014f, 99.25989f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeMarkets - } - }; - obj88.Steps = list155; - reference121 = obj88; - ref QuestSequence reference122 = ref span64[7]; - QuestSequence obj89 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024708u, new Vector3(98.83264f, 4.0000014f, 103.471436f), 628) - { - NextQuestId = new QuestId(3094) - }; - obj89.Steps = list156; - reference122 = obj89; - questRoot13.QuestSequence = list148; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(3022); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list157 = new List(num); - CollectionsMarshal.SetCount(list157, num); - CollectionsMarshal.AsSpan(list157)[0] = "JerryWester"; - questRoot14.Author = list157; - num = 3; - List list158 = new List(num); - CollectionsMarshal.SetCount(list158, num); - Span span65 = CollectionsMarshal.AsSpan(list158); - ref QuestSequence reference123 = ref span65[0]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019468u, new Vector3(170.58057f, 13.02367f, -91.96619f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj90.Steps = list159; - reference123 = obj90; - ref QuestSequence reference124 = ref span65[1]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.Interact, 1020463u, new Vector3(151.20166f, 14.7757225f, 95.750244f), 628) - { - TargetTerritoryId = (ushort)639, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyBazaar - } - }; - obj91.Steps = list160; - reference124 = obj91; - ref QuestSequence reference125 = ref span65[2]; - QuestSequence obj92 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024726u, new Vector3(-11.367981f, 10.503965f, -212.75659f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeRubyBazaar, - To = EAetheryteLocation.KuganeRakuzaDistrict - } - }; - obj92.Steps = list161; - reference125 = obj92; - questRoot14.QuestSequence = list158; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(3023); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list162 = new List(num); - CollectionsMarshal.SetCount(list162, num); - CollectionsMarshal.AsSpan(list162)[0] = "JerryWester"; - questRoot15.Author = list162; - num = 3; - List list163 = new List(num); - CollectionsMarshal.SetCount(list163, num); - Span span66 = CollectionsMarshal.AsSpan(list163); - ref QuestSequence reference126 = ref span66[0]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024727u, new Vector3(-12.375122f, 10.503965f, -213.76367f), 628) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj93.Steps = list164; - reference126 = obj93; - ref QuestSequence reference127 = ref span66[1]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.Interact, 1024731u, new Vector3(89.92139f, 3.9999497f, 52.262085f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeRakuzaDistrict, - To = EAetheryteLocation.KuganeMarkets - } - }; - obj94.Steps = list165; - reference127 = obj94; - ref QuestSequence reference128 = ref span66[2]; - QuestSequence obj95 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019061u, new Vector3(-0.045776367f, -7.9738514E-11f, -80.857605f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeMarkets, - To = EAetheryteLocation.Kugane - } - }; - obj95.Steps = list166; - reference128 = obj95; - questRoot15.QuestSequence = list163; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(3024); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list167 = new List(num); - CollectionsMarshal.SetCount(list167, num); - CollectionsMarshal.AsSpan(list167)[0] = "JerryWester"; - questRoot16.Author = list167; - num = 7; - List list168 = new List(num); - CollectionsMarshal.SetCount(list168, num); - Span span67 = CollectionsMarshal.AsSpan(list168); - ref QuestSequence reference129 = ref span67[0]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024738u, new Vector3(1.3884888f, -7.717861E-11f, -78.14148f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj96.Steps = list169; - reference129 = obj96; - ref QuestSequence reference130 = ref span67[1]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.Interact, 1024743u, new Vector3(-123.1861f, -6.9999976f, -58.854065f), 628); - obj97.Steps = list170; - reference130 = obj97; - ref QuestSequence reference131 = ref span67[2]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1024822u, new Vector3(885.0995f, 1.1792068f, 861.38696f), 613) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj98.Steps = list171; - reference131 = obj98; - span67[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference132 = ref span67[4]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.Interact, 1024826u, new Vector3(458.94556f, 30.580631f, 748.74475f), 613); - obj99.Steps = list172; - reference132 = obj99; - ref QuestSequence reference133 = ref span67[5]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.Interact, 1024830u, new Vector3(577.26404f, 0.93538165f, 852.7809f), 613) - { - Fly = true - }; - obj100.Steps = list173; - reference133 = obj100; - ref QuestSequence reference134 = ref span67[6]; - QuestSequence obj101 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024836u, new Vector3(-788.2658f, 11.709066f, -283.0091f), 613) - { - StopDistance = 7f - }; - obj101.Steps = list174; - reference134 = obj101; - questRoot16.QuestSequence = list168; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(3025); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list175 = new List(num); - CollectionsMarshal.SetCount(list175, num); - CollectionsMarshal.AsSpan(list175)[0] = "JerryWester"; - questRoot17.Author = list175; - num = 7; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - Span span68 = CollectionsMarshal.AsSpan(list176); - ref QuestSequence reference135 = ref span68[0]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024837u, new Vector3(-791.04297f, 12.349811f, -283.8026f), 613) - { - StopDistance = 7f - }; - obj102.Steps = list177; - reference135 = obj102; - ref QuestSequence reference136 = ref span68[1]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - Span span69 = CollectionsMarshal.AsSpan(list178); - span69[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-831.06116f, 20.168653f, -266.25217f), 613) - { - TargetTerritoryId = (ushort)614, - Mount = true - }; - span69[1] = new QuestStep(EInteractionType.Interact, 1024842u, new Vector3(789.6085f, 99.21144f, -288.5329f), 614) - { - Fly = true - }; - obj103.Steps = list178; - reference136 = obj103; - ref QuestSequence reference137 = ref span68[2]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - Span span70 = CollectionsMarshal.AsSpan(list179); - ref QuestStep reference138 = ref span70[0]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1019285u, new Vector3(195.63586f, 5.16971f, -437.2473f), 614); - num3 = 6; - List list180 = new List(num3); - CollectionsMarshal.SetCount(list180, num3); - Span span71 = CollectionsMarshal.AsSpan(list180); - span71[0] = null; - span71[1] = null; - span71[2] = null; - span71[3] = null; - span71[4] = null; - span71[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list180; - reference138 = questStep14; - ref QuestStep reference139 = ref span70[1]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1019286u, new Vector3(233.60034f, 5.2518563f, -425.3758f), 614); - num3 = 6; - List list181 = new List(num3); - CollectionsMarshal.SetCount(list181, num3); - Span span72 = CollectionsMarshal.AsSpan(list181); - span72[0] = null; - span72[1] = null; - span72[2] = null; - span72[3] = null; - span72[4] = null; - span72[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list181; - reference139 = questStep15; - obj104.Steps = list179; - reference137 = obj104; - ref QuestSequence reference140 = ref span68[3]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.Interact, 1024846u, new Vector3(309.46814f, 17.755785f, -445.97546f), 614); - obj105.Steps = list182; - reference140 = obj105; - ref QuestSequence reference141 = ref span68[4]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - CollectionsMarshal.AsSpan(list183)[0] = new QuestStep(EInteractionType.Interact, 1024847u, new Vector3(59.067627f, 37.21815f, -529.1676f), 614) - { - Fly = true - }; - obj106.Steps = list183; - reference141 = obj106; - ref QuestSequence reference142 = ref span68[5]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - CollectionsMarshal.AsSpan(list184)[0] = new QuestStep(EInteractionType.Interact, 1024849u, new Vector3(57.328125f, 36.90612f, -524.71204f), 614) - { - StopDistance = 4f - }; - obj107.Steps = list184; - reference142 = obj107; - ref QuestSequence reference143 = ref span68[6]; - QuestSequence obj108 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020524u, new Vector3(173.20508f, 5.1910434f, -433.24945f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaHouseOfTheFierce - }; - obj108.Steps = list185; - reference143 = obj108; - questRoot17.QuestSequence = list176; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(3026); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list186 = new List(num); - CollectionsMarshal.SetCount(list186, num); - CollectionsMarshal.AsSpan(list186)[0] = "JerryWester"; - questRoot18.Author = list186; - num = 9; - List list187 = new List(num); - CollectionsMarshal.SetCount(list187, num); - Span span73 = CollectionsMarshal.AsSpan(list187); - ref QuestSequence reference144 = ref span73[0]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - CollectionsMarshal.AsSpan(list188)[0] = new QuestStep(EInteractionType.AcceptQuest, 1020524u, new Vector3(173.20508f, 5.1910434f, -433.24945f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaHouseOfTheFierce, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj109.Steps = list188; - reference144 = obj109; - ref QuestSequence reference145 = ref span73[1]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.Interact, 1024955u, new Vector3(350.14868f, 26.448109f, 609.1859f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai - }; - obj110.Steps = list189; - reference145 = obj110; - ref QuestSequence reference146 = ref span73[2]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.Interact, 1024957u, new Vector3(365.9265f, 1.7862457f, 738.9486f), 614) - { - StopDistance = 5f - }; - obj111.Steps = list190; - reference146 = obj111; - ref QuestSequence reference147 = ref span73[3]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.Interact, 1024966u, new Vector3(-472.3125f, 1.2300053f, 537.77356f), 614) - { - Fly = true - }; - obj112.Steps = list191; - reference147 = obj112; - ref QuestSequence reference148 = ref span73[4]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 4 - }; - num2 = 6; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - Span span74 = CollectionsMarshal.AsSpan(list192); - span74[0] = new QuestStep(EInteractionType.Interact, 1024794u, new Vector3(-493.98032f, 1.3011811f, 542.90063f), 614) - { - TargetTerritoryId = (ushort)759 - }; - span74[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 759) - { - AethernetShard = EAetheryteLocation.DomanEnclaveDocks - }; - span74[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 759) - { - AethernetShard = EAetheryteLocation.DomanEnclaveSouthern - }; - span74[3] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 759) - { - Aetheryte = EAetheryteLocation.DomanEnclave - }; - span74[4] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 759) - { - AethernetShard = EAetheryteLocation.DomanEnclaveNorthern - }; - ref QuestStep reference149 = ref span74[5]; - QuestStep obj114 = new QuestStep(EInteractionType.Interact, 1024970u, new Vector3(40.238037f, 0f, 5.874695f), 759) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.DomanEnclaveNorthern, - To = EAetheryteLocation.DomanEnclave - } - }; - num3 = 1; - List list193 = new List(num3); - CollectionsMarshal.SetCount(list193, num3); - CollectionsMarshal.AsSpan(list193)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDC105_03026_Q1_000_000"), - Answer = new ExcelRef("TEXT_STMBDC105_03026_A1_000_001") - }; - obj114.DialogueChoices = list193; - reference149 = obj114; - obj113.Steps = list192; - reference148 = obj113; - ref QuestSequence reference150 = ref span73[5]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - ref QuestStep reference151 = ref CollectionsMarshal.AsSpan(list194)[0]; - QuestStep obj116 = new QuestStep(EInteractionType.Interact, 1024974u, new Vector3(-10.330383f, 0.19997318f, 12.893799f), 759) - { - TargetTerritoryId = (ushort)744 - }; - num3 = 1; - List list195 = new List(num3); - CollectionsMarshal.SetCount(list195, num3); - CollectionsMarshal.AsSpan(list195)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDC105_03026_EVENTAREA_WARP_000_000") - }; - obj116.DialogueChoices = list195; - reference151 = obj116; - obj115.Steps = list194; - reference150 = obj115; - span73[6] = new QuestSequence - { - Sequence = 6 - }; - ref QuestSequence reference152 = ref span73[7]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.Interact, 1025049u, new Vector3(-0.015319824f, 0.19999999f, -4.837158f), 744) - { - StopDistance = 7f - }; - obj117.Steps = list196; - reference152 = obj117; - ref QuestSequence reference153 = ref span73[8]; - QuestSequence obj118 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - Span span75 = CollectionsMarshal.AsSpan(list197); - span75[0] = new QuestStep(EInteractionType.Interact, 2009289u, new Vector3(0.02468622f, 0.9079783f, 18.30971f), 744) - { - TargetTerritoryId = (ushort)759 - }; - span75[1] = new QuestStep(EInteractionType.CompleteQuest, 1024971u, new Vector3(6.0272217f, 0f, 18.631226f), 759); - obj118.Steps = list197; - reference153 = obj118; - questRoot18.QuestSequence = list187; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(3027); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list198 = new List(num); - CollectionsMarshal.SetCount(list198, num); - CollectionsMarshal.AsSpan(list198)[0] = "JerryWester"; - questRoot19.Author = list198; - num = 5; - List list199 = new List(num); - CollectionsMarshal.SetCount(list199, num); - Span span76 = CollectionsMarshal.AsSpan(list199); - ref QuestSequence reference154 = ref span76[0]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024971u, new Vector3(6.0272217f, 0f, 18.631226f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj119.Steps = list200; - reference154 = obj119; - ref QuestSequence reference155 = ref span76[1]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.Interact, 1024980u, new Vector3(-276.26465f, 53.240116f, -368.8869f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaHouseOfTheFierce - }; - obj120.Steps = list201; - reference155 = obj120; - ref QuestSequence reference156 = ref span76[2]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.Interact, 1024983u, new Vector3(-260.60883f, 53.217503f, -645.594f), 614) - { - Fly = true - }; - obj121.Steps = list202; - reference156 = obj121; - ref QuestSequence reference157 = ref span76[3]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - Span span77 = CollectionsMarshal.AsSpan(list203); - span77[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-347.07507f, 1.2300062f, -345.90344f), 614) - { - Fly = true - }; - span77[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 1024986u, new Vector3(-348.9281f, 1.230035f, -344.13672f), 614) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj122.Steps = list203; - reference157 = obj122; - ref QuestSequence reference158 = ref span76[4]; - QuestSequence obj123 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024989u, new Vector3(464.10315f, 17.720512f, 301.59448f), 614) - { - StopDistance = 5f - }; - obj123.Steps = list204; - reference158 = obj123; - questRoot19.QuestSequence = list199; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(3028); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list205 = new List(num); - CollectionsMarshal.SetCount(list205, num); - CollectionsMarshal.AsSpan(list205)[0] = "JerryWester"; - questRoot20.Author = list205; - num = 3; - List list206 = new List(num); - CollectionsMarshal.SetCount(list206, num); - Span span78 = CollectionsMarshal.AsSpan(list206); - ref QuestSequence reference159 = ref span78[0]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - CollectionsMarshal.AsSpan(list207)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024989u, new Vector3(464.10315f, 17.720512f, 301.59448f), 614) - { - StopDistance = 5f - }; - obj124.Steps = list207; - reference159 = obj124; - ref QuestSequence reference160 = ref span78[1]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.Interact, 1025026u, new Vector3(3.7078857f, 0f, 17.471558f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave - }; - obj125.Steps = list208; - reference160 = obj125; - ref QuestSequence reference161 = ref span78[2]; - QuestSequence obj126 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - Span span79 = CollectionsMarshal.AsSpan(list209); - ref QuestStep reference162 = ref span79[0]; - QuestStep obj127 = new QuestStep(EInteractionType.Interact, 1024974u, new Vector3(-10.330383f, 0.19997318f, 12.893799f), 759) - { - TargetTerritoryId = (ushort)744 - }; - num3 = 1; - List list210 = new List(num3); - CollectionsMarshal.SetCount(list210, num3); - CollectionsMarshal.AsSpan(list210)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDC107_03028_EVENTAREA_WARP_000_056") - }; - obj127.DialogueChoices = list210; - reference162 = obj127; - span79[1] = new QuestStep(EInteractionType.CompleteQuest, 1024999u, new Vector3(0.19836426f, 0.021091364f, -3.0975952f), 744); - obj126.Steps = list209; - reference161 = obj126; - questRoot20.QuestSequence = list206; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(3029); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list211 = new List(num); - CollectionsMarshal.SetCount(list211, num); - CollectionsMarshal.AsSpan(list211)[0] = "JerryWester"; - questRoot21.Author = list211; - num = 5; - List list212 = new List(num); - CollectionsMarshal.SetCount(list212, num); - Span span80 = CollectionsMarshal.AsSpan(list212); - ref QuestSequence reference163 = ref span80[0]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - CollectionsMarshal.AsSpan(list213)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025008u, new Vector3(-0.19836426f, 0.021091364f, -2.7619019f), 744) - { - StopDistance = 1f, - DelaySecondsAtStart = 3f - }; - obj128.Steps = list213; - reference163 = obj128; - ref QuestSequence reference164 = ref span80[1]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - Span span81 = CollectionsMarshal.AsSpan(list214); - span81[0] = new QuestStep(EInteractionType.Interact, 2009289u, new Vector3(0.02468622f, 0.9079783f, 18.30971f), 744) - { - TargetTerritoryId = (ushort)759 - }; - span81[1] = new QuestStep(EInteractionType.Interact, 1025012u, new Vector3(1.5715942f, 0f, 18.631226f), 759); - obj129.Steps = list214; - reference164 = obj129; - span80[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference165 = ref span80[3]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.Interact, 1025019u, new Vector3(366.53687f, 1.286227f, 746.2118f), 614) - { - StopDistance = 5f - }; - obj130.Steps = list215; - reference165 = obj130; - ref QuestSequence reference166 = ref span80[4]; - QuestSequence obj131 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - Span span82 = CollectionsMarshal.AsSpan(list216); - span82[0] = new QuestStep(EInteractionType.Interact, 1019070u, new Vector3(151.20166f, 14.7757225f, 95.78088f), 628) - { - TargetTerritoryId = (ushort)639, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyBazaar - } - }; - span82[1] = new QuestStep(EInteractionType.CompleteQuest, 1020622u, new Vector3(0.045776367f, 0f, -2.3041382f), 639); - obj131.Steps = list216; - reference166 = obj131; - questRoot21.QuestSequence = list212; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(3031); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list217 = new List(num); - CollectionsMarshal.SetCount(list217, num); - CollectionsMarshal.AsSpan(list217)[0] = "liza"; - questRoot22.Author = list217; - num = 3; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - Span span83 = CollectionsMarshal.AsSpan(list218); - ref QuestSequence reference167 = ref span83[0]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - CollectionsMarshal.AsSpan(list219)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023687u, new Vector3(112.7489f, 0.65204155f, 60.227295f), 635); - obj132.Steps = list219; - reference167 = obj132; - ref QuestSequence reference168 = ref span83[1]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1021933u, new Vector3(466.20886f, 69.27097f, 525.7495f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones - }; - obj133.Steps = list220; - reference168 = obj133; - ref QuestSequence reference169 = ref span83[2]; - QuestSequence obj134 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024788u, new Vector3(-86.07617f, -72.25f, 181.47546f), 756) - { - StopDistance = 7f, - NextQuestId = new QuestId(3032) - }; - obj134.Steps = list221; - reference169 = obj134; - questRoot22.QuestSequence = list218; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(3032); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list222 = new List(num); - CollectionsMarshal.SetCount(list222, num); - CollectionsMarshal.AsSpan(list222)[0] = "liza"; - questRoot23.Author = list222; - num = 4; - List list223 = new List(num); - CollectionsMarshal.SetCount(list223, num); - Span span84 = CollectionsMarshal.AsSpan(list223); - ref QuestSequence reference170 = ref span84[0]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024788u, new Vector3(-86.07617f, -72.25f, 181.47546f), 756) - { - StopDistance = 7f - }; - obj135.Steps = list224; - reference170 = obj135; - ref QuestSequence reference171 = ref span84[1]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.Interact, 1024747u, new Vector3(-88.304016f, -72.25f, 169.17664f), 756) - { - StopDistance = 6f - }; - obj136.Steps = list225; - reference171 = obj136; - ref QuestSequence reference172 = ref span84[2]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - CollectionsMarshal.AsSpan(list226)[0] = new QuestStep(EInteractionType.Duty, null, null, 756) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 286u - } - }; - obj137.Steps = list226; - reference172 = obj137; - ref QuestSequence reference173 = ref span84[3]; - QuestSequence obj138 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024788u, new Vector3(-86.07617f, -72.25f, 181.47546f), 756) - { - StopDistance = 7f, - NextQuestId = new QuestId(3033) - }; - obj138.Steps = list227; - reference173 = obj138; - questRoot23.QuestSequence = list223; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(3033); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list228 = new List(num); - CollectionsMarshal.SetCount(list228, num); - CollectionsMarshal.AsSpan(list228)[0] = "liza"; - questRoot24.Author = list228; - num = 5; - List list229 = new List(num); - CollectionsMarshal.SetCount(list229, num); - Span span85 = CollectionsMarshal.AsSpan(list229); - ref QuestSequence reference174 = ref span85[0]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024788u, new Vector3(-86.07617f, -72.25f, 181.47546f), 756) - { - StopDistance = 7f - }; - obj139.Steps = list230; - reference174 = obj139; - ref QuestSequence reference175 = ref span85[1]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.Interact, 1024790u, new Vector3(-81.92572f, -72.25f, 172.7168f), 756) - { - StopDistance = 5f - }; - obj140.Steps = list231; - reference175 = obj140; - ref QuestSequence reference176 = ref span85[2]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.Duty, null, null, 756) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 287u - } - }; - obj141.Steps = list232; - reference176 = obj141; - ref QuestSequence reference177 = ref span85[3]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - CollectionsMarshal.AsSpan(list233)[0] = new QuestStep(EInteractionType.Interact, 1024788u, new Vector3(-86.07617f, -72.25f, 181.47546f), 756) - { - StopDistance = 7f - }; - obj142.Steps = list233; - reference177 = obj142; - ref QuestSequence reference178 = ref span85[4]; - QuestSequence obj143 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - CollectionsMarshal.AsSpan(list234)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024749u, new Vector3(463.79797f, 69.36809f, 520.31726f), 612) - { - NextQuestId = new QuestId(3034) - }; - obj143.Steps = list234; - reference178 = obj143; - questRoot24.QuestSequence = list229; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(3034); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list235 = new List(num); - CollectionsMarshal.SetCount(list235, num); - CollectionsMarshal.AsSpan(list235)[0] = "liza"; - questRoot25.Author = list235; - num = 5; - List list236 = new List(num); - CollectionsMarshal.SetCount(list236, num); - Span span86 = CollectionsMarshal.AsSpan(list236); - ref QuestSequence reference179 = ref span86[0]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - CollectionsMarshal.AsSpan(list237)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024750u, new Vector3(464.28625f, 69.317245f, 519.3103f), 612) - { - StopDistance = 5f - }; - obj144.Steps = list237; - reference179 = obj144; - ref QuestSequence reference180 = ref span86[1]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - Span span87 = CollectionsMarshal.AsSpan(list238); - ref QuestStep reference181 = ref span87[0]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1021947u, new Vector3(476.73767f, 69.83099f, 526.604f), 612); - num3 = 1; - List list239 = new List(num3); - CollectionsMarshal.SetCount(list239, num3); - CollectionsMarshal.AsSpan(list239)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDR204_03034_SYSTEM_000_026") - }; - questStep16.DialogueChoices = list239; - reference181 = questStep16; - span87[1] = new QuestStep(EInteractionType.Interact, 1024853u, new Vector3(-86.71704f, -72.25f, 179.58337f), 756) - { - StopDistance = 7f - }; - obj145.Steps = list238; - reference180 = obj145; - ref QuestSequence reference182 = ref span86[2]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.Interact, 1024747u, new Vector3(-88.304016f, -72.25f, 169.17664f), 756) - { - StopDistance = 7f - }; - obj146.Steps = list240; - reference182 = obj146; - ref QuestSequence reference183 = ref span86[3]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.Duty, null, null, 756) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 288u - } - }; - obj147.Steps = list241; - reference183 = obj147; - ref QuestSequence reference184 = ref span86[4]; - QuestSequence obj148 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - CollectionsMarshal.AsSpan(list242)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024788u, new Vector3(-86.07617f, -72.25f, 181.47546f), 756) - { - StopDistance = 7f, - NextQuestId = new QuestId(3035) - }; - obj148.Steps = list242; - reference184 = obj148; - questRoot25.QuestSequence = list236; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(3035); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list243 = new List(num); - CollectionsMarshal.SetCount(list243, num); - CollectionsMarshal.AsSpan(list243)[0] = "liza"; - questRoot26.Author = list243; - num = 6; - List list244 = new List(num); - CollectionsMarshal.SetCount(list244, num); - Span span88 = CollectionsMarshal.AsSpan(list244); - ref QuestSequence reference185 = ref span88[0]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024853u, new Vector3(-86.71704f, -72.25f, 179.58337f), 756) - { - StopDistance = 7f - }; - obj149.Steps = list245; - reference185 = obj149; - ref QuestSequence reference186 = ref span88[1]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - CollectionsMarshal.AsSpan(list246)[0] = new QuestStep(EInteractionType.Interact, 1024747u, new Vector3(-88.304016f, -72.25f, 169.17664f), 756) - { - StopDistance = 7f - }; - obj150.Steps = list246; - reference186 = obj150; - ref QuestSequence reference187 = ref span88[2]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.Duty, null, null, 756) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 289u - } - }; - obj151.Steps = list247; - reference187 = obj151; - span88[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference188 = ref span88[4]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.Interact, 1021947u, new Vector3(476.73767f, 69.83099f, 526.604f), 612); - obj152.Steps = list248; - reference188 = obj152; - ref QuestSequence reference189 = ref span88[5]; - QuestSequence obj153 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023687u, new Vector3(112.7489f, 0.65204155f, 60.227295f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - NextQuestId = new QuestId(3154) - }; - obj153.Steps = list249; - reference189 = obj153; - questRoot26.QuestSequence = list244; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(3036); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list250 = new List(num); - CollectionsMarshal.SetCount(list250, num); - CollectionsMarshal.AsSpan(list250)[0] = "liza"; - questRoot27.Author = list250; - num = 4; - List list251 = new List(num); - CollectionsMarshal.SetCount(list251, num); - Span span89 = CollectionsMarshal.AsSpan(list251); - ref QuestSequence reference190 = ref span89[0]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - CollectionsMarshal.AsSpan(list252)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021565u, new Vector3(440.11584f, 114.254425f, 212.84802f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj154.Steps = list252; - reference190 = obj154; - ref QuestSequence reference191 = ref span89[1]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - CollectionsMarshal.AsSpan(list253)[0] = new QuestStep(EInteractionType.Interact, 1020817u, new Vector3(327.5348f, 83.45977f, -103.07471f), 612) - { - Fly = true - }; - obj155.Steps = list253; - reference191 = obj155; - ref QuestSequence reference192 = ref span89[2]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.Interact, 1024894u, new Vector3(21.744019f, -0.05840592f, 13.01593f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach - }; - obj156.Steps = list254; - reference192 = obj156; - ref QuestSequence reference193 = ref span89[3]; - QuestSequence obj157 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - ref QuestStep reference194 = ref CollectionsMarshal.AsSpan(list255)[0]; - QuestStep obj158 = new QuestStep(EInteractionType.CompleteQuest, 1024771u, new Vector3(12.008789f, 55.97821f, 237.96448f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones - }; - num3 = 2; - List list256 = new List(num3); - CollectionsMarshal.SetCount(list256, num3); - Span span90 = CollectionsMarshal.AsSpan(list256); - span90[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANANA001_03036_Q2_000_000"), - Answer = new ExcelRef("TEXT_BANANA001_03036_A2_000_001") - }; - span90[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANANA001_03036_Q3_000_000"), - Answer = new ExcelRef("TEXT_BANANA001_03036_A3_000_001") - }; - obj158.DialogueChoices = list256; - reference194 = obj158; - obj157.Steps = list255; - reference193 = obj157; - questRoot27.QuestSequence = list251; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(3037); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list257 = new List(num); - CollectionsMarshal.SetCount(list257, num); - CollectionsMarshal.AsSpan(list257)[0] = "plogon_enjoyer"; - questRoot28.Author = list257; - num = 9; - List list258 = new List(num); - CollectionsMarshal.SetCount(list258, num); - Span span91 = CollectionsMarshal.AsSpan(list258); - ref QuestSequence reference195 = ref span91[0]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - CollectionsMarshal.AsSpan(list259)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024771u, new Vector3(12.008789f, 55.97821f, 237.96448f), 612); - obj159.Steps = list259; - reference195 = obj159; - ref QuestSequence reference196 = ref span91[1]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.Interact, 1024896u, new Vector3(-630.2129f, 130.26343f, -452.20117f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens - }; - obj160.Steps = list260; - reference196 = obj160; - ref QuestSequence reference197 = ref span91[2]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.Interact, 1024897u, new Vector3(-76.40198f, -5.32758E-12f, -48.233826f), 635) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachWest - } - }; - obj161.Steps = list261; - reference197 = obj161; - ref QuestSequence reference198 = ref span91[3]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - CollectionsMarshal.AsSpan(list262)[0] = new QuestStep(EInteractionType.Interact, 1024952u, new Vector3(12.008789f, 55.97821f, 237.96448f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones - }; - obj162.Steps = list262; - reference198 = obj162; - ref QuestSequence reference199 = ref span91[4]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - CollectionsMarshal.AsSpan(list263)[0] = new QuestStep(EInteractionType.Interact, 1024900u, new Vector3(-50.980408f, 56.02146f, 218.46338f), 612) - { - Fly = true - }; - obj163.Steps = list263; - reference199 = obj163; - ref QuestSequence reference200 = ref span91[5]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.Action, 1024901u, new Vector3(-80.52191f, 56.021286f, 231.40308f), 612) - { - Fly = true, - Action = EAction.BuffetGriffin - }; - obj164.Steps = list264; - reference200 = obj164; - ref QuestSequence reference201 = ref span91[6]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.Action, 1024901u, new Vector3(-80.52191f, 56.021286f, 231.40308f), 612) - { - Fly = true, - Action = EAction.BuffetGriffin - }; - obj165.Steps = list265; - reference201 = obj165; - ref QuestSequence reference202 = ref span91[7]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - CollectionsMarshal.AsSpan(list266)[0] = new QuestStep(EInteractionType.Action, 1024901u, new Vector3(-80.52191f, 56.021286f, 231.40308f), 612) - { - Fly = true, - Action = EAction.BuffetGriffin - }; - obj166.Steps = list266; - reference202 = obj166; - ref QuestSequence reference203 = ref span91[8]; - QuestSequence obj167 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - CollectionsMarshal.AsSpan(list267)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024901u, new Vector3(-80.52191f, 56.021286f, 231.40308f), 612) - { - Mount = false - }; - obj167.Steps = list267; - reference203 = obj167; - questRoot28.QuestSequence = list258; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(3038); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list268 = new List(num); - CollectionsMarshal.SetCount(list268, num); - CollectionsMarshal.AsSpan(list268)[0] = "plogon_enjoyer"; - questRoot29.Author = list268; - num = 9; - List list269 = new List(num); - CollectionsMarshal.SetCount(list269, num); - Span span92 = CollectionsMarshal.AsSpan(list269); - ref QuestSequence reference204 = ref span92[0]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - CollectionsMarshal.AsSpan(list270)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024771u, new Vector3(12.008789f, 55.97821f, 237.96448f), 612); - obj168.Steps = list270; - reference204 = obj168; - ref QuestSequence reference205 = ref span92[1]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - CollectionsMarshal.AsSpan(list271)[0] = new QuestStep(EInteractionType.Interact, 1024903u, new Vector3(111.31445f, 39.096542f, 296.34546f), 612) - { - Fly = true - }; - obj169.Steps = list271; - reference205 = obj169; - ref QuestSequence reference206 = ref span92[2]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - Span span93 = CollectionsMarshal.AsSpan(list272); - span93[0] = new QuestStep(EInteractionType.Interact, 1021591u, new Vector3(-277.82104f, 258.90652f, 782.77246f), 620) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.PeaksAlaGhiri - }; - span93[1] = new QuestStep(EInteractionType.Interact, 1020871u, new Vector3(-237.90344f, 257.71973f, 741.5731f), 620) - { - Fly = true - }; - span93[2] = new QuestStep(EInteractionType.Interact, 1021587u, new Vector3(-210.68134f, 257.8064f, 767.4829f), 620) - { - Fly = true - }; - obj170.Steps = list272; - reference206 = obj170; - ref QuestSequence reference207 = ref span92[3]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - CollectionsMarshal.AsSpan(list273)[0] = new QuestStep(EInteractionType.Interact, 1024906u, new Vector3(-239.12415f, 258.90652f, 782.62f), 620) - { - Fly = true - }; - obj171.Steps = list273; - reference207 = obj171; - ref QuestSequence reference208 = ref span92[4]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - CollectionsMarshal.AsSpan(list274)[0] = new QuestStep(EInteractionType.Interact, 1024908u, new Vector3(-238.91058f, 266.39832f, 508.14062f), 620) - { - Fly = true - }; - obj172.Steps = list274; - reference208 = obj172; - ref QuestSequence reference209 = ref span92[5]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.Interact, 1024911u, new Vector3(10.971252f, 55.943913f, 239.88696f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones - }; - obj173.Steps = list275; - reference209 = obj173; - ref QuestSequence reference210 = ref span92[6]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - CollectionsMarshal.AsSpan(list276)[0] = new QuestStep(EInteractionType.Interact, 1024912u, new Vector3(-92.27136f, 50.00444f, 186.29736f), 612) - { - Fly = true - }; - obj174.Steps = list276; - reference210 = obj174; - ref QuestSequence reference211 = ref span92[7]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - Span span94 = CollectionsMarshal.AsSpan(list277); - span94[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-212.2359f, 43.672523f, -133.15985f), 612) - { - Fly = true - }; - span94[1] = new QuestStep(EInteractionType.Action, 2009281u, new Vector3(-209.79633f, 42.70996f, -153.85675f), 612) - { - Land = true, - Action = EAction.Trample - }; - obj175.Steps = list277; - reference211 = obj175; - ref QuestSequence reference212 = ref span92[8]; - QuestSequence obj176 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - Span span95 = CollectionsMarshal.AsSpan(list278); - span95[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(5.853586f, 55.943962f, 237.26181f), 612) - { - Fly = true - }; - span95[1] = new QuestStep(EInteractionType.CompleteQuest, 1024911u, new Vector3(10.971252f, 55.943913f, 239.88696f), 612) - { - Mount = false - }; - obj176.Steps = list278; - reference212 = obj176; - questRoot29.QuestSequence = list269; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(3039); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list279 = new List(num); - CollectionsMarshal.SetCount(list279, num); - CollectionsMarshal.AsSpan(list279)[0] = "plogon_enjoyer"; - questRoot30.Author = list279; - num = 9; - List list280 = new List(num); - CollectionsMarshal.SetCount(list280, num); - Span span96 = CollectionsMarshal.AsSpan(list280); - ref QuestSequence reference213 = ref span96[0]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - CollectionsMarshal.AsSpan(list281)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024771u, new Vector3(12.008789f, 55.97821f, 237.96448f), 612); - obj177.Steps = list281; - reference213 = obj177; - ref QuestSequence reference214 = ref span96[1]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - CollectionsMarshal.AsSpan(list282)[0] = new QuestStep(EInteractionType.Interact, 1024915u, new Vector3(-127.45862f, 41.197662f, 7.248047f), 612) - { - Fly = true - }; - obj178.Steps = list282; - reference214 = obj178; - ref QuestSequence reference215 = ref span96[2]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.UseItem, 1024915u, new Vector3(-127.45862f, 41.197662f, 7.248047f), 612) - { - ItemId = 2002429u, - GroundTarget = true - }; - obj179.Steps = list283; - reference215 = obj179; - ref QuestSequence reference216 = ref span96[3]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - CollectionsMarshal.AsSpan(list284)[0] = new QuestStep(EInteractionType.UseItem, 1024915u, new Vector3(-127.45862f, 41.197662f, 7.248047f), 612) - { - ItemId = 2002429u, - GroundTarget = true - }; - obj180.Steps = list284; - reference216 = obj180; - ref QuestSequence reference217 = ref span96[4]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - CollectionsMarshal.AsSpan(list285)[0] = new QuestStep(EInteractionType.UseItem, 1024915u, new Vector3(-127.45862f, 41.197662f, 7.248047f), 612) - { - ItemId = 2002429u, - GroundTarget = true - }; - obj181.Steps = list285; - reference217 = obj181; - ref QuestSequence reference218 = ref span96[5]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - CollectionsMarshal.AsSpan(list286)[0] = new QuestStep(EInteractionType.Interact, 1019486u, new Vector3(-116.746826f, 0.6342248f, -55.832825f), 635) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachWest - } - }; - obj182.Steps = list286; - reference218 = obj182; - ref QuestSequence reference219 = ref span96[6]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - ref QuestStep reference220 = ref CollectionsMarshal.AsSpan(list287)[0]; - QuestStep obj184 = new QuestStep(EInteractionType.Combat, null, new Vector3(-496.6736f, 118.65279f, -424.7939f), 612) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list288 = new List(num3); - CollectionsMarshal.SetCount(list288, num3); - CollectionsMarshal.AsSpan(list288)[0] = 8577u; - obj184.KillEnemyDataIds = list288; - reference220 = obj184; - obj183.Steps = list287; - reference219 = obj183; - ref QuestSequence reference221 = ref span96[7]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.Interact, 1024920u, new Vector3(-495.01794f, 118.79865f, -427.1153f), 612); - obj185.Steps = list289; - reference221 = obj185; - ref QuestSequence reference222 = ref span96[8]; - QuestSequence obj186 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - CollectionsMarshal.AsSpan(list290)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024952u, new Vector3(12.008789f, 55.97821f, 237.96448f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones - }; - obj186.Steps = list290; - reference222 = obj186; - questRoot30.QuestSequence = list280; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(3040); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list291 = new List(num); - CollectionsMarshal.SetCount(list291, num); - CollectionsMarshal.AsSpan(list291)[0] = "skiaz"; - questRoot31.Author = list291; - num = 6; - List list292 = new List(num); - CollectionsMarshal.SetCount(list292, num); - Span span97 = CollectionsMarshal.AsSpan(list292); - ref QuestSequence reference223 = ref span97[0]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - CollectionsMarshal.AsSpan(list293)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024771u, new Vector3(12.008789f, 55.97821f, 237.96448f), 612) - { - Fly = true - }; - obj187.Steps = list293; - reference223 = obj187; - ref QuestSequence reference224 = ref span97[1]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - CollectionsMarshal.AsSpan(list294)[0] = new QuestStep(EInteractionType.Interact, 1024924u, new Vector3(143.26697f, 40.296085f, 410.23877f), 612) - { - Fly = true - }; - obj188.Steps = list294; - reference224 = obj188; - ref QuestSequence reference225 = ref span97[2]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - CollectionsMarshal.AsSpan(list295)[0] = new QuestStep(EInteractionType.Interact, 1024929u, new Vector3(120.46985f, 48.569233f, 596.15466f), 612) - { - Fly = true - }; - obj189.Steps = list295; - reference225 = obj189; - ref QuestSequence reference226 = ref span97[3]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - CollectionsMarshal.AsSpan(list296)[0] = new QuestStep(EInteractionType.Interact, 1024934u, new Vector3(274.95227f, 38.278767f, 343.00745f), 612) - { - Fly = true - }; - obj190.Steps = list296; - reference226 = obj190; - ref QuestSequence reference227 = ref span97[4]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - Span span98 = CollectionsMarshal.AsSpan(list297); - span98[0] = new QuestStep(EInteractionType.Interact, 1024934u, new Vector3(274.95227f, 38.278767f, 343.00745f), 612) - { - Fly = true - }; - span98[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 1024934u, new Vector3(274.95227f, 38.278767f, 343.00745f), 612) - { - Comment = "Solo Duty", - SinglePlayerDutyOptions = new SinglePlayerDutyOptions() - }; - obj191.Steps = list297; - reference227 = obj191; - ref QuestSequence reference228 = ref span97[5]; - QuestSequence obj192 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - CollectionsMarshal.AsSpan(list298)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024952u, new Vector3(12.008789f, 55.97821f, 237.96448f), 612) - { - Fly = true - }; - obj192.Steps = list298; - reference228 = obj192; - questRoot31.QuestSequence = list292; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(3041); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list299 = new List(num); - CollectionsMarshal.SetCount(list299, num); - CollectionsMarshal.AsSpan(list299)[0] = "plogon_enjoyer"; - questRoot32.Author = list299; - num = 5; - List list300 = new List(num); - CollectionsMarshal.SetCount(list300, num); - Span span99 = CollectionsMarshal.AsSpan(list300); - ref QuestSequence reference229 = ref span99[0]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - CollectionsMarshal.AsSpan(list301)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024771u, new Vector3(12.008789f, 55.97821f, 237.96448f), 612); - obj193.Steps = list301; - reference229 = obj193; - ref QuestSequence reference230 = ref span99[1]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list302 = new List(num2); - CollectionsMarshal.SetCount(list302, num2); - Span span100 = CollectionsMarshal.AsSpan(list302); - span100[0] = new QuestStep(EInteractionType.Interact, 1023142u, new Vector3(-642.9083f, 130.25946f, -538.29254f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens - }; - span100[1] = new QuestStep(EInteractionType.Interact, 1024937u, new Vector3(450.88867f, 114.36421f, 235.91968f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones - }; - obj194.Steps = list302; - reference230 = obj194; - ref QuestSequence reference231 = ref span99[2]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list303 = new List(num2); - CollectionsMarshal.SetCount(list303, num2); - CollectionsMarshal.AsSpan(list303)[0] = new QuestStep(EInteractionType.Interact, 1024952u, new Vector3(12.008789f, 55.97821f, 237.96448f), 612) - { - Fly = true - }; - obj195.Steps = list303; - reference231 = obj195; - ref QuestSequence reference232 = ref span99[3]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - CollectionsMarshal.AsSpan(list304)[0] = new QuestStep(EInteractionType.Interact, 1025235u, new Vector3(-155.2301f, 39.096687f, 159.0448f), 612) - { - Fly = true - }; - obj196.Steps = list304; - reference232 = obj196; - ref QuestSequence reference233 = ref span99[4]; - QuestSequence obj197 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - CollectionsMarshal.AsSpan(list305)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024952u, new Vector3(12.008789f, 55.97821f, 237.96448f), 612) - { - Fly = true - }; - obj197.Steps = list305; - reference233 = obj197; - questRoot32.QuestSequence = list300; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(3042); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list306 = new List(num); - CollectionsMarshal.SetCount(list306, num); - CollectionsMarshal.AsSpan(list306)[0] = "liza"; - questRoot33.Author = list306; - num = 4; - List list307 = new List(num); - CollectionsMarshal.SetCount(list307, num); - Span span101 = CollectionsMarshal.AsSpan(list307); - ref QuestSequence reference234 = ref span101[0]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - CollectionsMarshal.AsSpan(list308)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj198.Steps = list308; - reference234 = obj198; - ref QuestSequence reference235 = ref span101[1]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - Span span102 = CollectionsMarshal.AsSpan(list309); - ref QuestStep reference236 = ref span102[0]; - QuestStep obj200 = new QuestStep(EInteractionType.Interact, 2009315u, new Vector3(-213.15332f, 40.390625f, 228.38171f), 612) - { - StopDistance = 0.5f, - Fly = true - }; - num3 = 6; - List> list310 = new List>(num3); - CollectionsMarshal.SetCount(list310, num3); - Span> span103 = CollectionsMarshal.AsSpan(list310); - span103[0] = null; - ref List reference237 = ref span103[1]; - num4 = 6; - List list311 = new List(num4); - CollectionsMarshal.SetCount(list311, num4); - Span span104 = CollectionsMarshal.AsSpan(list311); - span104[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span104[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span104[2] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span104[3] = new QuestWorkValue(null, (byte)7, EQuestWorkMode.Bitwise); - span104[4] = new QuestWorkValue(null, (byte)9, EQuestWorkMode.Bitwise); - span104[5] = new QuestWorkValue(null, (byte)10, EQuestWorkMode.Bitwise); - reference237 = list311; - span103[2] = null; - span103[3] = null; - span103[4] = null; - span103[5] = null; - obj200.RequiredQuestVariables = list310; - reference236 = obj200; - ref QuestStep reference238 = ref span102[1]; - QuestStep obj201 = new QuestStep(EInteractionType.Interact, 2009316u, new Vector3(-340.16937f, 51.71277f, 285.7556f), 612) - { - StopDistance = 0.5f, - Fly = true - }; - num3 = 6; - List> list312 = new List>(num3); - CollectionsMarshal.SetCount(list312, num3); - Span> span105 = CollectionsMarshal.AsSpan(list312); - span105[0] = null; - ref List reference239 = ref span105[1]; - num4 = 6; - List list313 = new List(num4); - CollectionsMarshal.SetCount(list313, num4); - Span span106 = CollectionsMarshal.AsSpan(list313); - span106[0] = new QuestWorkValue(null, (byte)5, EQuestWorkMode.Bitwise); - span106[1] = new QuestWorkValue(null, (byte)6, EQuestWorkMode.Bitwise); - span106[2] = new QuestWorkValue(null, (byte)7, EQuestWorkMode.Bitwise); - span106[3] = new QuestWorkValue(null, (byte)8, EQuestWorkMode.Bitwise); - span106[4] = new QuestWorkValue(null, (byte)9, EQuestWorkMode.Bitwise); - span106[5] = new QuestWorkValue(null, (byte)10, EQuestWorkMode.Bitwise); - reference239 = list313; - span105[2] = null; - span105[3] = null; - span105[4] = null; - span105[5] = null; - obj201.RequiredQuestVariables = list312; - reference238 = obj201; - ref QuestStep reference240 = ref span102[2]; - QuestStep obj202 = new QuestStep(EInteractionType.Interact, 2009317u, new Vector3(-347.34113f, 46.066895f, 216.99854f), 612) - { - StopDistance = 0.5f, - Fly = true - }; - num3 = 6; - List> list314 = new List>(num3); - CollectionsMarshal.SetCount(list314, num3); - Span> span107 = CollectionsMarshal.AsSpan(list314); - span107[0] = null; - ref List reference241 = ref span107[1]; - num4 = 6; - List list315 = new List(num4); - CollectionsMarshal.SetCount(list315, num4); - Span span108 = CollectionsMarshal.AsSpan(list315); - span108[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span108[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span108[2] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - span108[3] = new QuestWorkValue(null, (byte)5, EQuestWorkMode.Bitwise); - span108[4] = new QuestWorkValue(null, (byte)6, EQuestWorkMode.Bitwise); - span108[5] = new QuestWorkValue(null, (byte)9, EQuestWorkMode.Bitwise); - reference241 = list315; - span107[2] = null; - span107[3] = null; - span107[4] = null; - span107[5] = null; - obj202.RequiredQuestVariables = list314; - reference240 = obj202; - ref QuestStep reference242 = ref span102[3]; - QuestStep obj203 = new QuestStep(EInteractionType.Interact, 2009313u, new Vector3(-297.65778f, 57.114502f, 354.42126f), 612) - { - StopDistance = 0.5f, - Fly = true - }; - num3 = 6; - List> list316 = new List>(num3); - CollectionsMarshal.SetCount(list316, num3); - Span> span109 = CollectionsMarshal.AsSpan(list316); - span109[0] = null; - ref List reference243 = ref span109[1]; - num4 = 6; - List list317 = new List(num4); - CollectionsMarshal.SetCount(list317, num4); - Span span110 = CollectionsMarshal.AsSpan(list317); - span110[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span110[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span110[2] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - span110[3] = new QuestWorkValue(null, (byte)6, EQuestWorkMode.Bitwise); - span110[4] = new QuestWorkValue(null, (byte)7, EQuestWorkMode.Bitwise); - span110[5] = new QuestWorkValue(null, (byte)8, EQuestWorkMode.Bitwise); - reference243 = list317; - span109[2] = null; - span109[3] = null; - span109[4] = null; - span109[5] = null; - obj203.RequiredQuestVariables = list316; - reference242 = obj203; - ref QuestStep reference244 = ref span102[4]; - QuestStep obj204 = new QuestStep(EInteractionType.Interact, 2009314u, new Vector3(-253.10144f, 60.715576f, 363.08838f), 612) - { - StopDistance = 0.5f, - Fly = true - }; - num3 = 6; - List> list318 = new List>(num3); - CollectionsMarshal.SetCount(list318, num3); - Span> span111 = CollectionsMarshal.AsSpan(list318); - span111[0] = null; - ref List reference245 = ref span111[1]; - num4 = 6; - List list319 = new List(num4); - CollectionsMarshal.SetCount(list319, num4); - Span span112 = CollectionsMarshal.AsSpan(list319); - span112[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span112[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span112[2] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - span112[3] = new QuestWorkValue(null, (byte)5, EQuestWorkMode.Bitwise); - span112[4] = new QuestWorkValue(null, (byte)8, EQuestWorkMode.Bitwise); - span112[5] = new QuestWorkValue(null, (byte)10, EQuestWorkMode.Bitwise); - reference245 = list319; - span111[2] = null; - span111[3] = null; - span111[4] = null; - span111[5] = null; - obj204.RequiredQuestVariables = list318; - reference244 = obj204; - obj199.Steps = list309; - reference235 = obj199; - ref QuestSequence reference246 = ref span101[2]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list320 = new List(num2); - CollectionsMarshal.SetCount(list320, num2); - CollectionsMarshal.AsSpan(list320)[0] = new QuestStep(EInteractionType.Interact, 1025051u, new Vector3(50.858276f, 50.004295f, 299.94653f), 612) - { - Fly = true - }; - obj205.Steps = list320; - reference246 = obj205; - ref QuestSequence reference247 = ref span101[3]; - QuestSequence obj206 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list321 = new List(num2); - CollectionsMarshal.SetCount(list321, num2); - Span span113 = CollectionsMarshal.AsSpan(list321); - span113[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span113[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj206.Steps = list321; - reference247 = obj206; - questRoot33.QuestSequence = list307; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(3043); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list322 = new List(num); - CollectionsMarshal.SetCount(list322, num); - CollectionsMarshal.AsSpan(list322)[0] = "liza"; - questRoot34.Author = list322; - num = 3; - List list323 = new List(num); - CollectionsMarshal.SetCount(list323, num); - Span span114 = CollectionsMarshal.AsSpan(list323); - ref QuestSequence reference248 = ref span114[0]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list324 = new List(num2); - CollectionsMarshal.SetCount(list324, num2); - CollectionsMarshal.AsSpan(list324)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj207.Steps = list324; - reference248 = obj207; - ref QuestSequence reference249 = ref span114[1]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list325 = new List(num2); - CollectionsMarshal.SetCount(list325, num2); - Span span115 = CollectionsMarshal.AsSpan(list325); - ref QuestStep reference250 = ref span115[0]; - QuestStep obj209 = new QuestStep(EInteractionType.Interact, 2009318u, new Vector3(-229.66364f, 37.827026f, 171.46558f), 612) - { - Fly = true - }; - num3 = 6; - List> list326 = new List>(num3); - CollectionsMarshal.SetCount(list326, num3); - Span> span116 = CollectionsMarshal.AsSpan(list326); - span116[0] = null; - ref List reference251 = ref span116[1]; - num4 = 6; - List list327 = new List(num4); - CollectionsMarshal.SetCount(list327, num4); - Span span117 = CollectionsMarshal.AsSpan(list327); - span117[0] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - span117[1] = new QuestWorkValue(null, (byte)6, EQuestWorkMode.Bitwise); - span117[2] = new QuestWorkValue(null, (byte)7, EQuestWorkMode.Bitwise); - span117[3] = new QuestWorkValue(null, (byte)8, EQuestWorkMode.Bitwise); - span117[4] = new QuestWorkValue(null, (byte)9, EQuestWorkMode.Bitwise); - span117[5] = new QuestWorkValue(null, (byte)10, EQuestWorkMode.Bitwise); - reference251 = list327; - span116[2] = null; - span116[3] = null; - span116[4] = null; - span116[5] = null; - obj209.RequiredQuestVariables = list326; - reference250 = obj209; - ref QuestStep reference252 = ref span115[1]; - QuestStep obj210 = new QuestStep(EInteractionType.Interact, 2009319u, new Vector3(-287.5868f, 40.360107f, 173.72388f), 612) - { - Fly = true - }; - num3 = 6; - List> list328 = new List>(num3); - CollectionsMarshal.SetCount(list328, num3); - Span> span118 = CollectionsMarshal.AsSpan(list328); - span118[0] = null; - ref List reference253 = ref span118[1]; - num4 = 6; - List list329 = new List(num4); - CollectionsMarshal.SetCount(list329, num4); - Span span119 = CollectionsMarshal.AsSpan(list329); - span119[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span119[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span119[2] = new QuestWorkValue(null, (byte)5, EQuestWorkMode.Bitwise); - span119[3] = new QuestWorkValue(null, (byte)7, EQuestWorkMode.Bitwise); - span119[4] = new QuestWorkValue(null, (byte)8, EQuestWorkMode.Bitwise); - span119[5] = new QuestWorkValue(null, (byte)10, EQuestWorkMode.Bitwise); - reference253 = list329; - span118[2] = null; - span118[3] = null; - span118[4] = null; - span118[5] = null; - obj210.RequiredQuestVariables = list328; - reference252 = obj210; - ref QuestStep reference254 = ref span115[2]; - QuestStep obj211 = new QuestStep(EInteractionType.Interact, 2009320u, new Vector3(-209.33856f, 44.510498f, -18.96698f), 612) - { - Fly = true - }; - num3 = 6; - List> list330 = new List>(num3); - CollectionsMarshal.SetCount(list330, num3); - Span> span120 = CollectionsMarshal.AsSpan(list330); - span120[0] = null; - ref List reference255 = ref span120[1]; - num4 = 6; - List list331 = new List(num4); - CollectionsMarshal.SetCount(list331, num4); - Span span121 = CollectionsMarshal.AsSpan(list331); - span121[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span121[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span121[2] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span121[3] = new QuestWorkValue(null, (byte)6, EQuestWorkMode.Bitwise); - span121[4] = new QuestWorkValue(null, (byte)7, EQuestWorkMode.Bitwise); - span121[5] = new QuestWorkValue(null, (byte)9, EQuestWorkMode.Bitwise); - reference255 = list331; - span120[2] = null; - span120[3] = null; - span120[4] = null; - span120[5] = null; - obj211.RequiredQuestVariables = list330; - reference254 = obj211; - ref QuestStep reference256 = ref span115[3]; - QuestStep obj212 = new QuestStep(EInteractionType.Interact, 2009322u, new Vector3(-169.78723f, 42.160645f, -101.1521f), 612) - { - Fly = true - }; - num3 = 6; - List> list332 = new List>(num3); - CollectionsMarshal.SetCount(list332, num3); - Span> span122 = CollectionsMarshal.AsSpan(list332); - span122[0] = null; - ref List reference257 = ref span122[1]; - num4 = 6; - List list333 = new List(num4); - CollectionsMarshal.SetCount(list333, num4); - Span span123 = CollectionsMarshal.AsSpan(list333); - span123[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span123[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span123[2] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - span123[3] = new QuestWorkValue(null, (byte)5, EQuestWorkMode.Bitwise); - span123[4] = new QuestWorkValue(null, (byte)6, EQuestWorkMode.Bitwise); - span123[5] = new QuestWorkValue(null, (byte)10, EQuestWorkMode.Bitwise); - reference257 = list333; - span122[2] = null; - span122[3] = null; - span122[4] = null; - span122[5] = null; - obj212.RequiredQuestVariables = list332; - reference256 = obj212; - ref QuestStep reference258 = ref span115[4]; - QuestStep obj213 = new QuestStep(EInteractionType.Interact, 2009321u, new Vector3(-201.2207f, 45.51758f, -122.42316f), 612) - { - Fly = true - }; - num3 = 6; - List> list334 = new List>(num3); - CollectionsMarshal.SetCount(list334, num3); - Span> span124 = CollectionsMarshal.AsSpan(list334); - span124[0] = null; - ref List reference259 = ref span124[1]; - num4 = 6; - List list335 = new List(num4); - CollectionsMarshal.SetCount(list335, num4); - Span span125 = CollectionsMarshal.AsSpan(list335); - span125[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span125[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span125[2] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - span125[3] = new QuestWorkValue(null, (byte)5, EQuestWorkMode.Bitwise); - span125[4] = new QuestWorkValue(null, (byte)8, EQuestWorkMode.Bitwise); - span125[5] = new QuestWorkValue(null, (byte)9, EQuestWorkMode.Bitwise); - reference259 = list335; - span124[2] = null; - span124[3] = null; - span124[4] = null; - span124[5] = null; - obj213.RequiredQuestVariables = list334; - reference258 = obj213; - obj208.Steps = list325; - reference249 = obj208; - ref QuestSequence reference260 = ref span114[2]; - QuestSequence obj214 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list336 = new List(num2); - CollectionsMarshal.SetCount(list336, num2); - Span span126 = CollectionsMarshal.AsSpan(list336); - span126[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span126[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj214.Steps = list336; - reference260 = obj214; - questRoot34.QuestSequence = list323; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(3044); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list337 = new List(num); - CollectionsMarshal.SetCount(list337, num); - CollectionsMarshal.AsSpan(list337)[0] = "liza"; - questRoot35.Author = list337; - num = 3; - List list338 = new List(num); - CollectionsMarshal.SetCount(list338, num); - Span span127 = CollectionsMarshal.AsSpan(list338); - ref QuestSequence reference261 = ref span127[0]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list339 = new List(num2); - CollectionsMarshal.SetCount(list339, num2); - CollectionsMarshal.AsSpan(list339)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj215.Steps = list339; - reference261 = obj215; - ref QuestSequence reference262 = ref span127[1]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list340 = new List(num2); - CollectionsMarshal.SetCount(list340, num2); - ref QuestStep reference263 = ref CollectionsMarshal.AsSpan(list340)[0]; - QuestStep obj217 = new QuestStep(EInteractionType.Combat, 2009323u, new Vector3(-498.92426f, 39.352905f, 492.57642f), 612) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 3; - List list341 = new List(num3); - CollectionsMarshal.SetCount(list341, num3); - Span span128 = CollectionsMarshal.AsSpan(list341); - span128[0] = 8578u; - span128[1] = 8579u; - span128[2] = 8580u; - obj217.KillEnemyDataIds = list341; - reference263 = obj217; - obj216.Steps = list340; - reference262 = obj216; - ref QuestSequence reference264 = ref span127[2]; - QuestSequence obj218 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - Span span129 = CollectionsMarshal.AsSpan(list342); - span129[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span129[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj218.Steps = list342; - reference264 = obj218; - questRoot35.QuestSequence = list338; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(3045); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list343 = new List(num); - CollectionsMarshal.SetCount(list343, num); - CollectionsMarshal.AsSpan(list343)[0] = "liza"; - questRoot36.Author = list343; - num = 3; - List list344 = new List(num); - CollectionsMarshal.SetCount(list344, num); - Span span130 = CollectionsMarshal.AsSpan(list344); - ref QuestSequence reference265 = ref span130[0]; - QuestSequence obj219 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list345 = new List(num2); - CollectionsMarshal.SetCount(list345, num2); - CollectionsMarshal.AsSpan(list345)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj219.Steps = list345; - reference265 = obj219; - ref QuestSequence reference266 = ref span130[1]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list346 = new List(num2); - CollectionsMarshal.SetCount(list346, num2); - Span span131 = CollectionsMarshal.AsSpan(list346); - ref QuestStep reference267 = ref span131[0]; - QuestStep obj221 = new QuestStep(EInteractionType.UseItem, 2009325u, new Vector3(-606.1647f, 53.238647f, 233.26453f), 612) - { - Fly = true, - ItemId = 2002433u - }; - num3 = 6; - List> list347 = new List>(num3); - CollectionsMarshal.SetCount(list347, num3); - Span> span132 = CollectionsMarshal.AsSpan(list347); - span132[0] = null; - ref List reference268 = ref span132[1]; - num4 = 2; - List list348 = new List(num4); - CollectionsMarshal.SetCount(list348, num4); - Span span133 = CollectionsMarshal.AsSpan(list348); - span133[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span133[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference268 = list348; - span132[2] = null; - span132[3] = null; - span132[4] = null; - span132[5] = null; - obj221.RequiredQuestVariables = list347; - num3 = 6; - List list349 = new List(num3); - CollectionsMarshal.SetCount(list349, num3); - Span span134 = CollectionsMarshal.AsSpan(list349); - span134[0] = null; - span134[1] = null; - span134[2] = null; - span134[3] = null; - span134[4] = null; - span134[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj221.CompletionQuestVariablesFlags = list349; - reference267 = obj221; - ref QuestStep reference269 = ref span131[1]; - QuestStep obj222 = new QuestStep(EInteractionType.UseItem, 2009326u, new Vector3(-619.31793f, 45.181885f, 267.81104f), 612) - { - Fly = true, - ItemId = 2002433u - }; - num3 = 6; - List> list350 = new List>(num3); - CollectionsMarshal.SetCount(list350, num3); - Span> span135 = CollectionsMarshal.AsSpan(list350); - span135[0] = null; - ref List reference270 = ref span135[1]; - num4 = 2; - List list351 = new List(num4); - CollectionsMarshal.SetCount(list351, num4); - Span span136 = CollectionsMarshal.AsSpan(list351); - span136[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span136[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - reference270 = list351; - span135[2] = null; - span135[3] = null; - span135[4] = null; - span135[5] = null; - obj222.RequiredQuestVariables = list350; - num3 = 6; - List list352 = new List(num3); - CollectionsMarshal.SetCount(list352, num3); - Span span137 = CollectionsMarshal.AsSpan(list352); - span137[0] = null; - span137[1] = null; - span137[2] = null; - span137[3] = null; - span137[4] = null; - span137[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj222.CompletionQuestVariablesFlags = list352; - reference269 = obj222; - ref QuestStep reference271 = ref span131[2]; - QuestStep obj223 = new QuestStep(EInteractionType.UseItem, 2009324u, new Vector3(-631.70825f, 44.785156f, 306.14172f), 612) - { - Fly = true, - ItemId = 2002433u - }; - num3 = 6; - List> list353 = new List>(num3); - CollectionsMarshal.SetCount(list353, num3); - Span> span138 = CollectionsMarshal.AsSpan(list353); - span138[0] = null; - ref List reference272 = ref span138[1]; - num4 = 2; - List list354 = new List(num4); - CollectionsMarshal.SetCount(list354, num4); - Span span139 = CollectionsMarshal.AsSpan(list354); - span139[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span139[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference272 = list354; - span138[2] = null; - span138[3] = null; - span138[4] = null; - span138[5] = null; - obj223.RequiredQuestVariables = list353; - num3 = 6; - List list355 = new List(num3); - CollectionsMarshal.SetCount(list355, num3); - Span span140 = CollectionsMarshal.AsSpan(list355); - span140[0] = null; - span140[1] = null; - span140[2] = null; - span140[3] = null; - span140[4] = null; - span140[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj223.CompletionQuestVariablesFlags = list355; - reference271 = obj223; - obj220.Steps = list346; - reference266 = obj220; - ref QuestSequence reference273 = ref span130[2]; - QuestSequence obj224 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list356 = new List(num2); - CollectionsMarshal.SetCount(list356, num2); - Span span141 = CollectionsMarshal.AsSpan(list356); - span141[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span141[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj224.Steps = list356; - reference273 = obj224; - questRoot36.QuestSequence = list344; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(3046); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list357 = new List(num); - CollectionsMarshal.SetCount(list357, num); - CollectionsMarshal.AsSpan(list357)[0] = "liza"; - questRoot37.Author = list357; - num = 3; - List list358 = new List(num); - CollectionsMarshal.SetCount(list358, num); - Span span142 = CollectionsMarshal.AsSpan(list358); - ref QuestSequence reference274 = ref span142[0]; - QuestSequence obj225 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list359 = new List(num2); - CollectionsMarshal.SetCount(list359, num2); - CollectionsMarshal.AsSpan(list359)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj225.Steps = list359; - reference274 = obj225; - ref QuestSequence reference275 = ref span142[1]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list360 = new List(num2); - CollectionsMarshal.SetCount(list360, num2); - Span span143 = CollectionsMarshal.AsSpan(list360); - ref QuestStep reference276 = ref span143[0]; - QuestStep obj227 = new QuestStep(EInteractionType.Combat, 2009327u, new Vector3(-542.2294f, 44.052734f, 202.99072f), 612) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list361 = new List(num3); - CollectionsMarshal.SetCount(list361, num3); - CollectionsMarshal.AsSpan(list361)[0] = 8581u; - obj227.KillEnemyDataIds = list361; - num3 = 6; - List> list362 = new List>(num3); - CollectionsMarshal.SetCount(list362, num3); - Span> span144 = CollectionsMarshal.AsSpan(list362); - span144[0] = null; - span144[1] = null; - ref List reference277 = ref span144[2]; - num4 = 2; - List list363 = new List(num4); - CollectionsMarshal.SetCount(list363, num4); - Span span145 = CollectionsMarshal.AsSpan(list363); - span145[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span145[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - reference277 = list363; - span144[3] = null; - span144[4] = null; - span144[5] = null; - obj227.RequiredQuestVariables = list362; - reference276 = obj227; - ref QuestStep reference278 = ref span143[1]; - QuestStep obj228 = new QuestStep(EInteractionType.Combat, 2009328u, new Vector3(-491.72202f, 55.252808f, -17.746277f), 612) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list364 = new List(num3); - CollectionsMarshal.SetCount(list364, num3); - CollectionsMarshal.AsSpan(list364)[0] = 8581u; - obj228.KillEnemyDataIds = list364; - num3 = 6; - List> list365 = new List>(num3); - CollectionsMarshal.SetCount(list365, num3); - Span> span146 = CollectionsMarshal.AsSpan(list365); - span146[0] = null; - span146[1] = null; - ref List reference279 = ref span146[2]; - num4 = 2; - List list366 = new List(num4); - CollectionsMarshal.SetCount(list366, num4); - Span span147 = CollectionsMarshal.AsSpan(list366); - span147[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span147[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference279 = list366; - span146[3] = null; - span146[4] = null; - span146[5] = null; - obj228.RequiredQuestVariables = list365; - reference278 = obj228; - ref QuestStep reference280 = ref span143[2]; - QuestStep obj229 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-502.02115f, 71.42156f, -162.12122f), 612) - { - Fly = true - }; - num3 = 6; - List> list367 = new List>(num3); - CollectionsMarshal.SetCount(list367, num3); - Span> span148 = CollectionsMarshal.AsSpan(list367); - span148[0] = null; - span148[1] = null; - ref List reference281 = ref span148[2]; - num4 = 2; - List list368 = new List(num4); - CollectionsMarshal.SetCount(list368, num4); - Span span149 = CollectionsMarshal.AsSpan(list368); - span149[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span149[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference281 = list368; - span148[3] = null; - span148[4] = null; - span148[5] = null; - obj229.RequiredQuestVariables = list367; - reference280 = obj229; - ref QuestStep reference282 = ref span143[3]; - QuestStep obj230 = new QuestStep(EInteractionType.Combat, 2009329u, new Vector3(-500.05344f, 72.129395f, -162.43237f), 612) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list369 = new List(num3); - CollectionsMarshal.SetCount(list369, num3); - CollectionsMarshal.AsSpan(list369)[0] = 8581u; - obj230.KillEnemyDataIds = list369; - num3 = 6; - List> list370 = new List>(num3); - CollectionsMarshal.SetCount(list370, num3); - Span> span150 = CollectionsMarshal.AsSpan(list370); - span150[0] = null; - span150[1] = null; - ref List reference283 = ref span150[2]; - num4 = 2; - List list371 = new List(num4); - CollectionsMarshal.SetCount(list371, num4); - Span span151 = CollectionsMarshal.AsSpan(list371); - span151[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span151[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference283 = list371; - span150[3] = null; - span150[4] = null; - span150[5] = null; - obj230.RequiredQuestVariables = list370; - reference282 = obj230; - obj226.Steps = list360; - reference275 = obj226; - ref QuestSequence reference284 = ref span142[2]; - QuestSequence obj231 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list372 = new List(num2); - CollectionsMarshal.SetCount(list372, num2); - Span span152 = CollectionsMarshal.AsSpan(list372); - span152[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span152[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj231.Steps = list372; - reference284 = obj231; - questRoot37.QuestSequence = list358; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(3047); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list373 = new List(num); - CollectionsMarshal.SetCount(list373, num); - CollectionsMarshal.AsSpan(list373)[0] = "liza"; - questRoot38.Author = list373; - num = 3; - List list374 = new List(num); - CollectionsMarshal.SetCount(list374, num); - Span span153 = CollectionsMarshal.AsSpan(list374); - ref QuestSequence reference285 = ref span153[0]; - QuestSequence obj232 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list375 = new List(num2); - CollectionsMarshal.SetCount(list375, num2); - CollectionsMarshal.AsSpan(list375)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj232.Steps = list375; - reference285 = obj232; - ref QuestSequence reference286 = ref span153[1]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list376 = new List(num2); - CollectionsMarshal.SetCount(list376, num2); - Span span154 = CollectionsMarshal.AsSpan(list376); - ref QuestStep reference287 = ref span154[0]; - QuestStep obj234 = new QuestStep(EInteractionType.Combat, null, new Vector3(-269.18445f, 63.10759f, -378.01178f), 612) - { - StopDistance = 1f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list377 = new List(num3); - CollectionsMarshal.SetCount(list377, num3); - ref ComplexCombatData reference288 = ref CollectionsMarshal.AsSpan(list377)[0]; - ComplexCombatData obj235 = new ComplexCombatData - { - DataId = 8582u - }; - num4 = 6; - List list378 = new List(num4); - CollectionsMarshal.SetCount(list378, num4); - Span span155 = CollectionsMarshal.AsSpan(list378); - span155[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span155[1] = null; - span155[2] = null; - span155[3] = null; - span155[4] = null; - span155[5] = null; - obj235.CompletionQuestVariablesFlags = list378; - reference288 = obj235; - obj234.ComplexCombatData = list377; - num3 = 6; - List> list379 = new List>(num3); - CollectionsMarshal.SetCount(list379, num3); - Span> span156 = CollectionsMarshal.AsSpan(list379); - span156[0] = null; - span156[1] = null; - ref List reference289 = ref span156[2]; - num4 = 1; - List list380 = new List(num4); - CollectionsMarshal.SetCount(list380, num4); - CollectionsMarshal.AsSpan(list380)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference289 = list380; - span156[3] = null; - span156[4] = null; - span156[5] = null; - obj234.RequiredQuestVariables = list379; - reference287 = obj234; - ref QuestStep reference290 = ref span154[1]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1025054u, new Vector3(-269.18445f, 63.10759f, -378.01178f), 612); - num3 = 6; - List> list381 = new List>(num3); - CollectionsMarshal.SetCount(list381, num3); - Span> span157 = CollectionsMarshal.AsSpan(list381); - span157[0] = null; - span157[1] = null; - ref List reference291 = ref span157[2]; - num4 = 1; - List list382 = new List(num4); - CollectionsMarshal.SetCount(list382, num4); - CollectionsMarshal.AsSpan(list382)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference291 = list382; - span157[3] = null; - span157[4] = null; - span157[5] = null; - questStep17.RequiredQuestVariables = list381; - reference290 = questStep17; - ref QuestStep reference292 = ref span154[2]; - QuestStep obj236 = new QuestStep(EInteractionType.Combat, null, new Vector3(-489.06693f, 94.91285f, -332.41785f), 612) - { - StopDistance = 1f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list383 = new List(num3); - CollectionsMarshal.SetCount(list383, num3); - ref ComplexCombatData reference293 = ref CollectionsMarshal.AsSpan(list383)[0]; - ComplexCombatData obj237 = new ComplexCombatData - { - DataId = 8582u - }; - num4 = 6; - List list384 = new List(num4); - CollectionsMarshal.SetCount(list384, num4); - Span span158 = CollectionsMarshal.AsSpan(list384); - span158[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span158[1] = null; - span158[2] = null; - span158[3] = null; - span158[4] = null; - span158[5] = null; - obj237.CompletionQuestVariablesFlags = list384; - reference293 = obj237; - obj236.ComplexCombatData = list383; - num3 = 6; - List> list385 = new List>(num3); - CollectionsMarshal.SetCount(list385, num3); - Span> span159 = CollectionsMarshal.AsSpan(list385); - span159[0] = null; - span159[1] = null; - ref List reference294 = ref span159[2]; - num4 = 1; - List list386 = new List(num4); - CollectionsMarshal.SetCount(list386, num4); - CollectionsMarshal.AsSpan(list386)[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference294 = list386; - span159[3] = null; - span159[4] = null; - span159[5] = null; - obj236.RequiredQuestVariables = list385; - reference292 = obj236; - ref QuestStep reference295 = ref span154[3]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1025053u, new Vector3(-489.06693f, 94.91285f, -332.41785f), 612); - num3 = 6; - List> list387 = new List>(num3); - CollectionsMarshal.SetCount(list387, num3); - Span> span160 = CollectionsMarshal.AsSpan(list387); - span160[0] = null; - span160[1] = null; - ref List reference296 = ref span160[2]; - num4 = 1; - List list388 = new List(num4); - CollectionsMarshal.SetCount(list388, num4); - CollectionsMarshal.AsSpan(list388)[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference296 = list388; - span160[3] = null; - span160[4] = null; - span160[5] = null; - questStep18.RequiredQuestVariables = list387; - reference295 = questStep18; - ref QuestStep reference297 = ref span154[4]; - QuestStep obj238 = new QuestStep(EInteractionType.Combat, null, new Vector3(-440.3601f, 50.476315f, 144.06042f), 612) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list389 = new List(num3); - CollectionsMarshal.SetCount(list389, num3); - ref ComplexCombatData reference298 = ref CollectionsMarshal.AsSpan(list389)[0]; - ComplexCombatData obj239 = new ComplexCombatData - { - DataId = 8583u - }; - num4 = 6; - List list390 = new List(num4); - CollectionsMarshal.SetCount(list390, num4); - Span span161 = CollectionsMarshal.AsSpan(list390); - span161[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span161[1] = null; - span161[2] = null; - span161[3] = null; - span161[4] = null; - span161[5] = null; - obj239.CompletionQuestVariablesFlags = list390; - reference298 = obj239; - obj238.ComplexCombatData = list389; - num3 = 6; - List> list391 = new List>(num3); - CollectionsMarshal.SetCount(list391, num3); - Span> span162 = CollectionsMarshal.AsSpan(list391); - span162[0] = null; - span162[1] = null; - ref List reference299 = ref span162[2]; - num4 = 1; - List list392 = new List(num4); - CollectionsMarshal.SetCount(list392, num4); - CollectionsMarshal.AsSpan(list392)[0] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - reference299 = list392; - span162[3] = null; - span162[4] = null; - span162[5] = null; - obj238.RequiredQuestVariables = list391; - reference297 = obj238; - ref QuestStep reference300 = ref span154[5]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 1025052u, new Vector3(-440.3601f, 50.476315f, 144.06042f), 612); - num3 = 6; - List> list393 = new List>(num3); - CollectionsMarshal.SetCount(list393, num3); - Span> span163 = CollectionsMarshal.AsSpan(list393); - span163[0] = null; - span163[1] = null; - ref List reference301 = ref span163[2]; - num4 = 1; - List list394 = new List(num4); - CollectionsMarshal.SetCount(list394, num4); - CollectionsMarshal.AsSpan(list394)[0] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - reference301 = list394; - span163[3] = null; - span163[4] = null; - span163[5] = null; - questStep19.RequiredQuestVariables = list393; - reference300 = questStep19; - obj233.Steps = list376; - reference286 = obj233; - ref QuestSequence reference302 = ref span153[2]; - QuestSequence obj240 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list395 = new List(num2); - CollectionsMarshal.SetCount(list395, num2); - Span span164 = CollectionsMarshal.AsSpan(list395); - span164[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span164[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj240.Steps = list395; - reference302 = obj240; - questRoot38.QuestSequence = list374; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(3048); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list396 = new List(num); - CollectionsMarshal.SetCount(list396, num); - CollectionsMarshal.AsSpan(list396)[0] = "liza"; - questRoot39.Author = list396; - num = 4; - List list397 = new List(num); - CollectionsMarshal.SetCount(list397, num); - Span span165 = CollectionsMarshal.AsSpan(list397); - ref QuestSequence reference303 = ref span165[0]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list398 = new List(num2); - CollectionsMarshal.SetCount(list398, num2); - CollectionsMarshal.AsSpan(list398)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj241.Steps = list398; - reference303 = obj241; - ref QuestSequence reference304 = ref span165[1]; - QuestSequence obj242 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list399 = new List(num2); - CollectionsMarshal.SetCount(list399, num2); - Span span166 = CollectionsMarshal.AsSpan(list399); - ref QuestStep reference305 = ref span166[0]; - QuestStep obj243 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(178.82968f, 45.361248f, 453.55005f), 612) - { - Fly = true - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list400 = new List(num3); - CollectionsMarshal.SetCount(list400, num3); - Span span167 = CollectionsMarshal.AsSpan(list400); - span167[0] = null; - span167[1] = null; - span167[2] = null; - span167[3] = null; - span167[4] = null; - span167[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list400; - skipConditions2.StepIf = skipStepConditions2; - obj243.SkipConditions = skipConditions2; - num3 = 6; - List> list401 = new List>(num3); - CollectionsMarshal.SetCount(list401, num3); - Span> span168 = CollectionsMarshal.AsSpan(list401); - span168[0] = null; - ref List reference306 = ref span168[1]; - num4 = 3; - List list402 = new List(num4); - CollectionsMarshal.SetCount(list402, num4); - Span span169 = CollectionsMarshal.AsSpan(list402); - span169[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span169[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span169[2] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - reference306 = list402; - span168[2] = null; - span168[3] = null; - span168[4] = null; - span168[5] = null; - obj243.RequiredQuestVariables = list401; - reference305 = obj243; - ref QuestStep reference307 = ref span166[1]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 2009333u, new Vector3(180.4989f, 45.609253f, 452.78088f), 612); - num3 = 6; - List> list403 = new List>(num3); - CollectionsMarshal.SetCount(list403, num3); - Span> span170 = CollectionsMarshal.AsSpan(list403); - span170[0] = null; - ref List reference308 = ref span170[1]; - num4 = 3; - List list404 = new List(num4); - CollectionsMarshal.SetCount(list404, num4); - Span span171 = CollectionsMarshal.AsSpan(list404); - span171[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span171[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span171[2] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - reference308 = list404; - span170[2] = null; - span170[3] = null; - span170[4] = null; - span170[5] = null; - questStep20.RequiredQuestVariables = list403; - num3 = 6; - List list405 = new List(num3); - CollectionsMarshal.SetCount(list405, num3); - Span span172 = CollectionsMarshal.AsSpan(list405); - span172[0] = null; - span172[1] = null; - span172[2] = null; - span172[3] = null; - span172[4] = null; - span172[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep20.CompletionQuestVariablesFlags = list405; - reference307 = questStep20; - ref QuestStep reference309 = ref span166[2]; - QuestStep obj244 = new QuestStep(EInteractionType.Interact, 2009334u, new Vector3(261.21912f, 46.036377f, 369.98547f), 612) - { - Fly = true - }; - num3 = 6; - List> list406 = new List>(num3); - CollectionsMarshal.SetCount(list406, num3); - Span> span173 = CollectionsMarshal.AsSpan(list406); - span173[0] = null; - ref List reference310 = ref span173[1]; - num4 = 3; - List list407 = new List(num4); - CollectionsMarshal.SetCount(list407, num4); - Span span174 = CollectionsMarshal.AsSpan(list407); - span174[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span174[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span174[2] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - reference310 = list407; - span173[2] = null; - span173[3] = null; - span173[4] = null; - span173[5] = null; - obj244.RequiredQuestVariables = list406; - reference309 = obj244; - ref QuestStep reference311 = ref span166[3]; - QuestStep obj245 = new QuestStep(EInteractionType.Interact, 2009335u, new Vector3(239.45972f, 41.275635f, 293.6903f), 612) - { - Fly = true - }; - num3 = 6; - List> list408 = new List>(num3); - CollectionsMarshal.SetCount(list408, num3); - Span> span175 = CollectionsMarshal.AsSpan(list408); - span175[0] = null; - ref List reference312 = ref span175[1]; - num4 = 3; - List list409 = new List(num4); - CollectionsMarshal.SetCount(list409, num4); - Span span176 = CollectionsMarshal.AsSpan(list409); - span176[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span176[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span176[2] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference312 = list409; - span175[2] = null; - span175[3] = null; - span175[4] = null; - span175[5] = null; - obj245.RequiredQuestVariables = list408; - reference311 = obj245; - ref QuestStep reference313 = ref span166[4]; - QuestStep obj246 = new QuestStep(EInteractionType.Interact, 2009336u, new Vector3(331.6853f, 73.3501f, 142.96167f), 612) - { - Fly = true - }; - num3 = 6; - List> list410 = new List>(num3); - CollectionsMarshal.SetCount(list410, num3); - Span> span177 = CollectionsMarshal.AsSpan(list410); - span177[0] = null; - ref List reference314 = ref span177[1]; - num4 = 3; - List list411 = new List(num4); - CollectionsMarshal.SetCount(list411, num4); - Span span178 = CollectionsMarshal.AsSpan(list411); - span178[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span178[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span178[2] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - reference314 = list411; - span177[2] = null; - span177[3] = null; - span177[4] = null; - span177[5] = null; - obj246.RequiredQuestVariables = list410; - reference313 = obj246; - obj242.Steps = list399; - reference304 = obj242; - ref QuestSequence reference315 = ref span165[2]; - QuestSequence obj247 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list412 = new List(num2); - CollectionsMarshal.SetCount(list412, num2); - CollectionsMarshal.AsSpan(list412)[0] = new QuestStep(EInteractionType.Interact, 1025058u, new Vector3(12.344482f, 56.02146f, 260.76135f), 612) - { - Fly = true - }; - obj247.Steps = list412; - reference315 = obj247; - ref QuestSequence reference316 = ref span165[3]; - QuestSequence obj248 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list413 = new List(num2); - CollectionsMarshal.SetCount(list413, num2); - Span span179 = CollectionsMarshal.AsSpan(list413); - span179[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span179[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj248.Steps = list413; - reference316 = obj248; - questRoot39.QuestSequence = list397; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(3049); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list414 = new List(num); - CollectionsMarshal.SetCount(list414, num); - CollectionsMarshal.AsSpan(list414)[0] = "plogon_enjoyer"; - questRoot40.Author = list414; - num = 3; - List list415 = new List(num); - CollectionsMarshal.SetCount(list415, num); - Span span180 = CollectionsMarshal.AsSpan(list415); - ref QuestSequence reference317 = ref span180[0]; - QuestSequence obj249 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list416 = new List(num2); - CollectionsMarshal.SetCount(list416, num2); - CollectionsMarshal.AsSpan(list416)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj249.Steps = list416; - reference317 = obj249; - ref QuestSequence reference318 = ref span180[1]; - QuestSequence obj250 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list417 = new List(num2); - CollectionsMarshal.SetCount(list417, num2); - Span span181 = CollectionsMarshal.AsSpan(list417); - ref QuestStep reference319 = ref span181[0]; - QuestStep obj251 = new QuestStep(EInteractionType.Combat, 2009337u, new Vector3(94.95691f, 49.05774f, 575.2803f), 612) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list418 = new List(num3); - CollectionsMarshal.SetCount(list418, num3); - CollectionsMarshal.AsSpan(list418)[0] = 8584u; - obj251.KillEnemyDataIds = list418; - num3 = 6; - List> list419 = new List>(num3); - CollectionsMarshal.SetCount(list419, num3); - Span> span182 = CollectionsMarshal.AsSpan(list419); - span182[0] = null; - span182[1] = null; - ref List reference320 = ref span182[2]; - num4 = 2; - List list420 = new List(num4); - CollectionsMarshal.SetCount(list420, num4); - Span span183 = CollectionsMarshal.AsSpan(list420); - span183[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span183[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - reference320 = list420; - span182[3] = null; - span182[4] = null; - span182[5] = null; - obj251.RequiredQuestVariables = list419; - reference319 = obj251; - ref QuestStep reference321 = ref span181[1]; - QuestStep obj252 = new QuestStep(EInteractionType.Combat, 2009338u, new Vector3(180.07166f, 47.470703f, 546.1051f), 612) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list421 = new List(num3); - CollectionsMarshal.SetCount(list421, num3); - CollectionsMarshal.AsSpan(list421)[0] = 8584u; - obj252.KillEnemyDataIds = list421; - num3 = 6; - List> list422 = new List>(num3); - CollectionsMarshal.SetCount(list422, num3); - Span> span184 = CollectionsMarshal.AsSpan(list422); - span184[0] = null; - span184[1] = null; - ref List reference322 = ref span184[2]; - num4 = 2; - List list423 = new List(num4); - CollectionsMarshal.SetCount(list423, num4); - Span span185 = CollectionsMarshal.AsSpan(list423); - span185[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span185[1] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - reference322 = list423; - span184[3] = null; - span184[4] = null; - span184[5] = null; - obj252.RequiredQuestVariables = list422; - reference321 = obj252; - ref QuestStep reference323 = ref span181[2]; - QuestStep obj253 = new QuestStep(EInteractionType.Combat, 2009339u, new Vector3(291.21838f, 47.501343f, 496.75732f), 612) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list424 = new List(num3); - CollectionsMarshal.SetCount(list424, num3); - CollectionsMarshal.AsSpan(list424)[0] = 8584u; - obj253.KillEnemyDataIds = list424; - num3 = 6; - List> list425 = new List>(num3); - CollectionsMarshal.SetCount(list425, num3); - Span> span186 = CollectionsMarshal.AsSpan(list425); - span186[0] = null; - span186[1] = null; - ref List reference324 = ref span186[2]; - num4 = 2; - List list426 = new List(num4); - CollectionsMarshal.SetCount(list426, num4); - Span span187 = CollectionsMarshal.AsSpan(list426); - span187[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span187[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference324 = list426; - span186[3] = null; - span186[4] = null; - span186[5] = null; - obj253.RequiredQuestVariables = list425; - reference323 = obj253; - obj250.Steps = list417; - reference318 = obj250; - ref QuestSequence reference325 = ref span180[2]; - QuestSequence obj254 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list427 = new List(num2); - CollectionsMarshal.SetCount(list427, num2); - Span span188 = CollectionsMarshal.AsSpan(list427); - span188[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span188[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj254.Steps = list427; - reference325 = obj254; - questRoot40.QuestSequence = list415; - AddQuest(questId40, questRoot40); - } - - private static void LoadQuests61() - { - QuestId questId = new QuestId(3050); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "plogon_enjoyer"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - span2[0] = new QuestStep(EInteractionType.UseItem, 2009341u, new Vector3(333.1808f, 61.17334f, -362.41705f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachFringesGate - }, - ItemId = 2002437u - }; - span2[1] = new QuestStep(EInteractionType.UseItem, 2009340u, new Vector3(90.01294f, 74.44873f, -566.03345f), 612) - { - Fly = true, - ItemId = 2002437u - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - Span span3 = CollectionsMarshal.AsSpan(list5); - span3[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones - }; - span3[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj3.Steps = list5; - reference3 = obj3; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(3051); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list6 = new List(num); - CollectionsMarshal.SetCount(list6, num); - CollectionsMarshal.AsSpan(list6)[0] = "plogon_enjoyer"; - questRoot2.Author = list6; - num = 3; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - Span span4 = CollectionsMarshal.AsSpan(list7); - ref QuestSequence reference4 = ref span4[0]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj4.Steps = list8; - reference4 = obj4; - ref QuestSequence reference5 = ref span4[1]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - Span span5 = CollectionsMarshal.AsSpan(list9); - ref QuestStep reference6 = ref span5[0]; - QuestStep obj6 = new QuestStep(EInteractionType.Interact, 1025120u, new Vector3(-333.66907f, 43.042835f, -22.201904f), 612) - { - Fly = true - }; - int num3 = 6; - List> list10 = new List>(num3); - CollectionsMarshal.SetCount(list10, num3); - Span> span6 = CollectionsMarshal.AsSpan(list10); - span6[0] = null; - span6[1] = null; - span6[2] = null; - ref List reference7 = ref span6[3]; - int num4 = 2; - List list11 = new List(num4); - CollectionsMarshal.SetCount(list11, num4); - Span span7 = CollectionsMarshal.AsSpan(list11); - span7[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - span7[1] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - reference7 = list11; - span6[4] = null; - span6[5] = null; - obj6.RequiredQuestVariables = list10; - num3 = 1; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - CollectionsMarshal.AsSpan(list12)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANANA402_03051_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANANA402_03051_A1_000_001") - }; - obj6.DialogueChoices = list12; - reference6 = obj6; - ref QuestStep reference8 = ref span5[1]; - QuestStep obj7 = new QuestStep(EInteractionType.Combat, 1025062u, new Vector3(-345.7237f, 43.09622f, 177.84387f), 612) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - CollectionsMarshal.AsSpan(list13)[0] = 8587u; - obj7.KillEnemyDataIds = list13; - num3 = 6; - List> list14 = new List>(num3); - CollectionsMarshal.SetCount(list14, num3); - Span> span8 = CollectionsMarshal.AsSpan(list14); - span8[0] = null; - span8[1] = null; - span8[2] = null; - ref List reference9 = ref span8[3]; - num4 = 3; - List list15 = new List(num4); - CollectionsMarshal.SetCount(list15, num4); - Span span9 = CollectionsMarshal.AsSpan(list15); - span9[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span9[1] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - span9[2] = new QuestWorkValue(0, (byte)5, EQuestWorkMode.Bitwise); - reference9 = list15; - span8[4] = null; - span8[5] = null; - obj7.RequiredQuestVariables = list14; - num3 = 1; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - CollectionsMarshal.AsSpan(list16)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANANA402_03051_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANANA402_03051_A1_000_002") - }; - obj7.DialogueChoices = list16; - reference8 = obj7; - ref QuestStep reference10 = ref span5[2]; - QuestStep obj8 = new QuestStep(EInteractionType.Interact, 1025119u, new Vector3(-488.18192f, 81.128265f, -191.33289f), 612) - { - Fly = true - }; - num3 = 6; - List> list17 = new List>(num3); - CollectionsMarshal.SetCount(list17, num3); - Span> span10 = CollectionsMarshal.AsSpan(list17); - span10[0] = null; - span10[1] = null; - span10[2] = null; - ref List reference11 = ref span10[3]; - num4 = 3; - List list18 = new List(num4); - CollectionsMarshal.SetCount(list18, num4); - Span span11 = CollectionsMarshal.AsSpan(list18); - span11[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span11[1] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - span11[2] = new QuestWorkValue(0, (byte)5, EQuestWorkMode.Bitwise); - reference11 = list18; - span10[4] = null; - span10[5] = null; - obj8.RequiredQuestVariables = list17; - num3 = 1; - List list19 = new List(num3); - CollectionsMarshal.SetCount(list19, num3); - CollectionsMarshal.AsSpan(list19)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANANA402_03051_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANANA402_03051_A1_000_001") - }; - obj8.DialogueChoices = list19; - reference10 = obj8; - ref QuestStep reference12 = ref span5[3]; - QuestStep obj9 = new QuestStep(EInteractionType.Combat, 1025061u, new Vector3(-488.18192f, 81.128265f, -191.33289f), 612) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - CollectionsMarshal.AsSpan(list20)[0] = 8586u; - obj9.KillEnemyDataIds = list20; - num3 = 6; - List> list21 = new List>(num3); - CollectionsMarshal.SetCount(list21, num3); - Span> span12 = CollectionsMarshal.AsSpan(list21); - span12[0] = null; - span12[1] = null; - span12[2] = null; - ref List reference13 = ref span12[3]; - num4 = 2; - List list22 = new List(num4); - CollectionsMarshal.SetCount(list22, num4); - Span span13 = CollectionsMarshal.AsSpan(list22); - span13[0] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - span13[1] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - reference13 = list22; - span12[4] = null; - span12[5] = null; - obj9.RequiredQuestVariables = list21; - num3 = 1; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - CollectionsMarshal.AsSpan(list23)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANANA402_03051_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANANA402_03051_A1_000_002") - }; - obj9.DialogueChoices = list23; - reference12 = obj9; - ref QuestStep reference14 = ref span5[4]; - QuestStep obj10 = new QuestStep(EInteractionType.Combat, 1025060u, new Vector3(-572.9916f, 112.44218f, -229.32788f), 612) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - CollectionsMarshal.AsSpan(list24)[0] = 8585u; - obj10.KillEnemyDataIds = list24; - num3 = 6; - List> list25 = new List>(num3); - CollectionsMarshal.SetCount(list25, num3); - Span> span14 = CollectionsMarshal.AsSpan(list25); - span14[0] = null; - span14[1] = null; - span14[2] = null; - ref List reference15 = ref span14[3]; - num4 = 2; - List list26 = new List(num4); - CollectionsMarshal.SetCount(list26, num4); - Span span15 = CollectionsMarshal.AsSpan(list26); - span15[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - span15[1] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - reference15 = list26; - span14[4] = null; - span14[5] = null; - obj10.RequiredQuestVariables = list25; - num3 = 1; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - CollectionsMarshal.AsSpan(list27)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANANA402_03051_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANANA402_03051_A1_000_002") - }; - obj10.DialogueChoices = list27; - reference14 = obj10; - ref QuestStep reference16 = ref span5[5]; - QuestStep obj11 = new QuestStep(EInteractionType.Interact, 1025118u, new Vector3(-572.96106f, 112.436066f, -229.29736f), 612) - { - Fly = true - }; - num3 = 6; - List> list28 = new List>(num3); - CollectionsMarshal.SetCount(list28, num3); - Span> span16 = CollectionsMarshal.AsSpan(list28); - span16[0] = null; - span16[1] = null; - span16[2] = null; - ref List reference17 = ref span16[3]; - num4 = 3; - List list29 = new List(num4); - CollectionsMarshal.SetCount(list29, num4); - Span span17 = CollectionsMarshal.AsSpan(list29); - span17[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span17[1] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - span17[2] = new QuestWorkValue(0, (byte)5, EQuestWorkMode.Bitwise); - reference17 = list29; - span16[4] = null; - span16[5] = null; - obj11.RequiredQuestVariables = list28; - num3 = 1; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - CollectionsMarshal.AsSpan(list30)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANANA402_03051_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANANA402_03051_A1_000_001") - }; - obj11.DialogueChoices = list30; - reference16 = obj11; - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference18 = ref span4[2]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - Span span18 = CollectionsMarshal.AsSpan(list31); - span18[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones - }; - span18[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj12.Steps = list31; - reference18 = obj12; - questRoot2.QuestSequence = list7; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(3052); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list32 = new List(num); - CollectionsMarshal.SetCount(list32, num); - CollectionsMarshal.AsSpan(list32)[0] = "plogon_enjoyer"; - questRoot3.Author = list32; - num = 3; - List list33 = new List(num); - CollectionsMarshal.SetCount(list33, num); - Span span19 = CollectionsMarshal.AsSpan(list33); - ref QuestSequence reference19 = ref span19[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj13.Steps = list34; - reference19 = obj13; - ref QuestSequence reference20 = ref span19[1]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - Span span20 = CollectionsMarshal.AsSpan(list35); - ref QuestStep reference21 = ref span20[0]; - QuestStep obj15 = new QuestStep(EInteractionType.Emote, 1025066u, new Vector3(-155.90149f, 66.2623f, -366.93372f), 612) - { - Fly = true, - Emote = EEmote.Rally - }; - num3 = 6; - List> list36 = new List>(num3); - CollectionsMarshal.SetCount(list36, num3); - Span> span21 = CollectionsMarshal.AsSpan(list36); - span21[0] = null; - span21[1] = null; - ref List reference22 = ref span21[2]; - num4 = 1; - List list37 = new List(num4); - CollectionsMarshal.SetCount(list37, num4); - CollectionsMarshal.AsSpan(list37)[0] = new QuestWorkValue((byte)1, null, EQuestWorkMode.Bitwise); - reference22 = list37; - span21[3] = null; - span21[4] = null; - span21[5] = null; - obj15.RequiredQuestVariables = list36; - reference21 = obj15; - ref QuestStep reference23 = ref span20[1]; - QuestStep obj16 = new QuestStep(EInteractionType.Emote, 1025064u, new Vector3(185.62585f, 68.93902f, -372.15234f), 612) - { - Fly = true, - Emote = EEmote.Soothe - }; - num3 = 6; - List> list38 = new List>(num3); - CollectionsMarshal.SetCount(list38, num3); - Span> span22 = CollectionsMarshal.AsSpan(list38); - span22[0] = null; - ref List reference24 = ref span22[1]; - num4 = 1; - List list39 = new List(num4); - CollectionsMarshal.SetCount(list39, num4); - CollectionsMarshal.AsSpan(list39)[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - reference24 = list39; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = null; - obj16.RequiredQuestVariables = list38; - reference23 = obj16; - ref QuestStep reference25 = ref span20[2]; - QuestStep obj17 = new QuestStep(EInteractionType.Emote, 1025063u, new Vector3(291.73718f, 73.622604f, -496.87955f), 612) - { - Fly = true, - Emote = EEmote.Soothe - }; - num3 = 6; - List> list40 = new List>(num3); - CollectionsMarshal.SetCount(list40, num3); - Span> span23 = CollectionsMarshal.AsSpan(list40); - span23[0] = null; - ref List reference26 = ref span23[1]; - num4 = 1; - List list41 = new List(num4); - CollectionsMarshal.SetCount(list41, num4); - CollectionsMarshal.AsSpan(list41)[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - reference26 = list41; - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = null; - obj17.RequiredQuestVariables = list40; - reference25 = obj17; - ref QuestStep reference27 = ref span20[3]; - QuestStep obj18 = new QuestStep(EInteractionType.Emote, 1025065u, new Vector3(-73.04492f, 62.044453f, -878.78235f), 612) - { - Fly = true, - Emote = EEmote.Rally - }; - num3 = 6; - List> list42 = new List>(num3); - CollectionsMarshal.SetCount(list42, num3); - Span> span24 = CollectionsMarshal.AsSpan(list42); - span24[0] = null; - span24[1] = null; - ref List reference28 = ref span24[2]; - num4 = 1; - List list43 = new List(num4); - CollectionsMarshal.SetCount(list43, num4); - CollectionsMarshal.AsSpan(list43)[0] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - reference28 = list43; - span24[3] = null; - span24[4] = null; - span24[5] = null; - obj18.RequiredQuestVariables = list42; - reference27 = obj18; - obj14.Steps = list35; - reference20 = obj14; - ref QuestSequence reference29 = ref span19[2]; - QuestSequence obj19 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - Span span25 = CollectionsMarshal.AsSpan(list44); - span25[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones - }; - span25[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj19.Steps = list44; - reference29 = obj19; - questRoot3.QuestSequence = list33; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(3053); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - CollectionsMarshal.AsSpan(list45)[0] = "plogon_enjoyer"; - questRoot4.Author = list45; - num = 4; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - Span span26 = CollectionsMarshal.AsSpan(list46); - ref QuestSequence reference30 = ref span26[0]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj20.Steps = list47; - reference30 = obj20; - ref QuestSequence reference31 = ref span26[1]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - ref QuestStep reference32 = ref CollectionsMarshal.AsSpan(list48)[0]; - QuestStep obj22 = new QuestStep(EInteractionType.Combat, 1025067u, new Vector3(39.04773f, 43.373318f, -221.9425f), 612) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - CollectionsMarshal.AsSpan(list49)[0] = 8588u; - obj22.KillEnemyDataIds = list49; - reference32 = obj22; - obj21.Steps = list48; - reference31 = obj21; - ref QuestSequence reference33 = ref span26[2]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.Interact, 1025247u, new Vector3(41.45874f, 42.875717f, -218.28033f), 612); - obj23.Steps = list50; - reference33 = obj23; - ref QuestSequence reference34 = ref span26[3]; - QuestSequence obj24 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - Span span27 = CollectionsMarshal.AsSpan(list51); - span27[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span27[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj24.Steps = list51; - reference34 = obj24; - questRoot4.QuestSequence = list46; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(3054); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - CollectionsMarshal.AsSpan(list52)[0] = "plogon_enjoyer"; - questRoot5.Author = list52; - num = 3; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - Span span28 = CollectionsMarshal.AsSpan(list53); - ref QuestSequence reference35 = ref span28[0]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj25.Steps = list54; - reference35 = obj25; - ref QuestSequence reference36 = ref span28[1]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - Span span29 = CollectionsMarshal.AsSpan(list55); - ref QuestStep reference37 = ref span29[0]; - QuestStep obj27 = new QuestStep(EInteractionType.Combat, null, new Vector3(-169.52124f, 41.96321f, -23.855082f), 612) - { - Fly = true, - Land = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - CollectionsMarshal.AsSpan(list56)[0] = 8589u; - obj27.KillEnemyDataIds = list56; - obj27.CombatDelaySecondsAtStart = 1f; - num3 = 6; - List> list57 = new List>(num3); - CollectionsMarshal.SetCount(list57, num3); - Span> span30 = CollectionsMarshal.AsSpan(list57); - span30[0] = null; - span30[1] = null; - ref List reference38 = ref span30[2]; - num4 = 1; - List list58 = new List(num4); - CollectionsMarshal.SetCount(list58, num4); - CollectionsMarshal.AsSpan(list58)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference38 = list58; - span30[3] = null; - span30[4] = null; - span30[5] = null; - obj27.RequiredQuestVariables = list57; - reference37 = obj27; - ref QuestStep reference39 = ref span29[1]; - QuestStep obj28 = new QuestStep(EInteractionType.Combat, null, new Vector3(-259.28268f, 49.18244f, 33.798065f), 612) - { - Fly = true, - Land = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - CollectionsMarshal.AsSpan(list59)[0] = 8589u; - obj28.KillEnemyDataIds = list59; - obj28.CombatDelaySecondsAtStart = 1f; - num3 = 6; - List> list60 = new List>(num3); - CollectionsMarshal.SetCount(list60, num3); - Span> span31 = CollectionsMarshal.AsSpan(list60); - span31[0] = null; - span31[1] = null; - ref List reference40 = ref span31[2]; - num4 = 1; - List list61 = new List(num4); - CollectionsMarshal.SetCount(list61, num4); - CollectionsMarshal.AsSpan(list61)[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference40 = list61; - span31[3] = null; - span31[4] = null; - span31[5] = null; - obj28.RequiredQuestVariables = list60; - reference39 = obj28; - ref QuestStep reference41 = ref span29[2]; - QuestStep obj29 = new QuestStep(EInteractionType.Combat, null, new Vector3(-219.26901f, 43.36f, 90.7601f), 612) - { - Fly = true, - Land = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - CollectionsMarshal.AsSpan(list62)[0] = 8589u; - obj29.KillEnemyDataIds = list62; - obj29.CombatDelaySecondsAtStart = 1f; - num3 = 6; - List> list63 = new List>(num3); - CollectionsMarshal.SetCount(list63, num3); - Span> span32 = CollectionsMarshal.AsSpan(list63); - span32[0] = null; - span32[1] = null; - ref List reference42 = ref span32[2]; - num4 = 1; - List list64 = new List(num4); - CollectionsMarshal.SetCount(list64, num4); - CollectionsMarshal.AsSpan(list64)[0] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - reference42 = list64; - span32[3] = null; - span32[4] = null; - span32[5] = null; - obj29.RequiredQuestVariables = list63; - reference41 = obj29; - obj26.Steps = list55; - reference36 = obj26; - ref QuestSequence reference43 = ref span28[2]; - QuestSequence obj30 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - Span span33 = CollectionsMarshal.AsSpan(list65); - span33[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span33[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj30.Steps = list65; - reference43 = obj30; - questRoot5.QuestSequence = list53; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(3055); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - CollectionsMarshal.AsSpan(list66)[0] = "liza"; - questRoot6.Author = list66; - num = 4; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - Span span34 = CollectionsMarshal.AsSpan(list67); - ref QuestSequence reference44 = ref span34[0]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj31.Steps = list68; - reference44 = obj31; - ref QuestSequence reference45 = ref span34[1]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1024775u, new Vector3(-35.599304f, 55.9782f, 214.58752f), 612); - obj32.Steps = list69; - reference45 = obj32; - ref QuestSequence reference46 = ref span34[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - Span span35 = CollectionsMarshal.AsSpan(list70); - ref QuestStep reference47 = ref span35[0]; - QuestStep obj34 = new QuestStep(EInteractionType.Action, 1025170u, new Vector3(253.10132f, 45.434376f, 416.98328f), 612) - { - Fly = true, - Action = EAction.BuffetGriffin - }; - num3 = 6; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - Span span36 = CollectionsMarshal.AsSpan(list71); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj34.CompletionQuestVariablesFlags = list71; - reference47 = obj34; - ref QuestStep reference48 = ref span35[1]; - QuestStep obj35 = new QuestStep(EInteractionType.Action, 1025171u, new Vector3(349.8435f, 51.839485f, 229.66345f), 612) - { - Fly = true, - Action = EAction.BuffetGriffin - }; - num3 = 6; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - Span span37 = CollectionsMarshal.AsSpan(list72); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj35.CompletionQuestVariablesFlags = list72; - reference48 = obj35; - obj33.Steps = list70; - reference46 = obj33; - ref QuestSequence reference49 = ref span34[3]; - QuestSequence obj36 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - Span span38 = CollectionsMarshal.AsSpan(list73); - span38[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span38[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Mount = false - }; - obj36.Steps = list73; - reference49 = obj36; - questRoot6.QuestSequence = list67; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(3056); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - CollectionsMarshal.AsSpan(list74)[0] = "liza"; - questRoot7.Author = list74; - num = 3; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - Span span39 = CollectionsMarshal.AsSpan(list75); - ref QuestSequence reference50 = ref span39[0]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj37.Steps = list76; - reference50 = obj37; - ref QuestSequence reference51 = ref span39[1]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - ref QuestStep reference52 = ref CollectionsMarshal.AsSpan(list77)[0]; - QuestStep obj39 = new QuestStep(EInteractionType.Combat, 8590u, new Vector3(-50.436653f, 41.158955f, -264.4358f), 612) - { - Fly = true, - Land = true, - ItemId = 2002438u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - CollectionsMarshal.AsSpan(list78)[0] = new ComplexCombatData - { - DataId = 7030u - }; - obj39.ComplexCombatData = list78; - obj39.CombatItemUse = new CombatItemUse - { - ItemId = 2002438u, - Condition = ECombatItemUseCondition.MissingStatus, - Value = 22 - }; - reference52 = obj39; - obj38.Steps = list77; - reference51 = obj38; - ref QuestSequence reference53 = ref span39[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - Span span40 = CollectionsMarshal.AsSpan(list79); - span40[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span40[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj40.Steps = list79; - reference53 = obj40; - questRoot7.QuestSequence = list75; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(3057); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - CollectionsMarshal.AsSpan(list80)[0] = "liza"; - questRoot8.Author = list80; - num = 3; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - Span span41 = CollectionsMarshal.AsSpan(list81); - ref QuestSequence reference54 = ref span41[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj41.Steps = list82; - reference54 = obj41; - ref QuestSequence reference55 = ref span41[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - Span span42 = CollectionsMarshal.AsSpan(list83); - ref QuestStep reference56 = ref span42[0]; - QuestStep obj43 = new QuestStep(EInteractionType.Combat, 2009344u, new Vector3(101.304565f, 41.031494f, -180.89569f), 612) - { - Fly = true, - Comment = "Kill enemy, then use item", - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - CollectionsMarshal.AsSpan(list84)[0] = 8591u; - obj43.KillEnemyDataIds = list84; - num3 = 6; - List> list85 = new List>(num3); - CollectionsMarshal.SetCount(list85, num3); - Span> span43 = CollectionsMarshal.AsSpan(list85); - span43[0] = null; - span43[1] = null; - ref List reference57 = ref span43[2]; - num4 = 2; - List list86 = new List(num4); - CollectionsMarshal.SetCount(list86, num4); - Span span44 = CollectionsMarshal.AsSpan(list86); - span44[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span44[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference57 = list86; - span43[3] = null; - span43[4] = null; - span43[5] = null; - obj43.RequiredQuestVariables = list85; - reference56 = obj43; - ref QuestStep reference58 = ref span42[1]; - QuestStep obj44 = new QuestStep(EInteractionType.UseItem, 8591u, new Vector3(101.304565f, 41.031494f, -180.89569f), 612) - { - ItemId = 2002439u - }; - num3 = 6; - List> list87 = new List>(num3); - CollectionsMarshal.SetCount(list87, num3); - Span> span45 = CollectionsMarshal.AsSpan(list87); - span45[0] = null; - span45[1] = null; - ref List reference59 = ref span45[2]; - num4 = 2; - List list88 = new List(num4); - CollectionsMarshal.SetCount(list88, num4); - Span span46 = CollectionsMarshal.AsSpan(list88); - span46[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span46[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference59 = list88; - span45[3] = null; - span45[4] = null; - span45[5] = null; - obj44.RequiredQuestVariables = list87; - num3 = 6; - List list89 = new List(num3); - CollectionsMarshal.SetCount(list89, num3); - Span span47 = CollectionsMarshal.AsSpan(list89); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj44.CompletionQuestVariablesFlags = list89; - reference58 = obj44; - ref QuestStep reference60 = ref span42[2]; - QuestStep obj45 = new QuestStep(EInteractionType.Combat, 2009345u, new Vector3(136.40039f, 50.369995f, -397.69592f), 612) - { - Fly = true, - Comment = "Kill enemy, then use item", - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - CollectionsMarshal.AsSpan(list90)[0] = 8591u; - obj45.KillEnemyDataIds = list90; - num3 = 6; - List> list91 = new List>(num3); - CollectionsMarshal.SetCount(list91, num3); - Span> span48 = CollectionsMarshal.AsSpan(list91); - span48[0] = null; - span48[1] = null; - ref List reference61 = ref span48[2]; - num4 = 2; - List list92 = new List(num4); - CollectionsMarshal.SetCount(list92, num4); - Span span49 = CollectionsMarshal.AsSpan(list92); - span49[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span49[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference61 = list92; - span48[3] = null; - span48[4] = null; - span48[5] = null; - obj45.RequiredQuestVariables = list91; - reference60 = obj45; - ref QuestStep reference62 = ref span42[3]; - QuestStep obj46 = new QuestStep(EInteractionType.UseItem, 8591u, new Vector3(136.40039f, 50.369995f, -397.69592f), 612) - { - ItemId = 2002439u - }; - num3 = 6; - List> list93 = new List>(num3); - CollectionsMarshal.SetCount(list93, num3); - Span> span50 = CollectionsMarshal.AsSpan(list93); - span50[0] = null; - span50[1] = null; - ref List reference63 = ref span50[2]; - num4 = 2; - List list94 = new List(num4); - CollectionsMarshal.SetCount(list94, num4); - Span span51 = CollectionsMarshal.AsSpan(list94); - span51[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span51[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference63 = list94; - span50[3] = null; - span50[4] = null; - span50[5] = null; - obj46.RequiredQuestVariables = list93; - num3 = 6; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - Span span52 = CollectionsMarshal.AsSpan(list95); - span52[0] = null; - span52[1] = null; - span52[2] = null; - span52[3] = null; - span52[4] = null; - span52[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj46.CompletionQuestVariablesFlags = list95; - reference62 = obj46; - ref QuestStep reference64 = ref span42[4]; - QuestStep obj47 = new QuestStep(EInteractionType.Combat, 2009346u, new Vector3(12.588623f, 41.672363f, -294.02612f), 612) - { - Fly = true, - Comment = "Kill enemy, then use item", - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list96 = new List(num3); - CollectionsMarshal.SetCount(list96, num3); - CollectionsMarshal.AsSpan(list96)[0] = 8591u; - obj47.KillEnemyDataIds = list96; - num3 = 6; - List> list97 = new List>(num3); - CollectionsMarshal.SetCount(list97, num3); - Span> span53 = CollectionsMarshal.AsSpan(list97); - span53[0] = null; - span53[1] = null; - ref List reference65 = ref span53[2]; - num4 = 2; - List list98 = new List(num4); - CollectionsMarshal.SetCount(list98, num4); - Span span54 = CollectionsMarshal.AsSpan(list98); - span54[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span54[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - reference65 = list98; - span53[3] = null; - span53[4] = null; - span53[5] = null; - obj47.RequiredQuestVariables = list97; - reference64 = obj47; - ref QuestStep reference66 = ref span42[5]; - QuestStep obj48 = new QuestStep(EInteractionType.UseItem, 8591u, new Vector3(12.588623f, 41.672363f, -294.02612f), 612) - { - ItemId = 2002439u - }; - num3 = 6; - List> list99 = new List>(num3); - CollectionsMarshal.SetCount(list99, num3); - Span> span55 = CollectionsMarshal.AsSpan(list99); - span55[0] = null; - span55[1] = null; - ref List reference67 = ref span55[2]; - num4 = 2; - List list100 = new List(num4); - CollectionsMarshal.SetCount(list100, num4); - Span span56 = CollectionsMarshal.AsSpan(list100); - span56[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span56[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - reference67 = list100; - span55[3] = null; - span55[4] = null; - span55[5] = null; - obj48.RequiredQuestVariables = list99; - num3 = 6; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - Span span57 = CollectionsMarshal.AsSpan(list101); - span57[0] = null; - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj48.CompletionQuestVariablesFlags = list101; - reference66 = obj48; - obj42.Steps = list83; - reference55 = obj42; - ref QuestSequence reference68 = ref span41[2]; - QuestSequence obj49 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - Span span58 = CollectionsMarshal.AsSpan(list102); - span58[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span58[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj49.Steps = list102; - reference68 = obj49; - questRoot8.QuestSequence = list81; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(3058); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - CollectionsMarshal.AsSpan(list103)[0] = "plogon_enjoyer"; - questRoot9.Author = list103; - num = 6; - List list104 = new List(num); - CollectionsMarshal.SetCount(list104, num); - Span span59 = CollectionsMarshal.AsSpan(list104); - ref QuestSequence reference69 = ref span59[0]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj50.Steps = list105; - reference69 = obj50; - ref QuestSequence reference70 = ref span59[1]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.Interact, 2009347u, new Vector3(35.965454f, 51.255005f, 292.37805f), 612) - { - Fly = true - }; - obj51.Steps = list106; - reference70 = obj51; - ref QuestSequence reference71 = ref span59[2]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.Interact, 1025072u, new Vector3(94.04126f, 41.171764f, 376.57727f), 612) - { - Fly = true - }; - obj52.Steps = list107; - reference71 = obj52; - ref QuestSequence reference72 = ref span59[3]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.Interact, 2009347u, new Vector3(35.965454f, 51.255005f, 292.37805f), 612) - { - Fly = true - }; - obj53.Steps = list108; - reference72 = obj53; - ref QuestSequence reference73 = ref span59[4]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.Interact, 1025072u, new Vector3(94.04126f, 41.171764f, 376.57727f), 612) - { - Fly = true - }; - obj54.Steps = list109; - reference73 = obj54; - ref QuestSequence reference74 = ref span59[5]; - QuestSequence obj55 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - Span span60 = CollectionsMarshal.AsSpan(list110); - span60[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span60[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj55.Steps = list110; - reference74 = obj55; - questRoot9.QuestSequence = list104; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(3059); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - CollectionsMarshal.AsSpan(list111)[0] = "plogon_enjoyer"; - questRoot10.Author = list111; - num = 4; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - Span span61 = CollectionsMarshal.AsSpan(list112); - ref QuestSequence reference75 = ref span61[0]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj56.Steps = list113; - reference75 = obj56; - ref QuestSequence reference76 = ref span61[1]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.UseItem, 2009348u, new Vector3(798.2451f, 78.93494f, 345.26575f), 612) - { - Fly = true, - ItemId = 2002441u - }; - obj57.Steps = list114; - reference76 = obj57; - ref QuestSequence reference77 = ref span61[2]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - ref QuestStep reference78 = ref CollectionsMarshal.AsSpan(list115)[0]; - QuestStep obj59 = new QuestStep(EInteractionType.Combat, 2009349u, new Vector3(798.2451f, 78.93494f, 345.26575f), 612) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - CollectionsMarshal.AsSpan(list116)[0] = 8592u; - obj59.KillEnemyDataIds = list116; - reference78 = obj59; - obj58.Steps = list115; - reference77 = obj58; - ref QuestSequence reference79 = ref span61[3]; - QuestSequence obj60 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - Span span62 = CollectionsMarshal.AsSpan(list117); - span62[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span62[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj60.Steps = list117; - reference79 = obj60; - questRoot10.QuestSequence = list112; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(3060); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - CollectionsMarshal.AsSpan(list118)[0] = "plogon_enjoyer"; - questRoot11.Author = list118; - num = 5; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - Span span63 = CollectionsMarshal.AsSpan(list119); - ref QuestSequence reference80 = ref span63[0]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj61.Steps = list120; - reference80 = obj61; - ref QuestSequence reference81 = ref span63[1]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.Interact, 1025092u, new Vector3(693.6294f, 76.575005f, 479.51465f), 612) - { - Fly = true - }; - obj62.Steps = list121; - reference81 = obj62; - ref QuestSequence reference82 = ref span63[2]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.Snipe, 2009350u, new Vector3(620.29456f, 48.599854f, 349.87402f), 612) - { - Fly = true, - Comment = "Shoot the Crazed Dharas" - }; - obj63.Steps = list122; - reference82 = obj63; - ref QuestSequence reference83 = ref span63[3]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.Interact, 1025092u, new Vector3(693.6294f, 76.575005f, 479.51465f), 612) - { - Fly = true - }; - obj64.Steps = list123; - reference83 = obj64; - ref QuestSequence reference84 = ref span63[4]; - QuestSequence obj65 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - Span span64 = CollectionsMarshal.AsSpan(list124); - span64[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span64[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj65.Steps = list124; - reference84 = obj65; - questRoot11.QuestSequence = list119; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(3061); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list125 = new List(num); - CollectionsMarshal.SetCount(list125, num); - CollectionsMarshal.AsSpan(list125)[0] = "liza"; - questRoot12.Author = list125; - num = 4; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - Span span65 = CollectionsMarshal.AsSpan(list126); - ref QuestSequence reference85 = ref span65[0]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj66.Steps = list127; - reference85 = obj66; - ref QuestSequence reference86 = ref span65[1]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.Interact, 1024777u, new Vector3(-41.641907f, 55.97816f, 211.38318f), 612); - obj67.Steps = list128; - reference86 = obj67; - ref QuestSequence reference87 = ref span65[2]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - ref QuestStep reference88 = ref CollectionsMarshal.AsSpan(list129)[0]; - QuestStep obj69 = new QuestStep(EInteractionType.Combat, null, new Vector3(482.93036f, 42.43753f, 350.85095f), 612) - { - StopDistance = 0.5f, - Fly = true, - Land = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - CollectionsMarshal.AsSpan(list130)[0] = 8593u; - obj69.KillEnemyDataIds = list130; - reference88 = obj69; - obj68.Steps = list129; - reference87 = obj68; - ref QuestSequence reference89 = ref span65[3]; - QuestSequence obj70 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - Span span66 = CollectionsMarshal.AsSpan(list131); - span66[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span66[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj70.Steps = list131; - reference89 = obj70; - questRoot12.QuestSequence = list126; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(3062); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list132 = new List(num); - CollectionsMarshal.SetCount(list132, num); - CollectionsMarshal.AsSpan(list132)[0] = "liza"; - questRoot13.Author = list132; - num = 5; - List list133 = new List(num); - CollectionsMarshal.SetCount(list133, num); - Span span67 = CollectionsMarshal.AsSpan(list133); - ref QuestSequence reference90 = ref span67[0]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj71.Steps = list134; - reference90 = obj71; - ref QuestSequence reference91 = ref span67[1]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.Interact, 2009353u, new Vector3(269.1233f, 39.78015f, -202.01422f), 612) - { - Fly = true - }; - obj72.Steps = list135; - reference91 = obj72; - ref QuestSequence reference92 = ref span67[2]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.Interact, 2009353u, new Vector3(269.1233f, 39.78015f, -202.01422f), 612); - obj73.Steps = list136; - reference92 = obj73; - ref QuestSequence reference93 = ref span67[3]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.Interact, 2009353u, new Vector3(269.1233f, 39.78015f, -202.01422f), 612); - obj74.Steps = list137; - reference93 = obj74; - ref QuestSequence reference94 = ref span67[4]; - QuestSequence obj75 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - Span span68 = CollectionsMarshal.AsSpan(list138); - span68[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span68[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj75.Steps = list138; - reference94 = obj75; - questRoot13.QuestSequence = list133; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(3063); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - CollectionsMarshal.AsSpan(list139)[0] = "liza"; - questRoot14.Author = list139; - num = 3; - List list140 = new List(num); - CollectionsMarshal.SetCount(list140, num); - Span span69 = CollectionsMarshal.AsSpan(list140); - ref QuestSequence reference95 = ref span69[0]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj76.Steps = list141; - reference95 = obj76; - ref QuestSequence reference96 = ref span69[1]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - Span span70 = CollectionsMarshal.AsSpan(list142); - ref QuestStep reference97 = ref span70[0]; - QuestStep obj78 = new QuestStep(EInteractionType.Combat, 2009357u, new Vector3(-173.3883f, 58.1521f, -449.48505f), 612) - { - Fly = true, - ItemId = 2002446u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - CollectionsMarshal.AsSpan(list143)[0] = 8594u; - obj78.KillEnemyDataIds = list143; - num3 = 6; - List> list144 = new List>(num3); - CollectionsMarshal.SetCount(list144, num3); - Span> span71 = CollectionsMarshal.AsSpan(list144); - span71[0] = null; - span71[1] = null; - span71[2] = null; - ref List reference98 = ref span71[3]; - num4 = 3; - List list145 = new List(num4); - CollectionsMarshal.SetCount(list145, num4); - Span span72 = CollectionsMarshal.AsSpan(list145); - span72[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span72[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span72[2] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - reference98 = list145; - span71[4] = null; - span71[5] = null; - obj78.RequiredQuestVariables = list144; - num3 = 6; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - Span span73 = CollectionsMarshal.AsSpan(list146); - span73[0] = null; - span73[1] = null; - span73[2] = null; - span73[3] = null; - span73[4] = null; - span73[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj78.CompletionQuestVariablesFlags = list146; - reference97 = obj78; - ref QuestStep reference99 = ref span70[1]; - QuestStep obj79 = new QuestStep(EInteractionType.Combat, 2009356u, new Vector3(-210.2846f, 59.250732f, -512.0775f), 612) - { - Fly = true, - ItemId = 2002446u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list147 = new List(num3); - CollectionsMarshal.SetCount(list147, num3); - CollectionsMarshal.AsSpan(list147)[0] = 8594u; - obj79.KillEnemyDataIds = list147; - num3 = 6; - List> list148 = new List>(num3); - CollectionsMarshal.SetCount(list148, num3); - Span> span74 = CollectionsMarshal.AsSpan(list148); - span74[0] = null; - span74[1] = null; - span74[2] = null; - ref List reference100 = ref span74[3]; - num4 = 3; - List list149 = new List(num4); - CollectionsMarshal.SetCount(list149, num4); - Span span75 = CollectionsMarshal.AsSpan(list149); - span75[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span75[1] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - span75[2] = new QuestWorkValue(null, (byte)6, EQuestWorkMode.Bitwise); - reference100 = list149; - span74[4] = null; - span74[5] = null; - obj79.RequiredQuestVariables = list148; - num3 = 6; - List list150 = new List(num3); - CollectionsMarshal.SetCount(list150, num3); - Span span76 = CollectionsMarshal.AsSpan(list150); - span76[0] = null; - span76[1] = null; - span76[2] = null; - span76[3] = null; - span76[4] = null; - span76[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj79.CompletionQuestVariablesFlags = list150; - reference99 = obj79; - ref QuestStep reference101 = ref span70[2]; - QuestStep obj80 = new QuestStep(EInteractionType.Combat, 2009355u, new Vector3(-210.98651f, 59.28125f, -668.6351f), 612) - { - Fly = true, - ItemId = 2002446u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list151 = new List(num3); - CollectionsMarshal.SetCount(list151, num3); - CollectionsMarshal.AsSpan(list151)[0] = 8594u; - obj80.KillEnemyDataIds = list151; - num3 = 6; - List> list152 = new List>(num3); - CollectionsMarshal.SetCount(list152, num3); - Span> span77 = CollectionsMarshal.AsSpan(list152); - span77[0] = null; - span77[1] = null; - span77[2] = null; - ref List reference102 = ref span77[3]; - num4 = 3; - List list153 = new List(num4); - CollectionsMarshal.SetCount(list153, num4); - Span span78 = CollectionsMarshal.AsSpan(list153); - span78[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span78[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span78[2] = new QuestWorkValue(null, (byte)5, EQuestWorkMode.Bitwise); - reference102 = list153; - span77[4] = null; - span77[5] = null; - obj80.RequiredQuestVariables = list152; - num3 = 6; - List list154 = new List(num3); - CollectionsMarshal.SetCount(list154, num3); - Span span79 = CollectionsMarshal.AsSpan(list154); - span79[0] = null; - span79[1] = null; - span79[2] = null; - span79[3] = null; - span79[4] = null; - span79[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj80.CompletionQuestVariablesFlags = list154; - reference101 = obj80; - ref QuestStep reference103 = ref span70[3]; - QuestStep obj81 = new QuestStep(EInteractionType.Combat, 2009358u, new Vector3(-171.03839f, 59.098145f, -750.3014f), 612) - { - Fly = true, - ItemId = 2002446u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - CollectionsMarshal.AsSpan(list155)[0] = 8594u; - obj81.KillEnemyDataIds = list155; - num3 = 6; - List> list156 = new List>(num3); - CollectionsMarshal.SetCount(list156, num3); - Span> span80 = CollectionsMarshal.AsSpan(list156); - span80[0] = null; - span80[1] = null; - span80[2] = null; - ref List reference104 = ref span80[3]; - num4 = 3; - List list157 = new List(num4); - CollectionsMarshal.SetCount(list157, num4); - Span span81 = CollectionsMarshal.AsSpan(list157); - span81[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span81[1] = new QuestWorkValue(null, (byte)5, EQuestWorkMode.Bitwise); - span81[2] = new QuestWorkValue(null, (byte)6, EQuestWorkMode.Bitwise); - reference104 = list157; - span80[4] = null; - span80[5] = null; - obj81.RequiredQuestVariables = list156; - num3 = 6; - List list158 = new List(num3); - CollectionsMarshal.SetCount(list158, num3); - Span span82 = CollectionsMarshal.AsSpan(list158); - span82[0] = null; - span82[1] = null; - span82[2] = null; - span82[3] = null; - span82[4] = null; - span82[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj81.CompletionQuestVariablesFlags = list158; - reference103 = obj81; - obj77.Steps = list142; - reference96 = obj77; - ref QuestSequence reference105 = ref span69[2]; - QuestSequence obj82 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - Span span83 = CollectionsMarshal.AsSpan(list159); - span83[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span83[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj82.Steps = list159; - reference105 = obj82; - questRoot14.QuestSequence = list140; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(3064); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list160 = new List(num); - CollectionsMarshal.SetCount(list160, num); - CollectionsMarshal.AsSpan(list160)[0] = "liza"; - questRoot15.Author = list160; - num = 4; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - Span span84 = CollectionsMarshal.AsSpan(list161); - ref QuestSequence reference106 = ref span84[0]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj83.Steps = list162; - reference106 = obj83; - ref QuestSequence reference107 = ref span84[1]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 1 - }; - num2 = 12; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - Span span85 = CollectionsMarshal.AsSpan(list163); - ref QuestStep reference108 = ref span85[0]; - QuestStep obj85 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-524.1742f, 122.74836f, -452.27313f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - Span span86 = CollectionsMarshal.AsSpan(list164); - span86[0] = null; - span86[1] = null; - span86[2] = null; - span86[3] = null; - span86[4] = null; - span86[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list164; - skipConditions.StepIf = skipStepConditions; - obj85.SkipConditions = skipConditions; - num3 = 6; - List> list165 = new List>(num3); - CollectionsMarshal.SetCount(list165, num3); - Span> span87 = CollectionsMarshal.AsSpan(list165); - span87[0] = null; - ref List reference109 = ref span87[1]; - num4 = 8; - List list166 = new List(num4); - CollectionsMarshal.SetCount(list166, num4); - Span span88 = CollectionsMarshal.AsSpan(list166); - span88[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span88[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span88[2] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - span88[3] = new QuestWorkValue(null, (byte)5, EQuestWorkMode.Bitwise); - span88[4] = new QuestWorkValue(null, (byte)6, EQuestWorkMode.Bitwise); - span88[5] = new QuestWorkValue(null, (byte)8, EQuestWorkMode.Bitwise); - span88[6] = new QuestWorkValue(null, (byte)9, EQuestWorkMode.Bitwise); - span88[7] = new QuestWorkValue(null, (byte)10, EQuestWorkMode.Bitwise); - reference109 = list166; - span87[2] = null; - span87[3] = null; - span87[4] = null; - span87[5] = null; - obj85.RequiredQuestVariables = list165; - reference108 = obj85; - ref QuestStep reference110 = ref span85[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2009361u, new Vector3(-522.6368f, 122.72827f, -452.14008f), 612); - num3 = 6; - List> list167 = new List>(num3); - CollectionsMarshal.SetCount(list167, num3); - Span> span89 = CollectionsMarshal.AsSpan(list167); - span89[0] = null; - ref List reference111 = ref span89[1]; - num4 = 8; - List list168 = new List(num4); - CollectionsMarshal.SetCount(list168, num4); - Span span90 = CollectionsMarshal.AsSpan(list168); - span90[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span90[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span90[2] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - span90[3] = new QuestWorkValue(null, (byte)5, EQuestWorkMode.Bitwise); - span90[4] = new QuestWorkValue(null, (byte)6, EQuestWorkMode.Bitwise); - span90[5] = new QuestWorkValue(null, (byte)8, EQuestWorkMode.Bitwise); - span90[6] = new QuestWorkValue(null, (byte)9, EQuestWorkMode.Bitwise); - span90[7] = new QuestWorkValue(null, (byte)10, EQuestWorkMode.Bitwise); - reference111 = list168; - span89[2] = null; - span89[3] = null; - span89[4] = null; - span89[5] = null; - questStep.RequiredQuestVariables = list167; - num3 = 6; - List list169 = new List(num3); - CollectionsMarshal.SetCount(list169, num3); - Span span91 = CollectionsMarshal.AsSpan(list169); - span91[0] = null; - span91[1] = null; - span91[2] = null; - span91[3] = null; - span91[4] = null; - span91[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list169; - reference110 = questStep; - ref QuestStep reference112 = ref span85[2]; - QuestStep obj86 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-411.28598f, 131.97496f, -481.9826f), 612) - { - Fly = true - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list170 = new List(num3); - CollectionsMarshal.SetCount(list170, num3); - Span span92 = CollectionsMarshal.AsSpan(list170); - span92[0] = null; - span92[1] = null; - span92[2] = null; - span92[3] = null; - span92[4] = null; - span92[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list170; - skipConditions2.StepIf = skipStepConditions2; - obj86.SkipConditions = skipConditions2; - num3 = 6; - List> list171 = new List>(num3); - CollectionsMarshal.SetCount(list171, num3); - Span> span93 = CollectionsMarshal.AsSpan(list171); - span93[0] = null; - ref List reference113 = ref span93[1]; - num4 = 6; - List list172 = new List(num4); - CollectionsMarshal.SetCount(list172, num4); - Span span94 = CollectionsMarshal.AsSpan(list172); - span94[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span94[1] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - span94[2] = new QuestWorkValue(null, (byte)5, EQuestWorkMode.Bitwise); - span94[3] = new QuestWorkValue(null, (byte)6, EQuestWorkMode.Bitwise); - span94[4] = new QuestWorkValue(null, (byte)7, EQuestWorkMode.Bitwise); - span94[5] = new QuestWorkValue(null, (byte)8, EQuestWorkMode.Bitwise); - reference113 = list172; - span93[2] = null; - span93[3] = null; - span93[4] = null; - span93[5] = null; - obj86.RequiredQuestVariables = list171; - reference112 = obj86; - ref QuestStep reference114 = ref span85[3]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2009360u, new Vector3(-410.66608f, 131.85315f, -481.62054f), 612); - num3 = 6; - List> list173 = new List>(num3); - CollectionsMarshal.SetCount(list173, num3); - Span> span95 = CollectionsMarshal.AsSpan(list173); - span95[0] = null; - ref List reference115 = ref span95[1]; - num4 = 6; - List list174 = new List(num4); - CollectionsMarshal.SetCount(list174, num4); - Span span96 = CollectionsMarshal.AsSpan(list174); - span96[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span96[1] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - span96[2] = new QuestWorkValue(null, (byte)5, EQuestWorkMode.Bitwise); - span96[3] = new QuestWorkValue(null, (byte)6, EQuestWorkMode.Bitwise); - span96[4] = new QuestWorkValue(null, (byte)7, EQuestWorkMode.Bitwise); - span96[5] = new QuestWorkValue(null, (byte)8, EQuestWorkMode.Bitwise); - reference115 = list174; - span95[2] = null; - span95[3] = null; - span95[4] = null; - span95[5] = null; - questStep2.RequiredQuestVariables = list173; - num3 = 6; - List list175 = new List(num3); - CollectionsMarshal.SetCount(list175, num3); - Span span97 = CollectionsMarshal.AsSpan(list175); - span97[0] = null; - span97[1] = null; - span97[2] = null; - span97[3] = null; - span97[4] = null; - span97[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list175; - reference114 = questStep2; - ref QuestStep reference116 = ref span85[4]; - QuestStep obj87 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-394.2737f, 128.53287f, -511.0367f), 612) - { - Fly = true - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list176 = new List(num3); - CollectionsMarshal.SetCount(list176, num3); - Span span98 = CollectionsMarshal.AsSpan(list176); - span98[0] = null; - span98[1] = null; - span98[2] = null; - span98[3] = null; - span98[4] = null; - span98[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list176; - skipConditions3.StepIf = skipStepConditions3; - obj87.SkipConditions = skipConditions3; - num3 = 6; - List> list177 = new List>(num3); - CollectionsMarshal.SetCount(list177, num3); - Span> span99 = CollectionsMarshal.AsSpan(list177); - span99[0] = null; - ref List reference117 = ref span99[1]; - num4 = 7; - List list178 = new List(num4); - CollectionsMarshal.SetCount(list178, num4); - Span span100 = CollectionsMarshal.AsSpan(list178); - span100[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span100[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span100[2] = new QuestWorkValue(null, (byte)6, EQuestWorkMode.Bitwise); - span100[3] = new QuestWorkValue(null, (byte)7, EQuestWorkMode.Bitwise); - span100[4] = new QuestWorkValue(null, (byte)8, EQuestWorkMode.Bitwise); - span100[5] = new QuestWorkValue(null, (byte)9, EQuestWorkMode.Bitwise); - span100[6] = new QuestWorkValue(null, (byte)10, EQuestWorkMode.Bitwise); - reference117 = list178; - span99[2] = null; - span99[3] = null; - span99[4] = null; - span99[5] = null; - obj87.RequiredQuestVariables = list177; - reference116 = obj87; - ref QuestStep reference118 = ref span85[5]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2009359u, new Vector3(-395.62067f, 128.83191f, -509.72766f), 612); - num3 = 6; - List> list179 = new List>(num3); - CollectionsMarshal.SetCount(list179, num3); - Span> span101 = CollectionsMarshal.AsSpan(list179); - span101[0] = null; - ref List reference119 = ref span101[1]; - num4 = 7; - List list180 = new List(num4); - CollectionsMarshal.SetCount(list180, num4); - Span span102 = CollectionsMarshal.AsSpan(list180); - span102[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span102[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span102[2] = new QuestWorkValue(null, (byte)6, EQuestWorkMode.Bitwise); - span102[3] = new QuestWorkValue(null, (byte)7, EQuestWorkMode.Bitwise); - span102[4] = new QuestWorkValue(null, (byte)8, EQuestWorkMode.Bitwise); - span102[5] = new QuestWorkValue(null, (byte)9, EQuestWorkMode.Bitwise); - span102[6] = new QuestWorkValue(null, (byte)10, EQuestWorkMode.Bitwise); - reference119 = list180; - span101[2] = null; - span101[3] = null; - span101[4] = null; - span101[5] = null; - questStep3.RequiredQuestVariables = list179; - num3 = 6; - List list181 = new List(num3); - CollectionsMarshal.SetCount(list181, num3); - Span span103 = CollectionsMarshal.AsSpan(list181); - span103[0] = null; - span103[1] = null; - span103[2] = null; - span103[3] = null; - span103[4] = null; - span103[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list181; - reference118 = questStep3; - ref QuestStep reference120 = ref span85[6]; - QuestStep obj88 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-476.37286f, 97.33316f, -344.84885f), 612) - { - Fly = true - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list182 = new List(num3); - CollectionsMarshal.SetCount(list182, num3); - Span span104 = CollectionsMarshal.AsSpan(list182); - span104[0] = null; - span104[1] = null; - span104[2] = null; - span104[3] = null; - span104[4] = null; - span104[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list182; - skipConditions4.StepIf = skipStepConditions4; - obj88.SkipConditions = skipConditions4; - num3 = 6; - List> list183 = new List>(num3); - CollectionsMarshal.SetCount(list183, num3); - Span> span105 = CollectionsMarshal.AsSpan(list183); - span105[0] = null; - ref List reference121 = ref span105[1]; - num4 = 6; - List list184 = new List(num4); - CollectionsMarshal.SetCount(list184, num4); - Span span106 = CollectionsMarshal.AsSpan(list184); - span106[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span106[1] = new QuestWorkValue(null, (byte)5, EQuestWorkMode.Bitwise); - span106[2] = new QuestWorkValue(null, (byte)7, EQuestWorkMode.Bitwise); - span106[3] = new QuestWorkValue(null, (byte)8, EQuestWorkMode.Bitwise); - span106[4] = new QuestWorkValue(null, (byte)9, EQuestWorkMode.Bitwise); - span106[5] = new QuestWorkValue(null, (byte)10, EQuestWorkMode.Bitwise); - reference121 = list184; - span105[2] = null; - span105[3] = null; - span105[4] = null; - span105[5] = null; - obj88.RequiredQuestVariables = list183; - reference120 = obj88; - ref QuestStep reference122 = ref span85[7]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2009364u, new Vector3(-475.21173f, 97.58142f, -344.0147f), 612); - num3 = 6; - List> list185 = new List>(num3); - CollectionsMarshal.SetCount(list185, num3); - Span> span107 = CollectionsMarshal.AsSpan(list185); - span107[0] = null; - ref List reference123 = ref span107[1]; - num4 = 6; - List list186 = new List(num4); - CollectionsMarshal.SetCount(list186, num4); - Span span108 = CollectionsMarshal.AsSpan(list186); - span108[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span108[1] = new QuestWorkValue(null, (byte)5, EQuestWorkMode.Bitwise); - span108[2] = new QuestWorkValue(null, (byte)7, EQuestWorkMode.Bitwise); - span108[3] = new QuestWorkValue(null, (byte)8, EQuestWorkMode.Bitwise); - span108[4] = new QuestWorkValue(null, (byte)9, EQuestWorkMode.Bitwise); - span108[5] = new QuestWorkValue(null, (byte)10, EQuestWorkMode.Bitwise); - reference123 = list186; - span107[2] = null; - span107[3] = null; - span107[4] = null; - span107[5] = null; - questStep4.RequiredQuestVariables = list185; - num3 = 6; - List list187 = new List(num3); - CollectionsMarshal.SetCount(list187, num3); - Span span109 = CollectionsMarshal.AsSpan(list187); - span109[0] = null; - span109[1] = null; - span109[2] = null; - span109[3] = null; - span109[4] = null; - span109[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list187; - reference122 = questStep4; - ref QuestStep reference124 = ref span85[8]; - QuestStep obj89 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-473.84753f, 93.84488f, -326.1048f), 612) - { - Fly = true - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 6; - List list188 = new List(num3); - CollectionsMarshal.SetCount(list188, num3); - Span span110 = CollectionsMarshal.AsSpan(list188); - span110[0] = null; - span110[1] = null; - span110[2] = null; - span110[3] = null; - span110[4] = null; - span110[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - skipStepConditions5.CompletionQuestVariablesFlags = list188; - skipConditions5.StepIf = skipStepConditions5; - obj89.SkipConditions = skipConditions5; - num3 = 6; - List> list189 = new List>(num3); - CollectionsMarshal.SetCount(list189, num3); - Span> span111 = CollectionsMarshal.AsSpan(list189); - span111[0] = null; - ref List reference125 = ref span111[1]; - num4 = 6; - List list190 = new List(num4); - CollectionsMarshal.SetCount(list190, num4); - Span span112 = CollectionsMarshal.AsSpan(list190); - span112[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span112[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span112[2] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span112[3] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - span112[4] = new QuestWorkValue(null, (byte)6, EQuestWorkMode.Bitwise); - span112[5] = new QuestWorkValue(null, (byte)9, EQuestWorkMode.Bitwise); - reference125 = list190; - span111[2] = null; - span111[3] = null; - span111[4] = null; - span111[5] = null; - obj89.RequiredQuestVariables = list189; - reference124 = obj89; - ref QuestStep reference126 = ref span85[9]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2009363u, new Vector3(-472.43463f, 93.43091f, -325.76483f), 612); - num3 = 6; - List> list191 = new List>(num3); - CollectionsMarshal.SetCount(list191, num3); - Span> span113 = CollectionsMarshal.AsSpan(list191); - span113[0] = null; - ref List reference127 = ref span113[1]; - num4 = 6; - List list192 = new List(num4); - CollectionsMarshal.SetCount(list192, num4); - Span span114 = CollectionsMarshal.AsSpan(list192); - span114[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span114[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span114[2] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span114[3] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - span114[4] = new QuestWorkValue(null, (byte)6, EQuestWorkMode.Bitwise); - span114[5] = new QuestWorkValue(null, (byte)9, EQuestWorkMode.Bitwise); - reference127 = list192; - span113[2] = null; - span113[3] = null; - span113[4] = null; - span113[5] = null; - questStep5.RequiredQuestVariables = list191; - num3 = 6; - List list193 = new List(num3); - CollectionsMarshal.SetCount(list193, num3); - Span span115 = CollectionsMarshal.AsSpan(list193); - span115[0] = null; - span115[1] = null; - span115[2] = null; - span115[3] = null; - span115[4] = null; - span115[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list193; - reference126 = questStep5; - ref QuestStep reference128 = ref span85[10]; - QuestStep obj90 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-556.22284f, 104.33577f, -310.49774f), 612) - { - Fly = true - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 6; - List list194 = new List(num3); - CollectionsMarshal.SetCount(list194, num3); - Span span116 = CollectionsMarshal.AsSpan(list194); - span116[0] = null; - span116[1] = null; - span116[2] = null; - span116[3] = null; - span116[4] = null; - span116[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions6.CompletionQuestVariablesFlags = list194; - skipConditions6.StepIf = skipStepConditions6; - obj90.SkipConditions = skipConditions6; - num3 = 6; - List> list195 = new List>(num3); - CollectionsMarshal.SetCount(list195, num3); - Span> span117 = CollectionsMarshal.AsSpan(list195); - span117[0] = null; - ref List reference129 = ref span117[1]; - num4 = 7; - List list196 = new List(num4); - CollectionsMarshal.SetCount(list196, num4); - Span span118 = CollectionsMarshal.AsSpan(list196); - span118[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span118[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span118[2] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span118[3] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - span118[4] = new QuestWorkValue(null, (byte)5, EQuestWorkMode.Bitwise); - span118[5] = new QuestWorkValue(null, (byte)7, EQuestWorkMode.Bitwise); - span118[6] = new QuestWorkValue(null, (byte)10, EQuestWorkMode.Bitwise); - reference129 = list196; - span117[2] = null; - span117[3] = null; - span117[4] = null; - span117[5] = null; - obj90.RequiredQuestVariables = list195; - reference128 = obj90; - ref QuestStep reference130 = ref span85[11]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2009362u, new Vector3(-554.00934f, 103.471436f, -310.10913f), 612); - num3 = 6; - List> list197 = new List>(num3); - CollectionsMarshal.SetCount(list197, num3); - Span> span119 = CollectionsMarshal.AsSpan(list197); - span119[0] = null; - ref List reference131 = ref span119[1]; - num4 = 7; - List list198 = new List(num4); - CollectionsMarshal.SetCount(list198, num4); - Span span120 = CollectionsMarshal.AsSpan(list198); - span120[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span120[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span120[2] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span120[3] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - span120[4] = new QuestWorkValue(null, (byte)5, EQuestWorkMode.Bitwise); - span120[5] = new QuestWorkValue(null, (byte)7, EQuestWorkMode.Bitwise); - span120[6] = new QuestWorkValue(null, (byte)10, EQuestWorkMode.Bitwise); - reference131 = list198; - span119[2] = null; - span119[3] = null; - span119[4] = null; - span119[5] = null; - questStep6.RequiredQuestVariables = list197; - num3 = 6; - List list199 = new List(num3); - CollectionsMarshal.SetCount(list199, num3); - Span span121 = CollectionsMarshal.AsSpan(list199); - span121[0] = null; - span121[1] = null; - span121[2] = null; - span121[3] = null; - span121[4] = null; - span121[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list199; - reference130 = questStep6; - obj84.Steps = list163; - reference107 = obj84; - ref QuestSequence reference132 = ref span84[2]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.Interact, 1025073u, new Vector3(-4.1047363f, 56.137817f, 246.1737f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones - }; - obj91.Steps = list200; - reference132 = obj91; - ref QuestSequence reference133 = ref span84[3]; - QuestSequence obj92 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - Span span122 = CollectionsMarshal.AsSpan(list201); - span122[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612); - span122[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj92.Steps = list201; - reference133 = obj92; - questRoot15.QuestSequence = list161; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(3065); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list202 = new List(num); - CollectionsMarshal.SetCount(list202, num); - CollectionsMarshal.AsSpan(list202)[0] = "liza"; - questRoot16.Author = list202; - num = 3; - List list203 = new List(num); - CollectionsMarshal.SetCount(list203, num); - Span span123 = CollectionsMarshal.AsSpan(list203); - ref QuestSequence reference134 = ref span123[0]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj93.Steps = list204; - reference134 = obj93; - ref QuestSequence reference135 = ref span123[1]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - Span span124 = CollectionsMarshal.AsSpan(list205); - ref QuestStep reference136 = ref span124[0]; - QuestStep obj95 = new QuestStep(EInteractionType.UseItem, 2009369u, new Vector3(186.38892f, 103.25781f, 15.854065f), 612) - { - Fly = true, - ItemId = 2002450u - }; - num3 = 6; - List> list206 = new List>(num3); - CollectionsMarshal.SetCount(list206, num3); - Span> span125 = CollectionsMarshal.AsSpan(list206); - span125[0] = null; - span125[1] = null; - ref List reference137 = ref span125[2]; - num4 = 3; - List list207 = new List(num4); - CollectionsMarshal.SetCount(list207, num4); - Span span126 = CollectionsMarshal.AsSpan(list207); - span126[0] = new QuestWorkValue((byte)1, null, EQuestWorkMode.Bitwise); - span126[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span126[2] = new QuestWorkValue((byte)4, null, EQuestWorkMode.Bitwise); - reference137 = list207; - span125[3] = null; - span125[4] = null; - span125[5] = null; - obj95.RequiredQuestVariables = list206; - num3 = 6; - List list208 = new List(num3); - CollectionsMarshal.SetCount(list208, num3); - Span span127 = CollectionsMarshal.AsSpan(list208); - span127[0] = null; - span127[1] = null; - span127[2] = null; - span127[3] = null; - span127[4] = null; - span127[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj95.CompletionQuestVariablesFlags = list208; - reference136 = obj95; - ref QuestStep reference138 = ref span124[1]; - QuestStep obj96 = new QuestStep(EInteractionType.UseItem, 2009368u, new Vector3(170.06177f, 103.53235f, 17.776672f), 612) - { - Fly = true, - ItemId = 2002450u - }; - num3 = 6; - List> list209 = new List>(num3); - CollectionsMarshal.SetCount(list209, num3); - Span> span128 = CollectionsMarshal.AsSpan(list209); - span128[0] = null; - span128[1] = null; - ref List reference139 = ref span128[2]; - num4 = 2; - List list210 = new List(num4); - CollectionsMarshal.SetCount(list210, num4); - Span span129 = CollectionsMarshal.AsSpan(list210); - span129[0] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span129[1] = new QuestWorkValue((byte)5, null, EQuestWorkMode.Bitwise); - reference139 = list210; - span128[3] = null; - span128[4] = null; - span128[5] = null; - obj96.RequiredQuestVariables = list209; - num3 = 6; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - Span span130 = CollectionsMarshal.AsSpan(list211); - span130[0] = null; - span130[1] = null; - span130[2] = null; - span130[3] = null; - span130[4] = null; - span130[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj96.CompletionQuestVariablesFlags = list211; - reference138 = obj96; - ref QuestStep reference140 = ref span124[2]; - QuestStep obj97 = new QuestStep(EInteractionType.UseItem, 2009367u, new Vector3(171.61816f, 113.725464f, -0.13739014f), 612) - { - Fly = true, - ItemId = 2002450u - }; - num3 = 6; - List> list212 = new List>(num3); - CollectionsMarshal.SetCount(list212, num3); - Span> span131 = CollectionsMarshal.AsSpan(list212); - span131[0] = null; - span131[1] = null; - ref List reference141 = ref span131[2]; - num4 = 4; - List list213 = new List(num4); - CollectionsMarshal.SetCount(list213, num4); - Span span132 = CollectionsMarshal.AsSpan(list213); - span132[0] = new QuestWorkValue((byte)1, null, EQuestWorkMode.Bitwise); - span132[1] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - span132[2] = new QuestWorkValue((byte)4, null, EQuestWorkMode.Bitwise); - span132[3] = new QuestWorkValue((byte)5, null, EQuestWorkMode.Bitwise); - reference141 = list213; - span131[3] = null; - span131[4] = null; - span131[5] = null; - obj97.RequiredQuestVariables = list212; - num3 = 6; - List list214 = new List(num3); - CollectionsMarshal.SetCount(list214, num3); - Span span133 = CollectionsMarshal.AsSpan(list214); - span133[0] = null; - span133[1] = null; - span133[2] = null; - span133[3] = null; - span133[4] = null; - span133[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj97.CompletionQuestVariablesFlags = list214; - reference140 = obj97; - ref QuestStep reference142 = ref span124[3]; - QuestStep obj98 = new QuestStep(EInteractionType.UseItem, 2009366u, new Vector3(170.27539f, 111.46704f, -31.693054f), 612) - { - Fly = true, - ItemId = 2002450u - }; - num3 = 6; - List> list215 = new List>(num3); - CollectionsMarshal.SetCount(list215, num3); - Span> span134 = CollectionsMarshal.AsSpan(list215); - span134[0] = null; - span134[1] = null; - ref List reference143 = ref span134[2]; - num4 = 3; - List list216 = new List(num4); - CollectionsMarshal.SetCount(list216, num4); - Span span135 = CollectionsMarshal.AsSpan(list216); - span135[0] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - span135[1] = new QuestWorkValue((byte)4, null, EQuestWorkMode.Bitwise); - span135[2] = new QuestWorkValue((byte)5, null, EQuestWorkMode.Bitwise); - reference143 = list216; - span134[3] = null; - span134[4] = null; - span134[5] = null; - obj98.RequiredQuestVariables = list215; - num3 = 6; - List list217 = new List(num3); - CollectionsMarshal.SetCount(list217, num3); - Span span136 = CollectionsMarshal.AsSpan(list217); - span136[0] = null; - span136[1] = null; - span136[2] = null; - span136[3] = null; - span136[4] = null; - span136[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj98.CompletionQuestVariablesFlags = list217; - reference142 = obj98; - ref QuestStep reference144 = ref span124[4]; - QuestStep obj99 = new QuestStep(EInteractionType.UseItem, 2009365u, new Vector3(150.2251f, 108.140625f, -42.191284f), 612) - { - Fly = true, - ItemId = 2002450u - }; - num3 = 6; - List> list218 = new List>(num3); - CollectionsMarshal.SetCount(list218, num3); - Span> span137 = CollectionsMarshal.AsSpan(list218); - span137[0] = null; - span137[1] = null; - ref List reference145 = ref span137[2]; - num4 = 3; - List list219 = new List(num4); - CollectionsMarshal.SetCount(list219, num4); - Span span138 = CollectionsMarshal.AsSpan(list219); - span138[0] = new QuestWorkValue((byte)1, null, EQuestWorkMode.Bitwise); - span138[1] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - span138[2] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - reference145 = list219; - span137[3] = null; - span137[4] = null; - span137[5] = null; - obj99.RequiredQuestVariables = list218; - num3 = 6; - List list220 = new List(num3); - CollectionsMarshal.SetCount(list220, num3); - Span span139 = CollectionsMarshal.AsSpan(list220); - span139[0] = null; - span139[1] = null; - span139[2] = null; - span139[3] = null; - span139[4] = null; - span139[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj99.CompletionQuestVariablesFlags = list220; - reference144 = obj99; - obj94.Steps = list205; - reference135 = obj94; - ref QuestSequence reference146 = ref span123[2]; - QuestSequence obj100 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - Span span140 = CollectionsMarshal.AsSpan(list221); - span140[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span140[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj100.Steps = list221; - reference146 = obj100; - questRoot16.QuestSequence = list203; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(3066); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list222 = new List(num); - CollectionsMarshal.SetCount(list222, num); - CollectionsMarshal.AsSpan(list222)[0] = "liza"; - questRoot17.Author = list222; - num = 5; - List list223 = new List(num); - CollectionsMarshal.SetCount(list223, num); - Span span141 = CollectionsMarshal.AsSpan(list223); - ref QuestSequence reference147 = ref span141[0]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj101.Steps = list224; - reference147 = obj101; - ref QuestSequence reference148 = ref span141[1]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.Interact, 1025084u, new Vector3(135.27112f, 39.096554f, 302.23535f), 612) - { - Fly = true - }; - obj102.Steps = list225; - reference148 = obj102; - ref QuestSequence reference149 = ref span141[2]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - CollectionsMarshal.AsSpan(list226)[0] = new QuestStep(EInteractionType.Interact, 2008303u, new Vector3(135.69836f, 40.512573f, 300.7705f), 612); - obj103.Steps = list226; - reference149 = obj103; - ref QuestSequence reference150 = ref span141[3]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.Interact, 1025074u, new Vector3(396.90234f, 74.061035f, 186.11426f), 612); - obj104.Steps = list227; - reference150 = obj104; - ref QuestSequence reference151 = ref span141[4]; - QuestSequence obj105 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - Span span142 = CollectionsMarshal.AsSpan(list228); - span142[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span142[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj105.Steps = list228; - reference151 = obj105; - questRoot17.QuestSequence = list223; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(3067); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list229 = new List(num); - CollectionsMarshal.SetCount(list229, num); - CollectionsMarshal.AsSpan(list229)[0] = "liza"; - questRoot18.Author = list229; - num = 3; - List list230 = new List(num); - CollectionsMarshal.SetCount(list230, num); - Span span143 = CollectionsMarshal.AsSpan(list230); - ref QuestSequence reference152 = ref span143[0]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj106.Steps = list231; - reference152 = obj106; - ref QuestSequence reference153 = ref span143[1]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - Span span144 = CollectionsMarshal.AsSpan(list232); - ref QuestStep reference154 = ref span144[0]; - QuestStep obj108 = new QuestStep(EInteractionType.UseItem, 1025077u, new Vector3(274.8302f, 76.49585f, 96.849f), 612) - { - Fly = true, - ItemId = 2002453u - }; - num3 = 6; - List> list233 = new List>(num3); - CollectionsMarshal.SetCount(list233, num3); - Span> span145 = CollectionsMarshal.AsSpan(list233); - span145[0] = null; - ref List reference155 = ref span145[1]; - num4 = 2; - List list234 = new List(num4); - CollectionsMarshal.SetCount(list234, num4); - Span span146 = CollectionsMarshal.AsSpan(list234); - span146[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span146[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference155 = list234; - span145[2] = null; - span145[3] = null; - span145[4] = null; - span145[5] = null; - obj108.RequiredQuestVariables = list233; - num3 = 6; - List list235 = new List(num3); - CollectionsMarshal.SetCount(list235, num3); - Span span147 = CollectionsMarshal.AsSpan(list235); - span147[0] = null; - span147[1] = null; - span147[2] = null; - span147[3] = null; - span147[4] = null; - span147[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj108.CompletionQuestVariablesFlags = list235; - reference154 = obj108; - ref QuestStep reference156 = ref span144[1]; - QuestStep obj109 = new QuestStep(EInteractionType.UseItem, 1025076u, new Vector3(364.3396f, 91.624985f, 75.150635f), 612) - { - Fly = true, - ItemId = 2002453u - }; - num3 = 6; - List> list236 = new List>(num3); - CollectionsMarshal.SetCount(list236, num3); - Span> span148 = CollectionsMarshal.AsSpan(list236); - span148[0] = null; - ref List reference157 = ref span148[1]; - num4 = 2; - List list237 = new List(num4); - CollectionsMarshal.SetCount(list237, num4); - Span span149 = CollectionsMarshal.AsSpan(list237); - span149[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span149[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference157 = list237; - span148[2] = null; - span148[3] = null; - span148[4] = null; - span148[5] = null; - obj109.RequiredQuestVariables = list236; - num3 = 6; - List list238 = new List(num3); - CollectionsMarshal.SetCount(list238, num3); - Span span150 = CollectionsMarshal.AsSpan(list238); - span150[0] = null; - span150[1] = null; - span150[2] = null; - span150[3] = null; - span150[4] = null; - span150[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj109.CompletionQuestVariablesFlags = list238; - reference156 = obj109; - ref QuestStep reference158 = ref span144[2]; - QuestStep obj110 = new QuestStep(EInteractionType.UseItem, 1025075u, new Vector3(553.6736f, 73.847404f, 10.635498f), 612) - { - Fly = true, - ItemId = 2002453u - }; - num3 = 6; - List> list239 = new List>(num3); - CollectionsMarshal.SetCount(list239, num3); - Span> span151 = CollectionsMarshal.AsSpan(list239); - span151[0] = null; - ref List reference159 = ref span151[1]; - num4 = 2; - List list240 = new List(num4); - CollectionsMarshal.SetCount(list240, num4); - Span span152 = CollectionsMarshal.AsSpan(list240); - span152[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span152[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - reference159 = list240; - span151[2] = null; - span151[3] = null; - span151[4] = null; - span151[5] = null; - obj110.RequiredQuestVariables = list239; - num3 = 6; - List list241 = new List(num3); - CollectionsMarshal.SetCount(list241, num3); - Span span153 = CollectionsMarshal.AsSpan(list241); - span153[0] = null; - span153[1] = null; - span153[2] = null; - span153[3] = null; - span153[4] = null; - span153[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj110.CompletionQuestVariablesFlags = list241; - reference158 = obj110; - obj107.Steps = list232; - reference153 = obj107; - ref QuestSequence reference160 = ref span143[2]; - QuestSequence obj111 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - Span span154 = CollectionsMarshal.AsSpan(list242); - span154[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span154[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj111.Steps = list242; - reference160 = obj111; - questRoot18.QuestSequence = list230; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(3068); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list243 = new List(num); - CollectionsMarshal.SetCount(list243, num); - CollectionsMarshal.AsSpan(list243)[0] = "liza"; - questRoot19.Author = list243; - num = 3; - List list244 = new List(num); - CollectionsMarshal.SetCount(list244, num); - Span span155 = CollectionsMarshal.AsSpan(list244); - ref QuestSequence reference161 = ref span155[0]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj112.Steps = list245; - reference161 = obj112; - ref QuestSequence reference162 = ref span155[1]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - Span span156 = CollectionsMarshal.AsSpan(list246); - ref QuestStep reference163 = ref span156[0]; - QuestStep obj114 = new QuestStep(EInteractionType.Interact, 2009370u, new Vector3(424.30762f, 59.952637f, -472.3736f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachFringesGate - } - }; - num3 = 6; - List> list247 = new List>(num3); - CollectionsMarshal.SetCount(list247, num3); - Span> span157 = CollectionsMarshal.AsSpan(list247); - span157[0] = null; - ref List reference164 = ref span157[1]; - num4 = 2; - List list248 = new List(num4); - CollectionsMarshal.SetCount(list248, num4); - Span span158 = CollectionsMarshal.AsSpan(list248); - span158[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span158[1] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - reference164 = list248; - span157[2] = null; - span157[3] = null; - span157[4] = null; - span157[5] = null; - obj114.RequiredQuestVariables = list247; - num3 = 6; - List list249 = new List(num3); - CollectionsMarshal.SetCount(list249, num3); - Span span159 = CollectionsMarshal.AsSpan(list249); - span159[0] = null; - span159[1] = null; - span159[2] = null; - span159[3] = null; - span159[4] = null; - span159[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj114.CompletionQuestVariablesFlags = list249; - reference163 = obj114; - ref QuestStep reference165 = ref span156[1]; - QuestStep obj115 = new QuestStep(EInteractionType.Interact, 2009371u, new Vector3(364.73633f, 50.858276f, -356.00824f), 612) - { - Fly = true - }; - num3 = 6; - List> list250 = new List>(num3); - CollectionsMarshal.SetCount(list250, num3); - Span> span160 = CollectionsMarshal.AsSpan(list250); - span160[0] = null; - ref List reference166 = ref span160[1]; - num4 = 3; - List list251 = new List(num4); - CollectionsMarshal.SetCount(list251, num4); - Span span161 = CollectionsMarshal.AsSpan(list251); - span161[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span161[1] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - span161[2] = new QuestWorkValue(null, (byte)5, EQuestWorkMode.Bitwise); - reference166 = list251; - span160[2] = null; - span160[3] = null; - span160[4] = null; - span160[5] = null; - obj115.RequiredQuestVariables = list250; - num3 = 6; - List list252 = new List(num3); - CollectionsMarshal.SetCount(list252, num3); - Span span162 = CollectionsMarshal.AsSpan(list252); - span162[0] = null; - span162[1] = null; - span162[2] = null; - span162[3] = null; - span162[4] = null; - span162[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj115.CompletionQuestVariablesFlags = list252; - reference165 = obj115; - ref QuestStep reference167 = ref span156[2]; - QuestStep obj116 = new QuestStep(EInteractionType.Interact, 2009372u, new Vector3(345.6931f, 42.83203f, -306.20282f), 612) - { - Fly = true - }; - num3 = 6; - List> list253 = new List>(num3); - CollectionsMarshal.SetCount(list253, num3); - Span> span163 = CollectionsMarshal.AsSpan(list253); - span163[0] = null; - ref List reference168 = ref span163[1]; - num4 = 4; - List list254 = new List(num4); - CollectionsMarshal.SetCount(list254, num4); - Span span164 = CollectionsMarshal.AsSpan(list254); - span164[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span164[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span164[2] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span164[3] = new QuestWorkValue(null, (byte)5, EQuestWorkMode.Bitwise); - reference168 = list254; - span163[2] = null; - span163[3] = null; - span163[4] = null; - span163[5] = null; - obj116.RequiredQuestVariables = list253; - num3 = 6; - List list255 = new List(num3); - CollectionsMarshal.SetCount(list255, num3); - Span span165 = CollectionsMarshal.AsSpan(list255); - span165[0] = null; - span165[1] = null; - span165[2] = null; - span165[3] = null; - span165[4] = null; - span165[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj116.CompletionQuestVariablesFlags = list255; - reference167 = obj116; - ref QuestStep reference169 = ref span156[3]; - QuestStep obj117 = new QuestStep(EInteractionType.Interact, 2009373u, new Vector3(169.90918f, 39.53601f, -133.10449f), 612) - { - Fly = true - }; - num3 = 6; - List> list256 = new List>(num3); - CollectionsMarshal.SetCount(list256, num3); - Span> span166 = CollectionsMarshal.AsSpan(list256); - span166[0] = null; - ref List reference170 = ref span166[1]; - num4 = 4; - List list257 = new List(num4); - CollectionsMarshal.SetCount(list257, num4); - Span span167 = CollectionsMarshal.AsSpan(list257); - span167[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span167[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span167[2] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span167[3] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - reference170 = list257; - span166[2] = null; - span166[3] = null; - span166[4] = null; - span166[5] = null; - obj117.RequiredQuestVariables = list256; - num3 = 6; - List list258 = new List(num3); - CollectionsMarshal.SetCount(list258, num3); - Span span168 = CollectionsMarshal.AsSpan(list258); - span168[0] = null; - span168[1] = null; - span168[2] = null; - span168[3] = null; - span168[4] = null; - span168[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj117.CompletionQuestVariablesFlags = list258; - reference169 = obj117; - ref QuestStep reference171 = ref span156[4]; - QuestStep obj118 = new QuestStep(EInteractionType.Interact, 2009374u, new Vector3(130.23572f, 39.444458f, -131.88379f), 612) - { - Fly = true - }; - num3 = 6; - List> list259 = new List>(num3); - CollectionsMarshal.SetCount(list259, num3); - Span> span169 = CollectionsMarshal.AsSpan(list259); - span169[0] = null; - ref List reference172 = ref span169[1]; - num4 = 2; - List list260 = new List(num4); - CollectionsMarshal.SetCount(list260, num4); - Span span170 = CollectionsMarshal.AsSpan(list260); - span170[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span170[1] = new QuestWorkValue(null, (byte)5, EQuestWorkMode.Bitwise); - reference172 = list260; - span169[2] = null; - span169[3] = null; - span169[4] = null; - span169[5] = null; - obj118.RequiredQuestVariables = list259; - num3 = 6; - List list261 = new List(num3); - CollectionsMarshal.SetCount(list261, num3); - Span span171 = CollectionsMarshal.AsSpan(list261); - span171[0] = null; - span171[1] = null; - span171[2] = null; - span171[3] = null; - span171[4] = null; - span171[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj118.CompletionQuestVariablesFlags = list261; - reference171 = obj118; - obj113.Steps = list246; - reference162 = obj113; - ref QuestSequence reference173 = ref span155[2]; - QuestSequence obj119 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - Span span172 = CollectionsMarshal.AsSpan(list262); - span172[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span172[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj119.Steps = list262; - reference173 = obj119; - questRoot19.QuestSequence = list244; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(3069); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list263 = new List(num); - CollectionsMarshal.SetCount(list263, num); - CollectionsMarshal.AsSpan(list263)[0] = "liza"; - questRoot20.Author = list263; - num = 3; - List list264 = new List(num); - CollectionsMarshal.SetCount(list264, num); - Span span173 = CollectionsMarshal.AsSpan(list264); - ref QuestSequence reference174 = ref span173[0]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f - }; - obj120.Steps = list265; - reference174 = obj120; - ref QuestSequence reference175 = ref span173[1]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - Span span174 = CollectionsMarshal.AsSpan(list266); - ref QuestStep reference176 = ref span174[0]; - QuestStep obj122 = new QuestStep(EInteractionType.Combat, 2009375u, new Vector3(153.85669f, 61.020752f, -631.22f), 612) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list267 = new List(num3); - CollectionsMarshal.SetCount(list267, num3); - CollectionsMarshal.AsSpan(list267)[0] = new ComplexCombatData - { - DataId = 8595u, - MinimumKillCount = 1u - }; - obj122.ComplexCombatData = list267; - num3 = 6; - List> list268 = new List>(num3); - CollectionsMarshal.SetCount(list268, num3); - Span> span175 = CollectionsMarshal.AsSpan(list268); - span175[0] = null; - span175[1] = null; - ref List reference177 = ref span175[2]; - num4 = 2; - List list269 = new List(num4); - CollectionsMarshal.SetCount(list269, num4); - Span span176 = CollectionsMarshal.AsSpan(list269); - span176[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span176[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference177 = list269; - span175[3] = null; - span175[4] = null; - span175[5] = null; - obj122.RequiredQuestVariables = list268; - num3 = 6; - List list270 = new List(num3); - CollectionsMarshal.SetCount(list270, num3); - Span span177 = CollectionsMarshal.AsSpan(list270); - span177[0] = null; - span177[1] = null; - span177[2] = null; - span177[3] = null; - span177[4] = null; - span177[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj122.CompletionQuestVariablesFlags = list270; - reference176 = obj122; - ref QuestStep reference178 = ref span174[1]; - QuestStep obj123 = new QuestStep(EInteractionType.Combat, 2009377u, new Vector3(-41.09259f, 69.38269f, -650.35474f), 612) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list271 = new List(num3); - CollectionsMarshal.SetCount(list271, num3); - CollectionsMarshal.AsSpan(list271)[0] = new ComplexCombatData - { - DataId = 8595u, - MinimumKillCount = 1u - }; - obj123.ComplexCombatData = list271; - num3 = 6; - List> list272 = new List>(num3); - CollectionsMarshal.SetCount(list272, num3); - Span> span178 = CollectionsMarshal.AsSpan(list272); - span178[0] = null; - span178[1] = null; - ref List reference179 = ref span178[2]; - num4 = 2; - List list273 = new List(num4); - CollectionsMarshal.SetCount(list273, num4); - Span span179 = CollectionsMarshal.AsSpan(list273); - span179[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span179[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - reference179 = list273; - span178[3] = null; - span178[4] = null; - span178[5] = null; - obj123.RequiredQuestVariables = list272; - num3 = 6; - List list274 = new List(num3); - CollectionsMarshal.SetCount(list274, num3); - Span span180 = CollectionsMarshal.AsSpan(list274); - span180[0] = null; - span180[1] = null; - span180[2] = null; - span180[3] = null; - span180[4] = null; - span180[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj123.CompletionQuestVariablesFlags = list274; - reference178 = obj123; - ref QuestStep reference180 = ref span174[2]; - QuestStep obj124 = new QuestStep(EInteractionType.Combat, 2009376u, new Vector3(74.41821f, 53.391357f, -484.42816f), 612) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list275 = new List(num3); - CollectionsMarshal.SetCount(list275, num3); - CollectionsMarshal.AsSpan(list275)[0] = new ComplexCombatData - { - DataId = 8595u, - MinimumKillCount = 1u - }; - obj124.ComplexCombatData = list275; - num3 = 6; - List> list276 = new List>(num3); - CollectionsMarshal.SetCount(list276, num3); - Span> span181 = CollectionsMarshal.AsSpan(list276); - span181[0] = null; - span181[1] = null; - ref List reference181 = ref span181[2]; - num4 = 2; - List list277 = new List(num4); - CollectionsMarshal.SetCount(list277, num4); - Span span182 = CollectionsMarshal.AsSpan(list277); - span182[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span182[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference181 = list277; - span181[3] = null; - span181[4] = null; - span181[5] = null; - obj124.RequiredQuestVariables = list276; - num3 = 6; - List list278 = new List(num3); - CollectionsMarshal.SetCount(list278, num3); - Span span183 = CollectionsMarshal.AsSpan(list278); - span183[0] = null; - span183[1] = null; - span183[2] = null; - span183[3] = null; - span183[4] = null; - span183[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj124.CompletionQuestVariablesFlags = list278; - reference180 = obj124; - obj121.Steps = list266; - reference175 = obj121; - ref QuestSequence reference182 = ref span173[2]; - QuestSequence obj125 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - Span span184 = CollectionsMarshal.AsSpan(list279); - span184[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.868523f, 56.02146f, 231.54045f), 612) - { - Fly = true - }; - span184[1] = new QuestStep(EInteractionType.CompleteQuest, 1024773u, new Vector3(-28.33606f, 56.113926f, 236.25537f), 612) - { - StopDistance = 7f, - Fly = true - }; - obj125.Steps = list279; - reference182 = obj125; - questRoot20.QuestSequence = list264; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(3070); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list280 = new List(num); - CollectionsMarshal.SetCount(list280, num); - CollectionsMarshal.AsSpan(list280)[0] = "JerryWester"; - questRoot21.Author = list280; - num = 3; - List list281 = new List(num); - CollectionsMarshal.SetCount(list281, num); - Span span185 = CollectionsMarshal.AsSpan(list281); - ref QuestSequence reference183 = ref span185[0]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - CollectionsMarshal.AsSpan(list282)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025023u, new Vector3(-1.7853394f, 0.024148807f, -0.015319824f), 639); - obj126.Steps = list282; - reference183 = obj126; - ref QuestSequence reference184 = ref span185[1]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - Span span186 = CollectionsMarshal.AsSpan(list283); - ref QuestStep reference185 = ref span186[0]; - QuestStep obj128 = new QuestStep(EInteractionType.Interact, 1024974u, new Vector3(-10.330383f, 0.19997318f, 12.893799f), 759) - { - TargetTerritoryId = (ushort)744, - AetheryteShortcut = EAetheryteLocation.DomanEnclave - }; - num3 = 1; - List list284 = new List(num3); - CollectionsMarshal.SetCount(list284, num3); - CollectionsMarshal.AsSpan(list284)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDD101_03070_EVENTAREA_WARP_100_027") - }; - obj128.DialogueChoices = list284; - reference185 = obj128; - span186[1] = new QuestStep(EInteractionType.Interact, 1025552u, new Vector3(0.045776367f, 0.021091362f, -2.9145508f), 744); - obj127.Steps = list283; - reference184 = obj127; - ref QuestSequence reference186 = ref span185[2]; - QuestSequence obj129 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - Span span187 = CollectionsMarshal.AsSpan(list285); - span187[0] = new QuestStep(EInteractionType.Interact, 2009289u, new Vector3(0.02468622f, 0.9079783f, 18.30971f), 744) - { - TargetTerritoryId = (ushort)759 - }; - span187[1] = new QuestStep(EInteractionType.CompleteQuest, 1025555u, new Vector3(148.05823f, -4.178815f, 60.135742f), 759) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.DomanEnclave, - To = EAetheryteLocation.DomanEnclaveDocks - } - }; - obj129.Steps = list285; - reference186 = obj129; - questRoot21.QuestSequence = list281; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(3071); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list286 = new List(num); - CollectionsMarshal.SetCount(list286, num); - CollectionsMarshal.AsSpan(list286)[0] = "JerryWester"; - questRoot22.Author = list286; - num = 6; - List list287 = new List(num); - CollectionsMarshal.SetCount(list287, num); - Span span188 = CollectionsMarshal.AsSpan(list287); - ref QuestSequence reference187 = ref span188[0]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - CollectionsMarshal.AsSpan(list288)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025557u, new Vector3(146.37976f, -4.178755f, 60.135742f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj130.Steps = list288; - reference187 = obj130; - ref QuestSequence reference188 = ref span188[1]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - Span span189 = CollectionsMarshal.AsSpan(list289); - ref QuestStep reference189 = ref span189[0]; - QuestStep obj132 = new QuestStep(EInteractionType.Interact, 1019297u, new Vector3(-275.9289f, 17.31996f, 512.9625f), 614) - { - Fly = true - }; - num3 = 6; - List list290 = new List(num3); - CollectionsMarshal.SetCount(list290, num3); - Span span190 = CollectionsMarshal.AsSpan(list290); - span190[0] = null; - span190[1] = null; - span190[2] = null; - span190[3] = null; - span190[4] = null; - span190[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj132.CompletionQuestVariablesFlags = list290; - reference189 = obj132; - ref QuestStep reference190 = ref span189[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1019303u, new Vector3(-308.94946f, 17.73554f, 512.47424f), 614); - num3 = 6; - List list291 = new List(num3); - CollectionsMarshal.SetCount(list291, num3); - Span span191 = CollectionsMarshal.AsSpan(list291); - span191[0] = null; - span191[1] = null; - span191[2] = null; - span191[3] = null; - span191[4] = null; - span191[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list291; - reference190 = questStep7; - obj131.Steps = list289; - reference188 = obj131; - ref QuestSequence reference191 = ref span188[2]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - CollectionsMarshal.AsSpan(list292)[0] = new QuestStep(EInteractionType.Interact, 2009474u, new Vector3(67.185425f, 17.440979f, 349.3247f), 614) - { - Fly = true - }; - obj133.Steps = list292; - reference191 = obj133; - ref QuestSequence reference192 = ref span188[3]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - CollectionsMarshal.AsSpan(list293)[0] = new QuestStep(EInteractionType.Interact, 2009527u, new Vector3(457.26697f, 31.265625f, 234.79053f), 614) - { - Fly = true - }; - obj134.Steps = list293; - reference192 = obj134; - ref QuestSequence reference193 = ref span188[4]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - CollectionsMarshal.AsSpan(list294)[0] = new QuestStep(EInteractionType.Interact, 2009528u, new Vector3(545.3727f, 84.70276f, 126.32947f), 614) - { - Fly = true - }; - obj135.Steps = list294; - reference193 = obj135; - ref QuestSequence reference194 = ref span188[5]; - QuestSequence obj136 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - CollectionsMarshal.AsSpan(list295)[0] = new QuestStep(EInteractionType.CompleteQuest, 2009475u, new Vector3(546.9595f, 72.129395f, 39.78015f), 614) - { - Fly = true - }; - obj136.Steps = list295; - reference194 = obj136; - questRoot22.QuestSequence = list287; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(3072); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list296 = new List(num); - CollectionsMarshal.SetCount(list296, num); - CollectionsMarshal.AsSpan(list296)[0] = "JerryWester"; - questRoot23.Author = list296; - num = 4; - List list297 = new List(num); - CollectionsMarshal.SetCount(list297, num); - Span span192 = CollectionsMarshal.AsSpan(list297); - ref QuestSequence reference195 = ref span192[0]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - CollectionsMarshal.AsSpan(list298)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025095u, new Vector3(466.23938f, 70.27501f, -58.701477f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj137.Steps = list298; - reference195 = obj137; - ref QuestSequence reference196 = ref span192[1]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - CollectionsMarshal.AsSpan(list299)[0] = new QuestStep(EInteractionType.Interact, 1025104u, new Vector3(408.71277f, 14.6418705f, 622.8275f), 614) - { - Fly = true - }; - obj138.Steps = list299; - reference196 = obj138; - ref QuestSequence reference197 = ref span192[2]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - CollectionsMarshal.AsSpan(list300)[0] = new QuestStep(EInteractionType.Interact, 1024999u, new Vector3(0.19836426f, 0.021091364f, -3.0975952f), 744); - obj139.Steps = list300; - reference197 = obj139; - ref QuestSequence reference198 = ref span192[3]; - QuestSequence obj140 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - CollectionsMarshal.AsSpan(list301)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024999u, new Vector3(0.19836426f, 0.021091364f, -3.0975952f), 744); - obj140.Steps = list301; - reference198 = obj140; - questRoot23.QuestSequence = list297; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(3073); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list302 = new List(num); - CollectionsMarshal.SetCount(list302, num); - CollectionsMarshal.AsSpan(list302)[0] = "JerryWester"; - questRoot24.Author = list302; - num = 5; - List list303 = new List(num); - CollectionsMarshal.SetCount(list303, num); - Span span193 = CollectionsMarshal.AsSpan(list303); - ref QuestSequence reference199 = ref span193[0]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - CollectionsMarshal.AsSpan(list304)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024999u, new Vector3(0.19836426f, 0.021091364f, -3.0975952f), 744); - obj141.Steps = list304; - reference199 = obj141; - ref QuestSequence reference200 = ref span193[1]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - CollectionsMarshal.AsSpan(list305)[0] = new QuestStep(EInteractionType.Interact, 1021505u, new Vector3(79.42322f, 33.00897f, -669.9474f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - obj142.Steps = list305; - reference200 = obj142; - ref QuestSequence reference201 = ref span193[2]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - Span span194 = CollectionsMarshal.AsSpan(list306); - span194[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(116.05634f, 3.799895f, -868.98865f), 613) - { - Fly = true - }; - span194[1] = new QuestStep(EInteractionType.Interact, 2009420u, new Vector3(106.30957f, 0.47296143f, -874.38776f), 613) - { - DisableNavmesh = true, - Fly = true - }; - span194[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(63.579952f, -1.1090306f, -869.52625f), 613) - { - Fly = true - }; - span194[3] = new QuestStep(EInteractionType.Interact, 2009469u, new Vector3(78.20239f, 0.47296143f, -870.66455f), 613) - { - Mount = true - }; - obj143.Steps = list306; - reference201 = obj143; - ref QuestSequence reference202 = ref span193[3]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list307 = new List(num2); - CollectionsMarshal.SetCount(list307, num2); - CollectionsMarshal.AsSpan(list307)[0] = new QuestStep(EInteractionType.Interact, 1025106u, new Vector3(97.00159f, 5.1987257f, -877.0428f), 613) - { - Fly = true - }; - obj144.Steps = list307; - reference202 = obj144; - ref QuestSequence reference203 = ref span193[4]; - QuestSequence obj145 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - Span span195 = CollectionsMarshal.AsSpan(list308); - ref QuestStep reference204 = ref span195[0]; - QuestStep obj146 = new QuestStep(EInteractionType.Interact, 1024974u, new Vector3(-10.330383f, 0.19997318f, 12.893799f), 759) - { - TargetTerritoryId = (ushort)744, - AetheryteShortcut = EAetheryteLocation.DomanEnclave - }; - num3 = 1; - List list309 = new List(num3); - CollectionsMarshal.SetCount(list309, num3); - CollectionsMarshal.AsSpan(list309)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDD104_03073_EVENTAREA_WARP_100_004") - }; - obj146.DialogueChoices = list309; - reference204 = obj146; - span195[1] = new QuestStep(EInteractionType.CompleteQuest, 1024999u, new Vector3(0.19836426f, 0.021091364f, -3.0975952f), 744); - obj145.Steps = list308; - reference203 = obj145; - questRoot24.QuestSequence = list303; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(3074); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list310 = new List(num); - CollectionsMarshal.SetCount(list310, num); - CollectionsMarshal.AsSpan(list310)[0] = "JerryWester"; - questRoot25.Author = list310; - num = 9; - List list311 = new List(num); - CollectionsMarshal.SetCount(list311, num); - Span span196 = CollectionsMarshal.AsSpan(list311); - ref QuestSequence reference205 = ref span196[0]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - CollectionsMarshal.AsSpan(list312)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024999u, new Vector3(0.19836426f, 0.021091364f, -3.0975952f), 744); - obj147.Steps = list312; - reference205 = obj147; - ref QuestSequence reference206 = ref span196[1]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list313 = new List(num2); - CollectionsMarshal.SetCount(list313, num2); - CollectionsMarshal.AsSpan(list313)[0] = new QuestStep(EInteractionType.Interact, 1025523u, new Vector3(239.12415f, 0.9334852f, 754.1161f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai - }; - obj148.Steps = list313; - reference206 = obj148; - span196[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference207 = ref span196[3]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - CollectionsMarshal.AsSpan(list314)[0] = new QuestStep(EInteractionType.Duty, null, null, 786) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 537u - } - }; - obj149.Steps = list314; - reference207 = obj149; - span196[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference208 = ref span196[5]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - CollectionsMarshal.AsSpan(list315)[0] = new QuestStep(EInteractionType.Interact, 1025528u, new Vector3(4.3182373f, -8.000055f, 44.327393f), 786) - { - StopDistance = 5f - }; - obj150.Steps = list315; - reference208 = obj150; - span196[6] = new QuestSequence - { - Sequence = 6 - }; - ref QuestSequence reference209 = ref span196[7]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - CollectionsMarshal.AsSpan(list316)[0] = new QuestStep(EInteractionType.Interact, 1025538u, new Vector3(4.7455444f, 0f, 16.067688f), 759); - obj151.Steps = list316; - reference209 = obj151; - ref QuestSequence reference210 = ref span196[8]; - QuestSequence obj152 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list317 = new List(num2); - CollectionsMarshal.SetCount(list317, num2); - Span span197 = CollectionsMarshal.AsSpan(list317); - ref QuestStep reference211 = ref span197[0]; - QuestStep obj153 = new QuestStep(EInteractionType.Interact, 1024974u, new Vector3(-10.330383f, 0.19997318f, 12.893799f), 759) - { - TargetTerritoryId = (ushort)744 - }; - num3 = 1; - List list318 = new List(num3); - CollectionsMarshal.SetCount(list318, num3); - CollectionsMarshal.AsSpan(list318)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDD105_03074_EVENTAREA_WARP_100_004") - }; - obj153.DialogueChoices = list318; - reference211 = obj153; - span197[1] = new QuestStep(EInteractionType.CompleteQuest, 1025597u, new Vector3(0.19836426f, 0.021091362f, -3.0060425f), 744); - obj152.Steps = list317; - reference210 = obj152; - questRoot25.QuestSequence = list311; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(3075); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list319 = new List(num); - CollectionsMarshal.SetCount(list319, num); - CollectionsMarshal.AsSpan(list319)[0] = "JerryWester"; - questRoot26.Author = list319; - num = 4; - List list320 = new List(num); - CollectionsMarshal.SetCount(list320, num); - Span span198 = CollectionsMarshal.AsSpan(list320); - ref QuestSequence reference212 = ref span198[0]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list321 = new List(num2); - CollectionsMarshal.SetCount(list321, num2); - CollectionsMarshal.AsSpan(list321)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025009u, new Vector3(1.3274536f, 0.021091362f, 0.59503174f), 744); - obj154.Steps = list321; - reference212 = obj154; - ref QuestSequence reference213 = ref span198[1]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list322 = new List(num2); - CollectionsMarshal.SetCount(list322, num2); - CollectionsMarshal.AsSpan(list322)[0] = new QuestStep(EInteractionType.Interact, 1019468u, new Vector3(170.58057f, 13.02367f, -91.96619f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachNorthEast - } - }; - obj155.Steps = list322; - reference213 = obj155; - ref QuestSequence reference214 = ref span198[2]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list323 = new List(num2); - CollectionsMarshal.SetCount(list323, num2); - Span span199 = CollectionsMarshal.AsSpan(list323); - span199[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(70.965355f, 26.085297f, -607.26685f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria - }; - span199[1] = new QuestStep(EInteractionType.Interact, 1025546u, new Vector3(70.87805f, 26.199663f, -609.43005f), 621); - obj156.Steps = list323; - reference214 = obj156; - ref QuestSequence reference215 = ref span198[3]; - QuestSequence obj157 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list324 = new List(num2); - CollectionsMarshal.SetCount(list324, num2); - CollectionsMarshal.AsSpan(list324)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025549u, new Vector3(1.4800415f, -1.1041565E-05f, -11.734253f), 351); - obj157.Steps = list324; - reference215 = obj157; - questRoot26.QuestSequence = list320; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(3076); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list325 = new List(num); - CollectionsMarshal.SetCount(list325, num); - CollectionsMarshal.AsSpan(list325)[0] = "JerryWester"; - questRoot27.Author = list325; - num = 4; - List list326 = new List(num); - CollectionsMarshal.SetCount(list326, num); - Span span200 = CollectionsMarshal.AsSpan(list326); - ref QuestSequence reference216 = ref span200[0]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list327 = new List(num2); - CollectionsMarshal.SetCount(list327, num2); - CollectionsMarshal.AsSpan(list327)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025549u, new Vector3(1.4800415f, -1.1041565E-05f, -11.734253f), 351); - obj158.Steps = list327; - reference216 = obj158; - ref QuestSequence reference217 = ref span200[1]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - ref QuestStep reference218 = ref CollectionsMarshal.AsSpan(list328)[0]; - QuestStep obj160 = new QuestStep(EInteractionType.SinglePlayerDuty, 2009467u, new Vector3(-5.189492f, 0.4746897f, 0.3689831f), 351) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - num3 = 1; - List list329 = new List(num3); - CollectionsMarshal.SetCount(list329, num3); - CollectionsMarshal.AsSpan(list329)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDD107_03076_Q1_100_012") - }; - obj160.DialogueChoices = list329; - reference218 = obj160; - obj159.Steps = list328; - reference217 = obj159; - span200[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference219 = ref span200[3]; - QuestSequence obj161 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list330 = new List(num2); - CollectionsMarshal.SetCount(list330, num2); - CollectionsMarshal.AsSpan(list330)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025549u, new Vector3(1.4800415f, -1.1041565E-05f, -11.734253f), 351) - { - StopDistance = 5f - }; - obj161.Steps = list330; - reference219 = obj161; - questRoot27.QuestSequence = list326; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(3078); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list331 = new List(num); - CollectionsMarshal.SetCount(list331, num); - CollectionsMarshal.AsSpan(list331)[0] = "liza"; - questRoot28.Author = list331; - num = 3; - List list332 = new List(num); - CollectionsMarshal.SetCount(list332, num); - Span span201 = CollectionsMarshal.AsSpan(list332); - ref QuestSequence reference220 = ref span201[0]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list333 = new List(num2); - CollectionsMarshal.SetCount(list333, num2); - Span span202 = CollectionsMarshal.AsSpan(list333); - span202[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-69.61145f, 0.00999999f, 62.405437f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span202[1] = new QuestStep(EInteractionType.AcceptQuest, 1019459u, new Vector3(-70.54254f, 0.4599931f, 64.37781f), 635); - obj162.Steps = list333; - reference220 = obj162; - ref QuestSequence reference221 = ref span201[1]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - CollectionsMarshal.AsSpan(list334)[0] = new QuestStep(EInteractionType.Interact, 1019002u, new Vector3(-48.05072f, -2.9f, -50.247986f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane - }; - obj163.Steps = list334; - reference221 = obj163; - ref QuestSequence reference222 = ref span201[2]; - QuestSequence obj164 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list335 = new List(num2); - CollectionsMarshal.SetCount(list335, num2); - CollectionsMarshal.AsSpan(list335)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025233u, new Vector3(-129.19812f, -4.999999f, 145.37268f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganePier1 - } - }; - obj164.Steps = list335; - reference222 = obj164; - questRoot28.QuestSequence = list332; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(3081); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list336 = new List(num); - CollectionsMarshal.SetCount(list336, num); - CollectionsMarshal.AsSpan(list336)[0] = "Starr"; - questRoot29.Author = list336; - num = 2; - List list337 = new List(num); - CollectionsMarshal.SetCount(list337, num); - Span span203 = CollectionsMarshal.AsSpan(list337); - ref QuestSequence reference223 = ref span203[0]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list338 = new List(num2); - CollectionsMarshal.SetCount(list338, num2); - CollectionsMarshal.AsSpan(list338)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011145u, new Vector3(-65.38495f, 0.06979119f, 0.8086548f), 144) - { - AetheryteShortcut = EAetheryteLocation.GoldSaucer, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj165.Steps = list338; - reference223 = obj165; - ref QuestSequence reference224 = ref span203[1]; - QuestSequence obj166 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list339 = new List(num2); - CollectionsMarshal.SetCount(list339, num2); - CollectionsMarshal.AsSpan(list339)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025176u, new Vector3(57.99951f, 3.9997258f, 64.774536f), 144); - obj166.Steps = list339; - reference224 = obj166; - questRoot29.QuestSequence = list337; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(3086); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list340 = new List(num); - CollectionsMarshal.SetCount(list340, num); - CollectionsMarshal.AsSpan(list340)[0] = "liza"; - questRoot30.Author = list340; - num = 4; - List list341 = new List(num); - CollectionsMarshal.SetCount(list341, num); - Span span204 = CollectionsMarshal.AsSpan(list341); - ref QuestSequence reference225 = ref span204[0]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - CollectionsMarshal.AsSpan(list342)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024791u, new Vector3(31.60144f, 0.26575702f, 28.915894f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj167.Steps = list342; - reference225 = obj167; - ref QuestSequence reference226 = ref span204[1]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list343 = new List(num2); - CollectionsMarshal.SetCount(list343, num2); - CollectionsMarshal.AsSpan(list343)[0] = new QuestStep(EInteractionType.Interact, 1006530u, new Vector3(21.927185f, 20.746975f, -682.06305f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj168.Steps = list343; - reference226 = obj168; - ref QuestSequence reference227 = ref span204[2]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list344 = new List(num2); - CollectionsMarshal.SetCount(list344, num2); - CollectionsMarshal.AsSpan(list344)[0] = new QuestStep(EInteractionType.Interact, 1025287u, new Vector3(64.34729f, 31.199963f, -754.0246f), 156) - { - Fly = true - }; - obj169.Steps = list344; - reference227 = obj169; - ref QuestSequence reference228 = ref span204[3]; - QuestSequence obj170 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list345 = new List(num2); - CollectionsMarshal.SetCount(list345, num2); - ref QuestStep reference229 = ref CollectionsMarshal.AsSpan(list345)[0]; - QuestStep obj171 = new QuestStep(EInteractionType.CompleteQuest, 2009436u, new Vector3(70.05408f, 30.746826f, -722.86566f), 156) - { - Fly = true - }; - num3 = 5; - List list346 = new List(num3); - CollectionsMarshal.SetCount(list346, num3); - Span span205 = CollectionsMarshal.AsSpan(list346); - span205[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDY501_03086_Q1_000_091") - }; - span205[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDY501_03086_Q2_000_097"), - Answer = new ExcelRef("TEXT_STMBDY501_03086_A2_000_100") - }; - span205[2] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDY501_03086_Q3_000_118"), - Answer = new ExcelRef("TEXT_STMBDY501_03086_A3_000_119") - }; - span205[3] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDY501_03086_Q4_000_134"), - Answer = new ExcelRef("TEXT_STMBDY501_03086_A4_000_136") - }; - span205[4] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDY501_03086_Q5_000_156"), - Answer = new ExcelRef("TEXT_STMBDY501_03086_A5_000_158") - }; - obj171.DialogueChoices = list346; - obj171.NextQuestId = new QuestId(3087); - reference229 = obj171; - obj170.Steps = list345; - reference228 = obj170; - questRoot30.QuestSequence = list341; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(3087); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list347 = new List(num); - CollectionsMarshal.SetCount(list347, num); - CollectionsMarshal.AsSpan(list347)[0] = "liza"; - questRoot31.Author = list347; - num = 6; - List list348 = new List(num); - CollectionsMarshal.SetCount(list348, num); - Span span206 = CollectionsMarshal.AsSpan(list348); - ref QuestSequence reference230 = ref span206[0]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list349 = new List(num2); - CollectionsMarshal.SetCount(list349, num2); - CollectionsMarshal.AsSpan(list349)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025330u, new Vector3(64.83557f, 30.6188f, -722.3774f), 156) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj172.Steps = list349; - reference230 = obj172; - ref QuestSequence reference231 = ref span206[1]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - CollectionsMarshal.AsSpan(list350)[0] = new QuestStep(EInteractionType.Interact, 1006530u, new Vector3(21.927185f, 20.746975f, -682.06305f), 156) - { - Fly = true - }; - obj173.Steps = list350; - reference231 = obj173; - ref QuestSequence reference232 = ref span206[2]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list351 = new List(num2); - CollectionsMarshal.SetCount(list351, num2); - CollectionsMarshal.AsSpan(list351)[0] = new QuestStep(EInteractionType.Interact, 1009813u, new Vector3(55.436035f, 31.187548f, -763.42413f), 156) - { - Fly = true - }; - obj174.Steps = list351; - reference232 = obj174; - ref QuestSequence reference233 = ref span206[3]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list352 = new List(num2); - CollectionsMarshal.SetCount(list352, num2); - Span span207 = CollectionsMarshal.AsSpan(list352); - span207[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(51.799374f, 50f, -774.0067f), 156) - { - Fly = true - }; - span207[1] = new QuestStep(EInteractionType.Interact, 1018433u, new Vector3(50.766724f, 50f, -772.3964f), 156); - obj175.Steps = list352; - reference233 = obj175; - ref QuestSequence reference234 = ref span206[4]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list353 = new List(num2); - CollectionsMarshal.SetCount(list353, num2); - CollectionsMarshal.AsSpan(list353)[0] = new QuestStep(EInteractionType.Interact, 1025287u, new Vector3(64.34729f, 31.199963f, -754.0246f), 156) - { - Fly = true - }; - obj176.Steps = list353; - reference234 = obj176; - ref QuestSequence reference235 = ref span206[5]; - QuestSequence obj177 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list354 = new List(num2); - CollectionsMarshal.SetCount(list354, num2); - CollectionsMarshal.AsSpan(list354)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024791u, new Vector3(31.60144f, 0.26575702f, 28.915894f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave, - NextQuestId = new QuestId(3141) - }; - obj177.Steps = list354; - reference235 = obj177; - questRoot31.QuestSequence = list348; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(3089); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list355 = new List(num); - CollectionsMarshal.SetCount(list355, num); - CollectionsMarshal.AsSpan(list355)[0] = "liza"; - questRoot32.Author = list355; - num = 10; - List list356 = new List(num); - CollectionsMarshal.SetCount(list356, num); - Span span208 = CollectionsMarshal.AsSpan(list356); - ref QuestSequence reference236 = ref span208[0]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list357 = new List(num2); - CollectionsMarshal.SetCount(list357, num2); - CollectionsMarshal.AsSpan(list357)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024149u, new Vector3(-42.25226f, 15.000004f, 42.557373f), 628) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeMarkets, - To = EAetheryteLocation.KuganeMarkets - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj178.Steps = list357; - reference236 = obj178; - ref QuestSequence reference237 = ref span208[1]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list358 = new List(num2); - CollectionsMarshal.SetCount(list358, num2); - Span span209 = CollectionsMarshal.AsSpan(list358); - span209[0] = new QuestStep(EInteractionType.Interact, 1019043u, new Vector3(-43.656128f, 15.000004f, 46.52478f), 628) - { - TargetTerritoryId = (ushort)628 - }; - ref QuestStep reference238 = ref span209[1]; - QuestStep obj180 = new QuestStep(EInteractionType.Interact, 1024157u, new Vector3(-59.098206f, 79.05602f, 45.303955f), 628) - { - StopDistance = 7f, - TargetTerritoryId = (ushort)735 - }; - num3 = 1; - List list359 = new List(num3); - CollectionsMarshal.SetCount(list359, num3); - CollectionsMarshal.AsSpan(list359)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDI201_03089_Q1_000_000") - }; - obj180.DialogueChoices = list359; - reference238 = obj180; - obj179.Steps = list358; - reference237 = obj179; - span208[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference239 = ref span208[3]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list360 = new List(num2); - CollectionsMarshal.SetCount(list360, num2); - CollectionsMarshal.AsSpan(list360)[0] = new QuestStep(EInteractionType.Interact, 1025590u, new Vector3(-8.98761f, 0.05124536f, -3.768982f), 735) - { - StopDistance = 7f - }; - obj181.Steps = list360; - reference239 = obj181; - ref QuestSequence reference240 = ref span208[4]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list361 = new List(num2); - CollectionsMarshal.SetCount(list361, num2); - CollectionsMarshal.AsSpan(list361)[0] = new QuestStep(EInteractionType.Interact, 1025651u, new Vector3(-10.391418f, 0.046870887f, -3.7080078f), 735) - { - StopDistance = 7f - }; - obj182.Steps = list361; - reference240 = obj182; - ref QuestSequence reference241 = ref span208[5]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list362 = new List(num2); - CollectionsMarshal.SetCount(list362, num2); - CollectionsMarshal.AsSpan(list362)[0] = new QuestStep(EInteractionType.Interact, 1025499u, new Vector3(-117.17407f, -7.000125f, -67.826416f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeShiokazeHostelry - } - }; - obj183.Steps = list362; - reference241 = obj183; - ref QuestSequence reference242 = ref span208[6]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list363 = new List(num2); - CollectionsMarshal.SetCount(list363, num2); - ref QuestStep reference243 = ref CollectionsMarshal.AsSpan(list363)[0]; - QuestStep obj185 = new QuestStep(EInteractionType.Combat, null, new Vector3(-399.64905f, 9.982385f, 551.7814f), 614) - { - StopDistance = 0.5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list364 = new List(num3); - CollectionsMarshal.SetCount(list364, num3); - CollectionsMarshal.AsSpan(list364)[0] = 8801u; - obj185.KillEnemyDataIds = list364; - reference243 = obj185; - obj184.Steps = list363; - reference242 = obj184; - ref QuestSequence reference244 = ref span208[7]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list365 = new List(num2); - CollectionsMarshal.SetCount(list365, num2); - CollectionsMarshal.AsSpan(list365)[0] = new QuestStep(EInteractionType.Interact, 1025587u, new Vector3(-399.64905f, 9.982385f, 551.7814f), 614); - obj186.Steps = list365; - reference244 = obj186; - ref QuestSequence reference245 = ref span208[8]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list366 = new List(num2); - CollectionsMarshal.SetCount(list366, num2); - CollectionsMarshal.AsSpan(list366)[0] = new QuestStep(EInteractionType.Interact, 1024156u, new Vector3(-59.098206f, 79.05602f, 45.303955f), 628) - { - StopDistance = 7f, - TargetTerritoryId = (ushort)735, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeAirship - } - }; - obj187.Steps = list366; - reference245 = obj187; - ref QuestSequence reference246 = ref span208[9]; - QuestSequence obj188 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list367 = new List(num2); - CollectionsMarshal.SetCount(list367, num2); - CollectionsMarshal.AsSpan(list367)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025729u, new Vector3(-12.222534f, 0.046870727f, -3.2197266f), 735) - { - NextQuestId = new QuestId(3091) - }; - obj188.Steps = list367; - reference246 = obj188; - questRoot32.QuestSequence = list356; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(3090); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list368 = new List(num); - CollectionsMarshal.SetCount(list368, num); - CollectionsMarshal.AsSpan(list368)[0] = "liza"; - questRoot33.Author = list368; - num = 13; - List list369 = new List(num); - CollectionsMarshal.SetCount(list369, num); - Span span210 = CollectionsMarshal.AsSpan(list369); - ref QuestSequence reference247 = ref span210[0]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list370 = new List(num2); - CollectionsMarshal.SetCount(list370, num2); - CollectionsMarshal.AsSpan(list370)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026029u, new Vector3(1.3274536f, 0.05124623f, 1.9683228f), 735); - obj189.Steps = list370; - reference247 = obj189; - ref QuestSequence reference248 = ref span210[1]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list371 = new List(num2); - CollectionsMarshal.SetCount(list371, num2); - CollectionsMarshal.AsSpan(list371)[0] = new QuestStep(EInteractionType.Interact, 1006305u, new Vector3(10.60498f, 71.47817f, -16.617126f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport - }; - obj190.Steps = list371; - reference248 = obj190; - ref QuestSequence reference249 = ref span210[2]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list372 = new List(num2); - CollectionsMarshal.SetCount(list372, num2); - CollectionsMarshal.AsSpan(list372)[0] = new QuestStep(EInteractionType.Interact, 1006306u, new Vector3(-25.864075f, 71.787285f, -36.78955f), 137); - obj191.Steps = list372; - reference249 = obj191; - ref QuestSequence reference250 = ref span210[3]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list373 = new List(num2); - CollectionsMarshal.SetCount(list373, num2); - CollectionsMarshal.AsSpan(list373)[0] = new QuestStep(EInteractionType.Interact, 1006273u, new Vector3(619.0126f, 23.936245f, 455.10022f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj192.Steps = list373; - reference250 = obj192; - ref QuestSequence reference251 = ref span210[4]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list374 = new List(num2); - CollectionsMarshal.SetCount(list374, num2); - CollectionsMarshal.AsSpan(list374)[0] = new QuestStep(EInteractionType.Interact, 1006305u, new Vector3(10.60498f, 71.47817f, -16.617126f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport - }; - obj193.Steps = list374; - reference251 = obj193; - ref QuestSequence reference252 = ref span210[5]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list375 = new List(num2); - CollectionsMarshal.SetCount(list375, num2); - Span span211 = CollectionsMarshal.AsSpan(list375); - span211[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-371.6037f, 54.310753f, 428.55798f), 137) - { - Fly = true - }; - span211[1] = new QuestStep(EInteractionType.Interact, 1006312u, new Vector3(-369.0395f, 54.28071f, 441.24512f), 137); - obj194.Steps = list375; - reference252 = obj194; - ref QuestSequence reference253 = ref span210[6]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list376 = new List(num2); - CollectionsMarshal.SetCount(list376, num2); - CollectionsMarshal.AsSpan(list376)[0] = new QuestStep(EInteractionType.Emote, 1006312u, new Vector3(-369.0395f, 54.28071f, 441.24512f), 137) - { - Emote = EEmote.Soothe - }; - obj195.Steps = list376; - reference253 = obj195; - ref QuestSequence reference254 = ref span210[7]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list377 = new List(num2); - CollectionsMarshal.SetCount(list377, num2); - CollectionsMarshal.AsSpan(list377)[0] = new QuestStep(EInteractionType.Emote, 1006312u, new Vector3(-369.0395f, 54.28071f, 441.24512f), 137) - { - Emote = EEmote.Comfort - }; - obj196.Steps = list377; - reference254 = obj196; - ref QuestSequence reference255 = ref span210[8]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list378 = new List(num2); - CollectionsMarshal.SetCount(list378, num2); - CollectionsMarshal.AsSpan(list378)[0] = new QuestStep(EInteractionType.Interact, 2009478u, new Vector3(-372.12183f, 48.874634f, 431.75403f), 137) - { - Mount = true - }; - obj197.Steps = list378; - reference255 = obj197; - ref QuestSequence reference256 = ref span210[9]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list379 = new List(num2); - CollectionsMarshal.SetCount(list379, num2); - CollectionsMarshal.AsSpan(list379)[0] = new QuestStep(EInteractionType.Interact, 1006305u, new Vector3(10.60498f, 71.47817f, -16.617126f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport - }; - obj198.Steps = list379; - reference256 = obj198; - ref QuestSequence reference257 = ref span210[10]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list380 = new List(num2); - CollectionsMarshal.SetCount(list380, num2); - CollectionsMarshal.AsSpan(list380)[0] = new QuestStep(EInteractionType.Interact, 1006273u, new Vector3(619.0126f, 23.936245f, 455.10022f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj199.Steps = list380; - reference257 = obj199; - ref QuestSequence reference258 = ref span210[11]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 11 - }; - num2 = 2; - List list381 = new List(num2); - CollectionsMarshal.SetCount(list381, num2); - Span span212 = CollectionsMarshal.AsSpan(list381); - span212[0] = new QuestStep(EInteractionType.Interact, 1024156u, new Vector3(-59.098206f, 79.05602f, 45.303955f), 628) - { - StopDistance = 7f, - TargetTerritoryId = (ushort)735, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeAirship - } - }; - span212[1] = new QuestStep(EInteractionType.Interact, 1026029u, new Vector3(1.3274536f, 0.05124623f, 1.9683228f), 735); - obj200.Steps = list381; - reference258 = obj200; - ref QuestSequence reference259 = ref span210[12]; - QuestSequence obj201 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list382 = new List(num2); - CollectionsMarshal.SetCount(list382, num2); - CollectionsMarshal.AsSpan(list382)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026029u, new Vector3(1.3274536f, 0.05124623f, 1.9683228f), 735) - { - NextQuestId = new QuestId(3190) - }; - obj201.Steps = list382; - reference259 = obj201; - questRoot33.QuestSequence = list369; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(3091); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list383 = new List(num); - CollectionsMarshal.SetCount(list383, num); - CollectionsMarshal.AsSpan(list383)[0] = "liza"; - questRoot34.Author = list383; - num = 5; - List list384 = new List(num); - CollectionsMarshal.SetCount(list384, num); - Span span213 = CollectionsMarshal.AsSpan(list384); - ref QuestSequence reference260 = ref span213[0]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list385 = new List(num2); - CollectionsMarshal.SetCount(list385, num2); - CollectionsMarshal.AsSpan(list385)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025729u, new Vector3(-12.222534f, 0.046870727f, -3.2197266f), 735); - obj202.Steps = list385; - reference260 = obj202; - ref QuestSequence reference261 = ref span213[1]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list386 = new List(num2); - CollectionsMarshal.SetCount(list386, num2); - ref QuestStep reference262 = ref CollectionsMarshal.AsSpan(list386)[0]; - QuestStep obj204 = new QuestStep(EInteractionType.Interact, 1025652u, new Vector3(-10.8797f, 0.046870843f, -4.3793945f), 735) - { - StopDistance = 7f - }; - num3 = 1; - List list387 = new List(num3); - CollectionsMarshal.SetCount(list387, num3); - CollectionsMarshal.AsSpan(list387)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDI203_03091_Q1_000_000"), - Answer = new ExcelRef("TEXT_STMBDI203_03091_A1_000_001") - }; - obj204.DialogueChoices = list387; - reference262 = obj204; - obj203.Steps = list386; - reference261 = obj203; - span213[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference263 = ref span213[3]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list388 = new List(num2); - CollectionsMarshal.SetCount(list388, num2); - CollectionsMarshal.AsSpan(list388)[0] = new QuestStep(EInteractionType.Snipe, 2009477u, new Vector3(-198.6877f, 17.56311f, 208.484f), 787) - { - Comment = "Far on the left" - }; - obj205.Steps = list388; - reference263 = obj205; - ref QuestSequence reference264 = ref span213[4]; - QuestSequence obj206 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list389 = new List(num2); - CollectionsMarshal.SetCount(list389, num2); - CollectionsMarshal.AsSpan(list389)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025741u, new Vector3(1.449585f, -2.256812E-06f, -9.658997f), 736) - { - StopDistance = 5f, - NextQuestId = new QuestId(3092) - }; - obj206.Steps = list389; - reference264 = obj206; - questRoot34.QuestSequence = list384; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(3092); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list390 = new List(num); - CollectionsMarshal.SetCount(list390, num); - CollectionsMarshal.AsSpan(list390)[0] = "liza"; - questRoot35.Author = list390; - num = 4; - List list391 = new List(num); - CollectionsMarshal.SetCount(list391, num); - Span span214 = CollectionsMarshal.AsSpan(list391); - ref QuestSequence reference265 = ref span214[0]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list392 = new List(num2); - CollectionsMarshal.SetCount(list392, num2); - CollectionsMarshal.AsSpan(list392)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025741u, new Vector3(1.449585f, -2.256812E-06f, -9.658997f), 736) - { - StopDistance = 5f - }; - obj207.Steps = list392; - reference265 = obj207; - ref QuestSequence reference266 = ref span214[1]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list393 = new List(num2); - CollectionsMarshal.SetCount(list393, num2); - CollectionsMarshal.AsSpan(list393)[0] = new QuestStep(EInteractionType.Duty, null, null, 736) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 550u - } - }; - obj208.Steps = list393; - reference266 = obj208; - span214[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference267 = ref span214[3]; - QuestSequence obj209 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list394 = new List(num2); - CollectionsMarshal.SetCount(list394, num2); - CollectionsMarshal.AsSpan(list394)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024149u, new Vector3(-42.25226f, 15.000004f, 42.557373f), 628) - { - StopDistance = 7f, - NextQuestId = new QuestId(3187) - }; - obj209.Steps = list394; - reference267 = obj209; - questRoot35.QuestSequence = list391; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(3094); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list395 = new List(num); - CollectionsMarshal.SetCount(list395, num); - CollectionsMarshal.AsSpan(list395)[0] = "liza"; - questRoot36.Author = list395; - num = 6; - List list396 = new List(num); - CollectionsMarshal.SetCount(list396, num); - Span span215 = CollectionsMarshal.AsSpan(list396); - ref QuestSequence reference268 = ref span215[0]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list397 = new List(num2); - CollectionsMarshal.SetCount(list397, num2); - CollectionsMarshal.AsSpan(list397)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024708u, new Vector3(98.83264f, 4.0000014f, 103.471436f), 628); - obj210.Steps = list397; - reference268 = obj210; - ref QuestSequence reference269 = ref span215[1]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list398 = new List(num2); - CollectionsMarshal.SetCount(list398, num2); - CollectionsMarshal.AsSpan(list398)[0] = new QuestStep(EInteractionType.Interact, 1025885u, new Vector3(26.443848f, 6.024561f, -118.57788f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeMarkets, - To = EAetheryteLocation.KuganeRakuzaDistrict - } - }; - obj211.Steps = list398; - reference269 = obj211; - ref QuestSequence reference270 = ref span215[2]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list399 = new List(num2); - CollectionsMarshal.SetCount(list399, num2); - CollectionsMarshal.AsSpan(list399)[0] = new QuestStep(EInteractionType.Interact, 1025887u, new Vector3(-62.790894f, 6.0295854f, -171.19104f), 628); - obj212.Steps = list399; - reference270 = obj212; - ref QuestSequence reference271 = ref span215[3]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list400 = new List(num2); - CollectionsMarshal.SetCount(list400, num2); - CollectionsMarshal.AsSpan(list400)[0] = new QuestStep(EInteractionType.Interact, 1025891u, new Vector3(-45.059937f, 10.503964f, -191.79071f), 628); - obj213.Steps = list400; - reference271 = obj213; - ref QuestSequence reference272 = ref span215[4]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list401 = new List(num2); - CollectionsMarshal.SetCount(list401, num2); - CollectionsMarshal.AsSpan(list401)[0] = new QuestStep(EInteractionType.Interact, 1025887u, new Vector3(-62.790894f, 6.0295854f, -171.19104f), 628); - obj214.Steps = list401; - reference272 = obj214; - ref QuestSequence reference273 = ref span215[5]; - QuestSequence obj215 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list402 = new List(num2); - CollectionsMarshal.SetCount(list402, num2); - CollectionsMarshal.AsSpan(list402)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025893u, new Vector3(-60.41046f, 6.0110765f, -168.41382f), 628) - { - NextQuestId = new QuestId(3095) - }; - obj215.Steps = list402; - reference273 = obj215; - questRoot36.QuestSequence = list396; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(3095); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list403 = new List(num); - CollectionsMarshal.SetCount(list403, num); - CollectionsMarshal.AsSpan(list403)[0] = "liza"; - questRoot37.Author = list403; - num = 9; - List list404 = new List(num); - CollectionsMarshal.SetCount(list404, num); - Span span216 = CollectionsMarshal.AsSpan(list404); - ref QuestSequence reference274 = ref span216[0]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list405 = new List(num2); - CollectionsMarshal.SetCount(list405, num2); - CollectionsMarshal.AsSpan(list405)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025893u, new Vector3(-60.41046f, 6.0110765f, -168.41382f), 628); - obj216.Steps = list405; - reference274 = obj216; - ref QuestSequence reference275 = ref span216[1]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list406 = new List(num2); - CollectionsMarshal.SetCount(list406, num2); - CollectionsMarshal.AsSpan(list406)[0] = new QuestStep(EInteractionType.Interact, 1025896u, new Vector3(248.09644f, 17.471375f, -664.9729f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaHouseOfTheFierce - }; - obj217.Steps = list406; - reference275 = obj217; - ref QuestSequence reference276 = ref span216[2]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list407 = new List(num2); - CollectionsMarshal.SetCount(list407, num2); - CollectionsMarshal.AsSpan(list407)[0] = new QuestStep(EInteractionType.Interact, 1025901u, new Vector3(-93.70575f, 53.144028f, -530.2663f), 614) - { - Fly = true - }; - obj218.Steps = list407; - reference276 = obj218; - ref QuestSequence reference277 = ref span216[3]; - QuestSequence obj219 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list408 = new List(num2); - CollectionsMarshal.SetCount(list408, num2); - CollectionsMarshal.AsSpan(list408)[0] = new QuestStep(EInteractionType.Interact, 1025906u, new Vector3(-208.8808f, 53.217514f, -581.3535f), 614) - { - Fly = true - }; - obj219.Steps = list408; - reference277 = obj219; - ref QuestSequence reference278 = ref span216[4]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list409 = new List(num2); - CollectionsMarshal.SetCount(list409, num2); - CollectionsMarshal.AsSpan(list409)[0] = new QuestStep(EInteractionType.Interact, 2009533u, new Vector3(-220.11145f, 53.20813f, -597.80273f), 614) - { - Fly = true - }; - obj220.Steps = list409; - reference278 = obj220; - ref QuestSequence reference279 = ref span216[5]; - QuestSequence obj221 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list410 = new List(num2); - CollectionsMarshal.SetCount(list410, num2); - CollectionsMarshal.AsSpan(list410)[0] = new QuestStep(EInteractionType.Interact, 1025910u, new Vector3(-125.41394f, 53.217514f, -648.4321f), 614) - { - Fly = true - }; - obj221.Steps = list410; - reference279 = obj221; - ref QuestSequence reference280 = ref span216[6]; - QuestSequence obj222 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list411 = new List(num2); - CollectionsMarshal.SetCount(list411, num2); - CollectionsMarshal.AsSpan(list411)[0] = new QuestStep(EInteractionType.Interact, 1025911u, new Vector3(-126.237915f, 53.217514f, -650.6905f), 614) - { - StopDistance = 5f - }; - obj222.Steps = list411; - reference280 = obj222; - ref QuestSequence reference281 = ref span216[7]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list412 = new List(num2); - CollectionsMarshal.SetCount(list412, num2); - CollectionsMarshal.AsSpan(list412)[0] = new QuestStep(EInteractionType.Interact, 1019030u, new Vector3(65.72058f, 10.503965f, -167.1626f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane - }; - obj223.Steps = list412; - reference281 = obj223; - ref QuestSequence reference282 = ref span216[8]; - QuestSequence obj224 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list413 = new List(num2); - CollectionsMarshal.SetCount(list413, num2); - CollectionsMarshal.AsSpan(list413)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025912u, new Vector3(66.57507f, 10.503965f, -155.59625f), 628) - { - StopDistance = 5f, - NextQuestId = new QuestId(3150) - }; - obj224.Steps = list413; - reference282 = obj224; - questRoot37.QuestSequence = list404; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(3096); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list414 = new List(num); - CollectionsMarshal.SetCount(list414, num); - CollectionsMarshal.AsSpan(list414)[0] = "Censored"; - questRoot38.Author = list414; - num = 6; - List list415 = new List(num); - CollectionsMarshal.SetCount(list415, num); - Span span217 = CollectionsMarshal.AsSpan(list415); - ref QuestSequence reference283 = ref span217[0]; - QuestSequence obj225 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list416 = new List(num2); - CollectionsMarshal.SetCount(list416, num2); - CollectionsMarshal.AsSpan(list416)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025693u, new Vector3(-200.18317f, 1.7223222f, 801.75464f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj225.Steps = list416; - reference283 = obj225; - ref QuestSequence reference284 = ref span217[1]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list417 = new List(num2); - CollectionsMarshal.SetCount(list417, num2); - CollectionsMarshal.AsSpan(list417)[0] = new QuestStep(EInteractionType.Interact, 1025694u, new Vector3(-290.11975f, 17.31996f, 511.98596f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj226.Steps = list417; - reference284 = obj226; - ref QuestSequence reference285 = ref span217[2]; - QuestSequence obj227 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list418 = new List(num2); - CollectionsMarshal.SetCount(list418, num2); - CollectionsMarshal.AsSpan(list418)[0] = new QuestStep(EInteractionType.Interact, 1025695u, new Vector3(-284.16876f, 17.31996f, 513.6643f), 614); - obj227.Steps = list418; - reference285 = obj227; - ref QuestSequence reference286 = ref span217[3]; - QuestSequence obj228 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list419 = new List(num2); - CollectionsMarshal.SetCount(list419, num2); - Span span218 = CollectionsMarshal.AsSpan(list419); - span218[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(494.13614f, 40.921455f, -482.27777f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span218[1] = new QuestStep(EInteractionType.Interact, 1019382u, new Vector3(496.5437f, 40.859642f, -510.58215f), 622); - obj228.Steps = list419; - reference286 = obj228; - ref QuestSequence reference287 = ref span217[4]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list420 = new List(num2); - CollectionsMarshal.SetCount(list420, num2); - ref QuestStep reference288 = ref CollectionsMarshal.AsSpan(list420)[0]; - QuestStep obj230 = new QuestStep(EInteractionType.Interact, 1025697u, new Vector3(-627.83246f, 40.01948f, 100.20593f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-627.83246f, 40.01948f, 100.20593f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - num3 = 1; - List list421 = new List(num3); - CollectionsMarshal.SetCount(list421, num3); - CollectionsMarshal.AsSpan(list421)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANNAM000_03096_Q4_000_000") - }; - obj230.DialogueChoices = list421; - reference288 = obj230; - obj229.Steps = list420; - reference287 = obj229; - ref QuestSequence reference289 = ref span217[5]; - QuestSequence obj231 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list422 = new List(num2); - CollectionsMarshal.SetCount(list422, num2); - CollectionsMarshal.AsSpan(list422)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025698u, new Vector3(-766.7201f, 127.43861f, 91.23364f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-766.7201f, 127.43861f, 91.23364f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj231.Steps = list422; - reference289 = obj231; - questRoot38.QuestSequence = list415; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(3097); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list423 = new List(num); - CollectionsMarshal.SetCount(list423, num); - CollectionsMarshal.AsSpan(list423)[0] = "Censored"; - questRoot39.Author = list423; - num = 2; - List list424 = new List(num); - CollectionsMarshal.SetCount(list424, num); - Span span219 = CollectionsMarshal.AsSpan(list424); - ref QuestSequence reference290 = ref span219[0]; - QuestSequence obj232 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list425 = new List(num2); - CollectionsMarshal.SetCount(list425, num2); - CollectionsMarshal.AsSpan(list425)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025700u, new Vector3(-767.2999f, 127.43303f, 92.48486f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj232.Steps = list425; - reference290 = obj232; - ref QuestSequence reference291 = ref span219[1]; - QuestSequence obj233 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 6; - List list426 = new List(num2); - CollectionsMarshal.SetCount(list426, num2); - Span span220 = CollectionsMarshal.AsSpan(list426); - ref QuestStep reference292 = ref span220[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1025609u, new Vector3(-770.4738f, 127.42798f, 85.28259f), 622); - num3 = 1; - List list427 = new List(num3); - CollectionsMarshal.SetCount(list427, num3); - CollectionsMarshal.AsSpan(list427)[0] = EExtendedClassJob.DoH; - questStep8.RequiredQuestAcceptedJob = list427; - reference292 = questStep8; - ref QuestStep reference293 = ref span220[1]; - QuestStep obj234 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22720u, - ItemCount = 3 - }; - num3 = 1; - List list428 = new List(num3); - CollectionsMarshal.SetCount(list428, num3); - CollectionsMarshal.AsSpan(list428)[0] = EExtendedClassJob.DoH; - obj234.RequiredQuestAcceptedJob = list428; - reference293 = obj234; - ref QuestStep reference294 = ref span220[2]; - QuestStep questStep9 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list429 = new List(num3); - CollectionsMarshal.SetCount(list429, num3); - CollectionsMarshal.AsSpan(list429)[0] = EExtendedClassJob.Miner; - questStep9.RequiredQuestAcceptedJob = list429; - num3 = 1; - List list430 = new List(num3); - CollectionsMarshal.SetCount(list430, num3); - CollectionsMarshal.AsSpan(list430)[0] = new GatheredItem - { - ItemId = 22616u, - ItemCount = 3 - }; - questStep9.ItemsToGather = list430; - reference294 = questStep9; - ref QuestStep reference295 = ref span220[3]; - QuestStep questStep10 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list431 = new List(num3); - CollectionsMarshal.SetCount(list431, num3); - CollectionsMarshal.AsSpan(list431)[0] = EExtendedClassJob.Botanist; - questStep10.RequiredQuestAcceptedJob = list431; - num3 = 1; - List list432 = new List(num3); - CollectionsMarshal.SetCount(list432, num3); - CollectionsMarshal.AsSpan(list432)[0] = new GatheredItem - { - ItemId = 22642u, - ItemCount = 3 - }; - questStep10.ItemsToGather = list432; - reference295 = questStep10; - ref QuestStep reference296 = ref span220[4]; - QuestStep questStep11 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list433 = new List(num3); - CollectionsMarshal.SetCount(list433, num3); - CollectionsMarshal.AsSpan(list433)[0] = EExtendedClassJob.Fisher; - questStep11.RequiredQuestAcceptedJob = list433; - num3 = 1; - List list434 = new List(num3); - CollectionsMarshal.SetCount(list434, num3); - CollectionsMarshal.AsSpan(list434)[0] = new GatheredItem - { - ItemId = 22668u, - ItemCount = 1 - }; - questStep11.ItemsToGather = list434; - reference296 = questStep11; - span220[5] = new QuestStep(EInteractionType.CompleteQuest, 1025699u, new Vector3(-765.3163f, 127.441086f, 90.92847f), 622); - obj233.Steps = list426; - reference291 = obj233; - questRoot39.QuestSequence = list424; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(3098); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list435 = new List(num); - CollectionsMarshal.SetCount(list435, num); - CollectionsMarshal.AsSpan(list435)[0] = "Theo"; - questRoot40.Author = list435; - num = 5; - List list436 = new List(num); - CollectionsMarshal.SetCount(list436, num); - Span span221 = CollectionsMarshal.AsSpan(list436); - ref QuestSequence reference297 = ref span221[0]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list437 = new List(num2); - CollectionsMarshal.SetCount(list437, num2); - Span span222 = CollectionsMarshal.AsSpan(list437); - span222[0] = new QuestStep(EInteractionType.WalkTo, 1025605u, new Vector3(-766.7506f, 127.43907f, 91.11157f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - span222[1] = new QuestStep(EInteractionType.AcceptQuest, 1025601u, new Vector3(-766.7506f, 127.43907f, 91.11157f), 622); - obj235.Steps = list437; - reference297 = obj235; - ref QuestSequence reference298 = ref span221[1]; - QuestSequence obj236 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list438 = new List(num2); - CollectionsMarshal.SetCount(list438, num2); - Span span223 = CollectionsMarshal.AsSpan(list438); - span223[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-283.0104f, 17.31996f, 508.54376f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai - }; - ref QuestStep reference299 = ref span223[1]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1025702u, new Vector3(-279.25543f, 17.31996f, 489.2804f), 614); - num3 = 6; - List list439 = new List(num3); - CollectionsMarshal.SetCount(list439, num3); - Span span224 = CollectionsMarshal.AsSpan(list439); - span224[0] = null; - span224[1] = null; - span224[2] = null; - span224[3] = null; - span224[4] = null; - span224[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list439; - reference299 = questStep12; - ref QuestStep reference300 = ref span223[2]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1025768u, new Vector3(-292.2561f, 17.31996f, 489.76868f), 614); - num3 = 6; - List list440 = new List(num3); - CollectionsMarshal.SetCount(list440, num3); - Span span225 = CollectionsMarshal.AsSpan(list440); - span225[0] = null; - span225[1] = null; - span225[2] = null; - span225[3] = null; - span225[4] = null; - span225[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list440; - reference300 = questStep13; - ref QuestStep reference301 = ref span223[3]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1025701u, new Vector3(-280.81183f, 17.31996f, 524.52893f), 614); - num3 = 6; - List list441 = new List(num3); - CollectionsMarshal.SetCount(list441, num3); - Span span226 = CollectionsMarshal.AsSpan(list441); - span226[0] = null; - span226[1] = null; - span226[2] = null; - span226[3] = null; - span226[4] = null; - span226[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list441; - reference301 = questStep14; - obj236.Steps = list438; - reference298 = obj236; - ref QuestSequence reference302 = ref span221[2]; - QuestSequence obj237 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list442 = new List(num2); - CollectionsMarshal.SetCount(list442, num2); - CollectionsMarshal.AsSpan(list442)[0] = new QuestStep(EInteractionType.Interact, 1025605u, new Vector3(-766.7506f, 127.43907f, 91.11157f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh - }; - obj237.Steps = list442; - reference302 = obj237; - ref QuestSequence reference303 = ref span221[3]; - QuestSequence obj238 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list443 = new List(num2); - CollectionsMarshal.SetCount(list443, num2); - CollectionsMarshal.AsSpan(list443)[0] = new QuestStep(EInteractionType.Interact, 1025703u, new Vector3(-734.0658f, 127.41788f, 100.8468f), 622); - obj238.Steps = list443; - reference303 = obj238; - ref QuestSequence reference304 = ref span221[4]; - QuestSequence obj239 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list444 = new List(num2); - CollectionsMarshal.SetCount(list444, num2); - Span span227 = CollectionsMarshal.AsSpan(list444); - ref QuestStep reference305 = ref span227[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1025609u, new Vector3(-770.4738f, 127.42798f, 85.28259f), 622); - num3 = 1; - List list445 = new List(num3); - CollectionsMarshal.SetCount(list445, num3); - CollectionsMarshal.AsSpan(list445)[0] = EExtendedClassJob.DoH; - questStep15.RequiredQuestAcceptedJob = list445; - reference305 = questStep15; - ref QuestStep reference306 = ref span227[1]; - QuestStep obj240 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22721u, - ItemCount = 2 - }; - num3 = 1; - List list446 = new List(num3); - CollectionsMarshal.SetCount(list446, num3); - CollectionsMarshal.AsSpan(list446)[0] = EExtendedClassJob.DoH; - obj240.RequiredQuestAcceptedJob = list446; - reference306 = obj240; - ref QuestStep reference307 = ref span227[2]; - QuestStep questStep16 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list447 = new List(num3); - CollectionsMarshal.SetCount(list447, num3); - CollectionsMarshal.AsSpan(list447)[0] = EExtendedClassJob.Miner; - questStep16.RequiredQuestAcceptedJob = list447; - num3 = 1; - List list448 = new List(num3); - CollectionsMarshal.SetCount(list448, num3); - CollectionsMarshal.AsSpan(list448)[0] = new GatheredItem - { - ItemId = 22617u, - ItemCount = 3 - }; - questStep16.ItemsToGather = list448; - reference307 = questStep16; - ref QuestStep reference308 = ref span227[3]; - QuestStep questStep17 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list449 = new List(num3); - CollectionsMarshal.SetCount(list449, num3); - CollectionsMarshal.AsSpan(list449)[0] = EExtendedClassJob.Botanist; - questStep17.RequiredQuestAcceptedJob = list449; - num3 = 1; - List list450 = new List(num3); - CollectionsMarshal.SetCount(list450, num3); - CollectionsMarshal.AsSpan(list450)[0] = new GatheredItem - { - ItemId = 22643u, - ItemCount = 3 - }; - questStep17.ItemsToGather = list450; - reference308 = questStep17; - span227[4] = new QuestStep(EInteractionType.CompleteQuest, 1025704u, new Vector3(-734.8898f, 127.42169f, 99.99231f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj239.Steps = list444; - reference304 = obj239; - questRoot40.QuestSequence = list436; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(3099); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list451 = new List(num); - CollectionsMarshal.SetCount(list451, num); - CollectionsMarshal.AsSpan(list451)[0] = "Theo"; - questRoot41.Author = list451; - num = 8; - List list452 = new List(num); - CollectionsMarshal.SetCount(list452, num); - Span span228 = CollectionsMarshal.AsSpan(list452); - ref QuestSequence reference309 = ref span228[0]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list453 = new List(num2); - CollectionsMarshal.SetCount(list453, num2); - CollectionsMarshal.AsSpan(list453)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025601u, new Vector3(-766.7506f, 127.43907f, 91.11157f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj241.Steps = list453; - reference309 = obj241; - ref QuestSequence reference310 = ref span228[1]; - QuestSequence obj242 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list454 = new List(num2); - CollectionsMarshal.SetCount(list454, num2); - CollectionsMarshal.AsSpan(list454)[0] = new QuestStep(EInteractionType.UseItem, 2009487u, new Vector3(9.048584f, 10.788086f, -0.015319824f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - ItemId = 2002473u, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(10.412015f, 10.75715f, -2.1064303f), - MaximumDistance = 50f, - TerritoryId = 628 - } - } - } - }; - obj242.Steps = list454; - reference310 = obj242; - ref QuestSequence reference311 = ref span228[2]; - QuestSequence obj243 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list455 = new List(num2); - CollectionsMarshal.SetCount(list455, num2); - CollectionsMarshal.AsSpan(list455)[0] = new QuestStep(EInteractionType.Interact, 1025705u, new Vector3(-40.116028f, -2.2548056f, 44.693604f), 628); - obj243.Steps = list455; - reference311 = obj243; - ref QuestSequence reference312 = ref span228[3]; - QuestSequence obj244 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list456 = new List(num2); - CollectionsMarshal.SetCount(list456, num2); - CollectionsMarshal.AsSpan(list456)[0] = new QuestStep(EInteractionType.Interact, 1025707u, new Vector3(-747.8599f, 127.457695f, 91.203125f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj244.Steps = list456; - reference312 = obj244; - ref QuestSequence reference313 = ref span228[4]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 4 - }; - num2 = 5; - List list457 = new List(num2); - CollectionsMarshal.SetCount(list457, num2); - Span span229 = CollectionsMarshal.AsSpan(list457); - ref QuestStep reference314 = ref span229[0]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1025609u, new Vector3(-770.4738f, 127.42798f, 85.28259f), 622); - num3 = 1; - List list458 = new List(num3); - CollectionsMarshal.SetCount(list458, num3); - CollectionsMarshal.AsSpan(list458)[0] = EExtendedClassJob.DoH; - questStep18.RequiredQuestAcceptedJob = list458; - reference314 = questStep18; - ref QuestStep reference315 = ref span229[1]; - QuestStep obj246 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22722u, - ItemCount = 2 - }; - num3 = 1; - List list459 = new List(num3); - CollectionsMarshal.SetCount(list459, num3); - CollectionsMarshal.AsSpan(list459)[0] = EExtendedClassJob.DoH; - obj246.RequiredQuestAcceptedJob = list459; - reference315 = obj246; - ref QuestStep reference316 = ref span229[2]; - QuestStep obj247 = new QuestStep(EInteractionType.Gather, null, null, 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(154.98914f, 16.515472f, -54.725204f), - MaximumDistance = 100f, - TerritoryId = 622 - } - } - } - }; - num3 = 1; - List list460 = new List(num3); - CollectionsMarshal.SetCount(list460, num3); - CollectionsMarshal.AsSpan(list460)[0] = EExtendedClassJob.Miner; - obj247.RequiredQuestAcceptedJob = list460; - num3 = 1; - List list461 = new List(num3); - CollectionsMarshal.SetCount(list461, num3); - CollectionsMarshal.AsSpan(list461)[0] = new GatheredItem - { - ItemId = 22618u, - ItemCount = 2 - }; - obj247.ItemsToGather = list461; - reference316 = obj247; - ref QuestStep reference317 = ref span229[3]; - QuestStep obj248 = new QuestStep(EInteractionType.Gather, null, null, 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(154.98914f, 16.515472f, -54.725204f), - MaximumDistance = 100f, - TerritoryId = 622 - } - } - } - }; - num3 = 1; - List list462 = new List(num3); - CollectionsMarshal.SetCount(list462, num3); - CollectionsMarshal.AsSpan(list462)[0] = EExtendedClassJob.Botanist; - obj248.RequiredQuestAcceptedJob = list462; - num3 = 1; - List list463 = new List(num3); - CollectionsMarshal.SetCount(list463, num3); - CollectionsMarshal.AsSpan(list463)[0] = new GatheredItem - { - ItemId = 22644u, - ItemCount = 2 - }; - obj248.ItemsToGather = list463; - reference317 = obj248; - span229[4] = new QuestStep(EInteractionType.Interact, 1025708u, new Vector3(-746.6392f, 127.458954f, 91.63037f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-746.6392f, 127.458954f, 91.63037f), - MaximumDistance = 100f, - TerritoryId = 622 - } - } - } - }; - obj245.Steps = list457; - reference313 = obj245; - ref QuestSequence reference318 = ref span228[5]; - QuestSequence obj249 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list464 = new List(num2); - CollectionsMarshal.SetCount(list464, num2); - CollectionsMarshal.AsSpan(list464)[0] = new QuestStep(EInteractionType.Interact, 1025707u, new Vector3(-747.8599f, 127.457695f, 91.203125f), 622); - obj249.Steps = list464; - reference318 = obj249; - ref QuestSequence reference319 = ref span228[6]; - QuestSequence obj250 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list465 = new List(num2); - CollectionsMarshal.SetCount(list465, num2); - Span span230 = CollectionsMarshal.AsSpan(list465); - ref QuestStep reference320 = ref span230[0]; - QuestStep obj251 = new QuestStep(EInteractionType.Action, 1026018u, new Vector3(-728.2368f, 127.378174f, 110.7041f), 622) - { - Action = EAction.Wasshoi - }; - num3 = 6; - List list466 = new List(num3); - CollectionsMarshal.SetCount(list466, num3); - Span span231 = CollectionsMarshal.AsSpan(list466); - span231[0] = null; - span231[1] = null; - span231[2] = null; - span231[3] = null; - span231[4] = null; - span231[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj251.CompletionQuestVariablesFlags = list466; - reference320 = obj251; - ref QuestStep reference321 = ref span230[1]; - QuestStep obj252 = new QuestStep(EInteractionType.Action, 1025709u, new Vector3(-761.86774f, 127.25556f, 137.52954f), 622) - { - Action = EAction.Wasshoi - }; - num3 = 6; - List list467 = new List(num3); - CollectionsMarshal.SetCount(list467, num3); - Span span232 = CollectionsMarshal.AsSpan(list467); - span232[0] = null; - span232[1] = null; - span232[2] = null; - span232[3] = null; - span232[4] = null; - span232[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj252.CompletionQuestVariablesFlags = list467; - reference321 = obj252; - obj250.Steps = list465; - reference319 = obj250; - ref QuestSequence reference322 = ref span228[7]; - QuestSequence obj253 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list468 = new List(num2); - CollectionsMarshal.SetCount(list468, num2); - CollectionsMarshal.AsSpan(list468)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025707u, new Vector3(-747.8599f, 127.457695f, 91.203125f), 622) - { - Mount = false, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj253.Steps = list468; - reference322 = obj253; - questRoot41.QuestSequence = list452; - AddQuest(questId41, questRoot41); - } - - private static void LoadQuests62() - { - QuestId questId = new QuestId(3100); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "Theo"; - questRoot.Author = list; - num = 8; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025601u, new Vector3(-766.7506f, 127.43907f, 91.11157f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(493.82428f, 40.425697f, -479.13782f), 622) - { - Fly = true - }; - span2[1] = new QuestStep(EInteractionType.Interact, 1020539u, new Vector3(498.2832f, 40.836098f, -508.20172f), 622) - { - Fly = false - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1019417u, new Vector3(-39.414062f, 122.1f, 63.61487f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-39.414062f, 122.1f, 63.61487f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Interact, 1020280u, new Vector3(-448.1422f, 2.2771428f, 632.1354f), 622) - { - Fly = true - }; - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.Interact, 1025843u, new Vector3(-743.9536f, 127.27266f, 138.23145f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj5.Steps = list7; - reference5 = obj5; - ref QuestSequence reference6 = ref span[5]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 5 - }; - num2 = 5; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - Span span3 = CollectionsMarshal.AsSpan(list8); - ref QuestStep reference7 = ref span3[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1025609u, new Vector3(-770.4738f, 127.42798f, 85.28259f), 622); - int num3 = 1; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - CollectionsMarshal.AsSpan(list9)[0] = EExtendedClassJob.DoH; - questStep.RequiredCurrentJob = list9; - reference7 = questStep; - ref QuestStep reference8 = ref span3[1]; - QuestStep obj7 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22723u, - ItemCount = 1 - }; - num3 = 1; - List list10 = new List(num3); - CollectionsMarshal.SetCount(list10, num3); - CollectionsMarshal.AsSpan(list10)[0] = EExtendedClassJob.DoH; - obj7.RequiredCurrentJob = list10; - reference8 = obj7; - ref QuestStep reference9 = ref span3[2]; - QuestStep obj8 = new QuestStep(EInteractionType.Gather, null, null, 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(587.4958f, -11.549787f, 563.02606f), - MaximumDistance = 250f, - TerritoryId = 622 - } - } - } - }; - num3 = 1; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - CollectionsMarshal.AsSpan(list11)[0] = EExtendedClassJob.Miner; - obj8.RequiredQuestAcceptedJob = list11; - num3 = 1; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - CollectionsMarshal.AsSpan(list12)[0] = new GatheredItem - { - ItemId = 22619u, - ItemCount = 1 - }; - obj8.ItemsToGather = list12; - reference9 = obj8; - ref QuestStep reference10 = ref span3[3]; - QuestStep obj9 = new QuestStep(EInteractionType.Gather, null, null, 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(587.4958f, -11.549787f, 563.02606f), - MaximumDistance = 250f, - TerritoryId = 622 - } - } - } - }; - num3 = 1; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - CollectionsMarshal.AsSpan(list13)[0] = EExtendedClassJob.Botanist; - obj9.RequiredQuestAcceptedJob = list13; - num3 = 1; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - CollectionsMarshal.AsSpan(list14)[0] = new GatheredItem - { - ItemId = 22645u, - ItemCount = 1 - }; - obj9.ItemsToGather = list14; - reference10 = obj9; - span3[4] = new QuestStep(EInteractionType.Interact, 1025842u, new Vector3(-742.855f, 127.275314f, 137.59058f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-742.855f, 127.275314f, 137.59058f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj6.Steps = list8; - reference6 = obj6; - ref QuestSequence reference11 = ref span[6]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.Interact, 1025715u, new Vector3(-799.13025f, 127.50203f, 57.236572f), 622) - { - Fly = true - }; - obj10.Steps = list15; - reference11 = obj10; - ref QuestSequence reference12 = ref span[7]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025716u, new Vector3(-800.9613f, 127.411125f, 39.902344f), 622); - obj11.Steps = list16; - reference12 = obj11; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(3101); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - CollectionsMarshal.AsSpan(list17)[0] = "Theo"; - questRoot2.Author = list17; - num = 5; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - Span span4 = CollectionsMarshal.AsSpan(list18); - ref QuestSequence reference13 = ref span4[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025601u, new Vector3(-766.7506f, 127.43907f, 91.11157f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-766.7506f, 127.43907f, 91.11157f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj12.Steps = list19; - reference13 = obj12; - ref QuestSequence reference14 = ref span4[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - Span span5 = CollectionsMarshal.AsSpan(list20); - ref QuestStep reference15 = ref span5[0]; - QuestStep obj14 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(73.05273f, 205f, 143.30833f), 478) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.Idyllshire - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 2; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - Span span6 = CollectionsMarshal.AsSpan(list21); - span6[0] = 399; - span6[1] = 463; - skipStepConditions.InTerritory = list21; - skipConditions.StepIf = skipStepConditions; - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 3; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - Span span7 = CollectionsMarshal.AsSpan(list22); - span7[0] = 478; - span7[1] = 399; - span7[2] = 463; - skipAetheryteCondition.InTerritory = list22; - skipConditions.AetheryteShortcutIf = skipAetheryteCondition; - obj14.SkipConditions = skipConditions; - reference15 = obj14; - ref QuestStep reference16 = ref span5[1]; - QuestStep obj15 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-488.692f, 139.95807f, 734.253f), 399) - { - Fly = true - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - CollectionsMarshal.AsSpan(list23)[0] = 463; - skipStepConditions2.InTerritory = list23; - skipConditions2.StepIf = skipStepConditions2; - obj15.SkipConditions = skipConditions2; - reference16 = obj15; - ref QuestStep reference17 = ref span5[2]; - QuestStep obj16 = new QuestStep(EInteractionType.Interact, 2005336u, new Vector3(-488.79227f, 138.93335f, 741.0543f), 399) - { - TargetTerritoryId = (ushort)463, - Mount = false - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - CollectionsMarshal.AsSpan(list24)[0] = 463; - skipStepConditions3.InTerritory = list24; - skipConditions3.StepIf = skipStepConditions3; - obj16.SkipConditions = skipConditions3; - reference17 = obj16; - span5[3] = new QuestStep(EInteractionType.UseItem, 2009488u, new Vector3(17.837708f, 38.406982f, 15.030029f), 463) - { - ItemId = 2002474u - }; - obj13.Steps = list20; - reference14 = obj13; - ref QuestSequence reference18 = ref span4[2]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.UseItem, 2009510u, new Vector3(-736.5072f, 127.39758f, 101.548706f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - ItemId = 2002474u - }; - obj17.Steps = list25; - reference18 = obj17; - ref QuestSequence reference19 = ref span4[3]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.Interact, 1025844u, new Vector3(-790.82935f, 127.2799f, 123.948975f), 622) - { - Mount = true - }; - obj18.Steps = list26; - reference19 = obj18; - ref QuestSequence reference20 = ref span4[4]; - QuestSequence obj19 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - Span span8 = CollectionsMarshal.AsSpan(list27); - ref QuestStep reference21 = ref span8[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1025609u, new Vector3(-770.4738f, 127.42798f, 85.28259f), 622); - num3 = 1; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - CollectionsMarshal.AsSpan(list28)[0] = EExtendedClassJob.DoH; - questStep2.RequiredQuestAcceptedJob = list28; - reference21 = questStep2; - ref QuestStep reference22 = ref span8[1]; - QuestStep obj20 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22724u, - ItemCount = 1 - }; - num3 = 1; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - CollectionsMarshal.AsSpan(list29)[0] = EExtendedClassJob.DoH; - obj20.RequiredQuestAcceptedJob = list29; - reference22 = obj20; - ref QuestStep reference23 = ref span8[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - CollectionsMarshal.AsSpan(list30)[0] = EExtendedClassJob.Miner; - questStep3.RequiredQuestAcceptedJob = list30; - num3 = 1; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - CollectionsMarshal.AsSpan(list31)[0] = new GatheredItem - { - ItemId = 22620u, - ItemCount = 1 - }; - questStep3.ItemsToGather = list31; - reference23 = questStep3; - ref QuestStep reference24 = ref span8[3]; - QuestStep questStep4 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - CollectionsMarshal.AsSpan(list32)[0] = EExtendedClassJob.Botanist; - questStep4.RequiredQuestAcceptedJob = list32; - num3 = 1; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - CollectionsMarshal.AsSpan(list33)[0] = new GatheredItem - { - ItemId = 22646u, - ItemCount = 1 - }; - questStep4.ItemsToGather = list33; - reference24 = questStep4; - span8[4] = new QuestStep(EInteractionType.CompleteQuest, 1025845u, new Vector3(-790.98193f, 127.28478f, 122.697754f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-790.98193f, 127.28478f, 122.697754f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj19.Steps = list27; - reference20 = obj19; - questRoot2.QuestSequence = list18; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(3102); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - CollectionsMarshal.AsSpan(list34)[0] = "Censored"; - questRoot3.Author = list34; - num = 5; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - Span span9 = CollectionsMarshal.AsSpan(list35); - ref QuestSequence reference25 = ref span9[0]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025601u, new Vector3(-766.7506f, 127.43907f, 91.11157f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-766.7506f, 127.43907f, 91.11157f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj21.Steps = list36; - reference25 = obj21; - ref QuestSequence reference26 = ref span9[1]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.Interact, 1020280u, new Vector3(-448.1422f, 2.2771428f, 632.1354f), 622) - { - Fly = true - }; - obj22.Steps = list37; - reference26 = obj22; - ref QuestSequence reference27 = ref span9[2]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.Interact, 1019417u, new Vector3(-39.414062f, 122.1f, 63.61487f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone - }; - obj23.Steps = list38; - reference27 = obj23; - ref QuestSequence reference28 = ref span9[3]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 1020539u, new Vector3(498.2832f, 40.836098f, -508.20172f), 622) - { - Fly = true - }; - obj24.Steps = list39; - reference28 = obj24; - ref QuestSequence reference29 = ref span9[4]; - QuestSequence obj25 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025844u, new Vector3(-790.82935f, 127.2799f, 123.948975f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh - }; - obj25.Steps = list40; - reference29 = obj25; - questRoot3.QuestSequence = list35; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(3103); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - CollectionsMarshal.AsSpan(list41)[0] = "Theo"; - questRoot4.Author = list41; - num = 4; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - Span span10 = CollectionsMarshal.AsSpan(list42); - ref QuestSequence reference30 = ref span10[0]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - Span span11 = CollectionsMarshal.AsSpan(list43); - span11[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-780.148f, 128.25195f, 97.154175f), 622); - span11[1] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622); - obj26.Steps = list43; - reference30 = obj26; - ref QuestSequence reference31 = ref span10[1]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.Interact, 1025769u, new Vector3(511.43652f, 29.907833f, -404.9287f), 622) - { - StopDistance = 5f, - Fly = true - }; - obj27.Steps = list44; - reference31 = obj27; - ref QuestSequence reference32 = ref span10[2]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - Span span12 = CollectionsMarshal.AsSpan(list45); - ref QuestStep reference33 = ref span12[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1025770u, new Vector3(511.65015f, 30.105957f, -407.24805f), 622); - num3 = 1; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - CollectionsMarshal.AsSpan(list46)[0] = EExtendedClassJob.DoH; - questStep5.RequiredQuestAcceptedJob = list46; - reference33 = questStep5; - ref QuestStep reference34 = ref span12[1]; - QuestStep obj29 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22725u, - ItemCount = 2 - }; - num3 = 1; - List list47 = new List(num3); - CollectionsMarshal.SetCount(list47, num3); - CollectionsMarshal.AsSpan(list47)[0] = EExtendedClassJob.DoH; - obj29.RequiredQuestAcceptedJob = list47; - reference34 = obj29; - ref QuestStep reference35 = ref span12[2]; - QuestStep questStep6 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - CollectionsMarshal.AsSpan(list48)[0] = EExtendedClassJob.Miner; - questStep6.RequiredQuestAcceptedJob = list48; - num3 = 1; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - CollectionsMarshal.AsSpan(list49)[0] = new GatheredItem - { - ItemId = 22621u, - ItemCount = 3 - }; - questStep6.ItemsToGather = list49; - reference35 = questStep6; - ref QuestStep reference36 = ref span12[3]; - QuestStep questStep7 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - CollectionsMarshal.AsSpan(list50)[0] = EExtendedClassJob.Botanist; - questStep7.RequiredQuestAcceptedJob = list50; - num3 = 1; - List list51 = new List(num3); - CollectionsMarshal.SetCount(list51, num3); - CollectionsMarshal.AsSpan(list51)[0] = new GatheredItem - { - ItemId = 22647u, - ItemCount = 3 - }; - questStep7.ItemsToGather = list51; - reference36 = questStep7; - span12[4] = new QuestStep(EInteractionType.Interact, 1025769u, new Vector3(511.43652f, 29.907833f, -404.9287f), 622) - { - Fly = true - }; - obj28.Steps = list45; - reference32 = obj28; - ref QuestSequence reference37 = ref span10[3]; - QuestSequence obj30 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj30.Steps = list52; - reference37 = obj30; - questRoot4.QuestSequence = list42; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(3104); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - CollectionsMarshal.AsSpan(list53)[0] = "Theo"; - questRoot5.Author = list53; - num = 3; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - Span span13 = CollectionsMarshal.AsSpan(list54); - ref QuestSequence reference38 = ref span13[0]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - Span span14 = CollectionsMarshal.AsSpan(list55); - span14[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-780.148f, 128.25195f, 97.154175f), 622); - span14[1] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622); - obj31.Steps = list55; - reference38 = obj31; - ref QuestSequence reference39 = ref span13[1]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - Span span15 = CollectionsMarshal.AsSpan(list56); - ref QuestStep reference40 = ref span15[0]; - QuestStep obj33 = new QuestStep(EInteractionType.Say, 2009491u, new Vector3(-70.81714f, 66.9718f, -421.89673f), 622) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANNAM302_03104_SAYTODO_000_050" - } - }; - num3 = 6; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - Span span16 = CollectionsMarshal.AsSpan(list57); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj33.CompletionQuestVariablesFlags = list57; - reference40 = obj33; - ref QuestStep reference41 = ref span15[1]; - QuestStep obj34 = new QuestStep(EInteractionType.Say, 2009492u, new Vector3(725.307f, -1.5717163f, -423.81934f), 622) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANNAM302_03104_SAYTODO_000_050" - } - }; - num3 = 6; - List list58 = new List(num3); - CollectionsMarshal.SetCount(list58, num3); - Span span17 = CollectionsMarshal.AsSpan(list58); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj34.CompletionQuestVariablesFlags = list58; - reference41 = obj34; - obj32.Steps = list56; - reference39 = obj32; - ref QuestSequence reference42 = ref span13[2]; - QuestSequence obj35 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj35.Steps = list59; - reference42 = obj35; - questRoot5.QuestSequence = list54; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(3105); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - CollectionsMarshal.AsSpan(list60)[0] = "Theo"; - questRoot6.Author = list60; - num = 3; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - Span span18 = CollectionsMarshal.AsSpan(list61); - ref QuestSequence reference43 = ref span18[0]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - Span span19 = CollectionsMarshal.AsSpan(list62); - span19[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-780.148f, 128.25195f, 97.154175f), 622); - span19[1] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622); - obj36.Steps = list62; - reference43 = obj36; - ref QuestSequence reference44 = ref span18[1]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.Interact, 1025641u, new Vector3(-54.398438f, 76.83682f, -560.8148f), 622) - { - StopDistance = 5f, - Fly = true - }; - obj37.Steps = list63; - reference44 = obj37; - ref QuestSequence reference45 = ref span18[2]; - QuestSequence obj38 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - Span span20 = CollectionsMarshal.AsSpan(list64); - ref QuestStep reference46 = ref span20[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1025642u, new Vector3(-50.370117f, 76.798584f, -558.77014f), 622); - num3 = 1; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - CollectionsMarshal.AsSpan(list65)[0] = EExtendedClassJob.DoH; - questStep8.RequiredQuestAcceptedJob = list65; - reference46 = questStep8; - ref QuestStep reference47 = ref span20[1]; - QuestStep obj39 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22726u, - ItemCount = 1 - }; - num3 = 1; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - CollectionsMarshal.AsSpan(list66)[0] = EExtendedClassJob.DoH; - obj39.RequiredQuestAcceptedJob = list66; - reference47 = obj39; - span20[2] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj38.Steps = list64; - reference45 = obj38; - questRoot6.QuestSequence = list61; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(3106); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - CollectionsMarshal.AsSpan(list67)[0] = "Theo"; - questRoot7.Author = list67; - num = 3; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - Span span21 = CollectionsMarshal.AsSpan(list68); - ref QuestSequence reference48 = ref span21[0]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - Span span22 = CollectionsMarshal.AsSpan(list69); - span22[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-780.148f, 128.25195f, 97.154175f), 622); - span22[1] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622); - obj40.Steps = list69; - reference48 = obj40; - ref QuestSequence reference49 = ref span21[1]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.Interact, 1025773u, new Vector3(-311.29932f, 50.549908f, -225.8183f), 622) - { - StopDistance = 5f, - Fly = true - }; - obj41.Steps = list70; - reference49 = obj41; - ref QuestSequence reference50 = ref span21[2]; - QuestSequence obj42 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - Span span23 = CollectionsMarshal.AsSpan(list71); - ref QuestStep reference51 = ref span23[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1025774u, new Vector3(-308.73578f, 50.247925f, -226.09296f), 622); - num3 = 1; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - CollectionsMarshal.AsSpan(list72)[0] = EExtendedClassJob.DoH; - questStep9.RequiredQuestAcceptedJob = list72; - reference51 = questStep9; - ref QuestStep reference52 = ref span23[1]; - QuestStep obj43 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22727u, - ItemCount = 2 - }; - num3 = 1; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - CollectionsMarshal.AsSpan(list73)[0] = EExtendedClassJob.DoH; - obj43.RequiredQuestAcceptedJob = list73; - reference52 = obj43; - span23[2] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj42.Steps = list71; - reference50 = obj42; - questRoot7.QuestSequence = list68; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(3107); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - CollectionsMarshal.AsSpan(list74)[0] = "Theo"; - questRoot8.Author = list74; - num = 4; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - Span span24 = CollectionsMarshal.AsSpan(list75); - ref QuestSequence reference53 = ref span24[0]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - Span span25 = CollectionsMarshal.AsSpan(list76); - span25[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-780.148f, 128.25195f, 97.154175f), 622); - span25[1] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622); - obj44.Steps = list76; - reference53 = obj44; - ref QuestSequence reference54 = ref span24[1]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Interact, 1025775u, new Vector3(-145.4032f, 27.922167f, -36.05713f), 622) - { - StopDistance = 5f, - Fly = true - }; - obj45.Steps = list77; - reference54 = obj45; - span24[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference55 = ref span24[3]; - QuestSequence obj46 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - Span span26 = CollectionsMarshal.AsSpan(list78); - ref QuestStep reference56 = ref span26[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1025776u, new Vector3(-143.45007f, 27.66455f, -39.139465f), 622); - num3 = 1; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - CollectionsMarshal.AsSpan(list79)[0] = EExtendedClassJob.DoH; - questStep10.RequiredQuestAcceptedJob = list79; - reference56 = questStep10; - ref QuestStep reference57 = ref span26[1]; - QuestStep obj47 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22728u, - ItemCount = 3 - }; - num3 = 1; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - CollectionsMarshal.AsSpan(list80)[0] = EExtendedClassJob.DoH; - obj47.RequiredQuestAcceptedJob = list80; - reference57 = obj47; - ref QuestStep reference58 = ref span26[2]; - QuestStep questStep11 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list81 = new List(num3); - CollectionsMarshal.SetCount(list81, num3); - CollectionsMarshal.AsSpan(list81)[0] = EExtendedClassJob.Miner; - questStep11.RequiredQuestAcceptedJob = list81; - num3 = 1; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - CollectionsMarshal.AsSpan(list82)[0] = new GatheredItem - { - ItemId = 22624u, - ItemCount = 3 - }; - questStep11.ItemsToGather = list82; - reference58 = questStep11; - ref QuestStep reference59 = ref span26[3]; - QuestStep questStep12 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list83 = new List(num3); - CollectionsMarshal.SetCount(list83, num3); - CollectionsMarshal.AsSpan(list83)[0] = EExtendedClassJob.Botanist; - questStep12.RequiredQuestAcceptedJob = list83; - num3 = 1; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - CollectionsMarshal.AsSpan(list84)[0] = new GatheredItem - { - ItemId = 22650u, - ItemCount = 3 - }; - questStep12.ItemsToGather = list84; - reference59 = questStep12; - span26[4] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj46.Steps = list78; - reference55 = obj46; - questRoot8.QuestSequence = list75; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(3108); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - CollectionsMarshal.AsSpan(list85)[0] = "Theo"; - questRoot9.Author = list85; - num = 5; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - Span span27 = CollectionsMarshal.AsSpan(list86); - ref QuestSequence reference60 = ref span27[0]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - Span span28 = CollectionsMarshal.AsSpan(list87); - span28[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-780.148f, 128.25195f, 97.154175f), 622); - span28[1] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622); - obj48.Steps = list87; - reference60 = obj48; - ref QuestSequence reference61 = ref span27[1]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 1025777u, new Vector3(-596.9177f, 64.000984f, -285.0843f), 622) - { - StopDistance = 5f, - Fly = true - }; - obj49.Steps = list88; - reference61 = obj49; - ref QuestSequence reference62 = ref span27[2]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - Span span29 = CollectionsMarshal.AsSpan(list89); - ref QuestStep reference63 = ref span29[0]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1025778u, new Vector3(-597.0398f, 63.82837f, -288.65497f), 622); - num3 = 1; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - CollectionsMarshal.AsSpan(list90)[0] = EExtendedClassJob.DoH; - questStep13.RequiredQuestAcceptedJob = list90; - reference63 = questStep13; - ref QuestStep reference64 = ref span29[1]; - QuestStep obj51 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22729u, - ItemCount = 1 - }; - num3 = 1; - List list91 = new List(num3); - CollectionsMarshal.SetCount(list91, num3); - CollectionsMarshal.AsSpan(list91)[0] = EExtendedClassJob.DoH; - obj51.RequiredQuestAcceptedJob = list91; - reference64 = obj51; - ref QuestStep reference65 = ref span29[2]; - QuestStep questStep14 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - CollectionsMarshal.AsSpan(list92)[0] = EExtendedClassJob.Miner; - questStep14.RequiredQuestAcceptedJob = list92; - num3 = 1; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - CollectionsMarshal.AsSpan(list93)[0] = new GatheredItem - { - ItemId = 22625u, - ItemCount = 3 - }; - questStep14.ItemsToGather = list93; - reference65 = questStep14; - ref QuestStep reference66 = ref span29[3]; - QuestStep questStep15 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list94 = new List(num3); - CollectionsMarshal.SetCount(list94, num3); - CollectionsMarshal.AsSpan(list94)[0] = EExtendedClassJob.Botanist; - questStep15.RequiredQuestAcceptedJob = list94; - num3 = 1; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - CollectionsMarshal.AsSpan(list95)[0] = new GatheredItem - { - ItemId = 22651u, - ItemCount = 3 - }; - questStep15.ItemsToGather = list95; - reference66 = questStep15; - span29[4] = new QuestStep(EInteractionType.Interact, 1025777u, new Vector3(-596.9177f, 64.000984f, -285.0843f), 622) - { - Fly = true - }; - obj50.Steps = list89; - reference62 = obj50; - ref QuestSequence reference67 = ref span27[3]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - Span span30 = CollectionsMarshal.AsSpan(list96); - span30[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-642.094f, 18.562637f, 399.83704f), 622) - { - Fly = true - }; - span30[1] = new QuestStep(EInteractionType.Interact, 1019330u, new Vector3(-746.7918f, 7.8459983f, 398.27563f), 622) - { - StopDistance = 5f, - Fly = true - }; - obj52.Steps = list96; - reference67 = obj52; - ref QuestSequence reference68 = ref span27[4]; - QuestSequence obj53 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj53.Steps = list97; - reference68 = obj53; - questRoot9.QuestSequence = list86; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(3109); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - CollectionsMarshal.AsSpan(list98)[0] = "Theo"; - questRoot10.Author = list98; - num = 4; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - Span span31 = CollectionsMarshal.AsSpan(list99); - ref QuestSequence reference69 = ref span31[0]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - Span span32 = CollectionsMarshal.AsSpan(list100); - span32[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-780.148f, 128.25195f, 97.154175f), 622); - span32[1] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622); - obj54.Steps = list100; - reference69 = obj54; - ref QuestSequence reference70 = ref span31[1]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.Interact, 1025779u, new Vector3(194.04845f, 13.27476f, 121.84426f), 622) - { - StopDistance = 0.5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone - }; - obj55.Steps = list101; - reference70 = obj55; - ref QuestSequence reference71 = ref span31[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - Span span33 = CollectionsMarshal.AsSpan(list102); - ref QuestStep reference72 = ref span33[0]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1025780u, new Vector3(192.30945f, 13.260071f, 122.545166f), 622); - num3 = 1; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - CollectionsMarshal.AsSpan(list103)[0] = EExtendedClassJob.DoH; - questStep16.RequiredQuestAcceptedJob = list103; - reference72 = questStep16; - ref QuestStep reference73 = ref span33[1]; - QuestStep obj57 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22730u, - ItemCount = 2 - }; - num3 = 1; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - CollectionsMarshal.AsSpan(list104)[0] = EExtendedClassJob.DoH; - obj57.RequiredQuestAcceptedJob = list104; - reference73 = obj57; - ref QuestStep reference74 = ref span33[2]; - QuestStep questStep17 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - CollectionsMarshal.AsSpan(list105)[0] = EExtendedClassJob.Miner; - questStep17.RequiredQuestAcceptedJob = list105; - num3 = 1; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - CollectionsMarshal.AsSpan(list106)[0] = new GatheredItem - { - ItemId = 22626u, - ItemCount = 3 - }; - questStep17.ItemsToGather = list106; - reference74 = questStep17; - ref QuestStep reference75 = ref span33[3]; - QuestStep questStep18 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - CollectionsMarshal.AsSpan(list107)[0] = EExtendedClassJob.Botanist; - questStep18.RequiredQuestAcceptedJob = list107; - num3 = 1; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - CollectionsMarshal.AsSpan(list108)[0] = new GatheredItem - { - ItemId = 22652u, - ItemCount = 3 - }; - questStep18.ItemsToGather = list108; - reference75 = questStep18; - span33[4] = new QuestStep(EInteractionType.Interact, 1025779u, new Vector3(193.04187f, 13.040566f, 120.19531f), 622) - { - Fly = true - }; - obj56.Steps = list102; - reference71 = obj56; - ref QuestSequence reference76 = ref span31[3]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj58.Steps = list109; - reference76 = obj58; - questRoot10.QuestSequence = list99; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(3110); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - CollectionsMarshal.AsSpan(list110)[0] = "Theo"; - questRoot11.Author = list110; - num = 5; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - Span span34 = CollectionsMarshal.AsSpan(list111); - ref QuestSequence reference77 = ref span34[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj59.Steps = list112; - reference77 = obj59; - ref QuestSequence reference78 = ref span34[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.Interact, 1025781u, new Vector3(573.96814f, -19.505817f, 427.66455f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion - }; - obj60.Steps = list113; - reference78 = obj60; - ref QuestSequence reference79 = ref span34[2]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - Span span35 = CollectionsMarshal.AsSpan(list114); - ref QuestStep reference80 = ref span35[0]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 1025782u, new Vector3(573.7544f, -19.516357f, 430.10596f), 622); - num3 = 1; - List list115 = new List(num3); - CollectionsMarshal.SetCount(list115, num3); - CollectionsMarshal.AsSpan(list115)[0] = EExtendedClassJob.DoH; - questStep19.RequiredQuestAcceptedJob = list115; - reference80 = questStep19; - ref QuestStep reference81 = ref span35[1]; - QuestStep obj62 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22731u, - ItemCount = 1 - }; - num3 = 1; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - CollectionsMarshal.AsSpan(list116)[0] = EExtendedClassJob.DoH; - obj62.RequiredQuestAcceptedJob = list116; - reference81 = obj62; - ref QuestStep reference82 = ref span35[2]; - QuestStep questStep20 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - CollectionsMarshal.AsSpan(list117)[0] = EExtendedClassJob.Miner; - questStep20.RequiredQuestAcceptedJob = list117; - num3 = 1; - List list118 = new List(num3); - CollectionsMarshal.SetCount(list118, num3); - CollectionsMarshal.AsSpan(list118)[0] = new GatheredItem - { - ItemId = 22627u, - ItemCount = 3 - }; - questStep20.ItemsToGather = list118; - reference82 = questStep20; - ref QuestStep reference83 = ref span35[3]; - QuestStep questStep21 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - CollectionsMarshal.AsSpan(list119)[0] = EExtendedClassJob.Botanist; - questStep21.RequiredQuestAcceptedJob = list119; - num3 = 1; - List list120 = new List(num3); - CollectionsMarshal.SetCount(list120, num3); - CollectionsMarshal.AsSpan(list120)[0] = new GatheredItem - { - ItemId = 22653u, - ItemCount = 3 - }; - questStep21.ItemsToGather = list120; - reference83 = questStep21; - span35[4] = new QuestStep(EInteractionType.Interact, 1025781u, new Vector3(573.96814f, -19.505817f, 427.66455f), 622) - { - Fly = true - }; - obj61.Steps = list114; - reference79 = obj61; - ref QuestSequence reference84 = ref span34[3]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.Interact, 2009494u, new Vector3(575.09717f, -19.272217f, 424.97888f), 622); - obj63.Steps = list121; - reference84 = obj63; - ref QuestSequence reference85 = ref span34[4]; - QuestSequence obj64 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj64.Steps = list122; - reference85 = obj64; - questRoot11.QuestSequence = list111; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(3111); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - CollectionsMarshal.AsSpan(list123)[0] = "Theo"; - questRoot12.Author = list123; - num = 3; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - Span span36 = CollectionsMarshal.AsSpan(list124); - ref QuestSequence reference86 = ref span36[0]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj65.Steps = list125; - reference86 = obj65; - ref QuestSequence reference87 = ref span36[1]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.Interact, 1025783u, new Vector3(122.6062f, 39.55857f, -336.5683f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(122.6062f, 39.55857f, -336.5683f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj66.Steps = list126; - reference87 = obj66; - ref QuestSequence reference88 = ref span36[2]; - QuestSequence obj67 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - Span span37 = CollectionsMarshal.AsSpan(list127); - ref QuestStep reference89 = ref span37[0]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1025784u, new Vector3(125.68848f, 39.96338f, -335.8969f), 622); - num3 = 1; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - CollectionsMarshal.AsSpan(list128)[0] = EExtendedClassJob.DoH; - questStep22.RequiredQuestAcceptedJob = list128; - reference89 = questStep22; - ref QuestStep reference90 = ref span37[1]; - QuestStep obj68 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22732u, - ItemCount = 2 - }; - num3 = 1; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - CollectionsMarshal.AsSpan(list129)[0] = EExtendedClassJob.DoH; - obj68.RequiredQuestAcceptedJob = list129; - reference90 = obj68; - ref QuestStep reference91 = ref span37[2]; - QuestStep questStep23 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - CollectionsMarshal.AsSpan(list130)[0] = EExtendedClassJob.Miner; - questStep23.RequiredQuestAcceptedJob = list130; - num3 = 1; - List list131 = new List(num3); - CollectionsMarshal.SetCount(list131, num3); - CollectionsMarshal.AsSpan(list131)[0] = new GatheredItem - { - ItemId = 22628u, - ItemCount = 3 - }; - questStep23.ItemsToGather = list131; - reference91 = questStep23; - ref QuestStep reference92 = ref span37[3]; - QuestStep questStep24 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - CollectionsMarshal.AsSpan(list132)[0] = EExtendedClassJob.Botanist; - questStep24.RequiredQuestAcceptedJob = list132; - num3 = 1; - List list133 = new List(num3); - CollectionsMarshal.SetCount(list133, num3); - CollectionsMarshal.AsSpan(list133)[0] = new GatheredItem - { - ItemId = 22654u, - ItemCount = 3 - }; - questStep24.ItemsToGather = list133; - reference92 = questStep24; - span37[4] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj67.Steps = list127; - reference88 = obj67; - questRoot12.QuestSequence = list124; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(3112); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list134 = new List(num); - CollectionsMarshal.SetCount(list134, num); - CollectionsMarshal.AsSpan(list134)[0] = "Theo"; - questRoot13.Author = list134; - num = 4; - List list135 = new List(num); - CollectionsMarshal.SetCount(list135, num); - Span span38 = CollectionsMarshal.AsSpan(list135); - ref QuestSequence reference93 = ref span38[0]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj69.Steps = list136; - reference93 = obj69; - ref QuestSequence reference94 = ref span38[1]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.Interact, 1025785u, new Vector3(76.58496f, 114.904976f, -6.363098f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone - }; - obj70.Steps = list137; - reference94 = obj70; - ref QuestSequence reference95 = ref span38[2]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - Span span39 = CollectionsMarshal.AsSpan(list138); - ref QuestStep reference96 = ref span39[0]; - QuestStep questStep25 = new QuestStep(EInteractionType.Interact, 1025786u, new Vector3(75.42529f, 114.88513f, -9.475891f), 622); - num3 = 1; - List list139 = new List(num3); - CollectionsMarshal.SetCount(list139, num3); - CollectionsMarshal.AsSpan(list139)[0] = EExtendedClassJob.DoH; - questStep25.RequiredQuestAcceptedJob = list139; - reference96 = questStep25; - ref QuestStep reference97 = ref span39[1]; - QuestStep obj72 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22733u, - ItemCount = 1 - }; - num3 = 1; - List list140 = new List(num3); - CollectionsMarshal.SetCount(list140, num3); - CollectionsMarshal.AsSpan(list140)[0] = EExtendedClassJob.DoH; - obj72.RequiredQuestAcceptedJob = list140; - reference97 = obj72; - ref QuestStep reference98 = ref span39[2]; - QuestStep questStep26 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - CollectionsMarshal.AsSpan(list141)[0] = EExtendedClassJob.Miner; - questStep26.RequiredQuestAcceptedJob = list141; - num3 = 1; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - CollectionsMarshal.AsSpan(list142)[0] = new GatheredItem - { - ItemId = 22629u, - ItemCount = 3 - }; - questStep26.ItemsToGather = list142; - reference98 = questStep26; - ref QuestStep reference99 = ref span39[3]; - QuestStep questStep27 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - CollectionsMarshal.AsSpan(list143)[0] = EExtendedClassJob.Botanist; - questStep27.RequiredQuestAcceptedJob = list143; - num3 = 1; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - CollectionsMarshal.AsSpan(list144)[0] = new GatheredItem - { - ItemId = 22655u, - ItemCount = 3 - }; - questStep27.ItemsToGather = list144; - reference99 = questStep27; - span39[4] = new QuestStep(EInteractionType.Interact, 1025785u, new Vector3(76.58496f, 114.904976f, -6.363098f), 622) - { - Fly = true - }; - obj71.Steps = list138; - reference95 = obj71; - ref QuestSequence reference100 = ref span38[3]; - QuestSequence obj73 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = false, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj73.Steps = list145; - reference100 = obj73; - questRoot13.QuestSequence = list135; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(3113); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list146 = new List(num); - CollectionsMarshal.SetCount(list146, num); - CollectionsMarshal.AsSpan(list146)[0] = "Theo"; - questRoot14.Author = list146; - num = 4; - List list147 = new List(num); - CollectionsMarshal.SetCount(list147, num); - Span span40 = CollectionsMarshal.AsSpan(list147); - ref QuestSequence reference101 = ref span40[0]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - Span span41 = CollectionsMarshal.AsSpan(list148); - span41[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-780.148f, 128.25195f, 97.154175f), 622); - span41[1] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622); - obj74.Steps = list148; - reference101 = obj74; - ref QuestSequence reference102 = ref span40[1]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.Interact, 1025787u, new Vector3(389.70007f, -8.514979f, 487.93762f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion - }; - obj75.Steps = list149; - reference102 = obj75; - ref QuestSequence reference103 = ref span40[2]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - Span span42 = CollectionsMarshal.AsSpan(list150); - ref QuestStep reference104 = ref span42[0]; - QuestStep questStep28 = new QuestStep(EInteractionType.Interact, 1025788u, new Vector3(391.9889f, -8.529846f, 489.55518f), 622); - num3 = 1; - List list151 = new List(num3); - CollectionsMarshal.SetCount(list151, num3); - CollectionsMarshal.AsSpan(list151)[0] = EExtendedClassJob.DoH; - questStep28.RequiredQuestAcceptedJob = list151; - reference104 = questStep28; - ref QuestStep reference105 = ref span42[1]; - QuestStep obj77 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22734u, - ItemCount = 2 - }; - num3 = 1; - List list152 = new List(num3); - CollectionsMarshal.SetCount(list152, num3); - CollectionsMarshal.AsSpan(list152)[0] = EExtendedClassJob.DoH; - obj77.RequiredQuestAcceptedJob = list152; - reference105 = obj77; - ref QuestStep reference106 = ref span42[2]; - QuestStep questStep29 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - CollectionsMarshal.AsSpan(list153)[0] = EExtendedClassJob.Miner; - questStep29.RequiredQuestAcceptedJob = list153; - num3 = 1; - List list154 = new List(num3); - CollectionsMarshal.SetCount(list154, num3); - CollectionsMarshal.AsSpan(list154)[0] = new GatheredItem - { - ItemId = 22630u, - ItemCount = 3 - }; - questStep29.ItemsToGather = list154; - reference106 = questStep29; - ref QuestStep reference107 = ref span42[3]; - QuestStep questStep30 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - CollectionsMarshal.AsSpan(list155)[0] = EExtendedClassJob.Botanist; - questStep30.RequiredQuestAcceptedJob = list155; - num3 = 1; - List list156 = new List(num3); - CollectionsMarshal.SetCount(list156, num3); - CollectionsMarshal.AsSpan(list156)[0] = new GatheredItem - { - ItemId = 22656u, - ItemCount = 3 - }; - questStep30.ItemsToGather = list156; - reference107 = questStep30; - span42[4] = new QuestStep(EInteractionType.Interact, 1025787u, new Vector3(389.70007f, -8.514979f, 487.93762f), 622) - { - Fly = true - }; - obj76.Steps = list150; - reference103 = obj76; - ref QuestSequence reference108 = ref span40[3]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj78.Steps = list157; - reference108 = obj78; - questRoot14.QuestSequence = list147; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(3114); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list158 = new List(num); - CollectionsMarshal.SetCount(list158, num); - CollectionsMarshal.AsSpan(list158)[0] = "Theo"; - questRoot15.Author = list158; - num = 4; - List list159 = new List(num); - CollectionsMarshal.SetCount(list159, num); - Span span43 = CollectionsMarshal.AsSpan(list159); - ref QuestSequence reference109 = ref span43[0]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - Span span44 = CollectionsMarshal.AsSpan(list160); - span44[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-780.148f, 128.25195f, 97.154175f), 622); - span44[1] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622); - obj79.Steps = list160; - reference109 = obj79; - ref QuestSequence reference110 = ref span43[1]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.Interact, 1025789u, new Vector3(594.93384f, 23.164816f, -421.80518f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone - }; - obj80.Steps = list161; - reference110 = obj80; - ref QuestSequence reference111 = ref span43[2]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - Span span45 = CollectionsMarshal.AsSpan(list162); - ref QuestStep reference112 = ref span45[0]; - QuestStep questStep31 = new QuestStep(EInteractionType.Interact, 1025790u, new Vector3(594.41516f, 23.208984f, -423.81934f), 622); - num3 = 1; - List list163 = new List(num3); - CollectionsMarshal.SetCount(list163, num3); - CollectionsMarshal.AsSpan(list163)[0] = EExtendedClassJob.DoH; - questStep31.RequiredQuestAcceptedJob = list163; - reference112 = questStep31; - ref QuestStep reference113 = ref span45[1]; - QuestStep obj82 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22735u, - ItemCount = 3 - }; - num3 = 1; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - CollectionsMarshal.AsSpan(list164)[0] = EExtendedClassJob.DoH; - obj82.RequiredQuestAcceptedJob = list164; - reference113 = obj82; - ref QuestStep reference114 = ref span45[2]; - QuestStep questStep32 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list165 = new List(num3); - CollectionsMarshal.SetCount(list165, num3); - CollectionsMarshal.AsSpan(list165)[0] = EExtendedClassJob.Miner; - questStep32.RequiredQuestAcceptedJob = list165; - num3 = 1; - List list166 = new List(num3); - CollectionsMarshal.SetCount(list166, num3); - CollectionsMarshal.AsSpan(list166)[0] = new GatheredItem - { - ItemId = 22631u, - ItemCount = 3 - }; - questStep32.ItemsToGather = list166; - reference114 = questStep32; - ref QuestStep reference115 = ref span45[3]; - QuestStep questStep33 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list167 = new List(num3); - CollectionsMarshal.SetCount(list167, num3); - CollectionsMarshal.AsSpan(list167)[0] = EExtendedClassJob.Botanist; - questStep33.RequiredQuestAcceptedJob = list167; - num3 = 1; - List list168 = new List(num3); - CollectionsMarshal.SetCount(list168, num3); - CollectionsMarshal.AsSpan(list168)[0] = new GatheredItem - { - ItemId = 22657u, - ItemCount = 3 - }; - questStep33.ItemsToGather = list168; - reference115 = questStep33; - span45[4] = new QuestStep(EInteractionType.Interact, 1025789u, new Vector3(594.93384f, 23.164816f, -421.80518f), 622) - { - Fly = true - }; - obj81.Steps = list162; - reference111 = obj81; - ref QuestSequence reference116 = ref span43[3]; - QuestSequence obj83 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj83.Steps = list169; - reference116 = obj83; - questRoot15.QuestSequence = list159; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(3115); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list170 = new List(num); - CollectionsMarshal.SetCount(list170, num); - CollectionsMarshal.AsSpan(list170)[0] = "Theo"; - questRoot16.Author = list170; - num = 5; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - Span span46 = CollectionsMarshal.AsSpan(list171); - ref QuestSequence reference117 = ref span46[0]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj84.Steps = list172; - reference117 = obj84; - ref QuestSequence reference118 = ref span46[1]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.Interact, 1025610u, new Vector3(-739.43695f, 127.45824f, 90.62329f), 622) - { - Mount = true - }; - obj85.Steps = list173; - reference118 = obj85; - ref QuestSequence reference119 = ref span46[2]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.Action, 2009498u, new Vector3(-161.57782f, 5.142273f, 554.46704f), 622) - { - Fly = true, - Land = true, - Action = EAction.Wasshoi - }; - obj86.Steps = list174; - reference119 = obj86; - ref QuestSequence reference120 = ref span46[3]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.Action, 2009499u, new Vector3(176.34851f, 4.135132f, 20.645447f), 622) - { - Fly = true, - Land = true, - Action = EAction.Wasshoi - }; - obj87.Steps = list175; - reference120 = obj87; - ref QuestSequence reference121 = ref span46[4]; - QuestSequence obj88 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - CollectionsMarshal.AsSpan(list176)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = false, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj88.Steps = list176; - reference121 = obj88; - questRoot16.QuestSequence = list171; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(3116); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list177 = new List(num); - CollectionsMarshal.SetCount(list177, num); - CollectionsMarshal.AsSpan(list177)[0] = "plogon_enjoyer"; - questRoot17.Author = list177; - num = 3; - List list178 = new List(num); - CollectionsMarshal.SetCount(list178, num); - Span span47 = CollectionsMarshal.AsSpan(list178); - ref QuestSequence reference122 = ref span47[0]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - CollectionsMarshal.AsSpan(list179)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj89.Steps = list179; - reference122 = obj89; - ref QuestSequence reference123 = ref span47[1]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - Span span48 = CollectionsMarshal.AsSpan(list180); - span48[0] = new QuestStep(EInteractionType.Interact, 1025925u, new Vector3(-702.17444f, 127.5686f, 112.291016f), 622) - { - TargetTerritoryId = (ushort)622, - Mount = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span48[1] = new QuestStep(EInteractionType.Interact, 1025797u, new Vector3(-364.7975f, 76.98169f, -579.2172f), 622) - { - Mount = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span48[2] = new QuestStep(EInteractionType.Interact, 1025797u, new Vector3(-364.7975f, 76.98169f, -579.2172f), 622) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - obj90.Steps = list180; - reference123 = obj90; - ref QuestSequence reference124 = ref span47[2]; - QuestSequence obj91 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - Span span49 = CollectionsMarshal.AsSpan(list181); - ref QuestStep reference125 = ref span49[0]; - QuestStep questStep34 = new QuestStep(EInteractionType.Interact, 1025798u, new Vector3(-366.2318f, 76.98169f, -580.31586f), 622); - num3 = 1; - List list182 = new List(num3); - CollectionsMarshal.SetCount(list182, num3); - CollectionsMarshal.AsSpan(list182)[0] = EExtendedClassJob.DoH; - questStep34.RequiredQuestAcceptedJob = list182; - reference125 = questStep34; - ref QuestStep reference126 = ref span49[1]; - QuestStep obj92 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22736u, - ItemCount = 2 - }; - num3 = 1; - List list183 = new List(num3); - CollectionsMarshal.SetCount(list183, num3); - CollectionsMarshal.AsSpan(list183)[0] = EExtendedClassJob.DoH; - obj92.RequiredQuestAcceptedJob = list183; - reference126 = obj92; - ref QuestStep reference127 = ref span49[2]; - QuestStep questStep35 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list184 = new List(num3); - CollectionsMarshal.SetCount(list184, num3); - CollectionsMarshal.AsSpan(list184)[0] = EExtendedClassJob.Miner; - questStep35.RequiredQuestAcceptedJob = list184; - num3 = 1; - List list185 = new List(num3); - CollectionsMarshal.SetCount(list185, num3); - CollectionsMarshal.AsSpan(list185)[0] = new GatheredItem - { - ItemId = 22632u, - ItemCount = 1 - }; - questStep35.ItemsToGather = list185; - reference127 = questStep35; - ref QuestStep reference128 = ref span49[3]; - QuestStep questStep36 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list186 = new List(num3); - CollectionsMarshal.SetCount(list186, num3); - CollectionsMarshal.AsSpan(list186)[0] = EExtendedClassJob.Botanist; - questStep36.RequiredQuestAcceptedJob = list186; - num3 = 1; - List list187 = new List(num3); - CollectionsMarshal.SetCount(list187, num3); - CollectionsMarshal.AsSpan(list187)[0] = new GatheredItem - { - ItemId = 22658u, - ItemCount = 1 - }; - questStep36.ItemsToGather = list187; - reference128 = questStep36; - span49[4] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj91.Steps = list181; - reference124 = obj91; - questRoot17.QuestSequence = list178; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(3117); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list188 = new List(num); - CollectionsMarshal.SetCount(list188, num); - CollectionsMarshal.AsSpan(list188)[0] = "plogon_enjoyer"; - questRoot18.Author = list188; - num = 3; - List list189 = new List(num); - CollectionsMarshal.SetCount(list189, num); - Span span50 = CollectionsMarshal.AsSpan(list189); - ref QuestSequence reference129 = ref span50[0]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj93.Steps = list190; - reference129 = obj93; - ref QuestSequence reference130 = ref span50[1]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - Span span51 = CollectionsMarshal.AsSpan(list191); - span51[0] = new QuestStep(EInteractionType.Interact, 1025925u, new Vector3(-702.17444f, 127.5686f, 112.291016f), 622) - { - TargetTerritoryId = (ushort)622, - Mount = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span51[1] = new QuestStep(EInteractionType.Interact, 1025799u, new Vector3(-175.03625f, 66.81902f, -437.43042f), 622) - { - Mount = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span51[2] = new QuestStep(EInteractionType.Interact, 1025799u, new Vector3(-175.03625f, 66.81902f, -437.43042f), 622) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - obj94.Steps = list191; - reference130 = obj94; - ref QuestSequence reference131 = ref span50[2]; - QuestSequence obj95 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - Span span52 = CollectionsMarshal.AsSpan(list192); - ref QuestStep reference132 = ref span52[0]; - QuestStep questStep37 = new QuestStep(EInteractionType.Interact, 1025800u, new Vector3(-172.74744f, 67.39905f, -436.60645f), 622); - num3 = 1; - List list193 = new List(num3); - CollectionsMarshal.SetCount(list193, num3); - CollectionsMarshal.AsSpan(list193)[0] = EExtendedClassJob.DoH; - questStep37.RequiredCurrentJob = list193; - reference132 = questStep37; - ref QuestStep reference133 = ref span52[1]; - QuestStep obj96 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22737u, - ItemCount = 1 - }; - num3 = 1; - List list194 = new List(num3); - CollectionsMarshal.SetCount(list194, num3); - CollectionsMarshal.AsSpan(list194)[0] = EExtendedClassJob.DoH; - obj96.RequiredCurrentJob = list194; - reference133 = obj96; - ref QuestStep reference134 = ref span52[2]; - QuestStep questStep38 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list195 = new List(num3); - CollectionsMarshal.SetCount(list195, num3); - CollectionsMarshal.AsSpan(list195)[0] = EExtendedClassJob.Miner; - questStep38.RequiredQuestAcceptedJob = list195; - num3 = 1; - List list196 = new List(num3); - CollectionsMarshal.SetCount(list196, num3); - CollectionsMarshal.AsSpan(list196)[0] = new GatheredItem - { - ItemId = 22633u, - ItemCount = 2 - }; - questStep38.ItemsToGather = list196; - reference134 = questStep38; - ref QuestStep reference135 = ref span52[3]; - QuestStep questStep39 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list197 = new List(num3); - CollectionsMarshal.SetCount(list197, num3); - CollectionsMarshal.AsSpan(list197)[0] = EExtendedClassJob.Botanist; - questStep39.RequiredQuestAcceptedJob = list197; - num3 = 1; - List list198 = new List(num3); - CollectionsMarshal.SetCount(list198, num3); - CollectionsMarshal.AsSpan(list198)[0] = new GatheredItem - { - ItemId = 22659u, - ItemCount = 2 - }; - questStep39.ItemsToGather = list198; - reference135 = questStep39; - span52[4] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj95.Steps = list192; - reference131 = obj95; - questRoot18.QuestSequence = list189; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(3118); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list199 = new List(num); - CollectionsMarshal.SetCount(list199, num); - CollectionsMarshal.AsSpan(list199)[0] = "plogon_enjoyer"; - questRoot19.Author = list199; - num = 4; - List list200 = new List(num); - CollectionsMarshal.SetCount(list200, num); - Span span53 = CollectionsMarshal.AsSpan(list200); - ref QuestSequence reference136 = ref span53[0]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj97.Steps = list201; - reference136 = obj97; - ref QuestSequence reference137 = ref span53[1]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - Span span54 = CollectionsMarshal.AsSpan(list202); - span54[0] = new QuestStep(EInteractionType.Interact, 1025925u, new Vector3(-702.17444f, 127.5686f, 112.291016f), 622) - { - TargetTerritoryId = (ushort)622, - Mount = true - }; - span54[1] = new QuestStep(EInteractionType.Interact, 1025801u, new Vector3(-609.49115f, 41.834953f, 139.75732f), 622) - { - Mount = true - }; - obj98.Steps = list202; - reference137 = obj98; - ref QuestSequence reference138 = ref span53[2]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.Interact, 1025802u, new Vector3(-232.89844f, 55.466682f, -329.15234f), 622); - obj99.Steps = list203; - reference138 = obj99; - ref QuestSequence reference139 = ref span53[3]; - QuestSequence obj100 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj100.Steps = list204; - reference139 = obj100; - questRoot19.QuestSequence = list200; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(3119); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list205 = new List(num); - CollectionsMarshal.SetCount(list205, num); - CollectionsMarshal.AsSpan(list205)[0] = "Theo"; - questRoot20.Author = list205; - num = 4; - List list206 = new List(num); - CollectionsMarshal.SetCount(list206, num); - Span span55 = CollectionsMarshal.AsSpan(list206); - ref QuestSequence reference140 = ref span55[0]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - CollectionsMarshal.AsSpan(list207)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj101.Steps = list207; - reference140 = obj101; - ref QuestSequence reference141 = ref span55[1]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.Interact, 1025803u, new Vector3(275.59314f, 2.410636f, 279.31628f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(275.35706f, 2.4109652f, 281.2354f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj102.Steps = list208; - reference141 = obj102; - ref QuestSequence reference142 = ref span55[2]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - Span span56 = CollectionsMarshal.AsSpan(list209); - ref QuestStep reference143 = ref span56[0]; - QuestStep questStep40 = new QuestStep(EInteractionType.Interact, 1025804u, new Vector3(272.9076f, 2.39563f, 280.8423f), 622); - num3 = 1; - List list210 = new List(num3); - CollectionsMarshal.SetCount(list210, num3); - CollectionsMarshal.AsSpan(list210)[0] = EExtendedClassJob.DoH; - questStep40.RequiredQuestAcceptedJob = list210; - reference143 = questStep40; - ref QuestStep reference144 = ref span56[1]; - QuestStep obj104 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22738u, - ItemCount = 3 - }; - num3 = 1; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - CollectionsMarshal.AsSpan(list211)[0] = EExtendedClassJob.DoH; - obj104.RequiredQuestAcceptedJob = list211; - reference144 = obj104; - ref QuestStep reference145 = ref span56[2]; - QuestStep questStep41 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list212 = new List(num3); - CollectionsMarshal.SetCount(list212, num3); - CollectionsMarshal.AsSpan(list212)[0] = EExtendedClassJob.Miner; - questStep41.RequiredQuestAcceptedJob = list212; - num3 = 1; - List list213 = new List(num3); - CollectionsMarshal.SetCount(list213, num3); - CollectionsMarshal.AsSpan(list213)[0] = new GatheredItem - { - ItemId = 22634u, - ItemCount = 2 - }; - questStep41.ItemsToGather = list213; - reference145 = questStep41; - ref QuestStep reference146 = ref span56[3]; - QuestStep questStep42 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list214 = new List(num3); - CollectionsMarshal.SetCount(list214, num3); - CollectionsMarshal.AsSpan(list214)[0] = EExtendedClassJob.Botanist; - questStep42.RequiredQuestAcceptedJob = list214; - num3 = 1; - List list215 = new List(num3); - CollectionsMarshal.SetCount(list215, num3); - CollectionsMarshal.AsSpan(list215)[0] = new GatheredItem - { - ItemId = 22660u, - ItemCount = 2 - }; - questStep42.ItemsToGather = list215; - reference146 = questStep42; - span56[4] = new QuestStep(EInteractionType.Interact, 1025803u, new Vector3(275.59314f, 2.410636f, 279.31628f), 622) - { - Fly = true - }; - obj103.Steps = list209; - reference142 = obj103; - ref QuestSequence reference147 = ref span55[3]; - QuestSequence obj105 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - CollectionsMarshal.AsSpan(list216)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj105.Steps = list216; - reference147 = obj105; - questRoot20.QuestSequence = list206; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(3120); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list217 = new List(num); - CollectionsMarshal.SetCount(list217, num); - CollectionsMarshal.AsSpan(list217)[0] = "Theo"; - questRoot21.Author = list217; - num = 3; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - Span span57 = CollectionsMarshal.AsSpan(list218); - ref QuestSequence reference148 = ref span57[0]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - Span span58 = CollectionsMarshal.AsSpan(list219); - span58[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-780.148f, 128.25195f, 97.154175f), 622); - span58[1] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622); - obj106.Steps = list219; - reference148 = obj106; - ref QuestSequence reference149 = ref span57[1]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.Interact, 1025805u, new Vector3(733.6079f, 0.64432836f, -164.78223f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone - }; - obj107.Steps = list220; - reference149 = obj107; - ref QuestSequence reference150 = ref span57[2]; - QuestSequence obj108 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - Span span59 = CollectionsMarshal.AsSpan(list221); - ref QuestStep reference151 = ref span59[0]; - QuestStep questStep43 = new QuestStep(EInteractionType.Interact, 1025806u, new Vector3(733.15015f, 0.5340576f, -162.21869f), 622); - num3 = 1; - List list222 = new List(num3); - CollectionsMarshal.SetCount(list222, num3); - CollectionsMarshal.AsSpan(list222)[0] = EExtendedClassJob.DoH; - questStep43.RequiredQuestAcceptedJob = list222; - reference151 = questStep43; - ref QuestStep reference152 = ref span59[1]; - QuestStep obj109 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22739u, - ItemCount = 1 - }; - num3 = 1; - List list223 = new List(num3); - CollectionsMarshal.SetCount(list223, num3); - CollectionsMarshal.AsSpan(list223)[0] = EExtendedClassJob.DoH; - obj109.RequiredQuestAcceptedJob = list223; - reference152 = obj109; - ref QuestStep reference153 = ref span59[2]; - QuestStep questStep44 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list224 = new List(num3); - CollectionsMarshal.SetCount(list224, num3); - CollectionsMarshal.AsSpan(list224)[0] = EExtendedClassJob.Miner; - questStep44.RequiredQuestAcceptedJob = list224; - num3 = 1; - List list225 = new List(num3); - CollectionsMarshal.SetCount(list225, num3); - CollectionsMarshal.AsSpan(list225)[0] = new GatheredItem - { - ItemId = 22635u, - ItemCount = 3 - }; - questStep44.ItemsToGather = list225; - reference153 = questStep44; - ref QuestStep reference154 = ref span59[3]; - QuestStep questStep45 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list226 = new List(num3); - CollectionsMarshal.SetCount(list226, num3); - CollectionsMarshal.AsSpan(list226)[0] = EExtendedClassJob.Botanist; - questStep45.RequiredQuestAcceptedJob = list226; - num3 = 1; - List list227 = new List(num3); - CollectionsMarshal.SetCount(list227, num3); - CollectionsMarshal.AsSpan(list227)[0] = new GatheredItem - { - ItemId = 22661u, - ItemCount = 3 - }; - questStep45.ItemsToGather = list227; - reference154 = questStep45; - span59[4] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj108.Steps = list221; - reference150 = obj108; - questRoot21.QuestSequence = list218; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(3121); - QuestRoot questRoot22 = new QuestRoot(); - num = 2; - List list228 = new List(num); - CollectionsMarshal.SetCount(list228, num); - Span span60 = CollectionsMarshal.AsSpan(list228); - span60[0] = "Theo"; - span60[1] = "pot0to"; - questRoot22.Author = list228; - num = 4; - List list229 = new List(num); - CollectionsMarshal.SetCount(list229, num); - Span span61 = CollectionsMarshal.AsSpan(list229); - ref QuestSequence reference155 = ref span61[0]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj110.Steps = list230; - reference155 = obj110; - ref QuestSequence reference156 = ref span61[1]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.Interact, 1025610u, new Vector3(-739.43695f, 127.45824f, 90.62329f), 622); - obj111.Steps = list231; - reference156 = obj111; - ref QuestSequence reference157 = ref span61[2]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - Span span62 = CollectionsMarshal.AsSpan(list232); - ref QuestStep reference158 = ref span62[0]; - QuestStep obj113 = new QuestStep(EInteractionType.Action, 2009501u, new Vector3(-73.80792f, -3.7385254f, 345.3269f), 622) - { - Fly = true, - Land = true, - Action = EAction.Wasshoi - }; - num3 = 6; - List> list233 = new List>(num3); - CollectionsMarshal.SetCount(list233, num3); - Span> span63 = CollectionsMarshal.AsSpan(list233); - span63[0] = null; - span63[1] = null; - ref List reference159 = ref span63[2]; - int num4 = 3; - List list234 = new List(num4); - CollectionsMarshal.SetCount(list234, num4); - Span span64 = CollectionsMarshal.AsSpan(list234); - span64[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - span64[1] = new QuestWorkValue(0, (byte)5, EQuestWorkMode.Bitwise); - span64[2] = new QuestWorkValue(0, (byte)6, EQuestWorkMode.Bitwise); - reference159 = list234; - span63[3] = null; - span63[4] = null; - span63[5] = null; - obj113.RequiredQuestVariables = list233; - reference158 = obj113; - ref QuestStep reference160 = ref span62[1]; - QuestStep obj114 = new QuestStep(EInteractionType.Action, 2009542u, new Vector3(20.736938f, -0.015319824f, 559.9298f), 622) - { - Fly = true, - Land = true, - Action = EAction.Wasshoi - }; - num3 = 6; - List> list235 = new List>(num3); - CollectionsMarshal.SetCount(list235, num3); - Span> span65 = CollectionsMarshal.AsSpan(list235); - span65[0] = null; - span65[1] = null; - ref List reference161 = ref span65[2]; - num4 = 3; - List list236 = new List(num4); - CollectionsMarshal.SetCount(list236, num4); - Span span66 = CollectionsMarshal.AsSpan(list236); - span66[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - span66[1] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - span66[2] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - reference161 = list236; - span65[3] = null; - span65[4] = null; - span65[5] = null; - obj114.RequiredQuestVariables = list235; - reference160 = obj114; - ref QuestStep reference162 = ref span62[2]; - QuestStep obj115 = new QuestStep(EInteractionType.Action, 2009502u, new Vector3(95.47571f, -12.619263f, 699.1836f), 622) - { - Fly = true, - Land = true, - Action = EAction.Wasshoi - }; - num3 = 6; - List> list237 = new List>(num3); - CollectionsMarshal.SetCount(list237, num3); - Span> span67 = CollectionsMarshal.AsSpan(list237); - span67[0] = null; - span67[1] = null; - ref List reference163 = ref span67[2]; - num4 = 3; - List list238 = new List(num4); - CollectionsMarshal.SetCount(list238, num4); - Span span68 = CollectionsMarshal.AsSpan(list238); - span68[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span68[1] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - span68[2] = new QuestWorkValue(0, (byte)6, EQuestWorkMode.Bitwise); - reference163 = list238; - span67[3] = null; - span67[4] = null; - span67[5] = null; - obj115.RequiredQuestVariables = list237; - reference162 = obj115; - ref QuestStep reference164 = ref span62[3]; - QuestStep obj116 = new QuestStep(EInteractionType.Action, 2009500u, new Vector3(-701.2894f, 6.9122925f, 569.9701f), 622) - { - Fly = true, - Land = true, - Action = EAction.Wasshoi - }; - num3 = 6; - List> list239 = new List>(num3); - CollectionsMarshal.SetCount(list239, num3); - Span> span69 = CollectionsMarshal.AsSpan(list239); - span69[0] = null; - span69[1] = null; - ref List reference165 = ref span69[2]; - num4 = 3; - List list240 = new List(num4); - CollectionsMarshal.SetCount(list240, num4); - Span span70 = CollectionsMarshal.AsSpan(list240); - span70[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span70[1] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - span70[2] = new QuestWorkValue(0, (byte)5, EQuestWorkMode.Bitwise); - reference165 = list240; - span69[3] = null; - span69[4] = null; - span69[5] = null; - obj116.RequiredQuestVariables = list239; - reference164 = obj116; - obj112.Steps = list232; - reference157 = obj112; - ref QuestSequence reference166 = ref span61[3]; - QuestSequence obj117 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - Span span71 = CollectionsMarshal.AsSpan(list241); - span71[0] = new QuestStep(EInteractionType.None, null, null, 622) - { - Mount = false - }; - span71[1] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 100f, - TerritoryId = 622 - } - } - } - }; - obj117.Steps = list241; - reference166 = obj117; - questRoot22.QuestSequence = list229; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(3122); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list242 = new List(num); - CollectionsMarshal.SetCount(list242, num); - CollectionsMarshal.AsSpan(list242)[0] = "Theo"; - questRoot23.Author = list242; - num = 5; - List list243 = new List(num); - CollectionsMarshal.SetCount(list243, num); - Span span72 = CollectionsMarshal.AsSpan(list243); - ref QuestSequence reference167 = ref span72[0]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj118.Steps = list244; - reference167 = obj118; - ref QuestSequence reference168 = ref span72[1]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.Interact, 1025814u, new Vector3(584.4967f, -12.093235f, 225.57397f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(584.4967f, -12.093235f, 225.57397f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj119.Steps = list245; - reference168 = obj119; - ref QuestSequence reference169 = ref span72[2]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - Span span73 = CollectionsMarshal.AsSpan(list246); - ref QuestStep reference170 = ref span73[0]; - QuestStep questStep46 = new QuestStep(EInteractionType.Interact, 1025815u, new Vector3(580.74304f, -12.40564f, 224.56702f), 622); - num3 = 1; - List list247 = new List(num3); - CollectionsMarshal.SetCount(list247, num3); - CollectionsMarshal.AsSpan(list247)[0] = EExtendedClassJob.DoH; - questStep46.RequiredQuestAcceptedJob = list247; - reference170 = questStep46; - ref QuestStep reference171 = ref span73[1]; - QuestStep obj121 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22740u, - ItemCount = 2 - }; - num3 = 1; - List list248 = new List(num3); - CollectionsMarshal.SetCount(list248, num3); - CollectionsMarshal.AsSpan(list248)[0] = EExtendedClassJob.DoH; - obj121.RequiredQuestAcceptedJob = list248; - reference171 = obj121; - ref QuestStep reference172 = ref span73[2]; - QuestStep questStep47 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list249 = new List(num3); - CollectionsMarshal.SetCount(list249, num3); - CollectionsMarshal.AsSpan(list249)[0] = EExtendedClassJob.Miner; - questStep47.RequiredQuestAcceptedJob = list249; - num3 = 1; - List list250 = new List(num3); - CollectionsMarshal.SetCount(list250, num3); - CollectionsMarshal.AsSpan(list250)[0] = new GatheredItem - { - ItemId = 22636u, - ItemCount = 2 - }; - questStep47.ItemsToGather = list250; - reference172 = questStep47; - ref QuestStep reference173 = ref span73[3]; - QuestStep questStep48 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list251 = new List(num3); - CollectionsMarshal.SetCount(list251, num3); - CollectionsMarshal.AsSpan(list251)[0] = EExtendedClassJob.Botanist; - questStep48.RequiredQuestAcceptedJob = list251; - num3 = 1; - List list252 = new List(num3); - CollectionsMarshal.SetCount(list252, num3); - CollectionsMarshal.AsSpan(list252)[0] = new GatheredItem - { - ItemId = 22662u, - ItemCount = 2 - }; - questStep48.ItemsToGather = list252; - reference173 = questStep48; - span73[4] = new QuestStep(EInteractionType.Interact, 1025814u, new Vector3(584.4967f, -12.093235f, 225.57397f), 622) - { - Fly = true - }; - obj120.Steps = list246; - reference169 = obj120; - ref QuestSequence reference174 = ref span72[3]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - CollectionsMarshal.AsSpan(list253)[0] = new QuestStep(EInteractionType.Interact, 1019353u, new Vector3(544.0298f, -19.505642f, 391.68372f), 622) - { - Fly = true - }; - obj122.Steps = list253; - reference174 = obj122; - ref QuestSequence reference175 = ref span72[4]; - QuestSequence obj123 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj123.Steps = list254; - reference175 = obj123; - questRoot23.QuestSequence = list243; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(3123); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list255 = new List(num); - CollectionsMarshal.SetCount(list255, num); - CollectionsMarshal.AsSpan(list255)[0] = "Theo"; - questRoot24.Author = list255; - num = 3; - List list256 = new List(num); - CollectionsMarshal.SetCount(list256, num); - Span span74 = CollectionsMarshal.AsSpan(list256); - ref QuestSequence reference176 = ref span74[0]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj124.Steps = list257; - reference176 = obj124; - ref QuestSequence reference177 = ref span74[1]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - CollectionsMarshal.AsSpan(list258)[0] = new QuestStep(EInteractionType.Interact, 1025817u, new Vector3(544.9148f, 10.034876f, -193.40814f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(544.9148f, 10.034876f, -193.40814f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj125.Steps = list258; - reference177 = obj125; - ref QuestSequence reference178 = ref span74[2]; - QuestSequence obj126 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - Span span75 = CollectionsMarshal.AsSpan(list259); - ref QuestStep reference179 = ref span75[0]; - QuestStep questStep49 = new QuestStep(EInteractionType.Interact, 1025818u, new Vector3(543.93823f, 9.964111f, -190.53949f), 622); - num3 = 1; - List list260 = new List(num3); - CollectionsMarshal.SetCount(list260, num3); - CollectionsMarshal.AsSpan(list260)[0] = EExtendedClassJob.DoH; - questStep49.RequiredQuestAcceptedJob = list260; - reference179 = questStep49; - ref QuestStep reference180 = ref span75[1]; - QuestStep obj127 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22741u, - ItemCount = 1 - }; - num3 = 1; - List list261 = new List(num3); - CollectionsMarshal.SetCount(list261, num3); - CollectionsMarshal.AsSpan(list261)[0] = EExtendedClassJob.DoH; - obj127.RequiredQuestAcceptedJob = list261; - reference180 = obj127; - ref QuestStep reference181 = ref span75[2]; - QuestStep questStep50 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list262 = new List(num3); - CollectionsMarshal.SetCount(list262, num3); - CollectionsMarshal.AsSpan(list262)[0] = EExtendedClassJob.Miner; - questStep50.RequiredQuestAcceptedJob = list262; - num3 = 1; - List list263 = new List(num3); - CollectionsMarshal.SetCount(list263, num3); - CollectionsMarshal.AsSpan(list263)[0] = new GatheredItem - { - ItemId = 22637u, - ItemCount = 1 - }; - questStep50.ItemsToGather = list263; - reference181 = questStep50; - ref QuestStep reference182 = ref span75[3]; - QuestStep questStep51 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list264 = new List(num3); - CollectionsMarshal.SetCount(list264, num3); - CollectionsMarshal.AsSpan(list264)[0] = EExtendedClassJob.Botanist; - questStep51.RequiredQuestAcceptedJob = list264; - num3 = 1; - List list265 = new List(num3); - CollectionsMarshal.SetCount(list265, num3); - CollectionsMarshal.AsSpan(list265)[0] = new GatheredItem - { - ItemId = 22663u, - ItemCount = 1 - }; - questStep51.ItemsToGather = list265; - reference182 = questStep51; - span75[4] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj126.Steps = list259; - reference178 = obj126; - questRoot24.QuestSequence = list256; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(3124); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list266 = new List(num); - CollectionsMarshal.SetCount(list266, num); - CollectionsMarshal.AsSpan(list266)[0] = "Theo"; - questRoot25.Author = list266; - num = 4; - List list267 = new List(num); - CollectionsMarshal.SetCount(list267, num); - Span span76 = CollectionsMarshal.AsSpan(list267); - ref QuestSequence reference183 = ref span76[0]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - CollectionsMarshal.AsSpan(list268)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj128.Steps = list268; - reference183 = obj128; - ref QuestSequence reference184 = ref span76[1]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - CollectionsMarshal.AsSpan(list269)[0] = new QuestStep(EInteractionType.Interact, 1025819u, new Vector3(-815.4269f, 127.910385f, 55.77173f), 622); - obj129.Steps = list269; - reference184 = obj129; - ref QuestSequence reference185 = ref span76[2]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - ref QuestStep reference186 = ref CollectionsMarshal.AsSpan(list270)[0]; - QuestStep questStep52 = new QuestStep(EInteractionType.Interact, 1025819u, new Vector3(-815.4269f, 127.910385f, 55.77173f), 622); - num3 = 1; - List list271 = new List(num3); - CollectionsMarshal.SetCount(list271, num3); - CollectionsMarshal.AsSpan(list271)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANNAM602_03124_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANNAM602_03124_A1_000_001") - }; - questStep52.DialogueChoices = list271; - reference186 = questStep52; - obj130.Steps = list270; - reference185 = obj130; - ref QuestSequence reference187 = ref span76[3]; - QuestSequence obj131 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - CollectionsMarshal.AsSpan(list272)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 100f, - TerritoryId = 622 - } - } - } - }; - obj131.Steps = list272; - reference187 = obj131; - questRoot25.QuestSequence = list267; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(3125); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list273 = new List(num); - CollectionsMarshal.SetCount(list273, num); - CollectionsMarshal.AsSpan(list273)[0] = "Theo"; - questRoot26.Author = list273; - num = 5; - List list274 = new List(num); - CollectionsMarshal.SetCount(list274, num); - Span span77 = CollectionsMarshal.AsSpan(list274); - ref QuestSequence reference188 = ref span77[0]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj132.Steps = list275; - reference188 = obj132; - ref QuestSequence reference189 = ref span77[1]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - CollectionsMarshal.AsSpan(list276)[0] = new QuestStep(EInteractionType.Interact, 1025820u, new Vector3(94.2854f, 116.043f, 143.48047f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(94.2854f, 116.043f, 143.48047f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj133.Steps = list276; - reference189 = obj133; - ref QuestSequence reference190 = ref span77[2]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - Span span78 = CollectionsMarshal.AsSpan(list277); - ref QuestStep reference191 = ref span78[0]; - QuestStep questStep53 = new QuestStep(EInteractionType.Interact, 1025821u, new Vector3(95.26196f, 116.01428f, 141.74097f), 622); - num3 = 1; - List list278 = new List(num3); - CollectionsMarshal.SetCount(list278, num3); - CollectionsMarshal.AsSpan(list278)[0] = EExtendedClassJob.DoH; - questStep53.RequiredQuestAcceptedJob = list278; - reference191 = questStep53; - ref QuestStep reference192 = ref span78[1]; - QuestStep obj135 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22742u, - ItemCount = 2 - }; - num3 = 1; - List list279 = new List(num3); - CollectionsMarshal.SetCount(list279, num3); - CollectionsMarshal.AsSpan(list279)[0] = EExtendedClassJob.DoH; - obj135.RequiredQuestAcceptedJob = list279; - reference192 = obj135; - ref QuestStep reference193 = ref span78[2]; - QuestStep questStep54 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list280 = new List(num3); - CollectionsMarshal.SetCount(list280, num3); - CollectionsMarshal.AsSpan(list280)[0] = EExtendedClassJob.Miner; - questStep54.RequiredQuestAcceptedJob = list280; - num3 = 1; - List list281 = new List(num3); - CollectionsMarshal.SetCount(list281, num3); - CollectionsMarshal.AsSpan(list281)[0] = new GatheredItem - { - ItemId = 22638u, - ItemCount = 1 - }; - questStep54.ItemsToGather = list281; - reference193 = questStep54; - ref QuestStep reference194 = ref span78[3]; - QuestStep questStep55 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list282 = new List(num3); - CollectionsMarshal.SetCount(list282, num3); - CollectionsMarshal.AsSpan(list282)[0] = EExtendedClassJob.Botanist; - questStep55.RequiredQuestAcceptedJob = list282; - num3 = 1; - List list283 = new List(num3); - CollectionsMarshal.SetCount(list283, num3); - CollectionsMarshal.AsSpan(list283)[0] = new GatheredItem - { - ItemId = 22664u, - ItemCount = 1 - }; - questStep55.ItemsToGather = list283; - reference194 = questStep55; - span78[4] = new QuestStep(EInteractionType.Interact, 1025820u, new Vector3(94.2854f, 116.043f, 143.48047f), 622) - { - Fly = true - }; - obj134.Steps = list277; - reference190 = obj134; - ref QuestSequence reference195 = ref span77[3]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - Span span79 = CollectionsMarshal.AsSpan(list284); - ref QuestStep reference196 = ref span79[0]; - QuestStep obj137 = new QuestStep(EInteractionType.Interact, 1025823u, new Vector3(-0.19836426f, 2.1311574f, 224.07861f), 622) - { - Fly = true - }; - num3 = 6; - List> list285 = new List>(num3); - CollectionsMarshal.SetCount(list285, num3); - Span> span80 = CollectionsMarshal.AsSpan(list285); - span80[0] = null; - span80[1] = null; - ref List reference197 = ref span80[2]; - num4 = 1; - List list286 = new List(num4); - CollectionsMarshal.SetCount(list286, num4); - CollectionsMarshal.AsSpan(list286)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference197 = list286; - span80[3] = null; - span80[4] = null; - span80[5] = null; - obj137.RequiredQuestVariables = list285; - reference196 = obj137; - ref QuestStep reference198 = ref span79[1]; - QuestStep obj138 = new QuestStep(EInteractionType.Interact, 1021491u, new Vector3(199.38953f, 1.9158756f, 41.153564f), 622) - { - Fly = true - }; - num3 = 6; - List> list287 = new List>(num3); - CollectionsMarshal.SetCount(list287, num3); - Span> span81 = CollectionsMarshal.AsSpan(list287); - span81[0] = null; - span81[1] = null; - ref List reference199 = ref span81[2]; - num4 = 1; - List list288 = new List(num4); - CollectionsMarshal.SetCount(list288, num4); - CollectionsMarshal.AsSpan(list288)[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference199 = list288; - span81[3] = null; - span81[4] = null; - span81[5] = null; - obj138.RequiredQuestVariables = list287; - reference198 = obj138; - ref QuestStep reference200 = ref span79[2]; - QuestStep obj139 = new QuestStep(EInteractionType.Interact, 1025835u, new Vector3(-145.92206f, 1.8999462f, 239.73438f), 622) - { - Fly = true - }; - num3 = 6; - List> list289 = new List>(num3); - CollectionsMarshal.SetCount(list289, num3); - Span> span82 = CollectionsMarshal.AsSpan(list289); - span82[0] = null; - span82[1] = null; - ref List reference201 = ref span82[2]; - num4 = 1; - List list290 = new List(num4); - CollectionsMarshal.SetCount(list290, num4); - CollectionsMarshal.AsSpan(list290)[0] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - reference201 = list290; - span82[3] = null; - span82[4] = null; - span82[5] = null; - obj139.RequiredQuestVariables = list289; - reference200 = obj139; - obj136.Steps = list284; - reference195 = obj136; - ref QuestSequence reference202 = ref span77[4]; - QuestSequence obj140 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - CollectionsMarshal.AsSpan(list291)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj140.Steps = list291; - reference202 = obj140; - questRoot26.QuestSequence = list274; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(3127); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list292 = new List(num); - CollectionsMarshal.SetCount(list292, num); - CollectionsMarshal.AsSpan(list292)[0] = "Censored"; - questRoot27.Author = list292; - num = 3; - List list293 = new List(num); - CollectionsMarshal.SetCount(list293, num); - Span span83 = CollectionsMarshal.AsSpan(list293); - ref QuestSequence reference203 = ref span83[0]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - CollectionsMarshal.AsSpan(list294)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj141.Steps = list294; - reference203 = obj141; - ref QuestSequence reference204 = ref span83[1]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - Span span84 = CollectionsMarshal.AsSpan(list295); - ref QuestStep reference205 = ref span84[0]; - QuestStep obj143 = new QuestStep(EInteractionType.UseItem, 1025827u, new Vector3(435.32446f, 5.107297f, 18.234497f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone, - ItemId = 2002479u, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(435.32446f, 5.107297f, 18.234497f), - MaximumDistance = 200f, - TerritoryId = 622 - } - } - } - }; - num3 = 6; - List> list296 = new List>(num3); - CollectionsMarshal.SetCount(list296, num3); - Span> span85 = CollectionsMarshal.AsSpan(list296); - span85[0] = null; - ref List reference206 = ref span85[1]; - num4 = 1; - List list297 = new List(num4); - CollectionsMarshal.SetCount(list297, num4); - CollectionsMarshal.AsSpan(list297)[0] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - reference206 = list297; - span85[2] = null; - span85[3] = null; - span85[4] = null; - span85[5] = null; - obj143.RequiredQuestVariables = list296; - reference205 = obj143; - ref QuestStep reference207 = ref span84[1]; - QuestStep obj144 = new QuestStep(EInteractionType.UseItem, 1025825u, new Vector3(432.02856f, 20.099669f, -22.38501f), 622) - { - Fly = true, - ItemId = 2002479u - }; - num3 = 6; - List> list298 = new List>(num3); - CollectionsMarshal.SetCount(list298, num3); - Span> span86 = CollectionsMarshal.AsSpan(list298); - span86[0] = null; - ref List reference208 = ref span86[1]; - num4 = 1; - List list299 = new List(num4); - CollectionsMarshal.SetCount(list299, num4); - CollectionsMarshal.AsSpan(list299)[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference208 = list299; - span86[2] = null; - span86[3] = null; - span86[4] = null; - span86[5] = null; - obj144.RequiredQuestVariables = list298; - reference207 = obj144; - ref QuestStep reference209 = ref span84[2]; - QuestStep obj145 = new QuestStep(EInteractionType.UseItem, 1025826u, new Vector3(411.58154f, 2.814907f, -44.327515f), 622) - { - Fly = true, - ItemId = 2002479u - }; - num3 = 6; - List> list300 = new List>(num3); - CollectionsMarshal.SetCount(list300, num3); - Span> span87 = CollectionsMarshal.AsSpan(list300); - span87[0] = null; - ref List reference210 = ref span87[1]; - num4 = 1; - List list301 = new List(num4); - CollectionsMarshal.SetCount(list301, num4); - CollectionsMarshal.AsSpan(list301)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference210 = list301; - span87[2] = null; - span87[3] = null; - span87[4] = null; - span87[5] = null; - obj145.RequiredQuestVariables = list300; - reference209 = obj145; - obj142.Steps = list295; - reference204 = obj142; - ref QuestSequence reference211 = ref span83[2]; - QuestSequence obj146 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list302 = new List(num2); - CollectionsMarshal.SetCount(list302, num2); - CollectionsMarshal.AsSpan(list302)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj146.Steps = list302; - reference211 = obj146; - questRoot27.QuestSequence = list293; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(3128); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list303 = new List(num); - CollectionsMarshal.SetCount(list303, num); - CollectionsMarshal.AsSpan(list303)[0] = "Theo"; - questRoot28.Author = list303; - num = 4; - List list304 = new List(num); - CollectionsMarshal.SetCount(list304, num); - Span span88 = CollectionsMarshal.AsSpan(list304); - ref QuestSequence reference212 = ref span88[0]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - CollectionsMarshal.AsSpan(list305)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj147.Steps = list305; - reference212 = obj147; - ref QuestSequence reference213 = ref span88[1]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - CollectionsMarshal.AsSpan(list306)[0] = new QuestStep(EInteractionType.Interact, 1025828u, new Vector3(-55.985413f, 114.904976f, -19.089111f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-55.985413f, 114.904976f, -19.089111f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj148.Steps = list306; - reference213 = obj148; - ref QuestSequence reference214 = ref span88[2]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list307 = new List(num2); - CollectionsMarshal.SetCount(list307, num2); - Span span89 = CollectionsMarshal.AsSpan(list307); - ref QuestStep reference215 = ref span89[0]; - QuestStep questStep56 = new QuestStep(EInteractionType.Interact, 1025832u, new Vector3(-57.1756f, 114.88513f, -16.464539f), 622); - num3 = 1; - List list308 = new List(num3); - CollectionsMarshal.SetCount(list308, num3); - CollectionsMarshal.AsSpan(list308)[0] = EExtendedClassJob.DoH; - questStep56.RequiredQuestAcceptedJob = list308; - reference215 = questStep56; - ref QuestStep reference216 = ref span89[1]; - QuestStep obj150 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22744u, - ItemCount = 2 - }; - num3 = 1; - List list309 = new List(num3); - CollectionsMarshal.SetCount(list309, num3); - CollectionsMarshal.AsSpan(list309)[0] = EExtendedClassJob.DoH; - obj150.RequiredQuestAcceptedJob = list309; - reference216 = obj150; - ref QuestStep reference217 = ref span89[2]; - QuestStep questStep57 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list310 = new List(num3); - CollectionsMarshal.SetCount(list310, num3); - CollectionsMarshal.AsSpan(list310)[0] = EExtendedClassJob.Miner; - questStep57.RequiredQuestAcceptedJob = list310; - num3 = 1; - List list311 = new List(num3); - CollectionsMarshal.SetCount(list311, num3); - CollectionsMarshal.AsSpan(list311)[0] = new GatheredItem - { - ItemId = 22640u, - ItemCount = 1 - }; - questStep57.ItemsToGather = list311; - reference217 = questStep57; - ref QuestStep reference218 = ref span89[3]; - QuestStep questStep58 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list312 = new List(num3); - CollectionsMarshal.SetCount(list312, num3); - CollectionsMarshal.AsSpan(list312)[0] = EExtendedClassJob.Botanist; - questStep58.RequiredQuestAcceptedJob = list312; - num3 = 1; - List list313 = new List(num3); - CollectionsMarshal.SetCount(list313, num3); - CollectionsMarshal.AsSpan(list313)[0] = new GatheredItem - { - ItemId = 22666u, - ItemCount = 1 - }; - questStep58.ItemsToGather = list313; - reference218 = questStep58; - span89[4] = new QuestStep(EInteractionType.Interact, 1025831u, new Vector3(-50.980408f, 114.90497f, -23.178528f), 622) - { - Fly = true - }; - obj149.Steps = list307; - reference214 = obj149; - ref QuestSequence reference219 = ref span88[3]; - QuestSequence obj151 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - CollectionsMarshal.AsSpan(list314)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj151.Steps = list314; - reference219 = obj151; - questRoot28.QuestSequence = list304; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(3129); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list315 = new List(num); - CollectionsMarshal.SetCount(list315, num); - CollectionsMarshal.AsSpan(list315)[0] = "Theo"; - questRoot29.Author = list315; - num = 4; - List list316 = new List(num); - CollectionsMarshal.SetCount(list316, num); - Span span90 = CollectionsMarshal.AsSpan(list316); - ref QuestSequence reference220 = ref span90[0]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list317 = new List(num2); - CollectionsMarshal.SetCount(list317, num2); - CollectionsMarshal.AsSpan(list317)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj152.Steps = list317; - reference220 = obj152; - ref QuestSequence reference221 = ref span90[1]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list318 = new List(num2); - CollectionsMarshal.SetCount(list318, num2); - CollectionsMarshal.AsSpan(list318)[0] = new QuestStep(EInteractionType.Interact, 1025858u, new Vector3(-534.7219f, 66.33932f, -409.75055f), 622) - { - Fly = true - }; - obj153.Steps = list318; - reference221 = obj153; - ref QuestSequence reference222 = ref span90[2]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list319 = new List(num2); - CollectionsMarshal.SetCount(list319, num2); - Span span91 = CollectionsMarshal.AsSpan(list319); - ref QuestStep reference223 = ref span91[0]; - QuestStep questStep59 = new QuestStep(EInteractionType.Interact, 1025816u, new Vector3(-535.3323f, 66.453f, -412.71082f), 622); - num3 = 1; - List list320 = new List(num3); - CollectionsMarshal.SetCount(list320, num3); - CollectionsMarshal.AsSpan(list320)[0] = EExtendedClassJob.DoH; - questStep59.RequiredQuestAcceptedJob = list320; - reference223 = questStep59; - ref QuestStep reference224 = ref span91[1]; - QuestStep obj155 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 22745u, - ItemCount = 1 - }; - num3 = 1; - List list321 = new List(num3); - CollectionsMarshal.SetCount(list321, num3); - CollectionsMarshal.AsSpan(list321)[0] = EExtendedClassJob.DoH; - obj155.RequiredQuestAcceptedJob = list321; - reference224 = obj155; - ref QuestStep reference225 = ref span91[2]; - QuestStep questStep60 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list322 = new List(num3); - CollectionsMarshal.SetCount(list322, num3); - CollectionsMarshal.AsSpan(list322)[0] = EExtendedClassJob.Miner; - questStep60.RequiredQuestAcceptedJob = list322; - num3 = 1; - List list323 = new List(num3); - CollectionsMarshal.SetCount(list323, num3); - CollectionsMarshal.AsSpan(list323)[0] = new GatheredItem - { - ItemId = 22641u, - ItemCount = 1 - }; - questStep60.ItemsToGather = list323; - reference225 = questStep60; - ref QuestStep reference226 = ref span91[3]; - QuestStep questStep61 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list324 = new List(num3); - CollectionsMarshal.SetCount(list324, num3); - CollectionsMarshal.AsSpan(list324)[0] = EExtendedClassJob.Botanist; - questStep61.RequiredQuestAcceptedJob = list324; - num3 = 1; - List list325 = new List(num3); - CollectionsMarshal.SetCount(list325, num3); - CollectionsMarshal.AsSpan(list325)[0] = new GatheredItem - { - ItemId = 22667u, - ItemCount = 1 - }; - questStep61.ItemsToGather = list325; - reference226 = questStep61; - span91[4] = new QuestStep(EInteractionType.Interact, 1021784u, new Vector3(-750.05725f, 127.240875f, 143.72461f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-750.05725f, 127.240875f, 143.72461f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj154.Steps = list319; - reference222 = obj154; - ref QuestSequence reference227 = ref span90[3]; - QuestSequence obj156 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list326 = new List(num2); - CollectionsMarshal.SetCount(list326, num2); - CollectionsMarshal.AsSpan(list326)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 150f, - TerritoryId = 622 - } - } - } - }; - obj156.Steps = list326; - reference227 = obj156; - questRoot29.QuestSequence = list316; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(3130); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list327 = new List(num); - CollectionsMarshal.SetCount(list327, num); - CollectionsMarshal.AsSpan(list327)[0] = "Theo"; - questRoot30.Author = list327; - num = 5; - List list328 = new List(num); - CollectionsMarshal.SetCount(list328, num); - Span span92 = CollectionsMarshal.AsSpan(list328); - ref QuestSequence reference228 = ref span92[0]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list329 = new List(num2); - CollectionsMarshal.SetCount(list329, num2); - CollectionsMarshal.AsSpan(list329)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj157.Steps = list329; - reference228 = obj157; - ref QuestSequence reference229 = ref span92[1]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list330 = new List(num2); - CollectionsMarshal.SetCount(list330, num2); - CollectionsMarshal.AsSpan(list330)[0] = new QuestStep(EInteractionType.Interact, 1025837u, new Vector3(239.2461f, 1.2024078f, 12.466553f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(239.2461f, 1.2024078f, 12.466553f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj158.Steps = list330; - reference229 = obj158; - ref QuestSequence reference230 = ref span92[2]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list331 = new List(num2); - CollectionsMarshal.SetCount(list331, num2); - Span span93 = CollectionsMarshal.AsSpan(list331); - ref QuestStep reference231 = ref span93[0]; - QuestStep questStep62 = new QuestStep(EInteractionType.Interact, 1025841u, new Vector3(241.77905f, 2.4261475f, 14.419739f), 622); - num3 = 1; - List list332 = new List(num3); - CollectionsMarshal.SetCount(list332, num3); - CollectionsMarshal.AsSpan(list332)[0] = EExtendedClassJob.DoH; - questStep62.RequiredQuestAcceptedJob = list332; - reference231 = questStep62; - ref QuestStep reference232 = ref span93[1]; - QuestStep obj160 = new QuestStep(EInteractionType.Craft, null, null, 622) - { - ItemId = 23173u, - ItemCount = 3 - }; - num3 = 1; - List list333 = new List(num3); - CollectionsMarshal.SetCount(list333, num3); - CollectionsMarshal.AsSpan(list333)[0] = EExtendedClassJob.DoH; - obj160.RequiredQuestAcceptedJob = list333; - reference232 = obj160; - ref QuestStep reference233 = ref span93[2]; - QuestStep questStep63 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list334 = new List(num3); - CollectionsMarshal.SetCount(list334, num3); - CollectionsMarshal.AsSpan(list334)[0] = EExtendedClassJob.Miner; - questStep63.RequiredQuestAcceptedJob = list334; - num3 = 1; - List list335 = new List(num3); - CollectionsMarshal.SetCount(list335, num3); - CollectionsMarshal.AsSpan(list335)[0] = new GatheredItem - { - ItemId = 23169u, - ItemCount = 1 - }; - questStep63.ItemsToGather = list335; - reference233 = questStep63; - ref QuestStep reference234 = ref span93[3]; - QuestStep questStep64 = new QuestStep(EInteractionType.Gather, null, null, 622); - num3 = 1; - List list336 = new List(num3); - CollectionsMarshal.SetCount(list336, num3); - CollectionsMarshal.AsSpan(list336)[0] = EExtendedClassJob.Botanist; - questStep64.RequiredQuestAcceptedJob = list336; - num3 = 1; - List list337 = new List(num3); - CollectionsMarshal.SetCount(list337, num3); - CollectionsMarshal.AsSpan(list337)[0] = new GatheredItem - { - ItemId = 23170u, - ItemCount = 1 - }; - questStep64.ItemsToGather = list337; - reference234 = questStep64; - span93[4] = new QuestStep(EInteractionType.Interact, 1025837u, new Vector3(239.2461f, 1.2024078f, 12.466553f), 622) - { - Fly = true - }; - obj159.Steps = list331; - reference230 = obj159; - ref QuestSequence reference235 = ref span92[3]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list338 = new List(num2); - CollectionsMarshal.SetCount(list338, num2); - Span span94 = CollectionsMarshal.AsSpan(list338); - span94[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(50.48796f, 114.90777f, 9.264265f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - ref QuestStep reference236 = ref span94[1]; - QuestStep obj162 = new QuestStep(EInteractionType.Interact, 1025836u, new Vector3(46.158447f, 114.904976f, 10.849121f), 622) - { - Fly = true - }; - num3 = 6; - List list339 = new List(num3); - CollectionsMarshal.SetCount(list339, num3); - Span span95 = CollectionsMarshal.AsSpan(list339); - span95[0] = null; - span95[1] = null; - span95[2] = null; - span95[3] = null; - span95[4] = null; - span95[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj162.CompletionQuestVariablesFlags = list339; - reference236 = obj162; - ref QuestStep reference237 = ref span94[2]; - QuestStep questStep65 = new QuestStep(EInteractionType.Interact, 1025838u, new Vector3(46.12793f, 114.904976f, 8.132996f), 622); - num3 = 6; - List list340 = new List(num3); - CollectionsMarshal.SetCount(list340, num3); - Span span96 = CollectionsMarshal.AsSpan(list340); - span96[0] = null; - span96[1] = null; - span96[2] = null; - span96[3] = null; - span96[4] = null; - span96[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep65.CompletionQuestVariablesFlags = list340; - reference237 = questStep65; - ref QuestStep reference238 = ref span94[3]; - QuestStep questStep66 = new QuestStep(EInteractionType.Interact, 1025840u, new Vector3(43.289795f, 114.90497f, 7.9193726f), 622); - num3 = 6; - List list341 = new List(num3); - CollectionsMarshal.SetCount(list341, num3); - Span span97 = CollectionsMarshal.AsSpan(list341); - span97[0] = null; - span97[1] = null; - span97[2] = null; - span97[3] = null; - span97[4] = null; - span97[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep66.CompletionQuestVariablesFlags = list341; - reference238 = questStep66; - obj161.Steps = list338; - reference235 = obj161; - ref QuestSequence reference239 = ref span92[4]; - QuestSequence obj163 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - CollectionsMarshal.AsSpan(list342)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025602u, new Vector3(-780.148f, 128.25195f, 97.154175f), 622) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-780.148f, 128.25195f, 97.154175f), - MaximumDistance = 50f, - TerritoryId = 622 - } - } - } - }; - obj163.Steps = list342; - reference239 = obj163; - questRoot30.QuestSequence = list328; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(3139); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list343 = new List(num); - CollectionsMarshal.SetCount(list343, num); - CollectionsMarshal.AsSpan(list343)[0] = "liza"; - questRoot31.Author = list343; - num = 2; - List list344 = new List(num); - CollectionsMarshal.SetCount(list344, num); - Span span98 = CollectionsMarshal.AsSpan(list344); - ref QuestSequence reference240 = ref span98[0]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list345 = new List(num2); - CollectionsMarshal.SetCount(list345, num2); - CollectionsMarshal.AsSpan(list345)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025965u, new Vector3(-52.0791f, -2.9f, -64.4389f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeShiokazeHostelry - } - }; - obj164.Steps = list345; - reference240 = obj164; - ref QuestSequence reference241 = ref span98[1]; - QuestSequence obj165 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list346 = new List(num2); - CollectionsMarshal.SetCount(list346, num2); - CollectionsMarshal.AsSpan(list346)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025878u, new Vector3(343.984f, -120.32947f, -306.0197f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - obj165.Steps = list346; - reference241 = obj165; - questRoot31.QuestSequence = list344; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(3140); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list347 = new List(num); - CollectionsMarshal.SetCount(list347, num); - CollectionsMarshal.AsSpan(list347)[0] = "liza"; - questRoot32.Author = list347; - num = 5; - List list348 = new List(num); - CollectionsMarshal.SetCount(list348, num); - Span span99 = CollectionsMarshal.AsSpan(list348); - ref QuestSequence reference242 = ref span99[0]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list349 = new List(num2); - CollectionsMarshal.SetCount(list349, num2); - CollectionsMarshal.AsSpan(list349)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025878u, new Vector3(343.984f, -120.32947f, -306.0197f), 613); - obj166.Steps = list349; - reference242 = obj166; - ref QuestSequence reference243 = ref span99[1]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - Span span100 = CollectionsMarshal.AsSpan(list350); - span100[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(322.1539f, -121.22571f, -314.2446f), 613) - { - Mount = true, - RestartNavigationIfCancelled = false - }; - span100[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(22.288645f, -196.2301f, -155.5739f), 613) - { - RestartNavigationIfCancelled = false - }; - span100[2] = new QuestStep(EInteractionType.Interact, 1025966u, new Vector3(-10.51355f, -187.08374f, -95.07898f), 613) - { - Fly = true - }; - obj167.Steps = list350; - reference243 = obj167; - ref QuestSequence reference244 = ref span99[2]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list351 = new List(num2); - CollectionsMarshal.SetCount(list351, num2); - CollectionsMarshal.AsSpan(list351)[0] = new QuestStep(EInteractionType.Interact, 2009560u, new Vector3(855.1002f, 1.1749268f, 876.0051f), 613) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyPrice - } - }; - obj168.Steps = list351; - reference244 = obj168; - ref QuestSequence reference245 = ref span99[3]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list352 = new List(num2); - CollectionsMarshal.SetCount(list352, num2); - CollectionsMarshal.AsSpan(list352)[0] = new QuestStep(EInteractionType.Interact, 1025968u, new Vector3(35.477173f, 5.9422755f, -143.63324f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRakuzaDistrict - } - }; - obj169.Steps = list352; - reference245 = obj169; - ref QuestSequence reference246 = ref span99[4]; - QuestSequence obj170 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list353 = new List(num2); - CollectionsMarshal.SetCount(list353, num2); - CollectionsMarshal.AsSpan(list353)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025878u, new Vector3(343.984f, -120.32947f, -306.0197f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - obj170.Steps = list353; - reference246 = obj170; - questRoot32.QuestSequence = list348; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(3141); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list354 = new List(num); - CollectionsMarshal.SetCount(list354, num); - CollectionsMarshal.AsSpan(list354)[0] = "liza"; - questRoot33.Author = list354; - num = 3; - List list355 = new List(num); - CollectionsMarshal.SetCount(list355, num); - Span span101 = CollectionsMarshal.AsSpan(list355); - ref QuestSequence reference247 = ref span101[0]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list356 = new List(num2); - CollectionsMarshal.SetCount(list356, num2); - CollectionsMarshal.AsSpan(list356)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024791u, new Vector3(31.60144f, 0.26575702f, 28.915894f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj171.Steps = list356; - reference247 = obj171; - ref QuestSequence reference248 = ref span101[1]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list357 = new List(num2); - CollectionsMarshal.SetCount(list357, num2); - CollectionsMarshal.AsSpan(list357)[0] = new QuestStep(EInteractionType.Interact, 1024793u, new Vector3(66.666626f, -7.579447E-09f, -59.67804f), 759); - obj172.Steps = list357; - reference248 = obj172; - ref QuestSequence reference249 = ref span101[2]; - QuestSequence obj173 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list358 = new List(num2); - CollectionsMarshal.SetCount(list358, num2); - CollectionsMarshal.AsSpan(list358)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024791u, new Vector3(31.60144f, 0.26575702f, 28.915894f), 759); - obj173.Steps = list358; - reference249 = obj173; - questRoot33.QuestSequence = list355; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(3142); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list359 = new List(num); - CollectionsMarshal.SetCount(list359, num); - CollectionsMarshal.AsSpan(list359)[0] = "Thaksin"; - questRoot34.Author = list359; - num = 4; - List list360 = new List(num); - CollectionsMarshal.SetCount(list360, num); - Span span102 = CollectionsMarshal.AsSpan(list360); - ref QuestSequence reference250 = ref span102[0]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list361 = new List(num2); - CollectionsMarshal.SetCount(list361, num2); - CollectionsMarshal.AsSpan(list361)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026200u, new Vector3(26.901611f, 0f, 36.362183f), 635); - obj174.Steps = list361; - reference250 = obj174; - ref QuestSequence reference251 = ref span102[1]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list362 = new List(num2); - CollectionsMarshal.SetCount(list362, num2); - Span span103 = CollectionsMarshal.AsSpan(list362); - ref QuestStep reference252 = ref span103[0]; - QuestStep obj176 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-516.5388f, 146.04834f, -357.0811f), 399) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshirePrologueGate - } - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num3 = 1; - List list363 = new List(num3); - CollectionsMarshal.SetCount(list363, num3); - CollectionsMarshal.AsSpan(list363)[0] = 399; - skipAetheryteCondition2.InTerritory = list363; - skipConditions4.AetheryteShortcutIf = skipAetheryteCondition2; - obj176.SkipConditions = skipConditions4; - reference252 = obj176; - span103[1] = new QuestStep(EInteractionType.Interact, 1026201u, new Vector3(-617.2427f, 146.86842f, 62.150024f), 399) - { - Fly = true - }; - obj175.Steps = list362; - reference251 = obj175; - ref QuestSequence reference253 = ref span102[2]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list364 = new List(num2); - CollectionsMarshal.SetCount(list364, num2); - CollectionsMarshal.AsSpan(list364)[0] = new QuestStep(EInteractionType.Duty, null, null, 399) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 584u - } - }; - obj177.Steps = list364; - reference253 = obj177; - ref QuestSequence reference254 = ref span102[3]; - QuestSequence obj178 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list365 = new List(num2); - CollectionsMarshal.SetCount(list365, num2); - CollectionsMarshal.AsSpan(list365)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026202u, new Vector3(-611.6274f, 146.86842f, 57.87744f), 399); - obj178.Steps = list365; - reference254 = obj178; - questRoot34.QuestSequence = list360; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(3143); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list366 = new List(num); - CollectionsMarshal.SetCount(list366, num); - CollectionsMarshal.AsSpan(list366)[0] = "JerryWester"; - questRoot35.Author = list366; - num = 5; - List list367 = new List(num); - CollectionsMarshal.SetCount(list367, num); - Span span104 = CollectionsMarshal.AsSpan(list367); - ref QuestSequence reference255 = ref span104[0]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list368 = new List(num2); - CollectionsMarshal.SetCount(list368, num2); - CollectionsMarshal.AsSpan(list368)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025549u, new Vector3(1.4800415f, -1.1041565E-05f, -11.734253f), 351) - { - StopDistance = 5f - }; - obj179.Steps = list368; - reference255 = obj179; - ref QuestSequence reference256 = ref span104[1]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list369 = new List(num2); - CollectionsMarshal.SetCount(list369, num2); - CollectionsMarshal.AsSpan(list369)[0] = new QuestStep(EInteractionType.Interact, 1026253u, new Vector3(650.87354f, 70f, 546.89856f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter - }; - obj180.Steps = list369; - reference256 = obj180; - ref QuestSequence reference257 = ref span104[2]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list370 = new List(num2); - CollectionsMarshal.SetCount(list370, num2); - CollectionsMarshal.AsSpan(list370)[0] = new QuestStep(EInteractionType.Interact, 1026256u, new Vector3(648.1575f, 70f, 548.24133f), 621); - obj181.Steps = list370; - reference257 = obj181; - ref QuestSequence reference258 = ref span104[3]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list371 = new List(num2); - CollectionsMarshal.SetCount(list371, num2); - CollectionsMarshal.AsSpan(list371)[0] = new QuestStep(EInteractionType.Interact, 1026257u, new Vector3(-7.950012f, -3.2583127E-12f, -16.31195f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave - }; - obj182.Steps = list371; - reference258 = obj182; - ref QuestSequence reference259 = ref span104[4]; - QuestSequence obj183 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list372 = new List(num2); - CollectionsMarshal.SetCount(list372, num2); - Span span105 = CollectionsMarshal.AsSpan(list372); - ref QuestStep reference260 = ref span105[0]; - QuestStep obj184 = new QuestStep(EInteractionType.Interact, 1024974u, new Vector3(-10.330383f, 0.19997318f, 12.893799f), 759) - { - TargetTerritoryId = (ushort)744 - }; - num3 = 1; - List list373 = new List(num3); - CollectionsMarshal.SetCount(list373, num3); - CollectionsMarshal.AsSpan(list373)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDE101_03143_EVENTAREA_WARP_100_004") - }; - obj184.DialogueChoices = list373; - reference260 = obj184; - span105[1] = new QuestStep(EInteractionType.CompleteQuest, 1025597u, new Vector3(0.19836426f, 0.021091362f, -3.0060425f), 744); - obj183.Steps = list372; - reference259 = obj183; - questRoot35.QuestSequence = list367; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(3144); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list374 = new List(num); - CollectionsMarshal.SetCount(list374, num); - CollectionsMarshal.AsSpan(list374)[0] = "JerryWester"; - questRoot36.Author = list374; - num = 5; - List list375 = new List(num); - CollectionsMarshal.SetCount(list375, num); - Span span106 = CollectionsMarshal.AsSpan(list375); - ref QuestSequence reference261 = ref span106[0]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list376 = new List(num2); - CollectionsMarshal.SetCount(list376, num2); - CollectionsMarshal.AsSpan(list376)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025597u, new Vector3(0.19836426f, 0.021091362f, -3.0060425f), 744); - obj185.Steps = list376; - reference261 = obj185; - ref QuestSequence reference262 = ref span106[1]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list377 = new List(num2); - CollectionsMarshal.SetCount(list377, num2); - CollectionsMarshal.AsSpan(list377)[0] = new QuestStep(EInteractionType.Interact, 1026261u, new Vector3(337.78882f, 54.860683f, -531.2734f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaHouseOfTheFierce - }; - obj186.Steps = list377; - reference262 = obj186; - ref QuestSequence reference263 = ref span106[2]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list378 = new List(num2); - CollectionsMarshal.SetCount(list378, num2); - CollectionsMarshal.AsSpan(list378)[0] = new QuestStep(EInteractionType.Duty, null, null, 614) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 585u - } - }; - obj187.Steps = list378; - reference263 = obj187; - span106[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference264 = ref span106[4]; - QuestSequence obj188 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list379 = new List(num2); - CollectionsMarshal.SetCount(list379, num2); - CollectionsMarshal.AsSpan(list379)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026268u, new Vector3(117.7843f, -4.178714f, 87.296875f), 759) - { - StopDistance = 7f - }; - obj188.Steps = list379; - reference264 = obj188; - questRoot36.QuestSequence = list375; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(3145); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list380 = new List(num); - CollectionsMarshal.SetCount(list380, num); - CollectionsMarshal.AsSpan(list380)[0] = "JerryWester"; - questRoot37.Author = list380; - num = 5; - List list381 = new List(num); - CollectionsMarshal.SetCount(list381, num); - Span span107 = CollectionsMarshal.AsSpan(list381); - ref QuestSequence reference265 = ref span107[0]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list382 = new List(num2); - CollectionsMarshal.SetCount(list382, num2); - CollectionsMarshal.AsSpan(list382)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026268u, new Vector3(117.7843f, -4.178714f, 87.296875f), 759) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.DomanEnclave, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj189.Steps = list382; - reference265 = obj189; - ref QuestSequence reference266 = ref span107[1]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list383 = new List(num2); - CollectionsMarshal.SetCount(list383, num2); - ref QuestStep reference267 = ref CollectionsMarshal.AsSpan(list383)[0]; - QuestStep obj191 = new QuestStep(EInteractionType.Interact, 1024974u, new Vector3(-10.330383f, 0.19997318f, 12.893799f), 759) - { - TargetTerritoryId = (ushort)744, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.DomanEnclaveDocks, - To = EAetheryteLocation.DomanEnclave - } - }; - num3 = 1; - List list384 = new List(num3); - CollectionsMarshal.SetCount(list384, num3); - CollectionsMarshal.AsSpan(list384)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDE103_03145_EVENTAREA_WARP_100_004") - }; - obj191.DialogueChoices = list384; - reference267 = obj191; - obj190.Steps = list383; - reference266 = obj190; - ref QuestSequence reference268 = ref span107[2]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list385 = new List(num2); - CollectionsMarshal.SetCount(list385, num2); - CollectionsMarshal.AsSpan(list385)[0] = new QuestStep(EInteractionType.Interact, 1025597u, new Vector3(0.19836426f, 0.021091362f, -3.0060425f), 744) - { - StopDistance = 7f - }; - obj192.Steps = list385; - reference268 = obj192; - ref QuestSequence reference269 = ref span107[3]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list386 = new List(num2); - CollectionsMarshal.SetCount(list386, num2); - Span span108 = CollectionsMarshal.AsSpan(list386); - span108[0] = new QuestStep(EInteractionType.Interact, 2009289u, new Vector3(0.02468622f, 0.9079783f, 18.30971f), 744) - { - TargetTerritoryId = (ushort)759 - }; - span108[1] = new QuestStep(EInteractionType.Interact, 1026276u, new Vector3(119.035645f, -4.1787133f, 65.384766f), 759) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.DomanEnclave, - To = EAetheryteLocation.DomanEnclaveDocks - } - }; - obj193.Steps = list386; - reference269 = obj193; - ref QuestSequence reference270 = ref span107[4]; - QuestSequence obj194 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list387 = new List(num2); - CollectionsMarshal.SetCount(list387, num2); - Span span109 = CollectionsMarshal.AsSpan(list387); - ref QuestStep reference271 = ref span109[0]; - QuestStep obj195 = new QuestStep(EInteractionType.Interact, 1024974u, new Vector3(-10.330383f, 0.19997318f, 12.893799f), 759) - { - TargetTerritoryId = (ushort)744, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.DomanEnclaveDocks, - To = EAetheryteLocation.DomanEnclave - } - }; - num3 = 1; - List list388 = new List(num3); - CollectionsMarshal.SetCount(list388, num3); - CollectionsMarshal.AsSpan(list388)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDE103_03145_EVENTAREA_WARP_100_004") - }; - obj195.DialogueChoices = list388; - reference271 = obj195; - span109[1] = new QuestStep(EInteractionType.CompleteQuest, 1025597u, new Vector3(0.19836426f, 0.021091362f, -3.0060425f), 744); - obj194.Steps = list387; - reference270 = obj194; - questRoot37.QuestSequence = list381; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(3146); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list389 = new List(num); - CollectionsMarshal.SetCount(list389, num); - CollectionsMarshal.AsSpan(list389)[0] = "JerryWester"; - questRoot38.Author = list389; - num = 4; - List list390 = new List(num); - CollectionsMarshal.SetCount(list390, num); - Span span110 = CollectionsMarshal.AsSpan(list390); - ref QuestSequence reference272 = ref span110[0]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list391 = new List(num2); - CollectionsMarshal.SetCount(list391, num2); - ref QuestStep reference273 = ref CollectionsMarshal.AsSpan(list391)[0]; - QuestStep questStep67 = new QuestStep(EInteractionType.AcceptQuest, 1025597u, new Vector3(0.19836426f, 0.021091362f, -3.0060425f), 744); - num3 = 1; - List list392 = new List(num3); - CollectionsMarshal.SetCount(list392, num3); - CollectionsMarshal.AsSpan(list392)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDE104_03146_Q1_000_000"), - Answer = new ExcelRef("TEXT_STMBDE104_03146_A1_000_001") - }; - questStep67.DialogueChoices = list392; - reference273 = questStep67; - obj196.Steps = list391; - reference272 = obj196; - ref QuestSequence reference274 = ref span110[1]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list393 = new List(num2); - CollectionsMarshal.SetCount(list393, num2); - CollectionsMarshal.AsSpan(list393)[0] = new QuestStep(EInteractionType.Interact, 1026280u, new Vector3(561.4862f, -19.50564f, 409.17065f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion - }; - obj197.Steps = list393; - reference274 = obj197; - ref QuestSequence reference275 = ref span110[2]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list394 = new List(num2); - CollectionsMarshal.SetCount(list394, num2); - CollectionsMarshal.AsSpan(list394)[0] = new QuestStep(EInteractionType.Interact, 1026281u, new Vector3(561.7302f, -19.30375f, 271.99194f), 622) - { - StopDistance = 6f - }; - obj198.Steps = list394; - reference275 = obj198; - ref QuestSequence reference276 = ref span110[3]; - QuestSequence obj199 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list395 = new List(num2); - CollectionsMarshal.SetCount(list395, num2); - CollectionsMarshal.AsSpan(list395)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020539u, new Vector3(498.2832f, 40.836098f, -508.20172f), 622) - { - Fly = true - }; - obj199.Steps = list395; - reference276 = obj199; - questRoot38.QuestSequence = list390; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(3147); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list396 = new List(num); - CollectionsMarshal.SetCount(list396, num); - CollectionsMarshal.AsSpan(list396)[0] = "JerryWester"; - questRoot39.Author = list396; - num = 7; - List list397 = new List(num); - CollectionsMarshal.SetCount(list397, num); - Span span111 = CollectionsMarshal.AsSpan(list397); - ref QuestSequence reference277 = ref span111[0]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list398 = new List(num2); - CollectionsMarshal.SetCount(list398, num2); - CollectionsMarshal.AsSpan(list398)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026284u, new Vector3(498.2832f, 40.86853f, -503.37988f), 622) - { - StopDistance = 5f - }; - obj200.Steps = list398; - reference277 = obj200; - ref QuestSequence reference278 = ref span111[1]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list399 = new List(num2); - CollectionsMarshal.SetCount(list399, num2); - CollectionsMarshal.AsSpan(list399)[0] = new QuestStep(EInteractionType.Interact, 1025874u, new Vector3(351.12524f, 118.66239f, -692.53076f), 622) - { - Fly = true - }; - obj201.Steps = list399; - reference278 = obj201; - ref QuestSequence reference279 = ref span111[2]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list400 = new List(num2); - CollectionsMarshal.SetCount(list400, num2); - Span span112 = CollectionsMarshal.AsSpan(list400); - span112[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(493.77588f, 40.425697f, -475.4643f), 622) - { - Fly = true - }; - span112[1] = new QuestStep(EInteractionType.Interact, 1020539u, new Vector3(498.2832f, 40.836098f, -508.20172f), 622); - obj202.Steps = list400; - reference279 = obj202; - ref QuestSequence reference280 = ref span111[3]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list401 = new List(num2); - CollectionsMarshal.SetCount(list401, num2); - CollectionsMarshal.AsSpan(list401)[0] = new QuestStep(EInteractionType.Interact, 1020280u, new Vector3(-448.1422f, 2.2771428f, 632.1354f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone - }; - obj203.Steps = list401; - reference280 = obj203; - ref QuestSequence reference281 = ref span111[4]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list402 = new List(num2); - CollectionsMarshal.SetCount(list402, num2); - ref QuestStep reference282 = ref CollectionsMarshal.AsSpan(list402)[0]; - QuestStep obj205 = new QuestStep(EInteractionType.SinglePlayerDuty, 2009591u, new Vector3(-210.34564f, 2.6397705f, 519.27966f), 622) - { - Fly = true - }; - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions(); - num3 = 1; - List list403 = new List(num3); - CollectionsMarshal.SetCount(list403, num3); - CollectionsMarshal.AsSpan(list403)[0] = "(Magnai) Keeps focussing the boss instead of the axes, thus getting killed by the AOEs"; - singlePlayerDutyOptions.Notes = list403; - obj205.SinglePlayerDutyOptions = singlePlayerDutyOptions; - reference282 = obj205; - obj204.Steps = list402; - reference281 = obj204; - span111[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference283 = ref span111[6]; - QuestSequence obj206 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list404 = new List(num2); - CollectionsMarshal.SetCount(list404, num2); - CollectionsMarshal.AsSpan(list404)[0] = new QuestStep(EInteractionType.CompleteQuest, 1020539u, new Vector3(498.2832f, 40.836098f, -508.20172f), 622) - { - StopDistance = 5f - }; - obj206.Steps = list404; - reference283 = obj206; - questRoot39.QuestSequence = list397; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(3148); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list405 = new List(num); - CollectionsMarshal.SetCount(list405, num); - CollectionsMarshal.AsSpan(list405)[0] = "JerryWester"; - questRoot40.Author = list405; - num = 7; - List list406 = new List(num); - CollectionsMarshal.SetCount(list406, num); - Span span113 = CollectionsMarshal.AsSpan(list406); - ref QuestSequence reference284 = ref span113[0]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list407 = new List(num2); - CollectionsMarshal.SetCount(list407, num2); - CollectionsMarshal.AsSpan(list407)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026284u, new Vector3(498.2832f, 40.86853f, -503.37988f), 622); - obj207.Steps = list407; - reference284 = obj207; - ref QuestSequence reference285 = ref span113[1]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list408 = new List(num2); - CollectionsMarshal.SetCount(list408, num2); - CollectionsMarshal.AsSpan(list408)[0] = new QuestStep(EInteractionType.Interact, 1025874u, new Vector3(351.12524f, 118.66239f, -692.53076f), 622) - { - Fly = true - }; - obj208.Steps = list408; - reference285 = obj208; - ref QuestSequence reference286 = ref span113[2]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list409 = new List(num2); - CollectionsMarshal.SetCount(list409, num2); - CollectionsMarshal.AsSpan(list409)[0] = new QuestStep(EInteractionType.Interact, 1026239u, new Vector3(348.53125f, 118.662384f, -691.92035f), 622); - obj209.Steps = list409; - reference286 = obj209; - ref QuestSequence reference287 = ref span113[3]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list410 = new List(num2); - CollectionsMarshal.SetCount(list410, num2); - Span span114 = CollectionsMarshal.AsSpan(list410); - ref QuestStep reference288 = ref span114[0]; - QuestStep obj211 = new QuestStep(EInteractionType.Interact, 1024974u, new Vector3(-10.330383f, 0.19997318f, 12.893799f), 759) - { - TargetTerritoryId = (ushort)744, - AetheryteShortcut = EAetheryteLocation.DomanEnclave - }; - num3 = 1; - List list411 = new List(num3); - CollectionsMarshal.SetCount(list411, num3); - CollectionsMarshal.AsSpan(list411)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDE106_03148_EVENTAREA_WARP_100_004") - }; - obj211.DialogueChoices = list411; - reference288 = obj211; - span114[1] = new QuestStep(EInteractionType.Interact, 1026469u, new Vector3(-1.8463745f, 0.02109136f, -1.4191895f), 744); - obj210.Steps = list410; - reference287 = obj210; - ref QuestSequence reference289 = ref span113[4]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list412 = new List(num2); - CollectionsMarshal.SetCount(list412, num2); - CollectionsMarshal.AsSpan(list412)[0] = new QuestStep(EInteractionType.Interact, 1026241u, new Vector3(747.00525f, 69.99995f, 526.36f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter - }; - obj212.Steps = list412; - reference289 = obj212; - ref QuestSequence reference290 = ref span113[5]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list413 = new List(num2); - CollectionsMarshal.SetCount(list413, num2); - ref QuestStep reference291 = ref CollectionsMarshal.AsSpan(list413)[0]; - QuestStep questStep68 = new QuestStep(EInteractionType.Interact, 1024065u, new Vector3(749.9961f, 70.139626f, 522.88086f), 621); - num3 = 1; - List list414 = new List(num3); - CollectionsMarshal.SetCount(list414, num3); - CollectionsMarshal.AsSpan(list414)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDE106_03148_Q1_000_000") - }; - questStep68.DialogueChoices = list414; - reference291 = questStep68; - obj213.Steps = list413; - reference290 = obj213; - ref QuestSequence reference292 = ref span113[6]; - QuestSequence obj214 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list415 = new List(num2); - CollectionsMarshal.SetCount(list415, num2); - CollectionsMarshal.AsSpan(list415)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026242u, new Vector3(773.3424f, 80f, 437.70496f), 621) - { - StopDistance = 5f - }; - obj214.Steps = list415; - reference292 = obj214; - questRoot40.QuestSequence = list406; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(3149); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list416 = new List(num); - CollectionsMarshal.SetCount(list416, num); - CollectionsMarshal.AsSpan(list416)[0] = "JerryWester"; - questRoot41.Author = list416; - num = 5; - List list417 = new List(num); - CollectionsMarshal.SetCount(list417, num); - Span span115 = CollectionsMarshal.AsSpan(list417); - ref QuestSequence reference293 = ref span115[0]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list418 = new List(num2); - CollectionsMarshal.SetCount(list418, num2); - CollectionsMarshal.AsSpan(list418)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026242u, new Vector3(773.3424f, 80f, 437.70496f), 621) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj215.Steps = list418; - reference293 = obj215; - ref QuestSequence reference294 = ref span115[1]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list419 = new List(num2); - CollectionsMarshal.SetCount(list419, num2); - CollectionsMarshal.AsSpan(list419)[0] = new QuestStep(EInteractionType.Interact, 1026247u, new Vector3(-9.201294f, 0f, -5.44751f), 351); - obj216.Steps = list419; - reference294 = obj216; - ref QuestSequence reference295 = ref span115[2]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list420 = new List(num2); - CollectionsMarshal.SetCount(list420, num2); - CollectionsMarshal.AsSpan(list420)[0] = new QuestStep(EInteractionType.Interact, 1026249u, new Vector3(66.20886f, 40f, 69.93213f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj217.Steps = list420; - reference295 = obj217; - ref QuestSequence reference296 = ref span115[3]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list421 = new List(num2); - CollectionsMarshal.SetCount(list421, num2); - CollectionsMarshal.AsSpan(list421)[0] = new QuestStep(EInteractionType.Interact, 1026249u, new Vector3(66.20886f, 40f, 69.93213f), 128); - obj218.Steps = list421; - reference296 = obj218; - ref QuestSequence reference297 = ref span115[4]; - QuestSequence obj219 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list422 = new List(num2); - CollectionsMarshal.SetCount(list422, num2); - Span span116 = CollectionsMarshal.AsSpan(list422); - span116[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span116[1] = new QuestStep(EInteractionType.CompleteQuest, 1025549u, new Vector3(1.4800415f, -1.1041565E-05f, -11.734253f), 351); - obj219.Steps = list422; - reference297 = obj219; - questRoot41.QuestSequence = list417; - AddQuest(questId41, questRoot41); - } - - private static void LoadQuests63() - { - QuestId questId = new QuestId(3150); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 6; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025912u, new Vector3(66.57507f, 10.503965f, -155.59625f), 628) - { - StopDistance = 5f - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference3 = ref span2[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1022620u, new Vector3(-4.7455444f, 0.022830343f, -113.96973f), 628); - int num3 = 6; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - Span span3 = CollectionsMarshal.AsSpan(list5); - span3[0] = null; - span3[1] = null; - span3[2] = null; - span3[3] = null; - span3[4] = null; - span3[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list5; - reference3 = questStep; - ref QuestStep reference4 = ref span2[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1019063u, new Vector3(3.3416748f, -6.6541724E-11f, -67.73486f), 628); - num3 = 6; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - Span span4 = CollectionsMarshal.AsSpan(list6); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list6; - reference4 = questStep2; - ref QuestStep reference5 = ref span2[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1022628u, new Vector3(38.651123f, 2.99999f, -66.7583f), 628); - num3 = 6; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span5 = CollectionsMarshal.AsSpan(list7); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list7; - reference5 = questStep3; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference6 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.Interact, 1025912u, new Vector3(66.57507f, 10.503965f, -155.59625f), 628); - obj3.Steps = list8; - reference6 = obj3; - ref QuestSequence reference7 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.Interact, 1026349u, new Vector3(62.18042f, 5.991543f, -106.126526f), 628) - { - StopDistance = 5f - }; - obj4.Steps = list9; - reference7 = obj4; - ref QuestSequence reference8 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span6 = CollectionsMarshal.AsSpan(list10); - span6[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(65.39469f, 5.8110533f, -121.784775f), 628); - span6[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(72.780495f, -8.000002f, -127.28816f), 628) - { - DisableNavmesh = true - }; - span6[2] = new QuestStep(EInteractionType.Interact, 1026457u, new Vector3(62.271973f, -8.0999975f, -225.2995f), 628); - obj5.Steps = list10; - reference8 = obj5; - ref QuestSequence reference9 = ref span[5]; - QuestSequence obj6 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026353u, new Vector3(45.456543f, -7.470526f, -261.34125f), 628) - { - NextQuestId = new QuestId(3151) - }; - obj6.Steps = list11; - reference9 = obj6; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(3151); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - CollectionsMarshal.AsSpan(list12)[0] = "liza"; - questRoot2.Author = list12; - num = 6; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - Span span7 = CollectionsMarshal.AsSpan(list13); - ref QuestSequence reference10 = ref span7[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026351u, new Vector3(45.090332f, -7.469796f, -262.7146f), 628) - { - StopDistance = 5f - }; - obj7.Steps = list14; - reference10 = obj7; - ref QuestSequence reference11 = ref span7[1]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.Interact, 1026355u, new Vector3(841.27563f, 1.1792023f, 861.90576f), 613) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyPrice - } - }; - obj8.Steps = list15; - reference11 = obj8; - ref QuestSequence reference12 = ref span7[2]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.Interact, 1019166u, new Vector3(495.6587f, 29.394592f, 722.0111f), 613) - { - Fly = true - }; - obj9.Steps = list16; - reference12 = obj9; - ref QuestSequence reference13 = ref span7[3]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.Interact, 1026366u, new Vector3(433.73767f, 30.29471f, 780.69727f), 613) - { - Fly = true - }; - obj10.Steps = list17; - reference13 = obj10; - ref QuestSequence reference14 = ref span7[4]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.Interact, 1026367u, new Vector3(297.32202f, 0.35283074f, 470.51184f), 613); - obj11.Steps = list18; - reference14 = obj11; - ref QuestSequence reference15 = ref span7[5]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026369u, new Vector3(-35.080566f, 5.983372f, -152.23932f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRakuzaDistrict - }, - NextQuestId = new QuestId(3167) - }; - obj12.Steps = list19; - reference15 = obj12; - questRoot2.QuestSequence = list13; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(3152); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - CollectionsMarshal.AsSpan(list20)[0] = "liza"; - questRoot3.Author = list20; - num = 7; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - Span span8 = CollectionsMarshal.AsSpan(list21); - ref QuestSequence reference16 = ref span8[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019178u, new Vector3(319.69165f, -120.03494f, -250.90417f), 613); - obj13.Steps = list22; - reference16 = obj13; - ref QuestSequence reference17 = ref span8[1]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - Span span9 = CollectionsMarshal.AsSpan(list23); - span9[0] = new QuestStep(EInteractionType.Interact, 1025137u, new Vector3(281.66626f, 16.350018f, 846.89087f), 613) - { - TargetTerritoryId = (ushort)764, - Fly = true, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyPrice - } - }; - span9[1] = new QuestStep(EInteractionType.Interact, 1026480u, new Vector3(61.997314f, -90.00002f, -478.14148f), 764); - obj14.Steps = list23; - reference17 = obj14; - ref QuestSequence reference18 = ref span8[2]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.Interact, 1026204u, new Vector3(74.23511f, -90.00003f, -457.3587f), 764); - obj15.Steps = list24; - reference18 = obj15; - ref QuestSequence reference19 = ref span8[3]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.Duty, null, null, 764) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 596u - } - }; - obj16.Steps = list25; - reference19 = obj16; - span8[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference20 = ref span8[5]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.Interact, 1026480u, new Vector3(61.997314f, -90.00002f, -478.14148f), 764); - obj17.Steps = list26; - reference20 = obj17; - ref QuestSequence reference21 = ref span8[6]; - QuestSequence obj18 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019178u, new Vector3(319.69165f, -120.03494f, -250.90417f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu, - NextQuestId = new QuestId(3165) - }; - obj18.Steps = list27; - reference21 = obj18; - questRoot3.QuestSequence = list21; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(3153); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - CollectionsMarshal.AsSpan(list28)[0] = "CryoTechnic"; - questRoot4.Author = list28; - num = 4; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - Span span10 = CollectionsMarshal.AsSpan(list29); - ref QuestSequence reference22 = ref span10[0]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024791u, new Vector3(31.60144f, 0.26575702f, 28.915894f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj19.Steps = list30; - reference22 = obj19; - ref QuestSequence reference23 = ref span10[1]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - Span span11 = CollectionsMarshal.AsSpan(list31); - span11[0] = new QuestStep(EInteractionType.Interact, 1025757u, new Vector3(65.35437f, -8.7688285E-08f, -67.91791f), 759); - span11[1] = new QuestStep(EInteractionType.Interact, 1026314u, new Vector3(-92.02722f, 1.674677f, 145.09802f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.DomanEnclave, - To = EAetheryteLocation.DomanEnclaveSouthern - } - }; - obj20.Steps = list31; - reference23 = obj20; - ref QuestSequence reference24 = ref span10[2]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 1025755u, new Vector3(16.850666f, -5.9723854E-05f, -84.3385f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.DomanEnclaveSouthern, - To = EAetheryteLocation.DomanEnclaveNorthern - } - }; - obj21.Steps = list32; - reference24 = obj21; - ref QuestSequence reference25 = ref span10[3]; - QuestSequence obj22 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.CompleteQuest, 1024791u, new Vector3(31.60144f, 0.26581275f, 28.915894f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.DomanEnclaveNorthern, - To = EAetheryteLocation.DomanEnclave - } - }; - obj22.Steps = list33; - reference25 = obj22; - questRoot4.QuestSequence = list29; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(3154); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - CollectionsMarshal.AsSpan(list34)[0] = "liza"; - questRoot5.Author = list34; - num = 6; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - Span span12 = CollectionsMarshal.AsSpan(list35); - ref QuestSequence reference26 = ref span12[0]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023687u, new Vector3(112.7489f, 0.65204155f, 60.227295f), 635); - obj23.Steps = list36; - reference26 = obj23; - ref QuestSequence reference27 = ref span12[1]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - ref QuestStep reference28 = ref CollectionsMarshal.AsSpan(list37)[0]; - QuestStep obj25 = new QuestStep(EInteractionType.Interact, 1021937u, new Vector3(465.5984f, 69.25287f, 518.88293f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones - }; - num3 = 1; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - CollectionsMarshal.AsSpan(list38)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDR301_03154_Q2_000_051"), - Answer = new ExcelRef("TEXT_STMBDR301_03154_A2_000_052") - }; - obj25.DialogueChoices = list38; - reference28 = obj25; - obj24.Steps = list37; - reference27 = obj24; - span12[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference29 = ref span12[3]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 1026450u, new Vector3(-35.01947f, -16.150002f, 156.20654f), 807); - obj26.Steps = list39; - reference29 = obj26; - ref QuestSequence reference30 = ref span12[4]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.Duty, null, null, 807) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 587u - } - }; - obj27.Steps = list40; - reference30 = obj27; - ref QuestSequence reference31 = ref span12[5]; - QuestSequence obj28 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026453u, new Vector3(-34.836426f, -16.15f, 153.8872f), 807) - { - StopDistance = 5f, - NextQuestId = new QuestId(3155) - }; - obj28.Steps = list41; - reference31 = obj28; - questRoot5.QuestSequence = list35; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(3155); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - CollectionsMarshal.AsSpan(list42)[0] = "liza"; - questRoot6.Author = list42; - num = 3; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - Span span13 = CollectionsMarshal.AsSpan(list43); - ref QuestSequence reference32 = ref span13[0]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026452u, new Vector3(-35.01947f, -16.150002f, 156.11499f), 807) - { - StopDistance = 7f - }; - obj29.Steps = list44; - reference32 = obj29; - ref QuestSequence reference33 = ref span13[1]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.Duty, null, null, 807) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 588u - } - }; - obj30.Steps = list45; - reference33 = obj30; - ref QuestSequence reference34 = ref span13[2]; - QuestSequence obj31 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026450u, new Vector3(-35.01947f, -16.150002f, 156.20654f), 807) - { - StopDistance = 7f, - NextQuestId = new QuestId(3156) - }; - obj31.Steps = list46; - reference34 = obj31; - questRoot6.QuestSequence = list43; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(3156); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - CollectionsMarshal.AsSpan(list47)[0] = "liza"; - questRoot7.Author = list47; - num = 9; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - Span span14 = CollectionsMarshal.AsSpan(list48); - ref QuestSequence reference35 = ref span14[0]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026450u, new Vector3(-35.01947f, -16.150002f, 156.20654f), 807) - { - StopDistance = 7f - }; - obj32.Steps = list49; - reference35 = obj32; - ref QuestSequence reference36 = ref span14[1]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.Interact, 1021937u, new Vector3(465.5984f, 69.25287f, 518.88293f), 612) - { - StopDistance = 7f - }; - obj33.Steps = list50; - reference36 = obj33; - ref QuestSequence reference37 = ref span14[2]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.Interact, 2009608u, new Vector3(103.07471f, 0.62561035f, 41.794434f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach - }; - obj34.Steps = list51; - reference37 = obj34; - ref QuestSequence reference38 = ref span14[3]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.Interact, 1026472u, new Vector3(116.50256f, 0.6520418f, 43.9917f), 635); - obj35.Steps = list52; - reference38 = obj35; - ref QuestSequence reference39 = ref span14[4]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - Span span15 = CollectionsMarshal.AsSpan(list53); - ref QuestStep reference40 = ref span15[0]; - QuestStep obj37 = new QuestStep(EInteractionType.Interact, 1021947u, new Vector3(476.73767f, 69.83099f, 526.604f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones - }; - num3 = 1; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - CollectionsMarshal.AsSpan(list54)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDR303_03156_SYSTEM_000_006") - }; - obj37.DialogueChoices = list54; - reference40 = obj37; - span15[1] = new QuestStep(EInteractionType.Interact, 1026456u, new Vector3(-19.638367f, -16.65f, 144.06042f), 812); - obj36.Steps = list53; - reference39 = obj36; - ref QuestSequence reference41 = ref span14[5]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.Duty, null, null, 812) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 589u - } - }; - obj38.Steps = list55; - reference41 = obj38; - span14[6] = new QuestSequence - { - Sequence = 6 - }; - ref QuestSequence reference42 = ref span14[7]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.Duty, null, null, 812) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 590u - } - }; - obj39.Steps = list56; - reference42 = obj39; - ref QuestSequence reference43 = ref span14[8]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.CompleteQuest, 1021937u, new Vector3(465.5984f, 69.25287f, 518.88293f), 612) - { - StopDistance = 7f, - NextQuestId = new QuestId(3157) - }; - obj40.Steps = list57; - reference43 = obj40; - questRoot7.QuestSequence = list48; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(3157); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - CollectionsMarshal.AsSpan(list58)[0] = "liza"; - questRoot8.Author = list58; - num = 10; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - Span span16 = CollectionsMarshal.AsSpan(list59); - ref QuestSequence reference44 = ref span16[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.AcceptQuest, 1021939u, new Vector3(464.98804f, 69.34f, 522.4231f), 612) - { - StopDistance = 5f - }; - obj41.Steps = list60; - reference44 = obj41; - ref QuestSequence reference45 = ref span16[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.Interact, 1024746u, new Vector3(462.8518f, 69.31414f, 525.9021f), 612) - { - StopDistance = 6f - }; - obj42.Steps = list61; - reference45 = obj42; - ref QuestSequence reference46 = ref span16[2]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.Interact, 1023687u, new Vector3(112.7489f, 0.65204155f, 60.227295f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach - }; - obj43.Steps = list62; - reference46 = obj43; - ref QuestSequence reference47 = ref span16[3]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - ref QuestStep reference48 = ref CollectionsMarshal.AsSpan(list63)[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1026712u, new Vector3(113.23718f, 0.6520417f, 56.839844f), 635); - num3 = 1; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - CollectionsMarshal.AsSpan(list64)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDR304_03157_Q1_000_102"), - Answer = new ExcelRef("TEXT_STMBDR304_03157_A1_000_103") - }; - questStep4.DialogueChoices = list64; - reference48 = questStep4; - obj44.Steps = list63; - reference47 = obj44; - ref QuestSequence reference49 = ref span16[4]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.Interact, 1026465u, new Vector3(-38.92578f, -0.0364509f, -3.7385254f), 635); - obj45.Steps = list65; - reference49 = obj45; - ref QuestSequence reference50 = ref span16[5]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.Interact, 1026466u, new Vector3(-114.58002f, 0.5980477f, -33.829346f), 635); - obj46.Steps = list66; - reference50 = obj46; - ref QuestSequence reference51 = ref span16[6]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.Interact, 1026467u, new Vector3(-150.4082f, -2.7350852f, -139.20807f), 635); - obj47.Steps = list67; - reference51 = obj47; - ref QuestSequence reference52 = ref span16[7]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Emote, 1026467u, new Vector3(-150.4082f, -2.7350852f, -139.20807f), 635) - { - Emote = EEmote.Pet - }; - obj48.Steps = list68; - reference52 = obj48; - ref QuestSequence reference53 = ref span16[8]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1026468u, new Vector3(-13.778931f, 0.98160696f, 70.54236f), 635); - obj49.Steps = list69; - reference53 = obj49; - ref QuestSequence reference54 = ref span16[9]; - QuestSequence obj50 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.CompleteQuest, 1023687u, new Vector3(112.7489f, 0.65204155f, 60.227295f), 635); - obj50.Steps = list70; - reference54 = obj50; - questRoot8.QuestSequence = list59; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(3161); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - CollectionsMarshal.AsSpan(list71)[0] = "plogon_enjoyer"; - questRoot9.Author = list71; - num = 10; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - Span span17 = CollectionsMarshal.AsSpan(list72); - ref QuestSequence reference55 = ref span17[0]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026380u, new Vector3(94.22449f, 12.000005f, -72.55664f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj51.Steps = list73; - reference55 = obj51; - ref QuestSequence reference56 = ref span17[1]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.Interact, 2009604u, new Vector3(-85.19116f, -7.0039062f, -52.84204f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeShiokazeHostelry - } - }; - obj52.Steps = list74; - reference56 = obj52; - ref QuestSequence reference57 = ref span17[2]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.Interact, 1026381u, new Vector3(139.33008f, 25f, -7.0039062f), 628); - obj53.Steps = list75; - reference57 = obj53; - ref QuestSequence reference58 = ref span17[3]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.Interact, 1026383u, new Vector3(-79.14862f, 17.999998f, -176.47064f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeSekiseigumiBarracks, - To = EAetheryteLocation.KuganeBokairoInn - } - }; - obj54.Steps = list76; - reference58 = obj54; - ref QuestSequence reference59 = ref span17[4]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - ref QuestStep reference60 = ref CollectionsMarshal.AsSpan(list77)[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1026384u, new Vector3(-107.71344f, 11.902365f, -140.73401f), 628); - num3 = 1; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - CollectionsMarshal.AsSpan(list78)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANALL210_03161_Q3_000_000") - }; - questStep5.DialogueChoices = list78; - reference60 = questStep5; - obj55.Steps = list77; - reference59 = obj55; - ref QuestSequence reference61 = ref span17[5]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.Interact, 1026385u, new Vector3(-108.14075f, 11.902366f, -140.58142f), 628); - obj56.Steps = list79; - reference61 = obj56; - ref QuestSequence reference62 = ref span17[6]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.Interact, 1026386u, new Vector3(-4.989685f, 0.25f, -103.50195f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeBokairoInn, - To = EAetheryteLocation.KuganeRakuzaDistrict - } - }; - obj57.Steps = list80; - reference62 = obj57; - ref QuestSequence reference63 = ref span17[7]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.Interact, 1026388u, new Vector3(-82.414f, -2.9999976f, 62.42456f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeRakuzaDistrict, - To = EAetheryteLocation.KuganeMarkets - } - }; - obj58.Steps = list81; - reference63 = obj58; - ref QuestSequence reference64 = ref span17[8]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.Interact, 1026389u, new Vector3(-84.763916f, -2.9999986f, 62.91284f), 628); - obj59.Steps = list82; - reference64 = obj59; - ref QuestSequence reference65 = ref span17[9]; - QuestSequence obj60 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026389u, new Vector3(-84.763916f, -2.9999986f, 62.91284f), 628) - { - ItemId = 2002488u, - GroundTarget = true, - NextQuestId = new QuestId(3162) - }; - obj60.Steps = list83; - reference65 = obj60; - questRoot9.QuestSequence = list72; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(3162); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - CollectionsMarshal.AsSpan(list84)[0] = "plogon_enjoyer"; - questRoot10.Author = list84; - num = 7; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - Span span18 = CollectionsMarshal.AsSpan(list85); - ref QuestSequence reference66 = ref span18[0]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026388u, new Vector3(-82.414f, -2.9999976f, 62.42456f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeMarkets - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }, - AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj61.Steps = list86; - reference66 = obj61; - ref QuestSequence reference67 = ref span18[1]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.Interact, 1026395u, new Vector3(857.4501f, 6.9450293f, 804.7455f), 613) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeMarkets, - To = EAetheryteLocation.KuganeRubyPrice - } - }; - obj62.Steps = list87; - reference67 = obj62; - ref QuestSequence reference68 = ref span18[2]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - Span span19 = CollectionsMarshal.AsSpan(list88); - span19[0] = new QuestStep(EInteractionType.Interact, 1026398u, new Vector3(840.3906f, 6.9450293f, 819.6688f), 613) - { - Fly = true - }; - span19[1] = new QuestStep(EInteractionType.Interact, 1026397u, new Vector3(848.6304f, 1.1792068f, 863.8589f), 613) - { - Fly = true - }; - obj63.Steps = list88; - reference68 = obj63; - ref QuestSequence reference69 = ref span18[3]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Interact, 1026399u, new Vector3(867.42944f, 1.1792068f, 844.75464f), 613) - { - Fly = true - }; - obj64.Steps = list89; - reference69 = obj64; - ref QuestSequence reference70 = ref span18[4]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.Interact, 1026401u, new Vector3(-773.1289f, 2.941284f, -360.9217f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - obj65.Steps = list90; - reference70 = obj65; - ref QuestSequence reference71 = ref span18[5]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - Span span20 = CollectionsMarshal.AsSpan(list91); - span20[0] = new QuestStep(EInteractionType.Interact, 1026406u, new Vector3(-722.9267f, 1.2855811f, -568.5359f), 613) - { - Fly = true - }; - span20[1] = new QuestStep(EInteractionType.Interact, 1026404u, new Vector3(-716.09064f, 1.2506801f, -593.62177f), 613) - { - Fly = true - }; - span20[2] = new QuestStep(EInteractionType.Interact, 1026405u, new Vector3(-739.98627f, 1.960285f, -611.2917f), 613) - { - Fly = true - }; - obj66.Steps = list91; - reference71 = obj66; - ref QuestSequence reference72 = ref span18[6]; - QuestSequence obj67 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026401u, new Vector3(-773.1289f, 2.941284f, -360.9217f), 613) - { - Fly = true, - NextQuestId = new QuestId(3163) - }; - obj67.Steps = list92; - reference72 = obj67; - questRoot10.QuestSequence = list85; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(3163); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list93 = new List(num); - CollectionsMarshal.SetCount(list93, num); - CollectionsMarshal.AsSpan(list93)[0] = "plogon_enjoyer"; - questRoot11.Author = list93; - num = 5; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - Span span21 = CollectionsMarshal.AsSpan(list94); - ref QuestSequence reference73 = ref span21[0]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - ref QuestStep reference74 = ref CollectionsMarshal.AsSpan(list95)[0]; - QuestStep obj69 = new QuestStep(EInteractionType.AcceptQuest, 1026401u, new Vector3(-773.1289f, 2.941284f, -360.9217f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list96 = new List(num3); - CollectionsMarshal.SetCount(list96, num3); - CollectionsMarshal.AsSpan(list96)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANALL230_03163_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANALL230_03163_A1_000_001") - }; - obj69.DialogueChoices = list96; - reference74 = obj69; - obj68.Steps = list95; - reference73 = obj68; - ref QuestSequence reference75 = ref span21[1]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.Interact, 1026414u, new Vector3(-778.28644f, 127.27075f, 129.74744f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh - }; - obj70.Steps = list97; - reference75 = obj70; - ref QuestSequence reference76 = ref span21[2]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.Interact, 2009605u, new Vector3(27.17627f, 114.88513f, -15.030151f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDawnThrone - }; - obj71.Steps = list98; - reference76 = obj71; - ref QuestSequence reference77 = ref span21[3]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 1026420u, new Vector3(-102.73901f, 116.043f, -48.142273f), 622); - obj72.Steps = list99; - reference77 = obj72; - ref QuestSequence reference78 = ref span21[4]; - QuestSequence obj73 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026422u, new Vector3(-779.0799f, 127.277245f, 127.91626f), 622) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - NextQuestId = new QuestId(3164) - }; - obj73.Steps = list100; - reference78 = obj73; - questRoot11.QuestSequence = list94; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(3164); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list101 = new List(num); - CollectionsMarshal.SetCount(list101, num); - CollectionsMarshal.AsSpan(list101)[0] = "plogon_enjoyer"; - questRoot12.Author = list101; - num = 5; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - Span span22 = CollectionsMarshal.AsSpan(list102); - ref QuestSequence reference79 = ref span22[0]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026421u, new Vector3(-779.7818f, 127.269035f, 129.74744f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeDhoroIloh, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-779.7818f, 127.269035f, 129.74744f), - MaximumDistance = 50f, - TerritoryId = 662 - } - } - } - }; - obj74.Steps = list103; - reference79 = obj74; - ref QuestSequence reference80 = ref span22[1]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.Interact, 2009606u, new Vector3(-77.62268f, 11.825684f, -155.169f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeBokairoInn - } - }; - obj75.Steps = list104; - reference80 = obj75; - ref QuestSequence reference81 = ref span22[2]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 1026425u, new Vector3(-72.129456f, 15.000005f, 70.450806f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeBokairoInn, - To = EAetheryteLocation.KuganeMarkets - } - }; - obj76.Steps = list105; - reference81 = obj76; - ref QuestSequence reference82 = ref span22[3]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.Interact, 2009607u, new Vector3(-31.47937f, 14.999573f, 61.08191f), 628); - obj77.Steps = list106; - reference82 = obj77; - ref QuestSequence reference83 = ref span22[4]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - ref QuestStep reference84 = ref CollectionsMarshal.AsSpan(list107)[0]; - QuestStep obj79 = new QuestStep(EInteractionType.CompleteQuest, 1026426u, new Vector3(-81.498474f, 11.82907f, -155.53528f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeMarkets, - To = EAetheryteLocation.KuganeBokairoInn - } - }; - num3 = 1; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - CollectionsMarshal.AsSpan(list108)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANALL240_03164_Q1_000_000") - }; - obj79.DialogueChoices = list108; - reference84 = obj79; - obj78.Steps = list107; - reference83 = obj78; - questRoot12.QuestSequence = list102; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(3165); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - CollectionsMarshal.AsSpan(list109)[0] = "liza"; - questRoot13.Author = list109; - num = 5; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - Span span23 = CollectionsMarshal.AsSpan(list110); - ref QuestSequence reference85 = ref span23[0]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.AcceptQuest, 1019178u, new Vector3(319.69165f, -120.03494f, -250.90417f), 613); - obj80.Steps = list111; - reference85 = obj80; - ref QuestSequence reference86 = ref span23[1]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span24 = CollectionsMarshal.AsSpan(list112); - span24[0] = new QuestStep(EInteractionType.Interact, 1025137u, new Vector3(281.66626f, 16.350018f, 846.89087f), 613) - { - TargetTerritoryId = (ushort)764, - Fly = true, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyPrice - } - }; - span24[1] = new QuestStep(EInteractionType.Interact, 1026480u, new Vector3(61.997314f, -90.00002f, -478.14148f), 764); - obj81.Steps = list112; - reference86 = obj81; - ref QuestSequence reference87 = ref span23[2]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.Interact, 1026581u, new Vector3(798.4894f, -0.079232015f, -300.67908f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - obj82.Steps = list113; - reference87 = obj82; - ref QuestSequence reference88 = ref span23[3]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.Duty, null, null, 613) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 637u - } - }; - obj83.Steps = list114; - reference88 = obj83; - ref QuestSequence reference89 = ref span23[4]; - QuestSequence obj84 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026581u, new Vector3(798.4894f, -0.079232015f, -300.67908f), 613) - { - StopDistance = 6f, - NextQuestId = new QuestId(3166) - }; - obj84.Steps = list115; - reference89 = obj84; - questRoot13.QuestSequence = list110; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(3166); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - CollectionsMarshal.AsSpan(list116)[0] = "liza"; - questRoot14.Author = list116; - num = 6; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - Span span25 = CollectionsMarshal.AsSpan(list117); - ref QuestSequence reference90 = ref span25[0]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026581u, new Vector3(798.4894f, -0.079232015f, -300.67908f), 613) - { - StopDistance = 6f - }; - obj85.Steps = list118; - reference90 = obj85; - ref QuestSequence reference91 = ref span25[1]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - Span span26 = CollectionsMarshal.AsSpan(list119); - span26[0] = new QuestStep(EInteractionType.Interact, 1025137u, new Vector3(281.66626f, 16.350018f, 846.89087f), 613) - { - TargetTerritoryId = (ushort)764, - Fly = true, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyPrice - } - }; - span26[1] = new QuestStep(EInteractionType.Interact, 1026480u, new Vector3(61.997314f, -90.00002f, -478.14148f), 764); - obj86.Steps = list119; - reference91 = obj86; - ref QuestSequence reference92 = ref span25[2]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.Interact, 1026480u, new Vector3(61.997314f, -90.00002f, -478.14148f), 764); - obj87.Steps = list120; - reference92 = obj87; - ref QuestSequence reference93 = ref span25[3]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - Span span27 = CollectionsMarshal.AsSpan(list121); - ref QuestStep reference94 = ref span27[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1028803u, new Vector3(8.804443f, -90f, -470.63403f), 764); - num3 = 6; - List list122 = new List(num3); - CollectionsMarshal.SetCount(list122, num3); - Span span28 = CollectionsMarshal.AsSpan(list122); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list122; - reference94 = questStep6; - ref QuestStep reference95 = ref span27[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1028804u, new Vector3(74.23511f, -90.00003f, -457.3587f), 764); - num3 = 6; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - Span span29 = CollectionsMarshal.AsSpan(list123); - span29[0] = null; - span29[1] = null; - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list123; - num3 = 1; - List list124 = new List(num3); - CollectionsMarshal.SetCount(list124, num3); - CollectionsMarshal.AsSpan(list124)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDY332_03166_Q2_000_000"), - Answer = new ExcelRef("TEXT_STMBDY332_03166_A2_000_001") - }; - questStep7.DialogueChoices = list124; - reference95 = questStep7; - ref QuestStep reference96 = ref span27[2]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1028805u, new Vector3(115.83118f, -90f, -470.81714f), 764); - num3 = 6; - List list125 = new List(num3); - CollectionsMarshal.SetCount(list125, num3); - Span span30 = CollectionsMarshal.AsSpan(list125); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list125; - reference96 = questStep8; - obj88.Steps = list121; - reference93 = obj88; - ref QuestSequence reference97 = ref span25[4]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.Interact, 1028806u, new Vector3(61.997314f, -90.00002f, -478.14148f), 764); - obj89.Steps = list126; - reference97 = obj89; - ref QuestSequence reference98 = ref span25[5]; - QuestSequence obj90 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.CompleteQuest, 1019178u, new Vector3(319.69165f, -120.03494f, -250.90417f), 613) - { - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu, - NextQuestId = new QuestId(3165) - }; - obj90.Steps = list127; - reference98 = obj90; - questRoot14.QuestSequence = list117; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(3167); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - CollectionsMarshal.AsSpan(list128)[0] = "liza"; - questRoot15.Author = list128; - num = 8; - List list129 = new List(num); - CollectionsMarshal.SetCount(list129, num); - Span span31 = CollectionsMarshal.AsSpan(list129); - ref QuestSequence reference99 = ref span31[0]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024351u, new Vector3(-36.270752f, 5.9819617f, -152.36133f), 628) - { - StopDistance = 5f - }; - obj91.Steps = list130; - reference99 = obj91; - ref QuestSequence reference100 = ref span31[1]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.Interact, 1026363u, new Vector3(54.61206f, 7.999999f, 192.401f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeRakuzaDistrict, - To = EAetheryteLocation.KuganeThavnairianConsulate - } - }; - obj92.Steps = list131; - reference100 = obj92; - ref QuestSequence reference101 = ref span31[2]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.Duty, null, null, 628) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 595u - } - }; - obj93.Steps = list132; - reference101 = obj93; - ref QuestSequence reference102 = ref span31[3]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.Interact, 1026364u, new Vector3(52.536743f, 8.02f, 192.49243f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj94.Steps = list133; - reference102 = obj94; - ref QuestSequence reference103 = ref span31[4]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.Interact, 1024351u, new Vector3(-36.270752f, 5.9819617f, -152.36133f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeThavnairianConsulate, - To = EAetheryteLocation.KuganeRakuzaDistrict - } - }; - obj95.Steps = list134; - reference103 = obj95; - ref QuestSequence reference104 = ref span31[5]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - Span span32 = CollectionsMarshal.AsSpan(list135); - ref QuestStep reference105 = ref span32[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1019063u, new Vector3(3.3416748f, -6.6541724E-11f, -67.73486f), 628); - num3 = 6; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - Span span33 = CollectionsMarshal.AsSpan(list136); - span33[0] = null; - span33[1] = null; - span33[2] = null; - span33[3] = null; - span33[4] = null; - span33[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list136; - reference105 = questStep9; - ref QuestStep reference106 = ref span32[1]; - QuestStep obj97 = new QuestStep(EInteractionType.Interact, 1018994u, new Vector3(49.240845f, 4.0000005f, 55.77173f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeMarkets - } - }; - num3 = 6; - List list137 = new List(num3); - CollectionsMarshal.SetCount(list137, num3); - Span span34 = CollectionsMarshal.AsSpan(list137); - span34[0] = null; - span34[1] = null; - span34[2] = null; - span34[3] = null; - span34[4] = null; - span34[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj97.CompletionQuestVariablesFlags = list137; - reference106 = obj97; - obj96.Steps = list135; - reference104 = obj96; - ref QuestSequence reference107 = ref span31[6]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - ref QuestStep reference108 = ref CollectionsMarshal.AsSpan(list138)[0]; - QuestStep obj99 = new QuestStep(EInteractionType.Interact, 1026369u, new Vector3(-35.080566f, 5.983372f, -152.23932f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeMarkets, - To = EAetheryteLocation.KuganeRakuzaDistrict - } - }; - num3 = 1; - List list139 = new List(num3); - CollectionsMarshal.SetCount(list139, num3); - CollectionsMarshal.AsSpan(list139)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CHRHDB751_03167_Q1_000_000"), - Answer = new ExcelRef("TEXT_CHRHDB751_03167_A1_000_002") - }; - obj99.DialogueChoices = list139; - reference108 = obj99; - obj98.Steps = list138; - reference107 = obj98; - ref QuestSequence reference109 = ref span31[7]; - QuestSequence obj100 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025885u, new Vector3(26.443848f, 6.024561f, -118.57788f), 628) - { - StopDistance = 5f, - NextQuestId = new QuestId(3168) - }; - obj100.Steps = list140; - reference109 = obj100; - questRoot15.QuestSequence = list129; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(3168); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list141 = new List(num); - CollectionsMarshal.SetCount(list141, num); - CollectionsMarshal.AsSpan(list141)[0] = "liza"; - questRoot16.Author = list141; - num = 7; - List list142 = new List(num); - CollectionsMarshal.SetCount(list142, num); - Span span35 = CollectionsMarshal.AsSpan(list142); - ref QuestSequence reference110 = ref span35[0]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025885u, new Vector3(26.443848f, 6.024561f, -118.57788f), 628) - { - StopDistance = 5f - }; - obj101.Steps = list143; - reference110 = obj101; - ref QuestSequence reference111 = ref span35[1]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - Span span36 = CollectionsMarshal.AsSpan(list144); - span36[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(65.39469f, 5.8110533f, -121.784775f), 628); - span36[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(72.780495f, -8.000002f, -127.28816f), 628) - { - DisableNavmesh = true - }; - ref QuestStep reference112 = ref span36[2]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1019068u, new Vector3(42.191162f, -7.463482f, -264.75934f), 628); - num3 = 1; - List list145 = new List(num3); - CollectionsMarshal.SetCount(list145, num3); - CollectionsMarshal.AsSpan(list145)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CHRHDB752_03168_Q1_000_000"), - Answer = new ExcelRef("TEXT_CHRHDB752_03168_A1_000_001") - }; - questStep10.DialogueChoices = list145; - reference112 = questStep10; - obj102.Steps = list144; - reference111 = obj102; - ref QuestSequence reference113 = ref span35[2]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.Interact, 1019033u, new Vector3(52.048462f, 8.02f, 140.55078f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeThavnairianConsulate - } - }; - obj103.Steps = list146; - reference113 = obj103; - ref QuestSequence reference114 = ref span35[3]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - Span span37 = CollectionsMarshal.AsSpan(list147); - span37[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(16.635633f, 11.441568f, 174.71848f), 628); - span37[1] = new QuestStep(EInteractionType.Interact, 1026764u, new Vector3(24.917969f, 6.0124164f, -123.979614f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeThavnairianConsulate, - To = EAetheryteLocation.KuganeRakuzaDistrict - } - }; - obj104.Steps = list147; - reference114 = obj104; - ref QuestSequence reference115 = ref span35[4]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.Interact, 1026350u, new Vector3(512.90137f, 0.8484344f, 148.91272f), 613) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeRakuzaDistrict, - To = EAetheryteLocation.KuganeRubyPrice - } - }; - obj105.Steps = list148; - reference115 = obj105; - ref QuestSequence reference116 = ref span35[5]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.Interact, 1026765u, new Vector3(495.10938f, 1.611506f, 149.49255f), 613) - { - StopDistance = 5f - }; - obj106.Steps = list149; - reference116 = obj106; - ref QuestSequence reference117 = ref span35[6]; - QuestSequence obj107 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026766u, new Vector3(52.384155f, 10.503965f, -154.03986f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - NextQuestId = new QuestId(4542) - }; - obj107.Steps = list150; - reference117 = obj107; - questRoot16.QuestSequence = list142; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(3177); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list151 = new List(num); - CollectionsMarshal.SetCount(list151, num); - CollectionsMarshal.AsSpan(list151)[0] = "liza"; - questRoot17.Author = list151; - num = 2; - List list152 = new List(num); - CollectionsMarshal.SetCount(list152, num); - Span span38 = CollectionsMarshal.AsSpan(list152); - ref QuestSequence reference118 = ref span38[0]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012299u, new Vector3(-16.586609f, 206.49942f, 42.98462f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj108.Steps = list153; - reference118 = obj108; - ref QuestSequence reference119 = ref span38[1]; - QuestSequence obj109 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.CompleteQuest, 1018393u, new Vector3(-60.380005f, 206.50021f, 26.16919f), 478); - obj109.Steps = list154; - reference119 = obj109; - questRoot17.QuestSequence = list152; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(3178); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list155 = new List(num); - CollectionsMarshal.SetCount(list155, num); - CollectionsMarshal.AsSpan(list155)[0] = "liza"; - questRoot18.Author = list155; - num = 3; - List list156 = new List(num); - CollectionsMarshal.SetCount(list156, num); - Span span39 = CollectionsMarshal.AsSpan(list156); - ref QuestSequence reference120 = ref span39[0]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026746u, new Vector3(-55.588684f, 206.50021f, 18.57019f), 478); - obj110.Steps = list157; - reference120 = obj110; - ref QuestSequence reference121 = ref span39[1]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.Interact, 1026747u, new Vector3(63.126587f, 205.63266f, 22.049255f), 478); - obj111.Steps = list158; - reference121 = obj111; - ref QuestSequence reference122 = ref span39[2]; - QuestSequence obj112 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026750u, new Vector3(-62.6994f, 206.50021f, 16.617004f), 478); - obj112.Steps = list159; - reference122 = obj112; - questRoot18.QuestSequence = list156; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(3179); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list160 = new List(num); - CollectionsMarshal.SetCount(list160, num); - CollectionsMarshal.AsSpan(list160)[0] = "JerryWester"; - questRoot19.Author = list160; - num = 3; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - Span span40 = CollectionsMarshal.AsSpan(list161); - ref QuestSequence reference123 = ref span40[0]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025549u, new Vector3(1.4800415f, -1.1041565E-05f, -11.734253f), 351); - obj113.Steps = list162; - reference123 = obj113; - ref QuestSequence reference124 = ref span40[1]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.Interact, 1026781u, new Vector3(-478.41614f, 137.42972f, 696.9557f), 399) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshirePrologueGate - } - }; - obj114.Steps = list163; - reference124 = obj114; - ref QuestSequence reference125 = ref span40[2]; - QuestSequence obj115 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026781u, new Vector3(-478.41614f, 137.42972f, 696.9557f), 399); - obj115.Steps = list164; - reference125 = obj115; - questRoot19.QuestSequence = list161; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(3180); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list165 = new List(num); - CollectionsMarshal.SetCount(list165, num); - CollectionsMarshal.AsSpan(list165)[0] = "JerryWester"; - questRoot20.Author = list165; - num = 4; - List list166 = new List(num); - CollectionsMarshal.SetCount(list166, num); - Span span41 = CollectionsMarshal.AsSpan(list166); - ref QuestSequence reference126 = ref span41[0]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026781u, new Vector3(-478.41614f, 137.42972f, 696.9557f), 399); - obj116.Steps = list167; - reference126 = obj116; - ref QuestSequence reference127 = ref span41[1]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - ref QuestStep reference128 = ref CollectionsMarshal.AsSpan(list168)[0]; - QuestStep obj118 = new QuestStep(EInteractionType.Interact, 1024065u, new Vector3(749.9961f, 70.139626f, 522.88086f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter - }; - num3 = 1; - List list169 = new List(num3); - CollectionsMarshal.SetCount(list169, num3); - CollectionsMarshal.AsSpan(list169)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDF102_03180_Q1_000_021") - }; - obj118.DialogueChoices = list169; - reference128 = obj118; - obj117.Steps = list168; - reference127 = obj117; - ref QuestSequence reference129 = ref span41[2]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.Interact, 1026783u, new Vector3(747.12744f, 69.99995f, 521.599f), 621) - { - StopDistance = 5f - }; - obj119.Steps = list170; - reference129 = obj119; - ref QuestSequence reference130 = ref span41[3]; - QuestSequence obj120 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - Span span42 = CollectionsMarshal.AsSpan(list171); - ref QuestStep reference131 = ref span42[0]; - QuestStep obj121 = new QuestStep(EInteractionType.Interact, 1024974u, new Vector3(-10.330383f, 0.19997318f, 12.893799f), 759) - { - TargetTerritoryId = (ushort)744, - AetheryteShortcut = EAetheryteLocation.DomanEnclave - }; - num3 = 1; - List list172 = new List(num3); - CollectionsMarshal.SetCount(list172, num3); - CollectionsMarshal.AsSpan(list172)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDF102_03180_EVENTAREA_WARP_000_043") - }; - obj121.DialogueChoices = list172; - reference131 = obj121; - span42[1] = new QuestStep(EInteractionType.CompleteQuest, 1026784u, new Vector3(-0.015319824f, 0.021091362f, -3.0060425f), 744); - obj120.Steps = list171; - reference130 = obj120; - questRoot20.QuestSequence = list166; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(3181); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list173 = new List(num); - CollectionsMarshal.SetCount(list173, num); - CollectionsMarshal.AsSpan(list173)[0] = "JerryWester"; - questRoot21.Author = list173; - num = 3; - List list174 = new List(num); - CollectionsMarshal.SetCount(list174, num); - Span span43 = CollectionsMarshal.AsSpan(list174); - ref QuestSequence reference132 = ref span43[0]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026784u, new Vector3(-0.015319824f, 0.021091362f, -3.0060425f), 744); - obj122.Steps = list175; - reference132 = obj122; - ref QuestSequence reference133 = ref span43[1]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - ref QuestStep reference134 = ref CollectionsMarshal.AsSpan(list176)[0]; - QuestStep obj124 = new QuestStep(EInteractionType.Interact, 1026261u, new Vector3(337.78882f, 54.860683f, -531.2734f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaHouseOfTheFierce - }; - num3 = 1; - List list177 = new List(num3); - CollectionsMarshal.SetCount(list177, num3); - CollectionsMarshal.AsSpan(list177)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDF103_03181_Q1_000_031") - }; - obj124.DialogueChoices = list177; - reference134 = obj124; - obj123.Steps = list176; - reference133 = obj123; - ref QuestSequence reference135 = ref span43[2]; - QuestSequence obj125 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.CompleteQuest, 1025597u, new Vector3(0.19836426f, 0.021091362f, -3.0060425f), 744); - obj125.Steps = list178; - reference135 = obj125; - questRoot21.QuestSequence = list174; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(3182); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list179 = new List(num); - CollectionsMarshal.SetCount(list179, num); - CollectionsMarshal.AsSpan(list179)[0] = "JerryWester"; - questRoot22.Author = list179; - num = 8; - List list180 = new List(num); - CollectionsMarshal.SetCount(list180, num); - Span span44 = CollectionsMarshal.AsSpan(list180); - ref QuestSequence reference136 = ref span44[0]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.AcceptQuest, 1025597u, new Vector3(0.19836426f, 0.021091362f, -3.0060425f), 744); - obj126.Steps = list181; - reference136 = obj126; - ref QuestSequence reference137 = ref span44[1]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - ref QuestStep reference138 = ref CollectionsMarshal.AsSpan(list182)[0]; - QuestStep obj128 = new QuestStep(EInteractionType.Interact, 1026804u, new Vector3(-524.55945f, 8.698304f, -15.487976f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria - }; - num3 = 1; - List list183 = new List(num3); - CollectionsMarshal.SetCount(list183, num3); - CollectionsMarshal.AsSpan(list183)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDF104_03182_Q1_000_021") - }; - obj128.DialogueChoices = list183; - reference138 = obj128; - obj127.Steps = list182; - reference137 = obj127; - span44[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference139 = ref span44[3]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - ref QuestStep reference140 = ref CollectionsMarshal.AsSpan(list184)[0]; - QuestStep obj130 = new QuestStep(EInteractionType.Interact, 1026805u, new Vector3(-477.77527f, 107.62999f, 102.433716f), 829) - { - StopDistance = 7f - }; - num3 = 1; - List list185 = new List(num3); - CollectionsMarshal.SetCount(list185, num3); - CollectionsMarshal.AsSpan(list185)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDF104_03182_Q1_000_031") - }; - obj130.DialogueChoices = list185; - reference140 = obj130; - obj129.Steps = list184; - reference139 = obj129; - ref QuestSequence reference141 = ref span44[4]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.Interact, 1026815u, new Vector3(-0.7172241f, 0.014375329f, 3.2807007f), 829); - obj131.Steps = list186; - reference141 = obj131; - ref QuestSequence reference142 = ref span44[5]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - Span span45 = CollectionsMarshal.AsSpan(list187); - ref QuestStep reference143 = ref span45[0]; - QuestStep obj133 = new QuestStep(EInteractionType.Interact, 1026821u, new Vector3(4.2266846f, -3.7252903E-09f, 5.1116943f), 829) - { - StopDistance = 4f - }; - num3 = 6; - List list188 = new List(num3); - CollectionsMarshal.SetCount(list188, num3); - Span span46 = CollectionsMarshal.AsSpan(list188); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj133.CompletionQuestVariablesFlags = list188; - num3 = 1; - List list189 = new List(num3); - CollectionsMarshal.SetCount(list189, num3); - CollectionsMarshal.AsSpan(list189)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDF104_03182_Q3_000_000"), - Answer = new ExcelRef("TEXT_STMBDF104_03182_A3_000_001") - }; - obj133.DialogueChoices = list189; - reference143 = obj133; - ref QuestStep reference144 = ref span45[1]; - QuestStep obj134 = new QuestStep(EInteractionType.Interact, 1026817u, new Vector3(-3.7080078f, -1.1059713E-09f, 5.2643433f), 829) - { - StopDistance = 5f - }; - num3 = 6; - List list190 = new List(num3); - CollectionsMarshal.SetCount(list190, num3); - Span span47 = CollectionsMarshal.AsSpan(list190); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj134.CompletionQuestVariablesFlags = list190; - num3 = 1; - List list191 = new List(num3); - CollectionsMarshal.SetCount(list191, num3); - CollectionsMarshal.AsSpan(list191)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDF104_03182_Q2_000_000"), - Answer = new ExcelRef("TEXT_STMBDF104_03182_A2_000_001") - }; - obj134.DialogueChoices = list191; - reference144 = obj134; - ref QuestStep reference145 = ref span45[2]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1026818u, new Vector3(-1.9990234f, -1.8626451E-09f, 12.344482f), 829); - num3 = 6; - List list192 = new List(num3); - CollectionsMarshal.SetCount(list192, num3); - Span span48 = CollectionsMarshal.AsSpan(list192); - span48[0] = null; - span48[1] = null; - span48[2] = null; - span48[3] = null; - span48[4] = null; - span48[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list192; - num3 = 1; - List list193 = new List(num3); - CollectionsMarshal.SetCount(list193, num3); - CollectionsMarshal.AsSpan(list193)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDF104_03182_Q1_000_000"), - Answer = new ExcelRef("TEXT_STMBDF104_03182_A1_000_001") - }; - questStep11.DialogueChoices = list193; - reference145 = questStep11; - obj132.Steps = list187; - reference142 = obj132; - ref QuestSequence reference146 = ref span44[6]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.Interact, 1026815u, new Vector3(-0.7172241f, 0.014375329f, 3.2807007f), 829) - { - StopDistance = 7f - }; - obj135.Steps = list194; - reference146 = obj135; - ref QuestSequence reference147 = ref span44[7]; - QuestSequence obj136 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026823u, new Vector3(-468.925f, 107.62999f, 130.9071f), 829) - { - StopDistance = 6f - }; - obj136.Steps = list195; - reference147 = obj136; - questRoot22.QuestSequence = list180; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(3183); - QuestRoot questRoot23 = new QuestRoot(); - num = 2; - List list196 = new List(num); - CollectionsMarshal.SetCount(list196, num); - Span span49 = CollectionsMarshal.AsSpan(list196); - span49[0] = "liza"; - span49[1] = "JerryWester"; - questRoot23.Author = list196; - num = 5; - List list197 = new List(num); - CollectionsMarshal.SetCount(list197, num); - Span span50 = CollectionsMarshal.AsSpan(list197); - ref QuestSequence reference148 = ref span50[0]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - CollectionsMarshal.AsSpan(list198)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026823u, new Vector3(-468.925f, 107.62999f, 130.9071f), 829) - { - StopDistance = 6f - }; - obj137.Steps = list198; - reference148 = obj137; - ref QuestSequence reference149 = ref span50[1]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - CollectionsMarshal.AsSpan(list199)[0] = new QuestStep(EInteractionType.Duty, null, null, 829) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 611u - } - }; - obj138.Steps = list199; - reference149 = obj138; - span50[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference150 = ref span50[3]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.Interact, 1026845u, new Vector3(-476.67664f, 107.63f, 103.74609f), 829) - { - StopDistance = 7f - }; - obj139.Steps = list200; - reference150 = obj139; - ref QuestSequence reference151 = ref span50[4]; - QuestSequence obj140 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - Span span51 = CollectionsMarshal.AsSpan(list201); - span51[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span51[1] = new QuestStep(EInteractionType.CompleteQuest, 1026846u, new Vector3(-1.6022339f, 0f, -9.658997f), 351); - obj140.Steps = list201; - reference151 = obj140; - questRoot23.QuestSequence = list197; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(3184); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list202 = new List(num); - CollectionsMarshal.SetCount(list202, num); - CollectionsMarshal.AsSpan(list202)[0] = "liza"; - questRoot24.Author = list202; - num = 3; - List list203 = new List(num); - CollectionsMarshal.SetCount(list203, num); - Span span52 = CollectionsMarshal.AsSpan(list203); - ref QuestSequence reference152 = ref span52[0]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026846u, new Vector3(-1.6022339f, 0f, -9.658997f), 351); - obj141.Steps = list204; - reference152 = obj141; - ref QuestSequence reference153 = ref span52[1]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - Span span53 = CollectionsMarshal.AsSpan(list205); - span53[0] = new QuestStep(EInteractionType.Interact, 2002879u, new Vector3(0f, 3f, 27.5f), 351) - { - TargetTerritoryId = (ushort)156 - }; - span53[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(30.917934f, 20.495003f, -656.1909f), 156) - { - Mount = true - }; - span53[2] = new QuestStep(EInteractionType.Interact, 1026794u, new Vector3(124.193115f, -15.239566f, -424.30762f), 156) - { - Fly = true - }; - obj142.Steps = list205; - reference153 = obj142; - ref QuestSequence reference154 = ref span52[2]; - QuestSequence obj143 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026797u, new Vector3(-528.2521f, 8.691104f, -13.53479f), 621); - obj143.Steps = list206; - reference154 = obj143; - questRoot24.QuestSequence = list203; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(3185); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - CollectionsMarshal.AsSpan(list207)[0] = "liza"; - questRoot25.Author = list207; - num = 5; - List list208 = new List(num); - CollectionsMarshal.SetCount(list208, num); - Span span54 = CollectionsMarshal.AsSpan(list208); - ref QuestSequence reference155 = ref span54[0]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026804u, new Vector3(-524.55945f, 8.698304f, -15.487976f), 621) - { - StopDistance = 7f - }; - obj144.Steps = list209; - reference155 = obj144; - ref QuestSequence reference156 = ref span54[1]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - Span span55 = CollectionsMarshal.AsSpan(list210); - ref QuestStep reference157 = ref span55[0]; - QuestStep obj146 = new QuestStep(EInteractionType.Interact, 1026804u, new Vector3(-524.55945f, 8.698304f, -15.487976f), 621) - { - StopDistance = 7f, - TargetTerritoryId = (ushort)829 - }; - num3 = 1; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - CollectionsMarshal.AsSpan(list211)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDG102_03185_Q1_000_002") - }; - obj146.DialogueChoices = list211; - reference157 = obj146; - ref QuestStep reference158 = ref span55[1]; - QuestStep questStep12 = new QuestStep(EInteractionType.SinglePlayerDuty, 1026845u, new Vector3(-476.67664f, 107.63f, 103.74609f), 829); - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions(); - num3 = 4; - List list212 = new List(num3); - CollectionsMarshal.SetCount(list212, num3); - Span span56 = CollectionsMarshal.AsSpan(list212); - span56[0] = "(phase 1) Need to manually move in range to trigger combat"; - span56[1] = "(phase 1) VBM doesn't know about some AOEs (e.g. Vein Splitter)"; - span56[2] = "(phase 1) VBM ignores markers to stack on Lyse (she still survives)"; - span56[3] = "(phase 2) AI can walk outside the arena to get a bleed + damage down when dodging mechanics"; - singlePlayerDutyOptions.Notes = list212; - questStep12.SinglePlayerDutyOptions = singlePlayerDutyOptions; - reference158 = questStep12; - obj145.Steps = list210; - reference156 = obj145; - span54[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference159 = ref span54[3]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - CollectionsMarshal.AsSpan(list213)[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj147.Steps = list213; - reference159 = obj147; - ref QuestSequence reference160 = ref span54[4]; - QuestSequence obj148 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026990u, new Vector3(-2.4262085f, 0f, -9.10968f), 351) - { - StopDistance = 7f - }; - obj148.Steps = list214; - reference160 = obj148; - questRoot25.QuestSequence = list208; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(3187); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list215 = new List(num); - CollectionsMarshal.SetCount(list215, num); - CollectionsMarshal.AsSpan(list215)[0] = "liza"; - questRoot26.Author = list215; - num = 7; - List list216 = new List(num); - CollectionsMarshal.SetCount(list216, num); - Span span57 = CollectionsMarshal.AsSpan(list216); - ref QuestSequence reference161 = ref span57[0]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.AcceptQuest, 1024149u, new Vector3(-42.25226f, 15.000004f, 42.557373f), 628) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj149.Steps = list217; - reference161 = obj149; - ref QuestSequence reference162 = ref span57[1]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - Span span58 = CollectionsMarshal.AsSpan(list218); - span58[0] = new QuestStep(EInteractionType.Interact, 1019043u, new Vector3(-43.656128f, 15.000004f, 46.52478f), 628) - { - TargetTerritoryId = (ushort)628 - }; - ref QuestStep reference163 = ref span58[1]; - QuestStep obj151 = new QuestStep(EInteractionType.Interact, 1024157u, new Vector3(-59.098206f, 79.05602f, 45.303955f), 628) - { - StopDistance = 7f - }; - num3 = 1; - List list219 = new List(num3); - CollectionsMarshal.SetCount(list219, num3); - CollectionsMarshal.AsSpan(list219)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDI301_03187_Q1_000_000") - }; - obj151.DialogueChoices = list219; - reference163 = obj151; - obj150.Steps = list218; - reference162 = obj150; - span57[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference164 = ref span57[3]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.Interact, 1026968u, new Vector3(-10.635559f, 0.026214104f, 12.924377f), 735) - { - StopDistance = 7f - }; - obj152.Steps = list220; - reference164 = obj152; - ref QuestSequence reference165 = ref span57[4]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - Span span59 = CollectionsMarshal.AsSpan(list221); - span59[0] = new QuestStep(EInteractionType.Interact, 2009044u, new Vector3(-28.763306f, 0.56451416f, -0.015319824f), 735) - { - TargetTerritoryId = (ushort)628 - }; - span59[1] = new QuestStep(EInteractionType.Interact, 1026969u, new Vector3(-55.985413f, 79.05602f, 43.656006f), 628) - { - StopDistance = 7f - }; - obj153.Steps = list221; - reference165 = obj153; - ref QuestSequence reference166 = ref span57[5]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - ref QuestStep reference167 = ref CollectionsMarshal.AsSpan(list222)[0]; - QuestStep obj155 = new QuestStep(EInteractionType.Interact, 1026969u, new Vector3(-55.985413f, 79.05602f, 43.656006f), 628) - { - StopDistance = 7f - }; - num3 = 1; - List list223 = new List(num3); - CollectionsMarshal.SetCount(list223, num3); - CollectionsMarshal.AsSpan(list223)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDI301_03187_Q5_000_000") - }; - obj155.DialogueChoices = list223; - reference167 = obj155; - obj154.Steps = list222; - reference166 = obj154; - ref QuestSequence reference168 = ref span57[6]; - QuestSequence obj156 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026970u, new Vector3(-58.457336f, 79.05602f, 43.686523f), 628) - { - StopDistance = 7f, - NextQuestId = new QuestId(3188) - }; - obj156.Steps = list224; - reference168 = obj156; - questRoot26.QuestSequence = list216; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(3188); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list225 = new List(num); - CollectionsMarshal.SetCount(list225, num); - CollectionsMarshal.AsSpan(list225)[0] = "liza"; - questRoot27.Author = list225; - num = 8; - List list226 = new List(num); - CollectionsMarshal.SetCount(list226, num); - Span span60 = CollectionsMarshal.AsSpan(list226); - ref QuestSequence reference169 = ref span60[0]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026970u, new Vector3(-58.457336f, 79.05602f, 43.686523f), 628) - { - StopDistance = 7f - }; - obj157.Steps = list227; - reference169 = obj157; - ref QuestSequence reference170 = ref span60[1]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - Span span61 = CollectionsMarshal.AsSpan(list228); - ref QuestStep reference171 = ref span61[0]; - QuestStep obj159 = new QuestStep(EInteractionType.Interact, 1024156u, new Vector3(-59.098206f, 79.05602f, 45.303955f), 628) - { - StopDistance = 7f, - TargetTerritoryId = (ushort)735 - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list229 = new List(num3); - CollectionsMarshal.SetCount(list229, num3); - CollectionsMarshal.AsSpan(list229)[0] = 735; - skipStepConditions.InTerritory = list229; - skipConditions.StepIf = skipStepConditions; - obj159.SkipConditions = skipConditions; - reference171 = obj159; - span61[1] = new QuestStep(EInteractionType.Interact, 1026973u, new Vector3(-10.025269f, 0.046870913f, -2.5482788f), 735); - obj158.Steps = list228; - reference170 = obj158; - ref QuestSequence reference172 = ref span60[2]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.Interact, 1026974u, new Vector3(-10.788147f, 0.04687085f, -4.4404297f), 735) - { - StopDistance = 5f - }; - obj160.Steps = list230; - reference172 = obj160; - ref QuestSequence reference173 = ref span60[3]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - Span span62 = CollectionsMarshal.AsSpan(list231); - ref QuestStep reference174 = ref span62[0]; - QuestStep obj162 = new QuestStep(EInteractionType.Interact, 2009044u, new Vector3(-28.763306f, 0.56451416f, -0.015319824f), 735) - { - TargetTerritoryId = (ushort)628 - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list232 = new List(num3); - CollectionsMarshal.SetCount(list232, num3); - CollectionsMarshal.AsSpan(list232)[0] = 628; - skipStepConditions2.InTerritory = list232; - skipConditions2.StepIf = skipStepConditions2; - obj162.SkipConditions = skipConditions2; - reference174 = obj162; - span62[1] = new QuestStep(EInteractionType.Interact, 1026969u, new Vector3(-55.985413f, 79.05602f, 43.656006f), 628) - { - StopDistance = 7f - }; - obj161.Steps = list231; - reference173 = obj161; - ref QuestSequence reference175 = ref span60[4]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - ref QuestStep reference176 = ref CollectionsMarshal.AsSpan(list233)[0]; - QuestStep obj164 = new QuestStep(EInteractionType.Interact, 1026976u, new Vector3(115.12927f, 12.000001f, 71.000244f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyBazaar - } - }; - num3 = 1; - List list234 = new List(num3); - CollectionsMarshal.SetCount(list234, num3); - CollectionsMarshal.AsSpan(list234)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDI302_03188_Q3_000_000") - }; - obj164.DialogueChoices = list234; - reference176 = obj164; - obj163.Steps = list233; - reference175 = obj163; - ref QuestSequence reference177 = ref span60[5]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.Interact, 1024156u, new Vector3(-59.098206f, 79.05602f, 45.303955f), 628) - { - StopDistance = 5f, - TargetTerritoryId = (ushort)735, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeRubyBazaar, - To = EAetheryteLocation.KuganeAirship - } - }; - obj165.Steps = list235; - reference177 = obj165; - ref QuestSequence reference178 = ref span60[6]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - ref QuestStep reference179 = ref CollectionsMarshal.AsSpan(list236)[0]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1026977u, new Vector3(-4.3793945f, -2.5159047E-06f, -6.3325195f), 735); - num3 = 1; - List list237 = new List(num3); - CollectionsMarshal.SetCount(list237, num3); - CollectionsMarshal.AsSpan(list237)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDI302_03188_Q1_000_000"), - Answer = new ExcelRef("TEXT_STMBDI302_03188_A1_000_001") - }; - questStep13.DialogueChoices = list237; - reference179 = questStep13; - obj166.Steps = list236; - reference178 = obj166; - ref QuestSequence reference180 = ref span60[7]; - QuestSequence obj167 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026978u, new Vector3(-9.10968f, -2.9294104E-06f, -7.309082f), 735) - { - NextQuestId = new QuestId(3189) - }; - obj167.Steps = list238; - reference180 = obj167; - questRoot27.QuestSequence = list226; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(3189); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list239 = new List(num); - CollectionsMarshal.SetCount(list239, num); - CollectionsMarshal.AsSpan(list239)[0] = "liza"; - questRoot28.Author = list239; - num = 5; - List list240 = new List(num); - CollectionsMarshal.SetCount(list240, num); - Span span63 = CollectionsMarshal.AsSpan(list240); - ref QuestSequence reference181 = ref span63[0]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026978u, new Vector3(-9.10968f, -2.9294104E-06f, -7.309082f), 735); - obj168.Steps = list241; - reference181 = obj168; - ref QuestSequence reference182 = ref span63[1]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - CollectionsMarshal.AsSpan(list242)[0] = new QuestStep(EInteractionType.Duty, null, null, 735) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 636u - } - }; - obj169.Steps = list242; - reference182 = obj169; - span63[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference183 = ref span63[3]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.Interact, 1026979u, new Vector3(-12.008911f, 0.046870746f, -1.1750488f), 735) - { - StopDistance = 5f - }; - obj170.Steps = list243; - reference183 = obj170; - ref QuestSequence reference184 = ref span63[4]; - QuestSequence obj171 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - Span span64 = CollectionsMarshal.AsSpan(list244); - span64[0] = new QuestStep(EInteractionType.Interact, 2009044u, new Vector3(-28.73708f, 0.5811821f, 0.01279204f), 735) - { - TargetTerritoryId = (ushort)628 - }; - span64[1] = new QuestStep(EInteractionType.Interact, 1019044u, new Vector3(-51.71283f, 79.05602f, 45.48706f), 628) - { - StopDistance = 7f, - TargetTerritoryId = (ushort)628 - }; - span64[2] = new QuestStep(EInteractionType.CompleteQuest, 1024149u, new Vector3(-42.25226f, 15.000004f, 42.557373f), 628) - { - StopDistance = 7f - }; - obj171.Steps = list244; - reference184 = obj171; - questRoot28.QuestSequence = list240; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(3190); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list245 = new List(num); - CollectionsMarshal.SetCount(list245, num); - CollectionsMarshal.AsSpan(list245)[0] = "liza"; - questRoot29.Author = list245; - num = 7; - List list246 = new List(num); - CollectionsMarshal.SetCount(list246, num); - Span span65 = CollectionsMarshal.AsSpan(list246); - ref QuestSequence reference185 = ref span65[0]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026029u, new Vector3(1.3274536f, 0.05124623f, 1.9683228f), 735); - obj172.Steps = list247; - reference185 = obj172; - span65[1] = new QuestSequence - { - Sequence = 1 - }; - ref QuestSequence reference186 = ref span65[2]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.Interact, 1026029u, new Vector3(1.3274536f, 0.05124623f, 1.9683228f), 735); - obj173.Steps = list248; - reference186 = obj173; - ref QuestSequence reference187 = ref span65[3]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.Interact, 1006305u, new Vector3(10.60498f, 71.47817f, -16.617126f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport - }; - obj174.Steps = list249; - reference187 = obj174; - ref QuestSequence reference188 = ref span65[4]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - CollectionsMarshal.AsSpan(list250)[0] = new QuestStep(EInteractionType.Interact, 1006305u, new Vector3(10.60498f, 71.47817f, -16.617126f), 137); - obj175.Steps = list250; - reference188 = obj175; - ref QuestSequence reference189 = ref span65[5]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - Span span66 = CollectionsMarshal.AsSpan(list251); - span66[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-371.6037f, 54.310753f, 428.55798f), 137) - { - Fly = true - }; - span66[1] = new QuestStep(EInteractionType.Interact, 1006312u, new Vector3(-369.0395f, 54.28071f, 441.24512f), 137); - obj176.Steps = list251; - reference189 = obj176; - ref QuestSequence reference190 = ref span65[6]; - QuestSequence obj177 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - Span span67 = CollectionsMarshal.AsSpan(list252); - span67[0] = new QuestStep(EInteractionType.Interact, 1024156u, new Vector3(-59.098206f, 79.05602f, 45.303955f), 628) - { - StopDistance = 7f, - TargetTerritoryId = (ushort)735, - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeAirship - } - }; - span67[1] = new QuestStep(EInteractionType.CompleteQuest, 1026029u, new Vector3(1.3274536f, 0.05124623f, 1.9683228f), 735); - obj177.Steps = list252; - reference190 = obj177; - questRoot29.QuestSequence = list246; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(3192); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list253 = new List(num); - CollectionsMarshal.SetCount(list253, num); - CollectionsMarshal.AsSpan(list253)[0] = "liza"; - questRoot30.Author = list253; - num = 6; - List list254 = new List(num); - CollectionsMarshal.SetCount(list254, num); - Span span68 = CollectionsMarshal.AsSpan(list254); - ref QuestSequence reference191 = ref span68[0]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - CollectionsMarshal.AsSpan(list255)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026928u, new Vector3(-64.34735f, 18.000334f, -11.032288f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj178.Steps = list255; - reference191 = obj178; - ref QuestSequence reference192 = ref span68[1]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.Interact, 1026929u, new Vector3(-69.87109f, 43.83883f, -5.661133f), 134) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaZephyrGate - } - }; - obj179.Steps = list256; - reference192 = obj179; - ref QuestSequence reference193 = ref span68[2]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.Interact, 1026936u, new Vector3(170.85522f, 62.765503f, 275.25745f), 134); - obj180.Steps = list257; - reference193 = obj180; - ref QuestSequence reference194 = ref span68[3]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - CollectionsMarshal.AsSpan(list258)[0] = new QuestStep(EInteractionType.Interact, 1028430u, new Vector3(156.63379f, 12.126303f, 649.37805f), 135) - { - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }; - obj181.Steps = list258; - reference194 = obj181; - ref QuestSequence reference195 = ref span68[4]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - CollectionsMarshal.AsSpan(list259)[0] = new QuestStep(EInteractionType.Interact, 1026930u, new Vector3(-85.404785f, 2.5427969f, 728.542f), 135) - { - Fly = true - }; - obj182.Steps = list259; - reference195 = obj182; - ref QuestSequence reference196 = ref span68[5]; - QuestSequence obj183 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026932u, new Vector3(-105.9129f, 1.5723714f, 750.0571f), 135) - { - StopDistance = 7f, - NextQuestId = new QuestId(3193) - }; - obj183.Steps = list260; - reference196 = obj183; - questRoot30.QuestSequence = list254; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(3193); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list261 = new List(num); - CollectionsMarshal.SetCount(list261, num); - CollectionsMarshal.AsSpan(list261)[0] = "liza"; - questRoot31.Author = list261; - num = 3; - List list262 = new List(num); - CollectionsMarshal.SetCount(list262, num); - Span span69 = CollectionsMarshal.AsSpan(list262); - ref QuestSequence reference197 = ref span69[0]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 0 - }; - num2 = 4; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - Span span70 = CollectionsMarshal.AsSpan(list263); - span70[0] = new QuestStep(EInteractionType.EquipItem, null, null, 135) - { - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks, - ItemId = 22746u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span70[1] = new QuestStep(EInteractionType.EquipItem, null, null, 135) - { - ItemId = 24587u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span70[2] = new QuestStep(EInteractionType.EquipRecommended, null, null, 135); - span70[3] = new QuestStep(EInteractionType.AcceptQuest, 1026932u, new Vector3(-105.9129f, 1.5723714f, 750.0571f), 135) - { - StopDistance = 7f, - Fly = true - }; - obj184.Steps = list263; - reference197 = obj184; - ref QuestSequence reference198 = ref span69[1]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.Action, 1026934u, new Vector3(-108.04913f, 1.5026048f, 749.1415f), 135) - { - Action = EAction.WaterCannon - }; - obj185.Steps = list264; - reference198 = obj185; - ref QuestSequence reference199 = ref span69[2]; - QuestSequence obj186 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - ref QuestStep reference200 = ref CollectionsMarshal.AsSpan(list265)[0]; - QuestStep obj187 = new QuestStep(EInteractionType.CompleteQuest, 1026937u, new Vector3(65.7511f, 14.005002f, 90.440186f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - num3 = 1; - List list266 = new List(num3); - CollectionsMarshal.SetCount(list266, num3); - CollectionsMarshal.AsSpan(list266)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_JOBAOZ010_03193_Q1_100_002") - }; - obj187.DialogueChoices = list266; - obj187.NextQuestId = new QuestId(3194); - reference200 = obj187; - obj186.Steps = list265; - reference199 = obj186; - questRoot31.QuestSequence = list262; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(3194); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list267 = new List(num); - CollectionsMarshal.SetCount(list267, num); - CollectionsMarshal.AsSpan(list267)[0] = "liza"; - questRoot32.Author = list267; - num = 5; - List list268 = new List(num); - CollectionsMarshal.SetCount(list268, num); - Span span71 = CollectionsMarshal.AsSpan(list268); - ref QuestSequence reference201 = ref span71[0]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - ref QuestStep reference202 = ref CollectionsMarshal.AsSpan(list269)[0]; - QuestStep obj189 = new QuestStep(EInteractionType.AcceptQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition obj190 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list270 = new List(num3); - CollectionsMarshal.SetCount(list270, num3); - CollectionsMarshal.AsSpan(list270)[0] = 131; - obj190.InTerritory = list270; - skipConditions3.AetheryteShortcutIf = obj190; - obj189.SkipConditions = skipConditions3; - reference202 = obj189; - obj188.Steps = list269; - reference201 = obj188; - ref QuestSequence reference203 = ref span71[1]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - CollectionsMarshal.AsSpan(list271)[0] = new QuestStep(EInteractionType.Interact, 1026938u, new Vector3(101.27405f, 7.3536396f, 600.2135f), 141) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahWeaver, - To = EAetheryteLocation.UldahGateOfThal - } - }; - obj191.Steps = list271; - reference203 = obj191; - ref QuestSequence reference204 = ref span71[2]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - ref QuestStep reference205 = ref CollectionsMarshal.AsSpan(list272)[0]; - QuestStep obj193 = new QuestStep(EInteractionType.Combat, 2009670u, new Vector3(163.59192f, 3.7078857f, 657.0991f), 141) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list273 = new List(num3); - CollectionsMarshal.SetCount(list273, num3); - CollectionsMarshal.AsSpan(list273)[0] = 9836u; - obj193.KillEnemyDataIds = list273; - reference205 = obj193; - obj192.Steps = list272; - reference204 = obj192; - ref QuestSequence reference206 = ref span71[3]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - CollectionsMarshal.AsSpan(list274)[0] = new QuestStep(EInteractionType.Interact, 1026938u, new Vector3(101.27405f, 7.3536396f, 600.2135f), 141) - { - Fly = true - }; - obj194.Steps = list274; - reference206 = obj194; - ref QuestSequence reference207 = ref span71[4]; - QuestSequence obj195 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - }, - NextQuestId = new QuestId(3195) - }; - obj195.Steps = list275; - reference207 = obj195; - questRoot32.QuestSequence = list268; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(3195); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list276 = new List(num); - CollectionsMarshal.SetCount(list276, num); - CollectionsMarshal.AsSpan(list276)[0] = "liza"; - questRoot33.Author = list276; - num = 5; - List list277 = new List(num); - CollectionsMarshal.SetCount(list277, num); - Span span72 = CollectionsMarshal.AsSpan(list277); - ref QuestSequence reference208 = ref span72[0]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - ref QuestStep reference209 = ref CollectionsMarshal.AsSpan(list278)[0]; - QuestStep obj197 = new QuestStep(EInteractionType.AcceptQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition obj198 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list279 = new List(num3); - CollectionsMarshal.SetCount(list279, num3); - CollectionsMarshal.AsSpan(list279)[0] = 131; - obj198.InTerritory = list279; - skipConditions4.AetheryteShortcutIf = obj198; - obj197.SkipConditions = skipConditions4; - reference209 = obj197; - obj196.Steps = list278; - reference208 = obj196; - ref QuestSequence reference210 = ref span72[1]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - CollectionsMarshal.AsSpan(list280)[0] = new QuestStep(EInteractionType.Interact, 1026941u, new Vector3(105.02783f, 4.0333576f, 451.0719f), 141) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahWeaver, - To = EAetheryteLocation.UldahGateOfThal - } - }; - obj199.Steps = list280; - reference210 = obj199; - ref QuestSequence reference211 = ref span72[2]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - ref QuestStep reference212 = ref CollectionsMarshal.AsSpan(list281)[0]; - QuestStep obj201 = new QuestStep(EInteractionType.Combat, 2009671u, new Vector3(145.52527f, 9.567322f, 391.10388f), 141) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list282 = new List(num3); - CollectionsMarshal.SetCount(list282, num3); - CollectionsMarshal.AsSpan(list282)[0] = 9837u; - obj201.KillEnemyDataIds = list282; - reference212 = obj201; - obj200.Steps = list281; - reference211 = obj200; - ref QuestSequence reference213 = ref span72[3]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.Interact, 1026941u, new Vector3(105.02783f, 4.0333576f, 451.0719f), 141); - obj202.Steps = list283; - reference213 = obj202; - ref QuestSequence reference214 = ref span72[4]; - QuestSequence obj203 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - CollectionsMarshal.AsSpan(list284)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - }, - NextQuestId = new QuestId(3196) - }; - obj203.Steps = list284; - reference214 = obj203; - questRoot33.QuestSequence = list277; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(3196); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list285 = new List(num); - CollectionsMarshal.SetCount(list285, num); - CollectionsMarshal.AsSpan(list285)[0] = "liza"; - questRoot34.Author = list285; - num = 6; - List list286 = new List(num); - CollectionsMarshal.SetCount(list286, num); - Span span73 = CollectionsMarshal.AsSpan(list286); - ref QuestSequence reference215 = ref span73[0]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - ref QuestStep reference216 = ref CollectionsMarshal.AsSpan(list287)[0]; - QuestStep obj205 = new QuestStep(EInteractionType.AcceptQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipAetheryteCondition obj206 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list288 = new List(num3); - CollectionsMarshal.SetCount(list288, num3); - CollectionsMarshal.AsSpan(list288)[0] = 131; - obj206.InTerritory = list288; - skipConditions5.AetheryteShortcutIf = obj206; - obj205.SkipConditions = skipConditions5; - reference216 = obj205; - obj204.Steps = list287; - reference215 = obj204; - ref QuestSequence reference217 = ref span73[1]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.Interact, 1026945u, new Vector3(-108.415405f, 41f, 76.06616f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahWeaver, - To = EAetheryteLocation.UldahAlchemist - } - }; - obj207.Steps = list289; - reference217 = obj207; - ref QuestSequence reference218 = ref span73[2]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - CollectionsMarshal.AsSpan(list290)[0] = new QuestStep(EInteractionType.Interact, 1026946u, new Vector3(392.69092f, 87.19347f, 98.10022f), 140) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAlchemist, - To = EAetheryteLocation.UldahGateOfTheSultana - } - }; - obj208.Steps = list290; - reference218 = obj208; - ref QuestSequence reference219 = ref span73[3]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - ref QuestStep reference220 = ref CollectionsMarshal.AsSpan(list291)[0]; - QuestStep obj210 = new QuestStep(EInteractionType.Combat, null, new Vector3(363.6008f, 83.40785f, 92.904495f), 140) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list292 = new List(num3); - CollectionsMarshal.SetCount(list292, num3); - Span span74 = CollectionsMarshal.AsSpan(list292); - span74[0] = 9838u; - span74[1] = 9839u; - obj210.KillEnemyDataIds = list292; - reference220 = obj210; - obj209.Steps = list291; - reference219 = obj209; - ref QuestSequence reference221 = ref span73[4]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - CollectionsMarshal.AsSpan(list293)[0] = new QuestStep(EInteractionType.Interact, 1026948u, new Vector3(359.63977f, 83.013695f, 92.24072f), 140) - { - StopDistance = 5f - }; - obj211.Steps = list293; - reference221 = obj211; - ref QuestSequence reference222 = ref span73[5]; - QuestSequence obj212 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - CollectionsMarshal.AsSpan(list294)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - }, - NextQuestId = new QuestId(3197) - }; - obj212.Steps = list294; - reference222 = obj212; - questRoot34.QuestSequence = list286; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(3197); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list295 = new List(num); - CollectionsMarshal.SetCount(list295, num); - CollectionsMarshal.AsSpan(list295)[0] = "liza"; - questRoot35.Author = list295; - num = 4; - List list296 = new List(num); - CollectionsMarshal.SetCount(list296, num); - Span span75 = CollectionsMarshal.AsSpan(list296); - ref QuestSequence reference223 = ref span75[0]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - ref QuestStep reference224 = ref CollectionsMarshal.AsSpan(list297)[0]; - QuestStep obj214 = new QuestStep(EInteractionType.AcceptQuest, 1026924u, new Vector3(64.46936f, 14.005002f, 88.70068f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipAetheryteCondition obj215 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list298 = new List(num3); - CollectionsMarshal.SetCount(list298, num3); - CollectionsMarshal.AsSpan(list298)[0] = 131; - obj215.InTerritory = list298; - skipConditions6.AetheryteShortcutIf = obj215; - obj214.SkipConditions = skipConditions6; - reference224 = obj214; - obj213.Steps = list297; - reference223 = obj213; - ref QuestSequence reference225 = ref span75[1]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - ref QuestStep reference226 = ref CollectionsMarshal.AsSpan(list299)[0]; - QuestStep obj217 = new QuestStep(EInteractionType.Combat, 1026951u, new Vector3(196.67346f, 52.774567f, -38.895264f), 140) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list300 = new List(num3); - CollectionsMarshal.SetCount(list300, num3); - CollectionsMarshal.AsSpan(list300)[0] = 9840u; - obj217.KillEnemyDataIds = list300; - num3 = 1; - List list301 = new List(num3); - CollectionsMarshal.SetCount(list301, num3); - CollectionsMarshal.AsSpan(list301)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_JOBAOZ400_03197_Q1_000_013") - }; - obj217.DialogueChoices = list301; - reference226 = obj217; - obj216.Steps = list299; - reference225 = obj216; - ref QuestSequence reference227 = ref span75[2]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list302 = new List(num2); - CollectionsMarshal.SetCount(list302, num2); - CollectionsMarshal.AsSpan(list302)[0] = new QuestStep(EInteractionType.Interact, 1026951u, new Vector3(196.67346f, 52.774567f, -38.895264f), 140); - obj218.Steps = list302; - reference227 = obj218; - ref QuestSequence reference228 = ref span75[3]; - QuestSequence obj219 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list303 = new List(num2); - CollectionsMarshal.SetCount(list303, num2); - CollectionsMarshal.AsSpan(list303)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026953u, new Vector3(65.59851f, 14.005001f, 91.75244f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - }, - NextQuestId = new QuestId(3198) - }; - obj219.Steps = list303; - reference228 = obj219; - questRoot35.QuestSequence = list296; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(3198); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list304 = new List(num); - CollectionsMarshal.SetCount(list304, num); - CollectionsMarshal.AsSpan(list304)[0] = "liza"; - questRoot36.Author = list304; - num = 4; - List list305 = new List(num); - CollectionsMarshal.SetCount(list305, num); - Span span76 = CollectionsMarshal.AsSpan(list305); - ref QuestSequence reference229 = ref span76[0]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - ref QuestStep reference230 = ref CollectionsMarshal.AsSpan(list306)[0]; - QuestStep obj221 = new QuestStep(EInteractionType.AcceptQuest, 1026924u, new Vector3(64.46936f, 14.005002f, 88.70068f), 131) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipAetheryteCondition obj222 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list307 = new List(num3); - CollectionsMarshal.SetCount(list307, num3); - CollectionsMarshal.AsSpan(list307)[0] = 131; - obj222.InTerritory = list307; - skipConditions7.AetheryteShortcutIf = obj222; - obj221.SkipConditions = skipConditions7; - reference230 = obj221; - obj220.Steps = list306; - reference229 = obj220; - ref QuestSequence reference231 = ref span76[1]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - CollectionsMarshal.AsSpan(list308)[0] = new QuestStep(EInteractionType.Interact, 1026955u, new Vector3(-10.055725f, 47f, -29.800903f), 147) - { - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCeruleumProcessingPlant - }; - obj223.Steps = list308; - reference231 = obj223; - ref QuestSequence reference232 = ref span76[2]; - QuestSequence obj224 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - CollectionsMarshal.AsSpan(list309)[0] = new QuestStep(EInteractionType.Interact, 1026937u, new Vector3(65.7511f, 14.005002f, 90.440186f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - obj224.Steps = list309; - reference232 = obj224; - ref QuestSequence reference233 = ref span76[3]; - QuestSequence obj225 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - CollectionsMarshal.AsSpan(list310)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026937u, new Vector3(65.7511f, 14.005002f, 90.440186f), 131) - { - NextQuestId = new QuestId(3199) - }; - obj225.Steps = list310; - reference233 = obj225; - questRoot36.QuestSequence = list305; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(3199); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list311 = new List(num); - CollectionsMarshal.SetCount(list311, num); - CollectionsMarshal.AsSpan(list311)[0] = "liza"; - questRoot37.Author = list311; - num = 2; - List list312 = new List(num); - CollectionsMarshal.SetCount(list312, num); - Span span77 = CollectionsMarshal.AsSpan(list312); - ref QuestSequence reference234 = ref span77[0]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list313 = new List(num2); - CollectionsMarshal.SetCount(list313, num2); - ref QuestStep reference235 = ref CollectionsMarshal.AsSpan(list313)[0]; - QuestStep obj227 = new QuestStep(EInteractionType.AcceptQuest, 1026924u, new Vector3(64.46936f, 14.005002f, 88.70068f), 131) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipAetheryteCondition obj228 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list314 = new List(num3); - CollectionsMarshal.SetCount(list314, num3); - CollectionsMarshal.AsSpan(list314)[0] = 131; - obj228.InTerritory = list314; - skipConditions8.AetheryteShortcutIf = obj228; - obj227.SkipConditions = skipConditions8; - reference235 = obj227; - obj226.Steps = list313; - reference234 = obj226; - ref QuestSequence reference236 = ref span77[1]; - QuestSequence obj229 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - CollectionsMarshal.AsSpan(list315)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - StopDistance = 5f, - NextQuestId = new QuestId(3732) - }; - obj229.Steps = list315; - reference236 = obj229; - questRoot37.QuestSequence = list312; - AddQuest(questId37, questRoot37); - } - - private static void LoadQuests64() - { - QuestId questId = new QuestId(3201); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "Starr"; - questRoot.Author = list; - num = 2; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011145u, new Vector3(-65.38495f, 0.06979119f, 0.8086548f), 144) - { - AetheryteShortcut = EAetheryteLocation.GoldSaucer, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.CompleteQuest, 1016307u, new Vector3(57.14502f, 20.99973f, 83.57361f), 144) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GoldSaucer, - To = EAetheryteLocation.GoldSaucerWonderSquareEast - } - }; - obj2.Steps = list4; - reference2 = obj2; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(3210); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list5 = new List(num); - CollectionsMarshal.SetCount(list5, num); - CollectionsMarshal.AsSpan(list5)[0] = "plogon_enjoyer"; - questRoot2.Author = list5; - num = 4; - List list6 = new List(num); - CollectionsMarshal.SetCount(list6, num); - Span span2 = CollectionsMarshal.AsSpan(list6); - ref QuestSequence reference3 = ref span2[0]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - ref QuestStep reference4 = ref CollectionsMarshal.AsSpan(list7)[0]; - QuestStep obj4 = new QuestStep(EInteractionType.AcceptQuest, 1006747u, new Vector3(-20.828613f, 29.999964f, -2.4262085f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - int num3 = 2; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - Span span3 = CollectionsMarshal.AsSpan(list8); - span3[0] = 130; - span3[1] = 131; - skipAetheryteCondition.InTerritory = list8; - skipConditions.AetheryteShortcutIf = skipAetheryteCondition; - skipConditions.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj4.SkipConditions = skipConditions; - reference4 = obj4; - obj3.Steps = list7; - reference3 = obj3; - ref QuestSequence reference5 = ref span2[1]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.Interact, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahChamberOfRule, - To = EAetheryteLocation.UldahGladiator - } - }; - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference6 = ref span2[2]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.Interact, 1028092u, new Vector3(213.58044f, 54.47546f, 228.19861f), 140) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.UldahGateOfTheSultana - } - }; - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span2[3]; - QuestSequence obj7 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - obj7.Steps = list11; - reference7 = obj7; - questRoot2.QuestSequence = list6; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(3211); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - CollectionsMarshal.AsSpan(list12)[0] = "plogon_enjoyer"; - questRoot3.Author = list12; - num = 5; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - Span span4 = CollectionsMarshal.AsSpan(list13); - ref QuestSequence reference8 = ref span4[0]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - ref QuestStep reference9 = ref CollectionsMarshal.AsSpan(list14)[0]; - QuestStep obj9 = new QuestStep(EInteractionType.AcceptQuest, 1006749u, new Vector3(-30.47229f, 13.599918f, 95.26196f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGoldsmith - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num3 = 2; - List list15 = new List(num3); - CollectionsMarshal.SetCount(list15, num3); - Span span5 = CollectionsMarshal.AsSpan(list15); - span5[0] = 130; - span5[1] = 131; - skipAetheryteCondition2.InTerritory = list15; - skipConditions2.AetheryteShortcutIf = skipAetheryteCondition2; - skipConditions2.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj9.SkipConditions = skipConditions2; - reference9 = obj9; - obj8.Steps = list14; - reference8 = obj8; - ref QuestSequence reference10 = ref span4[1]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - Span span6 = CollectionsMarshal.AsSpan(list16); - span6[0] = new QuestStep(EInteractionType.Interact, 1028409u, new Vector3(103.4104f, 118.31935f, -706.1417f), 620) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - span6[1] = new QuestStep(EInteractionType.Interact, 1028410u, new Vector3(38.010254f, 118.13663f, -750.57605f), 620) - { - Mount = true - }; - span6[2] = new QuestStep(EInteractionType.Interact, 1028408u, new Vector3(55.649536f, 118.16888f, -784.2069f), 620) - { - Fly = true - }; - obj10.Steps = list16; - reference10 = obj10; - ref QuestSequence reference11 = ref span4[2]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.Interact, 1028411u, new Vector3(-140.67297f, 27.29529f, -408.16364f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - obj11.Steps = list17; - reference11 = obj11; - ref QuestSequence reference12 = ref span4[3]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.Interact, 2009755u, new Vector3(64.86609f, -0.38153076f, -83.32953f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachNorthEast - } - }; - obj12.Steps = list18; - reference12 = obj12; - ref QuestSequence reference13 = ref span4[4]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - ref QuestStep reference14 = ref CollectionsMarshal.AsSpan(list19)[0]; - QuestStep obj14 = new QuestStep(EInteractionType.CompleteQuest, 1006749u, new Vector3(-30.47229f, 13.599918f, 95.26196f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGoldsmith - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition3 = new SkipAetheryteCondition(); - num3 = 2; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - Span span7 = CollectionsMarshal.AsSpan(list20); - span7[0] = 130; - span7[1] = 131; - skipAetheryteCondition3.InTerritory = list20; - skipConditions3.AetheryteShortcutIf = skipAetheryteCondition3; - skipConditions3.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj14.SkipConditions = skipConditions3; - reference14 = obj14; - obj13.Steps = list19; - reference13 = obj13; - questRoot3.QuestSequence = list13; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(3212); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - CollectionsMarshal.AsSpan(list21)[0] = "plogon_enjoyer"; - questRoot4.Author = list21; - num = 8; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - Span span8 = CollectionsMarshal.AsSpan(list22); - ref QuestSequence reference15 = ref span8[0]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - ref QuestStep reference16 = ref CollectionsMarshal.AsSpan(list23)[0]; - QuestStep obj16 = new QuestStep(EInteractionType.AcceptQuest, 1006746u, new Vector3(460.65454f, 8.309061f, 74.47925f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - CollectionsMarshal.AsSpan(list24)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKBC003_03212_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKBC003_03212_A1_000_001") - }; - obj16.DialogueChoices = list24; - reference16 = obj16; - obj15.Steps = list23; - reference15 = obj15; - ref QuestSequence reference17 = ref span8[1]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.Interact, 1023885u, new Vector3(217.30359f, 7.999984f, 686.427f), 135) - { - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }; - obj17.Steps = list25; - reference17 = obj17; - ref QuestSequence reference18 = ref span8[2]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - Span span9 = CollectionsMarshal.AsSpan(list26); - span9[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(226.71358f, 8.000019f, 671.0062f), 135) - { - Mount = true - }; - span9[1] = new QuestStep(EInteractionType.Interact, 1030042u, new Vector3(425.10107f, 61.22168f, -42.404846f), 135) - { - Fly = true - }; - obj18.Steps = list26; - reference18 = obj18; - ref QuestSequence reference19 = ref span8[3]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - Span span10 = CollectionsMarshal.AsSpan(list27); - ref QuestStep reference20 = ref span10[0]; - QuestStep obj20 = new QuestStep(EInteractionType.Action, 2010149u, new Vector3(345.3573f, 58.457275f, -63.523376f), 135) - { - Fly = true, - Action = EAction.HeavySwing - }; - num3 = 6; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - Span span11 = CollectionsMarshal.AsSpan(list28); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj20.CompletionQuestVariablesFlags = list28; - reference20 = obj20; - ref QuestStep reference21 = ref span10[1]; - QuestStep obj21 = new QuestStep(EInteractionType.Action, 2010150u, new Vector3(369.43604f, 64.59143f, -88.85327f), 135) - { - Fly = true, - Action = EAction.HeavySwing - }; - num3 = 6; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - Span span12 = CollectionsMarshal.AsSpan(list29); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj21.CompletionQuestVariablesFlags = list29; - reference21 = obj21; - ref QuestStep reference22 = ref span10[2]; - QuestStep obj22 = new QuestStep(EInteractionType.Action, 2010151u, new Vector3(360.95215f, 69.90149f, -119.06616f), 135) - { - Fly = true, - Action = EAction.HeavySwing - }; - num3 = 6; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - Span span13 = CollectionsMarshal.AsSpan(list30); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj22.CompletionQuestVariablesFlags = list30; - reference22 = obj22; - obj19.Steps = list27; - reference19 = obj19; - ref QuestSequence reference23 = ref span8[4]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.Interact, 1030042u, new Vector3(425.10107f, 61.22168f, -42.404846f), 135) - { - Fly = true - }; - obj23.Steps = list31; - reference23 = obj23; - ref QuestSequence reference24 = ref span8[5]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 1030044u, new Vector3(435.8739f, 66.317635f, -276.56976f), 135) - { - Fly = true - }; - obj24.Steps = list32; - reference24 = obj24; - ref QuestSequence reference25 = ref span8[6]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Action, 1030046u, new Vector3(433.9818f, 66.317635f, -277.48535f), 135) - { - DelaySecondsAtStart = 2f, - Action = EAction.HeavySwing - }; - obj25.Steps = list33; - reference25 = obj25; - ref QuestSequence reference26 = ref span8[7]; - QuestSequence obj26 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006746u, new Vector3(460.65454f, 8.309061f, 74.47925f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj26.Steps = list34; - reference26 = obj26; - questRoot4.QuestSequence = list22; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(3213); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - CollectionsMarshal.AsSpan(list35)[0] = "plogon_enjoyer"; - questRoot5.Author = list35; - num = 6; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - Span span14 = CollectionsMarshal.AsSpan(list36); - ref QuestSequence reference27 = ref span14[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - Span span15 = CollectionsMarshal.AsSpan(list37); - span15[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(215.65454f, 222.1f, 345.1806f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span15[1] = new QuestStep(EInteractionType.AcceptQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155); - obj27.Steps = list37; - reference27 = obj27; - ref QuestSequence reference28 = ref span14[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.Interact, 1029861u, new Vector3(-753.78046f, 123.728714f, 206.43921f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - obj28.Steps = list38; - reference28 = obj28; - ref QuestSequence reference29 = ref span14[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 2009923u, new Vector3(-114.0307f, 145.09802f, -553.2159f), 400) - { - Fly = true, - Land = true - }; - obj29.Steps = list39; - reference29 = obj29; - ref QuestSequence reference30 = ref span14[3]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.Interact, 1029862u, new Vector3(-93.27844f, 137.46214f, -534.44727f), 400) - { - Fly = true - }; - obj30.Steps = list40; - reference30 = obj30; - ref QuestSequence reference31 = ref span14[4]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.Interact, 1029863u, new Vector3(746.6697f, 69.99995f, 533.135f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter - }; - obj31.Steps = list41; - reference31 = obj31; - ref QuestSequence reference32 = ref span14[5]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - Span span16 = CollectionsMarshal.AsSpan(list42); - span16[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(213.22748f, 222.08781f, 342.82468f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span16[1] = new QuestStep(EInteractionType.CompleteQuest, 1006748u, new Vector3(217.88354f, 222f, 345.3269f), 155); - obj32.Steps = list42; - reference32 = obj32; - questRoot5.QuestSequence = list36; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(3214); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - CollectionsMarshal.AsSpan(list43)[0] = "plogon_enjoyer"; - questRoot6.Author = list43; - num = 7; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - Span span17 = CollectionsMarshal.AsSpan(list44); - ref QuestSequence reference33 = ref span17[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006750u, new Vector3(16.464417f, 6.750492f, -7.3396606f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj33.Steps = list45; - reference33 = obj33; - ref QuestSequence reference34 = ref span17[1]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 1030074u, new Vector3(192.58398f, -2.539064f, 73.59424f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaArcher - } - }; - obj34.Steps = list46; - reference34 = obj34; - ref QuestSequence reference35 = ref span17[2]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Interact, 1030078u, new Vector3(-180.34644f, -1.2285838f, 341.6953f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - obj35.Steps = list47; - reference35 = obj35; - ref QuestSequence reference36 = ref span17[3]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.Say, 2010182u, new Vector3(-85.160645f, 6.0578003f, 398.64185f), 152) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_LUCKBC005_03214_SYSTEM_000_999" - } - }; - obj36.Steps = list48; - reference36 = obj36; - ref QuestSequence reference37 = ref span17[4]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.Say, 2010183u, new Vector3(38.376343f, 7.2785034f, 430.28906f), 152) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_LUCKBC005_03214_SYSTEM_000_999" - } - }; - obj37.Steps = list49; - reference37 = obj37; - ref QuestSequence reference38 = ref span17[5]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.Interact, 1030081u, new Vector3(29.648315f, -18.800003f, 95.26196f), 132) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAirship - } - }; - obj38.Steps = list50; - reference38 = obj38; - ref QuestSequence reference39 = ref span17[6]; - QuestSequence obj39 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030081u, new Vector3(29.648315f, -18.800003f, 95.26196f), 132) - { - StopDistance = 7f - }; - obj39.Steps = list51; - reference39 = obj39; - questRoot6.QuestSequence = list44; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(3215); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - CollectionsMarshal.AsSpan(list52)[0] = "plogon_enjoyer"; - questRoot7.Author = list52; - num = 6; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - Span span18 = CollectionsMarshal.AsSpan(list53); - ref QuestSequence reference40 = ref span18[0]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - Span span19 = CollectionsMarshal.AsSpan(list54); - span19[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-137.7745f, 10.010047f, 278.79453f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil - }; - span19[1] = new QuestStep(EInteractionType.AcceptQuest, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153) - { - StopDistance = 4f - }; - obj40.Steps = list54; - reference40 = obj40; - ref QuestSequence reference41 = ref span18[1]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.Interact, 1028418u, new Vector3(-242.26752f, -4f, 1.2054443f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - obj41.Steps = list55; - reference41 = obj41; - ref QuestSequence reference42 = ref span18[2]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.Interact, 1028419u, new Vector3(-19.058533f, -32.58833f, 307.1488f), 148) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows - }; - obj42.Steps = list56; - reference42 = obj42; - ref QuestSequence reference43 = ref span18[3]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.Interact, 1028423u, new Vector3(-62.974f, -36.839226f, 473.3806f), 148) - { - Fly = true - }; - obj43.Steps = list57; - reference43 = obj43; - ref QuestSequence reference44 = ref span18[4]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.Interact, 1028424u, new Vector3(-19.85205f, -34.365856f, 416.76965f), 148) - { - StopDistance = 7f - }; - obj44.Steps = list58; - reference44 = obj44; - ref QuestSequence reference45 = ref span18[5]; - QuestSequence obj45 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - Span span20 = CollectionsMarshal.AsSpan(list59); - span20[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-137.7745f, 10.010047f, 278.79453f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil - }; - span20[1] = new QuestStep(EInteractionType.CompleteQuest, 1006751u, new Vector3(-139.45221f, 8.712891f, 281.69678f), 153) - { - StopDistance = 4f - }; - obj45.Steps = list59; - reference45 = obj45; - questRoot7.QuestSequence = list53; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(3216); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - CollectionsMarshal.AsSpan(list60)[0] = "plogon_enjoyer"; - questRoot8.Author = list60; - num = 8; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - Span span21 = CollectionsMarshal.AsSpan(list61); - ref QuestSequence reference46 = ref span21[0]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - obj46.Steps = list62; - reference46 = obj46; - ref QuestSequence reference47 = ref span21[1]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - ref QuestStep reference48 = ref CollectionsMarshal.AsSpan(list63)[0]; - QuestStep obj48 = new QuestStep(EInteractionType.Interact, 1002279u, new Vector3(-196.8872f, 18.459997f, 59.952637f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahWeaver, - To = EAetheryteLocation.UldahThaumaturge - } - }; - num3 = 2; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - Span span22 = CollectionsMarshal.AsSpan(list64); - span22[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKBC007_03216_Q1_000_300"), - Answer = new ExcelRef("TEXT_LUCKBC007_03216_A1_000_301") - }; - span22[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKBC007_03216_Q1_000_100"), - Answer = new ExcelRef("TEXT_LUCKBC007_03216_A1_000_101") - }; - obj48.DialogueChoices = list64; - reference48 = obj48; - obj47.Steps = list63; - reference47 = obj47; - ref QuestSequence reference49 = ref span21[2]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.Interact, 1001708u, new Vector3(-250.3548f, 18f, 80.88806f), 130); - obj49.Steps = list65; - reference49 = obj49; - ref QuestSequence reference50 = ref span21[3]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.Interact, 1029866u, new Vector3(-173.08313f, 17.999998f, 74.906494f), 130); - obj50.Steps = list66; - reference50 = obj50; - ref QuestSequence reference51 = ref span21[4]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.Interact, 1029868u, new Vector3(-89.21954f, 39.99999f, 106.98096f), 131) - { - StopDistance = 4f - }; - obj51.Steps = list67; - reference51 = obj51; - ref QuestSequence reference52 = ref span21[5]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Interact, 1001708u, new Vector3(-250.3548f, 18f, 80.88806f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAlchemist, - To = EAetheryteLocation.UldahThaumaturge - } - }; - obj52.Steps = list68; - reference52 = obj52; - ref QuestSequence reference53 = ref span21[6]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1001708u, new Vector3(-250.3548f, 18f, 80.88806f), 130); - obj53.Steps = list69; - reference53 = obj53; - ref QuestSequence reference54 = ref span21[7]; - QuestSequence obj54 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006752u, new Vector3(87.5105f, 18f, 113.725464f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahThaumaturge, - To = EAetheryteLocation.UldahWeaver - } - }; - obj54.Steps = list70; - reference54 = obj54; - questRoot8.QuestSequence = list61; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(3218); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - CollectionsMarshal.AsSpan(list71)[0] = "plogon_enjoyer"; - questRoot9.Author = list71; - num = 10; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - Span span23 = CollectionsMarshal.AsSpan(list72); - ref QuestSequence reference55 = ref span23[0]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006757u, new Vector3(-4.4709473f, 44.999886f, -250.56848f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - obj55.Steps = list73; - reference55 = obj55; - ref QuestSequence reference56 = ref span23[1]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - Span span24 = CollectionsMarshal.AsSpan(list74); - span24[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(207.67957f, -3.224134f, 42.683086f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - span24[1] = new QuestStep(EInteractionType.Interact, 1043098u, new Vector3(206.0426f, -3.111818f, 41.94702f), 139); - obj56.Steps = list74; - reference56 = obj56; - ref QuestSequence reference57 = ref span23[2]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - ref QuestStep reference58 = ref CollectionsMarshal.AsSpan(list75)[0]; - QuestStep obj58 = new QuestStep(EInteractionType.Combat, 2009742u, new Vector3(69.565796f, 17.807251f, 234.88208f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - CollectionsMarshal.AsSpan(list76)[0] = 10832u; - obj58.KillEnemyDataIds = list76; - reference58 = obj58; - obj57.Steps = list75; - reference57 = obj57; - ref QuestSequence reference59 = ref span23[3]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - Span span25 = CollectionsMarshal.AsSpan(list77); - span25[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(207.67957f, -3.224134f, 42.683086f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - span25[1] = new QuestStep(EInteractionType.Interact, 1043098u, new Vector3(206.0426f, -3.111818f, 41.94702f), 139); - obj59.Steps = list77; - reference59 = obj59; - ref QuestSequence reference60 = ref span23[4]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.Interact, 1031208u, new Vector3(206.80542f, -3.065022f, 43.83911f), 139); - obj60.Steps = list78; - reference60 = obj60; - ref QuestSequence reference61 = ref span23[5]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - Span span26 = CollectionsMarshal.AsSpan(list79); - span26[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-277.67575f, 64.18076f, -163.79219f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - span26[1] = new QuestStep(EInteractionType.Interact, 1028097u, new Vector3(-276.56976f, 64.43479f, -161.18109f), 180); - obj61.Steps = list79; - reference61 = obj61; - ref QuestSequence reference62 = ref span23[6]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - Span span27 = CollectionsMarshal.AsSpan(list80); - span27[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(207.67957f, -3.224134f, 42.683086f), 139) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - span27[1] = new QuestStep(EInteractionType.Interact, 1043098u, new Vector3(206.0426f, -3.111818f, 41.94702f), 139); - obj62.Steps = list80; - reference62 = obj62; - ref QuestSequence reference63 = ref span23[7]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.Interact, 1031208u, new Vector3(206.80542f, -3.065022f, 43.83911f), 139); - obj63.Steps = list81; - reference63 = obj63; - ref QuestSequence reference64 = ref span23[8]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.Interact, 1028373u, new Vector3(207.53784f, -3.049824f, 43.22876f), 139); - obj64.Steps = list82; - reference64 = obj64; - ref QuestSequence reference65 = ref span23[9]; - QuestSequence obj65 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.CompleteQuest, 1043098u, new Vector3(206.0426f, -3.111818f, 41.94702f), 139); - obj65.Steps = list83; - reference65 = obj65; - questRoot9.QuestSequence = list72; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(3219); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - CollectionsMarshal.AsSpan(list84)[0] = "plogon_enjoyer"; - questRoot10.Author = list84; - num = 8; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - Span span28 = CollectionsMarshal.AsSpan(list85); - ref QuestSequence reference66 = ref span28[0]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - Span span29 = CollectionsMarshal.AsSpan(list86); - span29[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport - }; - span29[1] = new QuestStep(EInteractionType.AcceptQuest, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137); - obj66.Steps = list86; - reference66 = obj66; - ref QuestSequence reference67 = ref span28[1]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.Interact, 1030049u, new Vector3(-349.50793f, 57.270435f, -393.0572f), 180) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - obj67.Steps = list87; - reference67 = obj67; - ref QuestSequence reference68 = ref span28[2]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 2010173u, new Vector3(-310.0786f, 5.5999756f, -564.0803f), 180) - { - Fly = true - }; - obj68.Steps = list88; - reference68 = obj68; - ref QuestSequence reference69 = ref span28[3]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - Span span30 = CollectionsMarshal.AsSpan(list89); - span30[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-302.34204f, 4.9819174f, -570.3643f), 180) - { - Mount = true - }; - span30[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-308.3169f, 5.7642717f, -571.4899f), 180); - span30[2] = new QuestStep(EInteractionType.Interact, 2010175u, new Vector3(-302.72375f, 9.750427f, -578.02704f), 180) - { - Fly = true - }; - obj69.Steps = list89; - reference69 = obj69; - ref QuestSequence reference70 = ref span28[4]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - Span span31 = CollectionsMarshal.AsSpan(list90); - span31[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-306.7621f, 5.7733507f, -570.97736f), 180); - span31[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-302.3223f, 4.976821f, -570.7108f), 180); - span31[2] = new QuestStep(EInteractionType.Interact, 2010180u, new Vector3(-349.50793f, 57.236572f, -393.0572f), 180) - { - Fly = true - }; - obj70.Steps = list90; - reference70 = obj70; - ref QuestSequence reference71 = ref span28[5]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - Span span32 = CollectionsMarshal.AsSpan(list91); - span32[0] = new QuestStep(EInteractionType.Interact, 1010601u, new Vector3(-14.755493f, 41.39178f, 258.13684f), 137) - { - TargetTerritoryId = (ushort)137, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport - }; - span32[1] = new QuestStep(EInteractionType.Interact, 1010139u, new Vector3(-33.218933f, -24.674446f, 257.98413f), 137); - obj71.Steps = list91; - reference71 = obj71; - ref QuestSequence reference72 = ref span28[6]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.Interact, 2010181u, new Vector3(-77.28699f, 40.97046f, -138.78088f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaCulinarian - } - }; - obj72.Steps = list92; - reference72 = obj72; - ref QuestSequence reference73 = ref span28[7]; - QuestSequence obj73 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030053u, new Vector3(-153.67358f, -129.4397f, 264.60657f), 129); - obj73.Steps = list93; - reference73 = obj73; - questRoot10.QuestSequence = list85; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(3220); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - CollectionsMarshal.AsSpan(list94)[0] = "plogon_enjoyer"; - questRoot11.Author = list94; - num = 8; - List list95 = new List(num); - CollectionsMarshal.SetCount(list95, num); - Span span33 = CollectionsMarshal.AsSpan(list95); - ref QuestSequence reference74 = ref span33[0]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.AcceptQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj74.Steps = list96; - reference74 = obj74; - ref QuestSequence reference75 = ref span33[1]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.Interact, 2009739u, new Vector3(-116.44165f, 15.121643f, -53.574463f), 418); - obj75.Steps = list97; - reference75 = obj75; - ref QuestSequence reference76 = ref span33[2]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.Interact, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418); - obj76.Steps = list98; - reference76 = obj76; - ref QuestSequence reference77 = ref span33[3]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 1014803u, new Vector3(484.39758f, 212.5841f, 724.2999f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj77.Steps = list99; - reference77 = obj77; - ref QuestSequence reference78 = ref span33[4]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.Interact, 2009740u, new Vector3(348.01245f, 158.34277f, 153.03271f), 397) - { - Fly = true - }; - obj78.Steps = list100; - reference78 = obj78; - ref QuestSequence reference79 = ref span33[5]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - ref QuestStep reference80 = ref CollectionsMarshal.AsSpan(list101)[0]; - QuestStep obj80 = new QuestStep(EInteractionType.Combat, 2009741u, new Vector3(504.72266f, 121.62964f, 162.005f), 397) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - CollectionsMarshal.AsSpan(list102)[0] = 10833u; - obj80.KillEnemyDataIds = list102; - reference80 = obj80; - obj79.Steps = list101; - reference79 = obj79; - ref QuestSequence reference81 = ref span33[6]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.Interact, 1028096u, new Vector3(343.00745f, 158.52606f, 152.75806f), 397) - { - Fly = true - }; - obj81.Steps = list103; - reference81 = obj81; - ref QuestSequence reference82 = ref span33[7]; - QuestSequence obj82 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.CompleteQuest, 1014577u, new Vector3(-154.31458f, 16.999992f, -53.3609f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - obj82.Steps = list104; - reference82 = obj82; - questRoot11.QuestSequence = list95; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(3221); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list105 = new List(num); - CollectionsMarshal.SetCount(list105, num); - CollectionsMarshal.AsSpan(list105)[0] = "plogon_enjoyer"; - questRoot12.Author = list105; - num = 9; - List list106 = new List(num); - CollectionsMarshal.SetCount(list106, num); - Span span34 = CollectionsMarshal.AsSpan(list106); - ref QuestSequence reference83 = ref span34[0]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - ref QuestStep reference84 = ref CollectionsMarshal.AsSpan(list107)[0]; - QuestStep obj84 = new QuestStep(EInteractionType.AcceptQuest, 1013969u, new Vector3(104.234375f, 14.999986f, 40.787354f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - CollectionsMarshal.AsSpan(list108)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKBC012_03221_Q1_000_002"), - Answer = new ExcelRef("TEXT_LUCKBC012_03221_A1_000_003") - }; - obj84.DialogueChoices = list108; - reference84 = obj84; - obj83.Steps = list107; - reference83 = obj83; - ref QuestSequence reference85 = ref span34[1]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.Interact, 2009976u, new Vector3(102.92212f, 15.915161f, 39.414062f), 418); - obj85.Steps = list109; - reference85 = obj85; - ref QuestSequence reference86 = ref span34[2]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.Interact, 1030087u, new Vector3(-182.51324f, 2.0332975f, -5.56958f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - obj86.Steps = list110; - reference86 = obj86; - ref QuestSequence reference87 = ref span34[3]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.Interact, 1030088u, new Vector3(104.93628f, 34.72381f, 10.208252f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSkysteelManufactory, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj87.Steps = list111; - reference87 = obj87; - ref QuestSequence reference88 = ref span34[4]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.Interact, 1019486u, new Vector3(-116.746826f, 0.6342248f, -55.832825f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReach, - To = EAetheryteLocation.RhalgrsReachWest - } - }; - obj88.Steps = list112; - reference88 = obj88; - ref QuestSequence reference89 = ref span34[5]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.Interact, 1006215u, new Vector3(-227.34424f, 26.16842f, -352.98694f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - obj89.Steps = list113; - reference89 = obj89; - ref QuestSequence reference90 = ref span34[6]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.Interact, 1030089u, new Vector3(433.31042f, 68.09681f, -184.2832f), 135) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaTempestGate - } - }; - obj90.Steps = list114; - reference90 = obj90; - ref QuestSequence reference91 = ref span34[7]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.Say, 2009979u, new Vector3(-95.10956f, 298.63428f, -212.54297f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardGatesOfJudgement - }, - ChatMessage = new ChatMessage - { - Key = "TEXT_LUCKBC012_03221_SYSTEM_000_0160" - } - }; - obj91.Steps = list115; - reference91 = obj91; - ref QuestSequence reference92 = ref span34[8]; - QuestSequence obj92 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - ref QuestStep reference93 = ref CollectionsMarshal.AsSpan(list116)[0]; - QuestStep obj93 = new QuestStep(EInteractionType.CompleteQuest, 1013969u, new Vector3(104.234375f, 14.999986f, 40.787354f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - num3 = 1; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - CollectionsMarshal.AsSpan(list117)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKBC012_03221_Q3_000_192"), - Answer = new ExcelRef("TEXT_LUCKBC012_03221_A3_000_193") - }; - obj93.DialogueChoices = list117; - reference93 = obj93; - obj92.Steps = list116; - reference92 = obj92; - questRoot12.QuestSequence = list106; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(3222); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - CollectionsMarshal.AsSpan(list118)[0] = "plogon_enjoyer"; - questRoot13.Author = list118; - num = 8; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - Span span35 = CollectionsMarshal.AsSpan(list119); - ref QuestSequence reference94 = ref span35[0]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012222u, new Vector3(202.38037f, -5.3999662f, -58.9151f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - obj94.Steps = list120; - reference94 = obj94; - ref QuestSequence reference95 = ref span35[1]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.Interact, 1021255u, new Vector3(-0.35101318f, 11.965101f, 45.029297f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardAthenaeumAstrologicum, - To = EAetheryteLocation.IshgardLastVigil - } - }; - obj95.Steps = list121; - reference95 = obj95; - ref QuestSequence reference96 = ref span35[2]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.Interact, 1028385u, new Vector3(-48.17273f, 8.05915f, 15.762573f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardLastVigil, - To = EAetheryteLocation.Ishgard - } - }; - obj96.Steps = list122; - reference96 = obj96; - ref QuestSequence reference97 = ref span35[3]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.Interact, 1028386u, new Vector3(199.17603f, -5.3999653f, -57.38922f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - obj97.Steps = list123; - reference97 = obj97; - ref QuestSequence reference98 = ref span35[4]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.Interact, 1028388u, new Vector3(-4.989685f, 27.716667f, -130.9682f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardAthenaeumAstrologicum, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - } - }; - obj98.Steps = list124; - reference98 = obj98; - ref QuestSequence reference99 = ref span35[5]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - Span span36 = CollectionsMarshal.AsSpan(list125); - span36[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(243.48306f, 324.1f, -301.10074f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span36[1] = new QuestStep(EInteractionType.Interact, 1028390u, new Vector3(244.64783f, 323.99997f, -303.3036f), 155); - obj99.Steps = list125; - reference99 = obj99; - ref QuestSequence reference100 = ref span35[6]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.Action, 1028390u, new Vector3(244.64783f, 323.99997f, -303.3036f), 155) - { - DelaySecondsAtStart = 2f, - Action = EAction.AspectedBenefic - }; - obj100.Steps = list126; - reference100 = obj100; - ref QuestSequence reference101 = ref span35[7]; - QuestSequence obj101 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.CompleteQuest, 1028391u, new Vector3(199.4812f, -5.3999653f, -60.44104f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - obj101.Steps = list127; - reference101 = obj101; - questRoot13.QuestSequence = list119; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(3223); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - CollectionsMarshal.AsSpan(list128)[0] = "plogon_enjoyer"; - questRoot14.Author = list128; - num = 6; - List list129 = new List(num); - CollectionsMarshal.SetCount(list129, num); - Span span37 = CollectionsMarshal.AsSpan(list129); - ref QuestSequence reference102 = ref span37[0]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.AcceptQuest, 1022184u, new Vector3(129.71692f, 15f, -157.61047f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - } - }; - obj102.Steps = list130; - reference102 = obj102; - ref QuestSequence reference103 = ref span37[1]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.Interact, 1030622u, new Vector3(39.04773f, 8f, -119.76807f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj103.Steps = list131; - reference103 = obj103; - ref QuestSequence reference104 = ref span37[2]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.Interact, 1030057u, new Vector3(-218.15833f, 31.684015f, 380.51416f), 140) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahGateOfTheSultana - } - }; - obj104.Steps = list132; - reference104 = obj104; - ref QuestSequence reference105 = ref span37[3]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.Interact, 1022189u, new Vector3(-312.67267f, 33.089348f, 446.5553f), 140) - { - Fly = true - }; - obj105.Steps = list133; - reference105 = obj105; - ref QuestSequence reference106 = ref span37[4]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.Interact, 1030058u, new Vector3(-301.04523f, 13.9837475f, 292.8053f), 140) - { - Fly = true - }; - obj106.Steps = list134; - reference106 = obj106; - ref QuestSequence reference107 = ref span37[5]; - QuestSequence obj107 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030622u, new Vector3(39.04773f, 8f, -119.76807f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj107.Steps = list135; - reference107 = obj107; - questRoot14.QuestSequence = list129; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(3224); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list136 = new List(num); - CollectionsMarshal.SetCount(list136, num); - CollectionsMarshal.AsSpan(list136)[0] = "plogon_enjoyer"; - questRoot15.Author = list136; - num = 10; - List list137 = new List(num); - CollectionsMarshal.SetCount(list137, num); - Span span38 = CollectionsMarshal.AsSpan(list137); - ref QuestSequence reference108 = ref span38[0]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.AcceptQuest, 1023610u, new Vector3(55.313843f, 20.397943f, -676.3562f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj108.Steps = list138; - reference108 = obj108; - ref QuestSequence reference109 = ref span38[1]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.Interact, 1028372u, new Vector3(599.23694f, 80.00001f, 623.07153f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter - }; - obj109.Steps = list139; - reference109 = obj109; - ref QuestSequence reference110 = ref span38[2]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.Interact, 1028374u, new Vector3(274.76917f, 10.572342f, -543.05334f), 621) - { - Fly = true - }; - obj110.Steps = list140; - reference110 = obj110; - ref QuestSequence reference111 = ref span38[3]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - ref QuestStep reference112 = ref CollectionsMarshal.AsSpan(list141)[0]; - QuestStep obj112 = new QuestStep(EInteractionType.Interact, 1028379u, new Vector3(81.49841f, 10f, -574.2123f), 621) - { - Fly = true - }; - num3 = 1; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - CollectionsMarshal.AsSpan(list142)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKBC015_03224_Q1_000_100"), - Answer = new ExcelRef("TEXT_LUCKBC015_03224_A1_000_101") - }; - obj112.DialogueChoices = list142; - reference112 = obj112; - obj111.Steps = list141; - reference111 = obj111; - ref QuestSequence reference113 = ref span38[4]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - ref QuestStep reference114 = ref CollectionsMarshal.AsSpan(list143)[0]; - QuestStep obj114 = new QuestStep(EInteractionType.Combat, 1030849u, new Vector3(124.40674f, 10f, -515.58716f), 621) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - Span span39 = CollectionsMarshal.AsSpan(list144); - span39[0] = 10834u; - span39[1] = 10835u; - obj114.KillEnemyDataIds = list144; - reference114 = obj114; - obj113.Steps = list143; - reference113 = obj113; - ref QuestSequence reference115 = ref span38[5]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.Interact, 1028374u, new Vector3(274.76917f, 10.572342f, -543.05334f), 621) - { - Fly = true - }; - obj115.Steps = list145; - reference115 = obj115; - ref QuestSequence reference116 = ref span38[6]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.Interact, 1028376u, new Vector3(-790.7988f, 78.22368f, -699.5804f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria - }; - obj116.Steps = list146; - reference116 = obj116; - ref QuestSequence reference117 = ref span38[7]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.Interact, 1028377u, new Vector3(51.346558f, 24.662476f, -787.9301f), 621) - { - Fly = true - }; - obj117.Steps = list147; - reference117 = obj117; - ref QuestSequence reference118 = ref span38[8]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.Interact, 1028377u, new Vector3(51.346558f, 24.662476f, -787.9301f), 621); - obj118.Steps = list148; - reference118 = obj118; - ref QuestSequence reference119 = ref span38[9]; - QuestSequence obj119 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030677u, new Vector3(55.313843f, 20.397943f, -676.3562f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj119.Steps = list149; - reference119 = obj119; - questRoot15.QuestSequence = list137; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(3225); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list150 = new List(num); - CollectionsMarshal.SetCount(list150, num); - CollectionsMarshal.AsSpan(list150)[0] = "liza"; - questRoot16.Author = list150; - num = 7; - List list151 = new List(num); - CollectionsMarshal.SetCount(list151, num); - Span span40 = CollectionsMarshal.AsSpan(list151); - ref QuestSequence reference120 = ref span40[0]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - ref QuestStep reference121 = ref CollectionsMarshal.AsSpan(list152)[0]; - QuestStep obj121 = new QuestStep(EInteractionType.AcceptQuest, 1029122u, new Vector3(17.746216f, 20.687263f, -660.12054f), 156) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - CollectionsMarshal.AsSpan(list153)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKBC016_03225_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKBC016_03225_A1_000_002") - }; - obj121.DialogueChoices = list153; - reference121 = obj121; - obj120.Steps = list152; - reference120 = obj120; - ref QuestSequence reference122 = ref span40[1]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.Interact, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAirship - } - }; - obj122.Steps = list154; - reference122 = obj122; - ref QuestSequence reference123 = ref span40[2]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.Interact, 1029127u, new Vector3(154.68066f, 4.0999947f, 31.662354f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahSapphireAvenue - } - }; - obj123.Steps = list155; - reference123 = obj123; - ref QuestSequence reference124 = ref span40[3]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.Interact, 1029078u, new Vector3(-0.07635498f, 20.333344f, -6.3935547f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa - }; - obj124.Steps = list156; - reference124 = obj124; - ref QuestSequence reference125 = ref span40[4]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.Interact, 1029103u, new Vector3(-151.59845f, 23.14059f, -75.60846f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - obj125.Steps = list157; - reference125 = obj125; - ref QuestSequence reference126 = ref span40[5]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.Interact, 1029128u, new Vector3(134.844f, 350.86508f, -386.1906f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj126.Steps = list158; - reference126 = obj126; - ref QuestSequence reference127 = ref span40[6]; - QuestSequence obj127 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029122u, new Vector3(17.746216f, 20.687263f, -660.12054f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj127.Steps = list159; - reference127 = obj127; - questRoot16.QuestSequence = list151; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(3226); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list160 = new List(num); - CollectionsMarshal.SetCount(list160, num); - CollectionsMarshal.AsSpan(list160)[0] = "liza"; - questRoot17.Author = list160; - num = 6; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - Span span41 = CollectionsMarshal.AsSpan(list161); - ref QuestSequence reference128 = ref span41[0]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - ref QuestStep reference129 = ref CollectionsMarshal.AsSpan(list162)[0]; - QuestStep obj129 = new QuestStep(EInteractionType.AcceptQuest, 1028738u, new Vector3(-104.32593f, 5.999999f, 195.97156f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list163 = new List(num3); - CollectionsMarshal.SetCount(list163, num3); - CollectionsMarshal.AsSpan(list163)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKBC017_03226_Q1_000_500"), - Answer = new ExcelRef("TEXT_LUCKBC017_03226_A1_000_500") - }; - obj129.DialogueChoices = list163; - reference129 = obj129; - obj128.Steps = list162; - reference128 = obj128; - ref QuestSequence reference130 = ref span41[1]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.Interact, 1028795u, new Vector3(-187.73181f, 46.387943f, -75.33386f), 134) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MiddleLaNosceaSummerfordFarms - }; - obj130.Steps = list164; - reference130 = obj130; - ref QuestSequence reference131 = ref span41[2]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.Interact, 1028797u, new Vector3(-187.73181f, 46.394768f, -75.39484f), 134); - obj131.Steps = list165; - reference131 = obj131; - ref QuestSequence reference132 = ref span41[3]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - ref QuestStep reference133 = ref CollectionsMarshal.AsSpan(list166)[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1028797u, new Vector3(-187.73181f, 46.394768f, -75.39484f), 134); - num3 = 1; - List list167 = new List(num3); - CollectionsMarshal.SetCount(list167, num3); - CollectionsMarshal.AsSpan(list167)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKBC017_03226_Q1_000_100"), - Answer = new ExcelRef("TEXT_LUCKBC017_03226_A2_000_100") - }; - questStep.DialogueChoices = list167; - reference133 = questStep; - obj132.Steps = list166; - reference132 = obj132; - ref QuestSequence reference134 = ref span41[4]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - ref QuestStep reference135 = ref CollectionsMarshal.AsSpan(list168)[0]; - QuestStep obj134 = new QuestStep(EInteractionType.Interact, 1028798u, new Vector3(-70.38995f, 20.000332f, 45.334473f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa - }; - num3 = 1; - List list169 = new List(num3); - CollectionsMarshal.SetCount(list169, num3); - CollectionsMarshal.AsSpan(list169)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKBC017_03226_Q1_000_200"), - Answer = new ExcelRef("TEXT_LUCKBC017_03226_A1_000_200") - }; - obj134.DialogueChoices = list169; - reference135 = obj134; - obj133.Steps = list168; - reference134 = obj133; - ref QuestSequence reference136 = ref span41[5]; - QuestSequence obj135 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031099u, new Vector3(-104.631165f, 5.999999f, 197.4364f), 129); - obj135.Steps = list170; - reference136 = obj135; - questRoot17.QuestSequence = list161; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(3228); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - CollectionsMarshal.AsSpan(list171)[0] = "plogon_enjoyer"; - questRoot18.Author = list171; - num = 6; - List list172 = new List(num); - CollectionsMarshal.SetCount(list172, num); - Span span42 = CollectionsMarshal.AsSpan(list172); - ref QuestSequence reference137 = ref span42[0]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - ref QuestStep reference138 = ref CollectionsMarshal.AsSpan(list173)[0]; - QuestStep obj137 = new QuestStep(EInteractionType.AcceptQuest, 1027233u, new Vector3(9.292725f, 20.186f, -124.55945f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumCrystallineMean - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }, - AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 2; - List list174 = new List(num3); - CollectionsMarshal.SetCount(list174, num3); - Span span43 = CollectionsMarshal.AsSpan(list174); - span43[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKLA102_03228_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKLA102_03228_A1_000_001") - }; - span43[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKLA102_03228_Q2_000_000"), - Answer = new ExcelRef("TEXT_LUCKLA102_03228_A2_000_001") - }; - obj137.DialogueChoices = list174; - reference138 = obj137; - obj136.Steps = list173; - reference137 = obj136; - ref QuestSequence reference139 = ref span42[1]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.Interact, 1028450u, new Vector3(-311.94025f, 113.85077f, -824.4602f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandOstallImperative - }; - obj138.Steps = list175; - reference139 = obj138; - ref QuestSequence reference140 = ref span42[2]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - CollectionsMarshal.AsSpan(list176)[0] = new QuestStep(EInteractionType.Interact, 1028451u, new Vector3(-138.96393f, 58.34806f, -670.6798f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegPlaEnni - }; - obj139.Steps = list176; - reference140 = obj139; - ref QuestSequence reference141 = ref span42[3]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.Interact, 1028452u, new Vector3(-14.511353f, 104.487236f, -861.6312f), 816) - { - Fly = true - }; - obj140.Steps = list177; - reference141 = obj140; - ref QuestSequence reference142 = ref span42[4]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.Interact, 1027233u, new Vector3(9.292725f, 20.186f, -124.55945f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumCrystallineMean - } - }; - obj141.Steps = list178; - reference142 = obj141; - ref QuestSequence reference143 = ref span42[5]; - QuestSequence obj142 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - Span span44 = CollectionsMarshal.AsSpan(list179); - span44[0] = new QuestStep(EInteractionType.Craft, null, null, 819) - { - ItemId = 27237u, - ItemCount = 1 - }; - span44[1] = new QuestStep(EInteractionType.CompleteQuest, 1027233u, new Vector3(9.292725f, 20.186f, -124.55945f), 819); - obj142.Steps = list179; - reference143 = obj142; - questRoot18.QuestSequence = list172; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(3229); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list180 = new List(num); - CollectionsMarshal.SetCount(list180, num); - CollectionsMarshal.AsSpan(list180)[0] = "plogon_enjoyer"; - questRoot19.Author = list180; - num = 6; - List list181 = new List(num); - CollectionsMarshal.SetCount(list181, num); - Span span45 = CollectionsMarshal.AsSpan(list181); - ref QuestSequence reference144 = ref span45[0]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027233u, new Vector3(9.292725f, 20.186f, -124.55945f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumCrystallineMean - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }, - AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj143.Steps = list182; - reference144 = obj143; - ref QuestSequence reference145 = ref span45[1]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - CollectionsMarshal.AsSpan(list183)[0] = new QuestStep(EInteractionType.Interact, 1028454u, new Vector3(-17.441101f, 3.9998174f, 191.94324f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumCrystallineMean, - To = EAetheryteLocation.CrystariumMarkets - } - }; - obj144.Steps = list183; - reference145 = obj144; - ref QuestSequence reference146 = ref span45[2]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - Span span46 = CollectionsMarshal.AsSpan(list184); - span46[0] = new QuestStep(EInteractionType.Craft, null, null, 819) - { - ItemId = 27239u, - ItemCount = 1 - }; - span46[1] = new QuestStep(EInteractionType.Interact, 1028454u, new Vector3(-17.441101f, 3.9998174f, 191.94324f), 819); - obj145.Steps = list184; - reference146 = obj145; - ref QuestSequence reference147 = ref span45[3]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.Interact, 1028458u, new Vector3(-96.665955f, -4.200001f, 133.1654f), 819); - obj146.Steps = list185; - reference147 = obj146; - ref QuestSequence reference148 = ref span45[4]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.Interact, 1028454u, new Vector3(-17.441101f, 3.9998174f, 191.94324f), 819); - obj147.Steps = list186; - reference148 = obj147; - ref QuestSequence reference149 = ref span45[5]; - QuestSequence obj148 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027233u, new Vector3(9.292725f, 20.186f, -124.55945f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumMarkets, - To = EAetheryteLocation.CrystariumCrystallineMean - } - }; - obj148.Steps = list187; - reference149 = obj148; - questRoot19.QuestSequence = list181; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(3232); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list188 = new List(num); - CollectionsMarshal.SetCount(list188, num); - CollectionsMarshal.AsSpan(list188)[0] = "plogon_enjoyer"; - questRoot20.Author = list188; - num = 6; - List list189 = new List(num); - CollectionsMarshal.SetCount(list189, num); - Span span47 = CollectionsMarshal.AsSpan(list189); - ref QuestSequence reference150 = ref span47[0]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027234u, new Vector3(10.2387085f, 20.185999f, -138.2315f), 819); - obj149.Steps = list190; - reference150 = obj149; - ref QuestSequence reference151 = ref span47[1]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - ref QuestStep reference152 = ref CollectionsMarshal.AsSpan(list191)[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1028326u, new Vector3(10.940674f, 20.186f, -142.53455f), 819); - num3 = 1; - List list192 = new List(num3); - CollectionsMarshal.SetCount(list192, num3); - CollectionsMarshal.AsSpan(list192)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKLA203_03232_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKLA203_03232_A1_000_001") - }; - questStep2.DialogueChoices = list192; - reference152 = questStep2; - obj150.Steps = list191; - reference151 = obj150; - ref QuestSequence reference153 = ref span47[2]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - Span span48 = CollectionsMarshal.AsSpan(list193); - span48[0] = new QuestStep(EInteractionType.Craft, null, null, 819) - { - ItemId = 27247u, - ItemCount = 1 - }; - span48[1] = new QuestStep(EInteractionType.Interact, 1027234u, new Vector3(10.2387085f, 20.185999f, -138.2315f), 819); - obj151.Steps = list193; - reference153 = obj151; - ref QuestSequence reference154 = ref span47[3]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.Interact, 1028438u, new Vector3(-55.832825f, 3.9998174f, 198.6571f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumCrystallineMean, - To = EAetheryteLocation.CrystariumMarkets - } - }; - obj152.Steps = list194; - reference154 = obj152; - ref QuestSequence reference155 = ref span47[4]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.Interact, 1028438u, new Vector3(-55.832825f, 3.9998174f, 198.6571f), 819); - obj153.Steps = list195; - reference155 = obj153; - ref QuestSequence reference156 = ref span47[5]; - QuestSequence obj154 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027234u, new Vector3(10.2387085f, 20.185999f, -138.2315f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumMarkets, - To = EAetheryteLocation.CrystariumCrystallineMean - } - }; - obj154.Steps = list196; - reference156 = obj154; - questRoot20.QuestSequence = list189; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(3234); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list197 = new List(num); - CollectionsMarshal.SetCount(list197, num); - CollectionsMarshal.AsSpan(list197)[0] = "plogon_enjoyer"; - questRoot21.Author = list197; - num = 7; - List list198 = new List(num); - CollectionsMarshal.SetCount(list198, num); - Span span49 = CollectionsMarshal.AsSpan(list198); - ref QuestSequence reference157 = ref span49[0]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - CollectionsMarshal.AsSpan(list199)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027235u, new Vector3(-19.516357f, 20.186f, -130.1748f), 819); - obj155.Steps = list199; - reference157 = obj155; - ref QuestSequence reference158 = ref span49[1]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.Interact, 1028484u, new Vector3(-129.35083f, 0f, -62.912964f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumCrystallineMean, - To = EAetheryteLocation.CrystariumTemenosRookery - } - }; - obj156.Steps = list200; - reference158 = obj156; - ref QuestSequence reference159 = ref span49[2]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.Say, 1028484u, new Vector3(-129.35083f, 0f, -62.912964f), 819) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_LUCKLA302_03234_SAYTODO_000_013" - } - }; - obj157.Steps = list201; - reference159 = obj157; - ref QuestSequence reference160 = ref span49[3]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - Span span50 = CollectionsMarshal.AsSpan(list202); - span50[0] = new QuestStep(EInteractionType.Craft, null, null, 819) - { - ItemId = 27253u, - ItemCount = 1 - }; - span50[1] = new QuestStep(EInteractionType.Interact, 1030659u, new Vector3(-131.15137f, 0f, -65.53754f), 819); - obj158.Steps = list202; - reference160 = obj158; - ref QuestSequence reference161 = ref span49[4]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.Interact, 1028485u, new Vector3(-492.3934f, 69.70277f, 570.18384f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj159.Steps = list203; - reference161 = obj159; - ref QuestSequence reference162 = ref span49[5]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.Interact, 1028487u, new Vector3(337.84998f, 87.30014f, -710.65845f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegWolekdorf - }; - obj160.Steps = list204; - reference162 = obj160; - ref QuestSequence reference163 = ref span49[6]; - QuestSequence obj161 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027235u, new Vector3(-19.516357f, 20.186f, -130.1748f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumCrystallineMean - } - }; - obj161.Steps = list205; - reference163 = obj161; - questRoot21.QuestSequence = list198; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(3235); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list206 = new List(num); - CollectionsMarshal.SetCount(list206, num); - CollectionsMarshal.AsSpan(list206)[0] = "plogon_enjoyer"; - questRoot22.Author = list206; - num = 7; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - Span span51 = CollectionsMarshal.AsSpan(list207); - ref QuestSequence reference164 = ref span51[0]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027235u, new Vector3(-19.516357f, 20.186f, -130.1748f), 819); - obj162.Steps = list208; - reference164 = obj162; - ref QuestSequence reference165 = ref span51[1]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.Interact, 1030659u, new Vector3(-131.15137f, 0f, -65.53754f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumCrystallineMean, - To = EAetheryteLocation.CrystariumTemenosRookery - } - }; - obj163.Steps = list209; - reference165 = obj163; - ref QuestSequence reference166 = ref span51[2]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - Span span52 = CollectionsMarshal.AsSpan(list210); - span52[0] = new QuestStep(EInteractionType.Craft, null, null, 819) - { - ItemId = 27255u, - ItemCount = 1 - }; - span52[1] = new QuestStep(EInteractionType.Interact, 1030659u, new Vector3(-131.15137f, 0f, -65.53754f), 819); - obj164.Steps = list210; - reference166 = obj164; - ref QuestSequence reference167 = ref span51[3]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - CollectionsMarshal.AsSpan(list211)[0] = new QuestStep(EInteractionType.Interact, 1028489u, new Vector3(355.42847f, 3.8289368f, 224.17017f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandFortJobb - }; - obj165.Steps = list211; - reference167 = obj165; - ref QuestSequence reference168 = ref span51[4]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - CollectionsMarshal.AsSpan(list212)[0] = new QuestStep(EInteractionType.Interact, 1028491u, new Vector3(29.251465f, 36.20521f, -207.38544f), 819); - obj166.Steps = list212; - reference168 = obj166; - ref QuestSequence reference169 = ref span51[5]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - CollectionsMarshal.AsSpan(list213)[0] = new QuestStep(EInteractionType.Interact, 1030659u, new Vector3(-131.15137f, 0f, -65.53754f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumAmaroLaunch, - To = EAetheryteLocation.CrystariumTemenosRookery - } - }; - obj167.Steps = list213; - reference169 = obj167; - ref QuestSequence reference170 = ref span51[6]; - QuestSequence obj168 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027235u, new Vector3(-19.516357f, 20.186f, -130.1748f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumTemenosRookery, - To = EAetheryteLocation.CrystariumCrystallineMean - } - }; - obj168.Steps = list214; - reference170 = obj168; - questRoot22.QuestSequence = list207; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(3243); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list215 = new List(num); - CollectionsMarshal.SetCount(list215, num); - CollectionsMarshal.AsSpan(list215)[0] = "liza"; - questRoot23.Author = list215; - num = 7; - List list216 = new List(num); - CollectionsMarshal.SetCount(list216, num); - Span span53 = CollectionsMarshal.AsSpan(list216); - ref QuestSequence reference171 = ref span53[0]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029900u, new Vector3(-35.385742f, 3.9998174f, 251.75854f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumPendants - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj169.Steps = list217; - reference171 = obj169; - ref QuestSequence reference172 = ref span53[1]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - CollectionsMarshal.AsSpan(list218)[0] = new QuestStep(EInteractionType.Interact, 1029890u, new Vector3(738.796f, 22.936495f, 406.21033f), 813) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumPendants, - To = EAetheryteLocation.CrystariumTessellation - } - }; - obj170.Steps = list218; - reference172 = obj170; - ref QuestSequence reference173 = ref span53[2]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - Span span54 = CollectionsMarshal.AsSpan(list219); - span54[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(447.0961f, 13.008003f, 210.91484f), 813) - { - StopDistance = 0.25f, - JumpDestination = new JumpDestination - { - Position = new Vector3(448.69727f, 13.393556f, 205.00368f) - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - ref QuestStep reference174 = ref span54[1]; - QuestStep obj172 = new QuestStep(EInteractionType.Combat, 2009942u, new Vector3(453.4828f, 13.626221f, 189.44067f), 813) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list220 = new List(num3); - CollectionsMarshal.SetCount(list220, num3); - CollectionsMarshal.AsSpan(list220)[0] = 10853u; - obj172.KillEnemyDataIds = list220; - reference174 = obj172; - obj171.Steps = list219; - reference173 = obj171; - ref QuestSequence reference175 = ref span53[3]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.Interact, 1029891u, new Vector3(445.27344f, 13.409448f, 204.42505f), 813); - obj173.Steps = list221; - reference175 = obj173; - ref QuestSequence reference176 = ref span53[4]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - Span span55 = CollectionsMarshal.AsSpan(list222); - span55[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(412.249f, 7.472949f, 187.34154f), 813) - { - DisableNavmesh = true, - Mount = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - ref QuestStep reference177 = ref span55[1]; - QuestStep obj175 = new QuestStep(EInteractionType.Combat, 2009943u, new Vector3(633.6614f, 21.377869f, -267.93323f), 813) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list223 = new List(num3); - CollectionsMarshal.SetCount(list223, num3); - CollectionsMarshal.AsSpan(list223)[0] = 10854u; - obj175.KillEnemyDataIds = list223; - reference177 = obj175; - obj174.Steps = list222; - reference176 = obj174; - ref QuestSequence reference178 = ref span53[5]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.Interact, 1029892u, new Vector3(635.1262f, 20.257477f, -249.22565f), 813); - obj176.Steps = list224; - reference178 = obj176; - ref QuestSequence reference179 = ref span53[6]; - QuestSequence obj177 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029889u, new Vector3(-35.385742f, 3.9998174f, 251.75854f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumPendants - }, - NextQuestId = new QuestId(3244) - }; - obj177.Steps = list225; - reference179 = obj177; - questRoot23.QuestSequence = list216; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(3244); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list226 = new List(num); - CollectionsMarshal.SetCount(list226, num); - CollectionsMarshal.AsSpan(list226)[0] = "liza"; - questRoot24.Author = list226; - num = 4; - List list227 = new List(num); - CollectionsMarshal.SetCount(list227, num); - Span span56 = CollectionsMarshal.AsSpan(list227); - ref QuestSequence reference180 = ref span56[0]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029889u, new Vector3(-35.385742f, 3.9998174f, 251.75854f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumPendants - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj178.Steps = list228; - reference180 = obj178; - ref QuestSequence reference181 = ref span56[1]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.Interact, 1029893u, new Vector3(-248.34064f, 21.086334f, 346.0287f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaWright - }; - obj179.Steps = list229; - reference181 = obj179; - ref QuestSequence reference182 = ref span56[2]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - Span span57 = CollectionsMarshal.AsSpan(list230); - ref QuestStep reference183 = ref span57[0]; - QuestStep obj181 = new QuestStep(EInteractionType.Interact, 1029895u, new Vector3(-317.43347f, 19.407524f, 404.3794f), 814) - { - Fly = true - }; - num3 = 6; - List list231 = new List(num3); - CollectionsMarshal.SetCount(list231, num3); - Span span58 = CollectionsMarshal.AsSpan(list231); - span58[0] = null; - span58[1] = null; - span58[2] = null; - span58[3] = null; - span58[4] = null; - span58[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj181.CompletionQuestVariablesFlags = list231; - reference183 = obj181; - ref QuestStep reference184 = ref span57[1]; - QuestStep obj182 = new QuestStep(EInteractionType.Interact, 1029896u, new Vector3(-311.57397f, 17.772081f, 443.8086f), 814) - { - Mount = true, - Fly = true - }; - num3 = 6; - List list232 = new List(num3); - CollectionsMarshal.SetCount(list232, num3); - Span span59 = CollectionsMarshal.AsSpan(list232); - span59[0] = null; - span59[1] = null; - span59[2] = null; - span59[3] = null; - span59[4] = null; - span59[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj182.CompletionQuestVariablesFlags = list232; - reference184 = obj182; - obj180.Steps = list230; - reference182 = obj180; - ref QuestSequence reference185 = ref span56[3]; - QuestSequence obj183 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - CollectionsMarshal.AsSpan(list233)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029893u, new Vector3(-248.34064f, 21.086334f, 346.0287f), 814) - { - Fly = true, - NextQuestId = new QuestId(3245) - }; - obj183.Steps = list233; - reference185 = obj183; - questRoot24.QuestSequence = list227; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(3245); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list234 = new List(num); - CollectionsMarshal.SetCount(list234, num); - CollectionsMarshal.AsSpan(list234)[0] = "liza"; - questRoot25.Author = list234; - num = 10; - List list235 = new List(num); - CollectionsMarshal.SetCount(list235, num); - Span span60 = CollectionsMarshal.AsSpan(list235); - ref QuestSequence reference186 = ref span60[0]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029893u, new Vector3(-248.34064f, 21.086334f, 346.0287f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaWright, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-248.34064f, 21.086334f, 346.0287f), - MaximumDistance = 100f, - TerritoryId = 814 - } - } - } - }; - obj184.Steps = list236; - reference186 = obj184; - ref QuestSequence reference187 = ref span60[1]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - Span span61 = CollectionsMarshal.AsSpan(list237); - ref QuestStep reference188 = ref span61[0]; - QuestStep obj186 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(173.40976f, 58.977684f, 883.3417f), 814) - { - Fly = true - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list238 = new List(num3); - CollectionsMarshal.SetCount(list238, num3); - CollectionsMarshal.AsSpan(list238)[0] = 820; - skipStepConditions.InTerritory = list238; - skipStepConditions.AetheryteUnlocked = EAetheryteLocation.Eulmore; - skipConditions4.StepIf = skipStepConditions; - obj186.SkipConditions = skipConditions4; - reference188 = obj186; - span61[1] = new QuestStep(EInteractionType.Interact, 1029899u, new Vector3(34.561646f, 83.001076f, -67.00244f), 820) - { - AetheryteShortcut = EAetheryteLocation.Eulmore, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - AetheryteLocked = EAetheryteLocation.Eulmore - } - } - }; - obj185.Steps = list237; - reference187 = obj185; - ref QuestSequence reference189 = ref span60[2]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - CollectionsMarshal.AsSpan(list239)[0] = new QuestStep(EInteractionType.Interact, 1029893u, new Vector3(-248.34064f, 21.086334f, 346.0287f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaWright - }; - obj187.Steps = list239; - reference189 = obj187; - ref QuestSequence reference190 = ref span60[3]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - Span span62 = CollectionsMarshal.AsSpan(list240); - span62[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(271.6878f, 7.1558237f, -197.58272f), 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengMordSouq - }; - span62[1] = new QuestStep(EInteractionType.Interact, 1029898u, new Vector3(270.37463f, 7.1558247f, -196.30737f), 815); - obj188.Steps = list240; - reference190 = obj188; - ref QuestSequence reference191 = ref span60[4]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - Span span63 = CollectionsMarshal.AsSpan(list241); - ref QuestStep reference192 = ref span63[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1027876u, new Vector3(314.16797f, 1.4912677f, -255.60394f), 815); - num3 = 6; - List list242 = new List(num3); - CollectionsMarshal.SetCount(list242, num3); - Span span64 = CollectionsMarshal.AsSpan(list242); - span64[0] = null; - span64[1] = null; - span64[2] = null; - span64[3] = null; - span64[4] = null; - span64[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list242; - reference192 = questStep3; - ref QuestStep reference193 = ref span63[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1029951u, new Vector3(303.82227f, 1.4685826f, -292.89697f), 815); - num3 = 6; - List list243 = new List(num3); - CollectionsMarshal.SetCount(list243, num3); - Span span65 = CollectionsMarshal.AsSpan(list243); - span65[0] = null; - span65[1] = null; - span65[2] = null; - span65[3] = null; - span65[4] = null; - span65[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list243; - reference193 = questStep4; - obj189.Steps = list241; - reference191 = obj189; - ref QuestSequence reference194 = ref span60[5]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.Interact, 1029953u, new Vector3(241.19922f, 4.0297f, -289.601f), 815); - obj190.Steps = list244; - reference194 = obj190; - ref QuestSequence reference195 = ref span60[6]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.Interact, 2009944u, new Vector3(476.18823f, -44.87683f, 229.96863f), 815) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AmhAraengInnAtJourneysHead - }; - obj191.Steps = list245; - reference195 = obj191; - ref QuestSequence reference196 = ref span60[7]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - ref QuestStep reference197 = ref CollectionsMarshal.AsSpan(list246)[0]; - QuestStep obj193 = new QuestStep(EInteractionType.Combat, null, new Vector3(555.85315f, -50.899147f, 322.2599f), 815) - { - StopDistance = 0.25f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list247 = new List(num3); - CollectionsMarshal.SetCount(list247, num3); - CollectionsMarshal.AsSpan(list247)[0] = 10855u; - obj193.KillEnemyDataIds = list247; - reference197 = obj193; - obj192.Steps = list246; - reference196 = obj192; - ref QuestSequence reference198 = ref span60[8]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.Interact, 1029957u, new Vector3(293.04944f, -42.796906f, 251.75854f), 815) - { - Fly = true - }; - obj194.Steps = list248; - reference198 = obj194; - ref QuestSequence reference199 = ref span60[9]; - QuestSequence obj195 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - Span span66 = CollectionsMarshal.AsSpan(list249); - span66[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(296.43002f, 1.4685829f, -289.11447f), 815) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AmhAraengMordSouq - }; - span66[1] = new QuestStep(EInteractionType.CompleteQuest, 1029959u, new Vector3(295.27722f, 1.4685827f, -290.18085f), 815) - { - NextQuestId = new QuestId(3246) - }; - obj195.Steps = list249; - reference199 = obj195; - questRoot25.QuestSequence = list235; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(3246); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list250 = new List(num); - CollectionsMarshal.SetCount(list250, num); - CollectionsMarshal.AsSpan(list250)[0] = "liza"; - questRoot26.Author = list250; - num = 7; - List list251 = new List(num); - CollectionsMarshal.SetCount(list251, num); - Span span67 = CollectionsMarshal.AsSpan(list251); - ref QuestSequence reference200 = ref span67[0]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - Span span68 = CollectionsMarshal.AsSpan(list252); - span68[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(296.43002f, 1.4685829f, -289.11447f), 815) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AmhAraengMordSouq, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(296.43002f, 1.4685829f, -289.11447f), - MaximumDistance = 100f, - TerritoryId = 815 - } - } - } - }; - span68[1] = new QuestStep(EInteractionType.AcceptQuest, 1029959u, new Vector3(295.27722f, 1.4685827f, -290.18085f), 815); - obj196.Steps = list252; - reference200 = obj196; - ref QuestSequence reference201 = ref span67[1]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - ref QuestStep reference202 = ref CollectionsMarshal.AsSpan(list253)[0]; - QuestStep obj198 = new QuestStep(EInteractionType.Interact, 1029960u, new Vector3(-393.66754f, 52.333755f, 497.15417f), 816) - { - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - num3 = 1; - List list254 = new List(num3); - CollectionsMarshal.SetCount(list254, num3); - CollectionsMarshal.AsSpan(list254)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKBA131_03246_Q2_000_000"), - Answer = new ExcelRef("TEXT_LUCKBA131_03246_A2_000_001") - }; - obj198.DialogueChoices = list254; - reference202 = obj198; - obj197.Steps = list253; - reference201 = obj197; - ref QuestSequence reference203 = ref span67[2]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - Span span69 = CollectionsMarshal.AsSpan(list255); - ref QuestStep reference204 = ref span69[0]; - QuestStep obj200 = new QuestStep(EInteractionType.Interact, 1027671u, new Vector3(-33.12738f, 105.68533f, -879.9115f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegPlaEnni - }; - num3 = 6; - List list256 = new List(num3); - CollectionsMarshal.SetCount(list256, num3); - Span span70 = CollectionsMarshal.AsSpan(list256); - span70[0] = null; - span70[1] = null; - span70[2] = null; - span70[3] = null; - span70[4] = null; - span70[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj200.CompletionQuestVariablesFlags = list256; - reference204 = obj200; - ref QuestStep reference205 = ref span69[1]; - QuestStep obj201 = new QuestStep(EInteractionType.Interact, 1027670u, new Vector3(32.028687f, 101.900696f, -857.87744f), 816) - { - Fly = true - }; - num3 = 6; - List list257 = new List(num3); - CollectionsMarshal.SetCount(list257, num3); - Span span71 = CollectionsMarshal.AsSpan(list257); - span71[0] = null; - span71[1] = null; - span71[2] = null; - span71[3] = null; - span71[4] = null; - span71[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj201.CompletionQuestVariablesFlags = list257; - reference205 = obj201; - obj199.Steps = list255; - reference203 = obj199; - ref QuestSequence reference206 = ref span67[3]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - CollectionsMarshal.AsSpan(list258)[0] = new QuestStep(EInteractionType.Interact, 1029961u, new Vector3(-93.736206f, 101.44155f, -834.9279f), 816) - { - Fly = true - }; - obj202.Steps = list258; - reference206 = obj202; - ref QuestSequence reference207 = ref span67[4]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - CollectionsMarshal.AsSpan(list259)[0] = new QuestStep(EInteractionType.Interact, 1029963u, new Vector3(61.020752f, 100.95007f, -872.4651f), 816) - { - Fly = true - }; - obj203.Steps = list259; - reference207 = obj203; - ref QuestSequence reference208 = ref span67[5]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - ref QuestStep reference209 = ref CollectionsMarshal.AsSpan(list260)[0]; - QuestStep obj205 = new QuestStep(EInteractionType.Combat, 2009946u, new Vector3(395.16284f, 62.05847f, -516.22797f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegWolekdorf, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list261 = new List(num3); - CollectionsMarshal.SetCount(list261, num3); - CollectionsMarshal.AsSpan(list261)[0] = 10856u; - obj205.KillEnemyDataIds = list261; - reference209 = obj205; - obj204.Steps = list260; - reference208 = obj204; - ref QuestSequence reference210 = ref span67[6]; - QuestSequence obj206 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - CollectionsMarshal.AsSpan(list262)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029963u, new Vector3(61.020752f, 100.95007f, -872.4651f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegPlaEnni, - NextQuestId = new QuestId(3247) - }; - obj206.Steps = list262; - reference210 = obj206; - questRoot26.QuestSequence = list251; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(3247); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list263 = new List(num); - CollectionsMarshal.SetCount(list263, num); - CollectionsMarshal.AsSpan(list263)[0] = "liza"; - questRoot27.Author = list263; - num = 3; - List list264 = new List(num); - CollectionsMarshal.SetCount(list264, num); - Span span72 = CollectionsMarshal.AsSpan(list264); - ref QuestSequence reference211 = ref span72[0]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029963u, new Vector3(61.020752f, 100.95007f, -872.4651f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegPlaEnni, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(61.020752f, 100.95007f, -872.4651f), - MaximumDistance = 100f, - TerritoryId = 816 - } - } - } - }; - obj207.Steps = list265; - reference211 = obj207; - ref QuestSequence reference212 = ref span72[1]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - ref QuestStep reference213 = ref CollectionsMarshal.AsSpan(list266)[0]; - QuestStep obj209 = new QuestStep(EInteractionType.SinglePlayerDuty, 1029967u, new Vector3(-68.40625f, 105.29414f, -251.88074f), 816) - { - Fly = true - }; - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions(); - num3 = 1; - List list267 = new List(num3); - CollectionsMarshal.SetCount(list267, num3); - CollectionsMarshal.AsSpan(list267)[0] = "AI doesn't pull enemies when spawning into the instance"; - singlePlayerDutyOptions.Notes = list267; - obj209.SinglePlayerDutyOptions = singlePlayerDutyOptions; - reference213 = obj209; - obj208.Steps = list266; - reference212 = obj208; - ref QuestSequence reference214 = ref span72[2]; - QuestSequence obj210 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - CollectionsMarshal.AsSpan(list268)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029963u, new Vector3(61.020752f, 100.95007f, -872.4651f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegPlaEnni - }; - obj210.Steps = list268; - reference214 = obj210; - questRoot27.QuestSequence = list264; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(3248); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list269 = new List(num); - CollectionsMarshal.SetCount(list269, num); - CollectionsMarshal.AsSpan(list269)[0] = "liza"; - questRoot28.Author = list269; - num = 5; - List list270 = new List(num); - CollectionsMarshal.SetCount(list270, num); - Span span73 = CollectionsMarshal.AsSpan(list270); - ref QuestSequence reference215 = ref span73[0]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - CollectionsMarshal.AsSpan(list271)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029963u, new Vector3(61.020752f, 100.95007f, -872.4651f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegPlaEnni, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(61.020752f, 100.95007f, -872.4651f), - MaximumDistance = 100f, - TerritoryId = 816 - } - } - } - }; - obj211.Steps = list271; - reference215 = obj211; - ref QuestSequence reference216 = ref span73[1]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - Span span74 = CollectionsMarshal.AsSpan(list272); - span74[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-823.0134f, 22.900805f, -55.223766f), 816) - { - Fly = true - }; - span74[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 2009948u, new Vector3(-824.88745f, 23.11737f, -56.443176f), 816) - { - ItemId = 2002569u, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj212.Steps = list272; - reference216 = obj212; - span73[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference217 = ref span73[3]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - CollectionsMarshal.AsSpan(list273)[0] = new QuestStep(EInteractionType.Interact, 1029963u, new Vector3(61.020752f, 100.95007f, -872.4651f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegPlaEnni - }; - obj213.Steps = list273; - reference217 = obj213; - ref QuestSequence reference218 = ref span73[4]; - QuestSequence obj214 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - CollectionsMarshal.AsSpan(list274)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029889u, new Vector3(-35.385742f, 3.9998174f, 251.75854f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumPendants - } - }; - obj214.Steps = list274; - reference218 = obj214; - questRoot28.QuestSequence = list270; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(3249); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list275 = new List(num); - CollectionsMarshal.SetCount(list275, num); - CollectionsMarshal.AsSpan(list275)[0] = "Fifi"; - questRoot29.Author = list275; - num = 4; - List list276 = new List(num); - CollectionsMarshal.SetCount(list276, num); - Span span75 = CollectionsMarshal.AsSpan(list276); - ref QuestSequence reference219 = ref span75[0]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - CollectionsMarshal.AsSpan(list277)[0] = new QuestStep(EInteractionType.AcceptQuest, 1028721u, new Vector3(-70.54254f, 20.000334f, 42.160645f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj215.Steps = list277; - reference219 = obj215; - ref QuestSequence reference220 = ref span75[1]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - CollectionsMarshal.AsSpan(list278)[0] = new QuestStep(EInteractionType.Interact, 1028723u, new Vector3(-112.13861f, 5.9999995f, 189.68481f), 129); - obj216.Steps = list278; - reference220 = obj216; - ref QuestSequence reference221 = ref span75[2]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - CollectionsMarshal.AsSpan(list279)[0] = new QuestStep(EInteractionType.Interact, 2009763u, new Vector3(-112.01648f, 6.0272217f, 184.86304f), 129); - obj217.Steps = list279; - reference221 = obj217; - ref QuestSequence reference222 = ref span75[3]; - QuestSequence obj218 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - ref QuestStep reference223 = ref CollectionsMarshal.AsSpan(list280)[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.CompleteQuest, 1028724u, new Vector3(-104.32593f, 5.999999f, 195.94104f), 129); - num3 = 1; - List list281 = new List(num3); - CollectionsMarshal.SetCount(list281, num3); - CollectionsMarshal.AsSpan(list281)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKBB201_03249_Q1_000_000") - }; - questStep5.DialogueChoices = list281; - questStep5.NextQuestId = new QuestId(3250); - reference223 = questStep5; - obj218.Steps = list280; - reference222 = obj218; - questRoot29.QuestSequence = list276; - AddQuest(questId29, questRoot29); - } - - private static void LoadQuests65() - { - QuestId questId = new QuestId(3250); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "Fifi"; - questRoot.Author = list; - num = 4; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1028724u, new Vector3(-104.32593f, 5.999999f, 195.94104f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1028730u, new Vector3(594.3236f, 23.968584f, 457.69434f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1028736u, new Vector3(481.65088f, 16.414907f, 447.95898f), 137); - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.CompleteQuest, 1028735u, new Vector3(480.18604f, 16.432398f, 447.8064f), 137) - { - NextQuestId = new QuestId(3251) - }; - obj4.Steps = list6; - reference4 = obj4; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(3251); - QuestRoot questRoot2 = new QuestRoot(); - QuestRoot questRoot3 = questRoot2; - num = 1; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - CollectionsMarshal.AsSpan(list7)[0] = "Fifi"; - questRoot3.Author = list7; - QuestRoot questRoot4 = questRoot2; - num = 9; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span2 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference5 = ref span2[0]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.AcceptQuest, 1028735u, new Vector3(480.18604f, 16.432398f, 447.8064f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference6 = ref span2[1]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.Interact, 1006273u, new Vector3(619.0126f, 23.936245f, 455.10022f), 137) - { - Fly = true - }; - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span2[2]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.Interact, 1028741u, new Vector3(47.62329f, 8f, -118.669495f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span2[3]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Interact, 1028746u, new Vector3(-148.39398f, 15.2938f, 286.82385f), 141) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahGateOfNald - } - }; - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference9 = ref span2[4]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - Span span3 = CollectionsMarshal.AsSpan(list13); - span3[0] = new QuestStep(EInteractionType.Interact, 1028747u, new Vector3(-73.47223f, 15.825686f, 323.35388f), 141) - { - Fly = true - }; - span3[1] = new QuestStep(EInteractionType.Interact, 1028748u, new Vector3(-52.414795f, 15.300566f, 332.96704f), 141) - { - Fly = true - }; - obj9.Steps = list13; - reference9 = obj9; - ref QuestSequence reference10 = ref span2[5]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.Interact, 2009765u, new Vector3(-151.68994f, 15.6710205f, 289.66187f), 141) - { - Fly = true - }; - obj10.Steps = list14; - reference10 = obj10; - ref QuestSequence reference11 = ref span2[6]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - ref QuestStep reference12 = ref CollectionsMarshal.AsSpan(list15)[0]; - QuestStep obj12 = new QuestStep(EInteractionType.Combat, null, new Vector3(-73.36467f, -1.5503908f, 105.86304f), 141) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - int num3 = 1; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - CollectionsMarshal.AsSpan(list16)[0] = 10849u; - obj12.KillEnemyDataIds = list16; - reference12 = obj12; - obj11.Steps = list15; - reference11 = obj11; - ref QuestSequence reference13 = ref span2[7]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.Interact, 1028752u, new Vector3(-73.258606f, -1.5171797f, 105.241455f), 141); - obj13.Steps = list17; - reference13 = obj13; - ref QuestSequence reference14 = ref span2[8]; - QuestSequence obj14 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.CompleteQuest, 1028741u, new Vector3(47.62329f, 8f, -118.669495f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - }, - NextQuestId = new QuestId(3252) - }; - obj14.Steps = list18; - reference14 = obj14; - questRoot4.QuestSequence = list8; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(3252); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - CollectionsMarshal.AsSpan(list19)[0] = "Fifi"; - questRoot5.Author = list19; - num = 7; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - Span span4 = CollectionsMarshal.AsSpan(list20); - ref QuestSequence reference15 = ref span4[0]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.AcceptQuest, 1028741u, new Vector3(47.62329f, 8f, -118.669495f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj15.Steps = list21; - reference15 = obj15; - ref QuestSequence reference16 = ref span4[1]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.Interact, 1028756u, new Vector3(-57.358704f, -2.8249152f, 28.42749f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj16.Steps = list22; - reference16 = obj16; - ref QuestSequence reference17 = ref span4[2]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.Interact, 1028762u, new Vector3(-184.49689f, 9.204633f, -34.958435f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil - }; - obj17.Steps = list23; - reference17 = obj17; - ref QuestSequence reference18 = ref span4[3]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.Interact, 2009767u, new Vector3(-128.80145f, 9.964111f, -114.30542f), 153) - { - Fly = true - }; - obj18.Steps = list24; - reference18 = obj18; - ref QuestSequence reference19 = ref span4[4]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - ref QuestStep reference20 = ref CollectionsMarshal.AsSpan(list25)[0]; - QuestStep obj20 = new QuestStep(EInteractionType.Combat, null, new Vector3(-90.14485f, 1.276046f, -112.51637f), 153) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - CollectionsMarshal.AsSpan(list26)[0] = 10851u; - obj20.KillEnemyDataIds = list26; - reference20 = obj20; - obj19.Steps = list25; - reference19 = obj19; - ref QuestSequence reference21 = ref span4[5]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.Interact, 1028769u, new Vector3(-91.17267f, 0.92901844f, -121.38556f), 153) - { - StopDistance = 7f - }; - obj21.Steps = list27; - reference21 = obj21; - ref QuestSequence reference22 = ref span4[6]; - QuestSequence obj22 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000193u, new Vector3(-56.77887f, -1.7171853f, 7.888855f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - NextQuestId = new QuestId(3253) - }; - obj22.Steps = list28; - reference22 = obj22; - questRoot5.QuestSequence = list20; - AddQuest(questId3, questRoot5); - QuestId questId4 = new QuestId(3253); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - CollectionsMarshal.AsSpan(list29)[0] = "Fifi"; - questRoot6.Author = list29; - num = 7; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - Span span5 = CollectionsMarshal.AsSpan(list30); - ref QuestSequence reference23 = ref span5[0]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.AcceptQuest, 1028756u, new Vector3(-57.358704f, -2.8249152f, 28.42749f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj23.Steps = list31; - reference23 = obj23; - ref QuestSequence reference24 = ref span5[1]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - ref QuestStep reference25 = ref CollectionsMarshal.AsSpan(list32)[0]; - QuestStep obj25 = new QuestStep(EInteractionType.Interact, 1028773u, new Vector3(-6.7597656f, 5.4756656f, 47.53174f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard - }; - num3 = 1; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - CollectionsMarshal.AsSpan(list33)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKBB231_03253_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKBB231_03253_A1_000_000") - }; - obj25.DialogueChoices = list33; - reference25 = obj25; - obj24.Steps = list32; - reference24 = obj24; - ref QuestSequence reference26 = ref span5[2]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.Interact, 1012163u, new Vector3(128.25195f, 24.458832f, -0.6867676f), 418); - obj26.Steps = list34; - reference26 = obj26; - ref QuestSequence reference27 = ref span5[3]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.Interact, 1028774u, new Vector3(-53.055664f, 298.9f, -229.51093f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj27.Steps = list35; - reference27 = obj27; - ref QuestSequence reference28 = ref span5[4]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - ref QuestStep reference29 = ref CollectionsMarshal.AsSpan(list36)[0]; - QuestStep obj29 = new QuestStep(EInteractionType.Combat, 10852u, new Vector3(-48.600037f, 298.9f, -235.24835f), 155) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - CollectionsMarshal.AsSpan(list37)[0] = 10852u; - obj29.KillEnemyDataIds = list37; - reference29 = obj29; - obj28.Steps = list36; - reference28 = obj28; - ref QuestSequence reference30 = ref span5[5]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.Interact, 1028774u, new Vector3(-53.055664f, 298.9f, -229.51093f), 155) - { - StopDistance = 7f - }; - obj30.Steps = list38; - reference30 = obj30; - ref QuestSequence reference31 = ref span5[6]; - QuestSequence obj31 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.CompleteQuest, 1028757u, new Vector3(-58.213196f, -2.8447464f, 28.915894f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - NextQuestId = new QuestId(3254) - }; - obj31.Steps = list39; - reference31 = obj31; - questRoot6.QuestSequence = list30; - AddQuest(questId4, questRoot6); - QuestId questId5 = new QuestId(3254); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - CollectionsMarshal.AsSpan(list40)[0] = "Fifi"; - questRoot7.Author = list40; - num = 6; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - Span span6 = CollectionsMarshal.AsSpan(list41); - ref QuestSequence reference32 = ref span6[0]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.AcceptQuest, 1028757u, new Vector3(-58.213196f, -2.8447464f, 28.915894f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj32.Steps = list42; - reference32 = obj32; - ref QuestSequence reference33 = ref span6[1]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.Interact, 1028782u, new Vector3(50.492065f, 118.30926f, -760.1587f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - obj33.Steps = list43; - reference33 = obj33; - ref QuestSequence reference34 = ref span6[2]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1028782u, new Vector3(50.492065f, 118.30926f, -760.1587f), 620); - obj34.Steps = list44; - reference34 = obj34; - ref QuestSequence reference35 = ref span6[3]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.Interact, 1028787u, new Vector3(91.081055f, 118.15579f, -739.92523f), 620); - obj35.Steps = list45; - reference35 = obj35; - ref QuestSequence reference36 = ref span6[4]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 1028787u, new Vector3(91.081055f, 118.15579f, -739.92523f), 620); - obj36.Steps = list46; - reference36 = obj36; - ref QuestSequence reference37 = ref span6[5]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.CompleteQuest, 1028792u, new Vector3(-104.631165f, 5.999999f, 197.4364f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - NextQuestId = new QuestId(3226) - }; - obj37.Steps = list47; - reference37 = obj37; - questRoot7.QuestSequence = list41; - AddQuest(questId5, questRoot7); - QuestId questId6 = new QuestId(3255); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - CollectionsMarshal.AsSpan(list48)[0] = "liza"; - questRoot8.Author = list48; - num = 4; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - Span span7 = CollectionsMarshal.AsSpan(list49); - ref QuestSequence reference38 = ref span7[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030090u, new Vector3(-73.35016f, 1.5753315E-08f, 55.954834f), 819); - obj38.Steps = list50; - reference38 = obj38; - ref QuestSequence reference39 = ref span7[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.Interact, 1030091u, new Vector3(380.97205f, -64.31066f, 511.2229f), 815) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AmhAraengInnAtJourneysHead - }; - obj39.Steps = list51; - reference39 = obj39; - ref QuestSequence reference40 = ref span7[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - ref QuestStep reference41 = ref CollectionsMarshal.AsSpan(list52)[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1030091u, new Vector3(380.97205f, -64.31066f, 511.2229f), 815); - num3 = 1; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - CollectionsMarshal.AsSpan(list53)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKRA101_03255_YESNO_001") - }; - questStep.DialogueChoices = list53; - reference41 = questStep; - obj40.Steps = list52; - reference40 = obj40; - ref QuestSequence reference42 = ref span7[3]; - QuestSequence obj41 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030095u, new Vector3(-0.56463623f, -2.028786f, -17.807312f), 878) - { - NextQuestId = new QuestId(3256) - }; - obj41.Steps = list54; - reference42 = obj41; - questRoot8.QuestSequence = list49; - AddQuest(questId6, questRoot8); - QuestId questId7 = new QuestId(3256); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - CollectionsMarshal.AsSpan(list55)[0] = "liza"; - questRoot9.Author = list55; - num = 4; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - Span span8 = CollectionsMarshal.AsSpan(list56); - ref QuestSequence reference43 = ref span8[0]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030095u, new Vector3(-0.56463623f, -2.028786f, -17.807312f), 878); - obj42.Steps = list57; - reference43 = obj42; - ref QuestSequence reference44 = ref span8[1]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.Duty, null, null, 878) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 653u - } - }; - obj43.Steps = list58; - reference44 = obj43; - ref QuestSequence reference45 = ref span8[2]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.Interact, 1030101u, new Vector3(-8.712891f, -2.498f, 13.137939f), 878); - obj44.Steps = list59; - reference45 = obj44; - ref QuestSequence reference46 = ref span8[3]; - QuestSequence obj45 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - Span span9 = CollectionsMarshal.AsSpan(list60); - span9[0] = new QuestStep(EInteractionType.Interact, 2009981u, new Vector3(-14.66394f, -2.609314f, 23.819275f), 878) - { - TargetTerritoryId = (ushort)857 - }; - span9[1] = new QuestStep(EInteractionType.CompleteQuest, 1030104u, new Vector3(101.57922f, -2.8675152E-14f, 94.346436f), 857) - { - NextQuestId = new QuestId(3257) - }; - obj45.Steps = list60; - reference46 = obj45; - questRoot9.QuestSequence = list56; - AddQuest(questId7, questRoot9); - QuestId questId8 = new QuestId(3257); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - CollectionsMarshal.AsSpan(list61)[0] = "liza"; - questRoot10.Author = list61; - num = 3; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - Span span10 = CollectionsMarshal.AsSpan(list62); - ref QuestSequence reference47 = ref span10[0]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030110u, new Vector3(99.99231f, -7.687662E-13f, 92.51538f), 857) - { - StopDistance = 6f - }; - obj46.Steps = list63; - reference47 = obj46; - ref QuestSequence reference48 = ref span10[1]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.Duty, null, null, 878) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 684u - } - }; - obj47.Steps = list64; - reference48 = obj47; - ref QuestSequence reference49 = ref span10[2]; - QuestSequence obj48 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030110u, new Vector3(99.99231f, -7.687662E-13f, 92.51538f), 857) - { - StopDistance = 6f, - NextQuestId = new QuestId(3258) - }; - obj48.Steps = list65; - reference49 = obj48; - questRoot10.QuestSequence = list62; - AddQuest(questId8, questRoot10); - QuestId questId9 = new QuestId(3258); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - CollectionsMarshal.AsSpan(list66)[0] = "liza"; - questRoot11.Author = list66; - num = 5; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - Span span11 = CollectionsMarshal.AsSpan(list67); - ref QuestSequence reference50 = ref span11[0]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030110u, new Vector3(99.99231f, -7.687662E-13f, 92.51538f), 857) - { - StopDistance = 6f - }; - obj49.Steps = list68; - reference50 = obj49; - ref QuestSequence reference51 = ref span11[1]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1030117u, new Vector3(-1.3580933f, -2.0308912f, -16.647583f), 878); - obj50.Steps = list69; - reference51 = obj50; - ref QuestSequence reference52 = ref span11[2]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - Span span12 = CollectionsMarshal.AsSpan(list70); - span12[0] = new QuestStep(EInteractionType.Interact, 2010135u, new Vector3(-14.66394f, -2.5788574f, 23.819275f), 878) - { - TargetTerritoryId = (ushort)857 - }; - span12[1] = new QuestStep(EInteractionType.Interact, 1030110u, new Vector3(99.99231f, -7.687662E-13f, 92.51538f), 857); - obj51.Steps = list70; - reference52 = obj51; - ref QuestSequence reference53 = ref span11[3]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.Duty, null, null, 878) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 682u - } - }; - obj52.Steps = list71; - reference53 = obj52; - ref QuestSequence reference54 = ref span11[4]; - QuestSequence obj53 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030110u, new Vector3(99.99231f, -7.687662E-13f, 92.51538f), 857) - { - StopDistance = 6f, - NextQuestId = new QuestId(3259) - }; - obj53.Steps = list72; - reference54 = obj53; - questRoot11.QuestSequence = list67; - AddQuest(questId9, questRoot11); - QuestId questId10 = new QuestId(3259); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - CollectionsMarshal.AsSpan(list73)[0] = "liza"; - questRoot12.Author = list73; - num = 4; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - Span span13 = CollectionsMarshal.AsSpan(list74); - ref QuestSequence reference55 = ref span13[0]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030113u, new Vector3(-2.1210327f, -2.4980056f, 18.142944f), 878) - { - StopDistance = 5f - }; - obj54.Steps = list75; - reference55 = obj54; - ref QuestSequence reference56 = ref span13[1]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - Span span14 = CollectionsMarshal.AsSpan(list76); - span14[0] = new QuestStep(EInteractionType.Interact, 2010135u, new Vector3(-14.66394f, -2.5788574f, 23.819275f), 878) - { - TargetTerritoryId = (ushort)857 - }; - span14[1] = new QuestStep(EInteractionType.Interact, 1030110u, new Vector3(99.99231f, -7.687662E-13f, 92.51538f), 857); - obj55.Steps = list76; - reference56 = obj55; - ref QuestSequence reference57 = ref span13[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Duty, null, null, 878) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 689u - } - }; - obj56.Steps = list77; - reference57 = obj56; - ref QuestSequence reference58 = ref span13[3]; - QuestSequence obj57 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - ref QuestStep reference59 = ref CollectionsMarshal.AsSpan(list78)[0]; - QuestStep obj58 = new QuestStep(EInteractionType.CompleteQuest, 1030110u, new Vector3(99.99231f, -7.687662E-13f, 92.51538f), 857) - { - StopDistance = 6f - }; - num3 = 1; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - CollectionsMarshal.AsSpan(list79)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKRA105_03259_Q2_000_000"), - Answer = new ExcelRef("TEXT_LUCKRA105_03259_A2_000_001") - }; - obj58.DialogueChoices = list79; - obj58.NextQuestId = new QuestId(3260); - reference59 = obj58; - obj57.Steps = list78; - reference58 = obj57; - questRoot12.QuestSequence = list74; - AddQuest(questId10, questRoot12); - QuestId questId11 = new QuestId(3260); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - CollectionsMarshal.AsSpan(list80)[0] = "liza"; - questRoot13.Author = list80; - num = 4; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - Span span15 = CollectionsMarshal.AsSpan(list81); - ref QuestSequence reference60 = ref span15[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030118u, new Vector3(-3.8605957f, -2.497989f, 19.119507f), 878) - { - StopDistance = 5f - }; - obj59.Steps = list82; - reference60 = obj59; - ref QuestSequence reference61 = ref span15[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.Interact, 1030387u, new Vector3(31.967651f, 4.929005f, -9.10968f), 878); - obj60.Steps = list83; - reference61 = obj60; - ref QuestSequence reference62 = ref span15[2]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.Interact, 1030091u, new Vector3(380.97205f, -64.31066f, 511.2229f), 815); - obj61.Steps = list84; - reference62 = obj61; - ref QuestSequence reference63 = ref span15[3]; - QuestSequence obj62 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - Span span16 = CollectionsMarshal.AsSpan(list85); - span16[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(270.40494f, 7.1558266f, -234.46175f), 815) - { - Fly = true - }; - span16[1] = new QuestStep(EInteractionType.CompleteQuest, 1030121u, new Vector3(268.8181f, 7.1558256f, -233.66144f), 815) - { - NextQuestId = new QuestId(3787) - }; - obj62.Steps = list85; - reference63 = obj62; - questRoot13.QuestSequence = list81; - AddQuest(questId11, questRoot13); - QuestId questId12 = new QuestId(3261); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - CollectionsMarshal.AsSpan(list86)[0] = "liza"; - questRoot14.Author = list86; - num = 5; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - Span span17 = CollectionsMarshal.AsSpan(list87); - ref QuestSequence reference64 = ref span17[0]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029028u, new Vector3(15.6710205f, -1.5911946f, 37.704956f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj63.Steps = list88; - reference64 = obj63; - ref QuestSequence reference65 = ref span17[1]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Interact, 2010237u, new Vector3(-244.1596f, 5.935669f, 80.03345f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - obj64.Steps = list89; - reference65 = obj64; - ref QuestSequence reference66 = ref span17[2]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - ref QuestStep reference67 = ref CollectionsMarshal.AsSpan(list90)[0]; - QuestStep obj66 = new QuestStep(EInteractionType.Combat, null, new Vector3(-218.21523f, 11.806735f, 18.429258f), 152) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list91 = new List(num3); - CollectionsMarshal.SetCount(list91, num3); - CollectionsMarshal.AsSpan(list91)[0] = 11125u; - obj66.KillEnemyDataIds = list91; - reference67 = obj66; - obj65.Steps = list90; - reference66 = obj65; - ref QuestSequence reference68 = ref span17[3]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.Interact, 1029029u, new Vector3(-214.64868f, 11.980015f, 25.40625f), 152) - { - StopDistance = 7f - }; - obj67.Steps = list92; - reference68 = obj67; - ref QuestSequence reference69 = ref span17[4]; - QuestSequence obj68 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - ref QuestStep reference70 = ref CollectionsMarshal.AsSpan(list93)[0]; - QuestStep obj69 = new QuestStep(EInteractionType.CompleteQuest, 1029033u, new Vector3(-214.67926f, 11.971041f, 25.192627f), 152) - { - StopDistance = 7f - }; - num3 = 1; - List list94 = new List(num3); - CollectionsMarshal.SetCount(list94, num3); - CollectionsMarshal.AsSpan(list94)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKBB101_03261_Q1_000_081") - }; - obj69.DialogueChoices = list94; - obj69.NextQuestId = new QuestId(3262); - reference70 = obj69; - obj68.Steps = list93; - reference69 = obj68; - questRoot14.QuestSequence = list87; - AddQuest(questId12, questRoot14); - QuestId questId13 = new QuestId(3262); - questRoot2 = new QuestRoot(); - QuestRoot questRoot15 = questRoot2; - num = 1; - List list95 = new List(num); - CollectionsMarshal.SetCount(list95, num); - CollectionsMarshal.AsSpan(list95)[0] = "liza"; - questRoot15.Author = list95; - QuestRoot questRoot16 = questRoot2; - num = 9; - list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span18 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference71 = ref span18[0]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 0 - }; - num2 = 4; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - Span span19 = CollectionsMarshal.AsSpan(list96); - span19[0] = new QuestStep(EInteractionType.EquipItem, null, null, 152) - { - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - ItemId = 27357u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span19[1] = new QuestStep(EInteractionType.UseItem, null, new Vector3(-214.67926f, 11.971041f, 25.192627f), 152) - { - StopDistance = 7f, - Fly = true, - ItemId = 27266u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span19[2] = new QuestStep(EInteractionType.EquipRecommended, null, null, 152); - span19[3] = new QuestStep(EInteractionType.AcceptQuest, 1029033u, new Vector3(-214.67926f, 11.971041f, 25.192627f), 152) - { - StopDistance = 7f - }; - obj70.Steps = list96; - reference71 = obj70; - ref QuestSequence reference72 = ref span18[1]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.Interact, 1029035u, new Vector3(35.50769f, -8f, 115.31238f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj71.Steps = list97; - reference72 = obj71; - ref QuestSequence reference73 = ref span18[2]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.Interact, 1029037u, new Vector3(73.65515f, 13.994091f, -270.83246f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - } - }; - obj72.Steps = list98; - reference73 = obj72; - ref QuestSequence reference74 = ref span18[3]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - Span span20 = CollectionsMarshal.AsSpan(list99); - ref QuestStep reference75 = ref span20[0]; - QuestStep obj74 = new QuestStep(EInteractionType.Interact, 1000288u, new Vector3(-62.028015f, 7.175424f, -117.60132f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLancer, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - num3 = 6; - List list100 = new List(num3); - CollectionsMarshal.SetCount(list100, num3); - Span span21 = CollectionsMarshal.AsSpan(list100); - span21[0] = null; - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj74.CompletionQuestVariablesFlags = list100; - reference75 = obj74; - ref QuestStep reference76 = ref span20[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1000286u, new Vector3(-53.574463f, 7.2025366f, -118.36426f), 133); - num3 = 6; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - Span span22 = CollectionsMarshal.AsSpan(list101); - span22[0] = null; - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list101; - reference76 = questStep2; - ref QuestStep reference77 = ref span20[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1003063u, new Vector3(-37.979797f, 7.439375f, -139.60486f), 133); - num3 = 6; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - Span span23 = CollectionsMarshal.AsSpan(list102); - span23[0] = null; - span23[1] = null; - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list102; - reference77 = questStep3; - obj73.Steps = list99; - reference74 = obj73; - ref QuestSequence reference78 = ref span18[4]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.Interact, 1029041u, new Vector3(-93.98035f, 7.1111856f, -131.33447f), 133); - obj75.Steps = list103; - reference78 = obj75; - ref QuestSequence reference79 = ref span18[5]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1029089u, new Vector3(73.65515f, 13.994091f, -270.83246f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaAmphitheatre, - To = EAetheryteLocation.GridaniaLancer - } - }; - obj76.Steps = list104; - reference79 = obj76; - span18[6] = new QuestSequence - { - Sequence = 6 - }; - ref QuestSequence reference80 = ref span18[7]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - Span span24 = CollectionsMarshal.AsSpan(list105); - span24[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-232.38095f, 2.3337264f, -205.92738f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaAmphitheatre, - To = EAetheryteLocation.GridaniaBotanist - } - }; - span24[1] = new QuestStep(EInteractionType.Interact, 1029043u, new Vector3(-232.25757f, 2.4186904f, -210.98651f), 133) - { - StopDistance = 7f - }; - obj77.Steps = list105; - reference80 = obj77; - ref QuestSequence reference81 = ref span18[8]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029044u, new Vector3(18.44812f, 7.9999833f, -115.31244f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - }, - NextQuestId = new QuestId(3263) - }; - obj78.Steps = list106; - reference81 = obj78; - questRoot16.QuestSequence = list8; - AddQuest(questId13, questRoot2); - QuestId questId14 = new QuestId(3263); - questRoot2 = new QuestRoot(); - QuestRoot questRoot17 = questRoot2; - num = 1; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - CollectionsMarshal.AsSpan(list107)[0] = "liza"; - questRoot17.Author = list107; - QuestRoot questRoot18 = questRoot2; - num = 7; - list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span25 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference82 = ref span25[0]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029044u, new Vector3(18.44812f, 7.9999833f, -115.31244f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj79.Steps = list108; - reference82 = obj79; - ref QuestSequence reference83 = ref span25[1]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.Interact, 1029054u, new Vector3(154.68066f, 4.0999947f, 31.662354f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahSapphireAvenue - } - }; - obj80.Steps = list109; - reference83 = obj80; - ref QuestSequence reference84 = ref span25[2]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - Span span26 = CollectionsMarshal.AsSpan(list110); - span26[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(165.96822f, 4.0220823f, 44.280655f), 131); - span26[1] = new QuestStep(EInteractionType.Interact, 1029058u, new Vector3(17.898804f, 15.620378f, 418.66174f), 141) - { - Fly = true - }; - obj81.Steps = list110; - reference84 = obj81; - ref QuestSequence reference85 = ref span25[3]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - Span span27 = CollectionsMarshal.AsSpan(list111); - span27[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-306.12845f, -31.54935f, 173.07193f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - span27[1] = new QuestStep(EInteractionType.Interact, 1029062u, new Vector3(-306.11127f, -31.525063f, 171.6792f), 145); - obj82.Steps = list111; - reference85 = obj82; - ref QuestSequence reference86 = ref span25[4]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - ref QuestStep reference87 = ref CollectionsMarshal.AsSpan(list112)[0]; - QuestStep obj84 = new QuestStep(EInteractionType.Combat, null, new Vector3(-292.66827f, -32.554207f, 158.0957f), 145) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - Span span28 = CollectionsMarshal.AsSpan(list113); - span28[0] = 11126u; - span28[1] = 11127u; - obj84.KillEnemyDataIds = list113; - reference87 = obj84; - obj83.Steps = list112; - reference86 = obj83; - ref QuestSequence reference88 = ref span25[5]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.Interact, 1029070u, new Vector3(-293.2937f, -32.53709f, 157.88501f), 145); - obj85.Steps = list114; - reference88 = obj85; - ref QuestSequence reference89 = ref span25[6]; - QuestSequence obj86 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029073u, new Vector3(-17.380127f, 40.000565f, -0.3204956f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - }, - NextQuestId = new QuestId(3264) - }; - obj86.Steps = list115; - reference89 = obj86; - questRoot18.QuestSequence = list8; - AddQuest(questId14, questRoot2); - QuestId questId15 = new QuestId(3264); - questRoot2 = new QuestRoot(); - QuestRoot questRoot19 = questRoot2; - num = 1; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - CollectionsMarshal.AsSpan(list116)[0] = "liza"; - questRoot19.Author = list116; - QuestRoot questRoot20 = questRoot2; - num = 10; - list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span29 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference90 = ref span29[0]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - ref QuestStep reference91 = ref CollectionsMarshal.AsSpan(list117)[0]; - QuestStep obj88 = new QuestStep(EInteractionType.AcceptQuest, 1029073u, new Vector3(-17.380127f, 40.000565f, -0.3204956f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition obj89 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list118 = new List(num3); - CollectionsMarshal.SetCount(list118, num3); - CollectionsMarshal.AsSpan(list118)[0] = 128; - obj89.InTerritory = list118; - skipConditions.AetheryteShortcutIf = obj89; - obj88.SkipConditions = skipConditions; - reference91 = obj88; - obj87.Steps = list117; - reference90 = obj87; - ref QuestSequence reference92 = ref span29[1]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - Span span30 = CollectionsMarshal.AsSpan(list119); - span30[0] = new QuestStep(EInteractionType.Interact, 1003597u, new Vector3(8.194031f, 39.999973f, 17.746216f), 128) - { - TargetTerritoryId = (ushort)129 - }; - span30[1] = new QuestStep(EInteractionType.Interact, 1029078u, new Vector3(-0.07635498f, 20.333344f, -6.3935547f), 129); - obj90.Steps = list119; - reference92 = obj90; - ref QuestSequence reference93 = ref span29[2]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - Span span31 = CollectionsMarshal.AsSpan(list120); - ref QuestStep reference94 = ref span31[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1003355u, new Vector3(-60.868286f, 18.000334f, 7.4921875f), 129); - num3 = 6; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - Span span32 = CollectionsMarshal.AsSpan(list121); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list121; - reference94 = questStep4; - ref QuestStep reference95 = ref span31[1]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1003604u, new Vector3(-60.44104f, 18.00033f, -4.348877f), 129); - num3 = 6; - List list122 = new List(num3); - CollectionsMarshal.SetCount(list122, num3); - Span span33 = CollectionsMarshal.AsSpan(list122); - span33[0] = null; - span33[1] = null; - span33[2] = null; - span33[3] = null; - span33[4] = null; - span33[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list122; - reference95 = questStep5; - ref QuestStep reference96 = ref span31[2]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1001023u, new Vector3(-78.62976f, 18.000334f, -22.62915f), 129); - num3 = 6; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - Span span34 = CollectionsMarshal.AsSpan(list123); - span34[0] = null; - span34[1] = null; - span34[2] = null; - span34[3] = null; - span34[4] = null; - span34[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list123; - reference96 = questStep6; - obj91.Steps = list120; - reference93 = obj91; - ref QuestSequence reference97 = ref span29[3]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.Interact, 1029081u, new Vector3(-153.8263f, 18.2f, 22.842712f), 129); - obj92.Steps = list124; - reference97 = obj92; - ref QuestSequence reference98 = ref span29[4]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.Interact, 1029085u, new Vector3(111.10095f, 22.880848f, 635.7976f), 135) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }; - obj93.Steps = list125; - reference98 = obj93; - ref QuestSequence reference99 = ref span29[5]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - Span span35 = CollectionsMarshal.AsSpan(list126); - ref QuestStep reference100 = ref span35[0]; - QuestStep obj95 = new QuestStep(EInteractionType.Combat, 2010241u, new Vector3(-34.53119f, 46.92151f, 541.22217f), 135) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list127 = new List(num3); - CollectionsMarshal.SetCount(list127, num3); - CollectionsMarshal.AsSpan(list127)[0] = 11128u; - obj95.KillEnemyDataIds = list127; - num3 = 6; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - Span span36 = CollectionsMarshal.AsSpan(list128); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj95.CompletionQuestVariablesFlags = list128; - reference100 = obj95; - ref QuestStep reference101 = ref span35[1]; - QuestStep obj96 = new QuestStep(EInteractionType.Combat, 2010242u, new Vector3(-59.006653f, 57.297607f, 492.14917f), 135) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - Span span37 = CollectionsMarshal.AsSpan(list129); - span37[0] = 11129u; - span37[1] = 11130u; - obj96.KillEnemyDataIds = list129; - num3 = 6; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - Span span38 = CollectionsMarshal.AsSpan(list130); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj96.CompletionQuestVariablesFlags = list130; - reference101 = obj96; - obj94.Steps = list126; - reference99 = obj94; - ref QuestSequence reference102 = ref span29[6]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.Interact, 2010243u, new Vector3(-15.6710205f, 66.36145f, 431.63184f), 135) - { - Fly = true - }; - obj97.Steps = list131; - reference102 = obj97; - ref QuestSequence reference103 = ref span29[7]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.Interact, 1029092u, new Vector3(322.37732f, 75.949196f, -322.43848f), 135) - { - Fly = true - }; - obj98.Steps = list132; - reference103 = obj98; - ref QuestSequence reference104 = ref span29[8]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.Interact, 1029094u, new Vector3(-35.81299f, 71.33129f, 124.6814f), 135); - obj99.Steps = list133; - reference104 = obj99; - ref QuestSequence reference105 = ref span29[9]; - QuestSequence obj100 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029098u, new Vector3(53.97119f, 23.979126f, 8.102478f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - }, - NextQuestId = new QuestId(3265) - }; - obj100.Steps = list134; - reference105 = obj100; - questRoot20.QuestSequence = list8; - AddQuest(questId15, questRoot2); - QuestId questId16 = new QuestId(3265); - questRoot2 = new QuestRoot(); - QuestRoot questRoot21 = questRoot2; - num = 1; - List list135 = new List(num); - CollectionsMarshal.SetCount(list135, num); - CollectionsMarshal.AsSpan(list135)[0] = "liza"; - questRoot21.Author = list135; - QuestRoot questRoot22 = questRoot2; - num = 8; - list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span39 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference106 = ref span39[0]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029098u, new Vector3(53.97119f, 23.979126f, 8.102478f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj101.Steps = list136; - reference106 = obj101; - ref QuestSequence reference107 = ref span39[1]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.Interact, 1029103u, new Vector3(-151.59845f, 23.14059f, -75.60846f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - obj102.Steps = list137; - reference107 = obj102; - ref QuestSequence reference108 = ref span39[2]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.Interact, 1029106u, new Vector3(207.35486f, 307.86218f, 424.6432f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj103.Steps = list138; - reference108 = obj103; - ref QuestSequence reference109 = ref span39[3]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.Interact, 1029109u, new Vector3(213.09216f, 222.50911f, 291.73718f), 155) - { - Fly = true - }; - obj104.Steps = list139; - reference109 = obj104; - ref QuestSequence reference110 = ref span39[4]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - Span span40 = CollectionsMarshal.AsSpan(list140); - ref QuestStep reference111 = ref span40[0]; - QuestStep obj106 = new QuestStep(EInteractionType.Combat, 2010298u, new Vector3(252.64355f, 246.96729f, 189.53223f), 155) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - CollectionsMarshal.AsSpan(list141)[0] = 11131u; - obj106.KillEnemyDataIds = list141; - num3 = 6; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - Span span41 = CollectionsMarshal.AsSpan(list142); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj106.CompletionQuestVariablesFlags = list142; - reference111 = obj106; - ref QuestStep reference112 = ref span40[1]; - QuestStep obj107 = new QuestStep(EInteractionType.Combat, 2010299u, new Vector3(163.25623f, 274.3114f, 5.2643433f), 155) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - Span span42 = CollectionsMarshal.AsSpan(list143); - span42[0] = 11132u; - span42[1] = 11133u; - obj107.KillEnemyDataIds = list143; - num3 = 6; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - Span span43 = CollectionsMarshal.AsSpan(list144); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj107.CompletionQuestVariablesFlags = list144; - reference112 = obj107; - ref QuestStep reference113 = ref span40[2]; - QuestStep obj108 = new QuestStep(EInteractionType.Combat, 2010300u, new Vector3(285.3894f, 299.97705f, -78.66034f), 155) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 3; - List list145 = new List(num3); - CollectionsMarshal.SetCount(list145, num3); - Span span44 = CollectionsMarshal.AsSpan(list145); - span44[0] = 11134u; - span44[1] = 11135u; - span44[2] = 11136u; - obj108.KillEnemyDataIds = list145; - num3 = 6; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - Span span45 = CollectionsMarshal.AsSpan(list146); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj108.CompletionQuestVariablesFlags = list146; - reference113 = obj108; - obj105.Steps = list140; - reference110 = obj105; - ref QuestSequence reference114 = ref span39[5]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.Interact, 2010301u, new Vector3(240.28369f, 302.02173f, -174.88367f), 155) - { - Fly = true - }; - obj109.Steps = list147; - reference114 = obj109; - ref QuestSequence reference115 = ref span39[6]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.Interact, 2010302u, new Vector3(-653.3761f, 224.26172f, -40.421204f), 155) - { - Fly = true - }; - obj110.Steps = list148; - reference115 = obj110; - ref QuestSequence reference116 = ref span39[7]; - QuestSequence obj111 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029099u, new Vector3(54.917114f, 23.979126f, 8.926453f), 418) - { - NextQuestId = new QuestId(3266) - }; - obj111.Steps = list149; - reference116 = obj111; - questRoot22.QuestSequence = list8; - AddQuest(questId16, questRoot2); - QuestId questId17 = new QuestId(3266); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list150 = new List(num); - CollectionsMarshal.SetCount(list150, num); - CollectionsMarshal.AsSpan(list150)[0] = "liza"; - questRoot23.Author = list150; - num = 6; - List list151 = new List(num); - CollectionsMarshal.SetCount(list151, num); - Span span46 = CollectionsMarshal.AsSpan(list151); - ref QuestSequence reference117 = ref span46[0]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029099u, new Vector3(54.917114f, 23.979126f, 8.926453f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj112.Steps = list152; - reference117 = obj112; - ref QuestSequence reference118 = ref span46[1]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.Interact, 1029120u, new Vector3(-56.01587f, 15.140585f, -35.324707f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - obj113.Steps = list153; - reference118 = obj113; - ref QuestSequence reference119 = ref span46[2]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1029121u, new Vector3(-266.4378f, 92.16852f, -501.854f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj114.Steps = list154; - reference119 = obj114; - span46[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference120 = ref span46[4]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.Interact, 1029113u, new Vector3(55.649536f, 23.979126f, 9.689453f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj115.Steps = list155; - reference120 = obj115; - ref QuestSequence reference121 = ref span46[5]; - QuestSequence obj116 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029122u, new Vector3(17.746216f, 20.687263f, -660.12054f), 156) - { - StopDistance = 5f - }; - obj116.Steps = list156; - reference121 = obj116; - questRoot23.QuestSequence = list151; - AddQuest(questId17, questRoot23); - QuestId questId18 = new QuestId(3267); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list157 = new List(num); - CollectionsMarshal.SetCount(list157, num); - CollectionsMarshal.AsSpan(list157)[0] = "Cacahuetes"; - questRoot24.Author = list157; - num = 5; - List list158 = new List(num); - CollectionsMarshal.SetCount(list158, num); - Span span47 = CollectionsMarshal.AsSpan(list158); - ref QuestSequence reference122 = ref span47[0]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029998u, new Vector3(-26.657532f, 3.999815f, 209.88782f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumMarkets - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj117.Steps = list159; - reference122 = obj117; - ref QuestSequence reference123 = ref span47[1]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.Interact, 1029999u, new Vector3(346.66968f, 3.2878497f, 177.17249f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandFortJobb - }; - obj118.Steps = list160; - reference123 = obj118; - ref QuestSequence reference124 = ref span47[2]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - ref QuestStep reference125 = ref CollectionsMarshal.AsSpan(list161)[0]; - QuestStep obj120 = new QuestStep(EInteractionType.Combat, null, new Vector3(340.6667f, 3.0521033f, 208.3552f), 813) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list162 = new List(num3); - CollectionsMarshal.SetCount(list162, num3); - CollectionsMarshal.AsSpan(list162)[0] = 10865u; - obj120.KillEnemyDataIds = list162; - reference125 = obj120; - obj119.Steps = list161; - reference124 = obj119; - ref QuestSequence reference126 = ref span47[3]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.Interact, 1030000u, new Vector3(341.02393f, 3.5819468f, 198.32141f), 813); - obj121.Steps = list163; - reference126 = obj121; - ref QuestSequence reference127 = ref span47[4]; - QuestSequence obj122 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031158u, new Vector3(-26.657532f, 3.999815f, 209.88782f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumMarkets - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - NextQuestId = new QuestId(3268) - }; - obj122.Steps = list164; - reference127 = obj122; - questRoot24.QuestSequence = list158; - AddQuest(questId18, questRoot24); - QuestId questId19 = new QuestId(3268); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list165 = new List(num); - CollectionsMarshal.SetCount(list165, num); - CollectionsMarshal.AsSpan(list165)[0] = "Cacahuetes"; - questRoot25.Author = list165; - num = 6; - List list166 = new List(num); - CollectionsMarshal.SetCount(list166, num); - Span span48 = CollectionsMarshal.AsSpan(list166); - ref QuestSequence reference128 = ref span48[0]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031158u, new Vector3(-26.657532f, 3.999815f, 209.88782f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumMarkets - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj123.Steps = list167; - reference128 = obj123; - ref QuestSequence reference129 = ref span48[1]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.Interact, 1030004u, new Vector3(689.1127f, 30.11682f, 278.85852f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaStilltide - }; - obj124.Steps = list168; - reference129 = obj124; - ref QuestSequence reference130 = ref span48[2]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - ref QuestStep reference131 = ref CollectionsMarshal.AsSpan(list169)[0]; - QuestStep obj126 = new QuestStep(EInteractionType.Combat, 2009999u, new Vector3(529.3812f, 11.9782715f, 370.83997f), 814) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list170 = new List(num3); - CollectionsMarshal.SetCount(list170, num3); - CollectionsMarshal.AsSpan(list170)[0] = 10866u; - obj126.KillEnemyDataIds = list170; - reference131 = obj126; - obj125.Steps = list169; - reference130 = obj125; - ref QuestSequence reference132 = ref span48[3]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - ref QuestStep reference133 = ref CollectionsMarshal.AsSpan(list171)[0]; - QuestStep obj128 = new QuestStep(EInteractionType.Combat, 2010000u, new Vector3(342.48877f, 16.55597f, 454.24573f), 814) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list172 = new List(num3); - CollectionsMarshal.SetCount(list172, num3); - CollectionsMarshal.AsSpan(list172)[0] = 10867u; - obj128.KillEnemyDataIds = list172; - reference133 = obj128; - obj127.Steps = list171; - reference132 = obj127; - ref QuestSequence reference134 = ref span48[4]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.Interact, 1030006u, new Vector3(181.59753f, 33.636906f, 177.47766f), 814) - { - Fly = true - }; - obj129.Steps = list173; - reference134 = obj129; - ref QuestSequence reference135 = ref span48[5]; - QuestSequence obj130 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031158u, new Vector3(-26.657532f, 3.999815f, 209.88782f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumMarkets - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - NextQuestId = new QuestId(3269) - }; - obj130.Steps = list174; - reference135 = obj130; - questRoot25.QuestSequence = list166; - AddQuest(questId19, questRoot25); - QuestId questId20 = new QuestId(3269); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list175 = new List(num); - CollectionsMarshal.SetCount(list175, num); - CollectionsMarshal.AsSpan(list175)[0] = "Cacahuetes"; - questRoot26.Author = list175; - num = 6; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - Span span49 = CollectionsMarshal.AsSpan(list176); - ref QuestSequence reference136 = ref span49[0]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031158u, new Vector3(-26.657532f, 3.999815f, 209.88782f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumMarkets - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj131.Steps = list177; - reference136 = obj131; - ref QuestSequence reference137 = ref span49[1]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.Interact, 1030012u, new Vector3(279.469f, 1.4685827f, -281.94098f), 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengMordSouq - }; - obj132.Steps = list178; - reference137 = obj132; - ref QuestSequence reference138 = ref span49[2]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - ref QuestStep reference139 = ref CollectionsMarshal.AsSpan(list179)[0]; - QuestStep obj134 = new QuestStep(EInteractionType.Interact, 2010002u, new Vector3(279.65198f, 1.4800415f, -282.7345f), 815) - { - StopDistance = 4f - }; - num3 = 1; - List list180 = new List(num3); - CollectionsMarshal.SetCount(list180, num3); - CollectionsMarshal.AsSpan(list180)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKBA221_03269_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKBA221_03269_A1_000_002") - }; - obj134.DialogueChoices = list180; - reference139 = obj134; - obj133.Steps = list179; - reference138 = obj133; - ref QuestSequence reference140 = ref span49[3]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.Interact, 1030013u, new Vector3(612.3292f, -25.655535f, -36.66742f), 815) - { - Fly = true - }; - obj135.Steps = list181; - reference140 = obj135; - ref QuestSequence reference141 = ref span49[4]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.Interact, 1030014u, new Vector3(614.46545f, -25.7535f, -35.6604f), 815) - { - StopDistance = 4f - }; - obj136.Steps = list182; - reference141 = obj136; - ref QuestSequence reference142 = ref span49[5]; - QuestSequence obj137 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - CollectionsMarshal.AsSpan(list183)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031158u, new Vector3(-26.657532f, 3.999815f, 209.88782f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumMarkets - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - NextQuestId = new QuestId(3270) - }; - obj137.Steps = list183; - reference142 = obj137; - questRoot26.QuestSequence = list176; - AddQuest(questId20, questRoot26); - QuestId questId21 = new QuestId(3270); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list184 = new List(num); - CollectionsMarshal.SetCount(list184, num); - CollectionsMarshal.AsSpan(list184)[0] = "AUTHOR"; - questRoot27.Author = list184; - num = 7; - List list185 = new List(num); - CollectionsMarshal.SetCount(list185, num); - Span span50 = CollectionsMarshal.AsSpan(list185); - ref QuestSequence reference143 = ref span50[0]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031158u, new Vector3(-26.657532f, 3.999815f, 209.88782f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumMarkets - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj138.Steps = list186; - reference143 = obj138; - ref QuestSequence reference144 = ref span50[1]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.Interact, 1030015u, new Vector3(-83.05487f, -19.061518f, 309.83435f), 817) - { - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - obj139.Steps = list187; - reference144 = obj139; - ref QuestSequence reference145 = ref span50[2]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - ref QuestStep reference146 = ref CollectionsMarshal.AsSpan(list188)[0]; - QuestStep obj141 = new QuestStep(EInteractionType.Combat, 2010003u, new Vector3(263.9048f, 12.436096f, 103.990234f), 817) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list189 = new List(num3); - CollectionsMarshal.SetCount(list189, num3); - CollectionsMarshal.AsSpan(list189)[0] = 10950u; - obj141.KillEnemyDataIds = list189; - reference146 = obj141; - obj140.Steps = list188; - reference145 = obj140; - ref QuestSequence reference147 = ref span50[3]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - ref QuestStep reference148 = ref CollectionsMarshal.AsSpan(list190)[0]; - QuestStep obj143 = new QuestStep(EInteractionType.Combat, 2010004u, new Vector3(446.0669f, 8.041443f, 123.03345f), 817) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list191 = new List(num3); - CollectionsMarshal.SetCount(list191, num3); - CollectionsMarshal.AsSpan(list191)[0] = 10869u; - obj143.KillEnemyDataIds = list191; - reference148 = obj143; - obj142.Steps = list190; - reference147 = obj142; - ref QuestSequence reference149 = ref span50[4]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1030017u, new Vector3(633.99695f, 24.12675f, 59.861084f), 817) - { - Fly = true - }; - obj144.Steps = list192; - reference149 = obj144; - span50[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference150 = ref span50[6]; - QuestSequence obj145 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031158u, new Vector3(-26.657532f, 3.999815f, 209.88782f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumMarkets - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - NextQuestId = new QuestId(3271) - }; - obj145.Steps = list193; - reference150 = obj145; - questRoot27.QuestSequence = list185; - AddQuest(questId21, questRoot27); - QuestId questId22 = new QuestId(3271); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - CollectionsMarshal.AsSpan(list194)[0] = "AUTHOR"; - questRoot28.Author = list194; - num = 4; - List list195 = new List(num); - CollectionsMarshal.SetCount(list195, num); - Span span51 = CollectionsMarshal.AsSpan(list195); - ref QuestSequence reference151 = ref span51[0]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031158u, new Vector3(-26.657532f, 3.999815f, 209.88782f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumMarkets - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj146.Steps = list196; - reference151 = obj146; - ref QuestSequence reference152 = ref span51[1]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.Interact, 1030021u, new Vector3(-456.6568f, 417.12558f, -597.1008f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaTomra - }; - obj147.Steps = list197; - reference152 = obj147; - ref QuestSequence reference153 = ref span51[2]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - CollectionsMarshal.AsSpan(list198)[0] = new QuestStep(EInteractionType.Interact, 1030022u, new Vector3(-355.55048f, 415.2497f, -677.9431f), 814) - { - Fly = true - }; - obj148.Steps = list198; - reference153 = obj148; - ref QuestSequence reference154 = ref span51[3]; - QuestSequence obj149 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - CollectionsMarshal.AsSpan(list199)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030021u, new Vector3(-456.6568f, 417.12558f, -597.1008f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaTomra, - NextQuestId = new QuestId(3272) - }; - obj149.Steps = list199; - reference154 = obj149; - questRoot28.QuestSequence = list195; - AddQuest(questId22, questRoot28); - QuestId questId23 = new QuestId(3272); - questRoot2 = new QuestRoot(); - QuestRoot questRoot29 = questRoot2; - num = 1; - List list200 = new List(num); - CollectionsMarshal.SetCount(list200, num); - CollectionsMarshal.AsSpan(list200)[0] = "Cacahuetes"; - questRoot29.Author = list200; - QuestRoot questRoot30 = questRoot2; - num = 7; - list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span52 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference155 = ref span52[0]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030021u, new Vector3(-456.6568f, 417.12558f, -597.1008f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaTomra, - SkipConditions = new SkipConditions - { - AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj150.Steps = list201; - reference155 = obj150; - ref QuestSequence reference156 = ref span52[1]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - ref QuestStep reference157 = ref CollectionsMarshal.AsSpan(list202)[0]; - QuestStep obj152 = new QuestStep(EInteractionType.Combat, 2010006u, new Vector3(-115.31244f, 428.18335f, -621.4542f), 814) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list203 = new List(num3); - CollectionsMarshal.SetCount(list203, num3); - CollectionsMarshal.AsSpan(list203)[0] = 10870u; - obj152.KillEnemyDataIds = list203; - reference157 = obj152; - obj151.Steps = list202; - reference156 = obj151; - ref QuestSequence reference158 = ref span52[2]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - ref QuestStep reference159 = ref CollectionsMarshal.AsSpan(list204)[0]; - QuestStep obj154 = new QuestStep(EInteractionType.Combat, 2010007u, new Vector3(21.194763f, 348.89746f, -251.88074f), 814) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list205 = new List(num3); - CollectionsMarshal.SetCount(list205, num3); - CollectionsMarshal.AsSpan(list205)[0] = 10871u; - obj154.KillEnemyDataIds = list205; - reference159 = obj154; - obj153.Steps = list204; - reference158 = obj153; - ref QuestSequence reference160 = ref span52[3]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - ref QuestStep reference161 = ref CollectionsMarshal.AsSpan(list206)[0]; - QuestStep obj156 = new QuestStep(EInteractionType.SinglePlayerDuty, 1030035u, new Vector3(-650.35474f, 352.45102f, -129.01508f), 814) - { - Fly = true - }; - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions(); - num3 = 1; - List list207 = new List(num3); - CollectionsMarshal.SetCount(list207, num3); - CollectionsMarshal.AsSpan(list207)[0] = "Currently it won't work, because the logic is missing NPC healing."; - singlePlayerDutyOptions.Notes = list207; - obj156.SinglePlayerDutyOptions = singlePlayerDutyOptions; - reference161 = obj156; - obj155.Steps = list206; - reference160 = obj155; - ref QuestSequence reference162 = ref span52[4]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.Interact, 1030038u, new Vector3(-650.35474f, 352.45102f, -129.01508f), 814); - obj157.Steps = list208; - reference162 = obj157; - ref QuestSequence reference163 = ref span52[5]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.Interact, 1030038u, new Vector3(-650.35474f, 352.45102f, -129.01508f), 814); - obj158.Steps = list209; - reference163 = obj158; - ref QuestSequence reference164 = ref span52[6]; - QuestSequence obj159 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - CollectionsMarshal.AsSpan(list210)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030039u, new Vector3(-26.657532f, 3.999815f, 209.88782f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumMarkets - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj159.Steps = list210; - reference164 = obj159; - questRoot30.QuestSequence = list8; - AddQuest(questId23, questRoot2); - QuestId questId24 = new QuestId(3273); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list211 = new List(num); - CollectionsMarshal.SetCount(list211, num); - CollectionsMarshal.AsSpan(list211)[0] = "Fifi"; - questRoot31.Author = list211; - num = 6; - List list212 = new List(num); - CollectionsMarshal.SetCount(list212, num); - Span span53 = CollectionsMarshal.AsSpan(list212); - ref QuestSequence reference165 = ref span53[0]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - CollectionsMarshal.AsSpan(list213)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030126u, new Vector3(-18.143005f, 3.9998174f, 235.40088f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumPendants - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj160.Steps = list213; - reference165 = obj160; - ref QuestSequence reference166 = ref span53[1]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.Interact, 1030127u, new Vector3(200.12195f, -0.39141315f, 389.45593f), 813) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumPendants, - To = EAetheryteLocation.CrystariumTessellation - } - }; - obj161.Steps = list214; - reference166 = obj161; - ref QuestSequence reference167 = ref span53[2]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.UseItem, 2010396u, new Vector3(195.48328f, -0.7477417f, 370.93152f), 813) - { - ItemId = 2002718u - }; - obj162.Steps = list215; - reference167 = obj162; - ref QuestSequence reference168 = ref span53[3]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - ref QuestStep reference169 = ref CollectionsMarshal.AsSpan(list216)[0]; - QuestStep obj164 = new QuestStep(EInteractionType.Combat, 2010397u, new Vector3(203.90625f, -0.5340576f, 389.82214f), 813) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list217 = new List(num3); - CollectionsMarshal.SetCount(list217, num3); - CollectionsMarshal.AsSpan(list217)[0] = 10872u; - obj164.KillEnemyDataIds = list217; - reference169 = obj164; - obj163.Steps = list216; - reference168 = obj163; - ref QuestSequence reference170 = ref span53[4]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - CollectionsMarshal.AsSpan(list218)[0] = new QuestStep(EInteractionType.Interact, 1031013u, new Vector3(200.09155f, -0.39049676f, 389.4254f), 813) - { - StopDistance = 5f - }; - obj165.Steps = list218; - reference170 = obj165; - ref QuestSequence reference171 = ref span53[5]; - QuestSequence obj166 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - CollectionsMarshal.AsSpan(list219)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030964u, new Vector3(-18.143005f, 3.9998174f, 235.40088f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumPendants - }, - NextQuestId = new QuestId(3274) - }; - obj166.Steps = list219; - reference171 = obj166; - questRoot31.QuestSequence = list212; - AddQuest(questId24, questRoot31); - QuestId questId25 = new QuestId(3274); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list220 = new List(num); - CollectionsMarshal.SetCount(list220, num); - CollectionsMarshal.AsSpan(list220)[0] = "Fifi"; - questRoot32.Author = list220; - num = 6; - List list221 = new List(num); - CollectionsMarshal.SetCount(list221, num); - Span span54 = CollectionsMarshal.AsSpan(list221); - ref QuestSequence reference172 = ref span54[0]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - CollectionsMarshal.AsSpan(list222)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030964u, new Vector3(-18.143005f, 3.9998174f, 235.40088f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumPendants - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj167.Steps = list222; - reference172 = obj167; - ref QuestSequence reference173 = ref span54[1]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - CollectionsMarshal.AsSpan(list223)[0] = new QuestStep(EInteractionType.Interact, 1030130u, new Vector3(469.0775f, -32.782784f, -288.44135f), 815) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AmhAraengMordSouq - }; - obj168.Steps = list223; - reference173 = obj168; - ref QuestSequence reference174 = ref span54[2]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.Interact, 2010399u, new Vector3(613.39734f, -33.585205f, -180.95679f), 815) - { - Fly = true - }; - obj169.Steps = list224; - reference174 = obj169; - ref QuestSequence reference175 = ref span54[3]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - ref QuestStep reference176 = ref CollectionsMarshal.AsSpan(list225)[0]; - QuestStep obj171 = new QuestStep(EInteractionType.Combat, 2010400u, new Vector3(536.9192f, -33.737732f, 38.83423f), 815) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list226 = new List(num3); - CollectionsMarshal.SetCount(list226, num3); - CollectionsMarshal.AsSpan(list226)[0] = 10873u; - obj171.KillEnemyDataIds = list226; - reference176 = obj171; - obj170.Steps = list225; - reference175 = obj170; - ref QuestSequence reference177 = ref span54[4]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.Interact, 2010401u, new Vector3(469.0775f, -32.791687f, -288.44135f), 815) - { - Fly = true - }; - obj172.Steps = list227; - reference177 = obj172; - ref QuestSequence reference178 = ref span54[5]; - QuestSequence obj173 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030964u, new Vector3(-18.143005f, 3.9998174f, 235.40088f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumPendants - }, - NextQuestId = new QuestId(3275) - }; - obj173.Steps = list228; - reference178 = obj173; - questRoot32.QuestSequence = list221; - AddQuest(questId25, questRoot32); - QuestId questId26 = new QuestId(3275); - questRoot2 = new QuestRoot(); - QuestRoot questRoot33 = questRoot2; - num = 1; - List list229 = new List(num); - CollectionsMarshal.SetCount(list229, num); - CollectionsMarshal.AsSpan(list229)[0] = "Fifi"; - questRoot33.Author = list229; - QuestRoot questRoot34 = questRoot2; - num = 7; - List list230 = new List(num); - CollectionsMarshal.SetCount(list230, num); - Span span55 = CollectionsMarshal.AsSpan(list230); - ref QuestSequence reference179 = ref span55[0]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030964u, new Vector3(-18.143005f, 3.9998174f, 235.40088f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumPendants - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj174.Steps = list231; - reference179 = obj174; - ref QuestSequence reference180 = ref span55[1]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.Interact, 1030135u, new Vector3(-251.42291f, 22.19962f, 325.7953f), 814) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaWright - }; - obj175.Steps = list232; - reference180 = obj175; - ref QuestSequence reference181 = ref span55[2]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - CollectionsMarshal.AsSpan(list233)[0] = new QuestStep(EInteractionType.Interact, 2010402u, new Vector3(-550.7744f, 29.160034f, 363.4851f), 814) - { - Fly = true - }; - obj176.Steps = list233; - reference181 = obj176; - ref QuestSequence reference182 = ref span55[3]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - CollectionsMarshal.AsSpan(list234)[0] = new QuestStep(EInteractionType.Interact, 2010403u, new Vector3(-550.98804f, 41.33667f, 252.24683f), 814) - { - Fly = true - }; - obj177.Steps = list234; - reference182 = obj177; - ref QuestSequence reference183 = ref span55[4]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.Interact, 1030136u, new Vector3(-192.58417f, 26.771265f, 248.46265f), 814) - { - Fly = true - }; - obj178.Steps = list235; - reference183 = obj178; - ref QuestSequence reference184 = ref span55[5]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.Interact, 1030140u, new Vector3(67.64319f, 82.001656f, -53.330322f), 820) - { - AetheryteShortcut = EAetheryteLocation.Eulmore - }; - obj179.Steps = list236; - reference184 = obj179; - ref QuestSequence reference185 = ref span55[6]; - QuestSequence obj180 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - ref QuestStep reference186 = ref CollectionsMarshal.AsSpan(list237)[0]; - QuestStep obj181 = new QuestStep(EInteractionType.CompleteQuest, 1030964u, new Vector3(-18.143005f, 3.9998174f, 235.40088f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumPendants - } - }; - num3 = 1; - List list238 = new List(num3); - CollectionsMarshal.SetCount(list238, num3); - CollectionsMarshal.AsSpan(list238)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKBA321_03275_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKBA321_03275_A1_000_001") - }; - obj181.DialogueChoices = list238; - obj181.NextQuestId = new QuestId(3276); - reference186 = obj181; - obj180.Steps = list237; - reference185 = obj180; - questRoot34.QuestSequence = list230; - AddQuest(questId26, questRoot2); - QuestId questId27 = new QuestId(3276); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list239 = new List(num); - CollectionsMarshal.SetCount(list239, num); - CollectionsMarshal.AsSpan(list239)[0] = "Fifi"; - questRoot35.Author = list239; - num = 5; - List list240 = new List(num); - CollectionsMarshal.SetCount(list240, num); - Span span56 = CollectionsMarshal.AsSpan(list240); - ref QuestSequence reference187 = ref span56[0]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030964u, new Vector3(-18.143005f, 3.9998174f, 235.40088f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumPendants - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj182.Steps = list241; - reference187 = obj182; - ref QuestSequence reference188 = ref span56[1]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - CollectionsMarshal.AsSpan(list242)[0] = new QuestStep(EInteractionType.Interact, 1030144u, new Vector3(94.68213f, 37.377014f, 611.1085f), 814) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaWright - }; - obj183.Steps = list242; - reference188 = obj183; - ref QuestSequence reference189 = ref span56[2]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1030146u, new Vector3(-190.1427f, 12.748831f, 591.6686f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - obj184.Steps = list243; - reference189 = obj184; - span56[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference190 = ref span56[4]; - QuestSequence obj185 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030144u, new Vector3(94.68213f, 37.377014f, 611.1085f), 814) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaWright, - NextQuestId = new QuestId(3277) - }; - obj185.Steps = list244; - reference190 = obj185; - questRoot35.QuestSequence = list240; - AddQuest(questId27, questRoot35); - QuestId questId28 = new QuestId(3277); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list245 = new List(num); - CollectionsMarshal.SetCount(list245, num); - CollectionsMarshal.AsSpan(list245)[0] = "Fifi"; - questRoot36.Author = list245; - num = 5; - List list246 = new List(num); - CollectionsMarshal.SetCount(list246, num); - Span span57 = CollectionsMarshal.AsSpan(list246); - ref QuestSequence reference191 = ref span57[0]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030145u, new Vector3(93.461426f, 37.43559f, 611.50525f), 814) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaWright, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj186.Steps = list247; - reference191 = obj186; - ref QuestSequence reference192 = ref span57[1]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.Interact, 2010405u, new Vector3(-33.707214f, 3.982544f, 205.70679f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumPendants - } - }; - obj187.Steps = list248; - reference192 = obj187; - ref QuestSequence reference193 = ref span57[2]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - Span span58 = CollectionsMarshal.AsSpan(list249); - span58[0] = new QuestStep(EInteractionType.Interact, 1027323u, new Vector3(-42.893127f, 3.9998171f, 242.08435f), 819); - span58[1] = new QuestStep(EInteractionType.Interact, 1027238u, new Vector3(-15.487976f, 3.9998171f, 215.3811f), 819); - span58[2] = new QuestStep(EInteractionType.Interact, 1030147u, new Vector3(0.59503174f, 3.9998174f, 209.27734f), 819); - obj188.Steps = list249; - reference193 = obj188; - ref QuestSequence reference194 = ref span57[3]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - CollectionsMarshal.AsSpan(list250)[0] = new QuestStep(EInteractionType.Interact, 1030148u, new Vector3(-246.57056f, 10.152376f, 678.21765f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - obj189.Steps = list250; - reference194 = obj189; - ref QuestSequence reference195 = ref span57[4]; - QuestSequence obj190 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030145u, new Vector3(93.461426f, 37.43559f, 611.50525f), 814) - { - StopDistance = 1f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaWright, - NextQuestId = new QuestId(3278) - }; - obj190.Steps = list251; - reference195 = obj190; - questRoot36.QuestSequence = list246; - AddQuest(questId28, questRoot36); - QuestId questId29 = new QuestId(3278); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list252 = new List(num); - CollectionsMarshal.SetCount(list252, num); - CollectionsMarshal.AsSpan(list252)[0] = "Fifi"; - questRoot37.Author = list252; - num = 7; - List list253 = new List(num); - CollectionsMarshal.SetCount(list253, num); - Span span59 = CollectionsMarshal.AsSpan(list253); - ref QuestSequence reference196 = ref span59[0]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030144u, new Vector3(94.68213f, 37.377014f, 611.1085f), 814) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaWright, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj191.Steps = list254; - reference196 = obj191; - ref QuestSequence reference197 = ref span59[1]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - CollectionsMarshal.AsSpan(list255)[0] = new QuestStep(EInteractionType.Interact, 1027253u, new Vector3(17.502075f, 19.999794f, -190.41736f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumCrystallineMean - } - }; - obj192.Steps = list255; - reference197 = obj192; - ref QuestSequence reference198 = ref span59[2]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.Interact, 2010406u, new Vector3(-17.013855f, 4.470825f, 234.97363f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumCrystallineMean, - To = EAetheryteLocation.CrystariumPendants - } - }; - obj193.Steps = list256; - reference198 = obj193; - ref QuestSequence reference199 = ref span59[3]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1030990u, new Vector3(-246.57056f, 10.152376f, 678.21765f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - obj194.Steps = list257; - reference199 = obj194; - span59[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference200 = ref span59[5]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - CollectionsMarshal.AsSpan(list258)[0] = new QuestStep(EInteractionType.Interact, 1030145u, new Vector3(93.461426f, 37.43559f, 611.50525f), 814) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaWright - }; - obj195.Steps = list258; - reference200 = obj195; - ref QuestSequence reference201 = ref span59[6]; - QuestSequence obj196 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - CollectionsMarshal.AsSpan(list259)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030964u, new Vector3(-18.143005f, 3.9998174f, 235.40088f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumPendants - } - }; - obj196.Steps = list259; - reference201 = obj196; - questRoot37.QuestSequence = list253; - AddQuest(questId29, questRoot37); - QuestId questId30 = new QuestId(3279); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list260 = new List(num); - CollectionsMarshal.SetCount(list260, num); - CollectionsMarshal.AsSpan(list260)[0] = "liza"; - questRoot38.Author = list260; - num = 6; - List list261 = new List(num); - CollectionsMarshal.SetCount(list261, num); - Span span60 = CollectionsMarshal.AsSpan(list261); - ref QuestSequence reference202 = ref span60[0]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - CollectionsMarshal.AsSpan(list262)[0] = new QuestStep(EInteractionType.AcceptQuest, 1026990u, new Vector3(-2.4262085f, 0f, -9.10968f), 351) - { - StopDistance = 7f - }; - obj197.Steps = list262; - reference202 = obj197; - ref QuestSequence reference203 = ref span60[1]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - Span span61 = CollectionsMarshal.AsSpan(list263); - span61[0] = new QuestStep(EInteractionType.Interact, 2002879u, new Vector3(0f, 3f, 27.5f), 351) - { - TargetTerritoryId = (ushort)156 - }; - span61[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(30.917934f, 20.495003f, -656.1909f), 156) - { - Mount = true - }; - ref QuestStep reference204 = ref span61[2]; - QuestStep obj199 = new QuestStep(EInteractionType.Interact, 1029791u, new Vector3(351.49158f, -26.424099f, -370.8095f), 156) - { - Fly = true - }; - num3 = 1; - List list264 = new List(num3); - CollectionsMarshal.SetCount(list264, num3); - CollectionsMarshal.AsSpan(list264)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKMA101_03279_Q2_000_021") - }; - obj199.DialogueChoices = list264; - reference204 = obj199; - obj198.Steps = list263; - reference203 = obj198; - ref QuestSequence reference205 = ref span60[2]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.Interact, 1029792u, new Vector3(-47.074158f, 1.7201422f, 45.97534f), 842); - obj200.Steps = list265; - reference205 = obj200; - span60[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference206 = ref span60[4]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - CollectionsMarshal.AsSpan(list266)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(549.9286f, 8.932568f, 335.04544f), 877) - { - RestartNavigationIfCancelled = false - }; - obj201.Steps = list266; - reference206 = obj201; - ref QuestSequence reference207 = ref span60[5]; - QuestSequence obj202 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - CollectionsMarshal.AsSpan(list267)[0] = new QuestStep(EInteractionType.CompleteQuest, 1028924u, new Vector3(-176.5622f, 0f, 1.6326294f), 819) - { - StopDistance = 5f, - DisableNavmesh = true - }; - obj202.Steps = list267; - reference207 = obj202; - questRoot38.QuestSequence = list261; - AddQuest(questId30, questRoot38); - QuestId questId31 = new QuestId(3280); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list268 = new List(num); - CollectionsMarshal.SetCount(list268, num); - CollectionsMarshal.AsSpan(list268)[0] = "liza"; - questRoot39.Author = list268; - num = 4; - List list269 = new List(num); - CollectionsMarshal.SetCount(list269, num); - Span span62 = CollectionsMarshal.AsSpan(list269); - ref QuestSequence reference208 = ref span62[0]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - CollectionsMarshal.AsSpan(list270)[0] = new QuestStep(EInteractionType.AcceptQuest, 1028924u, new Vector3(-176.5622f, 0f, 1.6326294f), 819) - { - StopDistance = 5f - }; - obj203.Steps = list270; - reference208 = obj203; - ref QuestSequence reference209 = ref span62[1]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - CollectionsMarshal.AsSpan(list271)[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 819) - { - Aetheryte = EAetheryteLocation.Crystarium, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Never = true - } - } - }; - obj204.Steps = list271; - reference209 = obj204; - ref QuestSequence reference210 = ref span62[2]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 2 - }; - num2 = 6; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - Span span63 = CollectionsMarshal.AsSpan(list272); - span63[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 819) - { - AethernetShard = EAetheryteLocation.CrystariumCrystallineMean - }; - ref QuestStep reference211 = ref span63[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1027232u, new Vector3(-9.323303f, 20.1973f, -136.52252f), 819); - num3 = 6; - List list273 = new List(num3); - CollectionsMarshal.SetCount(list273, num3); - Span span64 = CollectionsMarshal.AsSpan(list273); - span64[0] = null; - span64[1] = null; - span64[2] = null; - span64[3] = null; - span64[4] = null; - span64[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list273; - reference211 = questStep7; - span63[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 819) - { - AethernetShard = EAetheryteLocation.CrystariumAmaroLaunch - }; - span63[3] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 819) - { - AethernetShard = EAetheryteLocation.CrystariumCabinetOfCuriosity, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumAmaroLaunch, - To = EAetheryteLocation.Crystarium - } - }; - span63[4] = new QuestStep(EInteractionType.Interact, 1027226u, new Vector3(-61.84485f, -17.72202f, -266.2547f), 819); - span63[5] = new QuestStep(EInteractionType.Interact, 1027224u, new Vector3(-57.358704f, -7.4820004f, 118.08948f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumCabinetOfCuriosity, - To = EAetheryteLocation.Crystarium - } - }; - obj205.Steps = list272; - reference210 = obj205; - ref QuestSequence reference212 = ref span62[3]; - QuestSequence obj206 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - Span span65 = CollectionsMarshal.AsSpan(list274); - span65[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 819) - { - AethernetShard = EAetheryteLocation.CrystariumMarkets - }; - span65[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 819) - { - AethernetShard = EAetheryteLocation.CrystariumDossalGate, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumMarkets, - To = EAetheryteLocation.Crystarium - } - }; - span65[2] = new QuestStep(EInteractionType.CompleteQuest, 1028925u, new Vector3(60.105225f, -3.047831E-07f, 1.6021729f), 819); - obj206.Steps = list274; - reference212 = obj206; - questRoot39.QuestSequence = list269; - AddQuest(questId31, questRoot39); - QuestId questId32 = new QuestId(3281); - questRoot2 = new QuestRoot(); - QuestRoot questRoot40 = questRoot2; - num = 1; - List list275 = new List(num); - CollectionsMarshal.SetCount(list275, num); - CollectionsMarshal.AsSpan(list275)[0] = "liza"; - questRoot40.Author = list275; - QuestRoot questRoot41 = questRoot2; - num = 7; - list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span66 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference213 = ref span66[0]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - ref QuestStep reference214 = ref CollectionsMarshal.AsSpan(list276)[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.AcceptQuest, 1028925u, new Vector3(60.105225f, -3.047831E-07f, 1.6021729f), 819); - num3 = 1; - List list277 = new List(num3); - CollectionsMarshal.SetCount(list277, num3); - CollectionsMarshal.AsSpan(list277)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMA103_03281_Q1_000_002"), - Answer = new ExcelRef("TEXT_LUCKMA103_03281_A1_000_003") - }; - questStep8.DialogueChoices = list277; - reference214 = questStep8; - obj207.Steps = list276; - reference213 = obj207; - ref QuestSequence reference215 = ref span66[1]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - ref QuestStep reference216 = ref CollectionsMarshal.AsSpan(list278)[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1030533u, new Vector3(117.997925f, 14.649025f, 7.156433f), 819); - num3 = 1; - List list279 = new List(num3); - CollectionsMarshal.SetCount(list279, num3); - CollectionsMarshal.AsSpan(list279)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKMA103_03281_Q2_000_011") - }; - questStep9.DialogueChoices = list279; - reference216 = questStep9; - obj208.Steps = list278; - reference215 = obj208; - ref QuestSequence reference217 = ref span66[2]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - CollectionsMarshal.AsSpan(list280)[0] = new QuestStep(EInteractionType.Interact, 1028925u, new Vector3(60.105225f, -3.047831E-07f, 1.6021729f), 819); - obj209.Steps = list280; - reference217 = obj209; - ref QuestSequence reference218 = ref span66[3]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - CollectionsMarshal.AsSpan(list281)[0] = new QuestStep(EInteractionType.Interact, 1028926u, new Vector3(-4.1047363f, -7.700001f, 138.47559f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumDossalGate, - To = EAetheryteLocation.CrystariumMarkets - } - }; - obj210.Steps = list281; - reference218 = obj210; - ref QuestSequence reference219 = ref span66[4]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - Span span67 = CollectionsMarshal.AsSpan(list282); - span67[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(16.119648f, -4.2178187f, 176.1683f), 819); - span67[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 819) - { - AethernetShard = EAetheryteLocation.CrystariumPendants - }; - span67[2] = new QuestStep(EInteractionType.Interact, 1028927u, new Vector3(62.546753f, 1.716012f, 249.13391f), 819); - obj211.Steps = list282; - reference219 = obj211; - ref QuestSequence reference220 = ref span66[5]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - ref QuestStep reference221 = ref CollectionsMarshal.AsSpan(list283)[0]; - QuestStep obj213 = new QuestStep(EInteractionType.Interact, 1030610u, new Vector3(65.11023f, 1.7160122f, 249.7749f), 819) - { - StopDistance = 7f - }; - num3 = 1; - List list284 = new List(num3); - CollectionsMarshal.SetCount(list284, num3); - CollectionsMarshal.AsSpan(list284)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKMA103_03281_Q3_000_062") - }; - obj213.DialogueChoices = list284; - reference221 = obj213; - obj212.Steps = list283; - reference220 = obj212; - ref QuestSequence reference222 = ref span66[6]; - QuestSequence obj214 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - Span span68 = CollectionsMarshal.AsSpan(list285); - ref QuestStep reference223 = ref span68[0]; - QuestStep obj215 = new QuestStep(EInteractionType.Interact, 1030533u, new Vector3(117.997925f, 14.649025f, 7.156433f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumPendants, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - num3 = 1; - List list286 = new List(num3); - CollectionsMarshal.SetCount(list286, num3); - CollectionsMarshal.AsSpan(list286)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKMA103_03281_Q4_000_071") - }; - obj215.DialogueChoices = list286; - reference223 = obj215; - span68[1] = new QuestStep(EInteractionType.CompleteQuest, 1028923u, new Vector3(-0.015319824f, -1.0530548E-13f, -6.0273438f), 844); - obj214.Steps = list285; - reference222 = obj214; - questRoot41.QuestSequence = list8; - AddQuest(questId32, questRoot2); - QuestId questId33 = new QuestId(3282); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list287 = new List(num); - CollectionsMarshal.SetCount(list287, num); - CollectionsMarshal.AsSpan(list287)[0] = "liza"; - questRoot42.Author = list287; - num = 4; - List list288 = new List(num); - CollectionsMarshal.SetCount(list288, num); - Span span69 = CollectionsMarshal.AsSpan(list288); - ref QuestSequence reference224 = ref span69[0]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.AcceptQuest, 1028923u, new Vector3(-0.015319824f, -1.0530548E-13f, -6.0273438f), 844); - obj216.Steps = list289; - reference224 = obj216; - ref QuestSequence reference225 = ref span69[1]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - Span span70 = CollectionsMarshal.AsSpan(list290); - span70[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 819) - { - AethernetShard = EAetheryteLocation.CrystariumTemenosRookery, - AetheryteShortcut = EAetheryteLocation.Crystarium - }; - ref QuestStep reference226 = ref span70[1]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1027246u, new Vector3(-136.98022f, 0f, -73.777466f), 819); - num3 = 1; - List list291 = new List(num3); - CollectionsMarshal.SetCount(list291, num3); - CollectionsMarshal.AsSpan(list291)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMA201_03282_Q1_000_013"), - Answer = new ExcelRef("TEXT_LUCKMA201_03282_A1_000_015") - }; - questStep10.DialogueChoices = list291; - reference226 = questStep10; - obj217.Steps = list290; - reference225 = obj217; - ref QuestSequence reference227 = ref span69[2]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - CollectionsMarshal.AsSpan(list292)[0] = new QuestStep(EInteractionType.Interact, 1029806u, new Vector3(62.394165f, 36.247692f, -169.39038f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumTemenosRookery, - To = EAetheryteLocation.CrystariumAmaroLaunch - } - }; - obj218.Steps = list292; - reference227 = obj218; - ref QuestSequence reference228 = ref span69[3]; - QuestSequence obj219 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - CollectionsMarshal.AsSpan(list293)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029807u, new Vector3(802.2124f, 1.2725923f, 253.00977f), 814) - { - DisableNavmesh = true - }; - obj219.Steps = list293; - reference228 = obj219; - questRoot42.QuestSequence = list288; - AddQuest(questId33, questRoot42); - QuestId questId34 = new QuestId(3283); - questRoot2 = new QuestRoot(); - QuestRoot questRoot43 = questRoot2; - num = 1; - List list294 = new List(num); - CollectionsMarshal.SetCount(list294, num); - CollectionsMarshal.AsSpan(list294)[0] = "liza"; - questRoot43.Author = list294; - QuestRoot questRoot44 = questRoot2; - num = 8; - list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span71 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference229 = ref span71[0]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - CollectionsMarshal.AsSpan(list295)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029807u, new Vector3(802.2124f, 1.2725923f, 253.00977f), 814) - { - DisableNavmesh = true - }; - obj220.Steps = list295; - reference229 = obj220; - ref QuestSequence reference230 = ref span71[1]; - QuestSequence obj221 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - Span span72 = CollectionsMarshal.AsSpan(list296); - span72[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(639.3296f, 0.52189386f, 533.5061f), 814); - span72[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010034u, new Vector3(650.5377f, 0.3508911f, 556.38965f), 814) - { - AetherCurrentId = 2818238u - }; - span72[2] = new QuestStep(EInteractionType.Interact, 1027286u, new Vector3(626.1234f, 3.237296f, 471.97668f), 814); - obj221.Steps = list296; - reference230 = obj221; - ref QuestSequence reference231 = ref span71[2]; - QuestSequence obj222 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - Span span73 = CollectionsMarshal.AsSpan(list297); - span73[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 814) - { - Aetheryte = EAetheryteLocation.KholusiaStilltide - }; - span73[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(683.3415f, 30.116053f, 276.70578f), 814); - ref QuestStep reference232 = ref span73[2]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 2009956u, new Vector3(687.9225f, 30.07544f, 279.40784f), 814); - num3 = 1; - List list298 = new List(num3); - CollectionsMarshal.SetCount(list298, num3); - CollectionsMarshal.AsSpan(list298)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMA202_03283_Q1_000_031"), - Answer = new ExcelRef("TEXT_LUCKMA202_03283_A1_000_034") - }; - questStep11.DialogueChoices = list298; - reference232 = questStep11; - obj222.Steps = list297; - reference231 = obj222; - ref QuestSequence reference233 = ref span71[3]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - Span span74 = CollectionsMarshal.AsSpan(list299); - ref QuestStep reference234 = ref span74[0]; - QuestStep obj224 = new QuestStep(EInteractionType.Combat, 2009957u, new Vector3(663.17236f, 53.635498f, 60.28833f), 814) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list300 = new List(num3); - CollectionsMarshal.SetCount(list300, num3); - CollectionsMarshal.AsSpan(list300)[0] = 10857u; - obj224.KillEnemyDataIds = list300; - num3 = 6; - List list301 = new List(num3); - CollectionsMarshal.SetCount(list301, num3); - Span span75 = CollectionsMarshal.AsSpan(list301); - span75[0] = null; - span75[1] = null; - span75[2] = null; - span75[3] = null; - span75[4] = null; - span75[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj224.CompletionQuestVariablesFlags = list301; - reference234 = obj224; - ref QuestStep reference235 = ref span74[1]; - QuestStep obj225 = new QuestStep(EInteractionType.Combat, 2009958u, new Vector3(694.026f, 53.757446f, 12.924377f), 814) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list302 = new List(num3); - CollectionsMarshal.SetCount(list302, num3); - CollectionsMarshal.AsSpan(list302)[0] = 10858u; - obj225.KillEnemyDataIds = list302; - num3 = 6; - List list303 = new List(num3); - CollectionsMarshal.SetCount(list303, num3); - Span span76 = CollectionsMarshal.AsSpan(list303); - span76[0] = null; - span76[1] = null; - span76[2] = null; - span76[3] = null; - span76[4] = null; - span76[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj225.CompletionQuestVariablesFlags = list303; - reference235 = obj225; - obj223.Steps = list299; - reference233 = obj223; - ref QuestSequence reference236 = ref span71[4]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - CollectionsMarshal.AsSpan(list304)[0] = new QuestStep(EInteractionType.Interact, 2009959u, new Vector3(703.5171f, 53.757446f, 52.140015f), 814); - obj226.Steps = list304; - reference236 = obj226; - ref QuestSequence reference237 = ref span71[5]; - QuestSequence obj227 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - CollectionsMarshal.AsSpan(list305)[0] = new QuestStep(EInteractionType.Interact, 2009959u, new Vector3(703.5171f, 53.757446f, 52.140015f), 814); - obj227.Steps = list305; - reference237 = obj227; - ref QuestSequence reference238 = ref span71[6]; - QuestSequence obj228 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - CollectionsMarshal.AsSpan(list306)[0] = new QuestStep(EInteractionType.Interact, 2009959u, new Vector3(703.5171f, 53.757446f, 52.140015f), 814); - obj228.Steps = list306; - reference238 = obj228; - ref QuestSequence reference239 = ref span71[7]; - QuestSequence obj229 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list307 = new List(num2); - CollectionsMarshal.SetCount(list307, num2); - CollectionsMarshal.AsSpan(list307)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027313u, new Vector3(691.0658f, 30.11709f, 279.62158f), 814); - obj229.Steps = list307; - reference239 = obj229; - questRoot44.QuestSequence = list8; - AddQuest(questId34, questRoot2); - QuestId questId35 = new QuestId(3284); - questRoot2 = new QuestRoot(); - QuestRoot questRoot45 = questRoot2; - num = 1; - List list308 = new List(num); - CollectionsMarshal.SetCount(list308, num); - CollectionsMarshal.AsSpan(list308)[0] = "liza"; - questRoot45.Author = list308; - QuestRoot questRoot46 = questRoot2; - num = 9; - list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span77 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference240 = ref span77[0]; - QuestSequence obj230 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - CollectionsMarshal.AsSpan(list309)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029809u, new Vector3(687.1289f, 30.118057f, 282.73438f), 814) - { - StopDistance = 7f - }; - obj230.Steps = list309; - reference240 = obj230; - ref QuestSequence reference241 = ref span77[1]; - QuestSequence obj231 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - CollectionsMarshal.AsSpan(list310)[0] = new QuestStep(EInteractionType.Interact, 1029810u, new Vector3(377.24878f, 6.8162985f, 306.56897f), 814); - obj231.Steps = list310; - reference241 = obj231; - ref QuestSequence reference242 = ref span77[2]; - QuestSequence obj232 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list311 = new List(num2); - CollectionsMarshal.SetCount(list311, num2); - CollectionsMarshal.AsSpan(list311)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(338.49463f, 31.93622f, 203.53125f), 814) - { - StopDistance = 1f - }; - obj232.Steps = list311; - reference242 = obj232; - ref QuestSequence reference243 = ref span77[3]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - ref QuestStep reference244 = ref CollectionsMarshal.AsSpan(list312)[0]; - QuestStep obj234 = new QuestStep(EInteractionType.Combat, null, new Vector3(338.49463f, 31.93622f, 203.53125f), 814) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list313 = new List(num3); - CollectionsMarshal.SetCount(list313, num3); - CollectionsMarshal.AsSpan(list313)[0] = 10859u; - obj234.KillEnemyDataIds = list313; - reference244 = obj234; - obj233.Steps = list312; - reference243 = obj233; - ref QuestSequence reference245 = ref span77[4]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - CollectionsMarshal.AsSpan(list314)[0] = new QuestStep(EInteractionType.Interact, 1029811u, new Vector3(341.75623f, 31.93621f, 202.01416f), 814) - { - StopDistance = 7f - }; - obj235.Steps = list314; - reference245 = obj235; - ref QuestSequence reference246 = ref span77[5]; - QuestSequence obj236 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - CollectionsMarshal.AsSpan(list315)[0] = new QuestStep(EInteractionType.Interact, 2009961u, new Vector3(168.3833f, 40.115967f, 567.1931f), 814); - obj236.Steps = list315; - reference246 = obj236; - ref QuestSequence reference247 = ref span77[6]; - QuestSequence obj237 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - CollectionsMarshal.AsSpan(list316)[0] = new QuestStep(EInteractionType.Interact, 1029814u, new Vector3(165.78918f, 41.141296f, 676.9663f), 814) - { - StopDistance = 7f - }; - obj237.Steps = list316; - reference247 = obj237; - ref QuestSequence reference248 = ref span77[7]; - QuestSequence obj238 = new QuestSequence - { - Sequence = 7 - }; - num2 = 3; - List list317 = new List(num2); - CollectionsMarshal.SetCount(list317, num2); - Span span78 = CollectionsMarshal.AsSpan(list317); - ref QuestStep reference249 = ref span78[0]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 2009962u, new Vector3(175.73816f, 50.003784f, 771.4807f), 814); - num3 = 6; - List list318 = new List(num3); - CollectionsMarshal.SetCount(list318, num3); - Span span79 = CollectionsMarshal.AsSpan(list318); - span79[0] = null; - span79[1] = null; - span79[2] = null; - span79[3] = null; - span79[4] = null; - span79[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list318; - reference249 = questStep12; - ref QuestStep reference250 = ref span78[1]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1029816u, new Vector3(112.65735f, 54.873238f, 833.4934f), 814); - num3 = 6; - List list319 = new List(num3); - CollectionsMarshal.SetCount(list319, num3); - Span span80 = CollectionsMarshal.AsSpan(list319); - span80[0] = null; - span80[1] = null; - span80[2] = null; - span80[3] = null; - span80[4] = null; - span80[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list319; - reference250 = questStep13; - ref QuestStep reference251 = ref span78[2]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1029815u, new Vector3(184.40515f, 40.039566f, 592.0653f), 814); - num3 = 6; - List list320 = new List(num3); - CollectionsMarshal.SetCount(list320, num3); - Span span81 = CollectionsMarshal.AsSpan(list320); - span81[0] = null; - span81[1] = null; - span81[2] = null; - span81[3] = null; - span81[4] = null; - span81[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list320; - reference251 = questStep14; - obj238.Steps = list317; - reference248 = obj238; - ref QuestSequence reference252 = ref span77[8]; - QuestSequence obj239 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list321 = new List(num2); - CollectionsMarshal.SetCount(list321, num2); - CollectionsMarshal.AsSpan(list321)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029814u, new Vector3(165.78918f, 41.141296f, 676.9663f), 814); - obj239.Steps = list321; - reference252 = obj239; - questRoot46.QuestSequence = list8; - AddQuest(questId35, questRoot2); - QuestId questId36 = new QuestId(3285); - QuestRoot questRoot47 = new QuestRoot(); - num = 1; - List list322 = new List(num); - CollectionsMarshal.SetCount(list322, num); - CollectionsMarshal.AsSpan(list322)[0] = "liza"; - questRoot47.Author = list322; - num = 7; - List list323 = new List(num); - CollectionsMarshal.SetCount(list323, num); - Span span82 = CollectionsMarshal.AsSpan(list323); - ref QuestSequence reference253 = ref span82[0]; - QuestSequence obj240 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list324 = new List(num2); - CollectionsMarshal.SetCount(list324, num2); - CollectionsMarshal.AsSpan(list324)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029814u, new Vector3(165.78918f, 41.141296f, 676.9663f), 814); - obj240.Steps = list324; - reference253 = obj240; - ref QuestSequence reference254 = ref span82[1]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list325 = new List(num2); - CollectionsMarshal.SetCount(list325, num2); - Span span83 = CollectionsMarshal.AsSpan(list325); - span83[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 814) - { - Aetheryte = EAetheryteLocation.KholusiaWright - }; - span83[1] = new QuestStep(EInteractionType.Interact, 1027516u, new Vector3(-266.0716f, 21.746891f, 376.7909f), 814); - obj241.Steps = list325; - reference254 = obj241; - ref QuestSequence reference255 = ref span82[2]; - QuestSequence obj242 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list326 = new List(num2); - CollectionsMarshal.SetCount(list326, num2); - CollectionsMarshal.AsSpan(list326)[0] = new QuestStep(EInteractionType.Snipe, 2009963u, new Vector3(-276.17303f, 17.807251f, 656.9772f), 814) - { - Comment = "Click the guy in front of (or near) the light house stairs" - }; - obj242.Steps = list326; - reference255 = obj242; - ref QuestSequence reference256 = ref span82[3]; - QuestSequence obj243 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list327 = new List(num2); - CollectionsMarshal.SetCount(list327, num2); - CollectionsMarshal.AsSpan(list327)[0] = new QuestStep(EInteractionType.Interact, 1029818u, new Vector3(-322.46893f, 21.33508f, 777.4623f), 814); - obj243.Steps = list327; - reference256 = obj243; - ref QuestSequence reference257 = ref span82[4]; - QuestSequence obj244 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - Span span84 = CollectionsMarshal.AsSpan(list328); - span84[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-617.37683f, 17.524837f, 544.3568f), 814); - span84[1] = new QuestStep(EInteractionType.Interact, 1029819u, new Vector3(-635.6756f, 0.22940278f, 571.313f), 814) - { - DisableNavmesh = true - }; - obj244.Steps = list328; - reference257 = obj244; - ref QuestSequence reference258 = ref span82[5]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list329 = new List(num2); - CollectionsMarshal.SetCount(list329, num2); - CollectionsMarshal.AsSpan(list329)[0] = new QuestStep(EInteractionType.Interact, 1029844u, new Vector3(-638.11707f, 0.2956289f, 571.5265f), 814) - { - StopDistance = 7f - }; - obj245.Steps = list329; - reference258 = obj245; - ref QuestSequence reference259 = ref span82[6]; - QuestSequence obj246 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list330 = new List(num2); - CollectionsMarshal.SetCount(list330, num2); - Span span85 = CollectionsMarshal.AsSpan(list330); - span85[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010038u, new Vector3(-651.1788f, -0.015319824f, 588.4031f), 814) - { - AetherCurrentId = 2818242u - }; - span85[1] = new QuestStep(EInteractionType.CompleteQuest, 1029823u, new Vector3(-330.40363f, 19.081778f, 389.27283f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaWright - }; - obj246.Steps = list330; - reference259 = obj246; - questRoot47.QuestSequence = list323; - AddQuest(questId36, questRoot47); - QuestId questId37 = new QuestId(3286); - questRoot2 = new QuestRoot(); - QuestRoot questRoot48 = questRoot2; - num = 1; - List list331 = new List(num); - CollectionsMarshal.SetCount(list331, num); - CollectionsMarshal.AsSpan(list331)[0] = "liza"; - questRoot48.Author = list331; - QuestRoot questRoot49 = questRoot2; - num = 11; - list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span86 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference260 = ref span86[0]; - QuestSequence obj247 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list332 = new List(num2); - CollectionsMarshal.SetCount(list332, num2); - CollectionsMarshal.AsSpan(list332)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029822u, new Vector3(-328.6031f, 19.317894f, 390.00525f), 814); - obj247.Steps = list332; - reference260 = obj247; - ref QuestSequence reference261 = ref span86[1]; - QuestSequence obj248 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list333 = new List(num2); - CollectionsMarshal.SetCount(list333, num2); - Span span87 = CollectionsMarshal.AsSpan(list333); - span87[0] = new QuestStep(EInteractionType.AcceptQuest, 1027452u, new Vector3(-310.62793f, 19.405178f, 405.2948f), 814) - { - PickUpQuestId = new QuestId(3360) - }; - span87[1] = new QuestStep(EInteractionType.AcceptQuest, 1030763u, new Vector3(-306.2334f, 20.956566f, 358.41907f), 814) - { - PickUpQuestId = new QuestId(3371) - }; - span87[2] = new QuestStep(EInteractionType.Interact, 2009964u, new Vector3(168.96313f, 41.000854f, 677.3021f), 814); - obj248.Steps = list333; - reference261 = obj248; - span86[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference262 = ref span86[3]; - QuestSequence obj249 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - CollectionsMarshal.AsSpan(list334)[0] = new QuestStep(EInteractionType.Interact, 1029824u, new Vector3(0.6866455f, -5.0951424f, -104.112366f), 820); - obj249.Steps = list334; - reference262 = obj249; - ref QuestSequence reference263 = ref span86[4]; - QuestSequence obj250 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list335 = new List(num2); - CollectionsMarshal.SetCount(list335, num2); - Span span88 = CollectionsMarshal.AsSpan(list335); - span88[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 820) - { - AethernetShard = EAetheryteLocation.EulmoreGloryGate - }; - span88[1] = new QuestStep(EInteractionType.Interact, 1027524u, new Vector3(17.410522f, 6f, -0.16790771f), 820); - obj250.Steps = list335; - reference263 = obj250; - ref QuestSequence reference264 = ref span86[5]; - QuestSequence obj251 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list336 = new List(num2); - CollectionsMarshal.SetCount(list336, num2); - CollectionsMarshal.AsSpan(list336)[0] = new QuestStep(EInteractionType.Interact, 1027526u, new Vector3(17.410522f, 6f, 16.983276f), 820); - obj251.Steps = list336; - reference264 = obj251; - ref QuestSequence reference265 = ref span86[6]; - QuestSequence obj252 = new QuestSequence - { - Sequence = 6 - }; - num2 = 3; - List list337 = new List(num2); - CollectionsMarshal.SetCount(list337, num2); - Span span89 = CollectionsMarshal.AsSpan(list337); - span89[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(14.658053f, 5.9974756f, 37.953873f), 820); - span89[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(17.513058f, 6.0829277f, 38.194153f), 820) - { - DisableNavmesh = true - }; - span89[2] = new QuestStep(EInteractionType.Interact, 2009967u, new Vector3(18.20398f, 7.522644f, 38.223755f), 820); - obj252.Steps = list337; - reference265 = obj252; - ref QuestSequence reference266 = ref span86[7]; - QuestSequence obj253 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list338 = new List(num2); - CollectionsMarshal.SetCount(list338, num2); - CollectionsMarshal.AsSpan(list338)[0] = new QuestStep(EInteractionType.UseItem, null, new Vector3(10.609789f, 6f, 33.17366f), 820) - { - StopDistance = 0.25f, - DelaySecondsAtStart = 3f, - ItemId = 2002575u - }; - obj253.Steps = list338; - reference266 = obj253; - ref QuestSequence reference267 = ref span86[8]; - QuestSequence obj254 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list339 = new List(num2); - CollectionsMarshal.SetCount(list339, num2); - ref QuestStep reference268 = ref CollectionsMarshal.AsSpan(list339)[0]; - QuestStep obj255 = new QuestStep(EInteractionType.Interact, 1029827u, new Vector3(4.1046753f, 5.9999995f, 29.770264f), 820) - { - StopDistance = 1f - }; - num3 = 1; - List list340 = new List(num3); - CollectionsMarshal.SetCount(list340, num3); - CollectionsMarshal.AsSpan(list340)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMA205_03286_Q1_000_152"), - Answer = new ExcelRef("TEXT_LUCKMA205_03286_A1_000_153") - }; - obj255.DialogueChoices = list340; - reference268 = obj255; - obj254.Steps = list339; - reference267 = obj254; - ref QuestSequence reference269 = ref span86[9]; - QuestSequence obj256 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - CollectionsMarshal.AsSpan(list341)[0] = new QuestStep(EInteractionType.Interact, 1029990u, new Vector3(11.36792f, 5.999995f, -38.651123f), 820); - obj256.Steps = list341; - reference269 = obj256; - ref QuestSequence reference270 = ref span86[10]; - QuestSequence obj257 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - Span span90 = CollectionsMarshal.AsSpan(list342); - span90[0] = new QuestStep(EInteractionType.Interact, 1027527u, new Vector3(-2.1820679f, 7.191099f, 58.060547f), 820) - { - TargetTerritoryId = (ushort)820, - Sprint = true - }; - span90[1] = new QuestStep(EInteractionType.CompleteQuest, 1029830u, new Vector3(28.396973f, 82.78207f, 26.5354f), 820); - obj257.Steps = list342; - reference270 = obj257; - questRoot49.QuestSequence = list8; - AddQuest(questId37, questRoot2); - QuestId questId38 = new QuestId(3287); - QuestRoot questRoot50 = new QuestRoot(); - num = 1; - List list343 = new List(num); - CollectionsMarshal.SetCount(list343, num); - CollectionsMarshal.AsSpan(list343)[0] = "liza"; - questRoot50.Author = list343; - num = 4; - List list344 = new List(num); - CollectionsMarshal.SetCount(list344, num); - Span span91 = CollectionsMarshal.AsSpan(list344); - ref QuestSequence reference271 = ref span91[0]; - QuestSequence obj258 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list345 = new List(num2); - CollectionsMarshal.SetCount(list345, num2); - CollectionsMarshal.AsSpan(list345)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029832u, new Vector3(28.793701f, 82.78206f, 24.917969f), 820) - { - StopDistance = 5f - }; - obj258.Steps = list345; - reference271 = obj258; - ref QuestSequence reference272 = ref span91[1]; - QuestSequence obj259 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list346 = new List(num2); - CollectionsMarshal.SetCount(list346, num2); - CollectionsMarshal.AsSpan(list346)[0] = new QuestStep(EInteractionType.Interact, 1029833u, new Vector3(-24.887512f, 82.2726f, -19.058533f), 820); - obj259.Steps = list346; - reference272 = obj259; - ref QuestSequence reference273 = ref span91[2]; - QuestSequence obj260 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list347 = new List(num2); - CollectionsMarshal.SetCount(list347, num2); - CollectionsMarshal.AsSpan(list347)[0] = new QuestStep(EInteractionType.Interact, 1029834u, new Vector3(-18.35669f, 82.597046f, -52.99463f), 820); - obj260.Steps = list347; - reference273 = obj260; - ref QuestSequence reference274 = ref span91[3]; - QuestSequence obj261 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list348 = new List(num2); - CollectionsMarshal.SetCount(list348, num2); - ref QuestStep reference275 = ref CollectionsMarshal.AsSpan(list348)[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.CompleteQuest, 1029833u, new Vector3(-24.887512f, 82.2726f, -19.058533f), 820); - num3 = 1; - List list349 = new List(num3); - CollectionsMarshal.SetCount(list349, num3); - CollectionsMarshal.AsSpan(list349)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMA206_03287_Q2_000_081"), - Answer = new ExcelRef("TEXT_LUCKMA206_03287_A2_000_083") - }; - questStep15.DialogueChoices = list349; - reference275 = questStep15; - obj261.Steps = list348; - reference274 = obj261; - questRoot50.QuestSequence = list344; - AddQuest(questId38, questRoot50); - QuestId questId39 = new QuestId(3288); - questRoot2 = new QuestRoot(); - QuestRoot questRoot51 = questRoot2; - num = 1; - List list350 = new List(num); - CollectionsMarshal.SetCount(list350, num); - CollectionsMarshal.AsSpan(list350)[0] = "liza"; - questRoot51.Author = list350; - QuestRoot questRoot52 = questRoot2; - num = 8; - list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span92 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference276 = ref span92[0]; - QuestSequence obj262 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list351 = new List(num2); - CollectionsMarshal.SetCount(list351, num2); - CollectionsMarshal.AsSpan(list351)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029833u, new Vector3(-24.887512f, 82.2726f, -19.058533f), 820); - obj262.Steps = list351; - reference276 = obj262; - ref QuestSequence reference277 = ref span92[1]; - QuestSequence obj263 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list352 = new List(num2); - CollectionsMarshal.SetCount(list352, num2); - CollectionsMarshal.AsSpan(list352)[0] = new QuestStep(EInteractionType.Interact, 1027575u, new Vector3(59.128662f, 83.00107f, -70.08472f), 820); - obj263.Steps = list352; - reference277 = obj263; - ref QuestSequence reference278 = ref span92[2]; - QuestSequence obj264 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list353 = new List(num2); - CollectionsMarshal.SetCount(list353, num2); - ref QuestStep reference279 = ref CollectionsMarshal.AsSpan(list353)[0]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1027575u, new Vector3(59.128662f, 83.00107f, -70.08472f), 820); - num3 = 3; - List list354 = new List(num3); - CollectionsMarshal.SetCount(list354, num3); - Span span93 = CollectionsMarshal.AsSpan(list354); - span93[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMA207_03288_Q1_000_041"), - Answer = new ExcelRef("TEXT_LUCKMA207_03288_A1_000_042") - }; - span93[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMA207_03288_Q2_000_052"), - Answer = new ExcelRef("TEXT_LUCKMA207_03288_A2_000_054") - }; - span93[2] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKMA207_03288_TISTABIE_000_060") - }; - questStep16.DialogueChoices = list354; - reference279 = questStep16; - obj264.Steps = list353; - reference278 = obj264; - ref QuestSequence reference280 = ref span92[3]; - QuestSequence obj265 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list355 = new List(num2); - CollectionsMarshal.SetCount(list355, num2); - ref QuestStep reference281 = ref CollectionsMarshal.AsSpan(list355)[0]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1027575u, new Vector3(59.128662f, 83.00107f, -70.08472f), 820); - num3 = 3; - List list356 = new List(num3); - CollectionsMarshal.SetCount(list356, num3); - Span span94 = CollectionsMarshal.AsSpan(list356); - span94[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMA207_03288_Q1_000_041"), - Answer = new ExcelRef("TEXT_LUCKMA207_03288_A1_000_042") - }; - span94[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMA207_03288_Q2_000_052"), - Answer = new ExcelRef("TEXT_LUCKMA207_03288_A2_000_054") - }; - span94[2] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKMA207_03288_TISTABIE_000_060") - }; - questStep17.DialogueChoices = list356; - reference281 = questStep17; - obj265.Steps = list355; - reference280 = obj265; - ref QuestSequence reference282 = ref span92[4]; - QuestSequence obj266 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list357 = new List(num2); - CollectionsMarshal.SetCount(list357, num2); - CollectionsMarshal.AsSpan(list357)[0] = new QuestStep(EInteractionType.Interact, 1027574u, new Vector3(54.154175f, 82.00165f, -50.888855f), 820); - obj266.Steps = list357; - reference282 = obj266; - ref QuestSequence reference283 = ref span92[5]; - QuestSequence obj267 = new QuestSequence - { - Sequence = 5 - }; - num2 = 5; - List list358 = new List(num2); - CollectionsMarshal.SetCount(list358, num2); - Span span95 = CollectionsMarshal.AsSpan(list358); - span95[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(60.480736f, 82.909546f, -37.52441f), 820); - span95[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(63.647987f, 84.80449f, -36.65881f), 820) - { - DisableNavmesh = true - }; - span95[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(65.76068f, 86.70241f, -39.688606f), 820) - { - DisableNavmesh = true - }; - span95[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(64.27692f, 86.7024f, -40.825073f), 820) - { - DisableNavmesh = true - }; - span95[4] = new QuestStep(EInteractionType.Emote, null, new Vector3(61.212788f, 86.7f, -40.65704f), 820) - { - StopDistance = 0.5f, - DisableNavmesh = true, - Emote = EEmote.Dance - }; - obj267.Steps = list358; - reference283 = obj267; - ref QuestSequence reference284 = ref span92[6]; - QuestSequence obj268 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list359 = new List(num2); - CollectionsMarshal.SetCount(list359, num2); - CollectionsMarshal.AsSpan(list359)[0] = new QuestStep(EInteractionType.Interact, 1027574u, new Vector3(54.154175f, 82.00165f, -50.888855f), 820); - obj268.Steps = list359; - reference284 = obj268; - ref QuestSequence reference285 = ref span92[7]; - QuestSequence obj269 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list360 = new List(num2); - CollectionsMarshal.SetCount(list360, num2); - CollectionsMarshal.AsSpan(list360)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029830u, new Vector3(28.396973f, 82.78207f, 26.5354f), 820); - obj269.Steps = list360; - reference285 = obj269; - questRoot52.QuestSequence = list8; - AddQuest(questId39, questRoot2); - QuestId questId40 = new QuestId(3289); - QuestRoot questRoot53 = new QuestRoot(); - num = 1; - List list361 = new List(num); - CollectionsMarshal.SetCount(list361, num); - CollectionsMarshal.AsSpan(list361)[0] = "liza"; - questRoot53.Author = list361; - num = 5; - List list362 = new List(num); - CollectionsMarshal.SetCount(list362, num); - Span span96 = CollectionsMarshal.AsSpan(list362); - ref QuestSequence reference286 = ref span96[0]; - QuestSequence obj270 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list363 = new List(num2); - CollectionsMarshal.SetCount(list363, num2); - CollectionsMarshal.AsSpan(list363)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029837u, new Vector3(26.810059f, 82.78224f, 23.819275f), 820); - obj270.Steps = list363; - reference286 = obj270; - ref QuestSequence reference287 = ref span96[1]; - QuestSequence obj271 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list364 = new List(num2); - CollectionsMarshal.SetCount(list364, num2); - Span span97 = CollectionsMarshal.AsSpan(list364); - span97[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-16.370012f, 51.01856f, 18.119207f), 820); - span97[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-18.53454f, 23.1f, 4.258671f), 820) - { - DisableNavmesh = true - }; - span97[2] = new QuestStep(EInteractionType.Interact, 1029838u, new Vector3(-18.387146f, 23.1f, -8.712891f), 820); - obj271.Steps = list364; - reference287 = obj271; - ref QuestSequence reference288 = ref span96[2]; - QuestSequence obj272 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list365 = new List(num2); - CollectionsMarshal.SetCount(list365, num2); - Span span98 = CollectionsMarshal.AsSpan(list365); - span98[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 820) - { - AethernetShard = EAetheryteLocation.EulmoreMainstay - }; - span98[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 820) - { - AethernetShard = EAetheryteLocation.EulmoreSoutheastDerelict, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.EulmoreMainstay, - To = EAetheryteLocation.EulmoreGloryGate - } - }; - span98[2] = new QuestStep(EInteractionType.Interact, 1027588u, new Vector3(-50.247986f, -0.10068311f, 61.32605f), 820); - obj272.Steps = list365; - reference288 = obj272; - ref QuestSequence reference289 = ref span96[3]; - QuestSequence obj273 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list366 = new List(num2); - CollectionsMarshal.SetCount(list366, num2); - Span span99 = CollectionsMarshal.AsSpan(list366); - span99[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 820) - { - AethernetShard = EAetheryteLocation.EulmoreNightsoilPots - }; - span99[1] = new QuestStep(EInteractionType.Interact, 1029838u, new Vector3(-18.387146f, 23.1f, -8.712891f), 820) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.EulmoreNightsoilPots, - To = EAetheryteLocation.EulmoreMainstay - } - }; - obj273.Steps = list366; - reference289 = obj273; - ref QuestSequence reference290 = ref span96[4]; - QuestSequence obj274 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list367 = new List(num2); - CollectionsMarshal.SetCount(list367, num2); - CollectionsMarshal.AsSpan(list367)[0] = new QuestStep(EInteractionType.CompleteQuest, 1028990u, new Vector3(26.810059f, 82.78224f, 23.819275f), 820); - obj274.Steps = list367; - reference290 = obj274; - questRoot53.QuestSequence = list362; - AddQuest(questId40, questRoot53); - QuestId questId41 = new QuestId(3290); - QuestRoot questRoot54 = new QuestRoot(); - num = 1; - List list368 = new List(num); - CollectionsMarshal.SetCount(list368, num); - CollectionsMarshal.AsSpan(list368)[0] = "liza"; - questRoot54.Author = list368; - num = 5; - List list369 = new List(num); - CollectionsMarshal.SetCount(list369, num); - Span span100 = CollectionsMarshal.AsSpan(list369); - ref QuestSequence reference291 = ref span100[0]; - QuestSequence obj275 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list370 = new List(num2); - CollectionsMarshal.SetCount(list370, num2); - CollectionsMarshal.AsSpan(list370)[0] = new QuestStep(EInteractionType.AcceptQuest, 1028990u, new Vector3(26.810059f, 82.78224f, 23.819275f), 820); - obj275.Steps = list370; - reference291 = obj275; - ref QuestSequence reference292 = ref span100[1]; - QuestSequence obj276 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list371 = new List(num2); - CollectionsMarshal.SetCount(list371, num2); - ref QuestStep reference293 = ref CollectionsMarshal.AsSpan(list371)[0]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1027549u, new Vector3(2.029419f, 83.195244f, 57.846924f), 820); - num3 = 1; - List list372 = new List(num3); - CollectionsMarshal.SetCount(list372, num3); - CollectionsMarshal.AsSpan(list372)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKMA209_03290_Q1_000_041") - }; - questStep18.DialogueChoices = list372; - reference293 = questStep18; - obj276.Steps = list371; - reference292 = obj276; - ref QuestSequence reference294 = ref span100[2]; - QuestSequence obj277 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list373 = new List(num2); - CollectionsMarshal.SetCount(list373, num2); - CollectionsMarshal.AsSpan(list373)[0] = new QuestStep(EInteractionType.Interact, 1029839u, new Vector3(5.722107f, -5.1046004f, -106.126526f), 820); - obj277.Steps = list373; - reference294 = obj277; - ref QuestSequence reference295 = ref span100[3]; - QuestSequence obj278 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list374 = new List(num2); - CollectionsMarshal.SetCount(list374, num2); - Span span101 = CollectionsMarshal.AsSpan(list374); - span101[0] = new QuestStep(EInteractionType.Interact, 1027225u, new Vector3(61.905884f, 36.247692f, -169.17682f), 819) - { - TargetTerritoryId = (ushort)814, - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumAmaroLaunch - } - }; - span101[1] = new QuestStep(EInteractionType.Interact, 1029841u, new Vector3(800.0458f, 1.4174876f, 255.9701f), 814) - { - StopDistance = 7f - }; - obj278.Steps = list374; - reference295 = obj278; - ref QuestSequence reference296 = ref span100[4]; - QuestSequence obj279 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list375 = new List(num2); - CollectionsMarshal.SetCount(list375, num2); - Span span102 = CollectionsMarshal.AsSpan(list375); - span102[0] = new QuestStep(EInteractionType.Interact, 1027230u, new Vector3(117.997925f, 14.649025f, 7.156433f), 819) - { - TargetTerritoryId = (ushort)844, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumAmaroLaunch, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - span102[1] = new QuestStep(EInteractionType.CompleteQuest, 1029842u, new Vector3(-2.02948f, -4.7436786E-14f, -4.196289f), 844); - obj279.Steps = list375; - reference296 = obj279; - questRoot54.QuestSequence = list369; - AddQuest(questId41, questRoot54); - QuestId questId42 = new QuestId(3291); - QuestRoot questRoot55 = new QuestRoot(); - num = 1; - List list376 = new List(num); - CollectionsMarshal.SetCount(list376, num); - CollectionsMarshal.AsSpan(list376)[0] = "liza"; - questRoot55.Author = list376; - num = 8; - List list377 = new List(num); - CollectionsMarshal.SetCount(list377, num); - Span span103 = CollectionsMarshal.AsSpan(list377); - ref QuestSequence reference297 = ref span103[0]; - QuestSequence obj280 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list378 = new List(num2); - CollectionsMarshal.SetCount(list378, num2); - CollectionsMarshal.AsSpan(list378)[0] = new QuestStep(EInteractionType.AcceptQuest, 1028923u, new Vector3(-0.015319824f, -1.0530548E-13f, -6.0273438f), 844) - { - StopDistance = 7f - }; - obj280.Steps = list378; - reference297 = obj280; - ref QuestSequence reference298 = ref span103[1]; - QuestSequence obj281 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list379 = new List(num2); - CollectionsMarshal.SetCount(list379, num2); - CollectionsMarshal.AsSpan(list379)[0] = new QuestStep(EInteractionType.Interact, 1027854u, new Vector3(40.57373f, 36.197685f, -160.23505f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumAmaroLaunch - } - }; - obj281.Steps = list379; - reference298 = obj281; - ref QuestSequence reference299 = ref span103[2]; - QuestSequence obj282 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list380 = new List(num2); - CollectionsMarshal.SetCount(list380, num2); - CollectionsMarshal.AsSpan(list380)[0] = new QuestStep(EInteractionType.Interact, 1027854u, new Vector3(40.57373f, 36.197685f, -160.23505f), 819); - obj282.Steps = list380; - reference299 = obj282; - span103[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference300 = ref span103[4]; - QuestSequence obj283 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list381 = new List(num2); - CollectionsMarshal.SetCount(list381, num2); - CollectionsMarshal.AsSpan(list381)[0] = new QuestStep(EInteractionType.Interact, 1028961u, new Vector3(662.50085f, -48.533764f, -652.8573f), 815) - { - StopDistance = 7f, - DisableNavmesh = true - }; - obj283.Steps = list381; - reference300 = obj283; - ref QuestSequence reference301 = ref span103[5]; - QuestSequence obj284 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list382 = new List(num2); - CollectionsMarshal.SetCount(list382, num2); - Span span104 = CollectionsMarshal.AsSpan(list382); - span104[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010044u, new Vector3(446.0669f, -60.56305f, -523.7049f), 815) - { - AetherCurrentId = 2818253u - }; - span104[1] = new QuestStep(EInteractionType.Interact, 1028962u, new Vector3(477.71423f, -50.54957f, -509.88025f), 815); - obj284.Steps = list382; - reference301 = obj284; - ref QuestSequence reference302 = ref span103[6]; - QuestSequence obj285 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list383 = new List(num2); - CollectionsMarshal.SetCount(list383, num2); - CollectionsMarshal.AsSpan(list383)[0] = new QuestStep(EInteractionType.Interact, 2009842u, new Vector3(484.2754f, -51.95703f, -512.50476f), 815); - obj285.Steps = list383; - reference302 = obj285; - ref QuestSequence reference303 = ref span103[7]; - QuestSequence obj286 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list384 = new List(num2); - CollectionsMarshal.SetCount(list384, num2); - CollectionsMarshal.AsSpan(list384)[0] = new QuestStep(EInteractionType.CompleteQuest, 1028963u, new Vector3(327.0465f, 1.4685787f, -296.4676f), 815); - obj286.Steps = list384; - reference303 = obj286; - questRoot55.QuestSequence = list377; - AddQuest(questId42, questRoot55); - QuestId questId43 = new QuestId(3292); - QuestRoot questRoot56 = new QuestRoot(); - num = 1; - List list385 = new List(num); - CollectionsMarshal.SetCount(list385, num); - CollectionsMarshal.AsSpan(list385)[0] = "liza"; - questRoot56.Author = list385; - num = 4; - List list386 = new List(num); - CollectionsMarshal.SetCount(list386, num); - Span span105 = CollectionsMarshal.AsSpan(list386); - ref QuestSequence reference304 = ref span105[0]; - QuestSequence obj287 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list387 = new List(num2); - CollectionsMarshal.SetCount(list387, num2); - CollectionsMarshal.AsSpan(list387)[0] = new QuestStep(EInteractionType.AcceptQuest, 1028963u, new Vector3(327.0465f, 1.4685787f, -296.4676f), 815); - obj287.Steps = list387; - reference304 = obj287; - ref QuestSequence reference305 = ref span105[1]; - QuestSequence obj288 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list388 = new List(num2); - CollectionsMarshal.SetCount(list388, num2); - Span span106 = CollectionsMarshal.AsSpan(list388); - span106[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 815) - { - Aetheryte = EAetheryteLocation.AmhAraengMordSouq - }; - span106[1] = new QuestStep(EInteractionType.Interact, 1027872u, new Vector3(268.4519f, 4.0296993f, -144.1825f), 815); - obj288.Steps = list388; - reference305 = obj288; - ref QuestSequence reference306 = ref span105[2]; - QuestSequence obj289 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list389 = new List(num2); - CollectionsMarshal.SetCount(list389, num2); - CollectionsMarshal.AsSpan(list389)[0] = new QuestStep(EInteractionType.Snipe, 1027873u, new Vector3(312.24524f, 1.4685826f, -186.14484f), 815) - { - Comment = "Click all four foods" - }; - obj289.Steps = list389; - reference306 = obj289; - ref QuestSequence reference307 = ref span105[3]; - QuestSequence obj290 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list390 = new List(num2); - CollectionsMarshal.SetCount(list390, num2); - CollectionsMarshal.AsSpan(list390)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027872u, new Vector3(268.4519f, 4.0296993f, -144.1825f), 815); - obj290.Steps = list390; - reference307 = obj290; - questRoot56.QuestSequence = list386; - AddQuest(questId43, questRoot56); - QuestId questId44 = new QuestId(3293); - QuestRoot questRoot57 = new QuestRoot(); - num = 1; - List list391 = new List(num); - CollectionsMarshal.SetCount(list391, num); - CollectionsMarshal.AsSpan(list391)[0] = "liza"; - questRoot57.Author = list391; - num = 3; - List list392 = new List(num); - CollectionsMarshal.SetCount(list392, num); - Span span107 = CollectionsMarshal.AsSpan(list392); - ref QuestSequence reference308 = ref span107[0]; - QuestSequence obj291 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list393 = new List(num2); - CollectionsMarshal.SetCount(list393, num2); - CollectionsMarshal.AsSpan(list393)[0] = new QuestStep(EInteractionType.AcceptQuest, 1028974u, new Vector3(265.79688f, 4.0297f, -145.76947f), 815) - { - StopDistance = 5f - }; - obj291.Steps = list393; - reference308 = obj291; - ref QuestSequence reference309 = ref span107[1]; - QuestSequence obj292 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list394 = new List(num2); - CollectionsMarshal.SetCount(list394, num2); - Span span108 = CollectionsMarshal.AsSpan(list394); - ref QuestStep reference310 = ref span108[0]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 2009935u, new Vector3(328.48096f, 1.449585f, -289.5705f), 815); - num3 = 6; - List list395 = new List(num3); - CollectionsMarshal.SetCount(list395, num3); - Span span109 = CollectionsMarshal.AsSpan(list395); - span109[0] = null; - span109[1] = null; - span109[2] = null; - span109[3] = null; - span109[4] = null; - span109[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list395; - num3 = 1; - List list396 = new List(num3); - CollectionsMarshal.SetCount(list396, num3); - CollectionsMarshal.AsSpan(list396)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMA303_03293_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKMA303_03293_A1_000_002") - }; - questStep19.DialogueChoices = list396; - reference310 = questStep19; - ref QuestStep reference311 = ref span108[1]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 2009934u, new Vector3(231.15894f, 4.0131226f, -300.55695f), 815); - num3 = 6; - List list397 = new List(num3); - CollectionsMarshal.SetCount(list397, num3); - Span span110 = CollectionsMarshal.AsSpan(list397); - span110[0] = null; - span110[1] = null; - span110[2] = null; - span110[3] = null; - span110[4] = null; - span110[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep20.CompletionQuestVariablesFlags = list397; - reference311 = questStep20; - ref QuestStep reference312 = ref span108[2]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 2009936u, new Vector3(205.40161f, 4.0131226f, -293.59882f), 815); - num3 = 6; - List list398 = new List(num3); - CollectionsMarshal.SetCount(list398, num3); - Span span111 = CollectionsMarshal.AsSpan(list398); - span111[0] = null; - span111[1] = null; - span111[2] = null; - span111[3] = null; - span111[4] = null; - span111[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep21.CompletionQuestVariablesFlags = list398; - reference312 = questStep21; - obj292.Steps = list394; - reference309 = obj292; - ref QuestSequence reference313 = ref span107[2]; - QuestSequence obj293 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list399 = new List(num2); - CollectionsMarshal.SetCount(list399, num2); - CollectionsMarshal.AsSpan(list399)[0] = new QuestStep(EInteractionType.CompleteQuest, 1028976u, new Vector3(313.2218f, 1.4685826f, -154.40613f), 815); - obj293.Steps = list399; - reference313 = obj293; - questRoot57.QuestSequence = list392; - AddQuest(questId44, questRoot57); - QuestId questId45 = new QuestId(3294); - QuestRoot questRoot58 = new QuestRoot(); - num = 1; - List list400 = new List(num); - CollectionsMarshal.SetCount(list400, num); - CollectionsMarshal.AsSpan(list400)[0] = "liza"; - questRoot58.Author = list400; - num = 7; - List list401 = new List(num); - CollectionsMarshal.SetCount(list401, num); - Span span112 = CollectionsMarshal.AsSpan(list401); - ref QuestSequence reference314 = ref span112[0]; - QuestSequence obj294 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list402 = new List(num2); - CollectionsMarshal.SetCount(list402, num2); - CollectionsMarshal.AsSpan(list402)[0] = new QuestStep(EInteractionType.AcceptQuest, 1028977u, new Vector3(313.8933f, 1.4685827f, -156.81696f), 815); - obj294.Steps = list402; - reference314 = obj294; - ref QuestSequence reference315 = ref span112[1]; - QuestSequence obj295 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list403 = new List(num2); - CollectionsMarshal.SetCount(list403, num2); - Span span113 = CollectionsMarshal.AsSpan(list403); - span113[0] = new QuestStep(EInteractionType.AcceptQuest, 1027872u, new Vector3(268.4519f, 4.0296993f, -144.1825f), 815) - { - PickUpQuestId = new QuestId(3375) - }; - span113[1] = new QuestStep(EInteractionType.Interact, 1030606u, new Vector3(347.15796f, -8.423396f, -117.93707f), 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengMordSouq - }; - obj295.Steps = list403; - reference315 = obj295; - ref QuestSequence reference316 = ref span112[2]; - QuestSequence obj296 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list404 = new List(num2); - CollectionsMarshal.SetCount(list404, num2); - ref QuestStep reference317 = ref CollectionsMarshal.AsSpan(list404)[0]; - QuestStep obj297 = new QuestStep(EInteractionType.Combat, null, new Vector3(443.3203f, -23.82671f, -44.724243f), 815) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list405 = new List(num3); - CollectionsMarshal.SetCount(list405, num3); - CollectionsMarshal.AsSpan(list405)[0] = 10874u; - obj297.KillEnemyDataIds = list405; - reference317 = obj297; - obj296.Steps = list404; - reference316 = obj296; - ref QuestSequence reference318 = ref span112[3]; - QuestSequence obj298 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list406 = new List(num2); - CollectionsMarshal.SetCount(list406, num2); - CollectionsMarshal.AsSpan(list406)[0] = new QuestStep(EInteractionType.Interact, 1028978u, new Vector3(443.3203f, -23.82671f, -44.724243f), 815); - obj298.Steps = list406; - reference318 = obj298; - ref QuestSequence reference319 = ref span112[4]; - QuestSequence obj299 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list407 = new List(num2); - CollectionsMarshal.SetCount(list407, num2); - ref QuestStep reference320 = ref CollectionsMarshal.AsSpan(list407)[0]; - QuestStep obj300 = new QuestStep(EInteractionType.Combat, 2009848u, new Vector3(487.51038f, -37.979797f, 56.10742f), 815) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list408 = new List(num3); - CollectionsMarshal.SetCount(list408, num3); - CollectionsMarshal.AsSpan(list408)[0] = 10875u; - obj300.KillEnemyDataIds = list408; - reference320 = obj300; - obj299.Steps = list407; - reference319 = obj299; - ref QuestSequence reference321 = ref span112[5]; - QuestSequence obj301 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list409 = new List(num2); - CollectionsMarshal.SetCount(list409, num2); - CollectionsMarshal.AsSpan(list409)[0] = new QuestStep(EInteractionType.Interact, 1028978u, new Vector3(443.3203f, -23.82671f, -44.724243f), 815); - obj301.Steps = list409; - reference321 = obj301; - ref QuestSequence reference322 = ref span112[6]; - QuestSequence obj302 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list410 = new List(num2); - CollectionsMarshal.SetCount(list410, num2); - CollectionsMarshal.AsSpan(list410)[0] = new QuestStep(EInteractionType.CompleteQuest, 1028980u, new Vector3(388.93713f, -33.327938f, 233.20361f), 815); - obj302.Steps = list410; - reference322 = obj302; - questRoot58.QuestSequence = list401; - AddQuest(questId45, questRoot58); - QuestId questId46 = new QuestId(3295); - QuestRoot questRoot59 = new QuestRoot(); - num = 1; - List list411 = new List(num); - CollectionsMarshal.SetCount(list411, num); - CollectionsMarshal.AsSpan(list411)[0] = "liza"; - questRoot59.Author = list411; - num = 7; - List list412 = new List(num); - CollectionsMarshal.SetCount(list412, num); - Span span114 = CollectionsMarshal.AsSpan(list412); - ref QuestSequence reference323 = ref span114[0]; - QuestSequence obj303 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list413 = new List(num2); - CollectionsMarshal.SetCount(list413, num2); - CollectionsMarshal.AsSpan(list413)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029001u, new Vector3(373.09827f, -26.632425f, 290.6996f), 815) - { - StopDistance = 7f - }; - obj303.Steps = list413; - reference323 = obj303; - ref QuestSequence reference324 = ref span114[1]; - QuestSequence obj304 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list414 = new List(num2); - CollectionsMarshal.SetCount(list414, num2); - Span span115 = CollectionsMarshal.AsSpan(list414); - span115[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 815) - { - Aetheryte = EAetheryteLocation.AmhAraengInnAtJourneysHead - }; - span115[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010047u, new Vector3(344.6554f, -66.54462f, 538.9332f), 815) - { - AetherCurrentId = 2818256u - }; - span115[2] = new QuestStep(EInteractionType.Interact, 2009849u, new Vector3(362.50854f, -63.95056f, 503.65454f), 815); - obj304.Steps = list414; - reference324 = obj304; - ref QuestSequence reference325 = ref span114[2]; - QuestSequence obj305 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list415 = new List(num2); - CollectionsMarshal.SetCount(list415, num2); - CollectionsMarshal.AsSpan(list415)[0] = new QuestStep(EInteractionType.Interact, 2009850u, new Vector3(357.04578f, -63.34027f, 497.79492f), 815) - { - DisableNavmesh = true - }; - obj305.Steps = list415; - reference325 = obj305; - ref QuestSequence reference326 = ref span114[3]; - QuestSequence obj306 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list416 = new List(num2); - CollectionsMarshal.SetCount(list416, num2); - CollectionsMarshal.AsSpan(list416)[0] = new QuestStep(EInteractionType.Interact, 2009851u, new Vector3(329.57947f, -72.15991f, 463.3401f), 815) - { - DisableNavmesh = true - }; - obj306.Steps = list416; - reference326 = obj306; - ref QuestSequence reference327 = ref span114[4]; - QuestSequence obj307 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list417 = new List(num2); - CollectionsMarshal.SetCount(list417, num2); - CollectionsMarshal.AsSpan(list417)[0] = new QuestStep(EInteractionType.Interact, 2009852u, new Vector3(285.60303f, -66.88031f, 404.2572f), 815); - obj307.Steps = list417; - reference327 = obj307; - ref QuestSequence reference328 = ref span114[5]; - QuestSequence obj308 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list418 = new List(num2); - CollectionsMarshal.SetCount(list418, num2); - CollectionsMarshal.AsSpan(list418)[0] = new QuestStep(EInteractionType.Interact, 2009853u, new Vector3(200.79346f, -82.29199f, 384.32886f), 815); - obj308.Steps = list418; - reference328 = obj308; - ref QuestSequence reference329 = ref span114[6]; - QuestSequence obj309 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list419 = new List(num2); - CollectionsMarshal.SetCount(list419, num2); - CollectionsMarshal.AsSpan(list419)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029002u, new Vector3(271.3512f, -45.269566f, 334.46252f), 815); - obj309.Steps = list419; - reference329 = obj309; - questRoot59.QuestSequence = list412; - AddQuest(questId46, questRoot59); - QuestId questId47 = new QuestId(3296); - QuestRoot questRoot60 = new QuestRoot(); - num = 1; - List list420 = new List(num); - CollectionsMarshal.SetCount(list420, num); - CollectionsMarshal.AsSpan(list420)[0] = "liza"; - questRoot60.Author = list420; - num = 4; - List list421 = new List(num); - CollectionsMarshal.SetCount(list421, num); - Span span116 = CollectionsMarshal.AsSpan(list421); - ref QuestSequence reference330 = ref span116[0]; - QuestSequence obj310 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list422 = new List(num2); - CollectionsMarshal.SetCount(list422, num2); - CollectionsMarshal.AsSpan(list422)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029002u, new Vector3(271.3512f, -45.269566f, 334.46252f), 815); - obj310.Steps = list422; - reference330 = obj310; - ref QuestSequence reference331 = ref span116[1]; - QuestSequence obj311 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list423 = new List(num2); - CollectionsMarshal.SetCount(list423, num2); - Span span117 = CollectionsMarshal.AsSpan(list423); - ref QuestStep reference332 = ref span117[0]; - QuestStep obj312 = new QuestStep(EInteractionType.Combat, 2009854u, new Vector3(215.44214f, -58.609924f, 262.745f), 815) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list424 = new List(num3); - CollectionsMarshal.SetCount(list424, num3); - CollectionsMarshal.AsSpan(list424)[0] = 10876u; - obj312.KillEnemyDataIds = list424; - num3 = 6; - List list425 = new List(num3); - CollectionsMarshal.SetCount(list425, num3); - Span span118 = CollectionsMarshal.AsSpan(list425); - span118[0] = null; - span118[1] = null; - span118[2] = null; - span118[3] = null; - span118[4] = null; - span118[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj312.CompletionQuestVariablesFlags = list425; - reference332 = obj312; - ref QuestStep reference333 = ref span117[1]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 2009855u, new Vector3(259.20496f, -44.571655f, 159.74658f), 815); - num3 = 6; - List list426 = new List(num3); - CollectionsMarshal.SetCount(list426, num3); - Span span119 = CollectionsMarshal.AsSpan(list426); - span119[0] = null; - span119[1] = null; - span119[2] = null; - span119[3] = null; - span119[4] = null; - span119[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep22.CompletionQuestVariablesFlags = list426; - reference333 = questStep22; - ref QuestStep reference334 = ref span117[2]; - QuestStep obj313 = new QuestStep(EInteractionType.Combat, 2009856u, new Vector3(337.08704f, -35.01947f, 42.313232f), 815) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list427 = new List(num3); - CollectionsMarshal.SetCount(list427, num3); - CollectionsMarshal.AsSpan(list427)[0] = 10876u; - obj313.KillEnemyDataIds = list427; - num3 = 6; - List list428 = new List(num3); - CollectionsMarshal.SetCount(list428, num3); - Span span120 = CollectionsMarshal.AsSpan(list428); - span120[0] = null; - span120[1] = null; - span120[2] = null; - span120[3] = null; - span120[4] = null; - span120[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj313.CompletionQuestVariablesFlags = list428; - reference334 = obj313; - obj311.Steps = list423; - reference331 = obj311; - ref QuestSequence reference335 = ref span116[2]; - QuestSequence obj314 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list429 = new List(num2); - CollectionsMarshal.SetCount(list429, num2); - CollectionsMarshal.AsSpan(list429)[0] = new QuestStep(EInteractionType.Interact, 1029003u, new Vector3(392.4773f, -33.87629f, 229.54138f), 815); - obj314.Steps = list429; - reference335 = obj314; - ref QuestSequence reference336 = ref span116[3]; - QuestSequence obj315 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list430 = new List(num2); - CollectionsMarshal.SetCount(list430, num2); - CollectionsMarshal.AsSpan(list430)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029001u, new Vector3(373.09827f, -26.632425f, 290.6996f), 815); - obj315.Steps = list430; - reference336 = obj315; - questRoot60.QuestSequence = list421; - AddQuest(questId47, questRoot60); - QuestId questId48 = new QuestId(3297); - questRoot2 = new QuestRoot(); - QuestRoot questRoot61 = questRoot2; - num = 1; - List list431 = new List(num); - CollectionsMarshal.SetCount(list431, num); - CollectionsMarshal.AsSpan(list431)[0] = "liza"; - questRoot61.Author = list431; - QuestRoot questRoot62 = questRoot2; - num = 9; - list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span121 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference337 = ref span121[0]; - QuestSequence obj316 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list432 = new List(num2); - CollectionsMarshal.SetCount(list432, num2); - CollectionsMarshal.AsSpan(list432)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029001u, new Vector3(373.09827f, -26.632425f, 290.6996f), 815); - obj316.Steps = list432; - reference337 = obj316; - ref QuestSequence reference338 = ref span121[1]; - QuestSequence obj317 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list433 = new List(num2); - CollectionsMarshal.SetCount(list433, num2); - CollectionsMarshal.AsSpan(list433)[0] = new QuestStep(EInteractionType.Interact, 1027909u, new Vector3(357.47314f, -27.145874f, 317.28076f), 815); - obj317.Steps = list433; - reference338 = obj317; - ref QuestSequence reference339 = ref span121[2]; - QuestSequence obj318 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list434 = new List(num2); - CollectionsMarshal.SetCount(list434, num2); - CollectionsMarshal.AsSpan(list434)[0] = new QuestStep(EInteractionType.Interact, 1027910u, new Vector3(356.71008f, -27.8172f, 310.04797f), 815) - { - StopDistance = 7f - }; - obj318.Steps = list434; - reference339 = obj318; - ref QuestSequence reference340 = ref span121[3]; - QuestSequence obj319 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list435 = new List(num2); - CollectionsMarshal.SetCount(list435, num2); - Span span122 = CollectionsMarshal.AsSpan(list435); - span122[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(362.283f, -27.966003f, 304.85144f), 815); - span122[1] = new QuestStep(EInteractionType.Interact, 1030386u, new Vector3(363.4851f, -27.966003f, 301.2893f), 815) - { - StopDistance = 5f - }; - obj319.Steps = list435; - reference340 = obj319; - ref QuestSequence reference341 = ref span121[4]; - QuestSequence obj320 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list436 = new List(num2); - CollectionsMarshal.SetCount(list436, num2); - CollectionsMarshal.AsSpan(list436)[0] = new QuestStep(EInteractionType.Interact, 1029001u, new Vector3(373.09827f, -26.632425f, 290.6996f), 815); - obj320.Steps = list436; - reference341 = obj320; - ref QuestSequence reference342 = ref span121[5]; - QuestSequence obj321 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list437 = new List(num2); - CollectionsMarshal.SetCount(list437, num2); - CollectionsMarshal.AsSpan(list437)[0] = new QuestStep(EInteractionType.Interact, 1027873u, new Vector3(312.24524f, 1.4685826f, -186.14484f), 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengMordSouq - }; - obj321.Steps = list437; - reference342 = obj321; - ref QuestSequence reference343 = ref span121[6]; - QuestSequence obj322 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list438 = new List(num2); - CollectionsMarshal.SetCount(list438, num2); - CollectionsMarshal.AsSpan(list438)[0] = new QuestStep(EInteractionType.Interact, 1029007u, new Vector3(215.13696f, 7.1558266f, -214.3435f), 815); - obj322.Steps = list438; - reference343 = obj322; - ref QuestSequence reference344 = ref span121[7]; - QuestSequence obj323 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list439 = new List(num2); - CollectionsMarshal.SetCount(list439, num2); - CollectionsMarshal.AsSpan(list439)[0] = new QuestStep(EInteractionType.Interact, 1029007u, new Vector3(215.13696f, 7.1558266f, -214.3435f), 815); - obj323.Steps = list439; - reference344 = obj323; - ref QuestSequence reference345 = ref span121[8]; - QuestSequence obj324 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list440 = new List(num2); - CollectionsMarshal.SetCount(list440, num2); - CollectionsMarshal.AsSpan(list440)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029001u, new Vector3(373.09827f, -26.632425f, 290.6996f), 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengInnAtJourneysHead - }; - obj324.Steps = list440; - reference345 = obj324; - questRoot62.QuestSequence = list8; - AddQuest(questId48, questRoot2); - QuestId questId49 = new QuestId(3298); - questRoot2 = new QuestRoot(); - QuestRoot questRoot63 = questRoot2; - num = 1; - List list441 = new List(num); - CollectionsMarshal.SetCount(list441, num); - CollectionsMarshal.AsSpan(list441)[0] = "liza"; - questRoot63.Author = list441; - QuestRoot questRoot64 = questRoot2; - num = 8; - list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span123 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference346 = ref span123[0]; - QuestSequence obj325 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list442 = new List(num2); - CollectionsMarshal.SetCount(list442, num2); - CollectionsMarshal.AsSpan(list442)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029001u, new Vector3(373.09827f, -26.632425f, 290.6996f), 815); - obj325.Steps = list442; - reference346 = obj325; - ref QuestSequence reference347 = ref span123[1]; - QuestSequence obj326 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list443 = new List(num2); - CollectionsMarshal.SetCount(list443, num2); - CollectionsMarshal.AsSpan(list443)[0] = new QuestStep(EInteractionType.Interact, 1029008u, new Vector3(399.64905f, -28.357803f, 349.813f), 815) - { - StopDistance = 7f - }; - obj326.Steps = list443; - reference347 = obj326; - ref QuestSequence reference348 = ref span123[2]; - QuestSequence obj327 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list444 = new List(num2); - CollectionsMarshal.SetCount(list444, num2); - CollectionsMarshal.AsSpan(list444)[0] = new QuestStep(EInteractionType.Interact, 2009858u, new Vector3(473.50256f, -72.67877f, 487.57153f), 815); - obj327.Steps = list444; - reference348 = obj327; - ref QuestSequence reference349 = ref span123[3]; - QuestSequence obj328 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list445 = new List(num2); - CollectionsMarshal.SetCount(list445, num2); - ref QuestStep reference350 = ref CollectionsMarshal.AsSpan(list445)[0]; - QuestStep obj329 = new QuestStep(EInteractionType.Combat, 2009859u, new Vector3(317.28076f, -76.554565f, 476.64612f), 815) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list446 = new List(num3); - CollectionsMarshal.SetCount(list446, num3); - CollectionsMarshal.AsSpan(list446)[0] = 10877u; - obj329.KillEnemyDataIds = list446; - reference350 = obj329; - obj328.Steps = list445; - reference349 = obj328; - ref QuestSequence reference351 = ref span123[4]; - QuestSequence obj330 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list447 = new List(num2); - CollectionsMarshal.SetCount(list447, num2); - CollectionsMarshal.AsSpan(list447)[0] = new QuestStep(EInteractionType.Interact, 2009860u, new Vector3(284.26025f, -43.90027f, 302.2965f), 815); - obj330.Steps = list447; - reference351 = obj330; - ref QuestSequence reference352 = ref span123[5]; - QuestSequence obj331 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list448 = new List(num2); - CollectionsMarshal.SetCount(list448, num2); - CollectionsMarshal.AsSpan(list448)[0] = new QuestStep(EInteractionType.Interact, 1029010u, new Vector3(401.3275f, -28.80457f, 260.21204f), 815); - obj331.Steps = list448; - reference352 = obj331; - ref QuestSequence reference353 = ref span123[6]; - QuestSequence obj332 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list449 = new List(num2); - CollectionsMarshal.SetCount(list449, num2); - Span span124 = CollectionsMarshal.AsSpan(list449); - ref QuestStep reference354 = ref span124[0]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1027906u, new Vector3(423.14795f, -26.83098f, 294.6974f), 815); - num3 = 6; - List list450 = new List(num3); - CollectionsMarshal.SetCount(list450, num3); - Span span125 = CollectionsMarshal.AsSpan(list450); - span125[0] = null; - span125[1] = null; - span125[2] = null; - span125[3] = null; - span125[4] = null; - span125[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list450; - reference354 = questStep23; - ref QuestStep reference355 = ref span124[1]; - QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 1027911u, new Vector3(378.71362f, -28.255466f, 324.97144f), 815); - num3 = 6; - List list451 = new List(num3); - CollectionsMarshal.SetCount(list451, num3); - Span span126 = CollectionsMarshal.AsSpan(list451); - span126[0] = null; - span126[1] = null; - span126[2] = null; - span126[3] = null; - span126[4] = null; - span126[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep24.CompletionQuestVariablesFlags = list451; - reference355 = questStep24; - obj332.Steps = list449; - reference353 = obj332; - ref QuestSequence reference356 = ref span123[7]; - QuestSequence obj333 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list452 = new List(num2); - CollectionsMarshal.SetCount(list452, num2); - CollectionsMarshal.AsSpan(list452)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029012u, new Vector3(400.80872f, -28.75819f, 257.28235f), 815); - obj333.Steps = list452; - reference356 = obj333; - questRoot64.QuestSequence = list8; - AddQuest(questId49, questRoot2); - QuestId questId50 = new QuestId(3299); - QuestRoot questRoot65 = new QuestRoot(); - num = 1; - List list453 = new List(num); - CollectionsMarshal.SetCount(list453, num); - CollectionsMarshal.AsSpan(list453)[0] = "liza"; - questRoot65.Author = list453; - num = 4; - List list454 = new List(num); - CollectionsMarshal.SetCount(list454, num); - Span span127 = CollectionsMarshal.AsSpan(list454); - ref QuestSequence reference357 = ref span127[0]; - QuestSequence obj334 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list455 = new List(num2); - CollectionsMarshal.SetCount(list455, num2); - CollectionsMarshal.AsSpan(list455)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029010u, new Vector3(401.3275f, -28.80457f, 260.21204f), 815); - obj334.Steps = list455; - reference357 = obj334; - ref QuestSequence reference358 = ref span127[1]; - QuestSequence obj335 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list456 = new List(num2); - CollectionsMarshal.SetCount(list456, num2); - Span span128 = CollectionsMarshal.AsSpan(list456); - span128[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(58.63951f, 36.19769f, -170.36603f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumAmaroLaunch - } - }; - span128[1] = new QuestStep(EInteractionType.Interact, 1027264u, new Vector3(60.593506f, 36.247692f, -171.80133f), 819) - { - TargetTerritoryId = (ushort)815 - }; - span128[2] = new QuestStep(EInteractionType.Interact, 1029013u, new Vector3(664.4236f, -48.865906f, -651.3619f), 815); - obj335.Steps = list456; - reference358 = obj335; - ref QuestSequence reference359 = ref span127[2]; - QuestSequence obj336 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list457 = new List(num2); - CollectionsMarshal.SetCount(list457, num2); - CollectionsMarshal.AsSpan(list457)[0] = new QuestStep(EInteractionType.Interact, 1029014u, new Vector3(46.707764f, 36.197685f, -167.43726f), 819); - obj336.Steps = list457; - reference359 = obj336; - ref QuestSequence reference360 = ref span127[3]; - QuestSequence obj337 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list458 = new List(num2); - CollectionsMarshal.SetCount(list458, num2); - Span span129 = CollectionsMarshal.AsSpan(list458); - span129[0] = new QuestStep(EInteractionType.Interact, 1027230u, new Vector3(117.997925f, 14.649025f, 7.156433f), 819) - { - TargetTerritoryId = (ushort)844, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumAmaroLaunch, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - span129[1] = new QuestStep(EInteractionType.CompleteQuest, 1029015u, new Vector3(2.243042f, 0f, -4.1047363f), 844); - obj337.Steps = list458; - reference360 = obj337; - questRoot65.QuestSequence = list454; - AddQuest(questId50, questRoot65); - } - - private static void LoadQuests66() - { - QuestId questId = new QuestId(3300); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 7; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1028923u, new Vector3(-0.015319824f, -1.0530548E-13f, -6.0273438f), 844) - { - StopDistance = 7f - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1028923u, new Vector3(-0.015319824f, -1.0530548E-13f, -6.0273438f), 844) - { - StopDistance = 7f - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - Span span2 = CollectionsMarshal.AsSpan(list5); - span2[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010024u, new Vector3(554.2534f, 17.92926f, 352.1018f), 813) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumTessellation - }, - AetherCurrentId = 2818223u - }; - span2[1] = new QuestStep(EInteractionType.Interact, 1028928u, new Vector3(347.98206f, 3.5166266f, 167.89502f), 813); - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 5; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - Span span3 = CollectionsMarshal.AsSpan(list6); - span3[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(697.40857f, 21.402163f, -28.658777f), 813); - span3[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 813) - { - Aetheryte = EAetheryteLocation.LakelandFortJobb - }; - span3[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(601.42426f, 23.210327f, -223.36815f), 813); - span3[3] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010028u, new Vector3(613.24475f, 24.002441f, -231.15894f), 813) - { - AetherCurrentId = 2818227u - }; - span3[4] = new QuestStep(EInteractionType.Interact, 1029846u, new Vector3(682.33765f, 101.7017f, -710.3533f), 813); - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.Duty, null, null, 813) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 676u - } - }; - obj5.Steps = list7; - reference5 = obj5; - span[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference6 = ref span[6]; - QuestSequence obj6 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029846u, new Vector3(682.33765f, 101.7017f, -710.3533f), 813); - obj6.Steps = list8; - reference6 = obj6; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(3301); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - CollectionsMarshal.AsSpan(list9)[0] = "liza"; - questRoot2.Author = list9; - num = 5; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - Span span4 = CollectionsMarshal.AsSpan(list10); - ref QuestSequence reference7 = ref span4[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029846u, new Vector3(682.33765f, 101.7017f, -710.3533f), 813); - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span4[1]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Interact, 1028929u, new Vector3(-4.501404f, -2.4866313E-07f, -7.370178f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium - }; - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference9 = ref span4[2]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.Interact, 1027224u, new Vector3(-57.358704f, -7.4820004f, 118.08948f), 819); - obj9.Steps = list13; - reference9 = obj9; - ref QuestSequence reference10 = ref span4[3]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.Interact, 1027322u, new Vector3(-20.126648f, 3.9998171f, 204.24194f), 819) - { - StopDistance = 4f - }; - obj10.Steps = list14; - reference10 = obj10; - ref QuestSequence reference11 = ref span4[4]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - ref QuestStep reference12 = ref CollectionsMarshal.AsSpan(list15)[0]; - QuestStep obj12 = new QuestStep(EInteractionType.CompleteQuest, 1030610u, new Vector3(65.11023f, 1.7160122f, 249.7749f), 819) - { - StopDistance = 5f - }; - int num3 = 1; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - CollectionsMarshal.AsSpan(list16)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKMA402_03301_Q1_000_000") - }; - obj12.DialogueChoices = list16; - reference12 = obj12; - obj11.Steps = list15; - reference11 = obj11; - questRoot2.QuestSequence = list10; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(3302); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - CollectionsMarshal.AsSpan(list17)[0] = "liza"; - questRoot3.Author = list17; - num = 6; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - Span span5 = CollectionsMarshal.AsSpan(list18); - ref QuestSequence reference13 = ref span5[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027231u, new Vector3(65.35437f, 1.7160122f, 249.83594f), 819); - obj13.Steps = list19; - reference13 = obj13; - ref QuestSequence reference14 = ref span5[1]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - Span span6 = CollectionsMarshal.AsSpan(list20); - span6[0] = new QuestStep(EInteractionType.AcceptQuest, 1027948u, new Vector3(40.42102f, 2.232896f, 261.49377f), 819) - { - PickUpQuestId = new QuestId(3380) - }; - span6[1] = new QuestStep(EInteractionType.Interact, 1027230u, new Vector3(117.997925f, 14.649025f, 7.156433f), 819) - { - TargetTerritoryId = (ushort)844, - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumPendants, - To = EAetheryteLocation.CrystariumDossalGate - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj14.Steps = list20; - reference14 = obj14; - ref QuestSequence reference15 = ref span5[2]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.Interact, 1027226u, new Vector3(-61.84485f, -17.72202f, -266.2547f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumCabinetOfCuriosity - } - }; - obj15.Steps = list21; - reference15 = obj15; - ref QuestSequence reference16 = ref span5[3]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.Interact, 2009809u, new Vector3(-62.638306f, -35.446716f, -275.83734f), 819); - obj16.Steps = list22; - reference16 = obj16; - ref QuestSequence reference17 = ref span5[4]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.Interact, 1027226u, new Vector3(-61.84485f, -17.72202f, -266.2547f), 819); - obj17.Steps = list23; - reference17 = obj17; - ref QuestSequence reference18 = ref span5[5]; - QuestSequence obj18 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.CompleteQuest, 1028941u, new Vector3(-67.0329f, -37.700005f, -209.15546f), 819); - obj18.Steps = list24; - reference18 = obj18; - questRoot3.QuestSequence = list18; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(3303); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - CollectionsMarshal.AsSpan(list25)[0] = "liza"; - questRoot4.Author = list25; - num = 6; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - Span span7 = CollectionsMarshal.AsSpan(list26); - ref QuestSequence reference19 = ref span7[0]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.AcceptQuest, 1028943u, new Vector3(-65.4765f, -37.7f, -209.0028f), 819) - { - StopDistance = 5f - }; - obj19.Steps = list27; - reference19 = obj19; - ref QuestSequence reference20 = ref span7[1]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.Interact, 1028944u, new Vector3(-63.767517f, -37.7f, -210.2846f), 819) - { - StopDistance = 5f - }; - obj20.Steps = list28; - reference20 = obj20; - ref QuestSequence reference21 = ref span7[2]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.Interact, 1027232u, new Vector3(-9.323303f, 20.1973f, -136.52252f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumCabinetOfCuriosity, - To = EAetheryteLocation.CrystariumCrystallineMean - } - }; - obj21.Steps = list29; - reference21 = obj21; - ref QuestSequence reference22 = ref span7[3]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.Interact, 1027248u, new Vector3(-30.807983f, -0.64999914f, -51.438232f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumCrystallineMean, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - obj22.Steps = list30; - reference22 = obj22; - ref QuestSequence reference23 = ref span7[4]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.UseItem, null, new Vector3(-28.545706f, -0.65f, -49.711563f), 819) - { - ItemId = 2002531u - }; - obj23.Steps = list31; - reference23 = obj23; - ref QuestSequence reference24 = ref span7[5]; - QuestSequence obj24 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027246u, new Vector3(-136.98022f, 0f, -73.777466f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumDossalGate, - To = EAetheryteLocation.CrystariumTemenosRookery - } - }; - obj24.Steps = list32; - reference24 = obj24; - questRoot4.QuestSequence = list26; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(3304); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list33 = new List(num); - CollectionsMarshal.SetCount(list33, num); - CollectionsMarshal.AsSpan(list33)[0] = "liza"; - questRoot5.Author = list33; - num = 6; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - Span span8 = CollectionsMarshal.AsSpan(list34); - ref QuestSequence reference25 = ref span8[0]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027246u, new Vector3(-136.98022f, 0f, -73.777466f), 819); - obj25.Steps = list35; - reference25 = obj25; - ref QuestSequence reference26 = ref span8[1]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.Interact, 1028945u, new Vector3(588.55554f, 9.151089f, 342.7328f), 813); - obj26.Steps = list36; - reference26 = obj26; - ref QuestSequence reference27 = ref span8[2]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-163.7502f, 5.7616043f, -84.08555f), 813) - { - Fly = true - }; - obj27.Steps = list37; - reference27 = obj27; - ref QuestSequence reference28 = ref span8[3]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-621.27985f, 56.75789f, -151.14738f), 813) - { - Fly = true - }; - obj28.Steps = list38; - reference28 = obj28; - ref QuestSequence reference29 = ref span8[4]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 1027395u, new Vector3(-618.06665f, 56.75789f, -148.24146f), 813) - { - StopDistance = 5f - }; - obj29.Steps = list39; - reference29 = obj29; - ref QuestSequence reference30 = ref span8[5]; - QuestSequence obj30 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 6; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - Span span9 = CollectionsMarshal.AsSpan(list40); - span9[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-655.08356f, 52.60457f, -186.09218f), 813); - span9[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-628.89685f, 52.60457f, -190.31772f), 813) - { - DisableNavmesh = true - }; - span9[2] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010032u, new Vector3(-619.6537f, 51.499146f, -199.11499f), 813) - { - DisableNavmesh = true, - AetherCurrentId = 2818231u - }; - span9[3] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 813) - { - Aetheryte = EAetheryteLocation.LakelandOstallImperative - }; - span9[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-694.6047f, 50.939487f, -270.97464f), 813); - span9[5] = new QuestStep(EInteractionType.CompleteQuest, 1028947u, new Vector3(-648.9509f, 64.32663f, -271.65643f), 813) - { - DisableNavmesh = true - }; - obj30.Steps = list40; - reference30 = obj30; - questRoot5.QuestSequence = list34; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(3305); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - CollectionsMarshal.AsSpan(list41)[0] = "liza"; - questRoot6.Author = list41; - num = 7; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - Span span10 = CollectionsMarshal.AsSpan(list42); - ref QuestSequence reference31 = ref span10[0]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.AcceptQuest, 1028947u, new Vector3(-648.9509f, 64.32663f, -271.65643f), 813); - obj31.Steps = list43; - reference31 = obj31; - ref QuestSequence reference32 = ref span10[1]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - Span span11 = CollectionsMarshal.AsSpan(list44); - span11[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-635.37024f, 56.201702f, -142.69623f), 813); - span11[1] = new QuestStep(EInteractionType.Interact, 2009814u, new Vector3(-636.16394f, 57.358643f, -137.62122f), 813); - obj32.Steps = list44; - reference32 = obj32; - ref QuestSequence reference33 = ref span10[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - Span span12 = CollectionsMarshal.AsSpan(list45); - ref QuestStep reference34 = ref span12[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1028951u, new Vector3(-639.0631f, 56.95372f, -167.71198f), 813); - num3 = 6; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - Span span13 = CollectionsMarshal.AsSpan(list46); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list46; - reference34 = questStep; - ref QuestStep reference35 = ref span12[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-679.40436f, 52.60457f, -153.66644f), 813); - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list47 = new List(num3); - CollectionsMarshal.SetCount(list47, num3); - Span span14 = CollectionsMarshal.AsSpan(list47); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list47; - skipConditions.StepIf = skipStepConditions; - questStep2.SkipConditions = skipConditions; - reference35 = questStep2; - ref QuestStep reference36 = ref span12[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1028952u, new Vector3(-750.20984f, 66.442f, -194.32367f), 813); - num3 = 6; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - Span span15 = CollectionsMarshal.AsSpan(list48); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list48; - reference36 = questStep3; - ref QuestStep reference37 = ref span12[3]; - QuestStep obj34 = new QuestStep(EInteractionType.Interact, 1028953u, new Vector3(-776.51636f, 51.56758f, -243.57977f), 813) - { - DisableNavmesh = true, - Mount = true - }; - num3 = 6; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - Span span16 = CollectionsMarshal.AsSpan(list49); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj34.CompletionQuestVariablesFlags = list49; - reference37 = obj34; - ref QuestStep reference38 = ref span12[4]; - QuestStep obj35 = new QuestStep(EInteractionType.Interact, 1028954u, new Vector3(-715.78546f, 51.50113f, -265.49176f), 813) - { - DisableNavmesh = true, - Mount = true - }; - num3 = 6; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - Span span17 = CollectionsMarshal.AsSpan(list50); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj35.CompletionQuestVariablesFlags = list50; - reference38 = obj35; - obj33.Steps = list45; - reference33 = obj33; - ref QuestSequence reference39 = ref span10[3]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.Interact, 1028947u, new Vector3(-648.9509f, 64.32663f, -271.65643f), 813); - obj36.Steps = list51; - reference39 = obj36; - ref QuestSequence reference40 = ref span10[4]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 4 - }; - num2 = 16; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - Span span18 = CollectionsMarshal.AsSpan(list52); - span18[0] = new QuestStep(EInteractionType.AcceptQuest, 1031212u, new Vector3(-673.0907f, 51.157936f, -219.50104f), 813) - { - PickUpQuestId = new QuestId(3385) - }; - span18[1] = new QuestStep(EInteractionType.AcceptQuest, 1027382u, new Vector3(-765.92664f, 61.720478f, -304.1886f), 813) - { - PickUpQuestId = new QuestId(3384) - }; - span18[2] = new QuestStep(EInteractionType.AcceptQuest, 1027419u, new Vector3(-700.7401f, 61.993748f, -353.62787f), 813) - { - PickUpQuestId = new QuestId(3386) - }; - span18[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-724.9727f, 54.379677f, -289.8897f), 813) - { - Comment = "Tower Bottom", - AetheryteShortcut = EAetheryteLocation.LakelandOstallImperative, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span18[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-757.78326f, 97.68395f, -372.66458f), 813) - { - DisableNavmesh = true, - Comment = "Tower Bottom Platform 1", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span18[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-780.0622f, 149.62582f, -337.95224f), 813) - { - Comment = "Wooden Skywalk Bottom", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span18[6] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-765.9982f, 155.44612f, -338.81696f), 813) - { - DisableNavmesh = true, - Comment = "Wooden Skywalk Platform 1", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span18[7] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-754.08276f, 168.09683f, -308.96964f), 813) - { - DisableNavmesh = true, - Comment = "Wooden Skywalk Platform 2", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span18[8] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-785.5669f, 180.77463f, -297.20663f), 813) - { - DisableNavmesh = true, - Comment = "Wooden Skywalk Platform 3", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span18[9] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-797.36646f, 193.39963f, -328.5602f), 813) - { - DisableNavmesh = true, - Comment = "Wooden Skywalk Platform 4", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span18[10] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-778.27325f, 200.46912f, -335.60287f), 813) - { - DisableNavmesh = true, - Comment = "Wooden Skywalk Top", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span18[11] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-773.5372f, 200.21283f, -331.92017f), 813) - { - DisableNavmesh = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span18[12] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-764.10376f, 200.22963f, -332.95276f), 813) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span18[13] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-757.3483f, 200.13994f, -312.77927f), 813) - { - DisableNavmesh = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span18[14] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-756.9433f, 200.1388f, -295.38437f), 813) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span18[15] = new QuestStep(EInteractionType.SinglePlayerDuty, 1028955u, new Vector3(-755.67255f, 200.19878f, -293.87354f), 813) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj37.Steps = list52; - reference40 = obj37; - span10[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference41 = ref span10[6]; - QuestSequence obj38 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.CompleteQuest, 1028956u, new Vector3(-635.76715f, 126.0163f, 697.444f), 816) - { - DisableNavmesh = true - }; - obj38.Steps = list53; - reference41 = obj38; - questRoot6.QuestSequence = list42; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(3306); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - CollectionsMarshal.AsSpan(list54)[0] = "liza"; - questRoot7.Author = list54; - num = 4; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - Span span19 = CollectionsMarshal.AsSpan(list55); - ref QuestSequence reference42 = ref span19[0]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.AcceptQuest, 1028956u, new Vector3(-635.76715f, 126.0163f, 697.444f), 816) - { - DisableNavmesh = true - }; - obj39.Steps = list56; - reference42 = obj39; - ref QuestSequence reference43 = ref span19[1]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.Interact, 1028970u, new Vector3(-370.41278f, 47.988583f, 497.3982f), 816); - obj40.Steps = list57; - reference43 = obj40; - ref QuestSequence reference44 = ref span19[2]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - Span span20 = CollectionsMarshal.AsSpan(list58); - span20[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 816) - { - Aetheryte = EAetheryteLocation.IlMhegLydhaLran - }; - ref QuestStep reference45 = ref span20[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2009816u, new Vector3(-382.8031f, 60.746094f, 530.5714f), 816); - num3 = 2; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - Span span21 = CollectionsMarshal.AsSpan(list59); - span21[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMB105_03306_Q3_000_000"), - Answer = new ExcelRef("TEXT_LUCKMB105_03306_A3_000_002") - }; - span21[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMB105_03306_Q4_000_000"), - Answer = new ExcelRef("TEXT_LUCKMB105_03306_A4_000_003") - }; - questStep4.DialogueChoices = list59; - reference45 = questStep4; - obj41.Steps = list58; - reference44 = obj41; - ref QuestSequence reference46 = ref span19[3]; - QuestSequence obj42 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.CompleteQuest, 1028970u, new Vector3(-370.41278f, 47.988583f, 497.3982f), 816); - obj42.Steps = list60; - reference46 = obj42; - questRoot7.QuestSequence = list55; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(3307); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - CollectionsMarshal.AsSpan(list61)[0] = "liza"; - questRoot8.Author = list61; - num = 3; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - Span span22 = CollectionsMarshal.AsSpan(list62); - ref QuestSequence reference47 = ref span22[0]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027654u, new Vector3(-355.30634f, 46.684208f, 482.0172f), 816); - obj43.Steps = list63; - reference47 = obj43; - ref QuestSequence reference48 = ref span22[1]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - Span span23 = CollectionsMarshal.AsSpan(list64); - span23[0] = new QuestStep(EInteractionType.AcceptQuest, 1030266u, new Vector3(-367.66614f, 66.863594f, 557.1526f), 816) - { - PickUpQuestId = new QuestId(3395) - }; - ref QuestStep reference49 = ref span23[1]; - QuestStep questStep5 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-359.70227f, 69.40222f, 546.2372f), 816); - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - Span span24 = CollectionsMarshal.AsSpan(list65); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list65; - skipConditions2.StepIf = skipStepConditions2; - questStep5.SkipConditions = skipConditions2; - reference49 = questStep5; - ref QuestStep reference50 = ref span23[2]; - QuestStep obj45 = new QuestStep(EInteractionType.UseItem, 2009820u, new Vector3(-375.29565f, 76.06616f, 550.4386f), 816) - { - DisableNavmesh = true, - ItemId = 2002534u - }; - num3 = 6; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - Span span25 = CollectionsMarshal.AsSpan(list66); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj45.CompletionQuestVariablesFlags = list66; - reference50 = obj45; - ref QuestStep reference51 = ref span23[3]; - QuestStep obj46 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-391.67172f, 58.587833f, 553.26294f), 816) - { - DisableNavmesh = true - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - Span span26 = CollectionsMarshal.AsSpan(list67); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list67; - skipConditions3.StepIf = skipStepConditions3; - obj46.SkipConditions = skipConditions3; - reference51 = obj46; - ref QuestStep reference52 = ref span23[4]; - QuestStep obj47 = new QuestStep(EInteractionType.UseItem, 2009819u, new Vector3(-454.88672f, 80.125f, 593.469f), 816) - { - ItemId = 2002534u - }; - num3 = 6; - List list68 = new List(num3); - CollectionsMarshal.SetCount(list68, num3); - Span span27 = CollectionsMarshal.AsSpan(list68); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj47.CompletionQuestVariablesFlags = list68; - reference52 = obj47; - ref QuestStep reference53 = ref span23[5]; - QuestStep obj48 = new QuestStep(EInteractionType.UseItem, 2009821u, new Vector3(-280.32355f, 56.22937f, 474.08252f), 816) - { - ItemId = 2002534u - }; - num3 = 6; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - Span span28 = CollectionsMarshal.AsSpan(list69); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj48.CompletionQuestVariablesFlags = list69; - reference53 = obj48; - obj44.Steps = list64; - reference48 = obj44; - ref QuestSequence reference54 = ref span22[2]; - QuestSequence obj49 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027654u, new Vector3(-355.30634f, 46.684208f, 482.0172f), 816); - obj49.Steps = list70; - reference54 = obj49; - questRoot8.QuestSequence = list62; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(3308); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - CollectionsMarshal.AsSpan(list71)[0] = "liza"; - questRoot9.Author = list71; - num = 3; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - Span span29 = CollectionsMarshal.AsSpan(list72); - ref QuestSequence reference55 = ref span29[0]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027655u, new Vector3(-424.6739f, 60.46432f, 490.07385f), 816); - obj50.Steps = list73; - reference55 = obj50; - ref QuestSequence reference56 = ref span29[1]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - Span span30 = CollectionsMarshal.AsSpan(list74); - ref QuestStep reference57 = ref span30[0]; - QuestStep obj52 = new QuestStep(EInteractionType.Combat, 2009822u, new Vector3(-211.10858f, 38.895264f, 356.77112f), 816) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - CollectionsMarshal.AsSpan(list75)[0] = 10840u; - obj52.KillEnemyDataIds = list75; - num3 = 6; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - Span span31 = CollectionsMarshal.AsSpan(list76); - span31[0] = null; - span31[1] = null; - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj52.CompletionQuestVariablesFlags = list76; - reference57 = obj52; - ref QuestStep reference58 = ref span30[1]; - QuestStep obj53 = new QuestStep(EInteractionType.Combat, 2009823u, new Vector3(-260.24268f, 38.986816f, 289.05164f), 816) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - CollectionsMarshal.AsSpan(list77)[0] = 10840u; - obj53.KillEnemyDataIds = list77; - num3 = 6; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - Span span32 = CollectionsMarshal.AsSpan(list78); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj53.CompletionQuestVariablesFlags = list78; - reference58 = obj53; - obj51.Steps = list74; - reference56 = obj51; - ref QuestSequence reference59 = ref span29[2]; - QuestSequence obj54 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027655u, new Vector3(-424.6739f, 60.46432f, 490.07385f), 816); - obj54.Steps = list79; - reference59 = obj54; - questRoot9.QuestSequence = list72; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(3309); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - CollectionsMarshal.AsSpan(list80)[0] = "liza"; - questRoot10.Author = list80; - num = 4; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - Span span33 = CollectionsMarshal.AsSpan(list81); - ref QuestSequence reference60 = ref span33[0]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027656u, new Vector3(-291.61517f, 40.324036f, 456.65674f), 816); - obj55.Steps = list82; - reference60 = obj55; - ref QuestSequence reference61 = ref span33[1]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.Interact, 2009824u, new Vector3(-59.250793f, 0.47296143f, 279.95728f), 816); - obj56.Steps = list83; - reference61 = obj56; - ref QuestSequence reference62 = ref span33[2]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - Span span34 = CollectionsMarshal.AsSpan(list84); - ref QuestStep reference63 = ref span34[0]; - QuestStep obj58 = new QuestStep(EInteractionType.UseItem, 2009825u, new Vector3(-122.30109f, 17.807251f, 413.2295f), 816) - { - ItemId = 2002536u - }; - num3 = 6; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - Span span35 = CollectionsMarshal.AsSpan(list85); - span35[0] = null; - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj58.CompletionQuestVariablesFlags = list85; - reference63 = obj58; - ref QuestStep reference64 = ref span34[1]; - QuestStep obj59 = new QuestStep(EInteractionType.UseItem, 2009826u, new Vector3(-263.17236f, 41.85547f, 469.5963f), 816) - { - ItemId = 2002536u - }; - num3 = 6; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - Span span36 = CollectionsMarshal.AsSpan(list86); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj59.CompletionQuestVariablesFlags = list86; - reference64 = obj59; - obj57.Steps = list84; - reference62 = obj57; - ref QuestSequence reference65 = ref span33[3]; - QuestSequence obj60 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027656u, new Vector3(-291.61517f, 40.324036f, 456.65674f), 816); - obj60.Steps = list87; - reference65 = obj60; - questRoot10.QuestSequence = list81; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(3310); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list88 = new List(num); - CollectionsMarshal.SetCount(list88, num); - CollectionsMarshal.AsSpan(list88)[0] = "liza"; - questRoot11.Author = list88; - num = 6; - List list89 = new List(num); - CollectionsMarshal.SetCount(list89, num); - Span span37 = CollectionsMarshal.AsSpan(list89); - ref QuestSequence reference66 = ref span37[0]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.AcceptQuest, 1028981u, new Vector3(-405.17285f, 57.405117f, 440.45154f), 816); - obj61.Steps = list90; - reference66 = obj61; - ref QuestSequence reference67 = ref span37[1]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.Say, 2009827u, new Vector3(-408.6214f, 57.99951f, 408.1941f), 816) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_LUCKMB109_03310_SYSTEM_000_050" - } - }; - obj62.Steps = list91; - reference67 = obj62; - ref QuestSequence reference68 = ref span37[2]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.Say, 2009827u, new Vector3(-408.6214f, 57.99951f, 408.1941f), 816) - { - DelaySecondsAtStart = 6f, - ChatMessage = new ChatMessage - { - Key = "TEXT_LUCKMB109_03310_SYSTEM_000_060" - } - }; - obj63.Steps = list92; - reference68 = obj63; - ref QuestSequence reference69 = ref span37[3]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.Say, 2009827u, new Vector3(-408.6214f, 57.99951f, 408.1941f), 816) - { - DelaySecondsAtStart = 8f, - ChatMessage = new ChatMessage - { - Key = "TEXT_LUCKMB109_03310_SYSTEM_000_070" - } - }; - obj64.Steps = list93; - reference69 = obj64; - ref QuestSequence reference70 = ref span37[4]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Interact, 1028995u, new Vector3(-360.70807f, 45.90706f, 470.72546f), 816) - { - StopDistance = 7f - }; - obj65.Steps = list94; - reference70 = obj65; - ref QuestSequence reference71 = ref span37[5]; - QuestSequence obj66 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.CompleteQuest, 1028999u, new Vector3(-603.1434f, 36.117786f, -230.0603f), 816); - obj66.Steps = list95; - reference71 = obj66; - questRoot11.QuestSequence = list89; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(3311); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - CollectionsMarshal.AsSpan(list96)[0] = "liza"; - questRoot12.Author = list96; - num = 4; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - Span span38 = CollectionsMarshal.AsSpan(list97); - ref QuestSequence reference72 = ref span38[0]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - ref QuestStep reference73 = ref CollectionsMarshal.AsSpan(list98)[0]; - QuestStep obj68 = new QuestStep(EInteractionType.AcceptQuest, 1029017u, new Vector3(-645.01416f, 35.86156f, -223.10223f), 816) - { - StopDistance = 5f - }; - num3 = 1; - List list99 = new List(num3); - CollectionsMarshal.SetCount(list99, num3); - CollectionsMarshal.AsSpan(list99)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMB110_03311_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKMB110_03311_A1_000_001") - }; - obj68.DialogueChoices = list99; - reference73 = obj68; - obj67.Steps = list98; - reference72 = obj67; - ref QuestSequence reference74 = ref span38[1]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - Span span39 = CollectionsMarshal.AsSpan(list100); - span39[0] = new QuestStep(EInteractionType.AcceptQuest, 1030618u, new Vector3(-613.39746f, 36.54754f, -215.41168f), 816) - { - PickUpQuestId = new QuestId(3398) - }; - ref QuestStep reference75 = ref span39[1]; - QuestStep obj70 = new QuestStep(EInteractionType.Combat, null, new Vector3(-629.64935f, 35.484062f, -173.54001f), 816) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - CollectionsMarshal.AsSpan(list101)[0] = 10258u; - obj70.KillEnemyDataIds = list101; - obj70.CombatItemUse = new CombatItemUse - { - ItemId = 2002572u, - Condition = ECombatItemUseCondition.HealthPercent, - Value = 50 - }; - reference75 = obj70; - obj69.Steps = list100; - reference74 = obj69; - ref QuestSequence reference76 = ref span38[2]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.Interact, 1029017u, new Vector3(-645.01416f, 35.86156f, -223.10223f), 816); - obj71.Steps = list102; - reference76 = obj71; - ref QuestSequence reference77 = ref span38[3]; - QuestSequence obj72 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030535u, new Vector3(-355.30634f, 46.684208f, 482.0172f), 816) - { - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj72.Steps = list103; - reference77 = obj72; - questRoot12.QuestSequence = list97; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(3312); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list104 = new List(num); - CollectionsMarshal.SetCount(list104, num); - CollectionsMarshal.AsSpan(list104)[0] = "liza"; - questRoot13.Author = list104; - num = 5; - List list105 = new List(num); - CollectionsMarshal.SetCount(list105, num); - Span span40 = CollectionsMarshal.AsSpan(list105); - ref QuestSequence reference78 = ref span40[0]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030535u, new Vector3(-355.30634f, 46.684208f, 482.0172f), 816); - obj73.Steps = list106; - reference78 = obj73; - ref QuestSequence reference79 = ref span40[1]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - Span span41 = CollectionsMarshal.AsSpan(list107); - span41[0] = new QuestStep(EInteractionType.AcceptQuest, 1030838u, new Vector3(-285.90833f, 40.324036f, 444.41882f), 816) - { - PickUpQuestId = new QuestId(3404) - }; - span41[1] = new QuestStep(EInteractionType.Interact, 2009828u, new Vector3(133.40955f, -0.015319824f, 455.9242f), 816); - obj74.Steps = list107; - reference79 = obj74; - ref QuestSequence reference80 = ref span40[2]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.Duty, null, null, 816) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 649u - } - }; - obj75.Steps = list108; - reference80 = obj75; - span40[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference81 = ref span40[4]; - QuestSequence obj76 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - Span span42 = CollectionsMarshal.AsSpan(list109); - span42[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010056u, new Vector3(-231.4141f, 4.701926f, 160.8437f), 816) - { - AetherCurrentId = 2818270u - }; - span42[1] = new QuestStep(EInteractionType.CompleteQuest, 1031669u, new Vector3(-300.0077f, 1.4994799f, 182.8794f), 816) - { - Mount = false - }; - obj76.Steps = list109; - reference81 = obj76; - questRoot13.QuestSequence = list105; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(3313); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - CollectionsMarshal.AsSpan(list110)[0] = "liza"; - questRoot14.Author = list110; - num = 6; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - Span span43 = CollectionsMarshal.AsSpan(list111); - ref QuestSequence reference82 = ref span43[0]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029162u, new Vector3(-300.67908f, 1.528771f, 182.2384f), 816) - { - StopDistance = 5f - }; - obj77.Steps = list112; - reference82 = obj77; - ref QuestSequence reference83 = ref span43[1]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.Interact, 1030577u, new Vector3(-547.57f, 26.358929f, -229.11426f), 816); - obj78.Steps = list113; - reference83 = obj78; - ref QuestSequence reference84 = ref span43[2]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.Interact, 1030578u, new Vector3(-413.99255f, 86.60777f, -444.5716f), 816); - obj79.Steps = list114; - reference84 = obj79; - ref QuestSequence reference85 = ref span43[3]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.Interact, 1030579u, new Vector3(-517.2656f, 76.02325f, -416.67816f), 816); - obj80.Steps = list115; - reference85 = obj80; - ref QuestSequence reference86 = ref span43[4]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-214.34406f, 55.06957f, -562.23914f), 816); - obj81.Steps = list116; - reference86 = obj81; - ref QuestSequence reference87 = ref span43[5]; - QuestSequence obj82 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029562u, new Vector3(-130.69354f, 58.754936f, -680.4761f), 816); - obj82.Steps = list117; - reference87 = obj82; - questRoot14.QuestSequence = list111; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(3314); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - CollectionsMarshal.AsSpan(list118)[0] = "liza"; - questRoot15.Author = list118; - num = 4; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - Span span44 = CollectionsMarshal.AsSpan(list119); - ref QuestSequence reference88 = ref span44[0]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029564u, new Vector3(-143.26697f, 100.184166f, -848.90515f), 816) - { - StopDistance = 7f - }; - obj83.Steps = list120; - reference88 = obj83; - ref QuestSequence reference89 = ref span44[1]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - Span span45 = CollectionsMarshal.AsSpan(list121); - span45[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 816) - { - Aetheryte = EAetheryteLocation.IlMhegPlaEnni - }; - span45[1] = new QuestStep(EInteractionType.Interact, 1029572u, new Vector3(-44.022278f, 104.915054f, -856.53467f), 816); - obj84.Steps = list121; - reference89 = obj84; - ref QuestSequence reference90 = ref span44[2]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - ref QuestStep reference91 = ref CollectionsMarshal.AsSpan(list122)[0]; - QuestStep obj86 = new QuestStep(EInteractionType.Combat, null, new Vector3(-121.60927f, 57.405594f, -669.88385f), 816) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - CollectionsMarshal.AsSpan(list123)[0] = 10255u; - obj86.KillEnemyDataIds = list123; - reference91 = obj86; - obj85.Steps = list122; - reference90 = obj85; - ref QuestSequence reference92 = ref span44[3]; - QuestSequence obj87 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029572u, new Vector3(-44.022278f, 104.915054f, -856.53467f), 816); - obj87.Steps = list124; - reference92 = obj87; - questRoot15.QuestSequence = list119; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(3315); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list125 = new List(num); - CollectionsMarshal.SetCount(list125, num); - CollectionsMarshal.AsSpan(list125)[0] = "liza"; - questRoot16.Author = list125; - num = 6; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - Span span46 = CollectionsMarshal.AsSpan(list126); - ref QuestSequence reference93 = ref span46[0]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029573u, new Vector3(-85.83203f, 101.65893f, -866.0563f), 816); - obj88.Steps = list127; - reference93 = obj88; - ref QuestSequence reference94 = ref span46[1]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - Span span47 = CollectionsMarshal.AsSpan(list128); - ref QuestStep reference95 = ref span47[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2009830u, new Vector3(-111.77234f, 103.1051f, -865.7816f), 816); - num3 = 6; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - Span span48 = CollectionsMarshal.AsSpan(list129); - span48[0] = null; - span48[1] = null; - span48[2] = null; - span48[3] = null; - span48[4] = null; - span48[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list129; - reference95 = questStep6; - ref QuestStep reference96 = ref span47[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-48.83761f, 104.5973f, -856.61725f), 816); - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - Span span49 = CollectionsMarshal.AsSpan(list130); - span49[0] = null; - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list130; - skipConditions4.StepIf = skipStepConditions4; - questStep7.SkipConditions = skipConditions4; - reference96 = questStep7; - ref QuestStep reference97 = ref span47[2]; - QuestStep obj90 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-53.266403f, 110.45701f, -847.4861f), 816) - { - DisableNavmesh = true - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 6; - List list131 = new List(num3); - CollectionsMarshal.SetCount(list131, num3); - Span span50 = CollectionsMarshal.AsSpan(list131); - span50[0] = null; - span50[1] = null; - span50[2] = null; - span50[3] = null; - span50[4] = null; - span50[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions5.CompletionQuestVariablesFlags = list131; - skipConditions5.StepIf = skipStepConditions5; - obj90.SkipConditions = skipConditions5; - reference97 = obj90; - ref QuestStep reference98 = ref span47[3]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2009831u, new Vector3(-39.84137f, 116.227905f, -839.292f), 816); - num3 = 6; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - Span span51 = CollectionsMarshal.AsSpan(list132); - span51[0] = null; - span51[1] = null; - span51[2] = null; - span51[3] = null; - span51[4] = null; - span51[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list132; - reference98 = questStep8; - span47[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-35.223904f, 107.18862f, -860.6854f), 816) - { - DisableNavmesh = true, - Mount = true - }; - ref QuestStep reference99 = ref span47[5]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 2009832u, new Vector3(25.436768f, 100.694214f, -902.31177f), 816); - num3 = 6; - List list133 = new List(num3); - CollectionsMarshal.SetCount(list133, num3); - Span span52 = CollectionsMarshal.AsSpan(list133); - span52[0] = null; - span52[1] = null; - span52[2] = null; - span52[3] = null; - span52[4] = null; - span52[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list133; - reference99 = questStep9; - obj89.Steps = list128; - reference94 = obj89; - ref QuestSequence reference100 = ref span46[2]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.Interact, 1029573u, new Vector3(-85.83203f, 101.65893f, -866.0563f), 816); - obj91.Steps = list134; - reference100 = obj91; - ref QuestSequence reference101 = ref span46[3]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.Interact, 2009833u, new Vector3(-181.13983f, 84.09241f, -786.2211f), 816); - obj92.Steps = list135; - reference101 = obj92; - ref QuestSequence reference102 = ref span46[4]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.Interact, 1029574u, new Vector3(-164.62964f, 82.303215f, -751.97986f), 816); - obj93.Steps = list136; - reference102 = obj93; - ref QuestSequence reference103 = ref span46[5]; - QuestSequence obj94 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029573u, new Vector3(-85.83203f, 101.65893f, -866.0563f), 816); - obj94.Steps = list137; - reference103 = obj94; - questRoot16.QuestSequence = list126; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(3316); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - CollectionsMarshal.AsSpan(list138)[0] = "liza"; - questRoot17.Author = list138; - num = 5; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - Span span53 = CollectionsMarshal.AsSpan(list139); - ref QuestSequence reference104 = ref span53[0]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027672u, new Vector3(-101.51831f, 101.86012f, -838.49854f), 816); - obj95.Steps = list140; - reference104 = obj95; - ref QuestSequence reference105 = ref span53[1]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 1 - }; - num2 = 9; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - Span span54 = CollectionsMarshal.AsSpan(list141); - span54[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(33.10641f, 106.830055f, -842.54065f), 816); - span54[1] = new QuestStep(EInteractionType.Jump, null, new Vector3(33.10641f, 106.830055f, -842.54065f), 816) - { - StopDistance = 0.25f, - Mount = false, - JumpDestination = new JumpDestination - { - Position = new Vector3(27.701914f, 108.983986f, -844.172f), - DelaySeconds = 0.25f - } - }; - span54[2] = new QuestStep(EInteractionType.Jump, null, new Vector3(27.701914f, 108.983986f, -844.172f), 816) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(25.056326f, 110.28013f, -846.34796f), - DelaySeconds = 0.1f - } - }; - span54[3] = new QuestStep(EInteractionType.Jump, null, new Vector3(25.056326f, 110.28013f, -846.34796f), 816) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(21.853422f, 111.3742f, -847.6101f), - DelaySeconds = 0.1f - } - }; - span54[4] = new QuestStep(EInteractionType.Jump, null, new Vector3(21.853422f, 111.3742f, -847.6101f), 816) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(18.00289f, 111.8963f, -847.90894f), - DelaySeconds = 0.1f - } - }; - span54[5] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010059u, new Vector3(12.832764f, 110.73462f, -851.25507f), 816) - { - DisableNavmesh = true, - AetherCurrentId = 2818273u - }; - span54[6] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(17.588793f, 102.26027f, -859.4154f), 816) - { - DisableNavmesh = true, - Mount = true - }; - span54[7] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 816) - { - Aetheryte = EAetheryteLocation.IlMhegWolekdorf - }; - span54[8] = new QuestStep(EInteractionType.Interact, 1029575u, new Vector3(477.46997f, 90.93466f, -328.5725f), 816); - obj96.Steps = list141; - reference105 = obj96; - ref QuestSequence reference106 = ref span53[2]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 2 - }; - num2 = 9; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - Span span55 = CollectionsMarshal.AsSpan(list142); - ref QuestStep reference107 = ref span55[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(519.60034f, 110.94924f, -171.57602f), 816); - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 6; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - Span span56 = CollectionsMarshal.AsSpan(list143); - span56[0] = null; - span56[1] = null; - span56[2] = null; - span56[3] = null; - span56[4] = null; - span56[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions6.CompletionQuestVariablesFlags = list143; - skipConditions6.StepIf = skipStepConditions6; - questStep10.SkipConditions = skipConditions6; - reference107 = questStep10; - ref QuestStep reference108 = ref span55[1]; - QuestStep obj98 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(524.02466f, 117.10437f, -161.2614f), 816) - { - DisableNavmesh = true - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 6; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - Span span57 = CollectionsMarshal.AsSpan(list144); - span57[0] = null; - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions7.CompletionQuestVariablesFlags = list144; - skipConditions7.StepIf = skipStepConditions7; - obj98.SkipConditions = skipConditions7; - reference108 = obj98; - ref QuestStep reference109 = ref span55[2]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 2009836u, new Vector3(514.45776f, 122.45361f, -158.28192f), 816); - num3 = 6; - List list145 = new List(num3); - CollectionsMarshal.SetCount(list145, num3); - Span span58 = CollectionsMarshal.AsSpan(list145); - span58[0] = null; - span58[1] = null; - span58[2] = null; - span58[3] = null; - span58[4] = null; - span58[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list145; - reference109 = questStep11; - ref QuestStep reference110 = ref span55[3]; - QuestStep obj99 = new QuestStep(EInteractionType.Jump, null, new Vector3(533.1536f, 109.112404f, -154.17346f), 816) - { - StopDistance = 0.25f, - DisableNavmesh = true, - Mount = false, - JumpDestination = new JumpDestination - { - Position = new Vector3(536.68494f, 111.31597f, -155.06671f), - DelaySeconds = 0.2f - } - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions8 = new SkipStepConditions(); - num3 = 6; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - Span span59 = CollectionsMarshal.AsSpan(list146); - span59[0] = null; - span59[1] = null; - span59[2] = null; - span59[3] = null; - span59[4] = null; - span59[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions8.CompletionQuestVariablesFlags = list146; - skipConditions8.StepIf = skipStepConditions8; - obj99.SkipConditions = skipConditions8; - reference110 = obj99; - ref QuestStep reference111 = ref span55[4]; - QuestStep obj100 = new QuestStep(EInteractionType.Jump, null, new Vector3(536.68494f, 111.31597f, -155.06671f), 816) - { - StopDistance = 0.5f, - DisableNavmesh = true, - JumpDestination = new JumpDestination - { - Position = new Vector3(539.31104f, 113.00041f, -155.02728f), - DelaySeconds = 0.1f - } - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions9 = new SkipStepConditions(); - num3 = 6; - List list147 = new List(num3); - CollectionsMarshal.SetCount(list147, num3); - Span span60 = CollectionsMarshal.AsSpan(list147); - span60[0] = null; - span60[1] = null; - span60[2] = null; - span60[3] = null; - span60[4] = null; - span60[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions9.CompletionQuestVariablesFlags = list147; - skipConditions9.StepIf = skipStepConditions9; - obj100.SkipConditions = skipConditions9; - reference111 = obj100; - ref QuestStep reference112 = ref span55[5]; - QuestStep obj101 = new QuestStep(EInteractionType.Jump, null, new Vector3(539.31104f, 113.00041f, -155.02728f), 816) - { - StopDistance = 0.5f, - DisableNavmesh = true, - JumpDestination = new JumpDestination - { - Position = new Vector3(542.8287f, 114.6852f, -154.211f), - DelaySeconds = 0.1f - } - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipStepConditions skipStepConditions10 = new SkipStepConditions(); - num3 = 6; - List list148 = new List(num3); - CollectionsMarshal.SetCount(list148, num3); - Span span61 = CollectionsMarshal.AsSpan(list148); - span61[0] = null; - span61[1] = null; - span61[2] = null; - span61[3] = null; - span61[4] = null; - span61[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions10.CompletionQuestVariablesFlags = list148; - skipConditions10.StepIf = skipStepConditions10; - obj101.SkipConditions = skipConditions10; - reference112 = obj101; - ref QuestStep reference113 = ref span55[6]; - QuestStep obj102 = new QuestStep(EInteractionType.Jump, null, new Vector3(542.8287f, 114.6852f, -154.211f), 816) - { - StopDistance = 0.5f, - DisableNavmesh = true, - JumpDestination = new JumpDestination - { - Position = new Vector3(547.785f, 116.76792f, -152.87657f), - DelaySeconds = 0.2f - } - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipStepConditions skipStepConditions11 = new SkipStepConditions(); - num3 = 6; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - Span span62 = CollectionsMarshal.AsSpan(list149); - span62[0] = null; - span62[1] = null; - span62[2] = null; - span62[3] = null; - span62[4] = null; - span62[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions11.CompletionQuestVariablesFlags = list149; - skipConditions11.StepIf = skipStepConditions11; - obj102.SkipConditions = skipConditions11; - reference113 = obj102; - ref QuestStep reference114 = ref span55[7]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 2009835u, new Vector3(570.00073f, 119.15759f, -145.70844f), 816); - num3 = 6; - List list150 = new List(num3); - CollectionsMarshal.SetCount(list150, num3); - Span span63 = CollectionsMarshal.AsSpan(list150); - span63[0] = null; - span63[1] = null; - span63[2] = null; - span63[3] = null; - span63[4] = null; - span63[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list150; - reference114 = questStep12; - span55[8] = new QuestStep(EInteractionType.Interact, 2009834u, new Vector3(496.75732f, 103.95972f, -116.41113f), 816); - obj97.Steps = list142; - reference106 = obj97; - ref QuestSequence reference115 = ref span53[3]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - Span span64 = CollectionsMarshal.AsSpan(list151); - span64[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(433.92883f, 88.121765f, -352.8274f), 816); - span64[1] = new QuestStep(EInteractionType.Interact, 1029576u, new Vector3(292.92737f, 67.604f, -408.13312f), 816); - obj103.Steps = list151; - reference115 = obj103; - ref QuestSequence reference116 = ref span53[4]; - QuestSequence obj104 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027672u, new Vector3(-101.51831f, 101.86012f, -838.49854f), 816) - { - AetheryteShortcut = EAetheryteLocation.IlMhegPlaEnni - }; - obj104.Steps = list152; - reference116 = obj104; - questRoot17.QuestSequence = list139; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(3317); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list153 = new List(num); - CollectionsMarshal.SetCount(list153, num); - CollectionsMarshal.AsSpan(list153)[0] = "liza"; - questRoot18.Author = list153; - num = 7; - List list154 = new List(num); - CollectionsMarshal.SetCount(list154, num); - Span span65 = CollectionsMarshal.AsSpan(list154); - ref QuestSequence reference117 = ref span65[0]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027672u, new Vector3(-101.51831f, 101.86012f, -838.49854f), 816); - obj105.Steps = list155; - reference117 = obj105; - ref QuestSequence reference118 = ref span65[1]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.Interact, 1027666u, new Vector3(13.839905f, 100.161f, -886.3508f), 816); - obj106.Steps = list156; - reference118 = obj106; - ref QuestSequence reference119 = ref span65[2]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - ref QuestStep reference120 = ref CollectionsMarshal.AsSpan(list157)[0]; - QuestStep obj108 = new QuestStep(EInteractionType.Interact, 1029580u, new Vector3(453.05554f, 87.4745f, -691.9509f), 816) - { - StopDistance = 9f, - AetheryteShortcut = EAetheryteLocation.IlMhegWolekdorf - }; - num3 = 1; - List list158 = new List(num3); - CollectionsMarshal.SetCount(list158, num3); - CollectionsMarshal.AsSpan(list158)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMB116_03317_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKMB116_03317_A1_000_002") - }; - obj108.DialogueChoices = list158; - reference120 = obj108; - obj107.Steps = list157; - reference119 = obj107; - ref QuestSequence reference121 = ref span65[3]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.Emote, 1027691u, new Vector3(416.80017f, 87.947784f, -751.09485f), 816) - { - Emote = EEmote.Pet - }; - obj109.Steps = list159; - reference121 = obj109; - ref QuestSequence reference122 = ref span65[4]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.Emote, 1027692u, new Vector3(382.1317f, 86.5506f, -617.0901f), 816) - { - Emote = EEmote.Pet - }; - obj110.Steps = list160; - reference122 = obj110; - ref QuestSequence reference123 = ref span65[5]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.Emote, 1027693u, new Vector3(364.27856f, 87.00109f, -715.41925f), 816) - { - Emote = EEmote.Pet - }; - obj111.Steps = list161; - reference123 = obj111; - ref QuestSequence reference124 = ref span65[6]; - QuestSequence obj112 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029577u, new Vector3(456.83984f, 86.13955f, -710.0176f), 816); - obj112.Steps = list162; - reference124 = obj112; - questRoot18.QuestSequence = list154; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(3318); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list163 = new List(num); - CollectionsMarshal.SetCount(list163, num); - CollectionsMarshal.AsSpan(list163)[0] = "liza"; - questRoot19.Author = list163; - num = 6; - List list164 = new List(num); - CollectionsMarshal.SetCount(list164, num); - Span span66 = CollectionsMarshal.AsSpan(list164); - ref QuestSequence reference125 = ref span66[0]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029577u, new Vector3(456.83984f, 86.13955f, -710.0176f), 816); - obj113.Steps = list165; - reference125 = obj113; - ref QuestSequence reference126 = ref span66[1]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.Interact, 1027690u, new Vector3(452.9945f, 87.48282f, -691.9814f), 816) - { - StopDistance = 9f - }; - obj114.Steps = list166; - reference126 = obj114; - ref QuestSequence reference127 = ref span66[2]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - Span span67 = CollectionsMarshal.AsSpan(list167); - span67[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010062u, new Vector3(432.45593f, 90.440186f, -770.4128f), 816) - { - AetherCurrentId = 2818276u - }; - span67[1] = new QuestStep(EInteractionType.Interact, 1030874u, new Vector3(658.442f, 102.799385f, -608.91125f), 816) - { - StopDistance = 9f - }; - obj115.Steps = list167; - reference127 = obj115; - ref QuestSequence reference128 = ref span66[3]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - ref QuestStep reference129 = ref CollectionsMarshal.AsSpan(list168)[0]; - QuestStep obj117 = new QuestStep(EInteractionType.Combat, 1030874u, new Vector3(658.442f, 102.799385f, -608.91125f), 816) - { - StopDistance = 9f, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 3; - List list169 = new List(num3); - CollectionsMarshal.SetCount(list169, num3); - Span span68 = CollectionsMarshal.AsSpan(list169); - span68[0] = 10841u; - span68[1] = 10842u; - span68[2] = 10843u; - obj117.KillEnemyDataIds = list169; - reference129 = obj117; - obj116.Steps = list168; - reference128 = obj116; - ref QuestSequence reference130 = ref span66[4]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.Interact, 1030874u, new Vector3(658.442f, 102.799385f, -608.91125f), 816) - { - StopDistance = 9f - }; - obj118.Steps = list170; - reference130 = obj118; - ref QuestSequence reference131 = ref span66[5]; - QuestSequence obj119 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027690u, new Vector3(452.9945f, 87.48282f, -691.9814f), 816) - { - StopDistance = 9f - }; - obj119.Steps = list171; - reference131 = obj119; - questRoot19.QuestSequence = list164; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(3319); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list172 = new List(num); - CollectionsMarshal.SetCount(list172, num); - CollectionsMarshal.AsSpan(list172)[0] = "liza"; - questRoot20.Author = list172; - num = 3; - List list173 = new List(num); - CollectionsMarshal.SetCount(list173, num); - Span span69 = CollectionsMarshal.AsSpan(list173); - ref QuestSequence reference132 = ref span69[0]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027690u, new Vector3(452.9945f, 87.48282f, -691.9814f), 816) - { - StopDistance = 9f - }; - obj120.Steps = list174; - reference132 = obj120; - ref QuestSequence reference133 = ref span69[1]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - Span span70 = CollectionsMarshal.AsSpan(list175); - span70[0] = new QuestStep(EInteractionType.AcceptQuest, 1027695u, new Vector3(441.64185f, 89.80711f, -653.43713f), 816) - { - PickUpQuestId = new QuestId(3427) - }; - span70[1] = new QuestStep(EInteractionType.Dive, null, new Vector3(57.868374f, -0.6f, -431.17603f), 816); - span70[2] = new QuestStep(EInteractionType.Interact, 2009837u, new Vector3(-361.9593f, -52.506348f, -302.41858f), 816); - obj121.Steps = list175; - reference133 = obj121; - ref QuestSequence reference134 = ref span69[2]; - QuestSequence obj122 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - CollectionsMarshal.AsSpan(list176)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027690u, new Vector3(452.9945f, 87.48282f, -691.9814f), 816) - { - StopDistance = 9f, - AetheryteShortcut = EAetheryteLocation.IlMhegWolekdorf - }; - obj122.Steps = list176; - reference134 = obj122; - questRoot20.QuestSequence = list173; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(3320); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list177 = new List(num); - CollectionsMarshal.SetCount(list177, num); - CollectionsMarshal.AsSpan(list177)[0] = "liza"; - questRoot21.Author = list177; - num = 4; - List list178 = new List(num); - CollectionsMarshal.SetCount(list178, num); - Span span71 = CollectionsMarshal.AsSpan(list178); - ref QuestSequence reference135 = ref span71[0]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - CollectionsMarshal.AsSpan(list179)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027690u, new Vector3(452.9945f, 87.48282f, -691.9814f), 816) - { - StopDistance = 9f - }; - obj123.Steps = list179; - reference135 = obj123; - ref QuestSequence reference136 = ref span71[1]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - Span span72 = CollectionsMarshal.AsSpan(list180); - span72[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010063u, new Vector3(-9.018127f, 89.28052f, -247.66925f), 816) - { - AetherCurrentId = 2818277u - }; - span72[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-88.91068f, 109.10638f, -282.8004f), 816); - span72[2] = new QuestStep(EInteractionType.Interact, 2009840u, new Vector3(-143.32806f, 116.868774f, -274.15887f), 816); - obj124.Steps = list180; - reference136 = obj124; - ref QuestSequence reference137 = ref span71[2]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.Duty, null, null, 816) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 657u - } - }; - obj125.Steps = list181; - reference137 = obj125; - ref QuestSequence reference138 = ref span71[3]; - QuestSequence obj126 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029583u, new Vector3(-378.50006f, 49.038586f, 468.65027f), 816) - { - StopDistance = 7f - }; - obj126.Steps = list182; - reference138 = obj126; - questRoot21.QuestSequence = list178; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(3321); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - CollectionsMarshal.AsSpan(list183)[0] = "liza"; - questRoot22.Author = list183; - num = 4; - List list184 = new List(num); - CollectionsMarshal.SetCount(list184, num); - Span span73 = CollectionsMarshal.AsSpan(list184); - ref QuestSequence reference139 = ref span73[0]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029584u, new Vector3(-373.55615f, 48.181767f, 474.32666f), 816) - { - StopDistance = 7f - }; - obj127.Steps = list185; - reference139 = obj127; - ref QuestSequence reference140 = ref span73[1]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.Interact, 1029595u, new Vector3(20.675903f, 0.0058916546f, 0.7171631f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium - }; - obj128.Steps = list186; - reference140 = obj128; - ref QuestSequence reference141 = ref span73[2]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.Interact, 1029595u, new Vector3(20.675903f, 0.0058916546f, 0.7171631f), 819) - { - StopDistance = 5f - }; - obj129.Steps = list187; - reference141 = obj129; - ref QuestSequence reference142 = ref span73[3]; - QuestSequence obj130 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - ref QuestStep reference143 = ref CollectionsMarshal.AsSpan(list188)[0]; - QuestStep obj131 = new QuestStep(EInteractionType.CompleteQuest, 1030610u, new Vector3(65.11023f, 1.7160122f, 249.7749f), 819) - { - StopDistance = 5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumDossalGate, - To = EAetheryteLocation.CrystariumPendants - } - }; - num3 = 1; - List list189 = new List(num3); - CollectionsMarshal.SetCount(list189, num3); - CollectionsMarshal.AsSpan(list189)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKMB120_03321_Q1_000_000") - }; - obj131.DialogueChoices = list189; - reference143 = obj131; - obj130.Steps = list188; - reference142 = obj130; - questRoot22.QuestSequence = list184; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(3322); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list190 = new List(num); - CollectionsMarshal.SetCount(list190, num); - CollectionsMarshal.AsSpan(list190)[0] = "liza"; - questRoot23.Author = list190; - num = 4; - List list191 = new List(num); - CollectionsMarshal.SetCount(list191, num); - Span span74 = CollectionsMarshal.AsSpan(list191); - ref QuestSequence reference144 = ref span74[0]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027231u, new Vector3(65.35437f, 1.7160122f, 249.83594f), 819) - { - StopDistance = 5f - }; - obj132.Steps = list192; - reference144 = obj132; - ref QuestSequence reference145 = ref span74[1]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.Interact, 1027230u, new Vector3(117.997925f, 14.649025f, 7.156433f), 819) - { - TargetTerritoryId = (ushort)844, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumPendants, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - obj133.Steps = list193; - reference145 = obj133; - ref QuestSequence reference146 = ref span74[2]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.Interact, 1030883u, new Vector3(-0.015319824f, 0f, 4.2877197f), 844) - { - StopDistance = 7f - }; - obj134.Steps = list194; - reference146 = obj134; - ref QuestSequence reference147 = ref span74[3]; - QuestSequence obj135 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029167u, new Vector3(751.46094f, 21.38111f, -2.7314453f), 813) - { - AetheryteShortcut = EAetheryteLocation.LakelandFortJobb - }; - obj135.Steps = list195; - reference147 = obj135; - questRoot23.QuestSequence = list191; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(3323); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list196 = new List(num); - CollectionsMarshal.SetCount(list196, num); - CollectionsMarshal.AsSpan(list196)[0] = "liza"; - questRoot24.Author = list196; - num = 4; - List list197 = new List(num); - CollectionsMarshal.SetCount(list197, num); - Span span75 = CollectionsMarshal.AsSpan(list197); - ref QuestSequence reference148 = ref span75[0]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - CollectionsMarshal.AsSpan(list198)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029167u, new Vector3(751.46094f, 21.38111f, -2.7314453f), 813) - { - AetheryteShortcut = EAetheryteLocation.LakelandFortJobb, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj136.Steps = list198; - reference148 = obj136; - ref QuestSequence reference149 = ref span75[1]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - Span span76 = CollectionsMarshal.AsSpan(list199); - span76[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(789.16504f, 21.14688f, -93.24946f), 813) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span76[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(731.32855f, 13.078317f, -147.50694f), 813) - { - DisableNavmesh = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span76[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(731.32855f, 13.078317f, -147.50694f), 813) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span76[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(730.8644f, -1.99367f, -104.45362f), 813); - span76[4] = new QuestStep(EInteractionType.Interact, 2009861u, new Vector3(725.39856f, -1.9990234f, -93.33948f), 813) - { - StopDistance = 0.5f, - DisableNavmesh = true - }; - obj137.Steps = list199; - reference149 = obj137; - ref QuestSequence reference150 = ref span75[2]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.Snipe, 2010512u, new Vector3(721.7975f, -1.9990234f, -92.97333f), 813) - { - Comment = "Tablet is on the right middle shelf of the table" - }; - obj138.Steps = list200; - reference150 = obj138; - ref QuestSequence reference151 = ref span75[3]; - QuestSequence obj139 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030889u, new Vector3(699.42773f, -1.7076154f, -94.529724f), 813); - obj139.Steps = list201; - reference151 = obj139; - questRoot24.QuestSequence = list197; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(3324); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list202 = new List(num); - CollectionsMarshal.SetCount(list202, num); - CollectionsMarshal.AsSpan(list202)[0] = "liza"; - questRoot25.Author = list202; - num = 8; - List list203 = new List(num); - CollectionsMarshal.SetCount(list203, num); - Span span77 = CollectionsMarshal.AsSpan(list203); - ref QuestSequence reference152 = ref span77[0]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030889u, new Vector3(699.42773f, -1.7076154f, -94.529724f), 813); - obj140.Steps = list204; - reference152 = obj140; - ref QuestSequence reference153 = ref span77[1]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - Span span78 = CollectionsMarshal.AsSpan(list205); - span78[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(695.94904f, 25.850925f, -269.87207f), 813) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span78[1] = new QuestStep(EInteractionType.Interact, 1028303u, new Vector3(872.7396f, 42.18195f, -281.26953f), 813) - { - Fly = true - }; - obj141.Steps = list205; - reference153 = obj141; - span77[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference154 = ref span77[3]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.Interact, 1029180u, new Vector3(-718.44055f, 9.072795f, 682.6123f), 817) - { - DisableNavmesh = true - }; - obj142.Steps = list206; - reference154 = obj142; - ref QuestSequence reference155 = ref span77[4]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - CollectionsMarshal.AsSpan(list207)[0] = new QuestStep(EInteractionType.Interact, 2009862u, new Vector3(-424.49078f, 1.6021729f, 594.5371f), 817); - obj143.Steps = list207; - reference155 = obj143; - ref QuestSequence reference156 = ref span77[5]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.Interact, 1029188u, new Vector3(-421.1643f, 1.6214006f, 594.72034f), 817) - { - StopDistance = 5f - }; - obj144.Steps = list208; - reference156 = obj144; - ref QuestSequence reference157 = ref span77[6]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 6 - }; - num2 = 8; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - Span span79 = CollectionsMarshal.AsSpan(list209); - span79[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-385.29327f, 1.622011f, 516.6794f), 817); - span79[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-390.73163f, 3.5300047f, 512.3785f), 817); - span79[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-384.37488f, 6.260351f, 512.5016f), 817); - span79[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-391.96292f, 6.3778677f, 509.45285f), 817); - span79[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-398.71173f, 6.5935116f, 505.39233f), 817) - { - DisableNavmesh = true - }; - span79[5] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010064u, new Vector3(-405.9548f, 7.1691f, 506.5442f), 817) - { - DisableNavmesh = true, - AetherCurrentId = 2818283u - }; - span79[6] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-405.7318f, 1.622011f, 512.249f), 817) - { - DisableNavmesh = true, - Mount = true - }; - span79[7] = new QuestStep(EInteractionType.Interact, 1029189u, new Vector3(-234.51593f, -3.1024718f, 332.02112f), 817); - obj145.Steps = list209; - reference157 = obj145; - ref QuestSequence reference158 = ref span77[7]; - QuestSequence obj146 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - CollectionsMarshal.AsSpan(list210)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029190u, new Vector3(-121.90442f, -18.975767f, 297.23047f), 817); - obj146.Steps = list210; - reference158 = obj146; - questRoot25.QuestSequence = list203; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(3325); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list211 = new List(num); - CollectionsMarshal.SetCount(list211, num); - CollectionsMarshal.AsSpan(list211)[0] = "liza"; - questRoot26.Author = list211; - num = 6; - List list212 = new List(num); - CollectionsMarshal.SetCount(list212, num); - Span span80 = CollectionsMarshal.AsSpan(list212); - ref QuestSequence reference159 = ref span80[0]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - ref QuestStep reference160 = ref CollectionsMarshal.AsSpan(list213)[0]; - QuestStep questStep13 = new QuestStep(EInteractionType.AcceptQuest, 1029194u, new Vector3(-37.216797f, -18.920458f, 336.62915f), 817); - num3 = 1; - List list214 = new List(num3); - CollectionsMarshal.SetCount(list214, num3); - CollectionsMarshal.AsSpan(list214)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMC104_03325_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKMC104_03325_A1_000_001") - }; - questStep13.DialogueChoices = list214; - reference160 = questStep13; - obj147.Steps = list213; - reference159 = obj147; - ref QuestSequence reference161 = ref span80[1]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.Interact, 1029197u, new Vector3(-87.87671f, -19.022131f, 298.20703f), 817); - obj148.Steps = list215; - reference161 = obj148; - ref QuestSequence reference162 = ref span80[2]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - Span span81 = CollectionsMarshal.AsSpan(list216); - span81[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 817) - { - Aetheryte = EAetheryteLocation.RaktikaSlitherbough - }; - span81[1] = new QuestStep(EInteractionType.Interact, 1029198u, new Vector3(-118.18121f, -19.713022f, 385.51917f), 817); - obj149.Steps = list216; - reference162 = obj149; - ref QuestSequence reference163 = ref span80[3]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.Emote, 1029198u, new Vector3(-118.18121f, -19.713022f, 385.51917f), 817) - { - Emote = EEmote.Kneel - }; - obj150.Steps = list217; - reference163 = obj150; - ref QuestSequence reference164 = ref span80[4]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - Span span82 = CollectionsMarshal.AsSpan(list218); - ref QuestStep reference165 = ref span82[0]; - QuestStep obj152 = new QuestStep(EInteractionType.Say, 1030382u, new Vector3(-113.11517f, -18.484627f, 324.20837f), 817) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_LUCKMC104_03325_SYSTEM_000_110" - } - }; - num3 = 6; - List list219 = new List(num3); - CollectionsMarshal.SetCount(list219, num3); - Span span83 = CollectionsMarshal.AsSpan(list219); - span83[0] = null; - span83[1] = null; - span83[2] = null; - span83[3] = null; - span83[4] = null; - span83[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj152.CompletionQuestVariablesFlags = list219; - reference165 = obj152; - ref QuestStep reference166 = ref span82[1]; - QuestStep obj153 = new QuestStep(EInteractionType.Say, 1027463u, new Vector3(-130.26636f, -18.486685f, 246.57043f), 817) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_LUCKMC104_03325_SYSTEM_000_110" - } - }; - num3 = 6; - List list220 = new List(num3); - CollectionsMarshal.SetCount(list220, num3); - Span span84 = CollectionsMarshal.AsSpan(list220); - span84[0] = null; - span84[1] = null; - span84[2] = null; - span84[3] = null; - span84[4] = null; - span84[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj153.CompletionQuestVariablesFlags = list220; - reference166 = obj153; - ref QuestStep reference167 = ref span82[2]; - QuestStep obj154 = new QuestStep(EInteractionType.Say, 1027750u, new Vector3(-24.734924f, -25.324257f, 305.5924f), 817) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_LUCKMC104_03325_SYSTEM_000_110" - } - }; - num3 = 6; - List list221 = new List(num3); - CollectionsMarshal.SetCount(list221, num3); - Span span85 = CollectionsMarshal.AsSpan(list221); - span85[0] = null; - span85[1] = null; - span85[2] = null; - span85[3] = null; - span85[4] = null; - span85[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj154.CompletionQuestVariablesFlags = list221; - reference167 = obj154; - obj151.Steps = list218; - reference164 = obj151; - ref QuestSequence reference168 = ref span80[5]; - QuestSequence obj155 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - CollectionsMarshal.AsSpan(list222)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029199u, new Vector3(-116.71625f, -19.706732f, 386.49573f), 817); - obj155.Steps = list222; - reference168 = obj155; - questRoot26.QuestSequence = list212; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(3326); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list223 = new List(num); - CollectionsMarshal.SetCount(list223, num); - CollectionsMarshal.AsSpan(list223)[0] = "liza"; - questRoot27.Author = list223; - num = 6; - List list224 = new List(num); - CollectionsMarshal.SetCount(list224, num); - Span span86 = CollectionsMarshal.AsSpan(list224); - ref QuestSequence reference169 = ref span86[0]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029198u, new Vector3(-118.18121f, -19.713022f, 385.51917f), 817) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj156.Steps = list225; - reference169 = obj156; - ref QuestSequence reference170 = ref span86[1]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - CollectionsMarshal.AsSpan(list226)[0] = new QuestStep(EInteractionType.Interact, 1029200u, new Vector3(-112.90161f, -19.59217f, 388.84558f), 817) - { - StopDistance = 7f - }; - obj157.Steps = list226; - reference170 = obj157; - ref QuestSequence reference171 = ref span86[2]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.Interact, 2009863u, new Vector3(-71.78751f, -19.33637f, 302.1084f), 817); - obj158.Steps = list227; - reference171 = obj158; - ref QuestSequence reference172 = ref span86[3]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.Interact, 1029200u, new Vector3(-112.90161f, -19.59217f, 388.84558f), 817) - { - StopDistance = 7f - }; - obj159.Steps = list228; - reference172 = obj159; - ref QuestSequence reference173 = ref span86[4]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.Interact, 2009864u, new Vector3(-71.03082f, -19.394226f, 293.47668f), 817); - obj160.Steps = list229; - reference173 = obj160; - ref QuestSequence reference174 = ref span86[5]; - QuestSequence obj161 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027741u, new Vector3(-80.338745f, -19.101032f, 299.82446f), 817); - obj161.Steps = list230; - reference174 = obj161; - questRoot27.QuestSequence = list224; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(3327); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list231 = new List(num); - CollectionsMarshal.SetCount(list231, num); - CollectionsMarshal.AsSpan(list231)[0] = "liza"; - questRoot28.Author = list231; - num = 7; - List list232 = new List(num); - CollectionsMarshal.SetCount(list232, num); - Span span87 = CollectionsMarshal.AsSpan(list232); - ref QuestSequence reference175 = ref span87[0]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - CollectionsMarshal.AsSpan(list233)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029197u, new Vector3(-87.87671f, -19.022131f, 298.20703f), 817); - obj162.Steps = list233; - reference175 = obj162; - ref QuestSequence reference176 = ref span87[1]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - Span span88 = CollectionsMarshal.AsSpan(list234); - span88[0] = new QuestStep(EInteractionType.AcceptQuest, 1029023u, new Vector3(-131.36493f, -16.477911f, 316.3042f), 817) - { - PickUpQuestId = new QuestId(3444) - }; - span88[1] = new QuestStep(EInteractionType.Interact, 2009866u, new Vector3(-260.73096f, 13.656799f, 554.68054f), 817); - obj163.Steps = list234; - reference176 = obj163; - ref QuestSequence reference177 = ref span87[2]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - ref QuestStep reference178 = ref CollectionsMarshal.AsSpan(list235)[0]; - QuestStep obj165 = new QuestStep(EInteractionType.Combat, null, new Vector3(-284.9141f, 8.7010765f, 603.8272f), 817) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list236 = new List(num3); - CollectionsMarshal.SetCount(list236, num3); - CollectionsMarshal.AsSpan(list236)[0] = 10878u; - obj165.KillEnemyDataIds = list236; - reference178 = obj165; - obj164.Steps = list235; - reference177 = obj164; - ref QuestSequence reference179 = ref span87[3]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - CollectionsMarshal.AsSpan(list237)[0] = new QuestStep(EInteractionType.Interact, 1029206u, new Vector3(-243.18304f, 13.323829f, 778.9883f), 817); - obj166.Steps = list237; - reference179 = obj166; - ref QuestSequence reference180 = ref span87[4]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.Interact, 2009869u, new Vector3(-309.3156f, 7.095398f, 702.2355f), 817); - obj167.Steps = list238; - reference180 = obj167; - ref QuestSequence reference181 = ref span87[5]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - CollectionsMarshal.AsSpan(list239)[0] = new QuestStep(EInteractionType.Interact, 1029207u, new Vector3(-213.61108f, 10.207863f, 712.6116f), 817); - obj168.Steps = list239; - reference181 = obj168; - ref QuestSequence reference182 = ref span87[6]; - QuestSequence obj169 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029197u, new Vector3(-87.87671f, -19.022131f, 298.20703f), 817) - { - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - obj169.Steps = list240; - reference182 = obj169; - questRoot28.QuestSequence = list232; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(3328); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list241 = new List(num); - CollectionsMarshal.SetCount(list241, num); - CollectionsMarshal.AsSpan(list241)[0] = "liza"; - questRoot29.Author = list241; - num = 6; - List list242 = new List(num); - CollectionsMarshal.SetCount(list242, num); - Span span89 = CollectionsMarshal.AsSpan(list242); - ref QuestSequence reference183 = ref span89[0]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029197u, new Vector3(-87.87671f, -19.022131f, 298.20703f), 817); - obj170.Steps = list243; - reference183 = obj170; - ref QuestSequence reference184 = ref span89[1]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.Interact, 1029209u, new Vector3(-92.484924f, -19.11198f, 307.1183f), 817); - obj171.Steps = list244; - reference184 = obj171; - ref QuestSequence reference185 = ref span89[2]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.Interact, 1028989u, new Vector3(-77.86682f, -28.632244f, 423.6056f), 817); - obj172.Steps = list245; - reference185 = obj172; - ref QuestSequence reference186 = ref span89[3]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - CollectionsMarshal.AsSpan(list246)[0] = new QuestStep(EInteractionType.UseItem, 2009871u, new Vector3(-89.49426f, -28.641174f, 416.06763f), 817) - { - ItemId = 2002546u - }; - obj173.Steps = list246; - reference186 = obj173; - ref QuestSequence reference187 = ref span89[4]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.Interact, 2009872u, new Vector3(-69.65747f, -28.641174f, 409.4757f), 817); - obj174.Steps = list247; - reference187 = obj174; - ref QuestSequence reference188 = ref span89[5]; - QuestSequence obj175 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029194u, new Vector3(-37.216797f, -18.920458f, 336.62915f), 817) - { - StopDistance = 5f - }; - obj175.Steps = list248; - reference188 = obj175; - questRoot29.QuestSequence = list242; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(3329); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list249 = new List(num); - CollectionsMarshal.SetCount(list249, num); - CollectionsMarshal.AsSpan(list249)[0] = "liza"; - questRoot30.Author = list249; - num = 10; - List list250 = new List(num); - CollectionsMarshal.SetCount(list250, num); - Span span90 = CollectionsMarshal.AsSpan(list250); - ref QuestSequence reference189 = ref span90[0]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029194u, new Vector3(-37.216797f, -18.920458f, 336.62915f), 817) - { - StopDistance = 5f - }; - obj176.Steps = list251; - reference189 = obj176; - ref QuestSequence reference190 = ref span90[1]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - CollectionsMarshal.AsSpan(list252)[0] = new QuestStep(EInteractionType.Interact, 1029212u, new Vector3(-313.5882f, 5.156485f, 285.60303f), 817); - obj177.Steps = list252; - reference190 = obj177; - ref QuestSequence reference191 = ref span90[2]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - Span span91 = CollectionsMarshal.AsSpan(list253); - span91[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-138.85619f, -3.036951f, 54.482983f), 817); - span91[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010066u, new Vector3(-141.58856f, -0.9003296f, 49.759644f), 817) - { - DisableNavmesh = true, - AetherCurrentId = 2818285u - }; - ref QuestStep reference192 = ref span91[2]; - QuestStep obj179 = new QuestStep(EInteractionType.Combat, 1029214u, new Vector3(-157.64093f, 7.3982058f, -13.351685f), 817) - { - StopDistance = 2f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list254 = new List(num3); - CollectionsMarshal.SetCount(list254, num3); - CollectionsMarshal.AsSpan(list254)[0] = 10879u; - obj179.KillEnemyDataIds = list254; - reference192 = obj179; - obj178.Steps = list253; - reference191 = obj178; - ref QuestSequence reference193 = ref span90[3]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - CollectionsMarshal.AsSpan(list255)[0] = new QuestStep(EInteractionType.Interact, 1029214u, new Vector3(-157.64093f, 7.3982058f, -13.351685f), 817); - obj180.Steps = list255; - reference193 = obj180; - ref QuestSequence reference194 = ref span90[4]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.Interact, 2009874u, new Vector3(-231.8609f, 21.713562f, -49.302002f), 817); - obj181.Steps = list256; - reference194 = obj181; - ref QuestSequence reference195 = ref span90[5]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - ref QuestStep reference196 = ref CollectionsMarshal.AsSpan(list257)[0]; - QuestStep obj183 = new QuestStep(EInteractionType.Combat, 2009875u, new Vector3(-292.2561f, 23.5141f, -182.75739f), 817) - { - ItemId = 2002547u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list258 = new List(num3); - CollectionsMarshal.SetCount(list258, num3); - CollectionsMarshal.AsSpan(list258)[0] = 10880u; - obj183.KillEnemyDataIds = list258; - reference196 = obj183; - obj182.Steps = list257; - reference195 = obj182; - ref QuestSequence reference197 = ref span90[6]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - CollectionsMarshal.AsSpan(list259)[0] = new QuestStep(EInteractionType.UseItem, 2010501u, new Vector3(-292.28656f, 23.483582f, -182.78784f), 817) - { - ItemId = 2002548u - }; - obj184.Steps = list259; - reference197 = obj184; - ref QuestSequence reference198 = ref span90[7]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - ref QuestStep reference199 = ref CollectionsMarshal.AsSpan(list260)[0]; - QuestStep obj186 = new QuestStep(EInteractionType.Combat, 2009876u, new Vector3(-190.44794f, 3.036438f, 2.5787354f), 817) - { - ItemId = 2002547u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list261 = new List(num3); - CollectionsMarshal.SetCount(list261, num3); - CollectionsMarshal.AsSpan(list261)[0] = 10881u; - obj186.KillEnemyDataIds = list261; - reference199 = obj186; - obj185.Steps = list260; - reference198 = obj185; - ref QuestSequence reference200 = ref span90[8]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - CollectionsMarshal.AsSpan(list262)[0] = new QuestStep(EInteractionType.UseItem, 2010502u, new Vector3(-190.44794f, 3.036438f, 2.5787354f), 817) - { - ItemId = 2002548u - }; - obj187.Steps = list262; - reference200 = obj187; - ref QuestSequence reference201 = ref span90[9]; - QuestSequence obj188 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - CollectionsMarshal.AsSpan(list263)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029216u, new Vector3(-235.09583f, 19.22425f, -70.72565f), 817); - obj188.Steps = list263; - reference201 = obj188; - questRoot30.QuestSequence = list250; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(3330); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list264 = new List(num); - CollectionsMarshal.SetCount(list264, num); - CollectionsMarshal.AsSpan(list264)[0] = "liza"; - questRoot31.Author = list264; - num = 6; - List list265 = new List(num); - CollectionsMarshal.SetCount(list265, num); - Span span92 = CollectionsMarshal.AsSpan(list265); - ref QuestSequence reference202 = ref span92[0]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - CollectionsMarshal.AsSpan(list266)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029216u, new Vector3(-235.09583f, 19.22425f, -70.72565f), 817); - obj189.Steps = list266; - reference202 = obj189; - ref QuestSequence reference203 = ref span92[1]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - CollectionsMarshal.AsSpan(list267)[0] = new QuestStep(EInteractionType.Interact, 1029218u, new Vector3(-704.43274f, 14.656629f, -45.5177f), 817); - obj190.Steps = list267; - reference203 = obj190; - ref QuestSequence reference204 = ref span92[2]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - Span span93 = CollectionsMarshal.AsSpan(list268); - span93[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-761.0279f, 36.49958f, -337.04126f), 817) - { - Comment = "Moves out of aggro range of the door guard" - }; - span93[1] = new QuestStep(EInteractionType.Interact, 1029764u, new Vector3(-763.79034f, 36.49958f, -332.29572f), 817) - { - StopDistance = 7f - }; - obj191.Steps = list268; - reference204 = obj191; - ref QuestSequence reference205 = ref span92[3]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - CollectionsMarshal.AsSpan(list269)[0] = new QuestStep(EInteractionType.Interact, 1029220u, new Vector3(-801.4496f, 40.021206f, -393.6065f), 817); - obj192.Steps = list269; - reference205 = obj192; - ref QuestSequence reference206 = ref span92[4]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - CollectionsMarshal.AsSpan(list270)[0] = new QuestStep(EInteractionType.Snipe, 2009877u, new Vector3(-820.6455f, 38.376343f, -359.4873f), 817) - { - Comment = "Click murals" - }; - obj193.Steps = list270; - reference206 = obj193; - ref QuestSequence reference207 = ref span92[5]; - QuestSequence obj194 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - CollectionsMarshal.AsSpan(list271)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029221u, new Vector3(-523.09454f, 2.9589303f, -35.629883f), 817) - { - StopDistance = 7f - }; - obj194.Steps = list271; - reference207 = obj194; - questRoot31.QuestSequence = list265; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(3331); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list272 = new List(num); - CollectionsMarshal.SetCount(list272, num); - CollectionsMarshal.AsSpan(list272)[0] = "liza"; - questRoot32.Author = list272; - num = 4; - List list273 = new List(num); - CollectionsMarshal.SetCount(list273, num); - Span span94 = CollectionsMarshal.AsSpan(list273); - ref QuestSequence reference208 = ref span94[0]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - CollectionsMarshal.AsSpan(list274)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029221u, new Vector3(-523.09454f, 2.9589303f, -35.629883f), 817) - { - StopDistance = 7f - }; - obj195.Steps = list274; - reference208 = obj195; - ref QuestSequence reference209 = ref span94[1]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.Interact, 1029197u, new Vector3(-87.87671f, -19.022131f, 298.20703f), 817) - { - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - obj196.Steps = list275; - reference209 = obj196; - ref QuestSequence reference210 = ref span94[2]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - Span span95 = CollectionsMarshal.AsSpan(list276); - span95[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-83.65787f, -19.038322f, 309.5947f), 817); - span95[1] = new QuestStep(EInteractionType.Interact, 2009878u, new Vector3(-78.90448f, -19.272217f, 312.4895f), 817); - obj197.Steps = list276; - reference210 = obj197; - ref QuestSequence reference211 = ref span94[3]; - QuestSequence obj198 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - CollectionsMarshal.AsSpan(list277)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029195u, new Vector3(-35.751892f, -18.919392f, 335.71375f), 817) - { - StopDistance = 5f - }; - obj198.Steps = list277; - reference211 = obj198; - questRoot32.QuestSequence = list273; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(3332); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list278 = new List(num); - CollectionsMarshal.SetCount(list278, num); - CollectionsMarshal.AsSpan(list278)[0] = "liza"; - questRoot33.Author = list278; - num = 7; - List list279 = new List(num); - CollectionsMarshal.SetCount(list279, num); - Span span96 = CollectionsMarshal.AsSpan(list279); - ref QuestSequence reference212 = ref span96[0]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - CollectionsMarshal.AsSpan(list280)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029195u, new Vector3(-35.751892f, -18.919392f, 335.71375f), 817) - { - StopDistance = 5f - }; - obj199.Steps = list280; - reference212 = obj199; - ref QuestSequence reference213 = ref span96[1]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - Span span97 = CollectionsMarshal.AsSpan(list281); - span97[0] = new QuestStep(EInteractionType.AcceptQuest, 1030747u, new Vector3(-81.28485f, -19.061882f, 307.20984f), 817) - { - PickUpQuestId = new QuestId(3656) - }; - span97[1] = new QuestStep(EInteractionType.Interact, 1029223u, new Vector3(-470.96973f, 2.3035004f, 301.4724f), 817); - obj200.Steps = list281; - reference213 = obj200; - ref QuestSequence reference214 = ref span96[2]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - Span span98 = CollectionsMarshal.AsSpan(list282); - span98[0] = new QuestStep(EInteractionType.Dive, null, new Vector3(-528.96277f, -0.6f, 341.0297f), 817); - ref QuestStep reference215 = ref span98[1]; - QuestStep obj202 = new QuestStep(EInteractionType.Interact, 2009879u, new Vector3(-591.97375f, -90.56238f, 291.6151f), 817) - { - Fly = true - }; - num3 = 1; - List list283 = new List(num3); - CollectionsMarshal.SetCount(list283, num3); - CollectionsMarshal.AsSpan(list283)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKMC111_03332_Q2_000_071") - }; - obj202.DialogueChoices = list283; - reference215 = obj202; - obj201.Steps = list282; - reference214 = obj201; - ref QuestSequence reference216 = ref span96[3]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - ref QuestStep reference217 = ref CollectionsMarshal.AsSpan(list284)[0]; - QuestStep obj204 = new QuestStep(EInteractionType.Interact, 2009880u, new Vector3(-670.25256f, -90.68439f, 449.94275f), 817) - { - Fly = true - }; - num3 = 1; - List list285 = new List(num3); - CollectionsMarshal.SetCount(list285, num3); - CollectionsMarshal.AsSpan(list285)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKMC111_03332_Q3_000_081") - }; - obj204.DialogueChoices = list285; - reference217 = obj204; - obj203.Steps = list284; - reference216 = obj203; - ref QuestSequence reference218 = ref span96[4]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - ref QuestStep reference219 = ref CollectionsMarshal.AsSpan(list286)[0]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 2009882u, new Vector3(-880.15564f, -90.68439f, 289.99768f), 817); - num3 = 1; - List list287 = new List(num3); - CollectionsMarshal.SetCount(list287, num3); - CollectionsMarshal.AsSpan(list287)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKMC111_03332_Q5_000_091") - }; - questStep14.DialogueChoices = list287; - reference219 = questStep14; - obj205.Steps = list286; - reference218 = obj205; - ref QuestSequence reference220 = ref span96[5]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - Span span99 = CollectionsMarshal.AsSpan(list288); - span99[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-591.7246f, -92.929955f, 279.56708f), 817) - { - Fly = true - }; - span99[1] = new QuestStep(EInteractionType.Interact, 2009884u, new Vector3(-593.164f, -95.23157f, 256.0005f), 817) - { - DisableNavmesh = true, - Fly = true - }; - obj206.Steps = list288; - reference220 = obj206; - ref QuestSequence reference221 = ref span96[6]; - QuestSequence obj207 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - Span span100 = CollectionsMarshal.AsSpan(list289); - span100[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-591.7246f, -92.929955f, 279.56708f), 817) - { - DisableNavmesh = true, - Mount = true, - Fly = true - }; - span100[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-594.93475f, -77.64466f, 341.04385f), 817) - { - Fly = true - }; - span100[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-537.1801f, -0.6f, 340.31f), 817) - { - DisableNavmesh = true, - RestartNavigationIfCancelled = false - }; - span100[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-509.11002f, -0.3000083f, 324.28143f), 817) - { - DisableNavmesh = true - }; - span100[4] = new QuestStep(EInteractionType.CompleteQuest, 1029223u, new Vector3(-470.96973f, 2.3035004f, 301.4724f), 817); - obj207.Steps = list289; - reference221 = obj207; - questRoot33.QuestSequence = list279; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(3333); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list290 = new List(num); - CollectionsMarshal.SetCount(list290, num); - CollectionsMarshal.AsSpan(list290)[0] = "liza"; - questRoot34.Author = list290; - num = 4; - List list291 = new List(num); - CollectionsMarshal.SetCount(list291, num); - Span span101 = CollectionsMarshal.AsSpan(list291); - ref QuestSequence reference222 = ref span101[0]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - CollectionsMarshal.AsSpan(list292)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029223u, new Vector3(-470.96973f, 2.3035004f, 301.4724f), 817); - obj208.Steps = list292; - reference222 = obj208; - ref QuestSequence reference223 = ref span101[1]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - CollectionsMarshal.AsSpan(list293)[0] = new QuestStep(EInteractionType.Interact, 1029224u, new Vector3(-7.4921875f, 0.74753714f, 205.40161f), 817) - { - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - obj209.Steps = list293; - reference223 = obj209; - ref QuestSequence reference224 = ref span101[2]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - Span span102 = CollectionsMarshal.AsSpan(list294); - span102[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(66.71601f, 0.675326f, 231.57246f), 817) - { - DisableNavmesh = true, - Mount = true - }; - span102[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(252.46225f, -0.91537976f, 257.19345f), 817); - span102[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(334.33804f, 23.86952f, 271.9542f), 817) - { - DisableNavmesh = true - }; - span102[3] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010069u, new Vector3(338.6129f, 24.12439f, 203.17383f), 817) - { - AetherCurrentId = 2818288u - }; - span102[4] = new QuestStep(EInteractionType.Interact, 2009886u, new Vector3(288.19702f, -0.10687256f, 221.66772f), 817) - { - DisableNavmesh = true, - Mount = true - }; - obj210.Steps = list294; - reference224 = obj210; - ref QuestSequence reference225 = ref span101[3]; - QuestSequence obj211 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - Span span103 = CollectionsMarshal.AsSpan(list295); - span103[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(434.4612f, 4.434532f, -7.1864815f), 817); - span103[1] = new QuestStep(EInteractionType.CompleteQuest, 1029228u, new Vector3(454.88672f, 18.97871f, -57.14508f), 817); - obj211.Steps = list295; - reference225 = obj211; - questRoot34.QuestSequence = list291; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(3334); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list296 = new List(num); - CollectionsMarshal.SetCount(list296, num); - CollectionsMarshal.AsSpan(list296)[0] = "liza"; - questRoot35.Author = list296; - num = 4; - List list297 = new List(num); - CollectionsMarshal.SetCount(list297, num); - Span span104 = CollectionsMarshal.AsSpan(list297); - ref QuestSequence reference226 = ref span104[0]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - CollectionsMarshal.AsSpan(list298)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030374u, new Vector3(452.93335f, 18.97871f, -56.961975f), 817) - { - StopDistance = 5f - }; - obj212.Steps = list298; - reference226 = obj212; - ref QuestSequence reference227 = ref span104[1]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - CollectionsMarshal.AsSpan(list299)[0] = new QuestStep(EInteractionType.Interact, 1029231u, new Vector3(453.05554f, 33.66181f, -156.9696f), 817); - obj213.Steps = list299; - reference227 = obj213; - ref QuestSequence reference228 = ref span104[2]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - Span span105 = CollectionsMarshal.AsSpan(list300); - ref QuestStep reference229 = ref span105[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1027711u, new Vector3(429.86182f, 34.051743f, -114.85474f), 817); - num3 = 6; - List list301 = new List(num3); - CollectionsMarshal.SetCount(list301, num3); - Span span106 = CollectionsMarshal.AsSpan(list301); - span106[0] = null; - span106[1] = null; - span106[2] = null; - span106[3] = null; - span106[4] = null; - span106[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list301; - reference229 = questStep15; - ref QuestStep reference230 = ref span105[1]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1027717u, new Vector3(334.18774f, 7.960762f, -141.46643f), 817); - num3 = 6; - List list302 = new List(num3); - CollectionsMarshal.SetCount(list302, num3); - Span span107 = CollectionsMarshal.AsSpan(list302); - span107[0] = null; - span107[1] = null; - span107[2] = null; - span107[3] = null; - span107[4] = null; - span107[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list302; - reference230 = questStep16; - span105[2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 817) - { - Aetheryte = EAetheryteLocation.RaktikaFanow - }; - ref QuestStep reference231 = ref span105[3]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1027719u, new Vector3(303.5172f, 34.242825f, -146.65448f), 817); - num3 = 6; - List list303 = new List(num3); - CollectionsMarshal.SetCount(list303, num3); - Span span108 = CollectionsMarshal.AsSpan(list303); - span108[0] = null; - span108[1] = null; - span108[2] = null; - span108[3] = null; - span108[4] = null; - span108[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list303; - reference231 = questStep17; - ref QuestStep reference232 = ref span105[4]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1027712u, new Vector3(454.1847f, 6.955061f, -193.07245f), 817); - num3 = 6; - List list304 = new List(num3); - CollectionsMarshal.SetCount(list304, num3); - Span span109 = CollectionsMarshal.AsSpan(list304); - span109[0] = null; - span109[1] = null; - span109[2] = null; - span109[3] = null; - span109[4] = null; - span109[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list304; - reference232 = questStep18; - obj214.Steps = list300; - reference228 = obj214; - ref QuestSequence reference233 = ref span104[3]; - QuestSequence obj215 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - CollectionsMarshal.AsSpan(list305)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029231u, new Vector3(453.05554f, 33.66181f, -156.9696f), 817); - obj215.Steps = list305; - reference233 = obj215; - questRoot35.QuestSequence = list297; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(3335); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list306 = new List(num); - CollectionsMarshal.SetCount(list306, num); - CollectionsMarshal.AsSpan(list306)[0] = "liza"; - questRoot36.Author = list306; - num = 7; - List list307 = new List(num); - CollectionsMarshal.SetCount(list307, num); - Span span110 = CollectionsMarshal.AsSpan(list307); - ref QuestSequence reference234 = ref span110[0]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - CollectionsMarshal.AsSpan(list308)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029231u, new Vector3(453.05554f, 33.66181f, -156.9696f), 817); - obj216.Steps = list308; - reference234 = obj216; - ref QuestSequence reference235 = ref span110[1]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - Span span111 = CollectionsMarshal.AsSpan(list309); - span111[0] = new QuestStep(EInteractionType.AcceptQuest, 1027736u, new Vector3(396.38354f, 20.422523f, -179.12573f), 817) - { - PickUpQuestId = new QuestId(3467) - }; - span111[1] = new QuestStep(EInteractionType.Interact, 1029238u, new Vector3(206.56128f, -6.300962f, -352.4682f), 817); - obj217.Steps = list309; - reference235 = obj217; - ref QuestSequence reference236 = ref span110[2]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - Span span112 = CollectionsMarshal.AsSpan(list310); - span112[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(188.16484f, -19.576328f, -435.14563f), 817); - span112[1] = new QuestStep(EInteractionType.Interact, 1030944u, new Vector3(169.604f, -19.98162f, -455.5276f), 817); - obj218.Steps = list310; - reference236 = obj218; - ref QuestSequence reference237 = ref span110[3]; - QuestSequence obj219 = new QuestSequence - { - Sequence = 3 - }; - num2 = 9; - List list311 = new List(num2); - CollectionsMarshal.SetCount(list311, num2); - Span span113 = CollectionsMarshal.AsSpan(list311); - ref QuestStep reference238 = ref span113[0]; - QuestStep obj220 = new QuestStep(EInteractionType.Jump, null, new Vector3(194.89655f, -18.734356f, -426.63055f), 817) - { - StopDistance = 0.25f, - Comment = "Southeast", - JumpDestination = new JumpDestination - { - Position = new Vector3(215.55302f, 8.500989f, -426.5461f), - StopDistance = 2f, - DelaySeconds = 0.2f, - Type = EJumpType.RepeatedJumps - } - }; - SkipConditions skipConditions12 = new SkipConditions(); - SkipStepConditions skipStepConditions12 = new SkipStepConditions(); - num3 = 6; - List list312 = new List(num3); - CollectionsMarshal.SetCount(list312, num3); - Span span114 = CollectionsMarshal.AsSpan(list312); - span114[0] = null; - span114[1] = null; - span114[2] = null; - span114[3] = null; - span114[4] = null; - span114[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions12.CompletionQuestVariablesFlags = list312; - skipConditions12.StepIf = skipStepConditions12; - obj220.SkipConditions = skipConditions12; - reference238 = obj220; - ref QuestStep reference239 = ref span113[1]; - QuestStep obj221 = new QuestStep(EInteractionType.UseItem, 2009890u, new Vector3(218.46338f, 10.574402f, -425.25372f), 817) - { - ItemId = 2002552u - }; - num3 = 6; - List list313 = new List(num3); - CollectionsMarshal.SetCount(list313, num3); - Span span115 = CollectionsMarshal.AsSpan(list313); - span115[0] = null; - span115[1] = null; - span115[2] = null; - span115[3] = null; - span115[4] = null; - span115[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj221.CompletionQuestVariablesFlags = list313; - reference239 = obj221; - ref QuestStep reference240 = ref span113[2]; - QuestStep obj222 = new QuestStep(EInteractionType.Jump, null, new Vector3(149.22699f, -19.278904f, -427.7278f), 817) - { - StopDistance = 0.25f, - DisableNavmesh = true, - Comment = "Southwest", - JumpDestination = new JumpDestination - { - Position = new Vector3(126.889496f, 8.974887f, -428.30518f), - StopDistance = 2f, - DelaySeconds = 0.2f, - Type = EJumpType.RepeatedJumps - } - }; - SkipConditions skipConditions13 = new SkipConditions(); - SkipStepConditions skipStepConditions13 = new SkipStepConditions(); - num3 = 6; - List list314 = new List(num3); - CollectionsMarshal.SetCount(list314, num3); - Span span116 = CollectionsMarshal.AsSpan(list314); - span116[0] = null; - span116[1] = null; - span116[2] = null; - span116[3] = null; - span116[4] = null; - span116[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions13.CompletionQuestVariablesFlags = list314; - skipConditions13.StepIf = skipStepConditions13; - obj222.SkipConditions = skipConditions13; - reference240 = obj222; - ref QuestStep reference241 = ref span113[3]; - QuestStep obj223 = new QuestStep(EInteractionType.UseItem, 2009887u, new Vector3(124.37622f, 10.879639f, -429.43463f), 817) - { - ItemId = 2002552u - }; - num3 = 6; - List list315 = new List(num3); - CollectionsMarshal.SetCount(list315, num3); - Span span117 = CollectionsMarshal.AsSpan(list315); - span117[0] = null; - span117[1] = null; - span117[2] = null; - span117[3] = null; - span117[4] = null; - span117[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj223.CompletionQuestVariablesFlags = list315; - reference241 = obj223; - ref QuestStep reference242 = ref span113[4]; - QuestStep obj224 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(154.42946f, -19.372574f, -430.77545f), 817) - { - DisableNavmesh = true, - Mount = true - }; - SkipConditions skipConditions14 = new SkipConditions(); - SkipStepConditions skipStepConditions14 = new SkipStepConditions(); - num3 = 6; - List list316 = new List(num3); - CollectionsMarshal.SetCount(list316, num3); - Span span118 = CollectionsMarshal.AsSpan(list316); - span118[0] = null; - span118[1] = null; - span118[2] = null; - span118[3] = null; - span118[4] = null; - span118[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions14.CompletionQuestVariablesFlags = list316; - skipConditions14.StepIf = skipStepConditions14; - obj224.SkipConditions = skipConditions14; - reference242 = obj224; - ref QuestStep reference243 = ref span113[5]; - QuestStep obj225 = new QuestStep(EInteractionType.Jump, null, new Vector3(145.00993f, -20f, -509.06528f), 817) - { - StopDistance = 0.25f, - Comment = "Northwest", - JumpDestination = new JumpDestination - { - Position = new Vector3(123.35363f, 8.441412f, -509.28867f), - StopDistance = 2f, - DelaySeconds = 0.2f, - Type = EJumpType.RepeatedJumps - } - }; - SkipConditions skipConditions15 = new SkipConditions(); - SkipStepConditions skipStepConditions15 = new SkipStepConditions(); - num3 = 6; - List list317 = new List(num3); - CollectionsMarshal.SetCount(list317, num3); - Span span119 = CollectionsMarshal.AsSpan(list317); - span119[0] = null; - span119[1] = null; - span119[2] = null; - span119[3] = null; - span119[4] = null; - span119[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions15.CompletionQuestVariablesFlags = list317; - skipConditions15.StepIf = skipStepConditions15; - obj225.SkipConditions = skipConditions15; - reference243 = obj225; - ref QuestStep reference244 = ref span113[6]; - QuestStep obj226 = new QuestStep(EInteractionType.UseItem, 2009888u, new Vector3(119.920654f, 10.696533f, -510.52112f), 817) - { - ItemId = 2002552u - }; - num3 = 6; - List list318 = new List(num3); - CollectionsMarshal.SetCount(list318, num3); - Span span120 = CollectionsMarshal.AsSpan(list318); - span120[0] = null; - span120[1] = null; - span120[2] = null; - span120[3] = null; - span120[4] = null; - span120[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj226.CompletionQuestVariablesFlags = list318; - reference244 = obj226; - ref QuestStep reference245 = ref span113[7]; - QuestStep obj227 = new QuestStep(EInteractionType.Jump, null, new Vector3(195.20181f, -19.677738f, -516.0344f), 817) - { - StopDistance = 0.25f, - DisableNavmesh = true, - Comment = "Northwest", - JumpDestination = new JumpDestination - { - Position = new Vector3(215.5381f, 6.683917f, -515.7127f), - StopDistance = 2f, - DelaySeconds = 0.2f, - Type = EJumpType.RepeatedJumps - } - }; - SkipConditions skipConditions16 = new SkipConditions(); - SkipStepConditions skipStepConditions16 = new SkipStepConditions(); - num3 = 6; - List list319 = new List(num3); - CollectionsMarshal.SetCount(list319, num3); - Span span121 = CollectionsMarshal.AsSpan(list319); - span121[0] = null; - span121[1] = null; - span121[2] = null; - span121[3] = null; - span121[4] = null; - span121[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions16.CompletionQuestVariablesFlags = list319; - skipConditions16.StepIf = skipStepConditions16; - obj227.SkipConditions = skipConditions16; - reference245 = obj227; - ref QuestStep reference246 = ref span113[8]; - QuestStep obj228 = new QuestStep(EInteractionType.UseItem, 2009889u, new Vector3(218.92114f, 8.957031f, -514.45795f), 817) - { - ItemId = 2002552u - }; - num3 = 6; - List list320 = new List(num3); - CollectionsMarshal.SetCount(list320, num3); - Span span122 = CollectionsMarshal.AsSpan(list320); - span122[0] = null; - span122[1] = null; - span122[2] = null; - span122[3] = null; - span122[4] = null; - span122[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj228.CompletionQuestVariablesFlags = list320; - reference246 = obj228; - obj219.Steps = list311; - reference237 = obj219; - ref QuestSequence reference247 = ref span110[4]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list321 = new List(num2); - CollectionsMarshal.SetCount(list321, num2); - Span span123 = CollectionsMarshal.AsSpan(list321); - span123[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(192.24295f, -19.743376f, -515.7917f), 817) - { - DisableNavmesh = true, - Mount = true - }; - span123[1] = new QuestStep(EInteractionType.Interact, 1029241u, new Vector3(177.203f, -19.544508f, -533.53174f), 817); - obj229.Steps = list321; - reference247 = obj229; - ref QuestSequence reference248 = ref span110[5]; - QuestSequence obj230 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list322 = new List(num2); - CollectionsMarshal.SetCount(list322, num2); - ref QuestStep reference249 = ref CollectionsMarshal.AsSpan(list322)[0]; - QuestStep obj231 = new QuestStep(EInteractionType.Interact, 1030946u, new Vector3(175.37183f, -19.521969f, -536.0647f), 817) - { - StopDistance = 7f - }; - num3 = 2; - List list323 = new List(num3); - CollectionsMarshal.SetCount(list323, num3); - Span span124 = CollectionsMarshal.AsSpan(list323); - span124[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKMC114_03335_Q1_000_000") - }; - span124[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMC114_03335_Q2_000_000"), - Answer = new ExcelRef("TEXT_LUCKMC114_03335_A2_000_004") - }; - obj231.DialogueChoices = list323; - reference249 = obj231; - obj230.Steps = list322; - reference248 = obj230; - ref QuestSequence reference250 = ref span110[6]; - QuestSequence obj232 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list324 = new List(num2); - CollectionsMarshal.SetCount(list324, num2); - CollectionsMarshal.AsSpan(list324)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029240u, new Vector3(173.2356f, -19.585392f, -536.82764f), 817); - obj232.Steps = list324; - reference250 = obj232; - questRoot36.QuestSequence = list307; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(3336); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list325 = new List(num); - CollectionsMarshal.SetCount(list325, num); - CollectionsMarshal.AsSpan(list325)[0] = "liza"; - questRoot37.Author = list325; - num = 5; - List list326 = new List(num); - CollectionsMarshal.SetCount(list326, num); - Span span125 = CollectionsMarshal.AsSpan(list326); - ref QuestSequence reference251 = ref span125[0]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list327 = new List(num2); - CollectionsMarshal.SetCount(list327, num2); - CollectionsMarshal.AsSpan(list327)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029240u, new Vector3(173.2356f, -19.585392f, -536.82764f), 817); - obj233.Steps = list327; - reference251 = obj233; - ref QuestSequence reference252 = ref span125[1]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - Span span126 = CollectionsMarshal.AsSpan(list328); - span126[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(104.577484f, -18.78201f, -710.81934f), 817); - span126[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(72.32005f, -11.506357f, -869.2572f), 817); - span126[2] = new QuestStep(EInteractionType.Interact, 1029242u, new Vector3(122.697754f, -8.781986f, -891.4168f), 817); - obj234.Steps = list328; - reference252 = obj234; - ref QuestSequence reference253 = ref span125[2]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list329 = new List(num2); - CollectionsMarshal.SetCount(list329, num2); - Span span127 = CollectionsMarshal.AsSpan(list329); - span127[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(175.20982f, -4.4171376f, -842.7409f), 817); - span127[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(176.5321f, 11.218012f, -713.26447f), 817) - { - DisableNavmesh = true - }; - span127[2] = new QuestStep(EInteractionType.Interact, 2010218u, new Vector3(220.17236f, 12.436096f, -711.9707f), 817) - { - DisableNavmesh = true - }; - obj235.Steps = list329; - reference253 = obj235; - ref QuestSequence reference254 = ref span125[3]; - QuestSequence obj236 = new QuestSequence - { - Sequence = 3 - }; - num2 = 11; - List list330 = new List(num2); - CollectionsMarshal.SetCount(list330, num2); - Span span128 = CollectionsMarshal.AsSpan(list330); - span128[0] = new QuestStep(EInteractionType.Interact, 2010218u, new Vector3(220.17236f, 12.436096f, -711.9707f), 817) - { - Comment = "Retry point", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span128[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(179.29196f, 11.218012f, -716.2551f), 817); - span128[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(178.56311f, 1.2180231f, -760.07153f), 817) - { - DisableNavmesh = true - }; - span128[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(190.72441f, 1.2180231f, -774.9509f), 817); - span128[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(182.27933f, 1.2180231f, -794.6802f), 817); - span128[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(176.54279f, 0.4118718f, -831.1932f), 817) - { - DisableNavmesh = true - }; - span128[6] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(170.7773f, -8.781983f, -864.8363f), 817) - { - DisableNavmesh = true - }; - span128[7] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(128.05794f, -8.781985f, -861.96173f), 817); - span128[8] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(104.804436f, -8.781986f, -852.4725f), 817); - span128[9] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(104.83191f, -8.781986f, -882.98535f), 817) - { - DisableNavmesh = true - }; - span128[10] = new QuestStep(EInteractionType.Interact, 2010217u, new Vector3(115.43445f, -7.400635f, -895.4757f), 817) - { - DisableNavmesh = true - }; - obj236.Steps = list330; - reference254 = obj236; - ref QuestSequence reference255 = ref span125[4]; - QuestSequence obj237 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list331 = new List(num2); - CollectionsMarshal.SetCount(list331, num2); - CollectionsMarshal.AsSpan(list331)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029242u, new Vector3(122.697754f, -8.781986f, -891.4168f), 817); - obj237.Steps = list331; - reference255 = obj237; - questRoot37.QuestSequence = list326; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(3337); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list332 = new List(num); - CollectionsMarshal.SetCount(list332, num); - CollectionsMarshal.AsSpan(list332)[0] = "liza"; - questRoot38.Author = list332; - num = 3; - List list333 = new List(num); - CollectionsMarshal.SetCount(list333, num); - Span span129 = CollectionsMarshal.AsSpan(list333); - ref QuestSequence reference256 = ref span129[0]; - QuestSequence obj238 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - CollectionsMarshal.AsSpan(list334)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029242u, new Vector3(122.697754f, -8.781986f, -891.4168f), 817); - obj238.Steps = list334; - reference256 = obj238; - ref QuestSequence reference257 = ref span129[1]; - QuestSequence obj239 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list335 = new List(num2); - CollectionsMarshal.SetCount(list335, num2); - ref QuestStep reference258 = ref CollectionsMarshal.AsSpan(list335)[0]; - QuestStep questStep19 = new QuestStep(EInteractionType.SinglePlayerDuty, 1029243u, new Vector3(121.3855f, -8.781985f, -890.62335f), 817); - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions(); - num3 = 1; - List list336 = new List(num3); - CollectionsMarshal.SetCount(list336, num3); - CollectionsMarshal.AsSpan(list336)[0] = "(room 2) AI tries to walk straight to the next door, ignoring all walls"; - singlePlayerDutyOptions.Notes = list336; - questStep19.SinglePlayerDutyOptions = singlePlayerDutyOptions; - reference258 = questStep19; - obj239.Steps = list335; - reference257 = obj239; - ref QuestSequence reference259 = ref span129[2]; - QuestSequence obj240 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list337 = new List(num2); - CollectionsMarshal.SetCount(list337, num2); - CollectionsMarshal.AsSpan(list337)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029244u, new Vector3(171.19092f, -19.76173f, -534.05054f), 817); - obj240.Steps = list337; - reference259 = obj240; - questRoot38.QuestSequence = list333; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(3338); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list338 = new List(num); - CollectionsMarshal.SetCount(list338, num); - CollectionsMarshal.AsSpan(list338)[0] = "liza"; - questRoot39.Author = list338; - num = 6; - List list339 = new List(num); - CollectionsMarshal.SetCount(list339, num); - Span span130 = CollectionsMarshal.AsSpan(list339); - ref QuestSequence reference260 = ref span130[0]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list340 = new List(num2); - CollectionsMarshal.SetCount(list340, num2); - CollectionsMarshal.AsSpan(list340)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029247u, new Vector3(166.91846f, -19.856256f, -535.1797f), 817) - { - StopDistance = 5f - }; - obj241.Steps = list340; - reference260 = obj241; - ref QuestSequence reference261 = ref span130[1]; - QuestSequence obj242 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - CollectionsMarshal.AsSpan(list341)[0] = new QuestStep(EInteractionType.Interact, 1029249u, new Vector3(449.8817f, 6.955061f, -208.75867f), 817) - { - StopDistance = 2f - }; - obj242.Steps = list341; - reference261 = obj242; - ref QuestSequence reference262 = ref span130[2]; - QuestSequence obj243 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - CollectionsMarshal.AsSpan(list342)[0] = new QuestStep(EInteractionType.UseItem, 1029250u, new Vector3(448.2948f, 7.479239f, -208.14838f), 817) - { - ItemId = 2002553u - }; - obj243.Steps = list342; - reference262 = obj243; - ref QuestSequence reference263 = ref span130[3]; - QuestSequence obj244 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list343 = new List(num2); - CollectionsMarshal.SetCount(list343, num2); - CollectionsMarshal.AsSpan(list343)[0] = new QuestStep(EInteractionType.Interact, 1029250u, new Vector3(448.2948f, 7.479239f, -208.14838f), 817); - obj244.Steps = list343; - reference263 = obj244; - ref QuestSequence reference264 = ref span130[4]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list344 = new List(num2); - CollectionsMarshal.SetCount(list344, num2); - CollectionsMarshal.AsSpan(list344)[0] = new QuestStep(EInteractionType.Interact, 1029250u, new Vector3(448.2948f, 7.479239f, -208.14838f), 817); - obj245.Steps = list344; - reference264 = obj245; - ref QuestSequence reference265 = ref span130[5]; - QuestSequence obj246 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list345 = new List(num2); - CollectionsMarshal.SetCount(list345, num2); - CollectionsMarshal.AsSpan(list345)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029249u, new Vector3(449.8817f, 6.955061f, -208.75867f), 817); - obj246.Steps = list345; - reference265 = obj246; - questRoot39.QuestSequence = list339; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(3339); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list346 = new List(num); - CollectionsMarshal.SetCount(list346, num); - CollectionsMarshal.AsSpan(list346)[0] = "liza"; - questRoot40.Author = list346; - num = 6; - List list347 = new List(num); - CollectionsMarshal.SetCount(list347, num); - Span span131 = CollectionsMarshal.AsSpan(list347); - ref QuestSequence reference266 = ref span131[0]; - QuestSequence obj247 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list348 = new List(num2); - CollectionsMarshal.SetCount(list348, num2); - CollectionsMarshal.AsSpan(list348)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029249u, new Vector3(449.8817f, 6.955061f, -208.75867f), 817); - obj247.Steps = list348; - reference266 = obj247; - ref QuestSequence reference267 = ref span131[1]; - QuestSequence obj248 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list349 = new List(num2); - CollectionsMarshal.SetCount(list349, num2); - CollectionsMarshal.AsSpan(list349)[0] = new QuestStep(EInteractionType.Interact, 1029251u, new Vector3(450.00366f, 6.955061f, -202.38043f), 817) - { - StopDistance = 7f - }; - obj248.Steps = list349; - reference267 = obj248; - ref QuestSequence reference268 = ref span131[2]; - QuestSequence obj249 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - CollectionsMarshal.AsSpan(list350)[0] = new QuestStep(EInteractionType.UseItem, null, new Vector3(580.9263f, 18.753235f, -43.01526f), 817) - { - StopDistance = 1f, - ItemId = 2002554u - }; - obj249.Steps = list350; - reference268 = obj249; - ref QuestSequence reference269 = ref span131[3]; - QuestSequence obj250 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list351 = new List(num2); - CollectionsMarshal.SetCount(list351, num2); - CollectionsMarshal.AsSpan(list351)[0] = new QuestStep(EInteractionType.Interact, 2009892u, new Vector3(580.9263f, 18.753235f, -43.01526f), 817); - obj250.Steps = list351; - reference269 = obj250; - ref QuestSequence reference270 = ref span131[4]; - QuestSequence obj251 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list352 = new List(num2); - CollectionsMarshal.SetCount(list352, num2); - ref QuestStep reference271 = ref CollectionsMarshal.AsSpan(list352)[0]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 1029554u, new Vector3(585.7174f, 18.386158f, -59.18976f), 817); - num3 = 1; - List list353 = new List(num3); - CollectionsMarshal.SetCount(list353, num3); - CollectionsMarshal.AsSpan(list353)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMC118_03339_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKMC118_03339_A1_000_002") - }; - questStep20.DialogueChoices = list353; - reference271 = questStep20; - obj251.Steps = list352; - reference270 = obj251; - ref QuestSequence reference272 = ref span131[5]; - QuestSequence obj252 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list354 = new List(num2); - CollectionsMarshal.SetCount(list354, num2); - CollectionsMarshal.AsSpan(list354)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029555u, new Vector3(453.26917f, 6.955061f, -204.39465f), 817) - { - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - obj252.Steps = list354; - reference272 = obj252; - questRoot40.QuestSequence = list347; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(3340); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list355 = new List(num); - CollectionsMarshal.SetCount(list355, num); - CollectionsMarshal.AsSpan(list355)[0] = "liza"; - questRoot41.Author = list355; - num = 5; - List list356 = new List(num); - CollectionsMarshal.SetCount(list356, num); - Span span132 = CollectionsMarshal.AsSpan(list356); - ref QuestSequence reference273 = ref span132[0]; - QuestSequence obj253 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list357 = new List(num2); - CollectionsMarshal.SetCount(list357, num2); - CollectionsMarshal.AsSpan(list357)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029255u, new Vector3(453.6964f, 6.955061f, -201.15973f), 817) - { - StopDistance = 7f - }; - obj253.Steps = list357; - reference273 = obj253; - ref QuestSequence reference274 = ref span132[1]; - QuestSequence obj254 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list358 = new List(num2); - CollectionsMarshal.SetCount(list358, num2); - Span span133 = CollectionsMarshal.AsSpan(list358); - span133[0] = new QuestStep(EInteractionType.AcceptQuest, 1027716u, new Vector3(494.9873f, -6.555339f, -224.93329f), 817) - { - PickUpQuestId = new QuestId(3478) - }; - span133[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010073u, new Vector3(681.1168f, -39.2005f, -262.77563f), 817) - { - AetherCurrentId = 2818292u - }; - span133[2] = new QuestStep(EInteractionType.Interact, 2009893u, new Vector3(854.39844f, -63.85907f, -394.43048f), 817); - obj254.Steps = list358; - reference274 = obj254; - ref QuestSequence reference275 = ref span132[2]; - QuestSequence obj255 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list359 = new List(num2); - CollectionsMarshal.SetCount(list359, num2); - CollectionsMarshal.AsSpan(list359)[0] = new QuestStep(EInteractionType.Duty, null, null, 817) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 651u - } - }; - obj255.Steps = list359; - reference275 = obj255; - span132[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference276 = ref span132[4]; - QuestSequence obj256 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list360 = new List(num2); - CollectionsMarshal.SetCount(list360, num2); - CollectionsMarshal.AsSpan(list360)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029557u, new Vector3(848.7831f, -65.42493f, -394.67462f), 817) - { - StopDistance = 5f - }; - obj256.Steps = list360; - reference276 = obj256; - questRoot41.QuestSequence = list356; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(3341); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list361 = new List(num); - CollectionsMarshal.SetCount(list361, num); - CollectionsMarshal.AsSpan(list361)[0] = "liza"; - questRoot42.Author = list361; - num = 3; - List list362 = new List(num); - CollectionsMarshal.SetCount(list362, num); - Span span134 = CollectionsMarshal.AsSpan(list362); - ref QuestSequence reference277 = ref span134[0]; - QuestSequence obj257 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list363 = new List(num2); - CollectionsMarshal.SetCount(list363, num2); - CollectionsMarshal.AsSpan(list363)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029557u, new Vector3(848.7831f, -65.42493f, -394.67462f), 817) - { - StopDistance = 5f - }; - obj257.Steps = list363; - reference277 = obj257; - ref QuestSequence reference278 = ref span134[1]; - QuestSequence obj258 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list364 = new List(num2); - CollectionsMarshal.SetCount(list364, num2); - CollectionsMarshal.AsSpan(list364)[0] = new QuestStep(EInteractionType.Interact, 1029231u, new Vector3(453.05554f, 33.66181f, -156.9696f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - obj258.Steps = list364; - reference278 = obj258; - ref QuestSequence reference279 = ref span134[2]; - QuestSequence obj259 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list365 = new List(num2); - CollectionsMarshal.SetCount(list365, num2); - CollectionsMarshal.AsSpan(list365)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029197u, new Vector3(-87.87671f, -19.022131f, 298.20703f), 817) - { - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - obj259.Steps = list365; - reference279 = obj259; - questRoot42.QuestSequence = list362; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(3342); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list366 = new List(num); - CollectionsMarshal.SetCount(list366, num); - CollectionsMarshal.AsSpan(list366)[0] = "liza"; - questRoot43.Author = list366; - num = 5; - List list367 = new List(num); - CollectionsMarshal.SetCount(list367, num); - Span span135 = CollectionsMarshal.AsSpan(list367); - ref QuestSequence reference280 = ref span135[0]; - QuestSequence obj260 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list368 = new List(num2); - CollectionsMarshal.SetCount(list368, num2); - CollectionsMarshal.AsSpan(list368)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029011u, new Vector3(-88.822815f, -19.053196f, 296.65063f), 817) - { - StopDistance = 5f - }; - obj260.Steps = list368; - reference280 = obj260; - ref QuestSequence reference281 = ref span135[1]; - QuestSequence obj261 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list369 = new List(num2); - CollectionsMarshal.SetCount(list369, num2); - CollectionsMarshal.AsSpan(list369)[0] = new QuestStep(EInteractionType.Interact, 1029194u, new Vector3(-37.216797f, -18.920458f, 336.62915f), 817); - obj261.Steps = list369; - reference281 = obj261; - ref QuestSequence reference282 = ref span135[2]; - QuestSequence obj262 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list370 = new List(num2); - CollectionsMarshal.SetCount(list370, num2); - Span span136 = CollectionsMarshal.AsSpan(list370); - span136[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-64.28227f, -19.16186f, 319.19778f), 817); - span136[1] = new QuestStep(EInteractionType.Interact, 2009894u, new Vector3(-259.51025f, -2.395752f, 332.81445f), 817) - { - Fly = true - }; - obj262.Steps = list370; - reference282 = obj262; - ref QuestSequence reference283 = ref span135[3]; - QuestSequence obj263 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list371 = new List(num2); - CollectionsMarshal.SetCount(list371, num2); - CollectionsMarshal.AsSpan(list371)[0] = new QuestStep(EInteractionType.Interact, 1029558u, new Vector3(28.732666f, 0f, 1.87677f), 819) - { - Sprint = true, - AetheryteShortcut = EAetheryteLocation.Crystarium - }; - obj263.Steps = list371; - reference283 = obj263; - ref QuestSequence reference284 = ref span135[4]; - QuestSequence obj264 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list372 = new List(num2); - CollectionsMarshal.SetCount(list372, num2); - ref QuestStep reference285 = ref CollectionsMarshal.AsSpan(list372)[0]; - QuestStep obj265 = new QuestStep(EInteractionType.CompleteQuest, 1030610u, new Vector3(65.11023f, 1.7160122f, 249.7749f), 819) - { - StopDistance = 7f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumDossalGate, - To = EAetheryteLocation.CrystariumPendants - } - }; - num3 = 1; - List list373 = new List(num3); - CollectionsMarshal.SetCount(list373, num3); - CollectionsMarshal.AsSpan(list373)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKMC121_03342_Q1_000_000") - }; - obj265.DialogueChoices = list373; - reference285 = obj265; - obj264.Steps = list372; - reference284 = obj264; - questRoot43.QuestSequence = list367; - AddQuest(questId43, questRoot43); - QuestId questId44 = new QuestId(3343); - QuestRoot questRoot44 = new QuestRoot(); - num = 1; - List list374 = new List(num); - CollectionsMarshal.SetCount(list374, num); - CollectionsMarshal.AsSpan(list374)[0] = "liza"; - questRoot44.Author = list374; - num = 5; - List list375 = new List(num); - CollectionsMarshal.SetCount(list375, num); - Span span137 = CollectionsMarshal.AsSpan(list375); - ref QuestSequence reference286 = ref span137[0]; - QuestSequence obj266 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list376 = new List(num2); - CollectionsMarshal.SetCount(list376, num2); - CollectionsMarshal.AsSpan(list376)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027827u, new Vector3(105.02783f, 0.49999997f, -145.70844f), 819); - obj266.Steps = list376; - reference286 = obj266; - ref QuestSequence reference287 = ref span137[1]; - QuestSequence obj267 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list377 = new List(num2); - CollectionsMarshal.SetCount(list377, num2); - CollectionsMarshal.AsSpan(list377)[0] = new QuestStep(EInteractionType.Interact, 1027254u, new Vector3(-37.857666f, -0.5500218f, -61.20398f), 819); - obj267.Steps = list377; - reference287 = obj267; - ref QuestSequence reference288 = ref span137[2]; - QuestSequence obj268 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list378 = new List(num2); - CollectionsMarshal.SetCount(list378, num2); - CollectionsMarshal.AsSpan(list378)[0] = new QuestStep(EInteractionType.Interact, 1027817u, new Vector3(-118.425354f, -47.50666f, -181.17041f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumDossalGate, - To = EAetheryteLocation.CrystariumCabinetOfCuriosity - } - }; - obj268.Steps = list378; - reference288 = obj268; - ref QuestSequence reference289 = ref span137[3]; - QuestSequence obj269 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list379 = new List(num2); - CollectionsMarshal.SetCount(list379, num2); - Span span138 = CollectionsMarshal.AsSpan(list379); - ref QuestStep reference290 = ref span138[0]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 2010022u, new Vector3(-152.08673f, -45.88391f, -185.0462f), 819); - num3 = 6; - List list380 = new List(num3); - CollectionsMarshal.SetCount(list380, num3); - Span span139 = CollectionsMarshal.AsSpan(list380); - span139[0] = null; - span139[1] = null; - span139[2] = null; - span139[3] = null; - span139[4] = null; - span139[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep21.CompletionQuestVariablesFlags = list380; - reference290 = questStep21; - ref QuestStep reference291 = ref span138[1]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1030257u, new Vector3(-169.3294f, -45.8779f, -209.85736f), 819); - num3 = 6; - List list381 = new List(num3); - CollectionsMarshal.SetCount(list381, num3); - Span span140 = CollectionsMarshal.AsSpan(list381); - span140[0] = null; - span140[1] = null; - span140[2] = null; - span140[3] = null; - span140[4] = null; - span140[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep22.CompletionQuestVariablesFlags = list381; - reference291 = questStep22; - obj269.Steps = list379; - reference289 = obj269; - ref QuestSequence reference292 = ref span137[4]; - QuestSequence obj270 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list382 = new List(num2); - CollectionsMarshal.SetCount(list382, num2); - CollectionsMarshal.AsSpan(list382)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027254u, new Vector3(-37.857666f, -0.5500218f, -61.20398f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumCabinetOfCuriosity, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - obj270.Steps = list382; - reference292 = obj270; - questRoot44.QuestSequence = list375; - AddQuest(questId44, questRoot44); - QuestId questId45 = new QuestId(3344); - QuestRoot questRoot45 = new QuestRoot(); - num = 1; - List list383 = new List(num); - CollectionsMarshal.SetCount(list383, num); - CollectionsMarshal.AsSpan(list383)[0] = "liza"; - questRoot45.Author = list383; - num = 3; - List list384 = new List(num); - CollectionsMarshal.SetCount(list384, num); - Span span141 = CollectionsMarshal.AsSpan(list384); - ref QuestSequence reference293 = ref span141[0]; - QuestSequence obj271 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list385 = new List(num2); - CollectionsMarshal.SetCount(list385, num2); - CollectionsMarshal.AsSpan(list385)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027244u, new Vector3(76.157715f, 0.0889954f, -44.26648f), 819); - obj271.Steps = list385; - reference293 = obj271; - ref QuestSequence reference294 = ref span141[1]; - QuestSequence obj272 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list386 = new List(num2); - CollectionsMarshal.SetCount(list386, num2); - Span span142 = CollectionsMarshal.AsSpan(list386); - ref QuestStep reference295 = ref span142[0]; - QuestStep obj273 = new QuestStep(EInteractionType.Interact, 1027316u, new Vector3(-127.30603f, 0f, -109.48352f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumDossalGate, - To = EAetheryteLocation.CrystariumTemenosRookery - } - }; - num3 = 6; - List list387 = new List(num3); - CollectionsMarshal.SetCount(list387, num3); - Span span143 = CollectionsMarshal.AsSpan(list387); - span143[0] = null; - span143[1] = null; - span143[2] = null; - span143[3] = null; - span143[4] = null; - span143[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj273.CompletionQuestVariablesFlags = list387; - reference295 = obj273; - ref QuestStep reference296 = ref span142[1]; - QuestStep obj274 = new QuestStep(EInteractionType.Interact, 1027227u, new Vector3(-65.78168f, -27.23603f, -272.99915f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumTemenosRookery, - To = EAetheryteLocation.CrystariumCabinetOfCuriosity - } - }; - num3 = 6; - List list388 = new List(num3); - CollectionsMarshal.SetCount(list388, num3); - Span span144 = CollectionsMarshal.AsSpan(list388); - span144[0] = null; - span144[1] = null; - span144[2] = null; - span144[3] = null; - span144[4] = null; - span144[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj274.CompletionQuestVariablesFlags = list388; - reference296 = obj274; - ref QuestStep reference297 = ref span142[2]; - QuestStep obj275 = new QuestStep(EInteractionType.Interact, 1030258u, new Vector3(65.659546f, 36.197685f, -148.54657f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumCabinetOfCuriosity, - To = EAetheryteLocation.CrystariumAmaroLaunch - } - }; - num3 = 6; - List list389 = new List(num3); - CollectionsMarshal.SetCount(list389, num3); - Span span145 = CollectionsMarshal.AsSpan(list389); - span145[0] = null; - span145[1] = null; - span145[2] = null; - span145[3] = null; - span145[4] = null; - span145[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj275.CompletionQuestVariablesFlags = list389; - reference297 = obj275; - span142[3] = new QuestStep(EInteractionType.Jump, null, new Vector3(80.6178f, 35.999687f, -146.81993f), 819) - { - StopDistance = 0.5f, - JumpDestination = new JumpDestination - { - Position = new Vector3(98.63616f, 0.5f, -153.71947f) - } - }; - ref QuestStep reference298 = ref span142[4]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1027826u, new Vector3(89.15845f, 0.49999997f, -145.4643f), 819); - num3 = 6; - List list390 = new List(num3); - CollectionsMarshal.SetCount(list390, num3); - Span span146 = CollectionsMarshal.AsSpan(list390); - span146[0] = null; - span146[1] = null; - span146[2] = null; - span146[3] = null; - span146[4] = null; - span146[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list390; - reference298 = questStep23; - obj272.Steps = list386; - reference294 = obj272; - ref QuestSequence reference299 = ref span141[2]; - QuestSequence obj276 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list391 = new List(num2); - CollectionsMarshal.SetCount(list391, num2); - ref QuestStep reference300 = ref CollectionsMarshal.AsSpan(list391)[0]; - QuestStep questStep24 = new QuestStep(EInteractionType.CompleteQuest, 1027244u, new Vector3(76.157715f, 0.0889954f, -44.26648f), 819); - num3 = 1; - List list392 = new List(num3); - CollectionsMarshal.SetCount(list392, num3); - CollectionsMarshal.AsSpan(list392)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKZA002_03344_Q1_000_051"), - Answer = new ExcelRef("TEXT_LUCKZA002_03344_A1_000_052") - }; - questStep24.DialogueChoices = list392; - reference300 = questStep24; - obj276.Steps = list391; - reference299 = obj276; - questRoot45.QuestSequence = list384; - AddQuest(questId45, questRoot45); - QuestId questId46 = new QuestId(3345); - QuestRoot questRoot46 = new QuestRoot(); - num = 1; - List list393 = new List(num); - CollectionsMarshal.SetCount(list393, num); - CollectionsMarshal.AsSpan(list393)[0] = "liza"; - questRoot46.Author = list393; - num = 4; - List list394 = new List(num); - CollectionsMarshal.SetCount(list394, num); - Span span147 = CollectionsMarshal.AsSpan(list394); - ref QuestSequence reference301 = ref span147[0]; - QuestSequence obj277 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list395 = new List(num2); - CollectionsMarshal.SetCount(list395, num2); - Span span148 = CollectionsMarshal.AsSpan(list395); - span148[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-41.33571f, 3.9998171f, 239.88663f), 819); - span148[1] = new QuestStep(EInteractionType.AcceptQuest, 1027323u, new Vector3(-42.893127f, 3.9998171f, 242.08435f), 819); - obj277.Steps = list395; - reference301 = obj277; - ref QuestSequence reference302 = ref span147[1]; - QuestSequence obj278 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list396 = new List(num2); - CollectionsMarshal.SetCount(list396, num2); - CollectionsMarshal.AsSpan(list396)[0] = new QuestStep(EInteractionType.Interact, 1027816u, new Vector3(-20.676025f, -7.700001f, 111.77234f), 819); - obj278.Steps = list396; - reference302 = obj278; - ref QuestSequence reference303 = ref span147[2]; - QuestSequence obj279 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list397 = new List(num2); - CollectionsMarshal.SetCount(list397, num2); - CollectionsMarshal.AsSpan(list397)[0] = new QuestStep(EInteractionType.Interact, 1029146u, new Vector3(86.74744f, 0.74016255f, 147.11218f), 819); - obj279.Steps = list397; - reference303 = obj279; - ref QuestSequence reference304 = ref span147[3]; - QuestSequence obj280 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list398 = new List(num2); - CollectionsMarshal.SetCount(list398, num2); - Span span149 = CollectionsMarshal.AsSpan(list398); - span149[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-41.33571f, 3.9998171f, 239.88663f), 819); - span149[1] = new QuestStep(EInteractionType.CompleteQuest, 1027323u, new Vector3(-42.893127f, 3.9998171f, 242.08435f), 819); - obj280.Steps = list398; - reference304 = obj280; - questRoot46.QuestSequence = list394; - AddQuest(questId46, questRoot46); - QuestId questId47 = new QuestId(3346); - QuestRoot questRoot47 = new QuestRoot(); - num = 1; - List list399 = new List(num); - CollectionsMarshal.SetCount(list399, num); - CollectionsMarshal.AsSpan(list399)[0] = "liza"; - questRoot47.Author = list399; - num = 5; - List list400 = new List(num); - CollectionsMarshal.SetCount(list400, num); - Span span150 = CollectionsMarshal.AsSpan(list400); - ref QuestSequence reference305 = ref span150[0]; - QuestSequence obj281 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list401 = new List(num2); - CollectionsMarshal.SetCount(list401, num2); - CollectionsMarshal.AsSpan(list401)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027316u, new Vector3(-127.30603f, 0f, -109.48352f), 819); - obj281.Steps = list401; - reference305 = obj281; - ref QuestSequence reference306 = ref span150[1]; - QuestSequence obj282 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list402 = new List(num2); - CollectionsMarshal.SetCount(list402, num2); - Span span151 = CollectionsMarshal.AsSpan(list402); - ref QuestStep reference307 = ref span151[0]; - QuestStep questStep25 = new QuestStep(EInteractionType.Interact, 2009995u, new Vector3(-130.38837f, 1.1138916f, -82.84125f), 819); - num3 = 6; - List list403 = new List(num3); - CollectionsMarshal.SetCount(list403, num3); - Span span152 = CollectionsMarshal.AsSpan(list403); - span152[0] = null; - span152[1] = null; - span152[2] = null; - span152[3] = null; - span152[4] = null; - span152[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep25.CompletionQuestVariablesFlags = list403; - reference307 = questStep25; - ref QuestStep reference308 = ref span151[1]; - QuestStep questStep26 = new QuestStep(EInteractionType.Interact, 2009994u, new Vector3(-155.29114f, -0.015319824f, -99.38208f), 819); - num3 = 6; - List list404 = new List(num3); - CollectionsMarshal.SetCount(list404, num3); - Span span153 = CollectionsMarshal.AsSpan(list404); - span153[0] = null; - span153[1] = null; - span153[2] = null; - span153[3] = null; - span153[4] = null; - span153[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep26.CompletionQuestVariablesFlags = list404; - reference308 = questStep26; - ref QuestStep reference309 = ref span151[2]; - QuestStep questStep27 = new QuestStep(EInteractionType.Interact, 2009996u, new Vector3(-145.00653f, -0.045776367f, -130.5105f), 819); - num3 = 6; - List list405 = new List(num3); - CollectionsMarshal.SetCount(list405, num3); - Span span154 = CollectionsMarshal.AsSpan(list405); - span154[0] = null; - span154[1] = null; - span154[2] = null; - span154[3] = null; - span154[4] = null; - span154[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep27.CompletionQuestVariablesFlags = list405; - reference309 = questStep27; - obj282.Steps = list402; - reference306 = obj282; - ref QuestSequence reference310 = ref span150[2]; - QuestSequence obj283 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list406 = new List(num2); - CollectionsMarshal.SetCount(list406, num2); - CollectionsMarshal.AsSpan(list406)[0] = new QuestStep(EInteractionType.Interact, 1027316u, new Vector3(-127.30603f, 0f, -109.48352f), 819); - obj283.Steps = list406; - reference310 = obj283; - ref QuestSequence reference311 = ref span150[3]; - QuestSequence obj284 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list407 = new List(num2); - CollectionsMarshal.SetCount(list407, num2); - CollectionsMarshal.AsSpan(list407)[0] = new QuestStep(EInteractionType.Interact, 1028334u, new Vector3(-135.33228f, -6.193295E-07f, 59.464355f), 819); - obj284.Steps = list407; - reference311 = obj284; - ref QuestSequence reference312 = ref span150[4]; - QuestSequence obj285 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list408 = new List(num2); - CollectionsMarshal.SetCount(list408, num2); - CollectionsMarshal.AsSpan(list408)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027316u, new Vector3(-127.30603f, 0f, -109.48352f), 819); - obj285.Steps = list408; - reference312 = obj285; - questRoot47.QuestSequence = list400; - AddQuest(questId47, questRoot47); - QuestId questId48 = new QuestId(3347); - QuestRoot questRoot48 = new QuestRoot(); - num = 1; - List list409 = new List(num); - CollectionsMarshal.SetCount(list409, num); - CollectionsMarshal.AsSpan(list409)[0] = "liza"; - questRoot48.Author = list409; - num = 3; - List list410 = new List(num); - CollectionsMarshal.SetCount(list410, num); - Span span155 = CollectionsMarshal.AsSpan(list410); - ref QuestSequence reference313 = ref span155[0]; - QuestSequence obj286 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list411 = new List(num2); - CollectionsMarshal.SetCount(list411, num2); - CollectionsMarshal.AsSpan(list411)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027846u, new Vector3(-68.65039f, -36.750023f, -264.39313f), 819); - obj286.Steps = list411; - reference313 = obj286; - ref QuestSequence reference314 = ref span155[1]; - QuestSequence obj287 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list412 = new List(num2); - CollectionsMarshal.SetCount(list412, num2); - ref QuestStep reference315 = ref CollectionsMarshal.AsSpan(list412)[0]; - QuestStep questStep28 = new QuestStep(EInteractionType.Interact, 1030259u, new Vector3(-68.55884f, -27.236004f, -269.58118f), 819); - num3 = 3; - List list413 = new List(num3); - CollectionsMarshal.SetCount(list413, num3); - Span span156 = CollectionsMarshal.AsSpan(list413); - span156[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKZA005_03347_Q1_000_012"), - Answer = new ExcelRef("TEXT_LUCKZA005_03347_A1_000_013") - }; - span156[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKZA005_03347_Q2_000_017"), - Answer = new ExcelRef("TEXT_LUCKZA005_03347_A2_000_019") - }; - span156[2] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKZA005_03347_Q3_000_022"), - Answer = new ExcelRef("TEXT_LUCKZA005_03347_A3_000_023") - }; - questStep28.DialogueChoices = list413; - reference315 = questStep28; - obj287.Steps = list412; - reference314 = obj287; - ref QuestSequence reference316 = ref span155[2]; - QuestSequence obj288 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list414 = new List(num2); - CollectionsMarshal.SetCount(list414, num2); - CollectionsMarshal.AsSpan(list414)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027846u, new Vector3(-68.65039f, -36.750023f, -264.39313f), 819); - obj288.Steps = list414; - reference316 = obj288; - questRoot48.QuestSequence = list410; - AddQuest(questId48, questRoot48); - QuestId questId49 = new QuestId(3348); - QuestRoot questRoot49 = new QuestRoot(); - num = 1; - List list415 = new List(num); - CollectionsMarshal.SetCount(list415, num); - CollectionsMarshal.AsSpan(list415)[0] = "liza"; - questRoot49.Author = list415; - num = 3; - List list416 = new List(num); - CollectionsMarshal.SetCount(list416, num); - Span span157 = CollectionsMarshal.AsSpan(list416); - ref QuestSequence reference317 = ref span157[0]; - QuestSequence obj289 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list417 = new List(num2); - CollectionsMarshal.SetCount(list417, num2); - CollectionsMarshal.AsSpan(list417)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029884u, new Vector3(52.96399f, 35.999683f, -109.14783f), 819); - obj289.Steps = list417; - reference317 = obj289; - ref QuestSequence reference318 = ref span157[1]; - QuestSequence obj290 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list418 = new List(num2); - CollectionsMarshal.SetCount(list418, num2); - CollectionsMarshal.AsSpan(list418)[0] = new QuestStep(EInteractionType.Emote, 1029884u, new Vector3(52.96399f, 35.999683f, -109.14783f), 819) - { - Emote = EEmote.BattleStance - }; - obj290.Steps = list418; - reference318 = obj290; - ref QuestSequence reference319 = ref span157[2]; - QuestSequence obj291 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list419 = new List(num2); - CollectionsMarshal.SetCount(list419, num2); - CollectionsMarshal.AsSpan(list419)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029884u, new Vector3(52.96399f, 35.999683f, -109.14783f), 819) - { - Emote = EEmote.Box - }; - obj291.Steps = list419; - reference319 = obj291; - questRoot49.QuestSequence = list416; - AddQuest(questId49, questRoot49); - } - - private static void LoadQuests67() - { - QuestId questId = new QuestId(3360); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 5; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027452u, new Vector3(-310.62793f, 19.405178f, 405.2948f), 814); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-451.1456f, 8.987026f, 532.7527f), 814); - span2[1] = new QuestStep(EInteractionType.Interact, 1030741u, new Vector3(-446.28064f, 7.6579986f, 536.15625f), 814) - { - StopDistance = 7f - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 7; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - Span span3 = CollectionsMarshal.AsSpan(list5); - span3[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-447.98965f, 7.657998f, 532.0151f), 814) - { - StopDistance = 0.25f, - JumpDestination = new JumpDestination - { - Position = new Vector3(-443.48367f, 8.676657f, 532.7491f), - DelaySeconds = 0.25f - } - }; - ref QuestStep reference4 = ref span3[1]; - QuestStep obj4 = new QuestStep(EInteractionType.UseItem, 2010260u, new Vector3(-444.38855f, 8.987488f, 532.6771f), 814) - { - DelaySecondsAtStart = 1f, - ItemId = 2002688u - }; - int num3 = 6; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - Span span4 = CollectionsMarshal.AsSpan(list6); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj4.CompletionQuestVariablesFlags = list6; - reference4 = obj4; - ref QuestStep reference5 = ref span3[2]; - QuestStep obj5 = new QuestStep(EInteractionType.UseItem, 2010286u, new Vector3(-443.0152f, 8.773865f, 535.97314f), 814) - { - DelaySecondsAtStart = 1f, - ItemId = 2002688u - }; - num3 = 6; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span5 = CollectionsMarshal.AsSpan(list7); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj5.CompletionQuestVariablesFlags = list7; - reference5 = obj5; - ref QuestStep reference6 = ref span3[3]; - QuestStep obj6 = new QuestStep(EInteractionType.UseItem, 2010287u, new Vector3(-442.92365f, 8.895996f, 538.6892f), 814) - { - DelaySecondsAtStart = 1f, - ItemId = 2002688u - }; - num3 = 6; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - Span span6 = CollectionsMarshal.AsSpan(list8); - span6[0] = null; - span6[1] = null; - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj6.CompletionQuestVariablesFlags = list8; - reference6 = obj6; - ref QuestStep reference7 = ref span3[4]; - QuestStep obj7 = new QuestStep(EInteractionType.UseItem, 2010288u, new Vector3(-441.88605f, 8.590759f, 542.3513f), 814) - { - DelaySecondsAtStart = 1f, - ItemId = 2002688u - }; - num3 = 6; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - Span span7 = CollectionsMarshal.AsSpan(list9); - span7[0] = null; - span7[1] = null; - span7[2] = null; - span7[3] = null; - span7[4] = null; - span7[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj7.CompletionQuestVariablesFlags = list9; - reference7 = obj7; - ref QuestStep reference8 = ref span3[5]; - QuestStep obj8 = new QuestStep(EInteractionType.UseItem, 2010261u, new Vector3(-444.6327f, 8.804443f, 544.51807f), 814) - { - DelaySecondsAtStart = 1f, - ItemId = 2002688u - }; - num3 = 6; - List list10 = new List(num3); - CollectionsMarshal.SetCount(list10, num3); - Span span8 = CollectionsMarshal.AsSpan(list10); - span8[0] = null; - span8[1] = null; - span8[2] = null; - span8[3] = null; - span8[4] = null; - span8[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj8.CompletionQuestVariablesFlags = list10; - reference8 = obj8; - ref QuestStep reference9 = ref span3[6]; - QuestStep obj9 = new QuestStep(EInteractionType.UseItem, 2010289u, new Vector3(-443.47296f, 8.499207f, 548.30237f), 814) - { - DelaySecondsAtStart = 1f, - ItemId = 2002688u - }; - num3 = 6; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - Span span9 = CollectionsMarshal.AsSpan(list11); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - obj9.CompletionQuestVariablesFlags = list11; - reference9 = obj9; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference10 = ref span[3]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Interact, 1030741u, new Vector3(-446.28064f, 7.6579986f, 536.15625f), 814); - obj10.Steps = list12; - reference10 = obj10; - ref QuestSequence reference11 = ref span[4]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027452u, new Vector3(-310.62793f, 19.405178f, 405.2948f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaWright - }; - obj11.Steps = list13; - reference11 = obj11; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(3371); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - CollectionsMarshal.AsSpan(list14)[0] = "liza"; - questRoot2.Author = list14; - num = 6; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - Span span10 = CollectionsMarshal.AsSpan(list15); - ref QuestSequence reference12 = ref span10[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030763u, new Vector3(-306.2334f, 20.956566f, 358.41907f), 814); - obj12.Steps = list16; - reference12 = obj12; - ref QuestSequence reference13 = ref span10[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - ref QuestStep reference14 = ref CollectionsMarshal.AsSpan(list17)[0]; - QuestStep obj14 = new QuestStep(EInteractionType.Combat, null, new Vector3(-226.82605f, 21.612165f, 298.9232f), 814) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - CollectionsMarshal.AsSpan(list18)[0] = 11151u; - obj14.KillEnemyDataIds = list18; - reference14 = obj14; - obj13.Steps = list17; - reference13 = obj13; - ref QuestSequence reference15 = ref span10[2]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.Interact, 1030764u, new Vector3(-226.42871f, 21.592747f, 297.8407f), 814) - { - StopDistance = 7f - }; - obj15.Steps = list19; - reference15 = obj15; - ref QuestSequence reference16 = ref span10[3]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.Interact, 1030766u, new Vector3(-284.22986f, 35.373142f, 204.66919f), 814); - obj16.Steps = list20; - reference16 = obj16; - ref QuestSequence reference17 = ref span10[4]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.Interact, 1030794u, new Vector3(-317.2503f, 21.045609f, 349.17212f), 814); - obj17.Steps = list21; - reference17 = obj17; - ref QuestSequence reference18 = ref span10[5]; - QuestSequence obj18 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - Span span11 = CollectionsMarshal.AsSpan(list22); - span11[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-283.69812f, 35.330315f, 205.46227f), 814); - span11[1] = new QuestStep(EInteractionType.CompleteQuest, 1030766u, new Vector3(-284.22986f, 35.373142f, 204.66919f), 814); - obj18.Steps = list22; - reference18 = obj18; - questRoot2.QuestSequence = list15; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(3372); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - CollectionsMarshal.AsSpan(list23)[0] = "alydev"; - questRoot3.Author = list23; - num = 4; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - Span span12 = CollectionsMarshal.AsSpan(list24); - ref QuestSequence reference19 = ref span12[0]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030766u, new Vector3(-284.22986f, 35.373142f, 204.66919f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaWright, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-284.22986f, 35.373142f, 204.66919f), - MaximumDistance = 50f, - TerritoryId = 814 - } - } - } - }; - obj19.Steps = list25; - reference19 = obj19; - ref QuestSequence reference20 = ref span12[1]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - ref QuestStep reference21 = ref CollectionsMarshal.AsSpan(list26)[0]; - QuestStep obj21 = new QuestStep(EInteractionType.Combat, 2010303u, new Vector3(-481.529f, 26.108154f, 333.27222f), 814) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - CollectionsMarshal.AsSpan(list27)[0] = 11152u; - obj21.KillEnemyDataIds = list27; - reference21 = obj21; - obj20.Steps = list26; - reference20 = obj20; - ref QuestSequence reference22 = ref span12[2]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.Interact, 1030769u, new Vector3(-474.72345f, 24.51279f, 337.27014f), 814); - obj22.Steps = list28; - reference22 = obj22; - ref QuestSequence reference23 = ref span12[3]; - QuestSequence obj23 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030766u, new Vector3(-284.22986f, 35.373142f, 204.66919f), 814) - { - Fly = true, - NextQuestId = new QuestId(3373) - }; - obj23.Steps = list29; - reference23 = obj23; - questRoot3.QuestSequence = list24; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(3373); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - CollectionsMarshal.AsSpan(list30)[0] = "alydev"; - questRoot4.Author = list30; - num = 5; - List list31 = new List(num); - CollectionsMarshal.SetCount(list31, num); - Span span13 = CollectionsMarshal.AsSpan(list31); - ref QuestSequence reference24 = ref span13[0]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030766u, new Vector3(-284.22986f, 35.373142f, 204.66919f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaWright, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-284.22986f, 35.373142f, 204.66919f), - MaximumDistance = 50f, - TerritoryId = 814 - } - } - } - }; - obj24.Steps = list32; - reference24 = obj24; - ref QuestSequence reference25 = ref span13[1]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - ref QuestStep reference26 = ref CollectionsMarshal.AsSpan(list33)[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1030770u, new Vector3(-547.87524f, 37.722652f, 532.4635f), 814); - num3 = 1; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - CollectionsMarshal.AsSpan(list34)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKZA103_03373_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKZA103_03373_A1_000_001") - }; - questStep.DialogueChoices = list34; - reference26 = questStep; - obj25.Steps = list33; - reference25 = obj25; - ref QuestSequence reference27 = ref span13[2]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - Span span14 = CollectionsMarshal.AsSpan(list35); - span14[0] = new QuestStep(EInteractionType.Interact, 2010304u, new Vector3(-546.685f, 62.119385f, 681.9713f), 814); - span14[1] = new QuestStep(EInteractionType.Interact, 2010305u, new Vector3(-532.1889f, 62.790894f, 693.38513f), 814); - span14[2] = new QuestStep(EInteractionType.Interact, 2010306u, new Vector3(-524.07117f, 61.53955f, 674.464f), 814); - obj26.Steps = list35; - reference27 = obj26; - ref QuestSequence reference28 = ref span13[3]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.Interact, 1030771u, new Vector3(-532.4636f, 62.522995f, 684.0161f), 814); - obj27.Steps = list36; - reference28 = obj27; - ref QuestSequence reference29 = ref span13[4]; - QuestSequence obj28 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030766u, new Vector3(-284.22986f, 35.373142f, 204.66919f), 814) - { - NextQuestId = new QuestId(3374) - }; - obj28.Steps = list37; - reference29 = obj28; - questRoot4.QuestSequence = list31; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(3374); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - CollectionsMarshal.AsSpan(list38)[0] = "alydev"; - questRoot5.Author = list38; - num = 5; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - Span span15 = CollectionsMarshal.AsSpan(list39); - ref QuestSequence reference30 = ref span15[0]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030766u, new Vector3(-284.22986f, 35.373142f, 204.66919f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaWright, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-284.22986f, 35.373142f, 204.66919f), - MaximumDistance = 50f, - TerritoryId = 814 - } - } - } - }; - obj29.Steps = list40; - reference30 = obj29; - ref QuestSequence reference31 = ref span15[1]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.Interact, 1030772u, new Vector3(-240.22284f, 20.521734f, 352.19336f), 814) - { - Fly = true - }; - obj30.Steps = list41; - reference31 = obj30; - ref QuestSequence reference32 = ref span15[2]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.Interact, 1030773u, new Vector3(-259.78485f, 21.732246f, 362.14233f), 814); - obj31.Steps = list42; - reference32 = obj31; - ref QuestSequence reference33 = ref span15[3]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.Interact, 1030774u, new Vector3(-290.27246f, 17.772081f, 442.86243f), 814) - { - Fly = true - }; - obj32.Steps = list43; - reference33 = obj32; - ref QuestSequence reference34 = ref span15[4]; - QuestSequence obj33 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030774u, new Vector3(-290.27246f, 17.772081f, 442.86243f), 814) - { - NextQuestId = new QuestId(3560) - }; - obj33.Steps = list44; - reference34 = obj33; - questRoot5.QuestSequence = list39; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(3375); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - CollectionsMarshal.AsSpan(list45)[0] = "liza"; - questRoot6.Author = list45; - num = 4; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - Span span16 = CollectionsMarshal.AsSpan(list46); - ref QuestSequence reference35 = ref span16[0]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027872u, new Vector3(268.4519f, 4.0296993f, -144.1825f), 815); - obj34.Steps = list47; - reference35 = obj34; - ref QuestSequence reference36 = ref span16[1]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - Span span17 = CollectionsMarshal.AsSpan(list48); - span17[0] = new QuestStep(EInteractionType.Interact, 1027264u, new Vector3(60.593506f, 36.247692f, -171.80133f), 819) - { - StopDistance = 7f, - TargetTerritoryId = (ushort)815, - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumAmaroLaunch - } - }; - span17[1] = new QuestStep(EInteractionType.Interact, 1030391u, new Vector3(579.9801f, -46.38523f, -684.90125f), 815); - obj35.Steps = list48; - reference36 = obj35; - ref QuestSequence reference37 = ref span16[2]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - Span span18 = CollectionsMarshal.AsSpan(list49); - ref QuestStep reference38 = ref span18[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2010010u, new Vector3(651.8806f, -54.062744f, -594.5068f), 815); - num3 = 6; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - Span span19 = CollectionsMarshal.AsSpan(list50); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list50; - reference38 = questStep2; - ref QuestStep reference39 = ref span18[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2010011u, new Vector3(665.0338f, -58.9151f, -575.9518f), 815); - num3 = 6; - List list51 = new List(num3); - CollectionsMarshal.SetCount(list51, num3); - Span span20 = CollectionsMarshal.AsSpan(list51); - span20[0] = null; - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list51; - reference39 = questStep3; - ref QuestStep reference40 = ref span18[2]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2010012u, new Vector3(674.5249f, -60.654602f, -566.03345f), 815); - num3 = 6; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - Span span21 = CollectionsMarshal.AsSpan(list52); - span21[0] = null; - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list52; - reference40 = questStep4; - obj36.Steps = list49; - reference37 = obj36; - ref QuestSequence reference41 = ref span16[3]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030391u, new Vector3(579.9801f, -46.38523f, -684.90125f), 815); - obj37.Steps = list53; - reference41 = obj37; - questRoot6.QuestSequence = list46; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(3379); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - CollectionsMarshal.AsSpan(list54)[0] = "liza"; - questRoot7.Author = list54; - num = 3; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - Span span22 = CollectionsMarshal.AsSpan(list55); - ref QuestSequence reference42 = ref span22[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031104u, new Vector3(41.397705f, 1.7633697f, 268.635f), 819); - obj38.Steps = list56; - reference42 = obj38; - ref QuestSequence reference43 = ref span22[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.Interact, 2010499u, new Vector3(655.1765f, 57.724854f, -436.51483f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandFortJobb - }; - obj39.Steps = list57; - reference43 = obj39; - ref QuestSequence reference44 = ref span22[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031104u, new Vector3(41.397705f, 1.7633697f, 268.635f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumPendants - } - }; - obj40.Steps = list58; - reference44 = obj40; - questRoot7.QuestSequence = list55; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(3380); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - CollectionsMarshal.AsSpan(list59)[0] = "liza"; - questRoot8.Author = list59; - num = 4; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - Span span23 = CollectionsMarshal.AsSpan(list60); - ref QuestSequence reference45 = ref span23[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027948u, new Vector3(40.42102f, 2.232896f, 261.49377f), 819); - obj41.Steps = list61; - reference45 = obj41; - ref QuestSequence reference46 = ref span23[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.Interact, 1028280u, new Vector3(784.0542f, 21.414852f, -9.414856f), 813) - { - AetheryteShortcut = EAetheryteLocation.LakelandFortJobb - }; - obj42.Steps = list62; - reference46 = obj42; - ref QuestSequence reference47 = ref span23[2]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 2 - }; - num2 = 12; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - Span span24 = CollectionsMarshal.AsSpan(list63); - ref QuestStep reference48 = ref span24[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1028279u, new Vector3(715.053f, 21.41357f, -26.93219f), 813); - num3 = 6; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - Span span25 = CollectionsMarshal.AsSpan(list64); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list64; - reference48 = questStep5; - ref QuestStep reference49 = ref span24[1]; - QuestStep obj44 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(703.03595f, 21.400166f, -29.025133f), 813) - { - Mount = true - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - Span span26 = CollectionsMarshal.AsSpan(list65); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list65; - skipConditions.StepIf = skipStepConditions; - obj44.SkipConditions = skipConditions; - reference49 = obj44; - ref QuestStep reference50 = ref span24[2]; - QuestStep obj45 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(704.28827f, 24.192482f, -17.380848f), 813) - { - DisableNavmesh = true - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - Span span27 = CollectionsMarshal.AsSpan(list66); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list66; - skipConditions2.StepIf = skipStepConditions2; - obj45.SkipConditions = skipConditions2; - reference50 = obj45; - ref QuestStep reference51 = ref span24[3]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1027339u, new Vector3(709.6819f, 24.19248f, 1.8157349f), 813); - num3 = 6; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - Span span28 = CollectionsMarshal.AsSpan(list67); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list67; - reference51 = questStep6; - ref QuestStep reference52 = ref span24[4]; - QuestStep questStep7 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(702.572f, 21.395899f, -29.691013f), 813); - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list68 = new List(num3); - CollectionsMarshal.SetCount(list68, num3); - Span span29 = CollectionsMarshal.AsSpan(list68); - span29[0] = null; - span29[1] = null; - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list68; - skipConditions3.StepIf = skipStepConditions3; - questStep7.SkipConditions = skipConditions3; - reference52 = questStep7; - ref QuestStep reference53 = ref span24[5]; - QuestStep questStep8 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(681.9016f, 32.510292f, -62.020554f), 813); - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - Span span30 = CollectionsMarshal.AsSpan(list69); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list69; - skipConditions4.StepIf = skipStepConditions4; - questStep8.SkipConditions = skipConditions4; - reference53 = questStep8; - ref QuestStep reference54 = ref span24[6]; - QuestStep questStep9 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(700.8876f, 21.146883f, -86.96297f), 813); - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 6; - List list70 = new List(num3); - CollectionsMarshal.SetCount(list70, num3); - Span span31 = CollectionsMarshal.AsSpan(list70); - span31[0] = null; - span31[1] = null; - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions5.CompletionQuestVariablesFlags = list70; - skipConditions5.StepIf = skipStepConditions5; - questStep9.SkipConditions = skipConditions5; - reference54 = questStep9; - ref QuestStep reference55 = ref span24[7]; - QuestStep obj46 = new QuestStep(EInteractionType.Interact, 1027420u, new Vector3(702.38794f, 21.798542f, -81.34589f), 813) - { - StopDistance = 7f - }; - num3 = 6; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - Span span32 = CollectionsMarshal.AsSpan(list71); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj46.CompletionQuestVariablesFlags = list71; - reference55 = obj46; - span24[8] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(735.5528f, 21.146883f, -88.66971f), 813) - { - DisableNavmesh = true - }; - span24[9] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(781.0609f, 23.037855f, -51.803383f), 813); - span24[10] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(805.13293f, 23.037834f, -45.432808f), 813); - span24[11] = new QuestStep(EInteractionType.Interact, 1027341u, new Vector3(805.35596f, 30.86825f, 7.9804688f), 813); - obj43.Steps = list63; - reference47 = obj43; - ref QuestSequence reference56 = ref span23[3]; - QuestSequence obj47 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - Span span33 = CollectionsMarshal.AsSpan(list72); - span33[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(794.2938f, 33.028008f, 6.1403913f), 813) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(783.8015f, 21.431774f, 6.478429f), - StopDistance = 0.25f - } - }; - span33[1] = new QuestStep(EInteractionType.CompleteQuest, 1028280u, new Vector3(784.0542f, 21.414852f, -9.414856f), 813); - obj47.Steps = list72; - reference56 = obj47; - questRoot8.QuestSequence = list60; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(3384); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - CollectionsMarshal.AsSpan(list73)[0] = "liza"; - questRoot9.Author = list73; - num = 3; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - Span span34 = CollectionsMarshal.AsSpan(list74); - ref QuestSequence reference57 = ref span34[0]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027382u, new Vector3(-765.92664f, 61.720478f, -304.1886f), 813); - obj48.Steps = list75; - reference57 = obj48; - ref QuestSequence reference58 = ref span34[1]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - Span span35 = CollectionsMarshal.AsSpan(list76); - ref QuestStep reference59 = ref span35[0]; - QuestStep obj50 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-724.9727f, 54.379677f, -289.8897f), 813) - { - Comment = "Tower Bottom" - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 6; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - Span span36 = CollectionsMarshal.AsSpan(list77); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions6.CompletionQuestVariablesFlags = list77; - skipConditions6.StepIf = skipStepConditions6; - obj50.SkipConditions = skipConditions6; - reference59 = obj50; - ref QuestStep reference60 = ref span35[1]; - QuestStep obj51 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-757.78326f, 97.68395f, -372.66458f), 813) - { - DisableNavmesh = true, - Comment = "Tower Bottom Platform 1" - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 6; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - Span span37 = CollectionsMarshal.AsSpan(list78); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions7.CompletionQuestVariablesFlags = list78; - skipConditions7.StepIf = skipStepConditions7; - obj51.SkipConditions = skipConditions7; - reference60 = obj51; - ref QuestStep reference61 = ref span35[2]; - QuestStep obj52 = new QuestStep(EInteractionType.UseItem, 2010618u, new Vector3(-792.1111f, 115.15979f, -346.4256f), 813) - { - ItemId = 2002831u - }; - num3 = 6; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - Span span38 = CollectionsMarshal.AsSpan(list79); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj52.CompletionQuestVariablesFlags = list79; - reference61 = obj52; - ref QuestStep reference62 = ref span35[3]; - QuestStep obj53 = new QuestStep(EInteractionType.UseItem, 2010619u, new Vector3(-798.27576f, 115.15979f, -320.05798f), 813) - { - ItemId = 2002831u - }; - num3 = 6; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - Span span39 = CollectionsMarshal.AsSpan(list80); - span39[0] = null; - span39[1] = null; - span39[2] = null; - span39[3] = null; - span39[4] = null; - span39[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj53.CompletionQuestVariablesFlags = list80; - reference62 = obj53; - ref QuestStep reference63 = ref span35[4]; - QuestStep obj54 = new QuestStep(EInteractionType.UseItem, 2010613u, new Vector3(-794.73566f, 115.15979f, -310.32275f), 813) - { - ItemId = 2002831u - }; - num3 = 6; - List list81 = new List(num3); - CollectionsMarshal.SetCount(list81, num3); - Span span40 = CollectionsMarshal.AsSpan(list81); - span40[0] = null; - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj54.CompletionQuestVariablesFlags = list81; - reference63 = obj54; - ref QuestStep reference64 = ref span35[5]; - QuestStep obj55 = new QuestStep(EInteractionType.UseItem, 2010620u, new Vector3(-789.05927f, 146.77649f, -344.1673f), 813) - { - ItemId = 2002831u - }; - num3 = 6; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - Span span41 = CollectionsMarshal.AsSpan(list82); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj55.CompletionQuestVariablesFlags = list82; - reference64 = obj55; - obj49.Steps = list76; - reference58 = obj49; - ref QuestSequence reference65 = ref span34[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027382u, new Vector3(-765.92664f, 61.720478f, -304.1886f), 813) - { - AetheryteShortcut = EAetheryteLocation.LakelandOstallImperative - }; - obj56.Steps = list83; - reference65 = obj56; - questRoot9.QuestSequence = list74; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(3385); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - CollectionsMarshal.AsSpan(list84)[0] = "liza"; - questRoot10.Author = list84; - num = 5; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - Span span42 = CollectionsMarshal.AsSpan(list85); - ref QuestSequence reference66 = ref span42[0]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031212u, new Vector3(-673.0907f, 51.157936f, -219.50104f), 813); - obj57.Steps = list86; - reference66 = obj57; - ref QuestSequence reference67 = ref span42[1]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.Interact, 1031214u, new Vector3(-425.2232f, 7.8791666f, -120.83624f), 813); - obj58.Steps = list87; - reference67 = obj58; - ref QuestSequence reference68 = ref span42[2]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 1031216u, new Vector3(-460.44104f, 0.94062716f, 79.39258f), 813); - obj59.Steps = list88; - reference68 = obj59; - ref QuestSequence reference69 = ref span42[3]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.UseItem, 1031213u, new Vector3(-465.1103f, 1.231928f, 77.927734f), 813) - { - ItemId = 2002832u - }; - obj60.Steps = list89; - reference69 = obj60; - ref QuestSequence reference70 = ref span42[4]; - QuestSequence obj61 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031212u, new Vector3(-673.0907f, 51.157936f, -219.50104f), 813) - { - AetheryteShortcut = EAetheryteLocation.LakelandOstallImperative - }; - obj61.Steps = list90; - reference70 = obj61; - questRoot10.QuestSequence = list85; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(3386); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - CollectionsMarshal.AsSpan(list91)[0] = "liza"; - questRoot11.Author = list91; - num = 4; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - Span span43 = CollectionsMarshal.AsSpan(list92); - ref QuestSequence reference71 = ref span43[0]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027419u, new Vector3(-700.7401f, 61.993748f, -353.62787f), 813); - obj62.Steps = list93; - reference71 = obj62; - ref QuestSequence reference72 = ref span43[1]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - Span span44 = CollectionsMarshal.AsSpan(list94); - span44[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010031u, new Vector3(-149.82837f, 15.27417f, -102.49487f), 813) - { - AetherCurrentId = 2818230u - }; - ref QuestStep reference73 = ref span44[1]; - QuestStep obj64 = new QuestStep(EInteractionType.Interact, 1027353u, new Vector3(-146.31879f, 28.47206f, -128.83197f), 813) - { - Mount = true - }; - num3 = 1; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - CollectionsMarshal.AsSpan(list95)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKZC003_03386_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKZC003_03386_A1_000_001") - }; - obj64.DialogueChoices = list95; - reference73 = obj64; - obj63.Steps = list94; - reference72 = obj63; - ref QuestSequence reference74 = ref span43[2]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 2 - }; - num2 = 6; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - Span span45 = CollectionsMarshal.AsSpan(list96); - span45[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-159.60991f, 28.47209f, -130.60031f), 813) - { - Mount = true - }; - span45[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-159.76884f, 32.30582f, -122.91172f), 813) - { - DisableNavmesh = true - }; - ref QuestStep reference75 = ref span45[2]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1028317u, new Vector3(-157.64093f, 49.13476f, -137.3465f), 813); - num3 = 6; - List list97 = new List(num3); - CollectionsMarshal.SetCount(list97, num3); - Span span46 = CollectionsMarshal.AsSpan(list97); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list97; - reference75 = questStep10; - span45[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-156.64954f, 5.779213f, -158.39209f), 813) - { - DisableNavmesh = true, - Mount = true - }; - ref QuestStep reference76 = ref span45[4]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1027368u, new Vector3(-120.65314f, 5.761645f, -159.77728f), 813); - num3 = 6; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - Span span47 = CollectionsMarshal.AsSpan(list98); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list98; - reference76 = questStep11; - ref QuestStep reference77 = ref span45[5]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1031559u, new Vector3(-194.17108f, 5.761844f, -153.79572f), 813); - num3 = 6; - List list99 = new List(num3); - CollectionsMarshal.SetCount(list99, num3); - Span span48 = CollectionsMarshal.AsSpan(list99); - span48[0] = null; - span48[1] = null; - span48[2] = null; - span48[3] = null; - span48[4] = null; - span48[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list99; - reference77 = questStep12; - obj65.Steps = list96; - reference74 = obj65; - ref QuestSequence reference78 = ref span43[3]; - QuestSequence obj66 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - Span span49 = CollectionsMarshal.AsSpan(list100); - span49[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-137.97934f, 14.623874f, -136.3065f), 813); - span49[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-137.54897f, 14.623859f, -121.3416f), 813) - { - DisableNavmesh = true - }; - span49[2] = new QuestStep(EInteractionType.CompleteQuest, 1027353u, new Vector3(-146.31879f, 28.47206f, -128.83197f), 813); - obj66.Steps = list100; - reference78 = obj66; - questRoot11.QuestSequence = list92; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(3395); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list101 = new List(num); - CollectionsMarshal.SetCount(list101, num); - CollectionsMarshal.AsSpan(list101)[0] = "liza"; - questRoot12.Author = list101; - num = 4; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - Span span50 = CollectionsMarshal.AsSpan(list102); - ref QuestSequence reference79 = ref span50[0]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030266u, new Vector3(-367.66614f, 66.863594f, 557.1526f), 816); - obj67.Steps = list103; - reference79 = obj67; - ref QuestSequence reference80 = ref span50[1]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.Interact, 1030267u, new Vector3(-161.30316f, 34.21811f, 607.38525f), 816); - obj68.Steps = list104; - reference80 = obj68; - ref QuestSequence reference81 = ref span50[2]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Say, 2009997u, new Vector3(-40.116028f, 24.063354f, 739.25366f), 816) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_LUCKZC012_03395_SYSTEM_000_013" - } - }; - obj69.Steps = list105; - reference81 = obj69; - ref QuestSequence reference82 = ref span50[3]; - QuestSequence obj70 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030266u, new Vector3(-367.66614f, 66.863594f, 557.1526f), 816) - { - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj70.Steps = list106; - reference82 = obj70; - questRoot12.QuestSequence = list102; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(3398); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - CollectionsMarshal.AsSpan(list107)[0] = "liza"; - questRoot13.Author = list107; - num = 5; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - Span span51 = CollectionsMarshal.AsSpan(list108); - ref QuestSequence reference83 = ref span51[0]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030618u, new Vector3(-613.39746f, 36.54754f, -215.41168f), 816); - obj71.Steps = list109; - reference83 = obj71; - ref QuestSequence reference84 = ref span51[1]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - Span span52 = CollectionsMarshal.AsSpan(list110); - span52[0] = new QuestStep(EInteractionType.Dive, null, new Vector3(-469.05124f, -0.60001665f, -194.937f), 816); - ref QuestStep reference85 = ref span52[1]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 2010160u, new Vector3(-456.80933f, -41.153625f, -232.01343f), 816); - num3 = 6; - List list111 = new List(num3); - CollectionsMarshal.SetCount(list111, num3); - Span span53 = CollectionsMarshal.AsSpan(list111); - span53[0] = null; - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list111; - reference85 = questStep13; - ref QuestStep reference86 = ref span52[2]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 2010161u, new Vector3(-341.02393f, -34.62274f, -211.4748f), 816); - num3 = 6; - List list112 = new List(num3); - CollectionsMarshal.SetCount(list112, num3); - Span span54 = CollectionsMarshal.AsSpan(list112); - span54[0] = null; - span54[1] = null; - span54[2] = null; - span54[3] = null; - span54[4] = null; - span54[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list112; - reference86 = questStep14; - ref QuestStep reference87 = ref span52[3]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 2010159u, new Vector3(-341.78687f, -56.992493f, -159.96033f), 816); - num3 = 6; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - Span span55 = CollectionsMarshal.AsSpan(list113); - span55[0] = null; - span55[1] = null; - span55[2] = null; - span55[3] = null; - span55[4] = null; - span55[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list113; - reference87 = questStep15; - ref QuestStep reference88 = ref span52[4]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 2010158u, new Vector3(-347.43274f, -48.264343f, -120.3479f), 816); - num3 = 6; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - Span span56 = CollectionsMarshal.AsSpan(list114); - span56[0] = null; - span56[1] = null; - span56[2] = null; - span56[3] = null; - span56[4] = null; - span56[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list114; - reference88 = questStep16; - obj72.Steps = list110; - reference84 = obj72; - ref QuestSequence reference89 = ref span51[2]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - Span span57 = CollectionsMarshal.AsSpan(list115); - span57[0] = new QuestStep(EInteractionType.WalkTo, 2010158u, new Vector3(-347.43274f, 0f, -120.3479f), 816) - { - DisableNavmesh = true, - Mount = true - }; - span57[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-438.7658f, 0.09470785f, -86.849434f), 816) - { - DisableNavmesh = true - }; - span57[2] = new QuestStep(EInteractionType.Interact, 1030618u, new Vector3(-613.39746f, 36.54754f, -215.41168f), 816); - obj73.Steps = list115; - reference89 = obj73; - ref QuestSequence reference90 = ref span51[3]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - Span span58 = CollectionsMarshal.AsSpan(list116); - ref QuestStep reference91 = ref span58[0]; - QuestStep obj75 = new QuestStep(EInteractionType.UseItem, 2010163u, new Vector3(-659.9985f, 38.864624f, -227.25269f), 816) - { - ItemId = 2002637u - }; - num3 = 6; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - Span span59 = CollectionsMarshal.AsSpan(list117); - span59[0] = null; - span59[1] = null; - span59[2] = null; - span59[3] = null; - span59[4] = null; - span59[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj75.CompletionQuestVariablesFlags = list117; - reference91 = obj75; - ref QuestStep reference92 = ref span58[1]; - QuestStep obj76 = new QuestStep(EInteractionType.UseItem, 2010164u, new Vector3(-664.02686f, 40.66516f, -225.08588f), 816) - { - ItemId = 2002637u - }; - num3 = 6; - List list118 = new List(num3); - CollectionsMarshal.SetCount(list118, num3); - Span span60 = CollectionsMarshal.AsSpan(list118); - span60[0] = null; - span60[1] = null; - span60[2] = null; - span60[3] = null; - span60[4] = null; - span60[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj76.CompletionQuestVariablesFlags = list118; - reference92 = obj76; - ref QuestStep reference93 = ref span58[2]; - QuestStep obj77 = new QuestStep(EInteractionType.UseItem, 2010162u, new Vector3(-667.6585f, 42.74048f, -228.62598f), 816) - { - ItemId = 2002637u - }; - num3 = 6; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - Span span61 = CollectionsMarshal.AsSpan(list119); - span61[0] = null; - span61[1] = null; - span61[2] = null; - span61[3] = null; - span61[4] = null; - span61[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj77.CompletionQuestVariablesFlags = list119; - reference93 = obj77; - obj74.Steps = list116; - reference90 = obj74; - ref QuestSequence reference94 = ref span51[4]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030618u, new Vector3(-613.39746f, 36.54754f, -215.41168f), 816); - obj78.Steps = list120; - reference94 = obj78; - questRoot13.QuestSequence = list108; - AddQuest(questId13, questRoot13); - } - - private static void LoadQuests68() - { - QuestId questId = new QuestId(3404); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 5; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030838u, new Vector3(-285.90833f, 40.324036f, 444.41882f), 816); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference3 = ref span2[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2010362u, new Vector3(-622.4308f, 37.369263f, -232.3797f), 816); - int num3 = 6; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - Span span3 = CollectionsMarshal.AsSpan(list5); - span3[0] = null; - span3[1] = null; - span3[2] = null; - span3[3] = null; - span3[4] = null; - span3[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list5; - reference3 = questStep; - ref QuestStep reference4 = ref span2[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2010363u, new Vector3(-621.8815f, 37.338745f, -234.33282f), 816); - num3 = 6; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - Span span4 = CollectionsMarshal.AsSpan(list6); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list6; - reference4 = questStep2; - ref QuestStep reference5 = ref span2[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2010364u, new Vector3(-627.7409f, 37.094604f, -245.65503f), 816); - num3 = 6; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span5 = CollectionsMarshal.AsSpan(list7); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list7; - reference5 = questStep3; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference6 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.Interact, 1030839u, new Vector3(-628.1377f, 35.861557f, -238.20862f), 816); - obj3.Steps = list8; - reference6 = obj3; - ref QuestSequence reference7 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.Interact, 1030838u, new Vector3(-285.90833f, 40.324036f, 444.41882f), 816) - { - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj4.Steps = list9; - reference7 = obj4; - ref QuestSequence reference8 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030838u, new Vector3(-285.90833f, 40.324036f, 444.41882f), 816); - obj5.Steps = list10; - reference8 = obj5; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(3427); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list11 = new List(num); - CollectionsMarshal.SetCount(list11, num); - CollectionsMarshal.AsSpan(list11)[0] = "liza"; - questRoot2.Author = list11; - num = 5; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - Span span6 = CollectionsMarshal.AsSpan(list12); - ref QuestSequence reference9 = ref span6[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027695u, new Vector3(441.64185f, 89.80711f, -653.43713f), 816); - obj6.Steps = list13; - reference9 = obj6; - ref QuestSequence reference10 = ref span6[1]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.Interact, 2010481u, new Vector3(238.7273f, 72.95337f, -723.72015f), 816); - obj7.Steps = list14; - reference10 = obj7; - ref QuestSequence reference11 = ref span6[2]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.Interact, 2010482u, new Vector3(156.63379f, 55.588623f, -629.8467f), 816); - obj8.Steps = list15; - reference11 = obj8; - ref QuestSequence reference12 = ref span6[3]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.Interact, 2010483u, new Vector3(34.1344f, 39.902344f, -622.18665f), 816); - obj9.Steps = list16; - reference12 = obj9; - ref QuestSequence reference13 = ref span6[4]; - QuestSequence obj10 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - ref QuestStep reference14 = ref CollectionsMarshal.AsSpan(list17)[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.CompleteQuest, 1031025u, new Vector3(-79.75891f, 37.968338f, -531.8532f), 816); - num3 = 1; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - CollectionsMarshal.AsSpan(list18)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKZD101_03427_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKZD101_03427_A1_000_000") - }; - questStep4.DialogueChoices = list18; - reference14 = questStep4; - obj10.Steps = list17; - reference13 = obj10; - questRoot2.QuestSequence = list12; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(3444); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - CollectionsMarshal.AsSpan(list19)[0] = "liza"; - questRoot3.Author = list19; - num = 4; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - Span span7 = CollectionsMarshal.AsSpan(list20); - ref QuestSequence reference15 = ref span7[0]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029023u, new Vector3(-131.36493f, -16.477911f, 316.3042f), 817); - obj11.Steps = list21; - reference15 = obj11; - ref QuestSequence reference16 = ref span7[1]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.Say, 1029024u, new Vector3(-301.5335f, 8.681433f, 711.2992f), 817) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_LUCKZE010_03444_SYSTEM_100_011" - } - }; - obj12.Steps = list22; - reference16 = obj12; - ref QuestSequence reference17 = ref span7[2]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.Interact, 2009776u, new Vector3(-375.38727f, 10.0251465f, 451.65173f), 817); - obj13.Steps = list23; - reference17 = obj13; - ref QuestSequence reference18 = ref span7[3]; - QuestSequence obj14 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029024u, new Vector3(-301.5335f, 8.681433f, 711.2992f), 817); - obj14.Steps = list24; - reference18 = obj14; - questRoot3.QuestSequence = list20; - AddQuest(questId3, questRoot3); - } - - private static void LoadQuests69() - { - QuestId questId = new QuestId(3467); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027736u, new Vector3(396.38354f, 20.422523f, -179.12573f), 817); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference3 = ref span2[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1031383u, new Vector3(569.51245f, 27.331062f, 143.69421f), 817); - int num3 = 6; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - Span span3 = CollectionsMarshal.AsSpan(list5); - span3[0] = null; - span3[1] = null; - span3[2] = null; - span3[3] = null; - span3[4] = null; - span3[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list5; - reference3 = questStep; - ref QuestStep reference4 = ref span2[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1031381u, new Vector3(558.64795f, 27.378386f, 152.42236f), 817); - num3 = 6; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - Span span4 = CollectionsMarshal.AsSpan(list6); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list6; - reference4 = questStep2; - ref QuestStep reference5 = ref span2[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1031382u, new Vector3(575.1887f, 27.872107f, 161.39453f), 817); - num3 = 6; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span5 = CollectionsMarshal.AsSpan(list7); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list7; - reference5 = questStep3; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference6 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027736u, new Vector3(396.38354f, 20.422523f, -179.12573f), 817) - { - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - obj3.Steps = list8; - reference6 = obj3; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(3478); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - CollectionsMarshal.AsSpan(list9)[0] = "liza"; - questRoot2.Author = list9; - num = 5; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - Span span6 = CollectionsMarshal.AsSpan(list10); - ref QuestSequence reference7 = ref span6[0]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027716u, new Vector3(494.9873f, -6.555339f, -224.93329f), 817); - obj4.Steps = list11; - reference7 = obj4; - ref QuestSequence reference8 = ref span6[1]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Interact, 1031001u, new Vector3(167.71179f, -20f, -471.00024f), 817); - obj5.Steps = list12; - reference8 = obj5; - ref QuestSequence reference9 = ref span6[2]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - ref QuestStep reference10 = ref CollectionsMarshal.AsSpan(list13)[0]; - QuestStep obj7 = new QuestStep(EInteractionType.Combat, null, new Vector3(168.35954f, -20f, -483.02176f), 817) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - Span span7 = CollectionsMarshal.AsSpan(list14); - span7[0] = 11163u; - span7[1] = 11164u; - obj7.KillEnemyDataIds = list14; - reference10 = obj7; - obj6.Steps = list13; - reference9 = obj6; - ref QuestSequence reference11 = ref span6[3]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.Interact, 1031001u, new Vector3(167.71179f, -20f, -471.00024f), 817) - { - StopDistance = 7f - }; - obj8.Steps = list15; - reference11 = obj8; - ref QuestSequence reference12 = ref span6[4]; - QuestSequence obj9 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027716u, new Vector3(494.9873f, -6.555339f, -224.93329f), 817) - { - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - obj9.Steps = list16; - reference12 = obj9; - questRoot2.QuestSequence = list10; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(3479); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - CollectionsMarshal.AsSpan(list17)[0] = "liza"; - questRoot3.Author = list17; - num = 3; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - Span span8 = CollectionsMarshal.AsSpan(list18); - ref QuestSequence reference13 = ref span8[0]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027716u, new Vector3(494.9873f, -6.555339f, -224.93329f), 817); - obj10.Steps = list19; - reference13 = obj10; - ref QuestSequence reference14 = ref span8[1]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - Span span9 = CollectionsMarshal.AsSpan(list20); - ref QuestStep reference15 = ref span9[0]; - QuestStep obj12 = new QuestStep(EInteractionType.Interact, 1031012u, new Vector3(395.01025f, 20.422523f, -211.81049f), 817) - { - Fly = true - }; - num3 = 6; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - Span span10 = CollectionsMarshal.AsSpan(list21); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj12.CompletionQuestVariablesFlags = list21; - reference15 = obj12; - ref QuestStep reference16 = ref span9[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(432.72134f, 34.13806f, -146.49078f), 817); - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - Span span11 = CollectionsMarshal.AsSpan(list22); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list22; - skipConditions.StepIf = skipStepConditions; - questStep4.SkipConditions = skipConditions; - reference16 = questStep4; - ref QuestStep reference17 = ref span9[2]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1031150u, new Vector3(433.85962f, 34.138065f, -145.37274f), 817); - num3 = 6; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - Span span12 = CollectionsMarshal.AsSpan(list23); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list23; - reference17 = questStep5; - ref QuestStep reference18 = ref span9[3]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1031151u, new Vector3(401.20544f, 33.63778f, -104.32593f), 817); - num3 = 6; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - Span span13 = CollectionsMarshal.AsSpan(list24); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list24; - reference18 = questStep6; - obj11.Steps = list20; - reference14 = obj11; - ref QuestSequence reference19 = ref span8[2]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027716u, new Vector3(494.9873f, -6.555339f, -224.93329f), 817) - { - Fly = true, - NextQuestId = new QuestId(3480) - }; - obj13.Steps = list25; - reference19 = obj13; - questRoot3.QuestSequence = list18; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(3480); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - CollectionsMarshal.AsSpan(list26)[0] = "liza"; - questRoot4.Author = list26; - num = 10; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - Span span14 = CollectionsMarshal.AsSpan(list27); - ref QuestSequence reference20 = ref span14[0]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027716u, new Vector3(494.9873f, -6.555339f, -224.93329f), 817); - obj14.Steps = list28; - reference20 = obj14; - ref QuestSequence reference21 = ref span14[1]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.Interact, 1031007u, new Vector3(566.27747f, 26.783415f, 133.77576f), 817) - { - Fly = true - }; - obj15.Steps = list29; - reference21 = obj15; - ref QuestSequence reference22 = ref span14[2]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - ref QuestStep reference23 = ref CollectionsMarshal.AsSpan(list30)[0]; - QuestStep obj17 = new QuestStep(EInteractionType.Combat, null, new Vector3(591.2435f, 22.702421f, 85.20056f), 817) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - ref ComplexCombatData reference24 = ref CollectionsMarshal.AsSpan(list31)[0]; - ComplexCombatData obj18 = new ComplexCombatData - { - DataId = 10285u, - MinimumKillCount = 3u - }; - int num4 = 6; - List list32 = new List(num4); - CollectionsMarshal.SetCount(list32, num4); - Span span15 = CollectionsMarshal.AsSpan(list32); - span15[0] = null; - span15[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = null; - obj18.CompletionQuestVariablesFlags = list32; - reference24 = obj18; - obj17.ComplexCombatData = list31; - reference23 = obj17; - obj16.Steps = list30; - reference22 = obj16; - ref QuestSequence reference25 = ref span14[3]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Interact, 1031007u, new Vector3(566.27747f, 26.783415f, 133.77576f), 817) - { - Fly = true - }; - obj19.Steps = list33; - reference25 = obj19; - ref QuestSequence reference26 = ref span14[4]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.Interact, 1031008u, new Vector3(269.97778f, 13.099541f, 134.59973f), 817) - { - Fly = true - }; - obj20.Steps = list34; - reference26 = obj20; - ref QuestSequence reference27 = ref span14[5]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - Span span16 = CollectionsMarshal.AsSpan(list35); - ref QuestStep reference28 = ref span16[0]; - QuestStep obj22 = new QuestStep(EInteractionType.Interact, 2010451u, new Vector3(265.03394f, 11.306824f, 73.899414f), 817) - { - Fly = true - }; - num3 = 6; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - Span span17 = CollectionsMarshal.AsSpan(list36); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj22.CompletionQuestVariablesFlags = list36; - reference28 = obj22; - ref QuestStep reference29 = ref span16[1]; - QuestStep obj23 = new QuestStep(EInteractionType.Interact, 2010450u, new Vector3(267.20068f, 11.184814f, 30.502686f), 817) - { - StopDistance = 0.5f, - Fly = true - }; - num3 = 6; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - Span span18 = CollectionsMarshal.AsSpan(list37); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj23.CompletionQuestVariablesFlags = list37; - reference29 = obj23; - ref QuestStep reference30 = ref span16[2]; - QuestStep obj24 = new QuestStep(EInteractionType.Interact, 2010449u, new Vector3(242.14539f, 21.86615f, -20.004639f), 817) - { - StopDistance = 0.5f, - Fly = true - }; - num3 = 6; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - Span span19 = CollectionsMarshal.AsSpan(list38); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj24.CompletionQuestVariablesFlags = list38; - reference30 = obj24; - obj21.Steps = list35; - reference27 = obj21; - ref QuestSequence reference31 = ref span14[6]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 1031008u, new Vector3(269.97778f, 13.099541f, 134.59973f), 817) - { - Fly = true - }; - obj25.Steps = list39; - reference31 = obj25; - ref QuestSequence reference32 = ref span14[7]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - ref QuestStep reference33 = ref CollectionsMarshal.AsSpan(list40)[0]; - QuestStep obj27 = new QuestStep(EInteractionType.Combat, null, new Vector3(441.3478f, 11.8605385f, 172.98285f), 817) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - CollectionsMarshal.AsSpan(list41)[0] = 11165u; - obj27.KillEnemyDataIds = list41; - reference33 = obj27; - obj26.Steps = list40; - reference32 = obj26; - ref QuestSequence reference34 = ref span14[8]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.Interact, 1031010u, new Vector3(441.062f, 11.948165f, 173.87659f), 817); - obj28.Steps = list42; - reference34 = obj28; - ref QuestSequence reference35 = ref span14[9]; - QuestSequence obj29 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027716u, new Vector3(494.9873f, -6.555339f, -224.93329f), 817) - { - Fly = true, - NextQuestId = new QuestId(3481) - }; - obj29.Steps = list43; - reference35 = obj29; - questRoot4.QuestSequence = list27; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(3481); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - CollectionsMarshal.AsSpan(list44)[0] = "liza"; - questRoot5.Author = list44; - num = 5; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - Span span20 = CollectionsMarshal.AsSpan(list45); - ref QuestSequence reference36 = ref span20[0]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031006u, new Vector3(493.55298f, -6.5553393f, -226.30658f), 817) - { - StopDistance = 7f - }; - obj30.Steps = list46; - reference36 = obj30; - ref QuestSequence reference37 = ref span20[1]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Interact, 1031001u, new Vector3(167.71179f, -20f, -471.00024f), 817) - { - Fly = true - }; - obj31.Steps = list47; - reference37 = obj31; - ref QuestSequence reference38 = ref span20[2]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - ref QuestStep reference39 = ref CollectionsMarshal.AsSpan(list48)[0]; - QuestStep obj33 = new QuestStep(EInteractionType.Combat, null, new Vector3(168.50095f, -20f, -481.85556f), 817) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - CollectionsMarshal.AsSpan(list49)[0] = 11166u; - obj33.KillEnemyDataIds = list49; - reference39 = obj33; - obj32.Steps = list48; - reference38 = obj32; - ref QuestSequence reference40 = ref span20[3]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.Interact, 1031001u, new Vector3(167.71179f, -20f, -471.00024f), 817) - { - StopDistance = 5f - }; - obj34.Steps = list50; - reference40 = obj34; - ref QuestSequence reference41 = ref span20[4]; - QuestSequence obj35 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027716u, new Vector3(494.9873f, -6.555339f, -224.93329f), 817) - { - Fly = true, - NextQuestId = new QuestId(3482) - }; - obj35.Steps = list51; - reference41 = obj35; - questRoot5.QuestSequence = list45; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(3482); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - CollectionsMarshal.AsSpan(list52)[0] = "liza"; - questRoot6.Author = list52; - num = 8; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - Span span21 = CollectionsMarshal.AsSpan(list53); - ref QuestSequence reference42 = ref span21[0]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031152u, new Vector3(465.7511f, 18.97871f, -61.08191f), 817) - { - Fly = true - }; - obj36.Steps = list54; - reference42 = obj36; - ref QuestSequence reference43 = ref span21[1]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.Interact, 1031156u, new Vector3(160.14343f, -4.7555914f, 297.26086f), 817) - { - Fly = true - }; - obj37.Steps = list55; - reference43 = obj37; - ref QuestSequence reference44 = ref span21[2]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - ref QuestStep reference45 = ref CollectionsMarshal.AsSpan(list56)[0]; - QuestStep obj39 = new QuestStep(EInteractionType.Combat, null, new Vector3(180.39362f, -26.65495f, 784.1922f), 817) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - CollectionsMarshal.AsSpan(list57)[0] = 11167u; - obj39.KillEnemyDataIds = list57; - reference45 = obj39; - obj38.Steps = list56; - reference44 = obj38; - ref QuestSequence reference46 = ref span21[3]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.Interact, 1031160u, new Vector3(179.76648f, -26.785097f, 785.3054f), 817) - { - StopDistance = 5f - }; - obj40.Steps = list58; - reference46 = obj40; - ref QuestSequence reference47 = ref span21[4]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.Interact, 1027716u, new Vector3(494.9873f, -6.555339f, -224.93329f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - obj41.Steps = list59; - reference47 = obj41; - ref QuestSequence reference48 = ref span21[5]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 5 - }; - num2 = 4; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - Span span22 = CollectionsMarshal.AsSpan(list60); - ref QuestStep reference49 = ref span22[0]; - QuestStep obj43 = new QuestStep(EInteractionType.Interact, 2010458u, new Vector3(101.15198f, -18.783936f, -672.2057f), 817) - { - Fly = true - }; - num3 = 6; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - Span span23 = CollectionsMarshal.AsSpan(list61); - span23[0] = null; - span23[1] = null; - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj43.CompletionQuestVariablesFlags = list61; - reference49 = obj43; - ref QuestStep reference50 = ref span22[1]; - QuestStep obj44 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(216.41074f, 11.20001f, -712.12494f), 817) - { - Fly = true - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - Span span24 = CollectionsMarshal.AsSpan(list62); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list62; - skipConditions2.StepIf = skipStepConditions2; - obj44.SkipConditions = skipConditions2; - reference50 = obj44; - ref QuestStep reference51 = ref span22[2]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2010457u, new Vector3(221.30151f, 11.184814f, -721.24817f), 817); - num3 = 6; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - Span span25 = CollectionsMarshal.AsSpan(list63); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list63; - reference51 = questStep7; - ref QuestStep reference52 = ref span22[3]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2010456u, new Vector3(229.11414f, 12.802246f, -706.8437f), 817); - num3 = 6; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - Span span26 = CollectionsMarshal.AsSpan(list64); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list64; - reference52 = questStep8; - obj42.Steps = list60; - reference48 = obj42; - ref QuestSequence reference53 = ref span21[6]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.Interact, 1031164u, new Vector3(169.05469f, -19.903002f, -530.2052f), 817) - { - Fly = true - }; - obj45.Steps = list65; - reference53 = obj45; - ref QuestSequence reference54 = ref span21[7]; - QuestSequence obj46 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027716u, new Vector3(494.9873f, -6.555339f, -224.93329f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - obj46.Steps = list66; - reference54 = obj46; - questRoot6.QuestSequence = list53; - AddQuest(questId6, questRoot6); - } - - private static void LoadQuests70() - { - QuestId questId = new QuestId(3503); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 6; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030979u, new Vector3(-424.61285f, 31.900826f, -226.64227f), 815); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference3 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj3 = new QuestStep(EInteractionType.Combat, null, new Vector3(-51.720833f, -17.25763f, 37.377193f), 815) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - int num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = 11103u; - obj3.KillEnemyDataIds = list5; - reference3 = obj3; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Interact, 1030980u, new Vector3(-53.75763f, -17.25763f, 35.416138f), 815) - { - StopDistance = 5f - }; - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[3]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - ref QuestStep reference6 = ref CollectionsMarshal.AsSpan(list7)[0]; - QuestStep obj6 = new QuestStep(EInteractionType.Combat, null, new Vector3(56.450626f, -30.337545f, 103.22127f), 815) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - CollectionsMarshal.AsSpan(list8)[0] = 11103u; - obj6.KillEnemyDataIds = list8; - reference6 = obj6; - obj5.Steps = list7; - reference5 = obj5; - ref QuestSequence reference7 = ref span[4]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.Interact, 1030981u, new Vector3(56.443115f, -30.173006f, 101.76245f), 815) - { - StopDistance = 5f - }; - obj7.Steps = list9; - reference7 = obj7; - ref QuestSequence reference8 = ref span[5]; - QuestSequence obj8 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030982u, new Vector3(13.961914f, -47.887844f, 169.78711f), 815); - obj8.Steps = list10; - reference8 = obj8; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(3511); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list11 = new List(num); - CollectionsMarshal.SetCount(list11, num); - CollectionsMarshal.AsSpan(list11)[0] = "liza"; - questRoot2.Author = list11; - num = 3; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - Span span2 = CollectionsMarshal.AsSpan(list12); - ref QuestSequence reference9 = ref span2[0]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027927u, new Vector3(-476.95123f, 47.78906f, -200.61041f), 815); - obj9.Steps = list13; - reference9 = obj9; - ref QuestSequence reference10 = ref span2[1]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.Interact, 1030759u, new Vector3(-558.9227f, 52.408985f, -188.79993f), 815); - obj10.Steps = list14; - reference10 = obj10; - ref QuestSequence reference11 = ref span2[2]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - Span span3 = CollectionsMarshal.AsSpan(list15); - span3[0] = new QuestStep(EInteractionType.AcceptQuest, 1030979u, new Vector3(-424.61285f, 31.900826f, -226.64227f), 815) - { - PickUpQuestId = new QuestId(3503) - }; - span3[1] = new QuestStep(EInteractionType.CompleteQuest, 1030807u, new Vector3(-336.6903f, 19.24816f, 75.913574f), 815); - obj11.Steps = list15; - reference11 = obj11; - questRoot2.QuestSequence = list12; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(3516); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - CollectionsMarshal.AsSpan(list16)[0] = "liza"; - questRoot3.Author = list16; - num = 4; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - Span span4 = CollectionsMarshal.AsSpan(list17); - ref QuestSequence reference12 = ref span4[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030455u, new Vector3(54.09314f, 83.001076f, -74.540344f), 820); - obj12.Steps = list18; - reference12 = obj12; - ref QuestSequence reference13 = ref span4[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.Interact, 1030456u, new Vector3(63.279175f, -4.0096626f, 145.28113f), 820) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Eulmore, - To = EAetheryteLocation.EulmoreSoutheastDerelict - } - }; - obj13.Steps = list19; - reference13 = obj13; - ref QuestSequence reference14 = ref span4[2]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.Interact, 1030455u, new Vector3(54.09314f, 83.001076f, -74.540344f), 820) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.EulmoreSoutheastDerelict, - To = EAetheryteLocation.Eulmore - } - }; - obj14.Steps = list20; - reference14 = obj14; - ref QuestSequence reference15 = ref span4[3]; - QuestSequence obj15 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030457u, new Vector3(63.370728f, -4.158061f, 143.93835f), 820) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Eulmore, - To = EAetheryteLocation.EulmoreSoutheastDerelict - }, - NextQuestId = new QuestId(3517) - }; - obj15.Steps = list21; - reference15 = obj15; - questRoot3.QuestSequence = list17; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(3517); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - CollectionsMarshal.AsSpan(list22)[0] = "liza"; - questRoot4.Author = list22; - num = 4; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - Span span5 = CollectionsMarshal.AsSpan(list23); - ref QuestSequence reference16 = ref span5[0]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030456u, new Vector3(63.279175f, -4.0096626f, 145.28113f), 820); - obj16.Steps = list24; - reference16 = obj16; - ref QuestSequence reference17 = ref span5[1]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - ref QuestStep reference18 = ref CollectionsMarshal.AsSpan(list25)[0]; - QuestStep obj18 = new QuestStep(EInteractionType.Combat, null, new Vector3(383.55106f, 4.5417395f, 602.9981f), 814) - { - StopDistance = 0.5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaStilltide, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - CollectionsMarshal.AsSpan(list26)[0] = 11087u; - obj18.KillEnemyDataIds = list26; - reference18 = obj18; - obj17.Steps = list25; - reference17 = obj17; - ref QuestSequence reference19 = ref span5[2]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.Interact, 1030458u, new Vector3(379.84277f, 5.363723f, 600.3967f), 814) - { - StopDistance = 7f - }; - obj19.Steps = list27; - reference19 = obj19; - ref QuestSequence reference20 = ref span5[3]; - QuestSequence obj20 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030463u, new Vector3(-14.847046f, -6.9869757f, -124.4068f), 820) - { - AetheryteShortcut = EAetheryteLocation.Eulmore, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Eulmore, - To = EAetheryteLocation.EulmoreGloryGate - } - }; - obj20.Steps = list28; - reference20 = obj20; - questRoot4.QuestSequence = list23; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(3518); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - CollectionsMarshal.AsSpan(list29)[0] = "liza"; - questRoot5.Author = list29; - num = 3; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - Span span6 = CollectionsMarshal.AsSpan(list30); - ref QuestSequence reference21 = ref span6[0]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029983u, new Vector3(-56.565247f, -4.821f, -88.059875f), 820); - obj21.Steps = list31; - reference21 = obj21; - ref QuestSequence reference22 = ref span6[1]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - Span span7 = CollectionsMarshal.AsSpan(list32); - ref QuestStep reference23 = ref span7[0]; - QuestStep obj23 = new QuestStep(EInteractionType.Interact, 1027606u, new Vector3(-50.247986f, -4.820967f, -94.65173f), 820) - { - StopDistance = 7f - }; - num3 = 6; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - Span span8 = CollectionsMarshal.AsSpan(list33); - span8[0] = null; - span8[1] = null; - span8[2] = null; - span8[3] = null; - span8[4] = null; - span8[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj23.CompletionQuestVariablesFlags = list33; - reference23 = obj23; - ref QuestStep reference24 = ref span7[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1029980u, new Vector3(-81.59003f, -0.80081946f, 40.878906f), 820); - num3 = 6; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - Span span9 = CollectionsMarshal.AsSpan(list34); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list34; - reference24 = questStep; - ref QuestStep reference25 = ref span7[2]; - QuestStep obj24 = new QuestStep(EInteractionType.Interact, 1027604u, new Vector3(76.3103f, -8.115f, -46.219604f), 820) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.EulmoreNightsoilPots, - To = EAetheryteLocation.EulmoreGloryGate - } - }; - num3 = 6; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - Span span10 = CollectionsMarshal.AsSpan(list35); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj24.CompletionQuestVariablesFlags = list35; - reference25 = obj24; - obj22.Steps = list32; - reference22 = obj22; - ref QuestSequence reference26 = ref span6[2]; - QuestSequence obj25 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - ref QuestStep reference27 = ref CollectionsMarshal.AsSpan(list36)[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.CompleteQuest, 1029983u, new Vector3(-56.565247f, -4.821f, -88.059875f), 820); - num3 = 1; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - CollectionsMarshal.AsSpan(list37)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKZH008_03518_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKZH008_03518_A1_000_003") - }; - questStep2.DialogueChoices = list37; - reference27 = questStep2; - obj25.Steps = list36; - reference26 = obj25; - questRoot5.QuestSequence = list30; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(3519); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - CollectionsMarshal.AsSpan(list38)[0] = "liza"; - questRoot6.Author = list38; - num = 3; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - Span span11 = CollectionsMarshal.AsSpan(list39); - ref QuestSequence reference28 = ref span11[0]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027550u, new Vector3(52.536743f, 82.8351f, 13.595764f), 820); - obj26.Steps = list40; - reference28 = obj26; - ref QuestSequence reference29 = ref span11[1]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - Span span12 = CollectionsMarshal.AsSpan(list41); - ref QuestStep reference30 = ref span12[0]; - QuestStep obj28 = new QuestStep(EInteractionType.Interact, 2010114u, new Vector3(81.19324f, -10.421997f, 48.8136f), 820) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Eulmore, - To = EAetheryteLocation.EulmoreSoutheastDerelict - } - }; - num3 = 6; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - Span span13 = CollectionsMarshal.AsSpan(list42); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj28.CompletionQuestVariablesFlags = list42; - reference30 = obj28; - ref QuestStep reference31 = ref span12[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2010116u, new Vector3(94.40759f, -8.377258f, -57.358704f), 820); - num3 = 6; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - Span span14 = CollectionsMarshal.AsSpan(list43); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list43; - reference31 = questStep3; - ref QuestStep reference32 = ref span12[2]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2010115u, new Vector3(-30.167114f, -11.917358f, 106.43164f), 820); - num3 = 6; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - Span span15 = CollectionsMarshal.AsSpan(list44); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list44; - reference32 = questStep4; - obj27.Steps = list41; - reference29 = obj27; - ref QuestSequence reference33 = ref span11[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027550u, new Vector3(52.536743f, 82.8351f, 13.595764f), 820) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.EulmoreNightsoilPots, - To = EAetheryteLocation.Eulmore - } - }; - obj29.Steps = list45; - reference33 = obj29; - questRoot6.QuestSequence = list39; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(3520); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - CollectionsMarshal.AsSpan(list46)[0] = "liza"; - questRoot7.Author = list46; - num = 3; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - Span span16 = CollectionsMarshal.AsSpan(list47); - ref QuestSequence reference34 = ref span16[0]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030465u, new Vector3(19.272095f, 36f, -4.409851f), 820); - obj30.Steps = list48; - reference34 = obj30; - ref QuestSequence reference35 = ref span16[1]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - Span span17 = CollectionsMarshal.AsSpan(list49); - ref QuestStep reference36 = ref span17[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1027537u, new Vector3(-3.982666f, 23.1f, 27.145752f), 820); - num3 = 6; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - Span span18 = CollectionsMarshal.AsSpan(list50); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list50; - reference36 = questStep5; - ref QuestStep reference37 = ref span17[1]; - QuestStep obj32 = new QuestStep(EInteractionType.Interact, 1027554u, new Vector3(27.54248f, 82.78693f, 32.303345f), 820) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Eulmore - }; - num3 = 6; - List list51 = new List(num3); - CollectionsMarshal.SetCount(list51, num3); - Span span19 = CollectionsMarshal.AsSpan(list51); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj32.CompletionQuestVariablesFlags = list51; - reference37 = obj32; - ref QuestStep reference38 = ref span17[2]; - QuestStep obj33 = new QuestStep(EInteractionType.Interact, 1027593u, new Vector3(78.11096f, -10.682121f, 73.28906f), 820) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Eulmore, - To = EAetheryteLocation.EulmoreSoutheastDerelict - } - }; - num3 = 6; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - Span span20 = CollectionsMarshal.AsSpan(list52); - span20[0] = null; - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj33.CompletionQuestVariablesFlags = list52; - reference38 = obj33; - obj31.Steps = list49; - reference35 = obj31; - ref QuestSequence reference39 = ref span16[2]; - QuestSequence obj34 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - ref QuestStep reference40 = ref CollectionsMarshal.AsSpan(list53)[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.CompleteQuest, 1030465u, new Vector3(19.272095f, 36f, -4.409851f), 820); - num3 = 1; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - CollectionsMarshal.AsSpan(list54)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKZH010_03520_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKZH010_03520_A1_000_001") - }; - questStep6.DialogueChoices = list54; - reference40 = questStep6; - obj34.Steps = list53; - reference39 = obj34; - questRoot7.QuestSequence = list47; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(3521); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - CollectionsMarshal.AsSpan(list55)[0] = "liza"; - questRoot8.Author = list55; - num = 3; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - Span span21 = CollectionsMarshal.AsSpan(list56); - ref QuestSequence reference41 = ref span21[0]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030467u, new Vector3(-4.348877f, 6f, -30.319702f), 820); - obj35.Steps = list57; - reference41 = obj35; - ref QuestSequence reference42 = ref span21[1]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.Interact, 1030466u, new Vector3(40.05493f, -10.468191f, 73.258545f), 820) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.EulmoreGloryGate, - To = EAetheryteLocation.EulmoreSoutheastDerelict - } - }; - obj36.Steps = list58; - reference42 = obj36; - ref QuestSequence reference43 = ref span21[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030467u, new Vector3(-4.348877f, 6f, -30.319702f), 820) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.EulmoreSoutheastDerelict, - To = EAetheryteLocation.EulmoreGloryGate - } - }; - obj37.Steps = list59; - reference43 = obj37; - questRoot8.QuestSequence = list56; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(3522); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - CollectionsMarshal.AsSpan(list60)[0] = "liza"; - questRoot9.Author = list60; - num = 3; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - Span span22 = CollectionsMarshal.AsSpan(list61); - ref QuestSequence reference44 = ref span22[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027617u, new Vector3(45.944946f, -13.795549f, -118.0896f), 820); - obj38.Steps = list62; - reference44 = obj38; - ref QuestSequence reference45 = ref span22[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - Span span23 = CollectionsMarshal.AsSpan(list63); - ref QuestStep reference46 = ref span23[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1030471u, new Vector3(88.05969f, -7.2009244f, -73.71637f), 820); - num3 = 6; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - Span span24 = CollectionsMarshal.AsSpan(list64); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list64; - reference46 = questStep7; - ref QuestStep reference47 = ref span23[1]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1030470u, new Vector3(98.039185f, -17.955051f, -77.10382f), 820); - num3 = 6; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - Span span25 = CollectionsMarshal.AsSpan(list65); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list65; - reference47 = questStep8; - ref QuestStep reference48 = ref span23[2]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1030468u, new Vector3(39.53601f, -23.440458f, 102.4032f), 820); - num3 = 6; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - Span span26 = CollectionsMarshal.AsSpan(list66); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list66; - reference48 = questStep9; - ref QuestStep reference49 = ref span23[3]; - QuestStep obj40 = new QuestStep(EInteractionType.Interact, 1030469u, new Vector3(-112.16907f, -14.506645f, -49.515564f), 820) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.EulmoreSoutheastDerelict, - To = EAetheryteLocation.EulmoreNightsoilPots - } - }; - num3 = 6; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - Span span27 = CollectionsMarshal.AsSpan(list67); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj40.CompletionQuestVariablesFlags = list67; - reference49 = obj40; - obj39.Steps = list63; - reference45 = obj39; - ref QuestSequence reference50 = ref span22[2]; - QuestSequence obj41 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027617u, new Vector3(45.944946f, -13.795549f, -118.0896f), 820); - obj41.Steps = list68; - reference50 = obj41; - questRoot9.QuestSequence = list61; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(3523); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - CollectionsMarshal.AsSpan(list69)[0] = "liza"; - questRoot10.Author = list69; - num = 3; - List list70 = new List(num); - CollectionsMarshal.SetCount(list70, num); - Span span28 = CollectionsMarshal.AsSpan(list70); - ref QuestSequence reference51 = ref span28[0]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027595u, new Vector3(41.58081f, -7.639986f, -109.57507f), 820); - obj42.Steps = list71; - reference51 = obj42; - ref QuestSequence reference52 = ref span28[1]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - Span span29 = CollectionsMarshal.AsSpan(list72); - ref QuestStep reference53 = ref span29[0]; - QuestStep obj44 = new QuestStep(EInteractionType.Interact, 2010119u, new Vector3(23.697266f, -23.361572f, 121.23291f), 820) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.EulmoreGloryGate, - To = EAetheryteLocation.EulmoreSoutheastDerelict - } - }; - num3 = 6; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - Span span30 = CollectionsMarshal.AsSpan(list73); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj44.CompletionQuestVariablesFlags = list73; - reference53 = obj44; - ref QuestStep reference54 = ref span29[1]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 2010117u, new Vector3(26.596436f, -21.957764f, 130.81555f), 820); - num3 = 6; - List list74 = new List(num3); - CollectionsMarshal.SetCount(list74, num3); - Span span31 = CollectionsMarshal.AsSpan(list74); - span31[0] = null; - span31[1] = null; - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list74; - reference54 = questStep10; - ref QuestStep reference55 = ref span29[2]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 2010118u, new Vector3(46.860474f, -15.884705f, 132.21936f), 820); - num3 = 6; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - Span span32 = CollectionsMarshal.AsSpan(list75); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list75; - reference55 = questStep11; - ref QuestStep reference56 = ref span29[3]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 2010120u, new Vector3(45.76172f, -8.773987f, 139.05542f), 820); - num3 = 6; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - Span span33 = CollectionsMarshal.AsSpan(list76); - span33[0] = null; - span33[1] = null; - span33[2] = null; - span33[3] = null; - span33[4] = null; - span33[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list76; - reference56 = questStep12; - obj43.Steps = list72; - reference52 = obj43; - ref QuestSequence reference57 = ref span28[2]; - QuestSequence obj45 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027595u, new Vector3(41.58081f, -7.639986f, -109.57507f), 820) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.EulmoreSoutheastDerelict, - To = EAetheryteLocation.EulmoreGloryGate - } - }; - obj45.Steps = list77; - reference57 = obj45; - questRoot10.QuestSequence = list70; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(3524); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list78 = new List(num); - CollectionsMarshal.SetCount(list78, num); - CollectionsMarshal.AsSpan(list78)[0] = "liza"; - questRoot11.Author = list78; - num = 3; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - Span span34 = CollectionsMarshal.AsSpan(list79); - ref QuestSequence reference58 = ref span34[0]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030472u, new Vector3(-3.55542f, 6.800003f, 47.501343f), 820); - obj46.Steps = list80; - reference58 = obj46; - ref QuestSequence reference59 = ref span34[1]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - Span span35 = CollectionsMarshal.AsSpan(list81); - ref QuestStep reference60 = ref span35[0]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 2010123u, new Vector3(-56.199036f, -5.2339478f, -28.122437f), 820); - num3 = 6; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - Span span36 = CollectionsMarshal.AsSpan(list82); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list82; - reference60 = questStep13; - ref QuestStep reference61 = ref span35[1]; - QuestStep obj48 = new QuestStep(EInteractionType.Interact, 2010121u, new Vector3(-5.56958f, 82.90222f, -35.446716f), 820) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.EulmoreGloryGate, - To = EAetheryteLocation.Eulmore - } - }; - num3 = 6; - List list83 = new List(num3); - CollectionsMarshal.SetCount(list83, num3); - Span span37 = CollectionsMarshal.AsSpan(list83); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj48.CompletionQuestVariablesFlags = list83; - reference61 = obj48; - ref QuestStep reference62 = ref span35[2]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 2010122u, new Vector3(-14.114624f, 50.980347f, 33.920776f), 820); - num3 = 6; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - Span span38 = CollectionsMarshal.AsSpan(list84); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list84; - reference62 = questStep14; - obj47.Steps = list81; - reference59 = obj47; - ref QuestSequence reference63 = ref span34[2]; - QuestSequence obj49 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030472u, new Vector3(-3.55542f, 6.800003f, 47.501343f), 820); - obj49.Steps = list85; - reference63 = obj49; - questRoot11.QuestSequence = list79; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(3525); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - CollectionsMarshal.AsSpan(list86)[0] = "liza"; - questRoot12.Author = list86; - num = 4; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - Span span39 = CollectionsMarshal.AsSpan(list87); - ref QuestSequence reference64 = ref span39[0]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030419u, new Vector3(-506.6148f, 45.614502f, -194.50684f), 815); - obj50.Steps = list88; - reference64 = obj50; - ref QuestSequence reference65 = ref span39[1]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Interact, 1030720u, new Vector3(-464.65253f, 45.508167f, -270.4662f), 815); - obj51.Steps = list89; - reference65 = obj51; - ref QuestSequence reference66 = ref span39[2]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - ref QuestStep reference67 = ref CollectionsMarshal.AsSpan(list90)[0]; - QuestStep obj53 = new QuestStep(EInteractionType.Combat, null, new Vector3(-478.15445f, 10.344208f, 191.1135f), 815) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list91 = new List(num3); - CollectionsMarshal.SetCount(list91, num3); - CollectionsMarshal.AsSpan(list91)[0] = 11106u; - obj53.KillEnemyDataIds = list91; - reference67 = obj53; - obj52.Steps = list90; - reference66 = obj52; - ref QuestSequence reference68 = ref span39[3]; - QuestSequence obj54 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030718u, new Vector3(-478.2025f, 10.549525f, 193.13342f), 815) - { - StopDistance = 7f - }; - obj54.Steps = list92; - reference68 = obj54; - questRoot12.QuestSequence = list87; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(3533); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list93 = new List(num); - CollectionsMarshal.SetCount(list93, num); - CollectionsMarshal.AsSpan(list93)[0] = "liza"; - questRoot13.Author = list93; - num = 4; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - Span span40 = CollectionsMarshal.AsSpan(list94); - ref QuestSequence reference69 = ref span40[0]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030679u, new Vector3(64.07251f, 1.7078f, 231.40308f), 819); - obj55.Steps = list95; - reference69 = obj55; - ref QuestSequence reference70 = ref span40[1]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.Interact, 1030689u, new Vector3(-657.5875f, 50.950245f, -217.76147f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandOstallImperative - }; - obj56.Steps = list96; - reference70 = obj56; - ref QuestSequence reference71 = ref span40[2]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - Span span41 = CollectionsMarshal.AsSpan(list97); - ref QuestStep reference72 = ref span41[0]; - QuestStep obj58 = new QuestStep(EInteractionType.Interact, 1027411u, new Vector3(-771.1452f, 51.501152f, -212.32928f), 813) - { - Fly = true - }; - num3 = 6; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - Span span42 = CollectionsMarshal.AsSpan(list98); - span42[0] = null; - span42[1] = null; - span42[2] = null; - span42[3] = null; - span42[4] = null; - span42[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj58.CompletionQuestVariablesFlags = list98; - reference72 = obj58; - ref QuestStep reference73 = ref span41[1]; - QuestStep obj59 = new QuestStep(EInteractionType.Interact, 1027382u, new Vector3(-765.92664f, 61.720478f, -304.1886f), 813) - { - Fly = true - }; - num3 = 6; - List list99 = new List(num3); - CollectionsMarshal.SetCount(list99, num3); - Span span43 = CollectionsMarshal.AsSpan(list99); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj59.CompletionQuestVariablesFlags = list99; - reference73 = obj59; - obj57.Steps = list97; - reference71 = obj57; - ref QuestSequence reference74 = ref span40[3]; - QuestSequence obj60 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030689u, new Vector3(-657.5875f, 50.950245f, -217.76147f), 813) - { - Fly = true, - NextQuestId = new QuestId(3534) - }; - obj60.Steps = list100; - reference74 = obj60; - questRoot13.QuestSequence = list94; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(3534); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list101 = new List(num); - CollectionsMarshal.SetCount(list101, num); - CollectionsMarshal.AsSpan(list101)[0] = "liza"; - questRoot14.Author = list101; - num = 4; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - Span span44 = CollectionsMarshal.AsSpan(list102); - ref QuestSequence reference75 = ref span44[0]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030689u, new Vector3(-657.5875f, 50.950245f, -217.76147f), 813); - obj61.Steps = list103; - reference75 = obj61; - ref QuestSequence reference76 = ref span44[1]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - ref QuestStep reference77 = ref CollectionsMarshal.AsSpan(list104)[0]; - QuestStep obj63 = new QuestStep(EInteractionType.Combat, null, new Vector3(-506.45068f, 3.7609627f, -19.921053f), 813) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - CollectionsMarshal.AsSpan(list105)[0] = 11147u; - obj63.KillEnemyDataIds = list105; - reference77 = obj63; - obj62.Steps = list104; - reference76 = obj62; - ref QuestSequence reference78 = ref span44[2]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - ref QuestStep reference79 = ref CollectionsMarshal.AsSpan(list106)[0]; - QuestStep obj65 = new QuestStep(EInteractionType.Interact, 1030682u, new Vector3(-506.4317f, 3.7609625f, -22.01886f), 813) - { - StopDistance = 7f - }; - num3 = 1; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - CollectionsMarshal.AsSpan(list107)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKZH302_03534_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKZH302_03534_A1_000_001") - }; - obj65.DialogueChoices = list107; - reference79 = obj65; - obj64.Steps = list106; - reference78 = obj64; - ref QuestSequence reference80 = ref span44[3]; - QuestSequence obj66 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030681u, new Vector3(-641.1383f, 55.757515f, -141.92426f), 813) - { - Fly = true, - NextQuestId = new QuestId(3535) - }; - obj66.Steps = list108; - reference80 = obj66; - questRoot14.QuestSequence = list102; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(3535); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - CollectionsMarshal.AsSpan(list109)[0] = "liza"; - questRoot15.Author = list109; - num = 5; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - Span span45 = CollectionsMarshal.AsSpan(list110); - ref QuestSequence reference81 = ref span45[0]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030681u, new Vector3(-641.1383f, 55.757515f, -141.92426f), 813); - obj67.Steps = list111; - reference81 = obj67; - ref QuestSequence reference82 = ref span45[1]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.Interact, 1030683u, new Vector3(-689.6925f, 52.037113f, -168.5664f), 813) - { - Fly = true - }; - obj68.Steps = list112; - reference82 = obj68; - ref QuestSequence reference83 = ref span45[2]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.Interact, 1030706u, new Vector3(-375.32617f, 105.92186f, -618.92126f), 813) - { - StopDistance = 2f, - Fly = true - }; - obj69.Steps = list113; - reference83 = obj69; - ref QuestSequence reference84 = ref span45[3]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - ref QuestStep reference85 = ref CollectionsMarshal.AsSpan(list114)[0]; - QuestStep obj71 = new QuestStep(EInteractionType.Interact, 2010210u, new Vector3(-370.38226f, 103.37976f, -661.1887f), 813) - { - Fly = true - }; - num3 = 1; - List list115 = new List(num3); - CollectionsMarshal.SetCount(list115, num3); - CollectionsMarshal.AsSpan(list115)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKZH303_03535_Q3_000_000") - }; - obj71.DialogueChoices = list115; - reference85 = obj71; - obj70.Steps = list114; - reference84 = obj70; - ref QuestSequence reference86 = ref span45[4]; - QuestSequence obj72 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030684u, new Vector3(-351.91882f, 100.1054f, -629.0227f), 813) - { - NextQuestId = new QuestId(3536) - }; - obj72.Steps = list116; - reference86 = obj72; - questRoot15.QuestSequence = list110; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(3536); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - CollectionsMarshal.AsSpan(list117)[0] = "liza"; - questRoot16.Author = list117; - num = 6; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - Span span46 = CollectionsMarshal.AsSpan(list118); - ref QuestSequence reference87 = ref span46[0]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030684u, new Vector3(-351.91882f, 100.1054f, -629.0227f), 813); - obj73.Steps = list119; - reference87 = obj73; - ref QuestSequence reference88 = ref span46[1]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.Interact, 1030685u, new Vector3(-443.68658f, 9.218739f, -150.53027f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandOstallImperative - }; - obj74.Steps = list120; - reference88 = obj74; - ref QuestSequence reference89 = ref span46[2]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - ref QuestStep reference90 = ref CollectionsMarshal.AsSpan(list121)[0]; - QuestStep obj76 = new QuestStep(EInteractionType.Combat, 2010212u, new Vector3(-395.8648f, 6.210388f, -51.895935f), 813) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list122 = new List(num3); - CollectionsMarshal.SetCount(list122, num3); - CollectionsMarshal.AsSpan(list122)[0] = 11148u; - obj76.KillEnemyDataIds = list122; - reference90 = obj76; - obj75.Steps = list121; - reference89 = obj75; - ref QuestSequence reference91 = ref span46[3]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.Interact, 2010213u, new Vector3(-298.11554f, 4.348816f, 16.189758f), 813) - { - StopDistance = 0.5f, - Fly = true - }; - obj77.Steps = list123; - reference91 = obj77; - ref QuestSequence reference92 = ref span46[4]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.Interact, 2010510u, new Vector3(-239.9787f, 15.030029f, -196.73462f), 813) - { - Fly = true - }; - obj78.Steps = list124; - reference92 = obj78; - ref QuestSequence reference93 = ref span46[5]; - QuestSequence obj79 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030688u, new Vector3(-659.26605f, 51.002872f, -217.30377f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandOstallImperative - }; - obj79.Steps = list125; - reference93 = obj79; - questRoot16.QuestSequence = list118; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(3537); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - CollectionsMarshal.AsSpan(list126)[0] = "liza"; - questRoot17.Author = list126; - num = 5; - List list127 = new List(num); - CollectionsMarshal.SetCount(list127, num); - Span span47 = CollectionsMarshal.AsSpan(list127); - ref QuestSequence reference94 = ref span47[0]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027956u, new Vector3(-128.77094f, 354.35815f, -179.18677f), 814); - obj80.Steps = list128; - reference94 = obj80; - ref QuestSequence reference95 = ref span47[1]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.Interact, 1030748u, new Vector3(-514.8852f, 334.116f, -9.262268f), 814); - obj81.Steps = list129; - reference95 = obj81; - ref QuestSequence reference96 = ref span47[2]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - Span span48 = CollectionsMarshal.AsSpan(list130); - span48[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-515.5618f, 334.116f, -15.381194f), 814) - { - Mount = true - }; - span48[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-518.69183f, 331.39224f, -23.225534f), 814) - { - DisableNavmesh = true - }; - span48[2] = new QuestStep(EInteractionType.Interact, 1030749u, new Vector3(-504.5701f, 332.93307f, -112.077515f), 814); - obj82.Steps = list130; - reference96 = obj82; - ref QuestSequence reference97 = ref span47[3]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - ref QuestStep reference98 = ref CollectionsMarshal.AsSpan(list131)[0]; - QuestStep obj84 = new QuestStep(EInteractionType.Emote, 1030749u, new Vector3(-504.5701f, 332.93307f, -112.077515f), 814) - { - Emote = EEmote.Soothe - }; - num3 = 1; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - CollectionsMarshal.AsSpan(list132)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKZI001_03537_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKZI001_03537_A1_000_001") - }; - obj84.DialogueChoices = list132; - reference98 = obj84; - obj83.Steps = list131; - reference97 = obj83; - ref QuestSequence reference99 = ref span47[4]; - QuestSequence obj85 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027956u, new Vector3(-128.77094f, 354.35815f, -179.18677f), 814); - obj85.Steps = list133; - reference99 = obj85; - questRoot17.QuestSequence = list127; - AddQuest(questId17, questRoot17); - } - - private static void LoadQuests71() - { - QuestId questId = new QuestId(3556); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 5; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference2 = ref CollectionsMarshal.AsSpan(list3)[0]; - QuestStep questStep = new QuestStep(EInteractionType.AcceptQuest, 1030776u, new Vector3(-450.85834f, 417.1344f, -610.8644f), 814); - int num3 = 1; - List list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - CollectionsMarshal.AsSpan(list4)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKZI101_03556_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKZI101_03556_A1_000_001") - }; - questStep.DialogueChoices = list4; - reference2 = questStep; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference3 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1030778u, new Vector3(-429.31256f, 417.29797f, -677.2107f), 814); - obj2.Steps = list5; - reference3 = obj2; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - ref QuestStep reference5 = ref CollectionsMarshal.AsSpan(list6)[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1030779u, new Vector3(-436.48438f, 417.21954f, -641.38245f), 814); - num3 = 1; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - CollectionsMarshal.AsSpan(list7)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKZI101_03556_Q3_000_000"), - Answer = new ExcelRef("TEXT_LUCKZI101_03556_A3_000_001") - }; - questStep2.DialogueChoices = list7; - reference5 = questStep2; - obj3.Steps = list6; - reference4 = obj3; - ref QuestSequence reference6 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - ref QuestStep reference7 = ref CollectionsMarshal.AsSpan(list8)[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1030780u, new Vector3(-493.2479f, 417.1531f, -610.9866f), 814); - num3 = 1; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - CollectionsMarshal.AsSpan(list9)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKZI101_03556_Q4_000_000"), - Answer = new ExcelRef("TEXT_LUCKZI101_03556_A4_000_001") - }; - questStep3.DialogueChoices = list9; - reference7 = questStep3; - obj4.Steps = list8; - reference6 = obj4; - ref QuestSequence reference8 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030800u, new Vector3(-396.68878f, 417.51825f, -657.9232f), 814); - obj5.Steps = list10; - reference8 = obj5; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(3557); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list11 = new List(num); - CollectionsMarshal.SetCount(list11, num); - CollectionsMarshal.AsSpan(list11)[0] = "alydev"; - questRoot2.Author = list11; - num = 5; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - Span span2 = CollectionsMarshal.AsSpan(list12); - ref QuestSequence reference9 = ref span2[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030800u, new Vector3(-396.68878f, 417.51825f, -657.9232f), 814); - obj6.Steps = list13; - reference9 = obj6; - ref QuestSequence reference10 = ref span2[1]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.Interact, 1030781u, new Vector3(-408.83502f, 417.21606f, -633.1731f), 814) - { - Fly = true - }; - obj7.Steps = list14; - reference10 = obj7; - ref QuestSequence reference11 = ref span2[2]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.UseItem, 2010336u, new Vector3(-407.1565f, 417.8683f, -633.2036f), 814) - { - ItemId = 2002690u - }; - obj8.Steps = list15; - reference11 = obj8; - ref QuestSequence reference12 = ref span2[3]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.Interact, 1030781u, new Vector3(-408.83502f, 417.21606f, -633.1731f), 814); - obj9.Steps = list16; - reference12 = obj9; - ref QuestSequence reference13 = ref span2[4]; - QuestSequence obj10 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030800u, new Vector3(-396.68878f, 417.51825f, -657.9232f), 814) - { - Fly = true, - NextQuestId = new QuestId(3558) - }; - obj10.Steps = list17; - reference13 = obj10; - questRoot2.QuestSequence = list12; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(3558); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - CollectionsMarshal.AsSpan(list18)[0] = "alydev"; - questRoot3.Author = list18; - num = 5; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - Span span3 = CollectionsMarshal.AsSpan(list19); - ref QuestSequence reference14 = ref span3[0]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - ref QuestStep reference15 = ref CollectionsMarshal.AsSpan(list20)[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.AcceptQuest, 1030800u, new Vector3(-396.68878f, 417.51825f, -657.9232f), 814); - num3 = 2; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - Span span4 = CollectionsMarshal.AsSpan(list21); - span4[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKZI103_03558_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKZI103_03558_A1_000_001") - }; - span4[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKZI103_03558_Q2_000_000"), - Answer = new ExcelRef("TEXT_LUCKZI103_03558_A2_000_001") - }; - questStep4.DialogueChoices = list21; - reference15 = questStep4; - obj11.Steps = list20; - reference14 = obj11; - ref QuestSequence reference16 = ref span3[1]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.Interact, 1030782u, new Vector3(-191.18036f, 362.9854f, -292.83594f), 814) - { - Fly = true - }; - obj12.Steps = list22; - reference16 = obj12; - ref QuestSequence reference17 = ref span3[2]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - ref QuestStep reference18 = ref CollectionsMarshal.AsSpan(list23)[0]; - QuestStep obj14 = new QuestStep(EInteractionType.Combat, 1030784u, new Vector3(-407.8584f, 362.59058f, -289.5705f), 814) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - CollectionsMarshal.AsSpan(list24)[0] = 11142u; - obj14.KillEnemyDataIds = list24; - reference18 = obj14; - obj13.Steps = list23; - reference17 = obj13; - ref QuestSequence reference19 = ref span3[3]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.Interact, 1030784u, new Vector3(-407.8584f, 362.59058f, -289.5705f), 814); - obj15.Steps = list25; - reference19 = obj15; - ref QuestSequence reference20 = ref span3[4]; - QuestSequence obj16 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030786u, new Vector3(-519.646f, 392.919f, -482.71918f), 814) - { - Fly = true, - Emote = EEmote.Rally, - NextQuestId = new QuestId(3559) - }; - obj16.Steps = list26; - reference20 = obj16; - questRoot3.QuestSequence = list19; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(3559); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - CollectionsMarshal.AsSpan(list27)[0] = "alydev"; - questRoot4.Author = list27; - num = 5; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - Span span5 = CollectionsMarshal.AsSpan(list28); - ref QuestSequence reference21 = ref span5[0]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030786u, new Vector3(-519.646f, 392.919f, -482.71918f), 814); - obj17.Steps = list29; - reference21 = obj17; - ref QuestSequence reference22 = ref span5[1]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.Interact, 1030775u, new Vector3(-436.72852f, 417.2178f, -640.4364f), 814) - { - Fly = true - }; - obj18.Steps = list30; - reference22 = obj18; - ref QuestSequence reference23 = ref span5[2]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.Interact, 1030795u, new Vector3(-493.82776f, 417.15173f, -610.3761f), 814); - obj19.Steps = list31; - reference23 = obj19; - ref QuestSequence reference24 = ref span5[3]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 1030787u, new Vector3(-408.80444f, 417.2132f, -631.7388f), 814); - obj20.Steps = list32; - reference24 = obj20; - ref QuestSequence reference25 = ref span5[4]; - QuestSequence obj21 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030776u, new Vector3(-450.85834f, 417.1344f, -610.8644f), 814) - { - NextQuestId = new QuestId(3560) - }; - obj21.Steps = list33; - reference25 = obj21; - questRoot4.QuestSequence = list28; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(3560); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - CollectionsMarshal.AsSpan(list34)[0] = "alydev"; - questRoot5.Author = list34; - num = 8; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - Span span6 = CollectionsMarshal.AsSpan(list35); - ref QuestSequence reference26 = ref span6[0]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030800u, new Vector3(-396.68878f, 417.51825f, -657.9232f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaTomra, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-396.68878f, 417.51825f, -657.9232f), - MaximumDistance = 50f, - TerritoryId = 814 - } - } - } - }; - obj22.Steps = list36; - reference26 = obj22; - ref QuestSequence reference27 = ref span6[1]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.Interact, 1030789u, new Vector3(-262.83667f, 21.717266f, 369.64978f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaWright, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-262.83667f, 21.717266f, 369.64978f), - MaximumDistance = 50f, - TerritoryId = 814 - } - } - } - }; - obj23.Steps = list37; - reference27 = obj23; - ref QuestSequence reference28 = ref span6[2]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.Interact, 1030787u, new Vector3(-408.80444f, 417.2132f, -631.7388f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaTomra, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-408.80444f, 417.2132f, -631.7388f), - MaximumDistance = 50f, - TerritoryId = 814 - } - } - } - }; - obj24.Steps = list38; - reference28 = obj24; - ref QuestSequence reference29 = ref span6[3]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 1030791u, new Vector3(-165.27051f, 352.35822f, -206.16473f), 814) - { - Fly = true - }; - obj25.Steps = list39; - reference29 = obj25; - ref QuestSequence reference30 = ref span6[4]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.Interact, 2010309u, new Vector3(-109.69714f, 353.50574f, -181.65869f), 814); - obj26.Steps = list40; - reference30 = obj26; - ref QuestSequence reference31 = ref span6[5]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.Interact, 1030803u, new Vector3(-149.46216f, 352.35822f, -199.29816f), 814) - { - Fly = true - }; - obj27.Steps = list41; - reference31 = obj27; - ref QuestSequence reference32 = ref span6[6]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.Interact, 1030789u, new Vector3(-262.83667f, 21.717266f, 369.64978f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaWright, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-262.83667f, 21.717266f, 369.64978f), - MaximumDistance = 50f, - TerritoryId = 814 - } - } - } - }; - obj28.Steps = list42; - reference32 = obj28; - ref QuestSequence reference33 = ref span6[7]; - QuestSequence obj29 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030788u, new Vector3(-531.02924f, 415.2066f, -567.4983f), 814) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaTomra, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-531.02924f, 415.2066f, -567.4983f), - MaximumDistance = 50f, - TerritoryId = 814 - } - } - } - }; - obj29.Steps = list43; - reference33 = obj29; - questRoot5.QuestSequence = list35; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(3564); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - CollectionsMarshal.AsSpan(list44)[0] = "liza"; - questRoot6.Author = list44; - num = 3; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - Span span7 = CollectionsMarshal.AsSpan(list45); - ref QuestSequence reference34 = ref span7[0]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.AcceptQuest, 1028024u, new Vector3(78.96533f, 35.999687f, -153.27692f), 819); - obj30.Steps = list46; - reference34 = obj30; - ref QuestSequence reference35 = ref span7[1]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - Span span8 = CollectionsMarshal.AsSpan(list47); - ref QuestStep reference36 = ref span8[0]; - QuestStep obj32 = new QuestStep(EInteractionType.Interact, 1031119u, new Vector3(80.125f, 1.4901161E-08f, 190.44775f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumAmaroLaunch, - To = EAetheryteLocation.CrystariumPendants - } - }; - num3 = 6; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - Span span9 = CollectionsMarshal.AsSpan(list48); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj32.CompletionQuestVariablesFlags = list48; - reference36 = obj32; - ref QuestStep reference37 = ref span8[1]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1027799u, new Vector3(-74.6319f, -4.200001f, 170.00073f), 819); - num3 = 6; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - Span span10 = CollectionsMarshal.AsSpan(list49); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list49; - reference37 = questStep5; - ref QuestStep reference38 = ref span8[2]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1028333u, new Vector3(-168.07812f, 1.490116E-08f, 96.14697f), 819); - num3 = 6; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - Span span11 = CollectionsMarshal.AsSpan(list50); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list50; - reference38 = questStep6; - obj31.Steps = list47; - reference35 = obj31; - ref QuestSequence reference39 = ref span7[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.CompleteQuest, 1028024u, new Vector3(78.96533f, 35.999687f, -153.27692f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumAmaroLaunch - } - }; - obj33.Steps = list51; - reference39 = obj33; - questRoot6.QuestSequence = list45; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(3565); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - CollectionsMarshal.AsSpan(list52)[0] = "liza"; - questRoot7.Author = list52; - num = 4; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - Span span12 = CollectionsMarshal.AsSpan(list53); - ref QuestSequence reference40 = ref span12[0]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027263u, new Vector3(-69.5354f, -36.726383f, -282.79547f), 819); - obj34.Steps = list54; - reference40 = obj34; - ref QuestSequence reference41 = ref span12[1]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.Interact, 1027254u, new Vector3(-37.857666f, -0.5500218f, -61.20398f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumCabinetOfCuriosity, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - obj35.Steps = list55; - reference41 = obj35; - ref QuestSequence reference42 = ref span12[2]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.UseItem, null, new Vector3(-37.857666f, -0.5500218f, -61.20398f), 819) - { - ItemId = 2002756u - }; - obj36.Steps = list56; - reference42 = obj36; - ref QuestSequence reference43 = ref span12[3]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - ref QuestStep reference44 = ref CollectionsMarshal.AsSpan(list57)[0]; - QuestStep obj38 = new QuestStep(EInteractionType.CompleteQuest, 1027263u, new Vector3(-69.5354f, -36.726383f, -282.79547f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumDossalGate, - To = EAetheryteLocation.CrystariumCabinetOfCuriosity - } - }; - num3 = 1; - List list58 = new List(num3); - CollectionsMarshal.SetCount(list58, num3); - CollectionsMarshal.AsSpan(list58)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKZJ002_03565_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKZJ002_03565_A1_000_001") - }; - obj38.DialogueChoices = list58; - reference44 = obj38; - obj37.Steps = list57; - reference43 = obj37; - questRoot7.QuestSequence = list53; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(3566); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - CollectionsMarshal.AsSpan(list59)[0] = "liza"; - questRoot8.Author = list59; - num = 4; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - Span span13 = CollectionsMarshal.AsSpan(list60); - ref QuestSequence reference45 = ref span13[0]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031036u, new Vector3(35.721313f, -4.2178183f, 150.80493f), 819); - obj39.Steps = list61; - reference45 = obj39; - ref QuestSequence reference46 = ref span13[1]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.Interact, 1031037u, new Vector3(65.32385f, 31.22887f, 151.7815f), 819); - obj40.Steps = list62; - reference46 = obj40; - ref QuestSequence reference47 = ref span13[2]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.Emote, null, new Vector3(65.23219f, 31.253508f, 150.2689f), 819) - { - Emote = EEmote.Welcome - }; - obj41.Steps = list63; - reference47 = obj41; - ref QuestSequence reference48 = ref span13[3]; - QuestSequence obj42 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031038u, new Vector3(71.30542f, 30.758999f, 141.95471f), 819); - obj42.Steps = list64; - reference48 = obj42; - questRoot8.QuestSequence = list60; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(3567); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - CollectionsMarshal.AsSpan(list65)[0] = "liza"; - questRoot9.Author = list65; - num = 3; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - Span span14 = CollectionsMarshal.AsSpan(list66); - ref QuestSequence reference49 = ref span14[0]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031059u, new Vector3(108.781494f, -3.1728092E-11f, -105.760315f), 819); - obj43.Steps = list67; - reference49 = obj43; - ref QuestSequence reference50 = ref span14[1]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - ref QuestStep reference51 = ref CollectionsMarshal.AsSpan(list68)[0]; - QuestStep obj45 = new QuestStep(EInteractionType.Interact, 1031060u, new Vector3(-148.36353f, 1.4901161E-08f, 200.42712f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumDossalGate, - To = EAetheryteLocation.CrystariumPendants - } - }; - num3 = 1; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - CollectionsMarshal.AsSpan(list69)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKZJ004_03567_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKZJ004_03567_A1_000_002") - }; - obj45.DialogueChoices = list69; - reference51 = obj45; - obj44.Steps = list68; - reference50 = obj44; - ref QuestSequence reference52 = ref span14[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031059u, new Vector3(108.781494f, -3.1728092E-11f, -105.760315f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - obj46.Steps = list70; - reference52 = obj46; - questRoot9.QuestSequence = list66; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(3568); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - CollectionsMarshal.AsSpan(list71)[0] = "liza"; - questRoot10.Author = list71; - num = 4; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - Span span15 = CollectionsMarshal.AsSpan(list72); - ref QuestSequence reference53 = ref span15[0]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031064u, new Vector3(62.42456f, 27.999973f, -113.75604f), 819); - obj47.Steps = list73; - reference53 = obj47; - ref QuestSequence reference54 = ref span15[1]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - Span span16 = CollectionsMarshal.AsSpan(list74); - ref QuestStep reference55 = ref span16[0]; - QuestStep obj49 = new QuestStep(EInteractionType.Interact, 1031427u, new Vector3(10.8185425f, -1.4707987E-11f, -56.26001f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumAmaroLaunch, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - num3 = 6; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - Span span17 = CollectionsMarshal.AsSpan(list75); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj49.CompletionQuestVariablesFlags = list75; - reference55 = obj49; - ref QuestStep reference56 = ref span16[1]; - QuestStep obj50 = new QuestStep(EInteractionType.Interact, 1027252u, new Vector3(-117.60132f, 38.614765f, 236.04175f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumDossalGate, - To = EAetheryteLocation.CrystariumPendants - } - }; - num3 = 6; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - Span span18 = CollectionsMarshal.AsSpan(list76); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj50.CompletionQuestVariablesFlags = list76; - reference56 = obj50; - span16[2] = new QuestStep(EInteractionType.Interact, 1027260u, new Vector3(-49.515564f, -36.72638f, -271.4123f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumCabinetOfCuriosity - } - }; - obj48.Steps = list74; - reference54 = obj48; - ref QuestSequence reference57 = ref span15[2]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Interact, 1031064u, new Vector3(62.42456f, 27.999973f, -113.75604f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumCabinetOfCuriosity, - To = EAetheryteLocation.CrystariumAmaroLaunch - } - }; - obj51.Steps = list77; - reference57 = obj51; - ref QuestSequence reference58 = ref span15[3]; - QuestSequence obj52 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031065u, new Vector3(101.426636f, 20.728992f, 101.8844f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumAmaroLaunch, - To = EAetheryteLocation.CrystariumMarkets - } - }; - obj52.Steps = list78; - reference58 = obj52; - questRoot10.QuestSequence = list72; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(3588); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - CollectionsMarshal.AsSpan(list79)[0] = "liza"; - questRoot11.Author = list79; - num = 6; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - Span span19 = CollectionsMarshal.AsSpan(list80); - ref QuestSequence reference59 = ref span19[0]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031015u, new Vector3(530.51025f, 353.54364f, -244.00702f), 818); - obj53.Steps = list81; - reference59 = obj53; - ref QuestSequence reference60 = ref span19[1]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.Interact, 1031016u, new Vector3(344.04517f, 342.69537f, -310.53644f), 818); - obj54.Steps = list82; - reference60 = obj54; - ref QuestSequence reference61 = ref span19[2]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - Span span20 = CollectionsMarshal.AsSpan(list83); - ref QuestStep reference62 = ref span20[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2010463u, new Vector3(340.93237f, 342.67188f, -310.47534f), 818); - num3 = 6; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - Span span21 = CollectionsMarshal.AsSpan(list84); - span21[0] = null; - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list84; - num3 = 1; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - CollectionsMarshal.AsSpan(list85)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKZJ101_03588_Q2_000_000"), - Answer = new ExcelRef("TEXT_LUCKZJ101_03588_A2_000_001") - }; - questStep7.DialogueChoices = list85; - reference62 = questStep7; - ref QuestStep reference63 = ref span20[1]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2010464u, new Vector3(341.5426f, 342.76343f, -308.70532f), 818); - num3 = 6; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - Span span22 = CollectionsMarshal.AsSpan(list86); - span22[0] = null; - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list86; - num3 = 1; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - CollectionsMarshal.AsSpan(list87)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKZJ101_03588_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKZJ101_03588_A1_000_001") - }; - questStep8.DialogueChoices = list87; - reference63 = questStep8; - obj55.Steps = list83; - reference61 = obj55; - ref QuestSequence reference64 = ref span19[3]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 1031016u, new Vector3(344.04517f, 342.69537f, -310.53644f), 818); - obj56.Steps = list88; - reference64 = obj56; - ref QuestSequence reference65 = ref span19[4]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Interact, 1031017u, new Vector3(603.02124f, 348.01245f, -165.30103f), 818) - { - AetheryteShortcut = EAetheryteLocation.TempestOndoCups - }; - obj57.Steps = list89; - reference65 = obj57; - ref QuestSequence reference66 = ref span19[5]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031019u, new Vector3(505.88232f, 371.189f, -342.79395f), 818); - obj58.Steps = list90; - reference66 = obj58; - questRoot11.QuestSequence = list80; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(3592); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - CollectionsMarshal.AsSpan(list91)[0] = "liza"; - questRoot12.Author = list91; - num = 6; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - Span span23 = CollectionsMarshal.AsSpan(list92); - ref QuestSequence reference67 = ref span23[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027775u, new Vector3(-390.85986f, -260.17664f, 308.46106f), 818); - obj59.Steps = list93; - reference67 = obj59; - ref QuestSequence reference68 = ref span23[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Interact, 1030473u, new Vector3(-410.1778f, -260.17664f, 256.09204f), 818); - obj60.Steps = list94; - reference68 = obj60; - ref QuestSequence reference69 = ref span23[2]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.Interact, 1027774u, new Vector3(-365.59094f, -260.1766f, 276.9359f), 818); - obj61.Steps = list95; - reference69 = obj61; - ref QuestSequence reference70 = ref span23[3]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.Interact, 1030474u, new Vector3(-390.9209f, -260.1766f, 284.93164f), 818); - obj62.Steps = list96; - reference70 = obj62; - ref QuestSequence reference71 = ref span23[4]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - ref QuestStep reference72 = ref CollectionsMarshal.AsSpan(list97)[0]; - QuestStep obj64 = new QuestStep(EInteractionType.Combat, 2010125u, new Vector3(-502.7085f, -250.93463f, 449.97327f), 818) - { - ItemId = 2002612u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 3; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - Span span24 = CollectionsMarshal.AsSpan(list98); - span24[0] = 10846u; - span24[1] = 10847u; - span24[2] = 10848u; - obj64.KillEnemyDataIds = list98; - reference72 = obj64; - obj63.Steps = list97; - reference71 = obj63; - ref QuestSequence reference73 = ref span23[5]; - QuestSequence obj65 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030474u, new Vector3(-390.9209f, -260.1766f, 284.93164f), 818); - obj65.Steps = list99; - reference73 = obj65; - questRoot12.QuestSequence = list92; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(3593); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - CollectionsMarshal.AsSpan(list100)[0] = "liza"; - questRoot13.Author = list100; - num = 6; - List list101 = new List(num); - CollectionsMarshal.SetCount(list101, num); - Span span25 = CollectionsMarshal.AsSpan(list101); - ref QuestSequence reference74 = ref span25[0]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027778u, new Vector3(-713.28296f, -245.368f, 498.49683f), 818); - obj66.Steps = list102; - reference74 = obj66; - ref QuestSequence reference75 = ref span25[1]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.Interact, 1030475u, new Vector3(-627.7715f, -250.75601f, 550.65234f), 818); - obj67.Steps = list103; - reference75 = obj67; - ref QuestSequence reference76 = ref span25[2]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.Interact, 1030475u, new Vector3(-627.7715f, -250.75601f, 550.65234f), 818); - obj68.Steps = list104; - reference76 = obj68; - ref QuestSequence reference77 = ref span25[3]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 1030475u, new Vector3(-627.7715f, -250.75601f, 550.65234f), 818); - obj69.Steps = list105; - reference77 = obj69; - ref QuestSequence reference78 = ref span25[4]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.Interact, 1027778u, new Vector3(-713.28296f, -245.368f, 498.49683f), 818); - obj70.Steps = list106; - reference78 = obj70; - ref QuestSequence reference79 = ref span25[5]; - QuestSequence obj71 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027778u, new Vector3(-713.28296f, -245.368f, 498.49683f), 818); - obj71.Steps = list107; - reference79 = obj71; - questRoot13.QuestSequence = list101; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(3594); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - CollectionsMarshal.AsSpan(list108)[0] = "liza"; - questRoot14.Author = list108; - num = 5; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - Span span26 = CollectionsMarshal.AsSpan(list109); - ref QuestSequence reference80 = ref span26[0]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030477u, new Vector3(-594.6593f, -266.7698f, 338.70447f), 818); - obj72.Steps = list110; - reference80 = obj72; - ref QuestSequence reference81 = ref span26[1]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.Interact, 1030478u, new Vector3(-654.35266f, -250.89601f, 475.76086f), 818); - obj73.Steps = list111; - reference81 = obj73; - ref QuestSequence reference82 = ref span26[2]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span27 = CollectionsMarshal.AsSpan(list112); - span27[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-450.6779f, -250.89601f, 400.94394f), 818); - span27[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-361.26102f, -260.1766f, 280.9178f), 818); - span27[2] = new QuestStep(EInteractionType.Interact, 1027777u, new Vector3(-355.2453f, -260.17664f, 278.6754f), 818) - { - StopDistance = 7f - }; - obj74.Steps = list112; - reference82 = obj74; - ref QuestSequence reference83 = ref span26[3]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - ref QuestStep reference84 = ref CollectionsMarshal.AsSpan(list113)[0]; - QuestStep obj76 = new QuestStep(EInteractionType.Combat, null, new Vector3(-85.3181f, -281.24854f, 423.48425f), 818) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - CollectionsMarshal.AsSpan(list114)[0] = 10304u; - obj76.KillEnemyDataIds = list114; - obj76.CombatItemUse = new CombatItemUse - { - ItemId = 2002613u, - Condition = ECombatItemUseCondition.HealthPercent, - Value = 30 - }; - reference84 = obj76; - obj75.Steps = list113; - reference83 = obj75; - ref QuestSequence reference85 = ref span26[4]; - QuestSequence obj77 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - Span span28 = CollectionsMarshal.AsSpan(list115); - span28[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-361.26102f, -260.1766f, 280.9178f), 818); - span28[1] = new QuestStep(EInteractionType.CompleteQuest, 1027777u, new Vector3(-355.2453f, -260.17664f, 278.6754f), 818) - { - StopDistance = 7f - }; - obj77.Steps = list115; - reference85 = obj77; - questRoot14.QuestSequence = list109; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(3595); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - CollectionsMarshal.AsSpan(list116)[0] = "liza"; - questRoot15.Author = list116; - num = 4; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - Span span29 = CollectionsMarshal.AsSpan(list117); - ref QuestSequence reference86 = ref span29[0]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.AcceptQuest, 1028898u, new Vector3(-132.58563f, 0f, -14.023071f), 819); - obj78.Steps = list118; - reference86 = obj78; - ref QuestSequence reference87 = ref span29[1]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.Interact, 1028899u, new Vector3(77.04285f, 0.0889954f, -31.784546f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - obj79.Steps = list119; - reference87 = obj79; - ref QuestSequence reference88 = ref span29[2]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.Duty, null, null, 819) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 655u - } - }; - obj80.Steps = list120; - reference88 = obj80; - ref QuestSequence reference89 = ref span29[3]; - QuestSequence obj81 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.CompleteQuest, 1028899u, new Vector3(77.04285f, 0.0889954f, -31.784546f), 819); - obj81.Steps = list121; - reference89 = obj81; - questRoot15.QuestSequence = list117; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(3596); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list122 = new List(num); - CollectionsMarshal.SetCount(list122, num); - CollectionsMarshal.AsSpan(list122)[0] = "liza"; - questRoot16.Author = list122; - num = 6; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - Span span30 = CollectionsMarshal.AsSpan(list123); - ref QuestSequence reference90 = ref span30[0]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031144u, new Vector3(84.33655f, -10.490669f, 59.494873f), 820); - obj82.Steps = list124; - reference90 = obj82; - ref QuestSequence reference91 = ref span30[1]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - Span span31 = CollectionsMarshal.AsSpan(list125); - span31[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-0.41547322f, -276.906f, 269.2778f), 818) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.TempestMacarensesAngle - }; - span31[1] = new QuestStep(EInteractionType.Interact, 1027772u, new Vector3(5.3864136f, -276.906f, 271.59534f), 818) - { - StopDistance = 7f - }; - obj83.Steps = list125; - reference91 = obj83; - ref QuestSequence reference92 = ref span30[2]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - Span span32 = CollectionsMarshal.AsSpan(list126); - span32[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-71.42122f, -274.33163f, 584.8395f), 818) - { - Fly = true - }; - span32[1] = new QuestStep(EInteractionType.Interact, 1028056u, new Vector3(-68.37573f, -274.33163f, 579.33923f), 818) - { - StopDistance = 7f - }; - obj84.Steps = list126; - reference92 = obj84; - ref QuestSequence reference93 = ref span30[3]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.Duty, null, null, 818) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 661u - } - }; - obj85.Steps = list127; - reference93 = obj85; - ref QuestSequence reference94 = ref span30[4]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - Span span33 = CollectionsMarshal.AsSpan(list128); - span33[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-71.42122f, -274.33163f, 584.8395f), 818); - span33[1] = new QuestStep(EInteractionType.Interact, 1028056u, new Vector3(-68.37573f, -274.33163f, 579.33923f), 818) - { - StopDistance = 7f - }; - obj86.Steps = list128; - reference94 = obj86; - ref QuestSequence reference95 = ref span30[5]; - QuestSequence obj87 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031144u, new Vector3(84.33655f, -10.490669f, 59.494873f), 820) - { - AetheryteShortcut = EAetheryteLocation.Eulmore, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Eulmore, - To = EAetheryteLocation.EulmoreSoutheastDerelict - } - }; - obj87.Steps = list129; - reference95 = obj87; - questRoot16.QuestSequence = list123; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(3597); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list130 = new List(num); - CollectionsMarshal.SetCount(list130, num); - CollectionsMarshal.AsSpan(list130)[0] = "liza"; - questRoot17.Author = list130; - num = 3; - List list131 = new List(num); - CollectionsMarshal.SetCount(list131, num); - Span span34 = CollectionsMarshal.AsSpan(list131); - ref QuestSequence reference96 = ref span34[0]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031348u, new Vector3(47.13501f, 1.4901161E-08f, 191.5769f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumPendants - } - }; - obj88.Steps = list132; - reference96 = obj88; - ref QuestSequence reference97 = ref span34[1]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.Interact, 1027990u, new Vector3(-85.31323f, -2.7974376E-11f, -93.247925f), 819) - { - StopDistance = 5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumPendants, - To = EAetheryteLocation.CrystariumTemenosRookery - } - }; - obj89.Steps = list133; - reference97 = obj89; - ref QuestSequence reference98 = ref span34[2]; - QuestSequence obj90 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027988u, new Vector3(-88.578674f, 0.07107824f, -83.66528f), 819) - { - StopDistance = 7f, - NextQuestId = new QuestId(3598) - }; - obj90.Steps = list134; - reference98 = obj90; - questRoot17.QuestSequence = list131; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(3598); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list135 = new List(num); - CollectionsMarshal.SetCount(list135, num); - CollectionsMarshal.AsSpan(list135)[0] = "liza"; - questRoot18.Author = list135; - num = 2; - List list136 = new List(num); - CollectionsMarshal.SetCount(list136, num); - Span span35 = CollectionsMarshal.AsSpan(list136); - ref QuestSequence reference99 = ref span35[0]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027990u, new Vector3(-85.31323f, -2.7974376E-11f, -93.247925f), 819) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Crystarium, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj91.Steps = list137; - reference99 = obj91; - ref QuestSequence reference100 = ref span35[1]; - QuestSequence obj92 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027988u, new Vector3(-88.578674f, 0.07107824f, -83.66528f), 819) - { - StopDistance = 7f, - NextQuestId = new QuestId(3599) - }; - obj92.Steps = list138; - reference100 = obj92; - questRoot18.QuestSequence = list136; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(3599); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - CollectionsMarshal.AsSpan(list139)[0] = "liza"; - questRoot19.Author = list139; - num = 2; - List list140 = new List(num); - CollectionsMarshal.SetCount(list140, num); - Span span36 = CollectionsMarshal.AsSpan(list140); - ref QuestSequence reference101 = ref span36[0]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027990u, new Vector3(-85.31323f, -2.7974376E-11f, -93.247925f), 819) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Crystarium, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj93.Steps = list141; - reference101 = obj93; - ref QuestSequence reference102 = ref span36[1]; - QuestSequence obj94 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027988u, new Vector3(-88.578674f, 0.07107824f, -83.66528f), 819) - { - StopDistance = 7f, - NextQuestId = new QuestId(3600) - }; - obj94.Steps = list142; - reference102 = obj94; - questRoot19.QuestSequence = list140; - AddQuest(questId19, questRoot19); - } - - private static void LoadQuests72() - { - QuestId questId = new QuestId(3600); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 2; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027990u, new Vector3(-85.31323f, -2.7974376E-11f, -93.247925f), 819) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Crystarium, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027988u, new Vector3(-88.578674f, 0.07107824f, -83.66528f), 819) - { - StopDistance = 7f, - NextQuestId = new QuestId(4176) - }; - obj2.Steps = list4; - reference2 = obj2; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(3601); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list5 = new List(num); - CollectionsMarshal.SetCount(list5, num); - CollectionsMarshal.AsSpan(list5)[0] = "liza"; - questRoot2.Author = list5; - num = 2; - List list6 = new List(num); - CollectionsMarshal.SetCount(list6, num); - Span span2 = CollectionsMarshal.AsSpan(list6); - ref QuestSequence reference3 = ref span2[0]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030408u, new Vector3(-101.12158f, -9.99916f, -62.82141f), 820) - { - AetheryteShortcut = EAetheryteLocation.Eulmore, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Eulmore, - To = EAetheryteLocation.EulmoreNightsoilPots - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj3.Steps = list7; - reference3 = obj3; - ref QuestSequence reference4 = ref span2[1]; - QuestSequence obj4 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030409u, new Vector3(116.53308f, 55.329205f, 816.7085f), 814) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.EulmoreNightsoilPots, - To = EAetheryteLocation.EulmorePathToGlory - }, - NextQuestId = new QuestId(4173) - }; - obj4.Steps = list8; - reference4 = obj4; - questRoot2.QuestSequence = list6; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(3602); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - CollectionsMarshal.AsSpan(list9)[0] = "liza"; - questRoot3.Author = list9; - num = 1; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - ref QuestSequence reference5 = ref CollectionsMarshal.AsSpan(list10)[0]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027847u, new Vector3(-76.34094f, 20.04979f, -110.97894f), 819) - { - StopDistance = 5f - }; - obj5.Steps = list11; - reference5 = obj5; - questRoot3.QuestSequence = list10; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(3603); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - CollectionsMarshal.AsSpan(list12)[0] = "liza"; - questRoot4.Author = list12; - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - ref QuestSequence reference6 = ref CollectionsMarshal.AsSpan(list13)[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027544u, new Vector3(12.985352f, 82.05f, -25.223206f), 820); - obj6.Steps = list14; - reference6 = obj6; - questRoot4.QuestSequence = list13; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(3605); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - CollectionsMarshal.AsSpan(list15)[0] = "liza"; - questRoot5.Author = list15; - num = 1; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - ref QuestSequence reference7 = ref CollectionsMarshal.AsSpan(list16)[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031106u, new Vector3(-8.255188f, -3.1851232E-07f, 10.543945f), 819); - obj7.Steps = list17; - reference7 = obj7; - questRoot5.QuestSequence = list16; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(3606); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - CollectionsMarshal.AsSpan(list18)[0] = "liza"; - questRoot6.Author = list18; - num = 6; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - Span span3 = CollectionsMarshal.AsSpan(list19); - ref QuestSequence reference8 = ref span3[0]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027231u, new Vector3(65.35437f, 1.7160122f, 249.83594f), 819) - { - StopDistance = 7f - }; - obj8.Steps = list20; - reference8 = obj8; - ref QuestSequence reference9 = ref span3[1]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.Interact, 2009895u, new Vector3(26.04712f, -0.015319824f, 73.92993f), 819); - obj9.Steps = list21; - reference9 = obj9; - ref QuestSequence reference10 = ref span3[2]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.Interact, 2009896u, new Vector3(-224.445f, 21.377869f, -58.06067f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium - }; - obj10.Steps = list22; - reference10 = obj10; - ref QuestSequence reference11 = ref span3[3]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.Interact, 2009897u, new Vector3(-224.47546f, 21.22528f, 58.03003f), 819); - obj11.Steps = list23; - reference11 = obj11; - ref QuestSequence reference12 = ref span3[4]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - ref QuestStep reference13 = ref CollectionsMarshal.AsSpan(list24)[0]; - QuestStep obj13 = new QuestStep(EInteractionType.SinglePlayerDuty, 1029599u, new Vector3(-107.0116f, 20f, 12.619202f), 819) - { - StopDistance = 5f - }; - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions(); - int num3 = 3; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - Span span4 = CollectionsMarshal.AsSpan(list25); - span4[0] = "(phase 1) AI gets stuck on trees/posts/walls."; - span4[1] = "(phase 1) AI will never reach the Ostall Imperative, it instead walks circles around Radisca's Round even with all enemies dead."; - span4[2] = "(phase 2) AI will still try to walk to Radisca's Round, but (usually) prioritizes fighting enemies."; - singlePlayerDutyOptions.Notes = list25; - obj13.SinglePlayerDutyOptions = singlePlayerDutyOptions; - reference13 = obj13; - obj12.Steps = list24; - reference12 = obj12; - ref QuestSequence reference14 = ref span3[5]; - QuestSequence obj14 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029601u, new Vector3(-707.5456f, 51.501152f, -241.56561f), 813); - obj14.Steps = list26; - reference14 = obj14; - questRoot6.QuestSequence = list19; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(3607); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - CollectionsMarshal.AsSpan(list27)[0] = "liza"; - questRoot7.Author = list27; - num = 3; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - Span span5 = CollectionsMarshal.AsSpan(list28); - ref QuestSequence reference15 = ref span5[0]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029601u, new Vector3(-707.5456f, 51.501152f, -241.56561f), 813); - obj15.Steps = list29; - reference15 = obj15; - ref QuestSequence reference16 = ref span5[1]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - Span span6 = CollectionsMarshal.AsSpan(list30); - ref QuestStep reference17 = ref span6[0]; - QuestStep obj17 = new QuestStep(EInteractionType.Interact, 1030314u, new Vector3(-690.0587f, 52.7832f, -302.20496f), 813) - { - Fly = true - }; - num3 = 6; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - Span span7 = CollectionsMarshal.AsSpan(list31); - span7[0] = null; - span7[1] = null; - span7[2] = null; - span7[3] = null; - span7[4] = null; - span7[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj17.CompletionQuestVariablesFlags = list31; - reference17 = obj17; - ref QuestStep reference18 = ref span6[1]; - QuestStep obj18 = new QuestStep(EInteractionType.Interact, 1030313u, new Vector3(-649.13403f, 53.2081f, -178.08807f), 813) - { - Fly = true - }; - num3 = 6; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - Span span8 = CollectionsMarshal.AsSpan(list32); - span8[0] = null; - span8[1] = null; - span8[2] = null; - span8[3] = null; - span8[4] = null; - span8[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj18.CompletionQuestVariablesFlags = list32; - reference18 = obj18; - ref QuestStep reference19 = ref span6[2]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1030312u, new Vector3(-694.0261f, 52.60457f, -124.74249f), 813); - num3 = 6; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - Span span9 = CollectionsMarshal.AsSpan(list33); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list33; - reference19 = questStep; - obj16.Steps = list30; - reference16 = obj16; - ref QuestSequence reference20 = ref span5[2]; - QuestSequence obj19 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - Span span10 = CollectionsMarshal.AsSpan(list34); - span10[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-694.03015f, 52.60457f, -139.54802f), 813) - { - Mount = true - }; - span10[1] = new QuestStep(EInteractionType.CompleteQuest, 1029606u, new Vector3(-734.5541f, 52.60457f, -147.1123f), 813) - { - Fly = true - }; - obj19.Steps = list34; - reference20 = obj19; - questRoot7.QuestSequence = list28; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(3608); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - CollectionsMarshal.AsSpan(list35)[0] = "liza"; - questRoot8.Author = list35; - num = 6; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - Span span11 = CollectionsMarshal.AsSpan(list36); - ref QuestSequence reference21 = ref span11[0]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030587u, new Vector3(-728.0537f, 52.604565f, -146.3493f), 813) - { - StopDistance = 5f - }; - obj20.Steps = list37; - reference21 = obj20; - ref QuestSequence reference22 = ref span11[1]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.Interact, 1029607u, new Vector3(-32.791687f, -0.6250627f, -44.663208f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium - }; - obj21.Steps = list38; - reference22 = obj21; - ref QuestSequence reference23 = ref span11[2]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 1029608u, new Vector3(-120.83624f, -47.55994f, -166.15558f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumDossalGate, - To = EAetheryteLocation.CrystariumCabinetOfCuriosity - } - }; - obj22.Steps = list39; - reference23 = obj22; - ref QuestSequence reference24 = ref span11[3]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - ref QuestStep reference25 = ref CollectionsMarshal.AsSpan(list40)[0]; - QuestStep obj24 = new QuestStep(EInteractionType.Emote, 1029608u, new Vector3(-120.83624f, -47.55994f, -166.15558f), 819) - { - Emote = EEmote.Poke - }; - num3 = 1; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - CollectionsMarshal.AsSpan(list41)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMD103_03608_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKMD103_03608_A1_000_002") - }; - obj24.DialogueChoices = list41; - reference25 = obj24; - obj23.Steps = list40; - reference24 = obj23; - ref QuestSequence reference26 = ref span11[4]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - Span span12 = CollectionsMarshal.AsSpan(list42); - ref QuestStep reference27 = ref span12[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2009900u, new Vector3(-136.64453f, -46.00598f, -183.67291f), 819); - num3 = 6; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - Span span13 = CollectionsMarshal.AsSpan(list43); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list43; - reference27 = questStep2; - ref QuestStep reference28 = ref span12[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2009899u, new Vector3(-140.97815f, -44.75476f, -156.66437f), 819); - num3 = 6; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - Span span14 = CollectionsMarshal.AsSpan(list44); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list44; - reference28 = questStep3; - obj25.Steps = list42; - reference26 = obj25; - ref QuestSequence reference29 = ref span11[5]; - QuestSequence obj26 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027248u, new Vector3(-30.807983f, -0.64999914f, -51.438232f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium - }; - obj26.Steps = list45; - reference29 = obj26; - questRoot8.QuestSequence = list36; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(3609); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - CollectionsMarshal.AsSpan(list46)[0] = "liza"; - questRoot9.Author = list46; - num = 7; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - Span span15 = CollectionsMarshal.AsSpan(list47); - ref QuestSequence reference30 = ref span15[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029853u, new Vector3(-30.991089f, -0.6499998f, -49.69867f), 819); - obj27.Steps = list48; - reference30 = obj27; - ref QuestSequence reference31 = ref span15[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - Span span16 = CollectionsMarshal.AsSpan(list49); - span16[0] = new QuestStep(EInteractionType.Interact, 1027230u, new Vector3(117.997925f, 14.649025f, 7.156433f), 819) - { - TargetTerritoryId = (ushort)844 - }; - ref QuestStep reference32 = ref span16[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1028923u, new Vector3(-0.015319824f, -1.0530548E-13f, -6.0273438f), 844); - num3 = 1; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - CollectionsMarshal.AsSpan(list50)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMD104_03609_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKMD104_03609_A1_000_002") - }; - questStep4.DialogueChoices = list50; - reference32 = questStep4; - obj28.Steps = list49; - reference31 = obj28; - ref QuestSequence reference33 = ref span15[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.Interact, 1029597u, new Vector3(2.4871826f, 0f, 1.5106201f), 844) - { - StopDistance = 7f - }; - obj29.Steps = list51; - reference33 = obj29; - ref QuestSequence reference34 = ref span15[3]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.Interact, 2009903u, new Vector3(-177.56934f, -0.015319824f, -0.38153076f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium - }; - obj30.Steps = list52; - reference34 = obj30; - ref QuestSequence reference35 = ref span15[4]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - Span span17 = CollectionsMarshal.AsSpan(list53); - span17[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-246.00786f, -3.0897782f, -0.36405885f), 819); - span17[1] = new QuestStep(EInteractionType.Interact, 1029611u, new Vector3(576.95886f, 6.6976085f, 636.71313f), 813) - { - Fly = true - }; - obj31.Steps = list53; - reference35 = obj31; - ref QuestSequence reference36 = ref span15[5]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.Interact, 1028305u, new Vector3(525.65796f, -5.2326922f, 854.2457f), 813) - { - Fly = true - }; - obj32.Steps = list54; - reference36 = obj32; - ref QuestSequence reference37 = ref span15[6]; - QuestSequence obj33 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029614u, new Vector3(-554.1314f, 35.800797f, -669.70325f), 815); - obj33.Steps = list55; - reference37 = obj33; - questRoot9.QuestSequence = list47; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(3610); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - CollectionsMarshal.AsSpan(list56)[0] = "liza"; - questRoot10.Author = list56; - num = 4; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - Span span18 = CollectionsMarshal.AsSpan(list57); - ref QuestSequence reference38 = ref span18[0]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029615u, new Vector3(-556.69495f, 36.586422f, -670.06946f), 815); - obj34.Steps = list58; - reference38 = obj34; - ref QuestSequence reference39 = ref span18[1]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.Interact, 1030438u, new Vector3(-403.67743f, -20.21407f, -589.9901f), 815); - obj35.Steps = list59; - reference39 = obj35; - ref QuestSequence reference40 = ref span18[2]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - Span span19 = CollectionsMarshal.AsSpan(list60); - ref QuestStep reference41 = ref span19[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1027918u, new Vector3(-389.76123f, -17.724838f, -586.1448f), 815); - num3 = 6; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - Span span20 = CollectionsMarshal.AsSpan(list61); - span20[0] = null; - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list61; - reference41 = questStep5; - ref QuestStep reference42 = ref span19[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1027919u, new Vector3(-404.50146f, -17.85281f, -549.95044f), 815); - num3 = 6; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - Span span21 = CollectionsMarshal.AsSpan(list62); - span21[0] = null; - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list62; - reference42 = questStep6; - ref QuestStep reference43 = ref span19[2]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1027917u, new Vector3(-448.3559f, -20.016521f, -554.6807f), 815); - num3 = 6; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - Span span22 = CollectionsMarshal.AsSpan(list63); - span22[0] = null; - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list63; - reference43 = questStep7; - obj36.Steps = list60; - reference40 = obj36; - ref QuestSequence reference44 = ref span18[3]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - ref QuestStep reference45 = ref CollectionsMarshal.AsSpan(list64)[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.CompleteQuest, 1029617u, new Vector3(-419.39423f, -20.145794f, -578.88153f), 815); - num3 = 1; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - CollectionsMarshal.AsSpan(list65)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMD105_03610_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKMD105_03610_A1_000_003") - }; - questStep8.DialogueChoices = list65; - reference45 = questStep8; - obj37.Steps = list64; - reference44 = obj37; - questRoot10.QuestSequence = list57; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(3611); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - CollectionsMarshal.AsSpan(list66)[0] = "liza"; - questRoot11.Author = list66; - num = 7; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - Span span23 = CollectionsMarshal.AsSpan(list67); - ref QuestSequence reference46 = ref span23[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030438u, new Vector3(-403.67743f, -20.21407f, -589.9901f), 815); - obj38.Steps = list68; - reference46 = obj38; - ref QuestSequence reference47 = ref span23[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1030947u, new Vector3(-461.9364f, -1.2183915f, -372.06073f), 815); - obj39.Steps = list69; - reference47 = obj39; - ref QuestSequence reference48 = ref span23[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.Interact, 1029620u, new Vector3(-2.0905762f, 45.61908f, -583.48975f), 815); - obj40.Steps = list70; - reference48 = obj40; - ref QuestSequence reference49 = ref span23[3]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - Span span24 = CollectionsMarshal.AsSpan(list71); - ref QuestStep reference50 = ref span24[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 2009906u, new Vector3(-0.7172241f, 48.722046f, -529.80853f), 815); - num3 = 6; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - Span span25 = CollectionsMarshal.AsSpan(list72); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list72; - reference50 = questStep9; - ref QuestStep reference51 = ref span24[1]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 2009904u, new Vector3(19.821411f, 46.189087f, -575.0973f), 815); - num3 = 6; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - Span span26 = CollectionsMarshal.AsSpan(list73); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list73; - reference51 = questStep10; - ref QuestStep reference52 = ref span24[2]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 2009905u, new Vector3(13.443176f, 47.89807f, -618.12775f), 815); - num3 = 6; - List list74 = new List(num3); - CollectionsMarshal.SetCount(list74, num3); - Span span27 = CollectionsMarshal.AsSpan(list74); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list74; - reference52 = questStep11; - obj41.Steps = list71; - reference49 = obj41; - ref QuestSequence reference53 = ref span23[4]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.Interact, 1029622u, new Vector3(80.338745f, 45.622585f, -641.5351f), 815); - obj42.Steps = list75; - reference53 = obj42; - ref QuestSequence reference54 = ref span23[5]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - ref QuestStep reference55 = ref CollectionsMarshal.AsSpan(list76)[0]; - QuestStep obj44 = new QuestStep(EInteractionType.Combat, 1029623u, new Vector3(-62.760437f, 45.619083f, -606.3783f), 815) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - CollectionsMarshal.AsSpan(list77)[0] = 10882u; - obj44.KillEnemyDataIds = list77; - reference55 = obj44; - obj43.Steps = list76; - reference54 = obj43; - ref QuestSequence reference56 = ref span23[6]; - QuestSequence obj45 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029624u, new Vector3(90.196045f, 45.72853f, -598.90137f), 815); - obj45.Steps = list78; - reference56 = obj45; - questRoot11.QuestSequence = list67; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(3612); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - CollectionsMarshal.AsSpan(list79)[0] = "liza"; - questRoot12.Author = list79; - num = 8; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - Span span28 = CollectionsMarshal.AsSpan(list80); - ref QuestSequence reference57 = ref span28[0]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029629u, new Vector3(88.48706f, 45.737045f, -595.9106f), 815) - { - StopDistance = 7f - }; - obj46.Steps = list81; - reference57 = obj46; - ref QuestSequence reference58 = ref span28[1]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.Interact, 1029631u, new Vector3(-94.65173f, 41.257984f, -537.59064f), 815); - obj47.Steps = list82; - reference58 = obj47; - ref QuestSequence reference59 = ref span28[2]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.Interact, 1029632u, new Vector3(-136.36993f, 28.480484f, -374.99048f), 815); - obj48.Steps = list83; - reference59 = obj48; - ref QuestSequence reference60 = ref span28[3]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - Span span29 = CollectionsMarshal.AsSpan(list84); - span29[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-158.38751f, 25.202963f, -285.0746f), 815) - { - Sprint = true - }; - ref QuestStep reference61 = ref span29[1]; - QuestStep obj50 = new QuestStep(EInteractionType.Combat, null, new Vector3(-276.48285f, 18.86909f, -244.22473f), 815) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - CollectionsMarshal.AsSpan(list85)[0] = 11138u; - obj50.KillEnemyDataIds = list85; - reference61 = obj50; - obj49.Steps = list84; - reference60 = obj49; - ref QuestSequence reference62 = ref span28[4]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.Interact, 1029633u, new Vector3(-278.03473f, 19.067781f, -249.19507f), 815) - { - StopDistance = 7f - }; - obj51.Steps = list86; - reference62 = obj51; - ref QuestSequence reference63 = ref span28[5]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.Interact, 1029634u, new Vector3(-479.7895f, 45.16138f, -213.6416f), 815); - obj52.Steps = list87; - reference63 = obj52; - ref QuestSequence reference64 = ref span28[6]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 1029635u, new Vector3(-479.45374f, 47.777702f, -189.77649f), 815); - obj53.Steps = list88; - reference64 = obj53; - ref QuestSequence reference65 = ref span28[7]; - QuestSequence obj54 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029637u, new Vector3(-483.23798f, 45.473377f, -211.3222f), 815); - obj54.Steps = list89; - reference65 = obj54; - questRoot12.QuestSequence = list80; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(3613); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - CollectionsMarshal.AsSpan(list90)[0] = "liza"; - questRoot13.Author = list90; - num = 7; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - Span span30 = CollectionsMarshal.AsSpan(list91); - ref QuestSequence reference66 = ref span30[0]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029637u, new Vector3(-483.23798f, 45.473377f, -211.3222f), 815); - obj55.Steps = list92; - reference66 = obj55; - ref QuestSequence reference67 = ref span30[1]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - Span span31 = CollectionsMarshal.AsSpan(list93); - span31[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 815) - { - Aetheryte = EAetheryteLocation.AmhAraengTwine - }; - span31[1] = new QuestStep(EInteractionType.Interact, 1029640u, new Vector3(-545.31165f, 45.512848f, -230.6402f), 815); - obj56.Steps = list93; - reference67 = obj56; - ref QuestSequence reference68 = ref span30[2]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - ref QuestStep reference69 = ref CollectionsMarshal.AsSpan(list94)[0]; - QuestStep obj58 = new QuestStep(EInteractionType.UseItem, null, new Vector3(-410.60504f, 46.19129f, -245.38031f), 815) - { - StopDistance = 2f, - ItemId = 2002559u - }; - num3 = 1; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - CollectionsMarshal.AsSpan(list95)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMD108_03613_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKMD108_03613_A1_000_002") - }; - obj58.DialogueChoices = list95; - reference69 = obj58; - obj57.Steps = list94; - reference68 = obj57; - ref QuestSequence reference70 = ref span30[3]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - Span span32 = CollectionsMarshal.AsSpan(list96); - span32[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-341.64484f, 46.191288f, -244.7952f), 815); - span32[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010050u, new Vector3(-343.80103f, 46.98242f, -235.43152f), 815) - { - DisableNavmesh = true, - AetherCurrentId = 2818259u - }; - span32[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-341.64484f, 46.191288f, -244.7952f), 815) - { - DisableNavmesh = true - }; - ref QuestStep reference71 = ref span32[3]; - QuestStep obj60 = new QuestStep(EInteractionType.UseItem, null, new Vector3(-226.30658f, 46.19127f, -247.21143f), 815) - { - StopDistance = 2f, - ItemId = 2002559u - }; - num3 = 1; - List list97 = new List(num3); - CollectionsMarshal.SetCount(list97, num3); - CollectionsMarshal.AsSpan(list97)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMD108_03613_Q2_000_000"), - Answer = new ExcelRef("TEXT_LUCKMD108_03613_A2_000_003") - }; - obj60.DialogueChoices = list97; - reference71 = obj60; - obj59.Steps = list96; - reference70 = obj59; - ref QuestSequence reference72 = ref span30[4]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - Span span33 = CollectionsMarshal.AsSpan(list98); - ref QuestStep reference73 = ref span33[0]; - QuestStep obj62 = new QuestStep(EInteractionType.Combat, 2009910u, new Vector3(-170.48907f, 46.189087f, -279.56055f), 815) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list99 = new List(num3); - CollectionsMarshal.SetCount(list99, num3); - CollectionsMarshal.AsSpan(list99)[0] = 10883u; - obj62.KillEnemyDataIds = list99; - num3 = 6; - List list100 = new List(num3); - CollectionsMarshal.SetCount(list100, num3); - Span span34 = CollectionsMarshal.AsSpan(list100); - span34[0] = null; - span34[1] = null; - span34[2] = null; - span34[3] = null; - span34[4] = null; - span34[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj62.CompletionQuestVariablesFlags = list100; - reference73 = obj62; - ref QuestStep reference74 = ref span33[1]; - QuestStep obj63 = new QuestStep(EInteractionType.Combat, 2009911u, new Vector3(-181.5061f, 46.189087f, -362.6917f), 815) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - CollectionsMarshal.AsSpan(list101)[0] = 10883u; - obj63.KillEnemyDataIds = list101; - num3 = 6; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - Span span35 = CollectionsMarshal.AsSpan(list102); - span35[0] = null; - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj63.CompletionQuestVariablesFlags = list102; - reference74 = obj63; - ref QuestStep reference75 = ref span33[2]; - QuestStep obj64 = new QuestStep(EInteractionType.Combat, 2009912u, new Vector3(-127.58075f, 45.914307f, -456.59576f), 815) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - CollectionsMarshal.AsSpan(list103)[0] = 10883u; - obj64.KillEnemyDataIds = list103; - num3 = 6; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - Span span36 = CollectionsMarshal.AsSpan(list104); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj64.CompletionQuestVariablesFlags = list104; - reference75 = obj64; - obj61.Steps = list98; - reference72 = obj61; - ref QuestSequence reference76 = ref span30[5]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 1029642u, new Vector3(-226.30658f, 46.19127f, -247.21143f), 815); - obj65.Steps = list105; - reference76 = obj65; - ref QuestSequence reference77 = ref span30[6]; - QuestSequence obj66 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029643u, new Vector3(-453.60498f, 45.48443f, -236.86578f), 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengTwine - }; - obj66.Steps = list106; - reference77 = obj66; - questRoot13.QuestSequence = list91; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(3614); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - CollectionsMarshal.AsSpan(list107)[0] = "liza"; - questRoot14.Author = list107; - num = 4; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - Span span37 = CollectionsMarshal.AsSpan(list108); - ref QuestSequence reference78 = ref span37[0]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029643u, new Vector3(-453.60498f, 45.48443f, -236.86578f), 815); - obj67.Steps = list109; - reference78 = obj67; - ref QuestSequence reference79 = ref span37[1]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.Interact, 1029645u, new Vector3(-503.16626f, 45.71098f, -258.32f), 815); - obj68.Steps = list110; - reference79 = obj68; - ref QuestSequence reference80 = ref span37[2]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - ref QuestStep reference81 = ref CollectionsMarshal.AsSpan(list111)[0]; - QuestStep obj70 = new QuestStep(EInteractionType.Combat, null, new Vector3(-395.11795f, 24.01915f, -200.26707f), 815) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list112 = new List(num3); - CollectionsMarshal.SetCount(list112, num3); - CollectionsMarshal.AsSpan(list112)[0] = new ComplexCombatData - { - DataId = 10347u, - MinimumKillCount = 3u, - RewardItemId = 2002560u, - RewardItemCount = 3 - }; - obj70.ComplexCombatData = list112; - reference81 = obj70; - obj69.Steps = list111; - reference80 = obj69; - ref QuestSequence reference82 = ref span37[3]; - QuestSequence obj71 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029761u, new Vector3(-503.19678f, 45.72556f, -254.01697f), 815); - obj71.Steps = list113; - reference82 = obj71; - questRoot14.QuestSequence = list108; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(3615); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list114 = new List(num); - CollectionsMarshal.SetCount(list114, num); - CollectionsMarshal.AsSpan(list114)[0] = "liza"; - questRoot15.Author = list114; - num = 4; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - Span span38 = CollectionsMarshal.AsSpan(list115); - ref QuestSequence reference83 = ref span38[0]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030569u, new Vector3(-504.47852f, 45.822144f, -250.44635f), 815) - { - StopDistance = 5f - }; - obj72.Steps = list116; - reference83 = obj72; - ref QuestSequence reference84 = ref span38[1]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.Interact, 1029639u, new Vector3(-478.6908f, 47.777702f, -191.36346f), 815); - obj73.Steps = list117; - reference84 = obj73; - ref QuestSequence reference85 = ref span38[2]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.Interact, 1029649u, new Vector3(-549.5842f, 49.964603f, -189.04407f), 815) - { - StopDistance = 5f - }; - obj74.Steps = list118; - reference85 = obj74; - ref QuestSequence reference86 = ref span38[3]; - QuestSequence obj75 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029755u, new Vector3(-462.54675f, 45.367775f, -205.31018f), 815); - obj75.Steps = list119; - reference86 = obj75; - questRoot15.QuestSequence = list115; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(3616); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list120 = new List(num); - CollectionsMarshal.SetCount(list120, num); - CollectionsMarshal.AsSpan(list120)[0] = "liza"; - questRoot16.Author = list120; - num = 7; - List list121 = new List(num); - CollectionsMarshal.SetCount(list121, num); - Span span39 = CollectionsMarshal.AsSpan(list121); - ref QuestSequence reference87 = ref span39[0]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029755u, new Vector3(-462.54675f, 45.367775f, -205.31018f), 815); - obj76.Steps = list122; - reference87 = obj76; - ref QuestSequence reference88 = ref span39[1]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - Span span40 = CollectionsMarshal.AsSpan(list123); - span40[0] = new QuestStep(EInteractionType.AcceptQuest, 1027927u, new Vector3(-476.95123f, 47.78906f, -200.61041f), 815) - { - PickUpQuestId = new QuestId(3511) - }; - span40[1] = new QuestStep(EInteractionType.Interact, 1029756u, new Vector3(-344.96075f, 18.147886f, 40.66516f), 815); - obj77.Steps = list123; - reference88 = obj77; - ref QuestSequence reference89 = ref span39[2]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.Interact, 1029757u, new Vector3(-595.72754f, 5.317615f, 38.16284f), 815); - obj78.Steps = list124; - reference89 = obj78; - ref QuestSequence reference90 = ref span39[3]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.Interact, 1029758u, new Vector3(-594.81195f, 5.3112187f, 41.45874f), 815) - { - StopDistance = 7f - }; - obj79.Steps = list125; - reference90 = obj79; - ref QuestSequence reference91 = ref span39[4]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.Interact, 2009913u, new Vector3(-641.4435f, -1.4191895f, 147.29529f), 815); - obj80.Steps = list126; - reference91 = obj80; - ref QuestSequence reference92 = ref span39[5]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - ref QuestStep reference93 = ref CollectionsMarshal.AsSpan(list127)[0]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1029758u, new Vector3(-594.81195f, 5.3112187f, 41.45874f), 815); - num3 = 1; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - CollectionsMarshal.AsSpan(list128)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMD111_03616_Q1_000_001"), - Answer = new ExcelRef("TEXT_LUCKMD111_03616_A1_000_002") - }; - questStep12.DialogueChoices = list128; - reference93 = questStep12; - obj81.Steps = list127; - reference92 = obj81; - ref QuestSequence reference94 = ref span39[6]; - QuestSequence obj82 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029757u, new Vector3(-595.72754f, 5.317615f, 38.16284f), 815) - { - StopDistance = 7f - }; - obj82.Steps = list129; - reference94 = obj82; - questRoot16.QuestSequence = list121; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(3617); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list130 = new List(num); - CollectionsMarshal.SetCount(list130, num); - CollectionsMarshal.AsSpan(list130)[0] = "liza"; - questRoot17.Author = list130; - num = 6; - List list131 = new List(num); - CollectionsMarshal.SetCount(list131, num); - Span span41 = CollectionsMarshal.AsSpan(list131); - ref QuestSequence reference95 = ref span41[0]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029757u, new Vector3(-595.72754f, 5.317615f, 38.16284f), 815) - { - StopDistance = 7f - }; - obj83.Steps = list132; - reference95 = obj83; - ref QuestSequence reference96 = ref span41[1]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.Interact, 1029759u, new Vector3(-342.33618f, 19.004045f, 77.04285f), 815); - obj84.Steps = list133; - reference96 = obj84; - ref QuestSequence reference97 = ref span41[2]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.Interact, 2010009u, new Vector3(-321.3092f, 20.004517f, 99.83972f), 815); - obj85.Steps = list134; - reference97 = obj85; - ref QuestSequence reference98 = ref span41[3]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - Span span42 = CollectionsMarshal.AsSpan(list135); - ref QuestStep reference99 = ref span42[0]; - QuestStep obj87 = new QuestStep(EInteractionType.UseItem, 2009918u, new Vector3(-453.08612f, 11.703674f, 185.5039f), 815) - { - ItemId = 2002562u - }; - num3 = 6; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - Span span43 = CollectionsMarshal.AsSpan(list136); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj87.CompletionQuestVariablesFlags = list136; - reference99 = obj87; - ref QuestStep reference100 = ref span42[1]; - QuestStep obj88 = new QuestStep(EInteractionType.UseItem, 2009916u, new Vector3(-610.4677f, -0.65618896f, 135.9425f), 815) - { - ItemId = 2002562u - }; - num3 = 6; - List list137 = new List(num3); - CollectionsMarshal.SetCount(list137, num3); - Span span44 = CollectionsMarshal.AsSpan(list137); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj88.CompletionQuestVariablesFlags = list137; - reference100 = obj88; - ref QuestStep reference101 = ref span42[2]; - QuestStep obj89 = new QuestStep(EInteractionType.UseItem, 2009917u, new Vector3(-426.65753f, 17.196838f, 5.142273f), 815) - { - ItemId = 2002562u - }; - num3 = 6; - List list138 = new List(num3); - CollectionsMarshal.SetCount(list138, num3); - Span span45 = CollectionsMarshal.AsSpan(list138); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj89.CompletionQuestVariablesFlags = list138; - reference101 = obj89; - obj86.Steps = list135; - reference98 = obj86; - ref QuestSequence reference102 = ref span41[4]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 4 - }; - num2 = 7; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - Span span46 = CollectionsMarshal.AsSpan(list139); - ref QuestStep reference103 = ref span46[0]; - QuestStep obj91 = new QuestStep(EInteractionType.Combat, 2010277u, new Vector3(-411.0628f, 16.891724f, 9.536865f), 815) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list140 = new List(num3); - CollectionsMarshal.SetCount(list140, num3); - CollectionsMarshal.AsSpan(list140)[0] = 10884u; - obj91.KillEnemyDataIds = list140; - num3 = 6; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - Span span47 = CollectionsMarshal.AsSpan(list141); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj91.CompletionQuestVariablesFlags = list141; - reference103 = obj91; - ref QuestStep reference104 = ref span46[1]; - QuestStep obj92 = new QuestStep(EInteractionType.Combat, 2010279u, new Vector3(-492.8512f, 10.574402f, 9.4453125f), 815) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - CollectionsMarshal.AsSpan(list142)[0] = 10884u; - obj92.KillEnemyDataIds = list142; - num3 = 6; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - Span span48 = CollectionsMarshal.AsSpan(list143); - span48[0] = null; - span48[1] = null; - span48[2] = null; - span48[3] = null; - span48[4] = null; - span48[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj92.CompletionQuestVariablesFlags = list143; - reference104 = obj92; - ref QuestStep reference105 = ref span46[2]; - QuestStep obj93 = new QuestStep(EInteractionType.Combat, 2010276u, new Vector3(-580.89575f, 6.088318f, 119.79846f), 815) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - CollectionsMarshal.AsSpan(list144)[0] = 10884u; - obj93.KillEnemyDataIds = list144; - num3 = 6; - List list145 = new List(num3); - CollectionsMarshal.SetCount(list145, num3); - Span span49 = CollectionsMarshal.AsSpan(list145); - span49[0] = null; - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj93.CompletionQuestVariablesFlags = list145; - reference105 = obj93; - ref QuestStep reference106 = ref span46[3]; - QuestStep obj94 = new QuestStep(EInteractionType.Combat, 2010275u, new Vector3(-589.1356f, 1.7547607f, 179.18665f), 815) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - CollectionsMarshal.AsSpan(list146)[0] = 10884u; - obj94.KillEnemyDataIds = list146; - num3 = 6; - List list147 = new List(num3); - CollectionsMarshal.SetCount(list147, num3); - Span span50 = CollectionsMarshal.AsSpan(list147); - span50[0] = null; - span50[1] = null; - span50[2] = null; - span50[3] = null; - span50[4] = null; - span50[5] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - obj94.CompletionQuestVariablesFlags = list147; - reference106 = obj94; - ref QuestStep reference107 = ref span46[4]; - QuestStep obj95 = new QuestStep(EInteractionType.Combat, 2010274u, new Vector3(-627.039f, 0.93078613f, 131.45642f), 815) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list148 = new List(num3); - CollectionsMarshal.SetCount(list148, num3); - CollectionsMarshal.AsSpan(list148)[0] = 10884u; - obj95.KillEnemyDataIds = list148; - num3 = 6; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - Span span51 = CollectionsMarshal.AsSpan(list149); - span51[0] = null; - span51[1] = null; - span51[2] = null; - span51[3] = null; - span51[4] = null; - span51[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - obj95.CompletionQuestVariablesFlags = list149; - reference107 = obj95; - ref QuestStep reference108 = ref span46[5]; - QuestStep obj96 = new QuestStep(EInteractionType.Combat, 2010281u, new Vector3(-503.0747f, 10.666016f, 191.85156f), 815) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list150 = new List(num3); - CollectionsMarshal.SetCount(list150, num3); - CollectionsMarshal.AsSpan(list150)[0] = 10884u; - obj96.KillEnemyDataIds = list150; - num3 = 6; - List list151 = new List(num3); - CollectionsMarshal.SetCount(list151, num3); - Span span52 = CollectionsMarshal.AsSpan(list151); - span52[0] = null; - span52[1] = null; - span52[2] = null; - span52[3] = null; - span52[4] = null; - span52[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj96.CompletionQuestVariablesFlags = list151; - reference108 = obj96; - ref QuestStep reference109 = ref span46[6]; - QuestStep obj97 = new QuestStep(EInteractionType.Combat, 2010283u, new Vector3(-419.21112f, 11.9782715f, 181.41443f), 815) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list152 = new List(num3); - CollectionsMarshal.SetCount(list152, num3); - CollectionsMarshal.AsSpan(list152)[0] = 10884u; - obj97.KillEnemyDataIds = list152; - num3 = 6; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - Span span53 = CollectionsMarshal.AsSpan(list153); - span53[0] = null; - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj97.CompletionQuestVariablesFlags = list153; - reference109 = obj97; - obj90.Steps = list139; - reference102 = obj90; - ref QuestSequence reference110 = ref span41[5]; - QuestSequence obj98 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029759u, new Vector3(-342.33618f, 19.004045f, 77.04285f), 815); - obj98.Steps = list154; - reference110 = obj98; - questRoot17.QuestSequence = list131; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(3618); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list155 = new List(num); - CollectionsMarshal.SetCount(list155, num); - CollectionsMarshal.AsSpan(list155)[0] = "liza"; - questRoot18.Author = list155; - num = 4; - List list156 = new List(num); - CollectionsMarshal.SetCount(list156, num); - Span span54 = CollectionsMarshal.AsSpan(list156); - ref QuestSequence reference111 = ref span54[0]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029759u, new Vector3(-342.33618f, 19.004045f, 77.04285f), 815); - obj99.Steps = list157; - reference111 = obj99; - ref QuestSequence reference112 = ref span54[1]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.Interact, 1029754u, new Vector3(-543.6942f, 49.964603f, -172.47278f), 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengTwine - }; - obj100.Steps = list158; - reference112 = obj100; - ref QuestSequence reference113 = ref span54[2]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.Interact, 1029761u, new Vector3(-503.19678f, 45.72556f, -254.01697f), 815); - obj101.Steps = list159; - reference113 = obj101; - ref QuestSequence reference114 = ref span54[3]; - QuestSequence obj102 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029638u, new Vector3(-484.48926f, 45.553265f, -212.29883f), 815); - obj102.Steps = list160; - reference114 = obj102; - questRoot18.QuestSequence = list156; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(3619); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - CollectionsMarshal.AsSpan(list161)[0] = "liza"; - questRoot19.Author = list161; - num = 4; - List list162 = new List(num); - CollectionsMarshal.SetCount(list162, num); - Span span55 = CollectionsMarshal.AsSpan(list162); - ref QuestSequence reference115 = ref span55[0]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029765u, new Vector3(-455.40552f, 45.692944f, -240.52802f), 815); - obj103.Steps = list163; - reference115 = obj103; - ref QuestSequence reference116 = ref span55[1]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - Span span56 = CollectionsMarshal.AsSpan(list164); - span56[0] = new QuestStep(EInteractionType.AcceptQuest, 1030419u, new Vector3(-506.6148f, 45.614502f, -194.50684f), 815) - { - PickUpQuestId = new QuestId(3525) - }; - span56[1] = new QuestStep(EInteractionType.Interact, 1029768u, new Vector3(7.9804688f, 45.619083f, -583.7339f), 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengTwine - }; - obj104.Steps = list164; - reference116 = obj104; - ref QuestSequence reference117 = ref span55[2]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - ref QuestStep reference118 = ref CollectionsMarshal.AsSpan(list165)[0]; - QuestStep questStep13 = new QuestStep(EInteractionType.SinglePlayerDuty, 1029771u, new Vector3(5.8136597f, 45.61908f, -591.577f), 815); - SinglePlayerDutyOptions singlePlayerDutyOptions2 = new SinglePlayerDutyOptions(); - num3 = 1; - List list166 = new List(num3); - CollectionsMarshal.SetCount(list166, num3); - CollectionsMarshal.AsSpan(list166)[0] = "(before Ran'jit wears the veil) AI doesn't pull, doesn't attack and VBM doesn't recognize any AOEs."; - singlePlayerDutyOptions2.Notes = list166; - questStep13.SinglePlayerDutyOptions = singlePlayerDutyOptions2; - reference118 = questStep13; - obj105.Steps = list165; - reference117 = obj105; - ref QuestSequence reference119 = ref span55[3]; - QuestSequence obj106 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029775u, new Vector3(20.675903f, -91.19236f, 509.78857f), 815); - obj106.Steps = list167; - reference119 = obj106; - questRoot19.QuestSequence = list162; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(3620); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list168 = new List(num); - CollectionsMarshal.SetCount(list168, num); - CollectionsMarshal.AsSpan(list168)[0] = "liza"; - questRoot20.Author = list168; - num = 4; - List list169 = new List(num); - CollectionsMarshal.SetCount(list169, num); - Span span57 = CollectionsMarshal.AsSpan(list169); - ref QuestSequence reference120 = ref span57[0]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029775u, new Vector3(20.675903f, -91.19236f, 509.78857f), 815); - obj107.Steps = list170; - reference120 = obj107; - ref QuestSequence reference121 = ref span57[1]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.Interact, 2009921u, new Vector3(138.96387f, -77.836365f, 621.3627f), 815); - obj108.Steps = list171; - reference121 = obj108; - ref QuestSequence reference122 = ref span57[2]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - Span span58 = CollectionsMarshal.AsSpan(list172); - span58[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010052u, new Vector3(158.804f, -61.09476f, 674.8915f), 815) - { - AetherCurrentId = 2818261u - }; - span58[1] = new QuestStep(EInteractionType.Interact, 1029777u, new Vector3(147.93616f, -75.016464f, 642.359f), 815); - obj109.Steps = list172; - reference122 = obj109; - ref QuestSequence reference123 = ref span57[3]; - QuestSequence obj110 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029778u, new Vector3(-282.1546f, -62.57727f, 380.14795f), 815); - obj110.Steps = list173; - reference123 = obj110; - questRoot20.QuestSequence = list169; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(3621); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list174 = new List(num); - CollectionsMarshal.SetCount(list174, num); - CollectionsMarshal.AsSpan(list174)[0] = "liza"; - questRoot21.Author = list174; - num = 5; - List list175 = new List(num); - CollectionsMarshal.SetCount(list175, num); - Span span59 = CollectionsMarshal.AsSpan(list175); - ref QuestSequence reference124 = ref span59[0]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - CollectionsMarshal.AsSpan(list176)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029783u, new Vector3(-281.36108f, -62.86976f, 382.62f), 815); - obj111.Steps = list176; - reference124 = obj111; - ref QuestSequence reference125 = ref span59[1]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.Interact, 2009922u, new Vector3(-507.59137f, -95.99457f, 490.07385f), 815); - obj112.Steps = list177; - reference125 = obj112; - ref QuestSequence reference126 = ref span59[2]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.Duty, null, null, 815) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 656u - } - }; - obj113.Steps = list178; - reference126 = obj113; - span59[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference127 = ref span59[4]; - QuestSequence obj114 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - CollectionsMarshal.AsSpan(list179)[0] = new QuestStep(EInteractionType.CompleteQuest, 1029784u, new Vector3(-429.92297f, -86.054756f, 464.59143f), 815) - { - StopDistance = 5f - }; - obj114.Steps = list179; - reference127 = obj114; - questRoot21.QuestSequence = list175; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(3622); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list180 = new List(num); - CollectionsMarshal.SetCount(list180, num); - CollectionsMarshal.AsSpan(list180)[0] = "liza"; - questRoot22.Author = list180; - num = 3; - List list181 = new List(num); - CollectionsMarshal.SetCount(list181, num); - Span span60 = CollectionsMarshal.AsSpan(list181); - ref QuestSequence reference128 = ref span60[0]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029786u, new Vector3(-431.08264f, -86.381516f, 462.33313f), 815) - { - StopDistance = 5f - }; - obj115.Steps = list182; - reference128 = obj115; - ref QuestSequence reference129 = ref span60[1]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - CollectionsMarshal.AsSpan(list183)[0] = new QuestStep(EInteractionType.Interact, 1029558u, new Vector3(28.732666f, 0f, 1.87677f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - obj116.Steps = list183; - reference129 = obj116; - ref QuestSequence reference130 = ref span60[2]; - QuestSequence obj117 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - ref QuestStep reference131 = ref CollectionsMarshal.AsSpan(list184)[0]; - QuestStep obj118 = new QuestStep(EInteractionType.CompleteQuest, 1030610u, new Vector3(65.11023f, 1.7160122f, 249.7749f), 819) - { - StopDistance = 7f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumDossalGate, - To = EAetheryteLocation.CrystariumPendants - } - }; - num3 = 1; - List list185 = new List(num3); - CollectionsMarshal.SetCount(list185, num3); - CollectionsMarshal.AsSpan(list185)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKMD117_03622_Q2_000_000") - }; - obj118.DialogueChoices = list185; - reference131 = obj118; - obj117.Steps = list184; - reference130 = obj117; - questRoot22.QuestSequence = list181; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(3623); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list186 = new List(num); - CollectionsMarshal.SetCount(list186, num); - CollectionsMarshal.AsSpan(list186)[0] = "liza"; - questRoot23.Author = list186; - num = 5; - List list187 = new List(num); - CollectionsMarshal.SetCount(list187, num); - Span span61 = CollectionsMarshal.AsSpan(list187); - ref QuestSequence reference132 = ref span61[0]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - CollectionsMarshal.AsSpan(list188)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030643u, new Vector3(-0.16790771f, 3.9998174f, 201.9226f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumMarkets - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj119.Steps = list188; - reference132 = obj119; - ref QuestSequence reference133 = ref span61[1]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - Span span62 = CollectionsMarshal.AsSpan(list189); - span62[0] = new QuestStep(EInteractionType.Interact, 1027264u, new Vector3(60.593506f, 36.247692f, -171.80133f), 819) - { - TargetTerritoryId = (ushort)815, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumPendants, - To = EAetheryteLocation.CrystariumAmaroLaunch - } - }; - span62[1] = new QuestStep(EInteractionType.Interact, 1030623u, new Vector3(665.6748f, -50.355476f, -641.5351f), 815) - { - Fly = true - }; - obj120.Steps = list189; - reference133 = obj120; - ref QuestSequence reference134 = ref span61[2]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - ref QuestStep reference135 = ref CollectionsMarshal.AsSpan(list190)[0]; - QuestStep obj122 = new QuestStep(EInteractionType.Combat, 2010165u, new Vector3(483.48206f, -50.46167f, -631.52515f), 815) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list191 = new List(num3); - CollectionsMarshal.SetCount(list191, num3); - CollectionsMarshal.AsSpan(list191)[0] = 10836u; - obj122.KillEnemyDataIds = list191; - reference135 = obj122; - obj121.Steps = list190; - reference134 = obj121; - ref QuestSequence reference136 = ref span61[3]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.Interact, 1030624u, new Vector3(500.54163f, -50.72601f, -647.5471f), 815); - obj123.Steps = list192; - reference136 = obj123; - ref QuestSequence reference137 = ref span61[4]; - QuestSequence obj124 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030625u, new Vector3(218.73804f, 7.1558266f, -249.1341f), 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengMordSouq, - NextQuestId = new QuestId(3624) - }; - obj124.Steps = list193; - reference137 = obj124; - questRoot23.QuestSequence = list187; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(3624); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - CollectionsMarshal.AsSpan(list194)[0] = "liza"; - questRoot24.Author = list194; - num = 5; - List list195 = new List(num); - CollectionsMarshal.SetCount(list195, num); - Span span63 = CollectionsMarshal.AsSpan(list195); - ref QuestSequence reference138 = ref span63[0]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030625u, new Vector3(218.73804f, 7.1558266f, -249.1341f), 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengMordSouq, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(218.73804f, 7.1558266f, -249.1341f), - MaximumDistance = 100f, - TerritoryId = 815 - } - } - } - }; - obj125.Steps = list196; - reference138 = obj125; - ref QuestSequence reference139 = ref span63[1]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - ref QuestStep reference140 = ref CollectionsMarshal.AsSpan(list197)[0]; - QuestStep obj127 = new QuestStep(EInteractionType.Combat, 2010166u, new Vector3(599.115f, -33.61566f, -304.49384f), 815) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list198 = new List(num3); - CollectionsMarshal.SetCount(list198, num3); - CollectionsMarshal.AsSpan(list198)[0] = 10837u; - obj127.KillEnemyDataIds = list198; - reference140 = obj127; - obj126.Steps = list197; - reference139 = obj126; - ref QuestSequence reference141 = ref span63[2]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - CollectionsMarshal.AsSpan(list199)[0] = new QuestStep(EInteractionType.Interact, 1030625u, new Vector3(218.73804f, 7.1558266f, -249.1341f), 815) - { - Fly = true - }; - obj128.Steps = list199; - reference141 = obj128; - ref QuestSequence reference142 = ref span63[3]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.Interact, 2010214u, new Vector3(488.85327f, -26.16925f, -12.008911f), 815) - { - Fly = true - }; - obj129.Steps = list200; - reference142 = obj129; - ref QuestSequence reference143 = ref span63[4]; - QuestSequence obj130 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - ref QuestStep reference144 = ref CollectionsMarshal.AsSpan(list201)[0]; - QuestStep obj131 = new QuestStep(EInteractionType.CompleteQuest, 1030625u, new Vector3(218.73804f, 7.1558266f, -249.1341f), 815) - { - Fly = true - }; - num3 = 1; - List list202 = new List(num3); - CollectionsMarshal.SetCount(list202, num3); - CollectionsMarshal.AsSpan(list202)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKBA411_03624_Q1_000_100"), - Answer = new ExcelRef("TEXT_LUCKBA411_03624_A1_000_100") - }; - obj131.DialogueChoices = list202; - obj131.NextQuestId = new QuestId(3625); - reference144 = obj131; - obj130.Steps = list201; - reference143 = obj130; - questRoot24.QuestSequence = list195; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(3625); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list203 = new List(num); - CollectionsMarshal.SetCount(list203, num); - CollectionsMarshal.AsSpan(list203)[0] = "liza"; - questRoot25.Author = list203; - num = 9; - List list204 = new List(num); - CollectionsMarshal.SetCount(list204, num); - Span span64 = CollectionsMarshal.AsSpan(list204); - ref QuestSequence reference145 = ref span64[0]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030625u, new Vector3(218.73804f, 7.1558266f, -249.1341f), 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengMordSouq, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(218.73804f, 7.1558266f, -249.1341f), - MaximumDistance = 100f, - TerritoryId = 815 - } - } - } - }; - obj132.Steps = list205; - reference145 = obj132; - ref QuestSequence reference146 = ref span64[1]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.Interact, 1030626u, new Vector3(331.62415f, 1.4685826f, -244.95312f), 815) - { - Fly = true - }; - obj133.Steps = list206; - reference146 = obj133; - ref QuestSequence reference147 = ref span64[2]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - CollectionsMarshal.AsSpan(list207)[0] = new QuestStep(EInteractionType.Interact, 1030627u, new Vector3(330.06775f, 1.4685818f, -164.0498f), 815) - { - Fly = true - }; - obj134.Steps = list207; - reference147 = obj134; - ref QuestSequence reference148 = ref span64[3]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.Interact, 1030628u, new Vector3(407.6753f, -28.443933f, 260.8224f), 815) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AmhAraengInnAtJourneysHead - }; - obj135.Steps = list208; - reference148 = obj135; - ref QuestSequence reference149 = ref span64[4]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.Interact, 1030630u, new Vector3(368.39856f, -28.620693f, 353.78027f), 815) - { - Fly = true - }; - obj136.Steps = list209; - reference149 = obj136; - ref QuestSequence reference150 = ref span64[5]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - ref QuestStep reference151 = ref CollectionsMarshal.AsSpan(list210)[0]; - QuestStep obj138 = new QuestStep(EInteractionType.Combat, 1030632u, new Vector3(550.225f, -45.678886f, 282.82593f), 815) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - CollectionsMarshal.AsSpan(list211)[0] = 10838u; - obj138.KillEnemyDataIds = list211; - reference151 = obj138; - obj137.Steps = list210; - reference150 = obj137; - ref QuestSequence reference152 = ref span64[6]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - CollectionsMarshal.AsSpan(list212)[0] = new QuestStep(EInteractionType.Interact, 1030632u, new Vector3(550.225f, -45.678886f, 282.82593f), 815); - obj139.Steps = list212; - reference152 = obj139; - ref QuestSequence reference153 = ref span64[7]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - CollectionsMarshal.AsSpan(list213)[0] = new QuestStep(EInteractionType.Interact, 1030631u, new Vector3(367.72717f, -28.562725f, 356.19116f), 815) - { - Fly = true - }; - obj140.Steps = list213; - reference153 = obj140; - ref QuestSequence reference154 = ref span64[8]; - QuestSequence obj141 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030625u, new Vector3(218.73804f, 7.1558266f, -249.1341f), 815) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AmhAraengMordSouq, - NextQuestId = new QuestId(3626) - }; - obj141.Steps = list214; - reference154 = obj141; - questRoot25.QuestSequence = list204; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(3626); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list215 = new List(num); - CollectionsMarshal.SetCount(list215, num); - CollectionsMarshal.AsSpan(list215)[0] = "liza"; - questRoot26.Author = list215; - num = 4; - List list216 = new List(num); - CollectionsMarshal.SetCount(list216, num); - Span span65 = CollectionsMarshal.AsSpan(list216); - ref QuestSequence reference155 = ref span65[0]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030625u, new Vector3(218.73804f, 7.1558266f, -249.1341f), 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengMordSouq, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(218.73804f, 7.1558266f, -249.1341f), - MaximumDistance = 100f, - TerritoryId = 815 - } - } - } - }; - obj142.Steps = list217; - reference155 = obj142; - ref QuestSequence reference156 = ref span65[1]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - ref QuestStep reference157 = ref CollectionsMarshal.AsSpan(list218)[0]; - QuestStep obj144 = new QuestStep(EInteractionType.SinglePlayerDuty, 1030636u, new Vector3(342.8855f, -35.843185f, 76.58496f), 815) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AmhAraengInnAtJourneysHead - }; - SinglePlayerDutyOptions obj145 = new SinglePlayerDutyOptions - { - Enabled = true - }; - num3 = 1; - List list219 = new List(num3); - CollectionsMarshal.SetCount(list219, num3); - CollectionsMarshal.AsSpan(list219)[0] = "Sometimes the movement is the cause of a duty failing."; - obj145.Notes = list219; - obj144.SinglePlayerDutyOptions = obj145; - reference157 = obj144; - obj143.Steps = list218; - reference156 = obj143; - span65[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference158 = ref span65[3]; - QuestSequence obj146 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030625u, new Vector3(218.73804f, 7.1558266f, -249.1341f), 815) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AmhAraengMordSouq, - NextQuestId = new QuestId(3627) - }; - obj146.Steps = list220; - reference158 = obj146; - questRoot26.QuestSequence = list216; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(3627); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list221 = new List(num); - CollectionsMarshal.SetCount(list221, num); - CollectionsMarshal.AsSpan(list221)[0] = "liza"; - questRoot27.Author = list221; - num = 7; - List list222 = new List(num); - CollectionsMarshal.SetCount(list222, num); - Span span66 = CollectionsMarshal.AsSpan(list222); - ref QuestSequence reference159 = ref span66[0]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - CollectionsMarshal.AsSpan(list223)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030625u, new Vector3(218.73804f, 7.1558266f, -249.1341f), 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengMordSouq, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(218.73804f, 7.1558266f, -249.1341f), - MaximumDistance = 100f, - TerritoryId = 815 - } - } - } - }; - obj147.Steps = list223; - reference159 = obj147; - ref QuestSequence reference160 = ref span66[1]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - ref QuestStep reference161 = ref CollectionsMarshal.AsSpan(list224)[0]; - QuestStep obj149 = new QuestStep(EInteractionType.Interact, 1030638u, new Vector3(543.8773f, -6.503428f, 811.7036f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumTessellation - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list225 = new List(num3); - CollectionsMarshal.SetCount(list225, num3); - CollectionsMarshal.AsSpan(list225)[0] = 813; - skipAetheryteCondition.InTerritory = list225; - skipConditions.AetheryteShortcutIf = skipAetheryteCondition; - obj149.SkipConditions = skipConditions; - reference161 = obj149; - obj148.Steps = list224; - reference160 = obj148; - ref QuestSequence reference162 = ref span66[2]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - ref QuestStep reference163 = ref CollectionsMarshal.AsSpan(list226)[0]; - QuestStep obj151 = new QuestStep(EInteractionType.Combat, 2010215u, new Vector3(523.9795f, -2.0599976f, 795.1018f), 813) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list227 = new List(num3); - CollectionsMarshal.SetCount(list227, num3); - CollectionsMarshal.AsSpan(list227)[0] = 10839u; - obj151.KillEnemyDataIds = list227; - reference163 = obj151; - obj150.Steps = list226; - reference162 = obj150; - ref QuestSequence reference164 = ref span66[3]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.Interact, 1030639u, new Vector3(542.8092f, -6.489782f, 811.79517f), 813); - obj152.Steps = list228; - reference164 = obj152; - ref QuestSequence reference165 = ref span66[4]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.Interact, 1031033u, new Vector3(540.6727f, -6.4392195f, 801.87683f), 813); - obj153.Steps = list229; - reference165 = obj153; - ref QuestSequence reference166 = ref span66[5]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.Interact, 1031033u, new Vector3(540.6727f, -6.4392195f, 801.87683f), 813); - obj154.Steps = list230; - reference166 = obj154; - ref QuestSequence reference167 = ref span66[6]; - QuestSequence obj155 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030625u, new Vector3(218.73804f, 7.1558266f, -249.1341f), 815) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AmhAraengMordSouq, - NextQuestId = new QuestId(3628) - }; - obj155.Steps = list231; - reference167 = obj155; - questRoot27.QuestSequence = list222; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(3628); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list232 = new List(num); - CollectionsMarshal.SetCount(list232, num); - CollectionsMarshal.AsSpan(list232)[0] = "liza"; - questRoot28.Author = list232; - num = 8; - List list233 = new List(num); - CollectionsMarshal.SetCount(list233, num); - Span span67 = CollectionsMarshal.AsSpan(list233); - ref QuestSequence reference168 = ref span67[0]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - CollectionsMarshal.AsSpan(list234)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030625u, new Vector3(218.73804f, 7.1558266f, -249.1341f), 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengMordSouq, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(218.73804f, 7.1558266f, -249.1341f), - MaximumDistance = 100f, - TerritoryId = 815 - } - } - } - }; - obj156.Steps = list234; - reference168 = obj156; - ref QuestSequence reference169 = ref span67[1]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.Interact, 1030697u, new Vector3(288.74634f, 7.1558266f, -219.2569f), 815) - { - Fly = true - }; - obj157.Steps = list235; - reference169 = obj157; - ref QuestSequence reference170 = ref span67[2]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.Interact, 1030625u, new Vector3(218.73804f, 7.1558266f, -249.1341f), 815) - { - Fly = true - }; - obj158.Steps = list236; - reference170 = obj158; - ref QuestSequence reference171 = ref span67[3]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - CollectionsMarshal.AsSpan(list237)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1030641u, new Vector3(-255.8786f, 23.447075f, -288.4718f), 815) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AmhAraengTwine, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj159.Steps = list237; - reference171 = obj159; - span67[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference172 = ref span67[5]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.Interact, 1030641u, new Vector3(-255.8786f, 23.447075f, -288.4718f), 815); - obj160.Steps = list238; - reference172 = obj160; - ref QuestSequence reference173 = ref span67[6]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - CollectionsMarshal.AsSpan(list239)[0] = new QuestStep(EInteractionType.Interact, 1030625u, new Vector3(218.73804f, 7.1558266f, -249.1341f), 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengMordSouq - }; - obj161.Steps = list239; - reference173 = obj161; - ref QuestSequence reference174 = ref span67[7]; - QuestSequence obj162 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030643u, new Vector3(-0.16790771f, 3.9998174f, 201.9226f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumPendants - } - }; - obj162.Steps = list240; - reference174 = obj162; - questRoot28.QuestSequence = list233; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(3629); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list241 = new List(num); - CollectionsMarshal.SetCount(list241, num); - CollectionsMarshal.AsSpan(list241)[0] = "plogon_enjoyer"; - questRoot29.Author = list241; - num = 9; - List list242 = new List(num); - CollectionsMarshal.SetCount(list242, num); - Span span68 = CollectionsMarshal.AsSpan(list242); - ref QuestSequence reference175 = ref span68[0]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027322u, new Vector3(-20.126648f, 3.9998171f, 204.24194f), 819); - obj163.Steps = list243; - reference175 = obj163; - ref QuestSequence reference176 = ref span68[1]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.Interact, 1030831u, new Vector3(26.260742f, 35.999687f, -129.2287f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumMarkets, - To = EAetheryteLocation.CrystariumAmaroLaunch - } - }; - obj164.Steps = list244; - reference176 = obj164; - ref QuestSequence reference177 = ref span68[2]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.Interact, 1030832u, new Vector3(171.8623f, 33.4924f, 185.77856f), 814) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaWright - }; - obj165.Steps = list245; - reference177 = obj165; - ref QuestSequence reference178 = ref span68[3]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - CollectionsMarshal.AsSpan(list246)[0] = new QuestStep(EInteractionType.Interact, 1030833u, new Vector3(340.90173f, -35.861984f, 74.23511f), 815) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AmhAraengInnAtJourneysHead - }; - obj166.Steps = list246; - reference178 = obj166; - ref QuestSequence reference179 = ref span68[4]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.Interact, 1030834u, new Vector3(-185.13776f, 11.4709015f, 608.57544f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - obj167.Steps = list247; - reference179 = obj167; - ref QuestSequence reference180 = ref span68[5]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.Interact, 1030835u, new Vector3(-67.826416f, 105.29415f, -252.94885f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegWolekdorf - }; - obj168.Steps = list248; - reference180 = obj168; - ref QuestSequence reference181 = ref span68[6]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.Interact, 1030836u, new Vector3(-456.59576f, 417.12573f, -597.16187f), 814) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaTomra - }; - obj169.Steps = list249; - reference181 = obj169; - ref QuestSequence reference182 = ref span68[7]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - CollectionsMarshal.AsSpan(list250)[0] = new QuestStep(EInteractionType.Interact, 2010361u, new Vector3(55.61914f, 165.42297f, -302.66272f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandFortJobb - }; - obj170.Steps = list250; - reference182 = obj170; - ref QuestSequence reference183 = ref span68[8]; - QuestSequence obj171 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030837u, new Vector3(-25.92511f, 3.9998174f, 205.12695f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumMarkets - }, - NextQuestId = new QuestId(3985) - }; - obj171.Steps = list251; - reference183 = obj171; - questRoot29.QuestSequence = list242; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(3630); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list252 = new List(num); - CollectionsMarshal.SetCount(list252, num); - CollectionsMarshal.AsSpan(list252)[0] = "liza"; - questRoot30.Author = list252; - num = 5; - List list253 = new List(num); - CollectionsMarshal.SetCount(list253, num); - Span span69 = CollectionsMarshal.AsSpan(list253); - ref QuestSequence reference184 = ref span69[0]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027231u, new Vector3(65.35437f, 1.7160122f, 249.83594f), 819) - { - StopDistance = 7f - }; - obj172.Steps = list254; - reference184 = obj172; - ref QuestSequence reference185 = ref span69[1]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - CollectionsMarshal.AsSpan(list255)[0] = new QuestStep(EInteractionType.Interact, 1027230u, new Vector3(117.997925f, 14.649025f, 7.156433f), 819) - { - TargetTerritoryId = (ushort)844, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumPendants, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - obj173.Steps = list255; - reference185 = obj173; - ref QuestSequence reference186 = ref span69[2]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.Interact, 1030165u, new Vector3(-249.28668f, 18.603912f, 399.31323f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaWright - }; - obj174.Steps = list256; - reference186 = obj174; - ref QuestSequence reference187 = ref span69[3]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - Span span70 = CollectionsMarshal.AsSpan(list257); - ref QuestStep reference188 = ref span70[0]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1030170u, new Vector3(-87.32745f, 11.115211f, 312.09277f), 814); - num3 = 6; - List list258 = new List(num3); - CollectionsMarshal.SetCount(list258, num3); - Span span71 = CollectionsMarshal.AsSpan(list258); - span71[0] = null; - span71[1] = null; - span71[2] = null; - span71[3] = null; - span71[4] = null; - span71[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list258; - reference188 = questStep14; - ref QuestStep reference189 = ref span70[1]; - QuestStep obj176 = new QuestStep(EInteractionType.Combat, 1030167u, new Vector3(-37.644104f, 7.0351543f, 372.42688f), 814) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list259 = new List(num3); - CollectionsMarshal.SetCount(list259, num3); - Span span72 = CollectionsMarshal.AsSpan(list259); - span72[0] = 10860u; - span72[1] = 10861u; - obj176.KillEnemyDataIds = list259; - num3 = 6; - List list260 = new List(num3); - CollectionsMarshal.SetCount(list260, num3); - Span span73 = CollectionsMarshal.AsSpan(list260); - span73[0] = null; - span73[1] = null; - span73[2] = null; - span73[3] = null; - span73[4] = null; - span73[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj176.CompletionQuestVariablesFlags = list260; - reference189 = obj176; - ref QuestStep reference190 = ref span70[2]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1030169u, new Vector3(144.57922f, 13.26848f, 356.83215f), 814); - num3 = 6; - List list261 = new List(num3); - CollectionsMarshal.SetCount(list261, num3); - Span span74 = CollectionsMarshal.AsSpan(list261); - span74[0] = null; - span74[1] = null; - span74[2] = null; - span74[3] = null; - span74[4] = null; - span74[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list261; - reference190 = questStep15; - obj175.Steps = list257; - reference187 = obj175; - ref QuestSequence reference191 = ref span69[4]; - QuestSequence obj177 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - CollectionsMarshal.AsSpan(list262)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030171u, new Vector3(164.4159f, 39.902184f, 564.9957f), 814); - obj177.Steps = list262; - reference191 = obj177; - questRoot30.QuestSequence = list253; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(3631); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list263 = new List(num); - CollectionsMarshal.SetCount(list263, num); - CollectionsMarshal.AsSpan(list263)[0] = "liza"; - questRoot31.Author = list263; - num = 3; - List list264 = new List(num); - CollectionsMarshal.SetCount(list264, num); - Span span75 = CollectionsMarshal.AsSpan(list264); - ref QuestSequence reference192 = ref span75[0]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030172u, new Vector3(165.85034f, 40.02784f, 566.21655f), 814) - { - StopDistance = 7f - }; - obj178.Steps = list265; - reference192 = obj178; - ref QuestSequence reference193 = ref span75[1]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - CollectionsMarshal.AsSpan(list266)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1030179u, new Vector3(167.65088f, 40.011803f, 563.1647f), 814) - { - StopDistance = 7f - }; - obj179.Steps = list266; - reference193 = obj179; - ref QuestSequence reference194 = ref span75[2]; - QuestSequence obj180 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - CollectionsMarshal.AsSpan(list267)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030184u, new Vector3(4.257263f, 82.8f, 44.663086f), 820) - { - StopDistance = 7f - }; - obj180.Steps = list267; - reference194 = obj180; - questRoot31.QuestSequence = list264; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(3632); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list268 = new List(num); - CollectionsMarshal.SetCount(list268, num); - CollectionsMarshal.AsSpan(list268)[0] = "liza"; - questRoot32.Author = list268; - num = 8; - List list269 = new List(num); - CollectionsMarshal.SetCount(list269, num); - Span span76 = CollectionsMarshal.AsSpan(list269); - ref QuestSequence reference195 = ref span76[0]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - CollectionsMarshal.AsSpan(list270)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030184u, new Vector3(4.257263f, 82.8f, 44.663086f), 820) - { - StopDistance = 7f - }; - obj181.Steps = list270; - reference195 = obj181; - ref QuestSequence reference196 = ref span76[1]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - Span span77 = CollectionsMarshal.AsSpan(list271); - span77[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 820) - { - Aetheryte = EAetheryteLocation.Eulmore - }; - span77[1] = new QuestStep(EInteractionType.Interact, 1030190u, new Vector3(-71.39697f, -0.8649193f, 66.11731f), 820) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Eulmore, - To = EAetheryteLocation.EulmoreNightsoilPots - } - }; - obj182.Steps = list271; - reference196 = obj182; - ref QuestSequence reference197 = ref span76[2]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - CollectionsMarshal.AsSpan(list272)[0] = new QuestStep(EInteractionType.UseItem, 1030190u, new Vector3(-71.39697f, -0.8649193f, 66.11731f), 820) - { - ItemId = 2002609u - }; - obj183.Steps = list272; - reference197 = obj183; - ref QuestSequence reference198 = ref span76[3]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - CollectionsMarshal.AsSpan(list273)[0] = new QuestStep(EInteractionType.Interact, 1030191u, new Vector3(-6.729248f, 44.999493f, -22.537598f), 820) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.EulmoreNightsoilPots, - To = EAetheryteLocation.EulmoreMainstay - } - }; - obj184.Steps = list273; - reference198 = obj184; - ref QuestSequence reference199 = ref span76[4]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - CollectionsMarshal.AsSpan(list274)[0] = new QuestStep(EInteractionType.UseItem, 1030191u, new Vector3(-6.729248f, 44.999493f, -22.537598f), 820) - { - ItemId = 2002609u - }; - obj185.Steps = list274; - reference199 = obj185; - ref QuestSequence reference200 = ref span76[5]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.Interact, 1030193u, new Vector3(20.950623f, 82.835106f, -49.607117f), 820) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.EulmoreMainstay, - To = EAetheryteLocation.Eulmore - } - }; - obj186.Steps = list275; - reference200 = obj186; - ref QuestSequence reference201 = ref span76[6]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - CollectionsMarshal.AsSpan(list276)[0] = new QuestStep(EInteractionType.UseItem, 1030193u, new Vector3(20.950623f, 82.835106f, -49.607117f), 820) - { - ItemId = 2002609u - }; - obj187.Steps = list276; - reference201 = obj187; - ref QuestSequence reference202 = ref span76[7]; - QuestSequence obj188 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - ref QuestStep reference203 = ref CollectionsMarshal.AsSpan(list277)[0]; - QuestStep questStep16 = new QuestStep(EInteractionType.CompleteQuest, 1030194u, new Vector3(27.359375f, 82.903946f, 22.384888f), 820); - num3 = 1; - List list278 = new List(num3); - CollectionsMarshal.SetCount(list278, num3); - CollectionsMarshal.AsSpan(list278)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKME103_03632_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKME103_03632_A1_000_001") - }; - questStep16.DialogueChoices = list278; - reference203 = questStep16; - obj188.Steps = list277; - reference202 = obj188; - questRoot32.QuestSequence = list269; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(3633); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list279 = new List(num); - CollectionsMarshal.SetCount(list279, num); - CollectionsMarshal.AsSpan(list279)[0] = "liza"; - questRoot33.Author = list279; - num = 6; - List list280 = new List(num); - CollectionsMarshal.SetCount(list280, num); - Span span78 = CollectionsMarshal.AsSpan(list280); - ref QuestSequence reference204 = ref span78[0]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - CollectionsMarshal.AsSpan(list281)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030196u, new Vector3(21.377869f, 82.782265f, 25.009521f), 820) - { - StopDistance = 7f - }; - obj189.Steps = list281; - reference204 = obj189; - ref QuestSequence reference205 = ref span78[1]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - CollectionsMarshal.AsSpan(list282)[0] = new QuestStep(EInteractionType.Interact, 1030197u, new Vector3(-456.68726f, 65.77815f, 79.9115f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaWright - }; - obj190.Steps = list282; - reference205 = obj190; - ref QuestSequence reference206 = ref span78[2]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.Interact, 1027288u, new Vector3(-457.3587f, 8.987028f, 537.04126f), 814); - obj191.Steps = list283; - reference206 = obj191; - ref QuestSequence reference207 = ref span78[3]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 3 - }; - num2 = 5; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - Span span79 = CollectionsMarshal.AsSpan(list284); - ref QuestStep reference208 = ref span79[0]; - QuestStep questStep17 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-450.89993f, 8.987026f, 545.4605f), 814); - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list285 = new List(num3); - CollectionsMarshal.SetCount(list285, num3); - Span span80 = CollectionsMarshal.AsSpan(list285); - span80[0] = null; - span80[1] = null; - span80[2] = null; - span80[3] = null; - span80[4] = null; - span80[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list285; - skipConditions2.StepIf = skipStepConditions; - questStep17.SkipConditions = skipConditions2; - reference208 = questStep17; - ref QuestStep reference209 = ref span79[1]; - QuestStep obj193 = new QuestStep(EInteractionType.Interact, 2010088u, new Vector3(-448.2033f, 8.316162f, 546.25757f), 814) - { - StopDistance = 4f - }; - num3 = 6; - List list286 = new List(num3); - CollectionsMarshal.SetCount(list286, num3); - Span span81 = CollectionsMarshal.AsSpan(list286); - span81[0] = null; - span81[1] = null; - span81[2] = null; - span81[3] = null; - span81[4] = null; - span81[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj193.CompletionQuestVariablesFlags = list286; - reference209 = obj193; - ref QuestStep reference210 = ref span79[2]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1027441u, new Vector3(-465.32385f, 8.987028f, 555.4131f), 814); - num3 = 6; - List list287 = new List(num3); - CollectionsMarshal.SetCount(list287, num3); - Span span82 = CollectionsMarshal.AsSpan(list287); - span82[0] = null; - span82[1] = null; - span82[2] = null; - span82[3] = null; - span82[4] = null; - span82[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list287; - reference210 = questStep18; - ref QuestStep reference211 = ref span79[3]; - QuestStep questStep19 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-458.26974f, 18.818102f, 479.86996f), 814); - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list288 = new List(num3); - CollectionsMarshal.SetCount(list288, num3); - Span span83 = CollectionsMarshal.AsSpan(list288); - span83[0] = null; - span83[1] = null; - span83[2] = null; - span83[3] = null; - span83[4] = null; - span83[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list288; - skipConditions3.StepIf = skipStepConditions2; - questStep19.SkipConditions = skipConditions3; - reference211 = questStep19; - ref QuestStep reference212 = ref span79[4]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 2010089u, new Vector3(-458.2437f, 20.004517f, 481.58997f), 814); - num3 = 6; - List list289 = new List(num3); - CollectionsMarshal.SetCount(list289, num3); - Span span84 = CollectionsMarshal.AsSpan(list289); - span84[0] = null; - span84[1] = null; - span84[2] = null; - span84[3] = null; - span84[4] = null; - span84[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep20.CompletionQuestVariablesFlags = list289; - reference212 = questStep20; - obj192.Steps = list284; - reference207 = obj192; - ref QuestSequence reference213 = ref span78[4]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - ref QuestStep reference214 = ref CollectionsMarshal.AsSpan(list290)[0]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1027288u, new Vector3(-457.3587f, 8.987028f, 537.04126f), 814); - num3 = 2; - List list291 = new List(num3); - CollectionsMarshal.SetCount(list291, num3); - Span span85 = CollectionsMarshal.AsSpan(list291); - span85[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKME104_03633_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKME104_03633_A1_000_006") - }; - span85[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKME104_03633_Q2_000_000"), - Answer = new ExcelRef("TEXT_LUCKME104_03633_A2_000_002") - }; - questStep21.DialogueChoices = list291; - reference214 = questStep21; - obj194.Steps = list290; - reference213 = obj194; - ref QuestSequence reference215 = ref span78[5]; - QuestSequence obj195 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - CollectionsMarshal.AsSpan(list292)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030197u, new Vector3(-456.68726f, 65.77815f, 79.9115f), 814); - obj195.Steps = list292; - reference215 = obj195; - questRoot33.QuestSequence = list280; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(3634); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list293 = new List(num); - CollectionsMarshal.SetCount(list293, num); - CollectionsMarshal.AsSpan(list293)[0] = "liza"; - questRoot34.Author = list293; - num = 7; - List list294 = new List(num); - CollectionsMarshal.SetCount(list294, num); - Span span86 = CollectionsMarshal.AsSpan(list294); - ref QuestSequence reference216 = ref span86[0]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - CollectionsMarshal.AsSpan(list295)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030197u, new Vector3(-456.68726f, 65.77815f, 79.9115f), 814); - obj196.Steps = list295; - reference216 = obj196; - ref QuestSequence reference217 = ref span86[1]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - CollectionsMarshal.AsSpan(list296)[0] = new QuestStep(EInteractionType.Interact, 2010124u, new Vector3(-482.0783f, 65.7511f, 93.12573f), 814); - obj197.Steps = list296; - reference217 = obj197; - ref QuestSequence reference218 = ref span86[2]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - CollectionsMarshal.AsSpan(list297)[0] = new QuestStep(EInteractionType.Interact, 1030207u, new Vector3(-448.661f, 334.0526f, -36.91156f), 814); - obj198.Steps = list297; - reference218 = obj198; - ref QuestSequence reference219 = ref span86[3]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - CollectionsMarshal.AsSpan(list298)[0] = new QuestStep(EInteractionType.Interact, 1030208u, new Vector3(-418.38715f, 354.3414f, 25.284058f), 814); - obj199.Steps = list298; - reference219 = obj199; - ref QuestSequence reference220 = ref span86[4]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - CollectionsMarshal.AsSpan(list299)[0] = new QuestStep(EInteractionType.Snipe, 2010090u, new Vector3(-416.28143f, 354.3297f, 22.47644f), 814) - { - Comment = "Click on the guy left of the the rock" - }; - obj200.Steps = list299; - reference220 = obj200; - ref QuestSequence reference221 = ref span86[5]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - Span span87 = CollectionsMarshal.AsSpan(list300); - ref QuestStep reference222 = ref span87[0]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 2010091u, new Vector3(-120.0733f, 353.4751f, -206.71399f), 814); - num3 = 6; - List list301 = new List(num3); - CollectionsMarshal.SetCount(list301, num3); - Span span88 = CollectionsMarshal.AsSpan(list301); - span88[0] = null; - span88[1] = null; - span88[2] = null; - span88[3] = null; - span88[4] = null; - span88[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep22.CompletionQuestVariablesFlags = list301; - reference222 = questStep22; - ref QuestStep reference223 = ref span87[1]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 2010093u, new Vector3(-132.52466f, 355.24524f, -176.25696f), 814); - num3 = 6; - List list302 = new List(num3); - CollectionsMarshal.SetCount(list302, num3); - Span span89 = CollectionsMarshal.AsSpan(list302); - span89[0] = null; - span89[1] = null; - span89[2] = null; - span89[3] = null; - span89[4] = null; - span89[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list302; - reference223 = questStep23; - ref QuestStep reference224 = ref span87[2]; - QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 2010092u, new Vector3(-151.41534f, 353.53625f, -188.89148f), 814); - num3 = 6; - List list303 = new List(num3); - CollectionsMarshal.SetCount(list303, num3); - Span span90 = CollectionsMarshal.AsSpan(list303); - span90[0] = null; - span90[1] = null; - span90[2] = null; - span90[3] = null; - span90[4] = null; - span90[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep24.CompletionQuestVariablesFlags = list303; - reference224 = questStep24; - obj201.Steps = list300; - reference221 = obj201; - ref QuestSequence reference225 = ref span86[6]; - QuestSequence obj202 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - CollectionsMarshal.AsSpan(list304)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030211u, new Vector3(-137.3465f, 352.35822f, -188.03699f), 814); - obj202.Steps = list304; - reference225 = obj202; - questRoot34.QuestSequence = list294; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(3635); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list305 = new List(num); - CollectionsMarshal.SetCount(list305, num); - CollectionsMarshal.AsSpan(list305)[0] = "liza"; - questRoot35.Author = list305; - num = 6; - List list306 = new List(num); - CollectionsMarshal.SetCount(list306, num); - Span span91 = CollectionsMarshal.AsSpan(list306); - ref QuestSequence reference226 = ref span91[0]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list307 = new List(num2); - CollectionsMarshal.SetCount(list307, num2); - CollectionsMarshal.AsSpan(list307)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030213u, new Vector3(-124.62048f, 352.35822f, -192.27899f), 814); - obj203.Steps = list307; - reference226 = obj203; - ref QuestSequence reference227 = ref span91[1]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - CollectionsMarshal.AsSpan(list308)[0] = new QuestStep(EInteractionType.Interact, 1030214u, new Vector3(-119.73761f, 362.56046f, -346.15094f), 814); - obj204.Steps = list308; - reference227 = obj204; - ref QuestSequence reference228 = ref span91[2]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - ref QuestStep reference229 = ref CollectionsMarshal.AsSpan(list309)[0]; - QuestStep obj206 = new QuestStep(EInteractionType.Combat, 2010094u, new Vector3(-279.07227f, 378.6831f, -404.37933f), 814) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list310 = new List(num3); - CollectionsMarshal.SetCount(list310, num3); - CollectionsMarshal.AsSpan(list310)[0] = 10862u; - obj206.KillEnemyDataIds = list310; - reference229 = obj206; - obj205.Steps = list309; - reference228 = obj205; - ref QuestSequence reference230 = ref span91[3]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list311 = new List(num2); - CollectionsMarshal.SetCount(list311, num2); - ref QuestStep reference231 = ref CollectionsMarshal.AsSpan(list311)[0]; - QuestStep obj208 = new QuestStep(EInteractionType.Combat, 2010095u, new Vector3(-168.9021f, 396.8108f, -468.31464f), 814) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list312 = new List(num3); - CollectionsMarshal.SetCount(list312, num3); - Span span92 = CollectionsMarshal.AsSpan(list312); - span92[0] = 10862u; - span92[1] = 10864u; - obj208.KillEnemyDataIds = list312; - reference231 = obj208; - obj207.Steps = list311; - reference230 = obj207; - ref QuestSequence reference232 = ref span91[4]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list313 = new List(num2); - CollectionsMarshal.SetCount(list313, num2); - CollectionsMarshal.AsSpan(list313)[0] = new QuestStep(EInteractionType.Interact, 1030215u, new Vector3(-160.54016f, 455.2343f, -740.261f), 814); - obj209.Steps = list313; - reference232 = obj209; - ref QuestSequence reference233 = ref span91[5]; - QuestSequence obj210 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - Span span93 = CollectionsMarshal.AsSpan(list314); - span93[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 814) - { - Aetheryte = EAetheryteLocation.KholusiaTomra - }; - span93[1] = new QuestStep(EInteractionType.CompleteQuest, 1030216u, new Vector3(-445.48718f, 334.0526f, -55.40558f), 814); - obj210.Steps = list314; - reference233 = obj210; - questRoot35.QuestSequence = list306; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(3636); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list315 = new List(num); - CollectionsMarshal.SetCount(list315, num); - CollectionsMarshal.AsSpan(list315)[0] = "liza"; - questRoot36.Author = list315; - num = 4; - List list316 = new List(num); - CollectionsMarshal.SetCount(list316, num); - Span span94 = CollectionsMarshal.AsSpan(list316); - ref QuestSequence reference234 = ref span94[0]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list317 = new List(num2); - CollectionsMarshal.SetCount(list317, num2); - CollectionsMarshal.AsSpan(list317)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030216u, new Vector3(-445.48718f, 334.0526f, -55.40558f), 814); - obj211.Steps = list317; - reference234 = obj211; - ref QuestSequence reference235 = ref span94[1]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list318 = new List(num2); - CollectionsMarshal.SetCount(list318, num2); - CollectionsMarshal.AsSpan(list318)[0] = new QuestStep(EInteractionType.Interact, 1030224u, new Vector3(-437.46094f, 334.0526f, -45.059937f), 814); - obj212.Steps = list318; - reference235 = obj212; - ref QuestSequence reference236 = ref span94[2]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list319 = new List(num2); - CollectionsMarshal.SetCount(list319, num2); - ref QuestStep reference237 = ref CollectionsMarshal.AsSpan(list319)[0]; - QuestStep obj214 = new QuestStep(EInteractionType.Interact, 1030223u, new Vector3(-436.5454f, 334.0526f, -46.707886f), 814) - { - StopDistance = 5f - }; - num3 = 4; - List list320 = new List(num3); - CollectionsMarshal.SetCount(list320, num3); - Span span95 = CollectionsMarshal.AsSpan(list320); - span95[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKME107_03636_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKME107_03636_A1_000_002") - }; - span95[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKME107_03636_Q2_000_000"), - Answer = new ExcelRef("TEXT_LUCKME107_03636_A2_000_003") - }; - span95[2] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKME107_03636_Q3_000_000"), - Answer = new ExcelRef("TEXT_LUCKME107_03636_A3_000_002") - }; - span95[3] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKME107_03636_Q4_000_000"), - Answer = new ExcelRef("TEXT_LUCKME107_03636_A4_000_002") - }; - obj214.DialogueChoices = list320; - reference237 = obj214; - obj213.Steps = list319; - reference236 = obj213; - ref QuestSequence reference238 = ref span94[3]; - QuestSequence obj215 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list321 = new List(num2); - CollectionsMarshal.SetCount(list321, num2); - CollectionsMarshal.AsSpan(list321)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027462u, new Vector3(-121.87384f, 352.35822f, -191.08875f), 814); - obj215.Steps = list321; - reference238 = obj215; - questRoot36.QuestSequence = list316; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(3637); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list322 = new List(num); - CollectionsMarshal.SetCount(list322, num); - CollectionsMarshal.AsSpan(list322)[0] = "liza"; - questRoot37.Author = list322; - num = 6; - List list323 = new List(num); - CollectionsMarshal.SetCount(list323, num); - Span span96 = CollectionsMarshal.AsSpan(list323); - ref QuestSequence reference239 = ref span96[0]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list324 = new List(num2); - CollectionsMarshal.SetCount(list324, num2); - CollectionsMarshal.AsSpan(list324)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027462u, new Vector3(-121.87384f, 352.35822f, -191.08875f), 814); - obj216.Steps = list324; - reference239 = obj216; - ref QuestSequence reference240 = ref span96[1]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list325 = new List(num2); - CollectionsMarshal.SetCount(list325, num2); - CollectionsMarshal.AsSpan(list325)[0] = new QuestStep(EInteractionType.Interact, 1030229u, new Vector3(-425.80304f, 416.76733f, -586.2974f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaTomra - }; - obj217.Steps = list325; - reference240 = obj217; - ref QuestSequence reference241 = ref span96[2]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list326 = new List(num2); - CollectionsMarshal.SetCount(list326, num2); - CollectionsMarshal.AsSpan(list326)[0] = new QuestStep(EInteractionType.Interact, 1027296u, new Vector3(-469.77954f, 417.22958f, -649.2561f), 814); - obj218.Steps = list326; - reference241 = obj218; - ref QuestSequence reference242 = ref span96[3]; - QuestSequence obj219 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list327 = new List(num2); - CollectionsMarshal.SetCount(list327, num2); - CollectionsMarshal.AsSpan(list327)[0] = new QuestStep(EInteractionType.Snipe, 1030231u, new Vector3(-443.7171f, 417.16812f, -616.47974f), 814) - { - Comment = "Click red hat dwarf (always shows up in the same location)" - }; - obj219.Steps = list327; - reference242 = obj219; - ref QuestSequence reference243 = ref span96[4]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - CollectionsMarshal.AsSpan(list328)[0] = new QuestStep(EInteractionType.Snipe, 1030231u, new Vector3(-443.7171f, 417.16812f, -616.47974f), 814) - { - Comment = "Click red hat dwarf" - }; - obj220.Steps = list328; - reference243 = obj220; - ref QuestSequence reference244 = ref span96[5]; - QuestSequence obj221 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list329 = new List(num2); - CollectionsMarshal.SetCount(list329, num2); - CollectionsMarshal.AsSpan(list329)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027296u, new Vector3(-469.77954f, 417.22958f, -649.2561f), 814); - obj221.Steps = list329; - reference244 = obj221; - questRoot37.QuestSequence = list323; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(3638); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list330 = new List(num); - CollectionsMarshal.SetCount(list330, num); - CollectionsMarshal.AsSpan(list330)[0] = "liza"; - questRoot38.Author = list330; - num = 3; - List list331 = new List(num); - CollectionsMarshal.SetCount(list331, num); - Span span97 = CollectionsMarshal.AsSpan(list331); - ref QuestSequence reference245 = ref span97[0]; - QuestSequence obj222 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list332 = new List(num2); - CollectionsMarshal.SetCount(list332, num2); - CollectionsMarshal.AsSpan(list332)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027296u, new Vector3(-469.77954f, 417.22958f, -649.2561f), 814); - obj222.Steps = list332; - reference245 = obj222; - ref QuestSequence reference246 = ref span97[1]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list333 = new List(num2); - CollectionsMarshal.SetCount(list333, num2); - CollectionsMarshal.AsSpan(list333)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1030239u, new Vector3(-467.76532f, 417.22897f, -648.85944f), 814) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj223.Steps = list333; - reference246 = obj223; - ref QuestSequence reference247 = ref span97[2]; - QuestSequence obj224 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - CollectionsMarshal.AsSpan(list334)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030233u, new Vector3(349.2942f, 315.2037f, -373.25098f), 814); - obj224.Steps = list334; - reference247 = obj224; - questRoot38.QuestSequence = list331; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(3639); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list335 = new List(num); - CollectionsMarshal.SetCount(list335, num); - CollectionsMarshal.AsSpan(list335)[0] = "liza"; - questRoot39.Author = list335; - num = 5; - List list336 = new List(num); - CollectionsMarshal.SetCount(list336, num); - Span span98 = CollectionsMarshal.AsSpan(list336); - ref QuestSequence reference248 = ref span98[0]; - QuestSequence obj225 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list337 = new List(num2); - CollectionsMarshal.SetCount(list337, num2); - CollectionsMarshal.AsSpan(list337)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030233u, new Vector3(349.2942f, 315.2037f, -373.25098f), 814); - obj225.Steps = list337; - reference248 = obj225; - ref QuestSequence reference249 = ref span98[1]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list338 = new List(num2); - CollectionsMarshal.SetCount(list338, num2); - CollectionsMarshal.AsSpan(list338)[0] = new QuestStep(EInteractionType.Interact, 1030375u, new Vector3(611.9325f, 278.146f, -512.4437f), 814); - obj226.Steps = list338; - reference249 = obj226; - ref QuestSequence reference250 = ref span98[2]; - QuestSequence obj227 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list339 = new List(num2); - CollectionsMarshal.SetCount(list339, num2); - CollectionsMarshal.AsSpan(list339)[0] = new QuestStep(EInteractionType.Interact, 1030375u, new Vector3(611.9325f, 278.146f, -512.4437f), 814); - obj227.Steps = list339; - reference250 = obj227; - ref QuestSequence reference251 = ref span98[3]; - QuestSequence obj228 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list340 = new List(num2); - CollectionsMarshal.SetCount(list340, num2); - Span span99 = CollectionsMarshal.AsSpan(list340); - span99[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010041u, new Vector3(623.7429f, 285.93872f, -555.26056f), 814) - { - AetherCurrentId = 2818245u - }; - ref QuestStep reference252 = ref span99[1]; - QuestStep obj229 = new QuestStep(EInteractionType.UseItem, 1030235u, new Vector3(705.0431f, 270.07697f, -492.9122f), 814) - { - ItemId = 2002610u - }; - num3 = 6; - List list341 = new List(num3); - CollectionsMarshal.SetCount(list341, num3); - Span span100 = CollectionsMarshal.AsSpan(list341); - span100[0] = null; - span100[1] = null; - span100[2] = null; - span100[3] = null; - span100[4] = null; - span100[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj229.CompletionQuestVariablesFlags = list341; - reference252 = obj229; - ref QuestStep reference253 = ref span99[2]; - QuestStep obj230 = new QuestStep(EInteractionType.UseItem, 1030236u, new Vector3(744.53345f, 269.99976f, -515.49554f), 814) - { - ItemId = 2002610u - }; - num3 = 6; - List list342 = new List(num3); - CollectionsMarshal.SetCount(list342, num3); - Span span101 = CollectionsMarshal.AsSpan(list342); - span101[0] = null; - span101[1] = null; - span101[2] = null; - span101[3] = null; - span101[4] = null; - span101[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj230.CompletionQuestVariablesFlags = list342; - reference253 = obj230; - ref QuestStep reference254 = ref span99[3]; - QuestStep obj231 = new QuestStep(EInteractionType.UseItem, 1030237u, new Vector3(747.12744f, 270f, -477.4395f), 814) - { - ItemId = 2002610u - }; - num3 = 6; - List list343 = new List(num3); - CollectionsMarshal.SetCount(list343, num3); - Span span102 = CollectionsMarshal.AsSpan(list343); - span102[0] = null; - span102[1] = null; - span102[2] = null; - span102[3] = null; - span102[4] = null; - span102[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj231.CompletionQuestVariablesFlags = list343; - reference254 = obj231; - obj228.Steps = list340; - reference251 = obj228; - ref QuestSequence reference255 = ref span98[4]; - QuestSequence obj232 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list344 = new List(num2); - CollectionsMarshal.SetCount(list344, num2); - CollectionsMarshal.AsSpan(list344)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030375u, new Vector3(611.9325f, 278.146f, -512.4437f), 814); - obj232.Steps = list344; - reference255 = obj232; - questRoot39.QuestSequence = list336; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(3640); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list345 = new List(num); - CollectionsMarshal.SetCount(list345, num); - CollectionsMarshal.AsSpan(list345)[0] = "liza"; - questRoot40.Author = list345; - num = 5; - List list346 = new List(num); - CollectionsMarshal.SetCount(list346, num); - Span span103 = CollectionsMarshal.AsSpan(list346); - ref QuestSequence reference256 = ref span103[0]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list347 = new List(num2); - CollectionsMarshal.SetCount(list347, num2); - CollectionsMarshal.AsSpan(list347)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030375u, new Vector3(611.9325f, 278.146f, -512.4437f), 814); - obj233.Steps = list347; - reference256 = obj233; - ref QuestSequence reference257 = ref span103[1]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list348 = new List(num2); - CollectionsMarshal.SetCount(list348, num2); - CollectionsMarshal.AsSpan(list348)[0] = new QuestStep(EInteractionType.Interact, 1027296u, new Vector3(-469.77954f, 417.22958f, -649.2561f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaTomra - }; - obj234.Steps = list348; - reference257 = obj234; - ref QuestSequence reference258 = ref span103[2]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list349 = new List(num2); - CollectionsMarshal.SetCount(list349, num2); - Span span104 = CollectionsMarshal.AsSpan(list349); - ref QuestStep reference259 = ref span104[0]; - QuestStep questStep25 = new QuestStep(EInteractionType.AcceptQuest, 1030776u, new Vector3(-450.85834f, 417.1344f, -610.8644f), 814); - num3 = 1; - List list350 = new List(num3); - CollectionsMarshal.SetCount(list350, num3); - CollectionsMarshal.AsSpan(list350)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "quest/035/LucKzi101_03556", - Prompt = new ExcelRef("TEXT_LUCKZI101_03556_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKZI101_03556_A1_000_001") - }; - questStep25.DialogueChoices = list350; - questStep25.PickUpQuestId = new QuestId(3556); - reference259 = questStep25; - span104[1] = new QuestStep(EInteractionType.Interact, 1030292u, new Vector3(-463.73694f, 334.0526f, -81.04071f), 814); - obj235.Steps = list349; - reference258 = obj235; - ref QuestSequence reference260 = ref span103[3]; - QuestSequence obj236 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list351 = new List(num2); - CollectionsMarshal.SetCount(list351, num2); - Span span105 = CollectionsMarshal.AsSpan(list351); - ref QuestStep reference261 = ref span105[0]; - QuestStep questStep26 = new QuestStep(EInteractionType.Interact, 1030243u, new Vector3(-473.4417f, 334.0526f, -71.15283f), 814); - num3 = 6; - List list352 = new List(num3); - CollectionsMarshal.SetCount(list352, num3); - Span span106 = CollectionsMarshal.AsSpan(list352); - span106[0] = null; - span106[1] = null; - span106[2] = null; - span106[3] = null; - span106[4] = null; - span106[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep26.CompletionQuestVariablesFlags = list352; - reference261 = questStep26; - ref QuestStep reference262 = ref span105[1]; - QuestStep questStep27 = new QuestStep(EInteractionType.Interact, 1030240u, new Vector3(-464.49988f, 334.0526f, -65.53754f), 814); - num3 = 6; - List list353 = new List(num3); - CollectionsMarshal.SetCount(list353, num3); - Span span107 = CollectionsMarshal.AsSpan(list353); - span107[0] = null; - span107[1] = null; - span107[2] = null; - span107[3] = null; - span107[4] = null; - span107[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep27.CompletionQuestVariablesFlags = list353; - reference262 = questStep27; - ref QuestStep reference263 = ref span105[2]; - QuestStep questStep28 = new QuestStep(EInteractionType.Interact, 1030244u, new Vector3(-453.23877f, 334.0526f, -76.27985f), 814); - num3 = 6; - List list354 = new List(num3); - CollectionsMarshal.SetCount(list354, num3); - Span span108 = CollectionsMarshal.AsSpan(list354); - span108[0] = null; - span108[1] = null; - span108[2] = null; - span108[3] = null; - span108[4] = null; - span108[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep28.CompletionQuestVariablesFlags = list354; - reference263 = questStep28; - obj236.Steps = list351; - reference260 = obj236; - ref QuestSequence reference264 = ref span103[4]; - QuestSequence obj237 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list355 = new List(num2); - CollectionsMarshal.SetCount(list355, num2); - CollectionsMarshal.AsSpan(list355)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030292u, new Vector3(-463.73694f, 334.0526f, -81.04071f), 814); - obj237.Steps = list355; - reference264 = obj237; - questRoot40.QuestSequence = list346; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(3641); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list356 = new List(num); - CollectionsMarshal.SetCount(list356, num); - CollectionsMarshal.AsSpan(list356)[0] = "liza"; - questRoot41.Author = list356; - num = 5; - List list357 = new List(num); - CollectionsMarshal.SetCount(list357, num); - Span span109 = CollectionsMarshal.AsSpan(list357); - ref QuestSequence reference265 = ref span109[0]; - QuestSequence obj238 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list358 = new List(num2); - CollectionsMarshal.SetCount(list358, num2); - CollectionsMarshal.AsSpan(list358)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030238u, new Vector3(-466.08685f, 334.0526f, -81.13226f), 814) - { - StopDistance = 7f - }; - obj238.Steps = list358; - reference265 = obj238; - ref QuestSequence reference266 = ref span109[1]; - QuestSequence obj239 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list359 = new List(num2); - CollectionsMarshal.SetCount(list359, num2); - CollectionsMarshal.AsSpan(list359)[0] = new QuestStep(EInteractionType.Interact, 1030250u, new Vector3(-137.59064f, 352.35822f, -190.90564f), 814); - obj239.Steps = list359; - reference266 = obj239; - ref QuestSequence reference267 = ref span109[2]; - QuestSequence obj240 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list360 = new List(num2); - CollectionsMarshal.SetCount(list360, num2); - CollectionsMarshal.AsSpan(list360)[0] = new QuestStep(EInteractionType.Interact, 1030250u, new Vector3(-137.59064f, 352.35822f, -190.90564f), 814); - obj240.Steps = list360; - reference267 = obj240; - ref QuestSequence reference268 = ref span109[3]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list361 = new List(num2); - CollectionsMarshal.SetCount(list361, num2); - CollectionsMarshal.AsSpan(list361)[0] = new QuestStep(EInteractionType.Interact, 2010098u, new Vector3(-137.59064f, 353.53625f, -192.52313f), 814); - obj241.Steps = list361; - reference268 = obj241; - ref QuestSequence reference269 = ref span109[4]; - QuestSequence obj242 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list362 = new List(num2); - CollectionsMarshal.SetCount(list362, num2); - CollectionsMarshal.AsSpan(list362)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030253u, new Vector3(-141.22229f, 352.35822f, -188.95251f), 814) - { - StopDistance = 7f - }; - obj242.Steps = list362; - reference269 = obj242; - questRoot41.QuestSequence = list357; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(3642); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list363 = new List(num); - CollectionsMarshal.SetCount(list363, num); - CollectionsMarshal.AsSpan(list363)[0] = "liza"; - questRoot42.Author = list363; - num = 4; - List list364 = new List(num); - CollectionsMarshal.SetCount(list364, num); - Span span110 = CollectionsMarshal.AsSpan(list364); - ref QuestSequence reference270 = ref span110[0]; - QuestSequence obj243 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list365 = new List(num2); - CollectionsMarshal.SetCount(list365, num2); - CollectionsMarshal.AsSpan(list365)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030253u, new Vector3(-141.22229f, 352.35822f, -188.95251f), 814) - { - StopDistance = 7f - }; - obj243.Steps = list365; - reference270 = obj243; - ref QuestSequence reference271 = ref span110[1]; - QuestSequence obj244 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list366 = new List(num2); - CollectionsMarshal.SetCount(list366, num2); - CollectionsMarshal.AsSpan(list366)[0] = new QuestStep(EInteractionType.Interact, 1030254u, new Vector3(-132.82983f, 354.35815f, -177.20306f), 814); - obj244.Steps = list366; - reference271 = obj244; - ref QuestSequence reference272 = ref span110[2]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list367 = new List(num2); - CollectionsMarshal.SetCount(list367, num2); - Span span111 = CollectionsMarshal.AsSpan(list367); - span111[0] = new QuestStep(EInteractionType.AcceptQuest, 1027956u, new Vector3(-128.77094f, 354.35815f, -179.18677f), 814) - { - StopDistance = 5f, - PickUpQuestId = new QuestId(3537) - }; - span111[1] = new QuestStep(EInteractionType.Jump, null, new Vector3(-122.537926f, 352.3582f, -173.26604f), 814) - { - StopDistance = 0.5f, - Mount = true, - JumpDestination = new JumpDestination - { - Position = new Vector3(-119.30471f, 349.90027f, -158.2842f) - } - }; - span111[2] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010042u, new Vector3(-62.912964f, 345.11328f, -16.556091f), 814) - { - AetherCurrentId = 2818246u - }; - span111[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-41.071743f, 324.03458f, 14.810446f), 814) - { - DisableNavmesh = true, - Mount = true - }; - span111[4] = new QuestStep(EInteractionType.Interact, 1030293u, new Vector3(-5.1728516f, 324.3521f, 190.50879f), 814); - obj245.Steps = list367; - reference272 = obj245; - ref QuestSequence reference273 = ref span110[3]; - QuestSequence obj246 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list368 = new List(num2); - CollectionsMarshal.SetCount(list368, num2); - Span span112 = CollectionsMarshal.AsSpan(list368); - span112[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-92.20083f, 351.37643f, -192.06285f), 814) - { - StopDistance = 0.25f, - JumpDestination = new JumpDestination - { - Position = new Vector3(-106.80138f, 352.33783f, -196.68427f) - } - }; - span112[1] = new QuestStep(EInteractionType.CompleteQuest, 1030294u, new Vector3(-142.13782f, 352.3582f, -189.47137f), 814); - obj246.Steps = list368; - reference273 = obj246; - questRoot42.QuestSequence = list364; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(3643); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list369 = new List(num); - CollectionsMarshal.SetCount(list369, num); - CollectionsMarshal.AsSpan(list369)[0] = "liza"; - questRoot43.Author = list369; - num = 7; - List list370 = new List(num); - CollectionsMarshal.SetCount(list370, num); - Span span113 = CollectionsMarshal.AsSpan(list370); - ref QuestSequence reference274 = ref span113[0]; - QuestSequence obj247 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list371 = new List(num2); - CollectionsMarshal.SetCount(list371, num2); - CollectionsMarshal.AsSpan(list371)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030295u, new Vector3(-140.00159f, 352.35822f, -187.91486f), 814) - { - StopDistance = 5f - }; - obj247.Steps = list371; - reference274 = obj247; - ref QuestSequence reference275 = ref span113[1]; - QuestSequence obj248 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list372 = new List(num2); - CollectionsMarshal.SetCount(list372, num2); - ref QuestStep reference276 = ref CollectionsMarshal.AsSpan(list372)[0]; - QuestStep questStep29 = new QuestStep(EInteractionType.Interact, 1030294u, new Vector3(-142.13782f, 352.3582f, -189.47137f), 814); - num3 = 1; - List list373 = new List(num3); - CollectionsMarshal.SetCount(list373, num3); - CollectionsMarshal.AsSpan(list373)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKME114_03643_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKME114_03643_A1_000_001") - }; - questStep29.DialogueChoices = list373; - reference276 = questStep29; - obj248.Steps = list372; - reference275 = obj248; - ref QuestSequence reference277 = ref span113[2]; - QuestSequence obj249 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list374 = new List(num2); - CollectionsMarshal.SetCount(list374, num2); - CollectionsMarshal.AsSpan(list374)[0] = new QuestStep(EInteractionType.Interact, 1030302u, new Vector3(-173.44934f, 460.47067f, -797.3602f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaTomra - }; - obj249.Steps = list374; - reference277 = obj249; - ref QuestSequence reference278 = ref span113[3]; - QuestSequence obj250 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list375 = new List(num2); - CollectionsMarshal.SetCount(list375, num2); - CollectionsMarshal.AsSpan(list375)[0] = new QuestStep(EInteractionType.Duty, null, null, 814) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 659u - } - }; - obj250.Steps = list375; - reference278 = obj250; - span113[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference279 = ref span113[5]; - QuestSequence obj251 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list376 = new List(num2); - CollectionsMarshal.SetCount(list376, num2); - CollectionsMarshal.AsSpan(list376)[0] = new QuestStep(EInteractionType.Duty, null, null, 880) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 666u - } - }; - obj251.Steps = list376; - reference279 = obj251; - ref QuestSequence reference280 = ref span113[6]; - QuestSequence obj252 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list377 = new List(num2); - CollectionsMarshal.SetCount(list377, num2); - CollectionsMarshal.AsSpan(list377)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030303u, new Vector3(109.23926f, 0.0140714925f, 108.72046f), 880); - obj252.Steps = list377; - reference280 = obj252; - questRoot43.QuestSequence = list370; - AddQuest(questId43, questRoot43); - QuestId questId44 = new QuestId(3644); - QuestRoot questRoot44 = new QuestRoot(); - num = 1; - List list378 = new List(num); - CollectionsMarshal.SetCount(list378, num); - CollectionsMarshal.AsSpan(list378)[0] = "liza"; - questRoot44.Author = list378; - num = 5; - List list379 = new List(num); - CollectionsMarshal.SetCount(list379, num); - Span span114 = CollectionsMarshal.AsSpan(list379); - ref QuestSequence reference281 = ref span114[0]; - QuestSequence obj253 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list380 = new List(num2); - CollectionsMarshal.SetCount(list380, num2); - CollectionsMarshal.AsSpan(list380)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027231u, new Vector3(65.35437f, 1.7160122f, 249.83594f), 819) - { - StopDistance = 7f - }; - obj253.Steps = list380; - reference281 = obj253; - ref QuestSequence reference282 = ref span114[1]; - QuestSequence obj254 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list381 = new List(num2); - CollectionsMarshal.SetCount(list381, num2); - CollectionsMarshal.AsSpan(list381)[0] = new QuestStep(EInteractionType.Interact, 1027224u, new Vector3(-57.358704f, -7.4820004f, 118.08948f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumPendants, - To = EAetheryteLocation.CrystariumMarkets - } - }; - obj254.Steps = list381; - reference282 = obj254; - ref QuestSequence reference283 = ref span114[2]; - QuestSequence obj255 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list382 = new List(num2); - CollectionsMarshal.SetCount(list382, num2); - CollectionsMarshal.AsSpan(list382)[0] = new QuestStep(EInteractionType.Interact, 1027248u, new Vector3(-30.807983f, -0.64999914f, -51.438232f), 819); - obj255.Steps = list382; - reference283 = obj255; - ref QuestSequence reference284 = ref span114[3]; - QuestSequence obj256 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list383 = new List(num2); - CollectionsMarshal.SetCount(list383, num2); - CollectionsMarshal.AsSpan(list383)[0] = new QuestStep(EInteractionType.Interact, 1027226u, new Vector3(-61.84485f, -17.72202f, -266.2547f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumDossalGate, - To = EAetheryteLocation.CrystariumCabinetOfCuriosity - } - }; - obj256.Steps = list383; - reference284 = obj256; - ref QuestSequence reference285 = ref span114[4]; - QuestSequence obj257 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list384 = new List(num2); - CollectionsMarshal.SetCount(list384, num2); - CollectionsMarshal.AsSpan(list384)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027232u, new Vector3(-9.323303f, 20.1973f, -136.52252f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumCrystallineMean - } - }; - obj257.Steps = list384; - reference285 = obj257; - questRoot44.QuestSequence = list379; - AddQuest(questId44, questRoot44); - QuestId questId45 = new QuestId(3645); - QuestRoot questRoot45 = new QuestRoot(); - num = 1; - List list385 = new List(num); - CollectionsMarshal.SetCount(list385, num); - CollectionsMarshal.AsSpan(list385)[0] = "liza"; - questRoot45.Author = list385; - num = 4; - List list386 = new List(num); - CollectionsMarshal.SetCount(list386, num); - Span span115 = CollectionsMarshal.AsSpan(list386); - ref QuestSequence reference286 = ref span115[0]; - QuestSequence obj258 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list387 = new List(num2); - CollectionsMarshal.SetCount(list387, num2); - CollectionsMarshal.AsSpan(list387)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027232u, new Vector3(-9.323303f, 20.1973f, -136.52252f), 819); - obj258.Steps = list387; - reference286 = obj258; - ref QuestSequence reference287 = ref span115[1]; - QuestSequence obj259 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list388 = new List(num2); - CollectionsMarshal.SetCount(list388, num2); - CollectionsMarshal.AsSpan(list388)[0] = new QuestStep(EInteractionType.Interact, 2010136u, new Vector3(-223.46838f, 38.590088f, -86.86963f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumCrystallineMean, - To = EAetheryteLocation.CrystariumTemenosRookery - } - }; - obj259.Steps = list388; - reference287 = obj259; - ref QuestSequence reference288 = ref span115[2]; - QuestSequence obj260 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list389 = new List(num2); - CollectionsMarshal.SetCount(list389, num2); - Span span116 = CollectionsMarshal.AsSpan(list389); - ref QuestStep reference289 = ref span116[0]; - QuestStep obj261 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-171.1477f, 0f, -78.01033f), 819) - { - DisableNavmesh = true - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list390 = new List(num3); - CollectionsMarshal.SetCount(list390, num3); - Span span117 = CollectionsMarshal.AsSpan(list390); - span117[0] = null; - span117[1] = null; - span117[2] = null; - span117[3] = null; - span117[4] = null; - span117[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list390; - skipConditions4.StepIf = skipStepConditions3; - obj261.SkipConditions = skipConditions4; - reference289 = obj261; - ref QuestStep reference290 = ref span116[1]; - QuestStep questStep30 = new QuestStep(EInteractionType.Interact, 1027246u, new Vector3(-136.98022f, 0f, -73.777466f), 819); - num3 = 6; - List list391 = new List(num3); - CollectionsMarshal.SetCount(list391, num3); - Span span118 = CollectionsMarshal.AsSpan(list391); - span118[0] = null; - span118[1] = null; - span118[2] = null; - span118[3] = null; - span118[4] = null; - span118[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep30.CompletionQuestVariablesFlags = list391; - reference290 = questStep30; - ref QuestStep reference291 = ref span116[2]; - QuestStep obj262 = new QuestStep(EInteractionType.Interact, 1027226u, new Vector3(-61.84485f, -17.72202f, -266.2547f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumTemenosRookery, - To = EAetheryteLocation.CrystariumCabinetOfCuriosity - } - }; - num3 = 6; - List list392 = new List(num3); - CollectionsMarshal.SetCount(list392, num3); - Span span119 = CollectionsMarshal.AsSpan(list392); - span119[0] = null; - span119[1] = null; - span119[2] = null; - span119[3] = null; - span119[4] = null; - span119[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj262.CompletionQuestVariablesFlags = list392; - reference291 = obj262; - ref QuestStep reference292 = ref span116[3]; - QuestStep obj263 = new QuestStep(EInteractionType.Interact, 1027854u, new Vector3(40.57373f, 36.197685f, -160.23505f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumAmaroLaunch - } - }; - num3 = 6; - List list393 = new List(num3); - CollectionsMarshal.SetCount(list393, num3); - Span span120 = CollectionsMarshal.AsSpan(list393); - span120[0] = null; - span120[1] = null; - span120[2] = null; - span120[3] = null; - span120[4] = null; - span120[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj263.CompletionQuestVariablesFlags = list393; - reference292 = obj263; - obj260.Steps = list389; - reference288 = obj260; - ref QuestSequence reference293 = ref span115[3]; - QuestSequence obj264 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list394 = new List(num2); - CollectionsMarshal.SetCount(list394, num2); - Span span121 = CollectionsMarshal.AsSpan(list394); - span121[0] = new QuestStep(EInteractionType.None, null, null, 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumAmaroLaunch, - To = EAetheryteLocation.CrystariumTessellation - } - }; - span121[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(608.7031f, 12.602462f, 311.77286f), 813) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span121[2] = new QuestStep(EInteractionType.CompleteQuest, 1030369u, new Vector3(614.4961f, 13.3097515f, 305.80603f), 813); - obj264.Steps = list394; - reference293 = obj264; - questRoot45.QuestSequence = list386; - AddQuest(questId45, questRoot45); - QuestId questId46 = new QuestId(3646); - QuestRoot questRoot46 = new QuestRoot(); - num = 1; - List list395 = new List(num); - CollectionsMarshal.SetCount(list395, num); - CollectionsMarshal.AsSpan(list395)[0] = "liza"; - questRoot46.Author = list395; - num = 5; - List list396 = new List(num); - CollectionsMarshal.SetCount(list396, num); - Span span122 = CollectionsMarshal.AsSpan(list396); - ref QuestSequence reference294 = ref span122[0]; - QuestSequence obj265 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list397 = new List(num2); - CollectionsMarshal.SetCount(list397, num2); - CollectionsMarshal.AsSpan(list397)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030369u, new Vector3(614.4961f, 13.3097515f, 305.80603f), 813); - obj265.Steps = list397; - reference294 = obj265; - ref QuestSequence reference295 = ref span122[1]; - QuestSequence obj266 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list398 = new List(num2); - CollectionsMarshal.SetCount(list398, num2); - ref QuestStep reference296 = ref CollectionsMarshal.AsSpan(list398)[0]; - QuestStep obj267 = new QuestStep(EInteractionType.Interact, 1030533u, new Vector3(117.997925f, 14.649025f, 7.156433f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumDossalGate - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list399 = new List(num3); - CollectionsMarshal.SetCount(list399, num3); - CollectionsMarshal.AsSpan(list399)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKMF103_03646_Q0_000_006") - }; - obj267.DialogueChoices = list399; - reference296 = obj267; - obj266.Steps = list398; - reference295 = obj266; - ref QuestSequence reference297 = ref span122[2]; - QuestSequence obj268 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list400 = new List(num2); - CollectionsMarshal.SetCount(list400, num2); - ref QuestStep reference298 = ref CollectionsMarshal.AsSpan(list400)[0]; - QuestStep questStep31 = new QuestStep(EInteractionType.Interact, 1030370u, new Vector3(66.84973f, -2.9802322E-07f, 13.321045f), 819); - num3 = 1; - List list401 = new List(num3); - CollectionsMarshal.SetCount(list401, num3); - CollectionsMarshal.AsSpan(list401)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMF103_03646_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKMF103_03646_A1_000_002") - }; - questStep31.DialogueChoices = list401; - reference298 = questStep31; - obj268.Steps = list400; - reference297 = obj268; - ref QuestSequence reference299 = ref span122[3]; - QuestSequence obj269 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list402 = new List(num2); - CollectionsMarshal.SetCount(list402, num2); - Span span123 = CollectionsMarshal.AsSpan(list402); - span123[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(59.71554f, 36.19769f, -167.87686f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumDossalGate, - To = EAetheryteLocation.CrystariumAmaroLaunch - } - }; - span123[1] = new QuestStep(EInteractionType.Interact, 1027225u, new Vector3(61.905884f, 36.247692f, -169.17682f), 819) - { - StopDistance = 7f - }; - obj269.Steps = list402; - reference299 = obj269; - ref QuestSequence reference300 = ref span122[4]; - QuestSequence obj270 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list403 = new List(num2); - CollectionsMarshal.SetCount(list403, num2); - CollectionsMarshal.AsSpan(list403)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030327u, new Vector3(58.426758f, 36.19769f, -162.4018f), 819) - { - StopDistance = 7f - }; - obj270.Steps = list403; - reference300 = obj270; - questRoot46.QuestSequence = list396; - AddQuest(questId46, questRoot46); - QuestId questId47 = new QuestId(3647); - QuestRoot questRoot47 = new QuestRoot(); - num = 1; - List list404 = new List(num); - CollectionsMarshal.SetCount(list404, num); - CollectionsMarshal.AsSpan(list404)[0] = "liza"; - questRoot47.Author = list404; - num = 5; - List list405 = new List(num); - CollectionsMarshal.SetCount(list405, num); - Span span124 = CollectionsMarshal.AsSpan(list405); - ref QuestSequence reference301 = ref span124[0]; - QuestSequence obj271 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list406 = new List(num2); - CollectionsMarshal.SetCount(list406, num2); - CollectionsMarshal.AsSpan(list406)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030327u, new Vector3(58.426758f, 36.19769f, -162.4018f), 819) - { - StopDistance = 7f - }; - obj271.Steps = list406; - reference301 = obj271; - ref QuestSequence reference302 = ref span124[1]; - QuestSequence obj272 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list407 = new List(num2); - CollectionsMarshal.SetCount(list407, num2); - Span span125 = CollectionsMarshal.AsSpan(list407); - span125[0] = new QuestStep(EInteractionType.None, null, null, 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumAmaroLaunch, - To = EAetheryteLocation.CrystariumTessellation - } - }; - span125[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(55.589294f, 2.0276523f, 669.1557f), 813) - { - Comment = "these bridges have navmesh problems", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span125[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(15.410904f, 2.2598603f, 677.3755f), 813) - { - DisableNavmesh = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span125[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-82.79376f, 11.970126f, 765.8721f), 813) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span125[4] = new QuestStep(EInteractionType.Interact, 1030346u, new Vector3(-145.09808f, 9.572956f, 704.6769f), 813) - { - StopDistance = 1f, - Fly = true - }; - obj272.Steps = list407; - reference302 = obj272; - ref QuestSequence reference303 = ref span124[2]; - QuestSequence obj273 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list408 = new List(num2); - CollectionsMarshal.SetCount(list408, num2); - Span span126 = CollectionsMarshal.AsSpan(list408); - span126[0] = new QuestStep(EInteractionType.Dive, null, new Vector3(-164.90442f, -1.9743931f, 688.2283f), 813) - { - StopDistance = 0.5f, - DisableNavmesh = true - }; - span126[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-578.07544f, -28.413673f, 749.037f), 813) - { - DisableNavmesh = true - }; - ref QuestStep reference304 = ref span126[2]; - QuestStep obj274 = new QuestStep(EInteractionType.Interact, 2010138u, new Vector3(-606.46985f, -28.183472f, 768.6731f), 813) - { - DisableNavmesh = true - }; - num3 = 6; - List list409 = new List(num3); - CollectionsMarshal.SetCount(list409, num3); - Span span127 = CollectionsMarshal.AsSpan(list409); - span127[0] = null; - span127[1] = null; - span127[2] = null; - span127[3] = null; - span127[4] = null; - span127[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj274.CompletionQuestVariablesFlags = list409; - reference304 = obj274; - ref QuestStep reference305 = ref span126[3]; - QuestStep questStep32 = new QuestStep(EInteractionType.Interact, 2010137u, new Vector3(-687.83093f, -40.299072f, 729.36584f), 813); - num3 = 6; - List list410 = new List(num3); - CollectionsMarshal.SetCount(list410, num3); - Span span128 = CollectionsMarshal.AsSpan(list410); - span128[0] = null; - span128[1] = null; - span128[2] = null; - span128[3] = null; - span128[4] = null; - span128[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep32.CompletionQuestVariablesFlags = list410; - reference305 = questStep32; - obj273.Steps = list408; - reference303 = obj273; - ref QuestSequence reference306 = ref span124[3]; - QuestSequence obj275 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list411 = new List(num2); - CollectionsMarshal.SetCount(list411, num2); - Span span129 = CollectionsMarshal.AsSpan(list411); - span129[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-667.5838f, -1.974393f, 698.4002f), 813) - { - DisableNavmesh = true, - Mount = true - }; - span129[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-573.45654f, 0.39776123f, 810.7269f), 813) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span129[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-619.98676f, 24.866888f, 794.4714f), 813) - { - Mount = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - ref QuestStep reference307 = ref span129[3]; - QuestStep obj276 = new QuestStep(EInteractionType.Interact, 1030333u, new Vector3(-612.23773f, 27.728632f, 817.65466f), 813) - { - Fly = true - }; - num3 = 1; - List list412 = new List(num3); - CollectionsMarshal.SetCount(list412, num3); - CollectionsMarshal.AsSpan(list412)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMF104_03647_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKMF104_03647_A1_000_002") - }; - obj276.DialogueChoices = list412; - reference307 = obj276; - obj275.Steps = list411; - reference306 = obj275; - ref QuestSequence reference308 = ref span124[4]; - QuestSequence obj277 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list413 = new List(num2); - CollectionsMarshal.SetCount(list413, num2); - CollectionsMarshal.AsSpan(list413)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030339u, new Vector3(282.4292f, 414.78137f, -857.02295f), 818) - { - StopDistance = 5f, - DisableNavmesh = true - }; - obj277.Steps = list413; - reference308 = obj277; - questRoot47.QuestSequence = list405; - AddQuest(questId47, questRoot47); - QuestId questId48 = new QuestId(3648); - QuestRoot questRoot48 = new QuestRoot(); - num = 1; - List list414 = new List(num); - CollectionsMarshal.SetCount(list414, num); - CollectionsMarshal.AsSpan(list414)[0] = "liza"; - questRoot48.Author = list414; - num = 6; - List list415 = new List(num); - CollectionsMarshal.SetCount(list415, num); - Span span130 = CollectionsMarshal.AsSpan(list415); - ref QuestSequence reference309 = ref span130[0]; - QuestSequence obj278 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list416 = new List(num2); - CollectionsMarshal.SetCount(list416, num2); - CollectionsMarshal.AsSpan(list416)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030336u, new Vector3(278.7976f, 414.807f, -851.2856f), 818) - { - DisableNavmesh = true - }; - obj278.Steps = list416; - reference309 = obj278; - ref QuestSequence reference310 = ref span130[1]; - QuestSequence obj279 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list417 = new List(num2); - CollectionsMarshal.SetCount(list417, num2); - Span span131 = CollectionsMarshal.AsSpan(list417); - span131[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010074u, new Vector3(358.20544f, 396.536f, -715.90753f), 818) - { - AetherCurrentId = 2818298u - }; - span131[1] = new QuestStep(EInteractionType.Interact, 1030514u, new Vector3(479.5758f, 368.87827f, -340.99335f), 818); - obj279.Steps = list417; - reference310 = obj279; - ref QuestSequence reference311 = ref span130[2]; - QuestSequence obj280 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list418 = new List(num2); - CollectionsMarshal.SetCount(list418, num2); - Span span132 = CollectionsMarshal.AsSpan(list418); - span132[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 818) - { - Aetheryte = EAetheryteLocation.TempestOndoCups - }; - span132[1] = new QuestStep(EInteractionType.Interact, 1030515u, new Vector3(605.3711f, 350.3518f, -196.91772f), 818); - obj280.Steps = list418; - reference311 = obj280; - ref QuestSequence reference312 = ref span130[3]; - QuestSequence obj281 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list419 = new List(num2); - CollectionsMarshal.SetCount(list419, num2); - CollectionsMarshal.AsSpan(list419)[0] = new QuestStep(EInteractionType.Interact, 1030516u, new Vector3(569.4209f, 350.03647f, -227.95453f), 818); - obj281.Steps = list419; - reference312 = obj281; - ref QuestSequence reference313 = ref span130[4]; - QuestSequence obj282 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list420 = new List(num2); - CollectionsMarshal.SetCount(list420, num2); - ref QuestStep reference314 = ref CollectionsMarshal.AsSpan(list420)[0]; - QuestStep obj283 = new QuestStep(EInteractionType.Combat, null, new Vector3(796.1852f, 449.08664f, -710.04565f), 818) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list421 = new List(num3); - CollectionsMarshal.SetCount(list421, num3); - CollectionsMarshal.AsSpan(list421)[0] = new ComplexCombatData - { - DataId = 10316u, - MinimumKillCount = 3u - }; - obj283.ComplexCombatData = list421; - reference314 = obj283; - obj282.Steps = list420; - reference313 = obj282; - ref QuestSequence reference315 = ref span130[5]; - QuestSequence obj284 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list422 = new List(num2); - CollectionsMarshal.SetCount(list422, num2); - CollectionsMarshal.AsSpan(list422)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027758u, new Vector3(568.1085f, 350.2004f, -230.36548f), 818) - { - AetheryteShortcut = EAetheryteLocation.TempestOndoCups - }; - obj284.Steps = list422; - reference315 = obj284; - questRoot48.QuestSequence = list415; - AddQuest(questId48, questRoot48); - QuestId questId49 = new QuestId(3649); - QuestRoot questRoot49 = new QuestRoot(); - num = 1; - List list423 = new List(num); - CollectionsMarshal.SetCount(list423, num); - CollectionsMarshal.AsSpan(list423)[0] = "liza"; - questRoot49.Author = list423; - num = 6; - List list424 = new List(num); - CollectionsMarshal.SetCount(list424, num); - Span span133 = CollectionsMarshal.AsSpan(list424); - ref QuestSequence reference316 = ref span133[0]; - QuestSequence obj285 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list425 = new List(num2); - CollectionsMarshal.SetCount(list425, num2); - CollectionsMarshal.AsSpan(list425)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030517u, new Vector3(578.7594f, 349.86563f, -231.00635f), 818); - obj285.Steps = list425; - reference316 = obj285; - ref QuestSequence reference317 = ref span133[1]; - QuestSequence obj286 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list426 = new List(num2); - CollectionsMarshal.SetCount(list426, num2); - Span span134 = CollectionsMarshal.AsSpan(list426); - span134[0] = new QuestStep(EInteractionType.AcceptQuest, 1031015u, new Vector3(530.51025f, 353.54364f, -244.00702f), 818) - { - PickUpQuestId = new QuestId(3588) - }; - span134[1] = new QuestStep(EInteractionType.Interact, 1030518u, new Vector3(400.38135f, 363.65552f, -439.6582f), 818); - obj286.Steps = list426; - reference317 = obj286; - ref QuestSequence reference318 = ref span133[2]; - QuestSequence obj287 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list427 = new List(num2); - CollectionsMarshal.SetCount(list427, num2); - Span span135 = CollectionsMarshal.AsSpan(list427); - ref QuestStep reference319 = ref span135[0]; - QuestStep obj288 = new QuestStep(EInteractionType.Snipe, 2010141u, new Vector3(405.38635f, 361.22668f, -414.38928f), 818) - { - Comment = "Click top left (broken) window" - }; - num3 = 6; - List list428 = new List(num3); - CollectionsMarshal.SetCount(list428, num3); - Span span136 = CollectionsMarshal.AsSpan(list428); - span136[0] = null; - span136[1] = null; - span136[2] = null; - span136[3] = null; - span136[4] = null; - span136[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj288.CompletionQuestVariablesFlags = list428; - reference319 = obj288; - span135[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(324.9114f, 353.76694f, -475.44562f), 818); - ref QuestStep reference320 = ref span135[2]; - QuestStep obj289 = new QuestStep(EInteractionType.UseItem, 2010142u, new Vector3(326.8329f, 355.79456f, -477.53113f), 818) - { - StopDistance = 4f, - ItemId = 2002673u - }; - num3 = 6; - List list429 = new List(num3); - CollectionsMarshal.SetCount(list429, num3); - Span span137 = CollectionsMarshal.AsSpan(list429); - span137[0] = null; - span137[1] = null; - span137[2] = null; - span137[3] = null; - span137[4] = null; - span137[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj289.CompletionQuestVariablesFlags = list429; - reference320 = obj289; - obj287.Steps = list427; - reference318 = obj287; - ref QuestSequence reference321 = ref span133[3]; - QuestSequence obj290 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list430 = new List(num2); - CollectionsMarshal.SetCount(list430, num2); - CollectionsMarshal.AsSpan(list430)[0] = new QuestStep(EInteractionType.Interact, 1030518u, new Vector3(400.38135f, 363.65552f, -439.6582f), 818); - obj290.Steps = list430; - reference321 = obj290; - ref QuestSequence reference322 = ref span133[4]; - QuestSequence obj291 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list431 = new List(num2); - CollectionsMarshal.SetCount(list431, num2); - Span span138 = CollectionsMarshal.AsSpan(list431); - span138[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010076u, new Vector3(50.18689f, 380.0868f, -512.0775f), 818) - { - AetherCurrentId = 2818300u - }; - span138[1] = new QuestStep(EInteractionType.Interact, 2010143u, new Vector3(25.711426f, 381.6128f, -522.3316f), 818); - obj291.Steps = list431; - reference322 = obj291; - ref QuestSequence reference323 = ref span133[5]; - QuestSequence obj292 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list432 = new List(num2); - CollectionsMarshal.SetCount(list432, num2); - CollectionsMarshal.AsSpan(list432)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030225u, new Vector3(28.824219f, 381.81906f, -524.4374f), 818) - { - StopDistance = 5f - }; - obj292.Steps = list432; - reference323 = obj292; - questRoot49.QuestSequence = list424; - AddQuest(questId49, questRoot49); - } - - private static void LoadQuests73() - { - QuestId questId = new QuestId(3650); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 5; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030225u, new Vector3(28.824219f, 381.81906f, -524.4374f), 818) - { - StopDistance = 5f - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference3 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj3 = new QuestStep(EInteractionType.Interact, 1027758u, new Vector3(568.1085f, 350.2004f, -230.36548f), 818) - { - AetheryteShortcut = EAetheryteLocation.TempestOndoCups - }; - int num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMF107_03650_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKMF107_03650_A1_000_002") - }; - obj3.DialogueChoices = list5; - reference3 = obj3; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Interact, 1030519u, new Vector3(638.97156f, 402.23993f, 212.78699f), 818); - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[3]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.Emote, 1030519u, new Vector3(638.97156f, 402.23993f, 212.78699f), 818) - { - Emote = EEmote.Psych - }; - obj5.Steps = list7; - reference5 = obj5; - ref QuestSequence reference6 = ref span[4]; - QuestSequence obj6 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - ref QuestStep reference7 = ref CollectionsMarshal.AsSpan(list8)[0]; - QuestStep questStep = new QuestStep(EInteractionType.CompleteQuest, 1030586u, new Vector3(638.97156f, 402.23993f, 212.78699f), 818); - num3 = 1; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - CollectionsMarshal.AsSpan(list9)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKMF107_03650_A3_000_000") - }; - questStep.DialogueChoices = list9; - reference7 = questStep; - obj6.Steps = list8; - reference6 = obj6; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(3651); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - CollectionsMarshal.AsSpan(list10)[0] = "liza"; - questRoot2.Author = list10; - num = 10; - List list11 = new List(num); - CollectionsMarshal.SetCount(list11, num); - Span span2 = CollectionsMarshal.AsSpan(list11); - ref QuestSequence reference8 = ref span2[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030586u, new Vector3(638.97156f, 402.23993f, 212.78699f), 818); - obj7.Steps = list12; - reference8 = obj7; - ref QuestSequence reference9 = ref span2[1]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.Interact, 1027757u, new Vector3(609.7047f, 350.3518f, -197.95532f), 818) - { - AetheryteShortcut = EAetheryteLocation.TempestOndoCups - }; - obj8.Steps = list13; - reference9 = obj8; - ref QuestSequence reference10 = ref span2[2]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.Interact, 1031279u, new Vector3(514.6715f, 356.58453f, -268.51306f), 818); - obj9.Steps = list14; - reference10 = obj9; - ref QuestSequence reference11 = ref span2[3]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - Span span3 = CollectionsMarshal.AsSpan(list15); - span3[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(486.2212f, 316.451f, -300.7331f), 818) - { - StopDistance = 1f - }; - span3[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(474.52316f, 313.60648f, -294.83905f), 818) - { - StopDistance = 1f, - DisableNavmesh = true - }; - span3[2] = new QuestStep(EInteractionType.Interact, 1030570u, new Vector3(400.59497f, 303.51035f, -245.10571f), 818); - obj10.Steps = list15; - reference11 = obj10; - ref QuestSequence reference12 = ref span2[4]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 4 - }; - num2 = 5; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - Span span4 = CollectionsMarshal.AsSpan(list16); - span4[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010079u, new Vector3(339.1012f, 298.6953f, -280.01837f), 818) - { - AetherCurrentId = 2818303u - }; - span4[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(291.3423f, 268.31516f, -346.18488f), 818); - span4[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(277.46622f, 262.43375f, -328.6956f), 818) - { - StopDistance = 1f, - DisableNavmesh = true, - Mount = false - }; - span4[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(286.40463f, 235.09933f, -321.0536f), 818) - { - DisableNavmesh = true, - Mount = false - }; - span4[4] = new QuestStep(EInteractionType.Interact, 1030532u, new Vector3(302.02173f, 238.75215f, -346.15094f), 818); - obj11.Steps = list16; - reference12 = obj11; - ref QuestSequence reference13 = ref span2[5]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.Interact, 1030527u, new Vector3(87.937744f, 199.56166f, -143.0534f), 818); - obj12.Steps = list17; - reference13 = obj12; - ref QuestSequence reference14 = ref span2[6]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.Interact, 1030528u, new Vector3(-182.66577f, 139.76859f, -220.93542f), 818); - obj13.Steps = list18; - reference14 = obj13; - ref QuestSequence reference15 = ref span2[7]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.Interact, 1030534u, new Vector3(-501.915f, 127.18983f, -257.435f), 818); - obj14.Steps = list19; - reference15 = obj14; - ref QuestSequence reference16 = ref span2[8]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 8 - }; - num2 = 2; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - Span span5 = CollectionsMarshal.AsSpan(list20); - span5[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-634.109f, 98.06235f, -336.91452f), 818); - span5[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-789.7743f, 73.83459f, -217.70619f), 818); - obj15.Steps = list20; - reference16 = obj15; - ref QuestSequence reference17 = ref span2[9]; - QuestSequence obj16 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030344u, new Vector3(-792.9656f, 73.244484f, -211.62744f), 818) - { - StopDistance = 7f - }; - obj16.Steps = list21; - reference17 = obj16; - questRoot2.QuestSequence = list11; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(3652); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - CollectionsMarshal.AsSpan(list22)[0] = "liza"; - questRoot3.Author = list22; - num = 5; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - Span span6 = CollectionsMarshal.AsSpan(list23); - ref QuestSequence reference18 = ref span6[0]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030341u, new Vector3(-794.91876f, 72.44565f, -203.05182f), 818); - obj17.Steps = list24; - reference18 = obj17; - ref QuestSequence reference19 = ref span6[1]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - Span span7 = CollectionsMarshal.AsSpan(list25); - span7[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2010083u, new Vector3(-774.25806f, 63.1875f, -97.73407f), 818) - { - AetherCurrentId = 2818307u - }; - span7[1] = new QuestStep(EInteractionType.Interact, 2010144u, new Vector3(-610.5898f, 46.341675f, 94.01074f), 818); - obj18.Steps = list25; - reference19 = obj18; - ref QuestSequence reference20 = ref span6[2]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.Interact, 1030546u, new Vector3(-592.9503f, -288.06882f, 151.20166f), 818); - obj19.Steps = list26; - reference20 = obj19; - ref QuestSequence reference21 = ref span6[3]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - Span span8 = CollectionsMarshal.AsSpan(list27); - ref QuestStep reference22 = ref span8[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1030551u, new Vector3(-703.60876f, -245.36801f, 509.14783f), 818); - num3 = 6; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - Span span9 = CollectionsMarshal.AsSpan(list28); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list28; - reference22 = questStep2; - ref QuestStep reference23 = ref span8[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1030552u, new Vector3(-494.16345f, -250.89603f, 365.7129f), 818); - num3 = 6; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - Span span10 = CollectionsMarshal.AsSpan(list29); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list29; - reference23 = questStep3; - ref QuestStep reference24 = ref span8[2]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1030553u, new Vector3(-364.27863f, -260.1766f, 291.0963f), 818); - num3 = 6; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - Span span11 = CollectionsMarshal.AsSpan(list30); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list30; - reference24 = questStep4; - obj20.Steps = list27; - reference21 = obj20; - ref QuestSequence reference25 = ref span6[4]; - QuestSequence obj21 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030554u, new Vector3(-633.99713f, -288.06885f, 251.60596f), 818); - obj21.Steps = list31; - reference25 = obj21; - questRoot3.QuestSequence = list23; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(3653); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list32 = new List(num); - CollectionsMarshal.SetCount(list32, num); - CollectionsMarshal.AsSpan(list32)[0] = "liza"; - questRoot4.Author = list32; - num = 8; - List list33 = new List(num); - CollectionsMarshal.SetCount(list33, num); - Span span12 = CollectionsMarshal.AsSpan(list33); - ref QuestSequence reference26 = ref span12[0]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030554u, new Vector3(-633.99713f, -288.06885f, 251.60596f), 818); - obj22.Steps = list34; - reference26 = obj22; - ref QuestSequence reference27 = ref span12[1]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - Span span13 = CollectionsMarshal.AsSpan(list35); - span13[0] = new QuestStep(EInteractionType.AcceptQuest, 1027778u, new Vector3(-713.28296f, -245.368f, 498.49683f), 818) - { - PickUpQuestId = new QuestId(3593) - }; - span13[1] = new QuestStep(EInteractionType.AcceptQuest, 1030477u, new Vector3(-594.6593f, -266.7698f, 338.70447f), 818) - { - PickUpQuestId = new QuestId(3594) - }; - span13[2] = new QuestStep(EInteractionType.AcceptQuest, 1027775u, new Vector3(-390.85986f, -260.17664f, 308.46106f), 818) - { - PickUpQuestId = new QuestId(3592) - }; - span13[3] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 818) - { - Aetheryte = EAetheryteLocation.TempestMacarensesAngle - }; - span13[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-0.41547322f, -276.906f, 269.2778f), 818); - span13[5] = new QuestStep(EInteractionType.Interact, 1027772u, new Vector3(5.3864136f, -276.906f, 271.59534f), 818) - { - StopDistance = 7f - }; - obj23.Steps = list35; - reference27 = obj23; - ref QuestSequence reference28 = ref span12[2]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.Interact, 2010147u, new Vector3(1.5106201f, -276.93604f, 261.64636f), 818); - obj24.Steps = list36; - reference28 = obj24; - ref QuestSequence reference29 = ref span12[3]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - Span span14 = CollectionsMarshal.AsSpan(list37); - span14[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-0.41547322f, -276.906f, 269.2778f), 818); - span14[1] = new QuestStep(EInteractionType.Interact, 1027772u, new Vector3(5.3864136f, -276.906f, 271.59534f), 818) - { - StopDistance = 7f - }; - obj25.Steps = list37; - reference29 = obj25; - ref QuestSequence reference30 = ref span12[4]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - Span span15 = CollectionsMarshal.AsSpan(list38); - span15[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(314.43127f, -274.1735f, 659.203f), 818); - span15[1] = new QuestStep(EInteractionType.Interact, 1027773u, new Vector3(316.4568f, -274.1735f, 653.65063f), 818) - { - StopDistance = 7f - }; - obj26.Steps = list38; - reference30 = obj26; - ref QuestSequence reference31 = ref span12[5]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 2010148u, new Vector3(285.69458f, -272.78558f, 672.02246f), 818); - obj27.Steps = list39; - reference31 = obj27; - ref QuestSequence reference32 = ref span12[6]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - Span span16 = CollectionsMarshal.AsSpan(list40); - span16[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(314.43127f, -274.1735f, 659.203f), 818); - span16[1] = new QuestStep(EInteractionType.Interact, 1027773u, new Vector3(316.4568f, -274.1735f, 653.65063f), 818) - { - StopDistance = 7f - }; - obj28.Steps = list40; - reference32 = obj28; - ref QuestSequence reference33 = ref span12[7]; - QuestSequence obj29 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - Span span17 = CollectionsMarshal.AsSpan(list41); - span17[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-244.05957f, -266.0001f, 444.7069f), 818) - { - AetheryteShortcut = EAetheryteLocation.TempestMacarensesAngle - }; - span17[1] = new QuestStep(EInteractionType.CompleteQuest, 1030558u, new Vector3(-241.32147f, -266.0001f, 444.08325f), 818); - obj29.Steps = list41; - reference33 = obj29; - questRoot4.QuestSequence = list33; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(3654); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - CollectionsMarshal.AsSpan(list42)[0] = "liza"; - questRoot5.Author = list42; - num = 13; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - Span span18 = CollectionsMarshal.AsSpan(list43); - ref QuestSequence reference34 = ref span18[0]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030557u, new Vector3(-244.70898f, -266.0001f, 448.3557f), 818) - { - StopDistance = 5f - }; - obj30.Steps = list44; - reference34 = obj30; - ref QuestSequence reference35 = ref span18[1]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.Interact, 1030556u, new Vector3(-246.2959f, -266.0001f, 446.1891f), 818) - { - StopDistance = 5f - }; - obj31.Steps = list45; - reference35 = obj31; - ref QuestSequence reference36 = ref span18[2]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 1030561u, new Vector3(-243.39667f, -266.0001f, 442.4657f), 818) - { - StopDistance = 5f - }; - obj32.Steps = list46; - reference36 = obj32; - ref QuestSequence reference37 = ref span18[3]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Interact, 1030560u, new Vector3(-246.02124f, -266.0001f, 443.4729f), 818) - { - StopDistance = 5f - }; - obj33.Steps = list47; - reference37 = obj33; - ref QuestSequence reference38 = ref span18[4]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.Interact, 1030558u, new Vector3(-241.32147f, -266.0001f, 444.08325f), 818) - { - StopDistance = 5f - }; - obj34.Steps = list48; - reference38 = obj34; - ref QuestSequence reference39 = ref span18[5]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.Interact, 1030559u, new Vector3(-242.66425f, -266.0001f, 447.83704f), 818) - { - StopDistance = 5f - }; - obj35.Steps = list49; - reference39 = obj35; - ref QuestSequence reference40 = ref span18[6]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.Interact, 1030562u, new Vector3(-356.8628f, -229.0648f, 700.34326f), 818) - { - Fly = true - }; - obj36.Steps = list50; - reference40 = obj36; - ref QuestSequence reference41 = ref span18[7]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.Duty, null, null, 818) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 652u - } - }; - obj37.Steps = list51; - reference41 = obj37; - span18[8] = new QuestSequence - { - Sequence = 8 - }; - ref QuestSequence reference42 = ref span18[9]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.Duty, null, null, 881) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 687u - } - }; - obj38.Steps = list52; - reference42 = obj38; - span18[10] = new QuestSequence - { - Sequence = 10 - }; - ref QuestSequence reference43 = ref span18[11]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 11 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.Interact, 1030576u, new Vector3(-0.015319824f, -1.0530548E-13f, -6.0273438f), 844); - obj39.Steps = list53; - reference43 = obj39; - ref QuestSequence reference44 = ref span18[12]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - Span span19 = CollectionsMarshal.AsSpan(list54); - span19[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span19[1] = new QuestStep(EInteractionType.CompleteQuest, 1031257u, new Vector3(-2.4262085f, 0f, -9.10968f), 351); - obj40.Steps = list54; - reference44 = obj40; - questRoot5.QuestSequence = list43; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(3656); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - CollectionsMarshal.AsSpan(list55)[0] = "liza"; - questRoot6.Author = list55; - num = 4; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - Span span20 = CollectionsMarshal.AsSpan(list56); - ref QuestSequence reference45 = ref span20[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030747u, new Vector3(-81.28485f, -19.061882f, 307.20984f), 817); - obj41.Steps = list57; - reference45 = obj41; - ref QuestSequence reference46 = ref span20[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.Interact, 1030818u, new Vector3(-28.641174f, -24.631424f, 318.98987f), 817); - obj42.Steps = list58; - reference46 = obj42; - ref QuestSequence reference47 = ref span20[2]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.Interact, 2010348u, new Vector3(-354.5739f, 7.3395386f, 266.65137f), 817); - obj43.Steps = list59; - reference47 = obj43; - ref QuestSequence reference48 = ref span20[3]; - QuestSequence obj44 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030821u, new Vector3(-524.4679f, 0.08425587f, 227.00842f), 817); - obj44.Steps = list60; - reference48 = obj44; - questRoot6.QuestSequence = list56; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(3657); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - CollectionsMarshal.AsSpan(list61)[0] = "liza"; - questRoot7.Author = list61; - num = 4; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - Span span21 = CollectionsMarshal.AsSpan(list62); - ref QuestSequence reference49 = ref span21[0]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029876u, new Vector3(-524.71204f, 0.08067314f, 227.03894f), 817); - obj45.Steps = list63; - reference49 = obj45; - ref QuestSequence reference50 = ref span21[1]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.Interact, 1029876u, new Vector3(-524.71204f, 0.08067314f, 227.03894f), 817); - obj46.Steps = list64; - reference50 = obj46; - ref QuestSequence reference51 = ref span21[2]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.Interact, 1030819u, new Vector3(-27.390015f, -24.5606f, 320.11902f), 817); - obj47.Steps = list65; - reference51 = obj47; - ref QuestSequence reference52 = ref span21[3]; - QuestSequence obj48 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030824u, new Vector3(-28.732727f, -23.695421f, 320.39355f), 817) - { - StopDistance = 5f, - NextQuestId = new QuestId(3658) - }; - obj48.Steps = list66; - reference52 = obj48; - questRoot7.QuestSequence = list62; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(3658); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - CollectionsMarshal.AsSpan(list67)[0] = "liza"; - questRoot8.Author = list67; - num = 3; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - Span span22 = CollectionsMarshal.AsSpan(list68); - ref QuestSequence reference53 = ref span22[0]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030819u, new Vector3(-27.390015f, -24.5606f, 320.11902f), 817); - obj49.Steps = list69; - reference53 = obj49; - ref QuestSequence reference54 = ref span22[1]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.Interact, 2010352u, new Vector3(-322.65204f, 14.90802f, -181.53668f), 817) - { - Fly = true - }; - obj50.Steps = list70; - reference54 = obj50; - ref QuestSequence reference55 = ref span22[2]; - QuestSequence obj51 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030818u, new Vector3(-28.641174f, -24.631424f, 318.98987f), 817) - { - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough, - NextQuestId = new QuestId(3659) - }; - obj51.Steps = list71; - reference55 = obj51; - questRoot8.QuestSequence = list68; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(3659); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - CollectionsMarshal.AsSpan(list72)[0] = "liza"; - questRoot9.Author = list72; - num = 6; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - Span span23 = CollectionsMarshal.AsSpan(list73); - ref QuestSequence reference56 = ref span23[0]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030818u, new Vector3(-28.641174f, -24.631424f, 318.98987f), 817); - obj52.Steps = list74; - reference56 = obj52; - ref QuestSequence reference57 = ref span23[1]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - ref QuestStep reference58 = ref CollectionsMarshal.AsSpan(list75)[0]; - QuestStep obj54 = new QuestStep(EInteractionType.Combat, 1030827u, new Vector3(-438.46802f, -0.3f, 725.1239f), 817) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - CollectionsMarshal.AsSpan(list76)[0] = 11153u; - obj54.KillEnemyDataIds = list76; - reference58 = obj54; - obj53.Steps = list75; - reference57 = obj53; - ref QuestSequence reference59 = ref span23[2]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Interact, 1030827u, new Vector3(-438.46802f, -0.3f, 725.1239f), 817); - obj55.Steps = list77; - reference59 = obj55; - ref QuestSequence reference60 = ref span23[3]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - ref QuestStep reference61 = ref CollectionsMarshal.AsSpan(list78)[0]; - QuestStep obj57 = new QuestStep(EInteractionType.Combat, null, new Vector3(-500.49435f, 7.3168135f, 93.674324f), 817) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - CollectionsMarshal.AsSpan(list79)[0] = 11154u; - obj57.KillEnemyDataIds = list79; - reference61 = obj57; - obj56.Steps = list78; - reference60 = obj56; - ref QuestSequence reference62 = ref span23[4]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.Interact, 2010522u, new Vector3(-501.5488f, 7.461609f, 96.94055f), 817) - { - StopDistance = 4f - }; - obj58.Steps = list80; - reference62 = obj58; - ref QuestSequence reference63 = ref span23[5]; - QuestSequence obj59 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030818u, new Vector3(-28.641174f, -24.631424f, 318.98987f), 817) - { - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - obj59.Steps = list81; - reference63 = obj59; - questRoot9.QuestSequence = list73; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(3671); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - CollectionsMarshal.AsSpan(list82)[0] = "liza"; - questRoot10.Author = list82; - num = 9; - List list83 = new List(num); - CollectionsMarshal.SetCount(list83, num); - Span span24 = CollectionsMarshal.AsSpan(list83); - ref QuestSequence reference64 = ref span24[0]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031577u, new Vector3(-425.58942f, 417.21378f, -636.7438f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaTomra, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj60.Steps = list84; - reference64 = obj60; - ref QuestSequence reference65 = ref span24[1]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - ref QuestStep reference66 = ref CollectionsMarshal.AsSpan(list85)[0]; - QuestStep obj62 = new QuestStep(EInteractionType.Interact, 1031578u, new Vector3(737.48376f, 285.0224f, -84.97754f), 814) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaStilltide - }; - num3 = 1; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - CollectionsMarshal.AsSpan(list86)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKYA003_03671_Q1_000_000") - }; - obj62.DialogueChoices = list86; - reference66 = obj62; - obj61.Steps = list85; - reference65 = obj61; - ref QuestSequence reference67 = ref span24[2]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - ref QuestStep reference68 = ref CollectionsMarshal.AsSpan(list87)[0]; - QuestStep obj64 = new QuestStep(EInteractionType.Interact, 1031579u, new Vector3(735.89685f, 285.08194f, -82.35297f), 814) - { - StopDistance = 5f - }; - num3 = 1; - List list88 = new List(num3); - CollectionsMarshal.SetCount(list88, num3); - CollectionsMarshal.AsSpan(list88)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKYA003_03671_Q2_000_000"), - Answer = new ExcelRef("TEXT_LUCKYA003_03671_A2_000_001") - }; - obj64.DialogueChoices = list88; - reference68 = obj64; - obj63.Steps = list87; - reference67 = obj63; - ref QuestSequence reference69 = ref span24[3]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Interact, 1031580u, new Vector3(665.21704f, 297.47797f, -159.77728f), 814) - { - Fly = true - }; - obj65.Steps = list89; - reference69 = obj65; - ref QuestSequence reference70 = ref span24[4]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.Interact, 2010753u, new Vector3(631.9523f, 325.82593f, -228.68695f), 814) - { - Fly = true - }; - obj66.Steps = list90; - reference70 = obj66; - ref QuestSequence reference71 = ref span24[5]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - ref QuestStep reference72 = ref CollectionsMarshal.AsSpan(list91)[0]; - QuestStep obj68 = new QuestStep(EInteractionType.Interact, 1031580u, new Vector3(665.21704f, 297.47797f, -159.77728f), 814) - { - Fly = true - }; - num3 = 1; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - CollectionsMarshal.AsSpan(list92)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKYA003_03671_Q5_000_000"), - Answer = new ExcelRef("TEXT_LUCKYA003_03671_A5_000_002") - }; - obj68.DialogueChoices = list92; - reference72 = obj68; - obj67.Steps = list91; - reference71 = obj67; - ref QuestSequence reference73 = ref span24[6]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - Span span25 = CollectionsMarshal.AsSpan(list93); - span25[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(544.0766f, 295.72742f, -218.72057f), 814) - { - Fly = true - }; - span25[1] = new QuestStep(EInteractionType.Interact, 2010754u, new Vector3(542.9313f, 296.19275f, -217.02905f), 814); - obj69.Steps = list93; - reference73 = obj69; - ref QuestSequence reference74 = ref span24[7]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Interact, 1031579u, new Vector3(735.89685f, 285.08194f, -82.35297f), 814) - { - Fly = true - }; - obj70.Steps = list94; - reference74 = obj70; - ref QuestSequence reference75 = ref span24[8]; - QuestSequence obj71 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031577u, new Vector3(-425.58942f, 417.21378f, -636.7438f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaTomra, - NextQuestId = new QuestId(3717) - }; - obj71.Steps = list95; - reference75 = obj71; - questRoot10.QuestSequence = list83; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(3672); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - CollectionsMarshal.AsSpan(list96)[0] = "JerryWester"; - questRoot11.Author = list96; - num = 6; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - Span span26 = CollectionsMarshal.AsSpan(list97); - ref QuestSequence reference76 = ref span26[0]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.AcceptQuest, 2010850u, new Vector3(-74.540344f, 10.696533f, 16.739136f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj72.Steps = list98; - reference76 = obj72; - ref QuestSequence reference77 = ref span26[1]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 1031682u, new Vector3(152.97156f, -20.000004f, 63.767456f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardBrume - } - }; - obj73.Steps = list99; - reference77 = obj73; - ref QuestSequence reference78 = ref span26[2]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - ref QuestStep reference79 = ref CollectionsMarshal.AsSpan(list100)[0]; - QuestStep obj75 = new QuestStep(EInteractionType.Interact, 2010920u, new Vector3(-141.13074f, -12.64978f, -33.585205f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardBrume, - To = EAetheryteLocation.IshgardJeweledCrozier - } - }; - num3 = 1; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - CollectionsMarshal.AsSpan(list101)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKHA001_03672_Q3_000_000") - }; - obj75.DialogueChoices = list101; - reference79 = obj75; - obj74.Steps = list100; - reference78 = obj74; - ref QuestSequence reference80 = ref span26[3]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.Interact, 1031989u, new Vector3(-139.17761f, -12.634913f, -33.951355f), 419) - { - StopDistance = 7f - }; - obj76.Steps = list102; - reference80 = obj76; - ref QuestSequence reference81 = ref span26[4]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - ref QuestStep reference82 = ref CollectionsMarshal.AsSpan(list103)[0]; - QuestStep obj78 = new QuestStep(EInteractionType.Interact, 1031682u, new Vector3(152.97156f, -20.000004f, 63.767456f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardJeweledCrozier, - To = EAetheryteLocation.IshgardBrume - } - }; - num3 = 1; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - CollectionsMarshal.AsSpan(list104)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKHA001_03672_EVENTAREA_WARP_000_117") - }; - obj78.DialogueChoices = list104; - reference82 = obj78; - obj77.Steps = list103; - reference81 = obj77; - ref QuestSequence reference83 = ref span26[5]; - QuestSequence obj79 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031684u, new Vector3(-7.156494f, -16f, 163.46985f), 886) - { - NextQuestId = new QuestId(3725) - }; - obj79.Steps = list105; - reference83 = obj79; - questRoot11.QuestSequence = list97; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(3673); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list106 = new List(num); - CollectionsMarshal.SetCount(list106, num); - CollectionsMarshal.AsSpan(list106)[0] = "liza"; - questRoot12.Author = list106; - num = 4; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - Span span27 = CollectionsMarshal.AsSpan(list107); - ref QuestSequence reference84 = ref span27[0]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - ref QuestStep reference85 = ref CollectionsMarshal.AsSpan(list108)[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.AcceptQuest, 1031257u, new Vector3(-2.4262085f, 0f, -9.10968f), 351); - num3 = 1; - List list109 = new List(num3); - CollectionsMarshal.SetCount(list109, num3); - CollectionsMarshal.AsSpan(list109)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMG101_03673_Q1_000_500"), - Answer = new ExcelRef("TEXT_LUCKMG101_03673_A1_000_500") - }; - questStep5.DialogueChoices = list109; - reference85 = questStep5; - obj80.Steps = list108; - reference84 = obj80; - ref QuestSequence reference86 = ref span27[1]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - Span span28 = CollectionsMarshal.AsSpan(list110); - span28[0] = new QuestStep(EInteractionType.Interact, 2002879u, new Vector3(0f, 3f, 27.5f), 351) - { - TargetTerritoryId = (ushort)156 - }; - span28[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(30.917934f, 20.495003f, -656.1909f), 156) - { - Mount = true - }; - span28[2] = new QuestStep(EInteractionType.Interact, 1018433u, new Vector3(50.766724f, 50f, -772.3964f), 156) - { - Fly = true - }; - obj81.Steps = list110; - reference86 = obj81; - ref QuestSequence reference87 = ref span27[2]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - Span span29 = CollectionsMarshal.AsSpan(list111); - span29[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(30.917934f, 20.495003f, -656.1909f), 156) - { - Fly = true - }; - span29[1] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351 - }; - span29[2] = new QuestStep(EInteractionType.Interact, 1032081u, new Vector3(-2.4262085f, 0f, -9.10968f), 351); - obj82.Steps = list111; - reference87 = obj82; - ref QuestSequence reference88 = ref span27[3]; - QuestSequence obj83 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span30 = CollectionsMarshal.AsSpan(list112); - span30[0] = new QuestStep(EInteractionType.Interact, 1027230u, new Vector3(117.997925f, 14.649025f, 7.156433f), 819) - { - TargetTerritoryId = (ushort)844, - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - span30[1] = new QuestStep(EInteractionType.CompleteQuest, 1032121u, new Vector3(0.045776367f, -5.996435E-14f, -5.5390625f), 844); - obj83.Steps = list112; - reference88 = obj83; - questRoot12.QuestSequence = list107; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(3674); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list113 = new List(num); - CollectionsMarshal.SetCount(list113, num); - CollectionsMarshal.AsSpan(list113)[0] = "liza"; - questRoot13.Author = list113; - num = 5; - List list114 = new List(num); - CollectionsMarshal.SetCount(list114, num); - Span span31 = CollectionsMarshal.AsSpan(list114); - ref QuestSequence reference89 = ref span31[0]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032121u, new Vector3(0.045776367f, -5.996435E-14f, -5.5390625f), 844); - obj84.Steps = list115; - reference89 = obj84; - ref QuestSequence reference90 = ref span31[1]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - Span span32 = CollectionsMarshal.AsSpan(list116); - span32[0] = new QuestStep(EInteractionType.None, null, null, 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumTessellation - } - }; - span32[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(55.589294f, 2.0276523f, 669.1557f), 813) - { - Comment = "these bridges have navmesh problems", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span32[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(15.410904f, 2.2598603f, 677.3755f), 813) - { - DisableNavmesh = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span32[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-54.93826f, 3.1323283f, 690.1962f), 813) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span32[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-115.65658f, -0.67464465f, 653.1527f), 813) - { - StopDistance = 0.5f, - Fly = true - }; - span32[5] = new QuestStep(EInteractionType.Interact, 1031726u, new Vector3(-116.80786f, -0.6811354f, 651.026f), 813); - obj85.Steps = list116; - reference90 = obj85; - ref QuestSequence reference91 = ref span31[2]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.Duty, null, null, 813) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 692u - } - }; - obj86.Steps = list117; - reference91 = obj86; - span31[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference92 = ref span31[4]; - QuestSequence obj87 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032451u, new Vector3(-113.359314f, -0.6671539f, 656.79407f), 813) - { - StopDistance = 5f - }; - obj87.Steps = list118; - reference92 = obj87; - questRoot13.QuestSequence = list114; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(3675); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - CollectionsMarshal.AsSpan(list119)[0] = "liza"; - questRoot14.Author = list119; - num = 6; - List list120 = new List(num); - CollectionsMarshal.SetCount(list120, num); - Span span33 = CollectionsMarshal.AsSpan(list120); - ref QuestSequence reference93 = ref span33[0]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032451u, new Vector3(-113.359314f, -0.6671539f, 656.79407f), 813); - obj88.Steps = list121; - reference93 = obj88; - ref QuestSequence reference94 = ref span33[1]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.Interact, 1027230u, new Vector3(117.997925f, 14.649025f, 7.156433f), 819) - { - TargetTerritoryId = (ushort)844, - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - obj89.Steps = list122; - reference94 = obj89; - ref QuestSequence reference95 = ref span33[2]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.Interact, 1032122u, new Vector3(2.1820068f, 0f, -5.142395f), 844) - { - StopDistance = 7f - }; - obj90.Steps = list123; - reference95 = obj90; - ref QuestSequence reference96 = ref span33[3]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.Interact, 1031732u, new Vector3(366.68945f, -27.966003f, 305.19568f), 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengInnAtJourneysHead - }; - obj91.Steps = list124; - reference96 = obj91; - ref QuestSequence reference97 = ref span33[4]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - Span span34 = CollectionsMarshal.AsSpan(list125); - ref QuestStep reference98 = ref span34[0]; - QuestStep obj93 = new QuestStep(EInteractionType.UseItem, 1027910u, new Vector3(356.71008f, -27.8172f, 310.04797f), 815) - { - ItemId = 2002904u - }; - num3 = 6; - List list126 = new List(num3); - CollectionsMarshal.SetCount(list126, num3); - Span span35 = CollectionsMarshal.AsSpan(list126); - span35[0] = null; - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj93.CompletionQuestVariablesFlags = list126; - reference98 = obj93; - ref QuestStep reference99 = ref span34[1]; - QuestStep obj94 = new QuestStep(EInteractionType.UseItem, 1027909u, new Vector3(357.47314f, -27.145874f, 317.28076f), 815) - { - ItemId = 2002904u - }; - num3 = 6; - List list127 = new List(num3); - CollectionsMarshal.SetCount(list127, num3); - Span span36 = CollectionsMarshal.AsSpan(list127); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj94.CompletionQuestVariablesFlags = list127; - reference99 = obj94; - ref QuestStep reference100 = ref span34[2]; - QuestStep obj95 = new QuestStep(EInteractionType.UseItem, 1027939u, new Vector3(415.854f, -28.357805f, 335.4391f), 815) - { - ItemId = 2002904u - }; - num3 = 6; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - Span span37 = CollectionsMarshal.AsSpan(list128); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj95.CompletionQuestVariablesFlags = list128; - reference100 = obj95; - obj92.Steps = list125; - reference97 = obj92; - ref QuestSequence reference101 = ref span33[5]; - QuestSequence obj96 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031732u, new Vector3(366.68945f, -27.966003f, 305.19568f), 815); - obj96.Steps = list129; - reference101 = obj96; - questRoot14.QuestSequence = list120; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(3676); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list130 = new List(num); - CollectionsMarshal.SetCount(list130, num); - CollectionsMarshal.AsSpan(list130)[0] = "liza"; - questRoot15.Author = list130; - num = 6; - List list131 = new List(num); - CollectionsMarshal.SetCount(list131, num); - Span span38 = CollectionsMarshal.AsSpan(list131); - ref QuestSequence reference102 = ref span38[0]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031732u, new Vector3(366.68945f, -27.966003f, 305.19568f), 815); - obj97.Steps = list132; - reference102 = obj97; - ref QuestSequence reference103 = ref span38[1]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - ref QuestStep reference104 = ref CollectionsMarshal.AsSpan(list133)[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1031732u, new Vector3(366.68945f, -27.966003f, 305.19568f), 815); - num3 = 1; - List list134 = new List(num3); - CollectionsMarshal.SetCount(list134, num3); - CollectionsMarshal.AsSpan(list134)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMG104_03676_Q2_000_100"), - Answer = new ExcelRef("TEXT_LUCKMG104_03676_A1_000_100") - }; - questStep6.DialogueChoices = list134; - reference104 = questStep6; - obj98.Steps = list133; - reference103 = obj98; - ref QuestSequence reference105 = ref span38[2]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.Interact, 1031792u, new Vector3(-483.7873f, 45.58319f, -235.46198f), 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengTwine - }; - obj99.Steps = list135; - reference105 = obj99; - ref QuestSequence reference106 = ref span38[3]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - Span span39 = CollectionsMarshal.AsSpan(list136); - span39[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-27.96634f, 41.707367f, -482.99057f), 815) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - ref QuestStep reference107 = ref span39[1]; - QuestStep obj101 = new QuestStep(EInteractionType.Interact, 2010811u, new Vector3(-16.922302f, 42.282715f, -470.48145f), 815) - { - StopDistance = 1f, - Fly = true - }; - num3 = 6; - List list137 = new List(num3); - CollectionsMarshal.SetCount(list137, num3); - Span span40 = CollectionsMarshal.AsSpan(list137); - span40[0] = null; - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj101.CompletionQuestVariablesFlags = list137; - reference107 = obj101; - ref QuestStep reference108 = ref span39[2]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2010810u, new Vector3(8.682312f, 42.130127f, -471.9463f), 815); - num3 = 6; - List list138 = new List(num3); - CollectionsMarshal.SetCount(list138, num3); - Span span41 = CollectionsMarshal.AsSpan(list138); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list138; - reference108 = questStep7; - ref QuestStep reference109 = ref span39[3]; - QuestStep obj102 = new QuestStep(EInteractionType.Interact, 2010809u, new Vector3(19.760376f, 42.130127f, -463.3402f), 815) - { - Comment = "Combat not necessary to progress quest" - }; - num3 = 6; - List list139 = new List(num3); - CollectionsMarshal.SetCount(list139, num3); - Span span42 = CollectionsMarshal.AsSpan(list139); - span42[0] = null; - span42[1] = null; - span42[2] = null; - span42[3] = null; - span42[4] = null; - span42[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj102.CompletionQuestVariablesFlags = list139; - reference109 = obj102; - obj100.Steps = list136; - reference106 = obj100; - ref QuestSequence reference110 = ref span38[4]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - Span span43 = CollectionsMarshal.AsSpan(list140); - span43[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(47.593674f, 42.681213f, -511.2799f), 815) - { - Comment = "Should be far enough to reset combat" - }; - ref QuestStep reference111 = ref span43[1]; - QuestStep obj104 = new QuestStep(EInteractionType.Interact, 1031732u, new Vector3(366.68945f, -27.966003f, 305.19568f), 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengInnAtJourneysHead - }; - num3 = 1; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - CollectionsMarshal.AsSpan(list141)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMG104_03676_Q3_000_200"), - Answer = new ExcelRef("TEXT_LUCKMG104_03676_A1_000_200") - }; - obj104.DialogueChoices = list141; - reference111 = obj104; - obj103.Steps = list140; - reference110 = obj103; - ref QuestSequence reference112 = ref span38[5]; - QuestSequence obj105 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031734u, new Vector3(364.58374f, -27.966003f, 304.12744f), 815) - { - StopDistance = 6f - }; - obj105.Steps = list142; - reference112 = obj105; - questRoot15.QuestSequence = list131; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(3677); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - CollectionsMarshal.AsSpan(list143)[0] = "liza"; - questRoot16.Author = list143; - num = 3; - List list144 = new List(num); - CollectionsMarshal.SetCount(list144, num); - Span span44 = CollectionsMarshal.AsSpan(list144); - ref QuestSequence reference113 = ref span44[0]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031736u, new Vector3(368.1848f, -27.966003f, 302.3269f), 815) - { - StopDistance = 5f - }; - obj106.Steps = list145; - reference113 = obj106; - ref QuestSequence reference114 = ref span44[1]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.Interact, 1031737u, new Vector3(20.950623f, 82.05f, 17.837708f), 820) - { - AetheryteShortcut = EAetheryteLocation.Eulmore - }; - obj107.Steps = list146; - reference114 = obj107; - ref QuestSequence reference115 = ref span44[2]; - QuestSequence obj108 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031739u, new Vector3(-19.36377f, 82.83509f, -50.55316f), 820); - obj108.Steps = list147; - reference115 = obj108; - questRoot16.QuestSequence = list144; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(3678); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list148 = new List(num); - CollectionsMarshal.SetCount(list148, num); - CollectionsMarshal.AsSpan(list148)[0] = "liza"; - questRoot17.Author = list148; - num = 3; - List list149 = new List(num); - CollectionsMarshal.SetCount(list149, num); - Span span45 = CollectionsMarshal.AsSpan(list149); - ref QuestSequence reference116 = ref span45[0]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031742u, new Vector3(-18.60083f, 82.84981f, -48.29486f), 820); - obj109.Steps = list150; - reference116 = obj109; - ref QuestSequence reference117 = ref span45[1]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - Span span46 = CollectionsMarshal.AsSpan(list151); - ref QuestStep reference118 = ref span46[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1027544u, new Vector3(12.985352f, 82.05f, -25.223206f), 820); - num3 = 6; - List list152 = new List(num3); - CollectionsMarshal.SetCount(list152, num3); - Span span47 = CollectionsMarshal.AsSpan(list152); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list152; - reference118 = questStep8; - ref QuestStep reference119 = ref span46[1]; - QuestStep obj111 = new QuestStep(EInteractionType.Interact, 1027602u, new Vector3(74.35718f, -10.320814f, 4.8981323f), 820) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Eulmore, - To = EAetheryteLocation.EulmoreSoutheastDerelict - } - }; - num3 = 6; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - Span span48 = CollectionsMarshal.AsSpan(list153); - span48[0] = null; - span48[1] = null; - span48[2] = null; - span48[3] = null; - span48[4] = null; - span48[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj111.CompletionQuestVariablesFlags = list153; - reference119 = obj111; - ref QuestStep reference120 = ref span46[2]; - QuestStep obj112 = new QuestStep(EInteractionType.Interact, 1029990u, new Vector3(11.36792f, 5.999995f, -38.651123f), 820) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.EulmoreSoutheastDerelict, - To = EAetheryteLocation.EulmoreGloryGate - } - }; - num3 = 6; - List list154 = new List(num3); - CollectionsMarshal.SetCount(list154, num3); - Span span49 = CollectionsMarshal.AsSpan(list154); - span49[0] = null; - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj112.CompletionQuestVariablesFlags = list154; - reference120 = obj112; - obj110.Steps = list151; - reference117 = obj110; - ref QuestSequence reference121 = ref span45[2]; - QuestSequence obj113 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031746u, new Vector3(-4.043701f, -5.091193f, -98.19183f), 820); - obj113.Steps = list155; - reference121 = obj113; - questRoot17.QuestSequence = list149; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(3679); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list156 = new List(num); - CollectionsMarshal.SetCount(list156, num); - CollectionsMarshal.AsSpan(list156)[0] = "liza"; - questRoot18.Author = list156; - num = 7; - List list157 = new List(num); - CollectionsMarshal.SetCount(list157, num); - Span span50 = CollectionsMarshal.AsSpan(list157); - ref QuestSequence reference122 = ref span50[0]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031746u, new Vector3(-4.043701f, -5.091193f, -98.19183f), 820); - obj114.Steps = list158; - reference122 = obj114; - ref QuestSequence reference123 = ref span50[1]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.Interact, 1027306u, new Vector3(-294.94165f, 18.10139f, 403.5553f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaWright - }; - obj115.Steps = list159; - reference123 = obj115; - ref QuestSequence reference124 = ref span50[2]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - Span span51 = CollectionsMarshal.AsSpan(list160); - span51[0] = new QuestStep(EInteractionType.Interact, 1028319u, new Vector3(-454.7036f, 65.77815f, 58.27417f), 814) - { - TargetTerritoryId = (ushort)814, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span51[1] = new QuestStep(EInteractionType.Interact, 1031751u, new Vector3(-468.77246f, 334.0526f, -35.05005f), 814) - { - Fly = true - }; - obj116.Steps = list160; - reference124 = obj116; - ref QuestSequence reference125 = ref span50[3]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.Interact, 1031753u, new Vector3(-159.19745f, 352.35825f, -212.51245f), 814) - { - Fly = true - }; - obj117.Steps = list161; - reference125 = obj117; - ref QuestSequence reference126 = ref span50[4]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.Interact, 1027462u, new Vector3(-121.87384f, 352.35822f, -191.08875f), 814); - obj118.Steps = list162; - reference126 = obj118; - ref QuestSequence reference127 = ref span50[5]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.Interact, 1031748u, new Vector3(-61.417603f, 378.34897f, -454.03223f), 814) - { - Fly = true - }; - obj119.Steps = list163; - reference127 = obj119; - ref QuestSequence reference128 = ref span50[6]; - QuestSequence obj120 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031760u, new Vector3(-60.04431f, 377.92743f, -451.6518f), 814); - obj120.Steps = list164; - reference128 = obj120; - questRoot18.QuestSequence = list157; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(3680); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list165 = new List(num); - CollectionsMarshal.SetCount(list165, num); - CollectionsMarshal.AsSpan(list165)[0] = "liza"; - questRoot19.Author = list165; - num = 5; - List list166 = new List(num); - CollectionsMarshal.SetCount(list166, num); - Span span52 = CollectionsMarshal.AsSpan(list166); - ref QuestSequence reference129 = ref span52[0]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031760u, new Vector3(-60.04431f, 377.92743f, -451.6518f), 814); - obj121.Steps = list167; - reference129 = obj121; - ref QuestSequence reference130 = ref span52[1]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.Interact, 1031761u, new Vector3(-423.78882f, 334.0526f, -26.199768f), 814) - { - Fly = true - }; - obj122.Steps = list168; - reference130 = obj122; - ref QuestSequence reference131 = ref span52[2]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.Snipe, 2010813u, new Vector3(-421.71362f, 339.62f, -161.45575f), 814) - { - Comment = "Help Master Chai dodge enemies" - }; - obj123.Steps = list169; - reference131 = obj123; - ref QuestSequence reference132 = ref span52[3]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.Interact, 1031765u, new Vector3(-418.90594f, 339.968f, -162.03558f), 814) - { - StopDistance = 7f - }; - obj124.Steps = list170; - reference132 = obj124; - ref QuestSequence reference133 = ref span52[4]; - QuestSequence obj125 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031769u, new Vector3(168.5968f, 39.939266f, 585.90063f), 814) - { - StopDistance = 7f - }; - obj125.Steps = list171; - reference133 = obj125; - questRoot19.QuestSequence = list166; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(3681); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list172 = new List(num); - CollectionsMarshal.SetCount(list172, num); - CollectionsMarshal.AsSpan(list172)[0] = "liza"; - questRoot20.Author = list172; - num = 4; - List list173 = new List(num); - CollectionsMarshal.SetCount(list173, num); - Span span53 = CollectionsMarshal.AsSpan(list173); - ref QuestSequence reference134 = ref span53[0]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031770u, new Vector3(170.4585f, 39.973778f, 586.1753f), 814) - { - StopDistance = 7f - }; - obj126.Steps = list174; - reference134 = obj126; - ref QuestSequence reference135 = ref span53[1]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.Interact, 1027549u, new Vector3(2.029419f, 83.195244f, 57.846924f), 820) - { - AetheryteShortcut = EAetheryteLocation.Eulmore - }; - obj127.Steps = list175; - reference135 = obj127; - ref QuestSequence reference136 = ref span53[2]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - CollectionsMarshal.AsSpan(list176)[0] = new QuestStep(EInteractionType.Interact, 1031777u, new Vector3(25.864014f, 82.78213f, 24.734863f), 820); - obj128.Steps = list176; - reference136 = obj128; - ref QuestSequence reference137 = ref span53[3]; - QuestSequence obj129 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031781u, new Vector3(24.246582f, 82.78206f, 25.77246f), 820); - obj129.Steps = list177; - reference137 = obj129; - questRoot20.QuestSequence = list173; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(3682); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list178 = new List(num); - CollectionsMarshal.SetCount(list178, num); - CollectionsMarshal.AsSpan(list178)[0] = "liza"; - questRoot21.Author = list178; - num = 4; - List list179 = new List(num); - CollectionsMarshal.SetCount(list179, num); - Span span54 = CollectionsMarshal.AsSpan(list179); - ref QuestSequence reference138 = ref span54[0]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031777u, new Vector3(25.864014f, 82.78213f, 24.734863f), 820); - obj130.Steps = list180; - reference138 = obj130; - ref QuestSequence reference139 = ref span54[1]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - Span span55 = CollectionsMarshal.AsSpan(list181); - span55[0] = new QuestStep(EInteractionType.Interact, 1027230u, new Vector3(117.997925f, 14.649025f, 7.156433f), 819) - { - TargetTerritoryId = (ushort)844, - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - span55[1] = new QuestStep(EInteractionType.Interact, 1032121u, new Vector3(0.045776367f, -5.996435E-14f, -5.5390625f), 844); - obj131.Steps = list181; - reference139 = obj131; - ref QuestSequence reference140 = ref span54[2]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - Span span56 = CollectionsMarshal.AsSpan(list182); - ref QuestStep reference141 = ref span56[0]; - QuestStep obj133 = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list183 = new List(num3); - CollectionsMarshal.SetCount(list183, num3); - CollectionsMarshal.AsSpan(list183)[0] = 351; - skipStepConditions.InTerritory = list183; - skipConditions.StepIf = skipStepConditions; - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list184 = new List(num3); - CollectionsMarshal.SetCount(list184, num3); - CollectionsMarshal.AsSpan(list184)[0] = 351; - skipAetheryteCondition.InTerritory = list184; - skipConditions.AetheryteShortcutIf = skipAetheryteCondition; - obj133.SkipConditions = skipConditions; - reference141 = obj133; - ref QuestStep reference142 = ref span56[1]; - QuestStep obj134 = new QuestStep(EInteractionType.SinglePlayerDuty, 1032081u, new Vector3(-2.4262085f, 0f, -9.10968f), 351) - { - Comment = "Estinien vs. Arch Ultima" - }; - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions(); - num3 = 4; - List list185 = new List(num3); - CollectionsMarshal.SetCount(list185, num3); - Span span57 = CollectionsMarshal.AsSpan(list185); - span57[0] = "AI doesn't move automatically for the first boss"; - span57[1] = "AI doesn't move automatically for the dialogue with gaius on the bridge"; - span57[2] = "After walking downstairs automatically, AI tries to run back towards the stairs (ignoring the arena boudnary)"; - span57[3] = "After moving from the arena boundary, AI doesn't move into melee range and stops too far away when initially attacking"; - singlePlayerDutyOptions.Notes = list185; - obj134.SinglePlayerDutyOptions = singlePlayerDutyOptions; - reference142 = obj134; - obj132.Steps = list182; - reference140 = obj132; - ref QuestSequence reference143 = ref span54[3]; - QuestSequence obj135 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032081u, new Vector3(-2.4262085f, 0f, -9.10968f), 351) - { - StopDistance = 5f - }; - obj135.Steps = list186; - reference143 = obj135; - questRoot21.QuestSequence = list179; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(3683); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list187 = new List(num); - CollectionsMarshal.SetCount(list187, num); - CollectionsMarshal.AsSpan(list187)[0] = "liza"; - questRoot22.Author = list187; - num = 12; - List list188 = new List(num); - CollectionsMarshal.SetCount(list188, num); - Span span58 = CollectionsMarshal.AsSpan(list188); - ref QuestSequence reference144 = ref span58[0]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031839u, new Vector3(95.628296f, 1.490116E-08f, 204.11987f), 819); - obj136.Steps = list189; - reference144 = obj136; - ref QuestSequence reference145 = ref span58[1]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.Interact, 1031843u, new Vector3(152.48328f, 0.21766767f, 655.4512f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandFortJobb - }; - obj137.Steps = list190; - reference145 = obj137; - ref QuestSequence reference146 = ref span58[2]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.Interact, 1031845u, new Vector3(-200.09155f, 2.2048368f, 737.8804f), 813) - { - Fly = true - }; - obj138.Steps = list191; - reference146 = obj138; - ref QuestSequence reference147 = ref span58[3]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - ref QuestStep reference148 = ref CollectionsMarshal.AsSpan(list192)[0]; - QuestStep obj140 = new QuestStep(EInteractionType.Combat, null, new Vector3(234.24565f, 10.83118f, 738.46594f), 813) - { - StopDistance = 1f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list193 = new List(num3); - CollectionsMarshal.SetCount(list193, num3); - CollectionsMarshal.AsSpan(list193)[0] = 11437u; - obj140.KillEnemyDataIds = list193; - reference148 = obj140; - obj139.Steps = list192; - reference147 = obj139; - ref QuestSequence reference149 = ref span58[4]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.Interact, 1031847u, new Vector3(231.92188f, 9.887029f, 726.74133f), 813) - { - StopDistance = 7f - }; - obj141.Steps = list194; - reference149 = obj141; - ref QuestSequence reference150 = ref span58[5]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.Interact, 1031846u, new Vector3(-204.76086f, 2.4649847f, 739.9557f), 813) - { - Fly = true - }; - obj142.Steps = list195; - reference150 = obj142; - ref QuestSequence reference151 = ref span58[6]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - ref QuestStep reference152 = ref CollectionsMarshal.AsSpan(list196)[0]; - QuestStep obj144 = new QuestStep(EInteractionType.Interact, 1031808u, new Vector3(-461.53967f, 72.51729f, 586.48047f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - num3 = 1; - List list197 = new List(num3); - CollectionsMarshal.SetCount(list197, num3); - CollectionsMarshal.AsSpan(list197)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANPIX001_03683_EVENTAREA_WARP_000_133") - }; - obj144.DialogueChoices = list197; - reference152 = obj144; - obj143.Steps = list196; - reference151 = obj143; - span58[7] = new QuestSequence - { - Sequence = 7 - }; - ref QuestSequence reference153 = ref span58[8]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - CollectionsMarshal.AsSpan(list198)[0] = new QuestStep(EInteractionType.Interact, 1031850u, new Vector3(55.588623f, -1.6532946f, 48.599854f), 889); - obj145.Steps = list198; - reference153 = obj145; - span58[9] = new QuestSequence - { - Sequence = 9 - }; - ref QuestSequence reference154 = ref span58[10]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - CollectionsMarshal.AsSpan(list199)[0] = new QuestStep(EInteractionType.Interact, 1032348u, new Vector3(-18.295654f, 6.8822618f, -67.338135f), 890); - obj146.Steps = list199; - reference154 = obj146; - ref QuestSequence reference155 = ref span58[11]; - QuestSequence obj147 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - ref QuestStep reference156 = ref CollectionsMarshal.AsSpan(list200)[0]; - QuestStep obj148 = new QuestStep(EInteractionType.CompleteQuest, 1031806u, new Vector3(-464.59143f, 71.76874f, 573.8766f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - num3 = 1; - List list201 = new List(num3); - CollectionsMarshal.SetCount(list201, num3); - CollectionsMarshal.AsSpan(list201)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANPIX001_03683_Q3_000_000"), - Answer = new ExcelRef("TEXT_BANPIX001_03683_A3_000_001") - }; - obj148.DialogueChoices = list201; - reference156 = obj148; - obj147.Steps = list200; - reference155 = obj147; - questRoot22.QuestSequence = list188; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(3684); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list202 = new List(num); - CollectionsMarshal.SetCount(list202, num); - CollectionsMarshal.AsSpan(list202)[0] = "liza"; - questRoot23.Author = list202; - num = 13; - List list203 = new List(num); - CollectionsMarshal.SetCount(list203, num); - Span span59 = CollectionsMarshal.AsSpan(list203); - ref QuestSequence reference157 = ref span59[0]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031806u, new Vector3(-464.59143f, 71.76874f, 573.8766f), 816); - obj149.Steps = list204; - reference157 = obj149; - ref QuestSequence reference158 = ref span59[1]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - Span span60 = CollectionsMarshal.AsSpan(list205); - span60[0] = new QuestStep(EInteractionType.Interact, 1031891u, new Vector3(-461.53967f, 72.51729f, 586.48047f), 816) - { - TargetTerritoryId = (ushort)890 - }; - span60[1] = new QuestStep(EInteractionType.Interact, 1031853u, new Vector3(60.471436f, -1.6051313f, 53.543823f), 890); - obj150.Steps = list205; - reference158 = obj150; - ref QuestSequence reference159 = ref span59[2]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.Interact, 1031852u, new Vector3(59.03711f, -1.7997739f, 56.565186f), 890); - obj151.Steps = list206; - reference159 = obj151; - ref QuestSequence reference160 = ref span59[3]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - CollectionsMarshal.AsSpan(list207)[0] = new QuestStep(EInteractionType.Interact, 1031855u, new Vector3(74.784424f, 98.85967f, -820.88965f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegPlaEnni - }; - obj152.Steps = list207; - reference160 = obj152; - ref QuestSequence reference161 = ref span59[4]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - ref QuestStep reference162 = ref CollectionsMarshal.AsSpan(list208)[0]; - QuestStep obj154 = new QuestStep(EInteractionType.Interact, 1031858u, new Vector3(-211.35272f, 16.63259f, 427.32886f), 814) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaWright - }; - num3 = 1; - List list209 = new List(num3); - CollectionsMarshal.SetCount(list209, num3); - CollectionsMarshal.AsSpan(list209)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANPIX002_03684_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANPIX002_03684_A1_000_001") - }; - obj154.DialogueChoices = list209; - reference162 = obj154; - obj153.Steps = list208; - reference161 = obj153; - ref QuestSequence reference163 = ref span59[5]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - CollectionsMarshal.AsSpan(list210)[0] = new QuestStep(EInteractionType.Interact, 1031860u, new Vector3(-217.45636f, 21.481304f, 356.9237f), 814) - { - Fly = true - }; - obj155.Steps = list210; - reference163 = obj155; - ref QuestSequence reference164 = ref span59[6]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - ref QuestStep reference165 = ref CollectionsMarshal.AsSpan(list211)[0]; - QuestStep obj157 = new QuestStep(EInteractionType.Combat, null, new Vector3(-137.7369f, 11.939666f, 336.4078f), 814) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list212 = new List(num3); - CollectionsMarshal.SetCount(list212, num3); - CollectionsMarshal.AsSpan(list212)[0] = 11438u; - obj157.KillEnemyDataIds = list212; - reference165 = obj157; - obj156.Steps = list211; - reference164 = obj156; - ref QuestSequence reference166 = ref span59[7]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - CollectionsMarshal.AsSpan(list213)[0] = new QuestStep(EInteractionType.Interact, 1031861u, new Vector3(-149.85895f, 13.084818f, 341.1764f), 814); - obj158.Steps = list213; - reference166 = obj158; - ref QuestSequence reference167 = ref span59[8]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.Interact, 1031860u, new Vector3(-217.45636f, 21.481304f, 356.9237f), 814) - { - Fly = true - }; - obj159.Steps = list214; - reference167 = obj159; - ref QuestSequence reference168 = ref span59[9]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 9 - }; - num2 = 2; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - Span span61 = CollectionsMarshal.AsSpan(list215); - span61[0] = new QuestStep(EInteractionType.Interact, 1031891u, new Vector3(-461.53967f, 72.51729f, 586.48047f), 816) - { - TargetTerritoryId = (ushort)890, - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - span61[1] = new QuestStep(EInteractionType.Interact, 1031863u, new Vector3(60.379883f, 31.0353f, -110.76526f), 890); - obj160.Steps = list215; - reference168 = obj160; - span59[10] = new QuestSequence - { - Sequence = 10 - }; - ref QuestSequence reference169 = ref span59[11]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 11 - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - CollectionsMarshal.AsSpan(list216)[0] = new QuestStep(EInteractionType.Interact, 1032350u, new Vector3(63.797974f, 30.266184f, -103.4715f), 891); - obj161.Steps = list216; - reference169 = obj161; - ref QuestSequence reference170 = ref span59[12]; - QuestSequence obj162 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031806u, new Vector3(-464.59143f, 71.76874f, 573.8766f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj162.Steps = list217; - reference170 = obj162; - questRoot23.QuestSequence = list203; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(3685); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - CollectionsMarshal.AsSpan(list218)[0] = "liza"; - questRoot24.Author = list218; - num = 11; - List list219 = new List(num); - CollectionsMarshal.SetCount(list219, num); - Span span62 = CollectionsMarshal.AsSpan(list219); - ref QuestSequence reference171 = ref span62[0]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - ref QuestStep reference172 = ref CollectionsMarshal.AsSpan(list220)[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.AcceptQuest, 1031806u, new Vector3(-464.59143f, 71.76874f, 573.8766f), 816); - num3 = 1; - List list221 = new List(num3); - CollectionsMarshal.SetCount(list221, num3); - CollectionsMarshal.AsSpan(list221)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANPIX003_03685_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANPIX003_03685_A1_000_003") - }; - questStep9.DialogueChoices = list221; - reference172 = questStep9; - obj163.Steps = list220; - reference171 = obj163; - ref QuestSequence reference173 = ref span62[1]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - Span span63 = CollectionsMarshal.AsSpan(list222); - span63[0] = new QuestStep(EInteractionType.Interact, 1031892u, new Vector3(-461.5702f, 72.51754f, 586.48047f), 816) - { - TargetTerritoryId = (ushort)891 - }; - span63[1] = new QuestStep(EInteractionType.Interact, 1031866u, new Vector3(78.690796f, 0.15887591f, 50.0343f), 891); - obj164.Steps = list222; - reference173 = obj164; - ref QuestSequence reference174 = ref span62[2]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - CollectionsMarshal.AsSpan(list223)[0] = new QuestStep(EInteractionType.Interact, 1031865u, new Vector3(76.37134f, 0.15887591f, 51.987427f), 891); - obj165.Steps = list223; - reference174 = obj165; - ref QuestSequence reference175 = ref span62[3]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.Interact, 1031867u, new Vector3(303.15088f, 1.4685827f, -313.34406f), 815) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AmhAraengMordSouq - }; - obj166.Steps = list224; - reference175 = obj166; - ref QuestSequence reference176 = ref span62[4]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - Span span64 = CollectionsMarshal.AsSpan(list225); - span64[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(201.67809f, 7.1558266f, -137.17564f), 815) - { - Fly = true - }; - span64[1] = new QuestStep(EInteractionType.Interact, 1031869u, new Vector3(201.06812f, 7.1558266f, -138.81134f), 815); - obj167.Steps = list225; - reference176 = obj167; - ref QuestSequence reference177 = ref span62[5]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - ref QuestStep reference178 = ref CollectionsMarshal.AsSpan(list226)[0]; - QuestStep obj169 = new QuestStep(EInteractionType.Combat, null, new Vector3(355.25076f, -19.54202f, -4.2170615f), 815) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list227 = new List(num3); - CollectionsMarshal.SetCount(list227, num3); - CollectionsMarshal.AsSpan(list227)[0] = 11439u; - obj169.KillEnemyDataIds = list227; - reference178 = obj169; - obj168.Steps = list226; - reference177 = obj168; - ref QuestSequence reference179 = ref span62[6]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.Interact, 1031871u, new Vector3(350.05713f, -18.544811f, -15.793152f), 815) - { - StopDistance = 7f - }; - obj170.Steps = list228; - reference179 = obj170; - ref QuestSequence reference180 = ref span62[7]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - Span span65 = CollectionsMarshal.AsSpan(list229); - span65[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(201.67809f, 7.1558266f, -137.17564f), 815) - { - Fly = true - }; - span65[1] = new QuestStep(EInteractionType.Interact, 1031869u, new Vector3(201.06812f, 7.1558266f, -138.81134f), 815); - obj171.Steps = list229; - reference180 = obj171; - ref QuestSequence reference181 = ref span62[8]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 8 - }; - num2 = 2; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - Span span66 = CollectionsMarshal.AsSpan(list230); - span66[0] = new QuestStep(EInteractionType.Interact, 1031892u, new Vector3(-461.5702f, 72.51754f, 586.48047f), 816) - { - TargetTerritoryId = (ushort)891, - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - span66[1] = new QuestStep(EInteractionType.Interact, 1032030u, new Vector3(90.40967f, 40.45613f, -105.48566f), 891); - obj172.Steps = list230; - reference181 = obj172; - ref QuestSequence reference182 = ref span62[9]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.Interact, 1032352u, new Vector3(95.994385f, 38.906254f, -89.37213f), 891); - obj173.Steps = list231; - reference182 = obj173; - ref QuestSequence reference183 = ref span62[10]; - QuestSequence obj174 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031806u, new Vector3(-464.59143f, 71.76874f, 573.8766f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj174.Steps = list232; - reference183 = obj174; - questRoot24.QuestSequence = list219; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(3686); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list233 = new List(num); - CollectionsMarshal.SetCount(list233, num); - CollectionsMarshal.AsSpan(list233)[0] = "liza"; - questRoot25.Author = list233; - num = 11; - List list234 = new List(num); - CollectionsMarshal.SetCount(list234, num); - Span span67 = CollectionsMarshal.AsSpan(list234); - ref QuestSequence reference184 = ref span67[0]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031806u, new Vector3(-464.59143f, 71.76874f, 573.8766f), 816); - obj175.Steps = list235; - reference184 = obj175; - ref QuestSequence reference185 = ref span67[1]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - Span span68 = CollectionsMarshal.AsSpan(list236); - span68[0] = new QuestStep(EInteractionType.Interact, 1031892u, new Vector3(-461.5702f, 72.51754f, 586.48047f), 816) - { - TargetTerritoryId = (ushort)891 - }; - span68[1] = new QuestStep(EInteractionType.Interact, 1031875u, new Vector3(63.553833f, -6.2561507f, -4.6845703f), 891); - obj176.Steps = list236; - reference185 = obj176; - ref QuestSequence reference186 = ref span67[2]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - CollectionsMarshal.AsSpan(list237)[0] = new QuestStep(EInteractionType.Interact, 1031873u, new Vector3(62.57715f, -6.26951f, -1.2970581f), 891); - obj177.Steps = list237; - reference186 = obj177; - ref QuestSequence reference187 = ref span67[3]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.Interact, 1031876u, new Vector3(-143.99939f, -18.519604f, 300.52637f), 817) - { - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - obj178.Steps = list238; - reference187 = obj178; - ref QuestSequence reference188 = ref span67[4]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - CollectionsMarshal.AsSpan(list239)[0] = new QuestStep(EInteractionType.Interact, 1031878u, new Vector3(-42.648987f, -18.509216f, 270.31348f), 817); - obj179.Steps = list239; - reference188 = obj179; - ref QuestSequence reference189 = ref span67[5]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - ref QuestStep reference190 = ref CollectionsMarshal.AsSpan(list240)[0]; - QuestStep obj181 = new QuestStep(EInteractionType.Combat, null, new Vector3(-277.1741f, 16.288988f, 251.72075f), 817) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list241 = new List(num3); - CollectionsMarshal.SetCount(list241, num3); - CollectionsMarshal.AsSpan(list241)[0] = 11440u; - obj181.KillEnemyDataIds = list241; - reference190 = obj181; - obj180.Steps = list240; - reference189 = obj180; - ref QuestSequence reference191 = ref span67[6]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - CollectionsMarshal.AsSpan(list242)[0] = new QuestStep(EInteractionType.Interact, 1031879u, new Vector3(-276.93604f, 15.250552f, 263.20276f), 817); - obj182.Steps = list242; - reference191 = obj182; - ref QuestSequence reference192 = ref span67[7]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - Span span69 = CollectionsMarshal.AsSpan(list243); - span69[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-68.90031f, -19.300228f, 286.6684f), 817) - { - Fly = true - }; - span69[1] = new QuestStep(EInteractionType.Interact, 1032280u, new Vector3(-42.038635f, -18.997498f, 270.58813f), 817); - obj183.Steps = list243; - reference192 = obj183; - ref QuestSequence reference193 = ref span67[8]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 8 - }; - num2 = 2; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - Span span70 = CollectionsMarshal.AsSpan(list244); - span70[0] = new QuestStep(EInteractionType.Interact, 1031892u, new Vector3(-461.5702f, 72.51754f, 586.48047f), 816) - { - TargetTerritoryId = (ushort)891, - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - span70[1] = new QuestStep(EInteractionType.Interact, 1032032u, new Vector3(-2.5177612f, 25.887014f, -107.07257f), 891); - obj184.Steps = list244; - reference193 = obj184; - ref QuestSequence reference194 = ref span67[9]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.Interact, 1032032u, new Vector3(-2.5177612f, 25.887014f, -107.07257f), 891); - obj185.Steps = list245; - reference194 = obj185; - ref QuestSequence reference195 = ref span67[10]; - QuestSequence obj186 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - CollectionsMarshal.AsSpan(list246)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031806u, new Vector3(-464.59143f, 71.76874f, 573.8766f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj186.Steps = list246; - reference195 = obj186; - questRoot25.QuestSequence = list234; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(3687); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list247 = new List(num); - CollectionsMarshal.SetCount(list247, num); - CollectionsMarshal.AsSpan(list247)[0] = "plogon_enjoyer"; - questRoot26.Author = list247; - num = 10; - List list248 = new List(num); - CollectionsMarshal.SetCount(list248, num); - Span span71 = CollectionsMarshal.AsSpan(list248); - ref QuestSequence reference196 = ref span71[0]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031806u, new Vector3(-464.59143f, 71.76874f, 573.8766f), 816); - obj187.Steps = list249; - reference196 = obj187; - ref QuestSequence reference197 = ref span71[1]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - Span span72 = CollectionsMarshal.AsSpan(list250); - span72[0] = new QuestStep(EInteractionType.Interact, 1031892u, new Vector3(-461.5702f, 72.51754f, 586.48047f), 816) - { - TargetTerritoryId = (ushort)891 - }; - span72[1] = new QuestStep(EInteractionType.Interact, 1031883u, new Vector3(-116.07544f, 9.440084f, -41.428284f), 891); - obj188.Steps = list250; - reference197 = obj188; - ref QuestSequence reference198 = ref span71[2]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.Interact, 1031881u, new Vector3(-115.03784f, 9.440084f, -38.651123f), 891); - obj189.Steps = list251; - reference198 = obj189; - ref QuestSequence reference199 = ref span71[3]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - Span span73 = CollectionsMarshal.AsSpan(list252); - span73[0] = new QuestStep(EInteractionType.Interact, 1031204u, new Vector3(481.95605f, 90.43779f, -656.09216f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegWolekdorf - }; - span73[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-107.78667f, 108.39998f, -840.88965f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegPlaEnni - }; - span73[2] = new QuestStep(EInteractionType.Interact, 1027673u, new Vector3(-106.06549f, 108.39998f, -841.7639f), 816); - span73[3] = new QuestStep(EInteractionType.Interact, 1027656u, new Vector3(-291.61517f, 40.324036f, 456.65674f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj190.Steps = list252; - reference199 = obj190; - ref QuestSequence reference200 = ref span71[4]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - CollectionsMarshal.AsSpan(list253)[0] = new QuestStep(EInteractionType.Interact, 1031807u, new Vector3(-465.93427f, 71.48343f, 571.8623f), 816) - { - Fly = true - }; - obj191.Steps = list253; - reference200 = obj191; - ref QuestSequence reference201 = ref span71[5]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.Interact, 1031808u, new Vector3(-461.53967f, 72.51729f, 586.48047f), 816) - { - Fly = true - }; - obj192.Steps = list254; - reference201 = obj192; - ref QuestSequence reference202 = ref span71[6]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - CollectionsMarshal.AsSpan(list255)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1031808u, new Vector3(-461.53967f, 72.51729f, 586.48047f), 816); - obj193.Steps = list255; - reference202 = obj193; - span71[7] = new QuestSequence - { - Sequence = 7 - }; - ref QuestSequence reference203 = ref span71[8]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.Interact, 1031886u, new Vector3(38.345825f, -4.6399317f, 24.76538f), 892); - obj194.Steps = list256; - reference203 = obj194; - ref QuestSequence reference204 = ref span71[9]; - QuestSequence obj195 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - Span span74 = CollectionsMarshal.AsSpan(list257); - span74[0] = new QuestStep(EInteractionType.Interact, 1032365u, new Vector3(56.412598f, 5.5911026f, 116.16687f), 892) - { - TargetTerritoryId = (ushort)816 - }; - span74[1] = new QuestStep(EInteractionType.CompleteQuest, 1031806u, new Vector3(-464.59143f, 71.76874f, 573.8766f), 816); - obj195.Steps = list257; - reference204 = obj195; - questRoot26.QuestSequence = list248; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(3688); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list258 = new List(num); - CollectionsMarshal.SetCount(list258, num); - CollectionsMarshal.AsSpan(list258)[0] = "plogon_enjoyer"; - questRoot27.Author = list258; - num = 3; - List list259 = new List(num); - CollectionsMarshal.SetCount(list259, num); - Span span75 = CollectionsMarshal.AsSpan(list259); - ref QuestSequence reference205 = ref span75[0]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031806u, new Vector3(-464.59143f, 71.76874f, 573.8766f), 816); - obj196.Steps = list260; - reference205 = obj196; - ref QuestSequence reference206 = ref span75[1]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - Span span76 = CollectionsMarshal.AsSpan(list261); - span76[0] = new QuestStep(EInteractionType.Interact, 1031893u, new Vector3(-461.53967f, 72.51729f, 586.48047f), 816) - { - TargetTerritoryId = (ushort)892 - }; - span76[1] = new QuestStep(EInteractionType.Interact, 1031890u, new Vector3(55.649536f, -6.167951f, 8.041443f), 892); - obj197.Steps = list261; - reference206 = obj197; - ref QuestSequence reference207 = ref span75[2]; - QuestSequence obj198 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - Span span77 = CollectionsMarshal.AsSpan(list262); - span77[0] = new QuestStep(EInteractionType.Interact, 1032365u, new Vector3(56.412598f, 5.5911026f, 116.16687f), 892) - { - TargetTerritoryId = (ushort)816 - }; - span77[1] = new QuestStep(EInteractionType.CompleteQuest, 1031806u, new Vector3(-464.59143f, 71.76874f, 573.8766f), 816); - obj198.Steps = list262; - reference207 = obj198; - questRoot27.QuestSequence = list259; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(3689); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list263 = new List(num); - CollectionsMarshal.SetCount(list263, num); - CollectionsMarshal.AsSpan(list263)[0] = "liza"; - questRoot28.Author = list263; - num = 3; - List list264 = new List(num); - CollectionsMarshal.SetCount(list264, num); - Span span78 = CollectionsMarshal.AsSpan(list264); - ref QuestSequence reference208 = ref span78[0]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj199.Steps = list265; - reference208 = obj199; - ref QuestSequence reference209 = ref span78[1]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - Span span79 = CollectionsMarshal.AsSpan(list266); - ref QuestStep reference210 = ref span79[0]; - QuestStep obj201 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-246.48618f, 54.663364f, 605.60834f), 816) - { - Fly = true - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list267 = new List(num3); - CollectionsMarshal.SetCount(list267, num3); - Span span80 = CollectionsMarshal.AsSpan(list267); - span80[0] = null; - span80[1] = null; - span80[2] = null; - span80[3] = null; - span80[4] = null; - span80[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list267; - skipConditions2.StepIf = skipStepConditions2; - obj201.SkipConditions = skipConditions2; - reference210 = obj201; - ref QuestStep reference211 = ref span79[1]; - QuestStep obj202 = new QuestStep(EInteractionType.Interact, 2010856u, new Vector3(-271.29016f, 52.96399f, 605.9204f), 816) - { - DisableNavmesh = true - }; - num3 = 6; - List list268 = new List(num3); - CollectionsMarshal.SetCount(list268, num3); - Span span81 = CollectionsMarshal.AsSpan(list268); - span81[0] = null; - span81[1] = null; - span81[2] = null; - span81[3] = null; - span81[4] = null; - span81[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj202.CompletionQuestVariablesFlags = list268; - reference211 = obj202; - ref QuestStep reference212 = ref span79[2]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 2010858u, new Vector3(-250.62946f, 50.94983f, 597.7416f), 816); - num3 = 6; - List list269 = new List(num3); - CollectionsMarshal.SetCount(list269, num3); - Span span82 = CollectionsMarshal.AsSpan(list269); - span82[0] = null; - span82[1] = null; - span82[2] = null; - span82[3] = null; - span82[4] = null; - span82[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list269; - reference212 = questStep10; - ref QuestStep reference213 = ref span79[3]; - QuestStep questStep11 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-261.1694f, 50.977943f, 589.3572f), 816); - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list270 = new List(num3); - CollectionsMarshal.SetCount(list270, num3); - Span span83 = CollectionsMarshal.AsSpan(list270); - span83[0] = null; - span83[1] = null; - span83[2] = null; - span83[3] = null; - span83[4] = null; - span83[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list270; - skipConditions3.StepIf = skipStepConditions3; - questStep11.SkipConditions = skipConditions3; - reference213 = questStep11; - ref QuestStep reference214 = ref span79[4]; - QuestStep obj203 = new QuestStep(EInteractionType.Interact, 2010857u, new Vector3(-261.1277f, 50.94983f, 585.2903f), 816) - { - StopDistance = 4.5f, - DisableNavmesh = true - }; - num3 = 6; - List list271 = new List(num3); - CollectionsMarshal.SetCount(list271, num3); - Span span84 = CollectionsMarshal.AsSpan(list271); - span84[0] = null; - span84[1] = null; - span84[2] = null; - span84[3] = null; - span84[4] = null; - span84[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj203.CompletionQuestVariablesFlags = list271; - reference214 = obj203; - obj200.Steps = list266; - reference209 = obj200; - ref QuestSequence reference215 = ref span78[2]; - QuestSequence obj204 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - CollectionsMarshal.AsSpan(list272)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true - }; - obj204.Steps = list272; - reference215 = obj204; - questRoot28.QuestSequence = list264; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(3690); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list273 = new List(num); - CollectionsMarshal.SetCount(list273, num); - CollectionsMarshal.AsSpan(list273)[0] = "liza"; - questRoot29.Author = list273; - num = 3; - List list274 = new List(num); - CollectionsMarshal.SetCount(list274, num); - Span span85 = CollectionsMarshal.AsSpan(list274); - ref QuestSequence reference216 = ref span85[0]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj205.Steps = list275; - reference216 = obj205; - ref QuestSequence reference217 = ref span85[1]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - ref QuestStep reference218 = ref CollectionsMarshal.AsSpan(list276)[0]; - QuestStep obj207 = new QuestStep(EInteractionType.Combat, 2010859u, new Vector3(-743.86206f, 78.96533f, 457.14502f), 816) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list277 = new List(num3); - CollectionsMarshal.SetCount(list277, num3); - CollectionsMarshal.AsSpan(list277)[0] = 11443u; - obj207.KillEnemyDataIds = list277; - reference218 = obj207; - obj206.Steps = list276; - reference217 = obj206; - ref QuestSequence reference219 = ref span85[2]; - QuestSequence obj208 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - CollectionsMarshal.AsSpan(list278)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true - }; - obj208.Steps = list278; - reference219 = obj208; - questRoot29.QuestSequence = list274; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(3691); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list279 = new List(num); - CollectionsMarshal.SetCount(list279, num); - CollectionsMarshal.AsSpan(list279)[0] = "liza"; - questRoot30.Author = list279; - num = 3; - List list280 = new List(num); - CollectionsMarshal.SetCount(list280, num); - Span span86 = CollectionsMarshal.AsSpan(list280); - ref QuestSequence reference220 = ref span86[0]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - CollectionsMarshal.AsSpan(list281)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj209.Steps = list281; - reference220 = obj209; - ref QuestSequence reference221 = ref span86[1]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - Span span87 = CollectionsMarshal.AsSpan(list282); - ref QuestStep reference222 = ref span87[0]; - QuestStep obj211 = new QuestStep(EInteractionType.Say, 1032140u, new Vector3(-459.89166f, 42.65948f, -305.71454f), 816) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANPIX103_03691_SAYTODO_000_030" - } - }; - num3 = 6; - List> list283 = new List>(num3); - CollectionsMarshal.SetCount(list283, num3); - Span> span88 = CollectionsMarshal.AsSpan(list283); - span88[0] = null; - span88[1] = null; - span88[2] = null; - ref List reference223 = ref span88[3]; - int num4 = 1; - List list284 = new List(num4); - CollectionsMarshal.SetCount(list284, num4); - CollectionsMarshal.AsSpan(list284)[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - reference223 = list284; - span88[4] = null; - span88[5] = null; - obj211.RequiredQuestVariables = list283; - reference222 = obj211; - ref QuestStep reference224 = ref span87[1]; - QuestStep obj212 = new QuestStep(EInteractionType.Say, 1032141u, new Vector3(-473.47223f, 45.390854f, -311.6656f), 816) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANPIX103_03691_SAYTODO_000_030" - } - }; - num3 = 6; - List> list285 = new List>(num3); - CollectionsMarshal.SetCount(list285, num3); - Span> span89 = CollectionsMarshal.AsSpan(list285); - span89[0] = null; - span89[1] = null; - span89[2] = null; - ref List reference225 = ref span89[3]; - num4 = 1; - List list286 = new List(num4); - CollectionsMarshal.SetCount(list286, num4); - CollectionsMarshal.AsSpan(list286)[0] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - reference225 = list286; - span89[4] = null; - span89[5] = null; - obj212.RequiredQuestVariables = list285; - reference224 = obj212; - ref QuestStep reference226 = ref span87[2]; - QuestStep obj213 = new QuestStep(EInteractionType.Say, 1032142u, new Vector3(-472.7398f, 50.10258f, -328.26733f), 816) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANPIX103_03691_SAYTODO_000_030" - } - }; - num3 = 6; - List> list287 = new List>(num3); - CollectionsMarshal.SetCount(list287, num3); - Span> span90 = CollectionsMarshal.AsSpan(list287); - span90[0] = null; - span90[1] = null; - span90[2] = null; - ref List reference227 = ref span90[3]; - num4 = 1; - List list288 = new List(num4); - CollectionsMarshal.SetCount(list288, num4); - CollectionsMarshal.AsSpan(list288)[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference227 = list288; - span90[4] = null; - span90[5] = null; - obj213.RequiredQuestVariables = list287; - reference226 = obj213; - obj210.Steps = list282; - reference221 = obj210; - ref QuestSequence reference228 = ref span86[2]; - QuestSequence obj214 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj214.Steps = list289; - reference228 = obj214; - questRoot30.QuestSequence = list280; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(3692); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list290 = new List(num); - CollectionsMarshal.SetCount(list290, num); - CollectionsMarshal.AsSpan(list290)[0] = "liza"; - questRoot31.Author = list290; - num = 3; - List list291 = new List(num); - CollectionsMarshal.SetCount(list291, num); - Span span91 = CollectionsMarshal.AsSpan(list291); - ref QuestSequence reference229 = ref span91[0]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - CollectionsMarshal.AsSpan(list292)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj215.Steps = list292; - reference229 = obj215; - ref QuestSequence reference230 = ref span91[1]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - Span span92 = CollectionsMarshal.AsSpan(list293); - span92[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-344.05838f, 45.450672f, 456.10266f), 816) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - ref QuestStep reference231 = ref span92[1]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 2010860u, new Vector3(-340.38306f, 38.77307f, 434.07336f), 816); - num3 = 6; - List> list294 = new List>(num3); - CollectionsMarshal.SetCount(list294, num3); - Span> span93 = CollectionsMarshal.AsSpan(list294); - span93[0] = null; - ref List reference232 = ref span93[1]; - num4 = 3; - List list295 = new List(num4); - CollectionsMarshal.SetCount(list295, num4); - Span span94 = CollectionsMarshal.AsSpan(list295); - span94[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span94[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span94[2] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference232 = list295; - span93[2] = null; - span93[3] = null; - span93[4] = null; - span93[5] = null; - questStep12.RequiredQuestVariables = list294; - reference231 = questStep12; - ref QuestStep reference233 = ref span92[2]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 2010861u, new Vector3(-332.44836f, 44.47998f, 462.15002f), 816); - num3 = 6; - List> list296 = new List>(num3); - CollectionsMarshal.SetCount(list296, num3); - Span> span95 = CollectionsMarshal.AsSpan(list296); - span95[0] = null; - ref List reference234 = ref span95[1]; - num4 = 3; - List list297 = new List(num4); - CollectionsMarshal.SetCount(list297, num4); - Span span96 = CollectionsMarshal.AsSpan(list297); - span96[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span96[1] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - span96[2] = new QuestWorkValue(null, (byte)5, EQuestWorkMode.Bitwise); - reference234 = list297; - span95[2] = null; - span95[3] = null; - span95[4] = null; - span95[5] = null; - questStep13.RequiredQuestVariables = list296; - reference233 = questStep13; - ref QuestStep reference235 = ref span92[3]; - QuestStep obj217 = new QuestStep(EInteractionType.Interact, 2010863u, new Vector3(-293.08008f, 42.70996f, 463.61487f), 816) - { - IgnoreDistanceToObject = true - }; - num3 = 6; - List> list298 = new List>(num3); - CollectionsMarshal.SetCount(list298, num3); - Span> span97 = CollectionsMarshal.AsSpan(list298); - span97[0] = null; - ref List reference236 = ref span97[1]; - num4 = 3; - List list299 = new List(num4); - CollectionsMarshal.SetCount(list299, num4); - Span span98 = CollectionsMarshal.AsSpan(list299); - span98[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span98[1] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - span98[2] = new QuestWorkValue(null, (byte)6, EQuestWorkMode.Bitwise); - reference236 = list299; - span97[2] = null; - span97[3] = null; - span97[4] = null; - span97[5] = null; - obj217.RequiredQuestVariables = list298; - reference235 = obj217; - ref QuestStep reference237 = ref span92[4]; - QuestStep obj218 = new QuestStep(EInteractionType.Interact, 2010862u, new Vector3(-276.96655f, 42.893066f, 453.6659f), 816) - { - IgnoreDistanceToObject = true - }; - num3 = 6; - List> list300 = new List>(num3); - CollectionsMarshal.SetCount(list300, num3); - Span> span99 = CollectionsMarshal.AsSpan(list300); - span99[0] = null; - ref List reference238 = ref span99[1]; - num4 = 3; - List list301 = new List(num4); - CollectionsMarshal.SetCount(list301, num4); - Span span100 = CollectionsMarshal.AsSpan(list301); - span100[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span100[1] = new QuestWorkValue(null, (byte)5, EQuestWorkMode.Bitwise); - span100[2] = new QuestWorkValue(null, (byte)6, EQuestWorkMode.Bitwise); - reference238 = list301; - span99[2] = null; - span99[3] = null; - span99[4] = null; - span99[5] = null; - obj218.RequiredQuestVariables = list300; - reference237 = obj218; - obj216.Steps = list293; - reference230 = obj216; - ref QuestSequence reference239 = ref span91[2]; - QuestSequence obj219 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list302 = new List(num2); - CollectionsMarshal.SetCount(list302, num2); - CollectionsMarshal.AsSpan(list302)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true - }; - obj219.Steps = list302; - reference239 = obj219; - questRoot31.QuestSequence = list291; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(3693); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list303 = new List(num); - CollectionsMarshal.SetCount(list303, num); - CollectionsMarshal.AsSpan(list303)[0] = "liza"; - questRoot32.Author = list303; - num = 3; - List list304 = new List(num); - CollectionsMarshal.SetCount(list304, num); - Span span101 = CollectionsMarshal.AsSpan(list304); - ref QuestSequence reference240 = ref span101[0]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - CollectionsMarshal.AsSpan(list305)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj220.Steps = list305; - reference240 = obj220; - ref QuestSequence reference241 = ref span101[1]; - QuestSequence obj221 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - ref QuestStep reference242 = ref CollectionsMarshal.AsSpan(list306)[0]; - QuestStep obj222 = new QuestStep(EInteractionType.Combat, 2010864u, new Vector3(3.8909912f, 13.90094f, 637.23206f), 816) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list307 = new List(num3); - CollectionsMarshal.SetCount(list307, num3); - CollectionsMarshal.AsSpan(list307)[0] = 11444u; - obj222.KillEnemyDataIds = list307; - reference242 = obj222; - obj221.Steps = list306; - reference241 = obj221; - ref QuestSequence reference243 = ref span101[2]; - QuestSequence obj223 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - CollectionsMarshal.AsSpan(list308)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true - }; - obj223.Steps = list308; - reference243 = obj223; - questRoot32.QuestSequence = list304; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(3694); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list309 = new List(num); - CollectionsMarshal.SetCount(list309, num); - CollectionsMarshal.AsSpan(list309)[0] = "liza"; - questRoot33.Author = list309; - num = 3; - List list310 = new List(num); - CollectionsMarshal.SetCount(list310, num); - Span span102 = CollectionsMarshal.AsSpan(list310); - ref QuestSequence reference244 = ref span102[0]; - QuestSequence obj224 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list311 = new List(num2); - CollectionsMarshal.SetCount(list311, num2); - CollectionsMarshal.AsSpan(list311)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj224.Steps = list311; - reference244 = obj224; - ref QuestSequence reference245 = ref span102[1]; - QuestSequence obj225 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - Span span103 = CollectionsMarshal.AsSpan(list312); - span103[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-338.70084f, 9.922639f, -181.90271f), 816) - { - Fly = true - }; - span103[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-332.49713f, -44.52391f, -242.4296f), 816) - { - DisableNavmesh = true, - Fly = true - }; - ref QuestStep reference246 = ref span103[2]; - QuestStep obj226 = new QuestStep(EInteractionType.Interact, 2010865u, new Vector3(-335.59174f, -53.75763f, -277.9126f), 816) - { - Fly = true - }; - num3 = 6; - List> list313 = new List>(num3); - CollectionsMarshal.SetCount(list313, num3); - Span> span104 = CollectionsMarshal.AsSpan(list313); - span104[0] = null; - span104[1] = null; - span104[2] = null; - ref List reference247 = ref span104[3]; - num4 = 1; - List list314 = new List(num4); - CollectionsMarshal.SetCount(list314, num4); - CollectionsMarshal.AsSpan(list314)[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - reference247 = list314; - span104[4] = null; - span104[5] = null; - obj226.RequiredQuestVariables = list313; - reference246 = obj226; - ref QuestStep reference248 = ref span103[3]; - QuestStep obj227 = new QuestStep(EInteractionType.Interact, 2010866u, new Vector3(-335.59174f, -54.154297f, -293.41577f), 816) - { - Fly = true - }; - num3 = 6; - List> list315 = new List>(num3); - CollectionsMarshal.SetCount(list315, num3); - Span> span105 = CollectionsMarshal.AsSpan(list315); - span105[0] = null; - span105[1] = null; - span105[2] = null; - ref List reference249 = ref span105[3]; - num4 = 1; - List list316 = new List(num4); - CollectionsMarshal.SetCount(list316, num4); - CollectionsMarshal.AsSpan(list316)[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference249 = list316; - span105[4] = null; - span105[5] = null; - obj227.RequiredQuestVariables = list315; - reference248 = obj227; - ref QuestStep reference250 = ref span103[4]; - QuestStep obj228 = new QuestStep(EInteractionType.Interact, 2010867u, new Vector3(-351.64417f, -53.635498f, -295.73517f), 816) - { - Fly = true - }; - num3 = 6; - List> list317 = new List>(num3); - CollectionsMarshal.SetCount(list317, num3); - Span> span106 = CollectionsMarshal.AsSpan(list317); - span106[0] = null; - span106[1] = null; - span106[2] = null; - ref List reference251 = ref span106[3]; - num4 = 1; - List list318 = new List(num4); - CollectionsMarshal.SetCount(list318, num4); - CollectionsMarshal.AsSpan(list318)[0] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - reference251 = list318; - span106[4] = null; - span106[5] = null; - obj228.RequiredQuestVariables = list317; - reference250 = obj228; - obj225.Steps = list312; - reference245 = obj225; - ref QuestSequence reference252 = ref span102[2]; - QuestSequence obj229 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list319 = new List(num2); - CollectionsMarshal.SetCount(list319, num2); - CollectionsMarshal.AsSpan(list319)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj229.Steps = list319; - reference252 = obj229; - questRoot33.QuestSequence = list310; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(3695); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list320 = new List(num); - CollectionsMarshal.SetCount(list320, num); - CollectionsMarshal.AsSpan(list320)[0] = "liza"; - questRoot34.Author = list320; - num = 3; - List list321 = new List(num); - CollectionsMarshal.SetCount(list321, num); - Span span107 = CollectionsMarshal.AsSpan(list321); - ref QuestSequence reference253 = ref span107[0]; - QuestSequence obj230 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list322 = new List(num2); - CollectionsMarshal.SetCount(list322, num2); - CollectionsMarshal.AsSpan(list322)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj230.Steps = list322; - reference253 = obj230; - ref QuestSequence reference254 = ref span107[1]; - QuestSequence obj231 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list323 = new List(num2); - CollectionsMarshal.SetCount(list323, num2); - ref QuestStep reference255 = ref CollectionsMarshal.AsSpan(list323)[0]; - QuestStep obj232 = new QuestStep(EInteractionType.Combat, 2010868u, new Vector3(-504.32596f, 77.22583f, -410.11676f), 816) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list324 = new List(num3); - CollectionsMarshal.SetCount(list324, num3); - CollectionsMarshal.AsSpan(list324)[0] = 11445u; - obj232.KillEnemyDataIds = list324; - reference255 = obj232; - obj231.Steps = list323; - reference254 = obj231; - ref QuestSequence reference256 = ref span107[2]; - QuestSequence obj233 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list325 = new List(num2); - CollectionsMarshal.SetCount(list325, num2); - CollectionsMarshal.AsSpan(list325)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj233.Steps = list325; - reference256 = obj233; - questRoot34.QuestSequence = list321; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(3696); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list326 = new List(num); - CollectionsMarshal.SetCount(list326, num); - CollectionsMarshal.AsSpan(list326)[0] = "liza"; - questRoot35.Author = list326; - num = 3; - List list327 = new List(num); - CollectionsMarshal.SetCount(list327, num); - Span span108 = CollectionsMarshal.AsSpan(list327); - ref QuestSequence reference257 = ref span108[0]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - CollectionsMarshal.AsSpan(list328)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj234.Steps = list328; - reference257 = obj234; - ref QuestSequence reference258 = ref span108[1]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list329 = new List(num2); - CollectionsMarshal.SetCount(list329, num2); - Span span109 = CollectionsMarshal.AsSpan(list329); - ref QuestStep reference259 = ref span109[0]; - QuestStep obj236 = new QuestStep(EInteractionType.Interact, 2010888u, new Vector3(-171.58777f, 5.2338257f, -252.88782f), 816) - { - Fly = true - }; - num3 = 6; - List list330 = new List(num3); - CollectionsMarshal.SetCount(list330, num3); - Span span110 = CollectionsMarshal.AsSpan(list330); - span110[0] = null; - span110[1] = null; - span110[2] = null; - span110[3] = null; - span110[4] = null; - span110[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj236.CompletionQuestVariablesFlags = list330; - reference259 = obj236; - ref QuestStep reference260 = ref span109[1]; - QuestStep obj237 = new QuestStep(EInteractionType.Interact, 2010889u, new Vector3(-170.1839f, 4.9591064f, -283.0396f), 816) - { - Fly = true - }; - num3 = 6; - List list331 = new List(num3); - CollectionsMarshal.SetCount(list331, num3); - Span span111 = CollectionsMarshal.AsSpan(list331); - span111[0] = null; - span111[1] = null; - span111[2] = null; - span111[3] = null; - span111[4] = null; - span111[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj237.CompletionQuestVariablesFlags = list331; - reference260 = obj237; - obj235.Steps = list329; - reference258 = obj235; - ref QuestSequence reference261 = ref span108[2]; - QuestSequence obj238 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list332 = new List(num2); - CollectionsMarshal.SetCount(list332, num2); - CollectionsMarshal.AsSpan(list332)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj238.Steps = list332; - reference261 = obj238; - questRoot35.QuestSequence = list327; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(3697); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list333 = new List(num); - CollectionsMarshal.SetCount(list333, num); - CollectionsMarshal.AsSpan(list333)[0] = "liza"; - questRoot36.Author = list333; - num = 3; - List list334 = new List(num); - CollectionsMarshal.SetCount(list334, num); - Span span112 = CollectionsMarshal.AsSpan(list334); - ref QuestSequence reference262 = ref span112[0]; - QuestSequence obj239 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list335 = new List(num2); - CollectionsMarshal.SetCount(list335, num2); - CollectionsMarshal.AsSpan(list335)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj239.Steps = list335; - reference262 = obj239; - ref QuestSequence reference263 = ref span112[1]; - QuestSequence obj240 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list336 = new List(num2); - CollectionsMarshal.SetCount(list336, num2); - ref QuestStep reference264 = ref CollectionsMarshal.AsSpan(list336)[0]; - QuestStep obj241 = new QuestStep(EInteractionType.Combat, 2010890u, new Vector3(10.0251465f, 32.944214f, -608.6061f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegWolekdorf, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list337 = new List(num3); - CollectionsMarshal.SetCount(list337, num3); - CollectionsMarshal.AsSpan(list337)[0] = 11446u; - obj241.KillEnemyDataIds = list337; - reference264 = obj241; - obj240.Steps = list336; - reference263 = obj240; - ref QuestSequence reference265 = ref span112[2]; - QuestSequence obj242 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list338 = new List(num2); - CollectionsMarshal.SetCount(list338, num2); - CollectionsMarshal.AsSpan(list338)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj242.Steps = list338; - reference265 = obj242; - questRoot36.QuestSequence = list334; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(3698); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list339 = new List(num); - CollectionsMarshal.SetCount(list339, num); - CollectionsMarshal.AsSpan(list339)[0] = "liza"; - questRoot37.Author = list339; - num = 4; - List list340 = new List(num); - CollectionsMarshal.SetCount(list340, num); - Span span113 = CollectionsMarshal.AsSpan(list340); - ref QuestSequence reference266 = ref span113[0]; - QuestSequence obj243 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - CollectionsMarshal.AsSpan(list341)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj243.Steps = list341; - reference266 = obj243; - ref QuestSequence reference267 = ref span113[1]; - QuestSequence obj244 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - CollectionsMarshal.AsSpan(list342)[0] = new QuestStep(EInteractionType.Interact, 1031811u, new Vector3(-442.46588f, 70.686165f, 573.69336f), 816); - obj244.Steps = list342; - reference267 = obj244; - ref QuestSequence reference268 = ref span113[2]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list343 = new List(num2); - CollectionsMarshal.SetCount(list343, num2); - Span span114 = CollectionsMarshal.AsSpan(list343); - ref QuestStep reference269 = ref span114[0]; - QuestStep obj246 = new QuestStep(EInteractionType.Action, 2010891u, new Vector3(-852.0485f, 37.67456f, 298.11548f), 816) - { - Fly = true, - Action = EAction.SiphonSnout - }; - num3 = 6; - List> list344 = new List>(num3); - CollectionsMarshal.SetCount(list344, num3); - Span> span115 = CollectionsMarshal.AsSpan(list344); - span115[0] = null; - span115[1] = null; - ref List reference270 = ref span115[2]; - num4 = 2; - List list345 = new List(num4); - CollectionsMarshal.SetCount(list345, num4); - Span span116 = CollectionsMarshal.AsSpan(list345); - span116[0] = new QuestWorkValue((byte)1, null, EQuestWorkMode.Bitwise); - span116[1] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - reference270 = list345; - span115[3] = null; - span115[4] = null; - span115[5] = null; - obj246.RequiredQuestVariables = list344; - reference269 = obj246; - ref QuestStep reference271 = ref span114[1]; - QuestStep obj247 = new QuestStep(EInteractionType.Action, 2010892u, new Vector3(-774.44116f, 54.520386f, 102.61682f), 816) - { - Fly = true, - Action = EAction.SiphonSnout - }; - num3 = 6; - List> list346 = new List>(num3); - CollectionsMarshal.SetCount(list346, num3); - Span> span117 = CollectionsMarshal.AsSpan(list346); - span117[0] = null; - span117[1] = null; - ref List reference272 = ref span117[2]; - num4 = 2; - List list347 = new List(num4); - CollectionsMarshal.SetCount(list347, num4); - Span span118 = CollectionsMarshal.AsSpan(list347); - span118[0] = new QuestWorkValue((byte)1, null, EQuestWorkMode.Bitwise); - span118[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - reference272 = list347; - span117[3] = null; - span117[4] = null; - span117[5] = null; - obj247.RequiredQuestVariables = list346; - reference271 = obj247; - ref QuestStep reference273 = ref span114[2]; - QuestStep obj248 = new QuestStep(EInteractionType.Action, 2010893u, new Vector3(-802.30414f, 27.115234f, -108.44586f), 816) - { - Fly = true, - Action = EAction.SiphonSnout - }; - num3 = 6; - List> list348 = new List>(num3); - CollectionsMarshal.SetCount(list348, num3); - Span> span119 = CollectionsMarshal.AsSpan(list348); - span119[0] = null; - span119[1] = null; - ref List reference274 = ref span119[2]; - num4 = 2; - List list349 = new List(num4); - CollectionsMarshal.SetCount(list349, num4); - Span span120 = CollectionsMarshal.AsSpan(list349); - span120[0] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - span120[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - reference274 = list349; - span119[3] = null; - span119[4] = null; - span119[5] = null; - obj248.RequiredQuestVariables = list348; - reference273 = obj248; - obj245.Steps = list343; - reference268 = obj245; - ref QuestSequence reference275 = ref span113[3]; - QuestSequence obj249 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - Span span121 = CollectionsMarshal.AsSpan(list350); - span121[0] = new QuestStep(EInteractionType.WalkTo, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - StopDistance = 3f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - span121[1] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Mount = false - }; - obj249.Steps = list350; - reference275 = obj249; - questRoot37.QuestSequence = list340; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(3699); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list351 = new List(num); - CollectionsMarshal.SetCount(list351, num); - CollectionsMarshal.AsSpan(list351)[0] = "liza"; - questRoot38.Author = list351; - num = 3; - List list352 = new List(num); - CollectionsMarshal.SetCount(list352, num); - Span span122 = CollectionsMarshal.AsSpan(list352); - ref QuestSequence reference276 = ref span122[0]; - QuestSequence obj250 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list353 = new List(num2); - CollectionsMarshal.SetCount(list353, num2); - CollectionsMarshal.AsSpan(list353)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj250.Steps = list353; - reference276 = obj250; - ref QuestSequence reference277 = ref span122[1]; - QuestSequence obj251 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list354 = new List(num2); - CollectionsMarshal.SetCount(list354, num2); - Span span123 = CollectionsMarshal.AsSpan(list354); - ref QuestStep reference278 = ref span123[0]; - QuestStep obj252 = new QuestStep(EInteractionType.Interact, 1032183u, new Vector3(-105.60773f, 110.29838f, -196.97876f), 816) - { - StopDistance = 1f, - Fly = true - }; - num3 = 6; - List> list355 = new List>(num3); - CollectionsMarshal.SetCount(list355, num3); - Span> span124 = CollectionsMarshal.AsSpan(list355); - span124[0] = null; - span124[1] = null; - ref List reference279 = ref span124[2]; - num4 = 1; - List list356 = new List(num4); - CollectionsMarshal.SetCount(list356, num4); - CollectionsMarshal.AsSpan(list356)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference279 = list356; - span124[3] = null; - span124[4] = null; - span124[5] = null; - obj252.RequiredQuestVariables = list355; - reference278 = obj252; - ref QuestStep reference280 = ref span123[1]; - QuestStep obj253 = new QuestStep(EInteractionType.Interact, 1032185u, new Vector3(-185.29034f, 154.79187f, -262.89777f), 816) - { - Fly = true - }; - num3 = 6; - List> list357 = new List>(num3); - CollectionsMarshal.SetCount(list357, num3); - Span> span125 = CollectionsMarshal.AsSpan(list357); - span125[0] = null; - span125[1] = null; - ref List reference281 = ref span125[2]; - num4 = 1; - List list358 = new List(num4); - CollectionsMarshal.SetCount(list358, num4); - CollectionsMarshal.AsSpan(list358)[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference281 = list358; - span125[3] = null; - span125[4] = null; - span125[5] = null; - obj253.RequiredQuestVariables = list357; - reference280 = obj253; - ref QuestStep reference282 = ref span123[2]; - QuestStep obj254 = new QuestStep(EInteractionType.Interact, 1032184u, new Vector3(-226.27612f, 114.61068f, -305.6535f), 816) - { - Fly = true - }; - num3 = 6; - List> list359 = new List>(num3); - CollectionsMarshal.SetCount(list359, num3); - Span> span126 = CollectionsMarshal.AsSpan(list359); - span126[0] = null; - span126[1] = null; - ref List reference283 = ref span126[2]; - num4 = 1; - List list360 = new List(num4); - CollectionsMarshal.SetCount(list360, num4); - CollectionsMarshal.AsSpan(list360)[0] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - reference283 = list360; - span126[3] = null; - span126[4] = null; - span126[5] = null; - obj254.RequiredQuestVariables = list359; - reference282 = obj254; - obj251.Steps = list354; - reference277 = obj251; - ref QuestSequence reference284 = ref span122[2]; - QuestSequence obj255 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list361 = new List(num2); - CollectionsMarshal.SetCount(list361, num2); - CollectionsMarshal.AsSpan(list361)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj255.Steps = list361; - reference284 = obj255; - questRoot38.QuestSequence = list352; - AddQuest(questId38, questRoot38); - } - - private static void LoadQuests74() - { - QuestId questId = new QuestId(3700); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference3 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj3 = new QuestStep(EInteractionType.Combat, 2010894u, new Vector3(268.51294f, 33.707153f, -78.14148f), 816) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - int num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = 11448u; - obj3.KillEnemyDataIds = list5; - reference3 = obj3; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj4 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj4.Steps = list6; - reference4 = obj4; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(3701); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - CollectionsMarshal.AsSpan(list7)[0] = "liza"; - questRoot2.Author = list7; - num = 5; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span2 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference5 = ref span2[0]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference6 = ref span2[1]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.Interact, 1032261u, new Vector3(-258.38104f, 50.977943f, 601.2206f), 816) - { - Fly = true - }; - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span2[2]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - Span span3 = CollectionsMarshal.AsSpan(list11); - ref QuestStep reference8 = ref span3[0]; - QuestStep obj8 = new QuestStep(EInteractionType.Interact, 2010895u, new Vector3(718.28796f, 188.06738f, 296.77258f), 816) - { - Fly = true - }; - num3 = 6; - List> list12 = new List>(num3); - CollectionsMarshal.SetCount(list12, num3); - Span> span4 = CollectionsMarshal.AsSpan(list12); - span4[0] = null; - ref List reference9 = ref span4[1]; - int num4 = 2; - List list13 = new List(num4); - CollectionsMarshal.SetCount(list13, num4); - Span span5 = CollectionsMarshal.AsSpan(list13); - span5[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span5[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference9 = list13; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = null; - obj8.RequiredQuestVariables = list12; - reference8 = obj8; - ref QuestStep reference10 = ref span3[1]; - QuestStep obj9 = new QuestStep(EInteractionType.Interact, 2010896u, new Vector3(743.5569f, 189.83752f, 260.4867f), 816) - { - Fly = true - }; - num3 = 6; - List> list14 = new List>(num3); - CollectionsMarshal.SetCount(list14, num3); - Span> span6 = CollectionsMarshal.AsSpan(list14); - span6[0] = null; - ref List reference11 = ref span6[1]; - num4 = 2; - List list15 = new List(num4); - CollectionsMarshal.SetCount(list15, num4); - Span span7 = CollectionsMarshal.AsSpan(list15); - span7[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span7[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - reference11 = list15; - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = null; - obj9.RequiredQuestVariables = list14; - reference10 = obj9; - ref QuestStep reference12 = ref span3[2]; - QuestStep obj10 = new QuestStep(EInteractionType.Interact, 2010897u, new Vector3(769.0698f, 191.60742f, 251.88062f), 816) - { - Fly = true - }; - num3 = 6; - List> list16 = new List>(num3); - CollectionsMarshal.SetCount(list16, num3); - Span> span8 = CollectionsMarshal.AsSpan(list16); - span8[0] = null; - ref List reference13 = ref span8[1]; - num4 = 2; - List list17 = new List(num4); - CollectionsMarshal.SetCount(list17, num4); - Span span9 = CollectionsMarshal.AsSpan(list17); - span9[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span9[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference13 = list17; - span8[2] = null; - span8[3] = null; - span8[4] = null; - span8[5] = null; - obj10.RequiredQuestVariables = list16; - reference12 = obj10; - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference14 = ref span2[3]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.Interact, 1032261u, new Vector3(-258.38104f, 50.977943f, 601.2206f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj11.Steps = list18; - reference14 = obj11; - ref QuestSequence reference15 = ref span2[4]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true - }; - obj12.Steps = list19; - reference15 = obj12; - questRoot2.QuestSequence = list8; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(3702); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - CollectionsMarshal.AsSpan(list20)[0] = "liza"; - questRoot3.Author = list20; - num = 3; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - Span span10 = CollectionsMarshal.AsSpan(list21); - ref QuestSequence reference16 = ref span10[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj13.Steps = list22; - reference16 = obj13; - ref QuestSequence reference17 = ref span10[1]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - Span span11 = CollectionsMarshal.AsSpan(list23); - ref QuestStep reference18 = ref span11[0]; - QuestStep obj15 = new QuestStep(EInteractionType.Interact, 2010900u, new Vector3(787.92993f, 187.33496f, 174.33423f), 816) - { - Fly = true - }; - num3 = 6; - List> list24 = new List>(num3); - CollectionsMarshal.SetCount(list24, num3); - Span> span12 = CollectionsMarshal.AsSpan(list24); - span12[0] = null; - span12[1] = null; - span12[2] = null; - ref List reference19 = ref span12[3]; - num4 = 1; - List list25 = new List(num4); - CollectionsMarshal.SetCount(list25, num4); - CollectionsMarshal.AsSpan(list25)[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference19 = list25; - span12[4] = null; - span12[5] = null; - obj15.RequiredQuestVariables = list24; - reference18 = obj15; - ref QuestStep reference20 = ref span11[1]; - QuestStep obj16 = new QuestStep(EInteractionType.Interact, 2010899u, new Vector3(783.2302f, 187.30444f, 151.995f), 816) - { - Fly = true - }; - num3 = 6; - List> list26 = new List>(num3); - CollectionsMarshal.SetCount(list26, num3); - Span> span13 = CollectionsMarshal.AsSpan(list26); - span13[0] = null; - span13[1] = null; - span13[2] = null; - ref List reference21 = ref span13[3]; - num4 = 1; - List list27 = new List(num4); - CollectionsMarshal.SetCount(list27, num4); - CollectionsMarshal.AsSpan(list27)[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - reference21 = list27; - span13[4] = null; - span13[5] = null; - obj16.RequiredQuestVariables = list26; - reference20 = obj16; - ref QuestStep reference22 = ref span11[2]; - QuestStep obj17 = new QuestStep(EInteractionType.Interact, 2010898u, new Vector3(765.8655f, 187.30444f, 163.53088f), 816) - { - Fly = true - }; - num3 = 6; - List> list28 = new List>(num3); - CollectionsMarshal.SetCount(list28, num3); - Span> span14 = CollectionsMarshal.AsSpan(list28); - span14[0] = null; - span14[1] = null; - span14[2] = null; - ref List reference23 = ref span14[3]; - num4 = 1; - List list29 = new List(num4); - CollectionsMarshal.SetCount(list29, num4); - CollectionsMarshal.AsSpan(list29)[0] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - reference23 = list29; - span14[4] = null; - span14[5] = null; - obj17.RequiredQuestVariables = list28; - reference22 = obj17; - obj14.Steps = list23; - reference17 = obj14; - ref QuestSequence reference24 = ref span10[2]; - QuestSequence obj18 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - Span span15 = CollectionsMarshal.AsSpan(list30); - span15[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(743.3476f, 186.89098f, 193.8602f), 816) - { - Mount = false - }; - span15[1] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj18.Steps = list30; - reference24 = obj18; - questRoot3.QuestSequence = list21; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(3703); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list31 = new List(num); - CollectionsMarshal.SetCount(list31, num); - CollectionsMarshal.AsSpan(list31)[0] = "liza"; - questRoot4.Author = list31; - num = 3; - List list32 = new List(num); - CollectionsMarshal.SetCount(list32, num); - Span span16 = CollectionsMarshal.AsSpan(list32); - ref QuestSequence reference25 = ref span16[0]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj19.Steps = list33; - reference25 = obj19; - ref QuestSequence reference26 = ref span16[1]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - Span span17 = CollectionsMarshal.AsSpan(list34); - ref QuestStep reference27 = ref span17[0]; - QuestStep obj21 = new QuestStep(EInteractionType.Interact, 1032169u, new Vector3(-423.33105f, 25.599815f, 265.94946f), 816) - { - Fly = true - }; - num3 = 6; - List> list35 = new List>(num3); - CollectionsMarshal.SetCount(list35, num3); - Span> span18 = CollectionsMarshal.AsSpan(list35); - span18[0] = null; - ref List reference28 = ref span18[1]; - num4 = 1; - List list36 = new List(num4); - CollectionsMarshal.SetCount(list36, num4); - CollectionsMarshal.AsSpan(list36)[0] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - reference28 = list36; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = null; - obj21.RequiredQuestVariables = list35; - reference27 = obj21; - ref QuestStep reference29 = ref span17[1]; - QuestStep obj22 = new QuestStep(EInteractionType.Interact, 1032168u, new Vector3(-431.3573f, 24.720499f, 251.60596f), 816) - { - Fly = true - }; - num3 = 6; - List> list37 = new List>(num3); - CollectionsMarshal.SetCount(list37, num3); - Span> span19 = CollectionsMarshal.AsSpan(list37); - span19[0] = null; - ref List reference30 = ref span19[1]; - num4 = 1; - List list38 = new List(num4); - CollectionsMarshal.SetCount(list38, num4); - CollectionsMarshal.AsSpan(list38)[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference30 = list38; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = null; - obj22.RequiredQuestVariables = list37; - reference29 = obj22; - ref QuestStep reference31 = ref span17[2]; - QuestStep obj23 = new QuestStep(EInteractionType.Interact, 1032167u, new Vector3(-416.52557f, 20.303928f, 221.75928f), 816) - { - Fly = true - }; - num3 = 6; - List> list39 = new List>(num3); - CollectionsMarshal.SetCount(list39, num3); - Span> span20 = CollectionsMarshal.AsSpan(list39); - span20[0] = null; - ref List reference32 = ref span20[1]; - num4 = 1; - List list40 = new List(num4); - CollectionsMarshal.SetCount(list40, num4); - CollectionsMarshal.AsSpan(list40)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference32 = list40; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = null; - obj23.RequiredQuestVariables = list39; - reference31 = obj23; - obj20.Steps = list34; - reference26 = obj20; - ref QuestSequence reference33 = ref span16[2]; - QuestSequence obj24 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true - }; - obj24.Steps = list41; - reference33 = obj24; - questRoot4.QuestSequence = list32; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(3704); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - CollectionsMarshal.AsSpan(list42)[0] = "liza"; - questRoot5.Author = list42; - num = 3; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - Span span21 = CollectionsMarshal.AsSpan(list43); - ref QuestSequence reference34 = ref span21[0]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj25.Steps = list44; - reference34 = obj25; - ref QuestSequence reference35 = ref span21[1]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - Span span22 = CollectionsMarshal.AsSpan(list45); - ref QuestStep reference36 = ref span22[0]; - QuestStep obj27 = new QuestStep(EInteractionType.Interact, 2010901u, new Vector3(-413.96204f, -0.10687256f, -55.77173f), 816) - { - Fly = true - }; - num3 = 6; - List> list46 = new List>(num3); - CollectionsMarshal.SetCount(list46, num3); - Span> span23 = CollectionsMarshal.AsSpan(list46); - span23[0] = null; - span23[1] = null; - ref List reference37 = ref span23[2]; - num4 = 1; - List list47 = new List(num4); - CollectionsMarshal.SetCount(list47, num4); - CollectionsMarshal.AsSpan(list47)[0] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - reference37 = list47; - span23[3] = null; - span23[4] = null; - span23[5] = null; - obj27.RequiredQuestVariables = list46; - reference36 = obj27; - ref QuestStep reference38 = ref span22[1]; - QuestStep obj28 = new QuestStep(EInteractionType.Interact, 2010902u, new Vector3(-405.9358f, -0.07635498f, -28.397034f), 816) - { - Fly = true - }; - num3 = 6; - List> list48 = new List>(num3); - CollectionsMarshal.SetCount(list48, num3); - Span> span24 = CollectionsMarshal.AsSpan(list48); - span24[0] = null; - span24[1] = null; - ref List reference39 = ref span24[2]; - num4 = 1; - List list49 = new List(num4); - CollectionsMarshal.SetCount(list49, num4); - CollectionsMarshal.AsSpan(list49)[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - reference39 = list49; - span24[3] = null; - span24[4] = null; - span24[5] = null; - obj28.RequiredQuestVariables = list48; - reference38 = obj28; - ref QuestStep reference40 = ref span22[2]; - QuestStep obj29 = new QuestStep(EInteractionType.Interact, 2010903u, new Vector3(-395.46808f, -0.07635498f, -0.16790771f), 816) - { - Fly = true - }; - num3 = 6; - List> list50 = new List>(num3); - CollectionsMarshal.SetCount(list50, num3); - Span> span25 = CollectionsMarshal.AsSpan(list50); - span25[0] = null; - span25[1] = null; - ref List reference41 = ref span25[2]; - num4 = 1; - List list51 = new List(num4); - CollectionsMarshal.SetCount(list51, num4); - CollectionsMarshal.AsSpan(list51)[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference41 = list51; - span25[3] = null; - span25[4] = null; - span25[5] = null; - obj29.RequiredQuestVariables = list50; - reference40 = obj29; - obj26.Steps = list45; - reference35 = obj26; - ref QuestSequence reference42 = ref span21[2]; - QuestSequence obj30 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - Span span26 = CollectionsMarshal.AsSpan(list52); - span26[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-427.47775f, 5.0289116f, 18.171812f), 816) - { - DisableNavmesh = true, - Mount = false - }; - span26[1] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj30.Steps = list52; - reference42 = obj30; - questRoot5.QuestSequence = list43; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(3705); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - CollectionsMarshal.AsSpan(list53)[0] = "liza"; - questRoot6.Author = list53; - num = 3; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - Span span27 = CollectionsMarshal.AsSpan(list54); - ref QuestSequence reference43 = ref span27[0]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj31.Steps = list55; - reference43 = obj31; - ref QuestSequence reference44 = ref span27[1]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - Span span28 = CollectionsMarshal.AsSpan(list56); - span28[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-115.77283f, 7.1942587f, 130.61378f), 816) - { - Fly = true - }; - ref QuestStep reference45 = ref span28[1]; - QuestStep obj33 = new QuestStep(EInteractionType.Interact, 2010911u, new Vector3(-113.93915f, -36.087585f, 87.6936f), 816) - { - DisableNavmesh = true - }; - num3 = 6; - List> list57 = new List>(num3); - CollectionsMarshal.SetCount(list57, num3); - Span> span29 = CollectionsMarshal.AsSpan(list57); - span29[0] = null; - ref List reference46 = ref span29[1]; - num4 = 1; - List list58 = new List(num4); - CollectionsMarshal.SetCount(list58, num4); - CollectionsMarshal.AsSpan(list58)[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference46 = list58; - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = null; - obj33.RequiredQuestVariables = list57; - reference45 = obj33; - ref QuestStep reference47 = ref span28[2]; - QuestStep obj34 = new QuestStep(EInteractionType.Interact, 2010904u, new Vector3(-164.93481f, -50.919373f, 71.15283f), 816) - { - DisableNavmesh = true - }; - num3 = 6; - List> list59 = new List>(num3); - CollectionsMarshal.SetCount(list59, num3); - Span> span30 = CollectionsMarshal.AsSpan(list59); - span30[0] = null; - ref List reference48 = ref span30[1]; - num4 = 1; - List list60 = new List(num4); - CollectionsMarshal.SetCount(list60, num4); - CollectionsMarshal.AsSpan(list60)[0] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - reference48 = list60; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = null; - obj34.RequiredQuestVariables = list59; - reference47 = obj34; - ref QuestStep reference49 = ref span28[3]; - QuestStep obj35 = new QuestStep(EInteractionType.Interact, 2010910u, new Vector3(-189.86804f, -66.941345f, 13.046387f), 816) - { - DisableNavmesh = true - }; - num3 = 6; - List> list61 = new List>(num3); - CollectionsMarshal.SetCount(list61, num3); - Span> span31 = CollectionsMarshal.AsSpan(list61); - span31[0] = null; - ref List reference50 = ref span31[1]; - num4 = 1; - List list62 = new List(num4); - CollectionsMarshal.SetCount(list62, num4); - CollectionsMarshal.AsSpan(list62)[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - reference50 = list62; - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = null; - obj35.RequiredQuestVariables = list61; - reference49 = obj35; - obj32.Steps = list56; - reference44 = obj32; - ref QuestSequence reference51 = ref span27[2]; - QuestSequence obj36 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj36.Steps = list63; - reference51 = obj36; - questRoot6.QuestSequence = list54; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(3706); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - CollectionsMarshal.AsSpan(list64)[0] = "liza"; - questRoot7.Author = list64; - num = 3; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - Span span32 = CollectionsMarshal.AsSpan(list65); - ref QuestSequence reference52 = ref span32[0]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj37.Steps = list66; - reference52 = obj37; - ref QuestSequence reference53 = ref span32[1]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - ref QuestStep reference54 = ref CollectionsMarshal.AsSpan(list67)[0]; - QuestStep obj39 = new QuestStep(EInteractionType.Combat, 2010905u, new Vector3(164.01917f, 0.289917f, 640.2228f), 816) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list68 = new List(num3); - CollectionsMarshal.SetCount(list68, num3); - CollectionsMarshal.AsSpan(list68)[0] = 11449u; - obj39.KillEnemyDataIds = list68; - reference54 = obj39; - obj38.Steps = list67; - reference53 = obj38; - ref QuestSequence reference55 = ref span32[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true - }; - obj40.Steps = list69; - reference55 = obj40; - questRoot7.QuestSequence = list65; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(3707); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list70 = new List(num); - CollectionsMarshal.SetCount(list70, num); - CollectionsMarshal.AsSpan(list70)[0] = "liza"; - questRoot8.Author = list70; - num = 3; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - Span span33 = CollectionsMarshal.AsSpan(list71); - ref QuestSequence reference56 = ref span33[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj41.Steps = list72; - reference56 = obj41; - ref QuestSequence reference57 = ref span33[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.Snipe, 1032170u, new Vector3(25.070557f, 13.914338f, 755.58093f), 816) - { - Fly = true, - Comment = "Throw Porxies at Beavers" - }; - obj42.Steps = list73; - reference57 = obj42; - ref QuestSequence reference58 = ref span33[2]; - QuestSequence obj43 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - ref QuestStep reference59 = ref CollectionsMarshal.AsSpan(list74)[0]; - QuestStep obj44 = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - num3 = 1; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - CollectionsMarshal.AsSpan(list75)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANPIX119_03707_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANPIX119_03707_A1_000_003") - }; - obj44.DialogueChoices = list75; - reference59 = obj44; - obj43.Steps = list74; - reference58 = obj43; - questRoot8.QuestSequence = list71; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(3708); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - CollectionsMarshal.AsSpan(list76)[0] = "liza"; - questRoot9.Author = list76; - num = 3; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - Span span34 = CollectionsMarshal.AsSpan(list77); - ref QuestSequence reference60 = ref span34[0]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj45.Steps = list78; - reference60 = obj45; - ref QuestSequence reference61 = ref span34[1]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - Span span35 = CollectionsMarshal.AsSpan(list79); - ref QuestStep reference62 = ref span35[0]; - QuestStep obj47 = new QuestStep(EInteractionType.Interact, 2010906u, new Vector3(60.135742f, 5.7526245f, 404.34875f), 816) - { - Fly = true - }; - num3 = 6; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - Span span36 = CollectionsMarshal.AsSpan(list80); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj47.CompletionQuestVariablesFlags = list80; - reference62 = obj47; - ref QuestStep reference63 = ref span35[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2010907u, new Vector3(50.858276f, 6.94281f, 406.51562f), 816); - num3 = 6; - List list81 = new List(num3); - CollectionsMarshal.SetCount(list81, num3); - Span span37 = CollectionsMarshal.AsSpan(list81); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list81; - reference63 = questStep; - ref QuestStep reference64 = ref span35[2]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2010908u, new Vector3(42.893066f, 6.668152f, 397.26855f), 816); - num3 = 6; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - Span span38 = CollectionsMarshal.AsSpan(list82); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list82; - reference64 = questStep2; - obj46.Steps = list79; - reference61 = obj46; - ref QuestSequence reference65 = ref span34[2]; - QuestSequence obj48 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj48.Steps = list83; - reference65 = obj48; - questRoot9.QuestSequence = list77; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(3709); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - CollectionsMarshal.AsSpan(list84)[0] = "liza"; - questRoot10.Author = list84; - num = 3; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - Span span39 = CollectionsMarshal.AsSpan(list85); - ref QuestSequence reference66 = ref span39[0]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj49.Steps = list86; - reference66 = obj49; - ref QuestSequence reference67 = ref span39[1]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - ref QuestStep reference68 = ref CollectionsMarshal.AsSpan(list87)[0]; - QuestStep obj51 = new QuestStep(EInteractionType.Combat, 2010909u, new Vector3(-242.08441f, 0.83917236f, 223.80408f), 816) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list88 = new List(num3); - CollectionsMarshal.SetCount(list88, num3); - CollectionsMarshal.AsSpan(list88)[0] = 11450u; - obj51.KillEnemyDataIds = list88; - reference68 = obj51; - obj50.Steps = list87; - reference67 = obj50; - ref QuestSequence reference69 = ref span39[2]; - QuestSequence obj52 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true - }; - obj52.Steps = list89; - reference69 = obj52; - questRoot10.QuestSequence = list85; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(3710); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - CollectionsMarshal.AsSpan(list90)[0] = "liza"; - questRoot11.Author = list90; - num = 4; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - Span span40 = CollectionsMarshal.AsSpan(list91); - ref QuestSequence reference70 = ref span40[0]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj53.Steps = list92; - reference70 = obj53; - ref QuestSequence reference71 = ref span40[1]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.UseItem, 1032204u, new Vector3(-81.864685f, 88.12085f, -175.06683f), 816) - { - Fly = true, - ItemId = 2002945u - }; - obj54.Steps = list93; - reference71 = obj54; - ref QuestSequence reference72 = ref span40[2]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.UseItem, 1032205u, new Vector3(-114.21387f, 112.903015f, -350.57605f), 816) - { - Fly = true, - ItemId = 2002945u - }; - obj55.Steps = list94; - reference72 = obj55; - ref QuestSequence reference73 = ref span40[3]; - QuestSequence obj56 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - ref QuestStep reference74 = ref CollectionsMarshal.AsSpan(list95)[0]; - QuestStep obj57 = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - num3 = 1; - List list96 = new List(num3); - CollectionsMarshal.SetCount(list96, num3); - CollectionsMarshal.AsSpan(list96)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANPIX122_03710_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANPIX122_03710_A1_000_002") - }; - obj57.DialogueChoices = list96; - reference74 = obj57; - obj56.Steps = list95; - reference73 = obj56; - questRoot11.QuestSequence = list91; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(3711); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - CollectionsMarshal.AsSpan(list97)[0] = "liza"; - questRoot12.Author = list97; - num = 3; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - Span span41 = CollectionsMarshal.AsSpan(list98); - ref QuestSequence reference75 = ref span41[0]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj58.Steps = list99; - reference75 = obj58; - ref QuestSequence reference76 = ref span41[1]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.Interact, 2010786u, new Vector3(514.94617f, 97.61194f, -256.70258f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegWolekdorf - }; - obj59.Steps = list100; - reference76 = obj59; - ref QuestSequence reference77 = ref span41[2]; - QuestSequence obj60 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - Span span42 = CollectionsMarshal.AsSpan(list101); - span42[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(486.33374f, 90.93466f, -316.85287f), 816); - span42[1] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj60.Steps = list101; - reference77 = obj60; - questRoot12.QuestSequence = list98; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(3712); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - CollectionsMarshal.AsSpan(list102)[0] = "liza"; - questRoot13.Author = list102; - num = 3; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - Span span43 = CollectionsMarshal.AsSpan(list103); - ref QuestSequence reference78 = ref span43[0]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj61.Steps = list104; - reference78 = obj61; - ref QuestSequence reference79 = ref span43[1]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - Span span44 = CollectionsMarshal.AsSpan(list105); - span44[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(67.35126f, 102.935814f, -799.43896f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegPlaEnni - }; - span44[1] = new QuestStep(EInteractionType.Say, 1032208u, new Vector3(68.89441f, 103.07577f, -797.05505f), 816) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_BANPIX124_03712_SAYTODO_000_030" - } - }; - obj62.Steps = list105; - reference79 = obj62; - ref QuestSequence reference80 = ref span43[2]; - QuestSequence obj63 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj63.Steps = list106; - reference80 = obj63; - questRoot13.QuestSequence = list103; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(3713); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - CollectionsMarshal.AsSpan(list107)[0] = "liza"; - questRoot14.Author = list107; - num = 4; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - Span span45 = CollectionsMarshal.AsSpan(list108); - ref QuestSequence reference81 = ref span45[0]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj64.Steps = list109; - reference81 = obj64; - ref QuestSequence reference82 = ref span45[1]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - ref QuestStep reference83 = ref CollectionsMarshal.AsSpan(list110)[0]; - QuestStep obj66 = new QuestStep(EInteractionType.Combat, null, new Vector3(218.93869f, 30.646347f, -487.75848f), 816) - { - StopDistance = 0.5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegWolekdorf, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list111 = new List(num3); - CollectionsMarshal.SetCount(list111, num3); - Span span46 = CollectionsMarshal.AsSpan(list111); - span46[0] = 11455u; - span46[1] = 11456u; - obj66.KillEnemyDataIds = list111; - reference83 = obj66; - obj65.Steps = list110; - reference82 = obj65; - ref QuestSequence reference84 = ref span45[2]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.Interact, 1032211u, new Vector3(220.38599f, 30.803741f, -489.5552f), 816); - obj67.Steps = list112; - reference84 = obj67; - ref QuestSequence reference85 = ref span45[3]; - QuestSequence obj68 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj68.Steps = list113; - reference85 = obj68; - questRoot14.QuestSequence = list108; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(3714); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list114 = new List(num); - CollectionsMarshal.SetCount(list114, num); - CollectionsMarshal.AsSpan(list114)[0] = "liza"; - questRoot15.Author = list114; - num = 4; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - Span span47 = CollectionsMarshal.AsSpan(list115); - ref QuestSequence reference86 = ref span47[0]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj69.Steps = list116; - reference86 = obj69; - ref QuestSequence reference87 = ref span47[1]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.Interact, 1031811u, new Vector3(-442.46588f, 70.686165f, 573.69336f), 816); - obj70.Steps = list117; - reference87 = obj70; - ref QuestSequence reference88 = ref span47[2]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - Span span48 = CollectionsMarshal.AsSpan(list118); - ref QuestStep reference89 = ref span48[0]; - QuestStep obj72 = new QuestStep(EInteractionType.Action, 2010922u, new Vector3(-27.878296f, 30.44165f, -505.39407f), 816) - { - Fly = true, - Action = EAction.SiphonSnout - }; - num3 = 6; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - Span span49 = CollectionsMarshal.AsSpan(list119); - span49[0] = null; - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj72.CompletionQuestVariablesFlags = list119; - reference89 = obj72; - ref QuestStep reference90 = ref span48[1]; - QuestStep obj73 = new QuestStep(EInteractionType.Action, 2010923u, new Vector3(-53.025208f, 55.954834f, -671.29016f), 816) - { - Fly = true, - Action = EAction.SiphonSnout - }; - num3 = 6; - List list120 = new List(num3); - CollectionsMarshal.SetCount(list120, num3); - Span span50 = CollectionsMarshal.AsSpan(list120); - span50[0] = null; - span50[1] = null; - span50[2] = null; - span50[3] = null; - span50[4] = null; - span50[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj73.CompletionQuestVariablesFlags = list120; - reference90 = obj73; - obj71.Steps = list118; - reference88 = obj71; - ref QuestSequence reference91 = ref span47[3]; - QuestSequence obj74 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - Span span51 = CollectionsMarshal.AsSpan(list121); - span51[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-53.025208f, 55.954834f, -671.29016f), 816) - { - StopDistance = 100f, - DelaySecondsAtStart = 2f, - Fly = true - }; - span51[1] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj74.Steps = list121; - reference91 = obj74; - questRoot15.QuestSequence = list115; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(3715); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list122 = new List(num); - CollectionsMarshal.SetCount(list122, num); - CollectionsMarshal.AsSpan(list122)[0] = "liza"; - questRoot16.Author = list122; - num = 3; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - Span span52 = CollectionsMarshal.AsSpan(list123); - ref QuestSequence reference92 = ref span52[0]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj75.Steps = list124; - reference92 = obj75; - ref QuestSequence reference93 = ref span52[1]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - ref QuestStep reference94 = ref CollectionsMarshal.AsSpan(list125)[0]; - QuestStep obj77 = new QuestStep(EInteractionType.Combat, 2010788u, new Vector3(-480.0946f, 83.45154f, 635.9197f), 816) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 3; - List list126 = new List(num3); - CollectionsMarshal.SetCount(list126, num3); - Span span53 = CollectionsMarshal.AsSpan(list126); - span53[0] = 11452u; - span53[1] = 11453u; - span53[2] = 11454u; - obj77.KillEnemyDataIds = list126; - reference94 = obj77; - obj76.Steps = list125; - reference93 = obj76; - ref QuestSequence reference95 = ref span52[2]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true - }; - obj78.Steps = list127; - reference95 = obj78; - questRoot16.QuestSequence = list123; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(3716); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - CollectionsMarshal.AsSpan(list128)[0] = "liza"; - questRoot17.Author = list128; - num = 3; - List list129 = new List(num); - CollectionsMarshal.SetCount(list129, num); - Span span54 = CollectionsMarshal.AsSpan(list129); - ref QuestSequence reference96 = ref span54[0]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816); - obj79.Steps = list130; - reference96 = obj79; - ref QuestSequence reference97 = ref span54[1]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - Span span55 = CollectionsMarshal.AsSpan(list131); - ref QuestStep reference98 = ref span55[0]; - QuestStep obj81 = new QuestStep(EInteractionType.UseItem, 1032203u, new Vector3(10.849121f, 100.161f, -886.22876f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegPlaEnni, - ItemId = 2002943u - }; - num3 = 6; - List> list132 = new List>(num3); - CollectionsMarshal.SetCount(list132, num3); - Span> span56 = CollectionsMarshal.AsSpan(list132); - span56[0] = null; - span56[1] = null; - ref List reference99 = ref span56[2]; - num4 = 1; - List list133 = new List(num4); - CollectionsMarshal.SetCount(list133, num4); - CollectionsMarshal.AsSpan(list133)[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - reference99 = list133; - span56[3] = null; - span56[4] = null; - span56[5] = null; - obj81.RequiredQuestVariables = list132; - reference98 = obj81; - ref QuestStep reference100 = ref span55[1]; - QuestStep obj82 = new QuestStep(EInteractionType.UseItem, 1032202u, new Vector3(10.849121f, 100.161f, -886.22876f), 816) - { - Fly = true, - ItemId = 2002943u - }; - num3 = 6; - List> list134 = new List>(num3); - CollectionsMarshal.SetCount(list134, num3); - Span> span57 = CollectionsMarshal.AsSpan(list134); - span57[0] = null; - span57[1] = null; - ref List reference101 = ref span57[2]; - num4 = 1; - List list135 = new List(num4); - CollectionsMarshal.SetCount(list135, num4); - CollectionsMarshal.AsSpan(list135)[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference101 = list135; - span57[3] = null; - span57[4] = null; - span57[5] = null; - obj82.RequiredQuestVariables = list134; - reference100 = obj82; - obj80.Steps = list131; - reference97 = obj80; - ref QuestSequence reference102 = ref span54[2]; - QuestSequence obj83 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031809u, new Vector3(-454.3069f, 71.43217f, 575.1278f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj83.Steps = list136; - reference102 = obj83; - questRoot17.QuestSequence = list129; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(3717); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list137 = new List(num); - CollectionsMarshal.SetCount(list137, num); - CollectionsMarshal.AsSpan(list137)[0] = "liza"; - questRoot18.Author = list137; - num = 12; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - Span span58 = CollectionsMarshal.AsSpan(list138); - ref QuestSequence reference103 = ref span58[0]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031577u, new Vector3(-425.58942f, 417.21378f, -636.7438f), 814); - obj84.Steps = list139; - reference103 = obj84; - ref QuestSequence reference104 = ref span58[1]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.Interact, 1031586u, new Vector3(663.569f, 297.47797f, -162.24927f), 814) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaStilltide - }; - obj85.Steps = list140; - reference104 = obj85; - ref QuestSequence reference105 = ref span58[2]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - Span span59 = CollectionsMarshal.AsSpan(list141); - span59[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(547.1434f, 295.63748f, -219.3426f), 814) - { - Fly = true - }; - span59[1] = new QuestStep(EInteractionType.Interact, 2010833u, new Vector3(545.4946f, 296.1317f, -218.79913f), 814); - obj86.Steps = list141; - reference105 = obj86; - ref QuestSequence reference106 = ref span58[3]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.Interact, 1031586u, new Vector3(663.569f, 297.47797f, -162.24927f), 814) - { - Fly = true - }; - obj87.Steps = list142; - reference106 = obj87; - ref QuestSequence reference107 = ref span58[4]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.Interact, 1031826u, new Vector3(623.1022f, 297.49335f, -199.51172f), 814) - { - Fly = true - }; - obj88.Steps = list143; - reference107 = obj88; - ref QuestSequence reference108 = ref span58[5]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.Interact, 1031578u, new Vector3(737.48376f, 285.0224f, -84.97754f), 814) - { - Fly = true - }; - obj89.Steps = list144; - reference108 = obj89; - ref QuestSequence reference109 = ref span58[6]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.Emote, 1031578u, new Vector3(737.48376f, 285.0224f, -84.97754f), 814) - { - Emote = EEmote.Doubt - }; - obj90.Steps = list145; - reference109 = obj90; - ref QuestSequence reference110 = ref span58[7]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.Interact, 1031829u, new Vector3(215.28955f, 315.85886f, -17.349548f), 814) - { - Fly = true - }; - obj91.Steps = list146; - reference110 = obj91; - ref QuestSequence reference111 = ref span58[8]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - ref QuestStep reference112 = ref CollectionsMarshal.AsSpan(list147)[0]; - QuestStep obj93 = new QuestStep(EInteractionType.Combat, null, new Vector3(215.44379f, 315.57245f, -22.744217f), 814) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list148 = new List(num3); - CollectionsMarshal.SetCount(list148, num3); - Span span60 = CollectionsMarshal.AsSpan(list148); - span60[0] = 11435u; - span60[1] = 11436u; - obj93.KillEnemyDataIds = list148; - reference112 = obj93; - obj92.Steps = list147; - reference111 = obj92; - ref QuestSequence reference113 = ref span58[9]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 9 - }; - num2 = 2; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - Span span61 = CollectionsMarshal.AsSpan(list149); - span61[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(237.7035f, 308.6692f, -119.51825f), 814) - { - Fly = true - }; - span61[1] = new QuestStep(EInteractionType.Interact, 1031828u, new Vector3(236.40796f, 309.01877f, -118.24219f), 814); - obj94.Steps = list149; - reference113 = obj94; - ref QuestSequence reference114 = ref span58[10]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.Interact, 2010844u, new Vector3(238.17798f, 308.5221f, -120.19531f), 814); - obj95.Steps = list150; - reference114 = obj95; - ref QuestSequence reference115 = ref span58[11]; - QuestSequence obj96 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031586u, new Vector3(663.569f, 297.47797f, -162.24927f), 814) - { - Fly = true, - NextQuestId = new QuestId(3718) - }; - obj96.Steps = list151; - reference115 = obj96; - questRoot18.QuestSequence = list138; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(3718); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list152 = new List(num); - CollectionsMarshal.SetCount(list152, num); - CollectionsMarshal.AsSpan(list152)[0] = "liza"; - questRoot19.Author = list152; - num = 8; - List list153 = new List(num); - CollectionsMarshal.SetCount(list153, num); - Span span62 = CollectionsMarshal.AsSpan(list153); - ref QuestSequence reference116 = ref span62[0]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031586u, new Vector3(663.569f, 297.47797f, -162.24927f), 814); - obj97.Steps = list154; - reference116 = obj97; - ref QuestSequence reference117 = ref span62[1]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.Interact, 1032079u, new Vector3(737.11743f, 285.0313f, -84.06195f), 814) - { - Fly = true - }; - obj98.Steps = list155; - reference117 = obj98; - ref QuestSequence reference118 = ref span62[2]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.Interact, 2010855u, new Vector3(738.3076f, 285.60303f, -82.871826f), 814) - { - StopDistance = 4f - }; - obj99.Steps = list156; - reference118 = obj99; - ref QuestSequence reference119 = ref span62[3]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.Interact, 1031837u, new Vector3(-1.8158569f, -6.9233757E-09f, -90.013f), 895); - obj100.Steps = list157; - reference119 = obj100; - ref QuestSequence reference120 = ref span62[4]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.Duty, null, null, 895) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 700u - } - }; - obj101.Steps = list158; - reference120 = obj101; - span62[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference121 = ref span62[6]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.Interact, 1032021u, new Vector3(-8.255188f, 0.02999778f, -66.66675f), 895); - obj102.Steps = list159; - reference121 = obj102; - ref QuestSequence reference122 = ref span62[7]; - QuestSequence obj103 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032020u, new Vector3(-9.353821f, 0.037398916f, -66.88031f), 895) - { - StopDistance = 4f, - NextQuestId = new QuestId(3719) - }; - obj103.Steps = list160; - reference122 = obj103; - questRoot19.QuestSequence = list153; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(3719); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - CollectionsMarshal.AsSpan(list161)[0] = "liza"; - questRoot20.Author = list161; - num = 2; - List list162 = new List(num); - CollectionsMarshal.SetCount(list162, num); - Span span63 = CollectionsMarshal.AsSpan(list162); - ref QuestSequence reference123 = ref span63[0]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032020u, new Vector3(-9.353821f, 0.037398916f, -66.88031f), 895) - { - StopDistance = 4f - }; - obj104.Steps = list163; - reference123 = obj104; - ref QuestSequence reference124 = ref span63[1]; - QuestSequence obj105 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032228u, new Vector3(-499.4736f, 484.00323f, 244.19006f), 896); - obj105.Steps = list164; - reference124 = obj105; - questRoot20.QuestSequence = list162; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(3720); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list165 = new List(num); - CollectionsMarshal.SetCount(list165, num); - CollectionsMarshal.AsSpan(list165)[0] = "liza"; - questRoot21.Author = list165; - num = 10; - List list166 = new List(num); - CollectionsMarshal.SetCount(list166, num); - Span span64 = CollectionsMarshal.AsSpan(list166); - ref QuestSequence reference125 = ref span64[0]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - ref QuestStep reference126 = ref CollectionsMarshal.AsSpan(list167)[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.AcceptQuest, 1032228u, new Vector3(-499.4736f, 484.00323f, 244.19006f), 896); - num3 = 1; - List list168 = new List(num3); - CollectionsMarshal.SetCount(list168, num3); - CollectionsMarshal.AsSpan(list168)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKTA110_03720_Q2_000_000") - }; - questStep3.DialogueChoices = list168; - reference126 = questStep3; - obj106.Steps = list167; - reference125 = obj106; - ref QuestSequence reference127 = ref span64[1]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - Span span65 = CollectionsMarshal.AsSpan(list169); - span65[0] = new QuestStep(EInteractionType.Interact, 2010848u, new Vector3(-504.78372f, 483.97034f, 234.82104f), 896) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span65[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-500.0601f, 464f, 209.26236f), 896); - span65[2] = new QuestStep(EInteractionType.Interact, 2010869u, new Vector3(-505.2415f, 463.95044f, 217.60889f), 896) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span65[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-500.03152f, 401f, -3.3307662f), 896); - span65[4] = new QuestStep(EInteractionType.Interact, 2010870u, new Vector3(-541.619f, 400.99182f, -36.209717f), 896) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span65[5] = new QuestStep(EInteractionType.Interact, 1032073u, new Vector3(-560.0824f, 383f, -139.08606f), 896); - obj107.Steps = list169; - reference127 = obj107; - ref QuestSequence reference128 = ref span64[2]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - Span span66 = CollectionsMarshal.AsSpan(list170); - span66[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-557.9587f, 383f, -141.83781f), 896) - { - RestartNavigationIfCancelled = false - }; - span66[1] = new QuestStep(EInteractionType.Interact, 1032025u, new Vector3(-573.6935f, 352.99423f, -264.0879f), 896) - { - DelaySecondsAtStart = 5f - }; - obj108.Steps = list170; - reference128 = obj108; - ref QuestSequence reference129 = ref span64[3]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - Span span67 = CollectionsMarshal.AsSpan(list171); - span67[0] = new QuestStep(EInteractionType.Interact, 2010874u, new Vector3(-626.5507f, 340.96277f, -367.02527f), 896) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span67[1] = new QuestStep(EInteractionType.Interact, 2010872u, new Vector3(-697.87134f, 339.1621f, -378.34747f), 896) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span67[2] = new QuestStep(EInteractionType.Interact, 2010825u, new Vector3(-708.21704f, 339.19275f, -350.57605f), 896); - obj109.Steps = list171; - reference129 = obj109; - ref QuestSequence reference130 = ref span64[4]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.Interact, 1032027u, new Vector3(-675.1965f, 335.42987f, -293.87354f), 896); - obj110.Steps = list172; - reference130 = obj110; - ref QuestSequence reference131 = ref span64[5]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 5 - }; - num2 = 7; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - Span span68 = CollectionsMarshal.AsSpan(list173); - span68[0] = new QuestStep(EInteractionType.Interact, 2010882u, new Vector3(-684.01624f, 335.8662f, -292.04242f), 896) - { - TargetTerritoryId = (ushort)896 - }; - span68[1] = new QuestStep(EInteractionType.Interact, 2010871u, new Vector3(-676.2646f, -482.9328f, 612.4818f), 896) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - ref QuestStep reference132 = ref span68[2]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2010827u, new Vector3(-688.2887f, -484.00098f, 582.2689f), 896); - num3 = 6; - List list174 = new List(num3); - CollectionsMarshal.SetCount(list174, num3); - Span span69 = CollectionsMarshal.AsSpan(list174); - span69[0] = null; - span69[1] = null; - span69[2] = null; - span69[3] = null; - span69[4] = null; - span69[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list174; - reference132 = questStep4; - ref QuestStep reference133 = ref span68[3]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2010826u, new Vector3(-747.982f, -489.98248f, 603.1128f), 896); - num3 = 6; - List list175 = new List(num3); - CollectionsMarshal.SetCount(list175, num3); - Span span70 = CollectionsMarshal.AsSpan(list175); - span70[0] = null; - span70[1] = null; - span70[2] = null; - span70[3] = null; - span70[4] = null; - span70[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list175; - reference133 = questStep5; - span68[4] = new QuestStep(EInteractionType.Interact, 2010875u, new Vector3(-712.1538f, -495.99454f, 562.3406f), 896) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span68[5] = new QuestStep(EInteractionType.Interact, 2010873u, new Vector3(-711.2383f, -498.00873f, 547.1732f), 896) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - ref QuestStep reference134 = ref span68[6]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1032150u, new Vector3(-729.3965f, -499.74826f, 546.4408f), 896); - num3 = 6; - List list176 = new List(num3); - CollectionsMarshal.SetCount(list176, num3); - Span span71 = CollectionsMarshal.AsSpan(list176); - span71[0] = null; - span71[1] = null; - span71[2] = null; - span71[3] = null; - span71[4] = null; - span71[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list176; - reference134 = questStep6; - obj111.Steps = list173; - reference131 = obj111; - ref QuestSequence reference135 = ref span64[6]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 6 - }; - num2 = 5; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - Span span72 = CollectionsMarshal.AsSpan(list177); - span72[0] = new QuestStep(EInteractionType.Interact, 2010944u, new Vector3(-836.6369f, -492.24078f, 498.0697f), 896) - { - TargetTerritoryId = (ushort)896 - }; - span72[1] = new QuestStep(EInteractionType.Interact, 2010878u, new Vector3(874.7843f, -676.02045f, 884.9774f), 896) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span72[2] = new QuestStep(EInteractionType.Interact, 2010877u, new Vector3(911.13135f, -677.0276f, 894.1023f), 896) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span72[3] = new QuestStep(EInteractionType.Interact, 2010876u, new Vector3(900.05334f, -673.0602f, 828.70215f), 896) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span72[4] = new QuestStep(EInteractionType.Interact, 1032075u, new Vector3(899.5956f, -677f, 880.39966f), 896); - obj112.Steps = list177; - reference135 = obj112; - ref QuestSequence reference136 = ref span64[7]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.Interact, 1032228u, new Vector3(-499.4736f, 484.00323f, 244.19006f), 896); - obj113.Steps = list178; - reference136 = obj113; - ref QuestSequence reference137 = ref span64[8]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 8 - }; - num2 = 2; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - Span span73 = CollectionsMarshal.AsSpan(list179); - span73[0] = new QuestStep(EInteractionType.Interact, 2010831u, new Vector3(-499.01584f, 485.2826f, 280.26245f), 896) - { - TargetTerritoryId = (ushort)895 - }; - span73[1] = new QuestStep(EInteractionType.Interact, 1032152u, new Vector3(-13.809448f, 0.039723f, -66.941345f), 895); - obj114.Steps = list179; - reference137 = obj114; - ref QuestSequence reference138 = ref span64[9]; - QuestSequence obj115 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - Span span74 = CollectionsMarshal.AsSpan(list180); - span74[0] = new QuestStep(EInteractionType.Interact, 2010829u, new Vector3(1.4190674f, 0.83917236f, 2.5177002f), 895) - { - TargetTerritoryId = (ushort)814 - }; - ref QuestStep reference139 = ref span74[1]; - QuestStep obj116 = new QuestStep(EInteractionType.CompleteQuest, 1032227u, new Vector3(665.8884f, 297.47797f, -160.57074f), 814) - { - Fly = true - }; - num3 = 1; - List list181 = new List(num3); - CollectionsMarshal.SetCount(list181, num3); - CollectionsMarshal.AsSpan(list181)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKTA110_03720_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKTA110_03720_A1_000_002") - }; - obj116.DialogueChoices = list181; - obj116.NextQuestId = new QuestId(3784); - reference139 = obj116; - obj115.Steps = list180; - reference138 = obj115; - questRoot21.QuestSequence = list166; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(3721); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list182 = new List(num); - CollectionsMarshal.SetCount(list182, num); - CollectionsMarshal.AsSpan(list182)[0] = "liza"; - questRoot22.Author = list182; - num = 10; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - Span span75 = CollectionsMarshal.AsSpan(list183); - ref QuestSequence reference140 = ref span75[0]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - ref QuestStep reference141 = ref CollectionsMarshal.AsSpan(list184)[0]; - QuestStep obj118 = new QuestStep(EInteractionType.AcceptQuest, 1032229u, new Vector3(-501.1826f, 484.0032f, 244.2511f), 896) - { - StopDistance = 4f - }; - num3 = 1; - List list185 = new List(num3); - CollectionsMarshal.SetCount(list185, num3); - CollectionsMarshal.AsSpan(list185)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKTA120_03721_Q2_000_000") - }; - obj118.DialogueChoices = list185; - reference141 = obj118; - obj117.Steps = list184; - reference140 = obj117; - ref QuestSequence reference142 = ref span75[1]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - Span span76 = CollectionsMarshal.AsSpan(list186); - span76[0] = new QuestStep(EInteractionType.Interact, 2010848u, new Vector3(-504.78372f, 483.97034f, 234.82104f), 896) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span76[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-500.0601f, 464f, 209.26236f), 896); - span76[2] = new QuestStep(EInteractionType.Interact, 2010869u, new Vector3(-505.2415f, 463.95044f, 217.60889f), 896) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span76[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-500.03152f, 401f, -3.3307662f), 896); - span76[4] = new QuestStep(EInteractionType.Interact, 2010870u, new Vector3(-541.619f, 400.99182f, -36.209717f), 896) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span76[5] = new QuestStep(EInteractionType.Interact, 1032074u, new Vector3(-560.0824f, 383f, -139.08606f), 896); - obj119.Steps = list186; - reference142 = obj119; - ref QuestSequence reference143 = ref span75[2]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - Span span77 = CollectionsMarshal.AsSpan(list187); - span77[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-557.9587f, 383f, -141.83781f), 896) - { - RestartNavigationIfCancelled = false - }; - span77[1] = new QuestStep(EInteractionType.Interact, 1032026u, new Vector3(-573.6935f, 352.99423f, -264.0879f), 896) - { - DelaySecondsAtStart = 5f - }; - obj120.Steps = list187; - reference143 = obj120; - ref QuestSequence reference144 = ref span75[3]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - Span span78 = CollectionsMarshal.AsSpan(list188); - span78[0] = new QuestStep(EInteractionType.Interact, 2010874u, new Vector3(-626.5507f, 340.96277f, -367.02527f), 896) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span78[1] = new QuestStep(EInteractionType.Interact, 2010872u, new Vector3(-697.87134f, 339.1621f, -378.34747f), 896) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span78[2] = new QuestStep(EInteractionType.Interact, 2010834u, new Vector3(-708.21704f, 339.19275f, -350.57605f), 896); - obj121.Steps = list188; - reference144 = obj121; - ref QuestSequence reference145 = ref span75[4]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.Interact, 1032028u, new Vector3(-675.1965f, 335.42987f, -293.87354f), 896); - obj122.Steps = list189; - reference145 = obj122; - ref QuestSequence reference146 = ref span75[5]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 5 - }; - num2 = 7; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - Span span79 = CollectionsMarshal.AsSpan(list190); - span79[0] = new QuestStep(EInteractionType.Interact, 2010882u, new Vector3(-684.01624f, 335.8662f, -292.04242f), 896) - { - TargetTerritoryId = (ushort)896 - }; - span79[1] = new QuestStep(EInteractionType.Interact, 2010871u, new Vector3(-676.2646f, -482.9328f, 612.4818f), 896) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - ref QuestStep reference147 = ref span79[2]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2010836u, new Vector3(-688.2887f, -484.00098f, 582.2689f), 896); - num3 = 6; - List list191 = new List(num3); - CollectionsMarshal.SetCount(list191, num3); - Span span80 = CollectionsMarshal.AsSpan(list191); - span80[0] = null; - span80[1] = null; - span80[2] = null; - span80[3] = null; - span80[4] = null; - span80[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list191; - reference147 = questStep7; - ref QuestStep reference148 = ref span79[3]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2010835u, new Vector3(-747.982f, -489.98248f, 603.1128f), 896); - num3 = 6; - List list192 = new List(num3); - CollectionsMarshal.SetCount(list192, num3); - Span span81 = CollectionsMarshal.AsSpan(list192); - span81[0] = null; - span81[1] = null; - span81[2] = null; - span81[3] = null; - span81[4] = null; - span81[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list192; - reference148 = questStep8; - span79[4] = new QuestStep(EInteractionType.Interact, 2010875u, new Vector3(-712.1538f, -495.99454f, 562.3406f), 896) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span79[5] = new QuestStep(EInteractionType.Interact, 2010873u, new Vector3(-711.2383f, -498.00873f, 547.1732f), 896) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - ref QuestStep reference149 = ref span79[6]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1032150u, new Vector3(-729.3965f, -499.74826f, 546.4408f), 896); - num3 = 6; - List list193 = new List(num3); - CollectionsMarshal.SetCount(list193, num3); - Span span82 = CollectionsMarshal.AsSpan(list193); - span82[0] = null; - span82[1] = null; - span82[2] = null; - span82[3] = null; - span82[4] = null; - span82[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list193; - reference149 = questStep9; - obj123.Steps = list190; - reference146 = obj123; - ref QuestSequence reference150 = ref span75[6]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 6 - }; - num2 = 5; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - Span span83 = CollectionsMarshal.AsSpan(list194); - span83[0] = new QuestStep(EInteractionType.Interact, 2010944u, new Vector3(-836.6369f, -492.24078f, 498.0697f), 896) - { - TargetTerritoryId = (ushort)896 - }; - span83[1] = new QuestStep(EInteractionType.Interact, 2010878u, new Vector3(874.7843f, -676.02045f, 884.9774f), 896) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span83[2] = new QuestStep(EInteractionType.Interact, 2010877u, new Vector3(911.13135f, -677.0276f, 894.1023f), 896) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span83[3] = new QuestStep(EInteractionType.Interact, 2010876u, new Vector3(900.05334f, -673.0602f, 828.70215f), 896) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span83[4] = new QuestStep(EInteractionType.Interact, 1032076u, new Vector3(899.93115f, -677f, 881.43726f), 896); - obj124.Steps = list194; - reference150 = obj124; - ref QuestSequence reference151 = ref span75[7]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.Interact, 1032228u, new Vector3(-499.4736f, 484.00323f, 244.19006f), 896); - obj125.Steps = list195; - reference151 = obj125; - ref QuestSequence reference152 = ref span75[8]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 8 - }; - num2 = 2; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - Span span84 = CollectionsMarshal.AsSpan(list196); - span84[0] = new QuestStep(EInteractionType.Interact, 2010831u, new Vector3(-499.01584f, 485.2826f, 280.26245f), 896) - { - TargetTerritoryId = (ushort)895 - }; - span84[1] = new QuestStep(EInteractionType.Interact, 1032152u, new Vector3(-13.809448f, 0.039723f, -66.941345f), 895); - obj126.Steps = list196; - reference152 = obj126; - ref QuestSequence reference153 = ref span75[9]; - QuestSequence obj127 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - Span span85 = CollectionsMarshal.AsSpan(list197); - span85[0] = new QuestStep(EInteractionType.Interact, 2010829u, new Vector3(1.4190674f, 0.83917236f, 2.5177002f), 895) - { - TargetTerritoryId = (ushort)814 - }; - ref QuestStep reference154 = ref span85[1]; - QuestStep obj128 = new QuestStep(EInteractionType.CompleteQuest, 1032227u, new Vector3(665.8884f, 297.47797f, -160.57074f), 814) - { - Fly = true - }; - num3 = 1; - List list198 = new List(num3); - CollectionsMarshal.SetCount(list198, num3); - CollectionsMarshal.AsSpan(list198)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKTA120_03721_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKTA120_03721_A1_000_002") - }; - obj128.DialogueChoices = list198; - obj128.NextQuestId = new QuestId(3784); - reference154 = obj128; - obj127.Steps = list197; - reference153 = obj127; - questRoot22.QuestSequence = list183; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(3725); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list199 = new List(num); - CollectionsMarshal.SetCount(list199, num); - CollectionsMarshal.AsSpan(list199)[0] = "liza"; - questRoot23.Author = list199; - num = 5; - List list200 = new List(num); - CollectionsMarshal.SetCount(list200, num); - Span span86 = CollectionsMarshal.AsSpan(list200); - ref QuestSequence reference155 = ref span86[0]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 0 - }; - num2 = 11; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - Span span87 = CollectionsMarshal.AsSpan(list201); - ref QuestStep reference156 = ref span87[0]; - QuestStep obj130 = new QuestStep(EInteractionType.None, null, null, 886) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardFirmament - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list202 = new List(num3); - CollectionsMarshal.SetCount(list202, num3); - CollectionsMarshal.AsSpan(list202)[0] = 886; - skipAetheryteCondition.InTerritory = list202; - skipConditions.AetheryteShortcutIf = skipAetheryteCondition; - obj130.SkipConditions = skipConditions; - reference156 = obj130; - ref QuestStep reference157 = ref span87[1]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1031681u, new Vector3(8.102478f, -16.00001f, 146.34924f), 886); - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list203 = new List(num3); - CollectionsMarshal.SetCount(list203, num3); - CollectionsMarshal.AsSpan(list203)[0] = 60091u; - skipStepConditions.NotNamePlateIconId = list203; - skipConditions2.StepIf = skipStepConditions; - questStep10.SkipConditions = skipConditions2; - reference157 = questStep10; - ref QuestStep reference158 = ref span87[2]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1031677u, new Vector3(52.750366f, -16f, 168.9325f), 886); - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list204 = new List(num3); - CollectionsMarshal.SetCount(list204, num3); - CollectionsMarshal.AsSpan(list204)[0] = 60091u; - skipStepConditions2.NotNamePlateIconId = list204; - skipConditions3.StepIf = skipStepConditions2; - questStep11.SkipConditions = skipConditions3; - reference158 = questStep11; - ref QuestStep reference159 = ref span87[3]; - QuestStep obj131 = new QuestStep(EInteractionType.Interact, 1031692u, new Vector3(52.780884f, -16.000002f, 170.61108f), 886) - { - StopDistance = 5f - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list205 = new List(num3); - CollectionsMarshal.SetCount(list205, num3); - CollectionsMarshal.AsSpan(list205)[0] = 60091u; - skipStepConditions3.NotNamePlateIconId = list205; - skipConditions4.StepIf = skipStepConditions3; - obj131.SkipConditions = skipConditions4; - reference159 = obj131; - span87[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(39.29597f, -16.000002f, 140.2944f), 886); - ref QuestStep reference160 = ref span87[5]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1031680u, new Vector3(40.482178f, -16.000002f, 138.47559f), 886); - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 1; - List list206 = new List(num3); - CollectionsMarshal.SetCount(list206, num3); - CollectionsMarshal.AsSpan(list206)[0] = 60091u; - skipStepConditions4.NotNamePlateIconId = list206; - skipConditions5.StepIf = skipStepConditions4; - questStep12.SkipConditions = skipConditions5; - reference160 = questStep12; - ref QuestStep reference161 = ref span87[6]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1031693u, new Vector3(-21.25586f, -16f, 138.93335f), 886); - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 1; - List list207 = new List(num3); - CollectionsMarshal.SetCount(list207, num3); - CollectionsMarshal.AsSpan(list207)[0] = 60091u; - skipStepConditions5.NotNamePlateIconId = list207; - skipConditions6.StepIf = skipStepConditions5; - questStep13.SkipConditions = skipConditions6; - reference161 = questStep13; - ref QuestStep reference162 = ref span87[7]; - QuestStep obj132 = new QuestStep(EInteractionType.Interact, 1031694u, new Vector3(-18.60083f, -16f, 138.99438f), 886) - { - StopDistance = 7f - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 1; - List list208 = new List(num3); - CollectionsMarshal.SetCount(list208, num3); - CollectionsMarshal.AsSpan(list208)[0] = 60091u; - skipStepConditions6.NotNamePlateIconId = list208; - skipConditions7.StepIf = skipStepConditions6; - obj132.SkipConditions = skipConditions7; - reference162 = obj132; - ref QuestStep reference163 = ref span87[8]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1031695u, new Vector3(-32.852783f, -16f, 169.9397f), 886); - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 1; - List list209 = new List(num3); - CollectionsMarshal.SetCount(list209, num3); - CollectionsMarshal.AsSpan(list209)[0] = 60091u; - skipStepConditions7.NotNamePlateIconId = list209; - skipConditions8.StepIf = skipStepConditions7; - questStep14.SkipConditions = skipConditions8; - reference163 = questStep14; - ref QuestStep reference164 = ref span87[9]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1031681u, new Vector3(8.102478f, -16.00001f, 146.34924f), 886); - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions8 = new SkipStepConditions(); - num3 = 1; - List list210 = new List(num3); - CollectionsMarshal.SetCount(list210, num3); - CollectionsMarshal.AsSpan(list210)[0] = 60091u; - skipStepConditions8.NotNamePlateIconId = list210; - skipConditions9.StepIf = skipStepConditions8; - questStep15.SkipConditions = skipConditions9; - reference164 = questStep15; - span87[10] = new QuestStep(EInteractionType.AcceptQuest, 1031992u, new Vector3(-8.255188f, -16f, 162.43225f), 886); - obj129.Steps = list201; - reference155 = obj129; - ref QuestSequence reference165 = ref span86[1]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - Span span88 = CollectionsMarshal.AsSpan(list211); - span88[0] = new QuestStep(EInteractionType.Interact, 1031683u, new Vector3(13.260071f, -15.2f, 183.64221f), 886) - { - TargetTerritoryId = (ushort)418 - }; - span88[1] = new QuestStep(EInteractionType.Interact, 1031995u, new Vector3(21.86615f, -12.021002f, 54.184692f), 418); - obj133.Steps = list211; - reference165 = obj133; - ref QuestSequence reference166 = ref span86[2]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - CollectionsMarshal.AsSpan(list212)[0] = new QuestStep(EInteractionType.Interact, 1032843u, new Vector3(21.774597f, -12.020998f, 54.09314f), 418); - obj134.Steps = list212; - reference166 = obj134; - ref QuestSequence reference167 = ref span86[3]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - Span span89 = CollectionsMarshal.AsSpan(list213); - ref QuestStep reference168 = ref span89[0]; - QuestStep obj136 = new QuestStep(EInteractionType.Interact, 1012163u, new Vector3(128.25195f, 24.458832f, -0.6867676f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardBrume, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - num3 = 6; - List list214 = new List(num3); - CollectionsMarshal.SetCount(list214, num3); - Span span90 = CollectionsMarshal.AsSpan(list214); - span90[0] = null; - span90[1] = null; - span90[2] = null; - span90[3] = null; - span90[4] = null; - span90[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj136.CompletionQuestVariablesFlags = list214; - reference168 = obj136; - ref QuestStep reference169 = ref span89[1]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1011192u, new Vector3(88.36499f, 15.094684f, 31.296265f), 418); - num3 = 6; - List list215 = new List(num3); - CollectionsMarshal.SetCount(list215, num3); - Span span91 = CollectionsMarshal.AsSpan(list215); - span91[0] = null; - span91[1] = null; - span91[2] = null; - span91[3] = null; - span91[4] = null; - span91[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list215; - reference169 = questStep16; - ref QuestStep reference170 = ref span89[2]; - QuestStep obj137 = new QuestStep(EInteractionType.Interact, 1012180u, new Vector3(-174.18176f, -12.555469f, -21.561035f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardJeweledCrozier - } - }; - num3 = 6; - List list216 = new List(num3); - CollectionsMarshal.SetCount(list216, num3); - Span span92 = CollectionsMarshal.AsSpan(list216); - span92[0] = null; - span92[1] = null; - span92[2] = null; - span92[3] = null; - span92[4] = null; - span92[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj137.CompletionQuestVariablesFlags = list216; - reference170 = obj137; - obj135.Steps = list213; - reference167 = obj135; - ref QuestSequence reference171 = ref span86[4]; - QuestSequence obj138 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - Span span93 = CollectionsMarshal.AsSpan(list217); - span93[0] = new QuestStep(EInteractionType.Interact, 1031682u, new Vector3(152.97156f, -20.000004f, 63.767456f), 418) - { - TargetTerritoryId = (ushort)886, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardJeweledCrozier, - To = EAetheryteLocation.IshgardBrume - } - }; - span93[1] = new QuestStep(EInteractionType.CompleteQuest, 1031991u, new Vector3(-7.7669067f, -16.000002f, 163.3783f), 886) - { - NextQuestId = new QuestId(3726) - }; - obj138.Steps = list217; - reference171 = obj138; - questRoot23.QuestSequence = list200; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(3726); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - CollectionsMarshal.AsSpan(list218)[0] = "liza"; - questRoot24.Author = list218; - num = 3; - List list219 = new List(num); - CollectionsMarshal.SetCount(list219, num); - Span span94 = CollectionsMarshal.AsSpan(list219); - ref QuestSequence reference172 = ref span94[0]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031991u, new Vector3(-7.7669067f, -16.000002f, 163.3783f), 886); - obj139.Steps = list220; - reference172 = obj139; - ref QuestSequence reference173 = ref span94[1]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - ref QuestStep reference174 = ref CollectionsMarshal.AsSpan(list221)[0]; - QuestStep obj141 = new QuestStep(EInteractionType.Interact, 1032832u, new Vector3(-8.255188f, -16f, 162.40173f), 886) - { - StopDistance = 5f - }; - num3 = 4; - List list222 = new List(num3); - CollectionsMarshal.SetCount(list222, num3); - Span span95 = CollectionsMarshal.AsSpan(list222); - span95[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKHA102_03726_Q1_000_000") - }; - span95[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKHA102_03726_Q2_000_000"), - Answer = new ExcelRef("TEXT_LUCKHA102_03726_A2_000_002") - }; - span95[2] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKHA102_03726_Q3_000_000"), - Answer = new ExcelRef("TEXT_LUCKHA102_03726_A3_000_001") - }; - span95[3] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKHA102_03726_Q4_000_000"), - Answer = new ExcelRef("TEXT_LUCKHA102_03726_A4_000_003") - }; - obj141.DialogueChoices = list222; - reference174 = obj141; - obj140.Steps = list221; - reference173 = obj140; - ref QuestSequence reference175 = ref span94[2]; - QuestSequence obj142 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - CollectionsMarshal.AsSpan(list223)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032832u, new Vector3(-8.255188f, -16f, 162.40173f), 886) - { - StopDistance = 5f, - NextQuestId = new QuestId(3727) - }; - obj142.Steps = list223; - reference175 = obj142; - questRoot24.QuestSequence = list219; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(3727); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list224 = new List(num); - CollectionsMarshal.SetCount(list224, num); - CollectionsMarshal.AsSpan(list224)[0] = "liza"; - questRoot25.Author = list224; - num = 5; - List list225 = new List(num); - CollectionsMarshal.SetCount(list225, num); - Span span96 = CollectionsMarshal.AsSpan(list225); - ref QuestSequence reference176 = ref span96[0]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - CollectionsMarshal.AsSpan(list226)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031998u, new Vector3(-6.9733887f, -16f, 164.20227f), 886) - { - StopDistance = 5f - }; - obj143.Steps = list226; - reference176 = obj143; - ref QuestSequence reference177 = ref span96[1]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.Interact, 1031999u, new Vector3(-4.2268066f, 1.4791284f, 115.37341f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard - }; - obj144.Steps = list227; - reference177 = obj144; - ref QuestSequence reference178 = ref span96[2]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - Span span97 = CollectionsMarshal.AsSpan(list228); - span97[0] = new QuestStep(EInteractionType.None, null, null, 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardFirmament - } - }; - span97[1] = new QuestStep(EInteractionType.Interact, 1031996u, new Vector3(209.55212f, -40.000004f, 8.132996f), 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmamentMendicantsCourt, - To = EAetheryteLocation.FirmanentSaintRoellesDais - } - }; - obj145.Steps = list228; - reference178 = obj145; - ref QuestSequence reference179 = ref span96[3]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.Interact, 1032001u, new Vector3(161.79138f, -50f, 73.47217f), 886); - obj146.Steps = list229; - reference179 = obj146; - ref QuestSequence reference180 = ref span96[4]; - QuestSequence obj147 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031996u, new Vector3(209.55212f, -40.000004f, 8.132996f), 886) - { - NextQuestId = new QuestId(3728) - }; - obj147.Steps = list230; - reference180 = obj147; - questRoot25.QuestSequence = list225; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(3728); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list231 = new List(num); - CollectionsMarshal.SetCount(list231, num); - CollectionsMarshal.AsSpan(list231)[0] = "liza"; - questRoot26.Author = list231; - num = 6; - List list232 = new List(num); - CollectionsMarshal.SetCount(list232, num); - Span span98 = CollectionsMarshal.AsSpan(list232); - ref QuestSequence reference181 = ref span98[0]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - CollectionsMarshal.AsSpan(list233)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031996u, new Vector3(209.55212f, -40.000004f, 8.132996f), 886); - obj148.Steps = list233; - reference181 = obj148; - ref QuestSequence reference182 = ref span98[1]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - CollectionsMarshal.AsSpan(list234)[0] = new QuestStep(EInteractionType.Interact, 1032844u, new Vector3(147.93616f, -49.999996f, 76.920654f), 886); - obj149.Steps = list234; - reference182 = obj149; - ref QuestSequence reference183 = ref span98[2]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - Span span99 = CollectionsMarshal.AsSpan(list235); - span99[0] = new QuestStep(EInteractionType.PurchaseItem, 1031689u, new Vector3(48.8136f, -16f, 150.92688f), 886) - { - Comment = "Buy standard spectrum dye", - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmamentNewNest, - To = EAetheryteLocation.FirmamentMendicantsCourt - }, - ItemId = 52254u, - ItemCount = 2, - PurchaseMenu = new PurchaseMenu - { - ExcelSheet = "GilShop", - Key = new ExcelRef(262151u) - } - }; - span99[1] = new QuestStep(EInteractionType.Interact, 1032844u, new Vector3(147.93616f, -49.999996f, 76.920654f), 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmamentMendicantsCourt, - To = EAetheryteLocation.FirmamentNewNest - } - }; - obj150.Steps = list235; - reference183 = obj150; - ref QuestSequence reference184 = ref span98[3]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - ref QuestStep reference185 = ref CollectionsMarshal.AsSpan(list236)[0]; - QuestStep obj152 = new QuestStep(EInteractionType.Interact, 1032003u, new Vector3(94.92627f, -18.500006f, 171.1604f), 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmamentNewNest, - To = EAetheryteLocation.FirmamentMendicantsCourt - } - }; - num3 = 1; - List list237 = new List(num3); - CollectionsMarshal.SetCount(list237, num3); - CollectionsMarshal.AsSpan(list237)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKHA104_03728_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKHA104_03728_A1_000_001") - }; - obj152.DialogueChoices = list237; - reference185 = obj152; - obj151.Steps = list236; - reference184 = obj151; - ref QuestSequence reference186 = ref span98[4]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.Interact, 2010924u, new Vector3(103.1051f, -20.004639f, 4.196167f), 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmamentMendicantsCourt, - To = EAetheryteLocation.FirmamentMattock - } - }; - obj153.Steps = list238; - reference186 = obj153; - ref QuestSequence reference187 = ref span98[5]; - QuestSequence obj154 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - CollectionsMarshal.AsSpan(list239)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031996u, new Vector3(209.55212f, -40.000004f, 8.132996f), 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmamentMattock, - To = EAetheryteLocation.FirmanentSaintRoellesDais - }, - NextQuestId = new QuestId(3837) - }; - obj154.Steps = list239; - reference187 = obj154; - questRoot26.QuestSequence = list232; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(3729); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list240 = new List(num); - CollectionsMarshal.SetCount(list240, num); - CollectionsMarshal.AsSpan(list240)[0] = "liza"; - questRoot27.Author = list240; - num = 3; - List list241 = new List(num); - CollectionsMarshal.SetCount(list241, num); - Span span100 = CollectionsMarshal.AsSpan(list241); - ref QuestSequence reference188 = ref span100[0]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - ref QuestStep reference189 = ref CollectionsMarshal.AsSpan(list242)[0]; - QuestStep obj156 = new QuestStep(EInteractionType.AcceptQuest, 1031781u, new Vector3(24.246582f, 82.78206f, 25.77246f), 820) - { - AetheryteShortcut = EAetheryteLocation.Eulmore, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list243 = new List(num3); - CollectionsMarshal.SetCount(list243, num3); - CollectionsMarshal.AsSpan(list243)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_SUBCTS640_03729_Q1_000_000"), - Answer = new ExcelRef("TEXT_SUBCTS640_03729_A1_000_002") - }; - obj156.DialogueChoices = list243; - reference189 = obj156; - obj155.Steps = list242; - reference188 = obj155; - ref QuestSequence reference190 = ref span100[1]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.Interact, 2010842u, new Vector3(27.450928f, 82.6886f, -45.456665f), 820); - obj157.Steps = list244; - reference190 = obj157; - ref QuestSequence reference191 = ref span100[2]; - QuestSequence obj158 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031801u, new Vector3(52.8114f, 83.001076f, -65.38495f), 820); - obj158.Steps = list245; - reference191 = obj158; - questRoot27.QuestSequence = list241; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(3730); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list246 = new List(num); - CollectionsMarshal.SetCount(list246, num); - CollectionsMarshal.AsSpan(list246)[0] = "Censored"; - questRoot28.Author = list246; - num = 4; - List list247 = new List(num); - CollectionsMarshal.SetCount(list247, num); - Span span101 = CollectionsMarshal.AsSpan(list247); - ref QuestSequence reference192 = ref span101[0]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031802u, new Vector3(48.264282f, 82.001656f, -56.6568f), 820) - { - Sprint = true, - AetheryteShortcut = EAetheryteLocation.Eulmore, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(48.264282f, 82.001656f, -56.6568f), - MaximumDistance = 100f, - TerritoryId = 820 - } - } - } - }; - obj159.Steps = list248; - reference192 = obj159; - ref QuestSequence reference193 = ref span101[1]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - ref QuestStep reference194 = ref CollectionsMarshal.AsSpan(list249)[0]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1031801u, new Vector3(52.8114f, 83.001076f, -65.38495f), 820); - num3 = 1; - List list250 = new List(num3); - CollectionsMarshal.SetCount(list250, num3); - CollectionsMarshal.AsSpan(list250)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_SUBCTS641_03730_Q1_000_000"), - Answer = new ExcelRef("TEXT_SUBCTS641_03730_A1_000_001") - }; - questStep17.DialogueChoices = list250; - reference194 = questStep17; - obj160.Steps = list249; - reference193 = obj160; - ref QuestSequence reference195 = ref span101[2]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.Interact, 1029978u, new Vector3(-7.522766f, 23f, 14.755432f), 820) - { - Sprint = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Eulmore, - To = EAetheryteLocation.EulmoreMainstay - } - }; - obj161.Steps = list251; - reference195 = obj161; - ref QuestSequence reference196 = ref span101[3]; - QuestSequence obj162 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - CollectionsMarshal.AsSpan(list252)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031801u, new Vector3(52.8114f, 83.001076f, -65.38495f), 820) - { - Sprint = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.EulmoreMainstay, - To = EAetheryteLocation.Eulmore - } - }; - obj162.Steps = list252; - reference196 = obj162; - questRoot28.QuestSequence = list247; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(3731); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list253 = new List(num); - CollectionsMarshal.SetCount(list253, num); - CollectionsMarshal.AsSpan(list253)[0] = "Censored"; - questRoot29.Author = list253; - num = 2; - List list254 = new List(num); - CollectionsMarshal.SetCount(list254, num); - Span span102 = CollectionsMarshal.AsSpan(list254); - ref QuestSequence reference197 = ref span102[0]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - CollectionsMarshal.AsSpan(list255)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027570u, new Vector3(47.989624f, 83.00107f, -75.30328f), 820) - { - AetheryteShortcut = EAetheryteLocation.Eulmore, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(47.989624f, 83.00107f, -75.30328f), - MaximumDistance = 100f, - TerritoryId = 820 - } - } - } - }; - obj163.Steps = list255; - reference197 = obj163; - ref QuestSequence reference198 = ref span102[1]; - QuestSequence obj164 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031118u, new Vector3(-2.3041382f, 85.537865f, -82.65814f), 820); - obj164.Steps = list256; - reference198 = obj164; - questRoot29.QuestSequence = list254; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(3732); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list257 = new List(num); - CollectionsMarshal.SetCount(list257, num); - CollectionsMarshal.AsSpan(list257)[0] = "liza"; - questRoot30.Author = list257; - num = 4; - List list258 = new List(num); - CollectionsMarshal.SetCount(list258, num); - Span span103 = CollectionsMarshal.AsSpan(list258); - ref QuestSequence reference199 = ref span103[0]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - ref QuestStep reference200 = ref CollectionsMarshal.AsSpan(list259)[0]; - QuestStep obj166 = new QuestStep(EInteractionType.AcceptQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipAetheryteCondition obj167 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list260 = new List(num3); - CollectionsMarshal.SetCount(list260, num3); - CollectionsMarshal.AsSpan(list260)[0] = 131; - obj167.InTerritory = list260; - skipConditions10.AetheryteShortcutIf = obj167; - obj166.SkipConditions = skipConditions10; - reference200 = obj166; - obj165.Steps = list259; - reference199 = obj165; - ref QuestSequence reference201 = ref span103[1]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.Interact, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - StopDistance = 5f - }; - obj168.Steps = list261; - reference201 = obj168; - ref QuestSequence reference202 = ref span103[2]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - CollectionsMarshal.AsSpan(list262)[0] = new QuestStep(EInteractionType.Interact, 1031957u, new Vector3(16.433899f, 10f, 152.97156f), 131); - obj169.Steps = list262; - reference202 = obj169; - ref QuestSequence reference203 = ref span103[3]; - QuestSequence obj170 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - CollectionsMarshal.AsSpan(list263)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - NextQuestId = new QuestId(3733) - }; - obj170.Steps = list263; - reference203 = obj170; - questRoot30.QuestSequence = list258; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(3733); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list264 = new List(num); - CollectionsMarshal.SetCount(list264, num); - CollectionsMarshal.AsSpan(list264)[0] = "liza"; - questRoot31.Author = list264; - num = 5; - List list265 = new List(num); - CollectionsMarshal.SetCount(list265, num); - Span span104 = CollectionsMarshal.AsSpan(list265); - ref QuestSequence reference204 = ref span104[0]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - ref QuestStep reference205 = ref CollectionsMarshal.AsSpan(list266)[0]; - QuestStep obj172 = new QuestStep(EInteractionType.AcceptQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipAetheryteCondition obj173 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list267 = new List(num3); - CollectionsMarshal.SetCount(list267, num3); - CollectionsMarshal.AsSpan(list267)[0] = 131; - obj173.InTerritory = list267; - skipConditions11.AetheryteShortcutIf = obj173; - obj172.SkipConditions = skipConditions11; - reference205 = obj172; - obj171.Steps = list266; - reference204 = obj171; - ref QuestSequence reference206 = ref span104[1]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - CollectionsMarshal.AsSpan(list268)[0] = new QuestStep(EInteractionType.Interact, 1031958u, new Vector3(178.0575f, 51.459526f, 104.69214f), 140) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahWeaver, - To = EAetheryteLocation.UldahGateOfTheSultana - } - }; - obj174.Steps = list268; - reference206 = obj174; - ref QuestSequence reference207 = ref span104[2]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - ref QuestStep reference208 = ref CollectionsMarshal.AsSpan(list269)[0]; - QuestStep obj176 = new QuestStep(EInteractionType.Combat, 1031958u, new Vector3(178.0575f, 51.459526f, 104.69214f), 140) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list270 = new List(num3); - CollectionsMarshal.SetCount(list270, num3); - CollectionsMarshal.AsSpan(list270)[0] = 11441u; - obj176.KillEnemyDataIds = list270; - reference208 = obj176; - obj175.Steps = list269; - reference207 = obj175; - ref QuestSequence reference209 = ref span104[3]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - CollectionsMarshal.AsSpan(list271)[0] = new QuestStep(EInteractionType.Interact, 1031958u, new Vector3(178.0575f, 51.459526f, 104.69214f), 140); - obj177.Steps = list271; - reference209 = obj177; - ref QuestSequence reference210 = ref span104[4]; - QuestSequence obj178 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - CollectionsMarshal.AsSpan(list272)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - }, - NextQuestId = new QuestId(3734) - }; - obj178.Steps = list272; - reference210 = obj178; - questRoot31.QuestSequence = list265; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(3734); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list273 = new List(num); - CollectionsMarshal.SetCount(list273, num); - CollectionsMarshal.AsSpan(list273)[0] = "liza"; - questRoot32.Author = list273; - num = 6; - List list274 = new List(num); - CollectionsMarshal.SetCount(list274, num); - Span span105 = CollectionsMarshal.AsSpan(list274); - ref QuestSequence reference211 = ref span105[0]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - ref QuestStep reference212 = ref CollectionsMarshal.AsSpan(list275)[0]; - QuestStep obj180 = new QuestStep(EInteractionType.AcceptQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions12 = new SkipConditions(); - SkipAetheryteCondition obj181 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list276 = new List(num3); - CollectionsMarshal.SetCount(list276, num3); - CollectionsMarshal.AsSpan(list276)[0] = 131; - obj181.InTerritory = list276; - skipConditions12.AetheryteShortcutIf = obj181; - obj180.SkipConditions = skipConditions12; - reference212 = obj180; - obj179.Steps = list275; - reference211 = obj179; - ref QuestSequence reference213 = ref span105[1]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - CollectionsMarshal.AsSpan(list277)[0] = new QuestStep(EInteractionType.Interact, 1031962u, new Vector3(-25.558899f, 14f, 84.51965f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahWeaver, - To = EAetheryteLocation.UldahGoldsmith - } - }; - obj182.Steps = list277; - reference213 = obj182; - ref QuestSequence reference214 = ref span105[2]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - CollectionsMarshal.AsSpan(list278)[0] = new QuestStep(EInteractionType.Interact, 1031965u, new Vector3(-193.3471f, 18f, 88.181885f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGoldsmith, - To = EAetheryteLocation.UldahThaumaturge - } - }; - obj183.Steps = list278; - reference214 = obj183; - ref QuestSequence reference215 = ref span105[3]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - CollectionsMarshal.AsSpan(list279)[0] = new QuestStep(EInteractionType.Interact, 1031968u, new Vector3(34.286987f, 7.9999285f, -113.78656f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahThaumaturge, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj184.Steps = list279; - reference215 = obj184; - ref QuestSequence reference216 = ref span105[4]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - CollectionsMarshal.AsSpan(list280)[0] = new QuestStep(EInteractionType.Interact, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahWeaver - } - }; - obj185.Steps = list280; - reference216 = obj185; - ref QuestSequence reference217 = ref span105[5]; - QuestSequence obj186 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - CollectionsMarshal.AsSpan(list281)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - NextQuestId = new QuestId(3735) - }; - obj186.Steps = list281; - reference217 = obj186; - questRoot32.QuestSequence = list274; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(3735); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list282 = new List(num); - CollectionsMarshal.SetCount(list282, num); - CollectionsMarshal.AsSpan(list282)[0] = "liza"; - questRoot33.Author = list282; - num = 6; - List list283 = new List(num); - CollectionsMarshal.SetCount(list283, num); - Span span106 = CollectionsMarshal.AsSpan(list283); - ref QuestSequence reference218 = ref span106[0]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - ref QuestStep reference219 = ref CollectionsMarshal.AsSpan(list284)[0]; - QuestStep obj188 = new QuestStep(EInteractionType.AcceptQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions13 = new SkipConditions(); - SkipAetheryteCondition obj189 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list285 = new List(num3); - CollectionsMarshal.SetCount(list285, num3); - CollectionsMarshal.AsSpan(list285)[0] = 131; - obj189.InTerritory = list285; - skipConditions13.AetheryteShortcutIf = obj189; - obj188.SkipConditions = skipConditions13; - reference219 = obj188; - obj187.Steps = list284; - reference218 = obj187; - ref QuestSequence reference220 = ref span106[1]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - CollectionsMarshal.AsSpan(list286)[0] = new QuestStep(EInteractionType.Interact, 1032158u, new Vector3(74.23511f, 45f, -204.27258f), 140) - { - AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon - }; - obj190.Steps = list286; - reference220 = obj190; - ref QuestSequence reference221 = ref span106[2]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - CollectionsMarshal.AsSpan(list287)[0] = new QuestStep(EInteractionType.Interact, 1031971u, new Vector3(298.146f, 62.280518f, -209.0639f), 140) - { - Fly = true - }; - obj191.Steps = list287; - reference221 = obj191; - ref QuestSequence reference222 = ref span106[3]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - ref QuestStep reference223 = ref CollectionsMarshal.AsSpan(list288)[0]; - QuestStep obj193 = new QuestStep(EInteractionType.Combat, 2010849u, new Vector3(192.55359f, 55.039307f, -190.81409f), 140) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list289 = new List(num3); - CollectionsMarshal.SetCount(list289, num3); - CollectionsMarshal.AsSpan(list289)[0] = 11442u; - obj193.KillEnemyDataIds = list289; - reference223 = obj193; - obj192.Steps = list288; - reference222 = obj192; - ref QuestSequence reference224 = ref span106[4]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - CollectionsMarshal.AsSpan(list290)[0] = new QuestStep(EInteractionType.Interact, 1031971u, new Vector3(298.146f, 62.280518f, -209.0639f), 140) - { - Fly = true - }; - obj194.Steps = list290; - reference224 = obj194; - ref QuestSequence reference225 = ref span106[5]; - QuestSequence obj195 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - CollectionsMarshal.AsSpan(list291)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - }, - NextQuestId = new QuestId(3736) - }; - obj195.Steps = list291; - reference225 = obj195; - questRoot33.QuestSequence = list283; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(3736); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list292 = new List(num); - CollectionsMarshal.SetCount(list292, num); - CollectionsMarshal.AsSpan(list292)[0] = "liza"; - questRoot34.Author = list292; - num = 4; - List list293 = new List(num); - CollectionsMarshal.SetCount(list293, num); - Span span107 = CollectionsMarshal.AsSpan(list293); - ref QuestSequence reference226 = ref span107[0]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - ref QuestStep reference227 = ref CollectionsMarshal.AsSpan(list294)[0]; - QuestStep obj197 = new QuestStep(EInteractionType.AcceptQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions14 = new SkipConditions(); - SkipAetheryteCondition obj198 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list295 = new List(num3); - CollectionsMarshal.SetCount(list295, num3); - CollectionsMarshal.AsSpan(list295)[0] = 131; - obj198.InTerritory = list295; - skipConditions14.AetheryteShortcutIf = obj198; - obj197.SkipConditions = skipConditions14; - reference227 = obj197; - obj196.Steps = list294; - reference226 = obj196; - ref QuestSequence reference228 = ref span107[1]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - Span span108 = CollectionsMarshal.AsSpan(list296); - ref QuestStep reference229 = ref span108[0]; - QuestStep obj200 = new QuestStep(EInteractionType.Interact, 1031980u, new Vector3(-85.00806f, 6.9845695f, -11.001831f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahWeaver, - To = EAetheryteLocation.UldahGladiator - } - }; - num3 = 6; - List list297 = new List(num3); - CollectionsMarshal.SetCount(list297, num3); - Span span109 = CollectionsMarshal.AsSpan(list297); - span109[0] = null; - span109[1] = null; - span109[2] = null; - span109[3] = null; - span109[4] = null; - span109[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj200.CompletionQuestVariablesFlags = list297; - reference229 = obj200; - ref QuestStep reference230 = ref span108[1]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1031979u, new Vector3(-92.5155f, 6.9845695f, -17.07489f), 131); - num3 = 6; - List list298 = new List(num3); - CollectionsMarshal.SetCount(list298, num3); - Span span110 = CollectionsMarshal.AsSpan(list298); - span110[0] = null; - span110[1] = null; - span110[2] = null; - span110[3] = null; - span110[4] = null; - span110[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list298; - reference230 = questStep18; - ref QuestStep reference231 = ref span108[2]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 1001675u, new Vector3(-89.49426f, 7.008118f, 10.849121f), 131); - num3 = 6; - List list299 = new List(num3); - CollectionsMarshal.SetCount(list299, num3); - Span span111 = CollectionsMarshal.AsSpan(list299); - span111[0] = null; - span111[1] = null; - span111[2] = null; - span111[3] = null; - span111[4] = null; - span111[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list299; - reference231 = questStep19; - obj199.Steps = list296; - reference228 = obj199; - ref QuestSequence reference232 = ref span107[2]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - CollectionsMarshal.AsSpan(list300)[0] = new QuestStep(EInteractionType.Interact, 1031978u, new Vector3(-75.05914f, 6.9845705f, 10.971252f), 131); - obj201.Steps = list300; - reference232 = obj201; - ref QuestSequence reference233 = ref span107[3]; - QuestSequence obj202 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - CollectionsMarshal.AsSpan(list301)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - StopDistance = 5f, - NextQuestId = new QuestId(3737) - }; - obj202.Steps = list301; - reference233 = obj202; - questRoot34.QuestSequence = list293; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(3737); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list302 = new List(num); - CollectionsMarshal.SetCount(list302, num); - CollectionsMarshal.AsSpan(list302)[0] = "liza"; - questRoot35.Author = list302; - num = 2; - List list303 = new List(num); - CollectionsMarshal.SetCount(list303, num); - Span span112 = CollectionsMarshal.AsSpan(list303); - ref QuestSequence reference234 = ref span112[0]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - ref QuestStep reference235 = ref CollectionsMarshal.AsSpan(list304)[0]; - QuestStep obj204 = new QuestStep(EInteractionType.AcceptQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions15 = new SkipConditions(); - SkipAetheryteCondition obj205 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list305 = new List(num3); - CollectionsMarshal.SetCount(list305, num3); - CollectionsMarshal.AsSpan(list305)[0] = 131; - obj205.InTerritory = list305; - skipConditions15.AetheryteShortcutIf = obj205; - obj204.SkipConditions = skipConditions15; - reference235 = obj204; - obj203.Steps = list304; - reference234 = obj203; - ref QuestSequence reference236 = ref span112[1]; - QuestSequence obj206 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - CollectionsMarshal.AsSpan(list306)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - StopDistance = 5f, - NextQuestId = new QuestId(3989) - }; - obj206.Steps = list306; - reference236 = obj206; - questRoot35.QuestSequence = list303; - AddQuest(questId35, questRoot35); - } - - private static void LoadQuests75() - { - QuestId questId = new QuestId(3750); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "Censored"; - questRoot.Author = list; - num = 4; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference2 = ref CollectionsMarshal.AsSpan(list3)[0]; - QuestStep obj2 = new QuestStep(EInteractionType.AcceptQuest, 1018433u, new Vector3(50.766724f, 50f, -772.3964f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - int num3 = 1; - List list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - CollectionsMarshal.AsSpan(list4)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKZK991_03750_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKZK991_03750_A1_000_000") - }; - obj2.DialogueChoices = list4; - reference2 = obj2; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference3 = ref span[1]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 2009865u, new Vector3(-52.781067f, 17.990356f, 48.90515f), 131) - { - Sprint = true, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGoldsmith - } - }; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - Span span2 = CollectionsMarshal.AsSpan(list6); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-509.02783f, -16.420786f, 11.723575f), 145) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - span2[1] = new QuestStep(EInteractionType.Interact, 1006355u, new Vector3(-512.47424f, -16.42f, -7.522766f), 145); - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[3]; - QuestSequence obj5 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - Span span3 = CollectionsMarshal.AsSpan(list7); - span3[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-509.17432f, -16.420816f, 10.977634f), 145) - { - Mount = true - }; - span3[1] = new QuestStep(EInteractionType.CompleteQuest, 1030875u, new Vector3(-458.64044f, -28.193886f, 110.64307f), 145) - { - Fly = true - }; - obj5.Steps = list7; - reference5 = obj5; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(3761); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - CollectionsMarshal.AsSpan(list8)[0] = "liza"; - questRoot2.Author = list8; - num = 3; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - Span span4 = CollectionsMarshal.AsSpan(list9); - ref QuestSequence reference6 = ref span4[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031783u, new Vector3(-3.03656f, 0.01804012f, -8.1026f), 351) - { - StopDistance = 5f - }; - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span4[1]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.Interact, 1032495u, new Vector3(737.63635f, 70f, 515.0072f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter - }; - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span4[2]; - QuestSequence obj8 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032494u, new Vector3(739.6504f, 70f, 514.21375f), 621); - obj8.Steps = list12; - reference8 = obj8; - questRoot2.QuestSequence = list9; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(3762); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = "liza"; - questRoot3.Author = list13; - num = 2; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - Span span5 = CollectionsMarshal.AsSpan(list14); - ref QuestSequence reference9 = ref span5[0]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032494u, new Vector3(739.6504f, 70f, 514.21375f), 621); - obj9.Steps = list15; - reference9 = obj9; - ref QuestSequence reference10 = ref span5[1]; - QuestSequence obj10 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - Span span6 = CollectionsMarshal.AsSpan(list16); - span6[0] = new QuestStep(EInteractionType.Interact, 1027230u, new Vector3(117.997925f, 14.649025f, 7.156433f), 819) - { - TargetTerritoryId = (ushort)844, - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - span6[1] = new QuestStep(EInteractionType.CompleteQuest, 1032121u, new Vector3(0.045776367f, -5.996435E-14f, -5.5390625f), 844); - obj10.Steps = list16; - reference10 = obj10; - questRoot3.QuestSequence = list14; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(3763); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - CollectionsMarshal.AsSpan(list17)[0] = "liza"; - questRoot4.Author = list17; - num = 5; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - Span span7 = CollectionsMarshal.AsSpan(list18); - ref QuestSequence reference11 = ref span7[0]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.AcceptQuest, 1031722u, new Vector3(-1.7853394f, 0f, -1.8158569f), 844); - obj11.Steps = list19; - reference11 = obj11; - ref QuestSequence reference12 = ref span7[1]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - Span span8 = CollectionsMarshal.AsSpan(list20); - span8[0] = new QuestStep(EInteractionType.Interact, 2009758u, new Vector3(-0.009940993f, 1.036532f, 14.22064f), 844) - { - TargetTerritoryId = (ushort)819 - }; - ref QuestStep reference13 = ref span8[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1030370u, new Vector3(66.84973f, -2.9802322E-07f, 13.321045f), 819); - num3 = 1; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - CollectionsMarshal.AsSpan(list21)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMH103_03763_Q1_000_500"), - Answer = new ExcelRef("TEXT_LUCKMH103_03763_A1_000_500") - }; - questStep.DialogueChoices = list21; - reference13 = questStep; - obj12.Steps = list20; - reference12 = obj12; - ref QuestSequence reference14 = ref span7[2]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.Interact, 1032648u, new Vector3(768.6426f, 21.38111f, -8.46875f), 813) - { - AetheryteShortcut = EAetheryteLocation.LakelandFortJobb - }; - obj13.Steps = list22; - reference14 = obj13; - ref QuestSequence reference15 = ref span7[3]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.Interact, 1032498u, new Vector3(628.6869f, 94.385544f, -645.9297f), 813) - { - Fly = true - }; - obj14.Steps = list23; - reference15 = obj14; - ref QuestSequence reference16 = ref span7[4]; - QuestSequence obj15 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032502u, new Vector3(629.0836f, 94.39156f, -644.98364f), 813); - obj15.Steps = list24; - reference16 = obj15; - questRoot4.QuestSequence = list18; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(3764); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - CollectionsMarshal.AsSpan(list25)[0] = "liza"; - questRoot5.Author = list25; - num = 4; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - Span span9 = CollectionsMarshal.AsSpan(list26); - ref QuestSequence reference17 = ref span9[0]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032502u, new Vector3(629.0836f, 94.39156f, -644.98364f), 813); - obj16.Steps = list27; - reference17 = obj16; - ref QuestSequence reference18 = ref span9[1]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - Span span10 = CollectionsMarshal.AsSpan(list28); - span10[0] = new QuestStep(EInteractionType.Interact, 1027230u, new Vector3(117.997925f, 14.649025f, 7.156433f), 819) - { - TargetTerritoryId = (ushort)844, - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - span10[1] = new QuestStep(EInteractionType.Interact, 1031722u, new Vector3(-1.7853394f, 0f, -1.8158569f), 844); - obj17.Steps = list28; - reference18 = obj17; - ref QuestSequence reference19 = ref span9[2]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 2 - }; - num2 = 6; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - Span span11 = CollectionsMarshal.AsSpan(list29); - span11[0] = new QuestStep(EInteractionType.Interact, 2009758u, new Vector3(-0.015319824f, 1.0223389f, 14.206055f), 844) - { - TargetTerritoryId = (ushort)819 - }; - ref QuestStep reference20 = ref span11[1]; - QuestStep obj19 = new QuestStep(EInteractionType.Interact, 1027248u, new Vector3(-30.807983f, -0.64999914f, -51.438232f), 819) - { - Comment = "Chessamile" - }; - num3 = 6; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - Span span12 = CollectionsMarshal.AsSpan(list30); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj19.CompletionQuestVariablesFlags = list30; - reference20 = obj19; - ref QuestStep reference21 = ref span11[2]; - QuestStep obj20 = new QuestStep(EInteractionType.Interact, 1027224u, new Vector3(-57.358704f, -7.4820004f, 118.08948f), 819) - { - Comment = "Bragi" - }; - num3 = 6; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - Span span13 = CollectionsMarshal.AsSpan(list31); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj20.CompletionQuestVariablesFlags = list31; - reference21 = obj20; - ref QuestStep reference22 = ref span11[3]; - QuestStep obj21 = new QuestStep(EInteractionType.Interact, 1027322u, new Vector3(-20.126648f, 3.9998171f, 204.24194f), 819) - { - StopDistance = 4f, - Comment = "Glynard" - }; - num3 = 6; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - Span span14 = CollectionsMarshal.AsSpan(list32); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj21.CompletionQuestVariablesFlags = list32; - reference22 = obj21; - ref QuestStep reference23 = ref span11[4]; - QuestStep obj22 = new QuestStep(EInteractionType.Interact, 1027232u, new Vector3(-9.323303f, 20.1973f, -136.52252f), 819) - { - Comment = "Katliss", - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumPendants, - To = EAetheryteLocation.CrystariumCrystallineMean - } - }; - num3 = 6; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - Span span15 = CollectionsMarshal.AsSpan(list33); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj22.CompletionQuestVariablesFlags = list33; - reference23 = obj22; - ref QuestStep reference24 = ref span11[5]; - QuestStep obj23 = new QuestStep(EInteractionType.Interact, 1027226u, new Vector3(-61.84485f, -17.72202f, -266.2547f), 819) - { - Comment = "Moren", - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumCrystallineMean, - To = EAetheryteLocation.CrystariumCabinetOfCuriosity - } - }; - num3 = 6; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - Span span16 = CollectionsMarshal.AsSpan(list34); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj23.CompletionQuestVariablesFlags = list34; - reference24 = obj23; - obj18.Steps = list29; - reference19 = obj18; - ref QuestSequence reference25 = ref span9[3]; - QuestSequence obj24 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032503u, new Vector3(29.709229f, -6.088685E-13f, -0.869812f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium - }; - obj24.Steps = list35; - reference25 = obj24; - questRoot5.QuestSequence = list26; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(3765); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - CollectionsMarshal.AsSpan(list36)[0] = "liza"; - questRoot6.Author = list36; - num = 4; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - Span span17 = CollectionsMarshal.AsSpan(list37); - ref QuestSequence reference26 = ref span17[0]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032121u, new Vector3(0.045776367f, -5.996435E-14f, -5.5390625f), 844) - { - StopDistance = 7f - }; - obj25.Steps = list38; - reference26 = obj25; - ref QuestSequence reference27 = ref span17[1]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 1032506u, new Vector3(453.05554f, 33.66181f, -156.9696f), 817) - { - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - obj26.Steps = list39; - reference27 = obj26; - ref QuestSequence reference28 = ref span17[2]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - ref QuestStep reference29 = ref CollectionsMarshal.AsSpan(list40)[0]; - QuestStep obj28 = new QuestStep(EInteractionType.SinglePlayerDuty, 1032509u, new Vector3(843.25916f, -65.313614f, -387.10614f), 817) - { - Fly = true, - Comment = "A Sleep Disturbed (Opo-Opo, Wolf, Serpent)" - }; - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions(); - num3 = 1; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - CollectionsMarshal.AsSpan(list41)[0] = "Doesn't walk to the teleporter to finish the duty"; - singlePlayerDutyOptions.Notes = list41; - obj28.SinglePlayerDutyOptions = singlePlayerDutyOptions; - num3 = 4; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - Span span18 = CollectionsMarshal.AsSpan(list42); - span18[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - ExcelSheet = "GimmickYesNo", - Prompt = new ExcelRef(138u), - DataId = 2011009u - }; - span18[1] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - ExcelSheet = "GimmickYesNo", - Prompt = new ExcelRef(139u), - DataId = 2011006u - }; - span18[2] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - ExcelSheet = "GimmickYesNo", - Prompt = new ExcelRef(142u), - DataId = 2011007u - }; - span18[3] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - ExcelSheet = "GimmickYesNo", - Prompt = new ExcelRef(137u) - }; - obj28.DialogueChoices = list42; - reference29 = obj28; - obj27.Steps = list40; - reference28 = obj27; - ref QuestSequence reference30 = ref span17[3]; - QuestSequence obj29 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032506u, new Vector3(453.05554f, 33.66181f, -156.9696f), 817) - { - StopDistance = 5f - }; - obj29.Steps = list43; - reference30 = obj29; - questRoot6.QuestSequence = list37; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(3766); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - CollectionsMarshal.AsSpan(list44)[0] = "liza"; - questRoot7.Author = list44; - num = 5; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - Span span19 = CollectionsMarshal.AsSpan(list45); - ref QuestSequence reference31 = ref span19[0]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.AcceptQuest, 1029234u, new Vector3(449.0271f, 33.66181f, -157.94617f), 817) - { - StopDistance = 5f - }; - obj30.Steps = list46; - reference31 = obj30; - ref QuestSequence reference32 = ref span19[1]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Interact, 1032263u, new Vector3(-87.87671f, -19.022131f, 298.20703f), 817) - { - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - obj31.Steps = list47; - reference32 = obj31; - ref QuestSequence reference33 = ref span19[2]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.Interact, 1027750u, new Vector3(-24.734924f, -25.324257f, 305.5924f), 817); - obj32.Steps = list48; - reference33 = obj32; - ref QuestSequence reference34 = ref span19[3]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.Interact, 1032513u, new Vector3(-37.06427f, -18.91939f, 334.21826f), 817); - obj33.Steps = list49; - reference34 = obj33; - ref QuestSequence reference35 = ref span19[4]; - QuestSequence obj34 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032515u, new Vector3(-642.2064f, 3.1136527f, 16.861145f), 817) - { - Fly = true - }; - obj34.Steps = list50; - reference35 = obj34; - questRoot7.QuestSequence = list45; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(3767); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - CollectionsMarshal.AsSpan(list51)[0] = "liza"; - questRoot8.Author = list51; - num = 4; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - Span span20 = CollectionsMarshal.AsSpan(list52); - ref QuestSequence reference36 = ref span20[0]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032518u, new Vector3(-641.8402f, 3.1716232f, 19.69934f), 817); - obj35.Steps = list53; - reference36 = obj35; - ref QuestSequence reference37 = ref span20[1]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.Interact, 1027757u, new Vector3(609.7047f, 350.3518f, -197.95532f), 818) - { - AetheryteShortcut = EAetheryteLocation.TempestOndoCups - }; - obj36.Steps = list54; - reference37 = obj36; - ref QuestSequence reference38 = ref span20[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 2 - }; - num2 = 6; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - Span span21 = CollectionsMarshal.AsSpan(list55); - span21[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-475.38354f, 400.55338f, -779.4299f), 818) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span21[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-559.0543f, 394.95718f, -611.97614f), 818) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span21[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-681.43286f, 404.5379f, -693.3609f), 818) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span21[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-675.946f, 408.10754f, -711.8061f), 818) - { - DisableNavmesh = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span21[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-423.6145f, 393.0597f, -823.20044f), 818) - { - Fly = true - }; - span21[5] = new QuestStep(EInteractionType.Interact, 2010814u, new Vector3(-422.47656f, 393.9115f, -824.094f), 818); - obj37.Steps = list55; - reference38 = obj37; - ref QuestSequence reference39 = ref span20[3]; - QuestSequence obj38 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027757u, new Vector3(609.7047f, 350.3518f, -197.95532f), 818) - { - AetheryteShortcut = EAetheryteLocation.TempestOndoCups - }; - obj38.Steps = list56; - reference39 = obj38; - questRoot8.QuestSequence = list52; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(3768); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - CollectionsMarshal.AsSpan(list57)[0] = "liza"; - questRoot9.Author = list57; - num = 7; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - Span span22 = CollectionsMarshal.AsSpan(list58); - ref QuestSequence reference40 = ref span22[0]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032526u, new Vector3(606.1035f, 350.3518f, -200f), 818); - obj39.Steps = list59; - reference40 = obj39; - ref QuestSequence reference41 = ref span22[1]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 1 - }; - num2 = 7; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - Span span23 = CollectionsMarshal.AsSpan(list60); - span23[0] = new QuestStep(EInteractionType.None, null, null, 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumTessellation - } - }; - span23[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(55.589294f, 2.0276523f, 669.1557f), 813) - { - Comment = "these bridges have navmesh problems", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span23[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(15.410904f, 2.2598603f, 677.3755f), 813) - { - DisableNavmesh = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span23[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-82.79376f, 11.970126f, 765.8721f), 813) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span23[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-234.70464f, 1.0942776f, 738.40204f), 813) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span23[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-269.44116f, -0.82486916f, 724.67255f), 813) - { - Fly = true - }; - span23[6] = new QuestStep(EInteractionType.Interact, 1032528u, new Vector3(-270.98505f, -0.82573783f, 723.96423f), 813); - obj40.Steps = list60; - reference41 = obj40; - ref QuestSequence reference42 = ref span22[2]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.Interact, 1030333u, new Vector3(-612.23773f, 27.728632f, 817.65466f), 813) - { - StopDistance = 5f - }; - obj41.Steps = list61; - reference42 = obj41; - ref QuestSequence reference43 = ref span22[3]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 3 - }; - num2 = 8; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - Span span24 = CollectionsMarshal.AsSpan(list62); - span24[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-591.3982f, 26.347507f, 773.5695f), 813) - { - DisableNavmesh = true, - Mount = true, - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span24[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-610.2863f, -2.1544409f, 734.7734f), 813) - { - DisableNavmesh = true, - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span24[2] = new QuestStep(EInteractionType.Dive, null, new Vector3(-565.32196f, -1.9743931f, 799.9003f), 813) - { - StopDistance = 1f, - DisableNavmesh = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span24[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-630.4265f, -29.862f, 752.5597f), 813) - { - Mount = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - ref QuestStep reference44 = ref span24[4]; - QuestStep obj43 = new QuestStep(EInteractionType.Interact, 2010280u, new Vector3(-630.4265f, -29.862f, 752.5597f), 813) - { - DisableNavmesh = true - }; - num3 = 6; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - Span span25 = CollectionsMarshal.AsSpan(list63); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj43.CompletionQuestVariablesFlags = list63; - reference44 = obj43; - span24[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-654.167f, -41.328938f, 741.29126f), 813) - { - Mount = true - }; - ref QuestStep reference45 = ref span24[6]; - QuestStep obj44 = new QuestStep(EInteractionType.Interact, 2010278u, new Vector3(-655.5123f, -40.299072f, 743.22107f), 813) - { - DisableNavmesh = true - }; - num3 = 6; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - Span span26 = CollectionsMarshal.AsSpan(list64); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj44.CompletionQuestVariablesFlags = list64; - reference45 = obj44; - ref QuestStep reference46 = ref span24[7]; - QuestStep obj45 = new QuestStep(EInteractionType.Interact, 2010282u, new Vector3(-663.14185f, -25.711487f, 738.82654f), 813) - { - Mount = true - }; - num3 = 6; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - Span span27 = CollectionsMarshal.AsSpan(list65); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj45.CompletionQuestVariablesFlags = list65; - reference46 = obj45; - obj42.Steps = list62; - reference43 = obj42; - ref QuestSequence reference47 = ref span22[4]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 4 - }; - num2 = 4; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - Span span28 = CollectionsMarshal.AsSpan(list66); - span28[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-643.2488f, -1.974393f, 714.8211f), 813) - { - DisableNavmesh = true, - Mount = true, - Fly = true, - RestartNavigationIfCancelled = false - }; - span28[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-573.45654f, 0.39776123f, 810.7269f), 813) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span28[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-619.98676f, 24.866888f, 794.4714f), 813) - { - Mount = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span28[3] = new QuestStep(EInteractionType.Interact, 1030333u, new Vector3(-612.23773f, 27.728632f, 817.65466f), 813) - { - Fly = true - }; - obj46.Steps = list66; - reference47 = obj46; - ref QuestSequence reference48 = ref span22[5]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.Interact, 1032531u, new Vector3(-130.90723f, 9.572956f, 697.68823f), 813); - obj47.Steps = list67; - reference48 = obj47; - ref QuestSequence reference49 = ref span22[6]; - QuestSequence obj48 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - Span span29 = CollectionsMarshal.AsSpan(list68); - span29[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-82.79376f, 11.970126f, 765.8721f), 813) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span29[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(15.410904f, 2.2598603f, 677.3755f), 813) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span29[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(55.589294f, 2.0276523f, 669.1557f), 813) - { - DisableNavmesh = true, - Comment = "these bridges have navmesh problems", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span29[3] = new QuestStep(EInteractionType.CompleteQuest, 1032554u, new Vector3(237.72021f, 5.6935816f, 552.1781f), 813) - { - Fly = true - }; - obj48.Steps = list68; - reference49 = obj48; - questRoot9.QuestSequence = list58; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(3769); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - CollectionsMarshal.AsSpan(list69)[0] = "liza"; - questRoot10.Author = list69; - num = 5; - List list70 = new List(num); - CollectionsMarshal.SetCount(list70, num); - Span span30 = CollectionsMarshal.AsSpan(list70); - ref QuestSequence reference50 = ref span30[0]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032555u, new Vector3(235.40088f, 5.733457f, 552.3612f), 813); - obj49.Steps = list71; - reference50 = obj49; - ref QuestSequence reference51 = ref span30[1]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.Interact, 1032539u, new Vector3(-534.1726f, 63.559536f, 735.1339f), 814) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaWright - }; - obj50.Steps = list72; - reference51 = obj50; - ref QuestSequence reference52 = ref span30[2]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.Duty, null, null, 814) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 714u - } - }; - obj51.Steps = list73; - reference52 = obj51; - span30[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference53 = ref span30[4]; - QuestSequence obj52 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032549u, new Vector3(-1.9074707f, -200.00002f, -425.10114f), 918); - obj52.Steps = list74; - reference53 = obj52; - questRoot10.QuestSequence = list70; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(3770); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - CollectionsMarshal.AsSpan(list75)[0] = "liza"; - questRoot11.Author = list75; - num = 6; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - Span span31 = CollectionsMarshal.AsSpan(list76); - ref QuestSequence reference54 = ref span31[0]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032539u, new Vector3(-534.1726f, 63.559536f, 735.1339f), 814); - obj53.Steps = list77; - reference54 = obj53; - span31[1] = new QuestSequence - { - Sequence = 1 - }; - ref QuestSequence reference55 = ref span31[2]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.Interact, 1032529u, new Vector3(5.5389404f, 0.019417249f, -0.5036011f), 819); - obj54.Steps = list78; - reference55 = obj54; - ref QuestSequence reference56 = ref span31[3]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.Interact, 1032558u, new Vector3(56.90088f, 36.19769f, -169.23785f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumDossalGate, - To = EAetheryteLocation.CrystariumAmaroLaunch - } - }; - obj55.Steps = list79; - reference56 = obj55; - ref QuestSequence reference57 = ref span31[4]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - Span span32 = CollectionsMarshal.AsSpan(list80); - span32[0] = new QuestStep(EInteractionType.Interact, 1027230u, new Vector3(117.997925f, 14.649025f, 7.156433f), 819) - { - TargetTerritoryId = (ushort)844, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumAmaroLaunch, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - span32[1] = new QuestStep(EInteractionType.Interact, 1032121u, new Vector3(0.045776367f, -5.996435E-14f, -5.5390625f), 844); - obj56.Steps = list80; - reference57 = obj56; - ref QuestSequence reference58 = ref span31[5]; - QuestSequence obj57 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - Span span33 = CollectionsMarshal.AsSpan(list81); - span33[0] = new QuestStep(EInteractionType.Interact, 2009758u, new Vector3(-0.015319824f, 1.0223389f, 14.206055f), 844) - { - TargetTerritoryId = (ushort)819 - }; - ref QuestStep reference59 = ref span33[1]; - QuestStep obj58 = new QuestStep(EInteractionType.CompleteQuest, 1030610u, new Vector3(65.11023f, 1.7160122f, 249.7749f), 819) - { - StopDistance = 5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumDossalGate, - To = EAetheryteLocation.CrystariumPendants - } - }; - num3 = 1; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - CollectionsMarshal.AsSpan(list82)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKMH110_03770_Q1_000_600") - }; - obj58.DialogueChoices = list82; - reference59 = obj58; - obj57.Steps = list81; - reference58 = obj57; - questRoot11.QuestSequence = list76; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(3771); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list83 = new List(num); - CollectionsMarshal.SetCount(list83, num); - CollectionsMarshal.AsSpan(list83)[0] = "liza"; - questRoot12.Author = list83; - num = 8; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - Span span34 = CollectionsMarshal.AsSpan(list84); - ref QuestSequence reference60 = ref span34[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.AcceptQuest, 1027231u, new Vector3(65.35437f, 1.7160122f, 249.83594f), 819) - { - StopDistance = 5f - }; - obj59.Steps = list85; - reference60 = obj59; - ref QuestSequence reference61 = ref span34[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.Interact, 1027226u, new Vector3(-61.84485f, -17.72202f, -266.2547f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumPendants, - To = EAetheryteLocation.CrystariumCabinetOfCuriosity - } - }; - obj60.Steps = list86; - reference61 = obj60; - ref QuestSequence reference62 = ref span34[2]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - ref QuestStep reference63 = ref CollectionsMarshal.AsSpan(list87)[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1033794u, new Vector3(-81.28485f, -36.750004f, -277.7906f), 819); - num3 = 1; - List list88 = new List(num3); - CollectionsMarshal.SetCount(list88, num3); - CollectionsMarshal.AsSpan(list88)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMI101_03771_Q3_000_148"), - Answer = new ExcelRef("TEXT_LUCKMI101_03771_A3_000_149") - }; - questStep2.DialogueChoices = list88; - reference63 = questStep2; - obj61.Steps = list87; - reference62 = obj61; - ref QuestSequence reference64 = ref span34[3]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Interact, 1027248u, new Vector3(-30.807983f, -0.64999914f, -51.438232f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumCabinetOfCuriosity, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - obj62.Steps = list89; - reference64 = obj62; - ref QuestSequence reference65 = ref span34[4]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.Interact, 1028335u, new Vector3(-146.65448f, 1.490116E-08f, 132.61609f), 819); - obj63.Steps = list90; - reference65 = obj63; - ref QuestSequence reference66 = ref span34[5]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - Span span35 = CollectionsMarshal.AsSpan(list91); - ref QuestStep reference67 = ref span35[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2011072u, new Vector3(-137.4685f, 1.2664795f, 166.67432f), 819); - num3 = 6; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - Span span36 = CollectionsMarshal.AsSpan(list92); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list92; - reference67 = questStep3; - ref QuestStep reference68 = ref span35[1]; - QuestStep obj65 = new QuestStep(EInteractionType.Interact, 2011071u, new Vector3(-139.3302f, 0.99176025f, 167.65088f), 819) - { - StopDistance = 5f - }; - num3 = 6; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - Span span37 = CollectionsMarshal.AsSpan(list93); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj65.CompletionQuestVariablesFlags = list93; - reference68 = obj65; - ref QuestStep reference69 = ref span35[2]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2011073u, new Vector3(-142.2904f, 1.0527954f, 173.38818f), 819); - num3 = 6; - List list94 = new List(num3); - CollectionsMarshal.SetCount(list94, num3); - Span span38 = CollectionsMarshal.AsSpan(list94); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list94; - reference69 = questStep4; - obj64.Steps = list91; - reference66 = obj64; - ref QuestSequence reference70 = ref span34[6]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.Interact, 1033805u, new Vector3(-141.71057f, 1.4901161E-08f, 160.6012f), 819); - obj66.Steps = list95; - reference70 = obj66; - ref QuestSequence reference71 = ref span34[7]; - QuestSequence obj67 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.CompleteQuest, 1027248u, new Vector3(-30.807983f, -0.64999914f, -51.438232f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium - }; - obj67.Steps = list96; - reference71 = obj67; - questRoot12.QuestSequence = list84; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(3772); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - CollectionsMarshal.AsSpan(list97)[0] = "liza"; - questRoot13.Author = list97; - num = 6; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - Span span39 = CollectionsMarshal.AsSpan(list98); - ref QuestSequence reference72 = ref span39[0]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.AcceptQuest, 1033800u, new Vector3(-27.878296f, -0.65f, -51.285645f), 819); - obj68.Steps = list99; - reference72 = obj68; - ref QuestSequence reference73 = ref span39[1]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.Interact, 1033807u, new Vector3(761.2573f, 25.95656f, 417.99023f), 813) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumDossalGate, - To = EAetheryteLocation.CrystariumTessellation - } - }; - obj69.Steps = list100; - reference73 = obj69; - ref QuestSequence reference74 = ref span39[2]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 2, - Comment = "This isn't solving for the 'best' results, but for the closest waypoints" - }; - num2 = 3; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - Span span40 = CollectionsMarshal.AsSpan(list101); - ref QuestStep reference75 = ref span40[0]; - QuestStep obj71 = new QuestStep(EInteractionType.Combat, 2011078u, new Vector3(754.45166f, 15.8845825f, 273.88416f), 813) - { - StopDistance = 1f, - Fly = true, - ItemId = 2003001u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - CollectionsMarshal.AsSpan(list102)[0] = 12168u; - obj71.KillEnemyDataIds = list102; - num3 = 6; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - Span span41 = CollectionsMarshal.AsSpan(list103); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj71.CompletionQuestVariablesFlags = list103; - reference75 = obj71; - ref QuestStep reference76 = ref span40[1]; - QuestStep obj72 = new QuestStep(EInteractionType.Combat, 2011076u, new Vector3(495.4756f, 10.299805f, 290.547f), 813) - { - Fly = true, - ItemId = 2003001u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - CollectionsMarshal.AsSpan(list104)[0] = 12166u; - obj72.KillEnemyDataIds = list104; - num3 = 6; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - Span span42 = CollectionsMarshal.AsSpan(list105); - span42[0] = null; - span42[1] = null; - span42[2] = null; - span42[3] = null; - span42[4] = null; - span42[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj72.CompletionQuestVariablesFlags = list105; - reference76 = obj72; - ref QuestStep reference77 = ref span40[2]; - QuestStep obj73 = new QuestStep(EInteractionType.Combat, 2011079u, new Vector3(685.5725f, 6.881775f, 497.12354f), 813) - { - Fly = true, - ItemId = 2003001u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - CollectionsMarshal.AsSpan(list106)[0] = 12168u; - obj73.KillEnemyDataIds = list106; - reference77 = obj73; - obj70.Steps = list101; - reference74 = obj70; - ref QuestSequence reference78 = ref span39[3]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.Interact, 1033808u, new Vector3(763.9734f, 25.874697f, 419.51624f), 813) - { - Fly = true - }; - obj74.Steps = list107; - reference78 = obj74; - ref QuestSequence reference79 = ref span39[4]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - Span span43 = CollectionsMarshal.AsSpan(list108); - span43[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(837.8474f, 37.845993f, 408.60828f), 813) - { - Fly = true - }; - span43[1] = new QuestStep(EInteractionType.Interact, 2011107u, new Vector3(-223.13275f, 38.590088f, -86.80859f), 819); - obj75.Steps = list108; - reference79 = obj75; - ref QuestSequence reference80 = ref span39[5]; - QuestSequence obj76 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.CompleteQuest, 1033811u, new Vector3(-208.11786f, 38.64859f, -82.65814f), 819); - obj76.Steps = list109; - reference80 = obj76; - questRoot13.QuestSequence = list98; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(3773); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - CollectionsMarshal.AsSpan(list110)[0] = "liza"; - questRoot14.Author = list110; - num = 5; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - Span span44 = CollectionsMarshal.AsSpan(list111); - ref QuestSequence reference81 = ref span44[0]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.AcceptQuest, 1033812u, new Vector3(-205.8595f, 38.614662f, -82.81073f), 819); - obj77.Steps = list112; - reference81 = obj77; - ref QuestSequence reference82 = ref span44[1]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.Interact, 1034900u, new Vector3(-32.791687f, -0.6250627f, -44.663208f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium - }; - obj78.Steps = list113; - reference82 = obj78; - ref QuestSequence reference83 = ref span44[2]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - Span span45 = CollectionsMarshal.AsSpan(list114); - span45[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span45[1] = new QuestStep(EInteractionType.Interact, 1032081u, new Vector3(-2.4262085f, 0f, -9.10968f), 351); - obj79.Steps = list114; - reference83 = obj79; - ref QuestSequence reference84 = ref span44[3]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.Interact, 2011080u, new Vector3(-11.39856f, 1.449585f, -6.942932f), 351); - obj80.Steps = list115; - reference84 = obj80; - ref QuestSequence reference85 = ref span44[4]; - QuestSequence obj81 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.CompleteQuest, 1033817u, new Vector3(-3.03656f, 0.01804012f, -8.1026f), 351); - obj81.Steps = list116; - reference85 = obj81; - questRoot14.QuestSequence = list111; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(3774); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - CollectionsMarshal.AsSpan(list117)[0] = "liza"; - questRoot15.Author = list117; - num = 4; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - Span span46 = CollectionsMarshal.AsSpan(list118); - ref QuestSequence reference86 = ref span46[0]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032081u, new Vector3(-2.4262085f, 0f, -9.10968f), 351); - obj82.Steps = list119; - reference86 = obj82; - ref QuestSequence reference87 = ref span46[1]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - Span span47 = CollectionsMarshal.AsSpan(list120); - span47[0] = new QuestStep(EInteractionType.Interact, 2002879u, new Vector3(0f, 3f, 27.5f), 351) - { - TargetTerritoryId = (ushort)156 - }; - span47[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(29.958076f, 21.232033f, -653.85443f), 156) - { - Mount = true - }; - span47[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(26.789001f, 54.865185f, -770.47614f), 156) - { - Fly = true - }; - span47[3] = new QuestStep(EInteractionType.Interact, 1033818u, new Vector3(24.551636f, 50.99997f, -815.18274f), 156); - obj83.Steps = list120; - reference87 = obj83; - ref QuestSequence reference88 = ref span46[2]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - Span span48 = CollectionsMarshal.AsSpan(list121); - span48[0] = new QuestStep(EInteractionType.Interact, 1027230u, new Vector3(117.997925f, 14.649025f, 7.156433f), 819) - { - TargetTerritoryId = (ushort)844, - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - span48[1] = new QuestStep(EInteractionType.Interact, 1033819u, new Vector3(-0.015319824f, 0f, -4.043701f), 844); - obj84.Steps = list121; - reference88 = obj84; - ref QuestSequence reference89 = ref span46[3]; - QuestSequence obj85 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.CompleteQuest, 1033822u, new Vector3(39.6886f, -6.9874797E-13f, -0.83929443f), 819) - { - StopDistance = 5f - }; - obj85.Steps = list122; - reference89 = obj85; - questRoot15.QuestSequence = list118; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(3775); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - CollectionsMarshal.AsSpan(list123)[0] = "liza"; - questRoot16.Author = list123; - num = 5; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - Span span49 = CollectionsMarshal.AsSpan(list124); - ref QuestSequence reference90 = ref span49[0]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.AcceptQuest, 1033823u, new Vector3(40.329468f, -2.0168546E-08f, 1.9378662f), 819) - { - StopDistance = 5f - }; - obj86.Steps = list125; - reference90 = obj86; - ref QuestSequence reference91 = ref span49[1]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - Span span50 = CollectionsMarshal.AsSpan(list126); - span50[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-496.10434f, 8.986935f, 603.11676f), 814) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaWright - }; - ref QuestStep reference92 = ref span50[1]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1033827u, new Vector3(-495.079f, 8.986954f, 604.27246f), 814); - num3 = 1; - List list127 = new List(num3); - CollectionsMarshal.SetCount(list127, num3); - CollectionsMarshal.AsSpan(list127)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKMI105_03775_Q2_000_052") - }; - questStep5.DialogueChoices = list127; - reference92 = questStep5; - obj87.Steps = list126; - reference91 = obj87; - span49[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference93 = ref span49[3]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - ref QuestStep reference94 = ref CollectionsMarshal.AsSpan(list128)[0]; - QuestStep obj89 = new QuestStep(EInteractionType.SinglePlayerDuty, 2011085u, new Vector3(1.822433f, -200.0001f, -448.3325f), 918) - { - Comment = "Fight NPCs, then Elidibus" - }; - SinglePlayerDutyOptions singlePlayerDutyOptions2 = new SinglePlayerDutyOptions(); - num3 = 2; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - Span span51 = CollectionsMarshal.AsSpan(list129); - span51[0] = "(phase 2) AI doesn't target Ardbert to start combat"; - span51[1] = "(phase 2) VBM module: Elidibus' line cleave only covers half the length of the actual line (survivable)"; - singlePlayerDutyOptions2.Notes = list129; - obj89.SinglePlayerDutyOptions = singlePlayerDutyOptions2; - num3 = 3; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - Span span52 = CollectionsMarshal.AsSpan(list130); - span52[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "ContentTalk", - Prompt = new ExcelRef(209u), - Answer = new ExcelRef(211u) - }; - span52[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "ContentTalk", - Prompt = new ExcelRef(209u), - Answer = new ExcelRef(216u) - }; - span52[2] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "ContentTalk", - Prompt = new ExcelRef(241u), - Answer = new ExcelRef(222u) - }; - obj89.DialogueChoices = list130; - reference94 = obj89; - obj88.Steps = list128; - reference93 = obj88; - ref QuestSequence reference95 = ref span49[4]; - QuestSequence obj90 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.CompleteQuest, 1033828u, new Vector3(-396.2005f, -229.06482f, 782.9861f), 818) - { - StopDistance = 5f - }; - obj90.Steps = list131; - reference95 = obj90; - questRoot16.QuestSequence = list124; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(3776); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list132 = new List(num); - CollectionsMarshal.SetCount(list132, num); - CollectionsMarshal.AsSpan(list132)[0] = "liza"; - questRoot17.Author = list132; - num = 8; - List list133 = new List(num); - CollectionsMarshal.SetCount(list133, num); - Span span53 = CollectionsMarshal.AsSpan(list133); - ref QuestSequence reference96 = ref span53[0]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.AcceptQuest, 2011087u, new Vector3(-382.8231f, -229.0648f, 755.3434f), 818); - obj91.Steps = list134; - reference96 = obj91; - ref QuestSequence reference97 = ref span53[1]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.Interact, 2011089u, new Vector3(-372.0399f, -229.0648f, 712.4863f), 818); - obj92.Steps = list135; - reference97 = obj92; - ref QuestSequence reference98 = ref span53[2]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.Interact, 2011091u, new Vector3(-251.9112f, -229.20581f, 657.3739f), 818); - obj93.Steps = list136; - reference98 = obj93; - ref QuestSequence reference99 = ref span53[3]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.Interact, 2011093u, new Vector3(-196.1242f, -244.89203f, 679.9878f), 818); - obj94.Steps = list137; - reference99 = obj94; - ref QuestSequence reference100 = ref span53[4]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.Interact, 2011095u, new Vector3(-132.1889f, -244.89203f, 687.9529f), 818); - obj95.Steps = list138; - reference100 = obj95; - ref QuestSequence reference101 = ref span53[5]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.Interact, 2011097u, new Vector3(-70.78668f, -263.9353f, 710.2921f), 818); - obj96.Steps = list139; - reference101 = obj96; - ref QuestSequence reference102 = ref span53[6]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.Interact, 2011099u, new Vector3(-29.221008f, -263.9353f, 717.28076f), 818); - obj97.Steps = list140; - reference102 = obj97; - ref QuestSequence reference103 = ref span53[7]; - QuestSequence obj98 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.CompleteQuest, 1033829u, new Vector3(-497.94766f, 8.986913f, 584.1915f), 814); - obj98.Steps = list141; - reference103 = obj98; - questRoot17.QuestSequence = list133; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(3777); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list142 = new List(num); - CollectionsMarshal.SetCount(list142, num); - CollectionsMarshal.AsSpan(list142)[0] = "liza"; - questRoot18.Author = list142; - num = 8; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - Span span54 = CollectionsMarshal.AsSpan(list143); - ref QuestSequence reference104 = ref span54[0]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.AcceptQuest, 1033829u, new Vector3(-497.94766f, 8.986913f, 584.1915f), 814); - obj99.Steps = list144; - reference104 = obj99; - ref QuestSequence reference105 = ref span54[1]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.Interact, 1033838u, new Vector3(12.954895f, 82.05f, 7.095398f), 820) - { - AetheryteShortcut = EAetheryteLocation.Eulmore - }; - obj100.Steps = list145; - reference105 = obj100; - ref QuestSequence reference106 = ref span54[2]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.Interact, 1033830u, new Vector3(23.819275f, 82.049995f, 16.342407f), 820); - obj101.Steps = list146; - reference106 = obj101; - ref QuestSequence reference107 = ref span54[3]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.Duty, null, null, 820) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 737u - } - }; - obj102.Steps = list147; - reference107 = obj102; - span54[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference108 = ref span54[5]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.Interact, 1033850u, new Vector3(291.49304f, 9.905235f, 153.2157f), 813); - obj103.Steps = list148; - reference108 = obj103; - ref QuestSequence reference109 = ref span54[6]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.Interact, 1033852u, new Vector3(574.9751f, 8.563855f, 336.8734f), 813) - { - Fly = true - }; - obj104.Steps = list149; - reference109 = obj104; - ref QuestSequence reference110 = ref span54[7]; - QuestSequence obj105 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.CompleteQuest, 1033854u, new Vector3(59.983154f, -3.0654925E-07f, 1.6021729f), 819) - { - StopDistance = 5f - }; - obj105.Steps = list150; - reference110 = obj105; - questRoot18.QuestSequence = list143; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(3778); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list151 = new List(num); - CollectionsMarshal.SetCount(list151, num); - CollectionsMarshal.AsSpan(list151)[0] = "liza"; - questRoot19.Author = list151; - num = 5; - List list152 = new List(num); - CollectionsMarshal.SetCount(list152, num); - Span span55 = CollectionsMarshal.AsSpan(list152); - ref QuestSequence reference111 = ref span55[0]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - ref QuestStep reference112 = ref CollectionsMarshal.AsSpan(list153)[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.AcceptQuest, 1033854u, new Vector3(59.983154f, -3.0654925E-07f, 1.6021729f), 819); - num3 = 1; - List list154 = new List(num3); - CollectionsMarshal.SetCount(list154, num3); - CollectionsMarshal.AsSpan(list154)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMI108_03778_Q1_000_001"), - Answer = new ExcelRef("TEXT_LUCKMI108_03778_A1_000_002") - }; - questStep6.DialogueChoices = list154; - reference112 = questStep6; - obj106.Steps = list153; - reference111 = obj106; - span55[1] = new QuestSequence - { - Sequence = 1 - }; - ref QuestSequence reference113 = ref span55[2]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.Duty, null, null, 931) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 738u - } - }; - obj107.Steps = list155; - reference113 = obj107; - span55[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference114 = ref span55[4]; - QuestSequence obj108 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.CompleteQuest, 1033856u, new Vector3(53.421753f, 0.019417252f, -0.045776367f), 819); - obj108.Steps = list156; - reference114 = obj108; - questRoot19.QuestSequence = list152; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(3779); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list157 = new List(num); - CollectionsMarshal.SetCount(list157, num); - CollectionsMarshal.AsSpan(list157)[0] = "liza"; - questRoot20.Author = list157; - num = 7; - List list158 = new List(num); - CollectionsMarshal.SetCount(list158, num); - Span span56 = CollectionsMarshal.AsSpan(list158); - ref QuestSequence reference115 = ref span56[0]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.AcceptQuest, 1033860u, new Vector3(53.269165f, -2.8964132E-07f, 1.4190674f), 819) - { - StopDistance = 5f - }; - obj109.Steps = list159; - reference115 = obj109; - ref QuestSequence reference116 = ref span56[1]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.Interact, 1034902u, new Vector3(51.285522f, -2.59839E-07f, -1.4801636f), 819) - { - StopDistance = 7f - }; - obj110.Steps = list160; - reference116 = obj110; - ref QuestSequence reference117 = ref span56[2]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.Interact, 1033864u, new Vector3(384.60352f, -28.36043f, 322.56042f), 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengInnAtJourneysHead - }; - obj111.Steps = list161; - reference117 = obj111; - ref QuestSequence reference118 = ref span56[3]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.Interact, 1033865u, new Vector3(251.8501f, -46.667526f, 336.90393f), 815) - { - Fly = true - }; - obj112.Steps = list162; - reference118 = obj112; - ref QuestSequence reference119 = ref span56[4]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.Interact, 1033867u, new Vector3(253.28442f, -46.571102f, 337.02588f), 815); - obj113.Steps = list163; - reference119 = obj113; - ref QuestSequence reference120 = ref span56[5]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(0f, 0f, 0f), 820) - { - AetheryteShortcut = EAetheryteLocation.Eulmore - }; - obj114.Steps = list164; - reference120 = obj114; - ref QuestSequence reference121 = ref span56[6]; - QuestSequence obj115 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.CompleteQuest, 1033868u, new Vector3(19.57727f, 82.78207f, 48.53894f), 820); - obj115.Steps = list165; - reference121 = obj115; - questRoot20.QuestSequence = list158; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(3780); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list166 = new List(num); - CollectionsMarshal.SetCount(list166, num); - CollectionsMarshal.AsSpan(list166)[0] = "liza"; - questRoot21.Author = list166; - num = 4; - List list167 = new List(num); - CollectionsMarshal.SetCount(list167, num); - Span span57 = CollectionsMarshal.AsSpan(list167); - ref QuestSequence reference122 = ref span57[0]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.AcceptQuest, 1033868u, new Vector3(19.57727f, 82.78207f, 48.53894f), 820); - obj116.Steps = list168; - reference122 = obj116; - ref QuestSequence reference123 = ref span57[1]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.Interact, 1033872u, new Vector3(-634.2717f, 35.86156f, -234.21082f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj117.Steps = list169; - reference123 = obj117; - ref QuestSequence reference124 = ref span57[2]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.Interact, 1027690u, new Vector3(452.9945f, 87.48282f, -691.9814f), 816) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.IlMhegWolekdorf - }; - obj118.Steps = list170; - reference124 = obj118; - ref QuestSequence reference125 = ref span57[3]; - QuestSequence obj119 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - Span span58 = CollectionsMarshal.AsSpan(list171); - span58[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-221.27931f, 55.081436f, -553.9665f), 816) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span58[1] = new QuestStep(EInteractionType.CompleteQuest, 1033872u, new Vector3(-634.2717f, 35.86156f, -234.21082f), 816) - { - Fly = true - }; - obj119.Steps = list171; - reference125 = obj119; - questRoot21.QuestSequence = list167; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(3781); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list172 = new List(num); - CollectionsMarshal.SetCount(list172, num); - CollectionsMarshal.AsSpan(list172)[0] = "liza"; - questRoot22.Author = list172; - num = 6; - List list173 = new List(num); - CollectionsMarshal.SetCount(list173, num); - Span span59 = CollectionsMarshal.AsSpan(list173); - ref QuestSequence reference126 = ref span59[0]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.AcceptQuest, 1033872u, new Vector3(-634.2717f, 35.86156f, -234.21082f), 816); - obj120.Steps = list174; - reference126 = obj120; - ref QuestSequence reference127 = ref span59[1]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.Interact, 1032532u, new Vector3(-88.33453f, -19.033354f, 296.31494f), 817) - { - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - obj121.Steps = list175; - reference127 = obj121; - ref QuestSequence reference128 = ref span59[2]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - CollectionsMarshal.AsSpan(list176)[0] = new QuestStep(EInteractionType.Interact, 1032532u, new Vector3(-88.33453f, -19.033354f, 296.31494f), 817); - obj122.Steps = list176; - reference128 = obj122; - ref QuestSequence reference129 = ref span59[3]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.Interact, 1033878u, new Vector3(-483.8178f, 45.586155f, -236.68274f), 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengTwine - }; - obj123.Steps = list177; - reference129 = obj123; - ref QuestSequence reference130 = ref span59[4]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - ref QuestStep reference131 = ref CollectionsMarshal.AsSpan(list178)[0]; - QuestStep obj125 = new QuestStep(EInteractionType.Interact, 1033881u, new Vector3(-37.43042f, 4.583f, 3.982544f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium - }; - num3 = 1; - List list179 = new List(num3); - CollectionsMarshal.SetCount(list179, num3); - CollectionsMarshal.AsSpan(list179)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMI111_03781_Q1_000_153"), - Answer = new ExcelRef("TEXT_LUCKMI111_03781_A1_000_154") - }; - obj125.DialogueChoices = list179; - reference131 = obj125; - obj124.Steps = list178; - reference130 = obj124; - ref QuestSequence reference132 = ref span59[5]; - QuestSequence obj126 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.CompleteQuest, 1033884u, new Vector3(26.230225f, 0f, 1.4190674f), 819); - obj126.Steps = list180; - reference132 = obj126; - questRoot22.QuestSequence = list173; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(3782); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list181 = new List(num); - CollectionsMarshal.SetCount(list181, num); - CollectionsMarshal.AsSpan(list181)[0] = "liza"; - questRoot23.Author = list181; - num = 3; - List list182 = new List(num); - CollectionsMarshal.SetCount(list182, num); - Span span60 = CollectionsMarshal.AsSpan(list182); - ref QuestSequence reference133 = ref span60[0]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - CollectionsMarshal.AsSpan(list183)[0] = new QuestStep(EInteractionType.AcceptQuest, 1033887u, new Vector3(24.2771f, -5.234193E-13f, -0.7477417f), 819) - { - StopDistance = 5f - }; - obj127.Steps = list183; - reference133 = obj127; - ref QuestSequence reference134 = ref span60[1]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - Span span61 = CollectionsMarshal.AsSpan(list184); - ref QuestStep reference135 = ref span61[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1030533u, new Vector3(117.997925f, 14.649025f, 7.156433f), 819); - num3 = 1; - List list185 = new List(num3); - CollectionsMarshal.SetCount(list185, num3); - CollectionsMarshal.AsSpan(list185)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKMI112_03782_Q1_000_007") - }; - questStep7.DialogueChoices = list185; - reference135 = questStep7; - ref QuestStep reference136 = ref span61[1]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1033888u, new Vector3(1.3580322f, 0f, -5.081299f), 844); - num3 = 1; - List list186 = new List(num3); - CollectionsMarshal.SetCount(list186, num3); - CollectionsMarshal.AsSpan(list186)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKMI112_03782_Q2_000_044") - }; - questStep8.DialogueChoices = list186; - reference136 = questStep8; - obj128.Steps = list184; - reference134 = obj128; - ref QuestSequence reference137 = ref span60[2]; - QuestSequence obj129 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - Span span62 = CollectionsMarshal.AsSpan(list187); - span62[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(0.1512314f, 1.9999986f, 19.4396f), 351); - span62[1] = new QuestStep(EInteractionType.CompleteQuest, 1033896u, new Vector3(1.5106201f, 0f, -3.1586914f), 351); - obj129.Steps = list187; - reference137 = obj129; - questRoot23.QuestSequence = list182; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(3783); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list188 = new List(num); - CollectionsMarshal.SetCount(list188, num); - CollectionsMarshal.AsSpan(list188)[0] = "liza"; - questRoot24.Author = list188; - num = 9; - List list189 = new List(num); - CollectionsMarshal.SetCount(list189, num); - Span span63 = CollectionsMarshal.AsSpan(list189); - ref QuestSequence reference138 = ref span63[0]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032581u, new Vector3(750.1792f, 69.99991f, 518.9136f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj130.Steps = list190; - reference138 = obj130; - ref QuestSequence reference139 = ref span63[1]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - ref QuestStep reference140 = ref CollectionsMarshal.AsSpan(list191)[0]; - QuestStep obj132 = new QuestStep(EInteractionType.Interact, 1026804u, new Vector3(-524.55945f, 8.698304f, -15.487976f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria - }; - num3 = 1; - List list192 = new List(num3); - CollectionsMarshal.SetCount(list192, num3); - CollectionsMarshal.AsSpan(list192)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKYW101_03783_Q3_000_000") - }; - obj132.DialogueChoices = list192; - reference140 = obj132; - obj131.Steps = list191; - reference139 = obj131; - ref QuestSequence reference141 = ref span63[2]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.Interact, 1032582u, new Vector3(-482.0478f, 107.63f, 121.934814f), 829); - obj133.Steps = list193; - reference141 = obj133; - ref QuestSequence reference142 = ref span63[3]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.Interact, 1032585u, new Vector3(-465.53754f, 107.63f, 130.35779f), 829); - obj134.Steps = list194; - reference142 = obj134; - ref QuestSequence reference143 = ref span63[4]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.Duty, null, null, 829) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 717u - } - }; - obj135.Steps = list195; - reference143 = obj135; - span63[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference144 = ref span63[6]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.Interact, 1032861u, new Vector3(-473.89948f, 107.63f, 132.86023f), 829) - { - StopDistance = 4f - }; - obj136.Steps = list196; - reference144 = obj136; - ref QuestSequence reference145 = ref span63[7]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.Interact, 1032851u, new Vector3(-481.3764f, 107.63f, 122.78931f), 829); - obj137.Steps = list197; - reference145 = obj137; - ref QuestSequence reference146 = ref span63[8]; - QuestSequence obj138 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - Span span64 = CollectionsMarshal.AsSpan(list198); - span64[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-507.93283f, 7.6638765f, 52.09985f), 621) - { - Fly = true - }; - span64[1] = new QuestStep(EInteractionType.CompleteQuest, 1032586u, new Vector3(-505.42462f, 7.68313f, 51.621216f), 621) - { - NextQuestId = new QuestId(3895) - }; - obj138.Steps = list198; - reference146 = obj138; - questRoot24.QuestSequence = list189; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(3784); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list199 = new List(num); - CollectionsMarshal.SetCount(list199, num); - CollectionsMarshal.AsSpan(list199)[0] = "liza"; - questRoot25.Author = list199; - num = 2; - List list200 = new List(num); - CollectionsMarshal.SetCount(list200, num); - Span span65 = CollectionsMarshal.AsSpan(list200); - ref QuestSequence reference147 = ref span65[0]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032227u, new Vector3(665.8884f, 297.47797f, -160.57074f), 814); - obj139.Steps = list201; - reference147 = obj139; - ref QuestSequence reference148 = ref span65[1]; - QuestSequence obj140 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - Span span66 = CollectionsMarshal.AsSpan(list202); - span66[0] = new QuestStep(EInteractionType.Interact, 2010832u, new Vector3(738.3076f, 285.60303f, -82.871826f), 814) - { - TargetTerritoryId = (ushort)895, - Fly = true - }; - span66[1] = new QuestStep(EInteractionType.CompleteQuest, 1032152u, new Vector3(-13.809448f, 0.039723f, -66.941345f), 895) - { - NextQuestId = new QuestId(3785) - }; - obj140.Steps = list202; - reference148 = obj140; - questRoot25.QuestSequence = list200; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(3785); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list203 = new List(num); - CollectionsMarshal.SetCount(list203, num); - CollectionsMarshal.AsSpan(list203)[0] = "liza"; - questRoot26.Author = list203; - num = 4; - List list204 = new List(num); - CollectionsMarshal.SetCount(list204, num); - Span span67 = CollectionsMarshal.AsSpan(list204); - ref QuestSequence reference149 = ref span67[0]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032152u, new Vector3(-13.809448f, 0.039723f, -66.941345f), 895); - obj141.Steps = list205; - reference149 = obj141; - ref QuestSequence reference150 = ref span67[1]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - Span span68 = CollectionsMarshal.AsSpan(list206); - span68[0] = new QuestStep(EInteractionType.Interact, 2010829u, new Vector3(1.4190674f, 0.83917236f, 2.5177002f), 895) - { - TargetTerritoryId = (ushort)814 - }; - span68[1] = new QuestStep(EInteractionType.Interact, 1031580u, new Vector3(665.21704f, 297.47797f, -159.77728f), 814) - { - Fly = true - }; - obj142.Steps = list206; - reference150 = obj142; - ref QuestSequence reference151 = ref span67[2]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - ref QuestStep reference152 = ref CollectionsMarshal.AsSpan(list207)[0]; - QuestStep obj144 = new QuestStep(EInteractionType.Combat, null, new Vector3(382.49646f, 312.8454f, -382.58423f), 814) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list208 = new List(num3); - CollectionsMarshal.SetCount(list208, num3); - CollectionsMarshal.AsSpan(list208)[0] = new ComplexCombatData - { - DataId = 10410u, - MinimumKillCount = 1u, - RewardItemId = 2002972u, - RewardItemCount = 1 - }; - obj144.ComplexCombatData = list208; - reference152 = obj144; - obj143.Steps = list207; - reference151 = obj143; - ref QuestSequence reference153 = ref span67[3]; - QuestSequence obj145 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.CompleteQuest, 1031580u, new Vector3(665.21704f, 297.47797f, -159.77728f), 814) - { - Fly = true, - NextQuestId = new QuestId(3952) - }; - obj145.Steps = list209; - reference153 = obj145; - questRoot26.QuestSequence = list204; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(3787); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list210 = new List(num); - CollectionsMarshal.SetCount(list210, num); - CollectionsMarshal.AsSpan(list210)[0] = "liza"; - questRoot27.Author = list210; - num = 6; - List list211 = new List(num); - CollectionsMarshal.SetCount(list211, num); - Span span69 = CollectionsMarshal.AsSpan(list211); - ref QuestSequence reference154 = ref span69[0]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - CollectionsMarshal.AsSpan(list212)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032715u, new Vector3(265.3086f, 7.1558266f, -237.81189f), 815) - { - StopDistance = 7f - }; - obj146.Steps = list212; - reference154 = obj146; - ref QuestSequence reference155 = ref span69[1]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - CollectionsMarshal.AsSpan(list213)[0] = new QuestStep(EInteractionType.Interact, 1032606u, new Vector3(318.2268f, 1.5411377f, -225.6352f), 815); - obj147.Steps = list213; - reference155 = obj147; - ref QuestSequence reference156 = ref span69[2]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.Interact, 2010957u, new Vector3(485.40466f, -26.29132f, -20.859192f), 815) - { - Fly = true - }; - obj148.Steps = list214; - reference156 = obj148; - ref QuestSequence reference157 = ref span69[3]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.Interact, 1032591u, new Vector3(482.44446f, -41.81235f, 81.55945f), 815) - { - StopDistance = 6f - }; - obj149.Steps = list215; - reference157 = obj149; - ref QuestSequence reference158 = ref span69[4]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - ref QuestStep reference159 = ref CollectionsMarshal.AsSpan(list216)[0]; - QuestStep obj151 = new QuestStep(EInteractionType.Interact, 1030092u, new Vector3(382.864f, -64.404945f, 512.01636f), 815) - { - Fly = true - }; - num3 = 1; - List list217 = new List(num3); - CollectionsMarshal.SetCount(list217, num3); - CollectionsMarshal.AsSpan(list217)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKRA201_03787_YESNO_001") - }; - obj151.DialogueChoices = list217; - reference159 = obj151; - obj150.Steps = list216; - reference158 = obj150; - ref QuestSequence reference160 = ref span69[5]; - QuestSequence obj152 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - CollectionsMarshal.AsSpan(list218)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032596u, new Vector3(-6.0273438f, -2.5312338f, 21.62201f), 878) - { - NextQuestId = new QuestId(3788) - }; - obj152.Steps = list218; - reference160 = obj152; - questRoot27.QuestSequence = list211; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(3788); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list219 = new List(num); - CollectionsMarshal.SetCount(list219, num); - CollectionsMarshal.AsSpan(list219)[0] = "liza"; - questRoot28.Author = list219; - num = 4; - List list220 = new List(num); - CollectionsMarshal.SetCount(list220, num); - Span span70 = CollectionsMarshal.AsSpan(list220); - ref QuestSequence reference161 = ref span70[0]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032596u, new Vector3(-6.0273438f, -2.5312338f, 21.62201f), 878); - obj153.Steps = list221; - reference161 = obj153; - ref QuestSequence reference162 = ref span70[1]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - Span span71 = CollectionsMarshal.AsSpan(list222); - span71[0] = new QuestStep(EInteractionType.Interact, 2010135u, new Vector3(-14.66394f, -2.5788574f, 23.819275f), 878) - { - TargetTerritoryId = (ushort)857 - }; - span71[1] = new QuestStep(EInteractionType.Interact, 1030112u, new Vector3(101.548706f, -2.330609E-14f, 93.217285f), 857); - obj154.Steps = list222; - reference162 = obj154; - ref QuestSequence reference163 = ref span70[2]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - CollectionsMarshal.AsSpan(list223)[0] = new QuestStep(EInteractionType.Duty, null, null, 857) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 715u - } - }; - obj155.Steps = list223; - reference163 = obj155; - ref QuestSequence reference164 = ref span70[3]; - QuestSequence obj156 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030110u, new Vector3(99.99231f, -7.687662E-13f, 92.51538f), 857) - { - StopDistance = 6f, - NextQuestId = new QuestId(3789) - }; - obj156.Steps = list224; - reference164 = obj156; - questRoot28.QuestSequence = list220; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(3789); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list225 = new List(num); - CollectionsMarshal.SetCount(list225, num); - CollectionsMarshal.AsSpan(list225)[0] = "liza"; - questRoot29.Author = list225; - num = 7; - List list226 = new List(num); - CollectionsMarshal.SetCount(list226, num); - Span span72 = CollectionsMarshal.AsSpan(list226); - ref QuestSequence reference165 = ref span72[0]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032605u, new Vector3(-8.743469f, -2.0474615f, -10.025269f), 878) - { - StopDistance = 6f - }; - obj157.Steps = list227; - reference165 = obj157; - ref QuestSequence reference166 = ref span72[1]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.Interact, 1032602u, new Vector3(-6.7597656f, -2.1008918f, -8.560364f), 878) - { - StopDistance = 6f - }; - obj158.Steps = list228; - reference166 = obj158; - ref QuestSequence reference167 = ref span72[2]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.Emote, 1032602u, new Vector3(-6.7597656f, -2.1008918f, -8.560364f), 878) - { - StopDistance = 6f, - Emote = EEmote.Rally - }; - obj159.Steps = list229; - reference167 = obj159; - ref QuestSequence reference168 = ref span72[3]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.Interact, 2010959u, new Vector3(-7.461731f, -2.2736206f, -5.8442383f), 878); - obj160.Steps = list230; - reference168 = obj160; - ref QuestSequence reference169 = ref span72[4]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - Span span73 = CollectionsMarshal.AsSpan(list231); - span73[0] = new QuestStep(EInteractionType.Interact, 2010135u, new Vector3(-14.66394f, -2.5788574f, 23.819275f), 878) - { - TargetTerritoryId = (ushort)857 - }; - span73[1] = new QuestStep(EInteractionType.Interact, 1030112u, new Vector3(101.548706f, -2.330609E-14f, 93.217285f), 857); - obj161.Steps = list231; - reference169 = obj161; - ref QuestSequence reference170 = ref span72[5]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.Duty, null, null, 857) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 719u - } - }; - obj162.Steps = list232; - reference170 = obj162; - ref QuestSequence reference171 = ref span72[6]; - QuestSequence obj163 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - CollectionsMarshal.AsSpan(list233)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030110u, new Vector3(99.99231f, -7.687662E-13f, 92.51538f), 857) - { - StopDistance = 6f, - NextQuestId = new QuestId(3790) - }; - obj163.Steps = list233; - reference171 = obj163; - questRoot29.QuestSequence = list226; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(3790); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list234 = new List(num); - CollectionsMarshal.SetCount(list234, num); - CollectionsMarshal.AsSpan(list234)[0] = "liza"; - questRoot30.Author = list234; - num = 5; - List list235 = new List(num); - CollectionsMarshal.SetCount(list235, num); - Span span74 = CollectionsMarshal.AsSpan(list235); - ref QuestSequence reference172 = ref span74[0]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032604u, new Vector3(-7.034485f, -2.0372493f, -11.215393f), 878) - { - StopDistance = 7f - }; - obj164.Steps = list236; - reference172 = obj164; - ref QuestSequence reference173 = ref span74[1]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - Span span75 = CollectionsMarshal.AsSpan(list237); - span75[0] = new QuestStep(EInteractionType.Interact, 2010135u, new Vector3(-14.66394f, -2.5788574f, 23.819275f), 878) - { - TargetTerritoryId = (ushort)857 - }; - span75[1] = new QuestStep(EInteractionType.Interact, 1030112u, new Vector3(101.548706f, -2.330609E-14f, 93.217285f), 857); - obj165.Steps = list237; - reference173 = obj165; - ref QuestSequence reference174 = ref span74[2]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.Interact, 1032610u, new Vector3(101.823364f, -2.7503654E-14f, 94.13281f), 857); - obj166.Steps = list238; - reference174 = obj166; - ref QuestSequence reference175 = ref span74[3]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - CollectionsMarshal.AsSpan(list239)[0] = new QuestStep(EInteractionType.Duty, null, null, 857) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 726u - } - }; - obj167.Steps = list239; - reference175 = obj167; - ref QuestSequence reference176 = ref span74[4]; - QuestSequence obj168 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032610u, new Vector3(101.823364f, -2.7503654E-14f, 94.13281f), 857) - { - NextQuestId = new QuestId(3791) - }; - obj168.Steps = list240; - reference176 = obj168; - questRoot30.QuestSequence = list235; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(3791); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list241 = new List(num); - CollectionsMarshal.SetCount(list241, num); - CollectionsMarshal.AsSpan(list241)[0] = "liza"; - questRoot31.Author = list241; - num = 3; - List list242 = new List(num); - CollectionsMarshal.SetCount(list242, num); - Span span76 = CollectionsMarshal.AsSpan(list242); - ref QuestSequence reference177 = ref span76[0]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032611u, new Vector3(103.65454f, -2.7643511E-14f, 94.56018f), 857) - { - StopDistance = 5f - }; - obj169.Steps = list243; - reference177 = obj169; - ref QuestSequence reference178 = ref span76[1]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.Duty, null, null, 857) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 728u - } - }; - obj170.Steps = list244; - reference178 = obj170; - ref QuestSequence reference179 = ref span76[2]; - QuestSequence obj171 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030110u, new Vector3(99.99231f, -7.687662E-13f, 92.51538f), 857) - { - StopDistance = 5f, - NextQuestId = new QuestId(3792) - }; - obj171.Steps = list245; - reference179 = obj171; - questRoot31.QuestSequence = list242; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(3792); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list246 = new List(num); - CollectionsMarshal.SetCount(list246, num); - CollectionsMarshal.AsSpan(list246)[0] = "liza"; - questRoot32.Author = list246; - num = 3; - List list247 = new List(num); - CollectionsMarshal.SetCount(list247, num); - Span span77 = CollectionsMarshal.AsSpan(list247); - ref QuestSequence reference180 = ref span77[0]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032602u, new Vector3(-6.7597656f, -2.1008885f, -8.560364f), 878) - { - StopDistance = 5f - }; - obj172.Steps = list248; - reference180 = obj172; - ref QuestSequence reference181 = ref span77[1]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.Interact, 1030091u, new Vector3(380.97205f, -64.31066f, 511.2229f), 815); - obj173.Steps = list249; - reference181 = obj173; - ref QuestSequence reference182 = ref span77[2]; - QuestSequence obj174 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - Span span78 = CollectionsMarshal.AsSpan(list250); - span78[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(268.15204f, 7.1558266f, -237.94643f), 815) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AmhAraengMordSouq - }; - span78[1] = new QuestStep(EInteractionType.CompleteQuest, 1032590u, new Vector3(265.3086f, 7.1558266f, -237.78137f), 815) - { - StopDistance = 4f, - NextQuestId = new QuestId(3793) - }; - obj174.Steps = list250; - reference182 = obj174; - questRoot32.QuestSequence = list247; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(3793); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list251 = new List(num); - CollectionsMarshal.SetCount(list251, num); - CollectionsMarshal.AsSpan(list251)[0] = "liza"; - questRoot33.Author = list251; - num = 3; - List list252 = new List(num); - CollectionsMarshal.SetCount(list252, num); - Span span79 = CollectionsMarshal.AsSpan(list252); - ref QuestSequence reference183 = ref span79[0]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - CollectionsMarshal.AsSpan(list253)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032590u, new Vector3(265.3086f, 7.1558266f, -237.78137f), 815) - { - StopDistance = 4f - }; - obj175.Steps = list253; - reference183 = obj175; - ref QuestSequence reference184 = ref span79[1]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.Interact, 2010961u, new Vector3(-6.9733887f, 3.982544f, 221.36255f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumPendants - } - }; - obj176.Steps = list254; - reference184 = obj176; - ref QuestSequence reference185 = ref span79[2]; - QuestSequence obj177 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - Span span80 = CollectionsMarshal.AsSpan(list255); - span80[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(268.15204f, 7.1558266f, -237.94643f), 815) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AmhAraengMordSouq - }; - span80[1] = new QuestStep(EInteractionType.CompleteQuest, 1032590u, new Vector3(265.3086f, 7.1558266f, -237.78137f), 815) - { - StopDistance = 4f, - NextQuestId = new QuestId(3975) - }; - obj177.Steps = list255; - reference185 = obj177; - questRoot33.QuestSequence = list252; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(3794); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list256 = new List(num); - CollectionsMarshal.SetCount(list256, num); - CollectionsMarshal.AsSpan(list256)[0] = "liza"; - questRoot34.Author = list256; - num = 6; - List list257 = new List(num); - CollectionsMarshal.SetCount(list257, num); - Span span81 = CollectionsMarshal.AsSpan(list257); - ref QuestSequence reference186 = ref span81[0]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - CollectionsMarshal.AsSpan(list258)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032720u, new Vector3(-22.90387f, -25.207546f, 310.6278f), 817); - obj178.Steps = list258; - reference186 = obj178; - ref QuestSequence reference187 = ref span81[1]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - CollectionsMarshal.AsSpan(list259)[0] = new QuestStep(EInteractionType.Interact, 1032721u, new Vector3(463.79797f, 6.95506f, -199.02344f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - obj179.Steps = list259; - reference187 = obj179; - ref QuestSequence reference188 = ref span81[2]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.Interact, 2010996u, new Vector3(607.84314f, -41.031555f, -281.8189f), 817) - { - Fly = true - }; - obj180.Steps = list260; - reference188 = obj180; - ref QuestSequence reference189 = ref span81[3]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.Interact, 1032724u, new Vector3(796.7803f, -45.83978f, -194.01855f), 817) - { - Fly = true - }; - obj181.Steps = list261; - reference189 = obj181; - ref QuestSequence reference190 = ref span81[4]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - ref QuestStep reference191 = ref CollectionsMarshal.AsSpan(list262)[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1032725u, new Vector3(795.7732f, -45.836327f, -192.40106f), 817); - num3 = 1; - List list263 = new List(num3); - CollectionsMarshal.SetCount(list263, num3); - CollectionsMarshal.AsSpan(list263)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANQIQ001_03794_Q3_000_000"), - Answer = new ExcelRef("TEXT_BANQIQ001_03794_A3_000_001") - }; - questStep9.DialogueChoices = list263; - reference191 = questStep9; - obj182.Steps = list262; - reference190 = obj182; - ref QuestSequence reference192 = ref span81[5]; - QuestSequence obj183 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - Span span82 = CollectionsMarshal.AsSpan(list264); - ref QuestStep reference193 = ref span82[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list265 = new List(num3); - CollectionsMarshal.SetCount(list265, num3); - CollectionsMarshal.AsSpan(list265)[0] = new GatheredItem - { - ItemId = 29512u, - ItemCount = 1 - }; - questStep10.ItemsToGather = list265; - reference193 = questStep10; - span82[1] = new QuestStep(EInteractionType.CompleteQuest, 1032724u, new Vector3(796.7803f, -45.83978f, -194.01855f), 817) - { - Fly = true - }; - obj183.Steps = list264; - reference192 = obj183; - questRoot34.QuestSequence = list257; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(3795); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list266 = new List(num); - CollectionsMarshal.SetCount(list266, num); - CollectionsMarshal.AsSpan(list266)[0] = "plogon_enjoyer"; - questRoot35.Author = list266; - num = 4; - List list267 = new List(num); - CollectionsMarshal.SetCount(list267, num); - Span span83 = CollectionsMarshal.AsSpan(list267); - ref QuestSequence reference194 = ref span83[0]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - CollectionsMarshal.AsSpan(list268)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032659u, new Vector3(802.79236f, -45.91779f, -218.58557f), 817); - obj184.Steps = list268; - reference194 = obj184; - ref QuestSequence reference195 = ref span83[1]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - CollectionsMarshal.AsSpan(list269)[0] = new QuestStep(EInteractionType.Interact, 1032731u, new Vector3(-28.732727f, -24.68478f, 318.28796f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - obj185.Steps = list269; - reference195 = obj185; - ref QuestSequence reference196 = ref span83[2]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - Span span84 = CollectionsMarshal.AsSpan(list270); - ref QuestStep reference197 = ref span84[0]; - QuestStep questStep11 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list271 = new List(num3); - CollectionsMarshal.SetCount(list271, num3); - CollectionsMarshal.AsSpan(list271)[0] = EExtendedClassJob.Miner; - questStep11.RequiredQuestAcceptedJob = list271; - num3 = 1; - List list272 = new List(num3); - CollectionsMarshal.SetCount(list272, num3); - CollectionsMarshal.AsSpan(list272)[0] = new GatheredItem - { - ItemId = 29513u, - ItemCount = 1 - }; - questStep11.ItemsToGather = list272; - reference197 = questStep11; - ref QuestStep reference198 = ref span84[1]; - QuestStep questStep12 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list273 = new List(num3); - CollectionsMarshal.SetCount(list273, num3); - CollectionsMarshal.AsSpan(list273)[0] = EExtendedClassJob.Botanist; - questStep12.RequiredQuestAcceptedJob = list273; - num3 = 1; - List list274 = new List(num3); - CollectionsMarshal.SetCount(list274, num3); - CollectionsMarshal.AsSpan(list274)[0] = new GatheredItem - { - ItemId = 29539u, - ItemCount = 1 - }; - questStep12.ItemsToGather = list274; - reference198 = questStep12; - span84[2] = new QuestStep(EInteractionType.Interact, 1032734u, new Vector3(802.6703f, -45.915627f, -214.70972f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - obj186.Steps = list270; - reference196 = obj186; - ref QuestSequence reference199 = ref span83[3]; - QuestSequence obj187 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032659u, new Vector3(802.79236f, -45.91779f, -218.58557f), 817); - obj187.Steps = list275; - reference199 = obj187; - questRoot35.QuestSequence = list267; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(3796); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list276 = new List(num); - CollectionsMarshal.SetCount(list276, num); - CollectionsMarshal.AsSpan(list276)[0] = "plogon_enjoyer"; - questRoot36.Author = list276; - num = 5; - List list277 = new List(num); - CollectionsMarshal.SetCount(list277, num); - Span span85 = CollectionsMarshal.AsSpan(list277); - ref QuestSequence reference200 = ref span85[0]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - CollectionsMarshal.AsSpan(list278)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032735u, new Vector3(803.7993f, -45.924515f, -217.94464f), 817); - obj188.Steps = list278; - reference200 = obj188; - ref QuestSequence reference201 = ref span85[1]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - CollectionsMarshal.AsSpan(list279)[0] = new QuestStep(EInteractionType.Interact, 1032659u, new Vector3(802.79236f, -45.91779f, -218.58557f), 817); - obj189.Steps = list279; - reference201 = obj189; - ref QuestSequence reference202 = ref span85[2]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - CollectionsMarshal.AsSpan(list280)[0] = new QuestStep(EInteractionType.Interact, 1027716u, new Vector3(494.9873f, -6.555339f, -224.93329f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - obj190.Steps = list280; - reference202 = obj190; - ref QuestSequence reference203 = ref span85[3]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - Span span86 = CollectionsMarshal.AsSpan(list281); - ref QuestStep reference204 = ref span86[0]; - QuestStep questStep13 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list282 = new List(num3); - CollectionsMarshal.SetCount(list282, num3); - CollectionsMarshal.AsSpan(list282)[0] = EExtendedClassJob.Miner; - questStep13.RequiredQuestAcceptedJob = list282; - num3 = 1; - List list283 = new List(num3); - CollectionsMarshal.SetCount(list283, num3); - CollectionsMarshal.AsSpan(list283)[0] = new GatheredItem - { - ItemId = 29514u, - ItemCount = 1 - }; - questStep13.ItemsToGather = list283; - reference204 = questStep13; - ref QuestStep reference205 = ref span86[1]; - QuestStep questStep14 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list284 = new List(num3); - CollectionsMarshal.SetCount(list284, num3); - CollectionsMarshal.AsSpan(list284)[0] = EExtendedClassJob.Botanist; - questStep14.RequiredQuestAcceptedJob = list284; - num3 = 1; - List list285 = new List(num3); - CollectionsMarshal.SetCount(list285, num3); - CollectionsMarshal.AsSpan(list285)[0] = new GatheredItem - { - ItemId = 29540u, - ItemCount = 1 - }; - questStep14.ItemsToGather = list285; - reference205 = questStep14; - span86[2] = new QuestStep(EInteractionType.Interact, 1032660u, new Vector3(804.4098f, -45.9255f, -216.41876f), 817) - { - Fly = true - }; - obj191.Steps = list281; - reference203 = obj191; - ref QuestSequence reference206 = ref span85[4]; - QuestSequence obj192 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - CollectionsMarshal.AsSpan(list286)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032659u, new Vector3(802.79236f, -45.91779f, -218.58557f), 817); - obj192.Steps = list286; - reference206 = obj192; - questRoot36.QuestSequence = list277; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(3797); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list287 = new List(num); - CollectionsMarshal.SetCount(list287, num); - CollectionsMarshal.AsSpan(list287)[0] = "plogon_enjoyer"; - questRoot37.Author = list287; - num = 4; - List list288 = new List(num); - CollectionsMarshal.SetCount(list288, num); - Span span87 = CollectionsMarshal.AsSpan(list288); - ref QuestSequence reference207 = ref span87[0]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032735u, new Vector3(803.7993f, -45.924515f, -217.94464f), 817); - obj193.Steps = list289; - reference207 = obj193; - ref QuestSequence reference208 = ref span87[1]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - CollectionsMarshal.AsSpan(list290)[0] = new QuestStep(EInteractionType.Interact, 1032659u, new Vector3(802.79236f, -45.91779f, -218.58557f), 817); - obj194.Steps = list290; - reference208 = obj194; - ref QuestSequence reference209 = ref span87[2]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - Span span88 = CollectionsMarshal.AsSpan(list291); - ref QuestStep reference210 = ref span88[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list292 = new List(num3); - CollectionsMarshal.SetCount(list292, num3); - CollectionsMarshal.AsSpan(list292)[0] = EExtendedClassJob.Miner; - questStep15.RequiredQuestAcceptedJob = list292; - num3 = 1; - List list293 = new List(num3); - CollectionsMarshal.SetCount(list293, num3); - CollectionsMarshal.AsSpan(list293)[0] = new GatheredItem - { - ItemId = 29515u, - ItemCount = 3 - }; - questStep15.ItemsToGather = list293; - reference210 = questStep15; - ref QuestStep reference211 = ref span88[1]; - QuestStep questStep16 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list294 = new List(num3); - CollectionsMarshal.SetCount(list294, num3); - CollectionsMarshal.AsSpan(list294)[0] = EExtendedClassJob.Botanist; - questStep16.RequiredQuestAcceptedJob = list294; - num3 = 1; - List list295 = new List(num3); - CollectionsMarshal.SetCount(list295, num3); - CollectionsMarshal.AsSpan(list295)[0] = new GatheredItem - { - ItemId = 29541u, - ItemCount = 3 - }; - questStep16.ItemsToGather = list295; - reference211 = questStep16; - span88[2] = new QuestStep(EInteractionType.Interact, 1032862u, new Vector3(777.06555f, -45.76794f, -209.21649f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - obj195.Steps = list291; - reference209 = obj195; - ref QuestSequence reference212 = ref span87[3]; - QuestSequence obj196 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - CollectionsMarshal.AsSpan(list296)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032659u, new Vector3(802.79236f, -45.91779f, -218.58557f), 817); - obj196.Steps = list296; - reference212 = obj196; - questRoot37.QuestSequence = list288; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(3798); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list297 = new List(num); - CollectionsMarshal.SetCount(list297, num); - CollectionsMarshal.AsSpan(list297)[0] = "plogon_enjoyer"; - questRoot38.Author = list297; - num = 7; - List list298 = new List(num); - CollectionsMarshal.SetCount(list298, num); - Span span89 = CollectionsMarshal.AsSpan(list298); - ref QuestSequence reference213 = ref span89[0]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - CollectionsMarshal.AsSpan(list299)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032735u, new Vector3(803.7993f, -45.924515f, -217.94464f), 817); - obj197.Steps = list299; - reference213 = obj197; - ref QuestSequence reference214 = ref span89[1]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - CollectionsMarshal.AsSpan(list300)[0] = new QuestStep(EInteractionType.Interact, 1032659u, new Vector3(802.79236f, -45.91779f, -218.58557f), 817); - obj198.Steps = list300; - reference214 = obj198; - ref QuestSequence reference215 = ref span89[2]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - CollectionsMarshal.AsSpan(list301)[0] = new QuestStep(EInteractionType.Interact, 1027716u, new Vector3(494.9873f, -6.555339f, -224.93329f), 817) - { - Fly = true - }; - obj199.Steps = list301; - reference215 = obj199; - ref QuestSequence reference216 = ref span89[3]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list302 = new List(num2); - CollectionsMarshal.SetCount(list302, num2); - CollectionsMarshal.AsSpan(list302)[0] = new QuestStep(EInteractionType.Interact, 1032967u, new Vector3(774.8989f, -45.74954f, -205.52374f), 817) - { - Fly = true - }; - obj200.Steps = list302; - reference216 = obj200; - ref QuestSequence reference217 = ref span89[4]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list303 = new List(num2); - CollectionsMarshal.SetCount(list303, num2); - CollectionsMarshal.AsSpan(list303)[0] = new QuestStep(EInteractionType.Interact, 1032967u, new Vector3(774.8989f, -45.74954f, -205.52374f), 817); - obj201.Steps = list303; - reference217 = obj201; - ref QuestSequence reference218 = ref span89[5]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - Span span90 = CollectionsMarshal.AsSpan(list304); - ref QuestStep reference219 = ref span90[0]; - QuestStep questStep17 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list305 = new List(num3); - CollectionsMarshal.SetCount(list305, num3); - CollectionsMarshal.AsSpan(list305)[0] = EExtendedClassJob.Miner; - questStep17.RequiredQuestAcceptedJob = list305; - num3 = 1; - List list306 = new List(num3); - CollectionsMarshal.SetCount(list306, num3); - CollectionsMarshal.AsSpan(list306)[0] = new GatheredItem - { - ItemId = 29516u, - ItemCount = 3 - }; - questStep17.ItemsToGather = list306; - reference219 = questStep17; - ref QuestStep reference220 = ref span90[1]; - QuestStep questStep18 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list307 = new List(num3); - CollectionsMarshal.SetCount(list307, num3); - CollectionsMarshal.AsSpan(list307)[0] = EExtendedClassJob.Botanist; - questStep18.RequiredQuestAcceptedJob = list307; - num3 = 1; - List list308 = new List(num3); - CollectionsMarshal.SetCount(list308, num3); - CollectionsMarshal.AsSpan(list308)[0] = new GatheredItem - { - ItemId = 29542u, - ItemCount = 3 - }; - questStep18.ItemsToGather = list308; - reference220 = questStep18; - span90[2] = new QuestStep(EInteractionType.Interact, 1032967u, new Vector3(774.8989f, -45.74954f, -205.52374f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - obj202.Steps = list304; - reference218 = obj202; - ref QuestSequence reference221 = ref span89[6]; - QuestSequence obj203 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - CollectionsMarshal.AsSpan(list309)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032660u, new Vector3(804.4098f, -45.9255f, -216.41876f), 817); - obj203.Steps = list309; - reference221 = obj203; - questRoot38.QuestSequence = list298; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(3799); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list310 = new List(num); - CollectionsMarshal.SetCount(list310, num); - CollectionsMarshal.AsSpan(list310)[0] = "plogon_enjoyer"; - questRoot39.Author = list310; - num = 6; - List list311 = new List(num); - CollectionsMarshal.SetCount(list311, num); - Span span91 = CollectionsMarshal.AsSpan(list311); - ref QuestSequence reference222 = ref span91[0]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - CollectionsMarshal.AsSpan(list312)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032659u, new Vector3(802.79236f, -45.91779f, -218.58557f), 817); - obj204.Steps = list312; - reference222 = obj204; - ref QuestSequence reference223 = ref span91[1]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list313 = new List(num2); - CollectionsMarshal.SetCount(list313, num2); - CollectionsMarshal.AsSpan(list313)[0] = new QuestStep(EInteractionType.Interact, 1027716u, new Vector3(494.9873f, -6.555339f, -224.93329f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - obj205.Steps = list313; - reference223 = obj205; - ref QuestSequence reference224 = ref span91[2]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - CollectionsMarshal.AsSpan(list314)[0] = new QuestStep(EInteractionType.Interact, 1032732u, new Vector3(-26.93219f, -24.638563f, 319.35608f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - obj206.Steps = list314; - reference224 = obj206; - ref QuestSequence reference225 = ref span91[3]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - CollectionsMarshal.AsSpan(list315)[0] = new QuestStep(EInteractionType.Interact, 1032750u, new Vector3(-523.827f, 0.143766f, 227.55774f), 817) - { - Fly = true - }; - obj207.Steps = list315; - reference225 = obj207; - ref QuestSequence reference226 = ref span91[4]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - CollectionsMarshal.AsSpan(list316)[0] = new QuestStep(EInteractionType.Interact, 1032750u, new Vector3(-523.827f, 0.143766f, 227.55774f), 817); - obj208.Steps = list316; - reference226 = obj208; - ref QuestSequence reference227 = ref span91[5]; - QuestSequence obj209 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list317 = new List(num2); - CollectionsMarshal.SetCount(list317, num2); - CollectionsMarshal.AsSpan(list317)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032660u, new Vector3(804.4098f, -45.9255f, -216.41876f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - obj209.Steps = list317; - reference227 = obj209; - questRoot39.QuestSequence = list311; - AddQuest(questId39, questRoot39); - } - - private static void LoadQuests76() - { - QuestId questId = new QuestId(3800); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "plogon_enjoyer"; - questRoot.Author = list; - num = 2; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032660u, new Vector3(804.4098f, -45.9255f, -216.41876f), 817); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032660u, new Vector3(804.4098f, -45.9255f, -216.41876f), 817); - obj2.Steps = list4; - reference2 = obj2; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(3801); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list5 = new List(num); - CollectionsMarshal.SetCount(list5, num); - CollectionsMarshal.AsSpan(list5)[0] = "plogon_enjoyer"; - questRoot2.Author = list5; - num = 2; - List list6 = new List(num); - CollectionsMarshal.SetCount(list6, num); - Span span2 = CollectionsMarshal.AsSpan(list6); - ref QuestSequence reference3 = ref span2[0]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032659u, new Vector3(802.79236f, -45.91779f, -218.58557f), 817); - obj3.Steps = list7; - reference3 = obj3; - ref QuestSequence reference4 = ref span2[1]; - QuestSequence obj4 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032659u, new Vector3(802.79236f, -45.91779f, -218.58557f), 817); - obj4.Steps = list8; - reference4 = obj4; - questRoot2.QuestSequence = list6; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(3802); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - CollectionsMarshal.AsSpan(list9)[0] = "plogon_enjoyer"; - questRoot3.Author = list9; - num = 2; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - Span span3 = CollectionsMarshal.AsSpan(list10); - ref QuestSequence reference5 = ref span3[0]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032660u, new Vector3(804.4098f, -45.9255f, -216.41876f), 817); - obj5.Steps = list11; - reference5 = obj5; - ref QuestSequence reference6 = ref span3[1]; - QuestSequence obj6 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032660u, new Vector3(804.4098f, -45.9255f, -216.41876f), 817); - obj6.Steps = list12; - reference6 = obj6; - questRoot3.QuestSequence = list10; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(3803); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = "plogon_enjoyer"; - questRoot4.Author = list13; - num = 2; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - Span span4 = CollectionsMarshal.AsSpan(list14); - ref QuestSequence reference7 = ref span4[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032659u, new Vector3(802.79236f, -45.91779f, -218.58557f), 817); - obj7.Steps = list15; - reference7 = obj7; - ref QuestSequence reference8 = ref span4[1]; - QuestSequence obj8 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032659u, new Vector3(802.79236f, -45.91779f, -218.58557f), 817); - obj8.Steps = list16; - reference8 = obj8; - questRoot4.QuestSequence = list14; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(3804); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - CollectionsMarshal.AsSpan(list17)[0] = "plogon_enjoyer"; - questRoot5.Author = list17; - num = 2; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - Span span5 = CollectionsMarshal.AsSpan(list18); - ref QuestSequence reference9 = ref span5[0]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032660u, new Vector3(804.4098f, -45.9255f, -216.41876f), 817); - obj9.Steps = list19; - reference9 = obj9; - ref QuestSequence reference10 = ref span5[1]; - QuestSequence obj10 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032660u, new Vector3(804.4098f, -45.9255f, -216.41876f), 817); - obj10.Steps = list20; - reference10 = obj10; - questRoot5.QuestSequence = list18; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(3805); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - CollectionsMarshal.AsSpan(list21)[0] = "plogon_enjoyer"; - questRoot6.Author = list21; - num = 2; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - Span span6 = CollectionsMarshal.AsSpan(list22); - ref QuestSequence reference11 = ref span6[0]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032659u, new Vector3(802.79236f, -45.91779f, -218.58557f), 817); - obj11.Steps = list23; - reference11 = obj11; - ref QuestSequence reference12 = ref span6[1]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032659u, new Vector3(802.79236f, -45.91779f, -218.58557f), 817); - obj12.Steps = list24; - reference12 = obj12; - questRoot6.QuestSequence = list22; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(3806); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - CollectionsMarshal.AsSpan(list25)[0] = "liza"; - questRoot7.Author = list25; - num = 2; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - Span span7 = CollectionsMarshal.AsSpan(list26); - ref QuestSequence reference13 = ref span7[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj13.Steps = list27; - reference13 = obj13; - ref QuestSequence reference14 = ref span7[1]; - QuestSequence obj14 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - Span span8 = CollectionsMarshal.AsSpan(list28); - ref QuestStep reference15 = ref span8[0]; - QuestStep questStep = new QuestStep(EInteractionType.Gather, null, null, 817); - int num3 = 1; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - CollectionsMarshal.AsSpan(list29)[0] = EExtendedClassJob.Miner; - questStep.RequiredQuestAcceptedJob = list29; - num3 = 1; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - CollectionsMarshal.AsSpan(list30)[0] = new GatheredItem - { - ItemId = 29517u, - ItemCount = 3 - }; - questStep.ItemsToGather = list30; - reference15 = questStep; - ref QuestStep reference16 = ref span8[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - CollectionsMarshal.AsSpan(list31)[0] = EExtendedClassJob.Botanist; - questStep2.RequiredQuestAcceptedJob = list31; - num3 = 1; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - CollectionsMarshal.AsSpan(list32)[0] = new GatheredItem - { - ItemId = 29543u, - ItemCount = 3 - }; - questStep2.ItemsToGather = list32; - reference16 = questStep2; - span8[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span8[3] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj14.Steps = list28; - reference14 = obj14; - questRoot7.QuestSequence = list26; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(3807); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list33 = new List(num); - CollectionsMarshal.SetCount(list33, num); - CollectionsMarshal.AsSpan(list33)[0] = "liza"; - questRoot8.Author = list33; - num = 2; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - Span span9 = CollectionsMarshal.AsSpan(list34); - ref QuestSequence reference17 = ref span9[0]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj15.Steps = list35; - reference17 = obj15; - ref QuestSequence reference18 = ref span9[1]; - QuestSequence obj16 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - Span span10 = CollectionsMarshal.AsSpan(list36); - ref QuestStep reference19 = ref span10[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - CollectionsMarshal.AsSpan(list37)[0] = EExtendedClassJob.Miner; - questStep3.RequiredQuestAcceptedJob = list37; - num3 = 1; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - CollectionsMarshal.AsSpan(list38)[0] = new GatheredItem - { - ItemId = 29518u, - ItemCount = 3 - }; - questStep3.ItemsToGather = list38; - reference19 = questStep3; - ref QuestStep reference20 = ref span10[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list39 = new List(num3); - CollectionsMarshal.SetCount(list39, num3); - CollectionsMarshal.AsSpan(list39)[0] = EExtendedClassJob.Botanist; - questStep4.RequiredQuestAcceptedJob = list39; - num3 = 1; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - CollectionsMarshal.AsSpan(list40)[0] = new GatheredItem - { - ItemId = 29544u, - ItemCount = 3 - }; - questStep4.ItemsToGather = list40; - reference20 = questStep4; - span10[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true - }; - span10[3] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj16.Steps = list36; - reference18 = obj16; - questRoot8.QuestSequence = list34; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(3808); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - CollectionsMarshal.AsSpan(list41)[0] = "liza"; - questRoot9.Author = list41; - num = 2; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - Span span11 = CollectionsMarshal.AsSpan(list42); - ref QuestSequence reference21 = ref span11[0]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj17.Steps = list43; - reference21 = obj17; - ref QuestSequence reference22 = ref span11[1]; - QuestSequence obj18 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - Span span12 = CollectionsMarshal.AsSpan(list44); - ref QuestStep reference23 = ref span12[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - CollectionsMarshal.AsSpan(list45)[0] = EExtendedClassJob.Miner; - questStep5.RequiredQuestAcceptedJob = list45; - num3 = 1; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - CollectionsMarshal.AsSpan(list46)[0] = new GatheredItem - { - ItemId = 29519u, - ItemCount = 3 - }; - questStep5.ItemsToGather = list46; - reference23 = questStep5; - ref QuestStep reference24 = ref span12[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list47 = new List(num3); - CollectionsMarshal.SetCount(list47, num3); - CollectionsMarshal.AsSpan(list47)[0] = EExtendedClassJob.Botanist; - questStep6.RequiredQuestAcceptedJob = list47; - num3 = 1; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - CollectionsMarshal.AsSpan(list48)[0] = new GatheredItem - { - ItemId = 29545u, - ItemCount = 3 - }; - questStep6.ItemsToGather = list48; - reference24 = questStep6; - span12[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span12[3] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj18.Steps = list44; - reference22 = obj18; - questRoot9.QuestSequence = list42; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(3809); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - CollectionsMarshal.AsSpan(list49)[0] = "liza"; - questRoot10.Author = list49; - num = 2; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - Span span13 = CollectionsMarshal.AsSpan(list50); - ref QuestSequence reference25 = ref span13[0]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj19.Steps = list51; - reference25 = obj19; - ref QuestSequence reference26 = ref span13[1]; - QuestSequence obj20 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - Span span14 = CollectionsMarshal.AsSpan(list52); - ref QuestStep reference27 = ref span14[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - CollectionsMarshal.AsSpan(list53)[0] = EExtendedClassJob.Miner; - questStep7.RequiredQuestAcceptedJob = list53; - num3 = 1; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - CollectionsMarshal.AsSpan(list54)[0] = new GatheredItem - { - ItemId = 29520u, - ItemCount = 3 - }; - questStep7.ItemsToGather = list54; - reference27 = questStep7; - ref QuestStep reference28 = ref span14[1]; - QuestStep questStep8 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list55 = new List(num3); - CollectionsMarshal.SetCount(list55, num3); - CollectionsMarshal.AsSpan(list55)[0] = EExtendedClassJob.Botanist; - questStep8.RequiredQuestAcceptedJob = list55; - num3 = 1; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - CollectionsMarshal.AsSpan(list56)[0] = new GatheredItem - { - ItemId = 29546u, - ItemCount = 3 - }; - questStep8.ItemsToGather = list56; - reference28 = questStep8; - span14[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span14[3] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj20.Steps = list52; - reference26 = obj20; - questRoot10.QuestSequence = list50; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(3810); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - CollectionsMarshal.AsSpan(list57)[0] = "liza"; - questRoot11.Author = list57; - num = 4; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - Span span15 = CollectionsMarshal.AsSpan(list58); - ref QuestSequence reference29 = ref span15[0]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj21.Steps = list59; - reference29 = obj21; - ref QuestSequence reference30 = ref span15[1]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - Span span16 = CollectionsMarshal.AsSpan(list60); - ref QuestStep reference31 = ref span16[0]; - QuestStep obj23 = new QuestStep(EInteractionType.UseItem, 2010995u, new Vector3(-73.99103f, -19.36377f, 298.8479f), 817) - { - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough, - ItemId = 2002977u - }; - num3 = 6; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - Span span17 = CollectionsMarshal.AsSpan(list61); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj23.CompletionQuestVariablesFlags = list61; - reference31 = obj23; - ref QuestStep reference32 = ref span16[1]; - QuestStep obj24 = new QuestStep(EInteractionType.UseItem, 2010994u, new Vector3(-69.13867f, -19.485779f, 294.14807f), 817) - { - ItemId = 2002977u - }; - num3 = 6; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - Span span18 = CollectionsMarshal.AsSpan(list62); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj24.CompletionQuestVariablesFlags = list62; - reference32 = obj24; - obj22.Steps = list60; - reference30 = obj22; - ref QuestSequence reference33 = ref span15[2]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.Interact, 1027741u, new Vector3(-80.338745f, -19.101032f, 299.82446f), 817); - obj25.Steps = list63; - reference33 = obj25; - ref QuestSequence reference34 = ref span15[3]; - QuestSequence obj26 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - Span span19 = CollectionsMarshal.AsSpan(list64); - span19[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span19[1] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj26.Steps = list64; - reference34 = obj26; - questRoot11.QuestSequence = list58; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(3811); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - CollectionsMarshal.AsSpan(list65)[0] = "liza"; - questRoot12.Author = list65; - num = 2; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - Span span20 = CollectionsMarshal.AsSpan(list66); - ref QuestSequence reference35 = ref span20[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj27.Steps = list67; - reference35 = obj27; - ref QuestSequence reference36 = ref span20[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - Span span21 = CollectionsMarshal.AsSpan(list68); - ref QuestStep reference37 = ref span21[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - CollectionsMarshal.AsSpan(list69)[0] = EExtendedClassJob.Miner; - questStep9.RequiredQuestAcceptedJob = list69; - num3 = 1; - List list70 = new List(num3); - CollectionsMarshal.SetCount(list70, num3); - CollectionsMarshal.AsSpan(list70)[0] = new GatheredItem - { - ItemId = 29521u, - ItemCount = 3 - }; - questStep9.ItemsToGather = list70; - reference37 = questStep9; - ref QuestStep reference38 = ref span21[1]; - QuestStep questStep10 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - CollectionsMarshal.AsSpan(list71)[0] = EExtendedClassJob.Botanist; - questStep10.RequiredQuestAcceptedJob = list71; - num3 = 1; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - CollectionsMarshal.AsSpan(list72)[0] = new GatheredItem - { - ItemId = 29547u, - ItemCount = 3 - }; - questStep10.ItemsToGather = list72; - reference38 = questStep10; - span21[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span21[3] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj28.Steps = list68; - reference36 = obj28; - questRoot12.QuestSequence = list66; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(3812); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - CollectionsMarshal.AsSpan(list73)[0] = "liza"; - questRoot13.Author = list73; - num = 2; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - Span span22 = CollectionsMarshal.AsSpan(list74); - ref QuestSequence reference39 = ref span22[0]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj29.Steps = list75; - reference39 = obj29; - ref QuestSequence reference40 = ref span22[1]; - QuestSequence obj30 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - Span span23 = CollectionsMarshal.AsSpan(list76); - ref QuestStep reference41 = ref span23[0]; - QuestStep questStep11 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - CollectionsMarshal.AsSpan(list77)[0] = EExtendedClassJob.Miner; - questStep11.RequiredQuestAcceptedJob = list77; - num3 = 1; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - CollectionsMarshal.AsSpan(list78)[0] = new GatheredItem - { - ItemId = 29522u, - ItemCount = 3 - }; - questStep11.ItemsToGather = list78; - reference41 = questStep11; - ref QuestStep reference42 = ref span23[1]; - QuestStep questStep12 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - CollectionsMarshal.AsSpan(list79)[0] = EExtendedClassJob.Botanist; - questStep12.RequiredQuestAcceptedJob = list79; - num3 = 1; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - CollectionsMarshal.AsSpan(list80)[0] = new GatheredItem - { - ItemId = 29548u, - ItemCount = 3 - }; - questStep12.ItemsToGather = list80; - reference42 = questStep12; - span23[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span23[3] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj30.Steps = list76; - reference40 = obj30; - questRoot13.QuestSequence = list74; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(3813); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - CollectionsMarshal.AsSpan(list81)[0] = "plogon_enjoyer"; - questRoot14.Author = list81; - num = 3; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - Span span24 = CollectionsMarshal.AsSpan(list82); - ref QuestSequence reference43 = ref span24[0]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj31.Steps = list83; - reference43 = obj31; - ref QuestSequence reference44 = ref span24[1]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - Span span25 = CollectionsMarshal.AsSpan(list84); - span25[0] = new QuestStep(EInteractionType.Interact, 1027719u, new Vector3(303.5172f, 34.242825f, -146.65448f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span25[1] = new QuestStep(EInteractionType.Interact, 1027715u, new Vector3(411.21533f, 33.637783f, -128.5268f), 817) - { - Fly = true - }; - span25[2] = new QuestStep(EInteractionType.Interact, 1027713u, new Vector3(446.70776f, 34.051743f, -117.17407f), 817) - { - Fly = true - }; - obj32.Steps = list84; - reference44 = obj32; - ref QuestSequence reference45 = ref span24[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - Span span26 = CollectionsMarshal.AsSpan(list85); - span26[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true - }; - span26[1] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj33.Steps = list85; - reference45 = obj33; - questRoot14.QuestSequence = list82; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(3814); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - CollectionsMarshal.AsSpan(list86)[0] = "plogon_enjoyer"; - questRoot15.Author = list86; - num = 2; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - Span span27 = CollectionsMarshal.AsSpan(list87); - ref QuestSequence reference46 = ref span27[0]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj34.Steps = list88; - reference46 = obj34; - ref QuestSequence reference47 = ref span27[1]; - QuestSequence obj35 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - Span span28 = CollectionsMarshal.AsSpan(list89); - ref QuestStep reference48 = ref span28[0]; - QuestStep questStep13 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - CollectionsMarshal.AsSpan(list90)[0] = EExtendedClassJob.Miner; - questStep13.RequiredQuestAcceptedJob = list90; - num3 = 1; - List list91 = new List(num3); - CollectionsMarshal.SetCount(list91, num3); - CollectionsMarshal.AsSpan(list91)[0] = new GatheredItem - { - ItemId = 29523u, - ItemCount = 3 - }; - questStep13.ItemsToGather = list91; - reference48 = questStep13; - ref QuestStep reference49 = ref span28[1]; - QuestStep questStep14 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - CollectionsMarshal.AsSpan(list92)[0] = EExtendedClassJob.Botanist; - questStep14.RequiredQuestAcceptedJob = list92; - num3 = 1; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - CollectionsMarshal.AsSpan(list93)[0] = new GatheredItem - { - ItemId = 29549u, - ItemCount = 3 - }; - questStep14.ItemsToGather = list93; - reference49 = questStep14; - span28[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span28[3] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj35.Steps = list89; - reference47 = obj35; - questRoot15.QuestSequence = list87; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(3815); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - CollectionsMarshal.AsSpan(list94)[0] = "plogon_enjoyer"; - questRoot16.Author = list94; - num = 2; - List list95 = new List(num); - CollectionsMarshal.SetCount(list95, num); - Span span29 = CollectionsMarshal.AsSpan(list95); - ref QuestSequence reference50 = ref span29[0]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj36.Steps = list96; - reference50 = obj36; - ref QuestSequence reference51 = ref span29[1]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - Span span30 = CollectionsMarshal.AsSpan(list97); - ref QuestStep reference52 = ref span30[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - CollectionsMarshal.AsSpan(list98)[0] = EExtendedClassJob.Miner; - questStep15.RequiredQuestAcceptedJob = list98; - num3 = 1; - List list99 = new List(num3); - CollectionsMarshal.SetCount(list99, num3); - CollectionsMarshal.AsSpan(list99)[0] = new GatheredItem - { - ItemId = 29524u, - ItemCount = 3 - }; - questStep15.ItemsToGather = list99; - reference52 = questStep15; - ref QuestStep reference53 = ref span30[1]; - QuestStep questStep16 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list100 = new List(num3); - CollectionsMarshal.SetCount(list100, num3); - CollectionsMarshal.AsSpan(list100)[0] = EExtendedClassJob.Botanist; - questStep16.RequiredQuestAcceptedJob = list100; - num3 = 1; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - CollectionsMarshal.AsSpan(list101)[0] = new GatheredItem - { - ItemId = 29550u, - ItemCount = 3 - }; - questStep16.ItemsToGather = list101; - reference53 = questStep16; - span30[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span30[3] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj37.Steps = list97; - reference51 = obj37; - questRoot16.QuestSequence = list95; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(3816); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - CollectionsMarshal.AsSpan(list102)[0] = "plogon_enjoyer"; - questRoot17.Author = list102; - num = 2; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - Span span31 = CollectionsMarshal.AsSpan(list103); - ref QuestSequence reference54 = ref span31[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj38.Steps = list104; - reference54 = obj38; - ref QuestSequence reference55 = ref span31[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - Span span32 = CollectionsMarshal.AsSpan(list105); - ref QuestStep reference56 = ref span32[0]; - QuestStep questStep17 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - CollectionsMarshal.AsSpan(list106)[0] = EExtendedClassJob.Miner; - questStep17.RequiredQuestAcceptedJob = list106; - num3 = 1; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - CollectionsMarshal.AsSpan(list107)[0] = new GatheredItem - { - ItemId = 29525u, - ItemCount = 3 - }; - questStep17.ItemsToGather = list107; - reference56 = questStep17; - ref QuestStep reference57 = ref span32[1]; - QuestStep questStep18 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - CollectionsMarshal.AsSpan(list108)[0] = EExtendedClassJob.Botanist; - questStep18.RequiredQuestAcceptedJob = list108; - num3 = 1; - List list109 = new List(num3); - CollectionsMarshal.SetCount(list109, num3); - CollectionsMarshal.AsSpan(list109)[0] = new GatheredItem - { - ItemId = 29551u, - ItemCount = 3 - }; - questStep18.ItemsToGather = list109; - reference57 = questStep18; - span32[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span32[3] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj39.Steps = list105; - reference55 = obj39; - questRoot17.QuestSequence = list103; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(3817); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - CollectionsMarshal.AsSpan(list110)[0] = "plogon_enjoyer"; - questRoot18.Author = list110; - num = 2; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - Span span33 = CollectionsMarshal.AsSpan(list111); - ref QuestSequence reference58 = ref span33[0]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj40.Steps = list112; - reference58 = obj40; - ref QuestSequence reference59 = ref span33[1]; - QuestSequence obj41 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - Span span34 = CollectionsMarshal.AsSpan(list113); - ref QuestStep reference60 = ref span34[0]; - QuestStep questStep19 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - CollectionsMarshal.AsSpan(list114)[0] = EExtendedClassJob.Miner; - questStep19.RequiredQuestAcceptedJob = list114; - num3 = 1; - List list115 = new List(num3); - CollectionsMarshal.SetCount(list115, num3); - CollectionsMarshal.AsSpan(list115)[0] = new GatheredItem - { - ItemId = 29526u, - ItemCount = 3 - }; - questStep19.ItemsToGather = list115; - reference60 = questStep19; - ref QuestStep reference61 = ref span34[1]; - QuestStep questStep20 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - CollectionsMarshal.AsSpan(list116)[0] = EExtendedClassJob.Botanist; - questStep20.RequiredQuestAcceptedJob = list116; - num3 = 1; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - CollectionsMarshal.AsSpan(list117)[0] = new GatheredItem - { - ItemId = 29552u, - ItemCount = 3 - }; - questStep20.ItemsToGather = list117; - reference61 = questStep20; - span34[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span34[3] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj41.Steps = list113; - reference59 = obj41; - questRoot18.QuestSequence = list111; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(3818); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - CollectionsMarshal.AsSpan(list118)[0] = "plogon_enjoyer"; - questRoot19.Author = list118; - num = 2; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - Span span35 = CollectionsMarshal.AsSpan(list119); - ref QuestSequence reference62 = ref span35[0]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj42.Steps = list120; - reference62 = obj42; - ref QuestSequence reference63 = ref span35[1]; - QuestSequence obj43 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - Span span36 = CollectionsMarshal.AsSpan(list121); - ref QuestStep reference64 = ref span36[0]; - QuestStep questStep21 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list122 = new List(num3); - CollectionsMarshal.SetCount(list122, num3); - CollectionsMarshal.AsSpan(list122)[0] = EExtendedClassJob.Miner; - questStep21.RequiredQuestAcceptedJob = list122; - num3 = 1; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - CollectionsMarshal.AsSpan(list123)[0] = new GatheredItem - { - ItemId = 29527u, - ItemCount = 3 - }; - questStep21.ItemsToGather = list123; - reference64 = questStep21; - ref QuestStep reference65 = ref span36[1]; - QuestStep questStep22 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list124 = new List(num3); - CollectionsMarshal.SetCount(list124, num3); - CollectionsMarshal.AsSpan(list124)[0] = EExtendedClassJob.Botanist; - questStep22.RequiredQuestAcceptedJob = list124; - num3 = 1; - List list125 = new List(num3); - CollectionsMarshal.SetCount(list125, num3); - CollectionsMarshal.AsSpan(list125)[0] = new GatheredItem - { - ItemId = 29553u, - ItemCount = 3 - }; - questStep22.ItemsToGather = list125; - reference65 = questStep22; - span36[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span36[3] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj43.Steps = list121; - reference63 = obj43; - questRoot19.QuestSequence = list119; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(3819); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - CollectionsMarshal.AsSpan(list126)[0] = "liza"; - questRoot20.Author = list126; - num = 3; - List list127 = new List(num); - CollectionsMarshal.SetCount(list127, num); - Span span37 = CollectionsMarshal.AsSpan(list127); - ref QuestSequence reference66 = ref span37[0]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj44.Steps = list128; - reference66 = obj44; - ref QuestSequence reference67 = ref span37[1]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.Say, 1032413u, new Vector3(144.36548f, -19.982845f, -459.8001f), 817) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANQIQ114_03819_SAYTODO_000_000" - } - }; - obj45.Steps = list129; - reference67 = obj45; - ref QuestSequence reference68 = ref span37[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - Span span38 = CollectionsMarshal.AsSpan(list130); - span38[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span38[1] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj46.Steps = list130; - reference68 = obj46; - questRoot20.QuestSequence = list127; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(3820); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list131 = new List(num); - CollectionsMarshal.SetCount(list131, num); - CollectionsMarshal.AsSpan(list131)[0] = "liza"; - questRoot21.Author = list131; - num = 2; - List list132 = new List(num); - CollectionsMarshal.SetCount(list132, num); - Span span39 = CollectionsMarshal.AsSpan(list132); - ref QuestSequence reference69 = ref span39[0]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj47.Steps = list133; - reference69 = obj47; - ref QuestSequence reference70 = ref span39[1]; - QuestSequence obj48 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - Span span40 = CollectionsMarshal.AsSpan(list134); - ref QuestStep reference71 = ref span40[0]; - QuestStep questStep23 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list135 = new List(num3); - CollectionsMarshal.SetCount(list135, num3); - CollectionsMarshal.AsSpan(list135)[0] = EExtendedClassJob.Miner; - questStep23.RequiredQuestAcceptedJob = list135; - num3 = 1; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - CollectionsMarshal.AsSpan(list136)[0] = new GatheredItem - { - ItemId = 29528u, - ItemCount = 3 - }; - questStep23.ItemsToGather = list136; - reference71 = questStep23; - ref QuestStep reference72 = ref span40[1]; - QuestStep questStep24 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list137 = new List(num3); - CollectionsMarshal.SetCount(list137, num3); - CollectionsMarshal.AsSpan(list137)[0] = EExtendedClassJob.Botanist; - questStep24.RequiredQuestAcceptedJob = list137; - num3 = 1; - List list138 = new List(num3); - CollectionsMarshal.SetCount(list138, num3); - CollectionsMarshal.AsSpan(list138)[0] = new GatheredItem - { - ItemId = 29554u, - ItemCount = 3 - }; - questStep24.ItemsToGather = list138; - reference72 = questStep24; - span40[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span40[3] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj48.Steps = list134; - reference70 = obj48; - questRoot21.QuestSequence = list132; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(3821); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - CollectionsMarshal.AsSpan(list139)[0] = "liza"; - questRoot22.Author = list139; - num = 2; - List list140 = new List(num); - CollectionsMarshal.SetCount(list140, num); - Span span41 = CollectionsMarshal.AsSpan(list140); - ref QuestSequence reference73 = ref span41[0]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj49.Steps = list141; - reference73 = obj49; - ref QuestSequence reference74 = ref span41[1]; - QuestSequence obj50 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - Span span42 = CollectionsMarshal.AsSpan(list142); - ref QuestStep reference75 = ref span42[0]; - QuestStep questStep25 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - CollectionsMarshal.AsSpan(list143)[0] = EExtendedClassJob.Miner; - questStep25.RequiredQuestAcceptedJob = list143; - num3 = 1; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - CollectionsMarshal.AsSpan(list144)[0] = new GatheredItem - { - ItemId = 29529u, - ItemCount = 3 - }; - questStep25.ItemsToGather = list144; - reference75 = questStep25; - ref QuestStep reference76 = ref span42[1]; - QuestStep questStep26 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list145 = new List(num3); - CollectionsMarshal.SetCount(list145, num3); - CollectionsMarshal.AsSpan(list145)[0] = EExtendedClassJob.Botanist; - questStep26.RequiredQuestAcceptedJob = list145; - num3 = 1; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - CollectionsMarshal.AsSpan(list146)[0] = new GatheredItem - { - ItemId = 29555u, - ItemCount = 3 - }; - questStep26.ItemsToGather = list146; - reference76 = questStep26; - span42[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span42[3] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj50.Steps = list142; - reference74 = obj50; - questRoot22.QuestSequence = list140; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(3822); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list147 = new List(num); - CollectionsMarshal.SetCount(list147, num); - CollectionsMarshal.AsSpan(list147)[0] = "liza"; - questRoot23.Author = list147; - num = 2; - List list148 = new List(num); - CollectionsMarshal.SetCount(list148, num); - Span span43 = CollectionsMarshal.AsSpan(list148); - ref QuestSequence reference77 = ref span43[0]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj51.Steps = list149; - reference77 = obj51; - ref QuestSequence reference78 = ref span43[1]; - QuestSequence obj52 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - Span span44 = CollectionsMarshal.AsSpan(list150); - ref QuestStep reference79 = ref span44[0]; - QuestStep questStep27 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list151 = new List(num3); - CollectionsMarshal.SetCount(list151, num3); - CollectionsMarshal.AsSpan(list151)[0] = EExtendedClassJob.Miner; - questStep27.RequiredQuestAcceptedJob = list151; - num3 = 1; - List list152 = new List(num3); - CollectionsMarshal.SetCount(list152, num3); - CollectionsMarshal.AsSpan(list152)[0] = new GatheredItem - { - ItemId = 29530u, - ItemCount = 3 - }; - questStep27.ItemsToGather = list152; - reference79 = questStep27; - ref QuestStep reference80 = ref span44[1]; - QuestStep questStep28 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - CollectionsMarshal.AsSpan(list153)[0] = EExtendedClassJob.Botanist; - questStep28.RequiredQuestAcceptedJob = list153; - num3 = 1; - List list154 = new List(num3); - CollectionsMarshal.SetCount(list154, num3); - CollectionsMarshal.AsSpan(list154)[0] = new GatheredItem - { - ItemId = 29556u, - ItemCount = 3 - }; - questStep28.ItemsToGather = list154; - reference80 = questStep28; - span44[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span44[3] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj52.Steps = list150; - reference78 = obj52; - questRoot23.QuestSequence = list148; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(3823); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list155 = new List(num); - CollectionsMarshal.SetCount(list155, num); - CollectionsMarshal.AsSpan(list155)[0] = "liza"; - questRoot24.Author = list155; - num = 4; - List list156 = new List(num); - CollectionsMarshal.SetCount(list156, num); - Span span45 = CollectionsMarshal.AsSpan(list156); - ref QuestSequence reference81 = ref span45[0]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj53.Steps = list157; - reference81 = obj53; - ref QuestSequence reference82 = ref span45[1]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.Interact, 1032663u, new Vector3(793.97266f, -45.811764f, -188.03699f), 817); - obj54.Steps = list158; - reference82 = obj54; - ref QuestSequence reference83 = ref span45[2]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - Span span46 = CollectionsMarshal.AsSpan(list159); - ref QuestStep reference84 = ref span46[0]; - QuestStep obj56 = new QuestStep(EInteractionType.Action, 1032829u, new Vector3(488.3954f, 34.798103f, 232.37964f), 817) - { - Fly = true, - Action = EAction.PeculiarLight - }; - num3 = 6; - List list160 = new List(num3); - CollectionsMarshal.SetCount(list160, num3); - Span span47 = CollectionsMarshal.AsSpan(list160); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj56.CompletionQuestVariablesFlags = list160; - reference84 = obj56; - ref QuestStep reference85 = ref span46[1]; - QuestStep obj57 = new QuestStep(EInteractionType.Action, 1032828u, new Vector3(352.16296f, 28.242743f, 303.2119f), 817) - { - Fly = true, - Action = EAction.PeculiarLight - }; - num3 = 6; - List list161 = new List(num3); - CollectionsMarshal.SetCount(list161, num3); - Span span48 = CollectionsMarshal.AsSpan(list161); - span48[0] = null; - span48[1] = null; - span48[2] = null; - span48[3] = null; - span48[4] = null; - span48[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj57.CompletionQuestVariablesFlags = list161; - reference85 = obj57; - obj55.Steps = list159; - reference83 = obj55; - ref QuestSequence reference86 = ref span45[3]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - Span span49 = CollectionsMarshal.AsSpan(list162); - span49[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span49[1] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj58.Steps = list162; - reference86 = obj58; - questRoot24.QuestSequence = list156; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(3824); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list163 = new List(num); - CollectionsMarshal.SetCount(list163, num); - CollectionsMarshal.AsSpan(list163)[0] = "plogon_enjoyer"; - questRoot25.Author = list163; - num = 2; - List list164 = new List(num); - CollectionsMarshal.SetCount(list164, num); - Span span50 = CollectionsMarshal.AsSpan(list164); - ref QuestSequence reference87 = ref span50[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj59.Steps = list165; - reference87 = obj59; - ref QuestSequence reference88 = ref span50[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - Span span51 = CollectionsMarshal.AsSpan(list166); - ref QuestStep reference89 = ref span51[0]; - QuestStep questStep29 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list167 = new List(num3); - CollectionsMarshal.SetCount(list167, num3); - CollectionsMarshal.AsSpan(list167)[0] = EExtendedClassJob.Miner; - questStep29.RequiredQuestAcceptedJob = list167; - num3 = 1; - List list168 = new List(num3); - CollectionsMarshal.SetCount(list168, num3); - CollectionsMarshal.AsSpan(list168)[0] = new GatheredItem - { - ItemId = 29531u, - ItemCount = 3 - }; - questStep29.ItemsToGather = list168; - reference89 = questStep29; - ref QuestStep reference90 = ref span51[1]; - QuestStep questStep30 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list169 = new List(num3); - CollectionsMarshal.SetCount(list169, num3); - CollectionsMarshal.AsSpan(list169)[0] = EExtendedClassJob.Botanist; - questStep30.RequiredQuestAcceptedJob = list169; - num3 = 1; - List list170 = new List(num3); - CollectionsMarshal.SetCount(list170, num3); - CollectionsMarshal.AsSpan(list170)[0] = new GatheredItem - { - ItemId = 29557u, - ItemCount = 3 - }; - questStep30.ItemsToGather = list170; - reference90 = questStep30; - span51[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span51[3] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj60.Steps = list166; - reference88 = obj60; - questRoot25.QuestSequence = list164; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(3825); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - CollectionsMarshal.AsSpan(list171)[0] = "plogon_enjoyer"; - questRoot26.Author = list171; - num = 2; - List list172 = new List(num); - CollectionsMarshal.SetCount(list172, num); - Span span52 = CollectionsMarshal.AsSpan(list172); - ref QuestSequence reference91 = ref span52[0]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj61.Steps = list173; - reference91 = obj61; - ref QuestSequence reference92 = ref span52[1]; - QuestSequence obj62 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - Span span53 = CollectionsMarshal.AsSpan(list174); - ref QuestStep reference93 = ref span53[0]; - QuestStep questStep31 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list175 = new List(num3); - CollectionsMarshal.SetCount(list175, num3); - CollectionsMarshal.AsSpan(list175)[0] = EExtendedClassJob.Miner; - questStep31.RequiredQuestAcceptedJob = list175; - num3 = 1; - List list176 = new List(num3); - CollectionsMarshal.SetCount(list176, num3); - CollectionsMarshal.AsSpan(list176)[0] = new GatheredItem - { - ItemId = 29532u, - ItemCount = 3 - }; - questStep31.ItemsToGather = list176; - reference93 = questStep31; - ref QuestStep reference94 = ref span53[1]; - QuestStep questStep32 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list177 = new List(num3); - CollectionsMarshal.SetCount(list177, num3); - CollectionsMarshal.AsSpan(list177)[0] = EExtendedClassJob.Botanist; - questStep32.RequiredQuestAcceptedJob = list177; - num3 = 1; - List list178 = new List(num3); - CollectionsMarshal.SetCount(list178, num3); - CollectionsMarshal.AsSpan(list178)[0] = new GatheredItem - { - ItemId = 29558u, - ItemCount = 3 - }; - questStep32.ItemsToGather = list178; - reference94 = questStep32; - span53[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span53[3] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj62.Steps = list174; - reference92 = obj62; - questRoot26.QuestSequence = list172; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(3826); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list179 = new List(num); - CollectionsMarshal.SetCount(list179, num); - CollectionsMarshal.AsSpan(list179)[0] = "liza"; - questRoot27.Author = list179; - num = 3; - List list180 = new List(num); - CollectionsMarshal.SetCount(list180, num); - Span span54 = CollectionsMarshal.AsSpan(list180); - ref QuestSequence reference95 = ref span54[0]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj63.Steps = list181; - reference95 = obj63; - ref QuestSequence reference96 = ref span54[1]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.Interact, 2010997u, new Vector3(-399.52698f, 10.635498f, 241.50452f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - obj64.Steps = list182; - reference96 = obj64; - ref QuestSequence reference97 = ref span54[2]; - QuestSequence obj65 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - Span span55 = CollectionsMarshal.AsSpan(list183); - span55[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span55[1] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj65.Steps = list183; - reference97 = obj65; - questRoot27.QuestSequence = list180; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(3827); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list184 = new List(num); - CollectionsMarshal.SetCount(list184, num); - CollectionsMarshal.AsSpan(list184)[0] = "liza"; - questRoot28.Author = list184; - num = 2; - List list185 = new List(num); - CollectionsMarshal.SetCount(list185, num); - Span span56 = CollectionsMarshal.AsSpan(list185); - ref QuestSequence reference98 = ref span56[0]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj66.Steps = list186; - reference98 = obj66; - ref QuestSequence reference99 = ref span56[1]; - QuestSequence obj67 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - Span span57 = CollectionsMarshal.AsSpan(list187); - ref QuestStep reference100 = ref span57[0]; - QuestStep questStep33 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list188 = new List(num3); - CollectionsMarshal.SetCount(list188, num3); - CollectionsMarshal.AsSpan(list188)[0] = EExtendedClassJob.Miner; - questStep33.RequiredQuestAcceptedJob = list188; - num3 = 1; - List list189 = new List(num3); - CollectionsMarshal.SetCount(list189, num3); - CollectionsMarshal.AsSpan(list189)[0] = new GatheredItem - { - ItemId = 29533u, - ItemCount = 3 - }; - questStep33.ItemsToGather = list189; - reference100 = questStep33; - ref QuestStep reference101 = ref span57[1]; - QuestStep questStep34 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list190 = new List(num3); - CollectionsMarshal.SetCount(list190, num3); - CollectionsMarshal.AsSpan(list190)[0] = EExtendedClassJob.Botanist; - questStep34.RequiredQuestAcceptedJob = list190; - num3 = 1; - List list191 = new List(num3); - CollectionsMarshal.SetCount(list191, num3); - CollectionsMarshal.AsSpan(list191)[0] = new GatheredItem - { - ItemId = 29559u, - ItemCount = 3 - }; - questStep34.ItemsToGather = list191; - reference101 = questStep34; - span57[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span57[3] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f, - Fly = true - }; - obj67.Steps = list187; - reference99 = obj67; - questRoot28.QuestSequence = list185; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(3828); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list192 = new List(num); - CollectionsMarshal.SetCount(list192, num); - CollectionsMarshal.AsSpan(list192)[0] = "liza"; - questRoot29.Author = list192; - num = 2; - List list193 = new List(num); - CollectionsMarshal.SetCount(list193, num); - Span span58 = CollectionsMarshal.AsSpan(list193); - ref QuestSequence reference102 = ref span58[0]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj68.Steps = list194; - reference102 = obj68; - ref QuestSequence reference103 = ref span58[1]; - QuestSequence obj69 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - Span span59 = CollectionsMarshal.AsSpan(list195); - ref QuestStep reference104 = ref span59[0]; - QuestStep questStep35 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list196 = new List(num3); - CollectionsMarshal.SetCount(list196, num3); - CollectionsMarshal.AsSpan(list196)[0] = EExtendedClassJob.Miner; - questStep35.RequiredQuestAcceptedJob = list196; - num3 = 1; - List list197 = new List(num3); - CollectionsMarshal.SetCount(list197, num3); - CollectionsMarshal.AsSpan(list197)[0] = new GatheredItem - { - ItemId = 29534u, - ItemCount = 3 - }; - questStep35.ItemsToGather = list197; - reference104 = questStep35; - ref QuestStep reference105 = ref span59[1]; - QuestStep questStep36 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list198 = new List(num3); - CollectionsMarshal.SetCount(list198, num3); - CollectionsMarshal.AsSpan(list198)[0] = EExtendedClassJob.Botanist; - questStep36.RequiredQuestAcceptedJob = list198; - num3 = 1; - List list199 = new List(num3); - CollectionsMarshal.SetCount(list199, num3); - CollectionsMarshal.AsSpan(list199)[0] = new GatheredItem - { - ItemId = 29560u, - ItemCount = 3 - }; - questStep36.ItemsToGather = list199; - reference105 = questStep36; - span59[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span59[3] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj69.Steps = list195; - reference103 = obj69; - questRoot29.QuestSequence = list193; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(3829); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list200 = new List(num); - CollectionsMarshal.SetCount(list200, num); - CollectionsMarshal.AsSpan(list200)[0] = "liza"; - questRoot30.Author = list200; - num = 5; - List list201 = new List(num); - CollectionsMarshal.SetCount(list201, num); - Span span60 = CollectionsMarshal.AsSpan(list201); - ref QuestSequence reference106 = ref span60[0]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj70.Steps = list202; - reference106 = obj70; - ref QuestSequence reference107 = ref span60[1]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.Interact, 1032830u, new Vector3(-134.02002f, -18.460577f, 303.5476f), 817) - { - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - obj71.Steps = list203; - reference107 = obj71; - ref QuestSequence reference108 = ref span60[2]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.UseItem, 1032831u, new Vector3(-54.795166f, 0.7328947f, 217.09009f), 817) - { - Fly = true, - ItemId = 2002980u - }; - obj72.Steps = list204; - reference108 = obj72; - ref QuestSequence reference109 = ref span60[3]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.Interact, 1032830u, new Vector3(-134.02002f, -18.460577f, 303.5476f), 817); - obj73.Steps = list205; - reference109 = obj73; - ref QuestSequence reference110 = ref span60[4]; - QuestSequence obj74 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - Span span61 = CollectionsMarshal.AsSpan(list206); - span61[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span61[1] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj74.Steps = list206; - reference110 = obj74; - questRoot30.QuestSequence = list201; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(3830); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - CollectionsMarshal.AsSpan(list207)[0] = "liza"; - questRoot31.Author = list207; - num = 2; - List list208 = new List(num); - CollectionsMarshal.SetCount(list208, num); - Span span62 = CollectionsMarshal.AsSpan(list208); - ref QuestSequence reference111 = ref span62[0]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj75.Steps = list209; - reference111 = obj75; - ref QuestSequence reference112 = ref span62[1]; - QuestSequence obj76 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - Span span63 = CollectionsMarshal.AsSpan(list210); - ref QuestStep reference113 = ref span63[0]; - QuestStep questStep37 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - CollectionsMarshal.AsSpan(list211)[0] = EExtendedClassJob.Miner; - questStep37.RequiredQuestAcceptedJob = list211; - num3 = 1; - List list212 = new List(num3); - CollectionsMarshal.SetCount(list212, num3); - CollectionsMarshal.AsSpan(list212)[0] = new GatheredItem - { - ItemId = 29535u, - ItemCount = 3 - }; - questStep37.ItemsToGather = list212; - reference113 = questStep37; - ref QuestStep reference114 = ref span63[1]; - QuestStep questStep38 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list213 = new List(num3); - CollectionsMarshal.SetCount(list213, num3); - CollectionsMarshal.AsSpan(list213)[0] = EExtendedClassJob.Botanist; - questStep38.RequiredQuestAcceptedJob = list213; - num3 = 1; - List list214 = new List(num3); - CollectionsMarshal.SetCount(list214, num3); - CollectionsMarshal.AsSpan(list214)[0] = new GatheredItem - { - ItemId = 29561u, - ItemCount = 3 - }; - questStep38.ItemsToGather = list214; - reference114 = questStep38; - span63[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span63[3] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj76.Steps = list210; - reference112 = obj76; - questRoot31.QuestSequence = list208; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(3831); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list215 = new List(num); - CollectionsMarshal.SetCount(list215, num); - CollectionsMarshal.AsSpan(list215)[0] = "liza"; - questRoot32.Author = list215; - num = 2; - List list216 = new List(num); - CollectionsMarshal.SetCount(list216, num); - Span span64 = CollectionsMarshal.AsSpan(list216); - ref QuestSequence reference115 = ref span64[0]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj77.Steps = list217; - reference115 = obj77; - ref QuestSequence reference116 = ref span64[1]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - Span span65 = CollectionsMarshal.AsSpan(list218); - ref QuestStep reference117 = ref span65[0]; - QuestStep questStep39 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list219 = new List(num3); - CollectionsMarshal.SetCount(list219, num3); - CollectionsMarshal.AsSpan(list219)[0] = EExtendedClassJob.Miner; - questStep39.RequiredQuestAcceptedJob = list219; - num3 = 1; - List list220 = new List(num3); - CollectionsMarshal.SetCount(list220, num3); - CollectionsMarshal.AsSpan(list220)[0] = new GatheredItem - { - ItemId = 29536u, - ItemCount = 3 - }; - questStep39.ItemsToGather = list220; - reference117 = questStep39; - ref QuestStep reference118 = ref span65[1]; - QuestStep questStep40 = new QuestStep(EInteractionType.Gather, null, null, 817); - num3 = 1; - List list221 = new List(num3); - CollectionsMarshal.SetCount(list221, num3); - CollectionsMarshal.AsSpan(list221)[0] = EExtendedClassJob.Botanist; - questStep40.RequiredQuestAcceptedJob = list221; - num3 = 1; - List list222 = new List(num3); - CollectionsMarshal.SetCount(list222, num3); - CollectionsMarshal.AsSpan(list222)[0] = new GatheredItem - { - ItemId = 29562u, - ItemCount = 3 - }; - questStep40.ItemsToGather = list222; - reference118 = questStep40; - span65[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span65[3] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj78.Steps = list218; - reference116 = obj78; - questRoot32.QuestSequence = list216; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(3832); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list223 = new List(num); - CollectionsMarshal.SetCount(list223, num); - CollectionsMarshal.AsSpan(list223)[0] = "plogon_enjoyer"; - questRoot33.Author = list223; - num = 4; - List list224 = new List(num); - CollectionsMarshal.SetCount(list224, num); - Span span66 = CollectionsMarshal.AsSpan(list224); - ref QuestSequence reference119 = ref span66[0]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj79.Steps = list225; - reference119 = obj79; - ref QuestSequence reference120 = ref span66[1]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - CollectionsMarshal.AsSpan(list226)[0] = new QuestStep(EInteractionType.Interact, 1032663u, new Vector3(793.97266f, -45.811764f, -188.03699f), 817) - { - Fly = true - }; - obj80.Steps = list226; - reference120 = obj80; - ref QuestSequence reference121 = ref span66[2]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.Action, 2010998u, new Vector3(-677.0886f, 0.32037354f, 208.69751f), 817) - { - Fly = true, - Action = EAction.PeculiarLight - }; - obj81.Steps = list227; - reference121 = obj81; - ref QuestSequence reference122 = ref span66[3]; - QuestSequence obj82 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - Span span67 = CollectionsMarshal.AsSpan(list228); - span67[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(788.1569f, -45.82557f, -212.9306f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - span67[1] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - StopDistance = 7f - }; - obj82.Steps = list228; - reference122 = obj82; - questRoot33.QuestSequence = list224; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(3833); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list229 = new List(num); - CollectionsMarshal.SetCount(list229, num); - CollectionsMarshal.AsSpan(list229)[0] = "pot0to"; - questRoot34.Author = list229; - num = 2; - List list230 = new List(num); - CollectionsMarshal.SetCount(list230, num); - Span span68 = CollectionsMarshal.AsSpan(list230); - ref QuestSequence reference123 = ref span68[0]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817); - obj83.Steps = list231; - reference123 = obj83; - ref QuestSequence reference124 = ref span68[1]; - QuestSequence obj84 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - Span span69 = CollectionsMarshal.AsSpan(list232); - ref QuestStep reference125 = ref span69[0]; - QuestStep obj85 = new QuestStep(EInteractionType.Gather, 33005u, new Vector3(214.7744f, -19.57758f, 623.6767f), 817) - { - Fly = true - }; - num3 = 1; - List list233 = new List(num3); - CollectionsMarshal.SetCount(list233, num3); - CollectionsMarshal.AsSpan(list233)[0] = EExtendedClassJob.Miner; - obj85.RequiredQuestAcceptedJob = list233; - num3 = 1; - List list234 = new List(num3); - CollectionsMarshal.SetCount(list234, num3); - CollectionsMarshal.AsSpan(list234)[0] = new GatheredItem - { - ItemId = 29537u, - ItemCount = 3 - }; - obj85.ItemsToGather = list234; - reference125 = obj85; - ref QuestStep reference126 = ref span69[1]; - QuestStep obj86 = new QuestStep(EInteractionType.Gather, 33020u, new Vector3(226.1767f, -20.10281f, 643.5543f), 817) - { - Fly = true - }; - num3 = 1; - List list235 = new List(num3); - CollectionsMarshal.SetCount(list235, num3); - CollectionsMarshal.AsSpan(list235)[0] = EExtendedClassJob.Botanist; - obj86.RequiredQuestAcceptedJob = list235; - num3 = 1; - List list236 = new List(num3); - CollectionsMarshal.SetCount(list236, num3); - CollectionsMarshal.AsSpan(list236)[0] = new GatheredItem - { - ItemId = 29563u, - ItemCount = 3 - }; - obj86.ItemsToGather = list236; - reference126 = obj86; - span69[2] = new QuestStep(EInteractionType.CompleteQuest, 1032643u, new Vector3(787.0145f, -45.82774f, -218.555f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - obj84.Steps = list232; - reference124 = obj84; - questRoot34.QuestSequence = list230; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(3834); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list237 = new List(num); - CollectionsMarshal.SetCount(list237, num); - CollectionsMarshal.AsSpan(list237)[0] = "Censored"; - questRoot35.Author = list237; - num = 5; - List list238 = new List(num); - CollectionsMarshal.SetCount(list238, num); - Span span70 = CollectionsMarshal.AsSpan(list238); - ref QuestSequence reference127 = ref span70[0]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - CollectionsMarshal.AsSpan(list239)[0] = new QuestStep(EInteractionType.AcceptQuest, 1018994u, new Vector3(49.240845f, 4.0000005f, 55.77173f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeMarkets - } - }; - obj87.Steps = list239; - reference127 = obj87; - ref QuestSequence reference128 = ref span70[1]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - Span span71 = CollectionsMarshal.AsSpan(list240); - span71[0] = new QuestStep(EInteractionType.Interact, 1019070u, new Vector3(151.20166f, 14.7757225f, 95.78088f), 628) - { - TargetTerritoryId = (ushort)639, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeMarkets, - To = EAetheryteLocation.KuganeRubyBazaar - } - }; - span71[1] = new QuestStep(EInteractionType.Interact, 1020622u, new Vector3(0.045776367f, 0f, -2.3041382f), 639); - obj88.Steps = list240; - reference128 = obj88; - ref QuestSequence reference129 = ref span70[2]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.Interact, 1032866u, new Vector3(274.1283f, 8.18297f, -409.8421f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaHouseOfTheFierce - }; - obj89.Steps = list241; - reference129 = obj89; - ref QuestSequence reference130 = ref span70[3]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - CollectionsMarshal.AsSpan(list242)[0] = new QuestStep(EInteractionType.Interact, 1032867u, new Vector3(-258.53363f, 53.217503f, -644.8921f), 614) - { - Fly = true - }; - obj90.Steps = list242; - reference130 = obj90; - ref QuestSequence reference131 = ref span70[4]; - QuestSequence obj91 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032868u, new Vector3(-258.59473f, 53.217506f, -644.8616f), 614) - { - NextQuestId = new QuestId(3835) - }; - obj91.Steps = list243; - reference131 = obj91; - questRoot35.QuestSequence = list238; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(3835); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list244 = new List(num); - CollectionsMarshal.SetCount(list244, num); - CollectionsMarshal.AsSpan(list244)[0] = "Censored"; - questRoot36.Author = list244; - num = 7; - List list245 = new List(num); - CollectionsMarshal.SetCount(list245, num); - Span span72 = CollectionsMarshal.AsSpan(list245); - ref QuestSequence reference132 = ref span72[0]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - CollectionsMarshal.AsSpan(list246)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032868u, new Vector3(-258.59473f, 53.217506f, -644.8616f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaHouseOfTheFierce, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj92.Steps = list246; - reference132 = obj92; - ref QuestSequence reference133 = ref span72[1]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - ref QuestStep reference134 = ref CollectionsMarshal.AsSpan(list247)[0]; - QuestStep obj94 = new QuestStep(EInteractionType.Interact, 1032869u, new Vector3(127.27539f, -4.1787133f, 98.68005f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.DomanEnclave, - To = EAetheryteLocation.DomanEnclaveDocks - } - }; - num3 = 1; - List list248 = new List(num3); - CollectionsMarshal.SetCount(list248, num3); - CollectionsMarshal.AsSpan(list248)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKSA002_03835_Q1_000_031") - }; - obj94.DialogueChoices = list248; - reference134 = obj94; - obj93.Steps = list247; - reference133 = obj93; - span72[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference135 = ref span72[3]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.Interact, 1032874u, new Vector3(13.168518f, -0.23751694f, 8.377136f), 915); - obj95.Steps = list249; - reference135 = obj95; - ref QuestSequence reference136 = ref span72[4]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - CollectionsMarshal.AsSpan(list250)[0] = new QuestStep(EInteractionType.Interact, 1032871u, new Vector3(22.323914f, 0.09971012f, -14.694458f), 915); - obj96.Steps = list250; - reference136 = obj96; - ref QuestSequence reference137 = ref span72[5]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.Interact, 1032877u, new Vector3(29.43457f, 0f, 30.350098f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach - }; - obj97.Steps = list251; - reference137 = obj97; - ref QuestSequence reference138 = ref span72[6]; - QuestSequence obj98 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - CollectionsMarshal.AsSpan(list252)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032877u, new Vector3(29.43457f, 0f, 30.350098f), 635) - { - NextQuestId = new QuestId(3836) - }; - obj98.Steps = list252; - reference138 = obj98; - questRoot36.QuestSequence = list245; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(3836); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list253 = new List(num); - CollectionsMarshal.SetCount(list253, num); - CollectionsMarshal.AsSpan(list253)[0] = "Censored"; - questRoot37.Author = list253; - num = 5; - List list254 = new List(num); - CollectionsMarshal.SetCount(list254, num); - Span span73 = CollectionsMarshal.AsSpan(list254); - ref QuestSequence reference139 = ref span73[0]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - CollectionsMarshal.AsSpan(list255)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032877u, new Vector3(29.43457f, 0f, 30.350098f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj99.Steps = list255; - reference139 = obj99; - ref QuestSequence reference140 = ref span73[1]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.Interact, 1032869u, new Vector3(127.27539f, -4.1787133f, 98.68005f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.DomanEnclave, - To = EAetheryteLocation.DomanEnclaveDocks - } - }; - obj100.Steps = list256; - reference140 = obj100; - ref QuestSequence reference141 = ref span73[2]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - ref QuestStep reference142 = ref CollectionsMarshal.AsSpan(list257)[0]; - QuestStep questStep41 = new QuestStep(EInteractionType.SinglePlayerDuty, 1032901u, new Vector3(9.567322f, -6.0169958E-05f, -10.269409f), 915); - num3 = 1; - List list258 = new List(num3); - CollectionsMarshal.SetCount(list258, num3); - CollectionsMarshal.AsSpan(list258)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKSA003_03836_Q1_100_098") - }; - questStep41.DialogueChoices = list258; - reference142 = questStep41; - obj101.Steps = list257; - reference141 = obj101; - span73[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference143 = ref span73[4]; - QuestSequence obj102 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - CollectionsMarshal.AsSpan(list259)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032872u, new Vector3(16.67804f, 0.03006095f, -17.868408f), 915); - obj102.Steps = list259; - reference143 = obj102; - questRoot37.QuestSequence = list254; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(3837); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list260 = new List(num); - CollectionsMarshal.SetCount(list260, num); - CollectionsMarshal.AsSpan(list260)[0] = "liza"; - questRoot38.Author = list260; - num = 4; - List list261 = new List(num); - CollectionsMarshal.SetCount(list261, num); - Span span74 = CollectionsMarshal.AsSpan(list261); - ref QuestSequence reference144 = ref span74[0]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - CollectionsMarshal.AsSpan(list262)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032005u, new Vector3(206.22559f, -40f, 12.100342f), 886); - obj103.Steps = list262; - reference144 = obj103; - ref QuestSequence reference145 = ref span74[1]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - CollectionsMarshal.AsSpan(list263)[0] = new QuestStep(EInteractionType.Interact, 1032782u, new Vector3(6.8512573f, 27.030483f, -93.7973f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardLastVigil - } - }; - obj104.Steps = list263; - reference145 = obj104; - ref QuestSequence reference146 = ref span74[2]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.Interact, 1032784u, new Vector3(477.0122f, 214.9805f, 751.3999f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj105.Steps = list264; - reference146 = obj105; - ref QuestSequence reference147 = ref span74[3]; - QuestSequence obj106 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - Span span75 = CollectionsMarshal.AsSpan(list265); - span75[0] = new QuestStep(EInteractionType.None, null, null, 886) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardFirmament - } - }; - span75[1] = new QuestStep(EInteractionType.CompleteQuest, 1032786u, new Vector3(113.7865f, -20.000002f, -0.3204956f), 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmamentMendicantsCourt, - To = EAetheryteLocation.FirmamentMattock - }, - NextQuestId = new QuestId(3889) - }; - obj106.Steps = list265; - reference147 = obj106; - questRoot38.QuestSequence = list261; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(3842); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list266 = new List(num); - CollectionsMarshal.SetCount(list266, num); - CollectionsMarshal.AsSpan(list266)[0] = "liza"; - questRoot39.Author = list266; - num = 1; - List list267 = new List(num); - CollectionsMarshal.SetCount(list267, num); - ref QuestSequence reference148 = ref CollectionsMarshal.AsSpan(list267)[0]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - ref QuestStep reference149 = ref CollectionsMarshal.AsSpan(list268)[0]; - QuestStep questStep42 = new QuestStep(EInteractionType.AcceptQuest, 1032764u, new Vector3(-496.51334f, 7.681107f, 53.147095f), 621); - num3 = 1; - List list269 = new List(num3); - CollectionsMarshal.SetCount(list269, num3); - CollectionsMarshal.AsSpan(list269)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKYB007_03842_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKYB007_03842_A1_000_002") - }; - questStep42.DialogueChoices = list269; - reference149 = questStep42; - obj107.Steps = list268; - reference148 = obj107; - questRoot39.QuestSequence = list267; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(3843); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list270 = new List(num); - CollectionsMarshal.SetCount(list270, num); - CollectionsMarshal.AsSpan(list270)[0] = "Cacahuetes"; - questRoot40.Author = list270; - num = 2; - List list271 = new List(num); - CollectionsMarshal.SetCount(list271, num); - Span span76 = CollectionsMarshal.AsSpan(list271); - ref QuestSequence reference150 = ref span76[0]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - CollectionsMarshal.AsSpan(list272)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000858u, new Vector3(-168.47485f, 4.5500045f, 163.65295f), 129); - obj108.Steps = list272; - reference150 = obj108; - ref QuestSequence reference151 = ref span76[1]; - QuestSequence obj109 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - CollectionsMarshal.AsSpan(list273)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005424u, new Vector3(-412.80237f, 4f, 75.05908f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.LimsaArcanist - } - }; - obj109.Steps = list273; - reference151 = obj109; - questRoot40.QuestSequence = list271; - AddQuest(questId40, questRoot40); - } - - private static void LoadQuests77() - { - QuestId questId = new QuestId(3852); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001541u, new Vector3(-99.4126f, -11.39856f, -41.73346f), 141); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - span2[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 141) - { - Aetheryte = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - span2[1] = new QuestStep(EInteractionType.RegisterFreeOrFavoredAetheryte, null, null, 141) - { - Aetheryte = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - span2[2] = new QuestStep(EInteractionType.Interact, 1001447u, new Vector3(-32.6391f, -1.0332576f, -148.51611f), 141); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 7; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - Span span3 = CollectionsMarshal.AsSpan(list5); - span3[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-12.223117f, -2.0482793f, -145.75566f), 141); - span3[1] = new QuestStep(EInteractionType.EquipRecommended, null, null, 141); - ref QuestStep reference4 = ref span3[2]; - QuestStep obj4 = new QuestStep(EInteractionType.PurchaseItem, 1001564u, new Vector3(-9.689575f, -2.0480804f, -145.09808f), 141) - { - ItemId = 2653u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - int num3 = 1; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - CollectionsMarshal.AsSpan(list6)[0] = EExtendedClassJob.DoW; - obj4.RequiredCurrentJob = list6; - obj4.PurchaseMenu = new PurchaseMenu - { - ExcelSheet = "GilShop", - Key = new ExcelRef(262357u) - }; - reference4 = obj4; - ref QuestStep reference5 = ref span3[3]; - QuestStep obj5 = new QuestStep(EInteractionType.PurchaseItem, 1001564u, new Vector3(-9.689575f, -2.0480804f, -145.09808f), 141) - { - ItemId = 2655u, - ItemCount = 1 - }; - num3 = 1; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - CollectionsMarshal.AsSpan(list7)[0] = EExtendedClassJob.DoM; - obj5.RequiredCurrentJob = list7; - obj5.PurchaseMenu = new PurchaseMenu - { - ExcelSheet = "GilShop", - Key = new ExcelRef(262357u) - }; - reference5 = obj5; - span3[4] = new QuestStep(EInteractionType.EquipItem, null, null, 141) - { - ItemId = 2653u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span3[5] = new QuestStep(EInteractionType.EquipItem, null, null, 141) - { - ItemId = 2655u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span3[6] = new QuestStep(EInteractionType.CompleteQuest, 1001447u, new Vector3(-32.6391f, -1.0332576f, -148.51611f), 141); - obj3.Steps = list5; - reference3 = obj3; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(3853); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - CollectionsMarshal.AsSpan(list8)[0] = "liza"; - questRoot2.Author = list8; - num = 3; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - Span span4 = CollectionsMarshal.AsSpan(list9); - ref QuestSequence reference6 = ref span4[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001605u, new Vector3(94.46863f, 0.34075314f, -272.60242f), 141); - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span4[1]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - Span span5 = CollectionsMarshal.AsSpan(list11); - ref QuestStep reference8 = ref span5[0]; - QuestStep obj8 = new QuestStep(EInteractionType.Combat, 353u, new Vector3(112.41321f, 28.93967f, -37.277832f), 141) - { - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - num3 = 2; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - Span span6 = CollectionsMarshal.AsSpan(list12); - span6[0] = 352u; - span6[1] = 353u; - obj8.KillEnemyDataIds = list12; - reference8 = obj8; - ref QuestStep reference9 = ref span5[1]; - QuestStep obj9 = new QuestStep(EInteractionType.Combat, null, new Vector3(125.61467f, 29.092033f, -14.67918f), 141) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - CollectionsMarshal.AsSpan(list13)[0] = 355u; - obj9.KillEnemyDataIds = list13; - reference9 = obj9; - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference10 = ref span4[2]; - QuestSequence obj10 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - Span span7 = CollectionsMarshal.AsSpan(list14); - span7[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(131.78122f, 20.119337f, -115.27284f), 141); - span7[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(127.7017f, -0.15994573f, -161.89238f), 141) - { - DisableNavmesh = true - }; - span7[2] = new QuestStep(EInteractionType.CompleteQuest, 1001605u, new Vector3(94.46863f, 0.34075314f, -272.60242f), 141); - obj10.Steps = list14; - reference10 = obj10; - questRoot2.QuestSequence = list9; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(3854); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - CollectionsMarshal.AsSpan(list15)[0] = "liza"; - questRoot3.Author = list15; - num = 3; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - Span span8 = CollectionsMarshal.AsSpan(list16); - ref QuestSequence reference11 = ref span8[0]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000421u, new Vector3(98.25281f, -8f, -78.446655f), 148); - obj11.Steps = list17; - reference11 = obj11; - ref QuestSequence reference12 = ref span8[1]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - ref QuestStep reference13 = ref CollectionsMarshal.AsSpan(list18)[0]; - QuestStep obj13 = new QuestStep(EInteractionType.Combat, null, new Vector3(194.08282f, -8.422037f, -47.295006f), 148) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list19 = new List(num3); - CollectionsMarshal.SetCount(list19, num3); - CollectionsMarshal.AsSpan(list19)[0] = new ComplexCombatData - { - DataId = 43u, - MinimumKillCount = 3u - }; - obj13.ComplexCombatData = list19; - reference13 = obj13; - obj12.Steps = list18; - reference12 = obj12; - ref QuestSequence reference14 = ref span8[2]; - QuestSequence obj14 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000449u, new Vector3(201.83093f, -5.5419664f, -107.25574f), 148); - obj14.Steps = list20; - reference14 = obj14; - questRoot3.QuestSequence = list16; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(3855); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - CollectionsMarshal.AsSpan(list21)[0] = "liza"; - questRoot4.Author = list21; - num = 4; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - Span span9 = CollectionsMarshal.AsSpan(list22); - ref QuestSequence reference15 = ref span9[0]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000685u, new Vector3(287.92236f, -3.297f, -32.6391f), 148); - obj15.Steps = list23; - reference15 = obj15; - ref QuestSequence reference16 = ref span9[1]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - Span span10 = CollectionsMarshal.AsSpan(list24); - span10[0] = new QuestStep(EInteractionType.Combat, null, new Vector3(459.86548f, 17.983778f, -76.51779f), 148) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - span10[1] = new QuestStep(EInteractionType.Combat, null, new Vector3(486.40424f, 24.968294f, -88.684456f), 148) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - span10[2] = new QuestStep(EInteractionType.Combat, null, new Vector3(485.05884f, 30.642492f, -59.45244f), 148) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - span10[3] = new QuestStep(EInteractionType.Combat, null, new Vector3(480.88794f, 30.746826f, -49.729187f), 148) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - ref QuestStep reference17 = ref span10[4]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2000010u, new Vector3(480.88794f, 30.746826f, -49.729187f), 148); - num3 = 6; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - Span span11 = CollectionsMarshal.AsSpan(list25); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list25; - reference17 = questStep; - ref QuestStep reference18 = ref span10[5]; - QuestStep obj17 = new QuestStep(EInteractionType.Combat, null, new Vector3(480.88794f, 30.746826f, -49.729187f), 148) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - CollectionsMarshal.AsSpan(list26)[0] = 142u; - obj17.KillEnemyDataIds = list26; - num3 = 6; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - Span span12 = CollectionsMarshal.AsSpan(list27); - span12[0] = null; - span12[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = null; - obj17.CompletionQuestVariablesFlags = list27; - reference18 = obj17; - obj16.Steps = list24; - reference16 = obj16; - ref QuestSequence reference19 = ref span9[2]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.Interact, 1000685u, new Vector3(287.92236f, -3.297f, -32.6391f), 148); - obj18.Steps = list28; - reference19 = obj18; - ref QuestSequence reference20 = ref span9[3]; - QuestSequence obj19 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000408u, new Vector3(106.85889f, -8f, -75.669556f), 148); - obj19.Steps = list29; - reference20 = obj19; - questRoot4.QuestSequence = list22; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(3856); - QuestRoot questRoot5 = new QuestRoot(); - num = 2; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - Span span13 = CollectionsMarshal.AsSpan(list30); - span13[0] = "liza"; - span13[1] = "JerryWester"; - questRoot5.Author = list30; - num = 3; - List list31 = new List(num); - CollectionsMarshal.SetCount(list31, num); - Span span14 = CollectionsMarshal.AsSpan(list31); - ref QuestSequence reference21 = ref span14[0]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - ref QuestStep reference22 = ref CollectionsMarshal.AsSpan(list32)[0]; - QuestStep obj21 = new QuestStep(EInteractionType.AcceptQuest, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 2; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - Span span15 = CollectionsMarshal.AsSpan(list33); - span15[0] = 132; - span15[1] = 133; - skipAetheryteCondition.InTerritory = list33; - skipConditions.AetheryteShortcutIf = skipAetheryteCondition; - obj21.SkipConditions = skipConditions; - reference22 = obj21; - obj20.Steps = list32; - reference21 = obj20; - ref QuestSequence reference23 = ref span14[1]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - Span span16 = CollectionsMarshal.AsSpan(list34); - span16[0] = new QuestStep(EInteractionType.UseItem, null, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132) - { - Comment = "Use Chocobo whistle (if not yet unlocked)", - ItemId = 6001u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Chocobo = ELockedSkipCondition.Unlocked - } - } - }; - span16[1] = new QuestStep(EInteractionType.Interact, 1000257u, new Vector3(150.16394f, 10.852949f, -230.45703f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - } - }; - obj22.Steps = list34; - reference23 = obj22; - ref QuestSequence reference24 = ref span14[2]; - QuestSequence obj23 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - Span span17 = CollectionsMarshal.AsSpan(list35); - span17[0] = new QuestStep(EInteractionType.Interact, 1001263u, new Vector3(181.41443f, -2.3519497f, -240.40594f), 133) - { - TargetTerritoryId = (ushort)152, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.EastShroudHawthorneHut - } - } - }; - span17[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 152) - { - StopDistance = 5f, - Aetheryte = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.EastShroudHawthorneHut - } - } - }; - span17[2] = new QuestStep(EInteractionType.CompleteQuest, 1006188u, new Vector3(-236.92688f, 3.5435789f, 283.4973f), 152) - { - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj23.Steps = list35; - reference24 = obj23; - questRoot5.QuestSequence = list31; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(3857); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - CollectionsMarshal.AsSpan(list36)[0] = "JerryWester"; - questRoot6.Author = list36; - num = 3; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - Span span18 = CollectionsMarshal.AsSpan(list37); - ref QuestSequence reference25 = ref span18[0]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006674u, new Vector3(21.98816f, -3.7664814f, 209.97937f), 152) - { - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj24.Steps = list38; - reference25 = obj24; - ref QuestSequence reference26 = ref span18[1]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - Span span19 = CollectionsMarshal.AsSpan(list39); - ref QuestStep reference27 = ref span19[0]; - QuestStep obj26 = new QuestStep(EInteractionType.Emote, 1000576u, new Vector3(21.469421f, -4.575074f, 221.75928f), 152) - { - Emote = EEmote.Dance - }; - num3 = 6; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - Span span20 = CollectionsMarshal.AsSpan(list40); - span20[0] = null; - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj26.CompletionQuestVariablesFlags = list40; - reference27 = obj26; - ref QuestStep reference28 = ref span19[1]; - QuestStep obj27 = new QuestStep(EInteractionType.Emote, 1000563u, new Vector3(-3.768982f, -5.8594565f, 217.2732f), 152) - { - Emote = EEmote.Dance - }; - num3 = 6; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - Span span21 = CollectionsMarshal.AsSpan(list41); - span21[0] = null; - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj27.CompletionQuestVariablesFlags = list41; - reference28 = obj27; - ref QuestStep reference29 = ref span19[2]; - QuestStep obj28 = new QuestStep(EInteractionType.Emote, 1000587u, new Vector3(-7.248047f, -8.407776f, 268.23828f), 152) - { - Emote = EEmote.Dance - }; - num3 = 6; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - Span span22 = CollectionsMarshal.AsSpan(list42); - span22[0] = null; - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj28.CompletionQuestVariablesFlags = list42; - reference29 = obj28; - obj25.Steps = list39; - reference26 = obj25; - ref QuestSequence reference30 = ref span18[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006674u, new Vector3(21.98816f, -3.7664814f, 209.97937f), 152); - obj29.Steps = list43; - reference30 = obj29; - questRoot6.QuestSequence = list37; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(3858); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - CollectionsMarshal.AsSpan(list44)[0] = "JerryWester"; - questRoot7.Author = list44; - num = 4; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - Span span23 = CollectionsMarshal.AsSpan(list45); - ref QuestSequence reference31 = ref span23[0]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006675u, new Vector3(23.11737f, -3.7126513f, 209.76575f), 152) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj30.Steps = list46; - reference31 = obj30; - ref QuestSequence reference32 = ref span23[1]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Interact, 1000584u, new Vector3(44.785156f, -2.1720045f, 231.86072f), 152); - obj31.Steps = list47; - reference32 = obj31; - ref QuestSequence reference33 = ref span23[2]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - Span span24 = CollectionsMarshal.AsSpan(list48); - ref QuestStep reference34 = ref span24[0]; - QuestStep obj33 = new QuestStep(EInteractionType.Combat, null, new Vector3(-34.76502f, -8.079653f, 264.55304f), 152) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - ref ComplexCombatData reference35 = ref CollectionsMarshal.AsSpan(list49)[0]; - ComplexCombatData obj34 = new ComplexCombatData - { - DataId = 179u, - MinimumKillCount = 1u - }; - int num4 = 6; - List list50 = new List(num4); - CollectionsMarshal.SetCount(list50, num4); - Span span25 = CollectionsMarshal.AsSpan(list50); - span25[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span25[1] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = null; - obj34.CompletionQuestVariablesFlags = list50; - reference35 = obj34; - obj33.ComplexCombatData = list49; - num3 = 6; - List list51 = new List(num3); - CollectionsMarshal.SetCount(list51, num3); - Span span26 = CollectionsMarshal.AsSpan(list51); - span26[0] = null; - span26[1] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = null; - obj33.CompletionQuestVariablesFlags = list51; - reference34 = obj33; - ref QuestStep reference36 = ref span24[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2001915u, new Vector3(-42.435425f, -8.560364f, 281.26953f), 152); - num3 = 6; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - Span span27 = CollectionsMarshal.AsSpan(list52); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list52; - reference36 = questStep2; - ref QuestStep reference37 = ref span24[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2001914u, new Vector3(-32.6391f, -3.7995605f, 321.3092f), 152); - num3 = 6; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - Span span28 = CollectionsMarshal.AsSpan(list53); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list53; - reference37 = questStep3; - ref QuestStep reference38 = ref span24[3]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2001913u, new Vector3(29.3125f, 0.869751f, 359.24304f), 152); - num3 = 6; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - Span span29 = CollectionsMarshal.AsSpan(list54); - span29[0] = null; - span29[1] = null; - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list54; - reference38 = questStep4; - ref QuestStep reference39 = ref span24[4]; - QuestStep obj35 = new QuestStep(EInteractionType.Combat, null, new Vector3(47.758923f, 7.4985247f, 428.1574f), 152) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list55 = new List(num3); - CollectionsMarshal.SetCount(list55, num3); - ref ComplexCombatData reference40 = ref CollectionsMarshal.AsSpan(list55)[0]; - ComplexCombatData obj36 = new ComplexCombatData - { - DataId = 7u, - MinimumKillCount = 1u - }; - num4 = 6; - List list56 = new List(num4); - CollectionsMarshal.SetCount(list56, num4); - Span span30 = CollectionsMarshal.AsSpan(list56); - span30[0] = null; - span30[1] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = null; - obj36.CompletionQuestVariablesFlags = list56; - reference40 = obj36; - obj35.ComplexCombatData = list55; - num3 = 6; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - Span span31 = CollectionsMarshal.AsSpan(list57); - span31[0] = null; - span31[1] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = null; - obj35.CompletionQuestVariablesFlags = list57; - reference39 = obj35; - obj32.Steps = list48; - reference33 = obj32; - ref QuestSequence reference41 = ref span23[3]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000580u, new Vector3(25.65039f, -3.7080078f, 209.97937f), 152); - obj37.Steps = list58; - reference41 = obj37; - questRoot7.QuestSequence = list45; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(3859); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - CollectionsMarshal.AsSpan(list59)[0] = "JerryWester"; - questRoot8.Author = list59; - num = 3; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - Span span32 = CollectionsMarshal.AsSpan(list60); - ref QuestSequence reference42 = ref span32[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000590u, new Vector3(-165.9419f, 9.869227f, -81.34589f), 153); - obj38.Steps = list61; - reference42 = obj38; - ref QuestSequence reference43 = ref span32[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.UseItem, 1002934u, new Vector3(-164.41602f, 8.398999f, -63.61493f), 153) - { - ItemId = 2003006u - }; - obj39.Steps = list62; - reference43 = obj39; - ref QuestSequence reference44 = ref span32[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000590u, new Vector3(-165.9419f, 9.869227f, -81.34589f), 153); - obj40.Steps = list63; - reference44 = obj40; - questRoot8.QuestSequence = list60; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(3860); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - CollectionsMarshal.AsSpan(list64)[0] = "JerryWester"; - questRoot9.Author = list64; - num = 6; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - Span span33 = CollectionsMarshal.AsSpan(list65); - ref QuestSequence reference45 = ref span33[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000590u, new Vector3(-165.9419f, 9.869227f, -81.34589f), 153); - obj41.Steps = list66; - reference45 = obj41; - ref QuestSequence reference46 = ref span33[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - Span span34 = CollectionsMarshal.AsSpan(list67); - span34[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 153) - { - Aetheryte = EAetheryteLocation.SouthShroudQuarrymill - }; - span34[1] = new QuestStep(EInteractionType.Interact, 1003272u, new Vector3(-262.92822f, 16.2f, 51.407593f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaHawkersAlley - } - }; - obj42.Steps = list67; - reference46 = obj42; - ref QuestSequence reference47 = ref span33[2]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Interact, 1001208u, new Vector3(-228.16821f, 16f, 50.644653f), 129); - obj43.Steps = list68; - reference47 = obj43; - ref QuestSequence reference48 = ref span33[3]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1007721u, new Vector3(-191.36346f, 0.9999907f, 212.9701f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaHawkersAlley, - To = EAetheryteLocation.LimsaFisher - } - }; - obj44.Steps = list69; - reference48 = obj44; - ref QuestSequence reference49 = ref span33[4]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 4 - }; - num2 = 4; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - Span span35 = CollectionsMarshal.AsSpan(list70); - span35[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 135) - { - Aetheryte = EAetheryteLocation.LowerLaNosceaMorabyDrydocks, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaTempestGate - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - AetheryteUnlocked = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }, - AethernetShortcutIf = new SkipAetheryteCondition - { - AetheryteUnlocked = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - } - } - }; - span35[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 134) - { - Aetheryte = EAetheryteLocation.MiddleLaNosceaSummerfordFarms, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaZephyrGate - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.MiddleLaNosceaSummerfordFarms - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - AetheryteUnlocked = EAetheryteLocation.MiddleLaNosceaSummerfordFarms - }, - AethernetShortcutIf = new SkipAetheryteCondition - { - AetheryteUnlocked = EAetheryteLocation.MiddleLaNosceaSummerfordFarms - } - } - }; - span35[2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 138) - { - Aetheryte = EAetheryteLocation.WesternLaNosceaSwiftperch, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.WesternLaNosceaSwiftperch - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - AetheryteUnlocked = EAetheryteLocation.WesternLaNosceaSwiftperch - } - } - }; - span35[3] = new QuestStep(EInteractionType.Interact, 1003393u, new Vector3(305.47034f, -36.325005f, 351.76624f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - obj45.Steps = list70; - reference49 = obj45; - ref QuestSequence reference50 = ref span33[5]; - QuestSequence obj46 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - Span span36 = CollectionsMarshal.AsSpan(list71); - span36[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(410.07083f, 31.504957f, -12.586371f), 138) - { - TargetTerritoryId = (ushort)139 - }; - span36[1] = new QuestStep(EInteractionType.CompleteQuest, 1006193u, new Vector3(-334.0658f, -0.81366825f, 148.91272f), 139); - obj46.Steps = list71; - reference50 = obj46; - questRoot9.QuestSequence = list65; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(3861); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - CollectionsMarshal.AsSpan(list72)[0] = "JerryWester"; - questRoot10.Author = list72; - num = 3; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - Span span37 = CollectionsMarshal.AsSpan(list73); - ref QuestSequence reference51 = ref span37[0]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006193u, new Vector3(-334.0658f, -0.81366825f, 148.91272f), 139); - obj47.Steps = list74; - reference51 = obj47; - ref QuestSequence reference52 = ref span37[1]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - Span span38 = CollectionsMarshal.AsSpan(list75); - span38[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-421.19717f, -2.5932822f, 150.81766f), 139) - { - Mount = true - }; - span38[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-523.5316f, 6.5687256f, 49.144527f), 139) - { - Mount = true - }; - ref QuestStep reference53 = ref span38[2]; - QuestStep obj49 = new QuestStep(EInteractionType.Combat, null, new Vector3(-585.1562f, -1.1847447f, -2.186262f), 139) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - CollectionsMarshal.AsSpan(list76)[0] = new ComplexCombatData - { - DataId = 28u, - MinimumKillCount = 3u, - RewardItemId = 2003009u, - RewardItemCount = 3 - }; - obj49.ComplexCombatData = list76; - reference53 = obj49; - obj48.Steps = list75; - reference52 = obj48; - ref QuestSequence reference54 = ref span37[2]; - QuestSequence obj50 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - Span span39 = CollectionsMarshal.AsSpan(list77); - span39[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-523.5316f, 6.5687256f, 49.144527f), 139) - { - Mount = true - }; - span39[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-421.19717f, -2.5932822f, 150.81766f), 139) - { - Mount = true - }; - span39[2] = new QuestStep(EInteractionType.CompleteQuest, 1006193u, new Vector3(-334.0658f, -0.81366825f, 148.91272f), 139); - obj50.Steps = list77; - reference54 = obj50; - questRoot10.QuestSequence = list73; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(3862); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list78 = new List(num); - CollectionsMarshal.SetCount(list78, num); - CollectionsMarshal.AsSpan(list78)[0] = "JerryWester"; - questRoot11.Author = list78; - num = 6; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - Span span40 = CollectionsMarshal.AsSpan(list79); - ref QuestSequence reference55 = ref span40[0]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000590u, new Vector3(-165.9419f, 9.869227f, -81.34589f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj51.Steps = list80; - reference55 = obj51; - ref QuestSequence reference56 = ref span40[1]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.Interact, 1006199u, new Vector3(-141.71057f, 6.568114f, -23.178528f), 153); - obj52.Steps = list81; - reference56 = obj52; - ref QuestSequence reference57 = ref span40[2]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - ref QuestStep reference58 = ref CollectionsMarshal.AsSpan(list82)[0]; - QuestStep obj54 = new QuestStep(EInteractionType.Combat, 1006201u, new Vector3(-65.4765f, 4.3282256f, -27.237366f), 153) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list83 = new List(num3); - CollectionsMarshal.SetCount(list83, num3); - CollectionsMarshal.AsSpan(list83)[0] = 62u; - obj54.KillEnemyDataIds = list83; - reference58 = obj54; - obj53.Steps = list82; - reference57 = obj53; - ref QuestSequence reference59 = ref span40[3]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.Interact, 1006201u, new Vector3(-65.4765f, 4.3282256f, -27.237366f), 153); - obj55.Steps = list84; - reference59 = obj55; - ref QuestSequence reference60 = ref span40[4]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - ref QuestStep reference61 = ref CollectionsMarshal.AsSpan(list85)[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.SinglePlayerDuty, 1006203u, new Vector3(32.700073f, 10.692124f, -12.985474f), 153); - SinglePlayerDutyOptions obj57 = new SinglePlayerDutyOptions - { - Enabled = true - }; - num3 = 1; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - CollectionsMarshal.AsSpan(list86)[0] = "AI will kill initial adds before the boss, but not switch target whenever new enemies spawn; all NPCs need to be killed for the duty to complete"; - obj57.Notes = list86; - questStep5.SinglePlayerDutyOptions = obj57; - reference61 = questStep5; - obj56.Steps = list85; - reference60 = obj56; - ref QuestSequence reference62 = ref span40[5]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000590u, new Vector3(-165.9419f, 9.869227f, -81.34589f), 153); - obj58.Steps = list87; - reference62 = obj58; - questRoot11.QuestSequence = list79; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(3863); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list88 = new List(num); - CollectionsMarshal.SetCount(list88, num); - CollectionsMarshal.AsSpan(list88)[0] = "JerryWester"; - questRoot12.Author = list88; - num = 4; - List list89 = new List(num); - CollectionsMarshal.SetCount(list89, num); - Span span41 = CollectionsMarshal.AsSpan(list89); - ref QuestSequence reference63 = ref span41[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006688u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj59.Steps = list90; - reference63 = obj59; - ref QuestSequence reference64 = ref span41[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - Span span42 = CollectionsMarshal.AsSpan(list91); - span42[0] = new QuestStep(EInteractionType.Interact, 2001717u, new Vector3(25.497803f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212 - }; - span42[1] = new QuestStep(EInteractionType.Interact, 1007417u, new Vector3(1.2359009f, -3.0000014f, -57.66388f), 212); - obj60.Steps = list91; - reference64 = obj60; - ref QuestSequence reference65 = ref span41[2]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.Interact, 1006240u, new Vector3(14.389221f, -44.86571f, 262.65344f), 154) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaYellowSerpentGate - } - }; - obj61.Steps = list92; - reference65 = obj61; - ref QuestSequence reference66 = ref span41[3]; - QuestSequence obj62 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006240u, new Vector3(14.389221f, -44.86571f, 262.65344f), 154) - { - Emote = EEmote.Soothe - }; - obj62.Steps = list93; - reference66 = obj62; - questRoot12.QuestSequence = list89; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(3864); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - CollectionsMarshal.AsSpan(list94)[0] = "JerryWester"; - questRoot13.Author = list94; - num = 3; - List list95 = new List(num); - CollectionsMarshal.SetCount(list95, num); - Span span43 = CollectionsMarshal.AsSpan(list95); - ref QuestSequence reference67 = ref span43[0]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006241u, new Vector3(17.349426f, -44.86564f, 262.745f), 154) - { - StopDistance = 5f - }; - obj63.Steps = list96; - reference67 = obj63; - ref QuestSequence reference68 = ref span43[1]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - Span span44 = CollectionsMarshal.AsSpan(list97); - span44[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 154) - { - StopDistance = 5f, - Aetheryte = EAetheryteLocation.NorthShroudFallgourdFloat - }; - span44[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-214.10292f, -56.837837f, 295.99493f), 154); - ref QuestStep reference69 = ref span44[2]; - QuestStep obj65 = new QuestStep(EInteractionType.Combat, null, new Vector3(-276.81464f, -56.335888f, 302.93182f), 154) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - CollectionsMarshal.AsSpan(list98)[0] = new ComplexCombatData - { - DataId = 179u, - MinimumKillCount = 3u - }; - obj65.ComplexCombatData = list98; - reference69 = obj65; - obj64.Steps = list97; - reference68 = obj64; - ref QuestSequence reference70 = ref span43[2]; - QuestSequence obj66 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006241u, new Vector3(17.349426f, -44.86564f, 262.745f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj66.Steps = list99; - reference70 = obj66; - questRoot13.QuestSequence = list95; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(3865); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - CollectionsMarshal.AsSpan(list100)[0] = "JerryWester"; - questRoot14.Author = list100; - num = 5; - List list101 = new List(num); - CollectionsMarshal.SetCount(list101, num); - Span span45 = CollectionsMarshal.AsSpan(list101); - ref QuestSequence reference71 = ref span45[0]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006279u, new Vector3(-231.4336f, 21.512743f, 339.49792f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj67.Steps = list102; - reference71 = obj67; - ref QuestSequence reference72 = ref span45[1]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - ref QuestStep reference73 = ref CollectionsMarshal.AsSpan(list103)[0]; - QuestStep obj69 = new QuestStep(EInteractionType.Combat, 2002646u, new Vector3(-68.711426f, 1.296936f, 301.74707f), 153) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - CollectionsMarshal.AsSpan(list104)[0] = 1888u; - obj69.KillEnemyDataIds = list104; - reference73 = obj69; - obj68.Steps = list103; - reference72 = obj68; - ref QuestSequence reference74 = ref span45[2]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 2002574u, new Vector3(-68.711426f, 1.296936f, 301.74707f), 153); - obj70.Steps = list105; - reference74 = obj70; - ref QuestSequence reference75 = ref span45[3]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.Interact, 1006279u, new Vector3(-231.4336f, 21.512743f, 339.49792f), 153); - obj71.Steps = list106; - reference75 = obj71; - ref QuestSequence reference76 = ref span45[4]; - QuestSequence obj72 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - Span span46 = CollectionsMarshal.AsSpan(list107); - span46[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-180.60515f, 17.857697f, -278.74887f), 146) - { - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - span46[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-183.61136f, 3.5857017f, -248.78667f), 146) - { - DisableNavmesh = true - }; - span46[2] = new QuestStep(EInteractionType.Interact, 1004596u, new Vector3(-471.27496f, -2.650424f, 95.628296f), 146) - { - TargetTerritoryId = (ushort)146 - }; - span46[3] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 146) - { - Aetheryte = EAetheryteLocation.SouthernThanalanForgottenSprings - }; - span46[4] = new QuestStep(EInteractionType.CompleteQuest, 1004917u, new Vector3(-358.6328f, 8.469424f, 422.4154f), 146); - obj72.Steps = list107; - reference76 = obj72; - questRoot14.QuestSequence = list101; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(3866); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - CollectionsMarshal.AsSpan(list108)[0] = "JerryWester"; - questRoot15.Author = list108; - num = 2; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - Span span47 = CollectionsMarshal.AsSpan(list109); - ref QuestSequence reference77 = ref span47[0]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006266u, new Vector3(560.35706f, 20.721315f, 455.89368f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj73.Steps = list110; - reference77 = obj73; - ref QuestSequence reference78 = ref span47[1]; - QuestSequence obj74 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006305u, new Vector3(10.60498f, 71.47817f, -16.617126f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport - }; - obj74.Steps = list111; - reference78 = obj74; - questRoot15.QuestSequence = list109; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(3867); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - CollectionsMarshal.AsSpan(list112)[0] = "JerryWester"; - questRoot16.Author = list112; - num = 4; - List list113 = new List(num); - CollectionsMarshal.SetCount(list113, num); - Span span48 = CollectionsMarshal.AsSpan(list113); - ref QuestSequence reference79 = ref span48[0]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006672u, new Vector3(-509.36142f, -16.42f, -7.522766f), 145) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj75.Steps = list114; - reference79 = obj75; - ref QuestSequence reference80 = ref span48[1]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.Interact, 1033920u, new Vector3(-387.35028f, -56.033897f, 105.241455f), 145); - obj76.Steps = list115; - reference80 = obj76; - ref QuestSequence reference81 = ref span48[2]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.Interact, 1006672u, new Vector3(-509.36142f, -16.42f, -7.522766f), 145); - obj77.Steps = list116; - reference81 = obj77; - ref QuestSequence reference82 = ref span48[3]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.CompleteQuest, 1003958u, new Vector3(-497.70352f, -19.630796f, 39.993896f), 145); - obj78.Steps = list117; - reference82 = obj78; - questRoot16.QuestSequence = list113; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(3868); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - CollectionsMarshal.AsSpan(list118)[0] = "JerryWester"; - questRoot17.Author = list118; - num = 5; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - Span span49 = CollectionsMarshal.AsSpan(list119); - ref QuestSequence reference83 = ref span49[0]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006384u, new Vector3(263.5996f, 303.1f, -199.96954f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj79.Steps = list120; - reference83 = obj79; - ref QuestSequence reference84 = ref span49[1]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.Interact, 1006434u, new Vector3(237.14038f, 302f, -194.99512f), 155); - obj80.Steps = list121; - reference84 = obj80; - ref QuestSequence reference85 = ref span49[2]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.Interact, 1006384u, new Vector3(263.5996f, 303.1f, -199.96954f), 155); - obj81.Steps = list122; - reference85 = obj81; - ref QuestSequence reference86 = ref span49[3]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.Interact, 1006383u, new Vector3(138.87231f, 285.06497f, 175.21924f), 155); - obj82.Steps = list123; - reference86 = obj82; - ref QuestSequence reference87 = ref span49[4]; - QuestSequence obj83 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006435u, new Vector3(-478.26355f, 211f, -203.81476f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj83.Steps = list124; - reference87 = obj83; - questRoot17.QuestSequence = list119; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(3869); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list125 = new List(num); - CollectionsMarshal.SetCount(list125, num); - CollectionsMarshal.AsSpan(list125)[0] = "JerryWester"; - questRoot18.Author = list125; - num = 3; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - Span span50 = CollectionsMarshal.AsSpan(list126); - ref QuestSequence reference88 = ref span50[0]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006461u, new Vector3(-415.9762f, 224.99998f, -299.73297f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj84.Steps = list127; - reference88 = obj84; - ref QuestSequence reference89 = ref span50[1]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - Span span51 = CollectionsMarshal.AsSpan(list128); - span51[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-491.4813f, 205.20322f, -185.17868f), 155); - ref QuestStep reference90 = ref span51[1]; - QuestStep obj86 = new QuestStep(EInteractionType.Combat, null, new Vector3(-321.0041f, 255.60681f, -159.89929f), 155) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - CollectionsMarshal.AsSpan(list129)[0] = new ComplexCombatData - { - DataId = 132u, - MinimumKillCount = 3u, - RewardItemId = 2003018u, - RewardItemCount = 3 - }; - obj86.ComplexCombatData = list129; - reference90 = obj86; - obj85.Steps = list128; - reference89 = obj85; - ref QuestSequence reference91 = ref span50[2]; - QuestSequence obj87 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006461u, new Vector3(-415.9762f, 224.99998f, -299.73297f), 155); - obj87.Steps = list130; - reference91 = obj87; - questRoot18.QuestSequence = list126; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(3870); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list131 = new List(num); - CollectionsMarshal.SetCount(list131, num); - CollectionsMarshal.AsSpan(list131)[0] = "JerryWester"; - questRoot19.Author = list131; - num = 4; - List list132 = new List(num); - CollectionsMarshal.SetCount(list132, num); - Span span52 = CollectionsMarshal.AsSpan(list132); - ref QuestSequence reference92 = ref span52[0]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006497u, new Vector3(321.1565f, -18.197807f, 276.5697f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj88.Steps = list133; - reference92 = obj88; - ref QuestSequence reference93 = ref span52[1]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.Interact, 1006710u, new Vector3(-123.73547f, 7.0426483f, -149.98096f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - obj89.Steps = list134; - reference93 = obj89; - ref QuestSequence reference94 = ref span52[2]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - ref QuestStep reference95 = ref CollectionsMarshal.AsSpan(list135)[0]; - QuestStep obj91 = new QuestStep(EInteractionType.Combat, 2002195u, new Vector3(-528.0995f, 26.260742f, -239.61243f), 148) - { - StopDistance = 4f, - IgnoreDistanceToObject = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaAmphitheatre, - To = EAetheryteLocation.GridaniaWhiteWolfGate - }, - ItemId = 2003019u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - CollectionsMarshal.AsSpan(list136)[0] = 1894u; - obj91.KillEnemyDataIds = list136; - reference95 = obj91; - obj90.Steps = list135; - reference94 = obj90; - ref QuestSequence reference96 = ref span52[3]; - QuestSequence obj92 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - Span span53 = CollectionsMarshal.AsSpan(list137); - span53[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-419.66458f, 62.69038f, -234.5404f), 148); - span53[1] = new QuestStep(EInteractionType.CompleteQuest, 1006710u, new Vector3(-123.73547f, 7.0426483f, -149.98096f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - obj92.Steps = list137; - reference96 = obj92; - questRoot19.QuestSequence = list132; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(3871); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - CollectionsMarshal.AsSpan(list138)[0] = "JerryWester"; - questRoot20.Author = list138; - num = 5; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - Span span54 = CollectionsMarshal.AsSpan(list139); - ref QuestSequence reference97 = ref span54[0]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006552u, new Vector3(54.795166f, 25.548265f, -698.05444f), 156) - { - StopDistance = 5f, - IgnoreDistanceToObject = true - }; - obj93.Steps = list140; - reference97 = obj93; - ref QuestSequence reference98 = ref span54[1]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - ref QuestStep reference99 = ref CollectionsMarshal.AsSpan(list141)[0]; - QuestStep obj95 = new QuestStep(EInteractionType.Combat, null, new Vector3(-429.60284f, -15.201682f, -477.29346f), 156) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 5; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - Span span55 = CollectionsMarshal.AsSpan(list142); - span55[0] = new ComplexCombatData - { - DataId = 55u, - MinimumKillCount = 3u, - RewardItemId = 2003022u, - RewardItemCount = 3 - }; - span55[1] = new ComplexCombatData - { - DataId = 61u, - MinimumKillCount = 3u, - RewardItemId = 2003022u, - RewardItemCount = 3 - }; - span55[2] = new ComplexCombatData - { - DataId = 62u, - MinimumKillCount = 0u, - RewardItemId = 2003021u, - RewardItemCount = 3 - }; - span55[3] = new ComplexCombatData - { - DataId = 63u, - MinimumKillCount = 0u, - RewardItemId = 2003021u, - RewardItemCount = 3 - }; - span55[4] = new ComplexCombatData - { - DataId = 64u, - MinimumKillCount = 0u, - RewardItemId = 2003021u, - RewardItemCount = 3 - }; - obj95.ComplexCombatData = list142; - reference99 = obj95; - obj94.Steps = list141; - reference98 = obj94; - ref QuestSequence reference100 = ref span54[2]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.Interact, 1006552u, new Vector3(54.795166f, 25.548265f, -698.05444f), 156); - obj96.Steps = list143; - reference100 = obj96; - ref QuestSequence reference101 = ref span54[3]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.Interact, 1006988u, new Vector3(41.33667f, 28.999998f, -795.4681f), 156); - obj97.Steps = list144; - reference101 = obj97; - ref QuestSequence reference102 = ref span54[4]; - QuestSequence obj98 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006552u, new Vector3(54.795166f, 25.548265f, -698.05444f), 156); - obj98.Steps = list145; - reference102 = obj98; - questRoot20.QuestSequence = list139; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(3872); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list146 = new List(num); - CollectionsMarshal.SetCount(list146, num); - CollectionsMarshal.AsSpan(list146)[0] = "JerryWester"; - questRoot21.Author = list146; - num = 4; - List list147 = new List(num); - CollectionsMarshal.SetCount(list147, num); - Span span56 = CollectionsMarshal.AsSpan(list147); - ref QuestSequence reference103 = ref span56[0]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006638u, new Vector3(37.979614f, 4.051331f, 420.27917f), 147) - { - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCampBluefog, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj99.Steps = list148; - reference103 = obj99; - ref QuestSequence reference104 = ref span56[1]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - Span span57 = CollectionsMarshal.AsSpan(list149); - span57[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 147) - { - Aetheryte = EAetheryteLocation.NorthernThanalanCeruleumProcessingPlant - }; - span57[1] = new QuestStep(EInteractionType.Interact, 1006647u, new Vector3(-28.244446f, 46.96473f, -17.654724f), 147); - obj100.Steps = list149; - reference104 = obj100; - ref QuestSequence reference105 = ref span56[2]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - Span span58 = CollectionsMarshal.AsSpan(list150); - ref QuestStep reference106 = ref span58[0]; - QuestStep obj102 = new QuestStep(EInteractionType.Emote, 1006648u, new Vector3(-76.12726f, 49.98848f, -59.494934f), 147) - { - Emote = EEmote.Psych - }; - num3 = 6; - List list151 = new List(num3); - CollectionsMarshal.SetCount(list151, num3); - Span span59 = CollectionsMarshal.AsSpan(list151); - span59[0] = null; - span59[1] = null; - span59[2] = null; - span59[3] = null; - span59[4] = null; - span59[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj102.CompletionQuestVariablesFlags = list151; - reference106 = obj102; - ref QuestStep reference107 = ref span58[1]; - QuestStep obj103 = new QuestStep(EInteractionType.Emote, 1006650u, new Vector3(-85.19116f, 48f, -34.40918f), 147) - { - Emote = EEmote.Psych - }; - num3 = 6; - List list152 = new List(num3); - CollectionsMarshal.SetCount(list152, num3); - Span span60 = CollectionsMarshal.AsSpan(list152); - span60[0] = null; - span60[1] = null; - span60[2] = null; - span60[3] = null; - span60[4] = null; - span60[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj103.CompletionQuestVariablesFlags = list152; - reference107 = obj103; - ref QuestStep reference108 = ref span58[2]; - QuestStep obj104 = new QuestStep(EInteractionType.Emote, 1006649u, new Vector3(-34.53119f, 46.999996f, 32.73047f), 147) - { - Emote = EEmote.Psych - }; - num3 = 6; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - Span span61 = CollectionsMarshal.AsSpan(list153); - span61[0] = null; - span61[1] = null; - span61[2] = null; - span61[3] = null; - span61[4] = null; - span61[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj104.CompletionQuestVariablesFlags = list153; - reference108 = obj104; - obj101.Steps = list150; - reference105 = obj101; - ref QuestSequence reference109 = ref span56[3]; - QuestSequence obj105 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006646u, new Vector3(-29.953552f, 46.99734f, 32.547485f), 147) - { - StopDistance = 7f, - Emote = EEmote.Psych - }; - obj105.Steps = list154; - reference109 = obj105; - questRoot21.QuestSequence = list147; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(3873); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list155 = new List(num); - CollectionsMarshal.SetCount(list155, num); - CollectionsMarshal.AsSpan(list155)[0] = "JerryWester"; - questRoot22.Author = list155; - num = 4; - List list156 = new List(num); - CollectionsMarshal.SetCount(list156, num); - Span span62 = CollectionsMarshal.AsSpan(list156); - ref QuestSequence reference110 = ref span62[0]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006646u, new Vector3(-29.953552f, 46.99734f, 32.547485f), 147) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCeruleumProcessingPlant, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj106.Steps = list157; - reference110 = obj106; - ref QuestSequence reference111 = ref span62[1]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.Interact, 1006657u, new Vector3(-294.81964f, 88f, -225.17743f), 147) - { - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCeruleumProcessingPlant, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj107.Steps = list158; - reference111 = obj107; - ref QuestSequence reference112 = ref span62[2]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 2 - }; - num2 = 12; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - Span span63 = CollectionsMarshal.AsSpan(list159); - span63[0] = new QuestStep(EInteractionType.UseItem, null, null, 147) - { - ItemId = 31337u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span63[1] = new QuestStep(EInteractionType.UseItem, null, null, 147) - { - ItemId = 20642u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span63[2] = new QuestStep(EInteractionType.UseItem, null, null, 147) - { - ItemId = 20643u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span63[3] = new QuestStep(EInteractionType.UseItem, null, null, 147) - { - ItemId = 20644u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span63[4] = new QuestStep(EInteractionType.UseItem, null, null, 147) - { - ItemId = 20645u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span63[5] = new QuestStep(EInteractionType.UseItem, null, null, 147) - { - ItemId = 20646u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span63[6] = new QuestStep(EInteractionType.UseItem, null, null, 147) - { - ItemId = 20647u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span63[7] = new QuestStep(EInteractionType.UseItem, null, null, 147) - { - ItemId = 20648u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span63[8] = new QuestStep(EInteractionType.UseItem, null, null, 147) - { - ItemId = 20649u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span63[9] = new QuestStep(EInteractionType.UseItem, null, null, 147) - { - ItemId = 20650u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span63[10] = new QuestStep(EInteractionType.UseItem, null, null, 147) - { - ItemId = 20651u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span63[11] = new QuestStep(EInteractionType.Duty, null, null, 147) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 15u - } - }; - obj108.Steps = list159; - reference112 = obj108; - ref QuestSequence reference113 = ref span62[3]; - QuestSequence obj109 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006657u, new Vector3(-294.81964f, 88f, -225.17743f), 147) - { - StopDistance = 7f - }; - obj109.Steps = list160; - reference113 = obj109; - questRoot22.QuestSequence = list156; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(3874); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - CollectionsMarshal.AsSpan(list161)[0] = "JerryWester"; - questRoot23.Author = list161; - num = 8; - List list162 = new List(num); - CollectionsMarshal.SetCount(list162, num); - Span span64 = CollectionsMarshal.AsSpan(list162); - ref QuestSequence reference114 = ref span64[0]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006693u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj110.Steps = list163; - reference114 = obj110; - ref QuestSequence reference115 = ref span64[1]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - Span span65 = CollectionsMarshal.AsSpan(list164); - span65[0] = new QuestStep(EInteractionType.Interact, 2001717u, new Vector3(25.50043f, 2.099999f, 0f), 212) - { - TargetTerritoryId = (ushort)212 - }; - span65[1] = new QuestStep(EInteractionType.Interact, 1007722u, new Vector3(2.4871826f, 5.1752613E-07f, 4.5929565f), 212); - obj111.Steps = list164; - reference115 = obj111; - ref QuestSequence reference116 = ref span64[2]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - Span span66 = CollectionsMarshal.AsSpan(list165); - span66[0] = new QuestStep(EInteractionType.AcceptQuest, 1007534u, new Vector3(1.4800415f, -3.0000014f, -48.722107f), 212) - { - PickUpQuestId = new QuestId(1048) - }; - span66[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(618.9289f, 23.936241f, 458.50406f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - span66[2] = new QuestStep(EInteractionType.Interact, 1006273u, new Vector3(619.0126f, 23.936245f, 455.10022f), 137); - obj112.Steps = list165; - reference116 = obj112; - ref QuestSequence reference117 = ref span64[3]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - Span span67 = CollectionsMarshal.AsSpan(list166); - span67[0] = new QuestStep(EInteractionType.Interact, 1006306u, new Vector3(-25.864075f, 71.787285f, -36.78955f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport - }; - span67[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-27.752865f, 72.71639f, -22.499773f), 137) - { - Mount = true - }; - span67[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-117.34223f, 86.050835f, -4.656612f), 137) - { - Fly = true - }; - span67[3] = new QuestStep(EInteractionType.Interact, 1006309u, new Vector3(-116.56372f, 86.051636f, -5.874817f), 137); - obj113.Steps = list166; - reference117 = obj113; - ref QuestSequence reference118 = ref span64[4]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - Span span68 = CollectionsMarshal.AsSpan(list167); - span68[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(9.1786175f, 71.18964f, -17.323349f), 137) - { - Fly = true - }; - span68[1] = new QuestStep(EInteractionType.Interact, 1006305u, new Vector3(10.60498f, 71.47817f, -16.617126f), 137); - obj114.Steps = list167; - reference118 = obj114; - ref QuestSequence reference119 = ref span64[5]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - Span span69 = CollectionsMarshal.AsSpan(list168); - span69[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(17.898853f, 52.634007f, 489.2221f), 137) - { - Fly = true - }; - ref QuestStep reference120 = ref span69[1]; - QuestStep obj116 = new QuestStep(EInteractionType.Combat, 1007738u, new Vector3(29.129395f, 54.01148f, 484.9469f), 137) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list169 = new List(num3); - CollectionsMarshal.SetCount(list169, num3); - CollectionsMarshal.AsSpan(list169)[0] = 320u; - obj116.KillEnemyDataIds = list169; - reference120 = obj116; - obj115.Steps = list168; - reference119 = obj115; - ref QuestSequence reference121 = ref span64[6]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.Interact, 1007738u, new Vector3(29.129395f, 54.01148f, 484.9469f), 137); - obj117.Steps = list170; - reference121 = obj117; - ref QuestSequence reference122 = ref span64[7]; - QuestSequence obj118 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.CompleteQuest, 1007752u, new Vector3(-35.111023f, 70.34483f, 4.043579f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport - }; - obj118.Steps = list171; - reference122 = obj118; - questRoot23.QuestSequence = list162; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(3875); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list172 = new List(num); - CollectionsMarshal.SetCount(list172, num); - CollectionsMarshal.AsSpan(list172)[0] = "JerryWester"; - questRoot24.Author = list172; - num = 2; - List list173 = new List(num); - CollectionsMarshal.SetCount(list173, num); - Span span70 = CollectionsMarshal.AsSpan(list173); - ref QuestSequence reference123 = ref span70[0]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.AcceptQuest, 1007739u, new Vector3(-34.53119f, 70.347595f, 2.7618408f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj119.Steps = list174; - reference123 = obj119; - ref QuestSequence reference124 = ref span70[1]; - QuestSequence obj120 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - Span span71 = CollectionsMarshal.AsSpan(list175); - span71[0] = new QuestStep(EInteractionType.Interact, 2001715u, new Vector3(23.23944f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212 - }; - span71[1] = new QuestStep(EInteractionType.CompleteQuest, 1006693u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj120.Steps = list175; - reference124 = obj120; - questRoot24.QuestSequence = list173; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(3876); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - CollectionsMarshal.AsSpan(list176)[0] = "JerryWester"; - questRoot25.Author = list176; - num = 3; - List list177 = new List(num); - CollectionsMarshal.SetCount(list177, num); - Span span72 = CollectionsMarshal.AsSpan(list177); - ref QuestSequence reference125 = ref span72[0]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006693u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj121.Steps = list178; - reference125 = obj121; - ref QuestSequence reference126 = ref span72[1]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - CollectionsMarshal.AsSpan(list179)[0] = new QuestStep(EInteractionType.Interact, 1006693u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj122.Steps = list179; - reference126 = obj122; - ref QuestSequence reference127 = ref span72[2]; - QuestSequence obj123 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006530u, new Vector3(21.927185f, 20.746975f, -682.06305f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj123.Steps = list180; - reference127 = obj123; - questRoot25.QuestSequence = list177; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(3877); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list181 = new List(num); - CollectionsMarshal.SetCount(list181, num); - CollectionsMarshal.AsSpan(list181)[0] = "JerryWester"; - questRoot26.Author = list181; - num = 4; - List list182 = new List(num); - CollectionsMarshal.SetCount(list182, num); - Span span73 = CollectionsMarshal.AsSpan(list182); - ref QuestSequence reference128 = ref span73[0]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - CollectionsMarshal.AsSpan(list183)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006530u, new Vector3(21.927185f, 20.746975f, -682.06305f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj124.Steps = list183; - reference128 = obj124; - ref QuestSequence reference129 = ref span73[1]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - Span span74 = CollectionsMarshal.AsSpan(list184); - span74[0] = new QuestStep(EInteractionType.UseItem, null, null, 156) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span74[1] = new QuestStep(EInteractionType.Interact, 1003785u, new Vector3(-489.8299f, 21.48999f, -381.97913f), 140); - obj125.Steps = list184; - reference129 = obj125; - ref QuestSequence reference130 = ref span73[2]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - Span span75 = CollectionsMarshal.AsSpan(list185); - span75[0] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.91858f, 17.990356f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span75[1] = new QuestStep(EInteractionType.Interact, 2001715u, new Vector3(23.23944f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212 - }; - span75[2] = new QuestStep(EInteractionType.Interact, 1006693u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj126.Steps = list185; - reference130 = obj126; - ref QuestSequence reference131 = ref span73[3]; - QuestSequence obj127 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000168u, new Vector3(-75.48645f, -0.5013741f, -5.081299f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj127.Steps = list186; - reference131 = obj127; - questRoot26.QuestSequence = list182; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(3878); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list187 = new List(num); - CollectionsMarshal.SetCount(list187, num); - CollectionsMarshal.AsSpan(list187)[0] = "JerryWester"; - questRoot27.Author = list187; - num = 4; - List list188 = new List(num); - CollectionsMarshal.SetCount(list188, num); - Span span76 = CollectionsMarshal.AsSpan(list188); - ref QuestSequence reference132 = ref span76[0]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006693u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj128.Steps = list189; - reference132 = obj128; - ref QuestSequence reference133 = ref span76[1]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - Span span77 = CollectionsMarshal.AsSpan(list190); - span77[0] = new QuestStep(EInteractionType.Interact, 2001717u, new Vector3(25.497803f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212 - }; - span77[1] = new QuestStep(EInteractionType.Interact, 1007478u, new Vector3(-2.822998f, -3.0000014f, -56.229553f), 212); - obj129.Steps = list190; - reference133 = obj129; - ref QuestSequence reference134 = ref span76[2]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.Interact, 1010954u, new Vector3(24.2771f, 20.04223f, -679.9573f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj130.Steps = list191; - reference134 = obj130; - ref QuestSequence reference135 = ref span76[3]; - QuestSequence obj131 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - Span span78 = CollectionsMarshal.AsSpan(list192); - span78[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351 - }; - span78[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span78[2] = new QuestStep(EInteractionType.CompleteQuest, 1007724u, new Vector3(1.0223389f, -1.9957249f, -45.79236f), 351); - obj131.Steps = list192; - reference135 = obj131; - questRoot27.QuestSequence = list188; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(3879); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list193 = new List(num); - CollectionsMarshal.SetCount(list193, num); - CollectionsMarshal.AsSpan(list193)[0] = "JerryWester"; - questRoot28.Author = list193; - num = 4; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - Span span79 = CollectionsMarshal.AsSpan(list194); - ref QuestSequence reference136 = ref span79[0]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.AcceptQuest, 1007724u, new Vector3(1.0223389f, -1.9957249f, -45.79236f), 351); - obj132.Steps = list195; - reference136 = obj132; - ref QuestSequence reference137 = ref span79[1]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.Interact, 1008595u, new Vector3(79.60632f, 46.311092f, -251.69757f), 140) - { - AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon - }; - obj133.Steps = list196; - reference137 = obj133; - ref QuestSequence reference138 = ref span79[2]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.Interact, 1002058u, new Vector3(59.616943f, 45.157562f, -215.89996f), 140); - obj134.Steps = list197; - reference138 = obj134; - ref QuestSequence reference139 = ref span79[3]; - QuestSequence obj135 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - CollectionsMarshal.AsSpan(list198)[0] = new QuestStep(EInteractionType.CompleteQuest, 1008597u, new Vector3(57.66382f, 44.999996f, -220.93542f), 140); - obj135.Steps = list198; - reference139 = obj135; - questRoot28.QuestSequence = list194; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(3880); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list199 = new List(num); - CollectionsMarshal.SetCount(list199, num); - CollectionsMarshal.AsSpan(list199)[0] = "JerryWester"; - questRoot29.Author = list199; - num = 3; - List list200 = new List(num); - CollectionsMarshal.SetCount(list200, num); - Span span80 = CollectionsMarshal.AsSpan(list200); - ref QuestSequence reference140 = ref span80[0]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008616u, new Vector3(-18.265076f, 36.013893f, 57.938477f), 131); - obj136.Steps = list201; - reference140 = obj136; - ref QuestSequence reference141 = ref span80[1]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.Interact, 1008700u, new Vector3(-132.52466f, 4.1f, -111.92493f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahChamberOfRule, - To = EAetheryteLocation.Uldah - } - }; - obj137.Steps = list202; - reference141 = obj137; - ref QuestSequence reference142 = ref span80[2]; - QuestSequence obj138 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.CompleteQuest, 1008623u, new Vector3(24.887451f, 6.999997f, -80.03363f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj138.Steps = list203; - reference142 = obj138; - questRoot29.QuestSequence = list200; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(3881); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list204 = new List(num); - CollectionsMarshal.SetCount(list204, num); - CollectionsMarshal.AsSpan(list204)[0] = "JerryWester"; - questRoot30.Author = list204; - num = 5; - List list205 = new List(num); - CollectionsMarshal.SetCount(list205, num); - Span span81 = CollectionsMarshal.AsSpan(list205); - ref QuestSequence reference143 = ref span81[0]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008623u, new Vector3(24.887451f, 6.999997f, -80.03363f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj139.Steps = list206; - reference143 = obj139; - ref QuestSequence reference144 = ref span81[1]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - Span span82 = CollectionsMarshal.AsSpan(list207); - span82[0] = new QuestStep(EInteractionType.UseItem, null, null, 130) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span82[1] = new QuestStep(EInteractionType.Interact, 1008639u, new Vector3(-497.94766f, 19.009045f, -354.75702f), 140); - obj140.Steps = list207; - reference144 = obj140; - ref QuestSequence reference145 = ref span81[2]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - Span span83 = CollectionsMarshal.AsSpan(list208); - span83[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-432.60025f, 25.983873f, -369.20984f), 140) - { - Fly = true - }; - span83[1] = new QuestStep(EInteractionType.Interact, 1008628u, new Vector3(-431.8761f, 25.983873f, -368.36804f), 140); - obj141.Steps = list208; - reference145 = obj141; - ref QuestSequence reference146 = ref span81[3]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 3 - }; - num2 = 6; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - Span span84 = CollectionsMarshal.AsSpan(list209); - span84[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-411.72363f, 23.113977f, -393.02393f), 140) - { - Fly = true - }; - ref QuestStep reference147 = ref span84[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1008636u, new Vector3(-415.91516f, 23.113977f, -394.6136f), 140); - num3 = 6; - List list210 = new List(num3); - CollectionsMarshal.SetCount(list210, num3); - Span span85 = CollectionsMarshal.AsSpan(list210); - span85[0] = null; - span85[1] = null; - span85[2] = null; - span85[3] = null; - span85[4] = null; - span85[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list210; - reference147 = questStep6; - span84[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-412.0704f, 23.008799f, -338.06842f), 140) - { - Fly = true - }; - ref QuestStep reference148 = ref span84[3]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1008637u, new Vector3(-406.05786f, 23.008799f, -339.9558f), 140); - num3 = 6; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - Span span86 = CollectionsMarshal.AsSpan(list211); - span86[0] = null; - span86[1] = null; - span86[2] = null; - span86[3] = null; - span86[4] = null; - span86[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list211; - reference148 = questStep7; - span84[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-443.07297f, 30.999876f, -328.30157f), 140) - { - Fly = true - }; - span84[5] = new QuestStep(EInteractionType.Interact, 1008635u, new Vector3(-444.29694f, 30.999878f, -329.64075f), 140); - obj142.Steps = list209; - reference146 = obj142; - ref QuestSequence reference149 = ref span81[4]; - QuestSequence obj143 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - Span span87 = CollectionsMarshal.AsSpan(list212); - span87[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-496.36285f, 19.00904f, -354.65195f), 140) - { - Fly = true - }; - span87[1] = new QuestStep(EInteractionType.CompleteQuest, 1008639u, new Vector3(-497.94766f, 19.009045f, -354.75702f), 140); - obj143.Steps = list212; - reference149 = obj143; - questRoot30.QuestSequence = list205; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(3882); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list213 = new List(num); - CollectionsMarshal.SetCount(list213, num); - CollectionsMarshal.AsSpan(list213)[0] = "JerryWester"; - questRoot31.Author = list213; - num = 5; - List list214 = new List(num); - CollectionsMarshal.SetCount(list214, num); - Span span88 = CollectionsMarshal.AsSpan(list214); - ref QuestSequence reference150 = ref span88[0]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.AcceptQuest, 1008623u, new Vector3(24.887451f, 6.999997f, -80.03363f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj144.Steps = list215; - reference150 = obj144; - ref QuestSequence reference151 = ref span88[1]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - CollectionsMarshal.AsSpan(list216)[0] = new QuestStep(EInteractionType.Interact, 1006530u, new Vector3(21.927185f, 20.746975f, -682.06305f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj145.Steps = list216; - reference151 = obj145; - ref QuestSequence reference152 = ref span88[2]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.Interact, 1008659u, new Vector3(26.474365f, 20.174328f, -679.74365f), 156); - obj146.Steps = list217; - reference152 = obj146; - ref QuestSequence reference153 = ref span88[3]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - Span span89 = CollectionsMarshal.AsSpan(list218); - span89[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351 - }; - span89[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span89[2] = new QuestStep(EInteractionType.Interact, 1008547u, new Vector3(0.77819824f, -1.9957249f, -45.487183f), 351); - obj147.Steps = list218; - reference153 = obj147; - ref QuestSequence reference154 = ref span88[4]; - QuestSequence obj148 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - CollectionsMarshal.AsSpan(list219)[0] = new QuestStep(EInteractionType.CompleteQuest, 1008554u, new Vector3(1.6326294f, -1.9957249f, -41.916565f), 351); - obj148.Steps = list219; - reference154 = obj148; - questRoot31.QuestSequence = list214; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(3883); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list220 = new List(num); - CollectionsMarshal.SetCount(list220, num); - CollectionsMarshal.AsSpan(list220)[0] = "JerryWester"; - questRoot32.Author = list220; - num = 4; - List list221 = new List(num); - CollectionsMarshal.SetCount(list221, num); - Span span90 = CollectionsMarshal.AsSpan(list221); - ref QuestSequence reference155 = ref span90[0]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - CollectionsMarshal.AsSpan(list222)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009049u, new Vector3(187.54858f, -1f, -302.93738f), 141) - { - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj149.Steps = list222; - reference155 = obj149; - ref QuestSequence reference156 = ref span90[1]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - ref QuestStep reference157 = ref CollectionsMarshal.AsSpan(list223)[0]; - QuestStep obj151 = new QuestStep(EInteractionType.Combat, 1009050u, new Vector3(57.419678f, -5.5366235f, -1.2664795f), 141) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 5; - List list224 = new List(num3); - CollectionsMarshal.SetCount(list224, num3); - Span span91 = CollectionsMarshal.AsSpan(list224); - span91[0] = 2852u; - span91[1] = 3114u; - span91[2] = 3115u; - span91[3] = 3116u; - span91[4] = 3117u; - obj151.KillEnemyDataIds = list224; - reference157 = obj151; - obj150.Steps = list223; - reference156 = obj150; - ref QuestSequence reference158 = ref span90[2]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.Interact, 1009050u, new Vector3(57.419678f, -5.5366235f, -1.2664795f), 141); - obj152.Steps = list225; - reference158 = obj152; - ref QuestSequence reference159 = ref span90[3]; - QuestSequence obj153 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - Span span92 = CollectionsMarshal.AsSpan(list226); - span92[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(187.86679f, -1f, -301.48148f), 141) - { - Fly = true - }; - span92[1] = new QuestStep(EInteractionType.CompleteQuest, 1009049u, new Vector3(187.54858f, -1f, -302.93738f), 141); - obj153.Steps = list226; - reference159 = obj153; - questRoot32.QuestSequence = list221; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(3884); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list227 = new List(num); - CollectionsMarshal.SetCount(list227, num); - CollectionsMarshal.AsSpan(list227)[0] = "JerryWester"; - questRoot33.Author = list227; - num = 5; - List list228 = new List(num); - CollectionsMarshal.SetCount(list228, num); - Span span93 = CollectionsMarshal.AsSpan(list228); - ref QuestSequence reference160 = ref span93[0]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009049u, new Vector3(187.54858f, -1f, -302.93738f), 141) - { - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj154.Steps = list229; - reference160 = obj154; - ref QuestSequence reference161 = ref span93[1]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - Span span94 = CollectionsMarshal.AsSpan(list230); - span94[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-141.48044f, 4.2354183f, 232.0292f), 141) - { - Fly = true - }; - span94[1] = new QuestStep(EInteractionType.Interact, 1009055u, new Vector3(-142.74823f, 4.2354183f, 232.77625f), 141); - obj155.Steps = list230; - reference161 = obj155; - ref QuestSequence reference162 = ref span93[2]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - Span span95 = CollectionsMarshal.AsSpan(list231); - span95[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(57.739433f, -1.247997f, 343.4356f), 141) - { - Fly = true - }; - span95[1] = new QuestStep(EInteractionType.Interact, 1009056u, new Vector3(58.27417f, -1.2500068f, 342.2445f), 141); - obj156.Steps = list231; - reference162 = obj156; - ref QuestSequence reference163 = ref span93[3]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.Interact, 1009175u, new Vector3(59.433838f, -1.2516545f, 341.26794f), 141); - obj157.Steps = list232; - reference163 = obj157; - ref QuestSequence reference164 = ref span93[4]; - QuestSequence obj158 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - Span span96 = CollectionsMarshal.AsSpan(list233); - span96[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-119.1183f, 3.7999938f, -104.33473f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - span96[1] = new QuestStep(EInteractionType.CompleteQuest, 1004576u, new Vector3(-141.64954f, 4.1f, -114.67157f), 130); - obj158.Steps = list233; - reference164 = obj158; - questRoot33.QuestSequence = list228; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(3885); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list234 = new List(num); - CollectionsMarshal.SetCount(list234, num); - CollectionsMarshal.AsSpan(list234)[0] = "JerryWester"; - questRoot34.Author = list234; - num = 8; - List list235 = new List(num); - CollectionsMarshal.SetCount(list235, num); - Span span97 = CollectionsMarshal.AsSpan(list235); - ref QuestSequence reference165 = ref span97[0]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.AcceptQuest, 1009097u, new Vector3(22.87323f, -3.7749445f, 211.16956f), 152) - { - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj159.Steps = list236; - reference165 = obj159; - ref QuestSequence reference166 = ref span97[1]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - CollectionsMarshal.AsSpan(list237)[0] = new QuestStep(EInteractionType.Interact, 1009098u, new Vector3(262.71448f, -8.995881f, -77.92786f), 152) - { - Fly = true - }; - obj160.Steps = list237; - reference166 = obj160; - ref QuestSequence reference167 = ref span97[2]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.Interact, 1033555u, new Vector3(193.59119f, -22.344374f, -399.8932f), 152) - { - Fly = true - }; - obj161.Steps = list238; - reference167 = obj161; - ref QuestSequence reference168 = ref span97[3]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - CollectionsMarshal.AsSpan(list239)[0] = new QuestStep(EInteractionType.Interact, 1009119u, new Vector3(106.85889f, -27.487057f, -366.3844f), 152) - { - Fly = true - }; - obj162.Steps = list239; - reference168 = obj162; - ref QuestSequence reference169 = ref span97[4]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(190.23474f, -31.415636f, -218.26653f), 152) - { - StopDistance = 0.25f, - Fly = true - }; - obj163.Steps = list240; - reference169 = obj163; - ref QuestSequence reference170 = ref span97[5]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.Duty, null, null, 152) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 77u - } - }; - obj164.Steps = list241; - reference170 = obj164; - span97[6] = new QuestSequence - { - Sequence = 6 - }; - ref QuestSequence reference171 = ref span97[7]; - QuestSequence obj165 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - CollectionsMarshal.AsSpan(list242)[0] = new QuestStep(EInteractionType.CompleteQuest, 1009097u, new Vector3(22.87323f, -3.7749445f, 211.16956f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - obj165.Steps = list242; - reference171 = obj165; - questRoot34.QuestSequence = list235; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(3886); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list243 = new List(num); - CollectionsMarshal.SetCount(list243, num); - CollectionsMarshal.AsSpan(list243)[0] = "JerryWester"; - questRoot35.Author = list243; - num = 5; - List list244 = new List(num); - CollectionsMarshal.SetCount(list244, num); - Span span98 = CollectionsMarshal.AsSpan(list244); - ref QuestSequence reference172 = ref span98[0]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010010u, new Vector3(-50.94995f, -3.440948f, 20.58435f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj166.Steps = list245; - reference172 = obj166; - ref QuestSequence reference173 = ref span98[1]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - CollectionsMarshal.AsSpan(list246)[0] = new QuestStep(EInteractionType.Interact, 1010017u, new Vector3(22.171326f, 1.1999999f, 28.854736f), 132); - obj167.Steps = list246; - reference173 = obj167; - ref QuestSequence reference174 = ref span98[2]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.Interact, 1010018u, new Vector3(49.729126f, -8.046955f, 100.20593f), 132); - obj168.Steps = list247; - reference174 = obj168; - ref QuestSequence reference175 = ref span98[3]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - Span span99 = CollectionsMarshal.AsSpan(list248); - span99[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(49.68947f, -8.046954f, 100.59061f), 132); - span99[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(38.482037f, -9.182595f, 124.36735f), 132); - span99[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(40.59977f, -18.800003f, 103.46791f), 132) - { - DisableNavmesh = true - }; - span99[3] = new QuestStep(EInteractionType.Interact, 1010012u, new Vector3(23.910828f, -18.800003f, 89.89087f), 132) - { - DisableNavmesh = true - }; - obj169.Steps = list248; - reference175 = obj169; - ref QuestSequence reference176 = ref span98[4]; - QuestSequence obj170 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.CompleteQuest, 1010018u, new Vector3(49.729126f, -8.046955f, 100.20593f), 132); - obj170.Steps = list249; - reference176 = obj170; - questRoot35.QuestSequence = list244; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(3887); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list250 = new List(num); - CollectionsMarshal.SetCount(list250, num); - CollectionsMarshal.AsSpan(list250)[0] = "JerryWester"; - questRoot36.Author = list250; - num = 6; - List list251 = new List(num); - CollectionsMarshal.SetCount(list251, num); - Span span100 = CollectionsMarshal.AsSpan(list251); - ref QuestSequence reference177 = ref span100[0]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - CollectionsMarshal.AsSpan(list252)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010018u, new Vector3(49.729126f, -8.046955f, 100.20593f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj171.Steps = list252; - reference177 = obj171; - ref QuestSequence reference178 = ref span100[1]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - Span span101 = CollectionsMarshal.AsSpan(list253); - span101[0] = new QuestStep(EInteractionType.Interact, 1001263u, new Vector3(181.41443f, -2.3519497f, -240.40594f), 133) - { - TargetTerritoryId = (ushort)152, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - } - }; - span101[1] = new QuestStep(EInteractionType.Interact, 1010020u, new Vector3(-569.39044f, 9.822195f, 65.171265f), 152); - obj172.Steps = list253; - reference178 = obj172; - ref QuestSequence reference179 = ref span100[2]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - Span span102 = CollectionsMarshal.AsSpan(list254); - span102[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-300.50375f, 0.39631903f, 268.70343f), 152) - { - Fly = true - }; - span102[1] = new QuestStep(EInteractionType.Interact, 1010037u, new Vector3(-300.98425f, 0.4458849f, 267.84155f), 152); - obj173.Steps = list254; - reference179 = obj173; - ref QuestSequence reference180 = ref span100[3]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - Span span103 = CollectionsMarshal.AsSpan(list255); - span103[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-172.96619f, 1.4138634f, 147.4101f), 152) - { - Fly = true - }; - span103[1] = new QuestStep(EInteractionType.Interact, 1010038u, new Vector3(-173.66296f, 1.4696703f, 146.83752f), 152); - obj174.Steps = list255; - reference180 = obj174; - ref QuestSequence reference181 = ref span100[4]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.Interact, 1009987u, new Vector3(-207.69055f, 4.192081f, 100.26697f), 152); - obj175.Steps = list256; - reference181 = obj175; - ref QuestSequence reference182 = ref span100[5]; - QuestSequence obj176 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - Span span104 = CollectionsMarshal.AsSpan(list257); - span104[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span104[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span104[2] = new QuestStep(EInteractionType.CompleteQuest, 1010147u, new Vector3(0.8086548f, -1.9957249f, -45.67035f), 351); - obj176.Steps = list257; - reference182 = obj176; - questRoot36.QuestSequence = list251; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(3888); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list258 = new List(num); - CollectionsMarshal.SetCount(list258, num); - CollectionsMarshal.AsSpan(list258)[0] = "JerryWester"; - questRoot37.Author = list258; - num = 6; - List list259 = new List(num); - CollectionsMarshal.SetCount(list259, num); - Span span105 = CollectionsMarshal.AsSpan(list259); - ref QuestSequence reference183 = ref span105[0]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.AcceptQuest, 1010858u, new Vector3(-1.9074707f, 0f, -3.1281738f), 351) - { - StopDistance = 7f - }; - obj177.Steps = list260; - reference183 = obj177; - ref QuestSequence reference184 = ref span105[1]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.Interact, 1010890u, new Vector3(31.967651f, -1f, 2.9144287f), 351); - obj178.Steps = list261; - reference184 = obj178; - ref QuestSequence reference185 = ref span105[2]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - Span span106 = CollectionsMarshal.AsSpan(list262); - span106[0] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span106[1] = new QuestStep(EInteractionType.Interact, 1010860u, new Vector3(2.822876f, -1.995725f, -41.24518f), 351) - { - StopDistance = 7f - }; - obj179.Steps = list262; - reference185 = obj179; - ref QuestSequence reference186 = ref span105[3]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - Span span107 = CollectionsMarshal.AsSpan(list263); - span107[0] = new QuestStep(EInteractionType.Interact, 2002880u, new Vector3(-0.015319824f, -1.0223389f, -29.251587f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span107[1] = new QuestStep(EInteractionType.Interact, 1010858u, new Vector3(-1.9074707f, 0f, -3.1281738f), 351); - obj180.Steps = list263; - reference186 = obj180; - ref QuestSequence reference187 = ref span105[4]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.Interact, 1010861u, new Vector3(-63.523376f, 46.999992f, 25.192627f), 147) - { - StopDistance = 0.5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCeruleumProcessingPlant - }; - obj181.Steps = list264; - reference187 = obj181; - ref QuestSequence reference188 = ref span105[5]; - QuestSequence obj182 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006646u, new Vector3(-29.953552f, 46.99734f, 32.547485f), 147) - { - StopDistance = 5f - }; - obj182.Steps = list265; - reference188 = obj182; - questRoot37.QuestSequence = list259; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(3889); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list266 = new List(num); - CollectionsMarshal.SetCount(list266, num); - CollectionsMarshal.AsSpan(list266)[0] = "liza"; - questRoot38.Author = list266; - num = 5; - List list267 = new List(num); - CollectionsMarshal.SetCount(list267, num); - Span span108 = CollectionsMarshal.AsSpan(list267); - ref QuestSequence reference189 = ref span108[0]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - CollectionsMarshal.AsSpan(list268)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032786u, new Vector3(113.7865f, -20.000002f, -0.3204956f), 886); - obj183.Steps = list268; - reference189 = obj183; - ref QuestSequence reference190 = ref span108[1]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - Span span109 = CollectionsMarshal.AsSpan(list269); - ref QuestStep reference191 = ref span109[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1033786u, new Vector3(65.415405f, -18.499813f, 11.795227f), 886); - num3 = 6; - List list270 = new List(num3); - CollectionsMarshal.SetCount(list270, num3); - Span span110 = CollectionsMarshal.AsSpan(list270); - span110[0] = null; - span110[1] = null; - span110[2] = null; - span110[3] = null; - span110[4] = null; - span110[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list270; - reference191 = questStep8; - ref QuestStep reference192 = ref span109[1]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1033787u, new Vector3(40.05493f, -19.999998f, 89.066895f), 886); - num3 = 6; - List list271 = new List(num3); - CollectionsMarshal.SetCount(list271, num3); - Span span111 = CollectionsMarshal.AsSpan(list271); - span111[0] = null; - span111[1] = null; - span111[2] = null; - span111[3] = null; - span111[4] = null; - span111[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list271; - reference192 = questStep9; - ref QuestStep reference193 = ref span109[2]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1033788u, new Vector3(-27.908752f, -16f, 138.56714f), 886); - num3 = 6; - List list272 = new List(num3); - CollectionsMarshal.SetCount(list272, num3); - Span span112 = CollectionsMarshal.AsSpan(list272); - span112[0] = null; - span112[1] = null; - span112[2] = null; - span112[3] = null; - span112[4] = null; - span112[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list272; - reference193 = questStep10; - obj184.Steps = list269; - reference190 = obj184; - ref QuestSequence reference194 = ref span108[2]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - CollectionsMarshal.AsSpan(list273)[0] = new QuestStep(EInteractionType.Interact, 1032786u, new Vector3(113.7865f, -20.000002f, -0.3204956f), 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmamentMendicantsCourt, - To = EAetheryteLocation.FirmamentMattock - } - }; - obj185.Steps = list273; - reference194 = obj185; - ref QuestSequence reference195 = ref span108[3]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - CollectionsMarshal.AsSpan(list274)[0] = new QuestStep(EInteractionType.Interact, 1033784u, new Vector3(154.00928f, -50f, 67.73474f), 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmamentMattock, - To = EAetheryteLocation.FirmamentNewNest - } - }; - obj186.Steps = list274; - reference195 = obj186; - ref QuestSequence reference196 = ref span108[4]; - QuestSequence obj187 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.CompleteQuest, 1033543u, new Vector3(113.38977f, -20f, -0.96136475f), 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmamentNewNest, - To = EAetheryteLocation.FirmamentMattock - }, - NextQuestId = new QuestId(3955) - }; - obj187.Steps = list275; - reference196 = obj187; - questRoot38.QuestSequence = list267; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(3890); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list276 = new List(num); - CollectionsMarshal.SetCount(list276, num); - CollectionsMarshal.AsSpan(list276)[0] = "Censored"; - questRoot39.Author = list276; - num = 5; - List list277 = new List(num); - CollectionsMarshal.SetCount(list277, num); - Span span113 = CollectionsMarshal.AsSpan(list277); - ref QuestSequence reference197 = ref span113[0]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - Span span114 = CollectionsMarshal.AsSpan(list278); - ref QuestStep reference198 = ref span114[0]; - QuestStep obj189 = new QuestStep(EInteractionType.None, null, null, 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardFirmament - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list279 = new List(num3); - CollectionsMarshal.SetCount(list279, num3); - CollectionsMarshal.AsSpan(list279)[0] = 154; - skipStepConditions.InTerritory = list279; - skipConditions2.StepIf = skipStepConditions; - obj189.SkipConditions = skipConditions2; - reference198 = obj189; - span114[1] = new QuestStep(EInteractionType.AcceptQuest, 1033543u, new Vector3(113.38977f, -20f, -0.96136475f), 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmamentMendicantsCourt, - To = EAetheryteLocation.FirmamentMattock - } - }; - obj188.Steps = list278; - reference197 = obj188; - ref QuestSequence reference199 = ref span113[1]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - CollectionsMarshal.AsSpan(list280)[0] = new QuestStep(EInteractionType.Interact, 1033784u, new Vector3(154.00928f, -50f, 67.73474f), 886); - obj190.Steps = list280; - reference199 = obj190; - ref QuestSequence reference200 = ref span113[2]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - CollectionsMarshal.AsSpan(list281)[0] = new QuestStep(EInteractionType.Interact, 1033789u, new Vector3(-701.83875f, 83.7986f, 229.99915f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - obj191.Steps = list281; - reference200 = obj191; - ref QuestSequence reference201 = ref span113[3]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - CollectionsMarshal.AsSpan(list282)[0] = new QuestStep(EInteractionType.Interact, 1033789u, new Vector3(-701.83875f, 83.7986f, 229.99915f), 400); - obj192.Steps = list282; - reference201 = obj192; - ref QuestSequence reference202 = ref span113[4]; - QuestSequence obj193 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - Span span115 = CollectionsMarshal.AsSpan(list283); - span115[0] = new QuestStep(EInteractionType.None, null, null, 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardFirmament - } - }; - span115[1] = new QuestStep(EInteractionType.CompleteQuest, 1033922u, new Vector3(113.38977f, -20f, -0.9918823f), 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmamentMendicantsCourt, - To = EAetheryteLocation.FirmamentMattock - } - }; - obj193.Steps = list283; - reference202 = obj193; - questRoot39.QuestSequence = list277; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(3891); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list284 = new List(num); - CollectionsMarshal.SetCount(list284, num); - CollectionsMarshal.AsSpan(list284)[0] = "Censored"; - questRoot40.Author = list284; - num = 2; - List list285 = new List(num); - CollectionsMarshal.SetCount(list285, num); - Span span116 = CollectionsMarshal.AsSpan(list285); - ref QuestSequence reference203 = ref span116[0]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - Span span117 = CollectionsMarshal.AsSpan(list286); - ref QuestStep reference204 = ref span117[0]; - QuestStep obj195 = new QuestStep(EInteractionType.None, null, null, 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardFirmament - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list287 = new List(num3); - CollectionsMarshal.SetCount(list287, num3); - CollectionsMarshal.AsSpan(list287)[0] = 154; - skipStepConditions2.InTerritory = list287; - skipConditions3.StepIf = skipStepConditions2; - obj195.SkipConditions = skipConditions3; - reference204 = obj195; - span117[1] = new QuestStep(EInteractionType.AcceptQuest, 1032220u, new Vector3(113.29822f, -20.000002f, 1.449585f), 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmamentMendicantsCourt, - To = EAetheryteLocation.FirmamentMattock - } - }; - obj194.Steps = list286; - reference203 = obj194; - ref QuestSequence reference205 = ref span116[1]; - QuestSequence obj196 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - CollectionsMarshal.AsSpan(list288)[0] = new QuestStep(EInteractionType.CompleteQuest, 1033784u, new Vector3(154.00928f, -50f, 67.73474f), 886); - obj196.Steps = list288; - reference205 = obj196; - questRoot40.QuestSequence = list285; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(3895); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list289 = new List(num); - CollectionsMarshal.SetCount(list289, num); - CollectionsMarshal.AsSpan(list289)[0] = "liza"; - questRoot41.Author = list289; - num = 11; - List list290 = new List(num); - CollectionsMarshal.SetCount(list290, num); - Span span118 = CollectionsMarshal.AsSpan(list290); - ref QuestSequence reference206 = ref span118[0]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - CollectionsMarshal.AsSpan(list291)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032586u, new Vector3(-505.42462f, 7.68313f, 51.621216f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj197.Steps = list291; - reference206 = obj197; - ref QuestSequence reference207 = ref span118[1]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - ref QuestStep reference208 = ref CollectionsMarshal.AsSpan(list292)[0]; - QuestStep obj199 = new QuestStep(EInteractionType.Interact, 1026804u, new Vector3(-524.55945f, 8.698304f, -15.487976f), 621) - { - Fly = true - }; - num3 = 1; - List list293 = new List(num3); - CollectionsMarshal.SetCount(list293, num3); - CollectionsMarshal.AsSpan(list293)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKYW201_03895_Q1_000_011") - }; - obj199.DialogueChoices = list293; - reference208 = obj199; - obj198.Steps = list292; - reference207 = obj198; - ref QuestSequence reference209 = ref span118[2]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - CollectionsMarshal.AsSpan(list294)[0] = new QuestStep(EInteractionType.Interact, 1033626u, new Vector3(-484.42816f, 107.63f, 136.5835f), 829); - obj200.Steps = list294; - reference209 = obj200; - ref QuestSequence reference210 = ref span118[3]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - CollectionsMarshal.AsSpan(list295)[0] = new QuestStep(EInteractionType.Interact, 1032851u, new Vector3(-481.3764f, 107.63f, 122.78931f), 829); - obj201.Steps = list295; - reference210 = obj201; - ref QuestSequence reference211 = ref span118[4]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - CollectionsMarshal.AsSpan(list296)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1032851u, new Vector3(-481.3764f, 107.63f, 122.78931f), 829); - obj202.Steps = list296; - reference211 = obj202; - ref QuestSequence reference212 = ref span118[5]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - ref QuestStep reference213 = ref CollectionsMarshal.AsSpan(list297)[0]; - QuestStep obj204 = new QuestStep(EInteractionType.SinglePlayerDuty, 1032851u, new Vector3(-481.3764f, 107.63f, 122.78931f), 829) - { - StopDistance = 5f, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Index = 1 - } - }; - num3 = 1; - List list298 = new List(num3); - CollectionsMarshal.SetCount(list298, num3); - CollectionsMarshal.AsSpan(list298)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKYW201_03895_Q6_000_000"), - Answer = new ExcelRef("TEXT_LUCKYW201_03895_A6_000_001") - }; - obj204.DialogueChoices = list298; - reference213 = obj204; - obj203.Steps = list297; - reference212 = obj203; - span118[6] = new QuestSequence - { - Sequence = 6 - }; - ref QuestSequence reference214 = ref span118[7]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - CollectionsMarshal.AsSpan(list299)[0] = new QuestStep(EInteractionType.Interact, 1033629u, new Vector3(-0.3204956f, 41f, 17.56311f), 919); - obj205.Steps = list299; - reference214 = obj205; - ref QuestSequence reference215 = ref span118[8]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - CollectionsMarshal.AsSpan(list300)[0] = new QuestStep(EInteractionType.Interact, 1033632u, new Vector3(50.94983f, 35f, 60.440918f), 919); - obj206.Steps = list300; - reference215 = obj206; - ref QuestSequence reference216 = ref span118[9]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - CollectionsMarshal.AsSpan(list301)[0] = new QuestStep(EInteractionType.Interact, 1033635u, new Vector3(5.2643433f, 41f, 9.811523f), 919); - obj207.Steps = list301; - reference216 = obj207; - ref QuestSequence reference217 = ref span118[10]; - QuestSequence obj208 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list302 = new List(num2); - CollectionsMarshal.SetCount(list302, num2); - Span span119 = CollectionsMarshal.AsSpan(list302); - ref QuestStep reference218 = ref span119[0]; - QuestStep obj209 = new QuestStep(EInteractionType.Interact, 1033636u, new Vector3(-5.5390625f, 41.019974f, 25.680908f), 919) - { - TargetTerritoryId = (ushort)621 - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list303 = new List(num3); - CollectionsMarshal.SetCount(list303, num3); - CollectionsMarshal.AsSpan(list303)[0] = 919; - skipStepConditions3.NotInTerritory = list303; - skipConditions4.StepIf = skipStepConditions3; - obj209.SkipConditions = skipConditions4; - reference218 = obj209; - span119[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-507.93283f, 7.6638765f, 52.09985f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span119[2] = new QuestStep(EInteractionType.CompleteQuest, 1032586u, new Vector3(-505.42462f, 7.68313f, 51.621216f), 621) - { - NextQuestId = new QuestId(3980) - }; - obj208.Steps = list302; - reference217 = obj208; - questRoot41.QuestSequence = list290; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(3896); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list304 = new List(num); - CollectionsMarshal.SetCount(list304, num); - CollectionsMarshal.AsSpan(list304)[0] = "alydev"; - questRoot42.Author = list304; - num = 6; - List list305 = new List(num); - CollectionsMarshal.SetCount(list305, num); - Span span120 = CollectionsMarshal.AsSpan(list305); - ref QuestSequence reference219 = ref span120[0]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - CollectionsMarshal.AsSpan(list306)[0] = new QuestStep(EInteractionType.AcceptQuest, 1033717u, new Vector3(-286.82385f, 17.772081f, 444.23596f), 814) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaWright, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-286.82385f, 17.772081f, 444.23596f), - MaximumDistance = 50f, - TerritoryId = 814 - } - } - } - }; - obj210.Steps = list306; - reference219 = obj210; - ref QuestSequence reference220 = ref span120[1]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list307 = new List(num2); - CollectionsMarshal.SetCount(list307, num2); - CollectionsMarshal.AsSpan(list307)[0] = new QuestStep(EInteractionType.Interact, 1033720u, new Vector3(79.81995f, 35.999687f, -148.27197f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumAmaroLaunch - } - }; - obj211.Steps = list307; - reference220 = obj211; - ref QuestSequence reference221 = ref span120[2]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - CollectionsMarshal.AsSpan(list308)[0] = new QuestStep(EInteractionType.Interact, 1033722u, new Vector3(-13.473755f, 19.999794f, -155.13855f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumAmaroLaunch, - To = EAetheryteLocation.CrystariumCrystallineMean - } - }; - obj212.Steps = list308; - reference221 = obj212; - ref QuestSequence reference222 = ref span120[3]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - CollectionsMarshal.AsSpan(list309)[0] = new QuestStep(EInteractionType.Interact, 1033723u, new Vector3(-349.63f, 100.1054f, -605.27966f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandOstallImperative - }; - obj213.Steps = list309; - reference222 = obj213; - ref QuestSequence reference223 = ref span120[4]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - ref QuestStep reference224 = ref CollectionsMarshal.AsSpan(list310)[0]; - QuestStep obj215 = new QuestStep(EInteractionType.Interact, 1033727u, new Vector3(-601.8616f, 65.60101f, -419.9131f), 813) - { - Fly = true - }; - num3 = 1; - List list311 = new List(num3); - CollectionsMarshal.SetCount(list311, num3); - CollectionsMarshal.AsSpan(list311)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANDWA001_03896_Q3_000_000"), - Answer = new ExcelRef("TEXT_BANDWA001_03896_A3_000_001") - }; - obj215.DialogueChoices = list311; - reference224 = obj215; - obj214.Steps = list310; - reference223 = obj214; - ref QuestSequence reference225 = ref span120[5]; - QuestSequence obj216 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - Span span121 = CollectionsMarshal.AsSpan(list312); - span121[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31137u, - ItemCount = 1 - }; - span121[1] = new QuestStep(EInteractionType.CompleteQuest, 1033727u, new Vector3(-601.8616f, 65.60101f, -419.9131f), 813); - obj216.Steps = list312; - reference225 = obj216; - questRoot42.QuestSequence = list305; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(3897); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list313 = new List(num); - CollectionsMarshal.SetCount(list313, num); - CollectionsMarshal.AsSpan(list313)[0] = "Theo"; - questRoot43.Author = list313; - num = 5; - List list314 = new List(num); - CollectionsMarshal.SetCount(list314, num); - Span span122 = CollectionsMarshal.AsSpan(list314); - ref QuestSequence reference226 = ref span122[0]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - CollectionsMarshal.AsSpan(list315)[0] = new QuestStep(EInteractionType.AcceptQuest, 1033710u, new Vector3(-607.72107f, 65.601006f, -412.71082f), 813); - obj217.Steps = list315; - reference226 = obj217; - ref QuestSequence reference227 = ref span122[1]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - CollectionsMarshal.AsSpan(list316)[0] = new QuestStep(EInteractionType.Interact, 1033730u, new Vector3(-593.9269f, 71.99991f, -444.9989f), 813) - { - Mount = true - }; - obj218.Steps = list316; - reference227 = obj218; - ref QuestSequence reference228 = ref span122[2]; - QuestSequence obj219 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list317 = new List(num2); - CollectionsMarshal.SetCount(list317, num2); - CollectionsMarshal.AsSpan(list317)[0] = new QuestStep(EInteractionType.Interact, 1033749u, new Vector3(-628.04614f, 65.6009f, -414.66394f), 813) - { - Mount = true - }; - obj219.Steps = list317; - reference228 = obj219; - ref QuestSequence reference229 = ref span122[3]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list318 = new List(num2); - CollectionsMarshal.SetCount(list318, num2); - Span span123 = CollectionsMarshal.AsSpan(list318); - span123[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31139u, - ItemCount = 1 - }; - span123[1] = new QuestStep(EInteractionType.Interact, 1033730u, new Vector3(-593.9269f, 71.99991f, -444.9989f), 813) - { - Mount = true - }; - obj220.Steps = list318; - reference229 = obj220; - ref QuestSequence reference230 = ref span122[4]; - QuestSequence obj221 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list319 = new List(num2); - CollectionsMarshal.SetCount(list319, num2); - CollectionsMarshal.AsSpan(list319)[0] = new QuestStep(EInteractionType.CompleteQuest, 1033730u, new Vector3(-593.9269f, 71.99991f, -444.9989f), 813); - obj221.Steps = list319; - reference230 = obj221; - questRoot43.QuestSequence = list314; - AddQuest(questId43, questRoot43); - QuestId questId44 = new QuestId(3898); - QuestRoot questRoot44 = new QuestRoot(); - num = 1; - List list320 = new List(num); - CollectionsMarshal.SetCount(list320, num); - CollectionsMarshal.AsSpan(list320)[0] = "liza"; - questRoot44.Author = list320; - num = 8; - List list321 = new List(num); - CollectionsMarshal.SetCount(list321, num); - Span span124 = CollectionsMarshal.AsSpan(list321); - ref QuestSequence reference231 = ref span124[0]; - QuestSequence obj222 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list322 = new List(num2); - CollectionsMarshal.SetCount(list322, num2); - CollectionsMarshal.AsSpan(list322)[0] = new QuestStep(EInteractionType.AcceptQuest, 1033710u, new Vector3(-607.72107f, 65.60101f, -412.71082f), 813); - obj222.Steps = list322; - reference231 = obj222; - ref QuestSequence reference232 = ref span124[1]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list323 = new List(num2); - CollectionsMarshal.SetCount(list323, num2); - Span span125 = CollectionsMarshal.AsSpan(list323); - span125[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-357.15628f, 108.72211f, -680.6214f), 813) - { - Fly = true - }; - span125[1] = new QuestStep(EInteractionType.Interact, 1033732u, new Vector3(-356.22186f, 108.722115f, -682.3072f), 813); - obj223.Steps = list323; - reference232 = obj223; - ref QuestSequence reference233 = ref span124[2]; - QuestSequence obj224 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list324 = new List(num2); - CollectionsMarshal.SetCount(list324, num2); - ref QuestStep reference234 = ref CollectionsMarshal.AsSpan(list324)[0]; - QuestStep obj225 = new QuestStep(EInteractionType.Interact, 1033733u, new Vector3(-357.16797f, 108.722115f, -683.1922f), 813) - { - StopDistance = 5f - }; - num3 = 1; - List list325 = new List(num3); - CollectionsMarshal.SetCount(list325, num3); - CollectionsMarshal.AsSpan(list325)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANDWA003_03898_SYSTEM_000_046") - }; - obj225.DialogueChoices = list325; - reference234 = obj225; - obj224.Steps = list324; - reference233 = obj224; - ref QuestSequence reference235 = ref span124[3]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list326 = new List(num2); - CollectionsMarshal.SetCount(list326, num2); - CollectionsMarshal.AsSpan(list326)[0] = new QuestStep(EInteractionType.Interact, 1033769u, new Vector3(-358.114f, 108.722115f, -683.43634f), 813) - { - StopDistance = 5f - }; - obj226.Steps = list326; - reference235 = obj226; - ref QuestSequence reference236 = ref span124[4]; - QuestSequence obj227 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list327 = new List(num2); - CollectionsMarshal.SetCount(list327, num2); - CollectionsMarshal.AsSpan(list327)[0] = new QuestStep(EInteractionType.Interact, 1027826u, new Vector3(89.15845f, 0.49999997f, -145.4643f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - obj227.Steps = list327; - reference236 = obj227; - ref QuestSequence reference237 = ref span124[5]; - QuestSequence obj228 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - CollectionsMarshal.AsSpan(list328)[0] = new QuestStep(EInteractionType.Interact, 1033710u, new Vector3(-607.72107f, 65.60101f, -412.71082f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandOstallImperative - }; - obj228.Steps = list328; - reference237 = obj228; - ref QuestSequence reference238 = ref span124[6]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list329 = new List(num2); - CollectionsMarshal.SetCount(list329, num2); - CollectionsMarshal.AsSpan(list329)[0] = new QuestStep(EInteractionType.Interact, 1033749u, new Vector3(-628.04614f, 65.60091f, -414.66394f), 813); - obj229.Steps = list329; - reference238 = obj229; - ref QuestSequence reference239 = ref span124[7]; - QuestSequence obj230 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list330 = new List(num2); - CollectionsMarshal.SetCount(list330, num2); - Span span126 = CollectionsMarshal.AsSpan(list330); - span126[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31141u, - ItemCount = 1 - }; - span126[1] = new QuestStep(EInteractionType.CompleteQuest, 1033710u, new Vector3(-607.72107f, 65.60101f, -412.71082f), 813); - obj230.Steps = list330; - reference239 = obj230; - questRoot44.QuestSequence = list321; - AddQuest(questId44, questRoot44); - QuestId questId45 = new QuestId(3899); - QuestRoot questRoot45 = new QuestRoot(); - num = 1; - List list331 = new List(num); - CollectionsMarshal.SetCount(list331, num); - CollectionsMarshal.AsSpan(list331)[0] = "Theo"; - questRoot45.Author = list331; - num = 6; - List list332 = new List(num); - CollectionsMarshal.SetCount(list332, num); - Span span127 = CollectionsMarshal.AsSpan(list332); - ref QuestSequence reference240 = ref span127[0]; - QuestSequence obj231 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list333 = new List(num2); - CollectionsMarshal.SetCount(list333, num2); - Span span128 = CollectionsMarshal.AsSpan(list333); - span128[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-607.72107f, 65.602394f, -412.71082f), 813) - { - Fly = true - }; - span128[1] = new QuestStep(EInteractionType.AcceptQuest, 1033710u, new Vector3(-607.72107f, 65.602394f, -412.71082f), 813); - obj231.Steps = list333; - reference240 = obj231; - ref QuestSequence reference241 = ref span127[1]; - QuestSequence obj232 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - CollectionsMarshal.AsSpan(list334)[0] = new QuestStep(EInteractionType.Interact, 1033710u, new Vector3(-607.72107f, 65.602394f, -412.71082f), 813); - obj232.Steps = list334; - reference241 = obj232; - ref QuestSequence reference242 = ref span127[2]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list335 = new List(num2); - CollectionsMarshal.SetCount(list335, num2); - CollectionsMarshal.AsSpan(list335)[0] = new QuestStep(EInteractionType.Interact, 1033749u, new Vector3(-628.04614f, 65.60228f, -414.66394f), 813); - obj233.Steps = list335; - reference242 = obj233; - ref QuestSequence reference243 = ref span127[3]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list336 = new List(num2); - CollectionsMarshal.SetCount(list336, num2); - Span span129 = CollectionsMarshal.AsSpan(list336); - span129[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31143u, - ItemCount = 1 - }; - span129[1] = new QuestStep(EInteractionType.Interact, 1033710u, new Vector3(-607.72107f, 65.602394f, -412.71082f), 813); - obj234.Steps = list336; - reference243 = obj234; - ref QuestSequence reference244 = ref span127[4]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list337 = new List(num2); - CollectionsMarshal.SetCount(list337, num2); - CollectionsMarshal.AsSpan(list337)[0] = new QuestStep(EInteractionType.Interact, 1033737u, new Vector3(-250.17175f, 18.842602f, -161.12f), 813) - { - Fly = true - }; - obj235.Steps = list337; - reference244 = obj235; - ref QuestSequence reference245 = ref span127[5]; - QuestSequence obj236 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list338 = new List(num2); - CollectionsMarshal.SetCount(list338, num2); - Span span130 = CollectionsMarshal.AsSpan(list338); - span130[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-607.72107f, 65.602394f, -412.71082f), 813) - { - Fly = true - }; - span130[1] = new QuestStep(EInteractionType.CompleteQuest, 1033710u, new Vector3(-607.72107f, 65.602394f, -412.71082f), 813); - obj236.Steps = list338; - reference245 = obj236; - questRoot45.QuestSequence = list332; - AddQuest(questId45, questRoot45); - } - - private static void LoadQuests78() - { - QuestId questId = new QuestId(3900); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 10; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1033710u, new Vector3(-607.72107f, 65.602394f, -412.71082f), 813); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1033738u, new Vector3(-616.29663f, -0.3631083f, 303.94446f), 813) - { - Fly = true - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1033710u, new Vector3(-607.72107f, 65.602394f, -412.71082f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandOstallImperative, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-607.72107f, 65.602394f, -412.71082f), - MaximumDistance = 50f, - TerritoryId = 400 - } - } - } - }; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Interact, 1033710u, new Vector3(-607.72107f, 65.602394f, -412.71082f), 813); - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.Interact, 1033749u, new Vector3(-628.04614f, 65.60228f, -414.66394f), 813); - obj5.Steps = list7; - reference5 = obj5; - ref QuestSequence reference6 = ref span[5]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - Span span2 = CollectionsMarshal.AsSpan(list8); - span2[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31145u, - ItemCount = 1 - }; - span2[1] = new QuestStep(EInteractionType.Interact, 1033710u, new Vector3(-607.72107f, 65.602394f, -412.71082f), 813); - obj6.Steps = list8; - reference6 = obj6; - ref QuestSequence reference7 = ref span[6]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.Interact, 1033743u, new Vector3(-369.83295f, 5.6262345f, -94.80432f), 813) - { - Fly = true - }; - obj7.Steps = list9; - reference7 = obj7; - ref QuestSequence reference8 = ref span[7]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 7 - }; - num2 = 3; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span3 = CollectionsMarshal.AsSpan(list10); - span3[0] = new QuestStep(EInteractionType.Interact, 2011069u, new Vector3(-254.10852f, 3.2807007f, -114.54956f), 813) - { - Fly = true - }; - span3[1] = new QuestStep(EInteractionType.Interact, 2011068u, new Vector3(-245.28882f, 3.463745f, -116.68579f), 813); - span3[2] = new QuestStep(EInteractionType.Interact, 2011067u, new Vector3(-236.77429f, 3.829956f, -115.58716f), 813); - obj8.Steps = list10; - reference8 = obj8; - ref QuestSequence reference9 = ref span[8]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.Interact, 1033743u, new Vector3(-369.83295f, 5.6262345f, -94.80432f), 813) - { - Fly = true - }; - obj9.Steps = list11; - reference9 = obj9; - ref QuestSequence reference10 = ref span[9]; - QuestSequence obj10 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.CompleteQuest, 1033710u, new Vector3(-607.72107f, 65.602394f, -412.71082f), 813) - { - Fly = true - }; - obj10.Steps = list12; - reference10 = obj10; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(3901); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = "Theo"; - questRoot2.Author = list13; - num = 5; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - Span span4 = CollectionsMarshal.AsSpan(list14); - ref QuestSequence reference11 = ref span4[0]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.AcceptQuest, 1033710u, new Vector3(-607.72107f, 65.602394f, -412.71082f), 813); - obj11.Steps = list15; - reference11 = obj11; - ref QuestSequence reference12 = ref span4[1]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.Interact, 1033744u, new Vector3(-354.5434f, 100.1054f, -603.7537f), 813) - { - Fly = true - }; - obj12.Steps = list16; - reference12 = obj12; - ref QuestSequence reference13 = ref span4[2]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.Interact, 1033746u, new Vector3(-351.36957f, 100.1054f, -603.60114f), 813); - obj13.Steps = list17; - reference13 = obj13; - ref QuestSequence reference14 = ref span4[3]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.Interact, 1033729u, new Vector3(-355.6115f, 100.1054f, -603.20447f), 813); - obj14.Steps = list18; - reference14 = obj14; - ref QuestSequence reference15 = ref span4[4]; - QuestSequence obj15 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.CompleteQuest, 1033710u, new Vector3(-607.72107f, 65.602394f, -412.71082f), 813) - { - Fly = true - }; - obj15.Steps = list19; - reference15 = obj15; - questRoot2.QuestSequence = list14; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(3902); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - CollectionsMarshal.AsSpan(list20)[0] = "liza"; - questRoot3.Author = list20; - num = 4; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - Span span5 = CollectionsMarshal.AsSpan(list21); - ref QuestSequence reference16 = ref span5[0]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - Span span6 = CollectionsMarshal.AsSpan(list22); - span6[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span6[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj16.Steps = list22; - reference16 = obj16; - ref QuestSequence reference17 = ref span5[1]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.Interact, 1034103u, new Vector3(-674.7692f, 52.60457f, -148.05829f), 813) - { - Fly = true - }; - obj17.Steps = list23; - reference17 = obj17; - ref QuestSequence reference18 = ref span5[2]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - Span span7 = CollectionsMarshal.AsSpan(list24); - span7[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31147u, - ItemCount = 3 - }; - span7[1] = new QuestStep(EInteractionType.Interact, 1034103u, new Vector3(-674.7692f, 52.60457f, -148.05829f), 813); - obj18.Steps = list24; - reference18 = obj18; - ref QuestSequence reference19 = ref span5[3]; - QuestSequence obj19 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - Span span8 = CollectionsMarshal.AsSpan(list25); - span8[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true - }; - span8[1] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj19.Steps = list25; - reference19 = obj19; - questRoot3.QuestSequence = list21; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(3903); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - CollectionsMarshal.AsSpan(list26)[0] = "liza"; - questRoot4.Author = list26; - num = 3; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - Span span9 = CollectionsMarshal.AsSpan(list27); - ref QuestSequence reference20 = ref span9[0]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - Span span10 = CollectionsMarshal.AsSpan(list28); - span10[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span10[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj20.Steps = list28; - reference20 = obj20; - ref QuestSequence reference21 = ref span9[1]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.Interact, 1034105u, new Vector3(775.9059f, 21.325724f, 21.286316f), 813) - { - StopDistance = 1f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandFortJobb - }; - obj21.Steps = list29; - reference21 = obj21; - ref QuestSequence reference22 = ref span9[2]; - QuestSequence obj22 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - Span span11 = CollectionsMarshal.AsSpan(list30); - span11[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31149u, - ItemCount = 2 - }; - span11[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandOstallImperative - }; - span11[2] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj22.Steps = list30; - reference22 = obj22; - questRoot4.QuestSequence = list27; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(3904); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list31 = new List(num); - CollectionsMarshal.SetCount(list31, num); - CollectionsMarshal.AsSpan(list31)[0] = "liza"; - questRoot5.Author = list31; - num = 3; - List list32 = new List(num); - CollectionsMarshal.SetCount(list32, num); - Span span12 = CollectionsMarshal.AsSpan(list32); - ref QuestSequence reference23 = ref span12[0]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - Span span13 = CollectionsMarshal.AsSpan(list33); - span13[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span13[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj23.Steps = list33; - reference23 = obj23; - ref QuestSequence reference24 = ref span12[1]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.Interact, 1033767u, new Vector3(-608.6061f, 65.60222f, -431.81506f), 813); - obj24.Steps = list34; - reference24 = obj24; - ref QuestSequence reference25 = ref span12[2]; - QuestSequence obj25 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - Span span14 = CollectionsMarshal.AsSpan(list35); - span14[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31151u, - ItemCount = 4 - }; - span14[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span14[2] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj25.Steps = list35; - reference25 = obj25; - questRoot5.QuestSequence = list32; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(3905); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - CollectionsMarshal.AsSpan(list36)[0] = "liza"; - questRoot6.Author = list36; - num = 3; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - Span span15 = CollectionsMarshal.AsSpan(list37); - ref QuestSequence reference26 = ref span15[0]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - Span span16 = CollectionsMarshal.AsSpan(list38); - span16[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span16[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj26.Steps = list38; - reference26 = obj26; - ref QuestSequence reference27 = ref span15[1]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - Span span17 = CollectionsMarshal.AsSpan(list39); - ref QuestStep reference28 = ref span17[0]; - QuestStep obj28 = new QuestStep(EInteractionType.Interact, 2011179u, new Vector3(-304.036f, 19.860376f, -244.1596f), 813) - { - Fly = true - }; - int num3 = 6; - List> list40 = new List>(num3); - CollectionsMarshal.SetCount(list40, num3); - Span> span18 = CollectionsMarshal.AsSpan(list40); - span18[0] = null; - span18[1] = null; - ref List reference29 = ref span18[2]; - int num4 = 2; - List list41 = new List(num4); - CollectionsMarshal.SetCount(list41, num4); - Span span19 = CollectionsMarshal.AsSpan(list41); - span19[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span19[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference29 = list41; - span18[3] = null; - span18[4] = null; - span18[5] = null; - obj28.RequiredQuestVariables = list40; - num3 = 6; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - Span span20 = CollectionsMarshal.AsSpan(list42); - span20[0] = null; - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj28.CompletionQuestVariablesFlags = list42; - reference28 = obj28; - ref QuestStep reference30 = ref span17[1]; - QuestStep obj29 = new QuestStep(EInteractionType.Interact, 2011178u, new Vector3(-267.5365f, 14.389221f, -191.63806f), 813) - { - Fly = true - }; - num3 = 6; - List> list43 = new List>(num3); - CollectionsMarshal.SetCount(list43, num3); - Span> span21 = CollectionsMarshal.AsSpan(list43); - span21[0] = null; - span21[1] = null; - ref List reference31 = ref span21[2]; - num4 = 2; - List list44 = new List(num4); - CollectionsMarshal.SetCount(list44, num4); - Span span22 = CollectionsMarshal.AsSpan(list44); - span22[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span22[1] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - reference31 = list44; - span21[3] = null; - span21[4] = null; - span21[5] = null; - obj29.RequiredQuestVariables = list43; - num3 = 6; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - Span span23 = CollectionsMarshal.AsSpan(list45); - span23[0] = null; - span23[1] = null; - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj29.CompletionQuestVariablesFlags = list45; - reference30 = obj29; - ref QuestStep reference32 = ref span17[2]; - QuestStep obj30 = new QuestStep(EInteractionType.Interact, 2011177u, new Vector3(-236.13336f, 21.042175f, -223.0412f), 813) - { - Fly = true - }; - num3 = 6; - List> list46 = new List>(num3); - CollectionsMarshal.SetCount(list46, num3); - Span> span24 = CollectionsMarshal.AsSpan(list46); - span24[0] = null; - span24[1] = null; - ref List reference33 = ref span24[2]; - num4 = 2; - List list47 = new List(num4); - CollectionsMarshal.SetCount(list47, num4); - Span span25 = CollectionsMarshal.AsSpan(list47); - span25[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span25[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference33 = list47; - span24[3] = null; - span24[4] = null; - span24[5] = null; - obj30.RequiredQuestVariables = list46; - num3 = 6; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - Span span26 = CollectionsMarshal.AsSpan(list48); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj30.CompletionQuestVariablesFlags = list48; - reference32 = obj30; - obj27.Steps = list39; - reference27 = obj27; - ref QuestSequence reference34 = ref span15[2]; - QuestSequence obj31 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - Span span27 = CollectionsMarshal.AsSpan(list49); - span27[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true - }; - span27[1] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj31.Steps = list49; - reference34 = obj31; - questRoot6.QuestSequence = list37; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(3906); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - CollectionsMarshal.AsSpan(list50)[0] = "liza"; - questRoot7.Author = list50; - num = 4; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - Span span28 = CollectionsMarshal.AsSpan(list51); - ref QuestSequence reference35 = ref span28[0]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - Span span29 = CollectionsMarshal.AsSpan(list52); - span29[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span29[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj32.Steps = list52; - reference35 = obj32; - ref QuestSequence reference36 = ref span28[1]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.Interact, 1033767u, new Vector3(-608.6061f, 65.60222f, -431.81506f), 813); - obj33.Steps = list53; - reference36 = obj33; - ref QuestSequence reference37 = ref span28[2]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - Span span30 = CollectionsMarshal.AsSpan(list54); - span30[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31153u, - ItemCount = 3 - }; - span30[1] = new QuestStep(EInteractionType.Interact, 1034112u, new Vector3(115.983765f, 106.73271f, -551.7815f), 813) - { - Fly = true - }; - obj34.Steps = list54; - reference37 = obj34; - ref QuestSequence reference38 = ref span28[3]; - QuestSequence obj35 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - Span span31 = CollectionsMarshal.AsSpan(list55); - span31[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandOstallImperative - }; - span31[1] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj35.Steps = list55; - reference38 = obj35; - questRoot7.QuestSequence = list51; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(3907); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - CollectionsMarshal.AsSpan(list56)[0] = "pot0to"; - questRoot8.Author = list56; - num = 3; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - Span span32 = CollectionsMarshal.AsSpan(list57); - ref QuestSequence reference39 = ref span32[0]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - Span span33 = CollectionsMarshal.AsSpan(list58); - span33[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span33[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj36.Steps = list58; - reference39 = obj36; - ref QuestSequence reference40 = ref span32[1]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.Interact, 1034115u, new Vector3(732.3567f, 21.798542f, -77.62268f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandFortJobb, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - AetheryteLocked = EAetheryteLocation.LakelandFortJobb - } - } - }; - obj37.Steps = list59; - reference40 = obj37; - ref QuestSequence reference41 = ref span32[2]; - QuestSequence obj38 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - Span span34 = CollectionsMarshal.AsSpan(list60); - span34[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31155u, - ItemCount = 2 - }; - span34[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandOstallImperative, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-615.73865f, 65.602264f, -423.84705f), - MaximumDistance = 50f, - TerritoryId = 813 - } - } - } - }; - span34[2] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj38.Steps = list60; - reference41 = obj38; - questRoot8.QuestSequence = list57; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(3908); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - CollectionsMarshal.AsSpan(list61)[0] = "plogon_enjoyer"; - questRoot9.Author = list61; - num = 3; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - Span span35 = CollectionsMarshal.AsSpan(list62); - ref QuestSequence reference42 = ref span35[0]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - Span span36 = CollectionsMarshal.AsSpan(list63); - span36[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span36[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj39.Steps = list63; - reference42 = obj39; - ref QuestSequence reference43 = ref span35[1]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.Interact, 1034118u, new Vector3(-55.49713f, 98.10251f, -624.7501f), 813) - { - Fly = true - }; - obj40.Steps = list64; - reference43 = obj40; - ref QuestSequence reference44 = ref span35[2]; - QuestSequence obj41 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - Span span37 = CollectionsMarshal.AsSpan(list65); - span37[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31157u, - ItemCount = 3 - }; - span37[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true - }; - span37[2] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj41.Steps = list65; - reference44 = obj41; - questRoot9.QuestSequence = list62; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(3909); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - CollectionsMarshal.AsSpan(list66)[0] = "liza"; - questRoot10.Author = list66; - num = 3; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - Span span38 = CollectionsMarshal.AsSpan(list67); - ref QuestSequence reference45 = ref span38[0]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - Span span39 = CollectionsMarshal.AsSpan(list68); - span39[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span39[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj42.Steps = list68; - reference45 = obj42; - ref QuestSequence reference46 = ref span38[1]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - Span span40 = CollectionsMarshal.AsSpan(list69); - ref QuestStep reference47 = ref span40[0]; - QuestStep obj44 = new QuestStep(EInteractionType.Say, 1033770u, new Vector3(-410.11676f, 91.978714f, -426.71857f), 813) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANDWA108_03909_SAYTODO_000_030" - } - }; - num3 = 6; - List> list70 = new List>(num3); - CollectionsMarshal.SetCount(list70, num3); - Span> span41 = CollectionsMarshal.AsSpan(list70); - span41[0] = null; - span41[1] = null; - ref List reference48 = ref span41[2]; - num4 = 1; - List list71 = new List(num4); - CollectionsMarshal.SetCount(list71, num4); - CollectionsMarshal.AsSpan(list71)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference48 = list71; - span41[3] = null; - span41[4] = null; - span41[5] = null; - obj44.RequiredQuestVariables = list70; - reference47 = obj44; - ref QuestStep reference49 = ref span40[1]; - QuestStep obj45 = new QuestStep(EInteractionType.Say, 1033771u, new Vector3(-396.07843f, 93.51564f, -419.11957f), 813) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANDWA108_03909_SAYTODO_000_030" - } - }; - num3 = 6; - List> list72 = new List>(num3); - CollectionsMarshal.SetCount(list72, num3); - Span> span42 = CollectionsMarshal.AsSpan(list72); - span42[0] = null; - span42[1] = null; - ref List reference50 = ref span42[2]; - num4 = 1; - List list73 = new List(num4); - CollectionsMarshal.SetCount(list73, num4); - CollectionsMarshal.AsSpan(list73)[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference50 = list73; - span42[3] = null; - span42[4] = null; - span42[5] = null; - obj45.RequiredQuestVariables = list72; - reference49 = obj45; - ref QuestStep reference51 = ref span40[2]; - QuestStep obj46 = new QuestStep(EInteractionType.Say, 1033772u, new Vector3(-399.80164f, 91.33075f, -441.42828f), 813) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANDWA108_03909_SAYTODO_000_030" - } - }; - num3 = 6; - List> list74 = new List>(num3); - CollectionsMarshal.SetCount(list74, num3); - Span> span43 = CollectionsMarshal.AsSpan(list74); - span43[0] = null; - span43[1] = null; - ref List reference52 = ref span43[2]; - num4 = 1; - List list75 = new List(num4); - CollectionsMarshal.SetCount(list75, num4); - CollectionsMarshal.AsSpan(list75)[0] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - reference52 = list75; - span43[3] = null; - span43[4] = null; - span43[5] = null; - obj46.RequiredQuestVariables = list74; - reference51 = obj46; - obj43.Steps = list69; - reference46 = obj43; - ref QuestSequence reference53 = ref span38[2]; - QuestSequence obj47 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - Span span44 = CollectionsMarshal.AsSpan(list76); - span44[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true - }; - span44[1] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj47.Steps = list76; - reference53 = obj47; - questRoot10.QuestSequence = list67; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(3910); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - CollectionsMarshal.AsSpan(list77)[0] = "liza"; - questRoot11.Author = list77; - num = 4; - List list78 = new List(num); - CollectionsMarshal.SetCount(list78, num); - Span span45 = CollectionsMarshal.AsSpan(list78); - ref QuestSequence reference54 = ref span45[0]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - Span span46 = CollectionsMarshal.AsSpan(list79); - span46[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span46[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj48.Steps = list79; - reference54 = obj48; - ref QuestSequence reference55 = ref span45[1]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.Interact, 1033767u, new Vector3(-608.6061f, 65.60085f, -431.81506f), 813); - obj49.Steps = list80; - reference55 = obj49; - ref QuestSequence reference56 = ref span45[2]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - Span span47 = CollectionsMarshal.AsSpan(list81); - span47[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31159u, - ItemCount = 3 - }; - span47[1] = new QuestStep(EInteractionType.Interact, 1033773u, new Vector3(-629.3279f, 56.201706f, -139.29962f), 813) - { - Fly = true - }; - obj50.Steps = list81; - reference56 = obj50; - ref QuestSequence reference57 = ref span45[3]; - QuestSequence obj51 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - Span span48 = CollectionsMarshal.AsSpan(list82); - span48[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true - }; - span48[1] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj51.Steps = list82; - reference57 = obj51; - questRoot11.QuestSequence = list78; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(3911); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list83 = new List(num); - CollectionsMarshal.SetCount(list83, num); - CollectionsMarshal.AsSpan(list83)[0] = "liza"; - questRoot12.Author = list83; - num = 3; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - Span span49 = CollectionsMarshal.AsSpan(list84); - ref QuestSequence reference58 = ref span49[0]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - Span span50 = CollectionsMarshal.AsSpan(list85); - span50[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span50[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj52.Steps = list85; - reference58 = obj52; - ref QuestSequence reference59 = ref span49[1]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.Interact, 1033767u, new Vector3(-608.6061f, 65.60085f, -431.81506f), 813); - obj53.Steps = list86; - reference59 = obj53; - ref QuestSequence reference60 = ref span49[2]; - QuestSequence obj54 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - Span span51 = CollectionsMarshal.AsSpan(list87); - span51[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31161u, - ItemCount = 1 - }; - span51[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span51[2] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj54.Steps = list87; - reference60 = obj54; - questRoot12.QuestSequence = list84; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(3912); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list88 = new List(num); - CollectionsMarshal.SetCount(list88, num); - CollectionsMarshal.AsSpan(list88)[0] = "pot0to"; - questRoot13.Author = list88; - num = 4; - List list89 = new List(num); - CollectionsMarshal.SetCount(list89, num); - Span span52 = CollectionsMarshal.AsSpan(list89); - ref QuestSequence reference61 = ref span52[0]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - Span span53 = CollectionsMarshal.AsSpan(list90); - span53[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandOstallImperative, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span53[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj55.Steps = list90; - reference61 = obj55; - ref QuestSequence reference62 = ref span52[1]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.UseItem, 2011166u, new Vector3(-721.70593f, 68.86389f, -1.5107422f), 813) - { - Fly = true, - ItemId = 2003030u, - GroundTarget = true - }; - obj56.Steps = list91; - reference62 = obj56; - ref QuestSequence reference63 = ref span52[2]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.Interact, 1034059u, new Vector3(-725.70386f, 68.86053f, 2.2124634f), 813); - obj57.Steps = list92; - reference63 = obj57; - ref QuestSequence reference64 = ref span52[3]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - Span span54 = CollectionsMarshal.AsSpan(list93); - span54[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true - }; - span54[1] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj58.Steps = list93; - reference64 = obj58; - questRoot13.QuestSequence = list89; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(3913); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - CollectionsMarshal.AsSpan(list94)[0] = "pot0to"; - questRoot14.Author = list94; - num = 4; - List list95 = new List(num); - CollectionsMarshal.SetCount(list95, num); - Span span55 = CollectionsMarshal.AsSpan(list95); - ref QuestSequence reference65 = ref span55[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - Span span56 = CollectionsMarshal.AsSpan(list96); - span56[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandOstallImperative, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span56[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj59.Steps = list96; - reference65 = obj59; - ref QuestSequence reference66 = ref span55[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.Interact, 1033767u, new Vector3(-608.6061f, 65.60222f, -431.81506f), 813); - obj60.Steps = list97; - reference66 = obj60; - ref QuestSequence reference67 = ref span55[2]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - Span span57 = CollectionsMarshal.AsSpan(list98); - span57[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31163u, - ItemCount = 3 - }; - span57[1] = new QuestStep(EInteractionType.Interact, 1034061u, new Vector3(-355.97772f, 100.1054f, -636.53015f), 813) - { - Fly = true - }; - obj61.Steps = list98; - reference67 = obj61; - ref QuestSequence reference68 = ref span55[3]; - QuestSequence obj62 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - Span span58 = CollectionsMarshal.AsSpan(list99); - span58[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true - }; - span58[1] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj62.Steps = list99; - reference68 = obj62; - questRoot14.QuestSequence = list95; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(3914); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - CollectionsMarshal.AsSpan(list100)[0] = "pot0to"; - questRoot15.Author = list100; - num = 3; - List list101 = new List(num); - CollectionsMarshal.SetCount(list101, num); - Span span59 = CollectionsMarshal.AsSpan(list101); - ref QuestSequence reference69 = ref span59[0]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - Span span60 = CollectionsMarshal.AsSpan(list102); - span60[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandOstallImperative - }; - span60[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj63.Steps = list102; - reference69 = obj63; - ref QuestSequence reference70 = ref span59[1]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.Interact, 1034062u, new Vector3(214.92322f, 140.93163f, -570.09235f), 813) - { - Fly = true - }; - obj64.Steps = list103; - reference70 = obj64; - ref QuestSequence reference71 = ref span59[2]; - QuestSequence obj65 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - Span span61 = CollectionsMarshal.AsSpan(list104); - span61[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31165u, - ItemCount = 2 - }; - span61[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true - }; - span61[2] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj65.Steps = list104; - reference71 = obj65; - questRoot15.QuestSequence = list101; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(3915); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list105 = new List(num); - CollectionsMarshal.SetCount(list105, num); - CollectionsMarshal.AsSpan(list105)[0] = "liza"; - questRoot16.Author = list105; - num = 4; - List list106 = new List(num); - CollectionsMarshal.SetCount(list106, num); - Span span62 = CollectionsMarshal.AsSpan(list106); - ref QuestSequence reference72 = ref span62[0]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - Span span63 = CollectionsMarshal.AsSpan(list107); - span63[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span63[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj66.Steps = list107; - reference72 = obj66; - ref QuestSequence reference73 = ref span62[1]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.Interact, 1033750u, new Vector3(-591.3329f, 72.00111f, -451.01093f), 813) - { - StopDistance = 5f - }; - obj67.Steps = list108; - reference73 = obj67; - ref QuestSequence reference74 = ref span62[2]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - Span span64 = CollectionsMarshal.AsSpan(list109); - span64[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31167u, - ItemCount = 1 - }; - span64[1] = new QuestStep(EInteractionType.Interact, 1033750u, new Vector3(-591.3329f, 72.00111f, -451.01093f), 813) - { - StopDistance = 5f - }; - obj68.Steps = list109; - reference74 = obj68; - ref QuestSequence reference75 = ref span62[3]; - QuestSequence obj69 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - Span span65 = CollectionsMarshal.AsSpan(list110); - span65[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true - }; - span65[1] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj69.Steps = list110; - reference75 = obj69; - questRoot16.QuestSequence = list106; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(3916); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - CollectionsMarshal.AsSpan(list111)[0] = "liza"; - questRoot17.Author = list111; - num = 3; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - Span span66 = CollectionsMarshal.AsSpan(list112); - ref QuestSequence reference76 = ref span66[0]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - Span span67 = CollectionsMarshal.AsSpan(list113); - span67[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span67[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj70.Steps = list113; - reference76 = obj70; - ref QuestSequence reference77 = ref span66[1]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - Span span68 = CollectionsMarshal.AsSpan(list114); - ref QuestStep reference78 = ref span68[0]; - QuestStep obj72 = new QuestStep(EInteractionType.Interact, 2011169u, new Vector3(-95.903015f, 1.6326294f, 41.244995f), 813) - { - Fly = true - }; - num3 = 6; - List> list115 = new List>(num3); - CollectionsMarshal.SetCount(list115, num3); - Span> span69 = CollectionsMarshal.AsSpan(list115); - span69[0] = null; - span69[1] = null; - span69[2] = null; - ref List reference79 = ref span69[3]; - num4 = 3; - List list116 = new List(num4); - CollectionsMarshal.SetCount(list116, num4); - Span span70 = CollectionsMarshal.AsSpan(list116); - span70[0] = new QuestWorkValue((byte)1, null, EQuestWorkMode.Bitwise); - span70[1] = new QuestWorkValue((byte)4, null, EQuestWorkMode.Bitwise); - span70[2] = new QuestWorkValue((byte)5, null, EQuestWorkMode.Bitwise); - reference79 = list116; - span69[4] = null; - span69[5] = null; - obj72.RequiredQuestVariables = list115; - num3 = 6; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - Span span71 = CollectionsMarshal.AsSpan(list117); - span71[0] = null; - span71[1] = null; - span71[2] = null; - span71[3] = null; - span71[4] = null; - span71[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj72.CompletionQuestVariablesFlags = list117; - reference78 = obj72; - ref QuestStep reference80 = ref span68[1]; - QuestStep obj73 = new QuestStep(EInteractionType.Interact, 2011170u, new Vector3(-84.916504f, 2.39563f, 36.850464f), 813) - { - Fly = true - }; - num3 = 6; - List> list118 = new List>(num3); - CollectionsMarshal.SetCount(list118, num3); - Span> span72 = CollectionsMarshal.AsSpan(list118); - span72[0] = null; - span72[1] = null; - span72[2] = null; - ref List reference81 = ref span72[3]; - num4 = 3; - List list119 = new List(num4); - CollectionsMarshal.SetCount(list119, num4); - Span span73 = CollectionsMarshal.AsSpan(list119); - span73[0] = new QuestWorkValue((byte)1, null, EQuestWorkMode.Bitwise); - span73[1] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - span73[2] = new QuestWorkValue((byte)6, null, EQuestWorkMode.Bitwise); - reference81 = list119; - span72[4] = null; - span72[5] = null; - obj73.RequiredQuestVariables = list118; - num3 = 6; - List list120 = new List(num3); - CollectionsMarshal.SetCount(list120, num3); - Span span74 = CollectionsMarshal.AsSpan(list120); - span74[0] = null; - span74[1] = null; - span74[2] = null; - span74[3] = null; - span74[4] = null; - span74[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj73.CompletionQuestVariablesFlags = list120; - reference80 = obj73; - ref QuestStep reference82 = ref span68[2]; - QuestStep obj74 = new QuestStep(EInteractionType.Interact, 2011171u, new Vector3(-68.55884f, 2.5177002f, 38.04065f), 813) - { - Fly = true - }; - num3 = 6; - List> list121 = new List>(num3); - CollectionsMarshal.SetCount(list121, num3); - Span> span75 = CollectionsMarshal.AsSpan(list121); - span75[0] = null; - span75[1] = null; - span75[2] = null; - ref List reference83 = ref span75[3]; - num4 = 3; - List list122 = new List(num4); - CollectionsMarshal.SetCount(list122, num4); - Span span76 = CollectionsMarshal.AsSpan(list122); - span76[0] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span76[1] = new QuestWorkValue((byte)5, null, EQuestWorkMode.Bitwise); - span76[2] = new QuestWorkValue((byte)6, null, EQuestWorkMode.Bitwise); - reference83 = list122; - span75[4] = null; - span75[5] = null; - obj74.RequiredQuestVariables = list121; - num3 = 6; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - Span span77 = CollectionsMarshal.AsSpan(list123); - span77[0] = null; - span77[1] = null; - span77[2] = null; - span77[3] = null; - span77[4] = null; - span77[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj74.CompletionQuestVariablesFlags = list123; - reference82 = obj74; - ref QuestStep reference84 = ref span68[3]; - QuestStep obj75 = new QuestStep(EInteractionType.Interact, 2011172u, new Vector3(-70.2984f, 1.449585f, 62.210938f), 813) - { - Fly = true - }; - num3 = 6; - List> list124 = new List>(num3); - CollectionsMarshal.SetCount(list124, num3); - Span> span78 = CollectionsMarshal.AsSpan(list124); - span78[0] = null; - span78[1] = null; - span78[2] = null; - ref List reference85 = ref span78[3]; - num4 = 3; - List list125 = new List(num4); - CollectionsMarshal.SetCount(list125, num4); - Span span79 = CollectionsMarshal.AsSpan(list125); - span79[0] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - span79[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span79[2] = new QuestWorkValue((byte)4, null, EQuestWorkMode.Bitwise); - reference85 = list125; - span78[4] = null; - span78[5] = null; - obj75.RequiredQuestVariables = list124; - num3 = 6; - List list126 = new List(num3); - CollectionsMarshal.SetCount(list126, num3); - Span span80 = CollectionsMarshal.AsSpan(list126); - span80[0] = null; - span80[1] = null; - span80[2] = null; - span80[3] = null; - span80[4] = null; - span80[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj75.CompletionQuestVariablesFlags = list126; - reference84 = obj75; - obj71.Steps = list114; - reference77 = obj71; - ref QuestSequence reference86 = ref span66[2]; - QuestSequence obj76 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - Span span81 = CollectionsMarshal.AsSpan(list127); - span81[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandOstallImperative - }; - span81[1] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj76.Steps = list127; - reference86 = obj76; - questRoot17.QuestSequence = list112; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(3917); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - CollectionsMarshal.AsSpan(list128)[0] = "liza"; - questRoot18.Author = list128; - num = 4; - List list129 = new List(num); - CollectionsMarshal.SetCount(list129, num); - Span span82 = CollectionsMarshal.AsSpan(list129); - ref QuestSequence reference87 = ref span82[0]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - Span span83 = CollectionsMarshal.AsSpan(list130); - span83[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span83[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj77.Steps = list130; - reference87 = obj77; - ref QuestSequence reference88 = ref span82[1]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.Interact, 1033767u, new Vector3(-608.6061f, 65.60222f, -431.81506f), 813); - obj78.Steps = list131; - reference88 = obj78; - ref QuestSequence reference89 = ref span82[2]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - Span span84 = CollectionsMarshal.AsSpan(list132); - span84[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31169u, - ItemCount = 3 - }; - span84[1] = new QuestStep(EInteractionType.Interact, 1033694u, new Vector3(593.19434f, 5.8981767f, 704.86f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandFortJobb - }; - obj79.Steps = list132; - reference89 = obj79; - ref QuestSequence reference90 = ref span82[3]; - QuestSequence obj80 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - Span span85 = CollectionsMarshal.AsSpan(list133); - span85[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandOstallImperative - }; - span85[1] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj80.Steps = list133; - reference90 = obj80; - questRoot18.QuestSequence = list129; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(3918); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list134 = new List(num); - CollectionsMarshal.SetCount(list134, num); - CollectionsMarshal.AsSpan(list134)[0] = "liza"; - questRoot19.Author = list134; - num = 4; - List list135 = new List(num); - CollectionsMarshal.SetCount(list135, num); - Span span86 = CollectionsMarshal.AsSpan(list135); - ref QuestSequence reference91 = ref span86[0]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - Span span87 = CollectionsMarshal.AsSpan(list136); - span87[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span87[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj81.Steps = list136; - reference91 = obj81; - ref QuestSequence reference92 = ref span86[1]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.Interact, 1033695u, new Vector3(117.05188f, 7.07016f, 667.38367f), 813) - { - Fly = true - }; - obj82.Steps = list137; - reference92 = obj82; - ref QuestSequence reference93 = ref span86[2]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - Span span88 = CollectionsMarshal.AsSpan(list138); - span88[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31171u, - ItemCount = 1 - }; - span88[1] = new QuestStep(EInteractionType.Interact, 1033696u, new Vector3(119.035645f, 7.096028f, 667.5974f), 813) - { - StopDistance = 5f - }; - obj83.Steps = list138; - reference93 = obj83; - ref QuestSequence reference94 = ref span86[3]; - QuestSequence obj84 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - Span span89 = CollectionsMarshal.AsSpan(list139); - span89[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandOstallImperative - }; - span89[1] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj84.Steps = list139; - reference94 = obj84; - questRoot19.QuestSequence = list135; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(3919); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list140 = new List(num); - CollectionsMarshal.SetCount(list140, num); - CollectionsMarshal.AsSpan(list140)[0] = "liza"; - questRoot20.Author = list140; - num = 4; - List list141 = new List(num); - CollectionsMarshal.SetCount(list141, num); - Span span90 = CollectionsMarshal.AsSpan(list141); - ref QuestSequence reference95 = ref span90[0]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - Span span91 = CollectionsMarshal.AsSpan(list142); - span91[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span91[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj85.Steps = list142; - reference95 = obj85; - ref QuestSequence reference96 = ref span90[1]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.Interact, 1033697u, new Vector3(705.2262f, 20.93061f, 29.007324f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandFortJobb - }; - obj86.Steps = list143; - reference96 = obj86; - ref QuestSequence reference97 = ref span90[2]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.Emote, 1033697u, new Vector3(705.2262f, 20.93061f, 29.007324f), 813) - { - Emote = EEmote.Psych - }; - obj87.Steps = list144; - reference97 = obj87; - ref QuestSequence reference98 = ref span90[3]; - QuestSequence obj88 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - Span span92 = CollectionsMarshal.AsSpan(list145); - span92[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandOstallImperative - }; - span92[1] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj88.Steps = list145; - reference98 = obj88; - questRoot20.QuestSequence = list141; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(3920); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list146 = new List(num); - CollectionsMarshal.SetCount(list146, num); - CollectionsMarshal.AsSpan(list146)[0] = "pot0to"; - questRoot21.Author = list146; - num = 4; - List list147 = new List(num); - CollectionsMarshal.SetCount(list147, num); - Span span93 = CollectionsMarshal.AsSpan(list147); - ref QuestSequence reference99 = ref span93[0]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - Span span94 = CollectionsMarshal.AsSpan(list148); - span94[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span94[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj89.Steps = list148; - reference99 = obj89; - ref QuestSequence reference100 = ref span93[1]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.Interact, 1033767u, new Vector3(-608.6061f, 65.60222f, -431.81506f), 813); - obj90.Steps = list149; - reference100 = obj90; - ref QuestSequence reference101 = ref span93[2]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - Span span95 = CollectionsMarshal.AsSpan(list150); - span95[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31173u, - ItemCount = 3 - }; - span95[1] = new QuestStep(EInteractionType.Interact, 1033703u, new Vector3(-270.77136f, 93.37625f, -480.33875f), 813) - { - Fly = true - }; - obj91.Steps = list150; - reference101 = obj91; - ref QuestSequence reference102 = ref span93[3]; - QuestSequence obj92 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - Span span96 = CollectionsMarshal.AsSpan(list151); - span96[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true - }; - span96[1] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj92.Steps = list151; - reference102 = obj92; - questRoot21.QuestSequence = list147; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(3921); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list152 = new List(num); - CollectionsMarshal.SetCount(list152, num); - CollectionsMarshal.AsSpan(list152)[0] = "liza"; - questRoot22.Author = list152; - num = 3; - List list153 = new List(num); - CollectionsMarshal.SetCount(list153, num); - Span span97 = CollectionsMarshal.AsSpan(list153); - ref QuestSequence reference103 = ref span97[0]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - Span span98 = CollectionsMarshal.AsSpan(list154); - span98[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span98[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj93.Steps = list154; - reference103 = obj93; - ref QuestSequence reference104 = ref span97[1]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.Interact, 1033704u, new Vector3(-33.341064f, 21.204435f, -198.41309f), 813) - { - Fly = true - }; - obj94.Steps = list155; - reference104 = obj94; - ref QuestSequence reference105 = ref span97[2]; - QuestSequence obj95 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - Span span99 = CollectionsMarshal.AsSpan(list156); - span99[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31175u, - ItemCount = 1 - }; - span99[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true - }; - span99[2] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj95.Steps = list156; - reference105 = obj95; - questRoot22.QuestSequence = list153; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(3922); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list157 = new List(num); - CollectionsMarshal.SetCount(list157, num); - CollectionsMarshal.AsSpan(list157)[0] = "liza"; - questRoot23.Author = list157; - num = 3; - List list158 = new List(num); - CollectionsMarshal.SetCount(list158, num); - Span span100 = CollectionsMarshal.AsSpan(list158); - ref QuestSequence reference106 = ref span100[0]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - Span span101 = CollectionsMarshal.AsSpan(list159); - span101[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span101[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj96.Steps = list159; - reference106 = obj96; - ref QuestSequence reference107 = ref span100[1]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - Span span102 = CollectionsMarshal.AsSpan(list160); - ref QuestStep reference108 = ref span102[0]; - QuestStep obj98 = new QuestStep(EInteractionType.Interact, 1033706u, new Vector3(-384.9088f, 105.85561f, -645.9602f), 813) - { - StopDistance = 2f, - Fly = true - }; - num3 = 6; - List list161 = new List(num3); - CollectionsMarshal.SetCount(list161, num3); - Span span103 = CollectionsMarshal.AsSpan(list161); - span103[0] = null; - span103[1] = null; - span103[2] = null; - span103[3] = null; - span103[4] = null; - span103[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj98.CompletionQuestVariablesFlags = list161; - reference108 = obj98; - ref QuestStep reference109 = ref span102[1]; - QuestStep obj99 = new QuestStep(EInteractionType.Interact, 1033705u, new Vector3(-380.3922f, 103.089836f, -669.8253f), 813) - { - Fly = true - }; - num3 = 6; - List list162 = new List(num3); - CollectionsMarshal.SetCount(list162, num3); - Span span104 = CollectionsMarshal.AsSpan(list162); - span104[0] = null; - span104[1] = null; - span104[2] = null; - span104[3] = null; - span104[4] = null; - span104[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj99.CompletionQuestVariablesFlags = list162; - reference109 = obj99; - ref QuestStep reference110 = ref span102[2]; - QuestStep obj100 = new QuestStep(EInteractionType.Interact, 1033707u, new Vector3(-361.83722f, 103.57124f, -703.2731f), 813) - { - Fly = true - }; - num3 = 6; - List list163 = new List(num3); - CollectionsMarshal.SetCount(list163, num3); - Span span105 = CollectionsMarshal.AsSpan(list163); - span105[0] = null; - span105[1] = null; - span105[2] = null; - span105[3] = null; - span105[4] = null; - span105[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj100.CompletionQuestVariablesFlags = list163; - reference110 = obj100; - obj97.Steps = list160; - reference107 = obj97; - ref QuestSequence reference111 = ref span100[2]; - QuestSequence obj101 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - Span span106 = CollectionsMarshal.AsSpan(list164); - span106[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true - }; - span106[1] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj101.Steps = list164; - reference111 = obj101; - questRoot23.QuestSequence = list158; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(3923); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list165 = new List(num); - CollectionsMarshal.SetCount(list165, num); - CollectionsMarshal.AsSpan(list165)[0] = "liza"; - questRoot24.Author = list165; - num = 5; - List list166 = new List(num); - CollectionsMarshal.SetCount(list166, num); - Span span107 = CollectionsMarshal.AsSpan(list166); - ref QuestSequence reference112 = ref span107[0]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - Span span108 = CollectionsMarshal.AsSpan(list167); - span108[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span108[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj102.Steps = list167; - reference112 = obj102; - ref QuestSequence reference113 = ref span107[1]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.Interact, 1033715u, new Vector3(-614.4961f, 65.60227f, -405.56958f), 813); - obj103.Steps = list168; - reference113 = obj103; - ref QuestSequence reference114 = ref span107[2]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.Action, 1034065u, new Vector3(-294.75854f, 99.225815f, -724.0253f), 813) - { - Fly = true, - Land = true, - Action = EAction.Cannonfire - }; - obj104.Steps = list169; - reference114 = obj104; - ref QuestSequence reference115 = ref span107[3]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.Action, 1034065u, new Vector3(-294.75854f, 99.225815f, -724.0253f), 813) - { - Action = EAction.Cannonfire - }; - obj105.Steps = list170; - reference115 = obj105; - ref QuestSequence reference116 = ref span107[4]; - QuestSequence obj106 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - Span span109 = CollectionsMarshal.AsSpan(list171); - span109[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true - }; - span109[1] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813) - { - Mount = false - }; - obj106.Steps = list171; - reference116 = obj106; - questRoot24.QuestSequence = list166; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(3924); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list172 = new List(num); - CollectionsMarshal.SetCount(list172, num); - CollectionsMarshal.AsSpan(list172)[0] = "liza"; - questRoot25.Author = list172; - num = 4; - List list173 = new List(num); - CollectionsMarshal.SetCount(list173, num); - Span span110 = CollectionsMarshal.AsSpan(list173); - ref QuestSequence reference117 = ref span110[0]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - Span span111 = CollectionsMarshal.AsSpan(list174); - span111[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span111[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj107.Steps = list174; - reference117 = obj107; - ref QuestSequence reference118 = ref span110[1]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.Interact, 1033767u, new Vector3(-608.6061f, 65.60222f, -431.81506f), 813); - obj108.Steps = list175; - reference118 = obj108; - ref QuestSequence reference119 = ref span110[2]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - Span span112 = CollectionsMarshal.AsSpan(list176); - span112[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31177u, - ItemCount = 1 - }; - span112[1] = new QuestStep(EInteractionType.Interact, 1034070u, new Vector3(-796.47516f, 69.28625f, 117.29602f), 813); - obj109.Steps = list176; - reference119 = obj109; - ref QuestSequence reference120 = ref span110[3]; - QuestSequence obj110 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - Span span113 = CollectionsMarshal.AsSpan(list177); - span113[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true - }; - span113[1] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj110.Steps = list177; - reference120 = obj110; - questRoot25.QuestSequence = list173; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(3925); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list178 = new List(num); - CollectionsMarshal.SetCount(list178, num); - CollectionsMarshal.AsSpan(list178)[0] = "liza"; - questRoot26.Author = list178; - num = 3; - List list179 = new List(num); - CollectionsMarshal.SetCount(list179, num); - Span span114 = CollectionsMarshal.AsSpan(list179); - ref QuestSequence reference121 = ref span114[0]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - Span span115 = CollectionsMarshal.AsSpan(list180); - span115[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span115[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj111.Steps = list180; - reference121 = obj111; - ref QuestSequence reference122 = ref span114[1]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.Interact, 1034071u, new Vector3(-171.4046f, 5.779212f, -110.27698f), 813) - { - Fly = true - }; - obj112.Steps = list181; - reference122 = obj112; - ref QuestSequence reference123 = ref span114[2]; - QuestSequence obj113 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - Span span116 = CollectionsMarshal.AsSpan(list182); - span116[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31179u, - ItemCount = 3 - }; - span116[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true - }; - span116[2] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj113.Steps = list182; - reference123 = obj113; - questRoot26.QuestSequence = list179; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(3926); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - CollectionsMarshal.AsSpan(list183)[0] = "liza"; - questRoot27.Author = list183; - num = 3; - List list184 = new List(num); - CollectionsMarshal.SetCount(list184, num); - Span span117 = CollectionsMarshal.AsSpan(list184); - ref QuestSequence reference124 = ref span117[0]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - Span span118 = CollectionsMarshal.AsSpan(list185); - span118[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span118[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj114.Steps = list185; - reference124 = obj114; - ref QuestSequence reference125 = ref span117[1]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - Span span119 = CollectionsMarshal.AsSpan(list186); - span119[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-27.174656f, 1.063369f, 661.43774f), 813) - { - Fly = true - }; - span119[1] = new QuestStep(EInteractionType.Interact, 1034072u, new Vector3(-25.92511f, 1.3904266f, 662.8976f), 813); - obj115.Steps = list186; - reference125 = obj115; - ref QuestSequence reference126 = ref span117[2]; - QuestSequence obj116 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - Span span120 = CollectionsMarshal.AsSpan(list187); - span120[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandOstallImperative - }; - span120[1] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj116.Steps = list187; - reference126 = obj116; - questRoot27.QuestSequence = list184; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(3927); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list188 = new List(num); - CollectionsMarshal.SetCount(list188, num); - CollectionsMarshal.AsSpan(list188)[0] = "liza"; - questRoot28.Author = list188; - num = 4; - List list189 = new List(num); - CollectionsMarshal.SetCount(list189, num); - Span span121 = CollectionsMarshal.AsSpan(list189); - ref QuestSequence reference127 = ref span121[0]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - Span span122 = CollectionsMarshal.AsSpan(list190); - span122[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span122[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj117.Steps = list190; - reference127 = obj117; - ref QuestSequence reference128 = ref span121[1]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.Interact, 1033767u, new Vector3(-608.6061f, 65.60222f, -431.81506f), 813); - obj118.Steps = list191; - reference128 = obj118; - ref QuestSequence reference129 = ref span121[2]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - Span span123 = CollectionsMarshal.AsSpan(list192); - span123[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31181u, - ItemCount = 1 - }; - span123[1] = new QuestStep(EInteractionType.Interact, 1034073u, new Vector3(-504.0513f, 3.623286f, 25.802979f), 813) - { - Fly = true - }; - obj119.Steps = list192; - reference129 = obj119; - ref QuestSequence reference130 = ref span121[3]; - QuestSequence obj120 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - Span span124 = CollectionsMarshal.AsSpan(list193); - span124[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true - }; - span124[1] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj120.Steps = list193; - reference130 = obj120; - questRoot28.QuestSequence = list189; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(3928); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - CollectionsMarshal.AsSpan(list194)[0] = "liza"; - questRoot29.Author = list194; - num = 3; - List list195 = new List(num); - CollectionsMarshal.SetCount(list195, num); - Span span125 = CollectionsMarshal.AsSpan(list195); - ref QuestSequence reference131 = ref span125[0]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - Span span126 = CollectionsMarshal.AsSpan(list196); - span126[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813); - span126[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj121.Steps = list196; - reference131 = obj121; - ref QuestSequence reference132 = ref span125[1]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - Span span127 = CollectionsMarshal.AsSpan(list197); - span127[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-134.17696f, 14.623874f, -124.68204f), 813) - { - Fly = true - }; - span127[1] = new QuestStep(EInteractionType.Interact, 1034075u, new Vector3(-137.71265f, 14.623856f, -124.89508f), 813) - { - StopDistance = 5f - }; - obj122.Steps = list197; - reference132 = obj122; - ref QuestSequence reference133 = ref span125[2]; - QuestSequence obj123 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - Span span128 = CollectionsMarshal.AsSpan(list198); - span128[0] = new QuestStep(EInteractionType.Craft, null, null, 813) - { - ItemId = 31183u, - ItemCount = 3 - }; - span128[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true - }; - span128[2] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj123.Steps = list198; - reference133 = obj123; - questRoot29.QuestSequence = list195; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(3929); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list199 = new List(num); - CollectionsMarshal.SetCount(list199, num); - CollectionsMarshal.AsSpan(list199)[0] = "pot0to"; - questRoot30.Author = list199; - num = 4; - List list200 = new List(num); - CollectionsMarshal.SetCount(list200, num); - Span span129 = CollectionsMarshal.AsSpan(list200); - ref QuestSequence reference134 = ref span129[0]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - Span span130 = CollectionsMarshal.AsSpan(list201); - span130[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandOstallImperative, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span130[1] = new QuestStep(EInteractionType.AcceptQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj124.Steps = list201; - reference134 = obj124; - ref QuestSequence reference135 = ref span129[1]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.Interact, 1033715u, new Vector3(-614.4961f, 65.60227f, -405.56958f), 813); - obj125.Steps = list202; - reference135 = obj125; - ref QuestSequence reference136 = ref span129[2]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 2 - }; - num2 = 15; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - Span span131 = CollectionsMarshal.AsSpan(list203); - ref QuestStep reference137 = ref span131[0]; - QuestStep obj127 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-270.43753f, 101.31912f, -445.69028f), 813) - { - Fly = true, - Comment = "west of The Stay - landing point" - }; - num3 = 6; - List> list204 = new List>(num3); - CollectionsMarshal.SetCount(list204, num3); - Span> span132 = CollectionsMarshal.AsSpan(list204); - span132[0] = null; - ref List reference138 = ref span132[1]; - num4 = 5; - List list205 = new List(num4); - CollectionsMarshal.SetCount(list205, num4); - Span span133 = CollectionsMarshal.AsSpan(list205); - span133[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span133[1] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span133[2] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - span133[3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span133[4] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - reference138 = list205; - span132[2] = null; - span132[3] = null; - span132[4] = null; - span132[5] = null; - obj127.RequiredQuestVariables = list204; - reference137 = obj127; - ref QuestStep reference139 = ref span131[1]; - QuestStep obj128 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-251.79787f, 101.4096f, -436.75403f), 813) - { - Comment = "west of The Stay - walk up to target" - }; - num3 = 6; - List> list206 = new List>(num3); - CollectionsMarshal.SetCount(list206, num3); - Span> span134 = CollectionsMarshal.AsSpan(list206); - span134[0] = null; - ref List reference140 = ref span134[1]; - num4 = 5; - List list207 = new List(num4); - CollectionsMarshal.SetCount(list207, num4); - Span span135 = CollectionsMarshal.AsSpan(list207); - span135[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span135[1] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span135[2] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - span135[3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span135[4] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - reference140 = list207; - span134[2] = null; - span134[3] = null; - span134[4] = null; - span134[5] = null; - obj128.RequiredQuestVariables = list206; - reference139 = obj128; - ref QuestStep reference141 = ref span131[2]; - QuestStep obj129 = new QuestStep(EInteractionType.Action, 2011130u, new Vector3(-245.7771f, 101.426636f, -433.98187f), 813) - { - Comment = "west of The Stay - fire cannon", - Action = EAction.Cannonfire - }; - num3 = 6; - List> list208 = new List>(num3); - CollectionsMarshal.SetCount(list208, num3); - Span> span136 = CollectionsMarshal.AsSpan(list208); - span136[0] = null; - ref List reference142 = ref span136[1]; - num4 = 5; - List list209 = new List(num4); - CollectionsMarshal.SetCount(list209, num4); - Span span137 = CollectionsMarshal.AsSpan(list209); - span137[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span137[1] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span137[2] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - span137[3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span137[4] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - reference142 = list209; - span136[2] = null; - span136[3] = null; - span136[4] = null; - span136[5] = null; - obj129.RequiredQuestVariables = list208; - reference141 = obj129; - ref QuestStep reference143 = ref span131[3]; - QuestStep obj130 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-214.99785f, 100.41297f, -449.9386f), 813) - { - Fly = true, - Comment = "inside The Stay - landing point" - }; - num3 = 6; - List> list210 = new List>(num3); - CollectionsMarshal.SetCount(list210, num3); - Span> span138 = CollectionsMarshal.AsSpan(list210); - span138[0] = null; - ref List reference144 = ref span138[1]; - num4 = 6; - List list211 = new List(num4); - CollectionsMarshal.SetCount(list211, num4); - Span span139 = CollectionsMarshal.AsSpan(list211); - span139[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span139[1] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span139[2] = new QuestWorkValue((byte)5, 0, EQuestWorkMode.Bitwise); - span139[3] = new QuestWorkValue((byte)6, 0, EQuestWorkMode.Bitwise); - span139[4] = new QuestWorkValue((byte)7, 0, EQuestWorkMode.Bitwise); - span139[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - reference144 = list211; - span138[2] = null; - span138[3] = null; - span138[4] = null; - span138[5] = null; - obj130.RequiredQuestVariables = list210; - reference143 = obj130; - ref QuestStep reference145 = ref span131[4]; - QuestStep obj131 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-205.86038f, 100.41297f, -450.21674f), 813) - { - Comment = "inside The Stay - walk up to target" - }; - num3 = 6; - List> list212 = new List>(num3); - CollectionsMarshal.SetCount(list212, num3); - Span> span140 = CollectionsMarshal.AsSpan(list212); - span140[0] = null; - ref List reference146 = ref span140[1]; - num4 = 6; - List list213 = new List(num4); - CollectionsMarshal.SetCount(list213, num4); - Span span141 = CollectionsMarshal.AsSpan(list213); - span141[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span141[1] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span141[2] = new QuestWorkValue((byte)5, 0, EQuestWorkMode.Bitwise); - span141[3] = new QuestWorkValue((byte)6, 0, EQuestWorkMode.Bitwise); - span141[4] = new QuestWorkValue((byte)7, 0, EQuestWorkMode.Bitwise); - span141[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - reference146 = list213; - span140[2] = null; - span140[3] = null; - span140[4] = null; - span140[5] = null; - obj131.RequiredQuestVariables = list212; - reference145 = obj131; - ref QuestStep reference147 = ref span131[5]; - QuestStep obj132 = new QuestStep(EInteractionType.Action, 2011131u, new Vector3(-199.42017f, 100.38904f, -450.7973f), 813) - { - Comment = "inside The Stay - fire cannon", - Action = EAction.Cannonfire - }; - num3 = 6; - List> list214 = new List>(num3); - CollectionsMarshal.SetCount(list214, num3); - Span> span142 = CollectionsMarshal.AsSpan(list214); - span142[0] = null; - ref List reference148 = ref span142[1]; - num4 = 6; - List list215 = new List(num4); - CollectionsMarshal.SetCount(list215, num4); - Span span143 = CollectionsMarshal.AsSpan(list215); - span143[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span143[1] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span143[2] = new QuestWorkValue((byte)5, 0, EQuestWorkMode.Bitwise); - span143[3] = new QuestWorkValue((byte)6, 0, EQuestWorkMode.Bitwise); - span143[4] = new QuestWorkValue((byte)7, 0, EQuestWorkMode.Bitwise); - span143[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - reference148 = list215; - span142[2] = null; - span142[3] = null; - span142[4] = null; - span142[5] = null; - obj132.RequiredQuestVariables = list214; - reference147 = obj132; - ref QuestStep reference149 = ref span131[6]; - QuestStep obj133 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-204.52136f, 86.09296f, -519.285f), 813) - { - Fly = true, - Comment = "north of The Stay - landing point" - }; - num3 = 6; - List> list216 = new List>(num3); - CollectionsMarshal.SetCount(list216, num3); - Span> span144 = CollectionsMarshal.AsSpan(list216); - span144[0] = null; - ref List reference150 = ref span144[1]; - num4 = 6; - List list217 = new List(num4); - CollectionsMarshal.SetCount(list217, num4); - Span span145 = CollectionsMarshal.AsSpan(list217); - span145[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span145[1] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - span145[2] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span145[3] = new QuestWorkValue((byte)6, 0, EQuestWorkMode.Bitwise); - span145[4] = new QuestWorkValue((byte)7, 0, EQuestWorkMode.Bitwise); - span145[5] = new QuestWorkValue((byte)9, 0, EQuestWorkMode.Bitwise); - reference150 = list217; - span144[2] = null; - span144[3] = null; - span144[4] = null; - span144[5] = null; - obj133.RequiredQuestVariables = list216; - reference149 = obj133; - ref QuestStep reference151 = ref span131[7]; - QuestStep obj134 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-193.84006f, 86.09295f, -508.64786f), 813) - { - Comment = "north of The Stay - walk up to target" - }; - num3 = 6; - List> list218 = new List>(num3); - CollectionsMarshal.SetCount(list218, num3); - Span> span146 = CollectionsMarshal.AsSpan(list218); - span146[0] = null; - ref List reference152 = ref span146[1]; - num4 = 6; - List list219 = new List(num4); - CollectionsMarshal.SetCount(list219, num4); - Span span147 = CollectionsMarshal.AsSpan(list219); - span147[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span147[1] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - span147[2] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span147[3] = new QuestWorkValue((byte)6, 0, EQuestWorkMode.Bitwise); - span147[4] = new QuestWorkValue((byte)7, 0, EQuestWorkMode.Bitwise); - span147[5] = new QuestWorkValue((byte)9, 0, EQuestWorkMode.Bitwise); - reference152 = list219; - span146[2] = null; - span146[3] = null; - span146[4] = null; - span146[5] = null; - obj134.RequiredQuestVariables = list218; - reference151 = obj134; - ref QuestStep reference153 = ref span131[8]; - QuestStep obj135 = new QuestStep(EInteractionType.Action, 2011133u, new Vector3(-193.13348f, 86.045654f, -502.76953f), 813) - { - Comment = "north of The Stay - fire cannon", - Action = EAction.Cannonfire - }; - num3 = 6; - List> list220 = new List>(num3); - CollectionsMarshal.SetCount(list220, num3); - Span> span148 = CollectionsMarshal.AsSpan(list220); - span148[0] = null; - ref List reference154 = ref span148[1]; - num4 = 6; - List list221 = new List(num4); - CollectionsMarshal.SetCount(list221, num4); - Span span149 = CollectionsMarshal.AsSpan(list221); - span149[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span149[1] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - span149[2] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span149[3] = new QuestWorkValue((byte)6, 0, EQuestWorkMode.Bitwise); - span149[4] = new QuestWorkValue((byte)7, 0, EQuestWorkMode.Bitwise); - span149[5] = new QuestWorkValue((byte)9, 0, EQuestWorkMode.Bitwise); - reference154 = list221; - span148[2] = null; - span148[3] = null; - span148[4] = null; - span148[5] = null; - obj135.RequiredQuestVariables = list220; - reference153 = obj135; - ref QuestStep reference155 = ref span131[9]; - QuestStep obj136 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-166.87851f, 85.39617f, -487.57132f), 813) - { - Fly = true, - Comment = "NE of The Stay - landing point" - }; - num3 = 6; - List> list222 = new List>(num3); - CollectionsMarshal.SetCount(list222, num3); - Span> span150 = CollectionsMarshal.AsSpan(list222); - span150[0] = null; - ref List reference156 = ref span150[1]; - num4 = 5; - List list223 = new List(num4); - CollectionsMarshal.SetCount(list223, num4); - Span span151 = CollectionsMarshal.AsSpan(list223); - span151[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span151[1] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - span151[2] = new QuestWorkValue((byte)5, 0, EQuestWorkMode.Bitwise); - span151[3] = new QuestWorkValue((byte)7, 0, EQuestWorkMode.Bitwise); - span151[4] = new QuestWorkValue((byte)9, 0, EQuestWorkMode.Bitwise); - reference156 = list223; - span150[2] = null; - span150[3] = null; - span150[4] = null; - span150[5] = null; - obj136.RequiredQuestVariables = list222; - reference155 = obj136; - ref QuestStep reference157 = ref span131[10]; - QuestStep obj137 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-151.61143f, 85.348495f, -488.9138f), 813) - { - Comment = "NE of The Stay - walk up to target" - }; - num3 = 6; - List> list224 = new List>(num3); - CollectionsMarshal.SetCount(list224, num3); - Span> span152 = CollectionsMarshal.AsSpan(list224); - span152[0] = null; - ref List reference158 = ref span152[1]; - num4 = 5; - List list225 = new List(num4); - CollectionsMarshal.SetCount(list225, num4); - Span span153 = CollectionsMarshal.AsSpan(list225); - span153[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span153[1] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - span153[2] = new QuestWorkValue((byte)5, 0, EQuestWorkMode.Bitwise); - span153[3] = new QuestWorkValue((byte)7, 0, EQuestWorkMode.Bitwise); - span153[4] = new QuestWorkValue((byte)9, 0, EQuestWorkMode.Bitwise); - reference158 = list225; - span152[2] = null; - span152[3] = null; - span152[4] = null; - span152[5] = null; - obj137.RequiredQuestVariables = list224; - reference157 = obj137; - ref QuestStep reference159 = ref span131[11]; - QuestStep obj138 = new QuestStep(EInteractionType.Action, 2011132u, new Vector3(-145.61688f, 85.34363f, -494.86536f), 813) - { - Comment = "NE of The Stay - fire cannon", - Action = EAction.Cannonfire - }; - num3 = 6; - List> list226 = new List>(num3); - CollectionsMarshal.SetCount(list226, num3); - Span> span154 = CollectionsMarshal.AsSpan(list226); - span154[0] = null; - ref List reference160 = ref span154[1]; - num4 = 5; - List list227 = new List(num4); - CollectionsMarshal.SetCount(list227, num4); - Span span155 = CollectionsMarshal.AsSpan(list227); - span155[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span155[1] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - span155[2] = new QuestWorkValue((byte)5, 0, EQuestWorkMode.Bitwise); - span155[3] = new QuestWorkValue((byte)7, 0, EQuestWorkMode.Bitwise); - span155[4] = new QuestWorkValue((byte)9, 0, EQuestWorkMode.Bitwise); - reference160 = list227; - span154[2] = null; - span154[3] = null; - span154[4] = null; - span154[5] = null; - obj138.RequiredQuestVariables = list226; - reference159 = obj138; - ref QuestStep reference161 = ref span131[12]; - QuestStep obj139 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-153.4956f, 100.40788f, -442.20892f), 813) - { - Fly = true, - Comment = "east of The Stay - landing point" - }; - num3 = 6; - List> list228 = new List>(num3); - CollectionsMarshal.SetCount(list228, num3); - Span> span156 = CollectionsMarshal.AsSpan(list228); - span156[0] = null; - ref List reference162 = ref span156[1]; - num4 = 5; - List list229 = new List(num4); - CollectionsMarshal.SetCount(list229, num4); - Span span157 = CollectionsMarshal.AsSpan(list229); - span157[0] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span157[1] = new QuestWorkValue((byte)5, 0, EQuestWorkMode.Bitwise); - span157[2] = new QuestWorkValue((byte)6, 0, EQuestWorkMode.Bitwise); - span157[3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - span157[4] = new QuestWorkValue((byte)9, 0, EQuestWorkMode.Bitwise); - reference162 = list229; - span156[2] = null; - span156[3] = null; - span156[4] = null; - span156[5] = null; - obj139.RequiredQuestVariables = list228; - reference161 = obj139; - ref QuestStep reference163 = ref span131[13]; - QuestStep obj140 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-135.49406f, 103.20949f, -442.19656f), 813) - { - Comment = "east of The Stay - walk up to target" - }; - num3 = 6; - List> list230 = new List>(num3); - CollectionsMarshal.SetCount(list230, num3); - Span> span158 = CollectionsMarshal.AsSpan(list230); - span158[0] = null; - ref List reference164 = ref span158[1]; - num4 = 5; - List list231 = new List(num4); - CollectionsMarshal.SetCount(list231, num4); - Span span159 = CollectionsMarshal.AsSpan(list231); - span159[0] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span159[1] = new QuestWorkValue((byte)5, 0, EQuestWorkMode.Bitwise); - span159[2] = new QuestWorkValue((byte)6, 0, EQuestWorkMode.Bitwise); - span159[3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - span159[4] = new QuestWorkValue((byte)9, 0, EQuestWorkMode.Bitwise); - reference164 = list231; - span158[2] = null; - span158[3] = null; - span158[4] = null; - span158[5] = null; - obj140.RequiredQuestVariables = list230; - reference163 = obj140; - ref QuestStep reference165 = ref span131[14]; - QuestStep obj141 = new QuestStep(EInteractionType.Action, 2011129u, new Vector3(-126.878784f, 103.196655f, -442.649f), 813) - { - Comment = "east of The Stay - fire cannon", - Action = EAction.Cannonfire - }; - num3 = 6; - List> list232 = new List>(num3); - CollectionsMarshal.SetCount(list232, num3); - Span> span160 = CollectionsMarshal.AsSpan(list232); - span160[0] = null; - ref List reference166 = ref span160[1]; - num4 = 5; - List list233 = new List(num4); - CollectionsMarshal.SetCount(list233, num4); - Span span161 = CollectionsMarshal.AsSpan(list233); - span161[0] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span161[1] = new QuestWorkValue((byte)5, 0, EQuestWorkMode.Bitwise); - span161[2] = new QuestWorkValue((byte)6, 0, EQuestWorkMode.Bitwise); - span161[3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - span161[4] = new QuestWorkValue((byte)9, 0, EQuestWorkMode.Bitwise); - reference166 = list233; - span160[2] = null; - span160[3] = null; - span160[4] = null; - span160[5] = null; - obj141.RequiredQuestVariables = list232; - reference165 = obj141; - obj126.Steps = list203; - reference136 = obj126; - ref QuestSequence reference167 = ref span129[3]; - QuestSequence obj142 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - Span span162 = CollectionsMarshal.AsSpan(list234); - span162[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.73865f, 65.602264f, -423.84705f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandOstallImperative - }; - span162[1] = new QuestStep(EInteractionType.CompleteQuest, 1033712u, new Vector3(-617.1206f, 65.602264f, -425.25372f), 813); - obj142.Steps = list234; - reference167 = obj142; - questRoot30.QuestSequence = list200; - AddQuest(questId30, questRoot30); - } - - private static void LoadQuests79() - { - QuestId questId = new QuestId(3952); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 6; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032227u, new Vector3(665.8884f, 297.47797f, -160.57074f), 814) - { - StopDistance = 4f - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference3 = ref span2[0]; - QuestStep obj3 = new QuestStep(EInteractionType.Interact, 1032245u, new Vector3(622.73596f, 297.49292f, -199.42017f), 814) - { - Fly = true - }; - int num3 = 6; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - Span span3 = CollectionsMarshal.AsSpan(list5); - span3[0] = null; - span3[1] = null; - span3[2] = null; - span3[3] = null; - span3[4] = null; - span3[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj3.CompletionQuestVariablesFlags = list5; - reference3 = obj3; - ref QuestStep reference4 = ref span2[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1032244u, new Vector3(603.9978f, 297.43994f, -180.92627f), 814); - num3 = 6; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - Span span4 = CollectionsMarshal.AsSpan(list6); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list6; - reference4 = questStep; - ref QuestStep reference5 = ref span2[2]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1032246u, new Vector3(594.8423f, 297.2672f, -176.01282f), 814); - num3 = 6; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span5 = CollectionsMarshal.AsSpan(list7); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list7; - reference5 = questStep2; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference6 = ref span[2]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.Interact, 1032227u, new Vector3(665.8884f, 297.47797f, -160.57074f), 814) - { - Fly = true - }; - obj4.Steps = list8; - reference6 = obj4; - ref QuestSequence reference7 = ref span[3]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - Span span6 = CollectionsMarshal.AsSpan(list9); - span6[0] = new QuestStep(EInteractionType.Interact, 2010832u, new Vector3(738.3076f, 285.60303f, -82.871826f), 814) - { - TargetTerritoryId = (ushort)895, - Fly = true - }; - span6[1] = new QuestStep(EInteractionType.Interact, 1032152u, new Vector3(-13.809448f, 0.039723f, -66.941345f), 895); - obj5.Steps = list9; - reference7 = obj5; - ref QuestSequence reference8 = ref span[4]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 4 - }; - num2 = 5; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span7 = CollectionsMarshal.AsSpan(list10); - span7[0] = new QuestStep(EInteractionType.Interact, 2010830u, new Vector3(-0.015319824f, 1.2664795f, -94.86542f), 895) - { - TargetTerritoryId = (ushort)896 - }; - span7[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-499.9735f, 463.36023f, 177.62115f), 896); - span7[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-499.9782f, 400.99997f, 4.3087606f), 896); - span7[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-557.9587f, 383f, -141.83781f), 896) - { - RestartNavigationIfCancelled = false - }; - span7[4] = new QuestStep(EInteractionType.Say, 2011156u, new Vector3(-694.05664f, 339.1621f, -370.2602f), 896) - { - DelaySecondsAtStart = 5f, - ChatMessage = new ChatMessage - { - Key = "TEXT_LUCKTA301_03952_SAYTODO_000_220" - } - }; - obj6.Steps = list10; - reference8 = obj6; - ref QuestSequence reference9 = ref span[5]; - QuestSequence obj7 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032020u, new Vector3(-9.353821f, 0.037398916f, -66.88031f), 895) - { - NextQuestId = new QuestId(3953) - }; - obj7.Steps = list11; - reference9 = obj7; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(3953); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - CollectionsMarshal.AsSpan(list12)[0] = "liza"; - questRoot2.Author = list12; - num = 5; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - Span span8 = CollectionsMarshal.AsSpan(list13); - ref QuestSequence reference10 = ref span8[0]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032020u, new Vector3(-9.353821f, 0.037398916f, -66.88031f), 895); - obj8.Steps = list14; - reference10 = obj8; - ref QuestSequence reference11 = ref span8[1]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.Duty, null, null, 814) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 736u - } - }; - obj9.Steps = list15; - reference11 = obj9; - ref QuestSequence reference12 = ref span8[2]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.Interact, 1034040u, new Vector3(-363.94293f, 103.83351f, 366.4148f), 928); - obj10.Steps = list16; - reference12 = obj10; - ref QuestSequence reference13 = ref span8[3]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - Span span9 = CollectionsMarshal.AsSpan(list17); - span9[0] = new QuestStep(EInteractionType.Interact, 2011108u, new Vector3(-363.3631f, 103.990234f, 375.69226f), 928) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span9[1] = new QuestStep(EInteractionType.Interact, 2011155u, new Vector3(-383.81018f, 102.89148f, 389.12024f), 928) - { - TargetTerritoryId = (ushort)814 - }; - span9[2] = new QuestStep(EInteractionType.Interact, 2010832u, new Vector3(738.3076f, 285.60303f, -82.871826f), 814) - { - TargetTerritoryId = (ushort)895, - Fly = true - }; - span9[3] = new QuestStep(EInteractionType.Interact, 1034044u, new Vector3(-19.058533f, -3.501947E-11f, -58.365784f), 895); - obj11.Steps = list17; - reference13 = obj11; - ref QuestSequence reference14 = ref span8[4]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - Span span10 = CollectionsMarshal.AsSpan(list18); - span10[0] = new QuestStep(EInteractionType.Interact, 2011136u, new Vector3(-21.74414f, 0.6866455f, -58.396362f), 895) - { - TargetTerritoryId = (ushort)895 - }; - span10[1] = new QuestStep(EInteractionType.CompleteQuest, 1034031u, new Vector3(-50.492126f, 0.037401117f, -121.53815f), 895) - { - NextQuestId = new QuestId(3954) - }; - obj12.Steps = list18; - reference14 = obj12; - questRoot2.QuestSequence = list13; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(3954); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - CollectionsMarshal.AsSpan(list19)[0] = "liza"; - questRoot3.Author = list19; - num = 13; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - Span span11 = CollectionsMarshal.AsSpan(list20); - ref QuestSequence reference15 = ref span11[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.AcceptQuest, 1034030u, new Vector3(-48.508484f, 0.029999997f, -120.50055f), 895); - obj13.Steps = list21; - reference15 = obj13; - ref QuestSequence reference16 = ref span11[1]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - Span span12 = CollectionsMarshal.AsSpan(list22); - span12[0] = new QuestStep(EInteractionType.Interact, 2011137u, new Vector3(-49.5766f, 1.2054443f, -109.056274f), 895) - { - TargetTerritoryId = (ushort)895 - }; - span12[1] = new QuestStep(EInteractionType.Interact, 1034027u, new Vector3(-7.7669067f, -3.1738587E-11f, -52.872498f), 895); - obj14.Steps = list22; - reference16 = obj14; - ref QuestSequence reference17 = ref span11[2]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.Interact, 1034025u, new Vector3(-6.515625f, 0.029999863f, -52.84204f), 895) - { - StopDistance = 1f - }; - obj15.Steps = list23; - reference17 = obj15; - ref QuestSequence reference18 = ref span11[3]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 3 - }; - num2 = 6; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - Span span13 = CollectionsMarshal.AsSpan(list24); - ref QuestStep reference19 = ref span13[0]; - QuestStep obj17 = new QuestStep(EInteractionType.Interact, 1034016u, new Vector3(-6.668213f, -3.3829915E-11f, -56.443176f), 895) - { - StopDistance = 5f - }; - num3 = 6; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - Span span14 = CollectionsMarshal.AsSpan(list25); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj17.CompletionQuestVariablesFlags = list25; - reference19 = obj17; - ref QuestStep reference20 = ref span13[1]; - QuestStep obj18 = new QuestStep(EInteractionType.Interact, 1034019u, new Vector3(-4.9592285f, -3.3072475E-11f, -55.161438f), 895) - { - StopDistance = 5f - }; - num3 = 6; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - Span span15 = CollectionsMarshal.AsSpan(list26); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj18.CompletionQuestVariablesFlags = list26; - reference20 = obj18; - ref QuestStep reference21 = ref span13[2]; - QuestStep obj19 = new QuestStep(EInteractionType.Interact, 1034020u, new Vector3(-4.348877f, -3.1869986E-11f, -53.11664f), 895) - { - StopDistance = 5f - }; - num3 = 6; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - Span span16 = CollectionsMarshal.AsSpan(list27); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj19.CompletionQuestVariablesFlags = list27; - reference21 = obj19; - ref QuestStep reference22 = ref span13[3]; - QuestStep obj20 = new QuestStep(EInteractionType.Interact, 1034017u, new Vector3(-5.0507812f, 0.029999875f, -51.010986f), 895) - { - StopDistance = 5f - }; - num3 = 6; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - Span span17 = CollectionsMarshal.AsSpan(list28); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj20.CompletionQuestVariablesFlags = list28; - reference22 = obj20; - ref QuestStep reference23 = ref span13[4]; - QuestStep obj21 = new QuestStep(EInteractionType.Interact, 1034018u, new Vector3(-6.729248f, 0.037395146f, -49.851257f), 895) - { - StopDistance = 5f - }; - num3 = 6; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - Span span18 = CollectionsMarshal.AsSpan(list29); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj21.CompletionQuestVariablesFlags = list29; - reference23 = obj21; - ref QuestStep reference24 = ref span13[5]; - QuestStep obj22 = new QuestStep(EInteractionType.Interact, 1034028u, new Vector3(-9.140198f, 0.029994294f, -49.973328f), 895) - { - StopDistance = 5f - }; - num3 = 6; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - Span span19 = CollectionsMarshal.AsSpan(list30); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - obj22.CompletionQuestVariablesFlags = list30; - reference24 = obj22; - obj16.Steps = list24; - reference18 = obj16; - ref QuestSequence reference25 = ref span11[4]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.Interact, 1034025u, new Vector3(-6.515625f, 0.029999863f, -52.84204f), 895); - obj23.Steps = list31; - reference25 = obj23; - ref QuestSequence reference26 = ref span11[5]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - ref QuestStep reference27 = ref CollectionsMarshal.AsSpan(list32)[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1034025u, new Vector3(-6.515625f, 0.029999863f, -52.84204f), 895); - num3 = 1; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - CollectionsMarshal.AsSpan(list33)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKTA303_03954_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKTA303_03954_A1_000_004") - }; - questStep3.DialogueChoices = list33; - reference27 = questStep3; - obj24.Steps = list32; - reference26 = obj24; - ref QuestSequence reference28 = ref span11[6]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.Interact, 1034027u, new Vector3(-7.7669067f, -3.1738587E-11f, -52.872498f), 895); - obj25.Steps = list34; - reference28 = obj25; - ref QuestSequence reference29 = ref span11[7]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - Span span20 = CollectionsMarshal.AsSpan(list35); - span20[0] = new QuestStep(EInteractionType.Interact, 2011136u, new Vector3(-21.74166f, 0.691666f, -58.37535f), 895) - { - TargetTerritoryId = (ushort)895 - }; - span20[1] = new QuestStep(EInteractionType.Interact, 1034030u, new Vector3(-48.508484f, 0.029999997f, -120.50055f), 895) - { - StopDistance = 7f - }; - obj26.Steps = list35; - reference29 = obj26; - ref QuestSequence reference30 = ref span11[8]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 8 - }; - num2 = 2; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - Span span21 = CollectionsMarshal.AsSpan(list36); - span21[0] = new QuestStep(EInteractionType.Interact, 2011137u, new Vector3(-49.55915f, 1.209601f, -109.0371f), 895) - { - TargetTerritoryId = (ushort)895 - }; - span21[1] = new QuestStep(EInteractionType.Interact, 1034027u, new Vector3(-7.7669067f, -3.1738587E-11f, -52.872498f), 895); - obj27.Steps = list36; - reference30 = obj27; - ref QuestSequence reference31 = ref span11[9]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 9 - }; - num2 = 2; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - Span span22 = CollectionsMarshal.AsSpan(list37); - span22[0] = new QuestStep(EInteractionType.Interact, 2010829u, new Vector3(1.4190674f, 0.83917236f, 2.5177002f), 895) - { - TargetTerritoryId = (ushort)814 - }; - span22[1] = new QuestStep(EInteractionType.Interact, 2011151u, new Vector3(467.79578f, 311.02466f, -189.1051f), 814) - { - Fly = true - }; - obj28.Steps = list37; - reference31 = obj28; - ref QuestSequence reference32 = ref span11[10]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.Interact, 2011152u, new Vector3(345.3269f, 320.14954f, -317.58606f), 814) - { - Fly = true - }; - obj29.Steps = list38; - reference32 = obj29; - ref QuestSequence reference33 = ref span11[11]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 11 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 2011153u, new Vector3(466.26978f, 298.146f, -398.79456f), 814) - { - Fly = true - }; - obj30.Steps = list39; - reference33 = obj30; - ref QuestSequence reference34 = ref span11[12]; - QuestSequence obj31 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.CompleteQuest, 1034052u, new Vector3(618.58545f, 297.26346f, -170.24493f), 814) - { - Fly = true, - NextQuestId = new QuestId(3998) - }; - obj31.Steps = list40; - reference34 = obj31; - questRoot3.QuestSequence = list20; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(3955); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - CollectionsMarshal.AsSpan(list41)[0] = "liza"; - questRoot4.Author = list41; - num = 5; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - Span span23 = CollectionsMarshal.AsSpan(list42); - ref QuestSequence reference35 = ref span23[0]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.AcceptQuest, 1033962u, new Vector3(49.729126f, -18.746954f, 7.2785034f), 886); - obj32.Steps = list43; - reference35 = obj32; - ref QuestSequence reference36 = ref span23[1]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.Interact, 1033964u, new Vector3(50.58362f, -8.046957f, 99.290405f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj33.Steps = list44; - reference36 = obj33; - ref QuestSequence reference37 = ref span23[2]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.Interact, 1033966u, new Vector3(1.7547607f, -2.9701123f, 33.6156f), 132); - obj34.Steps = list45; - reference37 = obj34; - ref QuestSequence reference38 = ref span23[3]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 2011139u, new Vector3(129.47266f, 12.893799f, -102.00659f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLeatherworker - } - }; - obj35.Steps = list46; - reference38 = obj35; - ref QuestSequence reference39 = ref span23[4]; - QuestSequence obj36 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.CompleteQuest, 1033969u, new Vector3(126.63464f, 12.680123f, -103.53253f), 133) - { - NextQuestId = new QuestId(3956) - }; - obj36.Steps = list47; - reference39 = obj36; - questRoot4.QuestSequence = list42; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(3956); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - CollectionsMarshal.AsSpan(list48)[0] = "liza"; - questRoot5.Author = list48; - num = 4; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - Span span24 = CollectionsMarshal.AsSpan(list49); - ref QuestSequence reference40 = ref span24[0]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.AcceptQuest, 1033969u, new Vector3(126.63464f, 12.680123f, -103.53253f), 133); - obj37.Steps = list50; - reference40 = obj37; - ref QuestSequence reference41 = ref span24[1]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.Interact, 1033971u, new Vector3(-14.4198f, 9.999999f, -79.88104f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - obj38.Steps = list51; - reference41 = obj38; - ref QuestSequence reference42 = ref span24[2]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.Interact, 2011140u, new Vector3(-47.837036f, 5.203247f, -125.84119f), 130); - obj39.Steps = list52; - reference42 = obj39; - ref QuestSequence reference43 = ref span24[3]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - ref QuestStep reference44 = ref CollectionsMarshal.AsSpan(list53)[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.CompleteQuest, 1033976u, new Vector3(13.961914f, 8f, -104.53961f), 130); - num3 = 1; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - CollectionsMarshal.AsSpan(list54)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKHA202_03956_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKHA202_03956_A1_000_001") - }; - questStep4.DialogueChoices = list54; - questStep4.NextQuestId = new QuestId(3957); - reference44 = questStep4; - obj40.Steps = list53; - reference43 = obj40; - questRoot5.QuestSequence = list49; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(3957); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - CollectionsMarshal.AsSpan(list55)[0] = "liza"; - questRoot6.Author = list55; - num = 7; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - Span span25 = CollectionsMarshal.AsSpan(list56); - ref QuestSequence reference45 = ref span25[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.AcceptQuest, 1033976u, new Vector3(13.961914f, 8f, -104.53961f), 130); - obj41.Steps = list57; - reference45 = obj41; - ref QuestSequence reference46 = ref span25[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.Interact, 1033997u, new Vector3(-6.149414f, 20f, 16.189758f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa - }; - obj42.Steps = list58; - reference46 = obj42; - ref QuestSequence reference47 = ref span25[2]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.Interact, 1033981u, new Vector3(-344.74713f, 12.899759f, 13.076904f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - } - }; - obj43.Steps = list59; - reference47 = obj43; - ref QuestSequence reference48 = ref span25[3]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.Interact, 1033999u, new Vector3(47.501343f, 44.70852f, 131.2428f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaArcanist, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj44.Steps = list60; - reference48 = obj44; - ref QuestSequence reference49 = ref span25[4]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.Interact, 1033984u, new Vector3(2.7922974f, 44.011013f, -154.40613f), 128); - obj45.Steps = list61; - reference49 = obj45; - ref QuestSequence reference50 = ref span25[5]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.Interact, 1000915u, new Vector3(18.387085f, 47.600006f, -162.12714f), 128); - obj46.Steps = list62; - reference50 = obj46; - ref QuestSequence reference51 = ref span25[6]; - QuestSequence obj47 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - ref QuestStep reference52 = ref CollectionsMarshal.AsSpan(list63)[0]; - QuestStep obj48 = new QuestStep(EInteractionType.CompleteQuest, 1033986u, new Vector3(-2.8840332f, 43.999985f, -157.91565f), 128) - { - StopDistance = 7f - }; - num3 = 1; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - CollectionsMarshal.AsSpan(list64)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKHA203_03957_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKHA203_03957_A1_000_003") - }; - obj48.DialogueChoices = list64; - obj48.NextQuestId = new QuestId(3958); - reference52 = obj48; - obj47.Steps = list63; - reference51 = obj47; - questRoot6.QuestSequence = list56; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(3958); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - CollectionsMarshal.AsSpan(list65)[0] = "liza"; - questRoot7.Author = list65; - num = 3; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - Span span26 = CollectionsMarshal.AsSpan(list66); - ref QuestSequence reference53 = ref span26[0]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.AcceptQuest, 1033987u, new Vector3(-2.8840332f, 43.99998f, -159.3805f), 128) - { - StopDistance = 7f - }; - obj49.Steps = list67; - reference53 = obj49; - ref QuestSequence reference54 = ref span26[1]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Interact, 1033988u, new Vector3(20.675903f, -19.999985f, 105.39404f), 886) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardFirmament - } - }; - obj50.Steps = list68; - reference54 = obj50; - ref QuestSequence reference55 = ref span26[2]; - QuestSequence obj51 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.CompleteQuest, 1033990u, new Vector3(-38.71222f, -20f, 58.060547f), 886) - { - StopDistance = 7f, - NextQuestId = new QuestId(3960) - }; - obj51.Steps = list69; - reference55 = obj51; - questRoot7.QuestSequence = list66; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(3960); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list70 = new List(num); - CollectionsMarshal.SetCount(list70, num); - CollectionsMarshal.AsSpan(list70)[0] = "liza"; - questRoot8.Author = list70; - num = 3; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - Span span27 = CollectionsMarshal.AsSpan(list71); - ref QuestSequence reference56 = ref span27[0]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.AcceptQuest, 1033991u, new Vector3(-37.9187f, -20f, 59.433838f), 886) - { - StopDistance = 7f - }; - obj52.Steps = list72; - reference56 = obj52; - ref QuestSequence reference57 = ref span27[1]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.Interact, 1034082u, new Vector3(118.57776f, -20.000143f, 46.860474f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardBrume - } - }; - obj53.Steps = list73; - reference57 = obj53; - ref QuestSequence reference58 = ref span27[2]; - QuestSequence obj54 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.CompleteQuest, 1034083u, new Vector3(38.28479f, -14.000004f, 40.05493f), 418) - { - NextQuestId = new QuestId(3999) - }; - obj54.Steps = list74; - reference58 = obj54; - questRoot8.QuestSequence = list71; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(3975); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - CollectionsMarshal.AsSpan(list75)[0] = "liza"; - questRoot9.Author = list75; - num = 3; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - Span span28 = CollectionsMarshal.AsSpan(list76); - ref QuestSequence reference59 = ref span28[0]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032590u, new Vector3(265.3086f, 7.1558266f, -237.78137f), 815) - { - StopDistance = 4f - }; - obj55.Steps = list77; - reference59 = obj55; - ref QuestSequence reference60 = ref span28[1]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.Interact, 1034507u, new Vector3(381.9486f, -64.35385f, 511.13135f), 815) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AmhAraengInnAtJourneysHead - }; - obj56.Steps = list78; - reference60 = obj56; - ref QuestSequence reference61 = ref span28[2]; - QuestSequence obj57 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.CompleteQuest, 1034508u, new Vector3(380.66675f, -64.28985f, 510.58203f), 815) - { - NextQuestId = new QuestId(3976) - }; - obj57.Steps = list79; - reference61 = obj57; - questRoot9.QuestSequence = list76; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(3976); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - CollectionsMarshal.AsSpan(list80)[0] = "liza"; - questRoot10.Author = list80; - num = 4; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - Span span29 = CollectionsMarshal.AsSpan(list81); - ref QuestSequence reference62 = ref span29[0]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.AcceptQuest, 1034510u, new Vector3(31.021484f, 4.9285717f, -8.560364f), 878) - { - StopDistance = 4f - }; - obj58.Steps = list82; - reference62 = obj58; - ref QuestSequence reference63 = ref span29[1]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - Span span30 = CollectionsMarshal.AsSpan(list83); - span30[0] = new QuestStep(EInteractionType.Interact, 2010135u, new Vector3(-14.66394f, -2.5788574f, 23.819275f), 878) - { - TargetTerritoryId = (ushort)857 - }; - span30[1] = new QuestStep(EInteractionType.Interact, 1030110u, new Vector3(99.99231f, -7.687662E-13f, 92.51538f), 857); - obj59.Steps = list83; - reference63 = obj59; - ref QuestSequence reference64 = ref span29[2]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.Duty, null, null, 857) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 749u - } - }; - obj60.Steps = list84; - reference64 = obj60; - ref QuestSequence reference65 = ref span29[3]; - QuestSequence obj61 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.CompleteQuest, 1034511u, new Vector3(101.27405f, -2.4161777E-14f, 93.36987f), 857) - { - NextQuestId = new QuestId(3977) - }; - obj61.Steps = list85; - reference65 = obj61; - questRoot10.QuestSequence = list81; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(3977); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - CollectionsMarshal.AsSpan(list86)[0] = "liza"; - questRoot11.Author = list86; - num = 6; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - Span span31 = CollectionsMarshal.AsSpan(list87); - ref QuestSequence reference66 = ref span31[0]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.AcceptQuest, 1034514u, new Vector3(-8.163635f, -2.4984214f, 18.936401f), 878) - { - StopDistance = 4f - }; - obj62.Steps = list88; - reference66 = obj62; - ref QuestSequence reference67 = ref span31[1]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Interact, 1034513u, new Vector3(-6.149414f, -2.4984214f, 19.72992f), 878) - { - StopDistance = 5f - }; - obj63.Steps = list89; - reference67 = obj63; - ref QuestSequence reference68 = ref span31[2]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.Interact, 2011241u, new Vector3(-14.6356f, -2.581f, 23.8476f), 878) - { - TargetTerritoryId = (ushort)857 - }; - obj64.Steps = list90; - reference68 = obj64; - ref QuestSequence reference69 = ref span31[3]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.Interact, 1034515u, new Vector3(-7.888916f, -2.4984214f, 12.741211f), 878) - { - StopDistance = 5f - }; - obj65.Steps = list91; - reference69 = obj65; - ref QuestSequence reference70 = ref span31[4]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.Duty, null, null, 857) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 747u - } - }; - obj66.Steps = list92; - reference70 = obj66; - ref QuestSequence reference71 = ref span31[5]; - QuestSequence obj67 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.CompleteQuest, 1034518u, new Vector3(101.182495f, -3.8122757E-14f, 103.715576f), 857) - { - StopDistance = 7f, - NextQuestId = new QuestId(3978) - }; - obj67.Steps = list93; - reference71 = obj67; - questRoot11.QuestSequence = list87; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(3978); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - CollectionsMarshal.AsSpan(list94)[0] = "liza"; - questRoot12.Author = list94; - num = 7; - List list95 = new List(num); - CollectionsMarshal.SetCount(list95, num); - Span span32 = CollectionsMarshal.AsSpan(list95); - ref QuestSequence reference72 = ref span32[0]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.AcceptQuest, 1034519u, new Vector3(101.15198f, -3.8577113E-14f, 103.6239f), 857) - { - StopDistance = 7f - }; - obj68.Steps = list96; - reference72 = obj68; - ref QuestSequence reference73 = ref span32[1]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.Duty, null, null, 857) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 751u - } - }; - obj69.Steps = list97; - reference73 = obj69; - span32[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference74 = ref span32[3]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.Duty, null, null, 857) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 758u - } - }; - obj70.Steps = list98; - reference74 = obj70; - ref QuestSequence reference75 = ref span32[4]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 1034521u, new Vector3(-8.163635f, -2.4984214f, 11.734131f), 878) - { - StopDistance = 5f - }; - obj71.Steps = list99; - reference75 = obj71; - ref QuestSequence reference76 = ref span32[5]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.Say, 1034520u, new Vector3(-7.7974243f, -2.4984214f, 11.337402f), 878) - { - StopDistance = 5f, - ChatMessage = new ChatMessage - { - Key = "TEXT_LUCKRA304_03978_SAYTODO_000_160" - } - }; - obj72.Steps = list100; - reference76 = obj72; - ref QuestSequence reference77 = ref span32[6]; - QuestSequence obj73 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.CompleteQuest, 1034521u, new Vector3(-8.163635f, -2.4984214f, 11.734131f), 878) - { - StopDistance = 5f - }; - obj73.Steps = list101; - reference77 = obj73; - questRoot12.QuestSequence = list95; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(3979); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - CollectionsMarshal.AsSpan(list102)[0] = "liza"; - questRoot13.Author = list102; - num = 3; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - Span span33 = CollectionsMarshal.AsSpan(list103); - ref QuestSequence reference78 = ref span33[0]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.AcceptQuest, 1034522u, new Vector3(-7.0039062f, -2.4980054f, 21.591492f), 878) - { - StopDistance = 7f - }; - obj74.Steps = list104; - reference78 = obj74; - ref QuestSequence reference79 = ref span33[1]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 1034508u, new Vector3(380.66675f, -64.28985f, 510.58203f), 815) - { - StopDistance = 5f - }; - obj75.Steps = list105; - reference79 = obj75; - ref QuestSequence reference80 = ref span33[2]; - QuestSequence obj76 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - Span span34 = CollectionsMarshal.AsSpan(list106); - span34[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(268.15204f, 7.1558266f, -237.94643f), 815) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.AmhAraengMordSouq - }; - span34[1] = new QuestStep(EInteractionType.CompleteQuest, 1032715u, new Vector3(265.3086f, 7.1558266f, -237.81189f), 815) - { - StopDistance = 4f - }; - obj76.Steps = list106; - reference80 = obj76; - questRoot13.QuestSequence = list103; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(3980); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - CollectionsMarshal.AsSpan(list107)[0] = "liza"; - questRoot14.Author = list107; - num = 9; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - Span span35 = CollectionsMarshal.AsSpan(list108); - ref QuestSequence reference81 = ref span35[0]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032586u, new Vector3(-505.42462f, 7.68313f, 51.621216f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj77.Steps = list109; - reference81 = obj77; - ref QuestSequence reference82 = ref span35[1]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - ref QuestStep reference83 = ref CollectionsMarshal.AsSpan(list110)[0]; - QuestStep obj79 = new QuestStep(EInteractionType.Interact, 1035243u, new Vector3(-533.4402f, 8.187748f, -46.341675f), 621) - { - Fly = true - }; - num3 = 1; - List list111 = new List(num3); - CollectionsMarshal.SetCount(list111, num3); - CollectionsMarshal.AsSpan(list111)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKYW301_03980_Q2_000_000") - }; - obj79.DialogueChoices = list111; - reference83 = obj79; - obj78.Steps = list110; - reference82 = obj78; - ref QuestSequence reference84 = ref span35[2]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.Interact, 1033629u, new Vector3(-0.3204956f, 41f, 17.56311f), 919); - obj80.Steps = list112; - reference84 = obj80; - ref QuestSequence reference85 = ref span35[3]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.Interact, 1035319u, new Vector3(-467.0329f, 22.94018f, -416.89178f), 140); - obj81.Steps = list113; - reference85 = obj81; - ref QuestSequence reference86 = ref span35[4]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.Duty, null, null, 140) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 762u - } - }; - obj82.Steps = list114; - reference86 = obj82; - ref QuestSequence reference87 = ref span35[5]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.Interact, 1035321u, new Vector3(98.802124f, 3.9999998f, 25.558838f), 967) - { - StopDistance = 5f - }; - obj83.Steps = list115; - reference87 = obj83; - ref QuestSequence reference88 = ref span35[6]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.Interact, 1033629u, new Vector3(-0.3204956f, 41f, 17.56311f), 919); - obj84.Steps = list116; - reference88 = obj84; - ref QuestSequence reference89 = ref span35[7]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.Interact, 1035322u, new Vector3(-37.1557f, 41f, -2.02948f), 919); - obj85.Steps = list117; - reference89 = obj85; - ref QuestSequence reference90 = ref span35[8]; - QuestSequence obj86 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - Span span36 = CollectionsMarshal.AsSpan(list118); - ref QuestStep reference91 = ref span36[0]; - QuestStep obj87 = new QuestStep(EInteractionType.Interact, 1033636u, new Vector3(-5.5390625f, 41.019974f, 25.680908f), 919) - { - StopDistance = 7f, - TargetTerritoryId = (ushort)621 - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - CollectionsMarshal.AsSpan(list119)[0] = 919; - skipStepConditions.NotInTerritory = list119; - skipConditions.StepIf = skipStepConditions; - obj87.SkipConditions = skipConditions; - reference91 = obj87; - span36[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-507.93283f, 7.6638765f, 52.09985f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span36[2] = new QuestStep(EInteractionType.CompleteQuest, 1032586u, new Vector3(-505.42462f, 7.68313f, 51.621216f), 621) - { - NextQuestId = new QuestId(3981) - }; - obj86.Steps = list118; - reference90 = obj86; - questRoot14.QuestSequence = list108; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(3981); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list120 = new List(num); - CollectionsMarshal.SetCount(list120, num); - CollectionsMarshal.AsSpan(list120)[0] = "liza"; - questRoot15.Author = list120; - num = 5; - List list121 = new List(num); - CollectionsMarshal.SetCount(list121, num); - Span span37 = CollectionsMarshal.AsSpan(list121); - ref QuestSequence reference92 = ref span37[0]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032586u, new Vector3(-505.42462f, 7.68313f, 51.621216f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj88.Steps = list122; - reference92 = obj88; - ref QuestSequence reference93 = ref span37[1]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - ref QuestStep reference94 = ref CollectionsMarshal.AsSpan(list123)[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1035243u, new Vector3(-533.4402f, 8.187748f, -46.341675f), 621); - num3 = 1; - List list124 = new List(num3); - CollectionsMarshal.SetCount(list124, num3); - CollectionsMarshal.AsSpan(list124)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKYW311_03981_Q3_000_000") - }; - questStep5.DialogueChoices = list124; - reference94 = questStep5; - obj89.Steps = list123; - reference93 = obj89; - ref QuestSequence reference95 = ref span37[2]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.Interact, 1035120u, new Vector3(52.140015f, 41f, 28.335938f), 919); - obj90.Steps = list125; - reference95 = obj90; - ref QuestSequence reference96 = ref span37[3]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.Interact, 1035323u, new Vector3(1.1443481f, 41.01995f, 24.917969f), 919); - obj91.Steps = list126; - reference96 = obj91; - ref QuestSequence reference97 = ref span37[4]; - QuestSequence obj92 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - Span span38 = CollectionsMarshal.AsSpan(list127); - ref QuestStep reference98 = ref span38[0]; - QuestStep obj93 = new QuestStep(EInteractionType.Interact, 1033636u, new Vector3(-5.5390625f, 41.019974f, 25.680908f), 919) - { - StopDistance = 7f, - TargetTerritoryId = (ushort)621 - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - CollectionsMarshal.AsSpan(list128)[0] = 919; - skipStepConditions2.NotInTerritory = list128; - skipConditions2.StepIf = skipStepConditions2; - obj93.SkipConditions = skipConditions2; - reference98 = obj93; - span38[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-507.93283f, 7.6638765f, 52.09985f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span38[2] = new QuestStep(EInteractionType.CompleteQuest, 1032586u, new Vector3(-505.42462f, 7.68313f, 51.621216f), 621) - { - NextQuestId = new QuestId(4031) - }; - obj92.Steps = list127; - reference97 = obj92; - questRoot15.QuestSequence = list121; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(3985); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list129 = new List(num); - CollectionsMarshal.SetCount(list129, num); - CollectionsMarshal.AsSpan(list129)[0] = "plogon_enjoyer"; - questRoot16.Author = list129; - num = 4; - List list130 = new List(num); - CollectionsMarshal.SetCount(list130, num); - Span span39 = CollectionsMarshal.AsSpan(list130); - ref QuestSequence reference99 = ref span39[0]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.AcceptQuest, 1030837u, new Vector3(-25.92511f, 3.9998174f, 205.12695f), 819); - obj94.Steps = list131; - reference99 = obj94; - ref QuestSequence reference100 = ref span39[1]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.Interact, 1031533u, new Vector3(-26.657532f, 3.999815f, 209.88782f), 819); - obj95.Steps = list132; - reference100 = obj95; - ref QuestSequence reference101 = ref span39[2]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.Interact, 1030643u, new Vector3(-0.16790771f, 3.9998174f, 201.9226f), 819); - obj96.Steps = list133; - reference101 = obj96; - ref QuestSequence reference102 = ref span39[3]; - QuestSequence obj97 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030837u, new Vector3(-25.92511f, 3.9998174f, 205.12695f), 819) - { - NextQuestId = new QuestId(3986) - }; - obj97.Steps = list134; - reference102 = obj97; - questRoot16.QuestSequence = list130; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(3986); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list135 = new List(num); - CollectionsMarshal.SetCount(list135, num); - CollectionsMarshal.AsSpan(list135)[0] = "plogon_enjoyer"; - questRoot17.Author = list135; - num = 6; - List list136 = new List(num); - CollectionsMarshal.SetCount(list136, num); - Span span40 = CollectionsMarshal.AsSpan(list136); - ref QuestSequence reference103 = ref span40[0]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - ref QuestStep reference104 = ref CollectionsMarshal.AsSpan(list137)[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.AcceptQuest, 1030837u, new Vector3(-25.92511f, 3.9998174f, 205.12695f), 819); - num3 = 1; - List list138 = new List(num3); - CollectionsMarshal.SetCount(list138, num3); - CollectionsMarshal.AsSpan(list138)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKUN001_03986_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKUN001_03986_A1_000_001") - }; - questStep6.DialogueChoices = list138; - reference104 = questStep6; - obj98.Steps = list137; - reference103 = obj98; - ref QuestSequence reference105 = ref span40[1]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - Span span41 = CollectionsMarshal.AsSpan(list139); - span41[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span41[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span41[2] = new QuestStep(EInteractionType.Interact, 1014565u, new Vector3(0.44250488f, -1.9957249f, -43.22882f), 351); - obj99.Steps = list139; - reference105 = obj99; - ref QuestSequence reference106 = ref span40[2]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.Interact, 2011294u, new Vector3(1.9683228f, -1.9990234f, -42.343872f), 351); - obj100.Steps = list140; - reference106 = obj100; - ref QuestSequence reference107 = ref span40[3]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - ref QuestStep reference108 = ref CollectionsMarshal.AsSpan(list141)[0]; - QuestStep obj102 = new QuestStep(EInteractionType.Interact, 1033908u, new Vector3(-63.61493f, -17.722f, -264.75934f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumCabinetOfCuriosity - } - }; - num3 = 1; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - CollectionsMarshal.AsSpan(list142)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKUN001_03986_Q3_000_000"), - Answer = new ExcelRef("TEXT_LUCKUN001_03986_A3_000_001") - }; - obj102.DialogueChoices = list142; - reference108 = obj102; - obj101.Steps = list141; - reference107 = obj101; - ref QuestSequence reference109 = ref span40[4]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.Interact, 1030837u, new Vector3(-25.92511f, 3.9998174f, 205.12695f), 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumCabinetOfCuriosity, - To = EAetheryteLocation.CrystariumMarkets - } - }; - obj103.Steps = list143; - reference109 = obj103; - ref QuestSequence reference110 = ref span40[5]; - QuestSequence obj104 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030644u, new Vector3(-0.5036011f, 3.9998171f, 200.57983f), 819) - { - NextQuestId = new QuestId(3987) - }; - obj104.Steps = list144; - reference110 = obj104; - questRoot17.QuestSequence = list136; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(3987); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list145 = new List(num); - CollectionsMarshal.SetCount(list145, num); - CollectionsMarshal.AsSpan(list145)[0] = "plogon_enjoyer"; - questRoot18.Author = list145; - num = 8; - List list146 = new List(num); - CollectionsMarshal.SetCount(list146, num); - Span span42 = CollectionsMarshal.AsSpan(list146); - ref QuestSequence reference111 = ref span42[0]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.AcceptQuest, 1035281u, new Vector3(-1.1444702f, 3.9998174f, 199.6947f), 819); - obj105.Steps = list147; - reference111 = obj105; - ref QuestSequence reference112 = ref span42[1]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.Interact, 1035282u, new Vector3(660.82227f, 14.620537f, 216.32703f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LakelandFortJobb - }; - obj106.Steps = list148; - reference112 = obj106; - ref QuestSequence reference113 = ref span42[2]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - ref QuestStep reference114 = ref CollectionsMarshal.AsSpan(list149)[0]; - QuestStep obj108 = new QuestStep(EInteractionType.Combat, null, new Vector3(652.8607f, 14.622499f, 222.77487f), 813) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list150 = new List(num3); - CollectionsMarshal.SetCount(list150, num3); - CollectionsMarshal.AsSpan(list150)[0] = 12662u; - obj108.KillEnemyDataIds = list150; - reference114 = obj108; - obj107.Steps = list149; - reference113 = obj107; - ref QuestSequence reference115 = ref span42[3]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.Interact, 1035632u, new Vector3(659.8153f, 14.620948f, 215.77783f), 813); - obj109.Steps = list151; - reference115 = obj109; - ref QuestSequence reference116 = ref span42[4]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - ref QuestStep reference117 = ref CollectionsMarshal.AsSpan(list152)[0]; - QuestStep obj111 = new QuestStep(EInteractionType.Combat, null, new Vector3(652.62976f, 14.622499f, 223.06616f), 813) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - CollectionsMarshal.AsSpan(list153)[0] = 12663u; - obj111.KillEnemyDataIds = list153; - reference117 = obj111; - obj110.Steps = list152; - reference116 = obj110; - ref QuestSequence reference118 = ref span42[5]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.Interact, 1035283u, new Vector3(659.8153f, 14.620948f, 215.77783f), 813); - obj112.Steps = list154; - reference118 = obj112; - ref QuestSequence reference119 = ref span42[6]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - ref QuestStep reference120 = ref CollectionsMarshal.AsSpan(list155)[0]; - QuestStep obj114 = new QuestStep(EInteractionType.Combat, null, new Vector3(652.4463f, 14.6225f, 222.89134f), 813) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list156 = new List(num3); - CollectionsMarshal.SetCount(list156, num3); - CollectionsMarshal.AsSpan(list156)[0] = 12664u; - obj114.KillEnemyDataIds = list156; - reference120 = obj114; - obj113.Steps = list155; - reference119 = obj113; - ref QuestSequence reference121 = ref span42[7]; - QuestSequence obj115 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.CompleteQuest, 1035283u, new Vector3(659.8153f, 14.620948f, 215.77783f), 813) - { - NextQuestId = new QuestId(3988) - }; - obj115.Steps = list157; - reference121 = obj115; - questRoot18.QuestSequence = list146; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(3988); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list158 = new List(num); - CollectionsMarshal.SetCount(list158, num); - CollectionsMarshal.AsSpan(list158)[0] = "plogon_enjoyer"; - questRoot19.Author = list158; - num = 6; - List list159 = new List(num); - CollectionsMarshal.SetCount(list159, num); - Span span43 = CollectionsMarshal.AsSpan(list159); - ref QuestSequence reference122 = ref span43[0]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.AcceptQuest, 1035283u, new Vector3(659.8153f, 14.620948f, 215.77783f), 813); - obj116.Steps = list160; - reference122 = obj116; - ref QuestSequence reference123 = ref span43[1]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.Interact, 1035287u, new Vector3(9.231689f, 195.68256f, -312.70312f), 813) - { - Fly = true - }; - obj117.Steps = list161; - reference123 = obj117; - ref QuestSequence reference124 = ref span43[2]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - ref QuestStep reference125 = ref CollectionsMarshal.AsSpan(list162)[0]; - QuestStep obj119 = new QuestStep(EInteractionType.Combat, null, new Vector3(2.5688472f, 195.76323f, -300.17883f), 813) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list163 = new List(num3); - CollectionsMarshal.SetCount(list163, num3); - CollectionsMarshal.AsSpan(list163)[0] = 12665u; - obj119.KillEnemyDataIds = list163; - reference125 = obj119; - obj118.Steps = list162; - reference124 = obj118; - ref QuestSequence reference126 = ref span43[3]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.Interact, 1035290u, new Vector3(10.940674f, 195.68256f, -313.89337f), 813); - obj120.Steps = list164; - reference126 = obj120; - ref QuestSequence reference127 = ref span43[4]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.Interact, 2011298u, new Vector3(2.5689f, 195.7632f, -300.4041f), 813); - obj121.Steps = list165; - reference127 = obj121; - ref QuestSequence reference128 = ref span43[5]; - QuestSequence obj122 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.CompleteQuest, 1030643u, new Vector3(-0.16790771f, 3.9998174f, 201.9226f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumMarkets - } - }; - obj122.Steps = list166; - reference128 = obj122; - questRoot19.QuestSequence = list159; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(3989); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list167 = new List(num); - CollectionsMarshal.SetCount(list167, num); - CollectionsMarshal.AsSpan(list167)[0] = "liza"; - questRoot20.Author = list167; - num = 3; - List list168 = new List(num); - CollectionsMarshal.SetCount(list168, num); - Span span44 = CollectionsMarshal.AsSpan(list168); - ref QuestSequence reference129 = ref span44[0]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - ref QuestStep reference130 = ref CollectionsMarshal.AsSpan(list169)[0]; - QuestStep obj124 = new QuestStep(EInteractionType.AcceptQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition obj125 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list170 = new List(num3); - CollectionsMarshal.SetCount(list170, num3); - CollectionsMarshal.AsSpan(list170)[0] = 131; - obj125.InTerritory = list170; - skipConditions3.AetheryteShortcutIf = obj125; - obj124.SkipConditions = skipConditions3; - reference130 = obj124; - obj123.Steps = list169; - reference129 = obj123; - ref QuestSequence reference131 = ref span44[1]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.Interact, 1035094u, new Vector3(101.21301f, 9.738088f, 630.88416f), 141) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahWeaver, - To = EAetheryteLocation.UldahGateOfThal - } - }; - obj126.Steps = list171; - reference131 = obj126; - ref QuestSequence reference132 = ref span44[2]; - QuestSequence obj127 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - }, - NextQuestId = new QuestId(3990) - }; - obj127.Steps = list172; - reference132 = obj127; - questRoot20.QuestSequence = list168; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(3990); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list173 = new List(num); - CollectionsMarshal.SetCount(list173, num); - CollectionsMarshal.AsSpan(list173)[0] = "liza"; - questRoot21.Author = list173; - num = 8; - List list174 = new List(num); - CollectionsMarshal.SetCount(list174, num); - Span span45 = CollectionsMarshal.AsSpan(list174); - ref QuestSequence reference133 = ref span45[0]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - ref QuestStep reference134 = ref CollectionsMarshal.AsSpan(list175)[0]; - QuestStep obj129 = new QuestStep(EInteractionType.AcceptQuest, 1035095u, new Vector3(63.004395f, 14.005002f, 89.829834f), 131) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition obj130 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list176 = new List(num3); - CollectionsMarshal.SetCount(list176, num3); - CollectionsMarshal.AsSpan(list176)[0] = 131; - obj130.InTerritory = list176; - skipConditions4.AetheryteShortcutIf = obj130; - obj129.SkipConditions = skipConditions4; - reference134 = obj129; - obj128.Steps = list175; - reference133 = obj128; - ref QuestSequence reference135 = ref span45[1]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - ref QuestStep reference136 = ref CollectionsMarshal.AsSpan(list177)[0]; - QuestStep obj132 = new QuestStep(EInteractionType.Interact, 1035096u, new Vector3(130.84607f, 11.999016f, -82.108826f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - } - }; - num3 = 1; - List list178 = new List(num3); - CollectionsMarshal.SetCount(list178, num3); - CollectionsMarshal.AsSpan(list178)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBAOZ630_03990_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBAOZ630_03990_A1_000_002") - }; - obj132.DialogueChoices = list178; - reference136 = obj132; - obj131.Steps = list177; - reference135 = obj131; - ref QuestSequence reference137 = ref span45[2]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - Span span46 = CollectionsMarshal.AsSpan(list179); - ref QuestStep reference138 = ref span46[0]; - QuestStep obj134 = new QuestStep(EInteractionType.Interact, 1019038u, new Vector3(-55.222473f, -2.9000003f, -65.65961f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeSekiseigumiBarracks, - To = EAetheryteLocation.KuganeShiokazeHostelry - } - }; - num3 = 6; - List list180 = new List(num3); - CollectionsMarshal.SetCount(list180, num3); - Span span47 = CollectionsMarshal.AsSpan(list180); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj134.CompletionQuestVariablesFlags = list180; - reference138 = obj134; - ref QuestStep reference139 = ref span46[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1019069u, new Vector3(-62.119568f, 8f, -56.62628f), 628); - num3 = 6; - List list181 = new List(num3); - CollectionsMarshal.SetCount(list181, num3); - Span span48 = CollectionsMarshal.AsSpan(list181); - span48[0] = null; - span48[1] = null; - span48[2] = null; - span48[3] = null; - span48[4] = null; - span48[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list181; - reference139 = questStep7; - ref QuestStep reference140 = ref span46[2]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1035099u, new Vector3(-36.728516f, 14.000002f, -52.170654f), 628); - num3 = 6; - List list182 = new List(num3); - CollectionsMarshal.SetCount(list182, num3); - Span span49 = CollectionsMarshal.AsSpan(list182); - span49[0] = null; - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list182; - reference140 = questStep8; - obj133.Steps = list179; - reference137 = obj133; - ref QuestSequence reference141 = ref span45[3]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - CollectionsMarshal.AsSpan(list183)[0] = new QuestStep(EInteractionType.Interact, 1035096u, new Vector3(130.84607f, 11.999016f, -82.108826f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - } - }; - obj135.Steps = list183; - reference141 = obj135; - ref QuestSequence reference142 = ref span45[4]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - CollectionsMarshal.AsSpan(list184)[0] = new QuestStep(EInteractionType.Interact, 1035103u, new Vector3(56.77881f, 4.05f, 92.36279f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeSekiseigumiBarracks, - To = EAetheryteLocation.KuganeMarkets - } - }; - obj136.Steps = list184; - reference142 = obj136; - ref QuestSequence reference143 = ref span45[5]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.Interact, 1035104u, new Vector3(153.42944f, 18.1f, 50.70569f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeMarkets, - To = EAetheryteLocation.KuganeRubyBazaar - } - }; - obj137.Steps = list185; - reference143 = obj137; - ref QuestSequence reference144 = ref span45[6]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.Interact, 1035097u, new Vector3(151.87305f, 18.1f, 49.484985f), 628) - { - StopDistance = 5f - }; - obj138.Steps = list186; - reference144 = obj138; - ref QuestSequence reference145 = ref span45[7]; - QuestSequence obj139 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.CompleteQuest, 1035096u, new Vector3(130.84607f, 11.999016f, -82.108826f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeRubyBazaar, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - }, - NextQuestId = new QuestId(3991) - }; - obj139.Steps = list187; - reference145 = obj139; - questRoot21.QuestSequence = list174; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(3991); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list188 = new List(num); - CollectionsMarshal.SetCount(list188, num); - CollectionsMarshal.AsSpan(list188)[0] = "liza"; - questRoot22.Author = list188; - num = 7; - List list189 = new List(num); - CollectionsMarshal.SetCount(list189, num); - Span span50 = CollectionsMarshal.AsSpan(list189); - ref QuestSequence reference146 = ref span50[0]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - ref QuestStep reference147 = ref CollectionsMarshal.AsSpan(list190)[0]; - QuestStep obj141 = new QuestStep(EInteractionType.AcceptQuest, 1035096u, new Vector3(130.84607f, 11.999016f, -82.108826f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list191 = new List(num3); - CollectionsMarshal.SetCount(list191, num3); - CollectionsMarshal.AsSpan(list191)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_JOBAOZ650_03991_Q1_000_000"), - Answer = new ExcelRef("TEXT_JOBAOZ650_03991_A1_000_001") - }; - obj141.DialogueChoices = list191; - reference147 = obj141; - obj140.Steps = list190; - reference146 = obj140; - ref QuestSequence reference148 = ref span50[1]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.Interact, 1035103u, new Vector3(56.77881f, 4.05f, 92.36279f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeSekiseigumiBarracks, - To = EAetheryteLocation.KuganeMarkets - } - }; - obj142.Steps = list192; - reference148 = obj142; - ref QuestSequence reference149 = ref span50[2]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - Span span51 = CollectionsMarshal.AsSpan(list193); - ref QuestStep reference150 = ref span51[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1018989u, new Vector3(35.171997f, 4.8365545f, 49.240845f), 628); - num3 = 6; - List list194 = new List(num3); - CollectionsMarshal.SetCount(list194, num3); - Span span52 = CollectionsMarshal.AsSpan(list194); - span52[0] = null; - span52[1] = null; - span52[2] = null; - span52[3] = null; - span52[4] = null; - span52[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list194; - reference150 = questStep9; - ref QuestStep reference151 = ref span51[1]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1018990u, new Vector3(40.024292f, 4.83654f, 49.05774f), 628); - num3 = 6; - List list195 = new List(num3); - CollectionsMarshal.SetCount(list195, num3); - Span span53 = CollectionsMarshal.AsSpan(list195); - span53[0] = null; - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list195; - reference151 = questStep10; - obj143.Steps = list193; - reference149 = obj143; - ref QuestSequence reference152 = ref span50[3]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.Interact, 1035106u, new Vector3(83.08533f, 4.0000014f, 51.621216f), 628); - obj144.Steps = list196; - reference152 = obj144; - ref QuestSequence reference153 = ref span50[4]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.Interact, 1035107u, new Vector3(139.0249f, 18f, 48.508423f), 628); - obj145.Steps = list197; - reference153 = obj145; - ref QuestSequence reference154 = ref span50[5]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - CollectionsMarshal.AsSpan(list198)[0] = new QuestStep(EInteractionType.Interact, 1035105u, new Vector3(139.0249f, 18f, 48.508423f), 628); - obj146.Steps = list198; - reference154 = obj146; - ref QuestSequence reference155 = ref span50[6]; - QuestSequence obj147 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - CollectionsMarshal.AsSpan(list199)[0] = new QuestStep(EInteractionType.CompleteQuest, 1035096u, new Vector3(130.84607f, 11.999016f, -82.108826f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeRubyBazaar, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - }, - NextQuestId = new QuestId(3992) - }; - obj147.Steps = list199; - reference155 = obj147; - questRoot22.QuestSequence = list189; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(3992); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list200 = new List(num); - CollectionsMarshal.SetCount(list200, num); - CollectionsMarshal.AsSpan(list200)[0] = "liza"; - questRoot23.Author = list200; - num = 7; - List list201 = new List(num); - CollectionsMarshal.SetCount(list201, num); - Span span54 = CollectionsMarshal.AsSpan(list201); - ref QuestSequence reference156 = ref span54[0]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.AcceptQuest, 1035096u, new Vector3(130.84607f, 11.999016f, -82.108826f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj148.Steps = list202; - reference156 = obj148; - ref QuestSequence reference157 = ref span54[1]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.Interact, 1035107u, new Vector3(139.0249f, 18f, 48.508423f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeSekiseigumiBarracks, - To = EAetheryteLocation.KuganeRubyBazaar - } - }; - obj149.Steps = list203; - reference157 = obj149; - ref QuestSequence reference158 = ref span54[2]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.Interact, 1035108u, new Vector3(-106.401184f, -7f, -63.553833f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeRubyBazaar, - To = EAetheryteLocation.KuganeShiokazeHostelry - } - }; - obj150.Steps = list204; - reference158 = obj150; - ref QuestSequence reference159 = ref span54[3]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.Interact, 1035109u, new Vector3(449.27136f, 58.40733f, -149.82837f), 614) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YanxiaNamai - }; - obj151.Steps = list205; - reference159 = obj151; - ref QuestSequence reference160 = ref span54[4]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - Span span55 = CollectionsMarshal.AsSpan(list206); - ref QuestStep reference161 = ref span55[0]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1035112u, new Vector3(457.32812f, 67.99535f, -108.20172f), 614); - num3 = 6; - List list207 = new List(num3); - CollectionsMarshal.SetCount(list207, num3); - Span span56 = CollectionsMarshal.AsSpan(list207); - span56[0] = null; - span56[1] = null; - span56[2] = null; - span56[3] = null; - span56[4] = null; - span56[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list207; - reference161 = questStep11; - ref QuestStep reference162 = ref span55[1]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1019257u, new Vector3(468.55872f, 68.02771f, -93.21747f), 614); - num3 = 6; - List list208 = new List(num3); - CollectionsMarshal.SetCount(list208, num3); - Span span57 = CollectionsMarshal.AsSpan(list208); - span57[0] = null; - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list208; - reference162 = questStep12; - ref QuestStep reference163 = ref span55[2]; - QuestStep obj153 = new QuestStep(EInteractionType.Interact, 1035113u, new Vector3(404.77612f, 72.81784f, -80.338745f), 614) - { - StopDistance = 1f, - Fly = true - }; - num3 = 6; - List list209 = new List(num3); - CollectionsMarshal.SetCount(list209, num3); - Span span58 = CollectionsMarshal.AsSpan(list209); - span58[0] = null; - span58[1] = null; - span58[2] = null; - span58[3] = null; - span58[4] = null; - span58[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj153.CompletionQuestVariablesFlags = list209; - reference163 = obj153; - obj152.Steps = list206; - reference160 = obj152; - ref QuestSequence reference164 = ref span54[5]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - CollectionsMarshal.AsSpan(list210)[0] = new QuestStep(EInteractionType.Interact, 1035114u, new Vector3(382.62f, 85.20213f, -184.0086f), 614) - { - Fly = true - }; - obj154.Steps = list210; - reference164 = obj154; - ref QuestSequence reference165 = ref span54[6]; - QuestSequence obj155 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - CollectionsMarshal.AsSpan(list211)[0] = new QuestStep(EInteractionType.CompleteQuest, 1035096u, new Vector3(130.84607f, 11.999016f, -82.108826f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - }, - NextQuestId = new QuestId(3993) - }; - obj155.Steps = list211; - reference165 = obj155; - questRoot23.QuestSequence = list201; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(3993); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list212 = new List(num); - CollectionsMarshal.SetCount(list212, num); - CollectionsMarshal.AsSpan(list212)[0] = "liza"; - questRoot24.Author = list212; - num = 4; - List list213 = new List(num); - CollectionsMarshal.SetCount(list213, num); - Span span59 = CollectionsMarshal.AsSpan(list213); - ref QuestSequence reference166 = ref span59[0]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.AcceptQuest, 1035096u, new Vector3(130.84607f, 11.999016f, -82.108826f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj156.Steps = list214; - reference166 = obj156; - ref QuestSequence reference167 = ref span59[1]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.Interact, 1035116u, new Vector3(153.39893f, 18.1f, 50.70569f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeSekiseigumiBarracks, - To = EAetheryteLocation.KuganeRubyBazaar - } - }; - obj157.Steps = list215; - reference167 = obj157; - ref QuestSequence reference168 = ref span59[2]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - CollectionsMarshal.AsSpan(list216)[0] = new QuestStep(EInteractionType.Interact, 1026937u, new Vector3(65.7511f, 14.005002f, 90.440186f), 131) - { - StopDistance = 5f - }; - obj158.Steps = list216; - reference168 = obj158; - ref QuestSequence reference169 = ref span59[3]; - QuestSequence obj159 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026937u, new Vector3(65.7511f, 14.005002f, 90.440186f), 131) - { - StopDistance = 5f - }; - obj159.Steps = list217; - reference169 = obj159; - questRoot24.QuestSequence = list213; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(3994); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - CollectionsMarshal.AsSpan(list218)[0] = "liza"; - questRoot25.Author = list218; - num = 2; - List list219 = new List(num); - CollectionsMarshal.SetCount(list219, num); - Span span60 = CollectionsMarshal.AsSpan(list219); - ref QuestSequence reference170 = ref span60[0]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - ref QuestStep reference171 = ref CollectionsMarshal.AsSpan(list220)[0]; - QuestStep obj161 = new QuestStep(EInteractionType.AcceptQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipAetheryteCondition obj162 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list221 = new List(num3); - CollectionsMarshal.SetCount(list221, num3); - CollectionsMarshal.AsSpan(list221)[0] = 131; - obj162.InTerritory = list221; - skipConditions5.AetheryteShortcutIf = obj162; - obj161.SkipConditions = skipConditions5; - reference171 = obj161; - obj160.Steps = list220; - reference170 = obj160; - ref QuestSequence reference172 = ref span60[1]; - QuestSequence obj163 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - CollectionsMarshal.AsSpan(list222)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - StopDistance = 5f, - NextQuestId = new QuestId(4773) - }; - obj163.Steps = list222; - reference172 = obj163; - questRoot25.QuestSequence = list219; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(3998); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list223 = new List(num); - CollectionsMarshal.SetCount(list223, num); - CollectionsMarshal.AsSpan(list223)[0] = "liza"; - questRoot26.Author = list223; - num = 17; - List list224 = new List(num); - CollectionsMarshal.SetCount(list224, num); - Span span61 = CollectionsMarshal.AsSpan(list224); - ref QuestSequence reference173 = ref span61[0]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.AcceptQuest, 1034052u, new Vector3(618.58545f, 297.26346f, -170.24493f), 814); - obj164.Steps = list225; - reference173 = obj164; - ref QuestSequence reference174 = ref span61[1]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - CollectionsMarshal.AsSpan(list226)[0] = new QuestStep(EInteractionType.Emote, 1034052u, new Vector3(618.58545f, 297.26346f, -170.24493f), 814) - { - Emote = EEmote.Comfort - }; - obj165.Steps = list226; - reference174 = obj165; - ref QuestSequence reference175 = ref span61[2]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.Interact, 1034056u, new Vector3(657.52637f, 297.47794f, -145.22015f), 814) - { - Fly = true - }; - obj166.Steps = list227; - reference175 = obj166; - ref QuestSequence reference176 = ref span61[3]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.Interact, 1034932u, new Vector3(618.61584f, 297.26785f, -170.30597f), 814) - { - Fly = true - }; - obj167.Steps = list228; - reference176 = obj167; - ref QuestSequence reference177 = ref span61[4]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.Interact, 1034933u, new Vector3(412.46655f, 285.10947f, -163.74463f), 814) - { - Fly = true - }; - obj168.Steps = list229; - reference177 = obj168; - ref QuestSequence reference178 = ref span61[5]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.Interact, 1034934u, new Vector3(-31.47937f, 330.8092f, -35.90454f), 814) - { - Fly = true - }; - obj169.Steps = list230; - reference178 = obj169; - ref QuestSequence reference179 = ref span61[6]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.Interact, 1034935u, new Vector3(-475.36432f, 334.0526f, -53.97119f), 814) - { - Fly = true - }; - obj170.Steps = list231; - reference179 = obj170; - ref QuestSequence reference180 = ref span61[7]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.Interact, 1034936u, new Vector3(-452.3537f, 65.77815f, 93.03418f), 814); - obj171.Steps = list232; - reference180 = obj171; - ref QuestSequence reference181 = ref span61[8]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - CollectionsMarshal.AsSpan(list233)[0] = new QuestStep(EInteractionType.Interact, 1034930u, new Vector3(673.64f, 28.11754f, 272.9381f), 814) - { - AetheryteShortcut = EAetheryteLocation.KholusiaStilltide - }; - obj172.Steps = list233; - reference181 = obj172; - ref QuestSequence reference182 = ref span61[9]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - ref QuestStep reference183 = ref CollectionsMarshal.AsSpan(list234)[0]; - QuestStep obj174 = new QuestStep(EInteractionType.Interact, 1034931u, new Vector3(534.08093f, 299.67776f, -184.22223f), 814) - { - StopDistance = 5f - }; - num3 = 1; - List list235 = new List(num3); - CollectionsMarshal.SetCount(list235, num3); - CollectionsMarshal.AsSpan(list235)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKTA401_03998_Q6_000_000"), - Answer = new ExcelRef("TEXT_LUCKTA401_03998_A6_000_002") - }; - obj174.DialogueChoices = list235; - reference183 = obj174; - obj173.Steps = list234; - reference182 = obj173; - ref QuestSequence reference184 = ref span61[10]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.Interact, 1035129u, new Vector3(613.73303f, 325.6843f, -224.93329f), 814) - { - Fly = true - }; - obj175.Steps = list236; - reference184 = obj175; - ref QuestSequence reference185 = ref span61[11]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 11 - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - CollectionsMarshal.AsSpan(list237)[0] = new QuestStep(EInteractionType.Interact, 2011273u, new Vector3(574.9447f, 296.71167f, -175.55511f), 814) - { - Fly = true - }; - obj176.Steps = list237; - reference185 = obj176; - ref QuestSequence reference186 = ref span61[12]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 12 - }; - num2 = 4; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - Span span62 = CollectionsMarshal.AsSpan(list238); - ref QuestStep reference187 = ref span62[0]; - QuestStep obj178 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(702.07294f, 293.53958f, -159.18176f), 814) - { - Fly = true - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list239 = new List(num3); - CollectionsMarshal.SetCount(list239, num3); - CollectionsMarshal.AsSpan(list239)[0] = 928; - skipStepConditions3.InTerritory = list239; - skipConditions6.StepIf = skipStepConditions3; - obj178.SkipConditions = skipConditions6; - reference187 = obj178; - ref QuestStep reference188 = ref span62[1]; - QuestStep obj179 = new QuestStep(EInteractionType.Interact, 2011154u, new Vector3(703.1509f, 295.3993f, -160.20447f), 814) - { - TargetTerritoryId = (ushort)928 - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 1; - List list240 = new List(num3); - CollectionsMarshal.SetCount(list240, num3); - CollectionsMarshal.AsSpan(list240)[0] = 928; - skipStepConditions4.InTerritory = list240; - skipConditions7.StepIf = skipStepConditions4; - obj179.SkipConditions = skipConditions7; - reference188 = obj179; - span62[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-352.89597f, 106.840775f, 337.33798f), 928) - { - RestartNavigationIfCancelled = false - }; - span62[3] = new QuestStep(EInteractionType.Interact, 2011274u, new Vector3(-277.69897f, 69.90149f, 274.00623f), 928) - { - DelaySecondsAtStart = 5f - }; - obj177.Steps = list238; - reference186 = obj177; - ref QuestSequence reference189 = ref span61[13]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 13 - }; - num2 = 28; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - Span span63 = CollectionsMarshal.AsSpan(list241); - span63[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-271.62762f, 69.97228f, 273.0655f), 928) - { - RestartNavigationIfCancelled = false - }; - span63[1] = new QuestStep(EInteractionType.None, null, null, 928) - { - DelaySecondsAtStart = 2f - }; - span63[2] = new QuestStep(EInteractionType.Interact, 2011109u, new Vector3(-254.20007f, 29.984009f, 178.02698f), 928) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span63[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-234.40671f, 30f, 168.78214f), 928); - span63[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-237.90593f, 36.4109f, 107.25123f), 928); - span63[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-264.81836f, 20.597822f, 72.87652f), 928) - { - DisableNavmesh = true - }; - span63[6] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-233.77907f, -3.860001f, 31.767477f), 928) - { - DisableNavmesh = true - }; - span63[7] = new QuestStep(EInteractionType.Interact, 2011234u, new Vector3(-230.12134f, -2.609314f, 11.612061f), 928) - { - TargetTerritoryId = (ushort)928 - }; - span63[8] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-229.71193f, -115.06235f, -115.379684f), 928) - { - RestartNavigationIfCancelled = false - }; - span63[9] = new QuestStep(EInteractionType.None, null, null, 928) - { - DelaySecondsAtStart = 2f - }; - span63[10] = new QuestStep(EInteractionType.Interact, 2011110u, new Vector3(-203.41809f, -150.53027f, -187.39612f), 928) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span63[11] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-229.93883f, -150.49908f, -219.08035f), 928); - span63[12] = new QuestStep(EInteractionType.Interact, 2011111u, new Vector3(-227.34424f, -149.06543f, -320.75995f), 928) - { - StopDistance = 1f, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span63[13] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-229.96237f, -168.28922f, -329.79776f), 928) - { - DisableNavmesh = true - }; - span63[14] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-237.64621f, -168.16484f, -336.7267f), 928) - { - DelaySecondsAtStart = 2f, - RestartNavigationIfCancelled = false - }; - span63[15] = new QuestStep(EInteractionType.None, null, null, 928) - { - DelaySecondsAtStart = 2f - }; - span63[16] = new QuestStep(EInteractionType.Interact, 2011118u, new Vector3(-295.9182f, -203.99792f, -320.9735f), 928) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span63[17] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-305.8408f, -204.6433f, -336.8385f), 928) - { - RestartNavigationIfCancelled = false - }; - span63[18] = new QuestStep(EInteractionType.None, null, null, 928) - { - DelaySecondsAtStart = 2f - }; - span63[19] = new QuestStep(EInteractionType.Interact, 2011115u, new Vector3(-386.25165f, -241.32147f, -314.99207f), 928) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span63[20] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-367.89325f, -241.31789f, -313.52274f), 928); - span63[21] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-374.37668f, -244.75201f, -313.43954f), 928) - { - DisableNavmesh = true - }; - span63[22] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-374.10797f, -244.75217f, -318.6855f), 928); - span63[23] = new QuestStep(EInteractionType.Interact, 2011113u, new Vector3(-372.85425f, -244.77002f, -303.18152f), 928) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span63[24] = new QuestStep(EInteractionType.Interact, 2011114u, new Vector3(-345.17438f, -244.77002f, -321.43134f), 928) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span63[25] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-358.27484f, -244.75198f, -312.8948f), 928); - span63[26] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-364.58334f, -241.318f, -313.35168f), 928) - { - DisableNavmesh = true - }; - span63[27] = new QuestStep(EInteractionType.Interact, 2011275u, new Vector3(-366.50647f, -241.32147f, -311.57397f), 928) - { - StopDistance = 1f - }; - obj180.Steps = list241; - reference189 = obj180; - ref QuestSequence reference190 = ref span61[14]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 14 - }; - num2 = 7; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - Span span64 = CollectionsMarshal.AsSpan(list242); - span64[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-366.50647f, -241.32147f, -311.57397f), 928) - { - StopDistance = 0.5f, - JumpDestination = new JumpDestination - { - Position = new Vector3(-366.558f, -249.74661f, -301.74612f) - } - }; - span64[1] = new QuestStep(EInteractionType.Interact, 2011112u, new Vector3(-366.47595f, -249.80548f, -318.89832f), 928) - { - StopDistance = 1f, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span64[2] = new QuestStep(EInteractionType.Interact, 2011269u, new Vector3(-366.50647f, -248.43219f, -285.6947f), 928) - { - TargetTerritoryId = (ushort)928 - }; - span64[3] = new QuestStep(EInteractionType.Interact, 2011116u, new Vector3(193.89636f, -500.0229f, -89.7384f), 928) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span64[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(199.90454f, -500.00003f, -476.80316f), 928); - span64[5] = new QuestStep(EInteractionType.Interact, 2011117u, new Vector3(253.13184f, -500.0229f, -484.39764f), 928) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span64[6] = new QuestStep(EInteractionType.Interact, 2011276u, new Vector3(200f, -478.47717f, -558.8312f), 928); - obj181.Steps = list242; - reference190 = obj181; - ref QuestSequence reference191 = ref span61[15]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 15 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.Interact, 1035130u, new Vector3(-16.372986f, 0.039723f, -70.481445f), 895); - obj182.Steps = list243; - reference191 = obj182; - ref QuestSequence reference192 = ref span61[16]; - QuestSequence obj183 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - Span span65 = CollectionsMarshal.AsSpan(list244); - span65[0] = new QuestStep(EInteractionType.Interact, 2010829u, new Vector3(1.4190674f, 0.83917236f, 2.5177002f), 895) - { - TargetTerritoryId = (ushort)814 - }; - span65[1] = new QuestStep(EInteractionType.CompleteQuest, 1032227u, new Vector3(665.8884f, 297.47797f, -160.57074f), 814) - { - Fly = true, - NextQuestId = new QuestId(4034) - }; - obj183.Steps = list244; - reference192 = obj183; - questRoot26.QuestSequence = list224; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(3999); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list245 = new List(num); - CollectionsMarshal.SetCount(list245, num); - CollectionsMarshal.AsSpan(list245)[0] = "liza"; - questRoot27.Author = list245; - num = 4; - List list246 = new List(num); - CollectionsMarshal.SetCount(list246, num); - Span span66 = CollectionsMarshal.AsSpan(list246); - ref QuestSequence reference193 = ref span66[0]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - Span span67 = CollectionsMarshal.AsSpan(list247); - span67[0] = new QuestStep(EInteractionType.None, null, null, 886) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardFirmament - } - }; - span67[1] = new QuestStep(EInteractionType.AcceptQuest, 1035506u, new Vector3(49.729126f, -18.746954f, 7.675232f), 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmamentMendicantsCourt, - To = EAetheryteLocation.FirmamentMattock - } - }; - obj184.Steps = list247; - reference193 = obj184; - ref QuestSequence reference194 = ref span66[1]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.Interact, 1035508u, new Vector3(-99.13794f, 0f, -132.86035f), 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmamentMendicantsCourt, - To = EAetheryteLocation.FirmamentWesternRisensongQuarter - } - }; - obj185.Steps = list248; - reference194 = obj185; - ref QuestSequence reference195 = ref span66[2]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.Interact, 1035509u, new Vector3(119.58484f, -20f, -135.36285f), 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmamentWesternRisensongQuarter, - To = EAetheryteLocation.FIrmamentEasternRisensongQuarter - } - }; - obj186.Steps = list249; - reference195 = obj186; - ref QuestSequence reference196 = ref span66[3]; - QuestSequence obj187 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - CollectionsMarshal.AsSpan(list250)[0] = new QuestStep(EInteractionType.CompleteQuest, 1035510u, new Vector3(21.011597f, 1.0151416E-07f, -159.53314f), 886) - { - NextQuestId = new QuestId(4000) - }; - obj187.Steps = list250; - reference196 = obj187; - questRoot27.QuestSequence = list246; - AddQuest(questId27, questRoot27); - } - - private static void LoadQuests80() - { - QuestId questId = new QuestId(4000); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 6; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1035520u, new Vector3(19.943481f, 1.8347055E-07f, -158.92273f), 886) - { - StopDistance = 5f - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1035507u, new Vector3(48.41687f, -18.742718f, 6.576599f), 886); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 2011307u, new Vector3(49.94275f, -18.753357f, 10.910156f), 886); - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - ref QuestStep reference5 = ref CollectionsMarshal.AsSpan(list6)[0]; - QuestStep obj5 = new QuestStep(EInteractionType.Interact, 2011308u, new Vector3(215.62524f, -36.881104f, -3.5858765f), 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmamentMattock, - To = EAetheryteLocation.FirmanentSaintRoellesDais - } - }; - int num3 = 1; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - CollectionsMarshal.AsSpan(list7)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKHA302_04000_Q2_000_000") - }; - obj5.DialogueChoices = list7; - reference5 = obj5; - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference6 = ref span[4]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - ref QuestStep reference7 = ref CollectionsMarshal.AsSpan(list8)[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2011308u, new Vector3(215.62524f, -36.881104f, -3.5858765f), 886); - num3 = 1; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - CollectionsMarshal.AsSpan(list9)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKHA302_04000_Q3_000_000") - }; - questStep.DialogueChoices = list9; - reference7 = questStep; - obj6.Steps = list8; - reference6 = obj6; - ref QuestSequence reference8 = ref span[5]; - QuestSequence obj7 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.CompleteQuest, 1035521u, new Vector3(207.599f, -40f, -13.290649f), 886) - { - NextQuestId = new QuestId(4001) - }; - obj7.Steps = list10; - reference8 = obj7; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(4001); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list11 = new List(num); - CollectionsMarshal.SetCount(list11, num); - CollectionsMarshal.AsSpan(list11)[0] = "liza"; - questRoot2.Author = list11; - num = 3; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - Span span2 = CollectionsMarshal.AsSpan(list12); - ref QuestSequence reference9 = ref span2[0]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.AcceptQuest, 1035521u, new Vector3(207.599f, -40f, -13.290649f), 886); - obj8.Steps = list13; - reference9 = obj8; - ref QuestSequence reference10 = ref span2[1]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - ref QuestStep reference11 = ref CollectionsMarshal.AsSpan(list14)[0]; - QuestStep obj10 = new QuestStep(EInteractionType.Interact, 1035521u, new Vector3(207.599f, -40f, -13.290649f), 886) - { - Comment = "Concert can be skipped via ESC → Quit Game" - }; - num3 = 1; - List list15 = new List(num3); - CollectionsMarshal.SetCount(list15, num3); - CollectionsMarshal.AsSpan(list15)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKHA303_04001_Q2_000_000"), - Answer = new ExcelRef("TEXT_LUCKHA303_04001_A2_000_001") - }; - obj10.DialogueChoices = list15; - reference11 = obj10; - obj9.Steps = list14; - reference10 = obj9; - ref QuestSequence reference12 = ref span2[2]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.CompleteQuest, 1035521u, new Vector3(207.599f, -40f, -13.290649f), 886) - { - NextQuestId = new QuestId(4002) - }; - obj11.Steps = list16; - reference12 = obj11; - questRoot2.QuestSequence = list12; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(4002); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - CollectionsMarshal.AsSpan(list17)[0] = "liza"; - questRoot3.Author = list17; - num = 3; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - Span span3 = CollectionsMarshal.AsSpan(list18); - ref QuestSequence reference13 = ref span3[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.AcceptQuest, 1035527u, new Vector3(196.82605f, -40f, -11.062805f), 886); - obj12.Steps = list19; - reference13 = obj12; - ref QuestSequence reference14 = ref span3[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.Interact, 1035529u, new Vector3(-7.156494f, -16f, 163.43933f), 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmanentSaintRoellesDais, - To = EAetheryteLocation.FirmamentMendicantsCourt - } - }; - obj13.Steps = list20; - reference14 = obj13; - ref QuestSequence reference15 = ref span3[2]; - QuestSequence obj14 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.CompleteQuest, 1035529u, new Vector3(-7.156494f, -16f, 163.43933f), 886) - { - NextQuestId = new QuestId(4079) - }; - obj14.Steps = list21; - reference15 = obj14; - questRoot3.QuestSequence = list18; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(4007); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - CollectionsMarshal.AsSpan(list22)[0] = "liza"; - questRoot4.Author = list22; - num = 4; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - Span span4 = CollectionsMarshal.AsSpan(list23); - ref QuestSequence reference16 = ref span4[0]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032694u, new Vector3(-3.03656f, 0.01804012f, -8.133057f), 351); - obj15.Steps = list24; - reference16 = obj15; - ref QuestSequence reference17 = ref span4[1]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.Interact, 1035339u, new Vector3(-54.8562f, 2.0050092f, 11.276367f), 351); - obj16.Steps = list25; - reference17 = obj16; - ref QuestSequence reference18 = ref span4[2]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.Interact, 1035342u, new Vector3(125.50537f, -15.184305f, -424.21613f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj17.Steps = list26; - reference18 = obj17; - ref QuestSequence reference19 = ref span4[3]; - QuestSequence obj18 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.CompleteQuest, 1035344u, new Vector3(-894.5907f, -184.29301f, -639.33777f), 402); - obj18.Steps = list27; - reference19 = obj18; - questRoot4.QuestSequence = list23; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(4008); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - CollectionsMarshal.AsSpan(list28)[0] = "liza"; - questRoot5.Author = list28; - num = 6; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - Span span5 = CollectionsMarshal.AsSpan(list29); - ref QuestSequence reference20 = ref span5[0]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.AcceptQuest, 1035345u, new Vector3(-894.52966f, -184.293f, -637.6593f), 402); - obj19.Steps = list30; - reference20 = obj19; - ref QuestSequence reference21 = ref span5[1]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.Interact, 1035348u, new Vector3(-639.33777f, -176.4502f, -577.2335f), 402) - { - Fly = true - }; - obj20.Steps = list31; - reference21 = obj20; - ref QuestSequence reference22 = ref span5[2]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 1035350u, new Vector3(641.3214f, -2.8402345f, -350.3319f), 402) - { - Fly = true - }; - obj21.Steps = list32; - reference22 = obj21; - ref QuestSequence reference23 = ref span5[3]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - ref QuestStep reference24 = ref CollectionsMarshal.AsSpan(list33)[0]; - QuestStep obj23 = new QuestStep(EInteractionType.Combat, 2011330u, new Vector3(585.1072f, -64.83563f, -692.19507f), 402) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - CollectionsMarshal.AsSpan(list34)[0] = 12661u; - obj23.KillEnemyDataIds = list34; - reference24 = obj23; - obj22.Steps = list33; - reference23 = obj22; - ref QuestSequence reference25 = ref span5[4]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.Interact, 2011331u, new Vector3(585.1072f, -64.83563f, -692.19507f), 402) - { - StopDistance = 5f - }; - obj24.Steps = list35; - reference25 = obj24; - ref QuestSequence reference26 = ref span5[5]; - QuestSequence obj25 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.CompleteQuest, 1035350u, new Vector3(641.3214f, -2.8402345f, -350.3319f), 402) - { - Fly = true - }; - obj25.Steps = list36; - reference26 = obj25; - questRoot5.QuestSequence = list29; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(4009); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - CollectionsMarshal.AsSpan(list37)[0] = "liza"; - questRoot6.Author = list37; - num = 6; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - Span span6 = CollectionsMarshal.AsSpan(list38); - ref QuestSequence reference27 = ref span6[0]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.AcceptQuest, 1035350u, new Vector3(641.3214f, -2.8402345f, -350.3319f), 402); - obj26.Steps = list39; - reference27 = obj26; - ref QuestSequence reference28 = ref span6[1]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - Span span7 = CollectionsMarshal.AsSpan(list40); - span7[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span7[1] = new QuestStep(EInteractionType.Interact, 1035355u, new Vector3(-0.35101318f, 0f, -6.9123535f), 351); - obj27.Steps = list40; - reference28 = obj27; - ref QuestSequence reference29 = ref span6[2]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - Span span8 = CollectionsMarshal.AsSpan(list41); - span8[0] = new QuestStep(EInteractionType.Interact, 2011104u, new Vector3(-11.001831f, 1.4800415f, -6.9733887f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span8[1] = new QuestStep(EInteractionType.Interact, 2011332u, new Vector3(-56.717834f, 1.9989014f, 14.633362f), 351); - obj28.Steps = list41; - reference29 = obj28; - ref QuestSequence reference30 = ref span6[3]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.Interact, 1035360u, new Vector3(-58.15222f, 2.0050092f, 14.541748f), 351) - { - StopDistance = 5f - }; - obj29.Steps = list42; - reference30 = obj29; - ref QuestSequence reference31 = ref span6[4]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - Span span9 = CollectionsMarshal.AsSpan(list43); - span9[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-150.08533f, 16.999998f, -48.293888f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - span9[1] = new QuestStep(EInteractionType.Interact, 1014578u, new Vector3(-148.02783f, 16.999998f, -48.844177f), 418); - obj30.Steps = list43; - reference31 = obj30; - ref QuestSequence reference32 = ref span6[5]; - QuestSequence obj31 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.CompleteQuest, 1035363u, new Vector3(164.47693f, -12.634913f, -13.290649f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSkysteelManufactory, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - obj31.Steps = list44; - reference32 = obj31; - questRoot6.QuestSequence = list38; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(4010); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - CollectionsMarshal.AsSpan(list45)[0] = "liza"; - questRoot7.Author = list45; - num = 3; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - Span span10 = CollectionsMarshal.AsSpan(list46); - ref QuestSequence reference33 = ref span10[0]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - ref QuestStep reference34 = ref CollectionsMarshal.AsSpan(list47)[0]; - QuestStep obj33 = new QuestStep(EInteractionType.AcceptQuest, 1035354u, new Vector3(-1.0223389f, 0f, -8.529846f), 351) - { - StopDistance = 5f - }; - num3 = 1; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - CollectionsMarshal.AsSpan(list48)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMJ104_04010_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKMJ104_04010_A1_000_002") - }; - obj33.DialogueChoices = list48; - reference34 = obj33; - obj32.Steps = list47; - reference33 = obj32; - ref QuestSequence reference35 = ref span10[1]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.Interact, 1035364u, new Vector3(68.558716f, 40f, 69.90149f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj34.Steps = list49; - reference35 = obj34; - ref QuestSequence reference36 = ref span10[2]; - QuestSequence obj35 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.CompleteQuest, 1035366u, new Vector3(-110.09387f, 39.999992f, 116.990845f), 128) - { - StopDistance = 5f - }; - obj35.Steps = list50; - reference36 = obj35; - questRoot7.QuestSequence = list46; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(4011); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - CollectionsMarshal.AsSpan(list51)[0] = "liza"; - questRoot8.Author = list51; - num = 7; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - Span span11 = CollectionsMarshal.AsSpan(list52); - ref QuestSequence reference37 = ref span11[0]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.AcceptQuest, 1035367u, new Vector3(-108.72058f, 39.999996f, 117.17395f), 128) - { - StopDistance = 5f - }; - obj36.Steps = list53; - reference37 = obj36; - ref QuestSequence reference38 = ref span11[1]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.Interact, 1035374u, new Vector3(-481.80365f, 137.42972f, 698.63416f), 399) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshirePrologueGate - } - }; - obj37.Steps = list54; - reference38 = obj37; - ref QuestSequence reference39 = ref span11[2]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.Interact, 1012138u, new Vector3(19.272095f, 38.43f, 15.854065f), 463) - { - StopDistance = 5f - }; - obj38.Steps = list55; - reference39 = obj38; - ref QuestSequence reference40 = ref span11[3]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.Interact, 1035380u, new Vector3(382.77246f, 75.28701f, -222.03406f), 399) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshireEpilogueGate - } - }; - obj39.Steps = list56; - reference40 = obj39; - ref QuestSequence reference41 = ref span11[4]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.Duty, null, null, 399) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 746u - } - }; - obj40.Steps = list57; - reference41 = obj40; - span11[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference42 = ref span11[6]; - QuestSequence obj41 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.CompleteQuest, 1035381u, new Vector3(382.25366f, 75.22071f, -223.40735f), 399); - obj41.Steps = list58; - reference42 = obj41; - questRoot8.QuestSequence = list52; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(4012); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - CollectionsMarshal.AsSpan(list59)[0] = "liza"; - questRoot9.Author = list59; - num = 5; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - Span span12 = CollectionsMarshal.AsSpan(list60); - ref QuestSequence reference43 = ref span12[0]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.AcceptQuest, 1035381u, new Vector3(382.25366f, 75.22071f, -223.40735f), 399); - obj42.Steps = list61; - reference43 = obj42; - ref QuestSequence reference44 = ref span12[1]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.Interact, 1001029u, new Vector3(9.170593f, 20.999403f, -15.213318f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa - }; - obj43.Steps = list62; - reference44 = obj43; - ref QuestSequence reference45 = ref span12[2]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.Interact, 1035386u, new Vector3(-0.4730835f, 19.999977f, -13.839966f), 129); - obj44.Steps = list63; - reference45 = obj44; - ref QuestSequence reference46 = ref span12[3]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - Span span13 = CollectionsMarshal.AsSpan(list64); - span13[0] = new QuestStep(EInteractionType.Interact, 1000915u, new Vector3(18.387085f, 47.600006f, -162.12714f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaMarauder - } - }; - span13[1] = new QuestStep(EInteractionType.Interact, 1000918u, new Vector3(84.09241f, 44.399914f, 132.34143f), 128) - { - StopDistance = 5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaMarauder, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj45.Steps = list64; - reference46 = obj45; - ref QuestSequence reference47 = ref span12[4]; - QuestSequence obj46 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.CompleteQuest, 1035386u, new Vector3(-0.4730835f, 19.999977f, -13.839966f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa - }; - obj46.Steps = list65; - reference47 = obj46; - questRoot9.QuestSequence = list60; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(4013); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - CollectionsMarshal.AsSpan(list66)[0] = "liza"; - questRoot10.Author = list66; - num = 3; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - Span span14 = CollectionsMarshal.AsSpan(list67); - ref QuestSequence reference48 = ref span14[0]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.AcceptQuest, 1035386u, new Vector3(-0.4730835f, 19.999977f, -13.839966f), 129) - { - StopDistance = 5f - }; - obj47.Steps = list68; - reference48 = obj47; - ref QuestSequence reference49 = ref span14[1]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1035389u, new Vector3(85.09949f, 68.15523f, 341.90894f), 135) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }; - obj48.Steps = list69; - reference49 = obj48; - ref QuestSequence reference50 = ref span14[2]; - QuestSequence obj49 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.CompleteQuest, 1035391u, new Vector3(296.86414f, 69.333755f, -147.32587f), 135) - { - Fly = true - }; - obj49.Steps = list70; - reference50 = obj49; - questRoot10.QuestSequence = list67; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(4014); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - CollectionsMarshal.AsSpan(list71)[0] = "liza"; - questRoot11.Author = list71; - num = 3; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - Span span15 = CollectionsMarshal.AsSpan(list72); - ref QuestSequence reference51 = ref span15[0]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.AcceptQuest, 1035391u, new Vector3(296.86414f, 69.333755f, -147.32587f), 135); - obj50.Steps = list73; - reference51 = obj50; - ref QuestSequence reference52 = ref span15[1]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - Span span16 = CollectionsMarshal.AsSpan(list74); - ref QuestStep reference53 = ref span16[0]; - QuestStep obj52 = new QuestStep(EInteractionType.Interact, 1001029u, new Vector3(9.170593f, 20.999403f, -15.213318f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa - }; - num3 = 1; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - CollectionsMarshal.AsSpan(list75)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKMJ108_04014_SYSTEM_100_010") - }; - obj52.DialogueChoices = list75; - reference53 = obj52; - span16[1] = new QuestStep(EInteractionType.Interact, 1002694u, new Vector3(-0.045776367f, 1.6001425f, -7.0039062f), 198); - obj51.Steps = list74; - reference52 = obj51; - ref QuestSequence reference54 = ref span15[2]; - QuestSequence obj53 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.CompleteQuest, 1002694u, new Vector3(-0.045776367f, 1.6001425f, -7.0039062f), 198); - obj53.Steps = list76; - reference54 = obj53; - questRoot11.QuestSequence = list72; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(4015); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - CollectionsMarshal.AsSpan(list77)[0] = "liza"; - questRoot12.Author = list77; - num = 4; - List list78 = new List(num); - CollectionsMarshal.SetCount(list78, num); - Span span17 = CollectionsMarshal.AsSpan(list78); - ref QuestSequence reference55 = ref span17[0]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.AcceptQuest, 1002694u, new Vector3(-0.045776367f, 1.6001425f, -7.0039062f), 198); - obj54.Steps = list79; - reference55 = obj54; - ref QuestSequence reference56 = ref span17[1]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.Interact, 1035399u, new Vector3(-105.21106f, 64.43899f, -243.15253f), 180) - { - AetheryteShortcut = EAetheryteLocation.OuterLaNosceaCampOverlook - }; - obj55.Steps = list80; - reference56 = obj55; - ref QuestSequence reference57 = ref span17[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - Span span18 = CollectionsMarshal.AsSpan(list81); - span18[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(46.600548f, 77.45801f, -366.82053f), 180) - { - Fly = true - }; - span18[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(111.927666f, 26.050894f, -612.8873f), 180) - { - Fly = true - }; - span18[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(82.19566f, 25.922153f, -711.6839f), 180) - { - Fly = true - }; - span18[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(129.6921f, 23.33508f, -719.46643f), 180); - span18[4] = new QuestStep(EInteractionType.SinglePlayerDuty, 1035401u, new Vector3(142.71753f, 24.40421f, -634.54645f), 180) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj56.Steps = list81; - reference57 = obj56; - ref QuestSequence reference58 = ref span17[3]; - QuestSequence obj57 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.CompleteQuest, 1035407u, new Vector3(-103.71564f, 64.39152f, -241.32147f), 180) - { - StopDistance = 5f - }; - obj57.Steps = list82; - reference58 = obj57; - questRoot12.QuestSequence = list78; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(4016); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list83 = new List(num); - CollectionsMarshal.SetCount(list83, num); - CollectionsMarshal.AsSpan(list83)[0] = "liza"; - questRoot13.Author = list83; - num = 4; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - Span span19 = CollectionsMarshal.AsSpan(list84); - ref QuestSequence reference59 = ref span19[0]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.AcceptQuest, 1035398u, new Vector3(-106.126526f, 64.45569f, -242.66425f), 180) - { - StopDistance = 7f - }; - obj58.Steps = list85; - reference59 = obj58; - ref QuestSequence reference60 = ref span19[1]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.Interact, 1035409u, new Vector3(581.62805f, 80f, 621.7898f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter - }; - obj59.Steps = list86; - reference60 = obj59; - ref QuestSequence reference61 = ref span19[2]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.Interact, 1035414u, new Vector3(739.4979f, 70f, 526.48206f), 621) - { - StopDistance = 5f - }; - obj60.Steps = list87; - reference61 = obj60; - ref QuestSequence reference62 = ref span19[3]; - QuestSequence obj61 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - Span span20 = CollectionsMarshal.AsSpan(list88); - span20[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span20[1] = new QuestStep(EInteractionType.CompleteQuest, 1032694u, new Vector3(-3.03656f, 0.01804012f, -8.133057f), 351); - obj61.Steps = list88; - reference62 = obj61; - questRoot13.QuestSequence = list84; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(4031); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list89 = new List(num); - CollectionsMarshal.SetCount(list89, num); - CollectionsMarshal.AsSpan(list89)[0] = "liza"; - questRoot14.Author = list89; - num = 9; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - Span span21 = CollectionsMarshal.AsSpan(list90); - ref QuestSequence reference63 = ref span21[0]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032586u, new Vector3(-505.42462f, 7.68313f, 51.621216f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj62.Steps = list91; - reference63 = obj62; - ref QuestSequence reference64 = ref span21[1]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - ref QuestStep reference65 = ref CollectionsMarshal.AsSpan(list92)[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1035243u, new Vector3(-533.4402f, 8.187748f, -46.341675f), 621); - num3 = 1; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - CollectionsMarshal.AsSpan(list93)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_LUCKYW401_04031_Q9_000_000") - }; - questStep2.DialogueChoices = list93; - reference65 = questStep2; - obj63.Steps = list92; - reference64 = obj63; - ref QuestSequence reference66 = ref span21[2]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Interact, 1033633u, new Vector3(7.2785034f, 41f, 8.255066f), 919); - obj64.Steps = list94; - reference66 = obj64; - ref QuestSequence reference67 = ref span21[3]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.Interact, 1036280u, new Vector3(45.88379f, 35f, 68.22302f), 919); - obj65.Steps = list95; - reference67 = obj65; - ref QuestSequence reference68 = ref span21[4]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.Interact, 1036281u, new Vector3(-1.3580933f, 41f, 19.394226f), 919); - obj66.Steps = list96; - reference68 = obj66; - ref QuestSequence reference69 = ref span21[5]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.Interact, 1036283u, new Vector3(79.9115f, -1.4320341E-12f, 85.83191f), 991); - obj67.Steps = list97; - reference69 = obj67; - ref QuestSequence reference70 = ref span21[6]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.Duty, null, null, 991) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 781u - } - }; - obj68.Steps = list98; - reference70 = obj68; - ref QuestSequence reference71 = ref span21[7]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 1036283u, new Vector3(79.9115f, -1.4320341E-12f, 85.83191f), 991); - obj69.Steps = list99; - reference71 = obj69; - ref QuestSequence reference72 = ref span21[8]; - QuestSequence obj70 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.CompleteQuest, 1036286u, new Vector3(-15.610046f, 41f, 5.3864136f), 919) - { - NextQuestId = new QuestId(4032) - }; - obj70.Steps = list100; - reference72 = obj70; - questRoot14.QuestSequence = list90; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(4032); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list101 = new List(num); - CollectionsMarshal.SetCount(list101, num); - CollectionsMarshal.AsSpan(list101)[0] = "liza"; - questRoot15.Author = list101; - num = 8; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - Span span22 = CollectionsMarshal.AsSpan(list102); - ref QuestSequence reference73 = ref span22[0]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.AcceptQuest, 1036286u, new Vector3(-15.610046f, 41f, 5.3864136f), 919); - obj71.Steps = list103; - reference73 = obj71; - ref QuestSequence reference74 = ref span22[1]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - Span span23 = CollectionsMarshal.AsSpan(list104); - span23[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-11.236769f, 40.999996f, 15.472222f), 919); - span23[1] = new QuestStep(EInteractionType.Interact, 1036412u, new Vector3(53.391357f, 34.999996f, 80.094604f), 919); - obj72.Steps = list104; - reference74 = obj72; - ref QuestSequence reference75 = ref span22[2]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - Span span24 = CollectionsMarshal.AsSpan(list105); - span24[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-11.236769f, 40.999996f, 15.472222f), 919); - span24[1] = new QuestStep(EInteractionType.Interact, 1036286u, new Vector3(-15.610046f, 41f, 5.3864136f), 919); - obj73.Steps = list105; - reference75 = obj73; - ref QuestSequence reference76 = ref span22[3]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.Interact, 2011480u, new Vector3(-17.227417f, 40.97046f, 5.2948f), 919) - { - StopDistance = 4.5f - }; - obj74.Steps = list106; - reference76 = obj74; - ref QuestSequence reference77 = ref span22[4]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.Interact, 1036286u, new Vector3(-15.610046f, 41f, 5.3864136f), 919); - obj75.Steps = list107; - reference77 = obj75; - ref QuestSequence reference78 = ref span22[5]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.Interact, 1036285u, new Vector3(-16.372986f, 40.999996f, 3.8909912f), 919) - { - StopDistance = 5f - }; - obj76.Steps = list108; - reference78 = obj76; - ref QuestSequence reference79 = ref span22[6]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.Interact, 1036287u, new Vector3(-19.089111f, 41f, 3.768982f), 919) - { - StopDistance = 7f - }; - obj77.Steps = list109; - reference79 = obj77; - ref QuestSequence reference80 = ref span22[7]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - Span span25 = CollectionsMarshal.AsSpan(list110); - span25[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-507.93283f, 7.6638765f, 52.09985f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span25[1] = new QuestStep(EInteractionType.CompleteQuest, 1032586u, new Vector3(-505.42462f, 7.68313f, 51.621216f), 621); - obj78.Steps = list110; - reference80 = obj78; - questRoot15.QuestSequence = list102; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(4033); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - CollectionsMarshal.AsSpan(list111)[0] = "plogon_enjoyer"; - questRoot16.Author = list111; - num = 6; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - Span span26 = CollectionsMarshal.AsSpan(list112); - ref QuestSequence reference81 = ref span26[0]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - obj79.Steps = list113; - reference81 = obj79; - ref QuestSequence reference82 = ref span26[1]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.Interact, 1028406u, new Vector3(43.289795f, -8f, 108.62891f), 132) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaAmphitheatre, - To = EAetheryteLocation.Gridania - } - }; - obj80.Steps = list114; - reference82 = obj80; - ref QuestSequence reference83 = ref span26[2]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.Interact, 2011356u, new Vector3(58.304688f, -0.015319824f, 84.27551f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach - }; - obj81.Steps = list115; - reference83 = obj81; - ref QuestSequence reference84 = ref span26[3]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.Interact, 1024112u, new Vector3(796.933f, 69.9999f, 634.76f), 621); - obj82.Steps = list116; - reference84 = obj82; - ref QuestSequence reference85 = ref span26[4]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.Interact, 1028406u, new Vector3(43.289795f, -8f, 108.62891f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj83.Steps = list117; - reference85 = obj83; - ref QuestSequence reference86 = ref span26[5]; - QuestSequence obj84 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006756u, new Vector3(-16.891846f, 10.17425f, -246.87573f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - obj84.Steps = list118; - reference86 = obj84; - questRoot16.QuestSequence = list112; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(4034); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - CollectionsMarshal.AsSpan(list119)[0] = "liza"; - questRoot17.Author = list119; - num = 8; - List list120 = new List(num); - CollectionsMarshal.SetCount(list120, num); - Span span27 = CollectionsMarshal.AsSpan(list120); - ref QuestSequence reference87 = ref span27[0]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032227u, new Vector3(665.8884f, 297.47797f, -160.57074f), 814); - obj85.Steps = list121; - reference87 = obj85; - ref QuestSequence reference88 = ref span27[1]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - Span span28 = CollectionsMarshal.AsSpan(list122); - span28[0] = new QuestStep(EInteractionType.Interact, 2010832u, new Vector3(738.3076f, 285.60303f, -82.871826f), 814) - { - TargetTerritoryId = (ushort)895, - Fly = true - }; - span28[1] = new QuestStep(EInteractionType.Interact, 1035131u, new Vector3(-3.6469727f, -3.475783E-11f, -58.121643f), 895); - obj86.Steps = list122; - reference88 = obj86; - ref QuestSequence reference89 = ref span27[2]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - Span span29 = CollectionsMarshal.AsSpan(list123); - span29[0] = new QuestStep(EInteractionType.Interact, 2010829u, new Vector3(1.4190674f, 0.83917236f, 2.5177002f), 895) - { - TargetTerritoryId = (ushort)814 - }; - span29[1] = new QuestStep(EInteractionType.Interact, 1035132u, new Vector3(545.4337f, 295.66992f, -221.45422f), 814) - { - Fly = true - }; - obj87.Steps = list123; - reference89 = obj87; - ref QuestSequence reference90 = ref span27[3]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.Interact, 2011442u, new Vector3(-8.957031f, 0.503479f, -65.26294f), 895); - obj88.Steps = list124; - reference90 = obj88; - ref QuestSequence reference91 = ref span27[4]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.Interact, 1035134u, new Vector3(711.635f, 286.3896f, -122.78937f), 814) - { - StopDistance = 7f - }; - obj89.Steps = list125; - reference91 = obj89; - ref QuestSequence reference92 = ref span27[5]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - Span span30 = CollectionsMarshal.AsSpan(list126); - ref QuestStep reference93 = ref span30[0]; - QuestStep obj91 = new QuestStep(EInteractionType.Interact, 1034054u, new Vector3(659.75415f, 297.47797f, -145.15906f), 814) - { - Fly = true - }; - num3 = 6; - List list127 = new List(num3); - CollectionsMarshal.SetCount(list127, num3); - Span span31 = CollectionsMarshal.AsSpan(list127); - span31[0] = null; - span31[1] = null; - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj91.CompletionQuestVariablesFlags = list127; - reference93 = obj91; - ref QuestStep reference94 = ref span30[1]; - QuestStep obj92 = new QuestStep(EInteractionType.Interact, 1027299u, new Vector3(638.11694f, 297.44974f, -180.19385f), 814) - { - Fly = true - }; - num3 = 6; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - Span span32 = CollectionsMarshal.AsSpan(list128); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj92.CompletionQuestVariablesFlags = list128; - reference94 = obj92; - ref QuestStep reference95 = ref span30[2]; - QuestStep obj93 = new QuestStep(EInteractionType.Interact, 1027486u, new Vector3(608.8501f, 297.4718f, -165.45361f), 814) - { - Fly = true - }; - num3 = 6; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - Span span33 = CollectionsMarshal.AsSpan(list129); - span33[0] = null; - span33[1] = null; - span33[2] = null; - span33[3] = null; - span33[4] = null; - span33[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj93.CompletionQuestVariablesFlags = list129; - reference95 = obj93; - obj90.Steps = list126; - reference92 = obj90; - ref QuestSequence reference96 = ref span27[6]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.Interact, 2011447u, new Vector3(711.6044f, 286.12183f, -121.50757f), 814) - { - Fly = true - }; - obj94.Steps = list130; - reference96 = obj94; - ref QuestSequence reference97 = ref span27[7]; - QuestSequence obj95 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - ref QuestStep reference98 = ref CollectionsMarshal.AsSpan(list131)[0]; - QuestStep obj96 = new QuestStep(EInteractionType.CompleteQuest, 1035135u, new Vector3(-361.37946f, 105.987305f, 347.12744f), 928) - { - StopDistance = 5f - }; - num3 = 2; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - Span span34 = CollectionsMarshal.AsSpan(list132); - span34[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKTA501_04034_Q5_000_000"), - Answer = new ExcelRef("TEXT_LUCKTA501_04034_A5_000_001") - }; - span34[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKTA501_04034_Q6_000_000"), - Answer = new ExcelRef("TEXT_LUCKTA501_04034_A6_000_001") - }; - obj96.DialogueChoices = list132; - obj96.NextQuestId = new QuestId(4035); - reference98 = obj96; - obj95.Steps = list131; - reference97 = obj95; - questRoot17.QuestSequence = list120; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(4035); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list133 = new List(num); - CollectionsMarshal.SetCount(list133, num); - CollectionsMarshal.AsSpan(list133)[0] = "liza"; - questRoot18.Author = list133; - num = 4; - List list134 = new List(num); - CollectionsMarshal.SetCount(list134, num); - Span span35 = CollectionsMarshal.AsSpan(list134); - ref QuestSequence reference99 = ref span35[0]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - ref QuestStep reference100 = ref CollectionsMarshal.AsSpan(list135)[0]; - QuestStep obj98 = new QuestStep(EInteractionType.AcceptQuest, 1035135u, new Vector3(-361.37946f, 105.987305f, 347.12744f), 928) - { - StopDistance = 5f - }; - num3 = 1; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - CollectionsMarshal.AsSpan(list136)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKTA502_04035_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKTA502_04035_A1_000_001") - }; - obj98.DialogueChoices = list136; - reference100 = obj98; - obj97.Steps = list135; - reference99 = obj97; - ref QuestSequence reference101 = ref span35[1]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 1 - }; - num2 = 14; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - Span span36 = CollectionsMarshal.AsSpan(list137); - span36[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-352.89597f, 106.840775f, 337.33798f), 928) - { - RestartNavigationIfCancelled = false - }; - span36[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-271.62762f, 69.97228f, 273.0655f), 928) - { - DelaySecondsAtStart = 2f, - RestartNavigationIfCancelled = false - }; - span36[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-234.40671f, 30f, 168.78214f), 928) - { - DelaySecondsAtStart = 2f - }; - span36[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-237.90593f, 36.4109f, 107.25123f), 928); - span36[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-264.81836f, 20.597822f, 72.87652f), 928) - { - DisableNavmesh = true - }; - span36[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-233.77907f, -3.860001f, 31.767477f), 928) - { - DisableNavmesh = true - }; - span36[6] = new QuestStep(EInteractionType.Interact, 2011234u, new Vector3(-230.12134f, -2.609314f, 11.612061f), 928) - { - TargetTerritoryId = (ushort)928 - }; - span36[7] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-229.71193f, -115.06235f, -115.379684f), 928) - { - RestartNavigationIfCancelled = false - }; - span36[8] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-229.96237f, -168.28922f, -329.79776f), 928) - { - DelaySecondsAtStart = 2f, - DisableNavmesh = true - }; - span36[9] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-237.64621f, -168.16484f, -336.7267f), 928) - { - DelaySecondsAtStart = 2f, - RestartNavigationIfCancelled = false - }; - span36[10] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-305.8408f, -204.6433f, -336.8385f), 928) - { - DelaySecondsAtStart = 2f, - RestartNavigationIfCancelled = false - }; - span36[11] = new QuestStep(EInteractionType.Jump, null, new Vector3(-366.50647f, -241.32147f, -311.57397f), 928) - { - StopDistance = 0.5f, - DelaySecondsAtStart = 2f, - JumpDestination = new JumpDestination - { - Position = new Vector3(-366.558f, -249.74661f, -301.74612f) - } - }; - span36[12] = new QuestStep(EInteractionType.Interact, 2011269u, new Vector3(-366.50647f, -248.43219f, -285.6947f), 928) - { - TargetTerritoryId = (ushort)928 - }; - span36[13] = new QuestStep(EInteractionType.Interact, 2011440u, new Vector3(200f, -478.47717f, -558.8312f), 928); - obj99.Steps = list137; - reference101 = obj99; - ref QuestSequence reference102 = ref span35[2]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.Duty, null, null, 928) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 779u - } - }; - obj100.Steps = list138; - reference102 = obj100; - ref QuestSequence reference103 = ref span35[3]; - QuestSequence obj101 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.CompleteQuest, 1035142u, new Vector3(701.9607f, 291.86115f, -142.443f), 814) - { - StopDistance = 5f, - NextQuestId = new QuestId(4036) - }; - obj101.Steps = list139; - reference103 = obj101; - questRoot18.QuestSequence = list134; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(4036); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list140 = new List(num); - CollectionsMarshal.SetCount(list140, num); - CollectionsMarshal.AsSpan(list140)[0] = "liza"; - questRoot19.Author = list140; - num = 8; - List list141 = new List(num); - CollectionsMarshal.SetCount(list141, num); - Span span37 = CollectionsMarshal.AsSpan(list141); - ref QuestSequence reference104 = ref span37[0]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.AcceptQuest, 1035142u, new Vector3(701.9607f, 291.86115f, -142.443f), 814) - { - StopDistance = 5f - }; - obj102.Steps = list142; - reference104 = obj102; - ref QuestSequence reference105 = ref span37[1]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - Span span38 = CollectionsMarshal.AsSpan(list143); - span38[0] = new QuestStep(EInteractionType.Interact, 2010832u, new Vector3(738.3076f, 285.60303f, -82.871826f), 814) - { - TargetTerritoryId = (ushort)895, - Fly = true - }; - span38[1] = new QuestStep(EInteractionType.Interact, 1035141u, new Vector3(-13.382202f, 0.039723f, -66.11737f), 895); - obj103.Steps = list143; - reference105 = obj103; - ref QuestSequence reference106 = ref span37[2]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.Interact, 1032227u, new Vector3(665.8884f, 297.47797f, -160.57074f), 814) - { - Fly = true - }; - obj104.Steps = list144; - reference106 = obj104; - ref QuestSequence reference107 = ref span37[3]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - Span span39 = CollectionsMarshal.AsSpan(list145); - span39[0] = new QuestStep(EInteractionType.Interact, 2010832u, new Vector3(738.3076f, 285.60303f, -82.871826f), 814) - { - TargetTerritoryId = (ushort)895, - Fly = true - }; - span39[1] = new QuestStep(EInteractionType.Interact, 1035133u, new Vector3(-6.881897f, 0.029997535f, -63.187683f), 895); - obj105.Steps = list145; - reference107 = obj105; - ref QuestSequence reference108 = ref span37[4]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.Interact, 2011441u, new Vector3(-3.5858765f, -0.015319824f, -58.06067f), 895) - { - StopDistance = 4f - }; - obj106.Steps = list146; - reference108 = obj106; - ref QuestSequence reference109 = ref span37[5]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 5 - }; - num2 = 6; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - Span span40 = CollectionsMarshal.AsSpan(list147); - span40[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(2.2522326f, 0f, -52.14471f), 895); - ref QuestStep reference110 = ref span40[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1035148u, new Vector3(2.39563f, -3.2740335E-11f, -54.61206f), 895); - num3 = 6; - List list148 = new List(num3); - CollectionsMarshal.SetCount(list148, num3); - Span span41 = CollectionsMarshal.AsSpan(list148); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list148; - num3 = 1; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - CollectionsMarshal.AsSpan(list149)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKTA503_04036_Q9_000_000"), - Answer = new ExcelRef("TEXT_LUCKTA503_04036_A9_000_002") - }; - questStep3.DialogueChoices = list149; - reference110 = questStep3; - ref QuestStep reference111 = ref span40[2]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1035144u, new Vector3(3.9520264f, -3.2538423E-11f, -54.24591f), 895); - num3 = 6; - List list150 = new List(num3); - CollectionsMarshal.SetCount(list150, num3); - Span span42 = CollectionsMarshal.AsSpan(list150); - span42[0] = null; - span42[1] = null; - span42[2] = null; - span42[3] = null; - span42[4] = null; - span42[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list150; - num3 = 1; - List list151 = new List(num3); - CollectionsMarshal.SetCount(list151, num3); - CollectionsMarshal.AsSpan(list151)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKTA503_04036_Q6_000_000"), - Answer = new ExcelRef("TEXT_LUCKTA503_04036_A6_000_002") - }; - questStep4.DialogueChoices = list151; - reference111 = questStep4; - ref QuestStep reference112 = ref span40[3]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1035145u, new Vector3(4.8981323f, -3.0844622E-11f, -51.407654f), 895); - num3 = 6; - List list152 = new List(num3); - CollectionsMarshal.SetCount(list152, num3); - Span span43 = CollectionsMarshal.AsSpan(list152); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list152; - num3 = 1; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - CollectionsMarshal.AsSpan(list153)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKTA503_04036_Q7_000_000"), - Answer = new ExcelRef("TEXT_LUCKTA503_04036_A7_000_002") - }; - questStep5.DialogueChoices = list153; - reference112 = questStep5; - ref QuestStep reference113 = ref span40[4]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1035146u, new Vector3(4.3182373f, -3.024035E-11f, -50.400574f), 895); - num3 = 6; - List list154 = new List(num3); - CollectionsMarshal.SetCount(list154, num3); - Span span44 = CollectionsMarshal.AsSpan(list154); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list154; - num3 = 1; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - CollectionsMarshal.AsSpan(list155)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKTA503_04036_Q8_000_000"), - Answer = new ExcelRef("TEXT_LUCKTA503_04036_A8_000_001") - }; - questStep6.DialogueChoices = list155; - reference113 = questStep6; - ref QuestStep reference114 = ref span40[5]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1035147u, new Vector3(0.62561035f, -3.0313623E-11f, -50.522705f), 895); - num3 = 6; - List list156 = new List(num3); - CollectionsMarshal.SetCount(list156, num3); - Span span45 = CollectionsMarshal.AsSpan(list156); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list156; - num3 = 1; - List list157 = new List(num3); - CollectionsMarshal.SetCount(list157, num3); - CollectionsMarshal.AsSpan(list157)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKTA503_04036_Q10_000_000"), - Answer = new ExcelRef("TEXT_LUCKTA503_04036_A10_000_002") - }; - questStep7.DialogueChoices = list157; - reference114 = questStep7; - obj107.Steps = list147; - reference109 = obj107; - ref QuestSequence reference115 = ref span37[6]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - ref QuestStep reference116 = ref CollectionsMarshal.AsSpan(list158)[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1035630u, new Vector3(2.2124634f, -3.161355E-11f, -52.689453f), 895); - num3 = 1; - List list159 = new List(num3); - CollectionsMarshal.SetCount(list159, num3); - CollectionsMarshal.AsSpan(list159)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKTA503_04036_Q11_000_000"), - Answer = new ExcelRef("TEXT_LUCKTA503_04036_A11_000_001") - }; - questStep8.DialogueChoices = list159; - reference116 = questStep8; - obj108.Steps = list158; - reference115 = obj108; - ref QuestSequence reference117 = ref span37[7]; - QuestSequence obj109 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - Span span46 = CollectionsMarshal.AsSpan(list160); - span46[0] = new QuestStep(EInteractionType.Interact, 2010829u, new Vector3(1.4190674f, 0.83917236f, 2.5177002f), 895) - { - TargetTerritoryId = (ushort)814 - }; - span46[1] = new QuestStep(EInteractionType.CompleteQuest, 1032227u, new Vector3(665.8884f, 297.47797f, -160.57074f), 814) - { - Fly = true, - NextQuestId = new QuestId(4043) - }; - obj109.Steps = list160; - reference117 = obj109; - questRoot19.QuestSequence = list141; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(4043); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - CollectionsMarshal.AsSpan(list161)[0] = "liza"; - questRoot20.Author = list161; - num = 2; - List list162 = new List(num); - CollectionsMarshal.SetCount(list162, num); - Span span47 = CollectionsMarshal.AsSpan(list162); - ref QuestSequence reference118 = ref span47[0]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - ref QuestStep reference119 = ref CollectionsMarshal.AsSpan(list163)[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.AcceptQuest, 1032227u, new Vector3(665.8884f, 297.47797f, -160.57074f), 814); - num3 = 1; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - CollectionsMarshal.AsSpan(list164)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKTA510_04043_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKTA510_04043_A1_000_001") - }; - questStep9.DialogueChoices = list164; - reference119 = questStep9; - obj110.Steps = list163; - reference118 = obj110; - ref QuestSequence reference120 = ref span47[1]; - QuestSequence obj111 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.CompleteQuest, 1036042u, new Vector3(655.1765f, 297.57593f, -171.31305f), 814); - obj111.Steps = list165; - reference120 = obj111; - questRoot20.QuestSequence = list162; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(4044); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list166 = new List(num); - CollectionsMarshal.SetCount(list166, num); - CollectionsMarshal.AsSpan(list166)[0] = "liza"; - questRoot21.Author = list166; - num = 1; - List list167 = new List(num); - CollectionsMarshal.SetCount(list167, num); - ref QuestSequence reference121 = ref CollectionsMarshal.AsSpan(list167)[0]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032227u, new Vector3(665.8884f, 297.47797f, -160.57074f), 814); - obj112.Steps = list168; - reference121 = obj112; - questRoot21.QuestSequence = list167; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(4045); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list169 = new List(num); - CollectionsMarshal.SetCount(list169, num); - CollectionsMarshal.AsSpan(list169)[0] = "liza"; - questRoot22.Author = list169; - num = 1; - List list170 = new List(num); - CollectionsMarshal.SetCount(list170, num); - ref QuestSequence reference122 = ref CollectionsMarshal.AsSpan(list170)[0]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032227u, new Vector3(665.8884f, 297.47797f, -160.57074f), 814); - obj113.Steps = list171; - reference122 = obj113; - questRoot22.QuestSequence = list170; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(4046); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list172 = new List(num); - CollectionsMarshal.SetCount(list172, num); - CollectionsMarshal.AsSpan(list172)[0] = "liza"; - questRoot23.Author = list172; - num = 1; - List list173 = new List(num); - CollectionsMarshal.SetCount(list173, num); - ref QuestSequence reference123 = ref CollectionsMarshal.AsSpan(list173)[0]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032227u, new Vector3(665.8884f, 297.47797f, -160.57074f), 814); - obj114.Steps = list174; - reference123 = obj114; - questRoot23.QuestSequence = list173; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(4047); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list175 = new List(num); - CollectionsMarshal.SetCount(list175, num); - CollectionsMarshal.AsSpan(list175)[0] = "liza"; - questRoot24.Author = list175; - num = 1; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - ref QuestSequence reference124 = ref CollectionsMarshal.AsSpan(list176)[0]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032227u, new Vector3(665.8884f, 297.47797f, -160.57074f), 814); - obj115.Steps = list177; - reference124 = obj115; - questRoot24.QuestSequence = list176; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(4048); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list178 = new List(num); - CollectionsMarshal.SetCount(list178, num); - CollectionsMarshal.AsSpan(list178)[0] = "liza"; - questRoot25.Author = list178; - num = 1; - List list179 = new List(num); - CollectionsMarshal.SetCount(list179, num); - ref QuestSequence reference125 = ref CollectionsMarshal.AsSpan(list179)[0]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032227u, new Vector3(665.8884f, 297.47797f, -160.57074f), 814); - obj116.Steps = list180; - reference125 = obj116; - questRoot25.QuestSequence = list179; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(4049); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list181 = new List(num); - CollectionsMarshal.SetCount(list181, num); - CollectionsMarshal.AsSpan(list181)[0] = "liza"; - questRoot26.Author = list181; - num = 1; - List list182 = new List(num); - CollectionsMarshal.SetCount(list182, num); - ref QuestSequence reference126 = ref CollectionsMarshal.AsSpan(list182)[0]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - CollectionsMarshal.AsSpan(list183)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032227u, new Vector3(665.8884f, 297.47797f, -160.57074f), 814); - obj117.Steps = list183; - reference126 = obj117; - questRoot26.QuestSequence = list182; - AddQuest(questId26, questRoot26); - } - - private static void LoadQuests81() - { - QuestId questId = new QuestId(4050); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference2 = ref CollectionsMarshal.AsSpan(list3)[0]; - QuestStep obj2 = new QuestStep(EInteractionType.AcceptQuest, 1036042u, new Vector3(655.1765f, 297.57593f, -171.31305f), 814) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaStilltide, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - int num3 = 2; - List list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - Span span2 = CollectionsMarshal.AsSpan(list4); - span2[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKTA521_04050_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKTA521_04050_A1_000_002") - }; - span2[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKTA521_04050_Q2_000_000"), - Answer = new ExcelRef("TEXT_LUCKTA521_04050_A2_000_001") - }; - obj2.DialogueChoices = list4; - reference2 = obj2; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference3 = ref span[1]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 1 - }; - num2 = 7; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - Span span3 = CollectionsMarshal.AsSpan(list5); - span3[0] = new QuestStep(EInteractionType.Interact, 2010832u, new Vector3(738.3076f, 285.60303f, -82.871826f), 814) - { - TargetTerritoryId = (ushort)895, - Fly = true - }; - span3[1] = new QuestStep(EInteractionType.Interact, 2010830u, new Vector3(-0.015319824f, 1.2664795f, -94.86542f), 895) - { - TargetTerritoryId = (ushort)896 - }; - span3[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-499.9735f, 463.36023f, 177.62115f), 896); - span3[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-499.9782f, 400.99997f, 4.3087606f), 896); - span3[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-557.9587f, 383f, -141.83781f), 896) - { - RestartNavigationIfCancelled = false - }; - ref QuestStep reference4 = ref span3[5]; - QuestStep obj4 = new QuestStep(EInteractionType.Interact, 2011457u, new Vector3(-643.4882f, 338.39917f, -353.8415f), 896) - { - DelaySecondsAtStart = 2f - }; - num3 = 6; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - Span span4 = CollectionsMarshal.AsSpan(list6); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj4.CompletionQuestVariablesFlags = list6; - reference4 = obj4; - ref QuestStep reference5 = ref span3[6]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2011456u, new Vector3(-679.56055f, 335.31702f, -307.88135f), 896); - num3 = 6; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span5 = CollectionsMarshal.AsSpan(list7); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list7; - reference5 = questStep; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference6 = ref span[2]; - QuestSequence obj5 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.CompleteQuest, 1036042u, new Vector3(655.1765f, 297.57593f, -171.31305f), 814) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaStilltide - }; - obj5.Steps = list8; - reference6 = obj5; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(4051); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - CollectionsMarshal.AsSpan(list9)[0] = "liza"; - questRoot2.Author = list9; - num = 3; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - Span span6 = CollectionsMarshal.AsSpan(list10); - ref QuestSequence reference7 = ref span6[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - ref QuestStep reference8 = ref CollectionsMarshal.AsSpan(list11)[0]; - QuestStep obj7 = new QuestStep(EInteractionType.AcceptQuest, 1036043u, new Vector3(653.8948f, 297.51984f, -171.80133f), 814) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaStilltide, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - CollectionsMarshal.AsSpan(list12)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKTA522_04051_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKTA522_04051_A1_000_001") - }; - obj7.DialogueChoices = list12; - reference8 = obj7; - obj6.Steps = list11; - reference7 = obj6; - ref QuestSequence reference9 = ref span6[1]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 1 - }; - num2 = 25; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - Span span7 = CollectionsMarshal.AsSpan(list13); - ref QuestStep reference10 = ref span7[0]; - QuestStep obj9 = new QuestStep(EInteractionType.Interact, 2011154u, new Vector3(703.1509f, 295.3993f, -160.20447f), 814) - { - TargetTerritoryId = (ushort)928 - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - CollectionsMarshal.AsSpan(list14)[0] = 928; - skipStepConditions.InTerritory = list14; - skipConditions.StepIf = skipStepConditions; - obj9.SkipConditions = skipConditions; - reference10 = obj9; - span7[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-352.89597f, 106.840775f, 337.33798f), 928) - { - RestartNavigationIfCancelled = false - }; - span7[2] = new QuestStep(EInteractionType.None, null, null, 928) - { - DelaySecondsAtStart = 3f - }; - span7[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-271.62762f, 69.97228f, 273.0655f), 928) - { - RestartNavigationIfCancelled = false - }; - span7[4] = new QuestStep(EInteractionType.None, null, null, 928) - { - DelaySecondsAtStart = 2f - }; - span7[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-234.40671f, 30f, 168.78214f), 928); - span7[6] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-237.90593f, 36.4109f, 107.25123f), 928); - span7[7] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-264.81836f, 20.597822f, 72.87652f), 928) - { - DisableNavmesh = true - }; - span7[8] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-246.3392f, 2.727209f, 47.629112f), 928) - { - DisableNavmesh = true - }; - ref QuestStep reference11 = ref span7[9]; - QuestStep obj10 = new QuestStep(EInteractionType.Interact, 2011477u, new Vector3(-233.6004f, 2.5177002f, 49.637573f), 928) - { - DisableNavmesh = true - }; - num3 = 6; - List> list15 = new List>(num3); - CollectionsMarshal.SetCount(list15, num3); - Span> span8 = CollectionsMarshal.AsSpan(list15); - span8[0] = null; - span8[1] = null; - span8[2] = null; - ref List reference12 = ref span8[3]; - int num4 = 1; - List list16 = new List(num4); - CollectionsMarshal.SetCount(list16, num4); - CollectionsMarshal.AsSpan(list16)[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - reference12 = list16; - span8[4] = null; - span8[5] = null; - obj10.RequiredQuestVariables = list15; - num3 = 6; - List list17 = new List(num3); - CollectionsMarshal.SetCount(list17, num3); - Span span9 = CollectionsMarshal.AsSpan(list17); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj10.CompletionQuestVariablesFlags = list17; - reference11 = obj10; - span7[10] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-246.3392f, 2.727209f, 47.629112f), 928) - { - DisableNavmesh = true - }; - span7[11] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-233.77907f, -3.860001f, 31.767477f), 928) - { - DisableNavmesh = true - }; - span7[12] = new QuestStep(EInteractionType.Interact, 2011234u, new Vector3(-230.12134f, -2.609314f, 11.612061f), 928) - { - TargetTerritoryId = (ushort)928 - }; - span7[13] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-229.71193f, -115.06235f, -115.379684f), 928) - { - RestartNavigationIfCancelled = false - }; - span7[14] = new QuestStep(EInteractionType.None, null, null, 928) - { - DelaySecondsAtStart = 2f - }; - span7[15] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-229.93883f, -150.49908f, -219.08035f), 928); - span7[16] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-229.96237f, -168.28922f, -329.79776f), 928) - { - DisableNavmesh = true - }; - span7[17] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-237.64621f, -168.16484f, -336.7267f), 928) - { - DelaySecondsAtStart = 2f, - RestartNavigationIfCancelled = false - }; - span7[18] = new QuestStep(EInteractionType.None, null, null, 928) - { - DelaySecondsAtStart = 2f - }; - ref QuestStep reference13 = ref span7[19]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2011458u, new Vector3(-295.1858f, -203.93689f, -329.36603f), 928); - num3 = 6; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - Span span10 = CollectionsMarshal.AsSpan(list18); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list18; - reference13 = questStep2; - ref QuestStep reference14 = ref span7[20]; - QuestStep obj11 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-305.8408f, -204.6433f, -336.8385f), 928) - { - DelaySecondsAtStart = 2f, - RestartNavigationIfCancelled = false - }; - num3 = 6; - List> list19 = new List>(num3); - CollectionsMarshal.SetCount(list19, num3); - Span> span11 = CollectionsMarshal.AsSpan(list19); - span11[0] = null; - span11[1] = null; - span11[2] = null; - ref List reference15 = ref span11[3]; - num4 = 1; - List list20 = new List(num4); - CollectionsMarshal.SetCount(list20, num4); - CollectionsMarshal.AsSpan(list20)[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference15 = list20; - span11[4] = null; - span11[5] = null; - obj11.RequiredQuestVariables = list19; - reference14 = obj11; - span7[21] = new QuestStep(EInteractionType.None, null, null, 928) - { - DelaySecondsAtStart = 2f - }; - ref QuestStep reference16 = ref span7[22]; - QuestStep obj12 = new QuestStep(EInteractionType.Jump, null, new Vector3(-366.50647f, -241.32147f, -311.57397f), 928) - { - StopDistance = 0.5f, - DelaySecondsAtStart = 2f, - JumpDestination = new JumpDestination - { - Position = new Vector3(-366.558f, -249.74661f, -301.74612f) - } - }; - num3 = 6; - List> list21 = new List>(num3); - CollectionsMarshal.SetCount(list21, num3); - Span> span12 = CollectionsMarshal.AsSpan(list21); - span12[0] = null; - span12[1] = null; - span12[2] = null; - ref List reference17 = ref span12[3]; - num4 = 1; - List list22 = new List(num4); - CollectionsMarshal.SetCount(list22, num4); - CollectionsMarshal.AsSpan(list22)[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference17 = list22; - span12[4] = null; - span12[5] = null; - obj12.RequiredQuestVariables = list21; - reference16 = obj12; - ref QuestStep reference18 = ref span7[23]; - QuestStep obj13 = new QuestStep(EInteractionType.Interact, 2011269u, new Vector3(-366.50647f, -248.43219f, -285.6947f), 928) - { - TargetTerritoryId = (ushort)928 - }; - num3 = 6; - List> list23 = new List>(num3); - CollectionsMarshal.SetCount(list23, num3); - Span> span13 = CollectionsMarshal.AsSpan(list23); - span13[0] = null; - span13[1] = null; - span13[2] = null; - ref List reference19 = ref span13[3]; - num4 = 1; - List list24 = new List(num4); - CollectionsMarshal.SetCount(list24, num4); - CollectionsMarshal.AsSpan(list24)[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference19 = list24; - span13[4] = null; - span13[5] = null; - obj13.RequiredQuestVariables = list23; - reference18 = obj13; - ref QuestStep reference20 = ref span7[24]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2011459u, new Vector3(205.8899f, -500.0229f, -167.86456f), 928); - num3 = 6; - List> list25 = new List>(num3); - CollectionsMarshal.SetCount(list25, num3); - Span> span14 = CollectionsMarshal.AsSpan(list25); - span14[0] = null; - span14[1] = null; - span14[2] = null; - ref List reference21 = ref span14[3]; - num4 = 1; - List list26 = new List(num4); - CollectionsMarshal.SetCount(list26, num4); - CollectionsMarshal.AsSpan(list26)[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference21 = list26; - span14[4] = null; - span14[5] = null; - questStep3.RequiredQuestVariables = list25; - reference20 = questStep3; - obj8.Steps = list13; - reference9 = obj8; - ref QuestSequence reference22 = ref span6[2]; - QuestSequence obj14 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.CompleteQuest, 1036043u, new Vector3(653.8948f, 297.51984f, -171.80133f), 814) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaStilltide - }; - obj14.Steps = list27; - reference22 = obj14; - questRoot2.QuestSequence = list10; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(4052); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - CollectionsMarshal.AsSpan(list28)[0] = "liza"; - questRoot3.Author = list28; - num = 3; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - Span span15 = CollectionsMarshal.AsSpan(list29); - ref QuestSequence reference23 = ref span15[0]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - ref QuestStep reference24 = ref CollectionsMarshal.AsSpan(list30)[0]; - QuestStep obj16 = new QuestStep(EInteractionType.AcceptQuest, 1036044u, new Vector3(652.7046f, 297.47797f, -171.03839f), 814) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaTomra - }; - num3 = 1; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - CollectionsMarshal.AsSpan(list31)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKTA523_04052_Q1_000_000"), - Answer = new ExcelRef("TEXT_LUCKTA523_04052_A1_000_001") - }; - obj16.DialogueChoices = list31; - reference24 = obj16; - obj15.Steps = list30; - reference23 = obj15; - ref QuestSequence reference25 = ref span15[1]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - ref QuestStep reference26 = ref CollectionsMarshal.AsSpan(list32)[0]; - QuestStep obj18 = new QuestStep(EInteractionType.Combat, null, new Vector3(552.4747f, 294.7846f, -137.54712f), 814) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - CollectionsMarshal.AsSpan(list33)[0] = 10391u; - obj18.KillEnemyDataIds = list33; - obj18.CombatItemUse = new CombatItemUse - { - ItemId = 2003071u, - Condition = ECombatItemUseCondition.HealthPercent, - Value = 30 - }; - reference26 = obj18; - obj17.Steps = list32; - reference25 = obj17; - ref QuestSequence reference27 = ref span15[2]; - QuestSequence obj19 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.CompleteQuest, 1036044u, new Vector3(652.7046f, 297.47797f, -171.03839f), 814) - { - Fly = true - }; - obj19.Steps = list34; - reference27 = obj19; - questRoot3.QuestSequence = list29; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(4053); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - CollectionsMarshal.AsSpan(list35)[0] = "liza"; - questRoot4.Author = list35; - num = 3; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - Span span16 = CollectionsMarshal.AsSpan(list36); - ref QuestSequence reference28 = ref span16[0]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.AcceptQuest, 1032227u, new Vector3(665.8884f, 297.47797f, -160.57074f), 814) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaStilltide, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj20.Steps = list37; - reference28 = obj20; - ref QuestSequence reference29 = ref span16[1]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.Interact, 1036045u, new Vector3(10.0251465f, 82.83513f, -53.60504f), 820) - { - AetheryteShortcut = EAetheryteLocation.Eulmore - }; - obj21.Steps = list38; - reference29 = obj21; - ref QuestSequence reference30 = ref span16[2]; - QuestSequence obj22 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.CompleteQuest, 1032227u, new Vector3(665.8884f, 297.47797f, -160.57074f), 814) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KholusiaStilltide - }; - obj22.Steps = list39; - reference30 = obj22; - questRoot4.QuestSequence = list36; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(4058); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - CollectionsMarshal.AsSpan(list40)[0] = "liza"; - questRoot5.Author = list40; - num = 3; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - Span span17 = CollectionsMarshal.AsSpan(list41); - ref QuestSequence reference31 = ref span17[0]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.AcceptQuest, 1035613u, new Vector3(-2.456726f, 0f, -9.720032f), 351) - { - StopDistance = 5f - }; - obj23.Steps = list42; - reference31 = obj23; - ref QuestSequence reference32 = ref span17[1]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.Interact, 1036324u, new Vector3(739.681f, 70f, 535.4237f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter - }; - obj24.Steps = list43; - reference32 = obj24; - ref QuestSequence reference33 = ref span17[2]; - QuestSequence obj25 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.CompleteQuest, 1036329u, new Vector3(741.1155f, 70f, 527.7333f), 621); - obj25.Steps = list44; - reference33 = obj25; - questRoot5.QuestSequence = list41; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(4059); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - CollectionsMarshal.AsSpan(list45)[0] = "liza"; - questRoot6.Author = list45; - num = 5; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - Span span18 = CollectionsMarshal.AsSpan(list46); - ref QuestSequence reference34 = ref span18[0]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.AcceptQuest, 1036330u, new Vector3(742.1836f, 70f, 529.0454f), 621); - obj26.Steps = list47; - reference34 = obj26; - ref QuestSequence reference35 = ref span18[1]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.Interact, 1036334u, new Vector3(-73.56378f, 8.05915f, 29.3125f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard - }; - obj27.Steps = list48; - reference35 = obj27; - ref QuestSequence reference36 = ref span18[2]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.Interact, 1013167u, new Vector3(125.68848f, 24.458836f, 2.456604f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj28.Steps = list49; - reference36 = obj28; - ref QuestSequence reference37 = ref span18[3]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.Interact, 1036342u, new Vector3(161.91345f, -15.134371f, 33.279907f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardAthenaeumAstrologicum - } - }; - obj29.Steps = list50; - reference37 = obj29; - ref QuestSequence reference38 = ref span18[4]; - QuestSequence obj30 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.CompleteQuest, 1036344u, new Vector3(-521.5991f, -103.946754f, 143.63306f), 402); - obj30.Steps = list51; - reference38 = obj30; - questRoot6.QuestSequence = list46; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(4060); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - CollectionsMarshal.AsSpan(list52)[0] = "liza"; - questRoot7.Author = list52; - num = 7; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - Span span19 = CollectionsMarshal.AsSpan(list53); - ref QuestSequence reference39 = ref span19[0]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.AcceptQuest, 1036346u, new Vector3(-520.531f, -103.99243f, 144.24353f), 402); - obj31.Steps = list54; - reference39 = obj31; - ref QuestSequence reference40 = ref span19[1]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.Interact, 2011483u, new Vector3(-681.5442f, -41.153625f, 424.58215f), 402) - { - StopDistance = 1f, - Fly = true - }; - obj32.Steps = list55; - reference40 = obj32; - ref QuestSequence reference41 = ref span19[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.Interact, 1036588u, new Vector3(-683.3448f, -41.403988f, 426.44385f), 402) - { - StopDistance = 5f - }; - obj33.Steps = list56; - reference41 = obj33; - ref QuestSequence reference42 = ref span19[3]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.Interact, 1036353u, new Vector3(-229.38892f, 246.3967f, 96.75745f), 402) - { - Fly = true - }; - obj34.Steps = list57; - reference42 = obj34; - ref QuestSequence reference43 = ref span19[4]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - Span span20 = CollectionsMarshal.AsSpan(list58); - ref QuestStep reference44 = ref span20[0]; - QuestStep obj36 = new QuestStep(EInteractionType.Interact, 1036358u, new Vector3(-215.16754f, 253.81813f, -13.16864f), 402) - { - Fly = true - }; - num3 = 6; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - Span span21 = CollectionsMarshal.AsSpan(list59); - span21[0] = null; - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj36.CompletionQuestVariablesFlags = list59; - reference44 = obj36; - ref QuestStep reference45 = ref span20[1]; - QuestStep obj37 = new QuestStep(EInteractionType.Interact, 1036359u, new Vector3(-244.55634f, 263.18918f, -24.521301f), 402) - { - Mount = true, - Fly = true - }; - num3 = 6; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - Span span22 = CollectionsMarshal.AsSpan(list60); - span22[0] = null; - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj37.CompletionQuestVariablesFlags = list60; - reference45 = obj37; - ref QuestStep reference46 = ref span20[2]; - QuestStep obj38 = new QuestStep(EInteractionType.Interact, 1036357u, new Vector3(-275.4406f, 252f, -20.981201f), 402) - { - DisableNavmesh = true - }; - num3 = 6; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - Span span23 = CollectionsMarshal.AsSpan(list61); - span23[0] = null; - span23[1] = null; - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj38.CompletionQuestVariablesFlags = list61; - reference46 = obj38; - obj35.Steps = list58; - reference43 = obj35; - ref QuestSequence reference47 = ref span19[5]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - ref QuestStep reference48 = ref CollectionsMarshal.AsSpan(list62)[0]; - QuestStep obj40 = new QuestStep(EInteractionType.Interact, 1036353u, new Vector3(-229.38892f, 246.3967f, 96.75745f), 402) - { - Fly = true - }; - num3 = 1; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - CollectionsMarshal.AsSpan(list63)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMK103_04060_Q1_000_100"), - Answer = new ExcelRef("TEXT_LUCKMK103_04060_A2_000_100") - }; - obj40.DialogueChoices = list63; - reference48 = obj40; - obj39.Steps = list62; - reference47 = obj39; - ref QuestSequence reference49 = ref span19[6]; - QuestSequence obj41 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.CompleteQuest, 1036357u, new Vector3(-275.4406f, 252f, -20.981201f), 402) - { - Fly = true - }; - obj41.Steps = list64; - reference49 = obj41; - questRoot7.QuestSequence = list53; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(4061); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - CollectionsMarshal.AsSpan(list65)[0] = "liza"; - questRoot8.Author = list65; - num = 5; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - Span span24 = CollectionsMarshal.AsSpan(list66); - ref QuestSequence reference50 = ref span24[0]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.AcceptQuest, 1036953u, new Vector3(-275.4406f, 252f, -20.981201f), 402); - obj42.Steps = list67; - reference50 = obj42; - ref QuestSequence reference51 = ref span24[1]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Interact, 2011484u, new Vector3(28.366455f, 271.229f, -35.355164f), 402) - { - Fly = true - }; - obj43.Steps = list68; - reference51 = obj43; - ref QuestSequence reference52 = ref span24[2]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1036351u, new Vector3(-681.33057f, -41.32259f, 427.66455f), 402) - { - Fly = true - }; - obj44.Steps = list69; - reference52 = obj44; - ref QuestSequence reference53 = ref span24[3]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.Interact, 1036351u, new Vector3(-681.33057f, -41.32259f, 427.66455f), 402); - obj45.Steps = list70; - reference53 = obj45; - ref QuestSequence reference54 = ref span24[4]; - QuestSequence obj46 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.CompleteQuest, 1036352u, new Vector3(-679.92676f, -41.30151f, 429.00732f), 402); - obj46.Steps = list71; - reference54 = obj46; - questRoot8.QuestSequence = list66; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(4062); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - CollectionsMarshal.AsSpan(list72)[0] = "liza"; - questRoot9.Author = list72; - num = 6; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - Span span25 = CollectionsMarshal.AsSpan(list73); - ref QuestSequence reference55 = ref span25[0]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.AcceptQuest, 1036352u, new Vector3(-679.92676f, -41.30151f, 429.00732f), 402); - obj47.Steps = list74; - reference55 = obj47; - ref QuestSequence reference56 = ref span25[1]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.Interact, 1036368u, new Vector3(-137.56012f, 4.1f, -109.819214f), 130) - { - StopDistance = 5f - }; - obj48.Steps = list75; - reference56 = obj48; - ref QuestSequence reference57 = ref span25[2]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.Interact, 1036374u, new Vector3(-25.0401f, 83.19998f, 10.452393f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAirship - } - }; - obj49.Steps = list76; - reference57 = obj49; - ref QuestSequence reference58 = ref span25[3]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Duty, null, null, 130) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 777u - } - }; - obj50.Steps = list77; - reference58 = obj50; - span25[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference59 = ref span25[5]; - QuestSequence obj51 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.CompleteQuest, 1036376u, new Vector3(-20.065674f, 83.2f, 15.121643f), 130) - { - StopDistance = 7f - }; - obj51.Steps = list78; - reference59 = obj51; - questRoot9.QuestSequence = list73; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(4063); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - CollectionsMarshal.AsSpan(list79)[0] = "liza"; - questRoot10.Author = list79; - num = 6; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - Span span26 = CollectionsMarshal.AsSpan(list80); - ref QuestSequence reference60 = ref span26[0]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.AcceptQuest, 1036376u, new Vector3(-20.065674f, 83.2f, 15.121643f), 130) - { - StopDistance = 7f - }; - obj52.Steps = list81; - reference60 = obj52; - ref QuestSequence reference61 = ref span26[1]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - ref QuestStep reference62 = ref CollectionsMarshal.AsSpan(list82)[0]; - QuestStep obj54 = new QuestStep(EInteractionType.Interact, 1036388u, new Vector3(-76.46301f, 42f, 58.243652f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAlchemist - } - }; - num3 = 1; - List list83 = new List(num3); - CollectionsMarshal.SetCount(list83, num3); - CollectionsMarshal.AsSpan(list83)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_LUCKMK106_04063_Q1_000_100"), - Answer = new ExcelRef("TEXT_LUCKMK106_04063_A2_000_100") - }; - obj54.DialogueChoices = list83; - reference62 = obj54; - obj53.Steps = list82; - reference61 = obj53; - ref QuestSequence reference63 = ref span26[2]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.Interact, 1036391u, new Vector3(-77.71423f, 42f, 58.854004f), 131); - obj55.Steps = list84; - reference63 = obj55; - ref QuestSequence reference64 = ref span26[3]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.Interact, 1036392u, new Vector3(-14.328308f, 36.01278f, 61.08191f), 131); - obj56.Steps = list85; - reference64 = obj56; - ref QuestSequence reference65 = ref span26[4]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj57.Steps = list86; - reference65 = obj57; - ref QuestSequence reference66 = ref span26[5]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.CompleteQuest, 1036399u, new Vector3(-3.402832f, 0.01804012f, -8.499329f), 351); - obj58.Steps = list87; - reference66 = obj58; - questRoot10.QuestSequence = list80; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(4064); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list88 = new List(num); - CollectionsMarshal.SetCount(list88, num); - CollectionsMarshal.AsSpan(list88)[0] = "liza"; - questRoot11.Author = list88; - num = 5; - List list89 = new List(num); - CollectionsMarshal.SetCount(list89, num); - Span span27 = CollectionsMarshal.AsSpan(list89); - ref QuestSequence reference67 = ref span27[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.AcceptQuest, 1036400u, new Vector3(-2.5177612f, 0f, -9.170715f), 351); - obj59.Steps = list90; - reference67 = obj59; - ref QuestSequence reference68 = ref span27[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.Interact, 1024065u, new Vector3(749.9961f, 70.139626f, 522.88086f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter - }; - obj60.Steps = list91; - reference68 = obj60; - ref QuestSequence reference69 = ref span27[2]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.Interact, 1036325u, new Vector3(740.0167f, 70f, 534.02f), 621); - obj61.Steps = list92; - reference69 = obj61; - ref QuestSequence reference70 = ref span27[3]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.Interact, 1037011u, new Vector3(741.7257f, 70f, 534.63025f), 621); - obj62.Steps = list93; - reference70 = obj62; - ref QuestSequence reference71 = ref span27[4]; - QuestSequence obj63 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.CompleteQuest, 1036424u, new Vector3(-641.93176f, 130f, -503.19678f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens - }; - obj63.Steps = list94; - reference71 = obj63; - questRoot11.QuestSequence = list89; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(4065); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list95 = new List(num); - CollectionsMarshal.SetCount(list95, num); - CollectionsMarshal.AsSpan(list95)[0] = "liza"; - questRoot12.Author = list95; - num = 6; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - Span span28 = CollectionsMarshal.AsSpan(list96); - ref QuestSequence reference72 = ref span28[0]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.AcceptQuest, 1036426u, new Vector3(-642.3591f, 130f, -504.63113f), 612) - { - StopDistance = 5f - }; - obj64.Steps = list97; - reference72 = obj64; - ref QuestSequence reference73 = ref span28[1]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.Interact, 1036428u, new Vector3(125.993774f, 12.9667015f, -249.37823f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - } - }; - obj65.Steps = list98; - reference73 = obj65; - ref QuestSequence reference74 = ref span28[2]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 1005577u, new Vector3(28.488525f, -3.6319542f, 210.62024f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - obj66.Steps = list99; - reference74 = obj66; - ref QuestSequence reference75 = ref span28[3]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.Interact, 1000460u, new Vector3(-159.41101f, 4.054107f, -4.1047363f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - obj67.Steps = list100; - reference75 = obj67; - ref QuestSequence reference76 = ref span28[4]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.Interact, 1003027u, new Vector3(4.8981323f, -1.92944f, -0.19836426f), 205); - obj68.Steps = list101; - reference76 = obj68; - ref QuestSequence reference77 = ref span28[5]; - QuestSequence obj69 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.CompleteQuest, 1036436u, new Vector3(4.2266846f, -1.858f, 2.7922974f), 205); - obj69.Steps = list102; - reference77 = obj69; - questRoot12.QuestSequence = list96; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(4066); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - CollectionsMarshal.AsSpan(list103)[0] = "liza"; - questRoot13.Author = list103; - num = 5; - List list104 = new List(num); - CollectionsMarshal.SetCount(list104, num); - Span span29 = CollectionsMarshal.AsSpan(list104); - ref QuestSequence reference78 = ref span29[0]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.AcceptQuest, 1003027u, new Vector3(4.8981323f, -1.92944f, -0.19836426f), 205); - obj70.Steps = list105; - reference78 = obj70; - ref QuestSequence reference79 = ref span29[1]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.Interact, 1036439u, new Vector3(57.90796f, -8.556444f, 107.16406f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj71.Steps = list106; - reference79 = obj71; - ref QuestSequence reference80 = ref span29[2]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - ref QuestStep reference81 = ref CollectionsMarshal.AsSpan(list107)[0]; - QuestStep obj73 = new QuestStep(EInteractionType.SinglePlayerDuty, 1036441u, new Vector3(32.60852f, -19.000002f, 103.34924f), 132) - { - StopDistance = 7f, - Comment = "Death Unto Dawn" - }; - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions(); - num3 = 3; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - Span span30 = CollectionsMarshal.AsSpan(list108); - span30[0] = "(Lunar Odin) AI doesn't pull Odin to start combat"; - span30[1] = "(Lunar Ravana) AI doesn't pull Ravana to start combat"; - span30[2] = "(Lunar Ravana) AI doesn't move out of directional parry directions"; - singlePlayerDutyOptions.Notes = list108; - obj73.SinglePlayerDutyOptions = singlePlayerDutyOptions; - reference81 = obj73; - obj72.Steps = list107; - reference80 = obj72; - ref QuestSequence reference82 = ref span29[3]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.None, null, null, 351) - { - Comment = "Credits" - }; - obj74.Steps = list109; - reference82 = obj74; - ref QuestSequence reference83 = ref span29[4]; - QuestSequence obj75 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.CompleteQuest, 1036444u, new Vector3(-1.6937866f, 0f, -4.135254f), 351); - obj75.Steps = list110; - reference83 = obj75; - questRoot13.QuestSequence = list104; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(4067); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - CollectionsMarshal.AsSpan(list111)[0] = "kaiser"; - questRoot14.Author = list111; - num = 3; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - Span span31 = CollectionsMarshal.AsSpan(list112); - ref QuestSequence reference84 = ref span31[0]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039243u, new Vector3(-90.28766f, 20f, 85.55737f), 129) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj76.Steps = list113; - reference84 = obj76; - ref QuestSequence reference85 = ref span31[1]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.Interact, 1039265u, new Vector3(-27.542603f, 42.597717f, 163.7445f), 134) - { - StopDistance = 5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaZephyrGate - } - }; - obj77.Steps = list114; - reference85 = obj77; - ref QuestSequence reference86 = ref span31[2]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - ref QuestStep reference87 = ref CollectionsMarshal.AsSpan(list115)[0]; - QuestStep obj79 = new QuestStep(EInteractionType.CompleteQuest, 1039265u, new Vector3(-27.542603f, 42.597717f, 163.7445f), 134) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.MiddleLaNosceaSummerfordFarms, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - CollectionsMarshal.AsSpan(list116)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - ExcelSheet = "quest/040/AktKbb101_04067", - Prompt = new ExcelRef("TEXT_AKTKBB101_04067_Q3_000_000") - }; - obj79.DialogueChoices = list116; - reference87 = obj79; - obj78.Steps = list115; - reference86 = obj78; - questRoot14.QuestSequence = list112; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(4068); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - CollectionsMarshal.AsSpan(list117)[0] = "kaiser"; - questRoot15.Author = list117; - num = 10; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - Span span32 = CollectionsMarshal.AsSpan(list118); - ref QuestSequence reference88 = ref span32[0]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 0 - }; - num2 = 4; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - Span span33 = CollectionsMarshal.AsSpan(list119); - span33[0] = new QuestStep(EInteractionType.UseItem, null, new Vector3(-25.441345f, 42.597717f, 162.65016f), 134) - { - StopDistance = 5f, - Fly = true, - Comment = "Try to use the coffer Bookwyrm's Attire Coffer (IL 385)", - AetheryteShortcut = EAetheryteLocation.MiddleLaNosceaSummerfordFarms, - ItemId = 35873u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span33[1] = new QuestStep(EInteractionType.EquipItem, null, null, 134) - { - Comment = "Try to Equip Stonegold Milpreves", - ItemId = 35778u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span33[2] = new QuestStep(EInteractionType.EquipRecommended, null, null, 131); - span33[3] = new QuestStep(EInteractionType.AcceptQuest, 1039265u, new Vector3(-27.542603f, 42.597717f, 163.7445f), 134) - { - StopDistance = 5f - }; - obj80.Steps = list119; - reference88 = obj80; - ref QuestSequence reference89 = ref span32[1]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.Interact, 1039244u, new Vector3(62.05847f, 207f, 49.332397f), 478) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj81.Steps = list120; - reference89 = obj81; - ref QuestSequence reference90 = ref span32[2]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.Interact, 2011759u, new Vector3(20.065613f, 215.44214f, -108.171265f), 478) - { - StopDistance = 2f, - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj82.Steps = list121; - reference90 = obj82; - ref QuestSequence reference91 = ref span32[3]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.Interact, 1039246u, new Vector3(71.64111f, 213.03185f, -110.7348f), 478) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj83.Steps = list122; - reference91 = obj83; - ref QuestSequence reference92 = ref span32[4]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.Interact, 1039247u, new Vector3(68.7113f, 212.84532f, -109.9718f), 478) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj84.Steps = list123; - reference92 = obj84; - ref QuestSequence reference93 = ref span32[5]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.Interact, 1039248u, new Vector3(-612.2988f, 146.86842f, 42.435303f), 399) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshirePrologueGate - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }, - AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj85.Steps = list124; - reference93 = obj85; - ref QuestSequence reference94 = ref span32[6]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - ref QuestStep reference95 = ref CollectionsMarshal.AsSpan(list125)[0]; - QuestStep obj87 = new QuestStep(EInteractionType.SinglePlayerDuty, 1039248u, new Vector3(-612.2988f, 146.86842f, 42.435303f), 399) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshirePrologueGate - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition obj88 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list126 = new List(num3); - CollectionsMarshal.SetCount(list126, num3); - CollectionsMarshal.AsSpan(list126)[0] = 399; - obj88.InTerritory = list126; - skipConditions2.AetheryteShortcutIf = obj88; - skipConditions2.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj87.SkipConditions = skipConditions2; - reference95 = obj87; - obj86.Steps = list125; - reference94 = obj86; - span32[7] = new QuestSequence - { - Sequence = 7 - }; - ref QuestSequence reference96 = ref span32[8]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - ref QuestStep reference97 = ref CollectionsMarshal.AsSpan(list127)[0]; - QuestStep obj90 = new QuestStep(EInteractionType.Interact, 1039248u, new Vector3(-612.2988f, 146.86842f, 42.435303f), 399) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshirePrologueGate - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition obj91 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - CollectionsMarshal.AsSpan(list128)[0] = 399; - obj91.InTerritory = list128; - skipConditions3.AetheryteShortcutIf = obj91; - skipConditions3.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj90.SkipConditions = skipConditions3; - reference97 = obj90; - obj89.Steps = list127; - reference96 = obj89; - ref QuestSequence reference98 = ref span32[9]; - QuestSequence obj92 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039249u, new Vector3(0.3508911f, 210.99998f, -17.746277f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj92.Steps = list129; - reference98 = obj92; - questRoot15.QuestSequence = list118; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(4069); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list130 = new List(num); - CollectionsMarshal.SetCount(list130, num); - CollectionsMarshal.AsSpan(list130)[0] = "kaiser"; - questRoot16.Author = list130; - num = 9; - List list131 = new List(num); - CollectionsMarshal.SetCount(list131, num); - Span span34 = CollectionsMarshal.AsSpan(list131); - ref QuestSequence reference99 = ref span34[0]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039249u, new Vector3(0.3508911f, 210.99998f, -17.746277f), 478) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj93.Steps = list132; - reference99 = obj93; - ref QuestSequence reference100 = ref span34[1]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.Interact, 1039250u, new Vector3(-29.251587f, -2.0576189f, -161.08954f), 141) - { - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - obj94.Steps = list133; - reference100 = obj94; - ref QuestSequence reference101 = ref span34[2]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.Interact, 1039256u, new Vector3(59.03711f, 2.9501379f, -225.97089f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj95.Steps = list134; - reference101 = obj95; - ref QuestSequence reference102 = ref span34[3]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - ref QuestStep reference103 = ref CollectionsMarshal.AsSpan(list135)[0]; - QuestStep obj97 = new QuestStep(EInteractionType.Combat, null, new Vector3(177.52213f, -3.5157094f, -133.6495f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - CollectionsMarshal.AsSpan(list136)[0] = new ComplexCombatData - { - DataId = 14031u, - MinimumKillCount = 1u - }; - obj97.ComplexCombatData = list136; - obj97.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - reference103 = obj97; - obj96.Steps = list135; - reference102 = obj96; - ref QuestSequence reference104 = ref span34[4]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.Interact, 1039263u, new Vector3(185.25977f, -4.128851f, -126.78729f), 141) - { - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj98.Steps = list137; - reference104 = obj98; - ref QuestSequence reference105 = ref span34[5]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.Interact, 1039258u, new Vector3(122.72827f, 0.111846395f, -215.22852f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj99.Steps = list138; - reference105 = obj99; - ref QuestSequence reference106 = ref span34[6]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.Interact, 1039271u, new Vector3(122.819824f, 0.10310017f, -215.2591f), 141) - { - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj100.Steps = list139; - reference106 = obj100; - ref QuestSequence reference107 = ref span34[7]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.Interact, 1039271u, new Vector3(122.819824f, 0.10310017f, -215.2591f), 141) - { - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj101.Steps = list140; - reference107 = obj101; - ref QuestSequence reference108 = ref span34[8]; - QuestSequence obj102 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039249u, new Vector3(0.3508911f, 210.99998f, -17.746277f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj102.Steps = list141; - reference108 = obj102; - questRoot16.QuestSequence = list131; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(4070); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list142 = new List(num); - CollectionsMarshal.SetCount(list142, num); - CollectionsMarshal.AsSpan(list142)[0] = "kaiser"; - questRoot17.Author = list142; - num = 6; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - Span span35 = CollectionsMarshal.AsSpan(list143); - ref QuestSequence reference109 = ref span35[0]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - ref QuestStep reference110 = ref CollectionsMarshal.AsSpan(list144)[0]; - QuestStep obj104 = new QuestStep(EInteractionType.AcceptQuest, 1039249u, new Vector3(0.3508911f, 210.99998f, -17.746277f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list145 = new List(num3); - CollectionsMarshal.SetCount(list145, num3); - CollectionsMarshal.AsSpan(list145)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKBB121_04070_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKBB121_04070_A1_000_001") - }; - obj104.DialogueChoices = list145; - reference110 = obj104; - obj103.Steps = list144; - reference109 = obj103; - ref QuestSequence reference111 = ref span35[1]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.Interact, 1039274u, new Vector3(246.93665f, -24.995794f, 235.4314f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - obj105.Steps = list146; - reference111 = obj105; - ref QuestSequence reference112 = ref span35[2]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.Interact, 1039275u, new Vector3(236.9878f, -24.792122f, 202.594f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj106.Steps = list147; - reference112 = obj106; - ref QuestSequence reference113 = ref span35[3]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.Action, 1039276u, new Vector3(239.79541f, -24.721268f, 205.34058f), 138) - { - StopDistance = 6f, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - Action = EAction.Diagnosis, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj107.Steps = list148; - reference113 = obj107; - ref QuestSequence reference114 = ref span35[4]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.Interact, 1039279u, new Vector3(239.9176f, -24.724764f, 205.24902f), 138) - { - StopDistance = 6f, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj108.Steps = list149; - reference114 = obj108; - ref QuestSequence reference115 = ref span35[5]; - QuestSequence obj109 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039249u, new Vector3(0.3508911f, 210.99998f, -17.746277f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj109.Steps = list150; - reference115 = obj109; - questRoot17.QuestSequence = list143; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(4071); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list151 = new List(num); - CollectionsMarshal.SetCount(list151, num); - CollectionsMarshal.AsSpan(list151)[0] = "kaiser"; - questRoot18.Author = list151; - num = 7; - List list152 = new List(num); - CollectionsMarshal.SetCount(list152, num); - Span span36 = CollectionsMarshal.AsSpan(list152); - ref QuestSequence reference116 = ref span36[0]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039249u, new Vector3(0.3508911f, 210.99998f, -17.746277f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj110.Steps = list153; - reference116 = obj110; - ref QuestSequence reference117 = ref span36[1]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.Interact, 1012133u, new Vector3(-26.840637f, 206.49944f, 28.67163f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj111.Steps = list154; - reference117 = obj111; - ref QuestSequence reference118 = ref span36[2]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - ref QuestStep reference119 = ref CollectionsMarshal.AsSpan(list155)[0]; - QuestStep obj113 = new QuestStep(EInteractionType.Combat, null, new Vector3(-501.8255f, 147.54488f, -191.78416f), 399) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshirePrologueGate - }, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list156 = new List(num3); - CollectionsMarshal.SetCount(list156, num3); - CollectionsMarshal.AsSpan(list156)[0] = new ComplexCombatData - { - DataId = 14030u, - MinimumKillCount = 1u - }; - obj113.ComplexCombatData = list156; - obj113.SkipConditions = new SkipConditions - { - AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - reference119 = obj113; - obj112.Steps = list155; - reference118 = obj112; - ref QuestSequence reference120 = ref span36[3]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.Action, 1039282u, new Vector3(-504.87527f, 147.53165f, -199.17603f), 399) - { - Comment = "This might get stuck if we are high level and killed the mob too fast?, we ended up locking ourselves on eukrasia aura, Diagnosis can't be casted!", - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshirePrologueGate - }, - Action = EAction.Diagnosis, - SkipConditions = new SkipConditions - { - AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj114.Steps = list157; - reference120 = obj114; - ref QuestSequence reference121 = ref span36[4]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - ref QuestStep reference122 = ref CollectionsMarshal.AsSpan(list158)[0]; - QuestStep obj116 = new QuestStep(EInteractionType.Combat, null, new Vector3(-383.24777f, 147.98257f, 52.931572f), 399) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshirePrologueGate - }, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list159 = new List(num3); - CollectionsMarshal.SetCount(list159, num3); - CollectionsMarshal.AsSpan(list159)[0] = new ComplexCombatData - { - DataId = 14029u, - MinimumKillCount = 2u - }; - obj116.ComplexCombatData = list159; - obj116.SkipConditions = new SkipConditions - { - AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - reference122 = obj116; - obj115.Steps = list158; - reference121 = obj115; - ref QuestSequence reference123 = ref span36[5]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.Interact, 1039284u, new Vector3(-382.49792f, 147.96011f, 47.53174f), 399) - { - Fly = false, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshirePrologueGate - }, - SkipConditions = new SkipConditions - { - AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj117.Steps = list160; - reference123 = obj117; - ref QuestSequence reference124 = ref span36[6]; - QuestSequence obj118 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039249u, new Vector3(0.3508911f, 210.99998f, -17.746277f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj118.Steps = list161; - reference124 = obj118; - questRoot18.QuestSequence = list152; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(4072); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list162 = new List(num); - CollectionsMarshal.SetCount(list162, num); - CollectionsMarshal.AsSpan(list162)[0] = "kaiser"; - questRoot19.Author = list162; - num = 5; - List list163 = new List(num); - CollectionsMarshal.SetCount(list163, num); - Span span37 = CollectionsMarshal.AsSpan(list163); - ref QuestSequence reference125 = ref span37[0]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039249u, new Vector3(0.3508911f, 210.99998f, -17.746277f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj119.Steps = list164; - reference125 = obj119; - ref QuestSequence reference126 = ref span37[1]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1039288u, new Vector3(212.9701f, 52.213486f, -787.50287f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj120.Steps = list165; - reference126 = obj120; - ref QuestSequence reference127 = ref span37[2]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.Interact, 1039288u, new Vector3(212.9701f, 52.213486f, -787.50287f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsTailfeather, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj121.Steps = list166; - reference127 = obj121; - ref QuestSequence reference128 = ref span37[3]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.Interact, 1039288u, new Vector3(212.9701f, 52.213486f, -787.50287f), 398); - obj122.Steps = list167; - reference128 = obj122; - ref QuestSequence reference129 = ref span37[4]; - QuestSequence obj123 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039280u, new Vector3(1.2054443f, 210.99997f, -16.494995f), 478) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj123.Steps = list168; - reference129 = obj123; - questRoot19.QuestSequence = list163; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(4073); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list169 = new List(num); - CollectionsMarshal.SetCount(list169, num); - CollectionsMarshal.AsSpan(list169)[0] = "liza"; - questRoot20.Author = list169; - num = 4; - List list170 = new List(num); - CollectionsMarshal.SetCount(list170, num); - Span span38 = CollectionsMarshal.AsSpan(list170); - ref QuestSequence reference130 = ref span38[0]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.AcceptQuest, 1036633u, new Vector3(82.871704f, 4.099994f, -131.30396f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj124.Steps = list171; - reference130 = obj124; - ref QuestSequence reference131 = ref span38[1]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.Interact, 1036634u, new Vector3(134.05042f, 4f, 11.428955f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahSapphireAvenue - } - }; - obj125.Steps = list172; - reference131 = obj125; - ref QuestSequence reference132 = ref span38[2]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - ref QuestStep reference133 = ref CollectionsMarshal.AsSpan(list173)[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1036632u, new Vector3(115.098755f, 8f, 15.396301f), 131); - num3 = 1; - List list174 = new List(num3); - CollectionsMarshal.SetCount(list174, num3); - CollectionsMarshal.AsSpan(list174)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKBB201_04073_Q5_000_000") - }; - questStep4.DialogueChoices = list174; - reference133 = questStep4; - obj126.Steps = list173; - reference132 = obj126; - ref QuestSequence reference134 = ref span38[3]; - QuestSequence obj127 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - ref QuestStep reference135 = ref CollectionsMarshal.AsSpan(list175)[0]; - QuestStep obj128 = new QuestStep(EInteractionType.CompleteQuest, 1037014u, new Vector3(0.9002075f, 0.014807776f, -4.3793945f), 971) - { - StopDistance = 5f - }; - num3 = 1; - List list176 = new List(num3); - CollectionsMarshal.SetCount(list176, num3); - CollectionsMarshal.AsSpan(list176)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKBB201_04073_Q4_000_000"), - Answer = new ExcelRef("TEXT_AKTKBB201_04073_A4_000_002") - }; - obj128.DialogueChoices = list176; - obj128.NextQuestId = new QuestId(4074); - reference135 = obj128; - obj127.Steps = list175; - reference134 = obj127; - questRoot20.QuestSequence = list170; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(4074); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list177 = new List(num); - CollectionsMarshal.SetCount(list177, num); - CollectionsMarshal.AsSpan(list177)[0] = "liza"; - questRoot21.Author = list177; - num = 4; - List list178 = new List(num); - CollectionsMarshal.SetCount(list178, num); - Span span39 = CollectionsMarshal.AsSpan(list178); - ref QuestSequence reference136 = ref span39[0]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 0 - }; - num2 = 5; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - Span span40 = CollectionsMarshal.AsSpan(list179); - ref QuestStep reference137 = ref span40[0]; - QuestStep obj130 = new QuestStep(EInteractionType.Interact, 1036632u, new Vector3(115.098755f, 8f, 15.396301f), 131) - { - TargetTerritoryId = (ushort)971, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list180 = new List(num3); - CollectionsMarshal.SetCount(list180, num3); - CollectionsMarshal.AsSpan(list180)[0] = 971; - skipStepConditions2.InTerritory = list180; - skipConditions4.StepIf = skipStepConditions2; - SkipAetheryteCondition obj131 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list181 = new List(num3); - CollectionsMarshal.SetCount(list181, num3); - Span span41 = CollectionsMarshal.AsSpan(list181); - span41[0] = 131; - span41[1] = 971; - obj131.InTerritory = list181; - skipConditions4.AetheryteShortcutIf = obj131; - obj130.SkipConditions = skipConditions4; - reference137 = obj130; - span40[1] = new QuestStep(EInteractionType.EquipItem, null, null, 971) - { - ItemId = 35760u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span40[2] = new QuestStep(EInteractionType.UseItem, null, new Vector3(0.13146536f, 0.01480782f, -0.7022889f), 971) - { - ItemId = 35872u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span40[3] = new QuestStep(EInteractionType.EquipRecommended, null, null, 971); - span40[4] = new QuestStep(EInteractionType.AcceptQuest, 1037014u, new Vector3(0.9002075f, 0.014807776f, -4.3793945f), 971) - { - StopDistance = 5f - }; - obj129.Steps = list179; - reference136 = obj129; - ref QuestSequence reference138 = ref span39[1]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.Interact, 1036636u, new Vector3(-264.91187f, -5.052193f, -371.38934f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - obj132.Steps = list182; - reference138 = obj132; - ref QuestSequence reference139 = ref span39[2]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - CollectionsMarshal.AsSpan(list183)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1036637u, new Vector3(-263.84375f, -4.9409676f, -371.26727f), 141); - obj133.Steps = list183; - reference139 = obj133; - ref QuestSequence reference140 = ref span39[3]; - QuestSequence obj134 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - Span span42 = CollectionsMarshal.AsSpan(list184); - span42[0] = new QuestStep(EInteractionType.Interact, 1036632u, new Vector3(115.098755f, 8f, 15.396301f), 131) - { - TargetTerritoryId = (ushort)971, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - span42[1] = new QuestStep(EInteractionType.CompleteQuest, 1036629u, new Vector3(0.77819824f, 0.014807776f, -1.9684448f), 971) - { - NextQuestId = new QuestId(4075) - }; - obj134.Steps = list184; - reference140 = obj134; - questRoot21.QuestSequence = list178; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(4075); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list185 = new List(num); - CollectionsMarshal.SetCount(list185, num); - CollectionsMarshal.AsSpan(list185)[0] = "liza"; - questRoot22.Author = list185; - num = 5; - List list186 = new List(num); - CollectionsMarshal.SetCount(list186, num); - Span span43 = CollectionsMarshal.AsSpan(list186); - ref QuestSequence reference141 = ref span43[0]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - Span span44 = CollectionsMarshal.AsSpan(list187); - ref QuestStep reference142 = ref span44[0]; - QuestStep obj136 = new QuestStep(EInteractionType.Interact, 1036632u, new Vector3(115.098755f, 8f, 15.396301f), 131) - { - TargetTerritoryId = (ushort)971, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list188 = new List(num3); - CollectionsMarshal.SetCount(list188, num3); - CollectionsMarshal.AsSpan(list188)[0] = 971; - skipStepConditions3.InTerritory = list188; - skipConditions5.StepIf = skipStepConditions3; - SkipAetheryteCondition obj137 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list189 = new List(num3); - CollectionsMarshal.SetCount(list189, num3); - Span span45 = CollectionsMarshal.AsSpan(list189); - span45[0] = 131; - span45[1] = 971; - obj137.InTerritory = list189; - skipConditions5.AetheryteShortcutIf = obj137; - obj136.SkipConditions = skipConditions5; - reference142 = obj136; - span44[1] = new QuestStep(EInteractionType.AcceptQuest, 1036629u, new Vector3(0.77819824f, 0.014807776f, -1.9684448f), 971); - obj135.Steps = list187; - reference141 = obj135; - ref QuestSequence reference143 = ref span43[1]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.Interact, 1036638u, new Vector3(-9.384338f, -3.0020049f, 58.54883f), 148) - { - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows - }; - obj138.Steps = list190; - reference143 = obj138; - ref QuestSequence reference144 = ref span43[2]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - Span span46 = CollectionsMarshal.AsSpan(list191); - ref QuestStep reference145 = ref span46[0]; - QuestStep obj140 = new QuestStep(EInteractionType.UseItem, 2011694u, new Vector3(-151.20166f, 5.6915283f, -143.69421f), 148) - { - Fly = true, - ItemId = 2003077u - }; - num3 = 6; - List list192 = new List(num3); - CollectionsMarshal.SetCount(list192, num3); - Span span47 = CollectionsMarshal.AsSpan(list192); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj140.CompletionQuestVariablesFlags = list192; - reference145 = obj140; - ref QuestStep reference146 = ref span46[1]; - QuestStep obj141 = new QuestStep(EInteractionType.UseItem, 2011693u, new Vector3(-208.11786f, 4.0131226f, -22.110352f), 148) - { - Fly = true, - ItemId = 2003077u - }; - num3 = 6; - List list193 = new List(num3); - CollectionsMarshal.SetCount(list193, num3); - Span span48 = CollectionsMarshal.AsSpan(list193); - span48[0] = null; - span48[1] = null; - span48[2] = null; - span48[3] = null; - span48[4] = null; - span48[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj141.CompletionQuestVariablesFlags = list193; - reference146 = obj141; - ref QuestStep reference147 = ref span46[2]; - QuestStep obj142 = new QuestStep(EInteractionType.Combat, 2011546u, new Vector3(-274.34198f, 19.821411f, 66.453f), 148) - { - Fly = true, - ItemId = 2003077u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list194 = new List(num3); - CollectionsMarshal.SetCount(list194, num3); - CollectionsMarshal.AsSpan(list194)[0] = 14028u; - obj142.KillEnemyDataIds = list194; - num3 = 6; - List list195 = new List(num3); - CollectionsMarshal.SetCount(list195, num3); - Span span49 = CollectionsMarshal.AsSpan(list195); - span49[0] = null; - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj142.CompletionQuestVariablesFlags = list195; - reference147 = obj142; - obj139.Steps = list191; - reference144 = obj139; - ref QuestSequence reference148 = ref span43[3]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.Interact, 1036638u, new Vector3(-9.384338f, -3.0020049f, 58.54883f), 148) - { - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows - }; - obj143.Steps = list196; - reference148 = obj143; - ref QuestSequence reference149 = ref span43[4]; - QuestSequence obj144 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - Span span50 = CollectionsMarshal.AsSpan(list197); - span50[0] = new QuestStep(EInteractionType.Interact, 1036632u, new Vector3(115.098755f, 8f, 15.396301f), 131) - { - TargetTerritoryId = (ushort)971, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - ref QuestStep reference150 = ref span50[1]; - QuestStep questStep5 = new QuestStep(EInteractionType.CompleteQuest, 1036629u, new Vector3(0.77819824f, 0.014807776f, -1.9684448f), 971); - num3 = 1; - List list198 = new List(num3); - CollectionsMarshal.SetCount(list198, num3); - CollectionsMarshal.AsSpan(list198)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKBB211_04075_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKBB211_04075_A1_000_002") - }; - questStep5.DialogueChoices = list198; - questStep5.NextQuestId = new QuestId(4076); - reference150 = questStep5; - obj144.Steps = list197; - reference149 = obj144; - questRoot22.QuestSequence = list186; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(4076); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list199 = new List(num); - CollectionsMarshal.SetCount(list199, num); - CollectionsMarshal.AsSpan(list199)[0] = "liza"; - questRoot23.Author = list199; - num = 6; - List list200 = new List(num); - CollectionsMarshal.SetCount(list200, num); - Span span51 = CollectionsMarshal.AsSpan(list200); - ref QuestSequence reference151 = ref span51[0]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - Span span52 = CollectionsMarshal.AsSpan(list201); - ref QuestStep reference152 = ref span52[0]; - QuestStep obj146 = new QuestStep(EInteractionType.Interact, 1036632u, new Vector3(115.098755f, 8f, 15.396301f), 131) - { - TargetTerritoryId = (ushort)971, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 1; - List list202 = new List(num3); - CollectionsMarshal.SetCount(list202, num3); - CollectionsMarshal.AsSpan(list202)[0] = 971; - skipStepConditions4.InTerritory = list202; - skipConditions6.StepIf = skipStepConditions4; - SkipAetheryteCondition obj147 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list203 = new List(num3); - CollectionsMarshal.SetCount(list203, num3); - Span span53 = CollectionsMarshal.AsSpan(list203); - span53[0] = 131; - span53[1] = 971; - obj147.InTerritory = list203; - skipConditions6.AetheryteShortcutIf = obj147; - obj146.SkipConditions = skipConditions6; - reference152 = obj146; - span52[1] = new QuestStep(EInteractionType.AcceptQuest, 1036629u, new Vector3(0.77819824f, 0.014807776f, -1.9684448f), 971); - obj145.Steps = list201; - reference151 = obj145; - ref QuestSequence reference153 = ref span51[1]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.Interact, 1036641u, new Vector3(-149.95044f, 14.004999f, 54.8562f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahWeaver, - To = EAetheryteLocation.UldahThaumaturge - } - }; - obj148.Steps = list204; - reference153 = obj148; - ref QuestSequence reference154 = ref span51[2]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.Interact, 1036642u, new Vector3(-151.1712f, 15.982788f, 302.2965f), 141) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahThaumaturge, - To = EAetheryteLocation.UldahGateOfNald - } - }; - obj149.Steps = list205; - reference154 = obj149; - ref QuestSequence reference155 = ref span51[3]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - Span span54 = CollectionsMarshal.AsSpan(list206); - span54[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-66.87344f, -3.6581912f, 179.7406f), 141) - { - Fly = true - }; - span54[1] = new QuestStep(EInteractionType.Interact, 1036644u, new Vector3(-68.10101f, -3.6581912f, 179.61389f), 141); - obj150.Steps = list206; - reference155 = obj150; - ref QuestSequence reference156 = ref span51[4]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - CollectionsMarshal.AsSpan(list207)[0] = new QuestStep(EInteractionType.Interact, 1040918u, new Vector3(-59.891724f, -3.6582541f, 147.72253f), 141); - obj151.Steps = list207; - reference156 = obj151; - ref QuestSequence reference157 = ref span51[5]; - QuestSequence obj152 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - Span span55 = CollectionsMarshal.AsSpan(list208); - span55[0] = new QuestStep(EInteractionType.Interact, 1036632u, new Vector3(115.098755f, 8f, 15.396301f), 131) - { - TargetTerritoryId = (ushort)971, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - ref QuestStep reference158 = ref span55[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.CompleteQuest, 1036629u, new Vector3(0.77819824f, 0.014807776f, -1.9684448f), 971); - num3 = 1; - List list209 = new List(num3); - CollectionsMarshal.SetCount(list209, num3); - CollectionsMarshal.AsSpan(list209)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKBB221_04076_Q2_000_000"), - Answer = new ExcelRef("TEXT_AKTKBB221_04076_A2_000_002") - }; - questStep6.DialogueChoices = list209; - questStep6.NextQuestId = new QuestId(4077); - reference158 = questStep6; - obj152.Steps = list208; - reference157 = obj152; - questRoot23.QuestSequence = list200; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(4077); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list210 = new List(num); - CollectionsMarshal.SetCount(list210, num); - CollectionsMarshal.AsSpan(list210)[0] = "liza"; - questRoot24.Author = list210; - num = 9; - List list211 = new List(num); - CollectionsMarshal.SetCount(list211, num); - Span span56 = CollectionsMarshal.AsSpan(list211); - ref QuestSequence reference159 = ref span56[0]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - Span span57 = CollectionsMarshal.AsSpan(list212); - ref QuestStep reference160 = ref span57[0]; - QuestStep obj154 = new QuestStep(EInteractionType.Interact, 1036632u, new Vector3(115.098755f, 8f, 15.396301f), 131) - { - TargetTerritoryId = (ushort)971, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 1; - List list213 = new List(num3); - CollectionsMarshal.SetCount(list213, num3); - CollectionsMarshal.AsSpan(list213)[0] = 971; - skipStepConditions5.InTerritory = list213; - skipConditions7.StepIf = skipStepConditions5; - SkipAetheryteCondition obj155 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list214 = new List(num3); - CollectionsMarshal.SetCount(list214, num3); - Span span58 = CollectionsMarshal.AsSpan(list214); - span58[0] = 131; - span58[1] = 971; - obj155.InTerritory = list214; - skipConditions7.AetheryteShortcutIf = obj155; - obj154.SkipConditions = skipConditions7; - reference160 = obj154; - span57[1] = new QuestStep(EInteractionType.AcceptQuest, 1036629u, new Vector3(0.77819824f, 0.014807776f, -1.9684448f), 971); - obj153.Steps = list212; - reference159 = obj153; - ref QuestSequence reference161 = ref span56[1]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.Interact, 1036645u, new Vector3(-65.23236f, -2.0043268f, -170.06183f), 141) - { - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - obj156.Steps = list215; - reference161 = obj156; - ref QuestSequence reference162 = ref span56[2]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - Span span59 = CollectionsMarshal.AsSpan(list216); - span59[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(90.102264f, 0.33612514f, -274.36813f), 141) - { - Fly = true - }; - span59[1] = new QuestStep(EInteractionType.Interact, 1036646u, new Vector3(84.33655f, 0.27463394f, -279.86572f), 141) - { - StopDistance = 5f - }; - obj157.Steps = list216; - reference162 = obj157; - ref QuestSequence reference163 = ref span56[3]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - Span span60 = CollectionsMarshal.AsSpan(list217); - span60[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(156.258f, 1.9472685f, -165.4284f), 141) - { - Fly = true - }; - span60[1] = new QuestStep(EInteractionType.Interact, 1036647u, new Vector3(154.89429f, 1.9564945f, -166.67432f), 141); - obj158.Steps = list217; - reference163 = obj158; - ref QuestSequence reference164 = ref span56[4]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - ref QuestStep reference165 = ref CollectionsMarshal.AsSpan(list218)[0]; - QuestStep obj160 = new QuestStep(EInteractionType.Combat, null, new Vector3(159.8781f, -0.6240455f, -154.44577f), 141) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list219 = new List(num3); - CollectionsMarshal.SetCount(list219, num3); - CollectionsMarshal.AsSpan(list219)[0] = 14027u; - obj160.KillEnemyDataIds = list219; - reference165 = obj160; - obj159.Steps = list218; - reference164 = obj159; - ref QuestSequence reference166 = ref span56[5]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.Interact, 1036647u, new Vector3(154.89429f, 1.9564945f, -166.67432f), 141); - obj161.Steps = list220; - reference166 = obj161; - ref QuestSequence reference167 = ref span56[6]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.Interact, 1036654u, new Vector3(-136.61407f, 3.9261572f, 212.57336f), 141) - { - Fly = true - }; - obj162.Steps = list221; - reference167 = obj162; - ref QuestSequence reference168 = ref span56[7]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - CollectionsMarshal.AsSpan(list222)[0] = new QuestStep(EInteractionType.Interact, 1036632u, new Vector3(115.098755f, 8f, 15.396301f), 131) - { - TargetTerritoryId = (ushort)971, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - obj163.Steps = list222; - reference168 = obj163; - ref QuestSequence reference169 = ref span56[8]; - QuestSequence obj164 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - ref QuestStep reference170 = ref CollectionsMarshal.AsSpan(list223)[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.CompleteQuest, 1036631u, new Vector3(2.7922974f, -2.7403547E-07f, -0.44250488f), 971); - num3 = 1; - List list224 = new List(num3); - CollectionsMarshal.SetCount(list224, num3); - CollectionsMarshal.AsSpan(list224)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKBB231_04077_Q2_000_000"), - Answer = new ExcelRef("TEXT_AKTKBB231_04077_A2_000_003") - }; - questStep7.DialogueChoices = list224; - questStep7.NextQuestId = new QuestId(4078); - reference170 = questStep7; - obj164.Steps = list223; - reference169 = obj164; - questRoot24.QuestSequence = list211; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(4078); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list225 = new List(num); - CollectionsMarshal.SetCount(list225, num); - CollectionsMarshal.AsSpan(list225)[0] = "liza"; - questRoot25.Author = list225; - num = 3; - List list226 = new List(num); - CollectionsMarshal.SetCount(list226, num); - Span span61 = CollectionsMarshal.AsSpan(list226); - ref QuestSequence reference171 = ref span61[0]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - Span span62 = CollectionsMarshal.AsSpan(list227); - ref QuestStep reference172 = ref span62[0]; - QuestStep obj166 = new QuestStep(EInteractionType.Interact, 1036632u, new Vector3(115.098755f, 8f, 15.396301f), 131) - { - TargetTerritoryId = (ushort)971, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 1; - List list228 = new List(num3); - CollectionsMarshal.SetCount(list228, num3); - CollectionsMarshal.AsSpan(list228)[0] = 971; - skipStepConditions6.InTerritory = list228; - skipConditions8.StepIf = skipStepConditions6; - SkipAetheryteCondition obj167 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list229 = new List(num3); - CollectionsMarshal.SetCount(list229, num3); - Span span63 = CollectionsMarshal.AsSpan(list229); - span63[0] = 131; - span63[1] = 971; - obj167.InTerritory = list229; - skipConditions8.AetheryteShortcutIf = obj167; - obj166.SkipConditions = skipConditions8; - reference172 = obj166; - span62[1] = new QuestStep(EInteractionType.AcceptQuest, 1036631u, new Vector3(2.7922974f, -2.7403547E-07f, -0.44250488f), 971); - obj165.Steps = list227; - reference171 = obj165; - ref QuestSequence reference173 = ref span61[1]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 2011548u, new Vector3(-92.57648f, 87.17468f, -737.8805f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj168.Steps = list230; - reference173 = obj168; - ref QuestSequence reference174 = ref span61[2]; - QuestSequence obj169 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.CompleteQuest, 1036630u, new Vector3(0.77819824f, 0.014807776f, -1.9684448f), 971); - obj169.Steps = list231; - reference174 = obj169; - questRoot25.QuestSequence = list226; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(4079); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list232 = new List(num); - CollectionsMarshal.SetCount(list232, num); - CollectionsMarshal.AsSpan(list232)[0] = "liza"; - questRoot26.Author = list232; - num = 5; - List list233 = new List(num); - CollectionsMarshal.SetCount(list233, num); - Span span64 = CollectionsMarshal.AsSpan(list233); - ref QuestSequence reference175 = ref span64[0]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - CollectionsMarshal.AsSpan(list234)[0] = new QuestStep(EInteractionType.AcceptQuest, 1035529u, new Vector3(-7.156494f, -16f, 163.43933f), 886); - obj170.Steps = list234; - reference175 = obj170; - ref QuestSequence reference176 = ref span64[1]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.Interact, 1036487u, new Vector3(-93.15637f, 0f, -129.56439f), 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmamentMendicantsCourt, - To = EAetheryteLocation.FirmamentWesternRisensongQuarter - } - }; - obj171.Steps = list235; - reference176 = obj171; - ref QuestSequence reference177 = ref span64[2]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - Span span65 = CollectionsMarshal.AsSpan(list236); - span65[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-113.73003f, 0f, -136.48384f), 886); - span65[1] = new QuestStep(EInteractionType.Interact, 1036127u, new Vector3(-116.92993f, 0f, -137.31598f), 886) - { - StopDistance = 5f - }; - obj172.Steps = list236; - reference177 = obj172; - ref QuestSequence reference178 = ref span64[3]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - CollectionsMarshal.AsSpan(list237)[0] = new QuestStep(EInteractionType.Interact, 1036488u, new Vector3(140.91699f, -40f, 158.55652f), 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmamentWesternRisensongQuarter, - To = EAetheryteLocation.FirmamentNewNest - } - }; - obj173.Steps = list237; - reference178 = obj173; - ref QuestSequence reference179 = ref span64[4]; - QuestSequence obj174 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.CompleteQuest, 1036490u, new Vector3(-114.39691f, 0f, -137.31598f), 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmamentNewNest, - To = EAetheryteLocation.FirmamentWesternRisensongQuarter - } - }; - obj174.Steps = list238; - reference179 = obj174; - questRoot26.QuestSequence = list233; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(4080); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list239 = new List(num); - CollectionsMarshal.SetCount(list239, num); - CollectionsMarshal.AsSpan(list239)[0] = "Censored"; - questRoot27.Author = list239; - num = 3; - List list240 = new List(num); - CollectionsMarshal.SetCount(list240, num); - Span span66 = CollectionsMarshal.AsSpan(list240); - ref QuestSequence reference180 = ref span66[0]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - Span span67 = CollectionsMarshal.AsSpan(list241); - ref QuestStep reference181 = ref span67[0]; - QuestStep obj176 = new QuestStep(EInteractionType.None, null, null, 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardFirmament - } - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 1; - List list242 = new List(num3); - CollectionsMarshal.SetCount(list242, num3); - CollectionsMarshal.AsSpan(list242)[0] = 154; - skipStepConditions7.InTerritory = list242; - skipConditions9.StepIf = skipStepConditions7; - obj176.SkipConditions = skipConditions9; - reference181 = obj176; - span67[1] = new QuestStep(EInteractionType.AcceptQuest, 1036127u, new Vector3(-116.92993f, 0f, -137.31598f), 886) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.FirmamentMendicantsCourt, - To = EAetheryteLocation.FirmamentWesternRisensongQuarter - } - }; - obj175.Steps = list241; - reference180 = obj175; - ref QuestSequence reference182 = ref span66[1]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.Interact, 1036493u, new Vector3(-60.227356f, -4.146993E-05f, -16.06781f), 886); - obj177.Steps = list243; - reference182 = obj177; - ref QuestSequence reference183 = ref span66[2]; - QuestSequence obj178 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.CompleteQuest, 1036494u, new Vector3(-98.77167f, 0f, -131.51752f), 886); - obj178.Steps = list244; - reference183 = obj178; - questRoot27.QuestSequence = list240; - AddQuest(questId27, questRoot27); - } - - private static void LoadQuests82() - { - QuestId questId = new QuestId(4102); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "Censored"; - questRoot.Author = list; - num = 9; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference2 = ref CollectionsMarshal.AsSpan(list3)[0]; - QuestStep obj2 = new QuestStep(EInteractionType.AcceptQuest, 1038397u, new Vector3(-178.97314f, 4.05f, -74.69299f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHallOfTheRadiantHost - } - }; - int num3 = 1; - List list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - CollectionsMarshal.AsSpan(list4)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKBA101_04102_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKBA101_04102_A1_000_001") - }; - obj2.DialogueChoices = list4; - reference2 = obj2; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference3 = ref span[1]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1038398u, new Vector3(-69.41333f, -0.5033642f, 5.0201416f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Interact, 1002780u, new Vector3(-89.79938f, -45.331417f, 195.88f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[3]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - Span span2 = CollectionsMarshal.AsSpan(list7); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-85.105965f, -46.544624f, 210.43315f), 154); - span2[1] = new QuestStep(EInteractionType.Interact, 1038405u, new Vector3(-42.46588f, -40.94998f, 171.06885f), 154) - { - Fly = true, - Land = true - }; - obj5.Steps = list7; - reference5 = obj5; - ref QuestSequence reference6 = ref span[4]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.Interact, 1038408u, new Vector3(55.039307f, -39.472065f, 234.72949f), 154) - { - Fly = true, - Land = true - }; - obj6.Steps = list8; - reference6 = obj6; - ref QuestSequence reference7 = ref span[5]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - ref QuestStep reference8 = ref CollectionsMarshal.AsSpan(list9)[0]; - QuestStep obj8 = new QuestStep(EInteractionType.Combat, null, new Vector3(201.86879f, -27.880434f, 171.45041f), 154) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list10 = new List(num3); - CollectionsMarshal.SetCount(list10, num3); - CollectionsMarshal.AsSpan(list10)[0] = 14016u; - obj8.KillEnemyDataIds = list10; - reference8 = obj8; - obj7.Steps = list9; - reference7 = obj7; - ref QuestSequence reference9 = ref span[6]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.Interact, 1038410u, new Vector3(201.49536f, -27.91251f, 171.61816f), 154); - obj9.Steps = list11; - reference9 = obj9; - ref QuestSequence reference10 = ref span[7]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Interact, 1038403u, new Vector3(-43.442444f, -40.94998f, 172.22852f), 154) - { - Fly = true, - Land = true - }; - obj10.Steps = list12; - reference10 = obj10; - ref QuestSequence reference11 = ref span[8]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038411u, new Vector3(-69.41333f, -0.5033642f, 5.0201416f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - NextQuestId = new QuestId(4103) - }; - obj11.Steps = list13; - reference11 = obj11; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(4103); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - CollectionsMarshal.AsSpan(list14)[0] = "Censored"; - questRoot2.Author = list14; - num = 9; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - Span span3 = CollectionsMarshal.AsSpan(list15); - ref QuestSequence reference12 = ref span3[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038411u, new Vector3(-69.41333f, -0.5033642f, 5.0201416f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj12.Steps = list16; - reference12 = obj12; - ref QuestSequence reference13 = ref span3[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.Interact, 1038412u, new Vector3(-150.98804f, 1.7044317f, 220.99634f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil - }; - obj13.Steps = list17; - reference13 = obj13; - ref QuestSequence reference14 = ref span3[2]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.Interact, 1038414u, new Vector3(-191.05823f, 15.544372f, 313.71008f), 153); - obj14.Steps = list18; - reference14 = obj14; - ref QuestSequence reference15 = ref span3[3]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - Span span4 = CollectionsMarshal.AsSpan(list19); - ref QuestStep reference16 = ref span4[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1038418u, new Vector3(-201.40387f, 20.41187f, 337.45325f), 153); - num3 = 6; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - Span span5 = CollectionsMarshal.AsSpan(list20); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list20; - reference16 = questStep; - ref QuestStep reference17 = ref span4[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1038417u, new Vector3(-200.70197f, 20.729956f, 361.07422f), 153); - num3 = 6; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - Span span6 = CollectionsMarshal.AsSpan(list21); - span6[0] = null; - span6[1] = null; - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list21; - reference17 = questStep2; - span4[2] = new QuestStep(EInteractionType.Interact, 1038416u, new Vector3(-238.30017f, 21.68142f, 356.83215f), 153); - obj15.Steps = list19; - reference15 = obj15; - ref QuestSequence reference18 = ref span3[4]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.Interact, 1038415u, new Vector3(-230.88434f, 21.464617f, 343.70935f), 153); - obj16.Steps = list22; - reference18 = obj16; - ref QuestSequence reference19 = ref span3[5]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.Interact, 1038419u, new Vector3(-267.56696f, 1.8750894f, 675.6847f), 153) - { - Fly = true - }; - obj17.Steps = list23; - reference19 = obj17; - ref QuestSequence reference20 = ref span3[6]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - ref QuestStep reference21 = ref CollectionsMarshal.AsSpan(list24)[0]; - QuestStep obj19 = new QuestStep(EInteractionType.Combat, null, new Vector3(-264.79346f, 2.2244208f, 673.19916f), 153) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - CollectionsMarshal.AsSpan(list25)[0] = 14015u; - obj19.KillEnemyDataIds = list25; - reference21 = obj19; - obj18.Steps = list24; - reference20 = obj18; - ref QuestSequence reference22 = ref span3[7]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.Interact, 1038432u, new Vector3(-273.7011f, 1.919117f, 669.7031f), 153); - obj20.Steps = list26; - reference22 = obj20; - ref QuestSequence reference23 = ref span3[8]; - QuestSequence obj21 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038411u, new Vector3(-69.41333f, -0.5033642f, 5.0201416f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - NextQuestId = new QuestId(4104) - }; - obj21.Steps = list27; - reference23 = obj21; - questRoot2.QuestSequence = list15; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(4104); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - CollectionsMarshal.AsSpan(list28)[0] = "Censored"; - questRoot3.Author = list28; - num = 6; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - Span span7 = CollectionsMarshal.AsSpan(list29); - ref QuestSequence reference24 = ref span7[0]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - ref QuestStep reference25 = ref CollectionsMarshal.AsSpan(list30)[0]; - QuestStep obj23 = new QuestStep(EInteractionType.AcceptQuest, 1038411u, new Vector3(-69.41333f, -0.5033642f, 5.0201416f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - CollectionsMarshal.AsSpan(list31)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKBA121_04104_Q0_000_000"), - Answer = new ExcelRef("TEXT_AKTKBA121_04104_A0_000_001") - }; - obj23.DialogueChoices = list31; - reference25 = obj23; - obj22.Steps = list30; - reference24 = obj22; - ref QuestSequence reference26 = ref span7[1]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - ref QuestStep reference27 = ref CollectionsMarshal.AsSpan(list32)[0]; - QuestStep obj25 = new QuestStep(EInteractionType.Combat, 2011735u, new Vector3(-314.4427f, 61.05127f, -141.10028f), 148) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - CollectionsMarshal.AsSpan(list33)[0] = 14013u; - obj25.KillEnemyDataIds = list33; - reference27 = obj25; - obj24.Steps = list32; - reference26 = obj24; - ref QuestSequence reference28 = ref span7[2]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.Interact, 2011730u, new Vector3(-314.4427f, 61.05127f, -141.10028f), 148); - obj26.Steps = list34; - reference28 = obj26; - ref QuestSequence reference29 = ref span7[3]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - Span span8 = CollectionsMarshal.AsSpan(list35); - ref QuestStep reference30 = ref span8[0]; - QuestStep obj28 = new QuestStep(EInteractionType.Combat, 2011733u, new Vector3(-408.9876f, 61.631104f, -125.90222f), 148) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - CollectionsMarshal.AsSpan(list36)[0] = 14014u; - obj28.KillEnemyDataIds = list36; - num3 = 6; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - Span span9 = CollectionsMarshal.AsSpan(list37); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj28.CompletionQuestVariablesFlags = list37; - reference30 = obj28; - ref QuestStep reference31 = ref span8[1]; - QuestStep obj29 = new QuestStep(EInteractionType.Combat, 2011732u, new Vector3(-343.2517f, 60.105225f, -72.46515f), 148) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - CollectionsMarshal.AsSpan(list38)[0] = 14014u; - obj29.KillEnemyDataIds = list38; - num3 = 6; - List list39 = new List(num3); - CollectionsMarshal.SetCount(list39, num3); - Span span10 = CollectionsMarshal.AsSpan(list39); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj29.CompletionQuestVariablesFlags = list39; - reference31 = obj29; - span8[2] = new QuestStep(EInteractionType.Interact, 2011731u, new Vector3(-231.46417f, 56.71765f, -93.614136f), 148) - { - Fly = true - }; - obj27.Steps = list35; - reference29 = obj27; - ref QuestSequence reference32 = ref span7[4]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.Interact, 2011747u, new Vector3(-310.71948f, 21.194763f, 173.66284f), 148) - { - Fly = true - }; - obj30.Steps = list40; - reference32 = obj30; - ref QuestSequence reference33 = ref span7[5]; - QuestSequence obj31 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038411u, new Vector3(-69.41333f, -0.5033642f, 5.0201416f), 132) - { - NextQuestId = new QuestId(4105) - }; - obj31.Steps = list41; - reference33 = obj31; - questRoot3.QuestSequence = list29; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(4105); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - CollectionsMarshal.AsSpan(list42)[0] = "Censored"; - questRoot4.Author = list42; - num = 7; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - Span span11 = CollectionsMarshal.AsSpan(list43); - ref QuestSequence reference34 = ref span11[0]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038411u, new Vector3(-69.41333f, -0.5033642f, 5.0201416f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj32.Steps = list44; - reference34 = obj32; - ref QuestSequence reference35 = ref span11[1]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - Span span12 = CollectionsMarshal.AsSpan(list45); - ref QuestStep reference36 = ref span12[0]; - QuestStep obj34 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-104.6922f, 1.2393801f, 8.405229f), 132) - { - TargetTerritoryId = (ushort)133 - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - CollectionsMarshal.AsSpan(list46)[0] = 133; - skipStepConditions.InTerritory = list46; - skipConditions.StepIf = skipStepConditions; - obj34.SkipConditions = skipConditions; - reference36 = obj34; - span12[1] = new QuestStep(EInteractionType.Interact, 1038436u, new Vector3(-236.68274f, -4f, 1.6326294f), 133); - obj33.Steps = list45; - reference35 = obj33; - ref QuestSequence reference37 = ref span11[2]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Interact, 1038437u, new Vector3(-305.5924f, 13.1841545f, -49.94281f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - obj35.Steps = list47; - reference37 = obj35; - ref QuestSequence reference38 = ref span11[3]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.Interact, 1038439u, new Vector3(-220.78284f, 29.984009f, 64.286255f), 152) - { - Fly = true - }; - obj36.Steps = list48; - reference38 = obj36; - ref QuestSequence reference39 = ref span11[4]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - ref QuestStep reference40 = ref CollectionsMarshal.AsSpan(list49)[0]; - QuestStep obj38 = new QuestStep(EInteractionType.Combat, 2011736u, new Vector3(-116.92993f, -3.3417358f, 190.14258f), 152) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - CollectionsMarshal.AsSpan(list50)[0] = 14012u; - obj38.KillEnemyDataIds = list50; - reference40 = obj38; - obj37.Steps = list49; - reference39 = obj37; - ref QuestSequence reference41 = ref span11[5]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.Interact, 1038440u, new Vector3(-122.08746f, -3.6656997f, 185.25977f), 152); - obj39.Steps = list51; - reference41 = obj39; - ref QuestSequence reference42 = ref span11[6]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038411u, new Vector3(-69.41333f, -0.5033642f, 5.0201416f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - NextQuestId = new QuestId(4106) - }; - obj40.Steps = list52; - reference42 = obj40; - questRoot4.QuestSequence = list43; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(4106); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - CollectionsMarshal.AsSpan(list53)[0] = "Censored"; - questRoot5.Author = list53; - num = 8; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - Span span13 = CollectionsMarshal.AsSpan(list54); - ref QuestSequence reference43 = ref span13[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038411u, new Vector3(-69.41333f, -0.5033642f, 5.0201416f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj41.Steps = list55; - reference43 = obj41; - ref QuestSequence reference44 = ref span13[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - ref QuestStep reference45 = ref CollectionsMarshal.AsSpan(list56)[0]; - QuestStep obj43 = new QuestStep(EInteractionType.Combat, 2011737u, new Vector3(335.8053f, -0.5340576f, -179.85815f), 148) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - CollectionsMarshal.AsSpan(list57)[0] = 14011u; - obj43.KillEnemyDataIds = list57; - reference45 = obj43; - obj42.Steps = list56; - reference44 = obj42; - ref QuestSequence reference46 = ref span13[2]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.Interact, 1038442u, new Vector3(336.56824f, -1.022724f, -173.63245f), 148); - obj44.Steps = list58; - reference46 = obj44; - ref QuestSequence reference47 = ref span13[3]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - ref QuestStep reference48 = ref CollectionsMarshal.AsSpan(list59)[0]; - QuestStep obj46 = new QuestStep(EInteractionType.Combat, 2011738u, new Vector3(256.8551f, 15.823547f, -109.51398f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - CollectionsMarshal.AsSpan(list60)[0] = 14010u; - obj46.KillEnemyDataIds = list60; - reference48 = obj46; - obj45.Steps = list59; - reference47 = obj45; - ref QuestSequence reference49 = ref span13[4]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.Interact, 1038444u, new Vector3(250.87354f, 15.565201f, -107.83557f), 153); - obj47.Steps = list61; - reference49 = obj47; - ref QuestSequence reference50 = ref span13[5]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.Interact, 1038446u, new Vector3(325.73438f, -5.688218f, -97.76465f), 154) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat - }; - obj48.Steps = list62; - reference50 = obj48; - ref QuestSequence reference51 = ref span13[6]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.Interact, 1039197u, new Vector3(-311.39087f, 20.991789f, 175.12769f), 148) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows - }; - obj49.Steps = list63; - reference51 = obj49; - ref QuestSequence reference52 = ref span13[7]; - QuestSequence obj50 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038411u, new Vector3(-69.41333f, -0.5033642f, 5.0201416f), 132) - { - NextQuestId = new QuestId(4107) - }; - obj50.Steps = list64; - reference52 = obj50; - questRoot5.QuestSequence = list54; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(4107); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - CollectionsMarshal.AsSpan(list65)[0] = "Censored"; - questRoot6.Author = list65; - num = 8; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - Span span14 = CollectionsMarshal.AsSpan(list66); - ref QuestSequence reference53 = ref span14[0]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038411u, new Vector3(-69.41333f, -0.5033642f, 5.0201416f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj51.Steps = list67; - reference53 = obj51; - ref QuestSequence reference54 = ref span14[1]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - Span span15 = CollectionsMarshal.AsSpan(list68); - ref QuestStep reference55 = ref span15[0]; - QuestStep obj53 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(11.687102f, 1.2724965f, -15.995083f), 132) - { - TargetTerritoryId = (ushort)133 - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - CollectionsMarshal.AsSpan(list69)[0] = 133; - skipStepConditions2.InTerritory = list69; - skipConditions2.StepIf = skipStepConditions2; - obj53.SkipConditions = skipConditions2; - reference55 = obj53; - span15[1] = new QuestStep(EInteractionType.Interact, 1038452u, new Vector3(16.250854f, 6.9444046f, -109.544556f), 133); - obj52.Steps = list68; - reference54 = obj52; - ref QuestSequence reference56 = ref span14[2]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - ref QuestStep reference57 = ref CollectionsMarshal.AsSpan(list70)[0]; - QuestStep obj55 = new QuestStep(EInteractionType.SinglePlayerDuty, 1038454u, new Vector3(-311.39087f, 20.991789f, 175.12769f), 148) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows - }; - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions(); - num3 = 6; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - Span span16 = CollectionsMarshal.AsSpan(list71); - span16[0] = "There is currently no BossMod Supported Bosses Logic."; - span16[1] = "BossMod doesn't use Interject."; - span16[2] = "BossMod can't handle QuickButton Actions yet."; - span16[3] = "BossMod doesn't use Healing Actions for Tanks."; - span16[4] = "It will need alot of manual work"; - span16[5] = "And there is a part, where the user needs to interact."; - singlePlayerDutyOptions.Notes = list71; - obj55.SinglePlayerDutyOptions = singlePlayerDutyOptions; - obj55.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - reference57 = obj55; - obj54.Steps = list70; - reference56 = obj54; - span14[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference58 = ref span14[4]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.Interact, 1038454u, new Vector3(-311.39087f, 20.991789f, 175.12769f), 148); - obj56.Steps = list72; - reference58 = obj56; - ref QuestSequence reference59 = ref span14[5]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - ref QuestStep reference60 = ref CollectionsMarshal.AsSpan(list73)[0]; - QuestStep obj58 = new QuestStep(EInteractionType.Interact, 1000460u, new Vector3(-159.41101f, 4.054107f, -4.1047363f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - num3 = 1; - List list74 = new List(num3); - CollectionsMarshal.SetCount(list74, num3); - CollectionsMarshal.AsSpan(list74)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKBA151_04107_SYSTEM_000_091") - }; - obj58.DialogueChoices = list74; - reference60 = obj58; - obj57.Steps = list73; - reference59 = obj57; - ref QuestSequence reference61 = ref span14[6]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.Interact, 1038456u, new Vector3(-161.48627f, 3.9593172f, -8.011047f), 133); - obj59.Steps = list75; - reference61 = obj59; - ref QuestSequence reference62 = ref span14[7]; - QuestSequence obj60 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038397u, new Vector3(-178.97314f, 4.05f, -74.69299f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHallOfTheRadiantHost - } - }; - obj60.Steps = list76; - reference62 = obj60; - questRoot6.QuestSequence = list66; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(4108); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - CollectionsMarshal.AsSpan(list77)[0] = "liza"; - questRoot7.Author = list77; - num = 6; - List list78 = new List(num); - CollectionsMarshal.SetCount(list78, num); - Span span17 = CollectionsMarshal.AsSpan(list78); - ref QuestSequence reference63 = ref span17[0]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - ref QuestStep reference64 = ref CollectionsMarshal.AsSpan(list79)[0]; - QuestStep obj62 = new QuestStep(EInteractionType.AcceptQuest, 1039411u, new Vector3(-182.20801f, 4.06f, -80.73547f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHallOfTheRadiantHost - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - CollectionsMarshal.AsSpan(list80)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKBA201_04108_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKBA201_04108_A1_000_001") - }; - obj62.DialogueChoices = list80; - reference64 = obj62; - obj61.Steps = list79; - reference63 = obj61; - ref QuestSequence reference65 = ref span17[1]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.Interact, 1039402u, new Vector3(741.0239f, 70f, 510.61267f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter - }; - obj63.Steps = list81; - reference65 = obj63; - ref QuestSequence reference66 = ref span17[2]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.Interact, 1039403u, new Vector3(-2.0599976f, 115.8696f, -576.9589f), 620) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - obj64.Steps = list82; - reference66 = obj64; - ref QuestSequence reference67 = ref span17[3]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - Span span18 = CollectionsMarshal.AsSpan(list83); - ref QuestStep reference68 = ref span18[0]; - QuestStep obj66 = new QuestStep(EInteractionType.Interact, 1039404u, new Vector3(2.2735596f, 116.12106f, -577.9355f), 620) - { - StopDistance = 7f - }; - num3 = 6; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - Span span19 = CollectionsMarshal.AsSpan(list84); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj66.CompletionQuestVariablesFlags = list84; - reference68 = obj66; - ref QuestStep reference69 = ref span18[1]; - QuestStep obj67 = new QuestStep(EInteractionType.Interact, 1039405u, new Vector3(2.1209717f, 116.152916f, -574.4259f), 620) - { - StopDistance = 7f - }; - num3 = 6; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - Span span20 = CollectionsMarshal.AsSpan(list85); - span20[0] = null; - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj67.CompletionQuestVariablesFlags = list85; - reference69 = obj67; - obj65.Steps = list83; - reference67 = obj65; - ref QuestSequence reference70 = ref span17[4]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.Interact, 1039408u, new Vector3(144.12134f, 118.19209f, -728.6946f), 620) - { - Fly = true - }; - obj68.Steps = list86; - reference70 = obj68; - ref QuestSequence reference71 = ref span17[5]; - QuestSequence obj69 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039410u, new Vector3(738.70447f, 70f, 511.0398f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter, - NextQuestId = new QuestId(4109) - }; - obj69.Steps = list87; - reference71 = obj69; - questRoot7.QuestSequence = list78; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(4109); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list88 = new List(num); - CollectionsMarshal.SetCount(list88, num); - CollectionsMarshal.AsSpan(list88)[0] = "liza"; - questRoot8.Author = list88; - num = 10; - List list89 = new List(num); - CollectionsMarshal.SetCount(list89, num); - Span span21 = CollectionsMarshal.AsSpan(list89); - ref QuestSequence reference72 = ref span21[0]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039402u, new Vector3(741.0239f, 70f, 510.61267f), 621) - { - StopDistance = 6f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj70.Steps = list90; - reference72 = obj70; - ref QuestSequence reference73 = ref span21[1]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.Interact, 1039413u, new Vector3(144.73181f, 118.19209f, -729.0303f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - obj71.Steps = list91; - reference73 = obj71; - ref QuestSequence reference74 = ref span21[2]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - ref QuestStep reference75 = ref CollectionsMarshal.AsSpan(list92)[0]; - QuestStep obj73 = new QuestStep(EInteractionType.Combat, 2011775u, new Vector3(577.66077f, 221.4541f, -629.3279f), 620) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - CollectionsMarshal.AsSpan(list93)[0] = 14009u; - obj73.KillEnemyDataIds = list93; - reference75 = obj73; - obj72.Steps = list92; - reference74 = obj72; - ref QuestSequence reference76 = ref span21[3]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - ref QuestStep reference77 = ref CollectionsMarshal.AsSpan(list94)[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2011776u, new Vector3(591.6074f, 222.24768f, -630.9453f), 620); - num3 = 1; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - CollectionsMarshal.AsSpan(list95)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKBA211_04109_SYSTEM_000_051") - }; - questStep3.DialogueChoices = list95; - reference77 = questStep3; - obj74.Steps = list94; - reference76 = obj74; - ref QuestSequence reference78 = ref span21[4]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - ref QuestStep reference79 = ref CollectionsMarshal.AsSpan(list96)[0]; - QuestStep obj76 = new QuestStep(EInteractionType.Combat, 2011777u, new Vector3(161.4862f, 118.364136f, -471.70215f), 620) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list97 = new List(num3); - CollectionsMarshal.SetCount(list97, num3); - CollectionsMarshal.AsSpan(list97)[0] = 14009u; - obj76.KillEnemyDataIds = list97; - reference79 = obj76; - obj75.Steps = list96; - reference78 = obj75; - ref QuestSequence reference80 = ref span21[5]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.Interact, 2011778u, new Vector3(146.74597f, 118.119995f, -470.9087f), 620); - obj77.Steps = list98; - reference80 = obj77; - ref QuestSequence reference81 = ref span21[6]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - Span span22 = CollectionsMarshal.AsSpan(list99); - span22[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(143.49226f, 118.1921f, -731.30457f), 620) - { - Fly = true - }; - span22[1] = new QuestStep(EInteractionType.Interact, 1020841u, new Vector3(146.01355f, 118.1921f, -730.4951f), 620) - { - StopDistance = 5f - }; - obj78.Steps = list99; - reference81 = obj78; - ref QuestSequence reference82 = ref span21[7]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - ref QuestStep reference83 = ref CollectionsMarshal.AsSpan(list100)[0]; - QuestStep obj80 = new QuestStep(EInteractionType.Interact, 1039414u, new Vector3(5.4779663f, 113.40467f, -755.581f), 620) - { - Fly = true - }; - num3 = 1; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - CollectionsMarshal.AsSpan(list101)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKBA211_04109_Q2_000_000"), - Answer = new ExcelRef("TEXT_AKTKBA211_04109_A2_000_001") - }; - obj80.DialogueChoices = list101; - reference83 = obj80; - obj79.Steps = list100; - reference82 = obj79; - ref QuestSequence reference84 = ref span21[8]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.Interact, 1039414u, new Vector3(5.4779663f, 113.40467f, -755.581f), 620); - obj81.Steps = list102; - reference84 = obj81; - ref QuestSequence reference85 = ref span21[9]; - QuestSequence obj82 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039410u, new Vector3(738.70447f, 70f, 511.0398f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter, - NextQuestId = new QuestId(4110) - }; - obj82.Steps = list103; - reference85 = obj82; - questRoot8.QuestSequence = list89; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(4110); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list104 = new List(num); - CollectionsMarshal.SetCount(list104, num); - CollectionsMarshal.AsSpan(list104)[0] = "liza"; - questRoot9.Author = list104; - num = 8; - List list105 = new List(num); - CollectionsMarshal.SetCount(list105, num); - Span span23 = CollectionsMarshal.AsSpan(list105); - ref QuestSequence reference86 = ref span23[0]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039402u, new Vector3(741.0239f, 70f, 510.61267f), 621) - { - StopDistance = 6f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj83.Steps = list106; - reference86 = obj83; - ref QuestSequence reference87 = ref span23[1]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.Interact, 1039415u, new Vector3(6.9122925f, 29.999926f, 25.558838f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - obj84.Steps = list107; - reference87 = obj84; - ref QuestSequence reference88 = ref span23[2]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.Interact, 1039418u, new Vector3(144.94531f, 3.9999998f, 16.464417f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahChamberOfRule, - To = EAetheryteLocation.UldahSapphireAvenue - } - }; - obj85.Steps = list108; - reference88 = obj85; - ref QuestSequence reference89 = ref span23[3]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 3 - }; - num2 = 8; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - Span span24 = CollectionsMarshal.AsSpan(list109); - span24[0] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1039418u, new Vector3(147.52042f, 3.9999995f, -7.714897f), 131) - { - Sprint = false - }; - span24[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1039418u, new Vector3(147.70839f, 4f, -11.791445f), 131) - { - StopDistance = 10f, - NpcWaitDistance = 2f, - Sprint = false - }; - span24[2] = new QuestStep(EInteractionType.WalkTo, 1039418u, new Vector3(134.52821f, 4f, -65.066986f), 131) - { - Sprint = false - }; - span24[3] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1039418u, new Vector3(129.31218f, 4f, -66.995674f), 131) - { - StopDistance = 10f, - NpcWaitDistance = 2f, - Sprint = false - }; - span24[4] = new QuestStep(EInteractionType.WalkTo, 1039418u, new Vector3(117.33298f, 4f, -72.35007f), 131) - { - Sprint = false - }; - span24[5] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1039418u, new Vector3(116.47475f, 4f, -76.0361f), 131) - { - StopDistance = 10f, - NpcWaitDistance = 2f, - Sprint = false - }; - span24[6] = new QuestStep(EInteractionType.WalkTo, 1039419u, new Vector3(102.311646f, 4f, -102.64752f), 131) - { - Sprint = false - }; - ref QuestStep reference90 = ref span24[7]; - QuestStep obj87 = new QuestStep(EInteractionType.None, null, null, 131) - { - DelaySecondsAtStart = 120f - }; - num3 = 1; - List list110 = new List(num3); - CollectionsMarshal.SetCount(list110, num3); - CollectionsMarshal.AsSpan(list110)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKBA221_04110_Q2_000_000"), - Answer = new ExcelRef("TEXT_AKTKBA221_04110_A2_000_002") - }; - obj87.DialogueChoices = list110; - reference90 = obj87; - obj86.Steps = list109; - reference89 = obj86; - ref QuestSequence reference91 = ref span23[4]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.Interact, 1039419u, new Vector3(102.311646f, 4f, -102.64752f), 131); - obj88.Steps = list111; - reference91 = obj88; - ref QuestSequence reference92 = ref span23[5]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.Interact, 1039419u, new Vector3(73.12596f, 12.789965f, 47.394222f), 131) - { - StopDistance = 0.5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahSapphireAvenue, - To = EAetheryteLocation.UldahWeaver - } - }; - obj89.Steps = list112; - reference92 = obj89; - ref QuestSequence reference93 = ref span23[6]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.Interact, 1039415u, new Vector3(6.9122925f, 29.999926f, 25.558838f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahWeaver, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - obj90.Steps = list113; - reference93 = obj90; - ref QuestSequence reference94 = ref span23[7]; - QuestSequence obj91 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039410u, new Vector3(738.70447f, 70f, 511.0398f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter, - NextQuestId = new QuestId(4111) - }; - obj91.Steps = list114; - reference94 = obj91; - questRoot9.QuestSequence = list105; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(4111); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - CollectionsMarshal.AsSpan(list115)[0] = "liza"; - questRoot10.Author = list115; - num = 6; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - Span span25 = CollectionsMarshal.AsSpan(list116); - ref QuestSequence reference95 = ref span25[0]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039402u, new Vector3(741.0239f, 70f, 510.61267f), 621) - { - StopDistance = 6f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj92.Steps = list117; - reference95 = obj92; - ref QuestSequence reference96 = ref span25[1]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - Span span26 = CollectionsMarshal.AsSpan(list118); - span26[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(611.34705f, 80.000015f, 626.28424f), 621) - { - Fly = true - }; - span26[1] = new QuestStep(EInteractionType.Interact, 1039421u, new Vector3(611.0779f, 80.000015f, 624.6891f), 621); - obj93.Steps = list118; - reference96 = obj93; - ref QuestSequence reference97 = ref span25[2]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - Span span27 = CollectionsMarshal.AsSpan(list119); - ref QuestStep reference98 = ref span27[0]; - QuestStep obj95 = new QuestStep(EInteractionType.Interact, 1021565u, new Vector3(440.11584f, 114.254425f, 212.84802f), 612) - { - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones - }; - num3 = 6; - List list120 = new List(num3); - CollectionsMarshal.SetCount(list120, num3); - Span span28 = CollectionsMarshal.AsSpan(list120); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj95.CompletionQuestVariablesFlags = list120; - reference98 = obj95; - ref QuestStep reference99 = ref span27[1]; - QuestStep obj96 = new QuestStep(EInteractionType.Interact, 1020817u, new Vector3(327.5348f, 83.45977f, -103.07471f), 612) - { - Fly = true - }; - num3 = 6; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - Span span29 = CollectionsMarshal.AsSpan(list121); - span29[0] = null; - span29[1] = null; - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj96.CompletionQuestVariablesFlags = list121; - reference99 = obj96; - obj94.Steps = list119; - reference97 = obj94; - ref QuestSequence reference100 = ref span25[3]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.Interact, 1039421u, new Vector3(611.0779f, 80.000015f, 624.6891f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter - }; - obj97.Steps = list122; - reference100 = obj97; - ref QuestSequence reference101 = ref span25[4]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - ref QuestStep reference102 = ref CollectionsMarshal.AsSpan(list123)[0]; - QuestStep obj99 = new QuestStep(EInteractionType.Interact, 1039422u, new Vector3(748.989f, 69.99995f, 516.0448f), 621) - { - Fly = true - }; - num3 = 1; - List list124 = new List(num3); - CollectionsMarshal.SetCount(list124, num3); - CollectionsMarshal.AsSpan(list124)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKBA231_04111_SYSTEM_000_060") - }; - obj99.DialogueChoices = list124; - reference102 = obj99; - obj98.Steps = list123; - reference101 = obj98; - ref QuestSequence reference103 = ref span25[5]; - QuestSequence obj100 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039410u, new Vector3(738.70447f, 70f, 511.0398f), 621) - { - StopDistance = 5f, - NextQuestId = new QuestId(4112) - }; - obj100.Steps = list125; - reference103 = obj100; - questRoot10.QuestSequence = list116; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(4112); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - CollectionsMarshal.AsSpan(list126)[0] = "liza"; - questRoot11.Author = list126; - num = 6; - List list127 = new List(num); - CollectionsMarshal.SetCount(list127, num); - Span span30 = CollectionsMarshal.AsSpan(list127); - ref QuestSequence reference104 = ref span30[0]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039402u, new Vector3(741.0239f, 70f, 510.61267f), 621) - { - StopDistance = 6f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj101.Steps = list128; - reference104 = obj101; - ref QuestSequence reference105 = ref span30[1]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.Interact, 1039423u, new Vector3(257.1908f, 133.8877f, -735.92737f), 620) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - obj102.Steps = list129; - reference105 = obj102; - ref QuestSequence reference106 = ref span30[2]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - Span span31 = CollectionsMarshal.AsSpan(list130); - span31[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(146.92796f, 118.19209f, -732.00134f), 620) - { - Fly = true - }; - span31[1] = new QuestStep(EInteractionType.Interact, 1020841u, new Vector3(146.01355f, 118.1921f, -730.4951f), 620); - obj103.Steps = list130; - reference106 = obj103; - ref QuestSequence reference107 = ref span30[3]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.Interact, 1039428u, new Vector3(781.33813f, 256.45923f, -453.66602f), 620) - { - Fly = true - }; - obj104.Steps = list131; - reference107 = obj104; - ref QuestSequence reference108 = ref span30[4]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.Interact, 1039427u, new Vector3(142.22925f, 118.1921f, -730.0679f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - obj105.Steps = list132; - reference108 = obj105; - ref QuestSequence reference109 = ref span30[5]; - QuestSequence obj106 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039410u, new Vector3(738.70447f, 70f, 511.0398f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter - }; - obj106.Steps = list133; - reference109 = obj106; - questRoot11.QuestSequence = list127; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(4113); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list134 = new List(num); - CollectionsMarshal.SetCount(list134, num); - CollectionsMarshal.AsSpan(list134)[0] = "liza"; - questRoot12.Author = list134; - num = 5; - List list135 = new List(num); - CollectionsMarshal.SetCount(list135, num); - Span span32 = CollectionsMarshal.AsSpan(list135); - ref QuestSequence reference110 = ref span32[0]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039402u, new Vector3(741.0239f, 70f, 510.61267f), 621) - { - StopDistance = 6f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj107.Steps = list136; - reference110 = obj107; - ref QuestSequence reference111 = ref span32[1]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - ref QuestStep reference112 = ref CollectionsMarshal.AsSpan(list137)[0]; - QuestStep obj109 = new QuestStep(EInteractionType.SinglePlayerDuty, 1039431u, new Vector3(735.25586f, 70f, 437.33875f), 621) - { - StopDistance = 7f - }; - SinglePlayerDutyOptions singlePlayerDutyOptions2 = new SinglePlayerDutyOptions(); - num3 = 2; - List list138 = new List(num3); - CollectionsMarshal.SetCount(list138, num3); - Span span33 = CollectionsMarshal.AsSpan(list138); - span33[0] = "AI doesn't target boss"; - span33[1] = "AI doesn't heal NPCs"; - singlePlayerDutyOptions2.Notes = list138; - obj109.SinglePlayerDutyOptions = singlePlayerDutyOptions2; - reference112 = obj109; - obj108.Steps = list137; - reference111 = obj108; - span32[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference113 = ref span32[3]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.Interact, 1039432u, new Vector3(606.1035f, 80.000015f, 623.77356f), 621); - obj110.Steps = list139; - reference113 = obj110; - ref QuestSequence reference114 = ref span32[4]; - QuestSequence obj111 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039411u, new Vector3(-182.20801f, 4.06f, -80.73547f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHallOfTheRadiantHost - } - }; - obj111.Steps = list140; - reference114 = obj111; - questRoot12.QuestSequence = list135; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(4114); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list141 = new List(num); - CollectionsMarshal.SetCount(list141, num); - CollectionsMarshal.AsSpan(list141)[0] = "liza"; - questRoot13.Author = list141; - num = 8; - List list142 = new List(num); - CollectionsMarshal.SetCount(list142, num); - Span span34 = CollectionsMarshal.AsSpan(list142); - ref QuestSequence reference115 = ref span34[0]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - ref QuestStep reference116 = ref CollectionsMarshal.AsSpan(list143)[0]; - QuestStep obj113 = new QuestStep(EInteractionType.AcceptQuest, 1040165u, new Vector3(-175.0058f, 4.061f, -81.22388f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHallOfTheRadiantHost - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - CollectionsMarshal.AsSpan(list144)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKBA301_04114_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKBA301_04114_A1_000_001") - }; - obj113.DialogueChoices = list144; - reference116 = obj113; - obj112.Steps = list143; - reference115 = obj112; - ref QuestSequence reference117 = ref span34[1]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.Interact, 1040166u, new Vector3(68.74182f, 40f, 66.300415f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj114.Steps = list145; - reference117 = obj114; - ref QuestSequence reference118 = ref span34[2]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.Interact, 1040167u, new Vector3(-57.78595f, -25.02207f, 80.18616f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - obj115.Steps = list146; - reference118 = obj115; - ref QuestSequence reference119 = ref span34[3]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.Interact, 1040168u, new Vector3(-132.43304f, -23.70691f, 53.57434f), 138); - obj116.Steps = list147; - reference119 = obj116; - ref QuestSequence reference120 = ref span34[4]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - ref QuestStep reference121 = ref CollectionsMarshal.AsSpan(list148)[0]; - QuestStep obj118 = new QuestStep(EInteractionType.Combat, 1040171u, new Vector3(-195.75806f, -40.81036f, -76.46301f), 138) - { - StopDistance = 1f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - CollectionsMarshal.AsSpan(list149)[0] = 14019u; - obj118.KillEnemyDataIds = list149; - reference121 = obj118; - obj117.Steps = list148; - reference120 = obj117; - ref QuestSequence reference122 = ref span34[5]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.Interact, 1040171u, new Vector3(-195.75806f, -40.81036f, -76.46301f), 138); - obj119.Steps = list150; - reference122 = obj119; - ref QuestSequence reference123 = ref span34[6]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.Interact, 1040177u, new Vector3(-132.34149f, -23.704098f, 53.60486f), 138) - { - Fly = true - }; - obj120.Steps = list151; - reference123 = obj120; - ref QuestSequence reference124 = ref span34[7]; - QuestSequence obj121 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040174u, new Vector3(67.27698f, 40f, 66.63611f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - }, - NextQuestId = new QuestId(4115) - }; - obj121.Steps = list152; - reference124 = obj121; - questRoot13.QuestSequence = list142; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(4115); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list153 = new List(num); - CollectionsMarshal.SetCount(list153, num); - CollectionsMarshal.AsSpan(list153)[0] = "liza"; - questRoot14.Author = list153; - num = 9; - List list154 = new List(num); - CollectionsMarshal.SetCount(list154, num); - Span span35 = CollectionsMarshal.AsSpan(list154); - ref QuestSequence reference125 = ref span35[0]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - ref QuestStep reference126 = ref CollectionsMarshal.AsSpan(list155)[0]; - QuestStep obj123 = new QuestStep(EInteractionType.AcceptQuest, 1040166u, new Vector3(68.74182f, 40f, 66.300415f), 128) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition obj124 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list156 = new List(num3); - CollectionsMarshal.SetCount(list156, num3); - CollectionsMarshal.AsSpan(list156)[0] = 128; - obj124.InTerritory = list156; - skipConditions3.AetheryteShortcutIf = obj124; - obj123.SkipConditions = skipConditions3; - reference126 = obj123; - obj122.Steps = list155; - reference125 = obj122; - ref QuestSequence reference127 = ref span35[1]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.Interact, 1040175u, new Vector3(-69.993164f, -25.092323f, 59.861084f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - obj125.Steps = list157; - reference127 = obj125; - ref QuestSequence reference128 = ref span35[2]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - Span span36 = CollectionsMarshal.AsSpan(list158); - ref QuestStep reference129 = ref span36[0]; - QuestStep obj127 = new QuestStep(EInteractionType.Interact, 1040185u, new Vector3(-205.43231f, -41.047558f, -57.38922f), 138) - { - Fly = true - }; - num3 = 6; - List list159 = new List(num3); - CollectionsMarshal.SetCount(list159, num3); - Span span37 = CollectionsMarshal.AsSpan(list159); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj127.CompletionQuestVariablesFlags = list159; - reference129 = obj127; - ref QuestStep reference130 = ref span36[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1040186u, new Vector3(-222.73596f, -39.96398f, -99.99243f), 138); - num3 = 6; - List list160 = new List(num3); - CollectionsMarshal.SetCount(list160, num3); - Span span38 = CollectionsMarshal.AsSpan(list160); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list160; - reference130 = questStep4; - obj126.Steps = list158; - reference128 = obj126; - ref QuestSequence reference131 = ref span35[3]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.Interact, 1040176u, new Vector3(-219.2569f, -41.930645f, -228.6565f), 138) - { - Fly = true - }; - obj128.Steps = list161; - reference131 = obj128; - ref QuestSequence reference132 = ref span35[4]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.Interact, 1040175u, new Vector3(-69.993164f, -25.092323f, 59.861084f), 138) - { - Fly = true - }; - obj129.Steps = list162; - reference132 = obj129; - ref QuestSequence reference133 = ref span35[5]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - ref QuestStep reference134 = ref CollectionsMarshal.AsSpan(list163)[0]; - QuestStep obj131 = new QuestStep(EInteractionType.Combat, null, new Vector3(-85.9908f, -25.16141f, 73.1317f), 138) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - CollectionsMarshal.AsSpan(list164)[0] = 14018u; - obj131.KillEnemyDataIds = list164; - reference134 = obj131; - obj130.Steps = list163; - reference133 = obj130; - ref QuestSequence reference135 = ref span35[6]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.Interact, 1040178u, new Vector3(-80.52191f, -25.288979f, 63.21814f), 138); - obj132.Steps = list165; - reference135 = obj132; - ref QuestSequence reference136 = ref span35[7]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.Interact, 1040180u, new Vector3(45.609253f, -22.383259f, 100.57214f), 138) - { - Fly = true - }; - obj133.Steps = list166; - reference136 = obj133; - ref QuestSequence reference137 = ref span35[8]; - QuestSequence obj134 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040174u, new Vector3(67.27698f, 40f, 66.63611f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - }, - NextQuestId = new QuestId(4116) - }; - obj134.Steps = list167; - reference137 = obj134; - questRoot14.QuestSequence = list154; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(4116); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list168 = new List(num); - CollectionsMarshal.SetCount(list168, num); - CollectionsMarshal.AsSpan(list168)[0] = "liza"; - questRoot15.Author = list168; - num = 5; - List list169 = new List(num); - CollectionsMarshal.SetCount(list169, num); - Span span39 = CollectionsMarshal.AsSpan(list169); - ref QuestSequence reference138 = ref span39[0]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - ref QuestStep reference139 = ref CollectionsMarshal.AsSpan(list170)[0]; - QuestStep obj136 = new QuestStep(EInteractionType.AcceptQuest, 1040166u, new Vector3(68.74182f, 40f, 66.300415f), 128) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition obj137 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list171 = new List(num3); - CollectionsMarshal.SetCount(list171, num3); - CollectionsMarshal.AsSpan(list171)[0] = 128; - obj137.InTerritory = list171; - skipConditions4.AetheryteShortcutIf = obj137; - obj136.SkipConditions = skipConditions4; - reference139 = obj136; - obj135.Steps = list170; - reference138 = obj135; - ref QuestSequence reference140 = ref span39[1]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.Interact, 1040187u, new Vector3(-95.44525f, -24.941013f, 77.927734f), 138) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - obj138.Steps = list172; - reference140 = obj138; - ref QuestSequence reference141 = ref span39[2]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.Interact, 2011923u, new Vector3(-55.985413f, 39.993896f, 23.147888f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj139.Steps = list173; - reference141 = obj139; - ref QuestSequence reference142 = ref span39[3]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.Interact, 1040190u, new Vector3(-58.884644f, 39.999916f, 21.22528f), 128) - { - StopDistance = 7f - }; - obj140.Steps = list174; - reference142 = obj140; - ref QuestSequence reference143 = ref span39[4]; - QuestSequence obj141 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040166u, new Vector3(68.74182f, 40f, 66.300415f), 128) - { - NextQuestId = new QuestId(4117) - }; - obj141.Steps = list175; - reference143 = obj141; - questRoot15.QuestSequence = list169; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(4117); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - CollectionsMarshal.AsSpan(list176)[0] = "liza"; - questRoot16.Author = list176; - num = 6; - List list177 = new List(num); - CollectionsMarshal.SetCount(list177, num); - Span span40 = CollectionsMarshal.AsSpan(list177); - ref QuestSequence reference144 = ref span40[0]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - ref QuestStep reference145 = ref CollectionsMarshal.AsSpan(list178)[0]; - QuestStep obj143 = new QuestStep(EInteractionType.AcceptQuest, 1040166u, new Vector3(68.74182f, 40f, 66.300415f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipAetheryteCondition obj144 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list179 = new List(num3); - CollectionsMarshal.SetCount(list179, num3); - CollectionsMarshal.AsSpan(list179)[0] = 128; - obj144.InTerritory = list179; - skipConditions5.AetheryteShortcutIf = obj144; - obj143.SkipConditions = skipConditions5; - reference145 = obj143; - obj142.Steps = list178; - reference144 = obj142; - ref QuestSequence reference146 = ref span40[1]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - ref QuestStep reference147 = ref CollectionsMarshal.AsSpan(list180)[0]; - QuestStep obj146 = new QuestStep(EInteractionType.Interact, 1040195u, new Vector3(70.51184f, 40f, 66.14783f), 128) - { - StopDistance = 5f - }; - num3 = 2; - List list181 = new List(num3); - CollectionsMarshal.SetCount(list181, num3); - Span span41 = CollectionsMarshal.AsSpan(list181); - span41[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKBA331_04117_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKBA331_04117_A1_000_001") - }; - span41[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKBA331_04117_Q2_000_000"), - Answer = new ExcelRef("TEXT_AKTKBA331_04117_A2_000_002") - }; - obj146.DialogueChoices = list181; - reference147 = obj146; - obj145.Steps = list180; - reference146 = obj145; - ref QuestSequence reference148 = ref span40[2]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.Interact, 1040196u, new Vector3(-0.015319824f, 11.924474f, 792.6909f), 135) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }; - obj147.Steps = list182; - reference148 = obj147; - ref QuestSequence reference149 = ref span40[3]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - ref QuestStep reference150 = ref CollectionsMarshal.AsSpan(list183)[0]; - QuestStep obj149 = new QuestStep(EInteractionType.Interact, 1040204u, new Vector3(-185.22931f, 1.9999955f, 224.90259f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - } - }; - num3 = 1; - List list184 = new List(num3); - CollectionsMarshal.SetCount(list184, num3); - CollectionsMarshal.AsSpan(list184)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKBA331_04117_Q4_000_000"), - Answer = new ExcelRef("TEXT_AKTKBA331_04117_A4_000_001") - }; - obj149.DialogueChoices = list184; - reference150 = obj149; - obj148.Steps = list183; - reference149 = obj148; - ref QuestSequence reference151 = ref span40[4]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.Interact, 1040204u, new Vector3(-185.22931f, 1.9999955f, 224.90259f), 129); - obj150.Steps = list185; - reference151 = obj150; - ref QuestSequence reference152 = ref span40[5]; - QuestSequence obj151 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040174u, new Vector3(67.27698f, 40f, 66.63611f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaFisher, - To = EAetheryteLocation.LimsaAftcastle - }, - NextQuestId = new QuestId(4118) - }; - obj151.Steps = list186; - reference152 = obj151; - questRoot16.QuestSequence = list177; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(4118); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list187 = new List(num); - CollectionsMarshal.SetCount(list187, num); - CollectionsMarshal.AsSpan(list187)[0] = "liza"; - questRoot17.Author = list187; - num = 6; - List list188 = new List(num); - CollectionsMarshal.SetCount(list188, num); - Span span42 = CollectionsMarshal.AsSpan(list188); - ref QuestSequence reference153 = ref span42[0]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - ref QuestStep reference154 = ref CollectionsMarshal.AsSpan(list189)[0]; - QuestStep obj153 = new QuestStep(EInteractionType.AcceptQuest, 1040166u, new Vector3(68.74182f, 40f, 66.300415f), 128) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipAetheryteCondition obj154 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list190 = new List(num3); - CollectionsMarshal.SetCount(list190, num3); - CollectionsMarshal.AsSpan(list190)[0] = 128; - obj154.InTerritory = list190; - skipConditions6.AetheryteShortcutIf = obj154; - obj153.SkipConditions = skipConditions6; - reference154 = obj153; - obj152.Steps = list189; - reference153 = obj152; - ref QuestSequence reference155 = ref span42[1]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.Interact, 1006266u, new Vector3(560.35706f, 20.721315f, 455.89368f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj155.Steps = list191; - reference155 = obj155; - ref QuestSequence reference156 = ref span42[2]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.Interact, 2011924u, new Vector3(375.63123f, 29.55664f, 330.9834f), 137) - { - Fly = true - }; - obj156.Steps = list192; - reference156 = obj156; - ref QuestSequence reference157 = ref span42[3]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.Interact, 1040209u, new Vector3(526.8176f, 56.519592f, 103.89868f), 137) - { - Fly = true - }; - obj157.Steps = list193; - reference157 = obj157; - ref QuestSequence reference158 = ref span42[4]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.Interact, 1006266u, new Vector3(560.35706f, 20.721315f, 455.89368f), 137) - { - Fly = true - }; - obj158.Steps = list194; - reference158 = obj158; - ref QuestSequence reference159 = ref span42[5]; - QuestSequence obj159 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040166u, new Vector3(68.74182f, 40f, 66.300415f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - }, - NextQuestId = new QuestId(4119) - }; - obj159.Steps = list195; - reference159 = obj159; - questRoot17.QuestSequence = list188; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(4119); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list196 = new List(num); - CollectionsMarshal.SetCount(list196, num); - CollectionsMarshal.AsSpan(list196)[0] = "liza"; - questRoot18.Author = list196; - num = 9; - List list197 = new List(num); - CollectionsMarshal.SetCount(list197, num); - Span span43 = CollectionsMarshal.AsSpan(list197); - ref QuestSequence reference160 = ref span43[0]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - ref QuestStep reference161 = ref CollectionsMarshal.AsSpan(list198)[0]; - QuestStep obj161 = new QuestStep(EInteractionType.AcceptQuest, 1040166u, new Vector3(68.74182f, 40f, 66.300415f), 128) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipAetheryteCondition obj162 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list199 = new List(num3); - CollectionsMarshal.SetCount(list199, num3); - CollectionsMarshal.AsSpan(list199)[0] = 128; - obj162.InTerritory = list199; - skipConditions7.AetheryteShortcutIf = obj162; - obj161.SkipConditions = skipConditions7; - num3 = 1; - List list200 = new List(num3); - CollectionsMarshal.SetCount(list200, num3); - CollectionsMarshal.AsSpan(list200)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKBA351_04119_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKBA351_04119_A1_000_002") - }; - obj161.DialogueChoices = list200; - reference161 = obj161; - obj160.Steps = list198; - reference160 = obj160; - ref QuestSequence reference162 = ref span43[1]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - ref QuestStep reference163 = ref CollectionsMarshal.AsSpan(list201)[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.SinglePlayerDuty, 1040189u, new Vector3(-52.140076f, 39.999992f, 21.805054f), 128); - SinglePlayerDutyOptions singlePlayerDutyOptions3 = new SinglePlayerDutyOptions(); - num3 = 3; - List list202 = new List(num3); - CollectionsMarshal.SetCount(list202, num3); - Span span44 = CollectionsMarshal.AsSpan(list202); - span44[0] = "AI doesn't attempt to move to the correct direction when killing orbs"; - span44[1] = "AI only dodges some, but not all AOEs"; - span44[2] = "AI doesn't move behind the shield for 'Extinction Flare' and dies"; - singlePlayerDutyOptions3.Notes = list202; - questStep5.SinglePlayerDutyOptions = singlePlayerDutyOptions3; - reference163 = questStep5; - obj163.Steps = list201; - reference162 = obj163; - span43[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference164 = ref span43[3]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.Interact, 1040214u, new Vector3(-59.40338f, 39.999916f, 24.093994f), 128); - obj164.Steps = list203; - reference164 = obj164; - ref QuestSequence reference165 = ref span43[4]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 4 - }; - num2 = 5; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - Span span45 = CollectionsMarshal.AsSpan(list204); - ref QuestStep reference166 = ref span45[0]; - QuestStep obj166 = new QuestStep(EInteractionType.Interact, 1040190u, new Vector3(-58.884644f, 39.999916f, 21.22528f), 128) - { - StopDistance = 7f - }; - num3 = 6; - List list205 = new List(num3); - CollectionsMarshal.SetCount(list205, num3); - Span span46 = CollectionsMarshal.AsSpan(list205); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj166.CompletionQuestVariablesFlags = list205; - num3 = 1; - List list206 = new List(num3); - CollectionsMarshal.SetCount(list206, num3); - CollectionsMarshal.AsSpan(list206)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKBA351_04119_Q3_000_000"), - Answer = new ExcelRef("TEXT_AKTKBA351_04119_A3_000_001") - }; - obj166.DialogueChoices = list206; - reference166 = obj166; - ref QuestStep reference167 = ref span45[1]; - QuestStep obj167 = new QuestStep(EInteractionType.Interact, 1040191u, new Vector3(-57.63336f, 39.999992f, 20.09607f), 128) - { - StopDistance = 7f - }; - num3 = 6; - List list207 = new List(num3); - CollectionsMarshal.SetCount(list207, num3); - Span span47 = CollectionsMarshal.AsSpan(list207); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj167.CompletionQuestVariablesFlags = list207; - num3 = 1; - List list208 = new List(num3); - CollectionsMarshal.SetCount(list208, num3); - CollectionsMarshal.AsSpan(list208)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKBA351_04119_Q4_000_000"), - Answer = new ExcelRef("TEXT_AKTKBA351_04119_A4_000_001") - }; - obj167.DialogueChoices = list208; - reference167 = obj167; - ref QuestStep reference168 = ref span45[2]; - QuestStep obj168 = new QuestStep(EInteractionType.Interact, 1040192u, new Vector3(-56.168518f, 39.999992f, 19.638367f), 128) - { - StopDistance = 7f - }; - num3 = 6; - List list209 = new List(num3); - CollectionsMarshal.SetCount(list209, num3); - Span span48 = CollectionsMarshal.AsSpan(list209); - span48[0] = null; - span48[1] = null; - span48[2] = null; - span48[3] = null; - span48[4] = null; - span48[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj168.CompletionQuestVariablesFlags = list209; - num3 = 1; - List list210 = new List(num3); - CollectionsMarshal.SetCount(list210, num3); - CollectionsMarshal.AsSpan(list210)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKBA351_04119_Q5_000_000"), - Answer = new ExcelRef("TEXT_AKTKBA351_04119_A5_000_001") - }; - obj168.DialogueChoices = list210; - reference168 = obj168; - ref QuestStep reference169 = ref span45[3]; - QuestStep obj169 = new QuestStep(EInteractionType.Interact, 1040193u, new Vector3(-55.00885f, 39.999992f, 19.4552f), 128) - { - StopDistance = 7f - }; - num3 = 6; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - Span span49 = CollectionsMarshal.AsSpan(list211); - span49[0] = null; - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj169.CompletionQuestVariablesFlags = list211; - num3 = 1; - List list212 = new List(num3); - CollectionsMarshal.SetCount(list212, num3); - CollectionsMarshal.AsSpan(list212)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKBA351_04119_Q6_000_000"), - Answer = new ExcelRef("TEXT_AKTKBA351_04119_A6_000_001") - }; - obj169.DialogueChoices = list212; - reference169 = obj169; - ref QuestStep reference170 = ref span45[4]; - QuestStep obj170 = new QuestStep(EInteractionType.Interact, 1040194u, new Vector3(-53.818604f, 39.999992f, 19.516235f), 128) - { - StopDistance = 7f - }; - num3 = 6; - List list213 = new List(num3); - CollectionsMarshal.SetCount(list213, num3); - Span span50 = CollectionsMarshal.AsSpan(list213); - span50[0] = null; - span50[1] = null; - span50[2] = null; - span50[3] = null; - span50[4] = null; - span50[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj170.CompletionQuestVariablesFlags = list213; - num3 = 1; - List list214 = new List(num3); - CollectionsMarshal.SetCount(list214, num3); - CollectionsMarshal.AsSpan(list214)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKBA351_04119_Q7_000_000"), - Answer = new ExcelRef("TEXT_AKTKBA351_04119_A7_000_001") - }; - obj170.DialogueChoices = list214; - reference170 = obj170; - obj165.Steps = list204; - reference165 = obj165; - ref QuestSequence reference171 = ref span43[5]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.Interact, 1040214u, new Vector3(-59.40338f, 39.999916f, 24.093994f), 128) - { - StopDistance = 5f - }; - obj171.Steps = list215; - reference171 = obj171; - ref QuestSequence reference172 = ref span43[6]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - CollectionsMarshal.AsSpan(list216)[0] = new QuestStep(EInteractionType.Interact, 1040213u, new Vector3(-54.459473f, 39.999992f, 25.986084f), 128) - { - StopDistance = 5f - }; - obj172.Steps = list216; - reference172 = obj172; - ref QuestSequence reference173 = ref span43[7]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.Interact, 1040189u, new Vector3(-52.140076f, 39.999992f, 21.805054f), 128) - { - StopDistance = 7f - }; - obj173.Steps = list217; - reference173 = obj173; - ref QuestSequence reference174 = ref span43[8]; - QuestSequence obj174 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - CollectionsMarshal.AsSpan(list218)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040165u, new Vector3(-175.0058f, 4.061f, -81.22388f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHallOfTheRadiantHost - } - }; - obj174.Steps = list218; - reference174 = obj174; - questRoot18.QuestSequence = list197; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(4120); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list219 = new List(num); - CollectionsMarshal.SetCount(list219, num); - CollectionsMarshal.AsSpan(list219)[0] = "liza"; - questRoot19.Author = list219; - num = 6; - List list220 = new List(num); - CollectionsMarshal.SetCount(list220, num); - Span span51 = CollectionsMarshal.AsSpan(list220); - ref QuestSequence reference175 = ref span51[0]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - ref QuestStep reference176 = ref CollectionsMarshal.AsSpan(list221)[0]; - QuestStep obj176 = new QuestStep(EInteractionType.AcceptQuest, 1039102u, new Vector3(-177.96606f, 4.05f, -90.44025f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHallOfTheRadiantHost - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list222 = new List(num3); - CollectionsMarshal.SetCount(list222, num3); - CollectionsMarshal.AsSpan(list222)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKBA401_04120_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKBA401_04120_A1_000_001") - }; - obj176.DialogueChoices = list222; - reference176 = obj176; - obj175.Steps = list221; - reference175 = obj175; - ref QuestSequence reference177 = ref span51[1]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - CollectionsMarshal.AsSpan(list223)[0] = new QuestStep(EInteractionType.Interact, 1038458u, new Vector3(-0.96136475f, 0f, 7.2174683f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave - }; - obj177.Steps = list223; - reference177 = obj177; - ref QuestSequence reference178 = ref span51[2]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.Interact, 1038459u, new Vector3(472.09888f, 16.276169f, 318.25732f), 614) - { - StopDistance = 5f - }; - obj178.Steps = list224; - reference178 = obj178; - ref QuestSequence reference179 = ref span51[3]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - ref QuestStep reference180 = ref CollectionsMarshal.AsSpan(list225)[0]; - QuestStep obj180 = new QuestStep(EInteractionType.Combat, null, new Vector3(323.44977f, 30.394468f, 222.47493f), 614) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list226 = new List(num3); - CollectionsMarshal.SetCount(list226, num3); - CollectionsMarshal.AsSpan(list226)[0] = 14026u; - obj180.KillEnemyDataIds = list226; - reference180 = obj180; - obj179.Steps = list225; - reference179 = obj179; - ref QuestSequence reference181 = ref span51[4]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.Interact, 1038462u, new Vector3(319.9359f, 29.41258f, 224.4143f), 614) - { - StopDistance = 5f - }; - obj181.Steps = list227; - reference181 = obj181; - ref QuestSequence reference182 = ref span51[5]; - QuestSequence obj182 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038457u, new Vector3(-0.83929443f, 0f, 8.8654175f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave, - NextQuestId = new QuestId(4121) - }; - obj182.Steps = list228; - reference182 = obj182; - questRoot19.QuestSequence = list220; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(4121); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list229 = new List(num); - CollectionsMarshal.SetCount(list229, num); - CollectionsMarshal.AsSpan(list229)[0] = "liza"; - questRoot20.Author = list229; - num = 7; - List list230 = new List(num); - CollectionsMarshal.SetCount(list230, num); - Span span52 = CollectionsMarshal.AsSpan(list230); - ref QuestSequence reference183 = ref span52[0]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038458u, new Vector3(-0.96136475f, 0f, 7.2174683f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj183.Steps = list231; - reference183 = obj183; - ref QuestSequence reference184 = ref span52[1]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.Interact, 1038464u, new Vector3(-738.55194f, 1.1992621f, -365.56042f), 613) - { - StopDistance = 1f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro - }; - obj184.Steps = list232; - reference184 = obj184; - ref QuestSequence reference185 = ref span52[2]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - Span span53 = CollectionsMarshal.AsSpan(list233); - ref QuestStep reference186 = ref span53[0]; - QuestStep obj186 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-755.03345f, 4.7634573f, -477.97415f), 613) - { - Fly = true - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list234 = new List(num3); - CollectionsMarshal.SetCount(list234, num3); - Span span54 = CollectionsMarshal.AsSpan(list234); - span54[0] = null; - span54[1] = null; - span54[2] = null; - span54[3] = null; - span54[4] = null; - span54[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list234; - skipConditions8.StepIf = skipStepConditions3; - obj186.SkipConditions = skipConditions8; - reference186 = obj186; - ref QuestStep reference187 = ref span53[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1038467u, new Vector3(-753.78046f, 4.7634573f, -479.3927f), 613); - num3 = 6; - List list235 = new List(num3); - CollectionsMarshal.SetCount(list235, num3); - Span span55 = CollectionsMarshal.AsSpan(list235); - span55[0] = null; - span55[1] = null; - span55[2] = null; - span55[3] = null; - span55[4] = null; - span55[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list235; - reference187 = questStep6; - ref QuestStep reference188 = ref span53[2]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1038466u, new Vector3(-778.2254f, 8.915142f, -497.06265f), 613); - num3 = 6; - List list236 = new List(num3); - CollectionsMarshal.SetCount(list236, num3); - Span span56 = CollectionsMarshal.AsSpan(list236); - span56[0] = null; - span56[1] = null; - span56[2] = null; - span56[3] = null; - span56[4] = null; - span56[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list236; - reference188 = questStep7; - ref QuestStep reference189 = ref span53[3]; - QuestStep obj187 = new QuestStep(EInteractionType.Interact, 1038468u, new Vector3(-815.88464f, 19.565891f, -461.3871f), 613) - { - Fly = true - }; - num3 = 6; - List list237 = new List(num3); - CollectionsMarshal.SetCount(list237, num3); - Span span57 = CollectionsMarshal.AsSpan(list237); - span57[0] = null; - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj187.CompletionQuestVariablesFlags = list237; - reference189 = obj187; - obj185.Steps = list233; - reference185 = obj185; - ref QuestSequence reference190 = ref span52[3]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.Interact, 1038464u, new Vector3(-738.55194f, 1.1992621f, -365.56042f), 613) - { - StopDistance = 1f, - Fly = true - }; - obj188.Steps = list238; - reference190 = obj188; - ref QuestSequence reference191 = ref span52[4]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - CollectionsMarshal.AsSpan(list239)[0] = new QuestStep(EInteractionType.Interact, 1038464u, new Vector3(-738.55194f, 1.1992621f, -365.56042f), 613); - obj189.Steps = list239; - reference191 = obj189; - ref QuestSequence reference192 = ref span52[5]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.Interact, 1038469u, new Vector3(-585.04614f, 19.143135f, -708.03394f), 613); - obj190.Steps = list240; - reference192 = obj190; - ref QuestSequence reference193 = ref span52[6]; - QuestSequence obj191 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038457u, new Vector3(-0.83929443f, 0f, 8.8654175f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave, - NextQuestId = new QuestId(4122) - }; - obj191.Steps = list241; - reference193 = obj191; - questRoot20.QuestSequence = list230; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(4122); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list242 = new List(num); - CollectionsMarshal.SetCount(list242, num); - CollectionsMarshal.AsSpan(list242)[0] = "Censored"; - questRoot21.Author = list242; - num = 8; - List list243 = new List(num); - CollectionsMarshal.SetCount(list243, num); - Span span58 = CollectionsMarshal.AsSpan(list243); - ref QuestSequence reference194 = ref span58[0]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038458u, new Vector3(-0.96136475f, 0f, 7.2174683f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj192.Steps = list244; - reference194 = obj192; - ref QuestSequence reference195 = ref span58[1]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.Interact, 1038471u, new Vector3(201.77002f, 1.1510025f, -574.88367f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(201.77002f, 1.1510025f, -574.88367f), - MaximumDistance = 50f, - TerritoryId = 613 - } - } - } - }; - obj193.Steps = list245; - reference195 = obj193; - ref QuestSequence reference196 = ref span58[2]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - CollectionsMarshal.AsSpan(list246)[0] = new QuestStep(EInteractionType.Interact, 1038475u, new Vector3(12.710693f, -198.1417f, -155.8404f), 613); - obj194.Steps = list246; - reference196 = obj194; - ref QuestSequence reference197 = ref span58[3]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.Interact, 1038476u, new Vector3(16.983276f, -195.74509f, -105.97394f), 613); - obj195.Steps = list247; - reference197 = obj195; - ref QuestSequence reference198 = ref span58[4]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.Interact, 1038477u, new Vector3(-34.62274f, -198.56413f, -69.16919f), 613); - obj196.Steps = list248; - reference198 = obj196; - ref QuestSequence reference199 = ref span58[5]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.Interact, 1038478u, new Vector3(-90.25714f, -198.95348f, -129.65594f), 613); - obj197.Steps = list249; - reference199 = obj197; - ref QuestSequence reference200 = ref span58[6]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - CollectionsMarshal.AsSpan(list250)[0] = new QuestStep(EInteractionType.Interact, 1038474u, new Vector3(203.1128f, 1.1510025f, -574.1207f), 613); - obj198.Steps = list250; - reference200 = obj198; - ref QuestSequence reference201 = ref span58[7]; - QuestSequence obj199 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038457u, new Vector3(-0.83929443f, 0f, 8.8654175f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - NextQuestId = new QuestId(4123) - }; - obj199.Steps = list251; - reference201 = obj199; - questRoot21.QuestSequence = list243; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(4123); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list252 = new List(num); - CollectionsMarshal.SetCount(list252, num); - CollectionsMarshal.AsSpan(list252)[0] = "Censored"; - questRoot22.Author = list252; - num = 5; - List list253 = new List(num); - CollectionsMarshal.SetCount(list253, num); - Span span59 = CollectionsMarshal.AsSpan(list253); - ref QuestSequence reference202 = ref span59[0]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038458u, new Vector3(-0.96136475f, 0f, 7.2174683f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj200.Steps = list254; - reference202 = obj200; - ref QuestSequence reference203 = ref span59[1]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - CollectionsMarshal.AsSpan(list255)[0] = new QuestStep(EInteractionType.Interact, 1021505u, new Vector3(79.42322f, 33.00897f, -669.9474f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(79.42322f, 33.00897f, -669.9474f), - MaximumDistance = 50f, - TerritoryId = 613 - } - } - } - }; - obj201.Steps = list255; - reference203 = obj201; - ref QuestSequence reference204 = ref span59[2]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.Interact, 1038480u, new Vector3(422.17126f, -0.0031298446f, -685.298f), 613) - { - Fly = true - }; - obj202.Steps = list256; - reference204 = obj202; - ref QuestSequence reference205 = ref span59[3]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.Interact, 1038482u, new Vector3(569.7261f, 0.7321513f, -517.47925f), 613) - { - StopDistance = 5f - }; - obj203.Steps = list257; - reference205 = obj203; - ref QuestSequence reference206 = ref span59[4]; - QuestSequence obj204 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - CollectionsMarshal.AsSpan(list258)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038457u, new Vector3(-0.83929443f, 0f, 8.8654175f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - NextQuestId = new QuestId(4124) - }; - obj204.Steps = list258; - reference206 = obj204; - questRoot22.QuestSequence = list253; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(4124); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list259 = new List(num); - CollectionsMarshal.SetCount(list259, num); - CollectionsMarshal.AsSpan(list259)[0] = "Censored"; - questRoot23.Author = list259; - num = 6; - List list260 = new List(num); - CollectionsMarshal.SetCount(list260, num); - Span span60 = CollectionsMarshal.AsSpan(list260); - ref QuestSequence reference207 = ref span60[0]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038458u, new Vector3(-0.96136475f, 0f, 7.2174683f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj205.Steps = list261; - reference207 = obj205; - ref QuestSequence reference208 = ref span60[1]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - CollectionsMarshal.AsSpan(list262)[0] = new QuestStep(EInteractionType.Interact, 1038484u, new Vector3(442.2522f, 68.02853f, -81.31531f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(442.2522f, 68.02853f, -81.31531f), - MaximumDistance = 50f, - TerritoryId = 614 - } - } - } - }; - obj206.Steps = list262; - reference208 = obj206; - ref QuestSequence reference209 = ref span60[2]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - Span span61 = CollectionsMarshal.AsSpan(list263); - ref QuestStep reference210 = ref span61[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1038488u, new Vector3(476.58496f, 68.02853f, -114.7937f), 614); - num3 = 6; - List list264 = new List(num3); - CollectionsMarshal.SetCount(list264, num3); - Span span62 = CollectionsMarshal.AsSpan(list264); - span62[0] = null; - span62[1] = null; - span62[2] = null; - span62[3] = null; - span62[4] = null; - span62[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list264; - reference210 = questStep8; - ref QuestStep reference211 = ref span61[1]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1038489u, new Vector3(427.87805f, 68.02852f, -126.17688f), 614); - num3 = 6; - List list265 = new List(num3); - CollectionsMarshal.SetCount(list265, num3); - Span span63 = CollectionsMarshal.AsSpan(list265); - span63[0] = null; - span63[1] = null; - span63[2] = null; - span63[3] = null; - span63[4] = null; - span63[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list265; - reference211 = questStep9; - ref QuestStep reference212 = ref span61[2]; - QuestStep obj208 = new QuestStep(EInteractionType.Interact, 1038490u, new Vector3(443.68652f, 58.724403f, -181.62811f), 614) - { - Fly = true - }; - num3 = 6; - List list266 = new List(num3); - CollectionsMarshal.SetCount(list266, num3); - Span span64 = CollectionsMarshal.AsSpan(list266); - span64[0] = null; - span64[1] = null; - span64[2] = null; - span64[3] = null; - span64[4] = null; - span64[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj208.CompletionQuestVariablesFlags = list266; - reference212 = obj208; - obj207.Steps = list263; - reference209 = obj207; - ref QuestSequence reference213 = ref span60[3]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - Span span65 = CollectionsMarshal.AsSpan(list267); - span65[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(625.23627f, 81.04776f, -212.65506f), 614) - { - Fly = true - }; - span65[1] = new QuestStep(EInteractionType.Interact, 1038491u, new Vector3(626.9779f, 81.0615f, -211.53589f), 614); - obj209.Steps = list267; - reference213 = obj209; - ref QuestSequence reference214 = ref span60[4]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - ref QuestStep reference215 = ref CollectionsMarshal.AsSpan(list268)[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1038491u, new Vector3(626.9779f, 81.0615f, -211.53589f), 614); - num3 = 1; - List list269 = new List(num3); - CollectionsMarshal.SetCount(list269, num3); - CollectionsMarshal.AsSpan(list269)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKBA441_04124_SYSTEM_101_121") - }; - questStep10.DialogueChoices = list269; - reference215 = questStep10; - obj210.Steps = list268; - reference214 = obj210; - ref QuestSequence reference216 = ref span60[5]; - QuestSequence obj211 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - CollectionsMarshal.AsSpan(list270)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038457u, new Vector3(-0.83929443f, 0f, 8.8654175f), 759) - { - NextQuestId = new QuestId(4125) - }; - obj211.Steps = list270; - reference216 = obj211; - questRoot23.QuestSequence = list260; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(4125); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list271 = new List(num); - CollectionsMarshal.SetCount(list271, num); - CollectionsMarshal.AsSpan(list271)[0] = "Censored"; - questRoot24.Author = list271; - num = 6; - List list272 = new List(num); - CollectionsMarshal.SetCount(list272, num); - Span span66 = CollectionsMarshal.AsSpan(list272); - ref QuestSequence reference217 = ref span66[0]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - CollectionsMarshal.AsSpan(list273)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038458u, new Vector3(-0.96136475f, 0f, 7.2174683f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj212.Steps = list273; - reference217 = obj212; - ref QuestSequence reference218 = ref span66[1]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - Span span67 = CollectionsMarshal.AsSpan(list274); - span67[0] = new QuestStep(EInteractionType.Interact, 1024792u, new Vector3(147.81409f, -4.1787133f, 49.454468f), 759) - { - TargetTerritoryId = (ushort)614, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.DomanEnclave, - To = EAetheryteLocation.DomanEnclaveDocks - } - }; - span67[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 1038494u, new Vector3(-449.63763f, 53.78236f, 303.60876f), 614) - { - Fly = true - }; - obj213.Steps = list274; - reference218 = obj213; - span66[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference219 = ref span66[3]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.Interact, 1038494u, new Vector3(-449.63763f, 53.78236f, 303.60876f), 614); - obj214.Steps = list275; - reference219 = obj214; - ref QuestSequence reference220 = ref span66[4]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - CollectionsMarshal.AsSpan(list276)[0] = new QuestStep(EInteractionType.Interact, 1038457u, new Vector3(-0.83929443f, 0f, 8.8654175f), 759) - { - AetheryteShortcut = EAetheryteLocation.DomanEnclave - }; - obj215.Steps = list276; - reference220 = obj215; - ref QuestSequence reference221 = ref span66[5]; - QuestSequence obj216 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - CollectionsMarshal.AsSpan(list277)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039102u, new Vector3(-177.96606f, 4.05f, -90.44025f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHallOfTheRadiantHost - } - }; - obj216.Steps = list277; - reference221 = obj216; - questRoot24.QuestSequence = list272; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(4126); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list278 = new List(num); - CollectionsMarshal.SetCount(list278, num); - CollectionsMarshal.AsSpan(list278)[0] = "liza"; - questRoot25.Author = list278; - num = 9; - List list279 = new List(num); - CollectionsMarshal.SetCount(list279, num); - Span span68 = CollectionsMarshal.AsSpan(list279); - ref QuestSequence reference222 = ref span68[0]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - ref QuestStep reference223 = ref CollectionsMarshal.AsSpan(list280)[0]; - QuestStep obj218 = new QuestStep(EInteractionType.AcceptQuest, 1039101u, new Vector3(-168.07812f, 4.05f, -91.66095f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHallOfTheRadiantHost - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list281 = new List(num3); - CollectionsMarshal.SetCount(list281, num3); - CollectionsMarshal.AsSpan(list281)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKBA501_04126_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKBA501_04126_A1_000_001") - }; - obj218.DialogueChoices = list281; - reference223 = obj218; - obj217.Steps = list280; - reference222 = obj217; - ref QuestSequence reference224 = ref span68[1]; - QuestSequence obj219 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - CollectionsMarshal.AsSpan(list282)[0] = new QuestStep(EInteractionType.Interact, 1037018u, new Vector3(-34.042908f, 5.474271f, 45.303955f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard - }; - obj219.Steps = list282; - reference224 = obj219; - ref QuestSequence reference225 = ref span68[2]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.Interact, 1037019u, new Vector3(-148.79077f, 14.953051f, -167.92554f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - } - }; - obj220.Steps = list283; - reference225 = obj220; - ref QuestSequence reference226 = ref span68[3]; - QuestSequence obj221 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - CollectionsMarshal.AsSpan(list284)[0] = new QuestStep(EInteractionType.Interact, 1037019u, new Vector3(-148.79077f, 14.953051f, -167.92554f), 419); - obj221.Steps = list284; - reference226 = obj221; - ref QuestSequence reference227 = ref span68[4]; - QuestSequence obj222 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - CollectionsMarshal.AsSpan(list285)[0] = new QuestStep(EInteractionType.Interact, 1037022u, new Vector3(483.97034f, 162.39722f, -545.7695f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj222.Steps = list285; - reference227 = obj222; - ref QuestSequence reference228 = ref span68[5]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - ref QuestStep reference229 = ref CollectionsMarshal.AsSpan(list286)[0]; - QuestStep obj224 = new QuestStep(EInteractionType.Combat, null, new Vector3(665.96155f, 184.83743f, -453.5654f), 397) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list287 = new List(num3); - CollectionsMarshal.SetCount(list287, num3); - CollectionsMarshal.AsSpan(list287)[0] = 14025u; - obj224.KillEnemyDataIds = list287; - reference229 = obj224; - obj223.Steps = list286; - reference228 = obj223; - ref QuestSequence reference230 = ref span68[6]; - QuestSequence obj225 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - CollectionsMarshal.AsSpan(list288)[0] = new QuestStep(EInteractionType.Interact, 1037027u, new Vector3(483.0548f, 162.34631f, -544.0299f), 397) - { - Fly = true - }; - obj225.Steps = list288; - reference230 = obj225; - ref QuestSequence reference231 = ref span68[7]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - ref QuestStep reference232 = ref CollectionsMarshal.AsSpan(list289)[0]; - QuestStep obj227 = new QuestStep(EInteractionType.Interact, 1011223u, new Vector3(114.579956f, 24.412834f, -11.062805f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - num3 = 1; - List list290 = new List(num3); - CollectionsMarshal.SetCount(list290, num3); - CollectionsMarshal.AsSpan(list290)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKBA501_04126_SYSTEM_000_501") - }; - obj227.DialogueChoices = list290; - reference232 = obj227; - obj226.Steps = list289; - reference231 = obj226; - ref QuestSequence reference233 = ref span68[8]; - QuestSequence obj228 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - CollectionsMarshal.AsSpan(list291)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037016u, new Vector3(1.1749268f, 0f, -6.3935547f), 1001) - { - NextQuestId = new QuestId(4127) - }; - obj228.Steps = list291; - reference233 = obj228; - questRoot25.QuestSequence = list279; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(4127); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list292 = new List(num); - CollectionsMarshal.SetCount(list292, num); - CollectionsMarshal.AsSpan(list292)[0] = "liza"; - questRoot26.Author = list292; - num = 5; - List list293 = new List(num); - CollectionsMarshal.SetCount(list293, num); - Span span69 = CollectionsMarshal.AsSpan(list293); - ref QuestSequence reference234 = ref span69[0]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - Span span70 = CollectionsMarshal.AsSpan(list294); - ref QuestStep reference235 = ref span70[0]; - QuestStep obj230 = new QuestStep(EInteractionType.Interact, 1011223u, new Vector3(114.579956f, 24.412834f, -11.062805f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 1; - List list295 = new List(num3); - CollectionsMarshal.SetCount(list295, num3); - CollectionsMarshal.AsSpan(list295)[0] = 1001; - skipStepConditions4.InTerritory = list295; - skipConditions9.StepIf = skipStepConditions4; - SkipAetheryteCondition obj231 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list296 = new List(num3); - CollectionsMarshal.SetCount(list296, num3); - CollectionsMarshal.AsSpan(list296)[0] = 1001; - obj231.InTerritory = list296; - skipConditions9.AetheryteShortcutIf = obj231; - obj230.SkipConditions = skipConditions9; - num3 = 1; - List list297 = new List(num3); - CollectionsMarshal.SetCount(list297, num3); - CollectionsMarshal.AsSpan(list297)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKBA511_04127_SYSTEM_000_501") - }; - obj230.DialogueChoices = list297; - reference235 = obj230; - span70[1] = new QuestStep(EInteractionType.AcceptQuest, 1037016u, new Vector3(1.1749268f, 0f, -6.3935547f), 1001); - obj229.Steps = list294; - reference234 = obj229; - ref QuestSequence reference236 = ref span69[1]; - QuestSequence obj232 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - Span span71 = CollectionsMarshal.AsSpan(list298); - ref QuestStep reference237 = ref span71[0]; - QuestStep obj233 = new QuestStep(EInteractionType.Interact, 1037030u, new Vector3(11.825684f, 15.965058f, -30.136597f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardLastVigil - } - }; - num3 = 6; - List list299 = new List(num3); - CollectionsMarshal.SetCount(list299, num3); - Span span72 = CollectionsMarshal.AsSpan(list299); - span72[0] = null; - span72[1] = null; - span72[2] = null; - span72[3] = null; - span72[4] = null; - span72[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj233.CompletionQuestVariablesFlags = list299; - reference237 = obj233; - ref QuestStep reference238 = ref span71[1]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1037031u, new Vector3(-8.98761f, 27.964876f, -170.58063f), 419); - num3 = 6; - List list300 = new List(num3); - CollectionsMarshal.SetCount(list300, num3); - Span span73 = CollectionsMarshal.AsSpan(list300); - span73[0] = null; - span73[1] = null; - span73[2] = null; - span73[3] = null; - span73[4] = null; - span73[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list300; - reference238 = questStep11; - ref QuestStep reference239 = ref span71[2]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1037032u, new Vector3(52.658813f, 14.768845f, -97.30682f), 419); - num3 = 6; - List list301 = new List(num3); - CollectionsMarshal.SetCount(list301, num3); - Span span74 = CollectionsMarshal.AsSpan(list301); - span74[0] = null; - span74[1] = null; - span74[2] = null; - span74[3] = null; - span74[4] = null; - span74[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list301; - reference239 = questStep12; - obj232.Steps = list298; - reference236 = obj232; - ref QuestSequence reference240 = ref span69[2]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list302 = new List(num2); - CollectionsMarshal.SetCount(list302, num2); - CollectionsMarshal.AsSpan(list302)[0] = new QuestStep(EInteractionType.Interact, 1037033u, new Vector3(69.77942f, -4.6903167f, -41.397766f), 419); - obj234.Steps = list302; - reference240 = obj234; - ref QuestSequence reference241 = ref span69[3]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list303 = new List(num2); - CollectionsMarshal.SetCount(list303, num2); - CollectionsMarshal.AsSpan(list303)[0] = new QuestStep(EInteractionType.Interact, 2011698u, new Vector3(142.77869f, -20.004639f, 60.837646f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardAthenaeumAstrologicum, - To = EAetheryteLocation.IshgardBrume - } - }; - obj235.Steps = list303; - reference241 = obj235; - ref QuestSequence reference242 = ref span69[4]; - QuestSequence obj236 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - Span span75 = CollectionsMarshal.AsSpan(list304); - ref QuestStep reference243 = ref span75[0]; - QuestStep obj237 = new QuestStep(EInteractionType.Interact, 1011223u, new Vector3(114.579956f, 24.412834f, -11.062805f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardBrume, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - num3 = 1; - List list305 = new List(num3); - CollectionsMarshal.SetCount(list305, num3); - CollectionsMarshal.AsSpan(list305)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKBA511_04127_SYSTEM_000_501") - }; - obj237.DialogueChoices = list305; - reference243 = obj237; - span75[1] = new QuestStep(EInteractionType.CompleteQuest, 1037016u, new Vector3(1.1749268f, 0f, -6.3935547f), 1001) - { - NextQuestId = new QuestId(4128) - }; - obj236.Steps = list304; - reference242 = obj236; - questRoot26.QuestSequence = list293; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(4128); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list306 = new List(num); - CollectionsMarshal.SetCount(list306, num); - CollectionsMarshal.AsSpan(list306)[0] = "liza"; - questRoot27.Author = list306; - num = 4; - List list307 = new List(num); - CollectionsMarshal.SetCount(list307, num); - Span span76 = CollectionsMarshal.AsSpan(list307); - ref QuestSequence reference244 = ref span76[0]; - QuestSequence obj238 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - Span span77 = CollectionsMarshal.AsSpan(list308); - ref QuestStep reference245 = ref span77[0]; - QuestStep obj239 = new QuestStep(EInteractionType.Interact, 1011223u, new Vector3(114.579956f, 24.412834f, -11.062805f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 1; - List list309 = new List(num3); - CollectionsMarshal.SetCount(list309, num3); - CollectionsMarshal.AsSpan(list309)[0] = 1001; - skipStepConditions5.InTerritory = list309; - skipConditions10.StepIf = skipStepConditions5; - SkipAetheryteCondition obj240 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list310 = new List(num3); - CollectionsMarshal.SetCount(list310, num3); - CollectionsMarshal.AsSpan(list310)[0] = 1001; - obj240.InTerritory = list310; - skipConditions10.AetheryteShortcutIf = obj240; - obj239.SkipConditions = skipConditions10; - num3 = 1; - List list311 = new List(num3); - CollectionsMarshal.SetCount(list311, num3); - CollectionsMarshal.AsSpan(list311)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKBA521_04128_SYSTEM_000_501") - }; - obj239.DialogueChoices = list311; - reference245 = obj239; - span77[1] = new QuestStep(EInteractionType.AcceptQuest, 1037016u, new Vector3(1.1749268f, 0f, -6.3935547f), 1001); - obj238.Steps = list308; - reference244 = obj238; - ref QuestSequence reference246 = ref span76[1]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - Span span78 = CollectionsMarshal.AsSpan(list312); - ref QuestStep reference247 = ref span78[0]; - QuestStep obj242 = new QuestStep(EInteractionType.Interact, 2011721u, new Vector3(-0.015319824f, 0.99176025f, 9.933594f), 1001) - { - TargetTerritoryId = (ushort)418 - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 1; - List list313 = new List(num3); - CollectionsMarshal.SetCount(list313, num3); - CollectionsMarshal.AsSpan(list313)[0] = 1001; - skipStepConditions6.NotInTerritory = list313; - skipConditions11.StepIf = skipStepConditions6; - obj242.SkipConditions = skipConditions11; - reference247 = obj242; - span78[1] = new QuestStep(EInteractionType.Interact, 1037036u, new Vector3(-105.36359f, 14.95313f, -142.74823f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardSaintReymanaudsCathedral - } - }; - obj241.Steps = list312; - reference246 = obj241; - ref QuestSequence reference248 = ref span76[2]; - QuestSequence obj243 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - CollectionsMarshal.AsSpan(list314)[0] = new QuestStep(EInteractionType.Interact, 1037039u, new Vector3(-69.47443f, -4.734931f, -42.008118f), 419); - obj243.Steps = list314; - reference248 = obj243; - ref QuestSequence reference249 = ref span76[3]; - QuestSequence obj244 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - Span span79 = CollectionsMarshal.AsSpan(list315); - ref QuestStep reference250 = ref span79[0]; - QuestStep obj245 = new QuestStep(EInteractionType.Interact, 1011223u, new Vector3(114.579956f, 24.412834f, -11.062805f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardJeweledCrozier, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - num3 = 1; - List list316 = new List(num3); - CollectionsMarshal.SetCount(list316, num3); - CollectionsMarshal.AsSpan(list316)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKBA521_04128_SYSTEM_000_501") - }; - obj245.DialogueChoices = list316; - reference250 = obj245; - span79[1] = new QuestStep(EInteractionType.CompleteQuest, 1037015u, new Vector3(0.045776367f, 0f, -7.1260376f), 1001) - { - NextQuestId = new QuestId(4129) - }; - obj244.Steps = list315; - reference249 = obj244; - questRoot27.QuestSequence = list307; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(4129); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list317 = new List(num); - CollectionsMarshal.SetCount(list317, num); - CollectionsMarshal.AsSpan(list317)[0] = "liza"; - questRoot28.Author = list317; - num = 5; - List list318 = new List(num); - CollectionsMarshal.SetCount(list318, num); - Span span80 = CollectionsMarshal.AsSpan(list318); - ref QuestSequence reference251 = ref span80[0]; - QuestSequence obj246 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list319 = new List(num2); - CollectionsMarshal.SetCount(list319, num2); - Span span81 = CollectionsMarshal.AsSpan(list319); - ref QuestStep reference252 = ref span81[0]; - QuestStep obj247 = new QuestStep(EInteractionType.Interact, 1011223u, new Vector3(114.579956f, 24.412834f, -11.062805f), 418) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - SkipConditions skipConditions12 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 1; - List list320 = new List(num3); - CollectionsMarshal.SetCount(list320, num3); - CollectionsMarshal.AsSpan(list320)[0] = 1001; - skipStepConditions7.InTerritory = list320; - skipConditions12.StepIf = skipStepConditions7; - SkipAetheryteCondition obj248 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list321 = new List(num3); - CollectionsMarshal.SetCount(list321, num3); - CollectionsMarshal.AsSpan(list321)[0] = 1001; - obj248.InTerritory = list321; - skipConditions12.AetheryteShortcutIf = obj248; - obj247.SkipConditions = skipConditions12; - num3 = 1; - List list322 = new List(num3); - CollectionsMarshal.SetCount(list322, num3); - CollectionsMarshal.AsSpan(list322)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKBA531_04129_SYSTEM_000_501") - }; - obj247.DialogueChoices = list322; - reference252 = obj247; - span81[1] = new QuestStep(EInteractionType.AcceptQuest, 1037016u, new Vector3(1.1749268f, 0f, -6.3935547f), 1001); - obj246.Steps = list319; - reference251 = obj246; - ref QuestSequence reference253 = ref span80[1]; - QuestSequence obj249 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list323 = new List(num2); - CollectionsMarshal.SetCount(list323, num2); - Span span82 = CollectionsMarshal.AsSpan(list323); - ref QuestStep reference254 = ref span82[0]; - QuestStep obj250 = new QuestStep(EInteractionType.Interact, 1006392u, new Vector3(184.22205f, 319.0841f, -238.33075f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - num3 = 6; - List list324 = new List(num3); - CollectionsMarshal.SetCount(list324, num3); - Span span83 = CollectionsMarshal.AsSpan(list324); - span83[0] = null; - span83[1] = null; - span83[2] = null; - span83[3] = null; - span83[4] = null; - span83[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj250.CompletionQuestVariablesFlags = list324; - reference254 = obj250; - ref QuestStep reference255 = ref span82[1]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1006395u, new Vector3(206.86658f, 303.115f, -296.2539f), 155); - num3 = 6; - List list325 = new List(num3); - CollectionsMarshal.SetCount(list325, num3); - Span span84 = CollectionsMarshal.AsSpan(list325); - span84[0] = null; - span84[1] = null; - span84[2] = null; - span84[3] = null; - span84[4] = null; - span84[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list325; - reference255 = questStep13; - ref QuestStep reference256 = ref span82[2]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1006401u, new Vector3(257.80115f, 303.15805f, -204.42517f), 155); - num3 = 6; - List list326 = new List(num3); - CollectionsMarshal.SetCount(list326, num3); - Span span85 = CollectionsMarshal.AsSpan(list326); - span85[0] = null; - span85[1] = null; - span85[2] = null; - span85[3] = null; - span85[4] = null; - span85[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list326; - reference256 = questStep14; - obj249.Steps = list323; - reference253 = obj249; - ref QuestSequence reference257 = ref span80[2]; - QuestSequence obj251 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list327 = new List(num2); - CollectionsMarshal.SetCount(list327, num2); - CollectionsMarshal.AsSpan(list327)[0] = new QuestStep(EInteractionType.Interact, 1037041u, new Vector3(197.68054f, 302.31348f, -167.58984f), 155); - obj251.Steps = list327; - reference257 = obj251; - ref QuestSequence reference258 = ref span80[3]; - QuestSequence obj252 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - ref QuestStep reference259 = ref CollectionsMarshal.AsSpan(list328)[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1037041u, new Vector3(197.68054f, 302.31348f, -167.58984f), 155); - num3 = 1; - List list329 = new List(num3); - CollectionsMarshal.SetCount(list329, num3); - CollectionsMarshal.AsSpan(list329)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKBA531_04129_Q1_000_060") - }; - questStep15.DialogueChoices = list329; - reference259 = questStep15; - obj252.Steps = list328; - reference258 = obj252; - ref QuestSequence reference260 = ref span80[4]; - QuestSequence obj253 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list330 = new List(num2); - CollectionsMarshal.SetCount(list330, num2); - Span span86 = CollectionsMarshal.AsSpan(list330); - ref QuestStep reference261 = ref span86[0]; - QuestStep obj254 = new QuestStep(EInteractionType.Interact, 1011223u, new Vector3(114.579956f, 24.412834f, -11.062805f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - num3 = 1; - List list331 = new List(num3); - CollectionsMarshal.SetCount(list331, num3); - CollectionsMarshal.AsSpan(list331)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKBA531_04129_SYSTEM_000_501") - }; - obj254.DialogueChoices = list331; - reference261 = obj254; - span86[1] = new QuestStep(EInteractionType.CompleteQuest, 1037016u, new Vector3(1.1749268f, 0f, -6.3935547f), 1001) - { - NextQuestId = new QuestId(4130) - }; - obj253.Steps = list330; - reference260 = obj253; - questRoot28.QuestSequence = list318; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(4130); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list332 = new List(num); - CollectionsMarshal.SetCount(list332, num); - CollectionsMarshal.AsSpan(list332)[0] = "liza"; - questRoot29.Author = list332; - num = 7; - List list333 = new List(num); - CollectionsMarshal.SetCount(list333, num); - Span span87 = CollectionsMarshal.AsSpan(list333); - ref QuestSequence reference262 = ref span87[0]; - QuestSequence obj255 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - Span span88 = CollectionsMarshal.AsSpan(list334); - ref QuestStep reference263 = ref span88[0]; - QuestStep obj256 = new QuestStep(EInteractionType.Interact, 1011223u, new Vector3(114.579956f, 24.412834f, -11.062805f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - SkipConditions skipConditions13 = new SkipConditions(); - SkipStepConditions skipStepConditions8 = new SkipStepConditions(); - num3 = 1; - List list335 = new List(num3); - CollectionsMarshal.SetCount(list335, num3); - CollectionsMarshal.AsSpan(list335)[0] = 1001; - skipStepConditions8.InTerritory = list335; - skipConditions13.StepIf = skipStepConditions8; - SkipAetheryteCondition obj257 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list336 = new List(num3); - CollectionsMarshal.SetCount(list336, num3); - CollectionsMarshal.AsSpan(list336)[0] = 1001; - obj257.InTerritory = list336; - skipConditions13.AetheryteShortcutIf = obj257; - obj256.SkipConditions = skipConditions13; - num3 = 1; - List list337 = new List(num3); - CollectionsMarshal.SetCount(list337, num3); - CollectionsMarshal.AsSpan(list337)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKBA541_04130_SYSTEM_000_501") - }; - obj256.DialogueChoices = list337; - reference263 = obj256; - span88[1] = new QuestStep(EInteractionType.AcceptQuest, 1037016u, new Vector3(1.1749268f, 0f, -6.3935547f), 1001); - obj255.Steps = list334; - reference262 = obj255; - ref QuestSequence reference264 = ref span87[1]; - QuestSequence obj258 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list338 = new List(num2); - CollectionsMarshal.SetCount(list338, num2); - CollectionsMarshal.AsSpan(list338)[0] = new QuestStep(EInteractionType.Interact, 1037043u, new Vector3(11.001709f, 11.965152f, 52.384155f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardLastVigil - } - }; - obj258.Steps = list338; - reference264 = obj258; - ref QuestSequence reference265 = ref span87[2]; - QuestSequence obj259 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list339 = new List(num2); - CollectionsMarshal.SetCount(list339, num2); - CollectionsMarshal.AsSpan(list339)[0] = new QuestStep(EInteractionType.Interact, 1037043u, new Vector3(11.001709f, 11.965152f, 52.384155f), 419); - obj259.Steps = list339; - reference265 = obj259; - ref QuestSequence reference266 = ref span87[3]; - QuestSequence obj260 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list340 = new List(num2); - CollectionsMarshal.SetCount(list340, num2); - CollectionsMarshal.AsSpan(list340)[0] = new QuestStep(EInteractionType.Interact, 1037043u, new Vector3(10.079511f, 15.96505f, -7.351647f), 419) - { - StopDistance = 0.5f - }; - obj260.Steps = list340; - reference266 = obj260; - ref QuestSequence reference267 = ref span87[4]; - QuestSequence obj261 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - CollectionsMarshal.AsSpan(list341)[0] = new QuestStep(EInteractionType.Interact, 1037043u, new Vector3(0.16652964f, 26.965057f, -98.31793f), 419) - { - StopDistance = 0.5f - }; - obj261.Steps = list341; - reference267 = obj261; - ref QuestSequence reference268 = ref span87[5]; - QuestSequence obj262 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - CollectionsMarshal.AsSpan(list342)[0] = new QuestStep(EInteractionType.Interact, 1037044u, new Vector3(-1.6327515f, 35.344902f, -188.55579f), 419); - obj262.Steps = list342; - reference268 = obj262; - ref QuestSequence reference269 = ref span87[6]; - QuestSequence obj263 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list343 = new List(num2); - CollectionsMarshal.SetCount(list343, num2); - CollectionsMarshal.AsSpan(list343)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037015u, new Vector3(0.045776367f, 0f, -7.1260376f), 1001) - { - NextQuestId = new QuestId(4131) - }; - obj263.Steps = list343; - reference269 = obj263; - questRoot29.QuestSequence = list333; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(4131); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list344 = new List(num); - CollectionsMarshal.SetCount(list344, num); - CollectionsMarshal.AsSpan(list344)[0] = "liza"; - questRoot30.Author = list344; - num = 7; - List list345 = new List(num); - CollectionsMarshal.SetCount(list345, num); - Span span89 = CollectionsMarshal.AsSpan(list345); - ref QuestSequence reference270 = ref span89[0]; - QuestSequence obj264 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list346 = new List(num2); - CollectionsMarshal.SetCount(list346, num2); - Span span90 = CollectionsMarshal.AsSpan(list346); - ref QuestStep reference271 = ref span90[0]; - QuestStep obj265 = new QuestStep(EInteractionType.Interact, 1011223u, new Vector3(114.579956f, 24.412834f, -11.062805f), 418) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - SkipConditions skipConditions14 = new SkipConditions(); - SkipStepConditions skipStepConditions9 = new SkipStepConditions(); - num3 = 1; - List list347 = new List(num3); - CollectionsMarshal.SetCount(list347, num3); - CollectionsMarshal.AsSpan(list347)[0] = 1001; - skipStepConditions9.InTerritory = list347; - skipConditions14.StepIf = skipStepConditions9; - SkipAetheryteCondition obj266 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list348 = new List(num3); - CollectionsMarshal.SetCount(list348, num3); - CollectionsMarshal.AsSpan(list348)[0] = 1001; - obj266.InTerritory = list348; - skipConditions14.AetheryteShortcutIf = obj266; - obj265.SkipConditions = skipConditions14; - num3 = 1; - List list349 = new List(num3); - CollectionsMarshal.SetCount(list349, num3); - CollectionsMarshal.AsSpan(list349)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKBA551_04131_SYSTEM_000_501") - }; - obj265.DialogueChoices = list349; - reference271 = obj265; - span90[1] = new QuestStep(EInteractionType.AcceptQuest, 1037016u, new Vector3(1.1749268f, 0f, -6.3935547f), 1001); - obj264.Steps = list346; - reference270 = obj264; - ref QuestSequence reference272 = ref span89[1]; - QuestSequence obj267 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - ref QuestStep reference273 = ref CollectionsMarshal.AsSpan(list350)[0]; - QuestStep obj268 = new QuestStep(EInteractionType.SinglePlayerDuty, 1037045u, new Vector3(0.10675049f, 35.344906f, -188.58624f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardForgottenKnight, - To = EAetheryteLocation.IshgardTribunal - } - }; - SinglePlayerDutyOptions singlePlayerDutyOptions4 = new SinglePlayerDutyOptions(); - num3 = 4; - List list351 = new List(num3); - CollectionsMarshal.SetCount(list351, num3); - Span span91 = CollectionsMarshal.AsSpan(list351); - span91[0] = "AI doesn't target Fafnir to start combat"; - span91[1] = "AI doesn't stand in towers"; - span91[2] = "AI doesn't kill ads"; - span91[3] = "AI doesn't move behind the shield to take cover and dies"; - singlePlayerDutyOptions4.Notes = list351; - obj268.SinglePlayerDutyOptions = singlePlayerDutyOptions4; - reference273 = obj268; - obj267.Steps = list350; - reference272 = obj267; - span89[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference274 = ref span89[3]; - QuestSequence obj269 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list352 = new List(num2); - CollectionsMarshal.SetCount(list352, num2); - Span span92 = CollectionsMarshal.AsSpan(list352); - ref QuestStep reference275 = ref span92[0]; - QuestStep obj270 = new QuestStep(EInteractionType.Interact, 1011223u, new Vector3(114.579956f, 24.412834f, -11.062805f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardTribunal, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - num3 = 1; - List list353 = new List(num3); - CollectionsMarshal.SetCount(list353, num3); - CollectionsMarshal.AsSpan(list353)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKBA551_04131_SYSTEM_000_501") - }; - obj270.DialogueChoices = list353; - reference275 = obj270; - span92[1] = new QuestStep(EInteractionType.Interact, 1038486u, new Vector3(1.1749268f, 0f, -6.3935547f), 1001); - obj269.Steps = list352; - reference274 = obj269; - ref QuestSequence reference276 = ref span89[4]; - QuestSequence obj271 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list354 = new List(num2); - CollectionsMarshal.SetCount(list354, num2); - CollectionsMarshal.AsSpan(list354)[0] = new QuestStep(EInteractionType.Interact, 1037017u, new Vector3(-1.2664795f, 0f, -5.7526855f), 1001) - { - StopDistance = 5f - }; - obj271.Steps = list354; - reference276 = obj271; - ref QuestSequence reference277 = ref span89[5]; - QuestSequence obj272 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list355 = new List(num2); - CollectionsMarshal.SetCount(list355, num2); - CollectionsMarshal.AsSpan(list355)[0] = new QuestStep(EInteractionType.Interact, 1037015u, new Vector3(0.045776367f, 0f, -7.1260376f), 1001) - { - StopDistance = 5f - }; - obj272.Steps = list355; - reference277 = obj272; - ref QuestSequence reference278 = ref span89[6]; - QuestSequence obj273 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list356 = new List(num2); - CollectionsMarshal.SetCount(list356, num2); - CollectionsMarshal.AsSpan(list356)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039101u, new Vector3(-168.07812f, 4.05f, -91.66095f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHallOfTheRadiantHost - } - }; - obj273.Steps = list356; - reference278 = obj273; - questRoot30.QuestSequence = list345; - AddQuest(questId30, questRoot30); - } - - private static void LoadQuests83() - { - QuestId questId = new QuestId(4153); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 4; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038504u, new Vector3(-357.62573f, 21.64856f, -95.99457f), 962); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1038505u, new Vector3(-376.45538f, 18.999998f, 37.00305f), 962); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1038503u, new Vector3(-367.0863f, 21.84602f, -101.701416f), 962); - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038501u, new Vector3(-367.3305f, 21.846018f, -102.983154f), 962) - { - StopDistance = 7f, - NextQuestId = new QuestId(4154) - }; - obj4.Steps = list6; - reference4 = obj4; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(4154); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - CollectionsMarshal.AsSpan(list7)[0] = "liza"; - questRoot2.Author = list7; - num = 2; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span2 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference5 = ref span2[0]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038501u, new Vector3(-367.3305f, 21.846018f, -102.983154f), 962); - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference6 = ref span2[1]; - QuestSequence obj6 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span3 = CollectionsMarshal.AsSpan(list10); - ref QuestStep reference7 = ref span3[0]; - QuestStep questStep = new QuestStep(EInteractionType.Gather, null, null, 962); - int num3 = 1; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - CollectionsMarshal.AsSpan(list11)[0] = new GatheredItem - { - ItemId = 35600u, - ItemCount = 6, - Collectability = 600 - }; - questStep.ItemsToGather = list11; - reference7 = questStep; - span3[1] = new QuestStep(EInteractionType.CompleteQuest, 1038501u, new Vector3(-367.3305f, 21.846018f, -102.983154f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanStudium - }, - NextQuestId = new QuestId(4155) - }; - obj6.Steps = list10; - reference6 = obj6; - questRoot2.QuestSequence = list8; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(4155); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - CollectionsMarshal.AsSpan(list12)[0] = "liza"; - questRoot3.Author = list12; - num = 2; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - Span span4 = CollectionsMarshal.AsSpan(list13); - ref QuestSequence reference8 = ref span4[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038501u, new Vector3(-367.3305f, 21.846018f, -102.983154f), 962); - obj7.Steps = list14; - reference8 = obj7; - ref QuestSequence reference9 = ref span4[1]; - QuestSequence obj8 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - Span span5 = CollectionsMarshal.AsSpan(list15); - ref QuestStep reference10 = ref span5[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Gather, null, null, 962); - num3 = 1; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - CollectionsMarshal.AsSpan(list16)[0] = new GatheredItem - { - ItemId = 35601u, - ItemCount = 6, - Collectability = 600 - }; - questStep2.ItemsToGather = list16; - reference10 = questStep2; - span5[1] = new QuestStep(EInteractionType.CompleteQuest, 1038501u, new Vector3(-367.3305f, 21.846018f, -102.983154f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanStudium - }, - NextQuestId = new QuestId(4156) - }; - obj8.Steps = list15; - reference9 = obj8; - questRoot3.QuestSequence = list13; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(4156); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - CollectionsMarshal.AsSpan(list17)[0] = "liza"; - questRoot4.Author = list17; - num = 2; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - Span span6 = CollectionsMarshal.AsSpan(list18); - ref QuestSequence reference11 = ref span6[0]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038501u, new Vector3(-367.3305f, 21.846018f, -102.983154f), 962); - obj9.Steps = list19; - reference11 = obj9; - ref QuestSequence reference12 = ref span6[1]; - QuestSequence obj10 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - Span span7 = CollectionsMarshal.AsSpan(list20); - ref QuestStep reference13 = ref span7[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Gather, null, null, 962); - num3 = 1; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - CollectionsMarshal.AsSpan(list21)[0] = new GatheredItem - { - ItemId = 35602u, - ItemCount = 6, - Collectability = 600 - }; - questStep3.ItemsToGather = list21; - reference13 = questStep3; - span7[1] = new QuestStep(EInteractionType.CompleteQuest, 1038501u, new Vector3(-367.3305f, 21.846018f, -102.983154f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanStudium - }, - NextQuestId = new QuestId(4157) - }; - obj10.Steps = list20; - reference12 = obj10; - questRoot4.QuestSequence = list18; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(4157); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - CollectionsMarshal.AsSpan(list22)[0] = "liza"; - questRoot5.Author = list22; - num = 8; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - Span span8 = CollectionsMarshal.AsSpan(list23); - ref QuestSequence reference14 = ref span8[0]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038501u, new Vector3(-367.3305f, 21.846018f, -102.983154f), 962); - obj11.Steps = list24; - reference14 = obj11; - ref QuestSequence reference15 = ref span8[1]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.Interact, 2011719u, new Vector3(-102.1897f, -7.0039062f, -59.92218f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeShiokazeHostelry - } - }; - obj12.Steps = list25; - reference15 = obj12; - ref QuestSequence reference16 = ref span8[2]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.Interact, 1038506u, new Vector3(-142.2904f, -4.7500057f, 199.6643f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeMarkets, - To = EAetheryteLocation.KuganePier1 - } - }; - obj13.Steps = list26; - reference16 = obj13; - ref QuestSequence reference17 = ref span8[3]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.Interact, 1038507u, new Vector3(52.750366f, 8.02f, 152.81909f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganePier1, - To = EAetheryteLocation.KuganeThavnairianConsulate - } - }; - obj14.Steps = list27; - reference17 = obj14; - ref QuestSequence reference18 = ref span8[4]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.Interact, 2011720u, new Vector3(129.5033f, 24.979004f, 15.701477f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeThavnairianConsulate, - To = EAetheryteLocation.KuganeRubyBazaar - } - }; - obj15.Steps = list28; - reference18 = obj15; - ref QuestSequence reference19 = ref span8[5]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - Span span9 = CollectionsMarshal.AsSpan(list29); - ref QuestStep reference20 = ref span9[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.Gather, null, null, 628); - num3 = 1; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - CollectionsMarshal.AsSpan(list30)[0] = new GatheredItem - { - ItemId = 35847u, - ItemCount = 1 - }; - questStep4.ItemsToGather = list30; - reference20 = questStep4; - span9[1] = new QuestStep(EInteractionType.Interact, 1038508u, new Vector3(114.70203f, 12f, 35.965454f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyBazaar - } - }; - obj16.Steps = list29; - reference19 = obj16; - ref QuestSequence reference21 = ref span8[6]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.Interact, 1038510u, new Vector3(-92.24078f, 11.799999f, -156.05408f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeRubyBazaar, - To = EAetheryteLocation.KuganeBokairoInn - } - }; - obj17.Steps = list31; - reference21 = obj17; - ref QuestSequence reference22 = ref span8[7]; - QuestSequence obj18 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038501u, new Vector3(-367.3305f, 21.846018f, -102.983154f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanStudium - }, - NextQuestId = new QuestId(4158) - }; - obj18.Steps = list32; - reference22 = obj18; - questRoot5.QuestSequence = list23; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(4158); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list33 = new List(num); - CollectionsMarshal.SetCount(list33, num); - CollectionsMarshal.AsSpan(list33)[0] = "liza"; - questRoot6.Author = list33; - num = 2; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - Span span10 = CollectionsMarshal.AsSpan(list34); - ref QuestSequence reference23 = ref span10[0]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038501u, new Vector3(-367.3305f, 21.846018f, -102.983154f), 962); - obj19.Steps = list35; - reference23 = obj19; - ref QuestSequence reference24 = ref span10[1]; - QuestSequence obj20 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - Span span11 = CollectionsMarshal.AsSpan(list36); - ref QuestStep reference25 = ref span11[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Gather, null, null, 962); - num3 = 1; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - CollectionsMarshal.AsSpan(list37)[0] = new GatheredItem - { - ItemId = 35603u, - ItemCount = 6, - Collectability = 600 - }; - questStep5.ItemsToGather = list37; - reference25 = questStep5; - span11[1] = new QuestStep(EInteractionType.CompleteQuest, 1038501u, new Vector3(-367.3305f, 21.846018f, -102.983154f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanStudium - }, - NextQuestId = new QuestId(4159) - }; - obj20.Steps = list36; - reference24 = obj20; - questRoot6.QuestSequence = list34; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(4159); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - CollectionsMarshal.AsSpan(list38)[0] = "liza"; - questRoot7.Author = list38; - num = 5; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - Span span12 = CollectionsMarshal.AsSpan(list39); - ref QuestSequence reference26 = ref span12[0]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038501u, new Vector3(-367.3305f, 21.846018f, -102.983154f), 962); - obj21.Steps = list40; - reference26 = obj21; - ref QuestSequence reference27 = ref span12[1]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - Span span13 = CollectionsMarshal.AsSpan(list41); - ref QuestStep reference28 = ref span13[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.Gather, null, null, 962); - num3 = 1; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - CollectionsMarshal.AsSpan(list42)[0] = new GatheredItem - { - ItemId = 35848u, - ItemCount = 1 - }; - questStep6.ItemsToGather = list42; - reference28 = questStep6; - span13[1] = new QuestStep(EInteractionType.Interact, 1038503u, new Vector3(-367.0863f, 21.84602f, -101.701416f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanStudium - } - }; - obj22.Steps = list41; - reference27 = obj22; - ref QuestSequence reference29 = ref span12[2]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.Interact, 1038512u, new Vector3(-73.47223f, -16.147001f, 191.27173f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanStudium, - To = EAetheryteLocation.OldSharlayanScholarsHarbor - } - }; - obj23.Steps = list43; - reference29 = obj23; - ref QuestSequence reference30 = ref span12[3]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.Interact, 1038503u, new Vector3(-367.0863f, 21.84602f, -101.701416f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanScholarsHarbor, - To = EAetheryteLocation.OldSharlayanStudium - } - }; - obj24.Steps = list44; - reference30 = obj24; - ref QuestSequence reference31 = ref span12[4]; - QuestSequence obj25 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038501u, new Vector3(-367.3305f, 21.846018f, -102.983154f), 962) - { - StopDistance = 7f - }; - obj25.Steps = list45; - reference31 = obj25; - questRoot7.QuestSequence = list39; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(4170); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - CollectionsMarshal.AsSpan(list46)[0] = "liza"; - questRoot8.Author = list46; - num = 1; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - ref QuestSequence reference32 = ref CollectionsMarshal.AsSpan(list47)[0]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037263u, new Vector3(46.829956f, -15.646994f, 107.86597f), 962) - { - StopDistance = 5f - }; - obj26.Steps = list48; - reference32 = obj26; - questRoot8.QuestSequence = list47; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(4172); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - CollectionsMarshal.AsSpan(list49)[0] = "liza"; - questRoot9.Author = list49; - num = 5; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - Span span14 = CollectionsMarshal.AsSpan(list50); - ref QuestSequence reference33 = ref span14[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.AcceptQuest, 1012155u, new Vector3(-63.21814f, 8.25915f, 28.732666f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - SkipConditions = new SkipConditions - { - AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj27.Steps = list51; - reference33 = obj27; - ref QuestSequence reference34 = ref span14[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - ref QuestStep reference35 = ref CollectionsMarshal.AsSpan(list52)[0]; - QuestStep obj29 = new QuestStep(EInteractionType.Interact, 1031682u, new Vector3(152.97156f, -20.000004f, 63.767456f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardBrume - } - }; - num3 = 1; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - CollectionsMarshal.AsSpan(list53)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKYR103_04172_Q1_000_000") - }; - obj29.DialogueChoices = list53; - reference35 = obj29; - obj28.Steps = list52; - reference34 = obj28; - span14[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference36 = ref span14[3]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.Interact, 1039506u, new Vector3(20.401245f, -16f, 159.96033f), 979); - obj30.Steps = list54; - reference36 = obj30; - ref QuestSequence reference37 = ref span14[4]; - QuestSequence obj31 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.CompleteQuest, 1012155u, new Vector3(-63.21814f, 8.25915f, 28.732666f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard - }; - obj31.Steps = list55; - reference37 = obj31; - questRoot9.QuestSequence = list50; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(4173); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - CollectionsMarshal.AsSpan(list56)[0] = "liza"; - questRoot10.Author = list56; - num = 2; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - Span span15 = CollectionsMarshal.AsSpan(list57); - ref QuestSequence reference38 = ref span15[0]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041747u, new Vector3(56.65674f, -0.0004196167f, -24.765442f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj32.Steps = list58; - reference38 = obj32; - ref QuestSequence reference39 = ref span15[1]; - QuestSequence obj33 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040741u, new Vector3(418.265f, 3.43257f, -210.4372f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairPalakasStand, - NextQuestId = new QuestId(5005) - }; - obj33.Steps = list59; - reference39 = obj33; - questRoot10.QuestSequence = list57; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(4176); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - CollectionsMarshal.AsSpan(list60)[0] = "liza"; - questRoot11.Author = list60; - num = 2; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - Span span16 = CollectionsMarshal.AsSpan(list61); - ref QuestSequence reference40 = ref span16[0]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041960u, new Vector3(-1.9379272f, -7.758f, 42.282715f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj34.Steps = list62; - reference40 = obj34; - ref QuestSequence reference41 = ref span16[1]; - QuestSequence obj35 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037060u, new Vector3(25.894531f, -15.646991f, 99.68713f), 962) - { - NextQuestId = new QuestId(4177) - }; - obj35.Steps = list63; - reference41 = obj35; - questRoot11.QuestSequence = list61; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(4177); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - CollectionsMarshal.AsSpan(list64)[0] = "liza"; - questRoot12.Author = list64; - num = 2; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - Span span17 = CollectionsMarshal.AsSpan(list65); - ref QuestSequence reference42 = ref span17[0]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037060u, new Vector3(25.894531f, -15.646991f, 99.68713f), 962) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj36.Steps = list66; - reference42 = obj36; - ref QuestSequence reference43 = ref span17[1]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037059u, new Vector3(35.202515f, -15.646992f, 102.4032f), 962) - { - StopDistance = 7f, - NextQuestId = new QuestId(4178) - }; - obj37.Steps = list67; - reference43 = obj37; - questRoot12.QuestSequence = list65; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(4178); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - CollectionsMarshal.AsSpan(list68)[0] = "liza"; - questRoot13.Author = list68; - num = 2; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - Span span18 = CollectionsMarshal.AsSpan(list69); - ref QuestSequence reference44 = ref span18[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037060u, new Vector3(25.894531f, -15.646991f, 99.68713f), 962) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj38.Steps = list70; - reference44 = obj38; - ref QuestSequence reference45 = ref span18[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037059u, new Vector3(35.202515f, -15.646992f, 102.4032f), 962) - { - StopDistance = 7f, - NextQuestId = new QuestId(4179) - }; - obj39.Steps = list71; - reference45 = obj39; - questRoot13.QuestSequence = list69; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(4179); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - CollectionsMarshal.AsSpan(list72)[0] = "liza"; - questRoot14.Author = list72; - num = 2; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - Span span19 = CollectionsMarshal.AsSpan(list73); - ref QuestSequence reference46 = ref span19[0]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037060u, new Vector3(25.894531f, -15.646991f, 99.68713f), 962) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj40.Steps = list74; - reference46 = obj40; - ref QuestSequence reference47 = ref span19[1]; - QuestSequence obj41 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037059u, new Vector3(35.202515f, -15.646992f, 102.4032f), 962) - { - StopDistance = 7f, - NextQuestId = new QuestId(5009) - }; - obj41.Steps = list75; - reference47 = obj41; - questRoot14.QuestSequence = list73; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(4180); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - CollectionsMarshal.AsSpan(list76)[0] = "liza"; - questRoot15.Author = list76; - num = 4; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - Span span20 = CollectionsMarshal.AsSpan(list77); - ref QuestSequence reference48 = ref span20[0]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039336u, new Vector3(-175.61609f, 7.84433f, 68.92493f), 962); - obj42.Steps = list78; - reference48 = obj42; - ref QuestSequence reference49 = ref span20[1]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.Interact, 1039328u, new Vector3(-152.3919f, -16.147f, 209.46057f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanBaldesionAnnex, - To = EAetheryteLocation.OldSharlayanScholarsHarbor - } - }; - obj43.Steps = list79; - reference49 = obj43; - ref QuestSequence reference50 = ref span20[2]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.Emote, 1039328u, new Vector3(-152.3919f, -16.147f, 209.46057f), 962) - { - Emote = EEmote.Poke - }; - obj44.Steps = list80; - reference50 = obj44; - ref QuestSequence reference51 = ref span20[3]; - QuestSequence obj45 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039336u, new Vector3(-175.61609f, 7.84433f, 68.92493f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanBaldesionAnnex - } - }; - obj45.Steps = list81; - reference51 = obj45; - questRoot15.QuestSequence = list77; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(4181); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - CollectionsMarshal.AsSpan(list82)[0] = "liza"; - questRoot16.Author = list82; - num = 4; - List list83 = new List(num); - CollectionsMarshal.SetCount(list83, num); - Span span21 = CollectionsMarshal.AsSpan(list83); - ref QuestSequence reference52 = ref span21[0]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037211u, new Vector3(36.209595f, 2.455876f, -22.90387f), 962); - obj46.Steps = list84; - reference52 = obj46; - ref QuestSequence reference53 = ref span21[1]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.Snipe, 1039337u, new Vector3(99.6261f, -10.587427f, 276.81384f), 962) - { - Comment = "Click ewer, head and feet", - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanScholarsHarbor - } - }; - obj47.Steps = list85; - reference53 = obj47; - ref QuestSequence reference54 = ref span21[2]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.Interact, 1039349u, new Vector3(-49.485046f, -14.999998f, 253.34546f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanScholarsHarbor - } - }; - obj48.Steps = list86; - reference54 = obj48; - ref QuestSequence reference55 = ref span21[3]; - QuestSequence obj49 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037211u, new Vector3(36.209595f, 2.455876f, -22.90387f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan - }; - obj49.Steps = list87; - reference55 = obj49; - questRoot16.QuestSequence = list83; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(4182); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list88 = new List(num); - CollectionsMarshal.SetCount(list88, num); - CollectionsMarshal.AsSpan(list88)[0] = "liza"; - questRoot17.Author = list88; - num = 3; - List list89 = new List(num); - CollectionsMarshal.SetCount(list89, num); - Span span22 = CollectionsMarshal.AsSpan(list89); - ref QuestSequence reference56 = ref span22[0]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039509u, new Vector3(42.06909f, 2.4514537f, -11.062805f), 962); - obj50.Steps = list90; - reference56 = obj50; - ref QuestSequence reference57 = ref span22[1]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - Span span23 = CollectionsMarshal.AsSpan(list91); - ref QuestStep reference58 = ref span23[0]; - QuestStep obj52 = new QuestStep(EInteractionType.Interact, 1039340u, new Vector3(71.39697f, -14.446998f, 82.108765f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanScholarsHarbor - } - }; - num3 = 6; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - Span span24 = CollectionsMarshal.AsSpan(list92); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj52.CompletionQuestVariablesFlags = list92; - reference58 = obj52; - ref QuestStep reference59 = ref span23[1]; - QuestStep obj53 = new QuestStep(EInteractionType.Interact, 1039338u, new Vector3(205.67627f, 1.5468291f, 22.690125f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanScholarsHarbor, - To = EAetheryteLocation.OldSharlayanJourneysEnd - } - }; - num3 = 6; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - Span span25 = CollectionsMarshal.AsSpan(list93); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj53.CompletionQuestVariablesFlags = list93; - reference59 = obj53; - ref QuestStep reference60 = ref span23[2]; - QuestStep obj54 = new QuestStep(EInteractionType.Interact, 1039339u, new Vector3(-237.93402f, 12.289626f, 16.189758f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanJourneysEnd, - To = EAetheryteLocation.OldSharlayanStudium - } - }; - num3 = 6; - List list94 = new List(num3); - CollectionsMarshal.SetCount(list94, num3); - Span span26 = CollectionsMarshal.AsSpan(list94); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj54.CompletionQuestVariablesFlags = list94; - reference60 = obj54; - obj51.Steps = list91; - reference57 = obj51; - ref QuestSequence reference61 = ref span22[2]; - QuestSequence obj55 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039509u, new Vector3(42.06909f, 2.4514537f, -11.062805f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan - }; - obj55.Steps = list95; - reference61 = obj55; - questRoot17.QuestSequence = list89; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(4183); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - CollectionsMarshal.AsSpan(list96)[0] = "liza"; - questRoot18.Author = list96; - num = 3; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - Span span27 = CollectionsMarshal.AsSpan(list97); - ref QuestSequence reference62 = ref span27[0]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - ref QuestStep reference63 = ref CollectionsMarshal.AsSpan(list98)[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.AcceptQuest, 1039341u, new Vector3(164.72107f, 1.2891341f, 22.140747f), 962); - num3 = 1; - List list99 = new List(num3); - CollectionsMarshal.SetCount(list99, num3); - CollectionsMarshal.AsSpan(list99)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZA004_04183_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZA004_04183_A1_000_002") - }; - questStep7.DialogueChoices = list99; - reference63 = questStep7; - obj56.Steps = list98; - reference62 = obj56; - ref QuestSequence reference64 = ref span27[1]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.Interact, 1039342u, new Vector3(111.65027f, 18.835812f, -175.0058f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanJourneysEnd, - To = EAetheryteLocation.OldSharlayanLeveilleurEstate - } - }; - obj57.Steps = list100; - reference64 = obj57; - ref QuestSequence reference65 = ref span27[2]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039341u, new Vector3(164.72107f, 1.2891341f, 22.140747f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanLeveilleurEstate, - To = EAetheryteLocation.OldSharlayanJourneysEnd - } - }; - obj58.Steps = list101; - reference65 = obj58; - questRoot18.QuestSequence = list97; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(4196); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - CollectionsMarshal.AsSpan(list102)[0] = "liza"; - questRoot19.Author = list102; - num = 3; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - Span span28 = CollectionsMarshal.AsSpan(list103); - ref QuestSequence reference66 = ref span28[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - Span span29 = CollectionsMarshal.AsSpan(list104); - span29[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(193.6185f, 1.9123514f, 713.436f), 957); - span29[1] = new QuestStep(EInteractionType.AcceptQuest, 1037622u, new Vector3(189.94562f, 0.8560083f, 702.7896f), 957) - { - StopDistance = 0.25f - }; - obj59.Steps = list104; - reference66 = obj59; - ref QuestSequence reference67 = ref span28[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 2011979u, new Vector3(236.1333f, 10.666016f, 613.27527f), 957); - obj60.Steps = list105; - reference67 = obj60; - ref QuestSequence reference68 = ref span28[2]; - QuestSequence obj61 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - Span span30 = CollectionsMarshal.AsSpan(list106); - span30[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(193.6185f, 1.9123514f, 713.436f), 957) - { - Fly = true - }; - span30[1] = new QuestStep(EInteractionType.CompleteQuest, 1037622u, new Vector3(189.94562f, 0.8560083f, 702.7896f), 957) - { - StopDistance = 0.25f - }; - obj61.Steps = list106; - reference68 = obj61; - questRoot19.QuestSequence = list103; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(4197); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - CollectionsMarshal.AsSpan(list107)[0] = "liza"; - questRoot20.Author = list107; - num = 3; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - Span span31 = CollectionsMarshal.AsSpan(list108); - ref QuestSequence reference69 = ref span31[0]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037625u, new Vector3(176.47058f, 1.8742183f, 799.2217f), 957) - { - StopDistance = 1f, - Fly = true - }; - obj62.Steps = list109; - reference69 = obj62; - ref QuestSequence reference70 = ref span31[1]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - ref QuestStep reference71 = ref CollectionsMarshal.AsSpan(list110)[0]; - QuestStep obj64 = new QuestStep(EInteractionType.Combat, null, new Vector3(13.657948f, 1.6567476f, 631.81714f), 957) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list111 = new List(num3); - CollectionsMarshal.SetCount(list111, num3); - CollectionsMarshal.AsSpan(list111)[0] = 13527u; - obj64.KillEnemyDataIds = list111; - reference71 = obj64; - obj63.Steps = list110; - reference70 = obj63; - ref QuestSequence reference72 = ref span31[2]; - QuestSequence obj65 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037625u, new Vector3(176.47058f, 1.8742183f, 799.2217f), 957) - { - StopDistance = 1f, - Fly = true - }; - obj65.Steps = list112; - reference72 = obj65; - questRoot20.QuestSequence = list108; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(4198); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list113 = new List(num); - CollectionsMarshal.SetCount(list113, num); - CollectionsMarshal.AsSpan(list113)[0] = "liza"; - questRoot21.Author = list113; - num = 5; - List list114 = new List(num); - CollectionsMarshal.SetCount(list114, num); - Span span32 = CollectionsMarshal.AsSpan(list114); - ref QuestSequence reference73 = ref span32[0]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039375u, new Vector3(148.3634f, 5.192836f, 611.2611f), 957); - obj66.Steps = list115; - reference73 = obj66; - ref QuestSequence reference74 = ref span32[1]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.Interact, 1039376u, new Vector3(-15.640564f, 35.742054f, 392.20264f), 957) - { - Fly = true - }; - obj67.Steps = list116; - reference74 = obj67; - ref QuestSequence reference75 = ref span32[2]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - ref QuestStep reference76 = ref CollectionsMarshal.AsSpan(list117)[0]; - QuestStep obj69 = new QuestStep(EInteractionType.Combat, 2011900u, new Vector3(-17.135986f, 35.62976f, 394.39978f), 957) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list118 = new List(num3); - CollectionsMarshal.SetCount(list118, num3); - CollectionsMarshal.AsSpan(list118)[0] = 14121u; - obj69.KillEnemyDataIds = list118; - reference76 = obj69; - obj68.Steps = list117; - reference75 = obj68; - ref QuestSequence reference77 = ref span32[3]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.Interact, 1039376u, new Vector3(-15.640564f, 35.742054f, 392.20264f), 957); - obj70.Steps = list119; - reference77 = obj70; - ref QuestSequence reference78 = ref span32[4]; - QuestSequence obj71 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - ref QuestStep reference79 = ref CollectionsMarshal.AsSpan(list120)[0]; - QuestStep obj72 = new QuestStep(EInteractionType.CompleteQuest, 1039377u, new Vector3(147.60046f, 5.186336f, 610.62024f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - num3 = 1; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - CollectionsMarshal.AsSpan(list121)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZA019_04198_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZA019_04198_A1_000_002") - }; - obj72.DialogueChoices = list121; - reference79 = obj72; - obj71.Steps = list120; - reference78 = obj71; - questRoot21.QuestSequence = list114; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(4199); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list122 = new List(num); - CollectionsMarshal.SetCount(list122, num); - CollectionsMarshal.AsSpan(list122)[0] = "liza"; - questRoot22.Author = list122; - num = 4; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - Span span33 = CollectionsMarshal.AsSpan(list123); - ref QuestSequence reference80 = ref span33[0]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037682u, new Vector3(-564.1108f, 11.802608f, 124.28467f), 957); - obj73.Steps = list124; - reference80 = obj73; - ref QuestSequence reference81 = ref span33[1]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - ref QuestStep reference82 = ref CollectionsMarshal.AsSpan(list125)[0]; - QuestStep obj75 = new QuestStep(EInteractionType.Combat, 1039378u, new Vector3(-103.25781f, 2.5712337f, 597.589f), 957) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list126 = new List(num3); - CollectionsMarshal.SetCount(list126, num3); - Span span34 = CollectionsMarshal.AsSpan(list126); - span34[0] = 14119u; - span34[1] = 14120u; - obj75.KillEnemyDataIds = list126; - reference82 = obj75; - obj74.Steps = list125; - reference81 = obj74; - ref QuestSequence reference83 = ref span33[2]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.Interact, 2011933u, new Vector3(-102.61694f, 3.0059814f, 598.9319f), 957); - obj76.Steps = list127; - reference83 = obj76; - ref QuestSequence reference84 = ref span33[3]; - QuestSequence obj77 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037682u, new Vector3(-564.1108f, 11.802608f, 124.28467f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj77.Steps = list128; - reference84 = obj77; - questRoot22.QuestSequence = list123; - AddQuest(questId22, questRoot22); - } - - private static void LoadQuests84() - { - QuestId questId = new QuestId(4200); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037671u, new Vector3(-554.37555f, 1.120665f, 22.690125f), 957) - { - StopDistance = 0.5f, - Fly = true - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference3 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj3 = new QuestStep(EInteractionType.Interact, 1039384u, new Vector3(223.22424f, 10.211119f, 562.4321f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - int num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZA021_04200_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZA021_04200_A1_000_002") - }; - obj3.DialogueChoices = list5; - reference3 = obj3; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj4 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037671u, new Vector3(-554.37555f, 1.120665f, 22.690125f), 957) - { - StopDistance = 0.5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj4.Steps = list6; - reference4 = obj4; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(4201); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - CollectionsMarshal.AsSpan(list7)[0] = "liza"; - questRoot2.Author = list7; - num = 3; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span2 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference5 = ref span2[0]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039516u, new Vector3(-554.89435f, 11.402609f, 125.10864f), 957) - { - Fly = true - }; - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference6 = ref span2[1]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span3 = CollectionsMarshal.AsSpan(list10); - ref QuestStep reference7 = ref span3[0]; - QuestStep obj7 = new QuestStep(EInteractionType.Emote, 1037680u, new Vector3(-550.1946f, 1.6023201f, 50.766724f), 957) - { - StopDistance = 1f, - Fly = true, - Emote = EEmote.Greeting - }; - num3 = 6; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - Span span4 = CollectionsMarshal.AsSpan(list11); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj7.CompletionQuestVariablesFlags = list11; - reference7 = obj7; - ref QuestStep reference8 = ref span3[1]; - QuestStep obj8 = new QuestStep(EInteractionType.Emote, 1037670u, new Vector3(-508.84262f, -3.7109916E-05f, -20.767578f), 957) - { - Fly = true, - Emote = EEmote.Greeting - }; - num3 = 6; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - Span span5 = CollectionsMarshal.AsSpan(list12); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj8.CompletionQuestVariablesFlags = list12; - reference8 = obj8; - ref QuestStep reference9 = ref span3[2]; - QuestStep obj9 = new QuestStep(EInteractionType.Emote, 1037676u, new Vector3(-502.95264f, 12.375282f, 116.31946f), 957) - { - Fly = true, - Emote = EEmote.Greeting - }; - num3 = 6; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - Span span6 = CollectionsMarshal.AsSpan(list13); - span6[0] = null; - span6[1] = null; - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj9.CompletionQuestVariablesFlags = list13; - reference9 = obj9; - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference10 = ref span2[2]; - QuestSequence obj10 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039516u, new Vector3(-554.89435f, 11.402609f, 125.10864f), 957) - { - Fly = true - }; - obj10.Steps = list14; - reference10 = obj10; - questRoot2.QuestSequence = list8; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(4202); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - CollectionsMarshal.AsSpan(list15)[0] = "liza"; - questRoot3.Author = list15; - num = 6; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - Span span7 = CollectionsMarshal.AsSpan(list16); - ref QuestSequence reference11 = ref span7[0]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - ref QuestStep reference12 = ref CollectionsMarshal.AsSpan(list17)[0]; - QuestStep obj12 = new QuestStep(EInteractionType.AcceptQuest, 1039379u, new Vector3(-478.3246f, 39.636753f, 95.47571f), 957) - { - Fly = true - }; - num3 = 1; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - CollectionsMarshal.AsSpan(list18)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZA023_04202_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZA023_04202_A1_000_001") - }; - obj12.DialogueChoices = list18; - reference12 = obj12; - obj11.Steps = list17; - reference11 = obj11; - ref QuestSequence reference13 = ref span7[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.Interact, 1039380u, new Vector3(-386.862f, 21.832859f, 206.77502f), 957) - { - Fly = true - }; - obj13.Steps = list19; - reference13 = obj13; - ref QuestSequence reference14 = ref span7[2]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.Interact, 1039380u, new Vector3(-386.862f, 21.832859f, 206.77502f), 957); - obj14.Steps = list20; - reference14 = obj14; - ref QuestSequence reference15 = ref span7[3]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - ref QuestStep reference16 = ref CollectionsMarshal.AsSpan(list21)[0]; - QuestStep obj16 = new QuestStep(EInteractionType.Combat, 2011911u, new Vector3(-387.28925f, 21.744019f, 208.88062f), 957) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - CollectionsMarshal.AsSpan(list22)[0] = 14118u; - obj16.KillEnemyDataIds = list22; - reference16 = obj16; - obj15.Steps = list21; - reference15 = obj15; - ref QuestSequence reference17 = ref span7[4]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.Interact, 1039380u, new Vector3(-386.862f, 21.832859f, 206.77502f), 957); - obj17.Steps = list23; - reference17 = obj17; - ref QuestSequence reference18 = ref span7[5]; - QuestSequence obj18 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039379u, new Vector3(-478.3246f, 39.636753f, 95.47571f), 957) - { - Fly = true - }; - obj18.Steps = list24; - reference18 = obj18; - questRoot3.QuestSequence = list16; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(4203); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - CollectionsMarshal.AsSpan(list25)[0] = "liza"; - questRoot4.Author = list25; - num = 5; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - Span span8 = CollectionsMarshal.AsSpan(list26); - ref QuestSequence reference19 = ref span8[0]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037670u, new Vector3(-508.84262f, -3.7109916E-05f, -20.767578f), 957); - obj19.Steps = list27; - reference19 = obj19; - ref QuestSequence reference20 = ref span8[1]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - Span span9 = CollectionsMarshal.AsSpan(list28); - span9[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(19.631685f, 90.24879f, -136.69801f), 957); - span9[1] = new QuestStep(EInteractionType.Interact, 1039382u, new Vector3(17.07483f, 90.248795f, -133.34863f), 957) - { - StopDistance = 7f - }; - obj20.Steps = list28; - reference20 = obj20; - ref QuestSequence reference21 = ref span8[2]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - Span span10 = CollectionsMarshal.AsSpan(list29); - ref QuestStep reference22 = ref span10[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2011912u, new Vector3(65.293335f, 96.29968f, -130.23578f), 957); - num3 = 6; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - Span span11 = CollectionsMarshal.AsSpan(list30); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list30; - reference22 = questStep; - ref QuestStep reference23 = ref span10[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(61.000668f, 94.60124f, -159.90234f), 957); - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - Span span12 = CollectionsMarshal.AsSpan(list31); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list31; - skipConditions.StepIf = skipStepConditions; - questStep2.SkipConditions = skipConditions; - reference23 = questStep2; - ref QuestStep reference24 = ref span10[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2011914u, null, 957); - num3 = 6; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - Span span13 = CollectionsMarshal.AsSpan(list32); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list32; - reference24 = questStep3; - ref QuestStep reference25 = ref span10[3]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2011913u, new Vector3(79.51477f, 93.0647f, -157.09167f), 957); - num3 = 6; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - Span span14 = CollectionsMarshal.AsSpan(list33); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list33; - reference25 = questStep4; - obj21.Steps = list29; - reference21 = obj21; - ref QuestSequence reference26 = ref span8[3]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.Interact, 1039382u, new Vector3(17.07483f, 90.248795f, -133.34863f), 957); - obj22.Steps = list34; - reference26 = obj22; - ref QuestSequence reference27 = ref span8[4]; - QuestSequence obj23 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037670u, new Vector3(-508.84262f, -3.7109916E-05f, -20.767578f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj23.Steps = list35; - reference27 = obj23; - questRoot4.QuestSequence = list26; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(4204); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - CollectionsMarshal.AsSpan(list36)[0] = "liza"; - questRoot5.Author = list36; - num = 6; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - Span span15 = CollectionsMarshal.AsSpan(list37); - ref QuestSequence reference28 = ref span15[0]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039365u, new Vector3(-490.37924f, 5.667216f, 63.553833f), 957) - { - Fly = true - }; - obj24.Steps = list38; - reference28 = obj24; - ref QuestSequence reference29 = ref span15[1]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 1039366u, new Vector3(-385.24457f, 15.095761f, 62.974f), 957) - { - Fly = true - }; - obj25.Steps = list39; - reference29 = obj25; - ref QuestSequence reference30 = ref span15[2]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.Interact, 1039367u, new Vector3(-161.85254f, 32.732735f, 210.74231f), 957) - { - Fly = true - }; - obj26.Steps = list40; - reference30 = obj26; - ref QuestSequence reference31 = ref span15[3]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - Span span16 = CollectionsMarshal.AsSpan(list41); - ref QuestStep reference32 = ref span16[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2011903u, new Vector3(-161.5473f, 32.211792f, 225.36047f), 957); - num3 = 6; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - Span span17 = CollectionsMarshal.AsSpan(list42); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list42; - reference32 = questStep5; - ref QuestStep reference33 = ref span16[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2011904u, new Vector3(-148.57715f, 34.10388f, 207.84314f), 957); - num3 = 6; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - Span span18 = CollectionsMarshal.AsSpan(list43); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list43; - reference33 = questStep6; - ref QuestStep reference34 = ref span16[2]; - QuestStep obj28 = new QuestStep(EInteractionType.Combat, 2011902u, new Vector3(-170.21442f, 31.814941f, 193.1029f), 957) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - CollectionsMarshal.AsSpan(list44)[0] = 14117u; - obj28.KillEnemyDataIds = list44; - num3 = 6; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - Span span19 = CollectionsMarshal.AsSpan(list45); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj28.CompletionQuestVariablesFlags = list45; - reference34 = obj28; - obj27.Steps = list41; - reference31 = obj27; - ref QuestSequence reference35 = ref span15[4]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 1039367u, new Vector3(-161.85254f, 32.732735f, 210.74231f), 957); - obj29.Steps = list46; - reference35 = obj29; - ref QuestSequence reference36 = ref span15[5]; - QuestSequence obj30 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039365u, new Vector3(-490.37924f, 5.667216f, 63.553833f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj30.Steps = list47; - reference36 = obj30; - questRoot5.QuestSequence = list37; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(4205); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - CollectionsMarshal.AsSpan(list48)[0] = "liza"; - questRoot6.Author = list48; - num = 5; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - Span span20 = CollectionsMarshal.AsSpan(list49); - ref QuestSequence reference37 = ref span20[0]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039371u, new Vector3(-409.93365f, 10.751212f, 33.035767f), 957) - { - Fly = true - }; - obj31.Steps = list50; - reference37 = obj31; - ref QuestSequence reference38 = ref span20[1]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.Interact, 1039372u, new Vector3(195.91052f, 4.763736f, 658.2893f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj32.Steps = list51; - reference38 = obj32; - ref QuestSequence reference39 = ref span20[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - ref QuestStep reference40 = ref CollectionsMarshal.AsSpan(list52)[0]; - QuestStep obj34 = new QuestStep(EInteractionType.Interact, 1039373u, new Vector3(-314.6258f, 0.70631444f, 561.12f), 957) - { - Fly = true - }; - num3 = 1; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - CollectionsMarshal.AsSpan(list53)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZA026_04205_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZA026_04205_A1_000_001") - }; - obj34.DialogueChoices = list53; - reference40 = obj34; - obj33.Steps = list52; - reference39 = obj33; - ref QuestSequence reference41 = ref span20[3]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 3 - }; - num2 = 6; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - Span span21 = CollectionsMarshal.AsSpan(list54); - ref QuestStep reference42 = ref span21[0]; - QuestStep obj36 = new QuestStep(EInteractionType.Interact, 2011905u, new Vector3(-443.04572f, -0.22894287f, 800.7781f), 957) - { - Fly = true - }; - num3 = 6; - List list55 = new List(num3); - CollectionsMarshal.SetCount(list55, num3); - Span span22 = CollectionsMarshal.AsSpan(list55); - span22[0] = null; - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj36.CompletionQuestVariablesFlags = list55; - reference42 = obj36; - ref QuestStep reference43 = ref span21[1]; - QuestStep obj37 = new QuestStep(EInteractionType.Interact, 2011906u, new Vector3(-458.42682f, -0.19836426f, 830.8689f), 957) - { - Mount = false - }; - num3 = 6; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - Span span23 = CollectionsMarshal.AsSpan(list56); - span23[0] = null; - span23[1] = null; - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj37.CompletionQuestVariablesFlags = list56; - reference43 = obj37; - span21[2] = new QuestStep(EInteractionType.Dive, null, new Vector3(-458.42682f, -0.19836426f, 830.8689f), 957) - { - StopDistance = 5f - }; - ref QuestStep reference44 = ref span21[3]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2011908u, new Vector3(-484.85547f, -72.22095f, 814.35876f), 957); - num3 = 6; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - Span span24 = CollectionsMarshal.AsSpan(list57); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list57; - reference44 = questStep7; - ref QuestStep reference45 = ref span21[4]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2011907u, new Vector3(-452.90308f, -67.00244f, 776.2417f), 957); - num3 = 6; - List list58 = new List(num3); - CollectionsMarshal.SetCount(list58, num3); - Span span25 = CollectionsMarshal.AsSpan(list58); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list58; - reference45 = questStep8; - ref QuestStep reference46 = ref span21[5]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 2011909u, new Vector3(-513.51184f, -52.689453f, 773.73914f), 957); - num3 = 6; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - Span span26 = CollectionsMarshal.AsSpan(list59); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list59; - reference46 = questStep9; - obj35.Steps = list54; - reference41 = obj35; - ref QuestSequence reference47 = ref span20[4]; - QuestSequence obj38 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039371u, new Vector3(-409.93365f, 10.751212f, 33.035767f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj38.Steps = list60; - reference47 = obj38; - questRoot6.QuestSequence = list49; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(4206); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - CollectionsMarshal.AsSpan(list61)[0] = "liza"; - questRoot7.Author = list61; - num = 4; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - Span span27 = CollectionsMarshal.AsSpan(list62); - ref QuestSequence reference48 = ref span27[0]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037685u, new Vector3(-468.864f, 6.2912574f, 3.463745f), 957) - { - Fly = true - }; - obj39.Steps = list63; - reference48 = obj39; - ref QuestSequence reference49 = ref span27[1]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - ref QuestStep reference50 = ref CollectionsMarshal.AsSpan(list64)[0]; - QuestStep obj41 = new QuestStep(EInteractionType.Combat, null, new Vector3(-568.1513f, 40.91181f, -451.32486f), 957) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - CollectionsMarshal.AsSpan(list65)[0] = 14116u; - obj41.KillEnemyDataIds = list65; - reference50 = obj41; - obj40.Steps = list64; - reference49 = obj40; - ref QuestSequence reference51 = ref span27[2]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.Interact, 1039383u, new Vector3(-567.6509f, 41.313267f, -448.41687f), 957); - obj42.Steps = list66; - reference51 = obj42; - ref QuestSequence reference52 = ref span27[3]; - QuestSequence obj43 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037685u, new Vector3(-468.864f, 6.2912574f, 3.463745f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj43.Steps = list67; - reference52 = obj43; - questRoot7.QuestSequence = list62; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(4207); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - CollectionsMarshal.AsSpan(list68)[0] = "liza"; - questRoot8.Author = list68; - num = 5; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - Span span28 = CollectionsMarshal.AsSpan(list69); - ref QuestSequence reference53 = ref span28[0]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039385u, new Vector3(-480.12518f, 5.362214f, 37.582886f), 957) - { - StopDistance = 0.5f, - Fly = true - }; - obj44.Steps = list70; - reference53 = obj44; - ref QuestSequence reference54 = ref span28[1]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.Interact, 1039386u, new Vector3(-431.7846f, 72.61802f, -555.3826f), 957) - { - Fly = true - }; - obj45.Steps = list71; - reference54 = obj45; - ref QuestSequence reference55 = ref span28[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 2 - }; - num2 = 9; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - Span span29 = CollectionsMarshal.AsSpan(list72); - ref QuestStep reference56 = ref span29[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-477.78827f, 73.67918f, -542.7145f), 957); - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - Span span30 = CollectionsMarshal.AsSpan(list73); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list73; - skipConditions2.StepIf = skipStepConditions2; - questStep10.SkipConditions = skipConditions2; - reference56 = questStep10; - ref QuestStep reference57 = ref span29[1]; - QuestStep obj47 = new QuestStep(EInteractionType.UseItem, 2011962u, new Vector3(-477.16492f, 74.75391f, -544.5792f), 957) - { - ItemId = 2003199u - }; - num3 = 6; - List list74 = new List(num3); - CollectionsMarshal.SetCount(list74, num3); - Span span31 = CollectionsMarshal.AsSpan(list74); - span31[0] = null; - span31[1] = null; - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj47.CompletionQuestVariablesFlags = list74; - reference57 = obj47; - ref QuestStep reference58 = ref span29[2]; - QuestStep obj48 = new QuestStep(EInteractionType.UseItem, 2011963u, new Vector3(-479.2401f, 74.784424f, -541.619f), 957) - { - DelaySecondsAtStart = 3f, - ItemId = 2003199u - }; - num3 = 6; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - Span span32 = CollectionsMarshal.AsSpan(list75); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj48.CompletionQuestVariablesFlags = list75; - reference58 = obj48; - ref QuestStep reference59 = ref span29[3]; - QuestStep questStep11 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-482.98328f, 73.32367f, -521.75024f), 957); - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - Span span33 = CollectionsMarshal.AsSpan(list76); - span33[0] = null; - span33[1] = null; - span33[2] = null; - span33[3] = null; - span33[4] = null; - span33[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list76; - skipConditions3.StepIf = skipStepConditions3; - questStep11.SkipConditions = skipConditions3; - reference59 = questStep11; - ref QuestStep reference60 = ref span29[4]; - QuestStep obj49 = new QuestStep(EInteractionType.UseItem, 2011964u, new Vector3(-484.67236f, 74.021484f, -523.15564f), 957) - { - ItemId = 2003199u - }; - num3 = 6; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - Span span34 = CollectionsMarshal.AsSpan(list77); - span34[0] = null; - span34[1] = null; - span34[2] = null; - span34[3] = null; - span34[4] = null; - span34[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj49.CompletionQuestVariablesFlags = list77; - reference60 = obj49; - ref QuestStep reference61 = ref span29[5]; - QuestStep obj50 = new QuestStep(EInteractionType.UseItem, 2011965u, new Vector3(-483.6042f, 74.35718f, -519.7986f), 957) - { - DelaySecondsAtStart = 3f, - ItemId = 2003199u - }; - num3 = 6; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - Span span35 = CollectionsMarshal.AsSpan(list78); - span35[0] = null; - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj50.CompletionQuestVariablesFlags = list78; - reference61 = obj50; - span29[6] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-475.0877f, 73.24273f, -512.62787f), 957); - ref QuestStep reference62 = ref span29[7]; - QuestStep obj51 = new QuestStep(EInteractionType.UseItem, 2011967u, new Vector3(-476.92078f, 74.08252f, -511.43665f), 957) - { - ItemId = 2003199u - }; - num3 = 6; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - Span span36 = CollectionsMarshal.AsSpan(list79); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - obj51.CompletionQuestVariablesFlags = list79; - reference62 = obj51; - ref QuestStep reference63 = ref span29[8]; - QuestStep obj52 = new QuestStep(EInteractionType.UseItem, 2011966u, new Vector3(-473.0144f, 74.32666f, -512.3827f), 957) - { - DelaySecondsAtStart = 3f, - ItemId = 2003199u - }; - num3 = 6; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - Span span37 = CollectionsMarshal.AsSpan(list80); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj52.CompletionQuestVariablesFlags = list80; - reference63 = obj52; - obj46.Steps = list72; - reference55 = obj46; - ref QuestSequence reference64 = ref span28[3]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.Interact, 1039386u, new Vector3(-431.7846f, 72.61802f, -555.3826f), 957) - { - Fly = true - }; - obj53.Steps = list81; - reference64 = obj53; - ref QuestSequence reference65 = ref span28[4]; - QuestSequence obj54 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039385u, new Vector3(-480.12518f, 5.362214f, 37.582886f), 957) - { - StopDistance = 0.5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj54.Steps = list82; - reference65 = obj54; - questRoot8.QuestSequence = list69; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(4208); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list83 = new List(num); - CollectionsMarshal.SetCount(list83, num); - CollectionsMarshal.AsSpan(list83)[0] = "liza"; - questRoot9.Author = list83; - num = 3; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - Span span38 = CollectionsMarshal.AsSpan(list84); - ref QuestSequence reference66 = ref span38[0]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037673u, new Vector3(-517.0215f, 11.975277f, 100.541626f), 957); - obj55.Steps = list85; - reference66 = obj55; - ref QuestSequence reference67 = ref span38[1]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - Span span39 = CollectionsMarshal.AsSpan(list86); - ref QuestStep reference68 = ref span39[0]; - QuestStep obj57 = new QuestStep(EInteractionType.Interact, 1039370u, new Vector3(-106.21808f, 95.53504f, -700.4959f), 957) - { - Fly = true - }; - num3 = 6; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - Span span40 = CollectionsMarshal.AsSpan(list87); - span40[0] = null; - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj57.CompletionQuestVariablesFlags = list87; - reference68 = obj57; - ref QuestStep reference69 = ref span39[1]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1039368u, new Vector3(-65.07977f, 89.860886f, -659.8764f), 957); - num3 = 6; - List list88 = new List(num3); - CollectionsMarshal.SetCount(list88, num3); - Span span41 = CollectionsMarshal.AsSpan(list88); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list88; - reference69 = questStep12; - ref QuestStep reference70 = ref span39[2]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1039369u, new Vector3(-66.14789f, 89.4264f, -635.8892f), 957); - num3 = 6; - List list89 = new List(num3); - CollectionsMarshal.SetCount(list89, num3); - Span span42 = CollectionsMarshal.AsSpan(list89); - span42[0] = null; - span42[1] = null; - span42[2] = null; - span42[3] = null; - span42[4] = null; - span42[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list89; - reference70 = questStep13; - obj56.Steps = list86; - reference67 = obj56; - ref QuestSequence reference71 = ref span38[2]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037673u, new Vector3(-517.0215f, 11.975277f, 100.541626f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj58.Steps = list90; - reference71 = obj58; - questRoot9.QuestSequence = list84; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(4209); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - CollectionsMarshal.AsSpan(list91)[0] = "liza"; - questRoot10.Author = list91; - num = 3; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - Span span43 = CollectionsMarshal.AsSpan(list92); - ref QuestSequence reference72 = ref span43[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037681u, new Vector3(-554.74176f, 11.402611f, 137.31592f), 957) - { - Fly = true - }; - obj59.Steps = list93; - reference72 = obj59; - ref QuestSequence reference73 = ref span43[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - Span span44 = CollectionsMarshal.AsSpan(list94); - span44[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-281.16296f, 94.31451f, -289.12802f), 957) - { - Fly = true - }; - span44[1] = new QuestStep(EInteractionType.Interact, 2011910u, new Vector3(-280.99493f, 95.87244f, -287.64783f), 957); - obj60.Steps = list94; - reference73 = obj60; - ref QuestSequence reference74 = ref span43[2]; - QuestSequence obj61 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037681u, new Vector3(-554.74176f, 11.402611f, 137.31592f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj61.Steps = list95; - reference74 = obj61; - questRoot10.QuestSequence = list92; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(4210); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - CollectionsMarshal.AsSpan(list96)[0] = "liza"; - questRoot11.Author = list96; - num = 5; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - Span span45 = CollectionsMarshal.AsSpan(list97); - ref QuestSequence reference75 = ref span45[0]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039510u, new Vector3(-309.07147f, 21.799957f, -174.36487f), 962); - obj62.Steps = list98; - reference75 = obj62; - ref QuestSequence reference76 = ref span45[1]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - Span span46 = CollectionsMarshal.AsSpan(list99); - span46[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.63965f, 25.46388f, -157.38919f), 962); - span46[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-191.05865f, 22.001097f, -166.16983f), 962) - { - DisableNavmesh = true - }; - span46[2] = new QuestStep(EInteractionType.Interact, 1039346u, new Vector3(-188.922f, 23.49104f, -181.90283f), 962); - obj63.Steps = list99; - reference76 = obj63; - ref QuestSequence reference77 = ref span45[2]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.UseItem, 2011801u, new Vector3(-191.02777f, 24.215942f, -179.15619f), 962) - { - ItemId = 2003114u - }; - obj64.Steps = list100; - reference77 = obj64; - ref QuestSequence reference78 = ref span45[3]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - ref QuestStep reference79 = ref CollectionsMarshal.AsSpan(list101)[0]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1039346u, new Vector3(-188.922f, 23.49104f, -181.90283f), 962); - num3 = 1; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - CollectionsMarshal.AsSpan(list102)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZC001_04210_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZC001_04210_A1_000_002") - }; - questStep14.DialogueChoices = list102; - reference79 = questStep14; - obj65.Steps = list101; - reference78 = obj65; - ref QuestSequence reference80 = ref span45[4]; - QuestSequence obj66 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039510u, new Vector3(-309.07147f, 21.799957f, -174.36487f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanStudium - } - }; - obj66.Steps = list103; - reference80 = obj66; - questRoot11.QuestSequence = list97; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(4211); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list104 = new List(num); - CollectionsMarshal.SetCount(list104, num); - CollectionsMarshal.AsSpan(list104)[0] = "liza"; - questRoot12.Author = list104; - num = 4; - List list105 = new List(num); - CollectionsMarshal.SetCount(list105, num); - Span span47 = CollectionsMarshal.AsSpan(list105); - ref QuestSequence reference81 = ref span47[0]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.AcceptQuest, 2011795u, new Vector3(-104.32593f, 24.673828f, -120.042725f), 962); - obj67.Steps = list106; - reference81 = obj67; - ref QuestSequence reference82 = ref span47[1]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.Interact, 1039344u, new Vector3(-58.54895f, 5.9669995f, -60.746216f), 962); - obj68.Steps = list107; - reference82 = obj68; - ref QuestSequence reference83 = ref span47[2]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.Interact, 1039509u, new Vector3(42.06909f, 2.4514537f, -11.062805f), 962); - obj69.Steps = list108; - reference83 = obj69; - ref QuestSequence reference84 = ref span47[3]; - QuestSequence obj70 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039345u, new Vector3(-102.1897f, 24.649986f, -119.798584f), 962); - obj70.Steps = list109; - reference84 = obj70; - questRoot12.QuestSequence = list105; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(4212); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - CollectionsMarshal.AsSpan(list110)[0] = "liza"; - questRoot13.Author = list110; - num = 3; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - Span span48 = CollectionsMarshal.AsSpan(list111); - ref QuestSequence reference85 = ref span48[0]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037104u, new Vector3(-326.07007f, 20.1375f, -142.56512f), 962); - obj71.Steps = list112; - reference85 = obj71; - ref QuestSequence reference86 = ref span48[1]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.Interact, 1039343u, new Vector3(-16.983276f, -16.246998f, 123.03345f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanStudium, - To = EAetheryteLocation.OldSharlayanScholarsHarbor - } - }; - obj72.Steps = list113; - reference86 = obj72; - ref QuestSequence reference87 = ref span48[2]; - QuestSequence obj73 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037104u, new Vector3(-326.07007f, 20.1375f, -142.56512f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanScholarsHarbor, - To = EAetheryteLocation.OldSharlayanStudium - } - }; - obj73.Steps = list114; - reference87 = obj73; - questRoot13.QuestSequence = list111; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(4213); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - CollectionsMarshal.AsSpan(list115)[0] = "liza"; - questRoot14.Author = list115; - num = 3; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - Span span49 = CollectionsMarshal.AsSpan(list116); - ref QuestSequence reference88 = ref span49[0]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - ref QuestStep reference89 = ref CollectionsMarshal.AsSpan(list117)[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.AcceptQuest, 1041286u, new Vector3(-230.51807f, 21.437386f, -119.46289f), 962); - num3 = 1; - List list118 = new List(num3); - CollectionsMarshal.SetCount(list118, num3); - CollectionsMarshal.AsSpan(list118)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZC004_04213_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZC004_04213_A1_000_001") - }; - questStep15.DialogueChoices = list118; - reference89 = questStep15; - obj74.Steps = list117; - reference88 = obj74; - ref QuestSequence reference90 = ref span49[1]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.Interact, 1041285u, new Vector3(115.80066f, 14.741594f, -132.03638f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanStudium, - To = EAetheryteLocation.OldSharlayanLeveilleurEstate - } - }; - obj75.Steps = list119; - reference90 = obj75; - ref QuestSequence reference91 = ref span49[2]; - QuestSequence obj76 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041286u, new Vector3(-230.51807f, 21.437386f, -119.46289f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanLeveilleurEstate, - To = EAetheryteLocation.OldSharlayanStudium - } - }; - obj76.Steps = list120; - reference91 = obj76; - questRoot14.QuestSequence = list116; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(4214); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list121 = new List(num); - CollectionsMarshal.SetCount(list121, num); - CollectionsMarshal.AsSpan(list121)[0] = "liza"; - questRoot15.Author = list121; - num = 7; - List list122 = new List(num); - CollectionsMarshal.SetCount(list122, num); - Span span50 = CollectionsMarshal.AsSpan(list122); - ref QuestSequence reference92 = ref span50[0]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - ref QuestStep reference93 = ref CollectionsMarshal.AsSpan(list123)[0]; - QuestStep questStep16 = new QuestStep(EInteractionType.AcceptQuest, 1041287u, new Vector3(-307.3625f, 22.3f, -143.29755f), 962); - num3 = 1; - List list124 = new List(num3); - CollectionsMarshal.SetCount(list124, num3); - CollectionsMarshal.AsSpan(list124)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKZC005_04214_Q1_000_000") - }; - questStep16.DialogueChoices = list124; - reference93 = questStep16; - obj77.Steps = list123; - reference92 = obj77; - ref QuestSequence reference94 = ref span50[1]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.Interact, 1041288u, new Vector3(-169.51251f, 21.975235f, -152.26978f), 962); - obj78.Steps = list125; - reference94 = obj78; - ref QuestSequence reference95 = ref span50[2]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.Emote, 2012434u, new Vector3(-168.32227f, 21.927185f, -151.29321f), 962) - { - StopDistance = 0.25f, - Emote = EEmote.BattleStance - }; - obj79.Steps = list126; - reference95 = obj79; - ref QuestSequence reference96 = ref span50[3]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.Interact, 2012437u, new Vector3(-169.69562f, 22.87323f, -150.07251f), 962); - obj80.Steps = list127; - reference96 = obj80; - ref QuestSequence reference97 = ref span50[4]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.Interact, 1037098u, new Vector3(-94.83484f, 6.617f, -41.58087f), 962); - obj81.Steps = list128; - reference97 = obj81; - ref QuestSequence reference98 = ref span50[5]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - ref QuestStep reference99 = ref CollectionsMarshal.AsSpan(list129)[0]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1041288u, new Vector3(-169.51251f, 21.975235f, -152.26978f), 962); - num3 = 1; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - CollectionsMarshal.AsSpan(list130)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZC005_04214_Q2_000_000"), - Answer = new ExcelRef("TEXT_AKTKZC005_04214_A2_000_002") - }; - questStep17.DialogueChoices = list130; - reference99 = questStep17; - obj82.Steps = list129; - reference98 = obj82; - ref QuestSequence reference100 = ref span50[6]; - QuestSequence obj83 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041287u, new Vector3(-307.3625f, 22.3f, -143.29755f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanStudium - } - }; - obj83.Steps = list131; - reference100 = obj83; - questRoot15.QuestSequence = list122; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(4215); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list132 = new List(num); - CollectionsMarshal.SetCount(list132, num); - CollectionsMarshal.AsSpan(list132)[0] = "liza"; - questRoot16.Author = list132; - num = 3; - List list133 = new List(num); - CollectionsMarshal.SetCount(list133, num); - Span span51 = CollectionsMarshal.AsSpan(list133); - ref QuestSequence reference101 = ref span51[0]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037139u, new Vector3(-317.06726f, 19f, 48.844116f), 962); - obj84.Steps = list134; - reference101 = obj84; - ref QuestSequence reference102 = ref span51[1]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 1 - }; - num2 = 7; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - Span span52 = CollectionsMarshal.AsSpan(list135); - ref QuestStep reference103 = ref span52[0]; - QuestStep questStep18 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-265.8844f, 18.745457f, 44.893326f), 962); - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - Span span53 = CollectionsMarshal.AsSpan(list136); - span53[0] = null; - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list136; - skipConditions4.StepIf = skipStepConditions4; - questStep18.SkipConditions = skipConditions4; - reference103 = questStep18; - ref QuestStep reference104 = ref span52[1]; - QuestStep obj86 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-258.26123f, 12.376022f, 53.92458f), 962) - { - DisableNavmesh = true - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 6; - List list137 = new List(num3); - CollectionsMarshal.SetCount(list137, num3); - Span span54 = CollectionsMarshal.AsSpan(list137); - span54[0] = null; - span54[1] = null; - span54[2] = null; - span54[3] = null; - span54[4] = null; - span54[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions5.CompletionQuestVariablesFlags = list137; - skipConditions5.StepIf = skipStepConditions5; - obj86.SkipConditions = skipConditions5; - reference104 = obj86; - ref QuestStep reference105 = ref span52[2]; - QuestStep obj87 = new QuestStep(EInteractionType.UseItem, 1041289u, new Vector3(-265.919f, 12.623348f, 102.86096f), 962) - { - ItemId = 2003288u, - GroundTarget = true - }; - num3 = 6; - List list138 = new List(num3); - CollectionsMarshal.SetCount(list138, num3); - Span span55 = CollectionsMarshal.AsSpan(list138); - span55[0] = null; - span55[1] = null; - span55[2] = null; - span55[3] = null; - span55[4] = null; - span55[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj87.CompletionQuestVariablesFlags = list138; - reference105 = obj87; - ref QuestStep reference106 = ref span52[3]; - QuestStep obj88 = new QuestStep(EInteractionType.UseItem, 1041290u, new Vector3(-291.49316f, 12.68306f, 127.45862f), 962) - { - ItemId = 2003288u, - GroundTarget = true - }; - num3 = 6; - List list139 = new List(num3); - CollectionsMarshal.SetCount(list139, num3); - Span span56 = CollectionsMarshal.AsSpan(list139); - span56[0] = null; - span56[1] = null; - span56[2] = null; - span56[3] = null; - span56[4] = null; - span56[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj88.CompletionQuestVariablesFlags = list139; - reference106 = obj88; - ref QuestStep reference107 = ref span52[4]; - QuestStep obj89 = new QuestStep(EInteractionType.UseItem, 1041291u, new Vector3(-155.77942f, 11.71745f, -52.628357f), 962) - { - ItemId = 2003288u, - GroundTarget = true - }; - num3 = 6; - List list140 = new List(num3); - CollectionsMarshal.SetCount(list140, num3); - Span span57 = CollectionsMarshal.AsSpan(list140); - span57[0] = null; - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj89.CompletionQuestVariablesFlags = list140; - reference107 = obj89; - ref QuestStep reference108 = ref span52[5]; - QuestStep obj90 = new QuestStep(EInteractionType.UseItem, 1041292u, new Vector3(-147.50903f, 12.490502f, -87.052734f), 962) - { - ItemId = 2003288u, - GroundTarget = true - }; - num3 = 6; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - Span span58 = CollectionsMarshal.AsSpan(list141); - span58[0] = null; - span58[1] = null; - span58[2] = null; - span58[3] = null; - span58[4] = null; - span58[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj90.CompletionQuestVariablesFlags = list141; - reference108 = obj90; - ref QuestStep reference109 = ref span52[6]; - QuestStep obj91 = new QuestStep(EInteractionType.UseItem, 1041293u, new Vector3(-107.86603f, 18.024683f, -71.33594f), 962) - { - ItemId = 2003288u, - GroundTarget = true - }; - num3 = 6; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - Span span59 = CollectionsMarshal.AsSpan(list142); - span59[0] = null; - span59[1] = null; - span59[2] = null; - span59[3] = null; - span59[4] = null; - span59[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj91.CompletionQuestVariablesFlags = list142; - reference109 = obj91; - obj85.Steps = list135; - reference102 = obj85; - ref QuestSequence reference110 = ref span51[2]; - QuestSequence obj92 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037139u, new Vector3(-317.06726f, 19f, 48.844116f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanBaldesionAnnex, - To = EAetheryteLocation.OldSharlayanStudium - } - }; - obj92.Steps = list143; - reference110 = obj92; - questRoot16.QuestSequence = list133; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(4216); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list144 = new List(num); - CollectionsMarshal.SetCount(list144, num); - CollectionsMarshal.AsSpan(list144)[0] = "liza"; - questRoot17.Author = list144; - num = 4; - List list145 = new List(num); - CollectionsMarshal.SetCount(list145, num); - Span span60 = CollectionsMarshal.AsSpan(list145); - ref QuestSequence reference111 = ref span60[0]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040898u, new Vector3(-433.12738f, 22.221891f, 460.80713f), 958); - obj93.Steps = list146; - reference111 = obj93; - ref QuestSequence reference112 = ref span60[1]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.Interact, 1040899u, new Vector3(-233.44781f, 22.17031f, 443.71704f), 958); - obj94.Steps = list147; - reference112 = obj94; - ref QuestSequence reference113 = ref span60[2]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.Interact, 1040899u, new Vector3(156.03712f, -19.711596f, 562.5593f), 958) - { - StopDistance = 1f - }; - obj95.Steps = list148; - reference113 = obj95; - ref QuestSequence reference114 = ref span60[3]; - QuestSequence obj96 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041122u, new Vector3(134.844f, -13.286316f, 649.8054f), 958); - obj96.Steps = list149; - reference114 = obj96; - questRoot17.QuestSequence = list145; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(4217); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list150 = new List(num); - CollectionsMarshal.SetCount(list150, num); - CollectionsMarshal.AsSpan(list150)[0] = "goatzone"; - questRoot18.Author = list150; - num = 4; - List list151 = new List(num); - CollectionsMarshal.SetCount(list151, num); - Span span61 = CollectionsMarshal.AsSpan(list151); - ref QuestSequence reference115 = ref span61[0]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041122u, new Vector3(134.844f, -13.286316f, 649.8054f), 958) - { - Fly = true - }; - obj97.Steps = list152; - reference115 = obj97; - ref QuestSequence reference116 = ref span61[1]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.Interact, 1041119u, new Vector3(135.85095f, -17.135998f, 567.8645f), 958) - { - Fly = true - }; - obj98.Steps = list153; - reference116 = obj98; - ref QuestSequence reference117 = ref span61[2]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - Span span62 = CollectionsMarshal.AsSpan(list154); - ref QuestStep reference118 = ref span62[0]; - QuestStep obj100 = new QuestStep(EInteractionType.Combat, null, new Vector3(73.64728f, -18.777306f, 527.2946f), 958) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - CollectionsMarshal.AsSpan(list155)[0] = 14107u; - obj100.KillEnemyDataIds = list155; - num3 = 6; - List list156 = new List(num3); - CollectionsMarshal.SetCount(list156, num3); - Span span63 = CollectionsMarshal.AsSpan(list156); - span63[0] = null; - span63[1] = null; - span63[2] = null; - span63[3] = null; - span63[4] = null; - span63[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj100.CompletionQuestVariablesFlags = list156; - reference118 = obj100; - ref QuestStep reference119 = ref span62[1]; - QuestStep obj101 = new QuestStep(EInteractionType.Combat, null, new Vector3(370.17212f, -18.937208f, 338.0957f), 958) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list157 = new List(num3); - CollectionsMarshal.SetCount(list157, num3); - CollectionsMarshal.AsSpan(list157)[0] = 14107u; - obj101.KillEnemyDataIds = list157; - num3 = 6; - List list158 = new List(num3); - CollectionsMarshal.SetCount(list158, num3); - Span span64 = CollectionsMarshal.AsSpan(list158); - span64[0] = null; - span64[1] = null; - span64[2] = null; - span64[3] = null; - span64[4] = null; - span64[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj101.CompletionQuestVariablesFlags = list158; - reference119 = obj101; - obj99.Steps = list154; - reference117 = obj99; - ref QuestSequence reference120 = ref span61[3]; - QuestSequence obj102 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - Span span65 = CollectionsMarshal.AsSpan(list159); - span65[0] = new QuestStep(EInteractionType.None, null, new Vector3(135.85095f, -17.135998f, 567.8645f), 958) - { - StopDistance = 2000f, - Mount = false - }; - span65[1] = new QuestStep(EInteractionType.CompleteQuest, 1041119u, new Vector3(135.85095f, -17.135998f, 567.8645f), 958) - { - Fly = true, - NextQuestId = new QuestId(4218) - }; - obj102.Steps = list159; - reference120 = obj102; - questRoot18.QuestSequence = list151; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(4218); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list160 = new List(num); - CollectionsMarshal.SetCount(list160, num); - CollectionsMarshal.AsSpan(list160)[0] = "goatzone"; - questRoot19.Author = list160; - num = 5; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - Span span66 = CollectionsMarshal.AsSpan(list161); - ref QuestSequence reference121 = ref span66[0]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041119u, new Vector3(135.85095f, -17.135998f, 567.8645f), 958) - { - Fly = true - }; - obj103.Steps = list162; - reference121 = obj103; - ref QuestSequence reference122 = ref span66[1]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - ref QuestStep reference123 = ref CollectionsMarshal.AsSpan(list163)[0]; - QuestStep obj105 = new QuestStep(EInteractionType.Interact, 1041121u, new Vector3(208.51453f, 4.706692f, 77.77527f), 958) - { - Fly = true - }; - num3 = 1; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - CollectionsMarshal.AsSpan(list164)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZC009_04218_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZC009_04218_A1_000_001") - }; - obj105.DialogueChoices = list164; - reference123 = obj105; - obj104.Steps = list163; - reference122 = obj104; - ref QuestSequence reference124 = ref span66[2]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.Emote, 2012474u, new Vector3(210.28455f, 5.355835f, 76.76807f), 958) - { - Emote = EEmote.Pray - }; - obj106.Steps = list165; - reference124 = obj106; - ref QuestSequence reference125 = ref span66[3]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.Interact, 1042180u, new Vector3(127.06189f, -13.29479f, 650.8429f), 958) - { - Fly = true - }; - obj107.Steps = list166; - reference125 = obj107; - ref QuestSequence reference126 = ref span66[4]; - QuestSequence obj108 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040898u, new Vector3(-433.12738f, 22.221891f, 460.80713f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - obj108.Steps = list167; - reference126 = obj108; - questRoot19.QuestSequence = list161; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(4219); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list168 = new List(num); - CollectionsMarshal.SetCount(list168, num); - CollectionsMarshal.AsSpan(list168)[0] = "goatzone"; - questRoot20.Author = list168; - num = 3; - List list169 = new List(num); - CollectionsMarshal.SetCount(list169, num); - Span span67 = CollectionsMarshal.AsSpan(list169); - ref QuestSequence reference127 = ref span67[0]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039381u, new Vector3(-437.7661f, 22.209024f, 431.937f), 958); - obj109.Steps = list170; - reference127 = obj109; - ref QuestSequence reference128 = ref span67[1]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - Span span68 = CollectionsMarshal.AsSpan(list171); - ref QuestStep reference129 = ref span68[0]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 1037733u, new Vector3(-375.14313f, 22f, 513.54236f), 958); - num3 = 6; - List list172 = new List(num3); - CollectionsMarshal.SetCount(list172, num3); - Span span69 = CollectionsMarshal.AsSpan(list172); - span69[0] = null; - span69[1] = null; - span69[2] = null; - span69[3] = null; - span69[4] = null; - span69[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list172; - reference129 = questStep19; - ref QuestStep reference130 = ref span68[1]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 1037747u, new Vector3(-314.25964f, 22.00559f, 430.47217f), 958); - num3 = 6; - List list173 = new List(num3); - CollectionsMarshal.SetCount(list173, num3); - Span span70 = CollectionsMarshal.AsSpan(list173); - span70[0] = null; - span70[1] = null; - span70[2] = null; - span70[3] = null; - span70[4] = null; - span70[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep20.CompletionQuestVariablesFlags = list173; - reference130 = questStep20; - ref QuestStep reference131 = ref span68[2]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1037728u, new Vector3(-369.52777f, 22.149097f, 391.95837f), 958); - num3 = 6; - List list174 = new List(num3); - CollectionsMarshal.SetCount(list174, num3); - Span span71 = CollectionsMarshal.AsSpan(list174); - span71[0] = null; - span71[1] = null; - span71[2] = null; - span71[3] = null; - span71[4] = null; - span71[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep21.CompletionQuestVariablesFlags = list174; - reference131 = questStep21; - obj110.Steps = list171; - reference128 = obj110; - ref QuestSequence reference132 = ref span67[2]; - QuestSequence obj111 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039381u, new Vector3(-437.7661f, 22.209024f, 431.937f), 958); - obj111.Steps = list175; - reference132 = obj111; - questRoot20.QuestSequence = list169; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(4220); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - CollectionsMarshal.AsSpan(list176)[0] = "goatzone"; - questRoot21.Author = list176; - num = 4; - List list177 = new List(num); - CollectionsMarshal.SetCount(list177, num); - Span span72 = CollectionsMarshal.AsSpan(list177); - ref QuestSequence reference133 = ref span72[0]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037728u, new Vector3(-369.52777f, 22.149097f, 391.95837f), 958); - obj112.Steps = list178; - reference133 = obj112; - ref QuestSequence reference134 = ref span72[1]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - CollectionsMarshal.AsSpan(list179)[0] = new QuestStep(EInteractionType.Snipe, 2012040u, new Vector3(-229.14478f, 20.035034f, 319.417f), 958) - { - Comment = "Zoom in between the buildings and wait a few seconds." - }; - obj113.Steps = list179; - reference134 = obj113; - ref QuestSequence reference135 = ref span72[2]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.Interact, 1039395u, new Vector3(83.84827f, 1.1234589f, 137.19385f), 958) - { - Fly = true - }; - obj114.Steps = list180; - reference135 = obj114; - ref QuestSequence reference136 = ref span72[3]; - QuestSequence obj115 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037728u, new Vector3(-369.52777f, 22.149097f, 391.95837f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - obj115.Steps = list181; - reference136 = obj115; - questRoot21.QuestSequence = list177; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(4221); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list182 = new List(num); - CollectionsMarshal.SetCount(list182, num); - CollectionsMarshal.AsSpan(list182)[0] = "goatzone"; - questRoot22.Author = list182; - num = 3; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - Span span73 = CollectionsMarshal.AsSpan(list183); - ref QuestSequence reference137 = ref span73[0]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - CollectionsMarshal.AsSpan(list184)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037733u, new Vector3(-375.14313f, 22f, 513.54236f), 958); - obj116.Steps = list184; - reference137 = obj116; - ref QuestSequence reference138 = ref span73[1]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - Span span74 = CollectionsMarshal.AsSpan(list185); - ref QuestStep reference139 = ref span74[0]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1039396u, new Vector3(-318.227f, 22.376268f, 449.45447f), 958); - num3 = 6; - List list186 = new List(num3); - CollectionsMarshal.SetCount(list186, num3); - Span span75 = CollectionsMarshal.AsSpan(list186); - span75[0] = null; - span75[1] = null; - span75[2] = null; - span75[3] = null; - span75[4] = null; - span75[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep22.CompletionQuestVariablesFlags = list186; - reference139 = questStep22; - ref QuestStep reference140 = ref span74[1]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1039397u, new Vector3(-317.76917f, 22f, 428.7937f), 958); - num3 = 6; - List list187 = new List(num3); - CollectionsMarshal.SetCount(list187, num3); - Span span76 = CollectionsMarshal.AsSpan(list187); - span76[0] = null; - span76[1] = null; - span76[2] = null; - span76[3] = null; - span76[4] = null; - span76[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list187; - reference140 = questStep23; - ref QuestStep reference141 = ref span74[2]; - QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 1039398u, new Vector3(-318.62366f, 22.943655f, 391.4701f), 958); - num3 = 6; - List list188 = new List(num3); - CollectionsMarshal.SetCount(list188, num3); - Span span77 = CollectionsMarshal.AsSpan(list188); - span77[0] = null; - span77[1] = null; - span77[2] = null; - span77[3] = null; - span77[4] = null; - span77[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep24.CompletionQuestVariablesFlags = list188; - reference141 = questStep24; - obj117.Steps = list185; - reference138 = obj117; - ref QuestSequence reference142 = ref span73[2]; - QuestSequence obj118 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037733u, new Vector3(-375.14313f, 22f, 513.54236f), 958); - obj118.Steps = list189; - reference142 = obj118; - questRoot22.QuestSequence = list183; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(4222); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list190 = new List(num); - CollectionsMarshal.SetCount(list190, num); - CollectionsMarshal.AsSpan(list190)[0] = "goatzone"; - questRoot23.Author = list190; - num = 5; - List list191 = new List(num); - CollectionsMarshal.SetCount(list191, num); - Span span78 = CollectionsMarshal.AsSpan(list191); - ref QuestSequence reference143 = ref span78[0]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037755u, new Vector3(-338.76556f, 22.462305f, 449.08826f), 958); - obj119.Steps = list192; - reference143 = obj119; - ref QuestSequence reference144 = ref span78[1]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - ref QuestStep reference145 = ref CollectionsMarshal.AsSpan(list193)[0]; - QuestStep obj121 = new QuestStep(EInteractionType.Combat, null, new Vector3(147.65237f, -18.974234f, 434.61954f), 958) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list194 = new List(num3); - CollectionsMarshal.SetCount(list194, num3); - Span span79 = CollectionsMarshal.AsSpan(list194); - span79[0] = 14105u; - span79[1] = 14106u; - obj121.KillEnemyDataIds = list194; - reference145 = obj121; - obj120.Steps = list193; - reference144 = obj120; - ref QuestSequence reference146 = ref span78[2]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.Interact, 1039388u, new Vector3(145.4032f, -18.974236f, 435.0193f), 958); - obj122.Steps = list195; - reference146 = obj122; - ref QuestSequence reference147 = ref span78[3]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.Interact, 1039387u, new Vector3(144.82336f, -18.974234f, 436.27063f), 958); - obj123.Steps = list196; - reference147 = obj123; - ref QuestSequence reference148 = ref span78[4]; - QuestSequence obj124 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037755u, new Vector3(-338.76556f, 22.462305f, 449.08826f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - obj124.Steps = list197; - reference148 = obj124; - questRoot23.QuestSequence = list191; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(4223); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list198 = new List(num); - CollectionsMarshal.SetCount(list198, num); - CollectionsMarshal.AsSpan(list198)[0] = "goatzone"; - questRoot24.Author = list198; - num = 3; - List list199 = new List(num); - CollectionsMarshal.SetCount(list199, num); - Span span80 = CollectionsMarshal.AsSpan(list199); - ref QuestSequence reference149 = ref span80[0]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037751u, new Vector3(-424.15503f, 22.196602f, 423.48352f), 958); - obj125.Steps = list200; - reference149 = obj125; - ref QuestSequence reference150 = ref span80[1]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - Span span81 = CollectionsMarshal.AsSpan(list201); - ref QuestStep reference151 = ref span81[0]; - QuestStep obj127 = new QuestStep(EInteractionType.UseItem, 2011969u, new Vector3(-371.26727f, 24.979004f, 151.20166f), 958) - { - Fly = true, - ItemId = 2003195u - }; - num3 = 6; - List list202 = new List(num3); - CollectionsMarshal.SetCount(list202, num3); - Span span82 = CollectionsMarshal.AsSpan(list202); - span82[0] = null; - span82[1] = null; - span82[2] = null; - span82[3] = null; - span82[4] = null; - span82[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj127.CompletionQuestVariablesFlags = list202; - reference151 = obj127; - ref QuestStep reference152 = ref span81[1]; - QuestStep obj128 = new QuestStep(EInteractionType.UseItem, 2011968u, new Vector3(-313.92395f, 21.805054f, 147.87512f), 958) - { - ItemId = 2003195u - }; - num3 = 6; - List list203 = new List(num3); - CollectionsMarshal.SetCount(list203, num3); - Span span83 = CollectionsMarshal.AsSpan(list203); - span83[0] = null; - span83[1] = null; - span83[2] = null; - span83[3] = null; - span83[4] = null; - span83[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj128.CompletionQuestVariablesFlags = list203; - reference152 = obj128; - ref QuestStep reference153 = ref span81[2]; - QuestStep obj129 = new QuestStep(EInteractionType.Combat, 2011970u, new Vector3(-375.29565f, 21.164185f, 99.47351f), 958) - { - ItemId = 2003195u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list204 = new List(num3); - CollectionsMarshal.SetCount(list204, num3); - CollectionsMarshal.AsSpan(list204)[0] = 14104u; - obj129.KillEnemyDataIds = list204; - num3 = 6; - List list205 = new List(num3); - CollectionsMarshal.SetCount(list205, num3); - Span span84 = CollectionsMarshal.AsSpan(list205); - span84[0] = null; - span84[1] = null; - span84[2] = null; - span84[3] = null; - span84[4] = null; - span84[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj129.CompletionQuestVariablesFlags = list205; - reference153 = obj129; - obj126.Steps = list201; - reference150 = obj126; - ref QuestSequence reference154 = ref span80[2]; - QuestSequence obj130 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037751u, new Vector3(-424.15503f, 22.196602f, 423.48352f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - obj130.Steps = list206; - reference154 = obj130; - questRoot24.QuestSequence = list199; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(4224); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - CollectionsMarshal.AsSpan(list207)[0] = "goatzone"; - questRoot25.Author = list207; - num = 4; - List list208 = new List(num); - CollectionsMarshal.SetCount(list208, num); - Span span85 = CollectionsMarshal.AsSpan(list208); - ref QuestSequence reference155 = ref span85[0]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037729u, new Vector3(-342.67188f, 22.377153f, 466.8496f), 958); - obj131.Steps = list209; - reference155 = obj131; - ref QuestSequence reference156 = ref span85[1]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - CollectionsMarshal.AsSpan(list210)[0] = new QuestStep(EInteractionType.Interact, 1039392u, new Vector3(-378.4085f, 22.105467f, 535.33215f), 958); - obj132.Steps = list210; - reference156 = obj132; - ref QuestSequence reference157 = ref span85[2]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - Span span86 = CollectionsMarshal.AsSpan(list211); - ref QuestStep reference158 = ref span86[0]; - QuestStep questStep25 = new QuestStep(EInteractionType.Interact, 1037731u, new Vector3(-356.80176f, 22f, 518.9745f), 958); - num3 = 6; - List list212 = new List(num3); - CollectionsMarshal.SetCount(list212, num3); - Span span87 = CollectionsMarshal.AsSpan(list212); - span87[0] = null; - span87[1] = null; - span87[2] = null; - span87[3] = null; - span87[4] = null; - span87[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep25.CompletionQuestVariablesFlags = list212; - reference158 = questStep25; - ref QuestStep reference159 = ref span86[1]; - QuestStep questStep26 = new QuestStep(EInteractionType.Interact, 1037754u, new Vector3(-431.29626f, 22.278519f, 437.6134f), 958); - num3 = 6; - List list213 = new List(num3); - CollectionsMarshal.SetCount(list213, num3); - Span span88 = CollectionsMarshal.AsSpan(list213); - span88[0] = null; - span88[1] = null; - span88[2] = null; - span88[3] = null; - span88[4] = null; - span88[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep26.CompletionQuestVariablesFlags = list213; - reference159 = questStep26; - ref QuestStep reference160 = ref span86[2]; - QuestStep questStep27 = new QuestStep(EInteractionType.Interact, 1039393u, new Vector3(-415.9762f, 21.392963f, 384.9087f), 958); - num3 = 6; - List list214 = new List(num3); - CollectionsMarshal.SetCount(list214, num3); - Span span89 = CollectionsMarshal.AsSpan(list214); - span89[0] = null; - span89[1] = null; - span89[2] = null; - span89[3] = null; - span89[4] = null; - span89[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep27.CompletionQuestVariablesFlags = list214; - reference160 = questStep27; - ref QuestStep reference161 = ref span86[3]; - QuestStep questStep28 = new QuestStep(EInteractionType.Interact, 1039392u, new Vector3(-378.4085f, 22.105467f, 535.33215f), 958); - num3 = 1; - List list215 = new List(num3); - CollectionsMarshal.SetCount(list215, num3); - CollectionsMarshal.AsSpan(list215)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZC015_04224_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZC015_04224_A1_000_000") - }; - questStep28.DialogueChoices = list215; - reference161 = questStep28; - obj133.Steps = list211; - reference157 = obj133; - ref QuestSequence reference162 = ref span85[3]; - QuestSequence obj134 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - CollectionsMarshal.AsSpan(list216)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037729u, new Vector3(-342.67188f, 22.377153f, 466.8496f), 958); - obj134.Steps = list216; - reference162 = obj134; - questRoot25.QuestSequence = list208; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(4225); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list217 = new List(num); - CollectionsMarshal.SetCount(list217, num); - CollectionsMarshal.AsSpan(list217)[0] = "goatzone"; - questRoot26.Author = list217; - num = 3; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - Span span90 = CollectionsMarshal.AsSpan(list218); - ref QuestSequence reference163 = ref span90[0]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - CollectionsMarshal.AsSpan(list219)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037767u, new Vector3(545.2506f, -36.61618f, -252.12488f), 958); - obj135.Steps = list219; - reference163 = obj135; - ref QuestSequence reference164 = ref span90[1]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - Span span91 = CollectionsMarshal.AsSpan(list220); - span91[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(541.0247f, -36.65f, -244.85428f), 958); - ref QuestStep reference165 = ref span91[1]; - QuestStep obj137 = new QuestStep(EInteractionType.Interact, 2011973u, new Vector3(370.5653f, 10.788086f, -450.6447f), 958) - { - Fly = true - }; - num3 = 6; - List list221 = new List(num3); - CollectionsMarshal.SetCount(list221, num3); - Span span92 = CollectionsMarshal.AsSpan(list221); - span92[0] = null; - span92[1] = null; - span92[2] = null; - span92[3] = null; - span92[4] = null; - span92[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj137.CompletionQuestVariablesFlags = list221; - num3 = 1; - List list222 = new List(num3); - CollectionsMarshal.SetCount(list222, num3); - CollectionsMarshal.AsSpan(list222)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKZD001_04225_Q1_000_000") - }; - obj137.DialogueChoices = list222; - reference165 = obj137; - ref QuestStep reference166 = ref span91[2]; - QuestStep questStep29 = new QuestStep(EInteractionType.Interact, 2011974u, new Vector3(282.39868f, 10.788086f, -323.07928f), 958); - num3 = 6; - List list223 = new List(num3); - CollectionsMarshal.SetCount(list223, num3); - Span span93 = CollectionsMarshal.AsSpan(list223); - span93[0] = null; - span93[1] = null; - span93[2] = null; - span93[3] = null; - span93[4] = null; - span93[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep29.CompletionQuestVariablesFlags = list223; - num3 = 1; - List list224 = new List(num3); - CollectionsMarshal.SetCount(list224, num3); - CollectionsMarshal.AsSpan(list224)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKZD001_04225_Q2_000_000") - }; - questStep29.DialogueChoices = list224; - reference166 = questStep29; - ref QuestStep reference167 = ref span91[3]; - QuestStep questStep30 = new QuestStep(EInteractionType.Interact, 2011972u, new Vector3(241.19922f, 11.673096f, -292.98853f), 958); - num3 = 6; - List list225 = new List(num3); - CollectionsMarshal.SetCount(list225, num3); - Span span94 = CollectionsMarshal.AsSpan(list225); - span94[0] = null; - span94[1] = null; - span94[2] = null; - span94[3] = null; - span94[4] = null; - span94[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep30.CompletionQuestVariablesFlags = list225; - reference167 = questStep30; - obj136.Steps = list220; - reference164 = obj136; - ref QuestSequence reference168 = ref span90[2]; - QuestSequence obj138 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - CollectionsMarshal.AsSpan(list226)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037767u, new Vector3(545.2506f, -36.61618f, -252.12488f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldTertium - }; - obj138.Steps = list226; - reference168 = obj138; - questRoot26.QuestSequence = list218; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(4226); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list227 = new List(num); - CollectionsMarshal.SetCount(list227, num); - CollectionsMarshal.AsSpan(list227)[0] = "goatzone"; - questRoot27.Author = list227; - num = 3; - List list228 = new List(num); - CollectionsMarshal.SetCount(list228, num); - Span span95 = CollectionsMarshal.AsSpan(list228); - ref QuestSequence reference169 = ref span95[0]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039399u, new Vector3(556.4812f, -40.250004f, -133.04346f), 958); - obj139.Steps = list229; - reference169 = obj139; - ref QuestSequence reference170 = ref span95[1]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - ref QuestStep reference171 = ref CollectionsMarshal.AsSpan(list230)[0]; - QuestStep obj141 = new QuestStep(EInteractionType.Combat, null, new Vector3(-159.59418f, 10.8f, -468.8335f), 958) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list231 = new List(num3); - CollectionsMarshal.SetCount(list231, num3); - CollectionsMarshal.AsSpan(list231)[0] = 13468u; - obj141.KillEnemyDataIds = list231; - obj141.CombatItemUse = new CombatItemUse - { - ItemId = 2003202u, - Condition = ECombatItemUseCondition.HealthPercent, - Value = 40 - }; - reference171 = obj141; - obj140.Steps = list230; - reference170 = obj140; - ref QuestSequence reference172 = ref span95[2]; - QuestSequence obj142 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039399u, new Vector3(556.4812f, -40.250004f, -133.04346f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldTertium - }; - obj142.Steps = list232; - reference172 = obj142; - questRoot27.QuestSequence = list228; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(4227); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list233 = new List(num); - CollectionsMarshal.SetCount(list233, num); - CollectionsMarshal.AsSpan(list233)[0] = "goatzone"; - questRoot28.Author = list233; - num = 3; - List list234 = new List(num); - CollectionsMarshal.SetCount(list234, num); - Span span96 = CollectionsMarshal.AsSpan(list234); - ref QuestSequence reference173 = ref span96[0]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037782u, new Vector3(545.2506f, -36.61608f, -230.24347f), 958); - obj143.Steps = list235; - reference173 = obj143; - ref QuestSequence reference174 = ref span96[1]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - Span span97 = CollectionsMarshal.AsSpan(list236); - span97[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(539.7576f, -36.65f, -237.16893f), 958); - ref QuestStep reference175 = ref span97[1]; - QuestStep obj145 = new QuestStep(EInteractionType.Interact, 2012049u, new Vector3(301.86914f, 10.788086f, -540.79504f), 958) - { - Fly = true - }; - num3 = 6; - List list237 = new List(num3); - CollectionsMarshal.SetCount(list237, num3); - Span span98 = CollectionsMarshal.AsSpan(list237); - span98[0] = null; - span98[1] = null; - span98[2] = null; - span98[3] = null; - span98[4] = null; - span98[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj145.CompletionQuestVariablesFlags = list237; - reference175 = obj145; - span97[2] = new QuestStep(EInteractionType.Interact, 2012050u, new Vector3(295.49097f, 11.306824f, -500.26703f), 958); - obj144.Steps = list236; - reference174 = obj144; - ref QuestSequence reference176 = ref span96[2]; - QuestSequence obj146 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037782u, new Vector3(545.2506f, -36.61608f, -230.24347f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldTertium - }; - obj146.Steps = list238; - reference176 = obj146; - questRoot28.QuestSequence = list234; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(4228); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list239 = new List(num); - CollectionsMarshal.SetCount(list239, num); - CollectionsMarshal.AsSpan(list239)[0] = "goatzone"; - questRoot29.Author = list239; - num = 3; - List list240 = new List(num); - CollectionsMarshal.SetCount(list240, num); - Span span99 = CollectionsMarshal.AsSpan(list240); - ref QuestSequence reference177 = ref span99[0]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041911u, new Vector3(508.8424f, -3.8202174f, -352.71234f), 958); - obj147.Steps = list241; - reference177 = obj147; - ref QuestSequence reference178 = ref span99[1]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - ref QuestStep reference179 = ref CollectionsMarshal.AsSpan(list242)[0]; - QuestStep questStep31 = new QuestStep(EInteractionType.Interact, 1040659u, new Vector3(514.5189f, -36.65f, -156.9696f), 958); - num3 = 1; - List list243 = new List(num3); - CollectionsMarshal.SetCount(list243, num3); - CollectionsMarshal.AsSpan(list243)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZD004_04228_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZD004_04228_A1_000_002") - }; - questStep31.DialogueChoices = list243; - reference179 = questStep31; - obj148.Steps = list242; - reference178 = obj148; - ref QuestSequence reference180 = ref span99[2]; - QuestSequence obj149 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037771u, new Vector3(524.28467f, -19.820217f, -298.81744f), 958); - obj149.Steps = list244; - reference180 = obj149; - questRoot29.QuestSequence = list240; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(4229); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list245 = new List(num); - CollectionsMarshal.SetCount(list245, num); - CollectionsMarshal.AsSpan(list245)[0] = "goatzone"; - questRoot30.Author = list245; - num = 3; - List list246 = new List(num); - CollectionsMarshal.SetCount(list246, num); - Span span100 = CollectionsMarshal.AsSpan(list246); - ref QuestSequence reference181 = ref span100[0]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037779u, new Vector3(513.7865f, -36.65f, -135.91211f), 958); - obj150.Steps = list247; - reference181 = obj150; - ref QuestSequence reference182 = ref span100[1]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - Span span101 = CollectionsMarshal.AsSpan(list248); - ref QuestStep reference183 = ref span101[0]; - QuestStep obj152 = new QuestStep(EInteractionType.Combat, 1039400u, new Vector3(364.76685f, 10.8f, -308.03394f), 958) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list249 = new List(num3); - CollectionsMarshal.SetCount(list249, num3); - CollectionsMarshal.AsSpan(list249)[0] = 14103u; - obj152.KillEnemyDataIds = list249; - num3 = 6; - List list250 = new List(num3); - CollectionsMarshal.SetCount(list250, num3); - Span span102 = CollectionsMarshal.AsSpan(list250); - span102[0] = null; - span102[1] = null; - span102[2] = null; - span102[3] = null; - span102[4] = null; - span102[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj152.CompletionQuestVariablesFlags = list250; - reference183 = obj152; - ref QuestStep reference184 = ref span101[1]; - QuestStep questStep32 = new QuestStep(EInteractionType.Interact, 1040627u, new Vector3(282.00195f, 11.327993f, -365.8656f), 958); - num3 = 6; - List list251 = new List(num3); - CollectionsMarshal.SetCount(list251, num3); - Span span103 = CollectionsMarshal.AsSpan(list251); - span103[0] = null; - span103[1] = null; - span103[2] = null; - span103[3] = null; - span103[4] = null; - span103[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep32.CompletionQuestVariablesFlags = list251; - reference184 = questStep32; - ref QuestStep reference185 = ref span101[2]; - QuestStep obj153 = new QuestStep(EInteractionType.Interact, 1040626u, new Vector3(296.4065f, 10.799999f, -387.9912f), 958) - { - Mount = true - }; - num3 = 6; - List list252 = new List(num3); - CollectionsMarshal.SetCount(list252, num3); - Span span104 = CollectionsMarshal.AsSpan(list252); - span104[0] = null; - span104[1] = null; - span104[2] = null; - span104[3] = null; - span104[4] = null; - span104[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj153.CompletionQuestVariablesFlags = list252; - reference185 = obj153; - ref QuestStep reference186 = ref span101[3]; - QuestStep questStep33 = new QuestStep(EInteractionType.Interact, 1040628u, new Vector3(260.8224f, 10.849999f, -456.32104f), 958); - num3 = 6; - List list253 = new List(num3); - CollectionsMarshal.SetCount(list253, num3); - Span span105 = CollectionsMarshal.AsSpan(list253); - span105[0] = null; - span105[1] = null; - span105[2] = null; - span105[3] = null; - span105[4] = null; - span105[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep33.CompletionQuestVariablesFlags = list253; - reference186 = questStep33; - obj151.Steps = list248; - reference182 = obj151; - ref QuestSequence reference187 = ref span100[2]; - QuestSequence obj154 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037779u, new Vector3(513.7865f, -36.65f, -135.91211f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldTertium - }; - obj154.Steps = list254; - reference187 = obj154; - questRoot30.QuestSequence = list246; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(4230); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list255 = new List(num); - CollectionsMarshal.SetCount(list255, num); - CollectionsMarshal.AsSpan(list255)[0] = "goatzone"; - questRoot31.Author = list255; - num = 4; - List list256 = new List(num); - CollectionsMarshal.SetCount(list256, num); - Span span106 = CollectionsMarshal.AsSpan(list256); - ref QuestSequence reference188 = ref span106[0]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040645u, new Vector3(485.2522f, 10.800001f, -456.32104f), 958) - { - Fly = true - }; - obj155.Steps = list257; - reference188 = obj155; - ref QuestSequence reference189 = ref span106[1]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - Span span107 = CollectionsMarshal.AsSpan(list258); - span107[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-340.87164f, 10.803238f, -694.511f), 958) - { - Fly = true - }; - ref QuestStep reference190 = ref span107[1]; - QuestStep obj157 = new QuestStep(EInteractionType.Combat, null, new Vector3(-310.5188f, 10.813947f, -720.8323f), 958) - { - Fly = false, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list259 = new List(num3); - CollectionsMarshal.SetCount(list259, num3); - CollectionsMarshal.AsSpan(list259)[0] = 14102u; - obj157.KillEnemyDataIds = list259; - reference190 = obj157; - span107[2] = new QuestStep(EInteractionType.UseItem, 14102u, new Vector3(-313.222f, 10.821807f, -720.4852f), 958) - { - ItemId = 2003208u - }; - obj156.Steps = list258; - reference189 = obj156; - ref QuestSequence reference191 = ref span106[2]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.Interact, 1040629u, new Vector3(-310.47534f, 10.815676f, -720.2411f), 958); - obj158.Steps = list260; - reference191 = obj158; - ref QuestSequence reference192 = ref span106[3]; - QuestSequence obj159 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040645u, new Vector3(485.2522f, 10.800001f, -456.32104f), 958) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.GarlemaldTertium - }; - obj159.Steps = list261; - reference192 = obj159; - questRoot31.QuestSequence = list256; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(4231); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list262 = new List(num); - CollectionsMarshal.SetCount(list262, num); - CollectionsMarshal.AsSpan(list262)[0] = "goatzone"; - questRoot32.Author = list262; - num = 3; - List list263 = new List(num); - CollectionsMarshal.SetCount(list263, num); - Span span108 = CollectionsMarshal.AsSpan(list263); - ref QuestSequence reference193 = ref span108[0]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - ref QuestStep reference194 = ref CollectionsMarshal.AsSpan(list264)[0]; - QuestStep questStep34 = new QuestStep(EInteractionType.AcceptQuest, 1040646u, new Vector3(503.9292f, -36.65f, -253.07086f), 958); - num3 = 1; - List list265 = new List(num3); - CollectionsMarshal.SetCount(list265, num3); - CollectionsMarshal.AsSpan(list265)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZD007_04231_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZD007_04231_A1_000_001") - }; - questStep34.DialogueChoices = list265; - reference194 = questStep34; - obj160.Steps = list264; - reference193 = obj160; - ref QuestSequence reference195 = ref span108[1]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - Span span109 = CollectionsMarshal.AsSpan(list266); - ref QuestStep reference196 = ref span109[0]; - QuestStep questStep35 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(545.40717f, -36.616177f, -267.17505f), 958); - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 6; - List list267 = new List(num3); - CollectionsMarshal.SetCount(list267, num3); - Span span110 = CollectionsMarshal.AsSpan(list267); - span110[0] = null; - span110[1] = null; - span110[2] = null; - span110[3] = null; - span110[4] = null; - span110[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions6.CompletionQuestVariablesFlags = list267; - skipConditions6.StepIf = skipStepConditions6; - questStep35.SkipConditions = skipConditions6; - reference196 = questStep35; - ref QuestStep reference197 = ref span109[1]; - QuestStep questStep36 = new QuestStep(EInteractionType.Interact, 1037766u, new Vector3(545.3115f, -36.616177f, -265.00348f), 958); - num3 = 6; - List list268 = new List(num3); - CollectionsMarshal.SetCount(list268, num3); - Span span111 = CollectionsMarshal.AsSpan(list268); - span111[0] = null; - span111[1] = null; - span111[2] = null; - span111[3] = null; - span111[4] = null; - span111[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep36.CompletionQuestVariablesFlags = list268; - reference197 = questStep36; - ref QuestStep reference198 = ref span109[2]; - QuestStep questStep37 = new QuestStep(EInteractionType.Interact, 1037774u, new Vector3(518.181f, -36.65f, -212.14618f), 958); - num3 = 6; - List list269 = new List(num3); - CollectionsMarshal.SetCount(list269, num3); - Span span112 = CollectionsMarshal.AsSpan(list269); - span112[0] = null; - span112[1] = null; - span112[2] = null; - span112[3] = null; - span112[4] = null; - span112[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep37.CompletionQuestVariablesFlags = list269; - num3 = 1; - List list270 = new List(num3); - CollectionsMarshal.SetCount(list270, num3); - CollectionsMarshal.AsSpan(list270)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZD007_04231_Q2_000_100"), - Answer = new ExcelRef("TEXT_AKTKZD007_04231_A2_000_102") - }; - questStep37.DialogueChoices = list270; - reference198 = questStep37; - ref QuestStep reference199 = ref span109[3]; - QuestStep questStep38 = new QuestStep(EInteractionType.Interact, 1040632u, new Vector3(537.4684f, -36.65f, -175.21942f), 958); - num3 = 6; - List list271 = new List(num3); - CollectionsMarshal.SetCount(list271, num3); - Span span113 = CollectionsMarshal.AsSpan(list271); - span113[0] = null; - span113[1] = null; - span113[2] = null; - span113[3] = null; - span113[4] = null; - span113[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep38.CompletionQuestVariablesFlags = list271; - reference199 = questStep38; - obj161.Steps = list266; - reference195 = obj161; - ref QuestSequence reference200 = ref span108[2]; - QuestSequence obj162 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - CollectionsMarshal.AsSpan(list272)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040646u, new Vector3(503.9292f, -36.65f, -253.07086f), 958); - obj162.Steps = list272; - reference200 = obj162; - questRoot32.QuestSequence = list263; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(4232); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list273 = new List(num); - CollectionsMarshal.SetCount(list273, num); - CollectionsMarshal.AsSpan(list273)[0] = "liza"; - questRoot33.Author = list273; - num = 6; - List list274 = new List(num); - CollectionsMarshal.SetCount(list274, num); - Span span114 = CollectionsMarshal.AsSpan(list274); - ref QuestSequence reference201 = ref span114[0]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040633u, new Vector3(496.94043f, 10.887661f, -418.57025f), 958); - obj163.Steps = list275; - reference201 = obj163; - ref QuestSequence reference202 = ref span114[1]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - CollectionsMarshal.AsSpan(list276)[0] = new QuestStep(EInteractionType.Interact, 1040634u, new Vector3(190.26465f, 10.5f, -630.2129f), 958); - obj164.Steps = list276; - reference202 = obj164; - ref QuestSequence reference203 = ref span114[2]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 2 - }; - num2 = 15; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - Span span115 = CollectionsMarshal.AsSpan(list277); - ref QuestStep reference204 = ref span115[0]; - QuestStep questStep39 = new QuestStep(EInteractionType.Interact, 2012377u, new Vector3(189.10498f, 10.482849f, -668.9708f), 958); - num3 = 1; - List list278 = new List(num3); - CollectionsMarshal.SetCount(list278, num3); - CollectionsMarshal.AsSpan(list278)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKZD008_04232_SYSTEM04232_Q1_000_001") - }; - questStep39.DialogueChoices = list278; - reference204 = questStep39; - span115[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1040635u, new Vector3(148.87286f, 10.5f, -674.6158f), 958) - { - StopDistance = 50f, - NpcWaitDistance = 3f - }; - span115[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(129.07327f, 10.499999f, -675.6929f), 958); - span115[3] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1040635u, new Vector3(100.27427f, 10.5f, -668.4484f), 958) - { - StopDistance = 50f, - NpcWaitDistance = 3f - }; - span115[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(121.80121f, 10.5f, -668.12524f), 958) - { - Mount = false, - Sprint = false - }; - span115[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(88.11899f, 10.8f, -647.2713f), 958) - { - Mount = false, - Sprint = false - }; - span115[6] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1040635u, new Vector3(55.128044f, 10.799999f, -632.78925f), 958) - { - StopDistance = 50f, - NpcWaitDistance = 3f, - Mount = false, - Sprint = false - }; - span115[7] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(68.38609f, 10.799999f, -630.82086f), 958) - { - Mount = false, - Sprint = false - }; - span115[8] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1040635u, new Vector3(42.153065f, 10.8f, -625.0765f), 958) - { - StopDistance = 50f, - NpcWaitDistance = 3f, - Mount = false, - Sprint = false - }; - span115[9] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(72.18486f, 10.799999f, -617.59485f), 958) - { - Mount = false, - Sprint = false - }; - span115[10] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1040635u, new Vector3(60.43399f, 10.799999f, -600.4008f), 958) - { - StopDistance = 50f, - NpcWaitDistance = 3f, - Mount = false, - Sprint = false - }; - span115[11] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1040635u, new Vector3(55.30184f, 10.8f, -598.927f), 958) - { - StopDistance = 50f, - NpcWaitDistance = 3f, - Mount = false, - Sprint = false - }; - span115[12] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(43.088688f, 10.8f, -617.3753f), 958) - { - DelaySecondsAtStart = 8f, - Mount = false, - Sprint = false - }; - span115[13] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1040635u, new Vector3(21.752983f, 10.5f, -589.2936f), 958) - { - StopDistance = 50f, - Mount = false, - Sprint = false - }; - span115[14] = new QuestStep(EInteractionType.WalkTo, 1040636u, new Vector3(21.744019f, 10.5f, -589.3187f), 958) - { - StopDistance = 4f, - DelaySecondsAtStart = 5f, - Mount = false, - Sprint = false, - RestartNavigationIfCancelled = false - }; - obj165.Steps = list277; - reference203 = obj165; - ref QuestSequence reference205 = ref span114[3]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - ref QuestStep reference206 = ref CollectionsMarshal.AsSpan(list279)[0]; - QuestStep obj167 = new QuestStep(EInteractionType.Combat, null, new Vector3(-18.56067f, 10.5f, -530.3922f), 958) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list280 = new List(num3); - CollectionsMarshal.SetCount(list280, num3); - CollectionsMarshal.AsSpan(list280)[0] = 14101u; - obj167.KillEnemyDataIds = list280; - reference206 = obj167; - obj166.Steps = list279; - reference205 = obj166; - ref QuestSequence reference207 = ref span114[4]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - ref QuestStep reference208 = ref CollectionsMarshal.AsSpan(list281)[0]; - QuestStep obj169 = new QuestStep(EInteractionType.Interact, 1040637u, new Vector3(-16.525574f, 10.5f, -532.15845f), 958) - { - StopDistance = 7f - }; - num3 = 1; - List list282 = new List(num3); - CollectionsMarshal.SetCount(list282, num3); - CollectionsMarshal.AsSpan(list282)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZD008_04232_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZD008_04232_A1_000_002") - }; - obj169.DialogueChoices = list282; - reference208 = obj169; - obj168.Steps = list281; - reference207 = obj168; - ref QuestSequence reference209 = ref span114[5]; - QuestSequence obj170 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040633u, new Vector3(496.94043f, 10.887661f, -418.57025f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldTertium - }; - obj170.Steps = list283; - reference209 = obj170; - questRoot33.QuestSequence = list274; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(4233); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list284 = new List(num); - CollectionsMarshal.SetCount(list284, num); - CollectionsMarshal.AsSpan(list284)[0] = "goatzone"; - questRoot34.Author = list284; - num = 4; - List list285 = new List(num); - CollectionsMarshal.SetCount(list285, num); - Span span116 = CollectionsMarshal.AsSpan(list285); - ref QuestSequence reference210 = ref span116[0]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - CollectionsMarshal.AsSpan(list286)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037722u, new Vector3(-308.0949f, 22f, 415.3047f), 958); - obj171.Steps = list286; - reference210 = obj171; - ref QuestSequence reference211 = ref span116[1]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - CollectionsMarshal.AsSpan(list287)[0] = new QuestStep(EInteractionType.Emote, 1039353u, new Vector3(-308.00336f, 22f, 413.80933f), 958) - { - Emote = EEmote.Soothe - }; - obj172.Steps = list287; - reference211 = obj172; - ref QuestSequence reference212 = ref span116[2]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 2 - }; - num2 = 6; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - Span span117 = CollectionsMarshal.AsSpan(list288); - span117[0] = new QuestStep(EInteractionType.Interact, 1039353u, new Vector3(-308.00336f, 22f, 413.80933f), 958); - span117[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1039353u, new Vector3(-310.48834f, 24.947939f, 377.09357f), 958) - { - NpcWaitDistance = 1f, - Mount = false, - Sprint = false - }; - span117[2] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1039353u, new Vector3(-351.1446f, 7.736393f, 303.24872f), 958) - { - NpcWaitDistance = 1f, - Mount = false, - Sprint = false - }; - span117[3] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1039353u, new Vector3(-334.03958f, 19.434929f, 175.00089f), 958) - { - NpcWaitDistance = 1f, - Mount = false, - Sprint = false - }; - span117[4] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1039353u, new Vector3(-321.72916f, 18.139357f, 98.16852f), 958) - { - NpcWaitDistance = 1f, - Mount = false, - Sprint = false - }; - span117[5] = new QuestStep(EInteractionType.Interact, 1039355u, new Vector3(-319.4171f, 8.981749f, -9.475891f), 958) - { - Mount = false, - Sprint = false - }; - obj173.Steps = list288; - reference212 = obj173; - ref QuestSequence reference213 = ref span116[3]; - QuestSequence obj174 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037722u, new Vector3(-308.0949f, 22f, 415.3047f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - obj174.Steps = list289; - reference213 = obj174; - questRoot34.QuestSequence = list285; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(4234); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list290 = new List(num); - CollectionsMarshal.SetCount(list290, num); - CollectionsMarshal.AsSpan(list290)[0] = "goatzone"; - questRoot35.Author = list290; - num = 5; - List list291 = new List(num); - CollectionsMarshal.SetCount(list291, num); - Span span118 = CollectionsMarshal.AsSpan(list291); - ref QuestSequence reference214 = ref span118[0]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - CollectionsMarshal.AsSpan(list292)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039358u, new Vector3(-321.43134f, 22.377153f, 473.167f), 958); - obj175.Steps = list292; - reference214 = obj175; - ref QuestSequence reference215 = ref span118[1]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - CollectionsMarshal.AsSpan(list293)[0] = new QuestStep(EInteractionType.Interact, 1039359u, new Vector3(486.71704f, 11.195138f, -299.36682f), 958) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.GarlemaldTertium - }; - obj176.Steps = list293; - reference215 = obj176; - ref QuestSequence reference216 = ref span118[2]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - CollectionsMarshal.AsSpan(list294)[0] = new QuestStep(EInteractionType.Snipe, 2011849u, new Vector3(486.04553f, 11.154297f, -296.37604f), 958) - { - Comment = "Snipe Magitek Colossi" - }; - obj177.Steps = list294; - reference216 = obj177; - ref QuestSequence reference217 = ref span118[3]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - CollectionsMarshal.AsSpan(list295)[0] = new QuestStep(EInteractionType.Interact, 1039359u, new Vector3(486.71704f, 11.195138f, -299.36682f), 958); - obj178.Steps = list295; - reference217 = obj178; - ref QuestSequence reference218 = ref span118[4]; - QuestSequence obj179 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - CollectionsMarshal.AsSpan(list296)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037729u, new Vector3(-342.67188f, 22.377153f, 466.8496f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - obj179.Steps = list296; - reference218 = obj179; - questRoot35.QuestSequence = list291; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(4235); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list297 = new List(num); - CollectionsMarshal.SetCount(list297, num); - CollectionsMarshal.AsSpan(list297)[0] = "goatzone"; - questRoot36.Author = list297; - num = 6; - List list298 = new List(num); - CollectionsMarshal.SetCount(list298, num); - Span span119 = CollectionsMarshal.AsSpan(list298); - ref QuestSequence reference219 = ref span119[0]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - CollectionsMarshal.AsSpan(list299)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037751u, new Vector3(-424.15503f, 22.196602f, 423.48352f), 958); - obj180.Steps = list299; - reference219 = obj180; - ref QuestSequence reference220 = ref span119[1]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - CollectionsMarshal.AsSpan(list300)[0] = new QuestStep(EInteractionType.Interact, 1040663u, new Vector3(-318.10486f, 23.722221f, 353.93298f), 958); - obj181.Steps = list300; - reference220 = obj181; - ref QuestSequence reference221 = ref span119[2]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - CollectionsMarshal.AsSpan(list301)[0] = new QuestStep(EInteractionType.Interact, 1040664u, new Vector3(382.22327f, 10.762111f, -713.3135f), 958) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.GarlemaldTertium - }; - obj182.Steps = list301; - reference221 = obj182; - ref QuestSequence reference222 = ref span119[3]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list302 = new List(num2); - CollectionsMarshal.SetCount(list302, num2); - Span span120 = CollectionsMarshal.AsSpan(list302); - ref QuestStep reference223 = ref span120[0]; - QuestStep obj184 = new QuestStep(EInteractionType.UseItem, 2012052u, new Vector3(383.84058f, 11.48999f, -711.1162f), 958) - { - ItemId = 2003210u - }; - num3 = 6; - List list303 = new List(num3); - CollectionsMarshal.SetCount(list303, num3); - Span span121 = CollectionsMarshal.AsSpan(list303); - span121[0] = null; - span121[1] = null; - span121[2] = null; - span121[3] = null; - span121[4] = null; - span121[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj184.CompletionQuestVariablesFlags = list303; - reference223 = obj184; - ref QuestStep reference224 = ref span120[1]; - QuestStep obj185 = new QuestStep(EInteractionType.UseItem, 2012051u, new Vector3(383.5354f, 11.306824f, -708.03394f), 958) - { - ItemId = 2003210u - }; - num3 = 6; - List list304 = new List(num3); - CollectionsMarshal.SetCount(list304, num3); - Span span122 = CollectionsMarshal.AsSpan(list304); - span122[0] = null; - span122[1] = null; - span122[2] = null; - span122[3] = null; - span122[4] = null; - span122[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj185.CompletionQuestVariablesFlags = list304; - reference224 = obj185; - obj183.Steps = list302; - reference222 = obj183; - ref QuestSequence reference225 = ref span119[4]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - ref QuestStep reference226 = ref CollectionsMarshal.AsSpan(list305)[0]; - QuestStep questStep40 = new QuestStep(EInteractionType.Interact, 1040664u, new Vector3(382.22327f, 10.762111f, -713.3135f), 958); - num3 = 1; - List list306 = new List(num3); - CollectionsMarshal.SetCount(list306, num3); - CollectionsMarshal.AsSpan(list306)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZD011_04235_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZD011_04235_A1_000_001") - }; - questStep40.DialogueChoices = list306; - reference226 = questStep40; - obj186.Steps = list305; - reference225 = obj186; - ref QuestSequence reference227 = ref span119[5]; - QuestSequence obj187 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list307 = new List(num2); - CollectionsMarshal.SetCount(list307, num2); - CollectionsMarshal.AsSpan(list307)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037751u, new Vector3(-424.15503f, 22.196602f, 423.48352f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - obj187.Steps = list307; - reference227 = obj187; - questRoot36.QuestSequence = list298; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(4236); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list308 = new List(num); - CollectionsMarshal.SetCount(list308, num); - CollectionsMarshal.AsSpan(list308)[0] = "goatzone"; - questRoot37.Author = list308; - num = 6; - List list309 = new List(num); - CollectionsMarshal.SetCount(list309, num); - Span span123 = CollectionsMarshal.AsSpan(list309); - ref QuestSequence reference228 = ref span123[0]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - CollectionsMarshal.AsSpan(list310)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037741u, new Vector3(-434.50067f, 22.00912f, 470.32874f), 958); - obj188.Steps = list310; - reference228 = obj188; - ref QuestSequence reference229 = ref span123[1]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list311 = new List(num2); - CollectionsMarshal.SetCount(list311, num2); - CollectionsMarshal.AsSpan(list311)[0] = new QuestStep(EInteractionType.Interact, 1040666u, new Vector3(-294.20923f, 21.732546f, 485.67932f), 958) - { - Fly = true - }; - obj189.Steps = list311; - reference229 = obj189; - ref QuestSequence reference230 = ref span123[2]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - CollectionsMarshal.AsSpan(list312)[0] = new QuestStep(EInteractionType.Interact, 1040667u, new Vector3(323.26233f, -9.523699f, 251.88062f), 958) - { - Fly = true - }; - obj190.Steps = list312; - reference230 = obj190; - ref QuestSequence reference231 = ref span123[3]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list313 = new List(num2); - CollectionsMarshal.SetCount(list313, num2); - Span span124 = CollectionsMarshal.AsSpan(list313); - span124[0] = new QuestStep(EInteractionType.Interact, 2012053u, new Vector3(313.6797f, -11.978394f, 279.74353f), 958); - ref QuestStep reference232 = ref span124[1]; - QuestStep obj192 = new QuestStep(EInteractionType.Combat, 14100u, new Vector3(302.5399f, -12.244642f, 304.46622f), 958) - { - ItemId = 2003211u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list314 = new List(num3); - CollectionsMarshal.SetCount(list314, num3); - CollectionsMarshal.AsSpan(list314)[0] = 14100u; - obj192.KillEnemyDataIds = list314; - reference232 = obj192; - obj191.Steps = list313; - reference231 = obj191; - ref QuestSequence reference233 = ref span123[4]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - CollectionsMarshal.AsSpan(list315)[0] = new QuestStep(EInteractionType.Interact, 1040667u, new Vector3(323.26233f, -9.523699f, 251.88062f), 958) - { - Fly = false - }; - obj193.Steps = list315; - reference233 = obj193; - ref QuestSequence reference234 = ref span123[5]; - QuestSequence obj194 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - CollectionsMarshal.AsSpan(list316)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037741u, new Vector3(-434.50067f, 22.00912f, 470.32874f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - obj194.Steps = list316; - reference234 = obj194; - questRoot37.QuestSequence = list309; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(4237); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list317 = new List(num); - CollectionsMarshal.SetCount(list317, num); - CollectionsMarshal.AsSpan(list317)[0] = "goatzone"; - questRoot38.Author = list317; - num = 3; - List list318 = new List(num); - CollectionsMarshal.SetCount(list318, num); - Span span125 = CollectionsMarshal.AsSpan(list318); - ref QuestSequence reference235 = ref span125[0]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list319 = new List(num2); - CollectionsMarshal.SetCount(list319, num2); - CollectionsMarshal.AsSpan(list319)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037747u, new Vector3(-314.25964f, 22.00559f, 430.47217f), 958); - obj195.Steps = list319; - reference235 = obj195; - ref QuestSequence reference236 = ref span125[1]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 1 - }; - num2 = 7; - List list320 = new List(num2); - CollectionsMarshal.SetCount(list320, num2); - Span span126 = CollectionsMarshal.AsSpan(list320); - ref QuestStep reference237 = ref span126[0]; - QuestStep obj197 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-189.97284f, 15.907461f, -169.83481f), 958) - { - Fly = true - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 6; - List list321 = new List(num3); - CollectionsMarshal.SetCount(list321, num3); - Span span127 = CollectionsMarshal.AsSpan(list321); - span127[0] = null; - span127[1] = null; - span127[2] = null; - span127[3] = null; - span127[4] = null; - span127[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions7.CompletionQuestVariablesFlags = list321; - skipStepConditions7.Flying = ELockedSkipCondition.Locked; - skipConditions7.StepIf = skipStepConditions7; - obj197.SkipConditions = skipConditions7; - reference237 = obj197; - ref QuestStep reference238 = ref span126[1]; - QuestStep obj198 = new QuestStep(EInteractionType.Interact, 2012054u, new Vector3(-156.05408f, 10.788086f, -235.40094f), 958) - { - Fly = true - }; - num3 = 6; - List list322 = new List(num3); - CollectionsMarshal.SetCount(list322, num3); - Span span128 = CollectionsMarshal.AsSpan(list322); - span128[0] = null; - span128[1] = null; - span128[2] = null; - span128[3] = null; - span128[4] = null; - span128[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj198.CompletionQuestVariablesFlags = list322; - reference238 = obj198; - ref QuestStep reference239 = ref span126[2]; - QuestStep obj199 = new QuestStep(EInteractionType.Interact, 2012055u, new Vector3(-129.83911f, 10.788086f, -270.95447f), 958) - { - Fly = true - }; - num3 = 6; - List list323 = new List(num3); - CollectionsMarshal.SetCount(list323, num3); - Span span129 = CollectionsMarshal.AsSpan(list323); - span129[0] = null; - span129[1] = null; - span129[2] = null; - span129[3] = null; - span129[4] = null; - span129[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj199.CompletionQuestVariablesFlags = list323; - reference239 = obj199; - ref QuestStep reference240 = ref span126[3]; - QuestStep questStep41 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-223.12543f, 10.826223f, -368.8611f), 958); - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions8 = new SkipStepConditions(); - num3 = 6; - List list324 = new List(num3); - CollectionsMarshal.SetCount(list324, num3); - Span span130 = CollectionsMarshal.AsSpan(list324); - span130[0] = null; - span130[1] = null; - span130[2] = null; - span130[3] = null; - span130[4] = null; - span130[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions8.CompletionQuestVariablesFlags = list324; - skipStepConditions8.Flying = ELockedSkipCondition.Unlocked; - skipConditions8.StepIf = skipStepConditions8; - questStep41.SkipConditions = skipConditions8; - reference240 = questStep41; - ref QuestStep reference241 = ref span126[4]; - QuestStep obj200 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-140.08179f, 16.226164f, -310.9478f), 958) - { - Fly = true - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions9 = new SkipStepConditions(); - num3 = 6; - List list325 = new List(num3); - CollectionsMarshal.SetCount(list325, num3); - Span span131 = CollectionsMarshal.AsSpan(list325); - span131[0] = null; - span131[1] = null; - span131[2] = null; - span131[3] = null; - span131[4] = null; - span131[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions9.CompletionQuestVariablesFlags = list325; - skipStepConditions9.Flying = ELockedSkipCondition.Locked; - skipConditions9.StepIf = skipStepConditions9; - obj200.SkipConditions = skipConditions9; - reference241 = obj200; - ref QuestStep reference242 = ref span126[5]; - QuestStep obj201 = new QuestStep(EInteractionType.Interact, 2012056u, new Vector3(-234.6991f, 10.788086f, -367.2389f), 958) - { - Fly = true - }; - num3 = 6; - List list326 = new List(num3); - CollectionsMarshal.SetCount(list326, num3); - Span span132 = CollectionsMarshal.AsSpan(list326); - span132[0] = null; - span132[1] = null; - span132[2] = null; - span132[3] = null; - span132[4] = null; - span132[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj201.CompletionQuestVariablesFlags = list326; - reference242 = obj201; - ref QuestStep reference243 = ref span126[6]; - QuestStep obj202 = new QuestStep(EInteractionType.Interact, 2012057u, new Vector3(-246.93683f, 16.494995f, -413.016f), 958) - { - StopDistance = 1f, - Fly = true - }; - num3 = 6; - List list327 = new List(num3); - CollectionsMarshal.SetCount(list327, num3); - Span span133 = CollectionsMarshal.AsSpan(list327); - span133[0] = null; - span133[1] = null; - span133[2] = null; - span133[3] = null; - span133[4] = null; - span133[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj202.CompletionQuestVariablesFlags = list327; - reference243 = obj202; - obj196.Steps = list320; - reference236 = obj196; - ref QuestSequence reference244 = ref span125[2]; - QuestSequence obj203 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - CollectionsMarshal.AsSpan(list328)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037747u, new Vector3(-314.25964f, 22.00559f, 430.47217f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - obj203.Steps = list328; - reference244 = obj203; - questRoot38.QuestSequence = list318; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(4238); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list329 = new List(num); - CollectionsMarshal.SetCount(list329, num); - CollectionsMarshal.AsSpan(list329)[0] = "goatzone"; - questRoot39.Author = list329; - num = 3; - List list330 = new List(num); - CollectionsMarshal.SetCount(list330, num); - Span span134 = CollectionsMarshal.AsSpan(list330); - ref QuestSequence reference245 = ref span134[0]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list331 = new List(num2); - CollectionsMarshal.SetCount(list331, num2); - ref QuestStep reference246 = ref CollectionsMarshal.AsSpan(list331)[0]; - QuestStep questStep42 = new QuestStep(EInteractionType.AcceptQuest, 1037755u, new Vector3(-338.76556f, 22.462305f, 449.08826f), 958); - num3 = 1; - List list332 = new List(num3); - CollectionsMarshal.SetCount(list332, num3); - CollectionsMarshal.AsSpan(list332)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKZD014_04238_Q1_000_000") - }; - questStep42.DialogueChoices = list332; - reference246 = questStep42; - obj204.Steps = list331; - reference245 = obj204; - ref QuestSequence reference247 = ref span134[1]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list333 = new List(num2); - CollectionsMarshal.SetCount(list333, num2); - CollectionsMarshal.AsSpan(list333)[0] = new QuestStep(EInteractionType.UseItem, 1040640u, new Vector3(-239.15472f, 11.232812f, -256.61102f), 958) - { - Fly = true, - ItemId = 2003244u - }; - obj205.Steps = list333; - reference247 = obj205; - ref QuestSequence reference248 = ref span134[2]; - QuestSequence obj206 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - CollectionsMarshal.AsSpan(list334)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037755u, new Vector3(-338.76556f, 22.462305f, 449.08826f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - obj206.Steps = list334; - reference248 = obj206; - questRoot39.QuestSequence = list330; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(4239); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list335 = new List(num); - CollectionsMarshal.SetCount(list335, num); - CollectionsMarshal.AsSpan(list335)[0] = "goatzone"; - questRoot40.Author = list335; - num = 4; - List list336 = new List(num); - CollectionsMarshal.SetCount(list336, num); - Span span135 = CollectionsMarshal.AsSpan(list336); - ref QuestSequence reference249 = ref span135[0]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list337 = new List(num2); - CollectionsMarshal.SetCount(list337, num2); - CollectionsMarshal.AsSpan(list337)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040662u, new Vector3(-373.18994f, 22.268795f, 385.00024f), 958); - obj207.Steps = list337; - reference249 = obj207; - ref QuestSequence reference250 = ref span135[1]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list338 = new List(num2); - CollectionsMarshal.SetCount(list338, num2); - CollectionsMarshal.AsSpan(list338)[0] = new QuestStep(EInteractionType.Interact, 1040642u, new Vector3(49.149292f, 0.78169787f, 90.89795f), 958) - { - Fly = true - }; - obj208.Steps = list338; - reference250 = obj208; - ref QuestSequence reference251 = ref span135[2]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list339 = new List(num2); - CollectionsMarshal.SetCount(list339, num2); - ref QuestStep reference252 = ref CollectionsMarshal.AsSpan(list339)[0]; - QuestStep questStep43 = new QuestStep(EInteractionType.Interact, 1040642u, new Vector3(49.149292f, 0.78169787f, 90.89795f), 958); - num3 = 1; - List list340 = new List(num3); - CollectionsMarshal.SetCount(list340, num3); - CollectionsMarshal.AsSpan(list340)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKZD015_04239_Q1_000_000") - }; - questStep43.DialogueChoices = list340; - reference252 = questStep43; - obj209.Steps = list339; - reference251 = obj209; - ref QuestSequence reference253 = ref span135[3]; - QuestSequence obj210 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - CollectionsMarshal.AsSpan(list341)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040662u, new Vector3(-373.18994f, 22.268795f, 385.00024f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - obj210.Steps = list341; - reference253 = obj210; - questRoot40.QuestSequence = list336; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(4240); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list342 = new List(num); - CollectionsMarshal.SetCount(list342, num); - CollectionsMarshal.AsSpan(list342)[0] = "liza"; - questRoot41.Author = list342; - num = 3; - List list343 = new List(num); - CollectionsMarshal.SetCount(list343, num); - Span span136 = CollectionsMarshal.AsSpan(list343); - ref QuestSequence reference254 = ref span136[0]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list344 = new List(num2); - CollectionsMarshal.SetCount(list344, num2); - CollectionsMarshal.AsSpan(list344)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037867u, new Vector3(-301.62512f, -144.00002f, -491.14215f), 959); - obj211.Steps = list344; - reference254 = obj211; - ref QuestSequence reference255 = ref span136[1]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list345 = new List(num2); - CollectionsMarshal.SetCount(list345, num2); - ref QuestStep reference256 = ref CollectionsMarshal.AsSpan(list345)[0]; - QuestStep obj213 = new QuestStep(EInteractionType.Combat, 1041132u, new Vector3(-558.1293f, -168f, -475.3338f), 959) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list346 = new List(num3); - CollectionsMarshal.SetCount(list346, num3); - CollectionsMarshal.AsSpan(list346)[0] = 14053u; - obj213.KillEnemyDataIds = list346; - reference256 = obj213; - obj212.Steps = list345; - reference255 = obj212; - ref QuestSequence reference257 = ref span136[2]; - QuestSequence obj214 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list347 = new List(num2); - CollectionsMarshal.SetCount(list347, num2); - CollectionsMarshal.AsSpan(list347)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037867u, new Vector3(-301.62512f, -144.00002f, -491.14215f), 959); - obj214.Steps = list347; - reference257 = obj214; - questRoot41.QuestSequence = list343; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(4241); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list348 = new List(num); - CollectionsMarshal.SetCount(list348, num); - CollectionsMarshal.AsSpan(list348)[0] = "liza"; - questRoot42.Author = list348; - num = 3; - List list349 = new List(num); - CollectionsMarshal.SetCount(list349, num); - Span span137 = CollectionsMarshal.AsSpan(list349); - ref QuestSequence reference258 = ref span137[0]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - CollectionsMarshal.AsSpan(list350)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039520u, new Vector3(-287.8615f, -143.50005f, -520.28687f), 959); - obj215.Steps = list350; - reference258 = obj215; - ref QuestSequence reference259 = ref span137[1]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 1 - }; - num2 = 18; - List list351 = new List(num2); - CollectionsMarshal.SetCount(list351, num2); - Span span138 = CollectionsMarshal.AsSpan(list351); - ref QuestStep reference260 = ref span138[0]; - QuestStep obj217 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-348.90564f, -161.8501f, -651.4007f), 959) - { - StopDistance = 1f - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipStepConditions skipStepConditions10 = new SkipStepConditions(); - num3 = 6; - List list352 = new List(num3); - CollectionsMarshal.SetCount(list352, num3); - Span span139 = CollectionsMarshal.AsSpan(list352); - span139[0] = null; - span139[1] = null; - span139[2] = null; - span139[3] = null; - span139[4] = null; - span139[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions10.CompletionQuestVariablesFlags = list352; - skipConditions10.StepIf = skipStepConditions10; - obj217.SkipConditions = skipConditions10; - reference260 = obj217; - ref QuestStep reference261 = ref span138[1]; - QuestStep obj218 = new QuestStep(EInteractionType.Jump, null, new Vector3(-348.90564f, -161.8501f, -651.4007f), 959) - { - StopDistance = 1f, - Mount = false, - Comment = "Platform 1", - JumpDestination = new JumpDestination - { - Position = new Vector3(-344.52225f, -160.40424f, -654.19385f) - } - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipStepConditions skipStepConditions11 = new SkipStepConditions(); - num3 = 6; - List list353 = new List(num3); - CollectionsMarshal.SetCount(list353, num3); - Span span140 = CollectionsMarshal.AsSpan(list353); - span140[0] = null; - span140[1] = null; - span140[2] = null; - span140[3] = null; - span140[4] = null; - span140[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions11.CompletionQuestVariablesFlags = list353; - skipConditions11.StepIf = skipStepConditions11; - obj218.SkipConditions = skipConditions11; - reference261 = obj218; - ref QuestStep reference262 = ref span138[2]; - QuestStep obj219 = new QuestStep(EInteractionType.Jump, null, new Vector3(-344.52225f, -160.40424f, -654.19385f), 959) - { - Comment = "Platform 2", - JumpDestination = new JumpDestination - { - Position = new Vector3(-342.69867f, -158.90424f, -651.2852f), - DelaySeconds = 0.25f - } - }; - SkipConditions skipConditions12 = new SkipConditions(); - SkipStepConditions skipStepConditions12 = new SkipStepConditions(); - num3 = 6; - List list354 = new List(num3); - CollectionsMarshal.SetCount(list354, num3); - Span span141 = CollectionsMarshal.AsSpan(list354); - span141[0] = null; - span141[1] = null; - span141[2] = null; - span141[3] = null; - span141[4] = null; - span141[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions12.CompletionQuestVariablesFlags = list354; - skipConditions12.StepIf = skipStepConditions12; - obj219.SkipConditions = skipConditions12; - reference262 = obj219; - ref QuestStep reference263 = ref span138[3]; - QuestStep obj220 = new QuestStep(EInteractionType.Jump, null, new Vector3(-342.69867f, -158.90424f, -651.2852f), 959) - { - Comment = "Platform 3", - JumpDestination = new JumpDestination - { - Position = new Vector3(-341.018f, -157.40425f, -649.38934f), - DelaySeconds = 0.25f - } - }; - SkipConditions skipConditions13 = new SkipConditions(); - SkipStepConditions skipStepConditions13 = new SkipStepConditions(); - num3 = 6; - List list355 = new List(num3); - CollectionsMarshal.SetCount(list355, num3); - Span span142 = CollectionsMarshal.AsSpan(list355); - span142[0] = null; - span142[1] = null; - span142[2] = null; - span142[3] = null; - span142[4] = null; - span142[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions13.CompletionQuestVariablesFlags = list355; - skipConditions13.StepIf = skipStepConditions13; - obj220.SkipConditions = skipConditions13; - reference263 = obj220; - ref QuestStep reference264 = ref span138[4]; - QuestStep obj221 = new QuestStep(EInteractionType.Jump, null, new Vector3(-341.018f, -157.40425f, -649.38934f), 959) - { - Comment = "Platform 4", - JumpDestination = new JumpDestination - { - Position = new Vector3(-338.68277f, -155.90424f, -646.8163f), - DelaySeconds = 0.25f - } - }; - SkipConditions skipConditions14 = new SkipConditions(); - SkipStepConditions skipStepConditions14 = new SkipStepConditions(); - num3 = 6; - List list356 = new List(num3); - CollectionsMarshal.SetCount(list356, num3); - Span span143 = CollectionsMarshal.AsSpan(list356); - span143[0] = null; - span143[1] = null; - span143[2] = null; - span143[3] = null; - span143[4] = null; - span143[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions14.CompletionQuestVariablesFlags = list356; - skipConditions14.StepIf = skipStepConditions14; - obj221.SkipConditions = skipConditions14; - reference264 = obj221; - ref QuestStep reference265 = ref span138[5]; - QuestStep obj222 = new QuestStep(EInteractionType.Jump, null, new Vector3(-338.68277f, -155.90424f, -646.8163f), 959) - { - Comment = "Platform 5", - JumpDestination = new JumpDestination - { - Position = new Vector3(-335.60294f, -154.40422f, -646.18335f), - DelaySeconds = 0.25f - } - }; - SkipConditions skipConditions15 = new SkipConditions(); - SkipStepConditions skipStepConditions15 = new SkipStepConditions(); - num3 = 6; - List list357 = new List(num3); - CollectionsMarshal.SetCount(list357, num3); - Span span144 = CollectionsMarshal.AsSpan(list357); - span144[0] = null; - span144[1] = null; - span144[2] = null; - span144[3] = null; - span144[4] = null; - span144[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions15.CompletionQuestVariablesFlags = list357; - skipConditions15.StepIf = skipStepConditions15; - obj222.SkipConditions = skipConditions15; - reference265 = obj222; - ref QuestStep reference266 = ref span138[6]; - QuestStep obj223 = new QuestStep(EInteractionType.Jump, null, new Vector3(-335.60294f, -154.40422f, -646.18335f), 959) - { - Comment = "Platform 6", - JumpDestination = new JumpDestination - { - Position = new Vector3(-332.4621f, -152.90424f, -645.4033f), - DelaySeconds = 0.25f - } - }; - SkipConditions skipConditions16 = new SkipConditions(); - SkipStepConditions skipStepConditions16 = new SkipStepConditions(); - num3 = 6; - List list358 = new List(num3); - CollectionsMarshal.SetCount(list358, num3); - Span span145 = CollectionsMarshal.AsSpan(list358); - span145[0] = null; - span145[1] = null; - span145[2] = null; - span145[3] = null; - span145[4] = null; - span145[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions16.CompletionQuestVariablesFlags = list358; - skipConditions16.StepIf = skipStepConditions16; - obj223.SkipConditions = skipConditions16; - reference266 = obj223; - ref QuestStep reference267 = ref span138[7]; - QuestStep obj224 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-329.84186f, -152.24591f, -649.0854f), 959) - { - DisableNavmesh = true - }; - SkipConditions skipConditions17 = new SkipConditions(); - SkipStepConditions skipStepConditions17 = new SkipStepConditions(); - num3 = 6; - List list359 = new List(num3); - CollectionsMarshal.SetCount(list359, num3); - Span span146 = CollectionsMarshal.AsSpan(list359); - span146[0] = null; - span146[1] = null; - span146[2] = null; - span146[3] = null; - span146[4] = null; - span146[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions17.CompletionQuestVariablesFlags = list359; - skipConditions17.StepIf = skipStepConditions17; - obj224.SkipConditions = skipConditions17; - reference267 = obj224; - ref QuestStep reference268 = ref span138[8]; - QuestStep obj225 = new QuestStep(EInteractionType.Say, 1041789u, new Vector3(-329.3355f, -151.26128f, -657.2519f), 959) - { - StopDistance = 6f, - DisableNavmesh = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_AKTKZE002_04241_SYSTEM_000_010" - } - }; - num3 = 6; - List list360 = new List(num3); - CollectionsMarshal.SetCount(list360, num3); - Span span147 = CollectionsMarshal.AsSpan(list360); - span147[0] = null; - span147[1] = null; - span147[2] = null; - span147[3] = null; - span147[4] = null; - span147[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj225.CompletionQuestVariablesFlags = list360; - reference268 = obj225; - ref QuestStep reference269 = ref span138[9]; - QuestStep obj226 = new QuestStep(EInteractionType.Say, 1041790u, new Vector3(-482.01727f, -167.50002f, -545.6169f), 959) - { - StopDistance = 3f, - ChatMessage = new ChatMessage - { - Key = "TEXT_AKTKZE002_04241_SYSTEM_000_010" - } - }; - num3 = 6; - List list361 = new List(num3); - CollectionsMarshal.SetCount(list361, num3); - Span span148 = CollectionsMarshal.AsSpan(list361); - span148[0] = null; - span148[1] = null; - span148[2] = null; - span148[3] = null; - span148[4] = null; - span148[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj226.CompletionQuestVariablesFlags = list361; - reference269 = obj226; - span138[10] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-438.33246f, -168.00002f, -420.43494f), 959) - { - StopDistance = 1f - }; - ref QuestStep reference270 = ref span138[11]; - QuestStep obj227 = new QuestStep(EInteractionType.Jump, null, new Vector3(-438.33246f, -168.00002f, -420.43494f), 959) - { - StopDistance = 1f, - Mount = false, - Comment = "Platform 1", - JumpDestination = new JumpDestination - { - Position = new Vector3(-438.3488f, -166.55414f, -415.94168f), - DelaySeconds = 0.25f - } - }; - SkipConditions skipConditions18 = new SkipConditions(); - SkipStepConditions skipStepConditions18 = new SkipStepConditions(); - num3 = 6; - List list362 = new List(num3); - CollectionsMarshal.SetCount(list362, num3); - Span span149 = CollectionsMarshal.AsSpan(list362); - span149[0] = null; - span149[1] = null; - span149[2] = null; - span149[3] = null; - span149[4] = null; - span149[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions18.CompletionQuestVariablesFlags = list362; - skipConditions18.StepIf = skipStepConditions18; - obj227.SkipConditions = skipConditions18; - reference270 = obj227; - ref QuestStep reference271 = ref span138[12]; - QuestStep obj228 = new QuestStep(EInteractionType.Jump, null, new Vector3(-438.3488f, -166.55414f, -415.94168f), 959) - { - StopDistance = 1f, - Comment = "Platform 2", - JumpDestination = new JumpDestination - { - Position = new Vector3(-436.71103f, -165.05412f, -413.06158f), - DelaySeconds = 0.25f - } - }; - SkipConditions skipConditions19 = new SkipConditions(); - SkipStepConditions skipStepConditions19 = new SkipStepConditions(); - num3 = 6; - List list363 = new List(num3); - CollectionsMarshal.SetCount(list363, num3); - Span span150 = CollectionsMarshal.AsSpan(list363); - span150[0] = null; - span150[1] = null; - span150[2] = null; - span150[3] = null; - span150[4] = null; - span150[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions19.CompletionQuestVariablesFlags = list363; - skipConditions19.StepIf = skipStepConditions19; - obj228.SkipConditions = skipConditions19; - reference271 = obj228; - ref QuestStep reference272 = ref span138[13]; - QuestStep obj229 = new QuestStep(EInteractionType.Jump, null, new Vector3(-436.71103f, -165.05412f, -413.06158f), 959) - { - StopDistance = 1f, - Comment = "Platform 3", - JumpDestination = new JumpDestination - { - Position = new Vector3(-434.92825f, -163.55417f, -411.54132f), - DelaySeconds = 0.25f - } - }; - SkipConditions skipConditions20 = new SkipConditions(); - SkipStepConditions skipStepConditions20 = new SkipStepConditions(); - num3 = 6; - List list364 = new List(num3); - CollectionsMarshal.SetCount(list364, num3); - Span span151 = CollectionsMarshal.AsSpan(list364); - span151[0] = null; - span151[1] = null; - span151[2] = null; - span151[3] = null; - span151[4] = null; - span151[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions20.CompletionQuestVariablesFlags = list364; - skipConditions20.StepIf = skipStepConditions20; - obj229.SkipConditions = skipConditions20; - reference272 = obj229; - ref QuestStep reference273 = ref span138[14]; - QuestStep obj230 = new QuestStep(EInteractionType.Jump, null, new Vector3(-434.92825f, -163.55417f, -411.54132f), 959) - { - StopDistance = 1f, - Comment = "Platform 4", - JumpDestination = new JumpDestination - { - Position = new Vector3(-432.17563f, -162.05412f, -409.53986f), - DelaySeconds = 0.25f - } - }; - SkipConditions skipConditions21 = new SkipConditions(); - SkipStepConditions skipStepConditions21 = new SkipStepConditions(); - num3 = 6; - List list365 = new List(num3); - CollectionsMarshal.SetCount(list365, num3); - Span span152 = CollectionsMarshal.AsSpan(list365); - span152[0] = null; - span152[1] = null; - span152[2] = null; - span152[3] = null; - span152[4] = null; - span152[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions21.CompletionQuestVariablesFlags = list365; - skipConditions21.StepIf = skipStepConditions21; - obj230.SkipConditions = skipConditions21; - reference273 = obj230; - ref QuestStep reference274 = ref span138[15]; - QuestStep obj231 = new QuestStep(EInteractionType.Jump, null, new Vector3(-432.17563f, -162.05412f, -409.53986f), 959) - { - StopDistance = 1f, - Comment = "Platform 5", - JumpDestination = new JumpDestination - { - Position = new Vector3(-429.1173f, -160.55412f, -408.93143f), - DelaySeconds = 0.25f - } - }; - SkipConditions skipConditions22 = new SkipConditions(); - SkipStepConditions skipStepConditions22 = new SkipStepConditions(); - num3 = 6; - List list366 = new List(num3); - CollectionsMarshal.SetCount(list366, num3); - Span span153 = CollectionsMarshal.AsSpan(list366); - span153[0] = null; - span153[1] = null; - span153[2] = null; - span153[3] = null; - span153[4] = null; - span153[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions22.CompletionQuestVariablesFlags = list366; - skipConditions22.StepIf = skipStepConditions22; - obj231.SkipConditions = skipConditions22; - reference274 = obj231; - ref QuestStep reference275 = ref span138[16]; - QuestStep obj232 = new QuestStep(EInteractionType.Jump, null, new Vector3(-429.1173f, -160.55412f, -408.93143f), 959) - { - StopDistance = 1f, - Comment = "Platform 6", - JumpDestination = new JumpDestination - { - Position = new Vector3(-425.56998f, -159.05414f, -408.56833f), - DelaySeconds = 0.25f - } - }; - SkipConditions skipConditions23 = new SkipConditions(); - SkipStepConditions skipStepConditions23 = new SkipStepConditions(); - num3 = 6; - List list367 = new List(num3); - CollectionsMarshal.SetCount(list367, num3); - Span span154 = CollectionsMarshal.AsSpan(list367); - span154[0] = null; - span154[1] = null; - span154[2] = null; - span154[3] = null; - span154[4] = null; - span154[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions23.CompletionQuestVariablesFlags = list367; - skipConditions23.StepIf = skipStepConditions23; - obj232.SkipConditions = skipConditions23; - reference275 = obj232; - ref QuestStep reference276 = ref span138[17]; - QuestStep obj233 = new QuestStep(EInteractionType.Say, 1041791u, new Vector3(-409.87262f, -158.89125f, -426.68805f), 959) - { - StopDistance = 3f, - ChatMessage = new ChatMessage - { - Key = "TEXT_AKTKZE002_04241_SYSTEM_000_010" - } - }; - num3 = 6; - List list368 = new List(num3); - CollectionsMarshal.SetCount(list368, num3); - Span span155 = CollectionsMarshal.AsSpan(list368); - span155[0] = null; - span155[1] = null; - span155[2] = null; - span155[3] = null; - span155[4] = null; - span155[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj233.CompletionQuestVariablesFlags = list368; - reference276 = obj233; - obj216.Steps = list351; - reference259 = obj216; - ref QuestSequence reference277 = ref span137[2]; - QuestSequence obj234 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list369 = new List(num2); - CollectionsMarshal.SetCount(list369, num2); - Span span156 = CollectionsMarshal.AsSpan(list369); - span156[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-376.5167f, -168f, -432.03497f), 959) - { - DisableNavmesh = true, - Mount = true - }; - span156[1] = new QuestStep(EInteractionType.CompleteQuest, 1039520u, new Vector3(-287.8615f, -143.50005f, -520.28687f), 959); - obj234.Steps = list369; - reference277 = obj234; - questRoot42.QuestSequence = list349; - AddQuest(questId42, questRoot42); - } - - private static void LoadQuests85() - { - QuestId questId = new QuestId(4253); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 6; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference2 = ref CollectionsMarshal.AsSpan(list3)[0]; - QuestStep questStep = new QuestStep(EInteractionType.AcceptQuest, 1041123u, new Vector3(-81.864685f, -132.74333f, -521.6602f), 959); - int num3 = 1; - List list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - CollectionsMarshal.AsSpan(list4)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZE014_04253_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZE014_04253_A1_000_002") - }; - questStep.DialogueChoices = list4; - reference2 = questStep; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference3 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - Span span2 = CollectionsMarshal.AsSpan(list5); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(425.62292f, 123.48844f, 89.52347f), 959); - span2[1] = new QuestStep(EInteractionType.Interact, 1041127u, new Vector3(537.3159f, 132.40395f, 233.81396f), 959); - obj2.Steps = list5; - reference3 = obj2; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - Span span3 = CollectionsMarshal.AsSpan(list6); - ref QuestStep reference5 = ref span3[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2012338u, new Vector3(700.19055f, 135.21008f, 229.48035f), 959); - num3 = 6; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span4 = CollectionsMarshal.AsSpan(list7); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list7; - reference5 = questStep2; - ref QuestStep reference6 = ref span3[1]; - QuestStep obj4 = new QuestStep(EInteractionType.Combat, 1041125u, new Vector3(735.5f, 151.08012f, 189.01343f), 959) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - CollectionsMarshal.AsSpan(list8)[0] = 14050u; - obj4.KillEnemyDataIds = list8; - num3 = 6; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - Span span5 = CollectionsMarshal.AsSpan(list9); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj4.CompletionQuestVariablesFlags = list9; - reference6 = obj4; - ref QuestStep reference7 = ref span3[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1041124u, new Vector3(663.6301f, 128.48961f, 188.18945f), 959); - num3 = 6; - List list10 = new List(num3); - CollectionsMarshal.SetCount(list10, num3); - Span span6 = CollectionsMarshal.AsSpan(list10); - span6[0] = null; - span6[1] = null; - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list10; - reference7 = questStep3; - obj3.Steps = list6; - reference4 = obj3; - ref QuestSequence reference8 = ref span[3]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - ref QuestStep reference9 = ref CollectionsMarshal.AsSpan(list11)[0]; - QuestStep obj6 = new QuestStep(EInteractionType.Combat, 1041127u, new Vector3(537.3159f, 132.40395f, 233.81396f), 959) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - CollectionsMarshal.AsSpan(list12)[0] = 14049u; - obj6.KillEnemyDataIds = list12; - reference9 = obj6; - obj5.Steps = list11; - reference8 = obj5; - ref QuestSequence reference10 = ref span[4]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.Interact, 1041127u, new Vector3(537.3159f, 132.40395f, 233.81396f), 959) - { - StopDistance = 5f - }; - obj7.Steps = list13; - reference10 = obj7; - ref QuestSequence reference11 = ref span[5]; - QuestSequence obj8 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041123u, new Vector3(-81.864685f, -132.74333f, -521.6602f), 959) - { - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - obj8.Steps = list14; - reference11 = obj8; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(4257); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - CollectionsMarshal.AsSpan(list15)[0] = "liza"; - questRoot2.Author = list15; - num = 4; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - Span span7 = CollectionsMarshal.AsSpan(list16); - ref QuestSequence reference12 = ref span7[0]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040864u, new Vector3(462.51624f, 14.320099f, -219.86731f), 957); - obj9.Steps = list17; - reference12 = obj9; - ref QuestSequence reference13 = ref span7[1]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.Interact, 1040862u, new Vector3(-27.023743f, 26.58384f, -178.63745f), 957); - obj10.Steps = list18; - reference13 = obj10; - ref QuestSequence reference14 = ref span7[2]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - Span span8 = CollectionsMarshal.AsSpan(list19); - ref QuestStep reference15 = ref span8[0]; - QuestStep obj12 = new QuestStep(EInteractionType.Combat, null, new Vector3(46.32264f, 21.089579f, -190.2062f), 957) - { - DelaySecondsAtStart = 3f, - Mount = false, - Sprint = false, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - CollectionsMarshal.AsSpan(list20)[0] = 14114u; - obj12.KillEnemyDataIds = list20; - reference15 = obj12; - span8[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 14115u, new Vector3(333.8999f, 13.173893f, -239.1983f), 957) - { - StopDistance = 1f, - NpcWaitDistance = 4f, - DelaySecondsAtStart = 3f, - Mount = false, - Sprint = false - }; - span8[2] = new QuestStep(EInteractionType.Interact, 2012261u, new Vector3(334.67603f, 13.076904f, -239.7956f), 957); - obj11.Steps = list19; - reference14 = obj11; - ref QuestSequence reference16 = ref span7[3]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040864u, new Vector3(462.51624f, 14.320099f, -219.86731f), 957); - obj13.Steps = list21; - reference16 = obj13; - questRoot2.QuestSequence = list16; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(4259); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - CollectionsMarshal.AsSpan(list22)[0] = "liza"; - questRoot3.Author = list22; - num = 5; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - Span span9 = CollectionsMarshal.AsSpan(list23); - ref QuestSequence reference17 = ref span9[0]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040669u, new Vector3(381.64343f, 3.1891773f, -207.20227f), 957); - obj14.Steps = list24; - reference17 = obj14; - ref QuestSequence reference18 = ref span9[1]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.Interact, 1040670u, new Vector3(422.62903f, 7.427357f, -60.68518f), 957); - obj15.Steps = list25; - reference18 = obj15; - ref QuestSequence reference19 = ref span9[2]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - Span span10 = CollectionsMarshal.AsSpan(list26); - ref QuestStep reference20 = ref span10[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2012232u, new Vector3(660.8529f, 36.423218f, 89.09741f), 957); - num3 = 6; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - Span span11 = CollectionsMarshal.AsSpan(list27); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list27; - reference20 = questStep4; - ref QuestStep reference21 = ref span10[1]; - QuestStep obj17 = new QuestStep(EInteractionType.Combat, 1040850u, new Vector3(411.0321f, 7.9535227f, 302.8152f), 957) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - CollectionsMarshal.AsSpan(list28)[0] = 14111u; - obj17.KillEnemyDataIds = list28; - num3 = 6; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - Span span12 = CollectionsMarshal.AsSpan(list29); - span12[0] = null; - span12[1] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj17.CompletionQuestVariablesFlags = list29; - reference21 = obj17; - ref QuestStep reference22 = ref span10[2]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1040850u, new Vector3(411.0321f, 7.9535227f, 302.8152f), 957); - num3 = 6; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - Span span13 = CollectionsMarshal.AsSpan(list30); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list30; - reference22 = questStep5; - ref QuestStep reference23 = ref span10[3]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2012231u, new Vector3(343.9536f, 6.362976f, 372.54907f), 957); - num3 = 6; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - Span span14 = CollectionsMarshal.AsSpan(list31); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list31; - reference23 = questStep6; - obj16.Steps = list26; - reference19 = obj16; - ref QuestSequence reference24 = ref span9[3]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 1040670u, new Vector3(422.62903f, 7.427357f, -60.68518f), 957); - obj18.Steps = list32; - reference24 = obj18; - ref QuestSequence reference25 = ref span9[4]; - QuestSequence obj19 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040669u, new Vector3(381.64343f, 3.1891773f, -207.20227f), 957); - obj19.Steps = list33; - reference25 = obj19; - questRoot3.QuestSequence = list23; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(4269); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - CollectionsMarshal.AsSpan(list34)[0] = "liza"; - questRoot4.Author = list34; - num = 3; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - Span span15 = CollectionsMarshal.AsSpan(list35); - ref QuestSequence reference26 = ref span15[0]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - Span span16 = CollectionsMarshal.AsSpan(list36); - span16[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-21.53136f, 1.7999926f, -182.28082f), 963); - span16[1] = new QuestStep(EInteractionType.AcceptQuest, 1037381u, new Vector3(-23.697266f, 1.7999947f, -180.07172f), 963) - { - StopDistance = 4f - }; - obj20.Steps = list36; - reference26 = obj20; - ref QuestSequence reference27 = ref span15[1]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.Interact, 1041282u, new Vector3(67.826294f, -24.693443f, -238.08661f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanMehrydesMeyhane, - To = EAetheryteLocation.RadzAtHanHighCrucible - } - }; - obj21.Steps = list37; - reference27 = obj21; - ref QuestSequence reference28 = ref span15[2]; - QuestSequence obj22 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - Span span17 = CollectionsMarshal.AsSpan(list38); - span17[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-21.53136f, 1.7999926f, -182.28082f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanHighCrucible, - To = EAetheryteLocation.RadzAtHanMehrydesMeyhane - } - }; - span17[1] = new QuestStep(EInteractionType.CompleteQuest, 1037381u, new Vector3(-23.697266f, 1.7999947f, -180.07172f), 963) - { - StopDistance = 4f - }; - obj22.Steps = list38; - reference28 = obj22; - questRoot4.QuestSequence = list35; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(4270); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - CollectionsMarshal.AsSpan(list39)[0] = "liza"; - questRoot5.Author = list39; - num = 4; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - Span span18 = CollectionsMarshal.AsSpan(list40); - ref QuestSequence reference29 = ref span18[0]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037469u, new Vector3(-148.8518f, 36f, 38.895264f), 963); - obj23.Steps = list41; - reference29 = obj23; - ref QuestSequence reference30 = ref span18[1]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.Interact, 1041152u, new Vector3(-100.02289f, 13.999934f, 157.97656f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanRuveydahFibers, - To = EAetheryteLocation.RadzAtHanAlzadaalsPeace - } - }; - obj24.Steps = list42; - reference30 = obj24; - ref QuestSequence reference31 = ref span18[2]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - Span span19 = CollectionsMarshal.AsSpan(list43); - ref QuestStep reference32 = ref span19[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2012395u, new Vector3(-108.20172f, 14.877502f, 156.20654f), 963); - num3 = 6; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - Span span20 = CollectionsMarshal.AsSpan(list44); - span20[0] = null; - span20[1] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = null; - questStep7.CompletionQuestVariablesFlags = list44; - num3 = 1; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - CollectionsMarshal.AsSpan(list45)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZF015_04270_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZF015_04270_A1_000_002") - }; - questStep7.DialogueChoices = list45; - reference32 = questStep7; - ref QuestStep reference33 = ref span19[1]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2012396u, new Vector3(-106.126526f, 15.0911255f, 154.49756f), 963); - num3 = 6; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - Span span21 = CollectionsMarshal.AsSpan(list46); - span21[0] = null; - span21[1] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = null; - questStep8.CompletionQuestVariablesFlags = list46; - num3 = 1; - List list47 = new List(num3); - CollectionsMarshal.SetCount(list47, num3); - CollectionsMarshal.AsSpan(list47)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZF015_04270_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZF015_04270_A1_000_001") - }; - questStep8.DialogueChoices = list47; - reference33 = questStep8; - span19[2] = new QuestStep(EInteractionType.Interact, 1041152u, new Vector3(-100.02289f, 13.999934f, 157.97656f), 963) - { - StopDistance = 7f - }; - obj25.Steps = list43; - reference31 = obj25; - ref QuestSequence reference34 = ref span18[3]; - QuestSequence obj26 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - Span span22 = CollectionsMarshal.AsSpan(list48); - span22[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-38.102844f, 7.704563f, 106.27705f), 963); - span22[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(6.6071167f, -2.02948f, 110.55151f), 963) - { - StopDistance = 2f, - DisableNavmesh = true - }; - span22[2] = new QuestStep(EInteractionType.CompleteQuest, 1037469u, new Vector3(-148.8518f, 36f, 38.895264f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanAlzadaalsPeace, - To = EAetheryteLocation.RadzAtHanRuveydahFibers - } - }; - obj26.Steps = list48; - reference34 = obj26; - questRoot5.QuestSequence = list40; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(4271); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - CollectionsMarshal.AsSpan(list49)[0] = "liza"; - questRoot6.Author = list49; - num = 3; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - Span span23 = CollectionsMarshal.AsSpan(list50); - ref QuestSequence reference35 = ref span23[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041155u, new Vector3(-57.51129f, -2.000002f, 129.77795f), 963); - obj27.Steps = list51; - reference35 = obj27; - ref QuestSequence reference36 = ref span23[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - Span span24 = CollectionsMarshal.AsSpan(list52); - ref QuestStep reference37 = ref span24[0]; - QuestStep obj29 = new QuestStep(EInteractionType.Interact, 1041154u, new Vector3(112.01648f, 26.99999f, 53.81848f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanAlzadaalsPeace, - To = EAetheryteLocation.RadzAtHanKama - } - }; - num3 = 6; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - Span span25 = CollectionsMarshal.AsSpan(list53); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj29.CompletionQuestVariablesFlags = list53; - reference37 = obj29; - ref QuestStep reference38 = ref span24[1]; - QuestStep obj30 = new QuestStep(EInteractionType.Interact, 1037354u, new Vector3(109.33081f, 1.8631814f, -100.1145f), 963) - { - StopDistance = 7f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanKama, - To = EAetheryteLocation.RadzAtHan - } - }; - num3 = 6; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - Span span26 = CollectionsMarshal.AsSpan(list54); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj30.CompletionQuestVariablesFlags = list54; - reference38 = obj30; - obj28.Steps = list52; - reference36 = obj28; - ref QuestSequence reference39 = ref span23[2]; - QuestSequence obj31 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041155u, new Vector3(-57.51129f, -2.000002f, 129.77795f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanAlzadaalsPeace - } - }; - obj31.Steps = list55; - reference39 = obj31; - questRoot6.QuestSequence = list50; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(4272); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - CollectionsMarshal.AsSpan(list56)[0] = "liza"; - questRoot7.Author = list56; - num = 7; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - Span span27 = CollectionsMarshal.AsSpan(list57); - ref QuestSequence reference40 = ref span27[0]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041144u, new Vector3(-63.34027f, 14f, 125.62744f), 963); - obj32.Steps = list58; - reference40 = obj32; - ref QuestSequence reference41 = ref span27[1]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - Span span28 = CollectionsMarshal.AsSpan(list59); - span28[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-48.856667f, 13.068996f, 118.292465f), 963); - span28[1] = new QuestStep(EInteractionType.WalkTo, 194u, new Vector3(6.6071167f, -2.02948f, 110.55151f), 963) - { - StopDistance = 3f, - DisableNavmesh = true - }; - span28[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-21.53136f, 1.7999926f, -182.28082f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanAlzadaalsPeace, - To = EAetheryteLocation.RadzAtHanMehrydesMeyhane - } - }; - span28[3] = new QuestStep(EInteractionType.Interact, 1037381u, new Vector3(-23.697266f, 1.7999947f, -180.07172f), 963) - { - StopDistance = 4f - }; - obj33.Steps = list59; - reference41 = obj33; - ref QuestSequence reference42 = ref span27[2]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.Interact, 2012387u, new Vector3(-58.27423f, 0.9613037f, -199.42017f), 963); - obj34.Steps = list60; - reference42 = obj34; - ref QuestSequence reference43 = ref span27[3]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.Interact, 2012388u, new Vector3(-65.62909f, 13.992493f, 129.1676f), 963); - obj35.Steps = list61; - reference43 = obj35; - ref QuestSequence reference44 = ref span27[4]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.Interact, 1041144u, new Vector3(-63.34027f, 14f, 125.62744f), 963); - obj36.Steps = list62; - reference44 = obj36; - ref QuestSequence reference45 = ref span27[5]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.Interact, 1037466u, new Vector3(-205.31018f, 36f, 135.39331f), 963); - obj37.Steps = list63; - reference45 = obj37; - ref QuestSequence reference46 = ref span27[6]; - QuestSequence obj38 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041145u, new Vector3(-63.34027f, 14f, 126.207275f), 963); - obj38.Steps = list64; - reference46 = obj38; - questRoot7.QuestSequence = list57; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(4273); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - CollectionsMarshal.AsSpan(list65)[0] = "liza"; - questRoot8.Author = list65; - num = 4; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - Span span29 = CollectionsMarshal.AsSpan(list66); - ref QuestSequence reference47 = ref span29[0]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041146u, new Vector3(-155.80994f, 28f, 178.97302f), 963); - obj39.Steps = list67; - reference47 = obj39; - ref QuestSequence reference48 = ref span29[1]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Interact, 1041147u, new Vector3(-90.25714f, 24.010002f, 70.54236f), 963); - obj40.Steps = list68; - reference48 = obj40; - ref QuestSequence reference49 = ref span29[2]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - ref QuestStep reference50 = ref CollectionsMarshal.AsSpan(list69)[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 2012390u, new Vector3(-88.39557f, 25.223145f, 66.453f), 963); - num3 = 1; - List list70 = new List(num3); - CollectionsMarshal.SetCount(list70, num3); - CollectionsMarshal.AsSpan(list70)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZF018_04273_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZF018_04273_A1_000_001") - }; - questStep9.DialogueChoices = list70; - reference50 = questStep9; - obj41.Steps = list69; - reference49 = obj41; - ref QuestSequence reference51 = ref span29[3]; - QuestSequence obj42 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041146u, new Vector3(-155.80994f, 28f, 178.97302f), 963); - obj42.Steps = list71; - reference51 = obj42; - questRoot8.QuestSequence = list66; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(4274); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - CollectionsMarshal.AsSpan(list72)[0] = "liza"; - questRoot9.Author = list72; - num = 3; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - Span span30 = CollectionsMarshal.AsSpan(list73); - ref QuestSequence reference52 = ref span30[0]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040957u, new Vector3(-191.48547f, 35.999928f, 158.31238f), 963); - obj43.Steps = list74; - reference52 = obj43; - ref QuestSequence reference53 = ref span30[1]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 1 - }; - num2 = 7; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - Span span31 = CollectionsMarshal.AsSpan(list75); - ref QuestStep reference54 = ref span31[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 2012393u, new Vector3(-238.88f, 35.965454f, 122.78931f), 963); - num3 = 6; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - Span span32 = CollectionsMarshal.AsSpan(list76); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span32[4] = null; - span32[5] = null; - questStep10.CompletionQuestVariablesFlags = list76; - num3 = 1; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - CollectionsMarshal.AsSpan(list77)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZF019_04274_Q3_000_000"), - Answer = new ExcelRef("TEXT_AKTKZF019_04274_A3_000_001") - }; - questStep10.DialogueChoices = list77; - reference54 = questStep10; - ref QuestStep reference55 = ref span31[1]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 2012393u, new Vector3(-238.88f, 35.965454f, 122.78931f), 963); - num3 = 6; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - Span span33 = CollectionsMarshal.AsSpan(list78); - span33[0] = null; - span33[1] = null; - span33[2] = null; - span33[3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - span33[4] = null; - span33[5] = null; - questStep11.CompletionQuestVariablesFlags = list78; - num3 = 1; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - CollectionsMarshal.AsSpan(list79)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZF019_04274_Q3_000_000"), - Answer = new ExcelRef("TEXT_AKTKZF019_04274_A3_000_002") - }; - questStep11.DialogueChoices = list79; - reference55 = questStep11; - ref QuestStep reference56 = ref span31[2]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 2012392u, new Vector3(-237.10992f, 35.965454f, 122.75879f), 963); - num3 = 6; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - Span span34 = CollectionsMarshal.AsSpan(list80); - span34[0] = null; - span34[1] = null; - span34[2] = null; - span34[3] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span34[4] = null; - span34[5] = null; - questStep12.CompletionQuestVariablesFlags = list80; - num3 = 1; - List list81 = new List(num3); - CollectionsMarshal.SetCount(list81, num3); - CollectionsMarshal.AsSpan(list81)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZF019_04274_Q2_000_000"), - Answer = new ExcelRef("TEXT_AKTKZF019_04274_A2_000_002") - }; - questStep12.DialogueChoices = list81; - reference56 = questStep12; - ref QuestStep reference57 = ref span31[3]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 2012391u, new Vector3(-235.52307f, 35.965454f, 122.23999f), 963); - num3 = 6; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - Span span35 = CollectionsMarshal.AsSpan(list82); - span35[0] = null; - span35[1] = null; - span35[2] = null; - span35[3] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - span35[4] = null; - span35[5] = null; - questStep13.CompletionQuestVariablesFlags = list82; - num3 = 1; - List list83 = new List(num3); - CollectionsMarshal.SetCount(list83, num3); - CollectionsMarshal.AsSpan(list83)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZF019_04274_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZF019_04274_A1_000_001") - }; - questStep13.DialogueChoices = list83; - reference57 = questStep13; - ref QuestStep reference58 = ref span31[4]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 2012391u, new Vector3(-235.52307f, 35.965454f, 122.23999f), 963); - num3 = 6; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - Span span36 = CollectionsMarshal.AsSpan(list84); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span36[4] = null; - span36[5] = null; - questStep14.CompletionQuestVariablesFlags = list84; - num3 = 1; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - CollectionsMarshal.AsSpan(list85)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZF019_04274_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZF019_04274_A1_000_002") - }; - questStep14.DialogueChoices = list85; - reference58 = questStep14; - ref QuestStep reference59 = ref span31[5]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1041149u, new Vector3(-226.64227f, 36f, 108.56787f), 963); - num3 = 6; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - Span span37 = CollectionsMarshal.AsSpan(list86); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list86; - reference59 = questStep15; - ref QuestStep reference60 = ref span31[6]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1041148u, new Vector3(-223.59052f, 36f, 143.328f), 963); - num3 = 6; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - Span span38 = CollectionsMarshal.AsSpan(list87); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list87; - reference60 = questStep16; - obj44.Steps = list75; - reference53 = obj44; - ref QuestSequence reference61 = ref span30[2]; - QuestSequence obj45 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040957u, new Vector3(-191.48547f, 35.999928f, 158.31238f), 963); - obj45.Steps = list88; - reference61 = obj45; - questRoot9.QuestSequence = list73; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(4275); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list89 = new List(num); - CollectionsMarshal.SetCount(list89, num); - CollectionsMarshal.AsSpan(list89)[0] = "liza"; - questRoot10.Author = list89; - num = 4; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - Span span39 = CollectionsMarshal.AsSpan(list90); - ref QuestSequence reference62 = ref span39[0]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040884u, new Vector3(-176.13495f, 36f, 28.244385f), 963); - obj46.Steps = list91; - reference62 = obj46; - ref QuestSequence reference63 = ref span39[1]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.Interact, 1041514u, new Vector3(-133.59277f, 30.999994f, 0.07623291f), 963); - obj47.Steps = list92; - reference63 = obj47; - ref QuestSequence reference64 = ref span39[2]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 2 - }; - num2 = 9; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - Span span40 = CollectionsMarshal.AsSpan(list93); - span40[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-104.8164f, 30.999998f, 11.496266f), 963) - { - DelaySecondsAtStart = 2f, - Sprint = false - }; - span40[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1041515u, new Vector3(-63.309746f, 31.051857f, 20.292212f), 963) - { - StopDistance = 100f, - Sprint = false - }; - span40[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-68.410736f, 30.999716f, 20.657598f), 963) - { - Sprint = false - }; - span40[3] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1041515u, new Vector3(-16.034935f, 27.05736f, 31.972898f), 963) - { - StopDistance = 100f, - Sprint = false - }; - span40[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-27.071863f, 27.000011f, 27.903757f), 963) - { - Sprint = false - }; - span40[5] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1041515u, new Vector3(20.139565f, 26.999846f, 34.94524f), 963) - { - StopDistance = 100f, - Sprint = false - }; - span40[6] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(33.18388f, 26.999989f, 41.661907f), 963) - { - DelaySecondsAtStart = 2f, - Sprint = false - }; - span40[7] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1041515u, new Vector3(56.11211f, 26.999992f, 47.213455f), 963) - { - StopDistance = 100f, - Sprint = false - }; - span40[8] = new QuestStep(EInteractionType.WalkTo, 1041514u, new Vector3(70.07179f, 26.99999f, 61.356277f), 963) - { - StopDistance = 2f, - DelaySecondsAtStart = 8f, - Sprint = false - }; - obj48.Steps = list93; - reference64 = obj48; - ref QuestSequence reference65 = ref span39[3]; - QuestSequence obj49 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040885u, new Vector3(-173.05261f, 36f, 25.589355f), 963); - obj49.Steps = list94; - reference65 = obj49; - questRoot10.QuestSequence = list90; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(4288); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list95 = new List(num); - CollectionsMarshal.SetCount(list95, num); - CollectionsMarshal.AsSpan(list95)[0] = "liza"; - questRoot11.Author = list95; - num = 5; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - Span span41 = CollectionsMarshal.AsSpan(list96); - ref QuestSequence reference66 = ref span41[0]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037969u, new Vector3(-611.90204f, -22.39482f, 510.42944f), 961); - obj50.Steps = list97; - reference66 = obj50; - ref QuestSequence reference67 = ref span41[1]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - Span span42 = CollectionsMarshal.AsSpan(list98); - span42[0] = new QuestStep(EInteractionType.Interact, 1041141u, new Vector3(-614.313f, -22.39482f, 509.72766f), 961); - span42[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1041141u, new Vector3(-655.5854f, -22.394821f, 498.91443f), 961) - { - StopDistance = 1f, - Mount = true - }; - span42[2] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1041141u, new Vector3(-686.881f, -25.994936f, 443.804f), 961) - { - StopDistance = 1f - }; - span42[3] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1041141u, new Vector3(-738.11304f, -25.933691f, 487.78436f), 961) - { - StopDistance = 1f - }; - span42[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-819.6994f, -38.65795f, 506.43152f), 961) - { - StopDistance = 1f - }; - obj51.Steps = list98; - reference67 = obj51; - ref QuestSequence reference68 = ref span41[2]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - ref QuestStep reference69 = ref CollectionsMarshal.AsSpan(list99)[0]; - QuestStep obj53 = new QuestStep(EInteractionType.Combat, null, new Vector3(-838.7837f, -39.605896f, 518.9479f), 961) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list100 = new List(num3); - CollectionsMarshal.SetCount(list100, num3); - Span span43 = CollectionsMarshal.AsSpan(list100); - span43[0] = 14064u; - span43[1] = 14065u; - obj53.KillEnemyDataIds = list100; - reference69 = obj53; - obj52.Steps = list99; - reference68 = obj52; - ref QuestSequence reference70 = ref span41[3]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.Interact, 1041137u, new Vector3(-819.6994f, -38.65795f, 506.43152f), 961); - obj54.Steps = list101; - reference70 = obj54; - ref QuestSequence reference71 = ref span41[4]; - QuestSequence obj55 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037969u, new Vector3(-611.90204f, -22.39482f, 510.42944f), 961); - obj55.Steps = list102; - reference71 = obj55; - questRoot11.QuestSequence = list96; - AddQuest(questId11, questRoot11); - } - - private static void LoadQuests86() - { - QuestId questId = new QuestId(4313); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 4; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041847u, new Vector3(-484.2146f, 141.86789f, -97.21527f), 961); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference3 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj3 = new QuestStep(EInteractionType.Interact, 1041848u, new Vector3(258.35046f, -10.140662f, -95.71985f), 961) - { - AetheryteShortcut = EAetheryteLocation.ElpisAnagnorisis - }; - int num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZH018_04313_Q1_000_100"), - Answer = new ExcelRef("TEXT_AKTKZH018_04313_A2_000_100") - }; - obj3.DialogueChoices = list5; - reference3 = obj3; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Interact, 1041848u, new Vector3(-175.03741f, 12.098856f, 6.8771067f), 961); - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[3]; - QuestSequence obj5 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041847u, new Vector3(-484.2146f, 141.86789f, -97.21527f), 961) - { - AetheryteShortcut = EAetheryteLocation.ElpisPoietenOikos - }; - obj5.Steps = list7; - reference5 = obj5; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(4316); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - CollectionsMarshal.AsSpan(list8)[0] = "liza"; - questRoot2.Author = list8; - num = 4; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - Span span2 = CollectionsMarshal.AsSpan(list9); - ref QuestSequence reference6 = ref span2[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041301u, new Vector3(-50.94995f, -14.169327f, 108.75098f), 962); - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span2[1]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.Interact, 1041295u, new Vector3(-22.568176f, -16.246908f, 91.75244f), 962); - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span2[2]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - Span span3 = CollectionsMarshal.AsSpan(list12); - ref QuestStep reference9 = ref span3[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1037066u, new Vector3(65.01868f, -14.446999f, 78.26355f), 962); - num3 = 6; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - Span span4 = CollectionsMarshal.AsSpan(list13); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list13; - reference9 = questStep; - ref QuestStep reference10 = ref span3[1]; - QuestStep obj9 = new QuestStep(EInteractionType.Interact, 1040985u, new Vector3(56.77881f, 5.1499996f, -73.86902f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanScholarsHarbor, - To = EAetheryteLocation.OldSharlayan - } - }; - num3 = 6; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - Span span5 = CollectionsMarshal.AsSpan(list14); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj9.CompletionQuestVariablesFlags = list14; - reference10 = obj9; - ref QuestStep reference11 = ref span3[2]; - QuestStep obj10 = new QuestStep(EInteractionType.Interact, 2012610u, new Vector3(-363.6988f, 20.279175f, 92.729004f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanStudium - } - }; - num3 = 6; - List list15 = new List(num3); - CollectionsMarshal.SetCount(list15, num3); - Span span6 = CollectionsMarshal.AsSpan(list15); - span6[0] = null; - span6[1] = null; - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj10.CompletionQuestVariablesFlags = list15; - reference11 = obj10; - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference12 = ref span2[3]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041301u, new Vector3(-50.94995f, -14.169327f, 108.75098f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanStudium, - To = EAetheryteLocation.OldSharlayanScholarsHarbor - } - }; - obj11.Steps = list16; - reference12 = obj11; - questRoot2.QuestSequence = list9; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(4317); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - CollectionsMarshal.AsSpan(list17)[0] = "liza"; - questRoot3.Author = list17; - num = 4; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - Span span7 = CollectionsMarshal.AsSpan(list18); - ref QuestSequence reference13 = ref span7[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041296u, new Vector3(-32.913757f, 2.400051f, -8.804504f), 962); - obj12.Steps = list19; - reference13 = obj12; - ref QuestSequence reference14 = ref span7[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.Interact, 2012438u, new Vector3(-33.310486f, 2.8533936f, -9.048645f), 962) - { - StopDistance = 4f - }; - obj13.Steps = list20; - reference14 = obj13; - ref QuestSequence reference15 = ref span7[2]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - Span span8 = CollectionsMarshal.AsSpan(list21); - ref QuestStep reference16 = ref span8[0]; - QuestStep obj15 = new QuestStep(EInteractionType.Emote, 1041297u, new Vector3(-167.55939f, 6.6576204f, 129.07605f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanBaldesionAnnex - }, - Emote = EEmote.Doze - }; - num3 = 6; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - Span span9 = CollectionsMarshal.AsSpan(list22); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj15.CompletionQuestVariablesFlags = list22; - reference16 = obj15; - ref QuestStep reference17 = ref span8[1]; - QuestStep obj16 = new QuestStep(EInteractionType.Say, 1041299u, new Vector3(-126.17688f, 29.890081f, -201.80054f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanBaldesionAnnex, - To = EAetheryteLocation.OldSharlayanRostra - }, - ChatMessage = new ChatMessage - { - Key = "TEXT_AKTKZI002_04317_SAYTODO_000_060" - } - }; - num3 = 6; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - Span span10 = CollectionsMarshal.AsSpan(list23); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj16.CompletionQuestVariablesFlags = list23; - reference17 = obj16; - ref QuestStep reference18 = ref span8[2]; - QuestStep obj17 = new QuestStep(EInteractionType.Interact, 1037234u, new Vector3(16.922241f, 23.499975f, -136.67511f), 962) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Never = true - } - } - }; - num3 = 6; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - Span span11 = CollectionsMarshal.AsSpan(list24); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj17.CompletionQuestVariablesFlags = list24; - reference18 = obj17; - obj14.Steps = list21; - reference15 = obj14; - ref QuestSequence reference19 = ref span7[3]; - QuestSequence obj18 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.CompleteQuest, 2012439u, new Vector3(-32.822205f, 2.8533936f, -9.842102f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanRostra, - To = EAetheryteLocation.OldSharlayan - } - }; - obj18.Steps = list25; - reference19 = obj18; - questRoot3.QuestSequence = list18; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(4318); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - CollectionsMarshal.AsSpan(list26)[0] = "liza"; - questRoot4.Author = list26; - num = 3; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - Span span12 = CollectionsMarshal.AsSpan(list27); - ref QuestSequence reference20 = ref span12[0]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - ref QuestStep reference21 = ref CollectionsMarshal.AsSpan(list28)[0]; - QuestStep obj20 = new QuestStep(EInteractionType.AcceptQuest, 1041303u, new Vector3(209.55212f, 19.316555f, -110.70422f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanLeveilleurEstate - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - CollectionsMarshal.AsSpan(list29)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZI003_04318_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZI003_04318_A1_000_001") - }; - obj20.DialogueChoices = list29; - reference21 = obj20; - obj19.Steps = list28; - reference20 = obj19; - ref QuestSequence reference22 = ref span12[1]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - Span span13 = CollectionsMarshal.AsSpan(list30); - ref QuestStep reference23 = ref span13[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2012440u, new Vector3(213.9773f, 8.224609f, -33.737732f), 962); - num3 = 6; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - Span span14 = CollectionsMarshal.AsSpan(list31); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list31; - reference23 = questStep2; - ref QuestStep reference24 = ref span13[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2012441u, new Vector3(168.0476f, 1.296936f, 53.94055f), 962); - num3 = 6; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - Span span15 = CollectionsMarshal.AsSpan(list32); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list32; - reference24 = questStep3; - obj21.Steps = list30; - reference22 = obj21; - ref QuestSequence reference25 = ref span12[2]; - QuestSequence obj22 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041303u, new Vector3(209.55212f, 19.316555f, -110.70422f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanJourneysEnd, - To = EAetheryteLocation.OldSharlayanLeveilleurEstate - } - }; - obj22.Steps = list33; - reference25 = obj22; - questRoot4.QuestSequence = list27; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(4319); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - CollectionsMarshal.AsSpan(list34)[0] = "liza"; - questRoot5.Author = list34; - num = 3; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - Span span16 = CollectionsMarshal.AsSpan(list35); - ref QuestSequence reference26 = ref span16[0]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - Span span17 = CollectionsMarshal.AsSpan(list36); - span17[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-38.106888f, -14.1693125f, 107.58956f), 962); - span17[1] = new QuestStep(EInteractionType.AcceptQuest, 1037077u, new Vector3(-38.07129f, -14.169313f, 105.30249f), 962); - obj23.Steps = list36; - reference26 = obj23; - ref QuestSequence reference27 = ref span16[1]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.Interact, 1041308u, new Vector3(190.6615f, 18.89543f, -91.44739f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanScholarsHarbor, - To = EAetheryteLocation.OldSharlayanLeveilleurEstate - } - }; - obj24.Steps = list37; - reference27 = obj24; - ref QuestSequence reference28 = ref span16[2]; - QuestSequence obj25 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - Span span18 = CollectionsMarshal.AsSpan(list38); - span18[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-38.106888f, -14.1693125f, 107.58956f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanLeveilleurEstate, - To = EAetheryteLocation.OldSharlayanScholarsHarbor - } - }; - span18[1] = new QuestStep(EInteractionType.CompleteQuest, 1037077u, new Vector3(-38.07129f, -14.169313f, 105.30249f), 962); - obj25.Steps = list38; - reference28 = obj25; - questRoot5.QuestSequence = list35; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(4320); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - CollectionsMarshal.AsSpan(list39)[0] = "liza"; - questRoot6.Author = list39; - num = 4; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - Span span19 = CollectionsMarshal.AsSpan(list40); - ref QuestSequence reference29 = ref span19[0]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - ref QuestStep reference30 = ref CollectionsMarshal.AsSpan(list41)[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.AcceptQuest, 1041313u, new Vector3(89.28052f, -17.530382f, -74.906555f), 956); - num3 = 1; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - CollectionsMarshal.AsSpan(list42)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZI005_04320_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZI005_04320_A1_000_003") - }; - questStep4.DialogueChoices = list42; - reference30 = questStep4; - obj26.Steps = list41; - reference29 = obj26; - ref QuestSequence reference31 = ref span19[1]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.Interact, 1041314u, new Vector3(78.3855f, -29.79994f, 159.5636f), 956); - obj27.Steps = list43; - reference31 = obj27; - ref QuestSequence reference32 = ref span19[2]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.Emote, 2012494u, new Vector3(78.96533f, -29.098999f, 161.02844f), 956) - { - StopDistance = 5f, - Emote = EEmote.Pray - }; - obj28.Steps = list44; - reference32 = obj28; - ref QuestSequence reference33 = ref span19[3]; - QuestSequence obj29 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041313u, new Vector3(89.28052f, -17.530382f, -74.906555f), 956); - obj29.Steps = list45; - reference33 = obj29; - questRoot6.QuestSequence = list40; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(4326); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - CollectionsMarshal.AsSpan(list46)[0] = "liza"; - questRoot7.Author = list46; - num = 3; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - Span span20 = CollectionsMarshal.AsSpan(list47); - ref QuestSequence reference34 = ref span20[0]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037575u, new Vector3(6.454529f, -31.530432f, -78.14148f), 956); - obj30.Steps = list48; - reference34 = obj30; - ref QuestSequence reference35 = ref span20[1]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - ref QuestStep reference36 = ref CollectionsMarshal.AsSpan(list49)[0]; - QuestStep obj32 = new QuestStep(EInteractionType.Combat, null, new Vector3(379.89767f, 68.15723f, -169.26231f), 956) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - CollectionsMarshal.AsSpan(list50)[0] = 13415u; - obj32.KillEnemyDataIds = list50; - obj32.CombatItemUse = new CombatItemUse - { - ItemId = 2003316u, - Condition = ECombatItemUseCondition.HealthPercent, - Value = 50 - }; - reference36 = obj32; - obj31.Steps = list49; - reference35 = obj31; - ref QuestSequence reference37 = ref span20[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037575u, new Vector3(6.454529f, -31.530432f, -78.14148f), 956) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LabyrinthosSharlayanHamlet - }; - obj33.Steps = list51; - reference37 = obj33; - questRoot7.QuestSequence = list47; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(4329); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - CollectionsMarshal.AsSpan(list52)[0] = "liza"; - questRoot8.Author = list52; - num = 4; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - Span span21 = CollectionsMarshal.AsSpan(list53); - ref QuestSequence reference38 = ref span21[0]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041129u, new Vector3(-23.575256f, -31.53021f, 1.8463135f), 956); - obj34.Steps = list54; - reference38 = obj34; - ref QuestSequence reference39 = ref span21[1]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - ref QuestStep reference40 = ref CollectionsMarshal.AsSpan(list55)[0]; - QuestStep obj36 = new QuestStep(EInteractionType.Combat, null, new Vector3(262.07907f, -18.527845f, 183.61182f), 956) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - CollectionsMarshal.AsSpan(list56)[0] = 14123u; - obj36.KillEnemyDataIds = list56; - reference40 = obj36; - obj35.Steps = list55; - reference39 = obj35; - ref QuestSequence reference41 = ref span21[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.Interact, 1041128u, new Vector3(263.1112f, -18.597479f, 185.99219f), 956) - { - StopDistance = 5f - }; - obj37.Steps = list57; - reference41 = obj37; - ref QuestSequence reference42 = ref span21[3]; - QuestSequence obj38 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041129u, new Vector3(-23.575256f, -31.53021f, 1.8463135f), 956); - obj38.Steps = list58; - reference42 = obj38; - questRoot8.QuestSequence = list53; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(4337); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - CollectionsMarshal.AsSpan(list59)[0] = "alydev"; - questRoot9.Author = list59; - num = 3; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - Span span22 = CollectionsMarshal.AsSpan(list60); - ref QuestSequence reference43 = ref span22[0]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038008u, new Vector3(-603.9369f, 78.6382f, 303.8529f), 960) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-603.9369f, 78.6382f, 303.8529f), - MaximumDistance = 150f, - TerritoryId = 960 - } - } - } - }; - obj39.Steps = list61; - reference43 = obj39; - ref QuestSequence reference44 = ref span22[1]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - ref QuestStep reference45 = ref CollectionsMarshal.AsSpan(list62)[0]; - QuestStep obj41 = new QuestStep(EInteractionType.Combat, null, new Vector3(-62.2731f, 60.627563f, 786.55927f), 960) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - Span span23 = CollectionsMarshal.AsSpan(list63); - span23[0] = 14047u; - span23[1] = 14048u; - obj41.KillEnemyDataIds = list63; - reference45 = obj41; - obj40.Steps = list62; - reference44 = obj40; - ref QuestSequence reference46 = ref span22[2]; - QuestSequence obj42 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - ref QuestStep reference47 = ref CollectionsMarshal.AsSpan(list64)[0]; - QuestStep obj43 = new QuestStep(EInteractionType.CompleteQuest, 1038008u, new Vector3(-603.9369f, 78.6382f, 303.8529f), 960) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-603.9369f, 78.6382f, 303.8529f), - MaximumDistance = 150f, - TerritoryId = 960 - } - } - } - }; - num3 = 1; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - CollectionsMarshal.AsSpan(list65)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZJ001_04337_Q1_000_014"), - Answer = new ExcelRef("TEXT_AKTKZJ001_04337_A1_000_001") - }; - obj43.DialogueChoices = list65; - reference47 = obj43; - obj42.Steps = list64; - reference46 = obj42; - questRoot9.QuestSequence = list60; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(4338); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - CollectionsMarshal.AsSpan(list66)[0] = "alydev"; - questRoot10.Author = list66; - num = 4; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - Span span24 = CollectionsMarshal.AsSpan(list67); - ref QuestSequence reference48 = ref span24[0]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038013u, new Vector3(-551.8425f, 72.58038f, 232.6543f), 960) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-551.8425f, 72.58038f, 232.6543f), - MaximumDistance = 150f, - TerritoryId = 960 - } - } - } - }; - obj44.Steps = list68; - reference48 = obj44; - ref QuestSequence reference49 = ref span24[1]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1040875u, new Vector3(-717.6166f, 66.99921f, -121.66028f), 960) - { - StopDistance = 5f, - Fly = true - }; - obj45.Steps = list69; - reference49 = obj45; - ref QuestSequence reference50 = ref span24[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - ref QuestStep reference51 = ref CollectionsMarshal.AsSpan(list70)[0]; - QuestStep obj47 = new QuestStep(EInteractionType.Emote, 1040875u, new Vector3(-717.6166f, 66.99921f, -121.66028f), 960) - { - StopDistance = 5f, - Fly = true, - Emote = EEmote.Pet - }; - num3 = 1; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - CollectionsMarshal.AsSpan(list71)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZJ002_04338_Q1_000_015"), - Answer = new ExcelRef("TEXT_AKTKZJ002_04338_A1_000_001") - }; - obj47.DialogueChoices = list71; - reference51 = obj47; - obj46.Steps = list70; - reference50 = obj46; - ref QuestSequence reference52 = ref span24[3]; - QuestSequence obj48 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038013u, new Vector3(-551.8425f, 72.58038f, 232.6543f), 960) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-551.8425f, 72.58038f, 232.6543f), - MaximumDistance = 150f, - TerritoryId = 960 - } - } - } - }; - obj48.Steps = list72; - reference52 = obj48; - questRoot10.QuestSequence = list67; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(4339); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - CollectionsMarshal.AsSpan(list73)[0] = "alydev"; - questRoot11.Author = list73; - num = 3; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - Span span25 = CollectionsMarshal.AsSpan(list74); - ref QuestSequence reference53 = ref span25[0]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040883u, new Vector3(-653.3761f, 73.711235f, 244.31213f), 960) - { - StopDistance = 10f, - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-653.3761f, 73.711235f, 244.31213f), - MaximumDistance = 150f, - TerritoryId = 960 - } - } - } - }; - obj49.Steps = list75; - reference53 = obj49; - ref QuestSequence reference54 = ref span25[1]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - Span span26 = CollectionsMarshal.AsSpan(list76); - ref QuestStep reference55 = ref span26[0]; - QuestStep obj51 = new QuestStep(EInteractionType.Interact, 2012307u, new Vector3(-678.00415f, 72.06836f, 119.035645f), 960) - { - Fly = true - }; - num3 = 6; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - Span span27 = CollectionsMarshal.AsSpan(list77); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj51.CompletionQuestVariablesFlags = list77; - reference55 = obj51; - ref QuestStep reference56 = ref span26[1]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2012308u, new Vector3(-635.49255f, 77.408936f, 46.61621f), 960); - num3 = 6; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - Span span28 = CollectionsMarshal.AsSpan(list78); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list78; - reference56 = questStep5; - ref QuestStep reference57 = ref span26[2]; - QuestStep obj52 = new QuestStep(EInteractionType.Interact, 2012305u, new Vector3(-398.3368f, 88.85327f, 314.44263f), 960) - { - Fly = true - }; - num3 = 6; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - Span span29 = CollectionsMarshal.AsSpan(list79); - span29[0] = null; - span29[1] = null; - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj52.CompletionQuestVariablesFlags = list79; - reference57 = obj52; - ref QuestStep reference58 = ref span26[3]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2012306u, new Vector3(-641.8402f, 78.93494f, 445.21252f), 960); - num3 = 6; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - Span span30 = CollectionsMarshal.AsSpan(list80); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list80; - reference58 = questStep6; - obj50.Steps = list76; - reference54 = obj50; - ref QuestSequence reference59 = ref span25[2]; - QuestSequence obj53 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040883u, new Vector3(-653.3761f, 73.711235f, 244.31213f), 960) - { - StopDistance = 10f, - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-653.3761f, 73.711235f, 244.31213f), - MaximumDistance = 150f, - TerritoryId = 960 - } - } - } - }; - obj53.Steps = list81; - reference59 = obj53; - questRoot11.QuestSequence = list74; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(4340); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - CollectionsMarshal.AsSpan(list82)[0] = "alydev"; - questRoot12.Author = list82; - num = 3; - List list83 = new List(num); - CollectionsMarshal.SetCount(list83, num); - Span span31 = CollectionsMarshal.AsSpan(list83); - ref QuestSequence reference60 = ref span31[0]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038010u, new Vector3(-517.9065f, 72.5362f, 332.23462f), 960) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-517.9065f, 72.5362f, 332.23462f), - MaximumDistance = 150f, - TerritoryId = 960 - } - } - } - }; - obj54.Steps = list84; - reference60 = obj54; - ref QuestSequence reference61 = ref span31[1]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - Span span32 = CollectionsMarshal.AsSpan(list85); - ref QuestStep reference62 = ref span32[0]; - QuestStep obj56 = new QuestStep(EInteractionType.Interact, 2012309u, new Vector3(-346.02887f, 86.44226f, 283.71094f), 960) - { - Fly = true - }; - num3 = 6; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - Span span33 = CollectionsMarshal.AsSpan(list86); - span33[0] = null; - span33[1] = null; - span33[2] = null; - span33[3] = null; - span33[4] = null; - span33[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj56.CompletionQuestVariablesFlags = list86; - reference62 = obj56; - ref QuestStep reference63 = ref span32[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2012310u, new Vector3(-342.12262f, 86.10657f, 278.09558f), 960); - num3 = 6; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - Span span34 = CollectionsMarshal.AsSpan(list87); - span34[0] = null; - span34[1] = null; - span34[2] = null; - span34[3] = null; - span34[4] = null; - span34[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list87; - reference63 = questStep7; - ref QuestStep reference64 = ref span32[2]; - QuestStep obj57 = new QuestStep(EInteractionType.Interact, 2012312u, new Vector3(-292.77484f, 91.38623f, 317.09766f), 960) - { - Fly = true - }; - num3 = 6; - List list88 = new List(num3); - CollectionsMarshal.SetCount(list88, num3); - Span span35 = CollectionsMarshal.AsSpan(list88); - span35[0] = null; - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj57.CompletionQuestVariablesFlags = list88; - reference64 = obj57; - obj55.Steps = list85; - reference61 = obj55; - ref QuestSequence reference65 = ref span31[2]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - ref QuestStep reference66 = ref CollectionsMarshal.AsSpan(list89)[0]; - QuestStep obj59 = new QuestStep(EInteractionType.CompleteQuest, 1038010u, new Vector3(-517.9065f, 72.5362f, 332.23462f), 960) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-517.9065f, 72.5362f, 332.23462f), - MaximumDistance = 150f, - TerritoryId = 960 - } - } - } - }; - num3 = 1; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - CollectionsMarshal.AsSpan(list90)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZJ004_04340_Q1_000_012"), - Answer = new ExcelRef("TEXT_AKTKZJ004_04340_A1_000_001") - }; - obj59.DialogueChoices = list90; - reference66 = obj59; - obj58.Steps = list89; - reference65 = obj58; - questRoot12.QuestSequence = list83; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(4341); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - CollectionsMarshal.AsSpan(list91)[0] = "alydev"; - questRoot13.Author = list91; - num = 3; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - Span span36 = CollectionsMarshal.AsSpan(list92); - ref QuestSequence reference67 = ref span36[0]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - ref QuestStep reference68 = ref CollectionsMarshal.AsSpan(list93)[0]; - QuestStep obj61 = new QuestStep(EInteractionType.AcceptQuest, 1038009u, new Vector3(-597.2534f, 76.989265f, 268.0857f), 960) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-597.2534f, 76.989265f, 268.0857f), - MaximumDistance = 150f, - TerritoryId = 960 - } - } - } - }; - num3 = 1; - List list94 = new List(num3); - CollectionsMarshal.SetCount(list94, num3); - CollectionsMarshal.AsSpan(list94)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZJ005_04341_Q1_000_001"), - Answer = new ExcelRef("TEXT_AKTKZJ005_04341_A1_000_001") - }; - obj61.DialogueChoices = list94; - reference68 = obj61; - obj60.Steps = list93; - reference67 = obj60; - ref QuestSequence reference69 = ref span36[1]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - ref QuestStep reference70 = ref CollectionsMarshal.AsSpan(list95)[0]; - QuestStep obj63 = new QuestStep(EInteractionType.Combat, 2012311u, new Vector3(-746.9749f, 63.1875f, 7.248047f), 960) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list96 = new List(num3); - CollectionsMarshal.SetCount(list96, num3); - CollectionsMarshal.AsSpan(list96)[0] = 14046u; - obj63.KillEnemyDataIds = list96; - reference70 = obj63; - obj62.Steps = list95; - reference69 = obj62; - ref QuestSequence reference71 = ref span36[2]; - QuestSequence obj64 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038009u, new Vector3(-597.2534f, 76.989265f, 268.0857f), 960) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-597.2534f, 76.989265f, 268.0857f), - MaximumDistance = 150f, - TerritoryId = 960 - } - } - } - }; - obj64.Steps = list97; - reference71 = obj64; - questRoot13.QuestSequence = list92; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(4342); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - CollectionsMarshal.AsSpan(list98)[0] = "liza"; - questRoot14.Author = list98; - num = 3; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - Span span37 = CollectionsMarshal.AsSpan(list99); - ref QuestSequence reference72 = ref span37[0]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040876u, new Vector3(49.42395f, 269.25684f, -523.2472f), 960); - obj65.Steps = list100; - reference72 = obj65; - ref QuestSequence reference73 = ref span37[1]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - ref QuestStep reference74 = ref CollectionsMarshal.AsSpan(list101)[0]; - QuestStep obj67 = new QuestStep(EInteractionType.Combat, null, new Vector3(-41.26438f, 274.85336f, -523.8633f), 960) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - Span span38 = CollectionsMarshal.AsSpan(list102); - ref ComplexCombatData reference75 = ref span38[0]; - ComplexCombatData obj68 = new ComplexCombatData - { - DataId = 13315u, - MinimumKillCount = 2u - }; - int num4 = 6; - List list103 = new List(num4); - CollectionsMarshal.SetCount(list103, num4); - Span span39 = CollectionsMarshal.AsSpan(list103); - span39[0] = null; - span39[1] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span39[2] = null; - span39[3] = null; - span39[4] = null; - span39[5] = null; - obj68.CompletionQuestVariablesFlags = list103; - reference75 = obj68; - ref ComplexCombatData reference76 = ref span38[1]; - ComplexCombatData obj69 = new ComplexCombatData - { - DataId = 14097u, - MinimumKillCount = 1u - }; - num4 = 6; - List list104 = new List(num4); - CollectionsMarshal.SetCount(list104, num4); - Span span40 = CollectionsMarshal.AsSpan(list104); - span40[0] = null; - span40[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = null; - obj69.CompletionQuestVariablesFlags = list104; - reference76 = obj69; - obj67.ComplexCombatData = list102; - reference74 = obj67; - obj66.Steps = list101; - reference73 = obj66; - ref QuestSequence reference77 = ref span37[2]; - QuestSequence obj70 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040876u, new Vector3(49.42395f, 269.25684f, -523.2472f), 960); - obj70.Steps = list105; - reference77 = obj70; - questRoot14.QuestSequence = list99; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(4346); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list106 = new List(num); - CollectionsMarshal.SetCount(list106, num); - CollectionsMarshal.AsSpan(list106)[0] = "liza"; - questRoot15.Author = list106; - num = 3; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - Span span41 = CollectionsMarshal.AsSpan(list107); - ref QuestSequence reference78 = ref span41[0]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038016u, new Vector3(105.42456f, 269.29584f, -454.3069f), 960); - obj71.Steps = list108; - reference78 = obj71; - ref QuestSequence reference79 = ref span41[1]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - Span span42 = CollectionsMarshal.AsSpan(list109); - ref QuestStep reference80 = ref span42[0]; - QuestStep obj73 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(33.55028f, 269.00006f, -683.68896f), 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleAbodeOfTheEa - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list110 = new List(num3); - CollectionsMarshal.SetCount(list110, num3); - Span span43 = CollectionsMarshal.AsSpan(list110); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list110; - skipConditions.StepIf = skipStepConditions; - obj73.SkipConditions = skipConditions; - reference80 = obj73; - ref QuestStep reference81 = ref span42[1]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1040880u, new Vector3(-110.185425f, 269.2062f, -713.5271f), 960); - num3 = 6; - List list111 = new List(num3); - CollectionsMarshal.SetCount(list111, num3); - Span span44 = CollectionsMarshal.AsSpan(list111); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list111; - reference81 = questStep8; - ref QuestStep reference82 = ref span42[2]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1040881u, new Vector3(-201.86163f, 288.6714f, -466.331f), 960); - num3 = 6; - List list112 = new List(num3); - CollectionsMarshal.SetCount(list112, num3); - Span span45 = CollectionsMarshal.AsSpan(list112); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list112; - num3 = 1; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - CollectionsMarshal.AsSpan(list113)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZJ010_04346_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZJ010_04346_A1_000_001") - }; - questStep9.DialogueChoices = list113; - reference82 = questStep9; - ref QuestStep reference83 = ref span42[3]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1040879u, new Vector3(-184.52734f, 267.47086f, -292.65283f), 960); - num3 = 6; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - Span span46 = CollectionsMarshal.AsSpan(list114); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list114; - reference83 = questStep10; - obj72.Steps = list109; - reference79 = obj72; - ref QuestSequence reference84 = ref span41[2]; - QuestSequence obj74 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038016u, new Vector3(105.42456f, 269.29584f, -454.3069f), 960); - obj74.Steps = list115; - reference84 = obj74; - questRoot15.QuestSequence = list107; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(4348); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - CollectionsMarshal.AsSpan(list116)[0] = "alydev"; - questRoot16.Author = list116; - num = 4; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - Span span47 = CollectionsMarshal.AsSpan(list117); - ref QuestSequence reference85 = ref span47[0]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041058u, new Vector3(-574.30383f, 77.29004f, 324.33044f), 960) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-574.30383f, 77.29004f, 324.33044f), - MaximumDistance = 150f, - TerritoryId = 960 - } - } - } - }; - obj75.Steps = list118; - reference85 = obj75; - ref QuestSequence reference86 = ref span47[1]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - Span span48 = CollectionsMarshal.AsSpan(list119); - ref QuestStep reference87 = ref span48[0]; - QuestStep obj77 = new QuestStep(EInteractionType.Interact, 1038012u, new Vector3(-655.9396f, 70.96863f, 302.90674f), 960) - { - Fly = true - }; - num3 = 6; - List list120 = new List(num3); - CollectionsMarshal.SetCount(list120, num3); - Span span49 = CollectionsMarshal.AsSpan(list120); - span49[0] = null; - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj77.CompletionQuestVariablesFlags = list120; - num3 = 1; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - CollectionsMarshal.AsSpan(list121)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZJ012_04348_Q2_000_200"), - Answer = new ExcelRef("TEXT_AKTKZJ012_04348_A2_000_200") - }; - obj77.DialogueChoices = list121; - reference87 = obj77; - ref QuestStep reference88 = ref span48[1]; - QuestStep obj78 = new QuestStep(EInteractionType.Interact, 1038013u, new Vector3(-551.8425f, 72.58038f, 232.6543f), 960) - { - Fly = true - }; - num3 = 6; - List list122 = new List(num3); - CollectionsMarshal.SetCount(list122, num3); - Span span50 = CollectionsMarshal.AsSpan(list122); - span50[0] = null; - span50[1] = null; - span50[2] = null; - span50[3] = null; - span50[4] = null; - span50[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj78.CompletionQuestVariablesFlags = list122; - num3 = 1; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - CollectionsMarshal.AsSpan(list123)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZJ012_04348_Q1_000_100"), - Answer = new ExcelRef("TEXT_AKTKZJ012_04348_A1_000_100") - }; - obj78.DialogueChoices = list123; - reference88 = obj78; - obj76.Steps = list119; - reference86 = obj76; - ref QuestSequence reference89 = ref span47[2]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.Interact, 2012685u, new Vector3(-115.09888f, 55.527588f, 537.52954f), 960) - { - Fly = true - }; - obj79.Steps = list124; - reference89 = obj79; - ref QuestSequence reference90 = ref span47[3]; - QuestSequence obj80 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038008u, new Vector3(-574.30383f, 77.29004f, 324.33044f), 960) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-574.30383f, 77.29004f, 324.33044f), - MaximumDistance = 150f, - TerritoryId = 960 - } - } - } - }; - obj80.Steps = list125; - reference90 = obj80; - questRoot16.QuestSequence = list117; - AddQuest(questId16, questRoot16); - } - - private static void LoadQuests87() - { - QuestId questId = new QuestId(4350); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "alydev"; - questRoot.Author = list; - num = 6; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042070u, new Vector3(-610.19305f, 77.9267f, 229.17517f), 960) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-610.19305f, 77.9267f, 229.17517f), - MaximumDistance = 150f, - TerritoryId = 960 - } - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1042071u, new Vector3(-754.696f, 67.5721f, -32.51703f), 960) - { - StopDistance = 5f, - Fly = true - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1042070u, new Vector3(-610.19305f, 77.9267f, 229.17517f), 960) - { - StopDistance = 5f, - Fly = true - }; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Interact, 1042072u, new Vector3(-464.49988f, 79.1747f, 247.08923f), 960) - { - StopDistance = 5f, - Fly = true - }; - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.Interact, 1042071u, new Vector3(-754.696f, 67.5721f, -32.51703f), 960) - { - StopDistance = 5f, - Fly = true - }; - obj5.Steps = list7; - reference5 = obj5; - ref QuestSequence reference6 = ref span[5]; - QuestSequence obj6 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042072u, new Vector3(-464.49988f, 79.1747f, 247.08923f), 960) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-464.49988f, 79.1747f, 247.08923f), - MaximumDistance = 150f, - TerritoryId = 960 - } - } - } - }; - obj6.Steps = list8; - reference6 = obj6; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(4354); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - CollectionsMarshal.AsSpan(list9)[0] = "liza"; - questRoot2.Author = list9; - num = 3; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - Span span2 = CollectionsMarshal.AsSpan(list10); - ref QuestSequence reference7 = ref span2[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - ref QuestStep reference8 = ref CollectionsMarshal.AsSpan(list11)[0]; - QuestStep questStep = new QuestStep(EInteractionType.AcceptQuest, 1038043u, new Vector3(470.4203f, 437.00183f, 315.81592f), 960); - int num3 = 1; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - CollectionsMarshal.AsSpan(list12)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZK001_04354_Q1_000_100"), - Answer = new ExcelRef("TEXT_AKTKZK001_04354_A2_000_100") - }; - questStep.DialogueChoices = list12; - reference8 = questStep; - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference9 = ref span2[1]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - Span span3 = CollectionsMarshal.AsSpan(list13); - span3[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(588.5607f, 437.99976f, 299.7425f), 960) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(602.4677f, 438.6276f, 297.1612f) - } - }; - ref QuestStep reference10 = ref span3[1]; - QuestStep obj9 = new QuestStep(EInteractionType.Combat, null, new Vector3(656.94653f, 437.98502f, 302.6322f), 960) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - CollectionsMarshal.AsSpan(list14)[0] = 14044u; - obj9.KillEnemyDataIds = list14; - obj9.CombatItemUse = new CombatItemUse - { - ItemId = 2003273u, - Condition = ECombatItemUseCondition.Incapacitated - }; - reference10 = obj9; - obj8.Steps = list13; - reference9 = obj8; - ref QuestSequence reference11 = ref span2[2]; - QuestSequence obj10 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038043u, new Vector3(470.4203f, 437.00183f, 315.81592f), 960); - obj10.Steps = list15; - reference11 = obj10; - questRoot2.QuestSequence = list10; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(4355); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - CollectionsMarshal.AsSpan(list16)[0] = "liza"; - questRoot3.Author = list16; - num = 4; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - Span span4 = CollectionsMarshal.AsSpan(list17); - ref QuestSequence reference12 = ref span4[0]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041656u, new Vector3(510.3075f, 436.9997f, 307.17932f), 960); - obj11.Steps = list18; - reference12 = obj11; - ref QuestSequence reference13 = ref span4[1]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.Interact, 2012560u, new Vector3(510.3379f, 436.9724f, 307.20984f), 960); - obj12.Steps = list19; - reference13 = obj12; - ref QuestSequence reference14 = ref span4[2]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - Span span5 = CollectionsMarshal.AsSpan(list20); - ref QuestStep reference15 = ref span5[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2012752u, new Vector3(687.2511f, 440.48218f, 375.3567f), 960); - num3 = 6; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - Span span6 = CollectionsMarshal.AsSpan(list21); - span6[0] = null; - span6[1] = null; - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list21; - reference15 = questStep2; - ref QuestStep reference16 = ref span5[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2012753u, new Vector3(688.74634f, 440.45154f, 381.21606f), 960); - num3 = 6; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - Span span7 = CollectionsMarshal.AsSpan(list22); - span7[0] = null; - span7[1] = null; - span7[2] = null; - span7[3] = null; - span7[4] = null; - span7[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list22; - reference16 = questStep3; - obj13.Steps = list20; - reference14 = obj13; - ref QuestSequence reference17 = ref span4[3]; - QuestSequence obj14 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - Span span8 = CollectionsMarshal.AsSpan(list23); - span8[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(674.91565f, 440.4633f, 404.94272f), 960); - span8[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2012032u, new Vector3(661.76843f, 439.96326f, 411.73413f), 960) - { - AetherCurrentId = 2818391u - }; - span8[2] = new QuestStep(EInteractionType.CompleteQuest, 1041656u, new Vector3(510.3075f, 436.9997f, 307.17932f), 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - obj14.Steps = list23; - reference17 = obj14; - questRoot3.QuestSequence = list17; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(4357); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - CollectionsMarshal.AsSpan(list24)[0] = "liza"; - questRoot4.Author = list24; - num = 4; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - Span span9 = CollectionsMarshal.AsSpan(list25); - ref QuestSequence reference18 = ref span9[0]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.AcceptQuest, 1036452u, new Vector3(-2.2736206f, 0f, -8.835022f), 351); - obj15.Steps = list26; - reference18 = obj15; - ref QuestSequence reference19 = ref span9[1]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.Interact, 1038570u, new Vector3(-374.6853f, 7.999938f, 45.822754f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - } - }; - obj16.Steps = list27; - reference19 = obj16; - span9[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference20 = ref span9[3]; - QuestSequence obj17 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038578u, new Vector3(49.69861f, -16.246998f, 145.2201f), 962); - obj17.Steps = list28; - reference20 = obj17; - questRoot4.QuestSequence = list25; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(4358); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - CollectionsMarshal.AsSpan(list29)[0] = "liza"; - questRoot5.Author = list29; - num = 10; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - Span span10 = CollectionsMarshal.AsSpan(list30); - ref QuestSequence reference21 = ref span10[0]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038578u, new Vector3(49.69861f, -16.246998f, 145.2201f), 962); - obj18.Steps = list31; - reference21 = obj18; - ref QuestSequence reference22 = ref span10[1]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 1038584u, new Vector3(47.68445f, -16.246998f, 147.02063f), 962) - { - StopDistance = 5f - }; - obj19.Steps = list32; - reference22 = obj19; - ref QuestSequence reference23 = ref span10[2]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Interact, 1038578u, new Vector3(49.69861f, -16.246998f, 145.2201f), 962); - obj20.Steps = list33; - reference23 = obj20; - ref QuestSequence reference24 = ref span10[3]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - Span span11 = CollectionsMarshal.AsSpan(list34); - span11[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 962) - { - AethernetShard = EAetheryteLocation.OldSharlayanScholarsHarbor - }; - span11[1] = new QuestStep(EInteractionType.Interact, 1038578u, new Vector3(-56.737106f, -15.127001f, 130.76611f), 962) - { - StopDistance = 0.25f - }; - obj21.Steps = list34; - reference24 = obj21; - ref QuestSequence reference25 = ref span10[4]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - Span span12 = CollectionsMarshal.AsSpan(list35); - span12[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-8.38828f, 3.2249968f, 9.224017f), 962); - span12[1] = new QuestStep(EInteractionType.Interact, 1038578u, new Vector3(-0.03130532f, 3.2249997f, 8.909777f), 962) - { - StopDistance = 0.25f - }; - obj22.Steps = list35; - reference25 = obj22; - ref QuestSequence reference26 = ref span10[5]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - Span span13 = CollectionsMarshal.AsSpan(list36); - span13[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 962) - { - Aetheryte = EAetheryteLocation.OldSharlayan - }; - span13[1] = new QuestStep(EInteractionType.Interact, 1038578u, new Vector3(66.10567f, 5.0999994f, -63.37148f), 962) - { - StopDistance = 0.25f - }; - obj23.Steps = list36; - reference26 = obj23; - ref QuestSequence reference27 = ref span10[6]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 6 - }; - num2 = 3; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - Span span14 = CollectionsMarshal.AsSpan(list37); - span14[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(93.30914f, 8.920153f, -89.12467f), 962); - span14[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(96.67595f, 15.025446f, -134.08261f), 962); - span14[2] = new QuestStep(EInteractionType.Interact, 1038578u, new Vector3(-0.4629783f, 41.37599f, -142.5033f), 962) - { - StopDistance = 0.25f - }; - obj24.Steps = list37; - reference27 = obj24; - ref QuestSequence reference28 = ref span10[7]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - Span span15 = CollectionsMarshal.AsSpan(list38); - span15[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 962) - { - AethernetShard = EAetheryteLocation.OldSharlayanRostra - }; - span15[1] = new QuestStep(EInteractionType.Interact, 1038578u, new Vector3(149.26689f, 18.800978f, -142.65858f), 962) - { - StopDistance = 0.25f - }; - obj25.Steps = list38; - reference28 = obj25; - ref QuestSequence reference29 = ref span10[8]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 8 - }; - num2 = 3; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - Span span16 = CollectionsMarshal.AsSpan(list39); - span16[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 962) - { - AethernetShard = EAetheryteLocation.OldSharlayanLeveilleurEstate - }; - span16[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 962) - { - AethernetShard = EAetheryteLocation.OldSharlayanJourneysEnd - }; - span16[2] = new QuestStep(EInteractionType.Interact, 1038578u, new Vector3(-82.642426f, 1.0594833f, 30.052902f), 962) - { - StopDistance = 0.25f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanJourneysEnd, - To = EAetheryteLocation.OldSharlayan - } - }; - obj26.Steps = list39; - reference29 = obj26; - ref QuestSequence reference30 = ref span10[9]; - QuestSequence obj27 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - Span span17 = CollectionsMarshal.AsSpan(list40); - span17[0] = new QuestStep(EInteractionType.Interact, 2011936u, new Vector3(-108.56799f, 5.0201416f, 4.5318604f), 962) - { - TargetTerritoryId = (ushort)987 - }; - span17[1] = new QuestStep(EInteractionType.CompleteQuest, 1038586u, new Vector3(-0.015319824f, 1.9073486E-06f, -0.77819824f), 987); - obj27.Steps = list40; - reference30 = obj27; - questRoot5.QuestSequence = list30; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(4359); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - CollectionsMarshal.AsSpan(list41)[0] = "liza"; - questRoot6.Author = list41; - num = 8; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - Span span18 = CollectionsMarshal.AsSpan(list42); - ref QuestSequence reference31 = ref span18[0]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038670u, new Vector3(-2.609314f, 1.9073486E-06f, 0.16778564f), 987) - { - StopDistance = 5f - }; - obj28.Steps = list43; - reference31 = obj28; - ref QuestSequence reference32 = ref span18[1]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - Span span19 = CollectionsMarshal.AsSpan(list44); - span19[0] = new QuestStep(EInteractionType.Interact, 2011937u, new Vector3(-0.009068698f, 1.151502f, 14.81335f), 987) - { - TargetTerritoryId = (ushort)962 - }; - span19[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 962) - { - AethernetShard = EAetheryteLocation.OldSharlayanBaldesionAnnex - }; - span19[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 962) - { - AethernetShard = EAetheryteLocation.OldSharlayanStudium - }; - span19[3] = new QuestStep(EInteractionType.Interact, 1038675u, new Vector3(-301.38098f, 18.47832f, 10.849121f), 962); - obj29.Steps = list44; - reference32 = obj29; - ref QuestSequence reference33 = ref span18[2]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - Span span20 = CollectionsMarshal.AsSpan(list45); - ref QuestStep reference34 = ref span20[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2011828u, new Vector3(-320.72937f, 20.248657f, 57.99951f), 962); - num3 = 6; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - Span span21 = CollectionsMarshal.AsSpan(list46); - span21[0] = null; - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list46; - num3 = 1; - List list47 = new List(num3); - CollectionsMarshal.SetCount(list47, num3); - CollectionsMarshal.AsSpan(list47)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMA103_04359_Q5_000_071") - }; - questStep4.DialogueChoices = list47; - reference34 = questStep4; - ref QuestStep reference35 = ref span20[1]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2011825u, new Vector3(-370.47382f, 20.248657f, 100.1449f), 962); - num3 = 6; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - Span span22 = CollectionsMarshal.AsSpan(list48); - span22[0] = null; - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list48; - num3 = 1; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - CollectionsMarshal.AsSpan(list49)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMA103_04359_Q2_000_049") - }; - questStep5.DialogueChoices = list49; - reference35 = questStep5; - ref QuestStep reference36 = ref span20[2]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2011826u, new Vector3(-385.36664f, 20.248657f, 43.289795f), 962); - num3 = 6; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - Span span23 = CollectionsMarshal.AsSpan(list50); - span23[0] = null; - span23[1] = null; - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list50; - num3 = 1; - List list51 = new List(num3); - CollectionsMarshal.SetCount(list51, num3); - CollectionsMarshal.AsSpan(list51)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMA103_04359_Q3_000_055") - }; - questStep6.DialogueChoices = list51; - reference36 = questStep6; - obj30.Steps = list45; - reference33 = obj30; - ref QuestSequence reference37 = ref span18[3]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.Interact, 2011830u, new Vector3(-276.0205f, 18.997375f, 18.936401f), 962); - obj31.Steps = list52; - reference37 = obj31; - ref QuestSequence reference38 = ref span18[4]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.Interact, 2011830u, new Vector3(-276.0205f, 18.997375f, 18.936401f), 962); - obj32.Steps = list53; - reference38 = obj32; - ref QuestSequence reference39 = ref span18[5]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.Interact, 2011830u, new Vector3(-276.0205f, 18.997375f, 18.936401f), 962); - obj33.Steps = list54; - reference39 = obj33; - ref QuestSequence reference40 = ref span18[6]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.Interact, 1038679u, new Vector3(-275.5932f, 19.003881f, 13.321045f), 962); - obj34.Steps = list55; - reference40 = obj34; - ref QuestSequence reference41 = ref span18[7]; - QuestSequence obj35 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038679u, new Vector3(-275.5932f, 19.003881f, 13.321045f), 962) - { - StopDistance = 5f - }; - obj35.Steps = list56; - reference41 = obj35; - questRoot6.QuestSequence = list42; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(4360); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - CollectionsMarshal.AsSpan(list57)[0] = "liza"; - questRoot7.Author = list57; - num = 9; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - Span span24 = CollectionsMarshal.AsSpan(list58); - ref QuestSequence reference42 = ref span24[0]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038681u, new Vector3(-281.11694f, 19.003874f, 18.966919f), 962) - { - StopDistance = 5f - }; - obj36.Steps = list59; - reference42 = obj36; - ref QuestSequence reference43 = ref span24[1]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.Interact, 1038682u, new Vector3(-69.13867f, -15.127f, 113.572876f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanStudium, - To = EAetheryteLocation.OldSharlayanScholarsHarbor - } - }; - obj37.Steps = list60; - reference43 = obj37; - ref QuestSequence reference44 = ref span24[2]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - Span span25 = CollectionsMarshal.AsSpan(list61); - span25[0] = new QuestStep(EInteractionType.Interact, 1037079u, new Vector3(-81.04071f, -13.777f, 117.32654f), 962); - span25[1] = new QuestStep(EInteractionType.Interact, 1037078u, new Vector3(-42.557434f, -14.1693125f, 111.49768f), 962); - obj38.Steps = list61; - reference44 = obj38; - ref QuestSequence reference45 = ref span24[3]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.Interact, 1037077u, new Vector3(-38.066784f, -14.169313f, 107.68768f), 962); - obj39.Steps = list62; - reference45 = obj39; - ref QuestSequence reference46 = ref span24[4]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - ref QuestStep reference47 = ref CollectionsMarshal.AsSpan(list63)[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2011831u, new Vector3(-86.90015f, -12.985474f, 130.47986f), 962); - num3 = 1; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - CollectionsMarshal.AsSpan(list64)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMA104_04360_Q3_000_130"), - Answer = new ExcelRef("TEXT_AKTKMA104_04360_A3_000_131") - }; - questStep7.DialogueChoices = list64; - reference47 = questStep7; - obj40.Steps = list63; - reference46 = obj40; - ref QuestSequence reference48 = ref span24[5]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - ref QuestStep reference49 = ref CollectionsMarshal.AsSpan(list65)[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2011832u, new Vector3(-74.57086f, -12.985474f, 141.1001f), 962); - num3 = 1; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - CollectionsMarshal.AsSpan(list66)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMA104_04360_Q5_000_150"), - Answer = new ExcelRef("TEXT_AKTKMA104_04360_A5_000_151") - }; - questStep8.DialogueChoices = list66; - reference49 = questStep8; - obj41.Steps = list65; - reference48 = obj41; - ref QuestSequence reference50 = ref span24[6]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - ref QuestStep reference51 = ref CollectionsMarshal.AsSpan(list67)[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 2011833u, new Vector3(-74.57086f, -12.985474f, 148.11926f), 962); - num3 = 1; - List list68 = new List(num3); - CollectionsMarshal.SetCount(list68, num3); - CollectionsMarshal.AsSpan(list68)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMA104_04360_Q6_000_170"), - Answer = new ExcelRef("TEXT_AKTKMA104_04360_A6_000_171") - }; - questStep9.DialogueChoices = list68; - reference51 = questStep9; - obj42.Steps = list67; - reference50 = obj42; - ref QuestSequence reference52 = ref span24[7]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1038683u, new Vector3(-36.697998f, -14.169313f, 114.76306f), 962) - { - StopDistance = 6.9f - }; - obj43.Steps = list69; - reference52 = obj43; - ref QuestSequence reference53 = ref span24[8]; - QuestSequence obj44 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - Span span26 = CollectionsMarshal.AsSpan(list70); - span26[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(19.79008f, -16.247002f, 108.36692f), 962); - span26[1] = new QuestStep(EInteractionType.CompleteQuest, 1038684u, new Vector3(29.007324f, -14.446999f, 76.46289f), 962); - obj44.Steps = list70; - reference53 = obj44; - questRoot7.QuestSequence = list58; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(4361); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - CollectionsMarshal.AsSpan(list71)[0] = "liza"; - questRoot8.Author = list71; - num = 7; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - Span span27 = CollectionsMarshal.AsSpan(list72); - ref QuestSequence reference54 = ref span27[0]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038684u, new Vector3(29.007324f, -14.446999f, 76.46289f), 962); - obj45.Steps = list73; - reference54 = obj45; - ref QuestSequence reference55 = ref span27[1]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.Interact, 1038679u, new Vector3(-275.5932f, 19.003881f, 13.321045f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanScholarsHarbor, - To = EAetheryteLocation.OldSharlayanStudium - } - }; - obj46.Steps = list74; - reference55 = obj46; - ref QuestSequence reference56 = ref span27[2]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 2 - }; - num2 = 6; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - Span span28 = CollectionsMarshal.AsSpan(list75); - span28[0] = new QuestStep(EInteractionType.Interact, 1038753u, new Vector3(-234.21082f, 12.969517f, -27.054321f), 962); - span28[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1038753u, new Vector3(-202.6663f, 13.470648f, -49.497906f), 962) - { - NpcWaitDistance = 1f, - Sprint = false - }; - span28[2] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1038753u, new Vector3(-138.0897f, 21.879826f, -144.57791f), 962) - { - NpcWaitDistance = 1f, - Sprint = false - }; - span28[3] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1038753u, new Vector3(-89.6808f, 24.953402f, -138.54071f), 962) - { - NpcWaitDistance = 1f, - Sprint = false - }; - span28[4] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1038753u, new Vector3(-16.652283f, 41.37599f, -145.70506f), 962) - { - NpcWaitDistance = 1f, - Sprint = false - }; - span28[5] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1038753u, new Vector3(-77.90129f, 41.37599f, -209.40958f), 962) - { - NpcWaitDistance = 1f, - Sprint = false, - Comment = "Should auto-trigger the next step once Alisaie is here" - }; - obj47.Steps = list75; - reference56 = obj47; - ref QuestSequence reference57 = ref span27[3]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.Interact, 1038688u, new Vector3(-69.5354f, 18.043928f, -321.40082f), 962); - obj48.Steps = list76; - reference57 = obj48; - span27[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference58 = ref span27[5]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - Span span29 = CollectionsMarshal.AsSpan(list77); - span29[0] = new QuestStep(EInteractionType.Interact, 1038692u, new Vector3(-1.5411987f, 170.403f, -748.0125f), 956); - span29[1] = new QuestStep(EInteractionType.Interact, 1037473u, new Vector3(-27.17633f, 170.40298f, -722.46893f), 956); - span29[2] = new QuestStep(EInteractionType.Interact, 1037472u, new Vector3(-74.69299f, 170.403f, -755.67255f), 956); - obj49.Steps = list77; - reference58 = obj49; - ref QuestSequence reference59 = ref span27[6]; - QuestSequence obj50 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038695u, new Vector3(-52.384216f, 170.403f, -734.7677f), 956); - obj50.Steps = list78; - reference59 = obj50; - questRoot8.QuestSequence = list72; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(4362); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - CollectionsMarshal.AsSpan(list79)[0] = "liza"; - questRoot9.Author = list79; - num = 9; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - Span span30 = CollectionsMarshal.AsSpan(list80); - ref QuestSequence reference60 = ref span30[0]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038695u, new Vector3(-52.384216f, 170.403f, -734.7677f), 956); - obj51.Steps = list81; - reference60 = obj51; - ref QuestSequence reference61 = ref span30[1]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.Interact, 1038692u, new Vector3(-1.5411987f, 170.403f, -748.0125f), 956); - obj52.Steps = list82; - reference61 = obj52; - ref QuestSequence reference62 = ref span30[2]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - ref QuestStep reference63 = ref CollectionsMarshal.AsSpan(list83)[0]; - QuestStep obj54 = new QuestStep(EInteractionType.Combat, 1038699u, new Vector3(128.00781f, 186.03699f, -740.9324f), 956) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - CollectionsMarshal.AsSpan(list84)[0] = 14024u; - obj54.KillEnemyDataIds = list84; - reference63 = obj54; - obj53.Steps = list83; - reference62 = obj53; - ref QuestSequence reference64 = ref span30[3]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.Interact, 1038699u, new Vector3(128.00781f, 186.03699f, -740.9324f), 956); - obj55.Steps = list85; - reference64 = obj55; - ref QuestSequence reference65 = ref span30[4]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - ref QuestStep reference66 = ref CollectionsMarshal.AsSpan(list86)[0]; - QuestStep obj57 = new QuestStep(EInteractionType.Combat, 1038700u, new Vector3(259.0829f, 166.40231f, -595.69696f), 956) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - Span span31 = CollectionsMarshal.AsSpan(list87); - span31[0] = 14023u; - span31[1] = 14022u; - obj57.KillEnemyDataIds = list87; - reference66 = obj57; - obj56.Steps = list86; - reference65 = obj56; - ref QuestSequence reference67 = ref span30[5]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.UseItem, 1038700u, new Vector3(259.0829f, 166.40231f, -595.69696f), 956) - { - ItemId = 2003129u - }; - obj58.Steps = list88; - reference67 = obj58; - ref QuestSequence reference68 = ref span30[6]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 6 - }; - num2 = 4; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - Span span32 = CollectionsMarshal.AsSpan(list89); - span32[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(222.61905f, 182.78828f, -704.0299f), 956); - span32[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2011980u, new Vector3(346.51697f, 209.3385f, -767.7577f), 956) - { - AetherCurrentId = 2818314u - }; - span32[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(280.38452f, 216.34708f, -823.3921f), 956); - span32[3] = new QuestStep(EInteractionType.UseItem, 1038701u, new Vector3(280.38452f, 216.34708f, -823.3921f), 956) - { - DelaySecondsAtStart = 2f, - Mount = false, - ItemId = 2003129u - }; - obj59.Steps = list89; - reference68 = obj59; - ref QuestSequence reference69 = ref span30[7]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.Interact, 1038757u, new Vector3(-1.9074707f, 170.403f, -751.5221f), 956); - obj60.Steps = list90; - reference69 = obj60; - ref QuestSequence reference70 = ref span30[8]; - QuestSequence obj61 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - Span span33 = CollectionsMarshal.AsSpan(list91); - span33[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(254.80028f, 163.44171f, -626.4951f), 956); - span33[1] = new QuestStep(EInteractionType.CompleteQuest, 1038702u, new Vector3(394.27783f, 165.94997f, -521.294f), 956); - obj61.Steps = list91; - reference70 = obj61; - questRoot9.QuestSequence = list80; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(4363); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - CollectionsMarshal.AsSpan(list92)[0] = "liza"; - questRoot10.Author = list92; - num = 7; - List list93 = new List(num); - CollectionsMarshal.SetCount(list93, num); - Span span34 = CollectionsMarshal.AsSpan(list93); - ref QuestSequence reference71 = ref span34[0]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038702u, new Vector3(394.27783f, 165.94997f, -521.294f), 956); - obj62.Steps = list94; - reference71 = obj62; - ref QuestSequence reference72 = ref span34[1]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - Span span35 = CollectionsMarshal.AsSpan(list95); - span35[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 956) - { - Aetheryte = EAetheryteLocation.LabyrinthosArcheion - }; - span35[1] = new QuestStep(EInteractionType.Interact, 1037475u, new Vector3(379.14087f, 170.1f, -410.97125f), 956); - obj63.Steps = list95; - reference72 = obj63; - ref QuestSequence reference73 = ref span34[2]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.Interact, 1038712u, new Vector3(415.8236f, 166.41167f, -451.10248f), 956); - obj64.Steps = list96; - reference73 = obj64; - ref QuestSequence reference74 = ref span34[3]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - Span span36 = CollectionsMarshal.AsSpan(list97); - ref QuestStep reference75 = ref span36[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1038714u, new Vector3(383.01672f, 166.19273f, -464.7746f), 956); - num3 = 6; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - Span span37 = CollectionsMarshal.AsSpan(list98); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list98; - reference75 = questStep10; - ref QuestStep reference76 = ref span36[1]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1038716u, new Vector3(468.10095f, 166.2036f, -458.2132f), 956); - num3 = 6; - List list99 = new List(num3); - CollectionsMarshal.SetCount(list99, num3); - Span span38 = CollectionsMarshal.AsSpan(list99); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list99; - reference76 = questStep11; - obj65.Steps = list97; - reference74 = obj65; - ref QuestSequence reference77 = ref span34[4]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.Interact, 1038717u, new Vector3(579.91907f, 168.84044f, -517.3572f), 956); - obj66.Steps = list100; - reference77 = obj66; - ref QuestSequence reference78 = ref span34[5]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.Snipe, 2011839u, new Vector3(576.8367f, 168.99365f, -519.18823f), 956) - { - Comment = "Shoot Large Green Bird" - }; - obj67.Steps = list101; - reference78 = obj67; - ref QuestSequence reference79 = ref span34[6]; - QuestSequence obj68 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038718u, new Vector3(644.9835f, 185.14716f, -130.23578f), 956); - obj68.Steps = list102; - reference79 = obj68; - questRoot10.QuestSequence = list93; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(4364); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - CollectionsMarshal.AsSpan(list103)[0] = "liza"; - questRoot11.Author = list103; - num = 8; - List list104 = new List(num); - CollectionsMarshal.SetCount(list104, num); - Span span39 = CollectionsMarshal.AsSpan(list104); - ref QuestSequence reference80 = ref span39[0]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038719u, new Vector3(646.3264f, 185.07715f, -131.97534f), 956); - obj69.Steps = list105; - reference80 = obj69; - ref QuestSequence reference81 = ref span39[1]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - Span span40 = CollectionsMarshal.AsSpan(list106); - span40[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2011981u, new Vector3(748.53125f, 106.7063f, 66.75818f), 956) - { - AetherCurrentId = 2818315u - }; - span40[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(760.1999f, 145.74788f, -52.025288f), 956); - ref QuestStep reference82 = ref span40[2]; - QuestStep obj71 = new QuestStep(EInteractionType.Combat, 2011840u, new Vector3(828.33594f, 147.8446f, -72.22095f), 956) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - CollectionsMarshal.AsSpan(list107)[0] = 14020u; - obj71.KillEnemyDataIds = list107; - reference82 = obj71; - obj70.Steps = list106; - reference81 = obj70; - ref QuestSequence reference83 = ref span39[2]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - ref QuestStep reference84 = ref CollectionsMarshal.AsSpan(list108)[0]; - QuestStep obj73 = new QuestStep(EInteractionType.Combat, 2011841u, new Vector3(813.6262f, 158.64807f, 126.57361f), 956) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list109 = new List(num3); - CollectionsMarshal.SetCount(list109, num3); - CollectionsMarshal.AsSpan(list109)[0] = 14021u; - obj73.KillEnemyDataIds = list109; - reference84 = obj73; - obj72.Steps = list108; - reference83 = obj72; - ref QuestSequence reference85 = ref span39[3]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.Interact, 1038722u, new Vector3(621.3015f, 97.13325f, 182.17737f), 956); - obj74.Steps = list110; - reference85 = obj74; - ref QuestSequence reference86 = ref span39[4]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - Span span41 = CollectionsMarshal.AsSpan(list111); - span41[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(483.16574f, 83.132675f, 74.693695f), 956) - { - Comment = "Avoids aggroing some enemies on the hill" - }; - span41[1] = new QuestStep(EInteractionType.Interact, 2011842u, new Vector3(492.1797f, 64.86609f, -44.571655f), 956); - obj75.Steps = list111; - reference86 = obj75; - ref QuestSequence reference87 = ref span39[5]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span42 = CollectionsMarshal.AsSpan(list112); - ref QuestStep reference88 = ref span42[0]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1037985u, new Vector3(481.8036f, 66.16195f, -108.537415f), 956); - num3 = 6; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - Span span43 = CollectionsMarshal.AsSpan(list113); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list113; - reference88 = questStep12; - ref QuestStep reference89 = ref span42[1]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1038707u, new Vector3(455.80212f, 65.16199f, -150.04199f), 956); - num3 = 6; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - Span span44 = CollectionsMarshal.AsSpan(list114); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list114; - reference89 = questStep13; - ref QuestStep reference90 = ref span42[2]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1038708u, new Vector3(408.31604f, 65.3329f, -130.11371f), 956); - num3 = 6; - List list115 = new List(num3); - CollectionsMarshal.SetCount(list115, num3); - Span span45 = CollectionsMarshal.AsSpan(list115); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list115; - reference90 = questStep14; - obj76.Steps = list112; - reference87 = obj76; - ref QuestSequence reference91 = ref span39[6]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.Interact, 2011843u, new Vector3(312.64197f, 97.3678f, -257.34344f), 956); - obj77.Steps = list116; - reference91 = obj77; - ref QuestSequence reference92 = ref span39[7]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038732u, new Vector3(321.43127f, 97.50893f, -279.92682f), 956) - { - StopDistance = 5f - }; - obj78.Steps = list117; - reference92 = obj78; - questRoot11.QuestSequence = list104; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(4365); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - CollectionsMarshal.AsSpan(list118)[0] = "liza"; - questRoot12.Author = list118; - num = 5; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - Span span46 = CollectionsMarshal.AsSpan(list119); - ref QuestSequence reference93 = ref span46[0]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038731u, new Vector3(324.84924f, 97.07327f, -282.21564f), 956) - { - StopDistance = 5f - }; - obj79.Steps = list120; - reference93 = obj79; - ref QuestSequence reference94 = ref span46[1]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - Span span47 = CollectionsMarshal.AsSpan(list121); - span47[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(304.306f, 84.01365f, -292.01114f), 956) - { - DisableNavmesh = true, - Mount = true - }; - span47[1] = new QuestStep(EInteractionType.Interact, 1038736u, new Vector3(177.26404f, 56.63088f, -411.5511f), 956); - obj80.Steps = list121; - reference94 = obj80; - ref QuestSequence reference95 = ref span46[2]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.Interact, 1038738u, new Vector3(177.05042f, 56.567654f, -409.41486f), 956); - obj81.Steps = list122; - reference95 = obj81; - ref QuestSequence reference96 = ref span46[3]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-156.15488f, 81.17488f, -534.99316f), 956) - { - StopDistance = 0.25f - }; - obj82.Steps = list123; - reference96 = obj82; - ref QuestSequence reference97 = ref span46[4]; - QuestSequence obj83 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038740u, new Vector3(-256.27533f, 79.75535f, -502.12863f), 956); - obj83.Steps = list124; - reference97 = obj83; - questRoot12.QuestSequence = list119; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(4366); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list125 = new List(num); - CollectionsMarshal.SetCount(list125, num); - CollectionsMarshal.AsSpan(list125)[0] = "liza"; - questRoot13.Author = list125; - num = 4; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - Span span48 = CollectionsMarshal.AsSpan(list126); - ref QuestSequence reference98 = ref span48[0]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038741u, new Vector3(-257.9538f, 79.7362f, -502.06763f), 956); - obj84.Steps = list127; - reference98 = obj84; - ref QuestSequence reference99 = ref span48[1]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.Interact, 1038736u, new Vector3(177.26404f, 56.63088f, -411.5511f), 956); - obj85.Steps = list128; - reference99 = obj85; - ref QuestSequence reference100 = ref span48[2]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - Span span49 = CollectionsMarshal.AsSpan(list129); - span49[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(253.34096f, 71.49686f, -241.08495f), 956) - { - Comment = "Needed for Navmesh" - }; - span49[1] = new QuestStep(EInteractionType.Interact, 1038744u, new Vector3(315.4497f, 96.90322f, -259.23553f), 956); - obj86.Steps = list129; - reference100 = obj86; - ref QuestSequence reference101 = ref span48[3]; - QuestSequence obj87 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038747u, new Vector3(-1.6022339f, 41.37599f, -141.16125f), 962) - { - StopDistance = 5f - }; - obj87.Steps = list130; - reference101 = obj87; - questRoot13.QuestSequence = list126; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(4367); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list131 = new List(num); - CollectionsMarshal.SetCount(list131, num); - CollectionsMarshal.AsSpan(list131)[0] = "liza"; - questRoot14.Author = list131; - num = 6; - List list132 = new List(num); - CollectionsMarshal.SetCount(list132, num); - Span span50 = CollectionsMarshal.AsSpan(list132); - ref QuestSequence reference102 = ref span50[0]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038746u, new Vector3(2.5481567f, 41.37599f, -142.1684f), 962) - { - StopDistance = 5f - }; - obj88.Steps = list133; - reference102 = obj88; - ref QuestSequence reference103 = ref span50[1]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.Interact, 1038745u, new Vector3(1.663208f, 41.37599f, -141.00867f), 962) - { - StopDistance = 5f - }; - obj89.Steps = list134; - reference103 = obj89; - ref QuestSequence reference104 = ref span50[2]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.Interact, 1038746u, new Vector3(2.5481567f, 41.37599f, -142.1684f), 962) - { - StopDistance = 5f - }; - obj90.Steps = list135; - reference104 = obj90; - ref QuestSequence reference105 = ref span50[3]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.Interact, 1040284u, new Vector3(219.22632f, 25.041138f, -160.60126f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanRostra, - To = EAetheryteLocation.OldSharlayanLeveilleurEstate - } - }; - obj91.Steps = list136; - reference105 = obj91; - ref QuestSequence reference106 = ref span50[4]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.Interact, 1040285u, new Vector3(222.03394f, 21.878136f, -120.43945f), 962); - obj92.Steps = list137; - reference106 = obj92; - ref QuestSequence reference107 = ref span50[5]; - QuestSequence obj93 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - Span span51 = CollectionsMarshal.AsSpan(list138); - span51[0] = new QuestStep(EInteractionType.Interact, 2011936u, new Vector3(-108.56799f, 5.0201416f, 4.5318604f), 962) - { - TargetTerritoryId = (ushort)987, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanLeveilleurEstate, - To = EAetheryteLocation.OldSharlayanBaldesionAnnex - } - }; - span51[1] = new QuestStep(EInteractionType.CompleteQuest, 1040291u, new Vector3(-1.9379272f, 1.9073486E-06f, 1.5715942f), 987); - obj93.Steps = list138; - reference107 = obj93; - questRoot14.QuestSequence = list132; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(4368); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - CollectionsMarshal.AsSpan(list139)[0] = "liza"; - questRoot15.Author = list139; - num = 8; - List list140 = new List(num); - CollectionsMarshal.SetCount(list140, num); - Span span52 = CollectionsMarshal.AsSpan(list140); - ref QuestSequence reference108 = ref span52[0]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041250u, new Vector3(4.0740967f, 1.9073486E-06f, 2.029419f), 987); - obj94.Steps = list141; - reference108 = obj94; - ref QuestSequence reference109 = ref span52[1]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - Span span53 = CollectionsMarshal.AsSpan(list142); - span53[0] = new QuestStep(EInteractionType.Interact, 2011937u, new Vector3(-0.015319824f, 1.1443481f, 14.785889f), 987) - { - TargetTerritoryId = (ushort)962 - }; - span53[1] = new QuestStep(EInteractionType.Interact, 1038592u, new Vector3(-83.05487f, 6.6169996f, -39.383606f), 962); - obj95.Steps = list142; - reference109 = obj95; - ref QuestSequence reference110 = ref span52[2]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.Interact, 2011947u, new Vector3(-15.4574585f, 2.7922974f, -8.98761f), 962); - obj96.Steps = list143; - reference110 = obj96; - ref QuestSequence reference111 = ref span52[3]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.Interact, 1038599u, new Vector3(168.87158f, 5.3451567f, 633.93604f), 957); - obj97.Steps = list144; - reference111 = obj97; - ref QuestSequence reference112 = ref span52[4]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.Interact, 1038599u, new Vector3(168.87158f, 5.3451567f, 633.93604f), 957) - { - DisableNavmesh = true - }; - obj98.Steps = list145; - reference112 = obj98; - ref QuestSequence reference113 = ref span52[5]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.Emote, 1038599u, new Vector3(168.87158f, 5.3451567f, 633.93604f), 957) - { - Emote = EEmote.Deny - }; - obj99.Steps = list146; - reference113 = obj99; - ref QuestSequence reference114 = ref span52[6]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.Interact, 1038598u, new Vector3(187.42651f, 9.9744425f, 592.2178f), 957); - obj100.Steps = list147; - reference114 = obj100; - ref QuestSequence reference115 = ref span52[7]; - QuestSequence obj101 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038597u, new Vector3(189.25769f, 9.9744425f, 590.0206f), 957); - obj101.Steps = list148; - reference115 = obj101; - questRoot15.QuestSequence = list140; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(4369); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list149 = new List(num); - CollectionsMarshal.SetCount(list149, num); - CollectionsMarshal.AsSpan(list149)[0] = "liza"; - questRoot16.Author = list149; - num = 4; - List list150 = new List(num); - CollectionsMarshal.SetCount(list150, num); - Span span54 = CollectionsMarshal.AsSpan(list150); - ref QuestSequence reference116 = ref span54[0]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038600u, new Vector3(189.92896f, 9.9744425f, 589.89844f), 957); - obj102.Steps = list151; - reference116 = obj102; - ref QuestSequence reference117 = ref span54[1]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - Span span55 = CollectionsMarshal.AsSpan(list152); - span55[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 957) - { - StopDistance = 5f, - Aetheryte = EAetheryteLocation.ThavnairYedlihmad - }; - span55[1] = new QuestStep(EInteractionType.Interact, 2011948u, new Vector3(204.66919f, 2.243042f, 715.4192f), 957); - span55[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(193.6185f, 1.9123514f, 713.436f), 957); - span55[3] = new QuestStep(EInteractionType.Interact, 1037622u, new Vector3(189.94562f, 0.8560083f, 702.7896f), 957) - { - StopDistance = 0.25f - }; - span55[4] = new QuestStep(EInteractionType.Interact, 2011949u, new Vector3(200f, 1.7547607f, 768.9784f), 957); - span55[5] = new QuestStep(EInteractionType.Interact, 1037623u, new Vector3(220.78271f, 1.8349868f, 759.4263f), 957); - obj103.Steps = list152; - reference117 = obj103; - ref QuestSequence reference118 = ref span54[2]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - Span span56 = CollectionsMarshal.AsSpan(list153); - span56[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(223.328f, -0.6f, 752.7248f), 957) - { - DisableNavmesh = true, - Sprint = true - }; - span56[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(253.03053f, 0.7659681f, 732.0563f), 957) - { - DisableNavmesh = true - }; - span56[2] = new QuestStep(EInteractionType.Interact, 1038606u, new Vector3(277.72937f, 2.9636285f, 703.7003f), 957); - obj104.Steps = list153; - reference118 = obj104; - ref QuestSequence reference119 = ref span54[3]; - QuestSequence obj105 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038608u, new Vector3(197.55847f, 1.769943f, 737.97205f), 957); - obj105.Steps = list154; - reference119 = obj105; - questRoot16.QuestSequence = list150; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(4370); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list155 = new List(num); - CollectionsMarshal.SetCount(list155, num); - CollectionsMarshal.AsSpan(list155)[0] = "liza"; - questRoot17.Author = list155; - num = 7; - List list156 = new List(num); - CollectionsMarshal.SetCount(list156, num); - Span span57 = CollectionsMarshal.AsSpan(list156); - ref QuestSequence reference120 = ref span57[0]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038608u, new Vector3(197.55847f, 1.769943f, 737.97205f), 957); - obj106.Steps = list157; - reference120 = obj106; - ref QuestSequence reference121 = ref span57[1]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.Interact, 1038608u, new Vector3(197.55847f, 1.769943f, 737.97205f), 957); - obj107.Steps = list158; - reference121 = obj107; - ref QuestSequence reference122 = ref span57[2]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - ref QuestStep reference123 = ref CollectionsMarshal.AsSpan(list159)[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1037625u, new Vector3(176.47058f, 1.8742183f, 799.2217f), 957); - num3 = 3; - List list160 = new List(num3); - CollectionsMarshal.SetCount(list160, num3); - Span span58 = CollectionsMarshal.AsSpan(list160); - span58[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMA114_04370_Q2_000_086"), - Answer = new ExcelRef("TEXT_AKTKMA114_04370_A2_000_088") - }; - span58[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMA114_04370_Q3_000_096"), - Answer = new ExcelRef("TEXT_AKTKMA114_04370_A3_000_098") - }; - span58[2] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMA114_04370_Q5_000_106"), - Answer = new ExcelRef("TEXT_AKTKMA114_04370_A5_000_107") - }; - questStep15.DialogueChoices = list160; - reference123 = questStep15; - obj108.Steps = list159; - reference122 = obj108; - ref QuestSequence reference124 = ref span57[3]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - Span span59 = CollectionsMarshal.AsSpan(list161); - span59[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(198.9156f, 4.763735f, 657.83264f), 957); - span59[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(177.03275f, 4.763736f, 658.2807f), 957); - ref QuestStep reference125 = ref span59[2]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1037626u, new Vector3(166.61316f, 4.763736f, 681.7273f), 957); - num3 = 3; - List list162 = new List(num3); - CollectionsMarshal.SetCount(list162, num3); - Span span60 = CollectionsMarshal.AsSpan(list162); - span60[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMA114_04370_Q6_000_147"), - Answer = new ExcelRef("TEXT_AKTKMA114_04370_A6_000_149") - }; - span60[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMA114_04370_Q7_000_157"), - Answer = new ExcelRef("TEXT_AKTKMA114_04370_A7_000_158") - }; - span60[2] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMA114_04370_Q8_000_162"), - Answer = new ExcelRef("TEXT_AKTKMA114_04370_A8_000_164") - }; - questStep16.DialogueChoices = list162; - reference125 = questStep16; - obj109.Steps = list161; - reference124 = obj109; - ref QuestSequence reference126 = ref span57[4]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - ref QuestStep reference127 = ref CollectionsMarshal.AsSpan(list163)[0]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1037624u, new Vector3(213.91614f, 15.136713f, 517.72327f), 957); - num3 = 3; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - Span span61 = CollectionsMarshal.AsSpan(list164); - span61[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMA114_04370_Q9_000_198"), - Answer = new ExcelRef("TEXT_AKTKMA114_04370_A9_000_200") - }; - span61[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMA114_04370_Q10_000_207"), - Answer = new ExcelRef("TEXT_AKTKMA114_04370_A10_000_209") - }; - span61[2] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMA114_04370_Q11_000_216"), - Answer = new ExcelRef("TEXT_AKTKMA114_04370_A11_000_218") - }; - questStep17.DialogueChoices = list164; - reference127 = questStep17; - obj110.Steps = list163; - reference126 = obj110; - ref QuestSequence reference128 = ref span57[5]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.Interact, 1038608u, new Vector3(199.48804f, 1.769943f, 738.9843f), 957) - { - StopDistance = 0.25f - }; - obj111.Steps = list165; - reference128 = obj111; - ref QuestSequence reference129 = ref span57[6]; - QuestSequence obj112 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038609u, new Vector3(199.35901f, 5.873753f, 612.787f), 957); - obj112.Steps = list166; - reference129 = obj112; - questRoot17.QuestSequence = list156; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(4371); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list167 = new List(num); - CollectionsMarshal.SetCount(list167, num); - CollectionsMarshal.AsSpan(list167)[0] = "liza"; - questRoot18.Author = list167; - num = 8; - List list168 = new List(num); - CollectionsMarshal.SetCount(list168, num); - Span span62 = CollectionsMarshal.AsSpan(list168); - ref QuestSequence reference130 = ref span62[0]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038611u, new Vector3(201.86157f, 5.880045f, 612.02405f), 957) - { - StopDistance = 5f - }; - obj113.Steps = list169; - reference130 = obj113; - ref QuestSequence reference131 = ref span62[1]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - Span span63 = CollectionsMarshal.AsSpan(list170); - ref QuestStep reference132 = ref span63[0]; - QuestStep questStep18 = new QuestStep(EInteractionType.AcceptQuest, 1041331u, new Vector3(202.4414f, 1.769943f, 727.7484f), 957); - num3 = 1; - List list171 = new List(num3); - CollectionsMarshal.SetCount(list171, num3); - CollectionsMarshal.AsSpan(list171)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "quest/044/AktKza201_04489", - Prompt = new ExcelRef("TEXT_AKTKZA201_04489_Q1_000_004"), - Answer = new ExcelRef("TEXT_AKTKZA201_04489_A1_000_002") - }; - questStep18.DialogueChoices = list171; - questStep18.PickUpQuestId = new QuestId(4489); - reference132 = questStep18; - span63[1] = new QuestStep(EInteractionType.Interact, 2011951u, new Vector3(105.1499f, 7.7667847f, 581.5061f), 957); - obj114.Steps = list170; - reference131 = obj114; - ref QuestSequence reference133 = ref span62[2]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.Interact, 2011952u, new Vector3(-13.290649f, 32.333862f, 499.07666f), 957); - obj115.Steps = list172; - reference133 = obj115; - ref QuestSequence reference134 = ref span62[3]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - ref QuestStep reference135 = ref CollectionsMarshal.AsSpan(list173)[0]; - QuestStep obj117 = new QuestStep(EInteractionType.Combat, 1038612u, new Vector3(31.937134f, 37.463673f, 379.5985f), 957) - { - StopDistance = 0.25f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list174 = new List(num3); - CollectionsMarshal.SetCount(list174, num3); - CollectionsMarshal.AsSpan(list174)[0] = 14006u; - obj117.KillEnemyDataIds = list174; - reference135 = obj117; - obj116.Steps = list173; - reference134 = obj116; - ref QuestSequence reference136 = ref span62[4]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.Interact, 1038612u, new Vector3(31.937134f, 37.463673f, 379.5985f), 957); - obj118.Steps = list175; - reference136 = obj118; - ref QuestSequence reference137 = ref span62[5]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - Span span64 = CollectionsMarshal.AsSpan(list176); - span64[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2011990u, new Vector3(-176.10437f, 21.530457f, 537.8346f), 957) - { - AetherCurrentId = 2818329u - }; - span64[1] = new QuestStep(EInteractionType.Interact, 1038616u, new Vector3(-278.88916f, 2.740889f, 532.03625f), 957); - obj119.Steps = list176; - reference137 = obj119; - ref QuestSequence reference138 = ref span62[6]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - Span span65 = CollectionsMarshal.AsSpan(list177); - span65[0] = new QuestStep(EInteractionType.Interact, 1037644u, new Vector3(-293.72095f, 1.4600283f, 551.0491f), 957); - span65[1] = new QuestStep(EInteractionType.Interact, 1037645u, new Vector3(-271.0155f, 0.7022661f, 588.8303f), 957); - obj120.Steps = list177; - reference138 = obj120; - ref QuestSequence reference139 = ref span62[7]; - QuestSequence obj121 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038616u, new Vector3(-278.88916f, 2.740889f, 532.03625f), 957); - obj121.Steps = list178; - reference139 = obj121; - questRoot18.QuestSequence = list168; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(4372); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list179 = new List(num); - CollectionsMarshal.SetCount(list179, num); - CollectionsMarshal.AsSpan(list179)[0] = "liza"; - questRoot19.Author = list179; - num = 10; - List list180 = new List(num); - CollectionsMarshal.SetCount(list180, num); - Span span66 = CollectionsMarshal.AsSpan(list180); - ref QuestSequence reference140 = ref span66[0]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038616u, new Vector3(-278.88916f, 2.740889f, 532.03625f), 957); - obj122.Steps = list181; - reference140 = obj122; - ref QuestSequence reference141 = ref span66[1]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.Interact, 1038620u, new Vector3(-477.68372f, 5.0817194f, 19.21106f), 957); - obj123.Steps = list182; - reference141 = obj123; - ref QuestSequence reference142 = ref span66[2]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - Span span67 = CollectionsMarshal.AsSpan(list183); - span67[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 957) - { - StopDistance = 5f, - Aetheryte = EAetheryteLocation.ThavnairGreatWork - }; - span67[1] = new QuestStep(EInteractionType.Interact, 1038631u, new Vector3(-510.7958f, 11.975282f, 117.69275f), 957); - obj124.Steps = list183; - reference142 = obj124; - ref QuestSequence reference143 = ref span66[3]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - CollectionsMarshal.AsSpan(list184)[0] = new QuestStep(EInteractionType.Interact, 1038635u, new Vector3(-487.1443f, 49.161343f, 153.42944f), 957); - obj125.Steps = list184; - reference143 = obj125; - ref QuestSequence reference144 = ref span66[4]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 4 - }; - num2 = 4; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - Span span68 = CollectionsMarshal.AsSpan(list185); - span68[0] = new QuestStep(EInteractionType.Interact, 1038636u, new Vector3(-485.70996f, 49.103825f, 152.91064f), 957) - { - StopDistance = 5f - }; - span68[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1038636u, new Vector3(-425.414f, 38.415024f, 160.1206f), 957) - { - StopDistance = 4f - }; - span68[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-436.3368f, 38.647118f, 166.13683f), 957); - span68[3] = new QuestStep(EInteractionType.WalkTo, 1038636u, new Vector3(-425.414f, 38.415024f, 160.1206f), 957) - { - StopDistance = 4f, - DelaySecondsAtStart = 2f - }; - obj126.Steps = list185; - reference144 = obj126; - ref QuestSequence reference145 = ref span66[5]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 5 - }; - num2 = 4; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - Span span69 = CollectionsMarshal.AsSpan(list186); - span69[0] = new QuestStep(EInteractionType.Interact, 1041219u, new Vector3(-425.43683f, 38.413155f, 160.11292f), 957) - { - StopDistance = 5f - }; - span69[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1041219u, new Vector3(-419.6078f, 43.950115f, 87.3025f), 957) - { - StopDistance = 4f - }; - span69[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-430.35034f, 46.160213f, 93.2392f), 957); - span69[3] = new QuestStep(EInteractionType.WalkTo, 1041220u, new Vector3(-419.60785f, 43.9499f, 87.296875f), 957) - { - StopDistance = 4f, - DelaySecondsAtStart = 2f - }; - obj127.Steps = list186; - reference145 = obj127; - ref QuestSequence reference146 = ref span66[6]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 6 - }; - num2 = 4; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - Span span70 = CollectionsMarshal.AsSpan(list187); - span70[0] = new QuestStep(EInteractionType.Interact, 1041220u, new Vector3(-419.60785f, 43.9499f, 87.296875f), 957) - { - StopDistance = 5f - }; - span70[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1041220u, new Vector3(-444.7032f, 49.551f, 97.1969f), 957) - { - StopDistance = 4f - }; - span70[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-433.19608f, 46.94587f, 93.295135f), 957) - { - StopDistance = 0.35f - }; - span70[3] = new QuestStep(EInteractionType.WalkTo, 1041221u, new Vector3(-444.72424f, 49.55681f, 97.18469f), 957) - { - StopDistance = 4f, - DelaySecondsAtStart = 2f - }; - obj128.Steps = list187; - reference146 = obj128; - ref QuestSequence reference147 = ref span66[7]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 7 - }; - num2 = 4; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - Span span71 = CollectionsMarshal.AsSpan(list188); - span71[0] = new QuestStep(EInteractionType.Interact, 1041221u, new Vector3(-444.72424f, 49.55681f, 97.18469f), 957) - { - StopDistance = 5f - }; - span71[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1041221u, new Vector3(-484.5909f, 54.18516f, 128.3601f), 957) - { - StopDistance = 4f - }; - span71[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-472.65085f, 53.779083f, 124.34451f), 957); - span71[3] = new QuestStep(EInteractionType.WalkTo, 1038637u, new Vector3(-484.61133f, 54.187614f, 128.34363f), 957) - { - StopDistance = 4f, - DelaySecondsAtStart = 2f - }; - obj129.Steps = list188; - reference147 = obj129; - ref QuestSequence reference148 = ref span66[8]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.Interact, 1038637u, new Vector3(-484.61133f, 54.187614f, 128.34363f), 957) - { - StopDistance = 5f - }; - obj130.Steps = list189; - reference148 = obj130; - ref QuestSequence reference149 = ref span66[9]; - QuestSequence obj131 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038635u, new Vector3(-487.1443f, 49.161343f, 153.42944f), 957); - obj131.Steps = list190; - reference149 = obj131; - questRoot19.QuestSequence = list180; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(4373); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list191 = new List(num); - CollectionsMarshal.SetCount(list191, num); - CollectionsMarshal.AsSpan(list191)[0] = "liza"; - questRoot20.Author = list191; - num = 7; - List list192 = new List(num); - CollectionsMarshal.SetCount(list192, num); - Span span72 = CollectionsMarshal.AsSpan(list192); - ref QuestSequence reference150 = ref span72[0]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038635u, new Vector3(-487.1443f, 49.161343f, 153.42944f), 957); - obj132.Steps = list193; - reference150 = obj132; - ref QuestSequence reference151 = ref span72[1]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - ref QuestStep reference152 = ref CollectionsMarshal.AsSpan(list194)[0]; - QuestStep obj134 = new QuestStep(EInteractionType.Combat, 1038638u, new Vector3(-230.6402f, 27.619656f, 23.727722f), 957) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list195 = new List(num3); - CollectionsMarshal.SetCount(list195, num3); - CollectionsMarshal.AsSpan(list195)[0] = 14004u; - obj134.KillEnemyDataIds = list195; - reference152 = obj134; - obj133.Steps = list194; - reference151 = obj133; - ref QuestSequence reference153 = ref span72[2]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.Interact, 1038638u, new Vector3(-230.6402f, 27.619656f, 23.727722f), 957); - obj135.Steps = list196; - reference153 = obj135; - ref QuestSequence reference154 = ref span72[3]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.Interact, 1038639u, new Vector3(-15.030151f, 84.48873f, -71.000244f), 957); - obj136.Steps = list197; - reference154 = obj136; - ref QuestSequence reference155 = ref span72[4]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - CollectionsMarshal.AsSpan(list198)[0] = new QuestStep(EInteractionType.Interact, 2011954u, new Vector3(31.60144f, 90.22656f, -154.65027f), 957); - obj137.Steps = list198; - reference155 = obj137; - ref QuestSequence reference156 = ref span72[5]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - CollectionsMarshal.AsSpan(list199)[0] = new QuestStep(EInteractionType.Interact, 1038641u, new Vector3(34.62268f, 90.26942f, -159.80774f), 957); - obj138.Steps = list199; - reference156 = obj138; - ref QuestSequence reference157 = ref span72[6]; - QuestSequence obj139 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038631u, new Vector3(-510.7958f, 11.975282f, 117.69275f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj139.Steps = list200; - reference157 = obj139; - questRoot20.QuestSequence = list192; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(4374); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list201 = new List(num); - CollectionsMarshal.SetCount(list201, num); - CollectionsMarshal.AsSpan(list201)[0] = "liza"; - questRoot21.Author = list201; - num = 8; - List list202 = new List(num); - CollectionsMarshal.SetCount(list202, num); - Span span73 = CollectionsMarshal.AsSpan(list202); - ref QuestSequence reference158 = ref span73[0]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038631u, new Vector3(-510.7958f, 11.975282f, 117.69275f), 957); - obj140.Steps = list203; - reference158 = obj140; - ref QuestSequence reference159 = ref span73[1]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - Span span74 = CollectionsMarshal.AsSpan(list204); - span74[0] = new QuestStep(EInteractionType.AcceptQuest, 1037670u, new Vector3(-508.84262f, -3.7109916E-05f, -20.767578f), 957) - { - PickUpQuestId = new QuestId(4203) - }; - span74[1] = new QuestStep(EInteractionType.Interact, 1038642u, new Vector3(-384.1764f, 12.2027235f, 28.244385f), 957); - obj141.Steps = list204; - reference159 = obj141; - ref QuestSequence reference160 = ref span73[2]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - ref QuestStep reference161 = ref CollectionsMarshal.AsSpan(list205)[0]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 1038642u, new Vector3(-384.1764f, 12.2027235f, 28.244385f), 957); - num3 = 1; - List list206 = new List(num3); - CollectionsMarshal.SetCount(list206, num3); - CollectionsMarshal.AsSpan(list206)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMA118_04374_Q1_000_041") - }; - questStep19.DialogueChoices = list206; - reference161 = questStep19; - obj142.Steps = list205; - reference160 = obj142; - ref QuestSequence reference162 = ref span73[3]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - Span span75 = CollectionsMarshal.AsSpan(list207); - span75[0] = new QuestStep(EInteractionType.Interact, 1037646u, new Vector3(-568.99365f, 9.817484f, -569.8787f), 957); - span75[1] = new QuestStep(EInteractionType.Interact, 1037648u, new Vector3(-562.005f, 9.817466f, -585.1987f), 957); - span75[2] = new QuestStep(EInteractionType.Interact, 1037647u, new Vector3(-588.83044f, 9.81748f, -590.08167f), 957); - obj143.Steps = list207; - reference162 = obj143; - ref QuestSequence reference163 = ref span73[4]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.Interact, 1038645u, new Vector3(-549.24854f, 9.817465f, -563.04266f), 957); - obj144.Steps = list208; - reference163 = obj144; - ref QuestSequence reference164 = ref span73[5]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - ref QuestStep reference165 = ref CollectionsMarshal.AsSpan(list209)[0]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 1038648u, new Vector3(-557.641f, 9.672808f, -555.04694f), 957); - num3 = 1; - List list210 = new List(num3); - CollectionsMarshal.SetCount(list210, num3); - CollectionsMarshal.AsSpan(list210)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMA118_04374_Q2_000_141") - }; - questStep20.DialogueChoices = list210; - reference165 = questStep20; - obj145.Steps = list209; - reference164 = obj145; - ref QuestSequence reference166 = ref span73[6]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - CollectionsMarshal.AsSpan(list211)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-103.68971f, 88.84356f, -608.6588f), 957) - { - StopDistance = 0.25f - }; - obj146.Steps = list211; - reference166 = obj146; - ref QuestSequence reference167 = ref span73[7]; - QuestSequence obj147 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - CollectionsMarshal.AsSpan(list212)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037649u, new Vector3(-92.97333f, 89.5583f, -642.3591f), 957); - obj147.Steps = list212; - reference167 = obj147; - questRoot21.QuestSequence = list202; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(4375); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list213 = new List(num); - CollectionsMarshal.SetCount(list213, num); - CollectionsMarshal.AsSpan(list213)[0] = "liza"; - questRoot22.Author = list213; - num = 5; - List list214 = new List(num); - CollectionsMarshal.SetCount(list214, num); - Span span76 = CollectionsMarshal.AsSpan(list214); - ref QuestSequence reference168 = ref span76[0]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037649u, new Vector3(-92.97333f, 89.5583f, -642.3591f), 957); - obj148.Steps = list215; - reference168 = obj148; - ref QuestSequence reference169 = ref span76[1]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - Span span77 = CollectionsMarshal.AsSpan(list216); - span77[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-82.02301f, 95.24942f, -697.3925f), 957); - span77[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-78.47051f, 99.96379f, -711.17303f), 957); - span77[2] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2011991u, new Vector3(-49.271423f, 94.0719f, -710.7805f), 957) - { - DisableNavmesh = true, - AetherCurrentId = 2818330u - }; - span77[3] = new QuestStep(EInteractionType.Interact, 1038631u, new Vector3(-510.7958f, 11.975282f, 117.69275f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj149.Steps = list216; - reference169 = obj149; - ref QuestSequence reference170 = ref span76[2]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - ref QuestStep reference171 = ref CollectionsMarshal.AsSpan(list217)[0]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1038651u, new Vector3(-699.67194f, -0.06901036f, -565.0569f), 957); - num3 = 1; - List list218 = new List(num3); - CollectionsMarshal.SetCount(list218, num3); - CollectionsMarshal.AsSpan(list218)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMA119_04375_Q1_000_056") - }; - questStep21.DialogueChoices = list218; - reference171 = questStep21; - obj150.Steps = list217; - reference170 = obj150; - ref QuestSequence reference172 = ref span76[3]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - CollectionsMarshal.AsSpan(list219)[0] = new QuestStep(EInteractionType.Interact, 1038652u, new Vector3(-704.09705f, -0.090369135f, -562.4323f), 957) - { - StopDistance = 6f - }; - obj151.Steps = list219; - reference172 = obj151; - ref QuestSequence reference173 = ref span76[4]; - QuestSequence obj152 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038653u, new Vector3(-492.0577f, 4.5676737f, 17.532532f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj152.Steps = list220; - reference173 = obj152; - questRoot22.QuestSequence = list214; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(4376); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list221 = new List(num); - CollectionsMarshal.SetCount(list221, num); - CollectionsMarshal.AsSpan(list221)[0] = "liza"; - questRoot23.Author = list221; - num = 4; - List list222 = new List(num); - CollectionsMarshal.SetCount(list222, num); - Span span78 = CollectionsMarshal.AsSpan(list222); - ref QuestSequence reference174 = ref span78[0]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - CollectionsMarshal.AsSpan(list223)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038653u, new Vector3(-492.0577f, 4.5676737f, 17.532532f), 957); - obj153.Steps = list223; - reference174 = obj153; - ref QuestSequence reference175 = ref span78[1]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.Interact, 1038656u, new Vector3(203.96729f, 60.34319f, -595.8496f), 957); - obj154.Steps = list224; - reference175 = obj154; - ref QuestSequence reference176 = ref span78[2]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.Interact, 1038657u, new Vector3(201.98364f, 60.34776f, -594.0185f), 957); - obj155.Steps = list225; - reference176 = obj155; - ref QuestSequence reference177 = ref span78[3]; - QuestSequence obj156 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - Span span79 = CollectionsMarshal.AsSpan(list226); - span79[0] = new QuestStep(EInteractionType.Interact, 2011936u, new Vector3(-108.56799f, 5.0201416f, 4.5318604f), 962) - { - TargetTerritoryId = (ushort)987, - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanBaldesionAnnex - } - }; - span79[1] = new QuestStep(EInteractionType.CompleteQuest, 1038589u, new Vector3(4.0740967f, 1.9073486E-06f, 2.029419f), 987); - obj156.Steps = list226; - reference177 = obj156; - questRoot23.QuestSequence = list222; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(4377); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list227 = new List(num); - CollectionsMarshal.SetCount(list227, num); - CollectionsMarshal.AsSpan(list227)[0] = "liza"; - questRoot24.Author = list227; - num = 6; - List list228 = new List(num); - CollectionsMarshal.SetCount(list228, num); - Span span80 = CollectionsMarshal.AsSpan(list228); - ref QuestSequence reference178 = ref span80[0]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040291u, new Vector3(-1.9379272f, 1.9073486E-06f, 1.5715942f), 987) - { - StopDistance = 5f - }; - obj157.Steps = list229; - reference178 = obj157; - ref QuestSequence reference179 = ref span80[1]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.Interact, 1037646u, new Vector3(-568.99365f, 9.817484f, -569.8787f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj158.Steps = list230; - reference179 = obj158; - ref QuestSequence reference180 = ref span80[2]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.Interact, 2011956u, new Vector3(-632.04395f, -0.015319824f, -659.6018f), 957); - obj159.Steps = list231; - reference180 = obj159; - ref QuestSequence reference181 = ref span80[3]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.Duty, null, null, 957) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 783u - } - }; - obj160.Steps = list232; - reference181 = obj160; - span80[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference182 = ref span80[5]; - QuestSequence obj161 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - CollectionsMarshal.AsSpan(list233)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040252u, new Vector3(-568.719f, 9.817484f, -581.323f), 957); - obj161.Steps = list233; - reference182 = obj161; - questRoot24.QuestSequence = list228; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(4378); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list234 = new List(num); - CollectionsMarshal.SetCount(list234, num); - CollectionsMarshal.AsSpan(list234)[0] = "liza"; - questRoot25.Author = list234; - num = 8; - List list235 = new List(num); - CollectionsMarshal.SetCount(list235, num); - Span span81 = CollectionsMarshal.AsSpan(list235); - ref QuestSequence reference183 = ref span81[0]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040252u, new Vector3(-568.719f, 9.817484f, -581.323f), 957); - obj162.Steps = list236; - reference183 = obj162; - ref QuestSequence reference184 = ref span81[1]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - CollectionsMarshal.AsSpan(list237)[0] = new QuestStep(EInteractionType.Interact, 1040283u, new Vector3(210.31506f, 60.712387f, -600.76294f), 957); - obj163.Steps = list237; - reference184 = obj163; - ref QuestSequence reference185 = ref span81[2]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.Interact, 1040255u, new Vector3(57.26709f, -27.000013f, 177.5387f), 963) - { - StopDistance = 5f - }; - obj164.Steps = list238; - reference185 = obj164; - ref QuestSequence reference186 = ref span81[3]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - Span span82 = CollectionsMarshal.AsSpan(list239); - span82[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 963) - { - AethernetShard = EAetheryteLocation.RadzAtHanAlzadaalsPeace - }; - span82[1] = new QuestStep(EInteractionType.Interact, 1040256u, new Vector3(-4.135254f, -1.9999973f, 85.40466f), 963); - obj165.Steps = list239; - reference186 = obj165; - ref QuestSequence reference187 = ref span81[4]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.Interact, 1040257u, new Vector3(-99.3515f, 20f, 110.52112f), 963); - obj166.Steps = list240; - reference187 = obj166; - ref QuestSequence reference188 = ref span81[5]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.Interact, 1040258u, new Vector3(-149.43164f, 27.999998f, 171.12988f), 963); - obj167.Steps = list241; - reference188 = obj167; - ref QuestSequence reference189 = ref span81[6]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 6 - }; - num2 = 3; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - Span span83 = CollectionsMarshal.AsSpan(list242); - span83[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 963) - { - AethernetShard = EAetheryteLocation.RadzAtHanAirship - }; - span83[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 963) - { - AethernetShard = EAetheryteLocation.RadzAtHanMeghaduta - }; - span83[2] = new QuestStep(EInteractionType.Interact, 1040259u, new Vector3(-341.93945f, 55f, -70.603516f), 963); - obj168.Steps = list242; - reference189 = obj168; - ref QuestSequence reference190 = ref span81[7]; - QuestSequence obj169 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040260u, new Vector3(-377.27936f, 45.00252f, -28.610718f), 963); - obj169.Steps = list243; - reference190 = obj169; - questRoot25.QuestSequence = list235; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(4379); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list244 = new List(num); - CollectionsMarshal.SetCount(list244, num); - CollectionsMarshal.AsSpan(list244)[0] = "liza"; - questRoot26.Author = list244; - num = 7; - List list245 = new List(num); - CollectionsMarshal.SetCount(list245, num); - Span span84 = CollectionsMarshal.AsSpan(list245); - ref QuestSequence reference191 = ref span84[0]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - CollectionsMarshal.AsSpan(list246)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040261u, new Vector3(-377.61505f, 45.002518f, -29.922974f), 963); - obj170.Steps = list246; - reference191 = obj170; - ref QuestSequence reference192 = ref span84[1]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.Interact, 1040262u, new Vector3(-237.01843f, 36f, 58.976074f), 963); - obj171.Steps = list247; - reference192 = obj171; - ref QuestSequence reference193 = ref span84[2]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - Span span85 = CollectionsMarshal.AsSpan(list248); - span85[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 963) - { - AethernetShard = EAetheryteLocation.RadzAtHanRuveydahFibers - }; - span85[1] = new QuestStep(EInteractionType.Interact, 1040264u, new Vector3(-106.49274f, 30.999998f, -14.54187f), 963); - obj172.Steps = list248; - reference193 = obj172; - ref QuestSequence reference194 = ref span84[3]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.Interact, 1040266u, new Vector3(3.982544f, -2.9207662E-05f, 0.99176025f), 963); - obj173.Steps = list249; - reference194 = obj173; - ref QuestSequence reference195 = ref span84[4]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - CollectionsMarshal.AsSpan(list250)[0] = new QuestStep(EInteractionType.Interact, 1040268u, new Vector3(87.5105f, 1.8631812f, -121.41614f), 963); - obj174.Steps = list250; - reference195 = obj174; - ref QuestSequence reference196 = ref span84[5]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - Span span86 = CollectionsMarshal.AsSpan(list251); - span86[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 963) - { - AethernetShard = EAetheryteLocation.RadzAtHanHighCrucible - }; - span86[1] = new QuestStep(EInteractionType.Interact, 1040276u, new Vector3(-99.076904f, 3.9334679f, 1.3884888f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanBaldesionAnnex - } - }; - obj175.Steps = list251; - reference196 = obj175; - ref QuestSequence reference197 = ref span84[6]; - QuestSequence obj176 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - ref QuestStep reference198 = ref CollectionsMarshal.AsSpan(list252)[0]; - QuestStep obj177 = new QuestStep(EInteractionType.CompleteQuest, 1038588u, new Vector3(-101.76245f, 4.357494f, 0.7476196f), 962) - { - StopDistance = 6f - }; - num3 = 1; - List list253 = new List(num3); - CollectionsMarshal.SetCount(list253, num3); - CollectionsMarshal.AsSpan(list253)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMA123_04379_Q1_000_163") - }; - obj177.DialogueChoices = list253; - reference198 = obj177; - obj176.Steps = list252; - reference197 = obj176; - questRoot26.QuestSequence = list245; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(4380); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list254 = new List(num); - CollectionsMarshal.SetCount(list254, num); - CollectionsMarshal.AsSpan(list254)[0] = "liza"; - questRoot27.Author = list254; - num = 7; - List list255 = new List(num); - CollectionsMarshal.SetCount(list255, num); - Span span87 = CollectionsMarshal.AsSpan(list255); - ref QuestSequence reference199 = ref span87[0]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038769u, new Vector3(-88.700745f, 3.8989394f, 0.8086548f), 962); - obj178.Steps = list256; - reference199 = obj178; - ref QuestSequence reference200 = ref span87[1]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.Interact, 1038771u, new Vector3(-107.49988f, 3.8006456f, 26.29126f), 962); - obj179.Steps = list257; - reference200 = obj179; - ref QuestSequence reference201 = ref span87[2]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - CollectionsMarshal.AsSpan(list258)[0] = new QuestStep(EInteractionType.Interact, 1038773u, new Vector3(-280.232f, 20f, -67.36859f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanBaldesionAnnex, - To = EAetheryteLocation.OldSharlayanStudium - } - }; - obj180.Steps = list258; - reference201 = obj180; - ref QuestSequence reference202 = ref span87[3]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - CollectionsMarshal.AsSpan(list259)[0] = new QuestStep(EInteractionType.Interact, 1038776u, new Vector3(-310.78058f, 20.0375f, -92.82062f), 962); - obj181.Steps = list259; - reference202 = obj181; - ref QuestSequence reference203 = ref span87[4]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.Interact, 1038500u, new Vector3(-357.83936f, 21.84602f, -91.32526f), 962) - { - StopDistance = 5f - }; - obj182.Steps = list260; - reference203 = obj182; - ref QuestSequence reference204 = ref span87[5]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.Interact, 1038760u, new Vector3(-298.5733f, 22.423145f, -149.67578f), 962); - obj183.Steps = list261; - reference204 = obj183; - ref QuestSequence reference205 = ref span87[6]; - QuestSequence obj184 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - CollectionsMarshal.AsSpan(list262)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038780u, new Vector3(-394.91876f, 20.8f, -107.927124f), 962); - obj184.Steps = list262; - reference205 = obj184; - questRoot27.QuestSequence = list255; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(4381); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list263 = new List(num); - CollectionsMarshal.SetCount(list263, num); - CollectionsMarshal.AsSpan(list263)[0] = "liza"; - questRoot28.Author = list263; - num = 4; - List list264 = new List(num); - CollectionsMarshal.SetCount(list264, num); - Span span88 = CollectionsMarshal.AsSpan(list264); - ref QuestSequence reference206 = ref span88[0]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038781u, new Vector3(-393.2403f, 20.8f, -105.760315f), 962); - obj185.Steps = list265; - reference206 = obj185; - ref QuestSequence reference207 = ref span88[1]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - Span span89 = CollectionsMarshal.AsSpan(list266); - span89[0] = new QuestStep(EInteractionType.Interact, 2011936u, new Vector3(-108.56799f, 5.0201416f, 4.5318604f), 962) - { - TargetTerritoryId = (ushort)987, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanStudium, - To = EAetheryteLocation.OldSharlayanBaldesionAnnex - } - }; - span89[1] = new QuestStep(EInteractionType.Interact, 1038784u, new Vector3(-0.22894287f, 1.9073486E-06f, -11.12384f), 987); - obj186.Steps = list266; - reference207 = obj186; - ref QuestSequence reference208 = ref span88[2]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - ref QuestStep reference209 = ref CollectionsMarshal.AsSpan(list267)[0]; - QuestStep obj188 = new QuestStep(EInteractionType.Interact, 1001029u, new Vector3(9.170593f, 20.999403f, -15.213318f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa - }; - num3 = 1; - List list268 = new List(num3); - CollectionsMarshal.SetCount(list268, num3); - CollectionsMarshal.AsSpan(list268)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMB102_04381_Q1_000_067") - }; - obj188.DialogueChoices = list268; - reference209 = obj188; - obj187.Steps = list267; - reference208 = obj187; - ref QuestSequence reference210 = ref span88[3]; - QuestSequence obj189 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - CollectionsMarshal.AsSpan(list269)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038796u, new Vector3(745.9678f, 69.999954f, 525.2003f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter - }; - obj189.Steps = list269; - reference210 = obj189; - questRoot28.QuestSequence = list264; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(4382); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list270 = new List(num); - CollectionsMarshal.SetCount(list270, num); - CollectionsMarshal.AsSpan(list270)[0] = "liza"; - questRoot29.Author = list270; - num = 6; - List list271 = new List(num); - CollectionsMarshal.SetCount(list271, num); - Span span90 = CollectionsMarshal.AsSpan(list271); - ref QuestSequence reference211 = ref span90[0]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - CollectionsMarshal.AsSpan(list272)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038802u, new Vector3(746.63916f, 69.999954f, 523.39966f), 621) - { - StopDistance = 5f - }; - obj190.Steps = list272; - reference211 = obj190; - ref QuestSequence reference212 = ref span90[1]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - ref QuestStep reference213 = ref CollectionsMarshal.AsSpan(list273)[0]; - QuestStep obj192 = new QuestStep(EInteractionType.Interact, 1024065u, new Vector3(749.9961f, 70.139626f, 522.88086f), 621) - { - StopDistance = 7f - }; - num3 = 1; - List list274 = new List(num3); - CollectionsMarshal.SetCount(list274, num3); - CollectionsMarshal.AsSpan(list274)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMB103_04382_Q1_000_052") - }; - obj192.DialogueChoices = list274; - reference213 = obj192; - obj191.Steps = list273; - reference212 = obj191; - ref QuestSequence reference214 = ref span90[2]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.Interact, 1038804u, new Vector3(251.81958f, 121.999985f, -360.586f), 737); - obj193.Steps = list275; - reference214 = obj193; - ref QuestSequence reference215 = ref span90[3]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 3 - }; - num2 = 5; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - Span span91 = CollectionsMarshal.AsSpan(list276); - ref QuestStep reference216 = ref span91[0]; - QuestStep obj195 = new QuestStep(EInteractionType.Interact, 1038811u, new Vector3(244.31213f, 122f, -362.96637f), 737) - { - StopDistance = 7f, - Comment = "A-Ruhn-Senna" - }; - num3 = 6; - List list277 = new List(num3); - CollectionsMarshal.SetCount(list277, num3); - Span span92 = CollectionsMarshal.AsSpan(list277); - span92[0] = null; - span92[1] = null; - span92[2] = null; - span92[3] = null; - span92[4] = null; - span92[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj195.CompletionQuestVariablesFlags = list277; - reference216 = obj195; - ref QuestStep reference217 = ref span91[1]; - QuestStep obj196 = new QuestStep(EInteractionType.Interact, 1038812u, new Vector3(245.77698f, 122f, -366.47595f), 737) - { - StopDistance = 7f, - Comment = "Sicard" - }; - num3 = 6; - List list278 = new List(num3); - CollectionsMarshal.SetCount(list278, num3); - Span span93 = CollectionsMarshal.AsSpan(list278); - span93[0] = null; - span93[1] = null; - span93[2] = null; - span93[3] = null; - span93[4] = null; - span93[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj196.CompletionQuestVariablesFlags = list278; - reference217 = obj196; - ref QuestStep reference218 = ref span91[2]; - QuestStep obj197 = new QuestStep(EInteractionType.Interact, 1038813u, new Vector3(250.78198f, 122f, -366.84216f), 737) - { - StopDistance = 7f, - Comment = "Lyse" - }; - num3 = 6; - List list279 = new List(num3); - CollectionsMarshal.SetCount(list279, num3); - Span span94 = CollectionsMarshal.AsSpan(list279); - span94[0] = null; - span94[1] = null; - span94[2] = null; - span94[3] = null; - span94[4] = null; - span94[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj197.CompletionQuestVariablesFlags = list279; - reference218 = obj197; - ref QuestStep reference219 = ref span91[3]; - QuestStep obj198 = new QuestStep(EInteractionType.Interact, 1038814u, new Vector3(251.23975f, 122f, -363.9124f), 737) - { - StopDistance = 7f, - Comment = "Lucia" - }; - num3 = 6; - List list280 = new List(num3); - CollectionsMarshal.SetCount(list280, num3); - Span span95 = CollectionsMarshal.AsSpan(list280); - span95[0] = null; - span95[1] = null; - span95[2] = null; - span95[3] = null; - span95[4] = null; - span95[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj198.CompletionQuestVariablesFlags = list280; - reference219 = obj198; - ref QuestStep reference220 = ref span91[4]; - QuestStep obj199 = new QuestStep(EInteractionType.Interact, 1038815u, new Vector3(250.17163f, 122f, -352.34613f), 737) - { - StopDistance = 7f, - Comment = "Cirina" - }; - num3 = 6; - List list281 = new List(num3); - CollectionsMarshal.SetCount(list281, num3); - Span span96 = CollectionsMarshal.AsSpan(list281); - span96[0] = null; - span96[1] = null; - span96[2] = null; - span96[3] = null; - span96[4] = null; - span96[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj199.CompletionQuestVariablesFlags = list281; - reference220 = obj199; - obj194.Steps = list276; - reference215 = obj194; - ref QuestSequence reference221 = ref span90[4]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - CollectionsMarshal.AsSpan(list282)[0] = new QuestStep(EInteractionType.Interact, 1038816u, new Vector3(254.23047f, 122f, -364.9806f), 737) - { - StopDistance = 7f - }; - obj200.Steps = list282; - reference221 = obj200; - ref QuestSequence reference222 = ref span90[5]; - QuestSequence obj201 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038817u, new Vector3(756.31335f, 69.9999f, 534.3251f), 621) - { - StopDistance = 7f - }; - obj201.Steps = list283; - reference222 = obj201; - questRoot29.QuestSequence = list271; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(4383); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list284 = new List(num); - CollectionsMarshal.SetCount(list284, num); - CollectionsMarshal.AsSpan(list284)[0] = "liza"; - questRoot30.Author = list284; - num = 8; - List list285 = new List(num); - CollectionsMarshal.SetCount(list285, num); - Span span97 = CollectionsMarshal.AsSpan(list285); - ref QuestSequence reference223 = ref span97[0]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - CollectionsMarshal.AsSpan(list286)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038824u, new Vector3(750.97266f, 69.99991f, 534.78296f), 621); - obj202.Steps = list286; - reference223 = obj202; - ref QuestSequence reference224 = ref span97[1]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - ref QuestStep reference225 = ref CollectionsMarshal.AsSpan(list287)[0]; - QuestStep obj204 = new QuestStep(EInteractionType.SinglePlayerDuty, 1038825u, new Vector3(742.5803f, 69.99999f, 539.6046f), 621) - { - Comment = "A Frosty Reception" - }; - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions(); - num3 = 1; - List list288 = new List(num3); - CollectionsMarshal.SetCount(list288, num3); - CollectionsMarshal.AsSpan(list288)[0] = "(Thancred) How many enemies get pulled during the stealth section is random; if you pull multiple you can die here. Can probably be fixed by retrying on very easy."; - singlePlayerDutyOptions.Notes = list288; - obj204.SinglePlayerDutyOptions = singlePlayerDutyOptions; - num3 = 2; - List list289 = new List(num3); - CollectionsMarshal.SetCount(list289, num3); - Span span98 = CollectionsMarshal.AsSpan(list289); - span98[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef(264u), - Answer = new ExcelRef(267u) - }; - span98[1] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef(268u) - }; - obj204.DialogueChoices = list289; - reference225 = obj204; - obj203.Steps = list287; - reference224 = obj203; - span97[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference226 = ref span97[3]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - Span span99 = CollectionsMarshal.AsSpan(list290); - span99[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 958) - { - StopDistance = 7f, - Aetheryte = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - span99[1] = new QuestStep(EInteractionType.Interact, 1038826u, new Vector3(-399.31335f, 22.03761f, 454.45935f), 958); - obj205.Steps = list290; - reference226 = obj205; - ref QuestSequence reference227 = ref span97[4]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - CollectionsMarshal.AsSpan(list291)[0] = new QuestStep(EInteractionType.Interact, 1038836u, new Vector3(-439.9939f, 22.000002f, 497.79492f), 958); - obj206.Steps = list291; - reference227 = obj206; - ref QuestSequence reference228 = ref span97[5]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - CollectionsMarshal.AsSpan(list292)[0] = new QuestStep(EInteractionType.Interact, 1038835u, new Vector3(-366.17078f, 22f, 514.4884f), 958); - obj207.Steps = list292; - reference228 = obj207; - ref QuestSequence reference229 = ref span97[6]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - CollectionsMarshal.AsSpan(list293)[0] = new QuestStep(EInteractionType.Interact, 1038828u, new Vector3(-334.5846f, 23.803606f, 404.65393f), 958) - { - StopDistance = 7f - }; - obj208.Steps = list293; - reference229 = obj208; - ref QuestSequence reference230 = ref span97[7]; - QuestSequence obj209 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - CollectionsMarshal.AsSpan(list294)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038837u, new Vector3(-353.41425f, 22.717295f, 435.62976f), 958) - { - StopDistance = 5f - }; - obj209.Steps = list294; - reference230 = obj209; - questRoot30.QuestSequence = list285; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(4384); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list295 = new List(num); - CollectionsMarshal.SetCount(list295, num); - CollectionsMarshal.AsSpan(list295)[0] = "liza"; - questRoot31.Author = list295; - num = 8; - List list296 = new List(num); - CollectionsMarshal.SetCount(list296, num); - Span span100 = CollectionsMarshal.AsSpan(list296); - ref QuestSequence reference231 = ref span100[0]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - CollectionsMarshal.AsSpan(list297)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038839u, new Vector3(-350.1488f, 22.738518f, 435.56873f), 958) - { - StopDistance = 7f - }; - obj210.Steps = list297; - reference231 = obj210; - ref QuestSequence reference232 = ref span100[1]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - Span span101 = CollectionsMarshal.AsSpan(list298); - span101[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-210.6673f, 15.799101f, 451.78333f), 958); - span101[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2012000u, new Vector3(-184.22223f, 31.937134f, 423.6056f), 958) - { - StopDistance = 5f, - DisableNavmesh = true, - AetherCurrentId = 2818344u - }; - span101[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-188.84349f, 20.31553f, 406.13293f), 958) - { - StopDistance = 1f, - DisableNavmesh = true, - Mount = true - }; - span101[3] = new QuestStep(EInteractionType.Interact, 1038840u, new Vector3(-157.06122f, 18.316332f, 364.06494f), 958); - obj211.Steps = list298; - reference232 = obj211; - ref QuestSequence reference233 = ref span100[2]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - Span span102 = CollectionsMarshal.AsSpan(list299); - span102[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-135.94785f, 3.426586f, 360.1115f), 958) - { - StopDistance = 1f, - DisableNavmesh = true, - Mount = true - }; - span102[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-48.166317f, -0.8113563f, 374.09103f), 958); - span102[2] = new QuestStep(EInteractionType.Interact, 2012076u, new Vector3(-31.265808f, -0.25946045f, 362.81372f), 958); - obj212.Steps = list299; - reference233 = obj212; - ref QuestSequence reference234 = ref span100[3]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - CollectionsMarshal.AsSpan(list300)[0] = new QuestStep(EInteractionType.Interact, 2012077u, new Vector3(36.942017f, -12.039368f, 362.2339f), 958); - obj213.Steps = list300; - reference234 = obj213; - ref QuestSequence reference235 = ref span100[4]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - CollectionsMarshal.AsSpan(list301)[0] = new QuestStep(EInteractionType.Interact, 1038843u, new Vector3(66.84973f, -14.344919f, 385.7328f), 958); - obj214.Steps = list301; - reference235 = obj214; - ref QuestSequence reference236 = ref span100[5]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list302 = new List(num2); - CollectionsMarshal.SetCount(list302, num2); - CollectionsMarshal.AsSpan(list302)[0] = new QuestStep(EInteractionType.Interact, 2012078u, new Vector3(117.81482f, -16.922302f, 390.46313f), 958) - { - Comment = "Follow Girl in Green" - }; - obj215.Steps = list302; - reference236 = obj215; - ref QuestSequence reference237 = ref span100[6]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 6 - }; - num2 = 13; - List list303 = new List(num2); - CollectionsMarshal.SetCount(list303, num2); - Span span103 = CollectionsMarshal.AsSpan(list303); - ref QuestStep reference238 = ref span103[0]; - QuestStep obj217 = new QuestStep(EInteractionType.Interact, 2012078u, new Vector3(117.81482f, -16.922302f, 390.46313f), 958) - { - Comment = "retry point", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - num3 = 1; - List list304 = new List(num3); - CollectionsMarshal.SetCount(list304, num3); - CollectionsMarshal.AsSpan(list304)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMB105_04384_Q1_000_116") - }; - obj217.DialogueChoices = list304; - reference238 = obj217; - span103[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1038845u, new Vector3(156.66682f, -18.078814f, 361.58972f), 958) - { - StopDistance = 100f, - NpcWaitDistance = 5f, - Mount = false, - Sprint = false - }; - span103[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(204.82344f, -19.113703f, 373.52936f), 958) - { - DelaySecondsAtStart = 1f, - Mount = false, - Sprint = false - }; - span103[3] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1038845u, new Vector3(232.28406f, -16.777779f, 339.1168f), 958) - { - StopDistance = 100f, - NpcWaitDistance = 5f, - Mount = false, - Sprint = false - }; - span103[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(272.79572f, -13.174152f, 317.53406f), 958) - { - DelaySecondsAtStart = 8f, - Mount = false, - Sprint = false - }; - span103[5] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1038845u, new Vector3(287.9112f, -11.811615f, 292.6589f), 958) - { - StopDistance = 100f, - NpcWaitDistance = 5f, - Mount = false, - Sprint = false - }; - span103[6] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(323.9364f, -10.539692f, 254.19264f), 958) - { - Mount = false, - Sprint = false - }; - span103[7] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1038845u, new Vector3(354.5913f, -5.5008125f, 245.22939f), 958) - { - StopDistance = 100f, - NpcWaitDistance = 5f, - Mount = false, - Sprint = false - }; - span103[8] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(354.71964f, -2.2201555f, 233.99152f), 958) - { - DelaySecondsAtStart = 1f, - Mount = false, - Sprint = false - }; - span103[9] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1038845u, new Vector3(382.75116f, 2.7549856f, 226.49387f), 958) - { - StopDistance = 40f, - NpcWaitDistance = 5f, - Mount = false, - Sprint = false - }; - span103[10] = new QuestStep(EInteractionType.WalkTo, 1038845u, new Vector3(408.44272f, 4.965298f, 208.22794f), 958) - { - StopDistance = 45f, - Mount = false, - Sprint = false, - IgnoreDistanceToObject = true - }; - span103[11] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1038845u, new Vector3(426.39246f, 5.348692f, 194.86263f), 958) - { - StopDistance = 100f, - NpcWaitDistance = 5f, - Mount = false, - Sprint = false - }; - span103[12] = new QuestStep(EInteractionType.WalkTo, 1038846u, new Vector3(555.8098f, 32.30835f, 159.10571f), 958) - { - Mount = false, - RestartNavigationIfCancelled = false - }; - obj216.Steps = list303; - reference237 = obj216; - ref QuestSequence reference239 = ref span100[7]; - QuestSequence obj218 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - CollectionsMarshal.AsSpan(list305)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038846u, new Vector3(555.8098f, 32.30835f, 159.10571f), 958); - obj218.Steps = list305; - reference239 = obj218; - questRoot31.QuestSequence = list296; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(4385); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list306 = new List(num); - CollectionsMarshal.SetCount(list306, num); - CollectionsMarshal.AsSpan(list306)[0] = "liza"; - questRoot32.Author = list306; - num = 9; - List list307 = new List(num); - CollectionsMarshal.SetCount(list307, num); - Span span104 = CollectionsMarshal.AsSpan(list307); - ref QuestSequence reference240 = ref span104[0]; - QuestSequence obj219 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - CollectionsMarshal.AsSpan(list308)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038847u, new Vector3(563.9885f, 32.318867f, 150.04187f), 958) - { - StopDistance = 5f - }; - obj219.Steps = list308; - reference240 = obj219; - ref QuestSequence reference241 = ref span104[1]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - CollectionsMarshal.AsSpan(list309)[0] = new QuestStep(EInteractionType.Interact, 1038849u, new Vector3(588.464f, 38.372063f, 216.6018f), 958); - obj220.Steps = list309; - reference241 = obj220; - ref QuestSequence reference242 = ref span104[2]; - QuestSequence obj221 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - CollectionsMarshal.AsSpan(list310)[0] = new QuestStep(EInteractionType.Interact, 1038850u, new Vector3(589.8069f, 38.372063f, 217.54773f), 958) - { - StopDistance = 5f - }; - obj221.Steps = list310; - reference242 = obj221; - ref QuestSequence reference243 = ref span104[3]; - QuestSequence obj222 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list311 = new List(num2); - CollectionsMarshal.SetCount(list311, num2); - CollectionsMarshal.AsSpan(list311)[0] = new QuestStep(EInteractionType.Interact, 1038851u, new Vector3(591.33276f, 38.372063f, 214.55713f), 958) - { - StopDistance = 5f - }; - obj222.Steps = list311; - reference243 = obj222; - ref QuestSequence reference244 = ref span104[4]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - CollectionsMarshal.AsSpan(list312)[0] = new QuestStep(EInteractionType.Interact, 1038852u, new Vector3(585.046f, 38.372063f, 216.05249f), 958) - { - StopDistance = 5f - }; - obj223.Steps = list312; - reference244 = obj223; - ref QuestSequence reference245 = ref span104[5]; - QuestSequence obj224 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list313 = new List(num2); - CollectionsMarshal.SetCount(list313, num2); - CollectionsMarshal.AsSpan(list313)[0] = new QuestStep(EInteractionType.Interact, 1038847u, new Vector3(563.9885f, 32.318867f, 150.04187f), 958); - obj224.Steps = list313; - reference245 = obj224; - ref QuestSequence reference246 = ref span104[6]; - QuestSequence obj225 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - Span span105 = CollectionsMarshal.AsSpan(list314); - span105[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2012001u, new Vector3(194.81189f, -12.863403f, 644.28174f), 958) - { - AetherCurrentId = 2818345u - }; - ref QuestStep reference247 = ref span105[1]; - QuestStep obj226 = new QuestStep(EInteractionType.Combat, 1038853u, new Vector3(156.75586f, -14.955569f, 623.22424f), 958) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list315 = new List(num3); - CollectionsMarshal.SetCount(list315, num3); - Span span106 = CollectionsMarshal.AsSpan(list315); - span106[0] = 14085u; - span106[1] = 14086u; - obj226.KillEnemyDataIds = list315; - reference247 = obj226; - obj225.Steps = list314; - reference246 = obj225; - ref QuestSequence reference248 = ref span104[7]; - QuestSequence obj227 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - CollectionsMarshal.AsSpan(list316)[0] = new QuestStep(EInteractionType.Interact, 1037712u, new Vector3(136.5835f, -13.28456f, 650.26306f), 958) - { - Mount = false, - RestartNavigationIfCancelled = false - }; - obj227.Steps = list316; - reference248 = obj227; - ref QuestSequence reference249 = ref span104[8]; - QuestSequence obj228 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list317 = new List(num2); - CollectionsMarshal.SetCount(list317, num2); - CollectionsMarshal.AsSpan(list317)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038856u, new Vector3(137.65161f, -13.278784f, 648.249f), 958) - { - StopDistance = 5f - }; - obj228.Steps = list317; - reference249 = obj228; - questRoot32.QuestSequence = list307; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(4386); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list318 = new List(num); - CollectionsMarshal.SetCount(list318, num); - CollectionsMarshal.AsSpan(list318)[0] = "liza"; - questRoot33.Author = list318; - num = 8; - List list319 = new List(num); - CollectionsMarshal.SetCount(list319, num); - Span span107 = CollectionsMarshal.AsSpan(list319); - ref QuestSequence reference250 = ref span107[0]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list320 = new List(num2); - CollectionsMarshal.SetCount(list320, num2); - CollectionsMarshal.AsSpan(list320)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037712u, new Vector3(136.5835f, -13.28456f, 650.26306f), 958) - { - StopDistance = 5f - }; - obj229.Steps = list320; - reference250 = obj229; - ref QuestSequence reference251 = ref span107[1]; - QuestSequence obj230 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list321 = new List(num2); - CollectionsMarshal.SetCount(list321, num2); - CollectionsMarshal.AsSpan(list321)[0] = new QuestStep(EInteractionType.Interact, 1038857u, new Vector3(559.0753f, 32.322315f, 159.4414f), 958); - obj230.Steps = list321; - reference251 = obj230; - ref QuestSequence reference252 = ref span107[2]; - QuestSequence obj231 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list322 = new List(num2); - CollectionsMarshal.SetCount(list322, num2); - CollectionsMarshal.AsSpan(list322)[0] = new QuestStep(EInteractionType.Interact, 1038858u, new Vector3(596.5818f, 32.318665f, 138.8418f), 958); - obj231.Steps = list322; - reference252 = obj231; - ref QuestSequence reference253 = ref span107[3]; - QuestSequence obj232 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list323 = new List(num2); - CollectionsMarshal.SetCount(list323, num2); - CollectionsMarshal.AsSpan(list323)[0] = new QuestStep(EInteractionType.Interact, 1038862u, new Vector3(504.96667f, 19.447378f, 175.73816f), 958); - obj232.Steps = list323; - reference253 = obj232; - ref QuestSequence reference254 = ref span107[4]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list324 = new List(num2); - CollectionsMarshal.SetCount(list324, num2); - CollectionsMarshal.AsSpan(list324)[0] = new QuestStep(EInteractionType.Interact, 1038863u, new Vector3(310.71948f, -16.262552f, 357.01526f), 958); - obj233.Steps = list324; - reference254 = obj233; - ref QuestSequence reference255 = ref span107[5]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list325 = new List(num2); - CollectionsMarshal.SetCount(list325, num2); - CollectionsMarshal.AsSpan(list325)[0] = new QuestStep(EInteractionType.Interact, 2012083u, new Vector3(429.86182f, -17.410583f, 543.6942f), 958); - obj234.Steps = list325; - reference255 = obj234; - ref QuestSequence reference256 = ref span107[6]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list326 = new List(num2); - CollectionsMarshal.SetCount(list326, num2); - CollectionsMarshal.AsSpan(list326)[0] = new QuestStep(EInteractionType.Interact, 1038865u, new Vector3(583.85596f, -15.842519f, 625.63513f), 958); - obj235.Steps = list326; - reference256 = obj235; - ref QuestSequence reference257 = ref span107[7]; - QuestSequence obj236 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list327 = new List(num2); - CollectionsMarshal.SetCount(list327, num2); - CollectionsMarshal.AsSpan(list327)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038867u, new Vector3(605.9509f, 34.7239f, 202.47192f), 958); - obj236.Steps = list327; - reference257 = obj236; - questRoot33.QuestSequence = list319; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(4387); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list328 = new List(num); - CollectionsMarshal.SetCount(list328, num); - CollectionsMarshal.AsSpan(list328)[0] = "liza"; - questRoot34.Author = list328; - num = 7; - List list329 = new List(num); - CollectionsMarshal.SetCount(list329, num); - Span span108 = CollectionsMarshal.AsSpan(list329); - ref QuestSequence reference258 = ref span108[0]; - QuestSequence obj237 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list330 = new List(num2); - CollectionsMarshal.SetCount(list330, num2); - CollectionsMarshal.AsSpan(list330)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038868u, new Vector3(605.9204f, 34.7239f, 201.09851f), 958); - obj237.Steps = list330; - reference258 = obj237; - ref QuestSequence reference259 = ref span108[1]; - QuestSequence obj238 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list331 = new List(num2); - CollectionsMarshal.SetCount(list331, num2); - CollectionsMarshal.AsSpan(list331)[0] = new QuestStep(EInteractionType.Interact, 1039864u, new Vector3(-334.12683f, 23.803606f, 405.2644f), 958) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - obj238.Steps = list331; - reference259 = obj238; - ref QuestSequence reference260 = ref span108[2]; - QuestSequence obj239 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list332 = new List(num2); - CollectionsMarshal.SetCount(list332, num2); - CollectionsMarshal.AsSpan(list332)[0] = new QuestStep(EInteractionType.Interact, 1039870u, new Vector3(-358.14453f, 22.554066f, 430.01453f), 958) - { - StopDistance = 5f - }; - obj239.Steps = list332; - reference260 = obj239; - ref QuestSequence reference261 = ref span108[3]; - QuestSequence obj240 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list333 = new List(num2); - CollectionsMarshal.SetCount(list333, num2); - CollectionsMarshal.AsSpan(list333)[0] = new QuestStep(EInteractionType.Interact, 1039878u, new Vector3(-362.1729f, 22.071072f, 434.01233f), 958) - { - StopDistance = 7f - }; - obj240.Steps = list333; - reference261 = obj240; - ref QuestSequence reference262 = ref span108[4]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - ref QuestStep reference263 = ref CollectionsMarshal.AsSpan(list334)[0]; - QuestStep obj242 = new QuestStep(EInteractionType.Interact, 1039880u, new Vector3(-308.36963f, 22.468344f, 365.7129f), 958) - { - Comment = "Follow Alphinaud and Alisaie" - }; - num3 = 1; - List list335 = new List(num3); - CollectionsMarshal.SetCount(list335, num3); - CollectionsMarshal.AsSpan(list335)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMB108_04387_Q1_000_161") - }; - obj242.DialogueChoices = list335; - reference263 = obj242; - obj241.Steps = list334; - reference262 = obj241; - ref QuestSequence reference264 = ref span108[5]; - QuestSequence obj243 = new QuestSequence - { - Sequence = 5 - }; - num2 = 4; - List list336 = new List(num2); - CollectionsMarshal.SetCount(list336, num2); - Span span109 = CollectionsMarshal.AsSpan(list336); - span109[0] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1039882u, new Vector3(-286.71664f, 5.6315875f, 264.1926f), 958) - { - NpcWaitDistance = 5f, - Mount = false, - Sprint = false - }; - span109[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1039882u, new Vector3(-126.2175f, 0.18809877f, 233.39058f), 958) - { - NpcWaitDistance = 5f, - Mount = false, - Sprint = false - }; - span109[2] = new QuestStep(EInteractionType.WalkTo, 1039882u, new Vector3(67.2465f, 0.33215836f, 149.8282f), 958) - { - Mount = false, - Sprint = false - }; - span109[3] = new QuestStep(EInteractionType.Interact, 1039880u, new Vector3(66.50907f, 0.26087344f, 149.46323f), 958) - { - StopDistance = 1f - }; - obj243.Steps = list336; - reference264 = obj243; - ref QuestSequence reference265 = ref span108[6]; - QuestSequence obj244 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list337 = new List(num2); - CollectionsMarshal.SetCount(list337, num2); - CollectionsMarshal.AsSpan(list337)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039883u, new Vector3(64.65234f, 0.21427588f, 147.8446f), 958) - { - StopDistance = 5f - }; - obj244.Steps = list337; - reference265 = obj244; - questRoot34.QuestSequence = list329; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(4388); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list338 = new List(num); - CollectionsMarshal.SetCount(list338, num); - CollectionsMarshal.AsSpan(list338)[0] = "liza"; - questRoot35.Author = list338; - num = 12; - List list339 = new List(num); - CollectionsMarshal.SetCount(list339, num); - Span span110 = CollectionsMarshal.AsSpan(list339); - ref QuestSequence reference266 = ref span110[0]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list340 = new List(num2); - CollectionsMarshal.SetCount(list340, num2); - CollectionsMarshal.AsSpan(list340)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039883u, new Vector3(64.65234f, 0.21427588f, 147.8446f), 958) - { - StopDistance = 5f - }; - obj245.Steps = list340; - reference266 = obj245; - ref QuestSequence reference267 = ref span110[1]; - QuestSequence obj246 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - ref QuestStep reference268 = ref CollectionsMarshal.AsSpan(list341)[0]; - QuestStep obj247 = new QuestStep(EInteractionType.Combat, null, new Vector3(168.04597f, 0.96746624f, 103.04115f), 958) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list342 = new List(num3); - CollectionsMarshal.SetCount(list342, num3); - Span span111 = CollectionsMarshal.AsSpan(list342); - span111[0] = 14083u; - span111[1] = 14084u; - obj247.KillEnemyDataIds = list342; - reference268 = obj247; - obj246.Steps = list341; - reference267 = obj246; - ref QuestSequence reference269 = ref span110[2]; - QuestSequence obj248 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list343 = new List(num2); - CollectionsMarshal.SetCount(list343, num2); - CollectionsMarshal.AsSpan(list343)[0] = new QuestStep(EInteractionType.Interact, 1038761u, new Vector3(169.2378f, 0.99992824f, 105.82129f), 958) - { - StopDistance = 5f - }; - obj248.Steps = list343; - reference269 = obj248; - ref QuestSequence reference270 = ref span110[3]; - QuestSequence obj249 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list344 = new List(num2); - CollectionsMarshal.SetCount(list344, num2); - ref QuestStep reference271 = ref CollectionsMarshal.AsSpan(list344)[0]; - QuestStep obj250 = new QuestStep(EInteractionType.Combat, null, new Vector3(301.11044f, 5.506278f, 78.14653f), 958) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list345 = new List(num3); - CollectionsMarshal.SetCount(list345, num3); - CollectionsMarshal.AsSpan(list345)[0] = 14082u; - obj250.KillEnemyDataIds = list345; - reference271 = obj250; - obj249.Steps = list344; - reference270 = obj249; - ref QuestSequence reference272 = ref span110[4]; - QuestSequence obj251 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list346 = new List(num2); - CollectionsMarshal.SetCount(list346, num2); - CollectionsMarshal.AsSpan(list346)[0] = new QuestStep(EInteractionType.Interact, 1038766u, new Vector3(301.19775f, 5.5300293f, 76.67651f), 958) - { - StopDistance = 5f - }; - obj251.Steps = list346; - reference272 = obj251; - ref QuestSequence reference273 = ref span110[5]; - QuestSequence obj252 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list347 = new List(num2); - CollectionsMarshal.SetCount(list347, num2); - CollectionsMarshal.AsSpan(list347)[0] = new QuestStep(EInteractionType.Interact, 1040164u, new Vector3(387.28918f, 3.8935592f, 71.97681f), 958); - obj252.Steps = list347; - reference273 = obj252; - ref QuestSequence reference274 = ref span110[6]; - QuestSequence obj253 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list348 = new List(num2); - CollectionsMarshal.SetCount(list348, num2); - ref QuestStep reference275 = ref CollectionsMarshal.AsSpan(list348)[0]; - QuestStep obj254 = new QuestStep(EInteractionType.Combat, null, new Vector3(527.62775f, 14.620869f, -164.97536f), 958) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list349 = new List(num3); - CollectionsMarshal.SetCount(list349, num3); - CollectionsMarshal.AsSpan(list349)[0] = 14081u; - obj254.KillEnemyDataIds = list349; - reference275 = obj254; - obj253.Steps = list348; - reference274 = obj253; - ref QuestSequence reference276 = ref span110[7]; - QuestSequence obj255 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - CollectionsMarshal.AsSpan(list350)[0] = new QuestStep(EInteractionType.Interact, 1040750u, new Vector3(526.9092f, 14.616225f, -162.85956f), 958) - { - StopDistance = 5f - }; - obj255.Steps = list350; - reference276 = obj255; - ref QuestSequence reference277 = ref span110[8]; - QuestSequence obj256 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list351 = new List(num2); - CollectionsMarshal.SetCount(list351, num2); - CollectionsMarshal.AsSpan(list351)[0] = new QuestStep(EInteractionType.Interact, 1039886u, new Vector3(520.8667f, 10.800001f, -352.49866f), 958); - obj256.Steps = list351; - reference277 = obj256; - ref QuestSequence reference278 = ref span110[9]; - QuestSequence obj257 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list352 = new List(num2); - CollectionsMarshal.SetCount(list352, num2); - CollectionsMarshal.AsSpan(list352)[0] = new QuestStep(EInteractionType.Interact, 1039889u, new Vector3(509.4834f, 10.800001f, -422.62915f), 958); - obj257.Steps = list352; - reference278 = obj257; - ref QuestSequence reference279 = ref span110[10]; - QuestSequence obj258 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list353 = new List(num2); - CollectionsMarshal.SetCount(list353, num2); - CollectionsMarshal.AsSpan(list353)[0] = new QuestStep(EInteractionType.Interact, 1039890u, new Vector3(528.2825f, -36.65f, -251.48401f), 958); - obj258.Steps = list353; - reference279 = obj258; - ref QuestSequence reference280 = ref span110[11]; - QuestSequence obj259 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list354 = new List(num2); - CollectionsMarshal.SetCount(list354, num2); - CollectionsMarshal.AsSpan(list354)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039892u, new Vector3(547.5393f, -35.24417f, -192.27899f), 958); - obj259.Steps = list354; - reference280 = obj259; - questRoot35.QuestSequence = list339; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(4389); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list355 = new List(num); - CollectionsMarshal.SetCount(list355, num); - CollectionsMarshal.AsSpan(list355)[0] = "liza"; - questRoot36.Author = list355; - num = 6; - List list356 = new List(num); - CollectionsMarshal.SetCount(list356, num); - Span span112 = CollectionsMarshal.AsSpan(list356); - ref QuestSequence reference281 = ref span112[0]; - QuestSequence obj260 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list357 = new List(num2); - CollectionsMarshal.SetCount(list357, num2); - CollectionsMarshal.AsSpan(list357)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039896u, new Vector3(530.1747f, -36.65f, -175.86023f), 958); - obj260.Steps = list357; - reference281 = obj260; - ref QuestSequence reference282 = ref span112[1]; - QuestSequence obj261 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list358 = new List(num2); - CollectionsMarshal.SetCount(list358, num2); - Span span113 = CollectionsMarshal.AsSpan(list358); - ref QuestStep reference283 = ref span113[0]; - QuestStep obj262 = new QuestStep(EInteractionType.Interact, 1037716u, new Vector3(524.43726f, -36.65f, -186.69415f), 958) - { - Comment = "Caeso" - }; - num3 = 6; - List list359 = new List(num3); - CollectionsMarshal.SetCount(list359, num3); - Span span114 = CollectionsMarshal.AsSpan(list359); - span114[0] = null; - span114[1] = null; - span114[2] = null; - span114[3] = null; - span114[4] = null; - span114[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj262.CompletionQuestVariablesFlags = list359; - reference283 = obj262; - ref QuestStep reference284 = ref span113[1]; - QuestStep obj263 = new QuestStep(EInteractionType.Interact, 1037718u, new Vector3(512.62683f, -36.65f, -160.3266f), 958) - { - Comment = "Octavia" - }; - num3 = 6; - List list360 = new List(num3); - CollectionsMarshal.SetCount(list360, num3); - Span span115 = CollectionsMarshal.AsSpan(list360); - span115[0] = null; - span115[1] = null; - span115[2] = null; - span115[3] = null; - span115[4] = null; - span115[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj263.CompletionQuestVariablesFlags = list360; - reference284 = obj263; - ref QuestStep reference285 = ref span113[2]; - QuestStep questStep22 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(502.34732f, -36.65f, -178.38684f), 958); - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list361 = new List(num3); - CollectionsMarshal.SetCount(list361, num3); - Span span116 = CollectionsMarshal.AsSpan(list361); - span116[0] = null; - span116[1] = null; - span116[2] = null; - span116[3] = null; - span116[4] = null; - span116[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list361; - skipConditions.StepIf = skipStepConditions; - questStep22.SkipConditions = skipConditions; - reference285 = questStep22; - ref QuestStep reference286 = ref span113[3]; - QuestStep obj264 = new QuestStep(EInteractionType.Interact, 1037715u, new Vector3(500.57214f, -36.65f, -178.85101f), 958) - { - Comment = "Sabinianus" - }; - num3 = 6; - List list362 = new List(num3); - CollectionsMarshal.SetCount(list362, num3); - Span span117 = CollectionsMarshal.AsSpan(list362); - span117[0] = null; - span117[1] = null; - span117[2] = null; - span117[3] = null; - span117[4] = null; - span117[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj264.CompletionQuestVariablesFlags = list362; - reference286 = obj264; - ref QuestStep reference287 = ref span113[4]; - QuestStep obj265 = new QuestStep(EInteractionType.Interact, 1037717u, new Vector3(495.35352f, -36.06746f, -205.1576f), 958) - { - Comment = "Marcellinus" - }; - num3 = 6; - List list363 = new List(num3); - CollectionsMarshal.SetCount(list363, num3); - Span span118 = CollectionsMarshal.AsSpan(list363); - span118[0] = null; - span118[1] = null; - span118[2] = null; - span118[3] = null; - span118[4] = null; - span118[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj265.CompletionQuestVariablesFlags = list363; - reference287 = obj265; - ref QuestStep reference288 = ref span113[5]; - QuestStep obj266 = new QuestStep(EInteractionType.Interact, 2012062u, new Vector3(512.1679f, -34.82775f, -201.7169f), 958) - { - Comment = "Magitek Radio" - }; - num3 = 6; - List list364 = new List(num3); - CollectionsMarshal.SetCount(list364, num3); - Span span119 = CollectionsMarshal.AsSpan(list364); - span119[0] = null; - span119[1] = null; - span119[2] = null; - span119[3] = null; - span119[4] = null; - span119[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj266.CompletionQuestVariablesFlags = list364; - reference288 = obj266; - obj261.Steps = list358; - reference282 = obj261; - ref QuestSequence reference289 = ref span112[2]; - QuestSequence obj267 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list365 = new List(num2); - CollectionsMarshal.SetCount(list365, num2); - CollectionsMarshal.AsSpan(list365)[0] = new QuestStep(EInteractionType.Interact, 1039899u, new Vector3(549.6758f, -36.616077f, -216.84601f), 958); - obj267.Steps = list365; - reference289 = obj267; - ref QuestSequence reference290 = ref span112[3]; - QuestSequence obj268 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list366 = new List(num2); - CollectionsMarshal.SetCount(list366, num2); - Span span120 = CollectionsMarshal.AsSpan(list366); - span120[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(548.01605f, -36.61611f, -237.499f), 958) - { - Mount = true - }; - span120[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(547.66595f, -36.616203f, -244.51854f), 958) - { - DisableNavmesh = true - }; - span120[2] = new QuestStep(EInteractionType.Interact, 1037719u, new Vector3(549.7977f, -36.61618f, -260.57837f), 958); - obj268.Steps = list366; - reference290 = obj268; - ref QuestSequence reference291 = ref span112[4]; - QuestSequence obj269 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list367 = new List(num2); - CollectionsMarshal.SetCount(list367, num2); - Span span121 = CollectionsMarshal.AsSpan(list367); - span121[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(547.021f, -36.616203f, -244.6051f), 958) - { - Mount = true - }; - span121[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(549.7444f, -36.61608f, -225.64955f), 958) - { - DisableNavmesh = true - }; - span121[2] = new QuestStep(EInteractionType.Interact, 1039899u, new Vector3(549.6758f, -36.616077f, -216.84601f), 958) - { - DisableNavmesh = true - }; - obj269.Steps = list367; - reference291 = obj269; - ref QuestSequence reference292 = ref span112[5]; - QuestSequence obj270 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list368 = new List(num2); - CollectionsMarshal.SetCount(list368, num2); - CollectionsMarshal.AsSpan(list368)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039896u, new Vector3(530.1747f, -36.65f, -175.86023f), 958); - obj270.Steps = list368; - reference292 = obj270; - questRoot36.QuestSequence = list356; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(4390); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list369 = new List(num); - CollectionsMarshal.SetCount(list369, num); - CollectionsMarshal.AsSpan(list369)[0] = "liza"; - questRoot37.Author = list369; - num = 7; - List list370 = new List(num); - CollectionsMarshal.SetCount(list370, num); - Span span122 = CollectionsMarshal.AsSpan(list370); - ref QuestSequence reference293 = ref span122[0]; - QuestSequence obj271 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list371 = new List(num2); - CollectionsMarshal.SetCount(list371, num2); - CollectionsMarshal.AsSpan(list371)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039896u, new Vector3(530.1747f, -36.65f, -175.86023f), 958); - obj271.Steps = list371; - reference293 = obj271; - ref QuestSequence reference294 = ref span122[1]; - QuestSequence obj272 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list372 = new List(num2); - CollectionsMarshal.SetCount(list372, num2); - Span span123 = CollectionsMarshal.AsSpan(list372); - span123[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(531.7644f, -36.650005f, -228.76685f), 958); - span123[1] = new QuestStep(EInteractionType.Interact, 1039901u, new Vector3(408.65186f, 15.5581665f, -496.14713f), 958); - obj272.Steps = list372; - reference294 = obj272; - ref QuestSequence reference295 = ref span122[2]; - QuestSequence obj273 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list373 = new List(num2); - CollectionsMarshal.SetCount(list373, num2); - Span span124 = CollectionsMarshal.AsSpan(list373); - ref QuestStep reference296 = ref span124[0]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 2012093u, new Vector3(381.73486f, 15.548889f, -503.2578f), 958); - num3 = 6; - List list374 = new List(num3); - CollectionsMarshal.SetCount(list374, num3); - Span span125 = CollectionsMarshal.AsSpan(list374); - span125[0] = null; - span125[1] = null; - span125[2] = null; - span125[3] = null; - span125[4] = null; - span125[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list374; - reference296 = questStep23; - ref QuestStep reference297 = ref span124[1]; - QuestStep obj274 = new QuestStep(EInteractionType.Interact, 2012094u, new Vector3(381.64343f, 25.986084f, -503.19678f), 958) - { - Mount = true, - Comment = "Map" - }; - num3 = 6; - List list375 = new List(num3); - CollectionsMarshal.SetCount(list375, num3); - Span span126 = CollectionsMarshal.AsSpan(list375); - span126[0] = null; - span126[1] = null; - span126[2] = null; - span126[3] = null; - span126[4] = null; - span126[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj274.CompletionQuestVariablesFlags = list375; - reference297 = obj274; - span124[2] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2012005u, new Vector3(382.1621f, 25.894531f, -482.20038f), 958) - { - AetherCurrentId = 2818349u - }; - ref QuestStep reference298 = ref span124[3]; - QuestStep obj275 = new QuestStep(EInteractionType.Interact, 2012095u, new Vector3(423.1173f, 16.311829f, -570.3365f), 958) - { - Comment = "Warmachine Wreckage" - }; - num3 = 6; - List list376 = new List(num3); - CollectionsMarshal.SetCount(list376, num3); - Span span127 = CollectionsMarshal.AsSpan(list376); - span127[0] = null; - span127[1] = null; - span127[2] = null; - span127[3] = null; - span127[4] = null; - span127[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj275.CompletionQuestVariablesFlags = list376; - reference298 = obj275; - ref QuestStep reference299 = ref span124[4]; - QuestStep obj276 = new QuestStep(EInteractionType.Interact, 2012096u, new Vector3(381.9486f, 16.617004f, -635.33997f), 958) - { - Comment = "Children's Slide" - }; - num3 = 6; - List list377 = new List(num3); - CollectionsMarshal.SetCount(list377, num3); - Span span128 = CollectionsMarshal.AsSpan(list377); - span128[0] = null; - span128[1] = null; - span128[2] = null; - span128[3] = null; - span128[4] = null; - span128[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj276.CompletionQuestVariablesFlags = list377; - reference299 = obj276; - obj273.Steps = list373; - reference295 = obj273; - ref QuestSequence reference300 = ref span122[3]; - QuestSequence obj277 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list378 = new List(num2); - CollectionsMarshal.SetCount(list378, num2); - CollectionsMarshal.AsSpan(list378)[0] = new QuestStep(EInteractionType.Interact, 1039906u, new Vector3(432.2423f, 15.558166f, -611.90204f), 958); - obj277.Steps = list378; - reference300 = obj277; - ref QuestSequence reference301 = ref span122[4]; - QuestSequence obj278 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list379 = new List(num2); - CollectionsMarshal.SetCount(list379, num2); - Span span129 = CollectionsMarshal.AsSpan(list379); - span129[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(434.73416f, 15.085039f, -614.55194f), 958) - { - DisableNavmesh = true, - Mount = true - }; - span129[1] = new QuestStep(EInteractionType.Interact, 2012100u, new Vector3(445.76172f, 15.487854f, -648.61523f), 958) - { - DisableNavmesh = true - }; - obj278.Steps = list379; - reference301 = obj278; - ref QuestSequence reference302 = ref span122[5]; - QuestSequence obj279 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list380 = new List(num2); - CollectionsMarshal.SetCount(list380, num2); - CollectionsMarshal.AsSpan(list380)[0] = new QuestStep(EInteractionType.Interact, 1039906u, new Vector3(432.2423f, 15.558166f, -611.90204f), 958); - obj279.Steps = list380; - reference302 = obj279; - ref QuestSequence reference303 = ref span122[6]; - QuestSequence obj280 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list381 = new List(num2); - CollectionsMarshal.SetCount(list381, num2); - CollectionsMarshal.AsSpan(list381)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039906u, new Vector3(432.2423f, 15.558166f, -611.90204f), 958); - obj280.Steps = list381; - reference303 = obj280; - questRoot37.QuestSequence = list370; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(4391); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list382 = new List(num); - CollectionsMarshal.SetCount(list382, num); - CollectionsMarshal.AsSpan(list382)[0] = "liza"; - questRoot38.Author = list382; - num = 6; - List list383 = new List(num); - CollectionsMarshal.SetCount(list383, num); - Span span130 = CollectionsMarshal.AsSpan(list383); - ref QuestSequence reference304 = ref span130[0]; - QuestSequence obj281 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list384 = new List(num2); - CollectionsMarshal.SetCount(list384, num2); - CollectionsMarshal.AsSpan(list384)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038789u, new Vector3(413.13794f, 16.102577f, -578.4848f), 958) - { - StopDistance = 5f - }; - obj281.Steps = list384; - reference304 = obj281; - ref QuestSequence reference305 = ref span130[1]; - QuestSequence obj282 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list385 = new List(num2); - CollectionsMarshal.SetCount(list385, num2); - CollectionsMarshal.AsSpan(list385)[0] = new QuestStep(EInteractionType.Interact, 1039910u, new Vector3(340.59656f, 10.799996f, -529.9306f), 958); - obj282.Steps = list385; - reference305 = obj282; - ref QuestSequence reference306 = ref span130[2]; - QuestSequence obj283 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list386 = new List(num2); - CollectionsMarshal.SetCount(list386, num2); - CollectionsMarshal.AsSpan(list386)[0] = new QuestStep(EInteractionType.UseItem, 2012101u, new Vector3(270.25244f, 10.452393f, -579.7666f), 958) - { - ItemId = 2003229u - }; - obj283.Steps = list386; - reference306 = obj283; - ref QuestSequence reference307 = ref span130[3]; - QuestSequence obj284 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list387 = new List(num2); - CollectionsMarshal.SetCount(list387, num2); - CollectionsMarshal.AsSpan(list387)[0] = new QuestStep(EInteractionType.Interact, 1039910u, new Vector3(340.59656f, 10.799996f, -529.9306f), 958); - obj284.Steps = list387; - reference307 = obj284; - ref QuestSequence reference308 = ref span130[4]; - QuestSequence obj285 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list388 = new List(num2); - CollectionsMarshal.SetCount(list388, num2); - CollectionsMarshal.AsSpan(list388)[0] = new QuestStep(EInteractionType.Interact, 2012106u, new Vector3(339.1621f, 10.788086f, -530.54095f), 958); - obj285.Steps = list388; - reference308 = obj285; - ref QuestSequence reference309 = ref span130[5]; - QuestSequence obj286 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list389 = new List(num2); - CollectionsMarshal.SetCount(list389, num2); - CollectionsMarshal.AsSpan(list389)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039913u, new Vector3(526.3904f, -36.65f, -233.87512f), 958) - { - StopDistance = 5f - }; - obj286.Steps = list389; - reference309 = obj286; - questRoot38.QuestSequence = list383; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(4392); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list390 = new List(num); - CollectionsMarshal.SetCount(list390, num); - CollectionsMarshal.AsSpan(list390)[0] = "liza"; - questRoot39.Author = list390; - num = 5; - List list391 = new List(num); - CollectionsMarshal.SetCount(list391, num); - Span span131 = CollectionsMarshal.AsSpan(list391); - ref QuestSequence reference310 = ref span131[0]; - QuestSequence obj287 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list392 = new List(num2); - CollectionsMarshal.SetCount(list392, num2); - CollectionsMarshal.AsSpan(list392)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039913u, new Vector3(526.3904f, -36.65f, -233.87512f), 958) - { - StopDistance = 5f - }; - obj287.Steps = list392; - reference310 = obj287; - ref QuestSequence reference311 = ref span131[1]; - QuestSequence obj288 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list393 = new List(num2); - CollectionsMarshal.SetCount(list393, num2); - Span span132 = CollectionsMarshal.AsSpan(list393); - ref QuestStep reference312 = ref span132[0]; - QuestStep obj289 = new QuestStep(EInteractionType.Interact, 1038790u, new Vector3(495.41467f, -36.06746f, -205.12708f), 958) - { - Comment = "Marcellinus" - }; - num3 = 6; - List list394 = new List(num3); - CollectionsMarshal.SetCount(list394, num3); - Span span133 = CollectionsMarshal.AsSpan(list394); - span133[0] = null; - span133[1] = null; - span133[2] = null; - span133[3] = null; - span133[4] = null; - span133[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj289.CompletionQuestVariablesFlags = list394; - reference312 = obj289; - ref QuestStep reference313 = ref span132[1]; - QuestStep obj290 = new QuestStep(EInteractionType.Interact, 1038791u, new Vector3(512.62683f, -36.65f, -160.3266f), 958) - { - Comment = "Octavia" - }; - num3 = 6; - List list395 = new List(num3); - CollectionsMarshal.SetCount(list395, num3); - Span span134 = CollectionsMarshal.AsSpan(list395); - span134[0] = null; - span134[1] = null; - span134[2] = null; - span134[3] = null; - span134[4] = null; - span134[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj290.CompletionQuestVariablesFlags = list395; - reference313 = obj290; - obj288.Steps = list393; - reference311 = obj288; - ref QuestSequence reference314 = ref span131[2]; - QuestSequence obj291 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list396 = new List(num2); - CollectionsMarshal.SetCount(list396, num2); - ref QuestStep reference315 = ref CollectionsMarshal.AsSpan(list396)[0]; - QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 1039889u, new Vector3(509.4834f, 10.800001f, -422.62915f), 958); - num3 = 1; - List list397 = new List(num3); - CollectionsMarshal.SetCount(list397, num3); - CollectionsMarshal.AsSpan(list397)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMB113_04392_Q1_000_031"), - Answer = new ExcelRef("TEXT_AKTKMB113_04392_A1_000_032") - }; - questStep24.DialogueChoices = list397; - reference315 = questStep24; - obj291.Steps = list396; - reference314 = obj291; - ref QuestSequence reference316 = ref span131[3]; - QuestSequence obj292 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list398 = new List(num2); - CollectionsMarshal.SetCount(list398, num2); - ref QuestStep reference317 = ref CollectionsMarshal.AsSpan(list398)[0]; - QuestStep questStep25 = new QuestStep(EInteractionType.Interact, 2012107u, new Vector3(279.37744f, 10.8185425f, -232.98999f), 958); - num3 = 1; - List list399 = new List(num3); - CollectionsMarshal.SetCount(list399, num3); - CollectionsMarshal.AsSpan(list399)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMB113_04392_Q2_000_051") - }; - questStep25.DialogueChoices = list399; - reference317 = questStep25; - obj292.Steps = list398; - reference316 = obj292; - ref QuestSequence reference318 = ref span131[4]; - QuestSequence obj293 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list400 = new List(num2); - CollectionsMarshal.SetCount(list400, num2); - CollectionsMarshal.AsSpan(list400)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039915u, new Vector3(-399.80164f, 22.143175f, 422.8733f), 958); - obj293.Steps = list400; - reference318 = obj293; - questRoot39.QuestSequence = list391; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(4393); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list401 = new List(num); - CollectionsMarshal.SetCount(list401, num); - CollectionsMarshal.AsSpan(list401)[0] = "liza"; - questRoot40.Author = list401; - num = 9; - List list402 = new List(num); - CollectionsMarshal.SetCount(list402, num); - Span span135 = CollectionsMarshal.AsSpan(list402); - ref QuestSequence reference319 = ref span135[0]; - QuestSequence obj294 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list403 = new List(num2); - CollectionsMarshal.SetCount(list403, num2); - CollectionsMarshal.AsSpan(list403)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039915u, new Vector3(-399.80164f, 22.143175f, 422.8733f), 958); - obj294.Steps = list403; - reference319 = obj294; - ref QuestSequence reference320 = ref span135[1]; - QuestSequence obj295 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list404 = new List(num2); - CollectionsMarshal.SetCount(list404, num2); - Span span136 = CollectionsMarshal.AsSpan(list404); - span136[0] = new QuestStep(EInteractionType.AcceptQuest, 1041753u, new Vector3(-321.49237f, 22.009079f, 424.00232f), 958) - { - PickUpQuestId = new QuestId(4498) - }; - span136[1] = new QuestStep(EInteractionType.Interact, 1039917u, new Vector3(495.50623f, 10.800001f, -425.2232f), 958); - obj295.Steps = list404; - reference320 = obj295; - ref QuestSequence reference321 = ref span135[2]; - QuestSequence obj296 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list405 = new List(num2); - CollectionsMarshal.SetCount(list405, num2); - CollectionsMarshal.AsSpan(list405)[0] = new QuestStep(EInteractionType.Interact, 1037715u, new Vector3(500.57214f, -36.65f, -178.85101f), 958); - obj296.Steps = list405; - reference321 = obj296; - ref QuestSequence reference322 = ref span135[3]; - QuestSequence obj297 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list406 = new List(num2); - CollectionsMarshal.SetCount(list406, num2); - Span span137 = CollectionsMarshal.AsSpan(list406); - span137[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 958) - { - StopDistance = 7f, - DisableNavmesh = true, - Aetheryte = EAetheryteLocation.GarlemaldTertium - }; - span137[1] = new QuestStep(EInteractionType.Interact, 1037716u, new Vector3(524.43726f, -36.65f, -186.69415f), 958); - obj297.Steps = list406; - reference322 = obj297; - ref QuestSequence reference323 = ref span135[4]; - QuestSequence obj298 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list407 = new List(num2); - CollectionsMarshal.SetCount(list407, num2); - CollectionsMarshal.AsSpan(list407)[0] = new QuestStep(EInteractionType.Interact, 1037719u, new Vector3(549.7977f, -36.61618f, -260.57837f), 958); - obj298.Steps = list407; - reference323 = obj298; - ref QuestSequence reference324 = ref span135[5]; - QuestSequence obj299 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list408 = new List(num2); - CollectionsMarshal.SetCount(list408, num2); - CollectionsMarshal.AsSpan(list408)[0] = new QuestStep(EInteractionType.Interact, 1039924u, new Vector3(547.5089f, -35.24417f, -192.73676f), 958); - obj299.Steps = list408; - reference324 = obj299; - ref QuestSequence reference325 = ref span135[6]; - QuestSequence obj300 = new QuestSequence - { - Sequence = 6 - }; - num2 = 8; - List list409 = new List(num2); - CollectionsMarshal.SetCount(list409, num2); - Span span138 = CollectionsMarshal.AsSpan(list409); - ref QuestStep reference326 = ref span138[0]; - QuestStep obj301 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(539.89374f, -36.65f, -193.11551f), 958) - { - DisableNavmesh = true, - Mount = true - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list410 = new List(num3); - CollectionsMarshal.SetCount(list410, num3); - Span span139 = CollectionsMarshal.AsSpan(list410); - span139[0] = null; - span139[1] = null; - span139[2] = null; - span139[3] = null; - span139[4] = null; - span139[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list410; - skipStepConditions2.NearPosition = new NearPositionCondition - { - Position = new Vector3(496.94043f, 10.887661f, -418.57025f), - MaximumDistance = 30f, - TerritoryId = 958 - }; - skipConditions2.StepIf = skipStepConditions2; - obj301.SkipConditions = skipConditions2; - reference326 = obj301; - span138[1] = new QuestStep(EInteractionType.AcceptQuest, 1040633u, new Vector3(496.94043f, 10.887661f, -418.57025f), 958) - { - PickUpQuestId = new QuestId(4232) - }; - ref QuestStep reference327 = ref span138[2]; - QuestStep obj302 = new QuestStep(EInteractionType.Combat, 2012111u, new Vector3(507.042f, 8.8654175f, 64.68298f), 958) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list411 = new List(num3); - CollectionsMarshal.SetCount(list411, num3); - CollectionsMarshal.AsSpan(list411)[0] = 14078u; - obj302.KillEnemyDataIds = list411; - num3 = 6; - List list412 = new List(num3); - CollectionsMarshal.SetCount(list412, num3); - Span span140 = CollectionsMarshal.AsSpan(list412); - span140[0] = null; - span140[1] = null; - span140[2] = null; - span140[3] = null; - span140[4] = null; - span140[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj302.CompletionQuestVariablesFlags = list412; - reference327 = obj302; - ref QuestStep reference328 = ref span138[3]; - QuestStep obj303 = new QuestStep(EInteractionType.Combat, 2012109u, new Vector3(338.49072f, 2.304016f, 94.77368f), 958) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list413 = new List(num3); - CollectionsMarshal.SetCount(list413, num3); - CollectionsMarshal.AsSpan(list413)[0] = 14079u; - obj303.KillEnemyDataIds = list413; - obj303.CombatItemUse = new CombatItemUse - { - ItemId = 2003231u, - Condition = ECombatItemUseCondition.Incapacitated - }; - num3 = 6; - List list414 = new List(num3); - CollectionsMarshal.SetCount(list414, num3); - Span span141 = CollectionsMarshal.AsSpan(list414); - span141[0] = null; - span141[1] = null; - span141[2] = null; - span141[3] = null; - span141[4] = null; - span141[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj303.CompletionQuestVariablesFlags = list414; - reference328 = obj303; - ref QuestStep reference329 = ref span138[4]; - QuestStep obj304 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(88.57295f, 1.3869624f, 124.77198f), 958) - { - Comment = "Avoids combat" - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list415 = new List(num3); - CollectionsMarshal.SetCount(list415, num3); - Span span142 = CollectionsMarshal.AsSpan(list415); - span142[0] = null; - span142[1] = null; - span142[2] = null; - span142[3] = null; - span142[4] = null; - span142[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list415; - skipConditions3.StepIf = skipStepConditions3; - obj304.SkipConditions = skipConditions3; - reference329 = obj304; - ref QuestStep reference330 = ref span138[5]; - QuestStep questStep26 = new QuestStep(EInteractionType.Interact, 2012108u, new Vector3(79.42322f, 0.62561035f, 153.24634f), 958); - num3 = 6; - List list416 = new List(num3); - CollectionsMarshal.SetCount(list416, num3); - Span span143 = CollectionsMarshal.AsSpan(list416); - span143[0] = null; - span143[1] = null; - span143[2] = null; - span143[3] = null; - span143[4] = null; - span143[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep26.CompletionQuestVariablesFlags = list416; - reference330 = questStep26; - ref QuestStep reference331 = ref span138[6]; - QuestStep obj305 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-20.886705f, -0.47744966f, 353.66968f), 958) - { - Comment = "Avoids combat" - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list417 = new List(num3); - CollectionsMarshal.SetCount(list417, num3); - Span span144 = CollectionsMarshal.AsSpan(list417); - span144[0] = null; - span144[1] = null; - span144[2] = null; - span144[3] = null; - span144[4] = null; - span144[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list417; - skipConditions4.StepIf = skipStepConditions4; - obj305.SkipConditions = skipConditions4; - reference331 = obj305; - ref QuestStep reference332 = ref span138[7]; - QuestStep obj306 = new QuestStep(EInteractionType.Combat, 2012110u, new Vector3(-25.558899f, -12.954956f, 396.96338f), 958) - { - DisableNavmesh = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list418 = new List(num3); - CollectionsMarshal.SetCount(list418, num3); - CollectionsMarshal.AsSpan(list418)[0] = 14080u; - obj306.KillEnemyDataIds = list418; - obj306.CombatItemUse = new CombatItemUse - { - ItemId = 2003231u, - Condition = ECombatItemUseCondition.Incapacitated - }; - num3 = 6; - List list419 = new List(num3); - CollectionsMarshal.SetCount(list419, num3); - Span span145 = CollectionsMarshal.AsSpan(list419); - span145[0] = null; - span145[1] = null; - span145[2] = null; - span145[3] = null; - span145[4] = null; - span145[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj306.CompletionQuestVariablesFlags = list419; - reference332 = obj306; - obj300.Steps = list409; - reference325 = obj300; - ref QuestSequence reference333 = ref span135[7]; - QuestSequence obj307 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list420 = new List(num2); - CollectionsMarshal.SetCount(list420, num2); - CollectionsMarshal.AsSpan(list420)[0] = new QuestStep(EInteractionType.Interact, 1039930u, new Vector3(-208.33148f, 15.486622f, 450.88867f), 958); - obj307.Steps = list420; - reference333 = obj307; - ref QuestSequence reference334 = ref span135[8]; - QuestSequence obj308 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list421 = new List(num2); - CollectionsMarshal.SetCount(list421, num2); - CollectionsMarshal.AsSpan(list421)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039931u, new Vector3(-351.15588f, 23.742596f, 418.4176f), 958); - obj308.Steps = list421; - reference334 = obj308; - questRoot40.QuestSequence = list402; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(4394); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list422 = new List(num); - CollectionsMarshal.SetCount(list422, num); - CollectionsMarshal.AsSpan(list422)[0] = "liza"; - questRoot41.Author = list422; - num = 3; - List list423 = new List(num); - CollectionsMarshal.SetCount(list423, num); - Span span146 = CollectionsMarshal.AsSpan(list423); - ref QuestSequence reference335 = ref span146[0]; - QuestSequence obj309 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list424 = new List(num2); - CollectionsMarshal.SetCount(list424, num2); - CollectionsMarshal.AsSpan(list424)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039931u, new Vector3(-351.15588f, 23.742596f, 418.4176f), 958); - obj309.Steps = list424; - reference335 = obj309; - ref QuestSequence reference336 = ref span146[1]; - QuestSequence obj310 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list425 = new List(num2); - CollectionsMarshal.SetCount(list425, num2); - Span span147 = CollectionsMarshal.AsSpan(list425); - span147[0] = new QuestStep(EInteractionType.AcceptQuest, 1040898u, new Vector3(-433.12738f, 22.221891f, 460.80713f), 958) - { - PickUpQuestId = new QuestId(4216) - }; - ref QuestStep reference337 = ref span147[1]; - QuestStep obj311 = new QuestStep(EInteractionType.AcceptQuest, 1041765u, new Vector3(-323.4455f, 22f, 487.81555f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list426 = new List(num3); - CollectionsMarshal.SetCount(list426, num3); - CollectionsMarshal.AsSpan(list426)[0] = new QuestId(4502); - skipAetheryteCondition.QuestsCompleted = list426; - skipConditions5.AetheryteShortcutIf = skipAetheryteCondition; - obj311.SkipConditions = skipConditions5; - obj311.PickUpQuestId = new QuestId(4502); - reference337 = obj311; - ref QuestStep reference338 = ref span147[2]; - QuestStep obj312 = new QuestStep(EInteractionType.SinglePlayerDuty, 1039932u, new Vector3(-357.99194f, 22f, 488.3954f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - SinglePlayerDutyOptions singlePlayerDutyOptions2 = new SinglePlayerDutyOptions(); - num3 = 4; - List list427 = new List(num3); - CollectionsMarshal.SetCount(list427, num3); - Span span148 = CollectionsMarshal.AsSpan(list427); - span148[0] = "Instance probably only works on very easy difficulty"; - span148[1] = "AI doesn't move to first enemy"; - span148[2] = "AI doesn't unmount from the Magitek Reaper"; - span148[3] = "Navmesh takes 5+ minutes to build"; - singlePlayerDutyOptions2.Notes = list427; - obj312.SinglePlayerDutyOptions = singlePlayerDutyOptions2; - obj312.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-357.99194f, 22f, 488.3954f), - MaximumDistance = 200f, - TerritoryId = 958 - } - } - }; - num3 = 3; - List list428 = new List(num3); - CollectionsMarshal.SetCount(list428, num3); - Span span149 = CollectionsMarshal.AsSpan(list428); - span149[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMB115_04394_Q1_000_042") - }; - span149[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "ContentTalk", - Prompt = new ExcelRef(254u), - Answer = new ExcelRef(247u), - SpecialCondition = "NoDutyActions" - }; - span149[2] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "ContentTalk", - Prompt = new ExcelRef(254u), - Answer = new ExcelRef(248u) - }; - obj312.DialogueChoices = list428; - reference338 = obj312; - obj310.Steps = list425; - reference336 = obj310; - ref QuestSequence reference339 = ref span146[2]; - QuestSequence obj313 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list429 = new List(num2); - CollectionsMarshal.SetCount(list429, num2); - CollectionsMarshal.AsSpan(list429)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039933u, new Vector3(-369.2531f, 22.20836f, 403.76892f), 958) - { - StopDistance = 5f - }; - obj313.Steps = list429; - reference339 = obj313; - questRoot41.QuestSequence = list423; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(4395); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list430 = new List(num); - CollectionsMarshal.SetCount(list430, num); - CollectionsMarshal.AsSpan(list430)[0] = "liza"; - questRoot42.Author = list430; - num = 7; - List list431 = new List(num); - CollectionsMarshal.SetCount(list431, num); - Span span150 = CollectionsMarshal.AsSpan(list431); - ref QuestSequence reference340 = ref span150[0]; - QuestSequence obj314 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list432 = new List(num2); - CollectionsMarshal.SetCount(list432, num2); - CollectionsMarshal.AsSpan(list432)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039940u, new Vector3(-371.29785f, 22.255f, 400.71716f), 958); - obj314.Steps = list432; - reference340 = obj314; - ref QuestSequence reference341 = ref span150[1]; - QuestSequence obj315 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list433 = new List(num2); - CollectionsMarshal.SetCount(list433, num2); - CollectionsMarshal.AsSpan(list433)[0] = new QuestStep(EInteractionType.Interact, 1039942u, new Vector3(-462.57727f, 20.805109f, -340.68823f), 958); - obj315.Steps = list433; - reference341 = obj315; - ref QuestSequence reference342 = ref span150[2]; - QuestSequence obj316 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list434 = new List(num2); - CollectionsMarshal.SetCount(list434, num2); - Span span151 = CollectionsMarshal.AsSpan(list434); - span151[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2012006u, new Vector3(-602.04474f, 34.286987f, -325.85645f), 958) - { - AetherCurrentId = 2818350u - }; - span151[1] = new QuestStep(EInteractionType.Interact, 1039946u, new Vector3(-476.0052f, 10.889291f, -678.0652f), 958); - obj316.Steps = list434; - reference342 = obj316; - ref QuestSequence reference343 = ref span150[3]; - QuestSequence obj317 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list435 = new List(num2); - CollectionsMarshal.SetCount(list435, num2); - Span span152 = CollectionsMarshal.AsSpan(list435); - ref QuestStep reference344 = ref span152[0]; - QuestStep questStep27 = new QuestStep(EInteractionType.Interact, 1042016u, new Vector3(-483.299f, 10.889291f, -677.4243f), 958); - num3 = 1; - List list436 = new List(num3); - CollectionsMarshal.SetCount(list436, num3); - CollectionsMarshal.AsSpan(list436)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMB116_04395_Q3_000_206") - }; - questStep27.DialogueChoices = list436; - reference344 = questStep27; - span152[1] = new QuestStep(EInteractionType.Interact, 2012112u, new Vector3(-516.7163f, -190.02063f, -675.288f), 958); - obj317.Steps = list435; - reference343 = obj317; - ref QuestSequence reference345 = ref span150[4]; - QuestSequence obj318 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list437 = new List(num2); - CollectionsMarshal.SetCount(list437, num2); - CollectionsMarshal.AsSpan(list437)[0] = new QuestStep(EInteractionType.Duty, null, null, 958) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 785u - } - }; - obj318.Steps = list437; - reference345 = obj318; - span150[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference346 = ref span150[6]; - QuestSequence obj319 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list438 = new List(num2); - CollectionsMarshal.SetCount(list438, num2); - CollectionsMarshal.AsSpan(list438)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039969u, new Vector3(2.029419f, 0f, 33.585083f), 1024) - { - StopDistance = 4f - }; - obj319.Steps = list438; - reference346 = obj319; - questRoot42.QuestSequence = list431; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(4396); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list439 = new List(num); - CollectionsMarshal.SetCount(list439, num); - CollectionsMarshal.AsSpan(list439)[0] = "liza"; - questRoot43.Author = list439; - num = 7; - List list440 = new List(num); - CollectionsMarshal.SetCount(list440, num); - Span span153 = CollectionsMarshal.AsSpan(list440); - ref QuestSequence reference347 = ref span153[0]; - QuestSequence obj320 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list441 = new List(num2); - CollectionsMarshal.SetCount(list441, num2); - CollectionsMarshal.AsSpan(list441)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039974u, new Vector3(2.5177002f, 0f, 26.840576f), 1024); - obj320.Steps = list441; - reference347 = obj320; - ref QuestSequence reference348 = ref span153[1]; - QuestSequence obj321 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list442 = new List(num2); - CollectionsMarshal.SetCount(list442, num2); - ref QuestStep reference349 = ref CollectionsMarshal.AsSpan(list442)[0]; - QuestStep questStep28 = new QuestStep(EInteractionType.Interact, 2012116u, new Vector3(5.585561E-05f, 6.62077f, -0.00103838f), 1024); - num3 = 1; - List list443 = new List(num3); - CollectionsMarshal.SetCount(list443, num3); - CollectionsMarshal.AsSpan(list443)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMB117_04396_Q1_000_060") - }; - questStep28.DialogueChoices = list443; - reference349 = questStep28; - obj321.Steps = list442; - reference348 = obj321; - span153[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference350 = ref span153[3]; - QuestSequence obj322 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list444 = new List(num2); - CollectionsMarshal.SetCount(list444, num2); - Span span154 = CollectionsMarshal.AsSpan(list444); - span154[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 959) - { - DisableNavmesh = true, - Mount = true, - Aetheryte = EAetheryteLocation.MareLamentorumSinusLacrimarum - }; - ref QuestStep reference351 = ref span154[1]; - QuestStep obj323 = new QuestStep(EInteractionType.Combat, 1039977u, new Vector3(-627.49677f, 128.67758f, 632.41016f), 959) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list445 = new List(num3); - CollectionsMarshal.SetCount(list445, num3); - CollectionsMarshal.AsSpan(list445)[0] = 14077u; - obj323.KillEnemyDataIds = list445; - reference351 = obj323; - obj322.Steps = list444; - reference350 = obj322; - ref QuestSequence reference352 = ref span153[4]; - QuestSequence obj324 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list446 = new List(num2); - CollectionsMarshal.SetCount(list446, num2); - CollectionsMarshal.AsSpan(list446)[0] = new QuestStep(EInteractionType.Interact, 1039977u, new Vector3(-627.49677f, 128.67758f, 632.41016f), 959); - obj324.Steps = list446; - reference352 = obj324; - ref QuestSequence reference353 = ref span153[5]; - QuestSequence obj325 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list447 = new List(num2); - CollectionsMarshal.SetCount(list447, num2); - CollectionsMarshal.AsSpan(list447)[0] = new QuestStep(EInteractionType.Interact, 2012118u, new Vector3(-423.9109f, 136.9497f, 573.47986f), 959); - obj325.Steps = list447; - reference353 = obj325; - ref QuestSequence reference354 = ref span153[6]; - QuestSequence obj326 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list448 = new List(num2); - CollectionsMarshal.SetCount(list448, num2); - CollectionsMarshal.AsSpan(list448)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042050u, new Vector3(-383.04724f, 169.00394f, 547.5393f), 959); - obj326.Steps = list448; - reference354 = obj326; - questRoot43.QuestSequence = list440; - AddQuest(questId43, questRoot43); - QuestId questId44 = new QuestId(4397); - QuestRoot questRoot44 = new QuestRoot(); - num = 1; - List list449 = new List(num); - CollectionsMarshal.SetCount(list449, num); - CollectionsMarshal.AsSpan(list449)[0] = "liza"; - questRoot44.Author = list449; - num = 10; - List list450 = new List(num); - CollectionsMarshal.SetCount(list450, num); - Span span155 = CollectionsMarshal.AsSpan(list450); - ref QuestSequence reference355 = ref span155[0]; - QuestSequence obj327 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list451 = new List(num2); - CollectionsMarshal.SetCount(list451, num2); - CollectionsMarshal.AsSpan(list451)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039978u, new Vector3(-383.04724f, 169.00394f, 547.5393f), 959); - obj327.Steps = list451; - reference355 = obj327; - ref QuestSequence reference356 = ref span155[1]; - QuestSequence obj328 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list452 = new List(num2); - CollectionsMarshal.SetCount(list452, num2); - Span span156 = CollectionsMarshal.AsSpan(list452); - span156[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-394.84747f, 169.00388f, 554.70496f), 959); - span156[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-381.02145f, 169.08925f, 546.18756f), 959) - { - DisableNavmesh = true - }; - span156[2] = new QuestStep(EInteractionType.Interact, 1039979u, new Vector3(-351.97992f, 103.09564f, 514.4884f), 959) - { - DisableNavmesh = true - }; - obj328.Steps = list452; - reference356 = obj328; - ref QuestSequence reference357 = ref span155[2]; - QuestSequence obj329 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list453 = new List(num2); - CollectionsMarshal.SetCount(list453, num2); - CollectionsMarshal.AsSpan(list453)[0] = new QuestStep(EInteractionType.Interact, 1039980u, new Vector3(-262.3484f, 75.328064f, 500.08386f), 959); - obj329.Steps = list453; - reference357 = obj329; - ref QuestSequence reference358 = ref span155[3]; - QuestSequence obj330 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list454 = new List(num2); - CollectionsMarshal.SetCount(list454, num2); - CollectionsMarshal.AsSpan(list454)[0] = new QuestStep(EInteractionType.Interact, 1039981u, new Vector3(-258.56415f, 73.19127f, 455.49695f), 959); - obj330.Steps = list454; - reference358 = obj330; - ref QuestSequence reference359 = ref span155[4]; - QuestSequence obj331 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list455 = new List(num2); - CollectionsMarshal.SetCount(list455, num2); - CollectionsMarshal.AsSpan(list455)[0] = new QuestStep(EInteractionType.Interact, 1039982u, new Vector3(-193.13348f, 57.684105f, 410.849f), 959); - obj331.Steps = list455; - reference359 = obj331; - ref QuestSequence reference360 = ref span155[5]; - QuestSequence obj332 = new QuestSequence - { - Sequence = 5 - }; - num2 = 9; - List list456 = new List(num2); - CollectionsMarshal.SetCount(list456, num2); - Span span157 = CollectionsMarshal.AsSpan(list456); - span157[0] = new QuestStep(EInteractionType.Interact, 1039985u, new Vector3(-189.92908f, 58.229942f, 419.7605f), 959) - { - NpcWaitDistance = 5f - }; - span157[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1039985u, new Vector3(-144.128f, 57.30617f, 459.4606f), 959) - { - NpcWaitDistance = 1f, - Mount = true - }; - span157[2] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1039985u, new Vector3(-67.99789f, 52.72147f, 481.2938f), 959) - { - NpcWaitDistance = 1f - }; - span157[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-50.280434f, 42.36871f, 467.25403f), 959); - span157[4] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1039985u, new Vector3(19.588282f, 34.185432f, 427.5583f), 959) - { - NpcWaitDistance = 1f - }; - span157[5] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1039985u, new Vector3(104.9116f, 41.95557f, 455.229f), 959) - { - NpcWaitDistance = 1f - }; - span157[6] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(118.55694f, 46.506252f, 456.90314f), 959); - span157[7] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(131.81705f, 54.55443f, 468.51056f), 959); - span157[8] = new QuestStep(EInteractionType.WalkTo, 1039986u, new Vector3(43.9917f, 59.052986f, 523.5217f), 959); - obj332.Steps = list456; - reference360 = obj332; - ref QuestSequence reference361 = ref span155[6]; - QuestSequence obj333 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list457 = new List(num2); - CollectionsMarshal.SetCount(list457, num2); - ref QuestStep reference362 = ref CollectionsMarshal.AsSpan(list457)[0]; - QuestStep obj334 = new QuestStep(EInteractionType.Combat, 1039983u, new Vector3(20.187622f, 59.184967f, 523.24695f), 959) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list458 = new List(num3); - CollectionsMarshal.SetCount(list458, num3); - CollectionsMarshal.AsSpan(list458)[0] = 14076u; - obj334.KillEnemyDataIds = list458; - reference362 = obj334; - obj333.Steps = list457; - reference361 = obj333; - ref QuestSequence reference363 = ref span155[7]; - QuestSequence obj335 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list459 = new List(num2); - CollectionsMarshal.SetCount(list459, num2); - CollectionsMarshal.AsSpan(list459)[0] = new QuestStep(EInteractionType.Interact, 1039983u, new Vector3(20.187622f, 59.184967f, 523.24695f), 959); - obj335.Steps = list459; - reference363 = obj335; - ref QuestSequence reference364 = ref span155[8]; - QuestSequence obj336 = new QuestSequence - { - Sequence = 8 - }; - num2 = 5; - List list460 = new List(num2); - CollectionsMarshal.SetCount(list460, num2); - Span span158 = CollectionsMarshal.AsSpan(list460); - span158[0] = new QuestStep(EInteractionType.Interact, 1039986u, new Vector3(43.9917f, 59.052986f, 523.5217f), 959); - span158[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1039986u, new Vector3(87.202805f, 66.4619f, 565.21094f), 959) - { - NpcWaitDistance = 1f - }; - span158[2] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1039986u, new Vector3(193.26242f, 105.96505f, 674.10205f), 959) - { - NpcWaitDistance = 1f - }; - span158[3] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1039986u, new Vector3(216.4619f, 74.850296f, 526.7501f), 959) - { - NpcWaitDistance = 1f - }; - span158[4] = new QuestStep(EInteractionType.Interact, 1039987u, new Vector3(189.25769f, 63.36112f, 467.46008f), 959); - obj336.Steps = list460; - reference364 = obj336; - ref QuestSequence reference365 = ref span155[9]; - QuestSequence obj337 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list461 = new List(num2); - CollectionsMarshal.SetCount(list461, num2); - CollectionsMarshal.AsSpan(list461)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039984u, new Vector3(183.39807f, 58.834427f, 427.29822f), 959); - obj337.Steps = list461; - reference365 = obj337; - questRoot44.QuestSequence = list450; - AddQuest(questId44, questRoot44); - QuestId questId45 = new QuestId(4398); - QuestRoot questRoot45 = new QuestRoot(); - num = 1; - List list462 = new List(num); - CollectionsMarshal.SetCount(list462, num); - CollectionsMarshal.AsSpan(list462)[0] = "liza"; - questRoot45.Author = list462; - num = 5; - List list463 = new List(num); - CollectionsMarshal.SetCount(list463, num); - Span span159 = CollectionsMarshal.AsSpan(list463); - ref QuestSequence reference366 = ref span159[0]; - QuestSequence obj338 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list464 = new List(num2); - CollectionsMarshal.SetCount(list464, num2); - ref QuestStep reference367 = ref CollectionsMarshal.AsSpan(list464)[0]; - QuestStep questStep29 = new QuestStep(EInteractionType.AcceptQuest, 1039987u, new Vector3(189.25769f, 63.36112f, 467.46008f), 959); - num3 = 1; - List list465 = new List(num3); - CollectionsMarshal.SetCount(list465, num3); - CollectionsMarshal.AsSpan(list465)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMB119_04398_Q1_000_001"), - Answer = new ExcelRef("TEXT_AKTKMB119_04398_A1_000_002") - }; - questStep29.DialogueChoices = list465; - reference367 = questStep29; - obj338.Steps = list464; - reference366 = obj338; - ref QuestSequence reference368 = ref span159[1]; - QuestSequence obj339 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list466 = new List(num2); - CollectionsMarshal.SetCount(list466, num2); - ref QuestStep reference369 = ref CollectionsMarshal.AsSpan(list466)[0]; - QuestStep questStep30 = new QuestStep(EInteractionType.Interact, 1039987u, new Vector3(189.25769f, 63.36112f, 467.46008f), 959); - num3 = 1; - List list467 = new List(num3); - CollectionsMarshal.SetCount(list467, num3); - CollectionsMarshal.AsSpan(list467)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMB119_04398_Q2_000_010") - }; - questStep30.DialogueChoices = list467; - reference369 = questStep30; - obj339.Steps = list466; - reference368 = obj339; - ref QuestSequence reference370 = ref span159[2]; - QuestSequence obj340 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list468 = new List(num2); - CollectionsMarshal.SetCount(list468, num2); - CollectionsMarshal.AsSpan(list468)[0] = new QuestStep(EInteractionType.Duty, null, null, 1028) - { - Comment = "The Dark Inside", - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 802u - } - }; - obj340.Steps = list468; - reference370 = obj340; - span159[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference371 = ref span159[4]; - QuestSequence obj341 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list469 = new List(num2); - CollectionsMarshal.SetCount(list469, num2); - CollectionsMarshal.AsSpan(list469)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039989u, new Vector3(-279.95728f, 76.14732f, 480.91858f), 959) - { - StopDistance = 5f - }; - obj341.Steps = list469; - reference371 = obj341; - questRoot45.QuestSequence = list463; - AddQuest(questId45, questRoot45); - QuestId questId46 = new QuestId(4399); - QuestRoot questRoot46 = new QuestRoot(); - num = 1; - List list470 = new List(num); - CollectionsMarshal.SetCount(list470, num); - CollectionsMarshal.AsSpan(list470)[0] = "liza"; - questRoot46.Author = list470; - num = 7; - List list471 = new List(num); - CollectionsMarshal.SetCount(list471, num); - Span span160 = CollectionsMarshal.AsSpan(list471); - ref QuestSequence reference372 = ref span160[0]; - QuestSequence obj342 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list472 = new List(num2); - CollectionsMarshal.SetCount(list472, num2); - CollectionsMarshal.AsSpan(list472)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039989u, new Vector3(-279.95728f, 76.14732f, 480.91858f), 959) - { - StopDistance = 5f - }; - obj342.Steps = list472; - reference372 = obj342; - ref QuestSequence reference373 = ref span160[1]; - QuestSequence obj343 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list473 = new List(num2); - CollectionsMarshal.SetCount(list473, num2); - CollectionsMarshal.AsSpan(list473)[0] = new QuestStep(EInteractionType.Interact, 1038872u, new Vector3(-434.13446f, 136.0188f, 570.1228f), 959); - obj343.Steps = list473; - reference373 = obj343; - ref QuestSequence reference374 = ref span160[2]; - QuestSequence obj344 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list474 = new List(num2); - CollectionsMarshal.SetCount(list474, num2); - CollectionsMarshal.AsSpan(list474)[0] = new QuestStep(EInteractionType.Interact, 2012173u, new Vector3(-409.75055f, 172.25903f, 548.94324f), 959) - { - StopDistance = 5f, - IgnoreDistanceToObject = true - }; - obj344.Steps = list474; - reference374 = obj344; - ref QuestSequence reference375 = ref span160[3]; - QuestSequence obj345 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list475 = new List(num2); - CollectionsMarshal.SetCount(list475, num2); - CollectionsMarshal.AsSpan(list475)[0] = new QuestStep(EInteractionType.Interact, 2012174u, new Vector3(-446.09753f, 163.31726f, 593.0419f), 959) - { - StopDistance = 5f, - IgnoreDistanceToObject = true - }; - obj345.Steps = list475; - reference375 = obj345; - ref QuestSequence reference376 = ref span160[4]; - QuestSequence obj346 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list476 = new List(num2); - CollectionsMarshal.SetCount(list476, num2); - CollectionsMarshal.AsSpan(list476)[0] = new QuestStep(EInteractionType.Interact, 2012175u, new Vector3(-407.37012f, 156.8169f, 594.23206f), 959) - { - StopDistance = 5f, - IgnoreDistanceToObject = true - }; - obj346.Steps = list476; - reference376 = obj346; - ref QuestSequence reference377 = ref span160[5]; - QuestSequence obj347 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list477 = new List(num2); - CollectionsMarshal.SetCount(list477, num2); - CollectionsMarshal.AsSpan(list477)[0] = new QuestStep(EInteractionType.Interact, 2012176u, new Vector3(-399.588f, 147.4784f, 566.1554f), 959) - { - StopDistance = 5f, - IgnoreDistanceToObject = true - }; - obj347.Steps = list477; - reference377 = obj347; - ref QuestSequence reference378 = ref span160[6]; - QuestSequence obj348 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list478 = new List(num2); - CollectionsMarshal.SetCount(list478, num2); - CollectionsMarshal.AsSpan(list478)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038876u, new Vector3(-445.54822f, 136.0188f, 552.5748f), 959); - obj348.Steps = list478; - reference378 = obj348; - questRoot46.QuestSequence = list471; - AddQuest(questId46, questRoot46); - } - - private static void LoadQuests88() - { - QuestId questId = new QuestId(4400); - QuestRoot questRoot = new QuestRoot(); - QuestRoot questRoot2 = questRoot; - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot2.Author = list; - QuestRoot questRoot3 = questRoot; - num = 7; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038880u, new Vector3(-382.2843f, 169.00394f, 549.6758f), 959) - { - StopDistance = 5f - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence2 = questSequence; - num2 = 6; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-326.42538f, 98.98749f, 526.5519f), 959) - { - DisableNavmesh = true, - Mount = true - }; - span2[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-50.482517f, 42.360725f, 466.64243f), 959); - span2[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(113.70272f, 45.552776f, 460.49585f), 959); - span2[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(129.9883f, 54.543076f, 468.93378f), 959); - span2[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(126.817184f, 55.823048f, 476.34058f), 959); - span2[5] = new QuestStep(EInteractionType.Interact, 1038884u, new Vector3(295.1858f, 87.78831f, 538.8723f), 959); - questSequence2.Steps = list4; - reference2 = questSequence; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1038888u, new Vector3(446.95203f, 69.15293f, 540.032f), 959); - obj2.Steps = list5; - reference3 = obj2; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Interact, 2012177u, new Vector3(486.71704f, 70.69495f, 538.90283f), 959); - obj3.Steps = list6; - reference4 = obj3; - ref QuestSequence reference5 = ref span[4]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.Interact, 1040516u, new Vector3(205.52368f, 59.358307f, 405.87463f), 959); - obj4.Steps = list7; - reference5 = obj4; - ref QuestSequence reference6 = ref span[5]; - questSequence = new QuestSequence - { - Sequence = 5 - }; - QuestSequence questSequence3 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference7 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj5 = new QuestStep(EInteractionType.Interact, 1040518u, new Vector3(205.06592f, 59.911327f, 411.42883f), 959) - { - StopDistance = 5f - }; - int num3 = 1; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - CollectionsMarshal.AsSpan(list8)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMC102_04400_Q1_000_151") - }; - obj5.DialogueChoices = list8; - reference7 = obj5; - questSequence3.Steps = list4; - reference6 = questSequence; - ref QuestSequence reference8 = ref span[6]; - QuestSequence obj6 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038894u, new Vector3(2.670288f, -49.8925f, -366.0487f), 959); - obj6.Steps = list9; - reference8 = obj6; - questRoot3.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(4401); - questRoot = new QuestRoot(); - QuestRoot questRoot4 = questRoot; - num = 1; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - CollectionsMarshal.AsSpan(list10)[0] = "liza"; - questRoot4.Author = list10; - QuestRoot questRoot5 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span3 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference9 = ref span3[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038894u, new Vector3(2.670288f, -49.8925f, -366.0487f), 959); - obj7.Steps = list11; - reference9 = obj7; - ref QuestSequence reference10 = ref span3[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence4 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span4 = CollectionsMarshal.AsSpan(list4); - span4[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(11.922524f, -105.8306f, -397.17743f), 959) - { - DisableNavmesh = true, - Mount = true - }; - span4[1] = new QuestStep(EInteractionType.Interact, 1038897u, new Vector3(30.838379f, -132.94641f, -435.47723f), 959); - questSequence4.Steps = list4; - reference10 = questSequence; - ref QuestSequence reference11 = ref span3[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence5 = questSequence; - num2 = 3; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span5 = CollectionsMarshal.AsSpan(list4); - span5[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 959) - { - Aetheryte = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - span5[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(36.500526f, -129.20917f, -521.85284f), 959); - span5[2] = new QuestStep(EInteractionType.Interact, 1038901u, new Vector3(120.531006f, -132.86647f, -555.0164f), 959) - { - DisableNavmesh = true - }; - questSequence5.Steps = list4; - reference11 = questSequence; - ref QuestSequence reference12 = ref span3[3]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Interact, 1038902u, new Vector3(-124.864624f, -132.87448f, -471.91577f), 959); - obj8.Steps = list12; - reference12 = obj8; - ref QuestSequence reference13 = ref span3[4]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence6 = questSequence; - num2 = 4; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span6 = CollectionsMarshal.AsSpan(list4); - span6[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-9.783533f, -49.589592f, -339.60205f), 959); - span6[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-72.39724f, -49.589592f, -336.63968f), 959); - span6[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-105.34293f, -49.589592f, -367.6591f), 959) - { - DisableNavmesh = true - }; - span6[3] = new QuestStep(EInteractionType.CompleteQuest, 1038903u, new Vector3(-17.95996f, -47.192066f, -494.31604f), 959); - questSequence6.Steps = list4; - reference13 = questSequence; - questRoot5.QuestSequence = list2; - AddQuest(questId2, questRoot); - QuestId questId3 = new QuestId(4402); - questRoot = new QuestRoot(); - QuestRoot questRoot6 = questRoot; - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = "liza"; - questRoot6.Author = list13; - QuestRoot questRoot7 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span7 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference14 = ref span7[0]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039686u, new Vector3(-17.95996f, -47.192066f, -494.31604f), 959); - obj9.Steps = list14; - reference14 = obj9; - ref QuestSequence reference15 = ref span7[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence7 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span8 = CollectionsMarshal.AsSpan(list4); - span8[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2012013u, new Vector3(29.1046f, -47.739f, -550.4077f), 959) - { - AetherCurrentId = 2818362u - }; - span8[1] = new QuestStep(EInteractionType.Interact, 1038908u, new Vector3(-456.10742f, -168f, -618.7686f), 959) - { - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - questSequence7.Steps = list4; - reference15 = questSequence; - ref QuestSequence reference16 = ref span7[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence8 = questSequence; - num2 = 9; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span9 = CollectionsMarshal.AsSpan(list4); - span9[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-451.1233f, -168f, -623.01324f), 959) - { - StopDistance = 1f, - Mount = false, - Comment = "Platform 1", - JumpDestination = new JumpDestination - { - Position = new Vector3(-448.59048f, -166.16438f, -628.15826f) - } - }; - span9[1] = new QuestStep(EInteractionType.Jump, null, new Vector3(-448.59048f, -166.16438f, -628.15826f), 959) - { - Comment = "Platform 2", - JumpDestination = new JumpDestination - { - Position = new Vector3(-446.64853f, -164.36438f, -633.6268f) - } - }; - span9[2] = new QuestStep(EInteractionType.Jump, null, new Vector3(-446.64853f, -164.36438f, -633.6268f), 959) - { - Comment = "Platform 3", - JumpDestination = new JumpDestination - { - Position = new Vector3(-445.29623f, -162.56439f, -639.4988f) - } - }; - span9[3] = new QuestStep(EInteractionType.Jump, null, new Vector3(-445.29623f, -162.56439f, -639.4988f), 959) - { - Comment = "Platform 4", - JumpDestination = new JumpDestination - { - Position = new Vector3(-444.56757f, -160.76439f, -644.749f), - DelaySeconds = 0.7f - } - }; - span9[4] = new QuestStep(EInteractionType.Jump, null, new Vector3(-444.56757f, -160.76439f, -644.749f), 959) - { - Comment = "Platform 5", - JumpDestination = new JumpDestination - { - Position = new Vector3(-445.23477f, -158.96439f, -651.54956f) - } - }; - span9[5] = new QuestStep(EInteractionType.Jump, null, new Vector3(-445.23477f, -158.96439f, -651.54956f), 959) - { - Comment = "Platform 6", - JumpDestination = new JumpDestination - { - Position = new Vector3(-446.45673f, -157.16441f, -658.25415f), - DelaySeconds = 1f - } - }; - span9[6] = new QuestStep(EInteractionType.Jump, null, new Vector3(-446.45673f, -157.16441f, -658.25415f), 959) - { - Comment = "Platform 7", - JumpDestination = new JumpDestination - { - Position = new Vector3(-449.8167f, -155.36438f, -663.3387f) - } - }; - span9[7] = new QuestStep(EInteractionType.Jump, null, new Vector3(-449.8167f, -155.36438f, -663.3387f), 959) - { - Comment = "Jump onto the big thing", - JumpDestination = new JumpDestination - { - Position = new Vector3(-458.69357f, -155.56349f, -661.287f) - } - }; - ref QuestStep reference17 = ref span9[8]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2012178u, new Vector3(-486.59497f, -154.37555f, -689.26526f), 959) - { - StopDistance = 3f - }; - QuestStep questStep2 = questStep; - num3 = 2; - List list15 = new List(num3); - CollectionsMarshal.SetCount(list15, num3); - Span span10 = CollectionsMarshal.AsSpan(list15); - span10[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMC104_04402_Q1_000_071"), - Answer = new ExcelRef("TEXT_AKTKMC104_04402_A1_000_074") - }; - span10[1] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMC104_04402_Q2_000_081") - }; - questStep2.DialogueChoices = list15; - reference17 = questStep; - questSequence8.Steps = list4; - reference16 = questSequence; - ref QuestSequence reference18 = ref span7[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence9 = questSequence; - num2 = 3; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span11 = CollectionsMarshal.AsSpan(list4); - span11[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2012011u, new Vector3(-482.7497f, -154.95538f, -595.72754f), 959) - { - AetherCurrentId = 2818360u - }; - span11[1] = new QuestStep(EInteractionType.Jump, 1038912u, new Vector3(-462.06528f, -155.5629f, -625.5277f), 959) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(-453.99258f, -168f, -618.5703f), - StopDistance = 8f - } - }; - span11[2] = new QuestStep(EInteractionType.Interact, 1038912u, new Vector3(-455.40552f, -168f, -620.05035f), 959) - { - DelaySecondsAtStart = 3f - }; - questSequence9.Steps = list4; - reference18 = questSequence; - ref QuestSequence reference19 = ref span7[4]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.UseItem, null, new Vector3(-455.40552f, -168f, -620.05035f), 959) - { - ItemId = 2003236u - }; - obj10.Steps = list16; - reference19 = obj10; - ref QuestSequence reference20 = ref span7[5]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038912u, new Vector3(-455.40552f, -168f, -620.05035f), 959) - { - DelaySecondsAtStart = 2f - }; - obj11.Steps = list17; - reference20 = obj11; - questRoot7.QuestSequence = list2; - AddQuest(questId3, questRoot); - QuestId questId4 = new QuestId(4403); - questRoot = new QuestRoot(); - QuestRoot questRoot8 = questRoot; - num = 1; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - CollectionsMarshal.AsSpan(list18)[0] = "liza"; - questRoot8.Author = list18; - QuestRoot questRoot9 = questRoot; - num = 8; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span12 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference21 = ref span12[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038908u, new Vector3(-456.10742f, -168f, -618.7686f), 959) - { - StopDistance = 5f - }; - obj12.Steps = list19; - reference21 = obj12; - ref QuestSequence reference22 = ref span12[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.Interact, 1038919u, new Vector3(-518.36426f, -161.84549f, -281.94098f), 959); - obj13.Steps = list20; - reference22 = obj13; - ref QuestSequence reference23 = ref span12[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence10 = questSequence; - num2 = 8; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span13 = CollectionsMarshal.AsSpan(list4); - span13[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-357.1918f, -161.84383f, -254.25537f), 959); - span13[1] = new QuestStep(EInteractionType.Jump, null, new Vector3(-357.1918f, -161.84383f, -254.25537f), 959) - { - StopDistance = 1f, - Mount = false, - Comment = "Platform 1", - JumpDestination = new JumpDestination - { - Position = new Vector3(-357.36722f, -160.81464f, -258.94827f), - StopDistance = 0.5f, - DelaySeconds = 0.25f - } - }; - span13[2] = new QuestStep(EInteractionType.Jump, null, new Vector3(-357.36722f, -160.81464f, -258.94827f), 959) - { - StopDistance = 1f, - Comment = "Platform 2", - JumpDestination = new JumpDestination - { - Position = new Vector3(-357.09705f, -159.31464f, -262.08554f), - StopDistance = 0.5f, - DelaySeconds = 0.25f - } - }; - span13[3] = new QuestStep(EInteractionType.Jump, null, new Vector3(-357.09705f, -159.31464f, -262.08554f), 959) - { - StopDistance = 1f, - Comment = "Platform 3", - JumpDestination = new JumpDestination - { - Position = new Vector3(-357.5647f, -157.81464f, -265.16046f), - StopDistance = 0.5f, - DelaySeconds = 0.25f - } - }; - span13[4] = new QuestStep(EInteractionType.Jump, null, new Vector3(-357.5647f, -157.81464f, -265.16046f), 959) - { - StopDistance = 1f, - Comment = "Platform 4", - JumpDestination = new JumpDestination - { - Position = new Vector3(-358.55756f, -156.31464f, -268.07187f), - StopDistance = 0.5f, - DelaySeconds = 0.25f - } - }; - span13[5] = new QuestStep(EInteractionType.Jump, null, new Vector3(-358.55756f, -156.31464f, -268.07187f), 959) - { - StopDistance = 1f, - Comment = "Platform 5", - JumpDestination = new JumpDestination - { - Position = new Vector3(-360.63412f, -154.81462f, -270.27368f), - StopDistance = 0.5f, - DelaySeconds = 0.25f - } - }; - span13[6] = new QuestStep(EInteractionType.Jump, null, new Vector3(-360.63412f, -154.81462f, -270.27368f), 959) - { - StopDistance = 1f, - Comment = "Platform 6", - JumpDestination = new JumpDestination - { - Position = new Vector3(-363.1165f, -153.31464f, -272.78378f), - StopDistance = 0.5f, - DelaySeconds = 0.25f - } - }; - ref QuestStep reference24 = ref span13[7]; - QuestStep obj14 = new QuestStep(EInteractionType.Interact, 1038923u, new Vector3(-376.27222f, -151.67168f, -267.90265f), 959) - { - StopDistance = 7f - }; - num3 = 1; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - CollectionsMarshal.AsSpan(list21)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMC105_04403_Q1_000_073"), - Answer = new ExcelRef("TEXT_AKTKMC105_04403_A1_000_075") - }; - obj14.DialogueChoices = list21; - reference24 = obj14; - questSequence10.Steps = list4; - reference23 = questSequence; - ref QuestSequence reference25 = ref span12[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence11 = questSequence; - num2 = 9; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span14 = CollectionsMarshal.AsSpan(list4); - span14[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-336.92316f, -161.84383f, -362.42844f), 959) - { - StopDistance = 1f - }; - span14[1] = new QuestStep(EInteractionType.Jump, null, new Vector3(-336.92316f, -161.84383f, -362.42844f), 959) - { - StopDistance = 1f, - Mount = false, - Comment = "Platform 1", - JumpDestination = new JumpDestination - { - Position = new Vector3(-333.76025f, -160.81464f, -359.79532f), - StopDistance = 0.5f, - DelaySeconds = 0.25f - } - }; - span14[2] = new QuestStep(EInteractionType.Jump, null, new Vector3(-333.76025f, -160.81464f, -359.79532f), 959) - { - StopDistance = 1f, - Comment = "Platform 2", - JumpDestination = new JumpDestination - { - Position = new Vector3(-336.20718f, -159.31462f, -358.21957f), - StopDistance = 0.5f, - DelaySeconds = 0.25f - } - }; - span14[3] = new QuestStep(EInteractionType.Jump, null, new Vector3(-336.20718f, -159.31462f, -358.21957f), 959) - { - StopDistance = 1f, - Comment = "Platform 3", - JumpDestination = new JumpDestination - { - Position = new Vector3(-338.62347f, -157.81464f, -356.00974f), - StopDistance = 0.5f, - DelaySeconds = 0.25f - } - }; - span14[4] = new QuestStep(EInteractionType.Jump, null, new Vector3(-338.62347f, -157.81464f, -356.00974f), 959) - { - StopDistance = 1f, - Comment = "Platform 4", - JumpDestination = new JumpDestination - { - Position = new Vector3(-340.34265f, -156.31462f, -353.9171f), - StopDistance = 0.5f, - DelaySeconds = 0.25f - } - }; - span14[5] = new QuestStep(EInteractionType.Jump, null, new Vector3(-340.34265f, -156.31462f, -353.9171f), 959) - { - StopDistance = 1f, - Comment = "Platform 5", - JumpDestination = new JumpDestination - { - Position = new Vector3(-341.2541f, -154.81462f, -350.6315f), - StopDistance = 0.5f, - DelaySeconds = 0.25f - } - }; - span14[6] = new QuestStep(EInteractionType.Jump, null, new Vector3(-341.2541f, -154.81462f, -350.6315f), 959) - { - StopDistance = 1f, - Comment = "Platform 6", - JumpDestination = new JumpDestination - { - Position = new Vector3(-341.89566f, -153.31464f, -347.0478f), - StopDistance = 0.5f, - DelaySeconds = 0.25f - } - }; - span14[7] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-337.69525f, -152.67764f, -344.93723f), 959) - { - DisableNavmesh = true - }; - ref QuestStep reference26 = ref span14[8]; - QuestStep obj15 = new QuestStep(EInteractionType.Interact, 1038924u, new Vector3(-329.97632f, -151.67169f, -333.76062f), 959) - { - StopDistance = 5f - }; - num3 = 1; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - CollectionsMarshal.AsSpan(list22)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMC105_04403_Q1_000_118"), - Answer = new ExcelRef("TEXT_AKTKMC105_04403_A1_000_120") - }; - obj15.DialogueChoices = list22; - reference26 = obj15; - questSequence11.Steps = list4; - reference25 = questSequence; - ref QuestSequence reference27 = ref span12[4]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.Interact, 1038919u, new Vector3(-518.36426f, -161.84549f, -281.94098f), 959); - obj16.Steps = list23; - reference27 = obj16; - ref QuestSequence reference28 = ref span12[5]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.Interact, 1038925u, new Vector3(-506.52325f, -161.84383f, -258.68628f), 959); - obj17.Steps = list24; - reference28 = obj17; - ref QuestSequence reference29 = ref span12[6]; - questSequence = new QuestSequence - { - Sequence = 6 - }; - QuestSequence questSequence12 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference30 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj18 = new QuestStep(EInteractionType.Interact, 1038926u, new Vector3(-28.244446f, -131.29884f, -585.7481f), 959) - { - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - num3 = 1; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - CollectionsMarshal.AsSpan(list25)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMC105_04403_SYSTEM_000_215") - }; - obj18.DialogueChoices = list25; - reference30 = obj18; - questSequence12.Steps = list4; - reference29 = questSequence; - ref QuestSequence reference31 = ref span12[7]; - QuestSequence obj19 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038927u, new Vector3(2.090454f, -49.589596f, -699.733f), 959); - obj19.Steps = list26; - reference31 = obj19; - questRoot9.QuestSequence = list2; - AddQuest(questId4, questRoot); - QuestId questId5 = new QuestId(4404); - questRoot = new QuestRoot(); - QuestRoot questRoot10 = questRoot; - num = 1; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - CollectionsMarshal.AsSpan(list27)[0] = "liza"; - questRoot10.Author = list27; - QuestRoot questRoot11 = questRoot; - num = 11; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span15 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference32 = ref span15[0]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038927u, new Vector3(2.090454f, -49.589596f, -699.733f), 959); - obj20.Steps = list28; - reference32 = obj20; - ref QuestSequence reference33 = ref span15[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence13 = questSequence; - num2 = 3; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span16 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference34 = ref span16[0]; - QuestStep obj21 = new QuestStep(EInteractionType.AcceptQuest, 1037867u, new Vector3(-301.62512f, -144.00002f, -491.14215f), 959) - { - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - CollectionsMarshal.AsSpan(list29)[0] = new QuestId(4240); - skipAetheryteCondition.QuestsCompleted = list29; - skipConditions.AetheryteShortcutIf = skipAetheryteCondition; - obj21.SkipConditions = skipConditions; - obj21.PickUpQuestId = new QuestId(4240); - reference34 = obj21; - span16[1] = new QuestStep(EInteractionType.AcceptQuest, 1039520u, new Vector3(-287.8615f, -143.50005f, -520.28687f), 959) - { - PickUpQuestId = new QuestId(4241) - }; - span16[2] = new QuestStep(EInteractionType.Interact, 1038928u, new Vector3(146.37976f, -137.32071f, -504.26492f), 959) - { - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - questSequence13.Steps = list4; - reference33 = questSequence; - ref QuestSequence reference35 = ref span15[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence14 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference36 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1038929u, new Vector3(681.45264f, -152f, -494.13293f), 959); - num3 = 1; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - CollectionsMarshal.AsSpan(list30)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMC106_04404_Q1_000_021"), - Answer = new ExcelRef("TEXT_AKTKMC106_04404_A1_000_022") - }; - questStep3.DialogueChoices = list30; - reference36 = questStep3; - questSequence14.Steps = list4; - reference35 = questSequence; - ref QuestSequence reference37 = ref span15[3]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.Emote, 1038929u, new Vector3(681.45264f, -152f, -494.13293f), 959) - { - Emote = EEmote.Stretch - }; - obj22.Steps = list31; - reference37 = obj22; - ref QuestSequence reference38 = ref span15[4]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 1038929u, new Vector3(681.45264f, -152f, -494.13293f), 959); - obj23.Steps = list32; - reference38 = obj23; - ref QuestSequence reference39 = ref span15[5]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Interact, 1038929u, new Vector3(595.4731f, -167.50227f, -511.4072f), 959) - { - StopDistance = 0.25f - }; - obj24.Steps = list33; - reference39 = obj24; - ref QuestSequence reference40 = ref span15[6]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.Interact, 1038929u, new Vector3(547.8397f, -167.50174f, -526.3702f), 959) - { - StopDistance = 0.25f - }; - obj25.Steps = list34; - reference40 = obj25; - ref QuestSequence reference41 = ref span15[7]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.Interact, 1038929u, new Vector3(572.45984f, -167.50163f, -577.03906f), 959) - { - StopDistance = 0.25f - }; - obj26.Steps = list35; - reference41 = obj26; - ref QuestSequence reference42 = ref span15[8]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.Interact, 1038929u, new Vector3(617.89886f, -167.50163f, -594.92847f), 959) - { - StopDistance = 0.25f - }; - obj27.Steps = list36; - reference42 = obj27; - ref QuestSequence reference43 = ref span15[9]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.Interact, 1038929u, new Vector3(622.8754f, -167.50217f, -659.45184f), 959) - { - StopDistance = 0.25f - }; - obj28.Steps = list37; - reference43 = obj28; - ref QuestSequence reference44 = ref span15[10]; - QuestSequence obj29 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038932u, new Vector3(617.05945f, -168.00002f, -656.58044f), 959) - { - StopDistance = 7f - }; - obj29.Steps = list38; - reference44 = obj29; - questRoot11.QuestSequence = list2; - AddQuest(questId5, questRoot); - QuestId questId6 = new QuestId(4405); - questRoot = new QuestRoot(); - QuestRoot questRoot12 = questRoot; - num = 1; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - CollectionsMarshal.AsSpan(list39)[0] = "liza"; - questRoot12.Author = list39; - QuestRoot questRoot13 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span17 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference45 = ref span17[0]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038931u, new Vector3(615.8998f, -168f, -657.7402f), 959) - { - StopDistance = 7f - }; - obj30.Steps = list40; - reference45 = obj30; - ref QuestSequence reference46 = ref span17[1]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.Interact, 2012184u, new Vector3(73.83838f, -133.07397f, -512.2606f), 959) - { - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - obj31.Steps = list41; - reference46 = obj31; - ref QuestSequence reference47 = ref span17[2]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.Interact, 2012185u, new Vector3(-5.416992f, -49.05786f, -269.24548f), 959) - { - Comment = "Follow Urianger" - }; - obj32.Steps = list42; - reference47 = obj32; - ref QuestSequence reference48 = ref span17[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence15 = questSequence; - num2 = 8; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span18 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference49 = ref span18[0]; - QuestStep obj33 = new QuestStep(EInteractionType.Interact, 2012185u, new Vector3(-5.416992f, -49.05786f, -269.24548f), 959) - { - Comment = "retry point", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - num3 = 1; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - CollectionsMarshal.AsSpan(list43)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMC107_04405_Q1_000_043") - }; - obj33.DialogueChoices = list43; - reference49 = obj33; - span18[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-6.025082f, -28.32315f, -215.77702f), 959) - { - DelaySecondsAtStart = 2f, - DisableNavmesh = true, - Mount = false, - Sprint = false - }; - span18[2] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1038933u, new Vector3(15.536669f, -7.1210613f, -177.33519f), 959) - { - StopDistance = 100f, - NpcWaitDistance = 3f, - Mount = false, - Sprint = false - }; - span18[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(10.73667f, -5.0926046f, -171.87782f), 959) - { - Mount = false, - Sprint = false - }; - span18[4] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1038933u, new Vector3(-22.370995f, 14.627041f, -132.87657f), 959) - { - StopDistance = 100f, - NpcWaitDistance = 3f, - Mount = false, - Sprint = false - }; - span18[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-25.210857f, 26.867788f, -109.43445f), 959) - { - Mount = false, - Sprint = false - }; - span18[6] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1038933u, new Vector3(1.7508065f, 46.95068f, -69.89246f), 959) - { - StopDistance = 100f, - NpcWaitDistance = 3f, - Mount = false, - Sprint = false - }; - span18[7] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(48.261765f, 74.98867f, -32.961533f), 959) - { - DelaySecondsAtStart = 1f, - Mount = false, - Sprint = true - }; - questSequence15.Steps = list4; - reference48 = questSequence; - ref QuestSequence reference50 = ref span17[4]; - QuestSequence obj34 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038935u, new Vector3(68.5282f, 75.72459f, -23.51416f), 959) - { - StopDistance = 5f - }; - obj34.Steps = list44; - reference50 = obj34; - questRoot13.QuestSequence = list2; - AddQuest(questId6, questRoot); - QuestId questId7 = new QuestId(4406); - questRoot = new QuestRoot(); - QuestRoot questRoot14 = questRoot; - num = 1; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - CollectionsMarshal.AsSpan(list45)[0] = "liza"; - questRoot14.Author = list45; - QuestRoot questRoot15 = questRoot; - num = 8; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span19 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference51 = ref span19[0]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038935u, new Vector3(68.5282f, 75.72459f, -23.51416f), 959) - { - StopDistance = 5f - }; - obj35.Steps = list46; - reference51 = obj35; - ref QuestSequence reference52 = ref span19[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence16 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span20 = CollectionsMarshal.AsSpan(list4); - span20[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2012010u, new Vector3(42.58789f, 124.01001f, -167.04059f), 959) - { - AetherCurrentId = 2818359u - }; - span20[1] = new QuestStep(EInteractionType.Interact, 1038936u, new Vector3(191.48547f, 93.90228f, -54.306885f), 959); - questSequence16.Steps = list4; - reference52 = questSequence; - ref QuestSequence reference53 = ref span19[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence17 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference54 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj36 = new QuestStep(EInteractionType.Combat, 2012235u, new Vector3(183.30652f, 87.20532f, -30.47229f), 959) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 3; - List list47 = new List(num3); - CollectionsMarshal.SetCount(list47, num3); - Span span21 = CollectionsMarshal.AsSpan(list47); - span21[0] = 13998u; - span21[1] = 14093u; - span21[2] = 13998u; - obj36.KillEnemyDataIds = list47; - reference54 = obj36; - questSequence17.Steps = list4; - reference53 = questSequence; - ref QuestSequence reference55 = ref span19[3]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.Interact, 2012433u, new Vector3(183.30652f, 87.17468f, -30.380737f), 959); - obj37.Steps = list48; - reference55 = obj37; - ref QuestSequence reference56 = ref span19[4]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.Interact, 1038936u, new Vector3(191.48547f, 93.90228f, -54.306885f), 959); - obj38.Steps = list49; - reference56 = obj38; - ref QuestSequence reference57 = ref span19[5]; - questSequence = new QuestSequence - { - Sequence = 5 - }; - QuestSequence questSequence18 = questSequence; - num2 = 4; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span22 = CollectionsMarshal.AsSpan(list4); - span22[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(304.50522f, -144f, -558.8681f), 959) - { - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow, - JumpDestination = new JumpDestination - { - Position = new Vector3(315.84082f, -156.2339f, -577.15063f), - StopDistance = 5f - } - }; - span22[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2012012u, new Vector3(316.39575f, -154.98596f, -595.5444f), 959) - { - StopDistance = 3f, - AetherCurrentId = 2818361u - }; - span22[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(351.1467f, -167.87698f, -605.0467f), 959); - span22[3] = new QuestStep(EInteractionType.Interact, 1038937u, new Vector3(381.7959f, -168.00002f, -594.62885f), 959); - questSequence18.Steps = list4; - reference57 = questSequence; - ref QuestSequence reference58 = ref span19[6]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.Snipe, 2012337u, new Vector3(466.8496f, -168.01715f, -654.13904f), 959) - { - Comment = "Find \"Runninway?\"" - }; - obj39.Steps = list50; - reference58 = obj39; - ref QuestSequence reference59 = ref span19[7]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038944u, new Vector3(361.65405f, -168.00002f, -628.19867f), 959); - obj40.Steps = list51; - reference59 = obj40; - questRoot15.QuestSequence = list2; - AddQuest(questId7, questRoot); - QuestId questId8 = new QuestId(4407); - questRoot = new QuestRoot(); - QuestRoot questRoot16 = questRoot; - num = 1; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - CollectionsMarshal.AsSpan(list52)[0] = "liza"; - questRoot16.Author = list52; - QuestRoot questRoot17 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span23 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference60 = ref span23[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038946u, new Vector3(362.50854f, -168.00002f, -625.11633f), 959) - { - StopDistance = 5f - }; - obj41.Steps = list53; - reference60 = obj41; - ref QuestSequence reference61 = ref span23[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence19 = questSequence; - num2 = 5; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span24 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference62 = ref span24[0]; - QuestStep obj42 = new QuestStep(EInteractionType.AcceptQuest, 1041555u, new Vector3(26.443848f, -129.20917f, -536.9497f), 959) - { - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num3 = 1; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - CollectionsMarshal.AsSpan(list54)[0] = new QuestId(4516); - skipAetheryteCondition2.QuestsCompleted = list54; - skipConditions2.AetheryteShortcutIf = skipAetheryteCondition2; - obj42.SkipConditions = skipConditions2; - obj42.PickUpQuestId = new QuestId(4516); - reference62 = obj42; - ref QuestStep reference63 = ref span24[1]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1041123u, new Vector3(-81.864685f, -132.74333f, -521.6602f), 959); - QuestStep questStep4 = questStep; - num3 = 1; - List list55 = new List(num3); - CollectionsMarshal.SetCount(list55, num3); - CollectionsMarshal.AsSpan(list55)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "quest/042/AktKze014_04253", - Prompt = new ExcelRef("TEXT_AKTKZE014_04253_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZE014_04253_A1_000_002") - }; - questStep4.DialogueChoices = list55; - questStep.PickUpQuestId = new QuestId(4253); - reference63 = questStep; - span24[2] = new QuestStep(EInteractionType.Interact, 2012664u, new Vector3(-26.901672f, -130.47992f, -580.4685f), 959) - { - TargetTerritoryId = (ushort)959 - }; - span24[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(65.32143f, -49.589592f, -690.11676f), 959); - span24[4] = new QuestStep(EInteractionType.Interact, 1038947u, new Vector3(184.00854f, -49.589592f, -627.9545f), 959); - questSequence19.Steps = list4; - reference61 = questSequence; - ref QuestSequence reference64 = ref span23[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence20 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference65 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj43 = new QuestStep(EInteractionType.Combat, null, new Vector3(167.0076f, -49.589592f, -637.9577f), 959) - { - StopDistance = 3f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 4; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - Span span25 = CollectionsMarshal.AsSpan(list56); - span25[0] = 13995u; - span25[1] = 13996u; - span25[2] = 13997u; - span25[3] = 13995u; - obj43.KillEnemyDataIds = list56; - reference65 = obj43; - questSequence20.Steps = list4; - reference64 = questSequence; - ref QuestSequence reference66 = ref span23[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence21 = questSequence; - num2 = 3; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span26 = CollectionsMarshal.AsSpan(list4); - span26[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(172.90228f, -49.589603f, -509.59824f), 959); - span26[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(18.495846f, -49.589592f, -301.7225f), 959); - span26[2] = new QuestStep(EInteractionType.Interact, 1038950u, new Vector3(-2.7008667f, -27.758478f, -214.77081f), 959); - questSequence21.Steps = list4; - reference66 = questSequence; - ref QuestSequence reference67 = ref span23[4]; - QuestSequence obj44 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038952u, new Vector3(-609.12494f, 128.67769f, 572.0454f), 959) - { - StopDistance = 5f - }; - obj44.Steps = list57; - reference67 = obj44; - questRoot17.QuestSequence = list2; - AddQuest(questId8, questRoot); - QuestId questId9 = new QuestId(4408); - questRoot = new QuestRoot(); - QuestRoot questRoot18 = questRoot; - num = 1; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - CollectionsMarshal.AsSpan(list58)[0] = "liza"; - questRoot18.Author = list58; - QuestRoot questRoot19 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span27 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference68 = ref span27[0]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038953u, new Vector3(-611.1391f, 128.6778f, 566.8573f), 959) - { - StopDistance = 5f - }; - obj45.Steps = list59; - reference68 = obj45; - ref QuestSequence reference69 = ref span27[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence22 = questSequence; - num2 = 3; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span28 = CollectionsMarshal.AsSpan(list4); - span28[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-614.86835f, 128.67761f, 677.33923f), 959) - { - Comment = "Avoids Combat", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span28[1] = new QuestStep(EInteractionType.Interact, 2012531u, new Vector3(-663.29443f, 132.6466f, 728.96924f), 959) - { - TargetTerritoryId = (ushort)1024, - Fly = true - }; - span28[2] = new QuestStep(EInteractionType.Interact, 1038960u, new Vector3(0.99176025f, 0f, 22.171326f), 1024); - questSequence22.Steps = list4; - reference69 = questSequence; - ref QuestSequence reference70 = ref span27[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.Interact, 1038963u, new Vector3(-338.2467f, 23.803604f, 407.79736f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - obj46.Steps = list60; - reference70 = obj46; - ref QuestSequence reference71 = ref span27[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence23 = questSequence; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.Interact, 1038965u, new Vector3(-104.9668f, 3.8989396f, 9.262146f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanBaldesionAnnex - } - }; - questSequence23.Steps = list61; - reference71 = questSequence; - ref QuestSequence reference72 = ref span27[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence24 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span29 = CollectionsMarshal.AsSpan(list4); - span29[0] = new QuestStep(EInteractionType.Interact, 2011936u, new Vector3(-108.56799f, 5.0201416f, 4.5318604f), 962) - { - TargetTerritoryId = (ushort)987 - }; - ref QuestStep reference73 = ref span29[1]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2012188u, new Vector3(-0.015319824f, -0.015319824f, -5.081299f), 987); - num3 = 1; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - CollectionsMarshal.AsSpan(list62)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMC110_04408_Q3_000_170") - }; - questStep5.DialogueChoices = list62; - reference73 = questStep5; - questSequence24.Steps = list4; - reference72 = questSequence; - ref QuestSequence reference74 = ref span27[5]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence25 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference75 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj47 = new QuestStep(EInteractionType.CompleteQuest, 1038588u, new Vector3(-101.76245f, 4.357494f, 0.7476196f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanBaldesionAnnex - } - }; - num3 = 1; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - CollectionsMarshal.AsSpan(list63)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMC110_04408_Q4_000_204") - }; - obj47.DialogueChoices = list63; - reference75 = obj47; - questSequence25.Steps = list4; - reference74 = questSequence; - questRoot19.QuestSequence = list2; - AddQuest(questId9, questRoot); - QuestId questId10 = new QuestId(4409); - questRoot = new QuestRoot(); - QuestRoot questRoot20 = questRoot; - num = 1; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - CollectionsMarshal.AsSpan(list64)[0] = "liza"; - questRoot20.Author = list64; - QuestRoot questRoot21 = questRoot; - num = 7; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span30 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference76 = ref span30[0]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038969u, new Vector3(-104.478516f, 3.8989394f, 7.003784f), 962) - { - StopDistance = 5f - }; - obj48.Steps = list65; - reference76 = obj48; - ref QuestSequence reference77 = ref span30[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence26 = questSequence; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.Interact, 2011936u, new Vector3(-108.5617f, 5.0504f, 4.55803f), 962) - { - TargetTerritoryId = (ushort)987 - }; - questSequence26.Steps = list66; - reference77 = questSequence; - ref QuestSequence reference78 = ref span30[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence27 = questSequence; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(0f, 0f, 0f), 957) - { - Comment = "Quest automatically progresses once teleported to Yedlihmad", - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - questSequence27.Steps = list67; - reference78 = questSequence; - ref QuestSequence reference79 = ref span30[3]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Interact, 1038978u, new Vector3(202.34985f, 1.7699993f, 757.71716f), 957); - obj49.Steps = list68; - reference79 = obj49; - ref QuestSequence reference80 = ref span30[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence28 = questSequence; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Duty, null, null, 957) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 789u - } - }; - questSequence28.Steps = list69; - reference80 = questSequence; - span30[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference81 = ref span30[6]; - QuestSequence obj50 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038992u, new Vector3(4.6539917f, -1.9999963f, 93.492065f), 963) - { - StopDistance = 5f - }; - obj50.Steps = list70; - reference81 = obj50; - questRoot21.QuestSequence = list2; - AddQuest(questId10, questRoot); - QuestId questId11 = new QuestId(4410); - questRoot = new QuestRoot(); - QuestRoot questRoot22 = questRoot; - num = 1; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - CollectionsMarshal.AsSpan(list71)[0] = "liza"; - questRoot22.Author = list71; - QuestRoot questRoot23 = questRoot; - num = 7; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span31 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference82 = ref span31[0]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038992u, new Vector3(4.6539917f, -1.9999963f, 93.492065f), 963) - { - StopDistance = 5f - }; - obj51.Steps = list72; - reference82 = obj51; - ref QuestSequence reference83 = ref span31[1]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.Interact, 1038997u, new Vector3(2.7618408f, -1.9999962f, 97.30664f), 963); - obj52.Steps = list73; - reference83 = obj52; - ref QuestSequence reference84 = ref span31[2]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.Interact, 1037313u, new Vector3(137.71265f, 4.783756f, -153.9483f), 963); - obj53.Steps = list74; - reference84 = obj53; - ref QuestSequence reference85 = ref span31[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence29 = questSequence; - num2 = 4; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span32 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference86 = ref span32[0]; - questStep = new QuestStep(EInteractionType.WalkTo, null, new Vector3(81.33277f, 1.8631814f, -96.56102f), 963) - { - DisableNavmesh = true, - Sprint = true - }; - QuestStep questStep6 = questStep; - SkipConditions skipConditions3 = new SkipConditions(); - SkipConditions skipConditions4 = skipConditions3; - SkipStepConditions skipStepConditions = new SkipStepConditions(); - SkipStepConditions skipStepConditions2 = skipStepConditions; - num3 = 6; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - Span span33 = CollectionsMarshal.AsSpan(list75); - span33[0] = null; - span33[1] = null; - span33[2] = null; - span33[3] = null; - span33[4] = null; - span33[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list75; - skipConditions4.StepIf = skipStepConditions; - questStep6.SkipConditions = skipConditions3; - reference86 = questStep; - ref QuestStep reference87 = ref span32[1]; - questStep = new QuestStep(EInteractionType.Interact, 1037314u, new Vector3(15.701477f, 0.9f, -115.22089f), 963) - { - Comment = "Varsra" - }; - QuestStep questStep7 = questStep; - num3 = 6; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - Span span34 = CollectionsMarshal.AsSpan(list76); - span34[0] = null; - span34[1] = null; - span34[2] = null; - span34[3] = null; - span34[4] = null; - span34[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list76; - reference87 = questStep; - ref QuestStep reference88 = ref span32[2]; - questStep = new QuestStep(EInteractionType.Interact, 1037316u, new Vector3(-47.04364f, 0.9199997f, -94.95697f), 963) - { - Comment = "Zeytahnur" - }; - QuestStep questStep8 = questStep; - num3 = 6; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - Span span35 = CollectionsMarshal.AsSpan(list77); - span35[0] = null; - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list77; - reference88 = questStep; - ref QuestStep reference89 = ref span32[3]; - questStep = new QuestStep(EInteractionType.Interact, 1037315u, new Vector3(-19.60791f, 0.8999999f, -60.68518f), 963) - { - Comment = "Rahdvira" - }; - QuestStep questStep9 = questStep; - num3 = 6; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - Span span36 = CollectionsMarshal.AsSpan(list78); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list78; - reference89 = questStep; - questSequence29.Steps = list4; - reference85 = questSequence; - ref QuestSequence reference90 = ref span31[4]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.Interact, 1038997u, new Vector3(-37.667046f, -0.00014948845f, -136.80333f), 963) - { - StopDistance = 0.25f - }; - obj54.Steps = list79; - reference90 = obj54; - ref QuestSequence reference91 = ref span31[5]; - questSequence = new QuestSequence - { - Sequence = 5 - }; - QuestSequence questSequence30 = questSequence; - num2 = 3; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span37 = CollectionsMarshal.AsSpan(list4); - span37[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 963) - { - AethernetShard = EAetheryteLocation.RadzAtHanMehrydesMeyhane - }; - span37[1] = new QuestStep(EInteractionType.Interact, 1039001u, new Vector3(-20.096191f, 3.0099998f, -226.79486f), 963); - span37[2] = new QuestStep(EInteractionType.Interact, 1037317u, new Vector3(-25.314758f, 1.7999934f, -185.96173f), 963); - questSequence30.Steps = list4; - reference91 = questSequence; - ref QuestSequence reference92 = ref span31[6]; - QuestSequence obj55 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037318u, new Vector3(-4.1047363f, 2.9999943f, -203.8758f), 963); - obj55.Steps = list80; - reference92 = obj55; - questRoot23.QuestSequence = list2; - AddQuest(questId11, questRoot); - QuestId questId12 = new QuestId(4411); - questRoot = new QuestRoot(); - QuestRoot questRoot24 = questRoot; - num = 1; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - CollectionsMarshal.AsSpan(list81)[0] = "liza"; - questRoot24.Author = list81; - QuestRoot questRoot25 = questRoot; - num = 13; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span38 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference93 = ref span38[0]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.AcceptQuest, 1037318u, new Vector3(-4.1047363f, 2.9999943f, -203.8758f), 963); - obj56.Steps = list82; - reference93 = obj56; - ref QuestSequence reference94 = ref span38[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence31 = questSequence; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.Interact, 1039002u, new Vector3(57.04193f, 26.99999f, 46.383568f), 963) - { - StopDistance = 0.25f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanMehrydesMeyhane, - To = EAetheryteLocation.RadzAtHanRuveydahFibers - } - }; - questSequence31.Steps = list83; - reference94 = questSequence; - ref QuestSequence reference95 = ref span38[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence32 = questSequence; - num2 = 3; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span39 = CollectionsMarshal.AsSpan(list4); - span39[0] = new QuestStep(EInteractionType.Interact, 1039539u, new Vector3(87.662964f, 27.06f, 28.030762f), 963); - span39[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 963) - { - AethernetShard = EAetheryteLocation.RadzAtHanKama - }; - span39[2] = new QuestStep(EInteractionType.Interact, 1039540u, new Vector3(149.79773f, 27.049997f, 39.627686f), 963); - questSequence32.Steps = list4; - reference95 = questSequence; - ref QuestSequence reference96 = ref span38[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence33 = questSequence; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.Interact, 1039003u, new Vector3(-159.3805f, 23.999973f, 110.61267f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanKama, - To = EAetheryteLocation.RadzAtHanRuveydahFibers - } - }; - questSequence33.Steps = list84; - reference96 = questSequence; - ref QuestSequence reference97 = ref span38[4]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.Interact, 1039542u, new Vector3(-101.12158f, 24f, 79.48425f), 963); - obj57.Steps = list85; - reference97 = obj57; - ref QuestSequence reference98 = ref span38[5]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.Interact, 2012194u, new Vector3(-103.83765f, 24.948364f, 87.57141f), 963); - obj58.Steps = list86; - reference98 = obj58; - ref QuestSequence reference99 = ref span38[6]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.Interact, 1037321u, new Vector3(-143.14496f, 24f, 93.003784f), 963); - obj59.Steps = list87; - reference99 = obj59; - ref QuestSequence reference100 = ref span38[7]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 2012195u, new Vector3(-104.57007f, 25.192627f, 87.63245f), 963); - obj60.Steps = list88; - reference100 = obj60; - ref QuestSequence reference101 = ref span38[8]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Interact, 1037319u, new Vector3(-123.49127f, 24f, 88.57861f), 963); - obj61.Steps = list89; - reference101 = obj61; - ref QuestSequence reference102 = ref span38[9]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.Interact, 2012196u, new Vector3(-104.234375f, 24.734863f, 87.57141f), 963); - obj62.Steps = list90; - reference102 = obj62; - ref QuestSequence reference103 = ref span38[10]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.Interact, 1037320u, new Vector3(-115.739685f, 24f, 97.0625f), 963); - obj63.Steps = list91; - reference103 = obj63; - ref QuestSequence reference104 = ref span38[11]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 11 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.Interact, 1039542u, new Vector3(-101.12158f, 24f, 79.48425f), 963); - obj64.Steps = list92; - reference104 = obj64; - ref QuestSequence reference105 = ref span38[12]; - QuestSequence obj65 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039003u, new Vector3(-159.3805f, 23.999973f, 110.61267f), 963); - obj65.Steps = list93; - reference105 = obj65; - questRoot25.QuestSequence = list2; - AddQuest(questId12, questRoot); - QuestId questId13 = new QuestId(4412); - questRoot = new QuestRoot(); - QuestRoot questRoot26 = questRoot; - num = 1; - List list94 = new List(num); - CollectionsMarshal.SetCount(list94, num); - CollectionsMarshal.AsSpan(list94)[0] = "liza"; - questRoot26.Author = list94; - QuestRoot questRoot27 = questRoot; - num = 8; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span40 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference106 = ref span40[0]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039004u, new Vector3(-158.80066f, 23.999973f, 112.291016f), 963); - obj66.Steps = list95; - reference106 = obj66; - ref QuestSequence reference107 = ref span40[1]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.Interact, 1039005u, new Vector3(-207.7821f, 36f, 76.798584f), 963); - obj67.Steps = list96; - reference107 = obj67; - ref QuestSequence reference108 = ref span40[2]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.Interact, 1039007u, new Vector3(499.87024f, 51.57471f, -597.1924f), 957) - { - StopDistance = 5f - }; - obj68.Steps = list97; - reference108 = obj68; - ref QuestSequence reference109 = ref span40[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence34 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference110 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj69 = new QuestStep(EInteractionType.Combat, 2012197u, new Vector3(454.06262f, 29.251465f, -491.3253f), 957) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - CollectionsMarshal.AsSpan(list98)[0] = 13994u; - obj69.KillEnemyDataIds = list98; - reference110 = obj69; - questSequence34.Steps = list4; - reference109 = questSequence; - ref QuestSequence reference111 = ref span40[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence35 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference112 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj70 = new QuestStep(EInteractionType.Combat, 2012198u, new Vector3(391.07336f, 14.389221f, -444.29694f), 957) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list99 = new List(num3); - CollectionsMarshal.SetCount(list99, num3); - Span span41 = CollectionsMarshal.AsSpan(list99); - span41[0] = 13992u; - span41[1] = 13993u; - obj70.KillEnemyDataIds = list99; - reference112 = obj70; - questSequence35.Steps = list4; - reference111 = questSequence; - ref QuestSequence reference113 = ref span40[5]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.Interact, 1039010u, new Vector3(382.71155f, 3.1168795f, -270.4662f), 957); - obj71.Steps = list100; - reference113 = obj71; - ref QuestSequence reference114 = ref span40[6]; - questSequence = new QuestSequence - { - Sequence = 6, - Comment = "TODO Missing completion flags" - }; - QuestSequence questSequence36 = questSequence; - num2 = 5; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span42 = CollectionsMarshal.AsSpan(list4); - span42[0] = new QuestStep(EInteractionType.Interact, 1039014u, new Vector3(367.33044f, 3.1168795f, -247.6997f), 957); - span42[1] = new QuestStep(EInteractionType.Interact, 1039015u, new Vector3(369.10046f, 3.1168795f, -247.39453f), 957); - span42[2] = new QuestStep(EInteractionType.Interact, 1039017u, new Vector3(391.77527f, 3.3857868f, -207.75165f), 957); - span42[3] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 957) - { - Aetheryte = EAetheryteLocation.ThavnairPalakasStand - }; - span42[4] = new QuestStep(EInteractionType.Interact, 1039016u, new Vector3(438.22375f, 3.1179183f, -224.10931f), 957); - questSequence36.Steps = list4; - reference114 = questSequence; - ref QuestSequence reference115 = ref span40[7]; - QuestSequence obj72 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039020u, new Vector3(430.8689f, 3.1168795f, -251.33142f), 957); - obj72.Steps = list101; - reference115 = obj72; - questRoot27.QuestSequence = list2; - AddQuest(questId13, questRoot); - QuestId questId14 = new QuestId(4413); - questRoot = new QuestRoot(); - QuestRoot questRoot28 = questRoot; - num = 1; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - CollectionsMarshal.AsSpan(list102)[0] = "liza"; - questRoot28.Author = list102; - QuestRoot questRoot29 = questRoot; - num = 9; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span43 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference116 = ref span43[0]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039020u, new Vector3(430.8689f, 3.1168795f, -251.33142f), 957); - obj73.Steps = list103; - reference116 = obj73; - ref QuestSequence reference117 = ref span43[1]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.Interact, 1039022u, new Vector3(399.3744f, 3.1168792f, -272.84656f), 957) - { - DisableNavmesh = true - }; - obj74.Steps = list104; - reference117 = obj74; - ref QuestSequence reference118 = ref span43[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence37 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span44 = CollectionsMarshal.AsSpan(list4); - span44[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2011995u, new Vector3(118.45581f, 4.92865f, -343.89258f), 957) - { - AetherCurrentId = 2818331u - }; - ref QuestStep reference119 = ref span44[1]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1039023u, new Vector3(55.77173f, 14.571876f, -330.46472f), 957); - num3 = 1; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - CollectionsMarshal.AsSpan(list105)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMD105_04413_Q1_000_095"), - Answer = new ExcelRef("TEXT_AKTKMD105_04413_A1_000_096") - }; - questStep10.DialogueChoices = list105; - reference119 = questStep10; - questSequence37.Steps = list4; - reference118 = questSequence; - ref QuestSequence reference120 = ref span43[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence38 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference121 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj75 = new QuestStep(EInteractionType.Combat, 1039026u, new Vector3(-29.404175f, 21.255978f, -224.04822f), 957) - { - StopDistance = 0.25f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - Span span45 = CollectionsMarshal.AsSpan(list106); - span45[0] = 13991u; - span45[1] = 13990u; - obj75.KillEnemyDataIds = list106; - reference121 = obj75; - questSequence38.Steps = list4; - reference120 = questSequence; - ref QuestSequence reference122 = ref span43[4]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.Interact, 1039026u, new Vector3(-29.404175f, 21.255978f, -224.04822f), 957); - obj76.Steps = list107; - reference122 = obj76; - ref QuestSequence reference123 = ref span43[5]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.Interact, 2012200u, new Vector3(53.72693f, 18.264954f, -291.58472f), 957); - obj77.Steps = list108; - reference123 = obj77; - ref QuestSequence reference124 = ref span43[6]; - questSequence = new QuestSequence - { - Sequence = 6 - }; - QuestSequence questSequence39 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference125 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj78 = new QuestStep(EInteractionType.Combat, 2012201u, new Vector3(237.62866f, 7.156433f, -273.33484f), 957) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list109 = new List(num3); - CollectionsMarshal.SetCount(list109, num3); - CollectionsMarshal.AsSpan(list109)[0] = 13989u; - obj78.KillEnemyDataIds = list109; - reference125 = obj78; - questSequence39.Steps = list4; - reference124 = questSequence; - ref QuestSequence reference126 = ref span43[7]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.Interact, 2012202u, new Vector3(311.4519f, 7.7667847f, -198.23004f), 957); - obj79.Steps = list110; - reference126 = obj79; - ref QuestSequence reference127 = ref span43[8]; - QuestSequence obj80 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039027u, new Vector3(381.33813f, 3.1168795f, -257.0688f), 957); - obj80.Steps = list111; - reference127 = obj80; - questRoot29.QuestSequence = list2; - AddQuest(questId14, questRoot); - QuestId questId15 = new QuestId(4414); - questRoot = new QuestRoot(); - QuestRoot questRoot30 = questRoot; - num = 1; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - CollectionsMarshal.AsSpan(list112)[0] = "liza"; - questRoot30.Author = list112; - QuestRoot questRoot31 = questRoot; - num = 8; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span46 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference128 = ref span46[0]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039028u, new Vector3(381.33813f, 3.1168795f, -257.0688f), 957); - obj81.Steps = list113; - reference128 = obj81; - ref QuestSequence reference129 = ref span46[1]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.Interact, 1037630u, new Vector3(401.8158f, 3.1168792f, -273.76215f), 957); - obj82.Steps = list114; - reference129 = obj82; - ref QuestSequence reference130 = ref span46[2]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.Interact, 1039030u, new Vector3(408.65186f, 13.167275f, -184.37476f), 957); - obj83.Steps = list115; - reference130 = obj83; - ref QuestSequence reference131 = ref span46[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence40 = questSequence; - num2 = 4; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span47 = CollectionsMarshal.AsSpan(list4); - span47[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(543.0377f, 15.147404f, -147.8739f), 957); - span47[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2011996u, new Vector3(550.01135f, 25.467285f, -159.1059f), 957) - { - DisableNavmesh = true, - AetherCurrentId = 2818332u - }; - span47[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(536.3203f, 12.722106f, -95.65565f), 957); - ref QuestStep reference132 = ref span47[3]; - QuestStep obj84 = new QuestStep(EInteractionType.Combat, null, new Vector3(498.18472f, 4.909424f, 1.4510483f), 957) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - CollectionsMarshal.AsSpan(list116)[0] = 13988u; - obj84.KillEnemyDataIds = list116; - reference132 = obj84; - questSequence40.Steps = list4; - reference131 = questSequence; - ref QuestSequence reference133 = ref span46[4]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.Interact, 1039034u, new Vector3(494.83484f, 5.376761f, 2.7313232f), 957); - obj85.Steps = list117; - reference133 = obj85; - ref QuestSequence reference134 = ref span46[5]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.Interact, 1039035u, new Vector3(573.5714f, 16.272768f, 130.11365f), 957); - obj86.Steps = list118; - reference134 = obj86; - ref QuestSequence reference135 = ref span46[6]; - questSequence = new QuestSequence - { - Sequence = 6 - }; - QuestSequence questSequence41 = questSequence; - num2 = 3; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span48 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference136 = ref span48[0]; - questStep = new QuestStep(EInteractionType.Combat, null, new Vector3(521.0876f, 11.819632f, 266.03055f), 957) - { - StopDistance = 0.25f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - QuestStep questStep11 = questStep; - num3 = 1; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - CollectionsMarshal.AsSpan(list119)[0] = 13987u; - questStep11.KillEnemyDataIds = list119; - QuestStep questStep12 = questStep; - num3 = 6; - List list120 = new List(num3); - CollectionsMarshal.SetCount(list120, num3); - Span span49 = CollectionsMarshal.AsSpan(list120); - span49[0] = null; - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list120; - reference136 = questStep; - ref QuestStep reference137 = ref span48[1]; - questStep = new QuestStep(EInteractionType.Combat, null, new Vector3(571.6434f, 32.12932f, 370.01733f), 957) - { - StopDistance = 0.25f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - QuestStep questStep13 = questStep; - num3 = 1; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - CollectionsMarshal.AsSpan(list121)[0] = 13986u; - questStep13.KillEnemyDataIds = list121; - QuestStep questStep14 = questStep; - num3 = 6; - List list122 = new List(num3); - CollectionsMarshal.SetCount(list122, num3); - Span span50 = CollectionsMarshal.AsSpan(list122); - span50[0] = null; - span50[1] = null; - span50[2] = null; - span50[3] = null; - span50[4] = null; - span50[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list122; - reference137 = questStep; - ref QuestStep reference138 = ref span48[2]; - questStep = new QuestStep(EInteractionType.Combat, null, new Vector3(660.18604f, 44.997604f, 196.7378f), 957) - { - StopDistance = 0.25f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - QuestStep questStep15 = questStep; - num3 = 2; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - Span span51 = CollectionsMarshal.AsSpan(list123); - span51[0] = 13985u; - span51[1] = 13984u; - questStep15.KillEnemyDataIds = list123; - QuestStep questStep16 = questStep; - num3 = 6; - List list124 = new List(num3); - CollectionsMarshal.SetCount(list124, num3); - Span span52 = CollectionsMarshal.AsSpan(list124); - span52[0] = null; - span52[1] = null; - span52[2] = null; - span52[3] = null; - span52[4] = null; - span52[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list124; - reference138 = questStep; - questSequence41.Steps = list4; - reference135 = questSequence; - ref QuestSequence reference139 = ref span46[7]; - QuestSequence obj87 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039036u, new Vector3(628.62585f, 37.497498f, 246.02112f), 957); - obj87.Steps = list125; - reference139 = obj87; - questRoot31.QuestSequence = list2; - AddQuest(questId15, questRoot); - QuestId questId16 = new QuestId(4415); - questRoot = new QuestRoot(); - QuestRoot questRoot32 = questRoot; - num = 1; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - CollectionsMarshal.AsSpan(list126)[0] = "liza"; - questRoot32.Author = list126; - QuestRoot questRoot33 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span53 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference140 = ref span53[0]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039047u, new Vector3(537.77356f, 10.226297f, 238.75781f), 957); - obj88.Steps = list127; - reference140 = obj88; - ref QuestSequence reference141 = ref span53[1]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.Interact, 2012207u, new Vector3(270.0083f, 11.550964f, 147.6615f), 957); - obj89.Steps = list128; - reference141 = obj89; - ref QuestSequence reference142 = ref span53[2]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.Interact, 1039051u, new Vector3(153.33789f, -35.629883f, 141.25269f), 957) - { - DisableNavmesh = true - }; - obj90.Steps = list129; - reference142 = obj90; - ref QuestSequence reference143 = ref span53[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence42 = questSequence; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.Interact, 2012208u, new Vector3(163.80554f, -60.471558f, 133.25696f), 957) - { - StopDistance = 1f, - DisableNavmesh = true - }; - questSequence42.Steps = list130; - reference143 = questSequence; - ref QuestSequence reference144 = ref span53[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence43 = questSequence; - num2 = 3; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span54 = CollectionsMarshal.AsSpan(list4); - span54[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(235.94444f, -0.6f, 145.83025f), 957) - { - DisableNavmesh = true, - Mount = true - }; - span54[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(252.0308f, 0.57823455f, 150.66217f), 957) - { - DisableNavmesh = true - }; - span54[2] = new QuestStep(EInteractionType.Interact, 1039052u, new Vector3(155.2605f, 11.6644f, 217.85303f), 957); - questSequence43.Steps = list4; - reference144 = questSequence; - ref QuestSequence reference145 = ref span53[5]; - QuestSequence obj91 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039056u, new Vector3(-36.484375f, 25.65825f, -319.87494f), 957) - { - StopDistance = 5f - }; - obj91.Steps = list131; - reference145 = obj91; - questRoot33.QuestSequence = list2; - AddQuest(questId16, questRoot); - QuestId questId17 = new QuestId(4416); - questRoot = new QuestRoot(); - QuestRoot questRoot34 = questRoot; - num = 1; - List list132 = new List(num); - CollectionsMarshal.SetCount(list132, num); - CollectionsMarshal.AsSpan(list132)[0] = "liza"; - questRoot34.Author = list132; - QuestRoot questRoot35 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span55 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference146 = ref span55[0]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039058u, new Vector3(-38.19336f, 25.818825f, -318.47113f), 957); - obj92.Steps = list133; - reference146 = obj92; - ref QuestSequence reference147 = ref span55[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence44 = questSequence; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.Interact, 1039059u, new Vector3(381.88745f, 3.1168795f, -262.0432f), 957) - { - StopDistance = 15f, - AetheryteShortcut = EAetheryteLocation.ThavnairPalakasStand - }; - questSequence44.Steps = list134; - reference147 = questSequence; - ref QuestSequence reference148 = ref span55[2]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.Interact, 1039064u, new Vector3(428.85486f, 3.1168792f, -262.62305f), 957) - { - StopDistance = 7f - }; - obj93.Steps = list135; - reference148 = obj93; - ref QuestSequence reference149 = ref span55[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence45 = questSequence; - num2 = 3; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span56 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference150 = ref span56[0]; - questStep = new QuestStep(EInteractionType.Interact, 1037628u, new Vector3(432.9137f, 3.1168795f, -243.76288f), 957); - QuestStep questStep17 = questStep; - num3 = 6; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - Span span57 = CollectionsMarshal.AsSpan(list136); - span57[0] = null; - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list136; - reference150 = questStep; - ref QuestStep reference151 = ref span56[1]; - questStep = new QuestStep(EInteractionType.Interact, 1040449u, new Vector3(368.64258f, 3.5858154f, -238.3612f), 957); - QuestStep questStep18 = questStep; - num3 = 6; - List list137 = new List(num3); - CollectionsMarshal.SetCount(list137, num3); - Span span58 = CollectionsMarshal.AsSpan(list137); - span58[0] = null; - span58[1] = null; - span58[2] = null; - span58[3] = null; - span58[4] = null; - span58[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list137; - reference151 = questStep; - ref QuestStep reference152 = ref span56[2]; - questStep = new QuestStep(EInteractionType.Interact, 1037629u, new Vector3(430.01453f, 13.027412f, -200.85455f), 957); - QuestStep questStep19 = questStep; - num3 = 6; - List list138 = new List(num3); - CollectionsMarshal.SetCount(list138, num3); - Span span59 = CollectionsMarshal.AsSpan(list138); - span59[0] = null; - span59[1] = null; - span59[2] = null; - span59[3] = null; - span59[4] = null; - span59[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list138; - reference152 = questStep; - questSequence45.Steps = list4; - reference149 = questSequence; - ref QuestSequence reference153 = ref span55[4]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence46 = questSequence; - num2 = 3; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span60 = CollectionsMarshal.AsSpan(list4); - span60[0] = new QuestStep(EInteractionType.AcceptQuest, 1040669u, new Vector3(381.64343f, 3.1891773f, -207.20227f), 957) - { - PickUpQuestId = new QuestId(4259) - }; - span60[1] = new QuestStep(EInteractionType.AcceptQuest, 1040864u, new Vector3(462.51624f, 14.320099f, -219.86731f), 957) - { - PickUpQuestId = new QuestId(4257) - }; - span60[2] = new QuestStep(EInteractionType.CompleteQuest, 1039064u, new Vector3(428.85486f, 3.1168792f, -262.62305f), 957); - questSequence46.Steps = list4; - reference153 = questSequence; - questRoot35.QuestSequence = list2; - AddQuest(questId17, questRoot); - QuestId questId18 = new QuestId(4417); - questRoot = new QuestRoot(); - QuestRoot questRoot36 = questRoot; - num = 1; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - CollectionsMarshal.AsSpan(list139)[0] = "liza"; - questRoot36.Author = list139; - QuestRoot questRoot37 = questRoot; - num = 7; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span61 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference154 = ref span61[0]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039068u, new Vector3(425.10107f, 3.1168795f, -262.62305f), 957) - { - StopDistance = 8f - }; - obj94.Steps = list140; - reference154 = obj94; - ref QuestSequence reference155 = ref span61[1]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.Interact, 1040351u, new Vector3(518.2726f, 54.344826f, -597.83325f), 957) - { - Fly = true - }; - obj95.Steps = list141; - reference155 = obj95; - ref QuestSequence reference156 = ref span61[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence47 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span62 = CollectionsMarshal.AsSpan(list4); - span62[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(579.50446f, 55.259193f, -683.829f), 957) - { - TargetTerritoryId = (ushort)963, - Fly = true, - Comment = "Travel to Radz-at-Han" - }; - span62[1] = new QuestStep(EInteractionType.Interact, 1040354u, new Vector3(1.8157349f, -1.9999962f, 95.750244f), 963); - questSequence47.Steps = list4; - reference156 = questSequence; - ref QuestSequence reference157 = ref span61[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence48 = questSequence; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.Interact, 1040358u, new Vector3(-69.62695f, 25.000006f, -35.324707f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanAlzadaalsPeace, - To = EAetheryteLocation.RadzAtHanRuveydahFibers - } - }; - questSequence48.Steps = list142; - reference157 = questSequence; - ref QuestSequence reference158 = ref span61[4]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.Interact, 1040359u, new Vector3(-121.26343f, 31f, 9.109558f), 963); - obj96.Steps = list143; - reference158 = obj96; - ref QuestSequence reference159 = ref span61[5]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.Interact, 2012209u, new Vector3(-206.65302f, 35.99597f, 67.46008f), 963); - obj97.Steps = list144; - reference159 = obj97; - ref QuestSequence reference160 = ref span61[6]; - QuestSequence obj98 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040360u, new Vector3(-207.17181f, 36f, 71.70203f), 963) - { - StopDistance = 7f - }; - obj98.Steps = list145; - reference160 = obj98; - questRoot37.QuestSequence = list2; - AddQuest(questId18, questRoot); - QuestId questId19 = new QuestId(4418); - questRoot = new QuestRoot(); - QuestRoot questRoot38 = questRoot; - num = 1; - List list146 = new List(num); - CollectionsMarshal.SetCount(list146, num); - CollectionsMarshal.AsSpan(list146)[0] = "liza"; - questRoot38.Author = list146; - QuestRoot questRoot39 = questRoot; - num = 8; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span63 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference161 = ref span63[0]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040372u, new Vector3(-214.40454f, 36f, 64.86609f), 963); - obj99.Steps = list147; - reference161 = obj99; - ref QuestSequence reference162 = ref span63[1]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.Interact, 1040373u, new Vector3(-0.3204956f, -2.514571E-07f, -2.1210327f), 963); - obj100.Steps = list148; - reference162 = obj100; - ref QuestSequence reference163 = ref span63[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence49 = questSequence; - num2 = 3; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span64 = CollectionsMarshal.AsSpan(list4); - span64[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 963) - { - DisableNavmesh = true, - Aetheryte = EAetheryteLocation.RadzAtHan - }; - span64[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 963) - { - AethernetShard = EAetheryteLocation.RadzAtHanHallOfTheRadiantHost - }; - span64[2] = new QuestStep(EInteractionType.Interact, 1040374u, new Vector3(-145.80005f, 3.9999294f, -83.9704f), 963); - questSequence49.Steps = list4; - reference163 = questSequence; - ref QuestSequence reference164 = ref span63[3]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.Interact, 1040375u, new Vector3(-172.1676f, 4.061f, -87.90729f), 963); - obj101.Steps = list149; - reference164 = obj101; - ref QuestSequence reference165 = ref span63[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence50 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference166 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 1040375u, new Vector3(-172.1676f, 4.061f, -87.90729f), 963); - num3 = 1; - List list150 = new List(num3); - CollectionsMarshal.SetCount(list150, num3); - CollectionsMarshal.AsSpan(list150)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMD110_04418_Q2_000_172"), - Answer = new ExcelRef("TEXT_AKTKMD110_04418_A2_000_173") - }; - questStep20.DialogueChoices = list150; - reference166 = questStep20; - questSequence50.Steps = list4; - reference165 = questSequence; - ref QuestSequence reference167 = ref span63[5]; - questSequence = new QuestSequence - { - Sequence = 5 - }; - QuestSequence questSequence51 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference168 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj102 = new QuestStep(EInteractionType.Interact, 1037318u, new Vector3(-4.1047363f, 2.9999943f, -203.8758f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanHallOfTheRadiantHost, - To = EAetheryteLocation.RadzAtHanMehrydesMeyhane - } - }; - num3 = 1; - List list151 = new List(num3); - CollectionsMarshal.SetCount(list151, num3); - CollectionsMarshal.AsSpan(list151)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMD110_04418_Q3_000_223"), - Answer = new ExcelRef("TEXT_AKTKMD110_04418_A3_000_225") - }; - obj102.DialogueChoices = list151; - reference168 = obj102; - questSequence51.Steps = list4; - reference167 = questSequence; - ref QuestSequence reference169 = ref span63[6]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.Interact, 1040379u, new Vector3(8.010925f, 3.02f, -198.19946f), 963); - obj103.Steps = list152; - reference169 = obj103; - ref QuestSequence reference170 = ref span63[7]; - QuestSequence obj104 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040382u, new Vector3(2.9450073f, -1.9999962f, 87.44946f), 963) - { - StopDistance = 5f - }; - obj104.Steps = list153; - reference170 = obj104; - questRoot39.QuestSequence = list2; - AddQuest(questId19, questRoot); - QuestId questId20 = new QuestId(4419); - questRoot = new QuestRoot(); - QuestRoot questRoot40 = questRoot; - num = 1; - List list154 = new List(num); - CollectionsMarshal.SetCount(list154, num); - CollectionsMarshal.AsSpan(list154)[0] = "liza"; - questRoot40.Author = list154; - QuestRoot questRoot41 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span65 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference171 = ref span65[0]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040386u, new Vector3(5.1116943f, -1.9999962f, 88.12085f), 963) - { - StopDistance = 5f - }; - obj105.Steps = list155; - reference171 = obj105; - ref QuestSequence reference172 = ref span65[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence52 = questSequence; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.Interact, 1030369u, new Vector3(614.4961f, 13.3097515f, 305.80603f), 813) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumTessellation - } - }; - questSequence52.Steps = list156; - reference172 = questSequence; - ref QuestSequence reference173 = ref span65[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence53 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference174 = ref CollectionsMarshal.AsSpan(list4)[0]; - questStep = new QuestStep(EInteractionType.Interact, 2012123u, new Vector3(-64.042114f, -37.70508f, -210.52875f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumCabinetOfCuriosity - } - }; - QuestStep questStep21 = questStep; - num3 = 4; - List list157 = new List(num3); - CollectionsMarshal.SetCount(list157, num3); - Span span66 = CollectionsMarshal.AsSpan(list157); - span66[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKME101_04419_Q2_000_071") - }; - span66[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKME101_04419_Q3_000_083"), - Answer = new ExcelRef("TEXT_AKTKME101_04419_A3_000_087") - }; - span66[2] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKME101_04419_Q4_000_113"), - Answer = new ExcelRef("TEXT_AKTKME101_04419_A4_000_114") - }; - span66[3] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKME101_04419_Q5_000_129"), - Answer = new ExcelRef("TEXT_AKTKME101_04419_A5_000_131") - }; - questStep21.DialogueChoices = list157; - reference174 = questStep; - questSequence53.Steps = list4; - reference173 = questSequence; - ref QuestSequence reference175 = ref span65[3]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence54 = questSequence; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039992u, new Vector3(-65.26294f, -37.7f, -208.85028f), 819) - { - StopDistance = 6f - }; - questSequence54.Steps = list158; - reference175 = questSequence; - questRoot41.QuestSequence = list2; - AddQuest(questId20, questRoot); - QuestId questId21 = new QuestId(4420); - questRoot = new QuestRoot(); - QuestRoot questRoot42 = questRoot; - num = 1; - List list159 = new List(num); - CollectionsMarshal.SetCount(list159, num); - CollectionsMarshal.AsSpan(list159)[0] = "liza"; - questRoot42.Author = list159; - QuestRoot questRoot43 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span67 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference176 = ref span67[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence55 = questSequence; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039992u, new Vector3(-65.26294f, -37.7f, -208.85028f), 819) - { - StopDistance = 6f - }; - questSequence55.Steps = list160; - reference176 = questSequence; - ref QuestSequence reference177 = ref span67[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence56 = questSequence; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.Interact, 1030533u, new Vector3(117.997925f, 14.649025f, 7.156433f), 819) - { - TargetTerritoryId = (ushort)844, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumCabinetOfCuriosity, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - questSequence56.Steps = list161; - reference177 = questSequence; - span67[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference178 = ref span67[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence57 = questSequence; - num2 = 5; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span68 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference179 = ref span68[0]; - questStep = new QuestStep(EInteractionType.Jump, null, new Vector3(-6.1157894f, 2.0849845f, -4.654831f), 1031) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(-1.5539734f, 3.6164591f, -1.1141448f) - } - }; - QuestStep questStep22 = questStep; - skipConditions3 = new SkipConditions(); - SkipConditions skipConditions5 = skipConditions3; - skipStepConditions = new SkipStepConditions(); - SkipStepConditions skipStepConditions3 = skipStepConditions; - num3 = 6; - List list162 = new List(num3); - CollectionsMarshal.SetCount(list162, num3); - Span span69 = CollectionsMarshal.AsSpan(list162); - span69[0] = null; - span69[1] = null; - span69[2] = null; - span69[3] = null; - span69[4] = null; - span69[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list162; - skipConditions5.StepIf = skipStepConditions; - questStep22.SkipConditions = skipConditions3; - reference179 = questStep; - ref QuestStep reference180 = ref span68[1]; - questStep = new QuestStep(EInteractionType.Interact, 2012128u, new Vector3(-0.001528129f, 4.931927f, 0.01416349f), 1031); - QuestStep questStep23 = questStep; - num3 = 6; - List list163 = new List(num3); - CollectionsMarshal.SetCount(list163, num3); - Span span70 = CollectionsMarshal.AsSpan(list163); - span70[0] = null; - span70[1] = null; - span70[2] = null; - span70[3] = null; - span70[4] = null; - span70[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list163; - reference180 = questStep; - ref QuestStep reference181 = ref span68[2]; - questStep = new QuestStep(EInteractionType.Interact, 1039993u, new Vector3(20.61493f, 0.2999945f, -9.353821f), 1031); - QuestStep questStep24 = questStep; - num3 = 6; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - Span span71 = CollectionsMarshal.AsSpan(list164); - span71[0] = null; - span71[1] = null; - span71[2] = null; - span71[3] = null; - span71[4] = null; - span71[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep24.CompletionQuestVariablesFlags = list164; - reference181 = questStep; - ref QuestStep reference182 = ref span68[3]; - questStep = new QuestStep(EInteractionType.Interact, 1039994u, new Vector3(51.163452f, 0.8999986f, 2.1209717f), 1031); - QuestStep questStep25 = questStep; - num3 = 6; - List list165 = new List(num3); - CollectionsMarshal.SetCount(list165, num3); - Span span72 = CollectionsMarshal.AsSpan(list165); - span72[0] = null; - span72[1] = null; - span72[2] = null; - span72[3] = null; - span72[4] = null; - span72[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep25.CompletionQuestVariablesFlags = list165; - reference182 = questStep; - ref QuestStep reference183 = ref span68[4]; - questStep = new QuestStep(EInteractionType.Interact, 1039995u, new Vector3(-37.003174f, 0.90000004f, -4.1657104f), 1031); - QuestStep questStep26 = questStep; - num3 = 6; - List list166 = new List(num3); - CollectionsMarshal.SetCount(list166, num3); - Span span73 = CollectionsMarshal.AsSpan(list166); - span73[0] = null; - span73[1] = null; - span73[2] = null; - span73[3] = null; - span73[4] = null; - span73[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep26.CompletionQuestVariablesFlags = list166; - reference183 = questStep; - questSequence57.Steps = list4; - reference178 = questSequence; - ref QuestSequence reference184 = ref span67[4]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.Interact, 2012129u, new Vector3(-0.07635498f, 2.2124634f, 61.600586f), 1031); - obj106.Steps = list167; - reference184 = obj106; - ref QuestSequence reference185 = ref span67[5]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence58 = questSequence; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039996u, new Vector3(262.53137f, 44.32154f, 771.4198f), 961) - { - StopDistance = 5f - }; - questSequence58.Steps = list168; - reference185 = questSequence; - questRoot43.QuestSequence = list2; - AddQuest(questId21, questRoot); - QuestId questId22 = new QuestId(4421); - questRoot = new QuestRoot(); - QuestRoot questRoot44 = questRoot; - num = 1; - List list169 = new List(num); - CollectionsMarshal.SetCount(list169, num); - CollectionsMarshal.AsSpan(list169)[0] = "liza"; - questRoot44.Author = list169; - QuestRoot questRoot45 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span74 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference186 = ref span74[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence59 = questSequence; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039996u, new Vector3(262.53137f, 44.32154f, 771.4198f), 961) - { - StopDistance = 5f - }; - questSequence59.Steps = list170; - reference186 = questSequence; - ref QuestSequence reference187 = ref span74[1]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.Interact, 1039998u, new Vector3(206.0426f, 20.561113f, 629.14465f), 961); - obj107.Steps = list171; - reference187 = obj107; - ref QuestSequence reference188 = ref span74[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence60 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference189 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj108 = new QuestStep(EInteractionType.Combat, 1039998u, new Vector3(206.0426f, 20.561113f, 629.14465f), 961) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 3; - List list172 = new List(num3); - CollectionsMarshal.SetCount(list172, num3); - Span span75 = CollectionsMarshal.AsSpan(list172); - span75[0] = 13447u; - span75[1] = 13448u; - span75[2] = 13449u; - obj108.KillEnemyDataIds = list172; - obj108.CombatItemUse = new CombatItemUse - { - ItemId = 2003232u, - Condition = ECombatItemUseCondition.HealthPercent, - Value = 50 - }; - reference189 = obj108; - questSequence60.Steps = list4; - reference188 = questSequence; - ref QuestSequence reference190 = ref span74[3]; - QuestSequence obj109 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039998u, new Vector3(206.0426f, 20.561113f, 629.14465f), 961); - obj109.Steps = list173; - reference190 = obj109; - questRoot45.QuestSequence = list2; - AddQuest(questId22, questRoot); - QuestId questId23 = new QuestId(4422); - questRoot = new QuestRoot(); - QuestRoot questRoot46 = questRoot; - num = 1; - List list174 = new List(num); - CollectionsMarshal.SetCount(list174, num); - CollectionsMarshal.AsSpan(list174)[0] = "liza"; - questRoot46.Author = list174; - QuestRoot questRoot47 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span76 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference191 = ref span76[0]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039998u, new Vector3(206.0426f, 20.561113f, 629.14465f), 961); - obj110.Steps = list175; - reference191 = obj110; - ref QuestSequence reference192 = ref span76[1]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - CollectionsMarshal.AsSpan(list176)[0] = new QuestStep(EInteractionType.Interact, 1040000u, new Vector3(173.2356f, 7.4767504f, 325.64282f), 961); - obj111.Steps = list176; - reference192 = obj111; - ref QuestSequence reference193 = ref span76[2]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.Interact, 1040003u, new Vector3(229.02258f, 8.085857f, 195.39172f), 961); - obj112.Steps = list177; - reference193 = obj112; - ref QuestSequence reference194 = ref span76[3]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence61 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference195 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep questStep27 = new QuestStep(EInteractionType.CompleteQuest, 1040009u, new Vector3(366.84216f, -1.0297052f, 157.61035f), 961); - num3 = 1; - List list178 = new List(num3); - CollectionsMarshal.SetCount(list178, num3); - CollectionsMarshal.AsSpan(list178)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKME104_04422_Q1_000_094"), - Answer = new ExcelRef("TEXT_AKTKME104_04422_A1_000_095") - }; - questStep27.DialogueChoices = list178; - reference195 = questStep27; - questSequence61.Steps = list4; - reference194 = questSequence; - questRoot47.QuestSequence = list2; - AddQuest(questId23, questRoot); - QuestId questId24 = new QuestId(4423); - questRoot = new QuestRoot(); - QuestRoot questRoot48 = questRoot; - num = 1; - List list179 = new List(num); - CollectionsMarshal.SetCount(list179, num); - CollectionsMarshal.AsSpan(list179)[0] = "liza"; - questRoot48.Author = list179; - QuestRoot questRoot49 = questRoot; - num = 9; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span77 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference196 = ref span77[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence62 = questSequence; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040014u, new Vector3(368.88684f, -1.1050489f, 158.0376f), 961) - { - StopDistance = 5f - }; - questSequence62.Steps = list180; - reference196 = questSequence; - ref QuestSequence reference197 = ref span77[1]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.Interact, 1040015u, new Vector3(225.78772f, 7.3858566f, 201.37329f), 961); - obj113.Steps = list181; - reference197 = obj113; - ref QuestSequence reference198 = ref span77[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence63 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span78 = CollectionsMarshal.AsSpan(list4); - span78[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 961) - { - StopDistance = 6f, - Aetheryte = EAetheryteLocation.ElpisAnagnorisis - }; - span78[1] = new QuestStep(EInteractionType.Interact, 1040018u, new Vector3(156.45068f, 17.339952f, 53.665894f), 961); - questSequence63.Steps = list4; - reference198 = questSequence; - ref QuestSequence reference199 = ref span77[3]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.Interact, 1040019u, new Vector3(148.66858f, 16.93996f, 35.477173f), 961); - obj114.Steps = list182; - reference199 = obj114; - ref QuestSequence reference200 = ref span77[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence64 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference201 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep questStep28 = new QuestStep(EInteractionType.Interact, 1040023u, new Vector3(152.54431f, 16.385857f, 73.258545f), 961); - num3 = 1; - List list183 = new List(num3); - CollectionsMarshal.SetCount(list183, num3); - CollectionsMarshal.AsSpan(list183)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKME105_04423_Q1_000_106"), - Answer = new ExcelRef("TEXT_AKTKME105_04423_A1_000_107") - }; - questStep28.DialogueChoices = list183; - reference201 = questStep28; - questSequence64.Steps = list4; - reference200 = questSequence; - ref QuestSequence reference202 = ref span77[5]; - questSequence = new QuestSequence - { - Sequence = 5 - }; - QuestSequence questSequence65 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference203 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep questStep29 = new QuestStep(EInteractionType.Interact, 1040970u, new Vector3(146.13562f, 10.385858f, 121.47705f), 961); - num3 = 1; - List list184 = new List(num3); - CollectionsMarshal.SetCount(list184, num3); - CollectionsMarshal.AsSpan(list184)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKME105_04423_Q4_000_178"), - Answer = new ExcelRef("TEXT_AKTKME105_04423_A4_000_180") - }; - questStep29.DialogueChoices = list184; - reference203 = questStep29; - questSequence65.Steps = list4; - reference202 = questSequence; - ref QuestSequence reference204 = ref span77[6]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.Interact, 1040025u, new Vector3(171.83179f, 8.3426f, 180.62097f), 961); - obj115.Steps = list185; - reference204 = obj115; - ref QuestSequence reference205 = ref span77[7]; - questSequence = new QuestSequence - { - Sequence = 7 - }; - QuestSequence questSequence66 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference206 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep questStep30 = new QuestStep(EInteractionType.Interact, 1040971u, new Vector3(92.851074f, 10.665586f, 107.133545f), 961); - num3 = 1; - List list186 = new List(num3); - CollectionsMarshal.SetCount(list186, num3); - CollectionsMarshal.AsSpan(list186)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKME105_04423_Q7_000_313"), - Answer = new ExcelRef("TEXT_AKTKME105_04423_A7_000_314") - }; - questStep30.DialogueChoices = list186; - reference206 = questStep30; - questSequence66.Steps = list4; - reference205 = questSequence; - ref QuestSequence reference207 = ref span77[8]; - QuestSequence obj116 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040027u, new Vector3(151.75085f, 17.339958f, 51.255005f), 961); - obj116.Steps = list187; - reference207 = obj116; - questRoot49.QuestSequence = list2; - AddQuest(questId24, questRoot); - QuestId questId25 = new QuestId(4424); - questRoot = new QuestRoot(); - QuestRoot questRoot50 = questRoot; - num = 1; - List list188 = new List(num); - CollectionsMarshal.SetCount(list188, num); - CollectionsMarshal.AsSpan(list188)[0] = "liza"; - questRoot50.Author = list188; - QuestRoot questRoot51 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span79 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference208 = ref span79[0]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040027u, new Vector3(151.75085f, 17.339958f, 51.255005f), 961); - obj117.Steps = list189; - reference208 = obj117; - ref QuestSequence reference209 = ref span79[1]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.Interact, 1040031u, new Vector3(269.42847f, 5.8683457f, 266.3462f), 961); - obj118.Steps = list190; - reference209 = obj118; - ref QuestSequence reference210 = ref span79[2]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.Interact, 1040036u, new Vector3(360.1892f, 2.9879394f, 2.6397705f), 961); - obj119.Steps = list191; - reference210 = obj119; - ref QuestSequence reference211 = ref span79[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence67 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span80 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference212 = ref span80[0]; - questStep = new QuestStep(EInteractionType.UseItem, 2012131u, new Vector3(369.19202f, 2.9754639f, 1.5411377f), 961) - { - ItemId = 2003234u, - GroundTarget = true - }; - QuestStep questStep31 = questStep; - num3 = 6; - List list192 = new List(num3); - CollectionsMarshal.SetCount(list192, num3); - Span span81 = CollectionsMarshal.AsSpan(list192); - span81[0] = null; - span81[1] = null; - span81[2] = null; - span81[3] = null; - span81[4] = null; - span81[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep31.CompletionQuestVariablesFlags = list192; - reference212 = questStep; - ref QuestStep reference213 = ref span80[1]; - questStep = new QuestStep(EInteractionType.UseItem, 2012132u, new Vector3(373.18982f, 2.9754639f, 10.788086f), 961) - { - ItemId = 2003234u, - GroundTarget = true - }; - QuestStep questStep32 = questStep; - num3 = 6; - List list193 = new List(num3); - CollectionsMarshal.SetCount(list193, num3); - Span span82 = CollectionsMarshal.AsSpan(list193); - span82[0] = null; - span82[1] = null; - span82[2] = null; - span82[3] = null; - span82[4] = null; - span82[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep32.CompletionQuestVariablesFlags = list193; - reference213 = questStep; - questSequence67.Steps = list4; - reference211 = questSequence; - ref QuestSequence reference214 = ref span79[4]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.Interact, 1040036u, new Vector3(360.1892f, 2.9879394f, 2.6397705f), 961); - obj120.Steps = list194; - reference214 = obj120; - ref QuestSequence reference215 = ref span79[5]; - QuestSequence obj121 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040043u, new Vector3(558.64795f, 9.127456f, 48.264282f), 961); - obj121.Steps = list195; - reference215 = obj121; - questRoot51.QuestSequence = list2; - AddQuest(questId25, questRoot); - QuestId questId26 = new QuestId(4425); - questRoot = new QuestRoot(); - QuestRoot questRoot52 = questRoot; - num = 1; - List list196 = new List(num); - CollectionsMarshal.SetCount(list196, num); - CollectionsMarshal.AsSpan(list196)[0] = "liza"; - questRoot52.Author = list196; - QuestRoot questRoot53 = questRoot; - num = 8; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span83 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference216 = ref span83[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence68 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference217 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep questStep33 = new QuestStep(EInteractionType.AcceptQuest, 1040050u, new Vector3(560.32654f, 9.796983f, 63.70642f), 961); - num3 = 1; - List list197 = new List(num3); - CollectionsMarshal.SetCount(list197, num3); - CollectionsMarshal.AsSpan(list197)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKME107_04425_Q1_000_024"), - Answer = new ExcelRef("TEXT_AKTKME107_04425_A1_000_025") - }; - questStep33.DialogueChoices = list197; - reference217 = questStep33; - questSequence68.Steps = list4; - reference216 = questSequence; - ref QuestSequence reference218 = ref span83[1]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - CollectionsMarshal.AsSpan(list198)[0] = new QuestStep(EInteractionType.Interact, 1040043u, new Vector3(558.64795f, 9.127456f, 48.264282f), 961); - obj122.Steps = list198; - reference218 = obj122; - ref QuestSequence reference219 = ref span83[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence69 = questSequence; - num2 = 3; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span84 = CollectionsMarshal.AsSpan(list4); - span84[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2012020u, new Vector3(628.2388f, 8.316829f, 107.9021f), 961) - { - AetherCurrentId = 2818374u - }; - span84[1] = new QuestStep(EInteractionType.Jump, null, new Vector3(475.2184f, -17.473314f, 47.986946f), 961) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(477.34882f, -16.407324f, 43.802086f), - DelaySeconds = 0.25f - } - }; - span84[2] = new QuestStep(EInteractionType.Interact, 1040052u, new Vector3(349.14172f, -14.766006f, -111.61981f), 961); - questSequence69.Steps = list4; - reference219 = questSequence; - ref QuestSequence reference220 = ref span83[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence70 = questSequence; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - CollectionsMarshal.AsSpan(list199)[0] = new QuestStep(EInteractionType.Interact, 1040055u, new Vector3(349.5078f, -14.757837f, -115.15985f), 961) - { - StopDistance = 7f - }; - questSequence70.Steps = list199; - reference220 = questSequence; - ref QuestSequence reference221 = ref span83[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence71 = questSequence; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.Say, 1040061u, new Vector3(-2.1210327f, -15.847441f, -104.631165f), 961) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_AKTKME107_04425_SAYTODO_000_190" - } - }; - questSequence71.Steps = list200; - reference221 = questSequence; - ref QuestSequence reference222 = ref span83[5]; - questSequence = new QuestSequence - { - Sequence = 5 - }; - QuestSequence questSequence72 = questSequence; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.Say, 1040061u, new Vector3(-2.1210327f, -15.847441f, -104.631165f), 961) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_AKTKME107_04425_SAYTODO_000_210" - } - }; - questSequence72.Steps = list201; - reference222 = questSequence; - ref QuestSequence reference223 = ref span83[6]; - questSequence = new QuestSequence - { - Sequence = 6 - }; - QuestSequence questSequence73 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span85 = CollectionsMarshal.AsSpan(list4); - span85[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-55.662647f, -16.696985f, -81.29199f), 961) - { - StopDistance = 0.25f, - DisableNavmesh = true, - JumpDestination = new JumpDestination - { - Position = new Vector3(-58.75509f, -15.402463f, -83.133934f) - } - }; - span85[1] = new QuestStep(EInteractionType.Emote, null, new Vector3(-64.19198f, -15.332472f, -84.65695f), 961) - { - StopDistance = 0.25f, - Emote = EEmote.Wave - }; - questSequence73.Steps = list4; - reference223 = questSequence; - ref QuestSequence reference224 = ref span83[7]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence74 = questSequence; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040069u, new Vector3(134.90503f, 10.385856f, 88.91431f), 961) - { - AetheryteShortcut = EAetheryteLocation.ElpisAnagnorisis - }; - questSequence74.Steps = list202; - reference224 = questSequence; - questRoot53.QuestSequence = list2; - AddQuest(questId26, questRoot); - QuestId questId27 = new QuestId(4426); - questRoot = new QuestRoot(); - QuestRoot questRoot54 = questRoot; - num = 1; - List list203 = new List(num); - CollectionsMarshal.SetCount(list203, num); - CollectionsMarshal.AsSpan(list203)[0] = "liza"; - questRoot54.Author = list203; - QuestRoot questRoot55 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span86 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference225 = ref span86[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence75 = questSequence; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040071u, new Vector3(132.82971f, 10.385857f, 89.34155f), 961) - { - StopDistance = 5f - }; - questSequence75.Steps = list204; - reference225 = questSequence; - ref QuestSequence reference226 = ref span86[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence76 = questSequence; - num2 = 3; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span87 = CollectionsMarshal.AsSpan(list4); - span87[0] = new QuestStep(EInteractionType.AcceptQuest, 1041328u, new Vector3(166.39954f, 9.457411f, 236.34692f), 961) - { - PickUpQuestId = new QuestId(4507) - }; - span87[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-109.12761f, -34.0357f, 397.6694f), 961); - span87[2] = new QuestStep(EInteractionType.Interact, 1040073u, new Vector3(-164.11078f, -41.02881f, 377.37073f), 961); - questSequence76.Steps = list4; - reference226 = questSequence; - ref QuestSequence reference227 = ref span86[2]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.Interact, 1040080u, new Vector3(-530.2358f, -26.214441f, 490.6233f), 961); - obj123.Steps = list205; - reference227 = obj123; - ref QuestSequence reference228 = ref span86[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence77 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span88 = CollectionsMarshal.AsSpan(list4); - span88[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 961) - { - StopDistance = 6f, - Aetheryte = EAetheryteLocation.ElpisTwelveWonders - }; - span88[1] = new QuestStep(EInteractionType.Interact, 1040081u, new Vector3(-659.35767f, -22.39482f, 525.44434f), 961); - questSequence77.Steps = list4; - reference228 = questSequence; - ref QuestSequence reference229 = ref span86[4]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence78 = questSequence; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040084u, new Vector3(-661.1277f, -22.394821f, 527.88574f), 961) - { - StopDistance = 5f - }; - questSequence78.Steps = list206; - reference229 = questSequence; - questRoot55.QuestSequence = list2; - AddQuest(questId27, questRoot); - QuestId questId28 = new QuestId(4427); - questRoot = new QuestRoot(); - QuestRoot questRoot56 = questRoot; - num = 1; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - CollectionsMarshal.AsSpan(list207)[0] = "liza"; - questRoot56.Author = list207; - QuestRoot questRoot57 = questRoot; - num = 10; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span89 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference230 = ref span89[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence79 = questSequence; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040083u, new Vector3(-659.3271f, -22.39482f, 525.47485f), 961) - { - StopDistance = 5f - }; - questSequence79.Steps = list208; - reference230 = questSequence; - ref QuestSequence reference231 = ref span89[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence80 = questSequence; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.Interact, 1040084u, new Vector3(-661.1277f, -22.394821f, 527.88574f), 961) - { - StopDistance = 5f - }; - questSequence80.Steps = list209; - reference231 = questSequence; - ref QuestSequence reference232 = ref span89[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence81 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span90 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference233 = ref span90[0]; - questStep = new QuestStep(EInteractionType.Interact, 2012135u, new Vector3(-621.2711f, -19.241638f, 546.50183f), 961); - QuestStep questStep34 = questStep; - num3 = 6; - List list210 = new List(num3); - CollectionsMarshal.SetCount(list210, num3); - Span span91 = CollectionsMarshal.AsSpan(list210); - span91[0] = null; - span91[1] = null; - span91[2] = null; - span91[3] = null; - span91[4] = null; - span91[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep34.CompletionQuestVariablesFlags = list210; - reference233 = questStep; - ref QuestStep reference234 = ref span90[1]; - questStep = new QuestStep(EInteractionType.Interact, 2012136u, new Vector3(-583.85596f, -20.035156f, 543.572f), 961); - QuestStep questStep35 = questStep; - num3 = 6; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - Span span92 = CollectionsMarshal.AsSpan(list211); - span92[0] = null; - span92[1] = null; - span92[2] = null; - span92[3] = null; - span92[4] = null; - span92[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep35.CompletionQuestVariablesFlags = list211; - reference234 = questStep; - questSequence81.Steps = list4; - reference232 = questSequence; - ref QuestSequence reference235 = ref span89[3]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - CollectionsMarshal.AsSpan(list212)[0] = new QuestStep(EInteractionType.Interact, 2012137u, new Vector3(-577.1725f, -21.469482f, 482.56653f), 961); - obj124.Steps = list212; - reference235 = obj124; - ref QuestSequence reference236 = ref span89[4]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - CollectionsMarshal.AsSpan(list213)[0] = new QuestStep(EInteractionType.Interact, 2012138u, new Vector3(-601.0681f, -25.345276f, 438.37634f), 961); - obj125.Steps = list213; - reference236 = obj125; - ref QuestSequence reference237 = ref span89[5]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.Interact, 2012139u, new Vector3(-686.5492f, -26.138794f, 441.24512f), 961); - obj126.Steps = list214; - reference237 = obj126; - ref QuestSequence reference238 = ref span89[6]; - questSequence = new QuestSequence - { - Sequence = 6 - }; - QuestSequence questSequence82 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference239 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep questStep36 = new QuestStep(EInteractionType.Interact, 2012140u, new Vector3(-731.7464f, -27.084778f, 460.77673f), 961); - num3 = 1; - List list215 = new List(num3); - CollectionsMarshal.SetCount(list215, num3); - CollectionsMarshal.AsSpan(list215)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKME109_04427_Q3_000_163"), - Answer = new ExcelRef("TEXT_AKTKME109_04427_A3_000_164") - }; - questStep36.DialogueChoices = list215; - reference239 = questStep36; - questSequence82.Steps = list4; - reference238 = questSequence; - ref QuestSequence reference240 = ref span89[7]; - questSequence = new QuestSequence - { - Sequence = 7 - }; - QuestSequence questSequence83 = questSequence; - num2 = 3; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span93 = CollectionsMarshal.AsSpan(list4); - span93[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-734.30804f, -28.391644f, 432.59787f), 961) - { - Mount = true - }; - span93[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2012021u, new Vector3(-754.757f, -36.02661f, 411.12378f), 961) - { - DisableNavmesh = true, - AetherCurrentId = 2818375u - }; - span93[2] = new QuestStep(EInteractionType.Interact, 2012141u, new Vector3(-789.08984f, -36.05713f, 486.41187f), 961); - questSequence83.Steps = list4; - reference240 = questSequence; - ref QuestSequence reference241 = ref span89[8]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - CollectionsMarshal.AsSpan(list216)[0] = new QuestStep(EInteractionType.Interact, 2012142u, new Vector3(-803.4028f, -36.514893f, 513.6034f), 961); - obj127.Steps = list216; - reference241 = obj127; - ref QuestSequence reference242 = ref span89[9]; - QuestSequence obj128 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040087u, new Vector3(-664.1489f, -22.39482f, 533.8368f), 961); - obj128.Steps = list217; - reference242 = obj128; - questRoot57.QuestSequence = list2; - AddQuest(questId28, questRoot); - QuestId questId29 = new QuestId(4428); - questRoot = new QuestRoot(); - QuestRoot questRoot58 = questRoot; - num = 1; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - CollectionsMarshal.AsSpan(list218)[0] = "liza"; - questRoot58.Author = list218; - QuestRoot questRoot59 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span94 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference243 = ref span94[0]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - CollectionsMarshal.AsSpan(list219)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040088u, new Vector3(-655.72595f, -22.394821f, 521.87366f), 961); - obj129.Steps = list219; - reference243 = obj129; - ref QuestSequence reference244 = ref span94[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence84 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span95 = CollectionsMarshal.AsSpan(list4); - span95[0] = new QuestStep(EInteractionType.AcceptQuest, 1037969u, new Vector3(-611.90204f, -22.39482f, 510.42944f), 961) - { - PickUpQuestId = new QuestId(4288) - }; - span95[1] = new QuestStep(EInteractionType.Interact, 1040092u, new Vector3(-340.9629f, -39.973907f, 368.06274f), 961); - questSequence84.Steps = list4; - reference244 = questSequence; - ref QuestSequence reference245 = ref span94[2]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.Interact, 1040097u, new Vector3(-213.79413f, -33.401405f, 242.35901f), 961); - obj130.Steps = list220; - reference245 = obj130; - ref QuestSequence reference246 = ref span94[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence85 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference247 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj131 = new QuestStep(EInteractionType.Combat, null, new Vector3(-207.7455f, -30.993412f, 232.53859f), 961) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list221 = new List(num3); - CollectionsMarshal.SetCount(list221, num3); - Span span96 = CollectionsMarshal.AsSpan(list221); - span96[0] = 14075u; - span96[1] = 14074u; - obj131.KillEnemyDataIds = list221; - reference247 = obj131; - questSequence85.Steps = list4; - reference246 = questSequence; - ref QuestSequence reference248 = ref span94[4]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - CollectionsMarshal.AsSpan(list222)[0] = new QuestStep(EInteractionType.Interact, 2012145u, new Vector3(-212.23773f, -31.876099f, 233.66138f), 961); - obj132.Steps = list222; - reference248 = obj132; - ref QuestSequence reference249 = ref span94[5]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence86 = questSequence; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - CollectionsMarshal.AsSpan(list223)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040100u, new Vector3(-638.1476f, -22.39482f, 504.90576f), 961) - { - StopDistance = 5f - }; - questSequence86.Steps = list223; - reference249 = questSequence; - questRoot59.QuestSequence = list2; - AddQuest(questId29, questRoot); - QuestId questId30 = new QuestId(4429); - questRoot = new QuestRoot(); - QuestRoot questRoot60 = questRoot; - num = 1; - List list224 = new List(num); - CollectionsMarshal.SetCount(list224, num); - CollectionsMarshal.AsSpan(list224)[0] = "liza"; - questRoot60.Author = list224; - QuestRoot questRoot61 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span97 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference250 = ref span97[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence87 = questSequence; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040101u, new Vector3(-635.5841f, -22.39482f, 505.08887f), 961) - { - StopDistance = 5f - }; - questSequence87.Steps = list225; - reference250 = questSequence; - ref QuestSequence reference251 = ref span97[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence88 = questSequence; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - CollectionsMarshal.AsSpan(list226)[0] = new QuestStep(EInteractionType.Interact, 1040102u, new Vector3(-106.61487f, -10.281434f, 236.07227f), 961) - { - AetheryteShortcut = EAetheryteLocation.ElpisAnagnorisis - }; - questSequence88.Steps = list226; - reference251 = questSequence; - ref QuestSequence reference252 = ref span97[2]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.Interact, 1040104u, new Vector3(-182.17749f, 12.500029f, -10.971252f), 961); - obj133.Steps = list227; - reference252 = obj133; - ref QuestSequence reference253 = ref span97[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence89 = questSequence; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.Interact, 1040106u, new Vector3(-350.20984f, 161.78714f, 26.108154f), 961) - { - StopDistance = 5f - }; - questSequence89.Steps = list228; - reference253 = questSequence; - ref QuestSequence reference254 = ref span97[4]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.Interact, 2012146u, new Vector3(-554.345f, 147.44788f, 98.25281f), 961); - obj134.Steps = list229; - reference254 = obj134; - ref QuestSequence reference255 = ref span97[5]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence90 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference256 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep questStep37 = new QuestStep(EInteractionType.CompleteQuest, 1040109u, new Vector3(-491.11166f, 140.39177f, -113.81708f), 961); - num3 = 1; - List list230 = new List(num3); - CollectionsMarshal.SetCount(list230, num3); - CollectionsMarshal.AsSpan(list230)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKME111_04429_Q2_000_094"), - Answer = new ExcelRef("TEXT_AKTKME111_04429_A2_000_096") - }; - questStep37.DialogueChoices = list230; - reference256 = questStep37; - questSequence90.Steps = list4; - reference255 = questSequence; - questRoot61.QuestSequence = list2; - AddQuest(questId30, questRoot); - QuestId questId31 = new QuestId(4430); - questRoot = new QuestRoot(); - QuestRoot questRoot62 = questRoot; - num = 1; - List list231 = new List(num); - CollectionsMarshal.SetCount(list231, num); - CollectionsMarshal.AsSpan(list231)[0] = "liza"; - questRoot62.Author = list231; - QuestRoot questRoot63 = questRoot; - num = 8; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span98 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference257 = ref span98[0]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040109u, new Vector3(-491.11166f, 140.39177f, -113.81708f), 961); - obj135.Steps = list232; - reference257 = obj135; - ref QuestSequence reference258 = ref span98[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence91 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span99 = CollectionsMarshal.AsSpan(list4); - span99[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 961) - { - StopDistance = 7f, - Aetheryte = EAetheryteLocation.ElpisPoietenOikos - }; - span99[1] = new QuestStep(EInteractionType.Interact, 1040112u, new Vector3(-586.5721f, 167.99568f, -265.49176f), 961); - questSequence91.Steps = list4; - reference258 = questSequence; - ref QuestSequence reference259 = ref span98[2]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - CollectionsMarshal.AsSpan(list233)[0] = new QuestStep(EInteractionType.Interact, 1040112u, new Vector3(-586.5721f, 167.99568f, -265.49176f), 961); - obj136.Steps = list233; - reference259 = obj136; - ref QuestSequence reference260 = ref span98[3]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - CollectionsMarshal.AsSpan(list234)[0] = new QuestStep(EInteractionType.Interact, 1040115u, new Vector3(-595.0561f, 159.70364f, -175.24994f), 961); - obj137.Steps = list234; - reference260 = obj137; - ref QuestSequence reference261 = ref span98[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence92 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference262 = ref CollectionsMarshal.AsSpan(list4)[0]; - questStep = new QuestStep(EInteractionType.Interact, 1040116u, new Vector3(-578.4542f, 159.66537f, -173.75458f), 961); - QuestStep questStep38 = questStep; - num3 = 4; - list157 = new List(num3); - CollectionsMarshal.SetCount(list157, num3); - Span span100 = CollectionsMarshal.AsSpan(list157); - span100[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKME112_04430_Q1_000_072") - }; - span100[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKME112_04430_Q2_000_076"), - Answer = new ExcelRef("TEXT_AKTKME112_04430_A2_000_077") - }; - span100[2] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKME112_04430_Q3_000_089"), - Answer = new ExcelRef("TEXT_AKTKME112_04430_A3_000_091") - }; - span100[3] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKME112_04430_Q4_000_098"), - Answer = new ExcelRef("TEXT_AKTKME112_04430_A4_000_099") - }; - questStep38.DialogueChoices = list157; - reference262 = questStep; - questSequence92.Steps = list4; - reference261 = questSequence; - ref QuestSequence reference263 = ref span98[5]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.Interact, 1040115u, new Vector3(-595.0561f, 159.70364f, -175.24994f), 961); - obj138.Steps = list235; - reference263 = obj138; - ref QuestSequence reference264 = ref span98[6]; - questSequence = new QuestSequence - { - Sequence = 6 - }; - QuestSequence questSequence93 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span101 = CollectionsMarshal.AsSpan(list4); - span101[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-585.33386f, 159.16429f, -197.54811f), 961) - { - Mount = true - }; - ref QuestStep reference265 = ref span101[1]; - questStep = new QuestStep(EInteractionType.Interact, 1040117u, new Vector3(-442.43536f, 140.56909f, -155.5047f), 961) - { - Comment = "Talk (2, 2, 1)" - }; - QuestStep questStep39 = questStep; - num3 = 4; - list157 = new List(num3); - CollectionsMarshal.SetCount(list157, num3); - Span span102 = CollectionsMarshal.AsSpan(list157); - span102[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKME112_04430_Q5_000_152") - }; - span102[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKME112_04430_Q6_000_154"), - Answer = new ExcelRef("TEXT_AKTKME112_04430_A6_000_156") - }; - span102[2] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKME112_04430_Q7_000_168"), - Answer = new ExcelRef("TEXT_AKTKME112_04430_A7_000_170") - }; - span102[3] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKME112_04430_Q8_000_181"), - Answer = new ExcelRef("TEXT_AKTKME112_04430_A8_000_182") - }; - questStep39.DialogueChoices = list157; - reference265 = questStep; - questSequence93.Steps = list4; - reference264 = questSequence; - ref QuestSequence reference266 = ref span98[7]; - QuestSequence obj139 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040115u, new Vector3(-595.0561f, 159.70364f, -175.24994f), 961); - obj139.Steps = list236; - reference266 = obj139; - questRoot63.QuestSequence = list2; - AddQuest(questId31, questRoot); - QuestId questId32 = new QuestId(4431); - questRoot = new QuestRoot(); - QuestRoot questRoot64 = questRoot; - num = 1; - List list237 = new List(num); - CollectionsMarshal.SetCount(list237, num); - CollectionsMarshal.AsSpan(list237)[0] = "liza"; - questRoot64.Author = list237; - QuestRoot questRoot65 = questRoot; - num = 7; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span103 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference267 = ref span103[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence94 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference268 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep questStep40 = new QuestStep(EInteractionType.AcceptQuest, 1040115u, new Vector3(-595.0561f, 159.70364f, -175.24994f), 961); - num3 = 1; - List list238 = new List(num3); - CollectionsMarshal.SetCount(list238, num3); - CollectionsMarshal.AsSpan(list238)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKME113_04431_Q1_000_014"), - Answer = new ExcelRef("TEXT_AKTKME113_04431_A1_000_016") - }; - questStep40.DialogueChoices = list238; - reference268 = questStep40; - questSequence94.Steps = list4; - reference267 = questSequence; - ref QuestSequence reference269 = ref span103[1]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - CollectionsMarshal.AsSpan(list239)[0] = new QuestStep(EInteractionType.Interact, 1040118u, new Vector3(-814.51135f, 169.52979f, -194.35425f), 961); - obj140.Steps = list239; - reference269 = obj140; - ref QuestSequence reference270 = ref span103[2]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.Interact, 1040121u, new Vector3(-833.9513f, 169.52928f, -61.905884f), 961); - obj141.Steps = list240; - reference270 = obj141; - ref QuestSequence reference271 = ref span103[3]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.Interact, 1040121u, new Vector3(-833.9513f, 169.52928f, -61.905884f), 961); - obj142.Steps = list241; - reference271 = obj142; - ref QuestSequence reference272 = ref span103[4]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - CollectionsMarshal.AsSpan(list242)[0] = new QuestStep(EInteractionType.Interact, 1040124u, new Vector3(-848.38635f, 286.97595f, -175.86023f), 961); - obj143.Steps = list242; - reference272 = obj143; - ref QuestSequence reference273 = ref span103[5]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.Interact, 1040126u, new Vector3(-719.7833f, 365.28336f, -334.64563f), 961); - obj144.Steps = list243; - reference273 = obj144; - ref QuestSequence reference274 = ref span103[6]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence95 = questSequence; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040128u, new Vector3(-664.4236f, 178.07872f, -334.5846f), 961) - { - StopDistance = 5f - }; - questSequence95.Steps = list244; - reference274 = questSequence; - questRoot65.QuestSequence = list2; - AddQuest(questId32, questRoot); - QuestId questId33 = new QuestId(4432); - questRoot = new QuestRoot(); - QuestRoot questRoot66 = questRoot; - num = 1; - List list245 = new List(num); - CollectionsMarshal.SetCount(list245, num); - CollectionsMarshal.AsSpan(list245)[0] = "liza"; - questRoot66.Author = list245; - QuestRoot questRoot67 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span104 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference275 = ref span104[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence96 = questSequence; - num2 = 1; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - CollectionsMarshal.AsSpan(list246)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040128u, new Vector3(-664.4236f, 178.07872f, -334.5846f), 961) - { - StopDistance = 5f - }; - questSequence96.Steps = list246; - reference275 = questSequence; - ref QuestSequence reference276 = ref span104[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence97 = questSequence; - num2 = 2; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - Span span105 = CollectionsMarshal.AsSpan(list247); - span105[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-297.88638f, 146.9291f, 84.30863f), 961); - span105[1] = new QuestStep(EInteractionType.Interact, 2012149u, new Vector3(-353.1396f, 146.92908f, 143.57214f), 961); - questSequence97.Steps = list247; - reference276 = questSequence; - ref QuestSequence reference277 = ref span104[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence98 = questSequence; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1040129u, new Vector3(-629.0532f, 138.676f, 62.302612f), 961) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - questSequence98.Steps = list248; - reference277 = questSequence; - span104[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference278 = ref span104[4]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence99 = questSequence; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040129u, new Vector3(-629.0532f, 138.676f, 62.302612f), 961) - { - StopDistance = 5f - }; - questSequence99.Steps = list249; - reference278 = questSequence; - questRoot67.QuestSequence = list2; - AddQuest(questId33, questRoot); - QuestId questId34 = new QuestId(4433); - questRoot = new QuestRoot(); - QuestRoot questRoot68 = questRoot; - num = 1; - List list250 = new List(num); - CollectionsMarshal.SetCount(list250, num); - CollectionsMarshal.AsSpan(list250)[0] = "liza"; - questRoot68.Author = list250; - QuestRoot questRoot69 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span106 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference279 = ref span106[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence100 = questSequence; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040129u, new Vector3(-629.0532f, 138.676f, 62.302612f), 961) - { - StopDistance = 5f - }; - questSequence100.Steps = list251; - reference279 = questSequence; - ref QuestSequence reference280 = ref span106[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence101 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span107 = CollectionsMarshal.AsSpan(list4); - span107[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2012026u, new Vector3(-555.6268f, 158.09863f, 172.41162f), 961) - { - AetherCurrentId = 2818380u - }; - ref QuestStep reference281 = ref span107[1]; - QuestStep questStep41 = new QuestStep(EInteractionType.Interact, 1040132u, new Vector3(-513.6339f, 156.7207f, 198.68762f), 961); - num3 = 1; - List list252 = new List(num3); - CollectionsMarshal.SetCount(list252, num3); - CollectionsMarshal.AsSpan(list252)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKME115_04433_Q1_000_021") - }; - questStep41.DialogueChoices = list252; - reference281 = questStep41; - questSequence101.Steps = list4; - reference280 = questSequence; - ref QuestSequence reference282 = ref span106[2]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - CollectionsMarshal.AsSpan(list253)[0] = new QuestStep(EInteractionType.Interact, 1040134u, new Vector3(-515.2819f, 156.84904f, 199.32861f), 961); - obj145.Steps = list253; - reference282 = obj145; - ref QuestSequence reference283 = ref span106[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence102 = questSequence; - num2 = 4; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span108 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference284 = ref span108[0]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1041369u, new Vector3(-639.85657f, 162.30406f, -189.47137f), 961) - { - AetheryteShortcut = EAetheryteLocation.ElpisPoietenOikos - }; - QuestStep questStep42 = questStep; - SkipConditions skipConditions6 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition3 = new SkipAetheryteCondition(); - num3 = 1; - List list254 = new List(num3); - CollectionsMarshal.SetCount(list254, num3); - CollectionsMarshal.AsSpan(list254)[0] = new QuestId(4511); - skipAetheryteCondition3.QuestsCompleted = list254; - skipConditions6.AetheryteShortcutIf = skipAetheryteCondition3; - questStep42.SkipConditions = skipConditions6; - questStep.PickUpQuestId = new QuestId(4511); - reference284 = questStep; - ref QuestStep reference285 = ref span108[1]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1041847u, new Vector3(-484.2146f, 141.86789f, -97.21527f), 961) - { - AetheryteShortcut = EAetheryteLocation.ElpisPoietenOikos - }; - QuestStep questStep43 = questStep; - SkipConditions skipConditions7 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition4 = new SkipAetheryteCondition(); - num3 = 1; - List list255 = new List(num3); - CollectionsMarshal.SetCount(list255, num3); - CollectionsMarshal.AsSpan(list255)[0] = new QuestId(4313); - skipAetheryteCondition4.QuestsCompleted = list255; - skipConditions7.AetheryteShortcutIf = skipAetheryteCondition4; - questStep43.SkipConditions = skipConditions7; - questStep.PickUpQuestId = new QuestId(4313); - reference285 = questStep; - span108[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-531.21313f, 159.97144f, -244.95073f), 961); - ref QuestStep reference286 = ref span108[3]; - QuestStep questStep44 = new QuestStep(EInteractionType.Interact, 2012151u, new Vector3(-481.8647f, 157.36621f, -367.48303f), 961); - num3 = 1; - List list256 = new List(num3); - CollectionsMarshal.SetCount(list256, num3); - CollectionsMarshal.AsSpan(list256)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKME115_04433_Q2_000_062") - }; - questStep44.DialogueChoices = list256; - reference286 = questStep44; - questSequence102.Steps = list4; - reference283 = questSequence; - ref QuestSequence reference287 = ref span106[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence103 = questSequence; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.Interact, 1042043u, new Vector3(-342.5498f, 294.93375f, -559.62463f), 961) - { - StopDistance = 6f - }; - questSequence103.Steps = list257; - reference287 = questSequence; - ref QuestSequence reference288 = ref span106[5]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence104 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span109 = CollectionsMarshal.AsSpan(list4); - span109[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2012025u, new Vector3(-402.945f, 327.7484f, -691.3405f), 961) - { - AetherCurrentId = 2818379u - }; - span109[1] = new QuestStep(EInteractionType.CompleteQuest, 1040135u, new Vector3(-407.46167f, 329.89032f, -759.24316f), 961); - questSequence104.Steps = list4; - reference288 = questSequence; - questRoot69.QuestSequence = list2; - AddQuest(questId34, questRoot); - QuestId questId35 = new QuestId(4434); - questRoot = new QuestRoot(); - QuestRoot questRoot70 = questRoot; - num = 1; - List list258 = new List(num); - CollectionsMarshal.SetCount(list258, num); - CollectionsMarshal.AsSpan(list258)[0] = "liza"; - questRoot70.Author = list258; - QuestRoot questRoot71 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span110 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference289 = ref span110[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence105 = questSequence; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - CollectionsMarshal.AsSpan(list259)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040136u, new Vector3(-405.69165f, 329.81177f, -760.1892f), 961) - { - StopDistance = 5f - }; - questSequence105.Steps = list259; - reference289 = questSequence; - ref QuestSequence reference290 = ref span110[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence106 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference291 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep questStep45 = new QuestStep(EInteractionType.Interact, 2012153u, new Vector3(-207.7821f, 306.63f, -653.13196f), 961); - num3 = 1; - List list260 = new List(num3); - CollectionsMarshal.SetCount(list260, num3); - CollectionsMarshal.AsSpan(list260)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKME116_04434_Q1_000_021") - }; - questStep45.DialogueChoices = list260; - reference291 = questStep45; - questSequence106.Steps = list4; - reference290 = questSequence; - ref QuestSequence reference292 = ref span110[2]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.Interact, 1040138u, new Vector3(-47.196167f, 151.94286f, -624.7196f), 961); - obj146.Steps = list261; - reference292 = obj146; - ref QuestSequence reference293 = ref span110[3]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - CollectionsMarshal.AsSpan(list262)[0] = new QuestStep(EInteractionType.Interact, 1040141u, new Vector3(242.20642f, 165.84848f, -608.6061f), 961); - obj147.Steps = list262; - reference293 = obj147; - ref QuestSequence reference294 = ref span110[4]; - QuestSequence obj148 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - CollectionsMarshal.AsSpan(list263)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040138u, new Vector3(-47.196167f, 151.94286f, -624.7196f), 961); - obj148.Steps = list263; - reference294 = obj148; - questRoot71.QuestSequence = list2; - AddQuest(questId35, questRoot); - QuestId questId36 = new QuestId(4435); - questRoot = new QuestRoot(); - QuestRoot questRoot72 = questRoot; - num = 1; - List list264 = new List(num); - CollectionsMarshal.SetCount(list264, num); - CollectionsMarshal.AsSpan(list264)[0] = "liza"; - questRoot72.Author = list264; - QuestRoot questRoot73 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span111 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference295 = ref span111[0]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040140u, new Vector3(-44.63269f, 151.69983f, -623.43787f), 961); - obj149.Steps = list265; - reference295 = obj149; - ref QuestSequence reference296 = ref span111[1]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - CollectionsMarshal.AsSpan(list266)[0] = new QuestStep(EInteractionType.Interact, 2012155u, new Vector3(16.54684f, 128.4602f, -549.886f), 961); - obj150.Steps = list266; - reference296 = obj150; - ref QuestSequence reference297 = ref span111[2]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - CollectionsMarshal.AsSpan(list267)[0] = new QuestStep(EInteractionType.Interact, 2012158u, new Vector3(197.31433f, 91.569336f, -656.91614f), 961); - obj151.Steps = list267; - reference297 = obj151; - ref QuestSequence reference298 = ref span111[3]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - CollectionsMarshal.AsSpan(list268)[0] = new QuestStep(EInteractionType.Interact, 2012161u, new Vector3(306.84363f, 138.47559f, -749.4774f), 961); - obj152.Steps = list268; - reference298 = obj152; - ref QuestSequence reference299 = ref span111[4]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - CollectionsMarshal.AsSpan(list269)[0] = new QuestStep(EInteractionType.Interact, 2012164u, new Vector3(413.5653f, 148.63806f, -418.69232f), 961); - obj153.Steps = list269; - reference299 = obj153; - ref QuestSequence reference300 = ref span111[5]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence107 = questSequence; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - CollectionsMarshal.AsSpan(list270)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040147u, new Vector3(412.28345f, 148.76953f, -417.34955f), 961) - { - StopDistance = 5f - }; - questSequence107.Steps = list270; - reference300 = questSequence; - questRoot73.QuestSequence = list2; - AddQuest(questId36, questRoot); - QuestId questId37 = new QuestId(4436); - questRoot = new QuestRoot(); - QuestRoot questRoot74 = questRoot; - num = 1; - List list271 = new List(num); - CollectionsMarshal.SetCount(list271, num); - CollectionsMarshal.AsSpan(list271)[0] = "liza"; - questRoot74.Author = list271; - QuestRoot questRoot75 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span112 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference301 = ref span112[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence108 = questSequence; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - CollectionsMarshal.AsSpan(list272)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040148u, new Vector3(416.15918f, 148.81448f, -418.53973f), 961) - { - StopDistance = 5f - }; - questSequence108.Steps = list272; - reference301 = questSequence; - ref QuestSequence reference302 = ref span112[1]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - CollectionsMarshal.AsSpan(list273)[0] = new QuestStep(EInteractionType.Interact, 2012167u, new Vector3(436.057f, 149.12634f, -360.2503f), 961); - obj154.Steps = list273; - reference302 = obj154; - ref QuestSequence reference303 = ref span112[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence109 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span113 = CollectionsMarshal.AsSpan(list4); - span113[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(463.18567f, 138.58543f, -273.41803f), 961) - { - DisableNavmesh = true, - Mount = true - }; - span113[1] = new QuestStep(EInteractionType.Interact, 2012169u, new Vector3(523.7352f, 139.29956f, -186.9383f), 961); - questSequence109.Steps = list4; - reference303 = questSequence; - ref QuestSequence reference304 = ref span112[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence110 = questSequence; - num2 = 2; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - Span span114 = CollectionsMarshal.AsSpan(list274); - span114[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(726.4087f, 139.19812f, -131.47159f), 961); - span114[1] = new QuestStep(EInteractionType.Interact, 2012170u, new Vector3(805.0812f, 153.521f, -210.55933f), 961); - questSequence110.Steps = list274; - reference304 = questSequence; - ref QuestSequence reference305 = ref span112[4]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.Interact, 2012171u, new Vector3(741.39f, 148.05823f, -356.55762f), 961); - obj155.Steps = list275; - reference305 = obj155; - ref QuestSequence reference306 = ref span112[5]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence111 = questSequence; - num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - CollectionsMarshal.AsSpan(list276)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040151u, new Vector3(504.35632f, 151.56888f, -303.88342f), 961) - { - StopDistance = 5f - }; - questSequence111.Steps = list276; - reference306 = questSequence; - questRoot75.QuestSequence = list2; - AddQuest(questId37, questRoot); - QuestId questId38 = new QuestId(4437); - questRoot = new QuestRoot(); - QuestRoot questRoot76 = questRoot; - num = 1; - List list277 = new List(num); - CollectionsMarshal.SetCount(list277, num); - CollectionsMarshal.AsSpan(list277)[0] = "liza"; - questRoot76.Author = list277; - QuestRoot questRoot77 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span115 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference307 = ref span115[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence112 = questSequence; - num2 = 1; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - CollectionsMarshal.AsSpan(list278)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040152u, new Vector3(508.75085f, 151.51599f, -303.39514f), 961) - { - StopDistance = 5f - }; - questSequence112.Steps = list278; - reference307 = questSequence; - ref QuestSequence reference308 = ref span115[1]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - CollectionsMarshal.AsSpan(list279)[0] = new QuestStep(EInteractionType.Interact, 1040154u, new Vector3(-401.23596f, 329.78302f, -760.3418f), 961); - obj156.Steps = list279; - reference308 = obj156; - ref QuestSequence reference309 = ref span115[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence113 = questSequence; - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - CollectionsMarshal.AsSpan(list280)[0] = new QuestStep(EInteractionType.Duty, null, null, 961) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 787u - } - }; - questSequence113.Steps = list280; - reference309 = questSequence; - span115[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference310 = ref span115[4]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence114 = questSequence; - num2 = 1; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - CollectionsMarshal.AsSpan(list281)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040159u, new Vector3(473.1975f, -17.131165f, 49.66809f), 961) - { - StopDistance = 5f - }; - questSequence114.Steps = list281; - reference310 = questSequence; - questRoot77.QuestSequence = list2; - AddQuest(questId38, questRoot); - QuestId questId39 = new QuestId(4438); - questRoot = new QuestRoot(); - QuestRoot questRoot78 = questRoot; - num = 1; - List list282 = new List(num); - CollectionsMarshal.SetCount(list282, num); - CollectionsMarshal.AsSpan(list282)[0] = "liza"; - questRoot78.Author = list282; - QuestRoot questRoot79 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span116 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference311 = ref span116[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence115 = questSequence; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040159u, new Vector3(473.1975f, -17.131165f, 49.66809f), 961) - { - StopDistance = 5f - }; - questSequence115.Steps = list283; - reference311 = questSequence; - ref QuestSequence reference312 = ref span116[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence116 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference313 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj157 = new QuestStep(EInteractionType.Interact, 1040160u, new Vector3(265.156f, 46.937138f, 790.70715f), 961) - { - Fly = true - }; - num3 = 1; - List list284 = new List(num3); - CollectionsMarshal.SetCount(list284, num3); - CollectionsMarshal.AsSpan(list284)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKME120_04438_Q1_000_008") - }; - obj157.DialogueChoices = list284; - reference313 = obj157; - questSequence116.Steps = list4; - reference312 = questSequence; - ref QuestSequence reference314 = ref span116[2]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - CollectionsMarshal.AsSpan(list285)[0] = new QuestStep(EInteractionType.Interact, 2009758u, new Vector3(-0.015319824f, 1.0223389f, 14.206055f), 844); - obj158.Steps = list285; - reference314 = obj158; - ref QuestSequence reference315 = ref span116[3]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence117 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span117 = CollectionsMarshal.AsSpan(list4); - span117[0] = new QuestStep(EInteractionType.Interact, 2011936u, new Vector3(-108.56799f, 5.0201416f, 4.5318604f), 962) - { - TargetTerritoryId = (ushort)987, - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanBaldesionAnnex - } - }; - span117[1] = new QuestStep(EInteractionType.CompleteQuest, 1040161u, new Vector3(-0.35101318f, 1.9073486E-06f, -3.3417358f), 987); - questSequence117.Steps = list4; - reference315 = questSequence; - questRoot79.QuestSequence = list2; - AddQuest(questId39, questRoot); - QuestId questId40 = new QuestId(4439); - questRoot = new QuestRoot(); - QuestRoot questRoot80 = questRoot; - num = 1; - List list286 = new List(num); - CollectionsMarshal.SetCount(list286, num); - CollectionsMarshal.AsSpan(list286)[0] = "liza"; - questRoot80.Author = list286; - QuestRoot questRoot81 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span118 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference316 = ref span118[0]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - CollectionsMarshal.AsSpan(list287)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040161u, new Vector3(-0.35101318f, 1.9073486E-06f, -3.3417358f), 987); - obj159.Steps = list287; - reference316 = obj159; - ref QuestSequence reference317 = ref span118[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence118 = questSequence; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - CollectionsMarshal.AsSpan(list288)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1039668u, new Vector3(-389.97485f, 21.999998f, 501.85388f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - questSequence118.Steps = list288; - reference317 = questSequence; - span118[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference318 = ref span118[3]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence119 = questSequence; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039675u, new Vector3(-404.8982f, 21.999998f, 416.3423f), 958) - { - StopDistance = 6f - }; - questSequence119.Steps = list289; - reference318 = questSequence; - questRoot81.QuestSequence = list2; - AddQuest(questId40, questRoot); - QuestId questId41 = new QuestId(4440); - questRoot = new QuestRoot(); - QuestRoot questRoot82 = questRoot; - num = 1; - List list290 = new List(num); - CollectionsMarshal.SetCount(list290, num); - CollectionsMarshal.AsSpan(list290)[0] = "liza"; - questRoot82.Author = list290; - QuestRoot questRoot83 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span119 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference319 = ref span119[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence120 = questSequence; - num2 = 1; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - CollectionsMarshal.AsSpan(list291)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039681u, new Vector3(-401.3886f, 22.030764f, 419.94336f), 958) - { - StopDistance = 5f - }; - questSequence120.Steps = list291; - reference319 = questSequence; - ref QuestSequence reference320 = ref span119[1]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - CollectionsMarshal.AsSpan(list292)[0] = new QuestStep(EInteractionType.Interact, 1039685u, new Vector3(108.018555f, -10.587427f, 269.4895f), 962); - obj160.Steps = list292; - reference320 = obj160; - ref QuestSequence reference321 = ref span119[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence121 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 2011936u, new Vector3(-108.56799f, 5.0201416f, 4.5318604f), 962) - { - TargetTerritoryId = (ushort)987, - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanBaldesionAnnex - } - }; - questSequence121.Steps = list4; - reference321 = questSequence; - ref QuestSequence reference322 = ref span119[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence122 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span120 = CollectionsMarshal.AsSpan(list4); - span120[0] = new QuestStep(EInteractionType.Interact, 2011937u, new Vector3(-0.015319824f, 1.1443481f, 14.785889f), 987) - { - TargetTerritoryId = (ushort)962 - }; - span120[1] = new QuestStep(EInteractionType.Interact, 1039683u, new Vector3(-3.1586914f, 41.530132f, -160.35712f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanBaldesionAnnex, - To = EAetheryteLocation.OldSharlayanRostra - } - }; - questSequence122.Steps = list4; - reference322 = questSequence; - ref QuestSequence reference323 = ref span119[4]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - CollectionsMarshal.AsSpan(list293)[0] = new QuestStep(EInteractionType.Interact, 2012211u, new Vector3(0.38146973f, 43.59497f, -273.30438f), 962); - obj161.Steps = list293; - reference323 = obj161; - ref QuestSequence reference324 = ref span119[5]; - QuestSequence obj162 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - CollectionsMarshal.AsSpan(list294)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039693u, new Vector3(2.5177002f, 40.2f, -235.67566f), 962); - obj162.Steps = list294; - reference324 = obj162; - questRoot83.QuestSequence = list2; - AddQuest(questId41, questRoot); - QuestId questId42 = new QuestId(4441); - questRoot = new QuestRoot(); - QuestRoot questRoot84 = questRoot; - num = 1; - List list295 = new List(num); - CollectionsMarshal.SetCount(list295, num); - CollectionsMarshal.AsSpan(list295)[0] = "liza"; - questRoot84.Author = list295; - QuestRoot questRoot85 = questRoot; - num = 8; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span121 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference325 = ref span121[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence123 = questSequence; - num2 = 1; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - CollectionsMarshal.AsSpan(list296)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039701u, new Vector3(4.257263f, 40.2f, -234.21082f), 962) - { - StopDistance = 5f - }; - questSequence123.Steps = list296; - reference325 = questSequence; - ref QuestSequence reference326 = ref span121[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence124 = questSequence; - num2 = 1; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - CollectionsMarshal.AsSpan(list297)[0] = new QuestStep(EInteractionType.Interact, 1039702u, new Vector3(422.0492f, 166.41168f, -453.42188f), 956) - { - AetheryteShortcut = EAetheryteLocation.LabyrinthosArcheion - }; - questSequence124.Steps = list297; - reference326 = questSequence; - ref QuestSequence reference327 = ref span121[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence125 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span122 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference328 = ref span122[0]; - QuestStep questStep46 = new QuestStep(EInteractionType.Interact, 1039545u, new Vector3(361.80652f, 170.1f, -393.36237f), 956); - num3 = 1; - List list298 = new List(num3); - CollectionsMarshal.SetCount(list298, num3); - CollectionsMarshal.AsSpan(list298)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMF103_04441_Q1_000_096") - }; - questStep46.DialogueChoices = list298; - reference328 = questStep46; - span122[1] = new QuestStep(EInteractionType.Interact, 1039711u, new Vector3(346.4254f, 90.90158f, -371.1147f), 956); - questSequence125.Steps = list4; - reference327 = questSequence; - ref QuestSequence reference329 = ref span121[3]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - CollectionsMarshal.AsSpan(list299)[0] = new QuestStep(EInteractionType.Interact, 1039712u, new Vector3(380.69727f, 79.691376f, 299.3667f), 956); - obj163.Steps = list299; - reference329 = obj163; - ref QuestSequence reference330 = ref span121[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence126 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference331 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep questStep47 = new QuestStep(EInteractionType.Interact, 1039721u, new Vector3(362.02026f, 79.691376f, 302.11328f), 956); - num3 = 1; - List list300 = new List(num3); - CollectionsMarshal.SetCount(list300, num3); - CollectionsMarshal.AsSpan(list300)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMF103_04441_Q1_000_181") - }; - questStep47.DialogueChoices = list300; - reference331 = questStep47; - questSequence126.Steps = list4; - reference330 = questSequence; - ref QuestSequence reference332 = ref span121[5]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - CollectionsMarshal.AsSpan(list301)[0] = new QuestStep(EInteractionType.Interact, 1039722u, new Vector3(194.41516f, -23.530436f, 303.91382f), 956); - obj164.Steps = list301; - reference332 = obj164; - ref QuestSequence reference333 = ref span121[6]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list302 = new List(num2); - CollectionsMarshal.SetCount(list302, num2); - CollectionsMarshal.AsSpan(list302)[0] = new QuestStep(EInteractionType.Interact, 1040448u, new Vector3(-21.286377f, -30.155542f, 637.41516f), 956); - obj165.Steps = list302; - reference333 = obj165; - ref QuestSequence reference334 = ref span121[7]; - QuestSequence obj166 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list303 = new List(num2); - CollectionsMarshal.SetCount(list303, num2); - CollectionsMarshal.AsSpan(list303)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039740u, new Vector3(-19.058533f, -30.155542f, 637.07935f), 956); - obj166.Steps = list303; - reference334 = obj166; - questRoot85.QuestSequence = list2; - AddQuest(questId42, questRoot); - QuestId questId43 = new QuestId(4442); - questRoot = new QuestRoot(); - QuestRoot questRoot86 = questRoot; - num = 1; - List list304 = new List(num); - CollectionsMarshal.SetCount(list304, num); - CollectionsMarshal.AsSpan(list304)[0] = "liza"; - questRoot86.Author = list304; - QuestRoot questRoot87 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span123 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference335 = ref span123[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence127 = questSequence; - num2 = 1; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - CollectionsMarshal.AsSpan(list305)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039733u, new Vector3(-20.767578f, -30.155542f, 638.7273f), 956) - { - StopDistance = 5f - }; - questSequence127.Steps = list305; - reference335 = questSequence; - ref QuestSequence reference336 = ref span123[1]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - CollectionsMarshal.AsSpan(list306)[0] = new QuestStep(EInteractionType.Interact, 1039750u, new Vector3(28.091797f, -31.530422f, 90.196045f), 956); - obj167.Steps = list306; - reference336 = obj167; - ref QuestSequence reference337 = ref span123[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence128 = questSequence; - num2 = 3; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span124 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference338 = ref span124[0]; - questStep = new QuestStep(EInteractionType.Interact, 1037271u, new Vector3(84.64172f, -31.530367f, 31.021484f), 956); - QuestStep questStep48 = questStep; - num3 = 6; - List list307 = new List(num3); - CollectionsMarshal.SetCount(list307, num3); - Span span125 = CollectionsMarshal.AsSpan(list307); - span125[0] = null; - span125[1] = null; - span125[2] = null; - span125[3] = null; - span125[4] = null; - span125[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep48.CompletionQuestVariablesFlags = list307; - reference338 = questStep; - ref QuestStep reference339 = ref span124[1]; - questStep = new QuestStep(EInteractionType.Interact, 1037253u, new Vector3(34.74475f, -28.549177f, 45.548096f), 956); - QuestStep questStep49 = questStep; - num3 = 6; - List list308 = new List(num3); - CollectionsMarshal.SetCount(list308, num3); - Span span126 = CollectionsMarshal.AsSpan(list308); - span126[0] = null; - span126[1] = null; - span126[2] = null; - span126[3] = null; - span126[4] = null; - span126[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep49.CompletionQuestVariablesFlags = list308; - reference339 = questStep; - ref QuestStep reference340 = ref span124[2]; - questStep = new QuestStep(EInteractionType.Interact, 1037275u, new Vector3(106.126465f, -29.529999f, -14.450317f), 956); - QuestStep questStep50 = questStep; - num3 = 6; - List list309 = new List(num3); - CollectionsMarshal.SetCount(list309, num3); - Span span127 = CollectionsMarshal.AsSpan(list309); - span127[0] = null; - span127[1] = null; - span127[2] = null; - span127[3] = null; - span127[4] = null; - span127[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep50.CompletionQuestVariablesFlags = list309; - reference340 = questStep; - questSequence128.Steps = list4; - reference337 = questSequence; - ref QuestSequence reference341 = ref span123[3]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence129 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span128 = CollectionsMarshal.AsSpan(list4); - span128[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 956) - { - StopDistance = 7f, - Aetheryte = EAetheryteLocation.LabyrinthosSharlayanHamlet - }; - span128[1] = new QuestStep(EInteractionType.CompleteQuest, 1039761u, new Vector3(-17.685242f, -31.53043f, -76.798706f), 956); - questSequence129.Steps = list4; - reference341 = questSequence; - questRoot87.QuestSequence = list2; - AddQuest(questId43, questRoot); - QuestId questId44 = new QuestId(4443); - questRoot = new QuestRoot(); - QuestRoot questRoot88 = questRoot; - num = 1; - List list310 = new List(num); - CollectionsMarshal.SetCount(list310, num); - CollectionsMarshal.AsSpan(list310)[0] = "liza"; - questRoot88.Author = list310; - QuestRoot questRoot89 = questRoot; - num = 7; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span129 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference342 = ref span129[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence130 = questSequence; - num2 = 1; - List list311 = new List(num2); - CollectionsMarshal.SetCount(list311, num2); - CollectionsMarshal.AsSpan(list311)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039762u, new Vector3(-15.610046f, -31.53043f, -78.324646f), 956) - { - StopDistance = 5f - }; - questSequence130.Steps = list311; - reference342 = questSequence; - ref QuestSequence reference343 = ref span129[1]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - CollectionsMarshal.AsSpan(list312)[0] = new QuestStep(EInteractionType.Interact, 1039766u, new Vector3(127.45862f, -17.530378f, -73.50275f), 956); - obj168.Steps = list312; - reference343 = obj168; - ref QuestSequence reference344 = ref span129[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence131 = questSequence; - num2 = 1; - List list313 = new List(num2); - CollectionsMarshal.SetCount(list313, num2); - CollectionsMarshal.AsSpan(list313)[0] = new QuestStep(EInteractionType.Snipe, 2012212u, new Vector3(126.35986f, -17.532654f, -77.073364f), 956) - { - StopDistance = 5f, - Comment = "Find Points of Interest" - }; - questSequence131.Steps = list313; - reference344 = questSequence; - ref QuestSequence reference345 = ref span129[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence132 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference346 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj169 = new QuestStep(EInteractionType.Combat, 2012213u, new Vector3(218.12769f, -25.742065f, 104.600464f), 956) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list314 = new List(num3); - CollectionsMarshal.SetCount(list314, num3); - CollectionsMarshal.AsSpan(list314)[0] = 13983u; - obj169.KillEnemyDataIds = list314; - reference346 = obj169; - questSequence132.Steps = list4; - reference345 = questSequence; - ref QuestSequence reference347 = ref span129[4]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - CollectionsMarshal.AsSpan(list315)[0] = new QuestStep(EInteractionType.Interact, 1040391u, new Vector3(211.65784f, -25.759167f, 98.22229f), 956); - obj170.Steps = list315; - reference347 = obj170; - ref QuestSequence reference348 = ref span129[5]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - CollectionsMarshal.AsSpan(list316)[0] = new QuestStep(EInteractionType.Interact, 1040392u, new Vector3(187.396f, -23.530434f, 281.42212f), 956); - obj171.Steps = list316; - reference348 = obj171; - ref QuestSequence reference349 = ref span129[6]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence133 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span130 = CollectionsMarshal.AsSpan(list4); - span130[0] = new QuestStep(EInteractionType.Interact, 1039549u, new Vector3(229.87708f, -18.742016f, 298.72583f), 956) - { - TargetTerritoryId = (ushort)956 - }; - span130[1] = new QuestStep(EInteractionType.CompleteQuest, 1040397u, new Vector3(372.39636f, 79.691376f, 299.1836f), 956); - questSequence133.Steps = list4; - reference349 = questSequence; - questRoot89.QuestSequence = list2; - AddQuest(questId44, questRoot); - QuestId questId45 = new QuestId(4444); - questRoot = new QuestRoot(); - QuestRoot questRoot90 = questRoot; - num = 1; - List list317 = new List(num); - CollectionsMarshal.SetCount(list317, num); - CollectionsMarshal.AsSpan(list317)[0] = "liza"; - questRoot90.Author = list317; - QuestRoot questRoot91 = questRoot; - num = 9; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span131 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference350 = ref span131[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence134 = questSequence; - num2 = 1; - List list318 = new List(num2); - CollectionsMarshal.SetCount(list318, num2); - CollectionsMarshal.AsSpan(list318)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040400u, new Vector3(373.6781f, 79.691376f, 299.8855f), 956) - { - StopDistance = 5f - }; - questSequence134.Steps = list318; - reference350 = questSequence; - ref QuestSequence reference351 = ref span131[1]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list319 = new List(num2); - CollectionsMarshal.SetCount(list319, num2); - CollectionsMarshal.AsSpan(list319)[0] = new QuestStep(EInteractionType.Interact, 1040402u, new Vector3(494.8042f, 65.06f, -37.70508f), 956); - obj172.Steps = list319; - reference351 = obj172; - ref QuestSequence reference352 = ref span131[2]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list320 = new List(num2); - CollectionsMarshal.SetCount(list320, num2); - CollectionsMarshal.AsSpan(list320)[0] = new QuestStep(EInteractionType.Interact, 1037985u, new Vector3(481.8036f, 66.16195f, -108.537415f), 956); - obj173.Steps = list320; - reference352 = obj173; - ref QuestSequence reference353 = ref span131[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence135 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference354 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj174 = new QuestStep(EInteractionType.Interact, 1040402u, new Vector3(422.61563f, 65.31176f, -121.74779f), 956) - { - StopDistance = 0.25f - }; - num3 = 1; - List list321 = new List(num3); - CollectionsMarshal.SetCount(list321, num3); - CollectionsMarshal.AsSpan(list321)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMF106_04444_Q3_000_125"), - Answer = new ExcelRef("TEXT_AKTKMF106_04444_A3_000_126") - }; - obj174.DialogueChoices = list321; - reference354 = obj174; - questSequence135.Steps = list4; - reference353 = questSequence; - ref QuestSequence reference355 = ref span131[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence136 = questSequence; - num2 = 1; - List list322 = new List(num2); - CollectionsMarshal.SetCount(list322, num2); - CollectionsMarshal.AsSpan(list322)[0] = new QuestStep(EInteractionType.Interact, 1040402u, new Vector3(407.89633f, 65.16199f, -119.62697f), 956) - { - StopDistance = 0.25f - }; - questSequence136.Steps = list322; - reference355 = questSequence; - ref QuestSequence reference356 = ref span131[5]; - questSequence = new QuestSequence - { - Sequence = 5 - }; - QuestSequence questSequence137 = questSequence; - num2 = 1; - List list323 = new List(num2); - CollectionsMarshal.SetCount(list323, num2); - CollectionsMarshal.AsSpan(list323)[0] = new QuestStep(EInteractionType.Interact, 1040402u, new Vector3(463.33115f, 65.16199f, -66.60645f), 956) - { - StopDistance = 0.25f - }; - questSequence137.Steps = list323; - reference356 = questSequence; - ref QuestSequence reference357 = ref span131[6]; - questSequence = new QuestSequence - { - Sequence = 6 - }; - QuestSequence questSequence138 = questSequence; - num2 = 1; - List list324 = new List(num2); - CollectionsMarshal.SetCount(list324, num2); - CollectionsMarshal.AsSpan(list324)[0] = new QuestStep(EInteractionType.Interact, 1040402u, new Vector3(485.30798f, 65.16199f, -96.01148f), 956) - { - StopDistance = 0.25f - }; - questSequence138.Steps = list324; - reference357 = questSequence; - ref QuestSequence reference358 = ref span131[7]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list325 = new List(num2); - CollectionsMarshal.SetCount(list325, num2); - CollectionsMarshal.AsSpan(list325)[0] = new QuestStep(EInteractionType.Interact, 1037985u, new Vector3(481.8036f, 66.16195f, -108.537415f), 956); - obj175.Steps = list325; - reference358 = obj175; - ref QuestSequence reference359 = ref span131[8]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence139 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference360 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep questStep51 = new QuestStep(EInteractionType.CompleteQuest, 1040400u, new Vector3(373.6781f, 79.691376f, 299.8855f), 956); - num3 = 1; - List list326 = new List(num3); - CollectionsMarshal.SetCount(list326, num3); - CollectionsMarshal.AsSpan(list326)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMF106_04444_Q4_000_272"), - Answer = new ExcelRef("TEXT_AKTKMF106_04444_A4_000_273") - }; - questStep51.DialogueChoices = list326; - reference360 = questStep51; - questSequence139.Steps = list4; - reference359 = questSequence; - questRoot91.QuestSequence = list2; - AddQuest(questId45, questRoot); - QuestId questId46 = new QuestId(4445); - questRoot = new QuestRoot(); - QuestRoot questRoot92 = questRoot; - num = 1; - List list327 = new List(num); - CollectionsMarshal.SetCount(list327, num); - CollectionsMarshal.AsSpan(list327)[0] = "liza"; - questRoot92.Author = list327; - QuestRoot questRoot93 = questRoot; - num = 7; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span132 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference361 = ref span132[0]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - CollectionsMarshal.AsSpan(list328)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040401u, new Vector3(374.83777f, 79.691376f, 298.08484f), 956); - obj176.Steps = list328; - reference361 = obj176; - ref QuestSequence reference362 = ref span132[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence140 = questSequence; - num2 = 3; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span133 = CollectionsMarshal.AsSpan(list4); - span133[0] = new QuestStep(EInteractionType.AcceptQuest, 1041667u, new Vector3(443.96118f, 65.162f, -105.4552f), 956) - { - PickUpQuestId = new QuestId(4480) - }; - span133[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(5.4520116f, -28.723352f, -42.992764f), 956) - { - StopDistance = 0.75f, - Mount = true, - AetheryteShortcut = EAetheryteLocation.LabyrinthosSharlayanHamlet - }; - span133[2] = new QuestStep(EInteractionType.Interact, 1039687u, new Vector3(-18.875488f, -31.53043f, -76.98181f), 956); - questSequence140.Steps = list4; - reference362 = questSequence; - ref QuestSequence reference363 = ref span132[2]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list329 = new List(num2); - CollectionsMarshal.SetCount(list329, num2); - CollectionsMarshal.AsSpan(list329)[0] = new QuestStep(EInteractionType.Interact, 1040409u, new Vector3(-99.076904f, -28.516306f, -60.013794f), 956); - obj177.Steps = list329; - reference363 = obj177; - ref QuestSequence reference364 = ref span132[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence141 = questSequence; - num2 = 8; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span134 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference365 = ref span134[0]; - questStep = new QuestStep(EInteractionType.Interact, 1040422u, new Vector3(-37.125244f, -29.530075f, -169.14624f), 956) - { - Comment = "Distracted Researcher" - }; - QuestStep questStep52 = questStep; - num3 = 6; - List list330 = new List(num3); - CollectionsMarshal.SetCount(list330, num3); - Span span135 = CollectionsMarshal.AsSpan(list330); - span135[0] = null; - span135[1] = null; - span135[2] = null; - span135[3] = null; - span135[4] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - span135[5] = null; - questStep52.CompletionQuestVariablesFlags = list330; - reference365 = questStep; - ref QuestStep reference366 = ref span134[1]; - questStep = new QuestStep(EInteractionType.Interact, 1040416u, new Vector3(3.0670166f, -29.530357f, -126.17688f), 956) - { - Comment = "Hyperventilating Engineer" - }; - QuestStep questStep53 = questStep; - num3 = 6; - List list331 = new List(num3); - CollectionsMarshal.SetCount(list331, num3); - Span span136 = CollectionsMarshal.AsSpan(list331); - span136[0] = null; - span136[1] = null; - span136[2] = null; - span136[3] = null; - span136[4] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - span136[5] = null; - questStep53.CompletionQuestVariablesFlags = list331; - reference366 = questStep; - ref QuestStep reference367 = ref span134[2]; - questStep = new QuestStep(EInteractionType.Interact, 1040420u, new Vector3(40.634766f, -17.53038f, -69.62695f), 956) - { - Comment = "Harried Aetherologist" - }; - QuestStep questStep54 = questStep; - num3 = 6; - List list332 = new List(num3); - CollectionsMarshal.SetCount(list332, num3); - Span span137 = CollectionsMarshal.AsSpan(list332); - span137[0] = null; - span137[1] = null; - span137[2] = null; - span137[3] = null; - span137[4] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - span137[5] = null; - questStep54.CompletionQuestVariablesFlags = list332; - reference367 = questStep; - ref QuestStep reference368 = ref span134[3]; - questStep = new QuestStep(EInteractionType.Interact, 1040421u, new Vector3(48.142212f, -31.53043f, -48.111755f), 956) - { - Mount = true, - Comment = "Grimacing Naturalist" - }; - QuestStep questStep55 = questStep; - num3 = 6; - List list333 = new List(num3); - CollectionsMarshal.SetCount(list333, num3); - Span span138 = CollectionsMarshal.AsSpan(list333); - span138[0] = null; - span138[1] = null; - span138[2] = null; - span138[3] = null; - span138[4] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - span138[5] = null; - questStep55.CompletionQuestVariablesFlags = list333; - reference368 = questStep; - ref QuestStep reference369 = ref span134[4]; - questStep = new QuestStep(EInteractionType.Interact, 1040417u, new Vector3(59.311768f, -29.530416f, -24.429688f), 956) - { - Comment = "Ponderous Mathematician" - }; - QuestStep questStep56 = questStep; - num3 = 6; - List list334 = new List(num3); - CollectionsMarshal.SetCount(list334, num3); - Span span139 = CollectionsMarshal.AsSpan(list334); - span139[0] = null; - span139[1] = null; - span139[2] = null; - span139[3] = null; - span139[4] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - span139[5] = null; - questStep56.CompletionQuestVariablesFlags = list334; - reference369 = questStep; - ref QuestStep reference370 = ref span134[5]; - questStep = new QuestStep(EInteractionType.Interact, 1040418u, new Vector3(-19.394226f, -29.530432f, 10.299805f), 956) - { - Mount = true, - Comment = "Despondent Engineer" - }; - QuestStep questStep57 = questStep; - num3 = 6; - List list335 = new List(num3); - CollectionsMarshal.SetCount(list335, num3); - Span span140 = CollectionsMarshal.AsSpan(list335); - span140[0] = null; - span140[1] = null; - span140[2] = null; - span140[3] = null; - span140[4] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span140[5] = null; - questStep57.CompletionQuestVariablesFlags = list335; - reference370 = questStep; - ref QuestStep reference371 = ref span134[6]; - questStep = new QuestStep(EInteractionType.Interact, 1040423u, new Vector3(-22.232422f, -31.530355f, 38.071167f), 956) - { - Mount = true, - Comment = "Skeptical Researcher" - }; - QuestStep questStep58 = questStep; - num3 = 6; - List list336 = new List(num3); - CollectionsMarshal.SetCount(list336, num3); - Span span141 = CollectionsMarshal.AsSpan(list336); - span141[0] = null; - span141[1] = null; - span141[2] = null; - span141[3] = null; - span141[4] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span141[5] = null; - questStep58.CompletionQuestVariablesFlags = list336; - reference371 = questStep; - ref QuestStep reference372 = ref span134[7]; - questStep = new QuestStep(EInteractionType.Interact, 1040419u, new Vector3(-15.762573f, -31.530432f, -51.59082f), 956) - { - Comment = "Anxious Engineer" - }; - QuestStep questStep59 = questStep; - num3 = 6; - List list337 = new List(num3); - CollectionsMarshal.SetCount(list337, num3); - Span span142 = CollectionsMarshal.AsSpan(list337); - span142[0] = null; - span142[1] = null; - span142[2] = null; - span142[3] = null; - span142[4] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span142[5] = null; - questStep59.CompletionQuestVariablesFlags = list337; - reference372 = questStep; - questSequence141.Steps = list4; - reference364 = questSequence; - ref QuestSequence reference373 = ref span132[4]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list338 = new List(num2); - CollectionsMarshal.SetCount(list338, num2); - CollectionsMarshal.AsSpan(list338)[0] = new QuestStep(EInteractionType.Interact, 1040436u, new Vector3(-78.26355f, -29.53f, -58.854065f), 956); - obj178.Steps = list338; - reference373 = obj178; - ref QuestSequence reference374 = ref span132[5]; - questSequence = new QuestSequence - { - Sequence = 5 - }; - QuestSequence questSequence142 = questSequence; - num2 = 1; - List list339 = new List(num2); - CollectionsMarshal.SetCount(list339, num2); - CollectionsMarshal.AsSpan(list339)[0] = new QuestStep(EInteractionType.Interact, 2012220u, new Vector3(-74.418274f, -29.58728f, -53.23877f), 956) - { - StopDistance = 5f - }; - questSequence142.Steps = list339; - reference374 = questSequence; - ref QuestSequence reference375 = ref span132[6]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence143 = questSequence; - num2 = 1; - List list340 = new List(num2); - CollectionsMarshal.SetCount(list340, num2); - CollectionsMarshal.AsSpan(list340)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040436u, new Vector3(-78.26355f, -29.53f, -58.854065f), 956) - { - StopDistance = 5f - }; - questSequence143.Steps = list340; - reference375 = questSequence; - questRoot93.QuestSequence = list2; - AddQuest(questId46, questRoot); - QuestId questId47 = new QuestId(4446); - questRoot = new QuestRoot(); - QuestRoot questRoot94 = questRoot; - num = 1; - List list341 = new List(num); - CollectionsMarshal.SetCount(list341, num); - CollectionsMarshal.AsSpan(list341)[0] = "liza"; - questRoot94.Author = list341; - QuestRoot questRoot95 = questRoot; - num = 7; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span143 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference376 = ref span143[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence144 = questSequence; - num2 = 1; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - CollectionsMarshal.AsSpan(list342)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040436u, new Vector3(-78.26355f, -29.53f, -58.854065f), 956) - { - StopDistance = 5f - }; - questSequence144.Steps = list342; - reference376 = questSequence; - ref QuestSequence reference377 = ref span143[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence145 = questSequence; - num2 = 4; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span144 = CollectionsMarshal.AsSpan(list4); - span144[0] = new QuestStep(EInteractionType.AcceptQuest, 1041129u, new Vector3(-23.575256f, -31.53021f, 1.8463135f), 956) - { - PickUpQuestId = new QuestId(4329) - }; - ref QuestStep reference378 = ref span144[1]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1041683u, new Vector3(-29.984009f, -31.53043f, -23.758362f), 956); - QuestStep questStep60 = questStep; - num3 = 1; - List list343 = new List(num3); - CollectionsMarshal.SetCount(list343, num3); - CollectionsMarshal.AsSpan(list343)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "quest/044/AktKzi101_04484", - Prompt = new ExcelRef("TEXT_AKTKZI101_04484_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZI101_04484_A1_000_002") - }; - questStep60.DialogueChoices = list343; - questStep.PickUpQuestId = new QuestId(4484); - reference378 = questStep; - ref QuestStep reference379 = ref span144[2]; - questStep = new QuestStep(EInteractionType.AcceptQuest, 1041313u, new Vector3(89.28052f, -17.530382f, -74.906555f), 956); - QuestStep questStep61 = questStep; - num3 = 1; - List list344 = new List(num3); - CollectionsMarshal.SetCount(list344, num3); - CollectionsMarshal.AsSpan(list344)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "quest/043/AktKzi005_04320", - Prompt = new ExcelRef("TEXT_AKTKZI005_04320_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZI005_04320_A1_000_003") - }; - questStep61.DialogueChoices = list344; - questStep.PickUpQuestId = new QuestId(4320); - reference379 = questStep; - span144[3] = new QuestStep(EInteractionType.Interact, 1040444u, new Vector3(-424.24664f, -31.831255f, -38.895264f), 956); - questSequence145.Steps = list4; - reference377 = questSequence; - ref QuestSequence reference380 = ref span143[2]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list345 = new List(num2); - CollectionsMarshal.SetCount(list345, num2); - CollectionsMarshal.AsSpan(list345)[0] = new QuestStep(EInteractionType.Interact, 2012223u, new Vector3(-427.2984f, -31.418396f, -38.19336f), 956); - obj179.Steps = list345; - reference380 = obj179; - ref QuestSequence reference381 = ref span143[3]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list346 = new List(num2); - CollectionsMarshal.SetCount(list346, num2); - CollectionsMarshal.AsSpan(list346)[0] = new QuestStep(EInteractionType.Interact, 1040446u, new Vector3(-697.4136f, -31.621387f, 164.11072f), 956); - obj180.Steps = list346; - reference381 = obj180; - ref QuestSequence reference382 = ref span143[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence146 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span145 = CollectionsMarshal.AsSpan(list4); - span145[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 956) - { - StopDistance = 6f, - Aetheryte = EAetheryteLocation.LabyrinthosAporia - }; - span145[1] = new QuestStep(EInteractionType.Interact, 1040447u, new Vector3(-710.0176f, -31.53043f, 322.59094f), 956); - questSequence146.Steps = list4; - reference382 = questSequence; - ref QuestSequence reference383 = ref span143[5]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list347 = new List(num2); - CollectionsMarshal.SetCount(list347, num2); - CollectionsMarshal.AsSpan(list347)[0] = new QuestStep(EInteractionType.Interact, 1040450u, new Vector3(-754.4213f, -29.529999f, 389.70007f), 956); - obj181.Steps = list347; - reference383 = obj181; - ref QuestSequence reference384 = ref span143[6]; - QuestSequence obj182 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list348 = new List(num2); - CollectionsMarshal.SetCount(list348, num2); - CollectionsMarshal.AsSpan(list348)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040447u, new Vector3(-710.0176f, -31.53043f, 322.59094f), 956); - obj182.Steps = list348; - reference384 = obj182; - questRoot95.QuestSequence = list2; - AddQuest(questId47, questRoot); - QuestId questId48 = new QuestId(4447); - questRoot = new QuestRoot(); - QuestRoot questRoot96 = questRoot; - num = 1; - List list349 = new List(num); - CollectionsMarshal.SetCount(list349, num); - CollectionsMarshal.AsSpan(list349)[0] = "liza"; - questRoot96.Author = list349; - QuestRoot questRoot97 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span146 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference385 = ref span146[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence147 = questSequence; - num2 = 1; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - CollectionsMarshal.AsSpan(list350)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040451u, new Vector3(-709.28516f, -31.53043f, 321.46167f), 956) - { - StopDistance = 5f - }; - questSequence147.Steps = list350; - reference385 = questSequence; - ref QuestSequence reference386 = ref span146[1]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list351 = new List(num2); - CollectionsMarshal.SetCount(list351, num2); - CollectionsMarshal.AsSpan(list351)[0] = new QuestStep(EInteractionType.Interact, 1040454u, new Vector3(-613.18384f, -19.786552f, 626.8557f), 956); - obj183.Steps = list351; - reference386 = obj183; - ref QuestSequence reference387 = ref span146[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence148 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference388 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj184 = new QuestStep(EInteractionType.Combat, 2012225u, new Vector3(-594.5678f, -26.596497f, 609.09436f), 956) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 3; - List list352 = new List(num3); - CollectionsMarshal.SetCount(list352, num3); - Span span147 = CollectionsMarshal.AsSpan(list352); - span147[0] = 13982u; - span147[1] = 13981u; - span147[2] = 13980u; - obj184.KillEnemyDataIds = list352; - reference388 = obj184; - questSequence148.Steps = list4; - reference387 = questSequence; - ref QuestSequence reference389 = ref span146[3]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list353 = new List(num2); - CollectionsMarshal.SetCount(list353, num2); - CollectionsMarshal.AsSpan(list353)[0] = new QuestStep(EInteractionType.Interact, 2012442u, new Vector3(-594.5678f, -26.596497f, 609.09436f), 956); - obj185.Steps = list353; - reference389 = obj185; - ref QuestSequence reference390 = ref span146[4]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence149 = questSequence; - num2 = 8; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span148 = CollectionsMarshal.AsSpan(list4); - span148[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-601.1813f, -24.48022f, 633.1958f), 956) - { - Mount = true, - Comment = "Avoids aggro + possible navmesh issue" - }; - span148[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-596.4733f, -22.860794f, 666.64417f), 956) - { - Comment = "Avoids aggro + possible navmesh issue" - }; - span148[2] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2011985u, new Vector3(-547.7532f, -18.051514f, 661.86f), 956) - { - AetherCurrentId = 2818316u - }; - span148[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-102.94707f, -29.933468f, 674.6727f), 956); - span148[4] = new QuestStep(EInteractionType.Jump, null, new Vector3(-120.48093f, -21.96263f, 685.2332f), 956) - { - DisableNavmesh = true, - JumpDestination = new JumpDestination - { - Position = new Vector3(-124.55376f, -19.659834f, 686.864f), - StopDistance = 0.5f, - DelaySeconds = 0.25f - } - }; - span148[5] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2011986u, new Vector3(-128.06903f, -20.523438f, 676.7223f), 956) - { - DisableNavmesh = true, - AetherCurrentId = 2818317u - }; - span148[6] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-114.01625f, -30.313616f, 670.05585f), 956) - { - DisableNavmesh = true, - Mount = true - }; - span148[7] = new QuestStep(EInteractionType.CompleteQuest, 1040455u, new Vector3(10.147156f, -30.155546f, 619.62305f), 956); - questSequence149.Steps = list4; - reference390 = questSequence; - questRoot97.QuestSequence = list2; - AddQuest(questId48, questRoot); - QuestId questId49 = new QuestId(4448); - questRoot = new QuestRoot(); - QuestRoot questRoot98 = questRoot; - num = 1; - List list354 = new List(num); - CollectionsMarshal.SetCount(list354, num); - CollectionsMarshal.AsSpan(list354)[0] = "liza"; - questRoot98.Author = list354; - QuestRoot questRoot99 = questRoot; - num = 8; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span149 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference391 = ref span149[0]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list355 = new List(num2); - CollectionsMarshal.SetCount(list355, num2); - CollectionsMarshal.AsSpan(list355)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040455u, new Vector3(10.147156f, -30.155546f, 619.62305f), 956); - obj186.Steps = list355; - reference391 = obj186; - ref QuestSequence reference392 = ref span149[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence150 = questSequence; - num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span150 = CollectionsMarshal.AsSpan(list4); - span150[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(5.4520116f, -28.723352f, -42.992764f), 956) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.LabyrinthosSharlayanHamlet - }; - ref QuestStep reference393 = ref span150[1]; - QuestStep questStep62 = new QuestStep(EInteractionType.Interact, 2012226u, new Vector3(-11.6427f, -31.540405f, -81.28485f), 956); - num3 = 1; - List list356 = new List(num3); - CollectionsMarshal.SetCount(list356, num3); - CollectionsMarshal.AsSpan(list356)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMF110_04448_Q1_000_031") - }; - questStep62.DialogueChoices = list356; - reference393 = questStep62; - questSequence150.Steps = list4; - reference392 = questSequence; - ref QuestSequence reference394 = ref span149[2]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list357 = new List(num2); - CollectionsMarshal.SetCount(list357, num2); - CollectionsMarshal.AsSpan(list357)[0] = new QuestStep(EInteractionType.Interact, 1040457u, new Vector3(36.51477f, -16.246998f, 129.47266f), 962); - obj187.Steps = list357; - reference394 = obj187; - ref QuestSequence reference395 = ref span149[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence151 = questSequence; - num2 = 1; - List list358 = new List(num2); - CollectionsMarshal.SetCount(list358, num2); - CollectionsMarshal.AsSpan(list358)[0] = new QuestStep(EInteractionType.Interact, 1040466u, new Vector3(-702.4186f, -31.53043f, 301.93018f), 956) - { - AetheryteShortcut = EAetheryteLocation.LabyrinthosAporia - }; - questSequence151.Steps = list358; - reference395 = questSequence; - ref QuestSequence reference396 = ref span149[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence152 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference397 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep questStep63 = new QuestStep(EInteractionType.Interact, 1040467u, new Vector3(-620.63025f, -27.670597f, 302.17432f), 956); - num3 = 1; - List list359 = new List(num3); - CollectionsMarshal.SetCount(list359, num3); - CollectionsMarshal.AsSpan(list359)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMF110_04448_Q2_000_111") - }; - questStep63.DialogueChoices = list359; - reference397 = questStep63; - questSequence152.Steps = list4; - reference396 = questSequence; - ref QuestSequence reference398 = ref span149[5]; - questSequence = new QuestSequence - { - Sequence = 5 - }; - QuestSequence questSequence153 = questSequence; - num2 = 1; - List list360 = new List(num2); - CollectionsMarshal.SetCount(list360, num2); - CollectionsMarshal.AsSpan(list360)[0] = new QuestStep(EInteractionType.Interact, 1040468u, new Vector3(-598.32153f, -191.11913f, 301.71655f), 956) - { - StopDistance = 7f - }; - questSequence153.Steps = list360; - reference398 = questSequence; - ref QuestSequence reference399 = ref span149[6]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list361 = new List(num2); - CollectionsMarshal.SetCount(list361, num2); - CollectionsMarshal.AsSpan(list361)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-413.49243f, -220.16248f, 301.63266f), 956) - { - RestartNavigationIfCancelled = false - }; - obj188.Steps = list361; - reference399 = obj188; - ref QuestSequence reference400 = ref span149[7]; - QuestSequence obj189 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list362 = new List(num2); - CollectionsMarshal.SetCount(list362, num2); - CollectionsMarshal.AsSpan(list362)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040478u, new Vector3(-406.9734f, -220.18355f, 304.1886f), 956); - obj189.Steps = list362; - reference400 = obj189; - questRoot99.QuestSequence = list2; - AddQuest(questId49, questRoot); - QuestId questId50 = new QuestId(4449); - questRoot = new QuestRoot(); - QuestRoot questRoot100 = questRoot; - num = 1; - List list363 = new List(num); - CollectionsMarshal.SetCount(list363, num); - CollectionsMarshal.AsSpan(list363)[0] = "liza"; - questRoot100.Author = list363; - QuestRoot questRoot101 = questRoot; - num = 8; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span151 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference401 = ref span151[0]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list364 = new List(num2); - CollectionsMarshal.SetCount(list364, num2); - CollectionsMarshal.AsSpan(list364)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040478u, new Vector3(-406.9734f, -220.18355f, 304.1886f), 956); - obj190.Steps = list364; - reference401 = obj190; - ref QuestSequence reference402 = ref span151[1]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list365 = new List(num2); - CollectionsMarshal.SetCount(list365, num2); - CollectionsMarshal.AsSpan(list365)[0] = new QuestStep(EInteractionType.Interact, 1040487u, new Vector3(-234.6991f, -224.38274f, 349.01953f), 956); - obj191.Steps = list365; - reference402 = obj191; - ref QuestSequence reference403 = ref span151[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence154 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference404 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep questStep64 = new QuestStep(EInteractionType.Duty, null, null, 956); - DutyOptions obj192 = new DutyOptions - { - ContentFinderConditionId = 786u - }; - num3 = 1; - List list366 = new List(num3); - CollectionsMarshal.SetCount(list366, num3); - CollectionsMarshal.AsSpan(list366)[0] = "No VBM module"; - obj192.Notes = list366; - questStep64.DutyOptions = obj192; - reference404 = questStep64; - questSequence154.Steps = list4; - reference403 = questSequence; - span151[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference405 = ref span151[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence155 = questSequence; - num2 = 1; - List list367 = new List(num2); - CollectionsMarshal.SetCount(list367, num2); - CollectionsMarshal.AsSpan(list367)[0] = new QuestStep(EInteractionType.Duty, null, null, 1030) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 790u - } - }; - questSequence155.Steps = list367; - reference405 = questSequence; - span151[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference406 = ref span151[6]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list368 = new List(num2); - CollectionsMarshal.SetCount(list368, num2); - CollectionsMarshal.AsSpan(list368)[0] = new QuestStep(EInteractionType.Interact, 1040503u, new Vector3(-221.4237f, -224.3827f, 364.40063f), 956); - obj193.Steps = list368; - reference406 = obj193; - ref QuestSequence reference407 = ref span151[7]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence156 = questSequence; - num2 = 1; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference408 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj194 = new QuestStep(EInteractionType.CompleteQuest, 1038588u, new Vector3(-101.76245f, 4.357494f, 0.7476196f), 962) - { - StopDistance = 5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanRostra, - To = EAetheryteLocation.OldSharlayanBaldesionAnnex - } - }; - num3 = 1; - List list369 = new List(num3); - CollectionsMarshal.SetCount(list369, num3); - CollectionsMarshal.AsSpan(list369)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMF111_04449_Q4_000_344") - }; - obj194.DialogueChoices = list369; - reference408 = obj194; - questSequence156.Steps = list4; - reference407 = questSequence; - questRoot101.QuestSequence = list2; - AddQuest(questId50, questRoot); - } - - private static void LoadQuests89() - { - QuestId questId = new QuestId(4450); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 6; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040276u, new Vector3(-99.076904f, 3.9334679f, 1.3884888f), 962) - { - StopDistance = 7f - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1039793u, new Vector3(3.3111572f, 40.2f, -231.64728f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanBaldesionAnnex, - To = EAetheryteLocation.OldSharlayanRostra - } - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1039804u, new Vector3(-0.16790771f, 41.37599f, -146.65448f), 962); - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Interact, 1039818u, new Vector3(29.861816f, 5.1499996f, -65.445984f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanRostra, - To = EAetheryteLocation.OldSharlayan - } - }; - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - ref QuestStep reference6 = ref CollectionsMarshal.AsSpan(list7)[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2012347u, new Vector3(31.143677f, 5.081238f, -62.485718f), 962); - int num3 = 6; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - Span span2 = CollectionsMarshal.AsSpan(list8); - span2[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMG101_04450_Q2_000_221") - }; - span2[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMG101_04450_Q3_000_240"), - Answer = new ExcelRef("TEXT_AKTKMG101_04450_A3_000_241") - }; - span2[2] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMG101_04450_Q4_000_256"), - Answer = new ExcelRef("TEXT_AKTKMG101_04450_A4_000_258") - }; - span2[3] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMG101_04450_Q5_000_276"), - Answer = new ExcelRef("TEXT_AKTKMG101_04450_A5_000_278") - }; - span2[4] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMG101_04450_Q6_000_298"), - Answer = new ExcelRef("TEXT_AKTKMG101_04450_A6_000_300") - }; - span2[5] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMG101_04450_Q7_000_305"), - Answer = new ExcelRef("TEXT_AKTKMG101_04450_A7_000_307") - }; - questStep.DialogueChoices = list8; - reference6 = questStep; - obj5.Steps = list7; - reference5 = obj5; - ref QuestSequence reference7 = ref span[5]; - QuestSequence obj6 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037047u, new Vector3(26.718506f, 5.1499996f, -65.87323f), 962) - { - StopDistance = 5f - }; - obj6.Steps = list9; - reference7 = obj6; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(4451); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - CollectionsMarshal.AsSpan(list10)[0] = "liza"; - questRoot2.Author = list10; - num = 6; - List list11 = new List(num); - CollectionsMarshal.SetCount(list11, num); - Span span3 = CollectionsMarshal.AsSpan(list11); - ref QuestSequence reference8 = ref span3[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039818u, new Vector3(29.861816f, 5.1499996f, -65.445984f), 962); - obj7.Steps = list12; - reference8 = obj7; - ref QuestSequence reference9 = ref span3[1]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.Interact, 1040276u, new Vector3(-99.076904f, 3.9334679f, 1.3884888f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanBaldesionAnnex - } - }; - obj8.Steps = list13; - reference9 = obj8; - ref QuestSequence reference10 = ref span3[2]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.Interact, 1039820u, new Vector3(-87.02222f, -13.777f, 147.29529f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanBaldesionAnnex, - To = EAetheryteLocation.OldSharlayanScholarsHarbor - } - }; - obj9.Steps = list14; - reference10 = obj9; - ref QuestSequence reference11 = ref span3[3]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.Interact, 1039821u, new Vector3(-86.96118f, -13.777f, 149.70618f), 962) - { - StopDistance = 5f - }; - obj10.Steps = list15; - reference11 = obj10; - ref QuestSequence reference12 = ref span3[4]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - Span span4 = CollectionsMarshal.AsSpan(list16); - span4[0] = new QuestStep(EInteractionType.Interact, 1039823u, new Vector3(-282.09363f, 19.003872f, 20.248657f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanScholarsHarbor, - To = EAetheryteLocation.OldSharlayanStudium - } - }; - span4[1] = new QuestStep(EInteractionType.Interact, 1039825u, new Vector3(223.46838f, 24.898844f, -149.58423f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanStudium, - To = EAetheryteLocation.OldSharlayanLeveilleurEstate - } - }; - obj11.Steps = list16; - reference12 = obj11; - ref QuestSequence reference13 = ref span3[5]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - ref QuestStep reference14 = ref CollectionsMarshal.AsSpan(list17)[0]; - QuestStep obj13 = new QuestStep(EInteractionType.CompleteQuest, 1038588u, new Vector3(-101.76245f, 4.357494f, 0.7476196f), 962) - { - StopDistance = 5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanLeveilleurEstate, - To = EAetheryteLocation.OldSharlayanBaldesionAnnex - } - }; - num3 = 1; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - CollectionsMarshal.AsSpan(list18)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMG102_04451_Q1_000_143") - }; - obj13.DialogueChoices = list18; - reference14 = obj13; - obj12.Steps = list17; - reference13 = obj12; - questRoot2.QuestSequence = list11; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(4452); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - CollectionsMarshal.AsSpan(list19)[0] = "liza"; - questRoot3.Author = list19; - num = 4; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - Span span5 = CollectionsMarshal.AsSpan(list20); - ref QuestSequence reference15 = ref span5[0]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038588u, new Vector3(-101.76245f, 4.357494f, 0.7476196f), 962) - { - StopDistance = 5f - }; - obj14.Steps = list21; - reference15 = obj14; - ref QuestSequence reference16 = ref span5[1]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - Span span6 = CollectionsMarshal.AsSpan(list22); - span6[0] = new QuestStep(EInteractionType.Interact, 1039550u, new Vector3(-620.7218f, -27.670597f, 302.17432f), 956) - { - TargetTerritoryId = (ushort)956, - AetheryteShortcut = EAetheryteLocation.LabyrinthosAporia, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span6[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-431.53903f, -220.1193f, 301.76364f), 956) - { - Fly = true - }; - span6[2] = new QuestStep(EInteractionType.Interact, 1039827u, new Vector3(-323.38446f, -224.2727f, 301.56396f), 956) - { - Fly = false - }; - obj15.Steps = list22; - reference16 = obj15; - ref QuestSequence reference17 = ref span5[2]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - ref QuestStep reference18 = ref CollectionsMarshal.AsSpan(list23)[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1039847u, new Vector3(-334.92035f, -224.19772f, 311.9402f), 956); - num3 = 1; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - CollectionsMarshal.AsSpan(list24)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMG103_04452_Q1_000_183") - }; - questStep2.DialogueChoices = list24; - reference18 = questStep2; - obj16.Steps = list23; - reference17 = obj16; - ref QuestSequence reference19 = ref span5[3]; - QuestSequence obj17 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039852u, new Vector3(-376.1197f, 80.7959f, 607.6904f), 960) - { - StopDistance = 5f - }; - obj17.Steps = list25; - reference19 = obj17; - questRoot3.QuestSequence = list20; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(4453); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - CollectionsMarshal.AsSpan(list26)[0] = "liza"; - questRoot4.Author = list26; - num = 6; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - Span span7 = CollectionsMarshal.AsSpan(list27); - ref QuestSequence reference20 = ref span7[0]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039853u, new Vector3(-377.7066f, 80.86001f, 606.53076f), 960) - { - StopDistance = 7f - }; - obj18.Steps = list28; - reference20 = obj18; - ref QuestSequence reference21 = ref span7[1]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.Interact, 1039860u, new Vector3(-31.11322f, 60.569f, 551.0491f), 960); - obj19.Steps = list29; - reference21 = obj19; - ref QuestSequence reference22 = ref span7[2]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - Span span8 = CollectionsMarshal.AsSpan(list30); - ref QuestStep reference23 = ref span8[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2012351u, new Vector3(-11.490112f, 61.905884f, 533.6842f), 960); - num3 = 6; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - Span span9 = CollectionsMarshal.AsSpan(list31); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list31; - reference23 = questStep3; - ref QuestStep reference24 = ref span8[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1040292u, new Vector3(6.5460815f, 60.71497f, 554.4059f), 960); - num3 = 6; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - Span span10 = CollectionsMarshal.AsSpan(list32); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list32; - reference24 = questStep4; - ref QuestStep reference25 = ref span8[2]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1040293u, new Vector3(56.77881f, 99.37216f, 665.5221f), 960); - num3 = 6; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - Span span11 = CollectionsMarshal.AsSpan(list33); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list33; - reference25 = questStep5; - obj20.Steps = list30; - reference22 = obj20; - ref QuestSequence reference26 = ref span7[3]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.Interact, 1039860u, new Vector3(-31.11322f, 60.569f, 551.0491f), 960); - obj21.Steps = list34; - reference26 = obj21; - ref QuestSequence reference27 = ref span7[4]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.Interact, 1040294u, new Vector3(-373.00684f, 90.107704f, 460.99023f), 960); - obj22.Steps = list35; - reference27 = obj22; - ref QuestSequence reference28 = ref span7[5]; - QuestSequence obj23 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039769u, new Vector3(-482.9328f, 73.09421f, 310.9331f), 960); - obj23.Steps = list36; - reference28 = obj23; - questRoot4.QuestSequence = list27; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(4454); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - CollectionsMarshal.AsSpan(list37)[0] = "liza"; - questRoot5.Author = list37; - num = 7; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - Span span12 = CollectionsMarshal.AsSpan(list38); - ref QuestSequence reference29 = ref span12[0]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039772u, new Vector3(-476.2188f, 73.47535f, 309.86487f), 960) - { - StopDistance = 7f - }; - obj24.Steps = list39; - reference29 = obj24; - ref QuestSequence reference30 = ref span12[1]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - Span span13 = CollectionsMarshal.AsSpan(list40); - ref QuestStep reference31 = ref span13[0]; - QuestStep obj26 = new QuestStep(EInteractionType.Interact, 1038010u, new Vector3(-517.9065f, 72.5362f, 332.23462f), 960) - { - StopDistance = 8f - }; - num3 = 6; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - Span span14 = CollectionsMarshal.AsSpan(list41); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj26.CompletionQuestVariablesFlags = list41; - reference31 = obj26; - ref QuestStep reference32 = ref span13[1]; - QuestStep obj27 = new QuestStep(EInteractionType.Interact, 1038008u, new Vector3(-603.9369f, 78.6382f, 303.8529f), 960) - { - StopDistance = 8f - }; - num3 = 6; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - Span span15 = CollectionsMarshal.AsSpan(list42); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj27.CompletionQuestVariablesFlags = list42; - reference32 = obj27; - span13[2] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 960) - { - StopDistance = 10f, - Aetheryte = EAetheryteLocation.UltimaThuleReahTahra - }; - ref QuestStep reference33 = ref span13[3]; - QuestStep obj28 = new QuestStep(EInteractionType.Interact, 1038006u, new Vector3(-490.6844f, 88.871994f, 207.35486f), 960) - { - StopDistance = 8f - }; - num3 = 6; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - Span span16 = CollectionsMarshal.AsSpan(list43); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj28.CompletionQuestVariablesFlags = list43; - reference33 = obj28; - obj25.Steps = list40; - reference30 = obj25; - ref QuestSequence reference34 = ref span12[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.Interact, 1039775u, new Vector3(-469.3523f, 55.880516f, -36.66742f), 960); - obj29.Steps = list44; - reference34 = obj29; - ref QuestSequence reference35 = ref span12[3]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - Span span17 = CollectionsMarshal.AsSpan(list45); - ref QuestStep reference36 = ref span17[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2012283u, new Vector3(-465.1103f, 56.47351f, -30.71643f), 960); - num3 = 6; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - Span span18 = CollectionsMarshal.AsSpan(list46); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list46; - reference36 = questStep6; - ref QuestStep reference37 = ref span17[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2012281u, new Vector3(-472.25153f, 56.26001f, -20.676025f), 960); - num3 = 6; - List list47 = new List(num3); - CollectionsMarshal.SetCount(list47, num3); - Span span19 = CollectionsMarshal.AsSpan(list47); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list47; - reference37 = questStep7; - ref QuestStep reference38 = ref span17[2]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2012282u, new Vector3(-479.3927f, 56.290405f, -33.676758f), 960); - num3 = 6; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - Span span20 = CollectionsMarshal.AsSpan(list48); - span20[0] = null; - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list48; - reference38 = questStep8; - obj30.Steps = list45; - reference35 = obj30; - ref QuestSequence reference39 = ref span12[4]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.Interact, 2012284u, new Vector3(-474.32672f, 56.198975f, -41.031555f), 960); - obj31.Steps = list49; - reference39 = obj31; - ref QuestSequence reference40 = ref span12[5]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - ref QuestStep reference41 = ref CollectionsMarshal.AsSpan(list50)[0]; - QuestStep obj33 = new QuestStep(EInteractionType.Combat, 1039776u, new Vector3(-572.2896f, 64.78333f, -200.3357f), 960) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list51 = new List(num3); - CollectionsMarshal.SetCount(list51, num3); - CollectionsMarshal.AsSpan(list51)[0] = 14002u; - obj33.KillEnemyDataIds = list51; - reference41 = obj33; - obj32.Steps = list50; - reference40 = obj32; - ref QuestSequence reference42 = ref span12[6]; - QuestSequence obj34 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039776u, new Vector3(-572.2896f, 64.78333f, -200.3357f), 960) - { - StopDistance = 8f - }; - obj34.Steps = list52; - reference42 = obj34; - questRoot5.QuestSequence = list38; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(4455); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - CollectionsMarshal.AsSpan(list53)[0] = "liza"; - questRoot6.Author = list53; - num = 5; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - Span span21 = CollectionsMarshal.AsSpan(list54); - ref QuestSequence reference43 = ref span21[0]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041214u, new Vector3(-575.00574f, 65.25543f, -190.02063f), 960); - obj35.Steps = list55; - reference43 = obj35; - ref QuestSequence reference44 = ref span21[1]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.Interact, 1040295u, new Vector3(-504.0513f, 73.32458f, 273.9757f), 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra - }; - obj36.Steps = list56; - reference44 = obj36; - ref QuestSequence reference45 = ref span21[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.Interact, 1040306u, new Vector3(-772.3049f, 59.814697f, 55.954834f), 960) - { - StopDistance = 8f - }; - obj37.Steps = list57; - reference45 = obj37; - ref QuestSequence reference46 = ref span21[3]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.Interact, 1040301u, new Vector3(-620.44714f, 92.1207f, -203.35706f), 960); - obj38.Steps = list58; - reference46 = obj38; - ref QuestSequence reference47 = ref span21[4]; - QuestSequence obj39 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - Span span22 = CollectionsMarshal.AsSpan(list59); - span22[0] = new QuestStep(EInteractionType.Interact, 2012544u, new Vector3(-608.7807f, 92.12769f, -208f), 960); - span22[1] = new QuestStep(EInteractionType.CompleteQuest, 2012429u, new Vector3(-471.27496f, 232.19641f, -253.10144f), 960) - { - StopDistance = 5f, - Mount = false - }; - obj39.Steps = list59; - reference47 = obj39; - questRoot6.QuestSequence = list54; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(4456); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - CollectionsMarshal.AsSpan(list60)[0] = "liza"; - questRoot7.Author = list60; - num = 7; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - Span span23 = CollectionsMarshal.AsSpan(list61); - ref QuestSequence reference48 = ref span23[0]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040307u, new Vector3(-469.29126f, 232.2548f, -252.8573f), 960) - { - StopDistance = 5f - }; - obj40.Steps = list62; - reference48 = obj40; - ref QuestSequence reference49 = ref span23[1]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.Interact, 1040315u, new Vector3(-345.87628f, 254.66968f, -277.27173f), 960); - obj41.Steps = list63; - reference49 = obj41; - ref QuestSequence reference50 = ref span23[2]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.Interact, 1040313u, new Vector3(-339.10126f, 255.53401f, -281.75793f), 960); - obj42.Steps = list64; - reference50 = obj42; - ref QuestSequence reference51 = ref span23[3]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - Span span24 = CollectionsMarshal.AsSpan(list65); - span24[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-308.91977f, 262.7334f, -332.3608f), 960); - span24[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2012030u, new Vector3(-333.547f, 270.83228f, -361.50153f), 960) - { - AetherCurrentId = 2818389u - }; - span24[2] = new QuestStep(EInteractionType.Interact, 1040317u, new Vector3(-200.57983f, 268.01642f, -312.58112f), 960); - obj43.Steps = list65; - reference51 = obj43; - ref QuestSequence reference52 = ref span23[4]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.Interact, 1040318u, new Vector3(29.984009f, 270.45825f, -535.0271f), 960); - obj44.Steps = list66; - reference52 = obj44; - ref QuestSequence reference53 = ref span23[5]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 5 - }; - num2 = 6; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - Span span25 = CollectionsMarshal.AsSpan(list67); - ref QuestStep reference54 = ref span25[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(37.10138f, 269.016f, -591.87366f), 960); - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list68 = new List(num3); - CollectionsMarshal.SetCount(list68, num3); - Span span26 = CollectionsMarshal.AsSpan(list68); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list68; - skipConditions.StepIf = skipStepConditions; - questStep9.SkipConditions = skipConditions; - reference54 = questStep9; - ref QuestStep reference55 = ref span25[1]; - QuestStep obj46 = new QuestStep(EInteractionType.Interact, 2012354u, new Vector3(30.777344f, 272.51086f, -600.7019f), 960) - { - StopDistance = 4f, - DisableNavmesh = true - }; - num3 = 6; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - Span span27 = CollectionsMarshal.AsSpan(list69); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj46.CompletionQuestVariablesFlags = list69; - reference55 = obj46; - ref QuestStep reference56 = ref span25[2]; - QuestStep obj47 = new QuestStep(EInteractionType.Interact, 2012355u, new Vector3(64.10315f, 272.4497f, -616.4492f), 960) - { - StopDistance = 4f - }; - num3 = 6; - List list70 = new List(num3); - CollectionsMarshal.SetCount(list70, num3); - Span span28 = CollectionsMarshal.AsSpan(list70); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj47.CompletionQuestVariablesFlags = list70; - reference56 = obj47; - span25[3] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 960) - { - StopDistance = 8f, - Aetheryte = EAetheryteLocation.UltimaThuleAbodeOfTheEa - }; - ref QuestStep reference57 = ref span25[4]; - QuestStep obj48 = new QuestStep(EInteractionType.Interact, 2012356u, new Vector3(115.526f, 272.99915f, -617.853f), 960) - { - StopDistance = 4f - }; - num3 = 6; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - Span span29 = CollectionsMarshal.AsSpan(list71); - span29[0] = null; - span29[1] = null; - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj48.CompletionQuestVariablesFlags = list71; - reference57 = obj48; - ref QuestStep reference58 = ref span25[5]; - QuestStep obj49 = new QuestStep(EInteractionType.Interact, 2012357u, new Vector3(151.59839f, 272.9381f, -592.5841f), 960) - { - StopDistance = 4f - }; - num3 = 6; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - Span span30 = CollectionsMarshal.AsSpan(list72); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj49.CompletionQuestVariablesFlags = list72; - reference58 = obj49; - obj45.Steps = list67; - reference53 = obj45; - ref QuestSequence reference59 = ref span23[6]; - QuestSequence obj50 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040318u, new Vector3(29.984009f, 270.45825f, -535.0271f), 960); - obj50.Steps = list73; - reference59 = obj50; - questRoot7.QuestSequence = list61; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(4457); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - CollectionsMarshal.AsSpan(list74)[0] = "liza"; - questRoot8.Author = list74; - num = 5; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - Span span31 = CollectionsMarshal.AsSpan(list75); - ref QuestSequence reference60 = ref span31[0]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040318u, new Vector3(29.984009f, 270.45825f, -535.0271f), 960); - obj51.Steps = list76; - reference60 = obj51; - ref QuestSequence reference61 = ref span31[1]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Interact, 1040329u, new Vector3(75.69995f, 268.99997f, -528.3436f), 960); - obj52.Steps = list77; - reference61 = obj52; - ref QuestSequence reference62 = ref span31[2]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.Interact, 2012358u, new Vector3(84.97742f, 269.06226f, -493.00375f), 960); - obj53.Steps = list78; - reference62 = obj53; - ref QuestSequence reference63 = ref span31[3]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.Interact, 2012358u, new Vector3(84.97742f, 269.06226f, -493.00375f), 960); - obj54.Steps = list79; - reference63 = obj54; - ref QuestSequence reference64 = ref span31[4]; - QuestSequence obj55 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039759u, new Vector3(86.778076f, 269.0949f, -491.66098f), 960) - { - StopDistance = 7f - }; - obj55.Steps = list80; - reference64 = obj55; - questRoot8.QuestSequence = list75; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(4458); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - CollectionsMarshal.AsSpan(list81)[0] = "liza"; - questRoot9.Author = list81; - num = 4; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - Span span32 = CollectionsMarshal.AsSpan(list82); - ref QuestSequence reference65 = ref span32[0]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039760u, new Vector3(82.65808f, 269.0903f, -490.44025f), 960) - { - StopDistance = 7f - }; - obj56.Steps = list83; - reference65 = obj56; - ref QuestSequence reference66 = ref span32[1]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.Interact, 1040338u, new Vector3(-344.44196f, 263.13083f, -463.70648f), 960); - obj57.Steps = list84; - reference66 = obj57; - ref QuestSequence reference67 = ref span32[2]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.Interact, 1040339u, new Vector3(-341.78687f, 263.37482f, -461.44812f), 960); - obj58.Steps = list85; - reference67 = obj58; - ref QuestSequence reference68 = ref span32[3]; - QuestSequence obj59 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - Span span33 = CollectionsMarshal.AsSpan(list86); - span33[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(48.215565f, 269.00882f, -703.63995f), 960) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleAbodeOfTheEa - }; - span33[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2012031u, new Vector3(13.107483f, 275.56262f, -756.40497f), 960) - { - DisableNavmesh = true, - AetherCurrentId = 2818390u - }; - span33[2] = new QuestStep(EInteractionType.CompleteQuest, 1039778u, new Vector3(184.03906f, 269.03912f, -637.6288f), 960); - obj59.Steps = list86; - reference68 = obj59; - questRoot9.QuestSequence = list82; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(4459); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - CollectionsMarshal.AsSpan(list87)[0] = "liza"; - questRoot10.Author = list87; - num = 10; - List list88 = new List(num); - CollectionsMarshal.SetCount(list88, num); - Span span34 = CollectionsMarshal.AsSpan(list88); - ref QuestSequence reference69 = ref span34[0]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039782u, new Vector3(183.12354f, 269.0203f, -633.5393f), 960) - { - StopDistance = 6f - }; - obj60.Steps = list89; - reference69 = obj60; - ref QuestSequence reference70 = ref span34[1]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - Span span35 = CollectionsMarshal.AsSpan(list90); - span35[0] = new QuestStep(EInteractionType.AcceptQuest, 1040876u, new Vector3(49.42395f, 269.25684f, -523.2472f), 960) - { - PickUpQuestId = new QuestId(4342) - }; - span35[1] = new QuestStep(EInteractionType.AcceptQuest, 1038016u, new Vector3(105.42456f, 269.29584f, -454.3069f), 960) - { - PickUpQuestId = new QuestId(4346) - }; - span35[2] = new QuestStep(EInteractionType.Interact, 1039787u, new Vector3(434.37854f, 284.02585f, -328.51147f), 960); - obj61.Steps = list90; - reference70 = obj61; - ref QuestSequence reference71 = ref span34[2]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - Span span36 = CollectionsMarshal.AsSpan(list91); - ref QuestStep reference72 = ref span36[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 2012794u, new Vector3(440.7262f, 285.29785f, -319.50867f), 960); - num3 = 1; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - CollectionsMarshal.AsSpan(list92)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMG110_04459_Q1_000_041") - }; - questStep10.DialogueChoices = list92; - reference72 = questStep10; - ref QuestStep reference73 = ref span36[1]; - QuestStep obj63 = new QuestStep(EInteractionType.Combat, 2012286u, new Vector3(506.98096f, 439.68872f, 157f), 960) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - Span span37 = CollectionsMarshal.AsSpan(list93); - span37[0] = 14000u; - span37[1] = 14001u; - obj63.KillEnemyDataIds = list93; - reference73 = obj63; - obj62.Steps = list91; - reference71 = obj62; - ref QuestSequence reference74 = ref span34[3]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Interact, 2012287u, new Vector3(506.98096f, 439.68872f, 157f), 960); - obj64.Steps = list94; - reference74 = obj64; - ref QuestSequence reference75 = ref span34[4]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.Interact, 1039790u, new Vector3(508.53735f, 439.695f, 155.59619f), 960) - { - StopDistance = 5f - }; - obj65.Steps = list95; - reference75 = obj65; - ref QuestSequence reference76 = ref span34[5]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.Interact, 2012288u, new Vector3(493.33936f, 439.68872f, 174.9447f), 960); - obj66.Steps = list96; - reference76 = obj66; - ref QuestSequence reference77 = ref span34[6]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - ref QuestStep reference78 = ref CollectionsMarshal.AsSpan(list97)[0]; - QuestStep obj68 = new QuestStep(EInteractionType.Combat, 2012289u, new Vector3(490.44006f, 439.68872f, 191.30237f), 960) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - CollectionsMarshal.AsSpan(list98)[0] = 13999u; - obj68.KillEnemyDataIds = list98; - reference78 = obj68; - obj67.Steps = list97; - reference77 = obj67; - ref QuestSequence reference79 = ref span34[7]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - Span span38 = CollectionsMarshal.AsSpan(list99); - span38[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2012033u, new Vector3(539.26904f, 437.9796f, 239.39868f), 960) - { - AetherCurrentId = 2818392u - }; - span38[1] = new QuestStep(EInteractionType.Interact, 1039791u, new Vector3(502.98303f, 436.99966f, 308.97986f), 960); - obj69.Steps = list99; - reference79 = obj69; - ref QuestSequence reference80 = ref span34[8]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 8 - }; - num2 = 3; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - Span span39 = CollectionsMarshal.AsSpan(list100); - ref QuestStep reference81 = ref span39[0]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1038039u, new Vector3(521.9348f, 436.99805f, 329.76257f), 960); - num3 = 6; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - Span span40 = CollectionsMarshal.AsSpan(list101); - span40[0] = null; - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list101; - reference81 = questStep11; - ref QuestStep reference82 = ref span39[1]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1038041u, new Vector3(517.54016f, 436.99878f, 345.44885f), 960); - num3 = 6; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - Span span41 = CollectionsMarshal.AsSpan(list102); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list102; - reference82 = questStep12; - ref QuestStep reference83 = ref span39[2]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1038045u, new Vector3(504.6615f, 437.1449f, 347.64624f), 960); - num3 = 6; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - Span span42 = CollectionsMarshal.AsSpan(list103); - span42[0] = null; - span42[1] = null; - span42[2] = null; - span42[3] = null; - span42[4] = null; - span42[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list103; - reference83 = questStep13; - obj70.Steps = list100; - reference80 = obj70; - ref QuestSequence reference84 = ref span34[9]; - QuestSequence obj71 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - Span span43 = CollectionsMarshal.AsSpan(list104); - span43[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 960) - { - StopDistance = 5f, - Aetheryte = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span43[1] = new QuestStep(EInteractionType.CompleteQuest, 1039791u, new Vector3(502.98303f, 436.99966f, 308.97986f), 960); - obj71.Steps = list104; - reference84 = obj71; - questRoot10.QuestSequence = list88; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(4460); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list105 = new List(num); - CollectionsMarshal.SetCount(list105, num); - CollectionsMarshal.AsSpan(list105)[0] = "liza"; - questRoot11.Author = list105; - num = 7; - List list106 = new List(num); - CollectionsMarshal.SetCount(list106, num); - Span span44 = CollectionsMarshal.AsSpan(list106); - ref QuestSequence reference85 = ref span44[0]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.AcceptQuest, 1040340u, new Vector3(544.51807f, 437.9998f, 301.4419f), 960) - { - StopDistance = 5f - }; - obj72.Steps = list107; - reference85 = obj72; - ref QuestSequence reference86 = ref span44[1]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - Span span45 = CollectionsMarshal.AsSpan(list108); - span45[0] = new QuestStep(EInteractionType.AcceptQuest, 1041656u, new Vector3(510.3075f, 436.9997f, 307.17932f), 960) - { - PickUpQuestId = new QuestId(4355) - }; - ref QuestStep reference87 = ref span45[1]; - QuestStep questStep14 = new QuestStep(EInteractionType.AcceptQuest, 1038043u, new Vector3(470.4203f, 437.00183f, 315.81592f), 960); - num3 = 1; - List list109 = new List(num3); - CollectionsMarshal.SetCount(list109, num3); - CollectionsMarshal.AsSpan(list109)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "quest/043/AktKzk001_04354", - Prompt = new ExcelRef("TEXT_AKTKZK001_04354_Q1_000_100"), - Answer = new ExcelRef("TEXT_AKTKZK001_04354_A2_000_100") - }; - questStep14.DialogueChoices = list109; - questStep14.PickUpQuestId = new QuestId(4354); - reference87 = questStep14; - span45[2] = new QuestStep(EInteractionType.Interact, 1040343u, new Vector3(624.3839f, 441.9763f, 437.33875f), 960); - obj73.Steps = list108; - reference86 = obj73; - ref QuestSequence reference88 = ref span44[2]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.Interact, 2012359u, new Vector3(623.3462f, 442.95398f, 441.00085f), 960); - obj74.Steps = list110; - reference88 = obj74; - ref QuestSequence reference89 = ref span44[3]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.Interact, 1040344u, new Vector3(624.99414f, 441.9763f, 439.9939f), 960); - obj75.Steps = list111; - reference89 = obj75; - ref QuestSequence reference90 = ref span44[4]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.Snipe, 2012360u, new Vector3(525.13916f, 441.03137f, 375.50916f), 960) - { - Comment = "Find Errant Omicron" - }; - obj76.Steps = list112; - reference90 = obj76; - ref QuestSequence reference91 = ref span44[5]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.Interact, 1040349u, new Vector3(636.92664f, 438.64966f, 248.0658f), 960); - obj77.Steps = list113; - reference91 = obj77; - ref QuestSequence reference92 = ref span44[6]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - Span span46 = CollectionsMarshal.AsSpan(list114); - ref QuestStep reference93 = ref span46[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 2012796u, new Vector3(639.27673f, 439.78027f, 241.77905f), 960); - num3 = 1; - List list115 = new List(num3); - CollectionsMarshal.SetCount(list115, num3); - CollectionsMarshal.AsSpan(list115)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMG111_04460_Q1_000_135") - }; - questStep15.DialogueChoices = list115; - reference93 = questStep15; - span46[1] = new QuestStep(EInteractionType.CompleteQuest, 1041157u, new Vector3(801.63257f, 478.9742f, 196.79553f), 960); - obj78.Steps = list114; - reference92 = obj78; - questRoot11.QuestSequence = list106; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(4461); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - CollectionsMarshal.AsSpan(list116)[0] = "liza"; - questRoot12.Author = list116; - num = 5; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - Span span47 = CollectionsMarshal.AsSpan(list117); - ref QuestSequence reference94 = ref span47[0]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041158u, new Vector3(799.9846f, 479.0242f, 199.42017f), 960); - obj79.Steps = list118; - reference94 = obj79; - ref QuestSequence reference95 = ref span47[1]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.Interact, 1040342u, new Vector3(546.07446f, 437.9998f, 303.8529f), 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - obj80.Steps = list119; - reference95 = obj80; - ref QuestSequence reference96 = ref span47[2]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.Snipe, 1039565u, new Vector3(609.4606f, 440.4633f, 398.42822f), 960) - { - Comment = "Identify Anomaly (Head, Elbow or Knee)" - }; - obj81.Steps = list120; - reference96 = obj81; - ref QuestSequence reference97 = ref span47[3]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.Interact, 1041159u, new Vector3(624.0176f, 441.9763f, 439.78027f), 960); - obj82.Steps = list121; - reference97 = obj82; - ref QuestSequence reference98 = ref span47[4]; - QuestSequence obj83 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041162u, new Vector3(623.5598f, 441.9763f, 436.78955f), 960); - obj83.Steps = list122; - reference98 = obj83; - questRoot12.QuestSequence = list117; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(4462); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - CollectionsMarshal.AsSpan(list123)[0] = "liza"; - questRoot13.Author = list123; - num = 6; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - Span span48 = CollectionsMarshal.AsSpan(list124); - ref QuestSequence reference99 = ref span48[0]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041161u, new Vector3(622.4308f, 441.9763f, 436.17908f), 960); - obj84.Steps = list125; - reference99 = obj84; - ref QuestSequence reference100 = ref span48[1]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.Interact, 1041163u, new Vector3(493.15625f, 436.8645f, 360.46387f), 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - obj85.Steps = list126; - reference100 = obj85; - ref QuestSequence reference101 = ref span48[2]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - Span span49 = CollectionsMarshal.AsSpan(list127); - ref QuestStep reference102 = ref span49[0]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 2012795u, new Vector3(492.48486f, 438.04077f, 365.43823f), 960); - num3 = 1; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - CollectionsMarshal.AsSpan(list128)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMG113_04462_Q1_000_040") - }; - questStep16.DialogueChoices = list128; - reference102 = questStep16; - span49[1] = new QuestStep(EInteractionType.Interact, 1041165u, new Vector3(460.563f, 417.0675f, 415.21326f), 960); - obj86.Steps = list127; - reference101 = obj86; - ref QuestSequence reference103 = ref span48[3]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.Interact, 1041166u, new Vector3(459.25073f, 417.0675f, 414.66382f), 960) - { - StopDistance = 5f - }; - obj87.Steps = list129; - reference103 = obj87; - ref QuestSequence reference104 = ref span48[4]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.Interact, 1041165u, new Vector3(231.45715f, 566f, 317.96698f), 960) - { - StopDistance = 1f - }; - obj88.Steps = list130; - reference104 = obj88; - ref QuestSequence reference105 = ref span48[5]; - QuestSequence obj89 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041167u, new Vector3(221.20996f, 566f, 314.4121f), 960); - obj89.Steps = list131; - reference105 = obj89; - questRoot13.QuestSequence = list124; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(4463); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list132 = new List(num); - CollectionsMarshal.SetCount(list132, num); - CollectionsMarshal.AsSpan(list132)[0] = "liza"; - questRoot14.Author = list132; - num = 6; - List list133 = new List(num); - CollectionsMarshal.SetCount(list133, num); - Span span50 = CollectionsMarshal.AsSpan(list133); - ref QuestSequence reference106 = ref span50[0]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041168u, new Vector3(222.52222f, 565.99994f, 313.1914f), 960); - obj90.Steps = list134; - reference106 = obj90; - ref QuestSequence reference107 = ref span50[1]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - Span span51 = CollectionsMarshal.AsSpan(list135); - ref QuestStep reference108 = ref span51[0]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 2012364u, new Vector3(203.9978f, 565.9723f, 296.98633f), 960); - num3 = 6; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - Span span52 = CollectionsMarshal.AsSpan(list136); - span52[0] = null; - span52[1] = null; - span52[2] = null; - span52[3] = null; - span52[4] = null; - span52[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list136; - num3 = 1; - List list137 = new List(num3); - CollectionsMarshal.SetCount(list137, num3); - CollectionsMarshal.AsSpan(list137)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMG114_04463_Q1_000_031"), - Answer = new ExcelRef("TEXT_AKTKMG114_04463_A1_000_033") - }; - questStep17.DialogueChoices = list137; - reference108 = questStep17; - ref QuestStep reference109 = ref span51[1]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 2012367u, new Vector3(185.74805f, 568.902f, 240.03955f), 960); - num3 = 6; - List list138 = new List(num3); - CollectionsMarshal.SetCount(list138, num3); - Span span53 = CollectionsMarshal.AsSpan(list138); - span53[0] = null; - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list138; - reference109 = questStep18; - ref QuestStep reference110 = ref span51[2]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 2012368u, new Vector3(163.16467f, 567.13196f, 280.93384f), 960); - num3 = 6; - List list139 = new List(num3); - CollectionsMarshal.SetCount(list139, num3); - Span span54 = CollectionsMarshal.AsSpan(list139); - span54[0] = null; - span54[1] = null; - span54[2] = null; - span54[3] = null; - span54[4] = null; - span54[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list139; - reference110 = questStep19; - ref QuestStep reference111 = ref span51[3]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 2012366u, new Vector3(157.24414f, 566.03345f, 295.97925f), 960); - num3 = 6; - List list140 = new List(num3); - CollectionsMarshal.SetCount(list140, num3); - Span span55 = CollectionsMarshal.AsSpan(list140); - span55[0] = null; - span55[1] = null; - span55[2] = null; - span55[3] = null; - span55[4] = null; - span55[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep20.CompletionQuestVariablesFlags = list140; - reference111 = questStep20; - ref QuestStep reference112 = ref span51[4]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 2012369u, new Vector3(104.29541f, 569.2682f, 297.16943f), 960); - num3 = 6; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - Span span56 = CollectionsMarshal.AsSpan(list141); - span56[0] = null; - span56[1] = null; - span56[2] = null; - span56[3] = null; - span56[4] = null; - span56[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - questStep21.CompletionQuestVariablesFlags = list141; - reference112 = questStep21; - ref QuestStep reference113 = ref span51[5]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 2012365u, new Vector3(78.99597f, 566.27747f, 241.9928f), 960); - num3 = 6; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - Span span57 = CollectionsMarshal.AsSpan(list142); - span57[0] = null; - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep22.CompletionQuestVariablesFlags = list142; - num3 = 1; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - CollectionsMarshal.AsSpan(list143)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMG114_04463_Q2_000_061"), - Answer = new ExcelRef("TEXT_AKTKMG114_04463_A2_000_063") - }; - questStep22.DialogueChoices = list143; - reference113 = questStep22; - obj91.Steps = list135; - reference107 = obj91; - ref QuestSequence reference114 = ref span50[2]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.Interact, 1041171u, new Vector3(39.993896f, 567.5f, 192.88928f), 960); - obj92.Steps = list144; - reference114 = obj92; - ref QuestSequence reference115 = ref span50[3]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.Interact, 1041170u, new Vector3(145.28113f, 566f, 390.7987f), 960); - obj93.Steps = list145; - reference115 = obj93; - ref QuestSequence reference116 = ref span50[4]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(1.462573f, 637.1029f, 2.690414f), 1027); - obj94.Steps = list146; - reference116 = obj94; - ref QuestSequence reference117 = ref span50[5]; - QuestSequence obj95 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041173u, new Vector3(1.663208f, 637.10297f, 5.2338257f), 960) - { - StopDistance = 5f, - DisableNavmesh = true - }; - obj95.Steps = list147; - reference117 = obj95; - questRoot14.QuestSequence = list133; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(4464); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list148 = new List(num); - CollectionsMarshal.SetCount(list148, num); - CollectionsMarshal.AsSpan(list148)[0] = "liza"; - questRoot15.Author = list148; - num = 9; - List list149 = new List(num); - CollectionsMarshal.SetCount(list149, num); - Span span58 = CollectionsMarshal.AsSpan(list149); - ref QuestSequence reference118 = ref span58[0]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042216u, new Vector3(4.196167f, 637.10297f, 4.2266846f), 960) - { - DisableNavmesh = true - }; - obj96.Steps = list150; - reference118 = obj96; - ref QuestSequence reference119 = ref span58[1]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.Duty, null, null, 960) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 792u - } - }; - obj97.Steps = list151; - reference119 = obj97; - span58[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference120 = ref span58[3]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.Duty, null, null, 1029) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 796u - } - }; - obj98.Steps = list152; - reference120 = obj98; - span58[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference121 = ref span58[5]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1041179u, new Vector3(99.99231f, 0f, 89.98242f), 1026) - { - DisableNavmesh = true, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj99.Steps = list153; - reference121 = obj99; - span58[6] = new QuestSequence - { - Sequence = 6 - }; - ref QuestSequence reference122 = ref span58[7]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 7 - }; - num2 = 8; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - Span span59 = CollectionsMarshal.AsSpan(list154); - ref QuestStep reference123 = ref span59[0]; - QuestStep obj101 = new QuestStep(EInteractionType.Interact, 1041188u, new Vector3(-0.16790771f, 0f, 0.8086548f), 351) - { - StopDistance = 5f, - DelaySecondsAtStart = 3f - }; - num3 = 6; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - Span span60 = CollectionsMarshal.AsSpan(list155); - span60[0] = null; - span60[1] = null; - span60[2] = null; - span60[3] = null; - span60[4] = null; - span60[5] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - obj101.CompletionQuestVariablesFlags = list155; - reference123 = obj101; - ref QuestStep reference124 = ref span59[1]; - QuestStep obj102 = new QuestStep(EInteractionType.Interact, 1041181u, new Vector3(-1.236023f, 0f, 0.6560669f), 351) - { - StopDistance = 5f - }; - num3 = 6; - List list156 = new List(num3); - CollectionsMarshal.SetCount(list156, num3); - Span span61 = CollectionsMarshal.AsSpan(list156); - span61[0] = null; - span61[1] = null; - span61[2] = null; - span61[3] = null; - span61[4] = null; - span61[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj102.CompletionQuestVariablesFlags = list156; - reference124 = obj102; - ref QuestStep reference125 = ref span59[2]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1041182u, new Vector3(-6.4240723f, 0.009977884f, -4.7455444f), 351); - num3 = 6; - List list157 = new List(num3); - CollectionsMarshal.SetCount(list157, num3); - Span span62 = CollectionsMarshal.AsSpan(list157); - span62[0] = null; - span62[1] = null; - span62[2] = null; - span62[3] = null; - span62[4] = null; - span62[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list157; - reference125 = questStep23; - ref QuestStep reference126 = ref span59[3]; - QuestStep obj103 = new QuestStep(EInteractionType.Interact, 1041184u, new Vector3(-7.034485f, 0f, -5.8442383f), 351) - { - StopDistance = 5f - }; - num3 = 6; - List list158 = new List(num3); - CollectionsMarshal.SetCount(list158, num3); - Span span63 = CollectionsMarshal.AsSpan(list158); - span63[0] = null; - span63[1] = null; - span63[2] = null; - span63[3] = null; - span63[4] = null; - span63[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj103.CompletionQuestVariablesFlags = list158; - reference126 = obj103; - ref QuestStep reference127 = ref span59[4]; - QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 1041183u, new Vector3(6.6376343f, 0f, -6.790344f), 351); - num3 = 6; - List list159 = new List(num3); - CollectionsMarshal.SetCount(list159, num3); - Span span64 = CollectionsMarshal.AsSpan(list159); - span64[0] = null; - span64[1] = null; - span64[2] = null; - span64[3] = null; - span64[4] = null; - span64[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep24.CompletionQuestVariablesFlags = list159; - reference127 = questStep24; - ref QuestStep reference128 = ref span59[5]; - QuestStep questStep25 = new QuestStep(EInteractionType.Interact, 1041187u, new Vector3(10.482849f, 0f, -8.255188f), 351); - num3 = 6; - List list160 = new List(num3); - CollectionsMarshal.SetCount(list160, num3); - Span span65 = CollectionsMarshal.AsSpan(list160); - span65[0] = null; - span65[1] = null; - span65[2] = null; - span65[3] = null; - span65[4] = null; - span65[5] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - questStep25.CompletionQuestVariablesFlags = list160; - reference128 = questStep25; - ref QuestStep reference129 = ref span59[6]; - QuestStep questStep26 = new QuestStep(EInteractionType.Interact, 1041185u, new Vector3(25.864014f, -1f, -5.7526855f), 351); - num3 = 6; - List list161 = new List(num3); - CollectionsMarshal.SetCount(list161, num3); - Span span66 = CollectionsMarshal.AsSpan(list161); - span66[0] = null; - span66[1] = null; - span66[2] = null; - span66[3] = null; - span66[4] = null; - span66[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep26.CompletionQuestVariablesFlags = list161; - reference129 = questStep26; - ref QuestStep reference130 = ref span59[7]; - QuestStep questStep27 = new QuestStep(EInteractionType.Interact, 1041186u, new Vector3(29.984009f, -1f, 0.1373291f), 351); - num3 = 6; - List list162 = new List(num3); - CollectionsMarshal.SetCount(list162, num3); - Span span67 = CollectionsMarshal.AsSpan(list162); - span67[0] = null; - span67[1] = null; - span67[2] = null; - span67[3] = null; - span67[4] = null; - span67[5] = new QuestWorkValue(0, (byte)4, EQuestWorkMode.Bitwise); - questStep27.CompletionQuestVariablesFlags = list162; - reference130 = questStep27; - obj100.Steps = list154; - reference122 = obj100; - ref QuestSequence reference131 = ref span58[8]; - QuestSequence obj104 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - ref QuestStep reference132 = ref CollectionsMarshal.AsSpan(list163)[0]; - QuestStep questStep28 = new QuestStep(EInteractionType.CompleteQuest, 1041189u, new Vector3(-0.015319824f, 0f, -7.1870728f), 351); - num3 = 1; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - CollectionsMarshal.AsSpan(list164)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMG115_04464_Q13_000_391") - }; - questStep28.DialogueChoices = list164; - reference132 = questStep28; - obj104.Steps = list163; - reference131 = obj104; - questRoot15.QuestSequence = list149; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(4473); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list165 = new List(num); - CollectionsMarshal.SetCount(list165, num); - CollectionsMarshal.AsSpan(list165)[0] = "liza"; - questRoot16.Author = list165; - num = 2; - List list166 = new List(num); - CollectionsMarshal.SetCount(list166, num); - Span span68 = CollectionsMarshal.AsSpan(list166); - ref QuestSequence reference133 = ref span68[0]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038500u, new Vector3(-357.83936f, 21.84602f, -91.32526f), 962); - obj105.Steps = list167; - reference133 = obj105; - ref QuestSequence reference134 = ref span68[1]; - QuestSequence obj106 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038500u, new Vector3(-357.83936f, 21.84602f, -91.32526f), 962); - obj106.Steps = list168; - reference134 = obj106; - questRoot16.QuestSequence = list166; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(4475); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list169 = new List(num); - CollectionsMarshal.SetCount(list169, num); - CollectionsMarshal.AsSpan(list169)[0] = "liza"; - questRoot17.Author = list169; - num = 4; - List list170 = new List(num); - CollectionsMarshal.SetCount(list170, num); - Span span69 = CollectionsMarshal.AsSpan(list170); - ref QuestSequence reference135 = ref span69[0]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041268u, new Vector3(-81.1933f, 1.0795165f, 36.51477f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanBaldesionAnnex - } - }; - obj107.Steps = list171; - reference135 = obj107; - ref QuestSequence reference136 = ref span69[1]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.Interact, 1039508u, new Vector3(-639.704f, -27.175835f, 301.07568f), 956) - { - AetheryteShortcut = EAetheryteLocation.LabyrinthosAporia - }; - obj108.Steps = list172; - reference136 = obj108; - ref QuestSequence reference137 = ref span69[2]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - Span span70 = CollectionsMarshal.AsSpan(list173); - span70[0] = new QuestStep(EInteractionType.Interact, 1033863u, new Vector3(118.02844f, 14.649026f, 7.156433f), 819) - { - TargetTerritoryId = (ushort)844, - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - span70[1] = new QuestStep(EInteractionType.Interact, 2012425u, new Vector3(0.10675049f, -0.015319824f, -8.163635f), 844); - obj109.Steps = list173; - reference137 = obj109; - ref QuestSequence reference138 = ref span69[3]; - QuestSequence obj110 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041271u, new Vector3(542.5039f, 7.6627564f, 50.91931f), 961) - { - NextQuestId = new QuestId(4476) - }; - obj110.Steps = list174; - reference138 = obj110; - questRoot17.QuestSequence = list170; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(4476); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list175 = new List(num); - CollectionsMarshal.SetCount(list175, num); - CollectionsMarshal.AsSpan(list175)[0] = "liza"; - questRoot18.Author = list175; - num = 5; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - Span span71 = CollectionsMarshal.AsSpan(list176); - ref QuestSequence reference139 = ref span71[0]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041271u, new Vector3(542.5039f, 7.6627564f, 50.91931f), 961); - obj111.Steps = list177; - reference139 = obj111; - ref QuestSequence reference140 = ref span71[1]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.Interact, 1041272u, new Vector3(228.19861f, 7.3858566f, 239.94812f), 961) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ElpisAnagnorisis - }; - obj112.Steps = list178; - reference140 = obj112; - ref QuestSequence reference141 = ref span71[2]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - ref QuestStep reference142 = ref CollectionsMarshal.AsSpan(list179)[0]; - QuestStep obj114 = new QuestStep(EInteractionType.Interact, 1041273u, new Vector3(808.3772f, 152.22246f, -240.4975f), 961) - { - Fly = true - }; - num3 = 1; - List list180 = new List(num3); - CollectionsMarshal.SetCount(list180, num3); - CollectionsMarshal.AsSpan(list180)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKRA102_04476_SYSTEM_046") - }; - obj114.DialogueChoices = list180; - reference142 = obj114; - obj113.Steps = list179; - reference141 = obj113; - ref QuestSequence reference143 = ref span71[3]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.Duty, null, null, 1025) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 808u - } - }; - obj115.Steps = list181; - reference143 = obj115; - ref QuestSequence reference144 = ref span71[4]; - QuestSequence obj116 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041501u, new Vector3(101.51831f, -9.999997E-12f, 101.60974f), 1025) - { - StopDistance = 5f, - NextQuestId = new QuestId(4477) - }; - obj116.Steps = list182; - reference144 = obj116; - questRoot18.QuestSequence = list176; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(4477); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - CollectionsMarshal.AsSpan(list183)[0] = "liza"; - questRoot19.Author = list183; - num = 3; - List list184 = new List(num); - CollectionsMarshal.SetCount(list184, num); - Span span72 = CollectionsMarshal.AsSpan(list184); - ref QuestSequence reference145 = ref span72[0]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041276u, new Vector3(99.07678f, 7.6875f, -66.971924f), 1025); - obj117.Steps = list185; - reference145 = obj117; - ref QuestSequence reference146 = ref span72[1]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.Duty, null, null, 1025) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 810u - } - }; - obj118.Steps = list186; - reference146 = obj118; - ref QuestSequence reference147 = ref span72[2]; - QuestSequence obj119 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041502u, new Vector3(99.22937f, 7.6875f, -67.88745f), 1025) - { - StopDistance = 4f, - NextQuestId = new QuestId(4478) - }; - obj119.Steps = list187; - reference147 = obj119; - questRoot19.QuestSequence = list184; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(4478); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list188 = new List(num); - CollectionsMarshal.SetCount(list188, num); - CollectionsMarshal.AsSpan(list188)[0] = "liza"; - questRoot20.Author = list188; - num = 3; - List list189 = new List(num); - CollectionsMarshal.SetCount(list189, num); - Span span73 = CollectionsMarshal.AsSpan(list189); - ref QuestSequence reference148 = ref span73[0]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041503u, new Vector3(100.87732f, 7.6875f, -67.61273f), 1025) - { - StopDistance = 4f - }; - obj120.Steps = list190; - reference148 = obj120; - ref QuestSequence reference149 = ref span73[1]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.Duty, null, null, 1025) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 806u - } - }; - obj121.Steps = list191; - reference149 = obj121; - ref QuestSequence reference150 = ref span73[2]; - QuestSequence obj122 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041278u, new Vector3(98.34436f, -1E-11f, -29.678833f), 1025) - { - StopDistance = 5f, - NextQuestId = new QuestId(4479) - }; - obj122.Steps = list192; - reference150 = obj122; - questRoot20.QuestSequence = list189; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(4479); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list193 = new List(num); - CollectionsMarshal.SetCount(list193, num); - CollectionsMarshal.AsSpan(list193)[0] = "liza"; - questRoot21.Author = list193; - num = 6; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - Span span74 = CollectionsMarshal.AsSpan(list194); - ref QuestSequence reference151 = ref span74[0]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041278u, new Vector3(98.34436f, -1E-11f, -29.678833f), 1025) - { - StopDistance = 5f - }; - obj123.Steps = list195; - reference151 = obj123; - ref QuestSequence reference152 = ref span74[1]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.Interact, 1041279u, new Vector3(114.54944f, -9.999999E-12f, -25.742065f), 1025); - obj124.Steps = list196; - reference152 = obj124; - ref QuestSequence reference153 = ref span74[2]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.Duty, null, null, 1025) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 800u - } - }; - obj125.Steps = list197; - reference153 = obj125; - span74[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference154 = ref span74[4]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - CollectionsMarshal.AsSpan(list198)[0] = new QuestStep(EInteractionType.Interact, 1041280u, new Vector3(98.95471f, -1E-11f, -29.953552f), 1025) - { - StopDistance = 5f - }; - obj126.Steps = list198; - reference154 = obj126; - ref QuestSequence reference155 = ref span74[5]; - QuestSequence obj127 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - CollectionsMarshal.AsSpan(list199)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041934u, new Vector3(-639.765f, -27.175016f, 301.1062f), 956) - { - AetheryteShortcut = EAetheryteLocation.LabyrinthosAporia, - NextQuestId = new QuestId(4635) - }; - obj127.Steps = list199; - reference155 = obj127; - questRoot21.QuestSequence = list194; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(4480); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list200 = new List(num); - CollectionsMarshal.SetCount(list200, num); - CollectionsMarshal.AsSpan(list200)[0] = "liza"; - questRoot22.Author = list200; - num = 7; - List list201 = new List(num); - CollectionsMarshal.SetCount(list201, num); - Span span75 = CollectionsMarshal.AsSpan(list201); - ref QuestSequence reference156 = ref span75[0]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041667u, new Vector3(443.96118f, 65.162f, -105.4552f), 956); - obj128.Steps = list202; - reference156 = obj128; - ref QuestSequence reference157 = ref span75[1]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.Interact, 2012725u, new Vector3(693.1715f, 99.01575f, 123.52173f), 956); - obj129.Steps = list203; - reference157 = obj129; - ref QuestSequence reference158 = ref span75[2]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.Interact, 2012726u, new Vector3(806.79016f, 154.10083f, -149.64526f), 956); - obj130.Steps = list204; - reference158 = obj130; - ref QuestSequence reference159 = ref span75[3]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.Interact, 1041681u, new Vector3(436.69788f, 166.19273f, -430.4723f), 956) - { - AetheryteShortcut = EAetheryteLocation.LabyrinthosArcheion - }; - obj131.Steps = list205; - reference159 = obj131; - ref QuestSequence reference160 = ref span75[4]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.Interact, 1041668u, new Vector3(394.12524f, 173.82095f, -646.75366f), 956); - obj132.Steps = list206; - reference160 = obj132; - ref QuestSequence reference161 = ref span75[5]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - ref QuestStep reference162 = ref CollectionsMarshal.AsSpan(list207)[0]; - QuestStep obj134 = new QuestStep(EInteractionType.Combat, 1041670u, new Vector3(285.23682f, 185.65448f, -729.67114f), 956) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list208 = new List(num3); - CollectionsMarshal.SetCount(list208, num3); - CollectionsMarshal.AsSpan(list208)[0] = 14069u; - obj134.KillEnemyDataIds = list208; - reference162 = obj134; - obj133.Steps = list207; - reference161 = obj133; - ref QuestSequence reference163 = ref span75[6]; - QuestSequence obj135 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041670u, new Vector3(285.23682f, 185.65448f, -729.67114f), 956) - { - StopDistance = 5f - }; - obj135.Steps = list209; - reference163 = obj135; - questRoot22.QuestSequence = list201; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(4484); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list210 = new List(num); - CollectionsMarshal.SetCount(list210, num); - CollectionsMarshal.AsSpan(list210)[0] = "liza"; - questRoot23.Author = list210; - num = 3; - List list211 = new List(num); - CollectionsMarshal.SetCount(list211, num); - Span span76 = CollectionsMarshal.AsSpan(list211); - ref QuestSequence reference164 = ref span76[0]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - ref QuestStep reference165 = ref CollectionsMarshal.AsSpan(list212)[0]; - QuestStep questStep29 = new QuestStep(EInteractionType.AcceptQuest, 1041683u, new Vector3(-29.984009f, -31.53043f, -23.758362f), 956); - num3 = 1; - List list213 = new List(num3); - CollectionsMarshal.SetCount(list213, num3); - CollectionsMarshal.AsSpan(list213)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZI101_04484_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZI101_04484_A1_000_002") - }; - questStep29.DialogueChoices = list213; - reference165 = questStep29; - obj136.Steps = list212; - reference164 = obj136; - ref QuestSequence reference166 = ref span76[1]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.Interact, 1041684u, new Vector3(50.43103f, -29.530062f, 27.115234f), 956); - obj137.Steps = list214; - reference166 = obj137; - ref QuestSequence reference167 = ref span76[2]; - QuestSequence obj138 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041685u, new Vector3(154.89429f, -17.530376f, -66.2395f), 956); - obj138.Steps = list215; - reference167 = obj138; - questRoot23.QuestSequence = list211; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(4489); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list216 = new List(num); - CollectionsMarshal.SetCount(list216, num); - CollectionsMarshal.AsSpan(list216)[0] = "liza"; - questRoot24.Author = list216; - num = 7; - List list217 = new List(num); - CollectionsMarshal.SetCount(list217, num); - Span span77 = CollectionsMarshal.AsSpan(list217); - ref QuestSequence reference168 = ref span77[0]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - ref QuestStep reference169 = ref CollectionsMarshal.AsSpan(list218)[0]; - QuestStep questStep30 = new QuestStep(EInteractionType.AcceptQuest, 1041331u, new Vector3(202.4414f, 1.769943f, 727.7484f), 957); - num3 = 1; - List list219 = new List(num3); - CollectionsMarshal.SetCount(list219, num3); - CollectionsMarshal.AsSpan(list219)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZA201_04489_Q1_000_004"), - Answer = new ExcelRef("TEXT_AKTKZA201_04489_A1_000_002") - }; - questStep30.DialogueChoices = list219; - reference169 = questStep30; - obj139.Steps = list218; - reference168 = obj139; - ref QuestSequence reference170 = ref span77[1]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.Interact, 1041333u, new Vector3(190.6919f, 14.1185875f, 489.4635f), 957); - obj140.Steps = list220; - reference170 = obj140; - ref QuestSequence reference171 = ref span77[2]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.Interact, 1041334u, new Vector3(123.125f, 16.522793f, 537.8042f), 957); - obj141.Steps = list221; - reference171 = obj141; - ref QuestSequence reference172 = ref span77[3]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - ref QuestStep reference173 = ref CollectionsMarshal.AsSpan(list222)[0]; - QuestStep obj143 = new QuestStep(EInteractionType.Combat, null, new Vector3(167.34262f, 41.652294f, 409.31412f), 957) - { - StopDistance = 1f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list223 = new List(num3); - CollectionsMarshal.SetCount(list223, num3); - CollectionsMarshal.AsSpan(list223)[0] = 14043u; - obj143.KillEnemyDataIds = list223; - reference173 = obj143; - obj142.Steps = list222; - reference172 = obj142; - ref QuestSequence reference174 = ref span77[4]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.Interact, 1041338u, new Vector3(167.1626f, 41.614826f, 409.53687f), 957) - { - StopDistance = 7f - }; - obj144.Steps = list224; - reference174 = obj144; - ref QuestSequence reference175 = ref span77[5]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.Interact, 1041334u, new Vector3(123.125f, 16.522793f, 537.8042f), 957) - { - StopDistance = 5f - }; - obj145.Steps = list225; - reference175 = obj145; - ref QuestSequence reference176 = ref span77[6]; - QuestSequence obj146 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - CollectionsMarshal.AsSpan(list226)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041332u, new Vector3(194.68982f, 14.118598f, 485.9845f), 957); - obj146.Steps = list226; - reference176 = obj146; - questRoot24.QuestSequence = list217; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(4490); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list227 = new List(num); - CollectionsMarshal.SetCount(list227, num); - CollectionsMarshal.AsSpan(list227)[0] = "liza"; - questRoot25.Author = list227; - num = 8; - List list228 = new List(num); - CollectionsMarshal.SetCount(list228, num); - Span span78 = CollectionsMarshal.AsSpan(list228); - ref QuestSequence reference177 = ref span78[0]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041332u, new Vector3(194.68982f, 14.118598f, 485.9845f), 957); - obj147.Steps = list229; - reference177 = obj147; - ref QuestSequence reference178 = ref span78[1]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.Interact, 1041340u, new Vector3(-124.43738f, 1.3207349f, 613.94666f), 957) - { - Fly = true - }; - obj148.Steps = list230; - reference178 = obj148; - ref QuestSequence reference179 = ref span78[2]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.Interact, 1041341u, new Vector3(-122.75885f, 1.2757957f, 616.5408f), 957) - { - StopDistance = 7f - }; - obj149.Steps = list231; - reference179 = obj149; - ref QuestSequence reference180 = ref span78[3]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - Span span79 = CollectionsMarshal.AsSpan(list232); - ref QuestStep reference181 = ref span79[0]; - QuestStep questStep31 = new QuestStep(EInteractionType.Interact, 1041342u, new Vector3(-123.9491f, 0.3411509f, 642.8778f), 957); - num3 = 6; - List list233 = new List(num3); - CollectionsMarshal.SetCount(list233, num3); - Span span80 = CollectionsMarshal.AsSpan(list233); - span80[0] = null; - span80[1] = null; - span80[2] = null; - span80[3] = null; - span80[4] = null; - span80[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep31.CompletionQuestVariablesFlags = list233; - reference181 = questStep31; - ref QuestStep reference182 = ref span79[1]; - QuestStep questStep32 = new QuestStep(EInteractionType.Interact, 1041344u, new Vector3(-160.29602f, -0.10002975f, 661.86f), 957); - num3 = 6; - List list234 = new List(num3); - CollectionsMarshal.SetCount(list234, num3); - Span span81 = CollectionsMarshal.AsSpan(list234); - span81[0] = null; - span81[1] = null; - span81[2] = null; - span81[3] = null; - span81[4] = null; - span81[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep32.CompletionQuestVariablesFlags = list234; - reference182 = questStep32; - ref QuestStep reference183 = ref span79[2]; - QuestStep questStep33 = new QuestStep(EInteractionType.Interact, 1041343u, new Vector3(-181.10938f, 0.2237328f, 640.2533f), 957); - num3 = 6; - List list235 = new List(num3); - CollectionsMarshal.SetCount(list235, num3); - Span span82 = CollectionsMarshal.AsSpan(list235); - span82[0] = null; - span82[1] = null; - span82[2] = null; - span82[3] = null; - span82[4] = null; - span82[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep33.CompletionQuestVariablesFlags = list235; - reference183 = questStep33; - obj150.Steps = list232; - reference180 = obj150; - ref QuestSequence reference184 = ref span78[4]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.Interact, 1041340u, new Vector3(-124.43738f, 1.3207349f, 613.94666f), 957); - obj151.Steps = list236; - reference184 = obj151; - ref QuestSequence reference185 = ref span78[5]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - ref QuestStep reference186 = ref CollectionsMarshal.AsSpan(list237)[0]; - QuestStep obj153 = new QuestStep(EInteractionType.Interact, 1041345u, new Vector3(-112.596375f, 35.468357f, 392.87402f), 957) - { - Fly = true - }; - num3 = 1; - List list238 = new List(num3); - CollectionsMarshal.SetCount(list238, num3); - CollectionsMarshal.AsSpan(list238)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZA202_04490_Q1_000_042"), - Answer = new ExcelRef("TEXT_AKTKZA202_04490_A1_000_001") - }; - obj153.DialogueChoices = list238; - reference186 = obj153; - obj152.Steps = list237; - reference185 = obj152; - ref QuestSequence reference187 = ref span78[6]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - ref QuestStep reference188 = ref CollectionsMarshal.AsSpan(list239)[0]; - QuestStep obj155 = new QuestStep(EInteractionType.Combat, 2012325u, new Vector3(-206.16473f, 20.645447f, 229.20569f), 957) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list240 = new List(num3); - CollectionsMarshal.SetCount(list240, num3); - CollectionsMarshal.AsSpan(list240)[0] = 14042u; - obj155.KillEnemyDataIds = list240; - reference188 = obj155; - obj154.Steps = list239; - reference187 = obj154; - ref QuestSequence reference189 = ref span78[7]; - QuestSequence obj156 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041340u, new Vector3(-124.43738f, 1.3207349f, 613.94666f), 957) - { - Fly = true, - NextQuestId = new QuestId(4491) - }; - obj156.Steps = list241; - reference189 = obj156; - questRoot25.QuestSequence = list228; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(4491); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list242 = new List(num); - CollectionsMarshal.SetCount(list242, num); - CollectionsMarshal.AsSpan(list242)[0] = "liza"; - questRoot26.Author = list242; - num = 6; - List list243 = new List(num); - CollectionsMarshal.SetCount(list243, num); - Span span83 = CollectionsMarshal.AsSpan(list243); - ref QuestSequence reference190 = ref span83[0]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041341u, new Vector3(-122.75885f, 1.2757957f, 616.5408f), 957) - { - StopDistance = 7f - }; - obj157.Steps = list244; - reference190 = obj157; - ref QuestSequence reference191 = ref span83[1]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - Span span84 = CollectionsMarshal.AsSpan(list245); - span84[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(191.63799f, 15.136713f, 508.80118f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - span84[1] = new QuestStep(EInteractionType.Interact, 1041332u, new Vector3(194.68982f, 14.118598f, 485.9845f), 957); - obj158.Steps = list245; - reference191 = obj158; - ref QuestSequence reference192 = ref span83[2]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - Span span85 = CollectionsMarshal.AsSpan(list246); - span85[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(191.63799f, 15.136713f, 508.80118f), 957); - span85[1] = new QuestStep(EInteractionType.Interact, 1041347u, new Vector3(171.40454f, 4.763736f, 670.7103f), 957) - { - Fly = true - }; - obj159.Steps = list246; - reference192 = obj159; - ref QuestSequence reference193 = ref span83[3]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.Interact, 1041348u, new Vector3(176.83679f, 10.170378f, 549.0044f), 957) - { - Fly = true - }; - obj160.Steps = list247; - reference193 = obj160; - ref QuestSequence reference194 = ref span83[4]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 4 - }; - num2 = 5; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - Span span86 = CollectionsMarshal.AsSpan(list248); - ref QuestStep reference195 = ref span86[0]; - QuestStep obj162 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(217.2226f, 10.08736f, 604.91754f), 957) - { - Fly = true - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list249 = new List(num3); - CollectionsMarshal.SetCount(list249, num3); - Span span87 = CollectionsMarshal.AsSpan(list249); - span87[0] = null; - span87[1] = null; - span87[2] = null; - span87[3] = null; - span87[4] = null; - span87[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list249; - skipConditions2.StepIf = skipStepConditions2; - obj162.SkipConditions = skipConditions2; - reference195 = obj162; - ref QuestStep reference196 = ref span86[1]; - QuestStep questStep34 = new QuestStep(EInteractionType.Interact, 1037655u, new Vector3(218.73804f, 10.087359f, 605.249f), 957); - num3 = 6; - List list250 = new List(num3); - CollectionsMarshal.SetCount(list250, num3); - Span span88 = CollectionsMarshal.AsSpan(list250); - span88[0] = null; - span88[1] = null; - span88[2] = null; - span88[3] = null; - span88[4] = null; - span88[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep34.CompletionQuestVariablesFlags = list250; - reference196 = questStep34; - ref QuestStep reference197 = ref span86[2]; - QuestStep obj163 = new QuestStep(EInteractionType.Interact, 1037656u, new Vector3(208.1482f, 4.5989733f, 672.0835f), 957) - { - Fly = true - }; - num3 = 6; - List list251 = new List(num3); - CollectionsMarshal.SetCount(list251, num3); - Span span89 = CollectionsMarshal.AsSpan(list251); - span89[0] = null; - span89[1] = null; - span89[2] = null; - span89[3] = null; - span89[4] = null; - span89[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj163.CompletionQuestVariablesFlags = list251; - reference197 = obj163; - ref QuestStep reference198 = ref span86[3]; - QuestStep questStep35 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(161.044f, 1.8294137f, 708.1364f), 957); - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list252 = new List(num3); - CollectionsMarshal.SetCount(list252, num3); - Span span90 = CollectionsMarshal.AsSpan(list252); - span90[0] = null; - span90[1] = null; - span90[2] = null; - span90[3] = null; - span90[4] = null; - span90[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list252; - skipConditions3.StepIf = skipStepConditions3; - questStep35.SkipConditions = skipConditions3; - reference198 = questStep35; - ref QuestStep reference199 = ref span86[4]; - QuestStep questStep36 = new QuestStep(EInteractionType.Interact, 1037708u, new Vector3(160.84534f, 1.8294137f, 710.68884f), 957); - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list253 = new List(num3); - CollectionsMarshal.SetCount(list253, num3); - Span span91 = CollectionsMarshal.AsSpan(list253); - span91[0] = null; - span91[1] = null; - span91[2] = null; - span91[3] = null; - span91[4] = null; - span91[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list253; - skipConditions4.StepIf = skipStepConditions4; - questStep36.SkipConditions = skipConditions4; - reference199 = questStep36; - obj161.Steps = list248; - reference194 = obj161; - ref QuestSequence reference200 = ref span83[5]; - QuestSequence obj164 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - Span span92 = CollectionsMarshal.AsSpan(list254); - span92[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(191.63799f, 15.136713f, 508.80118f), 957) - { - Fly = true - }; - span92[1] = new QuestStep(EInteractionType.CompleteQuest, 1041389u, new Vector3(192.79773f, 14.118593f, 487.6936f), 957) - { - NextQuestId = new QuestId(4492) - }; - obj164.Steps = list254; - reference200 = obj164; - questRoot26.QuestSequence = list243; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(4492); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list255 = new List(num); - CollectionsMarshal.SetCount(list255, num); - CollectionsMarshal.AsSpan(list255)[0] = "liza"; - questRoot27.Author = list255; - num = 5; - List list256 = new List(num); - CollectionsMarshal.SetCount(list256, num); - Span span93 = CollectionsMarshal.AsSpan(list256); - ref QuestSequence reference201 = ref span93[0]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041389u, new Vector3(192.79773f, 14.118593f, 487.6936f), 957); - obj165.Steps = list257; - reference201 = obj165; - ref QuestSequence reference202 = ref span93[1]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - Span span94 = CollectionsMarshal.AsSpan(list258); - span94[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(191.63799f, 15.136713f, 508.80118f), 957) - { - Mount = true - }; - span94[1] = new QuestStep(EInteractionType.Interact, 2012451u, new Vector3(215.53369f, 9.903015f, 597.4059f), 957) - { - Fly = true - }; - obj166.Steps = list258; - reference202 = obj166; - ref QuestSequence reference203 = ref span93[2]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 2 - }; - num2 = 8; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - Span span95 = CollectionsMarshal.AsSpan(list259); - ref QuestStep reference204 = ref span95[0]; - QuestStep obj168 = new QuestStep(EInteractionType.Interact, 2012451u, new Vector3(215.53369f, 9.903015f, 597.4059f), 957) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - num3 = 1; - List list260 = new List(num3); - CollectionsMarshal.SetCount(list260, num3); - CollectionsMarshal.AsSpan(list260)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKZA204_04492_Q1_000_054") - }; - obj168.DialogueChoices = list260; - reference204 = obj168; - span95[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1041390u, new Vector3(196.16476f, 9.8597355f, 555.2623f), 957) - { - StopDistance = 100f, - Mount = false, - Sprint = false - }; - span95[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(199.92545f, 10.335635f, 567.79816f), 957) - { - Mount = false, - Sprint = false - }; - span95[3] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1041390u, new Vector3(170.85558f, 9.90086f, 552.88477f), 957) - { - StopDistance = 100f, - Mount = false, - Sprint = false - }; - span95[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(157.38617f, 14.520461f, 539.5006f), 957) - { - Mount = false, - Sprint = false - }; - span95[5] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1041390u, new Vector3(135.2287f, 19.553255f, 527.03894f), 957) - { - StopDistance = 100f, - Mount = false, - Sprint = false - }; - span95[6] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(154.45122f, 23.673492f, 500.76654f), 957) - { - Mount = false, - Sprint = false - }; - span95[7] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(156.16548f, 23.302423f, 481.5656f), 957); - obj167.Steps = list259; - reference203 = obj167; - ref QuestSequence reference205 = ref span93[3]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.Interact, 1041394u, new Vector3(-30.289246f, 29.867386f, 458.15198f), 957) - { - Fly = true - }; - obj169.Steps = list261; - reference205 = obj169; - ref QuestSequence reference206 = ref span93[4]; - QuestSequence obj170 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - Span span96 = CollectionsMarshal.AsSpan(list262); - span96[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(191.63799f, 15.136713f, 508.80118f), 957) - { - Fly = true - }; - span96[1] = new QuestStep(EInteractionType.CompleteQuest, 1041332u, new Vector3(194.68982f, 14.118598f, 485.9845f), 957); - obj170.Steps = list262; - reference206 = obj170; - questRoot27.QuestSequence = list256; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(4493); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list263 = new List(num); - CollectionsMarshal.SetCount(list263, num); - CollectionsMarshal.AsSpan(list263)[0] = "liza"; - questRoot28.Author = list263; - num = 5; - List list264 = new List(num); - CollectionsMarshal.SetCount(list264, num); - Span span97 = CollectionsMarshal.AsSpan(list264); - ref QuestSequence reference207 = ref span97[0]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042175u, new Vector3(386.83142f, 12.541633f, -311.20776f), 957); - obj171.Steps = list265; - reference207 = obj171; - ref QuestSequence reference208 = ref span97[1]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - Span span98 = CollectionsMarshal.AsSpan(list266); - ref QuestStep reference209 = ref span98[0]; - QuestStep questStep37 = new QuestStep(EInteractionType.Interact, 1041400u, new Vector3(422.53748f, 3.1168795f, -268.1468f), 957); - num3 = 6; - List list267 = new List(num3); - CollectionsMarshal.SetCount(list267, num3); - Span span99 = CollectionsMarshal.AsSpan(list267); - span99[0] = null; - span99[1] = null; - span99[2] = null; - span99[3] = null; - span99[4] = null; - span99[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep37.CompletionQuestVariablesFlags = list267; - reference209 = questStep37; - ref QuestStep reference210 = ref span98[1]; - QuestStep questStep38 = new QuestStep(EInteractionType.Interact, 1041398u, new Vector3(437.39978f, 3.1168795f, -248.64581f), 957); - num3 = 6; - List list268 = new List(num3); - CollectionsMarshal.SetCount(list268, num3); - Span span100 = CollectionsMarshal.AsSpan(list268); - span100[0] = null; - span100[1] = null; - span100[2] = null; - span100[3] = null; - span100[4] = null; - span100[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep38.CompletionQuestVariablesFlags = list268; - reference210 = questStep38; - ref QuestStep reference211 = ref span98[2]; - QuestStep obj173 = new QuestStep(EInteractionType.Interact, 1041399u, new Vector3(365.9265f, 3.1168795f, -245.53296f), 957) - { - Fly = true - }; - num3 = 6; - List list269 = new List(num3); - CollectionsMarshal.SetCount(list269, num3); - Span span101 = CollectionsMarshal.AsSpan(list269); - span101[0] = null; - span101[1] = null; - span101[2] = null; - span101[3] = null; - span101[4] = null; - span101[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj173.CompletionQuestVariablesFlags = list269; - reference211 = obj173; - obj172.Steps = list266; - reference208 = obj172; - ref QuestSequence reference212 = ref span97[2]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - Span span102 = CollectionsMarshal.AsSpan(list270); - span102[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(398.03082f, 6.081707f, -206.11922f), 957) - { - Fly = true - }; - span102[1] = new QuestStep(EInteractionType.Interact, 1042187u, new Vector3(404.89807f, 7.6153164f, -200.64093f), 957) - { - DisableNavmesh = true - }; - obj174.Steps = list270; - reference212 = obj174; - ref QuestSequence reference213 = ref span97[3]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - Span span103 = CollectionsMarshal.AsSpan(list271); - span103[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(398.03082f, 6.081707f, -206.11922f), 957); - span103[1] = new QuestStep(EInteractionType.Interact, 1041402u, new Vector3(411.06274f, 3.1168792f, -268.6046f), 957) - { - Fly = true - }; - obj175.Steps = list271; - reference213 = obj175; - ref QuestSequence reference214 = ref span97[4]; - QuestSequence obj176 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - CollectionsMarshal.AsSpan(list272)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041397u, new Vector3(402.30408f, 3.0506973f, -212.35986f), 957) - { - Fly = true, - NextQuestId = new QuestId(4494) - }; - obj176.Steps = list272; - reference214 = obj176; - questRoot28.QuestSequence = list264; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(4494); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list273 = new List(num); - CollectionsMarshal.SetCount(list273, num); - CollectionsMarshal.AsSpan(list273)[0] = "liza"; - questRoot29.Author = list273; - num = 6; - List list274 = new List(num); - CollectionsMarshal.SetCount(list274, num); - Span span104 = CollectionsMarshal.AsSpan(list274); - ref QuestSequence reference215 = ref span104[0]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041397u, new Vector3(402.30408f, 3.0506973f, -212.35986f), 957); - obj177.Steps = list275; - reference215 = obj177; - ref QuestSequence reference216 = ref span104[1]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - Span span105 = CollectionsMarshal.AsSpan(list276); - ref QuestStep reference217 = ref span105[0]; - QuestStep obj179 = new QuestStep(EInteractionType.Combat, 2012454u, new Vector3(519.6764f, 13.01593f, -339.5285f), 957) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list277 = new List(num3); - CollectionsMarshal.SetCount(list277, num3); - CollectionsMarshal.AsSpan(list277)[0] = 14041u; - obj179.KillEnemyDataIds = list277; - num3 = 6; - List list278 = new List(num3); - CollectionsMarshal.SetCount(list278, num3); - Span span106 = CollectionsMarshal.AsSpan(list278); - span106[0] = null; - span106[1] = null; - span106[2] = null; - span106[3] = null; - span106[4] = null; - span106[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj179.CompletionQuestVariablesFlags = list278; - reference217 = obj179; - ref QuestStep reference218 = ref span105[1]; - QuestStep obj180 = new QuestStep(EInteractionType.Interact, 2012453u, new Vector3(556.02344f, 9.170593f, -382.00964f), 957) - { - Fly = true - }; - num3 = 6; - List list279 = new List(num3); - CollectionsMarshal.SetCount(list279, num3); - Span span107 = CollectionsMarshal.AsSpan(list279); - span107[0] = null; - span107[1] = null; - span107[2] = null; - span107[3] = null; - span107[4] = null; - span107[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj180.CompletionQuestVariablesFlags = list279; - reference218 = obj180; - ref QuestStep reference219 = ref span105[2]; - QuestStep obj181 = new QuestStep(EInteractionType.Interact, 2012452u, new Vector3(515.8617f, 7.4310913f, -413.59583f), 957) - { - Fly = true - }; - num3 = 6; - List list280 = new List(num3); - CollectionsMarshal.SetCount(list280, num3); - Span span108 = CollectionsMarshal.AsSpan(list280); - span108[0] = null; - span108[1] = null; - span108[2] = null; - span108[3] = null; - span108[4] = null; - span108[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj181.CompletionQuestVariablesFlags = list280; - reference219 = obj181; - obj178.Steps = list276; - reference216 = obj178; - ref QuestSequence reference220 = ref span104[2]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - CollectionsMarshal.AsSpan(list281)[0] = new QuestStep(EInteractionType.Interact, 1041404u, new Vector3(503.9596f, 9.601132f, -368.15448f), 957) - { - Fly = true - }; - obj182.Steps = list281; - reference220 = obj182; - ref QuestSequence reference221 = ref span104[3]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - CollectionsMarshal.AsSpan(list282)[0] = new QuestStep(EInteractionType.Interact, 1041397u, new Vector3(402.30408f, 3.0506973f, -212.35986f), 957) - { - Fly = true - }; - obj183.Steps = list282; - reference221 = obj183; - ref QuestSequence reference222 = ref span104[4]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - ref QuestStep reference223 = ref CollectionsMarshal.AsSpan(list283)[0]; - QuestStep questStep39 = new QuestStep(EInteractionType.Interact, 1041405u, new Vector3(377.67603f, 3.1168795f, -238.57489f), 957); - num3 = 1; - List list284 = new List(num3); - CollectionsMarshal.SetCount(list284, num3); - CollectionsMarshal.AsSpan(list284)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZF102_04494_Q1_000_033"), - Answer = new ExcelRef("TEXT_AKTKZF102_04494_A1_000_001") - }; - questStep39.DialogueChoices = list284; - reference223 = questStep39; - obj184.Steps = list283; - reference222 = obj184; - ref QuestSequence reference224 = ref span104[5]; - QuestSequence obj185 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - CollectionsMarshal.AsSpan(list285)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041397u, new Vector3(402.30408f, 3.0506973f, -212.35986f), 957) - { - NextQuestId = new QuestId(4495) - }; - obj185.Steps = list285; - reference224 = obj185; - questRoot29.QuestSequence = list274; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(4495); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list286 = new List(num); - CollectionsMarshal.SetCount(list286, num); - CollectionsMarshal.AsSpan(list286)[0] = "liza"; - questRoot30.Author = list286; - num = 6; - List list287 = new List(num); - CollectionsMarshal.SetCount(list287, num); - Span span109 = CollectionsMarshal.AsSpan(list287); - ref QuestSequence reference225 = ref span109[0]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - CollectionsMarshal.AsSpan(list288)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041406u, new Vector3(405.02014f, 3.0593626f, -212.90918f), 957); - obj186.Steps = list288; - reference225 = obj186; - ref QuestSequence reference226 = ref span109[1]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - ref QuestStep reference227 = ref CollectionsMarshal.AsSpan(list289)[0]; - QuestStep obj188 = new QuestStep(EInteractionType.Interact, 1041407u, new Vector3(672.5414f, 41.21271f, 145.46423f), 957) - { - Fly = true - }; - num3 = 1; - List list290 = new List(num3); - CollectionsMarshal.SetCount(list290, num3); - CollectionsMarshal.AsSpan(list290)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZF103_04495_Q1_000_016"), - Answer = new ExcelRef("TEXT_AKTKZF103_04495_A1_000_001") - }; - obj188.DialogueChoices = list290; - reference227 = obj188; - obj187.Steps = list289; - reference226 = obj187; - ref QuestSequence reference228 = ref span109[2]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - CollectionsMarshal.AsSpan(list291)[0] = new QuestStep(EInteractionType.Interact, 1041408u, new Vector3(523.7964f, 20.494349f, 346.8833f), 957) - { - Fly = true - }; - obj189.Steps = list291; - reference228 = obj189; - ref QuestSequence reference229 = ref span109[3]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 3 - }; - num2 = 6; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - Span span110 = CollectionsMarshal.AsSpan(list292); - ref QuestStep reference230 = ref span110[0]; - QuestStep obj191 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(573.3712f, 22.500977f, 284.17334f), 957) - { - Fly = true - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 6; - List list293 = new List(num3); - CollectionsMarshal.SetCount(list293, num3); - Span span111 = CollectionsMarshal.AsSpan(list293); - span111[0] = null; - span111[1] = null; - span111[2] = null; - span111[3] = null; - span111[4] = null; - span111[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions5.CompletionQuestVariablesFlags = list293; - skipConditions5.StepIf = skipStepConditions5; - obj191.SkipConditions = skipConditions5; - reference230 = obj191; - ref QuestStep reference231 = ref span110[1]; - QuestStep obj192 = new QuestStep(EInteractionType.Interact, 2012455u, new Vector3(574.91406f, 24.979004f, 284.3518f), 957) - { - IgnoreDistanceToObject = true - }; - num3 = 6; - List list294 = new List(num3); - CollectionsMarshal.SetCount(list294, num3); - Span span112 = CollectionsMarshal.AsSpan(list294); - span112[0] = null; - span112[1] = null; - span112[2] = null; - span112[3] = null; - span112[4] = null; - span112[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj192.CompletionQuestVariablesFlags = list294; - reference231 = obj192; - ref QuestStep reference232 = ref span110[2]; - QuestStep obj193 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(603.8397f, 21.10483f, 233.13884f), 957) - { - Fly = true - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 6; - List list295 = new List(num3); - CollectionsMarshal.SetCount(list295, num3); - Span span113 = CollectionsMarshal.AsSpan(list295); - span113[0] = null; - span113[1] = null; - span113[2] = null; - span113[3] = null; - span113[4] = null; - span113[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions6.CompletionQuestVariablesFlags = list295; - skipConditions6.StepIf = skipStepConditions6; - obj193.SkipConditions = skipConditions6; - reference232 = obj193; - ref QuestStep reference233 = ref span110[3]; - QuestStep questStep40 = new QuestStep(EInteractionType.Interact, 2012457u, new Vector3(604.60803f, 22.903748f, 233.63086f), 957); - num3 = 6; - List list296 = new List(num3); - CollectionsMarshal.SetCount(list296, num3); - Span span114 = CollectionsMarshal.AsSpan(list296); - span114[0] = null; - span114[1] = null; - span114[2] = null; - span114[3] = null; - span114[4] = null; - span114[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep40.CompletionQuestVariablesFlags = list296; - reference233 = questStep40; - ref QuestStep reference234 = ref span110[4]; - QuestStep obj194 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(585.39026f, 36.73129f, 279.6089f), 957) - { - Fly = true - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 6; - List list297 = new List(num3); - CollectionsMarshal.SetCount(list297, num3); - Span span115 = CollectionsMarshal.AsSpan(list297); - span115[0] = null; - span115[1] = null; - span115[2] = null; - span115[3] = null; - span115[4] = null; - span115[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions7.CompletionQuestVariablesFlags = list297; - skipConditions7.StepIf = skipStepConditions7; - obj194.SkipConditions = skipConditions7; - reference234 = obj194; - ref QuestStep reference235 = ref span110[5]; - QuestStep questStep41 = new QuestStep(EInteractionType.Interact, 2012456u, new Vector3(584.0084f, 38.254395f, 278.7976f), 957); - num3 = 6; - List list298 = new List(num3); - CollectionsMarshal.SetCount(list298, num3); - Span span116 = CollectionsMarshal.AsSpan(list298); - span116[0] = null; - span116[1] = null; - span116[2] = null; - span116[3] = null; - span116[4] = null; - span116[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep41.CompletionQuestVariablesFlags = list298; - reference235 = questStep41; - obj190.Steps = list292; - reference229 = obj190; - ref QuestSequence reference236 = ref span109[4]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - CollectionsMarshal.AsSpan(list299)[0] = new QuestStep(EInteractionType.Interact, 1041408u, new Vector3(523.7964f, 20.494349f, 346.8833f), 957) - { - Fly = true - }; - obj195.Steps = list299; - reference236 = obj195; - ref QuestSequence reference237 = ref span109[5]; - QuestSequence obj196 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - ref QuestStep reference238 = ref CollectionsMarshal.AsSpan(list300)[0]; - QuestStep obj197 = new QuestStep(EInteractionType.CompleteQuest, 1041402u, new Vector3(411.06274f, 3.1168792f, -268.6046f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairPalakasStand - }; - num3 = 1; - List list301 = new List(num3); - CollectionsMarshal.SetCount(list301, num3); - CollectionsMarshal.AsSpan(list301)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZF103_04495_Q2_000_045"), - Answer = new ExcelRef("TEXT_AKTKZF103_04495_A2_000_001") - }; - obj197.DialogueChoices = list301; - obj197.NextQuestId = new QuestId(4496); - reference238 = obj197; - obj196.Steps = list300; - reference237 = obj196; - questRoot30.QuestSequence = list287; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(4496); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list302 = new List(num); - CollectionsMarshal.SetCount(list302, num); - CollectionsMarshal.AsSpan(list302)[0] = "liza"; - questRoot31.Author = list302; - num = 6; - List list303 = new List(num); - CollectionsMarshal.SetCount(list303, num); - Span span117 = CollectionsMarshal.AsSpan(list303); - ref QuestSequence reference239 = ref span117[0]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - CollectionsMarshal.AsSpan(list304)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041403u, new Vector3(411.7036f, 3.1168795f, -266.89557f), 957); - obj198.Steps = list304; - reference239 = obj198; - ref QuestSequence reference240 = ref span117[1]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - CollectionsMarshal.AsSpan(list305)[0] = new QuestStep(EInteractionType.Interact, 2012460u, new Vector3(240.52795f, 7.095398f, -556.5729f), 957) - { - Fly = true - }; - obj199.Steps = list305; - reference240 = obj199; - ref QuestSequence reference241 = ref span117[2]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - Span span118 = CollectionsMarshal.AsSpan(list306); - span118[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(274.3244f, 6.2260103f, -553.4195f), 957) - { - Mount = false - }; - span118[1] = new QuestStep(EInteractionType.Interact, 1041410u, new Vector3(271.5343f, 6.226011f, -556.54236f), 957) - { - StopDistance = 5f - }; - obj200.Steps = list306; - reference241 = obj200; - ref QuestSequence reference242 = ref span117[3]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list307 = new List(num2); - CollectionsMarshal.SetCount(list307, num2); - CollectionsMarshal.AsSpan(list307)[0] = new QuestStep(EInteractionType.Interact, 1041397u, new Vector3(402.30408f, 3.0506973f, -212.35986f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairPalakasStand - }; - obj201.Steps = list307; - reference242 = obj201; - ref QuestSequence reference243 = ref span117[4]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - CollectionsMarshal.AsSpan(list308)[0] = new QuestStep(EInteractionType.Interact, 1041401u, new Vector3(411.06274f, 3.1168792f, -268.6046f), 957) - { - Fly = true - }; - obj202.Steps = list308; - reference243 = obj202; - ref QuestSequence reference244 = ref span117[5]; - QuestSequence obj203 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - CollectionsMarshal.AsSpan(list309)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041397u, new Vector3(402.30408f, 3.0506973f, -212.35986f), 957) - { - Fly = true, - NextQuestId = new QuestId(4497) - }; - obj203.Steps = list309; - reference244 = obj203; - questRoot31.QuestSequence = list303; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(4497); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list310 = new List(num); - CollectionsMarshal.SetCount(list310, num); - CollectionsMarshal.AsSpan(list310)[0] = "liza"; - questRoot32.Author = list310; - num = 9; - List list311 = new List(num); - CollectionsMarshal.SetCount(list311, num); - Span span119 = CollectionsMarshal.AsSpan(list311); - ref QuestSequence reference245 = ref span119[0]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - ref QuestStep reference246 = ref CollectionsMarshal.AsSpan(list312)[0]; - QuestStep questStep42 = new QuestStep(EInteractionType.AcceptQuest, 1041397u, new Vector3(402.30408f, 3.0506973f, -212.35986f), 957); - num3 = 1; - List list313 = new List(num3); - CollectionsMarshal.SetCount(list313, num3); - CollectionsMarshal.AsSpan(list313)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZF201_04497_Q1_000_012"), - Answer = new ExcelRef("TEXT_AKTKZF201_04497_A1_000_001") - }; - questStep42.DialogueChoices = list313; - reference246 = questStep42; - obj204.Steps = list312; - reference245 = obj204; - ref QuestSequence reference247 = ref span119[1]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - Span span120 = CollectionsMarshal.AsSpan(list314); - span120[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(191.63799f, 15.136713f, 508.80118f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - span120[1] = new QuestStep(EInteractionType.Interact, 1041332u, new Vector3(194.68982f, 14.118598f, 485.9845f), 957); - obj205.Steps = list314; - reference247 = obj205; - ref QuestSequence reference248 = ref span119[2]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - Span span121 = CollectionsMarshal.AsSpan(list315); - span121[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(191.63799f, 15.136713f, 508.80118f), 957) - { - Mount = true - }; - span121[1] = new QuestStep(EInteractionType.Interact, 1041412u, new Vector3(93.88867f, 8.462445f, 566.0028f), 957) - { - Fly = true - }; - obj206.Steps = list315; - reference248 = obj206; - ref QuestSequence reference249 = ref span119[3]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - ref QuestStep reference250 = ref CollectionsMarshal.AsSpan(list316)[0]; - QuestStep obj208 = new QuestStep(EInteractionType.Combat, null, new Vector3(-282.0419f, 67.704025f, -545.84924f), 957) - { - StopDistance = 1f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list317 = new List(num3); - CollectionsMarshal.SetCount(list317, num3); - CollectionsMarshal.AsSpan(list317)[0] = 14039u; - obj208.KillEnemyDataIds = list317; - reference250 = obj208; - obj207.Steps = list316; - reference249 = obj207; - ref QuestSequence reference251 = ref span119[4]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list318 = new List(num2); - CollectionsMarshal.SetCount(list318, num2); - CollectionsMarshal.AsSpan(list318)[0] = new QuestStep(EInteractionType.Interact, 1041415u, new Vector3(-282.3072f, 67.844055f, -543.1144f), 957) - { - StopDistance = 7f - }; - obj209.Steps = list318; - reference251 = obj209; - ref QuestSequence reference252 = ref span119[5]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list319 = new List(num2); - CollectionsMarshal.SetCount(list319, num2); - CollectionsMarshal.AsSpan(list319)[0] = new QuestStep(EInteractionType.Interact, 1041417u, new Vector3(388.7235f, 22.369963f, -488.42606f), 957) - { - Fly = true - }; - obj210.Steps = list319; - reference252 = obj210; - ref QuestSequence reference253 = ref span119[6]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list320 = new List(num2); - CollectionsMarshal.SetCount(list320, num2); - CollectionsMarshal.AsSpan(list320)[0] = new QuestStep(EInteractionType.Interact, 1041397u, new Vector3(402.30408f, 3.0506973f, -212.35986f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairPalakasStand - }; - obj211.Steps = list320; - reference253 = obj211; - ref QuestSequence reference254 = ref span119[7]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list321 = new List(num2); - CollectionsMarshal.SetCount(list321, num2); - CollectionsMarshal.AsSpan(list321)[0] = new QuestStep(EInteractionType.Interact, 1041421u, new Vector3(401.8158f, 3.0714467f, -214.74023f), 957); - obj212.Steps = list321; - reference254 = obj212; - ref QuestSequence reference255 = ref span119[8]; - QuestSequence obj213 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list322 = new List(num2); - CollectionsMarshal.SetCount(list322, num2); - CollectionsMarshal.AsSpan(list322)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041397u, new Vector3(402.30408f, 3.0506973f, -212.35986f), 957); - obj213.Steps = list322; - reference255 = obj213; - questRoot32.QuestSequence = list311; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(4498); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list323 = new List(num); - CollectionsMarshal.SetCount(list323, num); - CollectionsMarshal.AsSpan(list323)[0] = "liza"; - questRoot33.Author = list323; - num = 5; - List list324 = new List(num); - CollectionsMarshal.SetCount(list324, num); - Span span122 = CollectionsMarshal.AsSpan(list324); - ref QuestSequence reference256 = ref span122[0]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list325 = new List(num2); - CollectionsMarshal.SetCount(list325, num2); - CollectionsMarshal.AsSpan(list325)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041753u, new Vector3(-321.49237f, 22.009079f, 424.00232f), 958); - obj214.Steps = list325; - reference256 = obj214; - ref QuestSequence reference257 = ref span122[1]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list326 = new List(num2); - CollectionsMarshal.SetCount(list326, num2); - CollectionsMarshal.AsSpan(list326)[0] = new QuestStep(EInteractionType.Interact, 1041754u, new Vector3(-340.84082f, 22f, 500.57214f), 958); - obj215.Steps = list326; - reference257 = obj215; - ref QuestSequence reference258 = ref span122[2]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list327 = new List(num2); - CollectionsMarshal.SetCount(list327, num2); - CollectionsMarshal.AsSpan(list327)[0] = new QuestStep(EInteractionType.Interact, 1041754u, new Vector3(-340.84082f, 22f, 500.57214f), 958); - obj216.Steps = list327; - reference258 = obj216; - ref QuestSequence reference259 = ref span122[3]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - Span span123 = CollectionsMarshal.AsSpan(list328); - ref QuestStep reference260 = ref span123[0]; - QuestStep questStep43 = new QuestStep(EInteractionType.Interact, 2012616u, new Vector3(-332.3263f, 22.354431f, 457.7859f), 958); - num3 = 6; - List list329 = new List(num3); - CollectionsMarshal.SetCount(list329, num3); - Span span124 = CollectionsMarshal.AsSpan(list329); - span124[0] = null; - span124[1] = null; - span124[2] = null; - span124[3] = null; - span124[4] = null; - span124[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep43.CompletionQuestVariablesFlags = list329; - reference260 = questStep43; - ref QuestStep reference261 = ref span123[1]; - QuestStep questStep44 = new QuestStep(EInteractionType.Interact, 2012618u, new Vector3(-338.03314f, 23.727722f, 394.88806f), 958); - num3 = 6; - List list330 = new List(num3); - CollectionsMarshal.SetCount(list330, num3); - Span span125 = CollectionsMarshal.AsSpan(list330); - span125[0] = null; - span125[1] = null; - span125[2] = null; - span125[3] = null; - span125[4] = null; - span125[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep44.CompletionQuestVariablesFlags = list330; - reference261 = questStep44; - ref QuestStep reference262 = ref span123[2]; - QuestStep questStep45 = new QuestStep(EInteractionType.Interact, 2012617u, new Vector3(-434.8974f, 22.262878f, 425.58936f), 958); - num3 = 6; - List list331 = new List(num3); - CollectionsMarshal.SetCount(list331, num3); - Span span126 = CollectionsMarshal.AsSpan(list331); - span126[0] = null; - span126[1] = null; - span126[2] = null; - span126[3] = null; - span126[4] = null; - span126[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep45.CompletionQuestVariablesFlags = list331; - reference262 = questStep45; - obj217.Steps = list328; - reference259 = obj217; - ref QuestSequence reference263 = ref span122[4]; - QuestSequence obj218 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list332 = new List(num2); - CollectionsMarshal.SetCount(list332, num2); - CollectionsMarshal.AsSpan(list332)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041755u, new Vector3(-340.35254f, 22f, 502.037f), 958); - obj218.Steps = list332; - reference263 = obj218; - questRoot33.QuestSequence = list324; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(4499); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list333 = new List(num); - CollectionsMarshal.SetCount(list333, num); - CollectionsMarshal.AsSpan(list333)[0] = "goatzone"; - questRoot34.Author = list333; - num = 3; - List list334 = new List(num); - CollectionsMarshal.SetCount(list334, num); - Span span127 = CollectionsMarshal.AsSpan(list334); - ref QuestSequence reference264 = ref span127[0]; - QuestSequence obj219 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list335 = new List(num2); - CollectionsMarshal.SetCount(list335, num2); - ref QuestStep reference265 = ref CollectionsMarshal.AsSpan(list335)[0]; - QuestStep questStep46 = new QuestStep(EInteractionType.AcceptQuest, 1041755u, new Vector3(-340.35254f, 22f, 502.037f), 958); - num3 = 1; - List list336 = new List(num3); - CollectionsMarshal.SetCount(list336, num3); - CollectionsMarshal.AsSpan(list336)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZC102_04499_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZC102_04499_A1_000_002") - }; - questStep46.DialogueChoices = list336; - reference265 = questStep46; - obj219.Steps = list335; - reference264 = obj219; - ref QuestSequence reference266 = ref span127[1]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list337 = new List(num2); - CollectionsMarshal.SetCount(list337, num2); - CollectionsMarshal.AsSpan(list337)[0] = new QuestStep(EInteractionType.Interact, 2012620u, new Vector3(64.68298f, -14.358765f, 395.22388f), 958) - { - Fly = true - }; - obj220.Steps = list337; - reference266 = obj220; - ref QuestSequence reference267 = ref span127[2]; - QuestSequence obj221 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list338 = new List(num2); - CollectionsMarshal.SetCount(list338, num2); - CollectionsMarshal.AsSpan(list338)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041754u, new Vector3(-340.84082f, 22f, 500.57214f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass, - NextQuestId = new QuestId(4500) - }; - obj221.Steps = list338; - reference267 = obj221; - questRoot34.QuestSequence = list334; - AddQuest(questId34, questRoot34); - } - - private static void LoadQuests90() - { - QuestId questId = new QuestId(4500); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "goatzone"; - questRoot.Author = list; - num = 4; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041755u, new Vector3(-340.35254f, 22f, 502.037f), 958); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1040963u, new Vector3(-325.27655f, 22.462305f, 450.49194f), 958); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1041760u, new Vector3(413.87048f, -18.81719f, 612.05444f), 958) - { - Fly = true - }; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - ref QuestStep reference5 = ref CollectionsMarshal.AsSpan(list6)[0]; - QuestStep questStep = new QuestStep(EInteractionType.CompleteQuest, 2012622u, new Vector3(413.35156f, -18.814392f, 614.43494f), 958); - int num3 = 2; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span2 = CollectionsMarshal.AsSpan(list7); - span2[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZC103_04500_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZC103_04500_A1_000_001") - }; - span2[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZC103_04500_Q2_000_000"), - Answer = new ExcelRef("TEXT_AKTKZC103_04500_A2_000_001") - }; - questStep.DialogueChoices = list7; - questStep.NextQuestId = new QuestId(4501); - reference5 = questStep; - obj4.Steps = list6; - reference4 = obj4; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(4501); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - CollectionsMarshal.AsSpan(list8)[0] = "goatzone"; - questRoot2.Author = list8; - num = 5; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - Span span3 = CollectionsMarshal.AsSpan(list9); - ref QuestSequence reference6 = ref span3[0]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041761u, new Vector3(414.51123f, -18.808798f, 613.1837f), 958) - { - Fly = true - }; - obj5.Steps = list10; - reference6 = obj5; - ref QuestSequence reference7 = ref span3[1]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - ref QuestStep reference8 = ref CollectionsMarshal.AsSpan(list11)[0]; - QuestStep obj7 = new QuestStep(EInteractionType.Combat, 2012329u, new Vector3(376.82153f, -18.875488f, 512.65735f), 958) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - Span span4 = CollectionsMarshal.AsSpan(list12); - span4[0] = 14094u; - span4[1] = 14095u; - obj7.KillEnemyDataIds = list12; - reference8 = obj7; - obj6.Steps = list11; - reference7 = obj6; - ref QuestSequence reference9 = ref span3[2]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.Interact, 1041760u, new Vector3(413.87048f, -18.81719f, 612.05444f), 958) - { - Fly = true - }; - obj8.Steps = list13; - reference9 = obj8; - ref QuestSequence reference10 = ref span3[3]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.Interact, 1041761u, new Vector3(414.51123f, -18.808798f, 613.1837f), 958); - obj9.Steps = list14; - reference10 = obj9; - ref QuestSequence reference11 = ref span3[4]; - QuestSequence obj10 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.CompleteQuest, 1040963u, new Vector3(-325.27655f, 22.462305f, 450.49194f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - obj10.Steps = list15; - reference11 = obj10; - questRoot2.QuestSequence = list9; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(4502); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - CollectionsMarshal.AsSpan(list16)[0] = "liza"; - questRoot3.Author = list16; - num = 3; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - Span span5 = CollectionsMarshal.AsSpan(list17); - ref QuestSequence reference12 = ref span5[0]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041765u, new Vector3(-323.4455f, 22f, 487.81555f), 958); - obj11.Steps = list18; - reference12 = obj11; - ref QuestSequence reference13 = ref span5[1]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.Interact, 1041766u, new Vector3(513.6339f, -19.82022f, -309.1936f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldTertium - }; - obj12.Steps = list19; - reference13 = obj12; - ref QuestSequence reference14 = ref span5[2]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041767u, new Vector3(541.03906f, -36.65f, -132.46362f), 958); - obj13.Steps = list20; - reference14 = obj13; - questRoot3.QuestSequence = list17; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(4503); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - CollectionsMarshal.AsSpan(list21)[0] = "goatzone"; - questRoot4.Author = list21; - num = 5; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - Span span6 = CollectionsMarshal.AsSpan(list22); - ref QuestSequence reference15 = ref span6[0]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - ref QuestStep reference16 = ref CollectionsMarshal.AsSpan(list23)[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.AcceptQuest, 1041767u, new Vector3(541.03906f, -36.65f, -132.46362f), 958); - num3 = 1; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - CollectionsMarshal.AsSpan(list24)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZD102_04503_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZD102_04503_A1_000_001") - }; - questStep2.DialogueChoices = list24; - reference16 = questStep2; - obj14.Steps = list23; - reference15 = obj14; - ref QuestSequence reference17 = ref span6[1]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.Interact, 1041769u, new Vector3(215.198f, 10.8f, -104.509094f), 958) - { - Fly = true - }; - obj15.Steps = list25; - reference17 = obj15; - ref QuestSequence reference18 = ref span6[2]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.Interact, 2012623u, new Vector3(168.26111f, 11.36792f, -102.92212f), 958); - obj16.Steps = list26; - reference18 = obj16; - ref QuestSequence reference19 = ref span6[3]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.Interact, 1041769u, new Vector3(215.198f, 10.8f, -104.509094f), 958); - obj17.Steps = list27; - reference19 = obj17; - ref QuestSequence reference20 = ref span6[4]; - QuestSequence obj18 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041767u, new Vector3(541.03906f, -36.65f, -132.46362f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldTertium, - NextQuestId = new QuestId(4504) - }; - obj18.Steps = list28; - reference20 = obj18; - questRoot4.QuestSequence = list22; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(4504); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - CollectionsMarshal.AsSpan(list29)[0] = "goatzone"; - questRoot5.Author = list29; - num = 4; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - Span span7 = CollectionsMarshal.AsSpan(list30); - ref QuestSequence reference21 = ref span7[0]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - ref QuestStep reference22 = ref CollectionsMarshal.AsSpan(list31)[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.AcceptQuest, 1041768u, new Vector3(539.9404f, -36.65f, -132.37207f), 958); - num3 = 1; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - CollectionsMarshal.AsSpan(list32)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZD103_04504_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZD103_04504_A1_000_001") - }; - questStep3.DialogueChoices = list32; - reference22 = questStep3; - obj19.Steps = list31; - reference21 = obj19; - ref QuestSequence reference23 = ref span7[1]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Interact, 1041770u, new Vector3(157.30518f, 23.164677f, -415.36584f), 958) - { - Fly = true - }; - obj20.Steps = list33; - reference23 = obj20; - ref QuestSequence reference24 = ref span7[2]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - ref QuestStep reference25 = ref CollectionsMarshal.AsSpan(list34)[0]; - QuestStep obj22 = new QuestStep(EInteractionType.Combat, 2012331u, new Vector3(150.89636f, 23.147888f, -414.9386f), 958) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - CollectionsMarshal.AsSpan(list35)[0] = 14092u; - obj22.KillEnemyDataIds = list35; - reference25 = obj22; - obj21.Steps = list34; - reference24 = obj21; - ref QuestSequence reference26 = ref span7[3]; - QuestSequence obj23 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - ref QuestStep reference27 = ref CollectionsMarshal.AsSpan(list36)[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.CompleteQuest, 2012629u, new Vector3(155.74878f, 23.147888f, -414.29773f), 958); - num3 = 1; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - CollectionsMarshal.AsSpan(list37)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZD103_04504_Q2_000_000"), - Answer = new ExcelRef("TEXT_AKTKZD103_04504_A2_000_001") - }; - questStep4.DialogueChoices = list37; - questStep4.NextQuestId = new QuestId(4505); - reference27 = questStep4; - obj23.Steps = list36; - reference26 = obj23; - questRoot5.QuestSequence = list30; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(4505); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - CollectionsMarshal.AsSpan(list38)[0] = "goatzone"; - questRoot6.Author = list38; - num = 5; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - Span span8 = CollectionsMarshal.AsSpan(list39); - ref QuestSequence reference28 = ref span8[0]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041770u, new Vector3(157.30518f, 23.164677f, -415.36584f), 958) - { - StopDistance = 7f, - Fly = true - }; - obj24.Steps = list40; - reference28 = obj24; - ref QuestSequence reference29 = ref span8[1]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.Interact, 1041771u, new Vector3(-157.67151f, 10.8f, -530.6325f), 958) - { - Fly = true - }; - obj25.Steps = list41; - reference29 = obj25; - ref QuestSequence reference30 = ref span8[2]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.Interact, 1041773u, new Vector3(-78.446655f, 10.5f, -590.08167f), 958) - { - Fly = true - }; - obj26.Steps = list42; - reference30 = obj26; - ref QuestSequence reference31 = ref span8[3]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.Interact, 1041774u, new Vector3(-44.815796f, 10.8f, -614.40454f), 958); - obj27.Steps = list43; - reference31 = obj27; - ref QuestSequence reference32 = ref span8[4]; - QuestSequence obj28 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - ref QuestStep reference33 = ref CollectionsMarshal.AsSpan(list44)[0]; - QuestStep obj29 = new QuestStep(EInteractionType.CompleteQuest, 1041767u, new Vector3(541.03906f, -36.65f, -132.46362f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldTertium - }; - num3 = 1; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - CollectionsMarshal.AsSpan(list45)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZD104_04505_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZD104_04505_A1_000_002") - }; - obj29.DialogueChoices = list45; - obj29.NextQuestId = new QuestId(4506); - reference33 = obj29; - obj28.Steps = list44; - reference32 = obj28; - questRoot6.QuestSequence = list39; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(4506); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - CollectionsMarshal.AsSpan(list46)[0] = "goatzone"; - questRoot7.Author = list46; - num = 7; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - Span span9 = CollectionsMarshal.AsSpan(list47); - ref QuestSequence reference34 = ref span9[0]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - ref QuestStep reference35 = ref CollectionsMarshal.AsSpan(list48)[0]; - QuestStep obj31 = new QuestStep(EInteractionType.AcceptQuest, 1041776u, new Vector3(541.89355f, -36.65f, -132.64673f), 958) - { - StopDistance = 5f - }; - num3 = 1; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - CollectionsMarshal.AsSpan(list49)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZD201_04506_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKZD201_04506_A1_000_002") - }; - obj31.DialogueChoices = list49; - reference35 = obj31; - obj30.Steps = list48; - reference34 = obj30; - ref QuestSequence reference36 = ref span9[1]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - ref QuestStep reference37 = ref CollectionsMarshal.AsSpan(list50)[0]; - QuestStep obj33 = new QuestStep(EInteractionType.Interact, 1041754u, new Vector3(-340.84082f, 22f, 500.57214f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - num3 = 1; - List list51 = new List(num3); - CollectionsMarshal.SetCount(list51, num3); - CollectionsMarshal.AsSpan(list51)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZD201_04506_Q2_000_000"), - Answer = new ExcelRef("TEXT_AKTKZD201_04506_A2_000_002") - }; - obj33.DialogueChoices = list51; - reference37 = obj33; - obj32.Steps = list50; - reference36 = obj32; - ref QuestSequence reference38 = ref span9[2]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.Interact, 1041778u, new Vector3(-322.10272f, 10.85f, -576.04333f), 958) - { - Fly = true - }; - obj34.Steps = list52; - reference38 = obj34; - ref QuestSequence reference39 = ref span9[3]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.Interact, 2012746u, new Vector3(-580.6211f, 10.482849f, -721.18713f), 958) - { - Fly = true - }; - obj35.Steps = list53; - reference39 = obj35; - ref QuestSequence reference40 = ref span9[4]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - ref QuestStep reference41 = ref CollectionsMarshal.AsSpan(list54)[0]; - QuestStep obj37 = new QuestStep(EInteractionType.Combat, null, new Vector3(-276.31705f, 10.799999f, -592.71124f), 958) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list55 = new List(num3); - CollectionsMarshal.SetCount(list55, num3); - CollectionsMarshal.AsSpan(list55)[0] = 14091u; - obj37.KillEnemyDataIds = list55; - reference41 = obj37; - obj36.Steps = list54; - reference40 = obj36; - ref QuestSequence reference42 = ref span9[5]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.Interact, 1041782u, new Vector3(-274.0063f, 10.8f, -590.41736f), 958); - obj38.Steps = list56; - reference42 = obj38; - ref QuestSequence reference43 = ref span9[6]; - QuestSequence obj39 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - ref QuestStep reference44 = ref CollectionsMarshal.AsSpan(list57)[0]; - QuestStep obj40 = new QuestStep(EInteractionType.CompleteQuest, 1041784u, new Vector3(-342.67188f, 22f, 499.07666f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - num3 = 1; - List list58 = new List(num3); - CollectionsMarshal.SetCount(list58, num3); - CollectionsMarshal.AsSpan(list58)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZD201_04506_Q3_000_000"), - Answer = new ExcelRef("TEXT_AKTKZD201_04506_A3_000_002") - }; - obj40.DialogueChoices = list58; - reference44 = obj40; - obj39.Steps = list57; - reference43 = obj39; - questRoot7.QuestSequence = list47; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(4507); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - CollectionsMarshal.AsSpan(list59)[0] = "liza"; - questRoot8.Author = list59; - num = 5; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - Span span10 = CollectionsMarshal.AsSpan(list60); - ref QuestSequence reference45 = ref span10[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041328u, new Vector3(166.39954f, 9.457411f, 236.34692f), 961); - obj41.Steps = list61; - reference45 = obj41; - ref QuestSequence reference46 = ref span10[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.Interact, 1041329u, new Vector3(233.99707f, 8.289929f, 270.71033f), 961); - obj42.Steps = list62; - reference46 = obj42; - ref QuestSequence reference47 = ref span10[2]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.Interact, 1041329u, new Vector3(233.99707f, 8.289929f, 270.71033f), 961); - obj43.Steps = list63; - reference47 = obj43; - ref QuestSequence reference48 = ref span10[3]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - Span span11 = CollectionsMarshal.AsSpan(list64); - ref QuestStep reference49 = ref span11[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1037947u, new Vector3(115.28186f, 7.385857f, 306.11108f), 961); - num3 = 6; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - Span span12 = CollectionsMarshal.AsSpan(list65); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list65; - reference49 = questStep5; - ref QuestStep reference50 = ref span11[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1037945u, new Vector3(144.79285f, 8.025643f, 202.47192f), 961); - num3 = 6; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - Span span13 = CollectionsMarshal.AsSpan(list66); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list66; - reference50 = questStep6; - ref QuestStep reference51 = ref span11[2]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1037962u, new Vector3(180.8346f, 10.385859f, 113.35925f), 961); - num3 = 6; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - Span span14 = CollectionsMarshal.AsSpan(list67); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list67; - reference51 = questStep7; - obj44.Steps = list64; - reference48 = obj44; - ref QuestSequence reference52 = ref span10[4]; - QuestSequence obj45 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041328u, new Vector3(166.39954f, 9.457411f, 236.34692f), 961); - obj45.Steps = list68; - reference52 = obj45; - questRoot8.QuestSequence = list60; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(4511); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - CollectionsMarshal.AsSpan(list69)[0] = "liza"; - questRoot9.Author = list69; - num = 4; - List list70 = new List(num); - CollectionsMarshal.SetCount(list70, num); - Span span15 = CollectionsMarshal.AsSpan(list70); - ref QuestSequence reference53 = ref span15[0]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041369u, new Vector3(-639.85657f, 162.30406f, -189.47137f), 961); - obj46.Steps = list71; - reference53 = obj46; - ref QuestSequence reference54 = ref span15[1]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - Span span16 = CollectionsMarshal.AsSpan(list72); - span16[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-588.7367f, 158.76302f, -195.30913f), 961); - ref QuestStep reference55 = ref span16[1]; - QuestStep obj48 = new QuestStep(EInteractionType.Combat, null, new Vector3(-318.20203f, 147.32677f, -31.146088f), 961) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - CollectionsMarshal.AsSpan(list73)[0] = 14070u; - obj48.KillEnemyDataIds = list73; - reference55 = obj48; - obj47.Steps = list72; - reference54 = obj47; - ref QuestSequence reference56 = ref span15[2]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.Interact, 1040888u, new Vector3(-320.0885f, 147.4287f, -30.594421f), 961) - { - StopDistance = 5f - }; - obj49.Steps = list74; - reference56 = obj49; - ref QuestSequence reference57 = ref span15[3]; - QuestSequence obj50 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041369u, new Vector3(-639.85657f, 162.30406f, -189.47137f), 961) - { - AetheryteShortcut = EAetheryteLocation.ElpisPoietenOikos - }; - obj50.Steps = list75; - reference57 = obj50; - questRoot9.QuestSequence = list70; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(4516); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - CollectionsMarshal.AsSpan(list76)[0] = "liza"; - questRoot10.Author = list76; - num = 4; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - Span span17 = CollectionsMarshal.AsSpan(list77); - ref QuestSequence reference58 = ref span17[0]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041555u, new Vector3(26.443848f, -129.20917f, -536.9497f), 959); - obj51.Steps = list78; - reference58 = obj51; - ref QuestSequence reference59 = ref span17[1]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.Interact, 1041556u, new Vector3(113.14563f, -133.07352f, -465.17133f), 959); - obj52.Steps = list79; - reference59 = obj52; - ref QuestSequence reference60 = ref span17[2]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - Span span18 = CollectionsMarshal.AsSpan(list80); - ref QuestStep reference61 = ref span18[0]; - QuestStep obj54 = new QuestStep(EInteractionType.Interact, 1041745u, new Vector3(66.23938f, -133.00002f, -432.8222f), 959) - { - Comment = "Cheerful Loporrit" - }; - num3 = 6; - List list81 = new List(num3); - CollectionsMarshal.SetCount(list81, num3); - Span span19 = CollectionsMarshal.AsSpan(list81); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj54.CompletionQuestVariablesFlags = list81; - reference61 = obj54; - ref QuestStep reference62 = ref span18[1]; - QuestStep obj55 = new QuestStep(EInteractionType.Interact, 1041746u, new Vector3(-85.83203f, -133.0356f, -507.1336f), 959) - { - Comment = "Stern Loporrit" - }; - num3 = 6; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - Span span20 = CollectionsMarshal.AsSpan(list82); - span20[0] = null; - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj55.CompletionQuestVariablesFlags = list82; - reference62 = obj55; - ref QuestStep reference63 = ref span18[2]; - QuestStep obj56 = new QuestStep(EInteractionType.Interact, 1041744u, new Vector3(-110.12439f, -133.07341f, -556.7865f), 959) - { - Comment = "Easygoing Loporrit" - }; - num3 = 6; - List list83 = new List(num3); - CollectionsMarshal.SetCount(list83, num3); - Span span21 = CollectionsMarshal.AsSpan(list83); - span21[0] = null; - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj56.CompletionQuestVariablesFlags = list83; - reference63 = obj56; - obj53.Steps = list80; - reference60 = obj53; - ref QuestSequence reference64 = ref span17[3]; - QuestSequence obj57 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - ref QuestStep reference65 = ref CollectionsMarshal.AsSpan(list84)[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.CompleteQuest, 1041556u, new Vector3(113.14563f, -133.07352f, -465.17133f), 959); - num3 = 1; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - CollectionsMarshal.AsSpan(list85)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKZE101_04516_Q3_000_000"), - Answer = new ExcelRef("TEXT_AKTKZE101_04516_A3_000_001") - }; - questStep8.DialogueChoices = list85; - reference65 = questStep8; - obj57.Steps = list84; - reference64 = obj57; - questRoot10.QuestSequence = list77; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(4517); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - CollectionsMarshal.AsSpan(list86)[0] = "liza"; - questRoot11.Author = list86; - num = 6; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - Span span22 = CollectionsMarshal.AsSpan(list87); - ref QuestSequence reference66 = ref span22[0]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041556u, new Vector3(113.14563f, -133.07352f, -465.17133f), 959); - obj58.Steps = list88; - reference66 = obj58; - ref QuestSequence reference67 = ref span22[1]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Interact, 1041557u, new Vector3(292.2865f, -143.99998f, -477.8363f), 959) - { - Fly = true - }; - obj59.Steps = list89; - reference67 = obj59; - ref QuestSequence reference68 = ref span22[2]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - Span span23 = CollectionsMarshal.AsSpan(list90); - span23[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(10.0736885f, 27.10196f, 448.53668f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumSinusLacrimarum - }; - span23[1] = new QuestStep(EInteractionType.Interact, 1041559u, new Vector3(8.743347f, 27.418339f, 447.74548f), 959); - obj60.Steps = list90; - reference68 = obj60; - ref QuestSequence reference69 = ref span22[3]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - Span span24 = CollectionsMarshal.AsSpan(list91); - ref QuestStep reference70 = ref span24[0]; - QuestStep obj62 = new QuestStep(EInteractionType.Interact, 2012508u, new Vector3(-7.4312134f, 42.61841f, 428.27502f), 959) - { - Fly = true - }; - num3 = 6; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - Span span25 = CollectionsMarshal.AsSpan(list92); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj62.CompletionQuestVariablesFlags = list92; - reference70 = obj62; - span24[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-54.65185f, 40.539097f, 458.56393f), 959) - { - Fly = true - }; - ref QuestStep reference71 = ref span24[2]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 2012509u, new Vector3(-56.50421f, 40.299072f, 459.64746f), 959); - num3 = 6; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - Span span26 = CollectionsMarshal.AsSpan(list93); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list93; - reference71 = questStep9; - obj61.Steps = list91; - reference69 = obj61; - ref QuestSequence reference72 = ref span22[4]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - Span span27 = CollectionsMarshal.AsSpan(list94); - span27[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(10.0736885f, 27.10196f, 448.53668f), 959) - { - Fly = true - }; - span27[1] = new QuestStep(EInteractionType.Interact, 1041559u, new Vector3(8.743347f, 27.418339f, 447.74548f), 959); - obj63.Steps = list94; - reference72 = obj63; - ref QuestSequence reference73 = ref span22[5]; - QuestSequence obj64 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041557u, new Vector3(292.2865f, -143.99998f, -477.8363f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow, - NextQuestId = new QuestId(4518) - }; - obj64.Steps = list95; - reference73 = obj64; - questRoot11.QuestSequence = list87; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(4518); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - CollectionsMarshal.AsSpan(list96)[0] = "liza"; - questRoot12.Author = list96; - num = 7; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - Span span28 = CollectionsMarshal.AsSpan(list97); - ref QuestSequence reference74 = ref span28[0]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041558u, new Vector3(291.2489f, -144f, -477.95837f), 959); - obj65.Steps = list98; - reference74 = obj65; - ref QuestSequence reference75 = ref span28[1]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 1041560u, new Vector3(304.219f, 106.43858f, 37.00305f), 959) - { - Fly = true - }; - obj66.Steps = list99; - reference75 = obj66; - ref QuestSequence reference76 = ref span28[2]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.Interact, 1041817u, new Vector3(477.37842f, 140.67236f, 109.453f), 959) - { - Fly = true - }; - obj67.Steps = list100; - reference76 = obj67; - ref QuestSequence reference77 = ref span28[3]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.Interact, 2012510u, new Vector3(477.28687f, 140.64233f, 109.42236f), 959); - obj68.Steps = list101; - reference77 = obj68; - ref QuestSequence reference78 = ref span28[4]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - ref QuestStep reference79 = ref CollectionsMarshal.AsSpan(list102)[0]; - QuestStep obj70 = new QuestStep(EInteractionType.Combat, null, new Vector3(626.34064f, 143.6347f, 58.013206f), 959) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - Span span29 = CollectionsMarshal.AsSpan(list103); - span29[0] = 14098u; - span29[1] = 14099u; - obj70.KillEnemyDataIds = list103; - reference79 = obj70; - obj69.Steps = list102; - reference78 = obj69; - ref QuestSequence reference80 = ref span28[5]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.Interact, 1041561u, new Vector3(625.0857f, 143.85222f, 56.321045f), 959) - { - StopDistance = 5f - }; - obj71.Steps = list104; - reference80 = obj71; - ref QuestSequence reference81 = ref span28[6]; - QuestSequence obj72 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041564u, new Vector3(-338.36884f, -168f, -613.7637f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow, - NextQuestId = new QuestId(4519) - }; - obj72.Steps = list105; - reference81 = obj72; - questRoot12.QuestSequence = list97; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(4519); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list106 = new List(num); - CollectionsMarshal.SetCount(list106, num); - CollectionsMarshal.AsSpan(list106)[0] = "liza"; - questRoot13.Author = list106; - num = 7; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - Span span30 = CollectionsMarshal.AsSpan(list107); - ref QuestSequence reference82 = ref span30[0]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041903u, new Vector3(-332.02112f, -168f, -609.91833f), 959) - { - StopDistance = 6.5f - }; - obj73.Steps = list108; - reference82 = obj73; - ref QuestSequence reference83 = ref span30[1]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.UseItem, 2012512u, new Vector3(-457.29767f, -158.12933f, -585.77856f), 959) - { - Fly = true, - ItemId = 2003328u - }; - obj74.Steps = list109; - reference83 = obj74; - ref QuestSequence reference84 = ref span30[2]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - Span span31 = CollectionsMarshal.AsSpan(list110); - span31[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-325.3802f, -152.73842f, -746.0951f), 959) - { - Fly = true - }; - span31[1] = new QuestStep(EInteractionType.Interact, 2012513u, new Vector3(-326.8025f, -151.26276f, -748.5008f), 959); - obj75.Steps = list110; - reference84 = obj75; - ref QuestSequence reference85 = ref span30[3]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 3 - }; - num2 = 9; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - Span span32 = CollectionsMarshal.AsSpan(list111); - span32[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-356.33234f, -161.8501f, -738.81055f), 959); - span32[1] = new QuestStep(EInteractionType.Jump, null, new Vector3(-428.4264f, -168f, -676.6854f), 959) - { - StopDistance = 1f, - Comment = "Platform 1", - JumpDestination = new JumpDestination - { - Position = new Vector3(-431.76593f, -166.55412f, -679.5478f), - DelaySeconds = 0.1f - } - }; - span32[2] = new QuestStep(EInteractionType.Jump, null, new Vector3(-431.76593f, -166.55412f, -679.5478f), 959) - { - StopDistance = 1f, - Comment = "Platform 2", - JumpDestination = new JumpDestination - { - Position = new Vector3(-430.03564f, -165.05414f, -682.2485f), - DelaySeconds = 0.1f - } - }; - span32[3] = new QuestStep(EInteractionType.Jump, null, new Vector3(-430.03564f, -165.05414f, -682.2485f), 959) - { - StopDistance = 1f, - Comment = "Platform 3", - JumpDestination = new JumpDestination - { - Position = new Vector3(-428.49857f, -163.55414f, -684.8062f), - DelaySeconds = 0.1f - } - }; - span32[4] = new QuestStep(EInteractionType.Jump, null, new Vector3(-428.49857f, -163.55414f, -684.8062f), 959) - { - StopDistance = 1f, - Comment = "Platform 4", - JumpDestination = new JumpDestination - { - Position = new Vector3(-427.48633f, -162.05414f, -687.71533f), - DelaySeconds = 0.1f - } - }; - span32[5] = new QuestStep(EInteractionType.Jump, null, new Vector3(-427.48633f, -162.05414f, -687.71533f), 959) - { - StopDistance = 1f, - Comment = "Platform 5", - JumpDestination = new JumpDestination - { - Position = new Vector3(-427.7118f, -160.55414f, -691.17804f), - DelaySeconds = 0.1f - } - }; - span32[6] = new QuestStep(EInteractionType.Jump, null, new Vector3(-427.7118f, -160.55414f, -691.17804f), 959) - { - StopDistance = 1f, - Comment = "Platform 6", - JumpDestination = new JumpDestination - { - Position = new Vector3(-428.33154f, -159.05412f, -694.7048f), - DelaySeconds = 0.1f - } - }; - span32[7] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-434.91986f, -158.88745f, -693.17865f), 959) - { - DisableNavmesh = true - }; - span32[8] = new QuestStep(EInteractionType.Interact, 2012611u, new Vector3(-450.33954f, -158.12933f, -694.42285f), 959); - obj76.Steps = list111; - reference85 = obj76; - ref QuestSequence reference86 = ref span30[4]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 4 - }; - num2 = 4; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span33 = CollectionsMarshal.AsSpan(list112); - ref QuestStep reference87 = ref span33[0]; - QuestStep obj78 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-548.9189f, -158.88948f, -651.8319f), 959) - { - Fly = true - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - Span span34 = CollectionsMarshal.AsSpan(list113); - span34[0] = null; - span34[1] = null; - span34[2] = null; - span34[3] = null; - span34[4] = null; - span34[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list113; - skipConditions.StepIf = skipStepConditions; - obj78.SkipConditions = skipConditions; - reference87 = obj78; - ref QuestStep reference88 = ref span33[1]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 2012514u, new Vector3(-549.12646f, -158.86176f, -649.2866f), 959); - num3 = 6; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - Span span35 = CollectionsMarshal.AsSpan(list114); - span35[0] = null; - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list114; - reference88 = questStep10; - ref QuestStep reference89 = ref span33[2]; - QuestStep obj79 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-549.3165f, -158.89796f, -468.4637f), 959) - { - Fly = true - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list115 = new List(num3); - CollectionsMarshal.SetCount(list115, num3); - Span span36 = CollectionsMarshal.AsSpan(list115); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list115; - skipConditions2.StepIf = skipStepConditions2; - obj79.SkipConditions = skipConditions2; - reference89 = obj79; - ref QuestStep reference90 = ref span33[3]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 2012515u, new Vector3(-549.157f, -158.89221f, -465.87323f), 959); - num3 = 6; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - Span span37 = CollectionsMarshal.AsSpan(list116); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list116; - reference90 = questStep11; - obj77.Steps = list112; - reference86 = obj77; - ref QuestSequence reference91 = ref span30[5]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.Interact, 1041818u, new Vector3(-295.76562f, -144f, -547.0817f), 959) - { - Fly = true - }; - obj80.Steps = list117; - reference91 = obj80; - ref QuestSequence reference92 = ref span30[6]; - QuestSequence obj81 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.CompleteQuest, 1041819u, new Vector3(-295.64362f, -144f, -546.2882f), 959); - obj81.Steps = list118; - reference92 = obj81; - questRoot13.QuestSequence = list107; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(4521); - QuestRoot questRoot14 = new QuestRoot(); - num = 2; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - Span span38 = CollectionsMarshal.AsSpan(list119); - span38[0] = "JerryWester"; - span38[1] = "Wigglez"; - questRoot14.Author = list119; - num = 5; - List list120 = new List(num); - CollectionsMarshal.SetCount(list120, num); - Span span39 = CollectionsMarshal.AsSpan(list120); - ref QuestSequence reference93 = ref span39[0]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 0 - }; - num2 = 5; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - Span span40 = CollectionsMarshal.AsSpan(list121); - ref QuestStep reference94 = ref span40[0]; - QuestStep obj83 = new QuestStep(EInteractionType.UseItem, null, null, 132) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 2; - List list122 = new List(num3); - CollectionsMarshal.SetCount(list122, num3); - Span span41 = CollectionsMarshal.AsSpan(list122); - span41[0] = 140; - span41[1] = 212; - skipStepConditions3.InTerritory = list122; - skipConditions3.StepIf = skipStepConditions3; - obj83.SkipConditions = skipConditions3; - reference94 = obj83; - ref QuestStep reference95 = ref span40[1]; - QuestStep questStep12 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 1; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - CollectionsMarshal.AsSpan(list123)[0] = 212; - skipStepConditions4.InTerritory = list123; - skipConditions4.StepIf = skipStepConditions4; - questStep12.SkipConditions = skipConditions4; - reference95 = questStep12; - ref QuestStep reference96 = ref span40[2]; - QuestStep obj84 = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 1; - List list124 = new List(num3); - CollectionsMarshal.SetCount(list124, num3); - CollectionsMarshal.AsSpan(list124)[0] = 212; - skipStepConditions5.InTerritory = list124; - skipConditions5.StepIf = skipStepConditions5; - obj84.SkipConditions = skipConditions5; - reference96 = obj84; - span40[3] = new QuestStep(EInteractionType.Interact, 2001715u, new Vector3(23.23944f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - ExtraCondition = EExtraSkipCondition.WakingSandsSolar - } - } - }; - span40[4] = new QuestStep(EInteractionType.AcceptQuest, 1006690u, new Vector3(39.261353f, 1.2148079f, 0.8086548f), 212); - obj82.Steps = list121; - reference93 = obj82; - ref QuestSequence reference97 = ref span39[1]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - Span span42 = CollectionsMarshal.AsSpan(list125); - ref QuestStep reference98 = ref span42[0]; - QuestStep obj86 = new QuestStep(EInteractionType.Interact, 2001717u, new Vector3(25.497803f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212 - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 1; - List list126 = new List(num3); - CollectionsMarshal.SetCount(list126, num3); - CollectionsMarshal.AsSpan(list126)[0] = 140; - skipStepConditions6.InTerritory = list126; - skipConditions6.StepIf = skipStepConditions6; - obj86.SkipConditions = skipConditions6; - reference98 = obj86; - ref QuestStep reference99 = ref span42[1]; - QuestStep obj87 = new QuestStep(EInteractionType.Interact, 2001716u, new Vector3(-15.701599f, 1.083313f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)140 - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 1; - List list127 = new List(num3); - CollectionsMarshal.SetCount(list127, num3); - CollectionsMarshal.AsSpan(list127)[0] = 140; - skipStepConditions7.InTerritory = list127; - skipConditions7.StepIf = skipStepConditions7; - obj87.SkipConditions = skipConditions7; - reference99 = obj87; - span42[2] = new QuestStep(EInteractionType.Interact, 1006578u, new Vector3(-467.27704f, 22.996977f, -475.21173f), 140); - obj85.Steps = list125; - reference97 = obj85; - ref QuestSequence reference100 = ref span39[2]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.Interact, 1006633u, new Vector3(-396.7804f, 27.883184f, -739.3149f), 140); - obj88.Steps = list128; - reference100 = obj88; - ref QuestSequence reference101 = ref span39[3]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 3 - }; - num2 = 5; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - Span span43 = CollectionsMarshal.AsSpan(list129); - span43[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-625.56866f, 61.87613f, -839.6979f), 140); - span43[1] = new QuestStep(EInteractionType.Combat, null, new Vector3(-625.56866f, 61.87613f, -839.6979f), 140) - { - DelaySecondsAtStart = 5f, - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - span43[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-660.1891f, 62.11622f, -809.68207f), 140); - span43[3] = new QuestStep(EInteractionType.Combat, null, new Vector3(-660.1891f, 62.11622f, -809.68207f), 140) - { - DelaySecondsAtStart = 3f, - EnemySpawnType = EEnemySpawnType.FinishCombatIfAny - }; - span43[4] = new QuestStep(EInteractionType.SinglePlayerDuty, 2002252u, new Vector3(-662.25684f, 62.333008f, -805.478f), 140) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj89.Steps = list129; - reference101 = obj89; - ref QuestSequence reference102 = ref span39[4]; - QuestSequence obj90 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.CompleteQuest, 1006578u, new Vector3(-467.27704f, 22.996977f, -475.21173f), 140) - { - StopDistance = 7f - }; - obj90.Steps = list130; - reference102 = obj90; - questRoot14.QuestSequence = list120; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(4522); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list131 = new List(num); - CollectionsMarshal.SetCount(list131, num); - CollectionsMarshal.AsSpan(list131)[0] = "JerryWester"; - questRoot15.Author = list131; - num = 8; - List list132 = new List(num); - CollectionsMarshal.SetCount(list132, num); - Span span44 = CollectionsMarshal.AsSpan(list132); - ref QuestSequence reference103 = ref span44[0]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006657u, new Vector3(-294.81964f, 88f, -225.17743f), 147) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCeruleumProcessingPlant, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj91.Steps = list133; - reference103 = obj91; - ref QuestSequence reference104 = ref span44[1]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.Interact, 1006668u, new Vector3(-115.19043f, 47.372406f, 28.67163f), 147) - { - AetheryteShortcut = EAetheryteLocation.NorthernThanalanCeruleumProcessingPlant - }; - obj92.Steps = list134; - reference104 = obj92; - ref QuestSequence reference105 = ref span44[2]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.Duty, null, null, 147) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 16u - } - }; - obj93.Steps = list135; - reference105 = obj93; - span44[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference106 = ref span44[4]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.Duty, null, null, 1053) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 830u - } - }; - obj94.Steps = list136; - reference106 = obj94; - span44[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference107 = ref span44[6]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1039201u, new Vector3(-704.0055f, -185.66042f, 479.9724f), 1053) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj95.Steps = list137; - reference107 = obj95; - ref QuestSequence reference108 = ref span44[7]; - QuestSequence obj96 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - Span span45 = CollectionsMarshal.AsSpan(list138); - span45[0] = new QuestStep(EInteractionType.Interact, 2001715u, new Vector3(23.25277f, 2.1f, 0f), 212) - { - TargetTerritoryId = (ushort)212 - }; - span45[1] = new QuestStep(EInteractionType.CompleteQuest, 1006692u, new Vector3(39.261353f, 1.2148079f, 0.8086548f), 212); - obj96.Steps = list138; - reference108 = obj96; - questRoot15.QuestSequence = list132; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(4523); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - CollectionsMarshal.AsSpan(list139)[0] = "liza"; - questRoot16.Author = list139; - num = 4; - List list140 = new List(num); - CollectionsMarshal.SetCount(list140, num); - Span span46 = CollectionsMarshal.AsSpan(list140); - ref QuestSequence reference109 = ref span46[0]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042242u, new Vector3(72.43445f, 5.1f, -75.30328f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj97.Steps = list141; - reference109 = obj97; - ref QuestSequence reference110 = ref span46[1]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.Interact, 2012872u, new Vector3(-86.930725f, -12.985474f, 140.30664f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanScholarsHarbor - } - }; - obj98.Steps = list142; - reference110 = obj98; - ref QuestSequence reference111 = ref span46[2]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.Interact, 1042427u, new Vector3(-84.06195f, -13.777f, 140.12354f), 962); - obj99.Steps = list143; - reference111 = obj99; - ref QuestSequence reference112 = ref span46[3]; - QuestSequence obj100 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042428u, new Vector3(222.85791f, 24.942732f, -197.71118f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanScholarsHarbor, - To = EAetheryteLocation.OldSharlayanLeveilleurEstate - } - }; - obj100.Steps = list144; - reference112 = obj100; - questRoot16.QuestSequence = list140; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(4526); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list145 = new List(num); - CollectionsMarshal.SetCount(list145, num); - CollectionsMarshal.AsSpan(list145)[0] = "liza"; - questRoot17.Author = list145; - num = 2; - List list146 = new List(num); - CollectionsMarshal.SetCount(list146, num); - Span span47 = CollectionsMarshal.AsSpan(list146); - ref QuestSequence reference113 = ref span47[0]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - Span span48 = CollectionsMarshal.AsSpan(list147); - span48[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - DisableNavmesh = true - }; - span48[1] = new QuestStep(EInteractionType.AcceptQuest, 1041232u, new Vector3(-0.015319824f, 0f, -7.1870728f), 351); - obj101.Steps = list147; - reference113 = obj101; - ref QuestSequence reference114 = ref span47[1]; - QuestSequence obj102 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - Span span49 = CollectionsMarshal.AsSpan(list148); - span49[0] = new QuestStep(EInteractionType.Interact, 2002879u, new Vector3(0f, 3f, 27.5f), 351) - { - TargetTerritoryId = (ushort)156 - }; - span49[1] = new QuestStep(EInteractionType.CompleteQuest, 1039570u, new Vector3(36.453735f, 29f, -799.7101f), 156); - obj102.Steps = list148; - reference114 = obj102; - questRoot17.QuestSequence = list146; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(4527); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list149 = new List(num); - CollectionsMarshal.SetCount(list149, num); - CollectionsMarshal.AsSpan(list149)[0] = "liza"; - questRoot18.Author = list149; - num = 6; - List list150 = new List(num); - CollectionsMarshal.SetCount(list150, num); - Span span50 = CollectionsMarshal.AsSpan(list150); - ref QuestSequence reference115 = ref span50[0]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039570u, new Vector3(36.453735f, 29f, -799.7101f), 156); - obj103.Steps = list151; - reference115 = obj103; - ref QuestSequence reference116 = ref span50[1]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.Interact, 1037318u, new Vector3(-4.1047363f, 2.9999943f, -203.8758f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanMehrydesMeyhane - } - }; - obj104.Steps = list152; - reference116 = obj104; - ref QuestSequence reference117 = ref span50[2]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - ref QuestStep reference118 = ref CollectionsMarshal.AsSpan(list153)[0]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1039571u, new Vector3(-24.429688f, 3.0099995f, -225.42157f), 963); - num3 = 6; - List list154 = new List(num3); - CollectionsMarshal.SetCount(list154, num3); - Span span51 = CollectionsMarshal.AsSpan(list154); - span51[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMH102_04527_Q9_100_111") - }; - span51[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMH102_04527_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKMH102_04527_A1_000_001") - }; - span51[2] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMH102_04527_Q2_000_000"), - Answer = new ExcelRef("TEXT_AKTKMH102_04527_A2_000_001") - }; - span51[3] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMH102_04527_Q3_000_000"), - Answer = new ExcelRef("TEXT_AKTKMH102_04527_A3_000_001") - }; - span51[4] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMH102_04527_Q4_000_000"), - Answer = new ExcelRef("TEXT_AKTKMH102_04527_A4_000_001") - }; - span51[5] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMH102_04527_Q5_000_000"), - Answer = new ExcelRef("TEXT_AKTKMH102_04527_A5_000_002") - }; - questStep13.DialogueChoices = list154; - reference118 = questStep13; - obj105.Steps = list153; - reference117 = obj105; - ref QuestSequence reference119 = ref span50[3]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.Interact, 1039574u, new Vector3(-13.870483f, 1.51f, -178.14911f), 963); - obj106.Steps = list155; - reference119 = obj106; - ref QuestSequence reference120 = ref span50[4]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.Interact, 1039577u, new Vector3(1.7852783f, -3.2177195E-06f, -13.687378f), 963) - { - StopDistance = 5f - }; - obj107.Steps = list156; - reference120 = obj107; - ref QuestSequence reference121 = ref span50[5]; - QuestSequence obj108 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039578u, new Vector3(-254.50525f, 4.3609705f, 570.94666f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj108.Steps = list157; - reference121 = obj108; - questRoot18.QuestSequence = list150; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(4528); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list158 = new List(num); - CollectionsMarshal.SetCount(list158, num); - CollectionsMarshal.AsSpan(list158)[0] = "liza"; - questRoot19.Author = list158; - num = 5; - List list159 = new List(num); - CollectionsMarshal.SetCount(list159, num); - Span span52 = CollectionsMarshal.AsSpan(list159); - ref QuestSequence reference122 = ref span52[0]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039579u, new Vector3(-251.3009f, 4.388065f, 571.5265f), 957); - obj109.Steps = list160; - reference122 = obj109; - ref QuestSequence reference123 = ref span52[1]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.Interact, 1038588u, new Vector3(-101.76245f, 4.357494f, 0.7476196f), 962) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanBaldesionAnnex - } - }; - obj110.Steps = list161; - reference123 = obj110; - ref QuestSequence reference124 = ref span52[2]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - Span span53 = CollectionsMarshal.AsSpan(list162); - span53[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-350.9551f, 18.999998f, 56.043774f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanBaldesionAnnex, - To = EAetheryteLocation.OldSharlayanStudium - } - }; - span53[1] = new QuestStep(EInteractionType.Interact, 1039581u, new Vector3(-398.45886f, 19f, 92.48486f), 962); - obj111.Steps = list162; - reference124 = obj111; - ref QuestSequence reference125 = ref span52[3]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - Span span54 = CollectionsMarshal.AsSpan(list163); - span54[0] = new QuestStep(EInteractionType.Interact, 1039550u, new Vector3(-620.7218f, -27.670597f, 302.17432f), 956) - { - TargetTerritoryId = (ushort)956, - AetheryteShortcut = EAetheryteLocation.LabyrinthosAporia, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span54[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-431.53903f, -220.1193f, 301.76364f), 956) - { - Fly = true - }; - span54[2] = new QuestStep(EInteractionType.Interact, 1039582u, new Vector3(-325.2461f, -224.27272f, 298.39014f), 956) - { - Fly = false - }; - obj112.Steps = list163; - reference125 = obj112; - ref QuestSequence reference126 = ref span52[4]; - QuestSequence obj113 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039585u, new Vector3(-267.5365f, 0.15800172f, 603.41797f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj113.Steps = list164; - reference126 = obj113; - questRoot19.QuestSequence = list159; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(4529); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list165 = new List(num); - CollectionsMarshal.SetCount(list165, num); - CollectionsMarshal.AsSpan(list165)[0] = "liza"; - questRoot20.Author = list165; - num = 4; - List list166 = new List(num); - CollectionsMarshal.SetCount(list166, num); - Span span55 = CollectionsMarshal.AsSpan(list166); - ref QuestSequence reference127 = ref span55[0]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039586u, new Vector3(-264.5152f, 0.24978253f, 605.6763f), 957); - obj114.Steps = list167; - reference127 = obj114; - ref QuestSequence reference128 = ref span55[1]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - ref QuestStep reference129 = ref CollectionsMarshal.AsSpan(list168)[0]; - QuestStep questStep14 = new QuestStep(EInteractionType.Duty, null, null, 957); - DutyOptions obj116 = new DutyOptions - { - ContentFinderConditionId = 844u - }; - num3 = 1; - List list169 = new List(num3); - CollectionsMarshal.SetCount(list169, num3); - CollectionsMarshal.AsSpan(list169)[0] = "No VBM module"; - obj116.Notes = list169; - questStep14.DutyOptions = obj116; - reference129 = questStep14; - obj115.Steps = list168; - reference128 = obj115; - span55[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference130 = ref span55[3]; - QuestSequence obj117 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039590u, new Vector3(113.69495f, -350.00003f, -72.19049f), 1056) - { - StopDistance = 7f - }; - obj117.Steps = list170; - reference130 = obj117; - questRoot20.QuestSequence = list166; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(4530); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - CollectionsMarshal.AsSpan(list171)[0] = "liza"; - questRoot21.Author = list171; - num = 4; - List list172 = new List(num); - CollectionsMarshal.SetCount(list172, num); - Span span56 = CollectionsMarshal.AsSpan(list172); - ref QuestSequence reference131 = ref span56[0]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039591u, new Vector3(107.71338f, -350f, -73.68585f), 1056) - { - StopDistance = 5f - }; - obj118.Steps = list173; - reference131 = obj118; - ref QuestSequence reference132 = ref span56[1]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.Interact, 1039595u, new Vector3(107.83545f, -350f, -84.82495f), 1056) - { - StopDistance = 5f - }; - obj119.Steps = list174; - reference132 = obj119; - ref QuestSequence reference133 = ref span56[2]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.Interact, 1039600u, new Vector3(142.443f, 4.7837553f, -148.57715f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan - }; - obj120.Steps = list175; - reference133 = obj120; - ref QuestSequence reference134 = ref span56[3]; - QuestSequence obj121 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - ref QuestStep reference135 = ref CollectionsMarshal.AsSpan(list176)[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.CompleteQuest, 1039600u, new Vector3(142.443f, 4.7837553f, -148.57715f), 963); - num3 = 1; - List list177 = new List(num3); - CollectionsMarshal.SetCount(list177, num3); - CollectionsMarshal.AsSpan(list177)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMH105_04530_Q2_000_000"), - Answer = new ExcelRef("TEXT_AKTKMH105_04530_A2_000_001") - }; - questStep15.DialogueChoices = list177; - reference135 = questStep15; - obj121.Steps = list176; - reference134 = obj121; - questRoot21.QuestSequence = list172; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(4531); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list178 = new List(num); - CollectionsMarshal.SetCount(list178, num); - CollectionsMarshal.AsSpan(list178)[0] = "liza"; - questRoot22.Author = list178; - num = 4; - List list179 = new List(num); - CollectionsMarshal.SetCount(list179, num); - Span span57 = CollectionsMarshal.AsSpan(list179); - ref QuestSequence reference136 = ref span57[0]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039600u, new Vector3(142.443f, 4.7837553f, -148.57715f), 963); - obj122.Steps = list180; - reference136 = obj122; - ref QuestSequence reference137 = ref span57[1]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.Interact, 1039589u, new Vector3(-270.25262f, 0.07863108f, 605.9204f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj123.Steps = list181; - reference137 = obj123; - ref QuestSequence reference138 = ref span57[2]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - Span span58 = CollectionsMarshal.AsSpan(list182); - ref QuestStep reference139 = ref span58[0]; - QuestStep obj125 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(169.31848f, 5.3451567f, 633.7924f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions8 = new SkipStepConditions(); - num3 = 6; - List list183 = new List(num3); - CollectionsMarshal.SetCount(list183, num3); - Span span59 = CollectionsMarshal.AsSpan(list183); - span59[0] = null; - span59[1] = null; - span59[2] = null; - span59[3] = null; - span59[4] = null; - span59[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions8.CompletionQuestVariablesFlags = list183; - skipConditions8.StepIf = skipStepConditions8; - obj125.SkipConditions = skipConditions8; - reference139 = obj125; - ref QuestStep reference140 = ref span58[1]; - QuestStep obj126 = new QuestStep(EInteractionType.Interact, 1037631u, new Vector3(166.64368f, 5.34517f, 635.9807f), 957) - { - StopDistance = 5f - }; - num3 = 6; - List list184 = new List(num3); - CollectionsMarshal.SetCount(list184, num3); - Span span60 = CollectionsMarshal.AsSpan(list184); - span60[0] = null; - span60[1] = null; - span60[2] = null; - span60[3] = null; - span60[4] = null; - span60[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj126.CompletionQuestVariablesFlags = list184; - num3 = 1; - List list185 = new List(num3); - CollectionsMarshal.SetCount(list185, num3); - CollectionsMarshal.AsSpan(list185)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMH106_04531_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKMH106_04531_A1_000_002") - }; - obj126.DialogueChoices = list185; - reference140 = obj126; - ref QuestStep reference141 = ref span58[2]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1039606u, new Vector3(215.80823f, 9.935694f, 561.27246f), 957); - num3 = 6; - List list186 = new List(num3); - CollectionsMarshal.SetCount(list186, num3); - Span span61 = CollectionsMarshal.AsSpan(list186); - span61[0] = null; - span61[1] = null; - span61[2] = null; - span61[3] = null; - span61[4] = null; - span61[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list186; - reference141 = questStep16; - obj124.Steps = list182; - reference138 = obj124; - ref QuestSequence reference142 = ref span57[3]; - QuestSequence obj127 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039607u, new Vector3(-342.58032f, 55f, -68.61987f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanMeghaduta - } - }; - obj127.Steps = list187; - reference142 = obj127; - questRoot22.QuestSequence = list179; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(4532); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list188 = new List(num); - CollectionsMarshal.SetCount(list188, num); - CollectionsMarshal.AsSpan(list188)[0] = "liza"; - questRoot23.Author = list188; - num = 7; - List list189 = new List(num); - CollectionsMarshal.SetCount(list189, num); - Span span62 = CollectionsMarshal.AsSpan(list189); - ref QuestSequence reference143 = ref span62[0]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039609u, new Vector3(-343.09918f, 55f, -74.84558f), 963); - obj128.Steps = list190; - reference143 = obj128; - ref QuestSequence reference144 = ref span62[1]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.Interact, 1039611u, new Vector3(124.1626f, 4.856044f, -139.63531f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanMeghaduta, - To = EAetheryteLocation.RadzAtHan - } - }; - obj129.Steps = list191; - reference144 = obj129; - ref QuestSequence reference145 = ref span62[2]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.Interact, 1039614u, new Vector3(-9.536926f, 2.8f, -15.243774f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan - }; - obj130.Steps = list192; - reference145 = obj130; - ref QuestSequence reference146 = ref span62[3]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.Interact, 1039615u, new Vector3(-297.13898f, 20.8f, -189.59338f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanStudium - } - }; - obj131.Steps = list193; - reference146 = obj131; - ref QuestSequence reference147 = ref span62[4]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.Interact, 1039616u, new Vector3(227.06946f, 25.041138f, -159.2279f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanStudium, - To = EAetheryteLocation.OldSharlayanLeveilleurEstate - } - }; - obj132.Steps = list194; - reference147 = obj132; - ref QuestSequence reference148 = ref span62[5]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.Interact, 1039614u, new Vector3(-94.118614f, 3.8989394f, 1.0696089f), 962) - { - StopDistance = 0.25f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanLeveilleurEstate, - To = EAetheryteLocation.OldSharlayanBaldesionAnnex - } - }; - obj133.Steps = list195; - reference148 = obj133; - ref QuestSequence reference149 = ref span62[6]; - QuestSequence obj134 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039617u, new Vector3(-93.91931f, 3.8989394f, -1.1750488f), 962); - obj134.Steps = list196; - reference149 = obj134; - questRoot23.QuestSequence = list189; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(4533); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list197 = new List(num); - CollectionsMarshal.SetCount(list197, num); - CollectionsMarshal.AsSpan(list197)[0] = "liza"; - questRoot24.Author = list197; - num = 8; - List list198 = new List(num); - CollectionsMarshal.SetCount(list198, num); - Span span63 = CollectionsMarshal.AsSpan(list198); - ref QuestSequence reference150 = ref span63[0]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - CollectionsMarshal.AsSpan(list199)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039618u, new Vector3(-95.96399f, 3.933468f, 0.503479f), 962); - obj135.Steps = list199; - reference150 = obj135; - ref QuestSequence reference151 = ref span63[1]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.Interact, 1039619u, new Vector3(-344.625f, 19f, 71.61047f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanBaldesionAnnex, - To = EAetheryteLocation.OldSharlayanStudium - } - }; - obj136.Steps = list200; - reference151 = obj136; - ref QuestSequence reference152 = ref span63[2]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.Interact, 2012844u, new Vector3(-4.3793945f, 5.569519f, 13.809326f), 1057); - obj137.Steps = list201; - reference152 = obj137; - ref QuestSequence reference153 = ref span63[3]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.Interact, 1039620u, new Vector3(-1.5107422f, -7.012859E-07f, -2.609314f), 1057); - obj138.Steps = list202; - reference153 = obj138; - ref QuestSequence reference154 = ref span63[4]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.Interact, 1039622u, new Vector3(-341.78687f, 19f, 69.10803f), 962) - { - StopDistance = 5f - }; - obj139.Steps = list203; - reference154 = obj139; - ref QuestSequence reference155 = ref span63[5]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.Interact, 1039623u, new Vector3(-477.89734f, 4.678896f, 29.55664f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj140.Steps = list204; - reference155 = obj140; - ref QuestSequence reference156 = ref span63[6]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 6 - }; - num2 = 3; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - Span span64 = CollectionsMarshal.AsSpan(list205); - span64[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(242.9973f, 1.2090492f, 118.133255f), 957) - { - StopDistance = 4f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairPalakasStand, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span64[1] = new QuestStep(EInteractionType.Interact, 2012847u, new Vector3(242.08435f, 0.3508911f, 119.43237f), 957) - { - Mount = false, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span64[2] = new QuestStep(EInteractionType.Interact, 2012847u, new Vector3(242.08435f, 0.3508911f, 119.43237f), 957) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - obj141.Steps = list205; - reference156 = obj141; - ref QuestSequence reference157 = ref span63[7]; - QuestSequence obj142 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039624u, new Vector3(-478.38562f, 4.7772117f, 26.779541f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj142.Steps = list206; - reference157 = obj142; - questRoot24.QuestSequence = list198; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(4534); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - CollectionsMarshal.AsSpan(list207)[0] = "liza"; - questRoot25.Author = list207; - num = 4; - List list208 = new List(num); - CollectionsMarshal.SetCount(list208, num); - Span span65 = CollectionsMarshal.AsSpan(list208); - ref QuestSequence reference158 = ref span65[0]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039624u, new Vector3(-478.38562f, 4.7772117f, 26.779541f), 957); - obj143.Steps = list209; - reference158 = obj143; - ref QuestSequence reference159 = ref span65[1]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - ref QuestStep reference160 = ref CollectionsMarshal.AsSpan(list210)[0]; - QuestStep obj145 = new QuestStep(EInteractionType.Interact, 1039627u, new Vector3(-270.25262f, 0.07863108f, 605.9204f), 957) - { - Fly = true - }; - num3 = 1; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - CollectionsMarshal.AsSpan(list211)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMH109_04534_Q2_000_120") - }; - obj145.DialogueChoices = list211; - reference160 = obj145; - obj144.Steps = list210; - reference159 = obj144; - ref QuestSequence reference161 = ref span65[2]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - CollectionsMarshal.AsSpan(list212)[0] = new QuestStep(EInteractionType.Interact, 1039632u, new Vector3(106.614746f, -350f, -78.56879f), 1056); - obj146.Steps = list212; - reference161 = obj146; - ref QuestSequence reference162 = ref span65[3]; - QuestSequence obj147 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - CollectionsMarshal.AsSpan(list213)[0] = new QuestStep(EInteractionType.CompleteQuest, 2012837u, new Vector3(110.03284f, -350.02673f, -82.90228f), 1056); - obj147.Steps = list213; - reference162 = obj147; - questRoot25.QuestSequence = list208; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(4535); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list214 = new List(num); - CollectionsMarshal.SetCount(list214, num); - CollectionsMarshal.AsSpan(list214)[0] = "liza"; - questRoot26.Author = list214; - num = 5; - List list215 = new List(num); - CollectionsMarshal.SetCount(list215, num); - Span span66 = CollectionsMarshal.AsSpan(list215); - ref QuestSequence reference163 = ref span66[0]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - CollectionsMarshal.AsSpan(list216)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039633u, new Vector3(111.46704f, -350f, -83.14642f), 1056) - { - StopDistance = 5f - }; - obj148.Steps = list216; - reference163 = obj148; - ref QuestSequence reference164 = ref span66[1]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.Interact, 1039636u, new Vector3(114.27478f, 0.65204185f, 7.4310913f), 635); - obj149.Steps = list217; - reference164 = obj149; - ref QuestSequence reference165 = ref span66[2]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - CollectionsMarshal.AsSpan(list218)[0] = new QuestStep(EInteractionType.Interact, 1039638u, new Vector3(-511.6503f, 11.97528f, 108.11011f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj150.Steps = list218; - reference165 = obj150; - ref QuestSequence reference166 = ref span66[3]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - ref QuestStep reference167 = ref CollectionsMarshal.AsSpan(list219)[0]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1039639u, new Vector3(-513.6644f, 11.97528f, 106.06543f), 957); - num3 = 1; - List list220 = new List(num3); - CollectionsMarshal.SetCount(list220, num3); - CollectionsMarshal.AsSpan(list220)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMH110_04535_Q2_000_000"), - Answer = new ExcelRef("TEXT_AKTKMH110_04535_A2_000_001") - }; - questStep17.DialogueChoices = list220; - reference167 = questStep17; - obj151.Steps = list219; - reference166 = obj151; - ref QuestSequence reference168 = ref span66[4]; - QuestSequence obj152 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039645u, new Vector3(-338.33832f, 55f, -68.40625f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanMeghaduta - } - }; - obj152.Steps = list221; - reference168 = obj152; - questRoot26.QuestSequence = list215; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(4536); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list222 = new List(num); - CollectionsMarshal.SetCount(list222, num); - CollectionsMarshal.AsSpan(list222)[0] = "liza"; - questRoot27.Author = list222; - num = 7; - List list223 = new List(num); - CollectionsMarshal.SetCount(list223, num); - Span span67 = CollectionsMarshal.AsSpan(list223); - ref QuestSequence reference169 = ref span67[0]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042267u, new Vector3(-104.997375f, 3.8989396f, 13.290527f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanBaldesionAnnex - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj153.Steps = list224; - reference169 = obj153; - ref QuestSequence reference170 = ref span67[1]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.Interact, 2012860u, new Vector3(42.160645f, 20.462341f, -683.1617f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj154.Steps = list225; - reference170 = obj154; - ref QuestSequence reference171 = ref span67[2]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - CollectionsMarshal.AsSpan(list226)[0] = new QuestStep(EInteractionType.Interact, 1042268u, new Vector3(178.5763f, -15.5223675f, -496.14713f), 156) - { - Fly = true - }; - obj155.Steps = list226; - reference171 = obj155; - span67[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference172 = ref span67[4]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.Interact, 1042269u, new Vector3(1.449585f, 0.05000399f, -18.661804f), 1061); - obj156.Steps = list227; - reference172 = obj156; - ref QuestSequence reference173 = ref span67[5]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - Span span68 = CollectionsMarshal.AsSpan(list228); - ref QuestStep reference174 = ref span68[0]; - QuestStep obj158 = new QuestStep(EInteractionType.Interact, 2012863u, new Vector3(0.1327076f, 2.960754f, 6.778096f), 1061) - { - StopDistance = 5f, - IgnoreDistanceToObject = true - }; - num3 = 6; - List list229 = new List(num3); - CollectionsMarshal.SetCount(list229, num3); - Span span69 = CollectionsMarshal.AsSpan(list229); - span69[0] = null; - span69[1] = null; - span69[2] = null; - span69[3] = null; - span69[4] = null; - span69[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj158.CompletionQuestVariablesFlags = list229; - reference174 = obj158; - ref QuestStep reference175 = ref span68[1]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 2012865u, new Vector3(-21.21936f, 0.7837547f, -58.66461f), 1061); - num3 = 6; - List list230 = new List(num3); - CollectionsMarshal.SetCount(list230, num3); - Span span70 = CollectionsMarshal.AsSpan(list230); - span70[0] = null; - span70[1] = null; - span70[2] = null; - span70[3] = null; - span70[4] = null; - span70[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list230; - reference175 = questStep18; - ref QuestStep reference176 = ref span68[2]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 2012864u, new Vector3(59.830566f, 5.0201416f, 69.10803f), 1061); - num3 = 6; - List list231 = new List(num3); - CollectionsMarshal.SetCount(list231, num3); - Span span71 = CollectionsMarshal.AsSpan(list231); - span71[0] = null; - span71[1] = null; - span71[2] = null; - span71[3] = null; - span71[4] = null; - span71[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list231; - reference176 = questStep19; - obj157.Steps = list228; - reference173 = obj157; - ref QuestSequence reference177 = ref span67[6]; - QuestSequence obj159 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042273u, new Vector3(3.5248413f, 0.0999997f, 14.145081f), 1061) - { - NextQuestId = new QuestId(4537) - }; - obj159.Steps = list232; - reference177 = obj159; - questRoot27.QuestSequence = list223; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(4537); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list233 = new List(num); - CollectionsMarshal.SetCount(list233, num); - CollectionsMarshal.AsSpan(list233)[0] = "liza"; - questRoot28.Author = list233; - num = 4; - List list234 = new List(num); - CollectionsMarshal.SetCount(list234, num); - Span span72 = CollectionsMarshal.AsSpan(list234); - ref QuestSequence reference178 = ref span72[0]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042275u, new Vector3(5.7526245f, 0.0999997f, 11.703674f), 1061) - { - StopDistance = 5f - }; - obj160.Steps = list235; - reference178 = obj160; - ref QuestSequence reference179 = ref span72[1]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.Interact, 1042276u, new Vector3(45.76172f, 0.05f, 6.9733276f), 1061); - obj161.Steps = list236; - reference179 = obj161; - ref QuestSequence reference180 = ref span72[2]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - CollectionsMarshal.AsSpan(list237)[0] = new QuestStep(EInteractionType.Duty, null, null, 1061) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 866u - } - }; - obj162.Steps = list237; - reference180 = obj162; - ref QuestSequence reference181 = ref span72[3]; - QuestSequence obj163 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042278u, new Vector3(12.130859f, 0.0999997f, -0.83929443f), 1061) - { - StopDistance = 5f, - NextQuestId = new QuestId(4538) - }; - obj163.Steps = list238; - reference181 = obj163; - questRoot28.QuestSequence = list234; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(4538); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list239 = new List(num); - CollectionsMarshal.SetCount(list239, num); - CollectionsMarshal.AsSpan(list239)[0] = "liza"; - questRoot29.Author = list239; - num = 6; - List list240 = new List(num); - CollectionsMarshal.SetCount(list240, num); - Span span73 = CollectionsMarshal.AsSpan(list240); - ref QuestSequence reference182 = ref span73[0]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042278u, new Vector3(12.130859f, 0.0999997f, -0.83929443f), 1061) - { - StopDistance = 5f - }; - obj164.Steps = list241; - reference182 = obj164; - ref QuestSequence reference183 = ref span73[1]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - CollectionsMarshal.AsSpan(list242)[0] = new QuestStep(EInteractionType.Interact, 1042279u, new Vector3(13.290527f, 0.099999696f, -2.243164f), 1061); - obj165.Steps = list242; - reference183 = obj165; - ref QuestSequence reference184 = ref span73[2]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.Interact, 2012867u, new Vector3(-3.2197266f, 2.7313232f, -40.665344f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach - }; - obj166.Steps = list243; - reference184 = obj166; - ref QuestSequence reference185 = ref span73[3]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - Span span74 = CollectionsMarshal.AsSpan(list244); - ref QuestStep reference186 = ref span74[0]; - QuestStep obj168 = new QuestStep(EInteractionType.Interact, 2012866u, new Vector3(-0.015319824f, 6.6376343f, -78.81293f), 635) - { - StopDistance = 5f, - IgnoreDistanceToObject = true - }; - num3 = 6; - List list245 = new List(num3); - CollectionsMarshal.SetCount(list245, num3); - Span span75 = CollectionsMarshal.AsSpan(list245); - span75[0] = null; - span75[1] = null; - span75[2] = null; - span75[3] = null; - span75[4] = null; - span75[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj168.CompletionQuestVariablesFlags = list245; - reference186 = obj168; - ref QuestStep reference187 = ref span74[1]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 1042283u, new Vector3(-59.250793f, -4.6778445E-15f, -29.984009f), 635); - num3 = 6; - List list246 = new List(num3); - CollectionsMarshal.SetCount(list246, num3); - Span span76 = CollectionsMarshal.AsSpan(list246); - span76[0] = null; - span76[1] = null; - span76[2] = null; - span76[3] = null; - span76[4] = null; - span76[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep20.CompletionQuestVariablesFlags = list246; - reference187 = questStep20; - ref QuestStep reference188 = ref span74[2]; - QuestStep obj169 = new QuestStep(EInteractionType.Interact, 1042284u, new Vector3(208.69751f, 13.5620365f, -140.30676f), 635) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RhalgrsReachWest, - To = EAetheryteLocation.RhalgrsReachNorthEast - } - }; - num3 = 6; - List list247 = new List(num3); - CollectionsMarshal.SetCount(list247, num3); - Span span77 = CollectionsMarshal.AsSpan(list247); - span77[0] = null; - span77[1] = null; - span77[2] = null; - span77[3] = null; - span77[4] = null; - span77[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj169.CompletionQuestVariablesFlags = list247; - reference188 = obj169; - obj167.Steps = list244; - reference185 = obj167; - ref QuestSequence reference189 = ref span73[4]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.Interact, 2012867u, new Vector3(-3.2197266f, 2.7313232f, -40.665344f), 635); - obj170.Steps = list248; - reference189 = obj170; - ref QuestSequence reference190 = ref span73[5]; - QuestSequence obj171 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042285u, new Vector3(-4.623535f, 2.745737f, -39.505676f), 635) - { - StopDistance = 5f, - NextQuestId = new QuestId(4539) - }; - obj171.Steps = list249; - reference190 = obj171; - questRoot29.QuestSequence = list240; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(4539); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list250 = new List(num); - CollectionsMarshal.SetCount(list250, num); - CollectionsMarshal.AsSpan(list250)[0] = "liza"; - questRoot30.Author = list250; - num = 8; - List list251 = new List(num); - CollectionsMarshal.SetCount(list251, num); - Span span78 = CollectionsMarshal.AsSpan(list251); - ref QuestSequence reference191 = ref span78[0]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - CollectionsMarshal.AsSpan(list252)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042285u, new Vector3(-4.623535f, 2.745737f, -39.505676f), 635) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj172.Steps = list252; - reference191 = obj172; - ref QuestSequence reference192 = ref span78[1]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - CollectionsMarshal.AsSpan(list253)[0] = new QuestStep(EInteractionType.Interact, 1042286u, new Vector3(-207.04968f, 18f, 87.84619f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - } - }; - obj173.Steps = list253; - reference192 = obj173; - ref QuestSequence reference193 = ref span78[2]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.Interact, 1042287u, new Vector3(-164.47705f, 14.004999f, 49.576538f), 130); - obj174.Steps = list254; - reference193 = obj174; - ref QuestSequence reference194 = ref span78[3]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - Span span79 = CollectionsMarshal.AsSpan(list255); - span79[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-157.07425f, 24.884384f, -354.37775f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - }; - span79[1] = new QuestStep(EInteractionType.Interact, 1042288u, new Vector3(153.09375f, 10.362769f, -436.88104f), 146) - { - Fly = true - }; - obj175.Steps = list255; - reference194 = obj175; - ref QuestSequence reference195 = ref span78[4]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - Span span80 = CollectionsMarshal.AsSpan(list256); - span80[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(135.51227f, 10.850319f, -487.7127f), 146) - { - Fly = true - }; - span80[1] = new QuestStep(EInteractionType.Interact, 2012869u, new Vector3(137.4685f, 10.696533f, -488.36502f), 146); - obj176.Steps = list256; - reference195 = obj176; - ref QuestSequence reference196 = ref span78[5]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.Interact, 1042288u, new Vector3(153.09375f, 10.362769f, -436.88104f), 146) - { - Fly = true - }; - obj177.Steps = list257; - reference196 = obj177; - ref QuestSequence reference197 = ref span78[6]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - Span span81 = CollectionsMarshal.AsSpan(list258); - span81[0] = new QuestStep(EInteractionType.Interact, 2012870u, new Vector3(154.46704f, -26.29132f, -437.46094f), 156) - { - StopDistance = 1f, - TargetTerritoryId = (ushort)1061, - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span81[1] = new QuestStep(EInteractionType.Interact, 1042281u, new Vector3(1.9378662f, 0.099999696f, -0.44250488f), 1061); - obj178.Steps = list258; - reference197 = obj178; - ref QuestSequence reference198 = ref span78[7]; - QuestSequence obj179 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - CollectionsMarshal.AsSpan(list259)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042264u, new Vector3(124.22363f, 19.32629f, -617.42584f), 156) - { - Fly = true, - NextQuestId = new QuestId(4666) - }; - obj179.Steps = list259; - reference198 = obj179; - questRoot30.QuestSequence = list251; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(4542); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list260 = new List(num); - CollectionsMarshal.SetCount(list260, num); - CollectionsMarshal.AsSpan(list260)[0] = "liza"; - questRoot31.Author = list260; - num = 7; - List list261 = new List(num); - CollectionsMarshal.SetCount(list261, num); - Span span82 = CollectionsMarshal.AsSpan(list261); - ref QuestSequence reference199 = ref span82[0]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - ref QuestStep reference200 = ref CollectionsMarshal.AsSpan(list262)[0]; - QuestStep obj181 = new QuestStep(EInteractionType.AcceptQuest, 1042487u, new Vector3(32.272827f, -4.4237822E-07f, -0.7477417f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan - }; - num3 = 1; - List list263 = new List(num3); - CollectionsMarshal.SetCount(list263, num3); - CollectionsMarshal.AsSpan(list263)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CHRHDB811_04542_Q4_000_000"), - Answer = new ExcelRef("TEXT_CHRHDB811_04542_A4_000_001") - }; - obj181.DialogueChoices = list263; - reference200 = obj181; - obj180.Steps = list262; - reference199 = obj180; - ref QuestSequence reference201 = ref span82[1]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.Interact, 1042488u, new Vector3(150.68274f, 4.783756f, -145.00653f), 963); - obj182.Steps = list264; - reference201 = obj182; - ref QuestSequence reference202 = ref span82[2]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.Interact, 1042489u, new Vector3(147.75305f, 27.06f, 36.057007f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanKama - } - }; - obj183.Steps = list265; - reference202 = obj183; - ref QuestSequence reference203 = ref span82[3]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - CollectionsMarshal.AsSpan(list266)[0] = new QuestStep(EInteractionType.Interact, 1027322u, new Vector3(-20.126648f, 3.9998171f, 204.24194f), 819) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumPendants - } - }; - obj184.Steps = list266; - reference203 = obj184; - ref QuestSequence reference204 = ref span82[4]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 4 - }; - num2 = 7; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - Span span83 = CollectionsMarshal.AsSpan(list267); - span83[0] = new QuestStep(EInteractionType.None, null, null, 819) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.CrystariumPendants, - To = EAetheryteLocation.CrystariumTessellation - } - }; - span83[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(55.589294f, 2.0276523f, 669.1557f), 813) - { - Comment = "these bridges have navmesh problems", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span83[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(15.410904f, 2.2598603f, 677.3755f), 813) - { - DisableNavmesh = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span83[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-82.79376f, 11.970126f, 765.8721f), 813) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - ref QuestStep reference205 = ref span83[4]; - QuestStep obj186 = new QuestStep(EInteractionType.Interact, 1042493u, new Vector3(-106.73688f, 14.173656f, 756.4354f), 813) - { - Fly = true - }; - num3 = 6; - List list268 = new List(num3); - CollectionsMarshal.SetCount(list268, num3); - Span span84 = CollectionsMarshal.AsSpan(list268); - span84[0] = null; - span84[1] = null; - span84[2] = null; - span84[3] = null; - span84[4] = null; - span84[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj186.CompletionQuestVariablesFlags = list268; - reference205 = obj186; - ref QuestStep reference206 = ref span83[5]; - QuestStep obj187 = new QuestStep(EInteractionType.Interact, 1042491u, new Vector3(-137.22437f, 9.572956f, 708.3999f), 813) - { - StopDistance = 1f, - Fly = true - }; - num3 = 6; - List list269 = new List(num3); - CollectionsMarshal.SetCount(list269, num3); - Span span85 = CollectionsMarshal.AsSpan(list269); - span85[0] = null; - span85[1] = null; - span85[2] = null; - span85[3] = null; - span85[4] = null; - span85[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj187.CompletionQuestVariablesFlags = list269; - reference206 = obj187; - ref QuestStep reference207 = ref span83[6]; - QuestStep obj188 = new QuestStep(EInteractionType.Interact, 1042492u, new Vector3(-218.76862f, 1.9084097f, 756.16077f), 813) - { - Fly = true - }; - num3 = 6; - List list270 = new List(num3); - CollectionsMarshal.SetCount(list270, num3); - Span span86 = CollectionsMarshal.AsSpan(list270); - span86[0] = null; - span86[1] = null; - span86[2] = null; - span86[3] = null; - span86[4] = null; - span86[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj188.CompletionQuestVariablesFlags = list270; - reference207 = obj188; - obj185.Steps = list267; - reference204 = obj185; - ref QuestSequence reference208 = ref span82[5]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - Span span87 = CollectionsMarshal.AsSpan(list271); - span87[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-82.79376f, 11.970126f, 765.8721f), 813) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span87[1] = new QuestStep(EInteractionType.Interact, 1042494u, new Vector3(-54.032227f, 2.015483f, 677.9125f), 813); - obj189.Steps = list271; - reference208 = obj189; - ref QuestSequence reference209 = ref span82[6]; - QuestSequence obj190 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - Span span88 = CollectionsMarshal.AsSpan(list272); - span88[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(15.410904f, 2.2598603f, 677.3755f), 813) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span88[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(55.589294f, 2.0276523f, 669.1557f), 813) - { - DisableNavmesh = true, - Comment = "these bridges have navmesh problems", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span88[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(105.453514f, -1.5952542f, 604.3535f), 813) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span88[3] = new QuestStep(EInteractionType.CompleteQuest, 1042497u, new Vector3(220.7522f, 12.699311f, 229.84656f), 813) - { - Fly = true, - NextQuestId = new QuestId(4543) - }; - obj190.Steps = list272; - reference209 = obj190; - questRoot31.QuestSequence = list261; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(4543); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list273 = new List(num); - CollectionsMarshal.SetCount(list273, num); - CollectionsMarshal.AsSpan(list273)[0] = "liza"; - questRoot32.Author = list273; - num = 11; - List list274 = new List(num); - CollectionsMarshal.SetCount(list274, num); - Span span89 = CollectionsMarshal.AsSpan(list274); - ref QuestSequence reference210 = ref span89[0]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - ref QuestStep reference211 = ref CollectionsMarshal.AsSpan(list275)[0]; - QuestStep obj192 = new QuestStep(EInteractionType.AcceptQuest, 1042499u, new Vector3(217.51733f, 12.445339f, 228.44275f), 813) - { - StopDistance = 5f - }; - num3 = 1; - List list276 = new List(num3); - CollectionsMarshal.SetCount(list276, num3); - CollectionsMarshal.AsSpan(list276)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CHRHDB812_04543_Q1_000_000"), - Answer = new ExcelRef("TEXT_CHRHDB812_04543_A1_000_002") - }; - obj192.DialogueChoices = list276; - reference211 = obj192; - obj191.Steps = list275; - reference210 = obj191; - ref QuestSequence reference212 = ref span89[1]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - CollectionsMarshal.AsSpan(list277)[0] = new QuestStep(EInteractionType.Interact, 1042502u, new Vector3(-57.38922f, -36.72638f, -254.53583f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumCabinetOfCuriosity - } - }; - obj193.Steps = list277; - reference212 = obj193; - ref QuestSequence reference213 = ref span89[2]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - CollectionsMarshal.AsSpan(list278)[0] = new QuestStep(EInteractionType.Interact, 1042505u, new Vector3(148.11926f, 27.06f, 36.240112f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanKama - } - }; - obj194.Steps = list278; - reference213 = obj194; - ref QuestSequence reference214 = ref span89[3]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - Span span90 = CollectionsMarshal.AsSpan(list279); - ref QuestStep reference215 = ref span90[0]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1037341u, new Vector3(133.77576f, 26.99999f, 12.405518f), 963); - num3 = 6; - List list280 = new List(num3); - CollectionsMarshal.SetCount(list280, num3); - Span span91 = CollectionsMarshal.AsSpan(list280); - span91[0] = null; - span91[1] = null; - span91[2] = null; - span91[3] = null; - span91[4] = null; - span91[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep21.CompletionQuestVariablesFlags = list280; - reference215 = questStep21; - ref QuestStep reference216 = ref span90[1]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1037352u, new Vector3(112.10791f, 26.99999f, 25.253662f), 963); - num3 = 6; - List list281 = new List(num3); - CollectionsMarshal.SetCount(list281, num3); - Span span92 = CollectionsMarshal.AsSpan(list281); - span92[0] = null; - span92[1] = null; - span92[2] = null; - span92[3] = null; - span92[4] = null; - span92[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep22.CompletionQuestVariablesFlags = list281; - reference216 = questStep22; - obj195.Steps = list279; - reference214 = obj195; - ref QuestSequence reference217 = ref span89[4]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - CollectionsMarshal.AsSpan(list282)[0] = new QuestStep(EInteractionType.Interact, 1042506u, new Vector3(126.11572f, 26.999989f, 32.76111f), 963); - obj196.Steps = list282; - reference217 = obj196; - ref QuestSequence reference218 = ref span89[5]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.Interact, 1042508u, new Vector3(126.11572f, 26.999989f, 32.76111f), 963); - obj197.Steps = list283; - reference218 = obj197; - ref QuestSequence reference219 = ref span89[6]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - CollectionsMarshal.AsSpan(list284)[0] = new QuestStep(EInteractionType.Interact, 1037324u, new Vector3(-4.257263f, 27f, 36.362183f), 963); - obj198.Steps = list284; - reference219 = obj198; - ref QuestSequence reference220 = ref span89[7]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - Span span93 = CollectionsMarshal.AsSpan(list285); - span93[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-3.0175605f, 27f, 36.584843f), 963) - { - StopDistance = 0.5f, - JumpDestination = new JumpDestination - { - Position = new Vector3(-3.6922705f, -1.9999962f, 52.106045f) - } - }; - span93[1] = new QuestStep(EInteractionType.Interact, 1042509u, new Vector3(-29.373718f, -1.9999962f, 130.93762f), 963); - obj199.Steps = list285; - reference220 = obj199; - ref QuestSequence reference221 = ref span89[8]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - CollectionsMarshal.AsSpan(list286)[0] = new QuestStep(EInteractionType.Interact, 1042510u, new Vector3(-337.57538f, 3.2215352f, 365.7129f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj200.Steps = list286; - reference221 = obj200; - ref QuestSequence reference222 = ref span89[9]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - CollectionsMarshal.AsSpan(list287)[0] = new QuestStep(EInteractionType.Interact, 1042511u, new Vector3(-376.669f, 1.1651754f, 379.23242f), 957) - { - StopDistance = 5f - }; - obj201.Steps = list287; - reference222 = obj201; - ref QuestSequence reference223 = ref span89[10]; - QuestSequence obj202 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - CollectionsMarshal.AsSpan(list288)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042512u, new Vector3(31.387817f, -5.021957E-07f, -0.65618896f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - NextQuestId = new QuestId(4641) - }; - obj202.Steps = list288; - reference223 = obj202; - questRoot32.QuestSequence = list274; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(4545); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list289 = new List(num); - CollectionsMarshal.SetCount(list289, num); - CollectionsMarshal.AsSpan(list289)[0] = "liza"; - questRoot33.Author = list289; - num = 9; - List list290 = new List(num); - CollectionsMarshal.SetCount(list290, num); - Span span94 = CollectionsMarshal.AsSpan(list290); - ref QuestSequence reference224 = ref span94[0]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - ref QuestStep reference225 = ref CollectionsMarshal.AsSpan(list291)[0]; - QuestStep obj204 = new QuestStep(EInteractionType.AcceptQuest, 1041332u, new Vector3(194.68982f, 14.118598f, 485.9845f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - num3 = 1; - List list292 = new List(num3); - CollectionsMarshal.SetCount(list292, num3); - CollectionsMarshal.AsSpan(list292)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANARK001_04545_Q1_000_004"), - Answer = new ExcelRef("TEXT_BANARK001_04545_A1_000_002") - }; - obj204.DialogueChoices = list292; - reference225 = obj204; - obj203.Steps = list291; - reference224 = obj203; - ref QuestSequence reference226 = ref span94[1]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - Span span95 = CollectionsMarshal.AsSpan(list293); - ref QuestStep reference227 = ref span95[0]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1042303u, new Vector3(183.79492f, 10.683311f, 557.42737f), 957); - num3 = 6; - List list294 = new List(num3); - CollectionsMarshal.SetCount(list294, num3); - Span span96 = CollectionsMarshal.AsSpan(list294); - span96[0] = null; - span96[1] = null; - span96[2] = null; - span96[3] = null; - span96[4] = null; - span96[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list294; - reference227 = questStep23; - ref QuestStep reference228 = ref span95[1]; - QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 1042305u, new Vector3(200f, 10.114502f, 579.1256f), 957); - num3 = 6; - List list295 = new List(num3); - CollectionsMarshal.SetCount(list295, num3); - Span span97 = CollectionsMarshal.AsSpan(list295); - span97[0] = null; - span97[1] = null; - span97[2] = null; - span97[3] = null; - span97[4] = null; - span97[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep24.CompletionQuestVariablesFlags = list295; - reference228 = questStep24; - ref QuestStep reference229 = ref span95[2]; - QuestStep obj206 = new QuestStep(EInteractionType.Interact, 1042304u, new Vector3(171.58765f, 4.763736f, 683.37524f), 957) - { - Fly = true - }; - num3 = 6; - List list296 = new List(num3); - CollectionsMarshal.SetCount(list296, num3); - Span span98 = CollectionsMarshal.AsSpan(list296); - span98[0] = null; - span98[1] = null; - span98[2] = null; - span98[3] = null; - span98[4] = null; - span98[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj206.CompletionQuestVariablesFlags = list296; - reference229 = obj206; - obj205.Steps = list293; - reference226 = obj205; - ref QuestSequence reference230 = ref span94[2]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - CollectionsMarshal.AsSpan(list297)[0] = new QuestStep(EInteractionType.Interact, 1042306u, new Vector3(-260.6394f, 14.412592f, 202.62451f), 957) - { - Fly = true - }; - obj207.Steps = list297; - reference230 = obj207; - ref QuestSequence reference231 = ref span94[3]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - Span span99 = CollectionsMarshal.AsSpan(list298); - span99[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(191.63799f, 15.136713f, 508.80118f), 957) - { - Fly = true - }; - span99[1] = new QuestStep(EInteractionType.Interact, 1041332u, new Vector3(194.68982f, 14.118598f, 485.9845f), 957); - obj208.Steps = list298; - reference231 = obj208; - ref QuestSequence reference232 = ref span94[4]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - Span span100 = CollectionsMarshal.AsSpan(list299); - span100[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(191.63799f, 15.136713f, 508.80118f), 957) - { - Mount = true - }; - ref QuestStep reference233 = ref span100[1]; - QuestStep obj210 = new QuestStep(EInteractionType.Interact, 1042307u, new Vector3(121.01929f, 6.780056f, 585.59546f), 957) - { - Fly = true - }; - num3 = 1; - List list300 = new List(num3); - CollectionsMarshal.SetCount(list300, num3); - CollectionsMarshal.AsSpan(list300)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANARK001_04545_Q4_000_081") - }; - obj210.DialogueChoices = list300; - reference233 = obj210; - obj209.Steps = list299; - reference232 = obj209; - ref QuestSequence reference234 = ref span94[5]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - ref QuestStep reference235 = ref CollectionsMarshal.AsSpan(list301)[0]; - QuestStep obj212 = new QuestStep(EInteractionType.Interact, 1042310u, new Vector3(-488.7007f, 4.563182f, 18.20398f), 957) - { - StopDistance = 5f - }; - num3 = 1; - List list302 = new List(num3); - CollectionsMarshal.SetCount(list302, num3); - CollectionsMarshal.AsSpan(list302)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANARK001_04545_Q5_000_115") - }; - obj212.DialogueChoices = list302; - reference235 = obj212; - obj211.Steps = list301; - reference234 = obj211; - ref QuestSequence reference236 = ref span94[6]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list303 = new List(num2); - CollectionsMarshal.SetCount(list303, num2); - CollectionsMarshal.AsSpan(list303)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(159.25264f, 5.220791f, 606.4928f), 957); - obj213.Steps = list303; - reference236 = obj213; - ref QuestSequence reference237 = ref span94[7]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - CollectionsMarshal.AsSpan(list304)[0] = new QuestStep(EInteractionType.Interact, 1041332u, new Vector3(194.68982f, 14.118598f, 485.9845f), 957); - obj214.Steps = list304; - reference237 = obj214; - ref QuestSequence reference238 = ref span94[8]; - QuestSequence obj215 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - Span span101 = CollectionsMarshal.AsSpan(list305); - span101[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(191.63799f, 15.136713f, 508.80118f), 957) - { - Mount = true - }; - span101[1] = new QuestStep(EInteractionType.CompleteQuest, 1042313u, new Vector3(-78.690796f, 40.010006f, 323.2318f), 957) - { - Fly = true - }; - obj215.Steps = list305; - reference238 = obj215; - questRoot33.QuestSequence = list290; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(4546); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list306 = new List(num); - CollectionsMarshal.SetCount(list306, num); - CollectionsMarshal.AsSpan(list306)[0] = "liza"; - questRoot34.Author = list306; - num = 10; - List list307 = new List(num); - CollectionsMarshal.SetCount(list307, num); - Span span102 = CollectionsMarshal.AsSpan(list307); - ref QuestSequence reference239 = ref span102[0]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - CollectionsMarshal.AsSpan(list308)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042300u, new Vector3(-76.82922f, 39.986862f, 309.98706f), 957); - obj216.Steps = list308; - reference239 = obj216; - ref QuestSequence reference240 = ref span102[1]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - CollectionsMarshal.AsSpan(list309)[0] = new QuestStep(EInteractionType.Interact, 2012919u, new Vector3(-464.22522f, 5.3864136f, 22.445984f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj217.Steps = list309; - reference240 = obj217; - ref QuestSequence reference241 = ref span102[2]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - ref QuestStep reference242 = ref CollectionsMarshal.AsSpan(list310)[0]; - QuestStep obj219 = new QuestStep(EInteractionType.Combat, null, new Vector3(-363.06543f, 55.300343f, -108.32965f), 957) - { - StopDistance = 0.25f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list311 = new List(num3); - CollectionsMarshal.SetCount(list311, num3); - CollectionsMarshal.AsSpan(list311)[0] = 14681u; - obj219.KillEnemyDataIds = list311; - reference242 = obj219; - obj218.Steps = list310; - reference241 = obj218; - ref QuestSequence reference243 = ref span102[3]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - CollectionsMarshal.AsSpan(list312)[0] = new QuestStep(EInteractionType.Interact, 1042318u, new Vector3(-360.49445f, 54.680054f, -102.9527f), 957) - { - StopDistance = 7f - }; - obj220.Steps = list312; - reference243 = obj220; - ref QuestSequence reference244 = ref span102[4]; - QuestSequence obj221 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list313 = new List(num2); - CollectionsMarshal.SetCount(list313, num2); - CollectionsMarshal.AsSpan(list313)[0] = new QuestStep(EInteractionType.Interact, 1042321u, new Vector3(-522.9725f, 11.61713f, 88.97534f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj221.Steps = list313; - reference244 = obj221; - ref QuestSequence reference245 = ref span102[5]; - QuestSequence obj222 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - CollectionsMarshal.AsSpan(list314)[0] = new QuestStep(EInteractionType.Interact, 1042322u, new Vector3(-523.36926f, 10.9199f, 85.34363f), 957); - obj222.Steps = list314; - reference245 = obj222; - ref QuestSequence reference246 = ref span102[6]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 6 - }; - num2 = 3; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - Span span103 = CollectionsMarshal.AsSpan(list315); - ref QuestStep reference247 = ref span103[0]; - QuestStep questStep25 = new QuestStep(EInteractionType.Interact, 1042324u, new Vector3(-558.0072f, 11.802552f, 114.03064f), 957); - num3 = 6; - List list316 = new List(num3); - CollectionsMarshal.SetCount(list316, num3); - Span span104 = CollectionsMarshal.AsSpan(list316); - span104[0] = null; - span104[1] = null; - span104[2] = null; - span104[3] = null; - span104[4] = null; - span104[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep25.CompletionQuestVariablesFlags = list316; - reference247 = questStep25; - ref QuestStep reference248 = ref span103[1]; - QuestStep obj224 = new QuestStep(EInteractionType.Interact, 1042325u, new Vector3(-552.75806f, 1.120665f, 23.392029f), 957) - { - StopDistance = 0.5f, - Fly = true - }; - num3 = 6; - List list317 = new List(num3); - CollectionsMarshal.SetCount(list317, num3); - Span span105 = CollectionsMarshal.AsSpan(list317); - span105[0] = null; - span105[1] = null; - span105[2] = null; - span105[3] = null; - span105[4] = null; - span105[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj224.CompletionQuestVariablesFlags = list317; - reference248 = obj224; - ref QuestStep reference249 = ref span103[2]; - QuestStep obj225 = new QuestStep(EInteractionType.Interact, 1042323u, new Vector3(-480.33875f, 1.9096844f, -13.53479f), 957) - { - Fly = true - }; - num3 = 6; - List list318 = new List(num3); - CollectionsMarshal.SetCount(list318, num3); - Span span106 = CollectionsMarshal.AsSpan(list318); - span106[0] = null; - span106[1] = null; - span106[2] = null; - span106[3] = null; - span106[4] = null; - span106[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj225.CompletionQuestVariablesFlags = list318; - reference249 = obj225; - obj223.Steps = list315; - reference246 = obj223; - ref QuestSequence reference250 = ref span102[7]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list319 = new List(num2); - CollectionsMarshal.SetCount(list319, num2); - CollectionsMarshal.AsSpan(list319)[0] = new QuestStep(EInteractionType.Interact, 1042321u, new Vector3(-522.9725f, 11.61713f, 88.97534f), 957); - obj226.Steps = list319; - reference250 = obj226; - ref QuestSequence reference251 = ref span102[8]; - QuestSequence obj227 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list320 = new List(num2); - CollectionsMarshal.SetCount(list320, num2); - CollectionsMarshal.AsSpan(list320)[0] = new QuestStep(EInteractionType.Interact, 1041397u, new Vector3(402.30408f, 3.0506973f, -212.35986f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairPalakasStand - }; - obj227.Steps = list320; - reference251 = obj227; - ref QuestSequence reference252 = ref span102[9]; - QuestSequence obj228 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list321 = new List(num2); - CollectionsMarshal.SetCount(list321, num2); - CollectionsMarshal.AsSpan(list321)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042300u, new Vector3(-76.82922f, 39.986862f, 309.98706f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad, - NextQuestId = new QuestId(4547) - }; - obj228.Steps = list321; - reference252 = obj228; - questRoot34.QuestSequence = list307; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(4547); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list322 = new List(num); - CollectionsMarshal.SetCount(list322, num); - CollectionsMarshal.AsSpan(list322)[0] = "liza"; - questRoot35.Author = list322; - num = 7; - List list323 = new List(num); - CollectionsMarshal.SetCount(list323, num); - Span span107 = CollectionsMarshal.AsSpan(list323); - ref QuestSequence reference253 = ref span107[0]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list324 = new List(num2); - CollectionsMarshal.SetCount(list324, num2); - CollectionsMarshal.AsSpan(list324)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042300u, new Vector3(-76.82922f, 39.977543f, 309.98706f), 957); - obj229.Steps = list324; - reference253 = obj229; - ref QuestSequence reference254 = ref span107[1]; - QuestSequence obj230 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list325 = new List(num2); - CollectionsMarshal.SetCount(list325, num2); - CollectionsMarshal.AsSpan(list325)[0] = new QuestStep(EInteractionType.Interact, 1042327u, new Vector3(413.35156f, 19.3188f, -457.57233f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairPalakasStand - }; - obj230.Steps = list325; - reference254 = obj230; - ref QuestSequence reference255 = ref span107[2]; - QuestSequence obj231 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list326 = new List(num2); - CollectionsMarshal.SetCount(list326, num2); - CollectionsMarshal.AsSpan(list326)[0] = new QuestStep(EInteractionType.Interact, 2012921u, new Vector3(128.89294f, 16f, -437.9187f), 957) - { - Fly = true - }; - obj231.Steps = list326; - reference255 = obj231; - ref QuestSequence reference256 = ref span107[3]; - QuestSequence obj232 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list327 = new List(num2); - CollectionsMarshal.SetCount(list327, num2); - CollectionsMarshal.AsSpan(list327)[0] = new QuestStep(EInteractionType.Interact, 1042328u, new Vector3(128.31311f, 16.178802f, -439.78027f), 957) - { - StopDistance = 4.5f - }; - obj232.Steps = list327; - reference256 = obj232; - ref QuestSequence reference257 = ref span107[4]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - CollectionsMarshal.AsSpan(list328)[0] = new QuestStep(EInteractionType.Interact, 1042327u, new Vector3(413.35156f, 19.3188f, -457.57233f), 957) - { - Fly = true - }; - obj233.Steps = list328; - reference257 = obj233; - ref QuestSequence reference258 = ref span107[5]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list329 = new List(num2); - CollectionsMarshal.SetCount(list329, num2); - CollectionsMarshal.AsSpan(list329)[0] = new QuestStep(EInteractionType.Interact, 1042330u, new Vector3(383.1692f, 3.1168795f, -263.8133f), 957) - { - Fly = true - }; - obj234.Steps = list329; - reference258 = obj234; - ref QuestSequence reference259 = ref span107[6]; - QuestSequence obj235 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list330 = new List(num2); - CollectionsMarshal.SetCount(list330, num2); - CollectionsMarshal.AsSpan(list330)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042300u, new Vector3(-76.82922f, 39.986862f, 309.98706f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj235.Steps = list330; - reference259 = obj235; - questRoot35.QuestSequence = list323; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(4548); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list331 = new List(num); - CollectionsMarshal.SetCount(list331, num); - CollectionsMarshal.AsSpan(list331)[0] = "liza"; - questRoot36.Author = list331; - num = 6; - List list332 = new List(num); - CollectionsMarshal.SetCount(list332, num); - Span span108 = CollectionsMarshal.AsSpan(list332); - ref QuestSequence reference260 = ref span108[0]; - QuestSequence obj236 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list333 = new List(num2); - CollectionsMarshal.SetCount(list333, num2); - CollectionsMarshal.AsSpan(list333)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042300u, new Vector3(-76.82922f, 39.977543f, 309.98706f), 957); - obj236.Steps = list333; - reference260 = obj236; - ref QuestSequence reference261 = ref span108[1]; - QuestSequence obj237 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - CollectionsMarshal.AsSpan(list334)[0] = new QuestStep(EInteractionType.Interact, 1042336u, new Vector3(409.964f, 18.253498f, -461.53967f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairPalakasStand - }; - obj237.Steps = list334; - reference261 = obj237; - ref QuestSequence reference262 = ref span108[2]; - QuestSequence obj238 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list335 = new List(num2); - CollectionsMarshal.SetCount(list335, num2); - Span span109 = CollectionsMarshal.AsSpan(list335); - ref QuestStep reference263 = ref span109[0]; - QuestStep obj239 = new QuestStep(EInteractionType.Interact, 2012970u, new Vector3(197.4364f, 9.323181f, -438.71216f), 957) - { - Fly = true - }; - num3 = 6; - List list336 = new List(num3); - CollectionsMarshal.SetCount(list336, num3); - Span span110 = CollectionsMarshal.AsSpan(list336); - span110[0] = null; - span110[1] = null; - span110[2] = null; - span110[3] = null; - span110[4] = null; - span110[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj239.CompletionQuestVariablesFlags = list336; - reference263 = obj239; - ref QuestStep reference264 = ref span109[1]; - QuestStep obj240 = new QuestStep(EInteractionType.Combat, 2012924u, new Vector3(179.33923f, 7.309021f, -392.44684f), 957) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list337 = new List(num3); - CollectionsMarshal.SetCount(list337, num3); - CollectionsMarshal.AsSpan(list337)[0] = 14683u; - obj240.KillEnemyDataIds = list337; - num3 = 6; - List list338 = new List(num3); - CollectionsMarshal.SetCount(list338, num3); - Span span111 = CollectionsMarshal.AsSpan(list338); - span111[0] = null; - span111[1] = null; - span111[2] = null; - span111[3] = null; - span111[4] = null; - span111[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj240.CompletionQuestVariablesFlags = list338; - reference264 = obj240; - obj238.Steps = list335; - reference262 = obj238; - ref QuestSequence reference265 = ref span108[3]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list339 = new List(num2); - CollectionsMarshal.SetCount(list339, num2); - CollectionsMarshal.AsSpan(list339)[0] = new QuestStep(EInteractionType.Interact, 1042339u, new Vector3(145.95251f, 9.608223f, -234.24127f), 957) - { - Fly = true - }; - obj241.Steps = list339; - reference265 = obj241; - ref QuestSequence reference266 = ref span108[4]; - QuestSequence obj242 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list340 = new List(num2); - CollectionsMarshal.SetCount(list340, num2); - CollectionsMarshal.AsSpan(list340)[0] = new QuestStep(EInteractionType.Interact, 1042343u, new Vector3(142.53455f, 10.132848f, -232.89844f), 957) - { - StopDistance = 7f - }; - obj242.Steps = list340; - reference266 = obj242; - ref QuestSequence reference267 = ref span108[5]; - QuestSequence obj243 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - CollectionsMarshal.AsSpan(list341)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042300u, new Vector3(-76.82922f, 39.977543f, 309.98706f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj243.Steps = list341; - reference267 = obj243; - questRoot36.QuestSequence = list332; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(4549); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list342 = new List(num); - CollectionsMarshal.SetCount(list342, num); - CollectionsMarshal.AsSpan(list342)[0] = "skiaz"; - questRoot37.Author = list342; - num = 8; - List list343 = new List(num); - CollectionsMarshal.SetCount(list343, num); - Span span112 = CollectionsMarshal.AsSpan(list343); - ref QuestSequence reference268 = ref span112[0]; - QuestSequence obj244 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list344 = new List(num2); - CollectionsMarshal.SetCount(list344, num2); - CollectionsMarshal.AsSpan(list344)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042300u, new Vector3(-76.82922f, 39.977543f, 309.98706f), 957) - { - Fly = true - }; - obj244.Steps = list344; - reference268 = obj244; - ref QuestSequence reference269 = ref span112[1]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list345 = new List(num2); - CollectionsMarshal.SetCount(list345, num2); - Span span113 = CollectionsMarshal.AsSpan(list345); - ref QuestStep reference270 = ref span113[0]; - QuestStep obj246 = new QuestStep(EInteractionType.Combat, 2012925u, new Vector3(-108.01868f, 40.17688f, 182.5741f), 957) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list346 = new List(num3); - CollectionsMarshal.SetCount(list346, num3); - CollectionsMarshal.AsSpan(list346)[0] = 14684u; - obj246.KillEnemyDataIds = list346; - reference270 = obj246; - ref QuestStep reference271 = ref span113[1]; - QuestStep obj247 = new QuestStep(EInteractionType.Combat, 2012926u, new Vector3(-53.574463f, 56.22937f, 66.056274f), 957) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list347 = new List(num3); - CollectionsMarshal.SetCount(list347, num3); - CollectionsMarshal.AsSpan(list347)[0] = 14685u; - obj247.KillEnemyDataIds = list347; - reference271 = obj247; - ref QuestStep reference272 = ref span113[2]; - QuestStep obj248 = new QuestStep(EInteractionType.Combat, 2012927u, new Vector3(-246.05176f, 18.509094f, 128.58777f), 957) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list348 = new List(num3); - CollectionsMarshal.SetCount(list348, num3); - CollectionsMarshal.AsSpan(list348)[0] = 14684u; - obj248.KillEnemyDataIds = list348; - reference272 = obj248; - obj245.Steps = list345; - reference269 = obj245; - ref QuestSequence reference273 = ref span112[2]; - QuestSequence obj249 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list349 = new List(num2); - CollectionsMarshal.SetCount(list349, num2); - CollectionsMarshal.AsSpan(list349)[0] = new QuestStep(EInteractionType.Interact, 1042353u, new Vector3(-56.199036f, 35.964603f, 379.07983f), 957) - { - Fly = true - }; - obj249.Steps = list349; - reference273 = obj249; - ref QuestSequence reference274 = ref span112[3]; - QuestSequence obj250 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - ref QuestStep reference275 = ref CollectionsMarshal.AsSpan(list350)[0]; - QuestStep obj251 = new QuestStep(EInteractionType.Interact, 1042353u, new Vector3(-56.199036f, 35.964603f, 379.07983f), 957) - { - Fly = true - }; - num3 = 1; - List list351 = new List(num3); - CollectionsMarshal.SetCount(list351, num3); - CollectionsMarshal.AsSpan(list351)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANARK005_04549_Q2_000_046"), - Answer = new ExcelRef("TEXT_BANARK005_04549_A2_000_001") - }; - obj251.DialogueChoices = list351; - reference275 = obj251; - obj250.Steps = list350; - reference274 = obj250; - ref QuestSequence reference276 = ref span112[4]; - QuestSequence obj252 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list352 = new List(num2); - CollectionsMarshal.SetCount(list352, num2); - CollectionsMarshal.AsSpan(list352)[0] = new QuestStep(EInteractionType.Interact, 1042347u, new Vector3(178.7594f, 5.6198997f, 617.02905f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj252.Steps = list352; - reference276 = obj252; - ref QuestSequence reference277 = ref span112[5]; - QuestSequence obj253 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list353 = new List(num2); - CollectionsMarshal.SetCount(list353, num2); - CollectionsMarshal.AsSpan(list353)[0] = new QuestStep(EInteractionType.Interact, 1042346u, new Vector3(175.21924f, 5.629661f, 614.12976f), 957) - { - Fly = true - }; - obj253.Steps = list353; - reference277 = obj253; - ref QuestSequence reference278 = ref span112[6]; - QuestSequence obj254 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list354 = new List(num2); - CollectionsMarshal.SetCount(list354, num2); - CollectionsMarshal.AsSpan(list354)[0] = new QuestStep(EInteractionType.Interact, 2012928u, new Vector3(185.62585f, 60.318848f, -605.98157f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairPalakasStand - }; - obj254.Steps = list354; - reference278 = obj254; - ref QuestSequence reference279 = ref span112[7]; - QuestSequence obj255 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list355 = new List(num2); - CollectionsMarshal.SetCount(list355, num2); - CollectionsMarshal.AsSpan(list355)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042300u, new Vector3(-76.82922f, 39.977543f, 309.98706f), 957); - obj255.Steps = list355; - reference279 = obj255; - questRoot37.QuestSequence = list343; - AddQuest(questId37, questRoot37); - } - - private static void LoadQuests91() - { - QuestId questId = new QuestId(4550); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference2 = ref CollectionsMarshal.AsSpan(list3)[0]; - QuestStep questStep = new QuestStep(EInteractionType.AcceptQuest, 1042300u, new Vector3(-76.82922f, 39.977543f, 309.98706f), 957); - int num3 = 1; - List list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - CollectionsMarshal.AsSpan(list4)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANARK006_04550_Q1_000_007"), - Answer = new ExcelRef("TEXT_BANARK006_04550_A1_000_001") - }; - questStep.DialogueChoices = list4; - reference2 = questStep; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference3 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 2012929u, new Vector3(-73.74689f, 39.96338f, 321.58386f), 957); - obj2.Steps = list5; - reference3 = obj2; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042300u, new Vector3(-76.82922f, 39.977543f, 309.98706f), 957); - obj3.Steps = list6; - reference4 = obj3; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(4551); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - CollectionsMarshal.AsSpan(list7)[0] = "liza"; - questRoot2.Author = list7; - num = 3; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span2 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference5 = ref span2[0]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj4.Steps = list9; - reference5 = obj4; - ref QuestSequence reference6 = ref span2[1]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span3 = CollectionsMarshal.AsSpan(list10); - ref QuestStep reference7 = ref span3[0]; - QuestStep obj6 = new QuestStep(EInteractionType.Interact, 1042363u, new Vector3(227.58826f, 4.933288f, 644.4037f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - num3 = 6; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - Span span4 = CollectionsMarshal.AsSpan(list11); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj6.CompletionQuestVariablesFlags = list11; - reference7 = obj6; - ref QuestStep reference8 = ref span3[1]; - QuestStep obj7 = new QuestStep(EInteractionType.Interact, 1042364u, new Vector3(198.93188f, 1.7699993f, 707.1183f), 957) - { - Fly = true - }; - num3 = 6; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - Span span5 = CollectionsMarshal.AsSpan(list12); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj7.CompletionQuestVariablesFlags = list12; - reference8 = obj7; - ref QuestStep reference9 = ref span3[2]; - QuestStep obj8 = new QuestStep(EInteractionType.Interact, 1042365u, new Vector3(177.66077f, 5.331657f, 651.27026f), 957) - { - Fly = true - }; - num3 = 6; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - Span span6 = CollectionsMarshal.AsSpan(list13); - span6[0] = null; - span6[1] = null; - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj8.CompletionQuestVariablesFlags = list13; - reference9 = obj8; - obj5.Steps = list10; - reference6 = obj5; - ref QuestSequence reference10 = ref span2[2]; - QuestSequence obj9 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true - }; - obj9.Steps = list14; - reference10 = obj9; - questRoot2.QuestSequence = list8; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(4552); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - CollectionsMarshal.AsSpan(list15)[0] = "liza"; - questRoot3.Author = list15; - num = 4; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - Span span7 = CollectionsMarshal.AsSpan(list16); - ref QuestSequence reference11 = ref span7[0]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj10.Steps = list17; - reference11 = obj10; - ref QuestSequence reference12 = ref span7[1]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.Interact, 1037644u, new Vector3(-293.72095f, 1.4600283f, 551.0491f), 957) - { - Fly = true - }; - obj11.Steps = list18; - reference12 = obj11; - ref QuestSequence reference13 = ref span7[2]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.Interact, 1042366u, new Vector3(185.56494f, 1.8742322f, 760.4332f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj12.Steps = list19; - reference13 = obj12; - ref QuestSequence reference14 = ref span7[3]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true - }; - obj13.Steps = list20; - reference14 = obj13; - questRoot3.QuestSequence = list16; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(4553); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - CollectionsMarshal.AsSpan(list21)[0] = "liza"; - questRoot4.Author = list21; - num = 3; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - Span span8 = CollectionsMarshal.AsSpan(list22); - ref QuestSequence reference15 = ref span8[0]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj14.Steps = list23; - reference15 = obj14; - ref QuestSequence reference16 = ref span8[1]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - ref QuestStep reference17 = ref CollectionsMarshal.AsSpan(list24)[0]; - QuestStep obj16 = new QuestStep(EInteractionType.Combat, 2012850u, new Vector3(-399.74066f, 58.91504f, -354.97064f), 957) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - Span span9 = CollectionsMarshal.AsSpan(list25); - span9[0] = 14674u; - span9[1] = 14675u; - obj16.KillEnemyDataIds = list25; - reference17 = obj16; - obj15.Steps = list24; - reference16 = obj15; - ref QuestSequence reference18 = ref span8[2]; - QuestSequence obj17 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj17.Steps = list26; - reference18 = obj17; - questRoot4.QuestSequence = list22; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(4554); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - CollectionsMarshal.AsSpan(list27)[0] = "liza"; - questRoot5.Author = list27; - num = 5; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - Span span10 = CollectionsMarshal.AsSpan(list28); - ref QuestSequence reference19 = ref span10[0]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj18.Steps = list29; - reference19 = obj18; - ref QuestSequence reference20 = ref span10[1]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.Interact, 1042367u, new Vector3(507.01135f, 12.589098f, -482.96332f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairPalakasStand - }; - obj19.Steps = list30; - reference20 = obj19; - ref QuestSequence reference21 = ref span10[2]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.Interact, 2012851u, new Vector3(427.4204f, 18.44812f, -451.37714f), 957) - { - Fly = true - }; - obj20.Steps = list31; - reference21 = obj20; - ref QuestSequence reference22 = ref span10[3]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - Span span11 = CollectionsMarshal.AsSpan(list32); - span11[0] = new QuestStep(EInteractionType.Interact, 2012851u, new Vector3(427.4204f, 18.44812f, -451.37714f), 957) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - span11[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(436.76804f, 21.84539f, -466.46533f), 957) - { - DisableNavmesh = true - }; - span11[2] = new QuestStep(EInteractionType.Interact, 1042367u, new Vector3(507.01135f, 12.589098f, -482.96332f), 957) - { - DisableNavmesh = true - }; - obj21.Steps = list32; - reference22 = obj21; - ref QuestSequence reference23 = ref span10[4]; - QuestSequence obj22 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj22.Steps = list33; - reference23 = obj22; - questRoot5.QuestSequence = list28; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(4555); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - CollectionsMarshal.AsSpan(list34)[0] = "liza"; - questRoot6.Author = list34; - num = 3; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - Span span12 = CollectionsMarshal.AsSpan(list35); - ref QuestSequence reference24 = ref span12[0]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj23.Steps = list36; - reference24 = obj23; - ref QuestSequence reference25 = ref span12[1]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - Span span13 = CollectionsMarshal.AsSpan(list37); - ref QuestStep reference26 = ref span13[0]; - QuestStep obj25 = new QuestStep(EInteractionType.Interact, 1043108u, new Vector3(336.41565f, 0.9428888f, 624.10913f), 957) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - num3 = 1; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - CollectionsMarshal.AsSpan(list38)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANARK105_04555_Q1_000_000") - }; - obj25.DialogueChoices = list38; - reference26 = obj25; - ref QuestStep reference27 = ref span13[1]; - QuestStep obj26 = new QuestStep(EInteractionType.Interact, 2012853u, new Vector3(392.66028f, 57.602783f, 630.64f), 957) - { - Fly = true - }; - num3 = 6; - List list39 = new List(num3); - CollectionsMarshal.SetCount(list39, num3); - Span span14 = CollectionsMarshal.AsSpan(list39); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj26.CompletionQuestVariablesFlags = list39; - reference27 = obj26; - ref QuestStep reference28 = ref span13[2]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2012854u, new Vector3(422.99524f, 62.91284f, 584.161f), 957); - num3 = 6; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - Span span15 = CollectionsMarshal.AsSpan(list40); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list40; - reference28 = questStep2; - ref QuestStep reference29 = ref span13[3]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2012852u, new Vector3(445.27344f, 68.46716f, 588.03687f), 957); - num3 = 6; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - Span span16 = CollectionsMarshal.AsSpan(list41); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list41; - reference29 = questStep3; - obj24.Steps = list37; - reference25 = obj24; - ref QuestSequence reference30 = ref span12[2]; - QuestSequence obj27 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - Span span17 = CollectionsMarshal.AsSpan(list42); - ref QuestStep reference31 = ref span17[0]; - QuestStep obj28 = new QuestStep(EInteractionType.Interact, 1043107u, new Vector3(376.51636f, 55.220497f, 601.0985f), 957) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - num3 = 1; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - CollectionsMarshal.AsSpan(list43)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANARK105_04555_Q2_000_000") - }; - obj28.DialogueChoices = list43; - reference31 = obj28; - span17[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(236.26051f, 2.3393192f, 644.57275f), 957) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span17[2] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true - }; - obj27.Steps = list42; - reference30 = obj27; - questRoot6.QuestSequence = list35; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(4556); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - CollectionsMarshal.AsSpan(list44)[0] = "liza"; - questRoot7.Author = list44; - num = 3; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - Span span18 = CollectionsMarshal.AsSpan(list45); - ref QuestSequence reference32 = ref span18[0]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj29.Steps = list46; - reference32 = obj29; - ref QuestSequence reference33 = ref span18[1]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - Span span19 = CollectionsMarshal.AsSpan(list47); - ref QuestStep reference34 = ref span19[0]; - QuestStep obj31 = new QuestStep(EInteractionType.Interact, 1042368u, new Vector3(-485.771f, 39.62969f, 114.213745f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - num3 = 6; - List> list48 = new List>(num3); - CollectionsMarshal.SetCount(list48, num3); - Span> span20 = CollectionsMarshal.AsSpan(list48); - span20[0] = null; - span20[1] = null; - ref List reference35 = ref span20[2]; - int num4 = 1; - List list49 = new List(num4); - CollectionsMarshal.SetCount(list49, num4); - CollectionsMarshal.AsSpan(list49)[0] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - reference35 = list49; - span20[3] = null; - span20[4] = null; - span20[5] = null; - obj31.RequiredQuestVariables = list48; - num3 = 1; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - CollectionsMarshal.AsSpan(list50)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANARK106_04556_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANARK106_04556_A1_000_001") - }; - obj31.DialogueChoices = list50; - reference34 = obj31; - ref QuestStep reference36 = ref span19[1]; - QuestStep obj32 = new QuestStep(EInteractionType.Interact, 1042369u, new Vector3(-561.2726f, 11.802609f, 128.95398f), 957) - { - Fly = true - }; - num3 = 6; - List> list51 = new List>(num3); - CollectionsMarshal.SetCount(list51, num3); - Span> span21 = CollectionsMarshal.AsSpan(list51); - span21[0] = null; - span21[1] = null; - ref List reference37 = ref span21[2]; - num4 = 1; - List list52 = new List(num4); - CollectionsMarshal.SetCount(list52, num4); - CollectionsMarshal.AsSpan(list52)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference37 = list52; - span21[3] = null; - span21[4] = null; - span21[5] = null; - obj32.RequiredQuestVariables = list51; - num3 = 1; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - CollectionsMarshal.AsSpan(list53)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANARK106_04556_Q2_000_000"), - Answer = new ExcelRef("TEXT_BANARK106_04556_A2_000_001") - }; - obj32.DialogueChoices = list53; - reference36 = obj32; - ref QuestStep reference38 = ref span19[2]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1042370u, new Vector3(-506.37067f, 5.1961365f, 63.401123f), 957); - num3 = 6; - List> list54 = new List>(num3); - CollectionsMarshal.SetCount(list54, num3); - Span> span22 = CollectionsMarshal.AsSpan(list54); - span22[0] = null; - span22[1] = null; - ref List reference39 = ref span22[2]; - num4 = 1; - List list55 = new List(num4); - CollectionsMarshal.SetCount(list55, num4); - CollectionsMarshal.AsSpan(list55)[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference39 = list55; - span22[3] = null; - span22[4] = null; - span22[5] = null; - questStep4.RequiredQuestVariables = list54; - num3 = 1; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - CollectionsMarshal.AsSpan(list56)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANARK106_04556_Q3_000_000"), - Answer = new ExcelRef("TEXT_BANARK106_04556_A3_000_001") - }; - questStep4.DialogueChoices = list56; - reference38 = questStep4; - obj30.Steps = list47; - reference33 = obj30; - ref QuestSequence reference40 = ref span18[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true - }; - obj33.Steps = list57; - reference40 = obj33; - questRoot7.QuestSequence = list45; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(4557); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - CollectionsMarshal.AsSpan(list58)[0] = "liza"; - questRoot8.Author = list58; - num = 4; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - Span span23 = CollectionsMarshal.AsSpan(list59); - ref QuestSequence reference41 = ref span23[0]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj34.Steps = list60; - reference41 = obj34; - ref QuestSequence reference42 = ref span23[1]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.Interact, 1042302u, new Vector3(-102.43384f, 40.00001f, 331.89893f), 957); - obj35.Steps = list61; - reference42 = obj35; - ref QuestSequence reference43 = ref span23[2]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 2 - }; - num2 = 6; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - Span span24 = CollectionsMarshal.AsSpan(list62); - ref QuestStep reference44 = ref span24[0]; - QuestStep obj37 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(436.3157f, 3.1168795f, -241.61731f), 957) - { - Fly = true, - Land = true - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - Span span25 = CollectionsMarshal.AsSpan(list63); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list63; - skipConditions.StepIf = skipStepConditions; - obj37.SkipConditions = skipConditions; - reference44 = obj37; - ref QuestStep reference45 = ref span24[1]; - QuestStep obj38 = new QuestStep(EInteractionType.Action, 1042372u, new Vector3(441.062f, 3.5405273f, -238.78845f), 957) - { - StopDistance = 5f, - Action = EAction.YellowGulal - }; - num3 = 6; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - Span span26 = CollectionsMarshal.AsSpan(list64); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj38.CompletionQuestVariablesFlags = list64; - reference45 = obj38; - ref QuestStep reference46 = ref span24[2]; - QuestStep obj39 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(378.90213f, 3.1168797f, -226.82733f), 957) - { - Fly = true, - Land = true - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - Span span27 = CollectionsMarshal.AsSpan(list65); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list65; - skipConditions2.StepIf = skipStepConditions2; - obj39.SkipConditions = skipConditions2; - reference46 = obj39; - ref QuestStep reference47 = ref span24[3]; - QuestStep obj40 = new QuestStep(EInteractionType.Action, 1042371u, new Vector3(376.7605f, 3.3540652f, -225.33002f), 957) - { - StopDistance = 5f, - Action = EAction.BlueGulal - }; - num3 = 6; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - Span span28 = CollectionsMarshal.AsSpan(list66); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj40.CompletionQuestVariablesFlags = list66; - reference47 = obj40; - ref QuestStep reference48 = ref span24[4]; - QuestStep obj41 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(404.06558f, 13.027411f, -307.05457f), 957) - { - Fly = true, - Land = true - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - Span span29 = CollectionsMarshal.AsSpan(list67); - span29[0] = null; - span29[1] = null; - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list67; - skipConditions3.StepIf = skipStepConditions3; - obj41.SkipConditions = skipConditions3; - reference48 = obj41; - ref QuestStep reference49 = ref span24[5]; - QuestStep obj42 = new QuestStep(EInteractionType.Action, 1042373u, new Vector3(406.1189f, 13.0274105f, -311.0857f), 957) - { - StopDistance = 5f, - Action = EAction.RedGulal - }; - num3 = 6; - List list68 = new List(num3); - CollectionsMarshal.SetCount(list68, num3); - Span span30 = CollectionsMarshal.AsSpan(list68); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj42.CompletionQuestVariablesFlags = list68; - reference49 = obj42; - obj36.Steps = list62; - reference43 = obj36; - ref QuestSequence reference50 = ref span23[3]; - QuestSequence obj43 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - Span span31 = CollectionsMarshal.AsSpan(list69); - span31[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(404.065f, 13.027411f, -306.9749f), 957) - { - StopDistance = 10000f, - Mount = false, - Comment = "Unmount from Quest Mount" - }; - span31[1] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj43.Steps = list69; - reference50 = obj43; - questRoot8.QuestSequence = list59; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(4558); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list70 = new List(num); - CollectionsMarshal.SetCount(list70, num); - CollectionsMarshal.AsSpan(list70)[0] = "liza"; - questRoot9.Author = list70; - num = 4; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - Span span32 = CollectionsMarshal.AsSpan(list71); - ref QuestSequence reference51 = ref span32[0]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj44.Steps = list72; - reference51 = obj44; - ref QuestSequence reference52 = ref span32[1]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.Interact, 1042376u, new Vector3(205.34058f, 63.981293f, -640.4059f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanGateOfFirstSight - } - }; - obj45.Steps = list73; - reference52 = obj45; - ref QuestSequence reference53 = ref span32[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.Interact, 2012908u, new Vector3(208.23987f, 65.62903f, -642.1149f), 957); - obj46.Steps = list74; - reference53 = obj46; - ref QuestSequence reference54 = ref span32[3]; - QuestSequence obj47 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj47.Steps = list75; - reference54 = obj47; - questRoot9.QuestSequence = list71; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(4559); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - CollectionsMarshal.AsSpan(list76)[0] = "liza"; - questRoot10.Author = list76; - num = 4; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - Span span33 = CollectionsMarshal.AsSpan(list77); - ref QuestSequence reference55 = ref span33[0]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj48.Steps = list78; - reference55 = obj48; - ref QuestSequence reference56 = ref span33[1]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - ref QuestStep reference57 = ref CollectionsMarshal.AsSpan(list79)[0]; - QuestStep obj50 = new QuestStep(EInteractionType.Combat, null, new Vector3(-605.46277f, 2.1626635f, -336.87347f), 957) - { - StopDistance = 0.25f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - CollectionsMarshal.AsSpan(list80)[0] = 14676u; - obj50.KillEnemyDataIds = list80; - reference57 = obj50; - obj49.Steps = list79; - reference56 = obj49; - ref QuestSequence reference58 = ref span33[2]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.Interact, 1042378u, new Vector3(-605.46277f, 2.1626635f, -336.87347f), 957) - { - StopDistance = 5f - }; - obj51.Steps = list81; - reference58 = obj51; - ref QuestSequence reference59 = ref span33[3]; - QuestSequence obj52 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj52.Steps = list82; - reference59 = obj52; - questRoot10.QuestSequence = list77; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(4560); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list83 = new List(num); - CollectionsMarshal.SetCount(list83, num); - CollectionsMarshal.AsSpan(list83)[0] = "liza"; - questRoot11.Author = list83; - num = 3; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - Span span34 = CollectionsMarshal.AsSpan(list84); - ref QuestSequence reference60 = ref span34[0]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj53.Steps = list85; - reference60 = obj53; - ref QuestSequence reference61 = ref span34[1]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - Span span35 = CollectionsMarshal.AsSpan(list86); - span35[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-611.4443f, 4.030203f, 520.76807f), 957) - { - Fly = true - }; - ref QuestStep reference62 = ref span35[1]; - QuestStep obj55 = new QuestStep(EInteractionType.Interact, 2012880u, new Vector3(-669.4896f, -36.42328f, 522.6367f), 957) - { - DisableNavmesh = true, - Fly = true - }; - num3 = 6; - List> list87 = new List>(num3); - CollectionsMarshal.SetCount(list87, num3); - Span> span36 = CollectionsMarshal.AsSpan(list87); - span36[0] = null; - ref List reference63 = ref span36[1]; - num4 = 2; - List list88 = new List(num4); - CollectionsMarshal.SetCount(list88, num4); - Span span37 = CollectionsMarshal.AsSpan(list88); - span37[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span37[1] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - reference63 = list88; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = null; - obj55.RequiredQuestVariables = list87; - reference62 = obj55; - ref QuestStep reference64 = ref span35[2]; - QuestStep obj56 = new QuestStep(EInteractionType.Interact, 2012881u, new Vector3(-652.4605f, -31.784546f, 554.46704f), 957) - { - DisableNavmesh = true, - Fly = true - }; - num3 = 6; - List> list89 = new List>(num3); - CollectionsMarshal.SetCount(list89, num3); - Span> span38 = CollectionsMarshal.AsSpan(list89); - span38[0] = null; - ref List reference65 = ref span38[1]; - num4 = 2; - List list90 = new List(num4); - CollectionsMarshal.SetCount(list90, num4); - Span span39 = CollectionsMarshal.AsSpan(list90); - span39[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span39[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference65 = list90; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = null; - obj56.RequiredQuestVariables = list89; - reference64 = obj56; - ref QuestStep reference66 = ref span35[3]; - QuestStep obj57 = new QuestStep(EInteractionType.Interact, 2012882u, new Vector3(-729.9458f, -38.864807f, 600.5187f), 957) - { - Fly = true - }; - num3 = 6; - List> list91 = new List>(num3); - CollectionsMarshal.SetCount(list91, num3); - Span> span40 = CollectionsMarshal.AsSpan(list91); - span40[0] = null; - ref List reference67 = ref span40[1]; - num4 = 2; - List list92 = new List(num4); - CollectionsMarshal.SetCount(list92, num4); - Span span41 = CollectionsMarshal.AsSpan(list92); - span41[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - span41[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference67 = list92; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = null; - obj57.RequiredQuestVariables = list91; - reference66 = obj57; - ref QuestStep reference68 = ref span35[4]; - QuestStep obj58 = new QuestStep(EInteractionType.Interact, 2012883u, new Vector3(-746.0593f, -38.92578f, 597.0397f), 957) - { - Fly = true - }; - num3 = 6; - List> list93 = new List>(num3); - CollectionsMarshal.SetCount(list93, num3); - Span> span42 = CollectionsMarshal.AsSpan(list93); - span42[0] = null; - ref List reference69 = ref span42[1]; - num4 = 2; - List list94 = new List(num4); - CollectionsMarshal.SetCount(list94, num4); - Span span43 = CollectionsMarshal.AsSpan(list94); - span43[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - span43[1] = new QuestWorkValue(null, (byte)4, EQuestWorkMode.Bitwise); - reference69 = list94; - span42[2] = null; - span42[3] = null; - span42[4] = null; - span42[5] = null; - obj58.RequiredQuestVariables = list93; - reference68 = obj58; - obj54.Steps = list86; - reference61 = obj54; - ref QuestSequence reference70 = ref span34[2]; - QuestSequence obj59 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj59.Steps = list95; - reference70 = obj59; - questRoot11.QuestSequence = list84; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(4561); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - CollectionsMarshal.AsSpan(list96)[0] = "liza"; - questRoot12.Author = list96; - num = 3; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - Span span44 = CollectionsMarshal.AsSpan(list97); - ref QuestSequence reference71 = ref span44[0]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj60.Steps = list98; - reference71 = obj60; - ref QuestSequence reference72 = ref span44[1]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - Span span45 = CollectionsMarshal.AsSpan(list99); - ref QuestStep reference73 = ref span45[0]; - QuestStep obj62 = new QuestStep(EInteractionType.Interact, 1042384u, new Vector3(562.7068f, 12.048153f, 157.85449f), 957) - { - Fly = true - }; - num3 = 6; - List> list100 = new List>(num3); - CollectionsMarshal.SetCount(list100, num3); - Span> span46 = CollectionsMarshal.AsSpan(list100); - span46[0] = null; - span46[1] = null; - ref List reference74 = ref span46[2]; - num4 = 2; - List list101 = new List(num4); - CollectionsMarshal.SetCount(list101, num4); - Span span47 = CollectionsMarshal.AsSpan(list101); - span47[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span47[1] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - reference74 = list101; - span46[3] = null; - span46[4] = null; - span46[5] = null; - obj62.RequiredQuestVariables = list100; - reference73 = obj62; - ref QuestStep reference75 = ref span45[1]; - QuestStep obj63 = new QuestStep(EInteractionType.Interact, 1042385u, new Vector3(614.43494f, 38.455334f, 193.77429f), 957) - { - Fly = true - }; - num3 = 6; - List> list102 = new List>(num3); - CollectionsMarshal.SetCount(list102, num3); - Span> span48 = CollectionsMarshal.AsSpan(list102); - span48[0] = null; - span48[1] = null; - ref List reference76 = ref span48[2]; - num4 = 2; - List list103 = new List(num4); - CollectionsMarshal.SetCount(list103, num4); - Span span49 = CollectionsMarshal.AsSpan(list103); - span49[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span49[1] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference76 = list103; - span48[3] = null; - span48[4] = null; - span48[5] = null; - obj63.RequiredQuestVariables = list102; - reference75 = obj63; - ref QuestStep reference77 = ref span45[2]; - QuestStep obj64 = new QuestStep(EInteractionType.Interact, 1042386u, new Vector3(607.35486f, 18.607574f, 212.14612f), 957) - { - Fly = true - }; - num3 = 6; - List> list104 = new List>(num3); - CollectionsMarshal.SetCount(list104, num3); - Span> span50 = CollectionsMarshal.AsSpan(list104); - span50[0] = null; - span50[1] = null; - ref List reference78 = ref span50[2]; - num4 = 2; - List list105 = new List(num4); - CollectionsMarshal.SetCount(list105, num4); - Span span51 = CollectionsMarshal.AsSpan(list105); - span51[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span51[1] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - reference78 = list105; - span50[3] = null; - span50[4] = null; - span50[5] = null; - obj64.RequiredQuestVariables = list104; - reference77 = obj64; - obj61.Steps = list99; - reference72 = obj61; - ref QuestSequence reference79 = ref span44[2]; - QuestSequence obj65 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true - }; - obj65.Steps = list106; - reference79 = obj65; - questRoot12.QuestSequence = list97; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(4562); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - CollectionsMarshal.AsSpan(list107)[0] = "liza"; - questRoot13.Author = list107; - num = 3; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - Span span52 = CollectionsMarshal.AsSpan(list108); - ref QuestSequence reference80 = ref span52[0]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj66.Steps = list109; - reference80 = obj66; - ref QuestSequence reference81 = ref span52[1]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - Span span53 = CollectionsMarshal.AsSpan(list110); - ref QuestStep reference82 = ref span53[0]; - QuestStep obj68 = new QuestStep(EInteractionType.Interact, 1042390u, new Vector3(376.089f, 3.1168795f, -241.77924f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairPalakasStand - }; - num3 = 6; - List list111 = new List(num3); - CollectionsMarshal.SetCount(list111, num3); - Span span54 = CollectionsMarshal.AsSpan(list111); - span54[0] = null; - span54[1] = null; - span54[2] = null; - span54[3] = null; - span54[4] = null; - span54[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj68.CompletionQuestVariablesFlags = list111; - reference82 = obj68; - ref QuestStep reference83 = ref span53[1]; - QuestStep obj69 = new QuestStep(EInteractionType.Interact, 1042389u, new Vector3(-416.31195f, 10.9610405f, 11.48999f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - num3 = 6; - List list112 = new List(num3); - CollectionsMarshal.SetCount(list112, num3); - Span span55 = CollectionsMarshal.AsSpan(list112); - span55[0] = null; - span55[1] = null; - span55[2] = null; - span55[3] = null; - span55[4] = null; - span55[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj69.CompletionQuestVariablesFlags = list112; - reference83 = obj69; - obj67.Steps = list110; - reference81 = obj67; - ref QuestSequence reference84 = ref span52[2]; - QuestSequence obj70 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true - }; - obj70.Steps = list113; - reference84 = obj70; - questRoot13.QuestSequence = list108; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(4563); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list114 = new List(num); - CollectionsMarshal.SetCount(list114, num); - CollectionsMarshal.AsSpan(list114)[0] = "liza"; - questRoot14.Author = list114; - num = 4; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - Span span56 = CollectionsMarshal.AsSpan(list115); - ref QuestSequence reference85 = ref span56[0]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj71.Steps = list116; - reference85 = obj71; - ref QuestSequence reference86 = ref span56[1]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - Span span57 = CollectionsMarshal.AsSpan(list117); - ref QuestStep reference87 = ref span57[0]; - QuestStep obj73 = new QuestStep(EInteractionType.UseItem, 2012884u, new Vector3(111.46704f, 5.935669f, -294.36182f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairPalakasStand, - ItemId = 2003420u - }; - num3 = 6; - List> list118 = new List>(num3); - CollectionsMarshal.SetCount(list118, num3); - Span> span58 = CollectionsMarshal.AsSpan(list118); - span58[0] = null; - ref List reference88 = ref span58[1]; - num4 = 1; - List list119 = new List(num4); - CollectionsMarshal.SetCount(list119, num4); - CollectionsMarshal.AsSpan(list119)[0] = new QuestWorkValue((byte)1, (byte)3, EQuestWorkMode.Bitwise); - reference88 = list119; - span58[2] = null; - span58[3] = null; - span58[4] = null; - span58[5] = null; - obj73.RequiredQuestVariables = list118; - reference87 = obj73; - ref QuestStep reference89 = ref span57[1]; - QuestStep obj74 = new QuestStep(EInteractionType.UseItem, 2012885u, new Vector3(108.17114f, 8.224609f, -373.22046f), 957) - { - Fly = true, - ItemId = 2003420u - }; - num3 = 6; - List> list120 = new List>(num3); - CollectionsMarshal.SetCount(list120, num3); - Span> span59 = CollectionsMarshal.AsSpan(list120); - span59[0] = null; - ref List reference90 = ref span59[1]; - num4 = 1; - List list121 = new List(num4); - CollectionsMarshal.SetCount(list121, num4); - CollectionsMarshal.AsSpan(list121)[0] = new QuestWorkValue((byte)1, (byte)2, EQuestWorkMode.Bitwise); - reference90 = list121; - span59[2] = null; - span59[3] = null; - span59[4] = null; - span59[5] = null; - obj74.RequiredQuestVariables = list120; - reference89 = obj74; - ref QuestStep reference91 = ref span57[2]; - QuestStep obj75 = new QuestStep(EInteractionType.UseItem, 2012886u, new Vector3(135.91211f, 6.4850464f, -327.5349f), 957) - { - Fly = true, - ItemId = 2003420u - }; - num3 = 6; - List> list122 = new List>(num3); - CollectionsMarshal.SetCount(list122, num3); - Span> span60 = CollectionsMarshal.AsSpan(list122); - span60[0] = null; - ref List reference92 = ref span60[1]; - num4 = 1; - List list123 = new List(num4); - CollectionsMarshal.SetCount(list123, num4); - CollectionsMarshal.AsSpan(list123)[0] = new QuestWorkValue((byte)1, (byte)1, EQuestWorkMode.Bitwise); - reference92 = list123; - span60[2] = null; - span60[3] = null; - span60[4] = null; - span60[5] = null; - obj75.RequiredQuestVariables = list122; - reference91 = obj75; - obj72.Steps = list117; - reference86 = obj72; - ref QuestSequence reference93 = ref span56[2]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - Span span61 = CollectionsMarshal.AsSpan(list124); - ref QuestStep reference94 = ref span61[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2012884u, new Vector3(111.46704f, 5.935669f, -294.36182f), 957); - num3 = 6; - List> list125 = new List>(num3); - CollectionsMarshal.SetCount(list125, num3); - Span> span62 = CollectionsMarshal.AsSpan(list125); - span62[0] = null; - span62[1] = null; - ref List reference95 = ref span62[2]; - num4 = 1; - List list126 = new List(num4); - CollectionsMarshal.SetCount(list126, num4); - CollectionsMarshal.AsSpan(list126)[0] = new QuestWorkValue(0, 0, EQuestWorkMode.Bitwise); - reference95 = list126; - span62[3] = null; - span62[4] = null; - span62[5] = null; - questStep5.RequiredQuestVariables = list125; - reference94 = questStep5; - ref QuestStep reference96 = ref span61[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2012885u, new Vector3(108.17114f, 8.224609f, -373.22046f), 957); - num3 = 6; - List> list127 = new List>(num3); - CollectionsMarshal.SetCount(list127, num3); - Span> span63 = CollectionsMarshal.AsSpan(list127); - span63[0] = null; - span63[1] = null; - ref List reference97 = ref span63[2]; - num4 = 1; - List list128 = new List(num4); - CollectionsMarshal.SetCount(list128, num4); - CollectionsMarshal.AsSpan(list128)[0] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - reference97 = list128; - span63[3] = null; - span63[4] = null; - span63[5] = null; - questStep6.RequiredQuestVariables = list127; - reference96 = questStep6; - ref QuestStep reference98 = ref span61[2]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2012886u, new Vector3(135.91211f, 6.4850464f, -327.5349f), 957); - num3 = 6; - List> list129 = new List>(num3); - CollectionsMarshal.SetCount(list129, num3); - Span> span64 = CollectionsMarshal.AsSpan(list129); - span64[0] = null; - span64[1] = null; - ref List reference99 = ref span64[2]; - num4 = 1; - List list130 = new List(num4); - CollectionsMarshal.SetCount(list130, num4); - CollectionsMarshal.AsSpan(list130)[0] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - reference99 = list130; - span64[3] = null; - span64[4] = null; - span64[5] = null; - questStep7.RequiredQuestVariables = list129; - reference98 = questStep7; - obj76.Steps = list124; - reference93 = obj76; - ref QuestSequence reference100 = ref span56[3]; - QuestSequence obj77 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true - }; - obj77.Steps = list131; - reference100 = obj77; - questRoot14.QuestSequence = list115; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(4564); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list132 = new List(num); - CollectionsMarshal.SetCount(list132, num); - CollectionsMarshal.AsSpan(list132)[0] = "liza"; - questRoot15.Author = list132; - num = 4; - List list133 = new List(num); - CollectionsMarshal.SetCount(list133, num); - Span span65 = CollectionsMarshal.AsSpan(list133); - ref QuestSequence reference101 = ref span65[0]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj78.Steps = list134; - reference101 = obj78; - ref QuestSequence reference102 = ref span65[1]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.Interact, 1042302u, new Vector3(-102.43384f, 40.00001f, 331.89893f), 957); - obj79.Steps = list135; - reference102 = obj79; - ref QuestSequence reference103 = ref span65[2]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 2 - }; - num2 = 6; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - Span span66 = CollectionsMarshal.AsSpan(list136); - ref QuestStep reference104 = ref span66[0]; - QuestStep obj81 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(86.44138f, 38.836067f, 375.43958f), 957) - { - Fly = true, - Land = true - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list137 = new List(num3); - CollectionsMarshal.SetCount(list137, num3); - Span span67 = CollectionsMarshal.AsSpan(list137); - span67[0] = null; - span67[1] = null; - span67[2] = null; - span67[3] = null; - span67[4] = null; - span67[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list137; - skipConditions4.StepIf = skipStepConditions4; - obj81.SkipConditions = skipConditions4; - reference104 = obj81; - ref QuestStep reference105 = ref span66[1]; - QuestStep obj82 = new QuestStep(EInteractionType.Action, 2012887u, new Vector3(90.71484f, 38.70359f, 377.7981f), 957) - { - StopDistance = 5f, - Action = EAction.YellowGulal - }; - num3 = 6; - List list138 = new List(num3); - CollectionsMarshal.SetCount(list138, num3); - Span span68 = CollectionsMarshal.AsSpan(list138); - span68[0] = null; - span68[1] = null; - span68[2] = null; - span68[3] = null; - span68[4] = null; - span68[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj82.CompletionQuestVariablesFlags = list138; - reference105 = obj82; - ref QuestStep reference106 = ref span66[2]; - QuestStep obj83 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-73.42284f, 50.283375f, 165.20433f), 957) - { - Fly = true, - Land = true - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 6; - List list139 = new List(num3); - CollectionsMarshal.SetCount(list139, num3); - Span span69 = CollectionsMarshal.AsSpan(list139); - span69[0] = null; - span69[1] = null; - span69[2] = null; - span69[3] = null; - span69[4] = null; - span69[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions5.CompletionQuestVariablesFlags = list139; - skipConditions5.StepIf = skipStepConditions5; - obj83.SkipConditions = skipConditions5; - reference106 = obj83; - ref QuestStep reference107 = ref span66[3]; - QuestStep obj84 = new QuestStep(EInteractionType.Action, 2012888u, new Vector3(-74.2962f, 50.095337f, 160.41797f), 957) - { - StopDistance = 5f, - Action = EAction.YellowGulal - }; - num3 = 6; - List list140 = new List(num3); - CollectionsMarshal.SetCount(list140, num3); - Span span70 = CollectionsMarshal.AsSpan(list140); - span70[0] = null; - span70[1] = null; - span70[2] = null; - span70[3] = null; - span70[4] = null; - span70[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj84.CompletionQuestVariablesFlags = list140; - reference107 = obj84; - ref QuestStep reference108 = ref span66[4]; - QuestStep obj85 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-195.75089f, 35.536575f, 98.20429f), 957) - { - Fly = true, - Land = true - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 6; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - Span span71 = CollectionsMarshal.AsSpan(list141); - span71[0] = null; - span71[1] = null; - span71[2] = null; - span71[3] = null; - span71[4] = null; - span71[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions6.CompletionQuestVariablesFlags = list141; - skipConditions6.StepIf = skipStepConditions6; - obj85.SkipConditions = skipConditions6; - reference108 = obj85; - ref QuestStep reference109 = ref span66[5]; - QuestStep obj86 = new QuestStep(EInteractionType.Action, 2012889u, new Vector3(-197.9859f, 36.209595f, 94.102295f), 957) - { - StopDistance = 5f, - Action = EAction.YellowGulal - }; - num3 = 6; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - Span span72 = CollectionsMarshal.AsSpan(list142); - span72[0] = null; - span72[1] = null; - span72[2] = null; - span72[3] = null; - span72[4] = null; - span72[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj86.CompletionQuestVariablesFlags = list142; - reference109 = obj86; - obj80.Steps = list136; - reference103 = obj80; - ref QuestSequence reference110 = ref span65[3]; - QuestSequence obj87 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - Span span73 = CollectionsMarshal.AsSpan(list143); - span73[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-68.59158f, 39.9961f, 320.7581f), 957) - { - Fly = true - }; - span73[1] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Mount = false, - Comment = "TODO Verify this properly unmounts" - }; - obj87.Steps = list143; - reference110 = obj87; - questRoot15.QuestSequence = list133; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(4565); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list144 = new List(num); - CollectionsMarshal.SetCount(list144, num); - CollectionsMarshal.AsSpan(list144)[0] = "liza"; - questRoot16.Author = list144; - num = 3; - List list145 = new List(num); - CollectionsMarshal.SetCount(list145, num); - Span span74 = CollectionsMarshal.AsSpan(list145); - ref QuestSequence reference111 = ref span74[0]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj88.Steps = list146; - reference111 = obj88; - ref QuestSequence reference112 = ref span74[1]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - ref QuestStep reference113 = ref CollectionsMarshal.AsSpan(list147)[0]; - QuestStep obj90 = new QuestStep(EInteractionType.Combat, 2012855u, new Vector3(-255.23767f, 69.13855f, -527.8248f), 957) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list148 = new List(num3); - CollectionsMarshal.SetCount(list148, num3); - CollectionsMarshal.AsSpan(list148)[0] = 14677u; - obj90.KillEnemyDataIds = list148; - reference113 = obj90; - obj89.Steps = list147; - reference112 = obj89; - ref QuestSequence reference114 = ref span74[2]; - QuestSequence obj91 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj91.Steps = list149; - reference114 = obj91; - questRoot16.QuestSequence = list145; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(4566); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list150 = new List(num); - CollectionsMarshal.SetCount(list150, num); - CollectionsMarshal.AsSpan(list150)[0] = "liza"; - questRoot17.Author = list150; - num = 5; - List list151 = new List(num); - CollectionsMarshal.SetCount(list151, num); - Span span75 = CollectionsMarshal.AsSpan(list151); - ref QuestSequence reference115 = ref span75[0]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj92.Steps = list152; - reference115 = obj92; - ref QuestSequence reference116 = ref span75[1]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.Interact, 1042469u, new Vector3(-578.5153f, -0.01527307f, -36.514893f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj93.Steps = list153; - reference116 = obj93; - ref QuestSequence reference117 = ref span75[2]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.UseItem, 1042470u, new Vector3(-579.553f, -0.058757372f, -31.23523f), 957) - { - StopDistance = 4f, - ItemId = 2003401u - }; - obj94.Steps = list154; - reference117 = obj94; - ref QuestSequence reference118 = ref span75[3]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.Interact, 1042470u, new Vector3(-579.553f, -0.058757372f, -31.23523f), 957) - { - StopDistance = 4f - }; - obj95.Steps = list155; - reference118 = obj95; - ref QuestSequence reference119 = ref span75[4]; - QuestSequence obj96 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true - }; - obj96.Steps = list156; - reference119 = obj96; - questRoot17.QuestSequence = list151; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(4567); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list157 = new List(num); - CollectionsMarshal.SetCount(list157, num); - CollectionsMarshal.AsSpan(list157)[0] = "liza"; - questRoot18.Author = list157; - num = 3; - List list158 = new List(num); - CollectionsMarshal.SetCount(list158, num); - Span span76 = CollectionsMarshal.AsSpan(list158); - ref QuestSequence reference120 = ref span76[0]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj97.Steps = list159; - reference120 = obj97; - ref QuestSequence reference121 = ref span76[1]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - Span span77 = CollectionsMarshal.AsSpan(list160); - ref QuestStep reference122 = ref span77[0]; - QuestStep obj99 = new QuestStep(EInteractionType.Interact, 2012858u, new Vector3(280.78125f, 0.045776367f, 556.7252f), 957) - { - Fly = true - }; - num3 = 6; - List list161 = new List(num3); - CollectionsMarshal.SetCount(list161, num3); - Span span78 = CollectionsMarshal.AsSpan(list161); - span78[0] = null; - span78[1] = null; - span78[2] = null; - span78[3] = null; - span78[4] = null; - span78[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj99.CompletionQuestVariablesFlags = list161; - reference122 = obj99; - ref QuestStep reference123 = ref span77[1]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2012857u, new Vector3(303.36462f, 0.015197754f, 530.44934f), 957); - num3 = 6; - List list162 = new List(num3); - CollectionsMarshal.SetCount(list162, num3); - Span span79 = CollectionsMarshal.AsSpan(list162); - span79[0] = null; - span79[1] = null; - span79[2] = null; - span79[3] = null; - span79[4] = null; - span79[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list162; - reference123 = questStep8; - ref QuestStep reference124 = ref span77[2]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 2012856u, new Vector3(281.94092f, 0.015197754f, 510.64307f), 957); - num3 = 6; - List list163 = new List(num3); - CollectionsMarshal.SetCount(list163, num3); - Span span80 = CollectionsMarshal.AsSpan(list163); - span80[0] = null; - span80[1] = null; - span80[2] = null; - span80[3] = null; - span80[4] = null; - span80[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list163; - reference124 = questStep9; - obj98.Steps = list160; - reference121 = obj98; - ref QuestSequence reference125 = ref span76[2]; - QuestSequence obj100 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true - }; - obj100.Steps = list164; - reference125 = obj100; - questRoot18.QuestSequence = list158; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(4568); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list165 = new List(num); - CollectionsMarshal.SetCount(list165, num); - CollectionsMarshal.AsSpan(list165)[0] = "liza"; - questRoot19.Author = list165; - num = 4; - List list166 = new List(num); - CollectionsMarshal.SetCount(list166, num); - Span span81 = CollectionsMarshal.AsSpan(list166); - ref QuestSequence reference126 = ref span81[0]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj101.Steps = list167; - reference126 = obj101; - ref QuestSequence reference127 = ref span81[1]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.Interact, 2012892u, new Vector3(-120.19531f, 41.000854f, 340.41345f), 957); - obj102.Steps = list168; - reference127 = obj102; - ref QuestSequence reference128 = ref span81[2]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.Interact, 1042458u, new Vector3(416.5254f, 8.834262f, -344.38086f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairPalakasStand - }; - obj103.Steps = list169; - reference128 = obj103; - ref QuestSequence reference129 = ref span81[3]; - QuestSequence obj104 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj104.Steps = list170; - reference129 = obj104; - questRoot19.QuestSequence = list166; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(4569); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - CollectionsMarshal.AsSpan(list171)[0] = "liza"; - questRoot20.Author = list171; - num = 4; - List list172 = new List(num); - CollectionsMarshal.SetCount(list172, num); - Span span82 = CollectionsMarshal.AsSpan(list172); - ref QuestSequence reference130 = ref span82[0]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj105.Steps = list173; - reference130 = obj105; - ref QuestSequence reference131 = ref span82[1]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.UseItem, 2012893u, new Vector3(267.32275f, 7.156433f, -476.34088f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairPalakasStand, - ItemId = 2003403u - }; - obj106.Steps = list174; - reference131 = obj106; - ref QuestSequence reference132 = ref span82[2]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - ref QuestStep reference133 = ref CollectionsMarshal.AsSpan(list175)[0]; - QuestStep obj108 = new QuestStep(EInteractionType.Combat, 2012894u, new Vector3(257.09924f, 6.6071167f, -468.0705f), 957) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list176 = new List(num3); - CollectionsMarshal.SetCount(list176, num3); - CollectionsMarshal.AsSpan(list176)[0] = 14678u; - obj108.KillEnemyDataIds = list176; - reference133 = obj108; - obj107.Steps = list175; - reference132 = obj107; - ref QuestSequence reference134 = ref span82[3]; - QuestSequence obj109 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj109.Steps = list177; - reference134 = obj109; - questRoot20.QuestSequence = list172; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(4570); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list178 = new List(num); - CollectionsMarshal.SetCount(list178, num); - CollectionsMarshal.AsSpan(list178)[0] = "liza"; - questRoot21.Author = list178; - num = 3; - List list179 = new List(num); - CollectionsMarshal.SetCount(list179, num); - Span span83 = CollectionsMarshal.AsSpan(list179); - ref QuestSequence reference135 = ref span83[0]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj110.Steps = list180; - reference135 = obj110; - ref QuestSequence reference136 = ref span83[1]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - Span span84 = CollectionsMarshal.AsSpan(list181); - ref QuestStep reference137 = ref span84[0]; - QuestStep obj112 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(263.92963f, 7.600955f, 289.10162f), 957) - { - Fly = true - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 6; - List list182 = new List(num3); - CollectionsMarshal.SetCount(list182, num3); - Span span85 = CollectionsMarshal.AsSpan(list182); - span85[0] = null; - span85[1] = null; - span85[2] = null; - span85[3] = null; - span85[4] = null; - span85[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions7.CompletionQuestVariablesFlags = list182; - skipConditions7.StepIf = skipStepConditions7; - obj112.SkipConditions = skipConditions7; - reference137 = obj112; - ref QuestStep reference138 = ref span84[1]; - QuestStep obj113 = new QuestStep(EInteractionType.UseItem, 2012902u, new Vector3(264.88135f, 8.773865f, 287.98352f), 957) - { - ItemId = 2003405u - }; - num3 = 6; - List list183 = new List(num3); - CollectionsMarshal.SetCount(list183, num3); - Span span86 = CollectionsMarshal.AsSpan(list183); - span86[0] = null; - span86[1] = null; - span86[2] = null; - span86[3] = null; - span86[4] = null; - span86[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj113.CompletionQuestVariablesFlags = list183; - reference138 = obj113; - ref QuestStep reference139 = ref span84[2]; - QuestStep obj114 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(337.84723f, 6.94503f, 359.85526f), 957) - { - Fly = true - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions8 = new SkipStepConditions(); - num3 = 6; - List list184 = new List(num3); - CollectionsMarshal.SetCount(list184, num3); - Span span87 = CollectionsMarshal.AsSpan(list184); - span87[0] = null; - span87[1] = null; - span87[2] = null; - span87[3] = null; - span87[4] = null; - span87[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions8.CompletionQuestVariablesFlags = list184; - skipConditions8.StepIf = skipStepConditions8; - obj114.SkipConditions = skipConditions8; - reference139 = obj114; - ref QuestStep reference140 = ref span84[3]; - QuestStep obj115 = new QuestStep(EInteractionType.UseItem, 2012901u, new Vector3(340.07776f, 8.2855835f, 360.3723f), 957) - { - ItemId = 2003405u - }; - num3 = 6; - List list185 = new List(num3); - CollectionsMarshal.SetCount(list185, num3); - Span span88 = CollectionsMarshal.AsSpan(list185); - span88[0] = null; - span88[1] = null; - span88[2] = null; - span88[3] = null; - span88[4] = null; - span88[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj115.CompletionQuestVariablesFlags = list185; - reference140 = obj115; - ref QuestStep reference141 = ref span84[4]; - QuestStep obj116 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(254.98802f, 7.049597f, 373.44046f), 957) - { - Fly = true - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions9 = new SkipStepConditions(); - num3 = 6; - List list186 = new List(num3); - CollectionsMarshal.SetCount(list186, num3); - Span span89 = CollectionsMarshal.AsSpan(list186); - span89[0] = null; - span89[1] = null; - span89[2] = null; - span89[3] = null; - span89[4] = null; - span89[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions9.CompletionQuestVariablesFlags = list186; - skipConditions9.StepIf = skipStepConditions9; - obj116.SkipConditions = skipConditions9; - reference141 = obj116; - ref QuestStep reference142 = ref span84[5]; - QuestStep obj117 = new QuestStep(EInteractionType.UseItem, 2012900u, new Vector3(254.8103f, 8.377136f, 375.20398f), 957) - { - ItemId = 2003405u - }; - num3 = 6; - List list187 = new List(num3); - CollectionsMarshal.SetCount(list187, num3); - Span span90 = CollectionsMarshal.AsSpan(list187); - span90[0] = null; - span90[1] = null; - span90[2] = null; - span90[3] = null; - span90[4] = null; - span90[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj117.CompletionQuestVariablesFlags = list187; - reference142 = obj117; - obj111.Steps = list181; - reference136 = obj111; - ref QuestSequence reference143 = ref span83[2]; - QuestSequence obj118 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - CollectionsMarshal.AsSpan(list188)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true - }; - obj118.Steps = list188; - reference143 = obj118; - questRoot21.QuestSequence = list179; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(4571); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list189 = new List(num); - CollectionsMarshal.SetCount(list189, num); - CollectionsMarshal.AsSpan(list189)[0] = "liza"; - questRoot22.Author = list189; - num = 4; - List list190 = new List(num); - CollectionsMarshal.SetCount(list190, num); - Span span91 = CollectionsMarshal.AsSpan(list190); - ref QuestSequence reference144 = ref span91[0]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj119.Steps = list191; - reference144 = obj119; - ref QuestSequence reference145 = ref span91[1]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - Span span92 = CollectionsMarshal.AsSpan(list192); - span92[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(459.61847f, 7.3659906f, 22.413525f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairPalakasStand - }; - span92[1] = new QuestStep(EInteractionType.UseItem, 2012895u, new Vector3(461.8142f, 9.262146f, 24.2771f), 957) - { - StopDistance = 5f, - ItemId = 2003407u, - GroundTarget = true - }; - obj120.Steps = list192; - reference145 = obj120; - ref QuestSequence reference146 = ref span91[2]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.Interact, 2012897u, new Vector3(458.39624f, 7.4005737f, 23.788818f), 957); - obj121.Steps = list193; - reference146 = obj121; - ref QuestSequence reference147 = ref span91[3]; - QuestSequence obj122 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj122.Steps = list194; - reference147 = obj122; - questRoot22.QuestSequence = list190; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(4572); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list195 = new List(num); - CollectionsMarshal.SetCount(list195, num); - CollectionsMarshal.AsSpan(list195)[0] = "liza"; - questRoot23.Author = list195; - num = 3; - List list196 = new List(num); - CollectionsMarshal.SetCount(list196, num); - Span span93 = CollectionsMarshal.AsSpan(list196); - ref QuestSequence reference148 = ref span93[0]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj123.Steps = list197; - reference148 = obj123; - ref QuestSequence reference149 = ref span93[1]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - Span span94 = CollectionsMarshal.AsSpan(list198); - ref QuestStep reference150 = ref span94[0]; - QuestStep obj125 = new QuestStep(EInteractionType.Combat, 2012903u, new Vector3(37.03357f, 22.507019f, -8.133057f), 957) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list199 = new List(num3); - CollectionsMarshal.SetCount(list199, num3); - CollectionsMarshal.AsSpan(list199)[0] = 14679u; - obj125.KillEnemyDataIds = list199; - num3 = 6; - List list200 = new List(num3); - CollectionsMarshal.SetCount(list200, num3); - Span span95 = CollectionsMarshal.AsSpan(list200); - span95[0] = null; - span95[1] = null; - span95[2] = null; - span95[3] = null; - span95[4] = null; - span95[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj125.CompletionQuestVariablesFlags = list200; - reference150 = obj125; - ref QuestStep reference151 = ref span94[1]; - QuestStep obj126 = new QuestStep(EInteractionType.Combat, 2012904u, new Vector3(116.68567f, 22.262878f, -71.000244f), 957) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list201 = new List(num3); - CollectionsMarshal.SetCount(list201, num3); - CollectionsMarshal.AsSpan(list201)[0] = 14679u; - obj126.KillEnemyDataIds = list201; - num3 = 6; - List list202 = new List(num3); - CollectionsMarshal.SetCount(list202, num3); - Span span96 = CollectionsMarshal.AsSpan(list202); - span96[0] = null; - span96[1] = null; - span96[2] = null; - span96[3] = null; - span96[4] = null; - span96[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj126.CompletionQuestVariablesFlags = list202; - reference151 = obj126; - obj124.Steps = list198; - reference149 = obj124; - ref QuestSequence reference152 = ref span93[2]; - QuestSequence obj127 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true - }; - obj127.Steps = list203; - reference152 = obj127; - questRoot23.QuestSequence = list196; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(4573); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list204 = new List(num); - CollectionsMarshal.SetCount(list204, num); - CollectionsMarshal.AsSpan(list204)[0] = "liza"; - questRoot24.Author = list204; - num = 3; - List list205 = new List(num); - CollectionsMarshal.SetCount(list205, num); - Span span97 = CollectionsMarshal.AsSpan(list205); - ref QuestSequence reference153 = ref span97[0]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj128.Steps = list206; - reference153 = obj128; - ref QuestSequence reference154 = ref span97[1]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - Span span98 = CollectionsMarshal.AsSpan(list207); - ref QuestStep reference155 = ref span98[0]; - QuestStep obj130 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(96.680695f, 38.981216f, 249.31558f), 957) - { - Fly = true - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipStepConditions skipStepConditions10 = new SkipStepConditions(); - num3 = 6; - List list208 = new List(num3); - CollectionsMarshal.SetCount(list208, num3); - Span span99 = CollectionsMarshal.AsSpan(list208); - span99[0] = null; - span99[1] = null; - span99[2] = null; - span99[3] = null; - span99[4] = null; - span99[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions10.CompletionQuestVariablesFlags = list208; - skipConditions10.StepIf = skipStepConditions10; - obj130.SkipConditions = skipConditions10; - reference155 = obj130; - ref QuestStep reference156 = ref span98[1]; - QuestStep obj131 = new QuestStep(EInteractionType.Interact, 2012907u, new Vector3(95.140015f, -29.404175f, 183.94751f), 957) - { - DisableNavmesh = true - }; - num3 = 6; - List list209 = new List(num3); - CollectionsMarshal.SetCount(list209, num3); - Span span100 = CollectionsMarshal.AsSpan(list209); - span100[0] = null; - span100[1] = null; - span100[2] = null; - span100[3] = null; - span100[4] = null; - span100[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj131.CompletionQuestVariablesFlags = list209; - reference156 = obj131; - ref QuestStep reference157 = ref span98[2]; - QuestStep obj132 = new QuestStep(EInteractionType.Interact, 2012906u, new Vector3(74.84546f, -35.41626f, 212.05457f), 957) - { - Fly = true - }; - num3 = 6; - List list210 = new List(num3); - CollectionsMarshal.SetCount(list210, num3); - Span span101 = CollectionsMarshal.AsSpan(list210); - span101[0] = null; - span101[1] = null; - span101[2] = null; - span101[3] = null; - span101[4] = null; - span101[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj132.CompletionQuestVariablesFlags = list210; - reference157 = obj132; - ref QuestStep reference158 = ref span98[3]; - QuestStep obj133 = new QuestStep(EInteractionType.Interact, 2012905u, new Vector3(132.7992f, -25.558899f, 206.74438f), 957) - { - Fly = true - }; - num3 = 6; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - Span span102 = CollectionsMarshal.AsSpan(list211); - span102[0] = null; - span102[1] = null; - span102[2] = null; - span102[3] = null; - span102[4] = null; - span102[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj133.CompletionQuestVariablesFlags = list211; - reference158 = obj133; - obj129.Steps = list207; - reference154 = obj129; - ref QuestSequence reference159 = ref span97[2]; - QuestSequence obj134 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - Span span103 = CollectionsMarshal.AsSpan(list212); - span103[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(110.10968f, 5.2216215f, 201.52365f), 957) - { - DisableNavmesh = true, - Mount = true, - Fly = true - }; - span103[1] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true - }; - obj134.Steps = list212; - reference159 = obj134; - questRoot24.QuestSequence = list205; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(4574); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list213 = new List(num); - CollectionsMarshal.SetCount(list213, num); - CollectionsMarshal.AsSpan(list213)[0] = "liza"; - questRoot25.Author = list213; - num = 3; - List list214 = new List(num); - CollectionsMarshal.SetCount(list214, num); - Span span104 = CollectionsMarshal.AsSpan(list214); - ref QuestSequence reference160 = ref span104[0]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj135.Steps = list215; - reference160 = obj135; - ref QuestSequence reference161 = ref span104[1]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - Span span105 = CollectionsMarshal.AsSpan(list216); - ref QuestStep reference162 = ref span105[0]; - QuestStep obj137 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-78.12948f, 89.78411f, -666.6682f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanGateOfFirstSight - } - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipStepConditions skipStepConditions11 = new SkipStepConditions(); - num3 = 6; - List list217 = new List(num3); - CollectionsMarshal.SetCount(list217, num3); - Span span106 = CollectionsMarshal.AsSpan(list217); - span106[0] = null; - span106[1] = null; - span106[2] = null; - span106[3] = null; - span106[4] = null; - span106[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions11.CompletionQuestVariablesFlags = list217; - skipConditions11.StepIf = skipStepConditions11; - obj137.SkipConditions = skipConditions11; - reference162 = obj137; - ref QuestStep reference163 = ref span105[1]; - QuestStep obj138 = new QuestStep(EInteractionType.Emote, 1042462u, new Vector3(-73.86902f, 89.90596f, -666.0411f), 957) - { - StopDistance = 7f, - Emote = EEmote.Doubt - }; - num3 = 6; - List list218 = new List(num3); - CollectionsMarshal.SetCount(list218, num3); - Span span107 = CollectionsMarshal.AsSpan(list218); - span107[0] = null; - span107[1] = null; - span107[2] = null; - span107[3] = null; - span107[4] = null; - span107[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj138.CompletionQuestVariablesFlags = list218; - reference163 = obj138; - ref QuestStep reference164 = ref span105[2]; - QuestStep obj139 = new QuestStep(EInteractionType.Emote, 1042461u, new Vector3(-85.160645f, 100.062004f, -715.3277f), 957) - { - Fly = true, - Emote = EEmote.Doubt - }; - num3 = 6; - List list219 = new List(num3); - CollectionsMarshal.SetCount(list219, num3); - Span span108 = CollectionsMarshal.AsSpan(list219); - span108[0] = null; - span108[1] = null; - span108[2] = null; - span108[3] = null; - span108[4] = null; - span108[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj139.CompletionQuestVariablesFlags = list219; - reference164 = obj139; - ref QuestStep reference165 = ref span105[3]; - QuestStep obj140 = new QuestStep(EInteractionType.Emote, 1042460u, new Vector3(-143.66376f, 95.4186f, -702.4491f), 957) - { - Fly = true, - Emote = EEmote.Doubt - }; - num3 = 6; - List list220 = new List(num3); - CollectionsMarshal.SetCount(list220, num3); - Span span109 = CollectionsMarshal.AsSpan(list220); - span109[0] = null; - span109[1] = null; - span109[2] = null; - span109[3] = null; - span109[4] = null; - span109[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj140.CompletionQuestVariablesFlags = list220; - reference165 = obj140; - obj136.Steps = list216; - reference161 = obj136; - ref QuestSequence reference166 = ref span104[2]; - QuestSequence obj141 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj141.Steps = list221; - reference166 = obj141; - questRoot25.QuestSequence = list214; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(4575); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list222 = new List(num); - CollectionsMarshal.SetCount(list222, num); - CollectionsMarshal.AsSpan(list222)[0] = "liza"; - questRoot26.Author = list222; - num = 5; - List list223 = new List(num); - CollectionsMarshal.SetCount(list223, num); - Span span110 = CollectionsMarshal.AsSpan(list223); - ref QuestSequence reference167 = ref span110[0]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj142.Steps = list224; - reference167 = obj142; - ref QuestSequence reference168 = ref span110[1]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.Interact, 1042466u, new Vector3(-525.2003f, 6.158311f, -574.5785f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj143.Steps = list225; - reference168 = obj143; - ref QuestSequence reference169 = ref span110[2]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - CollectionsMarshal.AsSpan(list226)[0] = new QuestStep(EInteractionType.Interact, 2012977u, new Vector3(-526.66516f, 6.1188354f, -579.52246f), 957); - obj144.Steps = list226; - reference169 = obj144; - ref QuestSequence reference170 = ref span110[3]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.Interact, 1042467u, new Vector3(-582.5437f, 9.775031f, -553.64307f), 957); - obj145.Steps = list227; - reference170 = obj145; - ref QuestSequence reference171 = ref span110[4]; - QuestSequence obj146 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj146.Steps = list228; - reference171 = obj146; - questRoot26.QuestSequence = list223; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(4576); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list229 = new List(num); - CollectionsMarshal.SetCount(list229, num); - CollectionsMarshal.AsSpan(list229)[0] = "liza"; - questRoot27.Author = list229; - num = 5; - List list230 = new List(num); - CollectionsMarshal.SetCount(list230, num); - Span span111 = CollectionsMarshal.AsSpan(list230); - ref QuestSequence reference172 = ref span111[0]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj147.Steps = list231; - reference172 = obj147; - ref QuestSequence reference173 = ref span111[1]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.Interact, 1042468u, new Vector3(-660.88354f, 0.14433183f, -63.401245f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj148.Steps = list232; - reference173 = obj148; - ref QuestSequence reference174 = ref span111[2]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - Span span112 = CollectionsMarshal.AsSpan(list233); - ref QuestStep reference175 = ref span112[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 2012910u, new Vector3(-790.15796f, -0.25946045f, -110.09387f), 957); - num3 = 6; - List list234 = new List(num3); - CollectionsMarshal.SetCount(list234, num3); - Span span113 = CollectionsMarshal.AsSpan(list234); - span113[0] = null; - span113[1] = null; - span113[2] = null; - span113[3] = null; - span113[4] = null; - span113[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list234; - reference175 = questStep10; - ref QuestStep reference176 = ref span112[1]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 2012911u, new Vector3(-843.0457f, -0.22894287f, -71.03082f), 957); - num3 = 6; - List list235 = new List(num3); - CollectionsMarshal.SetCount(list235, num3); - Span span114 = CollectionsMarshal.AsSpan(list235); - span114[0] = null; - span114[1] = null; - span114[2] = null; - span114[3] = null; - span114[4] = null; - span114[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list235; - reference176 = questStep11; - ref QuestStep reference177 = ref span112[2]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 2012909u, new Vector3(-856.4126f, -0.25946045f, -159.83832f), 957); - num3 = 6; - List list236 = new List(num3); - CollectionsMarshal.SetCount(list236, num3); - Span span115 = CollectionsMarshal.AsSpan(list236); - span115[0] = null; - span115[1] = null; - span115[2] = null; - span115[3] = null; - span115[4] = null; - span115[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list236; - reference177 = questStep12; - obj149.Steps = list233; - reference174 = obj149; - ref QuestSequence reference178 = ref span111[3]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - CollectionsMarshal.AsSpan(list237)[0] = new QuestStep(EInteractionType.Interact, 1042468u, new Vector3(-660.88354f, 0.14433183f, -63.401245f), 957) - { - Fly = true - }; - obj150.Steps = list237; - reference178 = obj150; - ref QuestSequence reference179 = ref span111[4]; - QuestSequence obj151 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true - }; - obj151.Steps = list238; - reference179 = obj151; - questRoot27.QuestSequence = list230; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(4577); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list239 = new List(num); - CollectionsMarshal.SetCount(list239, num); - CollectionsMarshal.AsSpan(list239)[0] = "liza"; - questRoot28.Author = list239; - num = 5; - List list240 = new List(num); - CollectionsMarshal.SetCount(list240, num); - Span span116 = CollectionsMarshal.AsSpan(list240); - ref QuestSequence reference180 = ref span116[0]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj152.Steps = list241; - reference180 = obj152; - ref QuestSequence reference181 = ref span116[1]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - CollectionsMarshal.AsSpan(list242)[0] = new QuestStep(EInteractionType.Interact, 1042459u, new Vector3(353.99402f, 12.724952f, -220.5387f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairPalakasStand - }; - obj153.Steps = list242; - reference181 = obj153; - ref QuestSequence reference182 = ref span116[2]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - Span span117 = CollectionsMarshal.AsSpan(list243); - ref QuestStep reference183 = ref span117[0]; - QuestStep obj155 = new QuestStep(EInteractionType.Say, 1042472u, new Vector3(352.5597f, 20.552443f, 6.362976f), 957) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANARK127_04577_SAYTODO_000_016" - } - }; - num3 = 6; - List> list244 = new List>(num3); - CollectionsMarshal.SetCount(list244, num3); - Span> span118 = CollectionsMarshal.AsSpan(list244); - span118[0] = null; - ref List reference184 = ref span118[1]; - num4 = 1; - List list245 = new List(num4); - CollectionsMarshal.SetCount(list245, num4); - CollectionsMarshal.AsSpan(list245)[0] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - reference184 = list245; - span118[2] = null; - span118[3] = null; - span118[4] = null; - span118[5] = null; - obj155.RequiredQuestVariables = list244; - num3 = 1; - List list246 = new List(num3); - CollectionsMarshal.SetCount(list246, num3); - CollectionsMarshal.AsSpan(list246)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANARK127_04577_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANARK127_04577_A1_000_002") - }; - obj155.DialogueChoices = list246; - reference183 = obj155; - ref QuestStep reference185 = ref span117[1]; - QuestStep obj156 = new QuestStep(EInteractionType.Say, 1042387u, new Vector3(398.94702f, 6.591665f, 50.492065f), 957) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANARK127_04577_SAYTODO_000_016" - } - }; - num3 = 6; - List> list247 = new List>(num3); - CollectionsMarshal.SetCount(list247, num3); - Span> span119 = CollectionsMarshal.AsSpan(list247); - span119[0] = null; - ref List reference186 = ref span119[1]; - num4 = 1; - List list248 = new List(num4); - CollectionsMarshal.SetCount(list248, num4); - CollectionsMarshal.AsSpan(list248)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference186 = list248; - span119[2] = null; - span119[3] = null; - span119[4] = null; - span119[5] = null; - obj156.RequiredQuestVariables = list247; - num3 = 1; - List list249 = new List(num3); - CollectionsMarshal.SetCount(list249, num3); - CollectionsMarshal.AsSpan(list249)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANARK127_04577_Q2_000_000"), - Answer = new ExcelRef("TEXT_BANARK127_04577_A2_000_002") - }; - obj156.DialogueChoices = list249; - reference185 = obj156; - ref QuestStep reference187 = ref span117[2]; - QuestStep obj157 = new QuestStep(EInteractionType.Say, 1042388u, new Vector3(408.95703f, 7.8583245f, 5.0201416f), 957) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANARK127_04577_SAYTODO_000_016" - } - }; - num3 = 6; - List> list250 = new List>(num3); - CollectionsMarshal.SetCount(list250, num3); - Span> span120 = CollectionsMarshal.AsSpan(list250); - span120[0] = null; - ref List reference188 = ref span120[1]; - num4 = 1; - List list251 = new List(num4); - CollectionsMarshal.SetCount(list251, num4); - CollectionsMarshal.AsSpan(list251)[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference188 = list251; - span120[2] = null; - span120[3] = null; - span120[4] = null; - span120[5] = null; - obj157.RequiredQuestVariables = list250; - num3 = 1; - List list252 = new List(num3); - CollectionsMarshal.SetCount(list252, num3); - CollectionsMarshal.AsSpan(list252)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANARK127_04577_Q3_000_000"), - Answer = new ExcelRef("TEXT_BANARK127_04577_A3_000_002") - }; - obj157.DialogueChoices = list252; - reference187 = obj157; - obj154.Steps = list243; - reference182 = obj154; - ref QuestSequence reference189 = ref span116[3]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - CollectionsMarshal.AsSpan(list253)[0] = new QuestStep(EInteractionType.Interact, 1042459u, new Vector3(353.99402f, 12.724952f, -220.5387f), 957) - { - Fly = true - }; - obj158.Steps = list253; - reference189 = obj158; - ref QuestSequence reference190 = ref span116[4]; - QuestSequence obj159 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj159.Steps = list254; - reference190 = obj159; - questRoot28.QuestSequence = list240; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(4578); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list255 = new List(num); - CollectionsMarshal.SetCount(list255, num); - CollectionsMarshal.AsSpan(list255)[0] = "liza"; - questRoot29.Author = list255; - num = 3; - List list256 = new List(num); - CollectionsMarshal.SetCount(list256, num); - Span span121 = CollectionsMarshal.AsSpan(list256); - ref QuestSequence reference191 = ref span121[0]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957); - obj160.Steps = list257; - reference191 = obj160; - ref QuestSequence reference192 = ref span121[1]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - Span span122 = CollectionsMarshal.AsSpan(list258); - ref QuestStep reference193 = ref span122[0]; - QuestStep obj162 = new QuestStep(EInteractionType.Combat, 2012915u, new Vector3(-383.505f, 1.0527954f, 362.99683f), 957) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list259 = new List(num3); - CollectionsMarshal.SetCount(list259, num3); - CollectionsMarshal.AsSpan(list259)[0] = 14680u; - obj162.KillEnemyDataIds = list259; - num3 = 6; - List list260 = new List(num3); - CollectionsMarshal.SetCount(list260, num3); - Span span123 = CollectionsMarshal.AsSpan(list260); - span123[0] = null; - span123[1] = null; - span123[2] = null; - span123[3] = null; - span123[4] = null; - span123[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj162.CompletionQuestVariablesFlags = list260; - reference193 = obj162; - ref QuestStep reference194 = ref span122[1]; - QuestStep obj163 = new QuestStep(EInteractionType.Interact, 2012914u, new Vector3(-399.83215f, 1.6326294f, 291.73718f), 957) - { - Fly = true - }; - num3 = 6; - List list261 = new List(num3); - CollectionsMarshal.SetCount(list261, num3); - Span span124 = CollectionsMarshal.AsSpan(list261); - span124[0] = null; - span124[1] = null; - span124[2] = null; - span124[3] = null; - span124[4] = null; - span124[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj163.CompletionQuestVariablesFlags = list261; - reference194 = obj163; - ref QuestStep reference195 = ref span122[2]; - QuestStep obj164 = new QuestStep(EInteractionType.Combat, 2012913u, new Vector3(-444.0528f, 0.38146973f, 249.53076f), 957) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list262 = new List(num3); - CollectionsMarshal.SetCount(list262, num3); - CollectionsMarshal.AsSpan(list262)[0] = 14680u; - obj164.KillEnemyDataIds = list262; - num3 = 6; - List list263 = new List(num3); - CollectionsMarshal.SetCount(list263, num3); - Span span125 = CollectionsMarshal.AsSpan(list263); - span125[0] = null; - span125[1] = null; - span125[2] = null; - span125[3] = null; - span125[4] = null; - span125[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj164.CompletionQuestVariablesFlags = list263; - reference195 = obj164; - obj161.Steps = list258; - reference192 = obj161; - ref QuestSequence reference196 = ref span121[2]; - QuestSequence obj165 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042301u, new Vector3(-66.02582f, 39.994705f, 321.06494f), 957) - { - Fly = true - }; - obj165.Steps = list264; - reference196 = obj165; - questRoot29.QuestSequence = list256; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(4579); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list265 = new List(num); - CollectionsMarshal.SetCount(list265, num); - CollectionsMarshal.AsSpan(list265)[0] = "liza"; - questRoot30.Author = list265; - num = 4; - List list266 = new List(num); - CollectionsMarshal.SetCount(list266, num); - Span span126 = CollectionsMarshal.AsSpan(list266); - ref QuestSequence reference197 = ref span126[0]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - ref QuestStep reference198 = ref CollectionsMarshal.AsSpan(list267)[0]; - QuestStep obj167 = new QuestStep(EInteractionType.AcceptQuest, 1039543u, new Vector3(-173.66296f, 4.0499997f, -91.38635f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHallOfTheRadiantHost - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list268 = new List(num3); - CollectionsMarshal.SetCount(list268, num3); - CollectionsMarshal.AsSpan(list268)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKBZ001_04579_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKBZ001_04579_A1_000_001") - }; - obj167.DialogueChoices = list268; - reference198 = obj167; - obj166.Steps = list267; - reference197 = obj166; - ref QuestSequence reference199 = ref span126[1]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - CollectionsMarshal.AsSpan(list269)[0] = new QuestStep(EInteractionType.Interact, 1042736u, new Vector3(-396.17004f, 22.142666f, 463.00452f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - obj168.Steps = list269; - reference199 = obj168; - ref QuestSequence reference200 = ref span126[2]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - CollectionsMarshal.AsSpan(list270)[0] = new QuestStep(EInteractionType.Interact, 1042731u, new Vector3(-416.64764f, 21.708784f, 409.90308f), 958); - obj169.Steps = list270; - reference200 = obj169; - ref QuestSequence reference201 = ref span126[3]; - QuestSequence obj170 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - CollectionsMarshal.AsSpan(list271)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042733u, new Vector3(-337.51428f, 21.963173f, 484.91638f), 958) - { - NextQuestId = new QuestId(4580) - }; - obj170.Steps = list271; - reference201 = obj170; - questRoot30.QuestSequence = list266; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(4580); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list272 = new List(num); - CollectionsMarshal.SetCount(list272, num); - CollectionsMarshal.AsSpan(list272)[0] = "liza"; - questRoot31.Author = list272; - num = 7; - List list273 = new List(num); - CollectionsMarshal.SetCount(list273, num); - Span span127 = CollectionsMarshal.AsSpan(list273); - ref QuestSequence reference202 = ref span127[0]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - CollectionsMarshal.AsSpan(list274)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042733u, new Vector3(-337.51428f, 21.963173f, 484.91638f), 958); - obj171.Steps = list274; - reference202 = obj171; - ref QuestSequence reference203 = ref span127[1]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.Interact, 1042737u, new Vector3(453.57434f, 11.500888f, 176.28735f), 958) - { - Fly = true - }; - obj172.Steps = list275; - reference203 = obj172; - ref QuestSequence reference204 = ref span127[2]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - Span span128 = CollectionsMarshal.AsSpan(list276); - ref QuestStep reference205 = ref span128[0]; - QuestStep obj174 = new QuestStep(EInteractionType.Interact, 1042740u, new Vector3(580.5293f, 32.31866f, 143.05322f), 958) - { - Fly = true - }; - num3 = 6; - List list277 = new List(num3); - CollectionsMarshal.SetCount(list277, num3); - Span span129 = CollectionsMarshal.AsSpan(list277); - span129[0] = null; - span129[1] = null; - span129[2] = null; - span129[3] = null; - span129[4] = null; - span129[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj174.CompletionQuestVariablesFlags = list277; - reference205 = obj174; - ref QuestStep reference206 = ref span128[1]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1042739u, new Vector3(586.694f, 32.318665f, 140.7644f), 958); - num3 = 6; - List list278 = new List(num3); - CollectionsMarshal.SetCount(list278, num3); - Span span130 = CollectionsMarshal.AsSpan(list278); - span130[0] = null; - span130[1] = null; - span130[2] = null; - span130[3] = null; - span130[4] = null; - span130[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list278; - reference206 = questStep13; - ref QuestStep reference207 = ref span128[2]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1042741u, new Vector3(578.20996f, 38.372063f, 215.89978f), 958); - num3 = 6; - List list279 = new List(num3); - CollectionsMarshal.SetCount(list279, num3); - Span span131 = CollectionsMarshal.AsSpan(list279); - span131[0] = null; - span131[1] = null; - span131[2] = null; - span131[3] = null; - span131[4] = null; - span131[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list279; - reference207 = questStep14; - obj173.Steps = list276; - reference204 = obj173; - ref QuestSequence reference208 = ref span127[3]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - CollectionsMarshal.AsSpan(list280)[0] = new QuestStep(EInteractionType.Interact, 1042738u, new Vector3(574.21216f, 38.372063f, 211.99353f), 958) - { - StopDistance = 5f - }; - obj175.Steps = list280; - reference208 = obj175; - ref QuestSequence reference209 = ref span127[4]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - CollectionsMarshal.AsSpan(list281)[0] = new QuestStep(EInteractionType.Interact, 1042744u, new Vector3(578.912f, 32.318665f, 140.7644f), 958); - obj176.Steps = list281; - reference209 = obj176; - ref QuestSequence reference210 = ref span127[5]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - ref QuestStep reference211 = ref CollectionsMarshal.AsSpan(list282)[0]; - QuestStep obj178 = new QuestStep(EInteractionType.Combat, null, new Vector3(439.23065f, 3.0308545f, 65.572105f), 958) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list283 = new List(num3); - CollectionsMarshal.SetCount(list283, num3); - CollectionsMarshal.AsSpan(list283)[0] = 14686u; - obj178.KillEnemyDataIds = list283; - reference211 = obj178; - obj177.Steps = list282; - reference210 = obj177; - ref QuestSequence reference212 = ref span127[6]; - QuestSequence obj179 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - Span span132 = CollectionsMarshal.AsSpan(list284); - span132[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(576.40137f, 38.372063f, 213.64067f), 958) - { - Fly = true - }; - span132[1] = new QuestStep(EInteractionType.CompleteQuest, 1042746u, new Vector3(576.62305f, 38.372063f, 215.01477f), 958) - { - StopDistance = 5f, - NextQuestId = new QuestId(4581) - }; - obj179.Steps = list284; - reference212 = obj179; - questRoot31.QuestSequence = list273; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(4581); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list285 = new List(num); - CollectionsMarshal.SetCount(list285, num); - CollectionsMarshal.AsSpan(list285)[0] = "liza"; - questRoot32.Author = list285; - num = 8; - List list286 = new List(num); - CollectionsMarshal.SetCount(list286, num); - Span span133 = CollectionsMarshal.AsSpan(list286); - ref QuestSequence reference213 = ref span133[0]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - CollectionsMarshal.AsSpan(list287)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042746u, new Vector3(576.62305f, 38.372063f, 215.01477f), 958); - obj180.Steps = list287; - reference213 = obj180; - ref QuestSequence reference214 = ref span133[1]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - CollectionsMarshal.AsSpan(list288)[0] = new QuestStep(EInteractionType.Interact, 1042751u, new Vector3(-344.22827f, 23.742596f, 421.68298f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - obj181.Steps = list288; - reference214 = obj181; - ref QuestSequence reference215 = ref span133[2]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.Interact, 1042753u, new Vector3(76.645996f, 10.49723f, -75.51697f), 958) - { - Fly = true - }; - obj182.Steps = list289; - reference215 = obj182; - ref QuestSequence reference216 = ref span133[3]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - CollectionsMarshal.AsSpan(list290)[0] = new QuestStep(EInteractionType.Interact, 1042752u, new Vector3(75.21167f, 10.494146f, -75.05914f), 958); - obj183.Steps = list290; - reference216 = obj183; - ref QuestSequence reference217 = ref span133[4]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - CollectionsMarshal.AsSpan(list291)[0] = new QuestStep(EInteractionType.Interact, 2012954u, new Vector3(79.9115f, 10.482849f, -220.35559f), 958) - { - Fly = true - }; - obj184.Steps = list291; - reference217 = obj184; - ref QuestSequence reference218 = ref span133[5]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - CollectionsMarshal.AsSpan(list292)[0] = new QuestStep(EInteractionType.Interact, 2012955u, new Vector3(62.394165f, 10.452393f, -316.64f), 958) - { - Fly = true - }; - obj185.Steps = list292; - reference218 = obj185; - ref QuestSequence reference219 = ref span133[6]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - ref QuestStep reference220 = ref CollectionsMarshal.AsSpan(list293)[0]; - QuestStep obj187 = new QuestStep(EInteractionType.Combat, null, new Vector3(-31.511757f, 23.164677f, -415.98322f), 958) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list294 = new List(num3); - CollectionsMarshal.SetCount(list294, num3); - Span span134 = CollectionsMarshal.AsSpan(list294); - span134[0] = 14687u; - span134[1] = 14688u; - obj187.KillEnemyDataIds = list294; - reference220 = obj187; - obj186.Steps = list293; - reference219 = obj186; - ref QuestSequence reference221 = ref span133[7]; - QuestSequence obj188 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - CollectionsMarshal.AsSpan(list295)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042759u, new Vector3(-28.427612f, 23.164675f, -414.0536f), 958) - { - NextQuestId = new QuestId(4582) - }; - obj188.Steps = list295; - reference221 = obj188; - questRoot32.QuestSequence = list286; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(4582); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list296 = new List(num); - CollectionsMarshal.SetCount(list296, num); - CollectionsMarshal.AsSpan(list296)[0] = "liza"; - questRoot33.Author = list296; - num = 6; - List list297 = new List(num); - CollectionsMarshal.SetCount(list297, num); - Span span135 = CollectionsMarshal.AsSpan(list297); - ref QuestSequence reference222 = ref span135[0]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - CollectionsMarshal.AsSpan(list298)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042765u, new Vector3(-29.404175f, 23.164677f, -414.87756f), 958) - { - StopDistance = 5f - }; - obj189.Steps = list298; - reference222 = obj189; - ref QuestSequence reference223 = ref span135[1]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - CollectionsMarshal.AsSpan(list299)[0] = new QuestStep(EInteractionType.Interact, 1042766u, new Vector3(-416.25085f, 21.684832f, 408.1941f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - obj190.Steps = list299; - reference223 = obj190; - ref QuestSequence reference224 = ref span135[2]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - ref QuestStep reference225 = ref CollectionsMarshal.AsSpan(list300)[0]; - QuestStep obj192 = new QuestStep(EInteractionType.SinglePlayerDuty, 1042769u, new Vector3(-336.99554f, 10.799999f, -602.1057f), 958) - { - Fly = true - }; - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions(); - num3 = 2; - List list301 = new List(num3); - CollectionsMarshal.SetCount(list301, num3); - Span span136 = CollectionsMarshal.AsSpan(list301); - span136[0] = "(phase 1) AI doesn't move automatically"; - span136[1] = "(phase 2) AI doesn't target enemy"; - singlePlayerDutyOptions.Notes = list301; - obj192.SinglePlayerDutyOptions = singlePlayerDutyOptions; - reference225 = obj192; - obj191.Steps = list300; - reference224 = obj191; - span135[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference226 = ref span135[4]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list302 = new List(num2); - CollectionsMarshal.SetCount(list302, num2); - CollectionsMarshal.AsSpan(list302)[0] = new QuestStep(EInteractionType.Interact, 1042770u, new Vector3(-415.21326f, 21.765957f, 409.99463f), 958) - { - StopDistance = 5f - }; - obj193.Steps = list302; - reference226 = obj193; - ref QuestSequence reference227 = ref span135[5]; - QuestSequence obj194 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list303 = new List(num2); - CollectionsMarshal.SetCount(list303, num2); - CollectionsMarshal.AsSpan(list303)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039543u, new Vector3(-173.66296f, 4.0499997f, -91.38635f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHallOfTheRadiantHost - } - }; - obj194.Steps = list303; - reference227 = obj194; - questRoot33.QuestSequence = list297; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(4583); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list304 = new List(num); - CollectionsMarshal.SetCount(list304, num); - CollectionsMarshal.AsSpan(list304)[0] = "pot0to"; - questRoot34.Author = list304; - num = 6; - List list305 = new List(num); - CollectionsMarshal.SetCount(list305, num); - Span span137 = CollectionsMarshal.AsSpan(list305); - ref QuestSequence reference228 = ref span137[0]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - CollectionsMarshal.AsSpan(list306)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042599u, new Vector3(31.998047f, 5.1499996f, -67.73486f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj195.Steps = list306; - reference228 = obj195; - ref QuestSequence reference229 = ref span137[1]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 1 - }; - num2 = 7; - List list307 = new List(num2); - CollectionsMarshal.SetCount(list307, num2); - Span span138 = CollectionsMarshal.AsSpan(list307); - span138[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-265.16965f, 8.184065f, 183.24426f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - } - }; - span138[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-280.7175f, 10.35225f, 197.09795f), 129); - span138[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-279.7466f, 11.3272505f, 188.46881f), 129); - span138[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-271.0631f, 11.852187f, 188.60892f), 129) - { - DisableNavmesh = true - }; - span138[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-266.19342f, 11.852209f, 190.92015f), 129); - span138[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-278.93945f, 14.847251f, 194.7018f), 129); - span138[6] = new QuestStep(EInteractionType.Interact, 1000837u, new Vector3(-289.7536f, 16.347252f, 194.53723f), 129); - obj196.Steps = list307; - reference229 = obj196; - ref QuestSequence reference230 = ref span137[2]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - CollectionsMarshal.AsSpan(list308)[0] = new QuestStep(EInteractionType.Interact, 1000100u, new Vector3(23.819275f, -8f, 115.92273f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj197.Steps = list308; - reference230 = obj197; - ref QuestSequence reference231 = ref span137[3]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - CollectionsMarshal.AsSpan(list309)[0] = new QuestStep(EInteractionType.Interact, 2012878u, new Vector3(129.65588f, -13.565308f, 156.35913f), 132); - obj198.Steps = list309; - reference231 = obj198; - ref QuestSequence reference232 = ref span137[4]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - CollectionsMarshal.AsSpan(list310)[0] = new QuestStep(EInteractionType.Interact, 1042600u, new Vector3(-20.431885f, 14.000006f, 5.2948f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - obj199.Steps = list310; - reference232 = obj199; - ref QuestSequence reference233 = ref span137[5]; - QuestSequence obj200 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list311 = new List(num2); - CollectionsMarshal.SetCount(list311, num2); - CollectionsMarshal.AsSpan(list311)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042599u, new Vector3(31.998047f, 5.1499996f, -67.73486f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - NextQuestId = new QuestId(4650) - }; - obj200.Steps = list311; - reference233 = obj200; - questRoot34.QuestSequence = list305; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(4586); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list312 = new List(num); - CollectionsMarshal.SetCount(list312, num); - CollectionsMarshal.AsSpan(list312)[0] = "liza"; - questRoot35.Author = list312; - num = 8; - List list313 = new List(num); - CollectionsMarshal.SetCount(list313, num); - Span span139 = CollectionsMarshal.AsSpan(list313); - ref QuestSequence reference234 = ref span139[0]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - CollectionsMarshal.AsSpan(list314)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042796u, new Vector3(-12.100403f, -16.147f, 153.76514f), 962); - obj201.Steps = list314; - reference234 = obj201; - ref QuestSequence reference235 = ref span139[1]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - Span span140 = CollectionsMarshal.AsSpan(list315); - span140[0] = new QuestStep(EInteractionType.Interact, 1039550u, new Vector3(-620.7218f, -27.670597f, 302.17432f), 956) - { - TargetTerritoryId = (ushort)956, - AetheryteShortcut = EAetheryteLocation.LabyrinthosAporia, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span140[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-431.53903f, -220.1193f, 301.76364f), 956) - { - Fly = true - }; - span140[2] = new QuestStep(EInteractionType.Interact, 1042797u, new Vector3(-393.20978f, -220.20282f, 283.16162f), 956); - obj202.Steps = list315; - reference235 = obj202; - ref QuestSequence reference236 = ref span139[2]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - ref QuestStep reference237 = ref CollectionsMarshal.AsSpan(list316)[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1042799u, new Vector3(-395.37653f, -220.20282f, 285.66406f), 956); - num3 = 1; - List list317 = new List(num3); - CollectionsMarshal.SetCount(list317, num3); - CollectionsMarshal.AsSpan(list317)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_STMBDR601_04586_Q2_000_107") - }; - questStep15.DialogueChoices = list317; - reference237 = questStep15; - obj203.Steps = list316; - reference236 = obj203; - ref QuestSequence reference238 = ref span139[3]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list318 = new List(num2); - CollectionsMarshal.SetCount(list318, num2); - CollectionsMarshal.AsSpan(list318)[0] = new QuestStep(EInteractionType.Interact, 1042803u, new Vector3(43.289795f, -1.4816303E-06f, -55.680176f), 963); - obj204.Steps = list318; - reference238 = obj204; - ref QuestSequence reference239 = ref span139[4]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list319 = new List(num2); - CollectionsMarshal.SetCount(list319, num2); - Span span141 = CollectionsMarshal.AsSpan(list319); - ref QuestStep reference240 = ref span141[0]; - QuestStep obj206 = new QuestStep(EInteractionType.Interact, 1042887u, new Vector3(108.72046f, 26.999989f, 14.90802f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanKama - } - }; - num3 = 6; - List list320 = new List(num3); - CollectionsMarshal.SetCount(list320, num3); - Span span142 = CollectionsMarshal.AsSpan(list320); - span142[0] = null; - span142[1] = null; - span142[2] = null; - span142[3] = null; - span142[4] = null; - span142[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj206.CompletionQuestVariablesFlags = list320; - reference240 = obj206; - ref QuestStep reference241 = ref span141[1]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1039539u, new Vector3(87.662964f, 27.06f, 28.030762f), 963); - num3 = 6; - List list321 = new List(num3); - CollectionsMarshal.SetCount(list321, num3); - Span span143 = CollectionsMarshal.AsSpan(list321); - span143[0] = null; - span143[1] = null; - span143[2] = null; - span143[3] = null; - span143[4] = null; - span143[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list321; - reference241 = questStep16; - ref QuestStep reference242 = ref span141[2]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1042804u, new Vector3(87.35791f, 26.99999f, 56.687256f), 963); - num3 = 6; - List list322 = new List(num3); - CollectionsMarshal.SetCount(list322, num3); - Span span144 = CollectionsMarshal.AsSpan(list322); - span144[0] = null; - span144[1] = null; - span144[2] = null; - span144[3] = null; - span144[4] = null; - span144[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list322; - reference242 = questStep17; - obj205.Steps = list319; - reference239 = obj205; - ref QuestSequence reference243 = ref span139[5]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list323 = new List(num2); - CollectionsMarshal.SetCount(list323, num2); - ref QuestStep reference244 = ref CollectionsMarshal.AsSpan(list323)[0]; - QuestStep obj208 = new QuestStep(EInteractionType.Interact, 1042803u, new Vector3(116.01684f, 26.99999f, 45.689087f), 963) - { - StopDistance = 0.25f - }; - num3 = 1; - List list324 = new List(num3); - CollectionsMarshal.SetCount(list324, num3); - CollectionsMarshal.AsSpan(list324)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDR601_04586_Q5_000_225"), - Answer = new ExcelRef("TEXT_STMBDR601_04586_A5_000_228") - }; - obj208.DialogueChoices = list324; - reference244 = obj208; - obj207.Steps = list323; - reference243 = obj207; - ref QuestSequence reference245 = ref span139[6]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list325 = new List(num2); - CollectionsMarshal.SetCount(list325, num2); - CollectionsMarshal.AsSpan(list325)[0] = new QuestStep(EInteractionType.Interact, 1039541u, new Vector3(-159.3805f, 23.999973f, 110.61267f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanKama, - To = EAetheryteLocation.RadzAtHanRuveydahFibers - } - }; - obj209.Steps = list325; - reference245 = obj209; - ref QuestSequence reference246 = ref span139[7]; - QuestSequence obj210 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list326 = new List(num2); - CollectionsMarshal.SetCount(list326, num2); - CollectionsMarshal.AsSpan(list326)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042805u, new Vector3(-57.480774f, 14f, 106.82837f), 963) - { - StopDistance = 4f, - NextQuestId = new QuestId(4587) - }; - obj210.Steps = list326; - reference246 = obj210; - questRoot35.QuestSequence = list313; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(4587); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list327 = new List(num); - CollectionsMarshal.SetCount(list327, num); - CollectionsMarshal.AsSpan(list327)[0] = "liza"; - questRoot36.Author = list327; - num = 12; - List list328 = new List(num); - CollectionsMarshal.SetCount(list328, num); - Span span145 = CollectionsMarshal.AsSpan(list328); - ref QuestSequence reference247 = ref span145[0]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list329 = new List(num2); - CollectionsMarshal.SetCount(list329, num2); - CollectionsMarshal.AsSpan(list329)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042807u, new Vector3(-59.06775f, 13.999993f, 114.67151f), 963) - { - StopDistance = 6f - }; - obj211.Steps = list329; - reference247 = obj211; - ref QuestSequence reference248 = ref span145[1]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list330 = new List(num2); - CollectionsMarshal.SetCount(list330, num2); - CollectionsMarshal.AsSpan(list330)[0] = new QuestStep(EInteractionType.Interact, 1042809u, new Vector3(-378.43903f, 22f, 494.9873f), 958); - obj212.Steps = list330; - reference248 = obj212; - ref QuestSequence reference249 = ref span145[2]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list331 = new List(num2); - CollectionsMarshal.SetCount(list331, num2); - Span span146 = CollectionsMarshal.AsSpan(list331); - ref QuestStep reference250 = ref span146[0]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1042811u, new Vector3(-323.23187f, 22f, 500.35852f), 958); - num3 = 6; - List list332 = new List(num3); - CollectionsMarshal.SetCount(list332, num3); - Span span147 = CollectionsMarshal.AsSpan(list332); - span147[0] = null; - span147[1] = null; - span147[2] = null; - span147[3] = null; - span147[4] = null; - span147[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list332; - reference250 = questStep18; - span146[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-277.7818f, 25.227219f, 423.6428f), 958) - { - Fly = true - }; - ref QuestStep reference251 = ref span146[2]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 1042810u, new Vector3(-276.41718f, 25.227219f, 425.4673f), 958); - num3 = 6; - List list333 = new List(num3); - CollectionsMarshal.SetCount(list333, num3); - Span span148 = CollectionsMarshal.AsSpan(list333); - span148[0] = null; - span148[1] = null; - span148[2] = null; - span148[3] = null; - span148[4] = null; - span148[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list333; - reference251 = questStep19; - obj213.Steps = list331; - reference249 = obj213; - ref QuestSequence reference252 = ref span145[3]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - CollectionsMarshal.AsSpan(list334)[0] = new QuestStep(EInteractionType.Interact, 1042809u, new Vector3(-331.9679f, 22.585815f, 430.56573f), 958) - { - Fly = true - }; - obj214.Steps = list334; - reference252 = obj214; - ref QuestSequence reference253 = ref span145[4]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list335 = new List(num2); - CollectionsMarshal.SetCount(list335, num2); - CollectionsMarshal.AsSpan(list335)[0] = new QuestStep(EInteractionType.Interact, 1042829u, new Vector3(-330.86145f, 22.310896f, 431.4182f), 958); - obj215.Steps = list335; - reference253 = obj215; - ref QuestSequence reference254 = ref span145[5]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list336 = new List(num2); - CollectionsMarshal.SetCount(list336, num2); - CollectionsMarshal.AsSpan(list336)[0] = new QuestStep(EInteractionType.Interact, 1042813u, new Vector3(591.30237f, 34.877754f, 191.30237f), 958) - { - Fly = true - }; - obj216.Steps = list336; - reference254 = obj216; - ref QuestSequence reference255 = ref span145[6]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list337 = new List(num2); - CollectionsMarshal.SetCount(list337, num2); - CollectionsMarshal.AsSpan(list337)[0] = new QuestStep(EInteractionType.Interact, 1043126u, new Vector3(605.9509f, 34.7239f, 203.32642f), 958) - { - StopDistance = 5f - }; - obj217.Steps = list337; - reference255 = obj217; - ref QuestSequence reference256 = ref span145[7]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list338 = new List(num2); - CollectionsMarshal.SetCount(list338, num2); - CollectionsMarshal.AsSpan(list338)[0] = new QuestStep(EInteractionType.Interact, 1042816u, new Vector3(31.967651f, -132.9464f, -563.5615f), 959); - obj218.Steps = list338; - reference256 = obj218; - ref QuestSequence reference257 = ref span145[8]; - QuestSequence obj219 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list339 = new List(num2); - CollectionsMarshal.SetCount(list339, num2); - ref QuestStep reference258 = ref CollectionsMarshal.AsSpan(list339)[0]; - QuestStep obj220 = new QuestStep(EInteractionType.Interact, 1042818u, new Vector3(-1.6327515f, -28.024765f, -216.23566f), 959) - { - Fly = true - }; - num3 = 1; - List list340 = new List(num3); - CollectionsMarshal.SetCount(list340, num3); - CollectionsMarshal.AsSpan(list340)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_STMBDR602_04587_Q4_000_294"), - Answer = new ExcelRef("TEXT_STMBDR602_04587_A4_000_295") - }; - obj220.DialogueChoices = list340; - reference258 = obj220; - obj219.Steps = list339; - reference257 = obj219; - ref QuestSequence reference259 = ref span145[9]; - QuestSequence obj221 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - CollectionsMarshal.AsSpan(list341)[0] = new QuestStep(EInteractionType.Interact, 1038930u, new Vector3(-415.39636f, 136.98077f, 575.7992f), 959) - { - Fly = true - }; - obj221.Steps = list341; - reference259 = obj221; - ref QuestSequence reference260 = ref span145[10]; - QuestSequence obj222 = new QuestSequence - { - Sequence = 10 - }; - num2 = 3; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - Span span149 = CollectionsMarshal.AsSpan(list342); - span149[0] = new QuestStep(EInteractionType.Interact, 1039550u, new Vector3(-620.7218f, -27.670597f, 302.17432f), 956) - { - TargetTerritoryId = (ushort)956, - AetheryteShortcut = EAetheryteLocation.LabyrinthosAporia, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span149[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-431.53903f, -220.1193f, 301.76364f), 956) - { - Fly = true - }; - span149[2] = new QuestStep(EInteractionType.Interact, 1042800u, new Vector3(-393.0572f, -220.20284f, 284.71802f), 956); - obj222.Steps = list342; - reference260 = obj222; - ref QuestSequence reference261 = ref span145[11]; - QuestSequence obj223 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list343 = new List(num2); - CollectionsMarshal.SetCount(list343, num2); - CollectionsMarshal.AsSpan(list343)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042822u, new Vector3(111.039795f, -10.587426f, 280.38452f), 962); - obj223.Steps = list343; - reference261 = obj223; - questRoot36.QuestSequence = list328; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(4591); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list344 = new List(num); - CollectionsMarshal.SetCount(list344, num); - CollectionsMarshal.AsSpan(list344)[0] = "JerryWester"; - questRoot37.Author = list344; - num = 5; - List list345 = new List(num); - CollectionsMarshal.SetCount(list345, num); - Span span150 = CollectionsMarshal.AsSpan(list345); - ref QuestSequence reference262 = ref span150[0]; - QuestSequence obj224 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list346 = new List(num2); - CollectionsMarshal.SetCount(list346, num2); - CollectionsMarshal.AsSpan(list346)[0] = new QuestStep(EInteractionType.AcceptQuest, 1006454u, new Vector3(-168.84113f, 304.1538f, -328.66406f), 155); - obj224.Steps = list346; - reference262 = obj224; - ref QuestSequence reference263 = ref span150[1]; - QuestSequence obj225 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list347 = new List(num2); - CollectionsMarshal.SetCount(list347, num2); - ref QuestStep reference264 = ref CollectionsMarshal.AsSpan(list347)[0]; - QuestStep questStep20 = new QuestStep(EInteractionType.SinglePlayerDuty, 1006454u, new Vector3(-168.84113f, 304.1538f, -328.66406f), 155); - SinglePlayerDutyOptions singlePlayerDutyOptions2 = new SinglePlayerDutyOptions(); - num3 = 2; - List list348 = new List(num3); - CollectionsMarshal.SetCount(list348, num3); - Span span151 = CollectionsMarshal.AsSpan(list348); - span151[0] = "AI doesn't move after starting the instance, so enemies won't be triggered"; - span151[1] = "(First Barrier) If the player is too far south, after being stunned by Vishap's roar, AI doesn't move out of the AOE and dies to the Cauterize"; - singlePlayerDutyOptions2.Notes = list348; - questStep20.SinglePlayerDutyOptions = singlePlayerDutyOptions2; - reference264 = questStep20; - obj225.Steps = list347; - reference263 = obj225; - span150[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference265 = ref span150[3]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list349 = new List(num2); - CollectionsMarshal.SetCount(list349, num2); - CollectionsMarshal.AsSpan(list349)[0] = new QuestStep(EInteractionType.Interact, 1010978u, new Vector3(-157.57996f, 304.1538f, -314.53424f), 155); - obj226.Steps = list349; - reference265 = obj226; - ref QuestSequence reference266 = ref span150[4]; - QuestSequence obj227 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - Span span152 = CollectionsMarshal.AsSpan(list350); - span152[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span152[1] = new QuestStep(EInteractionType.Interact, 2002878u, new Vector3(-0.015319824f, -1.0223389f, -26.779602f), 351) - { - TargetTerritoryId = (ushort)351 - }; - span152[2] = new QuestStep(EInteractionType.CompleteQuest, 1010897u, new Vector3(0.9613037f, -1.9957249f, -45.609253f), 351); - obj227.Steps = list350; - reference266 = obj227; - questRoot37.QuestSequence = list345; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(4592); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list351 = new List(num); - CollectionsMarshal.SetCount(list351, num); - CollectionsMarshal.AsSpan(list351)[0] = "liza"; - questRoot38.Author = list351; - num = 7; - List list352 = new List(num); - CollectionsMarshal.SetCount(list352, num); - Span span153 = CollectionsMarshal.AsSpan(list352); - ref QuestSequence reference267 = ref span153[0]; - QuestSequence obj228 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list353 = new List(num2); - CollectionsMarshal.SetCount(list353, num2); - CollectionsMarshal.AsSpan(list353)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039645u, new Vector3(-338.33832f, 55f, -68.40625f), 963); - obj228.Steps = list353; - reference267 = obj228; - ref QuestSequence reference268 = ref span153[1]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list354 = new List(num2); - CollectionsMarshal.SetCount(list354, num2); - CollectionsMarshal.AsSpan(list354)[0] = new QuestStep(EInteractionType.Interact, 1039655u, new Vector3(-478.29407f, 4.851227f, 22.507019f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj229.Steps = list354; - reference268 = obj229; - ref QuestSequence reference269 = ref span153[2]; - QuestSequence obj230 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list355 = new List(num2); - CollectionsMarshal.SetCount(list355, num2); - CollectionsMarshal.AsSpan(list355)[0] = new QuestStep(EInteractionType.Interact, 1039627u, new Vector3(-270.25262f, 0.07863108f, 605.9204f), 957) - { - StopDistance = 5f, - TargetTerritoryId = (ushort)1056 - }; - obj230.Steps = list355; - reference269 = obj230; - ref QuestSequence reference270 = ref span153[3]; - QuestSequence obj231 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list356 = new List(num2); - CollectionsMarshal.SetCount(list356, num2); - CollectionsMarshal.AsSpan(list356)[0] = new QuestStep(EInteractionType.Interact, 1039663u, new Vector3(110.82617f, -350f, -81.9563f), 1056); - obj231.Steps = list356; - reference270 = obj231; - ref QuestSequence reference271 = ref span153[4]; - QuestSequence obj232 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list357 = new List(num2); - CollectionsMarshal.SetCount(list357, num2); - ref QuestStep reference272 = ref CollectionsMarshal.AsSpan(list357)[0]; - QuestStep questStep21 = new QuestStep(EInteractionType.Duty, null, null, 1056); - DutyOptions obj233 = new DutyOptions - { - ContentFinderConditionId = 869u - }; - num3 = 1; - List list358 = new List(num3); - CollectionsMarshal.SetCount(list358, num3); - CollectionsMarshal.AsSpan(list358)[0] = "No VBM module"; - obj233.Notes = list358; - questStep21.DutyOptions = obj233; - reference272 = questStep21; - obj232.Steps = list357; - reference271 = obj232; - span153[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference273 = ref span153[6]; - QuestSequence obj234 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list359 = new List(num2); - CollectionsMarshal.SetCount(list359, num2); - CollectionsMarshal.AsSpan(list359)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042063u, new Vector3(-88.51758f, 376.4496f, -158.31238f), 1089) - { - StopDistance = 7f - }; - obj234.Steps = list359; - reference273 = obj234; - questRoot38.QuestSequence = list352; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(4593); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list360 = new List(num); - CollectionsMarshal.SetCount(list360, num); - CollectionsMarshal.AsSpan(list360)[0] = "liza"; - questRoot39.Author = list360; - num = 5; - List list361 = new List(num); - CollectionsMarshal.SetCount(list361, num); - Span span154 = CollectionsMarshal.AsSpan(list361); - ref QuestSequence reference274 = ref span154[0]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list362 = new List(num2); - CollectionsMarshal.SetCount(list362, num2); - CollectionsMarshal.AsSpan(list362)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042064u, new Vector3(-83.72626f, 376.38647f, -158.0072f), 1089) - { - StopDistance = 7f - }; - obj235.Steps = list362; - reference274 = obj235; - ref QuestSequence reference275 = ref span154[1]; - QuestSequence obj236 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list363 = new List(num2); - CollectionsMarshal.SetCount(list363, num2); - Span span155 = CollectionsMarshal.AsSpan(list363); - ref QuestStep reference276 = ref span155[0]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1042066u, new Vector3(-48.69159f, 367.85046f, -109.33093f), 1089); - num3 = 6; - List list364 = new List(num3); - CollectionsMarshal.SetCount(list364, num3); - Span span156 = CollectionsMarshal.AsSpan(list364); - span156[0] = null; - span156[1] = null; - span156[2] = null; - span156[3] = null; - span156[4] = null; - span156[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep22.CompletionQuestVariablesFlags = list364; - reference276 = questStep22; - ref QuestStep reference277 = ref span155[1]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1043790u, new Vector3(-10.360962f, 359.19916f, -106.70636f), 1089); - num3 = 6; - List list365 = new List(num3); - CollectionsMarshal.SetCount(list365, num3); - Span span157 = CollectionsMarshal.AsSpan(list365); - span157[0] = null; - span157[1] = null; - span157[2] = null; - span157[3] = null; - span157[4] = null; - span157[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list365; - reference277 = questStep23; - ref QuestStep reference278 = ref span155[2]; - QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 1043791u, new Vector3(-9.87262f, 350.62988f, -61.539734f), 1089); - num3 = 6; - List list366 = new List(num3); - CollectionsMarshal.SetCount(list366, num3); - Span span158 = CollectionsMarshal.AsSpan(list366); - span158[0] = null; - span158[1] = null; - span158[2] = null; - span158[3] = null; - span158[4] = null; - span158[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep24.CompletionQuestVariablesFlags = list366; - reference278 = questStep24; - ref QuestStep reference279 = ref span155[3]; - QuestStep questStep25 = new QuestStep(EInteractionType.Interact, 1043792u, new Vector3(4.043579f, 350.57257f, -49.45453f), 1089); - num3 = 6; - List list367 = new List(num3); - CollectionsMarshal.SetCount(list367, num3); - Span span159 = CollectionsMarshal.AsSpan(list367); - span159[0] = null; - span159[1] = null; - span159[2] = null; - span159[3] = null; - span159[4] = null; - span159[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep25.CompletionQuestVariablesFlags = list367; - reference279 = questStep25; - obj236.Steps = list363; - reference275 = obj236; - ref QuestSequence reference280 = ref span154[2]; - QuestSequence obj237 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list368 = new List(num2); - CollectionsMarshal.SetCount(list368, num2); - CollectionsMarshal.AsSpan(list368)[0] = new QuestStep(EInteractionType.Interact, 2013042u, new Vector3(38.071167f, 348.04297f, 4.3792725f), 1089); - obj237.Steps = list368; - reference280 = obj237; - ref QuestSequence reference281 = ref span154[3]; - QuestSequence obj238 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list369 = new List(num2); - CollectionsMarshal.SetCount(list369, num2); - Span span160 = CollectionsMarshal.AsSpan(list369); - span160[0] = new QuestStep(EInteractionType.Interact, 2013115u, new Vector3(14.236633f, 351.27795f, 14.389221f), 1089) - { - TargetTerritoryId = (ushort)1089 - }; - span160[1] = new QuestStep(EInteractionType.Interact, 2013113u, new Vector3(-280.0794f, -716.7621f, 133.95886f), 1089) - { - TargetTerritoryId = (ushort)1089 - }; - span160[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(71.0746f, -718.0001f, 206.78001f), 1089); - obj238.Steps = list369; - reference281 = obj238; - ref QuestSequence reference282 = ref span154[4]; - QuestSequence obj239 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list370 = new List(num2); - CollectionsMarshal.SetCount(list370, num2); - CollectionsMarshal.AsSpan(list370)[0] = new QuestStep(EInteractionType.CompleteQuest, 1043800u, new Vector3(100.11438f, -718.4441f, 206.77502f), 1089) - { - StopDistance = 5f - }; - obj239.Steps = list370; - reference282 = obj239; - questRoot39.QuestSequence = list361; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(4594); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list371 = new List(num); - CollectionsMarshal.SetCount(list371, num); - CollectionsMarshal.AsSpan(list371)[0] = "liza"; - questRoot40.Author = list371; - num = 5; - List list372 = new List(num); - CollectionsMarshal.SetCount(list372, num); - Span span161 = CollectionsMarshal.AsSpan(list372); - ref QuestSequence reference283 = ref span161[0]; - QuestSequence obj240 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list373 = new List(num2); - CollectionsMarshal.SetCount(list373, num2); - CollectionsMarshal.AsSpan(list373)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043802u, new Vector3(103.4104f, -718.33905f, 207.87354f), 1089) - { - StopDistance = 7f - }; - obj240.Steps = list373; - reference283 = obj240; - ref QuestSequence reference284 = ref span161[1]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list374 = new List(num2); - CollectionsMarshal.SetCount(list374, num2); - CollectionsMarshal.AsSpan(list374)[0] = new QuestStep(EInteractionType.Interact, 1043804u, new Vector3(220.59961f, -699.9556f, 90.01294f), 1089); - obj241.Steps = list374; - reference284 = obj241; - ref QuestSequence reference285 = ref span161[2]; - QuestSequence obj242 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list375 = new List(num2); - CollectionsMarshal.SetCount(list375, num2); - CollectionsMarshal.AsSpan(list375)[0] = new QuestStep(EInteractionType.Interact, 1043806u, new Vector3(217.39526f, -699.9557f, 91.17261f), 1089); - obj242.Steps = list375; - reference285 = obj242; - ref QuestSequence reference286 = ref span161[3]; - QuestSequence obj243 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list376 = new List(num2); - CollectionsMarshal.SetCount(list376, num2); - Span span162 = CollectionsMarshal.AsSpan(list376); - span162[0] = new QuestStep(EInteractionType.Interact, 2013112u, new Vector3(259.9318f, -706.408f, 90.01325f), 1089) - { - TargetTerritoryId = (ushort)1089 - }; - span162[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 1043808u, new Vector3(-1.5107422f, -698.0104f, -150.83551f), 1089) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj243.Steps = list376; - reference286 = obj243; - ref QuestSequence reference287 = ref span161[4]; - QuestSequence obj244 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list377 = new List(num2); - CollectionsMarshal.SetCount(list377, num2); - CollectionsMarshal.AsSpan(list377)[0] = new QuestStep(EInteractionType.CompleteQuest, 1043812u, new Vector3(-1.1750488f, -698.0104f, -135.63751f), 1089) - { - StopDistance = 5f - }; - obj244.Steps = list377; - reference287 = obj244; - questRoot40.QuestSequence = list372; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(4595); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list378 = new List(num); - CollectionsMarshal.SetCount(list378, num); - CollectionsMarshal.AsSpan(list378)[0] = "liza"; - questRoot41.Author = list378; - num = 5; - List list379 = new List(num); - CollectionsMarshal.SetCount(list379, num); - Span span163 = CollectionsMarshal.AsSpan(list379); - ref QuestSequence reference288 = ref span163[0]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list380 = new List(num2); - CollectionsMarshal.SetCount(list380, num2); - CollectionsMarshal.AsSpan(list380)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043815u, new Vector3(1.7241821f, -698.0104f, -138.1095f), 1089) - { - StopDistance = 5f - }; - obj245.Steps = list380; - reference288 = obj245; - ref QuestSequence reference289 = ref span163[1]; - QuestSequence obj246 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list381 = new List(num2); - CollectionsMarshal.SetCount(list381, num2); - Span span164 = CollectionsMarshal.AsSpan(list381); - span164[0] = new QuestStep(EInteractionType.Interact, 2013114u, new Vector3(0.02930583f, -692.6403f, -232.4083f), 1089) - { - TargetTerritoryId = (ushort)1089 - }; - ref QuestStep reference290 = ref span164[1]; - QuestStep questStep26 = new QuestStep(EInteractionType.Interact, 1043792u, new Vector3(4.043579f, 350.57257f, -49.45453f), 1089); - num3 = 6; - List list382 = new List(num3); - CollectionsMarshal.SetCount(list382, num3); - Span span165 = CollectionsMarshal.AsSpan(list382); - span165[0] = null; - span165[1] = null; - span165[2] = null; - span165[3] = null; - span165[4] = null; - span165[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep26.CompletionQuestVariablesFlags = list382; - reference290 = questStep26; - ref QuestStep reference291 = ref span164[2]; - QuestStep questStep27 = new QuestStep(EInteractionType.Interact, 1043791u, new Vector3(-9.87262f, 350.62988f, -61.539734f), 1089); - num3 = 6; - List list383 = new List(num3); - CollectionsMarshal.SetCount(list383, num3); - Span span166 = CollectionsMarshal.AsSpan(list383); - span166[0] = null; - span166[1] = null; - span166[2] = null; - span166[3] = null; - span166[4] = null; - span166[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep27.CompletionQuestVariablesFlags = list383; - reference291 = questStep27; - ref QuestStep reference292 = ref span164[3]; - QuestStep questStep28 = new QuestStep(EInteractionType.Interact, 1043790u, new Vector3(-10.360962f, 359.19916f, -106.70636f), 1089); - num3 = 6; - List list384 = new List(num3); - CollectionsMarshal.SetCount(list384, num3); - Span span167 = CollectionsMarshal.AsSpan(list384); - span167[0] = null; - span167[1] = null; - span167[2] = null; - span167[3] = null; - span167[4] = null; - span167[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep28.CompletionQuestVariablesFlags = list384; - reference292 = questStep28; - obj246.Steps = list381; - reference289 = obj246; - ref QuestSequence reference293 = ref span163[2]; - QuestSequence obj247 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list385 = new List(num2); - CollectionsMarshal.SetCount(list385, num2); - Span span168 = CollectionsMarshal.AsSpan(list385); - span168[0] = new QuestStep(EInteractionType.Interact, 2013115u, new Vector3(14.236633f, 351.27795f, 14.389221f), 1089) - { - TargetTerritoryId = (ushort)1089 - }; - span168[1] = new QuestStep(EInteractionType.Interact, 1043814u, new Vector3(0.6866455f, -698.0104f, -139.75745f), 1089); - obj247.Steps = list385; - reference293 = obj247; - ref QuestSequence reference294 = ref span163[3]; - QuestSequence obj248 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list386 = new List(num2); - CollectionsMarshal.SetCount(list386, num2); - Span span169 = CollectionsMarshal.AsSpan(list386); - span169[0] = new QuestStep(EInteractionType.Interact, 2013114u, new Vector3(0.015197754f, -692.65283f, -232.41016f), 1089) - { - TargetTerritoryId = (ushort)1089 - }; - ref QuestStep reference295 = ref span169[1]; - QuestStep questStep29 = new QuestStep(EInteractionType.Interact, 1043816u, new Vector3(13.595764f, 359.19916f, -110.12439f), 1089); - num3 = 1; - List list387 = new List(num3); - CollectionsMarshal.SetCount(list387, num3); - CollectionsMarshal.AsSpan(list387)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMI104_04595_SYSTEM_000_322") - }; - questStep29.DialogueChoices = list387; - reference295 = questStep29; - obj248.Steps = list386; - reference294 = obj248; - ref QuestSequence reference296 = ref span163[4]; - QuestSequence obj249 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list388 = new List(num2); - CollectionsMarshal.SetCount(list388, num2); - CollectionsMarshal.AsSpan(list388)[0] = new QuestStep(EInteractionType.CompleteQuest, 1043822u, new Vector3(-30.045044f, -0.50953794f, 33.798706f), 1077) - { - StopDistance = 5f - }; - obj249.Steps = list388; - reference296 = obj249; - questRoot41.QuestSequence = list379; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(4596); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list389 = new List(num); - CollectionsMarshal.SetCount(list389, num); - CollectionsMarshal.AsSpan(list389)[0] = "liza"; - questRoot42.Author = list389; - num = 10; - List list390 = new List(num); - CollectionsMarshal.SetCount(list390, num); - Span span170 = CollectionsMarshal.AsSpan(list390); - ref QuestSequence reference297 = ref span170[0]; - QuestSequence obj250 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list391 = new List(num2); - CollectionsMarshal.SetCount(list391, num2); - CollectionsMarshal.AsSpan(list391)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043822u, new Vector3(-30.045044f, -0.50953794f, 33.798706f), 1077) - { - StopDistance = 5f - }; - obj250.Steps = list391; - reference297 = obj250; - ref QuestSequence reference298 = ref span170[1]; - QuestSequence obj251 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list392 = new List(num2); - CollectionsMarshal.SetCount(list392, num2); - CollectionsMarshal.AsSpan(list392)[0] = new QuestStep(EInteractionType.Interact, 1043822u, new Vector3(-30.045044f, -0.50953794f, 33.798706f), 1077) - { - StopDistance = 5f - }; - obj251.Steps = list392; - reference298 = obj251; - ref QuestSequence reference299 = ref span170[2]; - QuestSequence obj252 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list393 = new List(num2); - CollectionsMarshal.SetCount(list393, num2); - Span span171 = CollectionsMarshal.AsSpan(list393); - span171[0] = new QuestStep(EInteractionType.Interact, 1043829u, new Vector3(-47.257202f, -0.509538f, -22.568176f), 1077); - span171[1] = new QuestStep(EInteractionType.Interact, 1043831u, new Vector3(-12.710815f, -0.50953794f, -49.45453f), 1077); - span171[2] = new QuestStep(EInteractionType.Interact, 1043830u, new Vector3(35.14148f, -0.50953794f, -38.651123f), 1077); - obj252.Steps = list393; - reference299 = obj252; - ref QuestSequence reference300 = ref span170[3]; - QuestSequence obj253 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list394 = new List(num2); - CollectionsMarshal.SetCount(list394, num2); - CollectionsMarshal.AsSpan(list394)[0] = new QuestStep(EInteractionType.Interact, 1043822u, new Vector3(27.317875f, -0.43000424f, -13.701547f), 1077) - { - StopDistance = 0.25f - }; - obj253.Steps = list394; - reference300 = obj253; - ref QuestSequence reference301 = ref span170[4]; - QuestSequence obj254 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list395 = new List(num2); - CollectionsMarshal.SetCount(list395, num2); - CollectionsMarshal.AsSpan(list395)[0] = new QuestStep(EInteractionType.Interact, 1043822u, new Vector3(28.591307f, -0.43000418f, -12.1619835f), 1077); - obj254.Steps = list395; - reference301 = obj254; - ref QuestSequence reference302 = ref span170[5]; - QuestSequence obj255 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list396 = new List(num2); - CollectionsMarshal.SetCount(list396, num2); - ref QuestStep reference303 = ref CollectionsMarshal.AsSpan(list396)[0]; - QuestStep questStep30 = new QuestStep(EInteractionType.Interact, 1043832u, new Vector3(104.234375f, -0.50953794f, -22.62915f), 1077); - num3 = 1; - List list397 = new List(num3); - CollectionsMarshal.SetCount(list397, num3); - CollectionsMarshal.AsSpan(list397)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMI105_04596_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKMI105_04596_A1_000_002") - }; - questStep30.DialogueChoices = list397; - reference303 = questStep30; - obj255.Steps = list396; - reference302 = obj255; - ref QuestSequence reference304 = ref span170[6]; - QuestSequence obj256 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list398 = new List(num2); - CollectionsMarshal.SetCount(list398, num2); - CollectionsMarshal.AsSpan(list398)[0] = new QuestStep(EInteractionType.Interact, 1043833u, new Vector3(61.69214f, -0.40188107f, 46.463623f), 1077); - obj256.Steps = list398; - reference304 = obj256; - ref QuestSequence reference305 = ref span170[7]; - QuestSequence obj257 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list399 = new List(num2); - CollectionsMarshal.SetCount(list399, num2); - CollectionsMarshal.AsSpan(list399)[0] = new QuestStep(EInteractionType.Interact, 1043834u, new Vector3(56.198975f, 16.517479f, 82.20032f), 1077); - obj257.Steps = list399; - reference305 = obj257; - ref QuestSequence reference306 = ref span170[8]; - QuestSequence obj258 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list400 = new List(num2); - CollectionsMarshal.SetCount(list400, num2); - ref QuestStep reference307 = ref CollectionsMarshal.AsSpan(list400)[0]; - QuestStep questStep31 = new QuestStep(EInteractionType.Interact, 1043835u, new Vector3(134.41675f, 24.30001f, 60.501953f), 1077); - num3 = 1; - List list401 = new List(num3); - CollectionsMarshal.SetCount(list401, num3); - CollectionsMarshal.AsSpan(list401)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMI105_04596_Q2_000_000"), - Answer = new ExcelRef("TEXT_AKTKMI105_04596_A2_000_001") - }; - questStep31.DialogueChoices = list401; - reference307 = questStep31; - obj258.Steps = list400; - reference306 = obj258; - ref QuestSequence reference308 = ref span170[9]; - QuestSequence obj259 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list402 = new List(num2); - CollectionsMarshal.SetCount(list402, num2); - CollectionsMarshal.AsSpan(list402)[0] = new QuestStep(EInteractionType.CompleteQuest, 1043836u, new Vector3(1.0223389f, -0.4f, -68.223145f), 1077) - { - StopDistance = 5f - }; - obj259.Steps = list402; - reference308 = obj259; - questRoot42.QuestSequence = list390; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(4597); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list403 = new List(num); - CollectionsMarshal.SetCount(list403, num); - CollectionsMarshal.AsSpan(list403)[0] = "liza"; - questRoot43.Author = list403; - num = 6; - List list404 = new List(num); - CollectionsMarshal.SetCount(list404, num); - Span span172 = CollectionsMarshal.AsSpan(list404); - ref QuestSequence reference309 = ref span172[0]; - QuestSequence obj260 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list405 = new List(num2); - CollectionsMarshal.SetCount(list405, num2); - ref QuestStep reference310 = ref CollectionsMarshal.AsSpan(list405)[0]; - QuestStep obj261 = new QuestStep(EInteractionType.AcceptQuest, 1043839u, new Vector3(-0.25946045f, -0.4f, -70.72565f), 1077) - { - StopDistance = 7f - }; - num3 = 1; - List list406 = new List(num3); - CollectionsMarshal.SetCount(list406, num3); - CollectionsMarshal.AsSpan(list406)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMI106_04597_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKMI106_04597_A1_000_002") - }; - obj261.DialogueChoices = list406; - reference310 = obj261; - obj260.Steps = list405; - reference309 = obj260; - ref QuestSequence reference311 = ref span172[1]; - QuestSequence obj262 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list407 = new List(num2); - CollectionsMarshal.SetCount(list407, num2); - ref QuestStep reference312 = ref CollectionsMarshal.AsSpan(list407)[0]; - QuestStep questStep32 = new QuestStep(EInteractionType.Interact, 2013053u, new Vector3(-0.16790771f, -0.16790771f, -74.87604f), 1077); - num3 = 1; - List list408 = new List(num3); - CollectionsMarshal.SetCount(list408, num3); - CollectionsMarshal.AsSpan(list408)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMI106_04597_SYSTEM_000_120") - }; - questStep32.DialogueChoices = list408; - reference312 = questStep32; - obj262.Steps = list407; - reference311 = obj262; - span172[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference313 = ref span172[3]; - QuestSequence obj263 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list409 = new List(num2); - CollectionsMarshal.SetCount(list409, num2); - CollectionsMarshal.AsSpan(list409)[0] = new QuestStep(EInteractionType.Duty, null, null, 1092) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 870u - } - }; - obj263.Steps = list409; - reference313 = obj263; - span172[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference314 = ref span172[5]; - QuestSequence obj264 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list410 = new List(num2); - CollectionsMarshal.SetCount(list410, num2); - CollectionsMarshal.AsSpan(list410)[0] = new QuestStep(EInteractionType.CompleteQuest, 1043840u, new Vector3(-29.434692f, -0.21963555f, 52.506226f), 1077) - { - StopDistance = 5f - }; - obj264.Steps = list410; - reference314 = obj264; - questRoot43.QuestSequence = list404; - AddQuest(questId43, questRoot43); - QuestId questId44 = new QuestId(4598); - QuestRoot questRoot44 = new QuestRoot(); - num = 1; - List list411 = new List(num); - CollectionsMarshal.SetCount(list411, num); - CollectionsMarshal.AsSpan(list411)[0] = "liza"; - questRoot44.Author = list411; - num = 4; - List list412 = new List(num); - CollectionsMarshal.SetCount(list412, num); - Span span173 = CollectionsMarshal.AsSpan(list412); - ref QuestSequence reference315 = ref span173[0]; - QuestSequence obj265 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list413 = new List(num2); - CollectionsMarshal.SetCount(list413, num2); - CollectionsMarshal.AsSpan(list413)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043841u, new Vector3(-27.145874f, -0.21963556f, 50.492065f), 1077) - { - StopDistance = 5f - }; - obj265.Steps = list413; - reference315 = obj265; - ref QuestSequence reference316 = ref span173[1]; - QuestSequence obj266 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list414 = new List(num2); - CollectionsMarshal.SetCount(list414, num2); - CollectionsMarshal.AsSpan(list414)[0] = new QuestStep(EInteractionType.Interact, 1043844u, new Vector3(-50.736267f, -0.4300005f, -11.795227f), 1077); - obj266.Steps = list414; - reference316 = obj266; - ref QuestSequence reference317 = ref span173[2]; - QuestSequence obj267 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list415 = new List(num2); - CollectionsMarshal.SetCount(list415, num2); - ref QuestStep reference318 = ref CollectionsMarshal.AsSpan(list415)[0]; - QuestStep questStep33 = new QuestStep(EInteractionType.Interact, 1043846u, new Vector3(-31.99823f, -0.21963498f, 51.499146f), 1077); - num3 = 1; - List list416 = new List(num3); - CollectionsMarshal.SetCount(list416, num3); - CollectionsMarshal.AsSpan(list416)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMI107_04598_SYSTEM_000_221") - }; - questStep33.DialogueChoices = list416; - reference318 = questStep33; - obj267.Steps = list415; - reference317 = obj267; - ref QuestSequence reference319 = ref span173[3]; - QuestSequence obj268 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list417 = new List(num2); - CollectionsMarshal.SetCount(list417, num2); - ref QuestStep reference320 = ref CollectionsMarshal.AsSpan(list417)[0]; - QuestStep questStep34 = new QuestStep(EInteractionType.CompleteQuest, 1043847u, new Vector3(-350.24036f, 55f, -81.28485f), 963); - num3 = 1; - List list418 = new List(num3); - CollectionsMarshal.SetCount(list418, num3); - CollectionsMarshal.AsSpan(list418)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMI107_04598_SYSTEM_000_401") - }; - questStep34.DialogueChoices = list418; - reference320 = questStep34; - obj268.Steps = list417; - reference319 = obj268; - questRoot44.QuestSequence = list412; - AddQuest(questId44, questRoot44); - QuestId questId45 = new QuestId(4599); - QuestRoot questRoot45 = new QuestRoot(); - num = 1; - List list419 = new List(num); - CollectionsMarshal.SetCount(list419, num); - CollectionsMarshal.AsSpan(list419)[0] = "liza"; - questRoot45.Author = list419; - num = 9; - List list420 = new List(num); - CollectionsMarshal.SetCount(list420, num); - Span span174 = CollectionsMarshal.AsSpan(list420); - ref QuestSequence reference321 = ref span174[0]; - QuestSequence obj269 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list421 = new List(num2); - CollectionsMarshal.SetCount(list421, num2); - ref QuestStep reference322 = ref CollectionsMarshal.AsSpan(list421)[0]; - QuestStep obj270 = new QuestStep(EInteractionType.AcceptQuest, 1043848u, new Vector3(-1.5717163f, 0.008460393f, -1.8463745f), 1078) - { - StopDistance = 7f - }; - num3 = 1; - List list422 = new List(num3); - CollectionsMarshal.SetCount(list422, num3); - CollectionsMarshal.AsSpan(list422)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMI108_04599_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKMI108_04599_A1_000_002") - }; - obj270.DialogueChoices = list422; - reference322 = obj270; - obj269.Steps = list421; - reference321 = obj269; - ref QuestSequence reference323 = ref span174[1]; - QuestSequence obj271 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list423 = new List(num2); - CollectionsMarshal.SetCount(list423, num2); - Span span175 = CollectionsMarshal.AsSpan(list423); - span175[0] = new QuestStep(EInteractionType.Interact, 2013077u, new Vector3(-0.015319824f, 1.2359009f, 5.3864136f), 1078) - { - StopDistance = 4f, - TargetTerritoryId = (ushort)963 - }; - ref QuestStep reference324 = ref span175[1]; - QuestStep obj272 = new QuestStep(EInteractionType.Interact, 1037381u, new Vector3(-23.697266f, 1.7999947f, -180.07172f), 963) - { - StopDistance = 5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanMeghaduta, - To = EAetheryteLocation.RadzAtHanMehrydesMeyhane - } - }; - num3 = 1; - List list424 = new List(num3); - CollectionsMarshal.SetCount(list424, num3); - CollectionsMarshal.AsSpan(list424)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMI108_04599_Q3_000_000"), - Answer = new ExcelRef("TEXT_AKTKMI108_04599_A3_000_002") - }; - obj272.DialogueChoices = list424; - reference324 = obj272; - obj271.Steps = list423; - reference323 = obj271; - ref QuestSequence reference325 = ref span174[2]; - QuestSequence obj273 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list425 = new List(num2); - CollectionsMarshal.SetCount(list425, num2); - ref QuestStep reference326 = ref CollectionsMarshal.AsSpan(list425)[0]; - QuestStep obj274 = new QuestStep(EInteractionType.Interact, 1043847u, new Vector3(-350.24036f, 55f, -81.28485f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanMehrydesMeyhane, - To = EAetheryteLocation.RadzAtHanMeghaduta - } - }; - num3 = 1; - List list426 = new List(num3); - CollectionsMarshal.SetCount(list426, num3); - CollectionsMarshal.AsSpan(list426)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMI108_04599_SYSTEM_000_211") - }; - obj274.DialogueChoices = list426; - reference326 = obj274; - obj273.Steps = list425; - reference325 = obj273; - ref QuestSequence reference327 = ref span174[3]; - QuestSequence obj275 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list427 = new List(num2); - CollectionsMarshal.SetCount(list427, num2); - CollectionsMarshal.AsSpan(list427)[0] = new QuestStep(EInteractionType.Interact, 1043852u, new Vector3(-353.3227f, 54.999992f, -79.60632f), 963); - obj275.Steps = list427; - reference327 = obj275; - ref QuestSequence reference328 = ref span174[4]; - QuestSequence obj276 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list428 = new List(num2); - CollectionsMarshal.SetCount(list428, num2); - CollectionsMarshal.AsSpan(list428)[0] = new QuestStep(EInteractionType.Interact, 1037318u, new Vector3(-4.1047363f, 2.9999943f, -203.8758f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanMeghaduta, - To = EAetheryteLocation.RadzAtHanMehrydesMeyhane - } - }; - obj276.Steps = list428; - reference328 = obj276; - ref QuestSequence reference329 = ref span174[5]; - QuestSequence obj277 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list429 = new List(num2); - CollectionsMarshal.SetCount(list429, num2); - CollectionsMarshal.AsSpan(list429)[0] = new QuestStep(EInteractionType.Interact, 1043852u, new Vector3(-33.52105f, 0.59983087f, -74.57541f), 963) - { - StopDistance = 0.25f - }; - obj277.Steps = list429; - reference329 = obj277; - ref QuestSequence reference330 = ref span174[6]; - QuestSequence obj278 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list430 = new List(num2); - CollectionsMarshal.SetCount(list430, num2); - CollectionsMarshal.AsSpan(list430)[0] = new QuestStep(EInteractionType.Interact, 1037354u, new Vector3(109.33081f, 1.8631814f, -100.1145f), 963) - { - StopDistance = 7f - }; - obj278.Steps = list430; - reference330 = obj278; - ref QuestSequence reference331 = ref span174[7]; - QuestSequence obj279 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list431 = new List(num2); - CollectionsMarshal.SetCount(list431, num2); - CollectionsMarshal.AsSpan(list431)[0] = new QuestStep(EInteractionType.Interact, 1043852u, new Vector3(-159.23143f, 36.051323f, 70.24f), 963) - { - StopDistance = 0.25f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanRuveydahFibers - } - }; - obj279.Steps = list431; - reference331 = obj279; - ref QuestSequence reference332 = ref span174[8]; - QuestSequence obj280 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list432 = new List(num2); - CollectionsMarshal.SetCount(list432, num2); - CollectionsMarshal.AsSpan(list432)[0] = new QuestStep(EInteractionType.CompleteQuest, 1043857u, new Vector3(-158.15979f, 36.051323f, 67.36853f), 963); - obj280.Steps = list432; - reference332 = obj280; - questRoot45.QuestSequence = list420; - AddQuest(questId45, questRoot45); - } - - private static void LoadQuests92() - { - QuestId questId = new QuestId(4600); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043858u, new Vector3(-159.89929f, 36.051323f, 67.27698f), 963); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference3 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj3 = new QuestStep(EInteractionType.Interact, 1043847u, new Vector3(-350.24036f, 55f, -81.28485f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanRuveydahFibers, - To = EAetheryteLocation.RadzAtHanMeghaduta - } - }; - int num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMI109_04600_SYSTEM_000_020") - }; - obj3.DialogueChoices = list5; - reference3 = obj3; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj4 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039645u, new Vector3(-338.33832f, 55f, -68.40625f), 963) - { - StopDistance = 5f - }; - obj4.Steps = list6; - reference4 = obj4; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(4601); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - CollectionsMarshal.AsSpan(list7)[0] = "liza"; - questRoot2.Author = list7; - num = 8; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span2 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference5 = ref span2[0]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042192u, new Vector3(200.48828f, 567.50006f, 242.78625f), 960) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference6 = ref span2[1]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.Interact, 1043518u, new Vector3(456.32092f, 437.00073f, 315.69385f), 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span2[2]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - Span span3 = CollectionsMarshal.AsSpan(list11); - ref QuestStep reference8 = ref span3[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2013076u, new Vector3(456.65674f, 438.04077f, 310.2616f), 960); - num3 = 1; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - CollectionsMarshal.AsSpan(list12)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANOMI001_04601_Q5_000_000") - }; - questStep.DialogueChoices = list12; - reference8 = questStep; - span3[1] = new QuestStep(EInteractionType.Interact, 2013034u, new Vector3(304.37158f, 483.48206f, 143.14478f), 960); - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference9 = ref span2[3]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - Span span4 = CollectionsMarshal.AsSpan(list13); - span4[0] = new QuestStep(EInteractionType.Interact, 1043421u, new Vector3(2.4261475f, 499.87805f, 46.036377f), 1073) - { - TargetTerritoryId = (ushort)960 - }; - ref QuestStep reference10 = ref span4[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1043865u, new Vector3(301.8081f, 482.13644f, 165.02625f), 960); - num3 = 1; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - CollectionsMarshal.AsSpan(list14)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANOMI001_04601_Q6_000_000") - }; - questStep2.DialogueChoices = list14; - reference10 = questStep2; - span4[2] = new QuestStep(EInteractionType.Interact, 1043586u, new Vector3(205.3711f, 567.50006f, 246.72314f), 960); - obj8.Steps = list13; - reference9 = obj8; - ref QuestSequence reference11 = ref span2[4]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 4 - }; - num2 = 5; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - Span span5 = CollectionsMarshal.AsSpan(list15); - ref QuestStep reference12 = ref span5[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Gather, null, null, 960); - num3 = 1; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - CollectionsMarshal.AsSpan(list16)[0] = EExtendedClassJob.Miner; - questStep3.RequiredQuestAcceptedJob = list16; - num3 = 1; - List list17 = new List(num3); - CollectionsMarshal.SetCount(list17, num3); - CollectionsMarshal.AsSpan(list17)[0] = new GatheredItem - { - ItemId = 38276u, - ItemCount = 3 - }; - questStep3.ItemsToGather = list17; - reference12 = questStep3; - ref QuestStep reference13 = ref span5[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Gather, null, null, 960); - num3 = 1; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - CollectionsMarshal.AsSpan(list18)[0] = EExtendedClassJob.Botanist; - questStep4.RequiredQuestAcceptedJob = list18; - num3 = 1; - List list19 = new List(num3); - CollectionsMarshal.SetCount(list19, num3); - CollectionsMarshal.AsSpan(list19)[0] = new GatheredItem - { - ItemId = 38300u, - ItemCount = 3 - }; - questStep4.ItemsToGather = list19; - reference13 = questStep4; - ref QuestStep reference14 = ref span5[2]; - QuestStep obj10 = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - num3 = 1; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - CollectionsMarshal.AsSpan(list20)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANOMI001_04601_Q5_000_000") - }; - obj10.DialogueChoices = list20; - reference14 = obj10; - ref QuestStep reference15 = ref span5[3]; - QuestStep obj11 = new QuestStep(EInteractionType.Interact, 1043865u, new Vector3(301.8081f, 482.13644f, 165.02625f), 960) - { - TargetTerritoryId = (ushort)960 - }; - num3 = 1; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - CollectionsMarshal.AsSpan(list21)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANOMI001_04601_Q6_000_000") - }; - obj11.DialogueChoices = list21; - reference15 = obj11; - span5[4] = new QuestStep(EInteractionType.Interact, 1044190u, new Vector3(203.84521f, 567.50006f, 246.87573f), 960); - obj9.Steps = list15; - reference11 = obj9; - ref QuestSequence reference16 = ref span2[5]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - Span span6 = CollectionsMarshal.AsSpan(list22); - ref QuestStep reference17 = ref span6[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1043864u, new Vector3(244.83093f, 564.8203f, 261.76843f), 960); - num3 = 1; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - CollectionsMarshal.AsSpan(list23)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANOMI001_04601_Q5_000_000") - }; - questStep5.DialogueChoices = list23; - reference17 = questStep5; - span6[1] = new QuestStep(EInteractionType.Interact, 1043514u, new Vector3(303.82227f, 481.99442f, 154.83325f), 960); - obj12.Steps = list22; - reference16 = obj12; - ref QuestSequence reference18 = ref span2[6]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.Interact, 1043521u, new Vector3(3.3721924f, 499.6105f, 34.195435f), 1073); - obj13.Steps = list24; - reference18 = obj13; - ref QuestSequence reference19 = ref span2[7]; - QuestSequence obj14 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - Span span7 = CollectionsMarshal.AsSpan(list25); - span7[0] = new QuestStep(EInteractionType.Interact, 1043421u, new Vector3(2.4261475f, 499.87805f, 46.036377f), 1073) - { - TargetTerritoryId = (ushort)960 - }; - span7[1] = new QuestStep(EInteractionType.CompleteQuest, 1043514u, new Vector3(303.82227f, 481.99442f, 154.83325f), 960); - obj14.Steps = list25; - reference19 = obj14; - questRoot2.QuestSequence = list8; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(4602); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - CollectionsMarshal.AsSpan(list26)[0] = "plogon_enjoyer"; - questRoot3.Author = list26; - num = 9; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - Span span8 = CollectionsMarshal.AsSpan(list27); - ref QuestSequence reference20 = ref span8[0]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043951u, new Vector3(303.8529f, 481.99442f, 154.83325f), 960); - obj15.Steps = list28; - reference20 = obj15; - ref QuestSequence reference21 = ref span8[1]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - Span span9 = CollectionsMarshal.AsSpan(list29); - ref QuestStep reference22 = ref span9[0]; - QuestStep obj17 = new QuestStep(EInteractionType.Interact, 1043865u, new Vector3(301.8081f, 482.13644f, 165.02625f), 960) - { - Mount = true - }; - num3 = 1; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - CollectionsMarshal.AsSpan(list30)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANOMI002_04602_Q5_000_000") - }; - obj17.DialogueChoices = list30; - reference22 = obj17; - span9[1] = new QuestStep(EInteractionType.Interact, 1043586u, new Vector3(205.3711f, 567.4998f, 246.72314f), 960) - { - Fly = true - }; - obj16.Steps = list29; - reference21 = obj16; - ref QuestSequence reference23 = ref span8[2]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - Span span10 = CollectionsMarshal.AsSpan(list31); - span10[0] = new QuestStep(EInteractionType.Interact, 2012484u, new Vector3(492.48486f, 438.04077f, 365.43823f), 960) - { - TargetTerritoryId = (ushort)960, - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span10[1] = new QuestStep(EInteractionType.Interact, 1043527u, new Vector3(463.5537f, 417.06747f, 407.12585f), 960); - obj18.Steps = list31; - reference23 = obj18; - ref QuestSequence reference24 = ref span8[3]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - Span span11 = CollectionsMarshal.AsSpan(list32); - span11[0] = new QuestStep(EInteractionType.Interact, 2012485u, new Vector3(469.3828f, 418.14294f, 403.3722f), 960) - { - TargetTerritoryId = (ushort)960 - }; - span11[1] = new QuestStep(EInteractionType.Interact, 1043529u, new Vector3(504.90576f, 436.9996f, 341.5122f), 960) - { - Mount = true - }; - span11[2] = new QuestStep(EInteractionType.Interact, 1043530u, new Vector3(475.0896f, 437.00183f, 319.53918f), 960) - { - Mount = true - }; - obj19.Steps = list32; - reference24 = obj19; - ref QuestSequence reference25 = ref span8[4]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Interact, 1043531u, new Vector3(502.49475f, 436.99988f, 324.84924f), 960) - { - Mount = true - }; - obj20.Steps = list33; - reference25 = obj20; - ref QuestSequence reference26 = ref span8[5]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.Interact, 1043533u, new Vector3(77.3479f, 269.00006f, -607.72107f), 960) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleAbodeOfTheEa - }; - obj21.Steps = list34; - reference26 = obj21; - ref QuestSequence reference27 = ref span8[6]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.Interact, 1043537u, new Vector3(-321.24823f, 263.2611f, -523.7049f), 960) - { - Fly = true - }; - obj22.Steps = list35; - reference27 = obj22; - ref QuestSequence reference28 = ref span8[7]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 7 - }; - num2 = 5; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - Span span12 = CollectionsMarshal.AsSpan(list36); - ref QuestStep reference29 = ref span12[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.Gather, null, null, 960); - num3 = 1; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - CollectionsMarshal.AsSpan(list37)[0] = EExtendedClassJob.Miner; - questStep6.RequiredQuestAcceptedJob = list37; - num3 = 1; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - CollectionsMarshal.AsSpan(list38)[0] = new GatheredItem - { - ItemId = 38277u, - ItemCount = 3 - }; - questStep6.ItemsToGather = list38; - reference29 = questStep6; - ref QuestStep reference30 = ref span12[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Gather, null, null, 960); - num3 = 1; - List list39 = new List(num3); - CollectionsMarshal.SetCount(list39, num3); - CollectionsMarshal.AsSpan(list39)[0] = EExtendedClassJob.Botanist; - questStep7.RequiredQuestAcceptedJob = list39; - num3 = 1; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - CollectionsMarshal.AsSpan(list40)[0] = new GatheredItem - { - ItemId = 38301u, - ItemCount = 3 - }; - questStep7.ItemsToGather = list40; - reference30 = questStep7; - span12[2] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - Mount = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span12[3] = new QuestStep(EInteractionType.Interact, 1043865u, new Vector3(301.8081f, 482.13644f, 165.02625f), 960) - { - TargetTerritoryId = (ushort)960, - Fly = true - }; - span12[4] = new QuestStep(EInteractionType.Interact, 1043585u, new Vector3(203.84521f, 567.4998f, 246.87573f), 960) - { - Fly = true - }; - obj23.Steps = list36; - reference28 = obj23; - ref QuestSequence reference31 = ref span8[8]; - QuestSequence obj24 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - Span span13 = CollectionsMarshal.AsSpan(list41); - ref QuestStep reference32 = ref span13[0]; - QuestStep obj25 = new QuestStep(EInteractionType.Interact, 1043864u, new Vector3(244.83093f, 564.8203f, 261.76843f), 960) - { - Fly = true - }; - num3 = 1; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - CollectionsMarshal.AsSpan(list42)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANOMI002_04602_Q2_000_000") - }; - obj25.DialogueChoices = list42; - reference32 = obj25; - span13[1] = new QuestStep(EInteractionType.CompleteQuest, 1043951u, new Vector3(303.8529f, 481.99442f, 154.83325f), 960); - obj24.Steps = list41; - reference31 = obj24; - questRoot3.QuestSequence = list27; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(4603); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - CollectionsMarshal.AsSpan(list43)[0] = "plogon_enjoyer"; - questRoot4.Author = list43; - num = 8; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - Span span14 = CollectionsMarshal.AsSpan(list44); - ref QuestSequence reference33 = ref span14[0]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043951u, new Vector3(303.8529f, 481.99442f, 154.83325f), 960); - obj26.Steps = list45; - reference33 = obj26; - ref QuestSequence reference34 = ref span14[1]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - Span span15 = CollectionsMarshal.AsSpan(list46); - ref QuestStep reference35 = ref span15[0]; - QuestStep obj28 = new QuestStep(EInteractionType.Interact, 1043865u, new Vector3(301.8081f, 482.13644f, 165.02625f), 960) - { - Mount = true - }; - num3 = 1; - List list47 = new List(num3); - CollectionsMarshal.SetCount(list47, num3); - CollectionsMarshal.AsSpan(list47)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANOMI003_04603_Q9_000_000") - }; - obj28.DialogueChoices = list47; - reference35 = obj28; - span15[1] = new QuestStep(EInteractionType.Interact, 1043539u, new Vector3(205.92041f, 566f, 257.2517f), 960) - { - Fly = true - }; - obj27.Steps = list46; - reference34 = obj27; - ref QuestSequence reference36 = ref span14[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.Interact, 1043547u, new Vector3(110.30737f, 269.03677f, -626.7338f), 960) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleAbodeOfTheEa - }; - obj29.Steps = list48; - reference36 = obj29; - ref QuestSequence reference37 = ref span14[3]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - Span span16 = CollectionsMarshal.AsSpan(list49); - span16[0] = new QuestStep(EInteractionType.Interact, 1043552u, new Vector3(103.837524f, 269.41934f, -514.6105f), 960) - { - Fly = true - }; - span16[1] = new QuestStep(EInteractionType.Interact, 1043549u, new Vector3(46.219482f, 269.597f, -474.60138f), 960) - { - Fly = true - }; - obj30.Steps = list49; - reference37 = obj30; - ref QuestSequence reference38 = ref span14[4]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.Interact, 1043547u, new Vector3(110.30737f, 269.03677f, -626.7338f), 960) - { - Fly = true - }; - obj31.Steps = list50; - reference38 = obj31; - ref QuestSequence reference39 = ref span14[5]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - ref QuestStep reference40 = ref CollectionsMarshal.AsSpan(list51)[0]; - QuestStep obj33 = new QuestStep(EInteractionType.Interact, 1043549u, new Vector3(46.219482f, 269.597f, -474.60138f), 960) - { - Fly = true - }; - num3 = 1; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - CollectionsMarshal.AsSpan(list52)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANOMI003_04603_Q2_000_000") - }; - obj33.DialogueChoices = list52; - reference40 = obj33; - obj32.Steps = list51; - reference39 = obj32; - ref QuestSequence reference41 = ref span14[6]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 6 - }; - num2 = 5; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - Span span17 = CollectionsMarshal.AsSpan(list53); - ref QuestStep reference42 = ref span17[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.Gather, null, null, 960); - num3 = 1; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - CollectionsMarshal.AsSpan(list54)[0] = EExtendedClassJob.Miner; - questStep8.RequiredQuestAcceptedJob = list54; - num3 = 1; - List list55 = new List(num3); - CollectionsMarshal.SetCount(list55, num3); - CollectionsMarshal.AsSpan(list55)[0] = new GatheredItem - { - ItemId = 38278u, - ItemCount = 3 - }; - questStep8.ItemsToGather = list55; - reference42 = questStep8; - ref QuestStep reference43 = ref span17[1]; - QuestStep questStep9 = new QuestStep(EInteractionType.Gather, null, null, 960); - num3 = 1; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - CollectionsMarshal.AsSpan(list56)[0] = EExtendedClassJob.Botanist; - questStep9.RequiredQuestAcceptedJob = list56; - num3 = 1; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - CollectionsMarshal.AsSpan(list57)[0] = new GatheredItem - { - ItemId = 38302u, - ItemCount = 3 - }; - questStep9.ItemsToGather = list57; - reference43 = questStep9; - span17[2] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - Mount = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span17[3] = new QuestStep(EInteractionType.Interact, 1043865u, new Vector3(301.8081f, 482.13644f, 165.02625f), 960) - { - TargetTerritoryId = (ushort)960, - Fly = true - }; - span17[4] = new QuestStep(EInteractionType.Interact, 1043585u, new Vector3(203.84521f, 567.4998f, 246.87573f), 960) - { - Fly = true - }; - obj34.Steps = list53; - reference41 = obj34; - ref QuestSequence reference44 = ref span14[7]; - QuestSequence obj35 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - Span span18 = CollectionsMarshal.AsSpan(list58); - ref QuestStep reference45 = ref span18[0]; - QuestStep obj36 = new QuestStep(EInteractionType.Interact, 1043864u, new Vector3(244.83093f, 564.8203f, 261.76843f), 960) - { - Fly = true - }; - num3 = 1; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - CollectionsMarshal.AsSpan(list59)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANOMI003_04603_Q8_000_000") - }; - obj36.DialogueChoices = list59; - reference45 = obj36; - span18[1] = new QuestStep(EInteractionType.CompleteQuest, 1043951u, new Vector3(303.8529f, 481.99442f, 154.83325f), 960); - obj35.Steps = list58; - reference44 = obj35; - questRoot4.QuestSequence = list44; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(4604); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - CollectionsMarshal.AsSpan(list60)[0] = "plogon_enjoyer"; - questRoot5.Author = list60; - num = 6; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - Span span19 = CollectionsMarshal.AsSpan(list61); - ref QuestSequence reference46 = ref span19[0]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043951u, new Vector3(303.8529f, 481.99442f, 154.83325f), 960); - obj37.Steps = list62; - reference46 = obj37; - ref QuestSequence reference47 = ref span19[1]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - Span span20 = CollectionsMarshal.AsSpan(list63); - ref QuestStep reference48 = ref span20[0]; - QuestStep obj39 = new QuestStep(EInteractionType.Interact, 1043865u, new Vector3(301.8081f, 482.13644f, 165.02625f), 960) - { - TargetTerritoryId = (ushort)960, - Mount = true - }; - num3 = 1; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - CollectionsMarshal.AsSpan(list64)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANOMI004_04604_Q5_000_000") - }; - obj39.DialogueChoices = list64; - reference48 = obj39; - span20[1] = new QuestStep(EInteractionType.Interact, 1043586u, new Vector3(205.3711f, 567.4998f, 246.72314f), 960) - { - Fly = true - }; - obj38.Steps = list63; - reference47 = obj38; - ref QuestSequence reference49 = ref span19[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.Interact, 1043559u, new Vector3(-573.3883f, 73.033104f, 212.78699f), 960) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra - }; - obj40.Steps = list65; - reference49 = obj40; - ref QuestSequence reference50 = ref span19[3]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.Interact, 1011935u, new Vector3(-285.63367f, 39.04305f, 53.72693f), 398) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.DravanianForelandsAnyxTrine - }; - obj41.Steps = list66; - reference50 = obj41; - ref QuestSequence reference51 = ref span19[4]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 4 - }; - num2 = 5; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - Span span21 = CollectionsMarshal.AsSpan(list67); - ref QuestStep reference52 = ref span21[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.Gather, null, null, 398); - num3 = 1; - List list68 = new List(num3); - CollectionsMarshal.SetCount(list68, num3); - CollectionsMarshal.AsSpan(list68)[0] = EExtendedClassJob.Miner; - questStep10.RequiredQuestAcceptedJob = list68; - num3 = 1; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - CollectionsMarshal.AsSpan(list69)[0] = new GatheredItem - { - ItemId = 38279u, - ItemCount = 3 - }; - questStep10.ItemsToGather = list69; - reference52 = questStep10; - ref QuestStep reference53 = ref span21[1]; - QuestStep questStep11 = new QuestStep(EInteractionType.Gather, null, null, 398); - num3 = 1; - List list70 = new List(num3); - CollectionsMarshal.SetCount(list70, num3); - CollectionsMarshal.AsSpan(list70)[0] = EExtendedClassJob.Botanist; - questStep11.RequiredQuestAcceptedJob = list70; - num3 = 1; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - CollectionsMarshal.AsSpan(list71)[0] = new GatheredItem - { - ItemId = 38303u, - ItemCount = 3 - }; - questStep11.ItemsToGather = list71; - reference53 = questStep11; - span21[2] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - Mount = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span21[3] = new QuestStep(EInteractionType.Interact, 1043865u, new Vector3(301.8081f, 482.13644f, 165.02625f), 960) - { - TargetTerritoryId = (ushort)960, - Fly = true - }; - span21[4] = new QuestStep(EInteractionType.Interact, 1043585u, new Vector3(203.84521f, 567.4998f, 246.87573f), 960) - { - Fly = true - }; - obj42.Steps = list67; - reference51 = obj42; - ref QuestSequence reference54 = ref span19[5]; - QuestSequence obj43 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - Span span22 = CollectionsMarshal.AsSpan(list72); - ref QuestStep reference55 = ref span22[0]; - QuestStep obj44 = new QuestStep(EInteractionType.Interact, 1043864u, new Vector3(244.83093f, 564.8203f, 261.76843f), 960) - { - TargetTerritoryId = (ushort)960, - Fly = true - }; - num3 = 1; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - CollectionsMarshal.AsSpan(list73)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANOMI004_04604_Q4_000_000") - }; - obj44.DialogueChoices = list73; - reference55 = obj44; - span22[1] = new QuestStep(EInteractionType.CompleteQuest, 1043951u, new Vector3(303.8529f, 481.99442f, 154.83325f), 960); - obj43.Steps = list72; - reference54 = obj43; - questRoot5.QuestSequence = list61; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(4605); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - CollectionsMarshal.AsSpan(list74)[0] = "plogon_enjoyer"; - questRoot6.Author = list74; - num = 8; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - Span span23 = CollectionsMarshal.AsSpan(list75); - ref QuestSequence reference56 = ref span23[0]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043951u, new Vector3(303.8529f, 481.99442f, 154.83325f), 960); - obj45.Steps = list76; - reference56 = obj45; - ref QuestSequence reference57 = ref span23[1]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - Span span24 = CollectionsMarshal.AsSpan(list77); - ref QuestStep reference58 = ref span24[0]; - QuestStep obj47 = new QuestStep(EInteractionType.Interact, 1043865u, new Vector3(301.8081f, 482.13644f, 165.02625f), 960) - { - TargetTerritoryId = (ushort)960 - }; - num3 = 1; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - CollectionsMarshal.AsSpan(list78)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANOMI005_04605_Q5_000_000") - }; - obj47.DialogueChoices = list78; - reference58 = obj47; - span24[1] = new QuestStep(EInteractionType.Interact, 1043586u, new Vector3(205.3711f, 567.4998f, 246.72314f), 960) - { - Fly = true - }; - obj46.Steps = list77; - reference57 = obj46; - ref QuestSequence reference59 = ref span23[2]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - Span span25 = CollectionsMarshal.AsSpan(list79); - span25[0] = new QuestStep(EInteractionType.Interact, 1043530u, new Vector3(475.0896f, 437.00183f, 319.53918f), 960) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span25[1] = new QuestStep(EInteractionType.Interact, 1043529u, new Vector3(504.90576f, 436.9996f, 341.5122f), 960) - { - Fly = true - }; - obj48.Steps = list79; - reference59 = obj48; - ref QuestSequence reference60 = ref span23[3]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.Interact, 1043584u, new Vector3(803.7993f, 478.7742f, 200.73242f), 960) - { - Fly = true - }; - obj49.Steps = list80; - reference60 = obj49; - ref QuestSequence reference61 = ref span23[4]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - Span span26 = CollectionsMarshal.AsSpan(list81); - span26[0] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - Mount = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span26[1] = new QuestStep(EInteractionType.Interact, 1043865u, new Vector3(301.8081f, 482.13644f, 165.02625f), 960) - { - TargetTerritoryId = (ushort)960, - Fly = true - }; - span26[2] = new QuestStep(EInteractionType.Interact, 1043586u, new Vector3(205.3711f, 567.4998f, 246.72314f), 960) - { - Fly = true - }; - obj50.Steps = list81; - reference61 = obj50; - ref QuestSequence reference62 = ref span23[5]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.Interact, 2013033u, new Vector3(203.50952f, 567.4983f, 244.2511f), 960); - obj51.Steps = list82; - reference62 = obj51; - ref QuestSequence reference63 = ref span23[6]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 6 - }; - num2 = 5; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - Span span27 = CollectionsMarshal.AsSpan(list83); - ref QuestStep reference64 = ref span27[0]; - QuestStep questStep12 = new QuestStep(EInteractionType.Gather, null, null, 1073); - num3 = 1; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - CollectionsMarshal.AsSpan(list84)[0] = EExtendedClassJob.Miner; - questStep12.RequiredQuestAcceptedJob = list84; - num3 = 1; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - CollectionsMarshal.AsSpan(list85)[0] = new GatheredItem - { - ItemId = 38280u, - ItemCount = 3 - }; - questStep12.ItemsToGather = list85; - reference64 = questStep12; - ref QuestStep reference65 = ref span27[1]; - QuestStep questStep13 = new QuestStep(EInteractionType.Gather, null, null, 1073); - num3 = 1; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - CollectionsMarshal.AsSpan(list86)[0] = EExtendedClassJob.Botanist; - questStep13.RequiredQuestAcceptedJob = list86; - num3 = 1; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - CollectionsMarshal.AsSpan(list87)[0] = new GatheredItem - { - ItemId = 38304u, - ItemCount = 3 - }; - questStep13.ItemsToGather = list87; - reference65 = questStep13; - span27[2] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - Mount = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span27[3] = new QuestStep(EInteractionType.Interact, 1043865u, new Vector3(301.8081f, 482.13644f, 165.02625f), 960) - { - TargetTerritoryId = (ushort)960, - Fly = true - }; - span27[4] = new QuestStep(EInteractionType.Interact, 1043586u, new Vector3(205.3711f, 567.4998f, 246.72314f), 960) - { - Fly = true - }; - obj52.Steps = list83; - reference63 = obj52; - ref QuestSequence reference66 = ref span23[7]; - QuestSequence obj53 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - Span span28 = CollectionsMarshal.AsSpan(list88); - ref QuestStep reference67 = ref span28[0]; - QuestStep obj54 = new QuestStep(EInteractionType.Interact, 1043864u, new Vector3(244.83093f, 564.8203f, 261.76843f), 960) - { - TargetTerritoryId = (ushort)960, - Fly = true - }; - num3 = 1; - List list89 = new List(num3); - CollectionsMarshal.SetCount(list89, num3); - CollectionsMarshal.AsSpan(list89)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANOMI005_04605_Q6_000_000") - }; - obj54.DialogueChoices = list89; - reference67 = obj54; - span28[1] = new QuestStep(EInteractionType.CompleteQuest, 1043515u, new Vector3(303.39502f, 481.99442f, 152.81909f), 960); - obj53.Steps = list88; - reference66 = obj53; - questRoot6.QuestSequence = list75; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(4606); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - CollectionsMarshal.AsSpan(list90)[0] = "plogon_enjoyer"; - questRoot7.Author = list90; - num = 5; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - Span span29 = CollectionsMarshal.AsSpan(list91); - ref QuestSequence reference68 = ref span29[0]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043951u, new Vector3(303.8529f, 481.99442f, 154.83325f), 960); - obj55.Steps = list92; - reference68 = obj55; - ref QuestSequence reference69 = ref span29[1]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - Span span30 = CollectionsMarshal.AsSpan(list93); - ref QuestStep reference70 = ref span30[0]; - QuestStep obj57 = new QuestStep(EInteractionType.Interact, 1043865u, new Vector3(301.8081f, 482.13644f, 165.02625f), 960) - { - TargetTerritoryId = (ushort)960 - }; - num3 = 1; - List list94 = new List(num3); - CollectionsMarshal.SetCount(list94, num3); - CollectionsMarshal.AsSpan(list94)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANOMI006_04606_Q5_000_000") - }; - obj57.DialogueChoices = list94; - reference70 = obj57; - span30[1] = new QuestStep(EInteractionType.Interact, 1043586u, new Vector3(205.3711f, 567.4998f, 246.72314f), 960) - { - Fly = true - }; - obj56.Steps = list93; - reference69 = obj56; - ref QuestSequence reference71 = ref span29[2]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - Span span31 = CollectionsMarshal.AsSpan(list95); - span31[0] = new QuestStep(EInteractionType.Interact, 1043424u, new Vector3(197.07019f, 567.49976f, 246.23486f), 960); - span31[1] = new QuestStep(EInteractionType.Interact, 1043423u, new Vector3(200.67139f, 567.4998f, 236.10278f), 960); - span31[2] = new QuestStep(EInteractionType.Interact, 1043592u, new Vector3(206.43921f, 567.49976f, 236.89624f), 960); - span31[3] = new QuestStep(EInteractionType.Interact, 1043593u, new Vector3(218.4939f, 565.99994f, 247.18079f), 960); - obj58.Steps = list95; - reference71 = obj58; - ref QuestSequence reference72 = ref span29[3]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.Interact, 1043585u, new Vector3(203.84521f, 567.4998f, 246.87573f), 960); - obj59.Steps = list96; - reference72 = obj59; - ref QuestSequence reference73 = ref span29[4]; - QuestSequence obj60 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - Span span32 = CollectionsMarshal.AsSpan(list97); - ref QuestStep reference74 = ref span32[0]; - QuestStep obj61 = new QuestStep(EInteractionType.Interact, 1043864u, new Vector3(244.83093f, 564.8203f, 261.76843f), 960) - { - TargetTerritoryId = (ushort)960, - Fly = true - }; - num3 = 1; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - CollectionsMarshal.AsSpan(list98)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANOMI006_04606_Q6_000_000") - }; - obj61.DialogueChoices = list98; - reference74 = obj61; - span32[1] = new QuestStep(EInteractionType.CompleteQuest, 1043951u, new Vector3(303.8529f, 481.99442f, 154.83325f), 960); - obj60.Steps = list97; - reference73 = obj60; - questRoot7.QuestSequence = list91; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(4607); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - CollectionsMarshal.AsSpan(list99)[0] = "liza"; - questRoot8.Author = list99; - num = 3; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - Span span33 = CollectionsMarshal.AsSpan(list100); - ref QuestSequence reference75 = ref span33[0]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj62.Steps = list101; - reference75 = obj62; - ref QuestSequence reference76 = ref span33[1]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - Span span34 = CollectionsMarshal.AsSpan(list102); - ref QuestStep reference77 = ref span34[0]; - QuestStep questStep14 = new QuestStep(EInteractionType.Gather, null, null, 960); - num3 = 1; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - CollectionsMarshal.AsSpan(list103)[0] = EExtendedClassJob.Miner; - questStep14.RequiredQuestAcceptedJob = list103; - num3 = 1; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - CollectionsMarshal.AsSpan(list104)[0] = new GatheredItem - { - ItemId = 38281u, - ItemCount = 3 - }; - questStep14.ItemsToGather = list104; - reference77 = questStep14; - ref QuestStep reference78 = ref span34[1]; - QuestStep questStep15 = new QuestStep(EInteractionType.Gather, null, null, 960); - num3 = 1; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - CollectionsMarshal.AsSpan(list105)[0] = EExtendedClassJob.Botanist; - questStep15.RequiredQuestAcceptedJob = list105; - num3 = 1; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - CollectionsMarshal.AsSpan(list106)[0] = new GatheredItem - { - ItemId = 38305u, - ItemCount = 3 - }; - questStep15.ItemsToGather = list106; - reference78 = questStep15; - span34[2] = new QuestStep(EInteractionType.Interact, 1044042u, new Vector3(507.0725f, 436.99997f, 340.07776f), 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - obj63.Steps = list102; - reference76 = obj63; - ref QuestSequence reference79 = ref span33[2]; - QuestSequence obj64 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - Span span35 = CollectionsMarshal.AsSpan(list107); - span35[0] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960 - }; - span35[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj64.Steps = list107; - reference79 = obj64; - questRoot8.QuestSequence = list100; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(4608); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - CollectionsMarshal.AsSpan(list108)[0] = "liza"; - questRoot9.Author = list108; - num = 3; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - Span span36 = CollectionsMarshal.AsSpan(list109); - ref QuestSequence reference80 = ref span36[0]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj65.Steps = list110; - reference80 = obj65; - ref QuestSequence reference81 = ref span36[1]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - Span span37 = CollectionsMarshal.AsSpan(list111); - span37[0] = new QuestStep(EInteractionType.Interact, 2013074u, new Vector3(304.3412f, 483.48206f, 143.11438f), 960) - { - TargetTerritoryId = (ushort)1073 - }; - ref QuestStep reference82 = ref span37[1]; - QuestStep obj67 = new QuestStep(EInteractionType.Say, 1044043u, new Vector3(-7.1260376f, 498.9474f, -5.416992f), 1073) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_BANOMI102_04608_SAYTODO_000_050" - } - }; - num3 = 6; - List list112 = new List(num3); - CollectionsMarshal.SetCount(list112, num3); - Span span38 = CollectionsMarshal.AsSpan(list112); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj67.CompletionQuestVariablesFlags = list112; - reference82 = obj67; - ref QuestStep reference83 = ref span37[2]; - QuestStep obj68 = new QuestStep(EInteractionType.Say, 1044044u, new Vector3(11.215393f, 499.7763f, -23.239563f), 1073) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_BANOMI102_04608_SAYTODO_000_050" - } - }; - num3 = 6; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - Span span39 = CollectionsMarshal.AsSpan(list113); - span39[0] = null; - span39[1] = null; - span39[2] = null; - span39[3] = null; - span39[4] = null; - span39[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj68.CompletionQuestVariablesFlags = list113; - reference83 = obj68; - obj66.Steps = list111; - reference81 = obj66; - ref QuestSequence reference84 = ref span36[2]; - QuestSequence obj69 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - Span span40 = CollectionsMarshal.AsSpan(list114); - span40[0] = new QuestStep(EInteractionType.Interact, 1043421u, new Vector3(2.4261475f, 499.87805f, 46.036377f), 1073) - { - TargetTerritoryId = (ushort)960 - }; - span40[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj69.Steps = list114; - reference84 = obj69; - questRoot9.QuestSequence = list109; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(4609); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - CollectionsMarshal.AsSpan(list115)[0] = "liza"; - questRoot10.Author = list115; - num = 2; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - Span span41 = CollectionsMarshal.AsSpan(list116); - ref QuestSequence reference85 = ref span41[0]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj70.Steps = list117; - reference85 = obj70; - ref QuestSequence reference86 = ref span41[1]; - QuestSequence obj71 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - Span span42 = CollectionsMarshal.AsSpan(list118); - ref QuestStep reference87 = ref span42[0]; - QuestStep questStep16 = new QuestStep(EInteractionType.Gather, null, null, 960); - num3 = 1; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - CollectionsMarshal.AsSpan(list119)[0] = EExtendedClassJob.Miner; - questStep16.RequiredQuestAcceptedJob = list119; - num3 = 1; - List list120 = new List(num3); - CollectionsMarshal.SetCount(list120, num3); - CollectionsMarshal.AsSpan(list120)[0] = new GatheredItem - { - ItemId = 38282u, - ItemCount = 3 - }; - questStep16.ItemsToGather = list120; - reference87 = questStep16; - ref QuestStep reference88 = ref span42[1]; - QuestStep questStep17 = new QuestStep(EInteractionType.Gather, null, null, 960); - num3 = 1; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - CollectionsMarshal.AsSpan(list121)[0] = EExtendedClassJob.Botanist; - questStep17.RequiredQuestAcceptedJob = list121; - num3 = 1; - List list122 = new List(num3); - CollectionsMarshal.SetCount(list122, num3); - CollectionsMarshal.AsSpan(list122)[0] = new GatheredItem - { - ItemId = 38306u, - ItemCount = 3 - }; - questStep17.ItemsToGather = list122; - reference88 = questStep17; - span42[2] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span42[3] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj71.Steps = list118; - reference86 = obj71; - questRoot10.QuestSequence = list116; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(4610); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - CollectionsMarshal.AsSpan(list123)[0] = "liza"; - questRoot11.Author = list123; - num = 3; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - Span span43 = CollectionsMarshal.AsSpan(list124); - ref QuestSequence reference89 = ref span43[0]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj72.Steps = list125; - reference89 = obj72; - ref QuestSequence reference90 = ref span43[1]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - Span span44 = CollectionsMarshal.AsSpan(list126); - ref QuestStep reference91 = ref span44[0]; - QuestStep obj74 = new QuestStep(EInteractionType.Interact, 1044046u, new Vector3(-585.3514f, 74.4431f, 238.33057f), 960) - { - StopDistance = 9f, - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - RequiredQuestVariablesNotMet = true - } - } - }; - num3 = 6; - List> list127 = new List>(num3); - CollectionsMarshal.SetCount(list127, num3); - Span> span45 = CollectionsMarshal.AsSpan(list127); - span45[0] = null; - span45[1] = null; - ref List reference92 = ref span45[2]; - int num4 = 2; - List list128 = new List(num4); - CollectionsMarshal.SetCount(list128, num4); - Span span46 = CollectionsMarshal.AsSpan(list128); - span46[0] = new QuestWorkValue((byte)1, null, EQuestWorkMode.Bitwise); - span46[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - reference92 = list128; - span45[3] = null; - span45[4] = null; - span45[5] = null; - obj74.RequiredQuestVariables = list127; - num3 = 6; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - Span span47 = CollectionsMarshal.AsSpan(list129); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj74.CompletionQuestVariablesFlags = list129; - reference91 = obj74; - ref QuestStep reference93 = ref span44[1]; - QuestStep obj75 = new QuestStep(EInteractionType.Interact, 1044047u, new Vector3(36.66736f, 269.16718f, -627.83246f), 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleAbodeOfTheEa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - RequiredQuestVariablesNotMet = true - } - } - }; - num3 = 6; - List> list130 = new List>(num3); - CollectionsMarshal.SetCount(list130, num3); - Span> span48 = CollectionsMarshal.AsSpan(list130); - span48[0] = null; - span48[1] = null; - ref List reference94 = ref span48[2]; - num4 = 2; - List list131 = new List(num4); - CollectionsMarshal.SetCount(list131, num4); - Span span49 = CollectionsMarshal.AsSpan(list131); - span49[0] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - span49[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - reference94 = list131; - span48[3] = null; - span48[4] = null; - span48[5] = null; - obj75.RequiredQuestVariables = list130; - num3 = 6; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - Span span50 = CollectionsMarshal.AsSpan(list132); - span50[0] = null; - span50[1] = null; - span50[2] = null; - span50[3] = null; - span50[4] = null; - span50[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj75.CompletionQuestVariablesFlags = list132; - reference93 = obj75; - ref QuestStep reference95 = ref span44[2]; - QuestStep obj76 = new QuestStep(EInteractionType.Interact, 1044045u, new Vector3(510.64307f, 436.9999f, 332.41772f), 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - num3 = 6; - List> list133 = new List>(num3); - CollectionsMarshal.SetCount(list133, num3); - Span> span51 = CollectionsMarshal.AsSpan(list133); - span51[0] = null; - span51[1] = null; - ref List reference96 = ref span51[2]; - num4 = 2; - List list134 = new List(num4); - CollectionsMarshal.SetCount(list134, num4); - Span span52 = CollectionsMarshal.AsSpan(list134); - span52[0] = new QuestWorkValue((byte)1, null, EQuestWorkMode.Bitwise); - span52[1] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - reference96 = list134; - span51[3] = null; - span51[4] = null; - span51[5] = null; - obj76.RequiredQuestVariables = list133; - num3 = 6; - List list135 = new List(num3); - CollectionsMarshal.SetCount(list135, num3); - Span span53 = CollectionsMarshal.AsSpan(list135); - span53[0] = null; - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj76.CompletionQuestVariablesFlags = list135; - reference95 = obj76; - obj73.Steps = list126; - reference90 = obj73; - ref QuestSequence reference97 = ref span43[2]; - QuestSequence obj77 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - Span span54 = CollectionsMarshal.AsSpan(list136); - span54[0] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(489.2804f, 437.5829f, 333.63843f), - MaximumDistance = 100f, - TerritoryId = 960 - } - } - } - }; - span54[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj77.Steps = list136; - reference97 = obj77; - questRoot11.QuestSequence = list124; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(4611); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list137 = new List(num); - CollectionsMarshal.SetCount(list137, num); - CollectionsMarshal.AsSpan(list137)[0] = "plogon_enjoyer"; - questRoot12.Author = list137; - num = 3; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - Span span55 = CollectionsMarshal.AsSpan(list138); - ref QuestSequence reference98 = ref span55[0]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj78.Steps = list139; - reference98 = obj78; - ref QuestSequence reference99 = ref span55[1]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - Span span56 = CollectionsMarshal.AsSpan(list140); - span56[0] = new QuestStep(EInteractionType.Interact, 2013074u, new Vector3(304.3412f, 483.48206f, 143.11438f), 960) - { - TargetTerritoryId = (ushort)1073 - }; - ref QuestStep reference100 = ref span56[1]; - QuestStep questStep18 = new QuestStep(EInteractionType.Gather, null, null, 1073); - num3 = 1; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - CollectionsMarshal.AsSpan(list141)[0] = EExtendedClassJob.Miner; - questStep18.RequiredQuestAcceptedJob = list141; - num3 = 1; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - CollectionsMarshal.AsSpan(list142)[0] = new GatheredItem - { - ItemId = 38284u, - ItemCount = 3 - }; - questStep18.ItemsToGather = list142; - reference100 = questStep18; - ref QuestStep reference101 = ref span56[2]; - QuestStep questStep19 = new QuestStep(EInteractionType.Gather, null, null, 1073); - num3 = 1; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - CollectionsMarshal.AsSpan(list143)[0] = EExtendedClassJob.Botanist; - questStep19.RequiredQuestAcceptedJob = list143; - num3 = 1; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - CollectionsMarshal.AsSpan(list144)[0] = new GatheredItem - { - ItemId = 38308u, - ItemCount = 3 - }; - questStep19.ItemsToGather = list144; - reference101 = questStep19; - span56[3] = new QuestStep(EInteractionType.Interact, 1043421u, new Vector3(2.4261475f, 499.87805f, 46.036377f), 1073) - { - TargetTerritoryId = (ushort)960 - }; - span56[4] = new QuestStep(EInteractionType.Interact, 1043865u, new Vector3(301.8081f, 482.13644f, 165.02625f), 960) - { - TargetTerritoryId = (ushort)960 - }; - span56[5] = new QuestStep(EInteractionType.Interact, 1043936u, new Vector3(194.56775f, 567.4998f, 250.93457f), 960); - obj79.Steps = list140; - reference99 = obj79; - ref QuestSequence reference102 = ref span55[2]; - QuestSequence obj80 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - Span span57 = CollectionsMarshal.AsSpan(list145); - span57[0] = new QuestStep(EInteractionType.Interact, 1043864u, new Vector3(244.83093f, 564.8203f, 261.76843f), 960) - { - TargetTerritoryId = (ushort)960 - }; - span57[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj80.Steps = list145; - reference102 = obj80; - questRoot12.QuestSequence = list138; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(4612); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list146 = new List(num); - CollectionsMarshal.SetCount(list146, num); - CollectionsMarshal.AsSpan(list146)[0] = "liza"; - questRoot13.Author = list146; - num = 2; - List list147 = new List(num); - CollectionsMarshal.SetCount(list147, num); - Span span58 = CollectionsMarshal.AsSpan(list147); - ref QuestSequence reference103 = ref span58[0]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj81.Steps = list148; - reference103 = obj81; - ref QuestSequence reference104 = ref span58[1]; - QuestSequence obj82 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - Span span59 = CollectionsMarshal.AsSpan(list149); - ref QuestStep reference105 = ref span59[0]; - QuestStep questStep20 = new QuestStep(EInteractionType.Gather, null, null, 960); - num3 = 1; - List list150 = new List(num3); - CollectionsMarshal.SetCount(list150, num3); - CollectionsMarshal.AsSpan(list150)[0] = EExtendedClassJob.Miner; - questStep20.RequiredQuestAcceptedJob = list150; - num3 = 1; - List list151 = new List(num3); - CollectionsMarshal.SetCount(list151, num3); - CollectionsMarshal.AsSpan(list151)[0] = new GatheredItem - { - ItemId = 38283u, - ItemCount = 3 - }; - questStep20.ItemsToGather = list151; - reference105 = questStep20; - ref QuestStep reference106 = ref span59[1]; - QuestStep questStep21 = new QuestStep(EInteractionType.Gather, null, null, 960); - num3 = 1; - List list152 = new List(num3); - CollectionsMarshal.SetCount(list152, num3); - CollectionsMarshal.AsSpan(list152)[0] = EExtendedClassJob.Botanist; - questStep21.RequiredQuestAcceptedJob = list152; - num3 = 1; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - CollectionsMarshal.AsSpan(list153)[0] = new GatheredItem - { - ItemId = 38307u, - ItemCount = 3 - }; - questStep21.ItemsToGather = list153; - reference106 = questStep21; - span59[2] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span59[3] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj82.Steps = list149; - reference104 = obj82; - questRoot13.QuestSequence = list147; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(4613); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list154 = new List(num); - CollectionsMarshal.SetCount(list154, num); - CollectionsMarshal.AsSpan(list154)[0] = "liza"; - questRoot14.Author = list154; - num = 3; - List list155 = new List(num); - CollectionsMarshal.SetCount(list155, num); - Span span60 = CollectionsMarshal.AsSpan(list155); - ref QuestSequence reference107 = ref span60[0]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj83.Steps = list156; - reference107 = obj83; - ref QuestSequence reference108 = ref span60[1]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - Span span61 = CollectionsMarshal.AsSpan(list157); - ref QuestStep reference109 = ref span61[0]; - QuestStep obj85 = new QuestStep(EInteractionType.Interact, 1044048u, new Vector3(-347.70734f, 263.0844f, -463.73694f), 960) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleAbodeOfTheEa - }; - num3 = 6; - List list158 = new List(num3); - CollectionsMarshal.SetCount(list158, num3); - Span span62 = CollectionsMarshal.AsSpan(list158); - span62[0] = null; - span62[1] = null; - span62[2] = null; - span62[3] = null; - span62[4] = null; - span62[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj85.CompletionQuestVariablesFlags = list158; - reference109 = obj85; - ref QuestStep reference110 = ref span61[1]; - QuestStep obj86 = new QuestStep(EInteractionType.Interact, 1044049u, new Vector3(-376.21124f, 266.08542f, -551.90356f), 960) - { - Fly = true - }; - num3 = 6; - List list159 = new List(num3); - CollectionsMarshal.SetCount(list159, num3); - Span span63 = CollectionsMarshal.AsSpan(list159); - span63[0] = null; - span63[1] = null; - span63[2] = null; - span63[3] = null; - span63[4] = null; - span63[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj86.CompletionQuestVariablesFlags = list159; - reference110 = obj86; - obj84.Steps = list157; - reference108 = obj84; - ref QuestSequence reference111 = ref span60[2]; - QuestSequence obj87 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - Span span64 = CollectionsMarshal.AsSpan(list160); - span64[0] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span64[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj87.Steps = list160; - reference111 = obj87; - questRoot14.QuestSequence = list155; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(4614); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - CollectionsMarshal.AsSpan(list161)[0] = "plogon_enjoyer"; - questRoot15.Author = list161; - num = 3; - List list162 = new List(num); - CollectionsMarshal.SetCount(list162, num); - Span span65 = CollectionsMarshal.AsSpan(list162); - ref QuestSequence reference112 = ref span65[0]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj88.Steps = list163; - reference112 = obj88; - ref QuestSequence reference113 = ref span65[1]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - Span span66 = CollectionsMarshal.AsSpan(list164); - span66[0] = new QuestStep(EInteractionType.Interact, 2013074u, new Vector3(304.3412f, 483.48206f, 143.11438f), 960) - { - TargetTerritoryId = (ushort)1073 - }; - ref QuestStep reference114 = ref span66[1]; - QuestStep questStep22 = new QuestStep(EInteractionType.Gather, null, null, 1073); - num3 = 1; - List list165 = new List(num3); - CollectionsMarshal.SetCount(list165, num3); - CollectionsMarshal.AsSpan(list165)[0] = EExtendedClassJob.Miner; - questStep22.RequiredQuestAcceptedJob = list165; - num3 = 1; - List list166 = new List(num3); - CollectionsMarshal.SetCount(list166, num3); - CollectionsMarshal.AsSpan(list166)[0] = new GatheredItem - { - ItemId = 38285u, - ItemCount = 3 - }; - questStep22.ItemsToGather = list166; - reference114 = questStep22; - ref QuestStep reference115 = ref span66[2]; - QuestStep questStep23 = new QuestStep(EInteractionType.Gather, null, null, 1073); - num3 = 1; - List list167 = new List(num3); - CollectionsMarshal.SetCount(list167, num3); - CollectionsMarshal.AsSpan(list167)[0] = EExtendedClassJob.Botanist; - questStep23.RequiredQuestAcceptedJob = list167; - num3 = 1; - List list168 = new List(num3); - CollectionsMarshal.SetCount(list168, num3); - CollectionsMarshal.AsSpan(list168)[0] = new GatheredItem - { - ItemId = 38309u, - ItemCount = 3 - }; - questStep23.ItemsToGather = list168; - reference115 = questStep23; - span66[3] = new QuestStep(EInteractionType.Interact, 1044050u, new Vector3(472.03772f, 437.00162f, 336.6598f), 960) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - obj89.Steps = list164; - reference113 = obj89; - ref QuestSequence reference116 = ref span65[2]; - QuestSequence obj90 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - Span span67 = CollectionsMarshal.AsSpan(list169); - span67[0] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - Mount = true - }; - span67[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj90.Steps = list169; - reference116 = obj90; - questRoot15.QuestSequence = list162; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(4615); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list170 = new List(num); - CollectionsMarshal.SetCount(list170, num); - CollectionsMarshal.AsSpan(list170)[0] = "plogon_enjoyer"; - questRoot16.Author = list170; - num = 2; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - Span span68 = CollectionsMarshal.AsSpan(list171); - ref QuestSequence reference117 = ref span68[0]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj91.Steps = list172; - reference117 = obj91; - ref QuestSequence reference118 = ref span68[1]; - QuestSequence obj92 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - Span span69 = CollectionsMarshal.AsSpan(list173); - ref QuestStep reference119 = ref span69[0]; - QuestStep questStep24 = new QuestStep(EInteractionType.Gather, null, null, 960); - num3 = 1; - List list174 = new List(num3); - CollectionsMarshal.SetCount(list174, num3); - CollectionsMarshal.AsSpan(list174)[0] = EExtendedClassJob.Miner; - questStep24.RequiredQuestAcceptedJob = list174; - num3 = 1; - List list175 = new List(num3); - CollectionsMarshal.SetCount(list175, num3); - CollectionsMarshal.AsSpan(list175)[0] = new GatheredItem - { - ItemId = 38286u, - ItemCount = 3 - }; - questStep24.ItemsToGather = list175; - reference119 = questStep24; - ref QuestStep reference120 = ref span69[1]; - QuestStep questStep25 = new QuestStep(EInteractionType.Gather, null, null, 960); - num3 = 1; - List list176 = new List(num3); - CollectionsMarshal.SetCount(list176, num3); - CollectionsMarshal.AsSpan(list176)[0] = EExtendedClassJob.Botanist; - questStep25.RequiredQuestAcceptedJob = list176; - num3 = 1; - List list177 = new List(num3); - CollectionsMarshal.SetCount(list177, num3); - CollectionsMarshal.AsSpan(list177)[0] = new GatheredItem - { - ItemId = 38310u, - ItemCount = 3 - }; - questStep25.ItemsToGather = list177; - reference120 = questStep25; - span69[2] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - Mount = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span69[3] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj92.Steps = list173; - reference118 = obj92; - questRoot16.QuestSequence = list171; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(4616); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list178 = new List(num); - CollectionsMarshal.SetCount(list178, num); - CollectionsMarshal.AsSpan(list178)[0] = "plogon_enjoyer"; - questRoot17.Author = list178; - num = 3; - List list179 = new List(num); - CollectionsMarshal.SetCount(list179, num); - Span span70 = CollectionsMarshal.AsSpan(list179); - ref QuestSequence reference121 = ref span70[0]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj93.Steps = list180; - reference121 = obj93; - ref QuestSequence reference122 = ref span70[1]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - Span span71 = CollectionsMarshal.AsSpan(list181); - ref QuestStep reference123 = ref span71[0]; - QuestStep obj95 = new QuestStep(EInteractionType.Interact, 1044051u, new Vector3(-543.20593f, 72.39467f, 298.146f), 960) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - RequiredQuestVariablesNotMet = true - } - } - }; - num3 = 6; - List> list182 = new List>(num3); - CollectionsMarshal.SetCount(list182, num3); - Span> span72 = CollectionsMarshal.AsSpan(list182); - span72[0] = null; - span72[1] = null; - span72[2] = null; - ref List reference124 = ref span72[3]; - num4 = 1; - List list183 = new List(num4); - CollectionsMarshal.SetCount(list183, num4); - CollectionsMarshal.AsSpan(list183)[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - reference124 = list183; - span72[4] = null; - span72[5] = null; - obj95.RequiredQuestVariables = list182; - reference123 = obj95; - ref QuestStep reference125 = ref span71[1]; - QuestStep obj96 = new QuestStep(EInteractionType.Interact, 1044052u, new Vector3(-110.27698f, 53.589848f, 538.41455f), 960) - { - Fly = true - }; - num3 = 6; - List> list184 = new List>(num3); - CollectionsMarshal.SetCount(list184, num3); - Span> span73 = CollectionsMarshal.AsSpan(list184); - span73[0] = null; - span73[1] = null; - span73[2] = null; - ref List reference126 = ref span73[3]; - num4 = 1; - List list185 = new List(num4); - CollectionsMarshal.SetCount(list185, num4); - CollectionsMarshal.AsSpan(list185)[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - reference126 = list185; - span73[4] = null; - span73[5] = null; - obj96.RequiredQuestVariables = list184; - reference125 = obj96; - ref QuestStep reference127 = ref span71[2]; - QuestStep obj97 = new QuestStep(EInteractionType.Interact, 1044054u, new Vector3(83.69568f, 269.0921f, -483.0854f), 960) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleAbodeOfTheEa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - RequiredQuestVariablesNotMet = true - } - } - }; - num3 = 6; - List> list186 = new List>(num3); - CollectionsMarshal.SetCount(list186, num3); - Span> span74 = CollectionsMarshal.AsSpan(list186); - span74[0] = null; - span74[1] = null; - span74[2] = null; - ref List reference128 = ref span74[3]; - num4 = 1; - List list187 = new List(num4); - CollectionsMarshal.SetCount(list187, num4); - CollectionsMarshal.AsSpan(list187)[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - reference128 = list187; - span74[4] = null; - span74[5] = null; - obj97.RequiredQuestVariables = list186; - reference127 = obj97; - ref QuestStep reference129 = ref span71[3]; - QuestStep obj98 = new QuestStep(EInteractionType.Interact, 1044053u, new Vector3(-225.66571f, 271.7499f, -308.6748f), 960) - { - Fly = true - }; - num3 = 6; - List> list188 = new List>(num3); - CollectionsMarshal.SetCount(list188, num3); - Span> span75 = CollectionsMarshal.AsSpan(list188); - span75[0] = null; - span75[1] = null; - span75[2] = null; - ref List reference130 = ref span75[3]; - num4 = 1; - List list189 = new List(num4); - CollectionsMarshal.SetCount(list189, num4); - CollectionsMarshal.AsSpan(list189)[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - reference130 = list189; - span75[4] = null; - span75[5] = null; - obj98.RequiredQuestVariables = list188; - reference129 = obj98; - ref QuestStep reference131 = ref span71[4]; - QuestStep obj99 = new QuestStep(EInteractionType.Interact, 1044056u, new Vector3(582.7573f, 441.71567f, 427.9392f), 960) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - RequiredQuestVariablesNotMet = true - } - } - }; - num3 = 6; - List> list190 = new List>(num3); - CollectionsMarshal.SetCount(list190, num3); - Span> span76 = CollectionsMarshal.AsSpan(list190); - span76[0] = null; - span76[1] = null; - span76[2] = null; - ref List reference132 = ref span76[3]; - num4 = 1; - List list191 = new List(num4); - CollectionsMarshal.SetCount(list191, num4); - CollectionsMarshal.AsSpan(list191)[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference132 = list191; - span76[4] = null; - span76[5] = null; - obj99.RequiredQuestVariables = list190; - reference131 = obj99; - ref QuestStep reference133 = ref span71[5]; - QuestStep obj100 = new QuestStep(EInteractionType.Interact, 1044055u, new Vector3(636.59106f, 438.6276f, 271.5343f), 960) - { - Fly = true - }; - num3 = 6; - List> list192 = new List>(num3); - CollectionsMarshal.SetCount(list192, num3); - Span> span77 = CollectionsMarshal.AsSpan(list192); - span77[0] = null; - span77[1] = null; - span77[2] = null; - ref List reference134 = ref span77[3]; - num4 = 1; - List list193 = new List(num4); - CollectionsMarshal.SetCount(list193, num4); - CollectionsMarshal.AsSpan(list193)[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference134 = list193; - span77[4] = null; - span77[5] = null; - obj100.RequiredQuestVariables = list192; - reference133 = obj100; - obj94.Steps = list181; - reference122 = obj94; - ref QuestSequence reference135 = ref span70[2]; - QuestSequence obj101 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - Span span78 = CollectionsMarshal.AsSpan(list194); - span78[0] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - Mount = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span78[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj101.Steps = list194; - reference135 = obj101; - questRoot17.QuestSequence = list179; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(4617); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list195 = new List(num); - CollectionsMarshal.SetCount(list195, num); - CollectionsMarshal.AsSpan(list195)[0] = "plogon_enjoyer"; - questRoot18.Author = list195; - num = 3; - List list196 = new List(num); - CollectionsMarshal.SetCount(list196, num); - Span span79 = CollectionsMarshal.AsSpan(list196); - ref QuestSequence reference136 = ref span79[0]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj102.Steps = list197; - reference136 = obj102; - ref QuestSequence reference137 = ref span79[1]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - Span span80 = CollectionsMarshal.AsSpan(list198); - span80[0] = new QuestStep(EInteractionType.Interact, 2013074u, new Vector3(304.3412f, 483.48206f, 143.11438f), 960) - { - TargetTerritoryId = (ushort)1073 - }; - ref QuestStep reference138 = ref span80[1]; - QuestStep questStep26 = new QuestStep(EInteractionType.Gather, null, null, 1073); - num3 = 1; - List list199 = new List(num3); - CollectionsMarshal.SetCount(list199, num3); - CollectionsMarshal.AsSpan(list199)[0] = EExtendedClassJob.Miner; - questStep26.RequiredQuestAcceptedJob = list199; - num3 = 1; - List list200 = new List(num3); - CollectionsMarshal.SetCount(list200, num3); - CollectionsMarshal.AsSpan(list200)[0] = new GatheredItem - { - ItemId = 38287u, - ItemCount = 3 - }; - questStep26.ItemsToGather = list200; - reference138 = questStep26; - ref QuestStep reference139 = ref span80[2]; - QuestStep questStep27 = new QuestStep(EInteractionType.Gather, null, null, 1073); - num3 = 1; - List list201 = new List(num3); - CollectionsMarshal.SetCount(list201, num3); - CollectionsMarshal.AsSpan(list201)[0] = EExtendedClassJob.Botanist; - questStep27.RequiredQuestAcceptedJob = list201; - num3 = 1; - List list202 = new List(num3); - CollectionsMarshal.SetCount(list202, num3); - CollectionsMarshal.AsSpan(list202)[0] = new GatheredItem - { - ItemId = 38311u, - ItemCount = 3 - }; - questStep27.ItemsToGather = list202; - reference139 = questStep27; - span80[3] = new QuestStep(EInteractionType.Interact, 1044057u, new Vector3(490.2876f, 436.9998f, 312.3064f), 960) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - obj103.Steps = list198; - reference137 = obj103; - ref QuestSequence reference140 = ref span79[2]; - QuestSequence obj104 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - Span span81 = CollectionsMarshal.AsSpan(list203); - span81[0] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - Mount = true - }; - span81[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960) - { - Mount = true - }; - obj104.Steps = list203; - reference140 = obj104; - questRoot18.QuestSequence = list196; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(4618); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list204 = new List(num); - CollectionsMarshal.SetCount(list204, num); - CollectionsMarshal.AsSpan(list204)[0] = "pot0to"; - questRoot19.Author = list204; - num = 3; - List list205 = new List(num); - CollectionsMarshal.SetCount(list205, num); - Span span82 = CollectionsMarshal.AsSpan(list205); - ref QuestSequence reference141 = ref span82[0]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj105.Steps = list206; - reference141 = obj105; - ref QuestSequence reference142 = ref span82[1]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - Span span83 = CollectionsMarshal.AsSpan(list207); - span83[0] = new QuestStep(EInteractionType.Interact, 2013074u, new Vector3(304.3412f, 483.48206f, 143.11438f), 960) - { - TargetTerritoryId = (ushort)1073 - }; - ref QuestStep reference143 = ref span83[1]; - QuestStep questStep28 = new QuestStep(EInteractionType.Gather, null, null, 1073); - num3 = 1; - List list208 = new List(num3); - CollectionsMarshal.SetCount(list208, num3); - CollectionsMarshal.AsSpan(list208)[0] = EExtendedClassJob.Miner; - questStep28.RequiredQuestAcceptedJob = list208; - num3 = 1; - List list209 = new List(num3); - CollectionsMarshal.SetCount(list209, num3); - CollectionsMarshal.AsSpan(list209)[0] = new GatheredItem - { - ItemId = 38288u, - ItemCount = 3 - }; - questStep28.ItemsToGather = list209; - reference143 = questStep28; - ref QuestStep reference144 = ref span83[2]; - QuestStep questStep29 = new QuestStep(EInteractionType.Gather, null, null, 1073); - num3 = 1; - List list210 = new List(num3); - CollectionsMarshal.SetCount(list210, num3); - CollectionsMarshal.AsSpan(list210)[0] = EExtendedClassJob.Botanist; - questStep29.RequiredQuestAcceptedJob = list210; - num3 = 1; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - CollectionsMarshal.AsSpan(list211)[0] = new GatheredItem - { - ItemId = 38312u, - ItemCount = 3 - }; - questStep29.ItemsToGather = list211; - reference144 = questStep29; - span83[3] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span83[4] = new QuestStep(EInteractionType.Interact, 1043865u, new Vector3(301.8081f, 482.13644f, 165.02625f), 960) - { - TargetTerritoryId = (ushort)960 - }; - span83[5] = new QuestStep(EInteractionType.Interact, 1043936u, new Vector3(194.56775f, 567.4998f, 250.93457f), 960); - obj106.Steps = list207; - reference142 = obj106; - ref QuestSequence reference145 = ref span82[2]; - QuestSequence obj107 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - Span span84 = CollectionsMarshal.AsSpan(list212); - span84[0] = new QuestStep(EInteractionType.Interact, 1043864u, new Vector3(244.83093f, 564.8203f, 261.76843f), 960) - { - TargetTerritoryId = (ushort)960 - }; - span84[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj107.Steps = list212; - reference145 = obj107; - questRoot19.QuestSequence = list205; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(4619); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list213 = new List(num); - CollectionsMarshal.SetCount(list213, num); - CollectionsMarshal.AsSpan(list213)[0] = "plogon_enjoyer"; - questRoot20.Author = list213; - num = 3; - List list214 = new List(num); - CollectionsMarshal.SetCount(list214, num); - Span span85 = CollectionsMarshal.AsSpan(list214); - ref QuestSequence reference146 = ref span85[0]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj108.Steps = list215; - reference146 = obj108; - ref QuestSequence reference147 = ref span85[1]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - CollectionsMarshal.AsSpan(list216)[0] = new QuestStep(EInteractionType.UseItem, 1044058u, new Vector3(371.9386f, 288.95316f, -627.7409f), 960) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleAbodeOfTheEa, - ItemId = 2003441u - }; - obj109.Steps = list216; - reference147 = obj109; - ref QuestSequence reference148 = ref span85[2]; - QuestSequence obj110 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - Span span86 = CollectionsMarshal.AsSpan(list217); - span86[0] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - Mount = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span86[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960) - { - Fly = true - }; - obj110.Steps = list217; - reference148 = obj110; - questRoot20.QuestSequence = list214; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(4620); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - CollectionsMarshal.AsSpan(list218)[0] = "liza"; - questRoot21.Author = list218; - num = 4; - List list219 = new List(num); - CollectionsMarshal.SetCount(list219, num); - Span span87 = CollectionsMarshal.AsSpan(list219); - ref QuestSequence reference149 = ref span87[0]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj111.Steps = list220; - reference149 = obj111; - ref QuestSequence reference150 = ref span87[1]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - Span span88 = CollectionsMarshal.AsSpan(list221); - span88[0] = new QuestStep(EInteractionType.Interact, 2013074u, new Vector3(304.3412f, 483.48206f, 143.11438f), 960) - { - TargetTerritoryId = (ushort)1073 - }; - span88[1] = new QuestStep(EInteractionType.Interact, 1044059u, new Vector3(-15.304871f, 494.9991f, -68.16211f), 1073); - obj112.Steps = list221; - reference150 = obj112; - ref QuestSequence reference151 = ref span87[2]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - Span span89 = CollectionsMarshal.AsSpan(list222); - ref QuestStep reference152 = ref span89[0]; - QuestStep questStep30 = new QuestStep(EInteractionType.Gather, null, null, 1073); - num3 = 1; - List list223 = new List(num3); - CollectionsMarshal.SetCount(list223, num3); - CollectionsMarshal.AsSpan(list223)[0] = EExtendedClassJob.Miner; - questStep30.RequiredQuestAcceptedJob = list223; - num3 = 1; - List list224 = new List(num3); - CollectionsMarshal.SetCount(list224, num3); - CollectionsMarshal.AsSpan(list224)[0] = new GatheredItem - { - ItemId = 38289u, - ItemCount = 3 - }; - questStep30.ItemsToGather = list224; - reference152 = questStep30; - ref QuestStep reference153 = ref span89[1]; - QuestStep questStep31 = new QuestStep(EInteractionType.Gather, null, null, 1073); - num3 = 1; - List list225 = new List(num3); - CollectionsMarshal.SetCount(list225, num3); - CollectionsMarshal.AsSpan(list225)[0] = EExtendedClassJob.Botanist; - questStep31.RequiredQuestAcceptedJob = list225; - num3 = 1; - List list226 = new List(num3); - CollectionsMarshal.SetCount(list226, num3); - CollectionsMarshal.AsSpan(list226)[0] = new GatheredItem - { - ItemId = 38313u, - ItemCount = 3 - }; - questStep31.ItemsToGather = list226; - reference153 = questStep31; - span89[2] = new QuestStep(EInteractionType.Interact, 1044059u, new Vector3(-15.304871f, 494.9991f, -68.16211f), 1073); - obj113.Steps = list222; - reference151 = obj113; - ref QuestSequence reference154 = ref span87[3]; - QuestSequence obj114 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - Span span90 = CollectionsMarshal.AsSpan(list227); - span90[0] = new QuestStep(EInteractionType.Interact, 1043421u, new Vector3(2.4261475f, 499.87805f, 46.036377f), 1073) - { - TargetTerritoryId = (ushort)960 - }; - span90[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj114.Steps = list227; - reference154 = obj114; - questRoot21.QuestSequence = list219; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(4621); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list228 = new List(num); - CollectionsMarshal.SetCount(list228, num); - CollectionsMarshal.AsSpan(list228)[0] = "liza"; - questRoot22.Author = list228; - num = 4; - List list229 = new List(num); - CollectionsMarshal.SetCount(list229, num); - Span span91 = CollectionsMarshal.AsSpan(list229); - ref QuestSequence reference155 = ref span91[0]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj115.Steps = list230; - reference155 = obj115; - ref QuestSequence reference156 = ref span91[1]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.Interact, 1044060u, new Vector3(57.75537f, 269.00012f, -674.49457f), 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleAbodeOfTheEa - }; - obj116.Steps = list231; - reference156 = obj116; - ref QuestSequence reference157 = ref span91[2]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - Span span92 = CollectionsMarshal.AsSpan(list232); - ref QuestStep reference158 = ref span92[0]; - QuestStep obj118 = new QuestStep(EInteractionType.Action, 1044063u, new Vector3(-193.53015f, 269.23087f, -315.63293f), 960) - { - Fly = true, - Action = EAction.ElectrixFlux - }; - num3 = 6; - List list233 = new List(num3); - CollectionsMarshal.SetCount(list233, num3); - Span span93 = CollectionsMarshal.AsSpan(list233); - span93[0] = null; - span93[1] = null; - span93[2] = null; - span93[3] = null; - span93[4] = null; - span93[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj118.CompletionQuestVariablesFlags = list233; - reference158 = obj118; - ref QuestStep reference159 = ref span92[1]; - QuestStep obj119 = new QuestStep(EInteractionType.Action, 1044062u, new Vector3(-213.42798f, 268.01166f, -299.5194f), 960) - { - Fly = true, - Action = EAction.ElectrixFlux - }; - num3 = 6; - List list234 = new List(num3); - CollectionsMarshal.SetCount(list234, num3); - Span span94 = CollectionsMarshal.AsSpan(list234); - span94[0] = null; - span94[1] = null; - span94[2] = null; - span94[3] = null; - span94[4] = null; - span94[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj119.CompletionQuestVariablesFlags = list234; - reference159 = obj119; - obj117.Steps = list232; - reference157 = obj117; - ref QuestSequence reference160 = ref span91[3]; - QuestSequence obj120 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - Span span95 = CollectionsMarshal.AsSpan(list235); - span95[0] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span95[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj120.Steps = list235; - reference160 = obj120; - questRoot22.QuestSequence = list229; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(4622); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list236 = new List(num); - CollectionsMarshal.SetCount(list236, num); - CollectionsMarshal.AsSpan(list236)[0] = "liza"; - questRoot23.Author = list236; - num = 3; - List list237 = new List(num); - CollectionsMarshal.SetCount(list237, num); - Span span96 = CollectionsMarshal.AsSpan(list237); - ref QuestSequence reference161 = ref span96[0]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj121.Steps = list238; - reference161 = obj121; - ref QuestSequence reference162 = ref span96[1]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - Span span97 = CollectionsMarshal.AsSpan(list239); - ref QuestStep reference163 = ref span97[0]; - QuestStep questStep32 = new QuestStep(EInteractionType.Gather, null, null, 960); - num3 = 1; - List list240 = new List(num3); - CollectionsMarshal.SetCount(list240, num3); - CollectionsMarshal.AsSpan(list240)[0] = EExtendedClassJob.Miner; - questStep32.RequiredQuestAcceptedJob = list240; - num3 = 1; - List list241 = new List(num3); - CollectionsMarshal.SetCount(list241, num3); - CollectionsMarshal.AsSpan(list241)[0] = new GatheredItem - { - ItemId = 38290u, - ItemCount = 3 - }; - questStep32.ItemsToGather = list241; - reference163 = questStep32; - ref QuestStep reference164 = ref span97[1]; - QuestStep questStep33 = new QuestStep(EInteractionType.Gather, null, null, 960); - num3 = 1; - List list242 = new List(num3); - CollectionsMarshal.SetCount(list242, num3); - CollectionsMarshal.AsSpan(list242)[0] = EExtendedClassJob.Botanist; - questStep33.RequiredQuestAcceptedJob = list242; - num3 = 1; - List list243 = new List(num3); - CollectionsMarshal.SetCount(list243, num3); - CollectionsMarshal.AsSpan(list243)[0] = new GatheredItem - { - ItemId = 38314u, - ItemCount = 3 - }; - questStep33.ItemsToGather = list243; - reference164 = questStep33; - span97[2] = new QuestStep(EInteractionType.Interact, 1044064u, new Vector3(86.503296f, 269.08234f, -515.0683f), 960) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleAbodeOfTheEa - }; - obj122.Steps = list239; - reference162 = obj122; - ref QuestSequence reference165 = ref span96[2]; - QuestSequence obj123 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - Span span98 = CollectionsMarshal.AsSpan(list244); - span98[0] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span98[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj123.Steps = list244; - reference165 = obj123; - questRoot23.QuestSequence = list237; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(4623); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list245 = new List(num); - CollectionsMarshal.SetCount(list245, num); - CollectionsMarshal.AsSpan(list245)[0] = "plogon_enjoyer"; - questRoot24.Author = list245; - num = 3; - List list246 = new List(num); - CollectionsMarshal.SetCount(list246, num); - Span span99 = CollectionsMarshal.AsSpan(list246); - ref QuestSequence reference166 = ref span99[0]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj124.Steps = list247; - reference166 = obj124; - ref QuestSequence reference167 = ref span99[1]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - Span span100 = CollectionsMarshal.AsSpan(list248); - span100[0] = new QuestStep(EInteractionType.Interact, 2013074u, new Vector3(304.3412f, 483.48206f, 143.11438f), 960) - { - TargetTerritoryId = (ushort)1073 - }; - ref QuestStep reference168 = ref span100[1]; - QuestStep questStep34 = new QuestStep(EInteractionType.Gather, null, null, 1073); - num3 = 1; - List list249 = new List(num3); - CollectionsMarshal.SetCount(list249, num3); - CollectionsMarshal.AsSpan(list249)[0] = EExtendedClassJob.Miner; - questStep34.RequiredQuestAcceptedJob = list249; - num3 = 1; - List list250 = new List(num3); - CollectionsMarshal.SetCount(list250, num3); - CollectionsMarshal.AsSpan(list250)[0] = new GatheredItem - { - ItemId = 38291u, - ItemCount = 3 - }; - questStep34.ItemsToGather = list250; - reference168 = questStep34; - ref QuestStep reference169 = ref span100[2]; - QuestStep questStep35 = new QuestStep(EInteractionType.Gather, null, null, 1073); - num3 = 1; - List list251 = new List(num3); - CollectionsMarshal.SetCount(list251, num3); - CollectionsMarshal.AsSpan(list251)[0] = EExtendedClassJob.Botanist; - questStep35.RequiredQuestAcceptedJob = list251; - num3 = 1; - List list252 = new List(num3); - CollectionsMarshal.SetCount(list252, num3); - CollectionsMarshal.AsSpan(list252)[0] = new GatheredItem - { - ItemId = 38315u, - ItemCount = 3 - }; - questStep35.ItemsToGather = list252; - reference169 = questStep35; - span100[3] = new QuestStep(EInteractionType.Interact, 1044065u, new Vector3(478.9348f, 437.0016f, 340.505f), 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - obj125.Steps = list248; - reference167 = obj125; - ref QuestSequence reference170 = ref span99[2]; - QuestSequence obj126 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - Span span101 = CollectionsMarshal.AsSpan(list253); - span101[0] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - Mount = true - }; - span101[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj126.Steps = list253; - reference170 = obj126; - questRoot24.QuestSequence = list246; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(4624); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list254 = new List(num); - CollectionsMarshal.SetCount(list254, num); - CollectionsMarshal.AsSpan(list254)[0] = "plogon_enjoyer"; - questRoot25.Author = list254; - num = 4; - List list255 = new List(num); - CollectionsMarshal.SetCount(list255, num); - Span span102 = CollectionsMarshal.AsSpan(list255); - ref QuestSequence reference171 = ref span102[0]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj127.Steps = list256; - reference171 = obj127; - ref QuestSequence reference172 = ref span102[1]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - Span span103 = CollectionsMarshal.AsSpan(list257); - span103[0] = new QuestStep(EInteractionType.Interact, 2013073u, new Vector3(334.37085f, 483.17688f, 158.28174f), 960) - { - TargetTerritoryId = (ushort)960, - Mount = true - }; - span103[1] = new QuestStep(EInteractionType.Interact, 1044066u, new Vector3(493.58362f, 436.99985f, 317.09766f), 960) - { - Fly = true - }; - obj128.Steps = list257; - reference172 = obj128; - ref QuestSequence reference173 = ref span102[2]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - Span span104 = CollectionsMarshal.AsSpan(list258); - span104[0] = new QuestStep(EInteractionType.Action, 1044068u, new Vector3(638.5748f, 438.6276f, 260.3341f), 960) - { - Fly = true, - Action = EAction.ElectrixFlux - }; - span104[1] = new QuestStep(EInteractionType.Action, 1044069u, new Vector3(668.0552f, 440.4633f, 360.79956f), 960) - { - Fly = true, - Action = EAction.ElectrixFlux - }; - obj129.Steps = list258; - reference173 = obj129; - ref QuestSequence reference174 = ref span102[3]; - QuestSequence obj130 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - Span span105 = CollectionsMarshal.AsSpan(list259); - span105[0] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - Mount = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span105[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960) - { - Mount = true - }; - obj130.Steps = list259; - reference174 = obj130; - questRoot25.QuestSequence = list255; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(4625); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list260 = new List(num); - CollectionsMarshal.SetCount(list260, num); - CollectionsMarshal.AsSpan(list260)[0] = "plogon_enjoyer"; - questRoot26.Author = list260; - num = 3; - List list261 = new List(num); - CollectionsMarshal.SetCount(list261, num); - Span span106 = CollectionsMarshal.AsSpan(list261); - ref QuestSequence reference175 = ref span106[0]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - CollectionsMarshal.AsSpan(list262)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj131.Steps = list262; - reference175 = obj131; - ref QuestSequence reference176 = ref span106[1]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - Span span107 = CollectionsMarshal.AsSpan(list263); - span107[0] = new QuestStep(EInteractionType.Interact, 2013074u, new Vector3(304.3412f, 483.4821f, 143.1448f), 960) - { - TargetTerritoryId = (ushort)1073 - }; - ref QuestStep reference177 = ref span107[1]; - QuestStep questStep36 = new QuestStep(EInteractionType.Gather, null, null, 1073); - num3 = 1; - List list264 = new List(num3); - CollectionsMarshal.SetCount(list264, num3); - CollectionsMarshal.AsSpan(list264)[0] = EExtendedClassJob.Miner; - questStep36.RequiredQuestAcceptedJob = list264; - num3 = 1; - List list265 = new List(num3); - CollectionsMarshal.SetCount(list265, num3); - CollectionsMarshal.AsSpan(list265)[0] = new GatheredItem - { - ItemId = 38292u, - ItemCount = 3 - }; - questStep36.ItemsToGather = list265; - reference177 = questStep36; - ref QuestStep reference178 = ref span107[2]; - QuestStep questStep37 = new QuestStep(EInteractionType.Gather, null, null, 1073); - num3 = 1; - List list266 = new List(num3); - CollectionsMarshal.SetCount(list266, num3); - CollectionsMarshal.AsSpan(list266)[0] = EExtendedClassJob.Botanist; - questStep37.RequiredQuestAcceptedJob = list266; - num3 = 1; - List list267 = new List(num3); - CollectionsMarshal.SetCount(list267, num3); - CollectionsMarshal.AsSpan(list267)[0] = new GatheredItem - { - ItemId = 38316u, - ItemCount = 3 - }; - questStep37.ItemsToGather = list267; - reference178 = questStep37; - span107[3] = new QuestStep(EInteractionType.Interact, 1044070u, new Vector3(132.34143f, 269.00006f, -654.6273f), 960) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleAbodeOfTheEa - }; - obj132.Steps = list263; - reference176 = obj132; - ref QuestSequence reference179 = ref span106[2]; - QuestSequence obj133 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - Span span108 = CollectionsMarshal.AsSpan(list268); - span108[0] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - Mount = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span108[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960) - { - Mount = true - }; - obj133.Steps = list268; - reference179 = obj133; - questRoot26.QuestSequence = list261; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(4626); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list269 = new List(num); - CollectionsMarshal.SetCount(list269, num); - CollectionsMarshal.AsSpan(list269)[0] = "plogon_enjoyer"; - questRoot27.Author = list269; - num = 3; - List list270 = new List(num); - CollectionsMarshal.SetCount(list270, num); - Span span109 = CollectionsMarshal.AsSpan(list270); - ref QuestSequence reference180 = ref span109[0]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - CollectionsMarshal.AsSpan(list271)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj134.Steps = list271; - reference180 = obj134; - ref QuestSequence reference181 = ref span109[1]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - Span span110 = CollectionsMarshal.AsSpan(list272); - span110[0] = new QuestStep(EInteractionType.Interact, 2013074u, new Vector3(304.3412f, 483.4821f, 143.1448f), 960) - { - TargetTerritoryId = (ushort)1073 - }; - ref QuestStep reference182 = ref span110[1]; - QuestStep questStep38 = new QuestStep(EInteractionType.Gather, null, null, 1073); - num3 = 1; - List list273 = new List(num3); - CollectionsMarshal.SetCount(list273, num3); - CollectionsMarshal.AsSpan(list273)[0] = EExtendedClassJob.Miner; - questStep38.RequiredQuestAcceptedJob = list273; - num3 = 1; - List list274 = new List(num3); - CollectionsMarshal.SetCount(list274, num3); - CollectionsMarshal.AsSpan(list274)[0] = new GatheredItem - { - ItemId = 38293u, - ItemCount = 3 - }; - questStep38.ItemsToGather = list274; - reference182 = questStep38; - ref QuestStep reference183 = ref span110[2]; - QuestStep questStep39 = new QuestStep(EInteractionType.Gather, null, null, 1073); - num3 = 1; - List list275 = new List(num3); - CollectionsMarshal.SetCount(list275, num3); - CollectionsMarshal.AsSpan(list275)[0] = EExtendedClassJob.Botanist; - questStep39.RequiredQuestAcceptedJob = list275; - num3 = 1; - List list276 = new List(num3); - CollectionsMarshal.SetCount(list276, num3); - CollectionsMarshal.AsSpan(list276)[0] = new GatheredItem - { - ItemId = 38317u, - ItemCount = 3 - }; - questStep39.ItemsToGather = list276; - reference183 = questStep39; - span110[3] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - Mount = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span110[4] = new QuestStep(EInteractionType.Interact, 1043865u, new Vector3(301.8081f, 482.13644f, 165.02625f), 960) - { - TargetTerritoryId = (ushort)960, - Mount = true, - Fly = true - }; - span110[5] = new QuestStep(EInteractionType.Interact, 1043936u, new Vector3(194.56775f, 567.4998f, 250.93457f), 960) - { - Fly = true - }; - obj135.Steps = list272; - reference181 = obj135; - ref QuestSequence reference184 = ref span109[2]; - QuestSequence obj136 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - Span span111 = CollectionsMarshal.AsSpan(list277); - span111[0] = new QuestStep(EInteractionType.Interact, 1043864u, new Vector3(244.83093f, 564.8203f, 261.76843f), 960) - { - TargetTerritoryId = (ushort)960, - Fly = true - }; - span111[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960) - { - Fly = true - }; - obj136.Steps = list277; - reference184 = obj136; - questRoot27.QuestSequence = list270; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(4627); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list278 = new List(num); - CollectionsMarshal.SetCount(list278, num); - CollectionsMarshal.AsSpan(list278)[0] = "liza"; - questRoot28.Author = list278; - num = 3; - List list279 = new List(num); - CollectionsMarshal.SetCount(list279, num); - Span span112 = CollectionsMarshal.AsSpan(list279); - ref QuestSequence reference185 = ref span112[0]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - CollectionsMarshal.AsSpan(list280)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj137.Steps = list280; - reference185 = obj137; - ref QuestSequence reference186 = ref span112[1]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - Span span113 = CollectionsMarshal.AsSpan(list281); - ref QuestStep reference187 = ref span113[0]; - QuestStep questStep40 = new QuestStep(EInteractionType.Gather, null, null, 960); - num3 = 1; - List list282 = new List(num3); - CollectionsMarshal.SetCount(list282, num3); - CollectionsMarshal.AsSpan(list282)[0] = EExtendedClassJob.Miner; - questStep40.RequiredQuestAcceptedJob = list282; - num3 = 1; - List list283 = new List(num3); - CollectionsMarshal.SetCount(list283, num3); - CollectionsMarshal.AsSpan(list283)[0] = new GatheredItem - { - ItemId = 38294u, - ItemCount = 3 - }; - questStep40.ItemsToGather = list283; - reference187 = questStep40; - ref QuestStep reference188 = ref span113[1]; - QuestStep questStep41 = new QuestStep(EInteractionType.Gather, null, null, 960); - num3 = 1; - List list284 = new List(num3); - CollectionsMarshal.SetCount(list284, num3); - CollectionsMarshal.AsSpan(list284)[0] = EExtendedClassJob.Botanist; - questStep41.RequiredQuestAcceptedJob = list284; - num3 = 1; - List list285 = new List(num3); - CollectionsMarshal.SetCount(list285, num3); - CollectionsMarshal.AsSpan(list285)[0] = new GatheredItem - { - ItemId = 38318u, - ItemCount = 3 - }; - questStep41.ItemsToGather = list285; - reference188 = questStep41; - span113[2] = new QuestStep(EInteractionType.Interact, 1044071u, new Vector3(46.066895f, 268.99976f, -584.77155f), 960) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleAbodeOfTheEa - }; - obj138.Steps = list281; - reference186 = obj138; - ref QuestSequence reference189 = ref span112[2]; - QuestSequence obj139 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - Span span114 = CollectionsMarshal.AsSpan(list286); - span114[0] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span114[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj139.Steps = list286; - reference189 = obj139; - questRoot28.QuestSequence = list279; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(4628); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list287 = new List(num); - CollectionsMarshal.SetCount(list287, num); - CollectionsMarshal.AsSpan(list287)[0] = "liza"; - questRoot29.Author = list287; - num = 4; - List list288 = new List(num); - CollectionsMarshal.SetCount(list288, num); - Span span115 = CollectionsMarshal.AsSpan(list288); - ref QuestSequence reference190 = ref span115[0]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj140.Steps = list289; - reference190 = obj140; - ref QuestSequence reference191 = ref span115[1]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - CollectionsMarshal.AsSpan(list290)[0] = new QuestStep(EInteractionType.Interact, 1044072u, new Vector3(-541.9547f, 74.3691f, 208.39233f), 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra - }; - obj141.Steps = list290; - reference191 = obj141; - ref QuestSequence reference192 = ref span115[2]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - Span span116 = CollectionsMarshal.AsSpan(list291); - ref QuestStep reference193 = ref span116[0]; - QuestStep obj143 = new QuestStep(EInteractionType.Action, 2013132u, new Vector3(-327.04663f, 88.48706f, 293.04944f), 960) - { - Fly = true, - Action = EAction.ElectrixFlux - }; - num3 = 6; - List list292 = new List(num3); - CollectionsMarshal.SetCount(list292, num3); - Span span117 = CollectionsMarshal.AsSpan(list292); - span117[0] = null; - span117[1] = null; - span117[2] = null; - span117[3] = null; - span117[4] = null; - span117[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj143.CompletionQuestVariablesFlags = list292; - reference193 = obj143; - ref QuestStep reference194 = ref span116[1]; - QuestStep obj144 = new QuestStep(EInteractionType.Action, 2013131u, new Vector3(-324.8493f, 88.05969f, 269.79468f), 960) - { - Fly = true, - Action = EAction.ElectrixFlux - }; - num3 = 6; - List list293 = new List(num3); - CollectionsMarshal.SetCount(list293, num3); - Span span118 = CollectionsMarshal.AsSpan(list293); - span118[0] = null; - span118[1] = null; - span118[2] = null; - span118[3] = null; - span118[4] = null; - span118[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj144.CompletionQuestVariablesFlags = list293; - reference194 = obj144; - obj142.Steps = list291; - reference192 = obj142; - ref QuestSequence reference195 = ref span115[3]; - QuestSequence obj145 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - Span span119 = CollectionsMarshal.AsSpan(list294); - span119[0] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span119[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj145.Steps = list294; - reference195 = obj145; - questRoot29.QuestSequence = list288; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(4629); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list295 = new List(num); - CollectionsMarshal.SetCount(list295, num); - CollectionsMarshal.AsSpan(list295)[0] = "liza"; - questRoot30.Author = list295; - num = 3; - List list296 = new List(num); - CollectionsMarshal.SetCount(list296, num); - Span span120 = CollectionsMarshal.AsSpan(list296); - ref QuestSequence reference196 = ref span120[0]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - CollectionsMarshal.AsSpan(list297)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj146.Steps = list297; - reference196 = obj146; - ref QuestSequence reference197 = ref span120[1]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - Span span121 = CollectionsMarshal.AsSpan(list298); - ref QuestStep reference198 = ref span121[0]; - QuestStep questStep42 = new QuestStep(EInteractionType.Gather, null, null, 960); - num3 = 1; - List list299 = new List(num3); - CollectionsMarshal.SetCount(list299, num3); - CollectionsMarshal.AsSpan(list299)[0] = EExtendedClassJob.Miner; - questStep42.RequiredQuestAcceptedJob = list299; - num3 = 1; - List list300 = new List(num3); - CollectionsMarshal.SetCount(list300, num3); - CollectionsMarshal.AsSpan(list300)[0] = new GatheredItem - { - ItemId = 38295u, - ItemCount = 3 - }; - questStep42.ItemsToGather = list300; - reference198 = questStep42; - ref QuestStep reference199 = ref span121[1]; - QuestStep questStep43 = new QuestStep(EInteractionType.Gather, null, null, 960); - num3 = 1; - List list301 = new List(num3); - CollectionsMarshal.SetCount(list301, num3); - CollectionsMarshal.AsSpan(list301)[0] = EExtendedClassJob.Botanist; - questStep43.RequiredQuestAcceptedJob = list301; - num3 = 1; - List list302 = new List(num3); - CollectionsMarshal.SetCount(list302, num3); - CollectionsMarshal.AsSpan(list302)[0] = new GatheredItem - { - ItemId = 38319u, - ItemCount = 3 - }; - questStep43.ItemsToGather = list302; - reference199 = questStep43; - span121[2] = new QuestStep(EInteractionType.Interact, 1044074u, new Vector3(-585.90063f, 75.22713f, 256.67188f), 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra - }; - obj147.Steps = list298; - reference197 = obj147; - ref QuestSequence reference200 = ref span120[2]; - QuestSequence obj148 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list303 = new List(num2); - CollectionsMarshal.SetCount(list303, num2); - Span span122 = CollectionsMarshal.AsSpan(list303); - span122[0] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span122[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj148.Steps = list303; - reference200 = obj148; - questRoot30.QuestSequence = list296; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(4630); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list304 = new List(num); - CollectionsMarshal.SetCount(list304, num); - CollectionsMarshal.AsSpan(list304)[0] = "liza"; - questRoot31.Author = list304; - num = 4; - List list305 = new List(num); - CollectionsMarshal.SetCount(list305, num); - Span span123 = CollectionsMarshal.AsSpan(list305); - ref QuestSequence reference201 = ref span123[0]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - CollectionsMarshal.AsSpan(list306)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj149.Steps = list306; - reference201 = obj149; - ref QuestSequence reference202 = ref span123[1]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list307 = new List(num2); - CollectionsMarshal.SetCount(list307, num2); - Span span124 = CollectionsMarshal.AsSpan(list307); - span124[0] = new QuestStep(EInteractionType.Interact, 2013074u, new Vector3(304.3412f, 483.48206f, 143.11438f), 960) - { - TargetTerritoryId = (ushort)1073 - }; - span124[1] = new QuestStep(EInteractionType.Interact, 1044075u, new Vector3(-64.4389f, 493.32922f, -4.409851f), 1073); - obj150.Steps = list307; - reference202 = obj150; - ref QuestSequence reference203 = ref span123[2]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - Span span125 = CollectionsMarshal.AsSpan(list308); - ref QuestStep reference204 = ref span125[0]; - QuestStep questStep44 = new QuestStep(EInteractionType.Gather, null, null, 1073); - num3 = 1; - List list309 = new List(num3); - CollectionsMarshal.SetCount(list309, num3); - CollectionsMarshal.AsSpan(list309)[0] = EExtendedClassJob.Miner; - questStep44.RequiredQuestAcceptedJob = list309; - num3 = 1; - List list310 = new List(num3); - CollectionsMarshal.SetCount(list310, num3); - CollectionsMarshal.AsSpan(list310)[0] = new GatheredItem - { - ItemId = 38296u, - ItemCount = 3 - }; - questStep44.ItemsToGather = list310; - reference204 = questStep44; - ref QuestStep reference205 = ref span125[1]; - QuestStep questStep45 = new QuestStep(EInteractionType.Gather, null, null, 1073); - num3 = 1; - List list311 = new List(num3); - CollectionsMarshal.SetCount(list311, num3); - CollectionsMarshal.AsSpan(list311)[0] = EExtendedClassJob.Botanist; - questStep45.RequiredQuestAcceptedJob = list311; - num3 = 1; - List list312 = new List(num3); - CollectionsMarshal.SetCount(list312, num3); - CollectionsMarshal.AsSpan(list312)[0] = new GatheredItem - { - ItemId = 38320u, - ItemCount = 3 - }; - questStep45.ItemsToGather = list312; - reference205 = questStep45; - span125[2] = new QuestStep(EInteractionType.Interact, 1044075u, new Vector3(-64.4389f, 493.32922f, -4.409851f), 1073); - obj151.Steps = list308; - reference203 = obj151; - ref QuestSequence reference206 = ref span123[3]; - QuestSequence obj152 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list313 = new List(num2); - CollectionsMarshal.SetCount(list313, num2); - Span span126 = CollectionsMarshal.AsSpan(list313); - span126[0] = new QuestStep(EInteractionType.Interact, 1043421u, new Vector3(2.4261475f, 499.87805f, 46.036377f), 1073) - { - TargetTerritoryId = (ushort)960 - }; - span126[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj152.Steps = list313; - reference206 = obj152; - questRoot31.QuestSequence = list305; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(4631); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list314 = new List(num); - CollectionsMarshal.SetCount(list314, num); - CollectionsMarshal.AsSpan(list314)[0] = "liza"; - questRoot32.Author = list314; - num = 3; - List list315 = new List(num); - CollectionsMarshal.SetCount(list315, num); - Span span127 = CollectionsMarshal.AsSpan(list315); - ref QuestSequence reference207 = ref span127[0]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - CollectionsMarshal.AsSpan(list316)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj153.Steps = list316; - reference207 = obj153; - ref QuestSequence reference208 = ref span127[1]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list317 = new List(num2); - CollectionsMarshal.SetCount(list317, num2); - Span span128 = CollectionsMarshal.AsSpan(list317); - ref QuestStep reference209 = ref span128[0]; - QuestStep questStep46 = new QuestStep(EInteractionType.Gather, null, null, 960); - num3 = 1; - List list318 = new List(num3); - CollectionsMarshal.SetCount(list318, num3); - CollectionsMarshal.AsSpan(list318)[0] = EExtendedClassJob.Miner; - questStep46.RequiredQuestAcceptedJob = list318; - num3 = 1; - List list319 = new List(num3); - CollectionsMarshal.SetCount(list319, num3); - CollectionsMarshal.AsSpan(list319)[0] = new GatheredItem - { - ItemId = 38297u, - ItemCount = 3 - }; - questStep46.ItemsToGather = list319; - reference209 = questStep46; - ref QuestStep reference210 = ref span128[1]; - QuestStep questStep47 = new QuestStep(EInteractionType.Gather, null, null, 960); - num3 = 1; - List list320 = new List(num3); - CollectionsMarshal.SetCount(list320, num3); - CollectionsMarshal.AsSpan(list320)[0] = EExtendedClassJob.Botanist; - questStep47.RequiredQuestAcceptedJob = list320; - num3 = 1; - List list321 = new List(num3); - CollectionsMarshal.SetCount(list321, num3); - CollectionsMarshal.AsSpan(list321)[0] = new GatheredItem - { - ItemId = 38321u, - ItemCount = 3 - }; - questStep47.ItemsToGather = list321; - reference210 = questStep47; - span128[2] = new QuestStep(EInteractionType.Interact, 1044076u, new Vector3(-499.96188f, 77.00467f, 241.07727f), 960) - { - StopDistance = 9f, - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra - }; - obj154.Steps = list317; - reference208 = obj154; - ref QuestSequence reference211 = ref span127[2]; - QuestSequence obj155 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list322 = new List(num2); - CollectionsMarshal.SetCount(list322, num2); - Span span129 = CollectionsMarshal.AsSpan(list322); - span129[0] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span129[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj155.Steps = list322; - reference211 = obj155; - questRoot32.QuestSequence = list315; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(4632); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list323 = new List(num); - CollectionsMarshal.SetCount(list323, num); - CollectionsMarshal.AsSpan(list323)[0] = "liza"; - questRoot33.Author = list323; - num = 3; - List list324 = new List(num); - CollectionsMarshal.SetCount(list324, num); - Span span130 = CollectionsMarshal.AsSpan(list324); - ref QuestSequence reference212 = ref span130[0]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list325 = new List(num2); - CollectionsMarshal.SetCount(list325, num2); - CollectionsMarshal.AsSpan(list325)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj156.Steps = list325; - reference212 = obj156; - ref QuestSequence reference213 = ref span130[1]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list326 = new List(num2); - CollectionsMarshal.SetCount(list326, num2); - Span span131 = CollectionsMarshal.AsSpan(list326); - ref QuestStep reference214 = ref span131[0]; - QuestStep obj158 = new QuestStep(EInteractionType.Gather, null, null, 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra - }; - num3 = 1; - List list327 = new List(num3); - CollectionsMarshal.SetCount(list327, num3); - CollectionsMarshal.AsSpan(list327)[0] = EExtendedClassJob.Miner; - obj158.RequiredQuestAcceptedJob = list327; - num3 = 1; - List list328 = new List(num3); - CollectionsMarshal.SetCount(list328, num3); - CollectionsMarshal.AsSpan(list328)[0] = new GatheredItem - { - ItemId = 38299u, - ItemCount = 3 - }; - obj158.ItemsToGather = list328; - reference214 = obj158; - ref QuestStep reference215 = ref span131[1]; - QuestStep obj159 = new QuestStep(EInteractionType.Gather, null, null, 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra - }; - num3 = 1; - List list329 = new List(num3); - CollectionsMarshal.SetCount(list329, num3); - CollectionsMarshal.AsSpan(list329)[0] = EExtendedClassJob.Botanist; - obj159.RequiredQuestAcceptedJob = list329; - num3 = 1; - List list330 = new List(num3); - CollectionsMarshal.SetCount(list330, num3); - CollectionsMarshal.AsSpan(list330)[0] = new GatheredItem - { - ItemId = 38323u, - ItemCount = 3 - }; - obj159.ItemsToGather = list330; - reference215 = obj159; - span131[2] = new QuestStep(EInteractionType.Interact, 1044081u, new Vector3(-503.99023f, 74.16917f, 261.82947f), 960); - obj157.Steps = list326; - reference213 = obj157; - ref QuestSequence reference216 = ref span130[2]; - QuestSequence obj160 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list331 = new List(num2); - CollectionsMarshal.SetCount(list331, num2); - Span span132 = CollectionsMarshal.AsSpan(list331); - span132[0] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span132[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj160.Steps = list331; - reference216 = obj160; - questRoot33.QuestSequence = list324; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(4633); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list332 = new List(num); - CollectionsMarshal.SetCount(list332, num); - CollectionsMarshal.AsSpan(list332)[0] = "liza"; - questRoot34.Author = list332; - num = 4; - List list333 = new List(num); - CollectionsMarshal.SetCount(list333, num); - Span span133 = CollectionsMarshal.AsSpan(list333); - ref QuestSequence reference217 = ref span133[0]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - CollectionsMarshal.AsSpan(list334)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj161.Steps = list334; - reference217 = obj161; - ref QuestSequence reference218 = ref span133[1]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list335 = new List(num2); - CollectionsMarshal.SetCount(list335, num2); - ref QuestStep reference219 = ref CollectionsMarshal.AsSpan(list335)[0]; - QuestStep obj163 = new QuestStep(EInteractionType.Interact, 1044078u, new Vector3(97.154175f, 269.09738f, -498.3139f), 960) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleAbodeOfTheEa - }; - num3 = 1; - List list336 = new List(num3); - CollectionsMarshal.SetCount(list336, num3); - CollectionsMarshal.AsSpan(list336)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANOMI127_04633_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANOMI127_04633_A1_000_002") - }; - obj163.DialogueChoices = list336; - reference219 = obj163; - obj162.Steps = list335; - reference218 = obj162; - ref QuestSequence reference220 = ref span133[2]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list337 = new List(num2); - CollectionsMarshal.SetCount(list337, num2); - CollectionsMarshal.AsSpan(list337)[0] = new QuestStep(EInteractionType.Interact, 1044079u, new Vector3(99.412476f, 269.09763f, -497.1237f), 960) - { - StopDistance = 5f - }; - obj164.Steps = list337; - reference220 = obj164; - ref QuestSequence reference221 = ref span133[3]; - QuestSequence obj165 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list338 = new List(num2); - CollectionsMarshal.SetCount(list338, num2); - Span span134 = CollectionsMarshal.AsSpan(list338); - span134[0] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span134[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj165.Steps = list338; - reference221 = obj165; - questRoot34.QuestSequence = list333; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(4634); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list339 = new List(num); - CollectionsMarshal.SetCount(list339, num); - CollectionsMarshal.AsSpan(list339)[0] = "plogon_enjoyer"; - questRoot35.Author = list339; - num = 3; - List list340 = new List(num); - CollectionsMarshal.SetCount(list340, num); - Span span135 = CollectionsMarshal.AsSpan(list340); - ref QuestSequence reference222 = ref span135[0]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - CollectionsMarshal.AsSpan(list341)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj166.Steps = list341; - reference222 = obj166; - ref QuestSequence reference223 = ref span135[1]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - Span span136 = CollectionsMarshal.AsSpan(list342); - span136[0] = new QuestStep(EInteractionType.Interact, 2013074u, new Vector3(304.3412f, 483.4821f, 143.1448f), 960) - { - TargetTerritoryId = (ushort)1073 - }; - ref QuestStep reference224 = ref span136[1]; - QuestStep questStep48 = new QuestStep(EInteractionType.Gather, null, null, 1073); - num3 = 1; - List list343 = new List(num3); - CollectionsMarshal.SetCount(list343, num3); - CollectionsMarshal.AsSpan(list343)[0] = EExtendedClassJob.Miner; - questStep48.RequiredQuestAcceptedJob = list343; - num3 = 1; - List list344 = new List(num3); - CollectionsMarshal.SetCount(list344, num3); - CollectionsMarshal.AsSpan(list344)[0] = new GatheredItem - { - ItemId = 38298u, - ItemCount = 3 - }; - questStep48.ItemsToGather = list344; - reference224 = questStep48; - ref QuestStep reference225 = ref span136[2]; - QuestStep questStep49 = new QuestStep(EInteractionType.Gather, null, null, 1073); - num3 = 1; - List list345 = new List(num3); - CollectionsMarshal.SetCount(list345, num3); - CollectionsMarshal.AsSpan(list345)[0] = EExtendedClassJob.Botanist; - questStep49.RequiredQuestAcceptedJob = list345; - num3 = 1; - List list346 = new List(num3); - CollectionsMarshal.SetCount(list346, num3); - CollectionsMarshal.AsSpan(list346)[0] = new GatheredItem - { - ItemId = 38322u, - ItemCount = 3 - }; - questStep49.ItemsToGather = list346; - reference225 = questStep49; - span136[3] = new QuestStep(EInteractionType.Interact, 1044077u, new Vector3(474.9674f, 437.00165f, 338.094f), 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - obj167.Steps = list342; - reference223 = obj167; - ref QuestSequence reference226 = ref span135[2]; - QuestSequence obj168 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list347 = new List(num2); - CollectionsMarshal.SetCount(list347, num2); - Span span137 = CollectionsMarshal.AsSpan(list347); - span137[0] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - Mount = true - }; - span137[1] = new QuestStep(EInteractionType.CompleteQuest, 1043417u, new Vector3(314.9004f, 481.99442f, 148.11926f), 960); - obj168.Steps = list347; - reference226 = obj168; - questRoot35.QuestSequence = list340; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(4635); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list348 = new List(num); - CollectionsMarshal.SetCount(list348, num); - CollectionsMarshal.AsSpan(list348)[0] = "liza"; - questRoot36.Author = list348; - num = 5; - List list349 = new List(num); - CollectionsMarshal.SetCount(list349, num); - Span span138 = CollectionsMarshal.AsSpan(list349); - ref QuestSequence reference227 = ref span138[0]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - CollectionsMarshal.AsSpan(list350)[0] = new QuestStep(EInteractionType.AcceptQuest, 1041258u, new Vector3(-639.704f, -27.175835f, 301.07568f), 956) - { - AetheryteShortcut = EAetheryteLocation.LabyrinthosAporia, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj169.Steps = list350; - reference227 = obj169; - ref QuestSequence reference228 = ref span138[1]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list351 = new List(num2); - CollectionsMarshal.SetCount(list351, num2); - CollectionsMarshal.AsSpan(list351)[0] = new QuestStep(EInteractionType.Interact, 1041270u, new Vector3(-830.5333f, 169.52928f, -56.809387f), 961) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ElpisPoietenOikos - }; - obj170.Steps = list351; - reference228 = obj170; - ref QuestSequence reference229 = ref span138[2]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list352 = new List(num2); - CollectionsMarshal.SetCount(list352, num2); - CollectionsMarshal.AsSpan(list352)[0] = new QuestStep(EInteractionType.Interact, 1043488u, new Vector3(643.48804f, 158.6388f, -254.35266f), 961) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ElpisAnagnorisis - }; - obj171.Steps = list352; - reference229 = obj171; - ref QuestSequence reference230 = ref span138[3]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list353 = new List(num2); - CollectionsMarshal.SetCount(list353, num2); - CollectionsMarshal.AsSpan(list353)[0] = new QuestStep(EInteractionType.Interact, 1041273u, new Vector3(808.3772f, 152.22246f, -240.4975f), 961) - { - Fly = true - }; - obj172.Steps = list353; - reference230 = obj172; - ref QuestSequence reference231 = ref span138[4]; - QuestSequence obj173 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list354 = new List(num2); - CollectionsMarshal.SetCount(list354, num2); - CollectionsMarshal.AsSpan(list354)[0] = new QuestStep(EInteractionType.CompleteQuest, 1043489u, new Vector3(99.99231f, -9.999999E-12f, -22.171448f), 1025) - { - StopDistance = 4f, - NextQuestId = new QuestId(4636) - }; - obj173.Steps = list354; - reference231 = obj173; - questRoot36.QuestSequence = list349; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(4636); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list355 = new List(num); - CollectionsMarshal.SetCount(list355, num); - CollectionsMarshal.AsSpan(list355)[0] = "liza"; - questRoot37.Author = list355; - num = 3; - List list356 = new List(num); - CollectionsMarshal.SetCount(list356, num); - Span span139 = CollectionsMarshal.AsSpan(list356); - ref QuestSequence reference232 = ref span139[0]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list357 = new List(num2); - CollectionsMarshal.SetCount(list357, num2); - CollectionsMarshal.AsSpan(list357)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043489u, new Vector3(99.99231f, -9.999999E-12f, -22.171448f), 1025) - { - StopDistance = 4f - }; - obj174.Steps = list357; - reference232 = obj174; - ref QuestSequence reference233 = ref span139[1]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list358 = new List(num2); - CollectionsMarshal.SetCount(list358, num2); - CollectionsMarshal.AsSpan(list358)[0] = new QuestStep(EInteractionType.Duty, null, null, 1025) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 872u - } - }; - obj175.Steps = list358; - reference233 = obj175; - ref QuestSequence reference234 = ref span139[2]; - QuestSequence obj176 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list359 = new List(num2); - CollectionsMarshal.SetCount(list359, num2); - CollectionsMarshal.AsSpan(list359)[0] = new QuestStep(EInteractionType.CompleteQuest, 1043492u, new Vector3(100.175415f, -9.999999E-12f, -25.833557f), 1025) - { - StopDistance = 4f, - NextQuestId = new QuestId(4637) - }; - obj176.Steps = list359; - reference234 = obj176; - questRoot37.QuestSequence = list356; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(4637); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list360 = new List(num); - CollectionsMarshal.SetCount(list360, num); - CollectionsMarshal.AsSpan(list360)[0] = "liza"; - questRoot38.Author = list360; - num = 5; - List list361 = new List(num); - CollectionsMarshal.SetCount(list361, num); - Span span140 = CollectionsMarshal.AsSpan(list361); - ref QuestSequence reference235 = ref span140[0]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list362 = new List(num2); - CollectionsMarshal.SetCount(list362, num2); - CollectionsMarshal.AsSpan(list362)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043491u, new Vector3(101.79285f, -1E-11f, -26.901672f), 1025); - obj177.Steps = list362; - reference235 = obj177; - ref QuestSequence reference236 = ref span140[1]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list363 = new List(num2); - CollectionsMarshal.SetCount(list363, num2); - CollectionsMarshal.AsSpan(list363)[0] = new QuestStep(EInteractionType.Interact, 1043494u, new Vector3(99.99231f, -9.999997E-12f, 99.83972f), 1025); - obj178.Steps = list363; - reference236 = obj178; - ref QuestSequence reference237 = ref span140[2]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list364 = new List(num2); - CollectionsMarshal.SetCount(list364, num2); - CollectionsMarshal.AsSpan(list364)[0] = new QuestStep(EInteractionType.Interact, 1043493u, new Vector3(98.31384f, -9.999999E-12f, -26.901672f), 1025); - obj179.Steps = list364; - reference237 = obj179; - ref QuestSequence reference238 = ref span140[3]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list365 = new List(num2); - CollectionsMarshal.SetCount(list365, num2); - CollectionsMarshal.AsSpan(list365)[0] = new QuestStep(EInteractionType.Duty, null, null, 1025) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 880u - } - }; - obj180.Steps = list365; - reference238 = obj180; - ref QuestSequence reference239 = ref span140[4]; - QuestSequence obj181 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list366 = new List(num2); - CollectionsMarshal.SetCount(list366, num2); - CollectionsMarshal.AsSpan(list366)[0] = new QuestStep(EInteractionType.CompleteQuest, 1043506u, new Vector3(102.12854f, -9.999999E-12f, -26.56604f), 1025) - { - StopDistance = 4f, - NextQuestId = new QuestId(4638) - }; - obj181.Steps = list366; - reference239 = obj181; - questRoot38.QuestSequence = list361; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(4638); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list367 = new List(num); - CollectionsMarshal.SetCount(list367, num); - CollectionsMarshal.AsSpan(list367)[0] = "liza"; - questRoot39.Author = list367; - num = 4; - List list368 = new List(num); - CollectionsMarshal.SetCount(list368, num); - Span span141 = CollectionsMarshal.AsSpan(list368); - ref QuestSequence reference240 = ref span141[0]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list369 = new List(num2); - CollectionsMarshal.SetCount(list369, num2); - CollectionsMarshal.AsSpan(list369)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043506u, new Vector3(102.12854f, -9.999999E-12f, -26.56604f), 1025) - { - StopDistance = 4f - }; - obj182.Steps = list369; - reference240 = obj182; - ref QuestSequence reference241 = ref span141[1]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list370 = new List(num2); - CollectionsMarshal.SetCount(list370, num2); - CollectionsMarshal.AsSpan(list370)[0] = new QuestStep(EInteractionType.Interact, 1043785u, new Vector3(98.55798f, -1E-11f, -26.474487f), 1025) - { - StopDistance = 4f - }; - obj183.Steps = list370; - reference241 = obj183; - ref QuestSequence reference242 = ref span141[2]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list371 = new List(num2); - CollectionsMarshal.SetCount(list371, num2); - CollectionsMarshal.AsSpan(list371)[0] = new QuestStep(EInteractionType.Duty, null, null, 1025) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 876u - } - }; - obj184.Steps = list371; - reference242 = obj184; - ref QuestSequence reference243 = ref span141[3]; - QuestSequence obj185 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list372 = new List(num2); - CollectionsMarshal.SetCount(list372, num2); - CollectionsMarshal.AsSpan(list372)[0] = new QuestStep(EInteractionType.CompleteQuest, 1043495u, new Vector3(98.71057f, -9.999999E-12f, -26.260803f), 1025) - { - StopDistance = 4f, - NextQuestId = new QuestId(4639) - }; - obj185.Steps = list372; - reference243 = obj185; - questRoot39.QuestSequence = list368; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(4639); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list373 = new List(num); - CollectionsMarshal.SetCount(list373, num); - CollectionsMarshal.AsSpan(list373)[0] = "liza"; - questRoot40.Author = list373; - num = 3; - List list374 = new List(num); - CollectionsMarshal.SetCount(list374, num); - Span span142 = CollectionsMarshal.AsSpan(list374); - ref QuestSequence reference244 = ref span142[0]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list375 = new List(num2); - CollectionsMarshal.SetCount(list375, num2); - CollectionsMarshal.AsSpan(list375)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043495u, new Vector3(98.71057f, -9.999999E-12f, -26.260803f), 1025) - { - StopDistance = 4f - }; - obj186.Steps = list375; - reference244 = obj186; - ref QuestSequence reference245 = ref span142[1]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list376 = new List(num2); - CollectionsMarshal.SetCount(list376, num2); - CollectionsMarshal.AsSpan(list376)[0] = new QuestStep(EInteractionType.Duty, null, null, 1025) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 883u - } - }; - obj187.Steps = list376; - reference245 = obj187; - ref QuestSequence reference246 = ref span142[2]; - QuestSequence obj188 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list377 = new List(num2); - CollectionsMarshal.SetCount(list377, num2); - CollectionsMarshal.AsSpan(list377)[0] = new QuestStep(EInteractionType.CompleteQuest, 1043497u, new Vector3(95.93347f, -4.4899712E-13f, 95.59766f), 1093) - { - StopDistance = 6f, - NextQuestId = new QuestId(4640) - }; - obj188.Steps = list377; - reference246 = obj188; - questRoot40.QuestSequence = list374; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(4640); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list378 = new List(num); - CollectionsMarshal.SetCount(list378, num); - CollectionsMarshal.AsSpan(list378)[0] = "liza"; - questRoot41.Author = list378; - num = 5; - List list379 = new List(num); - CollectionsMarshal.SetCount(list379, num); - Span span143 = CollectionsMarshal.AsSpan(list379); - ref QuestSequence reference247 = ref span143[0]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list380 = new List(num2); - CollectionsMarshal.SetCount(list380, num2); - CollectionsMarshal.AsSpan(list380)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043497u, new Vector3(95.93347f, -4.4899712E-13f, 95.59766f), 1093) - { - StopDistance = 6f - }; - obj189.Steps = list380; - reference247 = obj189; - ref QuestSequence reference248 = ref span143[1]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list381 = new List(num2); - CollectionsMarshal.SetCount(list381, num2); - CollectionsMarshal.AsSpan(list381)[0] = new QuestStep(EInteractionType.Interact, 1043499u, new Vector3(100.35852f, 0f, 94.71277f), 1093); - obj190.Steps = list381; - reference248 = obj190; - ref QuestSequence reference249 = ref span143[2]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list382 = new List(num2); - CollectionsMarshal.SetCount(list382, num2); - Span span144 = CollectionsMarshal.AsSpan(list382); - span144[0] = new QuestStep(EInteractionType.Interact, 2013032u, new Vector3(99.9981f, 1.1515f, 120.2372f), 1093) - { - TargetTerritoryId = (ushort)1025 - }; - span144[1] = new QuestStep(EInteractionType.Interact, 1043500u, new Vector3(99.809204f, -1E-11f, -25.68097f), 1025); - obj191.Steps = list382; - reference249 = obj191; - ref QuestSequence reference250 = ref span143[3]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list383 = new List(num2); - CollectionsMarshal.SetCount(list383, num2); - CollectionsMarshal.AsSpan(list383)[0] = new QuestStep(EInteractionType.Interact, 1043503u, new Vector3(-639.704f, -27.177149f, 301.9912f), 956) - { - AetheryteShortcut = EAetheryteLocation.LabyrinthosAporia - }; - obj192.Steps = list383; - reference250 = obj192; - ref QuestSequence reference251 = ref span143[4]; - QuestSequence obj193 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list384 = new List(num2); - CollectionsMarshal.SetCount(list384, num2); - CollectionsMarshal.AsSpan(list384)[0] = new QuestStep(EInteractionType.CompleteQuest, 1043504u, new Vector3(-639.704f, -27.177149f, 301.9912f), 956) - { - NextQuestId = new QuestId(4756) - }; - obj193.Steps = list384; - reference251 = obj193; - questRoot41.QuestSequence = list379; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(4641); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list385 = new List(num); - CollectionsMarshal.SetCount(list385, num); - CollectionsMarshal.AsSpan(list385)[0] = "liza"; - questRoot42.Author = list385; - num = 10; - List list386 = new List(num); - CollectionsMarshal.SetCount(list386, num); - Span span145 = CollectionsMarshal.AsSpan(list386); - ref QuestSequence reference252 = ref span145[0]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list387 = new List(num2); - CollectionsMarshal.SetCount(list387, num2); - ref QuestStep reference253 = ref CollectionsMarshal.AsSpan(list387)[0]; - QuestStep questStep50 = new QuestStep(EInteractionType.AcceptQuest, 1042512u, new Vector3(31.387817f, -5.021957E-07f, -0.65618896f), 963); - num3 = 2; - List list388 = new List(num3); - CollectionsMarshal.SetCount(list388, num3); - Span span146 = CollectionsMarshal.AsSpan(list388); - span146[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CHRHDB821_04641_Q2_000_000"), - Answer = new ExcelRef("TEXT_CHRHDB821_04641_A2_000_002") - }; - span146[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CHRHDB821_04641_Q3_000_000"), - Answer = new ExcelRef("TEXT_CHRHDB821_04641_A3_000_001") - }; - questStep50.DialogueChoices = list388; - reference253 = questStep50; - obj194.Steps = list387; - reference252 = obj194; - ref QuestSequence reference254 = ref span145[1]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list389 = new List(num2); - CollectionsMarshal.SetCount(list389, num2); - CollectionsMarshal.AsSpan(list389)[0] = new QuestStep(EInteractionType.Interact, 1042524u, new Vector3(-432.70013f, 22.328213f, 508.75085f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - obj195.Steps = list389; - reference254 = obj195; - ref QuestSequence reference255 = ref span145[2]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list390 = new List(num2); - CollectionsMarshal.SetCount(list390, num2); - Span span147 = CollectionsMarshal.AsSpan(list390); - span147[0] = new QuestStep(EInteractionType.Interact, 2012531u, new Vector3(-663.29443f, 132.6466f, 728.96924f), 959) - { - StopDistance = 0.5f, - TargetTerritoryId = (ushort)1024, - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumSinusLacrimarum - }; - span147[1] = new QuestStep(EInteractionType.Interact, 2012529u, new Vector3(0.07623291f, 0.83917236f, 52.506226f), 1024) - { - TargetTerritoryId = (ushort)958 - }; - span147[2] = new QuestStep(EInteractionType.Interact, 1042525u, new Vector3(-446.0365f, 10.5f, -616.14404f), 958); - obj196.Steps = list390; - reference255 = obj196; - ref QuestSequence reference256 = ref span145[3]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list391 = new List(num2); - CollectionsMarshal.SetCount(list391, num2); - CollectionsMarshal.AsSpan(list391)[0] = new QuestStep(EInteractionType.Interact, 1042526u, new Vector3(-657.9232f, 130.61172f, 722.62134f), 959) - { - StopDistance = 7f - }; - obj197.Steps = list391; - reference256 = obj197; - ref QuestSequence reference257 = ref span145[4]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list392 = new List(num2); - CollectionsMarshal.SetCount(list392, num2); - CollectionsMarshal.AsSpan(list392)[0] = new QuestStep(EInteractionType.Interact, 1042528u, new Vector3(-15.213318f, -129.20917f, -475.6695f), 959); - obj198.Steps = list392; - reference257 = obj198; - ref QuestSequence reference258 = ref span145[5]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list393 = new List(num2); - CollectionsMarshal.SetCount(list393, num2); - CollectionsMarshal.AsSpan(list393)[0] = new QuestStep(EInteractionType.Interact, 1042531u, new Vector3(-103.07471f, -137.41672f, -444.66315f), 959) - { - Fly = true - }; - obj199.Steps = list393; - reference258 = obj199; - ref QuestSequence reference259 = ref span145[6]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list394 = new List(num2); - CollectionsMarshal.SetCount(list394, num2); - Span span148 = CollectionsMarshal.AsSpan(list394); - span148[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-59.250706f, -133.00002f, -587.20355f), 959) - { - Fly = true - }; - span148[1] = new QuestStep(EInteractionType.Interact, 1042532u, new Vector3(-60.624146f, -132.80109f, -587.4266f), 959); - obj200.Steps = list394; - reference259 = obj200; - ref QuestSequence reference260 = ref span145[7]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list395 = new List(num2); - CollectionsMarshal.SetCount(list395, num2); - CollectionsMarshal.AsSpan(list395)[0] = new QuestStep(EInteractionType.Interact, 1037816u, new Vector3(114.3053f, -132.87448f, -559.35f), 959); - obj201.Steps = list395; - reference260 = obj201; - ref QuestSequence reference261 = ref span145[8]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list396 = new List(num2); - CollectionsMarshal.SetCount(list396, num2); - CollectionsMarshal.AsSpan(list396)[0] = new QuestStep(EInteractionType.Interact, 2013061u, new Vector3(249.19507f, 66.544556f, 367.2693f), 959) - { - StopDistance = 0.5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumSinusLacrimarum - }; - obj202.Steps = list396; - reference261 = obj202; - ref QuestSequence reference262 = ref span145[9]; - QuestSequence obj203 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list397 = new List(num2); - CollectionsMarshal.SetCount(list397, num2); - CollectionsMarshal.AsSpan(list397)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042544u, new Vector3(324.422f, 130.1783f, 711.94006f), 959) - { - StopDistance = 7f, - NextQuestId = new QuestId(4642) - }; - obj203.Steps = list397; - reference262 = obj203; - questRoot42.QuestSequence = list386; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(4642); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list398 = new List(num); - CollectionsMarshal.SetCount(list398, num); - CollectionsMarshal.AsSpan(list398)[0] = "liza"; - questRoot43.Author = list398; - num = 6; - List list399 = new List(num); - CollectionsMarshal.SetCount(list399, num); - Span span149 = CollectionsMarshal.AsSpan(list399); - ref QuestSequence reference263 = ref span149[0]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list400 = new List(num2); - CollectionsMarshal.SetCount(list400, num2); - CollectionsMarshal.AsSpan(list400)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042544u, new Vector3(324.422f, 130.1783f, 711.94006f), 959) - { - StopDistance = 6f - }; - obj204.Steps = list400; - reference263 = obj204; - ref QuestSequence reference264 = ref span149[1]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list401 = new List(num2); - CollectionsMarshal.SetCount(list401, num2); - CollectionsMarshal.AsSpan(list401)[0] = new QuestStep(EInteractionType.Interact, 1042548u, new Vector3(1.5106201f, 70.01534f, -1.083435f), 959) - { - Fly = true - }; - obj205.Steps = list401; - reference264 = obj205; - ref QuestSequence reference265 = ref span149[2]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list402 = new List(num2); - CollectionsMarshal.SetCount(list402, num2); - CollectionsMarshal.AsSpan(list402)[0] = new QuestStep(EInteractionType.Interact, 2013062u, new Vector3(-129.83911f, 61.661743f, 120.80554f), 959) - { - StopDistance = 0.5f, - Fly = true - }; - obj206.Steps = list402; - reference265 = obj206; - ref QuestSequence reference266 = ref span149[3]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list403 = new List(num2); - CollectionsMarshal.SetCount(list403, num2); - CollectionsMarshal.AsSpan(list403)[0] = new QuestStep(EInteractionType.Interact, 2013063u, new Vector3(-249.22565f, 81.712036f, 134.1726f), 959) - { - Fly = true - }; - obj207.Steps = list403; - reference266 = obj207; - ref QuestSequence reference267 = ref span149[4]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list404 = new List(num2); - CollectionsMarshal.SetCount(list404, num2); - CollectionsMarshal.AsSpan(list404)[0] = new QuestStep(EInteractionType.Interact, 2013064u, new Vector3(-358.23608f, 104.53955f, 117.234985f), 959) - { - Fly = true - }; - obj208.Steps = list404; - reference267 = obj208; - ref QuestSequence reference268 = ref span149[5]; - QuestSequence obj209 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list405 = new List(num2); - CollectionsMarshal.SetCount(list405, num2); - CollectionsMarshal.AsSpan(list405)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042555u, new Vector3(31.204712f, -5.351952E-07f, -0.77819824f), 963) - { - StopDistance = 5f, - NextQuestId = new QuestId(4718) - }; - obj209.Steps = list405; - reference268 = obj209; - questRoot43.QuestSequence = list399; - AddQuest(questId43, questRoot43); - QuestId questId44 = new QuestId(4644); - QuestRoot questRoot44 = new QuestRoot(); - num = 1; - List list406 = new List(num); - CollectionsMarshal.SetCount(list406, num); - CollectionsMarshal.AsSpan(list406)[0] = "liza"; - questRoot44.Author = list406; - num = 1; - List list407 = new List(num); - CollectionsMarshal.SetCount(list407, num); - ref QuestSequence reference269 = ref CollectionsMarshal.AsSpan(list407)[0]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list408 = new List(num2); - CollectionsMarshal.SetCount(list408, num2); - CollectionsMarshal.AsSpan(list408)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043621u, new Vector3(174.12073f, 14.095924f, 667.5669f), 135); - obj210.Steps = list408; - reference269 = obj210; - questRoot44.QuestSequence = list407; - AddQuest(questId44, questRoot44); - } - - private static void LoadQuests93() - { - QuestId questId = new QuestId(4650); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "pot0to"; - questRoot.Author = list; - num = 11; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042599u, new Vector3(31.998047f, 5.1499996f, -67.73486f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 2013108u, new Vector3(-75.70001f, -4.7455444f, -27.664612f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardJeweledCrozier - } - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1011952u, new Vector3(-277.63788f, -184.59735f, 741.60376f), 401) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsCampCloudtop - }; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Interact, 2007074u, new Vector3(-815.8236f, -87.26642f, -834.3175f), 401) - { - TargetTerritoryId = (ushort)567 - }; - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.Interact, 1042605u, new Vector3(72.46509f, 203.98001f, 125.993774f), 478); - obj5.Steps = list7; - reference5 = obj5; - ref QuestSequence reference6 = ref span[5]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - Span span2 = CollectionsMarshal.AsSpan(list8); - ref QuestStep reference7 = ref span2[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1042608u, new Vector3(-9.323303f, 206.49942f, 38.77307f), 478); - int num3 = 6; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - Span span3 = CollectionsMarshal.AsSpan(list9); - span3[0] = null; - span3[1] = null; - span3[2] = null; - span3[3] = null; - span3[4] = null; - span3[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list9; - reference7 = questStep; - ref QuestStep reference8 = ref span2[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1042609u, new Vector3(-49.149292f, 209.18335f, -103.01367f), 478); - num3 = 6; - List list10 = new List(num3); - CollectionsMarshal.SetCount(list10, num3); - Span span4 = CollectionsMarshal.AsSpan(list10); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list10; - reference8 = questStep2; - ref QuestStep reference9 = ref span2[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1042610u, new Vector3(56.961792f, 214.19846f, -81.43744f), 478); - num3 = 6; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - Span span5 = CollectionsMarshal.AsSpan(list11); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list11; - reference9 = questStep3; - obj6.Steps = list8; - reference6 = obj6; - ref QuestSequence reference10 = ref span[6]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Interact, 1042605u, new Vector3(-30.20218f, 214.49994f, 91.81962f), 478) - { - StopDistance = 1f - }; - obj7.Steps = list12; - reference10 = obj7; - ref QuestSequence reference11 = ref span[7]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.Interact, 1042613u, new Vector3(-22.38501f, 203.69724f, 93.18677f), 478); - obj8.Steps = list13; - reference11 = obj8; - ref QuestSequence reference12 = ref span[8]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 8 - }; - num2 = 4; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - Span span6 = CollectionsMarshal.AsSpan(list14); - span6[0] = new QuestStep(EInteractionType.Interact, 2007074u, new Vector3(-815.8236f, -87.26642f, -834.3175f), 401) - { - TargetTerritoryId = (ushort)567, - Fly = true, - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - span6[1] = new QuestStep(EInteractionType.Interact, 2007080u, new Vector3(18.1734f, -14.755493f, 26.840576f), 567) - { - TargetTerritoryId = (ushort)568 - }; - span6[2] = new QuestStep(EInteractionType.Interact, 2007075u, new Vector3(22.323914f, 3.5552979f, -18.814392f), 567); - span6[3] = new QuestStep(EInteractionType.Interact, 2013110u, new Vector3(-1.8158569f, 0.015197754f, 5.1727905f), 568); - obj9.Steps = list14; - reference12 = obj9; - ref QuestSequence reference13 = ref span[9]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.Interact, 1042611u, new Vector3(-75.48645f, -4.734931f, -26.901672f), 419); - obj10.Steps = list15; - reference13 = obj10; - ref QuestSequence reference14 = ref span[10]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042599u, new Vector3(31.998047f, 5.1499996f, -67.73486f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - NextQuestId = new QuestId(4662) - }; - obj11.Steps = list16; - reference14 = obj11; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(4652); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - CollectionsMarshal.AsSpan(list17)[0] = "CryoTechnic"; - questRoot2.Author = list17; - num = 3; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - Span span7 = CollectionsMarshal.AsSpan(list18); - ref QuestSequence reference15 = ref span7[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043950u, new Vector3(29.833603f, -5.9604645E-07f, -0.25688922f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj12.Steps = list19; - reference15 = obj12; - ref QuestSequence reference16 = ref span7[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - Span span8 = CollectionsMarshal.AsSpan(list20); - span8[0] = new QuestStep(EInteractionType.Interact, 1043892u, new Vector3(48.325317f, -0.0003188569f, -12.802368f), 963); - span8[1] = new QuestStep(EInteractionType.PurchaseItem, 1043892u, new Vector3(48.325317f, -0.0003188569f, -12.802368f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - ItemId = 38420u, - ItemCount = 3, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj13.Steps = list20; - reference16 = obj13; - ref QuestSequence reference17 = ref span7[2]; - QuestSequence obj14 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.CompleteQuest, 1043891u, new Vector3(41.33667f, -24.693443f, -201.67853f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHighCrucible - } - }; - obj14.Steps = list21; - reference17 = obj14; - questRoot2.QuestSequence = list18; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(4653); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - CollectionsMarshal.AsSpan(list22)[0] = "CryoTechnic"; - questRoot3.Author = list22; - num = 3; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - Span span9 = CollectionsMarshal.AsSpan(list23); - ref QuestSequence reference18 = ref span9[0]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043891u, new Vector3(41.33667f, -24.693443f, -201.67853f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHighCrucible - } - }; - obj15.Steps = list24; - reference18 = obj15; - ref QuestSequence reference19 = ref span9[1]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.PurchaseItem, 1043892u, new Vector3(48.325317f, -0.0003188569f, -12.802368f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanHighCrucible, - To = EAetheryteLocation.RadzAtHan - }, - ItemId = 38420u, - ItemCount = 3, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - obj16.Steps = list25; - reference19 = obj16; - ref QuestSequence reference20 = ref span9[2]; - QuestSequence obj17 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.CompleteQuest, 1043891u, new Vector3(41.33667f, -24.693443f, -201.67853f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHighCrucible - } - }; - obj17.Steps = list26; - reference20 = obj17; - questRoot3.QuestSequence = list23; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(4660); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - CollectionsMarshal.AsSpan(list27)[0] = "Censored"; - questRoot4.Author = list27; - num = 4; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - Span span10 = CollectionsMarshal.AsSpan(list28); - ref QuestSequence reference21 = ref span10[0]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.AcceptQuest, 1044132u, new Vector3(-319.26453f, 44.8282f, 36.301147f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanMeghaduta - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj18.Steps = list29; - reference21 = obj18; - ref QuestSequence reference22 = ref span10[1]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.Interact, 1044133u, new Vector3(-196.2768f, 4.065f, -107.286194f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanMeghaduta, - To = EAetheryteLocation.RadzAtHanHallOfTheRadiantHost - } - }; - obj19.Steps = list30; - reference22 = obj19; - ref QuestSequence reference23 = ref span10[2]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - Span span11 = CollectionsMarshal.AsSpan(list31); - ref QuestStep reference24 = ref span11[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1044136u, new Vector3(-157.8852f, 3.999719f, -64.49994f), 963); - num3 = 6; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - Span span12 = CollectionsMarshal.AsSpan(list32); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list32; - reference24 = questStep4; - ref QuestStep reference25 = ref span11[1]; - QuestStep obj21 = new QuestStep(EInteractionType.Interact, 1044139u, new Vector3(3.5248413f, 2.9999907f, -196.1242f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanHallOfTheRadiantHost, - To = EAetheryteLocation.RadzAtHanMehrydesMeyhane - } - }; - num3 = 6; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - Span span13 = CollectionsMarshal.AsSpan(list33); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj21.CompletionQuestVariablesFlags = list33; - reference25 = obj21; - ref QuestStep reference26 = ref span11[2]; - QuestStep obj22 = new QuestStep(EInteractionType.Interact, 1044142u, new Vector3(48.874634f, 26.999975f, 45.090332f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanMehrydesMeyhane, - To = EAetheryteLocation.RadzAtHanKama - } - }; - num3 = 6; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - Span span14 = CollectionsMarshal.AsSpan(list34); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj22.CompletionQuestVariablesFlags = list34; - reference26 = obj22; - ref QuestStep reference27 = ref span11[3]; - QuestStep obj23 = new QuestStep(EInteractionType.Interact, 1044145u, new Vector3(-112.7489f, 29.037842f, 239.55127f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanKama, - To = EAetheryteLocation.RadzAtHanAirship - } - }; - num3 = 6; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - Span span15 = CollectionsMarshal.AsSpan(list35); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj23.CompletionQuestVariablesFlags = list35; - reference27 = obj23; - obj20.Steps = list31; - reference23 = obj20; - ref QuestSequence reference28 = ref span10[3]; - QuestSequence obj24 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.CompleteQuest, 1044135u, new Vector3(-195.36127f, 4.065f, -106.55377f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanAirship, - To = EAetheryteLocation.RadzAtHanHallOfTheRadiantHost - }, - NextQuestId = new QuestId(4661) - }; - obj24.Steps = list36; - reference28 = obj24; - questRoot4.QuestSequence = list28; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(4661); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - CollectionsMarshal.AsSpan(list37)[0] = "Censored"; - questRoot5.Author = list37; - num = 3; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - Span span16 = CollectionsMarshal.AsSpan(list38); - ref QuestSequence reference29 = ref span16[0]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.AcceptQuest, 1044133u, new Vector3(-196.2768f, 4.065f, -107.286194f), 963) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHallOfTheRadiantHost - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj25.Steps = list39; - reference29 = obj25; - ref QuestSequence reference30 = ref span16[1]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - Span span17 = CollectionsMarshal.AsSpan(list40); - ref QuestStep reference31 = ref span17[0]; - QuestStep obj27 = new QuestStep(EInteractionType.Interact, 1044221u, new Vector3(99.32092f, 4.7837553f, -158.98376f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanHallOfTheRadiantHost, - To = EAetheryteLocation.RadzAtHan - } - }; - num3 = 6; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - Span span18 = CollectionsMarshal.AsSpan(list41); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj27.CompletionQuestVariablesFlags = list41; - reference31 = obj27; - ref QuestStep reference32 = ref span17[1]; - QuestStep obj28 = new QuestStep(EInteractionType.Interact, 1044218u, new Vector3(17.135864f, -2.000002f, 96.025024f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanAlzadaalsPeace - } - }; - num3 = 6; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - Span span19 = CollectionsMarshal.AsSpan(list42); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj28.CompletionQuestVariablesFlags = list42; - reference32 = obj28; - ref QuestStep reference33 = ref span17[2]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1044217u, new Vector3(-71.54962f, -2.0001035f, 150.83533f), 963); - num3 = 6; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - Span span20 = CollectionsMarshal.AsSpan(list43); - span20[0] = null; - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list43; - reference33 = questStep5; - ref QuestStep reference34 = ref span17[3]; - QuestStep obj29 = new QuestStep(EInteractionType.Interact, 1044215u, new Vector3(-278.0957f, 36f, 69.10803f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanRuveydahFibers - } - }; - num3 = 6; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - Span span21 = CollectionsMarshal.AsSpan(list44); - span21[0] = null; - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj29.CompletionQuestVariablesFlags = list44; - reference34 = obj29; - obj26.Steps = list40; - reference30 = obj26; - ref QuestSequence reference35 = ref span16[2]; - QuestSequence obj30 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.CompleteQuest, 1044135u, new Vector3(-195.36127f, 4.065f, -106.55377f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHallOfTheRadiantHost - } - }; - obj30.Steps = list45; - reference35 = obj30; - questRoot5.QuestSequence = list38; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(4662); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - CollectionsMarshal.AsSpan(list46)[0] = "pot0to"; - questRoot6.Author = list46; - num = 12; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - Span span22 = CollectionsMarshal.AsSpan(list47); - ref QuestSequence reference36 = ref span22[0]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042599u, new Vector3(31.998047f, 5.1499996f, -67.73486f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj31.Steps = list48; - reference36 = obj31; - ref QuestSequence reference37 = ref span22[1]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.Interact, 2013288u, new Vector3(102.67798f, 11.9782715f, 40.238037f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeRubyBazaar - } - }; - obj32.Steps = list49; - reference37 = obj32; - ref QuestSequence reference38 = ref span22[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.Interact, 2013289u, new Vector3(362.11182f, 0.7171631f, 763.17993f), 613) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeRubyBazaar, - To = EAetheryteLocation.KuganeRubyPrice - } - }; - obj33.Steps = list50; - reference38 = obj33; - ref QuestSequence reference39 = ref span22[3]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.Interact, 1044958u, new Vector3(-172.38116f, -7.000106f, 46.799316f), 628); - obj34.Steps = list51; - reference39 = obj34; - ref QuestSequence reference40 = ref span22[4]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - ref QuestStep reference41 = ref CollectionsMarshal.AsSpan(list52)[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1044963u, new Vector3(34.470093f, 4f, 77.805664f), 628); - num3 = 1; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - CollectionsMarshal.AsSpan(list53)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKSA301_04662_Q4_000_000"), - Answer = new ExcelRef("TEXT_AKTKSA301_04662_A4_000_001") - }; - questStep6.DialogueChoices = list53; - reference41 = questStep6; - obj35.Steps = list52; - reference40 = obj35; - ref QuestSequence reference42 = ref span22[5]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.Interact, 1044965u, new Vector3(35.934937f, 4f, 76.49341f), 628); - obj36.Steps = list54; - reference42 = obj36; - ref QuestSequence reference43 = ref span22[6]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.Interact, 1044967u, new Vector3(24.795776f, 4.0000014f, 39.230957f), 628); - obj37.Steps = list55; - reference43 = obj37; - ref QuestSequence reference44 = ref span22[7]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.Interact, 1044968u, new Vector3(-52.71997f, 16.054996f, -17.135986f), 628); - obj38.Steps = list56; - reference44 = obj38; - ref QuestSequence reference45 = ref span22[8]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.Interact, 1045117u, new Vector3(736.0189f, 0.10766173f, -298.5733f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaTamamizu - }; - obj39.Steps = list57; - reference45 = obj39; - ref QuestSequence reference46 = ref span22[9]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.Interact, 1044972u, new Vector3(706.4773f, 1f, -261.40234f), 613); - obj40.Steps = list58; - reference46 = obj40; - ref QuestSequence reference47 = ref span22[10]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.Interact, 1044973u, new Vector3(114.51892f, 12.000001f, 101.3656f), 628); - obj41.Steps = list59; - reference47 = obj41; - ref QuestSequence reference48 = ref span22[11]; - QuestSequence obj42 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042599u, new Vector3(31.998047f, 5.1499996f, -67.73486f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - NextQuestId = new QuestId(4761) - }; - obj42.Steps = list60; - reference48 = obj42; - questRoot6.QuestSequence = list47; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(4666); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - CollectionsMarshal.AsSpan(list61)[0] = "liza"; - questRoot7.Author = list61; - num = 5; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - Span span23 = CollectionsMarshal.AsSpan(list62); - ref QuestSequence reference49 = ref span23[0]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042264u, new Vector3(124.22363f, 19.32629f, -617.42584f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj43.Steps = list63; - reference49 = obj43; - ref QuestSequence reference50 = ref span23[1]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.Interact, 2012870u, new Vector3(154.46704f, -26.29132f, -437.46094f), 156) - { - StopDistance = 1f, - TargetTerritoryId = (ushort)1061, - Fly = true - }; - obj44.Steps = list64; - reference50 = obj44; - ref QuestSequence reference51 = ref span23[2]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.Interact, 1044299u, new Vector3(-85.89307f, 3f, 84.58069f), 1061) - { - StopDistance = 5f - }; - obj45.Steps = list65; - reference51 = obj45; - ref QuestSequence reference52 = ref span23[3]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.Duty, null, null, 1061) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 911u - } - }; - obj46.Steps = list66; - reference52 = obj46; - ref QuestSequence reference53 = ref span23[4]; - QuestSequence obj47 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.CompleteQuest, 1044303u, new Vector3(-7.2786255f, 0.0999997f, 5.874695f), 1061) - { - NextQuestId = new QuestId(4667) - }; - obj47.Steps = list67; - reference53 = obj47; - questRoot7.QuestSequence = list62; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(4667); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - CollectionsMarshal.AsSpan(list68)[0] = "liza"; - questRoot8.Author = list68; - num = 5; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - Span span24 = CollectionsMarshal.AsSpan(list69); - ref QuestSequence reference54 = ref span24[0]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.AcceptQuest, 1044304u, new Vector3(-6.6377563f, 0.0999997f, 7.2785034f), 1061); - obj48.Steps = list70; - reference54 = obj48; - ref QuestSequence reference55 = ref span24[1]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - Span span25 = CollectionsMarshal.AsSpan(list71); - ref QuestStep reference56 = ref span25[0]; - QuestStep obj50 = new QuestStep(EInteractionType.Interact, 2012871u, new Vector3(15.945618f, 1.7547607f, -61.600708f), 1061) - { - TargetTerritoryId = (ushort)156 - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - CollectionsMarshal.AsSpan(list72)[0] = 1061; - skipStepConditions.NotInTerritory = list72; - skipConditions.StepIf = skipStepConditions; - obj50.SkipConditions = skipConditions; - reference56 = obj50; - span25[1] = new QuestStep(EInteractionType.Interact, 1044306u, new Vector3(-149.58423f, 42.86022f, -182.8794f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj49.Steps = list71; - reference55 = obj49; - ref QuestSequence reference57 = ref span24[2]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - Span span26 = CollectionsMarshal.AsSpan(list73); - span26[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(126.23871f, 31.274973f, -772.4912f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - span26[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-693.9247f, 261.1125f, 436.2933f), 155) - { - Fly = true - }; - span26[2] = new QuestStep(EInteractionType.Interact, 1044310u, new Vector3(-674.21985f, 254.80737f, 490.77588f), 155); - obj51.Steps = list73; - reference57 = obj51; - ref QuestSequence reference58 = ref span24[3]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - Span span27 = CollectionsMarshal.AsSpan(list74); - span27[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(180.50424f, 360.59534f, -609.197f), 155) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - span27[1] = new QuestStep(EInteractionType.Interact, 1044314u, new Vector3(182.5741f, 360.90265f, -610.2846f), 155); - obj52.Steps = list74; - reference58 = obj52; - ref QuestSequence reference59 = ref span24[4]; - QuestSequence obj53 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.CompleteQuest, 1044315u, new Vector3(80.24719f, 373.73154f, -674.49457f), 155) - { - NextQuestId = new QuestId(4668) - }; - obj53.Steps = list75; - reference59 = obj53; - questRoot8.QuestSequence = list69; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(4668); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - CollectionsMarshal.AsSpan(list76)[0] = "liza"; - questRoot9.Author = list76; - num = 6; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - Span span28 = CollectionsMarshal.AsSpan(list77); - ref QuestSequence reference60 = ref span28[0]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.AcceptQuest, 1044315u, new Vector3(80.24719f, 373.73154f, -674.49457f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj54.Steps = list78; - reference60 = obj54; - ref QuestSequence reference61 = ref span28[1]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.Interact, 1044319u, new Vector3(-45.91449f, -4.1435657f, 8.8349f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj55.Steps = list79; - reference61 = obj55; - ref QuestSequence reference62 = ref span28[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - Span span29 = CollectionsMarshal.AsSpan(list80); - span29[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-105.23065f, 1.2987103f, 6.734147f), 132) - { - TargetTerritoryId = (ushort)133 - }; - span29[1] = new QuestStep(EInteractionType.Interact, 1044323u, new Vector3(-140.45929f, 5.046544f, -40.48224f), 133); - obj56.Steps = list80; - reference62 = obj56; - ref QuestSequence reference63 = ref span28[3]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.Interact, 1043024u, new Vector3(-239.94812f, 0.8012663f, 384.60352f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil - }; - obj57.Steps = list81; - reference63 = obj57; - ref QuestSequence reference64 = ref span28[4]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - ref QuestStep reference65 = ref CollectionsMarshal.AsSpan(list82)[0]; - QuestStep obj59 = new QuestStep(EInteractionType.Interact, 1044328u, new Vector3(-246.08228f, 0.7061289f, 384.08484f), 153) - { - StopDistance = 7f - }; - num3 = 1; - List list83 = new List(num3); - CollectionsMarshal.SetCount(list83, num3); - CollectionsMarshal.AsSpan(list83)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKEA203_04668_SYSTEM_000_122") - }; - obj59.DialogueChoices = list83; - reference65 = obj59; - obj58.Steps = list82; - reference64 = obj58; - ref QuestSequence reference66 = ref span28[5]; - QuestSequence obj60 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.CompleteQuest, 1044331u, new Vector3(204.05884f, 6.2006326f, -32.059265f), 153) - { - NextQuestId = new QuestId(4669) - }; - obj60.Steps = list84; - reference66 = obj60; - questRoot9.QuestSequence = list77; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(4669); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - CollectionsMarshal.AsSpan(list85)[0] = "liza"; - questRoot10.Author = list85; - num = 4; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - Span span30 = CollectionsMarshal.AsSpan(list86); - ref QuestSequence reference67 = ref span30[0]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.AcceptQuest, 1044331u, new Vector3(204.05884f, 6.2006326f, -32.059265f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj61.Steps = list87; - reference67 = obj61; - ref QuestSequence reference68 = ref span30[1]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 2012870u, new Vector3(154.46704f, -26.29132f, -437.46094f), 156) - { - StopDistance = 1f, - TargetTerritoryId = (ushort)1061, - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj62.Steps = list88; - reference68 = obj62; - ref QuestSequence reference69 = ref span30[2]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Interact, 1044335u, new Vector3(-1.3886108f, 0.0999997f, 0.59503174f), 1061) - { - StopDistance = 5f - }; - obj63.Steps = list89; - reference69 = obj63; - ref QuestSequence reference70 = ref span30[3]; - QuestSequence obj64 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042264u, new Vector3(124.22363f, 19.32629f, -617.42584f), 156) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona, - NextQuestId = new QuestId(4791) - }; - obj64.Steps = list90; - reference70 = obj64; - questRoot10.QuestSequence = list86; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(4670); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - CollectionsMarshal.AsSpan(list91)[0] = "liza"; - questRoot11.Author = list91; - num = 4; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - Span span31 = CollectionsMarshal.AsSpan(list92); - ref QuestSequence reference71 = ref span31[0]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039645u, new Vector3(-338.33832f, 55f, -68.40625f), 963) - { - StopDistance = 5f - }; - obj65.Steps = list93; - reference71 = obj65; - ref QuestSequence reference72 = ref span31[1]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Interact, 1043821u, new Vector3(3.3721924f, 26.999998f, 37.216675f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanMeghaduta, - To = EAetheryteLocation.RadzAtHanKama - } - }; - obj66.Steps = list94; - reference72 = obj66; - ref QuestSequence reference73 = ref span31[2]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.Interact, 1044293u, new Vector3(-346.12042f, 55f, -66.17847f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanKama, - To = EAetheryteLocation.RadzAtHanMeghaduta - } - }; - obj67.Steps = list95; - reference73 = obj67; - ref QuestSequence reference74 = ref span31[3]; - QuestSequence obj68 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.CompleteQuest, 1044293u, new Vector3(-346.12042f, 55f, -66.17847f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanMeghaduta - } - }; - obj68.Steps = list96; - reference74 = obj68; - questRoot11.QuestSequence = list92; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(4671); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - CollectionsMarshal.AsSpan(list97)[0] = "liza"; - questRoot12.Author = list97; - num = 7; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - Span span32 = CollectionsMarshal.AsSpan(list98); - ref QuestSequence reference75 = ref span32[0]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.AcceptQuest, 1044229u, new Vector3(-345.99835f, 55f, -63.645386f), 963); - obj69.Steps = list99; - reference75 = obj69; - ref QuestSequence reference76 = ref span32[1]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.Interact, 1044231u, new Vector3(535.7289f, -36.65f, -185.87018f), 958) - { - StopDistance = 6f - }; - obj70.Steps = list100; - reference76 = obj70; - ref QuestSequence reference77 = ref span32[2]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.Interact, 1044234u, new Vector3(-368.15448f, 21.999998f, 485.37415f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - obj71.Steps = list101; - reference77 = obj71; - ref QuestSequence reference78 = ref span32[3]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.Interact, 1044241u, new Vector3(55.161255f, -16.177f, 427.87805f), 958) - { - Fly = true - }; - obj72.Steps = list102; - reference78 = obj72; - ref QuestSequence reference79 = ref span32[4]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.Interact, 1045227u, new Vector3(150.04187f, -20.207552f, 509.88013f), 958) - { - StopDistance = 5f - }; - obj73.Steps = list103; - reference79 = obj73; - ref QuestSequence reference80 = ref span32[5]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.Interact, 1044243u, new Vector3(132.31091f, -12.950364f, 642.8473f), 958) - { - Fly = true - }; - obj74.Steps = list104; - reference80 = obj74; - ref QuestSequence reference81 = ref span32[6]; - QuestSequence obj75 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.CompleteQuest, 1044239u, new Vector3(-369.2226f, 22f, 484.0619f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - obj75.Steps = list105; - reference81 = obj75; - questRoot12.QuestSequence = list98; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(4672); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list106 = new List(num); - CollectionsMarshal.SetCount(list106, num); - CollectionsMarshal.AsSpan(list106)[0] = "liza"; - questRoot13.Author = list106; - num = 4; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - Span span33 = CollectionsMarshal.AsSpan(list107); - ref QuestSequence reference82 = ref span33[0]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.AcceptQuest, 1044239u, new Vector3(-369.2226f, 22f, 484.0619f), 958); - obj76.Steps = list108; - reference82 = obj76; - ref QuestSequence reference83 = ref span33[1]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.Interact, 1044249u, new Vector3(-89.89093f, -9.408967f, 416.3423f), 958) - { - Fly = true - }; - obj77.Steps = list109; - reference83 = obj77; - ref QuestSequence reference84 = ref span33[2]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - Span span34 = CollectionsMarshal.AsSpan(list110); - ref QuestStep reference85 = ref span34[0]; - QuestStep obj79 = new QuestStep(EInteractionType.Combat, 2013226u, new Vector3(18.631226f, -12.314087f, 383.77966f), 958) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list111 = new List(num3); - CollectionsMarshal.SetCount(list111, num3); - Span span35 = CollectionsMarshal.AsSpan(list111); - span35[0] = 16028u; - span35[1] = 16029u; - obj79.KillEnemyDataIds = list111; - num3 = 6; - List list112 = new List(num3); - CollectionsMarshal.SetCount(list112, num3); - Span span36 = CollectionsMarshal.AsSpan(list112); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj79.CompletionQuestVariablesFlags = list112; - reference85 = obj79; - ref QuestStep reference86 = ref span34[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 2013307u, new Vector3(23.025818f, -9.2317505f, 337.5448f), 958); - num3 = 6; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - Span span37 = CollectionsMarshal.AsSpan(list113); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list113; - reference86 = questStep7; - ref QuestStep reference87 = ref span34[2]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2013308u, new Vector3(75.33374f, -12.527649f, 339.40637f), 958); - num3 = 6; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - Span span38 = CollectionsMarshal.AsSpan(list114); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list114; - reference87 = questStep8; - ref QuestStep reference88 = ref span34[3]; - QuestStep obj80 = new QuestStep(EInteractionType.Combat, 2013051u, new Vector3(62.333008f, -10.635559f, 308.73572f), 958) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list115 = new List(num3); - CollectionsMarshal.SetCount(list115, num3); - CollectionsMarshal.AsSpan(list115)[0] = 16030u; - obj80.KillEnemyDataIds = list115; - num3 = 6; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - Span span39 = CollectionsMarshal.AsSpan(list116); - span39[0] = null; - span39[1] = null; - span39[2] = null; - span39[3] = null; - span39[4] = null; - span39[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj80.CompletionQuestVariablesFlags = list116; - reference88 = obj80; - obj78.Steps = list110; - reference84 = obj78; - ref QuestSequence reference89 = ref span33[3]; - QuestSequence obj81 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.CompleteQuest, 1044250u, new Vector3(23.23944f, 1.1781613f, 144.70117f), 958) - { - Fly = true - }; - obj81.Steps = list117; - reference89 = obj81; - questRoot13.QuestSequence = list107; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(4673); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - CollectionsMarshal.AsSpan(list118)[0] = "liza"; - questRoot14.Author = list118; - num = 4; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - Span span40 = CollectionsMarshal.AsSpan(list119); - ref QuestSequence reference90 = ref span40[0]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.AcceptQuest, 1044252u, new Vector3(510.1244f, -36.65f, -161.73041f), 958); - obj82.Steps = list120; - reference90 = obj82; - ref QuestSequence reference91 = ref span40[1]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1044257u, new Vector3(485.06897f, 10.800001f, -427.75616f), 958) - { - StopDistance = 5f, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj83.Steps = list121; - reference91 = obj83; - span40[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference92 = ref span40[3]; - QuestSequence obj84 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.CompleteQuest, 1044259u, new Vector3(528.9845f, -36.65f, -246.44855f), 958) - { - StopDistance = 5f - }; - obj84.Steps = list122; - reference92 = obj84; - questRoot14.QuestSequence = list119; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(4674); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - CollectionsMarshal.AsSpan(list123)[0] = "liza"; - questRoot15.Author = list123; - num = 6; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - Span span41 = CollectionsMarshal.AsSpan(list124); - ref QuestSequence reference93 = ref span41[0]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.AcceptQuest, 1044260u, new Vector3(527.9469f, -36.65f, -242.90839f), 958) - { - StopDistance = 5f - }; - obj85.Steps = list125; - reference93 = obj85; - ref QuestSequence reference94 = ref span41[1]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.Interact, 2013224u, new Vector3(529.7681f, -36.65f, -243.843f), 958) - { - StopDistance = 5f - }; - obj86.Steps = list126; - reference94 = obj86; - ref QuestSequence reference95 = ref span41[2]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.Interact, 1044263u, new Vector3(466.05627f, -18.123579f, 718.8982f), 958) - { - Fly = true - }; - obj87.Steps = list127; - reference95 = obj87; - ref QuestSequence reference96 = ref span41[3]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.Duty, null, null, 958) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 896u - } - }; - obj88.Steps = list128; - reference96 = obj88; - span41[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference97 = ref span41[5]; - QuestSequence obj89 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.CompleteQuest, 1044270u, new Vector3(-247.21143f, -173f, 131.88367f), 1119); - obj89.Steps = list129; - reference97 = obj89; - questRoot15.QuestSequence = list124; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(4675); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list130 = new List(num); - CollectionsMarshal.SetCount(list130, num); - CollectionsMarshal.AsSpan(list130)[0] = "liza"; - questRoot16.Author = list130; - num = 7; - List list131 = new List(num); - CollectionsMarshal.SetCount(list131, num); - Span span42 = CollectionsMarshal.AsSpan(list131); - ref QuestSequence reference98 = ref span42[0]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.AcceptQuest, 1044271u, new Vector3(-249.92749f, -173f, 126.35986f), 1119) - { - StopDistance = 7f - }; - obj90.Steps = list132; - reference98 = obj90; - ref QuestSequence reference99 = ref span42[1]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - Span span43 = CollectionsMarshal.AsSpan(list133); - span43[0] = new QuestStep(EInteractionType.Interact, 2013231u, new Vector3(-408.83502f, -117.81494f, 371.96924f), 1119) - { - TargetTerritoryId = (ushort)1119 - }; - span43[1] = new QuestStep(EInteractionType.Interact, 1044274u, new Vector3(351.15576f, 33.99946f, -381.5824f), 1119); - obj91.Steps = list133; - reference99 = obj91; - ref QuestSequence reference100 = ref span42[2]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.Interact, 2013232u, new Vector3(393.698f, 40.360107f, -273.0907f), 1119); - obj92.Steps = list134; - reference100 = obj92; - ref QuestSequence reference101 = ref span42[3]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - Span span44 = CollectionsMarshal.AsSpan(list135); - span44[0] = new QuestStep(EInteractionType.Interact, 2013230u, new Vector3(350.08765f, 34.86682f, -433.95135f), 1119) - { - TargetTerritoryId = (ushort)1119 - }; - span44[1] = new QuestStep(EInteractionType.Interact, 2013233u, new Vector3(-261.1582f, -165.36206f, 229.08362f), 1119); - obj93.Steps = list135; - reference101 = obj93; - ref QuestSequence reference102 = ref span42[4]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.Interact, 2013234u, new Vector3(40.57373f, 365.98767f, -585.41235f), 1119); - obj94.Steps = list136; - reference102 = obj94; - ref QuestSequence reference103 = ref span42[5]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.Interact, 2013235u, new Vector3(-2.4262085f, 374.6853f, -601.0071f), 1119); - obj95.Steps = list137; - reference103 = obj95; - ref QuestSequence reference104 = ref span42[6]; - QuestSequence obj96 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.CompleteQuest, 1044284u, new Vector3(464.34717f, -17.202883f, 705.0431f), 958) - { - StopDistance = 5f - }; - obj96.Steps = list138; - reference104 = obj96; - questRoot16.QuestSequence = list131; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(4676); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - CollectionsMarshal.AsSpan(list139)[0] = "liza"; - questRoot17.Author = list139; - num = 5; - List list140 = new List(num); - CollectionsMarshal.SetCount(list140, num); - Span span45 = CollectionsMarshal.AsSpan(list140); - ref QuestSequence reference105 = ref span45[0]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.AcceptQuest, 1044289u, new Vector3(465.81213f, -17.44166f, 707.3014f), 958) - { - StopDistance = 5f - }; - obj97.Steps = list141; - reference105 = obj97; - ref QuestSequence reference106 = ref span45[1]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.Interact, 2013239u, new Vector3(-347.40216f, 54.97815f, -64.89667f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanMeghaduta - } - }; - obj98.Steps = list142; - reference106 = obj98; - ref QuestSequence reference107 = ref span45[2]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - ref QuestStep reference108 = ref CollectionsMarshal.AsSpan(list143)[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1044290u, new Vector3(-212.63446f, 15.260341f, 460.34937f), 957); - num3 = 1; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - CollectionsMarshal.AsSpan(list144)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMJ107_04676_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKMJ107_04676_A1_000_002") - }; - questStep9.DialogueChoices = list144; - reference108 = questStep9; - obj99.Steps = list143; - reference107 = obj99; - ref QuestSequence reference109 = ref span45[3]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - Span span46 = CollectionsMarshal.AsSpan(list145); - ref QuestStep reference110 = ref span46[0]; - QuestStep obj101 = new QuestStep(EInteractionType.Interact, 1037648u, new Vector3(-562.005f, 9.817466f, -585.1987f), 957) - { - Fly = true - }; - num3 = 6; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - Span span47 = CollectionsMarshal.AsSpan(list146); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj101.CompletionQuestVariablesFlags = list146; - reference110 = obj101; - span46[1] = new QuestStep(EInteractionType.Interact, 1037647u, new Vector3(-588.83044f, 9.81748f, -590.08167f), 957); - obj100.Steps = list145; - reference109 = obj100; - ref QuestSequence reference111 = ref span45[4]; - QuestSequence obj102 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037646u, new Vector3(-568.99365f, 9.817484f, -569.8787f), 957); - obj102.Steps = list147; - reference111 = obj102; - questRoot17.QuestSequence = list140; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(4677); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list148 = new List(num); - CollectionsMarshal.SetCount(list148, num); - CollectionsMarshal.AsSpan(list148)[0] = "liza"; - questRoot18.Author = list148; - num = 7; - List list149 = new List(num); - CollectionsMarshal.SetCount(list149, num); - Span span48 = CollectionsMarshal.AsSpan(list149); - ref QuestSequence reference112 = ref span48[0]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - ref QuestStep reference113 = ref CollectionsMarshal.AsSpan(list150)[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.AcceptQuest, 1037646u, new Vector3(-568.99365f, 9.817484f, -569.8787f), 957); - num3 = 1; - List list151 = new List(num3); - CollectionsMarshal.SetCount(list151, num3); - CollectionsMarshal.AsSpan(list151)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMJ108_04677_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKMJ108_04677_A1_000_001") - }; - questStep10.DialogueChoices = list151; - reference113 = questStep10; - obj103.Steps = list150; - reference112 = obj103; - ref QuestSequence reference114 = ref span48[1]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.Interact, 1041091u, new Vector3(-89.89093f, 89.42026f, -616.14404f), 957) - { - Fly = true - }; - obj104.Steps = list152; - reference114 = obj104; - ref QuestSequence reference115 = ref span48[2]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - ref QuestStep reference116 = ref CollectionsMarshal.AsSpan(list153)[0]; - QuestStep obj106 = new QuestStep(EInteractionType.Interact, 1037697u, new Vector3(-73.74689f, 99.94384f, -715.44977f), 957) - { - Fly = true - }; - num3 = 1; - List list154 = new List(num3); - CollectionsMarshal.SetCount(list154, num3); - CollectionsMarshal.AsSpan(list154)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMJ108_04677_Q2_000_063") - }; - obj106.DialogueChoices = list154; - reference116 = obj106; - obj105.Steps = list153; - reference115 = obj105; - span48[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference117 = ref span48[4]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.Duty, null, null, 1125) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 886u - } - }; - obj107.Steps = list155; - reference117 = obj107; - span48[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference118 = ref span48[6]; - QuestSequence obj108 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.CompleteQuest, 1044291u, new Vector3(-40.024475f, 89.42017f, -636.86584f), 957) - { - StopDistance = 5f - }; - obj108.Steps = list156; - reference118 = obj108; - questRoot18.QuestSequence = list149; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(4678); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list157 = new List(num); - CollectionsMarshal.SetCount(list157, num); - CollectionsMarshal.AsSpan(list157)[0] = "liza"; - questRoot19.Author = list157; - num = 3; - List list158 = new List(num); - CollectionsMarshal.SetCount(list158, num); - Span span49 = CollectionsMarshal.AsSpan(list158); - ref QuestSequence reference119 = ref span49[0]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.AcceptQuest, 1044291u, new Vector3(-40.024475f, 89.42017f, -636.86584f), 957) - { - StopDistance = 5f - }; - obj109.Steps = list159; - reference119 = obj109; - ref QuestSequence reference120 = ref span49[1]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - ref QuestStep reference121 = ref CollectionsMarshal.AsSpan(list160)[0]; - QuestStep obj111 = new QuestStep(EInteractionType.Interact, 1039649u, new Vector3(-336.53772f, 55f, -69.47443f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanMeghaduta - } - }; - num3 = 1; - List list161 = new List(num3); - CollectionsMarshal.SetCount(list161, num3); - CollectionsMarshal.AsSpan(list161)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMJ109_04678_SYSTEM_000_021") - }; - obj111.DialogueChoices = list161; - reference121 = obj111; - obj110.Steps = list160; - reference120 = obj110; - ref QuestSequence reference122 = ref span49[2]; - QuestSequence obj112 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039645u, new Vector3(-338.33832f, 55f, -68.40625f), 963); - obj112.Steps = list162; - reference122 = obj112; - questRoot19.QuestSequence = list158; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(4681); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list163 = new List(num); - CollectionsMarshal.SetCount(list163, num); - CollectionsMarshal.AsSpan(list163)[0] = "liza"; - questRoot20.Author = list163; - num = 7; - List list164 = new List(num); - CollectionsMarshal.SetCount(list164, num); - Span span50 = CollectionsMarshal.AsSpan(list164); - ref QuestSequence reference123 = ref span50[0]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.AcceptQuest, 1044910u, new Vector3(23.75824f, 2.453333f, -12.680237f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj113.Steps = list165; - reference123 = obj113; - ref QuestSequence reference124 = ref span50[1]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.Interact, 1044911u, new Vector3(0.38146973f, -127.50014f, -457.14508f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - obj114.Steps = list166; - reference124 = obj114; - ref QuestSequence reference125 = ref span50[2]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - Span span51 = CollectionsMarshal.AsSpan(list167); - ref QuestStep reference126 = ref span51[0]; - QuestStep obj116 = new QuestStep(EInteractionType.Interact, 1044914u, new Vector3(-120.409f, -137.41672f, -526.63464f), 959) - { - Fly = true - }; - num3 = 6; - List list168 = new List(num3); - CollectionsMarshal.SetCount(list168, num3); - Span span52 = CollectionsMarshal.AsSpan(list168); - span52[0] = null; - span52[1] = null; - span52[2] = null; - span52[3] = null; - span52[4] = null; - span52[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj116.CompletionQuestVariablesFlags = list168; - reference126 = obj116; - ref QuestStep reference127 = ref span51[1]; - QuestStep obj117 = new QuestStep(EInteractionType.Interact, 1044913u, new Vector3(55.161255f, -129.40565f, -636.8048f), 959) - { - Fly = true - }; - num3 = 6; - List list169 = new List(num3); - CollectionsMarshal.SetCount(list169, num3); - Span span53 = CollectionsMarshal.AsSpan(list169); - span53[0] = null; - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj117.CompletionQuestVariablesFlags = list169; - reference127 = obj117; - ref QuestStep reference128 = ref span51[2]; - QuestStep obj118 = new QuestStep(EInteractionType.Interact, 1044912u, new Vector3(61.41748f, -137.4167f, -606.28674f), 959) - { - Fly = true - }; - num3 = 6; - List list170 = new List(num3); - CollectionsMarshal.SetCount(list170, num3); - Span span54 = CollectionsMarshal.AsSpan(list170); - span54[0] = null; - span54[1] = null; - span54[2] = null; - span54[3] = null; - span54[4] = null; - span54[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj118.CompletionQuestVariablesFlags = list170; - reference128 = obj118; - obj115.Steps = list167; - reference125 = obj115; - ref QuestSequence reference129 = ref span50[3]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.Interact, 1044911u, new Vector3(0.38146973f, -127.50014f, -457.14508f), 959) - { - Fly = true - }; - obj119.Steps = list171; - reference129 = obj119; - ref QuestSequence reference130 = ref span50[4]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.Interact, 1044919u, new Vector3(148.30237f, -49.589592f, -361.77618f), 959) - { - Fly = true - }; - obj120.Steps = list172; - reference130 = obj120; - ref QuestSequence reference131 = ref span50[5]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.Interact, 1044920u, new Vector3(-170.42804f, -49.399723f, -289.5705f), 959) - { - Fly = true - }; - obj121.Steps = list173; - reference131 = obj121; - ref QuestSequence reference132 = ref span50[6]; - QuestSequence obj122 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - Span span55 = CollectionsMarshal.AsSpan(list174); - span55[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38843u, - ItemCount = 3 - }; - span55[1] = new QuestStep(EInteractionType.CompleteQuest, 1044921u, new Vector3(-170.0008f, -49.34972f, -287.22064f), 959) - { - StopDistance = 5f - }; - obj122.Steps = list174; - reference132 = obj122; - questRoot20.QuestSequence = list164; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(4682); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list175 = new List(num); - CollectionsMarshal.SetCount(list175, num); - CollectionsMarshal.AsSpan(list175)[0] = "kaiser"; - questRoot21.Author = list175; - num = 5; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - Span span56 = CollectionsMarshal.AsSpan(list176); - ref QuestSequence reference133 = ref span56[0]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - Span span57 = CollectionsMarshal.AsSpan(list177); - span57[0] = new QuestStep(EInteractionType.None, null, new Vector3(-193.89642f, -49.19972f, -262.13477f), 959) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-193.89642f, -49.19972f, -262.13477f), - MaximumDistance = 100f, - TerritoryId = 959 - } - } - } - }; - span57[1] = new QuestStep(EInteractionType.AcceptQuest, 1044402u, new Vector3(-193.89642f, -49.19972f, -262.13477f), 959) - { - StopDistance = 5f, - Fly = true - }; - obj123.Steps = list177; - reference133 = obj123; - ref QuestSequence reference134 = ref span56[1]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.Interact, 1044924u, new Vector3(344.625f, -168.00002f, -403.89105f), 959) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj124.Steps = list178; - reference134 = obj124; - ref QuestSequence reference135 = ref span56[2]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - CollectionsMarshal.AsSpan(list179)[0] = new QuestStep(EInteractionType.Interact, 1044926u, new Vector3(500.96887f, -164.43474f, -698.3902f), 959) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj125.Steps = list179; - reference135 = obj125; - ref QuestSequence reference136 = ref span56[3]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.Interact, 1044928u, new Vector3(-172.74744f, -49.199722f, -250.8736f), 959) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj126.Steps = list180; - reference136 = obj126; - ref QuestSequence reference137 = ref span56[4]; - QuestSequence obj127 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - Span span58 = CollectionsMarshal.AsSpan(list181); - span58[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38845u, - ItemCount = 2 - }; - span58[1] = new QuestStep(EInteractionType.CompleteQuest, 1044928u, new Vector3(-172.74744f, -49.199722f, -250.8736f), 959) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj127.Steps = list181; - reference137 = obj127; - questRoot21.QuestSequence = list176; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(4683); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list182 = new List(num); - CollectionsMarshal.SetCount(list182, num); - CollectionsMarshal.AsSpan(list182)[0] = "liza"; - questRoot22.Author = list182; - num = 7; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - Span span59 = CollectionsMarshal.AsSpan(list183); - ref QuestSequence reference138 = ref span59[0]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - CollectionsMarshal.AsSpan(list184)[0] = new QuestStep(EInteractionType.AcceptQuest, 1044402u, new Vector3(-193.89642f, -49.19972f, -262.13477f), 959); - obj128.Steps = list184; - reference138 = obj128; - ref QuestSequence reference139 = ref span59[1]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.Interact, 1044932u, new Vector3(12.436096f, 3.2249978f, 3.829956f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan - }; - obj129.Steps = list185; - reference139 = obj129; - ref QuestSequence reference140 = ref span59[2]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - Span span60 = CollectionsMarshal.AsSpan(list186); - ref QuestStep reference141 = ref span60[0]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1044934u, new Vector3(75.12012f, 5.149998f, -44.724243f), 962); - num3 = 6; - List list187 = new List(num3); - CollectionsMarshal.SetCount(list187, num3); - Span span61 = CollectionsMarshal.AsSpan(list187); - span61[0] = null; - span61[1] = null; - span61[2] = null; - span61[3] = null; - span61[4] = null; - span61[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list187; - reference141 = questStep11; - ref QuestStep reference142 = ref span60[1]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1044933u, new Vector3(15.609924f, 2.3729992f, -72.19049f), 962); - num3 = 6; - List list188 = new List(num3); - CollectionsMarshal.SetCount(list188, num3); - Span span62 = CollectionsMarshal.AsSpan(list188); - span62[0] = null; - span62[1] = null; - span62[2] = null; - span62[3] = null; - span62[4] = null; - span62[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list188; - reference142 = questStep12; - ref QuestStep reference143 = ref span60[2]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1044935u, new Vector3(11.36792f, 41.37599f, -140.5509f), 962); - num3 = 6; - List list189 = new List(num3); - CollectionsMarshal.SetCount(list189, num3); - Span span63 = CollectionsMarshal.AsSpan(list189); - span63[0] = null; - span63[1] = null; - span63[2] = null; - span63[3] = null; - span63[4] = null; - span63[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list189; - reference143 = questStep13; - obj130.Steps = list186; - reference140 = obj130; - ref QuestSequence reference144 = ref span59[3]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.Interact, 1044936u, new Vector3(-328.99976f, 20.0375f, -113.359314f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanRostra, - To = EAetheryteLocation.OldSharlayanStudium - } - }; - obj131.Steps = list190; - reference144 = obj131; - ref QuestSequence reference145 = ref span59[4]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.Interact, 1037077u, new Vector3(-38.07129f, -14.169313f, 105.30249f), 962) - { - StopDistance = 7f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanStudium, - To = EAetheryteLocation.OldSharlayanScholarsHarbor - } - }; - obj132.Steps = list191; - reference145 = obj132; - ref QuestSequence reference146 = ref span59[5]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.Interact, 1044937u, new Vector3(-193.59125f, -49.199722f, -293.23267f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - obj133.Steps = list192; - reference146 = obj133; - ref QuestSequence reference147 = ref span59[6]; - QuestSequence obj134 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - Span span64 = CollectionsMarshal.AsSpan(list193); - span64[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38847u, - ItemCount = 2 - }; - span64[1] = new QuestStep(EInteractionType.CompleteQuest, 1044937u, new Vector3(-193.59125f, -49.199722f, -293.23267f), 959); - obj134.Steps = list193; - reference147 = obj134; - questRoot22.QuestSequence = list183; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(4684); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - CollectionsMarshal.AsSpan(list194)[0] = "AnimaMachinae"; - questRoot23.Author = list194; - num = 8; - List list195 = new List(num); - CollectionsMarshal.SetCount(list195, num); - Span span65 = CollectionsMarshal.AsSpan(list195); - ref QuestSequence reference148 = ref span65[0]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.AcceptQuest, 1044402u, new Vector3(-193.89642f, -49.19972f, -262.13477f), 959); - obj135.Steps = list196; - reference148 = obj135; - ref QuestSequence reference149 = ref span65[1]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.Interact, 2013281u, new Vector3(-330.19f, 105.1499f, 554.5586f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumSinusLacrimarum - }; - obj136.Steps = list197; - reference149 = obj136; - ref QuestSequence reference150 = ref span65[2]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - CollectionsMarshal.AsSpan(list198)[0] = new QuestStep(EInteractionType.Interact, 1044942u, new Vector3(-331.838f, 105.39431f, 551.2322f), 959); - obj137.Steps = list198; - reference150 = obj137; - ref QuestSequence reference151 = ref span65[3]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - CollectionsMarshal.AsSpan(list199)[0] = new QuestStep(EInteractionType.Interact, 1044931u, new Vector3(148.30237f, -49.589592f, -361.77618f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - obj138.Steps = list199; - reference151 = obj138; - ref QuestSequence reference152 = ref span65[4]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.Interact, 1044402u, new Vector3(-193.89642f, -49.19972f, -262.13477f), 959) - { - Fly = true - }; - obj139.Steps = list200; - reference152 = obj139; - ref QuestSequence reference153 = ref span65[5]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - Span span66 = CollectionsMarshal.AsSpan(list201); - ref QuestStep reference154 = ref span66[0]; - QuestStep obj141 = new QuestStep(EInteractionType.Interact, 1044944u, new Vector3(-463.55383f, -157.99237f, -513.3593f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - num3 = 6; - List list202 = new List(num3); - CollectionsMarshal.SetCount(list202, num3); - Span span67 = CollectionsMarshal.AsSpan(list202); - span67[0] = null; - span67[1] = null; - span67[2] = null; - span67[3] = null; - span67[4] = null; - span67[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj141.CompletionQuestVariablesFlags = list202; - reference154 = obj141; - ref QuestStep reference155 = ref span66[1]; - QuestStep obj142 = new QuestStep(EInteractionType.Interact, 1044945u, new Vector3(-540.1236f, -167.8502f, -620.63025f), 959) - { - Fly = true - }; - num3 = 6; - List list203 = new List(num3); - CollectionsMarshal.SetCount(list203, num3); - Span span68 = CollectionsMarshal.AsSpan(list203); - span68[0] = null; - span68[1] = null; - span68[2] = null; - span68[3] = null; - span68[4] = null; - span68[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj142.CompletionQuestVariablesFlags = list203; - reference155 = obj142; - span66[2] = new QuestStep(EInteractionType.Interact, 1044943u, new Vector3(-414.54187f, -158.1177f, -639.9481f), 959) - { - Fly = true - }; - obj140.Steps = list201; - reference153 = obj140; - ref QuestSequence reference156 = ref span65[6]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.Interact, 1044947u, new Vector3(-145.70844f, -49.19972f, -271.5343f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - obj143.Steps = list204; - reference156 = obj143; - ref QuestSequence reference157 = ref span65[7]; - QuestSequence obj144 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - Span span69 = CollectionsMarshal.AsSpan(list205); - span69[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38849u, - ItemCount = 1 - }; - span69[1] = new QuestStep(EInteractionType.CompleteQuest, 1044947u, new Vector3(-145.70844f, -49.19972f, -271.5343f), 959); - obj144.Steps = list205; - reference157 = obj144; - questRoot23.QuestSequence = list195; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(4685); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list206 = new List(num); - CollectionsMarshal.SetCount(list206, num); - CollectionsMarshal.AsSpan(list206)[0] = "kaiser"; - questRoot24.Author = list206; - num = 4; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - Span span70 = CollectionsMarshal.AsSpan(list207); - ref QuestSequence reference158 = ref span70[0]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - ref QuestStep reference159 = ref CollectionsMarshal.AsSpan(list208)[0]; - QuestStep obj146 = new QuestStep(EInteractionType.AcceptQuest, 1044402u, new Vector3(-193.89642f, -49.19972f, -262.13477f), 959) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition obj147 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list209 = new List(num3); - CollectionsMarshal.SetCount(list209, num3); - CollectionsMarshal.AsSpan(list209)[0] = 959; - obj147.InTerritory = list209; - skipConditions2.AetheryteShortcutIf = obj147; - obj146.SkipConditions = skipConditions2; - reference159 = obj146; - obj145.Steps = list208; - reference158 = obj145; - ref QuestSequence reference160 = ref span70[1]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - CollectionsMarshal.AsSpan(list210)[0] = new QuestStep(EInteractionType.Interact, 1044953u, new Vector3(-340.53564f, 104.34723f, 531.3954f), 959) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumSinusLacrimarum - }; - obj148.Steps = list210; - reference160 = obj148; - ref QuestSequence reference161 = ref span70[2]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - CollectionsMarshal.AsSpan(list211)[0] = new QuestStep(EInteractionType.Interact, 1044955u, new Vector3(-161.36414f, -49.19972f, -288.4718f), 959) - { - StopDistance = 5f - }; - obj149.Steps = list211; - reference161 = obj149; - ref QuestSequence reference162 = ref span70[3]; - QuestSequence obj150 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - Span span71 = CollectionsMarshal.AsSpan(list212); - span71[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38851u, - ItemCount = 1 - }; - span71[1] = new QuestStep(EInteractionType.CompleteQuest, 1044955u, new Vector3(-161.36414f, -49.19972f, -288.4718f), 959); - obj150.Steps = list212; - reference162 = obj150; - questRoot24.QuestSequence = list207; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(4686); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list213 = new List(num); - CollectionsMarshal.SetCount(list213, num); - CollectionsMarshal.AsSpan(list213)[0] = "pot0to"; - questRoot25.Author = list213; - num = 6; - List list214 = new List(num); - CollectionsMarshal.SetCount(list214, num); - Span span72 = CollectionsMarshal.AsSpan(list214); - ref QuestSequence reference163 = ref span72[0]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.AcceptQuest, 1044402u, new Vector3(-193.89642f, -49.19972f, -262.13477f), 959) - { - Fly = true, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj151.Steps = list215; - reference163 = obj151; - ref QuestSequence reference164 = ref span72[1]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - CollectionsMarshal.AsSpan(list216)[0] = new QuestStep(EInteractionType.Interact, 1044404u, new Vector3(-203.5401f, -48.949738f, -280.232f), 959); - obj152.Steps = list216; - reference164 = obj152; - ref QuestSequence reference165 = ref span72[2]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.Interact, 1044406u, new Vector3(-174.63953f, -49.149708f, -248.67633f), 959); - obj153.Steps = list217; - reference165 = obj153; - ref QuestSequence reference166 = ref span72[3]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - CollectionsMarshal.AsSpan(list218)[0] = new QuestStep(EInteractionType.Interact, 1044407u, new Vector3(-196.49048f, -48.874695f, -301.01477f), 959); - obj154.Steps = list218; - reference166 = obj154; - ref QuestSequence reference167 = ref span72[4]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - CollectionsMarshal.AsSpan(list219)[0] = new QuestStep(EInteractionType.Interact, 1044414u, new Vector3(-170.79425f, -48.89972f, -282.18512f), 959); - obj155.Steps = list219; - reference167 = obj155; - ref QuestSequence reference168 = ref span72[5]; - QuestSequence obj156 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.CompleteQuest, 1044402u, new Vector3(-193.89642f, -49.19972f, -262.13477f), 959); - obj156.Steps = list220; - reference168 = obj156; - questRoot25.QuestSequence = list214; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(4687); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list221 = new List(num); - CollectionsMarshal.SetCount(list221, num); - CollectionsMarshal.AsSpan(list221)[0] = "liza"; - questRoot26.Author = list221; - num = 3; - List list222 = new List(num); - CollectionsMarshal.SetCount(list222, num); - Span span73 = CollectionsMarshal.AsSpan(list222); - ref QuestSequence reference169 = ref span73[0]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - Span span74 = CollectionsMarshal.AsSpan(list223); - span74[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span74[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj157.Steps = list223; - reference169 = obj157; - ref QuestSequence reference170 = ref span73[1]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.Interact, 1044564u, new Vector3(456.13794f, -167.50003f, -759.02954f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - obj158.Steps = list224; - reference170 = obj158; - ref QuestSequence reference171 = ref span73[2]; - QuestSequence obj159 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - Span span75 = CollectionsMarshal.AsSpan(list225); - span75[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38853u, - ItemCount = 3 - }; - span75[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - span75[2] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj159.Steps = list225; - reference171 = obj159; - questRoot26.QuestSequence = list222; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(4688); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list226 = new List(num); - CollectionsMarshal.SetCount(list226, num); - CollectionsMarshal.AsSpan(list226)[0] = "liza"; - questRoot27.Author = list226; - num = 4; - List list227 = new List(num); - CollectionsMarshal.SetCount(list227, num); - Span span76 = CollectionsMarshal.AsSpan(list227); - ref QuestSequence reference172 = ref span76[0]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - Span span77 = CollectionsMarshal.AsSpan(list228); - span77[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span77[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj160.Steps = list228; - reference172 = obj160; - ref QuestSequence reference173 = ref span76[1]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.Interact, 1044565u, new Vector3(352.0714f, -161.16423f, -378.0423f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - obj161.Steps = list229; - reference173 = obj161; - ref QuestSequence reference174 = ref span76[2]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - Span span78 = CollectionsMarshal.AsSpan(list230); - span78[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38855u, - ItemCount = 2 - }; - span78[1] = new QuestStep(EInteractionType.Interact, 1044565u, new Vector3(352.0714f, -161.16423f, -378.0423f), 959); - obj162.Steps = list230; - reference174 = obj162; - ref QuestSequence reference175 = ref span76[3]; - QuestSequence obj163 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - Span span79 = CollectionsMarshal.AsSpan(list231); - span79[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - span79[1] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj163.Steps = list231; - reference175 = obj163; - questRoot27.QuestSequence = list227; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(4689); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list232 = new List(num); - CollectionsMarshal.SetCount(list232, num); - CollectionsMarshal.AsSpan(list232)[0] = "liza"; - questRoot28.Author = list232; - num = 3; - List list233 = new List(num); - CollectionsMarshal.SetCount(list233, num); - Span span80 = CollectionsMarshal.AsSpan(list233); - ref QuestSequence reference176 = ref span80[0]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - Span span81 = CollectionsMarshal.AsSpan(list234); - span81[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span81[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj164.Steps = list234; - reference176 = obj164; - ref QuestSequence reference177 = ref span80[1]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - Span span82 = CollectionsMarshal.AsSpan(list235); - span82[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-170.51479f, -105.22506f, -511.04712f), 959) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span82[1] = new QuestStep(EInteractionType.Interact, 1044572u, new Vector3(-638.056f, -143.79326f, -513.0846f), 959) - { - Fly = true - }; - obj165.Steps = list235; - reference177 = obj165; - ref QuestSequence reference178 = ref span80[2]; - QuestSequence obj166 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - Span span83 = CollectionsMarshal.AsSpan(list236); - span83[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38857u, - ItemCount = 4 - }; - span83[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true - }; - span83[2] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj166.Steps = list236; - reference178 = obj166; - questRoot28.QuestSequence = list233; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(4690); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list237 = new List(num); - CollectionsMarshal.SetCount(list237, num); - CollectionsMarshal.AsSpan(list237)[0] = "liza"; - questRoot29.Author = list237; - num = 5; - List list238 = new List(num); - CollectionsMarshal.SetCount(list238, num); - Span span84 = CollectionsMarshal.AsSpan(list238); - ref QuestSequence reference179 = ref span84[0]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - Span span85 = CollectionsMarshal.AsSpan(list239); - span85[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span85[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj167.Steps = list239; - reference179 = obj167; - ref QuestSequence reference180 = ref span84[1]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.Interact, 1044567u, new Vector3(-17.502136f, -47.192066f, -528.03845f), 959) - { - Fly = true - }; - obj168.Steps = list240; - reference180 = obj168; - ref QuestSequence reference181 = ref span84[2]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.Emote, 1044568u, new Vector3(-188.09796f, -49.14971f, -252.70471f), 959) - { - Fly = true, - Emote = EEmote.Dance - }; - obj169.Steps = list241; - reference181 = obj169; - ref QuestSequence reference182 = ref span84[3]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - CollectionsMarshal.AsSpan(list242)[0] = new QuestStep(EInteractionType.Emote, 1044568u, new Vector3(-188.09796f, -49.14971f, -252.70471f), 959) - { - Emote = EEmote.Dance - }; - obj170.Steps = list242; - reference182 = obj170; - ref QuestSequence reference183 = ref span84[4]; - QuestSequence obj171 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - Span span86 = CollectionsMarshal.AsSpan(list243); - span86[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span86[1] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj171.Steps = list243; - reference183 = obj171; - questRoot29.QuestSequence = list238; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(4691); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list244 = new List(num); - CollectionsMarshal.SetCount(list244, num); - CollectionsMarshal.AsSpan(list244)[0] = "liza"; - questRoot30.Author = list244; - num = 4; - List list245 = new List(num); - CollectionsMarshal.SetCount(list245, num); - Span span87 = CollectionsMarshal.AsSpan(list245); - ref QuestSequence reference184 = ref span87[0]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - Span span88 = CollectionsMarshal.AsSpan(list246); - span88[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span88[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj172.Steps = list246; - reference184 = obj172; - ref QuestSequence reference185 = ref span87[1]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.Interact, 1044573u, new Vector3(487.23572f, -163.52985f, -600.5188f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - obj173.Steps = list247; - reference185 = obj173; - ref QuestSequence reference186 = ref span87[2]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - Span span89 = CollectionsMarshal.AsSpan(list248); - span89[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38859u, - ItemCount = 3 - }; - span89[1] = new QuestStep(EInteractionType.Interact, 1044573u, new Vector3(487.23572f, -163.52985f, -600.5188f), 959); - obj174.Steps = list248; - reference186 = obj174; - ref QuestSequence reference187 = ref span87[3]; - QuestSequence obj175 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - Span span90 = CollectionsMarshal.AsSpan(list249); - span90[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - span90[1] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj175.Steps = list249; - reference187 = obj175; - questRoot30.QuestSequence = list245; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(4692); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list250 = new List(num); - CollectionsMarshal.SetCount(list250, num); - CollectionsMarshal.AsSpan(list250)[0] = "Kaiser"; - questRoot31.Author = list250; - num = 3; - List list251 = new List(num); - CollectionsMarshal.SetCount(list251, num); - Span span91 = CollectionsMarshal.AsSpan(list251); - ref QuestSequence reference188 = ref span91[0]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - Span span92 = CollectionsMarshal.AsSpan(list252); - span92[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span92[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj176.Steps = list252; - reference188 = obj176; - ref QuestSequence reference189 = ref span91[1]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - CollectionsMarshal.AsSpan(list253)[0] = new QuestStep(EInteractionType.Interact, 1044569u, new Vector3(-385.6718f, -151.67168f, -261.28027f), 959) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-385.6718f, -151.67168f, -261.28027f), - MaximumDistance = 30f, - TerritoryId = 959 - } - } - } - }; - obj177.Steps = list253; - reference189 = obj177; - ref QuestSequence reference190 = ref span91[2]; - QuestSequence obj178 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - Span span93 = CollectionsMarshal.AsSpan(list254); - span93[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38861u, - ItemCount = 2 - }; - span93[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-201.42024f, -49.149708f, -273.68756f), - MaximumDistance = 100f, - TerritoryId = 959 - } - } - } - }; - span93[2] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj178.Steps = list254; - reference190 = obj178; - questRoot31.QuestSequence = list251; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(4693); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list255 = new List(num); - CollectionsMarshal.SetCount(list255, num); - CollectionsMarshal.AsSpan(list255)[0] = "kaiser"; - questRoot32.Author = list255; - num = 3; - List list256 = new List(num); - CollectionsMarshal.SetCount(list256, num); - Span span94 = CollectionsMarshal.AsSpan(list256); - ref QuestSequence reference191 = ref span94[0]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - Span span95 = CollectionsMarshal.AsSpan(list257); - span95[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span95[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj179.Steps = list257; - reference191 = obj179; - ref QuestSequence reference192 = ref span94[1]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - CollectionsMarshal.AsSpan(list258)[0] = new QuestStep(EInteractionType.Interact, 1044412u, new Vector3(-181.56714f, -49.19972f, -304.76843f), 959) - { - StopDistance = 5f - }; - obj180.Steps = list258; - reference192 = obj180; - ref QuestSequence reference193 = ref span94[2]; - QuestSequence obj181 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - Span span96 = CollectionsMarshal.AsSpan(list259); - span96[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38863u, - ItemCount = 3 - }; - span96[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span96[2] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj181.Steps = list259; - reference193 = obj181; - questRoot32.QuestSequence = list256; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(4694); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list260 = new List(num); - CollectionsMarshal.SetCount(list260, num); - CollectionsMarshal.AsSpan(list260)[0] = "kaiser"; - questRoot33.Author = list260; - num = 4; - List list261 = new List(num); - CollectionsMarshal.SetCount(list261, num); - Span span97 = CollectionsMarshal.AsSpan(list261); - ref QuestSequence reference194 = ref span97[0]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - Span span98 = CollectionsMarshal.AsSpan(list262); - span98[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span98[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj182.Steps = list262; - reference194 = obj182; - ref QuestSequence reference195 = ref span97[1]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - CollectionsMarshal.AsSpan(list263)[0] = new QuestStep(EInteractionType.Interact, 1044408u, new Vector3(-164.08032f, -49.199722f, -250.75159f), 959) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj183.Steps = list263; - reference195 = obj183; - ref QuestSequence reference196 = ref span97[2]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - Span span99 = CollectionsMarshal.AsSpan(list264); - span99[0] = new QuestStep(EInteractionType.Action, 2013257u, new Vector3(-706.41644f, -140.39832f, -433.76825f), 959) - { - Fly = true, - Land = true, - Action = EAction.HopStep - }; - span99[1] = new QuestStep(EInteractionType.Action, 2013256u, new Vector3(-739.0097f, -139.72687f, -539.0555f), 959) - { - Fly = true, - Land = true, - Action = EAction.HopStep - }; - obj184.Steps = list264; - reference196 = obj184; - ref QuestSequence reference197 = ref span97[3]; - QuestSequence obj185 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-203.5401f, -48.949707f, -273.60956f), - MaximumDistance = 200f, - TerritoryId = 959 - } - } - } - }; - obj185.Steps = list265; - reference197 = obj185; - questRoot33.QuestSequence = list261; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(4695); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list266 = new List(num); - CollectionsMarshal.SetCount(list266, num); - CollectionsMarshal.AsSpan(list266)[0] = "liza"; - questRoot34.Author = list266; - num = 3; - List list267 = new List(num); - CollectionsMarshal.SetCount(list267, num); - Span span100 = CollectionsMarshal.AsSpan(list267); - ref QuestSequence reference198 = ref span100[0]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - Span span101 = CollectionsMarshal.AsSpan(list268); - span101[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span101[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj186.Steps = list268; - reference198 = obj186; - ref QuestSequence reference199 = ref span100[1]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - CollectionsMarshal.AsSpan(list269)[0] = new QuestStep(EInteractionType.Interact, 1044580u, new Vector3(323.84216f, -144.00002f, -539.086f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - obj187.Steps = list269; - reference199 = obj187; - ref QuestSequence reference200 = ref span100[2]; - QuestSequence obj188 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - Span span102 = CollectionsMarshal.AsSpan(list270); - span102[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38865u, - ItemCount = 3 - }; - span102[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - span102[2] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj188.Steps = list270; - reference200 = obj188; - questRoot34.QuestSequence = list267; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(4696); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list271 = new List(num); - CollectionsMarshal.SetCount(list271, num); - CollectionsMarshal.AsSpan(list271)[0] = "liza"; - questRoot35.Author = list271; - num = 4; - List list272 = new List(num); - CollectionsMarshal.SetCount(list272, num); - Span span103 = CollectionsMarshal.AsSpan(list272); - ref QuestSequence reference201 = ref span103[0]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - Span span104 = CollectionsMarshal.AsSpan(list273); - span104[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span104[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj189.Steps = list273; - reference201 = obj189; - ref QuestSequence reference202 = ref span103[1]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - CollectionsMarshal.AsSpan(list274)[0] = new QuestStep(EInteractionType.Interact, 1044412u, new Vector3(-181.56714f, -49.19972f, -304.76843f), 959); - obj190.Steps = list274; - reference202 = obj190; - ref QuestSequence reference203 = ref span103[2]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - Span span105 = CollectionsMarshal.AsSpan(list275); - span105[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38867u, - ItemCount = 1 - }; - span105[1] = new QuestStep(EInteractionType.Interact, 1044581u, new Vector3(-691.37103f, -152.75392f, -706.9963f), 959) - { - Fly = true - }; - obj191.Steps = list275; - reference203 = obj191; - ref QuestSequence reference204 = ref span103[3]; - QuestSequence obj192 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - Span span106 = CollectionsMarshal.AsSpan(list276); - span106[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - span106[1] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj192.Steps = list276; - reference204 = obj192; - questRoot35.QuestSequence = list272; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(4697); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list277 = new List(num); - CollectionsMarshal.SetCount(list277, num); - CollectionsMarshal.AsSpan(list277)[0] = "liza"; - questRoot36.Author = list277; - num = 3; - List list278 = new List(num); - CollectionsMarshal.SetCount(list278, num); - Span span107 = CollectionsMarshal.AsSpan(list278); - ref QuestSequence reference205 = ref span107[0]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - Span span108 = CollectionsMarshal.AsSpan(list279); - span108[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span108[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj193.Steps = list279; - reference205 = obj193; - ref QuestSequence reference206 = ref span107[1]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - Span span109 = CollectionsMarshal.AsSpan(list280); - ref QuestStep reference207 = ref span109[0]; - QuestStep obj195 = new QuestStep(EInteractionType.Interact, 2013259u, new Vector3(725.03235f, 150.92688f, 134.96594f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumSinusLacrimarum - }; - num3 = 6; - List> list281 = new List>(num3); - CollectionsMarshal.SetCount(list281, num3); - Span> span110 = CollectionsMarshal.AsSpan(list281); - span110[0] = null; - span110[1] = null; - ref List reference208 = ref span110[2]; - int num4 = 1; - List list282 = new List(num4); - CollectionsMarshal.SetCount(list282, num4); - CollectionsMarshal.AsSpan(list282)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference208 = list282; - span110[3] = null; - span110[4] = null; - span110[5] = null; - obj195.RequiredQuestVariables = list281; - reference207 = obj195; - ref QuestStep reference209 = ref span109[1]; - QuestStep obj196 = new QuestStep(EInteractionType.Interact, 2013260u, new Vector3(725.063f, 141.37488f, 233.02039f), 959) - { - Fly = true - }; - num3 = 6; - List> list283 = new List>(num3); - CollectionsMarshal.SetCount(list283, num3); - Span> span111 = CollectionsMarshal.AsSpan(list283); - span111[0] = null; - span111[1] = null; - ref List reference210 = ref span111[2]; - num4 = 1; - List list284 = new List(num4); - CollectionsMarshal.SetCount(list284, num4); - CollectionsMarshal.AsSpan(list284)[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference210 = list284; - span111[3] = null; - span111[4] = null; - span111[5] = null; - obj196.RequiredQuestVariables = list283; - reference209 = obj196; - obj194.Steps = list280; - reference206 = obj194; - ref QuestSequence reference211 = ref span107[2]; - QuestSequence obj197 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - Span span112 = CollectionsMarshal.AsSpan(list285); - span112[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - span112[1] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj197.Steps = list285; - reference211 = obj197; - questRoot36.QuestSequence = list278; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(4698); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list286 = new List(num); - CollectionsMarshal.SetCount(list286, num); - CollectionsMarshal.AsSpan(list286)[0] = "liza"; - questRoot37.Author = list286; - num = 3; - List list287 = new List(num); - CollectionsMarshal.SetCount(list287, num); - Span span113 = CollectionsMarshal.AsSpan(list287); - ref QuestSequence reference212 = ref span113[0]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - Span span114 = CollectionsMarshal.AsSpan(list288); - span114[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span114[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj198.Steps = list288; - reference212 = obj198; - ref QuestSequence reference213 = ref span113[1]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.Interact, 1044583u, new Vector3(-52.018066f, -137.4167f, -622.4613f), 959) - { - Fly = true - }; - obj199.Steps = list289; - reference213 = obj199; - ref QuestSequence reference214 = ref span113[2]; - QuestSequence obj200 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - Span span115 = CollectionsMarshal.AsSpan(list290); - span115[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38869u, - ItemCount = 4 - }; - span115[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true - }; - span115[2] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj200.Steps = list290; - reference214 = obj200; - questRoot37.QuestSequence = list287; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(4699); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list291 = new List(num); - CollectionsMarshal.SetCount(list291, num); - CollectionsMarshal.AsSpan(list291)[0] = "pot0to"; - questRoot38.Author = list291; - num = 4; - List list292 = new List(num); - CollectionsMarshal.SetCount(list292, num); - Span span116 = CollectionsMarshal.AsSpan(list292); - ref QuestSequence reference215 = ref span116[0]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - Span span117 = CollectionsMarshal.AsSpan(list293); - span117[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true - }; - span117[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj201.Steps = list293; - reference215 = obj201; - ref QuestSequence reference216 = ref span116[1]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - CollectionsMarshal.AsSpan(list294)[0] = new QuestStep(EInteractionType.Interact, 1044412u, new Vector3(-181.56714f, -49.19972f, -304.76843f), 959); - obj202.Steps = list294; - reference216 = obj202; - ref QuestSequence reference217 = ref span116[2]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - Span span118 = CollectionsMarshal.AsSpan(list295); - span118[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38871u, - ItemCount = 1 - }; - span118[1] = new QuestStep(EInteractionType.Interact, 1044584u, new Vector3(563.8971f, -167.50002f, -594.53723f), 959) - { - Fly = true - }; - obj203.Steps = list295; - reference217 = obj203; - ref QuestSequence reference218 = ref span116[3]; - QuestSequence obj204 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - Span span119 = CollectionsMarshal.AsSpan(list296); - span119[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true - }; - span119[1] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj204.Steps = list296; - reference218 = obj204; - questRoot38.QuestSequence = list292; - AddQuest(questId38, questRoot38); - } - - private static void LoadQuests94() - { - QuestId questId = new QuestId(4700); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 5; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 2; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span2 = CollectionsMarshal.AsSpan(list3); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span2[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1045113u, new Vector3(-315.66345f, -144f, -492.0272f), 959) - { - Fly = true - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Say, 1044585u, new Vector3(-496.14713f, -154.93994f, -484.88593f), 959) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANLOP114_04700_SAYTODO_000_050" - } - }; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Interact, 1045113u, new Vector3(-315.66345f, -144f, -492.0272f), 959) - { - Fly = true - }; - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - Span span3 = CollectionsMarshal.AsSpan(list7); - span3[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true - }; - span3[1] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj5.Steps = list7; - reference5 = obj5; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(4701); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - CollectionsMarshal.AsSpan(list8)[0] = "liza"; - questRoot2.Author = list8; - num = 3; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - Span span4 = CollectionsMarshal.AsSpan(list9); - ref QuestSequence reference6 = ref span4[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span5 = CollectionsMarshal.AsSpan(list10); - span5[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span5[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span4[1]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.Interact, 1044412u, new Vector3(-181.56714f, -49.19972f, -304.76843f), 959); - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span4[2]; - QuestSequence obj8 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - Span span6 = CollectionsMarshal.AsSpan(list12); - span6[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38873u, - ItemCount = 3 - }; - span6[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span6[2] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj8.Steps = list12; - reference8 = obj8; - questRoot2.QuestSequence = list9; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(4702); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = "liza"; - questRoot3.Author = list13; - num = 4; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - Span span7 = CollectionsMarshal.AsSpan(list14); - ref QuestSequence reference9 = ref span7[0]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - Span span8 = CollectionsMarshal.AsSpan(list15); - span8[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span8[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj9.Steps = list15; - reference9 = obj9; - ref QuestSequence reference10 = ref span7[1]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.Interact, 1044586u, new Vector3(-524.19324f, -158.8955f, -521.17194f), 959) - { - StopDistance = 0.5f, - Fly = true - }; - obj10.Steps = list16; - reference10 = obj10; - ref QuestSequence reference11 = ref span7[2]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - Span span9 = CollectionsMarshal.AsSpan(list17); - span9[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38875u, - ItemCount = 1 - }; - span9[1] = new QuestStep(EInteractionType.Interact, 1044586u, new Vector3(-524.19324f, -158.8955f, -521.17194f), 959); - obj11.Steps = list17; - reference11 = obj11; - ref QuestSequence reference12 = ref span7[3]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - Span span10 = CollectionsMarshal.AsSpan(list18); - span10[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - span10[1] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj12.Steps = list18; - reference12 = obj12; - questRoot3.QuestSequence = list14; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(4703); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - CollectionsMarshal.AsSpan(list19)[0] = "liza"; - questRoot4.Author = list19; - num = 4; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - Span span11 = CollectionsMarshal.AsSpan(list20); - ref QuestSequence reference13 = ref span11[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - Span span12 = CollectionsMarshal.AsSpan(list21); - span12[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span12[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj13.Steps = list21; - reference13 = obj13; - ref QuestSequence reference14 = ref span11[1]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.Interact, 1044587u, new Vector3(354.02454f, 91.97786f, 509.14783f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumSinusLacrimarum - }; - obj14.Steps = list22; - reference14 = obj14; - ref QuestSequence reference15 = ref span11[2]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - Span span13 = CollectionsMarshal.AsSpan(list23); - span13[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38877u, - ItemCount = 2 - }; - span13[1] = new QuestStep(EInteractionType.Interact, 1044587u, new Vector3(354.02454f, 91.97786f, 509.14783f), 959); - obj15.Steps = list23; - reference15 = obj15; - ref QuestSequence reference16 = ref span11[3]; - QuestSequence obj16 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - Span span14 = CollectionsMarshal.AsSpan(list24); - span14[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - span14[1] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj16.Steps = list24; - reference16 = obj16; - questRoot4.QuestSequence = list20; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(4704); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - CollectionsMarshal.AsSpan(list25)[0] = "liza"; - questRoot5.Author = list25; - num = 4; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - Span span15 = CollectionsMarshal.AsSpan(list26); - ref QuestSequence reference17 = ref span15[0]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - Span span16 = CollectionsMarshal.AsSpan(list27); - span16[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span16[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj17.Steps = list27; - reference17 = obj17; - ref QuestSequence reference18 = ref span15[1]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.Interact, 1044412u, new Vector3(-181.56714f, -49.19972f, -304.76843f), 959); - obj18.Steps = list28; - reference18 = obj18; - ref QuestSequence reference19 = ref span15[2]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - Span span17 = CollectionsMarshal.AsSpan(list29); - ref QuestStep reference20 = ref span17[0]; - QuestStep obj20 = new QuestStep(EInteractionType.Interact, 1044590u, new Vector3(-536.9497f, -157.99246f, -693.75146f), 959) - { - StopDistance = 1f, - Fly = true - }; - int num3 = 6; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - Span span18 = CollectionsMarshal.AsSpan(list30); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj20.CompletionQuestVariablesFlags = list30; - reference20 = obj20; - ref QuestStep reference21 = ref span17[1]; - QuestStep obj21 = new QuestStep(EInteractionType.Interact, 1044591u, new Vector3(-502.58643f, -161.38867f, -773.251f), 959) - { - Fly = true - }; - num3 = 6; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - Span span19 = CollectionsMarshal.AsSpan(list31); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj21.CompletionQuestVariablesFlags = list31; - reference21 = obj21; - ref QuestStep reference22 = ref span17[2]; - QuestStep obj22 = new QuestStep(EInteractionType.Interact, 1044589u, new Vector3(-433.03577f, -167.50002f, -741.7258f), 959) - { - Fly = true - }; - num3 = 6; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - Span span20 = CollectionsMarshal.AsSpan(list32); - span20[0] = null; - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj22.CompletionQuestVariablesFlags = list32; - reference22 = obj22; - obj19.Steps = list29; - reference19 = obj19; - ref QuestSequence reference23 = ref span15[3]; - QuestSequence obj23 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - Span span21 = CollectionsMarshal.AsSpan(list33); - span21[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - span21[1] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj23.Steps = list33; - reference23 = obj23; - questRoot5.QuestSequence = list26; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(4705); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - CollectionsMarshal.AsSpan(list34)[0] = "liza"; - questRoot6.Author = list34; - num = 3; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - Span span22 = CollectionsMarshal.AsSpan(list35); - ref QuestSequence reference24 = ref span22[0]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - Span span23 = CollectionsMarshal.AsSpan(list36); - span23[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span23[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj24.Steps = list36; - reference24 = obj24; - ref QuestSequence reference25 = ref span22[1]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.Interact, 1044592u, new Vector3(-493.40048f, -158.89024f, -384.29846f), 959) - { - Fly = true - }; - obj25.Steps = list37; - reference25 = obj25; - ref QuestSequence reference26 = ref span22[2]; - QuestSequence obj26 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - Span span24 = CollectionsMarshal.AsSpan(list38); - span24[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38879u, - ItemCount = 2 - }; - span24[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - span24[2] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj26.Steps = list38; - reference26 = obj26; - questRoot6.QuestSequence = list35; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(4706); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - CollectionsMarshal.AsSpan(list39)[0] = "liza"; - questRoot7.Author = list39; - num = 4; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - Span span25 = CollectionsMarshal.AsSpan(list40); - ref QuestSequence reference27 = ref span25[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - Span span26 = CollectionsMarshal.AsSpan(list41); - span26[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span26[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj27.Steps = list41; - reference27 = obj27; - ref QuestSequence reference28 = ref span25[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.Interact, 1044412u, new Vector3(-181.56714f, -49.19972f, -304.76843f), 959); - obj28.Steps = list42; - reference28 = obj28; - ref QuestSequence reference29 = ref span25[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - Span span27 = CollectionsMarshal.AsSpan(list43); - span27[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38881u, - ItemCount = 1 - }; - span27[1] = new QuestStep(EInteractionType.Interact, 1044602u, new Vector3(463.0349f, -167.81126f, -490.13504f), 959) - { - Fly = true - }; - obj29.Steps = list43; - reference29 = obj29; - ref QuestSequence reference30 = ref span25[3]; - QuestSequence obj30 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - Span span28 = CollectionsMarshal.AsSpan(list44); - span28[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - span28[1] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj30.Steps = list44; - reference30 = obj30; - questRoot7.QuestSequence = list40; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(4707); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - CollectionsMarshal.AsSpan(list45)[0] = "liza"; - questRoot8.Author = list45; - num = 4; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - Span span29 = CollectionsMarshal.AsSpan(list46); - ref QuestSequence reference31 = ref span29[0]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - Span span30 = CollectionsMarshal.AsSpan(list47); - span30[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span30[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj31.Steps = list47; - reference31 = obj31; - ref QuestSequence reference32 = ref span29[1]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.Interact, 1044408u, new Vector3(-164.08032f, -49.199722f, -250.75159f), 959); - obj32.Steps = list48; - reference32 = obj32; - ref QuestSequence reference33 = ref span29[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - Span span31 = CollectionsMarshal.AsSpan(list49); - ref QuestStep reference34 = ref span31[0]; - QuestStep obj34 = new QuestStep(EInteractionType.Action, 2013262u, new Vector3(34.98889f, -47.56244f, -531.5481f), 959) - { - Fly = true, - Land = true, - Action = EAction.HopStep - }; - num3 = 6; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - Span span32 = CollectionsMarshal.AsSpan(list50); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj34.CompletionQuestVariablesFlags = list50; - reference34 = obj34; - ref QuestStep reference35 = ref span31[1]; - QuestStep obj35 = new QuestStep(EInteractionType.Action, 2013263u, new Vector3(49.79016f, -133.07397f, -558.9227f), 959) - { - Fly = true, - Land = true, - Action = EAction.HopStep - }; - num3 = 6; - List list51 = new List(num3); - CollectionsMarshal.SetCount(list51, num3); - Span span33 = CollectionsMarshal.AsSpan(list51); - span33[0] = null; - span33[1] = null; - span33[2] = null; - span33[3] = null; - span33[4] = null; - span33[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj35.CompletionQuestVariablesFlags = list51; - reference35 = obj35; - ref QuestStep reference36 = ref span31[2]; - QuestStep obj36 = new QuestStep(EInteractionType.Action, 2013261u, new Vector3(-34.28705f, -129.2287f, -495.71985f), 959) - { - Fly = true, - Land = true, - Action = EAction.HopStep - }; - num3 = 6; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - Span span34 = CollectionsMarshal.AsSpan(list52); - span34[0] = null; - span34[1] = null; - span34[2] = null; - span34[3] = null; - span34[4] = null; - span34[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj36.CompletionQuestVariablesFlags = list52; - reference36 = obj36; - obj33.Steps = list49; - reference33 = obj33; - ref QuestSequence reference37 = ref span29[3]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - Span span35 = CollectionsMarshal.AsSpan(list53); - span35[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true - }; - span35[1] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959) - { - Mount = false - }; - obj37.Steps = list53; - reference37 = obj37; - questRoot8.QuestSequence = list46; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(4708); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - CollectionsMarshal.AsSpan(list54)[0] = "liza"; - questRoot9.Author = list54; - num = 4; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - Span span36 = CollectionsMarshal.AsSpan(list55); - ref QuestSequence reference38 = ref span36[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - Span span37 = CollectionsMarshal.AsSpan(list56); - span37[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span37[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj38.Steps = list56; - reference38 = obj38; - ref QuestSequence reference39 = ref span36[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.Interact, 1044608u, new Vector3(227.19153f, 93.66165f, -35.385742f), 959) - { - StopDistance = 1f, - Fly = true - }; - obj39.Steps = list57; - reference39 = obj39; - ref QuestSequence reference40 = ref span36[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - Span span38 = CollectionsMarshal.AsSpan(list58); - span38[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38883u, - ItemCount = 3 - }; - span38[1] = new QuestStep(EInteractionType.Interact, 1044608u, new Vector3(227.19153f, 93.66165f, -35.385742f), 959); - obj40.Steps = list58; - reference40 = obj40; - ref QuestSequence reference41 = ref span36[3]; - QuestSequence obj41 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - Span span39 = CollectionsMarshal.AsSpan(list59); - span39[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - span39[1] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj41.Steps = list59; - reference41 = obj41; - questRoot9.QuestSequence = list55; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(4709); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - CollectionsMarshal.AsSpan(list60)[0] = "liza"; - questRoot10.Author = list60; - num = 3; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - Span span40 = CollectionsMarshal.AsSpan(list61); - ref QuestSequence reference42 = ref span40[0]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - Span span41 = CollectionsMarshal.AsSpan(list62); - span41[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span41[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj42.Steps = list62; - reference42 = obj42; - ref QuestSequence reference43 = ref span40[1]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - Span span42 = CollectionsMarshal.AsSpan(list63); - ref QuestStep reference44 = ref span42[0]; - QuestStep obj44 = new QuestStep(EInteractionType.Interact, 2013264u, new Vector3(47.01306f, -132.86035f, -504.08182f), 959) - { - Fly = true - }; - num3 = 6; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - Span span43 = CollectionsMarshal.AsSpan(list64); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj44.CompletionQuestVariablesFlags = list64; - reference44 = obj44; - ref QuestStep reference45 = ref span42[1]; - QuestStep obj45 = new QuestStep(EInteractionType.Interact, 2013266u, new Vector3(64.65234f, -132.61621f, -451.133f), 959) - { - Fly = true - }; - num3 = 6; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - Span span44 = CollectionsMarshal.AsSpan(list65); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj45.CompletionQuestVariablesFlags = list65; - reference45 = obj45; - ref QuestStep reference46 = ref span42[2]; - QuestStep obj46 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(17.153883f, -132.7894f, -444.4903f), 959) - { - Fly = true - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - Span span45 = CollectionsMarshal.AsSpan(list66); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list66; - skipConditions.StepIf = skipStepConditions; - obj46.SkipConditions = skipConditions; - reference46 = obj46; - ref QuestStep reference47 = ref span42[3]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2013265u, new Vector3(15.060608f, -131.27338f, -444.0528f), 959); - num3 = 6; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - Span span46 = CollectionsMarshal.AsSpan(list67); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list67; - reference47 = questStep; - obj43.Steps = list63; - reference43 = obj43; - ref QuestSequence reference48 = ref span40[2]; - QuestSequence obj47 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - Span span47 = CollectionsMarshal.AsSpan(list68); - span47[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true - }; - span47[1] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj47.Steps = list68; - reference48 = obj47; - questRoot10.QuestSequence = list61; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(4710); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - CollectionsMarshal.AsSpan(list69)[0] = "liza"; - questRoot11.Author = list69; - num = 3; - List list70 = new List(num); - CollectionsMarshal.SetCount(list70, num); - Span span48 = CollectionsMarshal.AsSpan(list70); - ref QuestSequence reference49 = ref span48[0]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - Span span49 = CollectionsMarshal.AsSpan(list71); - span49[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span49[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj48.Steps = list71; - reference49 = obj48; - ref QuestSequence reference50 = ref span48[1]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.Interact, 1044610u, new Vector3(588.281f, -161.13907f, -761.0742f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - obj49.Steps = list72; - reference50 = obj49; - ref QuestSequence reference51 = ref span48[2]; - QuestSequence obj50 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - Span span50 = CollectionsMarshal.AsSpan(list73); - span50[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38885u, - ItemCount = 1 - }; - span50[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - span50[2] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj50.Steps = list73; - reference51 = obj50; - questRoot11.QuestSequence = list70; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(4711); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - CollectionsMarshal.AsSpan(list74)[0] = "liza"; - questRoot12.Author = list74; - num = 3; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - Span span51 = CollectionsMarshal.AsSpan(list75); - ref QuestSequence reference52 = ref span51[0]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - Span span52 = CollectionsMarshal.AsSpan(list76); - span52[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span52[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj51.Steps = list76; - reference52 = obj51; - ref QuestSequence reference53 = ref span51[1]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - ref QuestStep reference54 = ref CollectionsMarshal.AsSpan(list77)[0]; - QuestStep obj53 = new QuestStep(EInteractionType.Interact, 1044613u, new Vector3(493.55298f, -163.52985f, -711.54346f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - num3 = 1; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - CollectionsMarshal.AsSpan(list78)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANLOP125_04711_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANLOP125_04711_A3_000_003") - }; - obj53.DialogueChoices = list78; - reference54 = obj53; - obj52.Steps = list77; - reference53 = obj52; - ref QuestSequence reference55 = ref span51[2]; - QuestSequence obj54 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - Span span53 = CollectionsMarshal.AsSpan(list79); - span53[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - span53[1] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj54.Steps = list79; - reference55 = obj54; - questRoot12.QuestSequence = list75; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(4712); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - CollectionsMarshal.AsSpan(list80)[0] = "liza"; - questRoot13.Author = list80; - num = 4; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - Span span54 = CollectionsMarshal.AsSpan(list81); - ref QuestSequence reference56 = ref span54[0]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - Span span55 = CollectionsMarshal.AsSpan(list82); - span55[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span55[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj55.Steps = list82; - reference56 = obj55; - ref QuestSequence reference57 = ref span54[1]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.Interact, 1044615u, new Vector3(-84.7334f, -49.589592f, -351.73578f), 959) - { - Fly = true - }; - obj56.Steps = list83; - reference57 = obj56; - ref QuestSequence reference58 = ref span54[2]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - Span span56 = CollectionsMarshal.AsSpan(list84); - span56[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38887u, - ItemCount = 3 - }; - span56[1] = new QuestStep(EInteractionType.Interact, 1044615u, new Vector3(-84.7334f, -49.589592f, -351.73578f), 959); - obj57.Steps = list84; - reference58 = obj57; - ref QuestSequence reference59 = ref span54[3]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - Span span57 = CollectionsMarshal.AsSpan(list85); - span57[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true - }; - span57[1] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj58.Steps = list85; - reference59 = obj58; - questRoot13.QuestSequence = list81; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(4713); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - CollectionsMarshal.AsSpan(list86)[0] = "liza"; - questRoot14.Author = list86; - num = 3; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - Span span58 = CollectionsMarshal.AsSpan(list87); - ref QuestSequence reference60 = ref span58[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - Span span59 = CollectionsMarshal.AsSpan(list88); - span59[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span59[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj59.Steps = list88; - reference60 = obj59; - ref QuestSequence reference61 = ref span58[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Interact, 1044616u, new Vector3(-630.67065f, -140.39087f, -789.79175f), 959) - { - StopDistance = 0.5f, - Fly = true - }; - obj60.Steps = list89; - reference61 = obj60; - ref QuestSequence reference62 = ref span58[2]; - QuestSequence obj61 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - Span span60 = CollectionsMarshal.AsSpan(list90); - span60[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 38889u, - ItemCount = 1 - }; - span60[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - span60[2] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj61.Steps = list90; - reference62 = obj61; - questRoot14.QuestSequence = list87; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(4714); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - CollectionsMarshal.AsSpan(list91)[0] = "pot0to"; - questRoot15.Author = list91; - num = 5; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - Span span61 = CollectionsMarshal.AsSpan(list92); - ref QuestSequence reference63 = ref span61[0]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - Span span62 = CollectionsMarshal.AsSpan(list93); - span62[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959); - span62[1] = new QuestStep(EInteractionType.AcceptQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj62.Steps = list93; - reference63 = obj62; - ref QuestSequence reference64 = ref span61[1]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Interact, 1044571u, new Vector3(20.09607f, 64.97662f, 43.411865f), 959) - { - Fly = true - }; - obj63.Steps = list94; - reference64 = obj63; - ref QuestSequence reference65 = ref span61[2]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.UseItem, 1044571u, new Vector3(20.09607f, 64.97662f, 43.411865f), 959) - { - ItemId = 2003449u, - GroundTarget = true - }; - obj64.Steps = list95; - reference65 = obj64; - ref QuestSequence reference66 = ref span61[3]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.UseItem, 1044571u, new Vector3(20.09607f, 64.97662f, 43.411865f), 959) - { - ItemId = 2003449u, - GroundTarget = true - }; - obj65.Steps = list96; - reference66 = obj65; - ref QuestSequence reference67 = ref span61[4]; - QuestSequence obj66 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - Span span63 = CollectionsMarshal.AsSpan(list97); - span63[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-201.42024f, -49.149708f, -273.68756f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - span63[1] = new QuestStep(EInteractionType.CompleteQuest, 1044403u, new Vector3(-203.5401f, -48.949707f, -273.60956f), 959); - obj66.Steps = list97; - reference67 = obj66; - questRoot15.QuestSequence = list92; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(4715); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - CollectionsMarshal.AsSpan(list98)[0] = "liza"; - questRoot16.Author = list98; - num = 3; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - Span span64 = CollectionsMarshal.AsSpan(list99); - ref QuestSequence reference68 = ref span64[0]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.AcceptQuest, 1044553u, new Vector3(-96.910095f, 3.1843073f, 6.8207397f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj67.Steps = list100; - reference68 = obj67; - ref QuestSequence reference69 = ref span64[1]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.Interact, 1044554u, new Vector3(-241.68768f, 51.058994f, 620.8744f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran - }; - obj68.Steps = list101; - reference69 = obj68; - ref QuestSequence reference70 = ref span64[2]; - QuestSequence obj69 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.CompleteQuest, 1044558u, new Vector3(-241.68768f, 51.058994f, 620.8744f), 816); - obj69.Steps = list102; - reference70 = obj69; - questRoot16.QuestSequence = list99; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(4716); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - CollectionsMarshal.AsSpan(list103)[0] = "liza"; - questRoot17.Author = list103; - num = 4; - List list104 = new List(num); - CollectionsMarshal.SetCount(list104, num); - Span span65 = CollectionsMarshal.AsSpan(list104); - ref QuestSequence reference71 = ref span65[0]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - ref QuestStep reference72 = ref CollectionsMarshal.AsSpan(list105)[0]; - QuestStep obj71 = new QuestStep(EInteractionType.AcceptQuest, 1044547u, new Vector3(-241.68768f, 51.058994f, 620.8744f), 816) - { - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - CollectionsMarshal.AsSpan(list106)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_SUBCTS681_04716_Q1_000_003"), - Answer = new ExcelRef("TEXT_SUBCTS681_04716_A1_000_001") - }; - obj71.DialogueChoices = list106; - reference72 = obj71; - obj70.Steps = list105; - reference71 = obj70; - ref QuestSequence reference73 = ref span65[1]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.Interact, 1044560u, new Vector3(-241.68768f, 51.058994f, 620.8744f), 816); - obj72.Steps = list107; - reference73 = obj72; - ref QuestSequence reference74 = ref span65[2]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.Interact, 2013247u, new Vector3(428.15283f, 3.2196045f, 23.483582f), 817) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RaktikaFanow - }; - obj73.Steps = list108; - reference74 = obj73; - ref QuestSequence reference75 = ref span65[3]; - QuestSequence obj74 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.CompleteQuest, 1044560u, new Vector3(-241.68768f, 51.058994f, 620.8744f), 816) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran, - NextQuestId = new QuestId(4717) - }; - obj74.Steps = list109; - reference75 = obj74; - questRoot17.QuestSequence = list104; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(4717); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - CollectionsMarshal.AsSpan(list110)[0] = "liza"; - questRoot18.Author = list110; - num = 2; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - Span span66 = CollectionsMarshal.AsSpan(list111); - ref QuestSequence reference76 = ref span66[0]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.AcceptQuest, 1044550u, new Vector3(-239.70398f, 51.05899f, 622.2477f), 816) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.IlMhegLydhaLran, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj75.Steps = list112; - reference76 = obj75; - ref QuestSequence reference77 = ref span66[1]; - QuestSequence obj76 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.CompleteQuest, 1044562u, new Vector3(-294.97223f, 67.46317f, 603.6621f), 816) - { - Fly = true - }; - obj76.Steps = list113; - reference77 = obj76; - questRoot18.QuestSequence = list111; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(4718); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list114 = new List(num); - CollectionsMarshal.SetCount(list114, num); - CollectionsMarshal.AsSpan(list114)[0] = "liza"; - questRoot19.Author = list114; - num = 9; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - Span span67 = CollectionsMarshal.AsSpan(list115); - ref QuestSequence reference78 = ref span67[0]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - ref QuestStep reference79 = ref CollectionsMarshal.AsSpan(list116)[0]; - QuestStep obj78 = new QuestStep(EInteractionType.AcceptQuest, 1042558u, new Vector3(33.066284f, -5.8859587E-07f, -2.2125854f), 963) - { - StopDistance = 5f - }; - num3 = 1; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - CollectionsMarshal.AsSpan(list117)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CHRHDB831_04718_Q6_000_000"), - Answer = new ExcelRef("TEXT_CHRHDB831_04718_A6_000_001") - }; - obj78.DialogueChoices = list117; - reference79 = obj78; - obj77.Steps = list116; - reference78 = obj77; - ref QuestSequence reference80 = ref span67[1]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.Interact, 1042560u, new Vector3(431.96765f, 3.1168795f, -250.5379f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairPalakasStand - }; - obj79.Steps = list118; - reference80 = obj79; - ref QuestSequence reference81 = ref span67[2]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - Span span68 = CollectionsMarshal.AsSpan(list119); - ref QuestStep reference82 = ref span68[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1042564u, new Vector3(423.63623f, 3.1168795f, -273.8537f), 957); - num3 = 6; - List list120 = new List(num3); - CollectionsMarshal.SetCount(list120, num3); - Span span69 = CollectionsMarshal.AsSpan(list120); - span69[0] = null; - span69[1] = null; - span69[2] = null; - span69[3] = null; - span69[4] = null; - span69[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list120; - reference82 = questStep2; - ref QuestStep reference83 = ref span68[1]; - QuestStep obj81 = new QuestStep(EInteractionType.Interact, 1042565u, new Vector3(393.14856f, 3.1164212f, -212.9397f), 957) - { - Fly = true - }; - num3 = 6; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - Span span70 = CollectionsMarshal.AsSpan(list121); - span70[0] = null; - span70[1] = null; - span70[2] = null; - span70[3] = null; - span70[4] = null; - span70[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj81.CompletionQuestVariablesFlags = list121; - reference83 = obj81; - obj80.Steps = list119; - reference81 = obj80; - ref QuestSequence reference84 = ref span67[3]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.Interact, 1042567u, new Vector3(374.80737f, 3.1168795f, -256.45844f), 957) - { - Fly = true - }; - obj82.Steps = list122; - reference84 = obj82; - ref QuestSequence reference85 = ref span67[4]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.Interact, 1042572u, new Vector3(374.44104f, 3.1168795f, -257.64862f), 957) - { - StopDistance = 5f - }; - obj83.Steps = list123; - reference85 = obj83; - ref QuestSequence reference86 = ref span67[5]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - ref QuestStep reference87 = ref CollectionsMarshal.AsSpan(list124)[0]; - QuestStep obj85 = new QuestStep(EInteractionType.Interact, 2013267u, new Vector3(205.70679f, 7.9193726f, -180.34644f), 957) - { - Fly = true - }; - num3 = 1; - List list125 = new List(num3); - CollectionsMarshal.SetCount(list125, num3); - CollectionsMarshal.AsSpan(list125)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CHRHDB831_04718_Q4_000_000"), - Answer = new ExcelRef("TEXT_CHRHDB831_04718_A4_000_001") - }; - obj85.DialogueChoices = list125; - reference87 = obj85; - obj84.Steps = list124; - reference86 = obj84; - ref QuestSequence reference88 = ref span67[6]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - ref QuestStep reference89 = ref CollectionsMarshal.AsSpan(list126)[0]; - QuestStep obj87 = new QuestStep(EInteractionType.Interact, 2013268u, new Vector3(36.209595f, 17.196838f, -232.68488f), 957) - { - Fly = true - }; - num3 = 1; - List list127 = new List(num3); - CollectionsMarshal.SetCount(list127, num3); - CollectionsMarshal.AsSpan(list127)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CHRHDB831_04718_Q5_000_000"), - Answer = new ExcelRef("TEXT_CHRHDB831_04718_A5_000_001") - }; - obj87.DialogueChoices = list127; - reference89 = obj87; - obj86.Steps = list126; - reference88 = obj86; - ref QuestSequence reference90 = ref span67[7]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.Interact, 2013269u, new Vector3(-13.565308f, 22.964722f, -346.7613f), 957); - obj88.Steps = list128; - reference90 = obj88; - ref QuestSequence reference91 = ref span67[8]; - QuestSequence obj89 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042573u, new Vector3(565.91125f, 13.300535f, 242.48108f), 957) - { - StopDistance = 7f, - NextQuestId = new QuestId(4719) - }; - obj89.Steps = list129; - reference91 = obj89; - questRoot19.QuestSequence = list115; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(4719); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list130 = new List(num); - CollectionsMarshal.SetCount(list130, num); - CollectionsMarshal.AsSpan(list130)[0] = "liza"; - questRoot20.Author = list130; - num = 7; - List list131 = new List(num); - CollectionsMarshal.SetCount(list131, num); - Span span71 = CollectionsMarshal.AsSpan(list131); - ref QuestSequence reference92 = ref span71[0]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042573u, new Vector3(565.91125f, 13.300535f, 242.48108f), 957) - { - StopDistance = 7f - }; - obj90.Steps = list132; - reference92 = obj90; - ref QuestSequence reference93 = ref span71[1]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.Interact, 1044765u, new Vector3(9.567322f, -6.762952E-05f, 17.715698f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan - }; - obj91.Steps = list133; - reference93 = obj91; - ref QuestSequence reference94 = ref span71[2]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.Interact, 1044752u, new Vector3(-432.02875f, 22.24389f, 507.53027f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - obj92.Steps = list134; - reference94 = obj92; - ref QuestSequence reference95 = ref span71[3]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.Interact, 1044754u, new Vector3(-458.3963f, 20.805109f, -333.69952f), 958) - { - Fly = true - }; - obj93.Steps = list135; - reference95 = obj93; - ref QuestSequence reference96 = ref span71[4]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.Interact, 2013272u, new Vector3(697.8712f, 30.105957f, -789.7612f), 958) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.GarlemaldTertium - }; - obj94.Steps = list136; - reference96 = obj94; - ref QuestSequence reference97 = ref span71[5]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1044762u, new Vector3(694.97217f, 30.104027f, -785.8244f), 958) - { - StopDistance = 5f - }; - obj95.Steps = list137; - reference97 = obj95; - ref QuestSequence reference98 = ref span71[6]; - QuestSequence obj96 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.CompleteQuest, 1044765u, new Vector3(9.567322f, -6.762952E-05f, 17.715698f), 963) - { - StopDistance = 5f, - NextQuestId = new QuestId(4754) - }; - obj96.Steps = list138; - reference98 = obj96; - questRoot20.QuestSequence = list131; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(4725); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - CollectionsMarshal.AsSpan(list139)[0] = "CryoTechnic"; - questRoot21.Author = list139; - num = 4; - List list140 = new List(num); - CollectionsMarshal.SetCount(list140, num); - Span span72 = CollectionsMarshal.AsSpan(list140); - ref QuestSequence reference99 = ref span72[0]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043890u, new Vector3(38.0238f, -24.6934f, -205.499f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHighCrucible - } - }; - obj97.Steps = list141; - reference99 = obj97; - ref QuestSequence reference100 = ref span72[1]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.Interact, 2013276u, new Vector3(-192.17715f, 35.999996f, 57.092976f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanHighCrucible, - To = EAetheryteLocation.RadzAtHanRuveydahFibers - } - }; - obj98.Steps = list142; - reference100 = obj98; - ref QuestSequence reference101 = ref span72[2]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.PurchaseItem, 1043892u, new Vector3(48.325317f, -0.0003188569f, -12.802368f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanRuveydahFibers, - To = EAetheryteLocation.RadzAtHan - }, - ItemId = 38940u, - ItemCount = 3, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - obj99.Steps = list143; - reference101 = obj99; - ref QuestSequence reference102 = ref span72[3]; - QuestSequence obj100 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.CompleteQuest, 1043891u, new Vector3(41.33667f, -24.693443f, -201.67853f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanRuveydahFibers, - To = EAetheryteLocation.RadzAtHanHighCrucible - } - }; - obj100.Steps = list144; - reference102 = obj100; - questRoot21.QuestSequence = list140; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(4726); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list145 = new List(num); - CollectionsMarshal.SetCount(list145, num); - CollectionsMarshal.AsSpan(list145)[0] = "CryoTechnic"; - questRoot22.Author = list145; - num = 3; - List list146 = new List(num); - CollectionsMarshal.SetCount(list146, num); - Span span73 = CollectionsMarshal.AsSpan(list146); - ref QuestSequence reference103 = ref span73[0]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043891u, new Vector3(41.33667f, -24.693443f, -201.67853f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHighCrucible - } - }; - obj101.Steps = list147; - reference103 = obj101; - ref QuestSequence reference104 = ref span73[1]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.PurchaseItem, 1043892u, new Vector3(48.325317f, -0.0003188569f, -12.802368f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanHighCrucible, - To = EAetheryteLocation.RadzAtHan - }, - ItemId = 38940u, - ItemCount = 3, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - obj102.Steps = list148; - reference104 = obj102; - ref QuestSequence reference105 = ref span73[2]; - QuestSequence obj103 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.CompleteQuest, 1043891u, new Vector3(41.33667f, -24.693443f, -201.67853f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHighCrucible - } - }; - obj103.Steps = list149; - reference105 = obj103; - questRoot22.QuestSequence = list146; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(4735); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list150 = new List(num); - CollectionsMarshal.SetCount(list150, num); - CollectionsMarshal.AsSpan(list150)[0] = "liza"; - questRoot23.Author = list150; - num = 6; - List list151 = new List(num); - CollectionsMarshal.SetCount(list151, num); - Span span74 = CollectionsMarshal.AsSpan(list151); - ref QuestSequence reference106 = ref span74[0]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039645u, new Vector3(-338.33832f, 55f, -68.40625f), 963); - obj104.Steps = list152; - reference106 = obj104; - ref QuestSequence reference107 = ref span74[1]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.Interact, 1045392u, new Vector3(-52.75049f, -1.5635975E-05f, -138.96393f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanMeghaduta, - To = EAetheryteLocation.RadzAtHanMehrydesMeyhane - } - }; - obj105.Steps = list153; - reference107 = obj105; - ref QuestSequence reference108 = ref span74[2]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - ref QuestStep reference109 = ref CollectionsMarshal.AsSpan(list154)[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2013349u, new Vector3(-53.87964f, 0.59503174f, -141.71057f), 963); - num3 = 2; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - Span span75 = CollectionsMarshal.AsSpan(list155); - span75[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMK101_04735_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKMK101_04735_A1_000_003") - }; - span75[1] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMK101_04735_Q1_000_065") - }; - questStep3.DialogueChoices = list155; - reference109 = questStep3; - obj106.Steps = list154; - reference108 = obj106; - ref QuestSequence reference110 = ref span74[3]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.UseItem, null, new Vector3(-52.03956f, -5.209446E-05f, -140.01839f), 963) - { - ItemId = 2003461u - }; - obj107.Steps = list156; - reference110 = obj107; - ref QuestSequence reference111 = ref span74[4]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.Interact, 1045395u, new Vector3(-21.713623f, 1.7999926f, -181.81128f), 963); - obj108.Steps = list157; - reference111 = obj108; - ref QuestSequence reference112 = ref span74[5]; - QuestSequence obj109 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - ref QuestStep reference113 = ref CollectionsMarshal.AsSpan(list158)[0]; - QuestStep obj110 = new QuestStep(EInteractionType.CompleteQuest, 1043847u, new Vector3(-350.24036f, 55f, -81.28485f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanMehrydesMeyhane, - To = EAetheryteLocation.RadzAtHanMeghaduta - } - }; - num3 = 1; - List list159 = new List(num3); - CollectionsMarshal.SetCount(list159, num3); - CollectionsMarshal.AsSpan(list159)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMK101_04735_Q2_000_182") - }; - obj110.DialogueChoices = list159; - reference113 = obj110; - obj109.Steps = list158; - reference112 = obj109; - questRoot23.QuestSequence = list151; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(4736); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list160 = new List(num); - CollectionsMarshal.SetCount(list160, num); - CollectionsMarshal.AsSpan(list160)[0] = "liza"; - questRoot24.Author = list160; - num = 10; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - Span span76 = CollectionsMarshal.AsSpan(list161); - ref QuestSequence reference114 = ref span76[0]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.AcceptQuest, 1045397u, new Vector3(0.6560669f, 0.01927659f, 0.869751f), 1161); - obj111.Steps = list162; - reference114 = obj111; - ref QuestSequence reference115 = ref span76[1]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - Span span77 = CollectionsMarshal.AsSpan(list163); - span77[0] = new QuestStep(EInteractionType.Interact, 2013358u, new Vector3(-0.015319824f, 1.2359009f, 5.9662476f), 1161) - { - StopDistance = 4f, - TargetTerritoryId = (ushort)963 - }; - span77[1] = new QuestStep(EInteractionType.Interact, 1039602u, new Vector3(142.04614f, 4.783756f, -146.47144f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanMeghaduta, - To = EAetheryteLocation.RadzAtHan - } - }; - obj112.Steps = list163; - reference115 = obj112; - ref QuestSequence reference116 = ref span76[2]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.Interact, 1045401u, new Vector3(-144.45721f, 28.05f, 219.1958f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanAirship - } - }; - obj113.Steps = list164; - reference116 = obj113; - ref QuestSequence reference117 = ref span76[3]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - ref QuestStep reference118 = ref CollectionsMarshal.AsSpan(list165)[0]; - QuestStep obj115 = new QuestStep(EInteractionType.Interact, 1038588u, new Vector3(-101.76245f, 4.357494f, 0.7476196f), 962) - { - StopDistance = 5f - }; - num3 = 1; - List list166 = new List(num3); - CollectionsMarshal.SetCount(list166, num3); - CollectionsMarshal.AsSpan(list166)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMK102_04736_Q2_000_094") - }; - obj115.DialogueChoices = list166; - reference118 = obj115; - obj114.Steps = list165; - reference117 = obj114; - ref QuestSequence reference119 = ref span76[4]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - Span span78 = CollectionsMarshal.AsSpan(list167); - span78[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(6.0711417f, -28.723347f, -43.467506f), 956) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.LabyrinthosSharlayanHamlet, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span78[1] = new QuestStep(EInteractionType.Interact, 1045407u, new Vector3(-32.578064f, -29.530006f, -125.96332f), 956) - { - Fly = true - }; - obj116.Steps = list167; - reference119 = obj116; - ref QuestSequence reference120 = ref span76[5]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.Interact, 1045412u, new Vector3(-6.57666f, -31.530346f, 54.276245f), 956) - { - Fly = true - }; - obj117.Steps = list168; - reference120 = obj117; - ref QuestSequence reference121 = ref span76[6]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.Interact, 1045417u, new Vector3(135.9425f, -16.146997f, 236.22485f), 962) - { - StopDistance = 5f - }; - obj118.Steps = list169; - reference121 = obj118; - ref QuestSequence reference122 = ref span76[7]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - ref QuestStep reference123 = ref CollectionsMarshal.AsSpan(list170)[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.Duty, null, null, 962); - DutyOptions obj120 = new DutyOptions - { - ContentFinderConditionId = 822u - }; - num3 = 1; - List list171 = new List(num3); - CollectionsMarshal.SetCount(list171, num3); - CollectionsMarshal.AsSpan(list171)[0] = "Navigation issues for area transitions"; - obj120.Notes = list171; - questStep4.DutyOptions = obj120; - reference123 = questStep4; - obj119.Steps = list170; - reference122 = obj119; - span76[8] = new QuestSequence - { - Sequence = 8 - }; - ref QuestSequence reference124 = ref span76[9]; - QuestSequence obj121 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045420u, new Vector3(142.07666f, -16.147f, 235.70605f), 962) - { - StopDistance = 7f - }; - obj121.Steps = list172; - reference124 = obj121; - questRoot24.QuestSequence = list161; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(4737); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list173 = new List(num); - CollectionsMarshal.SetCount(list173, num); - CollectionsMarshal.AsSpan(list173)[0] = "liza"; - questRoot25.Author = list173; - num = 5; - List list174 = new List(num); - CollectionsMarshal.SetCount(list174, num); - Span span79 = CollectionsMarshal.AsSpan(list174); - ref QuestSequence reference125 = ref span79[0]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.AcceptQuest, 1045420u, new Vector3(142.07666f, -16.147f, 235.70605f), 962) - { - StopDistance = 7f - }; - obj122.Steps = list175; - reference125 = obj122; - ref QuestSequence reference126 = ref span79[1]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - CollectionsMarshal.AsSpan(list176)[0] = new QuestStep(EInteractionType.Interact, 1040824u, new Vector3(-334.4015f, 23.803606f, 404.9286f), 958) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - obj123.Steps = list176; - reference126 = obj123; - ref QuestSequence reference127 = ref span79[2]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.Interact, 1045425u, new Vector3(532.4635f, -36.65f, -191.48547f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldTertium - }; - obj124.Steps = list177; - reference127 = obj124; - ref QuestSequence reference128 = ref span79[3]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 3 - }; - num2 = 5; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - Span span80 = CollectionsMarshal.AsSpan(list178); - ref QuestStep reference129 = ref span80[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1045490u, new Vector3(523.24695f, -36.65f, -156.02356f), 958); - num3 = 6; - List list179 = new List(num3); - CollectionsMarshal.SetCount(list179, num3); - Span span81 = CollectionsMarshal.AsSpan(list179); - span81[0] = null; - span81[1] = null; - span81[2] = null; - span81[3] = null; - span81[4] = null; - span81[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list179; - reference129 = questStep5; - ref QuestStep reference130 = ref span80[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1045491u, new Vector3(502.4032f, -36.65f, -178.27118f), 958); - num3 = 6; - List list180 = new List(num3); - CollectionsMarshal.SetCount(list180, num3); - Span span82 = CollectionsMarshal.AsSpan(list180); - span82[0] = null; - span82[1] = null; - span82[2] = null; - span82[3] = null; - span82[4] = null; - span82[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list180; - reference130 = questStep6; - ref QuestStep reference131 = ref span80[2]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1037774u, new Vector3(518.181f, -36.65f, -212.14618f), 958); - num3 = 6; - List list181 = new List(num3); - CollectionsMarshal.SetCount(list181, num3); - Span span83 = CollectionsMarshal.AsSpan(list181); - span83[0] = null; - span83[1] = null; - span83[2] = null; - span83[3] = null; - span83[4] = null; - span83[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list181; - reference131 = questStep7; - ref QuestStep reference132 = ref span80[3]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1045489u, new Vector3(549.2484f, -36.615707f, -213.18384f), 958); - num3 = 6; - List list182 = new List(num3); - CollectionsMarshal.SetCount(list182, num3); - Span span84 = CollectionsMarshal.AsSpan(list182); - span84[0] = null; - span84[1] = null; - span84[2] = null; - span84[3] = null; - span84[4] = null; - span84[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list182; - reference132 = questStep8; - ref QuestStep reference133 = ref span80[4]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1037766u, new Vector3(545.3115f, -36.616177f, -265.00348f), 958); - num3 = 6; - List list183 = new List(num3); - CollectionsMarshal.SetCount(list183, num3); - Span span85 = CollectionsMarshal.AsSpan(list183); - span85[0] = null; - span85[1] = null; - span85[2] = null; - span85[3] = null; - span85[4] = null; - span85[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list183; - reference133 = questStep9; - obj125.Steps = list178; - reference128 = obj125; - ref QuestSequence reference134 = ref span79[4]; - QuestSequence obj126 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - Span span86 = CollectionsMarshal.AsSpan(list184); - span86[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(534.8861f, -36.65f, -245.12135f), 958) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span86[1] = new QuestStep(EInteractionType.CompleteQuest, 1045430u, new Vector3(415.1521f, 15.558167f, -637.56775f), 958) - { - Fly = true - }; - obj126.Steps = list184; - reference134 = obj126; - questRoot25.QuestSequence = list174; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(4738); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list185 = new List(num); - CollectionsMarshal.SetCount(list185, num); - CollectionsMarshal.AsSpan(list185)[0] = "liza"; - questRoot26.Author = list185; - num = 7; - List list186 = new List(num); - CollectionsMarshal.SetCount(list186, num); - Span span87 = CollectionsMarshal.AsSpan(list186); - ref QuestSequence reference135 = ref span87[0]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.AcceptQuest, 1045431u, new Vector3(413.4431f, 15.5581665f, -638.3002f), 958) - { - StopDistance = 5f - }; - obj127.Steps = list187; - reference135 = obj127; - ref QuestSequence reference136 = ref span87[1]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - CollectionsMarshal.AsSpan(list188)[0] = new QuestStep(EInteractionType.Interact, 1045435u, new Vector3(-366.29285f, 10.803238f, -620.08093f), 958) - { - TargetTerritoryId = (ushort)1160, - Fly = true - }; - obj128.Steps = list188; - reference136 = obj128; - ref QuestSequence reference137 = ref span87[2]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.Interact, 1045769u, new Vector3(10.421875f, 2.9999998f, 65.2323f), 1160); - obj129.Steps = list189; - reference137 = obj129; - ref QuestSequence reference138 = ref span87[3]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - Span span88 = CollectionsMarshal.AsSpan(list190); - ref QuestStep reference139 = ref span88[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 2013351u, new Vector3(21.10321f, 3.8604736f, 67.063354f), 1160); - num3 = 6; - List list191 = new List(num3); - CollectionsMarshal.SetCount(list191, num3); - Span span89 = CollectionsMarshal.AsSpan(list191); - span89[0] = null; - span89[1] = null; - span89[2] = null; - span89[3] = null; - span89[4] = null; - span89[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list191; - reference139 = questStep10; - ref QuestStep reference140 = ref span88[1]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1045493u, new Vector3(-10.635559f, 3f, 42.435303f), 1160); - num3 = 6; - List list192 = new List(num3); - CollectionsMarshal.SetCount(list192, num3); - Span span90 = CollectionsMarshal.AsSpan(list192); - span90[0] = null; - span90[1] = null; - span90[2] = null; - span90[3] = null; - span90[4] = null; - span90[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list192; - reference140 = questStep11; - ref QuestStep reference141 = ref span88[2]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 2013350u, new Vector3(9.353699f, 3.5552979f, 26.382812f), 1160); - num3 = 6; - List list193 = new List(num3); - CollectionsMarshal.SetCount(list193, num3); - Span span91 = CollectionsMarshal.AsSpan(list193); - span91[0] = null; - span91[1] = null; - span91[2] = null; - span91[3] = null; - span91[4] = null; - span91[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list193; - reference141 = questStep12; - ref QuestStep reference142 = ref span88[3]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1045492u, new Vector3(42.435303f, 3.1270661f, -9.353821f), 1160); - num3 = 6; - List list194 = new List(num3); - CollectionsMarshal.SetCount(list194, num3); - Span span92 = CollectionsMarshal.AsSpan(list194); - span92[0] = null; - span92[1] = null; - span92[2] = null; - span92[3] = null; - span92[4] = null; - span92[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list194; - reference142 = questStep13; - obj130.Steps = list190; - reference138 = obj130; - ref QuestSequence reference143 = ref span87[4]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.Interact, 1045439u, new Vector3(0.19836426f, 3f, -26.840637f), 1160); - obj131.Steps = list195; - reference143 = obj131; - ref QuestSequence reference144 = ref span87[5]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.Interact, 1040825u, new Vector3(-333.27234f, 23.803606f, 406.05774f), 958) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.GarlemaldCampBrokenGlass - }; - obj132.Steps = list196; - reference144 = obj132; - ref QuestSequence reference145 = ref span87[6]; - QuestSequence obj133 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045441u, new Vector3(507.43872f, -36.65f, -202.99078f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldTertium - }; - obj133.Steps = list197; - reference145 = obj133; - questRoot26.QuestSequence = list186; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(4739); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list198 = new List(num); - CollectionsMarshal.SetCount(list198, num); - CollectionsMarshal.AsSpan(list198)[0] = "liza"; - questRoot27.Author = list198; - num = 4; - List list199 = new List(num); - CollectionsMarshal.SetCount(list199, num); - Span span93 = CollectionsMarshal.AsSpan(list199); - ref QuestSequence reference146 = ref span93[0]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.AcceptQuest, 1045445u, new Vector3(508.5984f, -36.65f, -206.74457f), 958) - { - StopDistance = 7f - }; - obj134.Steps = list200; - reference146 = obj134; - ref QuestSequence reference147 = ref span93[1]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - Span span94 = CollectionsMarshal.AsSpan(list201); - span94[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(252.4148f, 10.8f, -659.2858f), 958) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - ref QuestStep reference148 = ref span94[1]; - QuestStep obj136 = new QuestStep(EInteractionType.Combat, null, new Vector3(-80.826256f, 10.8f, -663.8825f), 958) - { - StopDistance = 1f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list202 = new List(num3); - CollectionsMarshal.SetCount(list202, num3); - CollectionsMarshal.AsSpan(list202)[0] = 16332u; - obj136.KillEnemyDataIds = list202; - reference148 = obj136; - obj135.Steps = list201; - reference147 = obj135; - ref QuestSequence reference149 = ref span93[2]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.Interact, 1045450u, new Vector3(-80.73547f, 10.8f, -659.75433f), 958) - { - StopDistance = 7f - }; - obj137.Steps = list203; - reference149 = obj137; - ref QuestSequence reference150 = ref span93[3]; - QuestSequence obj138 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045452u, new Vector3(283.8025f, 10.8f, -231.61676f), 958) - { - StopDistance = 5f - }; - obj138.Steps = list204; - reference150 = obj138; - questRoot27.QuestSequence = list199; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(4740); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list205 = new List(num); - CollectionsMarshal.SetCount(list205, num); - CollectionsMarshal.AsSpan(list205)[0] = "liza"; - questRoot28.Author = list205; - num = 7; - List list206 = new List(num); - CollectionsMarshal.SetCount(list206, num); - Span span95 = CollectionsMarshal.AsSpan(list206); - ref QuestSequence reference151 = ref span95[0]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - CollectionsMarshal.AsSpan(list207)[0] = new QuestStep(EInteractionType.AcceptQuest, 1045448u, new Vector3(510.1244f, -36.65f, -204.97449f), 958) - { - StopDistance = 5f - }; - obj139.Steps = list207; - reference151 = obj139; - ref QuestSequence reference152 = ref span95[1]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.Interact, 1045456u, new Vector3(-541.9242f, 128.67758f, 585.1072f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumSinusLacrimarum - }; - obj140.Steps = list208; - reference152 = obj140; - ref QuestSequence reference153 = ref span95[2]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.Interact, 1045458u, new Vector3(-197.49762f, 58.194954f, 407.27856f), 959) - { - Fly = true - }; - obj141.Steps = list209; - reference153 = obj141; - ref QuestSequence reference154 = ref span95[3]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - Span span96 = CollectionsMarshal.AsSpan(list210); - span96[0] = new QuestStep(EInteractionType.Interact, 2012664u, new Vector3(-26.901672f, -130.47992f, -580.4685f), 959) - { - TargetTerritoryId = (ushort)959, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span96[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-19.779482f, -56.63768f, -464.9354f), 959) - { - StopDistance = 1f, - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span96[2] = new QuestStep(EInteractionType.Interact, 1039686u, new Vector3(-17.95996f, -47.192066f, -494.31604f), 959) - { - Fly = true - }; - obj142.Steps = list210; - reference154 = obj142; - ref QuestSequence reference155 = ref span95[4]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - CollectionsMarshal.AsSpan(list211)[0] = new QuestStep(EInteractionType.Interact, 2013353u, new Vector3(164.23279f, -49.607117f, -620.3861f), 959) - { - Fly = true - }; - obj143.Steps = list211; - reference155 = obj143; - ref QuestSequence reference156 = ref span95[5]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 5 - }; - num2 = 4; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - Span span97 = CollectionsMarshal.AsSpan(list212); - ref QuestStep reference157 = ref span97[0]; - QuestStep obj145 = new QuestStep(EInteractionType.Emote, 1045471u, new Vector3(158.61743f, -49.589592f, -626.42865f), 959) - { - StopDistance = 6f, - Emote = EEmote.Rally - }; - num3 = 6; - List list213 = new List(num3); - CollectionsMarshal.SetCount(list213, num3); - Span span98 = CollectionsMarshal.AsSpan(list213); - span98[0] = null; - span98[1] = null; - span98[2] = null; - span98[3] = null; - span98[4] = null; - span98[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj145.CompletionQuestVariablesFlags = list213; - reference157 = obj145; - ref QuestStep reference158 = ref span97[1]; - QuestStep obj146 = new QuestStep(EInteractionType.Emote, 1045470u, new Vector3(154.7417f, -49.589596f, -622.3087f), 959) - { - StopDistance = 6f, - Emote = EEmote.Rally - }; - num3 = 6; - List list214 = new List(num3); - CollectionsMarshal.SetCount(list214, num3); - Span span99 = CollectionsMarshal.AsSpan(list214); - span99[0] = null; - span99[1] = null; - span99[2] = null; - span99[3] = null; - span99[4] = null; - span99[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj146.CompletionQuestVariablesFlags = list214; - reference158 = obj146; - ref QuestStep reference159 = ref span97[2]; - QuestStep obj147 = new QuestStep(EInteractionType.Emote, 1045472u, new Vector3(148.91272f, -49.589596f, -621.48474f), 959) - { - StopDistance = 6f, - Emote = EEmote.Rally - }; - num3 = 6; - List list215 = new List(num3); - CollectionsMarshal.SetCount(list215, num3); - Span span100 = CollectionsMarshal.AsSpan(list215); - span100[0] = null; - span100[1] = null; - span100[2] = null; - span100[3] = null; - span100[4] = null; - span100[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj147.CompletionQuestVariablesFlags = list215; - reference159 = obj147; - ref QuestStep reference160 = ref span97[3]; - QuestStep obj148 = new QuestStep(EInteractionType.Emote, 1045473u, new Vector3(152.42236f, -49.589592f, -614.8623f), 959) - { - StopDistance = 6f, - Emote = EEmote.Rally - }; - num3 = 6; - List list216 = new List(num3); - CollectionsMarshal.SetCount(list216, num3); - Span span101 = CollectionsMarshal.AsSpan(list216); - span101[0] = null; - span101[1] = null; - span101[2] = null; - span101[3] = null; - span101[4] = null; - span101[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj148.CompletionQuestVariablesFlags = list216; - reference160 = obj148; - obj144.Steps = list212; - reference156 = obj144; - ref QuestSequence reference161 = ref span95[6]; - QuestSequence obj149 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045474u, new Vector3(158.46484f, -49.589592f, -619.9894f), 959) - { - StopDistance = 6f - }; - obj149.Steps = list217; - reference161 = obj149; - questRoot28.QuestSequence = list206; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(4741); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - CollectionsMarshal.AsSpan(list218)[0] = "liza"; - questRoot29.Author = list218; - num = 4; - List list219 = new List(num); - CollectionsMarshal.SetCount(list219, num); - Span span102 = CollectionsMarshal.AsSpan(list219); - ref QuestSequence reference162 = ref span102[0]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.AcceptQuest, 1045611u, new Vector3(160.87585f, -49.589592f, -618.46344f), 959) - { - StopDistance = 7f - }; - obj150.Steps = list220; - reference162 = obj150; - ref QuestSequence reference163 = ref span102[1]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.Interact, 1045919u, new Vector3(-200.45782f, 59.021378f, 418.69226f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumSinusLacrimarum - }; - obj151.Steps = list221; - reference163 = obj151; - ref QuestSequence reference164 = ref span102[2]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - Span span103 = CollectionsMarshal.AsSpan(list222); - ref QuestStep reference165 = ref span103[0]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 2013354u, new Vector3(-2.7314453f, 73.8689f, 638.0254f), 1162); - num3 = 6; - List list223 = new List(num3); - CollectionsMarshal.SetCount(list223, num3); - Span span104 = CollectionsMarshal.AsSpan(list223); - span104[0] = null; - span104[1] = null; - span104[2] = null; - span104[3] = null; - span104[4] = null; - span104[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list223; - reference165 = questStep14; - ref QuestStep reference166 = ref span103[1]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 2013355u, new Vector3(-44.87683f, 66.57507f, 547.6615f), 1162); - num3 = 6; - List list224 = new List(num3); - CollectionsMarshal.SetCount(list224, num3); - Span span105 = CollectionsMarshal.AsSpan(list224); - span105[0] = null; - span105[1] = null; - span105[2] = null; - span105[3] = null; - span105[4] = null; - span105[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list224; - reference166 = questStep15; - ref QuestStep reference167 = ref span103[2]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 2013356u, new Vector3(69.29114f, 56.71765f, 472.19043f), 1162); - num3 = 6; - List list225 = new List(num3); - CollectionsMarshal.SetCount(list225, num3); - Span span106 = CollectionsMarshal.AsSpan(list225); - span106[0] = null; - span106[1] = null; - span106[2] = null; - span106[3] = null; - span106[4] = null; - span106[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list225; - reference167 = questStep16; - obj152.Steps = list222; - reference164 = obj152; - ref QuestSequence reference168 = ref span102[3]; - QuestSequence obj153 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - CollectionsMarshal.AsSpan(list226)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045479u, new Vector3(4.043579f, 58.561604f, 424.97888f), 1162); - obj153.Steps = list226; - reference168 = obj153; - questRoot29.QuestSequence = list219; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(4742); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list227 = new List(num); - CollectionsMarshal.SetCount(list227, num); - CollectionsMarshal.AsSpan(list227)[0] = "liza"; - questRoot30.Author = list227; - num = 5; - List list228 = new List(num); - CollectionsMarshal.SetCount(list228, num); - Span span107 = CollectionsMarshal.AsSpan(list228); - ref QuestSequence reference169 = ref span107[0]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.AcceptQuest, 1045482u, new Vector3(17.135864f, 56.573345f, 436.0265f), 1162) - { - StopDistance = 5f - }; - obj154.Steps = list229; - reference169 = obj154; - ref QuestSequence reference170 = ref span107[1]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.Interact, 2013357u, new Vector3(97.520386f, 74.08252f, 607.90405f), 1162); - obj155.Steps = list230; - reference170 = obj155; - ref QuestSequence reference171 = ref span107[2]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.Duty, null, null, 1159) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 949u - } - }; - obj156.Steps = list231; - reference171 = obj156; - span107[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference172 = ref span107[4]; - QuestSequence obj157 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045757u, new Vector3(-136.03424f, 54.608093f, 427.60352f), 959); - obj157.Steps = list232; - reference172 = obj157; - questRoot30.QuestSequence = list228; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(4743); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list233 = new List(num); - CollectionsMarshal.SetCount(list233, num); - CollectionsMarshal.AsSpan(list233)[0] = "liza"; - questRoot31.Author = list233; - num = 4; - List list234 = new List(num); - CollectionsMarshal.SetCount(list234, num); - Span span108 = CollectionsMarshal.AsSpan(list234); - ref QuestSequence reference173 = ref span108[0]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.AcceptQuest, 1045758u, new Vector3(-135.85114f, 54.977272f, 432.02856f), 959) - { - StopDistance = 7f - }; - obj158.Steps = list235; - reference173 = obj158; - ref QuestSequence reference174 = ref span108[1]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - Span span109 = CollectionsMarshal.AsSpan(list236); - span109[0] = new QuestStep(EInteractionType.Interact, 2012664u, new Vector3(-26.901672f, -130.47992f, -580.4685f), 959) - { - TargetTerritoryId = (ushort)959, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span109[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-19.779482f, -56.63768f, -464.9354f), 959) - { - StopDistance = 1f, - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span109[2] = new QuestStep(EInteractionType.Interact, 1045466u, new Vector3(-20.126648f, -47.54357f, -491.99664f), 959) - { - Fly = true - }; - obj159.Steps = list236; - reference174 = obj159; - ref QuestSequence reference175 = ref span108[2]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - ref QuestStep reference176 = ref CollectionsMarshal.AsSpan(list237)[0]; - QuestStep obj161 = new QuestStep(EInteractionType.Interact, 1039649u, new Vector3(-336.53772f, 55f, -69.47443f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanMeghaduta - } - }; - num3 = 1; - List list238 = new List(num3); - CollectionsMarshal.SetCount(list238, num3); - CollectionsMarshal.AsSpan(list238)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMK109_04743_Q1_000_000") - }; - obj161.DialogueChoices = list238; - reference176 = obj161; - obj160.Steps = list237; - reference175 = obj160; - ref QuestSequence reference177 = ref span108[3]; - QuestSequence obj162 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - CollectionsMarshal.AsSpan(list239)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039645u, new Vector3(-338.33832f, 55f, -68.40625f), 963); - obj162.Steps = list239; - reference177 = obj162; - questRoot31.QuestSequence = list234; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(4744); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list240 = new List(num); - CollectionsMarshal.SetCount(list240, num); - CollectionsMarshal.AsSpan(list240)[0] = "liza"; - questRoot32.Author = list240; - num = 5; - List list241 = new List(num); - CollectionsMarshal.SetCount(list241, num); - Span span110 = CollectionsMarshal.AsSpan(list241); - ref QuestSequence reference178 = ref span110[0]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - CollectionsMarshal.AsSpan(list242)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039645u, new Vector3(-338.33832f, 55f, -68.40625f), 963); - obj163.Steps = list242; - reference178 = obj163; - ref QuestSequence reference179 = ref span110[1]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.Interact, 1039607u, new Vector3(-342.58032f, 55f, -68.61987f), 963) - { - StopDistance = 7f - }; - obj164.Steps = list243; - reference179 = obj164; - ref QuestSequence reference180 = ref span110[2]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.Interact, 1033908u, new Vector3(-63.61493f, -17.722f, -264.75934f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumCabinetOfCuriosity - } - }; - obj165.Steps = list244; - reference180 = obj165; - ref QuestSequence reference181 = ref span110[3]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.Interact, 1045690u, new Vector3(-168.9021f, -45.720856f, -167.83398f), 819); - obj166.Steps = list245; - reference181 = obj166; - ref QuestSequence reference182 = ref span110[4]; - QuestSequence obj167 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - CollectionsMarshal.AsSpan(list246)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045628u, new Vector3(24.2771f, 0f, 1.083313f), 819); - obj167.Steps = list246; - reference182 = obj167; - questRoot32.QuestSequence = list241; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(4745); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list247 = new List(num); - CollectionsMarshal.SetCount(list247, num); - CollectionsMarshal.AsSpan(list247)[0] = "liza"; - questRoot33.Author = list247; - num = 6; - List list248 = new List(num); - CollectionsMarshal.SetCount(list248, num); - Span span111 = CollectionsMarshal.AsSpan(list248); - ref QuestSequence reference183 = ref span111[0]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.AcceptQuest, 1033887u, new Vector3(24.2771f, -5.234193E-13f, -0.7477417f), 819); - obj168.Steps = list249; - reference183 = obj168; - ref QuestSequence reference184 = ref span111[1]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - CollectionsMarshal.AsSpan(list250)[0] = new QuestStep(EInteractionType.Interact, 1045636u, new Vector3(27.939209f, 82.05f, -8.255188f), 820) - { - AetheryteShortcut = EAetheryteLocation.Eulmore - }; - obj169.Steps = list250; - reference184 = obj169; - ref QuestSequence reference185 = ref span111[2]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.Interact, 1045639u, new Vector3(21.957703f, 82.05f, 18.478638f), 820); - obj170.Steps = list251; - reference185 = obj170; - ref QuestSequence reference186 = ref span111[3]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - Span span112 = CollectionsMarshal.AsSpan(list252); - ref QuestStep reference187 = ref span112[0]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1045635u, new Vector3(39.261353f, 83.001076f, -61.387024f), 820); - num3 = 6; - List list253 = new List(num3); - CollectionsMarshal.SetCount(list253, num3); - Span span113 = CollectionsMarshal.AsSpan(list253); - span113[0] = null; - span113[1] = null; - span113[2] = null; - span113[3] = null; - span113[4] = null; - span113[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list253; - reference187 = questStep17; - ref QuestStep reference188 = ref span112[1]; - QuestStep obj172 = new QuestStep(EInteractionType.Interact, 1045633u, new Vector3(14.755432f, 23.099987f, 11.520508f), 820) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Eulmore, - To = EAetheryteLocation.EulmoreMainstay - } - }; - num3 = 6; - List list254 = new List(num3); - CollectionsMarshal.SetCount(list254, num3); - Span span114 = CollectionsMarshal.AsSpan(list254); - span114[0] = null; - span114[1] = null; - span114[2] = null; - span114[3] = null; - span114[4] = null; - span114[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj172.CompletionQuestVariablesFlags = list254; - reference188 = obj172; - ref QuestStep reference189 = ref span112[2]; - QuestStep obj173 = new QuestStep(EInteractionType.Interact, 1045634u, new Vector3(-93.40051f, -0.82003593f, 28.54956f), 820) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.EulmoreMainstay, - To = EAetheryteLocation.EulmoreNightsoilPots - } - }; - num3 = 6; - List list255 = new List(num3); - CollectionsMarshal.SetCount(list255, num3); - Span span115 = CollectionsMarshal.AsSpan(list255); - span115[0] = null; - span115[1] = null; - span115[2] = null; - span115[3] = null; - span115[4] = null; - span115[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj173.CompletionQuestVariablesFlags = list255; - reference189 = obj173; - obj171.Steps = list252; - reference186 = obj171; - ref QuestSequence reference190 = ref span111[4]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.Interact, 1045636u, new Vector3(27.939209f, 82.05f, -8.255188f), 820) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.EulmoreNightsoilPots, - To = EAetheryteLocation.Eulmore - } - }; - obj174.Steps = list256; - reference190 = obj174; - ref QuestSequence reference191 = ref span111[5]; - QuestSequence obj175 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045631u, new Vector3(29.709229f, 82.05f, -5.661133f), 820) - { - StopDistance = 7f - }; - obj175.Steps = list257; - reference191 = obj175; - questRoot33.QuestSequence = list248; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(4746); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list258 = new List(num); - CollectionsMarshal.SetCount(list258, num); - CollectionsMarshal.AsSpan(list258)[0] = "liza"; - questRoot34.Author = list258; - num = 7; - List list259 = new List(num); - CollectionsMarshal.SetCount(list259, num); - Span span116 = CollectionsMarshal.AsSpan(list259); - ref QuestSequence reference192 = ref span116[0]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.AcceptQuest, 1045631u, new Vector3(29.709229f, 82.05f, -5.661133f), 820) - { - StopDistance = 7f - }; - obj176.Steps = list260; - reference192 = obj176; - ref QuestSequence reference193 = ref span116[1]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.Interact, 1029197u, new Vector3(-87.87671f, -19.022131f, 298.20703f), 817) - { - AetheryteShortcut = EAetheryteLocation.RaktikaSlitherbough - }; - obj177.Steps = list261; - reference193 = obj177; - ref QuestSequence reference194 = ref span116[2]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - CollectionsMarshal.AsSpan(list262)[0] = new QuestStep(EInteractionType.Say, 1029197u, new Vector3(-87.87671f, -19.022131f, 298.20703f), 817) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_AKTKML103_04746_SAYTODO_000_140" - } - }; - obj178.Steps = list262; - reference194 = obj178; - ref QuestSequence reference195 = ref span116[3]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - CollectionsMarshal.AsSpan(list263)[0] = new QuestStep(EInteractionType.Interact, 1027754u, new Vector3(-108.20172f, -19.684433f, 380.2395f), 817); - obj179.Steps = list263; - reference195 = obj179; - ref QuestSequence reference196 = ref span116[4]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.Interact, 1045642u, new Vector3(-90.28766f, -19.118582f, 298.02393f), 817); - obj180.Steps = list264; - reference196 = obj180; - ref QuestSequence reference197 = ref span116[5]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.Interact, 1045647u, new Vector3(-488.88385f, 45.58085f, -224.5976f), 815) - { - AetheryteShortcut = EAetheryteLocation.AmhAraengTwine - }; - obj181.Steps = list265; - reference197 = obj181; - ref QuestSequence reference198 = ref span116[6]; - QuestSequence obj182 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - CollectionsMarshal.AsSpan(list266)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045648u, new Vector3(-205.95105f, -3.1999996f, -9.597961f), 819); - obj182.Steps = list266; - reference198 = obj182; - questRoot34.QuestSequence = list259; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(4747); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list267 = new List(num); - CollectionsMarshal.SetCount(list267, num); - CollectionsMarshal.AsSpan(list267)[0] = "liza"; - questRoot35.Author = list267; - num = 5; - List list268 = new List(num); - CollectionsMarshal.SetCount(list268, num); - Span span117 = CollectionsMarshal.AsSpan(list268); - ref QuestSequence reference199 = ref span117[0]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - CollectionsMarshal.AsSpan(list269)[0] = new QuestStep(EInteractionType.AcceptQuest, 1045649u, new Vector3(-205.95105f, -3.1999998f, -11.490112f), 819); - obj183.Steps = list269; - reference199 = obj183; - ref QuestSequence reference200 = ref span117[1]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - Span span118 = CollectionsMarshal.AsSpan(list270); - span118[0] = new QuestStep(EInteractionType.Interact, 1033863u, new Vector3(118.02844f, 14.649026f, 7.156433f), 819) - { - TargetTerritoryId = (ushort)844, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - span118[1] = new QuestStep(EInteractionType.Interact, 1033888u, new Vector3(1.3580322f, 0f, -5.081299f), 844); - obj184.Steps = list270; - reference200 = obj184; - ref QuestSequence reference201 = ref span117[2]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - CollectionsMarshal.AsSpan(list271)[0] = new QuestStep(EInteractionType.Interact, 1039645u, new Vector3(-338.33832f, 55f, -68.40625f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanMeghaduta - } - }; - obj185.Steps = list271; - reference201 = obj185; - ref QuestSequence reference202 = ref span117[3]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - CollectionsMarshal.AsSpan(list272)[0] = new QuestStep(EInteractionType.Interact, 1045652u, new Vector3(-109.91083f, 52.705315f, 401.26636f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumSinusLacrimarum - }; - obj186.Steps = list272; - reference202 = obj186; - ref QuestSequence reference203 = ref span117[4]; - QuestSequence obj187 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - CollectionsMarshal.AsSpan(list273)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045658u, new Vector3(40.634766f, 56.721893f, 465.7815f), 1162); - obj187.Steps = list273; - reference203 = obj187; - questRoot35.QuestSequence = list268; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(4748); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list274 = new List(num); - CollectionsMarshal.SetCount(list274, num); - CollectionsMarshal.AsSpan(list274)[0] = "liza"; - questRoot36.Author = list274; - num = 8; - List list275 = new List(num); - CollectionsMarshal.SetCount(list275, num); - Span span119 = CollectionsMarshal.AsSpan(list275); - ref QuestSequence reference204 = ref span119[0]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - CollectionsMarshal.AsSpan(list276)[0] = new QuestStep(EInteractionType.AcceptQuest, 1045662u, new Vector3(32.913696f, 56.682667f, 468.162f), 1162) - { - StopDistance = 6f - }; - obj188.Steps = list276; - reference204 = obj188; - ref QuestSequence reference205 = ref span119[1]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - CollectionsMarshal.AsSpan(list277)[0] = new QuestStep(EInteractionType.Duty, null, null, 1162) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 823u - } - }; - obj189.Steps = list277; - reference205 = obj189; - span119[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference206 = ref span119[3]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - ref QuestStep reference207 = ref CollectionsMarshal.AsSpan(list278)[0]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1045667u, new Vector3(-374.19702f, -567.3385f, -440.63483f), 1184); - num3 = 1; - List list279 = new List(num3); - CollectionsMarshal.SetCount(list279, num3); - CollectionsMarshal.AsSpan(list279)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKML105_04748_SYSTEM_000_406") - }; - questStep18.DialogueChoices = list279; - reference207 = questStep18; - obj190.Steps = list278; - reference206 = obj190; - span119[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference208 = ref span119[5]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - CollectionsMarshal.AsSpan(list280)[0] = new QuestStep(EInteractionType.Duty, null, null, 1181) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 964u - } - }; - obj191.Steps = list280; - reference208 = obj191; - span119[6] = new QuestSequence - { - Sequence = 6 - }; - ref QuestSequence reference209 = ref span119[7]; - QuestSequence obj192 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - CollectionsMarshal.AsSpan(list281)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045671u, new Vector3(27.237305f, 56.635868f, 480.3081f), 1162); - obj192.Steps = list281; - reference209 = obj192; - questRoot36.QuestSequence = list275; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(4749); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list282 = new List(num); - CollectionsMarshal.SetCount(list282, num); - CollectionsMarshal.AsSpan(list282)[0] = "liza"; - questRoot37.Author = list282; - num = 4; - List list283 = new List(num); - CollectionsMarshal.SetCount(list283, num); - Span span120 = CollectionsMarshal.AsSpan(list283); - ref QuestSequence reference210 = ref span120[0]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - CollectionsMarshal.AsSpan(list284)[0] = new QuestStep(EInteractionType.AcceptQuest, 1045674u, new Vector3(45.853394f, 56.66061f, 467.39905f), 1162) - { - StopDistance = 15f - }; - obj193.Steps = list284; - reference210 = obj193; - ref QuestSequence reference211 = ref span120[1]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - CollectionsMarshal.AsSpan(list285)[0] = new QuestStep(EInteractionType.Interact, 1045676u, new Vector3(-130.99878f, 54.110245f, 424.73486f), 959); - obj194.Steps = list285; - reference211 = obj194; - ref QuestSequence reference212 = ref span120[2]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - CollectionsMarshal.AsSpan(list286)[0] = new QuestStep(EInteractionType.Interact, 1042201u, new Vector3(536.2782f, -36.65f, -191.51605f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldTertium - }; - obj195.Steps = list286; - reference212 = obj195; - ref QuestSequence reference213 = ref span120[3]; - QuestSequence obj196 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - CollectionsMarshal.AsSpan(list287)[0] = new QuestStep(EInteractionType.CompleteQuest, 1037106u, new Vector3(4.0131226f, 41.530136f, -164.41602f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanRostra - } - }; - obj196.Steps = list287; - reference213 = obj196; - questRoot37.QuestSequence = list283; - AddQuest(questId37, questRoot37); - } - - private static void LoadQuests95() - { - QuestId questId = new QuestId(4750); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 7; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1045681u, new Vector3(5.8136597f, 41.530136f, -165.27051f), 962) - { - StopDistance = 7f - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref QuestStep reference3 = ref CollectionsMarshal.AsSpan(list4)[0]; - QuestStep obj3 = new QuestStep(EInteractionType.Interact, 1030533u, new Vector3(117.997925f, 14.649025f, 7.156433f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumDossalGate - } - }; - int num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKML107_04750_SYSTEM_000_101") - }; - obj3.DialogueChoices = list5; - reference3 = obj3; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Interact, 1045684u, new Vector3(-0.96136475f, 0f, -3.3417358f), 844); - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[3]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.Interact, 1045684u, new Vector3(-0.96136475f, 0f, -3.3417358f), 844) - { - StopDistance = 5f - }; - obj5.Steps = list7; - reference5 = obj5; - ref QuestSequence reference6 = ref span[4]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.Interact, 1039649u, new Vector3(-336.53772f, 55f, -69.47443f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanMeghaduta - } - }; - obj6.Steps = list8; - reference6 = obj6; - ref QuestSequence reference7 = ref span[5]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.Interact, 1045688u, new Vector3(-2.456726f, 3.0299988f, -212.84814f), 963); - obj7.Steps = list9; - reference7 = obj7; - ref QuestSequence reference8 = ref span[6]; - QuestSequence obj8 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.CompleteQuest, 1039645u, new Vector3(-338.33832f, 55f, -68.40625f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanMehrydesMeyhane, - To = EAetheryteLocation.RadzAtHanMeghaduta - } - }; - obj8.Steps = list10; - reference8 = obj8; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(4751); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list11 = new List(num); - CollectionsMarshal.SetCount(list11, num); - CollectionsMarshal.AsSpan(list11)[0] = "liza"; - questRoot2.Author = list11; - num = 3; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - Span span2 = CollectionsMarshal.AsSpan(list12); - ref QuestSequence reference9 = ref span2[0]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039645u, new Vector3(-338.33832f, 55f, -68.40625f), 963); - obj9.Steps = list13; - reference9 = obj9; - ref QuestSequence reference10 = ref span2[1]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.Interact, 1038588u, new Vector3(-101.76245f, 4.357494f, 0.7476196f), 962) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanBaldesionAnnex - } - }; - obj10.Steps = list14; - reference10 = obj10; - ref QuestSequence reference11 = ref span2[2]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045691u, new Vector3(-257.0993f, 19.165915f, -44.327515f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanBaldesionAnnex, - To = EAetheryteLocation.OldSharlayanStudium - } - }; - obj11.Steps = list15; - reference11 = obj11; - questRoot2.QuestSequence = list12; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(4752); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - CollectionsMarshal.AsSpan(list16)[0] = "liza"; - questRoot3.Author = list16; - num = 6; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - Span span3 = CollectionsMarshal.AsSpan(list17); - ref QuestSequence reference12 = ref span3[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.AcceptQuest, 1045692u, new Vector3(-256.67206f, 19.26994f, -46.28064f), 962); - obj12.Steps = list18; - reference12 = obj12; - ref QuestSequence reference13 = ref span3[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - ref QuestStep reference14 = ref CollectionsMarshal.AsSpan(list19)[0]; - QuestStep obj14 = new QuestStep(EInteractionType.SinglePlayerDuty, 1045695u, new Vector3(135.57642f, -16.147f, 243.42712f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanStudium, - To = EAetheryteLocation.OldSharlayanScholarsHarbor - } - }; - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions(); - num3 = 2; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - Span span4 = CollectionsMarshal.AsSpan(list20); - span4[0] = "(phase 1) AI walks (a bit) towards enemies, but doesn't target them and doesn't attack"; - span4[1] = "(phase 1) AI doesn't move close enough to the tattered plumage; needs to be re-tested"; - singlePlayerDutyOptions.Notes = list20; - obj14.SinglePlayerDutyOptions = singlePlayerDutyOptions; - reference14 = obj14; - obj13.Steps = list19; - reference13 = obj13; - span3[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference15 = ref span3[3]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.Interact, 1045696u, new Vector3(135.729f, -16.146997f, 241.50452f), 962); - obj15.Steps = list21; - reference15 = obj15; - ref QuestSequence reference16 = ref span3[4]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.Interact, 1037077u, new Vector3(-38.07129f, -14.169313f, 105.30249f), 962) - { - StopDistance = 7f - }; - obj16.Steps = list22; - reference16 = obj16; - ref QuestSequence reference17 = ref span3[5]; - QuestSequence obj17 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045699u, new Vector3(-60.41046f, -15.127002f, 139.42163f), 962) - { - StopDistance = 5f - }; - obj17.Steps = list23; - reference17 = obj17; - questRoot3.QuestSequence = list17; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(4753); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - CollectionsMarshal.AsSpan(list24)[0] = "liza"; - questRoot4.Author = list24; - num = 7; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - Span span5 = CollectionsMarshal.AsSpan(list25); - ref QuestSequence reference18 = ref span5[0]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - ref QuestStep reference19 = ref CollectionsMarshal.AsSpan(list26)[0]; - QuestStep obj19 = new QuestStep(EInteractionType.AcceptQuest, 1045700u, new Vector3(-58.54895f, -15.127001f, 139.45215f), 962) - { - StopDistance = 5f - }; - num3 = 1; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - CollectionsMarshal.AsSpan(list27)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKMM103_04753_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKMM103_04753_A1_000_001") - }; - obj19.DialogueChoices = list27; - reference19 = obj19; - obj18.Steps = list26; - reference18 = obj18; - ref QuestSequence reference20 = ref span5[1]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - Span span6 = CollectionsMarshal.AsSpan(list28); - ref QuestStep reference21 = ref span6[0]; - QuestStep obj21 = new QuestStep(EInteractionType.Interact, 2013419u, new Vector3(-308.49164f, 20.248657f, 48.142212f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanScholarsHarbor, - To = EAetheryteLocation.OldSharlayanStudium - } - }; - num3 = 6; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - Span span7 = CollectionsMarshal.AsSpan(list29); - span7[0] = null; - span7[1] = null; - span7[2] = null; - span7[3] = null; - span7[4] = null; - span7[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj21.CompletionQuestVariablesFlags = list29; - reference21 = obj21; - ref QuestStep reference22 = ref span6[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2013418u, new Vector3(-396.23108f, 20.2182f, 103.28821f), 962); - num3 = 6; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - Span span8 = CollectionsMarshal.AsSpan(list30); - span8[0] = null; - span8[1] = null; - span8[2] = null; - span8[3] = null; - span8[4] = null; - span8[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list30; - reference22 = questStep; - ref QuestStep reference23 = ref span6[2]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2013417u, new Vector3(-404.25726f, 20.248657f, 59.00659f), 962); - num3 = 6; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - Span span9 = CollectionsMarshal.AsSpan(list31); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list31; - reference23 = questStep2; - ref QuestStep reference24 = ref span6[3]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2013416u, new Vector3(-358.38867f, 20.309753f, 20.523315f), 962); - num3 = 6; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - Span span10 = CollectionsMarshal.AsSpan(list32); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list32; - reference24 = questStep3; - obj20.Steps = list28; - reference20 = obj20; - ref QuestSequence reference25 = ref span5[2]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Interact, 1045701u, new Vector3(-343.8316f, 18.999998f, 15.152161f), 962); - obj22.Steps = list33; - reference25 = obj22; - ref QuestSequence reference26 = ref span5[3]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.Interact, 1045702u, new Vector3(-131.15137f, 5.64997f, 44.663086f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayanStudium, - To = EAetheryteLocation.OldSharlayanBaldesionAnnex - } - }; - obj23.Steps = list34; - reference26 = obj23; - ref QuestSequence reference27 = ref span5[4]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - ref QuestStep reference28 = ref CollectionsMarshal.AsSpan(list35)[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1038588u, new Vector3(-101.76245f, 4.357494f, 0.7476196f), 962); - num3 = 1; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - CollectionsMarshal.AsSpan(list36)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKMM103_04753_SYSTEM_000_302") - }; - questStep4.DialogueChoices = list36; - reference28 = questStep4; - obj24.Steps = list35; - reference27 = obj24; - ref QuestSequence reference29 = ref span5[5]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - Span span11 = CollectionsMarshal.AsSpan(list37); - span11[0] = new QuestStep(EInteractionType.Interact, 2011936u, new Vector3(-108.5617f, 5.0504f, 4.55803f), 962) - { - TargetTerritoryId = (ushort)987 - }; - span11[1] = new QuestStep(EInteractionType.Interact, 2013420u, new Vector3(-0.10687256f, -0.015319824f, -7.614319f), 987); - obj25.Steps = list37; - reference29 = obj25; - ref QuestSequence reference30 = ref span5[6]; - QuestSequence obj26 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.CompleteQuest, 1038588u, new Vector3(-101.76245f, 4.357494f, 0.7476196f), 962) - { - StopDistance = 5f - }; - obj26.Steps = list38; - reference30 = obj26; - questRoot4.QuestSequence = list25; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(4754); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - CollectionsMarshal.AsSpan(list39)[0] = "liza"; - questRoot5.Author = list39; - num = 6; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - Span span12 = CollectionsMarshal.AsSpan(list40); - ref QuestSequence reference31 = ref span12[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.AcceptQuest, 1044768u, new Vector3(11.154297f, -0.00010118321f, 14.816467f), 963) - { - StopDistance = 5f - }; - obj27.Steps = list41; - reference31 = obj27; - ref QuestSequence reference32 = ref span12[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.Interact, 1044769u, new Vector3(145.73889f, 27.059998f, 36.819946f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanKama - } - }; - obj28.Steps = list42; - reference32 = obj28; - ref QuestSequence reference33 = ref span12[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - ref QuestStep reference34 = ref CollectionsMarshal.AsSpan(list43)[0]; - QuestStep obj30 = new QuestStep(EInteractionType.Combat, null, new Vector3(31.966597f, 5.8818626f, 580.4358f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - CollectionsMarshal.AsSpan(list44)[0] = new ComplexCombatData - { - DataId = 13527u, - MinimumKillCount = 1u, - RewardItemId = 2003459u, - RewardItemCount = 1 - }; - obj30.ComplexCombatData = list44; - reference34 = obj30; - obj29.Steps = list43; - reference33 = obj29; - ref QuestSequence reference35 = ref span12[3]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.Interact, 1044774u, new Vector3(-483.57367f, 1.580146f, -24.551819f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj31.Steps = list45; - reference35 = obj31; - ref QuestSequence reference36 = ref span12[4]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 2013336u, new Vector3(-589.50183f, 2.2735596f, -285.42004f), 957) - { - Fly = true - }; - obj32.Steps = list46; - reference36 = obj32; - ref QuestSequence reference37 = ref span12[5]; - QuestSequence obj33 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.CompleteQuest, 1044772u, new Vector3(147.35632f, 27.059998f, 32.700073f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanKama - }, - NextQuestId = new QuestId(4755) - }; - obj33.Steps = list47; - reference37 = obj33; - questRoot5.QuestSequence = list40; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(4755); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - CollectionsMarshal.AsSpan(list48)[0] = "liza"; - questRoot6.Author = list48; - num = 8; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - Span span13 = CollectionsMarshal.AsSpan(list49); - ref QuestSequence reference38 = ref span13[0]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.AcceptQuest, 1044783u, new Vector3(-313.4051f, 93.68002f, -316.7926f), 957) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj34.Steps = list50; - reference38 = obj34; - ref QuestSequence reference39 = ref span13[1]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - ref QuestStep reference40 = ref CollectionsMarshal.AsSpan(list51)[0]; - QuestStep obj36 = new QuestStep(EInteractionType.Interact, 1044788u, new Vector3(-42.191284f, 2.4950514f, -36.14868f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan - }; - num3 = 1; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - CollectionsMarshal.AsSpan(list52)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CHRHDB842_04755_Q2_000_000"), - Answer = new ExcelRef("TEXT_CHRHDB842_04755_A2_000_001") - }; - obj36.DialogueChoices = list52; - reference40 = obj36; - obj35.Steps = list51; - reference39 = obj35; - ref QuestSequence reference41 = ref span13[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - Span span14 = CollectionsMarshal.AsSpan(list53); - span14[0] = new QuestStep(EInteractionType.Interact, 1039544u, new Vector3(-29.617859f, 179.71387f, -826.2302f), 956) - { - TargetTerritoryId = (ushort)962, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanHallOfArtifice - } - }; - span14[1] = new QuestStep(EInteractionType.Interact, 1044794u, new Vector3(-63.09613f, 18f, -297.59674f), 962); - obj37.Steps = list53; - reference41 = obj37; - ref QuestSequence reference42 = ref span13[3]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.Interact, 1044799u, new Vector3(408.49915f, 170.17088f, -431.7235f), 956) - { - AetheryteShortcut = EAetheryteLocation.LabyrinthosArcheion - }; - obj38.Steps = list54; - reference42 = obj38; - ref QuestSequence reference43 = ref span13[4]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - Span span15 = CollectionsMarshal.AsSpan(list55); - ref QuestStep reference44 = ref span15[0]; - QuestStep obj40 = new QuestStep(EInteractionType.Interact, 1044805u, new Vector3(435.26355f, 65.16199f, -134.20312f), 956) - { - Fly = true - }; - num3 = 6; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - Span span16 = CollectionsMarshal.AsSpan(list56); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj40.CompletionQuestVariablesFlags = list56; - reference44 = obj40; - ref QuestStep reference45 = ref span15[1]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1044806u, new Vector3(414.87744f, 65.16199f, -117.784424f), 956); - num3 = 6; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - Span span17 = CollectionsMarshal.AsSpan(list57); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list57; - reference45 = questStep5; - ref QuestStep reference46 = ref span15[2]; - QuestStep obj41 = new QuestStep(EInteractionType.Interact, 1044807u, new Vector3(494.40747f, 65.16199f, -82.993835f), 956) - { - Fly = true - }; - num3 = 6; - List list58 = new List(num3); - CollectionsMarshal.SetCount(list58, num3); - Span span18 = CollectionsMarshal.AsSpan(list58); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj41.CompletionQuestVariablesFlags = list58; - reference46 = obj41; - obj39.Steps = list55; - reference43 = obj39; - ref QuestSequence reference47 = ref span13[5]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.Interact, 1044809u, new Vector3(470.90857f, 65.16199f, -85.61841f), 956); - obj42.Steps = list59; - reference47 = obj42; - ref QuestSequence reference48 = ref span13[6]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.Interact, 1044765u, new Vector3(9.567322f, -6.762952E-05f, 17.715698f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan - }; - obj43.Steps = list60; - reference48 = obj43; - ref QuestSequence reference49 = ref span13[7]; - QuestSequence obj44 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.CompleteQuest, 1044768u, new Vector3(11.154297f, -0.00010118321f, 14.816467f), 963) - { - NextQuestId = new QuestId(4799) - }; - obj44.Steps = list61; - reference49 = obj44; - questRoot6.QuestSequence = list49; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(4756); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - CollectionsMarshal.AsSpan(list62)[0] = "liza"; - questRoot7.Author = list62; - num = 4; - List list63 = new List(num); - CollectionsMarshal.SetCount(list63, num); - Span span19 = CollectionsMarshal.AsSpan(list63); - ref QuestSequence reference50 = ref span19[0]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043504u, new Vector3(-639.704f, -27.177149f, 301.9912f), 956) - { - AetheryteShortcut = EAetheryteLocation.LabyrinthosAporia, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj45.Steps = list64; - reference50 = obj45; - ref QuestSequence reference51 = ref span19[1]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - Span span20 = CollectionsMarshal.AsSpan(list65); - span20[0] = new QuestStep(EInteractionType.Interact, 1039550u, new Vector3(-620.7218f, -27.670597f, 302.17432f), 956) - { - TargetTerritoryId = (ushort)956 - }; - span20[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-431.53903f, -220.1193f, 301.76364f), 956) - { - Fly = true - }; - span20[2] = new QuestStep(EInteractionType.Interact, 2013029u, new Vector3(-238.97156f, -220.41656f, 340.6272f), 956) - { - TargetTerritoryId = (ushort)1079 - }; - span20[3] = new QuestStep(EInteractionType.Interact, 2013338u, new Vector3(18.753235f, 197.52808f, 519.06604f), 1079); - obj46.Steps = list65; - reference51 = obj46; - ref QuestSequence reference52 = ref span19[2]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.Duty, null, null, 1079) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 936u - } - }; - obj47.Steps = list66; - reference52 = obj47; - ref QuestSequence reference53 = ref span19[3]; - QuestSequence obj48 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045330u, new Vector3(19.272095f, 197.41248f, 503.59338f), 1079) - { - StopDistance = 5f, - NextQuestId = new QuestId(4757) - }; - obj48.Steps = list67; - reference53 = obj48; - questRoot7.QuestSequence = list63; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(4757); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - CollectionsMarshal.AsSpan(list68)[0] = "liza"; - questRoot8.Author = list68; - num = 5; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - Span span21 = CollectionsMarshal.AsSpan(list69); - ref QuestSequence reference54 = ref span21[0]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.AcceptQuest, 1045335u, new Vector3(18.20398f, 197.41248f, 504.75305f), 1079) - { - StopDistance = 4f - }; - obj49.Steps = list70; - reference54 = obj49; - ref QuestSequence reference55 = ref span21[1]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.Interact, 1045338u, new Vector3(32.181274f, 197.55081f, 506.98096f), 1079); - obj50.Steps = list71; - reference55 = obj50; - span21[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference56 = ref span21[3]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.Duty, null, null, 1079) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 938u - } - }; - obj51.Steps = list72; - reference56 = obj51; - ref QuestSequence reference57 = ref span21[4]; - QuestSequence obj52 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045347u, new Vector3(98.98523f, 0f, 103.74609f), 1158) - { - StopDistance = 4f, - NextQuestId = new QuestId(4758) - }; - obj52.Steps = list73; - reference57 = obj52; - questRoot8.QuestSequence = list69; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(4758); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - CollectionsMarshal.AsSpan(list74)[0] = "liza"; - questRoot9.Author = list74; - num = 3; - List list75 = new List(num); - CollectionsMarshal.SetCount(list75, num); - Span span22 = CollectionsMarshal.AsSpan(list75); - ref QuestSequence reference58 = ref span22[0]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.AcceptQuest, 1045347u, new Vector3(98.98523f, 0f, 103.74609f), 1158) - { - StopDistance = 4f - }; - obj53.Steps = list76; - reference58 = obj53; - ref QuestSequence reference59 = ref span22[1]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Duty, null, null, 1158) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 940u - } - }; - obj54.Steps = list77; - reference59 = obj54; - ref QuestSequence reference60 = ref span22[2]; - QuestSequence obj55 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045348u, new Vector3(99.90076f, 0f, 104.478516f), 1158) - { - NextQuestId = new QuestId(4759) - }; - obj55.Steps = list78; - reference60 = obj55; - questRoot9.QuestSequence = list75; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(4759); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - CollectionsMarshal.AsSpan(list79)[0] = "liza"; - questRoot10.Author = list79; - num = 3; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - Span span23 = CollectionsMarshal.AsSpan(list80); - ref QuestSequence reference61 = ref span23[0]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.AcceptQuest, 1045383u, new Vector3(98.10022f, 0f, 103.837524f), 1158); - obj56.Steps = list81; - reference61 = obj56; - ref QuestSequence reference62 = ref span23[1]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.Duty, null, null, 1158) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 942u - } - }; - obj57.Steps = list82; - reference62 = obj57; - ref QuestSequence reference63 = ref span23[2]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045357u, new Vector3(28.610596f, 197.55505f, 509.72766f), 1079) - { - StopDistance = 5f, - NextQuestId = new QuestId(4760) - }; - obj58.Steps = list83; - reference63 = obj58; - questRoot10.QuestSequence = list80; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(4760); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - CollectionsMarshal.AsSpan(list84)[0] = "liza"; - questRoot11.Author = list84; - num = 5; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - Span span24 = CollectionsMarshal.AsSpan(list85); - ref QuestSequence reference64 = ref span24[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.AcceptQuest, 1045356u, new Vector3(28.42749f, 197.55338f, 508.23218f), 1079) - { - StopDistance = 4f - }; - obj59.Steps = list86; - reference64 = obj59; - ref QuestSequence reference65 = ref span24[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - Span span25 = CollectionsMarshal.AsSpan(list87); - span25[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(807.9048f, 152.2857f, -243.60707f), 961) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ElpisAnagnorisis - }; - span25[1] = new QuestStep(EInteractionType.Interact, 2012293u, new Vector3(809.9336f, 151.81189f, -243.42719f), 961) - { - TargetTerritoryId = (ushort)1025 - }; - span25[2] = new QuestStep(EInteractionType.Interact, 2013031u, new Vector3(99.96179f, 8.8349f, -71.03082f), 1025) - { - TargetTerritoryId = (ushort)1093 - }; - span25[3] = new QuestStep(EInteractionType.Interact, 1045364u, new Vector3(96.36072f, -4.5494874E-13f, 85.43518f), 1093); - obj60.Steps = list87; - reference65 = obj60; - ref QuestSequence reference66 = ref span24[2]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - Span span26 = CollectionsMarshal.AsSpan(list88); - span26[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-431.53903f, -220.1193f, 301.76364f), 956) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LabyrinthosAporia - }; - span26[1] = new QuestStep(EInteractionType.Interact, 2013029u, new Vector3(-238.97156f, -220.41656f, 340.6272f), 956) - { - TargetTerritoryId = (ushort)1079 - }; - span26[2] = new QuestStep(EInteractionType.Interact, 1045371u, new Vector3(29.404175f, 197.55386f, 508.8424f), 1079); - obj61.Steps = list88; - reference66 = obj61; - ref QuestSequence reference67 = ref span24[3]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Interact, 1045372u, new Vector3(28.030762f, 197.55408f, 508.87305f), 1079); - obj62.Steps = list89; - reference67 = obj62; - ref QuestSequence reference68 = ref span24[4]; - QuestSequence obj63 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045332u, new Vector3(-639.704f, -27.177149f, 301.9912f), 956) - { - NextQuestId = new QuestId(5252) - }; - obj63.Steps = list90; - reference68 = obj63; - questRoot11.QuestSequence = list85; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(4761); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - CollectionsMarshal.AsSpan(list91)[0] = "liza"; - questRoot12.Author = list91; - num = 5; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - Span span27 = CollectionsMarshal.AsSpan(list92); - ref QuestSequence reference69 = ref span27[0]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042599u, new Vector3(31.998047f, 5.1499996f, -67.73486f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj64.Steps = list93; - reference69 = obj64; - ref QuestSequence reference70 = ref span27[1]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - Span span28 = CollectionsMarshal.AsSpan(list94); - span28[0] = new QuestStep(EInteractionType.Interact, 1033637u, new Vector3(-533.4402f, 8.187748f, -46.341675f), 621) - { - TargetTerritoryId = (ushort)919, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria - }; - ref QuestStep reference71 = ref span28[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1033629u, new Vector3(-0.3204956f, 41f, 17.56311f), 919); - num3 = 1; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - CollectionsMarshal.AsSpan(list95)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKSA401_04761_Q2_000_000"), - Answer = new ExcelRef("TEXT_AKTKSA401_04761_A2_000_002") - }; - questStep6.DialogueChoices = list95; - reference71 = questStep6; - obj65.Steps = list94; - reference70 = obj65; - ref QuestSequence reference72 = ref span27[2]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - ref QuestStep reference73 = ref CollectionsMarshal.AsSpan(list96)[0]; - QuestStep obj67 = new QuestStep(EInteractionType.Interact, 1045296u, new Vector3(-1.1750488f, 41.01997f, 30.289062f), 919) - { - StopDistance = 7f - }; - num3 = 1; - List list97 = new List(num3); - CollectionsMarshal.SetCount(list97, num3); - CollectionsMarshal.AsSpan(list97)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKSA401_04761_Q5_000_000") - }; - obj67.DialogueChoices = list97; - reference73 = obj67; - obj66.Steps = list96; - reference72 = obj66; - ref QuestSequence reference74 = ref span27[3]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - ref QuestStep reference75 = ref CollectionsMarshal.AsSpan(list98)[0]; - QuestStep obj69 = new QuestStep(EInteractionType.Instruction, 1045299u, new Vector3(84.73328f, 0f, 106.46216f), 991) - { - StopDistance = 7f, - Comment = "Really short sequence of the Christmas minigame" - }; - num3 = 1; - List list99 = new List(num3); - CollectionsMarshal.SetCount(list99, num3); - CollectionsMarshal.AsSpan(list99)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKSA401_04761_SYSTEM_100_076") - }; - obj69.DialogueChoices = list99; - reference75 = obj69; - obj68.Steps = list98; - reference74 = obj68; - ref QuestSequence reference76 = ref span27[4]; - QuestSequence obj70 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.CompleteQuest, 1033629u, new Vector3(-0.3204956f, 41f, 17.56311f), 919) - { - StopDistance = 7f, - NextQuestId = new QuestId(4762) - }; - obj70.Steps = list100; - reference76 = obj70; - questRoot12.QuestSequence = list92; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(4762); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list101 = new List(num); - CollectionsMarshal.SetCount(list101, num); - CollectionsMarshal.AsSpan(list101)[0] = "liza"; - questRoot13.Author = list101; - num = 6; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - Span span29 = CollectionsMarshal.AsSpan(list102); - ref QuestSequence reference77 = ref span29[0]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - ref QuestStep reference78 = ref CollectionsMarshal.AsSpan(list103)[0]; - QuestStep obj72 = new QuestStep(EInteractionType.AcceptQuest, 1033629u, new Vector3(-0.3204956f, 41f, 17.56311f), 919) - { - StopDistance = 7f - }; - num3 = 1; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - CollectionsMarshal.AsSpan(list104)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_AKTKSA402_04762_Q1_000_000"), - Answer = new ExcelRef("TEXT_AKTKSA402_04762_A1_000_002") - }; - obj72.DialogueChoices = list104; - reference78 = obj72; - obj71.Steps = list103; - reference77 = obj71; - ref QuestSequence reference79 = ref span29[1]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 1045301u, new Vector3(-36.636963f, 41f, 57.66382f), 919); - obj73.Steps = list105; - reference79 = obj73; - ref QuestSequence reference80 = ref span29[2]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - Span span30 = CollectionsMarshal.AsSpan(list106); - ref QuestStep reference81 = ref span30[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1045308u, new Vector3(-18.35669f, 40.999996f, -17.898865f), 919); - num3 = 6; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - Span span31 = CollectionsMarshal.AsSpan(list107); - span31[0] = null; - span31[1] = null; - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list107; - reference81 = questStep7; - span30[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-15.634434f, 41f, 13.581184f), 919); - ref QuestStep reference82 = ref span30[2]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1033629u, new Vector3(-0.3204956f, 41f, 17.56311f), 919); - num3 = 6; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - Span span32 = CollectionsMarshal.AsSpan(list108); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list108; - reference82 = questStep8; - obj74.Steps = list106; - reference80 = obj74; - ref QuestSequence reference83 = ref span29[3]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.Interact, 1045311u, new Vector3(57.78589f, 35f, 81.55945f), 919); - obj75.Steps = list109; - reference83 = obj75; - ref QuestSequence reference84 = ref span29[4]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.Interact, 1045614u, new Vector3(53.116577f, 34.999966f, 78.01941f), 919) - { - StopDistance = 7f - }; - obj76.Steps = list110; - reference84 = obj76; - ref QuestSequence reference85 = ref span29[5]; - QuestSequence obj77 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042599u, new Vector3(31.998047f, 5.1499996f, -67.73486f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - NextQuestId = new QuestId(4812) - }; - obj77.Steps = list111; - reference85 = obj77; - questRoot13.QuestSequence = list102; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(4764); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - CollectionsMarshal.AsSpan(list112)[0] = "CryoTechnic"; - questRoot14.Author = list112; - num = 3; - List list113 = new List(num); - CollectionsMarshal.SetCount(list113, num); - Span span33 = CollectionsMarshal.AsSpan(list113); - ref QuestSequence reference86 = ref span33[0]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129); - obj78.Steps = list114; - reference86 = obj78; - ref QuestSequence reference87 = ref span33[1]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.Interact, 2013383u, new Vector3(-332.38727f, -2.395752f, 14.969055f), 129); - obj79.Steps = list115; - reference87 = obj79; - ref QuestSequence reference88 = ref span33[2]; - QuestSequence obj80 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.CompleteQuest, 1000909u, new Vector3(-326.37524f, 12.899658f, 9.994568f), 129); - obj80.Steps = list116; - reference88 = obj80; - questRoot14.QuestSequence = list113; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(4771); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - CollectionsMarshal.AsSpan(list117)[0] = "CryoTechnic"; - questRoot15.Author = list117; - num = 4; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - Span span34 = CollectionsMarshal.AsSpan(list118); - ref QuestSequence reference89 = ref span34[0]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043891u, new Vector3(41.33667f, -24.693443f, -201.67853f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHighCrucible - } - }; - obj81.Steps = list119; - reference89 = obj81; - ref QuestSequence reference90 = ref span34[1]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.Interact, 2013384u, new Vector3(-23.036152f, 1.510001f, -192.78279f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanHighCrucible, - To = EAetheryteLocation.RadzAtHanMehrydesMeyhane - } - }; - obj82.Steps = list120; - reference90 = obj82; - ref QuestSequence reference91 = ref span34[2]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.PurchaseItem, 1043892u, new Vector3(48.325317f, -0.0003188569f, -12.802368f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanMehrydesMeyhane, - To = EAetheryteLocation.RadzAtHan - }, - ItemId = 40322u, - ItemCount = 3, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - obj83.Steps = list121; - reference91 = obj83; - ref QuestSequence reference92 = ref span34[3]; - QuestSequence obj84 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.CompleteQuest, 1043891u, new Vector3(41.33667f, -24.693443f, -201.67853f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHighCrucible - } - }; - obj84.Steps = list122; - reference92 = obj84; - questRoot15.QuestSequence = list118; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(4772); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - CollectionsMarshal.AsSpan(list123)[0] = "CryoTechnic"; - questRoot16.Author = list123; - num = 3; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - Span span35 = CollectionsMarshal.AsSpan(list124); - ref QuestSequence reference93 = ref span35[0]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043891u, new Vector3(41.33667f, -24.693443f, -201.67853f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHighCrucible - } - }; - obj85.Steps = list125; - reference93 = obj85; - ref QuestSequence reference94 = ref span35[1]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.PurchaseItem, 1043892u, new Vector3(48.325317f, -0.0003188569f, -12.802368f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanHighCrucible, - To = EAetheryteLocation.RadzAtHan - }, - ItemId = 40322u, - ItemCount = 3, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - obj86.Steps = list126; - reference94 = obj86; - ref QuestSequence reference95 = ref span35[2]; - QuestSequence obj87 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.CompleteQuest, 1043891u, new Vector3(41.33667f, -24.693443f, -201.67853f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHighCrucible - } - }; - obj87.Steps = list127; - reference95 = obj87; - questRoot16.QuestSequence = list124; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(4773); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - CollectionsMarshal.AsSpan(list128)[0] = "pot0to"; - questRoot17.Author = list128; - num = 3; - List list129 = new List(num); - CollectionsMarshal.SetCount(list129, num); - Span span36 = CollectionsMarshal.AsSpan(list129); - ref QuestSequence reference96 = ref span36[0]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - ref QuestStep reference97 = ref CollectionsMarshal.AsSpan(list130)[0]; - QuestStep obj89 = new QuestStep(EInteractionType.AcceptQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition obj90 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list131 = new List(num3); - CollectionsMarshal.SetCount(list131, num3); - CollectionsMarshal.AsSpan(list131)[0] = 131; - obj90.InTerritory = list131; - skipConditions.AetheryteShortcutIf = obj90; - obj89.SkipConditions = skipConditions; - reference97 = obj89; - obj88.Steps = list130; - reference96 = obj88; - ref QuestSequence reference98 = ref span36[1]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - Span span37 = CollectionsMarshal.AsSpan(list132); - span37[0] = new QuestStep(EInteractionType.Interact, 1045580u, new Vector3(-11.215393f, 14.000013f, 18.417542f), 131); - span37[1] = new QuestStep(EInteractionType.Interact, 1045578u, new Vector3(0.9613037f, 15.000003f, -6.4851074f), 131); - span37[2] = new QuestStep(EInteractionType.Interact, 1045579u, new Vector3(16.372864f, 14.000015f, -16.342468f), 131); - obj91.Steps = list132; - reference98 = obj91; - ref QuestSequence reference99 = ref span36[2]; - QuestSequence obj92 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026937u, new Vector3(65.7511f, 14.005002f, 90.440186f), 131) - { - NextQuestId = new QuestId(4774) - }; - obj92.Steps = list133; - reference99 = obj92; - questRoot17.QuestSequence = list129; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(4774); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list134 = new List(num); - CollectionsMarshal.SetCount(list134, num); - CollectionsMarshal.AsSpan(list134)[0] = "liza"; - questRoot18.Author = list134; - num = 8; - List list135 = new List(num); - CollectionsMarshal.SetCount(list135, num); - Span span38 = CollectionsMarshal.AsSpan(list135); - ref QuestSequence reference100 = ref span38[0]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - ref QuestStep reference101 = ref CollectionsMarshal.AsSpan(list136)[0]; - QuestStep obj94 = new QuestStep(EInteractionType.AcceptQuest, 1035095u, new Vector3(63.004395f, 14.005002f, 89.829834f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition obj95 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list137 = new List(num3); - CollectionsMarshal.SetCount(list137, num3); - CollectionsMarshal.AsSpan(list137)[0] = 131; - obj95.InTerritory = list137; - skipConditions2.AetheryteShortcutIf = obj95; - obj94.SkipConditions = skipConditions2; - reference101 = obj94; - obj93.Steps = list136; - reference100 = obj93; - ref QuestSequence reference102 = ref span38[1]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.Interact, 1045582u, new Vector3(-344.53345f, -2.3744698f, 16.494995f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - } - }; - obj96.Steps = list138; - reference102 = obj96; - ref QuestSequence reference103 = ref span38[2]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.Interact, 1045584u, new Vector3(-233.17316f, 5.999995f, 167.86438f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaArcanist, - To = EAetheryteLocation.LimsaFisher - } - }; - obj97.Steps = list139; - reference103 = obj97; - ref QuestSequence reference104 = ref span38[3]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - Span span39 = CollectionsMarshal.AsSpan(list140); - ref QuestStep reference105 = ref span39[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1045585u, new Vector3(-269.3675f, 7.352252f, 201.43433f), 129); - num3 = 6; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - Span span40 = CollectionsMarshal.AsSpan(list141); - span40[0] = null; - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list141; - reference105 = questStep9; - span39[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-275.1194f, 11.32725f, 188.80133f), 129); - span39[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-267.55106f, 11.852168f, 189.20018f), 129) - { - DisableNavmesh = true - }; - ref QuestStep reference106 = ref span39[3]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1045586u, new Vector3(-246.50952f, 16.347235f, 192.12634f), 129); - num3 = 6; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - Span span41 = CollectionsMarshal.AsSpan(list142); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list142; - reference106 = questStep10; - obj98.Steps = list140; - reference104 = obj98; - ref QuestSequence reference107 = ref span38[4]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.Interact, 1000837u, new Vector3(-289.7536f, 16.347252f, 194.53723f), 129); - obj99.Steps = list143; - reference107 = obj99; - ref QuestSequence reference108 = ref span38[5]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.Interact, 1045587u, new Vector3(-3.7995605f, 39.999966f, 36.697876f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj100.Steps = list144; - reference108 = obj100; - ref QuestSequence reference109 = ref span38[6]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.Interact, 1045601u, new Vector3(-26.962769f, 45.95137f, -27.054321f), 134) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.LimsaZephyrGate - } - }; - obj101.Steps = list145; - reference109 = obj101; - ref QuestSequence reference110 = ref span38[7]; - QuestSequence obj102 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.CompleteQuest, 1035095u, new Vector3(63.004395f, 14.005002f, 89.829834f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - }, - NextQuestId = new QuestId(4775) - }; - obj102.Steps = list146; - reference110 = obj102; - questRoot18.QuestSequence = list135; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(4775); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list147 = new List(num); - CollectionsMarshal.SetCount(list147, num); - CollectionsMarshal.AsSpan(list147)[0] = "liza"; - questRoot19.Author = list147; - num = 6; - List list148 = new List(num); - CollectionsMarshal.SetCount(list148, num); - Span span42 = CollectionsMarshal.AsSpan(list148); - ref QuestSequence reference111 = ref span42[0]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - ref QuestStep reference112 = ref CollectionsMarshal.AsSpan(list149)[0]; - QuestStep obj104 = new QuestStep(EInteractionType.AcceptQuest, 1035095u, new Vector3(63.004395f, 14.005002f, 89.829834f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition obj105 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list150 = new List(num3); - CollectionsMarshal.SetCount(list150, num3); - CollectionsMarshal.AsSpan(list150)[0] = 131; - obj105.InTerritory = list150; - skipConditions3.AetheryteShortcutIf = obj105; - obj104.SkipConditions = skipConditions3; - reference112 = obj104; - obj103.Steps = list149; - reference111 = obj103; - ref QuestSequence reference113 = ref span42[1]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.Interact, 1045603u, new Vector3(56.198975f, -8.45414f, 99.22937f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj106.Steps = list151; - reference113 = obj106; - ref QuestSequence reference114 = ref span42[2]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.Interact, 1045604u, new Vector3(76.89014f, -6f, 55.283447f), 148) - { - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows - }; - obj107.Steps = list152; - reference114 = obj107; - ref QuestSequence reference115 = ref span42[3]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.Interact, 2013282u, new Vector3(190.1731f, -8.529846f, -44.35797f), 148) - { - Fly = true - }; - obj108.Steps = list153; - reference115 = obj108; - ref QuestSequence reference116 = ref span42[4]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.Interact, 2013255u, new Vector3(341.48157f, -4.501404f, -145.8916f), 148) - { - Fly = true - }; - obj109.Steps = list154; - reference116 = obj109; - ref QuestSequence reference117 = ref span42[5]; - QuestSequence obj110 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.CompleteQuest, 1035095u, new Vector3(63.004395f, 14.005002f, 89.829834f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - }, - NextQuestId = new QuestId(4776) - }; - obj110.Steps = list155; - reference117 = obj110; - questRoot19.QuestSequence = list148; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(4776); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list156 = new List(num); - CollectionsMarshal.SetCount(list156, num); - CollectionsMarshal.AsSpan(list156)[0] = "liza"; - questRoot20.Author = list156; - num = 8; - List list157 = new List(num); - CollectionsMarshal.SetCount(list157, num); - Span span43 = CollectionsMarshal.AsSpan(list157); - ref QuestSequence reference118 = ref span43[0]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - ref QuestStep reference119 = ref CollectionsMarshal.AsSpan(list158)[0]; - QuestStep obj112 = new QuestStep(EInteractionType.AcceptQuest, 1035095u, new Vector3(63.004395f, 14.005002f, 89.829834f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition obj113 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list159 = new List(num3); - CollectionsMarshal.SetCount(list159, num3); - CollectionsMarshal.AsSpan(list159)[0] = 131; - obj113.InTerritory = list159; - skipConditions4.AetheryteShortcutIf = obj113; - obj112.SkipConditions = skipConditions4; - reference119 = obj112; - obj111.Steps = list158; - reference118 = obj111; - ref QuestSequence reference120 = ref span43[1]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.Interact, 1045605u, new Vector3(-166.09448f, 2.0333128f, -17.288513f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardSkysteelManufactory - } - }; - obj114.Steps = list160; - reference120 = obj114; - ref QuestSequence reference121 = ref span43[2]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - Span span44 = CollectionsMarshal.AsSpan(list161); - ref QuestStep reference122 = ref span44[0]; - QuestStep obj116 = new QuestStep(EInteractionType.Interact, 1045608u, new Vector3(-14.145203f, 11.965044f, 27.756104f), 419) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSkysteelManufactory, - To = EAetheryteLocation.IshgardLastVigil - } - }; - num3 = 6; - List list162 = new List(num3); - CollectionsMarshal.SetCount(list162, num3); - Span span45 = CollectionsMarshal.AsSpan(list162); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj116.CompletionQuestVariablesFlags = list162; - reference122 = obj116; - ref QuestStep reference123 = ref span44[1]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1045609u, new Vector3(-10.8797f, 11.96515f, 53.543823f), 419); - num3 = 6; - List list163 = new List(num3); - CollectionsMarshal.SetCount(list163, num3); - Span span46 = CollectionsMarshal.AsSpan(list163); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list163; - reference123 = questStep11; - ref QuestStep reference124 = ref span44[2]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1045607u, new Vector3(-55.89386f, 11.965071f, 39.78015f), 419); - num3 = 6; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - Span span47 = CollectionsMarshal.AsSpan(list164); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list164; - reference124 = questStep12; - obj115.Steps = list161; - reference121 = obj115; - ref QuestSequence reference125 = ref span43[3]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.Interact, 1045610u, new Vector3(30.929932f, 11.965028f, 33.6156f), 419); - obj117.Steps = list165; - reference125 = obj117; - ref QuestSequence reference126 = ref span43[4]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.Interact, 1045713u, new Vector3(92.454346f, 24.06099f, -40.177063f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardLastVigil, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj118.Steps = list166; - reference126 = obj118; - ref QuestSequence reference127 = ref span43[5]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.Interact, 1045714u, new Vector3(65.171265f, 24.071722f, -37.521973f), 418); - obj119.Steps = list167; - reference127 = obj119; - ref QuestSequence reference128 = ref span43[6]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.Interact, 1045714u, new Vector3(65.171265f, 24.071722f, -37.521973f), 418); - obj120.Steps = list168; - reference128 = obj120; - ref QuestSequence reference129 = ref span43[7]; - QuestSequence obj121 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - }, - NextQuestId = new QuestId(4777) - }; - obj121.Steps = list169; - reference129 = obj121; - questRoot20.QuestSequence = list157; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(4777); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list170 = new List(num); - CollectionsMarshal.SetCount(list170, num); - CollectionsMarshal.AsSpan(list170)[0] = "liza"; - questRoot21.Author = list170; - num = 3; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - Span span48 = CollectionsMarshal.AsSpan(list171); - ref QuestSequence reference130 = ref span48[0]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - ref QuestStep reference131 = ref CollectionsMarshal.AsSpan(list172)[0]; - QuestStep obj123 = new QuestStep(EInteractionType.AcceptQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipAetheryteCondition obj124 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list173 = new List(num3); - CollectionsMarshal.SetCount(list173, num3); - CollectionsMarshal.AsSpan(list173)[0] = 131; - obj124.InTerritory = list173; - skipConditions5.AetheryteShortcutIf = obj124; - obj123.SkipConditions = skipConditions5; - reference131 = obj123; - obj122.Steps = list172; - reference130 = obj122; - ref QuestSequence reference132 = ref span48[1]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.Interact, 1045715u, new Vector3(21.042175f, 29.999996f, -16.342468f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahWeaver, - To = EAetheryteLocation.UldahChamberOfRule - } - }; - obj125.Steps = list174; - reference132 = obj125; - ref QuestSequence reference133 = ref span48[2]; - QuestSequence obj126 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - StopDistance = 5f, - NextQuestId = new QuestId(4778) - }; - obj126.Steps = list175; - reference133 = obj126; - questRoot21.QuestSequence = list171; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(4778); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - CollectionsMarshal.AsSpan(list176)[0] = "liza"; - questRoot22.Author = list176; - num = 2; - List list177 = new List(num); - CollectionsMarshal.SetCount(list177, num); - Span span49 = CollectionsMarshal.AsSpan(list177); - ref QuestSequence reference134 = ref span49[0]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - ref QuestStep reference135 = ref CollectionsMarshal.AsSpan(list178)[0]; - QuestStep obj128 = new QuestStep(EInteractionType.AcceptQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipAetheryteCondition obj129 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list179 = new List(num3); - CollectionsMarshal.SetCount(list179, num3); - CollectionsMarshal.AsSpan(list179)[0] = 131; - obj129.InTerritory = list179; - skipConditions6.AetheryteShortcutIf = obj129; - obj128.SkipConditions = skipConditions6; - reference135 = obj128; - obj127.Steps = list178; - reference134 = obj127; - ref QuestSequence reference136 = ref span49[1]; - QuestSequence obj130 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.CompleteQuest, 1026852u, new Vector3(63.126587f, 14.005002f, 89.86035f), 131) - { - StopDistance = 5f - }; - obj130.Steps = list180; - reference136 = obj130; - questRoot22.QuestSequence = list177; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(4779); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list181 = new List(num); - CollectionsMarshal.SetCount(list181, num); - CollectionsMarshal.AsSpan(list181)[0] = "pot0to"; - questRoot23.Author = list181; - num = 6; - List list182 = new List(num); - CollectionsMarshal.SetCount(list182, num); - Span span50 = CollectionsMarshal.AsSpan(list182); - ref QuestSequence reference137 = ref span50[0]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - ref QuestStep reference138 = ref CollectionsMarshal.AsSpan(list183)[0]; - QuestStep obj132 = new QuestStep(EInteractionType.AcceptQuest, 1045615u, new Vector3(-115.80072f, 4f, -100.99945f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - num3 = 1; - List list184 = new List(num3); - CollectionsMarshal.SetCount(list184, num3); - CollectionsMarshal.AsSpan(list184)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_SUBWIL901_04779_Q1_000_000"), - Answer = new ExcelRef("TEXT_SUBWIL901_04779_A1_000_001") - }; - obj132.DialogueChoices = list184; - reference138 = obj132; - obj131.Steps = list183; - reference137 = obj131; - ref QuestSequence reference139 = ref span50[1]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.Interact, 1045616u, new Vector3(-379.7818f, -59f, 131.48694f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj133.Steps = list185; - reference139 = obj133; - ref QuestSequence reference140 = ref span50[2]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.Interact, 2013396u, new Vector3(-69.96271f, -21.011719f, -10.177856f), 145) - { - Fly = true - }; - obj134.Steps = list186; - reference140 = obj134; - ref QuestSequence reference141 = ref span50[3]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.Interact, 1045618u, new Vector3(-37.43042f, 11.0769615f, -257.5876f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - obj135.Steps = list187; - reference141 = obj135; - ref QuestSequence reference142 = ref span50[4]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - CollectionsMarshal.AsSpan(list188)[0] = new QuestStep(EInteractionType.Interact, 1045619u, new Vector3(24.612793f, 40f, 80.338745f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj136.Steps = list188; - reference142 = obj136; - ref QuestSequence reference143 = ref span50[5]; - QuestSequence obj137 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045619u, new Vector3(24.612793f, 40f, 80.338745f), 128); - obj137.Steps = list189; - reference143 = obj137; - questRoot23.QuestSequence = list182; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(4780); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list190 = new List(num); - CollectionsMarshal.SetCount(list190, num); - CollectionsMarshal.AsSpan(list190)[0] = "pot0to"; - questRoot24.Author = list190; - num = 7; - List list191 = new List(num); - CollectionsMarshal.SetCount(list191, num); - Span span51 = CollectionsMarshal.AsSpan(list191); - ref QuestSequence reference144 = ref span51[0]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - ref QuestStep reference145 = ref CollectionsMarshal.AsSpan(list192)[0]; - QuestStep obj139 = new QuestStep(EInteractionType.AcceptQuest, 1045619u, new Vector3(24.612793f, 40f, 80.338745f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list193 = new List(num3); - CollectionsMarshal.SetCount(list193, num3); - CollectionsMarshal.AsSpan(list193)[0] = 128; - skipAetheryteCondition.InTerritory = list193; - skipConditions7.AetheryteShortcutIf = skipAetheryteCondition; - obj139.SkipConditions = skipConditions7; - reference145 = obj139; - obj138.Steps = list192; - reference144 = obj138; - ref QuestSequence reference146 = ref span51[1]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.Interact, 1045620u, new Vector3(157.57996f, 14.09586f, 685.81665f), 135) - { - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }; - obj140.Steps = list194; - reference146 = obj140; - ref QuestSequence reference147 = ref span51[2]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - Span span52 = CollectionsMarshal.AsSpan(list195); - span52[0] = new QuestStep(EInteractionType.Interact, 1045624u, new Vector3(199.51172f, 14.119263f, 670.6492f), 135); - span52[1] = new QuestStep(EInteractionType.Interact, 1045623u, new Vector3(162.67639f, 8.973654f, 613.9772f), 135) - { - Fly = true - }; - span52[2] = new QuestStep(EInteractionType.Interact, 1045625u, new Vector3(217.18164f, 8.973654f, 615.77783f), 135); - obj141.Steps = list195; - reference147 = obj141; - ref QuestSequence reference148 = ref span51[3]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.Interact, 1045621u, new Vector3(162.89001f, 12.126945f, 637.0182f), 135) - { - Fly = true - }; - obj142.Steps = list196; - reference148 = obj142; - ref QuestSequence reference149 = ref span51[4]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.Interact, 2013397u, new Vector3(247.8523f, 6.6986694f, 783.505f), 135); - obj143.Steps = list197; - reference149 = obj143; - ref QuestSequence reference150 = ref span51[5]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - CollectionsMarshal.AsSpan(list198)[0] = new QuestStep(EInteractionType.Interact, 1045626u, new Vector3(248.27954f, 6.7779655f, 784.6647f), 135); - obj144.Steps = list198; - reference150 = obj144; - ref QuestSequence reference151 = ref span51[6]; - QuestSequence obj145 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - ref QuestStep reference152 = ref CollectionsMarshal.AsSpan(list199)[0]; - QuestStep obj146 = new QuestStep(EInteractionType.CompleteQuest, 1045615u, new Vector3(-115.80072f, 4f, -100.99945f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - num3 = 1; - List list200 = new List(num3); - CollectionsMarshal.SetCount(list200, num3); - CollectionsMarshal.AsSpan(list200)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_SUBWIL902_04780_Q2_000_000"), - Answer = new ExcelRef("TEXT_SUBWIL902_04780_A2_000_001") - }; - obj146.DialogueChoices = list200; - reference152 = obj146; - obj145.Steps = list199; - reference151 = obj145; - questRoot24.QuestSequence = list191; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(4787); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list201 = new List(num); - CollectionsMarshal.SetCount(list201, num); - CollectionsMarshal.AsSpan(list201)[0] = "liza"; - questRoot25.Author = list201; - num = 7; - List list202 = new List(num); - CollectionsMarshal.SetCount(list202, num); - Span span53 = CollectionsMarshal.AsSpan(list202); - ref QuestSequence reference153 = ref span53[0]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - ref QuestStep reference154 = ref CollectionsMarshal.AsSpan(list203)[0]; - QuestStep questStep13 = new QuestStep(EInteractionType.AcceptQuest, 1043515u, new Vector3(303.39502f, 481.99442f, 152.81909f), 960); - num3 = 1; - List list204 = new List(num3); - CollectionsMarshal.SetCount(list204, num3); - CollectionsMarshal.AsSpan(list204)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANALL310_04787_Q1_000_007"), - Answer = new ExcelRef("TEXT_BANALL310_04787_A1_000_002") - }; - questStep13.DialogueChoices = list204; - reference154 = questStep13; - obj147.Steps = list203; - reference153 = obj147; - ref QuestSequence reference155 = ref span53[1]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.Interact, 1045899u, new Vector3(-164.99585f, -49.302116f, -284.22986f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumBestwaysBurrow - }; - obj148.Steps = list205; - reference155 = obj148; - ref QuestSequence reference156 = ref span53[2]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.Interact, 1044402u, new Vector3(-193.89642f, -49.19972f, -262.13477f), 959); - obj149.Steps = list206; - reference156 = obj149; - ref QuestSequence reference157 = ref span53[3]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - CollectionsMarshal.AsSpan(list207)[0] = new QuestStep(EInteractionType.Interact, 1042300u, new Vector3(-76.82922f, 39.977543f, 309.98706f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj150.Steps = list207; - reference157 = obj150; - ref QuestSequence reference158 = ref span53[4]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.Interact, 1045901u, new Vector3(-79.6369f, 39.981316f, 311.78748f), 957) - { - StopDistance = 5f - }; - obj151.Steps = list208; - reference158 = obj151; - ref QuestSequence reference159 = ref span53[5]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - ref QuestStep reference160 = ref CollectionsMarshal.AsSpan(list209)[0]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1042300u, new Vector3(-76.82922f, 39.977543f, 309.98706f), 957); - num3 = 4; - List list210 = new List(num3); - CollectionsMarshal.SetCount(list210, num3); - Span span54 = CollectionsMarshal.AsSpan(list210); - span54[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANALL310_04787_Q3_000_112") - }; - span54[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANALL310_04787_Q4_000_116"), - Answer = new ExcelRef("TEXT_BANALL310_04787_A4_000_003") - }; - span54[2] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANALL310_04787_Q5_000_120"), - Answer = new ExcelRef("TEXT_BANALL310_04787_A5_000_002") - }; - span54[3] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANALL310_04787_Q6_000_124"), - Answer = new ExcelRef("TEXT_BANALL310_04787_A6_000_003") - }; - questStep14.DialogueChoices = list210; - reference160 = questStep14; - obj152.Steps = list209; - reference159 = obj152; - ref QuestSequence reference161 = ref span53[6]; - QuestSequence obj153 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - CollectionsMarshal.AsSpan(list211)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045901u, new Vector3(-79.6369f, 39.981316f, 311.78748f), 957) - { - StopDistance = 5f - }; - obj153.Steps = list211; - reference161 = obj153; - questRoot25.QuestSequence = list202; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(4788); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list212 = new List(num); - CollectionsMarshal.SetCount(list212, num); - CollectionsMarshal.AsSpan(list212)[0] = "liza"; - questRoot26.Author = list212; - num = 6; - List list213 = new List(num); - CollectionsMarshal.SetCount(list213, num); - Span span55 = CollectionsMarshal.AsSpan(list213); - ref QuestSequence reference162 = ref span55[0]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.AcceptQuest, 1045901u, new Vector3(-79.6369f, 39.981316f, 311.78748f), 957) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj154.Steps = list214; - reference162 = obj154; - ref QuestSequence reference163 = ref span55[1]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - Span span56 = CollectionsMarshal.AsSpan(list215); - span56[0] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960, - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - span56[1] = new QuestStep(EInteractionType.Interact, 1043865u, new Vector3(301.8081f, 482.13644f, 165.02625f), 960) - { - TargetTerritoryId = (ushort)960 - }; - span56[2] = new QuestStep(EInteractionType.Interact, 1045904u, new Vector3(201.46484f, 567.4998f, 241.32141f), 960); - obj155.Steps = list215; - reference163 = obj155; - ref QuestSequence reference164 = ref span55[2]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - ref QuestStep reference165 = ref CollectionsMarshal.AsSpan(list216)[0]; - QuestStep obj157 = new QuestStep(EInteractionType.Interact, 1045905u, new Vector3(491.6609f, 436.9997f, 301.22827f), 960) - { - AetheryteShortcut = EAetheryteLocation.UltimaThuleBaseOmicron - }; - num3 = 1; - List list217 = new List(num3); - CollectionsMarshal.SetCount(list217, num3); - CollectionsMarshal.AsSpan(list217)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANALL320_04788_Q1_000_049"), - Answer = new ExcelRef("TEXT_BANALL320_04788_A1_000_001") - }; - obj157.DialogueChoices = list217; - reference165 = obj157; - obj156.Steps = list216; - reference164 = obj156; - ref QuestSequence reference166 = ref span55[3]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - Span span57 = CollectionsMarshal.AsSpan(list218); - span57[0] = new QuestStep(EInteractionType.Interact, 2013072u, new Vector3(456.65674f, 438.04077f, 310.2312f), 960) - { - TargetTerritoryId = (ushort)960 - }; - span57[1] = new QuestStep(EInteractionType.Interact, 1043951u, new Vector3(303.8529f, 481.99442f, 154.83325f), 960); - obj158.Steps = list218; - reference166 = obj158; - ref QuestSequence reference167 = ref span55[4]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - ref QuestStep reference168 = ref CollectionsMarshal.AsSpan(list219)[0]; - QuestStep obj160 = new QuestStep(EInteractionType.Interact, 2013445u, new Vector3(-386.83148f, 80.85742f, 603.6621f), 960) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UltimaThuleReahTahra - }; - num3 = 2; - List list220 = new List(num3); - CollectionsMarshal.SetCount(list220, num3); - Span span58 = CollectionsMarshal.AsSpan(list220); - span58[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_BANALL320_04788_Q2_000_090") - }; - span58[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANALL320_04788_Q3_000_130"), - Answer = new ExcelRef("TEXT_BANALL320_04788_A3_000_003") - }; - obj160.DialogueChoices = list220; - reference168 = obj160; - obj159.Steps = list219; - reference167 = obj159; - ref QuestSequence reference169 = ref span55[5]; - QuestSequence obj161 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045914u, new Vector3(202.89917f, 567.4998f, 239.9176f), 960) - { - StopDistance = 7f - }; - obj161.Steps = list221; - reference169 = obj161; - questRoot26.QuestSequence = list213; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(4791); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list222 = new List(num); - CollectionsMarshal.SetCount(list222, num); - CollectionsMarshal.AsSpan(list222)[0] = "liza"; - questRoot27.Author = list222; - num = 8; - List list223 = new List(num); - CollectionsMarshal.SetCount(list223, num); - Span span59 = CollectionsMarshal.AsSpan(list223); - ref QuestSequence reference170 = ref span59[0]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042264u, new Vector3(124.22363f, 19.32629f, -617.42584f), 156) - { - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj162.Steps = list224; - reference170 = obj162; - ref QuestSequence reference171 = ref span59[1]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - Span span60 = CollectionsMarshal.AsSpan(list225); - span60[0] = new QuestStep(EInteractionType.Interact, 2012870u, new Vector3(154.46704f, -26.29132f, -437.46094f), 156) - { - StopDistance = 1f, - TargetTerritoryId = (ushort)1061, - Fly = true - }; - span60[1] = new QuestStep(EInteractionType.Interact, 1045968u, new Vector3(5.661072f, 0.099999696f, 5.8441772f), 1061); - obj163.Steps = list225; - reference171 = obj163; - ref QuestSequence reference172 = ref span59[2]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - ref QuestStep reference173 = ref CollectionsMarshal.AsSpan(list226)[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1045971u, new Vector3(1.3580322f, 0.099999696f, 27.237305f), 1061); - num3 = 1; - List list227 = new List(num3); - CollectionsMarshal.SetCount(list227, num3); - CollectionsMarshal.AsSpan(list227)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_AKTKEA301_04791_Q1_100_000") - }; - questStep15.DialogueChoices = list227; - reference173 = questStep15; - obj164.Steps = list226; - reference172 = obj164; - ref QuestSequence reference174 = ref span59[3]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.Interact, 2013455u, new Vector3(-510.1244f, 128.64868f, 607.9956f), 959) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.MareLamentorumSinusLacrimarum - }; - obj165.Steps = list228; - reference174 = obj165; - ref QuestSequence reference175 = ref span59[4]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.Interact, 2012870u, new Vector3(154.46704f, -26.29132f, -437.46094f), 156) - { - StopDistance = 1f, - TargetTerritoryId = (ushort)1061, - Fly = true, - AetheryteShortcut = EAetheryteLocation.MorDhona - }; - obj166.Steps = list229; - reference175 = obj166; - ref QuestSequence reference176 = ref span59[5]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.Interact, 1045974u, new Vector3(2.3651123f, 0.099999696f, -11.215393f), 1061) - { - StopDistance = 5f - }; - obj167.Steps = list230; - reference176 = obj167; - ref QuestSequence reference177 = ref span59[6]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - CollectionsMarshal.AsSpan(list231)[0] = new QuestStep(EInteractionType.Duty, null, null, 1061) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 962u - } - }; - obj168.Steps = list231; - reference177 = obj168; - ref QuestSequence reference178 = ref span59[7]; - QuestSequence obj169 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045982u, new Vector3(945.2506f, -950f, -940.55084f), 1182) - { - NextQuestId = new QuestId(4792) - }; - obj169.Steps = list232; - reference178 = obj169; - questRoot27.QuestSequence = list223; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(4792); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list233 = new List(num); - CollectionsMarshal.SetCount(list233, num); - CollectionsMarshal.AsSpan(list233)[0] = "liza"; - questRoot28.Author = list233; - num = 6; - List list234 = new List(num); - CollectionsMarshal.SetCount(list234, num); - Span span61 = CollectionsMarshal.AsSpan(list234); - ref QuestSequence reference179 = ref span61[0]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.AcceptQuest, 1045985u, new Vector3(945.18945f, -950f, -937.8042f), 1182) - { - StopDistance = 4f - }; - obj170.Steps = list235; - reference179 = obj170; - ref QuestSequence reference180 = ref span61[1]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.Interact, 2013456u, new Vector3(-192.6452f, 18.32605f, 24.36853f), 152) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EastShroudHawthorneHut - }; - obj171.Steps = list236; - reference180 = obj171; - ref QuestSequence reference181 = ref span61[2]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - CollectionsMarshal.AsSpan(list237)[0] = new QuestStep(EInteractionType.Interact, 1045992u, new Vector3(-277.45483f, 16.000862f, 50.461548f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - } - }; - obj172.Steps = list237; - reference181 = obj172; - ref QuestSequence reference182 = ref span61[3]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.Interact, 1045994u, new Vector3(-13.7178955f, 68.37596f, 125.65808f), 135) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaArcanist, - To = EAetheryteLocation.LimsaTempestGate - } - }; - obj173.Steps = list238; - reference182 = obj173; - ref QuestSequence reference183 = ref span61[4]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 4 - }; - num2 = 4; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - Span span62 = CollectionsMarshal.AsSpan(list239); - span62[0] = new QuestStep(EInteractionType.Interact, 1045996u, new Vector3(85.9845f, 68.34592f, 348.989f), 135) - { - Fly = true - }; - span62[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1045996u, new Vector3(45.021595f, 71.30157f, 376.23453f), 135) - { - Mount = false, - Sprint = false - }; - span62[2] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1045996u, new Vector3(43.50745f, 71.30162f, 379.11874f), 135) - { - StopDistance = 10f, - Mount = false, - Sprint = false - }; - span62[3] = new QuestStep(EInteractionType.WalkTo, 1045998u, new Vector3(9.048584f, 66.55368f, 409.53687f), 135) - { - StopDistance = 1f, - Mount = false, - Sprint = false - }; - obj174.Steps = list239; - reference183 = obj174; - ref QuestSequence reference184 = ref span61[5]; - QuestSequence obj175 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045998u, new Vector3(9.048584f, 66.55368f, 409.53687f), 135); - obj175.Steps = list240; - reference184 = obj175; - questRoot28.QuestSequence = list234; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(4794); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list241 = new List(num); - CollectionsMarshal.SetCount(list241, num); - CollectionsMarshal.AsSpan(list241)[0] = "liza"; - questRoot29.Author = list241; - num = 6; - List list242 = new List(num); - CollectionsMarshal.SetCount(list242, num); - Span span63 = CollectionsMarshal.AsSpan(list242); - ref QuestSequence reference185 = ref span63[0]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.AcceptQuest, 1044156u, new Vector3(-276.3562f, 39.993896f, 224.26172f), 1055); - obj176.Steps = list243; - reference185 = obj176; - ref QuestSequence reference186 = ref span63[1]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.Interact, 2013553u, new Vector3(-389.82227f, 3.250122f, 238.02539f), 1055); - obj177.Steps = list244; - reference186 = obj177; - ref QuestSequence reference187 = ref span63[2]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.Interact, 1046221u, new Vector3(-303.12048f, 39.993896f, 244.80042f), 1055); - obj178.Steps = list245; - reference187 = obj178; - ref QuestSequence reference188 = ref span63[3]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - Span span64 = CollectionsMarshal.AsSpan(list246); - ref QuestStep reference189 = ref span64[0]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1046279u, new Vector3(-147.17328f, 48.330666f, 164.38538f), 1055); - num3 = 6; - List list247 = new List(num3); - CollectionsMarshal.SetCount(list247, num3); - Span span65 = CollectionsMarshal.AsSpan(list247); - span65[0] = null; - span65[1] = null; - span65[2] = null; - span65[3] = null; - span65[4] = null; - span65[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list247; - reference189 = questStep16; - ref QuestStep reference190 = ref span64[1]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1046281u, new Vector3(-118.21167f, 91.550545f, 398.79456f), 1055); - num3 = 6; - List list248 = new List(num3); - CollectionsMarshal.SetCount(list248, num3); - Span span66 = CollectionsMarshal.AsSpan(list248); - span66[0] = null; - span66[1] = null; - span66[2] = null; - span66[3] = null; - span66[4] = null; - span66[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list248; - reference190 = questStep17; - obj179.Steps = list246; - reference188 = obj179; - ref QuestSequence reference191 = ref span63[4]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.Interact, 1046221u, new Vector3(-303.12048f, 39.993896f, 244.80042f), 1055); - obj180.Steps = list249; - reference191 = obj180; - ref QuestSequence reference192 = ref span63[5]; - QuestSequence obj181 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - CollectionsMarshal.AsSpan(list250)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046284u, new Vector3(-402.2431f, 1.7196094f, 226.4591f), 1055) - { - StopDistance = 5f - }; - obj181.Steps = list250; - reference192 = obj181; - questRoot29.QuestSequence = list242; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(4799); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list251 = new List(num); - CollectionsMarshal.SetCount(list251, num); - CollectionsMarshal.AsSpan(list251)[0] = "liza"; - questRoot30.Author = list251; - num = 5; - List list252 = new List(num); - CollectionsMarshal.SetCount(list252, num); - Span span67 = CollectionsMarshal.AsSpan(list252); - ref QuestSequence reference193 = ref span67[0]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - CollectionsMarshal.AsSpan(list253)[0] = new QuestStep(EInteractionType.AcceptQuest, 1044768u, new Vector3(11.154297f, -0.00010118321f, 14.816467f), 963); - obj182.Steps = list253; - reference193 = obj182; - ref QuestSequence reference194 = ref span67[1]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.Interact, 1044815u, new Vector3(182.17737f, 5.3180933f, 646.3873f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj183.Steps = list254; - reference194 = obj183; - ref QuestSequence reference195 = ref span67[2]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - Span span68 = CollectionsMarshal.AsSpan(list255); - ref QuestStep reference196 = ref span68[0]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1044821u, new Vector3(216.38806f, 10.035135f, 613.79407f), 957); - num3 = 6; - List list256 = new List(num3); - CollectionsMarshal.SetCount(list256, num3); - Span span69 = CollectionsMarshal.AsSpan(list256); - span69[0] = null; - span69[1] = null; - span69[2] = null; - span69[3] = null; - span69[4] = null; - span69[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list256; - reference196 = questStep18; - ref QuestStep reference197 = ref span68[1]; - QuestStep obj185 = new QuestStep(EInteractionType.Interact, 1044822u, new Vector3(244.09851f, 9.916463f, 575.8601f), 957) - { - Fly = true - }; - num3 = 6; - List list257 = new List(num3); - CollectionsMarshal.SetCount(list257, num3); - Span span70 = CollectionsMarshal.AsSpan(list257); - span70[0] = null; - span70[1] = null; - span70[2] = null; - span70[3] = null; - span70[4] = null; - span70[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj185.CompletionQuestVariablesFlags = list257; - reference197 = obj185; - ref QuestStep reference198 = ref span68[2]; - QuestStep obj186 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(203.62158f, 1.7700036f, 711.6622f), 957) - { - Fly = true - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list258 = new List(num3); - CollectionsMarshal.SetCount(list258, num3); - Span span71 = CollectionsMarshal.AsSpan(list258); - span71[0] = null; - span71[1] = null; - span71[2] = null; - span71[3] = null; - span71[4] = null; - span71[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list258; - skipConditions8.StepIf = skipStepConditions; - obj186.SkipConditions = skipConditions8; - reference198 = obj186; - ref QuestStep reference199 = ref span68[3]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 1044820u, new Vector3(205.09644f, 1.7700036f, 710.84155f), 957); - num3 = 6; - List list259 = new List(num3); - CollectionsMarshal.SetCount(list259, num3); - Span span72 = CollectionsMarshal.AsSpan(list259); - span72[0] = null; - span72[1] = null; - span72[2] = null; - span72[3] = null; - span72[4] = null; - span72[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list259; - reference199 = questStep19; - obj184.Steps = list255; - reference195 = obj184; - ref QuestSequence reference200 = ref span67[3]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.Interact, 1044824u, new Vector3(212.4513f, 4.763736f, 653.65063f), 957) - { - Fly = true - }; - obj187.Steps = list260; - reference200 = obj187; - ref QuestSequence reference201 = ref span67[4]; - QuestSequence obj188 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.CompleteQuest, 1044830u, new Vector3(25.680908f, 1.5596709f, 634.5464f), 957) - { - StopDistance = 5f, - NextQuestId = new QuestId(4800) - }; - obj188.Steps = list261; - reference201 = obj188; - questRoot30.QuestSequence = list252; - AddQuest(questId30, questRoot30); - } - - private static void LoadQuests96() - { - QuestId questId = new QuestId(4800); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 4; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1044835u, new Vector3(24.338135f, 1.6764785f, 631.1284f), 957) - { - StopDistance = 5f - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-18.503275f, 56.94149f, 74.85906f), 957) - { - Fly = true - }; - span2[1] = new QuestStep(EInteractionType.Interact, 1044751u, new Vector3(-16.617126f, 56.856533f, 74.052f), 957); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Duty, null, null, 1183) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 944u - } - }; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.CompleteQuest, 1044768u, new Vector3(11.154297f, -0.00010118321f, 14.816467f), 963) - { - StopDistance = 5f - }; - obj4.Steps = list6; - reference4 = obj4; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(4801); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - CollectionsMarshal.AsSpan(list7)[0] = "WigglyMuffin"; - questRoot2.Author = list7; - questRoot2.IsSeasonalQuest = true; - questRoot2.SeasonalQuestExpiry = new DateTime(2025, 11, 27, 14, 59, 0, DateTimeKind.Utc); - num = 3; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span3 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference5 = ref span3[0]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.AcceptQuest, 1011145u, new Vector3(-65.38495f, 0.06979119f, 0.8086548f), 144) - { - AetheryteShortcut = EAetheryteLocation.GoldSaucer, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference6 = ref span3[1]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span4 = CollectionsMarshal.AsSpan(list10); - span4[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(2.900159f, 20.999727f, 59.821472f), 144) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GoldSaucerEntranceCardSquares, - To = EAetheryteLocation.GoldSaucerWonderSquareWest - }, - JumpDestination = new JumpDestination - { - Position = new Vector3(7.2141614f, 3.9997299f, 60.4036f) - } - }; - ref QuestStep reference7 = ref span4[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1046442u, new Vector3(1.87677f, 3.9997296f, 66.60559f), 144); - int num3 = 1; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - CollectionsMarshal.AsSpan(list11)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_SUBGSC901_04801_SYSTEM_000_011") - }; - questStep.DialogueChoices = list11; - reference7 = questStep; - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference8 = ref span3[2]; - QuestSequence obj7 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046439u, new Vector3(-17.868408f, -3.8732372E-12f, -37.857666f), 1197); - obj7.Steps = list12; - reference8 = obj7; - questRoot2.QuestSequence = list8; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(4806); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = "CryoTechnic"; - questRoot3.Author = list13; - num = 3; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - Span span5 = CollectionsMarshal.AsSpan(list14); - ref QuestSequence reference9 = ref span5[0]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043891u, new Vector3(41.33667f, -24.693443f, -201.67853f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHighCrucible - } - }; - obj8.Steps = list15; - reference9 = obj8; - ref QuestSequence reference10 = ref span5[1]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.PurchaseItem, 1043892u, new Vector3(48.325317f, -0.0003188569f, -12.802368f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanHighCrucible, - To = EAetheryteLocation.RadzAtHan - }, - ItemId = 41032u, - ItemCount = 3, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - obj9.Steps = list16; - reference10 = obj9; - ref QuestSequence reference11 = ref span5[2]; - QuestSequence obj10 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.CompleteQuest, 1043891u, new Vector3(41.33667f, -24.693443f, -201.67853f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHighCrucible - } - }; - obj10.Steps = list17; - reference11 = obj10; - questRoot3.QuestSequence = list14; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(4807); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - CollectionsMarshal.AsSpan(list18)[0] = "CryoTechnic"; - questRoot4.Author = list18; - num = 3; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - Span span6 = CollectionsMarshal.AsSpan(list19); - ref QuestSequence reference12 = ref span6[0]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.AcceptQuest, 1043891u, new Vector3(41.33667f, -24.693443f, -201.67853f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHighCrucible - } - }; - obj11.Steps = list20; - reference12 = obj11; - ref QuestSequence reference13 = ref span6[1]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.PurchaseItem, 1043892u, new Vector3(48.325317f, -0.0003188569f, -12.802368f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanHighCrucible, - To = EAetheryteLocation.RadzAtHan - }, - ItemId = 41032u, - ItemCount = 3, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - obj12.Steps = list21; - reference13 = obj12; - ref QuestSequence reference14 = ref span6[2]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.CompleteQuest, 1043891u, new Vector3(41.33667f, -24.693443f, -201.67853f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHighCrucible - } - }; - obj13.Steps = list22; - reference14 = obj13; - questRoot4.QuestSequence = list19; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(4812); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - CollectionsMarshal.AsSpan(list23)[0] = "liza"; - questRoot5.Author = list23; - num = 6; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - Span span7 = CollectionsMarshal.AsSpan(list24); - ref QuestSequence reference15 = ref span7[0]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.AcceptQuest, 1042599u, new Vector3(31.998047f, 5.1499996f, -67.73486f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj14.Steps = list25; - reference15 = obj14; - ref QuestSequence reference16 = ref span7[1]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.Interact, 1046136u, new Vector3(-341.39008f, 22.3f, -103.74609f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanStudium - } - }; - obj15.Steps = list26; - reference16 = obj15; - ref QuestSequence reference17 = ref span7[2]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.Interact, 1046138u, new Vector3(30.960571f, 5.1499996f, -66.88031f), 962) - { - StopDistance = 7f - }; - obj16.Steps = list27; - reference17 = obj16; - ref QuestSequence reference18 = ref span7[3]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.Interact, 1046139u, new Vector3(87.63245f, -16.247002f, 123.76587f), 962) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanScholarsHarbor - } - }; - obj17.Steps = list28; - reference18 = obj17; - ref QuestSequence reference19 = ref span7[4]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.Interact, 1046141u, new Vector3(-133.4707f, 28.049995f, 219.65356f), 963) - { - StopDistance = 5f - }; - obj18.Steps = list29; - reference19 = obj18; - ref QuestSequence reference20 = ref span7[5]; - QuestSequence obj19 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.CompleteQuest, 2013721u, new Vector3(406.30188f, 13.01593f, -299.8551f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairPalakasStand, - NextQuestId = new QuestId(4813) - }; - obj19.Steps = list30; - reference20 = obj19; - questRoot5.QuestSequence = list24; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(4813); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list31 = new List(num); - CollectionsMarshal.SetCount(list31, num); - CollectionsMarshal.AsSpan(list31)[0] = "liza"; - questRoot6.Author = list31; - num = 7; - List list32 = new List(num); - CollectionsMarshal.SetCount(list32, num); - Span span8 = CollectionsMarshal.AsSpan(list32); - ref QuestSequence reference21 = ref span8[0]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046203u, new Vector3(406.42407f, 3.1168795f, -272.26672f), 957) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.ThavnairPalakasStand, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj20.Steps = list33; - reference21 = obj20; - ref QuestSequence reference22 = ref span8[1]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.Interact, 1046203u, new Vector3(406.42407f, 3.1168795f, -272.26672f), 957) - { - StopDistance = 5f - }; - obj21.Steps = list34; - reference22 = obj21; - ref QuestSequence reference23 = ref span8[2]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - Span span9 = CollectionsMarshal.AsSpan(list35); - ref QuestStep reference24 = ref span9[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1037703u, new Vector3(423.7887f, 3.1168795f, -269.73376f), 957); - num3 = 6; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - Span span10 = CollectionsMarshal.AsSpan(list36); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list36; - reference24 = questStep2; - ref QuestStep reference25 = ref span9[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1037707u, new Vector3(432.02856f, 5.912681f, -225.20789f), 957); - num3 = 6; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - Span span11 = CollectionsMarshal.AsSpan(list37); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list37; - reference25 = questStep3; - ref QuestStep reference26 = ref span9[2]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1039517u, new Vector3(376.6078f, 5.709401f, -220.50812f), 957); - num3 = 6; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - Span span12 = CollectionsMarshal.AsSpan(list38); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list38; - reference26 = questStep4; - obj22.Steps = list35; - reference23 = obj22; - ref QuestSequence reference27 = ref span8[3]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 1046203u, new Vector3(545.292f, 10.612534f, 232.90868f), 957) - { - StopDistance = 0.5f, - Fly = true - }; - obj23.Steps = list39; - reference27 = obj23; - ref QuestSequence reference28 = ref span8[4]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.Interact, 1037630u, new Vector3(401.8158f, 3.1168792f, -273.76215f), 957) - { - StopDistance = 7f - }; - obj24.Steps = list40; - reference28 = obj24; - ref QuestSequence reference29 = ref span8[5]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.Interact, 1042599u, new Vector3(31.998047f, 5.1499996f, -67.73486f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan - }; - obj25.Steps = list41; - reference29 = obj25; - ref QuestSequence reference30 = ref span8[6]; - QuestSequence obj26 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.CompleteQuest, 1042599u, new Vector3(31.998047f, 5.1499996f, -67.73486f), 962); - obj26.Steps = list42; - reference30 = obj26; - questRoot6.QuestSequence = list32; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(4815); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - CollectionsMarshal.AsSpan(list43)[0] = "liza"; - questRoot7.Author = list43; - num = 3; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - Span span13 = CollectionsMarshal.AsSpan(list44); - ref QuestSequence reference31 = ref span13[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046399u, new Vector3(130.05261f, -16.077408f, 190.72253f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanScholarsHarbor - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj27.Steps = list45; - reference31 = obj27; - ref QuestSequence reference32 = ref span13[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 1046401u, new Vector3(92.27124f, -29.53f, -6.607239f), 956) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LabyrinthosSharlayanHamlet - }; - obj28.Steps = list46; - reference32 = obj28; - ref QuestSequence reference33 = ref span13[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046403u, new Vector3(-31.99823f, -31.53043f, -53.26935f), 956) - { - Fly = true - }; - obj29.Steps = list47; - reference33 = obj29; - questRoot7.QuestSequence = list44; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(4816); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - CollectionsMarshal.AsSpan(list48)[0] = "kaiser"; - questRoot8.Author = list48; - num = 4; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - Span span14 = CollectionsMarshal.AsSpan(list49); - ref QuestSequence reference34 = ref span14[0]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046073u, new Vector3(-53.635498f, -29.497286f, -65.14081f), 956) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.LabyrinthosSharlayanHamlet, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-53.635498f, -29.497286f, -65.14081f), - MaximumDistance = 30f, - TerritoryId = 956 - } - } - } - }; - obj30.Steps = list50; - reference34 = obj30; - ref QuestSequence reference35 = ref span14[1]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.Interact, 1046404u, new Vector3(-707.6982f, -31.53043f, 280.38452f), 956) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.LabyrinthosAporia - }; - obj31.Steps = list51; - reference35 = obj31; - ref QuestSequence reference36 = ref span14[2]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - ref QuestStep reference37 = ref CollectionsMarshal.AsSpan(list52)[0]; - QuestStep obj33 = new QuestStep(EInteractionType.Interact, 1046073u, new Vector3(-53.635498f, -29.497286f, -65.14081f), 956) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.LabyrinthosSharlayanHamlet, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-53.635498f, -29.497286f, -65.14081f), - MaximumDistance = 30f, - TerritoryId = 956 - } - } - } - }; - num3 = 1; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - CollectionsMarshal.AsSpan(list53)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_SUBCTS606_04816_Q2_000_055") - }; - obj33.DialogueChoices = list53; - reference37 = obj33; - obj32.Steps = list52; - reference36 = obj32; - ref QuestSequence reference38 = ref span14[3]; - QuestSequence obj34 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046073u, new Vector3(-53.635498f, -29.497286f, -65.14081f), 956) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.LabyrinthosSharlayanHamlet, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-53.635498f, -29.497286f, -65.14081f), - MaximumDistance = 30f, - TerritoryId = 956 - } - } - } - }; - obj34.Steps = list54; - reference38 = obj34; - questRoot8.QuestSequence = list49; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(4817); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - CollectionsMarshal.AsSpan(list55)[0] = "liza"; - questRoot9.Author = list55; - num = 3; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - Span span15 = CollectionsMarshal.AsSpan(list56); - ref QuestSequence reference39 = ref span15[0]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046521u, new Vector3(-46.616333f, -17.97287f, 180.3158f), 1185) - { - StopDistance = 5f - }; - obj35.Steps = list57; - reference39 = obj35; - ref QuestSequence reference40 = ref span15[1]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.Interact, 2014140u, new Vector3(-30.960571f, -17.47168f, 191.36328f), 1185); - obj36.Steps = list58; - reference40 = obj36; - ref QuestSequence reference41 = ref span15[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050871u, new Vector3(-51.895935f, -17.97287f, 182.7268f), 1185); - obj37.Steps = list59; - reference41 = obj37; - questRoot9.QuestSequence = list56; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(4818); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - CollectionsMarshal.AsSpan(list60)[0] = "liza"; - questRoot10.Author = list60; - num = 5; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - Span span16 = CollectionsMarshal.AsSpan(list61); - ref QuestSequence reference42 = ref span16[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048252u, new Vector3(-21.683167f, -19.328289f, 203.14331f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj38.Steps = list62; - reference42 = obj38; - ref QuestSequence reference43 = ref span16[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - Span span17 = CollectionsMarshal.AsSpan(list63); - span17[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(88.44312f, 15.094683f, 33.75105f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - span17[1] = new QuestStep(EInteractionType.Interact, 1011192u, new Vector3(88.36499f, 15.094684f, 31.296265f), 418); - obj39.Steps = list63; - reference43 = obj39; - ref QuestSequence reference44 = ref span16[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.Interact, 1048253u, new Vector3(-223.95673f, -16.134916f, -64.2558f), 419) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardJeweledCrozier - } - }; - obj40.Steps = list64; - reference44 = obj40; - ref QuestSequence reference45 = ref span16[3]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.Interact, 1050461u, new Vector3(87.20532f, 23.979128f, -1.7243042f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardJeweledCrozier, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj41.Steps = list65; - reference45 = obj41; - ref QuestSequence reference46 = ref span16[4]; - QuestSequence obj42 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048255u, new Vector3(39.475098f, 23.979128f, -48.05072f), 418) - { - NextQuestId = new QuestId(4819) - }; - obj42.Steps = list66; - reference46 = obj42; - questRoot10.QuestSequence = list61; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(4819); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - CollectionsMarshal.AsSpan(list67)[0] = "liza"; - questRoot11.Author = list67; - num = 7; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - Span span18 = CollectionsMarshal.AsSpan(list68); - ref QuestSequence reference47 = ref span18[0]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048255u, new Vector3(39.475098f, 23.979128f, -48.05072f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj43.Steps = list69; - reference47 = obj43; - ref QuestSequence reference48 = ref span18[1]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.Interact, 1006433u, new Vector3(202.80762f, 309.07346f, -220.69128f), 155) - { - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj44.Steps = list70; - reference48 = obj44; - ref QuestSequence reference49 = ref span18[2]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.Interact, 1048260u, new Vector3(39.017212f, 208.71985f, 410.26917f), 155) - { - Fly = true - }; - obj45.Steps = list71; - reference49 = obj45; - ref QuestSequence reference50 = ref span18[3]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - ref QuestStep reference51 = ref CollectionsMarshal.AsSpan(list72)[0]; - QuestStep obj47 = new QuestStep(EInteractionType.Combat, null, new Vector3(-20.404095f, 200.07019f, 519.84406f), 155) - { - Fly = false, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - CollectionsMarshal.AsSpan(list73)[0] = 17605u; - obj47.KillEnemyDataIds = list73; - reference51 = obj47; - obj46.Steps = list72; - reference50 = obj46; - ref QuestSequence reference52 = ref span18[4]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.Interact, 1048261u, new Vector3(-19.424805f, 197.58359f, 527.5502f), 155); - obj48.Steps = list74; - reference52 = obj48; - ref QuestSequence reference53 = ref span18[5]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.Interact, 1050461u, new Vector3(87.20532f, 23.979128f, -1.7243042f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj49.Steps = list75; - reference53 = obj49; - ref QuestSequence reference54 = ref span18[6]; - QuestSequence obj50 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048255u, new Vector3(39.475098f, 23.979128f, -48.05072f), 418) - { - NextQuestId = new QuestId(4820) - }; - obj50.Steps = list76; - reference54 = obj50; - questRoot11.QuestSequence = list68; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(4820); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - CollectionsMarshal.AsSpan(list77)[0] = "liza"; - questRoot12.Author = list77; - num = 8; - List list78 = new List(num); - CollectionsMarshal.SetCount(list78, num); - Span span19 = CollectionsMarshal.AsSpan(list78); - ref QuestSequence reference55 = ref span19[0]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - ref QuestStep reference56 = ref CollectionsMarshal.AsSpan(list79)[0]; - QuestStep obj52 = new QuestStep(EInteractionType.AcceptQuest, 1048255u, new Vector3(39.475098f, 23.979128f, -48.05072f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - CollectionsMarshal.AsSpan(list80)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGBA121_04820_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGBA121_04820_A1_000_001") - }; - obj52.DialogueChoices = list80; - reference56 = obj52; - obj51.Steps = list79; - reference55 = obj51; - ref QuestSequence reference57 = ref span19[1]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.Interact, 1011231u, new Vector3(503.1051f, 217.95148f, 790.2189f), 397) - { - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest - }; - obj53.Steps = list81; - reference57 = obj53; - ref QuestSequence reference58 = ref span19[2]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.Interact, 1048270u, new Vector3(459.76953f, 161.99915f, -493.33948f), 397) - { - Fly = true - }; - obj54.Steps = list82; - reference58 = obj54; - ref QuestSequence reference59 = ref span19[3]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - Span span20 = CollectionsMarshal.AsSpan(list83); - span20[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(454.6491f, 164.30826f, -541.31744f), 397); - ref QuestStep reference60 = ref span20[1]; - QuestStep obj56 = new QuestStep(EInteractionType.Combat, null, new Vector3(455.58475f, 157.40831f, -558.01215f), 397) - { - Fly = false, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - Span span21 = CollectionsMarshal.AsSpan(list84); - span21[0] = 17606u; - span21[1] = 17607u; - obj56.KillEnemyDataIds = list84; - reference60 = obj56; - obj55.Steps = list83; - reference59 = obj55; - ref QuestSequence reference61 = ref span19[4]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.Interact, 1048278u, new Vector3(452.84204f, 157.40831f, -556.87805f), 397) - { - StopDistance = 7f - }; - obj57.Steps = list85; - reference61 = obj57; - ref QuestSequence reference62 = ref span19[5]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - ref QuestStep reference63 = ref CollectionsMarshal.AsSpan(list86)[0]; - QuestStep obj59 = new QuestStep(EInteractionType.Combat, null, new Vector3(466.1211f, 161.96898f, -488.2508f), 397) - { - Comment = "You automatically spawn triggering combat", - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - Span span22 = CollectionsMarshal.AsSpan(list87); - span22[0] = 17608u; - span22[1] = 17609u; - span22[2] = 17610u; - obj59.KillEnemyDataIds = list87; - reference63 = obj59; - obj58.Steps = list86; - reference62 = obj58; - ref QuestSequence reference64 = ref span19[6]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 1048271u, new Vector3(464.3778f, 161.94708f, -488.45657f), 397); - obj60.Steps = list88; - reference64 = obj60; - ref QuestSequence reference65 = ref span19[7]; - QuestSequence obj61 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050461u, new Vector3(87.20532f, 23.979128f, -1.7243042f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - }, - NextQuestId = new QuestId(4821) - }; - obj61.Steps = list89; - reference65 = obj61; - questRoot12.QuestSequence = list78; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(4821); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - CollectionsMarshal.AsSpan(list90)[0] = "liza"; - questRoot13.Author = list90; - num = 5; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - Span span23 = CollectionsMarshal.AsSpan(list91); - ref QuestSequence reference66 = ref span23[0]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050461u, new Vector3(87.20532f, 23.979128f, -1.7243042f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj62.Steps = list92; - reference66 = obj62; - ref QuestSequence reference67 = ref span23[1]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - Span span24 = CollectionsMarshal.AsSpan(list93); - ref QuestStep reference68 = ref span24[0]; - QuestStep obj64 = new QuestStep(EInteractionType.Interact, 2013677u, new Vector3(-226.0014f, -11.520569f, 339.9862f), 400) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ChurningMistsZenith - }; - num3 = 6; - List list94 = new List(num3); - CollectionsMarshal.SetCount(list94, num3); - Span span25 = CollectionsMarshal.AsSpan(list94); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj64.CompletionQuestVariablesFlags = list94; - reference68 = obj64; - ref QuestStep reference69 = ref span24[1]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2013676u, new Vector3(-187.79285f, -10.544006f, 366.99463f), 400); - num3 = 6; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - Span span26 = CollectionsMarshal.AsSpan(list95); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list95; - reference69 = questStep5; - obj63.Steps = list93; - reference67 = obj63; - ref QuestSequence reference70 = ref span23[2]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - ref QuestStep reference71 = ref CollectionsMarshal.AsSpan(list96)[0]; - QuestStep obj66 = new QuestStep(EInteractionType.Combat, 2013681u, new Vector3(-527.7333f, 147.11218f, 15.27417f), 399) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshirePrologueGate - }, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list97 = new List(num3); - CollectionsMarshal.SetCount(list97, num3); - CollectionsMarshal.AsSpan(list97)[0] = 17611u; - obj66.KillEnemyDataIds = list97; - reference71 = obj66; - obj65.Steps = list96; - reference70 = obj65; - ref QuestSequence reference72 = ref span23[3]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.Interact, 1048284u, new Vector3(107.80493f, 34.723892f, -8.560364f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj67.Steps = list98; - reference72 = obj67; - ref QuestSequence reference73 = ref span23[4]; - QuestSequence obj68 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048257u, new Vector3(39.81079f, 23.979128f, -48.17273f), 418) - { - StopDistance = 5f, - NextQuestId = new QuestId(4822) - }; - obj68.Steps = list99; - reference73 = obj68; - questRoot13.QuestSequence = list91; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(4822); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - CollectionsMarshal.AsSpan(list100)[0] = "liza"; - questRoot14.Author = list100; - num = 5; - List list101 = new List(num); - CollectionsMarshal.SetCount(list101, num); - Span span27 = CollectionsMarshal.AsSpan(list101); - ref QuestSequence reference74 = ref span27[0]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048257u, new Vector3(39.81079f, 23.979128f, -48.17273f), 418) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Ishgard, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj69.Steps = list102; - reference74 = obj69; - ref QuestSequence reference75 = ref span27[1]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.Interact, 1048257u, new Vector3(39.81079f, 23.979128f, -48.17273f), 418) - { - StopDistance = 5f - }; - obj70.Steps = list103; - reference75 = obj70; - ref QuestSequence reference76 = ref span27[2]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - Span span28 = CollectionsMarshal.AsSpan(list104); - ref QuestStep reference77 = ref span28[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1048286u, new Vector3(106.248535f, 34.723896f, 4.257263f), 418); - num3 = 6; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - Span span29 = CollectionsMarshal.AsSpan(list105); - span29[0] = null; - span29[1] = null; - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list105; - reference77 = questStep6; - ref QuestStep reference78 = ref span28[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1048285u, new Vector3(-21.316895f, 5.504703f, 37.64392f), 418); - num3 = 6; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - Span span30 = CollectionsMarshal.AsSpan(list106); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list106; - reference78 = questStep7; - ref QuestStep reference79 = ref span28[2]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1048287u, new Vector3(-65.049255f, 18.457891f, -77.04285f), 418); - num3 = 6; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - Span span31 = CollectionsMarshal.AsSpan(list107); - span31[0] = null; - span31[1] = null; - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list107; - num3 = 1; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - CollectionsMarshal.AsSpan(list108)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGBA141_04822_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGBA141_04822_A1_000_001") - }; - questStep8.DialogueChoices = list108; - reference79 = questStep8; - obj71.Steps = list104; - reference76 = obj71; - ref QuestSequence reference80 = ref span27[3]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.Interact, 1012163u, new Vector3(128.25195f, 24.458832f, -0.6867676f), 418) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.IshgardSkysteelManufactory, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj72.Steps = list109; - reference80 = obj72; - ref QuestSequence reference81 = ref span27[4]; - QuestSequence obj73 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - ref QuestStep reference82 = ref CollectionsMarshal.AsSpan(list110)[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.CompleteQuest, 1048257u, new Vector3(39.81079f, 23.979128f, -48.17273f), 418); - num3 = 1; - List list111 = new List(num3); - CollectionsMarshal.SetCount(list111, num3); - CollectionsMarshal.AsSpan(list111)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGBA141_04822_Q3_000_000"), - Answer = new ExcelRef("TEXT_KINGBA141_04822_A3_000_002") - }; - questStep9.DialogueChoices = list111; - questStep9.NextQuestId = new QuestId(4823); - reference82 = questStep9; - obj73.Steps = list110; - reference81 = obj73; - questRoot14.QuestSequence = list101; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(4823); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - CollectionsMarshal.AsSpan(list112)[0] = "liza"; - questRoot15.Author = list112; - num = 7; - List list113 = new List(num); - CollectionsMarshal.SetCount(list113, num); - Span span32 = CollectionsMarshal.AsSpan(list113); - ref QuestSequence reference83 = ref span32[0]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048257u, new Vector3(39.81079f, 23.979128f, -48.17273f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj74.Steps = list114; - reference83 = obj74; - ref QuestSequence reference84 = ref span32[1]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.Interact, 1012064u, new Vector3(-542.7787f, -37.11544f, -386.7094f), 401) - { - AetheryteShortcut = EAetheryteLocation.SeaOfCloudsOkZundu - }; - obj75.Steps = list115; - reference84 = obj75; - ref QuestSequence reference85 = ref span32[2]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1048288u, new Vector3(-576.3485f, -52.88129f, -418.6618f), 401) - { - StopDistance = 5f, - Comment = "Dreams of a New Day" - }; - obj76.Steps = list116; - reference85 = obj76; - span32[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference86 = ref span32[4]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.Interact, 1048290u, new Vector3(-781.796f, -90.0236f, -759.7925f), 401) - { - StopDistance = 5f - }; - obj77.Steps = list117; - reference86 = obj77; - ref QuestSequence reference87 = ref span32[5]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.Interact, 1012163u, new Vector3(128.25195f, 24.458832f, -0.6867676f), 418) - { - AetheryteShortcut = EAetheryteLocation.Ishgard, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Ishgard, - To = EAetheryteLocation.IshgardForgottenKnight - } - }; - obj78.Steps = list118; - reference87 = obj78; - ref QuestSequence reference88 = ref span32[6]; - QuestSequence obj79 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048252u, new Vector3(-21.683167f, -19.328289f, 203.14331f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalBaysideBevyMarketplace - } - }; - obj79.Steps = list119; - reference88 = obj79; - questRoot15.QuestSequence = list113; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(4824); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list120 = new List(num); - CollectionsMarshal.SetCount(list120, num); - CollectionsMarshal.AsSpan(list120)[0] = "liza"; - questRoot16.Author = list120; - num = 8; - List list121 = new List(num); - CollectionsMarshal.SetCount(list121, num); - Span span33 = CollectionsMarshal.AsSpan(list121); - ref QuestSequence reference89 = ref span33[0]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046289u, new Vector3(-64.62195f, -17.95485f, 201.28174f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj80.Steps = list122; - reference89 = obj80; - ref QuestSequence reference90 = ref span33[1]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.Interact, 1046291u, new Vector3(-409.07916f, 3.9999695f, 14.846985f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaArcanist - } - }; - obj81.Steps = list123; - reference90 = obj81; - ref QuestSequence reference91 = ref span33[2]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - Span span34 = CollectionsMarshal.AsSpan(list124); - span34[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-387.69412f, 5.999984f, 41.170013f), 129); - span34[1] = new QuestStep(EInteractionType.Interact, 1046292u, new Vector3(-195.36127f, 19.999954f, 112.962524f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaArcanist, - To = EAetheryteLocation.LimsaHawkersAlley - } - }; - obj82.Steps = list124; - reference91 = obj82; - ref QuestSequence reference92 = ref span33[3]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - Span span35 = CollectionsMarshal.AsSpan(list125); - ref QuestStep reference93 = ref span35[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1001540u, new Vector3(-202.68567f, 16f, 56.99243f), 129); - num3 = 6; - List list126 = new List(num3); - CollectionsMarshal.SetCount(list126, num3); - Span span36 = CollectionsMarshal.AsSpan(list126); - span36[0] = null; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list126; - reference93 = questStep10; - ref QuestStep reference94 = ref span35[1]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1003272u, new Vector3(-262.92822f, 16.2f, 51.407593f), 129); - num3 = 6; - List list127 = new List(num3); - CollectionsMarshal.SetCount(list127, num3); - Span span37 = CollectionsMarshal.AsSpan(list127); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list127; - reference94 = questStep11; - ref QuestStep reference95 = ref span35[2]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1003277u, new Vector3(-136.67511f, 18.2f, 16.494995f), 129); - num3 = 6; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - Span span38 = CollectionsMarshal.AsSpan(list128); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list128; - reference95 = questStep12; - obj83.Steps = list125; - reference92 = obj83; - ref QuestSequence reference96 = ref span33[4]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.Interact, 1046293u, new Vector3(-143.35852f, 3.9999998f, 189.6543f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaFisher - } - }; - obj84.Steps = list129; - reference96 = obj84; - ref QuestSequence reference97 = ref span33[5]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.Interact, 1046294u, new Vector3(-115.19043f, 20f, 111.95532f), 129) - { - StopDistance = 1f - }; - obj85.Steps = list130; - reference97 = obj85; - ref QuestSequence reference98 = ref span33[6]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.Action, 1046296u, new Vector3(-114.42743f, 20f, 111.283936f), 129) - { - StopDistance = 10f, - Action = EAction.Esuna - }; - obj86.Steps = list131; - reference98 = obj86; - ref QuestSequence reference99 = ref span33[7]; - QuestSequence obj87 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046290u, new Vector3(-114.091736f, 20f, 111.436646f), 129) - { - NextQuestId = new QuestId(4825) - }; - obj87.Steps = list132; - reference99 = obj87; - questRoot16.QuestSequence = list121; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(4825); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list133 = new List(num); - CollectionsMarshal.SetCount(list133, num); - CollectionsMarshal.AsSpan(list133)[0] = "liza"; - questRoot17.Author = list133; - num = 7; - List list134 = new List(num); - CollectionsMarshal.SetCount(list134, num); - Span span39 = CollectionsMarshal.AsSpan(list134); - ref QuestSequence reference100 = ref span39[0]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046290u, new Vector3(-114.091736f, 20f, 111.436646f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj88.Steps = list135; - reference100 = obj88; - ref QuestSequence reference101 = ref span39[1]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.Interact, 1047092u, new Vector3(297.38306f, -33.02986f, 284.99268f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - obj89.Steps = list136; - reference101 = obj89; - ref QuestSequence reference102 = ref span39[2]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.Interact, 1046297u, new Vector3(211.68835f, -25.006758f, 230.85376f), 138) - { - Fly = true - }; - obj90.Steps = list137; - reference102 = obj90; - ref QuestSequence reference103 = ref span39[3]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - ref QuestStep reference104 = ref CollectionsMarshal.AsSpan(list138)[0]; - QuestStep obj92 = new QuestStep(EInteractionType.Combat, null, new Vector3(465.86716f, 11.231914f, 326.10486f), 138) - { - StopDistance = 0.25f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list139 = new List(num3); - CollectionsMarshal.SetCount(list139, num3); - Span span40 = CollectionsMarshal.AsSpan(list139); - span40[0] = 17612u; - span40[1] = 17613u; - obj92.KillEnemyDataIds = list139; - reference104 = obj92; - obj91.Steps = list138; - reference103 = obj91; - ref QuestSequence reference105 = ref span39[4]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.Interact, 1046302u, new Vector3(465.50684f, 11.444184f, 330.89185f), 138) - { - StopDistance = 7f - }; - obj93.Steps = list140; - reference105 = obj93; - ref QuestSequence reference106 = ref span39[5]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.Action, 1046303u, new Vector3(462.39404f, 11.569952f, 329.57947f), 138) - { - StopDistance = 10f, - Action = EAction.Esuna - }; - obj94.Steps = list141; - reference106 = obj94; - ref QuestSequence reference107 = ref span39[6]; - QuestSequence obj95 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046290u, new Vector3(-114.091736f, 20f, 111.436646f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - NextQuestId = new QuestId(4826) - }; - obj95.Steps = list142; - reference107 = obj95; - questRoot17.QuestSequence = list134; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(4826); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - CollectionsMarshal.AsSpan(list143)[0] = "liza"; - questRoot18.Author = list143; - num = 6; - List list144 = new List(num); - CollectionsMarshal.SetCount(list144, num); - Span span41 = CollectionsMarshal.AsSpan(list144); - ref QuestSequence reference108 = ref span41[0]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046290u, new Vector3(-114.091736f, 20f, 111.436646f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj96.Steps = list145; - reference108 = obj96; - ref QuestSequence reference109 = ref span41[1]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.Interact, 1046307u, new Vector3(216.84595f, 14.096056f, 660.3646f), 135) - { - AetheryteShortcut = EAetheryteLocation.LowerLaNosceaMorabyDrydocks - }; - obj97.Steps = list146; - reference109 = obj97; - ref QuestSequence reference110 = ref span41[2]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.Interact, 1046309u, new Vector3(106.7063f, 22.880846f, 618.4634f), 135) - { - Fly = true - }; - obj98.Steps = list147; - reference110 = obj98; - ref QuestSequence reference111 = ref span41[3]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.Interact, 1046308u, new Vector3(217.39526f, 14.096056f, 658.7776f), 135) - { - Fly = true - }; - obj99.Steps = list148; - reference111 = obj99; - ref QuestSequence reference112 = ref span41[4]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - ref QuestStep reference113 = ref CollectionsMarshal.AsSpan(list149)[0]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1046307u, new Vector3(216.84595f, 14.096056f, 660.3646f), 135); - num3 = 1; - List list150 = new List(num3); - CollectionsMarshal.SetCount(list150, num3); - CollectionsMarshal.AsSpan(list150)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGBA221_04826_Q1_000_048"), - Answer = new ExcelRef("TEXT_KINGBA221_04826_A1_000_002") - }; - questStep13.DialogueChoices = list150; - reference113 = questStep13; - obj100.Steps = list149; - reference112 = obj100; - ref QuestSequence reference114 = ref span41[5]; - QuestSequence obj101 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046290u, new Vector3(-114.091736f, 20f, 111.436646f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - NextQuestId = new QuestId(4827) - }; - obj101.Steps = list151; - reference114 = obj101; - questRoot18.QuestSequence = list144; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(4827); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list152 = new List(num); - CollectionsMarshal.SetCount(list152, num); - CollectionsMarshal.AsSpan(list152)[0] = "liza"; - questRoot19.Author = list152; - num = 6; - List list153 = new List(num); - CollectionsMarshal.SetCount(list153, num); - Span span42 = CollectionsMarshal.AsSpan(list153); - ref QuestSequence reference115 = ref span42[0]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046290u, new Vector3(-114.091736f, 20f, 111.436646f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj102.Steps = list154; - reference115 = obj102; - ref QuestSequence reference116 = ref span42[1]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.Interact, 1046310u, new Vector3(268.39087f, -25f, 264.05737f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - obj103.Steps = list155; - reference116 = obj103; - ref QuestSequence reference117 = ref span42[2]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.Interact, 1046311u, new Vector3(384.60352f, 0.14576934f, 74.32666f), 139) - { - AetheryteShortcut = EAetheryteLocation.UpperLaNosceaCampBronzeLake - }; - obj104.Steps = list156; - reference117 = obj104; - ref QuestSequence reference118 = ref span42[3]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - Span span43 = CollectionsMarshal.AsSpan(list157); - ref QuestStep reference119 = ref span43[0]; - QuestStep obj106 = new QuestStep(EInteractionType.Action, 1046314u, new Vector3(457.60278f, 4.1072555f, 103.89868f), 139) - { - Action = EAction.Esuna - }; - num3 = 6; - List list158 = new List(num3); - CollectionsMarshal.SetCount(list158, num3); - Span span44 = CollectionsMarshal.AsSpan(list158); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj106.CompletionQuestVariablesFlags = list158; - reference119 = obj106; - ref QuestStep reference120 = ref span43[1]; - QuestStep obj107 = new QuestStep(EInteractionType.Action, 1046313u, new Vector3(432.6084f, 8.108173f, 133.80627f), 139) - { - Action = EAction.Esuna - }; - num3 = 6; - List list159 = new List(num3); - CollectionsMarshal.SetCount(list159, num3); - Span span45 = CollectionsMarshal.AsSpan(list159); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj107.CompletionQuestVariablesFlags = list159; - reference120 = obj107; - ref QuestStep reference121 = ref span43[2]; - QuestStep obj108 = new QuestStep(EInteractionType.Action, 1046312u, new Vector3(413.0464f, 3.616333f, 113.969604f), 139) - { - Action = EAction.Esuna - }; - num3 = 6; - List list160 = new List(num3); - CollectionsMarshal.SetCount(list160, num3); - Span span46 = CollectionsMarshal.AsSpan(list160); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj108.CompletionQuestVariablesFlags = list160; - reference121 = obj108; - obj105.Steps = list157; - reference118 = obj105; - ref QuestSequence reference122 = ref span42[4]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.Interact, 1046316u, new Vector3(415.8236f, 8.12099f, 40.72632f), 139); - obj109.Steps = list161; - reference122 = obj109; - ref QuestSequence reference123 = ref span42[5]; - QuestSequence obj110 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046290u, new Vector3(-114.091736f, 20f, 111.436646f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - NextQuestId = new QuestId(4828) - }; - obj110.Steps = list162; - reference123 = obj110; - questRoot19.QuestSequence = list153; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(4828); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list163 = new List(num); - CollectionsMarshal.SetCount(list163, num); - CollectionsMarshal.AsSpan(list163)[0] = "liza"; - questRoot20.Author = list163; - num = 8; - List list164 = new List(num); - CollectionsMarshal.SetCount(list164, num); - Span span47 = CollectionsMarshal.AsSpan(list164); - ref QuestSequence reference124 = ref span47[0]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046290u, new Vector3(-114.091736f, 20f, 111.436646f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj111.Steps = list165; - reference124 = obj111; - ref QuestSequence reference125 = ref span47[1]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - ref QuestStep reference126 = ref CollectionsMarshal.AsSpan(list166)[0]; - QuestStep obj113 = new QuestStep(EInteractionType.Interact, 1046317u, new Vector3(570.18384f, 20.721313f, 451.34656f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - num3 = 1; - List list167 = new List(num3); - CollectionsMarshal.SetCount(list167, num3); - CollectionsMarshal.AsSpan(list167)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGBA241_04828_Q1_000_013"), - Answer = new ExcelRef("TEXT_KINGBA241_04828_A1_000_001") - }; - obj113.DialogueChoices = list167; - reference126 = obj113; - obj112.Steps = list166; - reference125 = obj112; - ref QuestSequence reference127 = ref span47[2]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.Interact, 1046317u, new Vector3(570.18384f, 20.721313f, 451.34656f), 137); - obj114.Steps = list168; - reference127 = obj114; - ref QuestSequence reference128 = ref span47[3]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - ref QuestStep reference129 = ref CollectionsMarshal.AsSpan(list169)[0]; - QuestStep obj116 = new QuestStep(EInteractionType.Combat, 2013561u, new Vector3(-220.44714f, 35.78235f, 268.05518f), 137) - { - StopDistance = 0.25f, - Fly = true, - Comment = "two waves of enemies", - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 3; - List list170 = new List(num3); - CollectionsMarshal.SetCount(list170, num3); - Span span48 = CollectionsMarshal.AsSpan(list170); - span48[0] = 17614u; - span48[1] = 17615u; - span48[2] = 17616u; - obj116.KillEnemyDataIds = list170; - reference129 = obj116; - obj115.Steps = list169; - reference128 = obj115; - ref QuestSequence reference130 = ref span47[4]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.Interact, 1046318u, new Vector3(-98.95477f, 34.20764f, 220.44702f), 137); - obj117.Steps = list171; - reference130 = obj117; - ref QuestSequence reference131 = ref span47[5]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.Interact, 1046318u, new Vector3(-98.95477f, 34.20764f, 220.44702f), 137); - obj118.Steps = list172; - reference131 = obj118; - ref QuestSequence reference132 = ref span47[6]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.Interact, 1046317u, new Vector3(570.18384f, 20.721313f, 451.34656f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj119.Steps = list173; - reference132 = obj119; - ref QuestSequence reference133 = ref span47[7]; - QuestSequence obj120 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046290u, new Vector3(-114.091736f, 20f, 111.436646f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - NextQuestId = new QuestId(4829) - }; - obj120.Steps = list174; - reference133 = obj120; - questRoot20.QuestSequence = list164; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(4829); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list175 = new List(num); - CollectionsMarshal.SetCount(list175, num); - CollectionsMarshal.AsSpan(list175)[0] = "liza"; - questRoot21.Author = list175; - num = 7; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - Span span49 = CollectionsMarshal.AsSpan(list176); - ref QuestSequence reference134 = ref span49[0]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046290u, new Vector3(-114.091736f, 20f, 111.436646f), 129) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj121.Steps = list177; - reference134 = obj121; - ref QuestSequence reference135 = ref span49[1]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.Interact, 1046319u, new Vector3(-335.3476f, 69.418495f, 155.87085f), 137) - { - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaWineport - }; - obj122.Steps = list178; - reference135 = obj122; - ref QuestSequence reference136 = ref span49[2]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - CollectionsMarshal.AsSpan(list179)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1046319u, new Vector3(-335.3476f, 69.418495f, 155.87085f), 137); - obj123.Steps = list179; - reference136 = obj123; - span49[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference137 = ref span49[4]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.Interact, 1046319u, new Vector3(-335.3476f, 69.418495f, 155.87085f), 137) - { - StopDistance = 5f - }; - obj124.Steps = list180; - reference137 = obj124; - ref QuestSequence reference138 = ref span49[5]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.Interact, 1046320u, new Vector3(267.01758f, -25f, 264.88135f), 138) - { - AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport - }; - obj125.Steps = list181; - reference138 = obj125; - ref QuestSequence reference139 = ref span49[6]; - QuestSequence obj126 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046289u, new Vector3(-64.62195f, -17.95485f, 201.28174f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalBaysideBevyMarketplace - } - }; - obj126.Steps = list182; - reference139 = obj126; - questRoot21.QuestSequence = list176; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(4830); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - CollectionsMarshal.AsSpan(list183)[0] = "liza"; - questRoot22.Author = list183; - num = 7; - List list184 = new List(num); - CollectionsMarshal.SetCount(list184, num); - Span span50 = CollectionsMarshal.AsSpan(list184); - ref QuestSequence reference140 = ref span50[0]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048295u, new Vector3(-74.143616f, -19.32829f, 198.68762f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj127.Steps = list185; - reference140 = obj127; - ref QuestSequence reference141 = ref span50[1]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - Span span51 = CollectionsMarshal.AsSpan(list186); - ref QuestStep reference142 = ref span51[0]; - QuestStep obj129 = new QuestStep(EInteractionType.Interact, 1019038u, new Vector3(-55.222473f, -2.9000003f, -65.65961f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeShiokazeHostelry - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 6; - List list187 = new List(num3); - CollectionsMarshal.SetCount(list187, num3); - Span span52 = CollectionsMarshal.AsSpan(list187); - span52[0] = null; - span52[1] = null; - span52[2] = null; - span52[3] = null; - span52[4] = null; - span52[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj129.CompletionQuestVariablesFlags = list187; - reference142 = obj129; - ref QuestStep reference143 = ref span51[1]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1019003u, new Vector3(-41.24518f, -3.0000017f, -63.09613f), 628); - num3 = 6; - List list188 = new List(num3); - CollectionsMarshal.SetCount(list188, num3); - Span span53 = CollectionsMarshal.AsSpan(list188); - span53[0] = null; - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list188; - reference143 = questStep14; - ref QuestStep reference144 = ref span51[2]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1019069u, new Vector3(-62.119568f, 8f, -56.62628f), 628); - num3 = 6; - List list189 = new List(num3); - CollectionsMarshal.SetCount(list189, num3); - Span span54 = CollectionsMarshal.AsSpan(list189); - span54[0] = null; - span54[1] = null; - span54[2] = null; - span54[3] = null; - span54[4] = null; - span54[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list189; - reference144 = questStep15; - obj128.Steps = list186; - reference141 = obj128; - ref QuestSequence reference145 = ref span50[2]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.Interact, 1051620u, new Vector3(111.40613f, 11.997255f, -52.048523f), 628); - obj130.Steps = list190; - reference145 = obj130; - ref QuestSequence reference146 = ref span50[3]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.Interact, 1048296u, new Vector3(111.40613f, 11.997235f, -52.018066f), 628); - obj131.Steps = list191; - reference146 = obj131; - ref QuestSequence reference147 = ref span50[4]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.Interact, 2013689u, new Vector3(29.251465f, 5.935669f, -129.62543f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeSekiseigumiBarracks, - To = EAetheryteLocation.KuganeRakuzaDistrict - } - }; - obj132.Steps = list192; - reference147 = obj132; - ref QuestSequence reference148 = ref span50[5]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.Interact, 2013690u, new Vector3(14.114502f, 3.982544f, 43.411865f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeRakuzaDistrict, - To = EAetheryteLocation.KuganeMarkets - } - }; - obj133.Steps = list193; - reference148 = obj133; - ref QuestSequence reference149 = ref span50[6]; - QuestSequence obj134 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048296u, new Vector3(111.40613f, 11.997235f, -52.018066f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeMarkets, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - }, - NextQuestId = new QuestId(4831) - }; - obj134.Steps = list194; - reference149 = obj134; - questRoot22.QuestSequence = list184; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(4831); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list195 = new List(num); - CollectionsMarshal.SetCount(list195, num); - CollectionsMarshal.AsSpan(list195)[0] = "liza"; - questRoot23.Author = list195; - num = 6; - List list196 = new List(num); - CollectionsMarshal.SetCount(list196, num); - Span span55 = CollectionsMarshal.AsSpan(list196); - ref QuestSequence reference150 = ref span55[0]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - ref QuestStep reference151 = ref CollectionsMarshal.AsSpan(list197)[0]; - QuestStep obj136 = new QuestStep(EInteractionType.AcceptQuest, 1048296u, new Vector3(111.40613f, 11.997235f, -52.018066f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list198 = new List(num3); - CollectionsMarshal.SetCount(list198, num3); - CollectionsMarshal.AsSpan(list198)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGBA311_04831_Q2_000_000"), - Answer = new ExcelRef("TEXT_KINGBA311_04831_A2_000_002") - }; - obj136.DialogueChoices = list198; - reference151 = obj136; - obj135.Steps = list197; - reference150 = obj135; - ref QuestSequence reference152 = ref span55[1]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - CollectionsMarshal.AsSpan(list199)[0] = new QuestStep(EInteractionType.Interact, 1019154u, new Vector3(829.1294f, 5.9230084f, 859.739f), 613) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeSekiseigumiBarracks, - To = EAetheryteLocation.KuganeRubyPrice - } - }; - obj137.Steps = list199; - reference152 = obj137; - ref QuestSequence reference153 = ref span55[2]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - Span span56 = CollectionsMarshal.AsSpan(list200); - ref QuestStep reference154 = ref span56[0]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1019169u, new Vector3(476.82898f, 30.113333f, 763.546f), 613); - num3 = 6; - List list201 = new List(num3); - CollectionsMarshal.SetCount(list201, num3); - Span span57 = CollectionsMarshal.AsSpan(list201); - span57[0] = null; - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list201; - reference154 = questStep16; - ref QuestStep reference155 = ref span56[1]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1019167u, new Vector3(447.56226f, 34.29651f, 732.66187f), 613); - num3 = 6; - List list202 = new List(num3); - CollectionsMarshal.SetCount(list202, num3); - Span span58 = CollectionsMarshal.AsSpan(list202); - span58[0] = null; - span58[1] = null; - span58[2] = null; - span58[3] = null; - span58[4] = null; - span58[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list202; - reference155 = questStep17; - obj138.Steps = list200; - reference153 = obj138; - ref QuestSequence reference156 = ref span55[3]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.Interact, 1048299u, new Vector3(463.46216f, 29.787891f, 736.8428f), 613); - obj139.Steps = list203; - reference156 = obj139; - ref QuestSequence reference157 = ref span55[4]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - Span span59 = CollectionsMarshal.AsSpan(list204); - span59[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(426.16245f, 0.7213422f, 195.08597f), 613) - { - Fly = true - }; - span59[1] = new QuestStep(EInteractionType.Interact, 1048301u, new Vector3(427.78674f, 0.5689501f, 195.39172f), 613); - obj140.Steps = list204; - reference157 = obj140; - ref QuestSequence reference158 = ref span55[5]; - QuestSequence obj141 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048296u, new Vector3(111.40613f, 11.997235f, -52.018066f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - }, - NextQuestId = new QuestId(4832) - }; - obj141.Steps = list205; - reference158 = obj141; - questRoot23.QuestSequence = list196; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(4832); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list206 = new List(num); - CollectionsMarshal.SetCount(list206, num); - CollectionsMarshal.AsSpan(list206)[0] = "liza"; - questRoot24.Author = list206; - num = 5; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - Span span60 = CollectionsMarshal.AsSpan(list207); - ref QuestSequence reference159 = ref span60[0]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048296u, new Vector3(111.40613f, 11.997235f, -52.018066f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj142.Steps = list208; - reference159 = obj142; - ref QuestSequence reference160 = ref span60[1]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - Span span61 = CollectionsMarshal.AsSpan(list209); - ref QuestStep reference161 = ref span61[0]; - QuestStep obj144 = new QuestStep(EInteractionType.Interact, 1019260u, new Vector3(417.5935f, 68.02854f, -110.24652f), 614) - { - AetheryteShortcut = EAetheryteLocation.YanxiaNamai, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 6; - List list210 = new List(num3); - CollectionsMarshal.SetCount(list210, num3); - Span span62 = CollectionsMarshal.AsSpan(list210); - span62[0] = null; - span62[1] = null; - span62[2] = null; - span62[3] = null; - span62[4] = null; - span62[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj144.CompletionQuestVariablesFlags = list210; - reference161 = obj144; - ref QuestStep reference162 = ref span61[1]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1019257u, new Vector3(468.55872f, 68.02771f, -93.21747f), 614); - num3 = 6; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - Span span63 = CollectionsMarshal.AsSpan(list211); - span63[0] = null; - span63[1] = null; - span63[2] = null; - span63[3] = null; - span63[4] = null; - span63[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list211; - reference162 = questStep18; - ref QuestStep reference163 = ref span61[2]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 1019262u, new Vector3(445.76172f, 58.67623f, -155.62683f), 614); - num3 = 6; - List list212 = new List(num3); - CollectionsMarshal.SetCount(list212, num3); - Span span64 = CollectionsMarshal.AsSpan(list212); - span64[0] = null; - span64[1] = null; - span64[2] = null; - span64[3] = null; - span64[4] = null; - span64[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list212; - reference163 = questStep19; - obj143.Steps = list209; - reference160 = obj143; - ref QuestSequence reference164 = ref span60[2]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - CollectionsMarshal.AsSpan(list213)[0] = new QuestStep(EInteractionType.Interact, 1048302u, new Vector3(399.95422f, 76.04927f, -114.885254f), 614) - { - StopDistance = 0.5f, - Fly = true - }; - obj145.Steps = list213; - reference164 = obj145; - ref QuestSequence reference165 = ref span60[3]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.Interact, 1048304u, new Vector3(421.3473f, 1.7278045f, -278.70605f), 614) - { - Fly = true - }; - obj146.Steps = list214; - reference165 = obj146; - ref QuestSequence reference166 = ref span60[4]; - QuestSequence obj147 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048296u, new Vector3(111.40613f, 11.997235f, -52.018066f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - }, - NextQuestId = new QuestId(4833) - }; - obj147.Steps = list215; - reference166 = obj147; - questRoot24.QuestSequence = list207; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(4833); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list216 = new List(num); - CollectionsMarshal.SetCount(list216, num); - CollectionsMarshal.AsSpan(list216)[0] = "liza"; - questRoot25.Author = list216; - num = 5; - List list217 = new List(num); - CollectionsMarshal.SetCount(list217, num); - Span span65 = CollectionsMarshal.AsSpan(list217); - ref QuestSequence reference167 = ref span65[0]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - CollectionsMarshal.AsSpan(list218)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048297u, new Vector3(111.40613f, 11.997235f, -52.018066f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj148.Steps = list218; - reference167 = obj148; - ref QuestSequence reference168 = ref span65[1]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - CollectionsMarshal.AsSpan(list219)[0] = new QuestStep(EInteractionType.Interact, 2013691u, new Vector3(203.8147f, 12.069824f, 773.0067f), 613) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeSekiseigumiBarracks, - To = EAetheryteLocation.KuganeRubyPrice - } - }; - obj149.Steps = list219; - reference168 = obj149; - ref QuestSequence reference169 = ref span65[2]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - ref QuestStep reference170 = ref CollectionsMarshal.AsSpan(list220)[0]; - QuestStep obj151 = new QuestStep(EInteractionType.Combat, 2013692u, new Vector3(138.59766f, 9.292725f, 676.6002f), 613) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 3; - List list221 = new List(num3); - CollectionsMarshal.SetCount(list221, num3); - Span span66 = CollectionsMarshal.AsSpan(list221); - span66[0] = 17617u; - span66[1] = 17618u; - span66[2] = 17619u; - obj151.KillEnemyDataIds = list221; - reference170 = obj151; - obj150.Steps = list220; - reference169 = obj150; - ref QuestSequence reference171 = ref span65[3]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - CollectionsMarshal.AsSpan(list222)[0] = new QuestStep(EInteractionType.Interact, 2013693u, new Vector3(167.89502f, 2.1209717f, 561.27246f), 613) - { - Fly = true - }; - obj152.Steps = list222; - reference171 = obj152; - ref QuestSequence reference172 = ref span65[4]; - QuestSequence obj153 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - CollectionsMarshal.AsSpan(list223)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048297u, new Vector3(111.40613f, 11.997235f, -52.018066f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - }, - NextQuestId = new QuestId(4834) - }; - obj153.Steps = list223; - reference172 = obj153; - questRoot25.QuestSequence = list217; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(4834); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list224 = new List(num); - CollectionsMarshal.SetCount(list224, num); - CollectionsMarshal.AsSpan(list224)[0] = "liza"; - questRoot26.Author = list224; - num = 7; - List list225 = new List(num); - CollectionsMarshal.SetCount(list225, num); - Span span67 = CollectionsMarshal.AsSpan(list225); - ref QuestSequence reference173 = ref span67[0]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - CollectionsMarshal.AsSpan(list226)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048297u, new Vector3(111.40613f, 11.997235f, -52.018066f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj154.Steps = list226; - reference173 = obj154; - ref QuestSequence reference174 = ref span67[1]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - Span span68 = CollectionsMarshal.AsSpan(list227); - span68[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(42.052795f, 4.000001f, 71.14965f), 628) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeSekiseigumiBarracks, - To = EAetheryteLocation.KuganeMarkets - } - }; - span68[1] = new QuestStep(EInteractionType.Interact, 1018984u, new Vector3(42.34375f, 4.8365364f, 73.83838f), 628); - obj155.Steps = list227; - reference174 = obj155; - ref QuestSequence reference175 = ref span67[2]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.Interact, 1019065u, new Vector3(80.49133f, 4f, 56.443115f), 628); - obj156.Steps = list228; - reference175 = obj156; - ref QuestSequence reference176 = ref span67[3]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.UseItem, 2013694u, new Vector3(517.2654f, 0.99176025f, -692.10345f), 613) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RubySeaOnokoro, - ItemId = 2003492u - }; - obj157.Steps = list229; - reference176 = obj157; - ref QuestSequence reference177 = ref span67[4]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - ref QuestStep reference178 = ref CollectionsMarshal.AsSpan(list230)[0]; - QuestStep obj159 = new QuestStep(EInteractionType.Combat, 2013695u, new Vector3(519.76794f, 0.99176025f, -679.8352f), 613) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list231 = new List(num3); - CollectionsMarshal.SetCount(list231, num3); - CollectionsMarshal.AsSpan(list231)[0] = 17620u; - obj159.KillEnemyDataIds = list231; - reference178 = obj159; - obj158.Steps = list230; - reference177 = obj158; - ref QuestSequence reference179 = ref span67[5]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.Interact, 1019065u, new Vector3(80.49133f, 4f, 56.443115f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeMarkets - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj160.Steps = list232; - reference179 = obj160; - ref QuestSequence reference180 = ref span67[6]; - QuestSequence obj161 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - CollectionsMarshal.AsSpan(list233)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048298u, new Vector3(111.40613f, 11.997235f, -52.018066f), 628) - { - NextQuestId = new QuestId(4835) - }; - obj161.Steps = list233; - reference180 = obj161; - questRoot26.QuestSequence = list225; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(4835); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list234 = new List(num); - CollectionsMarshal.SetCount(list234, num); - CollectionsMarshal.AsSpan(list234)[0] = "liza"; - questRoot27.Author = list234; - num = 7; - List list235 = new List(num); - CollectionsMarshal.SetCount(list235, num); - Span span69 = CollectionsMarshal.AsSpan(list235); - ref QuestSequence reference181 = ref span69[0]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048298u, new Vector3(111.40613f, 11.997235f, -52.018066f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj162.Steps = list236; - reference181 = obj162; - ref QuestSequence reference182 = ref span69[1]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - Span span70 = CollectionsMarshal.AsSpan(list237); - ref QuestStep reference183 = ref span70[0]; - QuestStep obj164 = new QuestStep(EInteractionType.Interact, 1019350u, new Vector3(563.2562f, -19.505632f, 319.11182f), 622) - { - AetheryteShortcut = EAetheryteLocation.AzimSteppeReunion, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 6; - List list238 = new List(num3); - CollectionsMarshal.SetCount(list238, num3); - Span span71 = CollectionsMarshal.AsSpan(list238); - span71[0] = null; - span71[1] = null; - span71[2] = null; - span71[3] = null; - span71[4] = null; - span71[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj164.CompletionQuestVariablesFlags = list238; - reference183 = obj164; - ref QuestStep reference184 = ref span70[1]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 1019351u, new Vector3(548.8822f, -19.505648f, 295.1858f), 622); - num3 = 6; - List list239 = new List(num3); - CollectionsMarshal.SetCount(list239, num3); - Span span72 = CollectionsMarshal.AsSpan(list239); - span72[0] = null; - span72[1] = null; - span72[2] = null; - span72[3] = null; - span72[4] = null; - span72[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep20.CompletionQuestVariablesFlags = list239; - reference184 = questStep20; - ref QuestStep reference185 = ref span70[2]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1019353u, new Vector3(544.0298f, -19.505642f, 391.68372f), 622); - num3 = 6; - List list240 = new List(num3); - CollectionsMarshal.SetCount(list240, num3); - Span span73 = CollectionsMarshal.AsSpan(list240); - span73[0] = null; - span73[1] = null; - span73[2] = null; - span73[3] = null; - span73[4] = null; - span73[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep21.CompletionQuestVariablesFlags = list240; - reference185 = questStep21; - obj163.Steps = list237; - reference182 = obj163; - ref QuestSequence reference186 = ref span69[2]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.Interact, 1048305u, new Vector3(591.08875f, -19.505634f, 296.9253f), 622) - { - Fly = true - }; - obj165.Steps = list241; - reference186 = obj165; - ref QuestSequence reference187 = ref span69[3]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - CollectionsMarshal.AsSpan(list242)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1048305u, new Vector3(591.08875f, -19.505634f, 296.9253f), 622); - obj166.Steps = list242; - reference187 = obj166; - span69[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference188 = ref span69[5]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.Interact, 1048307u, new Vector3(-494.56018f, 71.630486f, -518.9441f), 622); - obj167.Steps = list243; - reference188 = obj167; - ref QuestSequence reference189 = ref span69[6]; - QuestSequence obj168 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048295u, new Vector3(-74.143616f, -19.32829f, 198.68762f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalBaysideBevyMarketplace - } - }; - obj168.Steps = list244; - reference189 = obj168; - questRoot27.QuestSequence = list235; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(4836); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list245 = new List(num); - CollectionsMarshal.SetCount(list245, num); - CollectionsMarshal.AsSpan(list245)[0] = "liza"; - questRoot28.Author = list245; - num = 4; - List list246 = new List(num); - CollectionsMarshal.SetCount(list246, num); - Span span74 = CollectionsMarshal.AsSpan(list246); - ref QuestSequence reference190 = ref span74[0]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048308u, new Vector3(-38.95636f, -17.972864f, 203.38745f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj169.Steps = list247; - reference190 = obj169; - ref QuestSequence reference191 = ref span74[1]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - Span span75 = CollectionsMarshal.AsSpan(list248); - ref QuestStep reference192 = ref span75[0]; - QuestStep obj171 = new QuestStep(EInteractionType.Interact, 1020193u, new Vector3(26.108154f, 0f, 25.253662f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach - }; - num3 = 6; - List list249 = new List(num3); - CollectionsMarshal.SetCount(list249, num3); - Span span76 = CollectionsMarshal.AsSpan(list249); - span76[0] = null; - span76[1] = null; - span76[2] = null; - span76[3] = null; - span76[4] = null; - span76[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj171.CompletionQuestVariablesFlags = list249; - reference192 = obj171; - ref QuestStep reference193 = ref span75[1]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1019483u, new Vector3(-37.521973f, 1.2530026f, 36.301147f), 635); - num3 = 6; - List list250 = new List(num3); - CollectionsMarshal.SetCount(list250, num3); - Span span77 = CollectionsMarshal.AsSpan(list250); - span77[0] = null; - span77[1] = null; - span77[2] = null; - span77[3] = null; - span77[4] = null; - span77[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep22.CompletionQuestVariablesFlags = list250; - reference193 = questStep22; - ref QuestStep reference194 = ref span75[2]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1019484u, new Vector3(-66.5141f, -5.9571908E-15f, -22.964844f), 635); - num3 = 6; - List list251 = new List(num3); - CollectionsMarshal.SetCount(list251, num3); - Span span78 = CollectionsMarshal.AsSpan(list251); - span78[0] = null; - span78[1] = null; - span78[2] = null; - span78[3] = null; - span78[4] = null; - span78[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list251; - reference194 = questStep23; - obj170.Steps = list248; - reference191 = obj170; - ref QuestSequence reference195 = ref span74[2]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - CollectionsMarshal.AsSpan(list252)[0] = new QuestStep(EInteractionType.Interact, 1048311u, new Vector3(460.86804f, 41.92747f, 335.10327f), 612) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesPeeringStones - }; - obj172.Steps = list252; - reference195 = obj172; - ref QuestSequence reference196 = ref span74[3]; - QuestSequence obj173 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - CollectionsMarshal.AsSpan(list253)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048309u, new Vector3(19.638367f, -0.11837298f, 47.226562f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - NextQuestId = new QuestId(4837) - }; - obj173.Steps = list253; - reference196 = obj173; - questRoot28.QuestSequence = list246; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(4837); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list254 = new List(num); - CollectionsMarshal.SetCount(list254, num); - CollectionsMarshal.AsSpan(list254)[0] = "liza"; - questRoot29.Author = list254; - num = 6; - List list255 = new List(num); - CollectionsMarshal.SetCount(list255, num); - Span span79 = CollectionsMarshal.AsSpan(list255); - ref QuestSequence reference197 = ref span79[0]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048309u, new Vector3(19.638367f, -0.11837298f, 47.226562f), 635) - { - AetheryteShortcut = EAetheryteLocation.RhalgrsReach, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj174.Steps = list256; - reference197 = obj174; - ref QuestSequence reference198 = ref span79[1]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.Interact, 1048313u, new Vector3(-621.973f, 41.999973f, -2.02948f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria - }; - obj175.Steps = list257; - reference198 = obj175; - ref QuestSequence reference199 = ref span79[2]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - CollectionsMarshal.AsSpan(list258)[0] = new QuestStep(EInteractionType.Interact, 1048315u, new Vector3(-403.46387f, 9.080914f, 10.940674f), 621) - { - Fly = true - }; - obj176.Steps = list258; - reference199 = obj176; - ref QuestSequence reference200 = ref span79[3]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - ref QuestStep reference201 = ref CollectionsMarshal.AsSpan(list259)[0]; - QuestStep obj178 = new QuestStep(EInteractionType.Combat, 2013705u, new Vector3(-379.0799f, 6.149353f, -83.237976f), 621) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 3; - List list260 = new List(num3); - CollectionsMarshal.SetCount(list260, num3); - Span span80 = CollectionsMarshal.AsSpan(list260); - span80[0] = 17621u; - span80[1] = 17622u; - span80[2] = 17623u; - obj178.KillEnemyDataIds = list260; - reference201 = obj178; - obj177.Steps = list259; - reference200 = obj177; - ref QuestSequence reference202 = ref span79[4]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.Interact, 1048315u, new Vector3(-403.46387f, 9.080914f, 10.940674f), 621) - { - Fly = true - }; - obj179.Steps = list261; - reference202 = obj179; - ref QuestSequence reference203 = ref span79[5]; - QuestSequence obj180 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - CollectionsMarshal.AsSpan(list262)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048314u, new Vector3(-622.03406f, 41.999973f, -3.6469727f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria, - NextQuestId = new QuestId(4838) - }; - obj180.Steps = list262; - reference203 = obj180; - questRoot29.QuestSequence = list255; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(4838); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list263 = new List(num); - CollectionsMarshal.SetCount(list263, num); - CollectionsMarshal.AsSpan(list263)[0] = "liza"; - questRoot30.Author = list263; - num = 6; - List list264 = new List(num); - CollectionsMarshal.SetCount(list264, num); - Span span81 = CollectionsMarshal.AsSpan(list264); - ref QuestSequence reference204 = ref span81[0]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048314u, new Vector3(-622.03406f, 41.999973f, -3.6469727f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsPortaPraetoria, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj181.Steps = list265; - reference204 = obj181; - ref QuestSequence reference205 = ref span81[1]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - CollectionsMarshal.AsSpan(list266)[0] = new QuestStep(EInteractionType.Interact, 1048316u, new Vector3(-537.3159f, 8.282911f, 11.612061f), 621) - { - Fly = true - }; - obj182.Steps = list266; - reference205 = obj182; - ref QuestSequence reference206 = ref span81[2]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - CollectionsMarshal.AsSpan(list267)[0] = new QuestStep(EInteractionType.Interact, 1048317u, new Vector3(-281.48322f, 263.00684f, 633.8445f), 620) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.PeaksAlaGhiri - }; - obj183.Steps = list267; - reference206 = obj183; - ref QuestSequence reference207 = ref span81[3]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 3 - }; - num2 = 10; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - Span span82 = CollectionsMarshal.AsSpan(list268); - span82[0] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1048318u, new Vector3(-232.29796f, 264.9192f, 613.139f), 620) - { - StopDistance = 50f, - Mount = false, - Sprint = false - }; - span82[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-241.38339f, 264.6151f, 617.0616f), 620) - { - Mount = false, - Sprint = false - }; - span82[2] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1048318u, new Vector3(-256.2343f, 264.3857f, 607.0586f), 620) - { - StopDistance = 50f, - Mount = false, - Sprint = false - }; - span82[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-245.83409f, 265.36874f, 597.0437f), 620) - { - Mount = false, - Sprint = false - }; - span82[4] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1048318u, new Vector3(-241.25351f, 264.14194f, 622.3978f), 620) - { - StopDistance = 50f, - Mount = false, - Sprint = false - }; - span82[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-249.86191f, 264.12744f, 618.1598f), 620) - { - Mount = false, - Sprint = false - }; - span82[6] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1048318u, new Vector3(-246.00586f, 265.5263f, 587.24493f), 620) - { - StopDistance = 50f, - Mount = false, - Sprint = false - }; - span82[7] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-239.25114f, 265.31882f, 605.55786f), 620) - { - Mount = false, - Sprint = false - }; - span82[8] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1048318u, new Vector3(-264.12643f, 263.13184f, 563.91364f), 620) - { - StopDistance = 50f, - Mount = false, - Sprint = false - }; - span82[9] = new QuestStep(EInteractionType.WalkTo, 1048317u, new Vector3(-256.79233f, 264.02664f, 550.90546f), 620) - { - Mount = false, - Sprint = false - }; - obj184.Steps = list268; - reference207 = obj184; - ref QuestSequence reference208 = ref span81[4]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - CollectionsMarshal.AsSpan(list269)[0] = new QuestStep(EInteractionType.Interact, 1048319u, new Vector3(-311.32983f, 257.52652f, 741.1459f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGhiri - }; - obj185.Steps = list269; - reference208 = obj185; - ref QuestSequence reference209 = ref span81[5]; - QuestSequence obj186 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - CollectionsMarshal.AsSpan(list270)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048310u, new Vector3(-310.96362f, 257.52652f, 739.4979f), 620) - { - NextQuestId = new QuestId(4839) - }; - obj186.Steps = list270; - reference209 = obj186; - questRoot30.QuestSequence = list264; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(4839); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list271 = new List(num); - CollectionsMarshal.SetCount(list271, num); - CollectionsMarshal.AsSpan(list271)[0] = "liza"; - questRoot31.Author = list271; - num = 7; - List list272 = new List(num); - CollectionsMarshal.SetCount(list272, num); - Span span83 = CollectionsMarshal.AsSpan(list272); - ref QuestSequence reference210 = ref span83[0]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - CollectionsMarshal.AsSpan(list273)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048310u, new Vector3(-310.96362f, 257.52652f, 739.4979f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGhiri, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj187.Steps = list273; - reference210 = obj187; - ref QuestSequence reference211 = ref span83[1]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - CollectionsMarshal.AsSpan(list274)[0] = new QuestStep(EInteractionType.Interact, 1048320u, new Vector3(135.63745f, 118.27393f, -685.5116f), 620) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - obj188.Steps = list274; - reference211 = obj188; - ref QuestSequence reference212 = ref span83[2]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.Interact, 1048322u, new Vector3(136.18665f, 118.31259f, -684.596f), 620) - { - StopDistance = 5f - }; - obj189.Steps = list275; - reference212 = obj189; - ref QuestSequence reference213 = ref span83[3]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - Span span84 = CollectionsMarshal.AsSpan(list276); - ref QuestStep reference214 = ref span84[0]; - QuestStep obj191 = new QuestStep(EInteractionType.Combat, null, new Vector3(-88.44731f, 101.93955f, -691.41956f), 620) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list277 = new List(num3); - CollectionsMarshal.SetCount(list277, num3); - CollectionsMarshal.AsSpan(list277)[0] = 17624u; - obj191.KillEnemyDataIds = list277; - num3 = 6; - List list278 = new List(num3); - CollectionsMarshal.SetCount(list278, num3); - Span span85 = CollectionsMarshal.AsSpan(list278); - span85[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span85[1] = null; - span85[2] = null; - span85[3] = null; - span85[4] = null; - span85[5] = null; - obj191.CompletionQuestVariablesFlags = list278; - reference214 = obj191; - span84[1] = new QuestStep(EInteractionType.Interact, 2013706u, new Vector3(-83.36011f, 104.6311f, -686.64075f), 620); - obj190.Steps = list276; - reference213 = obj190; - ref QuestSequence reference215 = ref span83[4]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - CollectionsMarshal.AsSpan(list279)[0] = new QuestStep(EInteractionType.Interact, 1048322u, new Vector3(136.18665f, 118.31259f, -684.596f), 620) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.PeaksAlaGannha - }; - obj192.Steps = list279; - reference215 = obj192; - ref QuestSequence reference216 = ref span83[5]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - CollectionsMarshal.AsSpan(list280)[0] = new QuestStep(EInteractionType.Interact, 1048323u, new Vector3(55.039307f, 115.59516f, -282.5208f), 620) - { - Fly = true - }; - obj193.Steps = list280; - reference216 = obj193; - ref QuestSequence reference217 = ref span83[6]; - QuestSequence obj194 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - CollectionsMarshal.AsSpan(list281)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048310u, new Vector3(-310.96362f, 257.52652f, 739.4979f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGhiri, - NextQuestId = new QuestId(4840) - }; - obj194.Steps = list281; - reference217 = obj194; - questRoot31.QuestSequence = list272; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(4840); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list282 = new List(num); - CollectionsMarshal.SetCount(list282, num); - CollectionsMarshal.AsSpan(list282)[0] = "liza"; - questRoot32.Author = list282; - num = 5; - List list283 = new List(num); - CollectionsMarshal.SetCount(list283, num); - Span span86 = CollectionsMarshal.AsSpan(list283); - ref QuestSequence reference218 = ref span86[0]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - CollectionsMarshal.AsSpan(list284)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048310u, new Vector3(-310.96362f, 257.52652f, 739.4979f), 620) - { - AetheryteShortcut = EAetheryteLocation.PeaksAlaGhiri, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj195.Steps = list284; - reference218 = obj195; - ref QuestSequence reference219 = ref span86[1]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - CollectionsMarshal.AsSpan(list285)[0] = new QuestStep(EInteractionType.Interact, 1048324u, new Vector3(568.3833f, 80f, 618.09717f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter - }; - obj196.Steps = list285; - reference219 = obj196; - ref QuestSequence reference220 = ref span86[2]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - CollectionsMarshal.AsSpan(list286)[0] = new QuestStep(EInteractionType.Interact, 1048325u, new Vector3(713.5576f, 69.99999f, 617.02905f), 621) - { - Fly = true - }; - obj197.Steps = list286; - reference220 = obj197; - ref QuestSequence reference221 = ref span86[3]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - CollectionsMarshal.AsSpan(list287)[0] = new QuestStep(EInteractionType.Interact, 1048326u, new Vector3(754.5432f, 70f, 583.6727f), 621) - { - Fly = true - }; - obj198.Steps = list287; - reference221 = obj198; - ref QuestSequence reference222 = ref span86[4]; - QuestSequence obj199 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - CollectionsMarshal.AsSpan(list288)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048324u, new Vector3(568.3833f, 80f, 618.09717f), 621) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter, - NextQuestId = new QuestId(4841) - }; - obj199.Steps = list288; - reference222 = obj199; - questRoot32.QuestSequence = list283; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(4841); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list289 = new List(num); - CollectionsMarshal.SetCount(list289, num); - CollectionsMarshal.AsSpan(list289)[0] = "liza"; - questRoot33.Author = list289; - num = 6; - List list290 = new List(num); - CollectionsMarshal.SetCount(list290, num); - Span span87 = CollectionsMarshal.AsSpan(list290); - ref QuestSequence reference223 = ref span87[0]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - CollectionsMarshal.AsSpan(list291)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048324u, new Vector3(568.3833f, 80f, 618.09717f), 621) - { - AetheryteShortcut = EAetheryteLocation.LochsAlaMhiganQuarter, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj200.Steps = list291; - reference223 = obj200; - ref QuestSequence reference224 = ref span87[1]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - CollectionsMarshal.AsSpan(list292)[0] = new QuestStep(EInteractionType.Interact, 1048327u, new Vector3(723.781f, 69.99991f, 545.5862f), 621) - { - Fly = true - }; - obj201.Steps = list292; - reference224 = obj201; - ref QuestSequence reference225 = ref span87[2]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - CollectionsMarshal.AsSpan(list293)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1048327u, new Vector3(723.781f, 69.99991f, 545.5862f), 621) - { - Comment = "The Mightiest Shield" - }; - obj202.Steps = list293; - reference225 = obj202; - span87[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference226 = ref span87[4]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - CollectionsMarshal.AsSpan(list294)[0] = new QuestStep(EInteractionType.Interact, 1048327u, new Vector3(723.781f, 69.99991f, 545.5862f), 621); - obj203.Steps = list294; - reference226 = obj203; - ref QuestSequence reference227 = ref span87[5]; - QuestSequence obj204 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - CollectionsMarshal.AsSpan(list295)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048308u, new Vector3(-38.95636f, -17.972864f, 203.38745f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalBaysideBevyMarketplace - } - }; - obj204.Steps = list295; - reference227 = obj204; - questRoot33.QuestSequence = list290; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(4842); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list296 = new List(num); - CollectionsMarshal.SetCount(list296, num); - CollectionsMarshal.AsSpan(list296)[0] = "liza"; - questRoot34.Author = list296; - num = 5; - List list297 = new List(num); - CollectionsMarshal.SetCount(list297, num); - Span span88 = CollectionsMarshal.AsSpan(list297); - ref QuestSequence reference228 = ref span88[0]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - CollectionsMarshal.AsSpan(list298)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048330u, new Vector3(-28.732727f, -17.972864f, 194.72034f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj205.Steps = list298; - reference228 = obj205; - ref QuestSequence reference229 = ref span88[1]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - CollectionsMarshal.AsSpan(list299)[0] = new QuestStep(EInteractionType.Interact, 1048335u, new Vector3(-16.739136f, 0.5999997f, -55.10034f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan - }; - obj206.Steps = list299; - reference229 = obj206; - ref QuestSequence reference230 = ref span88[2]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - CollectionsMarshal.AsSpan(list300)[0] = new QuestStep(EInteractionType.Interact, 1048337u, new Vector3(155.87085f, 5.297462f, 618.2803f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - obj207.Steps = list300; - reference230 = obj207; - ref QuestSequence reference231 = ref span88[3]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - CollectionsMarshal.AsSpan(list301)[0] = new QuestStep(EInteractionType.Interact, 2013708u, new Vector3(48.90515f, 90.22656f, -83.024414f), 957) - { - StopDistance = 0.5f - }; - obj208.Steps = list301; - reference231 = obj208; - ref QuestSequence reference232 = ref span88[4]; - QuestSequence obj209 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list302 = new List(num2); - CollectionsMarshal.SetCount(list302, num2); - CollectionsMarshal.AsSpan(list302)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048331u, new Vector3(214.03821f, 5.2600574f, 628.3817f), 957) - { - NextQuestId = new QuestId(4843) - }; - obj209.Steps = list302; - reference232 = obj209; - questRoot34.QuestSequence = list297; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(4843); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list303 = new List(num); - CollectionsMarshal.SetCount(list303, num); - CollectionsMarshal.AsSpan(list303)[0] = "liza"; - questRoot35.Author = list303; - num = 8; - List list304 = new List(num); - CollectionsMarshal.SetCount(list304, num); - Span span89 = CollectionsMarshal.AsSpan(list304); - ref QuestSequence reference233 = ref span89[0]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - CollectionsMarshal.AsSpan(list305)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048331u, new Vector3(214.03821f, 5.2600574f, 628.3817f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj210.Steps = list305; - reference233 = obj210; - ref QuestSequence reference234 = ref span89[1]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - CollectionsMarshal.AsSpan(list306)[0] = new QuestStep(EInteractionType.Interact, 1048332u, new Vector3(52.506226f, -5.20688E-07f, -54.154297f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan - }; - obj211.Steps = list306; - reference234 = obj211; - ref QuestSequence reference235 = ref span89[2]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list307 = new List(num2); - CollectionsMarshal.SetCount(list307, num2); - CollectionsMarshal.AsSpan(list307)[0] = new QuestStep(EInteractionType.Interact, 1048340u, new Vector3(-186.69415f, 4.0499983f, -108.11017f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanHallOfTheRadiantHost - } - }; - obj212.Steps = list307; - reference235 = obj212; - ref QuestSequence reference236 = ref span89[3]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - CollectionsMarshal.AsSpan(list308)[0] = new QuestStep(EInteractionType.Interact, 1048332u, new Vector3(52.506226f, -5.20688E-07f, -54.154297f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanHallOfTheRadiantHost, - To = EAetheryteLocation.RadzAtHan - } - }; - obj213.Steps = list308; - reference236 = obj213; - ref QuestSequence reference237 = ref span89[4]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - CollectionsMarshal.AsSpan(list309)[0] = new QuestStep(EInteractionType.Interact, 1048343u, new Vector3(-336.53772f, 52.243706f, -165.05688f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj214.Steps = list309; - reference237 = obj214; - ref QuestSequence reference238 = ref span89[5]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - ref QuestStep reference239 = ref CollectionsMarshal.AsSpan(list310)[0]; - QuestStep obj216 = new QuestStep(EInteractionType.Combat, null, new Vector3(-427.5108f, -0.015813708f, -710.37146f), 957) - { - StopDistance = 0.25f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list311 = new List(num3); - CollectionsMarshal.SetCount(list311, num3); - CollectionsMarshal.AsSpan(list311)[0] = 17625u; - obj216.KillEnemyDataIds = list311; - reference239 = obj216; - obj215.Steps = list310; - reference238 = obj215; - ref QuestSequence reference240 = ref span89[6]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - CollectionsMarshal.AsSpan(list312)[0] = new QuestStep(EInteractionType.Interact, 1048344u, new Vector3(-419.028f, 0.06509568f, -710.9331f), 957) - { - StopDistance = 7f - }; - obj217.Steps = list312; - reference240 = obj217; - ref QuestSequence reference241 = ref span89[7]; - QuestSequence obj218 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list313 = new List(num2); - CollectionsMarshal.SetCount(list313, num2); - CollectionsMarshal.AsSpan(list313)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048331u, new Vector3(214.03821f, 5.2600574f, 628.3817f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad, - NextQuestId = new QuestId(4844) - }; - obj218.Steps = list313; - reference241 = obj218; - questRoot35.QuestSequence = list304; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(4844); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list314 = new List(num); - CollectionsMarshal.SetCount(list314, num); - CollectionsMarshal.AsSpan(list314)[0] = "liza"; - questRoot36.Author = list314; - num = 7; - List list315 = new List(num); - CollectionsMarshal.SetCount(list315, num); - Span span90 = CollectionsMarshal.AsSpan(list315); - ref QuestSequence reference242 = ref span90[0]; - QuestSequence obj219 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - CollectionsMarshal.AsSpan(list316)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048331u, new Vector3(214.03821f, 5.2600574f, 628.3817f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj219.Steps = list316; - reference242 = obj219; - ref QuestSequence reference243 = ref span90[1]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list317 = new List(num2); - CollectionsMarshal.SetCount(list317, num2); - CollectionsMarshal.AsSpan(list317)[0] = new QuestStep(EInteractionType.Interact, 1048348u, new Vector3(-118.76105f, 88.94139f, -556.90857f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ThavnairPalakasStand - }; - obj220.Steps = list317; - reference243 = obj220; - ref QuestSequence reference244 = ref span90[2]; - QuestSequence obj221 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list318 = new List(num2); - CollectionsMarshal.SetCount(list318, num2); - Span span91 = CollectionsMarshal.AsSpan(list318); - ref QuestStep reference245 = ref span91[0]; - QuestStep obj222 = new QuestStep(EInteractionType.Combat, null, new Vector3(76.82042f, 82.46339f, -549.32526f), 957) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list319 = new List(num3); - CollectionsMarshal.SetCount(list319, num3); - ref ComplexCombatData reference246 = ref CollectionsMarshal.AsSpan(list319)[0]; - ComplexCombatData obj223 = new ComplexCombatData - { - DataId = 17626u - }; - int num4 = 6; - List list320 = new List(num4); - CollectionsMarshal.SetCount(list320, num4); - Span span92 = CollectionsMarshal.AsSpan(list320); - span92[0] = null; - span92[1] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span92[2] = null; - span92[3] = null; - span92[4] = null; - span92[5] = null; - obj223.CompletionQuestVariablesFlags = list320; - reference246 = obj223; - obj222.ComplexCombatData = list319; - reference245 = obj222; - span91[1] = new QuestStep(EInteractionType.UseItem, 17626u, new Vector3(77.01221f, 82.459785f, -549.218f), 957) - { - ItemId = 2003495u - }; - obj221.Steps = list318; - reference244 = obj221; - ref QuestSequence reference247 = ref span90[3]; - QuestSequence obj224 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list321 = new List(num2); - CollectionsMarshal.SetCount(list321, num2); - CollectionsMarshal.AsSpan(list321)[0] = new QuestStep(EInteractionType.Interact, 1048348u, new Vector3(-118.76105f, 88.94139f, -556.90857f), 957); - obj224.Steps = list321; - reference247 = obj224; - ref QuestSequence reference248 = ref span90[4]; - QuestSequence obj225 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list322 = new List(num2); - CollectionsMarshal.SetCount(list322, num2); - CollectionsMarshal.AsSpan(list322)[0] = new QuestStep(EInteractionType.Interact, 1048350u, new Vector3(-508.53745f, 12.375278f, 97.3678f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairGreatWork - }; - obj225.Steps = list322; - reference248 = obj225; - ref QuestSequence reference249 = ref span90[5]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list323 = new List(num2); - CollectionsMarshal.SetCount(list323, num2); - Span span93 = CollectionsMarshal.AsSpan(list323); - ref QuestStep reference250 = ref span93[0]; - QuestStep obj227 = new QuestStep(EInteractionType.Interact, 1048354u, new Vector3(154.28394f, 5.2641535f, 618.40234f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad - }; - num3 = 6; - List list324 = new List(num3); - CollectionsMarshal.SetCount(list324, num3); - Span span94 = CollectionsMarshal.AsSpan(list324); - span94[0] = null; - span94[1] = null; - span94[2] = null; - span94[3] = null; - span94[4] = null; - span94[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj227.CompletionQuestVariablesFlags = list324; - reference250 = obj227; - ref QuestStep reference251 = ref span93[1]; - QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 1048355u, new Vector3(227.98499f, 10.19656f, 563.31726f), 957); - num3 = 6; - List list325 = new List(num3); - CollectionsMarshal.SetCount(list325, num3); - Span span95 = CollectionsMarshal.AsSpan(list325); - span95[0] = null; - span95[1] = null; - span95[2] = null; - span95[3] = null; - span95[4] = null; - span95[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep24.CompletionQuestVariablesFlags = list325; - reference251 = questStep24; - ref QuestStep reference252 = ref span93[2]; - QuestStep questStep25 = new QuestStep(EInteractionType.Interact, 1048352u, new Vector3(195.5138f, 15.136732f, 529.015f), 957); - num3 = 6; - List list326 = new List(num3); - CollectionsMarshal.SetCount(list326, num3); - Span span96 = CollectionsMarshal.AsSpan(list326); - span96[0] = null; - span96[1] = null; - span96[2] = null; - span96[3] = null; - span96[4] = null; - span96[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep25.CompletionQuestVariablesFlags = list326; - reference252 = questStep25; - obj226.Steps = list323; - reference249 = obj226; - ref QuestSequence reference253 = ref span90[6]; - QuestSequence obj228 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list327 = new List(num2); - CollectionsMarshal.SetCount(list327, num2); - CollectionsMarshal.AsSpan(list327)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048331u, new Vector3(214.03821f, 5.2600574f, 628.3817f), 957) - { - NextQuestId = new QuestId(4845) - }; - obj228.Steps = list327; - reference253 = obj228; - questRoot36.QuestSequence = list315; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(4845); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list328 = new List(num); - CollectionsMarshal.SetCount(list328, num); - CollectionsMarshal.AsSpan(list328)[0] = "liza"; - questRoot37.Author = list328; - num = 9; - List list329 = new List(num); - CollectionsMarshal.SetCount(list329, num); - Span span97 = CollectionsMarshal.AsSpan(list329); - ref QuestSequence reference254 = ref span97[0]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list330 = new List(num2); - CollectionsMarshal.SetCount(list330, num2); - ref QuestStep reference255 = ref CollectionsMarshal.AsSpan(list330)[0]; - QuestStep obj230 = new QuestStep(EInteractionType.AcceptQuest, 1048331u, new Vector3(214.03821f, 5.2600574f, 628.3817f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list331 = new List(num3); - CollectionsMarshal.SetCount(list331, num3); - CollectionsMarshal.AsSpan(list331)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGBA531_04845_Q2_000_200"), - Answer = new ExcelRef("TEXT_KINGBA531_04845_A1_000_200") - }; - obj230.DialogueChoices = list331; - reference255 = obj230; - obj229.Steps = list330; - reference254 = obj229; - ref QuestSequence reference256 = ref span97[1]; - QuestSequence obj231 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list332 = new List(num2); - CollectionsMarshal.SetCount(list332, num2); - Span span98 = CollectionsMarshal.AsSpan(list332); - ref QuestStep reference257 = ref span98[0]; - QuestStep obj232 = new QuestStep(EInteractionType.Interact, 1048357u, new Vector3(-183.21509f, 36f, 53.116577f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanRuveydahFibers - } - }; - num3 = 6; - List list333 = new List(num3); - CollectionsMarshal.SetCount(list333, num3); - Span span99 = CollectionsMarshal.AsSpan(list333); - span99[0] = null; - span99[1] = null; - span99[2] = null; - span99[3] = null; - span99[4] = null; - span99[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj232.CompletionQuestVariablesFlags = list333; - reference257 = obj232; - ref QuestStep reference258 = ref span98[1]; - QuestStep questStep26 = new QuestStep(EInteractionType.Interact, 1048359u, new Vector3(-175.0058f, 36.051327f, 104.20386f), 963); - num3 = 6; - List list334 = new List(num3); - CollectionsMarshal.SetCount(list334, num3); - Span span100 = CollectionsMarshal.AsSpan(list334); - span100[0] = null; - span100[1] = null; - span100[2] = null; - span100[3] = null; - span100[4] = null; - span100[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep26.CompletionQuestVariablesFlags = list334; - reference258 = questStep26; - ref QuestStep reference259 = ref span98[2]; - QuestStep questStep27 = new QuestStep(EInteractionType.Interact, 1048360u, new Vector3(-237.41516f, 35.999996f, 102.067505f), 963); - num3 = 6; - List list335 = new List(num3); - CollectionsMarshal.SetCount(list335, num3); - Span span101 = CollectionsMarshal.AsSpan(list335); - span101[0] = null; - span101[1] = null; - span101[2] = null; - span101[3] = null; - span101[4] = null; - span101[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep27.CompletionQuestVariablesFlags = list335; - reference259 = questStep27; - obj231.Steps = list332; - reference256 = obj231; - ref QuestSequence reference260 = ref span97[2]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list336 = new List(num2); - CollectionsMarshal.SetCount(list336, num2); - CollectionsMarshal.AsSpan(list336)[0] = new QuestStep(EInteractionType.Interact, 1048362u, new Vector3(-10.544006f, 2.999996f, -204.91345f), 963) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHanRuveydahFibers, - To = EAetheryteLocation.RadzAtHanMehrydesMeyhane - } - }; - obj233.Steps = list336; - reference260 = obj233; - ref QuestSequence reference261 = ref span97[3]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list337 = new List(num2); - CollectionsMarshal.SetCount(list337, num2); - CollectionsMarshal.AsSpan(list337)[0] = new QuestStep(EInteractionType.Interact, 1048361u, new Vector3(9.262146f, 0.92f, -103.31885f), 963); - obj234.Steps = list337; - reference261 = obj234; - ref QuestSequence reference262 = ref span97[4]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list338 = new List(num2); - CollectionsMarshal.SetCount(list338, num2); - CollectionsMarshal.AsSpan(list338)[0] = new QuestStep(EInteractionType.Interact, 1048363u, new Vector3(369.40564f, 3.9809039f, -219.40955f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairPalakasStand - }; - obj235.Steps = list338; - reference262 = obj235; - ref QuestSequence reference263 = ref span97[5]; - QuestSequence obj236 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list339 = new List(num2); - CollectionsMarshal.SetCount(list339, num2); - CollectionsMarshal.AsSpan(list339)[0] = new QuestStep(EInteractionType.Interact, 2013713u, new Vector3(362.35596f, 3.616333f, -241.77924f), 957); - obj236.Steps = list339; - reference263 = obj236; - ref QuestSequence reference264 = ref span97[6]; - QuestSequence obj237 = new QuestSequence - { - Sequence = 6 - }; - num2 = 12; - List list340 = new List(num2); - CollectionsMarshal.SetCount(list340, num2); - Span span102 = CollectionsMarshal.AsSpan(list340); - ref QuestStep reference265 = ref span102[0]; - QuestStep obj238 = new QuestStep(EInteractionType.Interact, 2013713u, new Vector3(362.35596f, 3.616333f, -241.77924f), 957) - { - StopDistance = 0.25f, - Fly = true, - Comment = "retry point", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NotTargetable = true - } - } - }; - num3 = 1; - List list341 = new List(num3); - CollectionsMarshal.SetCount(list341, num3); - CollectionsMarshal.AsSpan(list341)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGBA531_04845_Q1_000_054") - }; - obj238.DialogueChoices = list341; - reference265 = obj238; - span102[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1048364u, new Vector3(387.43045f, 5.8062716f, -203.20459f), 957) - { - StopDistance = 50f, - Mount = false, - Sprint = false - }; - span102[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(386.85394f, 3.0972311f, -220.57103f), 957) - { - Mount = false, - Sprint = false - }; - span102[3] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1048364u, new Vector3(398.46808f, 12.103142f, -174.068f), 957) - { - StopDistance = 50f, - Mount = false, - Sprint = false - }; - span102[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(395.88028f, 10.267179f, -192.21916f), 957) - { - Mount = false, - Sprint = false - }; - span102[5] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1048364u, new Vector3(395.6862f, 11.099065f, -169.7558f), 957) - { - StopDistance = 50f, - Mount = false, - Sprint = false - }; - span102[6] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(398.42825f, 12.946791f, -180.08061f), 957) - { - Mount = false, - Sprint = false - }; - span102[7] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(368.02908f, 5.7749786f, -135.06207f), 957) - { - Mount = false, - Sprint = false - }; - span102[8] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(300.81885f, 18.925224f, -43.56831f), 957) - { - Mount = false, - Sprint = false - }; - span102[9] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1048364u, new Vector3(274.41418f, 17.838093f, -2.1020741f), 957) - { - StopDistance = 50f, - Mount = false, - Sprint = false - }; - span102[10] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(256.60135f, 19.312042f, -1.2628903f), 957) - { - Mount = false, - Sprint = false - }; - span102[11] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(244.453f, 16.725914f, 14.936783f), 957) - { - Mount = false, - Sprint = false - }; - obj237.Steps = list340; - reference264 = obj237; - ref QuestSequence reference266 = ref span97[7]; - QuestSequence obj239 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - CollectionsMarshal.AsSpan(list342)[0] = new QuestStep(EInteractionType.Interact, 1048368u, new Vector3(239.33765f, 11.061386f, 69.99304f), 957); - obj239.Steps = list342; - reference266 = obj239; - ref QuestSequence reference267 = ref span97[8]; - QuestSequence obj240 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list343 = new List(num2); - CollectionsMarshal.SetCount(list343, num2); - CollectionsMarshal.AsSpan(list343)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048331u, new Vector3(214.03821f, 5.2600574f, 628.3817f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad, - NextQuestId = new QuestId(4846) - }; - obj240.Steps = list343; - reference267 = obj240; - questRoot37.QuestSequence = list329; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(4846); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list344 = new List(num); - CollectionsMarshal.SetCount(list344, num); - CollectionsMarshal.AsSpan(list344)[0] = "liza"; - questRoot38.Author = list344; - num = 7; - List list345 = new List(num); - CollectionsMarshal.SetCount(list345, num); - Span span103 = CollectionsMarshal.AsSpan(list345); - ref QuestSequence reference268 = ref span103[0]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list346 = new List(num2); - CollectionsMarshal.SetCount(list346, num2); - CollectionsMarshal.AsSpan(list346)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048331u, new Vector3(214.03821f, 5.2600574f, 628.3817f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj241.Steps = list346; - reference268 = obj241; - ref QuestSequence reference269 = ref span103[1]; - QuestSequence obj242 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list347 = new List(num2); - CollectionsMarshal.SetCount(list347, num2); - CollectionsMarshal.AsSpan(list347)[0] = new QuestStep(EInteractionType.Interact, 1048330u, new Vector3(-28.732727f, -17.972864f, 194.72034f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalBaysideBevyMarketplace - } - }; - obj242.Steps = list347; - reference269 = obj242; - ref QuestSequence reference270 = ref span103[2]; - QuestSequence obj243 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list348 = new List(num2); - CollectionsMarshal.SetCount(list348, num2); - Span span104 = CollectionsMarshal.AsSpan(list348); - span104[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(327.87598f, -15.862221f, -236.6933f), 1190) - { - AetheryteShortcut = EAetheryteLocation.ShaaloaniMehwahhetsoan, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - ref QuestStep reference271 = ref span104[1]; - QuestStep obj244 = new QuestStep(EInteractionType.Combat, null, new Vector3(442.79218f, -16.660347f, -111.04725f), 1190) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list349 = new List(num3); - CollectionsMarshal.SetCount(list349, num3); - CollectionsMarshal.AsSpan(list349)[0] = 17627u; - obj244.KillEnemyDataIds = list349; - reference271 = obj244; - obj243.Steps = list348; - reference270 = obj243; - ref QuestSequence reference272 = ref span103[3]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - CollectionsMarshal.AsSpan(list350)[0] = new QuestStep(EInteractionType.Interact, 1048369u, new Vector3(441.5503f, -16.619904f, -109.14783f), 1190) - { - StopDistance = 7f - }; - obj245.Steps = list350; - reference272 = obj245; - ref QuestSequence reference273 = ref span103[4]; - QuestSequence obj246 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list351 = new List(num2); - CollectionsMarshal.SetCount(list351, num2); - CollectionsMarshal.AsSpan(list351)[0] = new QuestStep(EInteractionType.Interact, 1048333u, new Vector3(52.506226f, -5.20688E-07f, -54.154297f), 963) - { - AetheryteShortcut = EAetheryteLocation.RadzAtHan - }; - obj246.Steps = list351; - reference273 = obj246; - ref QuestSequence reference274 = ref span103[5]; - QuestSequence obj247 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list352 = new List(num2); - CollectionsMarshal.SetCount(list352, num2); - CollectionsMarshal.AsSpan(list352)[0] = new QuestStep(EInteractionType.Interact, 1048372u, new Vector3(-53.177734f, -1.9999962f, 147.60046f), 963) - { - StopDistance = 7f - }; - obj247.Steps = list352; - reference274 = obj247; - ref QuestSequence reference275 = ref span103[6]; - QuestSequence obj248 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list353 = new List(num2); - CollectionsMarshal.SetCount(list353, num2); - CollectionsMarshal.AsSpan(list353)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048331u, new Vector3(214.03821f, 5.2600574f, 628.3817f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad, - NextQuestId = new QuestId(4847) - }; - obj248.Steps = list353; - reference275 = obj248; - questRoot38.QuestSequence = list345; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(4847); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list354 = new List(num); - CollectionsMarshal.SetCount(list354, num); - CollectionsMarshal.AsSpan(list354)[0] = "liza"; - questRoot39.Author = list354; - num = 5; - List list355 = new List(num); - CollectionsMarshal.SetCount(list355, num); - Span span105 = CollectionsMarshal.AsSpan(list355); - ref QuestSequence reference276 = ref span105[0]; - QuestSequence obj249 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list356 = new List(num2); - CollectionsMarshal.SetCount(list356, num2); - CollectionsMarshal.AsSpan(list356)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048331u, new Vector3(214.03821f, 5.2600574f, 628.3817f), 957) - { - AetheryteShortcut = EAetheryteLocation.ThavnairYedlihmad, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj249.Steps = list356; - reference276 = obj249; - ref QuestSequence reference277 = ref span105[1]; - QuestSequence obj250 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list357 = new List(num2); - CollectionsMarshal.SetCount(list357, num2); - CollectionsMarshal.AsSpan(list357)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1048374u, new Vector3(-77.04285f, 99.946754f, -711.0552f), 957) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.RadzAtHan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.RadzAtHan, - To = EAetheryteLocation.RadzAtHanGateOfFirstSight - } - }; - obj250.Steps = list357; - reference277 = obj250; - span105[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference278 = ref span105[3]; - QuestSequence obj251 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list358 = new List(num2); - CollectionsMarshal.SetCount(list358, num2); - CollectionsMarshal.AsSpan(list358)[0] = new QuestStep(EInteractionType.Interact, 1048374u, new Vector3(-77.04285f, 99.946754f, -711.0552f), 957); - obj251.Steps = list358; - reference278 = obj251; - ref QuestSequence reference279 = ref span105[4]; - QuestSequence obj252 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list359 = new List(num2); - CollectionsMarshal.SetCount(list359, num2); - CollectionsMarshal.AsSpan(list359)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048330u, new Vector3(-28.732727f, -17.972864f, 194.72034f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalBaysideBevyMarketplace - } - }; - obj252.Steps = list359; - reference279 = obj252; - questRoot39.QuestSequence = list355; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(4848); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list360 = new List(num); - CollectionsMarshal.SetCount(list360, num); - CollectionsMarshal.AsSpan(list360)[0] = "liza"; - questRoot40.Author = list360; - num = 4; - List list361 = new List(num); - CollectionsMarshal.SetCount(list361, num); - Span span106 = CollectionsMarshal.AsSpan(list361); - ref QuestSequence reference280 = ref span106[0]; - QuestSequence obj253 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list362 = new List(num2); - CollectionsMarshal.SetCount(list362, num2); - CollectionsMarshal.AsSpan(list362)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046333u, new Vector3(-92.21033f, 3.9999995f, -99.321045f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj253.Steps = list362; - reference280 = obj253; - ref QuestSequence reference281 = ref span106[1]; - QuestSequence obj254 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list363 = new List(num2); - CollectionsMarshal.SetCount(list363, num2); - CollectionsMarshal.AsSpan(list363)[0] = new QuestStep(EInteractionType.Interact, 1046334u, new Vector3(89.09741f, 12f, 49.484985f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - } - }; - obj254.Steps = list363; - reference281 = obj254; - ref QuestSequence reference282 = ref span106[2]; - QuestSequence obj255 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list364 = new List(num2); - CollectionsMarshal.SetCount(list364, num2); - CollectionsMarshal.AsSpan(list364)[0] = new QuestStep(EInteractionType.Interact, 1046336u, new Vector3(-408.52985f, -55.904274f, 120.74463f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - obj255.Steps = list364; - reference282 = obj255; - ref QuestSequence reference283 = ref span106[3]; - QuestSequence obj256 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list365 = new List(num2); - CollectionsMarshal.SetCount(list365, num2); - ref QuestStep reference284 = ref CollectionsMarshal.AsSpan(list365)[0]; - QuestStep obj257 = new QuestStep(EInteractionType.CompleteQuest, 1046337u, new Vector3(89.036255f, 12f, 47.287598f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahWeaver - } - }; - num3 = 1; - List list366 = new List(num3); - CollectionsMarshal.SetCount(list366, num3); - CollectionsMarshal.AsSpan(list366)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGBB101_04848_Q3_000_000") - }; - obj257.DialogueChoices = list366; - obj257.NextQuestId = new QuestId(4849); - reference284 = obj257; - obj256.Steps = list365; - reference283 = obj256; - questRoot40.QuestSequence = list361; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(4849); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list367 = new List(num); - CollectionsMarshal.SetCount(list367, num); - CollectionsMarshal.AsSpan(list367)[0] = "liza"; - questRoot41.Author = list367; - num = 10; - List list368 = new List(num); - CollectionsMarshal.SetCount(list368, num); - Span span107 = CollectionsMarshal.AsSpan(list368); - ref QuestSequence reference285 = ref span107[0]; - QuestSequence obj258 = new QuestSequence - { - Sequence = 0 - }; - num2 = 4; - List list369 = new List(num2); - CollectionsMarshal.SetCount(list369, num2); - Span span108 = CollectionsMarshal.AsSpan(list369); - ref QuestStep reference286 = ref span108[0]; - QuestStep obj259 = new QuestStep(EInteractionType.UseItem, null, new Vector3(89.036255f, 12f, 47.287598f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahWeaver - }, - ItemId = 43537u - }; - SkipConditions obj260 = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - }; - SkipAetheryteCondition obj261 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list370 = new List(num3); - CollectionsMarshal.SetCount(list370, num3); - CollectionsMarshal.AsSpan(list370)[0] = 131; - obj261.InTerritory = list370; - obj260.AetheryteShortcutIf = obj261; - obj259.SkipConditions = obj260; - reference286 = obj259; - span108[1] = new QuestStep(EInteractionType.EquipItem, null, null, 131) - { - ItemId = 41808u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span108[2] = new QuestStep(EInteractionType.EquipRecommended, null, null, 131); - span108[3] = new QuestStep(EInteractionType.AcceptQuest, 1046337u, new Vector3(89.036255f, 12f, 47.287598f), 131); - obj258.Steps = list369; - reference285 = obj258; - ref QuestSequence reference287 = ref span107[1]; - QuestSequence obj262 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list371 = new List(num2); - CollectionsMarshal.SetCount(list371, num2); - CollectionsMarshal.AsSpan(list371)[0] = new QuestStep(EInteractionType.Interact, 1046338u, new Vector3(11.428955f, 3.9999998f, -135.69855f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahWeaver, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj262.Steps = list371; - reference287 = obj262; - ref QuestSequence reference288 = ref span107[2]; - QuestSequence obj263 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list372 = new List(num2); - CollectionsMarshal.SetCount(list372, num2); - CollectionsMarshal.AsSpan(list372)[0] = new QuestStep(EInteractionType.Interact, 1046339u, new Vector3(28.335938f, 3.9999995f, -136.36993f), 130); - obj263.Steps = list372; - reference288 = obj263; - ref QuestSequence reference289 = ref span107[3]; - QuestSequence obj264 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list373 = new List(num2); - CollectionsMarshal.SetCount(list373, num2); - Span span109 = CollectionsMarshal.AsSpan(list373); - span109[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(44.120266f, 3.9179347f, -166.70798f), 130) - { - Comment = "Zone transition" - }; - span109[1] = new QuestStep(EInteractionType.Interact, 1046344u, new Vector3(90.22656f, 4.0718365f, 434.531f), 141) - { - Fly = true - }; - obj264.Steps = list373; - reference289 = obj264; - ref QuestSequence reference290 = ref span107[4]; - QuestSequence obj265 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list374 = new List(num2); - CollectionsMarshal.SetCount(list374, num2); - CollectionsMarshal.AsSpan(list374)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1046344u, new Vector3(90.22656f, 4.0718365f, 434.531f), 141); - obj265.Steps = list374; - reference290 = obj265; - span107[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference291 = ref span107[6]; - QuestSequence obj266 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list375 = new List(num2); - CollectionsMarshal.SetCount(list375, num2); - CollectionsMarshal.AsSpan(list375)[0] = new QuestStep(EInteractionType.Interact, 1046345u, new Vector3(-92.30188f, 4f, -99.77875f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - obj266.Steps = list375; - reference291 = obj266; - ref QuestSequence reference292 = ref span107[7]; - QuestSequence obj267 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list376 = new List(num2); - CollectionsMarshal.SetCount(list376, num2); - CollectionsMarshal.AsSpan(list376)[0] = new QuestStep(EInteractionType.Interact, 1004332u, new Vector3(-103.92926f, 4f, -97.88666f), 130); - obj267.Steps = list376; - reference292 = obj267; - ref QuestSequence reference293 = ref span107[8]; - QuestSequence obj268 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list377 = new List(num2); - CollectionsMarshal.SetCount(list377, num2); - CollectionsMarshal.AsSpan(list377)[0] = new QuestStep(EInteractionType.Interact, 1001288u, new Vector3(-151.59845f, 12f, 16.220276f), 130); - obj268.Steps = list377; - reference293 = obj268; - ref QuestSequence reference294 = ref span107[9]; - QuestSequence obj269 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list378 = new List(num2); - CollectionsMarshal.SetCount(list378, num2); - CollectionsMarshal.AsSpan(list378)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046346u, new Vector3(-152.17828f, 12f, 11.734131f), 130) - { - NextQuestId = new QuestId(4850) - }; - obj269.Steps = list378; - reference294 = obj269; - questRoot41.QuestSequence = list368; - AddQuest(questId41, questRoot41); - } - - private static void LoadQuests97() - { - QuestId questId = new QuestId(4850); - QuestRoot questRoot = new QuestRoot(); - QuestRoot questRoot2 = questRoot; - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot2.Author = list; - QuestRoot questRoot3 = questRoot; - num = 9; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence2 = questSequence; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference2 = ref CollectionsMarshal.AsSpan(list3)[0]; - QuestStep obj = new QuestStep(EInteractionType.AcceptQuest, 1046346u, new Vector3(-152.17828f, 12f, 11.734131f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - int num3 = 1; - List list4 = new List(num3); - CollectionsMarshal.SetCount(list4, num3); - CollectionsMarshal.AsSpan(list4)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGBB111_04850_Q1_000_100"), - Answer = new ExcelRef("TEXT_KINGBB111_04850_A2_000_100") - }; - obj.DialogueChoices = list4; - reference2 = obj; - questSequence2.Steps = list3; - reference = questSequence; - ref QuestSequence reference3 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1000193u, new Vector3(-56.77887f, -1.7171853f, 7.888855f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj2.Steps = list5; - reference3 = obj2; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Interact, 1046347u, new Vector3(205.79846f, 8.794112f, -72.15991f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill - }; - obj3.Steps = list6; - reference4 = obj3; - ref QuestSequence reference5 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.Interact, 1046351u, new Vector3(-192.40106f, 15.001892f, 447.2876f), 153) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthShroudCampTranquil - }; - obj4.Steps = list7; - reference5 = obj4; - ref QuestSequence reference6 = ref span[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence3 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span2 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference7 = ref span2[0]; - QuestStep obj5 = new QuestStep(EInteractionType.Interact, 2013569u, new Vector3(-161.36414f, 1.083313f, 480.12512f), 153) - { - Fly = true - }; - num3 = 6; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - Span span3 = CollectionsMarshal.AsSpan(list8); - span3[0] = null; - span3[1] = null; - span3[2] = null; - span3[3] = null; - span3[4] = null; - span3[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj5.CompletionQuestVariablesFlags = list8; - reference7 = obj5; - ref QuestStep reference8 = ref span2[1]; - QuestStep obj6 = new QuestStep(EInteractionType.Interact, 2013570u, new Vector3(-111.77234f, 0.503479f, 356.2218f), 153) - { - Fly = true - }; - num3 = 6; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - Span span4 = CollectionsMarshal.AsSpan(list9); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj6.CompletionQuestVariablesFlags = list9; - reference8 = obj6; - ref QuestStep reference9 = ref span2[2]; - QuestStep obj7 = new QuestStep(EInteractionType.Interact, 2013571u, new Vector3(-130.84619f, 1.1138916f, 308.58313f), 153) - { - Fly = true - }; - num3 = 6; - List list10 = new List(num3); - CollectionsMarshal.SetCount(list10, num3); - Span span5 = CollectionsMarshal.AsSpan(list10); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj7.CompletionQuestVariablesFlags = list10; - reference9 = obj7; - questSequence3.Steps = list3; - reference6 = questSequence; - ref QuestSequence reference10 = ref span[5]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.Interact, 1046356u, new Vector3(-48.233826f, 1.0262487f, 452.59778f), 153) - { - Fly = true - }; - obj8.Steps = list11; - reference10 = obj8; - ref QuestSequence reference11 = ref span[6]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Interact, 2013572u, new Vector3(-237.1405f, 0.59503174f, 502.79993f), 153) - { - Fly = true - }; - obj9.Steps = list12; - reference11 = obj9; - ref QuestSequence reference12 = ref span[7]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - Span span6 = CollectionsMarshal.AsSpan(list13); - span6[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(31.303873f, 19.952045f, 199.71306f), 153) - { - Fly = true - }; - span6[1] = new QuestStep(EInteractionType.Interact, 1046362u, new Vector3(22.934265f, 19.877338f, 195.91052f), 153); - obj10.Steps = list13; - reference12 = obj10; - ref QuestSequence reference13 = ref span[8]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046368u, new Vector3(205.06592f, 8.722662f, -74.08258f), 153) - { - Fly = true, - NextQuestId = new QuestId(4851) - }; - obj11.Steps = list14; - reference13 = obj11; - questRoot3.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(4851); - questRoot = new QuestRoot(); - QuestRoot questRoot4 = questRoot; - num = 1; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - CollectionsMarshal.AsSpan(list15)[0] = "liza"; - questRoot4.Author = list15; - QuestRoot questRoot5 = questRoot; - num = 9; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span7 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference14 = ref span7[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046371u, new Vector3(205.06592f, 8.660461f, -71.70221f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj12.Steps = list16; - reference14 = obj12; - ref QuestSequence reference15 = ref span7[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.Interact, 1046372u, new Vector3(-90.04352f, -46.544575f, 212.02405f), 154) - { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj13.Steps = list17; - reference15 = obj13; - ref QuestSequence reference16 = ref span7[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence4 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span8 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference17 = ref span8[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1046374u, new Vector3(-43.90027f, -40.94998f, 190.875f), 154); - num3 = 6; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - Span span9 = CollectionsMarshal.AsSpan(list18); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list18; - reference17 = questStep; - ref QuestStep reference18 = ref span8[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1046375u, new Vector3(-13.748474f, -38.971447f, 190.11206f), 154); - num3 = 6; - List list19 = new List(num3); - CollectionsMarshal.SetCount(list19, num3); - Span span10 = CollectionsMarshal.AsSpan(list19); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list19; - reference18 = questStep2; - ref QuestStep reference19 = ref span8[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1046376u, new Vector3(-25.345276f, -34.650696f, 172.96094f), 154); - num3 = 6; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - Span span11 = CollectionsMarshal.AsSpan(list20); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list20; - reference19 = questStep3; - questSequence4.Steps = list3; - reference16 = questSequence; - ref QuestSequence reference20 = ref span7[3]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - ref QuestStep reference21 = ref CollectionsMarshal.AsSpan(list21)[0]; - QuestStep obj15 = new QuestStep(EInteractionType.Interact, 1046377u, new Vector3(-54.76471f, -40.876083f, 239.36829f), 154) - { - Fly = true - }; - num3 = 1; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - CollectionsMarshal.AsSpan(list22)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGBB121_04851_Q1_000_100"), - Answer = new ExcelRef("TEXT_KINGBB121_04851_A2_000_100") - }; - obj15.DialogueChoices = list22; - reference21 = obj15; - obj14.Steps = list21; - reference20 = obj14; - ref QuestSequence reference22 = ref span7[4]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - ref QuestStep reference23 = ref CollectionsMarshal.AsSpan(list23)[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1046379u, new Vector3(-62.60785f, -45.560196f, 269.4895f), 154); - num3 = 1; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - CollectionsMarshal.AsSpan(list24)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGBB121_04851_Q2_000_200"), - Answer = new ExcelRef("TEXT_KINGBB121_04851_A2_000_200") - }; - questStep4.DialogueChoices = list24; - reference23 = questStep4; - obj16.Steps = list23; - reference22 = obj16; - ref QuestSequence reference24 = ref span7[5]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.Interact, 1046372u, new Vector3(-90.04352f, -46.544575f, 212.02405f), 154); - obj17.Steps = list25; - reference24 = obj17; - ref QuestSequence reference25 = ref span7[6]; - questSequence = new QuestSequence - { - Sequence = 6 - }; - QuestSequence questSequence5 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span12 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference26 = ref span12[0]; - QuestStep obj18 = new QuestStep(EInteractionType.Interact, 2013574u, new Vector3(-297.47473f, 58.91504f, -274.61664f), 612) - { - StopDistance = 1f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.FringesCastrumOriens, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 6; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - Span span13 = CollectionsMarshal.AsSpan(list26); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj18.CompletionQuestVariablesFlags = list26; - reference26 = obj18; - ref QuestStep reference27 = ref span12[1]; - QuestStep obj19 = new QuestStep(EInteractionType.Interact, 2013575u, new Vector3(-325.42914f, 61.661743f, -266.1021f), 612) - { - Fly = true - }; - num3 = 6; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - Span span14 = CollectionsMarshal.AsSpan(list27); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj19.CompletionQuestVariablesFlags = list27; - reference27 = obj19; - ref QuestStep reference28 = ref span12[2]; - QuestStep obj20 = new QuestStep(EInteractionType.Interact, 2013573u, new Vector3(-292.80542f, 61.875244f, -326.833f), 612) - { - Mount = false, - Sprint = true - }; - num3 = 6; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - Span span15 = CollectionsMarshal.AsSpan(list28); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj20.CompletionQuestVariablesFlags = list28; - reference28 = obj20; - questSequence5.Steps = list3; - reference25 = questSequence; - ref QuestSequence reference29 = ref span7[7]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.Interact, 1046381u, new Vector3(-278.21777f, 59.704876f, -333.547f), 612); - obj21.Steps = list29; - reference29 = obj21; - ref QuestSequence reference30 = ref span7[8]; - QuestSequence obj22 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046347u, new Vector3(205.79846f, 8.794112f, -72.15991f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - NextQuestId = new QuestId(4852) - }; - obj22.Steps = list30; - reference30 = obj22; - questRoot5.QuestSequence = list2; - AddQuest(questId2, questRoot); - QuestId questId3 = new QuestId(4852); - questRoot = new QuestRoot(); - QuestRoot questRoot6 = questRoot; - num = 1; - List list31 = new List(num); - CollectionsMarshal.SetCount(list31, num); - CollectionsMarshal.AsSpan(list31)[0] = "liza"; - questRoot6.Author = list31; - QuestRoot questRoot7 = questRoot; - num = 8; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span16 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference31 = ref span16[0]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046371u, new Vector3(205.06592f, 8.660461f, -71.70221f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj23.Steps = list32; - reference31 = obj23; - ref QuestSequence reference32 = ref span16[1]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.Interact, 1046382u, new Vector3(-183.18463f, 100.88573f, -541.4359f), 399) - { - AetheryteShortcut = EAetheryteLocation.Idyllshire, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Idyllshire, - To = EAetheryteLocation.IdyllshireEpilogueGate - } - }; - obj24.Steps = list33; - reference32 = obj24; - ref QuestSequence reference33 = ref span16[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence6 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span17 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference34 = ref span17[0]; - QuestStep obj25 = new QuestStep(EInteractionType.Interact, 2013576u, new Vector3(-173.87659f, 110.27698f, -343.64844f), 399) - { - Fly = true - }; - num3 = 6; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - Span span18 = CollectionsMarshal.AsSpan(list34); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj25.CompletionQuestVariablesFlags = list34; - reference34 = obj25; - ref QuestStep reference35 = ref span17[1]; - QuestStep obj26 = new QuestStep(EInteractionType.Interact, 2013578u, new Vector3(-139.97101f, 111.039795f, -270.58832f), 399) - { - Fly = true - }; - num3 = 6; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - Span span19 = CollectionsMarshal.AsSpan(list35); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj26.CompletionQuestVariablesFlags = list35; - reference35 = obj26; - ref QuestStep reference36 = ref span17[2]; - QuestStep obj27 = new QuestStep(EInteractionType.Interact, 2013577u, new Vector3(-69.29126f, 100.938354f, -336.47675f), 399) - { - Fly = true - }; - num3 = 6; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - Span span20 = CollectionsMarshal.AsSpan(list36); - span20[0] = null; - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj27.CompletionQuestVariablesFlags = list36; - reference36 = obj27; - questSequence6.Steps = list3; - reference33 = questSequence; - ref QuestSequence reference37 = ref span16[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence7 = questSequence; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - ref QuestStep reference38 = ref CollectionsMarshal.AsSpan(list37)[0]; - QuestStep obj28 = new QuestStep(EInteractionType.Interact, 1046383u, new Vector3(1.8463135f, 103.4929f, -280.14038f), 399) - { - StopDistance = 1f, - Fly = true - }; - num3 = 1; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - CollectionsMarshal.AsSpan(list38)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGBB131_04852_Q2_000_200"), - Answer = new ExcelRef("TEXT_KINGBB131_04852_A1_000_200") - }; - obj28.DialogueChoices = list38; - reference38 = obj28; - questSequence7.Steps = list37; - reference37 = questSequence; - ref QuestSequence reference39 = ref span16[4]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 1046384u, new Vector3(289.08203f, 163.68987f, 288.19702f), 397) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj29.Steps = list39; - reference39 = obj29; - ref QuestSequence reference40 = ref span16[5]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - ref QuestStep reference41 = ref CollectionsMarshal.AsSpan(list40)[0]; - QuestStep obj31 = new QuestStep(EInteractionType.Combat, null, new Vector3(258.81232f, 179.55281f, -45.167038f), 397) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - CollectionsMarshal.AsSpan(list41)[0] = 17642u; - obj31.KillEnemyDataIds = list41; - reference41 = obj31; - obj30.Steps = list40; - reference40 = obj30; - ref QuestSequence reference42 = ref span16[6]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.Interact, 1046385u, new Vector3(246.20422f, 180.63304f, -41.61145f), 397); - obj32.Steps = list42; - reference42 = obj32; - ref QuestSequence reference43 = ref span16[7]; - QuestSequence obj33 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046371u, new Vector3(205.06592f, 8.660461f, -71.70221f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - NextQuestId = new QuestId(4853) - }; - obj33.Steps = list43; - reference43 = obj33; - questRoot7.QuestSequence = list2; - AddQuest(questId3, questRoot); - QuestId questId4 = new QuestId(4853); - questRoot = new QuestRoot(); - QuestRoot questRoot8 = questRoot; - num = 1; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - CollectionsMarshal.AsSpan(list44)[0] = "liza"; - questRoot8.Author = list44; - QuestRoot questRoot9 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span21 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference44 = ref span21[0]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046371u, new Vector3(205.06592f, 8.660461f, -71.70221f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj34.Steps = list45; - reference44 = obj34; - ref QuestSequence reference45 = ref span21[1]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 2014381u, new Vector3(-64.59149f, -0.5036011f, 7.7667847f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj35.Steps = list46; - reference45 = obj35; - ref QuestSequence reference46 = ref span21[2]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1046388u, new Vector3(-275.01337f, 27.017544f, 636.8047f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings - }; - obj36.Steps = list47; - reference46 = obj36; - span21[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference47 = ref span21[4]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.Interact, 1046391u, new Vector3(-414.87756f, -0.4116819f, 747.7378f), 146); - obj37.Steps = list48; - reference47 = obj37; - ref QuestSequence reference48 = ref span21[5]; - QuestSequence obj38 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046393u, new Vector3(204.48608f, 8.565186f, -71.488525f), 153) - { - AetheryteShortcut = EAetheryteLocation.SouthShroudQuarrymill - }; - obj38.Steps = list49; - reference48 = obj38; - questRoot9.QuestSequence = list2; - AddQuest(questId4, questRoot); - QuestId questId5 = new QuestId(4854); - questRoot = new QuestRoot(); - QuestRoot questRoot10 = questRoot; - num = 1; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - CollectionsMarshal.AsSpan(list50)[0] = "liza"; - questRoot10.Author = list50; - QuestRoot questRoot11 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span22 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference49 = ref span22[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence8 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference50 = ref CollectionsMarshal.AsSpan(list3)[0]; - QuestStep obj39 = new QuestStep(EInteractionType.AcceptQuest, 1049794u, new Vector3(-158.98376f, 4.51273f, -45.63977f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition obj40 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list51 = new List(num3); - CollectionsMarshal.SetCount(list51, num3); - CollectionsMarshal.AsSpan(list51)[0] = 133; - obj40.InTerritory = list51; - skipConditions.AetheryteShortcutIf = obj40; - obj39.SkipConditions = skipConditions; - num3 = 1; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - CollectionsMarshal.AsSpan(list52)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGBB201_04854_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGBB201_04854_A1_000_002") - }; - obj39.DialogueChoices = list52; - reference50 = obj39; - questSequence8.Steps = list3; - reference49 = questSequence; - ref QuestSequence reference51 = ref span22[1]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.Interact, 2013738u, new Vector3(-6.9123535f, -1.4191895f, 5.508484f), 132) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaConjurer, - To = EAetheryteLocation.Gridania - } - }; - obj41.Steps = list53; - reference51 = obj41; - ref QuestSequence reference52 = ref span22[2]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.Interact, 1049795u, new Vector3(54.306763f, -8.321841f, 94.13281f), 132); - obj42.Steps = list54; - reference52 = obj42; - ref QuestSequence reference53 = ref span22[3]; - QuestSequence obj43 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.CompleteQuest, 1049795u, new Vector3(54.306763f, -8.321841f, 94.13281f), 132) - { - NextQuestId = new QuestId(4855) - }; - obj43.Steps = list55; - reference53 = obj43; - questRoot11.QuestSequence = list2; - AddQuest(questId5, questRoot); - QuestId questId6 = new QuestId(4855); - questRoot = new QuestRoot(); - QuestRoot questRoot12 = questRoot; - num = 1; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - CollectionsMarshal.AsSpan(list56)[0] = "liza"; - questRoot12.Author = list56; - QuestRoot questRoot13 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span23 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference54 = ref span23[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence9 = questSequence; - num2 = 4; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span24 = CollectionsMarshal.AsSpan(list3); - span24[0] = new QuestStep(EInteractionType.UseItem, null, new Vector3(54.306763f, -8.321841f, 94.13281f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - ItemId = 43538u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span24[1] = new QuestStep(EInteractionType.EquipItem, null, null, 132) - { - ItemId = 41809u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions - { - NotInInventory = true - } - } - } - }; - span24[2] = new QuestStep(EInteractionType.EquipRecommended, null, null, 132); - span24[3] = new QuestStep(EInteractionType.AcceptQuest, 1049795u, new Vector3(54.306763f, -8.321841f, 94.13281f), 132); - questSequence9.Steps = list3; - reference54 = questSequence; - ref QuestSequence reference55 = ref span23[1]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.Interact, 1049794u, new Vector3(-158.98376f, 4.51273f, -45.63977f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaConjurer - } - }; - obj44.Steps = list57; - reference55 = obj44; - ref QuestSequence reference56 = ref span23[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence10 = questSequence; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - ref QuestStep reference57 = ref CollectionsMarshal.AsSpan(list58)[0]; - QuestStep obj45 = new QuestStep(EInteractionType.SinglePlayerDuty, 1049796u, new Vector3(27.695068f, 16.16987f, -339.13184f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaConjurer, - To = EAetheryteLocation.GridaniaLancer - } - }; - num3 = 1; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - CollectionsMarshal.AsSpan(list59)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGBB202_04855_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGBB202_04855_A1_000_001") - }; - obj45.DialogueChoices = list59; - reference57 = obj45; - questSequence10.Steps = list58; - reference56 = questSequence; - ref QuestSequence reference58 = ref span23[3]; - QuestSequence obj46 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.CompleteQuest, 1049796u, new Vector3(27.695068f, 16.16987f, -339.13184f), 133) - { - StopDistance = 5f, - NextQuestId = new QuestId(4856) - }; - obj46.Steps = list60; - reference58 = obj46; - questRoot13.QuestSequence = list2; - AddQuest(questId6, questRoot); - QuestId questId7 = new QuestId(4856); - questRoot = new QuestRoot(); - QuestRoot questRoot14 = questRoot; - num = 1; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - CollectionsMarshal.AsSpan(list61)[0] = "liza"; - questRoot14.Author = list61; - QuestRoot questRoot15 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span25 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference59 = ref span25[0]; - questSequence = new QuestSequence - { - Sequence = 0 - }; - QuestSequence questSequence11 = questSequence; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - ref QuestStep reference60 = ref CollectionsMarshal.AsSpan(list62)[0]; - QuestStep obj47 = new QuestStep(EInteractionType.AcceptQuest, 1049796u, new Vector3(27.695068f, 16.16987f, -339.13184f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLancer - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition obj48 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - CollectionsMarshal.AsSpan(list63)[0] = 133; - obj48.InTerritory = list63; - skipConditions2.AetheryteShortcutIf = obj48; - obj47.SkipConditions = skipConditions2; - reference60 = obj47; - questSequence11.Steps = list62; - reference59 = questSequence; - ref QuestSequence reference61 = ref span25[1]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.Interact, 1049797u, new Vector3(214.64856f, 301.99997f, -254.26111f), 155) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead - }; - obj49.Steps = list64; - reference61 = obj49; - ref QuestSequence reference62 = ref span25[2]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.Interact, 1049798u, new Vector3(229.84656f, 302.04782f, -289.2348f), 155); - obj50.Steps = list65; - reference62 = obj50; - ref QuestSequence reference63 = ref span25[3]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.Interact, 2013740u, new Vector3(301.13672f, 358.99734f, -575.8297f), 155) - { - Fly = true - }; - obj51.Steps = list66; - reference63 = obj51; - ref QuestSequence reference64 = ref span25[4]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - ref QuestStep reference65 = ref CollectionsMarshal.AsSpan(list67)[0]; - QuestStep obj53 = new QuestStep(EInteractionType.Combat, null, new Vector3(403.64606f, 346.8219f, -669.97644f), 155) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list68 = new List(num3); - CollectionsMarshal.SetCount(list68, num3); - CollectionsMarshal.AsSpan(list68)[0] = 17628u; - obj53.KillEnemyDataIds = list68; - reference65 = obj53; - obj52.Steps = list67; - reference64 = obj52; - ref QuestSequence reference66 = ref span25[5]; - QuestSequence obj54 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.CompleteQuest, 1049800u, new Vector3(215.77783f, 302f, -253.86438f), 155) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - NextQuestId = new QuestId(4857) - }; - obj54.Steps = list69; - reference66 = obj54; - questRoot15.QuestSequence = list2; - AddQuest(questId7, questRoot); - QuestId questId8 = new QuestId(4857); - questRoot = new QuestRoot(); - QuestRoot questRoot16 = questRoot; - num = 1; - List list70 = new List(num); - CollectionsMarshal.SetCount(list70, num); - CollectionsMarshal.AsSpan(list70)[0] = "liza"; - questRoot16.Author = list70; - QuestRoot questRoot17 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span26 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference67 = ref span26[0]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - CollectionsMarshal.AsSpan(list71)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049797u, new Vector3(214.64856f, 301.99997f, -254.26111f), 155) - { - Mount = true, - AetheryteShortcut = EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj55.Steps = list71; - reference67 = obj55; - ref QuestSequence reference68 = ref span26[1]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.UseItem, 2013741u, new Vector3(107.28613f, 11.9782715f, -76.676636f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - }, - ItemId = 2003500u - }; - obj56.Steps = list72; - reference68 = obj56; - ref QuestSequence reference69 = ref span26[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence12 = questSequence; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - ref QuestStep reference70 = ref CollectionsMarshal.AsSpan(list73)[0]; - QuestStep obj57 = new QuestStep(EInteractionType.Interact, 1049801u, new Vector3(445.9143f, 29.750532f, 770.8705f), 613) - { - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.KuganeSekiseigumiBarracks, - To = EAetheryteLocation.KuganeRubyPrice - } - }; - num3 = 1; - List list74 = new List(num3); - CollectionsMarshal.SetCount(list74, num3); - CollectionsMarshal.AsSpan(list74)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGBB221_04857_Q2_000_000"), - Answer = new ExcelRef("TEXT_KINGBB221_04857_A2_000_001") - }; - obj57.DialogueChoices = list74; - reference70 = obj57; - questSequence12.Steps = list73; - reference69 = questSequence; - ref QuestSequence reference71 = ref span26[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence13 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span27 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference72 = ref span27[0]; - QuestStep obj58 = new QuestStep(EInteractionType.Combat, 2013742u, new Vector3(411.79517f, 16.250854f, 832.4863f), 613) - { - Fly = true, - ItemId = 2003559u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - CollectionsMarshal.AsSpan(list75)[0] = new ComplexCombatData - { - DataId = 17629u - }; - obj58.ComplexCombatData = list75; - num3 = 6; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - Span span28 = CollectionsMarshal.AsSpan(list76); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj58.CompletionQuestVariablesFlags = list76; - reference72 = obj58; - ref QuestStep reference73 = ref span27[1]; - QuestStep obj59 = new QuestStep(EInteractionType.Combat, 2013743u, new Vector3(338.4298f, 0.6866455f, 793.4232f), 613) - { - Fly = true, - ItemId = 2003559u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - CollectionsMarshal.AsSpan(list77)[0] = new ComplexCombatData - { - DataId = 17629u - }; - obj59.ComplexCombatData = list77; - num3 = 6; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - Span span29 = CollectionsMarshal.AsSpan(list78); - span29[0] = null; - span29[1] = null; - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj59.CompletionQuestVariablesFlags = list78; - reference73 = obj59; - ref QuestStep reference74 = ref span27[2]; - QuestStep obj60 = new QuestStep(EInteractionType.Combat, 2013744u, new Vector3(415.61f, 0.7171631f, 730.4341f), 613) - { - Fly = true, - ItemId = 2003559u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - CollectionsMarshal.AsSpan(list79)[0] = new ComplexCombatData - { - DataId = 17629u - }; - obj60.ComplexCombatData = list79; - reference74 = obj60; - questSequence13.Steps = list3; - reference71 = questSequence; - ref QuestSequence reference75 = ref span26[4]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.Interact, 1049802u, new Vector3(444.6936f, 29.73244f, 770.9315f), 613) - { - Fly = true - }; - obj61.Steps = list80; - reference75 = obj61; - ref QuestSequence reference76 = ref span26[5]; - QuestSequence obj62 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.CompleteQuest, 1049803u, new Vector3(105.85181f, 12.000005f, -75.70001f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - }, - NextQuestId = new QuestId(4858) - }; - obj62.Steps = list81; - reference76 = obj62; - questRoot17.QuestSequence = list2; - AddQuest(questId8, questRoot); - QuestId questId9 = new QuestId(4858); - questRoot = new QuestRoot(); - QuestRoot questRoot18 = questRoot; - num = 1; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - CollectionsMarshal.AsSpan(list82)[0] = "liza"; - questRoot18.Author = list82; - QuestRoot questRoot19 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span30 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference77 = ref span30[0]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049804u, new Vector3(105.69922f, 12.000006f, -77.37854f), 628) - { - AetheryteShortcut = EAetheryteLocation.Kugane, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Kugane, - To = EAetheryteLocation.KuganeSekiseigumiBarracks - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj63.Steps = list83; - reference77 = obj63; - ref QuestSequence reference78 = ref span30[1]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.UseItem, 2013747u, new Vector3(-57.63336f, 3.9520264f, -142.22937f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - ItemId = 2003503u - }; - obj64.Steps = list84; - reference78 = obj64; - ref QuestSequence reference79 = ref span30[2]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.Interact, 1049805u, new Vector3(-152.14777f, 14.005f, 45.303955f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - } - }; - obj65.Steps = list85; - reference79 = obj65; - ref QuestSequence reference80 = ref span30[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence14 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference81 = ref CollectionsMarshal.AsSpan(list3)[0]; - QuestStep obj66 = new QuestStep(EInteractionType.Combat, null, new Vector3(-286.10168f, -32f, 92.85731f), 141) - { - StopDistance = 0.5f, - Fly = true, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahThaumaturge, - To = EAetheryteLocation.UldahGateOfNald - }, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 9; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - Span span31 = CollectionsMarshal.AsSpan(list86); - span31[0] = 17632u; - span31[1] = 17633u; - span31[2] = 17634u; - span31[3] = 17635u; - span31[4] = 17636u; - span31[5] = 17637u; - span31[6] = 17638u; - span31[7] = 17639u; - span31[8] = 17640u; - obj66.KillEnemyDataIds = list86; - reference81 = obj66; - questSequence14.Steps = list3; - reference80 = questSequence; - ref QuestSequence reference82 = ref span30[4]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.Interact, 1049806u, new Vector3(-152.60547f, 14.004998f, 46.73828f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - } - }; - obj67.Steps = list87; - reference82 = obj67; - ref QuestSequence reference83 = ref span30[5]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence15 = questSequence; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - ref QuestStep reference84 = ref CollectionsMarshal.AsSpan(list88)[0]; - QuestStep obj68 = new QuestStep(EInteractionType.CompleteQuest, 1049805u, new Vector3(-152.14777f, 14.005f, 45.303955f), 130) - { - StopDistance = 5f - }; - num3 = 1; - List list89 = new List(num3); - CollectionsMarshal.SetCount(list89, num3); - CollectionsMarshal.AsSpan(list89)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGBB231_04858_Q3_000_000"), - Answer = new ExcelRef("TEXT_KINGBB231_04858_A3_000_002") - }; - obj68.DialogueChoices = list89; - obj68.NextQuestId = new QuestId(4859); - reference84 = obj68; - questSequence15.Steps = list88; - reference83 = questSequence; - questRoot19.QuestSequence = list2; - AddQuest(questId9, questRoot); - QuestId questId10 = new QuestId(4859); - questRoot = new QuestRoot(); - QuestRoot questRoot20 = questRoot; - num = 1; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - CollectionsMarshal.AsSpan(list90)[0] = "liza"; - questRoot20.Author = list90; - QuestRoot questRoot21 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span32 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference85 = ref span32[0]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049805u, new Vector3(-152.14777f, 14.005f, 45.303955f), 130) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj69.Steps = list91; - reference85 = obj69; - ref QuestSequence reference86 = ref span32[1]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - Span span33 = CollectionsMarshal.AsSpan(list92); - span33[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(15.193803f, 2.4684885f, -133.5494f), 148) - { - AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows - }; - span33[1] = new QuestStep(EInteractionType.Interact, 1049807u, new Vector3(14.419739f, 2.2207584f, -132.25f), 148); - obj70.Steps = list92; - reference86 = obj70; - ref QuestSequence reference87 = ref span32[2]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - ref QuestStep reference88 = ref CollectionsMarshal.AsSpan(list93)[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.SinglePlayerDuty, 1049807u, new Vector3(14.419739f, 2.2207584f, -132.25f), 148); - num3 = 1; - List list94 = new List(num3); - CollectionsMarshal.SetCount(list94, num3); - CollectionsMarshal.AsSpan(list94)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGBB241_04859_Q2_000_000"), - Answer = new ExcelRef("TEXT_KINGBB241_04859_A2_000_001") - }; - questStep5.DialogueChoices = list94; - reference88 = questStep5; - obj71.Steps = list93; - reference87 = obj71; - ref QuestSequence reference89 = ref span32[3]; - QuestSequence obj72 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.CompleteQuest, 1049808u, new Vector3(17.013733f, 2.0418286f, -129.83911f), 148) - { - StopDistance = 7f - }; - obj72.Steps = list95; - reference89 = obj72; - questRoot21.QuestSequence = list2; - AddQuest(questId10, questRoot); - QuestId questId11 = new QuestId(4860); - questRoot = new QuestRoot(); - QuestRoot questRoot22 = questRoot; - num = 1; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - CollectionsMarshal.AsSpan(list96)[0] = "liza"; - questRoot22.Author = list96; - QuestRoot questRoot23 = questRoot; - num = 7; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span34 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference90 = ref span34[0]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046835u, new Vector3(-101.76245f, 4.357494f, 0.7476196f), 962) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj73.Steps = list97; - reference90 = obj73; - ref QuestSequence reference91 = ref span34[1]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - Span span35 = CollectionsMarshal.AsSpan(list98); - span35[0] = new QuestStep(EInteractionType.Interact, 2011936u, new Vector3(-108.56799f, 5.0201416f, 4.5318604f), 962) - { - TargetTerritoryId = (ushort)987 - }; - span35[1] = new QuestStep(EInteractionType.Interact, 2013592u, new Vector3(-0.045776367f, -0.015319824f, -8.98761f), 987); - obj74.Steps = list98; - reference91 = obj74; - ref QuestSequence reference92 = ref span34[2]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 1046493u, new Vector3(-80.094604f, 1.2172644f, 28.244385f), 962); - obj75.Steps = list99; - reference92 = obj75; - span34[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference93 = ref span34[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence16 = questSequence; - num2 = 5; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span36 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference94 = ref span36[0]; - QuestStep obj76 = new QuestStep(EInteractionType.Interact, 1046495u, new Vector3(8.194031f, 16.35219f, 11.215393f), 1206) - { - StopDistance = 7f - }; - num3 = 6; - List list100 = new List(num3); - CollectionsMarshal.SetCount(list100, num3); - Span span37 = CollectionsMarshal.AsSpan(list100); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj76.CompletionQuestVariablesFlags = list100; - reference94 = obj76; - ref QuestStep reference95 = ref span36[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1046498u, new Vector3(-4.0742188f, 16.347223f, 1.3884888f), 1206); - num3 = 6; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - Span span38 = CollectionsMarshal.AsSpan(list101); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list101; - reference95 = questStep6; - ref QuestStep reference96 = ref span36[2]; - QuestStep obj77 = new QuestStep(EInteractionType.Interact, 1046496u, new Vector3(-3.768982f, 16.347233f, -0.5951538f), 1206) - { - StopDistance = 7f - }; - num3 = 6; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - Span span39 = CollectionsMarshal.AsSpan(list102); - span39[0] = null; - span39[1] = null; - span39[2] = null; - span39[3] = null; - span39[4] = null; - span39[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj77.CompletionQuestVariablesFlags = list102; - reference96 = obj77; - ref QuestStep reference97 = ref span36[3]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1046497u, new Vector3(3.5552979f, 16.861145f, -18.08197f), 1206); - num3 = 6; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - Span span40 = CollectionsMarshal.AsSpan(list103); - span40[0] = null; - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list103; - reference97 = questStep7; - ref QuestStep reference98 = ref span36[4]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1047584u, new Vector3(-8.957031f, 21.347244f, -35.751892f), 1206); - num3 = 6; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - Span span41 = CollectionsMarshal.AsSpan(list104); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list104; - reference98 = questStep8; - questSequence16.Steps = list3; - reference93 = questSequence; - ref QuestSequence reference99 = ref span34[5]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 1046502u, new Vector3(2.090454f, 18.350365f, 31.143677f), 1206); - obj78.Steps = list105; - reference99 = obj78; - ref QuestSequence reference100 = ref span34[6]; - QuestSequence obj79 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046503u, new Vector3(110.154785f, -16.560854f, 144.15198f), 1185) - { - StopDistance = 7f - }; - obj79.Steps = list106; - reference100 = obj79; - questRoot23.QuestSequence = list2; - AddQuest(questId11, questRoot); - QuestId questId12 = new QuestId(4861); - questRoot = new QuestRoot(); - QuestRoot questRoot24 = questRoot; - num = 1; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - CollectionsMarshal.AsSpan(list107)[0] = "liza"; - questRoot24.Author = list107; - QuestRoot questRoot25 = questRoot; - num = 7; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span42 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference101 = ref span42[0]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046504u, new Vector3(112.38269f, -16.560852f, 142.29028f), 1185) - { - StopDistance = 7f - }; - obj80.Steps = list108; - reference101 = obj80; - ref QuestSequence reference102 = ref span42[1]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.Interact, 1046504u, new Vector3(112.38269f, -16.560852f, 142.29028f), 1185) - { - StopDistance = 7f - }; - obj81.Steps = list109; - reference102 = obj81; - ref QuestSequence reference103 = ref span42[2]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.Interact, 1046504u, new Vector3(22.221941f, -14f, 94.1764f), 1185) - { - StopDistance = 0.25f - }; - obj82.Steps = list110; - reference103 = obj82; - ref QuestSequence reference104 = ref span42[3]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.Interact, 1046504u, new Vector3(-12.395758f, 0f, 21.762516f), 1185) - { - StopDistance = 0.25f - }; - obj83.Steps = list111; - reference104 = obj83; - ref QuestSequence reference105 = ref span42[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence17 = questSequence; - num2 = 4; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span43 = CollectionsMarshal.AsSpan(list112); - span43[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 1185) - { - StopDistance = 7f, - Aetheryte = EAetheryteLocation.Tuliyollal - }; - span43[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(9.706764f, -10.00001f, 38.266582f), 1185); - span43[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1185) - { - AethernetShard = EAetheryteLocation.TuliyollalBrightploomPost - }; - span43[3] = new QuestStep(EInteractionType.Interact, 1046504u, new Vector3(105.193634f, 42f, -341.83524f), 1185) - { - StopDistance = 0.25f - }; - questSequence17.Steps = list112; - reference105 = questSequence; - ref QuestSequence reference106 = ref span42[5]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.Interact, 1046504u, new Vector3(41.811092f, 47.072273f, -408.94568f), 1185) - { - StopDistance = 0.25f - }; - obj84.Steps = list113; - reference106 = obj84; - ref QuestSequence reference107 = ref span42[6]; - QuestSequence obj85 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046508u, new Vector3(40.878906f, 46.999996f, -412.9854f), 1185) - { - StopDistance = 5f - }; - obj85.Steps = list114; - reference107 = obj85; - questRoot25.QuestSequence = list2; - AddQuest(questId12, questRoot); - QuestId questId13 = new QuestId(4862); - questRoot = new QuestRoot(); - QuestRoot questRoot26 = questRoot; - num = 1; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - CollectionsMarshal.AsSpan(list115)[0] = "liza"; - questRoot26.Author = list115; - QuestRoot questRoot27 = questRoot; - num = 7; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span44 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference108 = ref span44[0]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046509u, new Vector3(43.137207f, 46.999996f, -413.016f), 1185) - { - StopDistance = 7f - }; - obj86.Steps = list116; - reference108 = obj86; - ref QuestSequence reference109 = ref span44[1]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.Interact, 1046509u, new Vector3(43.137207f, 46.999996f, -413.016f), 1185) - { - StopDistance = 7f - }; - obj87.Steps = list117; - reference109 = obj87; - ref QuestSequence reference110 = ref span44[2]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.Interact, 1046508u, new Vector3(114.4164f, 46.999996f, -125.71052f), 1185) - { - StopDistance = 0.25f - }; - obj88.Steps = list118; - reference110 = obj88; - ref QuestSequence reference111 = ref span44[3]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.Interact, 1046508u, new Vector3(-182.43765f, 39.935753f, 16.35889f), 1185) - { - StopDistance = 0.25f - }; - obj89.Steps = list119; - reference111 = obj89; - ref QuestSequence reference112 = ref span44[4]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - Span span45 = CollectionsMarshal.AsSpan(list120); - span45[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1185) - { - AethernetShard = EAetheryteLocation.TuliyollalTheResplendentQuarter - }; - span45[1] = new QuestStep(EInteractionType.Interact, 1046509u, new Vector3(-317.23196f, 2.9999998f, -13.00843f), 1185) - { - StopDistance = 0.25f - }; - obj90.Steps = list120; - reference112 = obj90; - ref QuestSequence reference113 = ref span44[5]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - Span span46 = CollectionsMarshal.AsSpan(list121); - span46[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1185) - { - Comment = "Dirigible Landing", - AethernetShard = EAetheryteLocation.TuliyollalDirigibleLanding - }; - span46[1] = new QuestStep(EInteractionType.Interact, 1046509u, new Vector3(-273.17014f, 0.0722692f, 129.50276f), 1185) - { - StopDistance = 0.25f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalDirigibleLanding, - To = EAetheryteLocation.TuliyollalTheResplendentQuarter - } - }; - obj91.Steps = list121; - reference113 = obj91; - ref QuestSequence reference114 = ref span44[6]; - QuestSequence obj92 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046510u, new Vector3(-195.6665f, -4.927734f, 132.18884f), 1185); - obj92.Steps = list122; - reference114 = obj92; - questRoot27.QuestSequence = list2; - AddQuest(questId13, questRoot); - QuestId questId14 = new QuestId(4863); - questRoot = new QuestRoot(); - QuestRoot questRoot28 = questRoot; - num = 1; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - CollectionsMarshal.AsSpan(list123)[0] = "liza"; - questRoot28.Author = list123; - QuestRoot questRoot29 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span47 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference115 = ref span47[0]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046511u, new Vector3(-196.58203f, -5.0000086f, 127.18384f), 1185) - { - StopDistance = 7f - }; - obj93.Steps = list124; - reference115 = obj93; - ref QuestSequence reference116 = ref span47[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence18 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference117 = ref CollectionsMarshal.AsSpan(list3)[0]; - QuestStep obj94 = new QuestStep(EInteractionType.Interact, 2013593u, new Vector3(-195.75806f, -4.928711f, 129.80847f), 1185) - { - StopDistance = 4.5f - }; - num3 = 3; - List list125 = new List(num3); - CollectionsMarshal.SetCount(list125, num3); - Span span48 = CollectionsMarshal.AsSpan(list125); - span48[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMA104_04863_Q3_000_000") - }; - span48[1] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMA104_04863_Q10_000_000") - }; - span48[2] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMA104_04863_Q2_000_000"), - Answer = new ExcelRef("TEXT_KINGMA104_04863_A2_000_001") - }; - obj94.DialogueChoices = list125; - num3 = 8; - List list126 = new List(num3); - CollectionsMarshal.SetCount(list126, num3); - Span span49 = CollectionsMarshal.AsSpan(list126); - span49[0] = 0u; - span49[1] = 1u; - span49[2] = 2u; - span49[3] = 3u; - span49[4] = 0u; - span49[5] = 1u; - span49[6] = 2u; - span49[7] = 3u; - obj94.PointMenuChoices = list126; - reference117 = obj94; - questSequence18.Steps = list3; - reference116 = questSequence; - ref QuestSequence reference118 = ref span47[2]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - Span span50 = CollectionsMarshal.AsSpan(list127); - span50[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1185) - { - AethernetShard = EAetheryteLocation.TuliyollalTheForardCabins - }; - span50[1] = new QuestStep(EInteractionType.Interact, 1046512u, new Vector3(-46.433228f, -6.080007f, 161.08948f), 1185); - obj95.Steps = list127; - reference118 = obj95; - ref QuestSequence reference119 = ref span47[3]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.Interact, 1046521u, new Vector3(-46.616333f, -17.97287f, 180.3158f), 1185) - { - StopDistance = 5f - }; - obj96.Steps = list128; - reference119 = obj96; - ref QuestSequence reference120 = ref span47[4]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - CollectionsMarshal.AsSpan(list129)[0] = new QuestStep(EInteractionType.Interact, 1046515u, new Vector3(-44.90735f, -10.000009f, 138.71973f), 1185); - obj97.Steps = list129; - reference120 = obj97; - ref QuestSequence reference121 = ref span47[5]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence19 = questSequence; - num2 = 4; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span51 = CollectionsMarshal.AsSpan(list3); - span51[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1185) - { - AethernetShard = EAetheryteLocation.TuliyollalBaysideBevyMarketplace - }; - span51[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-68.179695f, 85.001854f, -56.396465f), 1185) - { - Comment = "Resplentend Quarter Lamp nav", - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalBaysideBevyMarketplace, - To = EAetheryteLocation.TuliyollalTheResplendentQuarter - } - }; - span51[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1185) - { - AethernetShard = EAetheryteLocation.TuliyollalVollokShoonsa - }; - span51[3] = new QuestStep(EInteractionType.CompleteQuest, 1046517u, new Vector3(-178.97314f, 120.749985f, -320.21063f), 1185); - questSequence19.Steps = list3; - reference121 = questSequence; - questRoot29.QuestSequence = list2; - AddQuest(questId14, questRoot); - QuestId questId15 = new QuestId(4864); - questRoot = new QuestRoot(); - QuestRoot questRoot30 = questRoot; - num = 1; - List list130 = new List(num); - CollectionsMarshal.SetCount(list130, num); - CollectionsMarshal.AsSpan(list130)[0] = "liza"; - questRoot30.Author = list130; - QuestRoot questRoot31 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span52 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference122 = ref span52[0]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046522u, new Vector3(-177.17255f, 120.79523f, -318.37952f), 1185) - { - StopDistance = 5f - }; - obj98.Steps = list131; - reference122 = obj98; - ref QuestSequence reference123 = ref span52[1]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.Interact, 1046523u, new Vector3(-54.276367f, 95.49999f, -100.75531f), 1185) - { - StopDistance = 5f - }; - obj99.Steps = list132; - reference123 = obj99; - ref QuestSequence reference124 = ref span52[2]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.Interact, 1046528u, new Vector3(-182.29956f, -5.0000095f, 121.29382f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalVollokShoonsa, - To = EAetheryteLocation.TuliyollalTheForardCabins - } - }; - obj100.Steps = list133; - reference124 = obj100; - ref QuestSequence reference125 = ref span52[3]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.Interact, 1046533u, new Vector3(-164.29395f, -14.999356f, 208.72815f), 1185); - obj101.Steps = list134; - reference125 = obj101; - ref QuestSequence reference126 = ref span52[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence20 = questSequence; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - ref QuestStep reference127 = ref CollectionsMarshal.AsSpan(list135)[0]; - QuestStep obj102 = new QuestStep(EInteractionType.Interact, 2013594u, new Vector3(-36.087585f, -10.055725f, 145.28113f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalTheForardCabins, - To = EAetheryteLocation.TuliyollalBaysideBevyMarketplace - } - }; - num3 = 1; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - CollectionsMarshal.AsSpan(list136)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMA105_04864_SYSTEM_000_060") - }; - obj102.DialogueChoices = list136; - reference127 = obj102; - questSequence20.Steps = list135; - reference126 = questSequence; - ref QuestSequence reference128 = ref span52[5]; - QuestSequence obj103 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046537u, new Vector3(-32.822205f, -10.00001f, 142.93127f), 1185); - obj103.Steps = list137; - reference128 = obj103; - questRoot31.QuestSequence = list2; - AddQuest(questId15, questRoot); - QuestId questId16 = new QuestId(4865); - questRoot = new QuestRoot(); - QuestRoot questRoot32 = questRoot; - num = 1; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - CollectionsMarshal.AsSpan(list138)[0] = "liza"; - questRoot32.Author = list138; - QuestRoot questRoot33 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span53 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference129 = ref span53[0]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046684u, new Vector3(-33.218933f, -10.00001f, 147.41736f), 1185) - { - StopDistance = 7f - }; - obj104.Steps = list139; - reference129 = obj104; - ref QuestSequence reference130 = ref span53[1]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.Interact, 1046686u, new Vector3(-287.28168f, -8.941224E-06f, 129.93054f), 1185); - obj105.Steps = list140; - reference130 = obj105; - span53[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference131 = ref span53[3]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.Interact, 1046691u, new Vector3(-289.53992f, 10.95645f, -791.56177f), 1188) - { - DisableNavmesh = true - }; - obj106.Steps = list141; - reference131 = obj106; - ref QuestSequence reference132 = ref span53[4]; - QuestSequence obj107 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046694u, new Vector3(-264.8203f, 5.6243224f, -571.80133f), 1188); - obj107.Steps = list142; - reference132 = obj107; - questRoot33.QuestSequence = list2; - AddQuest(questId16, questRoot); - QuestId questId17 = new QuestId(4866); - questRoot = new QuestRoot(); - QuestRoot questRoot34 = questRoot; - num = 1; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - CollectionsMarshal.AsSpan(list143)[0] = "liza"; - questRoot34.Author = list143; - QuestRoot questRoot35 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span54 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference133 = ref span54[0]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046695u, new Vector3(-266.5904f, 5.6852775f, -570.0008f), 1188) - { - StopDistance = 7f - }; - obj108.Steps = list144; - reference133 = obj108; - ref QuestSequence reference134 = ref span54[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence21 = questSequence; - num2 = 4; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span55 = CollectionsMarshal.AsSpan(list3); - span55[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-176.0706f, 6.27715f, -486.288f), 1188); - span55[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 1188) - { - Aetheryte = EAetheryteLocation.KozamaukaOkHanu - }; - ref QuestStep reference135 = ref span55[2]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1046699u, new Vector3(-218.555f, 6.4016876f, -477.77527f), 1188); - num3 = 6; - List list145 = new List(num3); - CollectionsMarshal.SetCount(list145, num3); - Span span56 = CollectionsMarshal.AsSpan(list145); - span56[0] = null; - span56[1] = null; - span56[2] = null; - span56[3] = null; - span56[4] = null; - span56[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list145; - reference135 = questStep9; - ref QuestStep reference136 = ref span55[3]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 2013621u, new Vector3(-232.95953f, 6.7596436f, -479.2096f), 1188); - num3 = 6; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - Span span57 = CollectionsMarshal.AsSpan(list146); - span57[0] = null; - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list146; - reference136 = questStep10; - questSequence21.Steps = list3; - reference134 = questSequence; - ref QuestSequence reference137 = ref span54[2]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.Interact, 1046700u, new Vector3(-255.14612f, 2.5820477f, -468.19257f), 1188); - obj109.Steps = list147; - reference137 = obj109; - ref QuestSequence reference138 = ref span54[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence22 = questSequence; - num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span58 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference139 = ref span58[0]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 2013622u, new Vector3(-167.58984f, 7.5531616f, -532.6162f), 1188); - num3 = 6; - List list148 = new List(num3); - CollectionsMarshal.SetCount(list148, num3); - Span span59 = CollectionsMarshal.AsSpan(list148); - span59[0] = null; - span59[1] = null; - span59[2] = null; - span59[3] = null; - span59[4] = null; - span59[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list148; - reference139 = questStep11; - ref QuestStep reference140 = ref span58[1]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 2013623u, new Vector3(-97.85614f, 11.917236f, -528.52673f), 1188); - num3 = 6; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - Span span60 = CollectionsMarshal.AsSpan(list149); - span60[0] = null; - span60[1] = null; - span60[2] = null; - span60[3] = null; - span60[4] = null; - span60[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list149; - reference140 = questStep12; - questSequence22.Steps = list3; - reference138 = questSequence; - ref QuestSequence reference141 = ref span54[4]; - QuestSequence obj110 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046701u, new Vector3(-103.16626f, 9.773315f, -533.37915f), 1188); - obj110.Steps = list150; - reference141 = obj110; - questRoot35.QuestSequence = list2; - AddQuest(questId17, questRoot); - QuestId questId18 = new QuestId(4867); - questRoot = new QuestRoot(); - QuestRoot questRoot36 = questRoot; - num = 1; - List list151 = new List(num); - CollectionsMarshal.SetCount(list151, num); - CollectionsMarshal.AsSpan(list151)[0] = "liza"; - questRoot36.Author = list151; - QuestRoot questRoot37 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span61 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference142 = ref span61[0]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046702u, new Vector3(-122.453674f, 9.842161f, -441.21466f), 1188) - { - StopDistance = 5f - }; - obj111.Steps = list152; - reference142 = obj111; - ref QuestSequence reference143 = ref span61[1]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.Interact, 1046707u, new Vector3(39.16992f, 0.998726f, -390.0359f), 1188); - obj112.Steps = list153; - reference143 = obj112; - ref QuestSequence reference144 = ref span61[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence23 = questSequence; - num2 = 4; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span62 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference145 = ref span62[0]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 2013624u, new Vector3(86.71704f, -0.13739014f, -388.8152f), 1188); - num3 = 6; - List list154 = new List(num3); - CollectionsMarshal.SetCount(list154, num3); - Span span63 = CollectionsMarshal.AsSpan(list154); - span63[0] = null; - span63[1] = null; - span63[2] = null; - span63[3] = null; - span63[4] = null; - span63[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list154; - reference145 = questStep13; - ref QuestStep reference146 = ref span62[1]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1046712u, new Vector3(142.1073f, 0.7218611f, -421.5f), 1188); - num3 = 6; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - Span span64 = CollectionsMarshal.AsSpan(list155); - span64[0] = null; - span64[1] = null; - span64[2] = null; - span64[3] = null; - span64[4] = null; - span64[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list155; - reference146 = questStep14; - ref QuestStep reference147 = ref span62[2]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 2013625u, new Vector3(131.0597f, -0.13739014f, -370.2907f), 1188); - num3 = 6; - List list156 = new List(num3); - CollectionsMarshal.SetCount(list156, num3); - Span span65 = CollectionsMarshal.AsSpan(list156); - span65[0] = null; - span65[1] = null; - span65[2] = null; - span65[3] = null; - span65[4] = null; - span65[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list156; - reference147 = questStep15; - ref QuestStep reference148 = ref span62[3]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 2013626u, new Vector3(177.44714f, -0.13739014f, -371.63348f), 1188); - num3 = 6; - List list157 = new List(num3); - CollectionsMarshal.SetCount(list157, num3); - Span span66 = CollectionsMarshal.AsSpan(list157); - span66[0] = null; - span66[1] = null; - span66[2] = null; - span66[3] = null; - span66[4] = null; - span66[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list157; - reference148 = questStep16; - questSequence23.Steps = list3; - reference144 = questSequence; - ref QuestSequence reference149 = ref span61[3]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.Interact, 1046713u, new Vector3(225.11633f, -0.40000004f, -352.19354f), 1188); - obj113.Steps = list158; - reference149 = obj113; - ref QuestSequence reference150 = ref span61[4]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.Snipe, 1046718u, new Vector3(-101.18262f, 9.773315f, -532.15845f), 1188) - { - Comment = "Inspect Eye, Carrying Pole and Tail", - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - obj114.Steps = list159; - reference150 = obj114; - ref QuestSequence reference151 = ref span61[5]; - QuestSequence obj115 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046723u, new Vector3(-103.379944f, 9.773315f, -537.0718f), 1188) - { - StopDistance = 7f - }; - obj115.Steps = list160; - reference151 = obj115; - questRoot37.QuestSequence = list2; - AddQuest(questId18, questRoot); - QuestId questId19 = new QuestId(4868); - questRoot = new QuestRoot(); - QuestRoot questRoot38 = questRoot; - num = 1; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - CollectionsMarshal.AsSpan(list161)[0] = "liza"; - questRoot38.Author = list161; - QuestRoot questRoot39 = questRoot; - num = 10; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span67 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference152 = ref span67[0]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046725u, new Vector3(-105.85187f, 9.773315f, -536.9192f), 1188) - { - StopDistance = 7f - }; - obj116.Steps = list162; - reference152 = obj116; - ref QuestSequence reference153 = ref span67[1]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.Interact, 1046840u, new Vector3(214.52649f, 10.257622f, -577.11145f), 1188); - obj117.Steps = list163; - reference153 = obj117; - ref QuestSequence reference154 = ref span67[2]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - Span span68 = CollectionsMarshal.AsSpan(list164); - span68[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013934u, new Vector3(299.48877f, 1.3884888f, -688.4413f), 1188) - { - AetherCurrentId = 2818419u - }; - span68[1] = new QuestStep(EInteractionType.Interact, 1046741u, new Vector3(335.22546f, 87.375534f, -612.54297f), 1188); - obj118.Steps = list164; - reference154 = obj118; - ref QuestSequence reference155 = ref span67[3]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.Interact, 1046729u, new Vector3(323.0487f, 4.24628f, -638.4833f), 1188); - obj119.Steps = list165; - reference155 = obj119; - ref QuestSequence reference156 = ref span67[4]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.Interact, 1046731u, new Vector3(-182.20801f, 2.399998f, -388.50995f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - obj120.Steps = list166; - reference156 = obj120; - ref QuestSequence reference157 = ref span67[5]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.Interact, 1046733u, new Vector3(-445.97546f, 1.5936834f, -205.2796f), 1188); - obj121.Steps = list167; - reference157 = obj121; - ref QuestSequence reference158 = ref span67[6]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.Interact, 2013627u, new Vector3(-576.2875f, -0.015319824f, -140.42883f), 1188); - obj122.Steps = list168; - reference158 = obj122; - ref QuestSequence reference159 = ref span67[7]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - Span span69 = CollectionsMarshal.AsSpan(list169); - span69[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013935u, new Vector3(-599.57275f, 5.142273f, -179.46143f), 1188) - { - AetherCurrentId = 2818420u - }; - span69[1] = new QuestStep(EInteractionType.Interact, 1046733u, new Vector3(-445.97546f, 1.5936834f, -205.2796f), 1188); - obj123.Steps = list169; - reference159 = obj123; - ref QuestSequence reference160 = ref span67[8]; - questSequence = new QuestSequence - { - Sequence = 8 - }; - QuestSequence questSequence24 = questSequence; - num2 = 4; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - Span span70 = CollectionsMarshal.AsSpan(list170); - span70[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-510.37933f, -0.39999998f, -277.78192f), 1188); - span70[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-521.0261f, -0.40000004f, -329.19336f), 1188); - span70[2] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013936u, new Vector3(-638.056f, 6.5460815f, -486.50342f), 1188) - { - AetherCurrentId = 2818423u - }; - span70[3] = new QuestStep(EInteractionType.Interact, 1046741u, new Vector3(335.22546f, 87.375534f, -612.54297f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - questSequence24.Steps = list170; - reference160 = questSequence; - ref QuestSequence reference161 = ref span67[9]; - QuestSequence obj124 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046735u, new Vector3(-96.60492f, 9.773315f, -533.40967f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - obj124.Steps = list171; - reference161 = obj124; - questRoot39.QuestSequence = list2; - AddQuest(questId19, questRoot); - QuestId questId20 = new QuestId(4869); - questRoot = new QuestRoot(); - QuestRoot questRoot40 = questRoot; - num = 1; - List list172 = new List(num); - CollectionsMarshal.SetCount(list172, num); - CollectionsMarshal.AsSpan(list172)[0] = "liza"; - questRoot40.Author = list172; - QuestRoot questRoot41 = questRoot; - num = 7; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span71 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference162 = ref span71[0]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046735u, new Vector3(-96.60492f, 9.773315f, -533.40967f), 1188); - obj125.Steps = list173; - reference162 = obj125; - ref QuestSequence reference163 = ref span71[1]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.Interact, 1046738u, new Vector3(-155.6878f, 2.7463636f, -383.1388f), 1188); - obj126.Steps = list174; - reference163 = obj126; - ref QuestSequence reference164 = ref span71[2]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - ref QuestStep reference165 = ref CollectionsMarshal.AsSpan(list175)[0]; - QuestStep obj128 = new QuestStep(EInteractionType.Combat, 2013630u, new Vector3(-63.21814f, 2.1820068f, -237.90344f), 1188) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list176 = new List(num3); - CollectionsMarshal.SetCount(list176, num3); - CollectionsMarshal.AsSpan(list176)[0] = 17688u; - obj128.KillEnemyDataIds = list176; - reference165 = obj128; - obj127.Steps = list175; - reference164 = obj127; - ref QuestSequence reference166 = ref span71[3]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - ref QuestStep reference167 = ref CollectionsMarshal.AsSpan(list177)[0]; - QuestStep obj130 = new QuestStep(EInteractionType.Combat, 2013631u, new Vector3(217.05945f, 1.083313f, -218.61603f), 1188) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list178 = new List(num3); - CollectionsMarshal.SetCount(list178, num3); - CollectionsMarshal.AsSpan(list178)[0] = 17689u; - obj130.KillEnemyDataIds = list178; - reference167 = obj130; - obj129.Steps = list177; - reference166 = obj129; - ref QuestSequence reference168 = ref span71[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence25 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span72 = CollectionsMarshal.AsSpan(list3); - span72[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(303.21774f, 7.475274f, -215.19496f), 1188) - { - DisableNavmesh = true, - Mount = true - }; - span72[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013938u, new Vector3(516.80774f, 17.959839f, -348.0431f), 1188) - { - AetherCurrentId = 2818425u - }; - ref QuestStep reference169 = ref span72[2]; - QuestStep obj131 = new QuestStep(EInteractionType.Combat, 2013632u, new Vector3(656.7025f, 7.309021f, -289.44843f), 1188) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list179 = new List(num3); - CollectionsMarshal.SetCount(list179, num3); - CollectionsMarshal.AsSpan(list179)[0] = 17690u; - obj131.KillEnemyDataIds = list179; - reference169 = obj131; - questSequence25.Steps = list3; - reference168 = questSequence; - ref QuestSequence reference170 = ref span71[5]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - Span span73 = CollectionsMarshal.AsSpan(list180); - span73[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 1188) - { - Aetheryte = EAetheryteLocation.KozamaukaDockPoga - }; - span73[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013937u, new Vector3(918.15063f, 10.116699f, -404.10468f), 1188) - { - AetherCurrentId = 2818424u - }; - span73[2] = new QuestStep(EInteractionType.Interact, 2013633u, new Vector3(659.4186f, 26.321777f, -515.343f), 1188); - obj132.Steps = list180; - reference170 = obj132; - ref QuestSequence reference171 = ref span71[6]; - QuestSequence obj133 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046744u, new Vector3(-101.64038f, 9.773315f, -535.3323f), 1188) - { - StopDistance = 7f - }; - obj133.Steps = list181; - reference171 = obj133; - questRoot41.QuestSequence = list2; - AddQuest(questId20, questRoot); - QuestId questId21 = new QuestId(4870); - questRoot = new QuestRoot(); - QuestRoot questRoot42 = questRoot; - num = 1; - List list182 = new List(num); - CollectionsMarshal.SetCount(list182, num); - CollectionsMarshal.AsSpan(list182)[0] = "liza"; - questRoot42.Author = list182; - QuestRoot questRoot43 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span74 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference172 = ref span74[0]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - CollectionsMarshal.AsSpan(list183)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046750u, new Vector3(-98.95477f, 9.773315f, -533.135f), 1188) - { - StopDistance = 7f - }; - obj134.Steps = list183; - reference172 = obj134; - ref QuestSequence reference173 = ref span74[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence26 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span75 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference174 = ref span75[0]; - QuestStep obj135 = new QuestStep(EInteractionType.Say, 1046753u, new Vector3(-205.768f, 6.277146f, -439.3531f), 1188) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_KINGMA111_04870_SAYTODO_000_046" - } - }; - num3 = 6; - List list184 = new List(num3); - CollectionsMarshal.SetCount(list184, num3); - Span span76 = CollectionsMarshal.AsSpan(list184); - span76[0] = null; - span76[1] = null; - span76[2] = null; - span76[3] = null; - span76[4] = null; - span76[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj135.CompletionQuestVariablesFlags = list184; - reference174 = obj135; - ref QuestStep reference175 = ref span75[1]; - QuestStep obj136 = new QuestStep(EInteractionType.Say, 1046699u, new Vector3(-218.555f, 6.4016876f, -477.77527f), 1188) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_KINGMA111_04870_SAYTODO_000_046" - } - }; - num3 = 6; - List list185 = new List(num3); - CollectionsMarshal.SetCount(list185, num3); - Span span77 = CollectionsMarshal.AsSpan(list185); - span77[0] = null; - span77[1] = null; - span77[2] = null; - span77[3] = null; - span77[4] = null; - span77[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj136.CompletionQuestVariablesFlags = list185; - reference175 = obj136; - ref QuestStep reference176 = ref span75[2]; - QuestStep obj137 = new QuestStep(EInteractionType.Say, 1046752u, new Vector3(-218.18878f, 9.558153f, -545.0065f), 1188) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_KINGMA111_04870_SAYTODO_000_046" - } - }; - num3 = 6; - List list186 = new List(num3); - CollectionsMarshal.SetCount(list186, num3); - Span span78 = CollectionsMarshal.AsSpan(list186); - span78[0] = null; - span78[1] = null; - span78[2] = null; - span78[3] = null; - span78[4] = null; - span78[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj137.CompletionQuestVariablesFlags = list186; - reference176 = obj137; - questSequence26.Steps = list3; - reference173 = questSequence; - ref QuestSequence reference177 = ref span74[2]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.Interact, 1046750u, new Vector3(-98.95477f, 9.773315f, -533.135f), 1188); - obj138.Steps = list187; - reference177 = obj138; - ref QuestSequence reference178 = ref span74[3]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - CollectionsMarshal.AsSpan(list188)[0] = new QuestStep(EInteractionType.Interact, 1046754u, new Vector3(64.774536f, 0.7218611f, -385.85492f), 1188); - obj139.Steps = list188; - reference178 = obj139; - ref QuestSequence reference179 = ref span74[4]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.Interact, 1051615u, new Vector3(-46.76892f, 1.60855f, -390.2495f), 1188) - { - StopDistance = 5f - }; - obj140.Steps = list189; - reference179 = obj140; - ref QuestSequence reference180 = ref span74[5]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence27 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span79 = CollectionsMarshal.AsSpan(list3); - span79[0] = new QuestStep(EInteractionType.AcceptQuest, 1048782u, new Vector3(-68.52832f, 6.536739f, -486.53394f), 1188) - { - PickUpQuestId = new QuestId(5064) - }; - span79[1] = new QuestStep(EInteractionType.AcceptQuest, 1051237u, new Vector3(-251.20929f, 5.5572896f, -554.89435f), 1188) - { - PickUpQuestId = new QuestId(5081) - }; - span79[2] = new QuestStep(EInteractionType.CompleteQuest, 1046537u, new Vector3(-32.822205f, -10.00001f, 142.93127f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalBaysideBevyMarketplace - } - }; - questSequence27.Steps = list3; - reference180 = questSequence; - questRoot43.QuestSequence = list2; - AddQuest(questId21, questRoot); - QuestId questId22 = new QuestId(4871); - questRoot = new QuestRoot(); - QuestRoot questRoot44 = questRoot; - num = 1; - List list190 = new List(num); - CollectionsMarshal.SetCount(list190, num); - CollectionsMarshal.AsSpan(list190)[0] = "liza"; - questRoot44.Author = list190; - QuestRoot questRoot45 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span80 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference181 = ref span80[0]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047743u, new Vector3(-32.24237f, -10.00001f, 145.5863f), 1185); - obj141.Steps = list191; - reference181 = obj141; - ref QuestSequence reference182 = ref span80[1]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.Interact, 1046542u, new Vector3(-277.54633f, 1.6659498E-05f, 90.50122f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalBaysideBevyMarketplace, - To = EAetheryteLocation.TuliyollalTheResplendentQuarter - } - }; - obj142.Steps = list192; - reference182 = obj142; - span80[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference183 = ref span80[3]; - QuestSequence obj143 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046548u, new Vector3(400.2898f, -155.52307f, -383.19983f), 1187); - obj143.Steps = list193; - reference183 = obj143; - questRoot45.QuestSequence = list2; - AddQuest(questId22, questRoot); - QuestId questId23 = new QuestId(4872); - questRoot = new QuestRoot(); - QuestRoot questRoot46 = questRoot; - num = 1; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - CollectionsMarshal.AsSpan(list194)[0] = "liza"; - questRoot46.Author = list194; - QuestRoot questRoot47 = questRoot; - num = 7; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span81 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference184 = ref span81[0]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046552u, new Vector3(374.5022f, -156.32852f, -389.2119f), 1187) - { - StopDistance = 7f - }; - obj144.Steps = list195; - reference184 = obj144; - ref QuestSequence reference185 = ref span81[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence28 = questSequence; - num2 = 4; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span82 = CollectionsMarshal.AsSpan(list3); - span82[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 1187) - { - Aetheryte = EAetheryteLocation.UrqopachaWachunpelo - }; - ref QuestStep reference186 = ref span82[1]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1046557u, new Vector3(353.07837f, -160.20226f, -447.5014f), 1187); - num3 = 6; - List list196 = new List(num3); - CollectionsMarshal.SetCount(list196, num3); - Span span83 = CollectionsMarshal.AsSpan(list196); - span83[0] = null; - span83[1] = null; - span83[2] = null; - span83[3] = null; - span83[4] = null; - span83[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list196; - reference186 = questStep17; - ref QuestStep reference187 = ref span82[2]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1046559u, new Vector3(285.96924f, -165.65608f, -443.44244f), 1187); - num3 = 6; - List list197 = new List(num3); - CollectionsMarshal.SetCount(list197, num3); - Span span84 = CollectionsMarshal.AsSpan(list197); - span84[0] = null; - span84[1] = null; - span84[2] = null; - span84[3] = null; - span84[4] = null; - span84[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list197; - num3 = 1; - List list198 = new List(num3); - CollectionsMarshal.SetCount(list198, num3); - CollectionsMarshal.AsSpan(list198)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMA113_04872_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGMA113_04872_A1_000_001") - }; - questStep18.DialogueChoices = list198; - reference187 = questStep18; - ref QuestStep reference188 = ref span82[3]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 1046558u, new Vector3(229.20569f, -168.26689f, -461.63123f), 1187); - num3 = 6; - List list199 = new List(num3); - CollectionsMarshal.SetCount(list199, num3); - Span span85 = CollectionsMarshal.AsSpan(list199); - span85[0] = null; - span85[1] = null; - span85[2] = null; - span85[3] = null; - span85[4] = null; - span85[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list199; - reference188 = questStep19; - questSequence28.Steps = list3; - reference185 = questSequence; - ref QuestSequence reference189 = ref span81[2]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.Interact, 1046560u, new Vector3(373.8308f, -156.3404f, -388.87616f), 1187); - obj145.Steps = list200; - reference189 = obj145; - ref QuestSequence reference190 = ref span81[3]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.Interact, 1046566u, new Vector3(225.63513f, -168.17073f, -460.37994f), 1187); - obj146.Steps = list201; - reference190 = obj146; - ref QuestSequence reference191 = ref span81[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence29 = questSequence; - num2 = 4; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span86 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference192 = ref span86[0]; - QuestStep obj147 = new QuestStep(EInteractionType.Interact, 1046561u, new Vector3(221.85083f, -168.23709f, -461.11237f), 1187) - { - StopDistance = 7f - }; - num3 = 6; - List list202 = new List(num3); - CollectionsMarshal.SetCount(list202, num3); - Span span87 = CollectionsMarshal.AsSpan(list202); - span87[0] = null; - span87[1] = null; - span87[2] = null; - span87[3] = null; - span87[4] = null; - span87[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj147.CompletionQuestVariablesFlags = list202; - reference192 = obj147; - ref QuestStep reference193 = ref span86[1]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 1046562u, new Vector3(205.82886f, -168.37514f, -466.42255f), 1187); - num3 = 6; - List list203 = new List(num3); - CollectionsMarshal.SetCount(list203, num3); - Span span88 = CollectionsMarshal.AsSpan(list203); - span88[0] = null; - span88[1] = null; - span88[2] = null; - span88[3] = null; - span88[4] = null; - span88[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep20.CompletionQuestVariablesFlags = list203; - reference193 = questStep20; - ref QuestStep reference194 = ref span86[2]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1046564u, new Vector3(227.37463f, -168.41432f, -486.19824f), 1187); - num3 = 6; - List list204 = new List(num3); - CollectionsMarshal.SetCount(list204, num3); - Span span89 = CollectionsMarshal.AsSpan(list204); - span89[0] = null; - span89[1] = null; - span89[2] = null; - span89[3] = null; - span89[4] = null; - span89[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep21.CompletionQuestVariablesFlags = list204; - reference194 = questStep21; - ref QuestStep reference195 = ref span86[3]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1046563u, new Vector3(230.6095f, -168.27045f, -474.87604f), 1187); - num3 = 6; - List list205 = new List(num3); - CollectionsMarshal.SetCount(list205, num3); - Span span90 = CollectionsMarshal.AsSpan(list205); - span90[0] = null; - span90[1] = null; - span90[2] = null; - span90[3] = null; - span90[4] = null; - span90[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep22.CompletionQuestVariablesFlags = list205; - reference195 = questStep22; - questSequence29.Steps = list3; - reference191 = questSequence; - ref QuestSequence reference196 = ref span81[5]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - ref QuestStep reference197 = ref CollectionsMarshal.AsSpan(list206)[0]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 2013644u, new Vector3(225.63513f, -168.16968f, -460.37994f), 1187); - num3 = 1; - List list207 = new List(num3); - CollectionsMarshal.SetCount(list207, num3); - CollectionsMarshal.AsSpan(list207)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMA113_04872_Q2_000_000"), - Answer = new ExcelRef("TEXT_KINGMA113_04872_A2_000_001") - }; - questStep23.DialogueChoices = list207; - reference197 = questStep23; - obj148.Steps = list206; - reference196 = obj148; - ref QuestSequence reference198 = ref span81[6]; - QuestSequence obj149 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046992u, new Vector3(209.43005f, -168.34697f, -465.38495f), 1187); - obj149.Steps = list208; - reference198 = obj149; - questRoot47.QuestSequence = list2; - AddQuest(questId23, questRoot); - QuestId questId24 = new QuestId(4873); - questRoot = new QuestRoot(); - QuestRoot questRoot48 = questRoot; - num = 1; - List list209 = new List(num); - CollectionsMarshal.SetCount(list209, num); - CollectionsMarshal.AsSpan(list209)[0] = "liza"; - questRoot48.Author = list209; - QuestRoot questRoot49 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span91 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference199 = ref span91[0]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - CollectionsMarshal.AsSpan(list210)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046570u, new Vector3(210.65076f, -168.37555f, -468.95557f), 1187); - obj150.Steps = list210; - reference199 = obj150; - ref QuestSequence reference200 = ref span91[1]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - CollectionsMarshal.AsSpan(list211)[0] = new QuestStep(EInteractionType.Interact, 1046574u, new Vector3(313.1609f, -156.11737f, -396.07843f), 1187); - obj151.Steps = list211; - reference200 = obj151; - ref QuestSequence reference201 = ref span91[2]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - CollectionsMarshal.AsSpan(list212)[0] = new QuestStep(EInteractionType.Interact, 1046577u, new Vector3(495.32312f, -136.24503f, -383.56604f), 1187); - obj152.Steps = list212; - reference201 = obj152; - ref QuestSequence reference202 = ref span91[3]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - Span span92 = CollectionsMarshal.AsSpan(list213); - span92[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013924u, new Vector3(353.56665f, -107.71344f, -238.81903f), 1187) - { - AetherCurrentId = 2818404u - }; - span92[1] = new QuestStep(EInteractionType.Interact, 1046580u, new Vector3(403.5553f, -116.815155f, -170.24493f), 1187); - obj153.Steps = list213; - reference202 = obj153; - ref QuestSequence reference203 = ref span91[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence30 = questSequence; - num2 = 1; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - ref QuestStep reference204 = ref CollectionsMarshal.AsSpan(list3)[0]; - QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 1048192u, new Vector3(402.48718f, -116.815155f, -171.58777f), 1187); - num3 = 1; - List list214 = new List(num3); - CollectionsMarshal.SetCount(list214, num3); - CollectionsMarshal.AsSpan(list214)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMA114_04873_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGMA114_04873_A1_000_001") - }; - questStep24.DialogueChoices = list214; - num3 = 1; - List list215 = new List(num3); - CollectionsMarshal.SetCount(list215, num3); - CollectionsMarshal.AsSpan(list215)[0] = 3u; - questStep24.PointMenuChoices = list215; - reference204 = questStep24; - questSequence30.Steps = list3; - reference203 = questSequence; - ref QuestSequence reference205 = ref span91[5]; - QuestSequence obj154 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - CollectionsMarshal.AsSpan(list216)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046994u, new Vector3(398.8861f, -116.81501f, -219.89783f), 1187); - obj154.Steps = list216; - reference205 = obj154; - questRoot49.QuestSequence = list2; - AddQuest(questId24, questRoot); - QuestId questId25 = new QuestId(4874); - questRoot = new QuestRoot(); - QuestRoot questRoot50 = questRoot; - num = 1; - List list217 = new List(num); - CollectionsMarshal.SetCount(list217, num); - CollectionsMarshal.AsSpan(list217)[0] = "liza"; - questRoot50.Author = list217; - QuestRoot questRoot51 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span93 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference206 = ref span93[0]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - CollectionsMarshal.AsSpan(list218)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046993u, new Vector3(400.07617f, -116.81039f, -220.93542f), 1187); - obj155.Steps = list218; - reference206 = obj155; - ref QuestSequence reference207 = ref span93[1]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - ref QuestStep reference208 = ref CollectionsMarshal.AsSpan(list219)[0]; - QuestStep questStep25 = new QuestStep(EInteractionType.Interact, 1046994u, new Vector3(398.8861f, -116.81501f, -219.89783f), 1187); - num3 = 1; - List list220 = new List(num3); - CollectionsMarshal.SetCount(list220, num3); - CollectionsMarshal.AsSpan(list220)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMA115_04874_Q10_000_000") - }; - questStep25.DialogueChoices = list220; - reference208 = questStep25; - obj156.Steps = list219; - reference207 = obj156; - ref QuestSequence reference209 = ref span93[2]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.Interact, 1046589u, new Vector3(-417.16644f, -45.851826f, -461.84485f), 1187); - obj157.Steps = list221; - reference209 = obj157; - ref QuestSequence reference210 = ref span93[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence31 = questSequence; - num2 = 5; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span94 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference211 = ref span94[0]; - QuestStep questStep26 = new QuestStep(EInteractionType.Interact, 2013591u, new Vector3(-354.45184f, -39.993958f, -541.8937f), 1187); - num3 = 6; - List list222 = new List(num3); - CollectionsMarshal.SetCount(list222, num3); - Span span95 = CollectionsMarshal.AsSpan(list222); - span95[0] = null; - span95[1] = null; - span95[2] = null; - span95[3] = null; - span95[4] = null; - span95[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep26.CompletionQuestVariablesFlags = list222; - reference211 = questStep26; - ref QuestStep reference212 = ref span94[1]; - QuestStep questStep27 = new QuestStep(EInteractionType.Interact, 2013590u, new Vector3(-353.5058f, -34.836426f, -572.015f), 1187); - num3 = 6; - List list223 = new List(num3); - CollectionsMarshal.SetCount(list223, num3); - Span span96 = CollectionsMarshal.AsSpan(list223); - span96[0] = null; - span96[1] = null; - span96[2] = null; - span96[3] = null; - span96[4] = null; - span96[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep27.CompletionQuestVariablesFlags = list223; - reference212 = questStep27; - ref QuestStep reference213 = ref span94[2]; - QuestStep questStep28 = new QuestStep(EInteractionType.Interact, 2013589u, new Vector3(-374.8684f, -34.77533f, -584.71045f), 1187); - num3 = 6; - List list224 = new List(num3); - CollectionsMarshal.SetCount(list224, num3); - Span span97 = CollectionsMarshal.AsSpan(list224); - span97[0] = null; - span97[1] = null; - span97[2] = null; - span97[3] = null; - span97[4] = null; - span97[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep28.CompletionQuestVariablesFlags = list224; - reference213 = questStep28; - ref QuestStep reference214 = ref span94[3]; - QuestStep questStep29 = new QuestStep(EInteractionType.Interact, 2013587u, new Vector3(-387.16718f, -38.19336f, -571.0079f), 1187); - num3 = 6; - List list225 = new List(num3); - CollectionsMarshal.SetCount(list225, num3); - Span span98 = CollectionsMarshal.AsSpan(list225); - span98[0] = null; - span98[1] = null; - span98[2] = null; - span98[3] = null; - span98[4] = null; - span98[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep29.CompletionQuestVariablesFlags = list225; - reference214 = questStep29; - ref QuestStep reference215 = ref span94[4]; - QuestStep questStep30 = new QuestStep(EInteractionType.Interact, 2013588u, new Vector3(-400.04578f, -35.355164f, -587.18243f), 1187); - num3 = 6; - List list226 = new List(num3); - CollectionsMarshal.SetCount(list226, num3); - Span span99 = CollectionsMarshal.AsSpan(list226); - span99[0] = null; - span99[1] = null; - span99[2] = null; - span99[3] = null; - span99[4] = null; - span99[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep30.CompletionQuestVariablesFlags = list226; - reference215 = questStep30; - questSequence31.Steps = list3; - reference210 = questSequence; - ref QuestSequence reference216 = ref span93[4]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence32 = questSequence; - num2 = 3; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - Span span100 = CollectionsMarshal.AsSpan(list227); - span100[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013925u, new Vector3(-458.30475f, -29.678833f, -493.9193f), 1187) - { - AetherCurrentId = 2818405u - }; - span100[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-432.73465f, -42.923626f, -484.1638f), 1187) - { - DisableNavmesh = true, - Mount = true - }; - span100[2] = new QuestStep(EInteractionType.CompleteQuest, 1046585u, new Vector3(-420.95068f, -45.625298f, -461.50916f), 1187); - questSequence32.Steps = list227; - reference216 = questSequence; - questRoot51.QuestSequence = list2; - AddQuest(questId25, questRoot); - QuestId questId26 = new QuestId(4875); - questRoot = new QuestRoot(); - QuestRoot questRoot52 = questRoot; - num = 1; - List list228 = new List(num); - CollectionsMarshal.SetCount(list228, num); - CollectionsMarshal.AsSpan(list228)[0] = "liza"; - questRoot52.Author = list228; - QuestRoot questRoot53 = questRoot; - num = 9; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span101 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference217 = ref span101[0]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047746u, new Vector3(-402.97552f, -46.22406f, -467.55176f), 1187) - { - StopDistance = 5f - }; - obj158.Steps = list229; - reference217 = obj158; - ref QuestSequence reference218 = ref span101[1]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - Span span102 = CollectionsMarshal.AsSpan(list230); - span102[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013926u, new Vector3(-202.80768f, -72.129456f, -199.02344f), 1187) - { - AetherCurrentId = 2818408u - }; - span102[1] = new QuestStep(EInteractionType.Interact, 1046591u, new Vector3(340.59656f, -160.10922f, -430.19763f), 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWachunpelo - }; - obj159.Steps = list230; - reference218 = obj159; - ref QuestSequence reference219 = ref span101[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence33 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span103 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference220 = ref span103[0]; - QuestStep questStep31 = new QuestStep(EInteractionType.Interact, 1046593u, new Vector3(345.60156f, -160.20251f, -438.4375f), 1187); - num3 = 6; - List list231 = new List(num3); - CollectionsMarshal.SetCount(list231, num3); - Span span104 = CollectionsMarshal.AsSpan(list231); - span104[0] = null; - span104[1] = null; - span104[2] = null; - span104[3] = null; - span104[4] = null; - span104[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep31.CompletionQuestVariablesFlags = list231; - reference220 = questStep31; - ref QuestStep reference221 = ref span103[1]; - QuestStep questStep32 = new QuestStep(EInteractionType.Interact, 1046594u, new Vector3(333.30273f, -160.24759f, -436.08765f), 1187); - num3 = 6; - List list232 = new List(num3); - CollectionsMarshal.SetCount(list232, num3); - Span span105 = CollectionsMarshal.AsSpan(list232); - span105[0] = null; - span105[1] = null; - span105[2] = null; - span105[3] = null; - span105[4] = null; - span105[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep32.CompletionQuestVariablesFlags = list232; - reference221 = questStep32; - ref QuestStep reference222 = ref span103[2]; - QuestStep questStep33 = new QuestStep(EInteractionType.Interact, 1046595u, new Vector3(343.00745f, -160.2025f, -461.9364f), 1187); - num3 = 6; - List list233 = new List(num3); - CollectionsMarshal.SetCount(list233, num3); - Span span106 = CollectionsMarshal.AsSpan(list233); - span106[0] = null; - span106[1] = null; - span106[2] = null; - span106[3] = null; - span106[4] = null; - span106[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep33.CompletionQuestVariablesFlags = list233; - reference222 = questStep33; - questSequence33.Steps = list3; - reference219 = questSequence; - ref QuestSequence reference223 = ref span101[3]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - CollectionsMarshal.AsSpan(list234)[0] = new QuestStep(EInteractionType.Interact, 1046596u, new Vector3(289.41772f, -169.2173f, -456.59576f), 1187); - obj160.Steps = list234; - reference223 = obj160; - ref QuestSequence reference224 = ref span101[4]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.Interact, 1046592u, new Vector3(348.8059f, -145.95174f, -473.65533f), 1187); - obj161.Steps = list235; - reference224 = obj161; - ref QuestSequence reference225 = ref span101[5]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.Interact, 1046600u, new Vector3(268.39087f, -173.48611f, -611.5053f), 1187); - obj162.Steps = list236; - reference225 = obj162; - ref QuestSequence reference226 = ref span101[6]; - questSequence = new QuestSequence - { - Sequence = 6 - }; - QuestSequence questSequence34 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span107 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference227 = ref span107[0]; - QuestStep obj163 = new QuestStep(EInteractionType.Combat, 2013595u, new Vector3(309.49866f, -173.11359f, -667.3228f), 1187) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list237 = new List(num3); - CollectionsMarshal.SetCount(list237, num3); - CollectionsMarshal.AsSpan(list237)[0] = 17691u; - obj163.KillEnemyDataIds = list237; - num3 = 6; - List list238 = new List(num3); - CollectionsMarshal.SetCount(list238, num3); - Span span108 = CollectionsMarshal.AsSpan(list238); - span108[0] = null; - span108[1] = null; - span108[2] = null; - span108[3] = null; - span108[4] = null; - span108[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj163.CompletionQuestVariablesFlags = list238; - reference227 = obj163; - ref QuestStep reference228 = ref span107[1]; - QuestStep obj164 = new QuestStep(EInteractionType.Combat, 2013596u, new Vector3(282.6123f, -173.11359f, -715.1751f), 1187) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list239 = new List(num3); - CollectionsMarshal.SetCount(list239, num3); - CollectionsMarshal.AsSpan(list239)[0] = 17691u; - obj164.KillEnemyDataIds = list239; - num3 = 6; - List list240 = new List(num3); - CollectionsMarshal.SetCount(list240, num3); - Span span109 = CollectionsMarshal.AsSpan(list240); - span109[0] = null; - span109[1] = null; - span109[2] = null; - span109[3] = null; - span109[4] = null; - span109[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj164.CompletionQuestVariablesFlags = list240; - reference228 = obj164; - ref QuestStep reference229 = ref span107[2]; - QuestStep obj165 = new QuestStep(EInteractionType.Combat, 2013597u, new Vector3(346.60852f, -173.05261f, -725.85645f), 1187) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list241 = new List(num3); - CollectionsMarshal.SetCount(list241, num3); - CollectionsMarshal.AsSpan(list241)[0] = 17691u; - obj165.KillEnemyDataIds = list241; - num3 = 6; - List list242 = new List(num3); - CollectionsMarshal.SetCount(list242, num3); - Span span110 = CollectionsMarshal.AsSpan(list242); - span110[0] = null; - span110[1] = null; - span110[2] = null; - span110[3] = null; - span110[4] = null; - span110[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj165.CompletionQuestVariablesFlags = list242; - reference229 = obj165; - questSequence34.Steps = list3; - reference226 = questSequence; - ref QuestSequence reference230 = ref span101[7]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.Interact, 1046742u, new Vector3(391.56165f, -161.96266f, -690.3945f), 1187); - obj166.Steps = list243; - reference230 = obj166; - ref QuestSequence reference231 = ref span101[8]; - QuestSequence obj167 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - Span span111 = CollectionsMarshal.AsSpan(list244); - span111[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013927u, new Vector3(414.7555f, -141.03918f, -681.0254f), 1187) - { - AetherCurrentId = 2818409u - }; - span111[1] = new QuestStep(EInteractionType.CompleteQuest, 1046599u, new Vector3(342.09204f, -160.20251f, -449.2104f), 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWachunpelo - }; - obj167.Steps = list244; - reference231 = obj167; - questRoot53.QuestSequence = list2; - AddQuest(questId26, questRoot); - QuestId questId27 = new QuestId(4876); - questRoot = new QuestRoot(); - QuestRoot questRoot54 = questRoot; - num = 1; - List list245 = new List(num); - CollectionsMarshal.SetCount(list245, num); - CollectionsMarshal.AsSpan(list245)[0] = "liza"; - questRoot54.Author = list245; - QuestRoot questRoot55 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span112 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference232 = ref span112[0]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - CollectionsMarshal.AsSpan(list246)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046792u, new Vector3(341.26794f, -160.2025f, -447.04358f), 1187); - obj168.Steps = list246; - reference232 = obj168; - ref QuestSequence reference233 = ref span112[1]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.Interact, 1046575u, new Vector3(309.74292f, -156.11737f, -394.9798f), 1187); - obj169.Steps = list247; - reference233 = obj169; - ref QuestSequence reference234 = ref span112[2]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.Interact, 1046793u, new Vector3(215.198f, -167.97874f, -457.847f), 1187); - obj170.Steps = list248; - reference234 = obj170; - ref QuestSequence reference235 = ref span112[3]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.Interact, 1046796u, new Vector3(218.1582f, -168.08926f, -458.70148f), 1187); - obj171.Steps = list249; - reference235 = obj171; - ref QuestSequence reference236 = ref span112[4]; - questSequence = new QuestSequence - { - Sequence = 4 - }; - QuestSequence questSequence35 = questSequence; - num2 = 3; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - Span span113 = CollectionsMarshal.AsSpan(list250); - span113[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013928u, new Vector3(-134.59985f, -93.06476f, -582.9404f), 1187) - { - AetherCurrentId = 2818410u - }; - span113[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-73.69964f, -140.34076f, -601.33215f), 1187) - { - DisableNavmesh = true, - Mount = true - }; - span113[2] = new QuestStep(EInteractionType.Emote, 1046802u, new Vector3(-27.847778f, -145.02602f, -648.73737f), 1187) - { - Emote = EEmote.Cheer - }; - questSequence35.Steps = list250; - reference236 = questSequence; - ref QuestSequence reference237 = ref span112[5]; - QuestSequence obj172 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046808u, new Vector3(-20.73706f, -145.3148f, -649.3782f), 1187); - obj172.Steps = list251; - reference237 = obj172; - questRoot55.QuestSequence = list2; - AddQuest(questId27, questRoot); - QuestId questId28 = new QuestId(4877); - questRoot = new QuestRoot(); - QuestRoot questRoot56 = questRoot; - num = 1; - List list252 = new List(num); - CollectionsMarshal.SetCount(list252, num); - CollectionsMarshal.AsSpan(list252)[0] = "liza"; - questRoot56.Author = list252; - QuestRoot questRoot57 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span114 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference238 = ref span114[0]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - CollectionsMarshal.AsSpan(list253)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046808u, new Vector3(-20.73706f, -145.3148f, -649.3782f), 1187); - obj173.Steps = list253; - reference238 = obj173; - ref QuestSequence reference239 = ref span114[1]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.Interact, 1047502u, new Vector3(196.27673f, -169.29994f, -483.48212f), 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWachunpelo - }; - obj174.Steps = list254; - reference239 = obj174; - ref QuestSequence reference240 = ref span114[2]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - CollectionsMarshal.AsSpan(list255)[0] = new QuestStep(EInteractionType.Interact, 1046946u, new Vector3(275.7152f, -168.6204f, -453.8186f), 1187) - { - StopDistance = 5f - }; - obj175.Steps = list255; - reference240 = obj175; - ref QuestSequence reference241 = ref span114[3]; - questSequence = new QuestSequence - { - Sequence = byte.MaxValue - }; - QuestSequence questSequence36 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span115 = CollectionsMarshal.AsSpan(list3); - span115[0] = new QuestStep(EInteractionType.AcceptQuest, 1050684u, new Vector3(391.37854f, -156.07434f, -388.50995f), 1187) - { - Comment = "Traveler to the Rescue", - PickUpQuestId = new QuestId(5039) - }; - span115[1] = new QuestStep(EInteractionType.AcceptQuest, 1051195u, new Vector3(383.29138f, -154.50243f, -420.49292f), 1187) - { - Comment = "Crisis of Corruption", - PickUpQuestId = new QuestId(5051) - }; - span115[2] = new QuestStep(EInteractionType.CompleteQuest, 1046537u, new Vector3(-32.822205f, -10.00001f, 142.93127f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalBaysideBevyMarketplace - } - }; - questSequence36.Steps = list3; - reference241 = questSequence; - questRoot57.QuestSequence = list2; - AddQuest(questId28, questRoot); - QuestId questId29 = new QuestId(4878); - questRoot = new QuestRoot(); - QuestRoot questRoot58 = questRoot; - num = 1; - List list256 = new List(num); - CollectionsMarshal.SetCount(list256, num); - CollectionsMarshal.AsSpan(list256)[0] = "liza"; - questRoot58.Author = list256; - QuestRoot questRoot59 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span116 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference242 = ref span116[0]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046537u, new Vector3(-32.822205f, -10.00001f, 142.93127f), 1185); - obj176.Steps = list257; - reference242 = obj176; - ref QuestSequence reference243 = ref span116[1]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - CollectionsMarshal.AsSpan(list258)[0] = new QuestStep(EInteractionType.Interact, 1046761u, new Vector3(-32.669617f, -10.0000105f, 143.72461f), 1185); - obj177.Steps = list258; - reference243 = obj177; - ref QuestSequence reference244 = ref span116[2]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - CollectionsMarshal.AsSpan(list259)[0] = new QuestStep(EInteractionType.Interact, 1047095u, new Vector3(139.5437f, -13.99f, 10.60498f), 1185); - obj178.Steps = list259; - reference244 = obj178; - ref QuestSequence reference245 = ref span116[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence37 = questSequence; - num2 = 4; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span117 = CollectionsMarshal.AsSpan(list3); - span117[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1185) - { - AethernetShard = EAetheryteLocation.TuliyollalWachumeqimeqi - }; - span117[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-130.34163f, -14.999287f, 198.40685f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalWachumeqimeqi, - To = EAetheryteLocation.TuliyollalTheForardCabins - } - }; - span117[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-122.40268f, -19.754322f, 202.20439f), 1185) - { - DisableNavmesh = true - }; - span117[3] = new QuestStep(EInteractionType.Interact, 1046763u, new Vector3(-114.64105f, -19.642736f, 201.12915f), 1185); - questSequence37.Steps = list3; - reference245 = questSequence; - ref QuestSequence reference246 = ref span116[4]; - QuestSequence obj179 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046762u, new Vector3(-112.56586f, -19.725424f, 203.72314f), 1185) - { - StopDistance = 7f - }; - obj179.Steps = list260; - reference246 = obj179; - questRoot59.QuestSequence = list2; - AddQuest(questId29, questRoot); - QuestId questId30 = new QuestId(4879); - questRoot = new QuestRoot(); - QuestRoot questRoot60 = questRoot; - num = 1; - List list261 = new List(num); - CollectionsMarshal.SetCount(list261, num); - CollectionsMarshal.AsSpan(list261)[0] = "liza"; - questRoot60.Author = list261; - QuestRoot questRoot61 = questRoot; - num = 8; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span118 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference247 = ref span118[0]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - CollectionsMarshal.AsSpan(list262)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046762u, new Vector3(-112.56586f, -19.725424f, 203.72314f), 1185) - { - StopDistance = 7f - }; - obj180.Steps = list262; - reference247 = obj180; - ref QuestSequence reference248 = ref span118[1]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - CollectionsMarshal.AsSpan(list263)[0] = new QuestStep(EInteractionType.Interact, 1046764u, new Vector3(139.94043f, -14f, 12.405518f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalTheForardCabins, - To = EAetheryteLocation.TuliyollalWachumeqimeqi - } - }; - obj181.Steps = list263; - reference248 = obj181; - ref QuestSequence reference249 = ref span118[2]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.Interact, 1046766u, new Vector3(55.252808f, -14f, 87.99878f), 1185); - obj182.Steps = list264; - reference249 = obj182; - ref QuestSequence reference250 = ref span118[3]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.Duty, null, null, 1185) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 826u - } - }; - obj183.Steps = list265; - reference250 = obj183; - span118[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference251 = ref span118[5]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - CollectionsMarshal.AsSpan(list266)[0] = new QuestStep(EInteractionType.Interact, 1046790u, new Vector3(748.71436f, 114.61811f, 565.3314f), 1188) - { - StopDistance = 5f - }; - obj184.Steps = list266; - reference251 = obj184; - ref QuestSequence reference252 = ref span118[6]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - CollectionsMarshal.AsSpan(list267)[0] = new QuestStep(EInteractionType.Interact, 1046776u, new Vector3(552.1476f, 115.77393f, 222.156f), 1188); - obj185.Steps = list267; - reference252 = obj185; - ref QuestSequence reference253 = ref span118[7]; - QuestSequence obj186 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - CollectionsMarshal.AsSpan(list268)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046781u, new Vector3(579.9801f, 119.49004f, 148.76013f), 1188) - { - StopDistance = 5f - }; - obj186.Steps = list268; - reference253 = obj186; - questRoot61.QuestSequence = list2; - AddQuest(questId30, questRoot); - QuestId questId31 = new QuestId(4880); - questRoot = new QuestRoot(); - QuestRoot questRoot62 = questRoot; - num = 1; - List list269 = new List(num); - CollectionsMarshal.SetCount(list269, num); - CollectionsMarshal.AsSpan(list269)[0] = "liza"; - questRoot62.Author = list269; - QuestRoot questRoot63 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span119 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference254 = ref span119[0]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - CollectionsMarshal.AsSpan(list270)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046785u, new Vector3(577.7523f, 119.49004f, 148.66858f), 1188) - { - StopDistance = 5f - }; - obj187.Steps = list270; - reference254 = obj187; - ref QuestSequence reference255 = ref span119[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence38 = questSequence; - num2 = 5; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span120 = CollectionsMarshal.AsSpan(list3); - span120[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 1188) - { - Aetheryte = EAetheryteLocation.KozamaukaManyFires - }; - span120[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(533.37555f, 122.98077f, 790.01416f), 1188) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalIhuykatumu - } - }; - span120[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(522.3003f, 120.81023f, 803.62744f), 1188) - { - DisableNavmesh = true - }; - span120[3] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013943u, new Vector3(485.89294f, 121.3855f, 831.29626f), 1188) - { - AetherCurrentId = 2818428u - }; - span120[4] = new QuestStep(EInteractionType.Interact, 1046603u, new Vector3(127.15344f, 110.20095f, 259.66272f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaManyFires - }; - questSequence38.Steps = list3; - reference255 = questSequence; - ref QuestSequence reference256 = ref span119[2]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - Span span121 = CollectionsMarshal.AsSpan(list271); - span121[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013940u, new Vector3(48.966187f, 111.31445f, 287.15955f), 1188) - { - AetherCurrentId = 2818422u - }; - span121[1] = new QuestStep(EInteractionType.Interact, 1046608u, new Vector3(-427.84772f, 121.633446f, 280.93384f), 1188); - obj188.Steps = list271; - reference256 = obj188; - ref QuestSequence reference257 = ref span119[3]; - QuestSequence obj189 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - Span span122 = CollectionsMarshal.AsSpan(list272); - span122[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 1188) - { - Aetheryte = EAetheryteLocation.KozamaukaEarthenshire - }; - span122[1] = new QuestStep(EInteractionType.CompleteQuest, 1046613u, new Vector3(-471.5191f, 121.63345f, 344.89966f), 1188); - obj189.Steps = list272; - reference257 = obj189; - questRoot63.QuestSequence = list2; - AddQuest(questId31, questRoot); - QuestId questId32 = new QuestId(4881); - questRoot = new QuestRoot(); - QuestRoot questRoot64 = questRoot; - num = 1; - List list273 = new List(num); - CollectionsMarshal.SetCount(list273, num); - CollectionsMarshal.AsSpan(list273)[0] = "liza"; - questRoot64.Author = list273; - QuestRoot questRoot65 = questRoot; - num = 7; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span123 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference258 = ref span123[0]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - CollectionsMarshal.AsSpan(list274)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046613u, new Vector3(-471.5191f, 121.63345f, 344.89966f), 1188); - obj190.Steps = list274; - reference258 = obj190; - ref QuestSequence reference259 = ref span123[1]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.Snipe, 1046614u, new Vector3(-473.5943f, 121.63345f, 343.7704f), 1188) - { - Comment = "Click (from left to right) worn tools, Kaahe, crafting materials, untouched meal" - }; - obj191.Steps = list275; - reference259 = obj191; - ref QuestSequence reference260 = ref span123[2]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - CollectionsMarshal.AsSpan(list276)[0] = new QuestStep(EInteractionType.Interact, 1046613u, new Vector3(-471.5191f, 121.63345f, 344.89966f), 1188); - obj192.Steps = list276; - reference260 = obj192; - ref QuestSequence reference261 = ref span123[3]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - CollectionsMarshal.AsSpan(list277)[0] = new QuestStep(EInteractionType.Interact, 2013598u, new Vector3(-560.5707f, 121.5686f, 368.52063f), 1188); - obj193.Steps = list277; - reference261 = obj193; - ref QuestSequence reference262 = ref span123[4]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - Span span124 = CollectionsMarshal.AsSpan(list278); - span124[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013939u, new Vector3(-294.20923f, 110.73462f, 640.00903f), 1188) - { - AetherCurrentId = 2818421u - }; - span124[1] = new QuestStep(EInteractionType.Interact, 2013599u, new Vector3(-293.20215f, 109.57495f, 691.432f), 1188); - obj194.Steps = list278; - reference262 = obj194; - ref QuestSequence reference263 = ref span123[5]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - CollectionsMarshal.AsSpan(list279)[0] = new QuestStep(EInteractionType.Interact, 1046615u, new Vector3(-463.6759f, 121.632996f, 332.23462f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaEarthenshire - }; - obj195.Steps = list279; - reference263 = obj195; - ref QuestSequence reference264 = ref span123[6]; - QuestSequence obj196 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - CollectionsMarshal.AsSpan(list280)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051455u, new Vector3(-447.8676f, 122.89019f, 348.47034f), 1188) - { - StopDistance = 5f - }; - obj196.Steps = list280; - reference264 = obj196; - questRoot65.QuestSequence = list2; - AddQuest(questId32, questRoot); - QuestId questId33 = new QuestId(4882); - questRoot = new QuestRoot(); - QuestRoot questRoot66 = questRoot; - num = 1; - List list281 = new List(num); - CollectionsMarshal.SetCount(list281, num); - CollectionsMarshal.AsSpan(list281)[0] = "liza"; - questRoot66.Author = list281; - QuestRoot questRoot67 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span125 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference265 = ref span125[0]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - CollectionsMarshal.AsSpan(list282)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046617u, new Vector3(-450.248f, 122.950645f, 345.6626f), 1188) - { - StopDistance = 5f - }; - obj197.Steps = list282; - reference265 = obj197; - ref QuestSequence reference266 = ref span125[1]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.Interact, 1046676u, new Vector3(-529.015f, 122.12203f, 341.75623f), 1188); - obj198.Steps = list283; - reference266 = obj198; - ref QuestSequence reference267 = ref span125[2]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - CollectionsMarshal.AsSpan(list284)[0] = new QuestStep(EInteractionType.Interact, 1051018u, new Vector3(160.20447f, -17.964504f, 166.55212f), 1185) - { - StopDistance = 5f - }; - obj199.Steps = list284; - reference267 = obj199; - ref QuestSequence reference268 = ref span125[3]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - CollectionsMarshal.AsSpan(list285)[0] = new QuestStep(EInteractionType.Interact, 1047095u, new Vector3(139.5437f, -13.99f, 10.60498f), 1185); - obj200.Steps = list285; - reference268 = obj200; - ref QuestSequence reference269 = ref span125[4]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - CollectionsMarshal.AsSpan(list286)[0] = new QuestStep(EInteractionType.Interact, 1046624u, new Vector3(-32.455933f, -17.972866f, 184.6189f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalWachumeqimeqi, - To = EAetheryteLocation.TuliyollalBaysideBevyMarketplace - } - }; - obj201.Steps = list286; - reference269 = obj201; - ref QuestSequence reference270 = ref span125[5]; - QuestSequence obj202 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - CollectionsMarshal.AsSpan(list287)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046619u, new Vector3(140.70337f, -14f, 13.199036f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalBaysideBevyMarketplace, - To = EAetheryteLocation.TuliyollalWachumeqimeqi - } - }; - obj202.Steps = list287; - reference270 = obj202; - questRoot67.QuestSequence = list2; - AddQuest(questId33, questRoot); - QuestId questId34 = new QuestId(4883); - questRoot = new QuestRoot(); - QuestRoot questRoot68 = questRoot; - num = 1; - List list288 = new List(num); - CollectionsMarshal.SetCount(list288, num); - CollectionsMarshal.AsSpan(list288)[0] = "liza"; - questRoot68.Author = list288; - QuestRoot questRoot69 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span126 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference271 = ref span126[0]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046619u, new Vector3(140.70337f, -14f, 13.199036f), 1185); - obj203.Steps = list289; - reference271 = obj203; - ref QuestSequence reference272 = ref span126[1]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - Span span127 = CollectionsMarshal.AsSpan(list290); - span127[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-164.51695f, -14.999356f, 208.03928f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalWachumeqimeqi, - To = EAetheryteLocation.TuliyollalTheForardCabins - } - }; - span127[1] = new QuestStep(EInteractionType.Interact, 1048375u, new Vector3(-166.85742f, -14.999356f, 208.30078f), 1185); - obj204.Steps = list290; - reference272 = obj204; - ref QuestSequence reference273 = ref span126[2]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - CollectionsMarshal.AsSpan(list291)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1046681u, new Vector3(-194.78143f, 120.795235f, -359.24316f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalTheForardCabins, - To = EAetheryteLocation.TuliyollalVollokShoonsa - }, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj205.Steps = list291; - reference273 = obj205; - ref QuestSequence reference274 = ref span126[3]; - QuestSequence obj206 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - ref QuestStep reference275 = ref CollectionsMarshal.AsSpan(list292)[0]; - QuestStep obj207 = new QuestStep(EInteractionType.CompleteQuest, 1046628u, new Vector3(-173.75458f, 120.79523f, -326.37524f), 1185) - { - StopDistance = 7f - }; - num3 = 1; - List list293 = new List(num3); - CollectionsMarshal.SetCount(list293, num3); - CollectionsMarshal.AsSpan(list293)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMB104_04883_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGMB104_04883_A1_000_001") - }; - obj207.DialogueChoices = list293; - reference275 = obj207; - obj206.Steps = list292; - reference274 = obj206; - questRoot69.QuestSequence = list2; - AddQuest(questId34, questRoot); - QuestId questId35 = new QuestId(4884); - questRoot = new QuestRoot(); - QuestRoot questRoot70 = questRoot; - num = 1; - List list294 = new List(num); - CollectionsMarshal.SetCount(list294, num); - CollectionsMarshal.AsSpan(list294)[0] = "liza"; - questRoot70.Author = list294; - QuestRoot questRoot71 = questRoot; - num = 9; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span128 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference276 = ref span128[0]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - CollectionsMarshal.AsSpan(list295)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046628u, new Vector3(-173.75458f, 120.79523f, -326.37524f), 1185) - { - StopDistance = 7f - }; - obj208.Steps = list295; - reference276 = obj208; - ref QuestSequence reference277 = ref span128[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence39 = questSequence; - num2 = 1; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - ref QuestStep reference278 = ref CollectionsMarshal.AsSpan(list296)[0]; - QuestStep obj209 = new QuestStep(EInteractionType.Interact, 2013605u, new Vector3(-161.36414f, -14.999634f, 208.33142f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalTheForardCabins - } - }; - num3 = 1; - List list297 = new List(num3); - CollectionsMarshal.SetCount(list297, num3); - CollectionsMarshal.AsSpan(list297)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMB105_04884_Q1_000_000") - }; - obj209.DialogueChoices = list297; - reference278 = obj209; - questSequence39.Steps = list296; - reference277 = questSequence; - span128[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference279 = ref span128[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence40 = questSequence; - num2 = 3; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - Span span129 = CollectionsMarshal.AsSpan(list298); - span129[0] = new QuestStep(EInteractionType.AcceptQuest, 1051263u, new Vector3(-521.0193f, 121.63345f, 319.38647f), 1188) - { - PickUpQuestId = new QuestId(5085) - }; - span129[1] = new QuestStep(EInteractionType.AcceptQuest, 1048855u, new Vector3(-491.63043f, 121.63846f, 271.50366f), 1188) - { - PickUpQuestId = new QuestId(5074) - }; - span129[2] = new QuestStep(EInteractionType.Interact, 1046876u, new Vector3(-505.66876f, 121.633156f, 327.62634f), 1188) - { - StopDistance = 5f - }; - questSequence40.Steps = list298; - reference279 = questSequence; - ref QuestSequence reference280 = ref span128[4]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - CollectionsMarshal.AsSpan(list299)[0] = new QuestStep(EInteractionType.Interact, 1046633u, new Vector3(-798.2147f, 127.87157f, 468.61975f), 1188); - obj210.Steps = list299; - reference280 = obj210; - ref QuestSequence reference281 = ref span128[5]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - CollectionsMarshal.AsSpan(list300)[0] = new QuestStep(EInteractionType.Interact, 2013606u, new Vector3(-791.7754f, 127.336426f, 468.0094f), 1188) - { - StopDistance = 5f - }; - obj211.Steps = list300; - reference281 = obj211; - ref QuestSequence reference282 = ref span128[6]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - CollectionsMarshal.AsSpan(list301)[0] = new QuestStep(EInteractionType.Interact, 2013606u, new Vector3(-791.7754f, 127.336426f, 468.0094f), 1188) - { - StopDistance = 5f - }; - obj212.Steps = list301; - reference282 = obj212; - ref QuestSequence reference283 = ref span128[7]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list302 = new List(num2); - CollectionsMarshal.SetCount(list302, num2); - CollectionsMarshal.AsSpan(list302)[0] = new QuestStep(EInteractionType.Interact, 2013606u, new Vector3(-791.7754f, 127.336426f, 468.0094f), 1188) - { - StopDistance = 5f - }; - obj213.Steps = list302; - reference283 = obj213; - ref QuestSequence reference284 = ref span128[8]; - QuestSequence obj214 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list303 = new List(num2); - CollectionsMarshal.SetCount(list303, num2); - CollectionsMarshal.AsSpan(list303)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046877u, new Vector3(-529.0761f, 122.122025f, 341.7257f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaEarthenshire - }; - obj214.Steps = list303; - reference284 = obj214; - questRoot71.QuestSequence = list2; - AddQuest(questId35, questRoot); - QuestId questId36 = new QuestId(4885); - questRoot = new QuestRoot(); - QuestRoot questRoot72 = questRoot; - num = 1; - List list304 = new List(num); - CollectionsMarshal.SetCount(list304, num); - CollectionsMarshal.AsSpan(list304)[0] = "liza"; - questRoot72.Author = list304; - QuestRoot questRoot73 = questRoot; - num = 10; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span130 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference285 = ref span130[0]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - CollectionsMarshal.AsSpan(list305)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046642u, new Vector3(-530.38837f, 122.122025f, 340.93237f), 1188) - { - StopDistance = 5f - }; - obj215.Steps = list305; - reference285 = obj215; - ref QuestSequence reference286 = ref span130[1]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - CollectionsMarshal.AsSpan(list306)[0] = new QuestStep(EInteractionType.Interact, 1046677u, new Vector3(-405.90527f, 121.63345f, 278.91956f), 1188); - obj216.Steps = list306; - reference286 = obj216; - ref QuestSequence reference287 = ref span130[2]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list307 = new List(num2); - CollectionsMarshal.SetCount(list307, num2); - CollectionsMarshal.AsSpan(list307)[0] = new QuestStep(EInteractionType.Interact, 1046644u, new Vector3(569.0242f, 115.13427f, 236.25537f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaManyFires - }; - obj217.Steps = list307; - reference287 = obj217; - ref QuestSequence reference288 = ref span130[3]; - questSequence = new QuestSequence - { - Sequence = 3 - }; - QuestSequence questSequence41 = questSequence; - num2 = 4; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span131 = CollectionsMarshal.AsSpan(list3); - span131[0] = new QuestStep(EInteractionType.Interact, 1046646u, new Vector3(566.8573f, 115.180565f, 236.59106f), 1188) - { - StopDistance = 4f - }; - span131[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1046646u, new Vector3(552.2429f, 115.77921f, 221.62932f), 1188) - { - NpcWaitDistance = 1f - }; - span131[2] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1046646u, new Vector3(562.5982f, 115.49999f, 191.69548f), 1188) - { - NpcWaitDistance = 1f - }; - span131[3] = new QuestStep(EInteractionType.WalkTo, 1046647u, new Vector3(585.44275f, 119.49004f, 189.44067f), 1188) - { - StopDistance = 1f - }; - questSequence41.Steps = list3; - reference288 = questSequence; - ref QuestSequence reference289 = ref span130[4]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - CollectionsMarshal.AsSpan(list308)[0] = new QuestStep(EInteractionType.Emote, 1046678u, new Vector3(605.61523f, 119.490036f, 185.04602f), 1188) - { - Emote = EEmote.Happy - }; - obj218.Steps = list308; - reference289 = obj218; - ref QuestSequence reference290 = ref span130[5]; - questSequence = new QuestSequence - { - Sequence = 5 - }; - QuestSequence questSequence42 = questSequence; - num2 = 3; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - Span span132 = CollectionsMarshal.AsSpan(list309); - span132[0] = new QuestStep(EInteractionType.Interact, 1046647u, new Vector3(585.44275f, 119.49004f, 189.44067f), 1188); - span132[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1046647u, new Vector3(573.42645f, 119.49004f, 171.78094f), 1188) - { - NpcWaitDistance = 1f - }; - span132[2] = new QuestStep(EInteractionType.WalkTo, 1046648u, new Vector3(575.9822f, 119.490036f, 156.90845f), 1188) - { - StopDistance = 1f - }; - questSequence42.Steps = list309; - reference290 = questSequence; - ref QuestSequence reference291 = ref span130[6]; - QuestSequence obj219 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - CollectionsMarshal.AsSpan(list310)[0] = new QuestStep(EInteractionType.Emote, 1046679u, new Vector3(590.41736f, 119.49004f, 144.09094f), 1188) - { - Emote = EEmote.Happy - }; - obj219.Steps = list310; - reference291 = obj219; - ref QuestSequence reference292 = ref span130[7]; - questSequence = new QuestSequence - { - Sequence = 7 - }; - QuestSequence questSequence43 = questSequence; - num2 = 4; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span133 = CollectionsMarshal.AsSpan(list3); - span133[0] = new QuestStep(EInteractionType.Interact, 1046648u, new Vector3(575.9822f, 119.490036f, 156.90845f), 1188); - span133[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1046648u, new Vector3(575.20374f, 119.49004f, 180.12602f), 1188) - { - NpcWaitDistance = 3f - }; - span133[2] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1046648u, new Vector3(556.4156f, 115.49999f, 184.765f), 1188) - { - NpcWaitDistance = 1f - }; - span133[3] = new QuestStep(EInteractionType.WalkTo, 1046649u, new Vector3(543.78577f, 115.55489f, 165.23987f), 1188) - { - StopDistance = 1f - }; - questSequence43.Steps = list3; - reference292 = questSequence; - ref QuestSequence reference293 = ref span130[8]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list311 = new List(num2); - CollectionsMarshal.SetCount(list311, num2); - CollectionsMarshal.AsSpan(list311)[0] = new QuestStep(EInteractionType.Emote, 1046680u, new Vector3(545.3727f, 116.722374f, 152.88f), 1188) - { - Emote = EEmote.Happy - }; - obj220.Steps = list311; - reference293 = obj220; - ref QuestSequence reference294 = ref span130[9]; - QuestSequence obj221 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - CollectionsMarshal.AsSpan(list312)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046878u, new Vector3(542.53455f, 116.722374f, 153.58203f), 1188) - { - StopDistance = 5f - }; - obj221.Steps = list312; - reference294 = obj221; - questRoot73.QuestSequence = list2; - AddQuest(questId36, questRoot); - QuestId questId37 = new QuestId(4886); - questRoot = new QuestRoot(); - QuestRoot questRoot74 = questRoot; - num = 1; - List list313 = new List(num); - CollectionsMarshal.SetCount(list313, num); - CollectionsMarshal.AsSpan(list313)[0] = "liza"; - questRoot74.Author = list313; - QuestRoot questRoot75 = questRoot; - num = 8; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span134 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference295 = ref span134[0]; - QuestSequence obj222 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - CollectionsMarshal.AsSpan(list314)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046878u, new Vector3(542.53455f, 116.722374f, 153.58203f), 1188) - { - StopDistance = 5f - }; - obj222.Steps = list314; - reference295 = obj222; - ref QuestSequence reference296 = ref span134[1]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - Span span135 = CollectionsMarshal.AsSpan(list315); - span135[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(531.60944f, 116.17938f, 166.65599f), 1188); - span135[1] = new QuestStep(EInteractionType.Interact, 2013610u, new Vector3(454.7036f, 112.077515f, 163.25623f), 1188); - obj223.Steps = list315; - reference296 = obj223; - ref QuestSequence reference297 = ref span134[2]; - QuestSequence obj224 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - ref QuestStep reference298 = ref CollectionsMarshal.AsSpan(list316)[0]; - QuestStep obj225 = new QuestStep(EInteractionType.Combat, null, new Vector3(169.65424f, 110.795235f, 256.5983f), 1188) - { - StopDistance = 0.25f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 3; - List list317 = new List(num3); - CollectionsMarshal.SetCount(list317, num3); - Span span136 = CollectionsMarshal.AsSpan(list317); - span136[0] = 17692u; - span136[1] = 17693u; - span136[2] = 17694u; - obj225.KillEnemyDataIds = list317; - reference298 = obj225; - obj224.Steps = list316; - reference297 = obj224; - ref QuestSequence reference299 = ref span134[3]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list318 = new List(num2); - CollectionsMarshal.SetCount(list318, num2); - CollectionsMarshal.AsSpan(list318)[0] = new QuestStep(EInteractionType.Interact, 1046653u, new Vector3(160.29602f, 111.00074f, 258.83875f), 1188); - obj226.Steps = list318; - reference299 = obj226; - ref QuestSequence reference300 = ref span134[4]; - QuestSequence obj227 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list319 = new List(num2); - CollectionsMarshal.SetCount(list319, num2); - CollectionsMarshal.AsSpan(list319)[0] = new QuestStep(EInteractionType.Interact, 2013612u, new Vector3(317.95215f, 115.92273f, 229.96863f), 1188); - obj227.Steps = list319; - reference300 = obj227; - ref QuestSequence reference301 = ref span134[5]; - questSequence = new QuestSequence - { - Sequence = 5 - }; - QuestSequence questSequence44 = questSequence; - num2 = 18; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span137 = CollectionsMarshal.AsSpan(list3); - span137[0] = new QuestStep(EInteractionType.WalkTo, 1046654u, new Vector3(367.16077f, 109.99999f, 285.20248f), 1188) - { - StopDistance = 50f - }; - span137[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1046654u, new Vector3(373.7373f, 109.940544f, 292.05542f), 1188) - { - StopDistance = 60f, - NpcWaitDistance = 1f - }; - span137[2] = new QuestStep(EInteractionType.WalkTo, 1046654u, new Vector3(401.49612f, 110.34416f, 358.39096f), 1188) - { - StopDistance = 50f - }; - span137[3] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1046654u, new Vector3(405.0139f, 110.18579f, 363.32675f), 1188) - { - StopDistance = 60f, - NpcWaitDistance = 1f - }; - span137[4] = new QuestStep(EInteractionType.WalkTo, 1046654u, new Vector3(431.14557f, 110.30115f, 445.72592f), 1188) - { - StopDistance = 50f, - NpcWaitDistance = 1f - }; - span137[5] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1046654u, new Vector3(432.67133f, 111.30688f, 454.02933f), 1188) - { - StopDistance = 60f, - NpcWaitDistance = 1f - }; - span137[6] = new QuestStep(EInteractionType.WalkTo, 1046654u, new Vector3(414.60312f, 111.47869f, 583.3106f), 1188) - { - StopDistance = 50f - }; - span137[7] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1046654u, new Vector3(407.84457f, 111.124214f, 596.85754f), 1188) - { - StopDistance = 60f, - NpcWaitDistance = 1f, - Mount = false - }; - span137[8] = new QuestStep(EInteractionType.WalkTo, 1046654u, new Vector3(337.6815f, 110.679726f, 659.7985f), 1188) - { - StopDistance = 50f, - Mount = false - }; - span137[9] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1046654u, new Vector3(329.07404f, 110.1352f, 664.1191f), 1188) - { - StopDistance = 60f, - NpcWaitDistance = 1f, - Mount = false - }; - span137[10] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(294.8306f, 110.1453f, 680.0281f), 1188) - { - Mount = false - }; - span137[11] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(267.90924f, 111.677704f, 696.8132f), 1188) - { - Mount = false - }; - span137[12] = new QuestStep(EInteractionType.WalkTo, 1046654u, new Vector3(260.1857f, 113.90375f, 718.9069f), 1188) - { - StopDistance = 50f, - Mount = false - }; - span137[13] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1046654u, new Vector3(263.2977f, 115.22446f, 726.2601f), 1188) - { - StopDistance = 60f, - NpcWaitDistance = 1f, - Mount = false - }; - span137[14] = new QuestStep(EInteractionType.WalkTo, 1046654u, new Vector3(302.6931f, 117.88865f, 758.6998f), 1188) - { - StopDistance = 50f, - Mount = false - }; - span137[15] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1046654u, new Vector3(309.86523f, 118.87516f, 761.77924f), 1188) - { - StopDistance = 60f, - NpcWaitDistance = 1f - }; - span137[16] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(316.30682f, 122.056854f, 777.90155f), 1188); - span137[17] = new QuestStep(EInteractionType.WalkTo, 2013614u, new Vector3(336.99548f, 123.21655f, 778.6526f), 1188); - questSequence44.Steps = list3; - reference301 = questSequence; - ref QuestSequence reference302 = ref span134[6]; - questSequence = new QuestSequence - { - Sequence = 6 - }; - QuestSequence questSequence45 = questSequence; - num2 = 10; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span138 = CollectionsMarshal.AsSpan(list3); - span138[0] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1046659u, new Vector3(381.548f, 121.013245f, 762.6797f), 1188) - { - StopDistance = 50f, - Mount = false - }; - span138[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1046659u, new Vector3(413.78464f, 117.67805f, 753.82654f), 1188) - { - StopDistance = 30f, - Mount = false - }; - span138[2] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1046659u, new Vector3(430.26556f, 117.201416f, 746.65106f), 1188) - { - StopDistance = 30f, - DelaySecondsAtStart = 2f, - Mount = false - }; - span138[3] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1046659u, new Vector3(454.3518f, 117.324524f, 740.7899f), 1188) - { - StopDistance = 30f, - DelaySecondsAtStart = 2f, - Mount = false - }; - span138[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(494.93594f, 119.74193f, 718.53876f), 1188) - { - Mount = false - }; - span138[5] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1046659u, new Vector3(528.67334f, 121.77753f, 734.24115f), 1188) - { - StopDistance = 100f, - Mount = false - }; - span138[6] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1046659u, new Vector3(541.26227f, 122.58829f, 731.3827f), 1188) - { - StopDistance = 100f, - NpcWaitDistance = 1f, - Mount = false, - Sprint = false - }; - span138[7] = new QuestStep(EInteractionType.WalkTo, 1046659u, new Vector3(639.90125f, 118.65023f, 708.77124f), 1188) - { - Mount = false, - Sprint = false - }; - span138[8] = new QuestStep(EInteractionType.WalkTo, 1046659u, new Vector3(671.42f, 118.15654f, 670.4708f), 1188) - { - Mount = false, - Sprint = false - }; - span138[9] = new QuestStep(EInteractionType.WalkTo, 2013617u, new Vector3(682.8259f, 116.96033f, 646.44836f), 1188) - { - Mount = false, - Sprint = false - }; - questSequence45.Steps = list3; - reference302 = questSequence; - ref QuestSequence reference303 = ref span134[7]; - QuestSequence obj228 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list320 = new List(num2); - CollectionsMarshal.SetCount(list320, num2); - CollectionsMarshal.AsSpan(list320)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046661u, new Vector3(609.5215f, 119.490036f, 187.48755f), 1188) - { - StopDistance = 5f - }; - obj228.Steps = list320; - reference303 = obj228; - questRoot75.QuestSequence = list2; - AddQuest(questId37, questRoot); - QuestId questId38 = new QuestId(4887); - questRoot = new QuestRoot(); - QuestRoot questRoot76 = questRoot; - num = 1; - List list321 = new List(num); - CollectionsMarshal.SetCount(list321, num); - CollectionsMarshal.AsSpan(list321)[0] = "liza"; - questRoot76.Author = list321; - QuestRoot questRoot77 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span139 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference304 = ref span139[0]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list322 = new List(num2); - CollectionsMarshal.SetCount(list322, num2); - CollectionsMarshal.AsSpan(list322)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046661u, new Vector3(609.5215f, 119.490036f, 187.48755f), 1188) - { - StopDistance = 5f - }; - obj229.Steps = list322; - reference304 = obj229; - ref QuestSequence reference305 = ref span139[1]; - QuestSequence obj230 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list323 = new List(num2); - CollectionsMarshal.SetCount(list323, num2); - CollectionsMarshal.AsSpan(list323)[0] = new QuestStep(EInteractionType.Interact, 1046662u, new Vector3(380.14795f, 110.47756f, 187.18237f), 1188); - obj230.Steps = list323; - reference305 = obj230; - ref QuestSequence reference306 = ref span139[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence46 = questSequence; - num2 = 4; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span140 = CollectionsMarshal.AsSpan(list3); - span140[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013942u, new Vector3(130.44934f, 115.15979f, 522.9114f), 1188) - { - AetherCurrentId = 2818427u - }; - span140[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(35.692627f, 109.2f, 490.56314f), 1188) - { - Mount = false - }; - span140[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-46.322823f, 109.2f, 475.24792f), 1188) - { - Mount = true - }; - span140[3] = new QuestStep(EInteractionType.UseItem, 2013619u, new Vector3(-96.33026f, 109.57495f, 488.30383f), 1188) - { - ItemId = 2003484u - }; - questSequence46.Steps = list3; - reference306 = questSequence; - ref QuestSequence reference307 = ref span139[3]; - QuestSequence obj231 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list324 = new List(num2); - CollectionsMarshal.SetCount(list324, num2); - CollectionsMarshal.AsSpan(list324)[0] = new QuestStep(EInteractionType.UseItem, 2013620u, new Vector3(-61.661743f, 109.57495f, 390.6156f), 1188) - { - ItemId = 2003484u - }; - obj231.Steps = list324; - reference307 = obj231; - ref QuestSequence reference308 = ref span139[4]; - QuestSequence obj232 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list325 = new List(num2); - CollectionsMarshal.SetCount(list325, num2); - CollectionsMarshal.AsSpan(list325)[0] = new QuestStep(EInteractionType.Interact, 1046663u, new Vector3(-3.1586914f, 109.20001f, 287.95288f), 1188); - obj232.Steps = list325; - reference308 = obj232; - ref QuestSequence reference309 = ref span139[5]; - QuestSequence obj233 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list326 = new List(num2); - CollectionsMarshal.SetCount(list326, num2); - CollectionsMarshal.AsSpan(list326)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046664u, new Vector3(519.06604f, 115.3514f, 201.86157f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaManyFires - }; - obj233.Steps = list326; - reference309 = obj233; - questRoot77.QuestSequence = list2; - AddQuest(questId38, questRoot); - QuestId questId39 = new QuestId(4888); - questRoot = new QuestRoot(); - QuestRoot questRoot78 = questRoot; - num = 1; - List list327 = new List(num); - CollectionsMarshal.SetCount(list327, num); - CollectionsMarshal.AsSpan(list327)[0] = "liza"; - questRoot78.Author = list327; - QuestRoot questRoot79 = questRoot; - num = 2; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span141 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference310 = ref span141[0]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - CollectionsMarshal.AsSpan(list328)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046664u, new Vector3(519.06604f, 115.3514f, 201.86157f), 1188); - obj234.Steps = list328; - reference310 = obj234; - ref QuestSequence reference311 = ref span141[1]; - QuestSequence obj235 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list329 = new List(num2); - CollectionsMarshal.SetCount(list329, num2); - CollectionsMarshal.AsSpan(list329)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046667u, new Vector3(608.6365f, 119.49004f, 190.72253f), 1188) - { - StopDistance = 5f - }; - obj235.Steps = list329; - reference311 = obj235; - questRoot79.QuestSequence = list2; - AddQuest(questId39, questRoot); - QuestId questId40 = new QuestId(4889); - questRoot = new QuestRoot(); - QuestRoot questRoot80 = questRoot; - num = 1; - List list330 = new List(num); - CollectionsMarshal.SetCount(list330, num); - CollectionsMarshal.AsSpan(list330)[0] = "liza"; - questRoot80.Author = list330; - QuestRoot questRoot81 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span142 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference312 = ref span142[0]; - QuestSequence obj236 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list331 = new List(num2); - CollectionsMarshal.SetCount(list331, num2); - CollectionsMarshal.AsSpan(list331)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046667u, new Vector3(608.6365f, 119.49004f, 190.72253f), 1188) - { - StopDistance = 5f - }; - obj236.Steps = list331; - reference312 = obj236; - ref QuestSequence reference313 = ref span142[1]; - QuestSequence obj237 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list332 = new List(num2); - CollectionsMarshal.SetCount(list332, num2); - CollectionsMarshal.AsSpan(list332)[0] = new QuestStep(EInteractionType.Interact, 1046810u, new Vector3(-769.22253f, 124.35208f, 465.87305f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaEarthenshire - }; - obj237.Steps = list332; - reference313 = obj237; - ref QuestSequence reference314 = ref span142[2]; - QuestSequence obj238 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list333 = new List(num2); - CollectionsMarshal.SetCount(list333, num2); - Span span143 = CollectionsMarshal.AsSpan(list333); - span143[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-899.7249f, 143.00594f, 472.3082f), 1188) - { - TargetTerritoryId = (ushort)1187, - Fly = true - }; - span143[1] = new QuestStep(EInteractionType.Interact, 1046814u, new Vector3(655.6953f, 83.46234f, 642.11475f), 1187); - obj238.Steps = list333; - reference314 = obj238; - ref QuestSequence reference315 = ref span142[3]; - QuestSequence obj239 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - Span span144 = CollectionsMarshal.AsSpan(list334); - span144[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 1187) - { - Aetheryte = EAetheryteLocation.UrqopachaWorlarsEcho - }; - span144[1] = new QuestStep(EInteractionType.Interact, 1046819u, new Vector3(482.96326f, 114.935f, 622.76636f), 1187); - obj239.Steps = list334; - reference315 = obj239; - ref QuestSequence reference316 = ref span142[4]; - QuestSequence obj240 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list335 = new List(num2); - CollectionsMarshal.SetCount(list335, num2); - CollectionsMarshal.AsSpan(list335)[0] = new QuestStep(EInteractionType.Interact, 1046824u, new Vector3(358.87683f, 130.34726f, 597.2838f), 1187); - obj240.Steps = list335; - reference316 = obj240; - ref QuestSequence reference317 = ref span142[5]; - QuestSequence obj241 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list336 = new List(num2); - CollectionsMarshal.SetCount(list336, num2); - CollectionsMarshal.AsSpan(list336)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047504u, new Vector3(371.14514f, 130.34726f, 610.3456f), 1187) - { - StopDistance = 7f - }; - obj241.Steps = list336; - reference317 = obj241; - questRoot81.QuestSequence = list2; - AddQuest(questId40, questRoot); - QuestId questId41 = new QuestId(4890); - questRoot = new QuestRoot(); - QuestRoot questRoot82 = questRoot; - num = 1; - List list337 = new List(num); - CollectionsMarshal.SetCount(list337, num); - CollectionsMarshal.AsSpan(list337)[0] = "liza"; - questRoot82.Author = list337; - QuestRoot questRoot83 = questRoot; - num = 9; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span145 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference318 = ref span145[0]; - QuestSequence obj242 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list338 = new List(num2); - CollectionsMarshal.SetCount(list338, num2); - CollectionsMarshal.AsSpan(list338)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047507u, new Vector3(367.51343f, 130.34726f, 608.05664f), 1187) - { - StopDistance = 7f - }; - obj242.Steps = list338; - reference318 = obj242; - ref QuestSequence reference319 = ref span145[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence47 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span146 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference320 = ref span146[0]; - QuestStep questStep34 = new QuestStep(EInteractionType.Interact, 1046937u, new Vector3(365.0415f, 129.04726f, 651.1177f), 1187); - num3 = 6; - List list339 = new List(num3); - CollectionsMarshal.SetCount(list339, num3); - Span span147 = CollectionsMarshal.AsSpan(list339); - span147[0] = null; - span147[1] = null; - span147[2] = null; - span147[3] = null; - span147[4] = null; - span147[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep34.CompletionQuestVariablesFlags = list339; - reference320 = questStep34; - ref QuestStep reference321 = ref span146[1]; - QuestStep questStep35 = new QuestStep(EInteractionType.Interact, 1046938u, new Vector3(511.65015f, 111.134995f, 697.9934f), 1187); - num3 = 6; - List list340 = new List(num3); - CollectionsMarshal.SetCount(list340, num3); - Span span148 = CollectionsMarshal.AsSpan(list340); - span148[0] = null; - span148[1] = null; - span148[2] = null; - span148[3] = null; - span148[4] = null; - span148[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep35.CompletionQuestVariablesFlags = list340; - reference321 = questStep35; - ref QuestStep reference322 = ref span146[2]; - QuestStep questStep36 = new QuestStep(EInteractionType.Interact, 1046939u, new Vector3(493.9192f, 111.135f, 553.58203f), 1187); - num3 = 6; - List list341 = new List(num3); - CollectionsMarshal.SetCount(list341, num3); - Span span149 = CollectionsMarshal.AsSpan(list341); - span149[0] = null; - span149[1] = null; - span149[2] = null; - span149[3] = null; - span149[4] = null; - span149[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep36.CompletionQuestVariablesFlags = list341; - reference322 = questStep36; - questSequence47.Steps = list3; - reference319 = questSequence; - ref QuestSequence reference323 = ref span145[2]; - QuestSequence obj243 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - CollectionsMarshal.AsSpan(list342)[0] = new QuestStep(EInteractionType.Interact, 2013635u, new Vector3(372.88464f, 130.32727f, 601.0681f), 1187); - obj243.Steps = list342; - reference323 = obj243; - ref QuestSequence reference324 = ref span145[3]; - QuestSequence obj244 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list343 = new List(num2); - CollectionsMarshal.SetCount(list343, num2); - CollectionsMarshal.AsSpan(list343)[0] = new QuestStep(EInteractionType.Interact, 1046834u, new Vector3(406.8512f, 121.05475f, 501.24353f), 1187); - obj244.Steps = list343; - reference324 = obj244; - ref QuestSequence reference325 = ref span145[4]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list344 = new List(num2); - CollectionsMarshal.SetCount(list344, num2); - CollectionsMarshal.AsSpan(list344)[0] = new QuestStep(EInteractionType.Interact, 1046838u, new Vector3(137.68213f, 18.595926f, 225.0857f), 1187); - obj245.Steps = list344; - reference325 = obj245; - ref QuestSequence reference326 = ref span145[5]; - QuestSequence obj246 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list345 = new List(num2); - CollectionsMarshal.SetCount(list345, num2); - CollectionsMarshal.AsSpan(list345)[0] = new QuestStep(EInteractionType.Interact, 1046839u, new Vector3(-200.39673f, 35.298744f, -39.292053f), 1187); - obj246.Steps = list345; - reference326 = obj246; - ref QuestSequence reference327 = ref span145[6]; - QuestSequence obj247 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list346 = new List(num2); - CollectionsMarshal.SetCount(list346, num2); - Span span150 = CollectionsMarshal.AsSpan(list346); - span150[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013929u, new Vector3(-198.47418f, 23.11737f, -56.565247f), 1187) - { - DisableNavmesh = true, - AetherCurrentId = 2818406u - }; - span150[1] = new QuestStep(EInteractionType.Interact, 1046844u, new Vector3(-499.6262f, 59.211838f, 152.81909f), 1187); - obj247.Steps = list346; - reference327 = obj247; - ref QuestSequence reference328 = ref span145[7]; - QuestSequence obj248 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list347 = new List(num2); - CollectionsMarshal.SetCount(list347, num2); - CollectionsMarshal.AsSpan(list347)[0] = new QuestStep(EInteractionType.Interact, 1046849u, new Vector3(-327.44336f, 71.23984f, 336.38513f), 1187); - obj248.Steps = list347; - reference328 = obj248; - ref QuestSequence reference329 = ref span145[8]; - QuestSequence obj249 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list348 = new List(num2); - CollectionsMarshal.SetCount(list348, num2); - CollectionsMarshal.AsSpan(list348)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046851u, new Vector3(-412.13092f, 113.87041f, 550.7439f), 1187); - obj249.Steps = list348; - reference329 = obj249; - questRoot83.QuestSequence = list2; - AddQuest(questId41, questRoot); - QuestId questId42 = new QuestId(4891); - questRoot = new QuestRoot(); - QuestRoot questRoot84 = questRoot; - num = 1; - List list349 = new List(num); - CollectionsMarshal.SetCount(list349, num); - CollectionsMarshal.AsSpan(list349)[0] = "liza"; - questRoot84.Author = list349; - QuestRoot questRoot85 = questRoot; - num = 4; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span151 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference330 = ref span151[0]; - QuestSequence obj250 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - CollectionsMarshal.AsSpan(list350)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046851u, new Vector3(-412.13092f, 113.87041f, 550.7439f), 1187); - obj250.Steps = list350; - reference330 = obj250; - ref QuestSequence reference331 = ref span151[1]; - QuestSequence obj251 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list351 = new List(num2); - CollectionsMarshal.SetCount(list351, num2); - CollectionsMarshal.AsSpan(list351)[0] = new QuestStep(EInteractionType.Duty, null, null, 1187) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 824u - } - }; - obj251.Steps = list351; - reference331 = obj251; - span151[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference332 = ref span151[3]; - QuestSequence obj252 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list352 = new List(num2); - CollectionsMarshal.SetCount(list352, num2); - Span span152 = CollectionsMarshal.AsSpan(list352); - span152[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013931u, new Vector3(70.17627f, 0.6560669f, 746.4254f), 1187) - { - AetherCurrentId = 2818411u - }; - span152[1] = new QuestStep(EInteractionType.CompleteQuest, 1046864u, new Vector3(403.31128f, 122.535f, 614.8928f), 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho - }; - obj252.Steps = list352; - reference332 = obj252; - questRoot85.QuestSequence = list2; - AddQuest(questId42, questRoot); - QuestId questId43 = new QuestId(4892); - questRoot = new QuestRoot(); - QuestRoot questRoot86 = questRoot; - num = 1; - List list353 = new List(num); - CollectionsMarshal.SetCount(list353, num); - CollectionsMarshal.AsSpan(list353)[0] = "liza"; - questRoot86.Author = list353; - QuestRoot questRoot87 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span153 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference333 = ref span153[0]; - QuestSequence obj253 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list354 = new List(num2); - CollectionsMarshal.SetCount(list354, num2); - CollectionsMarshal.AsSpan(list354)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046864u, new Vector3(403.31128f, 122.535f, 614.8928f), 1187); - obj253.Steps = list354; - reference333 = obj253; - ref QuestSequence reference334 = ref span153[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence48 = questSequence; - num2 = 4; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span154 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference335 = ref span154[0]; - QuestStep obj254 = new QuestStep(EInteractionType.Interact, 1046872u, new Vector3(361.80652f, 129.04724f, 652.12476f), 1187) - { - StopDistance = 5f - }; - num3 = 6; - List list355 = new List(num3); - CollectionsMarshal.SetCount(list355, num3); - Span span155 = CollectionsMarshal.AsSpan(list355); - span155[0] = null; - span155[1] = null; - span155[2] = null; - span155[3] = null; - span155[4] = null; - span155[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj254.CompletionQuestVariablesFlags = list355; - reference335 = obj254; - ref QuestStep reference336 = ref span154[1]; - QuestStep questStep37 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(497.05786f, 111.134995f, 558.38666f), 1187); - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list356 = new List(num3); - CollectionsMarshal.SetCount(list356, num3); - Span span156 = CollectionsMarshal.AsSpan(list356); - span156[0] = null; - span156[1] = null; - span156[2] = null; - span156[3] = null; - span156[4] = null; - span156[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list356; - skipConditions3.StepIf = skipStepConditions; - questStep37.SkipConditions = skipConditions3; - reference336 = questStep37; - ref QuestStep reference337 = ref span154[2]; - QuestStep obj255 = new QuestStep(EInteractionType.Interact, 1046874u, new Vector3(492.97314f, 111.135f, 557.7324f), 1187) - { - StopDistance = 5f - }; - num3 = 6; - List list357 = new List(num3); - CollectionsMarshal.SetCount(list357, num3); - Span span157 = CollectionsMarshal.AsSpan(list357); - span157[0] = null; - span157[1] = null; - span157[2] = null; - span157[3] = null; - span157[4] = null; - span157[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj255.CompletionQuestVariablesFlags = list357; - reference337 = obj255; - ref QuestStep reference338 = ref span154[3]; - QuestStep obj256 = new QuestStep(EInteractionType.Interact, 1046873u, new Vector3(513.2981f, 111.135f, 697.4745f), 1187) - { - StopDistance = 5f - }; - num3 = 6; - List list358 = new List(num3); - CollectionsMarshal.SetCount(list358, num3); - Span span158 = CollectionsMarshal.AsSpan(list358); - span158[0] = null; - span158[1] = null; - span158[2] = null; - span158[3] = null; - span158[4] = null; - span158[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj256.CompletionQuestVariablesFlags = list358; - reference338 = obj256; - questSequence48.Steps = list3; - reference334 = questSequence; - ref QuestSequence reference339 = ref span153[2]; - QuestSequence obj257 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list359 = new List(num2); - CollectionsMarshal.SetCount(list359, num2); - CollectionsMarshal.AsSpan(list359)[0] = new QuestStep(EInteractionType.Interact, 2013636u, new Vector3(405.56946f, 122.51465f, 613.3668f), 1187); - obj257.Steps = list359; - reference339 = obj257; - ref QuestSequence reference340 = ref span153[3]; - QuestSequence obj258 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list360 = new List(num2); - CollectionsMarshal.SetCount(list360, num2); - CollectionsMarshal.AsSpan(list360)[0] = new QuestStep(EInteractionType.Interact, 1046936u, new Vector3(355.76404f, 130.34726f, 595.0254f), 1187); - obj258.Steps = list360; - reference340 = obj258; - ref QuestSequence reference341 = ref span153[4]; - QuestSequence obj259 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list361 = new List(num2); - CollectionsMarshal.SetCount(list361, num2); - CollectionsMarshal.AsSpan(list361)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047504u, new Vector3(371.14514f, 130.34726f, 610.3456f), 1187) - { - StopDistance = 7f - }; - obj259.Steps = list361; - reference341 = obj259; - questRoot87.QuestSequence = list2; - AddQuest(questId43, questRoot); - QuestId questId44 = new QuestId(4893); - questRoot = new QuestRoot(); - QuestRoot questRoot88 = questRoot; - num = 1; - List list362 = new List(num); - CollectionsMarshal.SetCount(list362, num); - CollectionsMarshal.AsSpan(list362)[0] = "liza"; - questRoot88.Author = list362; - QuestRoot questRoot89 = questRoot; - num = 10; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span159 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference342 = ref span159[0]; - QuestSequence obj260 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list363 = new List(num2); - CollectionsMarshal.SetCount(list363, num2); - CollectionsMarshal.AsSpan(list363)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046881u, new Vector3(368.9784f, 130.34726f, 610.5592f), 1187) - { - StopDistance = 7f - }; - obj260.Steps = list363; - reference342 = obj260; - ref QuestSequence reference343 = ref span159[1]; - QuestSequence obj261 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list364 = new List(num2); - CollectionsMarshal.SetCount(list364, num2); - ref QuestStep reference344 = ref CollectionsMarshal.AsSpan(list364)[0]; - QuestStep questStep38 = new QuestStep(EInteractionType.Interact, 1046884u, new Vector3(536.82764f, 105.12397f, 660.05945f), 1187); - num3 = 1; - List list365 = new List(num3); - CollectionsMarshal.SetCount(list365, num3); - CollectionsMarshal.AsSpan(list365)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMB114_04893_Q3_000_000") - }; - questStep38.DialogueChoices = list365; - reference344 = questStep38; - obj261.Steps = list364; - reference343 = obj261; - ref QuestSequence reference345 = ref span159[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence49 = questSequence; - num2 = 3; - List list366 = new List(num2); - CollectionsMarshal.SetCount(list366, num2); - Span span160 = CollectionsMarshal.AsSpan(list366); - span160[0] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1046885u, new Vector3(551.6129f, 103.3147f, 660.07434f), 1187) - { - Mount = true - }; - span160[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1046885u, new Vector3(564.4495f, 98.513535f, 613.08606f), 1187); - span160[2] = new QuestStep(EInteractionType.WalkTo, 1046885u, new Vector3(566.1762f, 98.513535f, 564.2549f), 1187) - { - StopDistance = 1f - }; - questSequence49.Steps = list366; - reference345 = questSequence; - ref QuestSequence reference346 = ref span159[3]; - QuestSequence obj262 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list367 = new List(num2); - CollectionsMarshal.SetCount(list367, num2); - ref QuestStep reference347 = ref CollectionsMarshal.AsSpan(list367)[0]; - QuestStep obj263 = new QuestStep(EInteractionType.Combat, null, new Vector3(585.3602f, 98.73023f, 548.79535f), 1187) - { - StopDistance = 0.5f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list368 = new List(num3); - CollectionsMarshal.SetCount(list368, num3); - CollectionsMarshal.AsSpan(list368)[0] = 17695u; - obj263.KillEnemyDataIds = list368; - reference347 = obj263; - obj262.Steps = list367; - reference346 = obj262; - ref QuestSequence reference348 = ref span159[4]; - QuestSequence obj264 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list369 = new List(num2); - CollectionsMarshal.SetCount(list369, num2); - CollectionsMarshal.AsSpan(list369)[0] = new QuestStep(EInteractionType.Interact, 1046887u, new Vector3(565.88074f, 98.513535f, 566.4606f), 1187); - obj264.Steps = list369; - reference348 = obj264; - ref QuestSequence reference349 = ref span159[5]; - questSequence = new QuestSequence - { - Sequence = 5 - }; - QuestSequence questSequence50 = questSequence; - num2 = 3; - List list370 = new List(num2); - CollectionsMarshal.SetCount(list370, num2); - Span span161 = CollectionsMarshal.AsSpan(list370); - span161[0] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1046886u, new Vector3(559.54816f, 98.436874f, 539.67975f), 1187) - { - Mount = true - }; - span161[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1046886u, new Vector3(508.8067f, 104.9486f, 449.75946f), 1187); - span161[2] = new QuestStep(EInteractionType.WalkTo, 1046886u, new Vector3(474.6922f, 109.06019f, 417.7015f), 1187) - { - StopDistance = 1f - }; - questSequence50.Steps = list370; - reference349 = questSequence; - ref QuestSequence reference350 = ref span159[6]; - QuestSequence obj265 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list371 = new List(num2); - CollectionsMarshal.SetCount(list371, num2); - ref QuestStep reference351 = ref CollectionsMarshal.AsSpan(list371)[0]; - QuestStep obj266 = new QuestStep(EInteractionType.Combat, null, new Vector3(470.6856f, 109.359344f, 395.2364f), 1187) - { - StopDistance = 0.25f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list372 = new List(num3); - CollectionsMarshal.SetCount(list372, num3); - CollectionsMarshal.AsSpan(list372)[0] = 17696u; - obj266.KillEnemyDataIds = list372; - reference351 = obj266; - obj265.Steps = list371; - reference350 = obj265; - ref QuestSequence reference352 = ref span159[7]; - QuestSequence obj267 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list373 = new List(num2); - CollectionsMarshal.SetCount(list373, num2); - CollectionsMarshal.AsSpan(list373)[0] = new QuestStep(EInteractionType.Interact, 1046890u, new Vector3(473.0448f, 108.868965f, 419.33313f), 1187); - obj267.Steps = list373; - reference352 = obj267; - ref QuestSequence reference353 = ref span159[8]; - QuestSequence obj268 = new QuestSequence - { - Sequence = 8 - }; - num2 = 2; - List list374 = new List(num2); - CollectionsMarshal.SetCount(list374, num2); - Span span162 = CollectionsMarshal.AsSpan(list374); - span162[0] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1046889u, new Vector3(489.753f, 107.692184f, 424.54318f), 1187) - { - Mount = true - }; - span162[1] = new QuestStep(EInteractionType.WalkTo, 1046889u, new Vector3(570.6724f, 119.33488f, 359.8228f), 1187) - { - StopDistance = 1f - }; - obj268.Steps = list374; - reference353 = obj268; - ref QuestSequence reference354 = ref span159[9]; - QuestSequence obj269 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list375 = new List(num2); - CollectionsMarshal.SetCount(list375, num2); - CollectionsMarshal.AsSpan(list375)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046893u, new Vector3(572.0454f, 119.71409f, 357.7478f), 1187) - { - StopDistance = 5f - }; - obj269.Steps = list375; - reference354 = obj269; - questRoot89.QuestSequence = list2; - AddQuest(questId44, questRoot); - QuestId questId45 = new QuestId(4894); - questRoot = new QuestRoot(); - QuestRoot questRoot90 = questRoot; - num = 1; - List list376 = new List(num); - CollectionsMarshal.SetCount(list376, num); - CollectionsMarshal.AsSpan(list376)[0] = "liza"; - questRoot90.Author = list376; - QuestRoot questRoot91 = questRoot; - num = 7; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span163 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference355 = ref span163[0]; - QuestSequence obj270 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list377 = new List(num2); - CollectionsMarshal.SetCount(list377, num2); - CollectionsMarshal.AsSpan(list377)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046893u, new Vector3(572.0454f, 119.71409f, 357.7478f), 1187) - { - StopDistance = 5f - }; - obj270.Steps = list377; - reference355 = obj270; - ref QuestSequence reference356 = ref span163[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence51 = questSequence; - num2 = 8; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span164 = CollectionsMarshal.AsSpan(list3); - span164[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013933u, new Vector3(398.79456f, 85.9845f, 261.3717f), 1187) - { - AetherCurrentId = 2818413u - }; - span164[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(400.70453f, 56.34349f, 226.48372f), 1187) - { - DisableNavmesh = true, - Mount = true - }; - span164[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(380.3574f, 59.728928f, -3.9185147f), 1187); - span164[3] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013932u, new Vector3(368.33752f, 61.05127f, -9.2317505f), 1187) - { - DisableNavmesh = true, - AetherCurrentId = 2818412u - }; - span164[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(341.56342f, 57.53834f, 10.309054f), 1187); - span164[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(308.72827f, 60.2934f, 111.43004f), 1187); - span164[6] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(267.1766f, 29.79629f, 184.32184f), 1187) - { - DisableNavmesh = true - }; - span164[7] = new QuestStep(EInteractionType.Interact, 1046894u, new Vector3(170.91626f, 19.997774f, 241.32141f), 1187); - questSequence51.Steps = list3; - reference356 = questSequence; - ref QuestSequence reference357 = ref span163[2]; - QuestSequence obj271 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list378 = new List(num2); - CollectionsMarshal.SetCount(list378, num2); - CollectionsMarshal.AsSpan(list378)[0] = new QuestStep(EInteractionType.Interact, 1046896u, new Vector3(-419.6994f, 69.50964f, 169.69556f), 1187); - obj271.Steps = list378; - reference357 = obj271; - ref QuestSequence reference358 = ref span163[3]; - QuestSequence obj272 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list379 = new List(num2); - CollectionsMarshal.SetCount(list379, num2); - CollectionsMarshal.AsSpan(list379)[0] = new QuestStep(EInteractionType.Interact, 1046898u, new Vector3(-594.81195f, 58.34162f, 122.48413f), 1187); - obj272.Steps = list379; - reference358 = obj272; - ref QuestSequence reference359 = ref span163[4]; - QuestSequence obj273 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list380 = new List(num2); - CollectionsMarshal.SetCount(list380, num2); - Span span165 = CollectionsMarshal.AsSpan(list380); - span165[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013930u, new Vector3(-812.8939f, 57.480713f, 105.485596f), 1187) - { - AetherCurrentId = 2818407u - }; - span165[1] = new QuestStep(EInteractionType.Duty, null, null, 1187) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 832u - } - }; - obj273.Steps = list380; - reference359 = obj273; - span163[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference360 = ref span163[6]; - QuestSequence obj274 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list381 = new List(num2); - CollectionsMarshal.SetCount(list381, num2); - CollectionsMarshal.AsSpan(list381)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046909u, new Vector3(-803.1586f, 56.144436f, 139.20801f), 1187); - obj274.Steps = list381; - reference360 = obj274; - questRoot91.QuestSequence = list2; - AddQuest(questId45, questRoot); - QuestId questId46 = new QuestId(4895); - questRoot = new QuestRoot(); - QuestRoot questRoot92 = questRoot; - num = 1; - List list382 = new List(num); - CollectionsMarshal.SetCount(list382, num); - CollectionsMarshal.AsSpan(list382)[0] = "liza"; - questRoot92.Author = list382; - QuestRoot questRoot93 = questRoot; - num = 3; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span166 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference361 = ref span166[0]; - QuestSequence obj275 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list383 = new List(num2); - CollectionsMarshal.SetCount(list383, num2); - CollectionsMarshal.AsSpan(list383)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046914u, new Vector3(-806.3325f, 56.050728f, 134.44714f), 1187) - { - StopDistance = 5f - }; - obj275.Steps = list383; - reference361 = obj275; - ref QuestSequence reference362 = ref span166[1]; - QuestSequence obj276 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list384 = new List(num2); - CollectionsMarshal.SetCount(list384, num2); - CollectionsMarshal.AsSpan(list384)[0] = new QuestStep(EInteractionType.Interact, 1046916u, new Vector3(366.01807f, 130.34726f, 599.23694f), 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho - }; - obj276.Steps = list384; - reference362 = obj276; - ref QuestSequence reference363 = ref span166[2]; - QuestSequence obj277 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list385 = new List(num2); - CollectionsMarshal.SetCount(list385, num2); - CollectionsMarshal.AsSpan(list385)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046916u, new Vector3(366.01807f, 130.34726f, 599.23694f), 1187) - { - StopDistance = 5f - }; - obj277.Steps = list385; - reference363 = obj277; - questRoot93.QuestSequence = list2; - AddQuest(questId46, questRoot); - QuestId questId47 = new QuestId(4896); - questRoot = new QuestRoot(); - QuestRoot questRoot94 = questRoot; - num = 1; - List list386 = new List(num); - CollectionsMarshal.SetCount(list386, num); - CollectionsMarshal.AsSpan(list386)[0] = "liza"; - questRoot94.Author = list386; - QuestRoot questRoot95 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span167 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference364 = ref span167[0]; - QuestSequence obj278 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list387 = new List(num2); - CollectionsMarshal.SetCount(list387, num2); - CollectionsMarshal.AsSpan(list387)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046918u, new Vector3(365.31616f, 130.34726f, 602.34985f), 1187) - { - StopDistance = 7f - }; - obj278.Steps = list387; - reference364 = obj278; - ref QuestSequence reference365 = ref span167[1]; - questSequence = new QuestSequence - { - Sequence = 1 - }; - QuestSequence questSequence52 = questSequence; - num2 = 3; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span168 = CollectionsMarshal.AsSpan(list3); - span168[0] = new QuestStep(EInteractionType.AcceptQuest, 1051207u, new Vector3(425.07043f, 118.935005f, 606.13403f), 1187) - { - StopDistance = 5f, - PickUpQuestId = new QuestId(5055) - }; - span168[1] = new QuestStep(EInteractionType.AcceptQuest, 1048730u, new Vector3(399.0692f, 122.53533f, 542.9922f), 1187) - { - StopDistance = 5f, - PickUpQuestId = new QuestId(5047) - }; - span168[2] = new QuestStep(EInteractionType.Interact, 1046926u, new Vector3(-163.95825f, -14.999357f, 208.27039f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalTheForardCabins - } - }; - questSequence52.Steps = list3; - reference365 = questSequence; - ref QuestSequence reference366 = ref span167[2]; - QuestSequence obj279 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list388 = new List(num2); - CollectionsMarshal.SetCount(list388, num2); - CollectionsMarshal.AsSpan(list388)[0] = new QuestStep(EInteractionType.Interact, 1046940u, new Vector3(-202.74664f, -15f, 296.55908f), 1185); - obj279.Steps = list388; - reference366 = obj279; - ref QuestSequence reference367 = ref span167[3]; - QuestSequence obj280 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list389 = new List(num2); - CollectionsMarshal.SetCount(list389, num2); - CollectionsMarshal.AsSpan(list389)[0] = new QuestStep(EInteractionType.Interact, 1046929u, new Vector3(-199.08447f, -14.999306f, 306.35522f), 1185) - { - StopDistance = 5f - }; - obj280.Steps = list389; - reference367 = obj280; - ref QuestSequence reference368 = ref span167[4]; - QuestSequence obj281 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list390 = new List(num2); - CollectionsMarshal.SetCount(list390, num2); - CollectionsMarshal.AsSpan(list390)[0] = new QuestStep(EInteractionType.Interact, 1046930u, new Vector3(-141.31384f, 51.999996f, 7.94989f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalTheResplendentQuarter - } - }; - obj281.Steps = list390; - reference368 = obj281; - ref QuestSequence reference369 = ref span167[5]; - QuestSequence obj282 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list391 = new List(num2); - CollectionsMarshal.SetCount(list391, num2); - CollectionsMarshal.AsSpan(list391)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046933u, new Vector3(-163.86664f, -14.999357f, 203.75366f), 1185); - obj282.Steps = list391; - reference369 = obj282; - questRoot95.QuestSequence = list2; - AddQuest(questId47, questRoot); - QuestId questId48 = new QuestId(4897); - questRoot = new QuestRoot(); - QuestRoot questRoot96 = questRoot; - num = 1; - List list392 = new List(num); - CollectionsMarshal.SetCount(list392, num); - CollectionsMarshal.AsSpan(list392)[0] = "liza"; - questRoot96.Author = list392; - QuestRoot questRoot97 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span169 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference370 = ref span169[0]; - QuestSequence obj283 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list393 = new List(num2); - CollectionsMarshal.SetCount(list393, num2); - CollectionsMarshal.AsSpan(list393)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046933u, new Vector3(-163.86664f, -14.999357f, 203.75366f), 1185); - obj283.Steps = list393; - reference370 = obj283; - ref QuestSequence reference371 = ref span169[1]; - QuestSequence obj284 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list394 = new List(num2); - CollectionsMarshal.SetCount(list394, num2); - Span span170 = CollectionsMarshal.AsSpan(list394); - span170[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-424.15686f, 11.01f, -13.636331f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalTheForardCabins, - To = EAetheryteLocation.TuliyollalDirigibleLanding - } - }; - span170[1] = new QuestStep(EInteractionType.Interact, 1047509u, new Vector3(-426.47443f, 11.01f, -13.626343f), 1185); - obj284.Steps = list394; - reference371 = obj284; - span169[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference372 = ref span169[3]; - QuestSequence obj285 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list395 = new List(num2); - CollectionsMarshal.SetCount(list395, num2); - CollectionsMarshal.AsSpan(list395)[0] = new QuestStep(EInteractionType.Interact, 1047608u, new Vector3(15.152161f, 8.205901f, -655.848f), 1189) - { - StopDistance = 7f - }; - obj285.Steps = list395; - reference372 = obj285; - ref QuestSequence reference373 = ref span169[4]; - QuestSequence obj286 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list396 = new List(num2); - CollectionsMarshal.SetCount(list396, num2); - Span span171 = CollectionsMarshal.AsSpan(list396); - span171[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013944u, new Vector3(-114.39691f, 5.8441772f, -527.1229f), 1189) - { - AetherCurrentId = 2818434u - }; - span171[1] = new QuestStep(EInteractionType.Interact, 1047515u, new Vector3(-227.74097f, 14.458079f, -440.32965f), 1189); - obj286.Steps = list396; - reference373 = obj286; - ref QuestSequence reference374 = ref span169[5]; - QuestSequence obj287 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list397 = new List(num2); - CollectionsMarshal.SetCount(list397, num2); - CollectionsMarshal.AsSpan(list397)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047520u, new Vector3(-350.72864f, 16.964071f, -428.4276f), 1189) - { - StopDistance = 1f - }; - obj287.Steps = list397; - reference374 = obj287; - questRoot97.QuestSequence = list2; - AddQuest(questId48, questRoot); - QuestId questId49 = new QuestId(4898); - questRoot = new QuestRoot(); - QuestRoot questRoot98 = questRoot; - num = 1; - List list398 = new List(num); - CollectionsMarshal.SetCount(list398, num); - CollectionsMarshal.AsSpan(list398)[0] = "liza"; - questRoot98.Author = list398; - QuestRoot questRoot99 = questRoot; - num = 5; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span172 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference375 = ref span172[0]; - QuestSequence obj288 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list399 = new List(num2); - CollectionsMarshal.SetCount(list399, num2); - CollectionsMarshal.AsSpan(list399)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047521u, new Vector3(-352.22406f, 15.683111f, -433.12738f), 1189) - { - StopDistance = 7f - }; - obj288.Steps = list399; - reference375 = obj288; - ref QuestSequence reference376 = ref span172[1]; - QuestSequence obj289 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list400 = new List(num2); - CollectionsMarshal.SetCount(list400, num2); - CollectionsMarshal.AsSpan(list400)[0] = new QuestStep(EInteractionType.Interact, 1047525u, new Vector3(-524.01013f, 28.760696f, -422.3545f), 1189); - obj289.Steps = list400; - reference376 = obj289; - ref QuestSequence reference377 = ref span172[2]; - questSequence = new QuestSequence - { - Sequence = 2 - }; - QuestSequence questSequence53 = questSequence; - num2 = 5; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span173 = CollectionsMarshal.AsSpan(list3); - ref QuestStep reference378 = ref span173[0]; - QuestStep questStep39 = new QuestStep(EInteractionType.Interact, 2013646u, new Vector3(-505.85184f, 30.411133f, -341.3291f), 1189); - num3 = 6; - List list401 = new List(num3); - CollectionsMarshal.SetCount(list401, num3); - Span span174 = CollectionsMarshal.AsSpan(list401); - span174[0] = null; - span174[1] = null; - span174[2] = null; - span174[3] = null; - span174[4] = null; - span174[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep39.CompletionQuestVariablesFlags = list401; - reference378 = questStep39; - ref QuestStep reference379 = ref span173[1]; - QuestStep questStep40 = new QuestStep(EInteractionType.Interact, 1047533u, new Vector3(-431.44885f, 28.068893f, -332.6925f), 1189); - num3 = 6; - List list402 = new List(num3); - CollectionsMarshal.SetCount(list402, num3); - Span span175 = CollectionsMarshal.AsSpan(list402); - span175[0] = null; - span175[1] = null; - span175[2] = null; - span175[3] = null; - span175[4] = null; - span175[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep40.CompletionQuestVariablesFlags = list402; - reference379 = questStep40; - ref QuestStep reference380 = ref span173[2]; - QuestStep questStep41 = new QuestStep(EInteractionType.Interact, 1051340u, new Vector3(-400.6867f, 20.478943f, -396.65833f), 1189); - num3 = 6; - List list403 = new List(num3); - CollectionsMarshal.SetCount(list403, num3); - Span span176 = CollectionsMarshal.AsSpan(list403); - span176[0] = null; - span176[1] = null; - span176[2] = null; - span176[3] = null; - span176[4] = null; - span176[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep41.CompletionQuestVariablesFlags = list403; - reference380 = questStep41; - span173[3] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 1189) - { - Aetheryte = EAetheryteLocation.YakTelIqBraax - }; - ref QuestStep reference381 = ref span173[4]; - QuestStep questStep42 = new QuestStep(EInteractionType.Interact, 2013645u, new Vector3(-425.5589f, 23.544617f, -484.97754f), 1189); - num3 = 6; - List list404 = new List(num3); - CollectionsMarshal.SetCount(list404, num3); - Span span177 = CollectionsMarshal.AsSpan(list404); - span177[0] = null; - span177[1] = null; - span177[2] = null; - span177[3] = null; - span177[4] = null; - span177[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep42.CompletionQuestVariablesFlags = list404; - reference381 = questStep42; - questSequence53.Steps = list3; - reference377 = questSequence; - ref QuestSequence reference382 = ref span172[3]; - QuestSequence obj290 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list405 = new List(num2); - CollectionsMarshal.SetCount(list405, num2); - CollectionsMarshal.AsSpan(list405)[0] = new QuestStep(EInteractionType.Interact, 2013647u, new Vector3(-523.43024f, 28.732666f, -423.0869f), 1189); - obj290.Steps = list405; - reference382 = obj290; - ref QuestSequence reference383 = ref span172[4]; - QuestSequence obj291 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list406 = new List(num2); - CollectionsMarshal.SetCount(list406, num2); - CollectionsMarshal.AsSpan(list406)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047544u, new Vector3(-520.25635f, 28.760696f, -422.11035f), 1189); - obj291.Steps = list406; - reference383 = obj291; - questRoot99.QuestSequence = list2; - AddQuest(questId49, questRoot); - QuestId questId50 = new QuestId(4899); - questRoot = new QuestRoot(); - QuestRoot questRoot100 = questRoot; - num = 1; - List list407 = new List(num); - CollectionsMarshal.SetCount(list407, num); - CollectionsMarshal.AsSpan(list407)[0] = "liza"; - questRoot100.Author = list407; - QuestRoot questRoot101 = questRoot; - num = 6; - list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span178 = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference384 = ref span178[0]; - QuestSequence obj292 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list408 = new List(num2); - CollectionsMarshal.SetCount(list408, num2); - CollectionsMarshal.AsSpan(list408)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047545u, new Vector3(-521.0803f, 28.760695f, -420.79803f), 1189); - obj292.Steps = list408; - reference384 = obj292; - ref QuestSequence reference385 = ref span178[1]; - QuestSequence obj293 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list409 = new List(num2); - CollectionsMarshal.SetCount(list409, num2); - CollectionsMarshal.AsSpan(list409)[0] = new QuestStep(EInteractionType.Interact, 1047534u, new Vector3(-423.9109f, 23.536806f, -487.41895f), 1189); - obj293.Steps = list409; - reference385 = obj293; - ref QuestSequence reference386 = ref span178[2]; - QuestSequence obj294 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list410 = new List(num2); - CollectionsMarshal.SetCount(list410, num2); - CollectionsMarshal.AsSpan(list410)[0] = new QuestStep(EInteractionType.Interact, 1047548u, new Vector3(-65.23236f, 4.5670285f, -403.21973f), 1189); - obj294.Steps = list410; - reference386 = obj294; - ref QuestSequence reference387 = ref span178[3]; - QuestSequence obj295 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list411 = new List(num2); - CollectionsMarshal.SetCount(list411, num2); - CollectionsMarshal.AsSpan(list411)[0] = new QuestStep(EInteractionType.Interact, 1047550u, new Vector3(410.45227f, 19.820219f, -460.8988f), 1189); - obj295.Steps = list411; - reference387 = obj295; - ref QuestSequence reference388 = ref span178[4]; - QuestSequence obj296 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list412 = new List(num2); - CollectionsMarshal.SetCount(list412, num2); - Span span179 = CollectionsMarshal.AsSpan(list412); - span179[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013945u, new Vector3(416.06763f, 15.518433f, -545.0065f), 1189) - { - AetherCurrentId = 2818435u - }; - span179[1] = new QuestStep(EInteractionType.Interact, 1047552u, new Vector3(476.70703f, 19.460531f, -358.23608f), 1189); - obj296.Steps = list412; - reference388 = obj296; - ref QuestSequence reference389 = ref span178[5]; - QuestSequence obj297 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list413 = new List(num2); - CollectionsMarshal.SetCount(list413, num2); - CollectionsMarshal.AsSpan(list413)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047763u, new Vector3(477.5005f, 19.52627f, -359.8841f), 1189); - obj297.Steps = list413; - reference389 = obj297; - questRoot101.QuestSequence = list2; - AddQuest(questId50, questRoot); - } - - private static void LoadQuests98() - { - QuestId questId = new QuestId(4900); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 5; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047764u, new Vector3(474.9065f, 19.501463f, -358.05298f), 1189) - { - StopDistance = 5f - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1047618u, new Vector3(539.6658f, 9.54172f, -219.22644f), 1189); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1047555u, new Vector3(-524.58997f, 28.760696f, -424.2771f), 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelIqBraax - }; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Interact, 2013649u, new Vector3(-521.9959f, 28.732666f, -422.65967f), 1189); - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047558u, new Vector3(-518.51685f, 28.775951f, -420.95068f), 1189) - { - StopDistance = 7f - }; - obj5.Steps = list7; - reference5 = obj5; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(4901); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - CollectionsMarshal.AsSpan(list8)[0] = "liza"; - questRoot2.Author = list8; - num = 5; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - Span span2 = CollectionsMarshal.AsSpan(list9); - ref QuestSequence reference6 = ref span2[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047561u, new Vector3(-519.4324f, 28.767723f, -419.24164f), 1189) - { - StopDistance = 7f - }; - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span2[1]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.Interact, 1047563u, new Vector3(-433.06635f, 18.428335f, -392.32477f), 1189); - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span2[2]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Interact, 1047566u, new Vector3(-531.9143f, 28.760696f, -428.54968f), 1189); - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference9 = ref span2[3]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.Interact, 1047566u, new Vector3(-531.9143f, 28.760696f, -428.54968f), 1189); - obj9.Steps = list13; - reference9 = obj9; - ref QuestSequence reference10 = ref span2[4]; - QuestSequence obj10 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047569u, new Vector3(-589.56287f, 1.1820383f, -403.7995f), 1189); - obj10.Steps = list14; - reference10 = obj10; - questRoot2.QuestSequence = list9; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(4902); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - CollectionsMarshal.AsSpan(list15)[0] = "liza"; - questRoot3.Author = list15; - num = 4; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - Span span3 = CollectionsMarshal.AsSpan(list16); - ref QuestSequence reference11 = ref span3[0]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047569u, new Vector3(-589.56287f, 1.1820383f, -403.7995f), 1189); - obj11.Steps = list17; - reference11 = obj11; - ref QuestSequence reference12 = ref span3[1]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - Span span4 = CollectionsMarshal.AsSpan(list18); - span4[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013946u, new Vector3(-550.6218f, -4.3793945f, -137.68219f), 1189) - { - AetherCurrentId = 2818438u - }; - span4[1] = new QuestStep(EInteractionType.SinglePlayerDuty, 1047570u, new Vector3(-526.9398f, 28.760693f, -425.98615f), 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelIqBraax, - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj12.Steps = list18; - reference12 = obj12; - span3[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference13 = ref span3[3]; - QuestSequence obj13 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047572u, new Vector3(-529.74744f, 28.760696f, -426.50494f), 1189) - { - StopDistance = 7f - }; - obj13.Steps = list19; - reference13 = obj13; - questRoot3.QuestSequence = list16; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(4903); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - CollectionsMarshal.AsSpan(list20)[0] = "liza"; - questRoot4.Author = list20; - num = 7; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - Span span5 = CollectionsMarshal.AsSpan(list21); - ref QuestSequence reference14 = ref span5[0]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047572u, new Vector3(-529.74744f, 28.760696f, -426.50494f), 1189) - { - StopDistance = 7f - }; - obj14.Steps = list22; - reference14 = obj14; - ref QuestSequence reference15 = ref span5[1]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - Span span6 = CollectionsMarshal.AsSpan(list23); - ref QuestStep reference16 = ref span6[0]; - QuestStep questStep = new QuestStep(EInteractionType.AcceptQuest, 1050872u, new Vector3(-408.71295f, 20.420113f, -398.8861f), 1189); - int num3 = 1; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - CollectionsMarshal.AsSpan(list24)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "quest/051/KinGzd201_05110", - Prompt = new ExcelRef("TEXT_KINGZD201_05110_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGZD201_05110_A1_000_001") - }; - questStep.DialogueChoices = list24; - questStep.PickUpQuestId = new QuestId(5110); - reference16 = questStep; - span6[1] = new QuestStep(EInteractionType.AcceptQuest, 1051073u, new Vector3(41.09253f, 8.205902f, -629.8467f), 1189) - { - PickUpQuestId = new QuestId(5094) - }; - span6[2] = new QuestStep(EInteractionType.Interact, 1047577u, new Vector3(600.76294f, 11.096121f, 23.788818f), 1189); - obj15.Steps = list23; - reference15 = obj15; - ref QuestSequence reference17 = ref span5[2]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.Interact, 1048230u, new Vector3(612.57336f, -33.408688f, 214.83167f), 1189); - obj16.Steps = list25; - reference17 = obj16; - ref QuestSequence reference18 = ref span5[3]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.Interact, 1048229u, new Vector3(622.2781f, -58.68765f, 176.83679f), 1189) - { - Mount = true - }; - obj17.Steps = list26; - reference18 = obj17; - ref QuestSequence reference19 = ref span5[4]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.Interact, 1047582u, new Vector3(719.72217f, -93.15191f, 338.55188f), 1189); - obj18.Steps = list27; - reference19 = obj18; - ref QuestSequence reference20 = ref span5[5]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.UseItem, 2013651u, new Vector3(718.59314f, -90.92853f, 335.8662f), 1189) - { - StopDistance = 4f, - ItemId = 2003487u - }; - obj19.Steps = list28; - reference20 = obj19; - ref QuestSequence reference21 = ref span5[6]; - QuestSequence obj20 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047587u, new Vector3(739.37585f, -133.17699f, 516.5636f), 1189); - obj20.Steps = list29; - reference21 = obj20; - questRoot4.QuestSequence = list21; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(4904); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - CollectionsMarshal.AsSpan(list30)[0] = "liza"; - questRoot5.Author = list30; - num = 6; - List list31 = new List(num); - CollectionsMarshal.SetCount(list31, num); - Span span7 = CollectionsMarshal.AsSpan(list31); - ref QuestSequence reference22 = ref span7[0]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047588u, new Vector3(738.85693f, -133.17517f, 514.9767f), 1189); - obj21.Steps = list32; - reference22 = obj21; - ref QuestSequence reference23 = ref span7[1]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - Span span8 = CollectionsMarshal.AsSpan(list33); - span8[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 1189) - { - Aetheryte = EAetheryteLocation.YakTelMamook - }; - span8[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013953u, new Vector3(747.18835f, -176.4096f, 712.64197f), 1189) - { - AetherCurrentId = 2818443u - }; - ref QuestStep reference24 = ref span8[2]; - QuestStep obj23 = new QuestStep(EInteractionType.Interact, 1047592u, new Vector3(561.4862f, -142.49185f, 502.46423f), 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelMamook - }; - num3 = 6; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - Span span9 = CollectionsMarshal.AsSpan(list34); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj23.CompletionQuestVariablesFlags = list34; - reference24 = obj23; - ref QuestStep reference25 = ref span8[3]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1047593u, new Vector3(535.97314f, -142.49185f, 497.94763f), 1189); - num3 = 6; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - Span span10 = CollectionsMarshal.AsSpan(list35); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list35; - reference25 = questStep2; - obj22.Steps = list33; - reference23 = obj22; - ref QuestSequence reference26 = ref span7[2]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.Interact, 1047594u, new Vector3(601.9531f, -137.17401f, 489.79932f), 1189); - obj24.Steps = list36; - reference26 = obj24; - ref QuestSequence reference27 = ref span7[3]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.Interact, 1047595u, new Vector3(626.94727f, -137.12654f, 510.3075f), 1189); - obj25.Steps = list37; - reference27 = obj25; - ref QuestSequence reference28 = ref span7[4]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.Interact, 1047596u, new Vector3(360.06702f, -113.97448f, 595.0254f), 1189) - { - StopDistance = 5f - }; - obj26.Steps = list38; - reference28 = obj26; - ref QuestSequence reference29 = ref span7[5]; - QuestSequence obj27 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047601u, new Vector3(233.60034f, -158.66302f, 641.01624f), 1189); - obj27.Steps = list39; - reference29 = obj27; - questRoot5.QuestSequence = list31; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(4905); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - CollectionsMarshal.AsSpan(list40)[0] = "liza"; - questRoot6.Author = list40; - num = 6; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - Span span11 = CollectionsMarshal.AsSpan(list41); - ref QuestSequence reference30 = ref span11[0]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047607u, new Vector3(233.60034f, -158.66302f, 641.01624f), 1189); - obj28.Steps = list42; - reference30 = obj28; - ref QuestSequence reference31 = ref span11[1]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.Interact, 1047614u, new Vector3(-106.34015f, -192.35985f, 586.6636f), 1189); - obj29.Steps = list43; - reference31 = obj29; - ref QuestSequence reference32 = ref span11[2]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - Span span12 = CollectionsMarshal.AsSpan(list44); - span12[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013949u, new Vector3(-114.33588f, -212.20728f, 623.77356f), 1189) - { - DisableNavmesh = true, - Mount = true, - AetherCurrentId = 2818436u - }; - span12[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-112.97611f, -197.49266f, 595.45026f), 1189) - { - DisableNavmesh = true, - Mount = true - }; - span12[2] = new QuestStep(EInteractionType.Interact, 1047620u, new Vector3(-365.22473f, -165.5307f, 517.66235f), 1189); - obj30.Steps = list44; - reference32 = obj30; - ref QuestSequence reference33 = ref span11[3]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.Interact, 1047626u, new Vector3(-637.53723f, -183.38272f, 562.06604f), 1189); - obj31.Steps = list45; - reference33 = obj31; - ref QuestSequence reference34 = ref span11[4]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - ref QuestStep reference35 = ref CollectionsMarshal.AsSpan(list46)[0]; - QuestStep obj33 = new QuestStep(EInteractionType.Interact, 1047617u, new Vector3(-702.6017f, -199.5873f, 620.1113f), 1189) - { - StopDistance = 5f - }; - num3 = 1; - List list47 = new List(num3); - CollectionsMarshal.SetCount(list47, num3); - CollectionsMarshal.AsSpan(list47)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMC109_04905_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGMC109_04905_A1_000_001") - }; - obj33.DialogueChoices = list47; - reference35 = obj33; - obj32.Steps = list46; - reference34 = obj32; - ref QuestSequence reference36 = ref span11[5]; - QuestSequence obj34 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - Span span13 = CollectionsMarshal.AsSpan(list48); - span13[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013951u, new Vector3(-676.5698f, -163.98877f, 236.16382f), 1189) - { - AetherCurrentId = 2818441u - }; - span13[1] = new QuestStep(EInteractionType.CompleteQuest, 1047632u, new Vector3(723.537f, -133.17401f, 543.1144f), 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelMamook - }; - obj34.Steps = list48; - reference36 = obj34; - questRoot6.QuestSequence = list41; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(4906); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - CollectionsMarshal.AsSpan(list49)[0] = "liza"; - questRoot7.Author = list49; - num = 6; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - Span span14 = CollectionsMarshal.AsSpan(list50); - ref QuestSequence reference37 = ref span14[0]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047636u, new Vector3(720.2715f, -133.174f, 545.00635f), 1189) - { - StopDistance = 6f - }; - obj35.Steps = list51; - reference37 = obj35; - ref QuestSequence reference38 = ref span14[1]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - Span span15 = CollectionsMarshal.AsSpan(list52); - ref QuestStep reference39 = ref span15[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1047641u, new Vector3(624.65857f, -137.12656f, 513.69495f), 1189); - num3 = 6; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - Span span16 = CollectionsMarshal.AsSpan(list53); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list53; - reference39 = questStep3; - ref QuestStep reference40 = ref span15[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1047640u, new Vector3(561.8219f, -142.49185f, 502.7389f), 1189); - num3 = 6; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - Span span17 = CollectionsMarshal.AsSpan(list54); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list54; - reference40 = questStep4; - obj36.Steps = list52; - reference38 = obj36; - ref QuestSequence reference41 = ref span14[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.Interact, 1047638u, new Vector3(604.8219f, -137.17403f, 488.27344f), 1189); - obj37.Steps = list55; - reference41 = obj37; - ref QuestSequence reference42 = ref span14[3]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.Interact, 1047644u, new Vector3(213.8551f, -161.35498f, 417.01367f), 1189); - obj38.Steps = list56; - reference42 = obj38; - ref QuestSequence reference43 = ref span14[4]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - Span span18 = CollectionsMarshal.AsSpan(list57); - span18[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013952u, new Vector3(205.15747f, -193.59125f, 160.99792f), 1189) - { - AetherCurrentId = 2818442u - }; - span18[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013950u, new Vector3(39.352905f, -158.61761f, -2.3347168f), 1189) - { - AetherCurrentId = 2818437u - }; - span18[2] = new QuestStep(EInteractionType.Interact, 2013652u, new Vector3(-11.306946f, -166.15558f, 4.3792725f), 1189); - obj39.Steps = list57; - reference43 = obj39; - ref QuestSequence reference44 = ref span14[5]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047649u, new Vector3(-13.382202f, -166.21887f, 2.1209717f), 1189) - { - StopDistance = 7f - }; - obj40.Steps = list58; - reference44 = obj40; - questRoot7.QuestSequence = list50; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(4907); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - CollectionsMarshal.AsSpan(list59)[0] = "liza"; - questRoot8.Author = list59; - num = 7; - List list60 = new List(num); - CollectionsMarshal.SetCount(list60, num); - Span span19 = CollectionsMarshal.AsSpan(list60); - ref QuestSequence reference45 = ref span19[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047649u, new Vector3(-13.382202f, -166.21887f, 2.1209717f), 1189) - { - StopDistance = 7f - }; - obj41.Steps = list61; - reference45 = obj41; - ref QuestSequence reference46 = ref span19[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - Span span20 = CollectionsMarshal.AsSpan(list62); - ref QuestStep reference47 = ref span20[0]; - QuestStep obj43 = new QuestStep(EInteractionType.Interact, 1047659u, new Vector3(-8.133057f, -166.18016f, 2.1209717f), 1189) - { - StopDistance = 5f - }; - num3 = 6; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - Span span21 = CollectionsMarshal.AsSpan(list63); - span21[0] = null; - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj43.CompletionQuestVariablesFlags = list63; - reference47 = obj43; - ref QuestStep reference48 = ref span20[1]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1047655u, new Vector3(-9.567444f, -166.3551f, -3.5858765f), 1189); - num3 = 6; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - Span span22 = CollectionsMarshal.AsSpan(list64); - span22[0] = null; - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list64; - reference48 = questStep5; - ref QuestStep reference49 = ref span20[2]; - QuestStep obj44 = new QuestStep(EInteractionType.Interact, 1047557u, new Vector3(-11.001831f, -166.37114f, -6.1799316f), 1189) - { - StopDistance = 7f - }; - num3 = 6; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - Span span23 = CollectionsMarshal.AsSpan(list65); - span23[0] = null; - span23[1] = null; - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj44.CompletionQuestVariablesFlags = list65; - reference49 = obj44; - ref QuestStep reference50 = ref span20[3]; - QuestStep obj45 = new QuestStep(EInteractionType.Interact, 1047656u, new Vector3(-12.64978f, -166.20668f, -3.2807007f), 1189) - { - StopDistance = 7f - }; - num3 = 6; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - Span span24 = CollectionsMarshal.AsSpan(list66); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj45.CompletionQuestVariablesFlags = list66; - reference50 = obj45; - obj42.Steps = list62; - reference46 = obj42; - ref QuestSequence reference51 = ref span19[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.Interact, 1047649u, new Vector3(-13.382202f, -166.21887f, 2.1209717f), 1189) - { - StopDistance = 7f - }; - obj46.Steps = list67; - reference51 = obj46; - ref QuestSequence reference52 = ref span19[3]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Interact, 1047664u, new Vector3(64.16406f, -178.47437f, 399.70996f), 1189); - obj47.Steps = list68; - reference52 = obj47; - ref QuestSequence reference53 = ref span19[4]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 4 - }; - num2 = 7; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - Span span25 = CollectionsMarshal.AsSpan(list69); - ref QuestStep reference54 = ref span25[0]; - QuestStep obj49 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(37.721737f, -214.22571f, 435.2371f), 1189) - { - DisableNavmesh = true, - Mount = true - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list70 = new List(num3); - CollectionsMarshal.SetCount(list70, num3); - Span span26 = CollectionsMarshal.AsSpan(list70); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list70; - skipConditions.StepIf = skipStepConditions; - obj49.SkipConditions = skipConditions; - reference54 = obj49; - ref QuestStep reference55 = ref span25[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2013653u, new Vector3(-3.0060425f, -215.01495f, 475.9746f), 1189); - num3 = 6; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - Span span27 = CollectionsMarshal.AsSpan(list71); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list71; - reference55 = questStep6; - ref QuestStep reference56 = ref span25[2]; - QuestStep questStep7 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-9.934677f, -215.01515f, 540.4687f), 1189); - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - Span span28 = CollectionsMarshal.AsSpan(list72); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list72; - skipConditions2.StepIf = skipStepConditions2; - questStep7.SkipConditions = skipConditions2; - reference56 = questStep7; - ref QuestStep reference57 = ref span25[3]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2013655u, new Vector3(-4.928711f, -213.2143f, 543.8773f), 1189); - num3 = 6; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - Span span29 = CollectionsMarshal.AsSpan(list73); - span29[0] = null; - span29[1] = null; - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list73; - reference57 = questStep8; - ref QuestStep reference58 = ref span25[4]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 2013654u, new Vector3(-55.86328f, -213.6416f, 522.57556f), 1189); - num3 = 6; - List list74 = new List(num3); - CollectionsMarshal.SetCount(list74, num3); - Span span30 = CollectionsMarshal.AsSpan(list74); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list74; - reference58 = questStep9; - ref QuestStep reference59 = ref span25[5]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 2013672u, new Vector3(-147.84473f, -215.04541f, 356.0692f), 1189); - num3 = 6; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - Span span31 = CollectionsMarshal.AsSpan(list75); - span31[0] = null; - span31[1] = null; - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list75; - reference59 = questStep10; - ref QuestStep reference60 = ref span25[6]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 2013675u, new Vector3(-152.02563f, -214.06885f, 327.38232f), 1189); - num3 = 6; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - Span span32 = CollectionsMarshal.AsSpan(list76); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list76; - reference60 = questStep11; - obj48.Steps = list69; - reference53 = obj48; - ref QuestSequence reference61 = ref span19[5]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - Span span33 = CollectionsMarshal.AsSpan(list77); - span33[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-136.90475f, -215.01514f, 330.17505f), 1189) - { - Mount = true - }; - span33[1] = new QuestStep(EInteractionType.Interact, 1047669u, new Vector3(-96.87958f, -214.29678f, 385.27502f), 1189); - obj50.Steps = list77; - reference61 = obj50; - ref QuestSequence reference62 = ref span19[6]; - QuestSequence obj51 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - Span span34 = CollectionsMarshal.AsSpan(list78); - span34[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-26.8908f, -164.33757f, 40.24882f), 1189); - span34[1] = new QuestStep(EInteractionType.CompleteQuest, 1047622u, new Vector3(-15.701599f, -166.02748f, 0.47296143f), 1189); - obj51.Steps = list78; - reference62 = obj51; - questRoot8.QuestSequence = list60; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(4908); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - CollectionsMarshal.AsSpan(list79)[0] = "liza"; - questRoot9.Author = list79; - num = 6; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - Span span35 = CollectionsMarshal.AsSpan(list80); - ref QuestSequence reference63 = ref span35[0]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047622u, new Vector3(-15.701599f, -166.02748f, 0.47296143f), 1189); - obj52.Steps = list81; - reference63 = obj52; - ref QuestSequence reference64 = ref span35[1]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.Interact, 2013656u, new Vector3(-12.3446045f, -166.24707f, 2.3651123f), 1189) - { - StopDistance = 4.5f - }; - obj53.Steps = list82; - reference64 = obj53; - ref QuestSequence reference65 = ref span35[2]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.Interact, 1047678u, new Vector3(498.37476f, -146.73578f, 481.07104f), 1189) - { - StopDistance = 7f - }; - obj54.Steps = list83; - reference65 = obj54; - ref QuestSequence reference66 = ref span35[3]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1047682u, new Vector3(353.56665f, -113.97447f, 597.0397f), 1189) - { - SinglePlayerDutyOptions = new SinglePlayerDutyOptions - { - Enabled = true - } - }; - obj55.Steps = list84; - reference66 = obj55; - span35[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference67 = ref span35[5]; - QuestSequence obj56 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047688u, new Vector3(359.48718f, -113.97447f, 595.45276f), 1189) - { - StopDistance = 7f - }; - obj56.Steps = list85; - reference67 = obj56; - questRoot9.QuestSequence = list80; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(4909); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - CollectionsMarshal.AsSpan(list86)[0] = "liza"; - questRoot10.Author = list86; - num = 8; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - Span span36 = CollectionsMarshal.AsSpan(list87); - ref QuestSequence reference68 = ref span36[0]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047695u, new Vector3(503.19666f, -137.174f, 559.47205f), 1189) - { - StopDistance = 7f - }; - obj57.Steps = list88; - reference68 = obj57; - ref QuestSequence reference69 = ref span36[1]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - Span span37 = CollectionsMarshal.AsSpan(list89); - span37[0] = new QuestStep(EInteractionType.AcceptQuest, 1051052u, new Vector3(585.90063f, -142.49187f, 510.21594f), 1189) - { - PickUpQuestId = new QuestId(5103) - }; - span37[1] = new QuestStep(EInteractionType.AcceptQuest, 1050884u, new Vector3(531.0597f, -142.49185f, 492.0271f), 1189) - { - PickUpQuestId = new QuestId(5114) - }; - span37[2] = new QuestStep(EInteractionType.Interact, 1047701u, new Vector3(572.7473f, -117.35814f, 288.3192f), 1189); - obj58.Steps = list89; - reference69 = obj58; - ref QuestSequence reference70 = ref span36[2]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.Interact, 1047623u, new Vector3(531.18164f, -130.77031f, 307.45398f), 1189); - obj59.Steps = list90; - reference70 = obj59; - ref QuestSequence reference71 = ref span36[3]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.Interact, 2013658u, new Vector3(740.93225f, -133.19604f, 515.80054f), 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelMamook - }; - obj60.Steps = list91; - reference71 = obj60; - ref QuestSequence reference72 = ref span36[4]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - ref QuestStep reference73 = ref CollectionsMarshal.AsSpan(list92)[0]; - QuestStep obj62 = new QuestStep(EInteractionType.Interact, 1047707u, new Vector3(-711.1162f, -199.5873f, 624.1703f), 1189) - { - StopDistance = 5f - }; - num3 = 1; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - CollectionsMarshal.AsSpan(list93)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMC113_04909_Q1_000_090") - }; - obj62.DialogueChoices = list93; - reference73 = obj62; - obj61.Steps = list92; - reference72 = obj61; - ref QuestSequence reference74 = ref span36[5]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Duty, null, null, 1189) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 829u - } - }; - obj63.Steps = list94; - reference74 = obj63; - span36[6] = new QuestSequence - { - Sequence = 6 - }; - ref QuestSequence reference75 = ref span36[7]; - QuestSequence obj64 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047718u, new Vector3(-156.4508f, -14.999485f, 210.40662f), 1185); - obj64.Steps = list95; - reference75 = obj64; - questRoot10.QuestSequence = list87; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(4910); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - CollectionsMarshal.AsSpan(list96)[0] = "liza"; - questRoot11.Author = list96; - num = 2; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - Span span38 = CollectionsMarshal.AsSpan(list97); - ref QuestSequence reference76 = ref span38[0]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046541u, new Vector3(-166.85742f, -14.999356f, 208.27039f), 1185) - { - DisableNavmesh = true - }; - obj65.Steps = list98; - reference76 = obj65; - ref QuestSequence reference77 = ref span38[1]; - QuestSequence obj66 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047726u, new Vector3(-86.778076f, 100f, -167.37628f), 1185) - { - StopDistance = 4f - }; - obj66.Steps = list99; - reference77 = obj66; - questRoot11.QuestSequence = list97; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(4911); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - CollectionsMarshal.AsSpan(list100)[0] = "liza"; - questRoot12.Author = list100; - num = 7; - List list101 = new List(num); - CollectionsMarshal.SetCount(list101, num); - Span span39 = CollectionsMarshal.AsSpan(list101); - ref QuestSequence reference78 = ref span39[0]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047726u, new Vector3(-86.778076f, 100f, -167.37628f), 1185) - { - StopDistance = 4f - }; - obj67.Steps = list102; - reference78 = obj67; - ref QuestSequence reference79 = ref span39[1]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new QuestStep(EInteractionType.Interact, 1047730u, new Vector3(-32.089783f, 95.5f, -77.683716f), 1185); - obj68.Steps = list103; - reference79 = obj68; - ref QuestSequence reference80 = ref span39[2]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.Interact, 1047731u, new Vector3(93.18677f, -14f, 34.74475f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalVollokShoonsa, - To = EAetheryteLocation.TuliyollalWachumeqimeqi - } - }; - obj69.Steps = list104; - reference80 = obj69; - ref QuestSequence reference81 = ref span39[3]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 1047735u, new Vector3(-31.296265f, -10.00001f, 87.907104f), 1185); - obj70.Steps = list105; - reference81 = obj70; - ref QuestSequence reference82 = ref span39[4]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.Interact, 1047740u, new Vector3(-51.407654f, -19.32829f, 211.84094f), 1185); - obj71.Steps = list106; - reference82 = obj71; - ref QuestSequence reference83 = ref span39[5]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.Interact, 1047812u, new Vector3(-85.06909f, 100.04267f, -169.8482f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalBaysideBevyMarketplace, - To = EAetheryteLocation.TuliyollalVollokShoonsa - } - }; - obj72.Steps = list107; - reference83 = obj72; - ref QuestSequence reference84 = ref span39[6]; - QuestSequence obj73 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047742u, new Vector3(47.043457f, 48f, -425.5589f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalVollokShoonsa, - To = EAetheryteLocation.TuliyollalBrightploomPost - } - }; - obj73.Steps = list108; - reference84 = obj73; - questRoot12.QuestSequence = list101; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(4912); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - CollectionsMarshal.AsSpan(list109)[0] = "liza"; - questRoot13.Author = list109; - num = 6; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - Span span40 = CollectionsMarshal.AsSpan(list110); - ref QuestSequence reference85 = ref span40[0]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047742u, new Vector3(47.043457f, 48f, -425.5589f), 1185); - obj74.Steps = list111; - reference85 = obj74; - ref QuestSequence reference86 = ref span40[1]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.Interact, 1047484u, new Vector3(50.980347f, 48f, -430.8385f), 1185); - obj75.Steps = list112; - reference86 = obj75; - span40[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference87 = ref span40[3]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.Interact, 1046948u, new Vector3(276.2035f, 10.511233f, 663.447f), 1190); - obj76.Steps = list113; - reference87 = obj76; - ref QuestSequence reference88 = ref span40[4]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - Span span41 = CollectionsMarshal.AsSpan(list114); - span41[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013954u, new Vector3(296.0708f, 2.3651123f, 504.02075f), 1190) - { - AetherCurrentId = 2818449u - }; - span41[1] = new QuestStep(EInteractionType.Interact, 1046951u, new Vector3(259.266f, -6.482896f, 474.84546f), 1190); - obj77.Steps = list114; - reference88 = obj77; - ref QuestSequence reference89 = ref span40[5]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046952u, new Vector3(344.59448f, -1.5287868f, 446.52466f), 1190) - { - StopDistance = 5f - }; - obj78.Steps = list115; - reference89 = obj78; - questRoot13.QuestSequence = list110; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(4913); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - CollectionsMarshal.AsSpan(list116)[0] = "liza"; - questRoot14.Author = list116; - num = 8; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - Span span42 = CollectionsMarshal.AsSpan(list117); - ref QuestSequence reference90 = ref span42[0]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046952u, new Vector3(344.59448f, -1.5287868f, 446.52466f), 1190) - { - StopDistance = 5f - }; - obj79.Steps = list118; - reference90 = obj79; - ref QuestSequence reference91 = ref span42[1]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - Span span43 = CollectionsMarshal.AsSpan(list119); - span43[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 1190) - { - StopDistance = 8f, - Aetheryte = EAetheryteLocation.ShaaloaniHhusatahwi - }; - span43[1] = new QuestStep(EInteractionType.Interact, 1046953u, new Vector3(263.7522f, -5.018697f, 496.14697f), 1190); - obj80.Steps = list119; - reference91 = obj80; - ref QuestSequence reference92 = ref span42[2]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - ref QuestStep reference93 = ref CollectionsMarshal.AsSpan(list120)[0]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1046953u, new Vector3(263.7522f, -5.018697f, 496.14697f), 1190); - num3 = 1; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - CollectionsMarshal.AsSpan(list121)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMD102_04913_SYSTEM_000_021") - }; - questStep12.DialogueChoices = list121; - reference93 = questStep12; - obj81.Steps = list120; - reference92 = obj81; - ref QuestSequence reference94 = ref span42[3]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - Span span44 = CollectionsMarshal.AsSpan(list122); - span44[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 1190) - { - StopDistance = 8f, - Aetheryte = EAetheryteLocation.ShaaloaniShesheneweziSprings - }; - span44[1] = new QuestStep(EInteractionType.Interact, 1046957u, new Vector3(-315.5719f, 18.834728f, -178.88159f), 1190); - obj82.Steps = list122; - reference94 = obj82; - ref QuestSequence reference95 = ref span42[4]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.Interact, 1046958u, new Vector3(-348.0431f, 18.031187f, -194.01855f), 1190); - obj83.Steps = list123; - reference95 = obj83; - ref QuestSequence reference96 = ref span42[5]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - ref QuestStep reference97 = ref CollectionsMarshal.AsSpan(list124)[0]; - QuestStep obj85 = new QuestStep(EInteractionType.Combat, null, new Vector3(-352.34854f, 18.081078f, -196.42653f), 1190) - { - StopDistance = 0.25f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list125 = new List(num3); - CollectionsMarshal.SetCount(list125, num3); - Span span45 = CollectionsMarshal.AsSpan(list125); - span45[0] = 17697u; - span45[1] = 17698u; - obj85.KillEnemyDataIds = list125; - reference97 = obj85; - obj84.Steps = list124; - reference96 = obj84; - ref QuestSequence reference98 = ref span42[6]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.Interact, 1046963u, new Vector3(-550.5303f, 29.792864f, -190.05121f), 1190); - obj86.Steps = list126; - reference98 = obj86; - ref QuestSequence reference99 = ref span42[7]; - QuestSequence obj87 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046991u, new Vector3(-315.5719f, 18.834728f, -178.88159f), 1190) - { - AetheryteShortcut = EAetheryteLocation.ShaaloaniShesheneweziSprings - }; - obj87.Steps = list127; - reference99 = obj87; - questRoot14.QuestSequence = list117; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(4914); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - CollectionsMarshal.AsSpan(list128)[0] = "liza"; - questRoot15.Author = list128; - num = 8; - List list129 = new List(num); - CollectionsMarshal.SetCount(list129, num); - Span span46 = CollectionsMarshal.AsSpan(list129); - ref QuestSequence reference100 = ref span46[0]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046965u, new Vector3(-314.35114f, 18.83441f, -177.5998f), 1190); - obj88.Steps = list130; - reference100 = obj88; - ref QuestSequence reference101 = ref span46[1]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - Span span47 = CollectionsMarshal.AsSpan(list131); - span47[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013956u, new Vector3(-602.92975f, 37.735474f, -352.3766f), 1190) - { - AetherCurrentId = 2818453u - }; - span47[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-598.1151f, 30.742912f, -80.21621f), 1190) - { - Comment = "Avoids combat" - }; - span47[2] = new QuestStep(EInteractionType.Interact, 1046967u, new Vector3(-585.47345f, 27.234344f, -59.18976f), 1190); - obj89.Steps = list131; - reference101 = obj89; - ref QuestSequence reference102 = ref span46[2]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 2 - }; - num2 = 7; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - Span span48 = CollectionsMarshal.AsSpan(list132); - ref QuestStep reference103 = ref span48[0]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 2013798u, new Vector3(-636.5912f, 28.366455f, -34.62274f), 1190); - num3 = 6; - List list133 = new List(num3); - CollectionsMarshal.SetCount(list133, num3); - Span span49 = CollectionsMarshal.AsSpan(list133); - span49[0] = null; - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list133; - reference103 = questStep13; - span48[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-633.4026f, 27.22425f, -62.308163f), 1190) - { - Mount = true - }; - span48[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-673.0745f, 29.140228f, -93.67751f), 1190); - span48[3] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013955u, new Vector3(-709.43774f, 33.401978f, -80.36932f), 1190) - { - AetherCurrentId = 2818450u - }; - ref QuestStep reference104 = ref span48[4]; - QuestStep obj91 = new QuestStep(EInteractionType.Interact, 2013799u, new Vector3(-687.89197f, 27.115234f, -57.114563f), 1190) - { - DisableNavmesh = true - }; - num3 = 6; - List list134 = new List(num3); - CollectionsMarshal.SetCount(list134, num3); - Span span50 = CollectionsMarshal.AsSpan(list134); - span50[0] = null; - span50[1] = null; - span50[2] = null; - span50[3] = null; - span50[4] = null; - span50[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj91.CompletionQuestVariablesFlags = list134; - reference104 = obj91; - span48[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-725.3725f, 28.795446f, -39.464005f), 1190) - { - Mount = true - }; - ref QuestStep reference105 = ref span48[6]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 2013800u, new Vector3(-723.8728f, 30.319702f, -12.497192f), 1190); - num3 = 6; - List list135 = new List(num3); - CollectionsMarshal.SetCount(list135, num3); - Span span51 = CollectionsMarshal.AsSpan(list135); - span51[0] = null; - span51[1] = null; - span51[2] = null; - span51[3] = null; - span51[4] = null; - span51[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list135; - reference105 = questStep14; - obj90.Steps = list132; - reference102 = obj90; - ref QuestSequence reference106 = ref span46[3]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.Interact, 1046968u, new Vector3(-727.26025f, 29.026073f, -19.424805f), 1190) - { - StopDistance = 6f - }; - obj92.Steps = list136; - reference106 = obj92; - ref QuestSequence reference107 = ref span46[4]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.Interact, 1046969u, new Vector3(-290.9743f, 4.6221595f, 282.88696f), 1190); - obj93.Steps = list137; - reference107 = obj93; - ref QuestSequence reference108 = ref span46[5]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.Interact, 2013801u, new Vector3(-415.36584f, 17.654663f, 652.61304f), 1190); - obj94.Steps = list138; - reference108 = obj94; - ref QuestSequence reference109 = ref span46[6]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.Interact, 1046969u, new Vector3(-290.9743f, 4.6221595f, 282.88696f), 1190); - obj95.Steps = list139; - reference109 = obj95; - ref QuestSequence reference110 = ref span46[7]; - QuestSequence obj96 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046967u, new Vector3(-585.47345f, 27.234344f, -59.18976f), 1190); - obj96.Steps = list140; - reference110 = obj96; - questRoot15.QuestSequence = list129; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(4915); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list141 = new List(num); - CollectionsMarshal.SetCount(list141, num); - CollectionsMarshal.AsSpan(list141)[0] = "liza"; - questRoot16.Author = list141; - num = 4; - List list142 = new List(num); - CollectionsMarshal.SetCount(list142, num); - Span span52 = CollectionsMarshal.AsSpan(list142); - ref QuestSequence reference111 = ref span52[0]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046967u, new Vector3(-585.47345f, 27.234344f, -59.18976f), 1190); - obj97.Steps = list143; - reference111 = obj97; - ref QuestSequence reference112 = ref span52[1]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - Span span53 = CollectionsMarshal.AsSpan(list144); - span53[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-648.89136f, 26.786625f, -46.720688f), 1190); - span53[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-676.2089f, 26.02775f, -43.611156f), 1190); - span53[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-689.61786f, 26.372868f, -33.830494f), 1190) - { - DisableNavmesh = true - }; - span53[3] = new QuestStep(EInteractionType.UseItem, 2013804u, new Vector3(-690.69965f, 27.17627f, -26.230347f), 1190) - { - StopDistance = 4.5f, - ItemId = 2003507u, - GroundTarget = true - }; - obj98.Steps = list144; - reference112 = obj98; - ref QuestSequence reference113 = ref span52[2]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.Interact, 1046970u, new Vector3(-563.01215f, 24.654175f, 26.199707f), 1190) - { - StopDistance = 4f - }; - obj99.Steps = list145; - reference113 = obj99; - ref QuestSequence reference114 = ref span52[3]; - QuestSequence obj100 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046972u, new Vector3(-441.70294f, 21.84097f, -117.81494f), 1190); - obj100.Steps = list146; - reference114 = obj100; - questRoot16.QuestSequence = list142; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(4916); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list147 = new List(num); - CollectionsMarshal.SetCount(list147, num); - CollectionsMarshal.AsSpan(list147)[0] = "liza"; - questRoot17.Author = list147; - num = 8; - List list148 = new List(num); - CollectionsMarshal.SetCount(list148, num); - Span span54 = CollectionsMarshal.AsSpan(list148); - ref QuestSequence reference115 = ref span54[0]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046973u, new Vector3(-442.58795f, 21.820835f, -118.638916f), 1190) - { - StopDistance = 5f - }; - obj101.Steps = list149; - reference115 = obj101; - ref QuestSequence reference116 = ref span54[1]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.Interact, 1046974u, new Vector3(-386.83148f, 18.239126f, -136.73608f), 1190); - obj102.Steps = list150; - reference116 = obj102; - ref QuestSequence reference117 = ref span54[2]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.Emote, 1046974u, new Vector3(-386.83148f, 18.239126f, -136.73608f), 1190) - { - Emote = EEmote.Poke - }; - obj103.Steps = list151; - reference117 = obj103; - ref QuestSequence reference118 = ref span54[3]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - ref QuestStep reference119 = ref CollectionsMarshal.AsSpan(list152)[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 2013805u, new Vector3(-225.78778f, 1.0223389f, 71.7937f), 1190); - num3 = 1; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - CollectionsMarshal.AsSpan(list153)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMD105_04916_Q3_000_000"), - Answer = new ExcelRef("TEXT_KINGMD105_04916_A3_000_002") - }; - questStep15.DialogueChoices = list153; - reference119 = questStep15; - obj104.Steps = list152; - reference118 = obj104; - ref QuestSequence reference120 = ref span54[4]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - Span span55 = CollectionsMarshal.AsSpan(list154); - span55[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-35.49104f, 1.3946064f, 178.915f), 1190); - ref QuestStep reference121 = ref span55[1]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 2013806u, new Vector3(5.081238f, -5.1118164f, 167.28455f), 1190); - num3 = 1; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - CollectionsMarshal.AsSpan(list155)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMD105_04916_Q4_000_000"), - Answer = new ExcelRef("TEXT_KINGMD105_04916_A4_000_002") - }; - questStep16.DialogueChoices = list155; - reference121 = questStep16; - obj105.Steps = list154; - reference120 = obj105; - ref QuestSequence reference122 = ref span54[5]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - Span span56 = CollectionsMarshal.AsSpan(list156); - span56[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(18.420094f, 3.3226922f, 262.78665f), 1190); - span56[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(36.42842f, 3.2765028f, 281.39154f), 1190); - ref QuestStep reference123 = ref span56[2]; - QuestStep obj107 = new QuestStep(EInteractionType.Interact, 2013807u, new Vector3(37.15564f, 4.2266846f, 290.66907f), 1190) - { - StopDistance = 1f - }; - num3 = 1; - List list157 = new List(num3); - CollectionsMarshal.SetCount(list157, num3); - CollectionsMarshal.AsSpan(list157)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMD105_04916_Q5_000_000"), - Answer = new ExcelRef("TEXT_KINGMD105_04916_A5_000_001") - }; - obj107.DialogueChoices = list157; - reference123 = obj107; - obj106.Steps = list156; - reference122 = obj106; - ref QuestSequence reference124 = ref span54[6]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.Interact, 1046974u, new Vector3(160.01617f, 8.759198f, 514.9438f), 1190) - { - StopDistance = 0.25f - }; - obj108.Steps = list158; - reference124 = obj108; - ref QuestSequence reference125 = ref span54[7]; - QuestSequence obj109 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046975u, new Vector3(348.6228f, -1.601824f, 449.9121f), 1190); - obj109.Steps = list159; - reference125 = obj109; - questRoot17.QuestSequence = list148; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(4917); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list160 = new List(num); - CollectionsMarshal.SetCount(list160, num); - CollectionsMarshal.AsSpan(list160)[0] = "liza"; - questRoot18.Author = list160; - num = 4; - List list161 = new List(num); - CollectionsMarshal.SetCount(list161, num); - Span span57 = CollectionsMarshal.AsSpan(list161); - ref QuestSequence reference126 = ref span57[0]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046975u, new Vector3(348.6228f, -1.601824f, 449.9121f), 1190); - obj110.Steps = list162; - reference126 = obj110; - ref QuestSequence reference127 = ref span57[1]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.Interact, 1048057u, new Vector3(-313.74078f, 18.853605f, -178.8205f), 1190) - { - AetheryteShortcut = EAetheryteLocation.ShaaloaniShesheneweziSprings - }; - obj111.Steps = list163; - reference127 = obj111; - ref QuestSequence reference128 = ref span57[2]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.Interact, 1046981u, new Vector3(-354.08563f, 19.34956f, -99.13794f), 1190); - obj112.Steps = list164; - reference128 = obj112; - ref QuestSequence reference129 = ref span57[3]; - QuestSequence obj113 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.CompleteQuest, 1046982u, new Vector3(-349.53845f, 18.823906f, -106.401184f), 1190); - obj113.Steps = list165; - reference129 = obj113; - questRoot18.QuestSequence = list161; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(4918); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list166 = new List(num); - CollectionsMarshal.SetCount(list166, num); - CollectionsMarshal.AsSpan(list166)[0] = "liza"; - questRoot19.Author = list166; - num = 5; - List list167 = new List(num); - CollectionsMarshal.SetCount(list167, num); - Span span58 = CollectionsMarshal.AsSpan(list167); - ref QuestSequence reference130 = ref span58[0]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046982u, new Vector3(-349.53845f, 18.823906f, -106.401184f), 1190); - obj114.Steps = list168; - reference130 = obj114; - ref QuestSequence reference131 = ref span58[1]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.Interact, 1051610u, new Vector3(-123.88806f, 16.006582f, -375.9671f), 1190); - obj115.Steps = list169; - reference131 = obj115; - ref QuestSequence reference132 = ref span58[2]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.Interact, 1046986u, new Vector3(198.74878f, -17.59426f, -520.9888f), 1190); - obj116.Steps = list170; - reference132 = obj116; - ref QuestSequence reference133 = ref span58[3]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - Span span59 = CollectionsMarshal.AsSpan(list171); - span59[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 1190) - { - StopDistance = 8f, - Aetheryte = EAetheryteLocation.ShaaloaniMehwahhetsoan - }; - span59[1] = new QuestStep(EInteractionType.Interact, 1046988u, new Vector3(302.96777f, -15.629961f, -514.6716f), 1190); - obj117.Steps = list171; - reference133 = obj117; - ref QuestSequence reference134 = ref span58[4]; - QuestSequence obj118 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - Span span60 = CollectionsMarshal.AsSpan(list172); - span60[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(299.9144f, -15.679968f, -508.8957f), 1190) - { - Mount = true - }; - span60[1] = new QuestStep(EInteractionType.CompleteQuest, 1046996u, new Vector3(343.9231f, -16.501034f, -444.23596f), 1190); - obj118.Steps = list172; - reference134 = obj118; - questRoot19.QuestSequence = list167; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(4919); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list173 = new List(num); - CollectionsMarshal.SetCount(list173, num); - CollectionsMarshal.AsSpan(list173)[0] = "liza"; - questRoot20.Author = list173; - num = 5; - List list174 = new List(num); - CollectionsMarshal.SetCount(list174, num); - Span span61 = CollectionsMarshal.AsSpan(list174); - ref QuestSequence reference135 = ref span61[0]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046995u, new Vector3(344.8081f, -16.536486f, -442.8626f), 1190) - { - StopDistance = 6f - }; - obj119.Steps = list175; - reference135 = obj119; - ref QuestSequence reference136 = ref span61[1]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - CollectionsMarshal.AsSpan(list176)[0] = new QuestStep(EInteractionType.Interact, 2013809u, new Vector3(342.61072f, -16.434021f, -441.91656f), 1190) - { - StopDistance = 4f - }; - obj120.Steps = list176; - reference136 = obj120; - ref QuestSequence reference137 = ref span61[2]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.Interact, 2013852u, new Vector3(119.61548f, -14.694458f, -517.052f), 1190); - obj121.Steps = list177; - reference137 = obj121; - ref QuestSequence reference138 = ref span61[3]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 3 - }; - num2 = 5; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - Span span62 = CollectionsMarshal.AsSpan(list178); - span62[0] = new QuestStep(EInteractionType.AcceptQuest, 1050655u, new Vector3(289.02112f, -15.566031f, -478.78235f), 1190) - { - PickUpQuestId = new QuestId(5138) - }; - ref QuestStep reference139 = ref span62[1]; - QuestStep obj123 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(386.84927f, -0.84392637f, 435.0579f), 1190) - { - AetheryteShortcut = EAetheryteLocation.ShaaloaniHhusatahwi - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list179 = new List(num3); - CollectionsMarshal.SetCount(list179, num3); - CollectionsMarshal.AsSpan(list179)[0] = new QuestId(5140); - skipStepConditions3.QuestsCompleted = list179; - skipConditions3.StepIf = skipStepConditions3; - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list180 = new List(num3); - CollectionsMarshal.SetCount(list180, num3); - CollectionsMarshal.AsSpan(list180)[0] = new QuestId(5140); - skipAetheryteCondition.QuestsCompleted = list180; - skipConditions3.AetheryteShortcutIf = skipAetheryteCondition; - obj123.SkipConditions = skipConditions3; - reference139 = obj123; - span62[2] = new QuestStep(EInteractionType.AcceptQuest, 1051283u, new Vector3(374.19702f, -0.24794838f, 437.2472f), 1190) - { - StopDistance = 6f, - PickUpQuestId = new QuestId(5140) - }; - span62[3] = new QuestStep(EInteractionType.AcceptQuest, 1049324u, new Vector3(-108.659546f, 4.055336f, 319.5697f), 1190) - { - PickUpQuestId = new QuestId(5130) - }; - ref QuestStep reference140 = ref span62[4]; - QuestStep obj124 = new QuestStep(EInteractionType.Interact, 1047001u, new Vector3(-194.5373f, 16.084282f, -382.9862f), 1190) - { - AetheryteShortcut = EAetheryteLocation.ShaaloaniShesheneweziSprings - }; - num3 = 1; - List list181 = new List(num3); - CollectionsMarshal.SetCount(list181, num3); - CollectionsMarshal.AsSpan(list181)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMD108_04919_SYSTEM_000_043") - }; - obj124.DialogueChoices = list181; - reference140 = obj124; - obj122.Steps = list178; - reference138 = obj122; - ref QuestSequence reference141 = ref span61[4]; - QuestSequence obj125 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047002u, new Vector3(-16.494995f, 3.0954878f, -49.851257f), 1170) - { - StopDistance = 5f - }; - obj125.Steps = list182; - reference141 = obj125; - questRoot20.QuestSequence = list174; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(4920); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - CollectionsMarshal.AsSpan(list183)[0] = "liza"; - questRoot21.Author = list183; - num = 9; - List list184 = new List(num); - CollectionsMarshal.SetCount(list184, num); - Span span63 = CollectionsMarshal.AsSpan(list184); - ref QuestSequence reference142 = ref span63[0]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047002u, new Vector3(-16.494995f, 3.0954878f, -49.851257f), 1170) - { - StopDistance = 5f - }; - obj126.Steps = list185; - reference142 = obj126; - ref QuestSequence reference143 = ref span63[1]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.Interact, 1047012u, new Vector3(-1.3580933f, 3.095488f, -48.630554f), 1170) - { - StopDistance = 5f - }; - obj127.Steps = list186; - reference143 = obj127; - ref QuestSequence reference144 = ref span63[2]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - Span span64 = CollectionsMarshal.AsSpan(list187); - ref QuestStep reference145 = ref span64[0]; - QuestStep obj129 = new QuestStep(EInteractionType.Interact, 1047020u, new Vector3(-142.01575f, 44.999992f, 18.631226f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalTheResplendentQuarter - } - }; - num3 = 6; - List list188 = new List(num3); - CollectionsMarshal.SetCount(list188, num3); - Span span65 = CollectionsMarshal.AsSpan(list188); - span65[0] = null; - span65[1] = null; - span65[2] = null; - span65[3] = null; - span65[4] = null; - span65[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj129.CompletionQuestVariablesFlags = list188; - reference145 = obj129; - ref QuestStep reference146 = ref span64[1]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1047019u, new Vector3(-84.031494f, 52f, 10.635498f), 1185); - num3 = 6; - List list189 = new List(num3); - CollectionsMarshal.SetCount(list189, num3); - Span span66 = CollectionsMarshal.AsSpan(list189); - span66[0] = null; - span66[1] = null; - span66[2] = null; - span66[3] = null; - span66[4] = null; - span66[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list189; - reference146 = questStep17; - ref QuestStep reference147 = ref span64[2]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1047022u, new Vector3(-96.48285f, 68.41271f, -34.53119f), 1185); - num3 = 6; - List list190 = new List(num3); - CollectionsMarshal.SetCount(list190, num3); - Span span67 = CollectionsMarshal.AsSpan(list190); - span67[0] = null; - span67[1] = null; - span67[2] = null; - span67[3] = null; - span67[4] = null; - span67[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list190; - reference147 = questStep18; - ref QuestStep reference148 = ref span64[3]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 1047023u, new Vector3(-226.0014f, 39.99999f, 15.976135f), 1185); - num3 = 6; - List list191 = new List(num3); - CollectionsMarshal.SetCount(list191, num3); - Span span68 = CollectionsMarshal.AsSpan(list191); - span68[0] = null; - span68[1] = null; - span68[2] = null; - span68[3] = null; - span68[4] = null; - span68[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list191; - reference148 = questStep19; - ref QuestStep reference149 = ref span64[4]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 1047021u, new Vector3(-254.01697f, 40.075134f, -28.091919f), 1185); - num3 = 6; - List list192 = new List(num3); - CollectionsMarshal.SetCount(list192, num3); - Span span69 = CollectionsMarshal.AsSpan(list192); - span69[0] = null; - span69[1] = null; - span69[2] = null; - span69[3] = null; - span69[4] = null; - span69[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep20.CompletionQuestVariablesFlags = list192; - reference149 = questStep20; - obj128.Steps = list187; - reference144 = obj128; - ref QuestSequence reference150 = ref span63[3]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - Span span70 = CollectionsMarshal.AsSpan(list193); - span70[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-163.63573f, 45.171337f, 12.003954f), 1185); - span70[1] = new QuestStep(EInteractionType.Interact, 1047026u, new Vector3(-176.4096f, 44.999992f, 34.470093f), 1185); - obj130.Steps = list193; - reference150 = obj130; - ref QuestSequence reference151 = ref span63[4]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 4 - }; - num2 = 4; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - Span span71 = CollectionsMarshal.AsSpan(list194); - ref QuestStep reference152 = ref span71[0]; - QuestStep obj132 = new QuestStep(EInteractionType.Interact, 2013810u, new Vector3(-194.75098f, -4.928711f, 129.90002f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalTheResplendentQuarter, - To = EAetheryteLocation.TuliyollalTheForardCabins - } - }; - num3 = 6; - List list195 = new List(num3); - CollectionsMarshal.SetCount(list195, num3); - Span span72 = CollectionsMarshal.AsSpan(list195); - span72[0] = null; - span72[1] = null; - span72[2] = null; - span72[3] = null; - span72[4] = null; - span72[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj132.CompletionQuestVariablesFlags = list195; - reference152 = obj132; - ref QuestStep reference153 = ref span71[1]; - QuestStep obj133 = new QuestStep(EInteractionType.Interact, 2013813u, new Vector3(-23.483704f, -10.025269f, 145.25061f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalTheForardCabins, - To = EAetheryteLocation.TuliyollalBaysideBevyMarketplace - } - }; - num3 = 6; - List list196 = new List(num3); - CollectionsMarshal.SetCount(list196, num3); - Span span73 = CollectionsMarshal.AsSpan(list196); - span73[0] = null; - span73[1] = null; - span73[2] = null; - span73[3] = null; - span73[4] = null; - span73[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj133.CompletionQuestVariablesFlags = list196; - reference153 = obj133; - ref QuestStep reference154 = ref span71[2]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 2013811u, new Vector3(11.886719f, -14.023071f, 105.882324f), 1185); - num3 = 6; - List list197 = new List(num3); - CollectionsMarshal.SetCount(list197, num3); - Span span74 = CollectionsMarshal.AsSpan(list197); - span74[0] = null; - span74[1] = null; - span74[2] = null; - span74[3] = null; - span74[4] = null; - span74[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep21.CompletionQuestVariablesFlags = list197; - reference154 = questStep21; - ref QuestStep reference155 = ref span71[3]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 2013812u, new Vector3(84.611206f, -16.586609f, 117.02136f), 1185); - num3 = 6; - List list198 = new List(num3); - CollectionsMarshal.SetCount(list198, num3); - Span span75 = CollectionsMarshal.AsSpan(list198); - span75[0] = null; - span75[1] = null; - span75[2] = null; - span75[3] = null; - span75[4] = null; - span75[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep22.CompletionQuestVariablesFlags = list198; - reference155 = questStep22; - obj131.Steps = list194; - reference151 = obj131; - ref QuestSequence reference156 = ref span63[5]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - CollectionsMarshal.AsSpan(list199)[0] = new QuestStep(EInteractionType.Interact, 1046843u, new Vector3(-18.783936f, -10.00001f, 95.109375f), 1185); - obj134.Steps = list199; - reference156 = obj134; - ref QuestSequence reference157 = ref span63[6]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.Interact, 1047031u, new Vector3(-42.77112f, -19.74437f, 231.46399f), 1185); - obj135.Steps = list200; - reference157 = obj135; - ref QuestSequence reference158 = ref span63[7]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.Interact, 1047033u, new Vector3(-152.51392f, -14.999287f, 270.64917f), 1185) - { - StopDistance = 5f - }; - obj136.Steps = list201; - reference158 = obj136; - ref QuestSequence reference159 = ref span63[8]; - QuestSequence obj137 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047034u, new Vector3(66.666626f, -14f, 26.504883f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalTheForardCabins, - To = EAetheryteLocation.TuliyollalWachumeqimeqi - } - }; - obj137.Steps = list202; - reference159 = obj137; - questRoot21.QuestSequence = list184; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(4921); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list203 = new List(num); - CollectionsMarshal.SetCount(list203, num); - CollectionsMarshal.AsSpan(list203)[0] = "liza"; - questRoot22.Author = list203; - num = 4; - List list204 = new List(num); - CollectionsMarshal.SetCount(list204, num); - Span span76 = CollectionsMarshal.AsSpan(list204); - ref QuestSequence reference160 = ref span76[0]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047034u, new Vector3(66.666626f, -14f, 26.504883f), 1185); - obj138.Steps = list205; - reference160 = obj138; - ref QuestSequence reference161 = ref span76[1]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.Snipe, 2014033u, new Vector3(65.659546f, -14.023071f, 25.680908f), 1185) - { - Comment = "Inspect Helm, Corpse, Weapon" - }; - obj139.Steps = list206; - reference161 = obj139; - ref QuestSequence reference162 = ref span76[2]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - CollectionsMarshal.AsSpan(list207)[0] = new QuestStep(EInteractionType.Interact, 1047036u, new Vector3(-180.07172f, 120.795235f, -346.2425f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalWachumeqimeqi, - To = EAetheryteLocation.TuliyollalVollokShoonsa - } - }; - obj140.Steps = list207; - reference162 = obj140; - ref QuestSequence reference163 = ref span76[3]; - QuestSequence obj141 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047037u, new Vector3(1.296936f, 3.095488f, -64.9577f), 1170) - { - StopDistance = 5f - }; - obj141.Steps = list208; - reference163 = obj141; - questRoot22.QuestSequence = list204; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(4922); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list209 = new List(num); - CollectionsMarshal.SetCount(list209, num); - CollectionsMarshal.AsSpan(list209)[0] = "liza"; - questRoot23.Author = list209; - num = 5; - List list210 = new List(num); - CollectionsMarshal.SetCount(list210, num); - Span span77 = CollectionsMarshal.AsSpan(list210); - ref QuestSequence reference164 = ref span77[0]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - CollectionsMarshal.AsSpan(list211)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047037u, new Vector3(1.296936f, 3.095488f, -64.9577f), 1170) - { - StopDistance = 5f - }; - obj142.Steps = list211; - reference164 = obj142; - ref QuestSequence reference165 = ref span77[1]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - Span span78 = CollectionsMarshal.AsSpan(list212); - ref QuestStep reference166 = ref span78[0]; - QuestStep obj144 = new QuestStep(EInteractionType.Interact, 1047050u, new Vector3(-218.9823f, 39.999985f, 9.414734f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalTheResplendentQuarter - } - }; - num3 = 6; - List list213 = new List(num3); - CollectionsMarshal.SetCount(list213, num3); - Span span79 = CollectionsMarshal.AsSpan(list213); - span79[0] = null; - span79[1] = null; - span79[2] = null; - span79[3] = null; - span79[4] = null; - span79[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj144.CompletionQuestVariablesFlags = list213; - reference166 = obj144; - ref QuestStep reference167 = ref span78[1]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1047048u, new Vector3(-244.77002f, 14.99999f, 75.12012f), 1185); - num3 = 6; - List list214 = new List(num3); - CollectionsMarshal.SetCount(list214, num3); - Span span80 = CollectionsMarshal.AsSpan(list214); - span80[0] = null; - span80[1] = null; - span80[2] = null; - span80[3] = null; - span80[4] = null; - span80[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list214; - reference167 = questStep23; - ref QuestStep reference168 = ref span78[2]; - QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 1047049u, new Vector3(-262.89777f, 2.096911E-05f, 71.06128f), 1185); - num3 = 6; - List list215 = new List(num3); - CollectionsMarshal.SetCount(list215, num3); - Span span81 = CollectionsMarshal.AsSpan(list215); - span81[0] = null; - span81[1] = null; - span81[2] = null; - span81[3] = null; - span81[4] = null; - span81[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep24.CompletionQuestVariablesFlags = list215; - reference168 = questStep24; - obj143.Steps = list212; - reference165 = obj143; - ref QuestSequence reference169 = ref span77[2]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - Span span82 = CollectionsMarshal.AsSpan(list216); - ref QuestStep reference170 = ref span82[0]; - QuestStep questStep25 = new QuestStep(EInteractionType.Interact, 1047047u, new Vector3(-62.424683f, -10.00001f, 105.97388f), 1185); - num3 = 6; - List list217 = new List(num3); - CollectionsMarshal.SetCount(list217, num3); - Span span83 = CollectionsMarshal.AsSpan(list217); - span83[0] = null; - span83[1] = null; - span83[2] = null; - span83[3] = null; - span83[4] = null; - span83[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep25.CompletionQuestVariablesFlags = list217; - reference170 = questStep25; - ref QuestStep reference171 = ref span82[1]; - QuestStep questStep26 = new QuestStep(EInteractionType.Interact, 1047046u, new Vector3(-10.727112f, -10.00001f, 88.27344f), 1185); - num3 = 6; - List list218 = new List(num3); - CollectionsMarshal.SetCount(list218, num3); - Span span84 = CollectionsMarshal.AsSpan(list218); - span84[0] = null; - span84[1] = null; - span84[2] = null; - span84[3] = null; - span84[4] = null; - span84[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep26.CompletionQuestVariablesFlags = list218; - reference171 = questStep26; - ref QuestStep reference172 = ref span82[2]; - QuestStep questStep27 = new QuestStep(EInteractionType.Interact, 1047051u, new Vector3(53.45227f, -14f, 90.562256f), 1185); - num3 = 6; - List list219 = new List(num3); - CollectionsMarshal.SetCount(list219, num3); - Span span85 = CollectionsMarshal.AsSpan(list219); - span85[0] = null; - span85[1] = null; - span85[2] = null; - span85[3] = null; - span85[4] = null; - span85[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep27.CompletionQuestVariablesFlags = list219; - reference172 = questStep27; - obj145.Steps = list216; - reference169 = obj145; - ref QuestSequence reference173 = ref span77[3]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.Interact, 1047056u, new Vector3(-172.7779f, 120.75f, -321.09564f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalVollokShoonsa - } - }; - obj146.Steps = list220; - reference173 = obj146; - ref QuestSequence reference174 = ref span77[4]; - QuestSequence obj147 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047062u, new Vector3(-65.84277f, 100f, -158.98376f), 1185); - obj147.Steps = list221; - reference174 = obj147; - questRoot23.QuestSequence = list210; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(4923); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list222 = new List(num); - CollectionsMarshal.SetCount(list222, num); - CollectionsMarshal.AsSpan(list222)[0] = "liza"; - questRoot24.Author = list222; - num = 9; - List list223 = new List(num); - CollectionsMarshal.SetCount(list223, num); - Span span86 = CollectionsMarshal.AsSpan(list223); - ref QuestSequence reference175 = ref span86[0]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047063u, new Vector3(-64.07269f, 100f, -159.80774f), 1185) - { - StopDistance = 5f - }; - obj148.Steps = list224; - reference175 = obj148; - ref QuestSequence reference176 = ref span86[1]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.Interact, 1047068u, new Vector3(41.85547f, 47.072277f, -409.01813f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalVollokShoonsa, - To = EAetheryteLocation.TuliyollalBrightploomPost - } - }; - obj149.Steps = list225; - reference176 = obj149; - span86[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference177 = ref span86[3]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - CollectionsMarshal.AsSpan(list226)[0] = new QuestStep(EInteractionType.Interact, 1047075u, new Vector3(470.69495f, 2.2817478f, 460.9292f), 1190) - { - AetheryteShortcut = EAetheryteLocation.ShaaloaniHhusatahwi - }; - obj150.Steps = list226; - reference177 = obj150; - ref QuestSequence reference178 = ref span86[4]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.Interact, 1047079u, new Vector3(-284.38245f, 16.00464f, -61.661743f), 1190) - { - AetheryteShortcut = EAetheryteLocation.ShaaloaniShesheneweziSprings - }; - obj151.Steps = list227; - reference178 = obj151; - ref QuestSequence reference179 = ref span86[5]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 5 - }; - num2 = 4; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - Span span87 = CollectionsMarshal.AsSpan(list228); - ref QuestStep reference180 = ref span87[0]; - QuestStep questStep28 = new QuestStep(EInteractionType.Interact, 1047498u, new Vector3(-367.45258f, 20.14268f, -92.63757f), 1190); - num3 = 6; - List list229 = new List(num3); - CollectionsMarshal.SetCount(list229, num3); - Span span88 = CollectionsMarshal.AsSpan(list229); - span88[0] = null; - span88[1] = null; - span88[2] = null; - span88[3] = null; - span88[4] = null; - span88[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep28.CompletionQuestVariablesFlags = list229; - reference180 = questStep28; - span87[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-359.66742f, 18.137554f, -137.36826f), 1190); - ref QuestStep reference181 = ref span87[2]; - QuestStep questStep29 = new QuestStep(EInteractionType.Interact, 1047080u, new Vector3(-364.70593f, 18.08191f, -139.45221f), 1190); - num3 = 6; - List list230 = new List(num3); - CollectionsMarshal.SetCount(list230, num3); - Span span89 = CollectionsMarshal.AsSpan(list230); - span89[0] = null; - span89[1] = null; - span89[2] = null; - span89[3] = null; - span89[4] = null; - span89[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep29.CompletionQuestVariablesFlags = list230; - reference181 = questStep29; - ref QuestStep reference182 = ref span87[3]; - QuestStep questStep30 = new QuestStep(EInteractionType.Interact, 1046991u, new Vector3(-315.5719f, 18.834728f, -178.88159f), 1190); - num3 = 6; - List list231 = new List(num3); - CollectionsMarshal.SetCount(list231, num3); - Span span90 = CollectionsMarshal.AsSpan(list231); - span90[0] = null; - span90[1] = null; - span90[2] = null; - span90[3] = null; - span90[4] = null; - span90[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep30.CompletionQuestVariablesFlags = list231; - reference182 = questStep30; - obj152.Steps = list228; - reference179 = obj152; - ref QuestSequence reference183 = ref span86[6]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.Interact, 1047081u, new Vector3(-327.90118f, 18.106325f, -146.74603f), 1190); - obj153.Steps = list232; - reference183 = obj153; - ref QuestSequence reference184 = ref span86[7]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - Span span91 = CollectionsMarshal.AsSpan(list233); - span91[0] = new QuestStep(EInteractionType.AcceptQuest, 1051316u, new Vector3(-380.30066f, 18.718708f, -114.24432f), 1190) - { - PickUpQuestId = new QuestId(5144) - }; - span91[1] = new QuestStep(EInteractionType.Interact, 1047082u, new Vector3(-171.37408f, 15.684817f, -358.9685f), 1190); - obj154.Steps = list233; - reference184 = obj154; - ref QuestSequence reference185 = ref span86[8]; - QuestSequence obj155 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - CollectionsMarshal.AsSpan(list234)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047083u, new Vector3(-168.41382f, 15.771556f, -355.64203f), 1190) - { - StopDistance = 7f - }; - obj155.Steps = list234; - reference185 = obj155; - questRoot24.QuestSequence = list223; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(4924); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list235 = new List(num); - CollectionsMarshal.SetCount(list235, num); - CollectionsMarshal.AsSpan(list235)[0] = "liza"; - questRoot25.Author = list235; - num = 5; - List list236 = new List(num); - CollectionsMarshal.SetCount(list236, num); - Span span92 = CollectionsMarshal.AsSpan(list236); - ref QuestSequence reference186 = ref span92[0]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - CollectionsMarshal.AsSpan(list237)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047084u, new Vector3(-167.07104f, 15.74114f, -359.39575f), 1190) - { - StopDistance = 7f - }; - obj156.Steps = list237; - reference186 = obj156; - ref QuestSequence reference187 = ref span92[1]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.Interact, 1047089u, new Vector3(-142.77869f, 15.869456f, -314.22906f), 1190); - obj157.Steps = list238; - reference187 = obj157; - ref QuestSequence reference188 = ref span92[2]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - CollectionsMarshal.AsSpan(list239)[0] = new QuestStep(EInteractionType.Interact, 1047090u, new Vector3(-144.09094f, 15.900455f, -311.54346f), 1190) - { - StopDistance = 5f - }; - obj158.Steps = list239; - reference188 = obj158; - ref QuestSequence reference189 = ref span92[3]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.Interact, 1047355u, new Vector3(-83.42114f, 16.538801f, -235.64508f), 1190); - obj159.Steps = list240; - reference189 = obj159; - ref QuestSequence reference190 = ref span92[4]; - QuestSequence obj160 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - Span span93 = CollectionsMarshal.AsSpan(list241); - span93[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013959u, new Vector3(-63.21814f, 18.844849f, -174.85315f), 1190) - { - AetherCurrentId = 2818451u - }; - span93[1] = new QuestStep(EInteractionType.CompleteQuest, 1046991u, new Vector3(-315.5719f, 18.834728f, -178.88159f), 1190) - { - AetheryteShortcut = EAetheryteLocation.ShaaloaniShesheneweziSprings - }; - obj160.Steps = list241; - reference190 = obj160; - questRoot25.QuestSequence = list236; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(4925); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list242 = new List(num); - CollectionsMarshal.SetCount(list242, num); - CollectionsMarshal.AsSpan(list242)[0] = "liza"; - questRoot26.Author = list242; - num = 7; - List list243 = new List(num); - CollectionsMarshal.SetCount(list243, num); - Span span94 = CollectionsMarshal.AsSpan(list243); - ref QuestSequence reference191 = ref span94[0]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.AcceptQuest, 1046991u, new Vector3(-315.5719f, 18.834728f, -178.88159f), 1190); - obj161.Steps = list244; - reference191 = obj161; - ref QuestSequence reference192 = ref span94[1]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - Span span95 = CollectionsMarshal.AsSpan(list245); - span95[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-281.919f, 19.416311f, -140.61546f), 1190); - span95[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-203.91112f, 31.254747f, -75.537964f), 1190); - span95[2] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013957u, new Vector3(-192.18744f, 36.66736f, -53.177734f), 1190) - { - AetherCurrentId = 2818454u - }; - span95[3] = new QuestStep(EInteractionType.Interact, 1047356u, new Vector3(-226.15399f, 0.85973585f, 74.387695f), 1190); - obj162.Steps = list245; - reference192 = obj162; - ref QuestSequence reference193 = ref span94[2]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - CollectionsMarshal.AsSpan(list246)[0] = new QuestStep(EInteractionType.Interact, 2013814u, new Vector3(-201.00714f, 9.811523f, 18.264954f), 1190); - obj163.Steps = list246; - reference193 = obj163; - ref QuestSequence reference194 = ref span94[3]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - ref QuestStep reference195 = ref CollectionsMarshal.AsSpan(list247)[0]; - QuestStep obj165 = new QuestStep(EInteractionType.Combat, 2013815u, new Vector3(-176.28754f, 4.409851f, 147.11218f), 1190) - { - Comment = "two waves of enemies", - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list248 = new List(num3); - CollectionsMarshal.SetCount(list248, num3); - Span span96 = CollectionsMarshal.AsSpan(list248); - span96[0] = 17699u; - span96[1] = 17700u; - obj165.KillEnemyDataIds = list248; - reference195 = obj165; - obj164.Steps = list247; - reference194 = obj164; - ref QuestSequence reference196 = ref span94[4]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.Interact, 1047356u, new Vector3(-226.15399f, 0.85973585f, 74.387695f), 1190); - obj166.Steps = list249; - reference196 = obj166; - ref QuestSequence reference197 = ref span94[5]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - CollectionsMarshal.AsSpan(list250)[0] = new QuestStep(EInteractionType.Interact, 1046979u, new Vector3(-156.66437f, 15.93609f, -311.02472f), 1190); - obj167.Steps = list250; - reference197 = obj167; - ref QuestSequence reference198 = ref span94[6]; - QuestSequence obj168 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047358u, new Vector3(-139.02502f, 15.680048f, -379.8429f), 1190); - obj168.Steps = list251; - reference198 = obj168; - questRoot26.QuestSequence = list243; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(4926); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list252 = new List(num); - CollectionsMarshal.SetCount(list252, num); - CollectionsMarshal.AsSpan(list252)[0] = "liza"; - questRoot27.Author = list252; - num = 6; - List list253 = new List(num); - CollectionsMarshal.SetCount(list253, num); - Span span97 = CollectionsMarshal.AsSpan(list253); - ref QuestSequence reference199 = ref span97[0]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047358u, new Vector3(-139.02502f, 15.680048f, -379.8429f), 1190); - obj169.Steps = list254; - reference199 = obj169; - ref QuestSequence reference200 = ref span97[1]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - ref QuestStep reference201 = ref CollectionsMarshal.AsSpan(list255)[0]; - QuestStep questStep31 = new QuestStep(EInteractionType.Interact, 2013816u, new Vector3(-144.51825f, 15.6710205f, -385.15295f), 1190); - num3 = 1; - List list256 = new List(num3); - CollectionsMarshal.SetCount(list256, num3); - CollectionsMarshal.AsSpan(list256)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMD115_04926_SYSTEM_000_010") - }; - questStep31.DialogueChoices = list256; - reference201 = questStep31; - obj170.Steps = list255; - reference200 = obj170; - span97[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference202 = ref span97[3]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.Duty, null, null, 1219) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 831u - } - }; - obj171.Steps = list257; - reference202 = obj171; - span97[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference203 = ref span97[5]; - QuestSequence obj172 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - CollectionsMarshal.AsSpan(list258)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047371u, new Vector3(650.5377f, 146.05669f, 695.46045f), 1191) - { - DisableNavmesh = true - }; - obj172.Steps = list258; - reference203 = obj172; - questRoot27.QuestSequence = list253; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(4927); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list259 = new List(num); - CollectionsMarshal.SetCount(list259, num); - CollectionsMarshal.AsSpan(list259)[0] = "liza"; - questRoot28.Author = list259; - num = 9; - List list260 = new List(num); - CollectionsMarshal.SetCount(list260, num); - Span span98 = CollectionsMarshal.AsSpan(list260); - ref QuestSequence reference204 = ref span98[0]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047375u, new Vector3(648.0963f, 146.00774f, 694.026f), 1191) - { - StopDistance = 7f, - DisableNavmesh = true - }; - obj173.Steps = list261; - reference204 = obj173; - ref QuestSequence reference205 = ref span98[1]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - CollectionsMarshal.AsSpan(list262)[0] = new QuestStep(EInteractionType.Interact, 1047376u, new Vector3(572.83887f, 107.79388f, 483.5431f), 1191); - obj174.Steps = list262; - reference205 = obj174; - ref QuestSequence reference206 = ref span98[2]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - CollectionsMarshal.AsSpan(list263)[0] = new QuestStep(EInteractionType.Interact, 1047381u, new Vector3(550.89636f, 143.6124f, 206.46973f), 1191); - obj175.Steps = list263; - reference206 = obj175; - ref QuestSequence reference207 = ref span98[3]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 3 - }; - num2 = 6; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - Span span99 = CollectionsMarshal.AsSpan(list264); - span99[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 1191) - { - StopDistance = 8f, - Aetheryte = EAetheryteLocation.HeritageFoundYyasulaniStation - }; - ref QuestStep reference208 = ref span99[1]; - QuestStep questStep32 = new QuestStep(EInteractionType.Interact, 2013817u, new Vector3(482.62744f, 147.1427f, 224.23132f), 1191); - num3 = 6; - List list265 = new List(num3); - CollectionsMarshal.SetCount(list265, num3); - Span span100 = CollectionsMarshal.AsSpan(list265); - span100[0] = null; - span100[1] = null; - span100[2] = null; - span100[3] = null; - span100[4] = null; - span100[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep32.CompletionQuestVariablesFlags = list265; - reference208 = questStep32; - ref QuestStep reference209 = ref span99[2]; - QuestStep questStep33 = new QuestStep(EInteractionType.Interact, 2013818u, new Vector3(465.72058f, 147.08167f, 202.68555f), 1191); - num3 = 6; - List list266 = new List(num3); - CollectionsMarshal.SetCount(list266, num3); - Span span101 = CollectionsMarshal.AsSpan(list266); - span101[0] = null; - span101[1] = null; - span101[2] = null; - span101[3] = null; - span101[4] = null; - span101[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep33.CompletionQuestVariablesFlags = list266; - reference209 = questStep33; - span99[3] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013964u, new Vector3(397.8789f, 145.34216f, 224.2008f), 1191) - { - AetherCurrentId = 2818464u - }; - ref QuestStep reference210 = ref span99[4]; - QuestStep questStep34 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(483.82584f, 145.82513f, 186.19025f), 1191); - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list267 = new List(num3); - CollectionsMarshal.SetCount(list267, num3); - Span span102 = CollectionsMarshal.AsSpan(list267); - span102[0] = null; - span102[1] = null; - span102[2] = null; - span102[3] = null; - span102[4] = null; - span102[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list267; - skipConditions4.StepIf = skipStepConditions4; - questStep34.SkipConditions = skipConditions4; - reference210 = questStep34; - ref QuestStep reference211 = ref span99[5]; - QuestStep obj177 = new QuestStep(EInteractionType.Interact, 2013819u, new Vector3(485.83203f, 147.50891f, 184.22205f), 1191) - { - StopDistance = 4.5f - }; - num3 = 6; - List list268 = new List(num3); - CollectionsMarshal.SetCount(list268, num3); - Span span103 = CollectionsMarshal.AsSpan(list268); - span103[0] = null; - span103[1] = null; - span103[2] = null; - span103[3] = null; - span103[4] = null; - span103[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj177.CompletionQuestVariablesFlags = list268; - reference211 = obj177; - obj176.Steps = list264; - reference207 = obj176; - ref QuestSequence reference212 = ref span98[4]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - CollectionsMarshal.AsSpan(list269)[0] = new QuestStep(EInteractionType.Interact, 1047388u, new Vector3(470.84766f, 145.83463f, 164.75159f), 1191); - obj178.Steps = list269; - reference212 = obj178; - ref QuestSequence reference213 = ref span98[5]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - Span span104 = CollectionsMarshal.AsSpan(list270); - span104[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(473.8908f, 145.62398f, 157.92116f), 1191); - span104[1] = new QuestStep(EInteractionType.Interact, 1047387u, new Vector3(467.4906f, 122.874016f, 44.815674f), 1191); - obj179.Steps = list270; - reference213 = obj179; - ref QuestSequence reference214 = ref span98[6]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - CollectionsMarshal.AsSpan(list271)[0] = new QuestStep(EInteractionType.Interact, 1047389u, new Vector3(328.96924f, 74.07415f, 86.86963f), 1191); - obj180.Steps = list271; - reference214 = obj180; - ref QuestSequence reference215 = ref span98[7]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - CollectionsMarshal.AsSpan(list272)[0] = new QuestStep(EInteractionType.Interact, 1047390u, new Vector3(313.31335f, 63.76171f, -87.6936f), 1191); - obj181.Steps = list272; - reference215 = obj181; - ref QuestSequence reference216 = ref span98[8]; - QuestSequence obj182 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - CollectionsMarshal.AsSpan(list273)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047395u, new Vector3(283.07007f, 63.313274f, -169.23785f), 1191) - { - StopDistance = 5f - }; - obj182.Steps = list273; - reference216 = obj182; - questRoot28.QuestSequence = list260; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(4928); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list274 = new List(num); - CollectionsMarshal.SetCount(list274, num); - CollectionsMarshal.AsSpan(list274)[0] = "liza"; - questRoot29.Author = list274; - num = 4; - List list275 = new List(num); - CollectionsMarshal.SetCount(list275, num); - Span span105 = CollectionsMarshal.AsSpan(list275); - ref QuestSequence reference217 = ref span105[0]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - CollectionsMarshal.AsSpan(list276)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047395u, new Vector3(283.07007f, 63.313274f, -169.23785f), 1191) - { - StopDistance = 5f - }; - obj183.Steps = list276; - reference217 = obj183; - ref QuestSequence reference218 = ref span105[1]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - CollectionsMarshal.AsSpan(list277)[0] = new QuestStep(EInteractionType.Interact, 1047396u, new Vector3(33.035767f, 33.442226f, -262.47046f), 1191); - obj184.Steps = list277; - reference218 = obj184; - ref QuestSequence reference219 = ref span105[2]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - Span span106 = CollectionsMarshal.AsSpan(list278); - span106[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-56.819763f, 28.072628f, -399.17023f), 1191); - span106[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-120.99963f, 28.090134f, -456.97507f), 1191) - { - DisableNavmesh = true - }; - span106[2] = new QuestStep(EInteractionType.Interact, 1047397u, new Vector3(-149.03491f, 25.971825f, -500.63324f), 1191) - { - DisableNavmesh = true - }; - obj185.Steps = list278; - reference219 = obj185; - ref QuestSequence reference220 = ref span105[3]; - QuestSequence obj186 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - Span span107 = CollectionsMarshal.AsSpan(list279); - span107[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 1191) - { - Aetheryte = EAetheryteLocation.HeritageFoundTheOutskirts - }; - span107[1] = new QuestStep(EInteractionType.CompleteQuest, 1047403u, new Vector3(-177.72192f, 28f, -542.9313f), 1191); - obj186.Steps = list279; - reference220 = obj186; - questRoot29.QuestSequence = list275; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(4929); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list280 = new List(num); - CollectionsMarshal.SetCount(list280, num); - CollectionsMarshal.AsSpan(list280)[0] = "liza"; - questRoot30.Author = list280; - num = 6; - List list281 = new List(num); - CollectionsMarshal.SetCount(list281, num); - Span span108 = CollectionsMarshal.AsSpan(list281); - ref QuestSequence reference221 = ref span108[0]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - CollectionsMarshal.AsSpan(list282)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047403u, new Vector3(-177.72192f, 28f, -542.9313f), 1191); - obj187.Steps = list282; - reference221 = obj187; - ref QuestSequence reference222 = ref span108[1]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.Interact, 1047405u, new Vector3(-117.906494f, 28.995459f, -353.1701f), 1191); - obj188.Steps = list283; - reference222 = obj188; - ref QuestSequence reference223 = ref span108[2]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - Span span109 = CollectionsMarshal.AsSpan(list284); - ref QuestStep reference224 = ref span109[0]; - QuestStep questStep35 = new QuestStep(EInteractionType.Interact, 1047408u, new Vector3(22.9953f, 35.463512f, -332.02112f), 1191); - num3 = 6; - List list285 = new List(num3); - CollectionsMarshal.SetCount(list285, num3); - Span span110 = CollectionsMarshal.AsSpan(list285); - span110[0] = null; - span110[1] = null; - span110[2] = null; - span110[3] = null; - span110[4] = null; - span110[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep35.CompletionQuestVariablesFlags = list285; - reference224 = questStep35; - ref QuestStep reference225 = ref span109[1]; - QuestStep questStep36 = new QuestStep(EInteractionType.Interact, 1047410u, new Vector3(48.17273f, 34.29345f, -380.60577f), 1191); - num3 = 6; - List list286 = new List(num3); - CollectionsMarshal.SetCount(list286, num3); - Span span111 = CollectionsMarshal.AsSpan(list286); - span111[0] = null; - span111[1] = null; - span111[2] = null; - span111[3] = null; - span111[4] = null; - span111[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep36.CompletionQuestVariablesFlags = list286; - reference225 = questStep36; - ref QuestStep reference226 = ref span109[2]; - QuestStep questStep37 = new QuestStep(EInteractionType.Interact, 1047409u, new Vector3(10.849121f, 30.06934f, -458.7625f), 1191); - num3 = 6; - List list287 = new List(num3); - CollectionsMarshal.SetCount(list287, num3); - Span span112 = CollectionsMarshal.AsSpan(list287); - span112[0] = null; - span112[1] = null; - span112[2] = null; - span112[3] = null; - span112[4] = null; - span112[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep37.CompletionQuestVariablesFlags = list287; - reference226 = questStep37; - obj189.Steps = list284; - reference223 = obj189; - ref QuestSequence reference227 = ref span108[3]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - CollectionsMarshal.AsSpan(list288)[0] = new QuestStep(EInteractionType.Interact, 1047411u, new Vector3(-66.78876f, 35.107204f, -249.56134f), 1191); - obj190.Steps = list288; - reference227 = obj190; - ref QuestSequence reference228 = ref span108[4]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - Span span113 = CollectionsMarshal.AsSpan(list289); - ref QuestStep reference229 = ref span113[0]; - QuestStep obj192 = new QuestStep(EInteractionType.Combat, 2013821u, new Vector3(-182.42163f, 21.835632f, -411.0323f), 1191) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list290 = new List(num3); - CollectionsMarshal.SetCount(list290, num3); - CollectionsMarshal.AsSpan(list290)[0] = 17701u; - obj192.KillEnemyDataIds = list290; - num3 = 6; - List list291 = new List(num3); - CollectionsMarshal.SetCount(list291, num3); - Span span114 = CollectionsMarshal.AsSpan(list291); - span114[0] = null; - span114[1] = null; - span114[2] = null; - span114[3] = null; - span114[4] = null; - span114[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj192.CompletionQuestVariablesFlags = list291; - reference229 = obj192; - ref QuestStep reference230 = ref span113[1]; - QuestStep obj193 = new QuestStep(EInteractionType.Combat, 2013820u, new Vector3(-56.839844f, 21.835632f, -520.8057f), 1191) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list292 = new List(num3); - CollectionsMarshal.SetCount(list292, num3); - CollectionsMarshal.AsSpan(list292)[0] = 17701u; - obj193.KillEnemyDataIds = list292; - num3 = 6; - List list293 = new List(num3); - CollectionsMarshal.SetCount(list293, num3); - Span span115 = CollectionsMarshal.AsSpan(list293); - span115[0] = null; - span115[1] = null; - span115[2] = null; - span115[3] = null; - span115[4] = null; - span115[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj193.CompletionQuestVariablesFlags = list293; - reference230 = obj193; - obj191.Steps = list289; - reference228 = obj191; - ref QuestSequence reference231 = ref span108[5]; - QuestSequence obj194 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - CollectionsMarshal.AsSpan(list294)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047406u, new Vector3(-116.77734f, 28.996273f, -351.36957f), 1191); - obj194.Steps = list294; - reference231 = obj194; - questRoot30.QuestSequence = list281; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(4930); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list295 = new List(num); - CollectionsMarshal.SetCount(list295, num); - CollectionsMarshal.AsSpan(list295)[0] = "liza"; - questRoot31.Author = list295; - num = 9; - List list296 = new List(num); - CollectionsMarshal.SetCount(list296, num); - Span span116 = CollectionsMarshal.AsSpan(list296); - ref QuestSequence reference232 = ref span116[0]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - CollectionsMarshal.AsSpan(list297)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047406u, new Vector3(-116.77734f, 28.996273f, -351.36957f), 1191); - obj195.Steps = list297; - reference232 = obj195; - ref QuestSequence reference233 = ref span116[1]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - CollectionsMarshal.AsSpan(list298)[0] = new QuestStep(EInteractionType.Interact, 1047412u, new Vector3(-146.56293f, 25.971825f, -494.98743f), 1191) - { - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts - }; - obj196.Steps = list298; - reference233 = obj196; - ref QuestSequence reference234 = ref span116[2]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - CollectionsMarshal.AsSpan(list299)[0] = new QuestStep(EInteractionType.Interact, 1047414u, new Vector3(-146.19672f, 25.971825f, -498.1308f), 1191); - obj197.Steps = list299; - reference234 = obj197; - ref QuestSequence reference235 = ref span116[3]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - Span span117 = CollectionsMarshal.AsSpan(list300); - ref QuestStep reference236 = ref span117[0]; - QuestStep questStep38 = new QuestStep(EInteractionType.Interact, 1047419u, new Vector3(-149.1264f, 30.999998f, -613.36694f), 1191); - num3 = 6; - List list301 = new List(num3); - CollectionsMarshal.SetCount(list301, num3); - Span span118 = CollectionsMarshal.AsSpan(list301); - span118[0] = null; - span118[1] = null; - span118[2] = null; - span118[3] = null; - span118[4] = null; - span118[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep38.CompletionQuestVariablesFlags = list301; - reference236 = questStep38; - ref QuestStep reference237 = ref span117[1]; - QuestStep questStep39 = new QuestStep(EInteractionType.Interact, 1047420u, new Vector3(-142.50409f, 40.99999f, -698.8785f), 1191); - num3 = 6; - List list302 = new List(num3); - CollectionsMarshal.SetCount(list302, num3); - Span span119 = CollectionsMarshal.AsSpan(list302); - span119[0] = null; - span119[1] = null; - span119[2] = null; - span119[3] = null; - span119[4] = null; - span119[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep39.CompletionQuestVariablesFlags = list302; - reference237 = questStep39; - ref QuestStep reference238 = ref span117[2]; - QuestStep questStep40 = new QuestStep(EInteractionType.Interact, 1047421u, new Vector3(-69.13867f, 50.097145f, -670.06946f), 1191); - num3 = 6; - List list303 = new List(num3); - CollectionsMarshal.SetCount(list303, num3); - Span span120 = CollectionsMarshal.AsSpan(list303); - span120[0] = null; - span120[1] = null; - span120[2] = null; - span120[3] = null; - span120[4] = null; - span120[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep40.CompletionQuestVariablesFlags = list303; - reference238 = questStep40; - obj198.Steps = list300; - reference235 = obj198; - ref QuestSequence reference239 = ref span116[4]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - CollectionsMarshal.AsSpan(list304)[0] = new QuestStep(EInteractionType.Interact, 2013896u, new Vector3(-202.65509f, 29.984009f, -595.636f), 1191); - obj199.Steps = list304; - reference239 = obj199; - ref QuestSequence reference240 = ref span116[5]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - CollectionsMarshal.AsSpan(list305)[0] = new QuestStep(EInteractionType.Interact, 2013822u, new Vector3(120.408936f, 42.008057f, -468.19257f), 1191); - obj200.Steps = list305; - reference240 = obj200; - ref QuestSequence reference241 = ref span116[6]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - Span span121 = CollectionsMarshal.AsSpan(list306); - span121[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(230.06555f, 67.24928f, -473.94547f), 1191); - span121[1] = new QuestStep(EInteractionType.Interact, 1047428u, new Vector3(248.70679f, 74.60507f, -547.9973f), 1191); - obj201.Steps = list306; - reference241 = obj201; - ref QuestSequence reference242 = ref span116[7]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list307 = new List(num2); - CollectionsMarshal.SetCount(list307, num2); - Span span122 = CollectionsMarshal.AsSpan(list307); - span122[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013965u, new Vector3(204.57764f, 58.182617f, -678.49243f), 1191) - { - AetherCurrentId = 2818465u - }; - span122[1] = new QuestStep(EInteractionType.Interact, 1047433u, new Vector3(220.26392f, 55.931297f, -679.19434f), 1191); - obj202.Steps = list307; - reference242 = obj202; - ref QuestSequence reference243 = ref span116[8]; - QuestSequence obj203 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - CollectionsMarshal.AsSpan(list308)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047438u, new Vector3(-1.7243042f, -2.5286822E-06f, -0.5340576f), 1171) - { - StopDistance = 5f - }; - obj203.Steps = list308; - reference243 = obj203; - questRoot31.QuestSequence = list296; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(4931); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list309 = new List(num); - CollectionsMarshal.SetCount(list309, num); - CollectionsMarshal.AsSpan(list309)[0] = "liza"; - questRoot32.Author = list309; - num = 6; - List list310 = new List(num); - CollectionsMarshal.SetCount(list310, num); - Span span123 = CollectionsMarshal.AsSpan(list310); - ref QuestSequence reference244 = ref span123[0]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list311 = new List(num2); - CollectionsMarshal.SetCount(list311, num2); - CollectionsMarshal.AsSpan(list311)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047438u, new Vector3(-1.7243042f, -2.5286822E-06f, -0.5340576f), 1171) - { - StopDistance = 5f - }; - obj204.Steps = list311; - reference244 = obj204; - ref QuestSequence reference245 = ref span123[1]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - Span span124 = CollectionsMarshal.AsSpan(list312); - span124[0] = new QuestStep(EInteractionType.Interact, 2013853u, new Vector3(0.6560669f, 0.99176025f, 17.532532f), 1171) - { - StopDistance = 4.5f, - TargetTerritoryId = (ushort)1191 - }; - span124[1] = new QuestStep(EInteractionType.Interact, 1047444u, new Vector3(264.57617f, 68.46363f, -503.31888f), 1191); - obj205.Steps = list312; - reference245 = obj205; - ref QuestSequence reference246 = ref span123[2]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list313 = new List(num2); - CollectionsMarshal.SetCount(list313, num2); - CollectionsMarshal.AsSpan(list313)[0] = new QuestStep(EInteractionType.Interact, 1047450u, new Vector3(484.6112f, 91.99999f, -500.3281f), 1191); - obj206.Steps = list313; - reference246 = obj206; - ref QuestSequence reference247 = ref span123[3]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - Span span125 = CollectionsMarshal.AsSpan(list314); - span125[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013968u, new Vector3(685.96924f, 139.17749f, -516.5637f), 1191) - { - AetherCurrentId = 2818470u - }; - span125[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013967u, new Vector3(606.83594f, 127.55017f, -190.3869f), 1191) - { - AetherCurrentId = 2818469u - }; - span125[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(554.8906f, 83.21251f, -226.04199f), 1191) - { - DisableNavmesh = true, - Mount = true - }; - ref QuestStep reference248 = ref span125[3]; - QuestStep obj208 = new QuestStep(EInteractionType.Combat, 2013823u, new Vector3(535.7595f, 85.31323f, -316.0296f), 1191) - { - Comment = "two waves of enemies", - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list315 = new List(num3); - CollectionsMarshal.SetCount(list315, num3); - CollectionsMarshal.AsSpan(list315)[0] = 17702u; - obj208.KillEnemyDataIds = list315; - reference248 = obj208; - obj207.Steps = list314; - reference247 = obj207; - ref QuestSequence reference249 = ref span123[4]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - CollectionsMarshal.AsSpan(list316)[0] = new QuestStep(EInteractionType.Interact, 2013824u, new Vector3(438.37634f, 77.62268f, -282.70392f), 1191); - obj209.Steps = list316; - reference249 = obj209; - ref QuestSequence reference250 = ref span123[5]; - QuestSequence obj210 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list317 = new List(num2); - CollectionsMarshal.SetCount(list317, num2); - CollectionsMarshal.AsSpan(list317)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047460u, new Vector3(450.33948f, 89.99999f, -474.815f), 1191) - { - StopDistance = 5f - }; - obj210.Steps = list317; - reference250 = obj210; - questRoot32.QuestSequence = list310; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(4932); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list318 = new List(num); - CollectionsMarshal.SetCount(list318, num); - CollectionsMarshal.AsSpan(list318)[0] = "liza"; - questRoot33.Author = list318; - num = 4; - List list319 = new List(num); - CollectionsMarshal.SetCount(list319, num); - Span span126 = CollectionsMarshal.AsSpan(list319); - ref QuestSequence reference251 = ref span126[0]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list320 = new List(num2); - CollectionsMarshal.SetCount(list320, num2); - CollectionsMarshal.AsSpan(list320)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047465u, new Vector3(452.71985f, 90f, -473.9605f), 1191) - { - StopDistance = 5f - }; - obj211.Steps = list320; - reference251 = obj211; - ref QuestSequence reference252 = ref span126[1]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list321 = new List(num2); - CollectionsMarshal.SetCount(list321, num2); - CollectionsMarshal.AsSpan(list321)[0] = new QuestStep(EInteractionType.Interact, 1047770u, new Vector3(247.54712f, 72.69989f, -536.7361f), 1191); - obj212.Steps = list321; - reference252 = obj212; - ref QuestSequence reference253 = ref span126[2]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list322 = new List(num2); - CollectionsMarshal.SetCount(list322, num2); - Span span127 = CollectionsMarshal.AsSpan(list322); - span127[0] = new QuestStep(EInteractionType.Interact, 2014030u, new Vector3(221.82031f, 54.58142f, -693.38525f), 1191) - { - TargetTerritoryId = (ushort)1171 - }; - span127[1] = new QuestStep(EInteractionType.Interact, 1047775u, new Vector3(1.0527954f, 0.003171f, 0.6866455f), 1171) - { - DelaySecondsAtStart = 3f - }; - obj213.Steps = list322; - reference253 = obj213; - ref QuestSequence reference254 = ref span126[3]; - QuestSequence obj214 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list323 = new List(num2); - CollectionsMarshal.SetCount(list323, num2); - CollectionsMarshal.AsSpan(list323)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047781u, new Vector3(2.670288f, 0.003171f, 1.296936f), 1171) - { - StopDistance = 5f - }; - obj214.Steps = list323; - reference254 = obj214; - questRoot33.QuestSequence = list319; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(4933); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list324 = new List(num); - CollectionsMarshal.SetCount(list324, num); - CollectionsMarshal.AsSpan(list324)[0] = "liza"; - questRoot34.Author = list324; - num = 6; - List list325 = new List(num); - CollectionsMarshal.SetCount(list325, num); - Span span128 = CollectionsMarshal.AsSpan(list325); - ref QuestSequence reference255 = ref span128[0]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list326 = new List(num2); - CollectionsMarshal.SetCount(list326, num2); - CollectionsMarshal.AsSpan(list326)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047776u, new Vector3(-0.869812f, -2.9624603E-06f, -0.6256714f), 1171) - { - StopDistance = 5f - }; - obj215.Steps = list326; - reference255 = obj215; - ref QuestSequence reference256 = ref span128[1]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list327 = new List(num2); - CollectionsMarshal.SetCount(list327, num2); - Span span129 = CollectionsMarshal.AsSpan(list327); - span129[0] = new QuestStep(EInteractionType.AcceptQuest, 1049443u, new Vector3(-177.56934f, 29.999998f, -601.15967f), 1191) - { - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - PickUpQuestId = new QuestId(5153) - }; - span129[1] = new QuestStep(EInteractionType.AcceptQuest, 1050805u, new Vector3(-153.09375f, 34.946026f, -581.0178f), 1191) - { - PickUpQuestId = new QuestId(5160) - }; - span129[2] = new QuestStep(EInteractionType.Interact, 1048053u, new Vector3(-296.52863f, 45.88422f, -828.58014f), 1191); - obj216.Steps = list327; - reference256 = obj216; - span128[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference257 = ref span128[3]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - CollectionsMarshal.AsSpan(list328)[0] = new QuestStep(EInteractionType.Interact, 1048059u, new Vector3(0.6560669f, -6.050003f, 218.24976f), 1186) - { - StopDistance = 5f - }; - obj217.Steps = list328; - reference257 = obj217; - ref QuestSequence reference258 = ref span128[4]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list329 = new List(num2); - CollectionsMarshal.SetCount(list329, num2); - Span span130 = CollectionsMarshal.AsSpan(list329); - span130[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1186) - { - AethernetShard = EAetheryteLocation.SolutionNineInformationCenter - }; - span130[1] = new QuestStep(EInteractionType.Interact, 1048060u, new Vector3(5.935669f, 7.786434f, 27.450928f), 1186); - obj218.Steps = list329; - reference258 = obj218; - ref QuestSequence reference259 = ref span128[5]; - QuestSequence obj219 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list330 = new List(num2); - CollectionsMarshal.SetCount(list330, num2); - Span span131 = CollectionsMarshal.AsSpan(list330); - span131[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-7.134756f, 8.467899f, 7.050073f), 1186); - span131[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 1186) - { - StopDistance = 11f, - Aetheryte = EAetheryteLocation.SolutionNine - }; - span131[2] = new QuestStep(EInteractionType.CompleteQuest, 1048061u, new Vector3(-97.94769f, 0.00054359436f, -0.10687256f), 1186); - obj219.Steps = list330; - reference259 = obj219; - questRoot34.QuestSequence = list325; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(4934); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list331 = new List(num); - CollectionsMarshal.SetCount(list331, num); - CollectionsMarshal.AsSpan(list331)[0] = "liza"; - questRoot35.Author = list331; - num = 8; - List list332 = new List(num); - CollectionsMarshal.SetCount(list332, num); - Span span132 = CollectionsMarshal.AsSpan(list332); - ref QuestSequence reference260 = ref span132[0]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list333 = new List(num2); - CollectionsMarshal.SetCount(list333, num2); - CollectionsMarshal.AsSpan(list333)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048062u, new Vector3(-136.43097f, 0.22516371f, -44.235962f), 1186) - { - StopDistance = 5f - }; - obj220.Steps = list333; - reference260 = obj220; - ref QuestSequence reference261 = ref span132[1]; - QuestSequence obj221 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - ref QuestStep reference262 = ref CollectionsMarshal.AsSpan(list334)[0]; - QuestStep questStep41 = new QuestStep(EInteractionType.Interact, 1048233u, new Vector3(-163.86664f, 0.9219522f, -51.529785f), 1186); - num3 = 2; - List list335 = new List(num3); - CollectionsMarshal.SetCount(list335, num3); - Span span133 = CollectionsMarshal.AsSpan(list335); - span133[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGME103_04934_SYSTEM_000_057") - }; - span133[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGME103_04934_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGME103_04934_A1_000_003") - }; - questStep41.DialogueChoices = list335; - num3 = 1; - List list336 = new List(num3); - CollectionsMarshal.SetCount(list336, num3); - CollectionsMarshal.AsSpan(list336)[0] = 2u; - questStep41.PointMenuChoices = list336; - reference262 = questStep41; - obj221.Steps = list334; - reference261 = obj221; - ref QuestSequence reference263 = ref span132[2]; - QuestSequence obj222 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list337 = new List(num2); - CollectionsMarshal.SetCount(list337, num2); - CollectionsMarshal.AsSpan(list337)[0] = new QuestStep(EInteractionType.Interact, 1048066u, new Vector3(-162.55438f, 0.92195225f, -52.384216f), 1186) - { - StopDistance = 5f - }; - obj222.Steps = list337; - reference263 = obj222; - ref QuestSequence reference264 = ref span132[3]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list338 = new List(num2); - CollectionsMarshal.SetCount(list338, num2); - CollectionsMarshal.AsSpan(list338)[0] = new QuestStep(EInteractionType.Interact, 1048065u, new Vector3(-163.83618f, 0.9219523f, -51.499268f), 1186) - { - StopDistance = 5f - }; - obj223.Steps = list338; - reference264 = obj223; - ref QuestSequence reference265 = ref span132[4]; - QuestSequence obj224 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list339 = new List(num2); - CollectionsMarshal.SetCount(list339, num2); - Span span134 = CollectionsMarshal.AsSpan(list339); - span134[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1186) - { - AethernetShard = EAetheryteLocation.SolutionNineNexusArcade - }; - span134[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-320.34818f, 9.519508f, -6.9244547f), 1186); - span134[2] = new QuestStep(EInteractionType.Interact, 1048065u, new Vector3(-320.34818f, 9.519508f, -6.9244547f), 1186) - { - StopDistance = 0.25f, - DelaySecondsAtStart = 3f - }; - obj224.Steps = list339; - reference265 = obj224; - ref QuestSequence reference266 = ref span132[5]; - QuestSequence obj225 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list340 = new List(num2); - CollectionsMarshal.SetCount(list340, num2); - CollectionsMarshal.AsSpan(list340)[0] = new QuestStep(EInteractionType.Interact, 1048065u, new Vector3(-369.83575f, 14.000001f, 133.25919f), 1186) - { - StopDistance = 0.25f - }; - obj225.Steps = list340; - reference266 = obj225; - ref QuestSequence reference267 = ref span132[6]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - Span span135 = CollectionsMarshal.AsSpan(list341); - span135[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1186) - { - AethernetShard = EAetheryteLocation.SolutionNineResidentialSector - }; - span135[1] = new QuestStep(EInteractionType.Interact, 1048065u, new Vector3(-401.3925f, 13.999998f, 273.74304f), 1186) - { - StopDistance = 0.25f - }; - obj226.Steps = list341; - reference267 = obj226; - ref QuestSequence reference268 = ref span132[7]; - QuestSequence obj227 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - CollectionsMarshal.AsSpan(list342)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048067u, new Vector3(-403.9826f, 13.999998f, 275.8678f), 1186) - { - StopDistance = 5f - }; - obj227.Steps = list342; - reference268 = obj227; - questRoot35.QuestSequence = list332; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(4935); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list343 = new List(num); - CollectionsMarshal.SetCount(list343, num); - CollectionsMarshal.AsSpan(list343)[0] = "liza"; - questRoot36.Author = list343; - num = 5; - List list344 = new List(num); - CollectionsMarshal.SetCount(list344, num); - Span span136 = CollectionsMarshal.AsSpan(list344); - ref QuestSequence reference269 = ref span136[0]; - QuestSequence obj228 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list345 = new List(num2); - CollectionsMarshal.SetCount(list345, num2); - CollectionsMarshal.AsSpan(list345)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048067u, new Vector3(-403.9826f, 13.999998f, 275.8678f), 1186) - { - StopDistance = 5f - }; - obj228.Steps = list345; - reference269 = obj228; - ref QuestSequence reference270 = ref span136[1]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list346 = new List(num2); - CollectionsMarshal.SetCount(list346, num2); - CollectionsMarshal.AsSpan(list346)[0] = new QuestStep(EInteractionType.Interact, 1048071u, new Vector3(2.029419f, 0.00054359436f, -97.45941f), 1186) - { - AetheryteShortcut = EAetheryteLocation.SolutionNine - }; - obj229.Steps = list346; - reference270 = obj229; - ref QuestSequence reference271 = ref span136[2]; - QuestSequence obj230 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list347 = new List(num2); - CollectionsMarshal.SetCount(list347, num2); - Span span137 = CollectionsMarshal.AsSpan(list347); - span137[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(5.0530143f, 0.49999952f, -117.162285f), 1186) - { - RestartNavigationIfCancelled = false - }; - span137[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1186) - { - DelaySecondsAtStart = 2f, - AethernetShard = EAetheryteLocation.SolutionNineResolution - }; - span137[2] = new QuestStep(EInteractionType.Interact, 1048073u, new Vector3(4.0740967f, 38.056595f, -375.50934f), 1186); - obj230.Steps = list347; - reference271 = obj230; - ref QuestSequence reference272 = ref span136[3]; - QuestSequence obj231 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list348 = new List(num2); - CollectionsMarshal.SetCount(list348, num2); - CollectionsMarshal.AsSpan(list348)[0] = new QuestStep(EInteractionType.Interact, 1051346u, new Vector3(6.515503f, 38.056484f, -217.91418f), 1186); - obj231.Steps = list348; - reference272 = obj231; - ref QuestSequence reference273 = ref span136[4]; - QuestSequence obj232 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list349 = new List(num2); - CollectionsMarshal.SetCount(list349, num2); - CollectionsMarshal.AsSpan(list349)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048075u, new Vector3(133.83679f, 0.00054359436f, 3.5248413f), 1186) - { - AetheryteShortcut = EAetheryteLocation.SolutionNine - }; - obj232.Steps = list349; - reference273 = obj232; - questRoot36.QuestSequence = list344; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(4936); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list350 = new List(num); - CollectionsMarshal.SetCount(list350, num); - CollectionsMarshal.AsSpan(list350)[0] = "liza"; - questRoot37.Author = list350; - num = 6; - List list351 = new List(num); - CollectionsMarshal.SetCount(list351, num); - Span span138 = CollectionsMarshal.AsSpan(list351); - ref QuestSequence reference274 = ref span138[0]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list352 = new List(num2); - CollectionsMarshal.SetCount(list352, num2); - CollectionsMarshal.AsSpan(list352)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048075u, new Vector3(133.83679f, 0.00054359436f, 3.5248413f), 1186); - obj233.Steps = list352; - reference274 = obj233; - ref QuestSequence reference275 = ref span138[1]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list353 = new List(num2); - CollectionsMarshal.SetCount(list353, num2); - Span span139 = CollectionsMarshal.AsSpan(list353); - span139[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(146.57825f, 0.5499997f, 5.1162424f), 1186) - { - RestartNavigationIfCancelled = false - }; - span139[1] = new QuestStep(EInteractionType.Interact, 1048172u, new Vector3(250.59888f, 59.699997f, 9.201172f), 1186) - { - DelaySecondsAtStart = 2f - }; - obj234.Steps = list353; - reference275 = obj234; - ref QuestSequence reference276 = ref span138[2]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list354 = new List(num2); - CollectionsMarshal.SetCount(list354, num2); - CollectionsMarshal.AsSpan(list354)[0] = new QuestStep(EInteractionType.Interact, 2013839u, new Vector3(336.4412f, 69.93213f, 5.78728f), 1186); - obj235.Steps = list354; - reference276 = obj235; - ref QuestSequence reference277 = ref span138[3]; - QuestSequence obj236 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list355 = new List(num2); - CollectionsMarshal.SetCount(list355, num2); - ref QuestStep reference278 = ref CollectionsMarshal.AsSpan(list355)[0]; - QuestStep obj237 = new QuestStep(EInteractionType.Interact, 1048078u, new Vector3(346.0287f, 70f, 12.466553f), 1186) - { - StopDistance = 5f - }; - num3 = 1; - List list356 = new List(num3); - CollectionsMarshal.SetCount(list356, num3); - CollectionsMarshal.AsSpan(list356)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGME105_04936_SYSTEM_000_044") - }; - obj237.DialogueChoices = list356; - reference278 = obj237; - obj236.Steps = list355; - reference277 = obj236; - ref QuestSequence reference279 = ref span138[4]; - QuestSequence obj238 = new QuestSequence - { - Sequence = 4 - }; - num2 = 5; - List list357 = new List(num2); - CollectionsMarshal.SetCount(list357, num2); - Span span140 = CollectionsMarshal.AsSpan(list357); - span140[0] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1048078u, new Vector3(344.63077f, 59.99995f, 50.459126f), 1186) - { - StopDistance = 1f - }; - span140[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1048078u, new Vector3(344.64206f, 60f, 79.1161f), 1186) - { - StopDistance = 5f, - NpcWaitDistance = 3f - }; - span140[2] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1048078u, new Vector3(346.05466f, 50.75f, 153.15274f), 1186); - span140[3] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1048078u, new Vector3(293.66595f, 51.038002f, 172.77852f), 1186); - span140[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(290.3639f, 51.39998f, 199.20642f), 1186) - { - StopDistance = 2f - }; - obj238.Steps = list357; - reference279 = obj238; - ref QuestSequence reference280 = ref span138[5]; - QuestSequence obj239 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list358 = new List(num2); - CollectionsMarshal.SetCount(list358, num2); - CollectionsMarshal.AsSpan(list358)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048080u, new Vector3(299.45825f, 51.199978f, 202.04468f), 1186); - obj239.Steps = list358; - reference280 = obj239; - questRoot37.QuestSequence = list351; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(4937); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list359 = new List(num); - CollectionsMarshal.SetCount(list359, num); - CollectionsMarshal.AsSpan(list359)[0] = "liza"; - questRoot38.Author = list359; - num = 7; - List list360 = new List(num); - CollectionsMarshal.SetCount(list360, num); - Span span141 = CollectionsMarshal.AsSpan(list360); - ref QuestSequence reference281 = ref span141[0]; - QuestSequence obj240 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list361 = new List(num2); - CollectionsMarshal.SetCount(list361, num2); - CollectionsMarshal.AsSpan(list361)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048236u, new Vector3(302.05237f, 51.199978f, 205.0354f), 1186) - { - StopDistance = 7f - }; - obj240.Steps = list361; - reference281 = obj240; - ref QuestSequence reference282 = ref span141[1]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list362 = new List(num2); - CollectionsMarshal.SetCount(list362, num2); - CollectionsMarshal.AsSpan(list362)[0] = new QuestStep(EInteractionType.Interact, 1048084u, new Vector3(12.802246f, -1.6391277E-07f, 6.42395f), 1207); - obj241.Steps = list362; - reference282 = obj241; - ref QuestSequence reference283 = ref span141[2]; - QuestSequence obj242 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list363 = new List(num2); - CollectionsMarshal.SetCount(list363, num2); - Span span142 = CollectionsMarshal.AsSpan(list363); - span142[0] = new QuestStep(EInteractionType.Interact, 2014102u, new Vector3(-0.015319824f, 0.99176025f, 16.03717f), 1207) - { - TargetTerritoryId = (ushort)1186 - }; - span142[1] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1186) - { - AethernetShard = EAetheryteLocation.SolutionNineNeonStein - }; - span142[2] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1186) - { - AethernetShard = EAetheryteLocation.SolutionNineTrueVue - }; - span142[3] = new QuestStep(EInteractionType.Interact, 1048090u, new Vector3(362.87476f, 50.75f, 223.46838f), 1186); - obj242.Steps = list363; - reference283 = obj242; - ref QuestSequence reference284 = ref span141[3]; - QuestSequence obj243 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list364 = new List(num2); - CollectionsMarshal.SetCount(list364, num2); - CollectionsMarshal.AsSpan(list364)[0] = new QuestStep(EInteractionType.Interact, 1048090u, new Vector3(362.87476f, 50.75f, 223.46838f), 1186); - obj243.Steps = list364; - reference284 = obj243; - ref QuestSequence reference285 = ref span141[4]; - QuestSequence obj244 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list365 = new List(num2); - CollectionsMarshal.SetCount(list365, num2); - CollectionsMarshal.AsSpan(list365)[0] = new QuestStep(EInteractionType.UseItem, null, new Vector3(364.32428f, 50.75f, 220.96391f), 1186) - { - StopDistance = 5f, - ItemId = 2003561u - }; - obj244.Steps = list365; - reference285 = obj244; - ref QuestSequence reference286 = ref span141[5]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list366 = new List(num2); - CollectionsMarshal.SetCount(list366, num2); - Span span143 = CollectionsMarshal.AsSpan(list366); - span143[0] = new QuestStep(EInteractionType.AttuneAethernetShard, null, null, 1186) - { - AethernetShard = EAetheryteLocation.SolutionNineTheArcadion - }; - span143[1] = new QuestStep(EInteractionType.Interact, 1048083u, new Vector3(302.05237f, 51.199978f, 205.0354f), 1186) - { - TargetTerritoryId = (ushort)1207, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineTheArcadion, - To = EAetheryteLocation.SolutionNineNeonStein - } - }; - span143[2] = new QuestStep(EInteractionType.Interact, 1048189u, new Vector3(13.290527f, -1.7329884E-07f, 6.088318f), 1207); - obj245.Steps = list366; - reference286 = obj245; - ref QuestSequence reference287 = ref span141[6]; - QuestSequence obj246 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list367 = new List(num2); - CollectionsMarshal.SetCount(list367, num2); - CollectionsMarshal.AsSpan(list367)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048094u, new Vector3(4.5318604f, 0.046479464f, 5.5999756f), 1207) - { - StopDistance = 7f - }; - obj246.Steps = list367; - reference287 = obj246; - questRoot38.QuestSequence = list360; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(4938); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list368 = new List(num); - CollectionsMarshal.SetCount(list368, num); - CollectionsMarshal.AsSpan(list368)[0] = "liza"; - questRoot39.Author = list368; - num = 5; - List list369 = new List(num); - CollectionsMarshal.SetCount(list369, num); - Span span144 = CollectionsMarshal.AsSpan(list369); - ref QuestSequence reference288 = ref span144[0]; - QuestSequence obj247 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list370 = new List(num2); - CollectionsMarshal.SetCount(list370, num2); - CollectionsMarshal.AsSpan(list370)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051347u, new Vector3(4.3792725f, 0.04647946f, 5.6915283f), 1207); - obj247.Steps = list370; - reference288 = obj247; - ref QuestSequence reference289 = ref span144[1]; - QuestSequence obj248 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list371 = new List(num2); - CollectionsMarshal.SetCount(list371, num2); - CollectionsMarshal.AsSpan(list371)[0] = new QuestStep(EInteractionType.Interact, 1048095u, new Vector3(-297.59674f, 45.88422f, -821.07275f), 1191) - { - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts - }; - obj248.Steps = list371; - reference289 = obj248; - ref QuestSequence reference290 = ref span144[2]; - QuestSequence obj249 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list372 = new List(num2); - CollectionsMarshal.SetCount(list372, num2); - CollectionsMarshal.AsSpan(list372)[0] = new QuestStep(EInteractionType.Interact, 2013840u, new Vector3(-485.49634f, 28.366455f, -576.22644f), 1191); - obj249.Steps = list372; - reference290 = obj249; - ref QuestSequence reference291 = ref span144[3]; - QuestSequence obj250 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list373 = new List(num2); - CollectionsMarshal.SetCount(list373, num2); - CollectionsMarshal.AsSpan(list373)[0] = new QuestStep(EInteractionType.Interact, 1048098u, new Vector3(-603.32654f, -2.524255f, -488.4871f), 1191); - obj250.Steps = list373; - reference291 = obj250; - ref QuestSequence reference292 = ref span144[4]; - QuestSequence obj251 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list374 = new List(num2); - CollectionsMarshal.SetCount(list374, num2); - Span span145 = CollectionsMarshal.AsSpan(list374); - span145[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013969u, new Vector3(-585.41235f, 20.157104f, -469.44385f), 1191) - { - AetherCurrentId = 2818466u - }; - span145[1] = new QuestStep(EInteractionType.CompleteQuest, 1048103u, new Vector3(-704.09705f, 54.03237f, -210.46777f), 1191); - obj251.Steps = list374; - reference292 = obj251; - questRoot39.QuestSequence = list369; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(4939); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list375 = new List(num); - CollectionsMarshal.SetCount(list375, num); - CollectionsMarshal.AsSpan(list375)[0] = "liza"; - questRoot40.Author = list375; - num = 7; - List list376 = new List(num); - CollectionsMarshal.SetCount(list376, num); - Span span146 = CollectionsMarshal.AsSpan(list376); - ref QuestSequence reference293 = ref span146[0]; - QuestSequence obj252 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list377 = new List(num2); - CollectionsMarshal.SetCount(list377, num2); - CollectionsMarshal.AsSpan(list377)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051412u, new Vector3(-704.0055f, 54.030636f, -210.58978f), 1191); - obj252.Steps = list377; - reference293 = obj252; - ref QuestSequence reference294 = ref span146[1]; - QuestSequence obj253 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list378 = new List(num2); - CollectionsMarshal.SetCount(list378, num2); - CollectionsMarshal.AsSpan(list378)[0] = new QuestStep(EInteractionType.Interact, 1048104u, new Vector3(-519.9817f, 10.081686f, 81.1322f), 1191); - obj253.Steps = list378; - reference294 = obj253; - ref QuestSequence reference295 = ref span146[2]; - QuestSequence obj254 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list379 = new List(num2); - CollectionsMarshal.SetCount(list379, num2); - CollectionsMarshal.AsSpan(list379)[0] = new QuestStep(EInteractionType.Interact, 2013841u, new Vector3(-556.0541f, 1.5411377f, 118.638916f), 1191); - obj254.Steps = list379; - reference295 = obj254; - ref QuestSequence reference296 = ref span146[3]; - QuestSequence obj255 = new QuestSequence - { - Sequence = 3 - }; - num2 = 13; - List list380 = new List(num2); - CollectionsMarshal.SetCount(list380, num2); - Span span147 = CollectionsMarshal.AsSpan(list380); - span147[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-552.04144f, -2.079689f, 135.62419f), 1191) - { - Mount = true - }; - span147[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1047493u, new Vector3(-543.3764f, -1.6255682f, 170.78006f), 1191) - { - StopDistance = 50f - }; - span147[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-544.3011f, -1.480176f, 158.82558f), 1191) - { - DelaySecondsAtStart = 5f - }; - span147[3] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1047493u, new Vector3(-497.62363f, 0.7720427f, 171.72368f), 1191) - { - StopDistance = 50f - }; - span147[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-507.01544f, 0.29254055f, 168.97873f), 1191); - span147[5] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1047493u, new Vector3(-443.81244f, 3.592197f, 168.61993f), 1191) - { - StopDistance = 100f - }; - span147[6] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-447.27704f, 3.4107869f, 170.56796f), 1191); - span147[7] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1047493u, new Vector3(-431.33353f, 4.24635f, 211.52757f), 1191) - { - StopDistance = 100f - }; - span147[8] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-431.35794f, 4.2450695f, 216.45123f), 1191) - { - DelaySecondsAtStart = 5f - }; - span147[9] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1047493u, new Vector3(-444.92905f, 3.5340097f, 257.89444f), 1191) - { - StopDistance = 100f - }; - span147[10] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-441.83728f, 3.695872f, 256.8098f), 1191); - span147[11] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1047493u, new Vector3(-472.45474f, 7.6260962f, 323.47836f), 1191) - { - StopDistance = 100f, - NpcWaitDistance = 5f - }; - span147[12] = new QuestStep(EInteractionType.WalkTo, 2013719u, new Vector3(-482.0478f, 6.362976f, 323.62854f), 1191); - obj255.Steps = list380; - reference296 = obj255; - ref QuestSequence reference297 = ref span146[4]; - QuestSequence obj256 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list381 = new List(num2); - CollectionsMarshal.SetCount(list381, num2); - CollectionsMarshal.AsSpan(list381)[0] = new QuestStep(EInteractionType.Interact, 1047466u, new Vector3(-469.3828f, 7.829801f, 315.32764f), 1191) - { - StopDistance = 5f - }; - obj256.Steps = list381; - reference297 = obj256; - ref QuestSequence reference298 = ref span146[5]; - QuestSequence obj257 = new QuestSequence - { - Sequence = 5 - }; - num2 = 5; - List list382 = new List(num2); - CollectionsMarshal.SetCount(list382, num2); - Span span148 = CollectionsMarshal.AsSpan(list382); - span148[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 1191) - { - Aetheryte = EAetheryteLocation.HeritageFoundElectropeStrike - }; - span148[1] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013972u, new Vector3(-29.007446f, 71.42737f, 335.37793f), 1191) - { - AetherCurrentId = 2818472u - }; - span148[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-44.293804f, 59.430523f, 343.74417f), 1191) - { - DisableNavmesh = true, - Mount = true - }; - span148[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-238.53459f, 24.70902f, 438.2853f), 1191); - ref QuestStep reference299 = ref span148[4]; - QuestStep obj258 = new QuestStep(EInteractionType.Combat, 2013842u, new Vector3(-234.18024f, 11.520508f, 512.50464f), 1191) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list383 = new List(num3); - CollectionsMarshal.SetCount(list383, num3); - CollectionsMarshal.AsSpan(list383)[0] = 17703u; - obj258.KillEnemyDataIds = list383; - reference299 = obj258; - obj257.Steps = list382; - reference298 = obj257; - ref QuestSequence reference300 = ref span146[6]; - QuestSequence obj259 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list384 = new List(num2); - CollectionsMarshal.SetCount(list384, num2); - Span span149 = CollectionsMarshal.AsSpan(list384); - span149[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-398.18622f, 12.447574f, 328.13486f), 1191); - span149[1] = new QuestStep(EInteractionType.CompleteQuest, 1048173u, new Vector3(-464.4389f, 8.100235f, 315.4497f), 1191) - { - StopDistance = 4f - }; - obj259.Steps = list384; - reference300 = obj259; - questRoot40.QuestSequence = list376; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(4940); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list385 = new List(num); - CollectionsMarshal.SetCount(list385, num); - CollectionsMarshal.AsSpan(list385)[0] = "liza"; - questRoot41.Author = list385; - num = 5; - List list386 = new List(num); - CollectionsMarshal.SetCount(list386, num); - Span span150 = CollectionsMarshal.AsSpan(list386); - ref QuestSequence reference301 = ref span150[0]; - QuestSequence obj260 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list387 = new List(num2); - CollectionsMarshal.SetCount(list387, num2); - CollectionsMarshal.AsSpan(list387)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048173u, new Vector3(-464.4389f, 8.100235f, 315.4497f), 1191) - { - StopDistance = 4f - }; - obj260.Steps = list387; - reference301 = obj260; - ref QuestSequence reference302 = ref span150[1]; - QuestSequence obj261 = new QuestSequence - { - Sequence = 1 - }; - num2 = 7; - List list388 = new List(num2); - CollectionsMarshal.SetCount(list388, num2); - Span span151 = CollectionsMarshal.AsSpan(list388); - ref QuestStep reference303 = ref span151[0]; - QuestStep questStep42 = new QuestStep(EInteractionType.Interact, 2013843u, new Vector3(-541.1918f, 4.1657104f, 304.0664f), 1191); - num3 = 6; - List list389 = new List(num3); - CollectionsMarshal.SetCount(list389, num3); - Span span152 = CollectionsMarshal.AsSpan(list389); - span152[0] = null; - span152[1] = null; - span152[2] = null; - span152[3] = null; - span152[4] = null; - span152[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep42.CompletionQuestVariablesFlags = list389; - reference303 = questStep42; - ref QuestStep reference304 = ref span151[1]; - QuestStep questStep43 = new QuestStep(EInteractionType.Interact, 2013844u, new Vector3(-556.9696f, 3.616333f, 330.6172f), 1191); - num3 = 6; - List list390 = new List(num3); - CollectionsMarshal.SetCount(list390, num3); - Span span153 = CollectionsMarshal.AsSpan(list390); - span153[0] = null; - span153[1] = null; - span153[2] = null; - span153[3] = null; - span153[4] = null; - span153[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep43.CompletionQuestVariablesFlags = list390; - reference304 = questStep43; - span151[2] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013970u, new Vector3(-600.09155f, 2.2124634f, 267.4143f), 1191) - { - AetherCurrentId = 2818467u - }; - span151[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-594.9605f, 0.31490707f, 239.41946f), 1191) - { - Mount = true - }; - ref QuestStep reference305 = ref span151[4]; - QuestStep questStep44 = new QuestStep(EInteractionType.Interact, 2013845u, new Vector3(-597.9553f, 0.6866455f, 231.15894f), 1191); - num3 = 6; - List list391 = new List(num3); - CollectionsMarshal.SetCount(list391, num3); - Span span154 = CollectionsMarshal.AsSpan(list391); - span154[0] = null; - span154[1] = null; - span154[2] = null; - span154[3] = null; - span154[4] = null; - span154[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep44.CompletionQuestVariablesFlags = list391; - reference305 = questStep44; - ref QuestStep reference306 = ref span151[5]; - QuestStep questStep45 = new QuestStep(EInteractionType.Interact, 2013846u, new Vector3(-607.72107f, 0.59503174f, 190.3562f), 1191); - num3 = 6; - List list392 = new List(num3); - CollectionsMarshal.SetCount(list392, num3); - Span span155 = CollectionsMarshal.AsSpan(list392); - span155[0] = null; - span155[1] = null; - span155[2] = null; - span155[3] = null; - span155[4] = null; - span155[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep45.CompletionQuestVariablesFlags = list392; - reference306 = questStep45; - ref QuestStep reference307 = ref span151[6]; - QuestStep questStep46 = new QuestStep(EInteractionType.Interact, 2013847u, new Vector3(-516.7468f, 4.623413f, 196.27673f), 1191); - num3 = 6; - List list393 = new List(num3); - CollectionsMarshal.SetCount(list393, num3); - Span span156 = CollectionsMarshal.AsSpan(list393); - span156[0] = null; - span156[1] = null; - span156[2] = null; - span156[3] = null; - span156[4] = null; - span156[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep46.CompletionQuestVariablesFlags = list393; - reference307 = questStep46; - obj261.Steps = list388; - reference302 = obj261; - ref QuestSequence reference308 = ref span150[2]; - QuestSequence obj262 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list394 = new List(num2); - CollectionsMarshal.SetCount(list394, num2); - Span span157 = CollectionsMarshal.AsSpan(list394); - span157[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-475.54523f, 7.334528f, 325.33124f), 1191); - span157[1] = new QuestStep(EInteractionType.Interact, 1048111u, new Vector3(-466.91083f, 7.972903f, 313.71008f), 1191); - obj262.Steps = list394; - reference308 = obj262; - ref QuestSequence reference309 = ref span150[3]; - QuestSequence obj263 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list395 = new List(num2); - CollectionsMarshal.SetCount(list395, num2); - CollectionsMarshal.AsSpan(list395)[0] = new QuestStep(EInteractionType.Interact, 1048173u, new Vector3(-464.4389f, 8.100235f, 315.4497f), 1191) - { - StopDistance = 5f - }; - obj263.Steps = list395; - reference309 = obj263; - ref QuestSequence reference310 = ref span150[4]; - QuestSequence obj264 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list396 = new List(num2); - CollectionsMarshal.SetCount(list396, num2); - CollectionsMarshal.AsSpan(list396)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048113u, new Vector3(-468.71143f, 7.866031f, 315.4497f), 1191); - obj264.Steps = list396; - reference310 = obj264; - questRoot41.QuestSequence = list386; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(4941); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list397 = new List(num); - CollectionsMarshal.SetCount(list397, num); - CollectionsMarshal.AsSpan(list397)[0] = "liza"; - questRoot42.Author = list397; - num = 5; - List list398 = new List(num); - CollectionsMarshal.SetCount(list398, num); - Span span158 = CollectionsMarshal.AsSpan(list398); - ref QuestSequence reference311 = ref span158[0]; - QuestSequence obj265 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list399 = new List(num2); - CollectionsMarshal.SetCount(list399, num2); - CollectionsMarshal.AsSpan(list399)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048112u, new Vector3(-464.8051f, 8.080162f, 315.4497f), 1191) - { - StopDistance = 5f - }; - obj265.Steps = list399; - reference311 = obj265; - ref QuestSequence reference312 = ref span158[1]; - QuestSequence obj266 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list400 = new List(num2); - CollectionsMarshal.SetCount(list400, num2); - CollectionsMarshal.AsSpan(list400)[0] = new QuestStep(EInteractionType.Interact, 1048113u, new Vector3(-468.71143f, 7.866031f, 315.4497f), 1191) - { - StopDistance = 5f - }; - obj266.Steps = list400; - reference312 = obj266; - ref QuestSequence reference313 = ref span158[2]; - QuestSequence obj267 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list401 = new List(num2); - CollectionsMarshal.SetCount(list401, num2); - Span span159 = CollectionsMarshal.AsSpan(list401); - span159[0] = new QuestStep(EInteractionType.AcceptQuest, 1049505u, new Vector3(-209.85736f, 7.49638f, 595.9104f), 1191) - { - PickUpQuestId = new QuestId(5159) - }; - span159[1] = new QuestStep(EInteractionType.Interact, 1048099u, new Vector3(-606.5919f, -2.2030723f, -486.6255f), 1191) - { - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts - }; - obj267.Steps = list401; - reference313 = obj267; - ref QuestSequence reference314 = ref span158[3]; - QuestSequence obj268 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list402 = new List(num2); - CollectionsMarshal.SetCount(list402, num2); - Span span160 = CollectionsMarshal.AsSpan(list402); - span160[0] = new QuestStep(EInteractionType.AcceptQuest, 1049501u, new Vector3(-592.7062f, -2.4803436f, -489.28055f), 1191) - { - PickUpQuestId = new QuestId(5156) - }; - span160[1] = new QuestStep(EInteractionType.Interact, 1048116u, new Vector3(-296.71173f, 31.884527f, -671.77844f), 1191) - { - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts - }; - obj268.Steps = list402; - reference314 = obj268; - ref QuestSequence reference315 = ref span158[4]; - QuestSequence obj269 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list403 = new List(num2); - CollectionsMarshal.SetCount(list403, num2); - CollectionsMarshal.AsSpan(list403)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048120u, new Vector3(-298.7259f, 31.838512f, -672.5719f), 1191) - { - StopDistance = 7f - }; - obj269.Steps = list403; - reference315 = obj269; - questRoot42.QuestSequence = list398; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(4942); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list404 = new List(num); - CollectionsMarshal.SetCount(list404, num); - CollectionsMarshal.AsSpan(list404)[0] = "liza"; - questRoot43.Author = list404; - num = 4; - List list405 = new List(num); - CollectionsMarshal.SetCount(list405, num); - Span span161 = CollectionsMarshal.AsSpan(list405); - ref QuestSequence reference316 = ref span161[0]; - QuestSequence obj270 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list406 = new List(num2); - CollectionsMarshal.SetCount(list406, num2); - CollectionsMarshal.AsSpan(list406)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048120u, new Vector3(-298.7259f, 31.838512f, -672.5719f), 1191) - { - StopDistance = 7f - }; - obj270.Steps = list406; - reference316 = obj270; - ref QuestSequence reference317 = ref span161[1]; - QuestSequence obj271 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list407 = new List(num2); - CollectionsMarshal.SetCount(list407, num2); - CollectionsMarshal.AsSpan(list407)[0] = new QuestStep(EInteractionType.Interact, 1048122u, new Vector3(647.60803f, 145.90308f, 679.1333f), 1191); - obj271.Steps = list407; - reference317 = obj271; - ref QuestSequence reference318 = ref span161[2]; - QuestSequence obj272 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list408 = new List(num2); - CollectionsMarshal.SetCount(list408, num2); - ref QuestStep reference319 = ref CollectionsMarshal.AsSpan(list408)[0]; - QuestStep questStep47 = new QuestStep(EInteractionType.SinglePlayerDuty, 1048122u, new Vector3(647.60803f, 145.90308f, 679.1333f), 1191); - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions(); - num3 = 1; - List list409 = new List(num3); - CollectionsMarshal.SetCount(list409, num3); - CollectionsMarshal.AsSpan(list409)[0] = "(phase 1) Gets stuck in the wall while walking to the evacuee NPCs"; - singlePlayerDutyOptions.Notes = list409; - questStep47.SinglePlayerDutyOptions = singlePlayerDutyOptions; - num3 = 2; - List list410 = new List(num3); - CollectionsMarshal.SetCount(list410, num3); - Span span162 = CollectionsMarshal.AsSpan(list410); - span162[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "ContentTalk", - Prompt = new ExcelRef(357u), - Answer = new ExcelRef(358u) - }; - span162[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "ContentTalk", - Prompt = new ExcelRef(364u), - Answer = new ExcelRef(366u) - }; - questStep47.DialogueChoices = list410; - reference319 = questStep47; - obj272.Steps = list408; - reference318 = obj272; - ref QuestSequence reference320 = ref span161[3]; - QuestSequence obj273 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list411 = new List(num2); - CollectionsMarshal.SetCount(list411, num2); - CollectionsMarshal.AsSpan(list411)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048124u, new Vector3(352.31543f, 70.0001f, 8.316162f), 1186) - { - StopDistance = 5f - }; - obj273.Steps = list411; - reference320 = obj273; - questRoot43.QuestSequence = list405; - AddQuest(questId43, questRoot43); - QuestId questId44 = new QuestId(4943); - QuestRoot questRoot44 = new QuestRoot(); - num = 1; - List list412 = new List(num); - CollectionsMarshal.SetCount(list412, num); - CollectionsMarshal.AsSpan(list412)[0] = "liza"; - questRoot44.Author = list412; - num = 6; - List list413 = new List(num); - CollectionsMarshal.SetCount(list413, num); - Span span163 = CollectionsMarshal.AsSpan(list413); - ref QuestSequence reference321 = ref span163[0]; - QuestSequence obj274 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list414 = new List(num2); - CollectionsMarshal.SetCount(list414, num2); - CollectionsMarshal.AsSpan(list414)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048124u, new Vector3(352.31543f, 70.0001f, 8.316162f), 1186) - { - StopDistance = 5f - }; - obj274.Steps = list414; - reference321 = obj274; - ref QuestSequence reference322 = ref span163[1]; - QuestSequence obj275 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list415 = new List(num2); - CollectionsMarshal.SetCount(list415, num2); - Span span164 = CollectionsMarshal.AsSpan(list415); - ref QuestStep reference323 = ref span164[0]; - QuestStep questStep48 = new QuestStep(EInteractionType.Interact, 1048126u, new Vector3(371.4198f, 50.75f, 185.19873f), 1186); - num3 = 6; - List list416 = new List(num3); - CollectionsMarshal.SetCount(list416, num3); - Span span165 = CollectionsMarshal.AsSpan(list416); - span165[0] = null; - span165[1] = null; - span165[2] = null; - span165[3] = null; - span165[4] = null; - span165[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep48.CompletionQuestVariablesFlags = list416; - reference323 = questStep48; - ref QuestStep reference324 = ref span164[1]; - QuestStep questStep49 = new QuestStep(EInteractionType.Interact, 1048127u, new Vector3(373.73914f, 50.749996f, 235.40088f), 1186); - num3 = 6; - List list417 = new List(num3); - CollectionsMarshal.SetCount(list417, num3); - Span span166 = CollectionsMarshal.AsSpan(list417); - span166[0] = null; - span166[1] = null; - span166[2] = null; - span166[3] = null; - span166[4] = null; - span166[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep49.CompletionQuestVariablesFlags = list417; - reference324 = questStep49; - ref QuestStep reference325 = ref span164[2]; - QuestStep questStep50 = new QuestStep(EInteractionType.Interact, 1048128u, new Vector3(339.22327f, 52.212578f, 186.57202f), 1186); - num3 = 6; - List list418 = new List(num3); - CollectionsMarshal.SetCount(list418, num3); - Span span167 = CollectionsMarshal.AsSpan(list418); - span167[0] = null; - span167[1] = null; - span167[2] = null; - span167[3] = null; - span167[4] = null; - span167[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep50.CompletionQuestVariablesFlags = list418; - reference325 = questStep50; - obj275.Steps = list415; - reference322 = obj275; - ref QuestSequence reference326 = ref span163[2]; - QuestSequence obj276 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list419 = new List(num2); - CollectionsMarshal.SetCount(list419, num2); - Span span168 = CollectionsMarshal.AsSpan(list419); - span168[0] = new QuestStep(EInteractionType.Interact, 1048083u, new Vector3(302.05237f, 51.199978f, 205.0354f), 1186) - { - TargetTerritoryId = (ushort)1207 - }; - span168[1] = new QuestStep(EInteractionType.Interact, 1048129u, new Vector3(0.045776367f, -3.0733645E-08f, 5.5389404f), 1207) - { - StopDistance = 7f - }; - obj276.Steps = list419; - reference326 = obj276; - ref QuestSequence reference327 = ref span163[3]; - QuestSequence obj277 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list420 = new List(num2); - CollectionsMarshal.SetCount(list420, num2); - CollectionsMarshal.AsSpan(list420)[0] = new QuestStep(EInteractionType.Interact, 1048131u, new Vector3(-12.9244995f, 0f, 2.8533936f), 1207); - obj277.Steps = list420; - reference327 = obj277; - ref QuestSequence reference328 = ref span163[4]; - QuestSequence obj278 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list421 = new List(num2); - CollectionsMarshal.SetCount(list421, num2); - CollectionsMarshal.AsSpan(list421)[0] = new QuestStep(EInteractionType.Interact, 1048133u, new Vector3(-9.87262f, 0f, 4.257263f), 1207); - obj278.Steps = list421; - reference328 = obj278; - ref QuestSequence reference329 = ref span163[5]; - QuestSequence obj279 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list422 = new List(num2); - CollectionsMarshal.SetCount(list422, num2); - CollectionsMarshal.AsSpan(list422)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048132u, new Vector3(-8.1026f, 0f, 2.6397705f), 1207) - { - StopDistance = 5f - }; - obj279.Steps = list422; - reference329 = obj279; - questRoot44.QuestSequence = list413; - AddQuest(questId44, questRoot44); - QuestId questId45 = new QuestId(4944); - QuestRoot questRoot45 = new QuestRoot(); - num = 1; - List list423 = new List(num); - CollectionsMarshal.SetCount(list423, num); - CollectionsMarshal.AsSpan(list423)[0] = "liza"; - questRoot45.Author = list423; - num = 3; - List list424 = new List(num); - CollectionsMarshal.SetCount(list424, num); - Span span169 = CollectionsMarshal.AsSpan(list424); - ref QuestSequence reference330 = ref span169[0]; - QuestSequence obj280 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list425 = new List(num2); - CollectionsMarshal.SetCount(list425, num2); - CollectionsMarshal.AsSpan(list425)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048132u, new Vector3(-8.1026f, 0f, 2.6397705f), 1207) - { - StopDistance = 5f - }; - obj280.Steps = list425; - reference330 = obj280; - ref QuestSequence reference331 = ref span169[1]; - QuestSequence obj281 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list426 = new List(num2); - CollectionsMarshal.SetCount(list426, num2); - CollectionsMarshal.AsSpan(list426)[0] = new QuestStep(EInteractionType.Interact, 1048134u, new Vector3(-2.9450073f, -0.44999987f, 2.1820068f), 1207) - { - StopDistance = 5f - }; - obj281.Steps = list426; - reference331 = obj281; - ref QuestSequence reference332 = ref span169[2]; - QuestSequence obj282 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list427 = new List(num2); - CollectionsMarshal.SetCount(list427, num2); - CollectionsMarshal.AsSpan(list427)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048135u, new Vector3(-293.84296f, 45.884224f, -816.8002f), 1191) - { - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts - }; - obj282.Steps = list427; - reference332 = obj282; - questRoot45.QuestSequence = list424; - AddQuest(questId45, questRoot45); - QuestId questId46 = new QuestId(4945); - QuestRoot questRoot46 = new QuestRoot(); - num = 1; - List list428 = new List(num); - CollectionsMarshal.SetCount(list428, num); - CollectionsMarshal.AsSpan(list428)[0] = "liza"; - questRoot46.Author = list428; - num = 9; - List list429 = new List(num); - CollectionsMarshal.SetCount(list429, num); - Span span170 = CollectionsMarshal.AsSpan(list429); - ref QuestSequence reference333 = ref span170[0]; - QuestSequence obj283 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list430 = new List(num2); - CollectionsMarshal.SetCount(list430, num2); - CollectionsMarshal.AsSpan(list430)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048135u, new Vector3(-293.84296f, 45.884224f, -816.8002f), 1191); - obj283.Steps = list430; - reference333 = obj283; - ref QuestSequence reference334 = ref span170[1]; - QuestSequence obj284 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list431 = new List(num2); - CollectionsMarshal.SetCount(list431, num2); - Span span171 = CollectionsMarshal.AsSpan(list431); - span171[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-294.07196f, 44.504536f, -800.55725f), 1191); - span171[1] = new QuestStep(EInteractionType.Interact, 1048140u, new Vector3(-609.8878f, -13.387644f, -565.48413f), 1191) - { - Fly = true - }; - obj284.Steps = list431; - reference334 = obj284; - ref QuestSequence reference335 = ref span170[2]; - QuestSequence obj285 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list432 = new List(num2); - CollectionsMarshal.SetCount(list432, num2); - CollectionsMarshal.AsSpan(list432)[0] = new QuestStep(EInteractionType.Duty, null, null, 1191) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 825u - } - }; - obj285.Steps = list432; - reference335 = obj285; - span170[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference336 = ref span170[4]; - QuestSequence obj286 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list433 = new List(num2); - CollectionsMarshal.SetCount(list433, num2); - ref QuestStep reference337 = ref CollectionsMarshal.AsSpan(list433)[0]; - QuestStep questStep51 = new QuestStep(EInteractionType.Duty, null, null, 1220); - DutyOptions obj287 = new DutyOptions - { - ContentFinderConditionId = 995u - }; - num3 = 1; - List list434 = new List(num3); - CollectionsMarshal.SetCount(list434, num3); - CollectionsMarshal.AsSpan(list434)[0] = "No VBM module"; - obj287.Notes = list434; - questStep51.DutyOptions = obj287; - reference337 = questStep51; - obj286.Steps = list433; - reference336 = obj286; - span170[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference338 = ref span170[6]; - QuestSequence obj288 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list435 = new List(num2); - CollectionsMarshal.SetCount(list435, num2); - CollectionsMarshal.AsSpan(list435)[0] = new QuestStep(EInteractionType.Interact, 1048183u, new Vector3(97.45935f, 0f, 107.2251f), 1220) - { - StopDistance = 5f - }; - obj288.Steps = list435; - reference338 = obj288; - ref QuestSequence reference339 = ref span170[7]; - QuestSequence obj289 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list436 = new List(num2); - CollectionsMarshal.SetCount(list436, num2); - CollectionsMarshal.AsSpan(list436)[0] = new QuestStep(EInteractionType.Interact, 1048156u, new Vector3(104.57007f, 0f, 105.79077f), 1220) - { - StopDistance = 6f - }; - obj289.Steps = list436; - reference339 = obj289; - ref QuestSequence reference340 = ref span170[8]; - QuestSequence obj290 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list437 = new List(num2); - CollectionsMarshal.SetCount(list437, num2); - CollectionsMarshal.AsSpan(list437)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048158u, new Vector3(-4.837158f, -3.4458935E-08f, 5.8441772f), 1207); - obj290.Steps = list437; - reference340 = obj290; - questRoot46.QuestSequence = list429; - AddQuest(questId46, questRoot46); - QuestId questId47 = new QuestId(4946); - QuestRoot questRoot47 = new QuestRoot(); - num = 1; - List list438 = new List(num); - CollectionsMarshal.SetCount(list438, num); - CollectionsMarshal.AsSpan(list438)[0] = "liza"; - questRoot47.Author = list438; - num = 7; - List list439 = new List(num); - CollectionsMarshal.SetCount(list439, num); - Span span172 = CollectionsMarshal.AsSpan(list439); - ref QuestSequence reference341 = ref span172[0]; - QuestSequence obj291 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list440 = new List(num2); - CollectionsMarshal.SetCount(list440, num2); - CollectionsMarshal.AsSpan(list440)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048158u, new Vector3(-4.837158f, -3.4458935E-08f, 5.8441772f), 1207); - obj291.Steps = list440; - reference341 = obj291; - ref QuestSequence reference342 = ref span172[1]; - QuestSequence obj292 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list441 = new List(num2); - CollectionsMarshal.SetCount(list441, num2); - CollectionsMarshal.AsSpan(list441)[0] = new QuestStep(EInteractionType.Interact, 2013767u, new Vector3(-99.321045f, 99.99231f, -193.89642f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalVollokShoonsa - } - }; - obj292.Steps = list441; - reference342 = obj292; - ref QuestSequence reference343 = ref span172[2]; - QuestSequence obj293 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list442 = new List(num2); - CollectionsMarshal.SetCount(list442, num2); - CollectionsMarshal.AsSpan(list442)[0] = new QuestStep(EInteractionType.Interact, 1047794u, new Vector3(-32.974792f, 95.5f, -79.02649f), 1185); - obj293.Steps = list442; - reference343 = obj293; - ref QuestSequence reference344 = ref span172[3]; - QuestSequence obj294 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list443 = new List(num2); - CollectionsMarshal.SetCount(list443, num2); - CollectionsMarshal.AsSpan(list443)[0] = new QuestStep(EInteractionType.Interact, 1047797u, new Vector3(120.10376f, 47f, -129.38129f), 1185); - obj294.Steps = list443; - reference344 = obj294; - ref QuestSequence reference345 = ref span172[4]; - QuestSequence obj295 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list444 = new List(num2); - CollectionsMarshal.SetCount(list444, num2); - CollectionsMarshal.AsSpan(list444)[0] = new QuestStep(EInteractionType.Interact, 1047800u, new Vector3(42.038574f, 46.999996f, -290.15033f), 1185); - obj295.Steps = list444; - reference345 = obj295; - ref QuestSequence reference346 = ref span172[5]; - QuestSequence obj296 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list445 = new List(num2); - CollectionsMarshal.SetCount(list445, num2); - CollectionsMarshal.AsSpan(list445)[0] = new QuestStep(EInteractionType.Interact, 1047803u, new Vector3(123.552246f, 42f, -341.75635f), 1185); - obj296.Steps = list445; - reference346 = obj296; - ref QuestSequence reference347 = ref span172[6]; - QuestSequence obj297 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list446 = new List(num2); - CollectionsMarshal.SetCount(list446, num2); - CollectionsMarshal.AsSpan(list446)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047803u, new Vector3(123.552246f, 42f, -341.75635f), 1185); - obj297.Steps = list446; - reference347 = obj297; - questRoot47.QuestSequence = list439; - AddQuest(questId47, questRoot47); - QuestId questId48 = new QuestId(4947); - QuestRoot questRoot48 = new QuestRoot(); - num = 1; - List list447 = new List(num); - CollectionsMarshal.SetCount(list447, num); - CollectionsMarshal.AsSpan(list447)[0] = "liza"; - questRoot48.Author = list447; - num = 3; - List list448 = new List(num); - CollectionsMarshal.SetCount(list448, num); - Span span173 = CollectionsMarshal.AsSpan(list448); - ref QuestSequence reference348 = ref span173[0]; - QuestSequence obj298 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list449 = new List(num2); - CollectionsMarshal.SetCount(list449, num2); - CollectionsMarshal.AsSpan(list449)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047804u, new Vector3(121.66016f, 42f, -343.0686f), 1185); - obj298.Steps = list449; - reference348 = obj298; - ref QuestSequence reference349 = ref span173[1]; - QuestSequence obj299 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list450 = new List(num2); - CollectionsMarshal.SetCount(list450, num2); - CollectionsMarshal.AsSpan(list450)[0] = new QuestStep(EInteractionType.Interact, 1047806u, new Vector3(-179.55298f, 120.75f, -332.87555f), 1185) - { - StopDistance = 7f - }; - obj299.Steps = list450; - reference349 = obj299; - ref QuestSequence reference350 = ref span173[2]; - QuestSequence obj300 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list451 = new List(num2); - CollectionsMarshal.SetCount(list451, num2); - CollectionsMarshal.AsSpan(list451)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047809u, new Vector3(-47.56244f, -10.00001f, 97.21521f), 1185) - { - Comment = "Stops at the place where you can buy Lv99 gear", - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalBaysideBevyMarketplace - } - }; - obj300.Steps = list451; - reference350 = obj300; - questRoot48.QuestSequence = list448; - AddQuest(questId48, questRoot48); - QuestId questId49 = new QuestId(4948); - QuestRoot questRoot49 = new QuestRoot(); - num = 1; - List list452 = new List(num); - CollectionsMarshal.SetCount(list452, num); - CollectionsMarshal.AsSpan(list452)[0] = "liza"; - questRoot49.Author = list452; - num = 9; - List list453 = new List(num); - CollectionsMarshal.SetCount(list453, num); - Span span174 = CollectionsMarshal.AsSpan(list453); - ref QuestSequence reference351 = ref span174[0]; - QuestSequence obj301 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list454 = new List(num2); - CollectionsMarshal.SetCount(list454, num2); - CollectionsMarshal.AsSpan(list454)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047810u, new Vector3(-47.470886f, -10.00001f, 98.649536f), 1185); - obj301.Steps = list454; - reference351 = obj301; - ref QuestSequence reference352 = ref span174[1]; - QuestSequence obj302 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list455 = new List(num2); - CollectionsMarshal.SetCount(list455, num2); - Span span175 = CollectionsMarshal.AsSpan(list455); - ref QuestStep reference353 = ref span175[0]; - QuestStep obj303 = new QuestStep(EInteractionType.Interact, 1048029u, new Vector3(-711.1162f, -199.5873f, 624.1703f), 1189) - { - StopDistance = 5f, - TargetTerritoryId = (ushort)1189, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - num3 = 1; - List list456 = new List(num3); - CollectionsMarshal.SetCount(list456, num3); - CollectionsMarshal.AsSpan(list456)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - ExcelSheet = "EventPathMove", - Prompt = new ExcelRef(3997700u) - }; - obj303.DialogueChoices = list456; - reference353 = obj303; - span175[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-573.30396f, -153.01865f, 529.2467f), 1189) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span175[2] = new QuestStep(EInteractionType.Interact, 1047813u, new Vector3(-826.32184f, -297.8752f, 875.15063f), 1189) - { - Fly = true - }; - obj302.Steps = list455; - reference352 = obj302; - span174[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference354 = ref span174[3]; - QuestSequence obj304 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list457 = new List(num2); - CollectionsMarshal.SetCount(list457, num2); - CollectionsMarshal.AsSpan(list457)[0] = new QuestStep(EInteractionType.Interact, 1047818u, new Vector3(-0.9918823f, 0.20000042f, -51.499268f), 1222) - { - StopDistance = 7f - }; - obj304.Steps = list457; - reference354 = obj304; - span174[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference355 = ref span174[5]; - QuestSequence obj305 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list458 = new List(num2); - CollectionsMarshal.SetCount(list458, num2); - CollectionsMarshal.AsSpan(list458)[0] = new QuestStep(EInteractionType.Interact, 1047829u, new Vector3(-0.13739014f, 105.00008f, 848.7831f), 1192) - { - StopDistance = 7f, - DisableNavmesh = true - }; - obj305.Steps = list458; - reference355 = obj305; - ref QuestSequence reference356 = ref span174[6]; - QuestSequence obj306 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list459 = new List(num2); - CollectionsMarshal.SetCount(list459, num2); - CollectionsMarshal.AsSpan(list459)[0] = new QuestStep(EInteractionType.Interact, 1047833u, new Vector3(-26.657532f, 53.200012f, 794.67444f), 1192); - obj306.Steps = list459; - reference356 = obj306; - ref QuestSequence reference357 = ref span174[7]; - QuestSequence obj307 = new QuestSequence - { - Sequence = 7 - }; - num2 = 3; - List list460 = new List(num2); - CollectionsMarshal.SetCount(list460, num2); - Span span176 = CollectionsMarshal.AsSpan(list460); - span176[0] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 1192) - { - DisableNavmesh = true, - Aetheryte = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - span176[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(3.7348669f, 50.12495f, 660.56006f), 1192); - span176[2] = new QuestStep(EInteractionType.Interact, 1047837u, new Vector3(-0.045776367f, 50.124947f, 365.16357f), 1192); - obj307.Steps = list460; - reference357 = obj307; - ref QuestSequence reference358 = ref span174[8]; - QuestSequence obj308 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list461 = new List(num2); - CollectionsMarshal.SetCount(list461, num2); - CollectionsMarshal.AsSpan(list461)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047842u, new Vector3(0.015197754f, 50.124947f, 361.95923f), 1192) - { - StopDistance = 7f - }; - obj308.Steps = list461; - reference358 = obj308; - questRoot49.QuestSequence = list453; - AddQuest(questId49, questRoot49); - QuestId questId50 = new QuestId(4949); - QuestRoot questRoot50 = new QuestRoot(); - num = 1; - List list462 = new List(num); - CollectionsMarshal.SetCount(list462, num); - CollectionsMarshal.AsSpan(list462)[0] = "liza"; - questRoot50.Author = list462; - num = 7; - List list463 = new List(num); - CollectionsMarshal.SetCount(list463, num); - Span span177 = CollectionsMarshal.AsSpan(list463); - ref QuestSequence reference359 = ref span177[0]; - QuestSequence obj309 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list464 = new List(num2); - CollectionsMarshal.SetCount(list464, num2); - CollectionsMarshal.AsSpan(list464)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047842u, new Vector3(0.015197754f, 50.124947f, 361.95923f), 1192) - { - StopDistance = 7f - }; - obj309.Steps = list464; - reference359 = obj309; - ref QuestSequence reference360 = ref span177[1]; - QuestSequence obj310 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list465 = new List(num2); - CollectionsMarshal.SetCount(list465, num2); - CollectionsMarshal.AsSpan(list465)[0] = new QuestStep(EInteractionType.Interact, 2013770u, new Vector3(-0.045776367f, 53.177612f, 772.8236f), 1192) - { - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - obj310.Steps = list465; - reference360 = obj310; - ref QuestSequence reference361 = ref span177[2]; - QuestSequence obj311 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list466 = new List(num2); - CollectionsMarshal.SetCount(list466, num2); - CollectionsMarshal.AsSpan(list466)[0] = new QuestStep(EInteractionType.Interact, 1047850u, new Vector3(-36.30127f, 53.200012f, 753.56665f), 1192); - obj311.Steps = list466; - reference361 = obj311; - ref QuestSequence reference362 = ref span177[3]; - QuestSequence obj312 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list467 = new List(num2); - CollectionsMarshal.SetCount(list467, num2); - CollectionsMarshal.AsSpan(list467)[0] = new QuestStep(EInteractionType.Interact, 1047855u, new Vector3(-131.12079f, 6.380001f, 551.75085f), 1192) - { - StopDistance = 6f - }; - obj312.Steps = list467; - reference362 = obj312; - ref QuestSequence reference363 = ref span177[4]; - QuestSequence obj313 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list468 = new List(num2); - CollectionsMarshal.SetCount(list468, num2); - Span span178 = CollectionsMarshal.AsSpan(list468); - ref QuestStep reference364 = ref span178[0]; - QuestStep questStep52 = new QuestStep(EInteractionType.Interact, 1047860u, new Vector3(-194.75098f, 0.049999997f, 532.1278f), 1192); - num3 = 6; - List list469 = new List(num3); - CollectionsMarshal.SetCount(list469, num3); - Span span179 = CollectionsMarshal.AsSpan(list469); - span179[0] = null; - span179[1] = null; - span179[2] = null; - span179[3] = null; - span179[4] = null; - span179[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep52.CompletionQuestVariablesFlags = list469; - reference364 = questStep52; - ref QuestStep reference365 = ref span178[1]; - QuestStep questStep53 = new QuestStep(EInteractionType.Interact, 1047861u, new Vector3(-205.52374f, 6.4019995f, 555.01636f), 1192); - num3 = 6; - List list470 = new List(num3); - CollectionsMarshal.SetCount(list470, num3); - Span span180 = CollectionsMarshal.AsSpan(list470); - span180[0] = null; - span180[1] = null; - span180[2] = null; - span180[3] = null; - span180[4] = null; - span180[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep53.CompletionQuestVariablesFlags = list470; - reference365 = questStep53; - ref QuestStep reference366 = ref span178[2]; - QuestStep questStep54 = new QuestStep(EInteractionType.Interact, 1047862u, new Vector3(-183.73395f, 0.049998913f, 580.8651f), 1192); - num3 = 6; - List list471 = new List(num3); - CollectionsMarshal.SetCount(list471, num3); - Span span181 = CollectionsMarshal.AsSpan(list471); - span181[0] = null; - span181[1] = null; - span181[2] = null; - span181[3] = null; - span181[4] = null; - span181[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep54.CompletionQuestVariablesFlags = list471; - reference366 = questStep54; - obj313.Steps = list468; - reference363 = obj313; - ref QuestSequence reference367 = ref span177[5]; - QuestSequence obj314 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list472 = new List(num2); - CollectionsMarshal.SetCount(list472, num2); - Span span182 = CollectionsMarshal.AsSpan(list472); - span182[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-179.35655f, 0f, 606.5711f), 1192); - span182[1] = new QuestStep(EInteractionType.Interact, 1047868u, new Vector3(-183.18463f, -6.346533E-12f, 606.71387f), 1192) - { - StopDistance = 5f - }; - obj314.Steps = list472; - reference367 = obj314; - ref QuestSequence reference368 = ref span177[6]; - QuestSequence obj315 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list473 = new List(num2); - CollectionsMarshal.SetCount(list473, num2); - CollectionsMarshal.AsSpan(list473)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047869u, new Vector3(-266.0716f, 0.049999483f, 533.77576f), 1192); - obj315.Steps = list473; - reference368 = obj315; - questRoot50.QuestSequence = list463; - AddQuest(questId50, questRoot50); - } - - private static void LoadQuests99() - { - QuestId questId = new QuestId(4950); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 11; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047869u, new Vector3(-266.0716f, 0.049999483f, 533.77576f), 1192); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1047870u, new Vector3(-343.00757f, 0f, 567.254f), 1192); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - ref QuestStep reference4 = ref CollectionsMarshal.AsSpan(list5)[0]; - QuestStep obj4 = new QuestStep(EInteractionType.Combat, 2013771u, new Vector3(-270.924f, -0.015319824f, 610.7423f), 1192) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - int num3 = 1; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - CollectionsMarshal.AsSpan(list6)[0] = 17704u; - obj4.KillEnemyDataIds = list6; - reference4 = obj4; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference5 = ref span[3]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.Interact, 1047870u, new Vector3(-343.00757f, 0f, 567.254f), 1192); - obj5.Steps = list7; - reference5 = obj5; - ref QuestSequence reference6 = ref span[4]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.Interact, 1047871u, new Vector3(-289.78418f, 0.049857892f, 523.9795f), 1192); - obj6.Steps = list8; - reference6 = obj6; - ref QuestSequence reference7 = ref span[5]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.Interact, 1047873u, new Vector3(-570.428f, 0.05000001f, 498.46643f), 1192) - { - StopDistance = 5f - }; - obj7.Steps = list9; - reference7 = obj7; - ref QuestSequence reference8 = ref span[6]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 6 - }; - num2 = 4; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span2 = CollectionsMarshal.AsSpan(list10); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-528.32446f, 6.402005f, 525.08594f), 1192); - span2[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-479.25574f, 6.4020014f, 586.5792f), 1192); - span2[2] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013976u, new Vector3(-516.6858f, 0.045776367f, 680.99475f), 1192) - { - AetherCurrentId = 2818483u - }; - span2[3] = new QuestStep(EInteractionType.Interact, 1047874u, new Vector3(-440.0855f, -0.81529194f, 458.4878f), 1192); - obj8.Steps = list10; - reference8 = obj8; - ref QuestSequence reference9 = ref span[7]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - Span span3 = CollectionsMarshal.AsSpan(list11); - ref QuestStep reference10 = ref span3[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2013773u, new Vector3(-433.43256f, 1.3580322f, 500.2975f), 1192); - num3 = 6; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - Span span4 = CollectionsMarshal.AsSpan(list12); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list12; - reference10 = questStep; - ref QuestStep reference11 = ref span3[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2013772u, new Vector3(-409.35382f, 1.3884888f, 487.29688f), 1192); - num3 = 6; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - Span span5 = CollectionsMarshal.AsSpan(list13); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list13; - reference11 = questStep2; - obj9.Steps = list11; - reference9 = obj9; - ref QuestSequence reference12 = ref span[8]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.Interact, 1047876u, new Vector3(-441.48932f, -0.8153026f, 459.1897f), 1192); - obj10.Steps = list14; - reference12 = obj10; - ref QuestSequence reference13 = ref span[9]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 9 - }; - num2 = 4; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - Span span6 = CollectionsMarshal.AsSpan(list15); - span6[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-648.8012f, 0.028711677f, 490.62888f), 1192); - span6[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-674.08075f, 0.092562795f, 451.85648f), 1192); - span6[2] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013974u, new Vector3(-698.8785f, 0.99176025f, 472.00732f), 1192) - { - AetherCurrentId = 2818479u - }; - ref QuestStep reference14 = ref span6[3]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1047879u, new Vector3(-701.9303f, 14.9f, 308.76624f), 1192); - num3 = 1; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - CollectionsMarshal.AsSpan(list16)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMF105_04950_SYSTEM_000_197") - }; - questStep3.DialogueChoices = list16; - reference14 = questStep3; - obj11.Steps = list15; - reference13 = obj11; - ref QuestSequence reference15 = ref span[10]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047879u, new Vector3(-701.9303f, 14.9f, 308.76624f), 1192) - { - StopDistance = 5f - }; - obj12.Steps = list17; - reference15 = obj12; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(4951); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - CollectionsMarshal.AsSpan(list18)[0] = "liza"; - questRoot2.Author = list18; - num = 7; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - Span span7 = CollectionsMarshal.AsSpan(list19); - ref QuestSequence reference16 = ref span7[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047883u, new Vector3(-701.16736f, 14.900001f, 312.42847f), 1192) - { - StopDistance = 7f - }; - obj13.Steps = list20; - reference16 = obj13; - ref QuestSequence reference17 = ref span7[1]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - Span span8 = CollectionsMarshal.AsSpan(list21); - span8[0] = new QuestStep(EInteractionType.AcceptQuest, 1050617u, new Vector3(-631.4031f, 2.9305653E-07f, 497.12354f), 1192) - { - PickUpQuestId = new QuestId(5174) - }; - span8[1] = new QuestStep(EInteractionType.Interact, 1047884u, new Vector3(57.87744f, 53.200012f, 772.03015f), 1192) - { - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - obj14.Steps = list21; - reference17 = obj14; - ref QuestSequence reference18 = ref span7[2]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - Span span9 = CollectionsMarshal.AsSpan(list22); - ref QuestStep reference19 = ref span9[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2013775u, new Vector3(260.88342f, 1.9683228f, 671.1986f), 1192); - num3 = 6; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - Span span10 = CollectionsMarshal.AsSpan(list23); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list23; - reference19 = questStep4; - ref QuestStep reference20 = ref span9[1]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2013774u, new Vector3(268.36035f, -0.7477417f, 628.1376f), 1192); - num3 = 6; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - Span span11 = CollectionsMarshal.AsSpan(list24); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list24; - reference20 = questStep5; - ref QuestStep reference21 = ref span9[2]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1047889u, new Vector3(243.18298f, 0.10920419f, 602.8076f), 1192); - num3 = 6; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - Span span12 = CollectionsMarshal.AsSpan(list25); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list25; - reference21 = questStep6; - obj15.Steps = list22; - reference18 = obj15; - ref QuestSequence reference22 = ref span7[3]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.Interact, 2013776u, new Vector3(304.95142f, -0.015319824f, 608.02625f), 1192); - obj16.Steps = list26; - reference22 = obj16; - ref QuestSequence reference23 = ref span7[4]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - Span span13 = CollectionsMarshal.AsSpan(list27); - span13[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013977u, new Vector3(232.349f, -0.015319824f, 544.4877f), 1192) - { - AetherCurrentId = 2818484u - }; - ref QuestStep reference24 = ref span13[1]; - QuestStep obj18 = new QuestStep(EInteractionType.Combat, null, new Vector3(383.26807f, -0.106494784f, 551.68506f), 1192) - { - StopDistance = 0.25f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - CollectionsMarshal.AsSpan(list28)[0] = 17705u; - obj18.KillEnemyDataIds = list28; - reference24 = obj18; - obj17.Steps = list27; - reference23 = obj17; - ref QuestSequence reference25 = ref span7[5]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.Interact, 1047891u, new Vector3(381.39917f, -0.1618917f, 557.6714f), 1192) - { - StopDistance = 7f - }; - obj19.Steps = list29; - reference25 = obj19; - ref QuestSequence reference26 = ref span7[6]; - QuestSequence obj20 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047898u, new Vector3(383.38293f, -0.15743838f, 554.8638f), 1192) - { - StopDistance = 7f - }; - obj20.Steps = list30; - reference26 = obj20; - questRoot2.QuestSequence = list19; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(4952); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list31 = new List(num); - CollectionsMarshal.SetCount(list31, num); - CollectionsMarshal.AsSpan(list31)[0] = "liza"; - questRoot3.Author = list31; - num = 8; - List list32 = new List(num); - CollectionsMarshal.SetCount(list32, num); - Span span14 = CollectionsMarshal.AsSpan(list32); - ref QuestSequence reference27 = ref span14[0]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047898u, new Vector3(383.38293f, -0.15743838f, 554.8638f), 1192) - { - StopDistance = 7f - }; - obj21.Steps = list33; - reference27 = obj21; - ref QuestSequence reference28 = ref span14[1]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - Span span15 = CollectionsMarshal.AsSpan(list34); - span15[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(392.8642f, 10.611866f, 322.41876f), 1192); - span15[1] = new QuestStep(EInteractionType.Interact, 1047899u, new Vector3(354.63477f, 23.427383f, 397.63477f), 1192); - obj22.Steps = list34; - reference28 = obj22; - ref QuestSequence reference29 = ref span14[2]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.Interact, 1047900u, new Vector3(354.5432f, 23.427383f, 397.75684f), 1192); - obj23.Steps = list35; - reference29 = obj23; - ref QuestSequence reference30 = ref span14[3]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 3 - }; - num2 = 6; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - Span span16 = CollectionsMarshal.AsSpan(list36); - ref QuestStep reference31 = ref span16[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1047905u, new Vector3(390.4325f, 23.42738f, 398.76404f), 1192); - num3 = 6; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - Span span17 = CollectionsMarshal.AsSpan(list37); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list37; - reference31 = questStep7; - ref QuestStep reference32 = ref span16[1]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1047902u, new Vector3(365.9265f, 22.685093f, 359.21265f), 1192); - num3 = 6; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - Span span18 = CollectionsMarshal.AsSpan(list38); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list38; - reference32 = questStep8; - ref QuestStep reference33 = ref span16[2]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1047903u, new Vector3(331.92944f, 22.684782f, 325.2461f), 1192); - num3 = 6; - List list39 = new List(num3); - CollectionsMarshal.SetCount(list39, num3); - Span span19 = CollectionsMarshal.AsSpan(list39); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list39; - reference33 = questStep9; - ref QuestStep reference34 = ref span16[3]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1047901u, new Vector3(316.15173f, 22.64806f, 399.89307f), 1192); - num3 = 6; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - Span span20 = CollectionsMarshal.AsSpan(list40); - span20[0] = null; - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list40; - reference34 = questStep10; - ref QuestStep reference35 = ref span16[4]; - QuestStep questStep11 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(367.99225f, 58.0012f, 409.66818f), 1192); - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - Span span21 = CollectionsMarshal.AsSpan(list41); - span21[0] = null; - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list41; - skipConditions.StepIf = skipStepConditions; - questStep11.SkipConditions = skipConditions; - reference35 = questStep11; - ref QuestStep reference36 = ref span16[5]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1047904u, new Vector3(346.66968f, 58.000057f, 391.6228f), 1192); - num3 = 6; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - Span span22 = CollectionsMarshal.AsSpan(list42); - span22[0] = null; - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list42; - reference36 = questStep12; - obj24.Steps = list36; - reference30 = obj24; - ref QuestSequence reference37 = ref span14[4]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.Interact, 1047900u, new Vector3(354.5432f, 23.427383f, 397.75684f), 1192); - obj25.Steps = list43; - reference37 = obj25; - ref QuestSequence reference38 = ref span14[5]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - Span span23 = CollectionsMarshal.AsSpan(list44); - span23[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013978u, new Vector3(627.5271f, 9.048584f, 637.72034f), 1192) - { - AetherCurrentId = 2818485u - }; - span23[1] = new QuestStep(EInteractionType.Interact, 2013778u, new Vector3(699.0615f, 40.299072f, 377.9812f), 1192); - obj26.Steps = list44; - reference38 = obj26; - ref QuestSequence reference39 = ref span14[6]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - Span span24 = CollectionsMarshal.AsSpan(list45); - span24[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013975u, new Vector3(753.3696f, 45.09243f, 347.0511f), 1192) - { - AetherCurrentId = 2818480u - }; - ref QuestStep reference40 = ref span24[1]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1047911u, new Vector3(749.9961f, -12.716532f, 221.08789f), 1192); - num3 = 1; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - CollectionsMarshal.AsSpan(list46)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMF107_04952_SYSTEM_100_174") - }; - questStep13.DialogueChoices = list46; - reference40 = questStep13; - obj27.Steps = list45; - reference39 = obj27; - ref QuestSequence reference41 = ref span14[7]; - QuestSequence obj28 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047911u, new Vector3(749.9961f, -12.716532f, 221.08789f), 1192) - { - StopDistance = 5f - }; - obj28.Steps = list47; - reference41 = obj28; - questRoot3.QuestSequence = list32; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(4953); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - CollectionsMarshal.AsSpan(list48)[0] = "liza"; - questRoot4.Author = list48; - num = 5; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - Span span25 = CollectionsMarshal.AsSpan(list49); - ref QuestSequence reference42 = ref span25[0]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047915u, new Vector3(746.5476f, -12.716527f, 216.7544f), 1192) - { - StopDistance = 5f - }; - obj29.Steps = list50; - reference42 = obj29; - ref QuestSequence reference43 = ref span25[1]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - Span span26 = CollectionsMarshal.AsSpan(list51); - ref QuestStep reference44 = ref span26[0]; - QuestStep obj31 = new QuestStep(EInteractionType.Interact, 1048243u, new Vector3(57.87744f, 53.200012f, 772.03015f), 1192) - { - TargetTerritoryId = (ushort)1192, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - CollectionsMarshal.AsSpan(list52)[0] = new QuestId(5176); - skipStepConditions2.QuestsCompleted = list52; - skipConditions2.StepIf = skipStepConditions2; - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - CollectionsMarshal.AsSpan(list53)[0] = new QuestId(5176); - skipAetheryteCondition.QuestsCompleted = list53; - skipConditions2.AetheryteShortcutIf = skipAetheryteCondition; - obj31.SkipConditions = skipConditions2; - reference44 = obj31; - span26[1] = new QuestStep(EInteractionType.AcceptQuest, 1050621u, new Vector3(477.1344f, -0.034497976f, 711.6654f), 1192) - { - PickUpQuestId = new QuestId(5176) - }; - span26[2] = new QuestStep(EInteractionType.Interact, 1047917u, new Vector3(35.721313f, 53.20001f, 753.1699f), 1192) - { - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - obj30.Steps = list51; - reference43 = obj30; - ref QuestSequence reference45 = ref span25[2]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.Interact, 1047922u, new Vector3(353.04797f, 25.75336f, -11.551086f), 1192); - obj32.Steps = list54; - reference45 = obj32; - ref QuestSequence reference46 = ref span25[3]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - Span span27 = CollectionsMarshal.AsSpan(list55); - span27[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013982u, new Vector3(169.57349f, 29.220947f, -308.0644f), 1192) - { - AetherCurrentId = 2818487u - }; - span27[1] = new QuestStep(EInteractionType.Interact, 1047925u, new Vector3(260.02893f, 27.01824f, -183.61182f), 1192); - obj33.Steps = list55; - reference46 = obj33; - ref QuestSequence reference47 = ref span25[4]; - QuestSequence obj34 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047929u, new Vector3(345.2964f, 26.972605f, -296.37604f), 1192) - { - StopDistance = 7f - }; - obj34.Steps = list56; - reference47 = obj34; - questRoot4.QuestSequence = list49; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(4954); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - CollectionsMarshal.AsSpan(list57)[0] = "liza"; - questRoot5.Author = list57; - num = 8; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - Span span28 = CollectionsMarshal.AsSpan(list58); - ref QuestSequence reference48 = ref span28[0]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047929u, new Vector3(345.2964f, 26.972605f, -296.37604f), 1192) - { - StopDistance = 7f - }; - obj35.Steps = list59; - reference48 = obj35; - ref QuestSequence reference49 = ref span28[1]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.Interact, 1047932u, new Vector3(605.0659f, 27.724148f, -184.77148f), 1192); - obj36.Steps = list60; - reference49 = obj36; - ref QuestSequence reference50 = ref span28[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.Interact, 1047937u, new Vector3(586.8772f, 27.574875f, -195.20868f), 1192); - obj37.Steps = list61; - reference50 = obj37; - ref QuestSequence reference51 = ref span28[3]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - Span span29 = CollectionsMarshal.AsSpan(list62); - ref QuestStep reference52 = ref span29[0]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1047944u, new Vector3(665.5221f, 24.999493f, -266.55988f), 1192); - num3 = 6; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - Span span30 = CollectionsMarshal.AsSpan(list63); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list63; - reference52 = questStep14; - span29[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 1192) - { - Aetheryte = EAetheryteLocation.LivingMemoryLeynodePyro - }; - ref QuestStep reference53 = ref span29[2]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1047943u, new Vector3(653.7117f, 24.999493f, -303.18152f), 1192); - num3 = 6; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - Span span31 = CollectionsMarshal.AsSpan(list64); - span31[0] = null; - span31[1] = null; - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list64; - reference53 = questStep15; - ref QuestStep reference54 = ref span29[3]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1047942u, new Vector3(634.14966f, 24.999489f, -292.77484f), 1192); - num3 = 6; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - Span span32 = CollectionsMarshal.AsSpan(list65); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list65; - reference54 = questStep16; - obj38.Steps = list62; - reference51 = obj38; - ref QuestSequence reference55 = ref span28[4]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - ref QuestStep reference56 = ref CollectionsMarshal.AsSpan(list66)[0]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1047945u, new Vector3(514.7324f, 24.978758f, -126.57361f), 1192); - num3 = 1; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - CollectionsMarshal.AsSpan(list67)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMF109_04954_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGMF109_04954_A1_000_002") - }; - questStep17.DialogueChoices = list67; - reference56 = questStep17; - obj39.Steps = list66; - reference55 = obj39; - ref QuestSequence reference57 = ref span28[5]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Interact, 1047946u, new Vector3(501.45715f, 25.314697f, -140.39832f), 1192); - obj40.Steps = list68; - reference57 = obj40; - ref QuestSequence reference58 = ref span28[6]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1047939u, new Vector3(605.4933f, 27.724146f, -184.13062f), 1192); - obj41.Steps = list69; - reference58 = obj41; - ref QuestSequence reference59 = ref span28[7]; - QuestSequence obj42 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047947u, new Vector3(700.6179f, 27.99997f, -305.98926f), 1192) - { - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodePyro - }; - obj42.Steps = list70; - reference59 = obj42; - questRoot5.QuestSequence = list58; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(4955); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - CollectionsMarshal.AsSpan(list71)[0] = "liza"; - questRoot6.Author = list71; - num = 9; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - Span span33 = CollectionsMarshal.AsSpan(list72); - ref QuestSequence reference60 = ref span33[0]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047947u, new Vector3(700.6179f, 27.99997f, -305.98926f), 1192); - obj43.Steps = list73; - reference60 = obj43; - ref QuestSequence reference61 = ref span33[1]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.Interact, 2013779u, new Vector3(755.1842f, 35.99597f, -388.50995f), 1192); - obj44.Steps = list74; - reference61 = obj44; - ref QuestSequence reference62 = ref span33[2]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.Interact, 1047955u, new Vector3(712.76404f, 49.000027f, -570.24493f), 1192); - obj45.Steps = list75; - reference62 = obj45; - ref QuestSequence reference63 = ref span33[3]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - Span span34 = CollectionsMarshal.AsSpan(list76); - ref QuestStep reference64 = ref span34[0]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 2013780u, new Vector3(707.24023f, 50.06482f, -548.14984f), 1192); - num3 = 2; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - Span span35 = CollectionsMarshal.AsSpan(list77); - span35[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMF110_04955_SYSTEM_000_108") - }; - span35[1] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMF110_04955_SYSTEM_000_109"), - Yes = false - }; - questStep18.DialogueChoices = list77; - reference64 = questStep18; - ref QuestStep reference65 = ref span34[1]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 2013782u, new Vector3(722.25525f, 50.18689f, -573.6019f), 1192); - num3 = 2; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - Span span36 = CollectionsMarshal.AsSpan(list78); - span36[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMF110_04955_SYSTEM_000_108") - }; - span36[1] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMF110_04955_SYSTEM_000_109"), - Yes = false - }; - questStep19.DialogueChoices = list78; - reference65 = questStep19; - ref QuestStep reference66 = ref span34[2]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 1047955u, new Vector3(712.76404f, 49.000027f, -570.24493f), 1192); - num3 = 1; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - CollectionsMarshal.AsSpan(list79)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMF110_04955_SYSTEM_100_120") - }; - questStep20.DialogueChoices = list79; - reference66 = questStep20; - obj46.Steps = list76; - reference63 = obj46; - ref QuestSequence reference67 = ref span33[4]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - Span span37 = CollectionsMarshal.AsSpan(list80); - span37[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013979u, new Vector3(509.69702f, 36.972534f, -648.82886f), 1192) - { - AetherCurrentId = 2818481u - }; - span37[1] = new QuestStep(EInteractionType.Interact, 1047959u, new Vector3(485.55725f, 43.36743f, -692.83594f), 1192); - obj47.Steps = list80; - reference67 = obj47; - ref QuestSequence reference68 = ref span33[5]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - ref QuestStep reference69 = ref CollectionsMarshal.AsSpan(list81)[0]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1047959u, new Vector3(485.55725f, 43.36743f, -692.83594f), 1192); - num3 = 1; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - CollectionsMarshal.AsSpan(list82)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMF110_04955_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGMF110_04955_A1_000_003") - }; - questStep21.DialogueChoices = list82; - reference69 = questStep21; - obj48.Steps = list81; - reference68 = obj48; - ref QuestSequence reference70 = ref span33[6]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.Interact, 1047633u, new Vector3(448.32532f, 84.9995f, -655.8175f), 1192) - { - StopDistance = 5f - }; - obj49.Steps = list83; - reference70 = obj49; - ref QuestSequence reference71 = ref span33[7]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - ref QuestStep reference72 = ref CollectionsMarshal.AsSpan(list84)[0]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1047965u, new Vector3(485.2826f, 106.244576f, -331.92957f), 1192); - num3 = 1; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - CollectionsMarshal.AsSpan(list85)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMF110_04955_SYSTEM_000_244") - }; - questStep22.DialogueChoices = list85; - reference72 = questStep22; - obj50.Steps = list84; - reference71 = obj50; - ref QuestSequence reference73 = ref span33[8]; - QuestSequence obj51 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047966u, new Vector3(488.609f, 106.244576f, -333.8827f), 1192) - { - StopDistance = 5f - }; - obj51.Steps = list86; - reference73 = obj51; - questRoot6.QuestSequence = list72; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(4956); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - CollectionsMarshal.AsSpan(list87)[0] = "liza"; - questRoot7.Author = list87; - num = 5; - List list88 = new List(num); - CollectionsMarshal.SetCount(list88, num); - Span span38 = CollectionsMarshal.AsSpan(list88); - ref QuestSequence reference74 = ref span38[0]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047970u, new Vector3(485.16064f, 106.24457f, -331.899f), 1192) - { - StopDistance = 5f - }; - obj52.Steps = list89; - reference74 = obj52; - ref QuestSequence reference75 = ref span38[1]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - Span span39 = CollectionsMarshal.AsSpan(list90); - ref QuestStep reference76 = ref span39[0]; - QuestStep obj54 = new QuestStep(EInteractionType.AcceptQuest, 1050625u, new Vector3(628.6869f, 24.99949f, -283.3753f), 1192) - { - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodePyro - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num3 = 1; - List list91 = new List(num3); - CollectionsMarshal.SetCount(list91, num3); - CollectionsMarshal.AsSpan(list91)[0] = new QuestId(5178); - skipAetheryteCondition2.QuestsCompleted = list91; - skipConditions3.AetheryteShortcutIf = skipAetheryteCondition2; - obj54.SkipConditions = skipConditions3; - obj54.PickUpQuestId = new QuestId(5178); - reference76 = obj54; - ref QuestStep reference77 = ref span39[1]; - QuestStep obj55 = new QuestStep(EInteractionType.AcceptQuest, 1050632u, new Vector3(538.9944f, 25.001822f, -194.3847f), 1192) - { - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodePyro - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition3 = new SkipAetheryteCondition(); - num3 = 1; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - CollectionsMarshal.AsSpan(list92)[0] = new QuestId(5179); - skipAetheryteCondition3.QuestsCompleted = list92; - skipConditions4.AetheryteShortcutIf = skipAetheryteCondition3; - obj55.SkipConditions = skipConditions4; - obj55.PickUpQuestId = new QuestId(5179); - reference77 = obj55; - span39[2] = new QuestStep(EInteractionType.Interact, 1047971u, new Vector3(34.592163f, 53.20001f, 767.4829f), 1192) - { - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - obj53.Steps = list90; - reference75 = obj53; - ref QuestSequence reference78 = ref span38[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.Interact, 1047976u, new Vector3(-56.992493f, 53.20001f, 768.39856f), 1192); - obj56.Steps = list93; - reference78 = obj56; - ref QuestSequence reference79 = ref span38[3]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Interact, 1047981u, new Vector3(-184.06964f, 37.39f, 57.75537f), 1192); - obj57.Steps = list94; - reference79 = obj57; - ref QuestSequence reference80 = ref span38[4]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047986u, new Vector3(-242.237f, 31f, -68.40625f), 1192); - obj58.Steps = list95; - reference80 = obj58; - questRoot7.QuestSequence = list88; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(4957); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - CollectionsMarshal.AsSpan(list96)[0] = "liza"; - questRoot8.Author = list96; - num = 5; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - Span span40 = CollectionsMarshal.AsSpan(list97); - ref QuestSequence reference81 = ref span40[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047986u, new Vector3(-242.237f, 31f, -68.40625f), 1192); - obj59.Steps = list98; - reference81 = obj59; - ref QuestSequence reference82 = ref span40[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - Span span41 = CollectionsMarshal.AsSpan(list99); - ref QuestStep reference83 = ref span41[0]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1047991u, new Vector3(-208.72821f, 30.49966f, -177.01996f), 1192); - num3 = 6; - List list100 = new List(num3); - CollectionsMarshal.SetCount(list100, num3); - Span span42 = CollectionsMarshal.AsSpan(list100); - span42[0] = null; - span42[1] = null; - span42[2] = null; - span42[3] = null; - span42[4] = null; - span42[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list100; - reference83 = questStep23; - ref QuestStep reference84 = ref span41[1]; - QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 2013788u, new Vector3(-202.86877f, 29.984009f, -229.29736f), 1192); - num3 = 6; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - Span span43 = CollectionsMarshal.AsSpan(list101); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep24.CompletionQuestVariablesFlags = list101; - reference84 = questStep24; - ref QuestStep reference85 = ref span41[2]; - QuestStep questStep25 = new QuestStep(EInteractionType.Interact, 1047992u, new Vector3(-255.23767f, 31.341942f, -365.74353f), 1192); - num3 = 6; - List list102 = new List(num3); - CollectionsMarshal.SetCount(list102, num3); - Span span44 = CollectionsMarshal.AsSpan(list102); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep25.CompletionQuestVariablesFlags = list102; - reference85 = questStep25; - ref QuestStep reference86 = ref span41[3]; - QuestStep obj61 = new QuestStep(EInteractionType.Interact, 2013789u, new Vector3(-286.97644f, 29.984009f, -335.74432f), 1192) - { - DisableNavmesh = true, - Mount = true - }; - num3 = 6; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - Span span45 = CollectionsMarshal.AsSpan(list103); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - obj61.CompletionQuestVariablesFlags = list103; - reference86 = obj61; - span41[4] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 1192) - { - Aetheryte = EAetheryteLocation.LivingMemoryLeynodeAero - }; - ref QuestStep reference87 = ref span41[5]; - QuestStep questStep26 = new QuestStep(EInteractionType.Interact, 1047993u, new Vector3(-281.91046f, 54.31037f, -412.2835f), 1192); - num3 = 6; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - Span span46 = CollectionsMarshal.AsSpan(list104); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep26.CompletionQuestVariablesFlags = list104; - reference87 = questStep26; - obj60.Steps = list99; - reference82 = obj60; - ref QuestSequence reference88 = ref span40[2]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 1047994u, new Vector3(-247.7608f, 30.999998f, -71.27496f), 1192); - obj62.Steps = list105; - reference88 = obj62; - ref QuestSequence reference89 = ref span40[3]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - Span span47 = CollectionsMarshal.AsSpan(list106); - span47[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-371.89844f, 30.099947f, -84.85613f), 1192); - span47[1] = new QuestStep(EInteractionType.Interact, 2013790u, new Vector3(-333.9132f, 33.951294f, -132.79932f), 1192); - obj63.Steps = list106; - reference89 = obj63; - ref QuestSequence reference90 = ref span40[4]; - QuestSequence obj64 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - Span span48 = CollectionsMarshal.AsSpan(list107); - span48[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013983u, new Vector3(-484.18402f, 37.979614f, -50.003845f), 1192) - { - AetherCurrentId = 2818488u - }; - span48[1] = new QuestStep(EInteractionType.CompleteQuest, 1047999u, new Vector3(-521.0803f, -10.000387f, -445.76184f), 1192) - { - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeAero - }; - obj64.Steps = list107; - reference90 = obj64; - questRoot8.QuestSequence = list97; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(4958); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - CollectionsMarshal.AsSpan(list108)[0] = "liza"; - questRoot9.Author = list108; - num = 6; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - Span span49 = CollectionsMarshal.AsSpan(list109); - ref QuestSequence reference91 = ref span49[0]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047999u, new Vector3(-521.0803f, -10.000387f, -445.76184f), 1192); - obj65.Steps = list110; - reference91 = obj65; - ref QuestSequence reference92 = ref span49[1]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - ref QuestStep reference93 = ref CollectionsMarshal.AsSpan(list111)[0]; - QuestStep obj67 = new QuestStep(EInteractionType.Interact, 1048004u, new Vector3(-523.03357f, -10.000407f, -445.57874f), 1192) - { - StopDistance = 7f - }; - num3 = 1; - List list112 = new List(num3); - CollectionsMarshal.SetCount(list112, num3); - CollectionsMarshal.AsSpan(list112)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMF113_04958_SYSTEM_000_031") - }; - obj67.DialogueChoices = list112; - reference93 = obj67; - obj66.Steps = list111; - reference92 = obj66; - ref QuestSequence reference94 = ref span49[2]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.Interact, 1048008u, new Vector3(-528.58777f, -10.000336f, -466.97186f), 1192) - { - StopDistance = 5f - }; - obj68.Steps = list113; - reference94 = obj68; - ref QuestSequence reference95 = ref span49[3]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - Span span50 = CollectionsMarshal.AsSpan(list114); - span50[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013980u, new Vector3(-559.5941f, -6.0273438f, -508.53745f), 1192) - { - AetherCurrentId = 2818482u - }; - span50[1] = new QuestStep(EInteractionType.Interact, 1048009u, new Vector3(-485.86255f, 7.300079f, -705.4398f), 1192); - obj69.Steps = list114; - reference95 = obj69; - ref QuestSequence reference96 = ref span49[4]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - ref QuestStep reference97 = ref CollectionsMarshal.AsSpan(list115)[0]; - QuestStep questStep27 = new QuestStep(EInteractionType.Interact, 1048011u, new Vector3(-500.51117f, 18.990517f, -839.353f), 1192); - num3 = 1; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - CollectionsMarshal.AsSpan(list116)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMF113_04958_SYSTEM_000_124") - }; - questStep27.DialogueChoices = list116; - reference97 = questStep27; - obj70.Steps = list115; - reference96 = obj70; - ref QuestSequence reference98 = ref span49[5]; - QuestSequence obj71 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048011u, new Vector3(-500.51117f, 18.990517f, -839.353f), 1192) - { - StopDistance = 5f - }; - obj71.Steps = list117; - reference98 = obj71; - questRoot9.QuestSequence = list109; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(4959); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - CollectionsMarshal.AsSpan(list118)[0] = "liza"; - questRoot10.Author = list118; - num = 7; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - Span span51 = CollectionsMarshal.AsSpan(list119); - ref QuestSequence reference99 = ref span51[0]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048011u, new Vector3(-500.51117f, 18.990517f, -839.353f), 1192) - { - StopDistance = 5f - }; - obj72.Steps = list120; - reference99 = obj72; - ref QuestSequence reference100 = ref span51[1]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - Span span52 = CollectionsMarshal.AsSpan(list121); - span52[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(3.7348669f, 50.12495f, 660.56006f), 1192) - { - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span52[1] = new QuestStep(EInteractionType.Interact, 1048014u, new Vector3(-0.13739014f, 50.124947f, 363.05774f), 1192) - { - Fly = true - }; - obj73.Steps = list121; - reference100 = obj73; - ref QuestSequence reference101 = ref span51[2]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.Duty, null, null, 1192) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 827u - } - }; - obj74.Steps = list122; - reference101 = obj74; - span51[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference102 = ref span51[4]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.Duty, null, null, 1221) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 984u - } - }; - obj75.Steps = list123; - reference102 = obj75; - span51[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference103 = ref span51[6]; - QuestSequence obj76 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048022u, new Vector3(-160.7843f, -14.999356f, 204.42505f), 1185) - { - StopDistance = 7f - }; - obj76.Steps = list124; - reference103 = obj76; - questRoot10.QuestSequence = list119; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(4960); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list125 = new List(num); - CollectionsMarshal.SetCount(list125, num); - CollectionsMarshal.AsSpan(list125)[0] = "liza"; - questRoot11.Author = list125; - num = 3; - List list126 = new List(num); - CollectionsMarshal.SetCount(list126, num); - Span span53 = CollectionsMarshal.AsSpan(list126); - ref QuestSequence reference104 = ref span53[0]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049786u, new Vector3(340.13867f, 50.75f, 231.37244f), 1186) - { - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineTheArcadion - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj77.Steps = list127; - reference104 = obj77; - ref QuestSequence reference105 = ref span53[1]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - ref QuestStep reference106 = ref CollectionsMarshal.AsSpan(list128)[0]; - QuestStep questStep28 = new QuestStep(EInteractionType.Interact, 1049787u, new Vector3(364.3396f, 60.125f, 357.1068f), 1186); - num3 = 1; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - CollectionsMarshal.AsSpan(list129)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGRA101_04960_SYSTEM_100_030") - }; - questStep28.DialogueChoices = list129; - reference106 = questStep28; - obj78.Steps = list128; - reference105 = obj78; - ref QuestSequence reference107 = ref span53[2]; - QuestSequence obj79 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.CompleteQuest, 1049788u, new Vector3(1.6021729f, 0f, -6.088379f), 1224) - { - StopDistance = 5f, - NextQuestId = new QuestId(4961) - }; - obj79.Steps = list130; - reference107 = obj79; - questRoot11.QuestSequence = list126; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(4961); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list131 = new List(num); - CollectionsMarshal.SetCount(list131, num); - CollectionsMarshal.AsSpan(list131)[0] = "liza"; - questRoot12.Author = list131; - num = 3; - List list132 = new List(num); - CollectionsMarshal.SetCount(list132, num); - Span span54 = CollectionsMarshal.AsSpan(list132); - ref QuestSequence reference108 = ref span54[0]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - Span span55 = CollectionsMarshal.AsSpan(list133); - ref QuestStep reference109 = ref span55[0]; - QuestStep obj81 = new QuestStep(EInteractionType.Interact, 1049793u, new Vector3(364.3396f, 60.125f, 357.1068f), 1186) - { - TargetTerritoryId = (ushort)1224, - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineTheArcadion - } - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list134 = new List(num3); - CollectionsMarshal.SetCount(list134, num3); - CollectionsMarshal.AsSpan(list134)[0] = 1224; - skipStepConditions3.InTerritory = list134; - skipStepConditions3.NearPosition = new NearPositionCondition - { - Position = new Vector3(1.6021729f, 0f, -6.088379f), - MaximumDistance = 100f, - TerritoryId = 1224 - }; - skipConditions5.StepIf = skipStepConditions3; - SkipAetheryteCondition skipAetheryteCondition4 = new SkipAetheryteCondition(); - num3 = 1; - List list135 = new List(num3); - CollectionsMarshal.SetCount(list135, num3); - CollectionsMarshal.AsSpan(list135)[0] = 1224; - skipAetheryteCondition4.InTerritory = list135; - skipConditions5.AetheryteShortcutIf = skipAetheryteCondition4; - obj81.SkipConditions = skipConditions5; - reference109 = obj81; - span55[1] = new QuestStep(EInteractionType.AcceptQuest, 1049788u, new Vector3(1.6021729f, 0f, -6.088379f), 1224) - { - StopDistance = 5f - }; - obj80.Steps = list133; - reference108 = obj80; - ref QuestSequence reference110 = ref span54[1]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.Duty, null, null, 1224) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 985u - } - }; - obj82.Steps = list136; - reference110 = obj82; - ref QuestSequence reference111 = ref span54[2]; - QuestSequence obj83 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050476u, new Vector3(0.1373291f, -3.3667622E-13f, -9.658997f), 1224) - { - StopDistance = 7f, - NextQuestId = new QuestId(4962) - }; - obj83.Steps = list137; - reference111 = obj83; - questRoot12.QuestSequence = list132; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(4962); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - CollectionsMarshal.AsSpan(list138)[0] = "liza"; - questRoot13.Author = list138; - num = 4; - List list139 = new List(num); - CollectionsMarshal.SetCount(list139, num); - Span span56 = CollectionsMarshal.AsSpan(list139); - ref QuestSequence reference112 = ref span56[0]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050476u, new Vector3(0.1373291f, -3.3667622E-13f, -9.658997f), 1224) - { - StopDistance = 7f - }; - obj84.Steps = list140; - reference112 = obj84; - ref QuestSequence reference113 = ref span56[1]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.Duty, null, null, 1224) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 987u - } - }; - obj85.Steps = list141; - reference113 = obj85; - ref QuestSequence reference114 = ref span56[2]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.Interact, 1050476u, new Vector3(0.1373291f, -3.3667622E-13f, -9.658997f), 1224) - { - StopDistance = 7f - }; - obj86.Steps = list142; - reference114 = obj86; - ref QuestSequence reference115 = ref span56[3]; - QuestSequence obj87 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050477u, new Vector3(1.663208f, -1.9688797E-12f, -10.727112f), 1224) - { - StopDistance = 7f, - NextQuestId = new QuestId(4963) - }; - obj87.Steps = list143; - reference115 = obj87; - questRoot13.QuestSequence = list139; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(4963); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list144 = new List(num); - CollectionsMarshal.SetCount(list144, num); - CollectionsMarshal.AsSpan(list144)[0] = "liza"; - questRoot14.Author = list144; - num = 3; - List list145 = new List(num); - CollectionsMarshal.SetCount(list145, num); - Span span57 = CollectionsMarshal.AsSpan(list145); - ref QuestSequence reference116 = ref span57[0]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050477u, new Vector3(1.663208f, -1.9688797E-12f, -10.727112f), 1224) - { - StopDistance = 7f - }; - obj88.Steps = list146; - reference116 = obj88; - ref QuestSequence reference117 = ref span57[1]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.Interact, 1049790u, new Vector3(494.7433f, 59.55f, 125.10864f), 1186) - { - StopDistance = 5f - }; - obj89.Steps = list147; - reference117 = obj89; - ref QuestSequence reference118 = ref span57[2]; - QuestSequence obj90 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - Span span58 = CollectionsMarshal.AsSpan(list148); - span58[0] = new QuestStep(EInteractionType.Interact, 1049793u, new Vector3(364.3396f, 60.125f, 357.1068f), 1186) - { - TargetTerritoryId = (ushort)1224, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineTrueVue, - To = EAetheryteLocation.SolutionNineTheArcadion - } - }; - span58[1] = new QuestStep(EInteractionType.CompleteQuest, 1049789u, new Vector3(2.3651123f, -4.334177E-12f, -14.206177f), 1224) - { - StopDistance = 7f, - NextQuestId = new QuestId(4964) - }; - obj90.Steps = list148; - reference118 = obj90; - questRoot14.QuestSequence = list145; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(4964); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list149 = new List(num); - CollectionsMarshal.SetCount(list149, num); - CollectionsMarshal.AsSpan(list149)[0] = "liza"; - questRoot15.Author = list149; - num = 4; - List list150 = new List(num); - CollectionsMarshal.SetCount(list150, num); - Span span59 = CollectionsMarshal.AsSpan(list150); - ref QuestSequence reference119 = ref span59[0]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049789u, new Vector3(2.3651123f, -4.334177E-12f, -14.206177f), 1224) - { - StopDistance = 7f - }; - obj91.Steps = list151; - reference119 = obj91; - ref QuestSequence reference120 = ref span59[1]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.Duty, null, null, 1224) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 989u - } - }; - obj92.Steps = list152; - reference120 = obj92; - ref QuestSequence reference121 = ref span59[2]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.Interact, 1050477u, new Vector3(1.663208f, -1.9688797E-12f, -10.727112f), 1224) - { - StopDistance = 7f - }; - obj93.Steps = list153; - reference121 = obj93; - ref QuestSequence reference122 = ref span59[3]; - QuestSequence obj94 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050477u, new Vector3(1.663208f, -1.9688797E-12f, -10.727112f), 1224) - { - StopDistance = 7f, - NextQuestId = new QuestId(4965) - }; - obj94.Steps = list154; - reference122 = obj94; - questRoot15.QuestSequence = list150; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(4965); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list155 = new List(num); - CollectionsMarshal.SetCount(list155, num); - CollectionsMarshal.AsSpan(list155)[0] = "liza"; - questRoot16.Author = list155; - num = 5; - List list156 = new List(num); - CollectionsMarshal.SetCount(list156, num); - Span span60 = CollectionsMarshal.AsSpan(list156); - ref QuestSequence reference123 = ref span60[0]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049792u, new Vector3(1.663208f, -1.9688797E-12f, -10.727112f), 1224) - { - StopDistance = 7f - }; - obj95.Steps = list157; - reference123 = obj95; - ref QuestSequence reference124 = ref span60[1]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.Duty, null, null, 1224) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 991u - } - }; - obj96.Steps = list158; - reference124 = obj96; - ref QuestSequence reference125 = ref span60[2]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.Interact, 1050477u, new Vector3(1.663208f, -1.9688797E-12f, -10.727112f), 1224) - { - StopDistance = 7f - }; - obj97.Steps = list159; - reference125 = obj97; - ref QuestSequence reference126 = ref span60[3]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - Span span61 = CollectionsMarshal.AsSpan(list160); - span61[0] = new QuestStep(EInteractionType.Interact, 2013722u, new Vector3(-0.07635498f, 1.0527954f, 8.102478f), 1224) - { - TargetTerritoryId = (ushort)1186 - }; - span61[1] = new QuestStep(EInteractionType.Interact, 1049790u, new Vector3(494.7433f, 59.55f, 125.10864f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineTheArcadion, - To = EAetheryteLocation.SolutionNineTrueVue - } - }; - obj98.Steps = list160; - reference126 = obj98; - ref QuestSequence reference127 = ref span60[4]; - QuestSequence obj99 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.CompleteQuest, 1049790u, new Vector3(494.7433f, 59.55f, 125.10864f), 1186) - { - NextQuestId = new QuestId(5289) - }; - obj99.Steps = list161; - reference127 = obj99; - questRoot16.QuestSequence = list156; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(4966); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list162 = new List(num); - CollectionsMarshal.SetCount(list162, num); - CollectionsMarshal.AsSpan(list162)[0] = "liza"; - questRoot17.Author = list162; - num = 2; - List list163 = new List(num); - CollectionsMarshal.SetCount(list163, num); - Span span62 = CollectionsMarshal.AsSpan(list163); - ref QuestSequence reference128 = ref span62[0]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047095u, new Vector3(139.5437f, -13.99f, 10.60498f), 1185); - obj100.Steps = list164; - reference128 = obj100; - ref QuestSequence reference129 = ref span62[1]; - QuestSequence obj101 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047095u, new Vector3(139.5437f, -13.99f, 10.60498f), 1185); - obj101.Steps = list165; - reference129 = obj101; - questRoot17.QuestSequence = list163; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(4967); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list166 = new List(num); - CollectionsMarshal.SetCount(list166, num); - CollectionsMarshal.AsSpan(list166)[0] = "plogon_enjoyer"; - questRoot18.Author = list166; - num = 12; - List list167 = new List(num); - CollectionsMarshal.SetCount(list167, num); - Span span63 = CollectionsMarshal.AsSpan(list167); - ref QuestSequence reference130 = ref span63[0]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047095u, new Vector3(139.5437f, -13.99f, 10.60498f), 1185); - obj102.Steps = list168; - reference130 = obj102; - ref QuestSequence reference131 = ref span63[1]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.Interact, 2014440u, new Vector3(-100.23657f, -19.882507f, 211.13904f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalWachumeqimeqi, - To = EAetheryteLocation.TuliyollalTheForardCabins - } - }; - obj103.Steps = list169; - reference131 = obj103; - ref QuestSequence reference132 = ref span63[2]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.Interact, 1052476u, new Vector3(-100.175476f, -19.798239f, 209.73523f), 1185); - obj104.Steps = list170; - reference132 = obj104; - ref QuestSequence reference133 = ref span63[3]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - ref QuestStep reference134 = ref CollectionsMarshal.AsSpan(list171)[0]; - QuestStep questStep29 = new QuestStep(EInteractionType.Interact, 1047183u, new Vector3(-194.93408f, 28f, -553.1548f), 1191); - num3 = 1; - List list172 = new List(num3); - CollectionsMarshal.SetCount(list172, num3); - CollectionsMarshal.AsSpan(list172)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGLZ001_04967_Q2_000_000"), - Answer = new ExcelRef("TEXT_KINGLZ001_04967_A2_000_001") - }; - questStep29.DialogueChoices = list172; - reference134 = questStep29; - obj105.Steps = list171; - reference133 = obj105; - ref QuestSequence reference135 = ref span63[4]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - Span span64 = CollectionsMarshal.AsSpan(list173); - span64[0] = new QuestStep(EInteractionType.Interact, 1047173u, new Vector3(-283.0396f, 37.000023f, -573.7545f), 1191) - { - Fly = true - }; - span64[1] = new QuestStep(EInteractionType.Interact, 1047174u, new Vector3(-138.35364f, 42.999657f, -663.2639f), 1191) - { - Fly = true - }; - obj106.Steps = list173; - reference135 = obj106; - ref QuestSequence reference136 = ref span63[5]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.Interact, 1047095u, new Vector3(139.5437f, -13.99f, 10.60498f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalWachumeqimeqi - } - }; - obj107.Steps = list174; - reference136 = obj107; - ref QuestSequence reference137 = ref span63[6]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.Interact, 1047177u, new Vector3(-272.54144f, -9.063631E-06f, 143.57214f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalWachumeqimeqi, - To = EAetheryteLocation.TuliyollalTheForardCabins - } - }; - obj108.Steps = list175; - reference137 = obj108; - ref QuestSequence reference138 = ref span63[7]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - CollectionsMarshal.AsSpan(list176)[0] = new QuestStep(EInteractionType.Interact, 1047179u, new Vector3(109.147705f, 42f, -353.29218f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalTheForardCabins, - To = EAetheryteLocation.TuliyollalBrightploomPost - } - }; - obj109.Steps = list176; - reference138 = obj109; - ref QuestSequence reference139 = ref span63[8]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.Interact, 1047133u, new Vector3(180.37683f, -13.99f, 1.9073486f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalBrightploomPost, - To = EAetheryteLocation.TuliyollalWachumeqimeqi - } - }; - obj110.Steps = list177; - reference139 = obj110; - ref QuestSequence reference140 = ref span63[9]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 9 - }; - num2 = 3; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - Span span65 = CollectionsMarshal.AsSpan(list178); - span65[0] = new QuestStep(EInteractionType.Interact, 2014437u, new Vector3(166.8269f, -14.023071f, 3.2807007f), 1185); - span65[1] = new QuestStep(EInteractionType.Interact, 2014438u, new Vector3(203.05176f, -14.023071f, 11.642578f), 1185); - span65[2] = new QuestStep(EInteractionType.Interact, 2014439u, new Vector3(232.95947f, -14.023071f, -9.99469f), 1185); - obj111.Steps = list178; - reference140 = obj111; - ref QuestSequence reference141 = ref span63[10]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - ref QuestStep reference142 = ref CollectionsMarshal.AsSpan(list179)[0]; - QuestStep questStep30 = new QuestStep(EInteractionType.Interact, 1047095u, new Vector3(139.5437f, -13.99f, 10.60498f), 1185); - num3 = 1; - List list180 = new List(num3); - CollectionsMarshal.SetCount(list180, num3); - CollectionsMarshal.AsSpan(list180)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGLZ001_04967_Q3_000_302") - }; - questStep30.DialogueChoices = list180; - reference142 = questStep30; - obj112.Steps = list179; - reference141 = obj112; - ref QuestSequence reference143 = ref span63[11]; - QuestSequence obj113 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047095u, new Vector3(139.5437f, -13.99f, 10.60498f), 1185); - obj113.Steps = list181; - reference143 = obj113; - questRoot18.QuestSequence = list167; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(4989); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list182 = new List(num); - CollectionsMarshal.SetCount(list182, num); - CollectionsMarshal.AsSpan(list182)[0] = "liza"; - questRoot19.Author = list182; - num = 2; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - Span span66 = CollectionsMarshal.AsSpan(list183); - ref QuestSequence reference144 = ref span66[0]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - CollectionsMarshal.AsSpan(list184)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047151u, new Vector3(130.2052f, -14f, 16.952698f), 1185); - obj114.Steps = list184; - reference144 = obj114; - ref QuestSequence reference145 = ref span66[1]; - QuestSequence obj115 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047164u, new Vector3(217.21204f, -14f, -8.316223f), 1185) - { - NextQuestId = new QuestId(4990) - }; - obj115.Steps = list185; - reference145 = obj115; - questRoot19.QuestSequence = list183; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(4990); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list186 = new List(num); - CollectionsMarshal.SetCount(list186, num); - CollectionsMarshal.AsSpan(list186)[0] = "liza"; - questRoot20.Author = list186; - num = 2; - List list187 = new List(num); - CollectionsMarshal.SetCount(list187, num); - Span span67 = CollectionsMarshal.AsSpan(list187); - ref QuestSequence reference146 = ref span67[0]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - CollectionsMarshal.AsSpan(list188)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047132u, new Vector3(217.36475f, -14.000001f, -5.6916504f), 1185); - obj116.Steps = list188; - reference146 = obj116; - ref QuestSequence reference147 = ref span67[1]; - QuestSequence obj117 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - Span span68 = CollectionsMarshal.AsSpan(list189); - ref QuestStep reference148 = ref span68[0]; - QuestStep questStep31 = new QuestStep(EInteractionType.Gather, null, null, 1185); - num3 = 1; - List list190 = new List(num3); - CollectionsMarshal.SetCount(list190, num3); - CollectionsMarshal.AsSpan(list190)[0] = new GatheredItem - { - ItemId = 43899u, - ItemCount = 6, - Collectability = 600 - }; - questStep31.ItemsToGather = list190; - reference148 = questStep31; - span68[1] = new QuestStep(EInteractionType.CompleteQuest, 1047132u, new Vector3(217.36475f, -14.000001f, -5.6916504f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalWachumeqimeqi - }, - NextQuestId = new QuestId(4991) - }; - obj117.Steps = list189; - reference147 = obj117; - questRoot20.QuestSequence = list187; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(4991); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list191 = new List(num); - CollectionsMarshal.SetCount(list191, num); - CollectionsMarshal.AsSpan(list191)[0] = "liza"; - questRoot21.Author = list191; - num = 2; - List list192 = new List(num); - CollectionsMarshal.SetCount(list192, num); - Span span69 = CollectionsMarshal.AsSpan(list192); - ref QuestSequence reference149 = ref span69[0]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047132u, new Vector3(217.36475f, -14.000001f, -5.6916504f), 1185); - obj118.Steps = list193; - reference149 = obj118; - ref QuestSequence reference150 = ref span69[1]; - QuestSequence obj119 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - Span span70 = CollectionsMarshal.AsSpan(list194); - ref QuestStep reference151 = ref span70[0]; - QuestStep questStep32 = new QuestStep(EInteractionType.Gather, null, null, 1185); - num3 = 1; - List list195 = new List(num3); - CollectionsMarshal.SetCount(list195, num3); - CollectionsMarshal.AsSpan(list195)[0] = new GatheredItem - { - ItemId = 43900u, - ItemCount = 6, - Collectability = 600 - }; - questStep32.ItemsToGather = list195; - reference151 = questStep32; - span70[1] = new QuestStep(EInteractionType.CompleteQuest, 1047132u, new Vector3(217.36475f, -14.000001f, -5.6916504f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalWachumeqimeqi - }, - NextQuestId = new QuestId(4992) - }; - obj119.Steps = list194; - reference150 = obj119; - questRoot21.QuestSequence = list192; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(4992); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list196 = new List(num); - CollectionsMarshal.SetCount(list196, num); - CollectionsMarshal.AsSpan(list196)[0] = "liza"; - questRoot22.Author = list196; - num = 2; - List list197 = new List(num); - CollectionsMarshal.SetCount(list197, num); - Span span71 = CollectionsMarshal.AsSpan(list197); - ref QuestSequence reference152 = ref span71[0]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - CollectionsMarshal.AsSpan(list198)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047132u, new Vector3(217.36475f, -14.000001f, -5.6916504f), 1185); - obj120.Steps = list198; - reference152 = obj120; - ref QuestSequence reference153 = ref span71[1]; - QuestSequence obj121 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - Span span72 = CollectionsMarshal.AsSpan(list199); - ref QuestStep reference154 = ref span72[0]; - QuestStep questStep33 = new QuestStep(EInteractionType.Gather, null, null, 1185); - num3 = 1; - List list200 = new List(num3); - CollectionsMarshal.SetCount(list200, num3); - CollectionsMarshal.AsSpan(list200)[0] = new GatheredItem - { - ItemId = 43901u, - ItemCount = 6, - Collectability = 600 - }; - questStep33.ItemsToGather = list200; - reference154 = questStep33; - span72[1] = new QuestStep(EInteractionType.CompleteQuest, 1047132u, new Vector3(217.36475f, -14.000001f, -5.6916504f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalWachumeqimeqi - }, - NextQuestId = new QuestId(4993) - }; - obj121.Steps = list199; - reference153 = obj121; - questRoot22.QuestSequence = list197; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(4993); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list201 = new List(num); - CollectionsMarshal.SetCount(list201, num); - CollectionsMarshal.AsSpan(list201)[0] = "liza"; - questRoot23.Author = list201; - num = 3; - List list202 = new List(num); - CollectionsMarshal.SetCount(list202, num); - Span span73 = CollectionsMarshal.AsSpan(list202); - ref QuestSequence reference155 = ref span73[0]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047132u, new Vector3(217.36475f, -14.000001f, -5.6916504f), 1185); - obj122.Steps = list203; - reference155 = obj122; - ref QuestSequence reference156 = ref span73[1]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.Interact, 1047153u, new Vector3(-270.4662f, 40.0732f, -12.253052f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalWachumeqimeqi, - To = EAetheryteLocation.TuliyollalTheResplendentQuarter - } - }; - obj123.Steps = list204; - reference156 = obj123; - ref QuestSequence reference157 = ref span73[2]; - QuestSequence obj124 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - Span span74 = CollectionsMarshal.AsSpan(list205); - ref QuestStep reference158 = ref span74[0]; - QuestStep questStep34 = new QuestStep(EInteractionType.Gather, null, null, 1185); - num3 = 1; - List list206 = new List(num3); - CollectionsMarshal.SetCount(list206, num3); - CollectionsMarshal.AsSpan(list206)[0] = new GatheredItem - { - ItemId = 43913u, - ItemCount = 1 - }; - questStep34.ItemsToGather = list206; - reference158 = questStep34; - span74[1] = new QuestStep(EInteractionType.CompleteQuest, 1047132u, new Vector3(217.36475f, -14.000001f, -5.6916504f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalWachumeqimeqi - }, - NextQuestId = new QuestId(4994) - }; - obj124.Steps = list205; - reference157 = obj124; - questRoot23.QuestSequence = list202; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(4994); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - CollectionsMarshal.AsSpan(list207)[0] = "liza"; - questRoot24.Author = list207; - num = 2; - List list208 = new List(num); - CollectionsMarshal.SetCount(list208, num); - Span span75 = CollectionsMarshal.AsSpan(list208); - ref QuestSequence reference159 = ref span75[0]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047132u, new Vector3(217.36475f, -14.000001f, -5.6916504f), 1185); - obj125.Steps = list209; - reference159 = obj125; - ref QuestSequence reference160 = ref span75[1]; - QuestSequence obj126 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - Span span76 = CollectionsMarshal.AsSpan(list210); - ref QuestStep reference161 = ref span76[0]; - QuestStep questStep35 = new QuestStep(EInteractionType.Gather, null, null, 1185); - num3 = 1; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - CollectionsMarshal.AsSpan(list211)[0] = new GatheredItem - { - ItemId = 43902u, - ItemCount = 6, - Collectability = 600 - }; - questStep35.ItemsToGather = list211; - reference161 = questStep35; - span76[1] = new QuestStep(EInteractionType.CompleteQuest, 1047132u, new Vector3(217.36475f, -14.000001f, -5.6916504f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalWachumeqimeqi - }, - NextQuestId = new QuestId(4995) - }; - obj126.Steps = list210; - reference160 = obj126; - questRoot24.QuestSequence = list208; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(4995); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list212 = new List(num); - CollectionsMarshal.SetCount(list212, num); - CollectionsMarshal.AsSpan(list212)[0] = "liza"; - questRoot25.Author = list212; - num = 9; - List list213 = new List(num); - CollectionsMarshal.SetCount(list213, num); - Span span77 = CollectionsMarshal.AsSpan(list213); - ref QuestSequence reference162 = ref span77[0]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047132u, new Vector3(217.36475f, -14.000001f, -5.6916504f), 1185); - obj127.Steps = list214; - reference162 = obj127; - ref QuestSequence reference163 = ref span77[1]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.Interact, 1047155u, new Vector3(746.24243f, -133.18861f, 507.5608f), 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelMamook - }; - obj128.Steps = list215; - reference163 = obj128; - ref QuestSequence reference164 = ref span77[2]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - Span span78 = CollectionsMarshal.AsSpan(list216); - ref QuestStep reference165 = ref span78[0]; - QuestStep obj130 = new QuestStep(EInteractionType.Interact, 1048981u, new Vector3(686.51855f, -137.174f, 534.8745f), 1189) - { - Fly = true - }; - num3 = 6; - List list217 = new List(num3); - CollectionsMarshal.SetCount(list217, num3); - Span span79 = CollectionsMarshal.AsSpan(list217); - span79[0] = null; - span79[1] = null; - span79[2] = null; - span79[3] = null; - span79[4] = null; - span79[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj130.CompletionQuestVariablesFlags = list217; - reference165 = obj130; - ref QuestStep reference166 = ref span78[1]; - QuestStep obj131 = new QuestStep(EInteractionType.Interact, 1048973u, new Vector3(661.86f, -135.17876f, 582.11633f), 1189) - { - StopDistance = 4f - }; - num3 = 6; - List list218 = new List(num3); - CollectionsMarshal.SetCount(list218, num3); - Span span80 = CollectionsMarshal.AsSpan(list218); - span80[0] = null; - span80[1] = null; - span80[2] = null; - span80[3] = null; - span80[4] = null; - span80[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj131.CompletionQuestVariablesFlags = list218; - reference166 = obj131; - ref QuestStep reference167 = ref span78[2]; - QuestStep questStep36 = new QuestStep(EInteractionType.Interact, 1047156u, new Vector3(632.5017f, -137.17401f, 590.8445f), 1189); - num3 = 6; - List list219 = new List(num3); - CollectionsMarshal.SetCount(list219, num3); - Span span81 = CollectionsMarshal.AsSpan(list219); - span81[0] = null; - span81[1] = null; - span81[2] = null; - span81[3] = null; - span81[4] = null; - span81[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep36.CompletionQuestVariablesFlags = list219; - reference167 = questStep36; - ref QuestStep reference168 = ref span78[3]; - QuestStep questStep37 = new QuestStep(EInteractionType.Interact, 1048974u, new Vector3(621.51514f, -135.12726f, 531.1207f), 1189); - num3 = 6; - List list220 = new List(num3); - CollectionsMarshal.SetCount(list220, num3); - Span span82 = CollectionsMarshal.AsSpan(list220); - span82[0] = null; - span82[1] = null; - span82[2] = null; - span82[3] = null; - span82[4] = null; - span82[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep37.CompletionQuestVariablesFlags = list220; - reference168 = questStep37; - obj129.Steps = list216; - reference164 = obj129; - ref QuestSequence reference169 = ref span77[3]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - Span span83 = CollectionsMarshal.AsSpan(list221); - ref QuestStep reference170 = ref span83[0]; - QuestStep obj133 = new QuestStep(EInteractionType.Interact, 1047158u, new Vector3(539.69617f, -142.49185f, 481.65088f), 1189) - { - Fly = true - }; - num3 = 6; - List list222 = new List(num3); - CollectionsMarshal.SetCount(list222, num3); - Span span84 = CollectionsMarshal.AsSpan(list222); - span84[0] = null; - span84[1] = null; - span84[2] = null; - span84[3] = null; - span84[4] = null; - span84[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj133.CompletionQuestVariablesFlags = list222; - reference170 = obj133; - ref QuestStep reference171 = ref span83[1]; - QuestStep obj134 = new QuestStep(EInteractionType.Interact, 1047157u, new Vector3(586.26685f, -142.4984f, 462.97388f), 1189) - { - Fly = true - }; - num3 = 6; - List list223 = new List(num3); - CollectionsMarshal.SetCount(list223, num3); - Span span85 = CollectionsMarshal.AsSpan(list223); - span85[0] = null; - span85[1] = null; - span85[2] = null; - span85[3] = null; - span85[4] = null; - span85[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj134.CompletionQuestVariablesFlags = list223; - reference171 = obj134; - obj132.Steps = list221; - reference169 = obj132; - ref QuestSequence reference172 = ref span77[4]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.Interact, 1047159u, new Vector3(191.45496f, -160.64616f, 414.0536f), 1189) - { - Fly = true - }; - obj135.Steps = list224; - reference172 = obj135; - ref QuestSequence reference173 = ref span77[5]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.Interact, 1047160u, new Vector3(664.6067f, 1.554378f, -477.22595f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook - }; - obj136.Steps = list225; - reference173 = obj136; - ref QuestSequence reference174 = ref span77[6]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 6 - }; - num2 = 5; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - Span span86 = CollectionsMarshal.AsSpan(list226); - span86[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(436.87848f, 4.0999737f, -551.09174f), 1189) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - ref QuestStep reference175 = ref span86[1]; - QuestStep questStep38 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list227 = new List(num3); - CollectionsMarshal.SetCount(list227, num3); - CollectionsMarshal.AsSpan(list227)[0] = new GatheredItem - { - ItemId = 43914u, - ItemCount = 1 - }; - questStep38.ItemsToGather = list227; - reference175 = questStep38; - span86[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(674.17834f, -33.187485f, -598.0982f), 1189) - { - Fly = true - }; - span86[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(674.17834f, -0.6f, -598.0982f), 1189) - { - DisableNavmesh = true, - Fly = true - }; - span86[4] = new QuestStep(EInteractionType.Interact, 1047160u, new Vector3(664.6067f, 1.554378f, -477.22595f), 1189) - { - Fly = true - }; - obj137.Steps = list226; - reference174 = obj137; - ref QuestSequence reference176 = ref span77[7]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.Interact, 1047132u, new Vector3(217.36475f, -14.000001f, -5.6916504f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalWachumeqimeqi - } - }; - obj138.Steps = list228; - reference176 = obj138; - ref QuestSequence reference177 = ref span77[8]; - QuestSequence obj139 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.CompleteQuest, 1047132u, new Vector3(217.36475f, -14.000001f, -5.6916504f), 1185); - obj139.Steps = list229; - reference177 = obj139; - questRoot25.QuestSequence = list213; - AddQuest(questId25, questRoot25); - } - - private static void LoadQuests100() - { - QuestId questId = new QuestId(5003); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 1; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - ref QuestSequence reference = ref CollectionsMarshal.AsSpan(list2)[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048390u, new Vector3(15.243713f, -14.000001f, 85.83191f), 1185); - obj.Steps = list3; - reference = obj; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(5004); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list4 = new List(num); - CollectionsMarshal.SetCount(list4, num); - CollectionsMarshal.AsSpan(list4)[0] = "liza"; - questRoot2.Author = list4; - num = 1; - List list5 = new List(num); - CollectionsMarshal.SetCount(list5, num); - ref QuestSequence reference2 = ref CollectionsMarshal.AsSpan(list5)[0]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048548u, new Vector3(-109.48352f, -15f, 185.04602f), 1185); - obj2.Steps = list6; - reference2 = obj2; - questRoot2.QuestSequence = list5; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(5005); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - CollectionsMarshal.AsSpan(list7)[0] = "liza"; - questRoot3.Author = list7; - num = 2; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference3 = ref span[0]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051454u, new Vector3(376.2417f, 50.749996f, 148.51599f), 1186) - { - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineTrueVue - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj3.Steps = list9; - reference3 = obj3; - ref QuestSequence reference4 = ref span[1]; - QuestSequence obj4 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.CompleteQuest, 1049466u, new Vector3(-247.88281f, 30f, -631.15894f), 1191) - { - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts - }; - obj4.Steps = list10; - reference4 = obj4; - questRoot3.QuestSequence = list8; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(5006); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list11 = new List(num); - CollectionsMarshal.SetCount(list11, num); - CollectionsMarshal.AsSpan(list11)[0] = "liza"; - questRoot4.Author = list11; - num = 1; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - ref QuestSequence reference5 = ref CollectionsMarshal.AsSpan(list12)[0]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048510u, new Vector3(28.67163f, 50.13025f, -40.940002f), 1185); - obj5.Steps = list13; - reference5 = obj5; - questRoot4.QuestSequence = list12; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(5007); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - CollectionsMarshal.AsSpan(list14)[0] = "liza"; - questRoot5.Author = list14; - num = 1; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - ref QuestSequence reference6 = ref CollectionsMarshal.AsSpan(list15)[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049155u, new Vector3(220.32495f, 74.847984f, -52.99463f), 1186); - obj6.Steps = list16; - reference6 = obj6; - questRoot5.QuestSequence = list15; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(5008); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - CollectionsMarshal.AsSpan(list17)[0] = "liza"; - questRoot6.Author = list17; - num = 1; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - ref QuestSequence reference7 = ref CollectionsMarshal.AsSpan(list18)[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049088u, new Vector3(-157.64093f, 0.9219527f, -38.132385f), 1186); - obj7.Steps = list19; - reference7 = obj7; - questRoot6.QuestSequence = list18; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(5009); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - CollectionsMarshal.AsSpan(list20)[0] = "liza"; - questRoot7.Author = list20; - num = 2; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - Span span2 = CollectionsMarshal.AsSpan(list21); - ref QuestSequence reference8 = ref span2[0]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051413u, new Vector3(-75.21173f, -10.00001f, 138.8418f), 1185); - obj8.Steps = list22; - reference8 = obj8; - ref QuestSequence reference9 = ref span2[1]; - QuestSequence obj9 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048541u, new Vector3(23.5141f, -14f, 137.40747f), 1185) - { - NextQuestId = new QuestId(5010) - }; - obj9.Steps = list23; - reference9 = obj9; - questRoot7.QuestSequence = list21; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(5010); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - CollectionsMarshal.AsSpan(list24)[0] = "liza"; - questRoot8.Author = list24; - num = 3; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - Span span3 = CollectionsMarshal.AsSpan(list25); - ref QuestSequence reference10 = ref span3[0]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048541u, new Vector3(23.5141f, -14f, 137.40747f), 1185); - obj10.Steps = list26; - reference10 = obj10; - ref QuestSequence reference11 = ref span3[1]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.Interact, 1051414u, new Vector3(-90.348694f, -19.6019f, 212.54285f), 1185); - obj11.Steps = list27; - reference11 = obj11; - ref QuestSequence reference12 = ref span3[2]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048541u, new Vector3(23.5141f, -14f, 137.40747f), 1185) - { - NextQuestId = new QuestId(5011) - }; - obj12.Steps = list28; - reference12 = obj12; - questRoot8.QuestSequence = list25; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(5011); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - CollectionsMarshal.AsSpan(list29)[0] = "liza"; - questRoot9.Author = list29; - num = 5; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - Span span4 = CollectionsMarshal.AsSpan(list30); - ref QuestSequence reference13 = ref span4[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048541u, new Vector3(23.5141f, -14f, 137.40747f), 1185); - obj13.Steps = list31; - reference13 = obj13; - ref QuestSequence reference14 = ref span4[1]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 1049457u, new Vector3(-223.92621f, 30f, -603.11285f), 1191) - { - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts - }; - obj14.Steps = list32; - reference14 = obj14; - ref QuestSequence reference15 = ref span4[2]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - Span span5 = CollectionsMarshal.AsSpan(list33); - span5[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-65.20557f, 38.80659f, -459.1674f), 1186) - { - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineResolution - } - }; - span5[1] = new QuestStep(EInteractionType.Interact, 1049180u, new Vector3(-67.27704f, 38.80659f, -459.22028f), 1186); - obj15.Steps = list33; - reference15 = obj15; - ref QuestSequence reference16 = ref span4[3]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.Interact, 1051415u, new Vector3(-400.351f, 14.029996f, 112.26062f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineResolution, - To = EAetheryteLocation.SolutionNineResidentialSector - } - }; - obj16.Steps = list34; - reference16 = obj16; - ref QuestSequence reference17 = ref span4[4]; - QuestSequence obj17 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048541u, new Vector3(23.5141f, -14f, 137.40747f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalBaysideBevyMarketplace - }, - NextQuestId = new QuestId(5012) - }; - obj17.Steps = list35; - reference17 = obj17; - questRoot9.QuestSequence = list30; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(5012); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - CollectionsMarshal.AsSpan(list36)[0] = "liza"; - questRoot10.Author = list36; - num = 3; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - Span span6 = CollectionsMarshal.AsSpan(list37); - ref QuestSequence reference18 = ref span6[0]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048541u, new Vector3(23.5141f, -14f, 137.40747f), 1185); - obj18.Steps = list38; - reference18 = obj18; - ref QuestSequence reference19 = ref span6[1]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 1051415u, new Vector3(-400.351f, 14.029996f, 112.26062f), 1186) - { - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineResidentialSector - } - }; - obj19.Steps = list39; - reference19 = obj19; - ref QuestSequence reference20 = ref span6[2]; - QuestSequence obj20 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048541u, new Vector3(23.5141f, -14f, 137.40747f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalBaysideBevyMarketplace - } - }; - obj20.Steps = list40; - reference20 = obj20; - questRoot10.QuestSequence = list37; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(5013); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - CollectionsMarshal.AsSpan(list41)[0] = "liza"; - questRoot11.Author = list41; - num = 6; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - Span span7 = CollectionsMarshal.AsSpan(list42); - ref QuestSequence reference21 = ref span7[0]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051434u, new Vector3(28.580078f, -14f, 75.66943f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj21.Steps = list43; - reference21 = obj21; - ref QuestSequence reference22 = ref span7[1]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.Interact, 1051435u, new Vector3(383.1692f, -17.700003f, -771.3283f), 1190) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ShaaloaniMehwahhetsoan - }; - obj22.Steps = list44; - reference22 = obj22; - ref QuestSequence reference23 = ref span7[2]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.Duty, null, null, 1190) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 834u - } - }; - obj23.Steps = list45; - reference23 = obj23; - ref QuestSequence reference24 = ref span7[3]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 1051435u, new Vector3(383.1692f, -17.700003f, -771.3283f), 1190) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ShaaloaniMehwahhetsoan, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj24.Steps = list46; - reference24 = obj24; - ref QuestSequence reference25 = ref span7[4]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Interact, 1051436u, new Vector3(476.73767f, 114.935f, 661.6769f), 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj25.Steps = list47; - reference25 = obj25; - ref QuestSequence reference26 = ref span7[5]; - QuestSequence obj26 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051438u, new Vector3(-498.7717f, 59.21188f, 145.00647f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj26.Steps = list48; - reference26 = obj26; - questRoot11.QuestSequence = list42; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(5014); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - CollectionsMarshal.AsSpan(list49)[0] = "liza"; - questRoot12.Author = list49; - num = 6; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - Span span8 = CollectionsMarshal.AsSpan(list50); - ref QuestSequence reference27 = ref span8[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051440u, new Vector3(305.01257f, 51.199978f, 198.07727f), 1186) - { - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineNeonStein - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj27.Steps = list51; - reference27 = obj27; - ref QuestSequence reference28 = ref span8[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.Interact, 2014334u, new Vector3(-6.9123535f, 53.177612f, 761.68445f), 1192) - { - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj28.Steps = list52; - reference28 = obj28; - ref QuestSequence reference29 = ref span8[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - Span span9 = CollectionsMarshal.AsSpan(list53); - span9[0] = new QuestStep(EInteractionType.Interact, 1048243u, new Vector3(57.87744f, 53.200012f, 772.03015f), 1192) - { - TargetTerritoryId = (ushort)1192, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span9[1] = new QuestStep(EInteractionType.Interact, 1051443u, new Vector3(614.28235f, 9.022843f, 610.13184f), 1192) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj29.Steps = list53; - reference29 = obj29; - ref QuestSequence reference30 = ref span8[3]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.Duty, null, null, 1192) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 981u - } - }; - obj30.Steps = list54; - reference30 = obj30; - ref QuestSequence reference31 = ref span8[4]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.Interact, 1051442u, new Vector3(613.76355f, 9.022844f, 612.1156f), 1192) - { - StopDistance = 7f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj31.Steps = list55; - reference31 = obj31; - ref QuestSequence reference32 = ref span8[5]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051440u, new Vector3(305.01257f, 51.199978f, 198.07727f), 1186) - { - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineNeonStein - } - }; - obj32.Steps = list56; - reference32 = obj32; - questRoot12.QuestSequence = list50; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(5015); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - CollectionsMarshal.AsSpan(list57)[0] = "liza"; - questRoot13.Author = list57; - questRoot13.IsSeasonalQuest = true; - questRoot13.SeasonalQuestExpiry = new DateTime(2024, 9, 11, 0, 0, 0, DateTimeKind.Utc); - num = 6; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - Span span10 = CollectionsMarshal.AsSpan(list58); - ref QuestSequence reference33 = ref span10[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - ref QuestStep reference34 = ref CollectionsMarshal.AsSpan(list59)[0]; - QuestStep obj34 = new QuestStep(EInteractionType.AcceptQuest, 1050998u, new Vector3(4.0131226f, 44.499996f, 126.17676f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition obj35 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - int num3 = 1; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - CollectionsMarshal.AsSpan(list60)[0] = 128; - obj35.InTerritory = list60; - skipConditions.AetheryteShortcutIf = obj35; - obj34.SkipConditions = skipConditions; - reference34 = obj34; - obj33.Steps = list59; - reference33 = obj33; - ref QuestSequence reference35 = ref span10[1]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.Interact, 1050999u, new Vector3(4.837097f, 31.47563f, -256.97723f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.LimsaMarauder - } - }; - obj36.Steps = list61; - reference35 = obj36; - ref QuestSequence reference36 = ref span10[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.Interact, 1051000u, new Vector3(-100.175476f, 18.00033f, -15.030151f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaMarauder, - To = EAetheryteLocation.Limsa - } - }; - obj37.Steps = list62; - reference36 = obj37; - ref QuestSequence reference37 = ref span10[3]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - Span span11 = CollectionsMarshal.AsSpan(list63); - ref QuestStep reference38 = ref span11[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1001217u, new Vector3(-140.85602f, 18.199999f, 17.013733f), 129); - num3 = 6; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - Span span12 = CollectionsMarshal.AsSpan(list64); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list64; - reference38 = questStep; - ref QuestStep reference39 = ref span11[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1051003u, new Vector3(-188.12854f, 16f, 33.37146f), 129); - num3 = 6; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - Span span13 = CollectionsMarshal.AsSpan(list65); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list65; - reference39 = questStep2; - ref QuestStep reference40 = ref span11[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1051002u, new Vector3(-205.005f, 15.999994f, 71.97681f), 129); - num3 = 6; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - Span span14 = CollectionsMarshal.AsSpan(list66); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list66; - reference40 = questStep3; - ref QuestStep reference41 = ref span11[3]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1051004u, new Vector3(-243.03046f, 16.199997f, 40.97046f), 129); - num3 = 6; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - Span span15 = CollectionsMarshal.AsSpan(list67); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list67; - reference41 = questStep4; - obj38.Steps = list63; - reference37 = obj38; - ref QuestSequence reference42 = ref span10[4]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Interact, 2014209u, new Vector3(-385.1225f, 5.996765f, 33.707153f), 129) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaHawkersAlley, - To = EAetheryteLocation.LimsaArcanist - } - }; - obj39.Steps = list68; - reference42 = obj39; - ref QuestSequence reference43 = ref span10[5]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051001u, new Vector3(3.7994385f, 44.499992f, 126.05469f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaArcanist, - To = EAetheryteLocation.LimsaAftcastle - }, - NextQuestId = new QuestId(5016) - }; - obj40.Steps = list69; - reference43 = obj40; - questRoot13.QuestSequence = list58; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(5016); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list70 = new List(num); - CollectionsMarshal.SetCount(list70, num); - CollectionsMarshal.AsSpan(list70)[0] = "liza"; - questRoot14.Author = list70; - questRoot14.IsSeasonalQuest = true; - questRoot14.SeasonalQuestExpiry = new DateTime(2024, 9, 11, 0, 0, 0, DateTimeKind.Utc); - num = 6; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - Span span16 = CollectionsMarshal.AsSpan(list71); - ref QuestSequence reference44 = ref span16[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - ref QuestStep reference45 = ref CollectionsMarshal.AsSpan(list72)[0]; - QuestStep obj42 = new QuestStep(EInteractionType.AcceptQuest, 1051007u, new Vector3(2.2735596f, 44.499992f, 125.200195f), 128) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition obj43 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - CollectionsMarshal.AsSpan(list73)[0] = 128; - obj43.InTerritory = list73; - skipConditions2.AetheryteShortcutIf = obj43; - obj42.SkipConditions = skipConditions2; - reference45 = obj42; - obj41.Steps = list72; - reference44 = obj41; - ref QuestSequence reference46 = ref span16[1]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.Interact, 1051008u, new Vector3(2.5481567f, 43.999977f, -206.71399f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.LimsaMarauder - } - }; - obj44.Steps = list74; - reference46 = obj44; - ref QuestSequence reference47 = ref span16[2]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.Interact, 1051009u, new Vector3(1.5106201f, 44f, -205.8595f), 128) - { - StopDistance = 5f - }; - obj45.Steps = list75; - reference47 = obj45; - ref QuestSequence reference48 = ref span16[3]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.Interact, 2014210u, new Vector3(-176.62323f, 40.97046f, 185.35132f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaMarauder, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj46.Steps = list76; - reference48 = obj46; - ref QuestSequence reference49 = ref span16[4]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Interact, 1051010u, new Vector3(-178.11859f, 40.999958f, 184.67993f), 128) - { - StopDistance = 5f - }; - obj47.Steps = list77; - reference49 = obj47; - ref QuestSequence reference50 = ref span16[5]; - QuestSequence obj48 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - ref QuestStep reference51 = ref CollectionsMarshal.AsSpan(list78)[0]; - QuestStep obj49 = new QuestStep(EInteractionType.CompleteQuest, 1051011u, new Vector3(-178.63745f, 40.999916f, 186.3584f), 128) - { - StopDistance = 7f - }; - num3 = 1; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - CollectionsMarshal.AsSpan(list79)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_FESANX002_05016_Q52_000_082") - }; - obj49.DialogueChoices = list79; - reference51 = obj49; - obj48.Steps = list78; - reference50 = obj48; - questRoot14.QuestSequence = list71; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(5017); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - CollectionsMarshal.AsSpan(list80)[0] = "liza"; - questRoot15.Author = list80; - num = 3; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - Span span17 = CollectionsMarshal.AsSpan(list81); - ref QuestSequence reference52 = ref span17[0]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050728u, new Vector3(50.125854f, 47f, -330.40363f), 1185); - obj50.Steps = list82; - reference52 = obj50; - ref QuestSequence reference53 = ref span17[1]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.Interact, 1050729u, new Vector3(187.51807f, 42.40001f, -350.36243f), 1185); - obj51.Steps = list83; - reference53 = obj51; - ref QuestSequence reference54 = ref span17[2]; - QuestSequence obj52 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050728u, new Vector3(50.125854f, 47f, -330.40363f), 1185); - obj52.Steps = list84; - reference54 = obj52; - questRoot15.QuestSequence = list81; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(5018); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - CollectionsMarshal.AsSpan(list85)[0] = "liza"; - questRoot16.Author = list85; - num = 4; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - Span span18 = CollectionsMarshal.AsSpan(list86); - ref QuestSequence reference55 = ref span18[0]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048459u, new Vector3(-394.43048f, 11f, 3.5552979f), 1185); - obj53.Steps = list87; - reference55 = obj53; - ref QuestSequence reference56 = ref span18[1]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 1050733u, new Vector3(-16.83075f, -10.000011f, 93.12573f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalDirigibleLanding, - To = EAetheryteLocation.TuliyollalBaysideBevyMarketplace - } - }; - obj54.Steps = list88; - reference56 = obj54; - ref QuestSequence reference57 = ref span18[2]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - ref QuestStep reference58 = ref CollectionsMarshal.AsSpan(list89)[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1050734u, new Vector3(79.301025f, -17.964588f, 199.57275f), 1185); - num3 = 1; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - CollectionsMarshal.AsSpan(list90)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZA002_05018_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGZA002_05018_A1_000_003") - }; - questStep5.DialogueChoices = list90; - reference58 = questStep5; - obj55.Steps = list89; - reference57 = obj55; - ref QuestSequence reference59 = ref span18[3]; - QuestSequence obj56 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048459u, new Vector3(-394.43048f, 11f, 3.5552979f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalBaysideBevyMarketplace, - To = EAetheryteLocation.TuliyollalDirigibleLanding - } - }; - obj56.Steps = list91; - reference59 = obj56; - questRoot16.QuestSequence = list86; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(5019); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - CollectionsMarshal.AsSpan(list92)[0] = "liza"; - questRoot17.Author = list92; - num = 5; - List list93 = new List(num); - CollectionsMarshal.SetCount(list93, num); - Span span19 = CollectionsMarshal.AsSpan(list93); - ref QuestSequence reference60 = ref span19[0]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050735u, new Vector3(121.11084f, -17.972874f, 74.021484f), 1185); - obj57.Steps = list94; - reference60 = obj57; - ref QuestSequence reference61 = ref span19[1]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.Interact, 1050736u, new Vector3(31.47937f, -17.9643f, 167.46765f), 1185) - { - StopDistance = 2f - }; - obj58.Steps = list95; - reference61 = obj58; - ref QuestSequence reference62 = ref span19[2]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.Interact, 2014232u, new Vector3(33.310425f, -16.678162f, 167.98657f), 1185); - obj59.Steps = list96; - reference62 = obj59; - ref QuestSequence reference63 = ref span19[3]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.Interact, 1050737u, new Vector3(87.57141f, -14f, 52.384155f), 1185); - obj60.Steps = list97; - reference63 = obj60; - ref QuestSequence reference64 = ref span19[4]; - QuestSequence obj61 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050737u, new Vector3(87.57141f, -14f, 52.384155f), 1185); - obj61.Steps = list98; - reference64 = obj61; - questRoot17.QuestSequence = list93; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(5020); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - CollectionsMarshal.AsSpan(list99)[0] = "liza"; - questRoot18.Author = list99; - num = 5; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - Span span20 = CollectionsMarshal.AsSpan(list100); - ref QuestSequence reference65 = ref span20[0]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051038u, new Vector3(153.94824f, -17.9645f, 95.384155f), 1185); - obj62.Steps = list101; - reference65 = obj62; - ref QuestSequence reference66 = ref span20[1]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.Interact, 1051025u, new Vector3(153.94824f, -17.9645f, 95.384155f), 1185); - obj63.Steps = list102; - reference66 = obj63; - ref QuestSequence reference67 = ref span20[2]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - Span span21 = CollectionsMarshal.AsSpan(list103); - ref QuestStep reference68 = ref span21[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1051026u, new Vector3(109.910645f, -14f, 39.505493f), 1185); - num3 = 6; - List list104 = new List(num3); - CollectionsMarshal.SetCount(list104, num3); - Span span22 = CollectionsMarshal.AsSpan(list104); - span22[0] = null; - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list104; - reference68 = questStep6; - ref QuestStep reference69 = ref span21[1]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1051027u, new Vector3(12.527649f, -10.00001f, 35.599243f), 1185); - num3 = 6; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - Span span23 = CollectionsMarshal.AsSpan(list105); - span23[0] = null; - span23[1] = null; - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list105; - reference69 = questStep7; - ref QuestStep reference70 = ref span21[2]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1051028u, new Vector3(-69.77954f, -10.00001f, 119.79846f), 1185); - num3 = 6; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - Span span24 = CollectionsMarshal.AsSpan(list106); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list106; - reference70 = questStep8; - obj64.Steps = list103; - reference67 = obj64; - ref QuestSequence reference71 = ref span20[3]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.Interact, 1051025u, new Vector3(-124.85585f, -5.0000095f, 130.06908f), 1185) - { - StopDistance = 0.25f - }; - obj65.Steps = list107; - reference71 = obj65; - ref QuestSequence reference72 = ref span20[4]; - QuestSequence obj66 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051029u, new Vector3(-249.77496f, -9.2517585E-06f, 138.01782f), 1185); - obj66.Steps = list108; - reference72 = obj66; - questRoot18.QuestSequence = list100; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(5021); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - CollectionsMarshal.AsSpan(list109)[0] = "liza"; - questRoot19.Author = list109; - num = 3; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - Span span25 = CollectionsMarshal.AsSpan(list110); - ref QuestSequence reference73 = ref span25[0]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051030u, new Vector3(-227.64941f, 40.075134f, -25.436829f), 1185); - obj67.Steps = list111; - reference73 = obj67; - ref QuestSequence reference74 = ref span25[1]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.Interact, 1051030u, new Vector3(-227.64941f, 40.075134f, -25.436829f), 1185); - obj68.Steps = list112; - reference74 = obj68; - ref QuestSequence reference75 = ref span25[2]; - QuestSequence obj69 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051031u, new Vector3(-56.6568f, 52.057556f, 20.767456f), 1185); - obj69.Steps = list113; - reference75 = obj69; - questRoot19.QuestSequence = list110; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(5022); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list114 = new List(num); - CollectionsMarshal.SetCount(list114, num); - CollectionsMarshal.AsSpan(list114)[0] = "liza"; - questRoot20.Author = list114; - num = 5; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - Span span26 = CollectionsMarshal.AsSpan(list115); - ref QuestSequence reference76 = ref span26[0]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051032u, new Vector3(-259.05243f, 2.127327E-05f, 116.13635f), 1185); - obj70.Steps = list116; - reference76 = obj70; - ref QuestSequence reference77 = ref span26[1]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.Interact, 1051033u, new Vector3(-282.49036f, 14.508167f, 178.72888f), 1185); - obj71.Steps = list117; - reference77 = obj71; - ref QuestSequence reference78 = ref span26[2]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - Span span27 = CollectionsMarshal.AsSpan(list118); - span27[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-290.98425f, -9.417534E-06f, 179.37634f), 1185) - { - DisableNavmesh = true - }; - span27[1] = new QuestStep(EInteractionType.Interact, 2014234u, new Vector3(-272.84656f, -0.015319824f, 191.39392f), 1185); - obj72.Steps = list118; - reference78 = obj72; - ref QuestSequence reference79 = ref span26[3]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.Interact, 1051033u, new Vector3(-282.49036f, 14.508167f, 178.72888f), 1185); - obj73.Steps = list119; - reference79 = obj73; - ref QuestSequence reference80 = ref span26[4]; - QuestSequence obj74 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051032u, new Vector3(-259.05243f, 2.127327E-05f, 116.13635f), 1185); - obj74.Steps = list120; - reference80 = obj74; - questRoot20.QuestSequence = list115; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(5023); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list121 = new List(num); - CollectionsMarshal.SetCount(list121, num); - CollectionsMarshal.AsSpan(list121)[0] = "liza"; - questRoot21.Author = list121; - num = 3; - List list122 = new List(num); - CollectionsMarshal.SetCount(list122, num); - Span span28 = CollectionsMarshal.AsSpan(list122); - ref QuestSequence reference81 = ref span28[0]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051034u, new Vector3(15.457336f, -10.00001f, 64.43884f), 1185); - obj75.Steps = list123; - reference81 = obj75; - ref QuestSequence reference82 = ref span28[1]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list124 = new List(num2); - CollectionsMarshal.SetCount(list124, num2); - Span span29 = CollectionsMarshal.AsSpan(list124); - ref QuestStep reference83 = ref span29[0]; - QuestStep obj77 = new QuestStep(EInteractionType.Interact, 1051036u, new Vector3(-134.72198f, 45.35523f, 52.20105f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalTheResplendentQuarter - } - }; - num3 = 6; - List list125 = new List(num3); - CollectionsMarshal.SetCount(list125, num3); - Span span30 = CollectionsMarshal.AsSpan(list125); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj77.CompletionQuestVariablesFlags = list125; - reference83 = obj77; - ref QuestStep reference84 = ref span29[1]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1051035u, new Vector3(-104.38696f, 54.09999f, 19.33313f), 1185); - num3 = 6; - List list126 = new List(num3); - CollectionsMarshal.SetCount(list126, num3); - Span span31 = CollectionsMarshal.AsSpan(list126); - span31[0] = null; - span31[1] = null; - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list126; - reference84 = questStep9; - obj76.Steps = list124; - reference82 = obj76; - ref QuestSequence reference85 = ref span28[2]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051034u, new Vector3(15.457336f, -10.00001f, 64.43884f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalTheResplendentQuarter, - To = EAetheryteLocation.Tuliyollal - } - }; - obj78.Steps = list127; - reference85 = obj78; - questRoot21.QuestSequence = list122; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(5024); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - CollectionsMarshal.AsSpan(list128)[0] = "liza"; - questRoot22.Author = list128; - num = 3; - List list129 = new List(num); - CollectionsMarshal.SetCount(list129, num); - Span span32 = CollectionsMarshal.AsSpan(list129); - ref QuestSequence reference86 = ref span32[0]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048509u, new Vector3(181.44495f, 40.99999f, -66.63617f), 1185); - obj79.Steps = list130; - reference86 = obj79; - ref QuestSequence reference87 = ref span32[1]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - Span span33 = CollectionsMarshal.AsSpan(list131); - ref QuestStep reference88 = ref span33[0]; - QuestStep obj81 = new QuestStep(EInteractionType.Interact, 1048431u, new Vector3(88.48706f, -14f, 56.687256f), 1185) - { - StopDistance = 4f - }; - num3 = 6; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - Span span34 = CollectionsMarshal.AsSpan(list132); - span34[0] = null; - span34[1] = null; - span34[2] = null; - span34[3] = null; - span34[4] = null; - span34[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj81.CompletionQuestVariablesFlags = list132; - reference88 = obj81; - ref QuestStep reference89 = ref span33[1]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1051037u, new Vector3(-35.29419f, -17.97287f, 169.02417f), 1185); - num3 = 6; - List list133 = new List(num3); - CollectionsMarshal.SetCount(list133, num3); - Span span35 = CollectionsMarshal.AsSpan(list133); - span35[0] = null; - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list133; - reference89 = questStep10; - obj80.Steps = list131; - reference87 = obj80; - ref QuestSequence reference90 = ref span32[2]; - QuestSequence obj82 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048509u, new Vector3(181.44495f, 40.99999f, -66.63617f), 1185); - obj82.Steps = list134; - reference90 = obj82; - questRoot22.QuestSequence = list129; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(5025); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list135 = new List(num); - CollectionsMarshal.SetCount(list135, num); - CollectionsMarshal.AsSpan(list135)[0] = "liza"; - questRoot23.Author = list135; - num = 3; - List list136 = new List(num); - CollectionsMarshal.SetCount(list136, num); - Span span36 = CollectionsMarshal.AsSpan(list136); - ref QuestSequence reference91 = ref span36[0]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - ref QuestStep reference92 = ref CollectionsMarshal.AsSpan(list137)[0]; - QuestStep questStep11 = new QuestStep(EInteractionType.AcceptQuest, 1051039u, new Vector3(17.593567f, -17.942173f, 153.06323f), 1185); - num3 = 1; - List list138 = new List(num3); - CollectionsMarshal.SetCount(list138, num3); - CollectionsMarshal.AsSpan(list138)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZA009_05025_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGZA009_05025_A1_000_001") - }; - questStep11.DialogueChoices = list138; - reference92 = questStep11; - obj83.Steps = list137; - reference91 = obj83; - ref QuestSequence reference93 = ref span36[1]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.Interact, 1051040u, new Vector3(-169.93976f, 59.999985f, -54.703613f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalBaysideBevyMarketplace, - To = EAetheryteLocation.TuliyollalTheResplendentQuarter - } - }; - obj84.Steps = list139; - reference93 = obj84; - ref QuestSequence reference94 = ref span36[2]; - QuestSequence obj85 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051039u, new Vector3(17.593567f, -17.942173f, 153.06323f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalTheResplendentQuarter, - To = EAetheryteLocation.TuliyollalBaysideBevyMarketplace - } - }; - obj85.Steps = list140; - reference94 = obj85; - questRoot23.QuestSequence = list136; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(5026); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list141 = new List(num); - CollectionsMarshal.SetCount(list141, num); - CollectionsMarshal.AsSpan(list141)[0] = "liza"; - questRoot24.Author = list141; - num = 5; - List list142 = new List(num); - CollectionsMarshal.SetCount(list142, num); - Span span37 = CollectionsMarshal.AsSpan(list142); - ref QuestSequence reference95 = ref span37[0]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051042u, new Vector3(100.38904f, 47f, -230.27393f), 1185); - obj86.Steps = list143; - reference95 = obj86; - ref QuestSequence reference96 = ref span37[1]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - CollectionsMarshal.AsSpan(list144)[0] = new QuestStep(EInteractionType.Interact, 2014235u, new Vector3(-80.094604f, -19.333252f, 179.49182f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalBrightploomPost, - To = EAetheryteLocation.TuliyollalTheForardCabins - } - }; - obj87.Steps = list144; - reference96 = obj87; - ref QuestSequence reference97 = ref span37[2]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.Interact, 2014236u, new Vector3(-154.34503f, -14.084106f, 548.24133f), 1185); - obj88.Steps = list145; - reference97 = obj88; - ref QuestSequence reference98 = ref span37[3]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.Interact, 2014237u, new Vector3(-124.77307f, -5.0202637f, 113.11511f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalTheForardCabins - } - }; - obj89.Steps = list146; - reference98 = obj89; - ref QuestSequence reference99 = ref span37[4]; - QuestSequence obj90 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - CollectionsMarshal.AsSpan(list147)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051042u, new Vector3(100.38904f, 47f, -230.27393f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalTheForardCabins, - To = EAetheryteLocation.TuliyollalBrightploomPost - } - }; - obj90.Steps = list147; - reference99 = obj90; - questRoot24.QuestSequence = list142; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(5027); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list148 = new List(num); - CollectionsMarshal.SetCount(list148, num); - CollectionsMarshal.AsSpan(list148)[0] = "liza"; - questRoot25.Author = list148; - num = 3; - List list149 = new List(num); - CollectionsMarshal.SetCount(list149, num); - Span span38 = CollectionsMarshal.AsSpan(list149); - ref QuestSequence reference100 = ref span38[0]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051043u, new Vector3(-276.99707f, 1.9748375E-05f, 71.97681f), 1185); - obj91.Steps = list150; - reference100 = obj91; - ref QuestSequence reference101 = ref span38[1]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - Span span39 = CollectionsMarshal.AsSpan(list151); - ref QuestStep reference102 = ref span39[0]; - QuestStep obj93 = new QuestStep(EInteractionType.Emote, 1051044u, new Vector3(-307.6372f, 3f, -50.8584f), 1185) - { - Emote = EEmote.Soothe - }; - num3 = 6; - List list152 = new List(num3); - CollectionsMarshal.SetCount(list152, num3); - Span span40 = CollectionsMarshal.AsSpan(list152); - span40[0] = null; - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj93.CompletionQuestVariablesFlags = list152; - reference102 = obj93; - ref QuestStep reference103 = ref span39[1]; - QuestStep obj94 = new QuestStep(EInteractionType.Emote, 1051045u, new Vector3(-49.42401f, -2.7939677E-09f, 16.647583f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalDirigibleLanding, - To = EAetheryteLocation.Tuliyollal - }, - Emote = EEmote.Soothe - }; - num3 = 6; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - Span span41 = CollectionsMarshal.AsSpan(list153); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj94.CompletionQuestVariablesFlags = list153; - reference103 = obj94; - obj92.Steps = list151; - reference101 = obj92; - ref QuestSequence reference104 = ref span38[2]; - QuestSequence obj95 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051043u, new Vector3(-276.99707f, 1.9748375E-05f, 71.97681f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalTheResplendentQuarter - } - }; - obj95.Steps = list154; - reference104 = obj95; - questRoot25.QuestSequence = list149; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(5028); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list155 = new List(num); - CollectionsMarshal.SetCount(list155, num); - CollectionsMarshal.AsSpan(list155)[0] = "liza"; - questRoot26.Author = list155; - num = 5; - List list156 = new List(num); - CollectionsMarshal.SetCount(list156, num); - Span span42 = CollectionsMarshal.AsSpan(list156); - ref QuestSequence reference105 = ref span42[0]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051046u, new Vector3(69.38269f, -14f, 91.081055f), 1185); - obj96.Steps = list157; - reference105 = obj96; - ref QuestSequence reference106 = ref span42[1]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - Span span43 = CollectionsMarshal.AsSpan(list158); - ref QuestStep reference107 = ref span43[0]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 2014238u, new Vector3(75.12012f, -17.990417f, 154.52808f), 1185); - num3 = 6; - List list159 = new List(num3); - CollectionsMarshal.SetCount(list159, num3); - Span span44 = CollectionsMarshal.AsSpan(list159); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list159; - reference107 = questStep12; - ref QuestStep reference108 = ref span43[1]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 2014239u, new Vector3(64.530396f, -17.990417f, 189.56274f), 1185); - num3 = 6; - List list160 = new List(num3); - CollectionsMarshal.SetCount(list160, num3); - Span span45 = CollectionsMarshal.AsSpan(list160); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list160; - reference108 = questStep13; - ref QuestStep reference109 = ref span43[2]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 2014240u, new Vector3(131.91418f, -17.990417f, 112.2301f), 1185); - num3 = 6; - List list161 = new List(num3); - CollectionsMarshal.SetCount(list161, num3); - Span span46 = CollectionsMarshal.AsSpan(list161); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list161; - reference109 = questStep14; - obj97.Steps = list158; - reference106 = obj97; - ref QuestSequence reference110 = ref span42[2]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.Interact, 1051046u, new Vector3(69.38269f, -14f, 91.081055f), 1185); - obj98.Steps = list162; - reference110 = obj98; - ref QuestSequence reference111 = ref span42[3]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - ref QuestStep reference112 = ref CollectionsMarshal.AsSpan(list163)[0]; - QuestStep obj100 = new QuestStep(EInteractionType.Interact, 1051048u, new Vector3(-227.95453f, 40.04104f, -42.648987f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalTheResplendentQuarter - } - }; - num3 = 1; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - CollectionsMarshal.AsSpan(list164)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZA012_05028_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGZA012_05028_A1_000_002") - }; - obj100.DialogueChoices = list164; - reference112 = obj100; - obj99.Steps = list163; - reference111 = obj99; - ref QuestSequence reference113 = ref span42[4]; - QuestSequence obj101 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - CollectionsMarshal.AsSpan(list165)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051046u, new Vector3(69.38269f, -14f, 91.081055f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalTheResplendentQuarter, - To = EAetheryteLocation.Tuliyollal - } - }; - obj101.Steps = list165; - reference113 = obj101; - questRoot26.QuestSequence = list156; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(5029); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list166 = new List(num); - CollectionsMarshal.SetCount(list166, num); - CollectionsMarshal.AsSpan(list166)[0] = "liza"; - questRoot27.Author = list166; - num = 4; - List list167 = new List(num); - CollectionsMarshal.SetCount(list167, num); - Span span47 = CollectionsMarshal.AsSpan(list167); - ref QuestSequence reference114 = ref span47[0]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048537u, new Vector3(-61.753296f, 99.99999f, -188.98297f), 1185); - obj102.Steps = list168; - reference114 = obj102; - ref QuestSequence reference115 = ref span47[1]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.Interact, 1046521u, new Vector3(-46.616333f, -17.97287f, 180.3158f), 1185) - { - StopDistance = 5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalVollokShoonsa, - To = EAetheryteLocation.TuliyollalBaysideBevyMarketplace - } - }; - obj103.Steps = list169; - reference115 = obj103; - ref QuestSequence reference116 = ref span47[2]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - Span span48 = CollectionsMarshal.AsSpan(list170); - ref QuestStep reference117 = ref span48[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1048547u, new Vector3(-39.35309f, -17.972866f, 198.38245f), 1185); - num3 = 6; - List list171 = new List(num3); - CollectionsMarshal.SetCount(list171, num3); - Span span49 = CollectionsMarshal.AsSpan(list171); - span49[0] = null; - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list171; - reference117 = questStep15; - ref QuestStep reference118 = ref span48[1]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1048418u, new Vector3(-54.154297f, -17.972868f, 198.44348f), 1185); - num3 = 6; - List list172 = new List(num3); - CollectionsMarshal.SetCount(list172, num3); - Span span50 = CollectionsMarshal.AsSpan(list172); - span50[0] = null; - span50[1] = null; - span50[2] = null; - span50[3] = null; - span50[4] = null; - span50[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list172; - reference118 = questStep16; - ref QuestStep reference119 = ref span48[2]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1048546u, new Vector3(-60.83777f, -17.972868f, 197.07019f), 1185); - num3 = 6; - List list173 = new List(num3); - CollectionsMarshal.SetCount(list173, num3); - Span span51 = CollectionsMarshal.AsSpan(list173); - span51[0] = null; - span51[1] = null; - span51[2] = null; - span51[3] = null; - span51[4] = null; - span51[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list173; - reference119 = questStep17; - obj104.Steps = list170; - reference116 = obj104; - ref QuestSequence reference120 = ref span47[3]; - QuestSequence obj105 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048537u, new Vector3(-61.753296f, 99.99999f, -188.98297f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalBaysideBevyMarketplace, - To = EAetheryteLocation.TuliyollalVollokShoonsa - } - }; - obj105.Steps = list174; - reference120 = obj105; - questRoot27.QuestSequence = list167; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(5030); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list175 = new List(num); - CollectionsMarshal.SetCount(list175, num); - CollectionsMarshal.AsSpan(list175)[0] = "liza"; - questRoot28.Author = list175; - num = 3; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - Span span52 = CollectionsMarshal.AsSpan(list176); - ref QuestSequence reference121 = ref span52[0]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048650u, new Vector3(367.87964f, -156.28014f, -419.11957f), 1187); - obj106.Steps = list177; - reference121 = obj106; - ref QuestSequence reference122 = ref span52[1]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - Span span53 = CollectionsMarshal.AsSpan(list178); - ref QuestStep reference123 = ref span53[0]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 2014104u, new Vector3(374.77686f, -154.07043f, -373.52563f), 1187); - num3 = 6; - List list179 = new List(num3); - CollectionsMarshal.SetCount(list179, num3); - Span span54 = CollectionsMarshal.AsSpan(list179); - span54[0] = null; - span54[1] = null; - span54[2] = null; - span54[3] = null; - span54[4] = null; - span54[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list179; - reference123 = questStep18; - ref QuestStep reference124 = ref span53[1]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 2014106u, new Vector3(327.90112f, -152.20874f, -369.31415f), 1187); - num3 = 6; - List list180 = new List(num3); - CollectionsMarshal.SetCount(list180, num3); - Span span55 = CollectionsMarshal.AsSpan(list180); - span55[0] = null; - span55[1] = null; - span55[2] = null; - span55[3] = null; - span55[4] = null; - span55[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list180; - reference124 = questStep19; - ref QuestStep reference125 = ref span53[2]; - QuestStep obj108 = new QuestStep(EInteractionType.Interact, 2014105u, new Vector3(330.6172f, -158.06824f, -399.8932f), 1187) - { - IgnoreDistanceToObject = true - }; - num3 = 6; - List list181 = new List(num3); - CollectionsMarshal.SetCount(list181, num3); - Span span56 = CollectionsMarshal.AsSpan(list181); - span56[0] = null; - span56[1] = null; - span56[2] = null; - span56[3] = null; - span56[4] = null; - span56[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj108.CompletionQuestVariablesFlags = list181; - reference125 = obj108; - ref QuestStep reference126 = ref span53[3]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 2014107u, new Vector3(275.7152f, -166.94897f, -462.7909f), 1187); - num3 = 6; - List list182 = new List(num3); - CollectionsMarshal.SetCount(list182, num3); - Span span57 = CollectionsMarshal.AsSpan(list182); - span57[0] = null; - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep20.CompletionQuestVariablesFlags = list182; - reference126 = questStep20; - obj107.Steps = list178; - reference122 = obj107; - ref QuestSequence reference127 = ref span52[2]; - QuestSequence obj109 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - CollectionsMarshal.AsSpan(list183)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048650u, new Vector3(367.87964f, -156.28014f, -419.11957f), 1187); - obj109.Steps = list183; - reference127 = obj109; - questRoot28.QuestSequence = list176; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(5031); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list184 = new List(num); - CollectionsMarshal.SetCount(list184, num); - CollectionsMarshal.AsSpan(list184)[0] = "liza"; - questRoot29.Author = list184; - num = 3; - List list185 = new List(num); - CollectionsMarshal.SetCount(list185, num); - Span span58 = CollectionsMarshal.AsSpan(list185); - ref QuestSequence reference128 = ref span58[0]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048649u, new Vector3(357.86987f, -155.91757f, -370.1076f), 1187); - obj110.Steps = list186; - reference128 = obj110; - ref QuestSequence reference129 = ref span58[1]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - Span span59 = CollectionsMarshal.AsSpan(list187); - ref QuestStep reference130 = ref span59[0]; - QuestStep obj112 = new QuestStep(EInteractionType.UseItem, 1050671u, new Vector3(191.97375f, -87.10133f, -277.39374f), 1187) - { - Fly = true, - ItemId = 2003601u - }; - num3 = 6; - List list188 = new List(num3); - CollectionsMarshal.SetCount(list188, num3); - Span span60 = CollectionsMarshal.AsSpan(list188); - span60[0] = null; - span60[1] = null; - span60[2] = null; - span60[3] = null; - span60[4] = null; - span60[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj112.CompletionQuestVariablesFlags = list188; - reference130 = obj112; - ref QuestStep reference131 = ref span59[1]; - QuestStep obj113 = new QuestStep(EInteractionType.UseItem, 1050670u, new Vector3(132.86023f, -75.24902f, -213.2143f), 1187) - { - Fly = true, - ItemId = 2003601u - }; - num3 = 6; - List list189 = new List(num3); - CollectionsMarshal.SetCount(list189, num3); - Span span61 = CollectionsMarshal.AsSpan(list189); - span61[0] = null; - span61[1] = null; - span61[2] = null; - span61[3] = null; - span61[4] = null; - span61[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj113.CompletionQuestVariablesFlags = list189; - reference131 = obj113; - obj111.Steps = list187; - reference129 = obj111; - ref QuestSequence reference132 = ref span58[2]; - QuestSequence obj114 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048649u, new Vector3(357.86987f, -155.91757f, -370.1076f), 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWachunpelo - }; - obj114.Steps = list190; - reference132 = obj114; - questRoot29.QuestSequence = list185; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(5032); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list191 = new List(num); - CollectionsMarshal.SetCount(list191, num); - CollectionsMarshal.AsSpan(list191)[0] = "liza"; - questRoot30.Author = list191; - num = 3; - List list192 = new List(num); - CollectionsMarshal.SetCount(list192, num); - Span span62 = CollectionsMarshal.AsSpan(list192); - ref QuestSequence reference133 = ref span62[0]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048712u, new Vector3(446.67737f, -116.815155f, -178.75946f), 1187); - obj115.Steps = list193; - reference133 = obj115; - ref QuestSequence reference134 = ref span62[1]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.Interact, 1050672u, new Vector3(550.65234f, -54.46781f, 42.83203f), 1187) - { - Fly = true - }; - obj116.Steps = list194; - reference134 = obj116; - ref QuestSequence reference135 = ref span62[2]; - QuestSequence obj117 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048712u, new Vector3(446.67737f, -116.815155f, -178.75946f), 1187) - { - Fly = true - }; - obj117.Steps = list195; - reference135 = obj117; - questRoot30.QuestSequence = list192; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(5033); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list196 = new List(num); - CollectionsMarshal.SetCount(list196, num); - CollectionsMarshal.AsSpan(list196)[0] = "liza"; - questRoot31.Author = list196; - num = 3; - List list197 = new List(num); - CollectionsMarshal.SetCount(list197, num); - Span span63 = CollectionsMarshal.AsSpan(list197); - ref QuestSequence reference136 = ref span63[0]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - CollectionsMarshal.AsSpan(list198)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050673u, new Vector3(375.6007f, -116.81515f, -175.03625f), 1187); - obj118.Steps = list198; - reference136 = obj118; - ref QuestSequence reference137 = ref span63[1]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - Span span64 = CollectionsMarshal.AsSpan(list199); - span64[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(522.757f, -54.457268f, 57.29732f), 1187) - { - StopDistance = 0.5f, - Fly = true - }; - span64[1] = new QuestStep(EInteractionType.Interact, 2014108u, new Vector3(521.84326f, -53.543945f, 57.938477f), 1187); - obj119.Steps = list199; - reference137 = obj119; - ref QuestSequence reference138 = ref span63[2]; - QuestSequence obj120 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050673u, new Vector3(375.6007f, -116.81515f, -175.03625f), 1187) - { - Fly = true - }; - obj120.Steps = list200; - reference138 = obj120; - questRoot31.QuestSequence = list197; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(5034); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list201 = new List(num); - CollectionsMarshal.SetCount(list201, num); - CollectionsMarshal.AsSpan(list201)[0] = "liza"; - questRoot32.Author = list201; - num = 4; - List list202 = new List(num); - CollectionsMarshal.SetCount(list202, num); - Span span65 = CollectionsMarshal.AsSpan(list202); - ref QuestSequence reference139 = ref span65[0]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048694u, new Vector3(-401.7243f, -46.3959f, -449.5766f), 1187); - obj121.Steps = list203; - reference139 = obj121; - ref QuestSequence reference140 = ref span65[1]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.Interact, 1050674u, new Vector3(-388.4795f, -46.297935f, -498.10028f), 1187); - obj122.Steps = list204; - reference140 = obj122; - ref QuestSequence reference141 = ref span65[2]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - Span span66 = CollectionsMarshal.AsSpan(list205); - ref QuestStep reference142 = ref span66[0]; - QuestStep obj124 = new QuestStep(EInteractionType.UseItem, null, new Vector3(-388.4795f, -46.297935f, -498.10028f), 1187) - { - ItemId = 2003604u - }; - num3 = 6; - List list206 = new List(num3); - CollectionsMarshal.SetCount(list206, num3); - Span span67 = CollectionsMarshal.AsSpan(list206); - span67[0] = null; - span67[1] = null; - span67[2] = null; - span67[3] = null; - span67[4] = null; - span67[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj124.CompletionQuestVariablesFlags = list206; - reference142 = obj124; - ref QuestStep reference143 = ref span66[1]; - QuestStep obj125 = new QuestStep(EInteractionType.UseItem, null, new Vector3(-388.4795f, -46.297935f, -498.10028f), 1187) - { - ItemId = 2003605u - }; - num3 = 6; - List list207 = new List(num3); - CollectionsMarshal.SetCount(list207, num3); - Span span68 = CollectionsMarshal.AsSpan(list207); - span68[0] = null; - span68[1] = null; - span68[2] = null; - span68[3] = null; - span68[4] = null; - span68[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj125.CompletionQuestVariablesFlags = list207; - reference143 = obj125; - ref QuestStep reference144 = ref span66[2]; - QuestStep obj126 = new QuestStep(EInteractionType.UseItem, null, new Vector3(-388.4795f, -46.297935f, -498.10028f), 1187) - { - ItemId = 2003606u - }; - num3 = 6; - List list208 = new List(num3); - CollectionsMarshal.SetCount(list208, num3); - Span span69 = CollectionsMarshal.AsSpan(list208); - span69[0] = null; - span69[1] = null; - span69[2] = null; - span69[3] = null; - span69[4] = null; - span69[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj126.CompletionQuestVariablesFlags = list208; - reference144 = obj126; - obj123.Steps = list205; - reference141 = obj123; - ref QuestSequence reference145 = ref span65[3]; - QuestSequence obj127 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - ref QuestStep reference146 = ref CollectionsMarshal.AsSpan(list209)[0]; - QuestStep questStep21 = new QuestStep(EInteractionType.CompleteQuest, 1048694u, new Vector3(-401.7243f, -46.3959f, -449.5766f), 1187); - num3 = 1; - List list210 = new List(num3); - CollectionsMarshal.SetCount(list210, num3); - CollectionsMarshal.AsSpan(list210)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZB005_05034_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGZB005_05034_A1_000_003") - }; - questStep21.DialogueChoices = list210; - reference146 = questStep21; - obj127.Steps = list209; - reference145 = obj127; - questRoot32.QuestSequence = list202; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(5035); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list211 = new List(num); - CollectionsMarshal.SetCount(list211, num); - CollectionsMarshal.AsSpan(list211)[0] = "liza"; - questRoot33.Author = list211; - num = 4; - List list212 = new List(num); - CollectionsMarshal.SetCount(list212, num); - Span span70 = CollectionsMarshal.AsSpan(list212); - ref QuestSequence reference147 = ref span70[0]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - CollectionsMarshal.AsSpan(list213)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050675u, new Vector3(-421.80518f, -45.817875f, -496.14713f), 1187); - obj128.Steps = list213; - reference147 = obj128; - ref QuestSequence reference148 = ref span70[1]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.Interact, 1048690u, new Vector3(-406.42407f, -41.099792f, -565.6062f), 1187) - { - Fly = true - }; - obj129.Steps = list214; - reference148 = obj129; - ref QuestSequence reference149 = ref span70[2]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.Interact, 1050676u, new Vector3(-517.052f, -11.170306f, -652.58264f), 1187) - { - Fly = true - }; - obj130.Steps = list215; - reference149 = obj130; - ref QuestSequence reference150 = ref span70[3]; - QuestSequence obj131 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - CollectionsMarshal.AsSpan(list216)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050716u, new Vector3(-421.80518f, -45.817875f, -496.14713f), 1187) - { - Fly = true - }; - obj131.Steps = list216; - reference150 = obj131; - questRoot33.QuestSequence = list212; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(5036); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list217 = new List(num); - CollectionsMarshal.SetCount(list217, num); - CollectionsMarshal.AsSpan(list217)[0] = "liza"; - questRoot34.Author = list217; - num = 5; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - Span span71 = CollectionsMarshal.AsSpan(list218); - ref QuestSequence reference151 = ref span71[0]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - CollectionsMarshal.AsSpan(list219)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050678u, new Vector3(-103.4715f, -128.19942f, -465.90375f), 1187); - obj132.Steps = list219; - reference151 = obj132; - ref QuestSequence reference152 = ref span71[1]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - ref QuestStep reference153 = ref CollectionsMarshal.AsSpan(list220)[0]; - QuestStep obj134 = new QuestStep(EInteractionType.Combat, 1050680u, new Vector3(-67.91791f, -140.2539f, -676.7224f), 1187) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list221 = new List(num3); - CollectionsMarshal.SetCount(list221, num3); - Span span72 = CollectionsMarshal.AsSpan(list221); - span72[0] = 17643u; - span72[1] = 17644u; - obj134.KillEnemyDataIds = list221; - reference153 = obj134; - obj133.Steps = list220; - reference152 = obj133; - ref QuestSequence reference154 = ref span71[2]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - CollectionsMarshal.AsSpan(list222)[0] = new QuestStep(EInteractionType.Interact, 1050680u, new Vector3(-67.91791f, -140.2539f, -676.7224f), 1187) - { - StopDistance = 7f - }; - obj135.Steps = list222; - reference154 = obj135; - ref QuestSequence reference155 = ref span71[3]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - CollectionsMarshal.AsSpan(list223)[0] = new QuestStep(EInteractionType.Interact, 2014112u, new Vector3(-68.07056f, -140.15417f, -678.9197f), 1187) - { - StopDistance = 4.5f - }; - obj136.Steps = list223; - reference155 = obj136; - ref QuestSequence reference156 = ref span71[4]; - QuestSequence obj137 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050678u, new Vector3(-103.4715f, -128.19942f, -465.90375f), 1187) - { - Fly = true - }; - obj137.Steps = list224; - reference156 = obj137; - questRoot34.QuestSequence = list218; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(5037); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list225 = new List(num); - CollectionsMarshal.SetCount(list225, num); - CollectionsMarshal.AsSpan(list225)[0] = "liza"; - questRoot35.Author = list225; - num = 4; - List list226 = new List(num); - CollectionsMarshal.SetCount(list226, num); - Span span73 = CollectionsMarshal.AsSpan(list226); - ref QuestSequence reference157 = ref span73[0]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048666u, new Vector3(-54.8562f, -130.17744f, -443.1983f), 1187); - obj138.Steps = list227; - reference157 = obj138; - ref QuestSequence reference158 = ref span73[1]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - Span span74 = CollectionsMarshal.AsSpan(list228); - span74[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-192.7804f, -68.15436f, -139.24495f), 1187) - { - Fly = true - }; - span74[1] = new QuestStep(EInteractionType.UseItem, 1050683u, new Vector3(-194.32367f, -67.68594f, -135.57642f), 1187) - { - StopDistance = 5f, - ItemId = 2003608u, - GroundTarget = true - }; - obj139.Steps = list228; - reference158 = obj139; - ref QuestSequence reference159 = ref span73[2]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - Span span75 = CollectionsMarshal.AsSpan(list229); - ref QuestStep reference160 = ref span75[0]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 2014115u, new Vector3(-191.63806f, -67.216064f, -130.11371f), 1187); - num3 = 6; - List list230 = new List(num3); - CollectionsMarshal.SetCount(list230, num3); - Span span76 = CollectionsMarshal.AsSpan(list230); - span76[0] = null; - span76[1] = null; - span76[2] = null; - span76[3] = null; - span76[4] = null; - span76[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep22.CompletionQuestVariablesFlags = list230; - reference160 = questStep22; - ref QuestStep reference161 = ref span75[1]; - QuestStep obj141 = new QuestStep(EInteractionType.Interact, 2014114u, new Vector3(-194.78143f, -67.24658f, -131.27338f), 1187) - { - StopDistance = 4.5f - }; - num3 = 6; - List list231 = new List(num3); - CollectionsMarshal.SetCount(list231, num3); - Span span77 = CollectionsMarshal.AsSpan(list231); - span77[0] = null; - span77[1] = null; - span77[2] = null; - span77[3] = null; - span77[4] = null; - span77[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj141.CompletionQuestVariablesFlags = list231; - reference161 = obj141; - ref QuestStep reference162 = ref span75[2]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 2014113u, new Vector3(-197.9859f, -66.971924f, -130.87665f), 1187); - num3 = 6; - List list232 = new List(num3); - CollectionsMarshal.SetCount(list232, num3); - Span span78 = CollectionsMarshal.AsSpan(list232); - span78[0] = null; - span78[1] = null; - span78[2] = null; - span78[3] = null; - span78[4] = null; - span78[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list232; - reference162 = questStep23; - obj140.Steps = list229; - reference159 = obj140; - ref QuestSequence reference163 = ref span73[3]; - QuestSequence obj142 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - Span span79 = CollectionsMarshal.AsSpan(list233); - span79[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-57.510014f, -130.50172f, -442.2758f), 1187) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span79[1] = new QuestStep(EInteractionType.CompleteQuest, 1048666u, new Vector3(-54.8562f, -130.17744f, -443.1983f), 1187); - obj142.Steps = list233; - reference163 = obj142; - questRoot35.QuestSequence = list226; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(5038); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list234 = new List(num); - CollectionsMarshal.SetCount(list234, num); - CollectionsMarshal.AsSpan(list234)[0] = "liza"; - questRoot36.Author = list234; - num = 3; - List list235 = new List(num); - CollectionsMarshal.SetCount(list235, num); - Span span80 = CollectionsMarshal.AsSpan(list235); - ref QuestSequence reference164 = ref span80[0]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048658u, new Vector3(365.46875f, -146.10005f, -465.01874f), 1187); - obj143.Steps = list236; - reference164 = obj143; - ref QuestSequence reference165 = ref span80[1]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - ref QuestStep reference166 = ref CollectionsMarshal.AsSpan(list237)[0]; - QuestStep obj145 = new QuestStep(EInteractionType.Combat, 2014116u, new Vector3(-6.1189575f, -99.50415f, -247.97437f), 1187) - { - StopDistance = 0.25f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list238 = new List(num3); - CollectionsMarshal.SetCount(list238, num3); - CollectionsMarshal.AsSpan(list238)[0] = 17645u; - obj145.KillEnemyDataIds = list238; - reference166 = obj145; - obj144.Steps = list237; - reference165 = obj144; - ref QuestSequence reference167 = ref span80[2]; - QuestSequence obj146 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - CollectionsMarshal.AsSpan(list239)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048658u, new Vector3(365.46875f, -146.10005f, -465.01874f), 1187) - { - StopDistance = 0.5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWachunpelo - }; - obj146.Steps = list239; - reference167 = obj146; - questRoot36.QuestSequence = list235; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(5039); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list240 = new List(num); - CollectionsMarshal.SetCount(list240, num); - CollectionsMarshal.AsSpan(list240)[0] = "liza"; - questRoot37.Author = list240; - num = 4; - List list241 = new List(num); - CollectionsMarshal.SetCount(list241, num); - Span span81 = CollectionsMarshal.AsSpan(list241); - ref QuestSequence reference168 = ref span81[0]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - CollectionsMarshal.AsSpan(list242)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050684u, new Vector3(391.37854f, -156.07434f, -388.50995f), 1187); - obj147.Steps = list242; - reference168 = obj147; - ref QuestSequence reference169 = ref span81[1]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - ref QuestStep reference170 = ref CollectionsMarshal.AsSpan(list243)[0]; - QuestStep obj149 = new QuestStep(EInteractionType.Combat, null, new Vector3(258.56268f, -129.27074f, -351.33496f), 1187) - { - StopDistance = 0.25f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list244 = new List(num3); - CollectionsMarshal.SetCount(list244, num3); - CollectionsMarshal.AsSpan(list244)[0] = 17646u; - obj149.KillEnemyDataIds = list244; - reference170 = obj149; - obj148.Steps = list243; - reference169 = obj148; - ref QuestSequence reference171 = ref span81[2]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.Interact, 1050685u, new Vector3(256.94666f, -129.72865f, -355.73358f), 1187) - { - StopDistance = 7f - }; - obj150.Steps = list245; - reference171 = obj150; - ref QuestSequence reference172 = ref span81[3]; - QuestSequence obj151 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - CollectionsMarshal.AsSpan(list246)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050684u, new Vector3(391.37854f, -156.07434f, -388.50995f), 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWachunpelo - }; - obj151.Steps = list246; - reference172 = obj151; - questRoot37.QuestSequence = list241; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(5040); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list247 = new List(num); - CollectionsMarshal.SetCount(list247, num); - CollectionsMarshal.AsSpan(list247)[0] = "liza"; - questRoot38.Author = list247; - num = 3; - List list248 = new List(num); - CollectionsMarshal.SetCount(list248, num); - Span span82 = CollectionsMarshal.AsSpan(list248); - ref QuestSequence reference173 = ref span82[0]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051369u, new Vector3(357.83923f, -156.11935f, -386.43475f), 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWachunpelo, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj152.Steps = list249; - reference173 = obj152; - ref QuestSequence reference174 = ref span82[1]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - CollectionsMarshal.AsSpan(list250)[0] = new QuestStep(EInteractionType.Interact, 1051370u, new Vector3(302.02173f, -163.4447f, -420.34027f), 1187); - obj153.Steps = list250; - reference174 = obj153; - ref QuestSequence reference175 = ref span82[2]; - QuestSequence obj154 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - CollectionsMarshal.AsSpan(list251)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051371u, new Vector3(303.02893f, -163.416f, -421.53052f), 1187); - obj154.Steps = list251; - reference175 = obj154; - questRoot38.QuestSequence = list248; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(5041); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list252 = new List(num); - CollectionsMarshal.SetCount(list252, num); - CollectionsMarshal.AsSpan(list252)[0] = "liza"; - questRoot39.Author = list252; - num = 3; - List list253 = new List(num); - CollectionsMarshal.SetCount(list253, num); - Span span83 = CollectionsMarshal.AsSpan(list253); - ref QuestSequence reference176 = ref span83[0]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050689u, new Vector3(-147.2649f, 40.238018f, 44.449463f), 1187) - { - StopDistance = 5f - }; - obj155.Steps = list254; - reference176 = obj155; - ref QuestSequence reference177 = ref span83[1]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - Span span84 = CollectionsMarshal.AsSpan(list255); - ref QuestStep reference178 = ref span84[0]; - QuestStep obj157 = new QuestStep(EInteractionType.Interact, 2014120u, new Vector3(-624.5365f, 63.46228f, 210.8949f), 1187) - { - Fly = true - }; - num3 = 6; - List list256 = new List(num3); - CollectionsMarshal.SetCount(list256, num3); - Span span85 = CollectionsMarshal.AsSpan(list256); - span85[0] = null; - span85[1] = null; - span85[2] = null; - span85[3] = null; - span85[4] = null; - span85[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj157.CompletionQuestVariablesFlags = list256; - reference178 = obj157; - ref QuestStep reference179 = ref span84[1]; - QuestStep obj158 = new QuestStep(EInteractionType.Combat, 2014121u, new Vector3(-663.9048f, 61.875244f, 207.20227f), 1187) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list257 = new List(num3); - CollectionsMarshal.SetCount(list257, num3); - CollectionsMarshal.AsSpan(list257)[0] = 17647u; - obj158.KillEnemyDataIds = list257; - num3 = 6; - List list258 = new List(num3); - CollectionsMarshal.SetCount(list258, num3); - Span span86 = CollectionsMarshal.AsSpan(list258); - span86[0] = null; - span86[1] = null; - span86[2] = null; - span86[3] = null; - span86[4] = null; - span86[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj158.CompletionQuestVariablesFlags = list258; - reference179 = obj158; - ref QuestStep reference180 = ref span84[2]; - QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 2014119u, new Vector3(-658.4421f, 59.03711f, 182.42151f), 1187); - num3 = 6; - List list259 = new List(num3); - CollectionsMarshal.SetCount(list259, num3); - Span span87 = CollectionsMarshal.AsSpan(list259); - span87[0] = null; - span87[1] = null; - span87[2] = null; - span87[3] = null; - span87[4] = null; - span87[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep24.CompletionQuestVariablesFlags = list259; - reference180 = questStep24; - obj156.Steps = list255; - reference177 = obj156; - ref QuestSequence reference181 = ref span83[2]; - QuestSequence obj159 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050689u, new Vector3(-147.2649f, 40.238018f, 44.449463f), 1187) - { - StopDistance = 5f, - Fly = true - }; - obj159.Steps = list260; - reference181 = obj159; - questRoot39.QuestSequence = list253; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(5042); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list261 = new List(num); - CollectionsMarshal.SetCount(list261, num); - CollectionsMarshal.AsSpan(list261)[0] = "liza"; - questRoot40.Author = list261; - num = 5; - List list262 = new List(num); - CollectionsMarshal.SetCount(list262, num); - Span span88 = CollectionsMarshal.AsSpan(list262); - ref QuestSequence reference182 = ref span88[0]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - CollectionsMarshal.AsSpan(list263)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050690u, new Vector3(-82.993835f, 16.354095f, 19.150085f), 1187) - { - StopDistance = 5f - }; - obj160.Steps = list263; - reference182 = obj160; - ref QuestSequence reference183 = ref span88[1]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.Interact, 2014123u, new Vector3(-84.55023f, 16.830688f, 17.288391f), 1187) - { - StopDistance = 4.5f - }; - obj161.Steps = list264; - reference183 = obj161; - ref QuestSequence reference184 = ref span88[2]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.Interact, 2014124u, new Vector3(-299.64142f, 62.638306f, -66.331055f), 1187); - obj162.Steps = list265; - reference184 = obj162; - ref QuestSequence reference185 = ref span88[3]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - CollectionsMarshal.AsSpan(list266)[0] = new QuestStep(EInteractionType.Interact, 1050691u, new Vector3(-300.28235f, 62.68029f, -68.89453f), 1187) - { - StopDistance = 7f - }; - obj163.Steps = list266; - reference185 = obj163; - ref QuestSequence reference186 = ref span88[4]; - QuestSequence obj164 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - CollectionsMarshal.AsSpan(list267)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050690u, new Vector3(-82.993835f, 16.354095f, 19.150085f), 1187) - { - StopDistance = 5f, - Fly = true, - Emote = EEmote.Me - }; - obj164.Steps = list267; - reference186 = obj164; - questRoot40.QuestSequence = list262; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(5043); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list268 = new List(num); - CollectionsMarshal.SetCount(list268, num); - CollectionsMarshal.AsSpan(list268)[0] = "liza"; - questRoot41.Author = list268; - num = 3; - List list269 = new List(num); - CollectionsMarshal.SetCount(list269, num); - Span span89 = CollectionsMarshal.AsSpan(list269); - ref QuestSequence reference187 = ref span89[0]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - CollectionsMarshal.AsSpan(list270)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048761u, new Vector3(-499.71774f, 59.95439f, 130.93762f), 1187) - { - StopDistance = 5f - }; - obj165.Steps = list270; - reference187 = obj165; - ref QuestSequence reference188 = ref span89[1]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - Span span90 = CollectionsMarshal.AsSpan(list271); - ref QuestStep reference189 = ref span90[0]; - QuestStep obj167 = new QuestStep(EInteractionType.Instruction, 2014126u, new Vector3(-182.69635f, 51.68225f, 164.56848f), 1187) - { - Fly = true, - Comment = "TODO Needs item use" - }; - num3 = 6; - List list272 = new List(num3); - CollectionsMarshal.SetCount(list272, num3); - Span span91 = CollectionsMarshal.AsSpan(list272); - span91[0] = null; - span91[1] = null; - span91[2] = null; - span91[3] = null; - span91[4] = null; - span91[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj167.CompletionQuestVariablesFlags = list272; - reference189 = obj167; - ref QuestStep reference190 = ref span90[1]; - QuestStep obj168 = new QuestStep(EInteractionType.Interact, 2014125u, new Vector3(-161.57782f, 39.902344f, 252.39941f), 1187) - { - Fly = true - }; - num3 = 6; - List list273 = new List(num3); - CollectionsMarshal.SetCount(list273, num3); - Span span92 = CollectionsMarshal.AsSpan(list273); - span92[0] = null; - span92[1] = null; - span92[2] = null; - span92[3] = null; - span92[4] = null; - span92[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj168.CompletionQuestVariablesFlags = list273; - reference190 = obj168; - ref QuestStep reference191 = ref span90[2]; - QuestStep obj169 = new QuestStep(EInteractionType.Instruction, 2014127u, new Vector3(-239.36829f, 49.79016f, 343.52625f), 1187) - { - Fly = true, - Comment = "TODO Needs item use" - }; - num3 = 6; - List list274 = new List(num3); - CollectionsMarshal.SetCount(list274, num3); - Span span93 = CollectionsMarshal.AsSpan(list274); - span93[0] = null; - span93[1] = null; - span93[2] = null; - span93[3] = null; - span93[4] = null; - span93[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj169.CompletionQuestVariablesFlags = list274; - reference191 = obj169; - obj166.Steps = list271; - reference188 = obj166; - ref QuestSequence reference192 = ref span89[2]; - QuestSequence obj170 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048761u, new Vector3(-499.71774f, 59.95439f, 130.93762f), 1187) - { - StopDistance = 5f, - Fly = true - }; - obj170.Steps = list275; - reference192 = obj170; - questRoot41.QuestSequence = list269; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(5044); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list276 = new List(num); - CollectionsMarshal.SetCount(list276, num); - CollectionsMarshal.AsSpan(list276)[0] = "liza"; - questRoot42.Author = list276; - num = 3; - List list277 = new List(num); - CollectionsMarshal.SetCount(list277, num); - Span span94 = CollectionsMarshal.AsSpan(list277); - ref QuestSequence reference193 = ref span94[0]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - CollectionsMarshal.AsSpan(list278)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050692u, new Vector3(-410.84918f, 68.61058f, 184.9851f), 1187) - { - StopDistance = 5f - }; - obj171.Steps = list278; - reference193 = obj171; - ref QuestSequence reference194 = ref span94[1]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - ref QuestStep reference195 = ref CollectionsMarshal.AsSpan(list279)[0]; - QuestStep obj173 = new QuestStep(EInteractionType.Combat, 2014128u, new Vector3(-71.64111f, 18.295532f, 255.75635f), 1187) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list280 = new List(num3); - CollectionsMarshal.SetCount(list280, num3); - CollectionsMarshal.AsSpan(list280)[0] = 17649u; - obj173.KillEnemyDataIds = list280; - reference195 = obj173; - obj172.Steps = list279; - reference194 = obj172; - ref QuestSequence reference196 = ref span94[2]; - QuestSequence obj174 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - CollectionsMarshal.AsSpan(list281)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050720u, new Vector3(-410.84918f, 68.61058f, 184.9851f), 1187) - { - StopDistance = 5f, - Fly = true - }; - obj174.Steps = list281; - reference196 = obj174; - questRoot42.QuestSequence = list277; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(5045); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list282 = new List(num); - CollectionsMarshal.SetCount(list282, num); - CollectionsMarshal.AsSpan(list282)[0] = "liza"; - questRoot43.Author = list282; - num = 3; - List list283 = new List(num); - CollectionsMarshal.SetCount(list283, num); - Span span95 = CollectionsMarshal.AsSpan(list283); - ref QuestSequence reference197 = ref span95[0]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - CollectionsMarshal.AsSpan(list284)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048728u, new Vector3(439.8108f, 112.435f, 669.6116f), 1187) - { - StopDistance = 5f - }; - obj175.Steps = list284; - reference197 = obj175; - ref QuestSequence reference198 = ref span95[1]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - Span span96 = CollectionsMarshal.AsSpan(list285); - ref QuestStep reference199 = ref span96[0]; - QuestStep obj177 = new QuestStep(EInteractionType.Interact, 2014130u, new Vector3(438.651f, 103.80713f, 299.33618f), 1187) - { - Fly = true - }; - num3 = 6; - List list286 = new List(num3); - CollectionsMarshal.SetCount(list286, num3); - Span span97 = CollectionsMarshal.AsSpan(list286); - span97[0] = null; - span97[1] = null; - span97[2] = null; - span97[3] = null; - span97[4] = null; - span97[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj177.CompletionQuestVariablesFlags = list286; - reference199 = obj177; - ref QuestStep reference200 = ref span96[1]; - QuestStep obj178 = new QuestStep(EInteractionType.Interact, 2014129u, new Vector3(466.23938f, 106.767334f, 244.67834f), 1187) - { - Fly = true - }; - num3 = 6; - List list287 = new List(num3); - CollectionsMarshal.SetCount(list287, num3); - Span span98 = CollectionsMarshal.AsSpan(list287); - span98[0] = null; - span98[1] = null; - span98[2] = null; - span98[3] = null; - span98[4] = null; - span98[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj178.CompletionQuestVariablesFlags = list287; - reference200 = obj178; - ref QuestStep reference201 = ref span96[2]; - QuestStep questStep25 = new QuestStep(EInteractionType.Interact, 2014131u, new Vector3(486.6255f, 112.71838f, 271.13745f), 1187); - num3 = 6; - List list288 = new List(num3); - CollectionsMarshal.SetCount(list288, num3); - Span span99 = CollectionsMarshal.AsSpan(list288); - span99[0] = null; - span99[1] = null; - span99[2] = null; - span99[3] = null; - span99[4] = null; - span99[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep25.CompletionQuestVariablesFlags = list288; - reference201 = questStep25; - obj176.Steps = list285; - reference198 = obj176; - ref QuestSequence reference202 = ref span95[2]; - QuestSequence obj179 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048728u, new Vector3(439.8108f, 112.435f, 669.6116f), 1187) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho - }; - obj179.Steps = list289; - reference202 = obj179; - questRoot43.QuestSequence = list283; - AddQuest(questId43, questRoot43); - QuestId questId44 = new QuestId(5046); - QuestRoot questRoot44 = new QuestRoot(); - num = 1; - List list290 = new List(num); - CollectionsMarshal.SetCount(list290, num); - CollectionsMarshal.AsSpan(list290)[0] = "liza"; - questRoot44.Author = list290; - num = 3; - List list291 = new List(num); - CollectionsMarshal.SetCount(list291, num); - Span span100 = CollectionsMarshal.AsSpan(list291); - ref QuestSequence reference203 = ref span100[0]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - CollectionsMarshal.AsSpan(list292)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048729u, new Vector3(513.4203f, 107.13501f, 545.7998f), 1187) - { - StopDistance = 5f - }; - obj180.Steps = list292; - reference203 = obj180; - ref QuestSequence reference204 = ref span100[1]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - ref QuestStep reference205 = ref CollectionsMarshal.AsSpan(list293)[0]; - QuestStep obj182 = new QuestStep(EInteractionType.Combat, null, new Vector3(375.92813f, 74.827896f, 411.13763f), 1187) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list294 = new List(num3); - CollectionsMarshal.SetCount(list294, num3); - CollectionsMarshal.AsSpan(list294)[0] = 17484u; - obj182.KillEnemyDataIds = list294; - reference205 = obj182; - obj181.Steps = list293; - reference204 = obj181; - ref QuestSequence reference206 = ref span100[2]; - QuestSequence obj183 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - CollectionsMarshal.AsSpan(list295)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048729u, new Vector3(513.4203f, 107.13501f, 545.7998f), 1187) - { - StopDistance = 5f, - Fly = true - }; - obj183.Steps = list295; - reference206 = obj183; - questRoot44.QuestSequence = list291; - AddQuest(questId44, questRoot44); - QuestId questId45 = new QuestId(5047); - QuestRoot questRoot45 = new QuestRoot(); - num = 1; - List list296 = new List(num); - CollectionsMarshal.SetCount(list296, num); - CollectionsMarshal.AsSpan(list296)[0] = "liza"; - questRoot45.Author = list296; - num = 5; - List list297 = new List(num); - CollectionsMarshal.SetCount(list297, num); - Span span101 = CollectionsMarshal.AsSpan(list297); - ref QuestSequence reference207 = ref span101[0]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - CollectionsMarshal.AsSpan(list298)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048730u, new Vector3(399.0692f, 122.53533f, 542.9922f), 1187) - { - StopDistance = 5f - }; - obj184.Steps = list298; - reference207 = obj184; - ref QuestSequence reference208 = ref span101[1]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - CollectionsMarshal.AsSpan(list299)[0] = new QuestStep(EInteractionType.Interact, 2014132u, new Vector3(396.01733f, 123.88794f, 546.53235f), 1187) - { - StopDistance = 4.5f - }; - obj185.Steps = list299; - reference208 = obj185; - ref QuestSequence reference209 = ref span101[2]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - CollectionsMarshal.AsSpan(list300)[0] = new QuestStep(EInteractionType.Interact, 2014132u, new Vector3(396.01733f, 123.88794f, 546.53235f), 1187) - { - StopDistance = 4.5f - }; - obj186.Steps = list300; - reference209 = obj186; - ref QuestSequence reference210 = ref span101[3]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 3 - }; - num2 = 4; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - Span span102 = CollectionsMarshal.AsSpan(list301); - ref QuestStep reference211 = ref span102[0]; - QuestStep obj188 = new QuestStep(EInteractionType.UseItem, 2014133u, new Vector3(387.59436f, 131.0597f, 640.772f), 1187) - { - StopDistance = 3f, - IgnoreDistanceToObject = true, - ItemId = 2003618u - }; - num3 = 6; - List list302 = new List(num3); - CollectionsMarshal.SetCount(list302, num3); - Span span103 = CollectionsMarshal.AsSpan(list302); - span103[0] = null; - span103[1] = null; - span103[2] = null; - span103[3] = null; - span103[4] = null; - span103[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj188.CompletionQuestVariablesFlags = list302; - reference211 = obj188; - ref QuestStep reference212 = ref span102[1]; - QuestStep obj189 = new QuestStep(EInteractionType.UseItem, 2014135u, new Vector3(489.95178f, 114.4884f, 698.3596f), 1187) - { - StopDistance = 3f, - IgnoreDistanceToObject = true, - ItemId = 2003618u - }; - num3 = 6; - List list303 = new List(num3); - CollectionsMarshal.SetCount(list303, num3); - Span span104 = CollectionsMarshal.AsSpan(list303); - span104[0] = null; - span104[1] = null; - span104[2] = null; - span104[3] = null; - span104[4] = null; - span104[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj189.CompletionQuestVariablesFlags = list303; - reference212 = obj189; - ref QuestStep reference213 = ref span102[2]; - QuestStep obj190 = new QuestStep(EInteractionType.Jump, null, new Vector3(530.3024f, 111.13472f, 604.9302f), 1187) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(533.03186f, 112.241264f, 603.3909f), - DelaySeconds = 0.25f - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list304 = new List(num3); - CollectionsMarshal.SetCount(list304, num3); - Span span105 = CollectionsMarshal.AsSpan(list304); - span105[0] = null; - span105[1] = null; - span105[2] = null; - span105[3] = null; - span105[4] = null; - span105[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list304; - skipConditions3.StepIf = skipStepConditions; - obj190.SkipConditions = skipConditions3; - reference213 = obj190; - ref QuestStep reference214 = ref span102[3]; - QuestStep obj191 = new QuestStep(EInteractionType.UseItem, 2014134u, new Vector3(533.53174f, 114.24426f, 603.0823f), 1187) - { - StopDistance = 3f, - IgnoreDistanceToObject = true, - ItemId = 2003618u - }; - num3 = 6; - List list305 = new List(num3); - CollectionsMarshal.SetCount(list305, num3); - Span span106 = CollectionsMarshal.AsSpan(list305); - span106[0] = null; - span106[1] = null; - span106[2] = null; - span106[3] = null; - span106[4] = null; - span106[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj191.CompletionQuestVariablesFlags = list305; - reference214 = obj191; - obj187.Steps = list301; - reference210 = obj187; - ref QuestSequence reference215 = ref span101[4]; - QuestSequence obj192 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - Span span107 = CollectionsMarshal.AsSpan(list306); - span107[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(415.27682f, 122.535f, 564.56915f), 1187); - span107[1] = new QuestStep(EInteractionType.CompleteQuest, 1048730u, new Vector3(399.0692f, 122.53533f, 542.9922f), 1187) - { - StopDistance = 5f - }; - obj192.Steps = list306; - reference215 = obj192; - questRoot45.QuestSequence = list297; - AddQuest(questId45, questRoot45); - QuestId questId46 = new QuestId(5048); - QuestRoot questRoot46 = new QuestRoot(); - num = 1; - List list307 = new List(num); - CollectionsMarshal.SetCount(list307, num); - CollectionsMarshal.AsSpan(list307)[0] = "liza"; - questRoot46.Author = list307; - num = 4; - List list308 = new List(num); - CollectionsMarshal.SetCount(list308, num); - Span span108 = CollectionsMarshal.AsSpan(list308); - ref QuestSequence reference216 = ref span108[0]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - CollectionsMarshal.AsSpan(list309)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050693u, new Vector3(398.70288f, 122.54732f, 523.4912f), 1187) - { - StopDistance = 5f - }; - obj193.Steps = list309; - reference216 = obj193; - ref QuestSequence reference217 = ref span108[1]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - CollectionsMarshal.AsSpan(list310)[0] = new QuestStep(EInteractionType.Emote, 1050694u, new Vector3(-22.720703f, 54.759686f, 522.88086f), 1187) - { - Fly = true, - Emote = EEmote.Soothe - }; - obj194.Steps = list310; - reference217 = obj194; - ref QuestSequence reference218 = ref span108[2]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list311 = new List(num2); - CollectionsMarshal.SetCount(list311, num2); - CollectionsMarshal.AsSpan(list311)[0] = new QuestStep(EInteractionType.Say, 1050694u, new Vector3(-22.720703f, 54.759686f, 522.88086f), 1187) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_KINGZB108_05048_SAYTODO_000_100" - } - }; - obj195.Steps = list311; - reference218 = obj195; - ref QuestSequence reference219 = ref span108[3]; - QuestSequence obj196 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - CollectionsMarshal.AsSpan(list312)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050693u, new Vector3(398.70288f, 122.54732f, 523.4912f), 1187) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho - }; - obj196.Steps = list312; - reference219 = obj196; - questRoot46.QuestSequence = list308; - AddQuest(questId46, questRoot46); - QuestId questId47 = new QuestId(5049); - QuestRoot questRoot47 = new QuestRoot(); - num = 1; - List list313 = new List(num); - CollectionsMarshal.SetCount(list313, num); - CollectionsMarshal.AsSpan(list313)[0] = "liza"; - questRoot47.Author = list313; - num = 5; - List list314 = new List(num); - CollectionsMarshal.SetCount(list314, num); - Span span109 = CollectionsMarshal.AsSpan(list314); - ref QuestSequence reference220 = ref span109[0]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - CollectionsMarshal.AsSpan(list315)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048731u, new Vector3(464.71338f, 131.25926f, 690.66907f), 1187) - { - StopDistance = 1f - }; - obj197.Steps = list315; - reference220 = obj197; - ref QuestSequence reference221 = ref span109[1]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - CollectionsMarshal.AsSpan(list316)[0] = new QuestStep(EInteractionType.Interact, 1050697u, new Vector3(190.4784f, 18.978786f, 210.49817f), 1187) - { - Fly = true - }; - obj198.Steps = list316; - reference221 = obj198; - ref QuestSequence reference222 = ref span109[2]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list317 = new List(num2); - CollectionsMarshal.SetCount(list317, num2); - Span span110 = CollectionsMarshal.AsSpan(list317); - ref QuestStep reference223 = ref span110[0]; - QuestStep obj200 = new QuestStep(EInteractionType.Combat, null, new Vector3(238.52116f, 47.201637f, 78.30595f), 1187) - { - StopDistance = 0.25f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list318 = new List(num3); - CollectionsMarshal.SetCount(list318, num3); - CollectionsMarshal.AsSpan(list318)[0] = 17650u; - obj200.KillEnemyDataIds = list318; - num3 = 6; - List list319 = new List(num3); - CollectionsMarshal.SetCount(list319, num3); - Span span111 = CollectionsMarshal.AsSpan(list319); - span111[0] = null; - span111[1] = null; - span111[2] = null; - span111[3] = null; - span111[4] = null; - span111[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj200.CompletionQuestVariablesFlags = list319; - reference223 = obj200; - ref QuestStep reference224 = ref span110[1]; - QuestStep obj201 = new QuestStep(EInteractionType.Combat, null, new Vector3(173.96666f, 56.288116f, -18.299652f), 1187) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list320 = new List(num3); - CollectionsMarshal.SetCount(list320, num3); - CollectionsMarshal.AsSpan(list320)[0] = 17650u; - obj201.KillEnemyDataIds = list320; - num3 = 6; - List list321 = new List(num3); - CollectionsMarshal.SetCount(list321, num3); - Span span112 = CollectionsMarshal.AsSpan(list321); - span112[0] = null; - span112[1] = null; - span112[2] = null; - span112[3] = null; - span112[4] = null; - span112[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj201.CompletionQuestVariablesFlags = list321; - reference224 = obj201; - obj199.Steps = list317; - reference222 = obj199; - ref QuestSequence reference225 = ref span109[3]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list322 = new List(num2); - CollectionsMarshal.SetCount(list322, num2); - ref QuestStep reference226 = ref CollectionsMarshal.AsSpan(list322)[0]; - QuestStep obj203 = new QuestStep(EInteractionType.Combat, 1050698u, new Vector3(97.642456f, 38.62021f, -35.81299f), 1187) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list323 = new List(num3); - CollectionsMarshal.SetCount(list323, num3); - CollectionsMarshal.AsSpan(list323)[0] = 17651u; - obj203.KillEnemyDataIds = list323; - reference226 = obj203; - obj202.Steps = list322; - reference225 = obj202; - ref QuestSequence reference227 = ref span109[4]; - QuestSequence obj204 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list324 = new List(num2); - CollectionsMarshal.SetCount(list324, num2); - CollectionsMarshal.AsSpan(list324)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048731u, new Vector3(464.71338f, 131.25926f, 690.66907f), 1187) - { - StopDistance = 1f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho - }; - obj204.Steps = list324; - reference227 = obj204; - questRoot47.QuestSequence = list314; - AddQuest(questId47, questRoot47); - } - - private static void LoadQuests101() - { - QuestId questId = new QuestId(5050); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048732u, new Vector3(541.4053f, 107.13434f, 602.50244f), 1187) - { - StopDistance = 5f - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference3 = ref span2[0]; - QuestStep obj3 = new QuestStep(EInteractionType.Interact, 1048774u, new Vector3(495.35352f, 114.935f, 632.95935f), 1187) - { - Fly = true - }; - int num3 = 6; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - Span span3 = CollectionsMarshal.AsSpan(list5); - span3[0] = null; - span3[1] = null; - span3[2] = null; - span3[3] = null; - span3[4] = null; - span3[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj3.CompletionQuestVariablesFlags = list5; - reference3 = obj3; - ref QuestStep reference4 = ref span2[1]; - QuestStep obj4 = new QuestStep(EInteractionType.Interact, 1048745u, new Vector3(383.3523f, 129.04726f, 657.52637f), 1187) - { - Fly = true - }; - num3 = 6; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - Span span4 = CollectionsMarshal.AsSpan(list6); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj4.CompletionQuestVariablesFlags = list6; - reference4 = obj4; - ref QuestStep reference5 = ref span2[2]; - QuestStep obj5 = new QuestStep(EInteractionType.Interact, 1048747u, new Vector3(348.47034f, 130.34726f, 597.3755f), 1187) - { - Fly = true - }; - num3 = 6; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - Span span5 = CollectionsMarshal.AsSpan(list7); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj5.CompletionQuestVariablesFlags = list7; - reference5 = obj5; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference6 = ref span[2]; - QuestSequence obj6 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048732u, new Vector3(541.4053f, 107.13434f, 602.50244f), 1187) - { - StopDistance = 5f, - Fly = true - }; - obj6.Steps = list8; - reference6 = obj6; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(5051); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - CollectionsMarshal.AsSpan(list9)[0] = "liza"; - questRoot2.Author = list9; - num = 4; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - Span span6 = CollectionsMarshal.AsSpan(list10); - ref QuestSequence reference7 = ref span6[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051195u, new Vector3(383.29138f, -154.50243f, -420.49292f), 1187); - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span6[1]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Interact, 1051195u, new Vector3(383.29138f, -154.50243f, -420.49292f), 1187); - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference9 = ref span6[2]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.Interact, 1051196u, new Vector3(297.19995f, -172.65335f, -488.57864f), 1187); - obj9.Steps = list13; - reference9 = obj9; - ref QuestSequence reference10 = ref span6[3]; - QuestSequence obj10 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051195u, new Vector3(383.29138f, -154.50243f, -420.49292f), 1187); - obj10.Steps = list14; - reference10 = obj10; - questRoot2.QuestSequence = list10; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(5052); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - CollectionsMarshal.AsSpan(list15)[0] = "liza"; - questRoot3.Author = list15; - num = 5; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - Span span7 = CollectionsMarshal.AsSpan(list16); - ref QuestSequence reference11 = ref span7[0]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051195u, new Vector3(383.29138f, -154.50243f, -420.49292f), 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWachunpelo, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(383.29138f, -154.50243f, -420.49292f), - MaximumDistance = 100f, - TerritoryId = 1187 - } - } - } - }; - obj11.Steps = list17; - reference11 = obj11; - ref QuestSequence reference12 = ref span7[1]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.Interact, 1051199u, new Vector3(442.95398f, -116.815155f, -178.63745f), 1187) - { - Fly = true - }; - obj12.Steps = list18; - reference12 = obj12; - ref QuestSequence reference13 = ref span7[2]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.Interact, 1051200u, new Vector3(563.83606f, -49.515564f, 49.54602f), 1187) - { - Fly = true - }; - obj13.Steps = list19; - reference13 = obj13; - ref QuestSequence reference14 = ref span7[3]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.Interact, 1048773u, new Vector3(576.2875f, -49.16388f, 37.00305f), 1187); - obj14.Steps = list20; - reference14 = obj14; - ref QuestSequence reference15 = ref span7[4]; - QuestSequence obj15 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051195u, new Vector3(383.29138f, -154.50243f, -420.49292f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWachunpelo, - NextQuestId = new QuestId(5053) - }; - obj15.Steps = list21; - reference15 = obj15; - questRoot3.QuestSequence = list16; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(5053); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - CollectionsMarshal.AsSpan(list22)[0] = "liza"; - questRoot4.Author = list22; - num = 3; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - Span span8 = CollectionsMarshal.AsSpan(list23); - ref QuestSequence reference16 = ref span8[0]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - ref QuestStep reference17 = ref CollectionsMarshal.AsSpan(list24)[0]; - QuestStep obj17 = new QuestStep(EInteractionType.AcceptQuest, 1051195u, new Vector3(383.29138f, -154.50243f, -420.49292f), 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWachunpelo, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(383.29138f, -154.50243f, -420.49292f), - MaximumDistance = 100f, - TerritoryId = 1187 - } - } - } - }; - num3 = 1; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - CollectionsMarshal.AsSpan(list25)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZB203_05053_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGZB203_05053_A1_000_003") - }; - obj17.DialogueChoices = list25; - reference17 = obj17; - obj16.Steps = list24; - reference16 = obj16; - ref QuestSequence reference18 = ref span8[1]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - Span span9 = CollectionsMarshal.AsSpan(list26); - ref QuestStep reference19 = ref span9[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1048629u, new Vector3(353.35315f, -158.06824f, -423.72784f), 1187); - num3 = 6; - List list27 = new List(num3); - CollectionsMarshal.SetCount(list27, num3); - Span span10 = CollectionsMarshal.AsSpan(list27); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list27; - reference19 = questStep; - ref QuestStep reference20 = ref span9[1]; - QuestStep obj19 = new QuestStep(EInteractionType.Interact, 1051202u, new Vector3(338.55188f, -160.20284f, -450.9804f), 1187) - { - Fly = true - }; - num3 = 6; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - Span span11 = CollectionsMarshal.AsSpan(list28); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj19.CompletionQuestVariablesFlags = list28; - reference20 = obj19; - ref QuestStep reference21 = ref span9[2]; - QuestStep obj20 = new QuestStep(EInteractionType.Interact, 1051203u, new Vector3(283.22266f, -168.30641f, -452.26215f), 1187) - { - Fly = true - }; - num3 = 6; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - Span span12 = CollectionsMarshal.AsSpan(list29); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj20.CompletionQuestVariablesFlags = list29; - reference21 = obj20; - ref QuestStep reference22 = ref span9[3]; - QuestStep obj21 = new QuestStep(EInteractionType.Interact, 1048660u, new Vector3(246.3263f, -168.27f, -487.20532f), 1187) - { - Fly = true - }; - num3 = 6; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - Span span13 = CollectionsMarshal.AsSpan(list30); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj21.CompletionQuestVariablesFlags = list30; - reference22 = obj21; - obj18.Steps = list26; - reference18 = obj18; - ref QuestSequence reference23 = ref span8[2]; - QuestSequence obj22 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - ref QuestStep reference24 = ref CollectionsMarshal.AsSpan(list31)[0]; - QuestStep obj23 = new QuestStep(EInteractionType.CompleteQuest, 1051195u, new Vector3(383.29138f, -154.50243f, -420.49292f), 1187) - { - Fly = true - }; - num3 = 1; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - CollectionsMarshal.AsSpan(list32)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGZB203_05053_Q2_000_000") - }; - obj23.DialogueChoices = list32; - obj23.NextQuestId = new QuestId(5054); - reference24 = obj23; - obj22.Steps = list31; - reference23 = obj22; - questRoot4.QuestSequence = list23; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(5054); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list33 = new List(num); - CollectionsMarshal.SetCount(list33, num); - CollectionsMarshal.AsSpan(list33)[0] = "liza"; - questRoot5.Author = list33; - num = 5; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - Span span14 = CollectionsMarshal.AsSpan(list34); - ref QuestSequence reference25 = ref span14[0]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051195u, new Vector3(383.29138f, -154.50243f, -420.49292f), 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWachunpelo, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(383.29138f, -154.50243f, -420.49292f), - MaximumDistance = 100f, - TerritoryId = 1187 - } - } - } - }; - obj24.Steps = list35; - reference25 = obj24; - ref QuestSequence reference26 = ref span14[1]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.Interact, 1051200u, new Vector3(563.83606f, -49.515564f, 49.54602f), 1187) - { - Fly = true - }; - obj25.Steps = list36; - reference26 = obj25; - ref QuestSequence reference27 = ref span14[2]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - ref QuestStep reference28 = ref CollectionsMarshal.AsSpan(list37)[0]; - QuestStep obj27 = new QuestStep(EInteractionType.Interact, 2014271u, new Vector3(560.9064f, -54.459473f, 22.781677f), 1187) - { - DisableNavmesh = true - }; - num3 = 1; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - CollectionsMarshal.AsSpan(list38)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGZB204_05054_Q1_000_000") - }; - obj27.DialogueChoices = list38; - reference28 = obj27; - obj26.Steps = list37; - reference27 = obj26; - ref QuestSequence reference29 = ref span14[3]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 1051204u, new Vector3(562.7374f, -54.457336f, 21.530457f), 1187) - { - StopDistance = 5f - }; - obj28.Steps = list39; - reference29 = obj28; - ref QuestSequence reference30 = ref span14[4]; - QuestSequence obj29 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051195u, new Vector3(383.29138f, -154.50243f, -420.49292f), 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWachunpelo - }; - obj29.Steps = list40; - reference30 = obj29; - questRoot5.QuestSequence = list34; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(5055); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - CollectionsMarshal.AsSpan(list41)[0] = "liza"; - questRoot6.Author = list41; - num = 5; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - Span span15 = CollectionsMarshal.AsSpan(list42); - ref QuestSequence reference31 = ref span15[0]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051207u, new Vector3(425.07043f, 118.935005f, 606.13403f), 1187) - { - StopDistance = 5f - }; - obj30.Steps = list43; - reference31 = obj30; - ref QuestSequence reference32 = ref span15[1]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - Span span16 = CollectionsMarshal.AsSpan(list44); - span16[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(222.22293f, 22.315279f, 284.40256f), 1187); - span16[1] = new QuestStep(EInteractionType.Interact, 1051208u, new Vector3(210.92542f, 21.49294f, 246.6925f), 1187) - { - StopDistance = 5f - }; - obj31.Steps = list44; - reference32 = obj31; - ref QuestSequence reference33 = ref span15[2]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - ref QuestStep reference34 = ref CollectionsMarshal.AsSpan(list45)[0]; - QuestStep obj33 = new QuestStep(EInteractionType.Combat, 2014272u, new Vector3(133.53162f, 22.2323f, 295.9182f), 1187) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - CollectionsMarshal.AsSpan(list46)[0] = 17652u; - obj33.KillEnemyDataIds = list46; - reference34 = obj33; - obj32.Steps = list45; - reference33 = obj32; - ref QuestSequence reference35 = ref span15[3]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - Span span17 = CollectionsMarshal.AsSpan(list47); - span17[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(150.55826f, 15.18635f, 247.66484f), 1187) - { - Comment = "Avoids combat" - }; - span17[1] = new QuestStep(EInteractionType.Interact, 1051208u, new Vector3(210.92542f, 21.49294f, 246.6925f), 1187); - obj34.Steps = list47; - reference35 = obj34; - ref QuestSequence reference36 = ref span15[4]; - QuestSequence obj35 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051207u, new Vector3(425.07043f, 118.935005f, 606.13403f), 1187) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho - }; - obj35.Steps = list48; - reference36 = obj35; - questRoot6.QuestSequence = list42; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(5056); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - CollectionsMarshal.AsSpan(list49)[0] = "liza"; - questRoot7.Author = list49; - num = 6; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - Span span18 = CollectionsMarshal.AsSpan(list50); - ref QuestSequence reference37 = ref span18[0]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - ref QuestStep reference38 = ref CollectionsMarshal.AsSpan(list51)[0]; - QuestStep obj37 = new QuestStep(EInteractionType.AcceptQuest, 1051207u, new Vector3(425.07043f, 118.935005f, 606.13403f), 1187) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(425.07043f, 118.935005f, 606.13403f), - MaximumDistance = 100f, - TerritoryId = 1187 - } - } - } - }; - num3 = 1; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - CollectionsMarshal.AsSpan(list52)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZB302_05056_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGZB302_05056_A1_000_001") - }; - obj37.DialogueChoices = list52; - reference38 = obj37; - obj36.Steps = list51; - reference37 = obj36; - ref QuestSequence reference39 = ref span18[1]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.Interact, 1051211u, new Vector3(508.35413f, 111.134995f, 711.57385f), 1187) - { - Fly = true - }; - obj38.Steps = list53; - reference39 = obj38; - ref QuestSequence reference40 = ref span18[2]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - Span span19 = CollectionsMarshal.AsSpan(list54); - ref QuestStep reference41 = ref span19[0]; - QuestStep obj40 = new QuestStep(EInteractionType.Interact, 2014275u, new Vector3(673.2433f, 124.40674f, 416.28137f), 1187) - { - StopDistance = 0.25f, - Fly = true - }; - num3 = 6; - List list55 = new List(num3); - CollectionsMarshal.SetCount(list55, num3); - Span span20 = CollectionsMarshal.AsSpan(list55); - span20[0] = null; - span20[1] = null; - span20[2] = null; - span20[3] = null; - span20[4] = null; - span20[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj40.CompletionQuestVariablesFlags = list55; - reference41 = obj40; - ref QuestStep reference42 = ref span19[1]; - QuestStep obj41 = new QuestStep(EInteractionType.Interact, 2014273u, new Vector3(631.58606f, 124.833984f, 405.7527f), 1187) - { - StopDistance = 0.25f, - Fly = true - }; - num3 = 6; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - Span span21 = CollectionsMarshal.AsSpan(list56); - span21[0] = null; - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj41.CompletionQuestVariablesFlags = list56; - reference42 = obj41; - ref QuestStep reference43 = ref span19[2]; - QuestStep obj42 = new QuestStep(EInteractionType.Interact, 2014274u, new Vector3(637.93384f, 120.80554f, 352.34607f), 1187) - { - StopDistance = 0.25f, - Fly = true - }; - num3 = 6; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - Span span22 = CollectionsMarshal.AsSpan(list57); - span22[0] = null; - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj42.CompletionQuestVariablesFlags = list57; - reference43 = obj42; - obj39.Steps = list54; - reference40 = obj39; - ref QuestSequence reference44 = ref span18[3]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.Interact, 1051213u, new Vector3(624.9331f, 122.30835f, 387.41125f), 1187) - { - StopDistance = 5f - }; - obj43.Steps = list58; - reference44 = obj43; - ref QuestSequence reference45 = ref span18[4]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.Interact, 1051211u, new Vector3(508.35413f, 111.134995f, 711.57385f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho - }; - obj44.Steps = list59; - reference45 = obj44; - ref QuestSequence reference46 = ref span18[5]; - QuestSequence obj45 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051207u, new Vector3(425.07043f, 118.935005f, 606.13403f), 1187) - { - StopDistance = 5f, - Fly = true, - NextQuestId = new QuestId(5057) - }; - obj45.Steps = list60; - reference46 = obj45; - questRoot7.QuestSequence = list50; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(5057); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - CollectionsMarshal.AsSpan(list61)[0] = "liza"; - questRoot8.Author = list61; - num = 6; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - Span span23 = CollectionsMarshal.AsSpan(list62); - ref QuestSequence reference47 = ref span23[0]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - ref QuestStep reference48 = ref CollectionsMarshal.AsSpan(list63)[0]; - QuestStep obj47 = new QuestStep(EInteractionType.AcceptQuest, 1051207u, new Vector3(425.07043f, 118.935005f, 606.13403f), 1187) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(425.07043f, 118.935005f, 606.13403f), - MaximumDistance = 100f, - TerritoryId = 1187 - } - } - } - }; - num3 = 1; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - CollectionsMarshal.AsSpan(list64)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZB303_05057_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGZB303_05057_A1_000_001") - }; - obj47.DialogueChoices = list64; - reference48 = obj47; - obj46.Steps = list63; - reference47 = obj46; - ref QuestSequence reference49 = ref span23[1]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.Interact, 1051214u, new Vector3(256.21423f, 25.563068f, 227.55774f), 1187) - { - Fly = true - }; - obj48.Steps = list65; - reference49 = obj48; - ref QuestSequence reference50 = ref span23[2]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - Span span24 = CollectionsMarshal.AsSpan(list66); - span24[0] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 17653u, new Vector3(215.6255f, 24.677507f, 182.81274f), 1187) - { - NpcWaitDistance = 6f, - Mount = false, - Sprint = false - }; - span24[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 17653u, new Vector3(167.20306f, 24.205856f, 150.9515f), 1187) - { - NpcWaitDistance = 6f, - Mount = false, - Sprint = false - }; - span24[2] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 17653u, new Vector3(202.11948f, 39.574707f, 86.737045f), 1187) - { - NpcWaitDistance = 6f, - Mount = false, - Sprint = false - }; - ref QuestStep reference51 = ref span24[3]; - QuestStep obj50 = new QuestStep(EInteractionType.Combat, null, new Vector3(194.26257f, 47.196045f, 45.853394f), 1187) - { - Mount = false, - Sprint = false, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - CollectionsMarshal.AsSpan(list67)[0] = 17654u; - obj50.KillEnemyDataIds = list67; - reference51 = obj50; - span24[4] = new QuestStep(EInteractionType.Interact, 2014276u, new Vector3(194.26257f, 47.196045f, 45.853394f), 1187); - obj49.Steps = list66; - reference50 = obj49; - ref QuestSequence reference52 = ref span23[3]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - Span span25 = CollectionsMarshal.AsSpan(list68); - span25[0] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 17653u, new Vector3(235.00903f, 44.070503f, -28.761452f), 1187) - { - NpcWaitDistance = 6.5f, - Mount = false, - Sprint = false - }; - span25[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 17653u, new Vector3(248.98132f, 29.587158f, -67.73486f), 1187) - { - NpcWaitDistance = 6.5f, - Mount = false, - Sprint = false - }; - span25[2] = new QuestStep(EInteractionType.Interact, 2014277u, new Vector3(248.98132f, 29.587158f, -67.73486f), 1187); - obj51.Steps = list68; - reference52 = obj51; - ref QuestSequence reference53 = ref span23[4]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.Interact, 1051215u, new Vector3(247.60815f, 29.59192f, -64.40839f), 1187) - { - StopDistance = 5f - }; - obj52.Steps = list69; - reference53 = obj52; - ref QuestSequence reference54 = ref span23[5]; - QuestSequence obj53 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051207u, new Vector3(425.07043f, 118.935005f, 606.13403f), 1187) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - NextQuestId = new QuestId(5058) - }; - obj53.Steps = list70; - reference54 = obj53; - questRoot8.QuestSequence = list62; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(5058); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - CollectionsMarshal.AsSpan(list71)[0] = "liza"; - questRoot9.Author = list71; - num = 8; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - Span span26 = CollectionsMarshal.AsSpan(list72); - ref QuestSequence reference55 = ref span26[0]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051207u, new Vector3(425.07043f, 118.935005f, 606.13403f), 1187) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(425.07043f, 118.935005f, 606.13403f), - MaximumDistance = 100f, - TerritoryId = 1187 - } - } - } - }; - obj54.Steps = list73; - reference55 = obj54; - ref QuestSequence reference56 = ref span26[1]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.Interact, 1051216u, new Vector3(522.8502f, 111.135f, 614.3434f), 1187) - { - Fly = true - }; - obj55.Steps = list74; - reference56 = obj55; - ref QuestSequence reference57 = ref span26[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.Interact, 1051218u, new Vector3(-595.72754f, 58.576252f, 137.86523f), 1187) - { - Fly = true - }; - obj56.Steps = list75; - reference57 = obj56; - ref QuestSequence reference58 = ref span26[3]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.Interact, 1051221u, new Vector3(-670.25256f, 53.34527f, 126.29883f), 1187) - { - StopDistance = 0.25f, - Fly = true - }; - obj57.Steps = list76; - reference58 = obj57; - ref QuestSequence reference59 = ref span26[4]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - ref QuestStep reference60 = ref CollectionsMarshal.AsSpan(list77)[0]; - QuestStep obj59 = new QuestStep(EInteractionType.Combat, null, new Vector3(-779.43585f, 61.86622f, 198.07907f), 1187) - { - StopDistance = 0.25f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - CollectionsMarshal.AsSpan(list78)[0] = 17655u; - obj59.KillEnemyDataIds = list78; - reference60 = obj59; - obj58.Steps = list77; - reference59 = obj58; - ref QuestSequence reference61 = ref span26[5]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.Interact, 1051223u, new Vector3(-781.3993f, 61.80422f, 198.2909f), 1187) - { - StopDistance = 8f - }; - obj60.Steps = list79; - reference61 = obj60; - ref QuestSequence reference62 = ref span26[6]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.Interact, 1051225u, new Vector3(-787.5334f, 50.050797f, 88.54797f), 1187) - { - StopDistance = 5f - }; - obj61.Steps = list80; - reference62 = obj61; - ref QuestSequence reference63 = ref span26[7]; - QuestSequence obj62 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - CollectionsMarshal.AsSpan(list81)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051207u, new Vector3(425.07043f, 118.935005f, 606.13403f), 1187) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - NextQuestId = new QuestId(5059) - }; - obj62.Steps = list81; - reference63 = obj62; - questRoot9.QuestSequence = list72; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(5059); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - CollectionsMarshal.AsSpan(list82)[0] = "liza"; - questRoot10.Author = list82; - num = 6; - List list83 = new List(num); - CollectionsMarshal.SetCount(list83, num); - Span span27 = CollectionsMarshal.AsSpan(list83); - ref QuestSequence reference64 = ref span27[0]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051207u, new Vector3(425.07043f, 118.935005f, 606.13403f), 1187) - { - StopDistance = 5f, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(425.07043f, 118.935005f, 606.13403f), - MaximumDistance = 100f, - TerritoryId = 1187 - } - } - } - }; - obj63.Steps = list84; - reference64 = obj63; - ref QuestSequence reference65 = ref span27[1]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.Interact, 1051195u, new Vector3(383.29138f, -154.50243f, -420.49292f), 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWachunpelo - }; - obj64.Steps = list85; - reference65 = obj64; - ref QuestSequence reference66 = ref span27[2]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.Interact, 1051228u, new Vector3(476.2798f, -133.9321f, -353.01752f), 1187) - { - Fly = true - }; - obj65.Steps = list86; - reference66 = obj65; - ref QuestSequence reference67 = ref span27[3]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.Interact, 1051230u, new Vector3(-23.422668f, 54.695663f, 533.1044f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho - }; - obj66.Steps = list87; - reference67 = obj66; - ref QuestSequence reference68 = ref span27[4]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 1051235u, new Vector3(-22.354492f, 54.58289f, 536.1256f), 1187) - { - StopDistance = 5f - }; - obj67.Steps = list88; - reference68 = obj67; - ref QuestSequence reference69 = ref span27[5]; - QuestSequence obj68 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051236u, new Vector3(426.3828f, 118.935f, 603.6621f), 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho - }; - obj68.Steps = list89; - reference69 = obj68; - questRoot10.QuestSequence = list83; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(5060); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - CollectionsMarshal.AsSpan(list90)[0] = "liza"; - questRoot11.Author = list90; - num = 4; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - Span span28 = CollectionsMarshal.AsSpan(list91); - ref QuestSequence reference70 = ref span28[0]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - CollectionsMarshal.AsSpan(list92)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048779u, new Vector3(-231.15894f, 3.221878f, -453.17773f), 1188); - obj69.Steps = list92; - reference70 = obj69; - ref QuestSequence reference71 = ref span28[1]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - Span span29 = CollectionsMarshal.AsSpan(list93); - span29[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-93.41179f, 15.238003f, -677.9412f), 1188) - { - Fly = true - }; - span29[1] = new QuestStep(EInteractionType.Interact, 2014160u, new Vector3(-95.23157f, 16.464417f, -677.8821f), 1188); - obj70.Steps = list93; - reference71 = obj70; - ref QuestSequence reference72 = ref span28[2]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - Span span30 = CollectionsMarshal.AsSpan(list94); - span30[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(183.02583f, -0.40592146f, -568.2219f), 1188) - { - Fly = true - }; - ref QuestStep reference73 = ref span30[1]; - QuestStep obj72 = new QuestStep(EInteractionType.UseItem, 2014163u, new Vector3(181.8722f, 0.99176025f, -568.5359f), 1188) - { - Fly = true, - ItemId = 2003626u - }; - num3 = 6; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - Span span31 = CollectionsMarshal.AsSpan(list95); - span31[0] = null; - span31[1] = null; - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj72.CompletionQuestVariablesFlags = list95; - reference73 = obj72; - ref QuestStep reference74 = ref span30[2]; - QuestStep obj73 = new QuestStep(EInteractionType.UseItem, 2014161u, new Vector3(221.57617f, 0.99176025f, -610.7423f), 1188) - { - ItemId = 2003626u - }; - num3 = 6; - List list96 = new List(num3); - CollectionsMarshal.SetCount(list96, num3); - Span span32 = CollectionsMarshal.AsSpan(list96); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj73.CompletionQuestVariablesFlags = list96; - reference74 = obj73; - ref QuestStep reference75 = ref span30[3]; - QuestStep obj74 = new QuestStep(EInteractionType.UseItem, 2014162u, new Vector3(244.953f, 1.1138916f, -569.2684f), 1188) - { - ItemId = 2003626u - }; - num3 = 6; - List list97 = new List(num3); - CollectionsMarshal.SetCount(list97, num3); - Span span33 = CollectionsMarshal.AsSpan(list97); - span33[0] = null; - span33[1] = null; - span33[2] = null; - span33[3] = null; - span33[4] = null; - span33[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj74.CompletionQuestVariablesFlags = list97; - reference75 = obj74; - obj71.Steps = list94; - reference72 = obj71; - ref QuestSequence reference76 = ref span28[3]; - QuestSequence obj75 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048779u, new Vector3(-231.15894f, 3.221878f, -453.17773f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - obj75.Steps = list98; - reference76 = obj75; - questRoot11.QuestSequence = list91; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(5061); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list99 = new List(num); - CollectionsMarshal.SetCount(list99, num); - CollectionsMarshal.AsSpan(list99)[0] = "liza"; - questRoot12.Author = list99; - num = 3; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - Span span34 = CollectionsMarshal.AsSpan(list100); - ref QuestSequence reference77 = ref span34[0]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048780u, new Vector3(-103.868225f, 25.199324f, -525.41394f), 1188); - obj76.Steps = list101; - reference77 = obj76; - ref QuestSequence reference78 = ref span34[1]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - Span span35 = CollectionsMarshal.AsSpan(list102); - span35[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-95.05529f, 25.199324f, -523.8404f), 1188) - { - Mount = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - ref QuestStep reference79 = ref span35[1]; - QuestStep obj78 = new QuestStep(EInteractionType.Combat, 2014195u, new Vector3(-314.2901f, 0.38146973f, -211.26117f), 1188) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - CollectionsMarshal.AsSpan(list103)[0] = 17656u; - obj78.KillEnemyDataIds = list103; - reference79 = obj78; - obj77.Steps = list102; - reference78 = obj77; - ref QuestSequence reference80 = ref span34[2]; - QuestSequence obj79 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048780u, new Vector3(-103.868225f, 25.199324f, -525.41394f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - obj79.Steps = list104; - reference80 = obj79; - questRoot12.QuestSequence = list100; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(5062); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list105 = new List(num); - CollectionsMarshal.SetCount(list105, num); - CollectionsMarshal.AsSpan(list105)[0] = "liza"; - questRoot13.Author = list105; - num = 3; - List list106 = new List(num); - CollectionsMarshal.SetCount(list106, num); - Span span36 = CollectionsMarshal.AsSpan(list106); - ref QuestSequence reference81 = ref span36[0]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048781u, new Vector3(-213.09229f, 6.2771482f, -510.70422f), 1188); - obj80.Steps = list107; - reference81 = obj80; - ref QuestSequence reference82 = ref span36[1]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - ref QuestStep reference83 = ref CollectionsMarshal.AsSpan(list108)[0]; - QuestStep obj82 = new QuestStep(EInteractionType.Combat, 2014196u, new Vector3(819.6382f, 14.084045f, -312.21484f), 1188) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list109 = new List(num3); - CollectionsMarshal.SetCount(list109, num3); - Span span37 = CollectionsMarshal.AsSpan(list109); - span37[0] = 17657u; - span37[1] = 17658u; - obj82.KillEnemyDataIds = list109; - reference83 = obj82; - obj81.Steps = list108; - reference82 = obj81; - ref QuestSequence reference84 = ref span36[2]; - QuestSequence obj83 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048781u, new Vector3(-213.09229f, 6.2771482f, -510.70422f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - obj83.Steps = list110; - reference84 = obj83; - questRoot13.QuestSequence = list106; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(5063); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - CollectionsMarshal.AsSpan(list111)[0] = "liza"; - questRoot14.Author = list111; - num = 3; - List list112 = new List(num); - CollectionsMarshal.SetCount(list112, num); - Span span38 = CollectionsMarshal.AsSpan(list112); - ref QuestSequence reference85 = ref span38[0]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048815u, new Vector3(127.03125f, 3.8414035f, -279.92682f), 1188); - obj84.Steps = list113; - reference85 = obj84; - ref QuestSequence reference86 = ref span38[1]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - Span span39 = CollectionsMarshal.AsSpan(list114); - ref QuestStep reference87 = ref span39[0]; - QuestStep obj86 = new QuestStep(EInteractionType.Interact, 2014165u, new Vector3(255.57336f, -0.015319824f, -350.57605f), 1188) - { - Fly = true - }; - num3 = 6; - List list115 = new List(num3); - CollectionsMarshal.SetCount(list115, num3); - Span span40 = CollectionsMarshal.AsSpan(list115); - span40[0] = null; - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj86.CompletionQuestVariablesFlags = list115; - reference87 = obj86; - ref QuestStep reference88 = ref span39[1]; - QuestStep obj87 = new QuestStep(EInteractionType.Interact, 2014166u, new Vector3(198.74878f, -0.015319824f, -385.39716f), 1188) - { - Fly = true - }; - num3 = 6; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - Span span41 = CollectionsMarshal.AsSpan(list116); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj87.CompletionQuestVariablesFlags = list116; - reference88 = obj87; - ref QuestStep reference89 = ref span39[2]; - QuestStep obj88 = new QuestStep(EInteractionType.Interact, 2014164u, new Vector3(92.69849f, -0.015319824f, -409.26227f), 1188) - { - Fly = true - }; - num3 = 6; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - Span span42 = CollectionsMarshal.AsSpan(list117); - span42[0] = null; - span42[1] = null; - span42[2] = null; - span42[3] = null; - span42[4] = null; - span42[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj88.CompletionQuestVariablesFlags = list117; - reference89 = obj88; - obj85.Steps = list114; - reference86 = obj85; - ref QuestSequence reference90 = ref span38[2]; - QuestSequence obj89 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048821u, new Vector3(-39.35309f, 21.48717f, -69.44385f), 1188); - obj89.Steps = list118; - reference90 = obj89; - questRoot14.QuestSequence = list112; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(5064); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - CollectionsMarshal.AsSpan(list119)[0] = "liza"; - questRoot15.Author = list119; - num = 4; - List list120 = new List(num); - CollectionsMarshal.SetCount(list120, num); - Span span43 = CollectionsMarshal.AsSpan(list120); - ref QuestSequence reference91 = ref span43[0]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048782u, new Vector3(-68.52832f, 6.536739f, -486.53394f), 1188); - obj90.Steps = list121; - reference91 = obj90; - ref QuestSequence reference92 = ref span43[1]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - Span span44 = CollectionsMarshal.AsSpan(list122); - ref QuestStep reference93 = ref span44[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2014167u, new Vector3(-241.56561f, 6.0578003f, -356.40503f), 1188); - num3 = 6; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - Span span45 = CollectionsMarshal.AsSpan(list123); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list123; - reference93 = questStep2; - ref QuestStep reference94 = ref span44[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2014168u, new Vector3(-262.50098f, 4.989685f, -318.25745f), 1188); - num3 = 6; - List list124 = new List(num3); - CollectionsMarshal.SetCount(list124, num3); - Span span46 = CollectionsMarshal.AsSpan(list124); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list124; - reference94 = questStep3; - ref QuestStep reference95 = ref span44[2]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2014169u, new Vector3(-280.81183f, 4.989685f, -320.8515f), 1188); - num3 = 6; - List list125 = new List(num3); - CollectionsMarshal.SetCount(list125, num3); - Span span47 = CollectionsMarshal.AsSpan(list125); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list125; - reference95 = questStep4; - obj91.Steps = list122; - reference92 = obj91; - ref QuestSequence reference96 = ref span43[2]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - Span span48 = CollectionsMarshal.AsSpan(list126); - span48[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(399.21567f, -0.40000004f, -384.69452f), 1188) - { - Comment = "Waypoint after swimming through the river", - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.KozamaukaDockPoga - } - } - }; - span48[1] = new QuestStep(EInteractionType.Interact, 1048826u, new Vector3(672.4802f, 41.63828f, -527.36707f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - AetheryteLocked = EAetheryteLocation.KozamaukaDockPoga - } - } - }; - obj92.Steps = list126; - reference96 = obj92; - ref QuestSequence reference97 = ref span43[3]; - QuestSequence obj93 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048782u, new Vector3(-68.52832f, 6.536739f, -486.53394f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - obj93.Steps = list127; - reference97 = obj93; - questRoot15.QuestSequence = list120; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(5065); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - CollectionsMarshal.AsSpan(list128)[0] = "liza"; - questRoot16.Author = list128; - num = 3; - List list129 = new List(num); - CollectionsMarshal.SetCount(list129, num); - Span span49 = CollectionsMarshal.AsSpan(list129); - ref QuestSequence reference98 = ref span49[0]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048831u, new Vector3(252.76562f, 13.481276f, -579.30884f), 1188); - obj94.Steps = list130; - reference98 = obj94; - ref QuestSequence reference99 = ref span49[1]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - Span span50 = CollectionsMarshal.AsSpan(list131); - ref QuestStep reference100 = ref span50[0]; - QuestStep obj96 = new QuestStep(EInteractionType.Interact, 1048786u, new Vector3(-193.3471f, 6.277148f, -443.50348f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - num3 = 6; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - Span span51 = CollectionsMarshal.AsSpan(list132); - span51[0] = null; - span51[1] = null; - span51[2] = null; - span51[3] = null; - span51[4] = null; - span51[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj96.CompletionQuestVariablesFlags = list132; - reference100 = obj96; - ref QuestStep reference101 = ref span50[1]; - QuestStep obj97 = new QuestStep(EInteractionType.Interact, 1048787u, new Vector3(-143.51111f, 9.842161f, -425.7115f), 1188) - { - Fly = true - }; - num3 = 6; - List list133 = new List(num3); - CollectionsMarshal.SetCount(list133, num3); - Span span52 = CollectionsMarshal.AsSpan(list133); - span52[0] = null; - span52[1] = null; - span52[2] = null; - span52[3] = null; - span52[4] = null; - span52[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj97.CompletionQuestVariablesFlags = list133; - reference101 = obj97; - ref QuestStep reference102 = ref span50[2]; - QuestStep obj98 = new QuestStep(EInteractionType.Interact, 1048785u, new Vector3(-121.26343f, 9.773314f, -551.1406f), 1188) - { - Fly = true - }; - num3 = 6; - List list134 = new List(num3); - CollectionsMarshal.SetCount(list134, num3); - Span span53 = CollectionsMarshal.AsSpan(list134); - span53[0] = null; - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj98.CompletionQuestVariablesFlags = list134; - reference102 = obj98; - obj95.Steps = list131; - reference99 = obj95; - ref QuestSequence reference103 = ref span49[2]; - QuestSequence obj99 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048831u, new Vector3(252.76562f, 13.481276f, -579.30884f), 1188); - obj99.Steps = list135; - reference103 = obj99; - questRoot16.QuestSequence = list129; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(5066); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list136 = new List(num); - CollectionsMarshal.SetCount(list136, num); - CollectionsMarshal.AsSpan(list136)[0] = "liza"; - questRoot17.Author = list136; - num = 5; - List list137 = new List(num); - CollectionsMarshal.SetCount(list137, num); - Span span54 = CollectionsMarshal.AsSpan(list137); - ref QuestSequence reference104 = ref span54[0]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048836u, new Vector3(-578.91205f, 6.1739964f, -472.80084f), 1188); - obj100.Steps = list138; - reference104 = obj100; - ref QuestSequence reference105 = ref span54[1]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.Interact, 1048837u, new Vector3(-613.2754f, 93.595924f, -476.95123f), 1188) - { - Fly = true - }; - obj101.Steps = list139; - reference105 = obj101; - ref QuestSequence reference106 = ref span54[2]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.Emote, null, new Vector3(-607.3569f, 93.57029f, -472.15475f), 1188) - { - StopDistance = 0.5f, - Emote = EEmote.Pray - }; - obj102.Steps = list140; - reference106 = obj102; - ref QuestSequence reference107 = ref span54[3]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - CollectionsMarshal.AsSpan(list141)[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-585.36694f, 6.317712f, -463.53406f), 1188) - { - DisableNavmesh = true - }; - obj103.Steps = list141; - reference107 = obj103; - ref QuestSequence reference108 = ref span54[4]; - QuestSequence obj104 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048836u, new Vector3(-578.91205f, 6.1739964f, -472.80084f), 1188) - { - StopDistance = 7f - }; - obj104.Steps = list142; - reference108 = obj104; - questRoot17.QuestSequence = list137; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(5067); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - CollectionsMarshal.AsSpan(list143)[0] = "liza"; - questRoot18.Author = list143; - num = 4; - List list144 = new List(num); - CollectionsMarshal.SetCount(list144, num); - Span span55 = CollectionsMarshal.AsSpan(list144); - ref QuestSequence reference109 = ref span55[0]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048783u, new Vector3(-269.91687f, 5.9870257f, -431.47937f), 1188); - obj105.Steps = list145; - reference109 = obj105; - ref QuestSequence reference110 = ref span55[1]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - ref QuestStep reference111 = ref CollectionsMarshal.AsSpan(list146)[0]; - QuestStep obj107 = new QuestStep(EInteractionType.Combat, 1050705u, new Vector3(-218.24988f, 0.4f, -41.519836f), 1188) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list147 = new List(num3); - CollectionsMarshal.SetCount(list147, num3); - CollectionsMarshal.AsSpan(list147)[0] = 17659u; - obj107.KillEnemyDataIds = list147; - reference111 = obj107; - obj106.Steps = list146; - reference110 = obj106; - ref QuestSequence reference112 = ref span55[2]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.Interact, 1050705u, new Vector3(-218.24988f, 0.4f, -41.519836f), 1188) - { - StopDistance = 7f - }; - obj108.Steps = list148; - reference112 = obj108; - ref QuestSequence reference113 = ref span55[3]; - QuestSequence obj109 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048783u, new Vector3(-269.91687f, 5.9870257f, -431.47937f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - obj109.Steps = list149; - reference113 = obj109; - questRoot18.QuestSequence = list144; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(5068); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list150 = new List(num); - CollectionsMarshal.SetCount(list150, num); - CollectionsMarshal.AsSpan(list150)[0] = "liza"; - questRoot19.Author = list150; - num = 4; - List list151 = new List(num); - CollectionsMarshal.SetCount(list151, num); - Span span56 = CollectionsMarshal.AsSpan(list151); - ref QuestSequence reference114 = ref span56[0]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050707u, new Vector3(-183.73395f, 10.893587f, -584.2832f), 1188); - obj110.Steps = list152; - reference114 = obj110; - ref QuestSequence reference115 = ref span56[1]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.Interact, 2014172u, new Vector3(-70.96979f, 6.515503f, -496.2692f), 1188) - { - Fly = true - }; - obj111.Steps = list153; - reference115 = obj111; - ref QuestSequence reference116 = ref span56[2]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - Span span57 = CollectionsMarshal.AsSpan(list154); - span57[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(623.9169f, 46.050114f, -526.32715f), 1188) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span57[1] = new QuestStep(EInteractionType.Interact, 2014173u, new Vector3(670.5576f, 42.923584f, -515.55664f), 1188) - { - Fly = true - }; - obj112.Steps = list154; - reference116 = obj112; - ref QuestSequence reference117 = ref span56[3]; - QuestSequence obj113 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050707u, new Vector3(-183.73395f, 10.893587f, -584.2832f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - obj113.Steps = list155; - reference117 = obj113; - questRoot19.QuestSequence = list151; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(5069); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list156 = new List(num); - CollectionsMarshal.SetCount(list156, num); - CollectionsMarshal.AsSpan(list156)[0] = "liza"; - questRoot20.Author = list156; - num = 3; - List list157 = new List(num); - CollectionsMarshal.SetCount(list157, num); - Span span58 = CollectionsMarshal.AsSpan(list157); - ref QuestSequence reference118 = ref span58[0]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list158 = new List(num2); - CollectionsMarshal.SetCount(list158, num2); - CollectionsMarshal.AsSpan(list158)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048784u, new Vector3(-115.617676f, 25.086319f, -551.5984f), 1188); - obj114.Steps = list158; - reference118 = obj114; - ref QuestSequence reference119 = ref span58[1]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - Span span59 = CollectionsMarshal.AsSpan(list159); - ref QuestStep reference120 = ref span59[0]; - QuestStep obj116 = new QuestStep(EInteractionType.Interact, 1048898u, new Vector3(524.1931f, 15.639493f, 5.4473877f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaManyFires - }; - num3 = 6; - List list160 = new List(num3); - CollectionsMarshal.SetCount(list160, num3); - Span span60 = CollectionsMarshal.AsSpan(list160); - span60[0] = null; - span60[1] = null; - span60[2] = null; - span60[3] = null; - span60[4] = null; - span60[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj116.CompletionQuestVariablesFlags = list160; - reference120 = obj116; - ref QuestStep reference121 = ref span59[1]; - QuestStep obj117 = new QuestStep(EInteractionType.Interact, 1048897u, new Vector3(551.6593f, 12.326415f, -32.852783f), 1188) - { - Fly = true - }; - num3 = 6; - List list161 = new List(num3); - CollectionsMarshal.SetCount(list161, num3); - Span span61 = CollectionsMarshal.AsSpan(list161); - span61[0] = null; - span61[1] = null; - span61[2] = null; - span61[3] = null; - span61[4] = null; - span61[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj117.CompletionQuestVariablesFlags = list161; - reference121 = obj117; - ref QuestStep reference122 = ref span59[2]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1048896u, new Vector3(513.0541f, 15.9776535f, -54.36792f), 1188); - num3 = 6; - List list162 = new List(num3); - CollectionsMarshal.SetCount(list162, num3); - Span span62 = CollectionsMarshal.AsSpan(list162); - span62[0] = null; - span62[1] = null; - span62[2] = null; - span62[3] = null; - span62[4] = null; - span62[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list162; - reference122 = questStep5; - obj115.Steps = list159; - reference119 = obj115; - ref QuestSequence reference123 = ref span58[2]; - QuestSequence obj118 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048784u, new Vector3(-115.617676f, 25.086319f, -551.5984f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - obj118.Steps = list163; - reference123 = obj118; - questRoot20.QuestSequence = list157; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(5070); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list164 = new List(num); - CollectionsMarshal.SetCount(list164, num); - CollectionsMarshal.AsSpan(list164)[0] = "liza"; - questRoot21.Author = list164; - num = 3; - List list165 = new List(num); - CollectionsMarshal.SetCount(list165, num); - Span span63 = CollectionsMarshal.AsSpan(list165); - ref QuestSequence reference124 = ref span63[0]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051372u, new Vector3(-183.79492f, 6.5185943f, -498.0392f), 1188); - obj119.Steps = list166; - reference124 = obj119; - ref QuestSequence reference125 = ref span63[1]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.Interact, 1051373u, new Vector3(-232.07446f, 10.1700535f, -395.68176f), 1188) - { - Fly = true - }; - obj120.Steps = list167; - reference125 = obj120; - ref QuestSequence reference126 = ref span63[2]; - QuestSequence obj121 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051374u, new Vector3(-229.02264f, 10.041226f, -396.2005f), 1188); - obj121.Steps = list168; - reference126 = obj121; - questRoot21.QuestSequence = list165; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(5071); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list169 = new List(num); - CollectionsMarshal.SetCount(list169, num); - CollectionsMarshal.AsSpan(list169)[0] = "liza"; - questRoot22.Author = list169; - num = 3; - List list170 = new List(num); - CollectionsMarshal.SetCount(list170, num); - Span span64 = CollectionsMarshal.AsSpan(list170); - ref QuestSequence reference127 = ref span64[0]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048853u, new Vector3(-431.99817f, 121.63345f, 304.3412f), 1188); - obj122.Steps = list171; - reference127 = obj122; - ref QuestSequence reference128 = ref span64[1]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - Span span65 = CollectionsMarshal.AsSpan(list172); - ref QuestStep reference129 = ref span65[0]; - QuestStep obj124 = new QuestStep(EInteractionType.Interact, 2014174u, new Vector3(-756.89325f, 135.66797f, 83.78723f), 1188) - { - Fly = true - }; - num3 = 6; - List list173 = new List(num3); - CollectionsMarshal.SetCount(list173, num3); - Span span66 = CollectionsMarshal.AsSpan(list173); - span66[0] = null; - span66[1] = null; - span66[2] = null; - span66[3] = null; - span66[4] = null; - span66[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj124.CompletionQuestVariablesFlags = list173; - reference129 = obj124; - ref QuestStep reference130 = ref span65[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2014175u, new Vector3(-786.3432f, 135.66797f, 121.9043f), 1188); - num3 = 6; - List list174 = new List(num3); - CollectionsMarshal.SetCount(list174, num3); - Span span67 = CollectionsMarshal.AsSpan(list174); - span67[0] = null; - span67[1] = null; - span67[2] = null; - span67[3] = null; - span67[4] = null; - span67[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list174; - reference130 = questStep6; - obj123.Steps = list172; - reference128 = obj123; - ref QuestSequence reference131 = ref span64[2]; - QuestSequence obj125 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048853u, new Vector3(-431.99817f, 121.63345f, 304.3412f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaEarthenshire - }; - obj125.Steps = list175; - reference131 = obj125; - questRoot22.QuestSequence = list170; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(5072); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - CollectionsMarshal.AsSpan(list176)[0] = "liza"; - questRoot23.Author = list176; - num = 5; - List list177 = new List(num); - CollectionsMarshal.SetCount(list177, num); - Span span68 = CollectionsMarshal.AsSpan(list177); - ref QuestSequence reference132 = ref span68[0]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048867u, new Vector3(-489.0364f, 121.63345f, 368.00183f), 1188); - obj126.Steps = list178; - reference132 = obj126; - ref QuestSequence reference133 = ref span68[1]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - Span span69 = CollectionsMarshal.AsSpan(list179); - span69[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-298.1575f, 112.88461f, 684.6612f), 1188) - { - Fly = true - }; - span69[1] = new QuestStep(EInteractionType.Interact, 1050708u, new Vector3(-296.52863f, 112.804924f, 686.2439f), 1188); - obj127.Steps = list179; - reference133 = obj127; - ref QuestSequence reference134 = ref span68[2]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.Interact, 2014176u, new Vector3(-127.15344f, 109.57495f, 523.7964f), 1188) - { - Fly = true - }; - obj128.Steps = list180; - reference134 = obj128; - ref QuestSequence reference135 = ref span68[3]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - Span span70 = CollectionsMarshal.AsSpan(list181); - span70[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-298.1575f, 112.88461f, 684.6612f), 1188) - { - Fly = true - }; - span70[1] = new QuestStep(EInteractionType.Interact, 1050708u, new Vector3(-296.52863f, 112.804924f, 686.2439f), 1188); - obj129.Steps = list181; - reference135 = obj129; - ref QuestSequence reference136 = ref span68[4]; - QuestSequence obj130 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048867u, new Vector3(-489.0364f, 121.63345f, 368.00183f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaEarthenshire - }; - obj130.Steps = list182; - reference136 = obj130; - questRoot23.QuestSequence = list177; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(5073); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - CollectionsMarshal.AsSpan(list183)[0] = "liza"; - questRoot24.Author = list183; - num = 3; - List list184 = new List(num); - CollectionsMarshal.SetCount(list184, num); - Span span71 = CollectionsMarshal.AsSpan(list184); - ref QuestSequence reference137 = ref span71[0]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048854u, new Vector3(-514.1833f, 121.63345f, 293.38513f), 1188); - obj131.Steps = list185; - reference137 = obj131; - ref QuestSequence reference138 = ref span71[1]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - Span span72 = CollectionsMarshal.AsSpan(list186); - ref QuestStep reference139 = ref span72[0]; - QuestStep obj133 = new QuestStep(EInteractionType.Interact, 2014177u, new Vector3(-351.40002f, 109.57495f, 62.210938f), 1188) - { - Fly = true - }; - num3 = 6; - List list187 = new List(num3); - CollectionsMarshal.SetCount(list187, num3); - Span span73 = CollectionsMarshal.AsSpan(list187); - span73[0] = null; - span73[1] = null; - span73[2] = null; - span73[3] = null; - span73[4] = null; - span73[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj133.CompletionQuestVariablesFlags = list187; - reference139 = obj133; - ref QuestStep reference140 = ref span72[1]; - QuestStep obj134 = new QuestStep(EInteractionType.Interact, 2014178u, new Vector3(-172.32019f, 109.54443f, 128.67932f), 1188) - { - Fly = true - }; - num3 = 6; - List list188 = new List(num3); - CollectionsMarshal.SetCount(list188, num3); - Span span74 = CollectionsMarshal.AsSpan(list188); - span74[0] = null; - span74[1] = null; - span74[2] = null; - span74[3] = null; - span74[4] = null; - span74[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj134.CompletionQuestVariablesFlags = list188; - reference140 = obj134; - ref QuestStep reference141 = ref span72[2]; - QuestStep obj135 = new QuestStep(EInteractionType.Interact, 2014179u, new Vector3(142.96167f, 109.57495f, 169.604f), 1188) - { - Fly = true - }; - num3 = 6; - List list189 = new List(num3); - CollectionsMarshal.SetCount(list189, num3); - Span span75 = CollectionsMarshal.AsSpan(list189); - span75[0] = null; - span75[1] = null; - span75[2] = null; - span75[3] = null; - span75[4] = null; - span75[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj135.CompletionQuestVariablesFlags = list189; - reference141 = obj135; - ref QuestStep reference142 = ref span72[3]; - QuestStep obj136 = new QuestStep(EInteractionType.Interact, 2014180u, new Vector3(214.86218f, 109.54443f, 138.68921f), 1188) - { - Fly = true - }; - num3 = 6; - List list190 = new List(num3); - CollectionsMarshal.SetCount(list190, num3); - Span span76 = CollectionsMarshal.AsSpan(list190); - span76[0] = null; - span76[1] = null; - span76[2] = null; - span76[3] = null; - span76[4] = null; - span76[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj136.CompletionQuestVariablesFlags = list190; - reference142 = obj136; - obj132.Steps = list186; - reference138 = obj132; - ref QuestSequence reference143 = ref span71[2]; - QuestSequence obj137 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048854u, new Vector3(-514.1833f, 121.63345f, 293.38513f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaEarthenshire - }; - obj137.Steps = list191; - reference143 = obj137; - questRoot24.QuestSequence = list184; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(5074); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list192 = new List(num); - CollectionsMarshal.SetCount(list192, num); - CollectionsMarshal.AsSpan(list192)[0] = "liza"; - questRoot25.Author = list192; - num = 6; - List list193 = new List(num); - CollectionsMarshal.SetCount(list193, num); - Span span77 = CollectionsMarshal.AsSpan(list193); - ref QuestSequence reference144 = ref span77[0]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048855u, new Vector3(-491.63043f, 121.63846f, 271.50366f), 1188); - obj138.Steps = list194; - reference144 = obj138; - ref QuestSequence reference145 = ref span77[1]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - Span span78 = CollectionsMarshal.AsSpan(list195); - span78[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-444.31415f, 123.89709f, 129.46912f), 1188); - span78[1] = new QuestStep(EInteractionType.Interact, 1050709u, new Vector3(-474.2962f, 127.79511f, 98.89368f), 1188); - obj139.Steps = list195; - reference145 = obj139; - ref QuestSequence reference146 = ref span77[2]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - Span span79 = CollectionsMarshal.AsSpan(list196); - span79[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-520.54517f, 135.98334f, 67.06335f), 1188); - span79[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-561.2461f, 138.97241f, 57.90152f), 1188); - span79[2] = new QuestStep(EInteractionType.Interact, 1050710u, new Vector3(-599.7864f, 142.85991f, 35.934937f), 1188); - obj140.Steps = list196; - reference146 = obj140; - ref QuestSequence reference147 = ref span77[3]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - ref QuestStep reference148 = ref CollectionsMarshal.AsSpan(list197)[0]; - QuestStep obj142 = new QuestStep(EInteractionType.Combat, null, new Vector3(-539.3906f, 139.2539f, -65.13339f), 1188) - { - StopDistance = 0.25f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list198 = new List(num3); - CollectionsMarshal.SetCount(list198, num3); - CollectionsMarshal.AsSpan(list198)[0] = 17660u; - obj142.KillEnemyDataIds = list198; - reference148 = obj142; - obj141.Steps = list197; - reference147 = obj141; - ref QuestSequence reference149 = ref span77[4]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - CollectionsMarshal.AsSpan(list199)[0] = new QuestStep(EInteractionType.Interact, 1050711u, new Vector3(-541.64954f, 139.2539f, -66.5141f), 1188) - { - StopDistance = 5f - }; - obj143.Steps = list199; - reference149 = obj143; - ref QuestSequence reference150 = ref span77[5]; - QuestSequence obj144 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - Span span80 = CollectionsMarshal.AsSpan(list200); - span80[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013941u, new Vector3(-754.11615f, 138.68921f, 122.66724f), 1188) - { - AetherCurrentId = 2818426u - }; - span80[1] = new QuestStep(EInteractionType.CompleteQuest, 1048855u, new Vector3(-491.63043f, 121.63846f, 271.50366f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaEarthenshire - }; - obj144.Steps = list200; - reference150 = obj144; - questRoot25.QuestSequence = list193; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(5075); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list201 = new List(num); - CollectionsMarshal.SetCount(list201, num); - CollectionsMarshal.AsSpan(list201)[0] = "liza"; - questRoot26.Author = list201; - num = 3; - List list202 = new List(num); - CollectionsMarshal.SetCount(list202, num); - Span span81 = CollectionsMarshal.AsSpan(list202); - ref QuestSequence reference151 = ref span81[0]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048856u, new Vector3(-499.6262f, 121.63344f, 347.70728f), 1188); - obj145.Steps = list203; - reference151 = obj145; - ref QuestSequence reference152 = ref span81[1]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - Span span82 = CollectionsMarshal.AsSpan(list204); - ref QuestStep reference153 = ref span82[0]; - QuestStep obj147 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-74.84617f, 116.64437f, 590.74945f), 1188) - { - Fly = true - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list205 = new List(num3); - CollectionsMarshal.SetCount(list205, num3); - Span span83 = CollectionsMarshal.AsSpan(list205); - span83[0] = null; - span83[1] = null; - span83[2] = null; - span83[3] = null; - span83[4] = null; - span83[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list205; - skipStepConditions.Flying = ELockedSkipCondition.Locked; - skipConditions.StepIf = skipStepConditions; - obj147.SkipConditions = skipConditions; - reference153 = obj147; - ref QuestStep reference154 = ref span82[1]; - QuestStep obj148 = new QuestStep(EInteractionType.Interact, 2014184u, new Vector3(-5.1728516f, -6.729248f, 619.98914f), 1188) - { - DisableNavmesh = true, - Fly = true - }; - num3 = 6; - List list206 = new List(num3); - CollectionsMarshal.SetCount(list206, num3); - Span span84 = CollectionsMarshal.AsSpan(list206); - span84[0] = null; - span84[1] = null; - span84[2] = null; - span84[3] = null; - span84[4] = null; - span84[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj148.CompletionQuestVariablesFlags = list206; - reference154 = obj148; - ref QuestStep reference155 = ref span82[2]; - QuestStep obj149 = new QuestStep(EInteractionType.Interact, 2014182u, new Vector3(112.93201f, -2.7314453f, 542.9617f), 1188) - { - Fly = true - }; - num3 = 6; - List list207 = new List(num3); - CollectionsMarshal.SetCount(list207, num3); - Span span85 = CollectionsMarshal.AsSpan(list207); - span85[0] = null; - span85[1] = null; - span85[2] = null; - span85[3] = null; - span85[4] = null; - span85[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj149.CompletionQuestVariablesFlags = list207; - reference155 = obj149; - ref QuestStep reference156 = ref span82[3]; - QuestStep obj150 = new QuestStep(EInteractionType.Interact, 2014183u, new Vector3(266.3462f, -1.9684448f, 498.58838f), 1188) - { - Fly = true - }; - num3 = 6; - List list208 = new List(num3); - CollectionsMarshal.SetCount(list208, num3); - Span span86 = CollectionsMarshal.AsSpan(list208); - span86[0] = null; - span86[1] = null; - span86[2] = null; - span86[3] = null; - span86[4] = null; - span86[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj150.CompletionQuestVariablesFlags = list208; - reference156 = obj150; - obj146.Steps = list204; - reference152 = obj146; - ref QuestSequence reference157 = ref span81[2]; - QuestSequence obj151 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048856u, new Vector3(-499.6262f, 121.63344f, 347.70728f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaManyFires - }; - obj151.Steps = list209; - reference157 = obj151; - questRoot26.QuestSequence = list202; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(5076); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list210 = new List(num); - CollectionsMarshal.SetCount(list210, num); - CollectionsMarshal.AsSpan(list210)[0] = "liza"; - questRoot27.Author = list210; - num = 3; - List list211 = new List(num); - CollectionsMarshal.SetCount(list211, num); - Span span87 = CollectionsMarshal.AsSpan(list211); - ref QuestSequence reference158 = ref span87[0]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - CollectionsMarshal.AsSpan(list212)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048857u, new Vector3(-515.7092f, 122.40314f, 342.9159f), 1188); - obj152.Steps = list212; - reference158 = obj152; - ref QuestSequence reference159 = ref span87[1]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - CollectionsMarshal.AsSpan(list213)[0] = new QuestStep(EInteractionType.Interact, 1048843u, new Vector3(588.7998f, 121.14124f, 176.98938f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaManyFires - }; - obj153.Steps = list213; - reference159 = obj153; - ref QuestSequence reference160 = ref span87[2]; - QuestSequence obj154 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048857u, new Vector3(-515.7092f, 122.40314f, 342.9159f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaEarthenshire - }; - obj154.Steps = list214; - reference160 = obj154; - questRoot27.QuestSequence = list211; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(5077); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list215 = new List(num); - CollectionsMarshal.SetCount(list215, num); - CollectionsMarshal.AsSpan(list215)[0] = "liza"; - questRoot28.Author = list215; - num = 5; - List list216 = new List(num); - CollectionsMarshal.SetCount(list216, num); - Span span88 = CollectionsMarshal.AsSpan(list216); - ref QuestSequence reference161 = ref span88[0]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048858u, new Vector3(-426.87115f, 121.63345f, 320.88184f), 1188); - obj155.Steps = list217; - reference161 = obj155; - ref QuestSequence reference162 = ref span88[1]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - CollectionsMarshal.AsSpan(list218)[0] = new QuestStep(EInteractionType.Interact, 2014185u, new Vector3(-427.38995f, 122.91138f, 319.38647f), 1188); - obj156.Steps = list218; - reference162 = obj156; - ref QuestSequence reference163 = ref span88[2]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - CollectionsMarshal.AsSpan(list219)[0] = new QuestStep(EInteractionType.Interact, 2014187u, new Vector3(-548.2719f, 133.83679f, 698.1765f), 1188); - obj157.Steps = list219; - reference163 = obj157; - ref QuestSequence reference164 = ref span88[3]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.Interact, 1048880u, new Vector3(-552.3613f, 133.86514f, 696.16235f), 1188); - obj158.Steps = list220; - reference164 = obj158; - ref QuestSequence reference165 = ref span88[4]; - QuestSequence obj159 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048858u, new Vector3(-426.87115f, 121.63345f, 320.88184f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaEarthenshire - }; - obj159.Steps = list221; - reference165 = obj159; - questRoot28.QuestSequence = list216; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(5078); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list222 = new List(num); - CollectionsMarshal.SetCount(list222, num); - CollectionsMarshal.AsSpan(list222)[0] = "liza"; - questRoot29.Author = list222; - num = 3; - List list223 = new List(num); - CollectionsMarshal.SetCount(list223, num); - Span span89 = CollectionsMarshal.AsSpan(list223); - ref QuestSequence reference166 = ref span89[0]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048843u, new Vector3(588.7998f, 121.14124f, 176.98938f), 1188); - obj160.Steps = list224; - reference166 = obj160; - ref QuestSequence reference167 = ref span89[1]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - Span span90 = CollectionsMarshal.AsSpan(list225); - ref QuestStep reference168 = ref span90[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1048847u, new Vector3(615.2589f, 119.49003f, 197.58899f), 1188); - num3 = 6; - List list226 = new List(num3); - CollectionsMarshal.SetCount(list226, num3); - Span span91 = CollectionsMarshal.AsSpan(list226); - span91[0] = null; - span91[1] = null; - span91[2] = null; - span91[3] = null; - span91[4] = null; - span91[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list226; - reference168 = questStep7; - ref QuestStep reference169 = ref span90[1]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1048845u, new Vector3(568.7495f, 119.49004f, 159.53308f), 1188); - num3 = 6; - List list227 = new List(num3); - CollectionsMarshal.SetCount(list227, num3); - Span span92 = CollectionsMarshal.AsSpan(list227); - span92[0] = null; - span92[1] = null; - span92[2] = null; - span92[3] = null; - span92[4] = null; - span92[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list227; - reference169 = questStep8; - ref QuestStep reference170 = ref span90[2]; - QuestStep obj162 = new QuestStep(EInteractionType.Interact, 1048846u, new Vector3(512.2606f, 114.99095f, 183.85596f), 1188) - { - Fly = true - }; - num3 = 6; - List list228 = new List(num3); - CollectionsMarshal.SetCount(list228, num3); - Span span93 = CollectionsMarshal.AsSpan(list228); - span93[0] = null; - span93[1] = null; - span93[2] = null; - span93[3] = null; - span93[4] = null; - span93[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj162.CompletionQuestVariablesFlags = list228; - reference170 = obj162; - ref QuestStep reference171 = ref span90[3]; - QuestStep obj163 = new QuestStep(EInteractionType.Interact, 1048844u, new Vector3(476.40186f, 119.9383f, 101.79285f), 1188) - { - Fly = true - }; - num3 = 6; - List list229 = new List(num3); - CollectionsMarshal.SetCount(list229, num3); - Span span94 = CollectionsMarshal.AsSpan(list229); - span94[0] = null; - span94[1] = null; - span94[2] = null; - span94[3] = null; - span94[4] = null; - span94[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj163.CompletionQuestVariablesFlags = list229; - reference171 = obj163; - obj161.Steps = list225; - reference167 = obj161; - ref QuestSequence reference172 = ref span89[2]; - QuestSequence obj164 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048843u, new Vector3(588.7998f, 121.14124f, 176.98938f), 1188) - { - Fly = true - }; - obj164.Steps = list230; - reference172 = obj164; - questRoot29.QuestSequence = list223; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(5079); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list231 = new List(num); - CollectionsMarshal.SetCount(list231, num); - CollectionsMarshal.AsSpan(list231)[0] = "liza"; - questRoot30.Author = list231; - num = 3; - List list232 = new List(num); - CollectionsMarshal.SetCount(list232, num); - Span span95 = CollectionsMarshal.AsSpan(list232); - ref QuestSequence reference173 = ref span95[0]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - CollectionsMarshal.AsSpan(list233)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048848u, new Vector3(621.51514f, 119.49004f, 175.00574f), 1188); - obj165.Steps = list233; - reference173 = obj165; - ref QuestSequence reference174 = ref span95[1]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - Span span96 = CollectionsMarshal.AsSpan(list234); - ref QuestStep reference175 = ref span96[0]; - QuestStep obj167 = new QuestStep(EInteractionType.Combat, null, new Vector3(444.93774f, 112.59213f, 206.74438f), 1188) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list235 = new List(num3); - CollectionsMarshal.SetCount(list235, num3); - ref ComplexCombatData reference176 = ref CollectionsMarshal.AsSpan(list235)[0]; - ComplexCombatData obj168 = new ComplexCombatData - { - DataId = 17241u, - RewardItemId = 2003643u, - RewardItemCount = 1 - }; - int num4 = 6; - List list236 = new List(num4); - CollectionsMarshal.SetCount(list236, num4); - Span span97 = CollectionsMarshal.AsSpan(list236); - span97[0] = null; - span97[1] = null; - span97[2] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span97[3] = null; - span97[4] = null; - span97[5] = null; - obj168.CompletionQuestVariablesFlags = list236; - reference176 = obj168; - obj167.ComplexCombatData = list235; - num3 = 6; - List list237 = new List(num3); - CollectionsMarshal.SetCount(list237, num3); - Span span98 = CollectionsMarshal.AsSpan(list237); - span98[0] = null; - span98[1] = null; - span98[2] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span98[3] = null; - span98[4] = null; - span98[5] = null; - obj167.CompletionQuestVariablesFlags = list237; - reference175 = obj167; - ref QuestStep reference177 = ref span96[1]; - QuestStep obj169 = new QuestStep(EInteractionType.Combat, null, new Vector3(-21.622044f, 109.937355f, 217.64447f), 1188) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list238 = new List(num3); - CollectionsMarshal.SetCount(list238, num3); - ref ComplexCombatData reference178 = ref CollectionsMarshal.AsSpan(list238)[0]; - ComplexCombatData obj170 = new ComplexCombatData - { - DataId = 17242u, - RewardItemId = 2003642u, - RewardItemCount = 1 - }; - num4 = 6; - List list239 = new List(num4); - CollectionsMarshal.SetCount(list239, num4); - Span span99 = CollectionsMarshal.AsSpan(list239); - span99[0] = null; - span99[1] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span99[2] = null; - span99[3] = null; - span99[4] = null; - span99[5] = null; - obj170.CompletionQuestVariablesFlags = list239; - reference178 = obj170; - obj169.ComplexCombatData = list238; - num3 = 6; - List list240 = new List(num3); - CollectionsMarshal.SetCount(list240, num3); - Span span100 = CollectionsMarshal.AsSpan(list240); - span100[0] = null; - span100[1] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - span100[2] = null; - span100[3] = null; - span100[4] = null; - span100[5] = null; - obj169.CompletionQuestVariablesFlags = list240; - reference177 = obj169; - obj166.Steps = list234; - reference174 = obj166; - ref QuestSequence reference179 = ref span95[2]; - QuestSequence obj171 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048848u, new Vector3(621.51514f, 119.49004f, 175.00574f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaManyFires - }; - obj171.Steps = list241; - reference179 = obj171; - questRoot30.QuestSequence = list232; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(5080); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list242 = new List(num); - CollectionsMarshal.SetCount(list242, num); - CollectionsMarshal.AsSpan(list242)[0] = "liza"; - questRoot31.Author = list242; - num = 3; - List list243 = new List(num); - CollectionsMarshal.SetCount(list243, num); - Span span101 = CollectionsMarshal.AsSpan(list243); - ref QuestSequence reference180 = ref span101[0]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050714u, new Vector3(495.6587f, 113.678986f, 181.23132f), 1188); - obj172.Steps = list244; - reference180 = obj172; - ref QuestSequence reference181 = ref span101[1]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - Span span102 = CollectionsMarshal.AsSpan(list245); - ref QuestStep reference182 = ref span102[0]; - QuestStep obj174 = new QuestStep(EInteractionType.Interact, 2014189u, new Vector3(194.93396f, 109.4834f, 145.25061f), 1188) - { - Fly = true - }; - num3 = 6; - List list246 = new List(num3); - CollectionsMarshal.SetCount(list246, num3); - Span span103 = CollectionsMarshal.AsSpan(list246); - span103[0] = null; - span103[1] = null; - span103[2] = null; - span103[3] = null; - span103[4] = null; - span103[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj174.CompletionQuestVariablesFlags = list246; - reference182 = obj174; - ref QuestStep reference183 = ref span102[1]; - QuestStep obj175 = new QuestStep(EInteractionType.Interact, 2014191u, new Vector3(53.3302f, 109.17822f, 246.3263f), 1188) - { - Fly = true - }; - num3 = 6; - List list247 = new List(num3); - CollectionsMarshal.SetCount(list247, num3); - Span span104 = CollectionsMarshal.AsSpan(list247); - span104[0] = null; - span104[1] = null; - span104[2] = null; - span104[3] = null; - span104[4] = null; - span104[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj175.CompletionQuestVariablesFlags = list247; - reference183 = obj175; - ref QuestStep reference184 = ref span102[2]; - QuestStep obj176 = new QuestStep(EInteractionType.Interact, 2014190u, new Vector3(-19.119629f, 109.57495f, 182.02478f), 1188) - { - Fly = true - }; - num3 = 6; - List list248 = new List(num3); - CollectionsMarshal.SetCount(list248, num3); - Span span105 = CollectionsMarshal.AsSpan(list248); - span105[0] = null; - span105[1] = null; - span105[2] = null; - span105[3] = null; - span105[4] = null; - span105[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj176.CompletionQuestVariablesFlags = list248; - reference184 = obj176; - obj173.Steps = list245; - reference181 = obj173; - ref QuestSequence reference185 = ref span101[2]; - QuestSequence obj177 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - CollectionsMarshal.AsSpan(list249)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050714u, new Vector3(495.6587f, 113.678986f, 181.23132f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaManyFires - }; - obj177.Steps = list249; - reference185 = obj177; - questRoot31.QuestSequence = list243; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(5081); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list250 = new List(num); - CollectionsMarshal.SetCount(list250, num); - CollectionsMarshal.AsSpan(list250)[0] = "liza"; - questRoot32.Author = list250; - num = 5; - List list251 = new List(num); - CollectionsMarshal.SetCount(list251, num); - Span span106 = CollectionsMarshal.AsSpan(list251); - ref QuestSequence reference186 = ref span106[0]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - CollectionsMarshal.AsSpan(list252)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051237u, new Vector3(-251.20929f, 5.5572896f, -554.89435f), 1188); - obj178.Steps = list252; - reference186 = obj178; - ref QuestSequence reference187 = ref span106[1]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - CollectionsMarshal.AsSpan(list253)[0] = new QuestStep(EInteractionType.Interact, 1051238u, new Vector3(-312.36743f, 6.5262628f, -723.3234f), 1188); - obj179.Steps = list253; - reference187 = obj179; - ref QuestSequence reference188 = ref span106[2]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.Interact, 1051237u, new Vector3(-251.20929f, 5.5572896f, -554.89435f), 1188); - obj180.Steps = list254; - reference188 = obj180; - ref QuestSequence reference189 = ref span106[3]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - CollectionsMarshal.AsSpan(list255)[0] = new QuestStep(EInteractionType.Interact, 2014316u, new Vector3(-201.0987f, 6.362976f, -511.03995f), 1188); - obj181.Steps = list255; - reference189 = obj181; - ref QuestSequence reference190 = ref span106[4]; - QuestSequence obj182 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051242u, new Vector3(-127.45862f, 9.842161f, -419.6994f), 1188); - obj182.Steps = list256; - reference190 = obj182; - questRoot32.QuestSequence = list251; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(5082); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list257 = new List(num); - CollectionsMarshal.SetCount(list257, num); - CollectionsMarshal.AsSpan(list257)[0] = "liza"; - questRoot33.Author = list257; - num = 6; - List list258 = new List(num); - CollectionsMarshal.SetCount(list258, num); - Span span107 = CollectionsMarshal.AsSpan(list258); - ref QuestSequence reference191 = ref span107[0]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - CollectionsMarshal.AsSpan(list259)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051243u, new Vector3(-128.893f, 9.842161f, -416.95276f), 1188); - obj183.Steps = list259; - reference191 = obj183; - ref QuestSequence reference192 = ref span107[1]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.Interact, 1051244u, new Vector3(224.01758f, 10.257621f, -570.64166f), 1188) - { - Fly = true - }; - obj184.Steps = list260; - reference192 = obj184; - ref QuestSequence reference193 = ref span107[2]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.Interact, 2014281u, new Vector3(222.58337f, 10.72699f, -568.44434f), 1188); - obj185.Steps = list261; - reference193 = obj185; - ref QuestSequence reference194 = ref span107[3]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - Span span108 = CollectionsMarshal.AsSpan(list262); - span108[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(37.763844f, 1.8493831f, -555.61774f), 1188); - span108[1] = new QuestStep(EInteractionType.Interact, 2014284u, new Vector3(-123.30823f, 9.84198f, -419.11957f), 1188); - obj186.Steps = list262; - reference194 = obj186; - ref QuestSequence reference195 = ref span107[4]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - CollectionsMarshal.AsSpan(list263)[0] = new QuestStep(EInteractionType.Interact, 1051243u, new Vector3(-128.893f, 9.842161f, -416.95276f), 1188); - obj187.Steps = list263; - reference195 = obj187; - ref QuestSequence reference196 = ref span107[5]; - QuestSequence obj188 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051246u, new Vector3(-127.45862f, 9.842161f, -419.6994f), 1188) - { - NextQuestId = new QuestId(5083) - }; - obj188.Steps = list264; - reference196 = obj188; - questRoot33.QuestSequence = list258; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(5083); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list265 = new List(num); - CollectionsMarshal.SetCount(list265, num); - CollectionsMarshal.AsSpan(list265)[0] = "liza"; - questRoot34.Author = list265; - num = 6; - List list266 = new List(num); - CollectionsMarshal.SetCount(list266, num); - Span span109 = CollectionsMarshal.AsSpan(list266); - ref QuestSequence reference197 = ref span109[0]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - CollectionsMarshal.AsSpan(list267)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051243u, new Vector3(-128.893f, 9.842161f, -416.95276f), 1188); - obj189.Steps = list267; - reference197 = obj189; - ref QuestSequence reference198 = ref span109[1]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - CollectionsMarshal.AsSpan(list268)[0] = new QuestStep(EInteractionType.Interact, 1051247u, new Vector3(341.66467f, 9.178029f, -213.15332f), 1188) - { - Fly = true - }; - obj190.Steps = list268; - reference198 = obj190; - ref QuestSequence reference199 = ref span109[2]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - ref QuestStep reference200 = ref CollectionsMarshal.AsSpan(list269)[0]; - QuestStep obj192 = new QuestStep(EInteractionType.Combat, 2014198u, new Vector3(438.04077f, -0.015319824f, -395.43762f), 1188) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list270 = new List(num3); - CollectionsMarshal.SetCount(list270, num3); - CollectionsMarshal.AsSpan(list270)[0] = 17661u; - obj192.KillEnemyDataIds = list270; - reference200 = obj192; - obj191.Steps = list269; - reference199 = obj191; - ref QuestSequence reference201 = ref span109[3]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - CollectionsMarshal.AsSpan(list271)[0] = new QuestStep(EInteractionType.Interact, 2014286u, new Vector3(440.78735f, 1.1749268f, -397.1161f), 1188); - obj193.Steps = list271; - reference201 = obj193; - ref QuestSequence reference202 = ref span109[4]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - CollectionsMarshal.AsSpan(list272)[0] = new QuestStep(EInteractionType.Interact, 1051247u, new Vector3(341.66467f, 9.178029f, -213.15332f), 1188) - { - Fly = true - }; - obj194.Steps = list272; - reference202 = obj194; - ref QuestSequence reference203 = ref span109[5]; - QuestSequence obj195 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - CollectionsMarshal.AsSpan(list273)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051251u, new Vector3(654.7798f, 26.32866f, -490.95905f), 1188) - { - Fly = true, - NextQuestId = new QuestId(5084) - }; - obj195.Steps = list273; - reference203 = obj195; - questRoot34.QuestSequence = list266; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(5084); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list274 = new List(num); - CollectionsMarshal.SetCount(list274, num); - CollectionsMarshal.AsSpan(list274)[0] = "liza"; - questRoot35.Author = list274; - num = 6; - List list275 = new List(num); - CollectionsMarshal.SetCount(list275, num); - Span span110 = CollectionsMarshal.AsSpan(list275); - ref QuestSequence reference204 = ref span110[0]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - ref QuestStep reference205 = ref CollectionsMarshal.AsSpan(list276)[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.AcceptQuest, 1051252u, new Vector3(654.6272f, 26.32866f, -491.02008f), 1188); - num3 = 1; - List list277 = new List(num3); - CollectionsMarshal.SetCount(list277, num3); - CollectionsMarshal.AsSpan(list277)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZC204_05084_Q1_000_100"), - Answer = new ExcelRef("TEXT_KINGZC204_05084_A2_000_100") - }; - questStep9.DialogueChoices = list277; - reference205 = questStep9; - obj196.Steps = list276; - reference204 = obj196; - ref QuestSequence reference206 = ref span110[1]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - CollectionsMarshal.AsSpan(list278)[0] = new QuestStep(EInteractionType.Interact, 1051253u, new Vector3(-122.972534f, 9.842161f, -421.1643f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - obj197.Steps = list278; - reference206 = obj197; - ref QuestSequence reference207 = ref span110[2]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - Span span111 = CollectionsMarshal.AsSpan(list279); - ref QuestStep reference208 = ref span111[0]; - QuestStep obj199 = new QuestStep(EInteractionType.Interact, 1048786u, new Vector3(-193.3471f, 6.277148f, -443.50348f), 1188) - { - Fly = true - }; - num3 = 6; - List list280 = new List(num3); - CollectionsMarshal.SetCount(list280, num3); - Span span112 = CollectionsMarshal.AsSpan(list280); - span112[0] = null; - span112[1] = null; - span112[2] = null; - span112[3] = null; - span112[4] = null; - span112[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj199.CompletionQuestVariablesFlags = list280; - reference208 = obj199; - ref QuestStep reference209 = ref span111[1]; - QuestStep obj200 = new QuestStep(EInteractionType.Interact, 1048783u, new Vector3(-269.91687f, 5.9870257f, -431.47937f), 1188) - { - Fly = true - }; - num3 = 6; - List list281 = new List(num3); - CollectionsMarshal.SetCount(list281, num3); - Span span113 = CollectionsMarshal.AsSpan(list281); - span113[0] = null; - span113[1] = null; - span113[2] = null; - span113[3] = null; - span113[4] = null; - span113[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj200.CompletionQuestVariablesFlags = list281; - reference209 = obj200; - ref QuestStep reference210 = ref span111[2]; - QuestStep obj201 = new QuestStep(EInteractionType.Interact, 1048785u, new Vector3(-121.26343f, 9.773314f, -551.1406f), 1188) - { - Fly = true - }; - num3 = 6; - List list282 = new List(num3); - CollectionsMarshal.SetCount(list282, num3); - Span span114 = CollectionsMarshal.AsSpan(list282); - span114[0] = null; - span114[1] = null; - span114[2] = null; - span114[3] = null; - span114[4] = null; - span114[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj201.CompletionQuestVariablesFlags = list282; - reference210 = obj201; - obj198.Steps = list279; - reference207 = obj198; - ref QuestSequence reference211 = ref span110[3]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.Interact, 1051255u, new Vector3(-128.98456f, 9.84216f, -420.58447f), 1188) - { - Fly = true - }; - obj202.Steps = list283; - reference211 = obj202; - ref QuestSequence reference212 = ref span110[4]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - CollectionsMarshal.AsSpan(list284)[0] = new QuestStep(EInteractionType.Interact, 1051258u, new Vector3(658.7167f, 5.2940493f, -335.07288f), 1188) - { - Fly = true - }; - obj203.Steps = list284; - reference212 = obj203; - ref QuestSequence reference213 = ref span110[5]; - QuestSequence obj204 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - CollectionsMarshal.AsSpan(list285)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051261u, new Vector3(-130.9682f, 9.842161f, -416.58655f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - obj204.Steps = list285; - reference213 = obj204; - questRoot35.QuestSequence = list275; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(5085); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list286 = new List(num); - CollectionsMarshal.SetCount(list286, num); - CollectionsMarshal.AsSpan(list286)[0] = "liza"; - questRoot36.Author = list286; - num = 4; - List list287 = new List(num); - CollectionsMarshal.SetCount(list287, num); - Span span115 = CollectionsMarshal.AsSpan(list287); - ref QuestSequence reference214 = ref span115[0]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - CollectionsMarshal.AsSpan(list288)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051263u, new Vector3(-521.0193f, 121.63345f, 319.38647f), 1188); - obj205.Steps = list288; - reference214 = obj205; - ref QuestSequence reference215 = ref span115[1]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.Interact, 1051264u, new Vector3(-444.78522f, 122.890236f, 342.85498f), 1188); - obj206.Steps = list289; - reference215 = obj206; - ref QuestSequence reference216 = ref span115[2]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - Span span116 = CollectionsMarshal.AsSpan(list290); - ref QuestStep reference217 = ref span116[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1048892u, new Vector3(-485.55737f, 121.633f, 329.9762f), 1188); - num3 = 6; - List list291 = new List(num3); - CollectionsMarshal.SetCount(list291, num3); - Span span117 = CollectionsMarshal.AsSpan(list291); - span117[0] = null; - span117[1] = null; - span117[2] = null; - span117[3] = null; - span117[4] = null; - span117[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list291; - reference217 = questStep10; - ref QuestStep reference218 = ref span116[1]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1048850u, new Vector3(-472.5567f, 121.77377f, 271.229f), 1188); - num3 = 6; - List list292 = new List(num3); - CollectionsMarshal.SetCount(list292, num3); - Span span118 = CollectionsMarshal.AsSpan(list292); - span118[0] = null; - span118[1] = null; - span118[2] = null; - span118[3] = null; - span118[4] = null; - span118[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list292; - reference218 = questStep11; - ref QuestStep reference219 = ref span116[2]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1048858u, new Vector3(-426.87115f, 121.63345f, 320.88184f), 1188); - num3 = 6; - List list293 = new List(num3); - CollectionsMarshal.SetCount(list293, num3); - Span span119 = CollectionsMarshal.AsSpan(list293); - span119[0] = null; - span119[1] = null; - span119[2] = null; - span119[3] = null; - span119[4] = null; - span119[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list293; - reference219 = questStep12; - obj207.Steps = list290; - reference216 = obj207; - ref QuestSequence reference220 = ref span115[3]; - QuestSequence obj208 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - CollectionsMarshal.AsSpan(list294)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051264u, new Vector3(-444.78522f, 122.890236f, 342.85498f), 1188) - { - Mount = true - }; - obj208.Steps = list294; - reference220 = obj208; - questRoot36.QuestSequence = list287; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(5086); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list295 = new List(num); - CollectionsMarshal.SetCount(list295, num); - CollectionsMarshal.AsSpan(list295)[0] = "liza"; - questRoot37.Author = list295; - num = 5; - List list296 = new List(num); - CollectionsMarshal.SetCount(list296, num); - Span span120 = CollectionsMarshal.AsSpan(list296); - ref QuestSequence reference221 = ref span120[0]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - CollectionsMarshal.AsSpan(list297)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051265u, new Vector3(-444.78522f, 122.89024f, 342.8855f), 1188); - obj209.Steps = list297; - reference221 = obj209; - ref QuestSequence reference222 = ref span120[1]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - CollectionsMarshal.AsSpan(list298)[0] = new QuestStep(EInteractionType.Interact, 1048850u, new Vector3(-472.5567f, 121.77377f, 271.229f), 1188); - obj210.Steps = list298; - reference222 = obj210; - ref QuestSequence reference223 = ref span120[2]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - CollectionsMarshal.AsSpan(list299)[0] = new QuestStep(EInteractionType.Interact, 1051263u, new Vector3(-521.0193f, 121.63345f, 319.38647f), 1188); - obj211.Steps = list299; - reference223 = obj211; - ref QuestSequence reference224 = ref span120[3]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - CollectionsMarshal.AsSpan(list300)[0] = new QuestStep(EInteractionType.Interact, 1051265u, new Vector3(-444.78522f, 122.89024f, 342.8855f), 1188); - obj212.Steps = list300; - reference224 = obj212; - ref QuestSequence reference225 = ref span120[4]; - QuestSequence obj213 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - CollectionsMarshal.AsSpan(list301)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051263u, new Vector3(-521.0193f, 121.63345f, 319.38647f), 1188) - { - NextQuestId = new QuestId(5087) - }; - obj213.Steps = list301; - reference225 = obj213; - questRoot37.QuestSequence = list296; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(5087); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list302 = new List(num); - CollectionsMarshal.SetCount(list302, num); - CollectionsMarshal.AsSpan(list302)[0] = "liza"; - questRoot38.Author = list302; - num = 5; - List list303 = new List(num); - CollectionsMarshal.SetCount(list303, num); - Span span121 = CollectionsMarshal.AsSpan(list303); - ref QuestSequence reference226 = ref span121[0]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - CollectionsMarshal.AsSpan(list304)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051263u, new Vector3(-521.0193f, 121.63345f, 319.38647f), 1188); - obj214.Steps = list304; - reference226 = obj214; - ref QuestSequence reference227 = ref span121[1]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - CollectionsMarshal.AsSpan(list305)[0] = new QuestStep(EInteractionType.Interact, 1051266u, new Vector3(565.8197f, 115.49999f, 195.30017f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaManyFires - }; - obj215.Steps = list305; - reference227 = obj215; - ref QuestSequence reference228 = ref span121[2]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - ref QuestStep reference229 = ref CollectionsMarshal.AsSpan(list306)[0]; - QuestStep obj217 = new QuestStep(EInteractionType.Combat, null, new Vector3(627.93854f, 110.09355f, 334.26776f), 1188) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list307 = new List(num3); - CollectionsMarshal.SetCount(list307, num3); - CollectionsMarshal.AsSpan(list307)[0] = 17244u; - obj217.KillEnemyDataIds = list307; - reference229 = obj217; - obj216.Steps = list306; - reference228 = obj216; - ref QuestSequence reference230 = ref span121[3]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - CollectionsMarshal.AsSpan(list308)[0] = new QuestStep(EInteractionType.Interact, 1051266u, new Vector3(565.8197f, 115.49999f, 195.30017f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaManyFires - }; - obj218.Steps = list308; - reference230 = obj218; - ref QuestSequence reference231 = ref span121[4]; - QuestSequence obj219 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - CollectionsMarshal.AsSpan(list309)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051267u, new Vector3(-447.5014f, 122.95055f, 343.099f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaEarthenshire, - NextQuestId = new QuestId(5088) - }; - obj219.Steps = list309; - reference231 = obj219; - questRoot38.QuestSequence = list303; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(5088); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list310 = new List(num); - CollectionsMarshal.SetCount(list310, num); - CollectionsMarshal.AsSpan(list310)[0] = "liza"; - questRoot39.Author = list310; - num = 7; - List list311 = new List(num); - CollectionsMarshal.SetCount(list311, num); - Span span122 = CollectionsMarshal.AsSpan(list311); - ref QuestSequence reference232 = ref span122[0]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - ref QuestStep reference233 = ref CollectionsMarshal.AsSpan(list312)[0]; - QuestStep questStep13 = new QuestStep(EInteractionType.AcceptQuest, 1051267u, new Vector3(-447.5014f, 122.95055f, 343.099f), 1188); - num3 = 1; - List list313 = new List(num3); - CollectionsMarshal.SetCount(list313, num3); - CollectionsMarshal.AsSpan(list313)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZC304_05088_Q1_000_100"), - Answer = new ExcelRef("TEXT_KINGZC304_05088_A2_000_100") - }; - questStep13.DialogueChoices = list313; - reference233 = questStep13; - obj220.Steps = list312; - reference232 = obj220; - ref QuestSequence reference234 = ref span122[1]; - QuestSequence obj221 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - CollectionsMarshal.AsSpan(list314)[0] = new QuestStep(EInteractionType.Interact, 2014289u, new Vector3(-422.50708f, 122.88086f, 338.88757f), 1188) - { - Mount = true - }; - obj221.Steps = list314; - reference234 = obj221; - ref QuestSequence reference235 = ref span122[2]; - QuestSequence obj222 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - CollectionsMarshal.AsSpan(list315)[0] = new QuestStep(EInteractionType.Interact, 2014290u, new Vector3(-519.4629f, 123.88794f, 252.61304f), 1188); - obj222.Steps = list315; - reference235 = obj222; - ref QuestSequence reference236 = ref span122[3]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - ref QuestStep reference237 = ref CollectionsMarshal.AsSpan(list316)[0]; - QuestStep obj224 = new QuestStep(EInteractionType.Combat, null, new Vector3(-759f, 129.30363f, 237.35704f), 1188) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list317 = new List(num3); - CollectionsMarshal.SetCount(list317, num3); - CollectionsMarshal.AsSpan(list317)[0] = 17662u; - obj224.KillEnemyDataIds = list317; - reference237 = obj224; - obj223.Steps = list316; - reference236 = obj223; - ref QuestSequence reference238 = ref span122[4]; - QuestSequence obj225 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list318 = new List(num2); - CollectionsMarshal.SetCount(list318, num2); - CollectionsMarshal.AsSpan(list318)[0] = new QuestStep(EInteractionType.Interact, 1051268u, new Vector3(-756.80176f, 129.29285f, 240.7721f), 1188) - { - StopDistance = 7f - }; - obj225.Steps = list318; - reference238 = obj225; - ref QuestSequence reference239 = ref span122[5]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list319 = new List(num2); - CollectionsMarshal.SetCount(list319, num2); - CollectionsMarshal.AsSpan(list319)[0] = new QuestStep(EInteractionType.Interact, 1051269u, new Vector3(-566.73535f, 133.78297f, 721.3396f), 1188) - { - Fly = true - }; - obj226.Steps = list319; - reference239 = obj226; - ref QuestSequence reference240 = ref span122[6]; - QuestSequence obj227 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list320 = new List(num2); - CollectionsMarshal.SetCount(list320, num2); - CollectionsMarshal.AsSpan(list320)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051267u, new Vector3(-447.5014f, 122.95055f, 343.099f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaEarthenshire, - NextQuestId = new QuestId(5089) - }; - obj227.Steps = list320; - reference240 = obj227; - questRoot39.QuestSequence = list311; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(5089); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list321 = new List(num); - CollectionsMarshal.SetCount(list321, num); - CollectionsMarshal.AsSpan(list321)[0] = "liza"; - questRoot40.Author = list321; - num = 7; - List list322 = new List(num); - CollectionsMarshal.SetCount(list322, num); - Span span123 = CollectionsMarshal.AsSpan(list322); - ref QuestSequence reference241 = ref span123[0]; - QuestSequence obj228 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list323 = new List(num2); - CollectionsMarshal.SetCount(list323, num2); - CollectionsMarshal.AsSpan(list323)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051271u, new Vector3(-447.04358f, 122.95054f, 343.4348f), 1188) - { - StopDistance = 5f - }; - obj228.Steps = list323; - reference241 = obj228; - ref QuestSequence reference242 = ref span123[1]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list324 = new List(num2); - CollectionsMarshal.SetCount(list324, num2); - CollectionsMarshal.AsSpan(list324)[0] = new QuestStep(EInteractionType.Interact, 1051273u, new Vector3(565.54517f, 115.5f, 193.22498f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaManyFires - }; - obj229.Steps = list324; - reference242 = obj229; - ref QuestSequence reference243 = ref span123[2]; - QuestSequence obj230 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list325 = new List(num2); - CollectionsMarshal.SetCount(list325, num2); - CollectionsMarshal.AsSpan(list325)[0] = new QuestStep(EInteractionType.Interact, 1051275u, new Vector3(-645.7771f, 127.95559f, 661.76843f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaEarthenshire - }; - obj230.Steps = list325; - reference243 = obj230; - ref QuestSequence reference244 = ref span123[3]; - QuestSequence obj231 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list326 = new List(num2); - CollectionsMarshal.SetCount(list326, num2); - ref QuestStep reference245 = ref CollectionsMarshal.AsSpan(list326)[0]; - QuestStep obj232 = new QuestStep(EInteractionType.Interact, 1051270u, new Vector3(-565.2705f, 133.77481f, 720.7294f), 1188) - { - Fly = true - }; - num3 = 1; - List list327 = new List(num3); - CollectionsMarshal.SetCount(list327, num3); - CollectionsMarshal.AsSpan(list327)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZC401_05089_Q1_000_100"), - Answer = new ExcelRef("TEXT_KINGZC401_05089_A1_000_100") - }; - obj232.DialogueChoices = list327; - reference245 = obj232; - obj231.Steps = list326; - reference244 = obj231; - ref QuestSequence reference246 = ref span123[4]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - CollectionsMarshal.AsSpan(list328)[0] = new QuestStep(EInteractionType.Interact, 1051277u, new Vector3(-647.0283f, 127.88751f, 660.57825f), 1188) - { - Fly = true - }; - obj233.Steps = list328; - reference246 = obj233; - ref QuestSequence reference247 = ref span123[5]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list329 = new List(num2); - CollectionsMarshal.SetCount(list329, num2); - ref QuestStep reference248 = ref CollectionsMarshal.AsSpan(list329)[0]; - QuestStep obj235 = new QuestStep(EInteractionType.Interact, 1051278u, new Vector3(-130.69354f, 9.84216f, -415.21326f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - num3 = 1; - List list330 = new List(num3); - CollectionsMarshal.SetCount(list330, num3); - CollectionsMarshal.AsSpan(list330)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGZC401_05089_Q100_000_100") - }; - obj235.DialogueChoices = list330; - reference248 = obj235; - obj234.Steps = list329; - reference247 = obj234; - ref QuestSequence reference249 = ref span123[6]; - QuestSequence obj236 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list331 = new List(num2); - CollectionsMarshal.SetCount(list331, num2); - CollectionsMarshal.AsSpan(list331)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051280u, new Vector3(-125.20032f, 9.842161f, -418.08197f), 1188); - obj236.Steps = list331; - reference249 = obj236; - questRoot40.QuestSequence = list322; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(5090); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list332 = new List(num); - CollectionsMarshal.SetCount(list332, num); - CollectionsMarshal.AsSpan(list332)[0] = "liza"; - questRoot41.Author = list332; - num = 3; - List list333 = new List(num); - CollectionsMarshal.SetCount(list333, num); - Span span124 = CollectionsMarshal.AsSpan(list333); - ref QuestSequence reference250 = ref span124[0]; - QuestSequence obj237 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - CollectionsMarshal.AsSpan(list334)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048960u, new Vector3(-405.84424f, 23.562847f, -476.61554f), 1189); - obj237.Steps = list334; - reference250 = obj237; - ref QuestSequence reference251 = ref span124[1]; - QuestSequence obj238 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list335 = new List(num2); - CollectionsMarshal.SetCount(list335, num2); - ref QuestStep reference252 = ref CollectionsMarshal.AsSpan(list335)[0]; - QuestStep obj239 = new QuestStep(EInteractionType.Combat, null, new Vector3(-455.06216f, 20.027777f, 46.272446f), 1189) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list336 = new List(num3); - CollectionsMarshal.SetCount(list336, num3); - CollectionsMarshal.AsSpan(list336)[0] = 17268u; - obj239.KillEnemyDataIds = list336; - reference252 = obj239; - obj238.Steps = list335; - reference251 = obj238; - ref QuestSequence reference253 = ref span124[2]; - QuestSequence obj240 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list337 = new List(num2); - CollectionsMarshal.SetCount(list337, num2); - CollectionsMarshal.AsSpan(list337)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048960u, new Vector3(-405.84424f, 23.562847f, -476.61554f), 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelIqBraax - }; - obj240.Steps = list337; - reference253 = obj240; - questRoot41.QuestSequence = list333; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(5091); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list338 = new List(num); - CollectionsMarshal.SetCount(list338, num); - CollectionsMarshal.AsSpan(list338)[0] = "liza"; - questRoot42.Author = list338; - num = 3; - List list339 = new List(num); - CollectionsMarshal.SetCount(list339, num); - Span span125 = CollectionsMarshal.AsSpan(list339); - ref QuestSequence reference254 = ref span125[0]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list340 = new List(num2); - CollectionsMarshal.SetCount(list340, num2); - CollectionsMarshal.AsSpan(list340)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051071u, new Vector3(-554.03986f, 1.3156406f, -489.3416f), 1189); - obj241.Steps = list340; - reference254 = obj241; - ref QuestSequence reference255 = ref span125[1]; - QuestSequence obj242 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - Span span126 = CollectionsMarshal.AsSpan(list341); - span126[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-596.55597f, 2.3708515f, -493.64908f), 1189) - { - Fly = true - }; - span126[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.2386f, -44.093876f, -495.7548f), 1189) - { - DisableNavmesh = true, - Fly = true - }; - span126[2] = new QuestStep(EInteractionType.Interact, 2014307u, new Vector3(-729.7932f, -107.83557f, -674.8608f), 1189) - { - Fly = true - }; - obj242.Steps = list341; - reference255 = obj242; - ref QuestSequence reference256 = ref span125[2]; - QuestSequence obj243 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - Span span127 = CollectionsMarshal.AsSpan(list342); - span127[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-615.2386f, -44.093876f, -495.7548f), 1189) - { - Fly = true - }; - span127[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-596.55597f, 2.3708515f, -493.64908f), 1189) - { - DisableNavmesh = true, - Fly = true - }; - ref QuestStep reference257 = ref span127[2]; - QuestStep obj244 = new QuestStep(EInteractionType.CompleteQuest, 1051071u, new Vector3(-554.03986f, 1.3156406f, -489.3416f), 1189) - { - Fly = true - }; - num3 = 1; - List list343 = new List(num3); - CollectionsMarshal.SetCount(list343, num3); - CollectionsMarshal.AsSpan(list343)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZD002_05091_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGZD002_05091_A1_000_001") - }; - obj244.DialogueChoices = list343; - reference257 = obj244; - obj243.Steps = list342; - reference256 = obj243; - questRoot42.QuestSequence = list339; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(5092); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list344 = new List(num); - CollectionsMarshal.SetCount(list344, num); - CollectionsMarshal.AsSpan(list344)[0] = "liza"; - questRoot43.Author = list344; - num = 4; - List list345 = new List(num); - CollectionsMarshal.SetCount(list345, num); - Span span128 = CollectionsMarshal.AsSpan(list345); - ref QuestSequence reference258 = ref span128[0]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list346 = new List(num2); - CollectionsMarshal.SetCount(list346, num2); - CollectionsMarshal.AsSpan(list346)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051057u, new Vector3(-343.67902f, 18.885578f, -404.22675f), 1189); - obj245.Steps = list346; - reference258 = obj245; - ref QuestSequence reference259 = ref span128[1]; - QuestSequence obj246 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list347 = new List(num2); - CollectionsMarshal.SetCount(list347, num2); - ref QuestStep reference260 = ref CollectionsMarshal.AsSpan(list347)[0]; - QuestStep obj247 = new QuestStep(EInteractionType.Combat, null, new Vector3(158.97704f, 0.80940175f, -773.5188f), 1189) - { - StopDistance = 1f, - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalDirigibleLandingYakTel - }, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list348 = new List(num3); - CollectionsMarshal.SetCount(list348, num3); - CollectionsMarshal.AsSpan(list348)[0] = 17663u; - obj247.KillEnemyDataIds = list348; - reference260 = obj247; - obj246.Steps = list347; - reference259 = obj246; - ref QuestSequence reference261 = ref span128[2]; - QuestSequence obj248 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list349 = new List(num2); - CollectionsMarshal.SetCount(list349, num2); - CollectionsMarshal.AsSpan(list349)[0] = new QuestStep(EInteractionType.Interact, 1051058u, new Vector3(159.47205f, 0.81595546f, -770.19916f), 1189) - { - StopDistance = 7f - }; - obj248.Steps = list349; - reference261 = obj248; - ref QuestSequence reference262 = ref span128[3]; - QuestSequence obj249 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - CollectionsMarshal.AsSpan(list350)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051057u, new Vector3(-343.67902f, 18.885578f, -404.22675f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelIqBraax - }; - obj249.Steps = list350; - reference262 = obj249; - questRoot43.QuestSequence = list345; - AddQuest(questId43, questRoot43); - QuestId questId44 = new QuestId(5093); - QuestRoot questRoot44 = new QuestRoot(); - num = 1; - List list351 = new List(num); - CollectionsMarshal.SetCount(list351, num); - CollectionsMarshal.AsSpan(list351)[0] = "liza"; - questRoot44.Author = list351; - num = 4; - List list352 = new List(num); - CollectionsMarshal.SetCount(list352, num); - Span span129 = CollectionsMarshal.AsSpan(list352); - ref QuestSequence reference263 = ref span129[0]; - QuestSequence obj250 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list353 = new List(num2); - CollectionsMarshal.SetCount(list353, num2); - CollectionsMarshal.AsSpan(list353)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048928u, new Vector3(36.301147f, 8.205902f, -645.1362f), 1189); - obj250.Steps = list353; - reference263 = obj250; - ref QuestSequence reference264 = ref span129[1]; - QuestSequence obj251 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list354 = new List(num2); - CollectionsMarshal.SetCount(list354, num2); - CollectionsMarshal.AsSpan(list354)[0] = new QuestStep(EInteractionType.Interact, 1051072u, new Vector3(-39.07837f, 4.3051004f, -332.87555f), 1189) - { - Fly = true - }; - obj251.Steps = list354; - reference264 = obj251; - ref QuestSequence reference265 = ref span129[2]; - QuestSequence obj252 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list355 = new List(num2); - CollectionsMarshal.SetCount(list355, num2); - CollectionsMarshal.AsSpan(list355)[0] = new QuestStep(EInteractionType.Interact, 1051072u, new Vector3(-39.07837f, 4.3051004f, -332.87555f), 1189); - obj252.Steps = list355; - reference265 = obj252; - ref QuestSequence reference266 = ref span129[3]; - QuestSequence obj253 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list356 = new List(num2); - CollectionsMarshal.SetCount(list356, num2); - CollectionsMarshal.AsSpan(list356)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048928u, new Vector3(36.301147f, 8.205902f, -645.1362f), 1189); - obj253.Steps = list356; - reference266 = obj253; - questRoot44.QuestSequence = list352; - AddQuest(questId44, questRoot44); - QuestId questId45 = new QuestId(5094); - QuestRoot questRoot45 = new QuestRoot(); - num = 1; - List list357 = new List(num); - CollectionsMarshal.SetCount(list357, num); - CollectionsMarshal.AsSpan(list357)[0] = "liza"; - questRoot45.Author = list357; - num = 5; - List list358 = new List(num); - CollectionsMarshal.SetCount(list358, num); - Span span130 = CollectionsMarshal.AsSpan(list358); - ref QuestSequence reference267 = ref span130[0]; - QuestSequence obj254 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list359 = new List(num2); - CollectionsMarshal.SetCount(list359, num2); - CollectionsMarshal.AsSpan(list359)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051073u, new Vector3(41.09253f, 8.205902f, -629.8467f), 1189); - obj254.Steps = list359; - reference267 = obj254; - ref QuestSequence reference268 = ref span130[1]; - QuestSequence obj255 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list360 = new List(num2); - CollectionsMarshal.SetCount(list360, num2); - CollectionsMarshal.AsSpan(list360)[0] = new QuestStep(EInteractionType.Interact, 2014310u, new Vector3(499.8092f, 20.126648f, -345.84576f), 1189); - obj255.Steps = list360; - reference268 = obj255; - ref QuestSequence reference269 = ref span130[2]; - QuestSequence obj256 = new QuestSequence - { - Sequence = 2 - }; - num2 = 10; - List list361 = new List(num2); - CollectionsMarshal.SetCount(list361, num2); - Span span131 = CollectionsMarshal.AsSpan(list361); - span131[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(509.42645f, 15.455202f, -305.60803f), 1189) - { - Mount = false, - Sprint = false - }; - span131[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1051074u, new Vector3(515.47345f, 10.495132f, -260.93246f), 1189) - { - StopDistance = 100f, - Mount = false, - Sprint = false - }; - span131[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(532.88403f, 10.019356f, -237.4513f), 1189) - { - DelaySecondsAtStart = 5f, - Mount = false, - Sprint = false - }; - span131[3] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1051074u, new Vector3(543.8844f, 9.337766f, -190.25961f), 1189) - { - StopDistance = 100f, - Mount = false, - Sprint = false - }; - span131[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(530.938f, 10.278882f, -164.46059f), 1189) - { - Mount = false, - Sprint = false - }; - span131[5] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1051074u, new Vector3(564.2212f, 12.653475f, -126.851585f), 1189) - { - StopDistance = 100f, - Mount = false, - Sprint = false - }; - span131[6] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(572.95447f, 16.180645f, -78.99758f), 1189) - { - Mount = false, - Sprint = false - }; - span131[7] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1051074u, new Vector3(599.5003f, 16.939411f, -34.30726f), 1189) - { - StopDistance = 100f, - Mount = false, - Sprint = false - }; - span131[8] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(598.5126f, 16.16554f, -24.822657f), 1189) - { - Mount = false, - Sprint = false - }; - span131[9] = new QuestStep(EInteractionType.WalkTo, 1051362u, new Vector3(627.7103f, 17.481155f, 2.9754639f), 1189) - { - DelaySecondsAtStart = 25f - }; - obj256.Steps = list361; - reference269 = obj256; - ref QuestSequence reference270 = ref span130[3]; - QuestSequence obj257 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list362 = new List(num2); - CollectionsMarshal.SetCount(list362, num2); - CollectionsMarshal.AsSpan(list362)[0] = new QuestStep(EInteractionType.Interact, 1051362u, new Vector3(627.7103f, 17.481155f, 2.9754639f), 1189); - obj257.Steps = list362; - reference270 = obj257; - ref QuestSequence reference271 = ref span130[4]; - QuestSequence obj258 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list363 = new List(num2); - CollectionsMarshal.SetCount(list363, num2); - Span span132 = CollectionsMarshal.AsSpan(list363); - span132[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013948u, new Vector3(610.7728f, 9.597839f, 233.05103f), 1189) - { - AetherCurrentId = 2818440u - }; - ref QuestStep reference272 = ref span132[1]; - QuestStep obj259 = new QuestStep(EInteractionType.CompleteQuest, 1051073u, new Vector3(41.09253f, 8.205902f, -629.8467f), 1189) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalDirigibleLandingYakTel - } - }; - num3 = 1; - List list364 = new List(num3); - CollectionsMarshal.SetCount(list364, num3); - CollectionsMarshal.AsSpan(list364)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZD005_05094_CHOICE1Q1_100_060"), - Answer = new ExcelRef("TEXT_KINGZD005_05094_CHOICE1A2_102_060") - }; - obj259.DialogueChoices = list364; - reference272 = obj259; - obj258.Steps = list363; - reference271 = obj258; - questRoot45.QuestSequence = list358; - AddQuest(questId45, questRoot45); - QuestId questId46 = new QuestId(5095); - QuestRoot questRoot46 = new QuestRoot(); - num = 1; - List list365 = new List(num); - CollectionsMarshal.SetCount(list365, num); - CollectionsMarshal.AsSpan(list365)[0] = "liza"; - questRoot46.Author = list365; - num = 4; - List list366 = new List(num); - CollectionsMarshal.SetCount(list366, num); - Span span133 = CollectionsMarshal.AsSpan(list366); - ref QuestSequence reference273 = ref span133[0]; - QuestSequence obj260 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list367 = new List(num2); - CollectionsMarshal.SetCount(list367, num2); - CollectionsMarshal.AsSpan(list367)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051061u, new Vector3(-407.79742f, 28.068892f, -360.55542f), 1189); - obj260.Steps = list367; - reference273 = obj260; - ref QuestSequence reference274 = ref span133[1]; - QuestSequence obj261 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list368 = new List(num2); - CollectionsMarshal.SetCount(list368, num2); - ref QuestStep reference275 = ref CollectionsMarshal.AsSpan(list368)[0]; - QuestStep obj262 = new QuestStep(EInteractionType.Combat, 1051062u, new Vector3(-489.5247f, -29.96456f, -94.83484f), 1189) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list369 = new List(num3); - CollectionsMarshal.SetCount(list369, num3); - Span span134 = CollectionsMarshal.AsSpan(list369); - span134[0] = 17664u; - span134[1] = 17665u; - obj262.KillEnemyDataIds = list369; - reference275 = obj262; - obj261.Steps = list368; - reference274 = obj261; - ref QuestSequence reference276 = ref span133[2]; - QuestSequence obj263 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list370 = new List(num2); - CollectionsMarshal.SetCount(list370, num2); - CollectionsMarshal.AsSpan(list370)[0] = new QuestStep(EInteractionType.Interact, 1051062u, new Vector3(-489.5247f, -29.96456f, -94.83484f), 1189) - { - StopDistance = 7f - }; - obj263.Steps = list370; - reference276 = obj263; - ref QuestSequence reference277 = ref span133[3]; - QuestSequence obj264 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list371 = new List(num2); - CollectionsMarshal.SetCount(list371, num2); - CollectionsMarshal.AsSpan(list371)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051061u, new Vector3(-407.79742f, 28.068892f, -360.55542f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelIqBraax - }; - obj264.Steps = list371; - reference277 = obj264; - questRoot46.QuestSequence = list366; - AddQuest(questId46, questRoot46); - QuestId questId47 = new QuestId(5096); - QuestRoot questRoot47 = new QuestRoot(); - num = 1; - List list372 = new List(num); - CollectionsMarshal.SetCount(list372, num); - CollectionsMarshal.AsSpan(list372)[0] = "liza"; - questRoot47.Author = list372; - num = 3; - List list373 = new List(num); - CollectionsMarshal.SetCount(list373, num); - Span span135 = CollectionsMarshal.AsSpan(list373); - ref QuestSequence reference278 = ref span135[0]; - QuestSequence obj265 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list374 = new List(num2); - CollectionsMarshal.SetCount(list374, num2); - CollectionsMarshal.AsSpan(list374)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051065u, new Vector3(380.7583f, 21.437008f, -496.84903f), 1189); - obj265.Steps = list374; - reference278 = obj265; - ref QuestSequence reference279 = ref span135[1]; - QuestSequence obj266 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list375 = new List(num2); - CollectionsMarshal.SetCount(list375, num2); - Span span136 = CollectionsMarshal.AsSpan(list375); - ref QuestStep reference280 = ref span136[0]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 2014264u, new Vector3(405.1422f, 20.85907f, -482.10883f), 1189); - num3 = 6; - List list376 = new List(num3); - CollectionsMarshal.SetCount(list376, num3); - Span span137 = CollectionsMarshal.AsSpan(list376); - span137[0] = null; - span137[1] = null; - span137[2] = null; - span137[3] = null; - span137[4] = null; - span137[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list376; - reference280 = questStep14; - ref QuestStep reference281 = ref span136[1]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 2014266u, new Vector3(430.83838f, 20.126648f, -456.71783f), 1189); - num3 = 6; - List list377 = new List(num3); - CollectionsMarshal.SetCount(list377, num3); - Span span138 = CollectionsMarshal.AsSpan(list377); - span138[0] = null; - span138[1] = null; - span138[2] = null; - span138[3] = null; - span138[4] = null; - span138[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list377; - reference281 = questStep15; - ref QuestStep reference282 = ref span136[2]; - QuestStep obj267 = new QuestStep(EInteractionType.Combat, 2014265u, new Vector3(395.92578f, 20.34021f, -453.02515f), 1189) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list378 = new List(num3); - CollectionsMarshal.SetCount(list378, num3); - CollectionsMarshal.AsSpan(list378)[0] = 17666u; - obj267.KillEnemyDataIds = list378; - num3 = 6; - List list379 = new List(num3); - CollectionsMarshal.SetCount(list379, num3); - Span span139 = CollectionsMarshal.AsSpan(list379); - span139[0] = null; - span139[1] = null; - span139[2] = null; - span139[3] = null; - span139[4] = null; - span139[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj267.CompletionQuestVariablesFlags = list379; - reference282 = obj267; - obj266.Steps = list375; - reference279 = obj266; - ref QuestSequence reference283 = ref span135[2]; - QuestSequence obj268 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list380 = new List(num2); - CollectionsMarshal.SetCount(list380, num2); - CollectionsMarshal.AsSpan(list380)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051065u, new Vector3(380.7583f, 21.437008f, -496.84903f), 1189); - obj268.Steps = list380; - reference283 = obj268; - questRoot47.QuestSequence = list373; - AddQuest(questId47, questRoot47); - QuestId questId48 = new QuestId(5097); - QuestRoot questRoot48 = new QuestRoot(); - num = 1; - List list381 = new List(num); - CollectionsMarshal.SetCount(list381, num); - CollectionsMarshal.AsSpan(list381)[0] = "liza"; - questRoot48.Author = list381; - num = 3; - List list382 = new List(num); - CollectionsMarshal.SetCount(list382, num); - Span span140 = CollectionsMarshal.AsSpan(list382); - ref QuestSequence reference284 = ref span140[0]; - QuestSequence obj269 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list383 = new List(num2); - CollectionsMarshal.SetCount(list383, num2); - CollectionsMarshal.AsSpan(list383)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051364u, new Vector3(-9.353821f, 8.205902f, -652.9183f), 1189); - obj269.Steps = list383; - reference284 = obj269; - ref QuestSequence reference285 = ref span140[1]; - QuestSequence obj270 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list384 = new List(num2); - CollectionsMarshal.SetCount(list384, num2); - Span span141 = CollectionsMarshal.AsSpan(list384); - ref QuestStep reference286 = ref span141[0]; - QuestStep obj271 = new QuestStep(EInteractionType.Interact, 1048961u, new Vector3(-444.38855f, 28.068893f, -363.66827f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelIqBraax - }; - num3 = 6; - List list385 = new List(num3); - CollectionsMarshal.SetCount(list385, num3); - Span span142 = CollectionsMarshal.AsSpan(list385); - span142[0] = null; - span142[1] = null; - span142[2] = null; - span142[3] = null; - span142[4] = null; - span142[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj271.CompletionQuestVariablesFlags = list385; - reference286 = obj271; - ref QuestStep reference287 = ref span141[1]; - QuestStep obj272 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-632.6718f, 25.245409f, -159.94264f), 1189) - { - Fly = true - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list386 = new List(num3); - CollectionsMarshal.SetCount(list386, num3); - Span span143 = CollectionsMarshal.AsSpan(list386); - span143[0] = null; - span143[1] = null; - span143[2] = null; - span143[3] = null; - span143[4] = null; - span143[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list386; - skipConditions2.StepIf = skipStepConditions2; - obj272.SkipConditions = skipConditions2; - reference287 = obj272; - ref QuestStep reference288 = ref span141[2]; - QuestStep obj273 = new QuestStep(EInteractionType.Interact, 1048995u, new Vector3(-639.27673f, 26.716875f, -161.05902f), 1189) - { - StopDistance = 7f - }; - num3 = 6; - List list387 = new List(num3); - CollectionsMarshal.SetCount(list387, num3); - Span span144 = CollectionsMarshal.AsSpan(list387); - span144[0] = null; - span144[1] = null; - span144[2] = null; - span144[3] = null; - span144[4] = null; - span144[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj273.CompletionQuestVariablesFlags = list387; - reference288 = obj273; - obj270.Steps = list384; - reference285 = obj270; - ref QuestSequence reference289 = ref span140[2]; - QuestSequence obj274 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list388 = new List(num2); - CollectionsMarshal.SetCount(list388, num2); - CollectionsMarshal.AsSpan(list388)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051410u, new Vector3(-9.140198f, 8.205902f, -652.9183f), 1189) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalDirigibleLandingYakTel - } - }; - obj274.Steps = list388; - reference289 = obj274; - questRoot48.QuestSequence = list382; - AddQuest(questId48, questRoot48); - QuestId questId49 = new QuestId(5098); - QuestRoot questRoot49 = new QuestRoot(); - num = 1; - List list389 = new List(num); - CollectionsMarshal.SetCount(list389, num); - CollectionsMarshal.AsSpan(list389)[0] = "liza"; - questRoot49.Author = list389; - num = 5; - List list390 = new List(num); - CollectionsMarshal.SetCount(list390, num); - Span span145 = CollectionsMarshal.AsSpan(list390); - ref QuestSequence reference290 = ref span145[0]; - QuestSequence obj275 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list391 = new List(num2); - CollectionsMarshal.SetCount(list391, num2); - CollectionsMarshal.AsSpan(list391)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048996u, new Vector3(-618.43286f, 25.709108f, -153.91785f), 1189); - obj275.Steps = list391; - reference290 = obj275; - ref QuestSequence reference291 = ref span145[1]; - QuestSequence obj276 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list392 = new List(num2); - CollectionsMarshal.SetCount(list392, num2); - CollectionsMarshal.AsSpan(list392)[0] = new QuestStep(EInteractionType.Interact, 1051365u, new Vector3(-738.3383f, 22.137896f, -85.404785f), 1189) - { - Fly = true - }; - obj276.Steps = list392; - reference291 = obj276; - ref QuestSequence reference292 = ref span145[2]; - QuestSequence obj277 = new QuestSequence - { - Sequence = 2 - }; - num2 = 6; - List list393 = new List(num2); - CollectionsMarshal.SetCount(list393, num2); - Span span146 = CollectionsMarshal.AsSpan(list393); - ref QuestStep reference293 = ref span146[0]; - QuestStep obj278 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-580.44604f, 22.457048f, -3.286837f), 1189) - { - Fly = true - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list394 = new List(num3); - CollectionsMarshal.SetCount(list394, num3); - Span span147 = CollectionsMarshal.AsSpan(list394); - span147[0] = null; - span147[1] = null; - span147[2] = null; - span147[3] = null; - span147[4] = null; - span147[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list394; - skipConditions3.StepIf = skipStepConditions3; - obj278.SkipConditions = skipConditions3; - reference293 = obj278; - ref QuestStep reference294 = ref span146[1]; - QuestStep obj279 = new QuestStep(EInteractionType.UseItem, 2014313u, new Vector3(-581.75024f, 23.697266f, -2.9450073f), 1189) - { - ItemId = 2003683u - }; - num3 = 6; - List list395 = new List(num3); - CollectionsMarshal.SetCount(list395, num3); - Span span148 = CollectionsMarshal.AsSpan(list395); - span148[0] = null; - span148[1] = null; - span148[2] = null; - span148[3] = null; - span148[4] = null; - span148[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj279.CompletionQuestVariablesFlags = list395; - reference294 = obj279; - ref QuestStep reference295 = ref span146[2]; - QuestStep obj280 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-506.6366f, 22.817732f, 32.985153f), 1189) - { - Fly = true - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list396 = new List(num3); - CollectionsMarshal.SetCount(list396, num3); - Span span149 = CollectionsMarshal.AsSpan(list396); - span149[0] = null; - span149[1] = null; - span149[2] = null; - span149[3] = null; - span149[4] = null; - span149[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list396; - skipConditions4.StepIf = skipStepConditions4; - obj280.SkipConditions = skipConditions4; - reference295 = obj280; - ref QuestStep reference296 = ref span146[3]; - QuestStep obj281 = new QuestStep(EInteractionType.UseItem, 2014314u, new Vector3(-505.9129f, 23.88031f, 32.455933f), 1189) - { - ItemId = 2003683u - }; - num3 = 6; - List list397 = new List(num3); - CollectionsMarshal.SetCount(list397, num3); - Span span150 = CollectionsMarshal.AsSpan(list397); - span150[0] = null; - span150[1] = null; - span150[2] = null; - span150[3] = null; - span150[4] = null; - span150[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj281.CompletionQuestVariablesFlags = list397; - reference296 = obj281; - ref QuestStep reference297 = ref span146[4]; - QuestStep obj282 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-414.84598f, 20.493914f, 74.74898f), 1189) - { - Fly = true - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 6; - List list398 = new List(num3); - CollectionsMarshal.SetCount(list398, num3); - Span span151 = CollectionsMarshal.AsSpan(list398); - span151[0] = null; - span151[1] = null; - span151[2] = null; - span151[3] = null; - span151[4] = null; - span151[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions5.CompletionQuestVariablesFlags = list398; - skipConditions5.StepIf = skipStepConditions5; - obj282.SkipConditions = skipConditions5; - reference297 = obj282; - ref QuestStep reference298 = ref span146[5]; - QuestStep obj283 = new QuestStep(EInteractionType.UseItem, 2014315u, new Vector3(-413.96204f, 21.896606f, 74.021484f), 1189) - { - ItemId = 2003683u - }; - num3 = 6; - List list399 = new List(num3); - CollectionsMarshal.SetCount(list399, num3); - Span span152 = CollectionsMarshal.AsSpan(list399); - span152[0] = null; - span152[1] = null; - span152[2] = null; - span152[3] = null; - span152[4] = null; - span152[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj283.CompletionQuestVariablesFlags = list399; - reference298 = obj283; - obj277.Steps = list393; - reference292 = obj277; - ref QuestSequence reference299 = ref span145[3]; - QuestSequence obj284 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list400 = new List(num2); - CollectionsMarshal.SetCount(list400, num2); - CollectionsMarshal.AsSpan(list400)[0] = new QuestStep(EInteractionType.Interact, 1051365u, new Vector3(-738.3383f, 22.137896f, -85.404785f), 1189) - { - Fly = true - }; - obj284.Steps = list400; - reference299 = obj284; - ref QuestSequence reference300 = ref span145[4]; - QuestSequence obj285 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list401 = new List(num2); - CollectionsMarshal.SetCount(list401, num2); - CollectionsMarshal.AsSpan(list401)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048996u, new Vector3(-618.43286f, 25.709108f, -153.91785f), 1189) - { - Fly = true - }; - obj285.Steps = list401; - reference300 = obj285; - questRoot49.QuestSequence = list390; - AddQuest(questId49, questRoot49); - QuestId questId50 = new QuestId(5099); - QuestRoot questRoot50 = new QuestRoot(); - num = 1; - List list402 = new List(num); - CollectionsMarshal.SetCount(list402, num); - CollectionsMarshal.AsSpan(list402)[0] = "liza"; - questRoot50.Author = list402; - num = 3; - List list403 = new List(num); - CollectionsMarshal.SetCount(list403, num); - Span span153 = CollectionsMarshal.AsSpan(list403); - ref QuestSequence reference301 = ref span153[0]; - QuestSequence obj286 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list404 = new List(num2); - CollectionsMarshal.SetCount(list404, num2); - CollectionsMarshal.AsSpan(list404)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051366u, new Vector3(-399.95422f, 20.145584f, -402.4262f), 1189); - obj286.Steps = list404; - reference301 = obj286; - ref QuestSequence reference302 = ref span153[1]; - QuestSequence obj287 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list405 = new List(num2); - CollectionsMarshal.SetCount(list405, num2); - CollectionsMarshal.AsSpan(list405)[0] = new QuestStep(EInteractionType.Interact, 1051367u, new Vector3(-503.95975f, 29.007706f, -394.43048f), 1189) - { - Fly = true - }; - obj287.Steps = list405; - reference302 = obj287; - ref QuestSequence reference303 = ref span153[2]; - QuestSequence obj288 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list406 = new List(num2); - CollectionsMarshal.SetCount(list406, num2); - CollectionsMarshal.AsSpan(list406)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051368u, new Vector3(-501.27414f, 28.982998f, -394.3084f), 1189); - obj288.Steps = list406; - reference303 = obj288; - questRoot50.QuestSequence = list403; - AddQuest(questId50, questRoot50); - } - - private static void LoadQuests102() - { - QuestId questId = new QuestId(5100); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048982u, new Vector3(595.45276f, -137.17401f, 564.8126f), 1189); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Snipe, 2014250u, new Vector3(598.3214f, -137.19391f, 557.7018f), 1189) - { - Comment = "Inspect Flag, Red Head, Blue Head" - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048982u, new Vector3(595.45276f, -137.17401f, 564.8126f), 1189) - { - StopDistance = 7f - }; - obj3.Steps = list5; - reference3 = obj3; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(5101); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list6 = new List(num); - CollectionsMarshal.SetCount(list6, num); - CollectionsMarshal.AsSpan(list6)[0] = "liza"; - questRoot2.Author = list6; - num = 3; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - Span span2 = CollectionsMarshal.AsSpan(list7); - ref QuestSequence reference4 = ref span2[0]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048984u, new Vector3(673.06006f, -135.17874f, 577.47766f), 1189); - obj4.Steps = list8; - reference4 = obj4; - ref QuestSequence reference5 = ref span2[1]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 1 - }; - num2 = 6; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - Span span3 = CollectionsMarshal.AsSpan(list9); - ref QuestStep reference6 = ref span3[0]; - QuestStep obj6 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-92.00457f, -212.91975f, 624.4216f), 1189) - { - Fly = true - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - int num3 = 6; - List list10 = new List(num3); - CollectionsMarshal.SetCount(list10, num3); - Span span4 = CollectionsMarshal.AsSpan(list10); - span4[0] = null; - span4[1] = null; - span4[2] = null; - span4[3] = null; - span4[4] = null; - span4[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list10; - skipConditions.StepIf = skipStepConditions; - obj6.SkipConditions = skipConditions; - reference6 = obj6; - ref QuestStep reference7 = ref span3[1]; - QuestStep obj7 = new QuestStep(EInteractionType.Interact, 1051049u, new Vector3(-89.49426f, -213.64497f, 625.574f), 1189) - { - StopDistance = 4f - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - Span span5 = CollectionsMarshal.AsSpan(list11); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list11; - skipConditions2.StepIf = skipStepConditions2; - obj7.SkipConditions = skipConditions2; - reference7 = obj7; - ref QuestStep reference8 = ref span3[2]; - QuestStep obj8 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-122.188805f, -214.08376f, 674.54083f), 1189) - { - Fly = true - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list12 = new List(num3); - CollectionsMarshal.SetCount(list12, num3); - Span span6 = CollectionsMarshal.AsSpan(list12); - span6[0] = null; - span6[1] = null; - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list12; - skipConditions3.StepIf = skipStepConditions3; - obj8.SkipConditions = skipConditions3; - reference8 = obj8; - ref QuestStep reference9 = ref span3[3]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1051051u, new Vector3(-122.88098f, -213.78055f, 673.39575f), 1189); - num3 = 6; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - Span span7 = CollectionsMarshal.AsSpan(list13); - span7[0] = null; - span7[1] = null; - span7[2] = null; - span7[3] = null; - span7[4] = null; - span7[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list13; - reference9 = questStep; - ref QuestStep reference10 = ref span3[4]; - QuestStep obj9 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-142.65875f, -213.42487f, 608.63165f), 1189) - { - Fly = true - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - Span span8 = CollectionsMarshal.AsSpan(list14); - span8[0] = null; - span8[1] = null; - span8[2] = null; - span8[3] = null; - span8[4] = null; - span8[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list14; - skipConditions4.StepIf = skipStepConditions4; - obj9.SkipConditions = skipConditions4; - reference10 = obj9; - ref QuestStep reference11 = ref span3[5]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1051050u, new Vector3(-143.63324f, -213.18237f, 609.0028f), 1189); - num3 = 6; - List list15 = new List(num3); - CollectionsMarshal.SetCount(list15, num3); - Span span9 = CollectionsMarshal.AsSpan(list15); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list15; - reference11 = questStep2; - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference12 = ref span2[2]; - QuestSequence obj10 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048984u, new Vector3(673.06006f, -135.17874f, 577.47766f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook - }; - obj10.Steps = list16; - reference12 = obj10; - questRoot2.QuestSequence = list7; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(5102); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - CollectionsMarshal.AsSpan(list17)[0] = "liza"; - questRoot3.Author = list17; - num = 3; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - Span span10 = CollectionsMarshal.AsSpan(list18); - ref QuestSequence reference13 = ref span10[0]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048988u, new Vector3(584.4967f, -143.46597f, 648.64575f), 1189); - obj11.Steps = list19; - reference13 = obj11; - ref QuestSequence reference14 = ref span10[1]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - Span span11 = CollectionsMarshal.AsSpan(list20); - ref QuestStep reference15 = ref span11[0]; - QuestStep obj13 = new QuestStep(EInteractionType.Interact, 2014369u, new Vector3(328.20618f, -157.21375f, 429.4651f), 1189) - { - Fly = true - }; - num3 = 6; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - Span span12 = CollectionsMarshal.AsSpan(list21); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj13.CompletionQuestVariablesFlags = list21; - reference15 = obj13; - ref QuestStep reference16 = ref span11[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2014368u, new Vector3(323.7201f, -157.76306f, 434.19543f), 1189); - num3 = 6; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - Span span13 = CollectionsMarshal.AsSpan(list22); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list22; - reference16 = questStep3; - ref QuestStep reference17 = ref span11[2]; - QuestStep obj14 = new QuestStep(EInteractionType.Interact, 2014256u, new Vector3(139.17749f, -162.24927f, 679.95715f), 1189) - { - Fly = true - }; - num3 = 6; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - Span span14 = CollectionsMarshal.AsSpan(list23); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj14.CompletionQuestVariablesFlags = list23; - reference17 = obj14; - ref QuestStep reference18 = ref span11[3]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2014257u, new Vector3(144.67078f, -163.25635f, 663.84375f), 1189); - num3 = 6; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - Span span15 = CollectionsMarshal.AsSpan(list24); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list24; - reference18 = questStep4; - obj12.Steps = list20; - reference14 = obj12; - ref QuestSequence reference19 = ref span10[2]; - QuestSequence obj15 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048988u, new Vector3(584.4967f, -143.46597f, 648.64575f), 1189) - { - Fly = true - }; - obj15.Steps = list25; - reference19 = obj15; - questRoot3.QuestSequence = list18; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(5103); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - CollectionsMarshal.AsSpan(list26)[0] = "liza"; - questRoot4.Author = list26; - num = 4; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - Span span16 = CollectionsMarshal.AsSpan(list27); - ref QuestSequence reference20 = ref span16[0]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051052u, new Vector3(585.90063f, -142.49187f, 510.21594f), 1189); - obj16.Steps = list28; - reference20 = obj16; - ref QuestSequence reference21 = ref span16[1]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.Interact, 1051066u, new Vector3(121.9043f, -172.89474f, 381.15503f), 1189); - obj17.Steps = list29; - reference21 = obj17; - ref QuestSequence reference22 = ref span16[2]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - ref QuestStep reference23 = ref CollectionsMarshal.AsSpan(list30)[0]; - QuestStep obj19 = new QuestStep(EInteractionType.Combat, 2014258u, new Vector3(87.02222f, -176.1654f, 328.3894f), 1189) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - CollectionsMarshal.AsSpan(list31)[0] = 17676u; - obj19.KillEnemyDataIds = list31; - reference23 = obj19; - obj18.Steps = list30; - reference22 = obj18; - ref QuestSequence reference24 = ref span16[3]; - QuestSequence obj20 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051066u, new Vector3(121.9043f, -172.89474f, 381.15503f), 1189); - obj20.Steps = list32; - reference24 = obj20; - questRoot4.QuestSequence = list27; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(5104); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list33 = new List(num); - CollectionsMarshal.SetCount(list33, num); - CollectionsMarshal.AsSpan(list33)[0] = "liza"; - questRoot5.Author = list33; - num = 6; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - Span span17 = CollectionsMarshal.AsSpan(list34); - ref QuestSequence reference25 = ref span17[0]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048987u, new Vector3(596.97876f, -142.60623f, 441.7334f), 1189); - obj21.Steps = list35; - reference25 = obj21; - ref QuestSequence reference26 = ref span17[1]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - ref QuestStep reference27 = ref CollectionsMarshal.AsSpan(list36)[0]; - QuestStep obj23 = new QuestStep(EInteractionType.Interact, 1051053u, new Vector3(257.1908f, -165.78062f, 146.74597f), 1189) - { - Fly = true - }; - num3 = 1; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - CollectionsMarshal.AsSpan(list37)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGZD105_05104_SYSTEM_100_004") - }; - obj23.DialogueChoices = list37; - reference27 = obj23; - obj22.Steps = list36; - reference26 = obj22; - ref QuestSequence reference28 = ref span17[2]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 2 - }; - num2 = 6; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - Span span18 = CollectionsMarshal.AsSpan(list38); - span18[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(272.75598f, -161.77667f, 117.129616f), 1189) - { - DisableNavmesh = true, - Mount = true - }; - span18[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(255.7041f, -161.34225f, 101.95002f), 1189) - { - DisableNavmesh = true - }; - span18[2] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1051053u, new Vector3(218.3051f, -160.72849f, 78.95244f), 1189) - { - DisableNavmesh = true - }; - span18[3] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1051053u, new Vector3(168.0448f, -158.83824f, 31.171473f), 1189) - { - DisableNavmesh = true - }; - span18[4] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1051053u, new Vector3(144.163f, -156.25887f, -57.818764f), 1189) - { - DisableNavmesh = true - }; - span18[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(83.32947f, -157.21858f, -67.64331f), 1189) - { - StopDistance = 1f, - DisableNavmesh = true - }; - obj24.Steps = list38; - reference28 = obj24; - ref QuestSequence reference29 = ref span17[3]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 1051054u, new Vector3(83.32947f, -157.21858f, -67.64331f), 1189); - obj25.Steps = list39; - reference29 = obj25; - ref QuestSequence reference30 = ref span17[4]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.Interact, 2014259u, new Vector3(65.049194f, -184.1612f, -70.237305f), 1189) - { - DisableNavmesh = true, - Mount = false - }; - obj26.Steps = list40; - reference30 = obj26; - ref QuestSequence reference31 = ref span17[5]; - QuestSequence obj27 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048987u, new Vector3(596.97876f, -142.60623f, 441.7334f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook - }; - obj27.Steps = list41; - reference31 = obj27; - questRoot5.QuestSequence = list34; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(5105); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - CollectionsMarshal.AsSpan(list42)[0] = "liza"; - questRoot6.Author = list42; - num = 4; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - Span span19 = CollectionsMarshal.AsSpan(list43); - ref QuestSequence reference32 = ref span19[0]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051055u, new Vector3(563.5918f, -144.04688f, 702.26587f), 1189); - obj28.Steps = list44; - reference32 = obj28; - ref QuestSequence reference33 = ref span19[1]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - Span span20 = CollectionsMarshal.AsSpan(list45); - span20[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-45.87303f, -174.86252f, 649.25995f), 1189) - { - Fly = true - }; - ref QuestStep reference34 = ref span20[1]; - QuestStep obj30 = new QuestStep(EInteractionType.Interact, 1051056u, new Vector3(-49.149292f, -174.58734f, 651.4839f), 1189) - { - StopDistance = 5f, - DisableNavmesh = true - }; - num3 = 6; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - Span span21 = CollectionsMarshal.AsSpan(list46); - span21[0] = null; - span21[1] = null; - span21[2] = null; - span21[3] = null; - span21[4] = null; - span21[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj30.CompletionQuestVariablesFlags = list46; - reference34 = obj30; - obj29.Steps = list45; - reference33 = obj29; - ref QuestSequence reference35 = ref span19[2]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Say, 1051056u, new Vector3(-49.149292f, -174.58734f, 651.4839f), 1189) - { - StopDistance = 5f, - ChatMessage = new ChatMessage - { - Key = "TEXT_KINGZD106_05105_SAYTODO_000_011" - } - }; - obj31.Steps = list47; - reference35 = obj31; - ref QuestSequence reference36 = ref span19[3]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051055u, new Vector3(563.5918f, -144.04688f, 702.26587f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook - }; - obj32.Steps = list48; - reference36 = obj32; - questRoot6.QuestSequence = list43; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(5106); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list49 = new List(num); - CollectionsMarshal.SetCount(list49, num); - CollectionsMarshal.AsSpan(list49)[0] = "liza"; - questRoot7.Author = list49; - num = 3; - List list50 = new List(num); - CollectionsMarshal.SetCount(list50, num); - Span span22 = CollectionsMarshal.AsSpan(list50); - ref QuestSequence reference37 = ref span22[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048991u, new Vector3(211.10852f, -160.27475f, 432.4253f), 1189); - obj33.Steps = list51; - reference37 = obj33; - ref QuestSequence reference38 = ref span22[1]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - Span span23 = CollectionsMarshal.AsSpan(list52); - span23[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(178.30347f, -195.42366f, 241.28633f), 1189) - { - Fly = true - }; - ref QuestStep reference39 = ref span23[1]; - QuestStep obj35 = new QuestStep(EInteractionType.UseItem, 2014260u, new Vector3(177.44714f, -194.11005f, 239.61243f), 1189) - { - ItemId = 2003667u - }; - num3 = 6; - List list53 = new List(num3); - CollectionsMarshal.SetCount(list53, num3); - Span span24 = CollectionsMarshal.AsSpan(list53); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj35.CompletionQuestVariablesFlags = list53; - reference39 = obj35; - ref QuestStep reference40 = ref span23[2]; - QuestStep obj36 = new QuestStep(EInteractionType.UseItem, 2014261u, new Vector3(164.47693f, -194.2627f, 237.50659f), 1189) - { - ItemId = 2003667u - }; - num3 = 6; - List list54 = new List(num3); - CollectionsMarshal.SetCount(list54, num3); - Span span25 = CollectionsMarshal.AsSpan(list54); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj36.CompletionQuestVariablesFlags = list54; - reference40 = obj36; - obj34.Steps = list52; - reference38 = obj34; - ref QuestSequence reference41 = ref span22[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048991u, new Vector3(211.10852f, -160.27475f, 432.4253f), 1189) - { - Fly = true - }; - obj37.Steps = list55; - reference41 = obj37; - questRoot7.QuestSequence = list50; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(5107); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - CollectionsMarshal.AsSpan(list56)[0] = "liza"; - questRoot8.Author = list56; - num = 3; - List list57 = new List(num); - CollectionsMarshal.SetCount(list57, num); - Span span26 = CollectionsMarshal.AsSpan(list57); - ref QuestSequence reference42 = ref span26[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048998u, new Vector3(220.29443f, -156.80957f, 457.02295f), 1189); - obj38.Steps = list58; - reference42 = obj38; - ref QuestSequence reference43 = ref span26[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - Span span27 = CollectionsMarshal.AsSpan(list59); - ref QuestStep reference44 = ref span27[0]; - QuestStep obj40 = new QuestStep(EInteractionType.Interact, 1051408u, new Vector3(631.2809f, -137.12654f, 509.6665f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook - }; - num3 = 6; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - Span span28 = CollectionsMarshal.AsSpan(list60); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj40.CompletionQuestVariablesFlags = list60; - reference44 = obj40; - ref QuestStep reference45 = ref span27[1]; - QuestStep obj41 = new QuestStep(EInteractionType.Interact, 1048974u, new Vector3(621.51514f, -135.12726f, 531.1207f), 1189) - { - Fly = true - }; - num3 = 6; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - Span span29 = CollectionsMarshal.AsSpan(list61); - span29[0] = null; - span29[1] = null; - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj41.CompletionQuestVariablesFlags = list61; - reference45 = obj41; - ref QuestStep reference46 = ref span27[2]; - QuestStep obj42 = new QuestStep(EInteractionType.Interact, 1048989u, new Vector3(523.4302f, -135.12724f, 578.14905f), 1189) - { - Fly = true - }; - num3 = 6; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - Span span30 = CollectionsMarshal.AsSpan(list62); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj42.CompletionQuestVariablesFlags = list62; - reference46 = obj42; - obj39.Steps = list59; - reference43 = obj39; - ref QuestSequence reference47 = ref span26[2]; - QuestSequence obj43 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - ref QuestStep reference48 = ref CollectionsMarshal.AsSpan(list63)[0]; - QuestStep obj44 = new QuestStep(EInteractionType.CompleteQuest, 1048998u, new Vector3(220.29443f, -156.80957f, 457.02295f), 1189) - { - Fly = true - }; - num3 = 1; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - CollectionsMarshal.AsSpan(list64)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZD108_05107_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGZD108_05107_A1_000_001") - }; - obj44.DialogueChoices = list64; - reference48 = obj44; - obj43.Steps = list63; - reference47 = obj43; - questRoot8.QuestSequence = list57; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(5108); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - CollectionsMarshal.AsSpan(list65)[0] = "liza"; - questRoot9.Author = list65; - num = 3; - List list66 = new List(num); - CollectionsMarshal.SetCount(list66, num); - Span span31 = CollectionsMarshal.AsSpan(list66); - ref QuestSequence reference49 = ref span31[0]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051067u, new Vector3(-372.70166f, -162.24626f, 546.25757f), 1189) - { - Fly = true - }; - obj45.Steps = list67; - reference49 = obj45; - ref QuestSequence reference50 = ref span31[1]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - ref QuestStep reference51 = ref CollectionsMarshal.AsSpan(list68)[0]; - QuestStep obj47 = new QuestStep(EInteractionType.Combat, 2014262u, new Vector3(-443.83917f, -158.1903f, 343.34326f), 1189) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 3; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - Span span32 = CollectionsMarshal.AsSpan(list69); - span32[0] = 17743u; - span32[1] = 17744u; - span32[2] = 17745u; - obj47.KillEnemyDataIds = list69; - reference51 = obj47; - obj46.Steps = list68; - reference50 = obj46; - ref QuestSequence reference52 = ref span31[2]; - QuestSequence obj48 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051067u, new Vector3(-372.70166f, -162.24626f, 546.25757f), 1189) - { - Fly = true - }; - obj48.Steps = list70; - reference52 = obj48; - questRoot9.QuestSequence = list66; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(5109); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - CollectionsMarshal.AsSpan(list71)[0] = "liza"; - questRoot10.Author = list71; - num = 5; - List list72 = new List(num); - CollectionsMarshal.SetCount(list72, num); - Span span33 = CollectionsMarshal.AsSpan(list72); - ref QuestSequence reference53 = ref span33[0]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048997u, new Vector3(-363.9124f, -162.23582f, 550.01135f), 1189) - { - Fly = true - }; - obj49.Steps = list73; - reference53 = obj49; - ref QuestSequence reference54 = ref span33[1]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.Interact, 1051387u, new Vector3(-383.4745f, -166.23917f, 662.95874f), 1189) - { - Fly = true - }; - obj50.Steps = list74; - reference54 = obj50; - ref QuestSequence reference55 = ref span33[2]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - ref QuestStep reference56 = ref CollectionsMarshal.AsSpan(list75)[0]; - QuestStep obj52 = new QuestStep(EInteractionType.Instruction, null, new Vector3(-433.617f, -156.24463f, 776.9229f), 1189) - { - Fly = true, - Comment = "TODO Needs item use; manual for now (also unsure on health percent)", - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - CollectionsMarshal.AsSpan(list76)[0] = new ComplexCombatData - { - DataId = 17267u, - MinimumKillCount = 2u, - RewardItemId = 2003670u, - RewardItemCount = 2 - }; - obj52.ComplexCombatData = list76; - reference56 = obj52; - obj51.Steps = list75; - reference55 = obj51; - ref QuestSequence reference57 = ref span33[3]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Interact, 1051387u, new Vector3(-383.4745f, -166.23917f, 662.95874f), 1189) - { - Fly = true - }; - obj53.Steps = list77; - reference57 = obj53; - ref QuestSequence reference58 = ref span33[4]; - QuestSequence obj54 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048997u, new Vector3(-363.9124f, -162.23582f, 550.01135f), 1189) - { - Fly = true - }; - obj54.Steps = list78; - reference58 = obj54; - questRoot10.QuestSequence = list72; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(5110); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - CollectionsMarshal.AsSpan(list79)[0] = "liza"; - questRoot11.Author = list79; - num = 4; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - Span span34 = CollectionsMarshal.AsSpan(list80); - ref QuestSequence reference59 = ref span34[0]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - ref QuestStep reference60 = ref CollectionsMarshal.AsSpan(list81)[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.AcceptQuest, 1050872u, new Vector3(-408.71295f, 20.420113f, -398.8861f), 1189); - num3 = 1; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - CollectionsMarshal.AsSpan(list82)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZD201_05110_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGZD201_05110_A1_000_001") - }; - questStep5.DialogueChoices = list82; - reference60 = questStep5; - obj55.Steps = list81; - reference59 = obj55; - ref QuestSequence reference61 = ref span34[1]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.Interact, 1050873u, new Vector3(-455.10034f, 17.027555f, -478.8739f), 1189); - obj56.Steps = list83; - reference61 = obj56; - ref QuestSequence reference62 = ref span34[2]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - ref QuestStep reference63 = ref CollectionsMarshal.AsSpan(list84)[0]; - QuestStep obj58 = new QuestStep(EInteractionType.Combat, 2014142u, new Vector3(-372.45752f, 19.33313f, -694.45337f), 1189) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - CollectionsMarshal.AsSpan(list85)[0] = 17668u; - obj58.KillEnemyDataIds = list85; - reference63 = obj58; - obj57.Steps = list84; - reference62 = obj57; - ref QuestSequence reference64 = ref span34[3]; - QuestSequence obj59 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - Span span35 = CollectionsMarshal.AsSpan(list86); - span35[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013947u, new Vector3(-184.74103f, 22.934265f, -751.6747f), 1189) - { - AetherCurrentId = 2818439u - }; - span35[1] = new QuestStep(EInteractionType.CompleteQuest, 1050873u, new Vector3(-455.10034f, 17.027555f, -478.8739f), 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelIqBraax - }; - obj59.Steps = list86; - reference64 = obj59; - questRoot11.QuestSequence = list80; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(5111); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - CollectionsMarshal.AsSpan(list87)[0] = "liza"; - questRoot12.Author = list87; - num = 4; - List list88 = new List(num); - CollectionsMarshal.SetCount(list88, num); - Span span36 = CollectionsMarshal.AsSpan(list88); - ref QuestSequence reference65 = ref span36[0]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050873u, new Vector3(-455.10034f, 17.027555f, -478.8739f), 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelIqBraax, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-455.10034f, 17.027555f, -478.8739f), - MaximumDistance = 250f, - TerritoryId = 1189 - } - } - } - }; - obj60.Steps = list89; - reference65 = obj60; - ref QuestSequence reference66 = ref span36[1]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.Interact, 1050874u, new Vector3(-508.87314f, 29.61908f, -350.1183f), 1189) - { - Fly = true - }; - obj61.Steps = list90; - reference66 = obj61; - ref QuestSequence reference67 = ref span36[2]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - Span span37 = CollectionsMarshal.AsSpan(list91); - ref QuestStep reference68 = ref span37[0]; - QuestStep obj63 = new QuestStep(EInteractionType.Interact, 1050876u, new Vector3(-455.92438f, 30.374397f, -423.148f), 1189) - { - Fly = true - }; - num3 = 6; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - Span span38 = CollectionsMarshal.AsSpan(list92); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj63.CompletionQuestVariablesFlags = list92; - reference68 = obj63; - ref QuestStep reference69 = ref span37[1]; - QuestStep obj64 = new QuestStep(EInteractionType.Interact, 1050875u, new Vector3(-391.01245f, 28.068893f, -365.0111f), 1189) - { - Fly = true - }; - num3 = 6; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - Span span39 = CollectionsMarshal.AsSpan(list93); - span39[0] = null; - span39[1] = null; - span39[2] = null; - span39[3] = null; - span39[4] = null; - span39[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj64.CompletionQuestVariablesFlags = list93; - reference69 = obj64; - obj62.Steps = list91; - reference67 = obj62; - ref QuestSequence reference70 = ref span36[3]; - QuestSequence obj65 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050874u, new Vector3(-508.87314f, 29.61908f, -350.1183f), 1189) - { - Fly = true, - NextQuestId = new QuestId(5112) - }; - obj65.Steps = list94; - reference70 = obj65; - questRoot12.QuestSequence = list88; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(5112); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list95 = new List(num); - CollectionsMarshal.SetCount(list95, num); - CollectionsMarshal.AsSpan(list95)[0] = "liza"; - questRoot13.Author = list95; - num = 4; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - Span span40 = CollectionsMarshal.AsSpan(list96); - ref QuestSequence reference71 = ref span40[0]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - ref QuestStep reference72 = ref CollectionsMarshal.AsSpan(list97)[0]; - QuestStep obj67 = new QuestStep(EInteractionType.AcceptQuest, 1050874u, new Vector3(-508.87314f, 29.61908f, -350.1183f), 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelIqBraax, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-508.87314f, 29.61908f, -350.1183f), - MaximumDistance = 250f, - TerritoryId = 1189 - } - } - } - }; - num3 = 1; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - CollectionsMarshal.AsSpan(list98)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZD203_05112_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGZD203_05112_A1_000_001") - }; - obj67.DialogueChoices = list98; - reference72 = obj67; - obj66.Steps = list97; - reference71 = obj66; - ref QuestSequence reference73 = ref span40[1]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 1050877u, new Vector3(-39.871887f, 0.35915944f, -312.1233f), 1189) - { - StopDistance = 1f, - Fly = true - }; - obj68.Steps = list99; - reference73 = obj68; - ref QuestSequence reference74 = ref span40[2]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.Interact, 2014144u, new Vector3(-43.10681f, 0.503479f, -312.36743f), 1189); - obj69.Steps = list100; - reference74 = obj69; - ref QuestSequence reference75 = ref span40[3]; - QuestSequence obj70 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050878u, new Vector3(475.30322f, 18.197147f, -326.95508f), 1189) - { - Fly = true, - NextQuestId = new QuestId(5113) - }; - obj70.Steps = list101; - reference75 = obj70; - questRoot13.QuestSequence = list96; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(5113); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - CollectionsMarshal.AsSpan(list102)[0] = "liza"; - questRoot14.Author = list102; - num = 5; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - Span span41 = CollectionsMarshal.AsSpan(list103); - ref QuestSequence reference76 = ref span41[0]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050878u, new Vector3(475.30322f, 18.197147f, -326.95508f), 1189); - obj71.Steps = list104; - reference76 = obj71; - ref QuestSequence reference77 = ref span41[1]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 1050879u, new Vector3(595.7274f, 18.8562f, -85.55737f), 1189) - { - Fly = true - }; - obj72.Steps = list105; - reference77 = obj72; - ref QuestSequence reference78 = ref span41[2]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - ref QuestStep reference79 = ref CollectionsMarshal.AsSpan(list106)[0]; - QuestStep obj74 = new QuestStep(EInteractionType.Combat, null, new Vector3(705.4334f, 28.302685f, 2.3153868f), 1189) - { - StopDistance = 1f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - Span span42 = CollectionsMarshal.AsSpan(list107); - span42[0] = 17671u; - span42[1] = 17672u; - obj74.KillEnemyDataIds = list107; - reference79 = obj74; - obj73.Steps = list106; - reference78 = obj73; - ref QuestSequence reference80 = ref span41[3]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.Interact, 1050881u, new Vector3(595.6052f, 18.84498f, -85.55737f), 1189) - { - Fly = true - }; - obj75.Steps = list108; - reference80 = obj75; - ref QuestSequence reference81 = ref span41[4]; - QuestSequence obj76 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050882u, new Vector3(-408.31616f, 20.383144f, -399.28284f), 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelIqBraax - }; - obj76.Steps = list109; - reference81 = obj76; - questRoot14.QuestSequence = list103; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(5114); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list110 = new List(num); - CollectionsMarshal.SetCount(list110, num); - CollectionsMarshal.AsSpan(list110)[0] = "liza"; - questRoot15.Author = list110; - num = 4; - List list111 = new List(num); - CollectionsMarshal.SetCount(list111, num); - Span span43 = CollectionsMarshal.AsSpan(list111); - ref QuestSequence reference82 = ref span43[0]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050884u, new Vector3(531.0597f, -142.49185f, 492.0271f), 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(531.0597f, -142.49185f, 492.0271f), - MaximumDistance = 250f, - TerritoryId = 1189 - } - } - } - }; - obj77.Steps = list112; - reference82 = obj77; - ref QuestSequence reference83 = ref span43[1]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - ref QuestStep reference84 = ref CollectionsMarshal.AsSpan(list113)[0]; - QuestStep obj79 = new QuestStep(EInteractionType.Combat, null, new Vector3(343.74197f, -154.60175f, 328.8051f), 1189) - { - StopDistance = 0.25f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - CollectionsMarshal.AsSpan(list114)[0] = 17673u; - obj79.KillEnemyDataIds = list114; - reference84 = obj79; - obj78.Steps = list113; - reference83 = obj78; - ref QuestSequence reference85 = ref span43[2]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.Interact, 1050885u, new Vector3(338.49072f, -155.05281f, 322.80444f), 1189) - { - StopDistance = 7f - }; - obj80.Steps = list115; - reference85 = obj80; - ref QuestSequence reference86 = ref span43[3]; - QuestSequence obj81 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050888u, new Vector3(515.58704f, -146.73436f, 477.0122f), 1189); - obj81.Steps = list116; - reference86 = obj81; - questRoot15.QuestSequence = list111; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(5115); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - CollectionsMarshal.AsSpan(list117)[0] = "liza"; - questRoot16.Author = list117; - num = 4; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - Span span44 = CollectionsMarshal.AsSpan(list118); - ref QuestSequence reference87 = ref span44[0]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050888u, new Vector3(515.58704f, -146.73436f, 477.0122f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(515.58704f, -146.73436f, 477.0122f), - MaximumDistance = 250f, - TerritoryId = 1189 - } - } - } - }; - obj82.Steps = list119; - reference87 = obj82; - ref QuestSequence reference88 = ref span44[1]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - Span span45 = CollectionsMarshal.AsSpan(list120); - ref QuestStep reference89 = ref span45[0]; - QuestStep obj84 = new QuestStep(EInteractionType.Combat, 2014147u, new Vector3(440.66528f, -150.77448f, 427.7256f), 1189) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - CollectionsMarshal.AsSpan(list121)[0] = 17674u; - obj84.KillEnemyDataIds = list121; - num3 = 6; - List list122 = new List(num3); - CollectionsMarshal.SetCount(list122, num3); - Span span46 = CollectionsMarshal.AsSpan(list122); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj84.CompletionQuestVariablesFlags = list122; - reference89 = obj84; - ref QuestStep reference90 = ref span45[1]; - QuestStep obj85 = new QuestStep(EInteractionType.Combat, 2014148u, new Vector3(395.4679f, -152.42242f, 372.7931f), 1189) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - CollectionsMarshal.AsSpan(list123)[0] = 17674u; - obj85.KillEnemyDataIds = list123; - num3 = 6; - List list124 = new List(num3); - CollectionsMarshal.SetCount(list124, num3); - Span span47 = CollectionsMarshal.AsSpan(list124); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj85.CompletionQuestVariablesFlags = list124; - reference90 = obj85; - ref QuestStep reference91 = ref span45[2]; - QuestStep obj86 = new QuestStep(EInteractionType.Interact, 2014149u, new Vector3(267.9026f, -160.05188f, 354.45166f), 1189) - { - Fly = true - }; - num3 = 6; - List list125 = new List(num3); - CollectionsMarshal.SetCount(list125, num3); - Span span48 = CollectionsMarshal.AsSpan(list125); - span48[0] = null; - span48[1] = null; - span48[2] = null; - span48[3] = null; - span48[4] = null; - span48[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj86.CompletionQuestVariablesFlags = list125; - reference91 = obj86; - obj83.Steps = list120; - reference88 = obj83; - ref QuestSequence reference92 = ref span44[2]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.Interact, 2014150u, new Vector3(236.95728f, -167.52887f, 307.97278f), 1189) - { - Fly = true - }; - obj87.Steps = list126; - reference92 = obj87; - ref QuestSequence reference93 = ref span44[3]; - QuestSequence obj88 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050890u, new Vector3(661.7991f, -137.174f, 557.76294f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - NextQuestId = new QuestId(5116) - }; - obj88.Steps = list127; - reference93 = obj88; - questRoot16.QuestSequence = list118; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(5116); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list128 = new List(num); - CollectionsMarshal.SetCount(list128, num); - CollectionsMarshal.AsSpan(list128)[0] = "liza"; - questRoot17.Author = list128; - num = 4; - List list129 = new List(num); - CollectionsMarshal.SetCount(list129, num); - Span span49 = CollectionsMarshal.AsSpan(list129); - ref QuestSequence reference94 = ref span49[0]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - CollectionsMarshal.AsSpan(list130)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050891u, new Vector3(662.8672f, -137.17401f, 556.115f), 1189); - obj89.Steps = list130; - reference94 = obj89; - ref QuestSequence reference95 = ref span49[1]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.Interact, 1048985u, new Vector3(583.33704f, -143.60632f, 703.7612f), 1189) - { - Fly = true - }; - obj90.Steps = list131; - reference95 = obj90; - ref QuestSequence reference96 = ref span49[2]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - Span span50 = CollectionsMarshal.AsSpan(list132); - span50[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-61.729744f, -212.69492f, 523.0088f), 1189) - { - Fly = true - }; - span50[1] = new QuestStep(EInteractionType.Interact, 2014151u, new Vector3(-60.95984f, -210.83392f, 522.02637f), 1189); - obj91.Steps = list132; - reference96 = obj91; - ref QuestSequence reference97 = ref span49[3]; - QuestSequence obj92 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050891u, new Vector3(662.8672f, -137.17401f, 556.115f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - NextQuestId = new QuestId(5117) - }; - obj92.Steps = list133; - reference97 = obj92; - questRoot17.QuestSequence = list129; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(5117); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list134 = new List(num); - CollectionsMarshal.SetCount(list134, num); - CollectionsMarshal.AsSpan(list134)[0] = "liza"; - questRoot18.Author = list134; - num = 3; - List list135 = new List(num); - CollectionsMarshal.SetCount(list135, num); - Span span51 = CollectionsMarshal.AsSpan(list135); - ref QuestSequence reference98 = ref span51[0]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050891u, new Vector3(662.8672f, -137.17401f, 556.115f), 1189); - obj93.Steps = list136; - reference98 = obj93; - ref QuestSequence reference99 = ref span51[1]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - Span span52 = CollectionsMarshal.AsSpan(list137); - ref QuestStep reference100 = ref span52[0]; - QuestStep obj95 = new QuestStep(EInteractionType.UseItem, 2014153u, new Vector3(500.5111f, -150.04199f, 704.12744f), 1189) - { - Fly = true, - ItemId = 2003624u, - GroundTarget = true - }; - num3 = 6; - List list138 = new List(num3); - CollectionsMarshal.SetCount(list138, num3); - Span span53 = CollectionsMarshal.AsSpan(list138); - span53[0] = null; - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj95.CompletionQuestVariablesFlags = list138; - reference100 = obj95; - ref QuestStep reference101 = ref span52[1]; - QuestStep obj96 = new QuestStep(EInteractionType.UseItem, 2014152u, new Vector3(486.90015f, -150.04199f, 355.8556f), 1189) - { - Fly = true, - ItemId = 2003624u, - GroundTarget = true - }; - num3 = 6; - List list139 = new List(num3); - CollectionsMarshal.SetCount(list139, num3); - Span span54 = CollectionsMarshal.AsSpan(list139); - span54[0] = null; - span54[1] = null; - span54[2] = null; - span54[3] = null; - span54[4] = null; - span54[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj96.CompletionQuestVariablesFlags = list139; - reference101 = obj96; - obj94.Steps = list137; - reference99 = obj94; - ref QuestSequence reference102 = ref span51[2]; - QuestSequence obj97 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050891u, new Vector3(662.8672f, -137.17401f, 556.115f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - NextQuestId = new QuestId(5118) - }; - obj97.Steps = list140; - reference102 = obj97; - questRoot18.QuestSequence = list135; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(5118); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list141 = new List(num); - CollectionsMarshal.SetCount(list141, num); - CollectionsMarshal.AsSpan(list141)[0] = "liza"; - questRoot19.Author = list141; - num = 11; - List list142 = new List(num); - CollectionsMarshal.SetCount(list142, num); - Span span55 = CollectionsMarshal.AsSpan(list142); - ref QuestSequence reference103 = ref span55[0]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050891u, new Vector3(662.8672f, -137.17401f, 556.115f), 1189); - obj98.Steps = list143; - reference103 = obj98; - ref QuestSequence reference104 = ref span55[1]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - ref QuestStep reference105 = ref CollectionsMarshal.AsSpan(list144)[0]; - QuestStep obj100 = new QuestStep(EInteractionType.Interact, 1050897u, new Vector3(755.94714f, -132.59648f, 505.94324f), 1189) - { - Fly = true - }; - num3 = 1; - List list145 = new List(num3); - CollectionsMarshal.SetCount(list145, num3); - CollectionsMarshal.AsSpan(list145)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZD401_05118_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGZD401_05118_A1_000_001") - }; - obj100.DialogueChoices = list145; - reference105 = obj100; - obj99.Steps = list144; - reference104 = obj99; - ref QuestSequence reference106 = ref span55[2]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.Interact, 1050891u, new Vector3(662.8672f, -137.17401f, 556.115f), 1189) - { - Fly = true - }; - obj101.Steps = list146; - reference106 = obj101; - ref QuestSequence reference107 = ref span55[3]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - Span span56 = CollectionsMarshal.AsSpan(list147); - ref QuestStep reference108 = ref span56[0]; - QuestStep obj103 = new QuestStep(EInteractionType.Interact, 1050901u, new Vector3(627.25244f, -137.174f, 591.8517f), 1189) - { - Fly = true - }; - num3 = 6; - List list148 = new List(num3); - CollectionsMarshal.SetCount(list148, num3); - Span span57 = CollectionsMarshal.AsSpan(list148); - span57[0] = null; - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj103.CompletionQuestVariablesFlags = list148; - reference108 = obj103; - ref QuestStep reference109 = ref span56[1]; - QuestStep obj104 = new QuestStep(EInteractionType.Interact, 1050900u, new Vector3(575.55493f, -137.174f, 540.0929f), 1189) - { - Fly = true - }; - num3 = 6; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - Span span58 = CollectionsMarshal.AsSpan(list149); - span58[0] = null; - span58[1] = null; - span58[2] = null; - span58[3] = null; - span58[4] = null; - span58[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj104.CompletionQuestVariablesFlags = list149; - reference109 = obj104; - obj102.Steps = list147; - reference107 = obj102; - ref QuestSequence reference110 = ref span55[4]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.Interact, 1048989u, new Vector3(523.4302f, -135.12724f, 578.14905f), 1189); - obj105.Steps = list150; - reference110 = obj105; - ref QuestSequence reference111 = ref span55[5]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.Interact, 1050891u, new Vector3(662.8672f, -137.17401f, 556.115f), 1189) - { - Fly = true - }; - obj106.Steps = list151; - reference111 = obj106; - ref QuestSequence reference112 = ref span55[6]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - CollectionsMarshal.AsSpan(list152)[0] = new QuestStep(EInteractionType.Interact, 1050904u, new Vector3(263.84375f, -157.31726f, 738.6129f), 1189) - { - Fly = true - }; - obj107.Steps = list152; - reference112 = obj107; - ref QuestSequence reference113 = ref span55[7]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.UseItem, 2014154u, new Vector3(255.9701f, -150.68292f, 807.64465f), 1189) - { - Fly = true, - ItemId = 2003625u - }; - obj108.Steps = list153; - reference113 = obj108; - ref QuestSequence reference114 = ref span55[8]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - ref QuestStep reference115 = ref CollectionsMarshal.AsSpan(list154)[0]; - QuestStep obj110 = new QuestStep(EInteractionType.Combat, 2014248u, new Vector3(255.9701f, -150.68292f, 807.64465f), 1189) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - CollectionsMarshal.AsSpan(list155)[0] = 17675u; - obj110.KillEnemyDataIds = list155; - reference115 = obj110; - obj109.Steps = list154; - reference114 = obj109; - ref QuestSequence reference116 = ref span55[9]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.Interact, 1050904u, new Vector3(263.84375f, -157.31726f, 738.6129f), 1189) - { - Fly = true - }; - obj111.Steps = list156; - reference116 = obj111; - ref QuestSequence reference117 = ref span55[10]; - QuestSequence obj112 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050903u, new Vector3(663.9962f, -137.17401f, 554.589f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook - }; - obj112.Steps = list157; - reference117 = obj112; - questRoot19.QuestSequence = list142; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(5119); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list158 = new List(num); - CollectionsMarshal.SetCount(list158, num); - CollectionsMarshal.AsSpan(list158)[0] = "liza"; - questRoot20.Author = list158; - num = 5; - List list159 = new List(num); - CollectionsMarshal.SetCount(list159, num); - Span span59 = CollectionsMarshal.AsSpan(list159); - ref QuestSequence reference118 = ref span59[0]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049284u, new Vector3(378.43884f, -0.2627956f, 425.55872f), 1190); - obj113.Steps = list160; - reference118 = obj113; - ref QuestSequence reference119 = ref span59[1]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.Interact, 1050706u, new Vector3(248.27954f, 15.999974f, 746.4866f), 1190) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalXakTuralSkygate - } - }; - obj114.Steps = list161; - reference119 = obj114; - ref QuestSequence reference120 = ref span59[2]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.Interact, 2014065u, new Vector3(250.04956f, 16.281311f, 744.3502f), 1190) - { - StopDistance = 4f - }; - obj115.Steps = list162; - reference120 = obj115; - ref QuestSequence reference121 = ref span59[3]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.Interact, 2014073u, new Vector3(379.65967f, 0.19836426f, 419.6383f), 1190); - obj116.Steps = list163; - reference121 = obj116; - ref QuestSequence reference122 = ref span59[4]; - QuestSequence obj117 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list164 = new List(num2); - CollectionsMarshal.SetCount(list164, num2); - CollectionsMarshal.AsSpan(list164)[0] = new QuestStep(EInteractionType.CompleteQuest, 1049284u, new Vector3(378.43884f, -0.2627956f, 425.55872f), 1190); - obj117.Steps = list164; - reference122 = obj117; - questRoot20.QuestSequence = list159; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(5120); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list165 = new List(num); - CollectionsMarshal.SetCount(list165, num); - CollectionsMarshal.AsSpan(list165)[0] = "liza"; - questRoot21.Author = list165; - num = 4; - List list166 = new List(num); - CollectionsMarshal.SetCount(list166, num); - Span span60 = CollectionsMarshal.AsSpan(list166); - ref QuestSequence reference123 = ref span60[0]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049285u, new Vector3(372.70154f, -0.26279598f, 425.55872f), 1190); - obj118.Steps = list167; - reference123 = obj118; - ref QuestSequence reference124 = ref span60[1]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.Interact, 2014074u, new Vector3(323.44543f, -0.6867676f, 488.2428f), 1190); - obj119.Steps = list168; - reference124 = obj119; - ref QuestSequence reference125 = ref span60[2]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - Span span61 = CollectionsMarshal.AsSpan(list169); - ref QuestStep reference126 = ref span61[0]; - QuestStep obj121 = new QuestStep(EInteractionType.UseItem, 1050639u, new Vector3(377.92017f, -0.2627951f, 432.48633f), 1190) - { - ItemId = 2003580u - }; - num3 = 6; - List list170 = new List(num3); - CollectionsMarshal.SetCount(list170, num3); - Span span62 = CollectionsMarshal.AsSpan(list170); - span62[0] = null; - span62[1] = null; - span62[2] = null; - span62[3] = null; - span62[4] = null; - span62[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj121.CompletionQuestVariablesFlags = list170; - reference126 = obj121; - ref QuestStep reference127 = ref span61[1]; - QuestStep obj122 = new QuestStep(EInteractionType.UseItem, 1050638u, new Vector3(368.42908f, -0.26279587f, 419.69934f), 1190) - { - ItemId = 2003580u - }; - num3 = 6; - List list171 = new List(num3); - CollectionsMarshal.SetCount(list171, num3); - Span span63 = CollectionsMarshal.AsSpan(list171); - span63[0] = null; - span63[1] = null; - span63[2] = null; - span63[3] = null; - span63[4] = null; - span63[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj122.CompletionQuestVariablesFlags = list171; - reference127 = obj122; - span61[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(359.11545f, 1.9823306f, 419.5714f), 1190); - span61[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(369.3906f, 5.9371996f, 417.16574f), 1190) - { - DisableNavmesh = true - }; - ref QuestStep reference128 = ref span61[4]; - QuestStep obj123 = new QuestStep(EInteractionType.UseItem, 1050640u, new Vector3(377.03516f, 6.07724f, 423.02576f), 1190) - { - ItemId = 2003580u - }; - num3 = 6; - List list172 = new List(num3); - CollectionsMarshal.SetCount(list172, num3); - Span span64 = CollectionsMarshal.AsSpan(list172); - span64[0] = null; - span64[1] = null; - span64[2] = null; - span64[3] = null; - span64[4] = null; - span64[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj123.CompletionQuestVariablesFlags = list172; - reference128 = obj123; - obj120.Steps = list169; - reference125 = obj120; - ref QuestSequence reference129 = ref span60[3]; - QuestSequence obj124 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - Span span65 = CollectionsMarshal.AsSpan(list173); - span65[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(369.3906f, 5.9371996f, 417.16574f), 1190); - span65[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(359.11545f, 1.9823306f, 419.5714f), 1190) - { - DisableNavmesh = true - }; - span65[2] = new QuestStep(EInteractionType.CompleteQuest, 1049285u, new Vector3(372.70154f, -0.26279598f, 425.55872f), 1190); - obj124.Steps = list173; - reference129 = obj124; - questRoot21.QuestSequence = list166; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(5121); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list174 = new List(num); - CollectionsMarshal.SetCount(list174, num); - CollectionsMarshal.AsSpan(list174)[0] = "liza"; - questRoot22.Author = list174; - num = 3; - List list175 = new List(num); - CollectionsMarshal.SetCount(list175, num); - Span span66 = CollectionsMarshal.AsSpan(list175); - ref QuestSequence reference130 = ref span66[0]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - CollectionsMarshal.AsSpan(list176)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049289u, new Vector3(347.37158f, -0.8616793f, 503.04407f), 1190); - obj125.Steps = list176; - reference130 = obj125; - ref QuestSequence reference131 = ref span66[1]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - Span span67 = CollectionsMarshal.AsSpan(list177); - ref QuestStep reference132 = ref span67[0]; - QuestStep obj127 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(363.75098f, -0.25793338f, 435.93985f), 1190) - { - Fly = true - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 6; - List list178 = new List(num3); - CollectionsMarshal.SetCount(list178, num3); - Span span68 = CollectionsMarshal.AsSpan(list178); - span68[0] = null; - span68[1] = null; - span68[2] = null; - span68[3] = null; - span68[4] = null; - span68[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions5.CompletionQuestVariablesFlags = list178; - skipConditions5.StepIf = skipStepConditions5; - obj127.SkipConditions = skipConditions5; - reference132 = obj127; - ref QuestStep reference133 = ref span67[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1049284u, new Vector3(378.43884f, -0.2627956f, 425.55872f), 1190); - num3 = 6; - List list179 = new List(num3); - CollectionsMarshal.SetCount(list179, num3); - Span span69 = CollectionsMarshal.AsSpan(list179); - span69[0] = null; - span69[1] = null; - span69[2] = null; - span69[3] = null; - span69[4] = null; - span69[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list179; - reference133 = questStep6; - ref QuestStep reference134 = ref span67[2]; - QuestStep questStep7 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(363.75098f, -0.25793338f, 435.93985f), 1190); - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 6; - List list180 = new List(num3); - CollectionsMarshal.SetCount(list180, num3); - Span span70 = CollectionsMarshal.AsSpan(list180); - span70[0] = null; - span70[1] = null; - span70[2] = null; - span70[3] = null; - span70[4] = null; - span70[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions6.CompletionQuestVariablesFlags = list180; - skipConditions6.StepIf = skipStepConditions6; - questStep7.SkipConditions = skipConditions6; - reference134 = questStep7; - ref QuestStep reference135 = ref span67[3]; - QuestStep obj128 = new QuestStep(EInteractionType.Interact, 1049275u, new Vector3(267.44482f, 10.96981f, 659.4796f), 1190) - { - Fly = true - }; - num3 = 6; - List list181 = new List(num3); - CollectionsMarshal.SetCount(list181, num3); - Span span71 = CollectionsMarshal.AsSpan(list181); - span71[0] = null; - span71[1] = null; - span71[2] = null; - span71[3] = null; - span71[4] = null; - span71[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj128.CompletionQuestVariablesFlags = list181; - reference135 = obj128; - obj126.Steps = list177; - reference131 = obj126; - ref QuestSequence reference136 = ref span66[2]; - QuestSequence obj129 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.CompleteQuest, 1049289u, new Vector3(347.37158f, -0.8616793f, 503.04407f), 1190) - { - Fly = true - }; - obj129.Steps = list182; - reference136 = obj129; - questRoot22.QuestSequence = list175; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(5122); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - CollectionsMarshal.AsSpan(list183)[0] = "liza"; - questRoot23.Author = list183; - num = 4; - List list184 = new List(num); - CollectionsMarshal.SetCount(list184, num); - Span span72 = CollectionsMarshal.AsSpan(list184); - ref QuestSequence reference137 = ref span72[0]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049286u, new Vector3(347.46313f, -2.0447416f, 397.177f), 1190); - obj130.Steps = list185; - reference137 = obj130; - ref QuestSequence reference138 = ref span72[1]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list186 = new List(num2); - CollectionsMarshal.SetCount(list186, num2); - CollectionsMarshal.AsSpan(list186)[0] = new QuestStep(EInteractionType.UseItem, 2014043u, new Vector3(416.3119f, 7.248047f, 217.73096f), 1190) - { - Fly = true, - ItemId = 2003581u - }; - obj131.Steps = list186; - reference138 = obj131; - ref QuestSequence reference139 = ref span72[2]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - ref QuestStep reference140 = ref CollectionsMarshal.AsSpan(list187)[0]; - QuestStep obj133 = new QuestStep(EInteractionType.Combat, 2014044u, new Vector3(415.7931f, 7.4005737f, 229.0531f), 1190) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list188 = new List(num3); - CollectionsMarshal.SetCount(list188, num3); - CollectionsMarshal.AsSpan(list188)[0] = 17733u; - obj133.KillEnemyDataIds = list188; - reference140 = obj133; - obj132.Steps = list187; - reference139 = obj132; - ref QuestSequence reference141 = ref span72[3]; - QuestSequence obj134 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.CompleteQuest, 1049286u, new Vector3(347.46313f, -2.0447416f, 397.177f), 1190) - { - Fly = true - }; - obj134.Steps = list189; - reference141 = obj134; - questRoot23.QuestSequence = list184; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(5123); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list190 = new List(num); - CollectionsMarshal.SetCount(list190, num); - CollectionsMarshal.AsSpan(list190)[0] = "liza"; - questRoot24.Author = list190; - num = 7; - List list191 = new List(num); - CollectionsMarshal.SetCount(list191, num); - Span span73 = CollectionsMarshal.AsSpan(list191); - ref QuestSequence reference142 = ref span73[0]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049287u, new Vector3(342.61072f, -1.0227159f, 482.2307f), 1190); - obj135.Steps = list192; - reference142 = obj135; - ref QuestSequence reference143 = ref span73[1]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.Emote, 1049288u, new Vector3(333.2417f, -1.1408321f, 478.47717f), 1190) - { - Emote = EEmote.Pet - }; - obj136.Steps = list193; - reference143 = obj136; - ref QuestSequence reference144 = ref span73[2]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.Interact, 1049288u, new Vector3(333.2417f, -1.1408321f, 478.47717f), 1190); - obj137.Steps = list194; - reference144 = obj137; - ref QuestSequence reference145 = ref span73[3]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.Interact, 1049287u, new Vector3(342.61072f, -1.0227159f, 482.2307f), 1190); - obj138.Steps = list195; - reference145 = obj138; - ref QuestSequence reference146 = ref span73[4]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.Interact, 2014045u, new Vector3(341.1764f, 0.1373291f, 457.969f), 1190); - obj139.Steps = list196; - reference146 = obj139; - ref QuestSequence reference147 = ref span73[5]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.Interact, 1049288u, new Vector3(333.2417f, -1.1408321f, 478.47717f), 1190); - obj140.Steps = list197; - reference147 = obj140; - ref QuestSequence reference148 = ref span73[6]; - QuestSequence obj141 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list198 = new List(num2); - CollectionsMarshal.SetCount(list198, num2); - CollectionsMarshal.AsSpan(list198)[0] = new QuestStep(EInteractionType.CompleteQuest, 1049287u, new Vector3(342.61072f, -1.0227159f, 482.2307f), 1190); - obj141.Steps = list198; - reference148 = obj141; - questRoot24.QuestSequence = list191; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(5124); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list199 = new List(num); - CollectionsMarshal.SetCount(list199, num); - CollectionsMarshal.AsSpan(list199)[0] = "liza"; - questRoot25.Author = list199; - num = 4; - List list200 = new List(num); - CollectionsMarshal.SetCount(list200, num); - Span span74 = CollectionsMarshal.AsSpan(list200); - ref QuestSequence reference149 = ref span74[0]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049407u, new Vector3(267.01758f, 15.999971f, 770.8705f), 1190); - obj142.Steps = list201; - reference149 = obj142; - ref QuestSequence reference150 = ref span74[1]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.Interact, 1049284u, new Vector3(378.43884f, -0.2627956f, 425.55872f), 1190) - { - AetheryteShortcut = EAetheryteLocation.ShaaloaniHhusatahwi - }; - obj143.Steps = list202; - reference150 = obj143; - ref QuestSequence reference151 = ref span74[2]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - Span span75 = CollectionsMarshal.AsSpan(list203); - span75[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(359.11545f, 1.9823306f, 419.5714f), 1190); - span75[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(369.3906f, 5.9371996f, 417.16574f), 1190) - { - DisableNavmesh = true - }; - ref QuestStep reference152 = ref span75[2]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1050718u, new Vector3(365.5603f, 5.957231f, 424.58215f), 1190); - num3 = 6; - List list204 = new List(num3); - CollectionsMarshal.SetCount(list204, num3); - Span span76 = CollectionsMarshal.AsSpan(list204); - span76[0] = null; - span76[1] = null; - span76[2] = null; - span76[3] = null; - span76[4] = null; - span76[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list204; - reference152 = questStep8; - span75[3] = new QuestStep(EInteractionType.Interact, 1050719u, new Vector3(384.51196f, -1.5122339f, 383.6881f), 1190); - obj144.Steps = list203; - reference151 = obj144; - ref QuestSequence reference153 = ref span74[3]; - QuestSequence obj145 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.CompleteQuest, 1049407u, new Vector3(267.01758f, 15.999971f, 770.8705f), 1190) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalXakTuralSkygate - } - }; - obj145.Steps = list205; - reference153 = obj145; - questRoot25.QuestSequence = list200; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(5125); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list206 = new List(num); - CollectionsMarshal.SetCount(list206, num); - CollectionsMarshal.AsSpan(list206)[0] = "liza"; - questRoot26.Author = list206; - num = 3; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - Span span77 = CollectionsMarshal.AsSpan(list207); - ref QuestSequence reference154 = ref span77[0]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049373u, new Vector3(-375.66187f, 18.211061f, -114.21387f), 1190); - obj146.Steps = list208; - reference154 = obj146; - ref QuestSequence reference155 = ref span77[1]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - ref QuestStep reference156 = ref CollectionsMarshal.AsSpan(list209)[0]; - QuestStep obj148 = new QuestStep(EInteractionType.Combat, 2014075u, new Vector3(-446.06702f, 17.868286f, 34.286987f), 1190) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list210 = new List(num3); - CollectionsMarshal.SetCount(list210, num3); - CollectionsMarshal.AsSpan(list210)[0] = 17734u; - obj148.KillEnemyDataIds = list210; - reference156 = obj148; - obj147.Steps = list209; - reference155 = obj147; - ref QuestSequence reference157 = ref span77[2]; - QuestSequence obj149 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - CollectionsMarshal.AsSpan(list211)[0] = new QuestStep(EInteractionType.CompleteQuest, 1049373u, new Vector3(-375.66187f, 18.211061f, -114.21387f), 1190) - { - Fly = true - }; - obj149.Steps = list211; - reference157 = obj149; - questRoot26.QuestSequence = list207; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(5126); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list212 = new List(num); - CollectionsMarshal.SetCount(list212, num); - CollectionsMarshal.AsSpan(list212)[0] = "liza"; - questRoot27.Author = list212; - num = 3; - List list213 = new List(num); - CollectionsMarshal.SetCount(list213, num); - Span span78 = CollectionsMarshal.AsSpan(list213); - ref QuestSequence reference158 = ref span78[0]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049374u, new Vector3(-345.2049f, 18.198153f, -163.50049f), 1190); - obj150.Steps = list214; - reference158 = obj150; - ref QuestSequence reference159 = ref span78[1]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.Snipe, 2014046u, new Vector3(-344.65558f, 18.051392f, -141.92426f), 1190) - { - Comment = "Click (from left to right) pump, middle of the connecting pipes, barrels" - }; - obj151.Steps = list215; - reference159 = obj151; - ref QuestSequence reference160 = ref span78[2]; - QuestSequence obj152 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - ref QuestStep reference161 = ref CollectionsMarshal.AsSpan(list216)[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.CompleteQuest, 1049374u, new Vector3(-345.2049f, 18.198153f, -163.50049f), 1190); - num3 = 3; - List list217 = new List(num3); - CollectionsMarshal.SetCount(list217, num3); - Span span79 = CollectionsMarshal.AsSpan(list217); - span79[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZE008_05126_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGZE008_05126_A1_000_001") - }; - span79[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZE008_05126_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGZE008_05126_A1_000_002") - }; - span79[2] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZE008_05126_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGZE008_05126_A1_000_003") - }; - questStep9.DialogueChoices = list217; - reference161 = questStep9; - obj152.Steps = list216; - reference160 = obj152; - questRoot27.QuestSequence = list213; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(5127); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - CollectionsMarshal.AsSpan(list218)[0] = "liza"; - questRoot28.Author = list218; - num = 5; - List list219 = new List(num); - CollectionsMarshal.SetCount(list219, num); - Span span80 = CollectionsMarshal.AsSpan(list219); - ref QuestSequence reference162 = ref span80[0]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050641u, new Vector3(-398.6725f, 21.668707f, -168.23071f), 1190); - obj153.Steps = list220; - reference162 = obj153; - ref QuestSequence reference163 = ref span80[1]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.Interact, 1050641u, new Vector3(-398.6725f, 21.668707f, -168.23071f), 1190); - obj154.Steps = list221; - reference163 = obj154; - ref QuestSequence reference164 = ref span80[2]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - CollectionsMarshal.AsSpan(list222)[0] = new QuestStep(EInteractionType.Interact, 1050642u, new Vector3(-290.82172f, 16.40523f, -51.041504f), 1190) - { - Fly = true - }; - obj155.Steps = list222; - reference164 = obj155; - ref QuestSequence reference165 = ref span80[3]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - CollectionsMarshal.AsSpan(list223)[0] = new QuestStep(EInteractionType.Emote, 1050642u, new Vector3(-290.82172f, 16.40523f, -51.041504f), 1190) - { - Emote = EEmote.Dance - }; - obj156.Steps = list223; - reference165 = obj156; - ref QuestSequence reference166 = ref span80[4]; - QuestSequence obj157 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050641u, new Vector3(-398.6725f, 21.668707f, -168.23071f), 1190) - { - Fly = true - }; - obj157.Steps = list224; - reference166 = obj157; - questRoot28.QuestSequence = list219; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(5128); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list225 = new List(num); - CollectionsMarshal.SetCount(list225, num); - CollectionsMarshal.AsSpan(list225)[0] = "liza"; - questRoot29.Author = list225; - num = 4; - List list226 = new List(num); - CollectionsMarshal.SetCount(list226, num); - Span span81 = CollectionsMarshal.AsSpan(list226); - ref QuestSequence reference167 = ref span81[0]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050643u, new Vector3(-250.56848f, 22.956224f, -140.30676f), 1190); - obj158.Steps = list227; - reference167 = obj158; - ref QuestSequence reference168 = ref span81[1]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.Interact, 1050644u, new Vector3(-525.81067f, 29.416107f, -174.09027f), 1190) - { - Fly = true - }; - obj159.Steps = list228; - reference168 = obj159; - ref QuestSequence reference169 = ref span81[2]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.Emote, 2014050u, new Vector3(-527.1229f, 29.526123f, -175.64667f), 1190) - { - StopDistance = 4f, - Emote = EEmote.Respect - }; - obj160.Steps = list229; - reference169 = obj160; - ref QuestSequence reference170 = ref span81[3]; - QuestSequence obj161 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - CollectionsMarshal.AsSpan(list230)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050644u, new Vector3(-525.81067f, 29.416107f, -174.09027f), 1190); - obj161.Steps = list230; - reference170 = obj161; - questRoot29.QuestSequence = list226; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(5129); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list231 = new List(num); - CollectionsMarshal.SetCount(list231, num); - CollectionsMarshal.AsSpan(list231)[0] = "liza"; - questRoot30.Author = list231; - num = 3; - List list232 = new List(num); - CollectionsMarshal.SetCount(list232, num); - Span span82 = CollectionsMarshal.AsSpan(list232); - ref QuestSequence reference171 = ref span82[0]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - CollectionsMarshal.AsSpan(list233)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049375u, new Vector3(-318.98987f, 18.789532f, -143.26697f), 1190); - obj162.Steps = list233; - reference171 = obj162; - ref QuestSequence reference172 = ref span82[1]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - CollectionsMarshal.AsSpan(list234)[0] = new QuestStep(EInteractionType.Interact, 1049323u, new Vector3(-227.49683f, -1.2980607f, 298.6648f), 1190) - { - Fly = true - }; - obj163.Steps = list234; - reference172 = obj163; - ref QuestSequence reference173 = ref span82[2]; - QuestSequence obj164 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.CompleteQuest, 1049375u, new Vector3(-318.98987f, 18.789532f, -143.26697f), 1190) - { - Fly = true - }; - obj164.Steps = list235; - reference173 = obj164; - questRoot30.QuestSequence = list232; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(5130); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list236 = new List(num); - CollectionsMarshal.SetCount(list236, num); - CollectionsMarshal.AsSpan(list236)[0] = "liza"; - questRoot31.Author = list236; - num = 3; - List list237 = new List(num); - CollectionsMarshal.SetCount(list237, num); - Span span83 = CollectionsMarshal.AsSpan(list237); - ref QuestSequence reference174 = ref span83[0]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - CollectionsMarshal.AsSpan(list238)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049324u, new Vector3(-108.659546f, 4.055336f, 319.5697f), 1190); - obj165.Steps = list238; - reference174 = obj165; - ref QuestSequence reference175 = ref span83[1]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list239 = new List(num2); - CollectionsMarshal.SetCount(list239, num2); - Span span84 = CollectionsMarshal.AsSpan(list239); - span84[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013958u, new Vector3(-620.3861f, -9.079163f, 323.3844f), 1190) - { - AetherCurrentId = 2818455u - }; - span84[1] = new QuestStep(EInteractionType.Interact, 1050645u, new Vector3(-650.0496f, -9.854074f, 327.26013f), 1190); - obj166.Steps = list239; - reference175 = obj166; - ref QuestSequence reference176 = ref span83[2]; - QuestSequence obj167 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - Span span85 = CollectionsMarshal.AsSpan(list240); - span85[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-527.3558f, -17.206274f, 443.9363f), 1190); - span85[1] = new QuestStep(EInteractionType.CompleteQuest, 1049324u, new Vector3(-108.659546f, 4.055336f, 319.5697f), 1190); - obj167.Steps = list240; - reference176 = obj167; - questRoot31.QuestSequence = list237; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(5131); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list241 = new List(num); - CollectionsMarshal.SetCount(list241, num); - CollectionsMarshal.AsSpan(list241)[0] = "liza"; - questRoot32.Author = list241; - num = 4; - List list242 = new List(num); - CollectionsMarshal.SetCount(list242, num); - Span span86 = CollectionsMarshal.AsSpan(list242); - ref QuestSequence reference177 = ref span86[0]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - CollectionsMarshal.AsSpan(list243)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050646u, new Vector3(-150.68292f, -2.4235957f, 408.43823f), 1190); - obj168.Steps = list243; - reference177 = obj168; - ref QuestSequence reference178 = ref span86[1]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - ref QuestStep reference179 = ref CollectionsMarshal.AsSpan(list244)[0]; - QuestStep obj170 = new QuestStep(EInteractionType.Combat, null, new Vector3(-111.25304f, -27.185633f, 723.9165f), 1190) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list245 = new List(num3); - CollectionsMarshal.SetCount(list245, num3); - CollectionsMarshal.AsSpan(list245)[0] = 17736u; - obj170.KillEnemyDataIds = list245; - reference179 = obj170; - obj169.Steps = list244; - reference178 = obj169; - ref QuestSequence reference180 = ref span86[2]; - QuestSequence obj171 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - CollectionsMarshal.AsSpan(list246)[0] = new QuestStep(EInteractionType.Interact, 1050647u, new Vector3(-113.93915f, -27.518993f, 725.1239f), 1190) - { - StopDistance = 7f - }; - obj171.Steps = list246; - reference180 = obj171; - ref QuestSequence reference181 = ref span86[3]; - QuestSequence obj172 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050648u, new Vector3(-149.34009f, -2.7338073f, 409.04858f), 1190) - { - Fly = true - }; - obj172.Steps = list247; - reference181 = obj172; - questRoot32.QuestSequence = list242; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(5132); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list248 = new List(num); - CollectionsMarshal.SetCount(list248, num); - CollectionsMarshal.AsSpan(list248)[0] = "liza"; - questRoot33.Author = list248; - num = 3; - List list249 = new List(num); - CollectionsMarshal.SetCount(list249, num); - Span span87 = CollectionsMarshal.AsSpan(list249); - ref QuestSequence reference182 = ref span87[0]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - CollectionsMarshal.AsSpan(list250)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050649u, new Vector3(350.1792f, -1.6156614f, 413.0464f), 1190); - obj173.Steps = list250; - reference182 = obj173; - ref QuestSequence reference183 = ref span87[1]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - Span span88 = CollectionsMarshal.AsSpan(list251); - ref QuestStep reference184 = ref span88[0]; - QuestStep obj175 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(357.06458f, 2.9521801f, 391.37265f), 1190) - { - Fly = true - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 6; - List list252 = new List(num3); - CollectionsMarshal.SetCount(list252, num3); - Span span89 = CollectionsMarshal.AsSpan(list252); - span89[0] = null; - span89[1] = null; - span89[2] = null; - span89[3] = null; - span89[4] = null; - span89[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions7.CompletionQuestVariablesFlags = list252; - skipStepConditions7.Flying = ELockedSkipCondition.Locked; - skipConditions7.StepIf = skipStepConditions7; - obj175.SkipConditions = skipConditions7; - reference184 = obj175; - ref QuestStep reference185 = ref span88[1]; - QuestStep obj176 = new QuestStep(EInteractionType.UseItem, 2014051u, new Vector3(334.88965f, 6.3934937f, 263.1112f), 1190) - { - Fly = true, - ItemId = 2003587u - }; - num3 = 6; - List list253 = new List(num3); - CollectionsMarshal.SetCount(list253, num3); - Span span90 = CollectionsMarshal.AsSpan(list253); - span90[0] = null; - span90[1] = null; - span90[2] = null; - span90[3] = null; - span90[4] = null; - span90[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj176.CompletionQuestVariablesFlags = list253; - reference185 = obj176; - ref QuestStep reference186 = ref span88[2]; - QuestStep obj177 = new QuestStep(EInteractionType.Combat, 2014053u, new Vector3(440.66528f, 5.874695f, 254.93237f), 1190) - { - Fly = true, - ItemId = 2003587u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list254 = new List(num3); - CollectionsMarshal.SetCount(list254, num3); - CollectionsMarshal.AsSpan(list254)[0] = 17737u; - obj177.KillEnemyDataIds = list254; - num3 = 6; - List list255 = new List(num3); - CollectionsMarshal.SetCount(list255, num3); - Span span91 = CollectionsMarshal.AsSpan(list255); - span91[0] = null; - span91[1] = null; - span91[2] = null; - span91[3] = null; - span91[4] = null; - span91[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj177.CompletionQuestVariablesFlags = list255; - reference186 = obj177; - ref QuestStep reference187 = ref span88[3]; - QuestStep obj178 = new QuestStep(EInteractionType.UseItem, 2014052u, new Vector3(545.5862f, 8.377136f, 293.01892f), 1190) - { - Fly = true, - ItemId = 2003587u - }; - num3 = 6; - List list256 = new List(num3); - CollectionsMarshal.SetCount(list256, num3); - Span span92 = CollectionsMarshal.AsSpan(list256); - span92[0] = null; - span92[1] = null; - span92[2] = null; - span92[3] = null; - span92[4] = null; - span92[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj178.CompletionQuestVariablesFlags = list256; - reference187 = obj178; - obj174.Steps = list251; - reference183 = obj174; - ref QuestSequence reference188 = ref span87[2]; - QuestSequence obj179 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - CollectionsMarshal.AsSpan(list257)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050649u, new Vector3(350.1792f, -1.6156614f, 413.0464f), 1190) - { - Fly = true - }; - obj179.Steps = list257; - reference188 = obj179; - questRoot33.QuestSequence = list249; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(5133); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list258 = new List(num); - CollectionsMarshal.SetCount(list258, num); - CollectionsMarshal.AsSpan(list258)[0] = "liza"; - questRoot34.Author = list258; - num = 3; - List list259 = new List(num); - CollectionsMarshal.SetCount(list259, num); - Span span93 = CollectionsMarshal.AsSpan(list259); - ref QuestSequence reference189 = ref span93[0]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050650u, new Vector3(-375.14313f, 20.084345f, -54.825745f), 1190); - obj180.Steps = list260; - reference189 = obj180; - ref QuestSequence reference190 = ref span93[1]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.Interact, 2014054u, new Vector3(-756.1608f, 35.8739f, 67.52112f), 1190) - { - Fly = true - }; - obj181.Steps = list261; - reference190 = obj181; - ref QuestSequence reference191 = ref span93[2]; - QuestSequence obj182 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - CollectionsMarshal.AsSpan(list262)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050650u, new Vector3(-375.14313f, 20.084345f, -54.825745f), 1190) - { - Fly = true - }; - obj182.Steps = list262; - reference191 = obj182; - questRoot34.QuestSequence = list259; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(5134); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list263 = new List(num); - CollectionsMarshal.SetCount(list263, num); - CollectionsMarshal.AsSpan(list263)[0] = "liza"; - questRoot35.Author = list263; - num = 3; - List list264 = new List(num); - CollectionsMarshal.SetCount(list264, num); - Span span94 = CollectionsMarshal.AsSpan(list264); - ref QuestSequence reference192 = ref span94[0]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051375u, new Vector3(376.15015f, -1.4395642f, 379.26294f), 1190); - obj183.Steps = list265; - reference192 = obj183; - ref QuestSequence reference193 = ref span94[1]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - CollectionsMarshal.AsSpan(list266)[0] = new QuestStep(EInteractionType.Interact, 1051376u, new Vector3(420.98108f, 0.41827834f, 466.20886f), 1190) - { - Fly = true - }; - obj184.Steps = list266; - reference193 = obj184; - ref QuestSequence reference194 = ref span94[2]; - QuestSequence obj185 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - CollectionsMarshal.AsSpan(list267)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051377u, new Vector3(419.02795f, 0.2806556f, 468.43665f), 1190) - { - StopDistance = 7f - }; - obj185.Steps = list267; - reference194 = obj185; - questRoot35.QuestSequence = list264; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(5135); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list268 = new List(num); - CollectionsMarshal.SetCount(list268, num); - CollectionsMarshal.AsSpan(list268)[0] = "liza"; - questRoot36.Author = list268; - num = 3; - List list269 = new List(num); - CollectionsMarshal.SetCount(list269, num); - Span span95 = CollectionsMarshal.AsSpan(list269); - ref QuestSequence reference195 = ref span95[0]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - CollectionsMarshal.AsSpan(list270)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050651u, new Vector3(-56.10742f, 15.709401f, -259.05243f), 1190); - obj186.Steps = list270; - reference195 = obj186; - ref QuestSequence reference196 = ref span95[1]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - ref QuestStep reference197 = ref CollectionsMarshal.AsSpan(list271)[0]; - QuestStep obj188 = new QuestStep(EInteractionType.Combat, null, new Vector3(-335.70532f, 18.652002f, -543.8954f), 1190) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list272 = new List(num3); - CollectionsMarshal.SetCount(list272, num3); - Span span96 = CollectionsMarshal.AsSpan(list272); - ref ComplexCombatData reference198 = ref span96[0]; - ComplexCombatData obj189 = new ComplexCombatData - { - DataId = 17274u, - MinimumKillCount = 2u - }; - int num4 = 6; - List list273 = new List(num4); - CollectionsMarshal.SetCount(list273, num4); - Span span97 = CollectionsMarshal.AsSpan(list273); - span97[0] = null; - span97[1] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - span97[2] = null; - span97[3] = null; - span97[4] = null; - span97[5] = null; - obj189.CompletionQuestVariablesFlags = list273; - reference198 = obj189; - span96[1] = new ComplexCombatData - { - DataId = 17738u, - MinimumKillCount = 1u - }; - obj188.ComplexCombatData = list272; - reference197 = obj188; - obj187.Steps = list271; - reference196 = obj187; - ref QuestSequence reference199 = ref span95[2]; - QuestSequence obj190 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - CollectionsMarshal.AsSpan(list274)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050651u, new Vector3(-56.10742f, 15.709401f, -259.05243f), 1190) - { - Fly = true - }; - obj190.Steps = list274; - reference199 = obj190; - questRoot36.QuestSequence = list269; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(5136); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list275 = new List(num); - CollectionsMarshal.SetCount(list275, num); - CollectionsMarshal.AsSpan(list275)[0] = "liza"; - questRoot37.Author = list275; - num = 4; - List list276 = new List(num); - CollectionsMarshal.SetCount(list276, num); - Span span98 = CollectionsMarshal.AsSpan(list276); - ref QuestSequence reference200 = ref span98[0]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - CollectionsMarshal.AsSpan(list277)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050652u, new Vector3(622.4917f, -17.334448f, -441.42828f), 1190); - obj191.Steps = list277; - reference200 = obj191; - ref QuestSequence reference201 = ref span98[1]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - Span span99 = CollectionsMarshal.AsSpan(list278); - span99[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(528.5589f, -18.217268f, -243.5277f), 1190) - { - Mount = true, - Fly = true - }; - span99[1] = new QuestStep(EInteractionType.UseItem, null, new Vector3(557.73425f, -71.68169f, -220.66245f), 1190) - { - DisableNavmesh = true, - Fly = true, - ItemId = 2003590u - }; - obj192.Steps = list278; - reference201 = obj192; - ref QuestSequence reference202 = ref span98[2]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - CollectionsMarshal.AsSpan(list279)[0] = new QuestStep(EInteractionType.Interact, 2014055u, new Vector3(568.0475f, -77.16492f, -219.92828f), 1190) - { - DisableNavmesh = true - }; - obj193.Steps = list279; - reference202 = obj193; - ref QuestSequence reference203 = ref span98[3]; - QuestSequence obj194 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - Span span100 = CollectionsMarshal.AsSpan(list280); - span100[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(528.5589f, -18.217268f, -243.5277f), 1190) - { - DisableNavmesh = true, - Mount = true, - Fly = true - }; - span100[1] = new QuestStep(EInteractionType.CompleteQuest, 1050652u, new Vector3(622.4917f, -17.334448f, -441.42828f), 1190) - { - Fly = true - }; - obj194.Steps = list280; - reference203 = obj194; - questRoot37.QuestSequence = list276; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(5137); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list281 = new List(num); - CollectionsMarshal.SetCount(list281, num); - CollectionsMarshal.AsSpan(list281)[0] = "liza"; - questRoot38.Author = list281; - num = 4; - List list282 = new List(num); - CollectionsMarshal.SetCount(list282, num); - Span span101 = CollectionsMarshal.AsSpan(list282); - ref QuestSequence reference204 = ref span101[0]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050653u, new Vector3(-133.74536f, 16.289755f, -285.1454f), 1190); - obj195.Steps = list283; - reference204 = obj195; - ref QuestSequence reference205 = ref span101[1]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - CollectionsMarshal.AsSpan(list284)[0] = new QuestStep(EInteractionType.Interact, 1050654u, new Vector3(-509.05627f, 62.947567f, -438.68164f), 1190) - { - StopDistance = 0.25f, - Fly = true - }; - obj196.Steps = list284; - reference205 = obj196; - ref QuestSequence reference206 = ref span101[2]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - CollectionsMarshal.AsSpan(list285)[0] = new QuestStep(EInteractionType.Interact, 2014056u, new Vector3(-509.60556f, 62.91284f, -437.15576f), 1190); - obj197.Steps = list285; - reference206 = obj197; - ref QuestSequence reference207 = ref span101[3]; - QuestSequence obj198 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - CollectionsMarshal.AsSpan(list286)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050653u, new Vector3(-133.74536f, 16.289755f, -285.1454f), 1190) - { - Fly = true - }; - obj198.Steps = list286; - reference207 = obj198; - questRoot38.QuestSequence = list282; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(5138); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list287 = new List(num); - CollectionsMarshal.SetCount(list287, num); - CollectionsMarshal.AsSpan(list287)[0] = "liza"; - questRoot39.Author = list287; - num = 4; - List list288 = new List(num); - CollectionsMarshal.SetCount(list288, num); - Span span102 = CollectionsMarshal.AsSpan(list288); - ref QuestSequence reference208 = ref span102[0]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050655u, new Vector3(289.02112f, -15.566031f, -478.78235f), 1190); - obj199.Steps = list289; - reference208 = obj199; - ref QuestSequence reference209 = ref span102[1]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 1 - }; - num2 = 9; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - Span span103 = CollectionsMarshal.AsSpan(list290); - span103[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013960u, new Vector3(380.30054f, -16.983276f, -508.17123f), 1190) - { - AetherCurrentId = 2818452u - }; - span103[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(616.9261f, -17.458832f, -435.18936f), 1190); - span103[2] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013961u, new Vector3(645.5939f, -11.7647705f, -417.65472f), 1190) - { - AetherCurrentId = 2818456u - }; - span103[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(659.8994f, -16.525915f, -173.6375f), 1190); - span103[4] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013963u, new Vector3(658.2893f, 21.011597f, 82.993774f), 1190) - { - AetherCurrentId = 2818458u - }; - span103[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(198.9425f, 6.210067f, -53.1092f), 1190); - span103[6] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013962u, new Vector3(183.88635f, 11.917236f, -59.342346f), 1190) - { - DisableNavmesh = true, - AetherCurrentId = 2818457u - }; - span103[7] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(290.40674f, -11.14023f, -126.13759f), 1190) - { - DisableNavmesh = true - }; - span103[8] = new QuestStep(EInteractionType.Interact, 1050656u, new Vector3(449.05762f, -17.316843f, -155.6878f), 1190); - obj200.Steps = list290; - reference209 = obj200; - ref QuestSequence reference210 = ref span102[2]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 2 - }; - num2 = 7; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - Span span104 = CollectionsMarshal.AsSpan(list291); - span104[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(400.57977f, -18.2f, -244.50037f), 1190) - { - Mount = false, - Sprint = false - }; - span104[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(379.76282f, -18.2f, -293.1074f), 1190) - { - DelaySecondsAtStart = 3f, - Mount = false, - Sprint = false - }; - span104[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(370.89987f, -18.2f, -351.861f), 1190) - { - DelaySecondsAtStart = 3f, - Mount = false, - Sprint = false - }; - span104[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(392.1876f, -18.2f, -381.36987f), 1190) - { - DelaySecondsAtStart = 3f, - Mount = false, - Sprint = false - }; - span104[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(386.26978f, -18.2f, -454.76865f), 1190) - { - Mount = false, - Sprint = false - }; - span104[5] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 17739u, new Vector3(287.58667f, -15.274292f, -476.0052f), 1190) - { - StopDistance = 0.25f, - NpcWaitDistance = 4f, - Mount = false, - Sprint = false - }; - span104[6] = new QuestStep(EInteractionType.Interact, 2014057u, new Vector3(287.58667f, -15.274292f, -476.0052f), 1190); - obj201.Steps = list291; - reference210 = obj201; - ref QuestSequence reference211 = ref span102[3]; - QuestSequence obj202 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - CollectionsMarshal.AsSpan(list292)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050655u, new Vector3(289.02112f, -15.566031f, -478.78235f), 1190) - { - StopDistance = 5f - }; - obj202.Steps = list292; - reference211 = obj202; - questRoot39.QuestSequence = list288; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(5139); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list293 = new List(num); - CollectionsMarshal.SetCount(list293, num); - CollectionsMarshal.AsSpan(list293)[0] = "liza"; - questRoot40.Author = list293; - num = 4; - List list294 = new List(num); - CollectionsMarshal.SetCount(list294, num); - Span span105 = CollectionsMarshal.AsSpan(list294); - ref QuestSequence reference212 = ref span105[0]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - CollectionsMarshal.AsSpan(list295)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050702u, new Vector3(267.3838f, -16.116768f, -495.71985f), 1190); - obj203.Steps = list295; - reference212 = obj203; - ref QuestSequence reference213 = ref span105[1]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - CollectionsMarshal.AsSpan(list296)[0] = new QuestStep(EInteractionType.Interact, 1050703u, new Vector3(387.9911f, -1.4394518f, 373.95276f), 1190) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ShaaloaniHhusatahwi - }; - obj204.Steps = list296; - reference213 = obj204; - ref QuestSequence reference214 = ref span105[2]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - CollectionsMarshal.AsSpan(list297)[0] = new QuestStep(EInteractionType.Interact, 2014058u, new Vector3(389.7306f, -1.1139526f, 368.8258f), 1190); - obj205.Steps = list297; - reference214 = obj205; - ref QuestSequence reference215 = ref span105[3]; - QuestSequence obj206 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - CollectionsMarshal.AsSpan(list298)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050702u, new Vector3(267.3838f, -16.116768f, -495.71985f), 1190) - { - AetheryteShortcut = EAetheryteLocation.ShaaloaniMehwahhetsoan - }; - obj206.Steps = list298; - reference215 = obj206; - questRoot40.QuestSequence = list294; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(5140); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list299 = new List(num); - CollectionsMarshal.SetCount(list299, num); - CollectionsMarshal.AsSpan(list299)[0] = "liza"; - questRoot41.Author = list299; - num = 5; - List list300 = new List(num); - CollectionsMarshal.SetCount(list300, num); - Span span106 = CollectionsMarshal.AsSpan(list300); - ref QuestSequence reference216 = ref span106[0]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - CollectionsMarshal.AsSpan(list301)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051283u, new Vector3(374.19702f, -0.24794838f, 437.2472f), 1190); - obj207.Steps = list301; - reference216 = obj207; - ref QuestSequence reference217 = ref span106[1]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list302 = new List(num2); - CollectionsMarshal.SetCount(list302, num2); - CollectionsMarshal.AsSpan(list302)[0] = new QuestStep(EInteractionType.Interact, 1051284u, new Vector3(362.84424f, 5.937199f, 427.2068f), 1190) - { - Mount = true - }; - obj208.Steps = list302; - reference217 = obj208; - ref QuestSequence reference218 = ref span106[2]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list303 = new List(num2); - CollectionsMarshal.SetCount(list303, num2); - CollectionsMarshal.AsSpan(list303)[0] = new QuestStep(EInteractionType.Interact, 1051284u, new Vector3(362.84424f, 5.937199f, 427.2068f), 1190); - obj209.Steps = list303; - reference218 = obj209; - ref QuestSequence reference219 = ref span106[3]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - Span span107 = CollectionsMarshal.AsSpan(list304); - span107[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(369.3906f, 5.9371996f, 417.16574f), 1190) - { - Mount = true - }; - span107[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(359.11545f, 1.9823306f, 419.5714f), 1190) - { - DisableNavmesh = true - }; - span107[2] = new QuestStep(EInteractionType.Interact, 1051286u, new Vector3(272.72437f, -4.5877395f, 464.042f), 1190); - obj210.Steps = list304; - reference219 = obj210; - ref QuestSequence reference220 = ref span106[4]; - QuestSequence obj211 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - CollectionsMarshal.AsSpan(list305)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051286u, new Vector3(272.72437f, -4.5877395f, 464.042f), 1190) - { - Emote = EEmote.Flex - }; - obj211.Steps = list305; - reference220 = obj211; - questRoot41.QuestSequence = list300; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(5141); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list306 = new List(num); - CollectionsMarshal.SetCount(list306, num); - CollectionsMarshal.AsSpan(list306)[0] = "liza"; - questRoot42.Author = list306; - num = 3; - List list307 = new List(num); - CollectionsMarshal.SetCount(list307, num); - Span span108 = CollectionsMarshal.AsSpan(list307); - ref QuestSequence reference221 = ref span108[0]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - CollectionsMarshal.AsSpan(list308)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051288u, new Vector3(274.52502f, -4.49502f, 463.5537f), 1190); - obj212.Steps = list308; - reference221 = obj212; - ref QuestSequence reference222 = ref span108[1]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - CollectionsMarshal.AsSpan(list309)[0] = new QuestStep(EInteractionType.Interact, 1051289u, new Vector3(246.57043f, 15.999963f, 761.2573f), 1190) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalXakTuralSkygate - } - }; - obj213.Steps = list309; - reference222 = obj213; - ref QuestSequence reference223 = ref span108[2]; - QuestSequence obj214 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - ref QuestStep reference224 = ref CollectionsMarshal.AsSpan(list310)[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.CompleteQuest, 1051293u, new Vector3(245.89917f, 15.999965f, 758.1139f), 1190); - num3 = 1; - List list311 = new List(num3); - CollectionsMarshal.SetCount(list311, num3); - CollectionsMarshal.AsSpan(list311)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZE202_05141_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGZE202_05141_A1_000_001") - }; - questStep10.DialogueChoices = list311; - questStep10.NextQuestId = new QuestId(5142); - reference224 = questStep10; - obj214.Steps = list310; - reference223 = obj214; - questRoot42.QuestSequence = list307; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(5142); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list312 = new List(num); - CollectionsMarshal.SetCount(list312, num); - CollectionsMarshal.AsSpan(list312)[0] = "liza"; - questRoot43.Author = list312; - num = 4; - List list313 = new List(num); - CollectionsMarshal.SetCount(list313, num); - Span span109 = CollectionsMarshal.AsSpan(list313); - ref QuestSequence reference225 = ref span109[0]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - CollectionsMarshal.AsSpan(list314)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051293u, new Vector3(245.89917f, 15.999965f, 758.1139f), 1190); - obj215.Steps = list314; - reference225 = obj215; - ref QuestSequence reference226 = ref span109[1]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - CollectionsMarshal.AsSpan(list315)[0] = new QuestStep(EInteractionType.Interact, 1051294u, new Vector3(279.92664f, -4.184075f, 461.53955f), 1190) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ShaaloaniHhusatahwi - }; - obj216.Steps = list315; - reference226 = obj216; - ref QuestSequence reference227 = ref span109[2]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 2 - }; - num2 = 6; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - Span span110 = CollectionsMarshal.AsSpan(list316); - ref QuestStep reference228 = ref span110[0]; - QuestStep obj218 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(450.56f, 7.0377436f, 489.10336f), 1190) - { - Fly = true - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions8 = new SkipStepConditions(); - num3 = 6; - List list317 = new List(num3); - CollectionsMarshal.SetCount(list317, num3); - Span span111 = CollectionsMarshal.AsSpan(list317); - span111[0] = null; - span111[1] = null; - span111[2] = null; - span111[3] = null; - span111[4] = null; - span111[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions8.CompletionQuestVariablesFlags = list317; - skipStepConditions8.Flying = ELockedSkipCondition.Locked; - skipConditions8.StepIf = skipStepConditions8; - obj218.SkipConditions = skipConditions8; - reference228 = obj218; - ref QuestStep reference229 = ref span110[1]; - QuestStep obj219 = new QuestStep(EInteractionType.Emote, 1051297u, new Vector3(470.84766f, 2.6501055f, 478.08032f), 1190) - { - Fly = true, - Emote = EEmote.Dance - }; - num3 = 6; - List list318 = new List(num3); - CollectionsMarshal.SetCount(list318, num3); - Span span112 = CollectionsMarshal.AsSpan(list318); - span112[0] = null; - span112[1] = null; - span112[2] = null; - span112[3] = null; - span112[4] = null; - span112[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj219.CompletionQuestVariablesFlags = list318; - reference229 = obj219; - ref QuestStep reference230 = ref span110[2]; - QuestStep obj220 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(364.1419f, 5.9295864f, 435.2963f), 1190) - { - Fly = true - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions9 = new SkipStepConditions(); - num3 = 6; - List list319 = new List(num3); - CollectionsMarshal.SetCount(list319, num3); - Span span113 = CollectionsMarshal.AsSpan(list319); - span113[0] = null; - span113[1] = null; - span113[2] = null; - span113[3] = null; - span113[4] = null; - span113[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions9.CompletionQuestVariablesFlags = list319; - skipStepConditions9.Flying = ELockedSkipCondition.Locked; - skipConditions9.StepIf = skipStepConditions9; - obj220.SkipConditions = skipConditions9; - reference230 = obj220; - ref QuestStep reference231 = ref span110[3]; - QuestStep obj221 = new QuestStep(EInteractionType.Emote, 1051296u, new Vector3(369.92432f, 5.9371996f, 434.71423f), 1190) - { - Emote = EEmote.Dance - }; - num3 = 6; - List list320 = new List(num3); - CollectionsMarshal.SetCount(list320, num3); - Span span114 = CollectionsMarshal.AsSpan(list320); - span114[0] = null; - span114[1] = null; - span114[2] = null; - span114[3] = null; - span114[4] = null; - span114[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj221.CompletionQuestVariablesFlags = list320; - reference231 = obj221; - ref QuestStep reference232 = ref span110[4]; - QuestStep questStep11 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(364.1419f, 5.9295864f, 435.2963f), 1190); - SkipConditions skipConditions10 = new SkipConditions(); - SkipStepConditions skipStepConditions10 = new SkipStepConditions(); - num3 = 6; - List list321 = new List(num3); - CollectionsMarshal.SetCount(list321, num3); - Span span115 = CollectionsMarshal.AsSpan(list321); - span115[0] = null; - span115[1] = null; - span115[2] = null; - span115[3] = null; - span115[4] = null; - span115[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions10.CompletionQuestVariablesFlags = list321; - skipStepConditions10.Flying = ELockedSkipCondition.Locked; - skipConditions10.StepIf = skipStepConditions10; - questStep11.SkipConditions = skipConditions10; - reference232 = questStep11; - ref QuestStep reference233 = ref span110[5]; - QuestStep obj222 = new QuestStep(EInteractionType.Emote, 1051298u, new Vector3(375.6007f, -1.619559f, 387.62476f), 1190) - { - Fly = true, - Emote = EEmote.Dance - }; - num3 = 6; - List list322 = new List(num3); - CollectionsMarshal.SetCount(list322, num3); - Span span116 = CollectionsMarshal.AsSpan(list322); - span116[0] = null; - span116[1] = null; - span116[2] = null; - span116[3] = null; - span116[4] = null; - span116[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj222.CompletionQuestVariablesFlags = list322; - reference233 = obj222; - obj217.Steps = list316; - reference227 = obj217; - ref QuestSequence reference234 = ref span109[3]; - QuestSequence obj223 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list323 = new List(num2); - CollectionsMarshal.SetCount(list323, num2); - CollectionsMarshal.AsSpan(list323)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051313u, new Vector3(279.469f, -4.1346755f, 460.28845f), 1190) - { - Fly = true, - NextQuestId = new QuestId(5143) - }; - obj223.Steps = list323; - reference234 = obj223; - questRoot43.QuestSequence = list313; - AddQuest(questId43, questRoot43); - QuestId questId44 = new QuestId(5143); - QuestRoot questRoot44 = new QuestRoot(); - num = 1; - List list324 = new List(num); - CollectionsMarshal.SetCount(list324, num); - CollectionsMarshal.AsSpan(list324)[0] = "liza"; - questRoot44.Author = list324; - num = 4; - List list325 = new List(num); - CollectionsMarshal.SetCount(list325, num); - Span span117 = CollectionsMarshal.AsSpan(list325); - ref QuestSequence reference235 = ref span117[0]; - QuestSequence obj224 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list326 = new List(num2); - CollectionsMarshal.SetCount(list326, num2); - CollectionsMarshal.AsSpan(list326)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051295u, new Vector3(279.62158f, -4.1182456f, 460.31885f), 1190); - obj224.Steps = list326; - reference235 = obj224; - ref QuestSequence reference236 = ref span117[1]; - QuestSequence obj225 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list327 = new List(num2); - CollectionsMarshal.SetCount(list327, num2); - Span span118 = CollectionsMarshal.AsSpan(list327); - span118[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(374.1434f, -0.26282632f, 438.94763f), 1190) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - ref QuestStep reference237 = ref span118[1]; - QuestStep obj226 = new QuestStep(EInteractionType.Interact, 1051283u, new Vector3(374.19702f, -0.24794838f, 437.2472f), 1190) - { - Fly = true - }; - num3 = 1; - List list328 = new List(num3); - CollectionsMarshal.SetCount(list328, num3); - CollectionsMarshal.AsSpan(list328)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZE204_05143_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGZE204_05143_A1_000_001") - }; - obj226.DialogueChoices = list328; - reference237 = obj226; - obj225.Steps = list327; - reference236 = obj225; - ref QuestSequence reference238 = ref span117[2]; - QuestSequence obj227 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list329 = new List(num2); - CollectionsMarshal.SetCount(list329, num2); - CollectionsMarshal.AsSpan(list329)[0] = new QuestStep(EInteractionType.Interact, 2014319u, new Vector3(290.76062f, -2.6704102f, 455.34436f), 1190) - { - Fly = true - }; - obj227.Steps = list329; - reference238 = obj227; - ref QuestSequence reference239 = ref span117[3]; - QuestSequence obj228 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list330 = new List(num2); - CollectionsMarshal.SetCount(list330, num2); - CollectionsMarshal.AsSpan(list330)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051314u, new Vector3(279.62158f, -4.1182456f, 460.31885f), 1190); - obj228.Steps = list330; - reference239 = obj228; - questRoot44.QuestSequence = list325; - AddQuest(questId44, questRoot44); - QuestId questId45 = new QuestId(5144); - QuestRoot questRoot45 = new QuestRoot(); - num = 1; - List list331 = new List(num); - CollectionsMarshal.SetCount(list331, num); - CollectionsMarshal.AsSpan(list331)[0] = "liza"; - questRoot45.Author = list331; - num = 3; - List list332 = new List(num); - CollectionsMarshal.SetCount(list332, num); - Span span119 = CollectionsMarshal.AsSpan(list332); - ref QuestSequence reference240 = ref span119[0]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list333 = new List(num2); - CollectionsMarshal.SetCount(list333, num2); - CollectionsMarshal.AsSpan(list333)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051316u, new Vector3(-380.30066f, 18.718708f, -114.24432f), 1190); - obj229.Steps = list333; - reference240 = obj229; - ref QuestSequence reference241 = ref span119[1]; - QuestSequence obj230 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - Span span120 = CollectionsMarshal.AsSpan(list334); - span120[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-364.2223f, 18.75252f, -115.513306f), 1190); - span120[1] = new QuestStep(EInteractionType.Interact, 1051300u, new Vector3(-69.840576f, -8.097445f, 78.538086f), 1190); - obj230.Steps = list334; - reference241 = obj230; - ref QuestSequence reference242 = ref span119[2]; - QuestSequence obj231 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list335 = new List(num2); - CollectionsMarshal.SetCount(list335, num2); - CollectionsMarshal.AsSpan(list335)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051301u, new Vector3(-284.1383f, 17.312117f, -76.676636f), 1190) - { - AetheryteShortcut = EAetheryteLocation.ShaaloaniShesheneweziSprings - }; - obj231.Steps = list335; - reference242 = obj231; - questRoot45.QuestSequence = list332; - AddQuest(questId45, questRoot45); - QuestId questId46 = new QuestId(5145); - QuestRoot questRoot46 = new QuestRoot(); - num = 1; - List list336 = new List(num); - CollectionsMarshal.SetCount(list336, num); - CollectionsMarshal.AsSpan(list336)[0] = "liza"; - questRoot46.Author = list336; - num = 5; - List list337 = new List(num); - CollectionsMarshal.SetCount(list337, num); - Span span121 = CollectionsMarshal.AsSpan(list337); - ref QuestSequence reference243 = ref span121[0]; - QuestSequence obj232 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list338 = new List(num2); - CollectionsMarshal.SetCount(list338, num2); - CollectionsMarshal.AsSpan(list338)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051301u, new Vector3(-284.1383f, 17.312117f, -76.676636f), 1190); - obj232.Steps = list338; - reference243 = obj232; - ref QuestSequence reference244 = ref span121[1]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list339 = new List(num2); - CollectionsMarshal.SetCount(list339, num2); - CollectionsMarshal.AsSpan(list339)[0] = new QuestStep(EInteractionType.Interact, 1051320u, new Vector3(-379.04938f, 18.055899f, -117.387695f), 1190) - { - Fly = true - }; - obj233.Steps = list339; - reference244 = obj233; - ref QuestSequence reference245 = ref span121[2]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list340 = new List(num2); - CollectionsMarshal.SetCount(list340, num2); - CollectionsMarshal.AsSpan(list340)[0] = new QuestStep(EInteractionType.Interact, 1051303u, new Vector3(-150.80493f, 2.3364508f, 42.86255f), 1190) - { - Fly = true - }; - obj234.Steps = list340; - reference245 = obj234; - ref QuestSequence reference246 = ref span121[3]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - CollectionsMarshal.AsSpan(list341)[0] = new QuestStep(EInteractionType.Interact, 2014321u, new Vector3(-120.561584f, -4.0131226f, 117.69275f), 1190) - { - Fly = true - }; - obj235.Steps = list341; - reference246 = obj235; - ref QuestSequence reference247 = ref span121[4]; - QuestSequence obj236 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - CollectionsMarshal.AsSpan(list342)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051303u, new Vector3(-150.80493f, 2.3364508f, 42.86255f), 1190) - { - Fly = true, - NextQuestId = new QuestId(5146) - }; - obj236.Steps = list342; - reference247 = obj236; - questRoot46.QuestSequence = list337; - AddQuest(questId46, questRoot46); - QuestId questId47 = new QuestId(5146); - QuestRoot questRoot47 = new QuestRoot(); - num = 1; - List list343 = new List(num); - CollectionsMarshal.SetCount(list343, num); - CollectionsMarshal.AsSpan(list343)[0] = "liza"; - questRoot47.Author = list343; - num = 6; - List list344 = new List(num); - CollectionsMarshal.SetCount(list344, num); - Span span122 = CollectionsMarshal.AsSpan(list344); - ref QuestSequence reference248 = ref span122[0]; - QuestSequence obj237 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list345 = new List(num2); - CollectionsMarshal.SetCount(list345, num2); - CollectionsMarshal.AsSpan(list345)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051303u, new Vector3(-150.80493f, 2.3364508f, 42.86255f), 1190); - obj237.Steps = list345; - reference248 = obj237; - ref QuestSequence reference249 = ref span122[1]; - QuestSequence obj238 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list346 = new List(num2); - CollectionsMarshal.SetCount(list346, num2); - CollectionsMarshal.AsSpan(list346)[0] = new QuestStep(EInteractionType.Interact, 1051305u, new Vector3(-220.7218f, -1.1039281f, 244.00696f), 1190) - { - Fly = true - }; - obj238.Steps = list346; - reference249 = obj238; - ref QuestSequence reference250 = ref span122[2]; - QuestSequence obj239 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list347 = new List(num2); - CollectionsMarshal.SetCount(list347, num2); - CollectionsMarshal.AsSpan(list347)[0] = new QuestStep(EInteractionType.Interact, 1051306u, new Vector3(-230.9148f, -1.2759173f, 291.9203f), 1190) - { - Fly = true - }; - obj239.Steps = list347; - reference250 = obj239; - ref QuestSequence reference251 = ref span122[3]; - QuestSequence obj240 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list348 = new List(num2); - CollectionsMarshal.SetCount(list348, num2); - CollectionsMarshal.AsSpan(list348)[0] = new QuestStep(EInteractionType.Interact, 1051307u, new Vector3(-207.69055f, -1.8966466f, 329.7932f), 1190) - { - Fly = true - }; - obj240.Steps = list348; - reference251 = obj240; - ref QuestSequence reference252 = ref span122[4]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list349 = new List(num2); - CollectionsMarshal.SetCount(list349, num2); - CollectionsMarshal.AsSpan(list349)[0] = new QuestStep(EInteractionType.Interact, 1051308u, new Vector3(-170.45856f, 1.6625541f, 365.6825f), 1190) - { - Fly = true - }; - obj241.Steps = list349; - reference252 = obj241; - ref QuestSequence reference253 = ref span122[5]; - QuestSequence obj242 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - CollectionsMarshal.AsSpan(list350)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051309u, new Vector3(-130.02216f, 1.8320833f, 318.6847f), 1190) - { - Fly = true, - NextQuestId = new QuestId(5147) - }; - obj242.Steps = list350; - reference253 = obj242; - questRoot47.QuestSequence = list344; - AddQuest(questId47, questRoot47); - QuestId questId48 = new QuestId(5147); - QuestRoot questRoot48 = new QuestRoot(); - num = 1; - List list351 = new List(num); - CollectionsMarshal.SetCount(list351, num); - CollectionsMarshal.AsSpan(list351)[0] = "liza"; - questRoot48.Author = list351; - num = 4; - List list352 = new List(num); - CollectionsMarshal.SetCount(list352, num); - Span span123 = CollectionsMarshal.AsSpan(list352); - ref QuestSequence reference254 = ref span123[0]; - QuestSequence obj243 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list353 = new List(num2); - CollectionsMarshal.SetCount(list353, num2); - CollectionsMarshal.AsSpan(list353)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051333u, new Vector3(-127.82489f, 1.8010846f, 318.13525f), 1190) - { - StopDistance = 5f - }; - obj243.Steps = list353; - reference254 = obj243; - ref QuestSequence reference255 = ref span123[1]; - QuestSequence obj244 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list354 = new List(num2); - CollectionsMarshal.SetCount(list354, num2); - CollectionsMarshal.AsSpan(list354)[0] = new QuestStep(EInteractionType.Interact, 1051334u, new Vector3(-156.87805f, 9.228875f, 9.262146f), 1190) - { - Fly = true - }; - obj244.Steps = list354; - reference255 = obj244; - ref QuestSequence reference256 = ref span123[2]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list355 = new List(num2); - CollectionsMarshal.SetCount(list355, num2); - ref QuestStep reference257 = ref CollectionsMarshal.AsSpan(list355)[0]; - QuestStep obj246 = new QuestStep(EInteractionType.Combat, null, new Vector3(-73.8012f, 8.56271f, -61.943523f), 1190) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list356 = new List(num3); - CollectionsMarshal.SetCount(list356, num3); - CollectionsMarshal.AsSpan(list356)[0] = 17742u; - obj246.KillEnemyDataIds = list356; - reference257 = obj246; - obj245.Steps = list355; - reference256 = obj245; - ref QuestSequence reference258 = ref span123[3]; - QuestSequence obj247 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list357 = new List(num2); - CollectionsMarshal.SetCount(list357, num2); - CollectionsMarshal.AsSpan(list357)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051302u, new Vector3(-380.33118f, 18.1636f, -118.54736f), 1190) - { - Fly = true, - NextQuestId = new QuestId(5148) - }; - obj247.Steps = list357; - reference258 = obj247; - questRoot48.QuestSequence = list352; - AddQuest(questId48, questRoot48); - QuestId questId49 = new QuestId(5148); - QuestRoot questRoot49 = new QuestRoot(); - num = 1; - List list358 = new List(num); - CollectionsMarshal.SetCount(list358, num); - CollectionsMarshal.AsSpan(list358)[0] = "liza"; - questRoot49.Author = list358; - num = 8; - List list359 = new List(num); - CollectionsMarshal.SetCount(list359, num); - Span span124 = CollectionsMarshal.AsSpan(list359); - ref QuestSequence reference259 = ref span124[0]; - QuestSequence obj248 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list360 = new List(num2); - CollectionsMarshal.SetCount(list360, num2); - CollectionsMarshal.AsSpan(list360)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051302u, new Vector3(-380.33118f, 18.1636f, -118.54736f), 1190); - obj248.Steps = list360; - reference259 = obj248; - ref QuestSequence reference260 = ref span124[1]; - QuestSequence obj249 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list361 = new List(num2); - CollectionsMarshal.SetCount(list361, num2); - CollectionsMarshal.AsSpan(list361)[0] = new QuestStep(EInteractionType.Interact, 1051339u, new Vector3(-529.0761f, -17.160866f, 444.23596f), 1190); - obj249.Steps = list361; - reference260 = obj249; - ref QuestSequence reference261 = ref span124[2]; - QuestSequence obj250 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list362 = new List(num2); - CollectionsMarshal.SetCount(list362, num2); - Span span125 = CollectionsMarshal.AsSpan(list362); - ref QuestStep reference262 = ref span125[0]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 2014323u, new Vector3(-600.3052f, -13.382202f, 379.99524f), 1190); - num3 = 6; - List list363 = new List(num3); - CollectionsMarshal.SetCount(list363, num3); - Span span126 = CollectionsMarshal.AsSpan(list363); - span126[0] = null; - span126[1] = null; - span126[2] = null; - span126[3] = null; - span126[4] = null; - span126[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list363; - reference262 = questStep12; - ref QuestStep reference263 = ref span125[1]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 2014322u, new Vector3(-619.01276f, -14.114624f, 379.65967f), 1190); - num3 = 6; - List list364 = new List(num3); - CollectionsMarshal.SetCount(list364, num3); - Span span127 = CollectionsMarshal.AsSpan(list364); - span127[0] = null; - span127[1] = null; - span127[2] = null; - span127[3] = null; - span127[4] = null; - span127[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list364; - reference263 = questStep13; - ref QuestStep reference264 = ref span125[2]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 2014324u, new Vector3(-639.30725f, -12.863403f, 369.46667f), 1190); - num3 = 6; - List list365 = new List(num3); - CollectionsMarshal.SetCount(list365, num3); - Span span128 = CollectionsMarshal.AsSpan(list365); - span128[0] = null; - span128[1] = null; - span128[2] = null; - span128[3] = null; - span128[4] = null; - span128[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list365; - reference264 = questStep14; - obj250.Steps = list362; - reference261 = obj250; - ref QuestSequence reference265 = ref span124[3]; - QuestSequence obj251 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list366 = new List(num2); - CollectionsMarshal.SetCount(list366, num2); - ref QuestStep reference266 = ref CollectionsMarshal.AsSpan(list366)[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1051310u, new Vector3(-638.1476f, -11.576093f, 350.8506f), 1190); - num3 = 1; - List list367 = new List(num3); - CollectionsMarshal.SetCount(list367, num3); - CollectionsMarshal.AsSpan(list367)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZE401_05148_Q2_000_000"), - Answer = new ExcelRef("TEXT_KINGZE401_05148_A2_000_000") - }; - questStep15.DialogueChoices = list367; - reference266 = questStep15; - obj251.Steps = list366; - reference265 = obj251; - ref QuestSequence reference267 = ref span124[4]; - QuestSequence obj252 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list368 = new List(num2); - CollectionsMarshal.SetCount(list368, num2); - Span span129 = CollectionsMarshal.AsSpan(list368); - ref QuestStep reference268 = ref span129[0]; - QuestStep obj253 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(364.1419f, 5.9295864f, 435.2963f), 1190) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ShaaloaniHhusatahwi - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipStepConditions skipStepConditions11 = new SkipStepConditions(); - num3 = 6; - List list369 = new List(num3); - CollectionsMarshal.SetCount(list369, num3); - Span span130 = CollectionsMarshal.AsSpan(list369); - span130[0] = null; - span130[1] = null; - span130[2] = null; - span130[3] = null; - span130[4] = null; - span130[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions11.CompletionQuestVariablesFlags = list369; - skipStepConditions11.Flying = ELockedSkipCondition.Locked; - skipConditions11.StepIf = skipStepConditions11; - obj253.SkipConditions = skipConditions11; - reference268 = obj253; - span129[1] = new QuestStep(EInteractionType.Interact, 1051315u, new Vector3(362.87476f, 5.9371996f, 427.2068f), 1190); - obj252.Steps = list368; - reference267 = obj252; - ref QuestSequence reference269 = ref span124[5]; - QuestSequence obj254 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list370 = new List(num2); - CollectionsMarshal.SetCount(list370, num2); - Span span131 = CollectionsMarshal.AsSpan(list370); - span131[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(369.3906f, 5.9371996f, 417.16574f), 1190) - { - Mount = true - }; - span131[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(359.11545f, 1.9823306f, 419.5714f), 1190) - { - DisableNavmesh = true - }; - span131[2] = new QuestStep(EInteractionType.Interact, 1051321u, new Vector3(357.7782f, -1.0164845f, 438.37634f), 1190); - obj254.Steps = list370; - reference269 = obj254; - ref QuestSequence reference270 = ref span124[6]; - QuestSequence obj255 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list371 = new List(num2); - CollectionsMarshal.SetCount(list371, num2); - CollectionsMarshal.AsSpan(list371)[0] = new QuestStep(EInteractionType.Interact, 1051302u, new Vector3(-380.33118f, 18.1636f, -118.54736f), 1190) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ShaaloaniShesheneweziSprings - }; - obj255.Steps = list371; - reference270 = obj255; - ref QuestSequence reference271 = ref span124[7]; - QuestSequence obj256 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list372 = new List(num2); - CollectionsMarshal.SetCount(list372, num2); - CollectionsMarshal.AsSpan(list372)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051302u, new Vector3(-380.33118f, 18.1636f, -118.54736f), 1190); - obj256.Steps = list372; - reference271 = obj256; - questRoot49.QuestSequence = list359; - AddQuest(questId49, questRoot49); - QuestId questId50 = new QuestId(5149); - QuestRoot questRoot50 = new QuestRoot(); - num = 1; - List list373 = new List(num); - CollectionsMarshal.SetCount(list373, num); - CollectionsMarshal.AsSpan(list373)[0] = "liza"; - questRoot50.Author = list373; - num = 3; - List list374 = new List(num); - CollectionsMarshal.SetCount(list374, num); - Span span132 = CollectionsMarshal.AsSpan(list374); - ref QuestSequence reference272 = ref span132[0]; - QuestSequence obj257 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list375 = new List(num2); - CollectionsMarshal.SetCount(list375, num2); - CollectionsMarshal.AsSpan(list375)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049442u, new Vector3(-272.23627f, 30.001156f, -577.59973f), 1191) - { - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-272.23627f, 30.001156f, -577.59973f), - MaximumDistance = 50f, - TerritoryId = 1191 - } - } - } - }; - obj257.Steps = list375; - reference272 = obj257; - ref QuestSequence reference273 = ref span132[1]; - QuestSequence obj258 = new QuestSequence - { - Sequence = 1 - }; - num2 = 9; - List list376 = new List(num2); - CollectionsMarshal.SetCount(list376, num2); - Span span133 = CollectionsMarshal.AsSpan(list376); - ref QuestStep reference274 = ref span133[0]; - QuestStep questStep16 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-212.22218f, 30f, -620.3656f), 1191); - SkipConditions skipConditions12 = new SkipConditions(); - SkipStepConditions skipStepConditions12 = new SkipStepConditions(); - num3 = 6; - List list377 = new List(num3); - CollectionsMarshal.SetCount(list377, num3); - Span span134 = CollectionsMarshal.AsSpan(list377); - span134[0] = null; - span134[1] = null; - span134[2] = null; - span134[3] = null; - span134[4] = null; - span134[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - skipStepConditions12.CompletionQuestVariablesFlags = list377; - skipStepConditions12.Flying = ELockedSkipCondition.Unlocked; - skipConditions12.StepIf = skipStepConditions12; - questStep16.SkipConditions = skipConditions12; - reference274 = questStep16; - ref QuestStep reference275 = ref span133[1]; - QuestStep obj259 = new QuestStep(EInteractionType.UseItem, 2014079u, new Vector3(-213.24487f, 30.838379f, -618.0362f), 1191) - { - ItemId = 2003594u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - num3 = 6; - List list378 = new List(num3); - CollectionsMarshal.SetCount(list378, num3); - Span span135 = CollectionsMarshal.AsSpan(list378); - span135[0] = null; - span135[1] = null; - span135[2] = null; - span135[3] = null; - span135[4] = null; - span135[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj259.CompletionQuestVariablesFlags = list378; - reference275 = obj259; - ref QuestStep reference276 = ref span133[2]; - QuestStep obj260 = new QuestStep(EInteractionType.UseItem, 2014079u, new Vector3(-213.24487f, 30.838379f, -618.0362f), 1191) - { - StopDistance = 0.25f, - Fly = true, - ItemId = 2003594u - }; - num3 = 6; - List list379 = new List(num3); - CollectionsMarshal.SetCount(list379, num3); - Span span136 = CollectionsMarshal.AsSpan(list379); - span136[0] = null; - span136[1] = null; - span136[2] = null; - span136[3] = null; - span136[4] = null; - span136[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj260.CompletionQuestVariablesFlags = list379; - reference276 = obj260; - ref QuestStep reference277 = ref span133[3]; - QuestStep questStep17 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-274.73184f, 36.99997f, -506.5031f), 1191); - SkipConditions skipConditions13 = new SkipConditions(); - SkipStepConditions skipStepConditions13 = new SkipStepConditions(); - num3 = 6; - List list380 = new List(num3); - CollectionsMarshal.SetCount(list380, num3); - Span span137 = CollectionsMarshal.AsSpan(list380); - span137[0] = null; - span137[1] = null; - span137[2] = null; - span137[3] = null; - span137[4] = null; - span137[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions13.CompletionQuestVariablesFlags = list380; - skipStepConditions13.Flying = ELockedSkipCondition.Unlocked; - skipConditions13.StepIf = skipStepConditions13; - questStep17.SkipConditions = skipConditions13; - reference277 = questStep17; - ref QuestStep reference278 = ref span133[4]; - QuestStep obj261 = new QuestStep(EInteractionType.UseItem, 2014078u, new Vector3(-272.8161f, 37.857544f, -504.9058f), 1191) - { - ItemId = 2003594u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - num3 = 6; - List list381 = new List(num3); - CollectionsMarshal.SetCount(list381, num3); - Span span138 = CollectionsMarshal.AsSpan(list381); - span138[0] = null; - span138[1] = null; - span138[2] = null; - span138[3] = null; - span138[4] = null; - span138[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj261.CompletionQuestVariablesFlags = list381; - reference278 = obj261; - ref QuestStep reference279 = ref span133[5]; - QuestStep obj262 = new QuestStep(EInteractionType.UseItem, 2014078u, new Vector3(-272.8161f, 37.857544f, -504.9058f), 1191) - { - StopDistance = 0.25f, - Fly = true, - ItemId = 2003594u - }; - num3 = 6; - List list382 = new List(num3); - CollectionsMarshal.SetCount(list382, num3); - Span span139 = CollectionsMarshal.AsSpan(list382); - span139[0] = null; - span139[1] = null; - span139[2] = null; - span139[3] = null; - span139[4] = null; - span139[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj262.CompletionQuestVariablesFlags = list382; - reference279 = obj262; - ref QuestStep reference280 = ref span133[6]; - QuestStep questStep18 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-346.93515f, 37.00001f, -611.26953f), 1191); - SkipConditions skipConditions14 = new SkipConditions(); - SkipStepConditions skipStepConditions14 = new SkipStepConditions(); - num3 = 6; - List list383 = new List(num3); - CollectionsMarshal.SetCount(list383, num3); - Span span140 = CollectionsMarshal.AsSpan(list383); - span140[0] = null; - span140[1] = null; - span140[2] = null; - span140[3] = null; - span140[4] = null; - span140[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions14.CompletionQuestVariablesFlags = list383; - skipStepConditions14.Flying = ELockedSkipCondition.Unlocked; - skipConditions14.StepIf = skipStepConditions14; - questStep18.SkipConditions = skipConditions14; - reference280 = questStep18; - ref QuestStep reference281 = ref span133[7]; - QuestStep obj263 = new QuestStep(EInteractionType.UseItem, 2014080u, new Vector3(-349.1112f, 37.857544f, -610.5898f), 1191) - { - ItemId = 2003594u, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - num3 = 6; - List list384 = new List(num3); - CollectionsMarshal.SetCount(list384, num3); - Span span141 = CollectionsMarshal.AsSpan(list384); - span141[0] = null; - span141[1] = null; - span141[2] = null; - span141[3] = null; - span141[4] = null; - span141[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj263.CompletionQuestVariablesFlags = list384; - reference281 = obj263; - ref QuestStep reference282 = ref span133[8]; - QuestStep obj264 = new QuestStep(EInteractionType.UseItem, 2014080u, new Vector3(-349.1112f, 37.857544f, -610.5898f), 1191) - { - StopDistance = 0.25f, - Fly = true, - ItemId = 2003594u - }; - num3 = 6; - List list385 = new List(num3); - CollectionsMarshal.SetCount(list385, num3); - Span span142 = CollectionsMarshal.AsSpan(list385); - span142[0] = null; - span142[1] = null; - span142[2] = null; - span142[3] = null; - span142[4] = null; - span142[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj264.CompletionQuestVariablesFlags = list385; - reference282 = obj264; - obj258.Steps = list376; - reference273 = obj258; - ref QuestSequence reference283 = ref span132[2]; - QuestSequence obj265 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list386 = new List(num2); - CollectionsMarshal.SetCount(list386, num2); - Span span143 = CollectionsMarshal.AsSpan(list386); - span143[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-270.87784f, 30f, -577.24225f), 1191) - { - Fly = true - }; - span143[1] = new QuestStep(EInteractionType.CompleteQuest, 1049442u, new Vector3(-272.23627f, 30.001156f, -577.59973f), 1191); - obj265.Steps = list386; - reference283 = obj265; - questRoot50.QuestSequence = list374; - AddQuest(questId50, questRoot50); - } - - private static void LoadQuests103() - { - QuestId questId = new QuestId(5150); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 4; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049465u, new Vector3(-333.3944f, 43.50267f, -643.64087f), 1191) - { - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-333.3944f, 43.50267f, -643.64087f), - MaximumDistance = 50f, - TerritoryId = 1191 - } - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-316.46542f, 38.99998f, -622.67126f), 1191) - { - Mount = true - }; - span2[1] = new QuestStep(EInteractionType.Interact, 1049475u, new Vector3(-69.87109f, 36.567646f, -217.39532f), 1191) - { - Fly = true - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - ref QuestStep reference4 = ref CollectionsMarshal.AsSpan(list5)[0]; - QuestStep obj4 = new QuestStep(EInteractionType.Interact, 2014084u, new Vector3(-69.68799f, 36.972534f, -215.7168f), 1191) - { - StopDistance = 4.5f - }; - int num3 = 1; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - CollectionsMarshal.AsSpan(list6)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGZF002_05150_Q1_100_008") - }; - obj4.DialogueChoices = list6; - reference4 = obj4; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference5 = ref span[3]; - QuestSequence obj5 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - Span span3 = CollectionsMarshal.AsSpan(list7); - span3[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-316.46542f, 38.99998f, -622.67126f), 1191) - { - Fly = true - }; - span3[1] = new QuestStep(EInteractionType.CompleteQuest, 1049465u, new Vector3(-333.3944f, 43.50267f, -643.64087f), 1191); - obj5.Steps = list7; - reference5 = obj5; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(5151); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - CollectionsMarshal.AsSpan(list8)[0] = "liza"; - questRoot2.Author = list8; - num = 6; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - Span span4 = CollectionsMarshal.AsSpan(list9); - ref QuestSequence reference6 = ref span4[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050659u, new Vector3(-215.198f, 36.994804f, -497.85614f), 1191) - { - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-215.198f, 36.994804f, -497.85614f), - MaximumDistance = 50f, - TerritoryId = 1191 - } - } - } - }; - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span4[1]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.Interact, 1050659u, new Vector3(-215.198f, 36.994804f, -497.85614f), 1191); - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span4[2]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Interact, 1050659u, new Vector3(-185.05022f, 30.989729f, -513.96875f), 1191) - { - StopDistance = 0.5f, - Fly = true - }; - obj8.Steps = list12; - reference8 = obj8; - ref QuestSequence reference9 = ref span4[3]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.Interact, 1050659u, new Vector3(-196.74313f, 34.982788f, -643.43665f), 1191) - { - StopDistance = 0.5f, - Fly = true - }; - obj9.Steps = list13; - reference9 = obj9; - ref QuestSequence reference10 = ref span4[4]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.Interact, 1050659u, new Vector3(-165.5087f, 38.967262f, -706.4246f), 1191) - { - StopDistance = 0.5f, - Fly = true - }; - obj10.Steps = list14; - reference10 = obj10; - ref QuestSequence reference11 = ref span4[5]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050659u, new Vector3(-215.198f, 36.994804f, -497.85614f), 1191) - { - Fly = true - }; - obj11.Steps = list15; - reference11 = obj11; - questRoot2.QuestSequence = list9; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(5152); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - CollectionsMarshal.AsSpan(list16)[0] = "liza"; - questRoot3.Author = list16; - num = 6; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - Span span5 = CollectionsMarshal.AsSpan(list17); - ref QuestSequence reference12 = ref span5[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050660u, new Vector3(421.8661f, 90f, -476.67664f), 1191) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(421.8661f, 90f, -476.67664f), - MaximumDistance = 50f, - TerritoryId = 1191 - } - } - } - }; - obj12.Steps = list18; - reference12 = obj12; - ref QuestSequence reference13 = ref span5[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.Interact, 1050661u, new Vector3(-136.09528f, 26.068634f, -509.39197f), 1191) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts - }; - obj13.Steps = list19; - reference13 = obj13; - ref QuestSequence reference14 = ref span5[2]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.Emote, 1050661u, new Vector3(-136.09528f, 26.068634f, -509.39197f), 1191) - { - Fly = true, - Emote = EEmote.Cheer - }; - obj14.Steps = list20; - reference14 = obj14; - ref QuestSequence reference15 = ref span5[3]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.Emote, 1050662u, new Vector3(149.7367f, 48.34552f, -463.5844f), 1191) - { - Fly = true, - Emote = EEmote.Cheer - }; - obj15.Steps = list21; - reference15 = obj15; - ref QuestSequence reference16 = ref span5[4]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.Emote, 1050727u, new Vector3(309.65125f, 71.38871f, -473.68585f), 1191) - { - StopDistance = 0.25f, - Fly = true, - Emote = EEmote.Psych - }; - obj16.Steps = list22; - reference16 = obj16; - ref QuestSequence reference17 = ref span5[5]; - QuestSequence obj17 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050660u, new Vector3(421.8661f, 90f, -476.67664f), 1191) - { - StopDistance = 0.25f, - Fly = true - }; - obj17.Steps = list23; - reference17 = obj17; - questRoot3.QuestSequence = list17; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(5153); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - CollectionsMarshal.AsSpan(list24)[0] = "liza"; - questRoot4.Author = list24; - num = 4; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - Span span6 = CollectionsMarshal.AsSpan(list25); - ref QuestSequence reference18 = ref span6[0]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049443u, new Vector3(-177.56934f, 29.999998f, -601.15967f), 1191); - obj18.Steps = list26; - reference18 = obj18; - ref QuestSequence reference19 = ref span6[1]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - ref QuestStep reference20 = ref CollectionsMarshal.AsSpan(list27)[0]; - QuestStep obj20 = new QuestStep(EInteractionType.Combat, null, new Vector3(352.85733f, 82.089386f, -355.71875f), 1191) - { - StopDistance = 0.25f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - CollectionsMarshal.AsSpan(list28)[0] = 17677u; - obj20.KillEnemyDataIds = list28; - reference20 = obj20; - obj19.Steps = list27; - reference19 = obj19; - ref QuestSequence reference21 = ref span6[2]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.Interact, 1050664u, new Vector3(354.3297f, 82.042984f, -355.7641f), 1191) - { - StopDistance = 7f - }; - obj21.Steps = list29; - reference21 = obj21; - ref QuestSequence reference22 = ref span6[3]; - QuestSequence obj22 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.CompleteQuest, 1049443u, new Vector3(-177.56934f, 29.999998f, -601.15967f), 1191) - { - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts - }; - obj22.Steps = list30; - reference22 = obj22; - questRoot4.QuestSequence = list25; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(5154); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list31 = new List(num); - CollectionsMarshal.SetCount(list31, num); - CollectionsMarshal.AsSpan(list31)[0] = "liza"; - questRoot5.Author = list31; - num = 3; - List list32 = new List(num); - CollectionsMarshal.SetCount(list32, num); - Span span7 = CollectionsMarshal.AsSpan(list32); - ref QuestSequence reference23 = ref span7[0]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051378u, new Vector3(-184.89362f, 29.978386f, -584.52734f), 1191); - obj23.Steps = list33; - reference23 = obj23; - ref QuestSequence reference24 = ref span7[1]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.Interact, 1051379u, new Vector3(-324.51367f, 36.98768f, -554.00934f), 1191) - { - Fly = true - }; - obj24.Steps = list34; - reference24 = obj24; - ref QuestSequence reference25 = ref span7[2]; - QuestSequence obj25 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051380u, new Vector3(-323.72015f, 36.98504f, -555.8404f), 1191); - obj25.Steps = list35; - reference25 = obj25; - questRoot5.QuestSequence = list32; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(5155); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - CollectionsMarshal.AsSpan(list36)[0] = "liza"; - questRoot6.Author = list36; - num = 3; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - Span span8 = CollectionsMarshal.AsSpan(list37); - ref QuestSequence reference26 = ref span8[0]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049500u, new Vector3(-591.76013f, -2.503842f, -502.09814f), 1191) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-591.76013f, -2.503842f, -502.09814f), - MaximumDistance = 50f, - TerritoryId = 1191 - } - } - } - }; - obj26.Steps = list38; - reference26 = obj26; - ref QuestSequence reference27 = ref span8[1]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - Span span9 = CollectionsMarshal.AsSpan(list39); - ref QuestStep reference28 = ref span9[0]; - QuestStep obj28 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-731.0091f, 10.949384f, -113.12315f), 1191) - { - Fly = true - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 6; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - Span span10 = CollectionsMarshal.AsSpan(list40); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions.CompletionQuestVariablesFlags = list40; - skipConditions.StepIf = skipStepConditions; - obj28.SkipConditions = skipConditions; - reference28 = obj28; - ref QuestStep reference29 = ref span9[1]; - QuestStep obj29 = new QuestStep(EInteractionType.Interact, 2014091u, new Vector3(-732.44836f, 11.459534f, -110.185425f), 1191) - { - StopDistance = 4f - }; - num3 = 6; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - Span span11 = CollectionsMarshal.AsSpan(list41); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj29.CompletionQuestVariablesFlags = list41; - reference29 = obj29; - ref QuestStep reference30 = ref span9[2]; - QuestStep obj30 = new QuestStep(EInteractionType.Interact, 2014092u, new Vector3(-771.93866f, 8.2855835f, -37.583008f), 1191) - { - Fly = true - }; - num3 = 6; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - Span span12 = CollectionsMarshal.AsSpan(list42); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj30.CompletionQuestVariablesFlags = list42; - reference30 = obj30; - ref QuestStep reference31 = ref span9[3]; - QuestStep obj31 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-646.74786f, 17.395247f, 39.380535f), 1191) - { - Fly = true - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 6; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - Span span13 = CollectionsMarshal.AsSpan(list43); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions2.CompletionQuestVariablesFlags = list43; - skipConditions2.StepIf = skipStepConditions2; - obj31.SkipConditions = skipConditions2; - reference31 = obj31; - ref QuestStep reference32 = ref span9[4]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 2014093u, new Vector3(-645.3804f, 17.837708f, 39.230957f), 1191); - num3 = 6; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - Span span14 = CollectionsMarshal.AsSpan(list44); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list44; - reference32 = questStep; - obj27.Steps = list39; - reference27 = obj27; - ref QuestSequence reference33 = ref span8[2]; - QuestSequence obj32 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.CompleteQuest, 1049500u, new Vector3(-591.76013f, -2.503842f, -502.09814f), 1191) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts - }; - obj32.Steps = list45; - reference33 = obj32; - questRoot6.QuestSequence = list37; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(5156); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - CollectionsMarshal.AsSpan(list46)[0] = "liza"; - questRoot7.Author = list46; - num = 4; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - Span span15 = CollectionsMarshal.AsSpan(list47); - ref QuestSequence reference34 = ref span15[0]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049501u, new Vector3(-592.7062f, -2.4803436f, -489.28055f), 1191); - obj33.Steps = list48; - reference34 = obj33; - ref QuestSequence reference35 = ref span15[1]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - Span span16 = CollectionsMarshal.AsSpan(list49); - span16[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013971u, new Vector3(-286.15247f, 59.464355f, -263.6302f), 1191) - { - AetherCurrentId = 2818471u - }; - span16[1] = new QuestStep(EInteractionType.Interact, 1050666u, new Vector3(-446.79944f, 37.14403f, -266.62097f), 1191); - obj34.Steps = list49; - reference35 = obj34; - ref QuestSequence reference36 = ref span15[2]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 2 - }; - num2 = 13; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - Span span17 = CollectionsMarshal.AsSpan(list50); - span17[0] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 17678u, new Vector3(-442.6795f, 40.021717f, -293.11053f), 1191) - { - StopDistance = 1f, - NpcWaitDistance = 5f, - DisableNavmesh = true - }; - span17[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 17678u, new Vector3(-447.5891f, 42.70318f, -318.90863f), 1191) - { - StopDistance = 1f, - NpcWaitDistance = 5f, - DisableNavmesh = true - }; - span17[2] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 17678u, new Vector3(-498.92047f, 40.894764f, -325.42456f), 1191) - { - StopDistance = 0.5f, - NpcWaitDistance = 5f, - DisableNavmesh = true - }; - ref QuestStep reference37 = ref span17[3]; - QuestStep obj36 = new QuestStep(EInteractionType.Combat, null, new Vector3(-529.6522f, 41.341557f, -311.63504f), 1191) - { - StopDistance = 0.5f, - DisableNavmesh = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list51 = new List(num3); - CollectionsMarshal.SetCount(list51, num3); - CollectionsMarshal.AsSpan(list51)[0] = new ComplexCombatData - { - DataId = 17679u, - MinimumKillCount = 1u, - IgnoreQuestMarker = true - }; - obj36.ComplexCombatData = list51; - obj36.CombatDelaySecondsAtStart = 2f; - reference37 = obj36; - span17[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-539.79065f, 42.696747f, -313.67438f), 1191); - span17[5] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 17678u, new Vector3(-549.0783f, 38.5679f, -342.1571f), 1191) - { - StopDistance = 0.5f, - NpcWaitDistance = 5f, - DisableNavmesh = true - }; - span17[6] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 17678u, new Vector3(-558.5067f, 35.95048f, -376.88058f), 1191) - { - StopDistance = 0.5f, - NpcWaitDistance = 5f, - DisableNavmesh = true - }; - span17[7] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 17678u, new Vector3(-596.211f, 30.139477f, -387.31094f), 1191) - { - StopDistance = 0.5f, - NpcWaitDistance = 5f, - DisableNavmesh = true - }; - span17[8] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 17678u, new Vector3(-608.17377f, 17.933014f, -420.98196f), 1191) - { - StopDistance = 0.5f, - NpcWaitDistance = 5f, - DisableNavmesh = true - }; - span17[9] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 17678u, new Vector3(-611.266f, 10.040784f, -443.45764f), 1191) - { - StopDistance = 0.5f, - NpcWaitDistance = 5f, - DisableNavmesh = true - }; - span17[10] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 17678u, new Vector3(-609.279f, 1.6734335f, -468.76624f), 1191) - { - StopDistance = 0.5f, - NpcWaitDistance = 5f, - DisableNavmesh = true - }; - span17[11] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 17678u, new Vector3(-592.7062f, -2.4803436f, -489.28055f), 1191) - { - StopDistance = 1f, - NpcWaitDistance = 5f, - DisableNavmesh = true - }; - span17[12] = new QuestStep(EInteractionType.Interact, 1049501u, new Vector3(-592.7062f, -2.4803436f, -489.28055f), 1191); - obj35.Steps = list50; - reference36 = obj35; - ref QuestSequence reference38 = ref span15[3]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - CollectionsMarshal.AsSpan(list52)[0] = new QuestStep(EInteractionType.CompleteQuest, 1049501u, new Vector3(-592.7062f, -2.4803436f, -489.28055f), 1191); - obj37.Steps = list52; - reference38 = obj37; - questRoot7.QuestSequence = list47; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(5157); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - CollectionsMarshal.AsSpan(list53)[0] = "liza"; - questRoot8.Author = list53; - num = 3; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - Span span18 = CollectionsMarshal.AsSpan(list54); - ref QuestSequence reference39 = ref span18[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049488u, new Vector3(-195.23926f, 31.00003f, 142.90063f), 1191) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.HeritageFoundElectropeStrike, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-195.23926f, 31.00003f, 142.90063f), - MaximumDistance = 50f, - TerritoryId = 1191 - } - } - } - }; - obj38.Steps = list55; - reference39 = obj38; - ref QuestSequence reference40 = ref span18[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - Span span19 = CollectionsMarshal.AsSpan(list56); - span19[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-50.850063f, 67.24198f, 182.26367f), 1191) - { - Fly = true - }; - span19[1] = new QuestStep(EInteractionType.Emote, 1050667u, new Vector3(-51.46869f, 66.87813f, 180.07166f), 1191) - { - Emote = EEmote.Poke - }; - obj39.Steps = list56; - reference40 = obj39; - ref QuestSequence reference41 = ref span18[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.CompleteQuest, 1049488u, new Vector3(-195.23926f, 31.00003f, 142.90063f), 1191) - { - AetheryteShortcut = EAetheryteLocation.HeritageFoundElectropeStrike - }; - obj40.Steps = list57; - reference41 = obj40; - questRoot8.QuestSequence = list54; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(5158); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - CollectionsMarshal.AsSpan(list58)[0] = "liza"; - questRoot9.Author = list58; - num = 3; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - Span span20 = CollectionsMarshal.AsSpan(list59); - ref QuestSequence reference42 = ref span20[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049489u, new Vector3(-250.04962f, 31.000015f, 134.7218f), 1191) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.HeritageFoundElectropeStrike, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-250.04962f, 31.000015f, 134.7218f), - MaximumDistance = 50f, - TerritoryId = 1191 - } - } - } - }; - obj41.Steps = list60; - reference42 = obj41; - ref QuestSequence reference43 = ref span20[1]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - Span span21 = CollectionsMarshal.AsSpan(list61); - ref QuestStep reference44 = ref span21[0]; - QuestStep obj43 = new QuestStep(EInteractionType.Combat, null, new Vector3(-174.01418f, 31.361284f, 268.5205f), 1191) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - Span span22 = CollectionsMarshal.AsSpan(list62); - span22[0] = 17682u; - span22[1] = 17683u; - obj43.KillEnemyDataIds = list62; - num3 = 6; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - Span span23 = CollectionsMarshal.AsSpan(list63); - span23[0] = null; - span23[1] = null; - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj43.CompletionQuestVariablesFlags = list63; - reference44 = obj43; - ref QuestStep reference45 = ref span21[1]; - QuestStep obj44 = new QuestStep(EInteractionType.Combat, null, new Vector3(-352.59204f, 39.809544f, -44.773865f), 1191) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - Span span24 = CollectionsMarshal.AsSpan(list64); - span24[0] = 17680u; - span24[1] = 17681u; - obj44.KillEnemyDataIds = list64; - num3 = 6; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - Span span25 = CollectionsMarshal.AsSpan(list65); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj44.CompletionQuestVariablesFlags = list65; - reference45 = obj44; - obj42.Steps = list61; - reference43 = obj42; - ref QuestSequence reference46 = ref span20[2]; - QuestSequence obj45 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.CompleteQuest, 1049489u, new Vector3(-250.04962f, 31.000015f, 134.7218f), 1191) - { - AetheryteShortcut = EAetheryteLocation.HeritageFoundElectropeStrike - }; - obj45.Steps = list66; - reference46 = obj45; - questRoot9.QuestSequence = list59; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(5159); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - CollectionsMarshal.AsSpan(list67)[0] = "liza"; - questRoot10.Author = list67; - num = 4; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - Span span26 = CollectionsMarshal.AsSpan(list68); - ref QuestSequence reference47 = ref span26[0]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049505u, new Vector3(-209.85736f, 7.49638f, 595.9104f), 1191); - obj46.Steps = list69; - reference47 = obj46; - ref QuestSequence reference48 = ref span26[1]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 1 - }; - num2 = 7; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - Span span27 = CollectionsMarshal.AsSpan(list70); - span27[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-392.35907f, -14.000012f, 635.3141f), 1191); - span27[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-415.87146f, -13.798597f, 656.2935f), 1191); - span27[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-442.4273f, -14.000011f, 696.89746f), 1191); - span27[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-457.70477f, -14.000011f, 697.2411f), 1191); - span27[4] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013973u, new Vector3(-457.66388f, -13.412781f, 693.1105f), 1191) - { - StopDistance = 4.5f, - Comment = "While counterintuitive, this is the closest aether current/msq quest", - AetherCurrentId = 2818473u - }; - span27[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-264.81693f, -2.2232819f, 665.8315f), 1191); - ref QuestStep reference49 = ref span27[6]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1050668u, new Vector3(195.08655f, 88.5662f, 669.36743f), 1191); - num3 = 1; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - CollectionsMarshal.AsSpan(list71)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGZF105_05159_Q1_100_006") - }; - questStep2.DialogueChoices = list71; - reference49 = questStep2; - obj47.Steps = list70; - reference48 = obj47; - ref QuestSequence reference50 = ref span26[2]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - Span span28 = CollectionsMarshal.AsSpan(list72); - ref QuestStep reference51 = ref span28[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2014094u, new Vector3(216.44922f, 89.15845f, 657.3739f), 1191); - num3 = 6; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - Span span29 = CollectionsMarshal.AsSpan(list73); - span29[0] = null; - span29[1] = null; - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list73; - reference51 = questStep3; - ref QuestStep reference52 = ref span28[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2014096u, new Vector3(246.8451f, 90.71484f, 646.78406f), 1191); - num3 = 6; - List list74 = new List(num3); - CollectionsMarshal.SetCount(list74, num3); - Span span30 = CollectionsMarshal.AsSpan(list74); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list74; - reference52 = questStep4; - ref QuestStep reference53 = ref span28[2]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2014217u, new Vector3(232.47119f, 89.98242f, 614.4961f), 1191); - num3 = 6; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - Span span31 = CollectionsMarshal.AsSpan(list75); - span31[0] = null; - span31[1] = null; - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list75; - reference53 = questStep5; - ref QuestStep reference54 = ref span28[3]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2014095u, new Vector3(218.34131f, 88.822754f, 621.7594f), 1191); - num3 = 6; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - Span span32 = CollectionsMarshal.AsSpan(list76); - span32[0] = null; - span32[1] = null; - span32[2] = null; - span32[3] = null; - span32[4] = null; - span32[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list76; - reference54 = questStep6; - obj48.Steps = list72; - reference50 = obj48; - ref QuestSequence reference55 = ref span26[3]; - QuestSequence obj49 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050668u, new Vector3(195.08655f, 88.5662f, 669.36743f), 1191); - obj49.Steps = list77; - reference55 = obj49; - questRoot10.QuestSequence = list68; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(5160); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list78 = new List(num); - CollectionsMarshal.SetCount(list78, num); - CollectionsMarshal.AsSpan(list78)[0] = "liza"; - questRoot11.Author = list78; - num = 4; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - Span span33 = CollectionsMarshal.AsSpan(list79); - ref QuestSequence reference56 = ref span33[0]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050805u, new Vector3(-153.09375f, 34.946026f, -581.0178f), 1191); - obj50.Steps = list80; - reference56 = obj50; - ref QuestSequence reference57 = ref span33[1]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - ref QuestStep reference58 = ref CollectionsMarshal.AsSpan(list81)[0]; - QuestStep obj52 = new QuestStep(EInteractionType.Combat, null, new Vector3(213.87216f, 92.47675f, -298.49872f), 1191) - { - StopDistance = 0.25f, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - CollectionsMarshal.AsSpan(list82)[0] = 17684u; - obj52.KillEnemyDataIds = list82; - reference58 = obj52; - obj51.Steps = list81; - reference57 = obj51; - ref QuestSequence reference59 = ref span33[2]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.Interact, 1050803u, new Vector3(217.57837f, 92.40237f, -296.19293f), 1191) - { - StopDistance = 7f - }; - obj53.Steps = list83; - reference59 = obj53; - ref QuestSequence reference60 = ref span33[3]; - QuestSequence obj54 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - Span span34 = CollectionsMarshal.AsSpan(list84); - span34[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(184.68884f, 99.24859f, -171.97504f), 1191); - span34[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(148.14713f, 100.07344f, -135.20776f), 1191); - span34[2] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013966u, new Vector3(77.53113f, 93.095215f, -144.9455f), 1191) - { - AetherCurrentId = 2818468u - }; - span34[3] = new QuestStep(EInteractionType.CompleteQuest, 1050946u, new Vector3(-153.09375f, 34.946026f, -581.0178f), 1191) - { - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts - }; - obj54.Steps = list84; - reference60 = obj54; - questRoot11.QuestSequence = list79; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(5161); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - CollectionsMarshal.AsSpan(list85)[0] = "liza"; - questRoot12.Author = list85; - num = 5; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - Span span35 = CollectionsMarshal.AsSpan(list86); - ref QuestSequence reference61 = ref span35[0]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050806u, new Vector3(-151.99518f, 34.94368f, -581.23145f), 1191) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-151.99518f, 34.94368f, -581.23145f), - MaximumDistance = 50f, - TerritoryId = 1191 - } - } - } - }; - obj55.Steps = list87; - reference61 = obj55; - ref QuestSequence reference62 = ref span35[1]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 1050802u, new Vector3(-153.09375f, 34.946026f, -581.0178f), 1191); - obj56.Steps = list88; - reference62 = obj56; - ref QuestSequence reference63 = ref span35[2]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - ref QuestStep reference64 = ref CollectionsMarshal.AsSpan(list89)[0]; - QuestStep obj58 = new QuestStep(EInteractionType.Interact, 1050807u, new Vector3(-165.97241f, 25.979595f, -502.80005f), 1191) - { - Fly = true - }; - num3 = 1; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - CollectionsMarshal.AsSpan(list90)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZF202_05161_Q1_000_001"), - Answer = new ExcelRef("TEXT_KINGZF202_05161_A1_000_003") - }; - obj58.DialogueChoices = list90; - reference64 = obj58; - obj57.Steps = list89; - reference63 = obj57; - ref QuestSequence reference65 = ref span35[3]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - Span span36 = CollectionsMarshal.AsSpan(list91); - ref QuestStep reference66 = ref span36[0]; - QuestStep obj60 = new QuestStep(EInteractionType.Interact, 2014035u, new Vector3(-61.478638f, 35.355103f, -294.75854f), 1191) - { - Fly = true - }; - num3 = 6; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - Span span37 = CollectionsMarshal.AsSpan(list92); - span37[0] = null; - span37[1] = null; - span37[2] = null; - span37[3] = null; - span37[4] = null; - span37[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj60.CompletionQuestVariablesFlags = list92; - reference66 = obj60; - ref QuestStep reference67 = ref span36[1]; - QuestStep obj61 = new QuestStep(EInteractionType.Interact, 2014036u, new Vector3(-99.53461f, 36.9115f, -233.47827f), 1191) - { - Fly = true - }; - num3 = 6; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - Span span38 = CollectionsMarshal.AsSpan(list93); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj61.CompletionQuestVariablesFlags = list93; - reference67 = obj61; - ref QuestStep reference68 = ref span36[2]; - QuestStep obj62 = new QuestStep(EInteractionType.Interact, 2014037u, new Vector3(-38.31543f, 37.979614f, -221.5763f), 1191) - { - Fly = true - }; - num3 = 6; - List list94 = new List(num3); - CollectionsMarshal.SetCount(list94, num3); - Span span39 = CollectionsMarshal.AsSpan(list94); - span39[0] = null; - span39[1] = null; - span39[2] = null; - span39[3] = null; - span39[4] = null; - span39[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj62.CompletionQuestVariablesFlags = list94; - reference68 = obj62; - obj59.Steps = list91; - reference65 = obj59; - ref QuestSequence reference69 = ref span35[4]; - QuestSequence obj63 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050802u, new Vector3(-153.09375f, 34.946026f, -581.0178f), 1191) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts, - NextQuestId = new QuestId(5162) - }; - obj63.Steps = list95; - reference69 = obj63; - questRoot12.QuestSequence = list86; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(5162); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - CollectionsMarshal.AsSpan(list96)[0] = "liza"; - questRoot13.Author = list96; - num = 5; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - Span span40 = CollectionsMarshal.AsSpan(list97); - ref QuestSequence reference70 = ref span40[0]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050802u, new Vector3(-153.09375f, 34.946026f, -581.0178f), 1191) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-153.09375f, 34.946026f, -581.0178f), - MaximumDistance = 50f, - TerritoryId = 1191 - } - } - } - }; - obj64.Steps = list98; - reference70 = obj64; - ref QuestSequence reference71 = ref span40[1]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 1050809u, new Vector3(-59.372925f, 42.99715f, -637.2626f), 1191) - { - Fly = true - }; - obj65.Steps = list99; - reference71 = obj65; - ref QuestSequence reference72 = ref span40[2]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.Interact, 1050810u, new Vector3(-44.480103f, 33.495888f, -306.99628f), 1191) - { - Fly = true - }; - obj66.Steps = list100; - reference72 = obj66; - ref QuestSequence reference73 = ref span40[3]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.Interact, 1050810u, new Vector3(516.28033f, 145.60376f, 228.34976f), 1191) - { - AetheryteShortcut = EAetheryteLocation.HeritageFoundYyasulaniStation - }; - obj67.Steps = list101; - reference73 = obj67; - ref QuestSequence reference74 = ref span40[4]; - QuestSequence obj68 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050806u, new Vector3(-151.99518f, 34.94368f, -581.23145f), 1191) - { - StopDistance = 5f, - NextQuestId = new QuestId(5163) - }; - obj68.Steps = list102; - reference74 = obj68; - questRoot13.QuestSequence = list97; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(5163); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - CollectionsMarshal.AsSpan(list103)[0] = "liza"; - questRoot14.Author = list103; - num = 4; - List list104 = new List(num); - CollectionsMarshal.SetCount(list104, num); - Span span41 = CollectionsMarshal.AsSpan(list104); - ref QuestSequence reference75 = ref span41[0]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050806u, new Vector3(-151.99518f, 34.94368f, -581.23145f), 1191) - { - StopDistance = 5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-153.09375f, 34.946026f, -581.0178f), - MaximumDistance = 50f, - TerritoryId = 1191 - } - } - } - }; - obj69.Steps = list105; - reference75 = obj69; - ref QuestSequence reference76 = ref span41[1]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.Interact, 1050957u, new Vector3(-59.372925f, 42.99715f, -637.2626f), 1191) - { - Fly = true - }; - obj70.Steps = list106; - reference76 = obj70; - ref QuestSequence reference77 = ref span41[2]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - Span span42 = CollectionsMarshal.AsSpan(list107); - ref QuestStep reference78 = ref span42[0]; - QuestStep obj72 = new QuestStep(EInteractionType.Combat, 2014063u, new Vector3(46.00586f, 34.01233f, -411.33746f), 1191) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - CollectionsMarshal.AsSpan(list108)[0] = 17685u; - obj72.KillEnemyDataIds = list108; - num3 = 6; - List list109 = new List(num3); - CollectionsMarshal.SetCount(list109, num3); - Span span43 = CollectionsMarshal.AsSpan(list109); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj72.CompletionQuestVariablesFlags = list109; - reference78 = obj72; - ref QuestStep reference79 = ref span42[1]; - QuestStep obj73 = new QuestStep(EInteractionType.Combat, 2014077u, new Vector3(-22.110352f, 34.6532f, -268.9403f), 1191) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list110 = new List(num3); - CollectionsMarshal.SetCount(list110, num3); - CollectionsMarshal.AsSpan(list110)[0] = 17685u; - obj73.KillEnemyDataIds = list110; - num3 = 6; - List list111 = new List(num3); - CollectionsMarshal.SetCount(list111, num3); - Span span44 = CollectionsMarshal.AsSpan(list111); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj73.CompletionQuestVariablesFlags = list111; - reference79 = obj73; - obj71.Steps = list107; - reference77 = obj71; - ref QuestSequence reference80 = ref span41[3]; - QuestSequence obj74 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050811u, new Vector3(-97.0932f, 28.796848f, -446.7079f), 1191) - { - Fly = true - }; - obj74.Steps = list112; - reference80 = obj74; - questRoot14.QuestSequence = list104; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(5164); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list113 = new List(num); - CollectionsMarshal.SetCount(list113, num); - CollectionsMarshal.AsSpan(list113)[0] = "liza"; - questRoot15.Author = list113; - num = 3; - List list114 = new List(num); - CollectionsMarshal.SetCount(list114, num); - Span span45 = CollectionsMarshal.AsSpan(list114); - ref QuestSequence reference81 = ref span45[0]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051388u, new Vector3(-185.47345f, 0.66f, -42.648987f), 1186); - obj75.Steps = list115; - reference81 = obj75; - ref QuestSequence reference82 = ref span45[1]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - Span span46 = CollectionsMarshal.AsSpan(list116); - span46[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-445.9273f, 13.999773f, 192.44756f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineNexusArcade, - To = EAetheryteLocation.SolutionNineResidentialSector - } - }; - span46[1] = new QuestStep(EInteractionType.Interact, 1050492u, new Vector3(-446.25012f, 13.999722f, 195.23914f), 1186); - obj76.Steps = list116; - reference82 = obj76; - ref QuestSequence reference83 = ref span45[2]; - QuestSequence obj77 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - Span span47 = CollectionsMarshal.AsSpan(list117); - span47[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-445.1605f, 13.999999f, 162.65598f), 1186); - span47[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-440.51483f, 13.999909f, 154.73817f), 1186) - { - DisableNavmesh = true, - Comment = "For some reason navmesh wanders off through the whole area" - }; - span47[2] = new QuestStep(EInteractionType.CompleteQuest, 1051388u, new Vector3(-185.47345f, 0.66f, -42.648987f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineResidentialSector, - To = EAetheryteLocation.SolutionNineNexusArcade - } - }; - obj77.Steps = list117; - reference83 = obj77; - questRoot15.QuestSequence = list114; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(5165); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - CollectionsMarshal.AsSpan(list118)[0] = "liza"; - questRoot16.Author = list118; - num = 5; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - Span span48 = CollectionsMarshal.AsSpan(list119); - ref QuestSequence reference84 = ref span48[0]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - ref QuestStep reference85 = ref CollectionsMarshal.AsSpan(list120)[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.AcceptQuest, 1051389u, new Vector3(501.12158f, 59.999813f, 163.83606f), 1186); - num3 = 1; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - CollectionsMarshal.AsSpan(list121)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZG002_05165_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGZG002_05165_A1_000_002") - }; - questStep7.DialogueChoices = list121; - reference85 = questStep7; - obj78.Steps = list120; - reference84 = obj78; - ref QuestSequence reference86 = ref span48[1]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - Span span49 = CollectionsMarshal.AsSpan(list122); - ref QuestStep reference87 = ref span49[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 2014339u, new Vector3(483.08533f, 61.386963f, 196.09363f), 1186); - num3 = 6; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - Span span50 = CollectionsMarshal.AsSpan(list123); - span50[0] = null; - span50[1] = null; - span50[2] = null; - span50[3] = null; - span50[4] = null; - span50[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list123; - reference87 = questStep8; - ref QuestStep reference88 = ref span49[1]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 2014340u, new Vector3(444.3275f, 61.356445f, 242.38953f), 1186); - num3 = 6; - List list124 = new List(num3); - CollectionsMarshal.SetCount(list124, num3); - Span span51 = CollectionsMarshal.AsSpan(list124); - span51[0] = null; - span51[1] = null; - span51[2] = null; - span51[3] = null; - span51[4] = null; - span51[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list124; - reference88 = questStep9; - ref QuestStep reference89 = ref span49[2]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 2014338u, new Vector3(456.2904f, 61.41748f, 68.89441f), 1186); - num3 = 6; - List list125 = new List(num3); - CollectionsMarshal.SetCount(list125, num3); - Span span52 = CollectionsMarshal.AsSpan(list125); - span52[0] = null; - span52[1] = null; - span52[2] = null; - span52[3] = null; - span52[4] = null; - span52[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list125; - reference89 = questStep10; - obj79.Steps = list122; - reference86 = obj79; - ref QuestSequence reference90 = ref span48[2]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.Interact, 1051390u, new Vector3(500.08386f, 59.999813f, 161.4862f), 1186); - obj80.Steps = list126; - reference90 = obj80; - ref QuestSequence reference91 = ref span48[3]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.Emote, 1051391u, new Vector3(497.94763f, 59.99981f, 160.84534f), 1186) - { - Emote = EEmote.Doubt - }; - obj81.Steps = list127; - reference91 = obj81; - ref QuestSequence reference92 = ref span48[4]; - QuestSequence obj82 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051390u, new Vector3(500.08386f, 59.999813f, 161.4862f), 1186); - obj82.Steps = list128; - reference92 = obj82; - questRoot16.QuestSequence = list119; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(5166); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list129 = new List(num); - CollectionsMarshal.SetCount(list129, num); - CollectionsMarshal.AsSpan(list129)[0] = "liza"; - questRoot17.Author = list129; - num = 5; - List list130 = new List(num); - CollectionsMarshal.SetCount(list130, num); - Span span53 = CollectionsMarshal.AsSpan(list130); - ref QuestSequence reference93 = ref span53[0]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - CollectionsMarshal.AsSpan(list131)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051393u, new Vector3(-315.4193f, 14f, 155.7793f), 1186); - obj83.Steps = list131; - reference93 = obj83; - ref QuestSequence reference94 = ref span53[1]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new QuestStep(EInteractionType.Interact, 1051393u, new Vector3(-315.4193f, 14f, 155.7793f), 1186); - obj84.Steps = list132; - reference94 = obj84; - ref QuestSequence reference95 = ref span53[2]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - ref QuestStep reference96 = ref CollectionsMarshal.AsSpan(list133)[0]; - QuestStep obj86 = new QuestStep(EInteractionType.Interact, 1051393u, new Vector3(-206.10861f, 2.1999774f, 213.03752f), 1186) - { - StopDistance = 0.25f - }; - num3 = 1; - List list134 = new List(num3); - CollectionsMarshal.SetCount(list134, num3); - CollectionsMarshal.AsSpan(list134)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZG003_05166_Q2_000_000"), - Answer = new ExcelRef("TEXT_KINGZG003_05166_A2_000_001") - }; - obj86.DialogueChoices = list134; - reference96 = obj86; - obj85.Steps = list133; - reference95 = obj85; - ref QuestSequence reference97 = ref span53[3]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[0] = new QuestStep(EInteractionType.Interact, 1051393u, new Vector3(-23.899967f, -5.8484287f, 230.24123f), 1186) - { - StopDistance = 0.25f - }; - obj87.Steps = list135; - reference97 = obj87; - ref QuestSequence reference98 = ref span53[4]; - QuestSequence obj88 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051395u, new Vector3(-3.55542f, 0.0005434508f, -85.89307f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineInformationCenter, - To = EAetheryteLocation.SolutionNine - } - }; - obj88.Steps = list136; - reference98 = obj88; - questRoot17.QuestSequence = list130; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(5167); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list137 = new List(num); - CollectionsMarshal.SetCount(list137, num); - CollectionsMarshal.AsSpan(list137)[0] = "liza"; - questRoot18.Author = list137; - num = 4; - List list138 = new List(num); - CollectionsMarshal.SetCount(list138, num); - Span span54 = CollectionsMarshal.AsSpan(list138); - ref QuestSequence reference99 = ref span54[0]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051396u, new Vector3(-346.7918f, 9.519508f, 18.20398f), 1186); - obj89.Steps = list139; - reference99 = obj89; - ref QuestSequence reference100 = ref span54[1]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - Span span55 = CollectionsMarshal.AsSpan(list140); - span55[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-306.07123f, 10.014936f, 1.7894125f), 1186); - span55[1] = new QuestStep(EInteractionType.Interact, 1049242u, new Vector3(-303.7309f, 10.014902f, 1.7241821f), 1186); - obj90.Steps = list140; - reference100 = obj90; - ref QuestSequence reference101 = ref span54[2]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - Span span56 = CollectionsMarshal.AsSpan(list141); - span56[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(292.01248f, 51.401478f, 200.04631f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineResidentialSector, - To = EAetheryteLocation.SolutionNineNeonStein - } - }; - span56[1] = new QuestStep(EInteractionType.Interact, 1048081u, new Vector3(292.16443f, 51.401485f, 202.65503f), 1186); - obj91.Steps = list141; - reference101 = obj91; - ref QuestSequence reference102 = ref span54[3]; - QuestSequence obj92 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051396u, new Vector3(-346.7918f, 9.519508f, 18.20398f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineNeonStein, - To = EAetheryteLocation.SolutionNineResidentialSector - } - }; - obj92.Steps = list142; - reference102 = obj92; - questRoot18.QuestSequence = list138; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(5168); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list143 = new List(num); - CollectionsMarshal.SetCount(list143, num); - CollectionsMarshal.AsSpan(list143)[0] = "liza"; - questRoot19.Author = list143; - num = 3; - List list144 = new List(num); - CollectionsMarshal.SetCount(list144, num); - Span span57 = CollectionsMarshal.AsSpan(list144); - ref QuestSequence reference103 = ref span57[0]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051397u, new Vector3(-40.024475f, 38.80659f, -459.49493f), 1186); - obj93.Steps = list145; - reference103 = obj93; - ref QuestSequence reference104 = ref span57[1]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - Span span58 = CollectionsMarshal.AsSpan(list146); - ref QuestStep reference105 = ref span58[0]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1051400u, new Vector3(-56.351562f, 38.0566f, -347.1275f), 1186); - num3 = 6; - List list147 = new List(num3); - CollectionsMarshal.SetCount(list147, num3); - Span span59 = CollectionsMarshal.AsSpan(list147); - span59[0] = null; - span59[1] = null; - span59[2] = null; - span59[3] = null; - span59[4] = null; - span59[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list147; - reference105 = questStep11; - ref QuestStep reference106 = ref span58[1]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1051399u, new Vector3(-26.230347f, 38.056416f, -310.81104f), 1186); - num3 = 6; - List list148 = new List(num3); - CollectionsMarshal.SetCount(list148, num3); - Span span60 = CollectionsMarshal.AsSpan(list148); - span60[0] = null; - span60[1] = null; - span60[2] = null; - span60[3] = null; - span60[4] = null; - span60[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list148; - reference106 = questStep12; - ref QuestStep reference107 = ref span58[2]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1051398u, new Vector3(38.254395f, 38.0566f, -357.99194f), 1186); - num3 = 6; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - Span span61 = CollectionsMarshal.AsSpan(list149); - span61[0] = null; - span61[1] = null; - span61[2] = null; - span61[3] = null; - span61[4] = null; - span61[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list149; - reference107 = questStep13; - obj94.Steps = list146; - reference104 = obj94; - ref QuestSequence reference108 = ref span57[2]; - QuestSequence obj95 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list150 = new List(num2); - CollectionsMarshal.SetCount(list150, num2); - CollectionsMarshal.AsSpan(list150)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051397u, new Vector3(-40.024475f, 38.80659f, -459.49493f), 1186); - obj95.Steps = list150; - reference108 = obj95; - questRoot19.QuestSequence = list144; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(5169); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list151 = new List(num); - CollectionsMarshal.SetCount(list151, num); - CollectionsMarshal.AsSpan(list151)[0] = "liza"; - questRoot20.Author = list151; - num = 4; - List list152 = new List(num); - CollectionsMarshal.SetCount(list152, num); - Span span62 = CollectionsMarshal.AsSpan(list152); - ref QuestSequence reference109 = ref span62[0]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051401u, new Vector3(383.90173f, 60f, 56.839844f), 1186); - obj96.Steps = list153; - reference109 = obj96; - ref QuestSequence reference110 = ref span62[1]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - Span span63 = CollectionsMarshal.AsSpan(list154); - span63[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(292.01248f, 51.401478f, 200.04631f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineTrueVue, - To = EAetheryteLocation.SolutionNineNeonStein - } - }; - span63[1] = new QuestStep(EInteractionType.Interact, 1048081u, new Vector3(292.16443f, 51.401485f, 202.65503f), 1186); - obj97.Steps = list154; - reference110 = obj97; - ref QuestSequence reference111 = ref span62[2]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.Interact, 1051402u, new Vector3(-205.58484f, 1.9200057f, 7.583679f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineNeonStein, - To = EAetheryteLocation.SolutionNineNexusArcade - } - }; - obj98.Steps = list155; - reference111 = obj98; - ref QuestSequence reference112 = ref span62[3]; - QuestSequence obj99 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051403u, new Vector3(13.992493f, -5.845003f, 269.91675f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineNexusArcade, - To = EAetheryteLocation.SolutionNineInformationCenter - } - }; - obj99.Steps = list156; - reference112 = obj99; - questRoot20.QuestSequence = list152; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(5170); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list157 = new List(num); - CollectionsMarshal.SetCount(list157, num); - CollectionsMarshal.AsSpan(list157)[0] = "liza"; - questRoot21.Author = list157; - num = 5; - List list158 = new List(num); - CollectionsMarshal.SetCount(list158, num); - Span span64 = CollectionsMarshal.AsSpan(list158); - ref QuestSequence reference113 = ref span64[0]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051404u, new Vector3(-157.33582f, 2.1999714f, 229.69409f), 1186); - obj100.Steps = list159; - reference113 = obj100; - ref QuestSequence reference114 = ref span64[1]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - Span span65 = CollectionsMarshal.AsSpan(list160); - span65[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(322.70325f, 52.41666f, 211.24818f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineInformationCenter, - To = EAetheryteLocation.SolutionNineTrueVue - } - }; - span65[1] = new QuestStep(EInteractionType.Interact, 1049154u, new Vector3(320.27148f, 52.41666f, 211.32214f), 1186); - obj101.Steps = list160; - reference114 = obj101; - ref QuestSequence reference115 = ref span64[2]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.Interact, 1051405u, new Vector3(-156.2677f, 2.199971f, 231.79968f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineTrueVue, - To = EAetheryteLocation.SolutionNineInformationCenter - } - }; - obj102.Steps = list161; - reference115 = obj102; - ref QuestSequence reference116 = ref span64[3]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.Emote, 1051409u, new Vector3(-157.24426f, 2.1999712f, 231.21985f), 1186) - { - StopDistance = 4f, - Emote = EEmote.Psych - }; - obj103.Steps = list162; - reference116 = obj103; - ref QuestSequence reference117 = ref span64[4]; - QuestSequence obj104 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - CollectionsMarshal.AsSpan(list163)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051405u, new Vector3(-156.2677f, 2.199971f, 231.79968f), 1186); - obj104.Steps = list163; - reference117 = obj104; - questRoot21.QuestSequence = list158; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(5171); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list164 = new List(num); - CollectionsMarshal.SetCount(list164, num); - CollectionsMarshal.AsSpan(list164)[0] = "liza"; - questRoot22.Author = list164; - num = 3; - List list165 = new List(num); - CollectionsMarshal.SetCount(list165, num); - Span span66 = CollectionsMarshal.AsSpan(list165); - ref QuestSequence reference118 = ref span66[0]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - CollectionsMarshal.AsSpan(list166)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051407u, new Vector3(-182.29956f, 1.1335879E-05f, 45.059814f), 1186); - obj105.Steps = list166; - reference118 = obj105; - ref QuestSequence reference119 = ref span66[1]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.Interact, 2014345u, new Vector3(-206.92761f, 0.25933838f, -106.58429f), 1186); - obj106.Steps = list167; - reference119 = obj106; - ref QuestSequence reference120 = ref span66[2]; - QuestSequence obj107 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051407u, new Vector3(-182.29956f, 1.1335879E-05f, 45.059814f), 1186); - obj107.Steps = list168; - reference120 = obj107; - questRoot22.QuestSequence = list165; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(5172); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list169 = new List(num); - CollectionsMarshal.SetCount(list169, num); - CollectionsMarshal.AsSpan(list169)[0] = "liza"; - questRoot23.Author = list169; - num = 4; - List list170 = new List(num); - CollectionsMarshal.SetCount(list170, num); - Span span67 = CollectionsMarshal.AsSpan(list170); - ref QuestSequence reference121 = ref span67[0]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - ref QuestStep reference122 = ref CollectionsMarshal.AsSpan(list171)[0]; - QuestStep questStep14 = new QuestStep(EInteractionType.AcceptQuest, 1051069u, new Vector3(-313.43555f, 4.6900077f, -36.57599f), 1186); - num3 = 1; - List list172 = new List(num3); - CollectionsMarshal.SetCount(list172, num3); - CollectionsMarshal.AsSpan(list172)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZG009_05172_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGZG009_05172_A1_000_003") - }; - questStep14.DialogueChoices = list172; - reference122 = questStep14; - obj108.Steps = list171; - reference121 = obj108; - ref QuestSequence reference123 = ref span67[1]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.Interact, 2014292u, new Vector3(-375.93652f, 13.992493f, 144.06042f), 1186); - obj109.Steps = list173; - reference123 = obj109; - ref QuestSequence reference124 = ref span67[2]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.Instruction, null, new Vector3(-375.93652f, 13.992493f, 144.06042f), 1186) - { - Comment = "Catch the cat. Good luck!" - }; - obj110.Steps = list174; - reference124 = obj110; - ref QuestSequence reference125 = ref span67[3]; - QuestSequence obj111 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051069u, new Vector3(-313.43555f, 4.6900077f, -36.57599f), 1186); - obj111.Steps = list175; - reference125 = obj111; - questRoot23.QuestSequence = list170; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(5173); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - CollectionsMarshal.AsSpan(list176)[0] = "liza"; - questRoot24.Author = list176; - num = 5; - List list177 = new List(num); - CollectionsMarshal.SetCount(list177, num); - Span span68 = CollectionsMarshal.AsSpan(list177); - ref QuestSequence reference126 = ref span68[0]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - CollectionsMarshal.AsSpan(list178)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051381u, new Vector3(261.7074f, 59.699993f, 5.0201416f), 1186); - obj112.Steps = list178; - reference126 = obj112; - ref QuestSequence reference127 = ref span68[1]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - CollectionsMarshal.AsSpan(list179)[0] = new QuestStep(EInteractionType.Interact, 1051381u, new Vector3(261.7074f, 59.699993f, 5.0201416f), 1186); - obj113.Steps = list179; - reference127 = obj113; - ref QuestSequence reference128 = ref span68[2]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - Span span69 = CollectionsMarshal.AsSpan(list180); - ref QuestStep reference129 = ref span69[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1051382u, new Vector3(317.46387f, 70.75f, -64.01166f), 1186); - num3 = 6; - List list181 = new List(num3); - CollectionsMarshal.SetCount(list181, num3); - Span span70 = CollectionsMarshal.AsSpan(list181); - span70[0] = null; - span70[1] = null; - span70[2] = null; - span70[3] = null; - span70[4] = null; - span70[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list181; - reference129 = questStep15; - ref QuestStep reference130 = ref span69[1]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1051383u, new Vector3(363.24097f, 50.75f, 185.77856f), 1186); - num3 = 6; - List list182 = new List(num3); - CollectionsMarshal.SetCount(list182, num3); - Span span71 = CollectionsMarshal.AsSpan(list182); - span71[0] = null; - span71[1] = null; - span71[2] = null; - span71[3] = null; - span71[4] = null; - span71[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list182; - reference130 = questStep16; - ref QuestStep reference131 = ref span69[2]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1051384u, new Vector3(253.52856f, 50.3f, 189.07446f), 1186); - num3 = 6; - List list183 = new List(num3); - CollectionsMarshal.SetCount(list183, num3); - Span span72 = CollectionsMarshal.AsSpan(list183); - span72[0] = null; - span72[1] = null; - span72[2] = null; - span72[3] = null; - span72[4] = null; - span72[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list183; - reference131 = questStep17; - obj114.Steps = list180; - reference128 = obj114; - ref QuestSequence reference132 = ref span68[3]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - CollectionsMarshal.AsSpan(list184)[0] = new QuestStep(EInteractionType.Interact, 1051385u, new Vector3(451.5907f, 61.38527f, 319.44763f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineNeonStein, - To = EAetheryteLocation.SolutionNineTheArcadion - } - }; - obj115.Steps = list184; - reference132 = obj115; - ref QuestSequence reference133 = ref span68[4]; - QuestSequence obj116 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - CollectionsMarshal.AsSpan(list185)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051386u, new Vector3(453.1776f, 61.38527f, 321.85852f), 1186); - obj116.Steps = list185; - reference133 = obj116; - questRoot24.QuestSequence = list177; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(5174); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list186 = new List(num); - CollectionsMarshal.SetCount(list186, num); - CollectionsMarshal.AsSpan(list186)[0] = "liza"; - questRoot25.Author = list186; - num = 5; - List list187 = new List(num); - CollectionsMarshal.SetCount(list187, num); - Span span73 = CollectionsMarshal.AsSpan(list187); - ref QuestSequence reference134 = ref span73[0]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - CollectionsMarshal.AsSpan(list188)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050617u, new Vector3(-631.4031f, 2.9305653E-07f, 497.12354f), 1192); - obj117.Steps = list188; - reference134 = obj117; - ref QuestSequence reference135 = ref span73[1]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - Span span74 = CollectionsMarshal.AsSpan(list189); - span74[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-529.96735f, 6.402005f, 524.4711f), 1192); - span74[1] = new QuestStep(EInteractionType.Interact, 1050618u, new Vector3(-444.0833f, -0.815298f, 482.10876f), 1192); - obj118.Steps = list189; - reference135 = obj118; - ref QuestSequence reference136 = ref span73[2]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - Span span75 = CollectionsMarshal.AsSpan(list190); - span75[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-377.65292f, 6.401951f, 531.36896f), 1192); - span75[1] = new QuestStep(EInteractionType.Interact, 1050619u, new Vector3(-288.1361f, -6.1998426E-13f, 580.1632f), 1192); - obj119.Steps = list190; - reference136 = obj119; - ref QuestSequence reference137 = ref span73[3]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.UseItem, 2013899u, new Vector3(-287.31213f, 1.4190674f, 582.7573f), 1192) - { - DisableNavmesh = true, - ItemId = 2003566u - }; - obj120.Steps = list191; - reference137 = obj120; - ref QuestSequence reference138 = ref span73[4]; - QuestSequence obj121 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050619u, new Vector3(-288.1361f, -6.1998426E-13f, 580.1632f), 1192); - obj121.Steps = list192; - reference138 = obj121; - questRoot25.QuestSequence = list187; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(5175); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list193 = new List(num); - CollectionsMarshal.SetCount(list193, num); - CollectionsMarshal.AsSpan(list193)[0] = "liza"; - questRoot26.Author = list193; - num = 3; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - Span span76 = CollectionsMarshal.AsSpan(list194); - ref QuestSequence reference139 = ref span76[0]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - CollectionsMarshal.AsSpan(list195)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050620u, new Vector3(-733.79114f, 0.007321423f, 518.33374f), 1192); - obj122.Steps = list195; - reference139 = obj122; - ref QuestSequence reference140 = ref span76[1]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - Span span77 = CollectionsMarshal.AsSpan(list196); - ref QuestStep reference141 = ref span77[0]; - QuestStep obj124 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-549.43896f, 20.09976f, 630.3976f), 1192) - { - Fly = true - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 6; - List list197 = new List(num3); - CollectionsMarshal.SetCount(list197, num3); - Span span78 = CollectionsMarshal.AsSpan(list197); - span78[0] = null; - span78[1] = null; - span78[2] = null; - span78[3] = null; - span78[4] = null; - span78[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions3.CompletionQuestVariablesFlags = list197; - skipStepConditions3.Flying = ELockedSkipCondition.Locked; - skipConditions3.StepIf = skipStepConditions3; - obj124.SkipConditions = skipConditions3; - reference141 = obj124; - ref QuestStep reference142 = ref span77[1]; - QuestStep obj125 = new QuestStep(EInteractionType.Interact, 2013901u, new Vector3(-515.9838f, -0.015319824f, 625.14685f), 1192) - { - DisableNavmesh = true, - Fly = true - }; - num3 = 6; - List list198 = new List(num3); - CollectionsMarshal.SetCount(list198, num3); - Span span79 = CollectionsMarshal.AsSpan(list198); - span79[0] = null; - span79[1] = null; - span79[2] = null; - span79[3] = null; - span79[4] = null; - span79[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj125.CompletionQuestVariablesFlags = list198; - reference142 = obj125; - ref QuestStep reference143 = ref span77[2]; - QuestStep obj126 = new QuestStep(EInteractionType.Interact, 2013902u, new Vector3(-496.78802f, 0.045776367f, 668.72656f), 1192) - { - Fly = true - }; - num3 = 6; - List list199 = new List(num3); - CollectionsMarshal.SetCount(list199, num3); - Span span80 = CollectionsMarshal.AsSpan(list199); - span80[0] = null; - span80[1] = null; - span80[2] = null; - span80[3] = null; - span80[4] = null; - span80[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj126.CompletionQuestVariablesFlags = list199; - reference143 = obj126; - ref QuestStep reference144 = ref span77[3]; - QuestStep obj127 = new QuestStep(EInteractionType.Interact, 2013903u, new Vector3(-424.2771f, -0.10687256f, 660.7003f), 1192) - { - Fly = true - }; - num3 = 6; - List list200 = new List(num3); - CollectionsMarshal.SetCount(list200, num3); - Span span81 = CollectionsMarshal.AsSpan(list200); - span81[0] = null; - span81[1] = null; - span81[2] = null; - span81[3] = null; - span81[4] = null; - span81[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj127.CompletionQuestVariablesFlags = list200; - reference144 = obj127; - obj123.Steps = list196; - reference140 = obj123; - ref QuestSequence reference145 = ref span76[2]; - QuestSequence obj128 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050620u, new Vector3(-733.79114f, 0.007321423f, 518.33374f), 1192) - { - Fly = true - }; - obj128.Steps = list201; - reference145 = obj128; - questRoot26.QuestSequence = list194; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(5176); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list202 = new List(num); - CollectionsMarshal.SetCount(list202, num); - CollectionsMarshal.AsSpan(list202)[0] = "liza"; - questRoot27.Author = list202; - num = 5; - List list203 = new List(num); - CollectionsMarshal.SetCount(list203, num); - Span span82 = CollectionsMarshal.AsSpan(list203); - ref QuestSequence reference146 = ref span82[0]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050621u, new Vector3(477.1344f, -0.034497976f, 711.6654f), 1192); - obj129.Steps = list204; - reference146 = obj129; - ref QuestSequence reference147 = ref span82[1]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.Interact, 2013904u, new Vector3(199.4812f, 1.1749268f, 642.96936f), 1192); - obj130.Steps = list205; - reference147 = obj130; - ref QuestSequence reference148 = ref span82[2]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - Span span83 = CollectionsMarshal.AsSpan(list206); - span83[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(194.28456f, 0.000497818f, 628.7034f), 1192) - { - Mount = true - }; - span83[1] = new QuestStep(EInteractionType.Interact, 2013905u, new Vector3(252.30786f, 1.5411377f, 621.2711f), 1192); - obj131.Steps = list206; - reference148 = obj131; - ref QuestSequence reference149 = ref span82[3]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - CollectionsMarshal.AsSpan(list207)[0] = new QuestStep(EInteractionType.Interact, 2013909u, new Vector3(340.59656f, 23.605652f, 289.78406f), 1192); - obj132.Steps = list207; - reference149 = obj132; - ref QuestSequence reference150 = ref span82[4]; - QuestSequence obj133 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - Span span84 = CollectionsMarshal.AsSpan(list208); - span84[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(690.5917f, 37.037296f, 469.6903f), 1192); - span84[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(668.59235f, 40.20963f, 447.41943f), 1192); - ref QuestStep reference151 = ref span84[2]; - QuestStep questStep18 = new QuestStep(EInteractionType.CompleteQuest, 1050622u, new Vector3(669.36743f, 40.305832f, 417.31885f), 1192); - num3 = 1; - List list209 = new List(num3); - CollectionsMarshal.SetCount(list209, num3); - CollectionsMarshal.AsSpan(list209)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZH003_05176_Q1_000_016"), - Answer = new ExcelRef("TEXT_KINGZH003_05176_A1_000_002") - }; - questStep18.DialogueChoices = list209; - reference151 = questStep18; - obj133.Steps = list208; - reference150 = obj133; - questRoot27.QuestSequence = list203; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(5177); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list210 = new List(num); - CollectionsMarshal.SetCount(list210, num); - CollectionsMarshal.AsSpan(list210)[0] = "liza"; - questRoot28.Author = list210; - num = 5; - List list211 = new List(num); - CollectionsMarshal.SetCount(list211, num); - Span span85 = CollectionsMarshal.AsSpan(list211); - ref QuestSequence reference152 = ref span85[0]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - CollectionsMarshal.AsSpan(list212)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050623u, new Vector3(253.83374f, -0.034116313f, 439.3529f), 1192); - obj134.Steps = list212; - reference152 = obj134; - ref QuestSequence reference153 = ref span85[1]; - QuestSequence obj135 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - CollectionsMarshal.AsSpan(list213)[0] = new QuestStep(EInteractionType.Interact, 1050623u, new Vector3(253.83374f, -0.034116313f, 439.3529f), 1192); - obj135.Steps = list213; - reference153 = obj135; - ref QuestSequence reference154 = ref span85[2]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.Interact, 1050623u, new Vector3(406.71564f, 1.3939283f, 550.029f), 1192) - { - StopDistance = 0.25f, - Fly = true - }; - obj136.Steps = list214; - reference154 = obj136; - ref QuestSequence reference155 = ref span85[3]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - CollectionsMarshal.AsSpan(list215)[0] = new QuestStep(EInteractionType.Interact, 1050623u, new Vector3(577.7826f, 7.5857296f, 662.96063f), 1192) - { - StopDistance = 0.25f, - Fly = true - }; - obj137.Steps = list215; - reference155 = obj137; - ref QuestSequence reference156 = ref span85[4]; - QuestSequence obj138 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - CollectionsMarshal.AsSpan(list216)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050624u, new Vector3(581.1398f, 7.6887574f, 664.05725f), 1192) - { - StopDistance = 5f - }; - obj138.Steps = list216; - reference156 = obj138; - questRoot28.QuestSequence = list211; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(5178); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list217 = new List(num); - CollectionsMarshal.SetCount(list217, num); - CollectionsMarshal.AsSpan(list217)[0] = "liza"; - questRoot29.Author = list217; - num = 5; - List list218 = new List(num); - CollectionsMarshal.SetCount(list218, num); - Span span86 = CollectionsMarshal.AsSpan(list218); - ref QuestSequence reference157 = ref span86[0]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - CollectionsMarshal.AsSpan(list219)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050625u, new Vector3(628.6869f, 24.99949f, -283.3753f), 1192); - obj139.Steps = list219; - reference157 = obj139; - ref QuestSequence reference158 = ref span86[1]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.Interact, 1050626u, new Vector3(351.27795f, 48.949432f, -726.4973f), 1192); - obj140.Steps = list220; - reference158 = obj140; - ref QuestSequence reference159 = ref span86[2]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - ref QuestStep reference160 = ref CollectionsMarshal.AsSpan(list221)[0]; - QuestStep obj142 = new QuestStep(EInteractionType.Combat, null, new Vector3(300.00925f, 44.086937f, -577.9258f), 1192) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list222 = new List(num3); - CollectionsMarshal.SetCount(list222, num3); - CollectionsMarshal.AsSpan(list222)[0] = 17686u; - obj142.KillEnemyDataIds = list222; - reference160 = obj142; - obj141.Steps = list221; - reference159 = obj141; - ref QuestSequence reference161 = ref span86[3]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - CollectionsMarshal.AsSpan(list223)[0] = new QuestStep(EInteractionType.Interact, 1050627u, new Vector3(302.90674f, 43.98048f, -574.67004f), 1192) - { - StopDistance = 7f - }; - obj143.Steps = list223; - reference161 = obj143; - ref QuestSequence reference162 = ref span86[4]; - QuestSequence obj144 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - Span span87 = CollectionsMarshal.AsSpan(list224); - span87[0] = new QuestStep(EInteractionType.AttuneAetherCurrent, 2013981u, new Vector3(315.20557f, 43.71704f, -539.3302f), 1192) - { - AetherCurrentId = 2818486u - }; - span87[1] = new QuestStep(EInteractionType.CompleteQuest, 1050631u, new Vector3(354.4823f, 48.940357f, -726.1311f), 1192); - obj144.Steps = list224; - reference162 = obj144; - questRoot29.QuestSequence = list218; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(5179); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list225 = new List(num); - CollectionsMarshal.SetCount(list225, num); - CollectionsMarshal.AsSpan(list225)[0] = "liza"; - questRoot30.Author = list225; - num = 3; - List list226 = new List(num); - CollectionsMarshal.SetCount(list226, num); - Span span88 = CollectionsMarshal.AsSpan(list226); - ref QuestSequence reference163 = ref span88[0]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050632u, new Vector3(538.9944f, 25.001822f, -194.3847f), 1192); - obj145.Steps = list227; - reference163 = obj145; - ref QuestSequence reference164 = ref span88[1]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.Interact, 2013913u, new Vector3(226.00134f, 35.75183f, -225.97089f), 1192); - obj146.Steps = list228; - reference164 = obj146; - ref QuestSequence reference165 = ref span88[2]; - QuestSequence obj147 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050633u, new Vector3(619.5315f, 27.724146f, -172.01501f), 1192) - { - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodePyro - }; - obj147.Steps = list229; - reference165 = obj147; - questRoot30.QuestSequence = list226; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(5180); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list230 = new List(num); - CollectionsMarshal.SetCount(list230, num); - CollectionsMarshal.AsSpan(list230)[0] = "liza"; - questRoot31.Author = list230; - num = 4; - List list231 = new List(num); - CollectionsMarshal.SetCount(list231, num); - Span span89 = CollectionsMarshal.AsSpan(list231); - ref QuestSequence reference166 = ref span89[0]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050634u, new Vector3(-181.62811f, 30.999819f, 22.079773f), 1192); - obj148.Steps = list232; - reference166 = obj148; - ref QuestSequence reference167 = ref span89[1]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - ref QuestStep reference168 = ref CollectionsMarshal.AsSpan(list233)[0]; - QuestStep obj150 = new QuestStep(EInteractionType.Interact, 1050635u, new Vector3(-201.83112f, 29.999939f, -124.28479f), 1192) - { - Fly = true - }; - num3 = 1; - List list234 = new List(num3); - CollectionsMarshal.SetCount(list234, num3); - CollectionsMarshal.AsSpan(list234)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZH007_05180_Q1_000_005"), - Answer = new ExcelRef("TEXT_KINGZH007_05180_A1_000_001") - }; - obj150.DialogueChoices = list234; - reference168 = obj150; - obj149.Steps = list233; - reference167 = obj149; - ref QuestSequence reference169 = ref span89[2]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - ref QuestStep reference170 = ref CollectionsMarshal.AsSpan(list235)[0]; - QuestStep obj152 = new QuestStep(EInteractionType.Interact, 1050636u, new Vector3(-410.5135f, 30.49998f, -131.94476f), 1192) - { - Fly = true - }; - num3 = 1; - List list236 = new List(num3); - CollectionsMarshal.SetCount(list236, num3); - CollectionsMarshal.AsSpan(list236)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGZH007_05180_Q2_000_013"), - Answer = new ExcelRef("TEXT_KINGZH007_05180_A2_000_003") - }; - obj152.DialogueChoices = list236; - reference170 = obj152; - obj151.Steps = list235; - reference169 = obj151; - ref QuestSequence reference171 = ref span89[3]; - QuestSequence obj153 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - CollectionsMarshal.AsSpan(list237)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050813u, new Vector3(-277.76f, 54.31037f, -382.58948f), 1192) - { - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeAero - }; - obj153.Steps = list237; - reference171 = obj153; - questRoot31.QuestSequence = list231; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(5181); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list238 = new List(num); - CollectionsMarshal.SetCount(list238, num); - CollectionsMarshal.AsSpan(list238)[0] = "liza"; - questRoot32.Author = list238; - num = 3; - List list239 = new List(num); - CollectionsMarshal.SetCount(list239, num); - Span span90 = CollectionsMarshal.AsSpan(list239); - ref QuestSequence reference172 = ref span90[0]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050637u, new Vector3(-539.66583f, -10.000358f, -477.89734f), 1192); - obj154.Steps = list240; - reference172 = obj154; - ref QuestSequence reference173 = ref span90[1]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 1 - }; - num2 = 5; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - Span span91 = CollectionsMarshal.AsSpan(list241); - ref QuestStep reference174 = ref span91[0]; - QuestStep obj156 = new QuestStep(EInteractionType.Interact, 2013918u, new Vector3(-429.89246f, -4.5319824f, -466.45306f), 1192) - { - StopDistance = 0.25f, - Fly = true - }; - num3 = 6; - List list242 = new List(num3); - CollectionsMarshal.SetCount(list242, num3); - Span span92 = CollectionsMarshal.AsSpan(list242); - span92[0] = null; - span92[1] = null; - span92[2] = null; - span92[3] = null; - span92[4] = null; - span92[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj156.CompletionQuestVariablesFlags = list242; - reference174 = obj156; - ref QuestStep reference175 = ref span91[1]; - QuestStep obj157 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-647.346f, -5.0000005f, -455.4366f), 1192) - { - Fly = true - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 6; - List list243 = new List(num3); - CollectionsMarshal.SetCount(list243, num3); - Span span93 = CollectionsMarshal.AsSpan(list243); - span93[0] = null; - span93[1] = null; - span93[2] = null; - span93[3] = null; - span93[4] = null; - span93[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions4.CompletionQuestVariablesFlags = list243; - skipConditions4.StepIf = skipStepConditions4; - obj157.SkipConditions = skipConditions4; - reference175 = obj157; - ref QuestStep reference176 = ref span91[2]; - QuestStep obj158 = new QuestStep(EInteractionType.Interact, 2013916u, new Vector3(-648.85944f, -3.7995605f, -454.06274f), 1192) - { - Mount = false - }; - num3 = 6; - List list244 = new List(num3); - CollectionsMarshal.SetCount(list244, num3); - Span span94 = CollectionsMarshal.AsSpan(list244); - span94[0] = null; - span94[1] = null; - span94[2] = null; - span94[3] = null; - span94[4] = null; - span94[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj158.CompletionQuestVariablesFlags = list244; - reference176 = obj158; - ref QuestStep reference177 = ref span91[3]; - QuestStep obj159 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-572.3234f, -2.729274f, -703.2586f), 1192) - { - Fly = true - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 6; - List list245 = new List(num3); - CollectionsMarshal.SetCount(list245, num3); - Span span95 = CollectionsMarshal.AsSpan(list245); - span95[0] = null; - span95[1] = null; - span95[2] = null; - span95[3] = null; - span95[4] = null; - span95[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - skipStepConditions5.CompletionQuestVariablesFlags = list245; - skipConditions5.StepIf = skipStepConditions5; - obj159.SkipConditions = skipConditions5; - reference177 = obj159; - ref QuestStep reference178 = ref span91[4]; - QuestStep obj160 = new QuestStep(EInteractionType.Interact, 2013917u, new Vector3(-573.14417f, -1.0529175f, -702.05237f), 1192) - { - Mount = false - }; - num3 = 6; - List list246 = new List(num3); - CollectionsMarshal.SetCount(list246, num3); - Span span96 = CollectionsMarshal.AsSpan(list246); - span96[0] = null; - span96[1] = null; - span96[2] = null; - span96[3] = null; - span96[4] = null; - span96[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj160.CompletionQuestVariablesFlags = list246; - reference178 = obj160; - obj155.Steps = list241; - reference173 = obj155; - ref QuestSequence reference179 = ref span90[2]; - QuestSequence obj161 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050814u, new Vector3(-539.7269f, -10.000359f, -477.8363f), 1192) - { - Fly = true - }; - obj161.Steps = list247; - reference179 = obj161; - questRoot32.QuestSequence = list239; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(5182); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list248 = new List(num); - CollectionsMarshal.SetCount(list248, num); - CollectionsMarshal.AsSpan(list248)[0] = "JerryWester"; - questRoot33.Author = list248; - questRoot33.IsSeasonalQuest = true; - questRoot33.SeasonalQuestExpiry = new DateTime(2024, 8, 26, 0, 0, 0, DateTimeKind.Utc); - num = 6; - List list249 = new List(num); - CollectionsMarshal.SetCount(list249, num); - Span span97 = CollectionsMarshal.AsSpan(list249); - ref QuestSequence reference180 = ref span97[0]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - ref QuestStep reference181 = ref CollectionsMarshal.AsSpan(list250)[0]; - QuestStep obj163 = new QuestStep(EInteractionType.AcceptQuest, 1050816u, new Vector3(14.328186f, 45.665993f, 131.33435f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipAetheryteCondition obj164 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list251 = new List(num3); - CollectionsMarshal.SetCount(list251, num3); - CollectionsMarshal.AsSpan(list251)[0] = 128; - obj164.InTerritory = list251; - skipConditions6.AetheryteShortcutIf = obj164; - obj163.SkipConditions = skipConditions6; - reference181 = obj163; - obj162.Steps = list250; - reference180 = obj162; - ref QuestSequence reference182 = ref span97[1]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - Span span98 = CollectionsMarshal.AsSpan(list252); - ref QuestStep reference183 = ref span98[0]; - QuestStep obj166 = new QuestStep(EInteractionType.Interact, 1000868u, new Vector3(-192.00433f, 0.9999907f, 211.68835f), 129) - { - TargetTerritoryId = (ushort)137, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.LimsaFisher - } - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 1; - List list253 = new List(num3); - CollectionsMarshal.SetCount(list253, num3); - CollectionsMarshal.AsSpan(list253)[0] = 137; - skipStepConditions6.InTerritory = list253; - skipStepConditions6.AetheryteUnlocked = EAetheryteLocation.EasternLaNosceaCostaDelSol; - skipConditions7.StepIf = skipStepConditions6; - skipConditions7.AethernetShortcutIf = new SkipAetheryteCondition - { - AetheryteUnlocked = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj166.SkipConditions = skipConditions7; - reference183 = obj166; - span98[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 137) - { - Aetheryte = EAetheryteLocation.EasternLaNosceaCostaDelSol, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.EasternLaNosceaCostaDelSol - } - } - }; - span98[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(732.0986f, 11.349089f, 262.19138f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span98[3] = new QuestStep(EInteractionType.Interact, 1050817u, new Vector3(735.25586f, 11.306824f, 261.8601f), 137) - { - StopDistance = 5f - }; - obj165.Steps = list252; - reference182 = obj165; - ref QuestSequence reference184 = ref span97[2]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list254 = new List(num2); - CollectionsMarshal.SetCount(list254, num2); - CollectionsMarshal.AsSpan(list254)[0] = new QuestStep(EInteractionType.Interact, 1050818u, new Vector3(681.3915f, 9.601691f, 202.86865f), 137) - { - StopDistance = 5f, - Fly = true - }; - obj167.Steps = list254; - reference184 = obj167; - ref QuestSequence reference185 = ref span97[3]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - CollectionsMarshal.AsSpan(list255)[0] = new QuestStep(EInteractionType.Interact, 1050819u, new Vector3(770.13806f, 9.687993f, 246.29578f), 137) - { - Fly = true - }; - obj168.Steps = list255; - reference185 = obj168; - ref QuestSequence reference186 = ref span97[4]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - ref QuestStep reference187 = ref CollectionsMarshal.AsSpan(list256)[0]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 2014098u, new Vector3(769.0698f, 9.719971f, 246.99768f), 137); - num3 = 1; - List list257 = new List(num3); - CollectionsMarshal.SetCount(list257, num3); - CollectionsMarshal.AsSpan(list257)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_FESSUX001_05182_Q1_000_000"), - Answer = new ExcelRef("TEXT_FESSUX001_05182_A1_000_001") - }; - questStep19.DialogueChoices = list257; - reference187 = questStep19; - obj169.Steps = list256; - reference186 = obj169; - ref QuestSequence reference188 = ref span97[5]; - QuestSequence obj170 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list258 = new List(num2); - CollectionsMarshal.SetCount(list258, num2); - ref QuestStep reference189 = ref CollectionsMarshal.AsSpan(list258)[0]; - QuestStep obj171 = new QuestStep(EInteractionType.CompleteQuest, 1050820u, new Vector3(695.46045f, 9.614362f, 295.70447f), 137) - { - Fly = true - }; - num3 = 1; - List list259 = new List(num3); - CollectionsMarshal.SetCount(list259, num3); - CollectionsMarshal.AsSpan(list259)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_FESSUX001_05182_Q2_000_000"), - Answer = new ExcelRef("TEXT_FESSUX001_05182_A2_000_001") - }; - obj171.DialogueChoices = list259; - obj171.NextQuestId = new QuestId(5183); - reference189 = obj171; - obj170.Steps = list258; - reference188 = obj170; - questRoot33.QuestSequence = list249; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(5183); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list260 = new List(num); - CollectionsMarshal.SetCount(list260, num); - CollectionsMarshal.AsSpan(list260)[0] = "JerryWester"; - questRoot34.Author = list260; - questRoot34.IsSeasonalQuest = true; - questRoot34.SeasonalQuestExpiry = new DateTime(2024, 8, 26, 0, 0, 0, DateTimeKind.Utc); - num = 4; - List list261 = new List(num); - CollectionsMarshal.SetCount(list261, num); - Span span99 = CollectionsMarshal.AsSpan(list261); - ref QuestSequence reference190 = ref span99[0]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - CollectionsMarshal.AsSpan(list262)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050828u, new Vector3(694.5753f, 9.578133f, 297.59656f), 137) - { - StopDistance = 5f - }; - obj172.Steps = list262; - reference190 = obj172; - ref QuestSequence reference191 = ref span99[1]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - Span span100 = CollectionsMarshal.AsSpan(list263); - ref QuestStep reference192 = ref span100[0]; - QuestStep obj174 = new QuestStep(EInteractionType.Emote, 1050824u, new Vector3(507.68274f, 9.541115f, 428.54944f), 137) - { - Fly = true, - Emote = EEmote.Uchiwasshoi - }; - num3 = 6; - List list264 = new List(num3); - CollectionsMarshal.SetCount(list264, num3); - Span span101 = CollectionsMarshal.AsSpan(list264); - span101[0] = null; - span101[1] = null; - span101[2] = null; - span101[3] = null; - span101[4] = null; - span101[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj174.CompletionQuestVariablesFlags = list264; - reference192 = obj174; - ref QuestStep reference193 = ref span100[1]; - QuestStep obj175 = new QuestStep(EInteractionType.Emote, 1050825u, new Vector3(641.44336f, 11.697773f, 526.604f), 137) - { - Fly = true, - Emote = EEmote.Uchiwasshoi - }; - num3 = 6; - List list265 = new List(num3); - CollectionsMarshal.SetCount(list265, num3); - Span span102 = CollectionsMarshal.AsSpan(list265); - span102[0] = null; - span102[1] = null; - span102[2] = null; - span102[3] = null; - span102[4] = null; - span102[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj175.CompletionQuestVariablesFlags = list265; - reference193 = obj175; - obj173.Steps = list263; - reference191 = obj173; - ref QuestSequence reference194 = ref span99[2]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - CollectionsMarshal.AsSpan(list266)[0] = new QuestStep(EInteractionType.Interact, 1050829u, new Vector3(694.2092f, 9.619679f, 294.81946f), 137) - { - Fly = true - }; - obj176.Steps = list266; - reference194 = obj176; - ref QuestSequence reference195 = ref span99[3]; - QuestSequence obj177 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - Span span103 = CollectionsMarshal.AsSpan(list267); - span103[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(732.0986f, 11.349089f, 262.19138f), 137) - { - Fly = true - }; - ref QuestStep reference196 = ref span103[1]; - QuestStep obj178 = new QuestStep(EInteractionType.CompleteQuest, 1050817u, new Vector3(735.25586f, 11.306824f, 261.8601f), 137) - { - StopDistance = 5f - }; - num3 = 1; - List list268 = new List(num3); - CollectionsMarshal.SetCount(list268, num3); - CollectionsMarshal.AsSpan(list268)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_FESSUX002_05183_Q1_000_000"), - Answer = new ExcelRef("TEXT_FESSUX002_05183_A1_000_002") - }; - obj178.DialogueChoices = list268; - reference196 = obj178; - obj177.Steps = list267; - reference195 = obj177; - questRoot34.QuestSequence = list261; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(5184); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list269 = new List(num); - CollectionsMarshal.SetCount(list269, num); - CollectionsMarshal.AsSpan(list269)[0] = "liza"; - questRoot35.Author = list269; - questRoot35.IsSeasonalQuest = true; - questRoot35.SeasonalQuestExpiry = new DateTime(2024, 11, 4, 0, 0, 0, DateTimeKind.Utc); - num = 5; - List list270 = new List(num); - CollectionsMarshal.SetCount(list270, num); - Span span104 = CollectionsMarshal.AsSpan(list270); - ref QuestSequence reference197 = ref span104[0]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - ref QuestStep reference198 = ref CollectionsMarshal.AsSpan(list271)[0]; - QuestStep obj180 = new QuestStep(EInteractionType.AcceptQuest, 1050484u, new Vector3(-50.003845f, 6.5f, -88.39557f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipAetheryteCondition obj181 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list272 = new List(num3); - CollectionsMarshal.SetCount(list272, num3); - CollectionsMarshal.AsSpan(list272)[0] = 133; - obj181.InTerritory = list272; - skipConditions8.AetheryteShortcutIf = obj181; - obj180.SkipConditions = skipConditions8; - reference198 = obj180; - obj179.Steps = list271; - reference197 = obj179; - ref QuestSequence reference199 = ref span104[1]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - CollectionsMarshal.AsSpan(list273)[0] = new QuestStep(EInteractionType.Interact, 1050479u, new Vector3(-157.33582f, 7.982081f, -143.69421f), 133); - obj182.Steps = list273; - reference199 = obj182; - ref QuestSequence reference200 = ref span104[2]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - CollectionsMarshal.AsSpan(list274)[0] = new QuestStep(EInteractionType.Interact, 1050483u, new Vector3(-151.07965f, 5.417452f, -53.330322f), 133); - obj183.Steps = list274; - reference200 = obj183; - ref QuestSequence reference201 = ref span104[3]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.Emote, 1050483u, new Vector3(-151.07965f, 5.417452f, -53.330322f), 133) - { - Emote = EEmote.Soothe - }; - obj184.Steps = list275; - reference201 = obj184; - ref QuestSequence reference202 = ref span104[4]; - QuestSequence obj185 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - CollectionsMarshal.AsSpan(list276)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050484u, new Vector3(-50.003845f, 6.5f, -88.39557f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaConjurer, - To = EAetheryteLocation.GridaniaAmphitheatre - }, - NextQuestId = new QuestId(5185) - }; - obj185.Steps = list276; - reference202 = obj185; - questRoot35.QuestSequence = list270; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(5185); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list277 = new List(num); - CollectionsMarshal.SetCount(list277, num); - CollectionsMarshal.AsSpan(list277)[0] = "liza"; - questRoot36.Author = list277; - questRoot36.IsSeasonalQuest = true; - questRoot36.SeasonalQuestExpiry = new DateTime(2024, 11, 4, 0, 0, 0, DateTimeKind.Utc); - num = 5; - List list278 = new List(num); - CollectionsMarshal.SetCount(list278, num); - Span span105 = CollectionsMarshal.AsSpan(list278); - ref QuestSequence reference203 = ref span105[0]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - ref QuestStep reference204 = ref CollectionsMarshal.AsSpan(list279)[0]; - QuestStep obj187 = new QuestStep(EInteractionType.AcceptQuest, 1050485u, new Vector3(-48.69159f, 6.4999957f, -89.79938f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipAetheryteCondition obj188 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list280 = new List(num3); - CollectionsMarshal.SetCount(list280, num3); - CollectionsMarshal.AsSpan(list280)[0] = 133; - obj188.InTerritory = list280; - skipConditions9.AetheryteShortcutIf = obj188; - obj187.SkipConditions = skipConditions9; - reference204 = obj187; - obj186.Steps = list279; - reference203 = obj186; - ref QuestSequence reference205 = ref span105[1]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - CollectionsMarshal.AsSpan(list281)[0] = new QuestStep(EInteractionType.Interact, 1050486u, new Vector3(-105.97394f, 6.9391603f, -133.95898f), 133); - obj189.Steps = list281; - reference205 = obj189; - ref QuestSequence reference206 = ref span105[2]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - CollectionsMarshal.AsSpan(list282)[0] = new QuestStep(EInteractionType.Interact, 1050488u, new Vector3(12.619202f, 13.1293745f, -292.31714f), 133); - obj190.Steps = list282; - reference206 = obj190; - ref QuestSequence reference207 = ref span105[3]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.Interact, 1050489u, new Vector3(153.76514f, 11.213254f, -221.5763f), 133); - obj191.Steps = list283; - reference207 = obj191; - ref QuestSequence reference208 = ref span105[4]; - QuestSequence obj192 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list284 = new List(num2); - CollectionsMarshal.SetCount(list284, num2); - CollectionsMarshal.AsSpan(list284)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050484u, new Vector3(-50.003845f, 6.5f, -88.39557f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLancer, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - obj192.Steps = list284; - reference208 = obj192; - questRoot36.QuestSequence = list278; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(5186); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list285 = new List(num); - CollectionsMarshal.SetCount(list285, num); - CollectionsMarshal.AsSpan(list285)[0] = "Starr"; - questRoot37.Author = list285; - questRoot37.IsSeasonalQuest = true; - questRoot37.SeasonalQuestExpiry = new DateTime(2025, 1, 16, 0, 0, 0, DateTimeKind.Utc); - num = 5; - List list286 = new List(num); - CollectionsMarshal.SetCount(list286, num); - Span span106 = CollectionsMarshal.AsSpan(list286); - ref QuestSequence reference209 = ref span106[0]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - ref QuestStep reference210 = ref CollectionsMarshal.AsSpan(list287)[0]; - QuestStep obj194 = new QuestStep(EInteractionType.AcceptQuest, 1050356u, new Vector3(17.288391f, 45.656f, 133.95886f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list288 = new List(num3); - CollectionsMarshal.SetCount(list288, num3); - CollectionsMarshal.AsSpan(list288)[0] = 128; - skipAetheryteCondition.InTerritory = list288; - skipConditions10.AetheryteShortcutIf = skipAetheryteCondition; - obj194.SkipConditions = skipConditions10; - reference210 = obj194; - obj193.Steps = list287; - reference209 = obj193; - ref QuestSequence reference211 = ref span106[1]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - ref QuestStep reference212 = ref CollectionsMarshal.AsSpan(list289)[0]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 1050357u, new Vector3(-4.6845703f, 40.000004f, 73.3501f), 128); - num3 = 1; - List list290 = new List(num3); - CollectionsMarshal.SetCount(list290, num3); - CollectionsMarshal.AsSpan(list290)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_FESNYX101_05186_Q1_000_000"), - Answer = new ExcelRef("TEXT_FESNYX101_05186_A1_000_000") - }; - questStep20.DialogueChoices = list290; - reference212 = questStep20; - obj195.Steps = list289; - reference211 = obj195; - ref QuestSequence reference213 = ref span106[2]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - ref QuestStep reference214 = ref CollectionsMarshal.AsSpan(list291)[0]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1050358u, new Vector3(-18.143005f, 44f, -33.49359f), 128); - num3 = 1; - List list292 = new List(num3); - CollectionsMarshal.SetCount(list292, num3); - CollectionsMarshal.AsSpan(list292)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_FESNYX101_05186_Q2_000_000"), - Answer = new ExcelRef("TEXT_FESNYX101_05186_A2_000_001") - }; - questStep21.DialogueChoices = list292; - reference214 = questStep21; - obj196.Steps = list291; - reference213 = obj196; - ref QuestSequence reference215 = ref span106[3]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - ref QuestStep reference216 = ref CollectionsMarshal.AsSpan(list293)[0]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1050359u, new Vector3(-44.235962f, 39.473606f, -163.77509f), 128); - num3 = 1; - List list294 = new List(num3); - CollectionsMarshal.SetCount(list294, num3); - CollectionsMarshal.AsSpan(list294)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_FESNYX101_05186_Q3_000_000"), - Answer = new ExcelRef("TEXT_FESNYX101_05186_A3_000_000") - }; - questStep22.DialogueChoices = list294; - reference216 = questStep22; - obj197.Steps = list293; - reference215 = obj197; - ref QuestSequence reference217 = ref span106[4]; - QuestSequence obj198 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - CollectionsMarshal.AsSpan(list295)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050356u, new Vector3(17.288391f, 45.656f, 133.95886f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaCulinarian, - To = EAetheryteLocation.LimsaAftcastle - } - }; - obj198.Steps = list295; - reference217 = obj198; - questRoot37.QuestSequence = list286; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(5187); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list296 = new List(num); - CollectionsMarshal.SetCount(list296, num); - CollectionsMarshal.AsSpan(list296)[0] = "liza"; - questRoot38.Author = list296; - num = 3; - List list297 = new List(num); - CollectionsMarshal.SetCount(list297, num); - Span span107 = CollectionsMarshal.AsSpan(list297); - ref QuestSequence reference218 = ref span107[0]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - ref QuestStep reference219 = ref CollectionsMarshal.AsSpan(list298)[0]; - QuestStep questStep23 = new QuestStep(EInteractionType.AcceptQuest, 1051600u, new Vector3(111.16199f, 4f, -98.92432f), 131); - num3 = 1; - List list299 = new List(num3); - CollectionsMarshal.SetCount(list299, num3); - CollectionsMarshal.AsSpan(list299)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGYR301_05187_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGYR301_05187_A1_000_002") - }; - questStep23.DialogueChoices = list299; - reference219 = questStep23; - obj199.Steps = list298; - reference218 = obj199; - ref QuestSequence reference220 = ref span107[1]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - CollectionsMarshal.AsSpan(list300)[0] = new QuestStep(EInteractionType.Interact, 1051601u, new Vector3(-45.5177f, 7.9999995f, -100.72485f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - obj200.Steps = list300; - reference220 = obj200; - ref QuestSequence reference221 = ref span107[2]; - QuestSequence obj201 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - CollectionsMarshal.AsSpan(list301)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051600u, new Vector3(111.16199f, 4f, -98.92432f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahSapphireAvenue - } - }; - obj201.Steps = list301; - reference221 = obj201; - questRoot38.QuestSequence = list297; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(5188); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list302 = new List(num); - CollectionsMarshal.SetCount(list302, num); - CollectionsMarshal.AsSpan(list302)[0] = "liza"; - questRoot39.Author = list302; - num = 5; - List list303 = new List(num); - CollectionsMarshal.SetCount(list303, num); - Span span108 = CollectionsMarshal.AsSpan(list303); - ref QuestSequence reference222 = ref span108[0]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - CollectionsMarshal.AsSpan(list304)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050871u, new Vector3(-51.895935f, -17.97287f, 182.7268f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalTheForardCabins - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj202.Steps = list304; - reference222 = obj202; - ref QuestSequence reference223 = ref span108[1]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - Span span109 = CollectionsMarshal.AsSpan(list305); - ref QuestStep reference224 = ref span109[0]; - QuestStep obj204 = new QuestStep(EInteractionType.Interact, 1001657u, new Vector3(94.80432f, 7.9804688f, -34.042908f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahSapphireAvenue - } - }; - num3 = 6; - List list306 = new List(num3); - CollectionsMarshal.SetCount(list306, num3); - Span span110 = CollectionsMarshal.AsSpan(list306); - span110[0] = null; - span110[1] = null; - span110[2] = null; - span110[3] = null; - span110[4] = null; - span110[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj204.CompletionQuestVariablesFlags = list306; - reference224 = obj204; - ref QuestStep reference225 = ref span109[1]; - QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 1006440u, new Vector3(140.3982f, 4f, -54.154297f), 131); - num3 = 6; - List list307 = new List(num3); - CollectionsMarshal.SetCount(list307, num3); - Span span111 = CollectionsMarshal.AsSpan(list307); - span111[0] = null; - span111[1] = null; - span111[2] = null; - span111[3] = null; - span111[4] = null; - span111[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep24.CompletionQuestVariablesFlags = list307; - reference225 = questStep24; - ref QuestStep reference226 = ref span109[2]; - QuestStep questStep25 = new QuestStep(EInteractionType.Interact, 1051655u, new Vector3(137.74304f, 4f, 5.9662476f), 131); - num3 = 6; - List list308 = new List(num3); - CollectionsMarshal.SetCount(list308, num3); - Span span112 = CollectionsMarshal.AsSpan(list308); - span112[0] = null; - span112[1] = null; - span112[2] = null; - span112[3] = null; - span112[4] = null; - span112[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep25.CompletionQuestVariablesFlags = list308; - reference226 = questStep25; - obj203.Steps = list305; - reference223 = obj203; - ref QuestSequence reference227 = ref span108[2]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - CollectionsMarshal.AsSpan(list309)[0] = new QuestStep(EInteractionType.Emote, null, new Vector3(146.12386f, 4f, -23.562449f), 131) - { - StopDistance = 0.5f, - Emote = EEmote.Angry - }; - obj205.Steps = list309; - reference227 = obj205; - ref QuestSequence reference228 = ref span108[3]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - CollectionsMarshal.AsSpan(list310)[0] = new QuestStep(EInteractionType.Interact, 1051656u, new Vector3(56.443115f, 10f, 5.935669f), 131); - obj206.Steps = list310; - reference228 = obj206; - ref QuestSequence reference229 = ref span108[4]; - QuestSequence obj207 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list311 = new List(num2); - CollectionsMarshal.SetCount(list311, num2); - Span span113 = CollectionsMarshal.AsSpan(list311); - ref QuestStep reference230 = ref span113[0]; - QuestStep obj208 = new QuestStep(EInteractionType.Interact, 2012114u, new Vector3(0f, 1.15f, 10.23451f), 1255) - { - TargetTerritoryId = (ushort)131 - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 1; - List list312 = new List(num3); - CollectionsMarshal.SetCount(list312, num3); - CollectionsMarshal.AsSpan(list312)[0] = 131; - skipStepConditions7.InTerritory = list312; - skipConditions11.StepIf = skipStepConditions7; - obj208.SkipConditions = skipConditions11; - reference230 = obj208; - span113[1] = new QuestStep(EInteractionType.CompleteQuest, 1051656u, new Vector3(56.443115f, 10f, 5.935669f), 131) - { - StopDistance = 7f, - NextQuestId = new QuestId(5189) - }; - obj207.Steps = list311; - reference229 = obj207; - questRoot39.QuestSequence = list303; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(5189); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list313 = new List(num); - CollectionsMarshal.SetCount(list313, num); - CollectionsMarshal.AsSpan(list313)[0] = "liza"; - questRoot40.Author = list313; - num = 7; - List list314 = new List(num); - CollectionsMarshal.SetCount(list314, num); - Span span114 = CollectionsMarshal.AsSpan(list314); - ref QuestSequence reference231 = ref span114[0]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - CollectionsMarshal.AsSpan(list315)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051656u, new Vector3(56.443115f, 10f, 5.935669f), 131) - { - StopDistance = 7f - }; - obj209.Steps = list315; - reference231 = obj209; - ref QuestSequence reference232 = ref span114[1]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - CollectionsMarshal.AsSpan(list316)[0] = new QuestStep(EInteractionType.Interact, 2014419u, new Vector3(-158.86176f, 7.4921875f, 493.88867f), 146) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.SouthernThanalanForgottenSprings - }; - obj210.Steps = list316; - reference232 = obj210; - ref QuestSequence reference233 = ref span114[2]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list317 = new List(num2); - CollectionsMarshal.SetCount(list317, num2); - ref QuestStep reference234 = ref CollectionsMarshal.AsSpan(list317)[0]; - QuestStep obj212 = new QuestStep(EInteractionType.Interact, 1051661u, new Vector3(1.7852783f, 19.026453f, 581.62805f), 146) - { - StopDistance = 5f - }; - num3 = 1; - List list318 = new List(num3); - CollectionsMarshal.SetCount(list318, num3); - CollectionsMarshal.AsSpan(list318)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGBZ002_05189_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGBZ002_05189_A1_000_001") - }; - obj212.DialogueChoices = list318; - reference234 = obj212; - obj211.Steps = list317; - reference233 = obj211; - ref QuestSequence reference235 = ref span114[3]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list319 = new List(num2); - CollectionsMarshal.SetCount(list319, num2); - ref QuestStep reference236 = ref CollectionsMarshal.AsSpan(list319)[0]; - QuestStep obj214 = new QuestStep(EInteractionType.Combat, 1051663u, new Vector3(51.68225f, 0.7631253f, 711.57385f), 146) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list320 = new List(num3); - CollectionsMarshal.SetCount(list320, num3); - CollectionsMarshal.AsSpan(list320)[0] = 18178u; - obj214.KillEnemyDataIds = list320; - reference236 = obj214; - obj213.Steps = list319; - reference235 = obj213; - ref QuestSequence reference237 = ref span114[4]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list321 = new List(num2); - CollectionsMarshal.SetCount(list321, num2); - CollectionsMarshal.AsSpan(list321)[0] = new QuestStep(EInteractionType.Interact, 1051663u, new Vector3(51.68225f, 0.7631253f, 711.57385f), 146); - obj215.Steps = list321; - reference237 = obj215; - ref QuestSequence reference238 = ref span114[5]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list322 = new List(num2); - CollectionsMarshal.SetCount(list322, num2); - CollectionsMarshal.AsSpan(list322)[0] = new QuestStep(EInteractionType.Interact, 1051668u, new Vector3(170.42798f, 15.943722f, 897.94763f), 146) - { - Fly = true - }; - obj216.Steps = list322; - reference238 = obj216; - ref QuestSequence reference239 = ref span114[6]; - QuestSequence obj217 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list323 = new List(num2); - CollectionsMarshal.SetCount(list323, num2); - CollectionsMarshal.AsSpan(list323)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051668u, new Vector3(170.42798f, 15.943722f, 897.94763f), 146) - { - NextQuestId = new QuestId(5190) - }; - obj217.Steps = list323; - reference239 = obj217; - questRoot40.QuestSequence = list314; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(5190); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list324 = new List(num); - CollectionsMarshal.SetCount(list324, num); - CollectionsMarshal.AsSpan(list324)[0] = "liza"; - questRoot41.Author = list324; - num = 9; - List list325 = new List(num); - CollectionsMarshal.SetCount(list325, num); - Span span115 = CollectionsMarshal.AsSpan(list325); - ref QuestSequence reference240 = ref span115[0]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list326 = new List(num2); - CollectionsMarshal.SetCount(list326, num2); - CollectionsMarshal.AsSpan(list326)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051668u, new Vector3(170.42798f, 15.943722f, 897.94763f), 146); - obj218.Steps = list326; - reference240 = obj218; - ref QuestSequence reference241 = ref span115[1]; - QuestSequence obj219 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list327 = new List(num2); - CollectionsMarshal.SetCount(list327, num2); - CollectionsMarshal.AsSpan(list327)[0] = new QuestStep(EInteractionType.Interact, 1050871u, new Vector3(-51.895935f, -17.97287f, 182.7268f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalTheForardCabins - } - }; - obj219.Steps = list327; - reference241 = obj219; - ref QuestSequence reference242 = ref span115[2]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - CollectionsMarshal.AsSpan(list328)[0] = new QuestStep(EInteractionType.Interact, 1051670u, new Vector3(-15.976257f, -19.928413f, 224.90259f), 1185); - obj220.Steps = list328; - reference242 = obj220; - ref QuestSequence reference243 = ref span115[3]; - QuestSequence obj221 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list329 = new List(num2); - CollectionsMarshal.SetCount(list329, num2); - CollectionsMarshal.AsSpan(list329)[0] = new QuestStep(EInteractionType.Interact, 1051675u, new Vector3(358.23608f, 5.957184f, 428.36658f), 1190) - { - StopDistance = 1f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.ShaaloaniHhusatahwi - }; - obj221.Steps = list329; - reference243 = obj221; - ref QuestSequence reference244 = ref span115[4]; - QuestSequence obj222 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list330 = new List(num2); - CollectionsMarshal.SetCount(list330, num2); - Span span116 = CollectionsMarshal.AsSpan(list330); - span116[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(363.81656f, 5.9295864f, 435.17932f), 1190); - span116[1] = new QuestStep(EInteractionType.Interact, 1051677u, new Vector3(371.4198f, 5.95728f, 425.4978f), 1190); - obj222.Steps = list330; - reference244 = obj222; - ref QuestSequence reference245 = ref span115[5]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list331 = new List(num2); - CollectionsMarshal.SetCount(list331, num2); - CollectionsMarshal.AsSpan(list331)[0] = new QuestStep(EInteractionType.Emote, 1051677u, new Vector3(371.4198f, 5.95728f, 425.4978f), 1190) - { - Emote = EEmote.Unbound - }; - obj223.Steps = list331; - reference245 = obj223; - ref QuestSequence reference246 = ref span115[6]; - QuestSequence obj224 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list332 = new List(num2); - CollectionsMarshal.SetCount(list332, num2); - CollectionsMarshal.AsSpan(list332)[0] = new QuestStep(EInteractionType.Interact, 1051682u, new Vector3(387.5028f, -0.60167974f, 426.99304f), 1190); - obj224.Steps = list332; - reference246 = obj224; - ref QuestSequence reference247 = ref span115[7]; - QuestSequence obj225 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list333 = new List(num2); - CollectionsMarshal.SetCount(list333, num2); - Span span117 = CollectionsMarshal.AsSpan(list333); - span117[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(425.24307f, 0.7699772f, 473.79095f), 1190) - { - Fly = true - }; - span117[1] = new QuestStep(EInteractionType.Interact, 1051684u, new Vector3(426.04712f, 0.7461932f, 472.3125f), 1190); - obj225.Steps = list333; - reference247 = obj225; - ref QuestSequence reference248 = ref span115[8]; - QuestSequence obj226 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - CollectionsMarshal.AsSpan(list334)[0] = new QuestStep(EInteractionType.CompleteQuest, 1050871u, new Vector3(-51.895935f, -17.97287f, 182.7268f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalTheForardCabins - }, - NextQuestId = new QuestId(5191) - }; - obj226.Steps = list334; - reference248 = obj226; - questRoot41.QuestSequence = list325; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(5191); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list335 = new List(num); - CollectionsMarshal.SetCount(list335, num); - CollectionsMarshal.AsSpan(list335)[0] = "liza"; - questRoot42.Author = list335; - num = 11; - List list336 = new List(num); - CollectionsMarshal.SetCount(list336, num); - Span span118 = CollectionsMarshal.AsSpan(list336); - ref QuestSequence reference249 = ref span118[0]; - QuestSequence obj227 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list337 = new List(num2); - CollectionsMarshal.SetCount(list337, num2); - CollectionsMarshal.AsSpan(list337)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050871u, new Vector3(-51.895935f, -17.97287f, 182.7268f), 1185); - obj227.Steps = list337; - reference249 = obj227; - ref QuestSequence reference250 = ref span118[1]; - QuestSequence obj228 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list338 = new List(num2); - CollectionsMarshal.SetCount(list338, num2); - CollectionsMarshal.AsSpan(list338)[0] = new QuestStep(EInteractionType.SinglePlayerDuty, 1051689u, new Vector3(273.33484f, 15.999998f, 740.6576f), 1190) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalTheForardCabins, - To = EAetheryteLocation.TuliyollalXakTuralSkygate - } - }; - obj228.Steps = list338; - reference250 = obj228; - span118[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference251 = ref span118[3]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list339 = new List(num2); - CollectionsMarshal.SetCount(list339, num2); - CollectionsMarshal.AsSpan(list339)[0] = new QuestStep(EInteractionType.Interact, 1051691u, new Vector3(273.85364f, 15.999996f, 738.2771f), 1190); - obj229.Steps = list339; - reference251 = obj229; - ref QuestSequence reference252 = ref span118[4]; - QuestSequence obj230 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list340 = new List(num2); - CollectionsMarshal.SetCount(list340, num2); - CollectionsMarshal.AsSpan(list340)[0] = new QuestStep(EInteractionType.Interact, 1050871u, new Vector3(-51.895935f, -17.97287f, 182.7268f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalTheForardCabins - } - }; - obj230.Steps = list340; - reference252 = obj230; - ref QuestSequence reference253 = ref span118[5]; - QuestSequence obj231 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - CollectionsMarshal.AsSpan(list341)[0] = new QuestStep(EInteractionType.Interact, 1051672u, new Vector3(-14.816589f, -19.881973f, 223.3158f), 1185); - obj231.Steps = list341; - reference253 = obj231; - ref QuestSequence reference254 = ref span118[6]; - QuestSequence obj232 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - CollectionsMarshal.AsSpan(list342)[0] = new QuestStep(EInteractionType.Interact, 1051673u, new Vector3(-15.243774f, -19.762682f, 221.72876f), 1185) - { - StopDistance = 5f - }; - obj232.Steps = list342; - reference254 = obj232; - ref QuestSequence reference255 = ref span118[7]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list343 = new List(num2); - CollectionsMarshal.SetCount(list343, num2); - CollectionsMarshal.AsSpan(list343)[0] = new QuestStep(EInteractionType.Interact, 1051670u, new Vector3(-15.976257f, -19.928413f, 224.90259f), 1185) - { - StopDistance = 5f - }; - obj233.Steps = list343; - reference255 = obj233; - ref QuestSequence reference256 = ref span118[8]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list344 = new List(num2); - CollectionsMarshal.SetCount(list344, num2); - CollectionsMarshal.AsSpan(list344)[0] = new QuestStep(EInteractionType.Interact, 1051671u, new Vector3(-17.95996f, -19.784014f, 224.17017f), 1185) - { - StopDistance = 5f - }; - obj234.Steps = list344; - reference256 = obj234; - ref QuestSequence reference257 = ref span118[9]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list345 = new List(num2); - CollectionsMarshal.SetCount(list345, num2); - CollectionsMarshal.AsSpan(list345)[0] = new QuestStep(EInteractionType.Interact, 1051674u, new Vector3(-16.617126f, -19.752277f, 222.64429f), 1185); - obj235.Steps = list345; - reference257 = obj235; - ref QuestSequence reference258 = ref span118[10]; - QuestSequence obj236 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list346 = new List(num2); - CollectionsMarshal.SetCount(list346, num2); - Span span119 = CollectionsMarshal.AsSpan(list346); - span119[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-44.643284f, -17.972864f, 203.87883f), 1185); - span119[1] = new QuestStep(EInteractionType.CompleteQuest, 1046521u, new Vector3(-46.616333f, -17.97287f, 180.3158f), 1185) - { - StopDistance = 5f, - DisableNavmesh = true - }; - obj236.Steps = list346; - reference258 = obj236; - questRoot42.QuestSequence = list336; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(5192); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list347 = new List(num); - CollectionsMarshal.SetCount(list347, num); - CollectionsMarshal.AsSpan(list347)[0] = "liza"; - questRoot43.Author = list347; - num = 11; - List list348 = new List(num); - CollectionsMarshal.SetCount(list348, num); - Span span120 = CollectionsMarshal.AsSpan(list348); - ref QuestSequence reference259 = ref span120[0]; - QuestSequence obj237 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list349 = new List(num2); - CollectionsMarshal.SetCount(list349, num2); - CollectionsMarshal.AsSpan(list349)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051694u, new Vector3(56.595703f, -14f, 79.9115f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj237.Steps = list349; - reference259 = obj237; - ref QuestSequence reference260 = ref span120[1]; - QuestSequence obj238 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - Span span121 = CollectionsMarshal.AsSpan(list350); - ref QuestStep reference261 = ref span121[0]; - QuestStep obj239 = new QuestStep(EInteractionType.Interact, 1048501u, new Vector3(121.44653f, 42f, -347.34113f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalBrightploomPost - } - }; - num3 = 6; - List list351 = new List(num3); - CollectionsMarshal.SetCount(list351, num3); - Span span122 = CollectionsMarshal.AsSpan(list351); - span122[0] = null; - span122[1] = null; - span122[2] = null; - span122[3] = null; - span122[4] = null; - span122[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj239.CompletionQuestVariablesFlags = list351; - reference261 = obj239; - ref QuestStep reference262 = ref span121[1]; - QuestStep questStep26 = new QuestStep(EInteractionType.Interact, 1048485u, new Vector3(142.62598f, 41.999996f, -319.4477f), 1185); - num3 = 6; - List list352 = new List(num3); - CollectionsMarshal.SetCount(list352, num3); - Span span123 = CollectionsMarshal.AsSpan(list352); - span123[0] = null; - span123[1] = null; - span123[2] = null; - span123[3] = null; - span123[4] = null; - span123[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep26.CompletionQuestVariablesFlags = list352; - reference262 = questStep26; - obj238.Steps = list350; - reference260 = obj238; - ref QuestSequence reference263 = ref span120[2]; - QuestSequence obj240 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list353 = new List(num2); - CollectionsMarshal.SetCount(list353, num2); - CollectionsMarshal.AsSpan(list353)[0] = new QuestStep(EInteractionType.Interact, 1051694u, new Vector3(56.595703f, -14f, 79.9115f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalBrightploomPost, - To = EAetheryteLocation.Tuliyollal - } - }; - obj240.Steps = list353; - reference263 = obj240; - ref QuestSequence reference264 = ref span120[3]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list354 = new List(num2); - CollectionsMarshal.SetCount(list354, num2); - CollectionsMarshal.AsSpan(list354)[0] = new QuestStep(EInteractionType.Interact, 1051698u, new Vector3(-122.72839f, 27.990566f, -436.42328f), 1191); - obj241.Steps = list354; - reference264 = obj241; - ref QuestSequence reference265 = ref span120[4]; - QuestSequence obj242 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list355 = new List(num2); - CollectionsMarshal.SetCount(list355, num2); - CollectionsMarshal.AsSpan(list355)[0] = new QuestStep(EInteractionType.Interact, 1051700u, new Vector3(-183.33722f, 30f, -627.2526f), 1191) - { - Fly = true - }; - obj242.Steps = list355; - reference265 = obj242; - ref QuestSequence reference266 = ref span120[5]; - QuestSequence obj243 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list356 = new List(num2); - CollectionsMarshal.SetCount(list356, num2); - CollectionsMarshal.AsSpan(list356)[0] = new QuestStep(EInteractionType.Interact, 1048037u, new Vector3(-289.66205f, 45.88422f, -832.3644f), 1191) - { - Fly = true - }; - obj243.Steps = list356; - reference266 = obj243; - ref QuestSequence reference267 = ref span120[6]; - QuestSequence obj244 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list357 = new List(num2); - CollectionsMarshal.SetCount(list357, num2); - CollectionsMarshal.AsSpan(list357)[0] = new QuestStep(EInteractionType.Interact, 1051703u, new Vector3(-9.506409f, -6.0500045f, 269.00122f), 1186); - obj244.Steps = list357; - reference267 = obj244; - ref QuestSequence reference268 = ref span120[7]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 7 - }; - num2 = 3; - List list358 = new List(num2); - CollectionsMarshal.SetCount(list358, num2); - Span span124 = CollectionsMarshal.AsSpan(list358); - ref QuestStep reference269 = ref span124[0]; - QuestStep obj246 = new QuestStep(EInteractionType.Interact, 1051704u, new Vector3(353.96338f, 50.75f, 243.06091f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineInformationCenter, - To = EAetheryteLocation.SolutionNineTheArcadion - } - }; - num3 = 6; - List list359 = new List(num3); - CollectionsMarshal.SetCount(list359, num3); - Span span125 = CollectionsMarshal.AsSpan(list359); - span125[0] = null; - span125[1] = null; - span125[2] = null; - span125[3] = null; - span125[4] = null; - span125[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj246.CompletionQuestVariablesFlags = list359; - reference269 = obj246; - ref QuestStep reference270 = ref span124[1]; - QuestStep obj247 = new QuestStep(EInteractionType.Interact, 1048090u, new Vector3(362.87476f, 50.75f, 223.46838f), 1186) - { - StopDistance = 5f - }; - num3 = 6; - List list360 = new List(num3); - CollectionsMarshal.SetCount(list360, num3); - Span span126 = CollectionsMarshal.AsSpan(list360); - span126[0] = null; - span126[1] = null; - span126[2] = null; - span126[3] = null; - span126[4] = null; - span126[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj247.CompletionQuestVariablesFlags = list360; - reference270 = obj247; - ref QuestStep reference271 = ref span124[2]; - QuestStep questStep27 = new QuestStep(EInteractionType.Interact, 1051705u, new Vector3(344.59448f, 50.75f, 195.45276f), 1186); - num3 = 6; - List list361 = new List(num3); - CollectionsMarshal.SetCount(list361, num3); - Span span127 = CollectionsMarshal.AsSpan(list361); - span127[0] = null; - span127[1] = null; - span127[2] = null; - span127[3] = null; - span127[4] = null; - span127[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep27.CompletionQuestVariablesFlags = list361; - reference271 = questStep27; - obj245.Steps = list358; - reference268 = obj245; - ref QuestSequence reference272 = ref span120[8]; - QuestSequence obj248 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list362 = new List(num2); - CollectionsMarshal.SetCount(list362, num2); - CollectionsMarshal.AsSpan(list362)[0] = new QuestStep(EInteractionType.Interact, 1051706u, new Vector3(368.36792f, 50.75f, 219.34839f), 1186); - obj248.Steps = list362; - reference272 = obj248; - ref QuestSequence reference273 = ref span120[9]; - QuestSequence obj249 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list363 = new List(num2); - CollectionsMarshal.SetCount(list363, num2); - CollectionsMarshal.AsSpan(list363)[0] = new QuestStep(EInteractionType.Interact, 1051708u, new Vector3(307.42346f, 70.0001f, -25.0401f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineNeonStein, - To = EAetheryteLocation.SolutionNineTrueVue - } - }; - obj249.Steps = list363; - reference273 = obj249; - ref QuestSequence reference274 = ref span120[10]; - QuestSequence obj250 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list364 = new List(num2); - CollectionsMarshal.SetCount(list364, num2); - CollectionsMarshal.AsSpan(list364)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051709u, new Vector3(307.6676f, 70.00009f, -26.962769f), 1186) - { - StopDistance = 5f, - NextQuestId = new QuestId(5295) - }; - obj250.Steps = list364; - reference274 = obj250; - questRoot43.QuestSequence = list348; - AddQuest(questId43, questRoot43); - QuestId questId44 = new QuestId(5193); - QuestRoot questRoot44 = new QuestRoot(); - num = 1; - List list365 = new List(num); - CollectionsMarshal.SetCount(list365, num); - CollectionsMarshal.AsSpan(list365)[0] = "liza"; - questRoot44.Author = list365; - num = 9; - List list366 = new List(num); - CollectionsMarshal.SetCount(list366, num); - Span span128 = CollectionsMarshal.AsSpan(list366); - ref QuestSequence reference275 = ref span128[0]; - QuestSequence obj251 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list367 = new List(num2); - CollectionsMarshal.SetCount(list367, num2); - CollectionsMarshal.AsSpan(list367)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051712u, new Vector3(12.344482f, -14f, 96.17761f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalBaysideBevyMarketplace - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj251.Steps = list367; - reference275 = obj251; - ref QuestSequence reference276 = ref span128[1]; - QuestSequence obj252 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list368 = new List(num2); - CollectionsMarshal.SetCount(list368, num2); - CollectionsMarshal.AsSpan(list368)[0] = new QuestStep(EInteractionType.Interact, 2014421u, new Vector3(-65.72064f, 2.39563f, -400.22894f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - obj252.Steps = list368; - reference276 = obj252; - ref QuestSequence reference277 = ref span128[2]; - QuestSequence obj253 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list369 = new List(num2); - CollectionsMarshal.SetCount(list369, num2); - CollectionsMarshal.AsSpan(list369)[0] = new QuestStep(EInteractionType.Interact, 1051713u, new Vector3(-67.88745f, 2.4000018f, -399.64905f), 1188); - obj253.Steps = list369; - reference277 = obj253; - ref QuestSequence reference278 = ref span128[3]; - QuestSequence obj254 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list370 = new List(num2); - CollectionsMarshal.SetCount(list370, num2); - CollectionsMarshal.AsSpan(list370)[0] = new QuestStep(EInteractionType.Interact, 1051713u, new Vector3(-67.88745f, 2.4000018f, -399.64905f), 1188); - obj254.Steps = list370; - reference278 = obj254; - ref QuestSequence reference279 = ref span128[4]; - QuestSequence obj255 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list371 = new List(num2); - CollectionsMarshal.SetCount(list371, num2); - ref QuestStep reference280 = ref CollectionsMarshal.AsSpan(list371)[0]; - QuestStep obj256 = new QuestStep(EInteractionType.Interact, 1051718u, new Vector3(62.210938f, 0.7218611f, -333.94366f), 1188) - { - Fly = true - }; - num3 = 1; - List list372 = new List(num3); - CollectionsMarshal.SetCount(list372, num3); - CollectionsMarshal.AsSpan(list372)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANPEL001_05193_Q5_000_001"), - Answer = new ExcelRef("TEXT_BANPEL001_05193_A5_000_002") - }; - obj256.DialogueChoices = list372; - reference280 = obj256; - obj255.Steps = list371; - reference279 = obj255; - ref QuestSequence reference281 = ref span128[5]; - QuestSequence obj257 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list373 = new List(num2); - CollectionsMarshal.SetCount(list373, num2); - ref QuestStep reference282 = ref CollectionsMarshal.AsSpan(list373)[0]; - QuestStep obj258 = new QuestStep(EInteractionType.Interact, 1051719u, new Vector3(-42.923706f, 21.48239f, -88.76172f), 1188) - { - Fly = true - }; - num3 = 1; - List list374 = new List(num3); - CollectionsMarshal.SetCount(list374, num3); - CollectionsMarshal.AsSpan(list374)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANPEL001_05193_Q6_000_001"), - Answer = new ExcelRef("TEXT_BANPEL001_05193_A6_000_003") - }; - obj258.DialogueChoices = list374; - reference282 = obj258; - obj257.Steps = list373; - reference281 = obj257; - ref QuestSequence reference283 = ref span128[6]; - QuestSequence obj259 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list375 = new List(num2); - CollectionsMarshal.SetCount(list375, num2); - ref QuestStep reference284 = ref CollectionsMarshal.AsSpan(list375)[0]; - QuestStep obj260 = new QuestStep(EInteractionType.Interact, 1051720u, new Vector3(-183.45923f, 0.39999998f, -73.74689f), 1188) - { - Fly = true - }; - num3 = 1; - List list376 = new List(num3); - CollectionsMarshal.SetCount(list376, num3); - CollectionsMarshal.AsSpan(list376)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANPEL001_05193_Q7_000_001"), - Answer = new ExcelRef("TEXT_BANPEL001_05193_A7_000_001") - }; - obj260.DialogueChoices = list376; - reference284 = obj260; - obj259.Steps = list375; - reference283 = obj259; - ref QuestSequence reference285 = ref span128[7]; - QuestSequence obj261 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list377 = new List(num2); - CollectionsMarshal.SetCount(list377, num2); - CollectionsMarshal.AsSpan(list377)[0] = new QuestStep(EInteractionType.Interact, 1051859u, new Vector3(-73.411194f, 2.4000018f, -398.61145f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - obj261.Steps = list377; - reference285 = obj261; - ref QuestSequence reference286 = ref span128[8]; - QuestSequence obj262 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list378 = new List(num2); - CollectionsMarshal.SetCount(list378, num2); - Span span129 = CollectionsMarshal.AsSpan(list378); - span129[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(780.3438f, 13.823656f, -238.32625f), 1188) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.KozamaukaDockPoga - } - } - }; - span129[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 1188) - { - Fly = true, - Aetheryte = EAetheryteLocation.KozamaukaDockPoga, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.KozamaukaDockPoga - } - } - }; - span129[2] = new QuestStep(EInteractionType.CompleteQuest, 1051721u, new Vector3(737.5753f, 8.14118f, -278.0957f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - obj262.Steps = list378; - reference286 = obj262; - questRoot44.QuestSequence = list366; - AddQuest(questId44, questRoot44); - QuestId questId45 = new QuestId(5194); - QuestRoot questRoot45 = new QuestRoot(); - num = 1; - List list379 = new List(num); - CollectionsMarshal.SetCount(list379, num); - CollectionsMarshal.AsSpan(list379)[0] = "liza"; - questRoot45.Author = list379; - num = 8; - List list380 = new List(num); - CollectionsMarshal.SetCount(list380, num); - Span span130 = CollectionsMarshal.AsSpan(list380); - ref QuestSequence reference287 = ref span130[0]; - QuestSequence obj263 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list381 = new List(num2); - CollectionsMarshal.SetCount(list381, num2); - Span span131 = CollectionsMarshal.AsSpan(list381); - span131[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(809.655f, 17.004526f, -257.89868f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span131[1] = new QuestStep(EInteractionType.AcceptQuest, 1051710u, new Vector3(822.629f, 17.102613f, -263.20288f), 1188); - obj263.Steps = list381; - reference287 = obj263; - ref QuestSequence reference288 = ref span130[1]; - QuestSequence obj264 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list382 = new List(num2); - CollectionsMarshal.SetCount(list382, num2); - Span span132 = CollectionsMarshal.AsSpan(list382); - span132[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(809.655f, 17.004526f, -257.89868f), 1188) - { - Mount = true - }; - span132[1] = new QuestStep(EInteractionType.Interact, 2014423u, new Vector3(727.0161f, 8.010925f, -284.3214f), 1188) - { - Fly = true - }; - obj264.Steps = list382; - reference288 = obj264; - ref QuestSequence reference289 = ref span130[2]; - QuestSequence obj265 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list383 = new List(num2); - CollectionsMarshal.SetCount(list383, num2); - CollectionsMarshal.AsSpan(list383)[0] = new QuestStep(EInteractionType.Interact, 1051722u, new Vector3(798.3672f, 13.076807f, -246.69269f), 1188) - { - Fly = true - }; - obj265.Steps = list383; - reference289 = obj265; - ref QuestSequence reference290 = ref span130[3]; - QuestSequence obj266 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list384 = new List(num2); - CollectionsMarshal.SetCount(list384, num2); - CollectionsMarshal.AsSpan(list384)[0] = new QuestStep(EInteractionType.Interact, 2014424u, new Vector3(-90.62335f, 9.750427f, -515.31244f), 1188) - { - StopDistance = 0.5f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - obj266.Steps = list384; - reference290 = obj266; - ref QuestSequence reference291 = ref span130[4]; - QuestSequence obj267 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list385 = new List(num2); - CollectionsMarshal.SetCount(list385, num2); - CollectionsMarshal.AsSpan(list385)[0] = new QuestStep(EInteractionType.Interact, 2014425u, new Vector3(55.74109f, 21.896606f, -75.63898f), 1188) - { - Fly = true - }; - obj267.Steps = list385; - reference291 = obj267; - ref QuestSequence reference292 = ref span130[5]; - QuestSequence obj268 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list386 = new List(num2); - CollectionsMarshal.SetCount(list386, num2); - Span span133 = CollectionsMarshal.AsSpan(list386); - ref QuestStep reference293 = ref span133[0]; - QuestStep obj269 = new QuestStep(EInteractionType.Interact, 2014599u, new Vector3(-300.1908f, 0.38146973f, -66.78876f), 1188) - { - Fly = true - }; - num3 = 6; - List list387 = new List(num3); - CollectionsMarshal.SetCount(list387, num3); - Span span134 = CollectionsMarshal.AsSpan(list387); - span134[0] = null; - span134[1] = null; - span134[2] = null; - span134[3] = null; - span134[4] = null; - span134[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj269.CompletionQuestVariablesFlags = list387; - reference293 = obj269; - ref QuestStep reference294 = ref span133[1]; - QuestStep obj270 = new QuestStep(EInteractionType.Interact, 2014600u, new Vector3(-338.4604f, 0.38146973f, -88.944885f), 1188) - { - Fly = true - }; - num3 = 6; - List list388 = new List(num3); - CollectionsMarshal.SetCount(list388, num3); - Span span135 = CollectionsMarshal.AsSpan(list388); - span135[0] = null; - span135[1] = null; - span135[2] = null; - span135[3] = null; - span135[4] = null; - span135[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj270.CompletionQuestVariablesFlags = list388; - reference294 = obj270; - ref QuestStep reference295 = ref span133[2]; - QuestStep obj271 = new QuestStep(EInteractionType.Combat, 2014436u, new Vector3(-370.4433f, 0.38146973f, -111.436646f), 1188) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 2; - List list389 = new List(num3); - CollectionsMarshal.SetCount(list389, num3); - Span span136 = CollectionsMarshal.AsSpan(list389); - span136[0] = 18170u; - span136[1] = 18171u; - obj271.KillEnemyDataIds = list389; - num3 = 6; - List list390 = new List(num3); - CollectionsMarshal.SetCount(list390, num3); - Span span137 = CollectionsMarshal.AsSpan(list390); - span137[0] = null; - span137[1] = null; - span137[2] = null; - span137[3] = null; - span137[4] = null; - span137[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj271.CompletionQuestVariablesFlags = list390; - reference295 = obj271; - obj268.Steps = list386; - reference292 = obj268; - ref QuestSequence reference296 = ref span130[6]; - QuestSequence obj272 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list391 = new List(num2); - CollectionsMarshal.SetCount(list391, num2); - CollectionsMarshal.AsSpan(list391)[0] = new QuestStep(EInteractionType.Interact, 2014457u, new Vector3(-332.8451f, 0.38146973f, -68.89453f), 1188) - { - Fly = true - }; - obj272.Steps = list391; - reference296 = obj272; - ref QuestSequence reference297 = ref span130[7]; - QuestSequence obj273 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list392 = new List(num2); - CollectionsMarshal.SetCount(list392, num2); - CollectionsMarshal.AsSpan(list392)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051722u, new Vector3(798.3672f, 13.076807f, -246.69269f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - obj273.Steps = list392; - reference297 = obj273; - questRoot45.QuestSequence = list380; - AddQuest(questId45, questRoot45); - QuestId questId46 = new QuestId(5195); - QuestRoot questRoot46 = new QuestRoot(); - num = 1; - List list393 = new List(num); - CollectionsMarshal.SetCount(list393, num); - CollectionsMarshal.AsSpan(list393)[0] = "liza"; - questRoot46.Author = list393; - num = 7; - List list394 = new List(num); - CollectionsMarshal.SetCount(list394, num); - Span span138 = CollectionsMarshal.AsSpan(list394); - ref QuestSequence reference298 = ref span138[0]; - QuestSequence obj274 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list395 = new List(num2); - CollectionsMarshal.SetCount(list395, num2); - Span span139 = CollectionsMarshal.AsSpan(list395); - span139[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(809.655f, 17.004526f, -257.89868f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span139[1] = new QuestStep(EInteractionType.AcceptQuest, 1051710u, new Vector3(822.629f, 17.102613f, -263.20288f), 1188); - obj274.Steps = list395; - reference298 = obj274; - ref QuestSequence reference299 = ref span138[1]; - QuestSequence obj275 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list396 = new List(num2); - CollectionsMarshal.SetCount(list396, num2); - CollectionsMarshal.AsSpan(list396)[0] = new QuestStep(EInteractionType.Interact, 1051731u, new Vector3(-125.07825f, 9.842161f, -450.73627f), 1188) - { - StopDistance = 2f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - obj275.Steps = list396; - reference299 = obj275; - ref QuestSequence reference300 = ref span138[2]; - QuestSequence obj276 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list397 = new List(num2); - CollectionsMarshal.SetCount(list397, num2); - CollectionsMarshal.AsSpan(list397)[0] = new QuestStep(EInteractionType.Interact, 1051731u, new Vector3(-125.07825f, 9.842161f, -450.73627f), 1188); - obj276.Steps = list397; - reference300 = obj276; - ref QuestSequence reference301 = ref span138[3]; - QuestSequence obj277 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list398 = new List(num2); - CollectionsMarshal.SetCount(list398, num2); - Span span140 = CollectionsMarshal.AsSpan(list398); - span140[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(124.89976f, 3.8414032f, -279.8074f), 1188) - { - Fly = true - }; - span140[1] = new QuestStep(EInteractionType.Interact, 1048815u, new Vector3(127.03125f, 3.8414035f, -279.92682f), 1188); - obj277.Steps = list398; - reference301 = obj277; - ref QuestSequence reference302 = ref span138[4]; - QuestSequence obj278 = new QuestSequence - { - Sequence = 4 - }; - num2 = 5; - List list399 = new List(num2); - CollectionsMarshal.SetCount(list399, num2); - Span span141 = CollectionsMarshal.AsSpan(list399); - ref QuestStep reference303 = ref span141[0]; - QuestStep obj279 = new QuestStep(EInteractionType.Interact, 2014427u, new Vector3(183.79492f, -0.015319824f, -331.53284f), 1188) - { - Fly = true - }; - num3 = 6; - List list400 = new List(num3); - CollectionsMarshal.SetCount(list400, num3); - Span span142 = CollectionsMarshal.AsSpan(list400); - span142[0] = null; - span142[1] = null; - span142[2] = null; - span142[3] = null; - span142[4] = null; - span142[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj279.CompletionQuestVariablesFlags = list400; - reference303 = obj279; - ref QuestStep reference304 = ref span141[1]; - QuestStep questStep28 = new QuestStep(EInteractionType.Interact, 2014428u, new Vector3(210.43713f, -0.015319824f, -343.77057f), 1188); - num3 = 6; - List list401 = new List(num3); - CollectionsMarshal.SetCount(list401, num3); - Span span143 = CollectionsMarshal.AsSpan(list401); - span143[0] = null; - span143[1] = null; - span143[2] = null; - span143[3] = null; - span143[4] = null; - span143[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep28.CompletionQuestVariablesFlags = list401; - reference304 = questStep28; - ref QuestStep reference305 = ref span141[2]; - QuestStep questStep29 = new QuestStep(EInteractionType.Interact, 2014429u, new Vector3(213.21423f, -0.015319824f, -354.84857f), 1188); - num3 = 6; - List list402 = new List(num3); - CollectionsMarshal.SetCount(list402, num3); - Span span144 = CollectionsMarshal.AsSpan(list402); - span144[0] = null; - span144[1] = null; - span144[2] = null; - span144[3] = null; - span144[4] = null; - span144[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep29.CompletionQuestVariablesFlags = list402; - reference305 = questStep29; - ref QuestStep reference306 = ref span141[3]; - QuestStep obj280 = new QuestStep(EInteractionType.Interact, 2014430u, new Vector3(229.93823f, -0.015319824f, -342.15308f), 1188) - { - Mount = true, - Fly = true - }; - num3 = 6; - List list403 = new List(num3); - CollectionsMarshal.SetCount(list403, num3); - Span span145 = CollectionsMarshal.AsSpan(list403); - span145[0] = null; - span145[1] = null; - span145[2] = null; - span145[3] = null; - span145[4] = null; - span145[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj280.CompletionQuestVariablesFlags = list403; - reference306 = obj280; - ref QuestStep reference307 = ref span141[4]; - QuestStep questStep30 = new QuestStep(EInteractionType.Interact, 2014431u, new Vector3(252.18579f, -0.015319824f, -371.20624f), 1188); - num3 = 6; - List list404 = new List(num3); - CollectionsMarshal.SetCount(list404, num3); - Span span146 = CollectionsMarshal.AsSpan(list404); - span146[0] = null; - span146[1] = null; - span146[2] = null; - span146[3] = null; - span146[4] = null; - span146[5] = new QuestWorkValue(0, (byte)8, EQuestWorkMode.Bitwise); - questStep30.CompletionQuestVariablesFlags = list404; - reference307 = questStep30; - obj278.Steps = list399; - reference302 = obj278; - ref QuestSequence reference308 = ref span138[5]; - QuestSequence obj281 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list405 = new List(num2); - CollectionsMarshal.SetCount(list405, num2); - CollectionsMarshal.AsSpan(list405)[0] = new QuestStep(EInteractionType.Interact, 1048826u, new Vector3(672.4802f, 41.63828f, -527.36707f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - obj281.Steps = list405; - reference308 = obj281; - ref QuestSequence reference309 = ref span138[6]; - QuestSequence obj282 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list406 = new List(num2); - CollectionsMarshal.SetCount(list406, num2); - CollectionsMarshal.AsSpan(list406)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051710u, new Vector3(822.629f, 17.102613f, -263.20288f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - obj282.Steps = list406; - reference309 = obj282; - questRoot46.QuestSequence = list394; - AddQuest(questId46, questRoot46); - QuestId questId47 = new QuestId(5196); - QuestRoot questRoot47 = new QuestRoot(); - num = 1; - List list407 = new List(num); - CollectionsMarshal.SetCount(list407, num); - CollectionsMarshal.AsSpan(list407)[0] = "liza"; - questRoot47.Author = list407; - num = 8; - List list408 = new List(num); - CollectionsMarshal.SetCount(list408, num); - Span span147 = CollectionsMarshal.AsSpan(list408); - ref QuestSequence reference310 = ref span147[0]; - QuestSequence obj283 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list409 = new List(num2); - CollectionsMarshal.SetCount(list409, num2); - Span span148 = CollectionsMarshal.AsSpan(list409); - span148[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(809.655f, 17.004526f, -257.89868f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span148[1] = new QuestStep(EInteractionType.AcceptQuest, 1051710u, new Vector3(822.629f, 17.102613f, -263.20288f), 1188); - obj283.Steps = list409; - reference310 = obj283; - ref QuestSequence reference311 = ref span147[1]; - QuestSequence obj284 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list410 = new List(num2); - CollectionsMarshal.SetCount(list410, num2); - Span span149 = CollectionsMarshal.AsSpan(list410); - span149[0] = new QuestStep(EInteractionType.Interact, 1051733u, new Vector3(553.06323f, 115.84422f, 173.32715f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaManyFires - }; - span149[1] = new QuestStep(EInteractionType.Interact, 1051734u, new Vector3(588.7998f, 116.71518f, 216.84595f), 1188) - { - Fly = true - }; - span149[2] = new QuestStep(EInteractionType.Interact, 1051735u, new Vector3(614.9232f, 119.49004f, 172.16748f), 1188) - { - Fly = true - }; - obj284.Steps = list410; - reference311 = obj284; - ref QuestSequence reference312 = ref span147[2]; - QuestSequence obj285 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list411 = new List(num2); - CollectionsMarshal.SetCount(list411, num2); - CollectionsMarshal.AsSpan(list411)[0] = new QuestStep(EInteractionType.Interact, 1051736u, new Vector3(573.3883f, 116f, 202.62451f), 1188) - { - Fly = true - }; - obj285.Steps = list411; - reference312 = obj285; - ref QuestSequence reference313 = ref span147[3]; - QuestSequence obj286 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list412 = new List(num2); - CollectionsMarshal.SetCount(list412, num2); - CollectionsMarshal.AsSpan(list412)[0] = new QuestStep(EInteractionType.Interact, 2014432u, new Vector3(663.569f, 117.50964f, 647.9437f), 1188) - { - Fly = true - }; - obj286.Steps = list412; - reference313 = obj286; - ref QuestSequence reference314 = ref span147[4]; - QuestSequence obj287 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list413 = new List(num2); - CollectionsMarshal.SetCount(list413, num2); - CollectionsMarshal.AsSpan(list413)[0] = new QuestStep(EInteractionType.Interact, 1051738u, new Vector3(661.7991f, 117.68325f, 646.6925f), 1188) - { - StopDistance = 5f - }; - obj287.Steps = list413; - reference314 = obj287; - ref QuestSequence reference315 = ref span147[5]; - QuestSequence obj288 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list414 = new List(num2); - CollectionsMarshal.SetCount(list414, num2); - CollectionsMarshal.AsSpan(list414)[0] = new QuestStep(EInteractionType.Interact, 1051739u, new Vector3(410.39136f, 122.23778f, 797.5432f), 1188) - { - Fly = true - }; - obj288.Steps = list414; - reference315 = obj288; - ref QuestSequence reference316 = ref span147[6]; - QuestSequence obj289 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list415 = new List(num2); - CollectionsMarshal.SetCount(list415, num2); - CollectionsMarshal.AsSpan(list415)[0] = new QuestStep(EInteractionType.Interact, 1051738u, new Vector3(661.7991f, 117.68325f, 646.6925f), 1188) - { - Fly = true - }; - obj289.Steps = list415; - reference316 = obj289; - ref QuestSequence reference317 = ref span147[7]; - QuestSequence obj290 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list416 = new List(num2); - CollectionsMarshal.SetCount(list416, num2); - CollectionsMarshal.AsSpan(list416)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051710u, new Vector3(822.629f, 17.102613f, -263.20288f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - obj290.Steps = list416; - reference317 = obj290; - questRoot47.QuestSequence = list408; - AddQuest(questId47, questRoot47); - QuestId questId48 = new QuestId(5197); - QuestRoot questRoot48 = new QuestRoot(); - num = 1; - List list417 = new List(num); - CollectionsMarshal.SetCount(list417, num); - CollectionsMarshal.AsSpan(list417)[0] = "liza"; - questRoot48.Author = list417; - num = 6; - List list418 = new List(num); - CollectionsMarshal.SetCount(list418, num); - Span span150 = CollectionsMarshal.AsSpan(list418); - ref QuestSequence reference318 = ref span150[0]; - QuestSequence obj291 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list419 = new List(num2); - CollectionsMarshal.SetCount(list419, num2); - Span span151 = CollectionsMarshal.AsSpan(list419); - span151[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(809.655f, 17.004526f, -257.89868f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span151[1] = new QuestStep(EInteractionType.AcceptQuest, 1051710u, new Vector3(822.629f, 17.102613f, -263.20288f), 1188); - obj291.Steps = list419; - reference318 = obj291; - ref QuestSequence reference319 = ref span150[1]; - QuestSequence obj292 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list420 = new List(num2); - CollectionsMarshal.SetCount(list420, num2); - CollectionsMarshal.AsSpan(list420)[0] = new QuestStep(EInteractionType.Interact, 1051710u, new Vector3(822.629f, 17.102613f, -263.20288f), 1188); - obj292.Steps = list420; - reference319 = obj292; - ref QuestSequence reference320 = ref span150[2]; - QuestSequence obj293 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list421 = new List(num2); - CollectionsMarshal.SetCount(list421, num2); - Span span152 = CollectionsMarshal.AsSpan(list421); - span152[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(746.76465f, 15.431515f, -201.92921f), 1188); - ref QuestStep reference321 = ref span152[1]; - QuestStep obj294 = new QuestStep(EInteractionType.Interact, 1051741u, new Vector3(744.19763f, 15.431515f, -199.17603f), 1188) - { - StopDistance = 7f - }; - num3 = 1; - List list422 = new List(num3); - CollectionsMarshal.SetCount(list422, num3); - CollectionsMarshal.AsSpan(list422)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANPEL005_05197_Q1_000_001"), - Answer = new ExcelRef("TEXT_BANPEL005_05197_A1_000_001") - }; - obj294.DialogueChoices = list422; - reference321 = obj294; - obj293.Steps = list421; - reference320 = obj293; - ref QuestSequence reference322 = ref span150[3]; - QuestSequence obj295 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list423 = new List(num2); - CollectionsMarshal.SetCount(list423, num2); - CollectionsMarshal.AsSpan(list423)[0] = new QuestStep(EInteractionType.Interact, 2014435u, new Vector3(753.1699f, 11.459534f, -253.55927f), 1188); - obj295.Steps = list423; - reference322 = obj295; - ref QuestSequence reference323 = ref span150[4]; - QuestSequence obj296 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list424 = new List(num2); - CollectionsMarshal.SetCount(list424, num2); - CollectionsMarshal.AsSpan(list424)[0] = new QuestStep(EInteractionType.Interact, 1051742u, new Vector3(187.45703f, 0.7218611f, -458.18268f), 1188) - { - StopDistance = 5f - }; - obj296.Steps = list424; - reference323 = obj296; - ref QuestSequence reference324 = ref span150[5]; - QuestSequence obj297 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list425 = new List(num2); - CollectionsMarshal.SetCount(list425, num2); - CollectionsMarshal.AsSpan(list425)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051744u, new Vector3(820.6454f, 13.759646f, -230.12134f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - obj297.Steps = list425; - reference324 = obj297; - questRoot48.QuestSequence = list418; - AddQuest(questId48, questRoot48); - QuestId questId49 = new QuestId(5198); - QuestRoot questRoot49 = new QuestRoot(); - num = 1; - List list426 = new List(num); - CollectionsMarshal.SetCount(list426, num); - CollectionsMarshal.AsSpan(list426)[0] = "liza"; - questRoot49.Author = list426; - num = 3; - List list427 = new List(num); - CollectionsMarshal.SetCount(list427, num); - Span span153 = CollectionsMarshal.AsSpan(list427); - ref QuestSequence reference325 = ref span153[0]; - QuestSequence obj298 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list428 = new List(num2); - CollectionsMarshal.SetCount(list428, num2); - Span span154 = CollectionsMarshal.AsSpan(list428); - span154[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(809.655f, 17.004526f, -257.89868f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span154[1] = new QuestStep(EInteractionType.AcceptQuest, 1051710u, new Vector3(822.629f, 17.102613f, -263.20288f), 1188); - obj298.Steps = list428; - reference325 = obj298; - ref QuestSequence reference326 = ref span153[1]; - QuestSequence obj299 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list429 = new List(num2); - CollectionsMarshal.SetCount(list429, num2); - CollectionsMarshal.AsSpan(list429)[0] = new QuestStep(EInteractionType.Interact, 1051746u, new Vector3(824.6128f, 13.979889f, -227.16113f), 1188); - obj299.Steps = list429; - reference326 = obj299; - ref QuestSequence reference327 = ref span153[2]; - QuestSequence obj300 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list430 = new List(num2); - CollectionsMarshal.SetCount(list430, num2); - CollectionsMarshal.AsSpan(list430)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051710u, new Vector3(822.629f, 17.102613f, -263.20288f), 1188); - obj300.Steps = list430; - reference327 = obj300; - questRoot49.QuestSequence = list427; - AddQuest(questId49, questRoot49); - QuestId questId50 = new QuestId(5199); - QuestRoot questRoot50 = new QuestRoot(); - num = 1; - List list431 = new List(num); - CollectionsMarshal.SetCount(list431, num); - CollectionsMarshal.AsSpan(list431)[0] = "liza"; - questRoot50.Author = list431; - num = 3; - List list432 = new List(num); - CollectionsMarshal.SetCount(list432, num); - Span span155 = CollectionsMarshal.AsSpan(list432); - ref QuestSequence reference328 = ref span155[0]; - QuestSequence obj301 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list433 = new List(num2); - CollectionsMarshal.SetCount(list433, num2); - Span span156 = CollectionsMarshal.AsSpan(list433); - span156[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span156[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj301.Steps = list433; - reference328 = obj301; - ref QuestSequence reference329 = ref span155[1]; - QuestSequence obj302 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list434 = new List(num2); - CollectionsMarshal.SetCount(list434, num2); - Span span157 = CollectionsMarshal.AsSpan(list434); - span157[0] = new QuestStep(EInteractionType.Interact, 1052301u, new Vector3(219.98926f, 10.289447f, -522.9115f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - span157[1] = new QuestStep(EInteractionType.Interact, 1052300u, new Vector3(208.48401f, 10.257622f, -588.98303f), 1188) - { - Fly = true - }; - span157[2] = new QuestStep(EInteractionType.Interact, 1052302u, new Vector3(171.03833f, 7.17552f, -602.6246f), 1188) - { - Fly = true - }; - obj302.Steps = list434; - reference329 = obj302; - ref QuestSequence reference330 = ref span155[2]; - QuestSequence obj303 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list435 = new List(num2); - CollectionsMarshal.SetCount(list435, num2); - Span span158 = CollectionsMarshal.AsSpan(list435); - span158[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span158[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj303.Steps = list435; - reference330 = obj303; - questRoot50.QuestSequence = list432; - AddQuest(questId50, questRoot50); - } - - private static void LoadQuests104() - { - QuestId questId = new QuestId(5200); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 3; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 2; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span2 = CollectionsMarshal.AsSpan(list3); - span2[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span2[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1052303u, new Vector3(-191.66864f, 6.5458784f, -498.0392f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - Span span3 = CollectionsMarshal.AsSpan(list5); - span3[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span3[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj3.Steps = list5; - reference3 = obj3; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(5201); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list6 = new List(num); - CollectionsMarshal.SetCount(list6, num); - CollectionsMarshal.AsSpan(list6)[0] = "liza"; - questRoot2.Author = list6; - num = 3; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - Span span4 = CollectionsMarshal.AsSpan(list7); - ref QuestSequence reference4 = ref span4[0]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - Span span5 = CollectionsMarshal.AsSpan(list8); - span5[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span5[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj4.Steps = list8; - reference4 = obj4; - ref QuestSequence reference5 = ref span4[1]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - Span span6 = CollectionsMarshal.AsSpan(list9); - ref QuestStep reference6 = ref span6[0]; - QuestStep obj6 = new QuestStep(EInteractionType.Combat, 2014482u, new Vector3(718.6847f, 6.1188354f, -105.60773f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - int num3 = 1; - List list10 = new List(num3); - CollectionsMarshal.SetCount(list10, num3); - CollectionsMarshal.AsSpan(list10)[0] = 18172u; - obj6.KillEnemyDataIds = list10; - obj6.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(770.7179f, 12.84657f, -263.99634f), - MaximumDistance = 300f, - TerritoryId = 1188 - } - } - }; - num3 = 6; - List> list11 = new List>(num3); - CollectionsMarshal.SetCount(list11, num3); - Span> span7 = CollectionsMarshal.AsSpan(list11); - span7[0] = null; - span7[1] = null; - ref List reference7 = ref span7[2]; - int num4 = 1; - List list12 = new List(num4); - CollectionsMarshal.SetCount(list12, num4); - CollectionsMarshal.AsSpan(list12)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference7 = list12; - span7[3] = null; - span7[4] = null; - span7[5] = null; - obj6.RequiredQuestVariables = list11; - reference6 = obj6; - ref QuestStep reference8 = ref span6[1]; - QuestStep obj7 = new QuestStep(EInteractionType.Combat, 2014481u, new Vector3(581.78064f, 9.018005f, -180.49902f), 1188) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list13 = new List(num3); - CollectionsMarshal.SetCount(list13, num3); - CollectionsMarshal.AsSpan(list13)[0] = 18172u; - obj7.KillEnemyDataIds = list13; - num3 = 6; - List> list14 = new List>(num3); - CollectionsMarshal.SetCount(list14, num3); - Span> span8 = CollectionsMarshal.AsSpan(list14); - span8[0] = null; - span8[1] = null; - ref List reference9 = ref span8[2]; - num4 = 1; - List list15 = new List(num4); - CollectionsMarshal.SetCount(list15, num4); - CollectionsMarshal.AsSpan(list15)[0] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - reference9 = list15; - span8[3] = null; - span8[4] = null; - span8[5] = null; - obj7.RequiredQuestVariables = list14; - reference8 = obj7; - ref QuestStep reference10 = ref span6[2]; - QuestStep obj8 = new QuestStep(EInteractionType.Combat, 2014480u, new Vector3(531.15125f, 12.527649f, -99.321045f), 1188) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - CollectionsMarshal.AsSpan(list16)[0] = 18172u; - obj8.KillEnemyDataIds = list16; - num3 = 6; - List> list17 = new List>(num3); - CollectionsMarshal.SetCount(list17, num3); - Span> span9 = CollectionsMarshal.AsSpan(list17); - span9[0] = null; - span9[1] = null; - ref List reference11 = ref span9[2]; - num4 = 1; - List list18 = new List(num4); - CollectionsMarshal.SetCount(list18, num4); - CollectionsMarshal.AsSpan(list18)[0] = new QuestWorkValue((byte)3, 0, EQuestWorkMode.Bitwise); - reference11 = list18; - span9[3] = null; - span9[4] = null; - span9[5] = null; - obj8.RequiredQuestVariables = list17; - reference10 = obj8; - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference12 = ref span4[2]; - QuestSequence obj9 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - Span span10 = CollectionsMarshal.AsSpan(list19); - span10[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span10[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj9.Steps = list19; - reference12 = obj9; - questRoot2.QuestSequence = list7; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(5202); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - CollectionsMarshal.AsSpan(list20)[0] = "liza"; - questRoot3.Author = list20; - num = 3; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - Span span11 = CollectionsMarshal.AsSpan(list21); - ref QuestSequence reference13 = ref span11[0]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - Span span12 = CollectionsMarshal.AsSpan(list22); - span12[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span12[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj10.Steps = list22; - reference13 = obj10; - ref QuestSequence reference14 = ref span11[1]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.Interact, 1052304u, new Vector3(670.344f, 26.329378f, -531.2734f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(770.7179f, 12.84657f, -263.99634f), - MaximumDistance = 300f, - TerritoryId = 1188 - } - } - } - }; - obj11.Steps = list23; - reference14 = obj11; - ref QuestSequence reference15 = ref span11[2]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - Span span13 = CollectionsMarshal.AsSpan(list24); - span13[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span13[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj12.Steps = list24; - reference15 = obj12; - questRoot3.QuestSequence = list21; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(5203); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - CollectionsMarshal.AsSpan(list25)[0] = "liza"; - questRoot4.Author = list25; - num = 3; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - Span span14 = CollectionsMarshal.AsSpan(list26); - ref QuestSequence reference16 = ref span14[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - Span span15 = CollectionsMarshal.AsSpan(list27); - span15[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span15[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj13.Steps = list27; - reference16 = obj13; - ref QuestSequence reference17 = ref span14[1]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - Span span16 = CollectionsMarshal.AsSpan(list28); - ref QuestStep reference18 = ref span16[0]; - QuestStep obj15 = new QuestStep(EInteractionType.UseItem, 2014484u, new Vector3(847.34875f, 15.8845825f, -192.67572f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga, - ItemId = 2003717u, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(770.7179f, 12.84657f, -263.99634f), - MaximumDistance = 300f, - TerritoryId = 1188 - } - } - } - }; - num3 = 6; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - Span span17 = CollectionsMarshal.AsSpan(list29); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj15.CompletionQuestVariablesFlags = list29; - reference18 = obj15; - ref QuestStep reference19 = ref span16[1]; - QuestStep obj16 = new QuestStep(EInteractionType.UseItem, 2014485u, new Vector3(855.2223f, 15.945618f, -208.72821f), 1188) - { - ItemId = 2003717u - }; - num3 = 6; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - Span span18 = CollectionsMarshal.AsSpan(list30); - span18[0] = null; - span18[1] = null; - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj16.CompletionQuestVariablesFlags = list30; - reference19 = obj16; - ref QuestStep reference20 = ref span16[2]; - QuestStep obj17 = new QuestStep(EInteractionType.UseItem, 2014483u, new Vector3(868.1315f, 15.335266f, -203.96735f), 1188) - { - ItemId = 2003717u - }; - num3 = 6; - List list31 = new List(num3); - CollectionsMarshal.SetCount(list31, num3); - Span span19 = CollectionsMarshal.AsSpan(list31); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj17.CompletionQuestVariablesFlags = list31; - reference20 = obj17; - obj14.Steps = list28; - reference17 = obj14; - ref QuestSequence reference21 = ref span14[2]; - QuestSequence obj18 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - Span span20 = CollectionsMarshal.AsSpan(list32); - span20[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(770.7179f, 12.84657f, -263.99634f), - MaximumDistance = 300f, - TerritoryId = 1188 - } - } - } - }; - span20[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj18.Steps = list32; - reference21 = obj18; - questRoot4.QuestSequence = list26; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(5204); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list33 = new List(num); - CollectionsMarshal.SetCount(list33, num); - CollectionsMarshal.AsSpan(list33)[0] = "liza"; - questRoot5.Author = list33; - num = 5; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - Span span21 = CollectionsMarshal.AsSpan(list34); - ref QuestSequence reference22 = ref span21[0]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - Span span22 = CollectionsMarshal.AsSpan(list35); - span22[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span22[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj19.Steps = list35; - reference22 = obj19; - ref QuestSequence reference23 = ref span21[1]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.Interact, 1052305u, new Vector3(474.20447f, 9.739183f, -207.90424f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(770.7179f, 12.84657f, -263.99634f), - MaximumDistance = 300f, - TerritoryId = 1188 - } - } - } - }; - obj20.Steps = list36; - reference23 = obj20; - ref QuestSequence reference24 = ref span21[2]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - CollectionsMarshal.AsSpan(list37)[0] = new QuestStep(EInteractionType.Interact, 2014486u, new Vector3(471.88513f, 9.933594f, -206.46985f), 1188) - { - StopDistance = 4.5f - }; - obj21.Steps = list37; - reference24 = obj21; - ref QuestSequence reference25 = ref span21[3]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 3 - }; - num2 = 5; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - Span span23 = CollectionsMarshal.AsSpan(list38); - span23[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(548.1944f, 6.15866f, -196.99664f), 1188); - span23[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(610.0975f, 7.8043165f, -228.70596f), 1188); - span23[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(680.4834f, 10.053757f, -263.73697f), 1188); - span23[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(743.98376f, 9.793373f, -263.45914f), 1188); - span23[4] = new QuestStep(EInteractionType.Interact, 1052306u, new Vector3(791.37854f, 14.39521f, -206.53088f), 1188); - obj22.Steps = list38; - reference25 = obj22; - ref QuestSequence reference26 = ref span21[4]; - QuestSequence obj23 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - Span span24 = CollectionsMarshal.AsSpan(list39); - span24[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(770.7179f, 12.84657f, -263.99634f), - MaximumDistance = 300f, - TerritoryId = 1188 - } - } - } - }; - span24[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj23.Steps = list39; - reference26 = obj23; - questRoot5.QuestSequence = list34; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(5205); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - CollectionsMarshal.AsSpan(list40)[0] = "liza"; - questRoot6.Author = list40; - num = 3; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - Span span25 = CollectionsMarshal.AsSpan(list41); - ref QuestSequence reference27 = ref span25[0]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - Span span26 = CollectionsMarshal.AsSpan(list42); - span26[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span26[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj24.Steps = list42; - reference27 = obj24; - ref QuestSequence reference28 = ref span25[1]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - Span span27 = CollectionsMarshal.AsSpan(list43); - span27[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-165.49648f, 8.736965f, -401.72836f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - ref QuestStep reference29 = ref span27[1]; - QuestStep obj26 = new QuestStep(EInteractionType.Interact, 1052307u, new Vector3(-111.0094f, 1.6987718f, -111.0094f), 1188) - { - Fly = true - }; - num3 = 6; - List> list44 = new List>(num3); - CollectionsMarshal.SetCount(list44, num3); - Span> span28 = CollectionsMarshal.AsSpan(list44); - span28[0] = null; - ref List reference30 = ref span28[1]; - num4 = 1; - List list45 = new List(num4); - CollectionsMarshal.SetCount(list45, num4); - CollectionsMarshal.AsSpan(list45)[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - reference30 = list45; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = null; - obj26.RequiredQuestVariables = list44; - num3 = 1; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - CollectionsMarshal.AsSpan(list46)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANPEL107_05205_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANPEL107_05205_A1_000_002") - }; - obj26.DialogueChoices = list46; - reference29 = obj26; - ref QuestStep reference31 = ref span27[2]; - QuestStep obj27 = new QuestStep(EInteractionType.Interact, 1052308u, new Vector3(-152.7276f, 3.6225784f, -349.87415f), 1188) - { - Fly = true - }; - num3 = 6; - List> list47 = new List>(num3); - CollectionsMarshal.SetCount(list47, num3); - Span> span29 = CollectionsMarshal.AsSpan(list47); - span29[0] = null; - ref List reference32 = ref span29[1]; - num4 = 1; - List list48 = new List(num4); - CollectionsMarshal.SetCount(list48, num4); - CollectionsMarshal.AsSpan(list48)[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference32 = list48; - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = null; - obj27.RequiredQuestVariables = list47; - num3 = 1; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - CollectionsMarshal.AsSpan(list49)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANPEL107_05205_Q2_000_000"), - Answer = new ExcelRef("TEXT_BANPEL107_05205_A2_000_003") - }; - obj27.DialogueChoices = list49; - reference31 = obj27; - obj25.Steps = list43; - reference28 = obj25; - ref QuestSequence reference33 = ref span25[2]; - QuestSequence obj28 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - Span span30 = CollectionsMarshal.AsSpan(list50); - span30[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span30[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj28.Steps = list50; - reference33 = obj28; - questRoot6.QuestSequence = list41; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(5206); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - CollectionsMarshal.AsSpan(list51)[0] = "liza"; - questRoot7.Author = list51; - num = 3; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - Span span31 = CollectionsMarshal.AsSpan(list52); - ref QuestSequence reference34 = ref span31[0]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - Span span32 = CollectionsMarshal.AsSpan(list53); - span32[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span32[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj29.Steps = list53; - reference34 = obj29; - ref QuestSequence reference35 = ref span31[1]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - Span span33 = CollectionsMarshal.AsSpan(list54); - ref QuestStep reference36 = ref span33[0]; - QuestStep obj31 = new QuestStep(EInteractionType.Interact, 2014540u, new Vector3(-24.887512f, 21.774597f, -88.76172f), 1188) - { - StopDistance = 1f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - num3 = 6; - List> list55 = new List>(num3); - CollectionsMarshal.SetCount(list55, num3); - Span> span34 = CollectionsMarshal.AsSpan(list55); - span34[0] = null; - ref List reference37 = ref span34[1]; - num4 = 1; - List list56 = new List(num4); - CollectionsMarshal.SetCount(list56, num4); - CollectionsMarshal.AsSpan(list56)[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - reference37 = list56; - span34[2] = null; - span34[3] = null; - span34[4] = null; - span34[5] = null; - obj31.RequiredQuestVariables = list55; - reference36 = obj31; - ref QuestStep reference38 = ref span33[1]; - QuestStep obj32 = new QuestStep(EInteractionType.Interact, 2014487u, new Vector3(-45.426086f, 21.469421f, -80.27777f), 1188) - { - StopDistance = 1f, - Fly = true - }; - num3 = 6; - List> list57 = new List>(num3); - CollectionsMarshal.SetCount(list57, num3); - Span> span35 = CollectionsMarshal.AsSpan(list57); - span35[0] = null; - ref List reference39 = ref span35[1]; - num4 = 1; - List list58 = new List(num4); - CollectionsMarshal.SetCount(list58, num4); - CollectionsMarshal.AsSpan(list58)[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference39 = list58; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = null; - obj32.RequiredQuestVariables = list57; - reference38 = obj32; - ref QuestStep reference40 = ref span33[2]; - QuestStep obj33 = new QuestStep(EInteractionType.Interact, 2014539u, new Vector3(-9.2317505f, 21.469421f, -74.418274f), 1188) - { - StopDistance = 1f, - Fly = true - }; - num3 = 6; - List> list59 = new List>(num3); - CollectionsMarshal.SetCount(list59, num3); - Span> span36 = CollectionsMarshal.AsSpan(list59); - span36[0] = null; - ref List reference41 = ref span36[1]; - num4 = 1; - List list60 = new List(num4); - CollectionsMarshal.SetCount(list60, num4); - CollectionsMarshal.AsSpan(list60)[0] = new QuestWorkValue(0, (byte)3, EQuestWorkMode.Bitwise); - reference41 = list60; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = null; - obj33.RequiredQuestVariables = list59; - reference40 = obj33; - obj30.Steps = list54; - reference35 = obj30; - ref QuestSequence reference42 = ref span31[2]; - QuestSequence obj34 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - Span span37 = CollectionsMarshal.AsSpan(list61); - span37[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span37[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj34.Steps = list61; - reference42 = obj34; - questRoot7.QuestSequence = list52; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(5207); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - CollectionsMarshal.AsSpan(list62)[0] = "liza"; - questRoot8.Author = list62; - num = 4; - List list63 = new List(num); - CollectionsMarshal.SetCount(list63, num); - Span span38 = CollectionsMarshal.AsSpan(list63); - ref QuestSequence reference43 = ref span38[0]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - Span span39 = CollectionsMarshal.AsSpan(list64); - span39[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span39[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj35.Steps = list64; - reference43 = obj35; - ref QuestSequence reference44 = ref span38[1]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.Interact, 1052309u, new Vector3(-100.35864f, 4.7510896f, -304.3412f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - obj36.Steps = list65; - reference44 = obj36; - ref QuestSequence reference45 = ref span38[2]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.Interact, 1052310u, new Vector3(-103.01367f, 4.70791f, -305.40936f), 1188) - { - StopDistance = 5f - }; - obj37.Steps = list66; - reference45 = obj37; - ref QuestSequence reference46 = ref span38[3]; - QuestSequence obj38 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - Span span40 = CollectionsMarshal.AsSpan(list67); - span40[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span40[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj38.Steps = list67; - reference46 = obj38; - questRoot8.QuestSequence = list63; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(5208); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - CollectionsMarshal.AsSpan(list68)[0] = "liza"; - questRoot9.Author = list68; - num = 3; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - Span span41 = CollectionsMarshal.AsSpan(list69); - ref QuestSequence reference47 = ref span41[0]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - Span span42 = CollectionsMarshal.AsSpan(list70); - span42[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span42[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj39.Steps = list70; - reference47 = obj39; - ref QuestSequence reference48 = ref span41[1]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - Span span43 = CollectionsMarshal.AsSpan(list71); - ref QuestStep reference49 = ref span43[0]; - QuestStep obj41 = new QuestStep(EInteractionType.Interact, 1052319u, new Vector3(-185.07672f, 6.5185943f, -460.04425f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - num3 = 6; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - Span span44 = CollectionsMarshal.AsSpan(list72); - span44[0] = null; - span44[1] = null; - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj41.CompletionQuestVariablesFlags = list72; - reference49 = obj41; - ref QuestStep reference50 = ref span43[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1052318u, new Vector3(-217.12067f, 6.4016876f, -474.60138f), 1188); - num3 = 6; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - Span span45 = CollectionsMarshal.AsSpan(list73); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list73; - reference50 = questStep; - ref QuestStep reference51 = ref span43[2]; - QuestStep obj42 = new QuestStep(EInteractionType.Interact, 1052320u, new Vector3(-108.659546f, 9.773233f, -530.2052f), 1188) - { - Fly = true - }; - num3 = 6; - List list74 = new List(num3); - CollectionsMarshal.SetCount(list74, num3); - Span span46 = CollectionsMarshal.AsSpan(list74); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj42.CompletionQuestVariablesFlags = list74; - reference51 = obj42; - obj40.Steps = list71; - reference48 = obj40; - ref QuestSequence reference52 = ref span41[2]; - QuestSequence obj43 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - Span span47 = CollectionsMarshal.AsSpan(list75); - span47[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span47[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj43.Steps = list75; - reference52 = obj43; - questRoot9.QuestSequence = list69; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(5209); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list76 = new List(num); - CollectionsMarshal.SetCount(list76, num); - CollectionsMarshal.AsSpan(list76)[0] = "liza"; - questRoot10.Author = list76; - num = 4; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - Span span48 = CollectionsMarshal.AsSpan(list77); - ref QuestSequence reference53 = ref span48[0]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - Span span49 = CollectionsMarshal.AsSpan(list78); - span49[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span49[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj44.Steps = list78; - reference53 = obj44; - ref QuestSequence reference54 = ref span48[1]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.Interact, 1052321u, new Vector3(103.227295f, 0.7218611f, -334.37097f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu - }; - obj45.Steps = list79; - reference54 = obj45; - ref QuestSequence reference55 = ref span48[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - Span span50 = CollectionsMarshal.AsSpan(list80); - ref QuestStep reference56 = ref span50[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 2014488u, new Vector3(103.74609f, -0.015319824f, -339.13184f), 1188); - num3 = 6; - List list81 = new List(num3); - CollectionsMarshal.SetCount(list81, num3); - Span span51 = CollectionsMarshal.AsSpan(list81); - span51[0] = null; - span51[1] = null; - span51[2] = null; - span51[3] = null; - span51[4] = null; - span51[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list81; - reference56 = questStep2; - ref QuestStep reference57 = ref span50[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2014536u, new Vector3(106.21802f, -0.015319824f, -347.097f), 1188); - num3 = 6; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - Span span52 = CollectionsMarshal.AsSpan(list82); - span52[0] = null; - span52[1] = null; - span52[2] = null; - span52[3] = null; - span52[4] = null; - span52[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list82; - reference57 = questStep3; - ref QuestStep reference58 = ref span50[2]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2014537u, new Vector3(112.93201f, -0.015319824f, -341.5122f), 1188); - num3 = 6; - List list83 = new List(num3); - CollectionsMarshal.SetCount(list83, num3); - Span span53 = CollectionsMarshal.AsSpan(list83); - span53[0] = null; - span53[1] = null; - span53[2] = null; - span53[3] = null; - span53[4] = null; - span53[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list83; - reference58 = questStep4; - obj46.Steps = list80; - reference55 = obj46; - ref QuestSequence reference59 = ref span48[3]; - QuestSequence obj47 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - Span span54 = CollectionsMarshal.AsSpan(list84); - span54[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span54[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj47.Steps = list84; - reference59 = obj47; - questRoot10.QuestSequence = list77; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(5210); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - CollectionsMarshal.AsSpan(list85)[0] = "liza"; - questRoot11.Author = list85; - num = 5; - List list86 = new List(num); - CollectionsMarshal.SetCount(list86, num); - Span span55 = CollectionsMarshal.AsSpan(list86); - ref QuestSequence reference60 = ref span55[0]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - Span span56 = CollectionsMarshal.AsSpan(list87); - span56[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span56[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj48.Steps = list87; - reference60 = obj48; - ref QuestSequence reference61 = ref span55[1]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 1052323u, new Vector3(495.75024f, 10.160157f, -242.99994f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(770.7179f, 12.84657f, -263.99634f), - MaximumDistance = 300f, - TerritoryId = 1188 - } - } - } - }; - obj49.Steps = list88; - reference61 = obj49; - ref QuestSequence reference62 = ref span55[2]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - Span span57 = CollectionsMarshal.AsSpan(list89); - ref QuestStep reference63 = ref span57[0]; - QuestStep obj51 = new QuestStep(EInteractionType.Combat, 2014491u, new Vector3(504.78357f, 15.396301f, -283.83307f), 1188) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - CollectionsMarshal.AsSpan(list90)[0] = 18173u; - obj51.KillEnemyDataIds = list90; - num3 = 6; - List> list91 = new List>(num3); - CollectionsMarshal.SetCount(list91, num3); - Span> span58 = CollectionsMarshal.AsSpan(list91); - span58[0] = null; - span58[1] = null; - ref List reference64 = ref span58[2]; - num4 = 1; - List list92 = new List(num4); - CollectionsMarshal.SetCount(list92, num4); - CollectionsMarshal.AsSpan(list92)[0] = new QuestWorkValue((byte)1, null, EQuestWorkMode.Bitwise); - reference64 = list92; - span58[3] = null; - span58[4] = null; - span58[5] = null; - obj51.RequiredQuestVariables = list91; - reference63 = obj51; - ref QuestStep reference65 = ref span57[1]; - QuestStep obj52 = new QuestStep(EInteractionType.Combat, 2014489u, new Vector3(522.301f, 12.191956f, -273.97577f), 1188) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - CollectionsMarshal.AsSpan(list93)[0] = 18173u; - obj52.KillEnemyDataIds = list93; - num3 = 6; - List> list94 = new List>(num3); - CollectionsMarshal.SetCount(list94, num3); - Span> span59 = CollectionsMarshal.AsSpan(list94); - span59[0] = null; - span59[1] = null; - ref List reference66 = ref span59[2]; - num4 = 1; - List list95 = new List(num4); - CollectionsMarshal.SetCount(list95, num4); - CollectionsMarshal.AsSpan(list95)[0] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - reference66 = list95; - span59[3] = null; - span59[4] = null; - span59[5] = null; - obj52.RequiredQuestVariables = list94; - reference65 = obj52; - ref QuestStep reference67 = ref span57[2]; - QuestStep obj53 = new QuestStep(EInteractionType.Combat, 2014490u, new Vector3(485.6183f, 10.8185425f, -281.7884f), 1188) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list96 = new List(num3); - CollectionsMarshal.SetCount(list96, num3); - CollectionsMarshal.AsSpan(list96)[0] = 18173u; - obj53.KillEnemyDataIds = list96; - num3 = 6; - List> list97 = new List>(num3); - CollectionsMarshal.SetCount(list97, num3); - Span> span60 = CollectionsMarshal.AsSpan(list97); - span60[0] = null; - span60[1] = null; - ref List reference68 = ref span60[2]; - num4 = 1; - List list98 = new List(num4); - CollectionsMarshal.SetCount(list98, num4); - CollectionsMarshal.AsSpan(list98)[0] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - reference68 = list98; - span60[3] = null; - span60[4] = null; - span60[5] = null; - obj53.RequiredQuestVariables = list97; - reference67 = obj53; - obj50.Steps = list89; - reference62 = obj50; - ref QuestSequence reference69 = ref span55[3]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 1052323u, new Vector3(495.75024f, 10.160157f, -242.99994f), 1188); - obj54.Steps = list99; - reference69 = obj54; - ref QuestSequence reference70 = ref span55[4]; - QuestSequence obj55 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - Span span61 = CollectionsMarshal.AsSpan(list100); - span61[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span61[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj55.Steps = list100; - reference70 = obj55; - questRoot11.QuestSequence = list86; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(5211); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list101 = new List(num); - CollectionsMarshal.SetCount(list101, num); - CollectionsMarshal.AsSpan(list101)[0] = "liza"; - questRoot12.Author = list101; - num = 3; - List list102 = new List(num); - CollectionsMarshal.SetCount(list102, num); - Span span62 = CollectionsMarshal.AsSpan(list102); - ref QuestSequence reference71 = ref span62[0]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - Span span63 = CollectionsMarshal.AsSpan(list103); - span63[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span63[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj56.Steps = list103; - reference71 = obj56; - ref QuestSequence reference72 = ref span62[1]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - Span span64 = CollectionsMarshal.AsSpan(list104); - ref QuestStep reference73 = ref span64[0]; - QuestStep obj58 = new QuestStep(EInteractionType.UseItem, 2014492u, new Vector3(-448.50842f, 0.9613037f, -113.69501f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaOkHanu, - ItemId = 2003721u - }; - num3 = 6; - List list105 = new List(num3); - CollectionsMarshal.SetCount(list105, num3); - Span span65 = CollectionsMarshal.AsSpan(list105); - span65[0] = null; - span65[1] = null; - span65[2] = null; - span65[3] = null; - span65[4] = null; - span65[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj58.CompletionQuestVariablesFlags = list105; - reference73 = obj58; - ref QuestStep reference74 = ref span64[1]; - QuestStep obj59 = new QuestStep(EInteractionType.UseItem, 2014493u, new Vector3(-464.0421f, 0.62561035f, -119.95117f), 1188) - { - ItemId = 2003721u - }; - num3 = 6; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - Span span66 = CollectionsMarshal.AsSpan(list106); - span66[0] = null; - span66[1] = null; - span66[2] = null; - span66[3] = null; - span66[4] = null; - span66[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj59.CompletionQuestVariablesFlags = list106; - reference74 = obj59; - obj57.Steps = list104; - reference72 = obj57; - ref QuestSequence reference75 = ref span62[2]; - QuestSequence obj60 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - Span span67 = CollectionsMarshal.AsSpan(list107); - span67[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span67[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj60.Steps = list107; - reference75 = obj60; - questRoot12.QuestSequence = list102; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(5212); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - CollectionsMarshal.AsSpan(list108)[0] = "liza"; - questRoot13.Author = list108; - num = 3; - List list109 = new List(num); - CollectionsMarshal.SetCount(list109, num); - Span span68 = CollectionsMarshal.AsSpan(list109); - ref QuestSequence reference76 = ref span68[0]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - Span span69 = CollectionsMarshal.AsSpan(list110); - span69[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span69[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj61.Steps = list110; - reference76 = obj61; - ref QuestSequence reference77 = ref span68[1]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - Span span70 = CollectionsMarshal.AsSpan(list111); - ref QuestStep reference78 = ref span70[0]; - QuestStep obj63 = new QuestStep(EInteractionType.Interact, 2014494u, new Vector3(538.38403f, 15.701477f, -10.147278f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(770.7179f, 12.84657f, -263.99634f), - MaximumDistance = 300f, - TerritoryId = 1188 - } - } - } - }; - num3 = 6; - List list112 = new List(num3); - CollectionsMarshal.SetCount(list112, num3); - Span span71 = CollectionsMarshal.AsSpan(list112); - span71[0] = null; - span71[1] = null; - span71[2] = null; - span71[3] = null; - span71[4] = null; - span71[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj63.CompletionQuestVariablesFlags = list112; - reference78 = obj63; - ref QuestStep reference79 = ref span70[1]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2014495u, new Vector3(528.77075f, 15.6710205f, -2.456726f), 1188); - num3 = 6; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - Span span72 = CollectionsMarshal.AsSpan(list113); - span72[0] = null; - span72[1] = null; - span72[2] = null; - span72[3] = null; - span72[4] = null; - span72[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list113; - reference79 = questStep5; - ref QuestStep reference80 = ref span70[2]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2014496u, new Vector3(511.7417f, 12.954895f, -7.522766f), 1188); - num3 = 6; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - Span span73 = CollectionsMarshal.AsSpan(list114); - span73[0] = null; - span73[1] = null; - span73[2] = null; - span73[3] = null; - span73[4] = null; - span73[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list114; - reference80 = questStep6; - obj62.Steps = list111; - reference77 = obj62; - ref QuestSequence reference81 = ref span68[2]; - QuestSequence obj64 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - Span span74 = CollectionsMarshal.AsSpan(list115); - span74[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span74[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj64.Steps = list115; - reference81 = obj64; - questRoot13.QuestSequence = list109; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(5213); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - CollectionsMarshal.AsSpan(list116)[0] = "liza"; - questRoot14.Author = list116; - num = 3; - List list117 = new List(num); - CollectionsMarshal.SetCount(list117, num); - Span span75 = CollectionsMarshal.AsSpan(list117); - ref QuestSequence reference82 = ref span75[0]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - Span span76 = CollectionsMarshal.AsSpan(list118); - span76[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span76[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj65.Steps = list118; - reference82 = obj65; - ref QuestSequence reference83 = ref span75[1]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - Span span77 = CollectionsMarshal.AsSpan(list119); - ref QuestStep reference84 = ref span77[0]; - QuestStep obj67 = new QuestStep(EInteractionType.Combat, 2014497u, new Vector3(-130.7851f, 114.39685f, 240.31421f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaEarthenshire, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list120 = new List(num3); - CollectionsMarshal.SetCount(list120, num3); - CollectionsMarshal.AsSpan(list120)[0] = 18174u; - obj67.KillEnemyDataIds = list120; - num3 = 6; - List> list121 = new List>(num3); - CollectionsMarshal.SetCount(list121, num3); - Span> span78 = CollectionsMarshal.AsSpan(list121); - span78[0] = null; - span78[1] = null; - ref List reference85 = ref span78[2]; - num4 = 1; - List list122 = new List(num4); - CollectionsMarshal.SetCount(list122, num4); - CollectionsMarshal.AsSpan(list122)[0] = new QuestWorkValue((byte)1, null, EQuestWorkMode.Bitwise); - reference85 = list122; - span78[3] = null; - span78[4] = null; - span78[5] = null; - obj67.RequiredQuestVariables = list121; - reference84 = obj67; - ref QuestStep reference86 = ref span77[1]; - QuestStep obj68 = new QuestStep(EInteractionType.Combat, 2014498u, new Vector3(-56.565247f, 111.77234f, 172.62524f), 1188) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - CollectionsMarshal.AsSpan(list123)[0] = 18174u; - obj68.KillEnemyDataIds = list123; - num3 = 6; - List> list124 = new List>(num3); - CollectionsMarshal.SetCount(list124, num3); - Span> span79 = CollectionsMarshal.AsSpan(list124); - span79[0] = null; - span79[1] = null; - ref List reference87 = ref span79[2]; - num4 = 1; - List list125 = new List(num4); - CollectionsMarshal.SetCount(list125, num4); - CollectionsMarshal.AsSpan(list125)[0] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - reference87 = list125; - span79[3] = null; - span79[4] = null; - span79[5] = null; - obj68.RequiredQuestVariables = list124; - reference86 = obj68; - ref QuestStep reference88 = ref span77[2]; - QuestStep obj69 = new QuestStep(EInteractionType.Combat, 2014499u, new Vector3(-84.18408f, 111.436646f, 268.05518f), 1188) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list126 = new List(num3); - CollectionsMarshal.SetCount(list126, num3); - CollectionsMarshal.AsSpan(list126)[0] = 18174u; - obj69.KillEnemyDataIds = list126; - num3 = 6; - List> list127 = new List>(num3); - CollectionsMarshal.SetCount(list127, num3); - Span> span80 = CollectionsMarshal.AsSpan(list127); - span80[0] = null; - span80[1] = null; - ref List reference89 = ref span80[2]; - num4 = 1; - List list128 = new List(num4); - CollectionsMarshal.SetCount(list128, num4); - CollectionsMarshal.AsSpan(list128)[0] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - reference89 = list128; - span80[3] = null; - span80[4] = null; - span80[5] = null; - obj69.RequiredQuestVariables = list127; - reference88 = obj69; - obj66.Steps = list119; - reference83 = obj66; - ref QuestSequence reference90 = ref span75[2]; - QuestSequence obj70 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - Span span81 = CollectionsMarshal.AsSpan(list129); - span81[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span81[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj70.Steps = list129; - reference90 = obj70; - questRoot14.QuestSequence = list117; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(5214); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list130 = new List(num); - CollectionsMarshal.SetCount(list130, num); - CollectionsMarshal.AsSpan(list130)[0] = "liza"; - questRoot15.Author = list130; - num = 4; - List list131 = new List(num); - CollectionsMarshal.SetCount(list131, num); - Span span82 = CollectionsMarshal.AsSpan(list131); - ref QuestSequence reference91 = ref span82[0]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list132 = new List(num2); - CollectionsMarshal.SetCount(list132, num2); - Span span83 = CollectionsMarshal.AsSpan(list132); - span83[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span83[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj71.Steps = list132; - reference91 = obj71; - ref QuestSequence reference92 = ref span82[1]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.Interact, 1052324u, new Vector3(-248.18805f, 110.17465f, 189.01343f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaEarthenshire - }; - obj72.Steps = list133; - reference92 = obj72; - ref QuestSequence reference93 = ref span82[2]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - Span span84 = CollectionsMarshal.AsSpan(list134); - ref QuestStep reference94 = ref span84[0]; - QuestStep obj74 = new QuestStep(EInteractionType.Interact, 1052326u, new Vector3(-304.61584f, 110.20639f, 725.39856f), 1188) - { - Fly = true - }; - num3 = 6; - List> list135 = new List>(num3); - CollectionsMarshal.SetCount(list135, num3); - Span> span85 = CollectionsMarshal.AsSpan(list135); - span85[0] = null; - ref List reference95 = ref span85[1]; - num4 = 1; - List list136 = new List(num4); - CollectionsMarshal.SetCount(list136, num4); - CollectionsMarshal.AsSpan(list136)[0] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - reference95 = list136; - span85[2] = null; - span85[3] = null; - span85[4] = null; - span85[5] = null; - obj74.RequiredQuestVariables = list135; - reference94 = obj74; - ref QuestStep reference96 = ref span84[1]; - QuestStep obj75 = new QuestStep(EInteractionType.Interact, 1052435u, new Vector3(505.76025f, 115.10293f, 205.7373f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaManyFires - }; - num3 = 6; - List> list137 = new List>(num3); - CollectionsMarshal.SetCount(list137, num3); - Span> span86 = CollectionsMarshal.AsSpan(list137); - span86[0] = null; - ref List reference97 = ref span86[1]; - num4 = 1; - List list138 = new List(num4); - CollectionsMarshal.SetCount(list138, num4); - CollectionsMarshal.AsSpan(list138)[0] = new QuestWorkValue((byte)1, null, EQuestWorkMode.Bitwise); - reference97 = list138; - span86[2] = null; - span86[3] = null; - span86[4] = null; - span86[5] = null; - obj75.RequiredQuestVariables = list137; - reference96 = obj75; - obj73.Steps = list134; - reference93 = obj73; - ref QuestSequence reference98 = ref span82[3]; - QuestSequence obj76 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - Span span87 = CollectionsMarshal.AsSpan(list139); - span87[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span87[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj76.Steps = list139; - reference98 = obj76; - questRoot15.QuestSequence = list131; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(5215); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list140 = new List(num); - CollectionsMarshal.SetCount(list140, num); - CollectionsMarshal.AsSpan(list140)[0] = "liza"; - questRoot16.Author = list140; - num = 4; - List list141 = new List(num); - CollectionsMarshal.SetCount(list141, num); - Span span88 = CollectionsMarshal.AsSpan(list141); - ref QuestSequence reference99 = ref span88[0]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - Span span89 = CollectionsMarshal.AsSpan(list142); - span89[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span89[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj77.Steps = list142; - reference99 = obj77; - ref QuestSequence reference100 = ref span88[1]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.Interact, 1051798u, new Vector3(897.734f, 6.8223433f, -285.1759f), 1188) - { - Fly = true - }; - obj78.Steps = list143; - reference100 = obj78; - ref QuestSequence reference101 = ref span88[2]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - Span span90 = CollectionsMarshal.AsSpan(list144); - ref QuestStep reference102 = ref span90[0]; - QuestStep obj80 = new QuestStep(EInteractionType.Action, 1052328u, new Vector3(171.6792f, 16.762953f, -112.44379f), 1188) - { - Fly = true, - Action = EAction.BosomBrook - }; - num3 = 6; - List> list145 = new List>(num3); - CollectionsMarshal.SetCount(list145, num3); - Span> span91 = CollectionsMarshal.AsSpan(list145); - span91[0] = null; - span91[1] = null; - ref List reference103 = ref span91[2]; - num4 = 1; - List list146 = new List(num4); - CollectionsMarshal.SetCount(list146, num4); - CollectionsMarshal.AsSpan(list146)[0] = new QuestWorkValue((byte)1, null, EQuestWorkMode.Bitwise); - reference103 = list146; - span91[3] = null; - span91[4] = null; - span91[5] = null; - obj80.RequiredQuestVariables = list145; - reference102 = obj80; - ref QuestStep reference104 = ref span90[1]; - QuestStep obj81 = new QuestStep(EInteractionType.Action, 1052329u, new Vector3(216.7544f, 16.31888f, -99.687195f), 1188) - { - Fly = true, - Action = EAction.BosomBrook - }; - num3 = 6; - List> list147 = new List>(num3); - CollectionsMarshal.SetCount(list147, num3); - Span> span92 = CollectionsMarshal.AsSpan(list147); - span92[0] = null; - span92[1] = null; - ref List reference105 = ref span92[2]; - num4 = 1; - List list148 = new List(num4); - CollectionsMarshal.SetCount(list148, num4); - CollectionsMarshal.AsSpan(list148)[0] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - reference105 = list148; - span92[3] = null; - span92[4] = null; - span92[5] = null; - obj81.RequiredQuestVariables = list147; - reference104 = obj81; - ref QuestStep reference106 = ref span90[2]; - QuestStep obj82 = new QuestStep(EInteractionType.Action, 1052327u, new Vector3(186.38892f, 21.742897f, -74.47931f), 1188) - { - Fly = true, - Action = EAction.BosomBrook - }; - num3 = 6; - List> list149 = new List>(num3); - CollectionsMarshal.SetCount(list149, num3); - Span> span93 = CollectionsMarshal.AsSpan(list149); - span93[0] = null; - span93[1] = null; - ref List reference107 = ref span93[2]; - num4 = 1; - List list150 = new List(num4); - CollectionsMarshal.SetCount(list150, num4); - CollectionsMarshal.AsSpan(list150)[0] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - reference107 = list150; - span93[3] = null; - span93[4] = null; - span93[5] = null; - obj82.RequiredQuestVariables = list149; - reference106 = obj82; - obj79.Steps = list144; - reference101 = obj79; - ref QuestSequence reference108 = ref span88[3]; - QuestSequence obj83 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - Span span94 = CollectionsMarshal.AsSpan(list151); - span94[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span94[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj83.Steps = list151; - reference108 = obj83; - questRoot16.QuestSequence = list141; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(5216); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list152 = new List(num); - CollectionsMarshal.SetCount(list152, num); - CollectionsMarshal.AsSpan(list152)[0] = "liza"; - questRoot17.Author = list152; - num = 3; - List list153 = new List(num); - CollectionsMarshal.SetCount(list153, num); - Span span95 = CollectionsMarshal.AsSpan(list153); - ref QuestSequence reference109 = ref span95[0]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - Span span96 = CollectionsMarshal.AsSpan(list154); - span96[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span96[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj84.Steps = list154; - reference109 = obj84; - ref QuestSequence reference110 = ref span95[1]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - Span span97 = CollectionsMarshal.AsSpan(list155); - ref QuestStep reference111 = ref span97[0]; - QuestStep obj86 = new QuestStep(EInteractionType.Combat, 2014500u, new Vector3(-217.15118f, 109.57495f, 562.005f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaEarthenshire, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list156 = new List(num3); - CollectionsMarshal.SetCount(list156, num3); - CollectionsMarshal.AsSpan(list156)[0] = 18175u; - obj86.KillEnemyDataIds = list156; - num3 = 6; - List> list157 = new List>(num3); - CollectionsMarshal.SetCount(list157, num3); - Span> span98 = CollectionsMarshal.AsSpan(list157); - span98[0] = null; - span98[1] = null; - ref List reference112 = ref span98[2]; - num4 = 1; - List list158 = new List(num4); - CollectionsMarshal.SetCount(list158, num4); - CollectionsMarshal.AsSpan(list158)[0] = new QuestWorkValue((byte)1, null, EQuestWorkMode.Bitwise); - reference112 = list158; - span98[3] = null; - span98[4] = null; - span98[5] = null; - obj86.RequiredQuestVariables = list157; - reference111 = obj86; - ref QuestStep reference113 = ref span97[1]; - QuestStep obj87 = new QuestStep(EInteractionType.Combat, 2014501u, new Vector3(-171.95392f, 109.57495f, 652.09424f), 1188) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list159 = new List(num3); - CollectionsMarshal.SetCount(list159, num3); - CollectionsMarshal.AsSpan(list159)[0] = 18175u; - obj87.KillEnemyDataIds = list159; - num3 = 6; - List> list160 = new List>(num3); - CollectionsMarshal.SetCount(list160, num3); - Span> span99 = CollectionsMarshal.AsSpan(list160); - span99[0] = null; - span99[1] = null; - ref List reference114 = ref span99[2]; - num4 = 1; - List list161 = new List(num4); - CollectionsMarshal.SetCount(list161, num4); - CollectionsMarshal.AsSpan(list161)[0] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - reference114 = list161; - span99[3] = null; - span99[4] = null; - span99[5] = null; - obj87.RequiredQuestVariables = list160; - reference113 = obj87; - ref QuestStep reference115 = ref span97[2]; - QuestStep obj88 = new QuestStep(EInteractionType.Combat, 2014502u, new Vector3(-126.756714f, 109.57495f, 765.68225f), 1188) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list162 = new List(num3); - CollectionsMarshal.SetCount(list162, num3); - CollectionsMarshal.AsSpan(list162)[0] = 18175u; - obj88.KillEnemyDataIds = list162; - num3 = 6; - List> list163 = new List>(num3); - CollectionsMarshal.SetCount(list163, num3); - Span> span100 = CollectionsMarshal.AsSpan(list163); - span100[0] = null; - span100[1] = null; - ref List reference116 = ref span100[2]; - num4 = 1; - List list164 = new List(num4); - CollectionsMarshal.SetCount(list164, num4); - CollectionsMarshal.AsSpan(list164)[0] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - reference116 = list164; - span100[3] = null; - span100[4] = null; - span100[5] = null; - obj88.RequiredQuestVariables = list163; - reference115 = obj88; - obj85.Steps = list155; - reference110 = obj85; - ref QuestSequence reference117 = ref span95[2]; - QuestSequence obj89 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list165 = new List(num2); - CollectionsMarshal.SetCount(list165, num2); - Span span101 = CollectionsMarshal.AsSpan(list165); - span101[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span101[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj89.Steps = list165; - reference117 = obj89; - questRoot17.QuestSequence = list153; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(5217); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list166 = new List(num); - CollectionsMarshal.SetCount(list166, num); - CollectionsMarshal.AsSpan(list166)[0] = "liza"; - questRoot18.Author = list166; - num = 3; - List list167 = new List(num); - CollectionsMarshal.SetCount(list167, num); - Span span102 = CollectionsMarshal.AsSpan(list167); - ref QuestSequence reference118 = ref span102[0]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - Span span103 = CollectionsMarshal.AsSpan(list168); - span103[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span103[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj90.Steps = list168; - reference118 = obj90; - ref QuestSequence reference119 = ref span102[1]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.Interact, 1048848u, new Vector3(621.51514f, 119.49004f, 175.00574f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaManyFires - }; - obj91.Steps = list169; - reference119 = obj91; - ref QuestSequence reference120 = ref span102[2]; - QuestSequence obj92 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - Span span104 = CollectionsMarshal.AsSpan(list170); - span104[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span104[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj92.Steps = list170; - reference120 = obj92; - questRoot18.QuestSequence = list167; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(5218); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - CollectionsMarshal.AsSpan(list171)[0] = "liza"; - questRoot19.Author = list171; - num = 4; - List list172 = new List(num); - CollectionsMarshal.SetCount(list172, num); - Span span105 = CollectionsMarshal.AsSpan(list172); - ref QuestSequence reference121 = ref span105[0]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - Span span106 = CollectionsMarshal.AsSpan(list173); - span106[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span106[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj93.Steps = list173; - reference121 = obj93; - ref QuestSequence reference122 = ref span105[1]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - Span span107 = CollectionsMarshal.AsSpan(list174); - span107[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(971.48047f, 7.1923084f, -254.86214f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(770.7179f, 12.84657f, -263.99634f), - MaximumDistance = 300f, - TerritoryId = 1188 - } - } - } - }; - span107[1] = new QuestStep(EInteractionType.Interact, 1052331u, new Vector3(973.84595f, 7.192305f, -254.87152f), 1188); - obj94.Steps = list174; - reference122 = obj94; - ref QuestSequence reference123 = ref span105[2]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - CollectionsMarshal.AsSpan(list175)[0] = new QuestStep(EInteractionType.Interact, 1052332u, new Vector3(978.027f, 7.1869507f, -257.3739f), 1188) - { - StopDistance = 8f - }; - obj95.Steps = list175; - reference123 = obj95; - ref QuestSequence reference124 = ref span105[3]; - QuestSequence obj96 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list176 = new List(num2); - CollectionsMarshal.SetCount(list176, num2); - Span span108 = CollectionsMarshal.AsSpan(list176); - span108[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span108[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj96.Steps = list176; - reference124 = obj96; - questRoot19.QuestSequence = list172; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(5219); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list177 = new List(num); - CollectionsMarshal.SetCount(list177, num); - CollectionsMarshal.AsSpan(list177)[0] = "liza"; - questRoot20.Author = list177; - num = 4; - List list178 = new List(num); - CollectionsMarshal.SetCount(list178, num); - Span span109 = CollectionsMarshal.AsSpan(list178); - ref QuestSequence reference125 = ref span109[0]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - Span span110 = CollectionsMarshal.AsSpan(list179); - span110[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span110[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj97.Steps = list179; - reference125 = obj97; - ref QuestSequence reference126 = ref span109[1]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - Span span111 = CollectionsMarshal.AsSpan(list180); - ref QuestStep reference127 = ref span111[0]; - QuestStep obj99 = new QuestStep(EInteractionType.Interact, 1052333u, new Vector3(775.1736f, 12.871736f, -196.0022f), 1188) - { - Fly = true - }; - num3 = 6; - List list181 = new List(num3); - CollectionsMarshal.SetCount(list181, num3); - Span span112 = CollectionsMarshal.AsSpan(list181); - span112[0] = null; - span112[1] = null; - span112[2] = null; - span112[3] = null; - span112[4] = null; - span112[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj99.CompletionQuestVariablesFlags = list181; - reference127 = obj99; - ref QuestStep reference128 = ref span111[1]; - QuestStep obj100 = new QuestStep(EInteractionType.Interact, 1052335u, new Vector3(867.76526f, 14.402381f, -171.31305f), 1188) - { - Fly = true - }; - num3 = 6; - List list182 = new List(num3); - CollectionsMarshal.SetCount(list182, num3); - Span span113 = CollectionsMarshal.AsSpan(list182); - span113[0] = null; - span113[1] = null; - span113[2] = null; - span113[3] = null; - span113[4] = null; - span113[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj100.CompletionQuestVariablesFlags = list182; - reference128 = obj100; - ref QuestStep reference129 = ref span111[2]; - QuestStep obj101 = new QuestStep(EInteractionType.Interact, 1052334u, new Vector3(864.5609f, 15.056413f, -256.27533f), 1188) - { - Fly = true - }; - num3 = 6; - List list183 = new List(num3); - CollectionsMarshal.SetCount(list183, num3); - Span span114 = CollectionsMarshal.AsSpan(list183); - span114[0] = null; - span114[1] = null; - span114[2] = null; - span114[3] = null; - span114[4] = null; - span114[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj101.CompletionQuestVariablesFlags = list183; - reference129 = obj101; - obj98.Steps = list180; - reference126 = obj98; - ref QuestSequence reference130 = ref span109[2]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - CollectionsMarshal.AsSpan(list184)[0] = new QuestStep(EInteractionType.Interact, 1052336u, new Vector3(838.4375f, 14.301746f, -222.06458f), 1188) - { - Fly = true - }; - obj102.Steps = list184; - reference130 = obj102; - ref QuestSequence reference131 = ref span109[3]; - QuestSequence obj103 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - Span span115 = CollectionsMarshal.AsSpan(list185); - span115[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - Fly = true - }; - span115[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj103.Steps = list185; - reference131 = obj103; - questRoot20.QuestSequence = list178; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(5220); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list186 = new List(num); - CollectionsMarshal.SetCount(list186, num); - CollectionsMarshal.AsSpan(list186)[0] = "liza"; - questRoot21.Author = list186; - num = 4; - List list187 = new List(num); - CollectionsMarshal.SetCount(list187, num); - Span span116 = CollectionsMarshal.AsSpan(list187); - ref QuestSequence reference132 = ref span116[0]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - Span span117 = CollectionsMarshal.AsSpan(list188); - span117[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span117[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj104.Steps = list188; - reference132 = obj104; - ref QuestSequence reference133 = ref span116[1]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - Span span118 = CollectionsMarshal.AsSpan(list189); - ref QuestStep reference134 = ref span118[0]; - QuestStep obj106 = new QuestStep(EInteractionType.Combat, 2014504u, new Vector3(-232.22711f, 120.25635f, 26.199707f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaEarthenshire, - ItemId = 2003727u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list190 = new List(num3); - CollectionsMarshal.SetCount(list190, num3); - CollectionsMarshal.AsSpan(list190)[0] = 18176u; - obj106.KillEnemyDataIds = list190; - num3 = 6; - List> list191 = new List>(num3); - CollectionsMarshal.SetCount(list191, num3); - Span> span119 = CollectionsMarshal.AsSpan(list191); - span119[0] = null; - span119[1] = null; - span119[2] = null; - ref List reference135 = ref span119[3]; - num4 = 1; - List list192 = new List(num4); - CollectionsMarshal.SetCount(list192, num4); - CollectionsMarshal.AsSpan(list192)[0] = new QuestWorkValue((byte)1, null, EQuestWorkMode.Bitwise); - reference135 = list192; - span119[4] = null; - span119[5] = null; - obj106.RequiredQuestVariables = list191; - reference134 = obj106; - ref QuestStep reference136 = ref span118[1]; - QuestStep obj107 = new QuestStep(EInteractionType.Combat, 2014503u, new Vector3(-134.29468f, 120.62256f, 41.000854f), 1188) - { - Fly = true, - ItemId = 2003727u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list193 = new List(num3); - CollectionsMarshal.SetCount(list193, num3); - CollectionsMarshal.AsSpan(list193)[0] = 18176u; - obj107.KillEnemyDataIds = list193; - num3 = 6; - List> list194 = new List>(num3); - CollectionsMarshal.SetCount(list194, num3); - Span> span120 = CollectionsMarshal.AsSpan(list194); - span120[0] = null; - span120[1] = null; - span120[2] = null; - ref List reference137 = ref span120[3]; - num4 = 1; - List list195 = new List(num4); - CollectionsMarshal.SetCount(list195, num4); - CollectionsMarshal.AsSpan(list195)[0] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - reference137 = list195; - span120[4] = null; - span120[5] = null; - obj107.RequiredQuestVariables = list194; - reference136 = obj107; - ref QuestStep reference138 = ref span118[2]; - QuestStep obj108 = new QuestStep(EInteractionType.Combat, 2014505u, new Vector3(-292.28656f, 119.46289f, 17.959839f), 1188) - { - Fly = true, - ItemId = 2003727u, - EnemySpawnType = EEnemySpawnType.AfterItemUse - }; - num3 = 1; - List list196 = new List(num3); - CollectionsMarshal.SetCount(list196, num3); - CollectionsMarshal.AsSpan(list196)[0] = 18176u; - obj108.KillEnemyDataIds = list196; - num3 = 6; - List> list197 = new List>(num3); - CollectionsMarshal.SetCount(list197, num3); - Span> span121 = CollectionsMarshal.AsSpan(list197); - span121[0] = null; - span121[1] = null; - span121[2] = null; - ref List reference139 = ref span121[3]; - num4 = 1; - List list198 = new List(num4); - CollectionsMarshal.SetCount(list198, num4); - CollectionsMarshal.AsSpan(list198)[0] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - reference139 = list198; - span121[4] = null; - span121[5] = null; - obj108.RequiredQuestVariables = list197; - reference138 = obj108; - obj105.Steps = list189; - reference133 = obj105; - ref QuestSequence reference140 = ref span116[2]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - Span span122 = CollectionsMarshal.AsSpan(list199); - span122[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(746.76465f, 15.431515f, -201.92921f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span122[1] = new QuestStep(EInteractionType.Interact, 1051741u, new Vector3(744.19763f, 15.431515f, -199.17603f), 1188) - { - StopDistance = 7f - }; - obj109.Steps = list199; - reference140 = obj109; - ref QuestSequence reference141 = ref span116[3]; - QuestSequence obj110 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - Span span123 = CollectionsMarshal.AsSpan(list200); - span123[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(770.7179f, 12.84657f, -263.99634f), - MaximumDistance = 300f, - TerritoryId = 1188 - } - } - } - }; - span123[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj110.Steps = list200; - reference141 = obj110; - questRoot21.QuestSequence = list187; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(5221); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list201 = new List(num); - CollectionsMarshal.SetCount(list201, num); - CollectionsMarshal.AsSpan(list201)[0] = "liza"; - questRoot22.Author = list201; - num = 3; - List list202 = new List(num); - CollectionsMarshal.SetCount(list202, num); - Span span124 = CollectionsMarshal.AsSpan(list202); - ref QuestSequence reference142 = ref span124[0]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - Span span125 = CollectionsMarshal.AsSpan(list203); - span125[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span125[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj111.Steps = list203; - reference142 = obj111; - ref QuestSequence reference143 = ref span124[1]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - ref QuestStep reference144 = ref CollectionsMarshal.AsSpan(list204)[0]; - QuestStep obj113 = new QuestStep(EInteractionType.Interact, 1052337u, new Vector3(479.14844f, 113.54922f, 175.37183f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaManyFires - }; - num3 = 2; - List list205 = new List(num3); - CollectionsMarshal.SetCount(list205, num3); - Span span126 = CollectionsMarshal.AsSpan(list205); - span126[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANPEL123_05221_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANPEL123_05221_A1_000_003") - }; - span126[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANPEL123_05221_Q2_000_000"), - Answer = new ExcelRef("TEXT_BANPEL123_05221_A2_000_002") - }; - obj113.DialogueChoices = list205; - reference144 = obj113; - obj112.Steps = list204; - reference143 = obj112; - ref QuestSequence reference145 = ref span124[2]; - QuestSequence obj114 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - Span span127 = CollectionsMarshal.AsSpan(list206); - span127[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span127[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj114.Steps = list206; - reference145 = obj114; - questRoot22.QuestSequence = list202; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(5222); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - CollectionsMarshal.AsSpan(list207)[0] = "liza"; - questRoot23.Author = list207; - num = 5; - List list208 = new List(num); - CollectionsMarshal.SetCount(list208, num); - Span span128 = CollectionsMarshal.AsSpan(list208); - ref QuestSequence reference146 = ref span128[0]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - Span span129 = CollectionsMarshal.AsSpan(list209); - span129[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span129[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj115.Steps = list209; - reference146 = obj115; - ref QuestSequence reference147 = ref span128[1]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - CollectionsMarshal.AsSpan(list210)[0] = new QuestStep(EInteractionType.Interact, 1052339u, new Vector3(910.3379f, 10.1397f, -381.36877f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(770.7179f, 12.84657f, -263.99634f), - MaximumDistance = 300f, - TerritoryId = 1188 - } - } - } - }; - obj116.Steps = list210; - reference147 = obj116; - ref QuestSequence reference148 = ref span128[2]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - CollectionsMarshal.AsSpan(list211)[0] = new QuestStep(EInteractionType.Interact, 2014506u, new Vector3(910.3379f, 10.421875f, -379.01886f), 1188); - obj117.Steps = list211; - reference148 = obj117; - ref QuestSequence reference149 = ref span128[3]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - CollectionsMarshal.AsSpan(list212)[0] = new QuestStep(EInteractionType.Interact, 1052340u, new Vector3(789.9137f, 14.354868f, -215.77783f), 1188); - obj118.Steps = list212; - reference149 = obj118; - ref QuestSequence reference150 = ref span128[4]; - QuestSequence obj119 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - Span span130 = CollectionsMarshal.AsSpan(list213); - span130[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(770.7179f, 12.84657f, -263.99634f), - MaximumDistance = 300f, - TerritoryId = 1188 - } - } - } - }; - span130[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj119.Steps = list213; - reference150 = obj119; - questRoot23.QuestSequence = list208; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(5223); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list214 = new List(num); - CollectionsMarshal.SetCount(list214, num); - CollectionsMarshal.AsSpan(list214)[0] = "liza"; - questRoot24.Author = list214; - num = 4; - List list215 = new List(num); - CollectionsMarshal.SetCount(list215, num); - Span span131 = CollectionsMarshal.AsSpan(list215); - ref QuestSequence reference151 = ref span131[0]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - Span span132 = CollectionsMarshal.AsSpan(list216); - span132[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span132[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj120.Steps = list216; - reference151 = obj120; - ref QuestSequence reference152 = ref span131[1]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - Span span133 = CollectionsMarshal.AsSpan(list217); - span133[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(746.76465f, 15.431515f, -201.92921f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(770.7179f, 12.84657f, -263.99634f), - MaximumDistance = 300f, - TerritoryId = 1188 - } - } - } - }; - span133[1] = new QuestStep(EInteractionType.Interact, 1051741u, new Vector3(744.19763f, 15.431515f, -199.17603f), 1188) - { - StopDistance = 7f - }; - obj121.Steps = list217; - reference152 = obj121; - ref QuestSequence reference153 = ref span131[2]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - CollectionsMarshal.AsSpan(list218)[0] = new QuestStep(EInteractionType.Interact, 1052341u, new Vector3(239.49023f, 111.689354f, 699.3667f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaManyFires - }; - obj122.Steps = list218; - reference153 = obj122; - ref QuestSequence reference154 = ref span131[3]; - QuestSequence obj123 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - Span span134 = CollectionsMarshal.AsSpan(list219); - span134[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span134[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj123.Steps = list219; - reference154 = obj123; - questRoot24.QuestSequence = list215; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(5224); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list220 = new List(num); - CollectionsMarshal.SetCount(list220, num); - CollectionsMarshal.AsSpan(list220)[0] = "liza"; - questRoot25.Author = list220; - num = 4; - List list221 = new List(num); - CollectionsMarshal.SetCount(list221, num); - Span span135 = CollectionsMarshal.AsSpan(list221); - ref QuestSequence reference155 = ref span135[0]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list222 = new List(num2); - CollectionsMarshal.SetCount(list222, num2); - Span span136 = CollectionsMarshal.AsSpan(list222); - span136[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span136[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj124.Steps = list222; - reference155 = obj124; - ref QuestSequence reference156 = ref span135[1]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - Span span137 = CollectionsMarshal.AsSpan(list223); - ref QuestStep reference157 = ref span137[0]; - QuestStep obj126 = new QuestStep(EInteractionType.Combat, 2014508u, new Vector3(566.1554f, 123.552246f, 700.4043f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaManyFires, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list224 = new List(num3); - CollectionsMarshal.SetCount(list224, num3); - CollectionsMarshal.AsSpan(list224)[0] = 18177u; - obj126.KillEnemyDataIds = list224; - num3 = 6; - List> list225 = new List>(num3); - CollectionsMarshal.SetCount(list225, num3); - Span> span138 = CollectionsMarshal.AsSpan(list225); - span138[0] = null; - span138[1] = null; - ref List reference158 = ref span138[2]; - num4 = 1; - List list226 = new List(num4); - CollectionsMarshal.SetCount(list226, num4); - CollectionsMarshal.AsSpan(list226)[0] = new QuestWorkValue((byte)1, null, EQuestWorkMode.Bitwise); - reference158 = list226; - span138[3] = null; - span138[4] = null; - span138[5] = null; - obj126.RequiredQuestVariables = list225; - reference157 = obj126; - ref QuestStep reference159 = ref span137[1]; - QuestStep obj127 = new QuestStep(EInteractionType.Combat, 2014509u, new Vector3(557.94604f, 124.65088f, 778.56104f), 1188) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list227 = new List(num3); - CollectionsMarshal.SetCount(list227, num3); - CollectionsMarshal.AsSpan(list227)[0] = 18177u; - obj127.KillEnemyDataIds = list227; - num3 = 6; - List> list228 = new List>(num3); - CollectionsMarshal.SetCount(list228, num3); - Span> span139 = CollectionsMarshal.AsSpan(list228); - span139[0] = null; - span139[1] = null; - ref List reference160 = ref span139[2]; - num4 = 1; - List list229 = new List(num4); - CollectionsMarshal.SetCount(list229, num4); - CollectionsMarshal.AsSpan(list229)[0] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - reference160 = list229; - span139[3] = null; - span139[4] = null; - span139[5] = null; - obj127.RequiredQuestVariables = list228; - reference159 = obj127; - ref QuestStep reference161 = ref span137[2]; - QuestStep obj128 = new QuestStep(EInteractionType.Combat, 2014507u, new Vector3(721.8584f, 123.09448f, 729.9762f), 1188) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list230 = new List(num3); - CollectionsMarshal.SetCount(list230, num3); - CollectionsMarshal.AsSpan(list230)[0] = 18177u; - obj128.KillEnemyDataIds = list230; - num3 = 6; - List> list231 = new List>(num3); - CollectionsMarshal.SetCount(list231, num3); - Span> span140 = CollectionsMarshal.AsSpan(list231); - span140[0] = null; - span140[1] = null; - ref List reference162 = ref span140[2]; - num4 = 1; - List list232 = new List(num4); - CollectionsMarshal.SetCount(list232, num4); - CollectionsMarshal.AsSpan(list232)[0] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - reference162 = list232; - span140[3] = null; - span140[4] = null; - span140[5] = null; - obj128.RequiredQuestVariables = list231; - reference161 = obj128; - obj125.Steps = list223; - reference156 = obj125; - ref QuestSequence reference163 = ref span135[2]; - QuestSequence obj129 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - CollectionsMarshal.AsSpan(list233)[0] = new QuestStep(EInteractionType.Interact, 1052443u, new Vector3(641.8097f, 122.10785f, 730.70874f), 1188) - { - Fly = true - }; - obj129.Steps = list233; - reference163 = obj129; - ref QuestSequence reference164 = ref span135[3]; - QuestSequence obj130 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - Span span141 = CollectionsMarshal.AsSpan(list234); - span141[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span141[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj130.Steps = list234; - reference164 = obj130; - questRoot25.QuestSequence = list221; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(5225); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list235 = new List(num); - CollectionsMarshal.SetCount(list235, num); - CollectionsMarshal.AsSpan(list235)[0] = "liza"; - questRoot26.Author = list235; - num = 4; - List list236 = new List(num); - CollectionsMarshal.SetCount(list236, num); - Span span142 = CollectionsMarshal.AsSpan(list236); - ref QuestSequence reference165 = ref span142[0]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - Span span143 = CollectionsMarshal.AsSpan(list237); - span143[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span143[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj131.Steps = list237; - reference165 = obj131; - ref QuestSequence reference166 = ref span142[1]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - Span span144 = CollectionsMarshal.AsSpan(list238); - ref QuestStep reference167 = ref span144[0]; - QuestStep obj133 = new QuestStep(EInteractionType.Interact, 2014511u, new Vector3(226.85583f, 2.9450073f, -199.6643f), 1188) - { - StopDistance = 1f, - Fly = true - }; - num3 = 6; - List list239 = new List(num3); - CollectionsMarshal.SetCount(list239, num3); - Span span145 = CollectionsMarshal.AsSpan(list239); - span145[0] = null; - span145[1] = null; - span145[2] = null; - span145[3] = null; - span145[4] = null; - span145[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj133.CompletionQuestVariablesFlags = list239; - reference167 = obj133; - ref QuestStep reference168 = ref span144[1]; - QuestStep obj134 = new QuestStep(EInteractionType.Interact, 2014510u, new Vector3(218.1582f, 2.2124634f, -184.92413f), 1188) - { - StopDistance = 1f - }; - num3 = 6; - List list240 = new List(num3); - CollectionsMarshal.SetCount(list240, num3); - Span span146 = CollectionsMarshal.AsSpan(list240); - span146[0] = null; - span146[1] = null; - span146[2] = null; - span146[3] = null; - span146[4] = null; - span146[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj134.CompletionQuestVariablesFlags = list240; - reference168 = obj134; - ref QuestStep reference169 = ref span144[2]; - QuestStep obj135 = new QuestStep(EInteractionType.Interact, 2014512u, new Vector3(61.53955f, 8.102478f, -230.79272f), 1188) - { - StopDistance = 1f, - Fly = true - }; - num3 = 6; - List list241 = new List(num3); - CollectionsMarshal.SetCount(list241, num3); - Span span147 = CollectionsMarshal.AsSpan(list241); - span147[0] = null; - span147[1] = null; - span147[2] = null; - span147[3] = null; - span147[4] = null; - span147[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj135.CompletionQuestVariablesFlags = list241; - reference169 = obj135; - obj132.Steps = list238; - reference166 = obj132; - ref QuestSequence reference170 = ref span142[2]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - Span span148 = CollectionsMarshal.AsSpan(list242); - span148[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(746.76465f, 15.431515f, -201.92921f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span148[1] = new QuestStep(EInteractionType.Interact, 1051741u, new Vector3(744.19763f, 15.431515f, -199.17603f), 1188) - { - StopDistance = 7f - }; - obj136.Steps = list242; - reference170 = obj136; - ref QuestSequence reference171 = ref span142[3]; - QuestSequence obj137 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list243 = new List(num2); - CollectionsMarshal.SetCount(list243, num2); - Span span149 = CollectionsMarshal.AsSpan(list243); - span149[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(770.7179f, 12.84657f, -263.99634f), - MaximumDistance = 300f, - TerritoryId = 1188 - } - } - } - }; - span149[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj137.Steps = list243; - reference171 = obj137; - questRoot26.QuestSequence = list236; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(5226); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list244 = new List(num); - CollectionsMarshal.SetCount(list244, num); - CollectionsMarshal.AsSpan(list244)[0] = "liza"; - questRoot27.Author = list244; - num = 4; - List list245 = new List(num); - CollectionsMarshal.SetCount(list245, num); - Span span150 = CollectionsMarshal.AsSpan(list245); - ref QuestSequence reference172 = ref span150[0]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - Span span151 = CollectionsMarshal.AsSpan(list246); - span151[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188); - span151[1] = new QuestStep(EInteractionType.AcceptQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj138.Steps = list246; - reference172 = obj138; - ref QuestSequence reference173 = ref span150[1]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - CollectionsMarshal.AsSpan(list247)[0] = new QuestStep(EInteractionType.Interact, 1051798u, new Vector3(897.734f, 6.8223433f, -285.1759f), 1188) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(770.7179f, 12.84657f, -263.99634f), - MaximumDistance = 300f, - TerritoryId = 1188 - } - } - } - }; - obj139.Steps = list247; - reference173 = obj139; - ref QuestSequence reference174 = ref span150[2]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.Action, 1052345u, new Vector3(908.50684f, 5.7142797f, -337.85004f), 1188) - { - Fly = true, - Action = EAction.BosomBrook - }; - obj140.Steps = list248; - reference174 = obj140; - ref QuestSequence reference175 = ref span150[3]; - QuestSequence obj141 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - Span span152 = CollectionsMarshal.AsSpan(list249); - span152[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(770.70636f, 12.846572f, -260.59436f), 1188) - { - AetheryteShortcut = EAetheryteLocation.KozamaukaDockPoga - }; - span152[1] = new QuestStep(EInteractionType.CompleteQuest, 1051711u, new Vector3(770.7179f, 12.84657f, -263.99634f), 1188) - { - StopDistance = 5f - }; - obj141.Steps = list249; - reference175 = obj141; - questRoot27.QuestSequence = list245; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(5227); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list250 = new List(num); - CollectionsMarshal.SetCount(list250, num); - CollectionsMarshal.AsSpan(list250)[0] = "Starr"; - questRoot28.Author = list250; - questRoot28.IsSeasonalQuest = true; - questRoot28.SeasonalQuestExpiry = new DateTime(2024, 12, 31, 0, 0, 0, DateTimeKind.Utc); - num = 6; - List list251 = new List(num); - CollectionsMarshal.SetCount(list251, num); - Span span153 = CollectionsMarshal.AsSpan(list251); - ref QuestSequence reference176 = ref span153[0]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - CollectionsMarshal.AsSpan(list252)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051801u, new Vector3(-49.485046f, 6.499997f, -90.348694f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - obj142.Steps = list252; - reference176 = obj142; - ref QuestSequence reference177 = ref span153[1]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - ref QuestStep reference178 = ref CollectionsMarshal.AsSpan(list253)[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1051808u, new Vector3(-53.60504f, 5.772882f, -99.931335f), 133); - num3 = 1; - List list254 = new List(num3); - CollectionsMarshal.SetCount(list254, num3); - CollectionsMarshal.AsSpan(list254)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_FESXMX001_05227_SYSTEM_000_025") - }; - questStep7.DialogueChoices = list254; - reference178 = questStep7; - obj143.Steps = list253; - reference177 = obj143; - ref QuestSequence reference179 = ref span153[2]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list255 = new List(num2); - CollectionsMarshal.SetCount(list255, num2); - CollectionsMarshal.AsSpan(list255)[0] = new QuestStep(EInteractionType.Interact, 1051803u, new Vector3(33.951294f, -0.36796698f, 24.185547f), 1247); - obj144.Steps = list255; - reference179 = obj144; - ref QuestSequence reference180 = ref span153[3]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - Span span154 = CollectionsMarshal.AsSpan(list256); - ref QuestStep reference181 = ref span154[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1051816u, new Vector3(18.142944f, 0.0028544795f, -0.289917f), 1247); - num3 = 6; - List list257 = new List(num3); - CollectionsMarshal.SetCount(list257, num3); - Span span155 = CollectionsMarshal.AsSpan(list257); - span155[0] = null; - span155[1] = null; - span155[2] = null; - span155[3] = null; - span155[4] = null; - span155[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list257; - reference181 = questStep8; - ref QuestStep reference182 = ref span154[1]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1052469u, new Vector3(-15.640564f, 0.0026466753f, 18.142944f), 1247); - num3 = 6; - List list258 = new List(num3); - CollectionsMarshal.SetCount(list258, num3); - Span span156 = CollectionsMarshal.AsSpan(list258); - span156[0] = null; - span156[1] = null; - span156[2] = null; - span156[3] = null; - span156[4] = null; - span156[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list258; - reference182 = questStep9; - ref QuestStep reference183 = ref span154[2]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1051813u, new Vector3(-5.1118164f, 1.21852545E-05f, -31.99823f), 1247); - num3 = 6; - List list259 = new List(num3); - CollectionsMarshal.SetCount(list259, num3); - Span span157 = CollectionsMarshal.AsSpan(list259); - span157[0] = null; - span157[1] = null; - span157[2] = null; - span157[3] = null; - span157[4] = null; - span157[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list259; - reference183 = questStep10; - obj145.Steps = list256; - reference180 = obj145; - ref QuestSequence reference184 = ref span153[4]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.Interact, 1051804u, new Vector3(-3.4943848f, 0.0028544795f, -18.417664f), 1247); - obj146.Steps = list260; - reference184 = obj146; - ref QuestSequence reference185 = ref span153[5]; - QuestSequence obj147 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051819u, new Vector3(-1.6937866f, 0.0028544795f, -21.042236f), 1247) - { - NextQuestId = new QuestId(5228) - }; - obj147.Steps = list261; - reference185 = obj147; - questRoot28.QuestSequence = list251; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(5228); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list262 = new List(num); - CollectionsMarshal.SetCount(list262, num); - CollectionsMarshal.AsSpan(list262)[0] = "Starr"; - questRoot29.Author = list262; - questRoot29.IsSeasonalQuest = true; - questRoot29.SeasonalQuestExpiry = new DateTime(2024, 12, 31, 0, 0, 0, DateTimeKind.Utc); - num = 8; - List list263 = new List(num); - CollectionsMarshal.SetCount(list263, num); - Span span158 = CollectionsMarshal.AsSpan(list263); - ref QuestSequence reference186 = ref span158[0]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051819u, new Vector3(-1.6937866f, 0.0028544795f, -21.042236f), 1247); - obj148.Steps = list264; - reference186 = obj148; - ref QuestSequence reference187 = ref span158[1]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - CollectionsMarshal.AsSpan(list265)[0] = new QuestStep(EInteractionType.Interact, 1051822u, new Vector3(61.478516f, -7.7123985f, 98.98523f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania - }; - obj149.Steps = list265; - reference187 = obj149; - ref QuestSequence reference188 = ref span158[2]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - Span span159 = CollectionsMarshal.AsSpan(list266); - ref QuestStep reference189 = ref span159[0]; - QuestStep obj151 = new QuestStep(EInteractionType.Interact, 1051807u, new Vector3(-53.635498f, 5.793307f, -99.931335f), 133) - { - TargetTerritoryId = (ushort)1247, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition obj152 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list267 = new List(num3); - CollectionsMarshal.SetCount(list267, num3); - CollectionsMarshal.AsSpan(list267)[0] = 132; - obj152.InTerritory = list267; - skipConditions.AetheryteShortcutIf = obj152; - obj151.SkipConditions = skipConditions; - reference189 = obj151; - span159[1] = new QuestStep(EInteractionType.Interact, 1051823u, new Vector3(34.164917f, -0.37309912f, 23.605652f), 1247); - obj150.Steps = list266; - reference188 = obj150; - ref QuestSequence reference190 = ref span158[3]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - CollectionsMarshal.AsSpan(list268)[0] = new QuestStep(EInteractionType.Interact, 1051833u, new Vector3(35.568726f, -0.24490167f, 21.560913f), 1247); - obj153.Steps = list268; - reference190 = obj153; - ref QuestSequence reference191 = ref span158[4]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list269 = new List(num2); - CollectionsMarshal.SetCount(list269, num2); - Span span160 = CollectionsMarshal.AsSpan(list269); - ref QuestStep reference192 = ref span160[0]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1051816u, new Vector3(18.142944f, 0.0028544795f, -0.289917f), 1247); - num3 = 6; - List list270 = new List(num3); - CollectionsMarshal.SetCount(list270, num3); - Span span161 = CollectionsMarshal.AsSpan(list270); - span161[0] = null; - span161[1] = null; - span161[2] = null; - span161[3] = null; - span161[4] = null; - span161[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list270; - reference192 = questStep11; - ref QuestStep reference193 = ref span160[1]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1051809u, new Vector3(-15.823608f, 0.0028544795f, 9.84198f), 1247); - num3 = 6; - List list271 = new List(num3); - CollectionsMarshal.SetCount(list271, num3); - Span span162 = CollectionsMarshal.AsSpan(list271); - span162[0] = null; - span162[1] = null; - span162[2] = null; - span162[3] = null; - span162[4] = null; - span162[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep12.CompletionQuestVariablesFlags = list271; - reference193 = questStep12; - ref QuestStep reference194 = ref span160[2]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1051813u, new Vector3(-5.1118164f, 1.21852545E-05f, -31.99823f), 1247); - num3 = 6; - List list272 = new List(num3); - CollectionsMarshal.SetCount(list272, num3); - Span span163 = CollectionsMarshal.AsSpan(list272); - span163[0] = null; - span163[1] = null; - span163[2] = null; - span163[3] = null; - span163[4] = null; - span163[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list272; - reference194 = questStep13; - obj154.Steps = list269; - reference191 = obj154; - ref QuestSequence reference195 = ref span158[5]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - CollectionsMarshal.AsSpan(list273)[0] = new QuestStep(EInteractionType.Interact, 1051825u, new Vector3(-1.7853394f, 2.0028546f, -86.38135f), 1247); - obj155.Steps = list273; - reference195 = obj155; - ref QuestSequence reference196 = ref span158[6]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - Span span164 = CollectionsMarshal.AsSpan(list274); - span164[0] = new QuestStep(EInteractionType.Interact, 2014535u, new Vector3(67.88733f, -0.77819824f, 51.224487f), 1247) - { - TargetTerritoryId = (ushort)133 - }; - span164[1] = new QuestStep(EInteractionType.Interact, 1051802u, new Vector3(-50.06488f, 6.499999f, -89.58569f), 133); - obj156.Steps = list274; - reference196 = obj156; - ref QuestSequence reference197 = ref span158[7]; - QuestSequence obj157 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051805u, new Vector3(33.401978f, -0.31104973f, 22.079773f), 1253); - obj157.Steps = list275; - reference197 = obj157; - questRoot29.QuestSequence = list263; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(5229); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list276 = new List(num); - CollectionsMarshal.SetCount(list276, num); - CollectionsMarshal.AsSpan(list276)[0] = "WigglyMuffin"; - questRoot30.Author = list276; - questRoot30.IsSeasonalQuest = true; - questRoot30.SeasonalQuestExpiry = new DateTime(2026, 1, 15, 14, 59, 0, DateTimeKind.Utc); - num = 6; - List list277 = new List(num); - CollectionsMarshal.SetCount(list277, num); - Span span165 = CollectionsMarshal.AsSpan(list277); - ref QuestSequence reference198 = ref span165[0]; - QuestSequence obj158 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - ref QuestStep reference199 = ref CollectionsMarshal.AsSpan(list278)[0]; - QuestStep obj159 = new QuestStep(EInteractionType.AcceptQuest, 1051493u, new Vector3(17.166382f, 45.656f, 133.92847f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list279 = new List(num3); - CollectionsMarshal.SetCount(list279, num3); - CollectionsMarshal.AsSpan(list279)[0] = 128; - skipAetheryteCondition.InTerritory = list279; - skipConditions2.AetheryteShortcutIf = skipAetheryteCondition; - obj159.SkipConditions = skipConditions2; - reference199 = obj159; - obj158.Steps = list278; - reference198 = obj158; - ref QuestSequence reference200 = ref span165[1]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - CollectionsMarshal.AsSpan(list280)[0] = new QuestStep(EInteractionType.Interact, 1052388u, new Vector3(21.22528f, 39.99996f, 32.913696f), 128); - obj160.Steps = list280; - reference200 = obj160; - ref QuestSequence reference201 = ref span165[2]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - CollectionsMarshal.AsSpan(list281)[0] = new QuestStep(EInteractionType.Interact, 1052387u, new Vector3(22.690125f, 39.999985f, 30.71643f), 128); - obj161.Steps = list281; - reference201 = obj161; - ref QuestSequence reference202 = ref span165[3]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - CollectionsMarshal.AsSpan(list282)[0] = new QuestStep(EInteractionType.Interact, 1003598u, new Vector3(-12.069946f, 40.00053f, 11.459534f), 128); - obj162.Steps = list282; - reference202 = obj162; - ref QuestSequence reference203 = ref span165[4]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - Span span166 = CollectionsMarshal.AsSpan(list283); - ref QuestStep reference204 = ref span166[0]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1003550u, new Vector3(76.85962f, 39.99632f, 78.99597f), 128); - num3 = 6; - List list284 = new List(num3); - CollectionsMarshal.SetCount(list284, num3); - Span span167 = CollectionsMarshal.AsSpan(list284); - span167[0] = null; - span167[1] = null; - span167[2] = null; - span167[3] = null; - span167[4] = null; - span167[5] = new QuestWorkValue((byte)8, null, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list284; - reference204 = questStep14; - span166[1] = new QuestStep(EInteractionType.Interact, 1052297u, new Vector3(-94.40759f, 40.999977f, -152.78864f), 128) - { - StopDistance = 6.1f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.LimsaCulinarian - } - }; - obj163.Steps = list283; - reference203 = obj163; - ref QuestSequence reference205 = ref span165[5]; - QuestSequence obj164 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - CollectionsMarshal.AsSpan(list285)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051493u, new Vector3(17.166382f, 45.656f, 133.92847f), 128) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaCulinarian, - To = EAetheryteLocation.LimsaAftcastle - }, - NextQuestId = new QuestId(5230) - }; - obj164.Steps = list285; - reference205 = obj164; - questRoot30.QuestSequence = list277; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(5230); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list286 = new List(num); - CollectionsMarshal.SetCount(list286, num); - CollectionsMarshal.AsSpan(list286)[0] = "WigglyMuffin"; - questRoot31.Author = list286; - questRoot31.IsSeasonalQuest = true; - questRoot31.SeasonalQuestExpiry = new DateTime(2026, 1, 15, 14, 59, 0, DateTimeKind.Utc); - num = 6; - List list287 = new List(num); - CollectionsMarshal.SetCount(list287, num); - Span span168 = CollectionsMarshal.AsSpan(list287); - ref QuestSequence reference206 = ref span168[0]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - ref QuestStep reference207 = ref CollectionsMarshal.AsSpan(list288)[0]; - QuestStep obj166 = new QuestStep(EInteractionType.AcceptQuest, 1051493u, new Vector3(17.166382f, 45.656f, 133.92847f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num3 = 1; - List list289 = new List(num3); - CollectionsMarshal.SetCount(list289, num3); - CollectionsMarshal.AsSpan(list289)[0] = 128; - skipAetheryteCondition2.InTerritory = list289; - skipConditions3.AetheryteShortcutIf = skipAetheryteCondition2; - obj166.SkipConditions = skipConditions3; - reference207 = obj166; - obj165.Steps = list288; - reference206 = obj165; - ref QuestSequence reference208 = ref span168[1]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - CollectionsMarshal.AsSpan(list290)[0] = new QuestStep(EInteractionType.Interact, 1052295u, new Vector3(0.41192627f, 41.71661f, 140.33716f), 134) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.LimsaAftcastle, - To = EAetheryteLocation.LimsaZephyrGate - }, - SkipConditions = new SkipConditions - { - AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj167.Steps = list290; - reference208 = obj167; - ref QuestSequence reference209 = ref span168[2]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - Span span169 = CollectionsMarshal.AsSpan(list291); - span169[0] = new QuestStep(EInteractionType.Interact, 1051866u, new Vector3(1.5411377f, 41.880928f, 140.67285f), 134); - span169[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(24.705452f, 43.45921f, 108.19539f), 134) - { - Mount = false - }; - span169[2] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1051873u, new Vector3(55.588623f, 47.3197f, 59.830566f), 134) - { - Mount = false - }; - obj168.Steps = list291; - reference209 = obj168; - ref QuestSequence reference210 = ref span168[3]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - Span span170 = CollectionsMarshal.AsSpan(list292); - span170[0] = new QuestStep(EInteractionType.Interact, 1051873u, new Vector3(55.588623f, 47.3197f, 59.830566f), 134); - span170[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(79.27331f, 45.43442f, 89.30336f), 134) - { - Mount = false - }; - span170[2] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1051873u, new Vector3(145.73889f, 47.20847f, 156.11499f), 134) - { - Mount = false - }; - obj169.Steps = list292; - reference210 = obj169; - ref QuestSequence reference211 = ref span168[4]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - Span span171 = CollectionsMarshal.AsSpan(list293); - span171[0] = new QuestStep(EInteractionType.Interact, 1051874u, new Vector3(145.73889f, 47.20847f, 156.11499f), 134); - span171[1] = new QuestStep(EInteractionType.WaitForObjectAtPosition, 1051874u, new Vector3(171.25195f, 60.953327f, 261.31067f), 134) - { - Mount = false - }; - obj170.Steps = list293; - reference211 = obj170; - ref QuestSequence reference212 = ref span168[5]; - QuestSequence obj171 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - CollectionsMarshal.AsSpan(list294)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051493u, new Vector3(17.166382f, 45.656f, 133.92847f), 128); - obj171.Steps = list294; - reference212 = obj171; - questRoot31.QuestSequence = list287; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(5231); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list295 = new List(num); - CollectionsMarshal.SetCount(list295, num); - CollectionsMarshal.AsSpan(list295)[0] = "WigglyMuffin"; - questRoot32.Author = list295; - questRoot32.IsSeasonalQuest = true; - questRoot32.SeasonalQuestExpiry = new DateTime(2025, 12, 31, 14, 59, 0, DateTimeKind.Utc); - num = 8; - List list296 = new List(num); - CollectionsMarshal.SetCount(list296, num); - Span span172 = CollectionsMarshal.AsSpan(list296); - ref QuestSequence reference213 = ref span172[0]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - ref QuestStep reference214 = ref CollectionsMarshal.AsSpan(list297)[0]; - QuestStep obj173 = new QuestStep(EInteractionType.AcceptQuest, 1054361u, new Vector3(-50.06488f, 6.4999995f, -89.58569f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipAetheryteCondition obj174 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list298 = new List(num3); - CollectionsMarshal.SetCount(list298, num3); - Span span173 = CollectionsMarshal.AsSpan(list298); - span173[0] = 132; - span173[1] = 133; - obj174.InTerritory = list298; - skipConditions4.AetheryteShortcutIf = obj174; - obj173.SkipConditions = skipConditions4; - reference214 = obj173; - obj172.Steps = list297; - reference213 = obj172; - ref QuestSequence reference215 = ref span172[1]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - ref QuestStep reference216 = ref CollectionsMarshal.AsSpan(list299)[0]; - QuestStep obj176 = new QuestStep(EInteractionType.Interact, 1054363u, new Vector3(-53.97119f, 5.798081f, -100.93848f), 133) - { - TargetTerritoryId = (ushort)1309, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipAetheryteCondition obj177 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list300 = new List(num3); - CollectionsMarshal.SetCount(list300, num3); - Span span174 = CollectionsMarshal.AsSpan(list300); - span174[0] = 132; - span174[1] = 133; - obj177.InTerritory = list300; - skipConditions5.AetheryteShortcutIf = obj177; - obj176.SkipConditions = skipConditions5; - reference216 = obj176; - obj175.Steps = list299; - reference215 = obj175; - ref QuestSequence reference217 = ref span172[2]; - QuestSequence obj178 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - Span span175 = CollectionsMarshal.AsSpan(list301); - ref QuestStep reference218 = ref span175[0]; - QuestStep obj179 = new QuestStep(EInteractionType.Interact, 1054364u, new Vector3(-53.97119f, 5.798081f, -100.93848f), 133) - { - TargetTerritoryId = (ushort)1309, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list302 = new List(num3); - CollectionsMarshal.SetCount(list302, num3); - CollectionsMarshal.AsSpan(list302)[0] = 1309; - skipStepConditions.InTerritory = list302; - skipConditions6.StepIf = skipStepConditions; - SkipAetheryteCondition obj180 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 3; - List list303 = new List(num3); - CollectionsMarshal.SetCount(list303, num3); - Span span176 = CollectionsMarshal.AsSpan(list303); - span176[0] = 132; - span176[1] = 133; - span176[2] = 1309; - obj180.InTerritory = list303; - skipConditions6.AetheryteShortcutIf = obj180; - obj179.SkipConditions = skipConditions6; - reference218 = obj179; - span175[1] = new QuestStep(EInteractionType.Interact, 1054362u, new Vector3(15.182739f, 0.0017376093f, -24.643372f), 1309); - obj178.Steps = list301; - reference217 = obj178; - ref QuestSequence reference219 = ref span172[3]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - Span span177 = CollectionsMarshal.AsSpan(list304); - ref QuestStep reference220 = ref span177[0]; - QuestStep obj182 = new QuestStep(EInteractionType.Interact, 1054367u, new Vector3(86.045654f, 5.995377f, -91.844055f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLeatherworker - } - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipAetheryteCondition obj183 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list305 = new List(num3); - CollectionsMarshal.SetCount(list305, num3); - Span span178 = CollectionsMarshal.AsSpan(list305); - span178[0] = 132; - span178[1] = 133; - obj183.InTerritory = list305; - skipConditions7.AetheryteShortcutIf = obj183; - obj182.SkipConditions = skipConditions7; - num3 = 6; - List list306 = new List(num3); - CollectionsMarshal.SetCount(list306, num3); - Span span179 = CollectionsMarshal.AsSpan(list306); - span179[0] = null; - span179[1] = null; - span179[2] = null; - span179[3] = null; - span179[4] = null; - span179[5] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - obj182.CompletionQuestVariablesFlags = list306; - reference220 = obj182; - ref QuestStep reference221 = ref span177[1]; - QuestStep obj184 = new QuestStep(EInteractionType.Interact, 1054366u, new Vector3(159.2279f, 15.699927f, -117.93707f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLeatherworker - } - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipAetheryteCondition obj185 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list307 = new List(num3); - CollectionsMarshal.SetCount(list307, num3); - Span span180 = CollectionsMarshal.AsSpan(list307); - span180[0] = 132; - span180[1] = 133; - obj185.InTerritory = list307; - skipConditions8.AetheryteShortcutIf = obj185; - obj184.SkipConditions = skipConditions8; - num3 = 6; - List list308 = new List(num3); - CollectionsMarshal.SetCount(list308, num3); - Span span181 = CollectionsMarshal.AsSpan(list308); - span181[0] = null; - span181[1] = null; - span181[2] = null; - span181[3] = null; - span181[4] = null; - span181[5] = new QuestWorkValue((byte)6, null, EQuestWorkMode.Bitwise); - obj184.CompletionQuestVariablesFlags = list308; - reference221 = obj184; - ref QuestStep reference222 = ref span177[2]; - QuestStep obj186 = new QuestStep(EInteractionType.Interact, 1054365u, new Vector3(161.6388f, 15.499999f, -61.997437f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaLeatherworker - } - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipAetheryteCondition obj187 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list309 = new List(num3); - CollectionsMarshal.SetCount(list309, num3); - Span span182 = CollectionsMarshal.AsSpan(list309); - span182[0] = 132; - span182[1] = 133; - obj187.InTerritory = list309; - skipConditions9.AetheryteShortcutIf = obj187; - obj186.SkipConditions = skipConditions9; - reference222 = obj186; - obj181.Steps = list304; - reference219 = obj181; - ref QuestSequence reference223 = ref span172[4]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - ref QuestStep reference224 = ref CollectionsMarshal.AsSpan(list310)[0]; - QuestStep obj189 = new QuestStep(EInteractionType.Interact, 1054361u, new Vector3(-50.06488f, 6.4999995f, -89.58569f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLeatherworker, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipAetheryteCondition obj190 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list311 = new List(num3); - CollectionsMarshal.SetCount(list311, num3); - Span span183 = CollectionsMarshal.AsSpan(list311); - span183[0] = 132; - span183[1] = 133; - obj190.InTerritory = list311; - skipConditions10.AetheryteShortcutIf = obj190; - obj189.SkipConditions = skipConditions10; - reference224 = obj189; - obj188.Steps = list310; - reference223 = obj188; - ref QuestSequence reference225 = ref span172[5]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 5 - }; - num2 = 4; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - Span span184 = CollectionsMarshal.AsSpan(list312); - ref QuestStep reference226 = ref span184[0]; - QuestStep obj192 = new QuestStep(EInteractionType.Interact, 1054364u, new Vector3(-53.97119f, 5.798081f, -100.93848f), 133) - { - TargetTerritoryId = (ushort)1309, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list313 = new List(num3); - CollectionsMarshal.SetCount(list313, num3); - CollectionsMarshal.AsSpan(list313)[0] = 1309; - skipStepConditions2.InTerritory = list313; - skipConditions11.StepIf = skipStepConditions2; - SkipAetheryteCondition obj193 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 3; - List list314 = new List(num3); - CollectionsMarshal.SetCount(list314, num3); - Span span185 = CollectionsMarshal.AsSpan(list314); - span185[0] = 132; - span185[1] = 133; - span185[2] = 1309; - obj193.InTerritory = list314; - skipConditions11.AetheryteShortcutIf = obj193; - obj192.SkipConditions = skipConditions11; - reference226 = obj192; - ref QuestStep reference227 = ref span184[1]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1054370u, new Vector3(-13.01593f, 0.0015269257f, 24.429688f), 1309); - num3 = 6; - List list315 = new List(num3); - CollectionsMarshal.SetCount(list315, num3); - Span span186 = CollectionsMarshal.AsSpan(list315); - span186[0] = null; - span186[1] = null; - span186[2] = null; - span186[3] = null; - span186[4] = null; - span186[5] = new QuestWorkValue((byte)4, null, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list315; - reference227 = questStep15; - ref QuestStep reference228 = ref span184[2]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1054369u, new Vector3(7.7973022f, 0.0028544795f, -15.701599f), 1309); - num3 = 6; - List list316 = new List(num3); - CollectionsMarshal.SetCount(list316, num3); - Span span187 = CollectionsMarshal.AsSpan(list316); - span187[0] = null; - span187[1] = null; - span187[2] = null; - span187[3] = null; - span187[4] = null; - span187[5] = new QuestWorkValue((byte)12, null, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list316; - reference228 = questStep16; - span184[3] = new QuestStep(EInteractionType.Interact, 1054371u, new Vector3(18.661804f, 2.0028546f, -93.0343f), 1309); - obj191.Steps = list312; - reference225 = obj191; - ref QuestSequence reference229 = ref span172[6]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list317 = new List(num2); - CollectionsMarshal.SetCount(list317, num2); - Span span188 = CollectionsMarshal.AsSpan(list317); - ref QuestStep reference230 = ref span188[0]; - QuestStep obj195 = new QuestStep(EInteractionType.Interact, 1054364u, new Vector3(-53.97119f, 5.798081f, -100.93848f), 133) - { - TargetTerritoryId = (ushort)1309, - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions12 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list318 = new List(num3); - CollectionsMarshal.SetCount(list318, num3); - CollectionsMarshal.AsSpan(list318)[0] = 1309; - skipStepConditions3.InTerritory = list318; - skipConditions12.StepIf = skipStepConditions3; - SkipAetheryteCondition obj196 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 3; - List list319 = new List(num3); - CollectionsMarshal.SetCount(list319, num3); - Span span189 = CollectionsMarshal.AsSpan(list319); - span189[0] = 132; - span189[1] = 133; - span189[2] = 1309; - obj196.InTerritory = list319; - skipConditions12.AetheryteShortcutIf = obj196; - obj195.SkipConditions = skipConditions12; - reference230 = obj195; - ref QuestStep reference231 = ref span188[1]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1054374u, new Vector3(11.48999f, 0.0028544795f, -12.64978f), 1309); - num3 = 7; - List list320 = new List(num3); - CollectionsMarshal.SetCount(list320, num3); - Span span190 = CollectionsMarshal.AsSpan(list320); - span190[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_FESXMX101_05231_Q2_000_000"), - Answer = new ExcelRef("TEXT_FESXMX101_05231_A2_000_001") - }; - span190[1] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_FESXMX101_05231_SYSTEM_000_124") - }; - span190[2] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_FESXMX101_05231_Q3_000_000"), - Answer = new ExcelRef("TEXT_FESXMX101_05231_A3_000_003") - }; - span190[3] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_FESXMX101_05231_Q4_000_000"), - Answer = new ExcelRef("TEXT_FESXMX101_05231_A4_000_002") - }; - span190[4] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_FESXMX101_05231_Q5_000_000"), - Answer = new ExcelRef("TEXT_FESXMX101_05231_A5_000_003") - }; - span190[5] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_FESXMX101_05231_Q6_000_000"), - Answer = new ExcelRef("TEXT_FESXMX101_05231_A6_000_001") - }; - span190[6] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_FESXMX101_05231_Q7_000_000"), - Answer = new ExcelRef("TEXT_FESXMX101_05231_A7_000_002") - }; - questStep17.DialogueChoices = list320; - reference231 = questStep17; - obj194.Steps = list317; - reference229 = obj194; - ref QuestSequence reference232 = ref span172[7]; - QuestSequence obj197 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list321 = new List(num2); - CollectionsMarshal.SetCount(list321, num2); - ref QuestStep reference233 = ref CollectionsMarshal.AsSpan(list321)[0]; - QuestStep obj198 = new QuestStep(EInteractionType.CompleteQuest, 1054361u, new Vector3(-50.06488f, 6.4999995f, -89.58569f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions13 = new SkipConditions(); - SkipAetheryteCondition obj199 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list322 = new List(num3); - CollectionsMarshal.SetCount(list322, num3); - Span span191 = CollectionsMarshal.AsSpan(list322); - span191[0] = 132; - span191[1] = 133; - obj199.InTerritory = list322; - skipConditions13.AetheryteShortcutIf = obj199; - obj198.SkipConditions = skipConditions13; - reference233 = obj198; - obj197.Steps = list321; - reference232 = obj197; - questRoot32.QuestSequence = list296; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(5233); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list323 = new List(num); - CollectionsMarshal.SetCount(list323, num); - CollectionsMarshal.AsSpan(list323)[0] = "liza"; - questRoot33.Author = list323; - num = 6; - List list324 = new List(num); - CollectionsMarshal.SetCount(list324, num); - Span span192 = CollectionsMarshal.AsSpan(list324); - ref QuestSequence reference234 = ref span192[0]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list325 = new List(num2); - CollectionsMarshal.SetCount(list325, num2); - CollectionsMarshal.AsSpan(list325)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051950u, new Vector3(-15.335327f, -5.9003114E-09f, 31.3573f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj200.Steps = list325; - reference234 = obj200; - ref QuestSequence reference235 = ref span192[1]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list326 = new List(num2); - CollectionsMarshal.SetCount(list326, num2); - CollectionsMarshal.AsSpan(list326)[0] = new QuestStep(EInteractionType.Interact, 1052166u, new Vector3(567.6814f, -131.41925f, 610.1013f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook - }; - obj201.Steps = list326; - reference235 = obj201; - ref QuestSequence reference236 = ref span192[2]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list327 = new List(num2); - CollectionsMarshal.SetCount(list327, num2); - CollectionsMarshal.AsSpan(list327)[0] = new QuestStep(EInteractionType.Interact, 2014454u, new Vector3(-525.8412f, -158.37347f, 541.46643f), 1189) - { - Fly = true - }; - obj202.Steps = list327; - reference236 = obj202; - ref QuestSequence reference237 = ref span192[3]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - CollectionsMarshal.AsSpan(list328)[0] = new QuestStep(EInteractionType.Interact, 1051954u, new Vector3(-531.57855f, -152.53433f, 645.777f), 1189); - obj203.Steps = list328; - reference237 = obj203; - ref QuestSequence reference238 = ref span192[4]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list329 = new List(num2); - CollectionsMarshal.SetCount(list329, num2); - CollectionsMarshal.AsSpan(list329)[0] = new QuestStep(EInteractionType.Duty, null, null, 1189) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 1015u - } - }; - obj204.Steps = list329; - reference238 = obj204; - ref QuestSequence reference239 = ref span192[5]; - QuestSequence obj205 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list330 = new List(num2); - CollectionsMarshal.SetCount(list330, num2); - CollectionsMarshal.AsSpan(list330)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051956u, new Vector3(1.8463135f, 41.99997f, -2.456726f), 1264) - { - StopDistance = 7f, - NextQuestId = new QuestId(5234) - }; - obj205.Steps = list330; - reference239 = obj205; - questRoot33.QuestSequence = list324; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(5234); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list331 = new List(num); - CollectionsMarshal.SetCount(list331, num); - CollectionsMarshal.AsSpan(list331)[0] = "liza"; - questRoot34.Author = list331; - num = 5; - List list332 = new List(num); - CollectionsMarshal.SetCount(list332, num); - Span span193 = CollectionsMarshal.AsSpan(list332); - ref QuestSequence reference240 = ref span193[0]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list333 = new List(num2); - CollectionsMarshal.SetCount(list333, num2); - CollectionsMarshal.AsSpan(list333)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051957u, new Vector3(-1.6327515f, 41.999977f, -0.7172241f), 1264) - { - StopDistance = 6f - }; - obj206.Steps = list333; - reference240 = obj206; - ref QuestSequence reference241 = ref span193[1]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list334 = new List(num2); - CollectionsMarshal.SetCount(list334, num2); - CollectionsMarshal.AsSpan(list334)[0] = new QuestStep(EInteractionType.Interact, 1051957u, new Vector3(-1.6327515f, 41.999977f, -0.7172241f), 1264) - { - StopDistance = 6f - }; - obj207.Steps = list334; - reference241 = obj207; - ref QuestSequence reference242 = ref span193[2]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list335 = new List(num2); - CollectionsMarshal.SetCount(list335, num2); - Span span194 = CollectionsMarshal.AsSpan(list335); - ref QuestStep reference243 = ref span194[0]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1051959u, new Vector3(-15.854187f, 41.99999f, -4.6845703f), 1264); - num3 = 6; - List list336 = new List(num3); - CollectionsMarshal.SetCount(list336, num3); - Span span195 = CollectionsMarshal.AsSpan(list336); - span195[0] = null; - span195[1] = null; - span195[2] = null; - span195[3] = null; - span195[4] = null; - span195[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list336; - reference243 = questStep18; - ref QuestStep reference244 = ref span194[1]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 1051961u, new Vector3(-13.931519f, 41.999992f, -49.027283f), 1264); - num3 = 6; - List list337 = new List(num3); - CollectionsMarshal.SetCount(list337, num3); - Span span196 = CollectionsMarshal.AsSpan(list337); - span196[0] = null; - span196[1] = null; - span196[2] = null; - span196[3] = null; - span196[4] = null; - span196[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list337; - reference244 = questStep19; - ref QuestStep reference245 = ref span194[2]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 1051960u, new Vector3(15.457336f, 43.499985f, -137.25494f), 1264); - num3 = 6; - List list338 = new List(num3); - CollectionsMarshal.SetCount(list338, num3); - Span span197 = CollectionsMarshal.AsSpan(list338); - span197[0] = null; - span197[1] = null; - span197[2] = null; - span197[3] = null; - span197[4] = null; - span197[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep20.CompletionQuestVariablesFlags = list338; - reference245 = questStep20; - ref QuestStep reference246 = ref span194[3]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 2014455u, new Vector3(71.213745f, 43.411865f, -84.00098f), 1264); - num3 = 6; - List list339 = new List(num3); - CollectionsMarshal.SetCount(list339, num3); - Span span198 = CollectionsMarshal.AsSpan(list339); - span198[0] = null; - span198[1] = null; - span198[2] = null; - span198[3] = null; - span198[4] = null; - span198[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep21.CompletionQuestVariablesFlags = list339; - num3 = 1; - List list340 = new List(num3); - CollectionsMarshal.SetCount(list340, num3); - CollectionsMarshal.AsSpan(list340)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGEA102_05234_Q2_000_000"), - Answer = new ExcelRef("TEXT_KINGEA102_05234_A2_000_001") - }; - questStep21.DialogueChoices = list340; - reference246 = questStep21; - obj208.Steps = list335; - reference242 = obj208; - ref QuestSequence reference247 = ref span193[3]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - CollectionsMarshal.AsSpan(list341)[0] = new QuestStep(EInteractionType.Interact, 1051958u, new Vector3(1.8463135f, 41.99997f, -2.456726f), 1264); - obj209.Steps = list341; - reference247 = obj209; - ref QuestSequence reference248 = ref span193[4]; - QuestSequence obj210 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - CollectionsMarshal.AsSpan(list342)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051965u, new Vector3(1.8463135f, 41.99997f, -2.456726f), 1264) - { - NextQuestId = new QuestId(5235) - }; - obj210.Steps = list342; - reference248 = obj210; - questRoot34.QuestSequence = list332; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(5235); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list343 = new List(num); - CollectionsMarshal.SetCount(list343, num); - CollectionsMarshal.AsSpan(list343)[0] = "liza"; - questRoot35.Author = list343; - num = 6; - List list344 = new List(num); - CollectionsMarshal.SetCount(list344, num); - Span span199 = CollectionsMarshal.AsSpan(list344); - ref QuestSequence reference249 = ref span199[0]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list345 = new List(num2); - CollectionsMarshal.SetCount(list345, num2); - CollectionsMarshal.AsSpan(list345)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051964u, new Vector3(0.56451416f, 41.999973f, -5.2339478f), 1264); - obj211.Steps = list345; - reference249 = obj211; - ref QuestSequence reference250 = ref span199[1]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list346 = new List(num2); - CollectionsMarshal.SetCount(list346, num2); - CollectionsMarshal.AsSpan(list346)[0] = new QuestStep(EInteractionType.Interact, 1051967u, new Vector3(564.72107f, -131.41925f, 609.21643f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook - }; - obj212.Steps = list346; - reference250 = obj212; - ref QuestSequence reference251 = ref span199[2]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list347 = new List(num2); - CollectionsMarshal.SetCount(list347, num2); - CollectionsMarshal.AsSpan(list347)[0] = new QuestStep(EInteractionType.Interact, 2014464u, new Vector3(-412.2835f, 2.9754639f, -57.846985f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalDirigibleLanding - } - }; - obj213.Steps = list347; - reference251 = obj213; - ref QuestSequence reference252 = ref span199[3]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list348 = new List(num2); - CollectionsMarshal.SetCount(list348, num2); - CollectionsMarshal.AsSpan(list348)[0] = new QuestStep(EInteractionType.Interact, 1051971u, new Vector3(-414.69446f, 3f, -55.10034f), 1185) - { - StopDistance = 5f - }; - obj214.Steps = list348; - reference252 = obj214; - ref QuestSequence reference253 = ref span199[4]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list349 = new List(num2); - CollectionsMarshal.SetCount(list349, num2); - CollectionsMarshal.AsSpan(list349)[0] = new QuestStep(EInteractionType.Interact, 1051971u, new Vector3(93.53023f, -14f, 50.456287f), 1185) - { - StopDistance = 0.25f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalDirigibleLanding, - To = EAetheryteLocation.Tuliyollal - } - }; - obj215.Steps = list349; - reference253 = obj215; - ref QuestSequence reference254 = ref span199[5]; - QuestSequence obj216 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - CollectionsMarshal.AsSpan(list350)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051972u, new Vector3(123.79639f, -14f, 27.115234f), 1185) - { - StopDistance = 5f, - NextQuestId = new QuestId(5236) - }; - obj216.Steps = list350; - reference254 = obj216; - questRoot35.QuestSequence = list344; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(5236); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list351 = new List(num); - CollectionsMarshal.SetCount(list351, num); - CollectionsMarshal.AsSpan(list351)[0] = "liza"; - questRoot36.Author = list351; - num = 7; - List list352 = new List(num); - CollectionsMarshal.SetCount(list352, num); - Span span200 = CollectionsMarshal.AsSpan(list352); - ref QuestSequence reference255 = ref span200[0]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list353 = new List(num2); - CollectionsMarshal.SetCount(list353, num2); - CollectionsMarshal.AsSpan(list353)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051974u, new Vector3(121.782104f, -14f, 29.587158f), 1185) - { - StopDistance = 7f - }; - obj217.Steps = list353; - reference255 = obj217; - ref QuestSequence reference256 = ref span200[1]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list354 = new List(num2); - CollectionsMarshal.SetCount(list354, num2); - CollectionsMarshal.AsSpan(list354)[0] = new QuestStep(EInteractionType.Interact, 1052148u, new Vector3(-527.245f, -152.47649f, 663.6301f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook - }; - obj218.Steps = list354; - reference256 = obj218; - ref QuestSequence reference257 = ref span200[2]; - QuestSequence obj219 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list355 = new List(num2); - CollectionsMarshal.SetCount(list355, num2); - Span span201 = CollectionsMarshal.AsSpan(list355); - ref QuestStep reference258 = ref span201[0]; - QuestStep obj220 = new QuestStep(EInteractionType.Interact, 2014450u, new Vector3(-528.37415f, -152.20874f, 671.13745f), 1189) - { - TargetTerritoryId = (ushort)1265 - }; - SkipConditions skipConditions14 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 1; - List list356 = new List(num3); - CollectionsMarshal.SetCount(list356, num3); - CollectionsMarshal.AsSpan(list356)[0] = 1265; - skipStepConditions4.InTerritory = list356; - skipConditions14.StepIf = skipStepConditions4; - obj220.SkipConditions = skipConditions14; - reference258 = obj220; - ref QuestStep reference259 = ref span201[1]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1052131u, new Vector3(-23.849854f, 43f, -25.192688f), 1265); - num3 = 6; - List list357 = new List(num3); - CollectionsMarshal.SetCount(list357, num3); - Span span202 = CollectionsMarshal.AsSpan(list357); - span202[0] = null; - span202[1] = null; - span202[2] = null; - span202[3] = null; - span202[4] = null; - span202[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep22.CompletionQuestVariablesFlags = list357; - reference259 = questStep22; - ref QuestStep reference260 = ref span201[2]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1052132u, new Vector3(-1.1139526f, 41.999992f, -110.15497f), 1265); - num3 = 6; - List list358 = new List(num3); - CollectionsMarshal.SetCount(list358, num3); - Span span203 = CollectionsMarshal.AsSpan(list358); - span203[0] = null; - span203[1] = null; - span203[2] = null; - span203[3] = null; - span203[4] = null; - span203[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list358; - reference260 = questStep23; - obj219.Steps = list355; - reference257 = obj219; - ref QuestSequence reference261 = ref span200[3]; - QuestSequence obj221 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list359 = new List(num2); - CollectionsMarshal.SetCount(list359, num2); - CollectionsMarshal.AsSpan(list359)[0] = new QuestStep(EInteractionType.Interact, 1052139u, new Vector3(11.459534f, 41.99999f, -50.644714f), 1265); - obj221.Steps = list359; - reference261 = obj221; - ref QuestSequence reference262 = ref span200[4]; - QuestSequence obj222 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list360 = new List(num2); - CollectionsMarshal.SetCount(list360, num2); - ref QuestStep reference263 = ref CollectionsMarshal.AsSpan(list360)[0]; - QuestStep obj223 = new QuestStep(EInteractionType.Interact, 1051948u, new Vector3(11.36792f, 41.99999f, -50.55316f), 1265) - { - StopDistance = 5f - }; - num3 = 5; - List list361 = new List(num3); - CollectionsMarshal.SetCount(list361, num3); - Span span204 = CollectionsMarshal.AsSpan(list361); - span204[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGEA104_05236_Q1_000_000") - }; - span204[1] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGEA104_05236_Q2_000_000") - }; - span204[2] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGEA104_05236_Q3_000_000"), - Answer = new ExcelRef("TEXT_KINGEA104_05236_A3_000_002") - }; - span204[3] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGEA104_05236_Q5_000_000"), - Answer = new ExcelRef("TEXT_KINGEA104_05236_A5_000_002") - }; - span204[4] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGEA104_05236_Q7_000_000"), - Answer = new ExcelRef("TEXT_KINGEA104_05236_A7_000_001") - }; - obj223.DialogueChoices = list361; - num3 = 1; - List list362 = new List(num3); - CollectionsMarshal.SetCount(list362, num3); - CollectionsMarshal.AsSpan(list362)[0] = 0u; - obj223.PointMenuChoices = list362; - reference263 = obj223; - obj222.Steps = list360; - reference262 = obj222; - ref QuestSequence reference264 = ref span200[5]; - QuestSequence obj224 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list363 = new List(num2); - CollectionsMarshal.SetCount(list363, num2); - CollectionsMarshal.AsSpan(list363)[0] = new QuestStep(EInteractionType.Interact, 1052163u, new Vector3(5.9662476f, 41.999992f, -47.226746f), 1265); - obj224.Steps = list363; - reference264 = obj224; - ref QuestSequence reference265 = ref span200[6]; - QuestSequence obj225 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list364 = new List(num2); - CollectionsMarshal.SetCount(list364, num2); - CollectionsMarshal.AsSpan(list364)[0] = new QuestStep(EInteractionType.CompleteQuest, 1052145u, new Vector3(139.45215f, 42f, -354.84857f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalBrightploomPost - } - }; - obj225.Steps = list364; - reference265 = obj225; - questRoot36.QuestSequence = list352; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(5237); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list365 = new List(num); - CollectionsMarshal.SetCount(list365, num); - CollectionsMarshal.AsSpan(list365)[0] = "liza"; - questRoot37.Author = list365; - questRoot37.IsSeasonalQuest = true; - questRoot37.SeasonalQuestExpiry = new DateTime(2025, 3, 17, 0, 0, 0, DateTimeKind.Utc); - num = 4; - List list366 = new List(num); - CollectionsMarshal.SetCount(list366, num); - Span span205 = CollectionsMarshal.AsSpan(list366); - ref QuestSequence reference266 = ref span205[0]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list367 = new List(num2); - CollectionsMarshal.SetCount(list367, num2); - CollectionsMarshal.AsSpan(list367)[0] = new QuestStep(EInteractionType.AcceptQuest, 1051884u, new Vector3(-35.111023f, 5.000001f, -130.35785f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj226.Steps = list367; - reference266 = obj226; - ref QuestSequence reference267 = ref span205[1]; - QuestSequence obj227 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list368 = new List(num2); - CollectionsMarshal.SetCount(list368, num2); - CollectionsMarshal.AsSpan(list368)[0] = new QuestStep(EInteractionType.Interact, 1051889u, new Vector3(-51.499268f, 18f, 60.471436f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGoldsmith - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj227.Steps = list368; - reference267 = obj227; - ref QuestSequence reference268 = ref span205[2]; - QuestSequence obj228 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list369 = new List(num2); - CollectionsMarshal.SetCount(list369, num2); - Span span206 = CollectionsMarshal.AsSpan(list369); - ref QuestStep reference269 = ref span206[0]; - QuestStep obj229 = new QuestStep(EInteractionType.Interact, 1051892u, new Vector3(130.05261f, 7.992012f, 75.94409f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGoldsmith, - To = EAetheryteLocation.UldahWeaver - } - }; - num3 = 6; - List list370 = new List(num3); - CollectionsMarshal.SetCount(list370, num3); - Span span207 = CollectionsMarshal.AsSpan(list370); - span207[0] = null; - span207[1] = null; - span207[2] = null; - span207[3] = null; - span207[4] = null; - span207[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj229.CompletionQuestVariablesFlags = list370; - reference269 = obj229; - ref QuestStep reference270 = ref span206[1]; - QuestStep obj230 = new QuestStep(EInteractionType.Interact, 1051891u, new Vector3(148.39392f, 4f, -12.222534f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahWeaver, - To = EAetheryteLocation.UldahSapphireAvenue - } - }; - num3 = 6; - List list371 = new List(num3); - CollectionsMarshal.SetCount(list371, num3); - Span span208 = CollectionsMarshal.AsSpan(list371); - span208[0] = null; - span208[1] = null; - span208[2] = null; - span208[3] = null; - span208[4] = null; - span208[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj230.CompletionQuestVariablesFlags = list371; - reference270 = obj230; - ref QuestStep reference271 = ref span206[2]; - QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 1051893u, new Vector3(107.59131f, 4f, -111.436646f), 131); - num3 = 6; - List list372 = new List(num3); - CollectionsMarshal.SetCount(list372, num3); - Span span209 = CollectionsMarshal.AsSpan(list372); - span209[0] = null; - span209[1] = null; - span209[2] = null; - span209[3] = null; - span209[4] = null; - span209[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep24.CompletionQuestVariablesFlags = list372; - reference271 = questStep24; - obj228.Steps = list369; - reference268 = obj228; - ref QuestSequence reference272 = ref span205[3]; - QuestSequence obj231 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list373 = new List(num2); - CollectionsMarshal.SetCount(list373, num2); - ref QuestStep reference273 = ref CollectionsMarshal.AsSpan(list373)[0]; - QuestStep questStep25 = new QuestStep(EInteractionType.CompleteQuest, 1051894u, new Vector3(0.869751f, 14.000016f, -21.591614f), 131); - num3 = 1; - List list374 = new List(num3); - CollectionsMarshal.SetCount(list374, num3); - CollectionsMarshal.AsSpan(list374)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_FESPDX001_05237_Q2_000_000"), - Answer = new ExcelRef("TEXT_FESPDX001_05237_A2_000_001") - }; - questStep25.DialogueChoices = list374; - questStep25.NextQuestId = new QuestId(5238); - reference273 = questStep25; - obj231.Steps = list373; - reference272 = obj231; - questRoot37.QuestSequence = list366; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(5238); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list375 = new List(num); - CollectionsMarshal.SetCount(list375, num); - CollectionsMarshal.AsSpan(list375)[0] = "liza"; - questRoot38.Author = list375; - questRoot38.IsSeasonalQuest = true; - questRoot38.SeasonalQuestExpiry = new DateTime(2025, 3, 11, 0, 0, 0, DateTimeKind.Utc); - num = 5; - List list376 = new List(num); - CollectionsMarshal.SetCount(list376, num); - Span span210 = CollectionsMarshal.AsSpan(list376); - ref QuestSequence reference274 = ref span210[0]; - QuestSequence obj232 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list377 = new List(num2); - CollectionsMarshal.SetCount(list377, num2); - ref QuestStep reference275 = ref CollectionsMarshal.AsSpan(list377)[0]; - QuestStep obj233 = new QuestStep(EInteractionType.AcceptQuest, 1051894u, new Vector3(0.869751f, 14.000016f, -21.591614f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - } - }; - SkipConditions skipConditions15 = new SkipConditions(); - SkipAetheryteCondition obj234 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list378 = new List(num3); - CollectionsMarshal.SetCount(list378, num3); - CollectionsMarshal.AsSpan(list378)[0] = 131; - obj234.InTerritory = list378; - skipConditions15.AetheryteShortcutIf = obj234; - obj233.SkipConditions = skipConditions15; - reference275 = obj233; - obj232.Steps = list377; - reference274 = obj232; - ref QuestSequence reference276 = ref span210[1]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list379 = new List(num2); - CollectionsMarshal.SetCount(list379, num2); - Span span211 = CollectionsMarshal.AsSpan(list379); - ref QuestStep reference277 = ref span211[0]; - QuestStep questStep26 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-9.184601f, 9.999999f, -35.359993f), 131); - SkipConditions skipConditions16 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 1; - List list380 = new List(num3); - CollectionsMarshal.SetCount(list380, num3); - CollectionsMarshal.AsSpan(list380)[0] = 130; - skipStepConditions5.InTerritory = list380; - skipConditions16.StepIf = skipStepConditions5; - questStep26.SkipConditions = skipConditions16; - reference277 = questStep26; - ref QuestStep reference278 = ref span211[1]; - QuestStep questStep27 = new QuestStep(EInteractionType.Interact, 1051895u, new Vector3(-25.0401f, 4.9999785f, -131.45648f), 130); - num3 = 4; - List list381 = new List(num3); - CollectionsMarshal.SetCount(list381, num3); - Span span212 = CollectionsMarshal.AsSpan(list381); - span212[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_FESPDX002_05238_Q1_000_000") - }; - span212[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_FESPDX002_05238_Q2_000_000"), - Answer = new ExcelRef("TEXT_FESPDX002_05238_A2_000_001") - }; - span212[2] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_FESPDX002_05238_Q3_000_000"), - Answer = new ExcelRef("TEXT_FESPDX002_05238_A3_000_001") - }; - span212[3] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_FESPDX002_05238_Q4_000_000"), - Answer = new ExcelRef("TEXT_FESPDX002_05238_A4_000_001") - }; - questStep27.DialogueChoices = list381; - num3 = 3; - List list382 = new List(num3); - CollectionsMarshal.SetCount(list382, num3); - Span span213 = CollectionsMarshal.AsSpan(list382); - span213[0] = 0u; - span213[1] = 1u; - span213[2] = 2u; - questStep27.PointMenuChoices = list382; - reference278 = questStep27; - obj235.Steps = list379; - reference276 = obj235; - ref QuestSequence reference279 = ref span210[2]; - QuestSequence obj236 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list383 = new List(num2); - CollectionsMarshal.SetCount(list383, num2); - CollectionsMarshal.AsSpan(list383)[0] = new QuestStep(EInteractionType.Interact, 1051899u, new Vector3(-53.421875f, 18f, 60.16626f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahGoldsmith - } - }; - obj236.Steps = list383; - reference279 = obj236; - ref QuestSequence reference280 = ref span210[3]; - QuestSequence obj237 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list384 = new List(num2); - CollectionsMarshal.SetCount(list384, num2); - CollectionsMarshal.AsSpan(list384)[0] = new QuestStep(EInteractionType.Interact, 1051884u, new Vector3(-35.111023f, 5.000001f, -130.35785f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGoldsmith, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj237.Steps = list384; - reference280 = obj237; - ref QuestSequence reference281 = ref span210[4]; - QuestSequence obj238 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list385 = new List(num2); - CollectionsMarshal.SetCount(list385, num2); - CollectionsMarshal.AsSpan(list385)[0] = new QuestStep(EInteractionType.CompleteQuest, 1051901u, new Vector3(-33.859802f, 5.0000005f, -130.6325f), 130); - obj238.Steps = list385; - reference281 = obj238; - questRoot38.QuestSequence = list376; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(5239); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list386 = new List(num); - CollectionsMarshal.SetCount(list386, num); - CollectionsMarshal.AsSpan(list386)[0] = "liza"; - questRoot39.Author = list386; - num = 4; - List list387 = new List(num); - CollectionsMarshal.SetCount(list387, num); - Span span214 = CollectionsMarshal.AsSpan(list387); - ref QuestSequence reference282 = ref span214[0]; - QuestSequence obj239 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list388 = new List(num2); - CollectionsMarshal.SetCount(list388, num2); - CollectionsMarshal.AsSpan(list388)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048604u, new Vector3(36.75891f, -14.000003f, 57.694214f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj239.Steps = list388; - reference282 = obj239; - ref QuestSequence reference283 = ref span214[1]; - QuestSequence obj240 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list389 = new List(num2); - CollectionsMarshal.SetCount(list389, num2); - CollectionsMarshal.AsSpan(list389)[0] = new QuestStep(EInteractionType.Interact, 1051496u, new Vector3(-84.42822f, 15.678356f, -242.17596f), 1190) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ShaaloaniShesheneweziSprings - }; - obj240.Steps = list389; - reference283 = obj240; - ref QuestSequence reference284 = ref span214[2]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list390 = new List(num2); - CollectionsMarshal.SetCount(list390, num2); - Span span215 = CollectionsMarshal.AsSpan(list390); - span215[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-363.22934f, 20.162338f, -90.19407f), 1190) - { - AetheryteShortcut = EAetheryteLocation.ShaaloaniShesheneweziSprings - }; - span215[1] = new QuestStep(EInteractionType.Interact, 1051495u, new Vector3(-365.28577f, 20.14268f, -88.51758f), 1190) - { - StopDistance = 5f - }; - obj241.Steps = list390; - reference284 = obj241; - ref QuestSequence reference285 = ref span214[3]; - QuestSequence obj242 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list391 = new List(num2); - CollectionsMarshal.SetCount(list391, num2); - CollectionsMarshal.AsSpan(list391)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048605u, new Vector3(-358.38867f, 19.728025f, -105.02789f), 1190); - obj242.Steps = list391; - reference285 = obj242; - questRoot39.QuestSequence = list387; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(5240); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list392 = new List(num); - CollectionsMarshal.SetCount(list392, num); - CollectionsMarshal.AsSpan(list392)[0] = "liza"; - questRoot40.Author = list392; - num = 4; - List list393 = new List(num); - CollectionsMarshal.SetCount(list393, num); - Span span216 = CollectionsMarshal.AsSpan(list393); - ref QuestSequence reference286 = ref span216[0]; - QuestSequence obj243 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list394 = new List(num2); - CollectionsMarshal.SetCount(list394, num2); - CollectionsMarshal.AsSpan(list394)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048605u, new Vector3(-358.38867f, 19.728025f, -105.02789f), 1190) - { - AetheryteShortcut = EAetheryteLocation.ShaaloaniShesheneweziSprings, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj243.Steps = list394; - reference286 = obj243; - ref QuestSequence reference287 = ref span216[1]; - QuestSequence obj244 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list395 = new List(num2); - CollectionsMarshal.SetCount(list395, num2); - CollectionsMarshal.AsSpan(list395)[0] = new QuestStep(EInteractionType.Interact, 2014456u, new Vector3(-128.64886f, 16.311829f, -290.69965f), 1190) - { - Fly = true - }; - obj244.Steps = list395; - reference287 = obj244; - ref QuestSequence reference288 = ref span216[2]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list396 = new List(num2); - CollectionsMarshal.SetCount(list396, num2); - CollectionsMarshal.AsSpan(list396)[0] = new QuestStep(EInteractionType.Interact, 1048608u, new Vector3(-126.57361f, 15.67948f, -369.46674f), 1190) - { - Fly = true - }; - obj245.Steps = list396; - reference288 = obj245; - ref QuestSequence reference289 = ref span216[3]; - QuestSequence obj246 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list397 = new List(num2); - CollectionsMarshal.SetCount(list397, num2); - CollectionsMarshal.AsSpan(list397)[0] = new QuestStep(EInteractionType.CompleteQuest, 1048605u, new Vector3(-358.38867f, 19.728025f, -105.02789f), 1190) - { - Fly = true, - NextQuestId = new QuestId(5241) - }; - obj246.Steps = list397; - reference289 = obj246; - questRoot40.QuestSequence = list393; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(5241); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list398 = new List(num); - CollectionsMarshal.SetCount(list398, num); - CollectionsMarshal.AsSpan(list398)[0] = "liza"; - questRoot41.Author = list398; - num = 2; - List list399 = new List(num); - CollectionsMarshal.SetCount(list399, num); - Span span217 = CollectionsMarshal.AsSpan(list399); - ref QuestSequence reference290 = ref span217[0]; - QuestSequence obj247 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list400 = new List(num2); - CollectionsMarshal.SetCount(list400, num2); - Span span218 = CollectionsMarshal.AsSpan(list400); - span218[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-363.2864f, 20.16234f, -90.06508f), 1190); - span218[1] = new QuestStep(EInteractionType.AcceptQuest, 1051495u, new Vector3(-365.28577f, 20.14268f, -88.51758f), 1190); - obj247.Steps = list400; - reference290 = obj247; - ref QuestSequence reference291 = ref span217[1]; - QuestSequence obj248 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list401 = new List(num2); - CollectionsMarshal.SetCount(list401, num2); - Span span219 = CollectionsMarshal.AsSpan(list401); - span219[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-354.53677f, 19.32763f, -99.326805f), 1190) - { - Mount = true - }; - span219[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-91.25145f, 17.80576f, -267.2748f), 1190) - { - Fly = true - }; - span219[2] = new QuestStep(EInteractionType.CompleteQuest, 1051497u, new Vector3(-91.5694f, 17.7503f, -268.54352f), 1190); - obj248.Steps = list401; - reference291 = obj248; - questRoot41.QuestSequence = list399; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(5242); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list402 = new List(num); - CollectionsMarshal.SetCount(list402, num); - CollectionsMarshal.AsSpan(list402)[0] = "liza"; - questRoot42.Author = list402; - questRoot42.IsSeasonalQuest = true; - questRoot42.SeasonalQuestExpiry = new DateTime(2025, 4, 24, 0, 0, 0, DateTimeKind.Utc); - num = 6; - List list403 = new List(num); - CollectionsMarshal.SetCount(list403, num); - Span span220 = CollectionsMarshal.AsSpan(list403); - ref QuestSequence reference292 = ref span220[0]; - QuestSequence obj249 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list404 = new List(num2); - CollectionsMarshal.SetCount(list404, num2); - ref QuestStep reference293 = ref CollectionsMarshal.AsSpan(list404)[0]; - QuestStep obj250 = new QuestStep(EInteractionType.AcceptQuest, 1052063u, new Vector3(-49.973328f, 6.4999995f, -89.829956f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions17 = new SkipConditions(); - SkipAetheryteCondition obj251 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list405 = new List(num3); - CollectionsMarshal.SetCount(list405, num3); - CollectionsMarshal.AsSpan(list405)[0] = 133; - obj251.InTerritory = list405; - skipConditions17.AetheryteShortcutIf = obj251; - obj250.SkipConditions = skipConditions17; - reference293 = obj250; - obj249.Steps = list404; - reference292 = obj249; - ref QuestSequence reference294 = ref span220[1]; - QuestSequence obj252 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list406 = new List(num2); - CollectionsMarshal.SetCount(list406, num2); - CollectionsMarshal.AsSpan(list406)[0] = new QuestStep(EInteractionType.Interact, 1052065u, new Vector3(172.86938f, 15.699935f, -113.11517f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaAmphitheatre, - To = EAetheryteLocation.GridaniaLeatherworker - } - }; - obj252.Steps = list406; - reference294 = obj252; - ref QuestSequence reference295 = ref span220[2]; - QuestSequence obj253 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list407 = new List(num2); - CollectionsMarshal.SetCount(list407, num2); - CollectionsMarshal.AsSpan(list407)[0] = new QuestStep(EInteractionType.Interact, 1000691u, new Vector3(71.97681f, 8f, -166.52173f), 133); - obj253.Steps = list407; - reference295 = obj253; - ref QuestSequence reference296 = ref span220[3]; - QuestSequence obj254 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list408 = new List(num2); - CollectionsMarshal.SetCount(list408, num2); - Span span221 = CollectionsMarshal.AsSpan(list408); - ref QuestStep reference297 = ref span221[0]; - QuestStep questStep28 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(13.474687f, 8.372438f, -86.945724f), 133); - SkipConditions skipConditions18 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 1; - List list409 = new List(num3); - CollectionsMarshal.SetCount(list409, num3); - CollectionsMarshal.AsSpan(list409)[0] = 132; - skipStepConditions6.InTerritory = list409; - skipConditions18.StepIf = skipStepConditions6; - questStep28.SkipConditions = skipConditions18; - reference297 = questStep28; - span221[1] = new QuestStep(EInteractionType.Interact, 1000153u, new Vector3(-44.87683f, -1.2500024f, 56.839844f), 132); - obj254.Steps = list408; - reference296 = obj254; - ref QuestSequence reference298 = ref span220[4]; - QuestSequence obj255 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list410 = new List(num2); - CollectionsMarshal.SetCount(list410, num2); - CollectionsMarshal.AsSpan(list410)[0] = new QuestStep(EInteractionType.Interact, 1052068u, new Vector3(11.36792f, 0.106995195f, 2.7618408f), 132); - obj255.Steps = list410; - reference298 = obj255; - ref QuestSequence reference299 = ref span220[5]; - QuestSequence obj256 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list411 = new List(num2); - CollectionsMarshal.SetCount(list411, num2); - Span span222 = CollectionsMarshal.AsSpan(list411); - ref QuestStep reference300 = ref span222[0]; - QuestStep questStep29 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(12.567871f, 1.2197373f, -15.778544f), 132); - SkipConditions skipConditions19 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 1; - List list412 = new List(num3); - CollectionsMarshal.SetCount(list412, num3); - CollectionsMarshal.AsSpan(list412)[0] = 133; - skipStepConditions7.InTerritory = list412; - skipConditions19.StepIf = skipStepConditions7; - questStep29.SkipConditions = skipConditions19; - reference300 = questStep29; - span222[1] = new QuestStep(EInteractionType.CompleteQuest, 1052063u, new Vector3(-49.973328f, 6.4999995f, -89.829956f), 133) - { - NextQuestId = new QuestId(5243) - }; - obj256.Steps = list411; - reference299 = obj256; - questRoot42.QuestSequence = list403; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(5243); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list413 = new List(num); - CollectionsMarshal.SetCount(list413, num); - CollectionsMarshal.AsSpan(list413)[0] = "liza"; - questRoot43.Author = list413; - questRoot43.IsSeasonalQuest = true; - questRoot43.SeasonalQuestExpiry = new DateTime(2025, 4, 24, 0, 0, 0, DateTimeKind.Utc); - num = 5; - List list414 = new List(num); - CollectionsMarshal.SetCount(list414, num); - Span span223 = CollectionsMarshal.AsSpan(list414); - ref QuestSequence reference301 = ref span223[0]; - QuestSequence obj257 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list415 = new List(num2); - CollectionsMarshal.SetCount(list415, num2); - ref QuestStep reference302 = ref CollectionsMarshal.AsSpan(list415)[0]; - QuestStep obj258 = new QuestStep(EInteractionType.AcceptQuest, 1052063u, new Vector3(-49.973328f, 6.4999995f, -89.829956f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions20 = new SkipConditions(); - SkipAetheryteCondition obj259 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list416 = new List(num3); - CollectionsMarshal.SetCount(list416, num3); - CollectionsMarshal.AsSpan(list416)[0] = 133; - obj259.InTerritory = list416; - skipConditions20.AetheryteShortcutIf = obj259; - obj258.SkipConditions = skipConditions20; - reference302 = obj258; - obj257.Steps = list415; - reference301 = obj257; - ref QuestSequence reference303 = ref span223[1]; - QuestSequence obj260 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list417 = new List(num2); - CollectionsMarshal.SetCount(list417, num2); - CollectionsMarshal.AsSpan(list417)[0] = new QuestStep(EInteractionType.Interact, 1052069u, new Vector3(-49.973328f, 6.4999995f, -89.89093f), 133); - obj260.Steps = list417; - reference303 = obj260; - ref QuestSequence reference304 = ref span223[2]; - QuestSequence obj261 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list418 = new List(num2); - CollectionsMarshal.SetCount(list418, num2); - Span span224 = CollectionsMarshal.AsSpan(list418); - ref QuestStep reference305 = ref span224[0]; - QuestStep obj262 = new QuestStep(EInteractionType.Interact, 1052070u, new Vector3(169.02417f, 15.5f, -93.492065f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaAmphitheatre, - To = EAetheryteLocation.GridaniaLeatherworker - } - }; - num3 = 6; - List list419 = new List(num3); - CollectionsMarshal.SetCount(list419, num3); - Span span225 = CollectionsMarshal.AsSpan(list419); - span225[0] = null; - span225[1] = null; - span225[2] = null; - span225[3] = null; - span225[4] = null; - span225[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj262.CompletionQuestVariablesFlags = list419; - reference305 = obj262; - ref QuestStep reference306 = ref span224[1]; - QuestStep questStep30 = new QuestStep(EInteractionType.Interact, 1052071u, new Vector3(157.15259f, 15.699948f, -124.16266f), 133); - num3 = 6; - List list420 = new List(num3); - CollectionsMarshal.SetCount(list420, num3); - Span span226 = CollectionsMarshal.AsSpan(list420); - span226[0] = null; - span226[1] = null; - span226[2] = null; - span226[3] = null; - span226[4] = null; - span226[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep30.CompletionQuestVariablesFlags = list420; - reference306 = questStep30; - ref QuestStep reference307 = ref span224[2]; - QuestStep questStep31 = new QuestStep(EInteractionType.Interact, 1052072u, new Vector3(145.37268f, 13.599698f, -156.4508f), 133); - num3 = 6; - List list421 = new List(num3); - CollectionsMarshal.SetCount(list421, num3); - Span span227 = CollectionsMarshal.AsSpan(list421); - span227[0] = null; - span227[1] = null; - span227[2] = null; - span227[3] = null; - span227[4] = null; - span227[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep31.CompletionQuestVariablesFlags = list421; - reference307 = questStep31; - obj261.Steps = list418; - reference304 = obj261; - ref QuestSequence reference308 = ref span223[3]; - QuestSequence obj263 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list422 = new List(num2); - CollectionsMarshal.SetCount(list422, num2); - Span span228 = CollectionsMarshal.AsSpan(list422); - span228[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(154.11754f, 15.494947f, -95.69504f), 133) - { - StopDistance = 2f - }; - span228[1] = new QuestStep(EInteractionType.Interact, 1052069u, new Vector3(154.11754f, 15.494947f, -95.69504f), 133) - { - DelaySecondsAtStart = 2f - }; - obj263.Steps = list422; - reference308 = obj263; - ref QuestSequence reference309 = ref span223[4]; - QuestSequence obj264 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list423 = new List(num2); - CollectionsMarshal.SetCount(list423, num2); - CollectionsMarshal.AsSpan(list423)[0] = new QuestStep(EInteractionType.CompleteQuest, 1052063u, new Vector3(-49.973328f, 6.4999995f, -89.829956f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLeatherworker, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - obj264.Steps = list423; - reference309 = obj264; - questRoot43.QuestSequence = list414; - AddQuest(questId43, questRoot43); - QuestId questId44 = new QuestId(5244); - QuestRoot questRoot44 = new QuestRoot(); - num = 1; - List list424 = new List(num); - CollectionsMarshal.SetCount(list424, num); - CollectionsMarshal.AsSpan(list424)[0] = "liza"; - questRoot44.Author = list424; - num = 5; - List list425 = new List(num); - CollectionsMarshal.SetCount(list425, num); - Span span229 = CollectionsMarshal.AsSpan(list425); - ref QuestSequence reference310 = ref span229[0]; - QuestSequence obj265 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list426 = new List(num2); - CollectionsMarshal.SetCount(list426, num2); - CollectionsMarshal.AsSpan(list426)[0] = new QuestStep(EInteractionType.AcceptQuest, 1047679u, new Vector3(-165.36206f, -14.999356f, 203.93677f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalTheForardCabins - } - }; - obj265.Steps = list426; - reference310 = obj265; - ref QuestSequence reference311 = ref span229[1]; - QuestSequence obj266 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list427 = new List(num2); - CollectionsMarshal.SetCount(list427, num2); - CollectionsMarshal.AsSpan(list427)[0] = new QuestStep(EInteractionType.Interact, 1046521u, new Vector3(-46.616333f, -17.97287f, 180.3158f), 1185) - { - StopDistance = 5f - }; - obj266.Steps = list427; - reference311 = obj266; - ref QuestSequence reference312 = ref span229[2]; - QuestSequence obj267 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list428 = new List(num2); - CollectionsMarshal.SetCount(list428, num2); - CollectionsMarshal.AsSpan(list428)[0] = new QuestStep(EInteractionType.Interact, 2014470u, new Vector3(-32.700073f, -17.47168f, 184.9851f), 1185); - obj267.Steps = list428; - reference312 = obj267; - ref QuestSequence reference313 = ref span229[3]; - QuestSequence obj268 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list429 = new List(num2); - CollectionsMarshal.SetCount(list429, num2); - ref QuestStep reference314 = ref CollectionsMarshal.AsSpan(list429)[0]; - QuestStep obj269 = new QuestStep(EInteractionType.Interact, 1047501u, new Vector3(-189.80707f, 120.74999f, -367.14734f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalBaysideBevyMarketplace, - To = EAetheryteLocation.TuliyollalVollokShoonsa - } - }; - num3 = 1; - List list430 = new List(num3); - CollectionsMarshal.SetCount(list430, num3); - CollectionsMarshal.AsSpan(list430)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMG101_05244_SYSTEM_000_301") - }; - obj269.DialogueChoices = list430; - reference314 = obj269; - obj268.Steps = list429; - reference313 = obj268; - ref QuestSequence reference315 = ref span229[4]; - QuestSequence obj270 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list431 = new List(num2); - CollectionsMarshal.SetCount(list431, num2); - Span span230 = CollectionsMarshal.AsSpan(list431); - ref QuestStep reference316 = ref span230[0]; - QuestStep obj271 = new QuestStep(EInteractionType.Interact, 1048083u, new Vector3(302.05237f, 51.199978f, 205.0354f), 1186) - { - TargetTerritoryId = (ushort)1207, - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineNeonStein - } - }; - SkipConditions skipConditions21 = new SkipConditions(); - SkipStepConditions skipStepConditions8 = new SkipStepConditions(); - num3 = 1; - List list432 = new List(num3); - CollectionsMarshal.SetCount(list432, num3); - CollectionsMarshal.AsSpan(list432)[0] = 1207; - skipStepConditions8.InTerritory = list432; - skipConditions21.StepIf = skipStepConditions8; - SkipAetheryteCondition skipAetheryteCondition3 = new SkipAetheryteCondition(); - num3 = 1; - List list433 = new List(num3); - CollectionsMarshal.SetCount(list433, num3); - CollectionsMarshal.AsSpan(list433)[0] = 1207; - skipAetheryteCondition3.InTerritory = list433; - skipConditions21.AetheryteShortcutIf = skipAetheryteCondition3; - obj271.SkipConditions = skipConditions21; - reference316 = obj271; - span230[1] = new QuestStep(EInteractionType.CompleteQuest, 1052185u, new Vector3(-4.837158f, -3.632158E-08f, 5.996765f), 1207); - obj270.Steps = list431; - reference315 = obj270; - questRoot44.QuestSequence = list425; - AddQuest(questId44, questRoot44); - QuestId questId45 = new QuestId(5245); - QuestRoot questRoot45 = new QuestRoot(); - num = 1; - List list434 = new List(num); - CollectionsMarshal.SetCount(list434, num); - CollectionsMarshal.AsSpan(list434)[0] = "liza"; - questRoot45.Author = list434; - num = 3; - List list435 = new List(num); - CollectionsMarshal.SetCount(list435, num); - Span span231 = CollectionsMarshal.AsSpan(list435); - ref QuestSequence reference317 = ref span231[0]; - QuestSequence obj272 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list436 = new List(num2); - CollectionsMarshal.SetCount(list436, num2); - CollectionsMarshal.AsSpan(list436)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052185u, new Vector3(-4.837158f, -3.632158E-08f, 5.996765f), 1207); - obj272.Steps = list436; - reference317 = obj272; - ref QuestSequence reference318 = ref span231[1]; - QuestSequence obj273 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list437 = new List(num2); - CollectionsMarshal.SetCount(list437, num2); - Span span232 = CollectionsMarshal.AsSpan(list437); - ref QuestStep reference319 = ref span232[0]; - QuestStep obj274 = new QuestStep(EInteractionType.Interact, 2014102u, new Vector3(-0.015319824f, 0.99176025f, 16.03717f), 1207) - { - TargetTerritoryId = (ushort)1186 - }; - SkipConditions skipConditions22 = new SkipConditions(); - SkipStepConditions skipStepConditions9 = new SkipStepConditions(); - num3 = 1; - List list438 = new List(num3); - CollectionsMarshal.SetCount(list438, num3); - CollectionsMarshal.AsSpan(list438)[0] = 1186; - skipStepConditions9.InTerritory = list438; - skipConditions22.StepIf = skipStepConditions9; - obj274.SkipConditions = skipConditions22; - reference319 = obj274; - span232[1] = new QuestStep(EInteractionType.Interact, 1052191u, new Vector3(20.248657f, 38.0566f, -388.90674f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineNeonStein, - To = EAetheryteLocation.SolutionNineResolution - } - }; - obj273.Steps = list437; - reference318 = obj273; - ref QuestSequence reference320 = ref span231[2]; - QuestSequence obj275 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list439 = new List(num2); - CollectionsMarshal.SetCount(list439, num2); - CollectionsMarshal.AsSpan(list439)[0] = new QuestStep(EInteractionType.CompleteQuest, 1052198u, new Vector3(-303.2426f, 9.519508f, 51.80432f), 1186) - { - StopDistance = 5f - }; - obj275.Steps = list439; - reference320 = obj275; - questRoot45.QuestSequence = list435; - AddQuest(questId45, questRoot45); - QuestId questId46 = new QuestId(5246); - QuestRoot questRoot46 = new QuestRoot(); - num = 1; - List list440 = new List(num); - CollectionsMarshal.SetCount(list440, num); - CollectionsMarshal.AsSpan(list440)[0] = "liza"; - questRoot46.Author = list440; - num = 7; - List list441 = new List(num); - CollectionsMarshal.SetCount(list441, num); - Span span233 = CollectionsMarshal.AsSpan(list441); - ref QuestSequence reference321 = ref span233[0]; - QuestSequence obj276 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list442 = new List(num2); - CollectionsMarshal.SetCount(list442, num2); - CollectionsMarshal.AsSpan(list442)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052202u, new Vector3(-305.83655f, 9.519508f, 53.147095f), 1186) - { - StopDistance = 5f - }; - obj276.Steps = list442; - reference321 = obj276; - ref QuestSequence reference322 = ref span233[1]; - QuestSequence obj277 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list443 = new List(num2); - CollectionsMarshal.SetCount(list443, num2); - Span span234 = CollectionsMarshal.AsSpan(list443); - span234[0] = new QuestStep(EInteractionType.Interact, 1052205u, new Vector3(-257.0382f, 30f, -569.05475f), 1191) - { - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts - }; - span234[1] = new QuestStep(EInteractionType.Interact, 1052204u, new Vector3(-158.25134f, 25.984516f, -521.90436f), 1191) - { - Fly = true - }; - span234[2] = new QuestStep(EInteractionType.Interact, 1052206u, new Vector3(-137.86536f, 35f, -568.29175f), 1191) - { - Fly = true - }; - obj277.Steps = list443; - reference322 = obj277; - ref QuestSequence reference323 = ref span233[2]; - QuestSequence obj278 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list444 = new List(num2); - CollectionsMarshal.SetCount(list444, num2); - Span span235 = CollectionsMarshal.AsSpan(list444); - ref QuestStep reference324 = ref span235[0]; - QuestStep obj279 = new QuestStep(EInteractionType.Interact, 1048083u, new Vector3(302.05237f, 51.199978f, 205.0354f), 1186) - { - TargetTerritoryId = (ushort)1207, - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineNeonStein - } - }; - SkipConditions skipConditions23 = new SkipConditions(); - SkipStepConditions skipStepConditions10 = new SkipStepConditions(); - num3 = 1; - List list445 = new List(num3); - CollectionsMarshal.SetCount(list445, num3); - CollectionsMarshal.AsSpan(list445)[0] = 1207; - skipStepConditions10.InTerritory = list445; - skipConditions23.StepIf = skipStepConditions10; - SkipAetheryteCondition skipAetheryteCondition4 = new SkipAetheryteCondition(); - num3 = 1; - List list446 = new List(num3); - CollectionsMarshal.SetCount(list446, num3); - CollectionsMarshal.AsSpan(list446)[0] = 1207; - skipAetheryteCondition4.InTerritory = list446; - skipConditions23.AetheryteShortcutIf = skipAetheryteCondition4; - obj279.SkipConditions = skipConditions23; - reference324 = obj279; - span235[1] = new QuestStep(EInteractionType.Interact, 1048161u, new Vector3(-5.874817f, -3.6188258E-08f, 6.8512573f), 1207); - obj278.Steps = list444; - reference323 = obj278; - ref QuestSequence reference325 = ref span233[3]; - QuestSequence obj280 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list447 = new List(num2); - CollectionsMarshal.SetCount(list447, num2); - CollectionsMarshal.AsSpan(list447)[0] = new QuestStep(EInteractionType.Interact, 1052207u, new Vector3(-609.3385f, -3.3580189f, -504.5701f), 1191) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts - }; - obj280.Steps = list447; - reference325 = obj280; - ref QuestSequence reference326 = ref span233[4]; - QuestSequence obj281 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list448 = new List(num2); - CollectionsMarshal.SetCount(list448, num2); - ref QuestStep reference327 = ref CollectionsMarshal.AsSpan(list448)[0]; - QuestStep questStep32 = new QuestStep(EInteractionType.Duty, null, null, 1191); - DutyOptions obj282 = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 1008u - }; - num3 = 2; - List list449 = new List(num3); - CollectionsMarshal.SetCount(list449, num3); - Span span236 = CollectionsMarshal.AsSpan(list449); - span236[0] = "(boss 2) Requires vbm's auto-turn gaze option"; - span236[1] = "(boss 3) Dashes (such as on SMN) will dash into the hole"; - obj282.Notes = list449; - questStep32.DutyOptions = obj282; - reference327 = questStep32; - obj281.Steps = list448; - reference326 = obj281; - span233[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference328 = ref span233[6]; - QuestSequence obj283 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list450 = new List(num2); - CollectionsMarshal.SetCount(list450, num2); - CollectionsMarshal.AsSpan(list450)[0] = new QuestStep(EInteractionType.CompleteQuest, 1052213u, new Vector3(117.02136f, 12.5f, -67.826416f), 1254) - { - StopDistance = 6f - }; - obj283.Steps = list450; - reference328 = obj283; - questRoot46.QuestSequence = list441; - AddQuest(questId46, questRoot46); - QuestId questId47 = new QuestId(5247); - QuestRoot questRoot47 = new QuestRoot(); - num = 1; - List list451 = new List(num); - CollectionsMarshal.SetCount(list451, num); - CollectionsMarshal.AsSpan(list451)[0] = "liza"; - questRoot47.Author = list451; - num = 6; - List list452 = new List(num); - CollectionsMarshal.SetCount(list452, num); - Span span237 = CollectionsMarshal.AsSpan(list452); - ref QuestSequence reference329 = ref span237[0]; - QuestSequence obj284 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list453 = new List(num2); - CollectionsMarshal.SetCount(list453, num2); - CollectionsMarshal.AsSpan(list453)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052217u, new Vector3(118.242065f, 12.5f, -69.0166f), 1254) - { - StopDistance = 6f - }; - obj284.Steps = list453; - reference329 = obj284; - ref QuestSequence reference330 = ref span237[1]; - QuestSequence obj285 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list454 = new List(num2); - CollectionsMarshal.SetCount(list454, num2); - CollectionsMarshal.AsSpan(list454)[0] = new QuestStep(EInteractionType.Interact, 2014471u, new Vector3(39.32251f, 13.260071f, 51.865356f), 1254); - obj285.Steps = list454; - reference330 = obj285; - ref QuestSequence reference331 = ref span237[2]; - QuestSequence obj286 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list455 = new List(num2); - CollectionsMarshal.SetCount(list455, num2); - CollectionsMarshal.AsSpan(list455)[0] = new QuestStep(EInteractionType.Interact, 2014472u, new Vector3(101.8844f, 12.588623f, 130.44934f), 1254); - obj286.Steps = list455; - reference331 = obj286; - ref QuestSequence reference332 = ref span237[3]; - QuestSequence obj287 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list456 = new List(num2); - CollectionsMarshal.SetCount(list456, num2); - CollectionsMarshal.AsSpan(list456)[0] = new QuestStep(EInteractionType.Interact, 2014473u, new Vector3(39.597046f, 13.260071f, 53.45227f), 1254); - obj287.Steps = list456; - reference332 = obj287; - ref QuestSequence reference333 = ref span237[4]; - QuestSequence obj288 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list457 = new List(num2); - CollectionsMarshal.SetCount(list457, num2); - CollectionsMarshal.AsSpan(list457)[0] = new QuestStep(EInteractionType.Interact, 1052227u, new Vector3(-581.2009f, -1.7638817f, -505.45514f), 1191) - { - StopDistance = 5f - }; - obj288.Steps = list457; - reference333 = obj288; - ref QuestSequence reference334 = ref span237[5]; - QuestSequence obj289 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list458 = new List(num2); - CollectionsMarshal.SetCount(list458, num2); - Span span238 = CollectionsMarshal.AsSpan(list458); - ref QuestStep reference335 = ref span238[0]; - QuestStep obj290 = new QuestStep(EInteractionType.Interact, 1048083u, new Vector3(302.05237f, 51.199978f, 205.0354f), 1186) - { - TargetTerritoryId = (ushort)1207, - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineNeonStein - } - }; - SkipConditions skipConditions24 = new SkipConditions(); - SkipStepConditions skipStepConditions11 = new SkipStepConditions(); - num3 = 1; - List list459 = new List(num3); - CollectionsMarshal.SetCount(list459, num3); - CollectionsMarshal.AsSpan(list459)[0] = 1207; - skipStepConditions11.InTerritory = list459; - skipConditions24.StepIf = skipStepConditions11; - SkipAetheryteCondition skipAetheryteCondition5 = new SkipAetheryteCondition(); - num3 = 1; - List list460 = new List(num3); - CollectionsMarshal.SetCount(list460, num3); - CollectionsMarshal.AsSpan(list460)[0] = 1207; - skipAetheryteCondition5.InTerritory = list460; - skipConditions24.AetheryteShortcutIf = skipAetheryteCondition5; - obj290.SkipConditions = skipConditions24; - reference335 = obj290; - span238[1] = new QuestStep(EInteractionType.CompleteQuest, 1048161u, new Vector3(-5.874817f, -3.6188258E-08f, 6.8512573f), 1207); - obj289.Steps = list458; - reference334 = obj289; - questRoot47.QuestSequence = list452; - AddQuest(questId47, questRoot47); - QuestId questId48 = new QuestId(5248); - QuestRoot questRoot48 = new QuestRoot(); - num = 1; - List list461 = new List(num); - CollectionsMarshal.SetCount(list461, num); - CollectionsMarshal.AsSpan(list461)[0] = "liza"; - questRoot48.Author = list461; - num = 6; - List list462 = new List(num); - CollectionsMarshal.SetCount(list462, num); - Span span239 = CollectionsMarshal.AsSpan(list462); - ref QuestSequence reference336 = ref span239[0]; - QuestSequence obj291 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list463 = new List(num2); - CollectionsMarshal.SetCount(list463, num2); - CollectionsMarshal.AsSpan(list463)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052233u, new Vector3(-0.80877686f, -4.1909516E-08f, 6.42395f), 1207) - { - StopDistance = 5f - }; - obj291.Steps = list463; - reference336 = obj291; - ref QuestSequence reference337 = ref span239[1]; - QuestSequence obj292 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list464 = new List(num2); - CollectionsMarshal.SetCount(list464, num2); - Span span240 = CollectionsMarshal.AsSpan(list464); - span240[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-363.22934f, 20.162338f, -90.19407f), 1190) - { - AetheryteShortcut = EAetheryteLocation.ShaaloaniShesheneweziSprings - }; - span240[1] = new QuestStep(EInteractionType.Interact, 1051495u, new Vector3(-365.28577f, 20.14268f, -88.51758f), 1190) - { - StopDistance = 5f - }; - obj292.Steps = list464; - reference337 = obj292; - ref QuestSequence reference338 = ref span239[2]; - QuestSequence obj293 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list465 = new List(num2); - CollectionsMarshal.SetCount(list465, num2); - Span span241 = CollectionsMarshal.AsSpan(list465); - span241[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(302.1455f, -15.629961f, -516.2348f), 1190) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ShaaloaniMehwahhetsoan - }; - span241[1] = new QuestStep(EInteractionType.Interact, 1046988u, new Vector3(302.96777f, -15.629961f, -514.6716f), 1190); - obj293.Steps = list465; - reference338 = obj293; - ref QuestSequence reference339 = ref span239[3]; - QuestSequence obj294 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list466 = new List(num2); - CollectionsMarshal.SetCount(list466, num2); - CollectionsMarshal.AsSpan(list466)[0] = new QuestStep(EInteractionType.Interact, 1051013u, new Vector3(303.79175f, -15.629962f, -516.25854f), 1190); - obj294.Steps = list466; - reference339 = obj294; - ref QuestSequence reference340 = ref span239[4]; - QuestSequence obj295 = new QuestSequence - { - Sequence = 4 - }; - num2 = 4; - List list467 = new List(num2); - CollectionsMarshal.SetCount(list467, num2); - Span span242 = CollectionsMarshal.AsSpan(list467); - ref QuestStep reference341 = ref span242[0]; - QuestStep obj296 = new QuestStep(EInteractionType.Interact, 1052247u, new Vector3(224.96375f, -16.329428f, -527.6417f), 1190) - { - Fly = true - }; - num3 = 6; - List list468 = new List(num3); - CollectionsMarshal.SetCount(list468, num3); - Span span243 = CollectionsMarshal.AsSpan(list468); - span243[0] = null; - span243[1] = null; - span243[2] = null; - span243[3] = null; - span243[4] = null; - span243[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - obj296.CompletionQuestVariablesFlags = list468; - num3 = 1; - List list469 = new List(num3); - CollectionsMarshal.SetCount(list469, num3); - CollectionsMarshal.AsSpan(list469)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMG105_05248_Q2_000_000"), - Answer = new ExcelRef("TEXT_KINGMG105_05248_A2_000_002") - }; - obj296.DialogueChoices = list469; - reference341 = obj296; - ref QuestStep reference342 = ref span242[1]; - QuestStep obj297 = new QuestStep(EInteractionType.Interact, 1052245u, new Vector3(276.78333f, -16.53927f, -562.7985f), 1190) - { - Fly = true - }; - num3 = 6; - List list470 = new List(num3); - CollectionsMarshal.SetCount(list470, num3); - Span span244 = CollectionsMarshal.AsSpan(list470); - span244[0] = null; - span244[1] = null; - span244[2] = null; - span244[3] = null; - span244[4] = null; - span244[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj297.CompletionQuestVariablesFlags = list470; - reference342 = obj297; - ref QuestStep reference343 = ref span242[2]; - QuestStep obj298 = new QuestStep(EInteractionType.Interact, 1052243u, new Vector3(332.26514f, -14.986355f, -558.95325f), 1190) - { - Fly = true - }; - num3 = 6; - List list471 = new List(num3); - CollectionsMarshal.SetCount(list471, num3); - Span span245 = CollectionsMarshal.AsSpan(list471); - span245[0] = null; - span245[1] = null; - span245[2] = null; - span245[3] = null; - span245[4] = null; - span245[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj298.CompletionQuestVariablesFlags = list471; - reference343 = obj298; - ref QuestStep reference344 = ref span242[3]; - QuestStep obj299 = new QuestStep(EInteractionType.Interact, 1052239u, new Vector3(354.57385f, -17.082237f, -452.5063f), 1190) - { - Fly = true - }; - num3 = 6; - List list472 = new List(num3); - CollectionsMarshal.SetCount(list472, num3); - Span span246 = CollectionsMarshal.AsSpan(list472); - span246[0] = null; - span246[1] = null; - span246[2] = null; - span246[3] = null; - span246[4] = null; - span246[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj299.CompletionQuestVariablesFlags = list472; - reference344 = obj299; - obj295.Steps = list467; - reference340 = obj295; - ref QuestSequence reference345 = ref span239[5]; - QuestSequence obj300 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list473 = new List(num2); - CollectionsMarshal.SetCount(list473, num2); - Span span247 = CollectionsMarshal.AsSpan(list473); - span247[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(301.4884f, -15.679954f, -504.85742f), 1190) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Unlocked - } - } - }; - span247[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(302.1455f, -15.629961f, -516.2348f), 1190) - { - Fly = true, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Flying = ELockedSkipCondition.Locked - } - } - }; - span247[2] = new QuestStep(EInteractionType.CompleteQuest, 1051013u, new Vector3(303.79175f, -15.629962f, -516.25854f), 1190); - obj300.Steps = list473; - reference345 = obj300; - questRoot48.QuestSequence = list462; - AddQuest(questId48, questRoot48); - QuestId questId49 = new QuestId(5249); - QuestRoot questRoot49 = new QuestRoot(); - num = 1; - List list474 = new List(num); - CollectionsMarshal.SetCount(list474, num); - CollectionsMarshal.AsSpan(list474)[0] = "liza"; - questRoot49.Author = list474; - num = 6; - List list475 = new List(num); - CollectionsMarshal.SetCount(list475, num); - Span span248 = CollectionsMarshal.AsSpan(list475); - ref QuestSequence reference346 = ref span248[0]; - QuestSequence obj301 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list476 = new List(num2); - CollectionsMarshal.SetCount(list476, num2); - CollectionsMarshal.AsSpan(list476)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052248u, new Vector3(293.93445f, -16.71379f, -528.70984f), 1190); - obj301.Steps = list476; - reference346 = obj301; - ref QuestSequence reference347 = ref span248[1]; - QuestSequence obj302 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list477 = new List(num2); - CollectionsMarshal.SetCount(list477, num2); - ref QuestStep reference348 = ref CollectionsMarshal.AsSpan(list477)[0]; - QuestStep questStep33 = new QuestStep(EInteractionType.SinglePlayerDuty, 1052248u, new Vector3(293.93445f, -16.71379f, -528.70984f), 1190); - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions(); - num3 = 4; - List list478 = new List(num3); - CollectionsMarshal.SetCount(list478, num3); - Span span249 = CollectionsMarshal.AsSpan(list478); - span249[0] = "(pre-fight) AI doesn't move to the Rroneeks or interact with them"; - span249[1] = "(phase 1/2) No VBM module, so doesn't target the leg, doesn't avoid AOEs and dies"; - span249[2] = "(phase 1) AI doesn't pull boss"; - span249[3] = "(phase 2) AI runs away with the stack marker; doesn't pick up orbs"; - singlePlayerDutyOptions.Notes = list478; - questStep33.SinglePlayerDutyOptions = singlePlayerDutyOptions; - reference348 = questStep33; - obj302.Steps = list477; - reference347 = obj302; - span248[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference349 = ref span248[3]; - QuestSequence obj303 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list479 = new List(num2); - CollectionsMarshal.SetCount(list479, num2); - CollectionsMarshal.AsSpan(list479)[0] = new QuestStep(EInteractionType.Interact, 1052252u, new Vector3(299.15308f, -15.629961f, -518.4253f), 1190) - { - StopDistance = 5f - }; - obj303.Steps = list479; - reference349 = obj303; - ref QuestSequence reference350 = ref span248[4]; - QuestSequence obj304 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list480 = new List(num2); - CollectionsMarshal.SetCount(list480, num2); - ref QuestStep reference351 = ref CollectionsMarshal.AsSpan(list480)[0]; - QuestStep obj305 = new QuestStep(EInteractionType.Interact, 1052255u, new Vector3(-123.91852f, 16.187744f, -296.80328f), 1190) - { - Fly = true - }; - num3 = 1; - List list481 = new List(num3); - CollectionsMarshal.SetCount(list481, num3); - CollectionsMarshal.AsSpan(list481)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMG106_05249_SYSTEM_000_402") - }; - obj305.DialogueChoices = list481; - reference351 = obj305; - obj304.Steps = list480; - reference350 = obj304; - ref QuestSequence reference352 = ref span248[5]; - QuestSequence obj306 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list482 = new List(num2); - CollectionsMarshal.SetCount(list482, num2); - CollectionsMarshal.AsSpan(list482)[0] = new QuestStep(EInteractionType.CompleteQuest, 1052259u, new Vector3(-171.03839f, 15.75679f, -372.45752f), 1190); - obj306.Steps = list482; - reference352 = obj306; - questRoot49.QuestSequence = list475; - AddQuest(questId49, questRoot49); - } - - private static void LoadQuests105() - { - QuestId questId = new QuestId(5250); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 6; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052261u, new Vector3(-172.25916f, 15.73959f, -376.1197f), 1190); - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference3 = ref span2[0]; - QuestStep obj3 = new QuestStep(EInteractionType.Interact, 1048083u, new Vector3(302.05237f, 51.199978f, 205.0354f), 1186) - { - TargetTerritoryId = (ushort)1207, - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineNeonStein - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - int num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = 1207; - skipStepConditions.InTerritory = list5; - skipConditions.StepIf = skipStepConditions; - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 1; - List list6 = new List(num3); - CollectionsMarshal.SetCount(list6, num3); - CollectionsMarshal.AsSpan(list6)[0] = 1207; - skipAetheryteCondition.InTerritory = list6; - skipConditions.AetheryteShortcutIf = skipAetheryteCondition; - obj3.SkipConditions = skipConditions; - reference3 = obj3; - span2[1] = new QuestStep(EInteractionType.Interact, 1052521u, new Vector3(-1.8463745f, -3.4458935E-08f, 5.8441772f), 1207); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.Interact, 1052269u, new Vector3(-2.456726f, -7.2107476E-08f, 8.987488f), 1207); - obj4.Steps = list7; - reference4 = obj4; - ref QuestSequence reference5 = ref span[3]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.Interact, 1052271u, new Vector3(-0.41204834f, -3.9115548E-08f, 6.240906f), 1207); - obj5.Steps = list8; - reference5 = obj5; - ref QuestSequence reference6 = ref span[4]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.Interact, 1052272u, new Vector3(0.19836426f, 0.00054359436f, -94.98743f), 1186) - { - AetheryteShortcut = EAetheryteLocation.SolutionNine - }; - obj6.Steps = list9; - reference6 = obj6; - ref QuestSequence reference7 = ref span[5]; - QuestSequence obj7 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.CompleteQuest, 1052267u, new Vector3(-3.7080078f, -7.4505806E-08f, 9.170593f), 1207) - { - StopDistance = 7f - }; - obj7.Steps = list10; - reference7 = obj7; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(5251); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list11 = new List(num); - CollectionsMarshal.SetCount(list11, num); - CollectionsMarshal.AsSpan(list11)[0] = "Starr"; - questRoot2.Author = list11; - questRoot2.IsSeasonalQuest = true; - questRoot2.SeasonalQuestExpiry = new DateTime(2025, 2, 17, 0, 0, 0, DateTimeKind.Utc); - num = 8; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - Span span3 = CollectionsMarshal.AsSpan(list12); - ref QuestSequence reference8 = ref span3[0]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - ref QuestStep reference9 = ref CollectionsMarshal.AsSpan(list13)[0]; - QuestStep obj9 = new QuestStep(EInteractionType.AcceptQuest, 1052351u, new Vector3(-50.003845f, 6.4999986f, -90.013f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition obj10 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list14 = new List(num3); - CollectionsMarshal.SetCount(list14, num3); - CollectionsMarshal.AsSpan(list14)[0] = 133; - obj10.InTerritory = list14; - skipConditions2.AetheryteShortcutIf = obj10; - obj9.SkipConditions = skipConditions2; - reference9 = obj9; - obj8.Steps = list13; - reference8 = obj8; - ref QuestSequence reference10 = ref span3[1]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.Interact, 1052368u, new Vector3(-273.02972f, 8.083828f, -175.49408f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaAmphitheatre, - To = EAetheryteLocation.GridaniaBotanist - } - }; - obj11.Steps = list15; - reference10 = obj11; - ref QuestSequence reference11 = ref span3[2]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - Span span4 = CollectionsMarshal.AsSpan(list16); - ref QuestStep reference12 = ref span4[0]; - QuestStep obj13 = new QuestStep(EInteractionType.Interact, 1052371u, new Vector3(-83.45166f, 7.316897f, -125.474915f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaBotanist, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - num3 = 6; - List list17 = new List(num3); - CollectionsMarshal.SetCount(list17, num3); - Span span5 = CollectionsMarshal.AsSpan(list17); - span5[0] = null; - span5[1] = null; - span5[2] = null; - span5[3] = null; - span5[4] = null; - span5[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj13.CompletionQuestVariablesFlags = list17; - reference12 = obj13; - ref QuestStep reference13 = ref span4[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1052370u, new Vector3(-63.889526f, 7.1254845f, -114.85474f), 133); - num3 = 6; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - Span span6 = CollectionsMarshal.AsSpan(list18); - span6[0] = null; - span6[1] = null; - span6[2] = null; - span6[3] = null; - span6[4] = null; - span6[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list18; - reference13 = questStep; - span4[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-52.803135f, 7.148118f, -115.562614f), 133); - span4[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-46.505447f, 6.4003353f, -106.06247f), 133); - ref QuestStep reference14 = ref span4[4]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1052369u, new Vector3(-41.33673f, 6.2679696f, -104.14282f), 133); - num3 = 6; - List list19 = new List(num3); - CollectionsMarshal.SetCount(list19, num3); - Span span7 = CollectionsMarshal.AsSpan(list19); - span7[0] = null; - span7[1] = null; - span7[2] = null; - span7[3] = null; - span7[4] = null; - span7[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list19; - reference14 = questStep2; - obj12.Steps = list16; - reference11 = obj12; - ref QuestSequence reference15 = ref span3[3]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - Span span8 = CollectionsMarshal.AsSpan(list20); - span8[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-46.505447f, 6.4003353f, -106.06247f), 133); - span8[1] = new QuestStep(EInteractionType.Interact, 2014516u, new Vector3(81.651f, 6.0272217f, -101.1521f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaAmphitheatre, - To = EAetheryteLocation.GridaniaLeatherworker - } - }; - obj14.Steps = list20; - reference15 = obj14; - ref QuestSequence reference16 = ref span3[4]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - Span span9 = CollectionsMarshal.AsSpan(list21); - ref QuestStep reference17 = ref span9[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1052377u, new Vector3(138.01782f, 13.595509f, -102.64752f), 133); - num3 = 6; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - Span span10 = CollectionsMarshal.AsSpan(list22); - span10[0] = null; - span10[1] = null; - span10[2] = null; - span10[3] = null; - span10[4] = null; - span10[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list22; - reference17 = questStep3; - ref QuestStep reference18 = ref span9[1]; - QuestStep obj16 = new QuestStep(EInteractionType.Interact, 1052375u, new Vector3(-68.77246f, 6.88836f, -134.3252f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLeatherworker, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - num3 = 6; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - Span span11 = CollectionsMarshal.AsSpan(list23); - span11[0] = null; - span11[1] = null; - span11[2] = null; - span11[3] = null; - span11[4] = null; - span11[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj16.CompletionQuestVariablesFlags = list23; - reference18 = obj16; - ref QuestStep reference19 = ref span9[2]; - QuestStep obj17 = new QuestStep(EInteractionType.Interact, 1052380u, new Vector3(10.391357f, 0.5406719f, -1.7853394f), 132) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaAmphitheatre, - To = EAetheryteLocation.Gridania - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num3 = 2; - List list24 = new List(num3); - CollectionsMarshal.SetCount(list24, num3); - Span span12 = CollectionsMarshal.AsSpan(list24); - span12[0] = 132; - span12[1] = 133; - skipAetheryteCondition2.InTerritory = list24; - skipConditions3.AetheryteShortcutIf = skipAetheryteCondition2; - obj17.SkipConditions = skipConditions3; - num3 = 6; - List list25 = new List(num3); - CollectionsMarshal.SetCount(list25, num3); - Span span13 = CollectionsMarshal.AsSpan(list25); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj17.CompletionQuestVariablesFlags = list25; - reference19 = obj17; - obj15.Steps = list21; - reference16 = obj15; - ref QuestSequence reference20 = ref span3[5]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.Interact, 1052382u, new Vector3(-256.79407f, -2.3841858E-07f, -188.61682f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaBotanist - }, - SkipConditions = new SkipConditions - { - AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj18.Steps = list26; - reference20 = obj18; - ref QuestSequence reference21 = ref span3[6]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.Interact, 1052382u, new Vector3(-256.79407f, -2.3841858E-07f, -188.61682f), 133); - obj19.Steps = list27; - reference21 = obj19; - ref QuestSequence reference22 = ref span3[7]; - QuestSequence obj20 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.CompleteQuest, 1052351u, new Vector3(-50.003845f, 6.4999986f, -90.013f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaBotanist, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - obj20.Steps = list28; - reference22 = obj20; - questRoot2.QuestSequence = list12; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(5252); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - CollectionsMarshal.AsSpan(list29)[0] = "liza"; - questRoot3.Author = list29; - num = 6; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - Span span14 = CollectionsMarshal.AsSpan(list30); - ref QuestSequence reference23 = ref span14[0]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048609u, new Vector3(-10.696594f, 2.4000525f, -31.174255f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj21.Steps = list31; - reference23 = obj21; - ref QuestSequence reference24 = ref span14[1]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 1045332u, new Vector3(-639.704f, -27.177149f, 301.9912f), 956) - { - AetheryteShortcut = EAetheryteLocation.LabyrinthosAporia - }; - obj22.Steps = list32; - reference24 = obj22; - ref QuestSequence reference25 = ref span14[2]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - Span span15 = CollectionsMarshal.AsSpan(list33); - span15[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(807.9048f, 152.2857f, -243.60707f), 961) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ElpisAnagnorisis - }; - span15[1] = new QuestStep(EInteractionType.Interact, 2012293u, new Vector3(809.9336f, 151.81189f, -243.42719f), 961) - { - TargetTerritoryId = (ushort)1025 - }; - span15[2] = new QuestStep(EInteractionType.Interact, 1048610u, new Vector3(93.94971f, -1E-11f, 61.020752f), 1025); - obj23.Steps = list33; - reference25 = obj23; - ref QuestSequence reference26 = ref span14[3]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - CollectionsMarshal.AsSpan(list34)[0] = new QuestStep(EInteractionType.Interact, 2014542u, new Vector3(104.57007f, -0.015319824f, 46.25f), 1025); - obj24.Steps = list34; - reference26 = obj24; - ref QuestSequence reference27 = ref span14[4]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.Interact, 1048610u, new Vector3(93.94971f, -1E-11f, 61.020752f), 1025); - obj25.Steps = list35; - reference27 = obj25; - ref QuestSequence reference28 = ref span14[5]; - QuestSequence obj26 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.CompleteQuest, 1045332u, new Vector3(-639.704f, -27.177149f, 301.9912f), 956) - { - AetheryteShortcut = EAetheryteLocation.LabyrinthosAporia - }; - obj26.Steps = list36; - reference28 = obj26; - questRoot3.QuestSequence = list30; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(5253); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - CollectionsMarshal.AsSpan(list37)[0] = "Censored"; - questRoot4.Author = list37; - num = 4; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - Span span16 = CollectionsMarshal.AsSpan(list38); - ref QuestSequence reference29 = ref span16[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052591u, new Vector3(71.854614f, -16.247f, 118.242065f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.OldSharlayan, - To = EAetheryteLocation.OldSharlayanScholarsHarbor - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj27.Steps = list39; - reference29 = obj27; - ref QuestSequence reference30 = ref span16[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.Interact, 2014652u, new Vector3(-648.73737f, 130.0221f, 717.3723f), 959) - { - AetheryteShortcut = EAetheryteLocation.MareLamentorumSinusLacrimarum - }; - obj28.Steps = list40; - reference30 = obj28; - ref QuestSequence reference31 = ref span16[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.Interact, 1052592u, new Vector3(25.680908f, -137.41669f, -411.30695f), 959) - { - Fly = true - }; - obj29.Steps = list41; - reference31 = obj29; - ref QuestSequence reference32 = ref span16[3]; - QuestSequence obj30 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.CompleteQuest, 1052595u, new Vector3(-53.177734f, -3.33786E-06f, -72.129456f), 1237) - { - NextQuestId = new QuestId(5254) - }; - obj30.Steps = list42; - reference32 = obj30; - questRoot4.QuestSequence = list38; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(5254); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - CollectionsMarshal.AsSpan(list43)[0] = "liza"; - questRoot5.Author = list43; - num = 7; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - Span span17 = CollectionsMarshal.AsSpan(list44); - ref QuestSequence reference33 = ref span17[0]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052595u, new Vector3(-53.177734f, -3.33786E-06f, -72.129456f), 1237); - obj31.Steps = list45; - reference33 = obj31; - ref QuestSequence reference34 = ref span17[1]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 1052618u, new Vector3(-51.255127f, -3.3378603E-06f, -72.64819f), 1237) - { - StopDistance = 7f - }; - obj32.Steps = list46; - reference34 = obj32; - ref QuestSequence reference35 = ref span17[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Interact, 1052618u, new Vector3(-40.065205f, 11.930657f, -95.35249f), 1237) - { - StopDistance = 0.5f - }; - obj33.Steps = list47; - reference35 = obj33; - ref QuestSequence reference36 = ref span17[3]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.Interact, 1052618u, new Vector3(-425.39127f, 47.861256f, 212.72206f), 1237) - { - StopDistance = 0.5f - }; - obj34.Steps = list48; - reference36 = obj34; - ref QuestSequence reference37 = ref span17[4]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.Interact, 1052618u, new Vector3(533.5678f, 39.006783f, 167.32143f), 1237) - { - StopDistance = 0.5f - }; - obj35.Steps = list49; - reference37 = obj35; - ref QuestSequence reference38 = ref span17[5]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - ref QuestStep reference39 = ref CollectionsMarshal.AsSpan(list50)[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2014657u, new Vector3(533.53174f, 38.986816f, 167.25415f), 1237); - num3 = 2; - List list51 = new List(num3); - CollectionsMarshal.SetCount(list51, num3); - Span span18 = CollectionsMarshal.AsSpan(list51); - span18[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGWK102_05254_Q2_000_000") - }; - span18[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGWK102_05254_Q3_000_000"), - Answer = new ExcelRef("TEXT_KINGWK102_05254_A3_000_001") - }; - questStep4.DialogueChoices = list51; - num3 = 5; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - Span span19 = CollectionsMarshal.AsSpan(list52); - span19[0] = 0u; - span19[1] = 1u; - span19[2] = 2u; - span19[3] = 3u; - span19[4] = 4u; - questStep4.PointMenuChoices = list52; - reference39 = questStep4; - obj36.Steps = list50; - reference38 = obj36; - ref QuestSequence reference40 = ref span17[6]; - QuestSequence obj37 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - Span span20 = CollectionsMarshal.AsSpan(list53); - span20[0] = new QuestStep(EInteractionType.Action, null, null, 1237) - { - Action = EAction.DutyAction1 - }; - span20[1] = new QuestStep(EInteractionType.CompleteQuest, 1052617u, new Vector3(-53.177734f, -3.33786E-06f, -72.129456f), 1237) - { - NextQuestId = new QuestId(5409) - }; - obj37.Steps = list53; - reference40 = obj37; - questRoot5.QuestSequence = list44; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(5255); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - CollectionsMarshal.AsSpan(list54)[0] = "liza"; - questRoot6.Author = list54; - num = 7; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - Span span21 = CollectionsMarshal.AsSpan(list55); - ref QuestSequence reference41 = ref span21[0]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - CollectionsMarshal.AsSpan(list56)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052565u, new Vector3(706.69104f, -133.174f, 530.7545f), 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj38.Steps = list56; - reference41 = obj38; - ref QuestSequence reference42 = ref span21[1]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.Interact, 1052566u, new Vector3(535.3932f, -150f, 749.20264f), 1189) - { - Fly = true - }; - obj39.Steps = list57; - reference42 = obj39; - ref QuestSequence reference43 = ref span21[2]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - Span span22 = CollectionsMarshal.AsSpan(list58); - span22[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(562.12634f, -137.174f, 563.6532f), 1189) - { - Fly = true - }; - span22[1] = new QuestStep(EInteractionType.Interact, 1052568u, new Vector3(562.46277f, -137.17401f, 565.1482f), 1189); - obj40.Steps = list58; - reference43 = obj40; - ref QuestSequence reference44 = ref span21[3]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - Span span23 = CollectionsMarshal.AsSpan(list59); - ref QuestStep reference45 = ref span23[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1052569u, new Vector3(561.94385f, -137.17401f, 561.9745f), 1189); - num3 = 6; - List list60 = new List(num3); - CollectionsMarshal.SetCount(list60, num3); - Span span24 = CollectionsMarshal.AsSpan(list60); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list60; - num3 = 1; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - CollectionsMarshal.AsSpan(list61)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANMAM001_05255_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANMAM001_05255_A1_000_001") - }; - questStep5.DialogueChoices = list61; - reference45 = questStep5; - ref QuestStep reference46 = ref span23[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1053754u, new Vector3(559.8688f, -137.174f, 563.9581f), 1189); - num3 = 6; - List list62 = new List(num3); - CollectionsMarshal.SetCount(list62, num3); - Span span25 = CollectionsMarshal.AsSpan(list62); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list62; - num3 = 1; - List list63 = new List(num3); - CollectionsMarshal.SetCount(list63, num3); - CollectionsMarshal.AsSpan(list63)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANMAM001_05255_Q2_000_000"), - Answer = new ExcelRef("TEXT_BANMAM001_05255_A2_000_002") - }; - questStep6.DialogueChoices = list63; - reference46 = questStep6; - ref QuestStep reference47 = ref span23[2]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1053755u, new Vector3(564.6599f, -137.174f, 563.8971f), 1189); - num3 = 6; - List list64 = new List(num3); - CollectionsMarshal.SetCount(list64, num3); - Span span26 = CollectionsMarshal.AsSpan(list64); - span26[0] = null; - span26[1] = null; - span26[2] = null; - span26[3] = null; - span26[4] = null; - span26[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list64; - num3 = 1; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - CollectionsMarshal.AsSpan(list65)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANMAM001_05255_Q3_000_000"), - Answer = new ExcelRef("TEXT_BANMAM001_05255_A3_000_001") - }; - questStep7.DialogueChoices = list65; - reference47 = questStep7; - obj41.Steps = list59; - reference44 = obj41; - ref QuestSequence reference48 = ref span21[4]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.Interact, 1053756u, new Vector3(686.48804f, -137.17401f, 552.697f), 1189) - { - Fly = true - }; - obj42.Steps = list66; - reference48 = obj42; - ref QuestSequence reference49 = ref span21[5]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.Interact, 1052566u, new Vector3(535.3932f, -150f, 749.20264f), 1189) - { - Fly = true - }; - obj43.Steps = list67; - reference49 = obj43; - ref QuestSequence reference50 = ref span21[6]; - QuestSequence obj44 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - Span span27 = CollectionsMarshal.AsSpan(list68); - ref QuestStep reference51 = ref span27[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - CollectionsMarshal.AsSpan(list69)[0] = EExtendedClassJob.Miner; - questStep8.RequiredQuestAcceptedJob = list69; - num3 = 1; - List list70 = new List(num3); - CollectionsMarshal.SetCount(list70, num3); - CollectionsMarshal.AsSpan(list70)[0] = new GatheredItem - { - ItemId = 48009u, - ItemCount = 3 - }; - questStep8.ItemsToGather = list70; - reference51 = questStep8; - ref QuestStep reference52 = ref span27[1]; - QuestStep questStep9 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - CollectionsMarshal.AsSpan(list71)[0] = EExtendedClassJob.Botanist; - questStep9.RequiredQuestAcceptedJob = list71; - num3 = 1; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - CollectionsMarshal.AsSpan(list72)[0] = new GatheredItem - { - ItemId = 48010u, - ItemCount = 3 - }; - questStep9.ItemsToGather = list72; - reference52 = questStep9; - span27[2] = new QuestStep(EInteractionType.CompleteQuest, 1052566u, new Vector3(535.3932f, -150f, 749.20264f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook - }; - obj44.Steps = list68; - reference50 = obj44; - questRoot6.QuestSequence = list55; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(5256); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list73 = new List(num); - CollectionsMarshal.SetCount(list73, num); - CollectionsMarshal.AsSpan(list73)[0] = "liza"; - questRoot7.Author = list73; - num = 4; - List list74 = new List(num); - CollectionsMarshal.SetCount(list74, num); - Span span28 = CollectionsMarshal.AsSpan(list74); - ref QuestSequence reference53 = ref span28[0]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - CollectionsMarshal.AsSpan(list75)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052561u, new Vector3(578.14905f, -144.88388f, 721.8279f), 1189); - obj45.Steps = list75; - reference53 = obj45; - ref QuestSequence reference54 = ref span28[1]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.Interact, 1053761u, new Vector3(37.39978f, -173.47919f, 290.6996f), 1189) - { - Fly = true - }; - obj46.Steps = list76; - reference54 = obj46; - ref QuestSequence reference55 = ref span28[2]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - Span span29 = CollectionsMarshal.AsSpan(list77); - ref QuestStep reference56 = ref span29[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list78 = new List(num3); - CollectionsMarshal.SetCount(list78, num3); - CollectionsMarshal.AsSpan(list78)[0] = EExtendedClassJob.Miner; - questStep10.RequiredQuestAcceptedJob = list78; - num3 = 1; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - CollectionsMarshal.AsSpan(list79)[0] = new GatheredItem - { - ItemId = 48012u, - ItemCount = 3 - }; - questStep10.ItemsToGather = list79; - reference56 = questStep10; - ref QuestStep reference57 = ref span29[1]; - QuestStep questStep11 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - CollectionsMarshal.AsSpan(list80)[0] = EExtendedClassJob.Botanist; - questStep11.RequiredQuestAcceptedJob = list80; - num3 = 1; - List list81 = new List(num3); - CollectionsMarshal.SetCount(list81, num3); - CollectionsMarshal.AsSpan(list81)[0] = new GatheredItem - { - ItemId = 48013u, - ItemCount = 3 - }; - questStep11.ItemsToGather = list81; - reference57 = questStep11; - span29[2] = new QuestStep(EInteractionType.Interact, 1053761u, new Vector3(37.39978f, -173.47919f, 290.6996f), 1189) - { - Fly = true, - Land = true - }; - obj47.Steps = list77; - reference55 = obj47; - ref QuestSequence reference58 = ref span28[3]; - QuestSequence obj48 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053790u, new Vector3(578.33215f, -144.9379f, 723.81165f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook - }; - obj48.Steps = list82; - reference58 = obj48; - questRoot7.QuestSequence = list74; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(5257); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list83 = new List(num); - CollectionsMarshal.SetCount(list83, num); - CollectionsMarshal.AsSpan(list83)[0] = "Theo"; - questRoot8.Author = list83; - num = 6; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - Span span30 = CollectionsMarshal.AsSpan(list84); - ref QuestSequence reference59 = ref span30[0]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052561u, new Vector3(578.14905f, -144.88388f, 721.8279f), 1189); - obj49.Steps = list85; - reference59 = obj49; - ref QuestSequence reference60 = ref span30[1]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.Interact, 1050891u, new Vector3(662.8672f, -137.17401f, 556.115f), 1189) - { - Fly = true - }; - obj50.Steps = list86; - reference60 = obj50; - ref QuestSequence reference61 = ref span30[2]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.Interact, 1053765u, new Vector3(-256.21423f, 1.9912608E-05f, 98.527466f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalTheResplendentQuarter - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj51.Steps = list87; - reference61 = obj51; - ref QuestSequence reference62 = ref span30[3]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[0] = new QuestStep(EInteractionType.Interact, 1053767u, new Vector3(-219.2569f, 39.99999f, -10.8797f), 1185); - obj52.Steps = list88; - reference62 = obj52; - ref QuestSequence reference63 = ref span30[4]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.Interact, 1053770u, new Vector3(528.4962f, -150f, 739.89465f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj53.Steps = list89; - reference63 = obj53; - ref QuestSequence reference64 = ref span30[5]; - QuestSequence obj54 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - Span span31 = CollectionsMarshal.AsSpan(list90); - ref QuestStep reference65 = ref span31[0]; - QuestStep questStep12 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list91 = new List(num3); - CollectionsMarshal.SetCount(list91, num3); - CollectionsMarshal.AsSpan(list91)[0] = EExtendedClassJob.Miner; - questStep12.RequiredQuestAcceptedJob = list91; - num3 = 1; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - CollectionsMarshal.AsSpan(list92)[0] = new GatheredItem - { - ItemId = 48015u, - ItemCount = 3 - }; - questStep12.ItemsToGather = list92; - reference65 = questStep12; - ref QuestStep reference66 = ref span31[1]; - QuestStep questStep13 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - CollectionsMarshal.AsSpan(list93)[0] = EExtendedClassJob.Botanist; - questStep13.RequiredQuestAcceptedJob = list93; - num3 = 1; - List list94 = new List(num3); - CollectionsMarshal.SetCount(list94, num3); - CollectionsMarshal.AsSpan(list94)[0] = new GatheredItem - { - ItemId = 48016u, - ItemCount = 3 - }; - questStep13.ItemsToGather = list94; - reference66 = questStep13; - span31[2] = new QuestStep(EInteractionType.CompleteQuest, 1053790u, new Vector3(578.33215f, -144.9379f, 723.81165f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj54.Steps = list90; - reference64 = obj54; - questRoot8.QuestSequence = list84; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(5258); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list95 = new List(num); - CollectionsMarshal.SetCount(list95, num); - CollectionsMarshal.AsSpan(list95)[0] = "Theo"; - questRoot9.Author = list95; - num = 8; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - Span span32 = CollectionsMarshal.AsSpan(list96); - ref QuestSequence reference67 = ref span32[0]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - CollectionsMarshal.AsSpan(list97)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052561u, new Vector3(578.14905f, -144.88388f, 721.8279f), 1189) - { - Fly = true - }; - obj55.Steps = list97; - reference67 = obj55; - ref QuestSequence reference68 = ref span32[1]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.Interact, 1053772u, new Vector3(57.694214f, 38.03109f, -279.8047f), 1191) - { - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj56.Steps = list98; - reference68 = obj56; - ref QuestSequence reference69 = ref span32[2]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 1053772u, new Vector3(57.694214f, 38.03109f, -279.8047f), 1191); - obj57.Steps = list99; - reference69 = obj57; - ref QuestSequence reference70 = ref span32[3]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - Span span33 = CollectionsMarshal.AsSpan(list100); - ref QuestStep reference71 = ref span33[0]; - QuestStep obj59 = new QuestStep(EInteractionType.Interact, 2014662u, new Vector3(28.94629f, 35.446655f, -330.73932f), 1191) - { - Fly = true - }; - num3 = 6; - List> list101 = new List>(num3); - CollectionsMarshal.SetCount(list101, num3); - Span> span34 = CollectionsMarshal.AsSpan(list101); - ref List reference72 = ref span34[0]; - int num4 = 1; - List list102 = new List(num4); - CollectionsMarshal.SetCount(list102, num4); - CollectionsMarshal.AsSpan(list102)[0] = new QuestWorkValue(0, 0, EQuestWorkMode.Bitwise); - reference72 = list102; - span34[1] = null; - span34[2] = null; - span34[3] = null; - span34[4] = null; - span34[5] = null; - obj59.RequiredQuestVariables = list101; - reference71 = obj59; - ref QuestStep reference73 = ref span33[1]; - QuestStep obj60 = new QuestStep(EInteractionType.Interact, 1053774u, new Vector3(10.055664f, 34.83803f, -387.2282f), 1191) - { - Fly = true - }; - num3 = 6; - List> list103 = new List>(num3); - CollectionsMarshal.SetCount(list103, num3); - Span> span35 = CollectionsMarshal.AsSpan(list103); - ref List reference74 = ref span35[0]; - num4 = 1; - List list104 = new List(num4); - CollectionsMarshal.SetCount(list104, num4); - CollectionsMarshal.AsSpan(list104)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference74 = list104; - span35[1] = null; - span35[2] = null; - span35[3] = null; - span35[4] = null; - span35[5] = null; - obj60.RequiredQuestVariables = list103; - reference73 = obj60; - ref QuestStep reference75 = ref span33[2]; - QuestStep obj61 = new QuestStep(EInteractionType.Interact, 1053773u, new Vector3(-13.748474f, 34.838024f, -403.55536f), 1191) - { - Fly = true - }; - num3 = 6; - List> list105 = new List>(num3); - CollectionsMarshal.SetCount(list105, num3); - Span> span36 = CollectionsMarshal.AsSpan(list105); - ref List reference76 = ref span36[0]; - num4 = 1; - List list106 = new List(num4); - CollectionsMarshal.SetCount(list106, num4); - CollectionsMarshal.AsSpan(list106)[0] = new QuestWorkValue((byte)2, (byte)1, EQuestWorkMode.Bitwise); - reference76 = list106; - span36[1] = null; - span36[2] = null; - span36[3] = null; - span36[4] = null; - span36[5] = null; - obj61.RequiredQuestVariables = list105; - reference75 = obj61; - obj58.Steps = list100; - reference70 = obj58; - ref QuestSequence reference77 = ref span32[4]; - QuestSequence obj62 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new QuestStep(EInteractionType.Interact, 1053772u, new Vector3(-54.151768f, 30.108292f, -418.1114f), 1191) - { - Fly = true - }; - obj62.Steps = list107; - reference77 = obj62; - ref QuestSequence reference78 = ref span32[5]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new QuestStep(EInteractionType.Interact, 1053775u, new Vector3(552.9717f, -150f, 757.71716f), 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj63.Steps = list108; - reference78 = obj63; - ref QuestSequence reference79 = ref span32[6]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new QuestStep(EInteractionType.Interact, 1053775u, new Vector3(552.9717f, -150f, 757.71716f), 1189); - obj64.Steps = list109; - reference79 = obj64; - ref QuestSequence reference80 = ref span32[7]; - QuestSequence obj65 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - Span span37 = CollectionsMarshal.AsSpan(list110); - ref QuestStep reference81 = ref span37[0]; - QuestStep questStep14 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list111 = new List(num3); - CollectionsMarshal.SetCount(list111, num3); - CollectionsMarshal.AsSpan(list111)[0] = EExtendedClassJob.Miner; - questStep14.RequiredQuestAcceptedJob = list111; - num3 = 1; - List list112 = new List(num3); - CollectionsMarshal.SetCount(list112, num3); - CollectionsMarshal.AsSpan(list112)[0] = new GatheredItem - { - ItemId = 48018u, - ItemCount = 3 - }; - questStep14.ItemsToGather = list112; - reference81 = questStep14; - ref QuestStep reference82 = ref span37[1]; - QuestStep questStep15 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - CollectionsMarshal.AsSpan(list113)[0] = EExtendedClassJob.Botanist; - questStep15.RequiredQuestAcceptedJob = list113; - num3 = 1; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - CollectionsMarshal.AsSpan(list114)[0] = new GatheredItem - { - ItemId = 48019u, - ItemCount = 3 - }; - questStep15.ItemsToGather = list114; - reference82 = questStep15; - span37[2] = new QuestStep(EInteractionType.CompleteQuest, 1053775u, new Vector3(552.9717f, -150f, 757.71716f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj65.Steps = list110; - reference80 = obj65; - questRoot9.QuestSequence = list96; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(5259); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - CollectionsMarshal.AsSpan(list115)[0] = "Theo"; - questRoot10.Author = list115; - num = 8; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - Span span38 = CollectionsMarshal.AsSpan(list116); - ref QuestSequence reference83 = ref span38[0]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052561u, new Vector3(578.14905f, -144.88388f, 721.8279f), 1189); - obj66.Steps = list117; - reference83 = obj66; - ref QuestSequence reference84 = ref span38[1]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new QuestStep(EInteractionType.Interact, 1053776u, new Vector3(-333.0282f, 18.46631f, -407.8584f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelIqBraax, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-333.0282f, 18.46631f, -407.8584f), - MaximumDistance = 50f, - TerritoryId = 1189 - } - } - } - }; - obj67.Steps = list118; - reference84 = obj67; - ref QuestSequence reference85 = ref span38[2]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.Interact, 1053778u, new Vector3(-424.30762f, 23.535458f, -496.2997f), 1189) - { - Fly = true - }; - obj68.Steps = list119; - reference85 = obj68; - ref QuestSequence reference86 = ref span38[3]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.Interact, 1053780u, new Vector3(576.1653f, -145.13588f, 751.09485f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(576.1653f, -145.13588f, 751.09485f), - MaximumDistance = 50f, - TerritoryId = 1189 - } - } - } - }; - obj69.Steps = list120; - reference86 = obj69; - ref QuestSequence reference87 = ref span38[4]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - Span span39 = CollectionsMarshal.AsSpan(list121); - ref QuestStep reference88 = ref span39[0]; - QuestStep obj71 = new QuestStep(EInteractionType.Interact, 1053782u, new Vector3(705.3176f, -133.17163f, 515.3734f), 1189) - { - Fly = true - }; - num3 = 6; - List> list122 = new List>(num3); - CollectionsMarshal.SetCount(list122, num3); - Span> span40 = CollectionsMarshal.AsSpan(list122); - ref List reference89 = ref span40[0]; - num4 = 1; - List list123 = new List(num4); - CollectionsMarshal.SetCount(list123, num4); - CollectionsMarshal.AsSpan(list123)[0] = new QuestWorkValue(0, 0, EQuestWorkMode.Bitwise); - reference89 = list123; - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = null; - obj71.RequiredQuestVariables = list122; - reference88 = obj71; - ref QuestStep reference90 = ref span39[1]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1053783u, new Vector3(636.89624f, -137.174f, 570.5499f), 1189); - num3 = 6; - List> list124 = new List>(num3); - CollectionsMarshal.SetCount(list124, num3); - Span> span41 = CollectionsMarshal.AsSpan(list124); - ref List reference91 = ref span41[0]; - num4 = 1; - List list125 = new List(num4); - CollectionsMarshal.SetCount(list125, num4); - CollectionsMarshal.AsSpan(list125)[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - reference91 = list125; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = null; - questStep16.RequiredQuestVariables = list124; - reference90 = questStep16; - ref QuestStep reference92 = ref span39[2]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1053784u, new Vector3(664.33203f, -137.17398f, 546.2882f), 1189); - num3 = 6; - List> list126 = new List>(num3); - CollectionsMarshal.SetCount(list126, num3); - Span> span42 = CollectionsMarshal.AsSpan(list126); - ref List reference93 = ref span42[0]; - num4 = 1; - List list127 = new List(num4); - CollectionsMarshal.SetCount(list127, num4); - CollectionsMarshal.AsSpan(list127)[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference93 = list127; - span42[1] = null; - span42[2] = null; - span42[3] = null; - span42[4] = null; - span42[5] = null; - questStep17.RequiredQuestVariables = list126; - reference92 = questStep17; - obj70.Steps = list121; - reference87 = obj70; - ref QuestSequence reference94 = ref span38[5]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.Interact, 1053780u, new Vector3(576.1653f, -145.13588f, 751.09485f), 1189) - { - Fly = true - }; - obj72.Steps = list128; - reference94 = obj72; - ref QuestSequence reference95 = ref span38[6]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 6 - }; - num2 = 3; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - Span span43 = CollectionsMarshal.AsSpan(list129); - ref QuestStep reference96 = ref span43[0]; - QuestStep questStep18 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - CollectionsMarshal.AsSpan(list130)[0] = EExtendedClassJob.Miner; - questStep18.RequiredQuestAcceptedJob = list130; - num3 = 1; - List list131 = new List(num3); - CollectionsMarshal.SetCount(list131, num3); - CollectionsMarshal.AsSpan(list131)[0] = new GatheredItem - { - ItemId = 48021u, - ItemCount = 3 - }; - questStep18.ItemsToGather = list131; - reference96 = questStep18; - ref QuestStep reference97 = ref span43[1]; - QuestStep questStep19 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - CollectionsMarshal.AsSpan(list132)[0] = EExtendedClassJob.Botanist; - questStep19.RequiredQuestAcceptedJob = list132; - num3 = 1; - List list133 = new List(num3); - CollectionsMarshal.SetCount(list133, num3); - CollectionsMarshal.AsSpan(list133)[0] = new GatheredItem - { - ItemId = 48022u, - ItemCount = 3 - }; - questStep19.ItemsToGather = list133; - reference97 = questStep19; - span43[2] = new QuestStep(EInteractionType.Interact, 1053780u, new Vector3(576.1653f, -145.13588f, 751.09485f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(576.1653f, -145.13588f, 751.09485f), - MaximumDistance = 50f, - TerritoryId = 1189 - } - } - } - }; - obj73.Steps = list129; - reference95 = obj73; - ref QuestSequence reference98 = ref span38[7]; - QuestSequence obj74 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053790u, new Vector3(578.33215f, -144.9379f, 723.81165f), 1189); - obj74.Steps = list134; - reference98 = obj74; - questRoot10.QuestSequence = list116; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(5260); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list135 = new List(num); - CollectionsMarshal.SetCount(list135, num); - CollectionsMarshal.AsSpan(list135)[0] = "Censored"; - questRoot11.Author = list135; - num = 4; - List list136 = new List(num); - CollectionsMarshal.SetCount(list136, num); - Span span44 = CollectionsMarshal.AsSpan(list136); - ref QuestSequence reference99 = ref span44[0]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052561u, new Vector3(578.14905f, -144.88388f, 721.8279f), 1189); - obj75.Steps = list137; - reference99 = obj75; - ref QuestSequence reference100 = ref span44[1]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.Interact, 1053785u, new Vector3(600.7323f, -141.2465f, 801.41907f), 1189); - obj76.Steps = list138; - reference100 = obj76; - ref QuestSequence reference101 = ref span44[2]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.Interact, 1053787u, new Vector3(596.7345f, -143.12323f, 769.9243f), 1189); - obj77.Steps = list139; - reference101 = obj77; - ref QuestSequence reference102 = ref span44[3]; - QuestSequence obj78 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053788u, new Vector3(476.82898f, -150f, 769.5276f), 1189) - { - Fly = true - }; - obj78.Steps = list140; - reference102 = obj78; - questRoot11.QuestSequence = list136; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(5261); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list141 = new List(num); - CollectionsMarshal.SetCount(list141, num); - CollectionsMarshal.AsSpan(list141)[0] = "liza"; - questRoot12.Author = list141; - num = 2; - List list142 = new List(num); - CollectionsMarshal.SetCount(list142, num); - Span span45 = CollectionsMarshal.AsSpan(list142); - ref QuestSequence reference103 = ref span45[0]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - CollectionsMarshal.AsSpan(list143)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj79.Steps = list143; - reference103 = obj79; - ref QuestSequence reference104 = ref span45[1]; - QuestSequence obj80 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list144 = new List(num2); - CollectionsMarshal.SetCount(list144, num2); - Span span46 = CollectionsMarshal.AsSpan(list144); - ref QuestStep reference105 = ref span46[0]; - QuestStep questStep20 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list145 = new List(num3); - CollectionsMarshal.SetCount(list145, num3); - CollectionsMarshal.AsSpan(list145)[0] = EExtendedClassJob.Miner; - questStep20.RequiredQuestAcceptedJob = list145; - num3 = 1; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - CollectionsMarshal.AsSpan(list146)[0] = new GatheredItem - { - ItemId = 48024u, - ItemCount = 3 - }; - questStep20.ItemsToGather = list146; - reference105 = questStep20; - ref QuestStep reference106 = ref span46[1]; - QuestStep questStep21 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list147 = new List(num3); - CollectionsMarshal.SetCount(list147, num3); - CollectionsMarshal.AsSpan(list147)[0] = EExtendedClassJob.Botanist; - questStep21.RequiredQuestAcceptedJob = list147; - num3 = 1; - List list148 = new List(num3); - CollectionsMarshal.SetCount(list148, num3); - CollectionsMarshal.AsSpan(list148)[0] = new GatheredItem - { - ItemId = 48025u, - ItemCount = 3 - }; - questStep21.ItemsToGather = list148; - reference106 = questStep21; - span46[2] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj80.Steps = list144; - reference104 = obj80; - questRoot12.QuestSequence = list142; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(5262); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list149 = new List(num); - CollectionsMarshal.SetCount(list149, num); - CollectionsMarshal.AsSpan(list149)[0] = "liza"; - questRoot13.Author = list149; - num = 4; - List list150 = new List(num); - CollectionsMarshal.SetCount(list150, num); - Span span47 = CollectionsMarshal.AsSpan(list150); - ref QuestSequence reference107 = ref span47[0]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - CollectionsMarshal.AsSpan(list151)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj81.Steps = list151; - reference107 = obj81; - ref QuestSequence reference108 = ref span47[1]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - Span span48 = CollectionsMarshal.AsSpan(list152); - ref QuestStep reference109 = ref span48[0]; - QuestStep obj83 = new QuestStep(EInteractionType.Interact, 2014697u, new Vector3(245.01404f, -158.3429f, 720.4851f), 1189) - { - StopDistance = 0.5f, - Fly = true - }; - num3 = 6; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - Span span49 = CollectionsMarshal.AsSpan(list153); - span49[0] = null; - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj83.CompletionQuestVariablesFlags = list153; - reference109 = obj83; - ref QuestStep reference110 = ref span48[1]; - QuestStep obj84 = new QuestStep(EInteractionType.Interact, 2014699u, new Vector3(242.14539f, -158.67859f, 668.39087f), 1189) - { - StopDistance = 0.5f, - Fly = true - }; - num3 = 6; - List list154 = new List(num3); - CollectionsMarshal.SetCount(list154, num3); - Span span50 = CollectionsMarshal.AsSpan(list154); - span50[0] = null; - span50[1] = null; - span50[2] = null; - span50[3] = null; - span50[4] = null; - span50[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj84.CompletionQuestVariablesFlags = list154; - reference110 = obj84; - ref QuestStep reference111 = ref span48[2]; - QuestStep obj85 = new QuestStep(EInteractionType.Interact, 2014698u, new Vector3(195.33069f, -158.09875f, 726.43616f), 1189) - { - StopDistance = 0.5f, - Fly = true - }; - num3 = 6; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - Span span51 = CollectionsMarshal.AsSpan(list155); - span51[0] = null; - span51[1] = null; - span51[2] = null; - span51[3] = null; - span51[4] = null; - span51[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj85.CompletionQuestVariablesFlags = list155; - reference111 = obj85; - obj82.Steps = list152; - reference108 = obj82; - ref QuestSequence reference112 = ref span47[2]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - Span span52 = CollectionsMarshal.AsSpan(list156); - span52[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(472.2853f, -150f, 758.076f), 1189) - { - StopDistance = 2f, - Fly = true - }; - span52[1] = new QuestStep(EInteractionType.Interact, 1052570u, new Vector3(470.6339f, -150f, 757.47314f), 1189) - { - StopDistance = 7f - }; - obj86.Steps = list156; - reference112 = obj86; - ref QuestSequence reference113 = ref span47[3]; - QuestSequence obj87 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj87.Steps = list157; - reference113 = obj87; - questRoot13.QuestSequence = list150; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(5263); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list158 = new List(num); - CollectionsMarshal.SetCount(list158, num); - CollectionsMarshal.AsSpan(list158)[0] = "liza"; - questRoot14.Author = list158; - num = 2; - List list159 = new List(num); - CollectionsMarshal.SetCount(list159, num); - Span span53 = CollectionsMarshal.AsSpan(list159); - ref QuestSequence reference114 = ref span53[0]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj88.Steps = list160; - reference114 = obj88; - ref QuestSequence reference115 = ref span53[1]; - QuestSequence obj89 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - Span span54 = CollectionsMarshal.AsSpan(list161); - ref QuestStep reference116 = ref span54[0]; - QuestStep questStep22 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list162 = new List(num3); - CollectionsMarshal.SetCount(list162, num3); - CollectionsMarshal.AsSpan(list162)[0] = EExtendedClassJob.Miner; - questStep22.RequiredQuestAcceptedJob = list162; - num3 = 1; - List list163 = new List(num3); - CollectionsMarshal.SetCount(list163, num3); - CollectionsMarshal.AsSpan(list163)[0] = new GatheredItem - { - ItemId = 48027u, - ItemCount = 3 - }; - questStep22.ItemsToGather = list163; - reference116 = questStep22; - ref QuestStep reference117 = ref span54[1]; - QuestStep questStep23 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - CollectionsMarshal.AsSpan(list164)[0] = EExtendedClassJob.Botanist; - questStep23.RequiredQuestAcceptedJob = list164; - num3 = 1; - List list165 = new List(num3); - CollectionsMarshal.SetCount(list165, num3); - CollectionsMarshal.AsSpan(list165)[0] = new GatheredItem - { - ItemId = 48028u, - ItemCount = 3 - }; - questStep23.ItemsToGather = list165; - reference117 = questStep23; - span54[2] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj89.Steps = list161; - reference115 = obj89; - questRoot14.QuestSequence = list159; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(5264); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list166 = new List(num); - CollectionsMarshal.SetCount(list166, num); - CollectionsMarshal.AsSpan(list166)[0] = "liza"; - questRoot15.Author = list166; - num = 3; - List list167 = new List(num); - CollectionsMarshal.SetCount(list167, num); - Span span55 = CollectionsMarshal.AsSpan(list167); - ref QuestSequence reference118 = ref span55[0]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj90.Steps = list168; - reference118 = obj90; - ref QuestSequence reference119 = ref span55[1]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - Span span56 = CollectionsMarshal.AsSpan(list169); - ref QuestStep reference120 = ref span56[0]; - QuestStep questStep24 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list170 = new List(num3); - CollectionsMarshal.SetCount(list170, num3); - CollectionsMarshal.AsSpan(list170)[0] = EExtendedClassJob.Miner; - questStep24.RequiredQuestAcceptedJob = list170; - num3 = 1; - List list171 = new List(num3); - CollectionsMarshal.SetCount(list171, num3); - CollectionsMarshal.AsSpan(list171)[0] = new GatheredItem - { - ItemId = 48030u, - ItemCount = 3 - }; - questStep24.ItemsToGather = list171; - reference120 = questStep24; - ref QuestStep reference121 = ref span56[1]; - QuestStep questStep25 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list172 = new List(num3); - CollectionsMarshal.SetCount(list172, num3); - CollectionsMarshal.AsSpan(list172)[0] = EExtendedClassJob.Botanist; - questStep25.RequiredQuestAcceptedJob = list172; - num3 = 1; - List list173 = new List(num3); - CollectionsMarshal.SetCount(list173, num3); - CollectionsMarshal.AsSpan(list173)[0] = new GatheredItem - { - ItemId = 48031u, - ItemCount = 3 - }; - questStep25.ItemsToGather = list173; - reference121 = questStep25; - span56[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(472.2853f, -150f, 758.076f), 1189) - { - StopDistance = 2f, - Fly = true - }; - span56[3] = new QuestStep(EInteractionType.Interact, 1052570u, new Vector3(470.6339f, -150f, 757.47314f), 1189) - { - StopDistance = 7f - }; - obj91.Steps = list169; - reference119 = obj91; - ref QuestSequence reference122 = ref span55[2]; - QuestSequence obj92 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj92.Steps = list174; - reference122 = obj92; - questRoot15.QuestSequence = list167; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(5265); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list175 = new List(num); - CollectionsMarshal.SetCount(list175, num); - CollectionsMarshal.AsSpan(list175)[0] = "liza"; - questRoot16.Author = list175; - num = 4; - List list176 = new List(num); - CollectionsMarshal.SetCount(list176, num); - Span span57 = CollectionsMarshal.AsSpan(list176); - ref QuestSequence reference123 = ref span57[0]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj93.Steps = list177; - reference123 = obj93; - ref QuestSequence reference124 = ref span57[1]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - Span span58 = CollectionsMarshal.AsSpan(list178); - span58[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(213.46579f, -160.31227f, 431.11423f), 1189) - { - StopDistance = 1f, - Fly = true - }; - span58[1] = new QuestStep(EInteractionType.Interact, 1048991u, new Vector3(211.10852f, -160.27475f, 432.4253f), 1189) - { - StopDistance = 7f - }; - obj94.Steps = list178; - reference124 = obj94; - ref QuestSequence reference125 = ref span57[2]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list179 = new List(num2); - CollectionsMarshal.SetCount(list179, num2); - CollectionsMarshal.AsSpan(list179)[0] = new QuestStep(EInteractionType.Interact, 2014727u, new Vector3(215.5946f, -159.96033f, 430.13647f), 1189); - obj95.Steps = list179; - reference125 = obj95; - ref QuestSequence reference126 = ref span57[3]; - QuestSequence obj96 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj96.Steps = list180; - reference126 = obj96; - questRoot16.QuestSequence = list176; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(5266); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list181 = new List(num); - CollectionsMarshal.SetCount(list181, num); - CollectionsMarshal.AsSpan(list181)[0] = "liza"; - questRoot17.Author = list181; - num = 3; - List list182 = new List(num); - CollectionsMarshal.SetCount(list182, num); - Span span59 = CollectionsMarshal.AsSpan(list182); - ref QuestSequence reference127 = ref span59[0]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - CollectionsMarshal.AsSpan(list183)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj97.Steps = list183; - reference127 = obj97; - ref QuestSequence reference128 = ref span59[1]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list184 = new List(num2); - CollectionsMarshal.SetCount(list184, num2); - Span span60 = CollectionsMarshal.AsSpan(list184); - ref QuestStep reference129 = ref span60[0]; - QuestStep questStep26 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list185 = new List(num3); - CollectionsMarshal.SetCount(list185, num3); - CollectionsMarshal.AsSpan(list185)[0] = EExtendedClassJob.Miner; - questStep26.RequiredQuestAcceptedJob = list185; - num3 = 1; - List list186 = new List(num3); - CollectionsMarshal.SetCount(list186, num3); - CollectionsMarshal.AsSpan(list186)[0] = new GatheredItem - { - ItemId = 48033u, - ItemCount = 3 - }; - questStep26.ItemsToGather = list186; - reference129 = questStep26; - ref QuestStep reference130 = ref span60[1]; - QuestStep questStep27 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list187 = new List(num3); - CollectionsMarshal.SetCount(list187, num3); - CollectionsMarshal.AsSpan(list187)[0] = EExtendedClassJob.Botanist; - questStep27.RequiredQuestAcceptedJob = list187; - num3 = 1; - List list188 = new List(num3); - CollectionsMarshal.SetCount(list188, num3); - CollectionsMarshal.AsSpan(list188)[0] = new GatheredItem - { - ItemId = 48034u, - ItemCount = 3 - }; - questStep27.ItemsToGather = list188; - reference130 = questStep27; - span60[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(472.2853f, -150f, 758.076f), 1189) - { - StopDistance = 2f, - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook - }; - span60[3] = new QuestStep(EInteractionType.Interact, 1052570u, new Vector3(470.6339f, -150f, 757.47314f), 1189) - { - StopDistance = 7f - }; - obj98.Steps = list184; - reference128 = obj98; - ref QuestSequence reference131 = ref span59[2]; - QuestSequence obj99 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - CollectionsMarshal.AsSpan(list189)[0] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj99.Steps = list189; - reference131 = obj99; - questRoot17.QuestSequence = list182; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(5267); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list190 = new List(num); - CollectionsMarshal.SetCount(list190, num); - CollectionsMarshal.AsSpan(list190)[0] = "liza"; - questRoot18.Author = list190; - num = 2; - List list191 = new List(num); - CollectionsMarshal.SetCount(list191, num); - Span span61 = CollectionsMarshal.AsSpan(list191); - ref QuestSequence reference132 = ref span61[0]; - QuestSequence obj100 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj100.Steps = list192; - reference132 = obj100; - ref QuestSequence reference133 = ref span61[1]; - QuestSequence obj101 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - Span span62 = CollectionsMarshal.AsSpan(list193); - ref QuestStep reference134 = ref span62[0]; - QuestStep questStep28 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list194 = new List(num3); - CollectionsMarshal.SetCount(list194, num3); - CollectionsMarshal.AsSpan(list194)[0] = EExtendedClassJob.Miner; - questStep28.RequiredQuestAcceptedJob = list194; - num3 = 1; - List list195 = new List(num3); - CollectionsMarshal.SetCount(list195, num3); - CollectionsMarshal.AsSpan(list195)[0] = new GatheredItem - { - ItemId = 48036u, - ItemCount = 3 - }; - questStep28.ItemsToGather = list195; - reference134 = questStep28; - ref QuestStep reference135 = ref span62[1]; - QuestStep questStep29 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list196 = new List(num3); - CollectionsMarshal.SetCount(list196, num3); - CollectionsMarshal.AsSpan(list196)[0] = EExtendedClassJob.Botanist; - questStep29.RequiredQuestAcceptedJob = list196; - num3 = 1; - List list197 = new List(num3); - CollectionsMarshal.SetCount(list197, num3); - CollectionsMarshal.AsSpan(list197)[0] = new GatheredItem - { - ItemId = 48037u, - ItemCount = 3 - }; - questStep29.ItemsToGather = list197; - reference135 = questStep29; - span62[2] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj101.Steps = list193; - reference133 = obj101; - questRoot18.QuestSequence = list191; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(5268); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list198 = new List(num); - CollectionsMarshal.SetCount(list198, num); - CollectionsMarshal.AsSpan(list198)[0] = "liza"; - questRoot19.Author = list198; - num = 2; - List list199 = new List(num); - CollectionsMarshal.SetCount(list199, num); - Span span63 = CollectionsMarshal.AsSpan(list199); - ref QuestSequence reference136 = ref span63[0]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj102.Steps = list200; - reference136 = obj102; - ref QuestSequence reference137 = ref span63[1]; - QuestSequence obj103 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - Span span64 = CollectionsMarshal.AsSpan(list201); - ref QuestStep reference138 = ref span64[0]; - QuestStep questStep30 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list202 = new List(num3); - CollectionsMarshal.SetCount(list202, num3); - CollectionsMarshal.AsSpan(list202)[0] = EExtendedClassJob.Miner; - questStep30.RequiredQuestAcceptedJob = list202; - num3 = 1; - List list203 = new List(num3); - CollectionsMarshal.SetCount(list203, num3); - CollectionsMarshal.AsSpan(list203)[0] = new GatheredItem - { - ItemId = 48039u, - ItemCount = 3 - }; - questStep30.ItemsToGather = list203; - reference138 = questStep30; - ref QuestStep reference139 = ref span64[1]; - QuestStep questStep31 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list204 = new List(num3); - CollectionsMarshal.SetCount(list204, num3); - CollectionsMarshal.AsSpan(list204)[0] = EExtendedClassJob.Botanist; - questStep31.RequiredQuestAcceptedJob = list204; - num3 = 1; - List list205 = new List(num3); - CollectionsMarshal.SetCount(list205, num3); - CollectionsMarshal.AsSpan(list205)[0] = new GatheredItem - { - ItemId = 48040u, - ItemCount = 3 - }; - questStep31.ItemsToGather = list205; - reference139 = questStep31; - span64[2] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj103.Steps = list201; - reference137 = obj103; - questRoot19.QuestSequence = list199; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(5269); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list206 = new List(num); - CollectionsMarshal.SetCount(list206, num); - CollectionsMarshal.AsSpan(list206)[0] = "liza"; - questRoot20.Author = list206; - num = 2; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - Span span65 = CollectionsMarshal.AsSpan(list207); - ref QuestSequence reference140 = ref span65[0]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj104.Steps = list208; - reference140 = obj104; - ref QuestSequence reference141 = ref span65[1]; - QuestSequence obj105 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - Span span66 = CollectionsMarshal.AsSpan(list209); - ref QuestStep reference142 = ref span66[0]; - QuestStep questStep32 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list210 = new List(num3); - CollectionsMarshal.SetCount(list210, num3); - CollectionsMarshal.AsSpan(list210)[0] = EExtendedClassJob.Miner; - questStep32.RequiredQuestAcceptedJob = list210; - num3 = 1; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - CollectionsMarshal.AsSpan(list211)[0] = new GatheredItem - { - ItemId = 48042u, - ItemCount = 3 - }; - questStep32.ItemsToGather = list211; - reference142 = questStep32; - ref QuestStep reference143 = ref span66[1]; - QuestStep questStep33 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list212 = new List(num3); - CollectionsMarshal.SetCount(list212, num3); - CollectionsMarshal.AsSpan(list212)[0] = EExtendedClassJob.Botanist; - questStep33.RequiredQuestAcceptedJob = list212; - num3 = 1; - List list213 = new List(num3); - CollectionsMarshal.SetCount(list213, num3); - CollectionsMarshal.AsSpan(list213)[0] = new GatheredItem - { - ItemId = 48043u, - ItemCount = 3 - }; - questStep33.ItemsToGather = list213; - reference143 = questStep33; - span66[2] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj105.Steps = list209; - reference141 = obj105; - questRoot20.QuestSequence = list207; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(5270); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list214 = new List(num); - CollectionsMarshal.SetCount(list214, num); - CollectionsMarshal.AsSpan(list214)[0] = "liza"; - questRoot21.Author = list214; - num = 3; - List list215 = new List(num); - CollectionsMarshal.SetCount(list215, num); - Span span67 = CollectionsMarshal.AsSpan(list215); - ref QuestSequence reference144 = ref span67[0]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - CollectionsMarshal.AsSpan(list216)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj106.Steps = list216; - reference144 = obj106; - ref QuestSequence reference145 = ref span67[1]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - Span span68 = CollectionsMarshal.AsSpan(list217); - ref QuestStep reference146 = ref span68[0]; - QuestStep obj108 = new QuestStep(EInteractionType.Interact, 1052580u, new Vector3(495.1704f, -146.73546f, 500.6637f), 1189) - { - Fly = true - }; - num3 = 6; - List list218 = new List(num3); - CollectionsMarshal.SetCount(list218, num3); - Span span69 = CollectionsMarshal.AsSpan(list218); - span69[0] = null; - span69[1] = null; - span69[2] = null; - span69[3] = null; - span69[4] = null; - span69[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj108.CompletionQuestVariablesFlags = list218; - reference146 = obj108; - ref QuestStep reference147 = ref span68[1]; - QuestStep obj109 = new QuestStep(EInteractionType.Interact, 1052579u, new Vector3(607.9651f, -137.174f, 499.71765f), 1189) - { - Fly = true - }; - num3 = 6; - List list219 = new List(num3); - CollectionsMarshal.SetCount(list219, num3); - Span span70 = CollectionsMarshal.AsSpan(list219); - span70[0] = null; - span70[1] = null; - span70[2] = null; - span70[3] = null; - span70[4] = null; - span70[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj109.CompletionQuestVariablesFlags = list219; - reference147 = obj109; - ref QuestStep reference148 = ref span68[2]; - QuestStep obj110 = new QuestStep(EInteractionType.Interact, 1052578u, new Vector3(695.09424f, -137.17401f, 543.26685f), 1189) - { - Fly = true - }; - num3 = 6; - List list220 = new List(num3); - CollectionsMarshal.SetCount(list220, num3); - Span span71 = CollectionsMarshal.AsSpan(list220); - span71[0] = null; - span71[1] = null; - span71[2] = null; - span71[3] = null; - span71[4] = null; - span71[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj110.CompletionQuestVariablesFlags = list220; - reference148 = obj110; - obj107.Steps = list217; - reference145 = obj107; - ref QuestSequence reference149 = ref span67[2]; - QuestSequence obj111 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true - }; - obj111.Steps = list221; - reference149 = obj111; - questRoot21.QuestSequence = list215; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(5271); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list222 = new List(num); - CollectionsMarshal.SetCount(list222, num); - CollectionsMarshal.AsSpan(list222)[0] = "Theo"; - questRoot22.Author = list222; - num = 2; - List list223 = new List(num); - CollectionsMarshal.SetCount(list223, num); - Span span72 = CollectionsMarshal.AsSpan(list223); - ref QuestSequence reference150 = ref span72[0]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj112.Steps = list224; - reference150 = obj112; - ref QuestSequence reference151 = ref span72[1]; - QuestSequence obj113 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - Span span73 = CollectionsMarshal.AsSpan(list225); - ref QuestStep reference152 = ref span73[0]; - QuestStep questStep34 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list226 = new List(num3); - CollectionsMarshal.SetCount(list226, num3); - CollectionsMarshal.AsSpan(list226)[0] = EExtendedClassJob.Miner; - questStep34.RequiredQuestAcceptedJob = list226; - num3 = 1; - List list227 = new List(num3); - CollectionsMarshal.SetCount(list227, num3); - CollectionsMarshal.AsSpan(list227)[0] = new GatheredItem - { - ItemId = 48045u, - ItemCount = 3 - }; - questStep34.ItemsToGather = list227; - reference152 = questStep34; - ref QuestStep reference153 = ref span73[1]; - QuestStep questStep35 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list228 = new List(num3); - CollectionsMarshal.SetCount(list228, num3); - CollectionsMarshal.AsSpan(list228)[0] = EExtendedClassJob.Botanist; - questStep35.RequiredQuestAcceptedJob = list228; - num3 = 1; - List list229 = new List(num3); - CollectionsMarshal.SetCount(list229, num3); - CollectionsMarshal.AsSpan(list229)[0] = new GatheredItem - { - ItemId = 48046u, - ItemCount = 3 - }; - questStep35.ItemsToGather = list229; - reference153 = questStep35; - span73[2] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj113.Steps = list225; - reference151 = obj113; - questRoot22.QuestSequence = list223; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(5272); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list230 = new List(num); - CollectionsMarshal.SetCount(list230, num); - CollectionsMarshal.AsSpan(list230)[0] = "Censored"; - questRoot23.Author = list230; - num = 2; - List list231 = new List(num); - CollectionsMarshal.SetCount(list231, num); - Span span74 = CollectionsMarshal.AsSpan(list231); - ref QuestSequence reference154 = ref span74[0]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052561u, new Vector3(578.14905f, -144.88388f, 721.8279f), 1189); - obj114.Steps = list232; - reference154 = obj114; - ref QuestSequence reference155 = ref span74[1]; - QuestSequence obj115 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - Span span75 = CollectionsMarshal.AsSpan(list233); - ref QuestStep reference156 = ref span75[0]; - QuestStep questStep36 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list234 = new List(num3); - CollectionsMarshal.SetCount(list234, num3); - CollectionsMarshal.AsSpan(list234)[0] = EExtendedClassJob.Miner; - questStep36.RequiredQuestAcceptedJob = list234; - num3 = 1; - List list235 = new List(num3); - CollectionsMarshal.SetCount(list235, num3); - CollectionsMarshal.AsSpan(list235)[0] = new GatheredItem - { - ItemId = 48048u, - ItemCount = 3 - }; - questStep36.ItemsToGather = list235; - reference156 = questStep36; - ref QuestStep reference157 = ref span75[1]; - QuestStep questStep37 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list236 = new List(num3); - CollectionsMarshal.SetCount(list236, num3); - CollectionsMarshal.AsSpan(list236)[0] = EExtendedClassJob.Botanist; - questStep37.RequiredQuestAcceptedJob = list236; - num3 = 1; - List list237 = new List(num3); - CollectionsMarshal.SetCount(list237, num3); - CollectionsMarshal.AsSpan(list237)[0] = new GatheredItem - { - ItemId = 48049u, - ItemCount = 3 - }; - questStep37.ItemsToGather = list237; - reference157 = questStep37; - span75[2] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj115.Steps = list233; - reference155 = obj115; - questRoot23.QuestSequence = list231; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(5273); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list238 = new List(num); - CollectionsMarshal.SetCount(list238, num); - CollectionsMarshal.AsSpan(list238)[0] = "Censored"; - questRoot24.Author = list238; - num = 4; - List list239 = new List(num); - CollectionsMarshal.SetCount(list239, num); - Span span76 = CollectionsMarshal.AsSpan(list239); - ref QuestSequence reference158 = ref span76[0]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - CollectionsMarshal.AsSpan(list240)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052561u, new Vector3(578.14905f, -144.88388f, 721.8279f), 1189); - obj116.Steps = list240; - reference158 = obj116; - ref QuestSequence reference159 = ref span76[1]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.Interact, 1052562u, new Vector3(482.59705f, -150.00002f, 786.70935f), 1189) - { - Fly = true - }; - obj117.Steps = list241; - reference159 = obj117; - ref QuestSequence reference160 = ref span76[2]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - Span span77 = CollectionsMarshal.AsSpan(list242); - ref QuestStep reference161 = ref span77[0]; - QuestStep obj119 = new QuestStep(EInteractionType.Action, 2014724u, new Vector3(232.89844f, -160.29602f, 432.5475f), 1189) - { - Fly = true, - Action = EAction.ShroudedLuminescence - }; - num3 = 6; - List list243 = new List(num3); - CollectionsMarshal.SetCount(list243, num3); - Span span78 = CollectionsMarshal.AsSpan(list243); - span78[0] = null; - span78[1] = null; - span78[2] = null; - span78[3] = null; - span78[4] = null; - span78[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj119.CompletionQuestVariablesFlags = list243; - reference161 = obj119; - ref QuestStep reference162 = ref span77[1]; - QuestStep obj120 = new QuestStep(EInteractionType.Action, 2014725u, new Vector3(238.20862f, -160.54016f, 401.3275f), 1189) - { - Action = EAction.ShroudedLuminescence - }; - num3 = 6; - List list244 = new List(num3); - CollectionsMarshal.SetCount(list244, num3); - Span span79 = CollectionsMarshal.AsSpan(list244); - span79[0] = null; - span79[1] = null; - span79[2] = null; - span79[3] = null; - span79[4] = null; - span79[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj120.CompletionQuestVariablesFlags = list244; - reference162 = obj120; - span77[2] = new QuestStep(EInteractionType.Action, 2014726u, new Vector3(205.06592f, -160.54016f, 397.5432f), 1189) - { - Action = EAction.ShroudedLuminescence - }; - obj118.Steps = list242; - reference160 = obj118; - ref QuestSequence reference163 = ref span76[3]; - QuestSequence obj121 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj121.Steps = list245; - reference163 = obj121; - questRoot24.QuestSequence = list239; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(5274); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list246 = new List(num); - CollectionsMarshal.SetCount(list246, num); - CollectionsMarshal.AsSpan(list246)[0] = "Theo"; - questRoot25.Author = list246; - num = 2; - List list247 = new List(num); - CollectionsMarshal.SetCount(list247, num); - Span span80 = CollectionsMarshal.AsSpan(list247); - ref QuestSequence reference164 = ref span80[0]; - QuestSequence obj122 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj122.Steps = list248; - reference164 = obj122; - ref QuestSequence reference165 = ref span80[1]; - QuestSequence obj123 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - Span span81 = CollectionsMarshal.AsSpan(list249); - ref QuestStep reference166 = ref span81[0]; - QuestStep questStep38 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list250 = new List(num3); - CollectionsMarshal.SetCount(list250, num3); - CollectionsMarshal.AsSpan(list250)[0] = EExtendedClassJob.Miner; - questStep38.RequiredQuestAcceptedJob = list250; - num3 = 1; - List list251 = new List(num3); - CollectionsMarshal.SetCount(list251, num3); - CollectionsMarshal.AsSpan(list251)[0] = new GatheredItem - { - ItemId = 48051u, - ItemCount = 3 - }; - questStep38.ItemsToGather = list251; - reference166 = questStep38; - ref QuestStep reference167 = ref span81[1]; - QuestStep questStep39 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list252 = new List(num3); - CollectionsMarshal.SetCount(list252, num3); - CollectionsMarshal.AsSpan(list252)[0] = EExtendedClassJob.Botanist; - questStep39.RequiredQuestAcceptedJob = list252; - num3 = 1; - List list253 = new List(num3); - CollectionsMarshal.SetCount(list253, num3); - CollectionsMarshal.AsSpan(list253)[0] = new GatheredItem - { - ItemId = 48052u, - ItemCount = 3 - }; - questStep39.ItemsToGather = list253; - reference167 = questStep39; - span81[2] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj123.Steps = list249; - reference165 = obj123; - questRoot25.QuestSequence = list247; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(5275); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list254 = new List(num); - CollectionsMarshal.SetCount(list254, num); - CollectionsMarshal.AsSpan(list254)[0] = "liza"; - questRoot26.Author = list254; - num = 3; - List list255 = new List(num); - CollectionsMarshal.SetCount(list255, num); - Span span82 = CollectionsMarshal.AsSpan(list255); - ref QuestSequence reference168 = ref span82[0]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj124.Steps = list256; - reference168 = obj124; - ref QuestSequence reference169 = ref span82[1]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list257 = new List(num2); - CollectionsMarshal.SetCount(list257, num2); - Span span83 = CollectionsMarshal.AsSpan(list257); - ref QuestStep reference170 = ref span83[0]; - QuestStep obj126 = new QuestStep(EInteractionType.Say, 1052572u, new Vector3(642.2064f, -137.17401f, 557.76294f), 1189) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANMAM115_05275_SAYTODO_000_030" - } - }; - num3 = 6; - List list258 = new List(num3); - CollectionsMarshal.SetCount(list258, num3); - Span span84 = CollectionsMarshal.AsSpan(list258); - span84[0] = null; - span84[1] = null; - span84[2] = null; - span84[3] = null; - span84[4] = null; - span84[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj126.CompletionQuestVariablesFlags = list258; - reference170 = obj126; - ref QuestStep reference171 = ref span83[1]; - QuestStep obj127 = new QuestStep(EInteractionType.Say, 1052573u, new Vector3(686.8544f, -137.174f, 513.72546f), 1189) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANMAM115_05275_SAYTODO_000_030" - } - }; - num3 = 6; - List list259 = new List(num3); - CollectionsMarshal.SetCount(list259, num3); - Span span85 = CollectionsMarshal.AsSpan(list259); - span85[0] = null; - span85[1] = null; - span85[2] = null; - span85[3] = null; - span85[4] = null; - span85[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj127.CompletionQuestVariablesFlags = list259; - reference171 = obj127; - ref QuestStep reference172 = ref span83[2]; - QuestStep obj128 = new QuestStep(EInteractionType.Say, 1052574u, new Vector3(584.4967f, -142.49187f, 484.2754f), 1189) - { - Fly = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANMAM115_05275_SAYTODO_000_030" - } - }; - num3 = 6; - List list260 = new List(num3); - CollectionsMarshal.SetCount(list260, num3); - Span span86 = CollectionsMarshal.AsSpan(list260); - span86[0] = null; - span86[1] = null; - span86[2] = null; - span86[3] = null; - span86[4] = null; - span86[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj128.CompletionQuestVariablesFlags = list260; - reference172 = obj128; - obj125.Steps = list257; - reference169 = obj125; - ref QuestSequence reference173 = ref span82[2]; - QuestSequence obj129 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true - }; - obj129.Steps = list261; - reference173 = obj129; - questRoot26.QuestSequence = list255; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(5276); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list262 = new List(num); - CollectionsMarshal.SetCount(list262, num); - CollectionsMarshal.AsSpan(list262)[0] = "Censored"; - questRoot27.Author = list262; - num = 2; - List list263 = new List(num); - CollectionsMarshal.SetCount(list263, num); - Span span87 = CollectionsMarshal.AsSpan(list263); - ref QuestSequence reference174 = ref span87[0]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052561u, new Vector3(578.14905f, -144.88388f, 721.8279f), 1189); - obj130.Steps = list264; - reference174 = obj130; - ref QuestSequence reference175 = ref span87[1]; - QuestSequence obj131 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - Span span88 = CollectionsMarshal.AsSpan(list265); - ref QuestStep reference176 = ref span88[0]; - QuestStep questStep40 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list266 = new List(num3); - CollectionsMarshal.SetCount(list266, num3); - CollectionsMarshal.AsSpan(list266)[0] = EExtendedClassJob.Miner; - questStep40.RequiredQuestAcceptedJob = list266; - num3 = 1; - List list267 = new List(num3); - CollectionsMarshal.SetCount(list267, num3); - CollectionsMarshal.AsSpan(list267)[0] = new GatheredItem - { - ItemId = 48054u, - ItemCount = 3 - }; - questStep40.ItemsToGather = list267; - reference176 = questStep40; - ref QuestStep reference177 = ref span88[1]; - QuestStep questStep41 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list268 = new List(num3); - CollectionsMarshal.SetCount(list268, num3); - CollectionsMarshal.AsSpan(list268)[0] = EExtendedClassJob.Botanist; - questStep41.RequiredQuestAcceptedJob = list268; - num3 = 1; - List list269 = new List(num3); - CollectionsMarshal.SetCount(list269, num3); - CollectionsMarshal.AsSpan(list269)[0] = new GatheredItem - { - ItemId = 48055u, - ItemCount = 3 - }; - questStep41.ItemsToGather = list269; - reference177 = questStep41; - span88[2] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj131.Steps = list265; - reference175 = obj131; - questRoot27.QuestSequence = list263; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(5277); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list270 = new List(num); - CollectionsMarshal.SetCount(list270, num); - CollectionsMarshal.AsSpan(list270)[0] = "Censored"; - questRoot28.Author = list270; - num = 2; - List list271 = new List(num); - CollectionsMarshal.SetCount(list271, num); - Span span89 = CollectionsMarshal.AsSpan(list271); - ref QuestSequence reference178 = ref span89[0]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - CollectionsMarshal.AsSpan(list272)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052561u, new Vector3(578.14905f, -144.88388f, 721.8279f), 1189); - obj132.Steps = list272; - reference178 = obj132; - ref QuestSequence reference179 = ref span89[1]; - QuestSequence obj133 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - Span span90 = CollectionsMarshal.AsSpan(list273); - ref QuestStep reference180 = ref span90[0]; - QuestStep questStep42 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list274 = new List(num3); - CollectionsMarshal.SetCount(list274, num3); - CollectionsMarshal.AsSpan(list274)[0] = EExtendedClassJob.Miner; - questStep42.RequiredQuestAcceptedJob = list274; - num3 = 1; - List list275 = new List(num3); - CollectionsMarshal.SetCount(list275, num3); - CollectionsMarshal.AsSpan(list275)[0] = new GatheredItem - { - ItemId = 48057u, - ItemCount = 3 - }; - questStep42.ItemsToGather = list275; - reference180 = questStep42; - ref QuestStep reference181 = ref span90[1]; - QuestStep questStep43 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list276 = new List(num3); - CollectionsMarshal.SetCount(list276, num3); - CollectionsMarshal.AsSpan(list276)[0] = EExtendedClassJob.Botanist; - questStep43.RequiredQuestAcceptedJob = list276; - num3 = 1; - List list277 = new List(num3); - CollectionsMarshal.SetCount(list277, num3); - CollectionsMarshal.AsSpan(list277)[0] = new GatheredItem - { - ItemId = 48058u, - ItemCount = 3 - }; - questStep43.ItemsToGather = list277; - reference181 = questStep43; - span90[2] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj133.Steps = list273; - reference179 = obj133; - questRoot28.QuestSequence = list271; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(5278); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list278 = new List(num); - CollectionsMarshal.SetCount(list278, num); - CollectionsMarshal.AsSpan(list278)[0] = "liza"; - questRoot29.Author = list278; - num = 2; - List list279 = new List(num); - CollectionsMarshal.SetCount(list279, num); - Span span91 = CollectionsMarshal.AsSpan(list279); - ref QuestSequence reference182 = ref span91[0]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - CollectionsMarshal.AsSpan(list280)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj134.Steps = list280; - reference182 = obj134; - ref QuestSequence reference183 = ref span91[1]; - QuestSequence obj135 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - Span span92 = CollectionsMarshal.AsSpan(list281); - ref QuestStep reference184 = ref span92[0]; - QuestStep questStep44 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list282 = new List(num3); - CollectionsMarshal.SetCount(list282, num3); - CollectionsMarshal.AsSpan(list282)[0] = EExtendedClassJob.Miner; - questStep44.RequiredQuestAcceptedJob = list282; - num3 = 1; - List list283 = new List(num3); - CollectionsMarshal.SetCount(list283, num3); - CollectionsMarshal.AsSpan(list283)[0] = new GatheredItem - { - ItemId = 48060u, - ItemCount = 3 - }; - questStep44.ItemsToGather = list283; - reference184 = questStep44; - ref QuestStep reference185 = ref span92[1]; - QuestStep questStep45 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list284 = new List(num3); - CollectionsMarshal.SetCount(list284, num3); - CollectionsMarshal.AsSpan(list284)[0] = EExtendedClassJob.Botanist; - questStep45.RequiredQuestAcceptedJob = list284; - num3 = 1; - List list285 = new List(num3); - CollectionsMarshal.SetCount(list285, num3); - CollectionsMarshal.AsSpan(list285)[0] = new GatheredItem - { - ItemId = 48061u, - ItemCount = 3 - }; - questStep45.ItemsToGather = list285; - reference185 = questStep45; - span92[2] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj135.Steps = list281; - reference183 = obj135; - questRoot29.QuestSequence = list279; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(5279); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list286 = new List(num); - CollectionsMarshal.SetCount(list286, num); - CollectionsMarshal.AsSpan(list286)[0] = "liza"; - questRoot30.Author = list286; - num = 2; - List list287 = new List(num); - CollectionsMarshal.SetCount(list287, num); - Span span93 = CollectionsMarshal.AsSpan(list287); - ref QuestSequence reference186 = ref span93[0]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - CollectionsMarshal.AsSpan(list288)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj136.Steps = list288; - reference186 = obj136; - ref QuestSequence reference187 = ref span93[1]; - QuestSequence obj137 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - Span span94 = CollectionsMarshal.AsSpan(list289); - ref QuestStep reference188 = ref span94[0]; - QuestStep questStep46 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list290 = new List(num3); - CollectionsMarshal.SetCount(list290, num3); - CollectionsMarshal.AsSpan(list290)[0] = EExtendedClassJob.Miner; - questStep46.RequiredQuestAcceptedJob = list290; - num3 = 1; - List list291 = new List(num3); - CollectionsMarshal.SetCount(list291, num3); - CollectionsMarshal.AsSpan(list291)[0] = new GatheredItem - { - ItemId = 48063u, - ItemCount = 3 - }; - questStep46.ItemsToGather = list291; - reference188 = questStep46; - ref QuestStep reference189 = ref span94[1]; - QuestStep questStep47 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list292 = new List(num3); - CollectionsMarshal.SetCount(list292, num3); - CollectionsMarshal.AsSpan(list292)[0] = EExtendedClassJob.Botanist; - questStep47.RequiredQuestAcceptedJob = list292; - num3 = 1; - List list293 = new List(num3); - CollectionsMarshal.SetCount(list293, num3); - CollectionsMarshal.AsSpan(list293)[0] = new GatheredItem - { - ItemId = 48064u, - ItemCount = 3 - }; - questStep47.ItemsToGather = list293; - reference189 = questStep47; - span94[2] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj137.Steps = list289; - reference187 = obj137; - questRoot30.QuestSequence = list287; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(5280); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list294 = new List(num); - CollectionsMarshal.SetCount(list294, num); - CollectionsMarshal.AsSpan(list294)[0] = "liza"; - questRoot31.Author = list294; - num = 4; - List list295 = new List(num); - CollectionsMarshal.SetCount(list295, num); - Span span95 = CollectionsMarshal.AsSpan(list295); - ref QuestSequence reference190 = ref span95[0]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - CollectionsMarshal.AsSpan(list296)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj138.Steps = list296; - reference190 = obj138; - ref QuestSequence reference191 = ref span95[1]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - Span span96 = CollectionsMarshal.AsSpan(list297); - ref QuestStep reference192 = ref span96[0]; - QuestStep questStep48 = new QuestStep(EInteractionType.Interact, 2014732u, new Vector3(542.71765f, -149.06543f, 768.6426f), 1189); - num3 = 6; - List> list298 = new List>(num3); - CollectionsMarshal.SetCount(list298, num3); - Span> span97 = CollectionsMarshal.AsSpan(list298); - span97[0] = null; - ref List reference193 = ref span97[1]; - num4 = 1; - List list299 = new List(num4); - CollectionsMarshal.SetCount(list299, num4); - CollectionsMarshal.AsSpan(list299)[0] = new QuestWorkValue(0, (byte)1, EQuestWorkMode.Bitwise); - reference193 = list299; - span97[2] = null; - span97[3] = null; - span97[4] = null; - span97[5] = null; - questStep48.RequiredQuestVariables = list298; - reference192 = questStep48; - ref QuestStep reference194 = ref span96[1]; - QuestStep questStep49 = new QuestStep(EInteractionType.Interact, 2014731u, new Vector3(540.5508f, -148.51611f, 763.6072f), 1189); - num3 = 6; - List> list300 = new List>(num3); - CollectionsMarshal.SetCount(list300, num3); - Span> span98 = CollectionsMarshal.AsSpan(list300); - span98[0] = null; - ref List reference195 = ref span98[1]; - num4 = 1; - List list301 = new List(num4); - CollectionsMarshal.SetCount(list301, num4); - CollectionsMarshal.AsSpan(list301)[0] = new QuestWorkValue(0, (byte)2, EQuestWorkMode.Bitwise); - reference195 = list301; - span98[2] = null; - span98[3] = null; - span98[4] = null; - span98[5] = null; - questStep49.RequiredQuestVariables = list300; - reference194 = questStep49; - obj139.Steps = list297; - reference191 = obj139; - ref QuestSequence reference196 = ref span95[2]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list302 = new List(num2); - CollectionsMarshal.SetCount(list302, num2); - CollectionsMarshal.AsSpan(list302)[0] = new QuestStep(EInteractionType.Interact, 1054142u, new Vector3(-415.06067f, 23.50628f, -464.4084f), 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelIqBraax - }; - obj140.Steps = list302; - reference196 = obj140; - ref QuestSequence reference197 = ref span95[3]; - QuestSequence obj141 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list303 = new List(num2); - CollectionsMarshal.SetCount(list303, num2); - CollectionsMarshal.AsSpan(list303)[0] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj141.Steps = list303; - reference197 = obj141; - questRoot31.QuestSequence = list295; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(5281); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list304 = new List(num); - CollectionsMarshal.SetCount(list304, num); - CollectionsMarshal.AsSpan(list304)[0] = "liza"; - questRoot32.Author = list304; - num = 2; - List list305 = new List(num); - CollectionsMarshal.SetCount(list305, num); - Span span99 = CollectionsMarshal.AsSpan(list305); - ref QuestSequence reference198 = ref span99[0]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - CollectionsMarshal.AsSpan(list306)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj142.Steps = list306; - reference198 = obj142; - ref QuestSequence reference199 = ref span99[1]; - QuestSequence obj143 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list307 = new List(num2); - CollectionsMarshal.SetCount(list307, num2); - Span span100 = CollectionsMarshal.AsSpan(list307); - ref QuestStep reference200 = ref span100[0]; - QuestStep questStep50 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list308 = new List(num3); - CollectionsMarshal.SetCount(list308, num3); - CollectionsMarshal.AsSpan(list308)[0] = EExtendedClassJob.Miner; - questStep50.RequiredQuestAcceptedJob = list308; - num3 = 1; - List list309 = new List(num3); - CollectionsMarshal.SetCount(list309, num3); - CollectionsMarshal.AsSpan(list309)[0] = new GatheredItem - { - ItemId = 48066u, - ItemCount = 3 - }; - questStep50.ItemsToGather = list309; - reference200 = questStep50; - ref QuestStep reference201 = ref span100[1]; - QuestStep questStep51 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list310 = new List(num3); - CollectionsMarshal.SetCount(list310, num3); - CollectionsMarshal.AsSpan(list310)[0] = EExtendedClassJob.Botanist; - questStep51.RequiredQuestAcceptedJob = list310; - num3 = 1; - List list311 = new List(num3); - CollectionsMarshal.SetCount(list311, num3); - CollectionsMarshal.AsSpan(list311)[0] = new GatheredItem - { - ItemId = 48067u, - ItemCount = 3 - }; - questStep51.ItemsToGather = list311; - reference201 = questStep51; - span100[2] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj143.Steps = list307; - reference199 = obj143; - questRoot32.QuestSequence = list305; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(5282); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list312 = new List(num); - CollectionsMarshal.SetCount(list312, num); - CollectionsMarshal.AsSpan(list312)[0] = "liza"; - questRoot33.Author = list312; - num = 4; - List list313 = new List(num); - CollectionsMarshal.SetCount(list313, num); - Span span101 = CollectionsMarshal.AsSpan(list313); - ref QuestSequence reference202 = ref span101[0]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - CollectionsMarshal.AsSpan(list314)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj144.Steps = list314; - reference202 = obj144; - ref QuestSequence reference203 = ref span101[1]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - CollectionsMarshal.AsSpan(list315)[0] = new QuestStep(EInteractionType.Interact, 1052562u, new Vector3(482.59705f, -150.00002f, 786.70935f), 1189) - { - Fly = true - }; - obj145.Steps = list315; - reference203 = obj145; - ref QuestSequence reference204 = ref span101[2]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - Span span102 = CollectionsMarshal.AsSpan(list316); - ref QuestStep reference205 = ref span102[0]; - QuestStep obj147 = new QuestStep(EInteractionType.Action, 2014730u, new Vector3(370.29065f, -156.69495f, 707.9728f), 1189) - { - Fly = true, - Action = EAction.ShroudedLuminescence - }; - num3 = 6; - List list317 = new List(num3); - CollectionsMarshal.SetCount(list317, num3); - Span span103 = CollectionsMarshal.AsSpan(list317); - span103[0] = null; - span103[1] = null; - span103[2] = null; - span103[3] = null; - span103[4] = null; - span103[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj147.CompletionQuestVariablesFlags = list317; - reference205 = obj147; - ref QuestStep reference206 = ref span102[1]; - QuestStep obj148 = new QuestStep(EInteractionType.Action, 2014728u, new Vector3(377.4319f, -150.53027f, 803.952f), 1189) - { - Fly = true, - Action = EAction.ShroudedLuminescence - }; - num3 = 6; - List list318 = new List(num3); - CollectionsMarshal.SetCount(list318, num3); - Span span104 = CollectionsMarshal.AsSpan(list318); - span104[0] = null; - span104[1] = null; - span104[2] = null; - span104[3] = null; - span104[4] = null; - span104[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj148.CompletionQuestVariablesFlags = list318; - reference206 = obj148; - ref QuestStep reference207 = ref span102[2]; - QuestStep obj149 = new QuestStep(EInteractionType.Action, 2014729u, new Vector3(283.4668f, -151.26276f, 796.8108f), 1189) - { - Fly = true, - Action = EAction.ShroudedLuminescence - }; - num3 = 6; - List list319 = new List(num3); - CollectionsMarshal.SetCount(list319, num3); - Span span105 = CollectionsMarshal.AsSpan(list319); - span105[0] = null; - span105[1] = null; - span105[2] = null; - span105[3] = null; - span105[4] = null; - span105[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj149.CompletionQuestVariablesFlags = list319; - reference207 = obj149; - obj146.Steps = list316; - reference204 = obj146; - ref QuestSequence reference208 = ref span101[3]; - QuestSequence obj150 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list320 = new List(num2); - CollectionsMarshal.SetCount(list320, num2); - CollectionsMarshal.AsSpan(list320)[0] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj150.Steps = list320; - reference208 = obj150; - questRoot33.QuestSequence = list313; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(5283); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list321 = new List(num); - CollectionsMarshal.SetCount(list321, num); - CollectionsMarshal.AsSpan(list321)[0] = "liza"; - questRoot34.Author = list321; - num = 2; - List list322 = new List(num); - CollectionsMarshal.SetCount(list322, num); - Span span106 = CollectionsMarshal.AsSpan(list322); - ref QuestSequence reference209 = ref span106[0]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list323 = new List(num2); - CollectionsMarshal.SetCount(list323, num2); - CollectionsMarshal.AsSpan(list323)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj151.Steps = list323; - reference209 = obj151; - ref QuestSequence reference210 = ref span106[1]; - QuestSequence obj152 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list324 = new List(num2); - CollectionsMarshal.SetCount(list324, num2); - Span span107 = CollectionsMarshal.AsSpan(list324); - ref QuestStep reference211 = ref span107[0]; - QuestStep questStep52 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list325 = new List(num3); - CollectionsMarshal.SetCount(list325, num3); - CollectionsMarshal.AsSpan(list325)[0] = EExtendedClassJob.Miner; - questStep52.RequiredQuestAcceptedJob = list325; - num3 = 1; - List list326 = new List(num3); - CollectionsMarshal.SetCount(list326, num3); - CollectionsMarshal.AsSpan(list326)[0] = new GatheredItem - { - ItemId = 48069u, - ItemCount = 3 - }; - questStep52.ItemsToGather = list326; - reference211 = questStep52; - ref QuestStep reference212 = ref span107[1]; - QuestStep questStep53 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list327 = new List(num3); - CollectionsMarshal.SetCount(list327, num3); - CollectionsMarshal.AsSpan(list327)[0] = EExtendedClassJob.Botanist; - questStep53.RequiredQuestAcceptedJob = list327; - num3 = 1; - List list328 = new List(num3); - CollectionsMarshal.SetCount(list328, num3); - CollectionsMarshal.AsSpan(list328)[0] = new GatheredItem - { - ItemId = 48070u, - ItemCount = 3 - }; - questStep53.ItemsToGather = list328; - reference212 = questStep53; - span107[2] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj152.Steps = list324; - reference210 = obj152; - questRoot34.QuestSequence = list322; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(5284); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list329 = new List(num); - CollectionsMarshal.SetCount(list329, num); - CollectionsMarshal.AsSpan(list329)[0] = "liza"; - questRoot35.Author = list329; - num = 2; - List list330 = new List(num); - CollectionsMarshal.SetCount(list330, num); - Span span108 = CollectionsMarshal.AsSpan(list330); - ref QuestSequence reference213 = ref span108[0]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list331 = new List(num2); - CollectionsMarshal.SetCount(list331, num2); - CollectionsMarshal.AsSpan(list331)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj153.Steps = list331; - reference213 = obj153; - ref QuestSequence reference214 = ref span108[1]; - QuestSequence obj154 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list332 = new List(num2); - CollectionsMarshal.SetCount(list332, num2); - Span span109 = CollectionsMarshal.AsSpan(list332); - ref QuestStep reference215 = ref span109[0]; - QuestStep questStep54 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list333 = new List(num3); - CollectionsMarshal.SetCount(list333, num3); - CollectionsMarshal.AsSpan(list333)[0] = EExtendedClassJob.Miner; - questStep54.RequiredQuestAcceptedJob = list333; - num3 = 1; - List list334 = new List(num3); - CollectionsMarshal.SetCount(list334, num3); - CollectionsMarshal.AsSpan(list334)[0] = new GatheredItem - { - ItemId = 48072u, - ItemCount = 3 - }; - questStep54.ItemsToGather = list334; - reference215 = questStep54; - ref QuestStep reference216 = ref span109[1]; - QuestStep questStep55 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list335 = new List(num3); - CollectionsMarshal.SetCount(list335, num3); - CollectionsMarshal.AsSpan(list335)[0] = EExtendedClassJob.Botanist; - questStep55.RequiredQuestAcceptedJob = list335; - num3 = 1; - List list336 = new List(num3); - CollectionsMarshal.SetCount(list336, num3); - CollectionsMarshal.AsSpan(list336)[0] = new GatheredItem - { - ItemId = 48073u, - ItemCount = 3 - }; - questStep55.ItemsToGather = list336; - reference216 = questStep55; - span109[2] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj154.Steps = list332; - reference214 = obj154; - questRoot35.QuestSequence = list330; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(5285); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list337 = new List(num); - CollectionsMarshal.SetCount(list337, num); - CollectionsMarshal.AsSpan(list337)[0] = "Theo"; - questRoot36.Author = list337; - num = 3; - List list338 = new List(num); - CollectionsMarshal.SetCount(list338, num); - Span span110 = CollectionsMarshal.AsSpan(list338); - ref QuestSequence reference217 = ref span110[0]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list339 = new List(num2); - CollectionsMarshal.SetCount(list339, num2); - CollectionsMarshal.AsSpan(list339)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj155.Steps = list339; - reference217 = obj155; - ref QuestSequence reference218 = ref span110[1]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list340 = new List(num2); - CollectionsMarshal.SetCount(list340, num2); - ref QuestStep reference219 = ref CollectionsMarshal.AsSpan(list340)[0]; - QuestStep obj157 = new QuestStep(EInteractionType.Interact, 1052577u, new Vector3(613.39734f, 16.222143f, 1.7547607f), 1189) - { - Fly = true - }; - num3 = 6; - List> list341 = new List>(num3); - CollectionsMarshal.SetCount(list341, num3); - Span> span111 = CollectionsMarshal.AsSpan(list341); - span111[0] = null; - ref List reference220 = ref span111[1]; - num4 = 1; - List list342 = new List(num4); - CollectionsMarshal.SetCount(list342, num4); - CollectionsMarshal.AsSpan(list342)[0] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - reference220 = list342; - span111[2] = null; - span111[3] = null; - span111[4] = null; - span111[5] = null; - obj157.RequiredQuestVariables = list341; - reference219 = obj157; - obj156.Steps = list340; - reference218 = obj156; - ref QuestSequence reference221 = ref span110[2]; - QuestSequence obj158 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list343 = new List(num2); - CollectionsMarshal.SetCount(list343, num2); - CollectionsMarshal.AsSpan(list343)[0] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true - }; - obj158.Steps = list343; - reference221 = obj158; - questRoot36.QuestSequence = list338; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(5286); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list344 = new List(num); - CollectionsMarshal.SetCount(list344, num); - CollectionsMarshal.AsSpan(list344)[0] = "liza"; - questRoot37.Author = list344; - num = 2; - List list345 = new List(num); - CollectionsMarshal.SetCount(list345, num); - Span span112 = CollectionsMarshal.AsSpan(list345); - ref QuestSequence reference222 = ref span112[0]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list346 = new List(num2); - CollectionsMarshal.SetCount(list346, num2); - CollectionsMarshal.AsSpan(list346)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj159.Steps = list346; - reference222 = obj159; - ref QuestSequence reference223 = ref span112[1]; - QuestSequence obj160 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list347 = new List(num2); - CollectionsMarshal.SetCount(list347, num2); - Span span113 = CollectionsMarshal.AsSpan(list347); - ref QuestStep reference224 = ref span113[0]; - QuestStep questStep56 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list348 = new List(num3); - CollectionsMarshal.SetCount(list348, num3); - CollectionsMarshal.AsSpan(list348)[0] = EExtendedClassJob.Miner; - questStep56.RequiredQuestAcceptedJob = list348; - num3 = 1; - List list349 = new List(num3); - CollectionsMarshal.SetCount(list349, num3); - CollectionsMarshal.AsSpan(list349)[0] = new GatheredItem - { - ItemId = 48075u, - ItemCount = 3 - }; - questStep56.ItemsToGather = list349; - reference224 = questStep56; - ref QuestStep reference225 = ref span113[1]; - QuestStep questStep57 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list350 = new List(num3); - CollectionsMarshal.SetCount(list350, num3); - CollectionsMarshal.AsSpan(list350)[0] = EExtendedClassJob.Botanist; - questStep57.RequiredQuestAcceptedJob = list350; - num3 = 1; - List list351 = new List(num3); - CollectionsMarshal.SetCount(list351, num3); - CollectionsMarshal.AsSpan(list351)[0] = new GatheredItem - { - ItemId = 48076u, - ItemCount = 3 - }; - questStep57.ItemsToGather = list351; - reference225 = questStep57; - span113[2] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj160.Steps = list347; - reference223 = obj160; - questRoot37.QuestSequence = list345; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(5287); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list352 = new List(num); - CollectionsMarshal.SetCount(list352, num); - CollectionsMarshal.AsSpan(list352)[0] = "liza"; - questRoot38.Author = list352; - num = 3; - List list353 = new List(num); - CollectionsMarshal.SetCount(list353, num); - Span span114 = CollectionsMarshal.AsSpan(list353); - ref QuestSequence reference226 = ref span114[0]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list354 = new List(num2); - CollectionsMarshal.SetCount(list354, num2); - CollectionsMarshal.AsSpan(list354)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj161.Steps = list354; - reference226 = obj161; - ref QuestSequence reference227 = ref span114[1]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list355 = new List(num2); - CollectionsMarshal.SetCount(list355, num2); - Span span115 = CollectionsMarshal.AsSpan(list355); - ref QuestStep reference228 = ref span115[0]; - QuestStep obj163 = new QuestStep(EInteractionType.Interact, 1054144u, new Vector3(527.6721f, -135.12724f, 585.687f), 1189) - { - Fly = true - }; - num3 = 6; - List> list356 = new List>(num3); - CollectionsMarshal.SetCount(list356, num3); - Span> span116 = CollectionsMarshal.AsSpan(list356); - span116[0] = null; - span116[1] = null; - ref List reference229 = ref span116[2]; - num4 = 1; - List list357 = new List(num4); - CollectionsMarshal.SetCount(list357, num4); - CollectionsMarshal.AsSpan(list357)[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - reference229 = list357; - span116[3] = null; - span116[4] = null; - span116[5] = null; - obj163.RequiredQuestVariables = list356; - reference228 = obj163; - ref QuestStep reference230 = ref span115[1]; - QuestStep obj164 = new QuestStep(EInteractionType.Interact, 1054145u, new Vector3(627.77136f, -135.12726f, 545.18945f), 1189) - { - Fly = true - }; - num3 = 6; - List> list358 = new List>(num3); - CollectionsMarshal.SetCount(list358, num3); - Span> span117 = CollectionsMarshal.AsSpan(list358); - span117[0] = null; - span117[1] = null; - ref List reference231 = ref span117[2]; - num4 = 1; - List list359 = new List(num4); - CollectionsMarshal.SetCount(list359, num4); - CollectionsMarshal.AsSpan(list359)[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - reference231 = list359; - span117[3] = null; - span117[4] = null; - span117[5] = null; - obj164.RequiredQuestVariables = list358; - reference230 = obj164; - ref QuestStep reference232 = ref span115[2]; - QuestStep obj165 = new QuestStep(EInteractionType.Interact, 1054143u, new Vector3(668.4214f, -135.17874f, 581.96375f), 1189) - { - Fly = true - }; - num3 = 6; - List> list360 = new List>(num3); - CollectionsMarshal.SetCount(list360, num3); - Span> span118 = CollectionsMarshal.AsSpan(list360); - span118[0] = null; - span118[1] = null; - ref List reference233 = ref span118[2]; - num4 = 1; - List list361 = new List(num4); - CollectionsMarshal.SetCount(list361, num4); - CollectionsMarshal.AsSpan(list361)[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference233 = list361; - span118[3] = null; - span118[4] = null; - span118[5] = null; - obj165.RequiredQuestVariables = list360; - reference232 = obj165; - obj162.Steps = list355; - reference227 = obj162; - ref QuestSequence reference234 = ref span114[2]; - QuestSequence obj166 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list362 = new List(num2); - CollectionsMarshal.SetCount(list362, num2); - CollectionsMarshal.AsSpan(list362)[0] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj166.Steps = list362; - reference234 = obj166; - questRoot38.QuestSequence = list353; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(5288); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list363 = new List(num); - CollectionsMarshal.SetCount(list363, num); - CollectionsMarshal.AsSpan(list363)[0] = "liza"; - questRoot39.Author = list363; - num = 2; - List list364 = new List(num); - CollectionsMarshal.SetCount(list364, num); - Span span119 = CollectionsMarshal.AsSpan(list364); - ref QuestSequence reference235 = ref span119[0]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list365 = new List(num2); - CollectionsMarshal.SetCount(list365, num2); - CollectionsMarshal.AsSpan(list365)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189); - obj167.Steps = list365; - reference235 = obj167; - ref QuestSequence reference236 = ref span119[1]; - QuestSequence obj168 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list366 = new List(num2); - CollectionsMarshal.SetCount(list366, num2); - Span span120 = CollectionsMarshal.AsSpan(list366); - ref QuestStep reference237 = ref span120[0]; - QuestStep questStep58 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list367 = new List(num3); - CollectionsMarshal.SetCount(list367, num3); - CollectionsMarshal.AsSpan(list367)[0] = EExtendedClassJob.Miner; - questStep58.RequiredQuestAcceptedJob = list367; - num3 = 1; - List list368 = new List(num3); - CollectionsMarshal.SetCount(list368, num3); - CollectionsMarshal.AsSpan(list368)[0] = new GatheredItem - { - ItemId = 48081u, - ItemCount = 3 - }; - questStep58.ItemsToGather = list368; - reference237 = questStep58; - ref QuestStep reference238 = ref span120[1]; - QuestStep questStep59 = new QuestStep(EInteractionType.Gather, null, null, 1189); - num3 = 1; - List list369 = new List(num3); - CollectionsMarshal.SetCount(list369, num3); - CollectionsMarshal.AsSpan(list369)[0] = EExtendedClassJob.Botanist; - questStep59.RequiredQuestAcceptedJob = list369; - num3 = 1; - List list370 = new List(num3); - CollectionsMarshal.SetCount(list370, num3); - CollectionsMarshal.AsSpan(list370)[0] = new GatheredItem - { - ItemId = 48082u, - ItemCount = 3 - }; - questStep59.ItemsToGather = list370; - reference238 = questStep59; - span120[2] = new QuestStep(EInteractionType.CompleteQuest, 1052560u, new Vector3(589.3186f, -142.89168f, 729.4575f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(589.3186f, -142.89168f, 729.4575f), - MaximumDistance = 200f, - TerritoryId = 1189 - } - } - } - }; - obj168.Steps = list366; - reference236 = obj168; - questRoot39.QuestSequence = list364; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(5289); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list371 = new List(num); - CollectionsMarshal.SetCount(list371, num); - CollectionsMarshal.AsSpan(list371)[0] = "liza"; - questRoot40.Author = list371; - num = 7; - List list372 = new List(num); - CollectionsMarshal.SetCount(list372, num); - Span span121 = CollectionsMarshal.AsSpan(list372); - ref QuestSequence reference239 = ref span121[0]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list373 = new List(num2); - CollectionsMarshal.SetCount(list373, num2); - CollectionsMarshal.AsSpan(list373)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050471u, new Vector3(494.7433f, 59.55f, 125.10864f), 1186) - { - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineTrueVue - } - }; - obj169.Steps = list373; - reference239 = obj169; - ref QuestSequence reference240 = ref span121[1]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list374 = new List(num2); - CollectionsMarshal.SetCount(list374, num2); - Span span122 = CollectionsMarshal.AsSpan(list374); - ref QuestStep reference241 = ref span122[0]; - QuestStep obj171 = new QuestStep(EInteractionType.Interact, 2013724u, new Vector3(498.34436f, 60.593506f, 129.13708f), 1186) - { - TargetTerritoryId = (ushort)1223 - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list375 = new List(num3); - CollectionsMarshal.SetCount(list375, num3); - CollectionsMarshal.AsSpan(list375)[0] = 1223; - skipStepConditions2.InTerritory = list375; - skipConditions4.StepIf = skipStepConditions2; - obj171.SkipConditions = skipConditions4; - reference241 = obj171; - span122[1] = new QuestStep(EInteractionType.Interact, 1053740u, new Vector3(4.8675537f, 0f, -6.5462036f), 1223); - obj170.Steps = list374; - reference240 = obj170; - ref QuestSequence reference242 = ref span121[2]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list376 = new List(num2); - CollectionsMarshal.SetCount(list376, num2); - CollectionsMarshal.AsSpan(list376)[0] = new QuestStep(EInteractionType.Interact, 2014718u, new Vector3(3.0975342f, -0.015319824f, -6.3325195f), 1223) - { - StopDistance = 4.5f - }; - obj172.Steps = list376; - reference242 = obj172; - ref QuestSequence reference243 = ref span121[3]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list377 = new List(num2); - CollectionsMarshal.SetCount(list377, num2); - Span span123 = CollectionsMarshal.AsSpan(list377); - span123[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-368.6605f, 14.000002f, 137.47444f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineTrueVue, - To = EAetheryteLocation.SolutionNineResidentialSector - } - }; - span123[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-259.1231f, 2.2290611f, 206.59184f), 1186) - { - DisableNavmesh = true - }; - span123[2] = new QuestStep(EInteractionType.Interact, 1053743u, new Vector3(-231.61676f, 2.1997917f, 302.60156f), 1186); - obj173.Steps = list377; - reference243 = obj173; - ref QuestSequence reference244 = ref span121[4]; - QuestSequence obj174 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list378 = new List(num2); - CollectionsMarshal.SetCount(list378, num2); - Span span124 = CollectionsMarshal.AsSpan(list378); - span124[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-245.43587f, 2.19987f, 265.6901f), 1186); - ref QuestStep reference245 = ref span124[1]; - QuestStep obj175 = new QuestStep(EInteractionType.Interact, 2013724u, new Vector3(498.34436f, 60.593506f, 129.13708f), 1186) - { - TargetTerritoryId = (ushort)1223, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineResidentialSector, - To = EAetheryteLocation.SolutionNineTrueVue - } - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list379 = new List(num3); - CollectionsMarshal.SetCount(list379, num3); - CollectionsMarshal.AsSpan(list379)[0] = 1223; - skipStepConditions3.InTerritory = list379; - skipConditions5.StepIf = skipStepConditions3; - obj175.SkipConditions = skipConditions5; - reference245 = obj175; - span124[2] = new QuestStep(EInteractionType.Interact, 1053740u, new Vector3(4.8675537f, 0f, -6.5462036f), 1223); - obj174.Steps = list378; - reference244 = obj174; - ref QuestSequence reference246 = ref span121[5]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list380 = new List(num2); - CollectionsMarshal.SetCount(list380, num2); - Span span125 = CollectionsMarshal.AsSpan(list380); - ref QuestStep reference247 = ref span125[0]; - QuestStep obj177 = new QuestStep(EInteractionType.Interact, 2013725u, new Vector3(4.0740967f, 0.8086548f, 10.574402f), 1223) - { - TargetTerritoryId = (ushort)1186 - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 1; - List list381 = new List(num3); - CollectionsMarshal.SetCount(list381, num3); - CollectionsMarshal.AsSpan(list381)[0] = 1223; - skipStepConditions4.NotInTerritory = list381; - skipConditions6.StepIf = skipStepConditions4; - obj177.SkipConditions = skipConditions6; - reference247 = obj177; - ref QuestStep reference248 = ref span125[1]; - QuestStep obj178 = new QuestStep(EInteractionType.Interact, 1049787u, new Vector3(364.3396f, 60.125f, 357.1068f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineTrueVue, - To = EAetheryteLocation.SolutionNineTheArcadion - } - }; - num3 = 1; - List list382 = new List(num3); - CollectionsMarshal.SetCount(list382, num3); - CollectionsMarshal.AsSpan(list382)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGRA201_05289_SYSTEM_100_171") - }; - obj178.DialogueChoices = list382; - reference248 = obj178; - obj176.Steps = list380; - reference246 = obj176; - ref QuestSequence reference249 = ref span121[6]; - QuestSequence obj179 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list383 = new List(num2); - CollectionsMarshal.SetCount(list383, num2); - CollectionsMarshal.AsSpan(list383)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053745u, new Vector3(1.6326294f, -2.9191749E-12f, -12.466675f), 1224) - { - StopDistance = 5f, - NextQuestId = new QuestId(5290) - }; - obj179.Steps = list383; - reference249 = obj179; - questRoot40.QuestSequence = list372; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(5290); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list384 = new List(num); - CollectionsMarshal.SetCount(list384, num); - CollectionsMarshal.AsSpan(list384)[0] = "liza"; - questRoot41.Author = list384; - num = 3; - List list385 = new List(num); - CollectionsMarshal.SetCount(list385, num); - Span span126 = CollectionsMarshal.AsSpan(list385); - ref QuestSequence reference250 = ref span126[0]; - QuestSequence obj180 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list386 = new List(num2); - CollectionsMarshal.SetCount(list386, num2); - CollectionsMarshal.AsSpan(list386)[0] = new QuestStep(EInteractionType.AcceptQuest, 1053745u, new Vector3(1.6326294f, -2.9191749E-12f, -12.466675f), 1224) - { - StopDistance = 5f - }; - obj180.Steps = list386; - reference250 = obj180; - ref QuestSequence reference251 = ref span126[1]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list387 = new List(num2); - CollectionsMarshal.SetCount(list387, num2); - CollectionsMarshal.AsSpan(list387)[0] = new QuestStep(EInteractionType.Duty, null, null, 1224) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 1019u - } - }; - obj181.Steps = list387; - reference251 = obj181; - ref QuestSequence reference252 = ref span126[2]; - QuestSequence obj182 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list388 = new List(num2); - CollectionsMarshal.SetCount(list388, num2); - CollectionsMarshal.AsSpan(list388)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053792u, new Vector3(1.9683228f, -2.3974921E-12f, -11.12384f), 1224) - { - StopDistance = 5f, - NextQuestId = new QuestId(5291) - }; - obj182.Steps = list388; - reference252 = obj182; - questRoot41.QuestSequence = list385; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(5291); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list389 = new List(num); - CollectionsMarshal.SetCount(list389, num); - CollectionsMarshal.AsSpan(list389)[0] = "liza"; - questRoot42.Author = list389; - num = 3; - List list390 = new List(num); - CollectionsMarshal.SetCount(list390, num); - Span span127 = CollectionsMarshal.AsSpan(list390); - ref QuestSequence reference253 = ref span127[0]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list391 = new List(num2); - CollectionsMarshal.SetCount(list391, num2); - CollectionsMarshal.AsSpan(list391)[0] = new QuestStep(EInteractionType.AcceptQuest, 1053792u, new Vector3(1.9683228f, -2.3974921E-12f, -11.12384f), 1224) - { - StopDistance = 5f - }; - obj183.Steps = list391; - reference253 = obj183; - ref QuestSequence reference254 = ref span127[1]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list392 = new List(num2); - CollectionsMarshal.SetCount(list392, num2); - CollectionsMarshal.AsSpan(list392)[0] = new QuestStep(EInteractionType.Duty, null, null, 1224) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 1021u - } - }; - obj184.Steps = list392; - reference254 = obj184; - ref QuestSequence reference255 = ref span127[2]; - QuestSequence obj185 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list393 = new List(num2); - CollectionsMarshal.SetCount(list393, num2); - CollectionsMarshal.AsSpan(list393)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053792u, new Vector3(1.9683228f, -2.3974921E-12f, -11.12384f), 1224) - { - StopDistance = 5f, - NextQuestId = new QuestId(5292) - }; - obj185.Steps = list393; - reference255 = obj185; - questRoot42.QuestSequence = list390; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(5292); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list394 = new List(num); - CollectionsMarshal.SetCount(list394, num); - CollectionsMarshal.AsSpan(list394)[0] = "liza"; - questRoot43.Author = list394; - num = 7; - List list395 = new List(num); - CollectionsMarshal.SetCount(list395, num); - Span span128 = CollectionsMarshal.AsSpan(list395); - ref QuestSequence reference256 = ref span128[0]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list396 = new List(num2); - CollectionsMarshal.SetCount(list396, num2); - CollectionsMarshal.AsSpan(list396)[0] = new QuestStep(EInteractionType.AcceptQuest, 1053792u, new Vector3(1.9683228f, -2.3974921E-12f, -11.12384f), 1224) - { - StopDistance = 5f - }; - obj186.Steps = list396; - reference256 = obj186; - ref QuestSequence reference257 = ref span128[1]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list397 = new List(num2); - CollectionsMarshal.SetCount(list397, num2); - Span span129 = CollectionsMarshal.AsSpan(list397); - ref QuestStep reference258 = ref span129[0]; - QuestStep obj188 = new QuestStep(EInteractionType.Interact, 2013722u, new Vector3(-0.07635498f, 1.0527954f, 8.102478f), 1224) - { - TargetTerritoryId = (ushort)1186 - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 1; - List list398 = new List(num3); - CollectionsMarshal.SetCount(list398, num3); - CollectionsMarshal.AsSpan(list398)[0] = 1224; - skipStepConditions5.NotInTerritory = list398; - skipConditions7.StepIf = skipStepConditions5; - obj188.SkipConditions = skipConditions7; - reference258 = obj188; - span129[1] = new QuestStep(EInteractionType.Interact, 1049790u, new Vector3(494.7433f, 59.55f, 125.10864f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineTheArcadion, - To = EAetheryteLocation.SolutionNineTrueVue - } - }; - obj187.Steps = list397; - reference257 = obj187; - ref QuestSequence reference259 = ref span128[2]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list399 = new List(num2); - CollectionsMarshal.SetCount(list399, num2); - ref QuestStep reference260 = ref CollectionsMarshal.AsSpan(list399)[0]; - QuestStep obj190 = new QuestStep(EInteractionType.Interact, 1053748u, new Vector3(392.44666f, 61.38526f, 325.82593f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineTrueVue, - To = EAetheryteLocation.SolutionNineTheArcadion - } - }; - num3 = 1; - List list400 = new List(num3); - CollectionsMarshal.SetCount(list400, num3); - CollectionsMarshal.AsSpan(list400)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGRA204_05292_SYSTEM_100_141") - }; - obj190.DialogueChoices = list400; - reference260 = obj190; - obj189.Steps = list399; - reference259 = obj189; - span128[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference261 = ref span128[4]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list401 = new List(num2); - CollectionsMarshal.SetCount(list401, num2); - CollectionsMarshal.AsSpan(list401)[0] = new QuestStep(EInteractionType.Duty, null, null, 1224) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 1023u - } - }; - obj191.Steps = list401; - reference261 = obj191; - span128[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference262 = ref span128[6]; - QuestSequence obj192 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list402 = new List(num2); - CollectionsMarshal.SetCount(list402, num2); - CollectionsMarshal.AsSpan(list402)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053740u, new Vector3(4.8675537f, 0f, -6.5462036f), 1223) - { - NextQuestId = new QuestId(5293) - }; - obj192.Steps = list402; - reference262 = obj192; - questRoot43.QuestSequence = list395; - AddQuest(questId43, questRoot43); - QuestId questId44 = new QuestId(5293); - QuestRoot questRoot44 = new QuestRoot(); - num = 1; - List list403 = new List(num); - CollectionsMarshal.SetCount(list403, num); - CollectionsMarshal.AsSpan(list403)[0] = "liza"; - questRoot44.Author = list403; - num = 5; - List list404 = new List(num); - CollectionsMarshal.SetCount(list404, num); - Span span130 = CollectionsMarshal.AsSpan(list404); - ref QuestSequence reference263 = ref span130[0]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list405 = new List(num2); - CollectionsMarshal.SetCount(list405, num2); - CollectionsMarshal.AsSpan(list405)[0] = new QuestStep(EInteractionType.AcceptQuest, 1053740u, new Vector3(4.8675537f, 0f, -6.5462036f), 1223); - obj193.Steps = list405; - reference263 = obj193; - ref QuestSequence reference264 = ref span130[1]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list406 = new List(num2); - CollectionsMarshal.SetCount(list406, num2); - CollectionsMarshal.AsSpan(list406)[0] = new QuestStep(EInteractionType.Interact, 1053750u, new Vector3(357.96143f, 89.921364f, -149.49268f), 1191) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.HeritageFoundYyasulaniStation - }; - obj194.Steps = list406; - reference264 = obj194; - ref QuestSequence reference265 = ref span130[2]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list407 = new List(num2); - CollectionsMarshal.SetCount(list407, num2); - CollectionsMarshal.AsSpan(list407)[0] = new QuestStep(EInteractionType.Interact, 1053740u, new Vector3(4.8675537f, 0f, -6.5462036f), 1223); - obj195.Steps = list407; - reference265 = obj195; - ref QuestSequence reference266 = ref span130[3]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list408 = new List(num2); - CollectionsMarshal.SetCount(list408, num2); - Span span131 = CollectionsMarshal.AsSpan(list408); - ref QuestStep reference267 = ref span131[0]; - QuestStep obj197 = new QuestStep(EInteractionType.Interact, 2013725u, new Vector3(4.0740967f, 0.8086548f, 10.574402f), 1223) - { - TargetTerritoryId = (ushort)1186 - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 1; - List list409 = new List(num3); - CollectionsMarshal.SetCount(list409, num3); - CollectionsMarshal.AsSpan(list409)[0] = 1223; - skipStepConditions6.NotInTerritory = list409; - skipConditions8.StepIf = skipStepConditions6; - obj197.SkipConditions = skipConditions8; - reference267 = obj197; - span131[1] = new QuestStep(EInteractionType.Interact, 1053751u, new Vector3(-296.4676f, 9.520004f, 27.328857f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineTrueVue, - To = EAetheryteLocation.SolutionNineResidentialSector - } - }; - obj196.Steps = list408; - reference266 = obj196; - ref QuestSequence reference268 = ref span130[4]; - QuestSequence obj198 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list410 = new List(num2); - CollectionsMarshal.SetCount(list410, num2); - Span span132 = CollectionsMarshal.AsSpan(list410); - span132[0] = new QuestStep(EInteractionType.Interact, 1049793u, new Vector3(364.3396f, 60.125f, 357.1068f), 1186) - { - TargetTerritoryId = (ushort)1224, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineResidentialSector, - To = EAetheryteLocation.SolutionNineTheArcadion - } - }; - span132[1] = new QuestStep(EInteractionType.CompleteQuest, 1053745u, new Vector3(1.6326294f, -2.9191749E-12f, -12.466675f), 1224) - { - NextQuestId = new QuestId(5294) - }; - obj198.Steps = list410; - reference268 = obj198; - questRoot44.QuestSequence = list404; - AddQuest(questId44, questRoot44); - QuestId questId45 = new QuestId(5294); - QuestRoot questRoot45 = new QuestRoot(); - num = 1; - List list411 = new List(num); - CollectionsMarshal.SetCount(list411, num); - CollectionsMarshal.AsSpan(list411)[0] = "liza"; - questRoot45.Author = list411; - num = 5; - List list412 = new List(num); - CollectionsMarshal.SetCount(list412, num); - Span span133 = CollectionsMarshal.AsSpan(list412); - ref QuestSequence reference269 = ref span133[0]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list413 = new List(num2); - CollectionsMarshal.SetCount(list413, num2); - CollectionsMarshal.AsSpan(list413)[0] = new QuestStep(EInteractionType.AcceptQuest, 1053745u, new Vector3(1.6326294f, -2.9191749E-12f, -12.466675f), 1224); - obj199.Steps = list413; - reference269 = obj199; - ref QuestSequence reference270 = ref span133[1]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list414 = new List(num2); - CollectionsMarshal.SetCount(list414, num2); - CollectionsMarshal.AsSpan(list414)[0] = new QuestStep(EInteractionType.Duty, null, null, 1224) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 1025u - } - }; - obj200.Steps = list414; - reference270 = obj200; - ref QuestSequence reference271 = ref span133[2]; - QuestSequence obj201 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list415 = new List(num2); - CollectionsMarshal.SetCount(list415, num2); - CollectionsMarshal.AsSpan(list415)[0] = new QuestStep(EInteractionType.Interact, 1053792u, new Vector3(1.9683228f, -2.3974921E-12f, -11.12384f), 1224) - { - StopDistance = 5f - }; - obj201.Steps = list415; - reference271 = obj201; - ref QuestSequence reference272 = ref span133[3]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list416 = new List(num2); - CollectionsMarshal.SetCount(list416, num2); - Span span134 = CollectionsMarshal.AsSpan(list416); - ref QuestStep reference273 = ref span134[0]; - QuestStep obj203 = new QuestStep(EInteractionType.Interact, 2013722u, new Vector3(-0.06517491f, 1.083085f, 8.115898f), 1224) - { - TargetTerritoryId = (ushort)1186 - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 1; - List list417 = new List(num3); - CollectionsMarshal.SetCount(list417, num3); - CollectionsMarshal.AsSpan(list417)[0] = 1224; - skipStepConditions7.NotInTerritory = list417; - skipConditions9.StepIf = skipStepConditions7; - obj203.SkipConditions = skipConditions9; - reference273 = obj203; - ref QuestStep reference274 = ref span134[1]; - QuestStep obj204 = new QuestStep(EInteractionType.Interact, 2013724u, new Vector3(498.34436f, 60.593506f, 129.13708f), 1186) - { - TargetTerritoryId = (ushort)1223, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineTheArcadion, - To = EAetheryteLocation.SolutionNineTrueVue - } - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipStepConditions skipStepConditions8 = new SkipStepConditions(); - num3 = 1; - List list418 = new List(num3); - CollectionsMarshal.SetCount(list418, num3); - CollectionsMarshal.AsSpan(list418)[0] = 1223; - skipStepConditions8.InTerritory = list418; - skipConditions10.StepIf = skipStepConditions8; - obj204.SkipConditions = skipConditions10; - reference274 = obj204; - span134[2] = new QuestStep(EInteractionType.Interact, 1053740u, new Vector3(4.8675537f, 0f, -6.5462036f), 1223); - obj202.Steps = list416; - reference272 = obj202; - ref QuestSequence reference275 = ref span133[4]; - QuestSequence obj205 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list419 = new List(num2); - CollectionsMarshal.SetCount(list419, num2); - Span span135 = CollectionsMarshal.AsSpan(list419); - ref QuestStep reference276 = ref span135[0]; - QuestStep obj206 = new QuestStep(EInteractionType.Interact, 2013725u, new Vector3(4.074883f, 0.8100026f, 10.57586f), 1223) - { - TargetTerritoryId = (ushort)1186 - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipStepConditions skipStepConditions9 = new SkipStepConditions(); - num3 = 1; - List list420 = new List(num3); - CollectionsMarshal.SetCount(list420, num3); - CollectionsMarshal.AsSpan(list420)[0] = 1223; - skipStepConditions9.NotInTerritory = list420; - skipConditions11.StepIf = skipStepConditions9; - obj206.SkipConditions = skipConditions11; - reference276 = obj206; - span135[1] = new QuestStep(EInteractionType.CompleteQuest, 1050471u, new Vector3(494.7433f, 59.55f, 125.10864f), 1186) - { - StopDistance = 7f - }; - obj205.Steps = list419; - reference275 = obj205; - questRoot45.QuestSequence = list412; - AddQuest(questId45, questRoot45); - QuestId questId46 = new QuestId(5295); - QuestRoot questRoot46 = new QuestRoot(); - num = 1; - List list421 = new List(num); - CollectionsMarshal.SetCount(list421, num); - CollectionsMarshal.AsSpan(list421)[0] = "Censored"; - questRoot46.Author = list421; - num = 10; - List list422 = new List(num); - CollectionsMarshal.SetCount(list422, num); - Span span136 = CollectionsMarshal.AsSpan(list422); - ref QuestSequence reference277 = ref span136[0]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list423 = new List(num2); - CollectionsMarshal.SetCount(list423, num2); - Span span137 = CollectionsMarshal.AsSpan(list423); - span137[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(311.757f, 70.0001f, -27.256859f), 1186) - { - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineTrueVue - }, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(311.757f, 70.0001f, -27.256859f), - MaximumDistance = 50f, - TerritoryId = 1186 - } - }, - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(311.757f, 70.0001f, -27.256859f), - MaximumDistance = 50f, - TerritoryId = 1186 - } - } - } - }; - span137[1] = new QuestStep(EInteractionType.AcceptQuest, 1051709u, new Vector3(307.6676f, 70.00009f, -26.962769f), 1186) - { - StopDistance = 5f - }; - obj207.Steps = list423; - reference277 = obj207; - ref QuestSequence reference278 = ref span136[1]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list424 = new List(num2); - CollectionsMarshal.SetCount(list424, num2); - CollectionsMarshal.AsSpan(list424)[0] = new QuestStep(EInteractionType.Interact, 1053617u, new Vector3(-120.47003f, 2.2297163f, 207.50745f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineTrueVue, - To = EAetheryteLocation.SolutionNineInformationCenter - } - }; - obj208.Steps = list424; - reference278 = obj208; - ref QuestSequence reference279 = ref span136[2]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list425 = new List(num2); - CollectionsMarshal.SetCount(list425, num2); - CollectionsMarshal.AsSpan(list425)[0] = new QuestStep(EInteractionType.Interact, 1053617u, new Vector3(-120.47003f, 2.2297163f, 207.50745f), 1186); - obj209.Steps = list425; - reference279 = obj209; - ref QuestSequence reference280 = ref span136[3]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list426 = new List(num2); - CollectionsMarshal.SetCount(list426, num2); - Span span138 = CollectionsMarshal.AsSpan(list426); - ref QuestStep reference281 = ref span138[0]; - QuestStep questStep60 = new QuestStep(EInteractionType.Interact, 1053619u, new Vector3(-127.244995f, 2.199962f, 236.71313f), 1186); - num3 = 6; - List list427 = new List(num3); - CollectionsMarshal.SetCount(list427, num3); - Span span139 = CollectionsMarshal.AsSpan(list427); - span139[0] = null; - span139[1] = null; - span139[2] = null; - span139[3] = null; - span139[4] = null; - span139[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep60.CompletionQuestVariablesFlags = list427; - reference281 = questStep60; - ref QuestStep reference282 = ref span138[1]; - QuestStep questStep61 = new QuestStep(EInteractionType.Interact, 1053620u, new Vector3(-172.80847f, 2.2299733f, 207.96509f), 1186); - num3 = 6; - List list428 = new List(num3); - CollectionsMarshal.SetCount(list428, num3); - Span span140 = CollectionsMarshal.AsSpan(list428); - span140[0] = null; - span140[1] = null; - span140[2] = null; - span140[3] = null; - span140[4] = null; - span140[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep61.CompletionQuestVariablesFlags = list428; - reference282 = questStep61; - span138[2] = new QuestStep(EInteractionType.Interact, 1053621u, new Vector3(-262.77563f, 2.1999757f, 236.25537f), 1186); - obj210.Steps = list426; - reference280 = obj210; - ref QuestSequence reference283 = ref span136[4]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list429 = new List(num2); - CollectionsMarshal.SetCount(list429, num2); - CollectionsMarshal.AsSpan(list429)[0] = new QuestStep(EInteractionType.Interact, 1053626u, new Vector3(-323.26245f, 13.999997f, 178.0575f), 1186); - obj211.Steps = list429; - reference283 = obj211; - ref QuestSequence reference284 = ref span136[5]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list430 = new List(num2); - CollectionsMarshal.SetCount(list430, num2); - CollectionsMarshal.AsSpan(list430)[0] = new QuestStep(EInteractionType.Interact, 1053623u, new Vector3(-252.21643f, 2.199965f, 257.95374f), 1186); - obj212.Steps = list430; - reference284 = obj212; - ref QuestSequence reference285 = ref span136[6]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list431 = new List(num2); - CollectionsMarshal.SetCount(list431, num2); - ref QuestStep reference286 = ref CollectionsMarshal.AsSpan(list431)[0]; - QuestStep obj214 = new QuestStep(EInteractionType.Interact, 1053627u, new Vector3(-580.22437f, -0.89430946f, -521.5991f), 1191) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts - }; - num3 = 1; - List list432 = new List(num3); - CollectionsMarshal.SetCount(list432, num3); - CollectionsMarshal.AsSpan(list432)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CHRHDB921_05295_SYSTEM_000_122") - }; - obj214.DialogueChoices = list432; - reference286 = obj214; - obj213.Steps = list431; - reference285 = obj213; - ref QuestSequence reference287 = ref span136[7]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list433 = new List(num2); - CollectionsMarshal.SetCount(list433, num2); - CollectionsMarshal.AsSpan(list433)[0] = new QuestStep(EInteractionType.Interact, 1053630u, new Vector3(96.75745f, 12.03999f, 144.48767f), 1254); - obj215.Steps = list433; - reference287 = obj215; - ref QuestSequence reference288 = ref span136[8]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 8 - }; - num2 = 3; - List list434 = new List(num2); - CollectionsMarshal.SetCount(list434, num2); - Span span141 = CollectionsMarshal.AsSpan(list434); - ref QuestStep reference289 = ref span141[0]; - QuestStep questStep62 = new QuestStep(EInteractionType.Interact, 2014622u, new Vector3(97.70349f, 12.588623f, 127.885864f), 1254); - num3 = 6; - List list435 = new List(num3); - CollectionsMarshal.SetCount(list435, num3); - Span span142 = CollectionsMarshal.AsSpan(list435); - span142[0] = null; - span142[1] = null; - span142[2] = null; - span142[3] = null; - span142[4] = null; - span142[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep62.CompletionQuestVariablesFlags = list435; - reference289 = questStep62; - ref QuestStep reference290 = ref span141[1]; - QuestStep questStep63 = new QuestStep(EInteractionType.Interact, 2014623u, new Vector3(66.9718f, 13.534729f, 96.69641f), 1254); - num3 = 6; - List list436 = new List(num3); - CollectionsMarshal.SetCount(list436, num3); - Span span143 = CollectionsMarshal.AsSpan(list436); - span143[0] = null; - span143[1] = null; - span143[2] = null; - span143[3] = null; - span143[4] = null; - span143[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep63.CompletionQuestVariablesFlags = list436; - reference290 = questStep63; - span141[2] = new QuestStep(EInteractionType.Interact, 2014624u, new Vector3(104.14282f, 12.924377f, 4.9591064f), 1254); - obj216.Steps = list434; - reference288 = obj216; - ref QuestSequence reference291 = ref span136[9]; - QuestSequence obj217 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list437 = new List(num2); - CollectionsMarshal.SetCount(list437, num2); - CollectionsMarshal.AsSpan(list437)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053633u, new Vector3(81.49841f, 12.039999f, 48.02002f), 1254) - { - NextQuestId = new QuestId(5296) - }; - obj217.Steps = list437; - reference291 = obj217; - questRoot46.QuestSequence = list422; - AddQuest(questId46, questRoot46); - QuestId questId47 = new QuestId(5296); - QuestRoot questRoot47 = new QuestRoot(); - num = 1; - List list438 = new List(num); - CollectionsMarshal.SetCount(list438, num); - CollectionsMarshal.AsSpan(list438)[0] = "Censored"; - questRoot47.Author = list438; - num = 7; - List list439 = new List(num); - CollectionsMarshal.SetCount(list439, num); - Span span144 = CollectionsMarshal.AsSpan(list439); - ref QuestSequence reference292 = ref span144[0]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list440 = new List(num2); - CollectionsMarshal.SetCount(list440, num2); - CollectionsMarshal.AsSpan(list440)[0] = new QuestStep(EInteractionType.AcceptQuest, 1053634u, new Vector3(90.22656f, 12.03999f, 147.08167f), 1254); - obj218.Steps = list440; - reference292 = obj218; - ref QuestSequence reference293 = ref span144[1]; - QuestSequence obj219 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list441 = new List(num2); - CollectionsMarshal.SetCount(list441, num2); - CollectionsMarshal.AsSpan(list441)[0] = new QuestStep(EInteractionType.Interact, 1053637u, new Vector3(232.47119f, 50.749866f, 210.193f), 1186) - { - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineNeonStein - } - }; - obj219.Steps = list441; - reference293 = obj219; - ref QuestSequence reference294 = ref span144[2]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list442 = new List(num2); - CollectionsMarshal.SetCount(list442, num2); - CollectionsMarshal.AsSpan(list442)[0] = new QuestStep(EInteractionType.Interact, 1053641u, new Vector3(-255.51239f, 26.1f, 103.04407f), 1191) - { - AetheryteShortcut = EAetheryteLocation.HeritageFoundElectropeStrike - }; - obj220.Steps = list442; - reference294 = obj220; - ref QuestSequence reference295 = ref span144[3]; - QuestSequence obj221 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list443 = new List(num2); - CollectionsMarshal.SetCount(list443, num2); - CollectionsMarshal.AsSpan(list443)[0] = new QuestStep(EInteractionType.Interact, 1053646u, new Vector3(-91.66095f, 46.00767f, 390.64624f), 1191); - obj221.Steps = list443; - reference295 = obj221; - ref QuestSequence reference296 = ref span144[4]; - QuestSequence obj222 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list444 = new List(num2); - CollectionsMarshal.SetCount(list444, num2); - ref QuestStep reference297 = ref CollectionsMarshal.AsSpan(list444)[0]; - QuestStep obj223 = new QuestStep(EInteractionType.Interact, 1053649u, new Vector3(113.63391f, 83.57817f, 552.20874f), 1191) - { - Fly = true - }; - num3 = 1; - List list445 = new List(num3); - CollectionsMarshal.SetCount(list445, num3); - CollectionsMarshal.AsSpan(list445)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_CHRHDB922_05296_Q1_000_000"), - Answer = new ExcelRef("TEXT_CHRHDB922_05296_A1_000_001") - }; - obj223.DialogueChoices = list445; - reference297 = obj223; - obj222.Steps = list444; - reference296 = obj222; - ref QuestSequence reference298 = ref span144[5]; - QuestSequence obj224 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list446 = new List(num2); - CollectionsMarshal.SetCount(list446, num2); - CollectionsMarshal.AsSpan(list446)[0] = new QuestStep(EInteractionType.Interact, 1053650u, new Vector3(175.95166f, 83.2133f, 652.64355f), 1191) - { - Fly = true - }; - obj224.Steps = list446; - reference298 = obj224; - ref QuestSequence reference299 = ref span144[6]; - QuestSequence obj225 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list447 = new List(num2); - CollectionsMarshal.SetCount(list447, num2); - CollectionsMarshal.AsSpan(list447)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053652u, new Vector3(236.62158f, 50.749947f, 209.97937f), 1186) - { - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineNeonStein - }, - NextQuestId = new QuestId(5378) - }; - obj225.Steps = list447; - reference299 = obj225; - questRoot47.QuestSequence = list439; - AddQuest(questId47, questRoot47); - QuestId questId48 = new QuestId(5297); - QuestRoot questRoot48 = new QuestRoot(); - num = 1; - List list448 = new List(num); - CollectionsMarshal.SetCount(list448, num); - CollectionsMarshal.AsSpan(list448)[0] = "WigglyMuffin"; - questRoot48.Author = list448; - questRoot48.IsSeasonalQuest = true; - questRoot48.SeasonalQuestExpiry = new DateTime(2025, 9, 11, 0, 0, 0, DateTimeKind.Utc); - num = 4; - List list449 = new List(num); - CollectionsMarshal.SetCount(list449, num); - Span span145 = CollectionsMarshal.AsSpan(list449); - ref QuestSequence reference300 = ref span145[0]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list450 = new List(num2); - CollectionsMarshal.SetCount(list450, num2); - ref QuestStep reference301 = ref CollectionsMarshal.AsSpan(list450)[0]; - QuestStep obj227 = new QuestStep(EInteractionType.AcceptQuest, 1053660u, new Vector3(3.5552979f, 44.499996f, 125.62744f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions12 = new SkipConditions(); - SkipAetheryteCondition obj228 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list451 = new List(num3); - CollectionsMarshal.SetCount(list451, num3); - CollectionsMarshal.AsSpan(list451)[0] = 128; - obj228.InTerritory = list451; - skipConditions12.AetheryteShortcutIf = obj228; - obj227.SkipConditions = skipConditions12; - reference301 = obj227; - obj226.Steps = list450; - reference300 = obj226; - ref QuestSequence reference302 = ref span145[1]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list452 = new List(num2); - CollectionsMarshal.SetCount(list452, num2); - CollectionsMarshal.AsSpan(list452)[0] = new QuestStep(EInteractionType.Interact, 1001024u, new Vector3(28.519043f, 44.499977f, 176.3789f), 128); - obj229.Steps = list452; - reference302 = obj229; - ref QuestSequence reference303 = ref span145[2]; - QuestSequence obj230 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list453 = new List(num2); - CollectionsMarshal.SetCount(list453, num2); - Span span146 = CollectionsMarshal.AsSpan(list453); - span146[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(25.724976f, 44.5f, 186.5f), 128); - span146[1] = new QuestStep(EInteractionType.Interact, 1053662u, new Vector3(-32.425476f, 71.50164f, 135.91211f), 135) - { - Mount = true - }; - obj230.Steps = list453; - reference303 = obj230; - ref QuestSequence reference304 = ref span145[3]; - QuestSequence obj231 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list454 = new List(num2); - CollectionsMarshal.SetCount(list454, num2); - CollectionsMarshal.AsSpan(list454)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053663u, new Vector3(-34.01245f, 71.548134f, 135.63745f), 135) - { - NextQuestId = new QuestId(5298) - }; - obj231.Steps = list454; - reference304 = obj231; - questRoot48.QuestSequence = list449; - AddQuest(questId48, questRoot48); - QuestId questId49 = new QuestId(5298); - QuestRoot questRoot49 = new QuestRoot(); - num = 1; - List list455 = new List(num); - CollectionsMarshal.SetCount(list455, num); - CollectionsMarshal.AsSpan(list455)[0] = "WigglyMuffin"; - questRoot49.Author = list455; - questRoot49.IsSeasonalQuest = true; - questRoot49.SeasonalQuestExpiry = new DateTime(2025, 9, 11, 0, 0, 0, DateTimeKind.Utc); - num = 8; - List list456 = new List(num); - CollectionsMarshal.SetCount(list456, num); - Span span147 = CollectionsMarshal.AsSpan(list456); - ref QuestSequence reference305 = ref span147[0]; - QuestSequence obj232 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list457 = new List(num2); - CollectionsMarshal.SetCount(list457, num2); - ref QuestStep reference306 = ref CollectionsMarshal.AsSpan(list457)[0]; - QuestStep obj233 = new QuestStep(EInteractionType.AcceptQuest, 1053663u, new Vector3(-34.01245f, 71.548134f, 135.63745f), 135) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaTempestGate - } - }; - SkipConditions skipConditions13 = new SkipConditions(); - SkipAetheryteCondition obj234 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list458 = new List(num3); - CollectionsMarshal.SetCount(list458, num3); - CollectionsMarshal.AsSpan(list458)[0] = 135; - obj234.InTerritory = list458; - skipConditions13.AetheryteShortcutIf = obj234; - obj233.SkipConditions = skipConditions13; - reference306 = obj233; - obj232.Steps = list457; - reference305 = obj232; - ref QuestSequence reference307 = ref span147[1]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list459 = new List(num2); - CollectionsMarshal.SetCount(list459, num2); - CollectionsMarshal.AsSpan(list459)[0] = new QuestStep(EInteractionType.Interact, 1053666u, new Vector3(184.40515f, 32.156242f, 112.962524f), 135) - { - Fly = true - }; - obj235.Steps = list459; - reference307 = obj235; - ref QuestSequence reference308 = ref span147[2]; - QuestSequence obj236 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list460 = new List(num2); - CollectionsMarshal.SetCount(list460, num2); - ref QuestStep reference309 = ref CollectionsMarshal.AsSpan(list460)[0]; - QuestStep obj237 = new QuestStep(EInteractionType.Interact, 1053667u, new Vector3(76.24927f, 71.28403f, 366.3844f), 135) - { - Fly = true - }; - num3 = 1; - List list461 = new List(num3); - CollectionsMarshal.SetCount(list461, num3); - CollectionsMarshal.AsSpan(list461)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_FESANX102_05298_Q50_000_001"), - Answer = new ExcelRef("TEXT_FESANX102_05298_A50_000_002") - }; - obj237.DialogueChoices = list461; - reference309 = obj237; - obj236.Steps = list460; - reference308 = obj236; - ref QuestSequence reference310 = ref span147[3]; - QuestSequence obj238 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list462 = new List(num2); - CollectionsMarshal.SetCount(list462, num2); - CollectionsMarshal.AsSpan(list462)[0] = new QuestStep(EInteractionType.Interact, 1053669u, new Vector3(-43.47296f, 55.10932f, 488.1819f), 135) - { - Fly = true - }; - obj238.Steps = list462; - reference310 = obj238; - ref QuestSequence reference311 = ref span147[4]; - QuestSequence obj239 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list463 = new List(num2); - CollectionsMarshal.SetCount(list463, num2); - CollectionsMarshal.AsSpan(list463)[0] = new QuestStep(EInteractionType.Interact, 1053671u, new Vector3(6.6071167f, 44.311028f, 797.3906f), 135) - { - Fly = true - }; - obj239.Steps = list463; - reference311 = obj239; - ref QuestSequence reference312 = ref span147[5]; - QuestSequence obj240 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list464 = new List(num2); - CollectionsMarshal.SetCount(list464, num2); - Span span148 = CollectionsMarshal.AsSpan(list464); - span148[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(134.80649f, 58.968193f, 935.78265f), 135) - { - Fly = true - }; - span148[1] = new QuestStep(EInteractionType.Interact, 1002445u, new Vector3(136.82764f, 58.937588f, 937.43787f), 135) - { - Land = true - }; - obj240.Steps = list464; - reference312 = obj240; - ref QuestSequence reference313 = ref span147[6]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list465 = new List(num2); - CollectionsMarshal.SetCount(list465, num2); - CollectionsMarshal.AsSpan(list465)[0] = new QuestStep(EInteractionType.Interact, 1053676u, new Vector3(24.39917f, 44.499973f, 163.07312f), 128) - { - Fly = true - }; - obj241.Steps = list465; - reference313 = obj241; - ref QuestSequence reference314 = ref span147[7]; - QuestSequence obj242 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list466 = new List(num2); - CollectionsMarshal.SetCount(list466, num2); - CollectionsMarshal.AsSpan(list466)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053677u, new Vector3(-178.4848f, 40.99994f, 185.44287f), 128); - obj242.Steps = list466; - reference314 = obj242; - questRoot49.QuestSequence = list456; - AddQuest(questId49, questRoot49); - QuestId questId50 = new QuestId(5299); - QuestRoot questRoot50 = new QuestRoot(); - num = 1; - List list467 = new List(num); - CollectionsMarshal.SetCount(list467, num); - CollectionsMarshal.AsSpan(list467)[0] = "liza"; - questRoot50.Author = list467; - num = 5; - List list468 = new List(num); - CollectionsMarshal.SetCount(list468, num); - Span span149 = CollectionsMarshal.AsSpan(list468); - ref QuestSequence reference315 = ref span149[0]; - QuestSequence obj243 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list469 = new List(num2); - CollectionsMarshal.SetCount(list469, num2); - Span span150 = CollectionsMarshal.AsSpan(list469); - ref QuestStep reference316 = ref span150[0]; - QuestStep obj244 = new QuestStep(EInteractionType.Interact, 1048083u, new Vector3(302.05237f, 51.199978f, 205.0354f), 1186) - { - TargetTerritoryId = (ushort)1207, - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineNeonStein - } - }; - SkipConditions skipConditions14 = new SkipConditions(); - SkipStepConditions skipStepConditions10 = new SkipStepConditions(); - num3 = 1; - List list470 = new List(num3); - CollectionsMarshal.SetCount(list470, num3); - CollectionsMarshal.AsSpan(list470)[0] = 1207; - skipStepConditions10.InTerritory = list470; - skipConditions14.StepIf = skipStepConditions10; - SkipAetheryteCondition skipAetheryteCondition3 = new SkipAetheryteCondition(); - num3 = 1; - List list471 = new List(num3); - CollectionsMarshal.SetCount(list471, num3); - CollectionsMarshal.AsSpan(list471)[0] = 1207; - skipAetheryteCondition3.InTerritory = list471; - skipConditions14.AetheryteShortcutIf = skipAetheryteCondition3; - obj244.SkipConditions = skipConditions14; - reference316 = obj244; - span150[1] = new QuestStep(EInteractionType.AcceptQuest, 1052483u, new Vector3(-4.8982544f, -6.439014E-08f, 8.926453f), 1207) - { - StopDistance = 7f - }; - obj243.Steps = list469; - reference315 = obj243; - ref QuestSequence reference317 = ref span149[1]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list472 = new List(num2); - CollectionsMarshal.SetCount(list472, num2); - ref QuestStep reference318 = ref CollectionsMarshal.AsSpan(list472)[0]; - QuestStep questStep64 = new QuestStep(EInteractionType.Interact, 2014751u, new Vector3(-19.699463f, 2.7008667f, -30.258667f), 1207); - num3 = 1; - List list473 = new List(num3); - CollectionsMarshal.SetCount(list473, num3); - CollectionsMarshal.AsSpan(list473)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMH101_05299_SYSTEM_000_031") - }; - questStep64.DialogueChoices = list473; - reference318 = questStep64; - obj245.Steps = list472; - reference317 = obj245; - span149[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference319 = ref span149[3]; - QuestSequence obj246 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list474 = new List(num2); - CollectionsMarshal.SetCount(list474, num2); - CollectionsMarshal.AsSpan(list474)[0] = new QuestStep(EInteractionType.Interact, 1053810u, new Vector3(5.7526245f, 0.49999905f, 3.40271f), 1268) - { - StopDistance = 7f - }; - obj246.Steps = list474; - reference319 = obj246; - ref QuestSequence reference320 = ref span149[4]; - QuestSequence obj247 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list475 = new List(num2); - CollectionsMarshal.SetCount(list475, num2); - CollectionsMarshal.AsSpan(list475)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054140u, new Vector3(5.203247f, 0.025f, 2.304016f), 1268) - { - StopDistance = 7f - }; - obj247.Steps = list475; - reference320 = obj247; - questRoot50.QuestSequence = list468; - AddQuest(questId50, questRoot50); - } - - private static void LoadQuests106() - { - QuestId questId = new QuestId(5300); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "liza"; - questRoot.Author = list; - num = 5; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054140u, new Vector3(5.203247f, 0.025f, 2.304016f), 1268) - { - StopDistance = 7f - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - ref QuestStep reference3 = ref span2[0]; - QuestStep obj3 = new QuestStep(EInteractionType.Interact, 2014672u, new Vector3(17.19253f, 0.9405764f, 8.082603f), 1268) - { - TargetTerritoryId = (ushort)1207 - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - int num3 = 1; - List list5 = new List(num3); - CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = 1268; - skipStepConditions.NotInTerritory = list5; - skipConditions.StepIf = skipStepConditions; - obj3.SkipConditions = skipConditions; - reference3 = obj3; - span2[1] = new QuestStep(EInteractionType.Interact, 2014674u, new Vector3(-4.4404297f, -0.015319824f, 8.895996f), 1207); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference4 = ref span[2]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - Span span3 = CollectionsMarshal.AsSpan(list6); - ref QuestStep reference5 = ref span3[0]; - QuestStep obj5 = new QuestStep(EInteractionType.Interact, 2014102u, new Vector3(-0.01455665f, 1f, 16.05096f), 1207) - { - TargetTerritoryId = (ushort)1186 - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - CollectionsMarshal.AsSpan(list7)[0] = 1207; - skipStepConditions2.NotInTerritory = list7; - skipConditions2.StepIf = skipStepConditions2; - obj5.SkipConditions = skipConditions2; - reference5 = obj5; - ref QuestStep reference6 = ref span3[1]; - QuestStep obj6 = new QuestStep(EInteractionType.Interact, 1053820u, new Vector3(0.59503174f, -6.0500035f, 226.6117f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineNeonStein, - To = EAetheryteLocation.SolutionNineInformationCenter - } - }; - num3 = 1; - List list8 = new List(num3); - CollectionsMarshal.SetCount(list8, num3); - CollectionsMarshal.AsSpan(list8)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMH102_05300_Q1_000_034") - }; - obj6.DialogueChoices = list8; - num3 = 4; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - Span span4 = CollectionsMarshal.AsSpan(list9); - span4[0] = 0u; - span4[1] = 1u; - span4[2] = 2u; - span4[3] = 3u; - obj6.PointMenuChoices = list9; - reference6 = obj6; - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference7 = ref span[3]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.Interact, 1053824u, new Vector3(-0.25946045f, -6.050004f, 223.55994f), 1186); - obj7.Steps = list10; - reference7 = obj7; - ref QuestSequence reference8 = ref span[4]; - QuestSequence obj8 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053827u, new Vector3(-306.0807f, 10.0149355f, 1.8157349f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineInformationCenter, - To = EAetheryteLocation.SolutionNineResidentialSector - } - }; - obj8.Steps = list11; - reference8 = obj8; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(5301); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - CollectionsMarshal.AsSpan(list12)[0] = "liza"; - questRoot2.Author = list12; - num = 6; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - Span span5 = CollectionsMarshal.AsSpan(list13); - ref QuestSequence reference9 = ref span5[0]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.AcceptQuest, 1053830u, new Vector3(-343.31274f, 10.014645f, -11.703674f), 1186) - { - StopDistance = 5f - }; - obj9.Steps = list14; - reference9 = obj9; - ref QuestSequence reference10 = ref span5[1]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.Interact, 1053835u, new Vector3(312.73352f, 70.00006f, 10.72699f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineResidentialSector, - To = EAetheryteLocation.SolutionNineTrueVue - } - }; - obj10.Steps = list15; - reference10 = obj10; - ref QuestSequence reference11 = ref span5[2]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.Emote, 1053838u, new Vector3(313.74072f, 70.00006f, 9.811523f), 1186) - { - StopDistance = 5f, - Emote = EEmote.Rally - }; - obj11.Steps = list16; - reference11 = obj11; - ref QuestSequence reference12 = ref span5[3]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.Interact, 1053839u, new Vector3(311.39075f, 70.00006f, 10.421875f), 1186) - { - StopDistance = 7f - }; - obj12.Steps = list17; - reference12 = obj12; - ref QuestSequence reference13 = ref span5[4]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - Span span6 = CollectionsMarshal.AsSpan(list18); - ref QuestStep reference14 = ref span6[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1053841u, new Vector3(343.34326f, 50.75f, 190.05103f), 1186); - num3 = 6; - List list19 = new List(num3); - CollectionsMarshal.SetCount(list19, num3); - Span span7 = CollectionsMarshal.AsSpan(list19); - span7[0] = null; - span7[1] = null; - span7[2] = null; - span7[3] = null; - span7[4] = null; - span7[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep.CompletionQuestVariablesFlags = list19; - reference14 = questStep; - ref QuestStep reference15 = ref span6[1]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1053843u, new Vector3(350.1183f, 50.75f, 244.80042f), 1186); - num3 = 6; - List list20 = new List(num3); - CollectionsMarshal.SetCount(list20, num3); - Span span8 = CollectionsMarshal.AsSpan(list20); - span8[0] = null; - span8[1] = null; - span8[2] = null; - span8[3] = null; - span8[4] = null; - span8[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list20; - reference15 = questStep2; - ref QuestStep reference16 = ref span6[2]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1053842u, new Vector3(380.84985f, 52.25f, 235.21777f), 1186); - num3 = 6; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - Span span9 = CollectionsMarshal.AsSpan(list21); - span9[0] = null; - span9[1] = null; - span9[2] = null; - span9[3] = null; - span9[4] = null; - span9[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list21; - reference16 = questStep3; - obj13.Steps = list18; - reference13 = obj13; - ref QuestSequence reference17 = ref span5[5]; - QuestSequence obj14 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053844u, new Vector3(241.01624f, 50.75f, 273.91467f), 1186); - obj14.Steps = list22; - reference17 = obj14; - questRoot2.QuestSequence = list13; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(5302); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - CollectionsMarshal.AsSpan(list23)[0] = "liza"; - questRoot3.Author = list23; - num = 5; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - Span span10 = CollectionsMarshal.AsSpan(list24); - ref QuestSequence reference18 = ref span10[0]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.AcceptQuest, 1053845u, new Vector3(239.88696f, 50.749996f, 273.9757f), 1186) - { - StopDistance = 5f - }; - obj15.Steps = list25; - reference18 = obj15; - ref QuestSequence reference19 = ref span10[1]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.Interact, 1053847u, new Vector3(314.62573f, 70.00009f, 0.7476196f), 1186); - obj16.Steps = list26; - reference19 = obj16; - ref QuestSequence reference20 = ref span10[2]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.Interact, 1053851u, new Vector3(351.70508f, 60f, 78.446655f), 1186); - obj17.Steps = list27; - reference20 = obj17; - ref QuestSequence reference21 = ref span10[3]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.Interact, 2014675u, new Vector3(270.83228f, 50.736206f, 123.00293f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineTrueVue, - To = EAetheryteLocation.SolutionNineNeonStein - } - }; - obj18.Steps = list28; - reference21 = obj18; - ref QuestSequence reference22 = ref span10[4]; - QuestSequence obj19 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - CollectionsMarshal.AsSpan(list29)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053857u, new Vector3(271.10706f, 50.749996f, 186.05322f), 1186) - { - StopDistance = 5f - }; - obj19.Steps = list29; - reference22 = obj19; - questRoot3.QuestSequence = list24; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(5303); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - CollectionsMarshal.AsSpan(list30)[0] = "liza"; - questRoot4.Author = list30; - num = 3; - List list31 = new List(num); - CollectionsMarshal.SetCount(list31, num); - Span span11 = CollectionsMarshal.AsSpan(list31); - ref QuestSequence reference23 = ref span11[0]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.AcceptQuest, 1053857u, new Vector3(271.10706f, 50.749996f, 186.05322f), 1186) - { - StopDistance = 5f - }; - obj20.Steps = list32; - reference23 = obj20; - ref QuestSequence reference24 = ref span11[1]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - Span span12 = CollectionsMarshal.AsSpan(list33); - ref QuestStep reference25 = ref span12[0]; - QuestStep obj22 = new QuestStep(EInteractionType.Interact, 1048083u, new Vector3(302.05237f, 51.199978f, 205.0354f), 1186) - { - TargetTerritoryId = (ushort)1207 - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - CollectionsMarshal.AsSpan(list34)[0] = 1207; - skipStepConditions3.InTerritory = list34; - skipConditions3.StepIf = skipStepConditions3; - obj22.SkipConditions = skipConditions3; - reference25 = obj22; - span12[1] = new QuestStep(EInteractionType.Interact, 1053860u, new Vector3(-4.348877f, -4.3092264E-08f, 6.576599f), 1207); - obj21.Steps = list33; - reference24 = obj21; - ref QuestSequence reference26 = ref span11[2]; - QuestSequence obj23 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053864u, new Vector3(-2.456726f, -7.357661E-08f, 9.109558f), 1207); - obj23.Steps = list35; - reference26 = obj23; - questRoot4.QuestSequence = list31; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(5304); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - CollectionsMarshal.AsSpan(list36)[0] = "liza"; - questRoot5.Author = list36; - num = 6; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - Span span13 = CollectionsMarshal.AsSpan(list37); - ref QuestSequence reference27 = ref span13[0]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.AcceptQuest, 1048161u, new Vector3(-5.874817f, -3.618828E-08f, 6.8512573f), 1207) - { - StopDistance = 7f - }; - obj24.Steps = list38; - reference27 = obj24; - ref QuestSequence reference28 = ref span13[1]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - Span span14 = CollectionsMarshal.AsSpan(list39); - ref QuestStep reference29 = ref span14[0]; - QuestStep obj26 = new QuestStep(EInteractionType.Interact, 2014102u, new Vector3(-0.01455665f, 1f, 16.05096f), 1207) - { - TargetTerritoryId = (ushort)1186 - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 1; - List list40 = new List(num3); - CollectionsMarshal.SetCount(list40, num3); - CollectionsMarshal.AsSpan(list40)[0] = 1207; - skipStepConditions4.NotInTerritory = list40; - skipConditions4.StepIf = skipStepConditions4; - obj26.SkipConditions = skipConditions4; - reference29 = obj26; - span14[1] = new QuestStep(EInteractionType.Interact, 1053865u, new Vector3(-70.72565f, 42.8066f, -546.95966f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineNeonStein, - To = EAetheryteLocation.SolutionNineResolution - } - }; - obj25.Steps = list39; - reference28 = obj25; - ref QuestSequence reference30 = ref span13[2]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - CollectionsMarshal.AsSpan(list41)[0] = new QuestStep(EInteractionType.Duty, null, null, 1186) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 1027u - } - }; - obj27.Steps = list41; - reference30 = obj27; - span13[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference31 = ref span13[4]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.Duty, null, null, 1275) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 1030u - } - }; - obj28.Steps = list42; - reference31 = obj28; - ref QuestSequence reference32 = ref span13[5]; - QuestSequence obj29 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053873u, new Vector3(0.015197754f, 0f, 20.645447f), 1274) - { - StopDistance = 5f - }; - obj29.Steps = list43; - reference32 = obj29; - questRoot5.QuestSequence = list37; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(5305); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list44 = new List(num); - CollectionsMarshal.SetCount(list44, num); - CollectionsMarshal.AsSpan(list44)[0] = "liza"; - questRoot6.Author = list44; - num = 5; - List list45 = new List(num); - CollectionsMarshal.SetCount(list45, num); - Span span15 = CollectionsMarshal.AsSpan(list45); - ref QuestSequence reference33 = ref span15[0]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.AcceptQuest, 1053873u, new Vector3(0.015197754f, 0f, 20.645447f), 1274) - { - StopDistance = 5f - }; - obj30.Steps = list46; - reference33 = obj30; - ref QuestSequence reference34 = ref span15[1]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - CollectionsMarshal.AsSpan(list47)[0] = new QuestStep(EInteractionType.Interact, 1053864u, new Vector3(-2.456726f, -7.35766E-08f, 9.109558f), 1207) - { - StopDistance = 5f - }; - obj31.Steps = list47; - reference34 = obj31; - ref QuestSequence reference35 = ref span15[2]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.Interact, 2014733u, new Vector3(0.015197754f, -0.4730835f, -0.38153076f), 1207); - obj32.Steps = list48; - reference35 = obj32; - ref QuestSequence reference36 = ref span15[3]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.Interact, 1053864u, new Vector3(-2.456726f, -7.35766E-08f, 9.109558f), 1207); - obj33.Steps = list49; - reference36 = obj33; - ref QuestSequence reference37 = ref span15[4]; - QuestSequence obj34 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 4; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - Span span16 = CollectionsMarshal.AsSpan(list50); - ref QuestStep reference38 = ref span16[0]; - QuestStep obj35 = new QuestStep(EInteractionType.Interact, 2014102u, new Vector3(-0.015319824f, 0.99176025f, 16.03717f), 1207) - { - TargetTerritoryId = (ushort)1186 - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 1; - List list51 = new List(num3); - CollectionsMarshal.SetCount(list51, num3); - CollectionsMarshal.AsSpan(list51)[0] = 1207; - skipStepConditions5.NotInTerritory = list51; - skipConditions5.StepIf = skipStepConditions5; - obj35.SkipConditions = skipConditions5; - reference38 = obj35; - span16[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-404.58365f, 14.029998f, 272.07394f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineNeonStein, - To = EAetheryteLocation.SolutionNineResidentialSector - } - }; - span16[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-409.75183f, 13.499982f, 269.15036f), 1186) - { - DisableNavmesh = true - }; - span16[3] = new QuestStep(EInteractionType.CompleteQuest, 1053874u, new Vector3(-402.48724f, 13.699979f, 240.98572f), 1186); - obj34.Steps = list50; - reference37 = obj34; - questRoot6.QuestSequence = list45; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(5306); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - CollectionsMarshal.AsSpan(list52)[0] = "liza"; - questRoot7.Author = list52; - num = 6; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - Span span17 = CollectionsMarshal.AsSpan(list53); - ref QuestSequence reference39 = ref span17[0]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.AcceptQuest, 1053878u, new Vector3(-403.3418f, 14.029999f, 272.9381f), 1186); - obj36.Steps = list54; - reference39 = obj36; - ref QuestSequence reference40 = ref span17[1]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - CollectionsMarshal.AsSpan(list55)[0] = new QuestStep(EInteractionType.Interact, 1053881u, new Vector3(-240.89423f, 30f, -595.36127f), 1191) - { - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts - }; - obj37.Steps = list55; - reference40 = obj37; - ref QuestSequence reference41 = ref span17[2]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - ref QuestStep reference42 = ref CollectionsMarshal.AsSpan(list56)[0]; - QuestStep obj39 = new QuestStep(EInteractionType.Combat, null, new Vector3(205.08792f, 86.3551f, -419.18634f), 1191) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 2; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - Span span18 = CollectionsMarshal.AsSpan(list57); - span18[0] = 18476u; - span18[1] = 18477u; - obj39.KillEnemyDataIds = list57; - reference42 = obj39; - obj38.Steps = list56; - reference41 = obj38; - ref QuestSequence reference43 = ref span17[3]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.Interact, 1053885u, new Vector3(204.21143f, 86.28118f, -420.09613f), 1191); - obj40.Steps = list58; - reference43 = obj40; - ref QuestSequence reference44 = ref span17[4]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.Interact, 1053890u, new Vector3(-242.45062f, 29.999998f, -575.3109f), 1191) - { - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts - }; - obj41.Steps = list59; - reference44 = obj41; - ref QuestSequence reference45 = ref span17[5]; - QuestSequence obj42 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054150u, new Vector3(-5.9052734f, -3.5390258E-08f, 6.790222f), 1207); - obj42.Steps = list60; - reference45 = obj42; - questRoot7.QuestSequence = list53; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(5307); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - CollectionsMarshal.AsSpan(list61)[0] = "liza"; - questRoot8.Author = list61; - num = 4; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - Span span19 = CollectionsMarshal.AsSpan(list62); - ref QuestSequence reference46 = ref span19[0]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.AcceptQuest, 1053732u, new Vector3(153.70398f, -17.9645f, 95.56726f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj43.Steps = list63; - reference46 = obj43; - ref QuestSequence reference47 = ref span19[1]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.Interact, 1053732u, new Vector3(153.70398f, -17.9645f, 95.56726f), 1185); - obj44.Steps = list64; - reference47 = obj44; - ref QuestSequence reference48 = ref span19[2]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - CollectionsMarshal.AsSpan(list65)[0] = new QuestStep(EInteractionType.Interact, 1053732u, new Vector3(9.3022995f, -10.00001f, 57.288975f), 1185) - { - StopDistance = 0.5f - }; - obj45.Steps = list65; - reference48 = obj45; - ref QuestSequence reference49 = ref span19[3]; - QuestSequence obj46 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053739u, new Vector3(2.1514893f, -10.00001f, 56.137817f), 1185); - obj46.Steps = list66; - reference49 = obj46; - questRoot8.QuestSequence = list62; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(5309); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - CollectionsMarshal.AsSpan(list67)[0] = "liza"; - questRoot9.Author = list67; - num = 8; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - Span span20 = CollectionsMarshal.AsSpan(list68); - ref QuestSequence reference50 = ref span20[0]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.AcceptQuest, 1038915u, new Vector3(188.06738f, -17.9643f, 43.289795f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalWachumeqimeqi - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj47.Steps = list69; - reference50 = obj47; - ref QuestSequence reference51 = ref span20[1]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - CollectionsMarshal.AsSpan(list70)[0] = new QuestStep(EInteractionType.Interact, 1038967u, new Vector3(206.68335f, -17.9645f, 62.607666f), 1185); - obj48.Steps = list70; - reference51 = obj48; - ref QuestSequence reference52 = ref span20[2]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list71 = new List(num2); - CollectionsMarshal.SetCount(list71, num2); - ref QuestStep reference53 = ref CollectionsMarshal.AsSpan(list71)[0]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1038967u, new Vector3(206.68335f, -17.9645f, 62.607666f), 1185); - num3 = 1; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - CollectionsMarshal.AsSpan(list72)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGKD001_05309_SYSTEM_000_201") - }; - questStep4.DialogueChoices = list72; - reference53 = questStep4; - obj49.Steps = list71; - reference52 = obj49; - span20[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference54 = ref span20[4]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 4 - }; - num2 = 4; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - Span span21 = CollectionsMarshal.AsSpan(list73); - ref QuestStep reference55 = ref span21[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1042454u, new Vector3(33.554565f, 18.511625f, 6.362976f), 1277); - num3 = 6; - List list74 = new List(num3); - CollectionsMarshal.SetCount(list74, num3); - Span span22 = CollectionsMarshal.AsSpan(list74); - span22[0] = null; - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list74; - reference55 = questStep5; - ref QuestStep reference56 = ref span21[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1042894u, new Vector3(16.281311f, 16.35219f, -10.666138f), 1277); - num3 = 6; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - Span span23 = CollectionsMarshal.AsSpan(list75); - span23[0] = null; - span23[1] = null; - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list75; - reference56 = questStep6; - ref QuestStep reference57 = ref span21[2]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1046341u, new Vector3(0.38146973f, 16.34722f, -6.4240723f), 1277); - num3 = 6; - List list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - Span span24 = CollectionsMarshal.AsSpan(list76); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep7.CompletionQuestVariablesFlags = list76; - reference57 = questStep7; - ref QuestStep reference58 = ref span21[3]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1046350u, new Vector3(-18.509216f, 16.352419f, 3.40271f), 1277); - num3 = 6; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - Span span25 = CollectionsMarshal.AsSpan(list77); - span25[0] = null; - span25[1] = null; - span25[2] = null; - span25[3] = null; - span25[4] = null; - span25[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep8.CompletionQuestVariablesFlags = list77; - reference58 = questStep8; - obj50.Steps = list73; - reference54 = obj50; - ref QuestSequence reference59 = ref span20[5]; - QuestSequence obj51 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.Interact, 1039720u, new Vector3(32.822144f, 18.355127f, -3.402832f), 1277); - obj51.Steps = list78; - reference59 = obj51; - span20[6] = new QuestSequence - { - Sequence = 6 - }; - ref QuestSequence reference60 = ref span20[7]; - QuestSequence obj52 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.CompleteQuest, 1052330u, new Vector3(46.066895f, 0f, -0.13739014f), 1269) - { - StopDistance = 5f, - NextQuestId = new QuestId(5310) - }; - obj52.Steps = list79; - reference60 = obj52; - questRoot9.QuestSequence = list68; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(5310); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - CollectionsMarshal.AsSpan(list80)[0] = "liza"; - questRoot10.Author = list80; - num = 3; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - Span span26 = CollectionsMarshal.AsSpan(list81); - ref QuestSequence reference61 = ref span26[0]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - CollectionsMarshal.AsSpan(list82)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052330u, new Vector3(46.066895f, 0f, -0.13739014f), 1269) - { - StopDistance = 5f - }; - obj53.Steps = list82; - reference61 = obj53; - ref QuestSequence reference62 = ref span26[1]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - Span span27 = CollectionsMarshal.AsSpan(list83); - ref QuestStep reference63 = ref span27[0]; - QuestStep obj55 = new QuestStep(EInteractionType.Interact, 2014647u, new Vector3(34.01233f, 3.118126f, 32.39708f), 1269) - { - StopDistance = 4f, - IgnoreDistanceToObject = true - }; - num3 = 6; - List list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - Span span28 = CollectionsMarshal.AsSpan(list84); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj55.CompletionQuestVariablesFlags = list84; - reference63 = obj55; - ref QuestStep reference64 = ref span27[1]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 2014645u, new Vector3(-37.70508f, 1.3274536f, -35.965576f), 1269); - num3 = 6; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - Span span29 = CollectionsMarshal.AsSpan(list85); - span29[0] = null; - span29[1] = null; - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep9.CompletionQuestVariablesFlags = list85; - reference64 = questStep9; - ref QuestStep reference65 = ref span27[2]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 2014646u, new Vector3(10.391357f, 30.869019f, -69.04712f), 1269); - num3 = 6; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - Span span30 = CollectionsMarshal.AsSpan(list86); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list86; - reference65 = questStep10; - obj54.Steps = list83; - reference62 = obj54; - ref QuestSequence reference66 = ref span26[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.CompleteQuest, 1052452u, new Vector3(-1.9074707f, 0.90001047f, 15.8845825f), 1269) - { - NextQuestId = new QuestId(5311) - }; - obj56.Steps = list87; - reference66 = obj56; - questRoot10.QuestSequence = list81; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(5311); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list88 = new List(num); - CollectionsMarshal.SetCount(list88, num); - CollectionsMarshal.AsSpan(list88)[0] = "liza"; - questRoot11.Author = list88; - num = 2; - List list89 = new List(num); - CollectionsMarshal.SetCount(list89, num); - Span span31 = CollectionsMarshal.AsSpan(list89); - ref QuestSequence reference67 = ref span31[0]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.AcceptQuest, 1053794u, new Vector3(-0.015319824f, 0f, -21.103333f), 1269) - { - StopDistance = 5f - }; - obj57.Steps = list90; - reference67 = obj57; - ref QuestSequence reference68 = ref span31[1]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list91 = new List(num2); - CollectionsMarshal.SetCount(list91, num2); - CollectionsMarshal.AsSpan(list91)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053797u, new Vector3(-77.592224f, 5f, -15.396423f), 1269); - obj58.Steps = list91; - reference68 = obj58; - questRoot11.QuestSequence = list89; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(5312); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - CollectionsMarshal.AsSpan(list92)[0] = "liza"; - questRoot12.Author = list92; - num = 2; - List list93 = new List(num); - CollectionsMarshal.SetCount(list93, num); - Span span32 = CollectionsMarshal.AsSpan(list93); - ref QuestSequence reference69 = ref span32[0]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.AcceptQuest, 1053798u, new Vector3(841.9165f, 72.713615f, -700.3434f), 1252) - { - StopDistance = 5f, - Comment = "This requires queueing into Occult Crescent: South Horn, so isn't started automatically" - }; - obj59.Steps = list94; - reference69 = obj59; - ref QuestSequence reference70 = ref span32[1]; - QuestSequence obj60 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053799u, new Vector3(867.9177f, 72.7133f, -677.48535f), 1252); - obj60.Steps = list95; - reference70 = obj60; - questRoot12.QuestSequence = list93; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(5313); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - CollectionsMarshal.AsSpan(list96)[0] = "liza"; - questRoot13.Author = list96; - num = 2; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - Span span33 = CollectionsMarshal.AsSpan(list97); - ref QuestSequence reference71 = ref span33[0]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.AcceptQuest, 1053796u, new Vector3(868.10095f, 72.75855f, -677.3938f), 1252) - { - Comment = "This requires queueing into Occult Crescent: South Horn AND equipping a phantom job, so isn't started automatically" - }; - obj61.Steps = list98; - reference71 = obj61; - ref QuestSequence reference72 = ref span33[1]; - QuestSequence obj62 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053800u, new Vector3(822.8733f, 72.673935f, -678.7671f), 1252); - obj62.Steps = list99; - reference72 = obj62; - questRoot13.QuestSequence = list97; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(5319); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list100 = new List(num); - CollectionsMarshal.SetCount(list100, num); - CollectionsMarshal.AsSpan(list100)[0] = "liza"; - questRoot14.Author = list100; - num = 4; - List list101 = new List(num); - CollectionsMarshal.SetCount(list101, num); - Span span34 = CollectionsMarshal.AsSpan(list101); - ref QuestSequence reference73 = ref span34[0]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - ref QuestStep reference74 = ref CollectionsMarshal.AsSpan(list102)[0]; - QuestStep questStep11 = new QuestStep(EInteractionType.AcceptQuest, 1053906u, new Vector3(25.802979f, 0f, 13.38208f), 1278); - num3 = 1; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - CollectionsMarshal.AsSpan(list103)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGKW001_05319_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGKW001_05319_A1_000_003") - }; - questStep11.DialogueChoices = list103; - reference74 = questStep11; - obj63.Steps = list102; - reference73 = obj63; - ref QuestSequence reference75 = ref span34[1]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.Interact, 1053907u, new Vector3(-49.485046f, 4.999985f, 33.12732f), 1278); - obj64.Steps = list104; - reference75 = obj64; - ref QuestSequence reference76 = ref span34[2]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.Interact, 1053906u, new Vector3(25.802979f, 0f, 13.38208f), 1278); - obj65.Steps = list105; - reference76 = obj65; - ref QuestSequence reference77 = ref span34[3]; - QuestSequence obj66 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053908u, new Vector3(28.854736f, 0f, 13.351624f), 1278); - obj66.Steps = list106; - reference77 = obj66; - questRoot14.QuestSequence = list101; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(5321); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list107 = new List(num); - CollectionsMarshal.SetCount(list107, num); - CollectionsMarshal.AsSpan(list107)[0] = "liza"; - questRoot15.Author = list107; - questRoot15.IsSeasonalQuest = true; - questRoot15.SeasonalQuestExpiry = new DateTime(2025, 8, 26, 0, 0, 0, DateTimeKind.Utc); - num = 8; - List list108 = new List(num); - CollectionsMarshal.SetCount(list108, num); - Span span35 = CollectionsMarshal.AsSpan(list108); - ref QuestSequence reference78 = ref span35[0]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - ref QuestStep reference79 = ref CollectionsMarshal.AsSpan(list109)[0]; - QuestStep obj68 = new QuestStep(EInteractionType.AcceptQuest, 1053941u, new Vector3(14.328186f, 45.665993f, 131.33435f), 128) - { - AetheryteShortcut = EAetheryteLocation.Limsa, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Limsa, - To = EAetheryteLocation.LimsaAftcastle - } - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipAetheryteCondition obj69 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list110 = new List(num3); - CollectionsMarshal.SetCount(list110, num3); - CollectionsMarshal.AsSpan(list110)[0] = 128; - obj69.InTerritory = list110; - skipConditions6.AetheryteShortcutIf = obj69; - obj68.SkipConditions = skipConditions6; - reference79 = obj68; - obj67.Steps = list109; - reference78 = obj67; - ref QuestSequence reference80 = ref span35[1]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.Interact, 1053942u, new Vector3(705.989f, 9.4453125f, 483.14636f), 137) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.EasternLaNosceaCostaDelSol - }; - obj70.Steps = list111; - reference80 = obj70; - ref QuestSequence reference81 = ref span35[2]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span36 = CollectionsMarshal.AsSpan(list112); - span36[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(755.61664f, 38.19999f, 475.95694f), 137); - span36[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(756.2495f, 38.19998f, 419.6828f), 137); - span36[2] = new QuestStep(EInteractionType.Interact, 1053943u, new Vector3(777.4929f, 38.999973f, 400.9308f), 137); - obj71.Steps = list112; - reference81 = obj71; - ref QuestSequence reference82 = ref span35[3]; - QuestSequence obj72 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - CollectionsMarshal.AsSpan(list113)[0] = new QuestStep(EInteractionType.Interact, 1053944u, new Vector3(772.91516f, 38.99997f, 396.90234f), 137) - { - StopDistance = 7f - }; - obj72.Steps = list113; - reference82 = obj72; - ref QuestSequence reference83 = ref span35[4]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 4 - }; - num2 = 6; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - Span span37 = CollectionsMarshal.AsSpan(list114); - ref QuestStep reference84 = ref span37[0]; - QuestStep questStep12 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(756.2495f, 38.19998f, 419.6828f), 137); - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 6; - List list115 = new List(num3); - CollectionsMarshal.SetCount(list115, num3); - Span span38 = CollectionsMarshal.AsSpan(list115); - span38[0] = null; - span38[1] = null; - span38[2] = null; - span38[3] = null; - span38[4] = null; - span38[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - skipStepConditions6.CompletionQuestVariablesFlags = list115; - skipConditions7.StepIf = skipStepConditions6; - questStep12.SkipConditions = skipConditions7; - reference84 = questStep12; - ref QuestStep reference85 = ref span37[1]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1053949u, new Vector3(738.4298f, 36.23682f, 482.0172f), 137); - num3 = 6; - List list116 = new List(num3); - CollectionsMarshal.SetCount(list116, num3); - Span span39 = CollectionsMarshal.AsSpan(list116); - span39[0] = null; - span39[1] = null; - span39[2] = null; - span39[3] = null; - span39[4] = null; - span39[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list116; - reference85 = questStep13; - ref QuestStep reference86 = ref span37[2]; - QuestStep obj74 = new QuestStep(EInteractionType.WalkTo, null, new Vector3(703.2868f, 9.050781f, 481.25787f), 137) - { - DisableNavmesh = true - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 6; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - Span span40 = CollectionsMarshal.AsSpan(list117); - span40[0] = null; - span40[1] = null; - span40[2] = null; - span40[3] = null; - span40[4] = null; - span40[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - skipStepConditions7.CompletionQuestVariablesFlags = list117; - skipConditions8.StepIf = skipStepConditions7; - obj74.SkipConditions = skipConditions8; - reference86 = obj74; - ref QuestStep reference87 = ref span37[3]; - QuestStep obj75 = new QuestStep(EInteractionType.Interact, 1053947u, new Vector3(695.9181f, 8.4f, 442.31323f), 137) - { - Mount = false - }; - num3 = 6; - List list118 = new List(num3); - CollectionsMarshal.SetCount(list118, num3); - Span span41 = CollectionsMarshal.AsSpan(list118); - span41[0] = null; - span41[1] = null; - span41[2] = null; - span41[3] = null; - span41[4] = null; - span41[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj75.CompletionQuestVariablesFlags = list118; - reference87 = obj75; - ref QuestStep reference88 = ref span37[4]; - QuestStep obj76 = new QuestStep(EInteractionType.Interact, 1053946u, new Vector3(849.2407f, 8.4f, 461.17346f), 137) - { - Mount = false - }; - num3 = 6; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - Span span42 = CollectionsMarshal.AsSpan(list119); - span42[0] = null; - span42[1] = null; - span42[2] = null; - span42[3] = null; - span42[4] = null; - span42[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj76.CompletionQuestVariablesFlags = list119; - reference88 = obj76; - ref QuestStep reference89 = ref span37[5]; - QuestStep obj77 = new QuestStep(EInteractionType.Interact, 1053945u, new Vector3(872.0989f, 8.4f, 402.8534f), 137) - { - Mount = false - }; - num3 = 6; - List list120 = new List(num3); - CollectionsMarshal.SetCount(list120, num3); - Span span43 = CollectionsMarshal.AsSpan(list120); - span43[0] = null; - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj77.CompletionQuestVariablesFlags = list120; - reference89 = obj77; - obj73.Steps = list114; - reference83 = obj73; - ref QuestSequence reference90 = ref span35[5]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - Span span44 = CollectionsMarshal.AsSpan(list121); - span44[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(828.0988f, 8.4f, 406.98657f), 137) - { - Mount = false - }; - span44[1] = new QuestStep(EInteractionType.Interact, 1053943u, new Vector3(777.4929f, 38.999973f, 400.9308f), 137) - { - StopDistance = 7f, - DelaySecondsAtStart = 5f - }; - obj78.Steps = list121; - reference90 = obj78; - ref QuestSequence reference91 = ref span35[6]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.Interact, 2014686u, new Vector3(794.4304f, 37.247192f, 394.3694f), 137) - { - DisableNavmesh = true - }; - obj79.Steps = list122; - reference91 = obj79; - ref QuestSequence reference92 = ref span35[7]; - QuestSequence obj80 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list123 = new List(num2); - CollectionsMarshal.SetCount(list123, num2); - Span span45 = CollectionsMarshal.AsSpan(list123); - span45[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(828.0988f, 8.4f, 406.98657f), 137) - { - Mount = false - }; - span45[1] = new QuestStep(EInteractionType.CompleteQuest, 1051599u, new Vector3(775.0209f, 38.999977f, 398.2146f), 137) - { - StopDistance = 7f, - DelaySecondsAtStart = 5f - }; - obj80.Steps = list123; - reference92 = obj80; - questRoot15.QuestSequence = list108; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(5322); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - CollectionsMarshal.AsSpan(list124)[0] = "liza"; - questRoot16.Author = list124; - questRoot16.IsSeasonalQuest = true; - questRoot16.SeasonalQuestExpiry = new DateTime(2025, 6, 11, 0, 0, 0, DateTimeKind.Utc); - num = 9; - List list125 = new List(num); - CollectionsMarshal.SetCount(list125, num); - Span span46 = CollectionsMarshal.AsSpan(list125); - ref QuestSequence reference93 = ref span46[0]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.AcceptQuest, 1049020u, new Vector3(-86.32031f, 4f, -104.35651f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj81.Steps = list126; - reference93 = obj81; - ref QuestSequence reference94 = ref span46[1]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - Span span47 = CollectionsMarshal.AsSpan(list127); - span47[0] = new QuestStep(EInteractionType.AcceptQuest, 1011565u, new Vector3(-78.8739f, 4f, -110.429565f), 130) - { - PickUpQuestId = new QuestId(434) - }; - ref QuestStep reference95 = ref span47[1]; - QuestStep obj83 = new QuestStep(EInteractionType.Interact, 1004433u, new Vector3(-23.605713f, 83.19999f, -2.3041382f), 130) - { - TargetTerritoryId = (ushort)144, - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAirship - } - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions8 = new SkipStepConditions(); - num3 = 1; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - CollectionsMarshal.AsSpan(list128)[0] = 144; - skipStepConditions8.InTerritory = list128; - skipStepConditions8.AetheryteUnlocked = EAetheryteLocation.GoldSaucer; - skipConditions9.StepIf = skipStepConditions8; - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 2; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - Span span48 = CollectionsMarshal.AsSpan(list129); - span48[0] = 130; - span48[1] = 144; - skipAetheryteCondition.InTerritory = list129; - skipAetheryteCondition.AetheryteUnlocked = EAetheryteLocation.GoldSaucer; - skipConditions9.AetheryteShortcutIf = skipAetheryteCondition; - obj83.SkipConditions = skipConditions9; - reference95 = obj83; - span47[2] = new QuestStep(EInteractionType.AcceptQuest, 1011022u, new Vector3(-38.895264f, -2.7930364E-06f, 97.33728f), 144) - { - StopDistance = 7f, - AetheryteShortcut = EAetheryteLocation.GoldSaucer, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - PickUpQuestId = new QuestId(435) - }; - span47[3] = new QuestStep(EInteractionType.Interact, 1049021u, new Vector3(-80.91864f, -1.2629791E-05f, 46.463623f), 144) - { - AetheryteShortcut = EAetheryteLocation.GoldSaucer, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GoldSaucer, - To = EAetheryteLocation.GoldSaucerEntranceCardSquares - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj82.Steps = list127; - reference94 = obj82; - ref QuestSequence reference96 = ref span46[2]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - Span span49 = CollectionsMarshal.AsSpan(list130); - ref QuestStep reference97 = ref span49[0]; - QuestStep obj85 = new QuestStep(EInteractionType.Interact, 1049029u, new Vector3(10.452393f, 20.99973f, 39.597046f), 144) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GoldSaucerEntranceCardSquares, - To = EAetheryteLocation.GoldSaucerWonderSquareWest - } - }; - num3 = 6; - List list131 = new List(num3); - CollectionsMarshal.SetCount(list131, num3); - Span span50 = CollectionsMarshal.AsSpan(list131); - span50[0] = null; - span50[1] = null; - span50[2] = null; - span50[3] = null; - span50[4] = null; - span50[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj85.CompletionQuestVariablesFlags = list131; - reference97 = obj85; - ref QuestStep reference98 = ref span49[1]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1049028u, new Vector3(55.77173f, 3.9997194f, 42.313232f), 144); - num3 = 6; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - Span span51 = CollectionsMarshal.AsSpan(list132); - span51[0] = null; - span51[1] = null; - span51[2] = null; - span51[3] = null; - span51[4] = null; - span51[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list132; - reference98 = questStep14; - ref QuestStep reference99 = ref span49[2]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1049027u, new Vector3(7.003784f, 3.9997306f, 78.20239f), 144); - num3 = 6; - List list133 = new List(num3); - CollectionsMarshal.SetCount(list133, num3); - Span span52 = CollectionsMarshal.AsSpan(list133); - span52[0] = null; - span52[1] = null; - span52[2] = null; - span52[3] = null; - span52[4] = null; - span52[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list133; - reference99 = questStep15; - obj84.Steps = list130; - reference96 = obj84; - ref QuestSequence reference100 = ref span46[3]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - ref QuestStep reference101 = ref CollectionsMarshal.AsSpan(list134)[0]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 1049023u, new Vector3(-12.863403f, -1.1376108E-16f, -7.9804688f), 144); - num3 = 1; - List list135 = new List(num3); - CollectionsMarshal.SetCount(list135, num3); - CollectionsMarshal.AsSpan(list135)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_FESGSC901_05322_Q1_000_000"), - Answer = new ExcelRef("TEXT_FESGSC901_05322_A1_000_002") - }; - questStep16.DialogueChoices = list135; - reference101 = questStep16; - obj86.Steps = list134; - reference100 = obj86; - ref QuestSequence reference102 = ref span46[4]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list136 = new List(num2); - CollectionsMarshal.SetCount(list136, num2); - CollectionsMarshal.AsSpan(list136)[0] = new QuestStep(EInteractionType.Interact, 2014700u, new Vector3(107.7439f, 12.985352f, -45.212524f), 144) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GoldSaucer, - To = EAetheryteLocation.GoldSaucerCactpotBoard - } - }; - obj87.Steps = list136; - reference102 = obj87; - ref QuestSequence reference103 = ref span46[5]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.Interact, 2014702u, new Vector3(94.346436f, 13.01593f, -5.935791f), 144) - { - StopDistance = 4.5f - }; - obj88.Steps = list137; - reference103 = obj88; - ref QuestSequence reference104 = ref span46[6]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.Interact, 1049025u, new Vector3(33.49353f, -5f, -58.54895f), 144) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GoldSaucerCactpotBoard, - To = EAetheryteLocation.GoldSaucerEventSquare - } - }; - obj89.Steps = list138; - reference104 = obj89; - ref QuestSequence reference105 = ref span46[7]; - QuestSequence obj90 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - CollectionsMarshal.AsSpan(list139)[0] = new QuestStep(EInteractionType.Interact, 2014703u, new Vector3(-67.00244f, -0.015319824f, 39.230957f), 144) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GoldSaucerEventSquare, - To = EAetheryteLocation.GoldSaucerEntranceCardSquares - } - }; - obj90.Steps = list139; - reference105 = obj90; - ref QuestSequence reference106 = ref span46[8]; - QuestSequence obj91 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - CollectionsMarshal.AsSpan(list140)[0] = new QuestStep(EInteractionType.CompleteQuest, 1049026u, new Vector3(-31.937195f, 0.044279926f, 18.32605f), 144) - { - StopDistance = 5f - }; - obj91.Steps = list140; - reference106 = obj91; - questRoot16.QuestSequence = list125; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(5323); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list141 = new List(num); - CollectionsMarshal.SetCount(list141, num); - CollectionsMarshal.AsSpan(list141)[0] = "liza"; - questRoot17.Author = list141; - num = 4; - List list142 = new List(num); - CollectionsMarshal.SetCount(list142, num); - Span span53 = CollectionsMarshal.AsSpan(list142); - ref QuestSequence reference107 = ref span53[0]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - ref QuestStep reference108 = ref CollectionsMarshal.AsSpan(list143)[0]; - QuestStep questStep17 = new QuestStep(EInteractionType.AcceptQuest, 1052631u, new Vector3(10.116699f, 1.6122663f, -17.135986f), 1237); - num3 = 1; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - CollectionsMarshal.AsSpan(list144)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGWZ001_05323_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGWZ001_05323_A1_000_001") - }; - questStep17.DialogueChoices = list144; - reference108 = questStep17; - obj92.Steps = list143; - reference107 = obj92; - ref QuestSequence reference109 = ref span53[1]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - Span span54 = CollectionsMarshal.AsSpan(list145); - ref QuestStep reference110 = ref span54[0]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1052633u, new Vector3(-87.26642f, 0.3205882f, 82.26135f), 1237); - num3 = 6; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - Span span55 = CollectionsMarshal.AsSpan(list146); - span55[0] = null; - span55[1] = null; - span55[2] = null; - span55[3] = null; - span55[4] = null; - span55[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list146; - reference110 = questStep18; - ref QuestStep reference111 = ref span54[1]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 1052632u, new Vector3(79.81995f, 0.30599445f, 98.89368f), 1237); - num3 = 6; - List list147 = new List(num3); - CollectionsMarshal.SetCount(list147, num3); - Span span56 = CollectionsMarshal.AsSpan(list147); - span56[0] = null; - span56[1] = null; - span56[2] = null; - span56[3] = null; - span56[4] = null; - span56[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep19.CompletionQuestVariablesFlags = list147; - reference111 = questStep19; - obj93.Steps = list145; - reference109 = obj93; - ref QuestSequence reference112 = ref span53[2]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.Interact, 2013711u, new Vector3(-85.98462f, 4.2266846f, -63.767517f), 1237); - obj94.Steps = list148; - reference112 = obj94; - ref QuestSequence reference113 = ref span53[3]; - QuestSequence obj95 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - CollectionsMarshal.AsSpan(list149)[0] = new QuestStep(EInteractionType.CompleteQuest, 1052631u, new Vector3(10.116699f, 1.6122663f, -17.135986f), 1237) - { - NextQuestId = new QuestId(5324) - }; - obj95.Steps = list149; - reference113 = obj95; - questRoot17.QuestSequence = list142; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(5324); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list150 = new List(num); - CollectionsMarshal.SetCount(list150, num); - CollectionsMarshal.AsSpan(list150)[0] = "liza"; - questRoot18.Author = list150; - num = 5; - List list151 = new List(num); - CollectionsMarshal.SetCount(list151, num); - Span span57 = CollectionsMarshal.AsSpan(list151); - ref QuestSequence reference114 = ref span57[0]; - QuestSequence obj96 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list152 = new List(num2); - CollectionsMarshal.SetCount(list152, num2); - ref QuestStep reference115 = ref CollectionsMarshal.AsSpan(list152)[0]; - QuestStep questStep20 = new QuestStep(EInteractionType.AcceptQuest, 1052631u, new Vector3(10.116699f, 1.6122663f, -17.135986f), 1237); - num3 = 1; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - CollectionsMarshal.AsSpan(list153)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGWZ002_05324_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGWZ002_05324_A1_000_002") - }; - questStep20.DialogueChoices = list153; - reference115 = questStep20; - obj96.Steps = list152; - reference114 = obj96; - ref QuestSequence reference116 = ref span57[1]; - QuestSequence obj97 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.Interact, 1052634u, new Vector3(-32.39496f, 1.5f, 31.631958f), 1237); - obj97.Steps = list154; - reference116 = obj97; - ref QuestSequence reference117 = ref span57[2]; - QuestSequence obj98 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.Interact, 1052635u, new Vector3(46.61621f, 0.8794936f, 51.377075f), 1237); - obj98.Steps = list155; - reference117 = obj98; - ref QuestSequence reference118 = ref span57[3]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - CollectionsMarshal.AsSpan(list156)[0] = new QuestStep(EInteractionType.Interact, 1052636u, new Vector3(29.95337f, 1f, -70.45099f), 1237); - obj99.Steps = list156; - reference118 = obj99; - ref QuestSequence reference119 = ref span57[4]; - QuestSequence obj100 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list157 = new List(num2); - CollectionsMarshal.SetCount(list157, num2); - CollectionsMarshal.AsSpan(list157)[0] = new QuestStep(EInteractionType.CompleteQuest, 1052631u, new Vector3(10.116699f, 1.6122663f, -17.135986f), 1237); - obj100.Steps = list157; - reference119 = obj100; - questRoot18.QuestSequence = list151; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(5325); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list158 = new List(num); - CollectionsMarshal.SetCount(list158, num); - CollectionsMarshal.AsSpan(list158)[0] = "WigglyMuffin"; - questRoot19.Author = list158; - questRoot19.IsSeasonalQuest = true; - questRoot19.SeasonalQuestExpiry = new DateTime(2026, 2, 16, 14, 59, 0, DateTimeKind.Utc); - num = 7; - List list159 = new List(num); - CollectionsMarshal.SetCount(list159, num); - Span span58 = CollectionsMarshal.AsSpan(list159); - ref QuestSequence reference120 = ref span58[0]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - ref QuestStep reference121 = ref CollectionsMarshal.AsSpan(list160)[0]; - QuestStep obj102 = new QuestStep(EInteractionType.AcceptQuest, 1054046u, new Vector3(-50.06488f, 6.5f, -90.25714f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipAetheryteCondition obj103 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list161 = new List(num3); - CollectionsMarshal.SetCount(list161, num3); - CollectionsMarshal.AsSpan(list161)[0] = 133; - obj103.InTerritory = list161; - skipConditions10.AetheryteShortcutIf = obj103; - obj102.SkipConditions = skipConditions10; - reference121 = obj102; - obj101.Steps = list160; - reference120 = obj101; - ref QuestSequence reference122 = ref span58[1]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - CollectionsMarshal.AsSpan(list162)[0] = new QuestStep(EInteractionType.Interact, 2014714u, new Vector3(-45.212524f, 6.7596436f, -127.42816f), 133); - obj104.Steps = list162; - reference122 = obj104; - ref QuestSequence reference123 = ref span58[2]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - ref QuestStep reference124 = ref CollectionsMarshal.AsSpan(list163)[0]; - QuestStep questStep21 = new QuestStep(EInteractionType.SinglePlayerDuty, 1054051u, new Vector3(-41.12317f, 6.8356857f, -125.32239f), 133); - SinglePlayerDutyOptions obj106 = new SinglePlayerDutyOptions - { - Enabled = true - }; - num3 = 1; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - CollectionsMarshal.AsSpan(list164)[0] = "You only need to complete one cake layer to complete the duty."; - obj106.Notes = list164; - questStep21.SinglePlayerDutyOptions = obj106; - num3 = 3; - List list165 = new List(num3); - CollectionsMarshal.SetCount(list165, num3); - Span span59 = CollectionsMarshal.AsSpan(list165); - span59[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/009/FesVlt2026Entrance_00938", - Prompt = new ExcelRef("TEXT_FESVLT2026ENTRANCE_00938_Q1_000_000"), - Answer = new ExcelRef("TEXT_FESVLT2026ENTRANCE_00938_A1_000_001") - }; - span59[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/009/FesVlt2026Entrance_00938", - Prompt = new ExcelRef("TEXT_FESVLT2026ENTRANCE_00938_Q2_000_000"), - Answer = new ExcelRef("TEXT_FESVLT2026ENTRANCE_00938_A2_000_002") - }; - span59[2] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - ExcelSheet = "custom/009/FesVlt2026Entrance_00938", - Prompt = new ExcelRef("TEXT_FESVLT2026ENTRANCE_00938_TALK_SYSTEM_000_015") - }; - questStep21.DialogueChoices = list165; - reference124 = questStep21; - obj105.Steps = list163; - reference123 = obj105; - ref QuestSequence reference125 = ref span58[3]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list166 = new List(num2); - CollectionsMarshal.SetCount(list166, num2); - ref QuestStep reference126 = ref CollectionsMarshal.AsSpan(list166)[0]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1054048u, new Vector3(-47.196167f, 6.7986083f, -124.80359f), 133); - num3 = 1; - List list167 = new List(num3); - CollectionsMarshal.SetCount(list167, num3); - CollectionsMarshal.AsSpan(list167)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_FESVLX201_05325_Q3_000_000"), - Answer = new ExcelRef("TEXT_FESVLX201_05325_A1_000_002") - }; - questStep22.DialogueChoices = list167; - reference126 = questStep22; - obj107.Steps = list166; - reference125 = obj107; - ref QuestSequence reference127 = ref span58[4]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list168 = new List(num2); - CollectionsMarshal.SetCount(list168, num2); - CollectionsMarshal.AsSpan(list168)[0] = new QuestStep(EInteractionType.Interact, 1054050u, new Vector3(-45.15149f, 6.8105283f, -125.352905f), 133); - obj108.Steps = list168; - reference127 = obj108; - ref QuestSequence reference128 = ref span58[5]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list169 = new List(num2); - CollectionsMarshal.SetCount(list169, num2); - CollectionsMarshal.AsSpan(list169)[0] = new QuestStep(EInteractionType.Interact, 1054052u, new Vector3(92.729004f, 12.160356f, -247.88281f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaAmphitheatre, - To = EAetheryteLocation.GridaniaLancer - } - }; - obj109.Steps = list169; - reference128 = obj109; - ref QuestSequence reference129 = ref span58[6]; - QuestSequence obj110 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054137u, new Vector3(-52.811523f, 6.5f, -88.39557f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLancer, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - obj110.Steps = list170; - reference129 = obj110; - questRoot19.QuestSequence = list159; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(5326); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list171 = new List(num); - CollectionsMarshal.SetCount(list171, num); - CollectionsMarshal.AsSpan(list171)[0] = "Theo"; - questRoot20.Author = list171; - num = 7; - List list172 = new List(num); - CollectionsMarshal.SetCount(list172, num); - Span span60 = CollectionsMarshal.AsSpan(list172); - ref QuestSequence reference130 = ref span60[0]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - ref QuestStep reference131 = ref CollectionsMarshal.AsSpan(list173)[0]; - QuestStep obj112 = new QuestStep(EInteractionType.AcceptQuest, 1051949u, new Vector3(141.2832f, 42f, -351.9494f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalBrightploomPost - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list174 = new List(num3); - CollectionsMarshal.SetCount(list174, num3); - CollectionsMarshal.AsSpan(list174)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGEA201_05326_Q2_000_000"), - Answer = new ExcelRef("TEXT_KINGEA201_05326_A2_000_001") - }; - obj112.DialogueChoices = list174; - reference131 = obj112; - obj111.Steps = list173; - reference130 = obj111; - ref QuestSequence reference132 = ref span60[1]; - QuestSequence obj113 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - ref QuestStep reference133 = ref CollectionsMarshal.AsSpan(list175)[0]; - QuestStep obj114 = new QuestStep(EInteractionType.Interact, 1054347u, new Vector3(730.03735f, -133.17451f, 542.2903f), 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 1; - List list176 = new List(num3); - CollectionsMarshal.SetCount(list176, num3); - CollectionsMarshal.AsSpan(list176)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGEA201_05326_SYSTEM_000_103") - }; - obj114.DialogueChoices = list176; - reference133 = obj114; - obj113.Steps = list175; - reference132 = obj113; - ref QuestSequence reference134 = ref span60[2]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - CollectionsMarshal.AsSpan(list177)[0] = new QuestStep(EInteractionType.Interact, 1054301u, new Vector3(-502.76953f, -162.12943f, 419.8518f), 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj115.Steps = list177; - reference134 = obj115; - ref QuestSequence reference135 = ref span60[3]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list178 = new List(num2); - CollectionsMarshal.SetCount(list178, num2); - Span span61 = CollectionsMarshal.AsSpan(list178); - ref QuestStep reference136 = ref span61[0]; - QuestStep obj117 = new QuestStep(EInteractionType.Interact, 2014450u, new Vector3(-528.37415f, -152.20874f, 671.13745f), 1189) - { - TargetTerritoryId = (ushort)1265 - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipStepConditions skipStepConditions9 = new SkipStepConditions(); - num3 = 1; - List list179 = new List(num3); - CollectionsMarshal.SetCount(list179, num3); - CollectionsMarshal.AsSpan(list179)[0] = 1265; - skipStepConditions9.InTerritory = list179; - skipConditions11.StepIf = skipStepConditions9; - obj117.SkipConditions = skipConditions11; - reference136 = obj117; - span61[1] = new QuestStep(EInteractionType.Interact, 2014786u, new Vector3(-2.456726f, 41.97754f, -2.822998f), 1265); - obj116.Steps = list178; - reference135 = obj116; - ref QuestSequence reference137 = ref span60[4]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.Duty, null, null, 1265) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 1058u - } - }; - obj118.Steps = list180; - reference137 = obj118; - ref QuestSequence reference138 = ref span60[5]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - CollectionsMarshal.AsSpan(list181)[0] = new QuestStep(EInteractionType.Interact, 1054310u, new Vector3(-5.2339478f, 41.999985f, -5.935791f), 1265); - obj119.Steps = list181; - reference138 = obj119; - ref QuestSequence reference139 = ref span60[6]; - QuestSequence obj120 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list182 = new List(num2); - CollectionsMarshal.SetCount(list182, num2); - CollectionsMarshal.AsSpan(list182)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054313u, new Vector3(-1.9074707f, 41.99998f, -4.4709473f), 1265) - { - NextQuestId = new QuestId(5327) - }; - obj120.Steps = list182; - reference139 = obj120; - questRoot20.QuestSequence = list172; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(5327); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list183 = new List(num); - CollectionsMarshal.SetCount(list183, num); - CollectionsMarshal.AsSpan(list183)[0] = "Theo"; - questRoot21.Author = list183; - num = 6; - List list184 = new List(num); - CollectionsMarshal.SetCount(list184, num); - Span span62 = CollectionsMarshal.AsSpan(list184); - ref QuestSequence reference140 = ref span62[0]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list185 = new List(num2); - CollectionsMarshal.SetCount(list185, num2); - Span span63 = CollectionsMarshal.AsSpan(list185); - ref QuestStep reference141 = ref span63[0]; - QuestStep obj122 = new QuestStep(EInteractionType.Interact, 2014450u, new Vector3(-528.37415f, -152.20874f, 671.13745f), 1189) - { - TargetTerritoryId = (ushort)1265 - }; - SkipConditions skipConditions12 = new SkipConditions(); - SkipStepConditions skipStepConditions10 = new SkipStepConditions(); - num3 = 1; - List list186 = new List(num3); - CollectionsMarshal.SetCount(list186, num3); - CollectionsMarshal.AsSpan(list186)[0] = 1265; - skipStepConditions10.InTerritory = list186; - skipConditions12.StepIf = skipStepConditions10; - obj122.SkipConditions = skipConditions12; - reference141 = obj122; - span63[1] = new QuestStep(EInteractionType.AcceptQuest, 1054311u, new Vector3(-2.9450073f, 41.99998f, -7.034485f), 1265); - obj121.Steps = list185; - reference140 = obj121; - ref QuestSequence reference142 = ref span62[1]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - CollectionsMarshal.AsSpan(list187)[0] = new QuestStep(EInteractionType.Interact, 1054315u, new Vector3(133.22644f, 42f, -348.95862f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalBrightploomPost - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj123.Steps = list187; - reference142 = obj123; - ref QuestSequence reference143 = ref span62[2]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list188 = new List(num2); - CollectionsMarshal.SetCount(list188, num2); - CollectionsMarshal.AsSpan(list188)[0] = new QuestStep(EInteractionType.Interact, 2014787u, new Vector3(-326.16168f, 18.44812f, -104.57007f), 1190) - { - AetheryteShortcut = EAetheryteLocation.ShaaloaniShesheneweziSprings, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj124.Steps = list188; - reference143 = obj124; - ref QuestSequence reference144 = ref span62[3]; - QuestSequence obj125 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list189 = new List(num2); - CollectionsMarshal.SetCount(list189, num2); - Span span64 = CollectionsMarshal.AsSpan(list189); - ref QuestStep reference145 = ref span64[0]; - QuestStep obj126 = new QuestStep(EInteractionType.Interact, 1049334u, new Vector3(-139.05548f, 1.4543211f, 324.72717f), 1190) - { - Fly = true - }; - num3 = 6; - List list190 = new List(num3); - CollectionsMarshal.SetCount(list190, num3); - Span span65 = CollectionsMarshal.AsSpan(list190); - span65[0] = null; - span65[1] = null; - span65[2] = null; - span65[3] = null; - span65[4] = null; - span65[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj126.CompletionQuestVariablesFlags = list190; - reference145 = obj126; - ref QuestStep reference146 = ref span64[1]; - QuestStep obj127 = new QuestStep(EInteractionType.Interact, 1054321u, new Vector3(-145.25067f, 2.0168247f, 374.3191f), 1190) - { - Mount = true - }; - num3 = 6; - List list191 = new List(num3); - CollectionsMarshal.SetCount(list191, num3); - Span span66 = CollectionsMarshal.AsSpan(list191); - span66[0] = null; - span66[1] = null; - span66[2] = null; - span66[3] = null; - span66[4] = null; - span66[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj127.CompletionQuestVariablesFlags = list191; - reference146 = obj127; - span64[2] = new QuestStep(EInteractionType.Interact, 1049327u, new Vector3(-207.47699f, -1.806f, 367.87964f), 1190) - { - Mount = true - }; - obj125.Steps = list189; - reference144 = obj125; - ref QuestSequence reference147 = ref span62[4]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list192 = new List(num2); - CollectionsMarshal.SetCount(list192, num2); - CollectionsMarshal.AsSpan(list192)[0] = new QuestStep(EInteractionType.Interact, 1054324u, new Vector3(-171.89288f, 1.6836945f, 347.219f), 1190) - { - Mount = true - }; - obj128.Steps = list192; - reference147 = obj128; - ref QuestSequence reference148 = ref span62[5]; - QuestSequence obj129 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list193 = new List(num2); - CollectionsMarshal.SetCount(list193, num2); - CollectionsMarshal.AsSpan(list193)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054326u, new Vector3(-40.116028f, -4.257869f, 574.18164f), 1190) - { - Fly = true, - NextQuestId = new QuestId(5328) - }; - obj129.Steps = list193; - reference148 = obj129; - questRoot21.QuestSequence = list184; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(5328); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list194 = new List(num); - CollectionsMarshal.SetCount(list194, num); - CollectionsMarshal.AsSpan(list194)[0] = "WigglyMuffin"; - questRoot22.Author = list194; - num = 2; - List list195 = new List(num); - CollectionsMarshal.SetCount(list195, num); - Span span67 = CollectionsMarshal.AsSpan(list195); - ref QuestSequence reference149 = ref span67[0]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054326u, new Vector3(-40.116028f, -4.257869f, 574.18164f), 1190) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ShaaloaniHhusatahwi, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj130.Steps = list196; - reference149 = obj130; - ref QuestSequence reference150 = ref span67[1]; - QuestSequence obj131 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054331u, new Vector3(-322.80463f, 18.201778f, -97.88666f), 1190) - { - NextQuestId = new QuestId(5329) - }; - obj131.Steps = list197; - reference150 = obj131; - questRoot22.QuestSequence = list195; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(5329); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list198 = new List(num); - CollectionsMarshal.SetCount(list198, num); - CollectionsMarshal.AsSpan(list198)[0] = "WigglyMuffin"; - questRoot23.Author = list198; - num = 4; - List list199 = new List(num); - CollectionsMarshal.SetCount(list199, num); - Span span68 = CollectionsMarshal.AsSpan(list199); - ref QuestSequence reference151 = ref span68[0]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054336u, new Vector3(-325.73438f, 18.38136f, -100.41962f), 1190) - { - AetheryteShortcut = EAetheryteLocation.ShaaloaniShesheneweziSprings, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj132.Steps = list200; - reference151 = obj132; - ref QuestSequence reference152 = ref span68[1]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.Interact, 1054339u, new Vector3(-167.19312f, 16.031612f, -333.3944f), 1190) - { - Fly = true - }; - obj133.Steps = list201; - reference152 = obj133; - ref QuestSequence reference153 = ref span68[2]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.Interact, 1054342u, new Vector3(-262.92822f, 32f, -658.2894f), 1191); - obj134.Steps = list202; - reference153 = obj134; - ref QuestSequence reference154 = ref span68[3]; - QuestSequence obj135 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054357u, new Vector3(141.2832f, 42f, -351.9494f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalBrightploomPost - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }, - NextQuestId = new QuestId(5479) - }; - obj135.Steps = list203; - reference154 = obj135; - questRoot23.QuestSequence = list199; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(5330); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list204 = new List(num); - CollectionsMarshal.SetCount(list204, num); - CollectionsMarshal.AsSpan(list204)[0] = "CryoTechnic"; - questRoot24.Author = list204; - num = 6; - List list205 = new List(num); - CollectionsMarshal.SetCount(list205, num); - Span span69 = CollectionsMarshal.AsSpan(list205); - ref QuestSequence reference155 = ref span69[0]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list206 = new List(num2); - CollectionsMarshal.SetCount(list206, num2); - CollectionsMarshal.AsSpan(list206)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054642u, new Vector3(532.8602f, 105.007805f, 645.2887f), 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj136.Steps = list206; - reference155 = obj136; - ref QuestSequence reference156 = ref span69[1]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list207 = new List(num2); - CollectionsMarshal.SetCount(list207, num2); - CollectionsMarshal.AsSpan(list207)[0] = new QuestStep(EInteractionType.Interact, 1054643u, new Vector3(514.3053f, 142.24991f, 793.3623f), 1187) - { - Fly = true, - Land = true - }; - obj137.Steps = list207; - reference156 = obj137; - ref QuestSequence reference157 = ref span69[2]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - Span span70 = CollectionsMarshal.AsSpan(list208); - span70[0] = new QuestStep(EInteractionType.Interact, 1054646u, new Vector3(488.7921f, 112.435005f, 704.12744f), 1187) - { - Fly = true - }; - span70[1] = new QuestStep(EInteractionType.Interact, 1054647u, new Vector3(496.20813f, 114.935f, 619.43994f), 1187); - span70[2] = new QuestStep(EInteractionType.Interact, 1054645u, new Vector3(528.1909f, 107.134995f, 532.3109f), 1187); - span70[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(386.62186f, 124.51217f, 558.175f), 1187) - { - Fly = false - }; - span70[4] = new QuestStep(EInteractionType.Interact, 1054644u, new Vector3(376.51636f, 124.51213f, 549.0653f), 1187); - obj138.Steps = list208; - reference157 = obj138; - ref QuestSequence reference158 = ref span69[3]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - Span span71 = CollectionsMarshal.AsSpan(list209); - span71[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(387.4519f, 124.59686f, 559.0204f), 1187); - span71[1] = new QuestStep(EInteractionType.Interact, 1054641u, new Vector3(504.2953f, 142.24991f, 787.6859f), 1187) - { - Fly = true - }; - obj139.Steps = list209; - reference158 = obj139; - ref QuestSequence reference159 = ref span69[4]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - CollectionsMarshal.AsSpan(list210)[0] = new QuestStep(EInteractionType.Interact, 1054641u, new Vector3(504.2953f, 142.24991f, 787.6859f), 1187); - obj140.Steps = list210; - reference159 = obj140; - ref QuestSequence reference160 = ref span69[5]; - QuestSequence obj141 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - Span span72 = CollectionsMarshal.AsSpan(list211); - span72[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 46198u, - ItemCount = 3 - }; - span72[1] = new QuestStep(EInteractionType.CompleteQuest, 1054641u, new Vector3(504.2953f, 142.24991f, 787.6859f), 1187) - { - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho - }; - obj141.Steps = list211; - reference160 = obj141; - questRoot24.QuestSequence = list205; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(5331); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list212 = new List(num); - CollectionsMarshal.SetCount(list212, num); - CollectionsMarshal.AsSpan(list212)[0] = "CryoTechnic"; - questRoot25.Author = list212; - num = 6; - List list213 = new List(num); - CollectionsMarshal.SetCount(list213, num); - Span span73 = CollectionsMarshal.AsSpan(list213); - ref QuestSequence reference161 = ref span73[0]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list214 = new List(num2); - CollectionsMarshal.SetCount(list214, num2); - CollectionsMarshal.AsSpan(list214)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054636u, new Vector3(506.70618f, 142.24991f, 800.2289f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj142.Steps = list214; - reference161 = obj142; - ref QuestSequence reference162 = ref span73[1]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list215 = new List(num2); - CollectionsMarshal.SetCount(list215, num2); - Span span74 = CollectionsMarshal.AsSpan(list215); - ref QuestStep reference163 = ref span74[0]; - QuestStep obj144 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) - { - TargetTerritoryId = (ushort)1297 - }; - SkipConditions skipConditions13 = new SkipConditions(); - SkipStepConditions skipStepConditions11 = new SkipStepConditions(); - num3 = 1; - List list216 = new List(num3); - CollectionsMarshal.SetCount(list216, num3); - CollectionsMarshal.AsSpan(list216)[0] = 1187; - skipStepConditions11.NotInTerritory = list216; - skipConditions13.StepIf = skipStepConditions11; - obj144.SkipConditions = skipConditions13; - reference163 = obj144; - span74[1] = new QuestStep(EInteractionType.Interact, 1054650u, new Vector3(16.983276f, 0.4f, 145.09802f), 1297); - obj143.Steps = list215; - reference162 = obj143; - ref QuestSequence reference164 = ref span73[2]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - CollectionsMarshal.AsSpan(list217)[0] = new QuestStep(EInteractionType.Emote, 1054651u, new Vector3(22.537537f, 0.4f, 146.68494f), 1297) - { - Emote = EEmote.Soothe - }; - obj145.Steps = list217; - reference164 = obj145; - ref QuestSequence reference165 = ref span73[3]; - QuestSequence obj146 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list218 = new List(num2); - CollectionsMarshal.SetCount(list218, num2); - CollectionsMarshal.AsSpan(list218)[0] = new QuestStep(EInteractionType.Interact, 1054652u, new Vector3(403.79956f, 122.535f, 590.0206f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj146.Steps = list218; - reference165 = obj146; - ref QuestSequence reference166 = ref span73[4]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - Span span75 = CollectionsMarshal.AsSpan(list219); - span75[0] = new QuestStep(EInteractionType.Craft, null, null, 1187) - { - ItemId = 46200u, - ItemCount = 1 - }; - span75[1] = new QuestStep(EInteractionType.Interact, 1054652u, new Vector3(403.79956f, 122.535f, 590.0206f), 1187); - obj147.Steps = list219; - reference166 = obj147; - ref QuestSequence reference167 = ref span73[5]; - QuestSequence obj148 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054636u, new Vector3(506.70618f, 142.24991f, 800.2289f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(503.1118f, 142.24991f, 787.5082f), - MaximumDistance = 500f, - TerritoryId = 1187 - } - } - } - }; - obj148.Steps = list220; - reference167 = obj148; - questRoot25.QuestSequence = list213; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(5332); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list221 = new List(num); - CollectionsMarshal.SetCount(list221, num); - CollectionsMarshal.AsSpan(list221)[0] = "CryoTechnic"; - questRoot26.Author = list221; - num = 5; - List list222 = new List(num); - CollectionsMarshal.SetCount(list222, num); - Span span76 = CollectionsMarshal.AsSpan(list222); - ref QuestSequence reference168 = ref span76[0]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list223 = new List(num2); - CollectionsMarshal.SetCount(list223, num2); - CollectionsMarshal.AsSpan(list223)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054636u, new Vector3(506.70618f, 142.24991f, 800.2289f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj149.Steps = list223; - reference168 = obj149; - ref QuestSequence reference169 = ref span76[1]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.Interact, 1054673u, new Vector3(433.40198f, 116.435f, 677.14954f), 1187) - { - Fly = true - }; - obj150.Steps = list224; - reference169 = obj150; - ref QuestSequence reference170 = ref span76[2]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - Span span77 = CollectionsMarshal.AsSpan(list225); - ref QuestStep reference171 = ref span77[0]; - QuestStep obj152 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) - { - TargetTerritoryId = (ushort)1297, - Fly = true - }; - SkipConditions skipConditions14 = new SkipConditions(); - SkipStepConditions skipStepConditions12 = new SkipStepConditions(); - num3 = 1; - List list226 = new List(num3); - CollectionsMarshal.SetCount(list226, num3); - CollectionsMarshal.AsSpan(list226)[0] = 1187; - skipStepConditions12.NotInTerritory = list226; - skipConditions14.StepIf = skipStepConditions12; - obj152.SkipConditions = skipConditions14; - reference171 = obj152; - span77[1] = new QuestStep(EInteractionType.Interact, 1054654u, new Vector3(-26.352356f, 0.19851297f, 65.11023f), 1297); - obj151.Steps = list225; - reference170 = obj151; - ref QuestSequence reference172 = ref span76[3]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - Span span78 = CollectionsMarshal.AsSpan(list227); - ref QuestStep reference173 = ref span78[0]; - QuestStep obj154 = new QuestStep(EInteractionType.Interact, 2014858u, new Vector3(-0.9003296f, 23.330994f, -89.21954f), 1297) - { - TargetTerritoryId = (ushort)1187 - }; - SkipConditions skipConditions15 = new SkipConditions(); - SkipStepConditions skipStepConditions13 = new SkipStepConditions(); - num3 = 1; - List list228 = new List(num3); - CollectionsMarshal.SetCount(list228, num3); - CollectionsMarshal.AsSpan(list228)[0] = 1297; - skipStepConditions13.NotInTerritory = list228; - skipConditions15.StepIf = skipStepConditions13; - obj154.SkipConditions = skipConditions15; - reference173 = obj154; - span78[1] = new QuestStep(EInteractionType.Interact, 1054636u, new Vector3(506.70618f, 142.24991f, 800.2289f), 1187); - obj153.Steps = list227; - reference172 = obj153; - ref QuestSequence reference174 = ref span76[4]; - QuestSequence obj155 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - Span span79 = CollectionsMarshal.AsSpan(list229); - span79[0] = new QuestStep(EInteractionType.Craft, null, null, 1297) - { - ItemId = 46202u, - ItemCount = 1 - }; - span79[1] = new QuestStep(EInteractionType.CompleteQuest, 1054636u, new Vector3(506.70618f, 142.24991f, 800.2289f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(503.1118f, 142.24991f, 787.5082f), - MaximumDistance = 500f, - TerritoryId = 1187 - } - } - } - }; - obj155.Steps = list229; - reference174 = obj155; - questRoot26.QuestSequence = list222; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(5333); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list230 = new List(num); - CollectionsMarshal.SetCount(list230, num); - CollectionsMarshal.AsSpan(list230)[0] = "WigglyMuffin, CryoTechnic"; - questRoot27.Author = list230; - num = 6; - List list231 = new List(num); - CollectionsMarshal.SetCount(list231, num); - Span span80 = CollectionsMarshal.AsSpan(list231); - ref QuestSequence reference175 = ref span80[0]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - CollectionsMarshal.AsSpan(list232)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054636u, new Vector3(506.70618f, 142.24991f, 800.2289f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj156.Steps = list232; - reference175 = obj156; - ref QuestSequence reference176 = ref span80[1]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list233 = new List(num2); - CollectionsMarshal.SetCount(list233, num2); - Span span81 = CollectionsMarshal.AsSpan(list233); - ref QuestStep reference177 = ref span81[0]; - QuestStep obj158 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) - { - TargetTerritoryId = (ushort)1297 - }; - SkipConditions skipConditions16 = new SkipConditions(); - SkipStepConditions skipStepConditions14 = new SkipStepConditions(); - num3 = 1; - List list234 = new List(num3); - CollectionsMarshal.SetCount(list234, num3); - CollectionsMarshal.AsSpan(list234)[0] = 1187; - skipStepConditions14.NotInTerritory = list234; - skipConditions16.StepIf = skipStepConditions14; - obj158.SkipConditions = skipConditions16; - reference177 = obj158; - span81[1] = new QuestStep(EInteractionType.Interact, 1054655u, new Vector3(-71.61066f, 5.9649034f, 65.72058f), 1297); - obj157.Steps = list233; - reference176 = obj157; - ref QuestSequence reference178 = ref span80[2]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.Interact, 1054674u, new Vector3(-134.11157f, 6.5164585f, 61.81433f), 1297); - obj159.Steps = list235; - reference178 = obj159; - ref QuestSequence reference179 = ref span80[3]; - QuestSequence obj160 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.Interact, 1054657u, new Vector3(446.1891f, 118.92377f, 543.93823f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj160.Steps = list236; - reference179 = obj160; - ref QuestSequence reference180 = ref span80[4]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - CollectionsMarshal.AsSpan(list237)[0] = new QuestStep(EInteractionType.Interact, 1054636u, new Vector3(506.70618f, 142.24991f, 800.2289f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj161.Steps = list237; - reference180 = obj161; - ref QuestSequence reference181 = ref span80[5]; - QuestSequence obj162 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list238 = new List(num2); - CollectionsMarshal.SetCount(list238, num2); - Span span82 = CollectionsMarshal.AsSpan(list238); - span82[0] = new QuestStep(EInteractionType.Craft, null, null, 1297) - { - ItemId = 46204u, - ItemCount = 1 - }; - span82[1] = new QuestStep(EInteractionType.CompleteQuest, 1054636u, new Vector3(506.70618f, 142.24991f, 800.2289f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(503.1118f, 142.24991f, 787.5082f), - MaximumDistance = 500f, - TerritoryId = 1187 - } - } - } - }; - obj162.Steps = list238; - reference181 = obj162; - questRoot27.QuestSequence = list231; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(5334); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list239 = new List(num); - CollectionsMarshal.SetCount(list239, num); - CollectionsMarshal.AsSpan(list239)[0] = "WigglyMuffin"; - questRoot28.Author = list239; - num = 8; - List list240 = new List(num); - CollectionsMarshal.SetCount(list240, num); - Span span83 = CollectionsMarshal.AsSpan(list240); - ref QuestSequence reference182 = ref span83[0]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list241 = new List(num2); - CollectionsMarshal.SetCount(list241, num2); - CollectionsMarshal.AsSpan(list241)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054636u, new Vector3(506.70618f, 142.24991f, 800.2289f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj163.Steps = list241; - reference182 = obj163; - ref QuestSequence reference183 = ref span83[1]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - Span span84 = CollectionsMarshal.AsSpan(list242); - ref QuestStep reference184 = ref span84[0]; - QuestStep obj165 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) - { - TargetTerritoryId = (ushort)1297 - }; - SkipConditions skipConditions17 = new SkipConditions(); - SkipStepConditions skipStepConditions15 = new SkipStepConditions(); - num3 = 1; - List list243 = new List(num3); - CollectionsMarshal.SetCount(list243, num3); - CollectionsMarshal.AsSpan(list243)[0] = 1187; - skipStepConditions15.NotInTerritory = list243; - skipConditions17.StepIf = skipStepConditions15; - obj165.SkipConditions = skipConditions17; - reference184 = obj165; - span84[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-1.0223392f, 0.39999998f, 150.66316f), 1297) - { - DisableNavmesh = true, - Mount = true - }; - span84[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-66.967834f, 4.053136f, 162.06543f), 1297) - { - DisableNavmesh = true - }; - span84[3] = new QuestStep(EInteractionType.Interact, 1055121u, new Vector3(-105.94348f, 4.0711794f, 153.1853f), 1297) - { - DisableNavmesh = true - }; - obj164.Steps = list242; - reference183 = obj164; - ref QuestSequence reference185 = ref span83[2]; - QuestSequence obj166 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - Span span85 = CollectionsMarshal.AsSpan(list244); - span85[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-66.967834f, 4.053136f, 162.06543f), 1297) - { - DisableNavmesh = true, - Mount = true - }; - span85[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-2.9967885f, 0.39999998f, 162.83284f), 1297) - { - DisableNavmesh = true - }; - span85[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-0.107587256f, 40.897377f, 312.03854f), 1297) - { - DisableNavmesh = true - }; - span85[3] = new QuestStep(EInteractionType.Interact, 2014980u, new Vector3(0.03678493f, 42.45785f, 314.6959f), 1297); - obj166.Steps = list244; - reference185 = obj166; - ref QuestSequence reference186 = ref span83[3]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - CollectionsMarshal.AsSpan(list245)[0] = new QuestStep(EInteractionType.Interact, 1054659u, new Vector3(-1.9684448f, 38.852776f, 302.6626f), 1297); - obj167.Steps = list245; - reference186 = obj167; - ref QuestSequence reference187 = ref span83[4]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list246 = new List(num2); - CollectionsMarshal.SetCount(list246, num2); - Span span86 = CollectionsMarshal.AsSpan(list246); - span86[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-1.3840146f, 0.37490904f, 181.20703f), 1297) - { - DisableNavmesh = true, - Mount = true - }; - span86[1] = new QuestStep(EInteractionType.Interact, 1054661u, new Vector3(-73.19757f, 5.964904f, 66.84973f), 1297) - { - DisableNavmesh = true - }; - obj168.Steps = list246; - reference187 = obj168; - ref QuestSequence reference188 = ref span83[5]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - Span span87 = CollectionsMarshal.AsSpan(list247); - span87[0] = new QuestStep(EInteractionType.Interact, 1054675u, new Vector3(-360.61652f, 113.62453f, 560.1738f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-360.61652f, 113.62453f, 560.1738f), - MaximumDistance = 500f, - TerritoryId = 1187 - } - } - } - }; - span87[1] = new QuestStep(EInteractionType.Interact, 1054662u, new Vector3(-355.51996f, 101.70931f, 497.0016f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-355.51996f, 101.70931f, 497.0016f), - MaximumDistance = 500f, - TerritoryId = 1187 - } - } - } - }; - obj169.Steps = list247; - reference188 = obj169; - ref QuestSequence reference189 = ref span83[6]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - CollectionsMarshal.AsSpan(list248)[0] = new QuestStep(EInteractionType.Interact, 1054636u, new Vector3(506.70618f, 142.24991f, 800.2289f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(506.70618f, 142.24991f, 800.2289f), - MaximumDistance = 500f, - TerritoryId = 1187 - } - } - } - }; - obj170.Steps = list248; - reference189 = obj170; - ref QuestSequence reference190 = ref span83[7]; - QuestSequence obj171 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list249 = new List(num2); - CollectionsMarshal.SetCount(list249, num2); - Span span88 = CollectionsMarshal.AsSpan(list249); - span88[0] = new QuestStep(EInteractionType.Craft, null, null, 1187) - { - ItemId = 46206u, - ItemCount = 1 - }; - span88[1] = new QuestStep(EInteractionType.CompleteQuest, 1054636u, new Vector3(506.70618f, 142.24991f, 800.2289f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(503.1118f, 142.24991f, 787.5082f), - MaximumDistance = 500f, - TerritoryId = 1187 - } - } - } - }; - obj171.Steps = list249; - reference190 = obj171; - questRoot28.QuestSequence = list240; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(5335); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list250 = new List(num); - CollectionsMarshal.SetCount(list250, num); - CollectionsMarshal.AsSpan(list250)[0] = "WigglyMuffin"; - questRoot29.Author = list250; - num = 3; - List list251 = new List(num); - CollectionsMarshal.SetCount(list251, num); - Span span89 = CollectionsMarshal.AsSpan(list251); - ref QuestSequence reference191 = ref span89[0]; - QuestSequence obj172 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - CollectionsMarshal.AsSpan(list252)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054636u, new Vector3(506.70618f, 142.24991f, 800.2289f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj172.Steps = list252; - reference191 = obj172; - ref QuestSequence reference192 = ref span89[1]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - Span span90 = CollectionsMarshal.AsSpan(list253); - ref QuestStep reference193 = ref span90[0]; - QuestStep obj174 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) - { - TargetTerritoryId = (ushort)1297 - }; - SkipConditions skipConditions18 = new SkipConditions(); - SkipStepConditions skipStepConditions16 = new SkipStepConditions(); - num3 = 1; - List list254 = new List(num3); - CollectionsMarshal.SetCount(list254, num3); - CollectionsMarshal.AsSpan(list254)[0] = 1187; - skipStepConditions16.NotInTerritory = list254; - skipConditions18.StepIf = skipStepConditions16; - obj174.SkipConditions = skipConditions18; - reference193 = obj174; - span90[1] = new QuestStep(EInteractionType.Interact, 1054668u, new Vector3(-56.565247f, 4.000225f, 50.736206f), 1297); - ref QuestStep reference194 = ref span90[2]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1054669u, new Vector3(-50.30902f, 1.3218602f, 175.09729f), 1297); - num3 = 1; - List list255 = new List(num3); - CollectionsMarshal.SetCount(list255, num3); - CollectionsMarshal.AsSpan(list255)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANYOK006_05335_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANYOK006_05335_A1_000_001") - }; - questStep23.DialogueChoices = list255; - reference194 = questStep23; - span90[3] = new QuestStep(EInteractionType.Interact, 1054667u, new Vector3(71.33594f, 3.942892f, 186.93823f), 1297); - obj173.Steps = list253; - reference192 = obj173; - ref QuestSequence reference195 = ref span89[2]; - QuestSequence obj175 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054670u, new Vector3(-2.2736206f, 38.852776f, 304.82947f), 1297); - obj175.Steps = list256; - reference195 = obj175; - questRoot29.QuestSequence = list251; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(5336); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list257 = new List(num); - CollectionsMarshal.SetCount(list257, num); - CollectionsMarshal.AsSpan(list257)[0] = "WigglyMuffin"; - questRoot30.Author = list257; - num = 4; - List list258 = new List(num); - CollectionsMarshal.SetCount(list258, num); - Span span91 = CollectionsMarshal.AsSpan(list258); - ref QuestSequence reference196 = ref span91[0]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - CollectionsMarshal.AsSpan(list259)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj176.Steps = list259; - reference196 = obj176; - ref QuestSequence reference197 = ref span91[1]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - Span span92 = CollectionsMarshal.AsSpan(list260); - ref QuestStep reference198 = ref span92[0]; - QuestStep obj178 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) - { - TargetTerritoryId = (ushort)1297, - Fly = true - }; - SkipConditions skipConditions19 = new SkipConditions(); - SkipStepConditions skipStepConditions17 = new SkipStepConditions(); - num3 = 1; - List list261 = new List(num3); - CollectionsMarshal.SetCount(list261, num3); - CollectionsMarshal.AsSpan(list261)[0] = 1187; - skipStepConditions17.NotInTerritory = list261; - skipConditions19.StepIf = skipStepConditions17; - obj178.SkipConditions = skipConditions19; - reference198 = obj178; - span92[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(52.610603f, 0f, 68.19062f), 1297) - { - Fly = false - }; - span92[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(70.52385f, 1.8905392f, 65.476295f), 1297) - { - Fly = false - }; - span92[3] = new QuestStep(EInteractionType.Interact, 1055802u, new Vector3(74.75391f, 1.8866259f, 50.369995f), 1297); - obj177.Steps = list260; - reference197 = obj177; - ref QuestSequence reference199 = ref span91[2]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list262 = new List(num2); - CollectionsMarshal.SetCount(list262, num2); - Span span93 = CollectionsMarshal.AsSpan(list262); - span93[0] = new QuestStep(EInteractionType.Craft, null, null, 1297) - { - ItemId = 46208u, - ItemCount = 3 - }; - span93[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(70.52385f, 1.8905392f, 65.476295f), 1297) - { - Mount = true, - Fly = false - }; - span93[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(70.10631f, 1.8898277f, 100.54272f), 1297) - { - Fly = false - }; - span93[3] = new QuestStep(EInteractionType.Interact, 1055816u, new Vector3(98.924194f, 1.890541f, 98.74109f), 1297); - obj179.Steps = list262; - reference199 = obj179; - ref QuestSequence reference200 = ref span91[3]; - QuestSequence obj180 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list263 = new List(num2); - CollectionsMarshal.SetCount(list263, num2); - CollectionsMarshal.AsSpan(list263)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj180.Steps = list263; - reference200 = obj180; - questRoot30.QuestSequence = list258; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(5337); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list264 = new List(num); - CollectionsMarshal.SetCount(list264, num); - CollectionsMarshal.AsSpan(list264)[0] = "WigglyMuffin"; - questRoot31.Author = list264; - num = 3; - List list265 = new List(num); - CollectionsMarshal.SetCount(list265, num); - Span span94 = CollectionsMarshal.AsSpan(list265); - ref QuestSequence reference201 = ref span94[0]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - CollectionsMarshal.AsSpan(list266)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj181.Steps = list266; - reference201 = obj181; - ref QuestSequence reference202 = ref span94[1]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - CollectionsMarshal.AsSpan(list267)[0] = new QuestStep(EInteractionType.Interact, 1054676u, new Vector3(500.93835f, 142.24991f, 782.22314f), 1187); - obj182.Steps = list267; - reference202 = obj182; - ref QuestSequence reference203 = ref span94[2]; - QuestSequence obj183 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list268 = new List(num2); - CollectionsMarshal.SetCount(list268, num2); - Span span95 = CollectionsMarshal.AsSpan(list268); - span95[0] = new QuestStep(EInteractionType.Craft, null, null, 1187) - { - ItemId = 46210u, - ItemCount = 2, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span95[1] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187); - obj183.Steps = list268; - reference203 = obj183; - questRoot31.QuestSequence = list265; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(5338); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list269 = new List(num); - CollectionsMarshal.SetCount(list269, num); - CollectionsMarshal.AsSpan(list269)[0] = "CryoTechnic"; - questRoot32.Author = list269; - num = 4; - List list270 = new List(num); - CollectionsMarshal.SetCount(list270, num); - Span span96 = CollectionsMarshal.AsSpan(list270); - ref QuestSequence reference204 = ref span96[0]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - CollectionsMarshal.AsSpan(list271)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj184.Steps = list271; - reference204 = obj184; - ref QuestSequence reference205 = ref span96[1]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - CollectionsMarshal.AsSpan(list272)[0] = new QuestStep(EInteractionType.Interact, 1055817u, new Vector3(458.15198f, 114.935f, 657.3739f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj185.Steps = list272; - reference205 = obj185; - ref QuestSequence reference206 = ref span96[2]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - Span span97 = CollectionsMarshal.AsSpan(list273); - span97[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 46212u, - ItemCount = 3 - }; - span97[1] = new QuestStep(EInteractionType.Interact, 1055817u, new Vector3(458.15198f, 114.935f, 657.3739f), 1187); - obj186.Steps = list273; - reference206 = obj186; - ref QuestSequence reference207 = ref span96[3]; - QuestSequence obj187 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list274 = new List(num2); - CollectionsMarshal.SetCount(list274, num2); - CollectionsMarshal.AsSpan(list274)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj187.Steps = list274; - reference207 = obj187; - questRoot32.QuestSequence = list270; - AddQuest(questId32, questRoot32); - QuestId questId33 = new QuestId(5339); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list275 = new List(num); - CollectionsMarshal.SetCount(list275, num); - CollectionsMarshal.AsSpan(list275)[0] = "CryoTechnic"; - questRoot33.Author = list275; - num = 3; - List list276 = new List(num); - CollectionsMarshal.SetCount(list276, num); - Span span98 = CollectionsMarshal.AsSpan(list276); - ref QuestSequence reference208 = ref span98[0]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - CollectionsMarshal.AsSpan(list277)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj188.Steps = list277; - reference208 = obj188; - ref QuestSequence reference209 = ref span98[1]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - Span span99 = CollectionsMarshal.AsSpan(list278); - ref QuestStep reference210 = ref span99[0]; - QuestStep obj190 = new QuestStep(EInteractionType.Interact, 1055818u, new Vector3(583.276f, 120.7841f, 382.55884f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 6; - List> list279 = new List>(num3); - CollectionsMarshal.SetCount(list279, num3); - Span> span100 = CollectionsMarshal.AsSpan(list279); - span100[0] = null; - ref List reference211 = ref span100[1]; - int num4 = 1; - List list280 = new List(num4); - CollectionsMarshal.SetCount(list280, num4); - CollectionsMarshal.AsSpan(list280)[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference211 = list280; - span100[2] = null; - span100[3] = null; - span100[4] = null; - span100[5] = null; - obj190.RequiredQuestVariables = list279; - reference210 = obj190; - ref QuestStep reference212 = ref span99[1]; - QuestStep obj191 = new QuestStep(EInteractionType.Interact, 1055819u, new Vector3(442.31323f, 101.649635f, 363.21045f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 6; - List> list281 = new List>(num3); - CollectionsMarshal.SetCount(list281, num3); - Span> span101 = CollectionsMarshal.AsSpan(list281); - span101[0] = null; - ref List reference213 = ref span101[1]; - num4 = 1; - List list282 = new List(num4); - CollectionsMarshal.SetCount(list282, num4); - CollectionsMarshal.AsSpan(list282)[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - reference213 = list282; - span101[2] = null; - span101[3] = null; - span101[4] = null; - span101[5] = null; - obj191.RequiredQuestVariables = list281; - reference212 = obj191; - ref QuestStep reference214 = ref span99[2]; - QuestStep obj192 = new QuestStep(EInteractionType.Interact, 1055820u, new Vector3(379.50696f, 78.73412f, 440.63464f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 6; - List> list283 = new List>(num3); - CollectionsMarshal.SetCount(list283, num3); - Span> span102 = CollectionsMarshal.AsSpan(list283); - span102[0] = null; - ref List reference215 = ref span102[1]; - num4 = 1; - List list284 = new List(num4); - CollectionsMarshal.SetCount(list284, num4); - CollectionsMarshal.AsSpan(list284)[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - reference215 = list284; - span102[2] = null; - span102[3] = null; - span102[4] = null; - span102[5] = null; - obj192.RequiredQuestVariables = list283; - reference214 = obj192; - obj189.Steps = list278; - reference209 = obj189; - ref QuestSequence reference216 = ref span98[2]; - QuestSequence obj193 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - CollectionsMarshal.AsSpan(list285)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho - }; - obj193.Steps = list285; - reference216 = obj193; - questRoot33.QuestSequence = list276; - AddQuest(questId33, questRoot33); - QuestId questId34 = new QuestId(5340); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list286 = new List(num); - CollectionsMarshal.SetCount(list286, num); - CollectionsMarshal.AsSpan(list286)[0] = "CryoTechnic"; - questRoot34.Author = list286; - num = 4; - List list287 = new List(num); - CollectionsMarshal.SetCount(list287, num); - Span span103 = CollectionsMarshal.AsSpan(list287); - ref QuestSequence reference217 = ref span103[0]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - CollectionsMarshal.AsSpan(list288)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj194.Steps = list288; - reference217 = obj194; - ref QuestSequence reference218 = ref span103[1]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - Span span104 = CollectionsMarshal.AsSpan(list289); - ref QuestStep reference219 = ref span104[0]; - QuestStep obj196 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) - { - TargetTerritoryId = (ushort)1297 - }; - SkipConditions skipConditions20 = new SkipConditions(); - SkipStepConditions skipStepConditions18 = new SkipStepConditions(); - num3 = 1; - List list290 = new List(num3); - CollectionsMarshal.SetCount(list290, num3); - CollectionsMarshal.AsSpan(list290)[0] = 1187; - skipStepConditions18.NotInTerritory = list290; - skipConditions20.StepIf = skipStepConditions18; - obj196.SkipConditions = skipConditions20; - reference219 = obj196; - span104[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(52.610603f, 0f, 68.19062f), 1297) - { - Fly = false - }; - span104[2] = new QuestStep(EInteractionType.Interact, 1055802u, new Vector3(74.75391f, 1.8866259f, 50.369995f), 1297); - obj195.Steps = list289; - reference218 = obj195; - ref QuestSequence reference220 = ref span103[2]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - Span span105 = CollectionsMarshal.AsSpan(list291); - span105[0] = new QuestStep(EInteractionType.Craft, null, null, 1297) - { - ItemId = 46214u, - ItemCount = 3 - }; - span105[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(68.66426f, 1.8905385f, 65.188644f), 1297); - span105[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(89.68089f, 3.372309f, 67.41638f), 1297); - span105[3] = new QuestStep(EInteractionType.Interact, 1055821u, new Vector3(88.97534f, 3.3723087f, 75.791504f), 1297); - obj197.Steps = list291; - reference220 = obj197; - ref QuestSequence reference221 = ref span103[3]; - QuestSequence obj198 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - CollectionsMarshal.AsSpan(list292)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj198.Steps = list292; - reference221 = obj198; - questRoot34.QuestSequence = list287; - AddQuest(questId34, questRoot34); - QuestId questId35 = new QuestId(5341); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list293 = new List(num); - CollectionsMarshal.SetCount(list293, num); - CollectionsMarshal.AsSpan(list293)[0] = "CryoTechnic"; - questRoot35.Author = list293; - num = 4; - List list294 = new List(num); - CollectionsMarshal.SetCount(list294, num); - Span span106 = CollectionsMarshal.AsSpan(list294); - ref QuestSequence reference222 = ref span106[0]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - CollectionsMarshal.AsSpan(list295)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj199.Steps = list295; - reference222 = obj199; - ref QuestSequence reference223 = ref span106[1]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - Span span107 = CollectionsMarshal.AsSpan(list296); - ref QuestStep reference224 = ref span107[0]; - QuestStep obj201 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) - { - TargetTerritoryId = (ushort)1297 - }; - SkipConditions skipConditions21 = new SkipConditions(); - SkipStepConditions skipStepConditions19 = new SkipStepConditions(); - num3 = 1; - List list297 = new List(num3); - CollectionsMarshal.SetCount(list297, num3); - CollectionsMarshal.AsSpan(list297)[0] = 1187; - skipStepConditions19.NotInTerritory = list297; - skipConditions21.StepIf = skipStepConditions19; - obj201.SkipConditions = skipConditions21; - reference224 = obj201; - span107[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(52.610603f, 0f, 68.19062f), 1297) - { - Fly = false - }; - span107[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(89.2292f, 3.372309f, 66.11308f), 1297); - span107[3] = new QuestStep(EInteractionType.Interact, 1055821u, new Vector3(88.97534f, 3.3723087f, 75.791504f), 1297); - obj200.Steps = list296; - reference223 = obj200; - ref QuestSequence reference225 = ref span106[2]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - Span span108 = CollectionsMarshal.AsSpan(list298); - span108[0] = new QuestStep(EInteractionType.Craft, null, null, 1297) - { - ItemId = 46216u, - ItemCount = 3 - }; - span108[1] = new QuestStep(EInteractionType.Interact, 1055821u, new Vector3(88.97534f, 3.3723087f, 75.791504f), 1297); - obj202.Steps = list298; - reference225 = obj202; - ref QuestSequence reference226 = ref span106[3]; - QuestSequence obj203 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - CollectionsMarshal.AsSpan(list299)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj203.Steps = list299; - reference226 = obj203; - questRoot35.QuestSequence = list294; - AddQuest(questId35, questRoot35); - QuestId questId36 = new QuestId(5342); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list300 = new List(num); - CollectionsMarshal.SetCount(list300, num); - CollectionsMarshal.AsSpan(list300)[0] = "CryoTechnic"; - questRoot36.Author = list300; - num = 4; - List list301 = new List(num); - CollectionsMarshal.SetCount(list301, num); - Span span109 = CollectionsMarshal.AsSpan(list301); - ref QuestSequence reference227 = ref span109[0]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list302 = new List(num2); - CollectionsMarshal.SetCount(list302, num2); - CollectionsMarshal.AsSpan(list302)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj204.Steps = list302; - reference227 = obj204; - ref QuestSequence reference228 = ref span109[1]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list303 = new List(num2); - CollectionsMarshal.SetCount(list303, num2); - ref QuestStep reference229 = ref CollectionsMarshal.AsSpan(list303)[0]; - QuestStep obj206 = new QuestStep(EInteractionType.Interact, 1054676u, new Vector3(500.93835f, 142.24991f, 782.22314f), 1187) - { - TargetTerritoryId = (ushort)1297 - }; - SkipConditions skipConditions22 = new SkipConditions(); - SkipStepConditions skipStepConditions20 = new SkipStepConditions(); - num3 = 1; - List list304 = new List(num3); - CollectionsMarshal.SetCount(list304, num3); - CollectionsMarshal.AsSpan(list304)[0] = 1187; - skipStepConditions20.NotInTerritory = list304; - skipConditions22.StepIf = skipStepConditions20; - obj206.SkipConditions = skipConditions22; - reference229 = obj206; - obj205.Steps = list303; - reference228 = obj205; - ref QuestSequence reference230 = ref span109[2]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list305 = new List(num2); - CollectionsMarshal.SetCount(list305, num2); - Span span110 = CollectionsMarshal.AsSpan(list305); - span110[0] = new QuestStep(EInteractionType.Craft, null, null, 1297) - { - ItemId = 46218u, - ItemCount = 3 - }; - span110[1] = new QuestStep(EInteractionType.Interact, 1055824u, new Vector3(520.714f, 111.135f, 608.5145f), 1187) - { - Fly = true, - Land = true - }; - obj207.Steps = list305; - reference230 = obj207; - ref QuestSequence reference231 = ref span109[3]; - QuestSequence obj208 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list306 = new List(num2); - CollectionsMarshal.SetCount(list306, num2); - CollectionsMarshal.AsSpan(list306)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj208.Steps = list306; - reference231 = obj208; - questRoot36.QuestSequence = list301; - AddQuest(questId36, questRoot36); - QuestId questId37 = new QuestId(5343); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list307 = new List(num); - CollectionsMarshal.SetCount(list307, num); - CollectionsMarshal.AsSpan(list307)[0] = "WigglyMuffin"; - questRoot37.Author = list307; - num = 4; - List list308 = new List(num); - CollectionsMarshal.SetCount(list308, num); - Span span111 = CollectionsMarshal.AsSpan(list308); - ref QuestSequence reference232 = ref span111[0]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - CollectionsMarshal.AsSpan(list309)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj209.Steps = list309; - reference232 = obj209; - ref QuestSequence reference233 = ref span111[1]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - Span span112 = CollectionsMarshal.AsSpan(list310); - ref QuestStep reference234 = ref span112[0]; - QuestStep obj211 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) - { - TargetTerritoryId = (ushort)1297 - }; - SkipConditions skipConditions23 = new SkipConditions(); - SkipStepConditions skipStepConditions21 = new SkipStepConditions(); - num3 = 1; - List list311 = new List(num3); - CollectionsMarshal.SetCount(list311, num3); - CollectionsMarshal.AsSpan(list311)[0] = 1187; - skipStepConditions21.NotInTerritory = list311; - skipConditions23.StepIf = skipStepConditions21; - obj211.SkipConditions = skipConditions23; - reference234 = obj211; - span112[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(52.610603f, 0f, 68.19062f), 1297) - { - Fly = false - }; - span112[2] = new QuestStep(EInteractionType.Interact, 1055786u, new Vector3(97.24573f, 4.942853f, 198.19934f), 1297); - obj210.Steps = list310; - reference233 = obj210; - ref QuestSequence reference235 = ref span111[2]; - QuestSequence obj212 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - Span span113 = CollectionsMarshal.AsSpan(list312); - ref QuestStep reference236 = ref span113[0]; - QuestStep obj213 = new QuestStep(EInteractionType.UseItem, 2014944u, new Vector3(162.2566f, 3.905f, 88.95158f), 1297) - { - ItemId = 2003777u - }; - num3 = 6; - List list313 = new List(num3); - CollectionsMarshal.SetCount(list313, num3); - Span span114 = CollectionsMarshal.AsSpan(list313); - span114[0] = null; - span114[1] = null; - span114[2] = null; - span114[3] = null; - span114[4] = null; - span114[5] = new QuestWorkValue((byte)8, null, EQuestWorkMode.Bitwise); - obj213.CompletionQuestVariablesFlags = list313; - reference236 = obj213; - ref QuestStep reference237 = ref span113[1]; - QuestStep obj214 = new QuestStep(EInteractionType.UseItem, 2014946u, new Vector3(99.3091f, 5.821984f, 15.11211f), 1297) - { - ItemId = 2003777u - }; - num3 = 6; - List list314 = new List(num3); - CollectionsMarshal.SetCount(list314, num3); - Span span115 = CollectionsMarshal.AsSpan(list314); - span115[0] = null; - span115[1] = null; - span115[2] = null; - span115[3] = null; - span115[4] = null; - span115[5] = new QuestWorkValue((byte)10, null, EQuestWorkMode.Bitwise); - obj214.CompletionQuestVariablesFlags = list314; - reference237 = obj214; - span113[2] = new QuestStep(EInteractionType.UseItem, 2014945u, new Vector3(72.99576f, 3.579935f, 29.1846f), 1297) - { - ItemId = 2003777u - }; - obj212.Steps = list312; - reference235 = obj212; - ref QuestSequence reference238 = ref span111[3]; - QuestSequence obj215 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - CollectionsMarshal.AsSpan(list315)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj215.Steps = list315; - reference238 = obj215; - questRoot37.QuestSequence = list308; - AddQuest(questId37, questRoot37); - QuestId questId38 = new QuestId(5344); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list316 = new List(num); - CollectionsMarshal.SetCount(list316, num); - CollectionsMarshal.AsSpan(list316)[0] = "WigglyMuffin"; - questRoot38.Author = list316; - num = 4; - List list317 = new List(num); - CollectionsMarshal.SetCount(list317, num); - Span span116 = CollectionsMarshal.AsSpan(list317); - ref QuestSequence reference239 = ref span116[0]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list318 = new List(num2); - CollectionsMarshal.SetCount(list318, num2); - CollectionsMarshal.AsSpan(list318)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj216.Steps = list318; - reference239 = obj216; - ref QuestSequence reference240 = ref span116[1]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list319 = new List(num2); - CollectionsMarshal.SetCount(list319, num2); - CollectionsMarshal.AsSpan(list319)[0] = new QuestStep(EInteractionType.Interact, 1055787u, new Vector3(521.8126f, 111.135f, 713.4049f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj217.Steps = list319; - reference240 = obj217; - ref QuestSequence reference241 = ref span116[2]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list320 = new List(num2); - CollectionsMarshal.SetCount(list320, num2); - Span span117 = CollectionsMarshal.AsSpan(list320); - span117[0] = new QuestStep(EInteractionType.Craft, null, null, 1187) - { - ItemId = 46220u, - ItemCount = 1 - }; - span117[1] = new QuestStep(EInteractionType.Interact, 1055787u, new Vector3(521.8126f, 111.135f, 713.4049f), 1187); - obj218.Steps = list320; - reference241 = obj218; - ref QuestSequence reference242 = ref span116[3]; - QuestSequence obj219 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list321 = new List(num2); - CollectionsMarshal.SetCount(list321, num2); - CollectionsMarshal.AsSpan(list321)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true - }; - obj219.Steps = list321; - reference242 = obj219; - questRoot38.QuestSequence = list317; - AddQuest(questId38, questRoot38); - QuestId questId39 = new QuestId(5345); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list322 = new List(num); - CollectionsMarshal.SetCount(list322, num); - CollectionsMarshal.AsSpan(list322)[0] = "CryoTechnic"; - questRoot39.Author = list322; - num = 4; - List list323 = new List(num); - CollectionsMarshal.SetCount(list323, num); - Span span118 = CollectionsMarshal.AsSpan(list323); - ref QuestSequence reference243 = ref span118[0]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list324 = new List(num2); - CollectionsMarshal.SetCount(list324, num2); - CollectionsMarshal.AsSpan(list324)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj220.Steps = list324; - reference243 = obj220; - ref QuestSequence reference244 = ref span118[1]; - QuestSequence obj221 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list325 = new List(num2); - CollectionsMarshal.SetCount(list325, num2); - Span span119 = CollectionsMarshal.AsSpan(list325); - ref QuestStep reference245 = ref span119[0]; - QuestStep obj222 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) - { - TargetTerritoryId = (ushort)1297, - Fly = true - }; - SkipConditions skipConditions24 = new SkipConditions(); - SkipStepConditions skipStepConditions22 = new SkipStepConditions(); - num3 = 1; - List list326 = new List(num3); - CollectionsMarshal.SetCount(list326, num3); - CollectionsMarshal.AsSpan(list326)[0] = 1187; - skipStepConditions22.NotInTerritory = list326; - skipConditions24.StepIf = skipStepConditions22; - obj222.SkipConditions = skipConditions24; - reference245 = obj222; - span119[1] = new QuestStep(EInteractionType.Interact, 1055788u, new Vector3(97.8866f, 4.942851f, 160.66211f), 1297); - obj221.Steps = list325; - reference244 = obj221; - ref QuestSequence reference246 = ref span118[2]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list327 = new List(num2); - CollectionsMarshal.SetCount(list327, num2); - Span span120 = CollectionsMarshal.AsSpan(list327); - span120[0] = new QuestStep(EInteractionType.Craft, null, null, 1297) - { - ItemId = 46222u, - ItemCount = 4 - }; - span120[1] = new QuestStep(EInteractionType.Interact, 1055788u, new Vector3(97.8866f, 4.942851f, 160.66211f), 1297); - obj223.Steps = list327; - reference246 = obj223; - ref QuestSequence reference247 = ref span118[3]; - QuestSequence obj224 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - CollectionsMarshal.AsSpan(list328)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj224.Steps = list328; - reference247 = obj224; - questRoot39.QuestSequence = list323; - AddQuest(questId39, questRoot39); - QuestId questId40 = new QuestId(5346); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list329 = new List(num); - CollectionsMarshal.SetCount(list329, num); - CollectionsMarshal.AsSpan(list329)[0] = "WigglyMuffin"; - questRoot40.Author = list329; - num = 3; - List list330 = new List(num); - CollectionsMarshal.SetCount(list330, num); - Span span121 = CollectionsMarshal.AsSpan(list330); - ref QuestSequence reference248 = ref span121[0]; - QuestSequence obj225 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list331 = new List(num2); - CollectionsMarshal.SetCount(list331, num2); - CollectionsMarshal.AsSpan(list331)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj225.Steps = list331; - reference248 = obj225; - ref QuestSequence reference249 = ref span121[1]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list332 = new List(num2); - CollectionsMarshal.SetCount(list332, num2); - Span span122 = CollectionsMarshal.AsSpan(list332); - ref QuestStep reference250 = ref span122[0]; - QuestStep obj227 = new QuestStep(EInteractionType.Emote, 1055796u, new Vector3(-486.8086f, 60.107265f, 138.56714f), 1187) - { - Fly = true, - Emote = EEmote.Poke - }; - num3 = 6; - List> list333 = new List>(num3); - CollectionsMarshal.SetCount(list333, num3); - Span> span123 = CollectionsMarshal.AsSpan(list333); - span123[0] = null; - ref List reference251 = ref span123[1]; - num4 = 1; - List list334 = new List(num4); - CollectionsMarshal.SetCount(list334, num4); - CollectionsMarshal.AsSpan(list334)[0] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - reference251 = list334; - span123[2] = null; - span123[3] = null; - span123[4] = null; - span123[5] = null; - obj227.RequiredQuestVariables = list333; - reference250 = obj227; - ref QuestStep reference252 = ref span122[1]; - QuestStep obj228 = new QuestStep(EInteractionType.Emote, 1055797u, new Vector3(-195.02557f, 40.181572f, 15.518433f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - Emote = EEmote.Poke - }; - num3 = 6; - List> list335 = new List>(num3); - CollectionsMarshal.SetCount(list335, num3); - Span> span124 = CollectionsMarshal.AsSpan(list335); - span124[0] = null; - ref List reference253 = ref span124[1]; - num4 = 1; - List list336 = new List(num4); - CollectionsMarshal.SetCount(list336, num4); - CollectionsMarshal.AsSpan(list336)[0] = new QuestWorkValue((byte)1, null, EQuestWorkMode.Bitwise); - reference253 = list336; - span124[2] = null; - span124[3] = null; - span124[4] = null; - span124[5] = null; - obj228.RequiredQuestVariables = list335; - reference252 = obj228; - ref QuestStep reference254 = ref span122[2]; - QuestStep obj229 = new QuestStep(EInteractionType.Emote, 1055798u, new Vector3(-434.40912f, 118.59887f, 553.8567f), 1187) - { - Fly = true, - Emote = EEmote.Poke - }; - num3 = 6; - List> list337 = new List>(num3); - CollectionsMarshal.SetCount(list337, num3); - Span> span125 = CollectionsMarshal.AsSpan(list337); - span125[0] = null; - ref List reference255 = ref span125[1]; - num4 = 1; - List list338 = new List(num4); - CollectionsMarshal.SetCount(list338, num4); - CollectionsMarshal.AsSpan(list338)[0] = new QuestWorkValue((byte)4, null, EQuestWorkMode.Bitwise); - reference255 = list338; - span125[2] = null; - span125[3] = null; - span125[4] = null; - span125[5] = null; - obj229.RequiredQuestVariables = list337; - reference254 = obj229; - ref QuestStep reference256 = ref span122[3]; - QuestStep obj230 = new QuestStep(EInteractionType.Emote, 1055789u, new Vector3(509.69702f, 111.134995f, 693.78186f), 1187) - { - Fly = true, - Emote = EEmote.Poke - }; - num3 = 6; - List> list339 = new List>(num3); - CollectionsMarshal.SetCount(list339, num3); - Span> span126 = CollectionsMarshal.AsSpan(list339); - span126[0] = null; - ref List reference257 = ref span126[1]; - num4 = 1; - List list340 = new List(num4); - CollectionsMarshal.SetCount(list340, num4); - CollectionsMarshal.AsSpan(list340)[0] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - reference257 = list340; - span126[2] = null; - span126[3] = null; - span126[4] = null; - span126[5] = null; - obj230.RequiredQuestVariables = list339; - reference256 = obj230; - obj226.Steps = list332; - reference249 = obj226; - ref QuestSequence reference258 = ref span121[2]; - QuestSequence obj231 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list341 = new List(num2); - CollectionsMarshal.SetCount(list341, num2); - CollectionsMarshal.AsSpan(list341)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho - }; - obj231.Steps = list341; - reference258 = obj231; - questRoot40.QuestSequence = list330; - AddQuest(questId40, questRoot40); - QuestId questId41 = new QuestId(5347); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list342 = new List(num); - CollectionsMarshal.SetCount(list342, num); - CollectionsMarshal.AsSpan(list342)[0] = "CryoTechnic"; - questRoot41.Author = list342; - num = 4; - List list343 = new List(num); - CollectionsMarshal.SetCount(list343, num); - Span span127 = CollectionsMarshal.AsSpan(list343); - ref QuestSequence reference259 = ref span127[0]; - QuestSequence obj232 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list344 = new List(num2); - CollectionsMarshal.SetCount(list344, num2); - CollectionsMarshal.AsSpan(list344)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj232.Steps = list344; - reference259 = obj232; - ref QuestSequence reference260 = ref span127[1]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list345 = new List(num2); - CollectionsMarshal.SetCount(list345, num2); - Span span128 = CollectionsMarshal.AsSpan(list345); - ref QuestStep reference261 = ref span128[0]; - QuestStep obj234 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) - { - TargetTerritoryId = (ushort)1297 - }; - SkipConditions skipConditions25 = new SkipConditions(); - SkipStepConditions skipStepConditions23 = new SkipStepConditions(); - num3 = 1; - List list346 = new List(num3); - CollectionsMarshal.SetCount(list346, num3); - CollectionsMarshal.AsSpan(list346)[0] = 1187; - skipStepConditions23.NotInTerritory = list346; - skipConditions25.StepIf = skipStepConditions23; - obj234.SkipConditions = skipConditions25; - reference261 = obj234; - span128[1] = new QuestStep(EInteractionType.Interact, 1055790u, new Vector3(124.98657f, 3.9429288f, 184.6189f), 1297); - obj233.Steps = list345; - reference260 = obj233; - ref QuestSequence reference262 = ref span127[2]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list347 = new List(num2); - CollectionsMarshal.SetCount(list347, num2); - Span span129 = CollectionsMarshal.AsSpan(list347); - span129[0] = new QuestStep(EInteractionType.Craft, null, null, 1297) - { - ItemId = 46224u, - ItemCount = 2 - }; - span129[1] = new QuestStep(EInteractionType.Interact, 1055790u, new Vector3(124.98657f, 3.9429288f, 184.6189f), 1297); - obj235.Steps = list347; - reference262 = obj235; - ref QuestSequence reference263 = ref span127[3]; - QuestSequence obj236 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list348 = new List(num2); - CollectionsMarshal.SetCount(list348, num2); - CollectionsMarshal.AsSpan(list348)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj236.Steps = list348; - reference263 = obj236; - questRoot41.QuestSequence = list343; - AddQuest(questId41, questRoot41); - QuestId questId42 = new QuestId(5348); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list349 = new List(num); - CollectionsMarshal.SetCount(list349, num); - CollectionsMarshal.AsSpan(list349)[0] = "CryoTechnic"; - questRoot42.Author = list349; - num = 3; - List list350 = new List(num); - CollectionsMarshal.SetCount(list350, num); - Span span130 = CollectionsMarshal.AsSpan(list350); - ref QuestSequence reference264 = ref span130[0]; - QuestSequence obj237 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list351 = new List(num2); - CollectionsMarshal.SetCount(list351, num2); - CollectionsMarshal.AsSpan(list351)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj237.Steps = list351; - reference264 = obj237; - ref QuestSequence reference265 = ref span130[1]; - QuestSequence obj238 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list352 = new List(num2); - CollectionsMarshal.SetCount(list352, num2); - CollectionsMarshal.AsSpan(list352)[0] = new QuestStep(EInteractionType.Interact, 1054676u, new Vector3(500.93835f, 142.24991f, 782.22314f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj238.Steps = list352; - reference265 = obj238; - ref QuestSequence reference266 = ref span130[2]; - QuestSequence obj239 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list353 = new List(num2); - CollectionsMarshal.SetCount(list353, num2); - Span span131 = CollectionsMarshal.AsSpan(list353); - span131[0] = new QuestStep(EInteractionType.Craft, null, null, 1187) - { - ItemId = 46226u, - ItemCount = 1 - }; - span131[1] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj239.Steps = list353; - reference266 = obj239; - questRoot42.QuestSequence = list350; - AddQuest(questId42, questRoot42); - QuestId questId43 = new QuestId(5349); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list354 = new List(num); - CollectionsMarshal.SetCount(list354, num); - CollectionsMarshal.AsSpan(list354)[0] = "CryoTechnic"; - questRoot43.Author = list354; - num = 3; - List list355 = new List(num); - CollectionsMarshal.SetCount(list355, num); - Span span132 = CollectionsMarshal.AsSpan(list355); - ref QuestSequence reference267 = ref span132[0]; - QuestSequence obj240 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list356 = new List(num2); - CollectionsMarshal.SetCount(list356, num2); - CollectionsMarshal.AsSpan(list356)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj240.Steps = list356; - reference267 = obj240; - ref QuestSequence reference268 = ref span132[1]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list357 = new List(num2); - CollectionsMarshal.SetCount(list357, num2); - Span span133 = CollectionsMarshal.AsSpan(list357); - span133[0] = new QuestStep(EInteractionType.Say, 1055825u, new Vector3(254.56616f, 34.20388f, 156.60327f), 1187) - { - Fly = true, - Land = true, - ChatMessage = new ChatMessage - { - Key = "TEXT_BANYOK114_05349_SAYTODO_000_010" - } - }; - span133[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(145.29918f, 34.203415f, 104.64879f), 1187) - { - Fly = true, - Land = true - }; - span133[2] = new QuestStep(EInteractionType.Say, 1055826u, new Vector3(145.76941f, 34.203403f, 101.548706f), 1187) - { - ChatMessage = new ChatMessage - { - Key = "TEXT_BANYOK114_05349_SAYTODO_000_010" - } - }; - obj241.Steps = list357; - reference268 = obj241; - ref QuestSequence reference269 = ref span132[2]; - QuestSequence obj242 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list358 = new List(num2); - CollectionsMarshal.SetCount(list358, num2); - CollectionsMarshal.AsSpan(list358)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(503.1118f, 142.24991f, 787.5082f), - MaximumDistance = 500f, - TerritoryId = 1187 - } - } - } - }; - obj242.Steps = list358; - reference269 = obj242; - questRoot43.QuestSequence = list355; - AddQuest(questId43, questRoot43); - } - - private static void LoadQuests107() - { - QuestId questId = new QuestId(5350); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "CryoTechnic"; - questRoot.Author = list; - num = 4; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - CollectionsMarshal.AsSpan(list4)[0] = new QuestStep(EInteractionType.Interact, 1055804u, new Vector3(366.10962f, 129.04724f, 645.8075f), 1187) - { - Fly = true - }; - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - Span span2 = CollectionsMarshal.AsSpan(list5); - span2[0] = new QuestStep(EInteractionType.Craft, null, null, 1297) - { - ItemId = 46228u, - ItemCount = 1 - }; - span2[1] = new QuestStep(EInteractionType.Interact, 1055804u, new Vector3(366.10962f, 129.04724f, 645.8075f), 1187); - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj4.Steps = list6; - reference4 = obj4; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(5351); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - CollectionsMarshal.AsSpan(list7)[0] = "CryoTechnic"; - questRoot2.Author = list7; - num = 3; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span3 = CollectionsMarshal.AsSpan(list8); - ref QuestSequence reference5 = ref span3[0]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - CollectionsMarshal.AsSpan(list9)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj5.Steps = list9; - reference5 = obj5; - ref QuestSequence reference6 = ref span3[1]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.Interact, 1055805u, new Vector3(134.08093f, 31.956184f, 376.9436f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span3[2]; - QuestSequence obj7 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj7.Steps = list11; - reference7 = obj7; - questRoot2.QuestSequence = list8; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(5352); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - CollectionsMarshal.AsSpan(list12)[0] = "WigglyMuffin"; - questRoot3.Author = list12; - num = 4; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - Span span4 = CollectionsMarshal.AsSpan(list13); - ref QuestSequence reference8 = ref span4[0]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list14 = new List(num2); - CollectionsMarshal.SetCount(list14, num2); - CollectionsMarshal.AsSpan(list14)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj8.Steps = list14; - reference8 = obj8; - ref QuestSequence reference9 = ref span4[1]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - Span span5 = CollectionsMarshal.AsSpan(list15); - ref QuestStep reference10 = ref span5[0]; - QuestStep obj10 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) - { - TargetTerritoryId = (ushort)1297 - }; - SkipConditions skipConditions = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - int num3 = 1; - List list16 = new List(num3); - CollectionsMarshal.SetCount(list16, num3); - CollectionsMarshal.AsSpan(list16)[0] = 1187; - skipStepConditions.NotInTerritory = list16; - skipConditions.StepIf = skipStepConditions; - obj10.SkipConditions = skipConditions; - reference10 = obj10; - span5[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(52.610603f, 0f, 68.19062f), 1297) - { - Fly = false - }; - span5[2] = new QuestStep(EInteractionType.Interact, 1055802u, new Vector3(74.75391f, 1.8866259f, 50.369995f), 1297); - obj9.Steps = list15; - reference9 = obj9; - ref QuestSequence reference11 = ref span4[2]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - Span span6 = CollectionsMarshal.AsSpan(list17); - span6[0] = new QuestStep(EInteractionType.Craft, null, null, 1297) - { - ItemId = 46230u, - ItemCount = 3 - }; - span6[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-102.34843f, 5.9020233f, 48.216927f), 1297) - { - Fly = false - }; - span6[2] = new QuestStep(EInteractionType.Interact, 1055806u, new Vector3(-105.760315f, 6.3924823f, 60.349365f), 1297); - obj11.Steps = list17; - reference11 = obj11; - ref QuestSequence reference12 = ref span4[3]; - QuestSequence obj12 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list18 = new List(num2); - CollectionsMarshal.SetCount(list18, num2); - CollectionsMarshal.AsSpan(list18)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj12.Steps = list18; - reference12 = obj12; - questRoot3.QuestSequence = list13; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(5353); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - CollectionsMarshal.AsSpan(list19)[0] = "WigglyMuffin"; - questRoot4.Author = list19; - num = 4; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - Span span7 = CollectionsMarshal.AsSpan(list20); - ref QuestSequence reference13 = ref span7[0]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - CollectionsMarshal.AsSpan(list21)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj13.Steps = list21; - reference13 = obj13; - ref QuestSequence reference14 = ref span7[1]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - Span span8 = CollectionsMarshal.AsSpan(list22); - ref QuestStep reference15 = ref span8[0]; - QuestStep obj15 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) - { - TargetTerritoryId = (ushort)1297 - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 1; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - CollectionsMarshal.AsSpan(list23)[0] = 1187; - skipStepConditions2.NotInTerritory = list23; - skipConditions2.StepIf = skipStepConditions2; - obj15.SkipConditions = skipConditions2; - reference15 = obj15; - span8[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(52.610603f, 0f, 68.19062f), 1297) - { - Fly = false - }; - span8[2] = new QuestStep(EInteractionType.Interact, 1055802u, new Vector3(74.75391f, 1.8866259f, 50.369995f), 1297); - obj14.Steps = list22; - reference14 = obj14; - ref QuestSequence reference16 = ref span7[2]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - Span span9 = CollectionsMarshal.AsSpan(list24); - span9[0] = new QuestStep(EInteractionType.Craft, null, null, 1297) - { - ItemId = 46232u, - ItemCount = 4 - }; - span9[1] = new QuestStep(EInteractionType.Interact, 1055807u, new Vector3(-76.46301f, 6.180734f, 35.75183f), 1297); - obj16.Steps = list24; - reference16 = obj16; - ref QuestSequence reference17 = ref span7[3]; - QuestSequence obj17 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - CollectionsMarshal.AsSpan(list25)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj17.Steps = list25; - reference17 = obj17; - questRoot4.QuestSequence = list20; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(5354); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - CollectionsMarshal.AsSpan(list26)[0] = "WigglyMuffin"; - questRoot5.Author = list26; - num = 4; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - Span span10 = CollectionsMarshal.AsSpan(list27); - ref QuestSequence reference18 = ref span10[0]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - CollectionsMarshal.AsSpan(list28)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj18.Steps = list28; - reference18 = obj18; - ref QuestSequence reference19 = ref span10[1]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - Span span11 = CollectionsMarshal.AsSpan(list29); - ref QuestStep reference20 = ref span11[0]; - QuestStep obj20 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) - { - TargetTerritoryId = (ushort)1297 - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 1; - List list30 = new List(num3); - CollectionsMarshal.SetCount(list30, num3); - CollectionsMarshal.AsSpan(list30)[0] = 1187; - skipStepConditions3.NotInTerritory = list30; - skipConditions3.StepIf = skipStepConditions3; - obj20.SkipConditions = skipConditions3; - reference20 = obj20; - span11[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-78.796455f, 5.969013f, 48.502377f), 1297) - { - Fly = false - }; - span11[2] = new QuestStep(EInteractionType.Interact, 1055808u, new Vector3(-143.63324f, 5.9494705f, 58.457275f), 1297); - obj19.Steps = list29; - reference19 = obj19; - ref QuestSequence reference21 = ref span10[2]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.Interact, 1055809u, new Vector3(703.8834f, 75.19972f, 633.3562f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj21.Steps = list31; - reference21 = obj21; - ref QuestSequence reference22 = ref span10[3]; - QuestSequence obj22 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj22.Steps = list32; - reference22 = obj22; - questRoot5.QuestSequence = list27; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(5355); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list33 = new List(num); - CollectionsMarshal.SetCount(list33, num); - CollectionsMarshal.AsSpan(list33)[0] = "WigglyMuffin"; - questRoot6.Author = list33; - num = 4; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - Span span12 = CollectionsMarshal.AsSpan(list34); - ref QuestSequence reference23 = ref span12[0]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list35 = new List(num2); - CollectionsMarshal.SetCount(list35, num2); - CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj23.Steps = list35; - reference23 = obj23; - ref QuestSequence reference24 = ref span12[1]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - Span span13 = CollectionsMarshal.AsSpan(list36); - ref QuestStep reference25 = ref span13[0]; - QuestStep obj25 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) - { - TargetTerritoryId = (ushort)1297 - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 1; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - CollectionsMarshal.AsSpan(list37)[0] = 1187; - skipStepConditions4.NotInTerritory = list37; - skipConditions4.StepIf = skipStepConditions4; - obj25.SkipConditions = skipConditions4; - reference25 = obj25; - span13[1] = new QuestStep(EInteractionType.Interact, 1055806u, new Vector3(-105.760315f, 6.3924823f, 60.349365f), 1297); - obj24.Steps = list36; - reference24 = obj24; - ref QuestSequence reference26 = ref span12[2]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - Span span14 = CollectionsMarshal.AsSpan(list38); - span14[0] = new QuestStep(EInteractionType.Craft, null, null, 1297) - { - ItemId = 46234u, - ItemCount = 2 - }; - span14[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-102.34843f, 5.9020233f, 48.216927f), 1297) - { - Fly = false - }; - span14[2] = new QuestStep(EInteractionType.Interact, 1055806u, new Vector3(-105.760315f, 6.3924823f, 60.349365f), 1297); - obj26.Steps = list38; - reference26 = obj26; - ref QuestSequence reference27 = ref span12[3]; - QuestSequence obj27 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj27.Steps = list39; - reference27 = obj27; - questRoot6.QuestSequence = list34; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(5356); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - CollectionsMarshal.AsSpan(list40)[0] = "CryoTechnic"; - questRoot7.Author = list40; - num = 4; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - Span span15 = CollectionsMarshal.AsSpan(list41); - ref QuestSequence reference28 = ref span15[0]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - CollectionsMarshal.AsSpan(list42)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj28.Steps = list42; - reference28 = obj28; - ref QuestSequence reference29 = ref span15[1]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.Interact, 1055810u, new Vector3(530.44934f, 107.13501f, 539.0554f), 1187) - { - Fly = true - }; - obj29.Steps = list43; - reference29 = obj29; - ref QuestSequence reference30 = ref span15[2]; - QuestSequence obj30 = new QuestSequence - { - Sequence = 2 - }; - num2 = 6; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - Span span16 = CollectionsMarshal.AsSpan(list44); - span16[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(552.27673f, 108.55478f, 727.94354f), 1187) - { - Mount = false, - Fly = false - }; - span16[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(543.60175f, 119.49903f, 758.57855f), 1187) - { - DisableNavmesh = true, - Mount = false, - Fly = false - }; - span16[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(547.2725f, 127.72187f, 781.8777f), 1187) - { - Mount = false, - Fly = false - }; - span16[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(542.19476f, 135.24232f, 801.69586f), 1187) - { - DisableNavmesh = true, - Mount = false, - Fly = false - }; - span16[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(516.9529f, 142.24991f, 797.651f), 1187) - { - Mount = false, - Fly = false - }; - span16[5] = new QuestStep(EInteractionType.Interact, 1054676u, new Vector3(500.93835f, 142.24991f, 782.22314f), 1187) - { - Mount = false, - Fly = false - }; - obj30.Steps = list44; - reference30 = obj30; - ref QuestSequence reference31 = ref span15[3]; - QuestSequence obj31 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - CollectionsMarshal.AsSpan(list45)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(503.1118f, 142.24991f, 787.5082f), - MaximumDistance = 500f, - TerritoryId = 1187 - } - } - } - }; - obj31.Steps = list45; - reference31 = obj31; - questRoot7.QuestSequence = list41; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(5357); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list46 = new List(num); - CollectionsMarshal.SetCount(list46, num); - CollectionsMarshal.AsSpan(list46)[0] = "CryoTechnic"; - questRoot8.Author = list46; - num = 3; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - Span span17 = CollectionsMarshal.AsSpan(list47); - ref QuestSequence reference32 = ref span17[0]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - CollectionsMarshal.AsSpan(list48)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj32.Steps = list48; - reference32 = obj32; - ref QuestSequence reference33 = ref span17[1]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.Interact, 1054676u, new Vector3(500.93835f, 142.24991f, 782.22314f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj33.Steps = list49; - reference33 = obj33; - ref QuestSequence reference34 = ref span17[2]; - QuestSequence obj34 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - Span span18 = CollectionsMarshal.AsSpan(list50); - span18[0] = new QuestStep(EInteractionType.Craft, null, null, 1187) - { - ItemId = 46236u, - ItemCount = 3, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span18[1] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(503.1118f, 142.24991f, 787.5082f), - MaximumDistance = 500f, - TerritoryId = 1187 - } - } - } - }; - obj34.Steps = list50; - reference34 = obj34; - questRoot8.QuestSequence = list47; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(5358); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list51 = new List(num); - CollectionsMarshal.SetCount(list51, num); - CollectionsMarshal.AsSpan(list51)[0] = "CryoTechnic"; - questRoot9.Author = list51; - num = 4; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - Span span19 = CollectionsMarshal.AsSpan(list52); - ref QuestSequence reference35 = ref span19[0]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj35.Steps = list53; - reference35 = obj35; - ref QuestSequence reference36 = ref span19[1]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - Span span20 = CollectionsMarshal.AsSpan(list54); - ref QuestStep reference37 = ref span20[0]; - QuestStep obj37 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) - { - TargetTerritoryId = (ushort)1297 - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 1; - List list55 = new List(num3); - CollectionsMarshal.SetCount(list55, num3); - CollectionsMarshal.AsSpan(list55)[0] = 1187; - skipStepConditions5.NotInTerritory = list55; - skipConditions5.StepIf = skipStepConditions5; - obj37.SkipConditions = skipConditions5; - reference37 = obj37; - span20[1] = new QuestStep(EInteractionType.Interact, 1055791u, new Vector3(21.469421f, 13.538549f, 283.6194f), 1297); - obj36.Steps = list54; - reference36 = obj36; - ref QuestSequence reference38 = ref span19[2]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 2 - }; - num2 = 17; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - Span span21 = CollectionsMarshal.AsSpan(list56); - ref QuestStep reference39 = ref span21[0]; - QuestStep obj39 = new QuestStep(EInteractionType.UseItem, 2014955u, new Vector3(21.35857f, 15.18271f, 288.9486f), 1297) - { - Mount = true, - ItemId = 2003778u - }; - num3 = 6; - List list57 = new List(num3); - CollectionsMarshal.SetCount(list57, num3); - Span span22 = CollectionsMarshal.AsSpan(list57); - span22[0] = null; - span22[1] = null; - span22[2] = null; - span22[3] = null; - span22[4] = null; - span22[5] = new QuestWorkValue((byte)8, null, EQuestWorkMode.Bitwise); - obj39.CompletionQuestVariablesFlags = list57; - reference39 = obj39; - span21[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(38.474648f, 13.538554f, 299.35413f), 1297) - { - DisableNavmesh = true, - Mount = true - }; - span21[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(47.922432f, 13.538555f, 299.98282f), 1297) - { - DisableNavmesh = true, - Mount = true - }; - span21[3] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(48.25193f, 13.538491f, 335.66028f), 1297) - { - DisableNavmesh = true, - Mount = true - }; - span21[4] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(36.59439f, 13.538559f, 335.311f), 1297) - { - DisableNavmesh = true, - Mount = true - }; - span21[5] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(27.471945f, 13.538559f, 345.5773f), 1297) - { - DisableNavmesh = true, - Mount = true - }; - ref QuestStep reference40 = ref span21[6]; - QuestStep obj40 = new QuestStep(EInteractionType.UseItem, 2014958u, new Vector3(25.25208f, 15.1827f, 343.7696f), 1297) - { - Mount = true, - ItemId = 2003778u - }; - num3 = 6; - List list58 = new List(num3); - CollectionsMarshal.SetCount(list58, num3); - Span span23 = CollectionsMarshal.AsSpan(list58); - span23[0] = null; - span23[1] = null; - span23[2] = null; - span23[3] = null; - span23[4] = null; - span23[5] = new QuestWorkValue((byte)9, null, EQuestWorkMode.Bitwise); - obj40.CompletionQuestVariablesFlags = list58; - reference40 = obj40; - span21[7] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(13.319462f, 13.538559f, 359.63834f), 1297) - { - DisableNavmesh = true, - Mount = true - }; - span21[8] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-15.500497f, 13.538549f, 359.83508f), 1297) - { - DisableNavmesh = true, - Mount = true - }; - span21[9] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-26.350124f, 13.538551f, 347.12094f), 1297) - { - DisableNavmesh = true, - Mount = true - }; - ref QuestStep reference41 = ref span21[10]; - QuestStep obj41 = new QuestStep(EInteractionType.UseItem, 2014957u, new Vector3(-24.51654f, 15.1827f, 343.9439f), 1297) - { - Mount = true, - ItemId = 2003778u - }; - num3 = 6; - List list59 = new List(num3); - CollectionsMarshal.SetCount(list59, num3); - Span span24 = CollectionsMarshal.AsSpan(list59); - span24[0] = null; - span24[1] = null; - span24[2] = null; - span24[3] = null; - span24[4] = null; - span24[5] = new QuestWorkValue((byte)11, null, EQuestWorkMode.Bitwise); - obj41.CompletionQuestVariablesFlags = list59; - reference41 = obj41; - span21[11] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-36.89487f, 13.5385475f, 335.85452f), 1297) - { - DisableNavmesh = true, - Mount = true - }; - span21[12] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-47.796112f, 13.53848f, 335.2269f), 1297) - { - DisableNavmesh = true, - Mount = true - }; - span21[13] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-48.585648f, 13.538531f, 299.03348f), 1297) - { - DisableNavmesh = true, - Mount = true - }; - span21[14] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-34.23524f, 13.538542f, 298.76367f), 1297) - { - DisableNavmesh = true, - Mount = true - }; - span21[15] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-22.993502f, 13.538543f, 287.8971f), 1297) - { - DisableNavmesh = true, - Mount = true - }; - span21[16] = new QuestStep(EInteractionType.UseItem, 2014956u, new Vector3(-20.50371f, 15.1827f, 288.8894f), 1297) - { - Mount = true, - ItemId = 2003778u - }; - obj38.Steps = list56; - reference38 = obj38; - ref QuestSequence reference42 = ref span19[3]; - QuestSequence obj42 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj42.Steps = list60; - reference42 = obj42; - questRoot9.QuestSequence = list52; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(5359); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list61 = new List(num); - CollectionsMarshal.SetCount(list61, num); - CollectionsMarshal.AsSpan(list61)[0] = "WigglyMuffin, CryoTechnic"; - questRoot10.Author = list61; - num = 4; - List list62 = new List(num); - CollectionsMarshal.SetCount(list62, num); - Span span25 = CollectionsMarshal.AsSpan(list62); - ref QuestSequence reference43 = ref span25[0]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj43.Steps = list63; - reference43 = obj43; - ref QuestSequence reference44 = ref span25[1]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - CollectionsMarshal.AsSpan(list64)[0] = new QuestStep(EInteractionType.Interact, 1055792u, new Vector3(425.4978f, 118.935005f, 606.897f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj44.Steps = list64; - reference44 = obj44; - ref QuestSequence reference45 = ref span25[2]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - Span span26 = CollectionsMarshal.AsSpan(list65); - span26[0] = new QuestStep(EInteractionType.Craft, null, null, 1187) - { - ItemId = 46238u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span26[1] = new QuestStep(EInteractionType.Interact, 1055793u, new Vector3(424.33813f, 118.935005f, 609.308f), 1187) - { - Fly = true - }; - obj45.Steps = list65; - reference45 = obj45; - ref QuestSequence reference46 = ref span25[3]; - QuestSequence obj46 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj46.Steps = list66; - reference46 = obj46; - questRoot10.QuestSequence = list62; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(5360); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list67 = new List(num); - CollectionsMarshal.SetCount(list67, num); - CollectionsMarshal.AsSpan(list67)[0] = "WigglyMuffin, CryoTechnic"; - questRoot11.Author = list67; - num = 4; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - Span span27 = CollectionsMarshal.AsSpan(list68); - ref QuestSequence reference47 = ref span27[0]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - CollectionsMarshal.AsSpan(list69)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj47.Steps = list69; - reference47 = obj47; - ref QuestSequence reference48 = ref span27[1]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - Span span28 = CollectionsMarshal.AsSpan(list70); - ref QuestStep reference49 = ref span28[0]; - QuestStep obj49 = new QuestStep(EInteractionType.Interact, 2014948u, new Vector3(-485.1251f, 49.18068f, -302.4295f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 6; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - Span span29 = CollectionsMarshal.AsSpan(list71); - span29[0] = null; - span29[1] = null; - span29[2] = null; - span29[3] = null; - span29[4] = null; - span29[5] = new QuestWorkValue((byte)4, null, EQuestWorkMode.Bitwise); - obj49.CompletionQuestVariablesFlags = list71; - reference49 = obj49; - ref QuestStep reference50 = ref span28[1]; - QuestStep obj50 = new QuestStep(EInteractionType.Interact, 2014949u, new Vector3(-556.6002f, 55.26223f, -305.9056f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 6; - List list72 = new List(num3); - CollectionsMarshal.SetCount(list72, num3); - Span span30 = CollectionsMarshal.AsSpan(list72); - span30[0] = null; - span30[1] = null; - span30[2] = null; - span30[3] = null; - span30[4] = null; - span30[5] = new QuestWorkValue((byte)6, null, EQuestWorkMode.Bitwise); - obj50.CompletionQuestVariablesFlags = list72; - reference50 = obj50; - ref QuestStep reference51 = ref span28[2]; - QuestStep obj51 = new QuestStep(EInteractionType.Interact, 2014947u, new Vector3(-503.3189f, 57.45695f, -196.0937f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - num3 = 6; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - Span span31 = CollectionsMarshal.AsSpan(list73); - span31[0] = null; - span31[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = null; - obj51.CompletionQuestVariablesFlags = list73; - reference51 = obj51; - obj48.Steps = list70; - reference48 = obj48; - ref QuestSequence reference52 = ref span27[2]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - Span span32 = CollectionsMarshal.AsSpan(list74); - ref QuestStep reference53 = ref span32[0]; - QuestStep obj53 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) - { - TargetTerritoryId = (ushort)1297, - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 1; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - CollectionsMarshal.AsSpan(list75)[0] = 1187; - skipStepConditions6.NotInTerritory = list75; - skipConditions6.StepIf = skipStepConditions6; - obj53.SkipConditions = skipConditions6; - reference53 = obj53; - span32[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-7.667403f, 0.39999998f, 157.18628f), 1297) - { - DisableNavmesh = true - }; - span32[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-81.35781f, 4.0711737f, 162.40425f), 1297) - { - DisableNavmesh = true - }; - span32[3] = new QuestStep(EInteractionType.Interact, 1055794u, new Vector3(-92.729065f, 4.071174f, 172.07593f), 1297) - { - Fly = true - }; - obj52.Steps = list74; - reference52 = obj52; - ref QuestSequence reference54 = ref span27[3]; - QuestSequence obj54 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj54.Steps = list76; - reference54 = obj54; - questRoot11.QuestSequence = list68; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(5361); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list77 = new List(num); - CollectionsMarshal.SetCount(list77, num); - CollectionsMarshal.AsSpan(list77)[0] = "WigglyMuffin, CryoTechnic"; - questRoot12.Author = list77; - num = 4; - List list78 = new List(num); - CollectionsMarshal.SetCount(list78, num); - Span span33 = CollectionsMarshal.AsSpan(list78); - ref QuestSequence reference55 = ref span33[0]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj55.Steps = list79; - reference55 = obj55; - ref QuestSequence reference56 = ref span33[1]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - Span span34 = CollectionsMarshal.AsSpan(list80); - ref QuestStep reference57 = ref span34[0]; - QuestStep obj57 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) - { - TargetTerritoryId = (ushort)1297 - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 1; - List list81 = new List(num3); - CollectionsMarshal.SetCount(list81, num3); - CollectionsMarshal.AsSpan(list81)[0] = 1187; - skipStepConditions7.NotInTerritory = list81; - skipConditions7.StepIf = skipStepConditions7; - obj57.SkipConditions = skipConditions7; - reference57 = obj57; - span34[1] = new QuestStep(EInteractionType.Interact, 1055802u, new Vector3(74.75391f, 1.8866259f, 50.369995f), 1297); - obj56.Steps = list80; - reference56 = obj56; - ref QuestSequence reference58 = ref span33[2]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - Span span35 = CollectionsMarshal.AsSpan(list82); - span35[0] = new QuestStep(EInteractionType.Craft, null, null, 1297) - { - ItemId = 46240u, - ItemCount = 4, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span35[1] = new QuestStep(EInteractionType.Interact, 1055795u, new Vector3(76.98169f, 3.871f, 20.248657f), 1297); - obj58.Steps = list82; - reference58 = obj58; - ref QuestSequence reference59 = ref span33[3]; - QuestSequence obj59 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj59.Steps = list83; - reference59 = obj59; - questRoot12.QuestSequence = list78; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(5362); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list84 = new List(num); - CollectionsMarshal.SetCount(list84, num); - CollectionsMarshal.AsSpan(list84)[0] = "WigglyMuffin"; - questRoot13.Author = list84; - num = 4; - List list85 = new List(num); - CollectionsMarshal.SetCount(list85, num); - Span span36 = CollectionsMarshal.AsSpan(list85); - ref QuestSequence reference60 = ref span36[0]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj60.Steps = list86; - reference60 = obj60; - ref QuestSequence reference61 = ref span36[1]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - Span span37 = CollectionsMarshal.AsSpan(list87); - ref QuestStep reference62 = ref span37[0]; - QuestStep obj62 = new QuestStep(EInteractionType.Interact, 1054640u, new Vector3(496.11658f, 142.24991f, 801.6022f), 1187) - { - TargetTerritoryId = (ushort)1297, - Fly = true - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions8 = new SkipStepConditions(); - num3 = 1; - List list88 = new List(num3); - CollectionsMarshal.SetCount(list88, num3); - CollectionsMarshal.AsSpan(list88)[0] = 1187; - skipStepConditions8.NotInTerritory = list88; - skipConditions8.StepIf = skipStepConditions8; - obj62.SkipConditions = skipConditions8; - reference62 = obj62; - span37[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(53.53954f, 0f, 66.45418f), 1297); - span37[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(73.61164f, 1.8846376f, 59.062263f), 1297); - span37[3] = new QuestStep(EInteractionType.Interact, 1055802u, new Vector3(74.75391f, 1.8866259f, 50.369995f), 1297); - obj61.Steps = list87; - reference61 = obj61; - ref QuestSequence reference63 = ref span36[2]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - Span span38 = CollectionsMarshal.AsSpan(list89); - span38[0] = new QuestStep(EInteractionType.Craft, null, null, 1297) - { - ItemId = 46242u, - ItemCount = 1, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Item = new SkipItemConditions() - } - } - }; - span38[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(50.179123f, 0f, 65.47386f), 1297); - span38[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-66.967834f, 4.053136f, 162.06543f), 1297); - span38[3] = new QuestStep(EInteractionType.Interact, 1055811u, new Vector3(-94.5907f, 4.071177f, 155.68774f), 1297) - { - DisableNavmesh = true - }; - obj63.Steps = list89; - reference63 = obj63; - ref QuestSequence reference64 = ref span36[3]; - QuestSequence obj64 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj64.Steps = list90; - reference64 = obj64; - questRoot13.QuestSequence = list85; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(5363); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - CollectionsMarshal.AsSpan(list91)[0] = "WigglyMuffin"; - questRoot14.Author = list91; - num = 3; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - Span span39 = CollectionsMarshal.AsSpan(list92); - ref QuestSequence reference65 = ref span39[0]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj65.Steps = list93; - reference65 = obj65; - ref QuestSequence reference66 = ref span39[1]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - Span span40 = CollectionsMarshal.AsSpan(list94); - span40[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(417.02783f, -116.81516f, -190.65091f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWachunpelo, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(417.02783f, -116.81516f, -190.65091f), - MaximumDistance = 50f, - TerritoryId = 1187 - } - } - } - }; - ref QuestStep reference67 = ref span40[1]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1055812u, new Vector3(429.80078f, -116.815155f, -188.28113f), 1187); - num3 = 1; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - CollectionsMarshal.AsSpan(list95)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_BANYOK128_05363_Q1_000_000"), - Answer = new ExcelRef("TEXT_BANYOK128_05363_A1_000_001") - }; - questStep.DialogueChoices = list95; - reference67 = questStep; - obj66.Steps = list94; - reference66 = obj66; - ref QuestSequence reference68 = ref span39[2]; - QuestSequence obj67 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list96 = new List(num2); - CollectionsMarshal.SetCount(list96, num2); - CollectionsMarshal.AsSpan(list96)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(493.2173f, 142.24991f, 783.0471f), - MaximumDistance = 50f, - TerritoryId = 1187 - } - } - } - }; - obj67.Steps = list96; - reference68 = obj67; - questRoot14.QuestSequence = list92; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(5364); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - CollectionsMarshal.AsSpan(list97)[0] = "liza"; - questRoot15.Author = list97; - num = 7; - List list98 = new List(num); - CollectionsMarshal.SetCount(list98, num); - Span span41 = CollectionsMarshal.AsSpan(list98); - ref QuestSequence reference69 = ref span41[0]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - Span span42 = CollectionsMarshal.AsSpan(list99); - ref QuestStep reference70 = ref span42[0]; - QuestStep obj69 = new QuestStep(EInteractionType.Interact, 1048083u, new Vector3(302.05237f, 51.199978f, 205.0354f), 1186) - { - TargetTerritoryId = (ushort)1207, - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineNeonStein - } - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions9 = new SkipStepConditions(); - num3 = 1; - List list100 = new List(num3); - CollectionsMarshal.SetCount(list100, num3); - CollectionsMarshal.AsSpan(list100)[0] = 1207; - skipStepConditions9.InTerritory = list100; - skipConditions9.StepIf = skipStepConditions9; - SkipAetheryteCondition obj70 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list101 = new List(num3); - CollectionsMarshal.SetCount(list101, num3); - CollectionsMarshal.AsSpan(list101)[0] = 1207; - obj70.InTerritory = list101; - skipConditions9.AetheryteShortcutIf = obj70; - obj69.SkipConditions = skipConditions9; - reference70 = obj69; - span42[1] = new QuestStep(EInteractionType.AcceptQuest, 1048161u, new Vector3(-5.874817f, -3.6188258E-08f, 6.8512573f), 1207); - obj68.Steps = list99; - reference69 = obj68; - ref QuestSequence reference71 = ref span41[1]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - Span span43 = CollectionsMarshal.AsSpan(list102); - ref QuestStep reference72 = ref span43[0]; - QuestStep obj72 = new QuestStep(EInteractionType.Interact, 2014102u, new Vector3(-0.015319824f, 0.99176025f, 16.03717f), 1207) - { - TargetTerritoryId = (ushort)1186 - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipStepConditions skipStepConditions10 = new SkipStepConditions(); - num3 = 1; - List list103 = new List(num3); - CollectionsMarshal.SetCount(list103, num3); - CollectionsMarshal.AsSpan(list103)[0] = 1207; - skipStepConditions10.NotInTerritory = list103; - skipConditions10.StepIf = skipStepConditions10; - obj72.SkipConditions = skipConditions10; - reference72 = obj72; - span43[1] = new QuestStep(EInteractionType.Interact, 1054503u, new Vector3(291.4015f, 50.749996f, 155.19946f), 1186); - obj71.Steps = list102; - reference71 = obj71; - ref QuestSequence reference73 = ref span41[2]; - QuestSequence obj73 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new QuestStep(EInteractionType.Interact, 1054509u, new Vector3(291.432f, 50.75f, 153.79565f), 1186); - obj73.Steps = list104; - reference73 = obj73; - ref QuestSequence reference74 = ref span41[3]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - Span span44 = CollectionsMarshal.AsSpan(list105); - ref QuestStep reference75 = ref span44[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1056091u, new Vector3(349.17212f, 50.75f, 198.38245f), 1186); - num3 = 6; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - Span span45 = CollectionsMarshal.AsSpan(list106); - span45[0] = null; - span45[1] = null; - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list106; - reference75 = questStep2; - ref QuestStep reference76 = ref span44[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1056090u, new Vector3(341.26794f, 50.75f, 146.68494f), 1186); - num3 = 6; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - Span span46 = CollectionsMarshal.AsSpan(list107); - span46[0] = null; - span46[1] = null; - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list107; - reference76 = questStep3; - ref QuestStep reference77 = ref span44[2]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1054508u, new Vector3(377.3098f, 50.749996f, 115.098755f), 1186); - num3 = 6; - List list108 = new List(num3); - CollectionsMarshal.SetCount(list108, num3); - Span span47 = CollectionsMarshal.AsSpan(list108); - span47[0] = null; - span47[1] = null; - span47[2] = null; - span47[3] = null; - span47[4] = null; - span47[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list108; - num3 = 1; - List list109 = new List(num3); - CollectionsMarshal.SetCount(list109, num3); - CollectionsMarshal.AsSpan(list109)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI101_05364_Q3_000_000"), - Answer = new ExcelRef("TEXT_KINGMI101_05364_A3_000_003") - }; - questStep4.DialogueChoices = list109; - reference77 = questStep4; - obj74.Steps = list105; - reference74 = obj74; - ref QuestSequence reference78 = ref span41[4]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - Span span48 = CollectionsMarshal.AsSpan(list110); - ref QuestStep reference79 = ref span48[0]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1054507u, new Vector3(465.2932f, 60f, 149.79773f), 1186); - num3 = 6; - List list111 = new List(num3); - CollectionsMarshal.SetCount(list111, num3); - Span span49 = CollectionsMarshal.AsSpan(list111); - span49[0] = null; - span49[1] = null; - span49[2] = null; - span49[3] = null; - span49[4] = null; - span49[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list111; - reference79 = questStep5; - ref QuestStep reference80 = ref span48[1]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1054506u, new Vector3(465.44592f, 59.999886f, 196.58191f), 1186); - num3 = 6; - List list112 = new List(num3); - CollectionsMarshal.SetCount(list112, num3); - Span span50 = CollectionsMarshal.AsSpan(list112); - span50[0] = null; - span50[1] = null; - span50[2] = null; - span50[3] = null; - span50[4] = null; - span50[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list112; - reference80 = questStep6; - obj75.Steps = list110; - reference78 = obj75; - ref QuestSequence reference81 = ref span41[5]; - QuestSequence obj76 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - Span span51 = CollectionsMarshal.AsSpan(list113); - span51[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(472.45462f, 60f, 142.0744f), 1186); - span51[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(467.92972f, 60f, 120.31207f), 1186); - span51[2] = new QuestStep(EInteractionType.Interact, 1056092u, new Vector3(350.78967f, 59.999996f, 76.798584f), 1186); - obj76.Steps = list113; - reference81 = obj76; - ref QuestSequence reference82 = ref span41[6]; - QuestSequence obj77 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054514u, new Vector3(-404.4709f, 13.699978f, 239.00195f), 1186) - { - StopDistance = 7f - }; - obj77.Steps = list114; - reference82 = obj77; - questRoot15.QuestSequence = list98; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(5365); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list115 = new List(num); - CollectionsMarshal.SetCount(list115, num); - CollectionsMarshal.AsSpan(list115)[0] = "liza"; - questRoot16.Author = list115; - num = 6; - List list116 = new List(num); - CollectionsMarshal.SetCount(list116, num); - Span span52 = CollectionsMarshal.AsSpan(list116); - ref QuestSequence reference83 = ref span52[0]; - QuestSequence obj78 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list117 = new List(num2); - CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054514u, new Vector3(-404.4709f, 13.699978f, 239.00195f), 1186) - { - StopDistance = 7f - }; - obj78.Steps = list117; - reference83 = obj78; - ref QuestSequence reference84 = ref span52[1]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - Span span53 = CollectionsMarshal.AsSpan(list118); - span53[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-409.0448f, 13.499981f, 269.6568f), 1186); - span53[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-403.7604f, 14.029999f, 272.61798f), 1186) - { - DisableNavmesh = true - }; - span53[2] = new QuestStep(EInteractionType.Interact, 1054518u, new Vector3(-368.00183f, 14f, 228.90051f), 1186); - obj79.Steps = list118; - reference84 = obj79; - ref QuestSequence reference85 = ref span52[2]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list119 = new List(num2); - CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new QuestStep(EInteractionType.Interact, 2014833u, new Vector3(-328.48102f, 13.992493f, 161.24207f), 1186); - obj80.Steps = list119; - reference85 = obj80; - ref QuestSequence reference86 = ref span52[3]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - CollectionsMarshal.AsSpan(list120)[0] = new QuestStep(EInteractionType.Interact, 2014834u, new Vector3(-242.69476f, 2.1820068f, 212.4513f), 1186); - obj81.Steps = list120; - reference86 = obj81; - ref QuestSequence reference87 = ref span52[4]; - QuestSequence obj82 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - CollectionsMarshal.AsSpan(list121)[0] = new QuestStep(EInteractionType.Interact, 2014835u, new Vector3(-141.31384f, 2.1820068f, 212.9701f), 1186); - obj82.Steps = list121; - reference87 = obj82; - ref QuestSequence reference88 = ref span52[5]; - QuestSequence obj83 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list122 = new List(num2); - CollectionsMarshal.SetCount(list122, num2); - CollectionsMarshal.AsSpan(list122)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054529u, new Vector3(-134.53882f, 19.699795f, 382.77246f), 1186); - obj83.Steps = list122; - reference88 = obj83; - questRoot16.QuestSequence = list116; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(5366); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - CollectionsMarshal.AsSpan(list123)[0] = "liza"; - questRoot17.Author = list123; - num = 9; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - Span span54 = CollectionsMarshal.AsSpan(list124); - ref QuestSequence reference89 = ref span54[0]; - QuestSequence obj84 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054529u, new Vector3(-134.53882f, 19.699795f, 382.77246f), 1186); - obj84.Steps = list125; - reference89 = obj84; - ref QuestSequence reference90 = ref span54[1]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new QuestStep(EInteractionType.Interact, 1054535u, new Vector3(0.503479f, -4.5634806E-08f, 6.7596436f), 1207) - { - StopDistance = 7f - }; - obj85.Steps = list126; - reference90 = obj85; - ref QuestSequence reference91 = ref span54[2]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list127 = new List(num2); - CollectionsMarshal.SetCount(list127, num2); - CollectionsMarshal.AsSpan(list127)[0] = new QuestStep(EInteractionType.Interact, 1054536u, new Vector3(-5.1728516f, -4.656613E-08f, 7.1869507f), 1207) - { - StopDistance = 7f - }; - obj86.Steps = list127; - reference91 = obj86; - ref QuestSequence reference92 = ref span54[3]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list128 = new List(num2); - CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new QuestStep(EInteractionType.Interact, 1054543u, new Vector3(-284.596f, 45.884224f, -812.55817f), 1191); - obj87.Steps = list128; - reference92 = obj87; - ref QuestSequence reference93 = ref span54[4]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list129 = new List(num2); - CollectionsMarshal.SetCount(list129, num2); - ref QuestStep reference94 = ref CollectionsMarshal.AsSpan(list129)[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1054543u, new Vector3(-284.596f, 45.884224f, -812.55817f), 1191); - num3 = 1; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - CollectionsMarshal.AsSpan(list130)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMI103_05366_SYSTEM_000_081") - }; - questStep7.DialogueChoices = list130; - reference94 = questStep7; - obj88.Steps = list129; - reference93 = obj88; - ref QuestSequence reference95 = ref span54[5]; - QuestSequence obj89 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list131 = new List(num2); - CollectionsMarshal.SetCount(list131, num2); - ref QuestStep reference96 = ref CollectionsMarshal.AsSpan(list131)[0]; - QuestStep obj90 = new QuestStep(EInteractionType.Combat, null, new Vector3(219.38443f, 57.060833f, -661.6021f), 1191) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - CollectionsMarshal.AsSpan(list132)[0] = 18915u; - obj90.KillEnemyDataIds = list132; - reference96 = obj90; - obj89.Steps = list131; - reference95 = obj89; - ref QuestSequence reference97 = ref span54[6]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list133 = new List(num2); - CollectionsMarshal.SetCount(list133, num2); - CollectionsMarshal.AsSpan(list133)[0] = new QuestStep(EInteractionType.Interact, 1054544u, new Vector3(210.40662f, 57.66854f, -651.3619f), 1191); - obj91.Steps = list133; - reference97 = obj91; - span54[7] = new QuestSequence - { - Sequence = 7 - }; - ref QuestSequence reference98 = ref span54[8]; - QuestSequence obj92 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list134 = new List(num2); - CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054545u, new Vector3(6.6071167f, 0.37129992f, -18.570251f), 1171) - { - StopDistance = 7f - }; - obj92.Steps = list134; - reference98 = obj92; - questRoot17.QuestSequence = list124; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(5367); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list135 = new List(num); - CollectionsMarshal.SetCount(list135, num); - CollectionsMarshal.AsSpan(list135)[0] = "liza"; - questRoot18.Author = list135; - num = 6; - List list136 = new List(num); - CollectionsMarshal.SetCount(list136, num); - Span span55 = CollectionsMarshal.AsSpan(list136); - ref QuestSequence reference99 = ref span55[0]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - CollectionsMarshal.AsSpan(list137)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054545u, new Vector3(6.6071167f, 0.37129992f, -18.570251f), 1171); - obj93.Steps = list137; - reference99 = obj93; - ref QuestSequence reference100 = ref span55[1]; - QuestSequence obj94 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - CollectionsMarshal.AsSpan(list138)[0] = new QuestStep(EInteractionType.Interact, 1054546u, new Vector3(-240.77216f, 30f, -597.345f), 1191) - { - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts - }; - obj94.Steps = list138; - reference100 = obj94; - ref QuestSequence reference101 = ref span55[2]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list139 = new List(num2); - CollectionsMarshal.SetCount(list139, num2); - Span span56 = CollectionsMarshal.AsSpan(list139); - ref QuestStep reference102 = ref span56[0]; - QuestStep obj96 = new QuestStep(EInteractionType.Interact, 1054549u, new Vector3(-303.8529f, 33.89061f, -546.7765f), 1191) - { - Fly = true - }; - num3 = 6; - List list140 = new List(num3); - CollectionsMarshal.SetCount(list140, num3); - Span span57 = CollectionsMarshal.AsSpan(list140); - span57[0] = null; - span57[1] = null; - span57[2] = null; - span57[3] = null; - span57[4] = null; - span57[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - obj96.CompletionQuestVariablesFlags = list140; - reference102 = obj96; - ref QuestStep reference103 = ref span56[1]; - QuestStep obj97 = new QuestStep(EInteractionType.Interact, 1054548u, new Vector3(-182.97095f, 28f, -570.0313f), 1191) - { - Fly = true - }; - num3 = 6; - List list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - Span span58 = CollectionsMarshal.AsSpan(list141); - span58[0] = null; - span58[1] = null; - span58[2] = null; - span58[3] = null; - span58[4] = null; - span58[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj97.CompletionQuestVariablesFlags = list141; - reference103 = obj97; - ref QuestStep reference104 = ref span56[2]; - QuestStep obj98 = new QuestStep(EInteractionType.Interact, 1054547u, new Vector3(-111.49768f, 42.99968f, -658.7778f), 1191) - { - Fly = true - }; - num3 = 6; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - Span span59 = CollectionsMarshal.AsSpan(list142); - span59[0] = null; - span59[1] = null; - span59[2] = null; - span59[3] = null; - span59[4] = null; - span59[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - obj98.CompletionQuestVariablesFlags = list142; - reference104 = obj98; - obj95.Steps = list139; - reference101 = obj95; - ref QuestSequence reference105 = ref span55[3]; - QuestSequence obj99 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - ref QuestStep reference106 = ref CollectionsMarshal.AsSpan(list143)[0]; - QuestStep obj100 = new QuestStep(EInteractionType.Interact, 1054546u, new Vector3(-240.77216f, 30f, -597.345f), 1191) - { - Fly = true - }; - num3 = 1; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - CollectionsMarshal.AsSpan(list144)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI104_05367_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGMI104_05367_A1_000_002") - }; - obj100.DialogueChoices = list144; - reference106 = obj100; - obj99.Steps = list143; - reference105 = obj99; - span55[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference107 = ref span55[5]; - QuestSequence obj101 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054550u, new Vector3(-24.307678f, 38.806587f, -411.2459f), 1186) - { - StopDistance = 7f - }; - obj101.Steps = list145; - reference107 = obj101; - questRoot18.QuestSequence = list136; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(5368); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list146 = new List(num); - CollectionsMarshal.SetCount(list146, num); - CollectionsMarshal.AsSpan(list146)[0] = "liza"; - questRoot19.Author = list146; - num = 13; - List list147 = new List(num); - CollectionsMarshal.SetCount(list147, num); - Span span60 = CollectionsMarshal.AsSpan(list147); - ref QuestSequence reference108 = ref span60[0]; - QuestSequence obj102 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list148 = new List(num2); - CollectionsMarshal.SetCount(list148, num2); - CollectionsMarshal.AsSpan(list148)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054551u, new Vector3(-23.544739f, 38.806587f, -412.19202f), 1186) - { - StopDistance = 7f - }; - obj102.Steps = list148; - reference108 = obj102; - ref QuestSequence reference109 = ref span60[1]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list149 = new List(num2); - CollectionsMarshal.SetCount(list149, num2); - ref QuestStep reference110 = ref CollectionsMarshal.AsSpan(list149)[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.Interact, 1054936u, new Vector3(-57.41974f, 42.8066f, -546.7765f), 1186); - num3 = 1; - List list150 = new List(num3); - CollectionsMarshal.SetCount(list150, num3); - CollectionsMarshal.AsSpan(list150)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMI105_05368_SYSTEM_000_061") - }; - questStep8.DialogueChoices = list150; - reference110 = questStep8; - obj103.Steps = list149; - reference109 = obj103; - span60[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference111 = ref span60[3]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - ref QuestStep reference112 = ref CollectionsMarshal.AsSpan(list151)[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 2014877u, new Vector3(-53.76658f, 0.4967778f, 10.78857f), 1299); - num3 = 1; - List list152 = new List(num3); - CollectionsMarshal.SetCount(list152, num3); - CollectionsMarshal.AsSpan(list152)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMI105_05368_SYSTEM_000_117") - }; - questStep9.DialogueChoices = list152; - reference112 = questStep9; - obj104.Steps = list151; - reference111 = obj104; - ref QuestSequence reference113 = ref span60[4]; - QuestSequence obj105 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list153 = new List(num2); - CollectionsMarshal.SetCount(list153, num2); - CollectionsMarshal.AsSpan(list153)[0] = new QuestStep(EInteractionType.UseItem, 2014879u, new Vector3(-31.18711f, 1.386986f, 14.38922f), 1299) - { - ItemId = 2003767u - }; - obj105.Steps = list153; - reference113 = obj105; - ref QuestSequence reference114 = ref span60[5]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - CollectionsMarshal.AsSpan(list154)[0] = new QuestStep(EInteractionType.UseItem, 2014880u, new Vector3(5.563949f, 1.29885f, -7.714191f), 1299) - { - ItemId = 2003789u - }; - obj106.Steps = list154; - reference114 = obj106; - ref QuestSequence reference115 = ref span60[6]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - CollectionsMarshal.AsSpan(list155)[0] = new QuestStep(EInteractionType.Interact, 1054888u, new Vector3(-9.079163f, 0.9997301f, -45.731323f), 1299); - obj107.Steps = list155; - reference115 = obj107; - ref QuestSequence reference116 = ref span60[7]; - QuestSequence obj108 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list156 = new List(num2); - CollectionsMarshal.SetCount(list156, num2); - ref QuestStep reference117 = ref CollectionsMarshal.AsSpan(list156)[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 2014883u, new Vector3(6.94281f, 1.480042f, -53.72705f), 1299); - num3 = 1; - List list157 = new List(num3); - CollectionsMarshal.SetCount(list157, num3); - CollectionsMarshal.AsSpan(list157)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMI105_05368_SYSTEM_120_250") - }; - questStep10.DialogueChoices = list157; - num3 = 6; - List list158 = new List(num3); - CollectionsMarshal.SetCount(list158, num3); - Span span61 = CollectionsMarshal.AsSpan(list158); - span61[0] = 0u; - span61[1] = 0u; - span61[2] = 4u; - span61[3] = 10u; - span61[4] = 8u; - span61[5] = 11u; - questStep10.PointMenuChoices = list158; - reference117 = questStep10; - obj108.Steps = list156; - reference116 = obj108; - ref QuestSequence reference118 = ref span60[8]; - QuestSequence obj109 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - CollectionsMarshal.AsSpan(list159)[0] = new QuestStep(EInteractionType.UseItem, 2014881u, new Vector3(7.765003f, 1.296952f, 5.581435f), 1299) - { - ItemId = 2003768u - }; - obj109.Steps = list159; - reference118 = obj109; - ref QuestSequence reference119 = ref span60[9]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list160 = new List(num2); - CollectionsMarshal.SetCount(list160, num2); - CollectionsMarshal.AsSpan(list160)[0] = new QuestStep(EInteractionType.Interact, 1054901u, new Vector3(15.6710205f, -1.036562E-06f, 28.244385f), 1299); - obj110.Steps = list160; - reference119 = obj110; - ref QuestSequence reference120 = ref span60[10]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list161 = new List(num2); - CollectionsMarshal.SetCount(list161, num2); - CollectionsMarshal.AsSpan(list161)[0] = new QuestStep(EInteractionType.Interact, 1054907u, new Vector3(43.289795f, 0.30650482f, 12.436096f), 1299); - obj111.Steps = list161; - reference120 = obj111; - ref QuestSequence reference121 = ref span60[11]; - QuestSequence obj112 = new QuestSequence - { - Sequence = 11 - }; - num2 = 4; - List list162 = new List(num2); - CollectionsMarshal.SetCount(list162, num2); - Span span62 = CollectionsMarshal.AsSpan(list162); - ref QuestStep reference122 = ref span62[0]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 2014884u, new Vector3(44.99468f, 0.7551205f, 18.96421f), 1299); - num3 = 1; - List list163 = new List(num3); - CollectionsMarshal.SetCount(list163, num3); - CollectionsMarshal.AsSpan(list163)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI105_05368_Q1_100_000"), - Answer = new ExcelRef("TEXT_KINGMI105_05368_A1_100_004") - }; - questStep11.DialogueChoices = list163; - reference122 = questStep11; - ref QuestStep reference123 = ref span62[1]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 2014885u, new Vector3(50.98755f, 0.7551f, 19.03446f), 1299); - num3 = 1; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - CollectionsMarshal.AsSpan(list164)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI105_05368_Q1_100_000"), - Answer = new ExcelRef("TEXT_KINGMI105_05368_A1_100_002") - }; - questStep12.DialogueChoices = list164; - reference123 = questStep12; - ref QuestStep reference124 = ref span62[2]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 2014887u, new Vector3(51.00287f, 0.7551f, 24.9874f), 1299); - num3 = 1; - List list165 = new List(num3); - CollectionsMarshal.SetCount(list165, num3); - CollectionsMarshal.AsSpan(list165)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI105_05368_Q1_100_000"), - Answer = new ExcelRef("TEXT_KINGMI105_05368_A1_100_003") - }; - questStep13.DialogueChoices = list165; - reference124 = questStep13; - ref QuestStep reference125 = ref span62[3]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 2014886u, new Vector3(44.9988f, 0.7551f, 25.03204f), 1299); - num3 = 1; - List list166 = new List(num3); - CollectionsMarshal.SetCount(list166, num3); - CollectionsMarshal.AsSpan(list166)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI105_05368_Q1_100_000"), - Answer = new ExcelRef("TEXT_KINGMI105_05368_A1_100_001") - }; - questStep14.DialogueChoices = list166; - reference125 = questStep14; - obj112.Steps = list162; - reference121 = obj112; - ref QuestSequence reference126 = ref span60[12]; - QuestSequence obj113 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - CollectionsMarshal.AsSpan(list167)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054916u, new Vector3(16.189758f, -1.8225983E-06f, 28.030762f), 1299); - obj113.Steps = list167; - reference126 = obj113; - questRoot19.QuestSequence = list147; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(5369); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list168 = new List(num); - CollectionsMarshal.SetCount(list168, num); - CollectionsMarshal.AsSpan(list168)[0] = "liza"; - questRoot20.Author = list168; - num = 10; - List list169 = new List(num); - CollectionsMarshal.SetCount(list169, num); - Span span63 = CollectionsMarshal.AsSpan(list169); - ref QuestSequence reference127 = ref span63[0]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list170 = new List(num2); - CollectionsMarshal.SetCount(list170, num2); - CollectionsMarshal.AsSpan(list170)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054916u, new Vector3(16.189758f, -1.8225983E-06f, 28.030762f), 1299); - obj114.Steps = list170; - reference127 = obj114; - ref QuestSequence reference128 = ref span63[1]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - CollectionsMarshal.AsSpan(list171)[0] = new QuestStep(EInteractionType.Interact, 2014889u, new Vector3(-6.637756f, 0.9917603f, 32.45593f), 1299); - obj115.Steps = list171; - reference128 = obj115; - ref QuestSequence reference129 = ref span63[2]; - QuestSequence obj116 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list172 = new List(num2); - CollectionsMarshal.SetCount(list172, num2); - CollectionsMarshal.AsSpan(list172)[0] = new QuestStep(EInteractionType.Interact, 1054918u, new Vector3(4.0740967f, 1.1999817f, 41.82495f), 1299); - obj116.Steps = list172; - reference129 = obj116; - ref QuestSequence reference130 = ref span63[3]; - QuestSequence obj117 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list173 = new List(num2); - CollectionsMarshal.SetCount(list173, num2); - CollectionsMarshal.AsSpan(list173)[0] = new QuestStep(EInteractionType.UseItem, 2014909u, new Vector3(5.5639f, 1.2989f, -7.7142f), 1299) - { - ItemId = 2003769u - }; - obj117.Steps = list173; - reference130 = obj117; - ref QuestSequence reference131 = ref span63[4]; - QuestSequence obj118 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list174 = new List(num2); - CollectionsMarshal.SetCount(list174, num2); - CollectionsMarshal.AsSpan(list174)[0] = new QuestStep(EInteractionType.Interact, 1054928u, new Vector3(43.167725f, 0.020000027f, -18.661804f), 1299); - obj118.Steps = list174; - reference131 = obj118; - ref QuestSequence reference132 = ref span63[5]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 5 - }; - num2 = 4; - List list175 = new List(num2); - CollectionsMarshal.SetCount(list175, num2); - Span span64 = CollectionsMarshal.AsSpan(list175); - ref QuestStep reference133 = ref span64[0]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 2014913u, new Vector3(48.28509f, 0.7955156f, -15.36493f), 1299); - num3 = 6; - List list176 = new List(num3); - CollectionsMarshal.SetCount(list176, num3); - Span span65 = CollectionsMarshal.AsSpan(list176); - span65[0] = null; - span65[1] = null; - span65[2] = null; - span65[3] = null; - span65[4] = null; - span65[5] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - questStep15.CompletionQuestVariablesFlags = list176; - reference133 = questStep15; - ref QuestStep reference134 = ref span64[1]; - QuestStep questStep16 = new QuestStep(EInteractionType.Interact, 2014891u, new Vector3(45.64126f, 0.9739f, -23.77144f), 1299); - num3 = 6; - List list177 = new List(num3); - CollectionsMarshal.SetCount(list177, num3); - Span span66 = CollectionsMarshal.AsSpan(list177); - span66[0] = null; - span66[1] = null; - span66[2] = null; - span66[3] = null; - span66[4] = null; - span66[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep16.CompletionQuestVariablesFlags = list177; - reference134 = questStep16; - ref QuestStep reference135 = ref span64[2]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 2014890u, new Vector3(32.00146f, 1.173118f, -22.75444f), 1299); - num3 = 6; - List list178 = new List(num3); - CollectionsMarshal.SetCount(list178, num3); - Span span67 = CollectionsMarshal.AsSpan(list178); - span67[0] = null; - span67[1] = null; - span67[2] = null; - span67[3] = null; - span67[4] = null; - span67[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list178; - reference135 = questStep17; - ref QuestStep reference136 = ref span64[3]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 2014892u, new Vector3(32.07058f, 0.8092833f, -9.735413f), 1299); - num3 = 6; - List list179 = new List(num3); - CollectionsMarshal.SetCount(list179, num3); - Span span68 = CollectionsMarshal.AsSpan(list179); - span68[0] = null; - span68[1] = null; - span68[2] = null; - span68[3] = null; - span68[4] = null; - span68[5] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list179; - reference136 = questStep18; - obj119.Steps = list175; - reference132 = obj119; - ref QuestSequence reference137 = ref span63[6]; - QuestSequence obj120 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list180 = new List(num2); - CollectionsMarshal.SetCount(list180, num2); - CollectionsMarshal.AsSpan(list180)[0] = new QuestStep(EInteractionType.Interact, 1054928u, new Vector3(43.167725f, 0.020000027f, -18.661804f), 1299); - obj120.Steps = list180; - reference137 = obj120; - ref QuestSequence reference138 = ref span63[7]; - QuestSequence obj121 = new QuestSequence - { - Sequence = 7 - }; - num2 = 4; - List list181 = new List(num2); - CollectionsMarshal.SetCount(list181, num2); - Span span69 = CollectionsMarshal.AsSpan(list181); - ref QuestStep reference139 = ref span69[0]; - QuestStep obj122 = new QuestStep(EInteractionType.Interact, 1054935u, new Vector3(47.287598f, -8.0940923E-13f, -21.561035f), 1299) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Never = true - } - } - }; - num3 = 6; - List list182 = new List(num3); - CollectionsMarshal.SetCount(list182, num3); - Span span70 = CollectionsMarshal.AsSpan(list182); - span70[0] = null; - span70[1] = null; - span70[2] = null; - span70[3] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - span70[4] = null; - span70[5] = null; - obj122.CompletionQuestVariablesFlags = list182; - num3 = 1; - List list183 = new List(num3); - CollectionsMarshal.SetCount(list183, num3); - CollectionsMarshal.AsSpan(list183)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI106_05369_Q5_000_000"), - Answer = new ExcelRef("TEXT_KINGMI106_05369_A5_000_001") - }; - obj122.DialogueChoices = list183; - reference139 = obj122; - ref QuestStep reference140 = ref span69[1]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 2014894u, new Vector3(39.08986f, 1.296936f, -24.0025f), 1299); - num3 = 6; - List list184 = new List(num3); - CollectionsMarshal.SetCount(list184, num3); - Span span71 = CollectionsMarshal.AsSpan(list184); - span71[0] = null; - span71[1] = null; - span71[2] = null; - span71[3] = new QuestWorkValue((byte)2, 0, EQuestWorkMode.Bitwise); - span71[4] = null; - span71[5] = null; - questStep19.CompletionQuestVariablesFlags = list184; - num3 = 2; - List list185 = new List(num3); - CollectionsMarshal.SetCount(list185, num3); - Span span72 = CollectionsMarshal.AsSpan(list185); - span72[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMI106_05369_SYSTEM_000_350") - }; - span72[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI106_05369_Q7_000_000"), - Answer = new ExcelRef("TEXT_KINGMI106_05369_A7_000_003") - }; - questStep19.DialogueChoices = list185; - num3 = 2; - List list186 = new List(num3); - CollectionsMarshal.SetCount(list186, num3); - Span span73 = CollectionsMarshal.AsSpan(list186); - span73[0] = 3u; - span73[1] = 4u; - questStep19.PointMenuChoices = list186; - reference140 = questStep19; - ref QuestStep reference141 = ref span69[2]; - QuestStep obj123 = new QuestStep(EInteractionType.Interact, 1054931u, new Vector3(38.223755f, 0f, -13.443237f), 1299) - { - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - Never = true - } - } - }; - num3 = 6; - List list187 = new List(num3); - CollectionsMarshal.SetCount(list187, num3); - Span span74 = CollectionsMarshal.AsSpan(list187); - span74[0] = null; - span74[1] = null; - span74[2] = null; - span74[3] = new QuestWorkValue((byte)1, 0, EQuestWorkMode.Bitwise); - span74[4] = null; - span74[5] = null; - obj123.CompletionQuestVariablesFlags = list187; - num3 = 1; - List list188 = new List(num3); - CollectionsMarshal.SetCount(list188, num3); - CollectionsMarshal.AsSpan(list188)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI106_05369_Q6_000_000"), - Answer = new ExcelRef("TEXT_KINGMI106_05369_A6_000_001") - }; - obj123.DialogueChoices = list188; - reference141 = obj123; - ref QuestStep reference142 = ref span69[3]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 2014893u, new Vector3(43.16655f, 1.244391f, -18.57025f), 1299); - num3 = 3; - List list189 = new List(num3); - CollectionsMarshal.SetCount(list189, num3); - Span span75 = CollectionsMarshal.AsSpan(list189); - span75[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI106_05369_Q8_000_000"), - Answer = new ExcelRef("TEXT_KINGMI106_05369_A8_000_005") - }; - span75[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI106_05369_Q9_000_000"), - Answer = new ExcelRef("TEXT_KINGMI106_05369_A9_000_006") - }; - span75[2] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMI106_05369_Q10_000_000"), - Answer = new ExcelRef("TEXT_KINGMI106_05369_A10_000_004") - }; - questStep20.DialogueChoices = list189; - reference142 = questStep20; - obj121.Steps = list181; - reference138 = obj121; - ref QuestSequence reference143 = ref span63[8]; - QuestSequence obj124 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list190 = new List(num2); - CollectionsMarshal.SetCount(list190, num2); - CollectionsMarshal.AsSpan(list190)[0] = new QuestStep(EInteractionType.Interact, 1054938u, new Vector3(47.837036f, 0f, -10.025269f), 1299); - obj124.Steps = list190; - reference143 = obj124; - ref QuestSequence reference144 = ref span63[9]; - QuestSequence obj125 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - CollectionsMarshal.AsSpan(list191)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054560u, new Vector3(-5.1118164f, -4.656613E-08f, 7.095398f), 1207); - obj125.Steps = list191; - reference144 = obj125; - questRoot20.QuestSequence = list169; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(5370); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list192 = new List(num); - CollectionsMarshal.SetCount(list192, num); - CollectionsMarshal.AsSpan(list192)[0] = "liza"; - questRoot21.Author = list192; - num = 4; - List list193 = new List(num); - CollectionsMarshal.SetCount(list193, num); - Span span76 = CollectionsMarshal.AsSpan(list193); - ref QuestSequence reference145 = ref span76[0]; - QuestSequence obj126 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list194 = new List(num2); - CollectionsMarshal.SetCount(list194, num2); - CollectionsMarshal.AsSpan(list194)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054555u, new Vector3(-4.1047363f, -7.7714425E-08f, 9.536865f), 1207); - obj126.Steps = list194; - reference145 = obj126; - ref QuestSequence reference146 = ref span76[1]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - Span span77 = CollectionsMarshal.AsSpan(list195); - span77[0] = new QuestStep(EInteractionType.Interact, 2014102u, new Vector3(-0.015319824f, 0.99176025f, 16.03717f), 1207) - { - TargetTerritoryId = (ushort)1186 - }; - span77[1] = new QuestStep(EInteractionType.Interact, 1054561u, new Vector3(20.58435f, 38.056595f, -388.20483f), 1186) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineNeonStein, - To = EAetheryteLocation.SolutionNineResolution - } - }; - obj127.Steps = list195; - reference146 = obj127; - ref QuestSequence reference147 = ref span76[2]; - QuestSequence obj128 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list196 = new List(num2); - CollectionsMarshal.SetCount(list196, num2); - CollectionsMarshal.AsSpan(list196)[0] = new QuestStep(EInteractionType.Interact, 1054565u, new Vector3(18.539673f, 38.0566f, -387.16718f), 1186); - obj128.Steps = list196; - reference147 = obj128; - ref QuestSequence reference148 = ref span76[3]; - QuestSequence obj129 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list197 = new List(num2); - CollectionsMarshal.SetCount(list197, num2); - CollectionsMarshal.AsSpan(list197)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054569u, new Vector3(-0.5340576f, 53.200012f, 768.27637f), 1192) - { - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - obj129.Steps = list197; - reference148 = obj129; - questRoot21.QuestSequence = list193; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(5371); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list198 = new List(num); - CollectionsMarshal.SetCount(list198, num); - CollectionsMarshal.AsSpan(list198)[0] = "liza"; - questRoot22.Author = list198; - num = 8; - List list199 = new List(num); - CollectionsMarshal.SetCount(list199, num); - Span span78 = CollectionsMarshal.AsSpan(list199); - ref QuestSequence reference149 = ref span78[0]; - QuestSequence obj130 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list200 = new List(num2); - CollectionsMarshal.SetCount(list200, num2); - CollectionsMarshal.AsSpan(list200)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054569u, new Vector3(-0.5340576f, 53.200012f, 768.27637f), 1192); - obj130.Steps = list200; - reference149 = obj130; - ref QuestSequence reference150 = ref span78[1]; - QuestSequence obj131 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list201 = new List(num2); - CollectionsMarshal.SetCount(list201, num2); - CollectionsMarshal.AsSpan(list201)[0] = new QuestStep(EInteractionType.Interact, 1054576u, new Vector3(-0.16790771f, 50.12495f, 364.8584f), 1192) - { - Fly = true - }; - obj131.Steps = list201; - reference150 = obj131; - ref QuestSequence reference151 = ref span78[2]; - QuestSequence obj132 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list202 = new List(num2); - CollectionsMarshal.SetCount(list202, num2); - CollectionsMarshal.AsSpan(list202)[0] = new QuestStep(EInteractionType.Duty, null, null, 1192) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 1028u - } - }; - obj132.Steps = list202; - reference151 = obj132; - span78[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference152 = ref span78[4]; - QuestSequence obj133 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - CollectionsMarshal.AsSpan(list203)[0] = new QuestStep(EInteractionType.Duty, null, null, 1312) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 1061u - } - }; - obj133.Steps = list203; - reference152 = obj133; - span78[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference153 = ref span78[6]; - QuestSequence obj134 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list204 = new List(num2); - CollectionsMarshal.SetCount(list204, num2); - CollectionsMarshal.AsSpan(list204)[0] = new QuestStep(EInteractionType.Interact, 1054597u, new Vector3(5.8136597f, 50.12495f, 369.80237f), 1192) - { - StopDistance = 5f - }; - obj134.Steps = list204; - reference153 = obj134; - ref QuestSequence reference154 = ref span78[7]; - QuestSequence obj135 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list205 = new List(num2); - CollectionsMarshal.SetCount(list205, num2); - CollectionsMarshal.AsSpan(list205)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054604u, new Vector3(-145.06763f, 25.971825f, -495.38416f), 1191) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts - }; - obj135.Steps = list205; - reference154 = obj135; - questRoot22.QuestSequence = list199; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(5372); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list206 = new List(num); - CollectionsMarshal.SetCount(list206, num); - CollectionsMarshal.AsSpan(list206)[0] = "liza"; - questRoot23.Author = list206; - num = 6; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - Span span79 = CollectionsMarshal.AsSpan(list207); - ref QuestSequence reference155 = ref span79[0]; - QuestSequence obj136 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list208 = new List(num2); - CollectionsMarshal.SetCount(list208, num2); - CollectionsMarshal.AsSpan(list208)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054604u, new Vector3(-145.06763f, 25.971825f, -495.38416f), 1191); - obj136.Steps = list208; - reference155 = obj136; - ref QuestSequence reference156 = ref span79[1]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - CollectionsMarshal.AsSpan(list209)[0] = new QuestStep(EInteractionType.Interact, 1055852u, new Vector3(-117.906494f, 28.995459f, -353.1701f), 1191) - { - Fly = true - }; - obj137.Steps = list209; - reference156 = obj137; - ref QuestSequence reference157 = ref span79[2]; - QuestSequence obj138 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list210 = new List(num2); - CollectionsMarshal.SetCount(list210, num2); - CollectionsMarshal.AsSpan(list210)[0] = new QuestStep(EInteractionType.Interact, 1048099u, new Vector3(-606.5919f, -2.203068f, -486.6255f), 1191) - { - Fly = true - }; - obj138.Steps = list210; - reference157 = obj138; - ref QuestSequence reference158 = ref span79[3]; - QuestSequence obj139 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list211 = new List(num2); - CollectionsMarshal.SetCount(list211, num2); - CollectionsMarshal.AsSpan(list211)[0] = new QuestStep(EInteractionType.Interact, 1054612u, new Vector3(-670.95447f, 52.96887f, -203.35706f), 1191) - { - Fly = true - }; - obj139.Steps = list211; - reference158 = obj139; - ref QuestSequence reference159 = ref span79[4]; - QuestSequence obj140 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list212 = new List(num2); - CollectionsMarshal.SetCount(list212, num2); - CollectionsMarshal.AsSpan(list212)[0] = new QuestStep(EInteractionType.Interact, 1054614u, new Vector3(-554.4366f, 44.324562f, -159.5636f), 1191) - { - StopDistance = 7f - }; - obj140.Steps = list212; - reference159 = obj140; - ref QuestSequence reference160 = ref span79[5]; - QuestSequence obj141 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - Span span80 = CollectionsMarshal.AsSpan(list213); - span80[0] = new QuestStep(EInteractionType.Interact, 1048083u, new Vector3(302.05237f, 51.199978f, 205.0354f), 1186) - { - TargetTerritoryId = (ushort)1207, - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineNeonStein - } - }; - span80[1] = new QuestStep(EInteractionType.CompleteQuest, 1054616u, new Vector3(-0.6256714f, -4.656613E-08f, 6.8512573f), 1207); - obj141.Steps = list213; - reference160 = obj141; - questRoot23.QuestSequence = list207; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(5373); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list214 = new List(num); - CollectionsMarshal.SetCount(list214, num); - CollectionsMarshal.AsSpan(list214)[0] = "liza"; - questRoot24.Author = list214; - num = 5; - List list215 = new List(num); - CollectionsMarshal.SetCount(list215, num); - Span span81 = CollectionsMarshal.AsSpan(list215); - ref QuestSequence reference161 = ref span81[0]; - QuestSequence obj142 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list216 = new List(num2); - CollectionsMarshal.SetCount(list216, num2); - CollectionsMarshal.AsSpan(list216)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054616u, new Vector3(-0.6256714f, -4.656613E-08f, 6.8512573f), 1207); - obj142.Steps = list216; - reference161 = obj142; - ref QuestSequence reference162 = ref span81[1]; - QuestSequence obj143 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - ref QuestStep reference163 = ref CollectionsMarshal.AsSpan(list217)[0]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1054616u, new Vector3(-0.6256714f, -4.656613E-08f, 6.8512573f), 1207); - num3 = 1; - List list218 = new List(num3); - CollectionsMarshal.SetCount(list218, num3); - CollectionsMarshal.AsSpan(list218)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMI110_05373_SYSTEM_000_040") - }; - questStep21.DialogueChoices = list218; - reference163 = questStep21; - obj143.Steps = list217; - reference162 = obj143; - ref QuestSequence reference164 = ref span81[2]; - QuestSequence obj144 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list219 = new List(num2); - CollectionsMarshal.SetCount(list219, num2); - CollectionsMarshal.AsSpan(list219)[0] = new QuestStep(EInteractionType.Interact, 1054618u, new Vector3(1.296936f, 50.12499f, 704.7378f), 1192) - { - StopDistance = 7f - }; - obj144.Steps = list219; - reference164 = obj144; - ref QuestSequence reference165 = ref span81[3]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list220 = new List(num2); - CollectionsMarshal.SetCount(list220, num2); - CollectionsMarshal.AsSpan(list220)[0] = new QuestStep(EInteractionType.Interact, 1054624u, new Vector3(-105.638245f, 100.04267f, -202.47198f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalVollokShoonsa - } - }; - obj145.Steps = list220; - reference165 = obj145; - ref QuestSequence reference166 = ref span81[4]; - QuestSequence obj146 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - CollectionsMarshal.AsSpan(list221)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054628u, new Vector3(-23.941406f, 38.0566f, -389.0288f), 1186) - { - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineResolution - } - }; - obj146.Steps = list221; - reference166 = obj146; - questRoot24.QuestSequence = list215; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(5374); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list222 = new List(num); - CollectionsMarshal.SetCount(list222, num); - CollectionsMarshal.AsSpan(list222)[0] = "WigglyMuffin"; - questRoot25.Author = list222; - num = 13; - List list223 = new List(num); - CollectionsMarshal.SetCount(list223, num); - Span span82 = CollectionsMarshal.AsSpan(list223); - ref QuestSequence reference167 = ref span82[0]; - QuestSequence obj147 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list224 = new List(num2); - CollectionsMarshal.SetCount(list224, num2); - CollectionsMarshal.AsSpan(list224)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054465u, new Vector3(0.1373291f, -14f, 106.21802f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalBaysideBevyMarketplace - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj147.Steps = list224; - reference167 = obj147; - ref QuestSequence reference168 = ref span82[1]; - QuestSequence obj148 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list225 = new List(num2); - CollectionsMarshal.SetCount(list225, num2); - CollectionsMarshal.AsSpan(list225)[0] = new QuestStep(EInteractionType.Interact, 2014821u, new Vector3(342.03088f, -1.3275757f, 438.4984f), 1190) - { - AetheryteShortcut = EAetheryteLocation.ShaaloaniHhusatahwi, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(342.03088f, -1.3275757f, 438.4984f), - MaximumDistance = 100f, - TerritoryId = 1190 - } - } - } - }; - obj148.Steps = list225; - reference168 = obj148; - ref QuestSequence reference169 = ref span82[2]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list226 = new List(num2); - CollectionsMarshal.SetCount(list226, num2); - CollectionsMarshal.AsSpan(list226)[0] = new QuestStep(EInteractionType.Interact, 1054466u, new Vector3(420.37073f, -0.65818214f, 390.67664f), 1190); - obj149.Steps = list226; - reference169 = obj149; - ref QuestSequence reference170 = ref span82[3]; - QuestSequence obj150 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - CollectionsMarshal.AsSpan(list227)[0] = new QuestStep(EInteractionType.Interact, 2014823u, new Vector3(478.96545f, 4.7455444f, 237.53711f), 1190) - { - Fly = true - }; - obj150.Steps = list227; - reference170 = obj150; - ref QuestSequence reference171 = ref span82[4]; - QuestSequence obj151 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list228 = new List(num2); - CollectionsMarshal.SetCount(list228, num2); - CollectionsMarshal.AsSpan(list228)[0] = new QuestStep(EInteractionType.Interact, 2014824u, new Vector3(349.813f, 7.1869507f, 220.78271f), 1190) - { - Fly = true - }; - obj151.Steps = list228; - reference171 = obj151; - ref QuestSequence reference172 = ref span82[5]; - QuestSequence obj152 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list229 = new List(num2); - CollectionsMarshal.SetCount(list229, num2); - CollectionsMarshal.AsSpan(list229)[0] = new QuestStep(EInteractionType.Interact, 2014822u, new Vector3(402.42603f, -11.276428f, 40.604248f), 1190) - { - Fly = true - }; - obj152.Steps = list229; - reference172 = obj152; - ref QuestSequence reference173 = ref span82[6]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list230 = new List(num2); - CollectionsMarshal.SetCount(list230, num2); - ref QuestStep reference174 = ref CollectionsMarshal.AsSpan(list230)[0]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1054467u, new Vector3(254.38306f, -7.9001174f, 465.17126f), 1190); - num3 = 1; - List list231 = new List(num3); - CollectionsMarshal.SetCount(list231, num3); - CollectionsMarshal.AsSpan(list231)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGYX901_05374_SYSTEM_000_301") - }; - questStep22.DialogueChoices = list231; - reference174 = questStep22; - obj153.Steps = list230; - reference173 = obj153; - ref QuestSequence reference175 = ref span82[7]; - QuestSequence obj154 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list232 = new List(num2); - CollectionsMarshal.SetCount(list232, num2); - ref QuestStep reference176 = ref CollectionsMarshal.AsSpan(list232)[0]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1054469u, new Vector3(-215.04541f, 45.13145f, -756.89325f), 1190); - num3 = 1; - List list233 = new List(num3); - CollectionsMarshal.SetCount(list233, num3); - CollectionsMarshal.AsSpan(list233)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGYX901_05374_SYSTEM_200_402") - }; - questStep23.DialogueChoices = list233; - reference176 = questStep23; - obj154.Steps = list232; - reference175 = obj154; - span82[8] = new QuestSequence - { - Sequence = 8 - }; - ref QuestSequence reference177 = ref span82[9]; - QuestSequence obj155 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list234 = new List(num2); - CollectionsMarshal.SetCount(list234, num2); - CollectionsMarshal.AsSpan(list234)[0] = new QuestStep(EInteractionType.Interact, 1054471u, new Vector3(23.056335f, 101f, 733.7604f), 1301); - obj155.Steps = list234; - reference177 = obj155; - ref QuestSequence reference178 = ref span82[10]; - QuestSequence obj156 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list235 = new List(num2); - CollectionsMarshal.SetCount(list235, num2); - CollectionsMarshal.AsSpan(list235)[0] = new QuestStep(EInteractionType.Interact, 1054471u, new Vector3(23.056335f, 101f, 733.7604f), 1301); - obj156.Steps = list235; - reference178 = obj156; - ref QuestSequence reference179 = ref span82[11]; - QuestSequence obj157 = new QuestSequence - { - Sequence = 11 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.Duty, null, null, 1301) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 1043u - } - }; - obj157.Steps = list236; - reference179 = obj157; - ref QuestSequence reference180 = ref span82[12]; - QuestSequence obj158 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - CollectionsMarshal.AsSpan(list237)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054465u, new Vector3(0.1373291f, -14f, 106.21802f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalBaysideBevyMarketplace - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj158.Steps = list237; - reference180 = obj158; - questRoot25.QuestSequence = list223; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(5375); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list238 = new List(num); - CollectionsMarshal.SetCount(list238, num); - CollectionsMarshal.AsSpan(list238)[0] = "WigglyMuffin"; - questRoot26.Author = list238; - questRoot26.IsSeasonalQuest = true; - questRoot26.SeasonalQuestExpiry = new DateTime(2025, 11, 4, 14, 59, 0, DateTimeKind.Utc); - num = 9; - List list239 = new List(num); - CollectionsMarshal.SetCount(list239, num); - Span span83 = CollectionsMarshal.AsSpan(list239); - ref QuestSequence reference181 = ref span83[0]; - QuestSequence obj159 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list240 = new List(num2); - CollectionsMarshal.SetCount(list240, num2); - ref QuestStep reference182 = ref CollectionsMarshal.AsSpan(list240)[0]; - QuestStep obj160 = new QuestStep(EInteractionType.AcceptQuest, 1054483u, new Vector3(-50.003845f, 6.5f, -88.426025f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition = new SkipAetheryteCondition(); - num3 = 2; - List list241 = new List(num3); - CollectionsMarshal.SetCount(list241, num3); - Span span84 = CollectionsMarshal.AsSpan(list241); - span84[0] = 132; - span84[1] = 133; - skipAetheryteCondition.InTerritory = list241; - skipConditions11.AetheryteShortcutIf = skipAetheryteCondition; - skipConditions11.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj160.SkipConditions = skipConditions11; - reference182 = obj160; - obj159.Steps = list240; - reference181 = obj159; - ref QuestSequence reference183 = ref span83[1]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - ref QuestStep reference184 = ref CollectionsMarshal.AsSpan(list242)[0]; - QuestStep questStep24 = new QuestStep(EInteractionType.Interact, 1054484u, new Vector3(-55.680176f, 6.2813034f, -106.004456f), 133); - num3 = 1; - List list243 = new List(num3); - CollectionsMarshal.SetCount(list243, num3); - CollectionsMarshal.AsSpan(list243)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_FESHLX101_05375_EVENTAREA_WARP_000_031") - }; - questStep24.DialogueChoices = list243; - reference184 = questStep24; - obj161.Steps = list242; - reference183 = obj161; - ref QuestSequence reference185 = ref span83[2]; - QuestSequence obj162 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list244 = new List(num2); - CollectionsMarshal.SetCount(list244, num2); - CollectionsMarshal.AsSpan(list244)[0] = new QuestStep(EInteractionType.Interact, 1054485u, new Vector3(68.436646f, 0f, -0.045776367f), 1305); - obj162.Steps = list244; - reference185 = obj162; - ref QuestSequence reference186 = ref span83[3]; - QuestSequence obj163 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list245 = new List(num2); - CollectionsMarshal.SetCount(list245, num2); - Span span85 = CollectionsMarshal.AsSpan(list245); - ref QuestStep reference187 = ref span85[0]; - QuestStep questStep25 = new QuestStep(EInteractionType.Interact, 1054486u, new Vector3(4.2266846f, 17f, 11.947815f), 1305); - num3 = 6; - List list246 = new List(num3); - CollectionsMarshal.SetCount(list246, num3); - Span span86 = CollectionsMarshal.AsSpan(list246); - span86[0] = null; - span86[1] = null; - span86[2] = null; - span86[3] = null; - span86[4] = null; - span86[5] = new QuestWorkValue((byte)8, null, EQuestWorkMode.Bitwise); - questStep25.CompletionQuestVariablesFlags = list246; - reference187 = questStep25; - span85[1] = new QuestStep(EInteractionType.Interact, 1054489u, new Vector3(14.785889f, 17f, 105.85181f), 1305); - obj163.Steps = list245; - reference186 = obj163; - ref QuestSequence reference188 = ref span83[4]; - QuestSequence obj164 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list247 = new List(num2); - CollectionsMarshal.SetCount(list247, num2); - Span span87 = CollectionsMarshal.AsSpan(list247); - ref QuestStep reference189 = ref span87[0]; - QuestStep obj165 = new QuestStep(EInteractionType.Interact, 1054488u, new Vector3(9.109558f, 0f, 100.02283f), 1305) - { - Mount = true - }; - num3 = 6; - List list248 = new List(num3); - CollectionsMarshal.SetCount(list248, num3); - Span span88 = CollectionsMarshal.AsSpan(list248); - span88[0] = null; - span88[1] = null; - span88[2] = null; - span88[3] = null; - span88[4] = null; - span88[5] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - obj165.CompletionQuestVariablesFlags = list248; - reference189 = obj165; - ref QuestStep reference190 = ref span87[1]; - QuestStep obj166 = new QuestStep(EInteractionType.Interact, 1054487u, new Vector3(-43.86969f, 0f, -5.8442383f), 1305) - { - Mount = true - }; - num3 = 6; - List list249 = new List(num3); - CollectionsMarshal.SetCount(list249, num3); - Span span89 = CollectionsMarshal.AsSpan(list249); - span89[0] = null; - span89[1] = null; - span89[2] = null; - span89[3] = null; - span89[4] = null; - span89[5] = new QuestWorkValue((byte)10, null, EQuestWorkMode.Bitwise); - obj166.CompletionQuestVariablesFlags = list249; - reference190 = obj166; - span87[2] = new QuestStep(EInteractionType.Interact, 1054490u, new Vector3(-54.795166f, 0f, -29.58728f), 1305) - { - Mount = true - }; - obj164.Steps = list247; - reference188 = obj164; - ref QuestSequence reference191 = ref span83[5]; - QuestSequence obj167 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list250 = new List(num2); - CollectionsMarshal.SetCount(list250, num2); - CollectionsMarshal.AsSpan(list250)[0] = new QuestStep(EInteractionType.Interact, 1054485u, new Vector3(68.436646f, 0f, -0.045776367f), 1305) - { - Mount = true - }; - obj167.Steps = list250; - reference191 = obj167; - ref QuestSequence reference192 = ref span83[6]; - QuestSequence obj168 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list251 = new List(num2); - CollectionsMarshal.SetCount(list251, num2); - ref QuestStep reference193 = ref CollectionsMarshal.AsSpan(list251)[0]; - QuestStep obj169 = new QuestStep(EInteractionType.Interact, 1054483u, new Vector3(-50.003845f, 6.5f, -88.426025f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions12 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition2 = new SkipAetheryteCondition(); - num3 = 2; - List list252 = new List(num3); - CollectionsMarshal.SetCount(list252, num3); - Span span90 = CollectionsMarshal.AsSpan(list252); - span90[0] = 132; - span90[1] = 133; - skipAetheryteCondition2.InTerritory = list252; - skipConditions12.AetheryteShortcutIf = skipAetheryteCondition2; - skipConditions12.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj169.SkipConditions = skipConditions12; - reference193 = obj169; - obj168.Steps = list251; - reference192 = obj168; - ref QuestSequence reference194 = ref span83[7]; - QuestSequence obj170 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list253 = new List(num2); - CollectionsMarshal.SetCount(list253, num2); - Span span91 = CollectionsMarshal.AsSpan(list253); - ref QuestStep reference195 = ref span91[0]; - QuestStep questStep26 = new QuestStep(EInteractionType.Interact, 1054477u, new Vector3(-52.903076f, 6.8124895f, -123.39978f), 133); - num3 = 6; - List list254 = new List(num3); - CollectionsMarshal.SetCount(list254, num3); - Span span92 = CollectionsMarshal.AsSpan(list254); - span92[0] = null; - span92[1] = null; - span92[2] = null; - span92[3] = null; - span92[4] = null; - span92[5] = new QuestWorkValue((byte)8, null, EQuestWorkMode.Bitwise); - questStep26.CompletionQuestVariablesFlags = list254; - reference195 = questStep26; - ref QuestStep reference196 = ref span91[1]; - QuestStep obj171 = new QuestStep(EInteractionType.Interact, 1054491u, new Vector3(-317.21985f, 7.3121967f, -200.763f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaAmphitheatre, - To = EAetheryteLocation.GridaniaBotanist - } - }; - num3 = 6; - List list255 = new List(num3); - CollectionsMarshal.SetCount(list255, num3); - Span span93 = CollectionsMarshal.AsSpan(list255); - span93[0] = null; - span93[1] = null; - span93[2] = null; - span93[3] = null; - span93[4] = null; - span93[5] = null; - obj171.CompletionQuestVariablesFlags = list255; - reference196 = obj171; - obj170.Steps = list253; - reference194 = obj170; - ref QuestSequence reference197 = ref span83[8]; - QuestSequence obj172 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - CollectionsMarshal.AsSpan(list256)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054483u, new Vector3(-50.003845f, 6.5f, -88.426025f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaBotanist, - To = EAetheryteLocation.GridaniaAmphitheatre - }, - NextQuestId = new QuestId(5376) - }; - obj172.Steps = list256; - reference197 = obj172; - questRoot26.QuestSequence = list239; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(5376); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list257 = new List(num); - CollectionsMarshal.SetCount(list257, num); - CollectionsMarshal.AsSpan(list257)[0] = "WigglyMuffin"; - questRoot27.Author = list257; - questRoot27.IsSeasonalQuest = true; - questRoot27.SeasonalQuestExpiry = new DateTime(2025, 11, 4, 14, 59, 0, DateTimeKind.Utc); - num = 7; - List list258 = new List(num); - CollectionsMarshal.SetCount(list258, num); - Span span94 = CollectionsMarshal.AsSpan(list258); - ref QuestSequence reference198 = ref span94[0]; - QuestSequence obj173 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list259 = new List(num2); - CollectionsMarshal.SetCount(list259, num2); - ref QuestStep reference199 = ref CollectionsMarshal.AsSpan(list259)[0]; - QuestStep obj174 = new QuestStep(EInteractionType.AcceptQuest, 1054483u, new Vector3(-50.003845f, 6.5f, -88.426025f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions13 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition3 = new SkipAetheryteCondition(); - num3 = 2; - List list260 = new List(num3); - CollectionsMarshal.SetCount(list260, num3); - Span span95 = CollectionsMarshal.AsSpan(list260); - span95[0] = 132; - span95[1] = 133; - skipAetheryteCondition3.InTerritory = list260; - skipConditions13.AetheryteShortcutIf = skipAetheryteCondition3; - skipConditions13.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj174.SkipConditions = skipConditions13; - reference199 = obj174; - obj173.Steps = list259; - reference198 = obj173; - ref QuestSequence reference200 = ref span94[1]; - QuestSequence obj175 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - Span span96 = CollectionsMarshal.AsSpan(list261); - ref QuestStep reference201 = ref span96[0]; - QuestStep questStep27 = new QuestStep(EInteractionType.Interact, 1054484u, new Vector3(-55.680176f, 6.2813034f, -106.004456f), 133); - SkipConditions skipConditions14 = new SkipConditions(); - SkipStepConditions skipStepConditions11 = new SkipStepConditions(); - num3 = 1; - List list262 = new List(num3); - CollectionsMarshal.SetCount(list262, num3); - CollectionsMarshal.AsSpan(list262)[0] = 1305; - skipStepConditions11.InTerritory = list262; - skipConditions14.StepIf = skipStepConditions11; - questStep27.SkipConditions = skipConditions14; - num3 = 1; - List list263 = new List(num3); - CollectionsMarshal.SetCount(list263, num3); - CollectionsMarshal.AsSpan(list263)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_FESHLX102_05376_EVENTAREA_WARP_110_005") - }; - questStep27.DialogueChoices = list263; - reference201 = questStep27; - span96[1] = new QuestStep(EInteractionType.Interact, 1054485u, new Vector3(68.436646f, 0f, -0.045776367f), 1305); - obj175.Steps = list261; - reference200 = obj175; - ref QuestSequence reference202 = ref span94[2]; - QuestSequence obj176 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.Interact, 1054485u, new Vector3(68.436646f, 0f, -0.045776367f), 1305); - obj176.Steps = list264; - reference202 = obj176; - ref QuestSequence reference203 = ref span94[3]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - Span span97 = CollectionsMarshal.AsSpan(list265); - ref QuestStep reference204 = ref span97[0]; - QuestStep obj178 = new QuestStep(EInteractionType.Action, 1054486u, new Vector3(4.2266846f, 17f, 11.947815f), 1305) - { - Action = EAction.TreatersTrick - }; - num3 = 6; - List list266 = new List(num3); - CollectionsMarshal.SetCount(list266, num3); - Span span98 = CollectionsMarshal.AsSpan(list266); - span98[0] = null; - span98[1] = null; - span98[2] = null; - span98[3] = null; - span98[4] = null; - span98[5] = new QuestWorkValue((byte)4, null, EQuestWorkMode.Bitwise); - obj178.CompletionQuestVariablesFlags = list266; - reference204 = obj178; - span97[1] = new QuestStep(EInteractionType.Action, 1054489u, new Vector3(14.785889f, 17f, 105.85181f), 1305) - { - Action = EAction.TrickstersTreat - }; - obj177.Steps = list265; - reference203 = obj177; - ref QuestSequence reference205 = ref span94[4]; - QuestSequence obj179 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - Span span99 = CollectionsMarshal.AsSpan(list267); - ref QuestStep reference206 = ref span99[0]; - QuestStep obj180 = new QuestStep(EInteractionType.Action, 1054488u, new Vector3(9.109558f, 0f, 100.02283f), 1305) - { - Action = EAction.TreatersTrick - }; - num3 = 6; - List list268 = new List(num3); - CollectionsMarshal.SetCount(list268, num3); - Span span100 = CollectionsMarshal.AsSpan(list268); - span100[0] = null; - span100[1] = null; - span100[2] = null; - span100[3] = null; - span100[4] = null; - span100[5] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - obj180.CompletionQuestVariablesFlags = list268; - reference206 = obj180; - ref QuestStep reference207 = ref span99[1]; - QuestStep obj181 = new QuestStep(EInteractionType.Action, 1054487u, new Vector3(-43.86969f, 0f, -5.8442383f), 1305) - { - Action = EAction.TreatersTrick - }; - num3 = 6; - List list269 = new List(num3); - CollectionsMarshal.SetCount(list269, num3); - Span span101 = CollectionsMarshal.AsSpan(list269); - span101[0] = null; - span101[1] = null; - span101[2] = null; - span101[3] = null; - span101[4] = null; - span101[5] = new QuestWorkValue((byte)6, null, EQuestWorkMode.Bitwise); - obj181.CompletionQuestVariablesFlags = list269; - reference207 = obj181; - span99[2] = new QuestStep(EInteractionType.Action, 1054490u, new Vector3(-54.795166f, 0f, -29.58728f), 1305) - { - Action = EAction.TrickstersTreat - }; - obj179.Steps = list267; - reference205 = obj179; - ref QuestSequence reference208 = ref span94[5]; - QuestSequence obj182 = new QuestSequence - { - Sequence = 5 - }; - num2 = 2; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - Span span102 = CollectionsMarshal.AsSpan(list270); - span102[0] = new QuestStep(EInteractionType.WalkTo, 1054794u, new Vector3(-50.278336f, 0f, -36.070293f), 1305) - { - Mount = false - }; - span102[1] = new QuestStep(EInteractionType.Interact, 1054794u, new Vector3(72.129395f, 0f, -0.5340576f), 1305) - { - Mount = true - }; - obj182.Steps = list270; - reference208 = obj182; - ref QuestSequence reference209 = ref span94[6]; - QuestSequence obj183 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - ref QuestStep reference210 = ref CollectionsMarshal.AsSpan(list271)[0]; - QuestStep obj184 = new QuestStep(EInteractionType.CompleteQuest, 1054496u, new Vector3(-49.485046f, 6.4999943f, -90.836975f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions15 = new SkipConditions(); - SkipAetheryteCondition skipAetheryteCondition4 = new SkipAetheryteCondition(); - num3 = 2; - List list272 = new List(num3); - CollectionsMarshal.SetCount(list272, num3); - Span span103 = CollectionsMarshal.AsSpan(list272); - span103[0] = 132; - span103[1] = 133; - skipAetheryteCondition4.InTerritory = list272; - skipConditions15.AetheryteShortcutIf = skipAetheryteCondition4; - skipConditions15.AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }; - obj184.SkipConditions = skipConditions15; - reference210 = obj184; - obj183.Steps = list271; - reference209 = obj183; - questRoot27.QuestSequence = list258; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(5378); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list273 = new List(num); - CollectionsMarshal.SetCount(list273, num); - CollectionsMarshal.AsSpan(list273)[0] = "WigglyMuffin"; - questRoot28.Author = list273; - num = 8; - List list274 = new List(num); - CollectionsMarshal.SetCount(list274, num); - Span span104 = CollectionsMarshal.AsSpan(list274); - ref QuestSequence reference211 = ref span104[0]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[0] = new QuestStep(EInteractionType.AcceptQuest, 1053655u, new Vector3(231.64722f, 50.749847f, 210.25403f), 1186) - { - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineNeonStein - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj185.Steps = list275; - reference211 = obj185; - ref QuestSequence reference212 = ref span104[1]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - Span span105 = CollectionsMarshal.AsSpan(list276); - span105[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(258.43686f, 50.749672f, 151.8797f), 1186); - span105[1] = new QuestStep(EInteractionType.Interact, 1054748u, new Vector3(441.5503f, 60f, 88.91431f), 1186) - { - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineNeonStein, - To = EAetheryteLocation.SolutionNineTrueVue - } - }; - obj186.Steps = list276; - reference212 = obj186; - ref QuestSequence reference213 = ref span104[2]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - CollectionsMarshal.AsSpan(list277)[0] = new QuestStep(EInteractionType.Interact, 1054753u, new Vector3(639.33765f, 146.06567f, 706.4773f), 1191) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.HeritageFoundYyasulaniStation, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj187.Steps = list277; - reference213 = obj187; - ref QuestSequence reference214 = ref span104[3]; - QuestSequence obj188 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - CollectionsMarshal.AsSpan(list278)[0] = new QuestStep(EInteractionType.Interact, 1054757u, new Vector3(-185.29034f, 15.695002f, -385.00043f), 1190); - obj188.Steps = list278; - reference214 = obj188; - ref QuestSequence reference215 = ref span104[4]; - QuestSequence obj189 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - CollectionsMarshal.AsSpan(list279)[0] = new QuestStep(EInteractionType.Interact, 1054760u, new Vector3(-277.27173f, 15.865601f, -195.36127f), 1190) - { - Fly = true - }; - obj189.Steps = list279; - reference215 = obj189; - ref QuestSequence reference216 = ref span104[5]; - QuestSequence obj190 = new QuestSequence - { - Sequence = 5 - }; - num2 = 4; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - Span span106 = CollectionsMarshal.AsSpan(list280); - span106[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-342.82297f, 18.182781f, -161.67989f), 1190) - { - Land = true - }; - span106[1] = new QuestStep(EInteractionType.Interact, 1049374u, new Vector3(-345.2049f, 18.198153f, -163.50049f), 1190) - { - Fly = true - }; - span106[2] = new QuestStep(EInteractionType.Interact, 1049384u, new Vector3(-321.98065f, 18.589752f, -114.39691f), 1190) - { - Fly = true - }; - span106[3] = new QuestStep(EInteractionType.Interact, 1054763u, new Vector3(-282.12408f, 18.276659f, -87.296875f), 1190) - { - Fly = true - }; - obj190.Steps = list280; - reference216 = obj190; - ref QuestSequence reference217 = ref span104[6]; - QuestSequence obj191 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - CollectionsMarshal.AsSpan(list281)[0] = new QuestStep(EInteractionType.Interact, 1054764u, new Vector3(-306.32483f, 18.195349f, -87.60205f), 1190); - obj191.Steps = list281; - reference217 = obj191; - ref QuestSequence reference218 = ref span104[7]; - QuestSequence obj192 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list282 = new List(num2); - CollectionsMarshal.SetCount(list282, num2); - CollectionsMarshal.AsSpan(list282)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054767u, new Vector3(-419.3637f, 21.14813f, -142.74823f), 1190) - { - Fly = true, - NextQuestId = new QuestId(5379) - }; - obj192.Steps = list282; - reference218 = obj192; - questRoot28.QuestSequence = list274; - AddQuest(questId28, questRoot28); - QuestId questId29 = new QuestId(5379); - QuestRoot questRoot29 = new QuestRoot(); - num = 1; - List list283 = new List(num); - CollectionsMarshal.SetCount(list283, num); - CollectionsMarshal.AsSpan(list283)[0] = "WigglyMuffin"; - questRoot29.Author = list283; - num = 12; - List list284 = new List(num); - CollectionsMarshal.SetCount(list284, num); - Span span107 = CollectionsMarshal.AsSpan(list284); - ref QuestSequence reference219 = ref span107[0]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - CollectionsMarshal.AsSpan(list285)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054773u, new Vector3(-329.21344f, 18.02224f, -137.28546f), 1190) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ShaaloaniShesheneweziSprings, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj193.Steps = list285; - reference219 = obj193; - ref QuestSequence reference220 = ref span107[1]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - CollectionsMarshal.AsSpan(list286)[0] = new QuestStep(EInteractionType.Interact, 1054775u, new Vector3(-236.13336f, -0.8372388f, 247.11987f), 1190) - { - Fly = true - }; - obj194.Steps = list286; - reference220 = obj194; - ref QuestSequence reference221 = ref span107[2]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - CollectionsMarshal.AsSpan(list287)[0] = new QuestStep(EInteractionType.Interact, 1054775u, new Vector3(-236.13336f, -0.8372388f, 247.11987f), 1190); - obj195.Steps = list287; - reference221 = obj195; - ref QuestSequence reference222 = ref span107[3]; - QuestSequence obj196 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - CollectionsMarshal.AsSpan(list288)[0] = new QuestStep(EInteractionType.Interact, 1054777u, new Vector3(-186.81628f, (float)Math.E * 63f / 92f, 303.42554f), 1190) - { - Fly = true - }; - obj196.Steps = list288; - reference222 = obj196; - ref QuestSequence reference223 = ref span107[4]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - CollectionsMarshal.AsSpan(list289)[0] = new QuestStep(EInteractionType.Interact, 1054778u, new Vector3(-127.6723f, 1.5186902f, 336.7207f), 1190) - { - Fly = true - }; - obj197.Steps = list289; - reference223 = obj197; - ref QuestSequence reference224 = ref span107[5]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - CollectionsMarshal.AsSpan(list290)[0] = new QuestStep(EInteractionType.Interact, 1054779u, new Vector3(-168.29181f, -1.8273239f, 402.7008f), 1190) - { - Fly = true - }; - obj198.Steps = list290; - reference224 = obj198; - ref QuestSequence reference225 = ref span107[6]; - QuestSequence obj199 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - CollectionsMarshal.AsSpan(list291)[0] = new QuestStep(EInteractionType.Interact, 1054780u, new Vector3(-111.28406f, -7.4034004f, 529.9f), 1190) - { - Fly = true - }; - obj199.Steps = list291; - reference225 = obj199; - ref QuestSequence reference226 = ref span107[7]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 7 - }; - num2 = 3; - List list292 = new List(num2); - CollectionsMarshal.SetCount(list292, num2); - Span span108 = CollectionsMarshal.AsSpan(list292); - ref QuestStep reference227 = ref span108[0]; - QuestStep obj201 = new QuestStep(EInteractionType.Interact, 2014869u, new Vector3(-286.18298f, -45.91449f, 624.567f), 1190) - { - Fly = true - }; - num3 = 6; - List list293 = new List(num3); - CollectionsMarshal.SetCount(list293, num3); - Span span109 = CollectionsMarshal.AsSpan(list293); - span109[0] = null; - span109[1] = null; - span109[2] = null; - span109[3] = null; - span109[4] = null; - span109[5] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - obj201.CompletionQuestVariablesFlags = list293; - reference227 = obj201; - ref QuestStep reference228 = ref span108[1]; - QuestStep questStep28 = new QuestStep(EInteractionType.Interact, 2014868u, new Vector3(-273.82324f, -44.38855f, 627.25244f), 1190); - num3 = 6; - List list294 = new List(num3); - CollectionsMarshal.SetCount(list294, num3); - Span span110 = CollectionsMarshal.AsSpan(list294); - span110[0] = null; - span110[1] = null; - span110[2] = null; - span110[3] = null; - span110[4] = null; - span110[5] = new QuestWorkValue((byte)6, null, EQuestWorkMode.Bitwise); - questStep28.CompletionQuestVariablesFlags = list294; - reference228 = questStep28; - span108[2] = new QuestStep(EInteractionType.Interact, 2014867u, new Vector3(-214.12988f, -39.871887f, 659.8153f), 1190) - { - Fly = true - }; - obj200.Steps = list292; - reference226 = obj200; - ref QuestSequence reference229 = ref span107[8]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - CollectionsMarshal.AsSpan(list295)[0] = new QuestStep(EInteractionType.Interact, 1054782u, new Vector3(-186.69415f, -33.644463f, 658.50305f), 1190); - obj202.Steps = list295; - reference229 = obj202; - ref QuestSequence reference230 = ref span107[9]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 9 - }; - num2 = 2; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - Span span111 = CollectionsMarshal.AsSpan(list296); - span111[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(475.81485f, 3.2201807f, 466.20187f), 1190) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.ShaaloaniHhusatahwi, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - NearPosition = new NearPositionCondition - { - Position = new Vector3(475.81485f, 3.2201807f, 466.20187f), - MaximumDistance = 100f, - TerritoryId = 1190 - } - } - } - }; - span111[1] = new QuestStep(EInteractionType.Interact, 1051501u, new Vector3(488.0598f, 3.2202392f, 484.03137f), 1190); - obj203.Steps = list296; - reference230 = obj203; - ref QuestSequence reference231 = ref span107[10]; - QuestSequence obj204 = new QuestSequence - { - Sequence = 10 - }; - num2 = 1; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - CollectionsMarshal.AsSpan(list297)[0] = new QuestStep(EInteractionType.Interact, 1051501u, new Vector3(488.0598f, 3.2202392f, 484.03137f), 1190); - obj204.Steps = list297; - reference231 = obj204; - ref QuestSequence reference232 = ref span107[11]; - QuestSequence obj205 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list298 = new List(num2); - CollectionsMarshal.SetCount(list298, num2); - CollectionsMarshal.AsSpan(list298)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053655u, new Vector3(231.64722f, 50.749847f, 210.25403f), 1186) - { - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineNeonStein - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj205.Steps = list298; - reference232 = obj205; - questRoot29.QuestSequence = list284; - AddQuest(questId29, questRoot29); - QuestId questId30 = new QuestId(5380); - QuestRoot questRoot30 = new QuestRoot(); - num = 1; - List list299 = new List(num); - CollectionsMarshal.SetCount(list299, num); - CollectionsMarshal.AsSpan(list299)[0] = "WigglyMuffin"; - questRoot30.Author = list299; - num = 4; - List list300 = new List(num); - CollectionsMarshal.SetCount(list300, num); - Span span112 = CollectionsMarshal.AsSpan(list300); - ref QuestSequence reference233 = ref span112[0]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - CollectionsMarshal.AsSpan(list301)[0] = new QuestStep(EInteractionType.AcceptQuest, 1039457u, new Vector3(25.802979f, 0f, 13.38208f), 1278); - obj206.Steps = list301; - reference233 = obj206; - ref QuestSequence reference234 = ref span112[1]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list302 = new List(num2); - CollectionsMarshal.SetCount(list302, num2); - CollectionsMarshal.AsSpan(list302)[0] = new QuestStep(EInteractionType.Emote, 1039456u, new Vector3(28.854736f, 0f, 13.351624f), 1278) - { - Emote = EEmote.Doubt - }; - obj207.Steps = list302; - reference234 = obj207; - ref QuestSequence reference235 = ref span112[2]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list303 = new List(num2); - CollectionsMarshal.SetCount(list303, num2); - CollectionsMarshal.AsSpan(list303)[0] = new QuestStep(EInteractionType.Interact, 1053908u, new Vector3(28.854736f, 0f, 13.351624f), 1278); - obj208.Steps = list303; - reference235 = obj208; - ref QuestSequence reference236 = ref span112[3]; - QuestSequence obj209 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - CollectionsMarshal.AsSpan(list304)[0] = new QuestStep(EInteractionType.CompleteQuest, 2014937u, new Vector3(27.60829f, 0f, 11.74576f), 1278) - { - NextQuestId = new QuestId(5381) - }; - obj209.Steps = list304; - reference236 = obj209; - questRoot30.QuestSequence = list300; - AddQuest(questId30, questRoot30); - QuestId questId31 = new QuestId(5381); - QuestRoot questRoot31 = new QuestRoot(); - num = 1; - List list305 = new List(num); - CollectionsMarshal.SetCount(list305, num); - CollectionsMarshal.AsSpan(list305)[0] = "WigglyMuffin"; - questRoot31.Author = list305; - num = 3; - List list306 = new List(num); - CollectionsMarshal.SetCount(list306, num); - Span span113 = CollectionsMarshal.AsSpan(list306); - ref QuestSequence reference237 = ref span113[0]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list307 = new List(num2); - CollectionsMarshal.SetCount(list307, num2); - CollectionsMarshal.AsSpan(list307)[0] = new QuestStep(EInteractionType.AcceptQuest, 1053906u, new Vector3(25.802979f, 0f, 13.38208f), 1278); - obj210.Steps = list307; - reference237 = obj210; - ref QuestSequence reference238 = ref span113[1]; - QuestSequence obj211 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - CollectionsMarshal.AsSpan(list308)[0] = new QuestStep(EInteractionType.Interact, 1053906u, new Vector3(25.802979f, 0f, 13.38208f), 1278); - obj211.Steps = list308; - reference238 = obj211; - ref QuestSequence reference239 = ref span113[2]; - QuestSequence obj212 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - CollectionsMarshal.AsSpan(list309)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053908u, new Vector3(28.854736f, 0f, 13.351624f), 1278) - { - NextQuestId = new QuestId(5382) - }; - obj212.Steps = list309; - reference239 = obj212; - questRoot31.QuestSequence = list306; - AddQuest(questId31, questRoot31); - QuestId questId32 = new QuestId(5382); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list310 = new List(num); - CollectionsMarshal.SetCount(list310, num); - CollectionsMarshal.AsSpan(list310)[0] = "WigglyMuffin"; - questRoot32.Author = list310; - num = 2; - List list311 = new List(num); - CollectionsMarshal.SetCount(list311, num); - Span span114 = CollectionsMarshal.AsSpan(list311); - ref QuestSequence reference240 = ref span114[0]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list312 = new List(num2); - CollectionsMarshal.SetCount(list312, num2); - ref QuestStep reference241 = ref CollectionsMarshal.AsSpan(list312)[0]; - QuestStep questStep29 = new QuestStep(EInteractionType.AcceptQuest, 1053906u, new Vector3(25.802979f, 0f, 13.38208f), 1278); - num3 = 1; - List list313 = new List(num3); - CollectionsMarshal.SetCount(list313, num3); - CollectionsMarshal.AsSpan(list313)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGKW103_05382_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGKW103_05382_A1_000_002"), - AnswerIsRegularExpression = true - }; - questStep29.DialogueChoices = list313; - reference241 = questStep29; - obj213.Steps = list312; - reference240 = obj213; - ref QuestSequence reference242 = ref span114[1]; - QuestSequence obj214 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list314 = new List(num2); - CollectionsMarshal.SetCount(list314, num2); - CollectionsMarshal.AsSpan(list314)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053905u, new Vector3(29.55664f, 0f, 10.788086f), 1278); - obj214.Steps = list314; - reference242 = obj214; - questRoot32.QuestSequence = list311; - AddQuest(questId32, questRoot32); - } - - private static void LoadQuests108() - { - QuestId questId = new QuestId(5405); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "WigglyMuffin"; - questRoot.Author = list; - num = 6; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054946u, new Vector3(-44.38855f, 2.8244886f, -23.91095f), 819) - { - AetheryteShortcut = EAetheryteLocation.Crystarium, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - span2[0] = new QuestStep(EInteractionType.Jump, null, new Vector3(-108.860016f, 0f, -122.96661f), 819) - { - StopDistance = 0.25f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Crystarium, - To = EAetheryteLocation.CrystariumTemenosRookery - }, - JumpDestination = new JumpDestination - { - Position = new Vector3(-109.03213f, 1.9211035f, -128.47693f) - } - }; - span2[1] = new QuestStep(EInteractionType.Interact, 1054948u, new Vector3(-106.126526f, -47.55987f, -136.0647f), 819); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1054949u, new Vector3(404.65393f, 85.387535f, -699.54987f), 816) - { - AetheryteShortcut = EAetheryteLocation.IlMhegWolekdorf - }; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - CollectionsMarshal.AsSpan(list6)[0] = new QuestStep(EInteractionType.Interact, 1054950u, new Vector3(543.2975f, 109.2974f, -869.4133f), 816) - { - Fly = true - }; - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.Interact, 1054999u, new Vector3(418.44812f, 89.44323f, -777.0962f), 816) - { - Fly = true - }; - obj5.Steps = list7; - reference5 = obj5; - ref QuestSequence reference6 = ref span[5]; - QuestSequence obj6 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - CollectionsMarshal.AsSpan(list8)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054942u, new Vector3(424.09387f, 89.42931f, -772.27435f), 816); - obj6.Steps = list8; - reference6 = obj6; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(5406); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - CollectionsMarshal.AsSpan(list9)[0] = "WigglyMuffin"; - questRoot2.Author = list9; - num = 2; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - Span span3 = CollectionsMarshal.AsSpan(list10); - ref QuestSequence reference7 = ref span3[0]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054945u, new Vector3(418.7533f, 89.46841f, -779.5682f), 816) - { - AetheryteShortcut = EAetheryteLocation.IlMhegWolekdorf, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span3[1]; - QuestSequence obj8 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054945u, new Vector3(418.7533f, 89.46841f, -779.5682f), 816); - obj8.Steps = list12; - reference8 = obj8; - questRoot2.QuestSequence = list10; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(5407); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = "WigglyMuffin"; - questRoot3.Author = list13; - num = 3; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - Span span4 = CollectionsMarshal.AsSpan(list14); - ref QuestSequence reference9 = ref span4[0]; - QuestSequence obj9 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list15 = new List(num2); - CollectionsMarshal.SetCount(list15, num2); - CollectionsMarshal.AsSpan(list15)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054945u, new Vector3(418.7533f, 89.46841f, -779.5682f), 816) - { - AetheryteShortcut = EAetheryteLocation.IlMhegWolekdorf, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj9.Steps = list15; - reference9 = obj9; - ref QuestSequence reference10 = ref span4[1]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - CollectionsMarshal.AsSpan(list16)[0] = new QuestStep(EInteractionType.Interact, 2014910u, new Vector3(541.2074f, 109.4176f, -871.7104f), 816) - { - AetheryteShortcut = EAetheryteLocation.IlMhegWolekdorf, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj10.Steps = list16; - reference10 = obj10; - ref QuestSequence reference11 = ref span4[2]; - QuestSequence obj11 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - CollectionsMarshal.AsSpan(list17)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054945u, new Vector3(418.7533f, 89.46841f, -779.5682f), 816) - { - AetheryteShortcut = EAetheryteLocation.IlMhegWolekdorf, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj11.Steps = list17; - reference11 = obj11; - questRoot3.QuestSequence = list14; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(5409); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - CollectionsMarshal.AsSpan(list18)[0] = "WigglyMuffin"; - questRoot4.Author = list18; - num = 3; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - Span span5 = CollectionsMarshal.AsSpan(list19); - ref QuestSequence reference12 = ref span5[0]; - QuestSequence obj12 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - CollectionsMarshal.AsSpan(list20)[0] = new QuestStep(EInteractionType.AcceptQuest, 1052617u, new Vector3(-53.177734f, -3.33786E-06f, -72.129456f), 1237); - obj12.Steps = list20; - reference12 = obj12; - ref QuestSequence reference13 = ref span5[1]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - ref QuestStep reference14 = ref CollectionsMarshal.AsSpan(list21)[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1052624u, new Vector3(-42.008118f, 11.869998f, -95.75043f), 1237); - int num3 = 1; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - CollectionsMarshal.AsSpan(list22)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGWK201_05409_SYSTEM_100_021") - }; - questStep.DialogueChoices = list22; - reference14 = questStep; - obj13.Steps = list21; - reference13 = obj13; - ref QuestSequence reference15 = ref span5[2]; - QuestSequence obj14 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053219u, new Vector3(287.49524f, 52.00211f, -382.9862f), 1291); - obj14.Steps = list23; - reference15 = obj14; - questRoot4.QuestSequence = list19; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(5410); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - CollectionsMarshal.AsSpan(list24)[0] = "WigglyMuffin"; - questRoot5.Author = list24; - num = 7; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - Span span6 = CollectionsMarshal.AsSpan(list25); - ref QuestSequence reference16 = ref span6[0]; - QuestSequence obj15 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list26 = new List(num2); - CollectionsMarshal.SetCount(list26, num2); - CollectionsMarshal.AsSpan(list26)[0] = new QuestStep(EInteractionType.AcceptQuest, 1053219u, new Vector3(287.49524f, 52.00211f, -382.9862f), 1291); - obj15.Steps = list26; - reference16 = obj15; - ref QuestSequence reference17 = ref span6[1]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.Interact, 1053329u, new Vector3(288.74634f, 52.002327f, -381.64343f), 1291); - obj16.Steps = list27; - reference17 = obj16; - ref QuestSequence reference18 = ref span6[2]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - Span span7 = CollectionsMarshal.AsSpan(list28); - span7[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(184.95572f, 59.50008f, -449.5014f), 1291); - span7[1] = new QuestStep(EInteractionType.Interact, 1053329u, new Vector3(180.5135f, 59.50008f, -450.65436f), 1291) - { - StopDistance = 0.25f, - Mount = false - }; - obj17.Steps = list28; - reference18 = obj17; - ref QuestSequence reference19 = ref span6[3]; - QuestSequence obj18 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list29 = new List(num2); - CollectionsMarshal.SetCount(list29, num2); - Span span8 = CollectionsMarshal.AsSpan(list29); - span8[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-228.49808f, -3.201358f, -374.8919f), 1291); - span8[1] = new QuestStep(EInteractionType.Interact, 1053329u, new Vector3(-232.33755f, -4.477512f, -370.6558f), 1291) - { - StopDistance = 0.25f, - Mount = false - }; - obj18.Steps = list29; - reference19 = obj18; - ref QuestSequence reference20 = ref span6[4]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - Span span9 = CollectionsMarshal.AsSpan(list30); - span9[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-397.80423f, 12.618442f, 470.09174f), 1291); - span9[1] = new QuestStep(EInteractionType.Interact, 1053329u, new Vector3(-397.88083f, 13.0445385f, 474.38928f), 1291) - { - StopDistance = 0.25f, - Mount = false - }; - obj19.Steps = list30; - reference20 = obj19; - ref QuestSequence reference21 = ref span6[5]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - ref QuestStep reference22 = ref CollectionsMarshal.AsSpan(list31)[0]; - QuestStep obj21 = new QuestStep(EInteractionType.Snipe, 2014920u, new Vector3(-46.72509f, 22.42642f, 417.836f), 1291) - { - Comment = "Click (from left to right) Spiky Crystalline Tree, Flowery Shrub, Tree with Purple Canopy?, Iridescent Terrain, Seemingly Glassblown Bloom" - }; - num3 = 2; - List list32 = new List(num3); - CollectionsMarshal.SetCount(list32, num3); - Span span10 = CollectionsMarshal.AsSpan(list32); - span10[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGWK202_05410_Q2_000_000") - }; - span10[1] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGWK202_05410_Q3_000_000"), - Answer = new ExcelRef("TEXT_KINGWK202_05410_A3_000_001") - }; - obj21.DialogueChoices = list32; - num3 = 5; - List list33 = new List(num3); - CollectionsMarshal.SetCount(list33, num3); - Span span11 = CollectionsMarshal.AsSpan(list33); - span11[0] = 0u; - span11[1] = 1u; - span11[2] = 2u; - span11[3] = 3u; - span11[4] = 4u; - obj21.PointMenuChoices = list33; - reference22 = obj21; - obj20.Steps = list31; - reference21 = obj20; - ref QuestSequence reference23 = ref span6[6]; - QuestSequence obj22 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - Span span12 = CollectionsMarshal.AsSpan(list34); - span12[0] = new QuestStep(EInteractionType.Action, null, null, 1291) - { - Comment = "Use Stellar Return to teleport back", - Action = EAction.DutyAction1 - }; - span12[1] = new QuestStep(EInteractionType.CompleteQuest, 1053328u, new Vector3(287.49524f, 52.00211f, -382.9862f), 1291) - { - NextQuestId = new QuestId(5411) - }; - obj22.Steps = list34; - reference23 = obj22; - questRoot5.QuestSequence = list25; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(5411); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - CollectionsMarshal.AsSpan(list35)[0] = "WigglyMuffin"; - questRoot6.Author = list35; - num = 3; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - Span span13 = CollectionsMarshal.AsSpan(list36); - ref QuestSequence reference24 = ref span13[0]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - ref QuestStep reference25 = ref CollectionsMarshal.AsSpan(list37)[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.AcceptQuest, 1053331u, new Vector3(350.5454f, 52.612267f, -438.40698f), 1291); - num3 = 1; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - CollectionsMarshal.AsSpan(list38)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGWZ201_05411_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGWZ201_05411_A1_000_001") - }; - questStep2.DialogueChoices = list38; - reference25 = questStep2; - obj23.Steps = list37; - reference24 = obj23; - ref QuestSequence reference26 = ref span13[1]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.Interact, 1053332u, new Vector3(446.98242f, 59.965904f, -479.81995f), 1291); - obj24.Steps = list39; - reference26 = obj24; - ref QuestSequence reference27 = ref span13[2]; - QuestSequence obj25 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - CollectionsMarshal.AsSpan(list40)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053331u, new Vector3(350.5454f, 52.612267f, -438.40698f), 1291) - { - NextQuestId = new QuestId(5412) - }; - obj25.Steps = list40; - reference27 = obj25; - questRoot6.QuestSequence = list36; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(5412); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - CollectionsMarshal.AsSpan(list41)[0] = "WigglyMuffin"; - questRoot7.Author = list41; - num = 5; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - Span span14 = CollectionsMarshal.AsSpan(list42); - ref QuestSequence reference28 = ref span14[0]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list43 = new List(num2); - CollectionsMarshal.SetCount(list43, num2); - CollectionsMarshal.AsSpan(list43)[0] = new QuestStep(EInteractionType.AcceptQuest, 1053335u, new Vector3(383.65747f, 52.5f, -389.79175f), 1291); - obj26.Steps = list43; - reference28 = obj26; - ref QuestSequence reference29 = ref span14[1]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - CollectionsMarshal.AsSpan(list44)[0] = new QuestStep(EInteractionType.Interact, 1053336u, new Vector3(-28.366577f, -10.3759985f, -113.206726f), 1291); - obj27.Steps = list44; - reference29 = obj27; - ref QuestSequence reference30 = ref span14[2]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list45 = new List(num2); - CollectionsMarshal.SetCount(list45, num2); - Span span15 = CollectionsMarshal.AsSpan(list45); - ref QuestStep reference31 = ref span15[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 2014925u, new Vector3(-110.2011f, -8.69405f, -156.9028f), 1291); - num3 = 6; - List list46 = new List(num3); - CollectionsMarshal.SetCount(list46, num3); - Span span16 = CollectionsMarshal.AsSpan(list46); - span16[0] = null; - span16[1] = null; - span16[2] = null; - span16[3] = null; - span16[4] = null; - span16[5] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list46; - reference31 = questStep3; - ref QuestStep reference32 = ref span15[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2014924u, new Vector3(-218.8908f, -8.711901f, -128.8406f), 1291); - num3 = 6; - List list47 = new List(num3); - CollectionsMarshal.SetCount(list47, num3); - Span span17 = CollectionsMarshal.AsSpan(list47); - span17[0] = null; - span17[1] = null; - span17[2] = null; - span17[3] = null; - span17[4] = null; - span17[5] = new QuestWorkValue((byte)6, null, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list47; - reference32 = questStep4; - ref QuestStep reference33 = ref span15[2]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2014923u, new Vector3(-168.958f, -9.766992f, -66.88347f), 1291); - num3 = 6; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - Span span18 = CollectionsMarshal.AsSpan(list48); - span18[0] = null; - span18[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span18[2] = null; - span18[3] = null; - span18[4] = null; - span18[5] = null; - questStep5.CompletionQuestVariablesFlags = list48; - reference33 = questStep5; - obj28.Steps = list45; - reference30 = obj28; - ref QuestSequence reference34 = ref span14[3]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - ref QuestStep reference35 = ref CollectionsMarshal.AsSpan(list49)[0]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1053336u, new Vector3(-28.366577f, -10.3759985f, -113.206726f), 1291); - num3 = 1; - List list50 = new List(num3); - CollectionsMarshal.SetCount(list50, num3); - CollectionsMarshal.AsSpan(list50)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGWZ202_05412_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGWZ202_05412_A1_000_001") - }; - questStep6.DialogueChoices = list50; - reference35 = questStep6; - obj29.Steps = list49; - reference34 = obj29; - ref QuestSequence reference36 = ref span14[4]; - QuestSequence obj30 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - Span span19 = CollectionsMarshal.AsSpan(list51); - span19[0] = new QuestStep(EInteractionType.Action, null, null, 1291) - { - Comment = "Use Stellar Return to teleport back", - Action = EAction.DutyAction1 - }; - span19[1] = new QuestStep(EInteractionType.CompleteQuest, 1053335u, new Vector3(383.65747f, 52.5f, -389.79175f), 1291) - { - NextQuestId = new QuestId(5413) - }; - obj30.Steps = list51; - reference36 = obj30; - questRoot7.QuestSequence = list42; - AddQuest(questId7, questRoot7); - QuestId questId8 = new QuestId(5413); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list52 = new List(num); - CollectionsMarshal.SetCount(list52, num); - CollectionsMarshal.AsSpan(list52)[0] = "WigglyMuffin"; - questRoot8.Author = list52; - num = 3; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - Span span20 = CollectionsMarshal.AsSpan(list53); - ref QuestSequence reference37 = ref span20[0]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.AcceptQuest, 1053337u, new Vector3(234.97363f, 59.500084f, -448.78314f), 1291); - obj31.Steps = list54; - reference37 = obj31; - ref QuestSequence reference38 = ref span20[1]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - ref QuestStep reference39 = ref CollectionsMarshal.AsSpan(list55)[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1053337u, new Vector3(234.97363f, 59.500084f, -448.78314f), 1291); - num3 = 1; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - CollectionsMarshal.AsSpan(list56)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGWZ203_05413_Q2_000_000") - }; - questStep7.DialogueChoices = list56; - reference39 = questStep7; - obj32.Steps = list55; - reference38 = obj32; - ref QuestSequence reference40 = ref span20[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053337u, new Vector3(234.97363f, 59.500084f, -448.78314f), 1291) - { - NextQuestId = new QuestId(5414) - }; - obj33.Steps = list57; - reference40 = obj33; - questRoot8.QuestSequence = list53; - AddQuest(questId8, questRoot8); - QuestId questId9 = new QuestId(5414); - QuestRoot questRoot9 = new QuestRoot(); - num = 1; - List list58 = new List(num); - CollectionsMarshal.SetCount(list58, num); - CollectionsMarshal.AsSpan(list58)[0] = "WigglyMuffin"; - questRoot9.Author = list58; - num = 6; - List list59 = new List(num); - CollectionsMarshal.SetCount(list59, num); - Span span21 = CollectionsMarshal.AsSpan(list59); - ref QuestSequence reference41 = ref span21[0]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - ref QuestStep reference42 = ref CollectionsMarshal.AsSpan(list60)[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.AcceptQuest, 1053331u, new Vector3(350.5454f, 52.612267f, -438.40698f), 1291); - num3 = 1; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - CollectionsMarshal.AsSpan(list61)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGWZ204_05414_Q1_000_000"), - Answer = new ExcelRef("TEXT_KINGWZ204_05414_A1_000_001") - }; - questStep8.DialogueChoices = list61; - reference42 = questStep8; - obj34.Steps = list60; - reference41 = obj34; - ref QuestSequence reference43 = ref span21[1]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.Interact, 1053341u, new Vector3(349.01953f, 52.612263f, -438.98682f), 1291); - obj35.Steps = list62; - reference43 = obj35; - ref QuestSequence reference44 = ref span21[2]; - QuestSequence obj36 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - Span span22 = CollectionsMarshal.AsSpan(list63); - span22[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(401.85794f, 65.49993f, -516.0078f), 1291); - span22[1] = new QuestStep(EInteractionType.Interact, 1053341u, new Vector3(401.46838f, 65.49994f, -516.78503f), 1291) - { - StopDistance = 0.25f, - Mount = false - }; - obj36.Steps = list63; - reference44 = obj36; - ref QuestSequence reference45 = ref span21[3]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - Span span23 = CollectionsMarshal.AsSpan(list64); - span23[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(316.5788f, 53.05f, -105.28f), 1291); - span23[1] = new QuestStep(EInteractionType.Interact, 1053341u, new Vector3(312.84088f, 53.049995f, -100.085434f), 1291) - { - StopDistance = 0.25f, - Mount = false - }; - obj37.Steps = list64; - reference45 = obj37; - ref QuestSequence reference46 = ref span21[4]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list65 = new List(num2); - CollectionsMarshal.SetCount(list65, num2); - ref QuestStep reference47 = ref CollectionsMarshal.AsSpan(list65)[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.Interact, 1053342u, new Vector3(310.17004f, 53.05f, -98.40552f), 1291); - num3 = 1; - List list66 = new List(num3); - CollectionsMarshal.SetCount(list66, num3); - CollectionsMarshal.AsSpan(list66)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGWZ204_05414_Q9_000_000") - }; - questStep9.DialogueChoices = list66; - reference47 = questStep9; - obj38.Steps = list65; - reference46 = obj38; - ref QuestSequence reference48 = ref span21[5]; - QuestSequence obj39 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - Span span24 = CollectionsMarshal.AsSpan(list67); - span24[0] = new QuestStep(EInteractionType.Action, null, null, 1291) - { - Comment = "Use Stellar Return to teleport back", - Action = EAction.DutyAction1 - }; - span24[1] = new QuestStep(EInteractionType.CompleteQuest, 1053331u, new Vector3(350.5454f, 52.612267f, -438.40698f), 1291); - obj39.Steps = list67; - reference48 = obj39; - questRoot9.QuestSequence = list59; - AddQuest(questId9, questRoot9); - QuestId questId10 = new QuestId(5425); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list68 = new List(num); - CollectionsMarshal.SetCount(list68, num); - CollectionsMarshal.AsSpan(list68)[0] = "WigglyMuffin"; - questRoot10.Author = list68; - questRoot10.IsSeasonalQuest = true; - questRoot10.SeasonalQuestExpiry = new DateTime(2026, 4, 6, 14, 59, 0, DateTimeKind.Utc); - num = 10; - List list69 = new List(num); - CollectionsMarshal.SetCount(list69, num); - Span span25 = CollectionsMarshal.AsSpan(list69); - ref QuestSequence reference49 = ref span25[0]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - ref QuestStep reference50 = ref CollectionsMarshal.AsSpan(list70)[0]; - QuestStep obj41 = new QuestStep(EInteractionType.AcceptQuest, 1056053u, new Vector3(-50.003845f, 6.5f, -89.76886f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions = new SkipConditions(); - SkipAetheryteCondition obj42 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - CollectionsMarshal.AsSpan(list71)[0] = 133; - obj42.InTerritory = list71; - skipConditions.AetheryteShortcutIf = obj42; - obj41.SkipConditions = skipConditions; - reference50 = obj41; - obj40.Steps = list70; - reference49 = obj40; - ref QuestSequence reference51 = ref span25[1]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - CollectionsMarshal.AsSpan(list72)[0] = new QuestStep(EInteractionType.Interact, 1056054u, new Vector3(24.64331f, -1.0772418f, 58.121582f), 132) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaAmphitheatre, - To = EAetheryteLocation.Gridania - }, - SkipConditions = new SkipConditions - { - AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj43.Steps = list72; - reference51 = obj43; - ref QuestSequence reference52 = ref span25[2]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - Span span26 = CollectionsMarshal.AsSpan(list73); - ref QuestStep reference53 = ref span26[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.Interact, 1056057u, new Vector3(25.497803f, -8f, 104.93628f), 132); - num3 = 6; - List list74 = new List(num3); - CollectionsMarshal.SetCount(list74, num3); - Span span27 = CollectionsMarshal.AsSpan(list74); - span27[0] = null; - span27[1] = null; - span27[2] = null; - span27[3] = null; - span27[4] = null; - span27[5] = new QuestWorkValue((byte)8, null, EQuestWorkMode.Bitwise); - questStep10.CompletionQuestVariablesFlags = list74; - reference53 = questStep10; - ref QuestStep reference54 = ref span26[1]; - QuestStep questStep11 = new QuestStep(EInteractionType.Interact, 1056059u, new Vector3(24.093994f, -8f, 119.40173f), 132); - num3 = 6; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - Span span28 = CollectionsMarshal.AsSpan(list75); - span28[0] = null; - span28[1] = null; - span28[2] = null; - span28[3] = null; - span28[4] = null; - span28[5] = new QuestWorkValue((byte)10, null, EQuestWorkMode.Bitwise); - questStep11.CompletionQuestVariablesFlags = list75; - reference54 = questStep11; - span26[2] = new QuestStep(EInteractionType.Interact, 1056058u, new Vector3(33.920776f, -8.20001f, 125.56641f), 132); - obj44.Steps = list73; - reference52 = obj44; - ref QuestSequence reference55 = ref span25[3]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - CollectionsMarshal.AsSpan(list76)[0] = new QuestStep(EInteractionType.Interact, 1056060u, new Vector3(24.673828f, -1.0534565f, 58.701416f), 132); - obj45.Steps = list76; - reference55 = obj45; - ref QuestSequence reference56 = ref span25[4]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[0] = new QuestStep(EInteractionType.Interact, 1056061u, new Vector3(-41.21466f, 10.918522f, -232.25757f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - obj46.Steps = list77; - reference56 = obj46; - ref QuestSequence reference57 = ref span25[5]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[0] = new QuestStep(EInteractionType.Interact, 1056063u, new Vector3(126.51245f, 12.991126f, -92.484924f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaAmphitheatre, - To = EAetheryteLocation.GridaniaLeatherworker - } - }; - obj47.Steps = list78; - reference57 = obj47; - ref QuestSequence reference58 = ref span25[6]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list79 = new List(num2); - CollectionsMarshal.SetCount(list79, num2); - CollectionsMarshal.AsSpan(list79)[0] = new QuestStep(EInteractionType.Interact, 1056065u, new Vector3(-52.262207f, 6.774475f, -110.307495f), 133) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.GridaniaLeatherworker, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - obj48.Steps = list79; - reference58 = obj48; - ref QuestSequence reference59 = ref span25[7]; - QuestSequence obj49 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - Span span29 = CollectionsMarshal.AsSpan(list80); - ref QuestStep reference60 = ref span29[0]; - QuestStep obj50 = new QuestStep(EInteractionType.Interact, 1056067u, new Vector3(-54.551025f, 6.851239f, -110.948364f), 133) - { - IgnoreQuestMarker = true - }; - num3 = 1; - List list81 = new List(num3); - CollectionsMarshal.SetCount(list81, num3); - CollectionsMarshal.AsSpan(list81)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/009/FesEst2026Entrance_00960", - Prompt = new ExcelRef("TEXT_FESEST2026ENTRANCE_00960_Q1_000_000"), - Answer = new ExcelRef("TEXT_FESEST2026ENTRANCE_00960_A1_000_001"), - PromptIsRegularExpression = true - }; - obj50.DialogueChoices = list81; - reference60 = obj50; - ref QuestStep reference61 = ref span29[1]; - QuestStep obj51 = new QuestStep(EInteractionType.Action, null, null, 1336) - { - StopDistance = 0f, - Action = EAction.PruningPirouette - }; - num3 = 8; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - Span span30 = CollectionsMarshal.AsSpan(list82); - span30[0] = 2015072u; - span30[1] = 2015073u; - span30[2] = 2015074u; - span30[3] = 2015075u; - span30[4] = 2015076u; - span30[5] = 2015077u; - span30[6] = 2015078u; - span30[7] = 2015079u; - obj51.DataIds = list82; - num3 = 9; - List list83 = new List(num3); - CollectionsMarshal.SetCount(list83, num3); - Span span31 = CollectionsMarshal.AsSpan(list83); - span31[0] = new Vector3(-700.0023f, -0.15729797f, -721.67926f); - span31[1] = new Vector3(-700.1704f, -0.0301615f, 77.54147f); - span31[2] = new Vector3(-699.9926f, -0.021064043f, 877.55304f); - span31[3] = new Vector3(99.99213f, -0.100738764f, -721.9226f); - span31[4] = new Vector3(99.92716f, 4.7683716E-07f, 77.599335f); - span31[5] = new Vector3(100.40486f, 0.20596194f, 877.50397f); - span31[6] = new Vector3(899.93384f, 0.03615737f, -722.4109f); - span31[7] = new Vector3(900.052f, 0.23717809f, 77.897415f); - span31[8] = new Vector3(900.26733f, -0.30200624f, 877.5144f); - obj51.WaypointPositions = list83; - reference61 = obj51; - obj49.Steps = list80; - reference59 = obj49; - ref QuestSequence reference62 = ref span25[8]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.Interact, 1056065u, new Vector3(-52.262207f, 6.774475f, -110.307495f), 133); - obj52.Steps = list84; - reference62 = obj52; - ref QuestSequence reference63 = ref span25[9]; - QuestSequence obj53 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - ref QuestStep reference64 = ref CollectionsMarshal.AsSpan(list85)[0]; - QuestStep obj54 = new QuestStep(EInteractionType.CompleteQuest, 1056056u, new Vector3(-50.003845f, 6.5f, -89.7384f), 133) - { - AetheryteShortcut = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - } - }; - SkipConditions skipConditions2 = new SkipConditions(); - SkipAetheryteCondition obj55 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - CollectionsMarshal.AsSpan(list86)[0] = 133; - obj55.InTerritory = list86; - skipConditions2.AetheryteShortcutIf = obj55; - obj54.SkipConditions = skipConditions2; - reference64 = obj54; - obj53.Steps = list85; - reference63 = obj53; - questRoot10.QuestSequence = list69; - AddQuest(questId10, questRoot10); - QuestId questId11 = new QuestId(5426); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list87 = new List(num); - CollectionsMarshal.SetCount(list87, num); - CollectionsMarshal.AsSpan(list87)[0] = "WigglyMuffin"; - questRoot11.Author = list87; - num = 5; - List list88 = new List(num); - CollectionsMarshal.SetCount(list88, num); - Span span32 = CollectionsMarshal.AsSpan(list88); - ref QuestSequence reference65 = ref span32[0]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list89 = new List(num2); - CollectionsMarshal.SetCount(list89, num2); - CollectionsMarshal.AsSpan(list89)[0] = new QuestStep(EInteractionType.AcceptQuest, 1056011u, new Vector3(-22.568176f, 38.056595f, -389.05933f), 1186) - { - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineResolution - } - }; - obj56.Steps = list89; - reference65 = obj56; - ref QuestSequence reference66 = ref span32[1]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - Span span33 = CollectionsMarshal.AsSpan(list90); - ref QuestStep reference67 = ref span33[0]; - QuestStep obj58 = new QuestStep(EInteractionType.Interact, 1048083u, new Vector3(302.05237f, 51.199978f, 205.0354f), 1186) - { - TargetTerritoryId = (ushort)1207, - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNineResolution, - To = EAetheryteLocation.SolutionNineNeonStein - } - }; - SkipConditions skipConditions3 = new SkipConditions(); - SkipStepConditions skipStepConditions = new SkipStepConditions(); - num3 = 1; - List list91 = new List(num3); - CollectionsMarshal.SetCount(list91, num3); - CollectionsMarshal.AsSpan(list91)[0] = 1207; - skipStepConditions.InTerritory = list91; - skipConditions3.StepIf = skipStepConditions; - SkipAetheryteCondition obj59 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list92 = new List(num3); - CollectionsMarshal.SetCount(list92, num3); - CollectionsMarshal.AsSpan(list92)[0] = 1207; - obj59.InTerritory = list92; - skipConditions3.AetheryteShortcutIf = obj59; - obj58.SkipConditions = skipConditions3; - reference67 = obj58; - span33[1] = new QuestStep(EInteractionType.Interact, 1048161u, new Vector3(-5.874817f, -3.6188258E-08f, 6.8512573f), 1207); - obj57.Steps = list90; - reference66 = obj57; - ref QuestSequence reference68 = ref span32[2]; - QuestSequence obj60 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.Interact, 1056119u, new Vector3(130.41882f, -16.560858f, 165.85034f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj60.Steps = list93; - reference68 = obj60; - ref QuestSequence reference69 = ref span32[3]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list94 = new List(num2); - CollectionsMarshal.SetCount(list94, num2); - CollectionsMarshal.AsSpan(list94)[0] = new QuestStep(EInteractionType.Interact, 2014993u, new Vector3(129.9068f, -16.56085f, 163.5934f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj61.Steps = list94; - reference69 = obj61; - ref QuestSequence reference70 = ref span32[4]; - QuestSequence obj62 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - CollectionsMarshal.AsSpan(list95)[0] = new QuestStep(EInteractionType.CompleteQuest, 1056126u, new Vector3(132.6466f, -15.89986f, 176.01282f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj62.Steps = list95; - reference70 = obj62; - questRoot11.QuestSequence = list88; - AddQuest(questId11, questRoot11); - QuestId questId12 = new QuestId(5427); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - CollectionsMarshal.AsSpan(list96)[0] = "WigglyMuffin"; - questRoot12.Author = list96; - num = 5; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - Span span34 = CollectionsMarshal.AsSpan(list97); - ref QuestSequence reference71 = ref span34[0]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list98 = new List(num2); - CollectionsMarshal.SetCount(list98, num2); - CollectionsMarshal.AsSpan(list98)[0] = new QuestStep(EInteractionType.AcceptQuest, 1056126u, new Vector3(132.6466f, -15.89986f, 176.01282f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj63.Steps = list98; - reference71 = obj63; - ref QuestSequence reference72 = ref span34[1]; - QuestSequence obj64 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - CollectionsMarshal.AsSpan(list99)[0] = new QuestStep(EInteractionType.Interact, 1056131u, new Vector3(14.663879f, -19.587986f, 195.11707f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj64.Steps = list99; - reference72 = obj64; - ref QuestSequence reference73 = ref span34[2]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - CollectionsMarshal.AsSpan(list100)[0] = new QuestStep(EInteractionType.Interact, 1056136u, new Vector3(6.3324585f, 50.700012f, 725.6428f), 1192) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj65.Steps = list100; - reference73 = obj65; - ref QuestSequence reference74 = ref span34[3]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.Interact, 1056140u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj66.Steps = list101; - reference74 = obj66; - ref QuestSequence reference75 = ref span34[4]; - QuestSequence obj67 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new QuestStep(EInteractionType.CompleteQuest, 1056141u, new Vector3(-7.5532227f, -0.003462526f, -7.950012f), 1334); - obj67.Steps = list102; - reference75 = obj67; - questRoot12.QuestSequence = list97; - AddQuest(questId12, questRoot12); - QuestId questId13 = new QuestId(5428); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - CollectionsMarshal.AsSpan(list103)[0] = "WigglyMuffin"; - questRoot13.Author = list103; - num = 7; - List list104 = new List(num); - CollectionsMarshal.SetCount(list104, num); - Span span35 = CollectionsMarshal.AsSpan(list104); - ref QuestSequence reference76 = ref span35[0]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - Span span36 = CollectionsMarshal.AsSpan(list105); - ref QuestStep reference77 = ref span36[0]; - QuestStep obj69 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions4 = new SkipConditions(); - SkipStepConditions skipStepConditions2 = new SkipStepConditions(); - num3 = 2; - List list106 = new List(num3); - CollectionsMarshal.SetCount(list106, num3); - Span span37 = CollectionsMarshal.AsSpan(list106); - span37[0] = 1334; - span37[1] = 1332; - skipStepConditions2.InTerritory = list106; - skipConditions4.StepIf = skipStepConditions2; - SkipAetheryteCondition obj70 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - Span span38 = CollectionsMarshal.AsSpan(list107); - span38[0] = 1334; - span38[1] = 1332; - obj70.InTerritory = list107; - skipConditions4.AetheryteShortcutIf = obj70; - obj69.SkipConditions = skipConditions4; - reference77 = obj69; - span36[1] = new QuestStep(EInteractionType.AcceptQuest, 1056141u, new Vector3(-7.5532227f, -0.003462526f, -7.950012f), 1334); - obj68.Steps = list105; - reference76 = obj68; - ref QuestSequence reference78 = ref span35[1]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list108 = new List(num2); - CollectionsMarshal.SetCount(list108, num2); - Span span39 = CollectionsMarshal.AsSpan(list108); - ref QuestStep reference79 = ref span39[0]; - QuestStep obj72 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions5 = new SkipConditions(); - SkipStepConditions skipStepConditions3 = new SkipStepConditions(); - num3 = 2; - List list109 = new List(num3); - CollectionsMarshal.SetCount(list109, num3); - Span span40 = CollectionsMarshal.AsSpan(list109); - span40[0] = 1334; - span40[1] = 1332; - skipStepConditions3.InTerritory = list109; - skipConditions5.StepIf = skipStepConditions3; - SkipAetheryteCondition obj73 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list110 = new List(num3); - CollectionsMarshal.SetCount(list110, num3); - Span span41 = CollectionsMarshal.AsSpan(list110); - span41[0] = 1334; - span41[1] = 1332; - obj73.InTerritory = list110; - skipConditions5.AetheryteShortcutIf = obj73; - obj72.SkipConditions = skipConditions5; - reference79 = obj72; - span39[1] = new QuestStep(EInteractionType.Interact, 1056145u, new Vector3(-2.1210327f, 4.3585896E-07f, -43.808716f), 1334); - obj71.Steps = list108; - reference78 = obj71; - ref QuestSequence reference80 = ref span35[2]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new QuestStep(EInteractionType.Duty, null, null, 1334) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 1064u - } - }; - obj74.Steps = list111; - reference80 = obj74; - span35[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference81 = ref span35[4]; - QuestSequence obj75 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span42 = CollectionsMarshal.AsSpan(list112); - ref QuestStep reference82 = ref span42[0]; - QuestStep obj76 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions6 = new SkipConditions(); - SkipStepConditions skipStepConditions4 = new SkipStepConditions(); - num3 = 2; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - Span span43 = CollectionsMarshal.AsSpan(list113); - span43[0] = 1334; - span43[1] = 1332; - skipStepConditions4.InTerritory = list113; - skipConditions6.StepIf = skipStepConditions4; - SkipAetheryteCondition obj77 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list114 = new List(num3); - CollectionsMarshal.SetCount(list114, num3); - Span span44 = CollectionsMarshal.AsSpan(list114); - span44[0] = 1334; - span44[1] = 1332; - obj77.InTerritory = list114; - skipConditions6.AetheryteShortcutIf = obj77; - obj76.SkipConditions = skipConditions6; - reference82 = obj76; - ref QuestStep reference83 = ref span42[1]; - QuestStep obj78 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions7 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 1; - List list115 = new List(num3); - CollectionsMarshal.SetCount(list115, num3); - CollectionsMarshal.AsSpan(list115)[0] = 1332; - skipStepConditions5.InTerritory = list115; - skipConditions7.StepIf = skipStepConditions5; - obj78.SkipConditions = skipConditions7; - reference83 = obj78; - span42[2] = new QuestStep(EInteractionType.Interact, 1056149u, new Vector3(274.6471f, -115.97899f, -460.83777f), 1332); - obj75.Steps = list112; - reference81 = obj75; - ref QuestSequence reference84 = ref span35[5]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - Span span45 = CollectionsMarshal.AsSpan(list116); - ref QuestStep reference85 = ref span45[0]; - QuestStep obj80 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions8 = new SkipConditions(); - SkipStepConditions skipStepConditions6 = new SkipStepConditions(); - num3 = 2; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - Span span46 = CollectionsMarshal.AsSpan(list117); - span46[0] = 1334; - span46[1] = 1332; - skipStepConditions6.InTerritory = list117; - skipConditions8.StepIf = skipStepConditions6; - SkipAetheryteCondition obj81 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list118 = new List(num3); - CollectionsMarshal.SetCount(list118, num3); - Span span47 = CollectionsMarshal.AsSpan(list118); - span47[0] = 1334; - span47[1] = 1332; - obj81.InTerritory = list118; - skipConditions8.AetheryteShortcutIf = obj81; - obj80.SkipConditions = skipConditions8; - reference85 = obj80; - ref QuestStep reference86 = ref span45[1]; - QuestStep obj82 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions9 = new SkipConditions(); - SkipStepConditions skipStepConditions7 = new SkipStepConditions(); - num3 = 1; - List list119 = new List(num3); - CollectionsMarshal.SetCount(list119, num3); - CollectionsMarshal.AsSpan(list119)[0] = 1332; - skipStepConditions7.InTerritory = list119; - skipConditions9.StepIf = skipStepConditions7; - obj82.SkipConditions = skipConditions9; - reference86 = obj82; - span45[2] = new QuestStep(EInteractionType.UseItem, null, new Vector3(274.6471f, -115.97899f, -460.83777f), 1332) - { - ItemId = 2003793u - }; - obj79.Steps = list116; - reference84 = obj79; - ref QuestSequence reference87 = ref span35[6]; - QuestSequence obj83 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list120 = new List(num2); - CollectionsMarshal.SetCount(list120, num2); - Span span48 = CollectionsMarshal.AsSpan(list120); - ref QuestStep reference88 = ref span48[0]; - QuestStep obj84 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions10 = new SkipConditions(); - SkipStepConditions skipStepConditions8 = new SkipStepConditions(); - num3 = 2; - List list121 = new List(num3); - CollectionsMarshal.SetCount(list121, num3); - Span span49 = CollectionsMarshal.AsSpan(list121); - span49[0] = 1334; - span49[1] = 1332; - skipStepConditions8.InTerritory = list121; - skipConditions10.StepIf = skipStepConditions8; - SkipAetheryteCondition obj85 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list122 = new List(num3); - CollectionsMarshal.SetCount(list122, num3); - Span span50 = CollectionsMarshal.AsSpan(list122); - span50[0] = 1334; - span50[1] = 1332; - obj85.InTerritory = list122; - skipConditions10.AetheryteShortcutIf = obj85; - obj84.SkipConditions = skipConditions10; - reference88 = obj84; - ref QuestStep reference89 = ref span48[1]; - QuestStep obj86 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions11 = new SkipConditions(); - SkipStepConditions skipStepConditions9 = new SkipStepConditions(); - num3 = 1; - List list123 = new List(num3); - CollectionsMarshal.SetCount(list123, num3); - CollectionsMarshal.AsSpan(list123)[0] = 1332; - skipStepConditions9.InTerritory = list123; - skipConditions11.StepIf = skipStepConditions9; - obj86.SkipConditions = skipConditions11; - reference89 = obj86; - span48[2] = new QuestStep(EInteractionType.CompleteQuest, 1056149u, new Vector3(274.6471f, -115.97899f, -460.83777f), 1332); - obj83.Steps = list120; - reference87 = obj83; - questRoot13.QuestSequence = list104; - AddQuest(questId13, questRoot13); - QuestId questId14 = new QuestId(5429); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - CollectionsMarshal.AsSpan(list124)[0] = "WigglyMuffin"; - questRoot14.Author = list124; - num = 4; - List list125 = new List(num); - CollectionsMarshal.SetCount(list125, num); - Span span51 = CollectionsMarshal.AsSpan(list125); - ref QuestSequence reference90 = ref span51[0]; - QuestSequence obj87 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - Span span52 = CollectionsMarshal.AsSpan(list126); - ref QuestStep reference91 = ref span52[0]; - QuestStep obj88 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions12 = new SkipConditions(); - SkipStepConditions skipStepConditions10 = new SkipStepConditions(); - num3 = 2; - List list127 = new List(num3); - CollectionsMarshal.SetCount(list127, num3); - Span span53 = CollectionsMarshal.AsSpan(list127); - span53[0] = 1334; - span53[1] = 1332; - skipStepConditions10.InTerritory = list127; - skipConditions12.StepIf = skipStepConditions10; - SkipAetheryteCondition obj89 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - Span span54 = CollectionsMarshal.AsSpan(list128); - span54[0] = 1334; - span54[1] = 1332; - obj89.InTerritory = list128; - skipConditions12.AetheryteShortcutIf = obj89; - obj88.SkipConditions = skipConditions12; - reference91 = obj88; - ref QuestStep reference92 = ref span52[1]; - QuestStep obj90 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions13 = new SkipConditions(); - SkipStepConditions skipStepConditions11 = new SkipStepConditions(); - num3 = 1; - List list129 = new List(num3); - CollectionsMarshal.SetCount(list129, num3); - CollectionsMarshal.AsSpan(list129)[0] = 1332; - skipStepConditions11.InTerritory = list129; - skipConditions13.StepIf = skipStepConditions11; - obj90.SkipConditions = skipConditions13; - reference92 = obj90; - span52[2] = new QuestStep(EInteractionType.AcceptQuest, 1056149u, new Vector3(274.6471f, -115.97899f, -460.83777f), 1332); - obj87.Steps = list126; - reference90 = obj87; - ref QuestSequence reference93 = ref span51[1]; - QuestSequence obj91 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list130 = new List(num2); - CollectionsMarshal.SetCount(list130, num2); - Span span55 = CollectionsMarshal.AsSpan(list130); - ref QuestStep reference94 = ref span55[0]; - QuestStep obj92 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions14 = new SkipConditions(); - SkipStepConditions skipStepConditions12 = new SkipStepConditions(); - num3 = 2; - List list131 = new List(num3); - CollectionsMarshal.SetCount(list131, num3); - Span span56 = CollectionsMarshal.AsSpan(list131); - span56[0] = 1334; - span56[1] = 1332; - skipStepConditions12.InTerritory = list131; - skipConditions14.StepIf = skipStepConditions12; - SkipAetheryteCondition obj93 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - Span span57 = CollectionsMarshal.AsSpan(list132); - span57[0] = 1334; - span57[1] = 1332; - obj93.InTerritory = list132; - skipConditions14.AetheryteShortcutIf = obj93; - obj92.SkipConditions = skipConditions14; - reference94 = obj92; - ref QuestStep reference95 = ref span55[1]; - QuestStep obj94 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions15 = new SkipConditions(); - SkipStepConditions skipStepConditions13 = new SkipStepConditions(); - num3 = 1; - List list133 = new List(num3); - CollectionsMarshal.SetCount(list133, num3); - CollectionsMarshal.AsSpan(list133)[0] = 1332; - skipStepConditions13.InTerritory = list133; - skipConditions15.StepIf = skipStepConditions13; - obj94.SkipConditions = skipConditions15; - reference95 = obj94; - ref QuestStep reference96 = ref span55[2]; - QuestStep questStep12 = new QuestStep(EInteractionType.Interact, 1056159u, new Vector3(273.67053f, -115.97899f, -458.3963f), 1332); - num3 = 1; - List list134 = new List(num3); - CollectionsMarshal.SetCount(list134, num3); - CollectionsMarshal.AsSpan(list134)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - Prompt = new ExcelRef("TEXT_KINGMJ104_05429_Q1_000_032"), - Answer = new ExcelRef("TEXT_KINGMJ104_05429_A1_000_001") - }; - questStep12.DialogueChoices = list134; - reference96 = questStep12; - obj91.Steps = list130; - reference93 = obj91; - ref QuestSequence reference97 = ref span51[2]; - QuestSequence obj95 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - Span span58 = CollectionsMarshal.AsSpan(list135); - ref QuestStep reference98 = ref span58[0]; - QuestStep obj96 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions16 = new SkipConditions(); - SkipStepConditions skipStepConditions14 = new SkipStepConditions(); - num3 = 2; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - Span span59 = CollectionsMarshal.AsSpan(list136); - span59[0] = 1334; - span59[1] = 1332; - skipStepConditions14.InTerritory = list136; - skipConditions16.StepIf = skipStepConditions14; - SkipAetheryteCondition obj97 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list137 = new List(num3); - CollectionsMarshal.SetCount(list137, num3); - Span span60 = CollectionsMarshal.AsSpan(list137); - span60[0] = 1334; - span60[1] = 1332; - obj97.InTerritory = list137; - skipConditions16.AetheryteShortcutIf = obj97; - obj96.SkipConditions = skipConditions16; - reference98 = obj96; - ref QuestStep reference99 = ref span58[1]; - QuestStep obj98 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions17 = new SkipConditions(); - SkipStepConditions skipStepConditions15 = new SkipStepConditions(); - num3 = 1; - List list138 = new List(num3); - CollectionsMarshal.SetCount(list138, num3); - CollectionsMarshal.AsSpan(list138)[0] = 1332; - skipStepConditions15.InTerritory = list138; - skipConditions17.StepIf = skipStepConditions15; - obj98.SkipConditions = skipConditions17; - reference99 = obj98; - ref QuestStep reference100 = ref span58[2]; - QuestStep questStep13 = new QuestStep(EInteractionType.Interact, 1056152u, new Vector3(246.3263f, -115.9987f, -389.57812f), 1332); - num3 = 6; - List list139 = new List(num3); - CollectionsMarshal.SetCount(list139, num3); - Span span61 = CollectionsMarshal.AsSpan(list139); - span61[0] = null; - span61[1] = null; - span61[2] = null; - span61[3] = null; - span61[4] = null; - span61[5] = new QuestWorkValue((byte)8, null, EQuestWorkMode.Bitwise); - questStep13.CompletionQuestVariablesFlags = list139; - reference100 = questStep13; - ref QuestStep reference101 = ref span58[3]; - QuestStep questStep14 = new QuestStep(EInteractionType.Interact, 1056153u, new Vector3(219.25684f, -115.53908f, -402.7619f), 1332); - num3 = 6; - List list140 = new List(num3); - CollectionsMarshal.SetCount(list140, num3); - Span span62 = CollectionsMarshal.AsSpan(list140); - span62[0] = null; - span62[1] = null; - span62[2] = null; - span62[3] = null; - span62[4] = null; - span62[5] = new QuestWorkValue((byte)12, null, EQuestWorkMode.Bitwise); - questStep14.CompletionQuestVariablesFlags = list140; - reference101 = questStep14; - span58[4] = new QuestStep(EInteractionType.Interact, 1056154u, new Vector3(193.86584f, -115.92868f, -388.99823f), 1332); - obj95.Steps = list135; - reference97 = obj95; - ref QuestSequence reference102 = ref span51[3]; - QuestSequence obj99 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - Span span63 = CollectionsMarshal.AsSpan(list141); - ref QuestStep reference103 = ref span63[0]; - QuestStep obj100 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions18 = new SkipConditions(); - SkipStepConditions skipStepConditions16 = new SkipStepConditions(); - num3 = 2; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - Span span64 = CollectionsMarshal.AsSpan(list142); - span64[0] = 1334; - span64[1] = 1332; - skipStepConditions16.InTerritory = list142; - skipConditions18.StepIf = skipStepConditions16; - SkipAetheryteCondition obj101 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list143 = new List(num3); - CollectionsMarshal.SetCount(list143, num3); - Span span65 = CollectionsMarshal.AsSpan(list143); - span65[0] = 1334; - span65[1] = 1332; - obj101.InTerritory = list143; - skipConditions18.AetheryteShortcutIf = obj101; - obj100.SkipConditions = skipConditions18; - reference103 = obj100; - ref QuestStep reference104 = ref span63[1]; - QuestStep obj102 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions19 = new SkipConditions(); - SkipStepConditions skipStepConditions17 = new SkipStepConditions(); - num3 = 1; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - CollectionsMarshal.AsSpan(list144)[0] = 1332; - skipStepConditions17.InTerritory = list144; - skipConditions19.StepIf = skipStepConditions17; - obj102.SkipConditions = skipConditions19; - reference104 = obj102; - span63[2] = new QuestStep(EInteractionType.CompleteQuest, 1056159u, new Vector3(273.67053f, -115.97899f, -458.3963f), 1332); - obj99.Steps = list141; - reference102 = obj99; - questRoot14.QuestSequence = list125; - AddQuest(questId14, questRoot14); - QuestId questId15 = new QuestId(5430); - QuestRoot questRoot15 = new QuestRoot(); - num = 1; - List list145 = new List(num); - CollectionsMarshal.SetCount(list145, num); - CollectionsMarshal.AsSpan(list145)[0] = "WigglyMuffin"; - questRoot15.Author = list145; - num = 8; - List list146 = new List(num); - CollectionsMarshal.SetCount(list146, num); - Span span66 = CollectionsMarshal.AsSpan(list146); - ref QuestSequence reference105 = ref span66[0]; - QuestSequence obj103 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - Span span67 = CollectionsMarshal.AsSpan(list147); - ref QuestStep reference106 = ref span67[0]; - QuestStep obj104 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions20 = new SkipConditions(); - SkipStepConditions skipStepConditions18 = new SkipStepConditions(); - num3 = 2; - List list148 = new List(num3); - CollectionsMarshal.SetCount(list148, num3); - Span span68 = CollectionsMarshal.AsSpan(list148); - span68[0] = 1334; - span68[1] = 1332; - skipStepConditions18.InTerritory = list148; - skipConditions20.StepIf = skipStepConditions18; - SkipAetheryteCondition obj105 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list149 = new List(num3); - CollectionsMarshal.SetCount(list149, num3); - Span span69 = CollectionsMarshal.AsSpan(list149); - span69[0] = 1334; - span69[1] = 1332; - obj105.InTerritory = list149; - skipConditions20.AetheryteShortcutIf = obj105; - obj104.SkipConditions = skipConditions20; - reference106 = obj104; - ref QuestStep reference107 = ref span67[1]; - QuestStep obj106 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions21 = new SkipConditions(); - SkipStepConditions skipStepConditions19 = new SkipStepConditions(); - num3 = 1; - List list150 = new List(num3); - CollectionsMarshal.SetCount(list150, num3); - CollectionsMarshal.AsSpan(list150)[0] = 1332; - skipStepConditions19.InTerritory = list150; - skipConditions21.StepIf = skipStepConditions19; - obj106.SkipConditions = skipConditions21; - reference107 = obj106; - span67[2] = new QuestStep(EInteractionType.AcceptQuest, 1056149u, new Vector3(274.6471f, -115.97899f, -460.83777f), 1332); - obj103.Steps = list147; - reference105 = obj103; - ref QuestSequence reference108 = ref span66[1]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - Span span70 = CollectionsMarshal.AsSpan(list151); - ref QuestStep reference109 = ref span70[0]; - QuestStep obj108 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions22 = new SkipConditions(); - SkipStepConditions skipStepConditions20 = new SkipStepConditions(); - num3 = 2; - List list152 = new List(num3); - CollectionsMarshal.SetCount(list152, num3); - Span span71 = CollectionsMarshal.AsSpan(list152); - span71[0] = 1334; - span71[1] = 1332; - skipStepConditions20.InTerritory = list152; - skipConditions22.StepIf = skipStepConditions20; - SkipAetheryteCondition obj109 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - Span span72 = CollectionsMarshal.AsSpan(list153); - span72[0] = 1334; - span72[1] = 1332; - obj109.InTerritory = list153; - skipConditions22.AetheryteShortcutIf = obj109; - obj108.SkipConditions = skipConditions22; - reference109 = obj108; - ref QuestStep reference110 = ref span70[1]; - QuestStep obj110 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions23 = new SkipConditions(); - SkipStepConditions skipStepConditions21 = new SkipStepConditions(); - num3 = 1; - List list154 = new List(num3); - CollectionsMarshal.SetCount(list154, num3); - CollectionsMarshal.AsSpan(list154)[0] = 1332; - skipStepConditions21.InTerritory = list154; - skipConditions23.StepIf = skipStepConditions21; - obj110.SkipConditions = skipConditions23; - reference110 = obj110; - span70[2] = new QuestStep(EInteractionType.Interact, 1056165u, new Vector3(245.89917f, -116.025f, -533.71484f), 1332); - obj107.Steps = list151; - reference108 = obj107; - ref QuestSequence reference111 = ref span66[2]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list155 = new List(num2); - CollectionsMarshal.SetCount(list155, num2); - Span span73 = CollectionsMarshal.AsSpan(list155); - ref QuestStep reference112 = ref span73[0]; - QuestStep obj112 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions24 = new SkipConditions(); - SkipStepConditions skipStepConditions22 = new SkipStepConditions(); - num3 = 2; - List list156 = new List(num3); - CollectionsMarshal.SetCount(list156, num3); - Span span74 = CollectionsMarshal.AsSpan(list156); - span74[0] = 1334; - span74[1] = 1332; - skipStepConditions22.InTerritory = list156; - skipConditions24.StepIf = skipStepConditions22; - SkipAetheryteCondition obj113 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list157 = new List(num3); - CollectionsMarshal.SetCount(list157, num3); - Span span75 = CollectionsMarshal.AsSpan(list157); - span75[0] = 1334; - span75[1] = 1332; - obj113.InTerritory = list157; - skipConditions24.AetheryteShortcutIf = obj113; - obj112.SkipConditions = skipConditions24; - reference112 = obj112; - ref QuestStep reference113 = ref span73[1]; - QuestStep obj114 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions25 = new SkipConditions(); - SkipStepConditions skipStepConditions23 = new SkipStepConditions(); - num3 = 1; - List list158 = new List(num3); - CollectionsMarshal.SetCount(list158, num3); - CollectionsMarshal.AsSpan(list158)[0] = 1332; - skipStepConditions23.InTerritory = list158; - skipConditions25.StepIf = skipStepConditions23; - obj114.SkipConditions = skipConditions25; - reference113 = obj114; - span73[2] = new QuestStep(EInteractionType.Interact, 1056165u, new Vector3(245.89917f, -116.025f, -533.71484f), 1332); - obj111.Steps = list155; - reference111 = obj111; - ref QuestSequence reference114 = ref span66[3]; - QuestSequence obj115 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list159 = new List(num2); - CollectionsMarshal.SetCount(list159, num2); - Span span76 = CollectionsMarshal.AsSpan(list159); - ref QuestStep reference115 = ref span76[0]; - QuestStep obj116 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions26 = new SkipConditions(); - SkipStepConditions skipStepConditions24 = new SkipStepConditions(); - num3 = 2; - List list160 = new List(num3); - CollectionsMarshal.SetCount(list160, num3); - Span span77 = CollectionsMarshal.AsSpan(list160); - span77[0] = 1334; - span77[1] = 1332; - skipStepConditions24.InTerritory = list160; - skipConditions26.StepIf = skipStepConditions24; - SkipAetheryteCondition obj117 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list161 = new List(num3); - CollectionsMarshal.SetCount(list161, num3); - Span span78 = CollectionsMarshal.AsSpan(list161); - span78[0] = 1334; - span78[1] = 1332; - obj117.InTerritory = list161; - skipConditions26.AetheryteShortcutIf = obj117; - obj116.SkipConditions = skipConditions26; - reference115 = obj116; - ref QuestStep reference116 = ref span76[1]; - QuestStep obj118 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions27 = new SkipConditions(); - SkipStepConditions skipStepConditions25 = new SkipStepConditions(); - num3 = 1; - List list162 = new List(num3); - CollectionsMarshal.SetCount(list162, num3); - CollectionsMarshal.AsSpan(list162)[0] = 1332; - skipStepConditions25.InTerritory = list162; - skipConditions27.StepIf = skipStepConditions25; - obj118.SkipConditions = skipConditions27; - reference116 = obj118; - span76[2] = new QuestStep(EInteractionType.Interact, 2015170u, new Vector3(246.3972f, -118.5233f, -455.0817f), 1332); - obj115.Steps = list159; - reference114 = obj115; - ref QuestSequence reference117 = ref span66[4]; - QuestSequence obj119 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list163 = new List(num2); - CollectionsMarshal.SetCount(list163, num2); - Span span79 = CollectionsMarshal.AsSpan(list163); - ref QuestStep reference118 = ref span79[0]; - QuestStep obj120 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions28 = new SkipConditions(); - SkipStepConditions skipStepConditions26 = new SkipStepConditions(); - num3 = 2; - List list164 = new List(num3); - CollectionsMarshal.SetCount(list164, num3); - Span span80 = CollectionsMarshal.AsSpan(list164); - span80[0] = 1334; - span80[1] = 1332; - skipStepConditions26.InTerritory = list164; - skipConditions28.StepIf = skipStepConditions26; - SkipAetheryteCondition obj121 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list165 = new List(num3); - CollectionsMarshal.SetCount(list165, num3); - Span span81 = CollectionsMarshal.AsSpan(list165); - span81[0] = 1334; - span81[1] = 1332; - obj121.InTerritory = list165; - skipConditions28.AetheryteShortcutIf = obj121; - obj120.SkipConditions = skipConditions28; - reference118 = obj120; - ref QuestStep reference119 = ref span79[1]; - QuestStep obj122 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions29 = new SkipConditions(); - SkipStepConditions skipStepConditions27 = new SkipStepConditions(); - num3 = 1; - List list166 = new List(num3); - CollectionsMarshal.SetCount(list166, num3); - CollectionsMarshal.AsSpan(list166)[0] = 1332; - skipStepConditions27.InTerritory = list166; - skipConditions29.StepIf = skipStepConditions27; - obj122.SkipConditions = skipConditions29; - reference119 = obj122; - span79[2] = new QuestStep(EInteractionType.Interact, 2015171u, new Vector3(275.1151f, -115.979f, -433.4405f), 1332); - obj119.Steps = list163; - reference117 = obj119; - ref QuestSequence reference120 = ref span66[5]; - QuestSequence obj123 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list167 = new List(num2); - CollectionsMarshal.SetCount(list167, num2); - Span span82 = CollectionsMarshal.AsSpan(list167); - ref QuestStep reference121 = ref span82[0]; - QuestStep obj124 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions30 = new SkipConditions(); - SkipStepConditions skipStepConditions28 = new SkipStepConditions(); - num3 = 2; - List list168 = new List(num3); - CollectionsMarshal.SetCount(list168, num3); - Span span83 = CollectionsMarshal.AsSpan(list168); - span83[0] = 1334; - span83[1] = 1332; - skipStepConditions28.InTerritory = list168; - skipConditions30.StepIf = skipStepConditions28; - SkipAetheryteCondition obj125 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list169 = new List(num3); - CollectionsMarshal.SetCount(list169, num3); - Span span84 = CollectionsMarshal.AsSpan(list169); - span84[0] = 1334; - span84[1] = 1332; - obj125.InTerritory = list169; - skipConditions30.AetheryteShortcutIf = obj125; - obj124.SkipConditions = skipConditions30; - reference121 = obj124; - ref QuestStep reference122 = ref span82[1]; - QuestStep obj126 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions31 = new SkipConditions(); - SkipStepConditions skipStepConditions29 = new SkipStepConditions(); - num3 = 1; - List list170 = new List(num3); - CollectionsMarshal.SetCount(list170, num3); - CollectionsMarshal.AsSpan(list170)[0] = 1332; - skipStepConditions29.InTerritory = list170; - skipConditions31.StepIf = skipStepConditions29; - obj126.SkipConditions = skipConditions31; - reference122 = obj126; - span82[2] = new QuestStep(EInteractionType.Interact, 2015172u, new Vector3(267.0141f, -116.05f, -394.9687f), 1332); - obj123.Steps = list167; - reference120 = obj123; - ref QuestSequence reference123 = ref span66[6]; - QuestSequence obj127 = new QuestSequence - { - Sequence = 6 - }; - num2 = 5; - List list171 = new List(num2); - CollectionsMarshal.SetCount(list171, num2); - Span span85 = CollectionsMarshal.AsSpan(list171); - ref QuestStep reference124 = ref span85[0]; - QuestStep obj128 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions32 = new SkipConditions(); - SkipStepConditions skipStepConditions30 = new SkipStepConditions(); - num3 = 2; - List list172 = new List(num3); - CollectionsMarshal.SetCount(list172, num3); - Span span86 = CollectionsMarshal.AsSpan(list172); - span86[0] = 1334; - span86[1] = 1332; - skipStepConditions30.InTerritory = list172; - skipConditions32.StepIf = skipStepConditions30; - SkipAetheryteCondition obj129 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list173 = new List(num3); - CollectionsMarshal.SetCount(list173, num3); - Span span87 = CollectionsMarshal.AsSpan(list173); - span87[0] = 1334; - span87[1] = 1332; - obj129.InTerritory = list173; - skipConditions32.AetheryteShortcutIf = obj129; - obj128.SkipConditions = skipConditions32; - reference124 = obj128; - ref QuestStep reference125 = ref span85[1]; - QuestStep obj130 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions33 = new SkipConditions(); - SkipStepConditions skipStepConditions31 = new SkipStepConditions(); - num3 = 1; - List list174 = new List(num3); - CollectionsMarshal.SetCount(list174, num3); - CollectionsMarshal.AsSpan(list174)[0] = 1332; - skipStepConditions31.InTerritory = list174; - skipConditions33.StepIf = skipStepConditions31; - obj130.SkipConditions = skipConditions33; - reference125 = obj130; - ref QuestStep reference126 = ref span85[2]; - QuestStep obj131 = new QuestStep(EInteractionType.UseItem, 1056483u, new Vector3(236.04175f, -113.757126f, -352.92596f), 1332) - { - ItemId = 2003804u, - GroundTarget = true - }; - num3 = 6; - List list175 = new List(num3); - CollectionsMarshal.SetCount(list175, num3); - Span span88 = CollectionsMarshal.AsSpan(list175); - span88[0] = null; - span88[1] = null; - span88[2] = null; - span88[3] = null; - span88[4] = null; - span88[5] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - obj131.CompletionQuestVariablesFlags = list175; - reference126 = obj131; - ref QuestStep reference127 = ref span85[3]; - QuestStep obj132 = new QuestStep(EInteractionType.UseItem, 1056482u, new Vector3(209.09436f, -115.990005f, -411.64264f), 1332) - { - ItemId = 2003804u, - GroundTarget = true - }; - num3 = 6; - List list176 = new List(num3); - CollectionsMarshal.SetCount(list176, num3); - Span span89 = CollectionsMarshal.AsSpan(list176); - span89[0] = null; - span89[1] = null; - span89[2] = null; - span89[3] = null; - span89[4] = null; - span89[5] = new QuestWorkValue((byte)6, null, EQuestWorkMode.Bitwise); - obj132.CompletionQuestVariablesFlags = list176; - reference127 = obj132; - span85[4] = new QuestStep(EInteractionType.UseItem, 1056481u, new Vector3(194.23206f, -115.99002f, -415.76257f), 1332) - { - ItemId = 2003804u, - GroundTarget = true - }; - obj127.Steps = list171; - reference123 = obj127; - ref QuestSequence reference128 = ref span66[7]; - QuestSequence obj133 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list177 = new List(num2); - CollectionsMarshal.SetCount(list177, num2); - Span span90 = CollectionsMarshal.AsSpan(list177); - ref QuestStep reference129 = ref span90[0]; - QuestStep obj134 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions34 = new SkipConditions(); - SkipStepConditions skipStepConditions32 = new SkipStepConditions(); - num3 = 2; - List list178 = new List(num3); - CollectionsMarshal.SetCount(list178, num3); - Span span91 = CollectionsMarshal.AsSpan(list178); - span91[0] = 1334; - span91[1] = 1332; - skipStepConditions32.InTerritory = list178; - skipConditions34.StepIf = skipStepConditions32; - SkipAetheryteCondition obj135 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list179 = new List(num3); - CollectionsMarshal.SetCount(list179, num3); - Span span92 = CollectionsMarshal.AsSpan(list179); - span92[0] = 1334; - span92[1] = 1332; - obj135.InTerritory = list179; - skipConditions34.AetheryteShortcutIf = obj135; - obj134.SkipConditions = skipConditions34; - reference129 = obj134; - ref QuestStep reference130 = ref span90[1]; - QuestStep obj136 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions35 = new SkipConditions(); - SkipStepConditions skipStepConditions33 = new SkipStepConditions(); - num3 = 1; - List list180 = new List(num3); - CollectionsMarshal.SetCount(list180, num3); - CollectionsMarshal.AsSpan(list180)[0] = 1332; - skipStepConditions33.InTerritory = list180; - skipConditions35.StepIf = skipStepConditions33; - obj136.SkipConditions = skipConditions35; - reference130 = obj136; - span90[2] = new QuestStep(EInteractionType.CompleteQuest, 1056165u, new Vector3(245.89917f, -116.025f, -533.71484f), 1332); - obj133.Steps = list177; - reference128 = obj133; - questRoot15.QuestSequence = list146; - AddQuest(questId15, questRoot15); - QuestId questId16 = new QuestId(5431); - QuestRoot questRoot16 = new QuestRoot(); - num = 1; - List list181 = new List(num); - CollectionsMarshal.SetCount(list181, num); - CollectionsMarshal.AsSpan(list181)[0] = "WigglyMuffin"; - questRoot16.Author = list181; - num = 6; - List list182 = new List(num); - CollectionsMarshal.SetCount(list182, num); - Span span93 = CollectionsMarshal.AsSpan(list182); - ref QuestSequence reference131 = ref span93[0]; - QuestSequence obj137 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list183 = new List(num2); - CollectionsMarshal.SetCount(list183, num2); - Span span94 = CollectionsMarshal.AsSpan(list183); - ref QuestStep reference132 = ref span94[0]; - QuestStep obj138 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions36 = new SkipConditions(); - SkipStepConditions skipStepConditions34 = new SkipStepConditions(); - num3 = 2; - List list184 = new List(num3); - CollectionsMarshal.SetCount(list184, num3); - Span span95 = CollectionsMarshal.AsSpan(list184); - span95[0] = 1334; - span95[1] = 1332; - skipStepConditions34.InTerritory = list184; - skipConditions36.StepIf = skipStepConditions34; - SkipAetheryteCondition obj139 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list185 = new List(num3); - CollectionsMarshal.SetCount(list185, num3); - Span span96 = CollectionsMarshal.AsSpan(list185); - span96[0] = 1334; - span96[1] = 1332; - obj139.InTerritory = list185; - skipConditions36.AetheryteShortcutIf = obj139; - obj138.SkipConditions = skipConditions36; - reference132 = obj138; - ref QuestStep reference133 = ref span94[1]; - QuestStep obj140 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions37 = new SkipConditions(); - SkipStepConditions skipStepConditions35 = new SkipStepConditions(); - num3 = 1; - List list186 = new List(num3); - CollectionsMarshal.SetCount(list186, num3); - CollectionsMarshal.AsSpan(list186)[0] = 1332; - skipStepConditions35.InTerritory = list186; - skipConditions37.StepIf = skipStepConditions35; - obj140.SkipConditions = skipConditions37; - reference133 = obj140; - span94[2] = new QuestStep(EInteractionType.AcceptQuest, 1056165u, new Vector3(245.89917f, -116.025f, -533.71484f), 1332); - obj137.Steps = list183; - reference131 = obj137; - ref QuestSequence reference134 = ref span93[1]; - QuestSequence obj141 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list187 = new List(num2); - CollectionsMarshal.SetCount(list187, num2); - Span span97 = CollectionsMarshal.AsSpan(list187); - ref QuestStep reference135 = ref span97[0]; - QuestStep obj142 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions38 = new SkipConditions(); - SkipStepConditions skipStepConditions36 = new SkipStepConditions(); - num3 = 2; - List list188 = new List(num3); - CollectionsMarshal.SetCount(list188, num3); - Span span98 = CollectionsMarshal.AsSpan(list188); - span98[0] = 1334; - span98[1] = 1332; - skipStepConditions36.InTerritory = list188; - skipConditions38.StepIf = skipStepConditions36; - SkipAetheryteCondition obj143 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list189 = new List(num3); - CollectionsMarshal.SetCount(list189, num3); - Span span99 = CollectionsMarshal.AsSpan(list189); - span99[0] = 1334; - span99[1] = 1332; - obj143.InTerritory = list189; - skipConditions38.AetheryteShortcutIf = obj143; - obj142.SkipConditions = skipConditions38; - reference135 = obj142; - ref QuestStep reference136 = ref span97[1]; - QuestStep obj144 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions39 = new SkipConditions(); - SkipStepConditions skipStepConditions37 = new SkipStepConditions(); - num3 = 1; - List list190 = new List(num3); - CollectionsMarshal.SetCount(list190, num3); - CollectionsMarshal.AsSpan(list190)[0] = 1332; - skipStepConditions37.InTerritory = list190; - skipConditions39.StepIf = skipStepConditions37; - obj144.SkipConditions = skipConditions39; - reference136 = obj144; - span97[2] = new QuestStep(EInteractionType.Interact, 2014994u, new Vector3(281.166f, -115.979f, -530.4824f), 1332); - obj141.Steps = list187; - reference134 = obj141; - ref QuestSequence reference137 = ref span93[2]; - QuestSequence obj145 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list191 = new List(num2); - CollectionsMarshal.SetCount(list191, num2); - Span span100 = CollectionsMarshal.AsSpan(list191); - ref QuestStep reference138 = ref span100[0]; - QuestStep obj146 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions40 = new SkipConditions(); - SkipStepConditions skipStepConditions38 = new SkipStepConditions(); - num3 = 2; - List list192 = new List(num3); - CollectionsMarshal.SetCount(list192, num3); - Span span101 = CollectionsMarshal.AsSpan(list192); - span101[0] = 1334; - span101[1] = 1332; - skipStepConditions38.InTerritory = list192; - skipConditions40.StepIf = skipStepConditions38; - SkipAetheryteCondition obj147 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list193 = new List(num3); - CollectionsMarshal.SetCount(list193, num3); - Span span102 = CollectionsMarshal.AsSpan(list193); - span102[0] = 1334; - span102[1] = 1332; - obj147.InTerritory = list193; - skipConditions40.AetheryteShortcutIf = obj147; - obj146.SkipConditions = skipConditions40; - reference138 = obj146; - ref QuestStep reference139 = ref span100[1]; - QuestStep obj148 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions41 = new SkipConditions(); - SkipStepConditions skipStepConditions39 = new SkipStepConditions(); - num3 = 1; - List list194 = new List(num3); - CollectionsMarshal.SetCount(list194, num3); - CollectionsMarshal.AsSpan(list194)[0] = 1332; - skipStepConditions39.InTerritory = list194; - skipConditions41.StepIf = skipStepConditions39; - obj148.SkipConditions = skipConditions41; - reference139 = obj148; - span100[2] = new QuestStep(EInteractionType.Interact, 1056166u, new Vector3(272.5719f, -115.979004f, -551.0491f), 1332); - obj145.Steps = list191; - reference137 = obj145; - ref QuestSequence reference140 = ref span93[3]; - QuestSequence obj149 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list195 = new List(num2); - CollectionsMarshal.SetCount(list195, num2); - Span span103 = CollectionsMarshal.AsSpan(list195); - ref QuestStep reference141 = ref span103[0]; - QuestStep obj150 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions42 = new SkipConditions(); - SkipStepConditions skipStepConditions40 = new SkipStepConditions(); - num3 = 2; - List list196 = new List(num3); - CollectionsMarshal.SetCount(list196, num3); - Span span104 = CollectionsMarshal.AsSpan(list196); - span104[0] = 1334; - span104[1] = 1332; - skipStepConditions40.InTerritory = list196; - skipConditions42.StepIf = skipStepConditions40; - SkipAetheryteCondition obj151 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list197 = new List(num3); - CollectionsMarshal.SetCount(list197, num3); - Span span105 = CollectionsMarshal.AsSpan(list197); - span105[0] = 1334; - span105[1] = 1332; - obj151.InTerritory = list197; - skipConditions42.AetheryteShortcutIf = obj151; - obj150.SkipConditions = skipConditions42; - reference141 = obj150; - ref QuestStep reference142 = ref span103[1]; - QuestStep obj152 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions43 = new SkipConditions(); - SkipStepConditions skipStepConditions41 = new SkipStepConditions(); - num3 = 1; - List list198 = new List(num3); - CollectionsMarshal.SetCount(list198, num3); - CollectionsMarshal.AsSpan(list198)[0] = 1332; - skipStepConditions41.InTerritory = list198; - skipConditions43.StepIf = skipStepConditions41; - obj152.SkipConditions = skipConditions43; - reference142 = obj152; - span103[2] = new QuestStep(EInteractionType.Interact, 1056167u, new Vector3(323.84216f, -117.47925f, -489.37213f), 1332); - obj149.Steps = list195; - reference140 = obj149; - ref QuestSequence reference143 = ref span93[4]; - QuestSequence obj153 = new QuestSequence - { - Sequence = 4 - }; - num2 = 3; - List list199 = new List(num2); - CollectionsMarshal.SetCount(list199, num2); - Span span106 = CollectionsMarshal.AsSpan(list199); - ref QuestStep reference144 = ref span106[0]; - QuestStep obj154 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions44 = new SkipConditions(); - SkipStepConditions skipStepConditions42 = new SkipStepConditions(); - num3 = 2; - List list200 = new List(num3); - CollectionsMarshal.SetCount(list200, num3); - Span span107 = CollectionsMarshal.AsSpan(list200); - span107[0] = 1334; - span107[1] = 1332; - skipStepConditions42.InTerritory = list200; - skipConditions44.StepIf = skipStepConditions42; - SkipAetheryteCondition obj155 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list201 = new List(num3); - CollectionsMarshal.SetCount(list201, num3); - Span span108 = CollectionsMarshal.AsSpan(list201); - span108[0] = 1334; - span108[1] = 1332; - obj155.InTerritory = list201; - skipConditions44.AetheryteShortcutIf = obj155; - obj154.SkipConditions = skipConditions44; - reference144 = obj154; - ref QuestStep reference145 = ref span106[1]; - QuestStep obj156 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions45 = new SkipConditions(); - SkipStepConditions skipStepConditions43 = new SkipStepConditions(); - num3 = 1; - List list202 = new List(num3); - CollectionsMarshal.SetCount(list202, num3); - CollectionsMarshal.AsSpan(list202)[0] = 1332; - skipStepConditions43.InTerritory = list202; - skipConditions45.StepIf = skipStepConditions43; - obj156.SkipConditions = skipConditions45; - reference145 = obj156; - span106[2] = new QuestStep(EInteractionType.Interact, 1056267u, new Vector3(325.18494f, -117.5f, -489.28055f), 1332); - obj153.Steps = list199; - reference143 = obj153; - ref QuestSequence reference146 = ref span93[5]; - QuestSequence obj157 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list203 = new List(num2); - CollectionsMarshal.SetCount(list203, num2); - Span span109 = CollectionsMarshal.AsSpan(list203); - ref QuestStep reference147 = ref span109[0]; - QuestStep obj158 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions46 = new SkipConditions(); - SkipStepConditions skipStepConditions44 = new SkipStepConditions(); - num3 = 2; - List list204 = new List(num3); - CollectionsMarshal.SetCount(list204, num3); - Span span110 = CollectionsMarshal.AsSpan(list204); - span110[0] = 1334; - span110[1] = 1332; - skipStepConditions44.InTerritory = list204; - skipConditions46.StepIf = skipStepConditions44; - SkipAetheryteCondition obj159 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list205 = new List(num3); - CollectionsMarshal.SetCount(list205, num3); - Span span111 = CollectionsMarshal.AsSpan(list205); - span111[0] = 1334; - span111[1] = 1332; - obj159.InTerritory = list205; - skipConditions46.AetheryteShortcutIf = obj159; - obj158.SkipConditions = skipConditions46; - reference147 = obj158; - ref QuestStep reference148 = ref span109[1]; - QuestStep obj160 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions47 = new SkipConditions(); - SkipStepConditions skipStepConditions45 = new SkipStepConditions(); - num3 = 1; - List list206 = new List(num3); - CollectionsMarshal.SetCount(list206, num3); - CollectionsMarshal.AsSpan(list206)[0] = 1332; - skipStepConditions45.InTerritory = list206; - skipConditions47.StepIf = skipStepConditions45; - obj160.SkipConditions = skipConditions47; - reference148 = obj160; - span109[2] = new QuestStep(EInteractionType.CompleteQuest, 1056165u, new Vector3(245.89917f, -116.025f, -533.71484f), 1332); - obj157.Steps = list203; - reference146 = obj157; - questRoot16.QuestSequence = list182; - AddQuest(questId16, questRoot16); - QuestId questId17 = new QuestId(5432); - QuestRoot questRoot17 = new QuestRoot(); - num = 1; - List list207 = new List(num); - CollectionsMarshal.SetCount(list207, num); - CollectionsMarshal.AsSpan(list207)[0] = "WigglyMuffin"; - questRoot17.Author = list207; - num = 4; - List list208 = new List(num); - CollectionsMarshal.SetCount(list208, num); - Span span112 = CollectionsMarshal.AsSpan(list208); - ref QuestSequence reference149 = ref span112[0]; - QuestSequence obj161 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list209 = new List(num2); - CollectionsMarshal.SetCount(list209, num2); - Span span113 = CollectionsMarshal.AsSpan(list209); - ref QuestStep reference150 = ref span113[0]; - QuestStep obj162 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions48 = new SkipConditions(); - SkipStepConditions skipStepConditions46 = new SkipStepConditions(); - num3 = 2; - List list210 = new List(num3); - CollectionsMarshal.SetCount(list210, num3); - Span span114 = CollectionsMarshal.AsSpan(list210); - span114[0] = 1334; - span114[1] = 1332; - skipStepConditions46.InTerritory = list210; - skipConditions48.StepIf = skipStepConditions46; - SkipAetheryteCondition obj163 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list211 = new List(num3); - CollectionsMarshal.SetCount(list211, num3); - Span span115 = CollectionsMarshal.AsSpan(list211); - span115[0] = 1334; - span115[1] = 1332; - obj163.InTerritory = list211; - skipConditions48.AetheryteShortcutIf = obj163; - obj162.SkipConditions = skipConditions48; - reference150 = obj162; - ref QuestStep reference151 = ref span113[1]; - QuestStep obj164 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions49 = new SkipConditions(); - SkipStepConditions skipStepConditions47 = new SkipStepConditions(); - num3 = 1; - List list212 = new List(num3); - CollectionsMarshal.SetCount(list212, num3); - CollectionsMarshal.AsSpan(list212)[0] = 1332; - skipStepConditions47.InTerritory = list212; - skipConditions49.StepIf = skipStepConditions47; - obj164.SkipConditions = skipConditions49; - reference151 = obj164; - span113[2] = new QuestStep(EInteractionType.AcceptQuest, 1056168u, new Vector3(245.89917f, -116.02501f, -531.57855f), 1332); - obj161.Steps = list209; - reference149 = obj161; - ref QuestSequence reference152 = ref span112[1]; - QuestSequence obj165 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list213 = new List(num2); - CollectionsMarshal.SetCount(list213, num2); - Span span116 = CollectionsMarshal.AsSpan(list213); - ref QuestStep reference153 = ref span116[0]; - QuestStep obj166 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions50 = new SkipConditions(); - SkipStepConditions skipStepConditions48 = new SkipStepConditions(); - num3 = 2; - List list214 = new List(num3); - CollectionsMarshal.SetCount(list214, num3); - Span span117 = CollectionsMarshal.AsSpan(list214); - span117[0] = 1334; - span117[1] = 1332; - skipStepConditions48.InTerritory = list214; - skipConditions50.StepIf = skipStepConditions48; - SkipAetheryteCondition obj167 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list215 = new List(num3); - CollectionsMarshal.SetCount(list215, num3); - Span span118 = CollectionsMarshal.AsSpan(list215); - span118[0] = 1334; - span118[1] = 1332; - obj167.InTerritory = list215; - skipConditions50.AetheryteShortcutIf = obj167; - obj166.SkipConditions = skipConditions50; - reference153 = obj166; - ref QuestStep reference154 = ref span116[1]; - QuestStep obj168 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions51 = new SkipConditions(); - SkipStepConditions skipStepConditions49 = new SkipStepConditions(); - num3 = 1; - List list216 = new List(num3); - CollectionsMarshal.SetCount(list216, num3); - CollectionsMarshal.AsSpan(list216)[0] = 1332; - skipStepConditions49.InTerritory = list216; - skipConditions51.StepIf = skipStepConditions49; - obj168.SkipConditions = skipConditions51; - reference154 = obj168; - span116[2] = new QuestStep(EInteractionType.Interact, 2014995u, new Vector3(247.3097f, -116.025f, -532.7819f), 1332); - obj165.Steps = list213; - reference152 = obj165; - ref QuestSequence reference155 = ref span112[2]; - QuestSequence obj169 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list217 = new List(num2); - CollectionsMarshal.SetCount(list217, num2); - Span span119 = CollectionsMarshal.AsSpan(list217); - ref QuestStep reference156 = ref span119[0]; - QuestStep obj170 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions52 = new SkipConditions(); - SkipStepConditions skipStepConditions50 = new SkipStepConditions(); - num3 = 2; - List list218 = new List(num3); - CollectionsMarshal.SetCount(list218, num3); - Span span120 = CollectionsMarshal.AsSpan(list218); - span120[0] = 1334; - span120[1] = 1332; - skipStepConditions50.InTerritory = list218; - skipConditions52.StepIf = skipStepConditions50; - SkipAetheryteCondition obj171 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list219 = new List(num3); - CollectionsMarshal.SetCount(list219, num3); - Span span121 = CollectionsMarshal.AsSpan(list219); - span121[0] = 1334; - span121[1] = 1332; - obj171.InTerritory = list219; - skipConditions52.AetheryteShortcutIf = obj171; - obj170.SkipConditions = skipConditions52; - reference156 = obj170; - ref QuestStep reference157 = ref span119[1]; - QuestStep obj172 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions53 = new SkipConditions(); - SkipStepConditions skipStepConditions51 = new SkipStepConditions(); - num3 = 1; - List list220 = new List(num3); - CollectionsMarshal.SetCount(list220, num3); - CollectionsMarshal.AsSpan(list220)[0] = 1332; - skipStepConditions51.InTerritory = list220; - skipConditions53.StepIf = skipStepConditions51; - obj172.SkipConditions = skipConditions53; - reference157 = obj172; - span119[2] = new QuestStep(EInteractionType.Interact, 1056194u, new Vector3(245.16663f, -116.02501f, -532.00586f), 1332); - obj169.Steps = list217; - reference155 = obj169; - ref QuestSequence reference158 = ref span112[3]; - QuestSequence obj173 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list221 = new List(num2); - CollectionsMarshal.SetCount(list221, num2); - Span span122 = CollectionsMarshal.AsSpan(list221); - ref QuestStep reference159 = ref span122[0]; - QuestStep obj174 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions54 = new SkipConditions(); - SkipStepConditions skipStepConditions52 = new SkipStepConditions(); - num3 = 2; - List list222 = new List(num3); - CollectionsMarshal.SetCount(list222, num3); - Span span123 = CollectionsMarshal.AsSpan(list222); - span123[0] = 1334; - span123[1] = 1332; - skipStepConditions52.InTerritory = list222; - skipConditions54.StepIf = skipStepConditions52; - SkipAetheryteCondition obj175 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list223 = new List(num3); - CollectionsMarshal.SetCount(list223, num3); - Span span124 = CollectionsMarshal.AsSpan(list223); - span124[0] = 1334; - span124[1] = 1332; - obj175.InTerritory = list223; - skipConditions54.AetheryteShortcutIf = obj175; - obj174.SkipConditions = skipConditions54; - reference159 = obj174; - ref QuestStep reference160 = ref span122[1]; - QuestStep obj176 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions55 = new SkipConditions(); - SkipStepConditions skipStepConditions53 = new SkipStepConditions(); - num3 = 1; - List list224 = new List(num3); - CollectionsMarshal.SetCount(list224, num3); - CollectionsMarshal.AsSpan(list224)[0] = 1332; - skipStepConditions53.InTerritory = list224; - skipConditions55.StepIf = skipStepConditions53; - obj176.SkipConditions = skipConditions55; - reference160 = obj176; - span122[2] = new QuestStep(EInteractionType.CompleteQuest, 1056172u, new Vector3(292.1034f, -98f, -283.25323f), 1332); - obj173.Steps = list221; - reference158 = obj173; - questRoot17.QuestSequence = list208; - AddQuest(questId17, questRoot17); - QuestId questId18 = new QuestId(5433); - QuestRoot questRoot18 = new QuestRoot(); - num = 1; - List list225 = new List(num); - CollectionsMarshal.SetCount(list225, num); - CollectionsMarshal.AsSpan(list225)[0] = "WigglyMuffin"; - questRoot18.Author = list225; - num = 8; - List list226 = new List(num); - CollectionsMarshal.SetCount(list226, num); - Span span125 = CollectionsMarshal.AsSpan(list226); - ref QuestSequence reference161 = ref span125[0]; - QuestSequence obj177 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list227 = new List(num2); - CollectionsMarshal.SetCount(list227, num2); - Span span126 = CollectionsMarshal.AsSpan(list227); - ref QuestStep reference162 = ref span126[0]; - QuestStep obj178 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions56 = new SkipConditions(); - SkipStepConditions skipStepConditions54 = new SkipStepConditions(); - num3 = 2; - List list228 = new List(num3); - CollectionsMarshal.SetCount(list228, num3); - Span span127 = CollectionsMarshal.AsSpan(list228); - span127[0] = 1334; - span127[1] = 1332; - skipStepConditions54.InTerritory = list228; - skipConditions56.StepIf = skipStepConditions54; - SkipAetheryteCondition obj179 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list229 = new List(num3); - CollectionsMarshal.SetCount(list229, num3); - Span span128 = CollectionsMarshal.AsSpan(list229); - span128[0] = 1334; - span128[1] = 1332; - obj179.InTerritory = list229; - skipConditions56.AetheryteShortcutIf = obj179; - obj178.SkipConditions = skipConditions56; - reference162 = obj178; - ref QuestStep reference163 = ref span126[1]; - QuestStep obj180 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions57 = new SkipConditions(); - SkipStepConditions skipStepConditions55 = new SkipStepConditions(); - num3 = 1; - List list230 = new List(num3); - CollectionsMarshal.SetCount(list230, num3); - CollectionsMarshal.AsSpan(list230)[0] = 1332; - skipStepConditions55.InTerritory = list230; - skipConditions57.StepIf = skipStepConditions55; - obj180.SkipConditions = skipConditions57; - reference163 = obj180; - span126[2] = new QuestStep(EInteractionType.AcceptQuest, 1056172u, new Vector3(292.1034f, -98f, -283.25323f), 1332); - obj177.Steps = list227; - reference161 = obj177; - ref QuestSequence reference164 = ref span125[1]; - QuestSequence obj181 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list231 = new List(num2); - CollectionsMarshal.SetCount(list231, num2); - Span span129 = CollectionsMarshal.AsSpan(list231); - ref QuestStep reference165 = ref span129[0]; - QuestStep obj182 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions58 = new SkipConditions(); - SkipStepConditions skipStepConditions56 = new SkipStepConditions(); - num3 = 2; - List list232 = new List(num3); - CollectionsMarshal.SetCount(list232, num3); - Span span130 = CollectionsMarshal.AsSpan(list232); - span130[0] = 1334; - span130[1] = 1332; - skipStepConditions56.InTerritory = list232; - skipConditions58.StepIf = skipStepConditions56; - SkipAetheryteCondition obj183 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list233 = new List(num3); - CollectionsMarshal.SetCount(list233, num3); - Span span131 = CollectionsMarshal.AsSpan(list233); - span131[0] = 1334; - span131[1] = 1332; - obj183.InTerritory = list233; - skipConditions58.AetheryteShortcutIf = obj183; - obj182.SkipConditions = skipConditions58; - reference165 = obj182; - ref QuestStep reference166 = ref span129[1]; - QuestStep obj184 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions59 = new SkipConditions(); - SkipStepConditions skipStepConditions57 = new SkipStepConditions(); - num3 = 1; - List list234 = new List(num3); - CollectionsMarshal.SetCount(list234, num3); - CollectionsMarshal.AsSpan(list234)[0] = 1332; - skipStepConditions57.InTerritory = list234; - skipConditions59.StepIf = skipStepConditions57; - obj184.SkipConditions = skipConditions59; - reference166 = obj184; - ref QuestStep reference167 = ref span129[2]; - QuestStep questStep15 = new QuestStep(EInteractionType.Interact, 1056173u, new Vector3(293.96497f, -98f, -281.6358f), 1332); - num3 = 1; - List list235 = new List(num3); - CollectionsMarshal.SetCount(list235, num3); - CollectionsMarshal.AsSpan(list235)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMJ108_05433_SYSTEM_000_045") - }; - questStep15.DialogueChoices = list235; - reference167 = questStep15; - obj181.Steps = list231; - reference164 = obj181; - span125[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference168 = ref span125[3]; - QuestSequence obj185 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list236 = new List(num2); - CollectionsMarshal.SetCount(list236, num2); - CollectionsMarshal.AsSpan(list236)[0] = new QuestStep(EInteractionType.Duty, null, null, 1338) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 1076u - } - }; - obj185.Steps = list236; - reference168 = obj185; - span125[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference169 = ref span125[5]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list237 = new List(num2); - CollectionsMarshal.SetCount(list237, num2); - Span span132 = CollectionsMarshal.AsSpan(list237); - ref QuestStep reference170 = ref span132[0]; - QuestStep obj187 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions60 = new SkipConditions(); - SkipStepConditions skipStepConditions58 = new SkipStepConditions(); - num3 = 2; - List list238 = new List(num3); - CollectionsMarshal.SetCount(list238, num3); - Span span133 = CollectionsMarshal.AsSpan(list238); - span133[0] = 1334; - span133[1] = 1332; - skipStepConditions58.InTerritory = list238; - skipConditions60.StepIf = skipStepConditions58; - SkipAetheryteCondition obj188 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list239 = new List(num3); - CollectionsMarshal.SetCount(list239, num3); - Span span134 = CollectionsMarshal.AsSpan(list239); - span134[0] = 1334; - span134[1] = 1332; - obj188.InTerritory = list239; - skipConditions60.AetheryteShortcutIf = obj188; - obj187.SkipConditions = skipConditions60; - reference170 = obj187; - ref QuestStep reference171 = ref span132[1]; - QuestStep obj189 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions61 = new SkipConditions(); - SkipStepConditions skipStepConditions59 = new SkipStepConditions(); - num3 = 1; - List list240 = new List(num3); - CollectionsMarshal.SetCount(list240, num3); - CollectionsMarshal.AsSpan(list240)[0] = 1332; - skipStepConditions59.InTerritory = list240; - skipConditions61.StepIf = skipStepConditions59; - obj189.SkipConditions = skipConditions61; - reference171 = obj189; - ref QuestStep reference172 = ref span132[2]; - QuestStep questStep16 = new QuestStep(EInteractionType.SinglePlayerDuty, 1056268u, new Vector3(264.7898f, -115f, -630.7317f), 1332); - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions(); - num3 = 1; - List list241 = new List(num3); - CollectionsMarshal.SetCount(list241, num3); - CollectionsMarshal.AsSpan(list241)[0] = "Not implemented in Boss Mod yet."; - singlePlayerDutyOptions.Notes = list241; - questStep16.SinglePlayerDutyOptions = singlePlayerDutyOptions; - reference172 = questStep16; - obj186.Steps = list237; - reference169 = obj186; - span125[6] = new QuestSequence - { - Sequence = 6 - }; - ref QuestSequence reference173 = ref span125[7]; - QuestSequence obj190 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list242 = new List(num2); - CollectionsMarshal.SetCount(list242, num2); - Span span135 = CollectionsMarshal.AsSpan(list242); - ref QuestStep reference174 = ref span135[0]; - QuestStep obj191 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions62 = new SkipConditions(); - SkipStepConditions skipStepConditions60 = new SkipStepConditions(); - num3 = 2; - List list243 = new List(num3); - CollectionsMarshal.SetCount(list243, num3); - Span span136 = CollectionsMarshal.AsSpan(list243); - span136[0] = 1334; - span136[1] = 1332; - skipStepConditions60.InTerritory = list243; - skipConditions62.StepIf = skipStepConditions60; - SkipAetheryteCondition obj192 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list244 = new List(num3); - CollectionsMarshal.SetCount(list244, num3); - Span span137 = CollectionsMarshal.AsSpan(list244); - span137[0] = 1334; - span137[1] = 1332; - obj192.InTerritory = list244; - skipConditions62.AetheryteShortcutIf = obj192; - obj191.SkipConditions = skipConditions62; - reference174 = obj191; - ref QuestStep reference175 = ref span135[1]; - QuestStep obj193 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions63 = new SkipConditions(); - SkipStepConditions skipStepConditions61 = new SkipStepConditions(); - num3 = 1; - List list245 = new List(num3); - CollectionsMarshal.SetCount(list245, num3); - CollectionsMarshal.AsSpan(list245)[0] = 1332; - skipStepConditions61.InTerritory = list245; - skipConditions63.StepIf = skipStepConditions61; - obj193.SkipConditions = skipConditions63; - reference175 = obj193; - span135[2] = new QuestStep(EInteractionType.CompleteQuest, 1056175u, new Vector3(280.59814f, -115.97899f, -422.78174f), 1332); - obj190.Steps = list242; - reference173 = obj190; - questRoot18.QuestSequence = list226; - AddQuest(questId18, questRoot18); - QuestId questId19 = new QuestId(5434); - QuestRoot questRoot19 = new QuestRoot(); - num = 1; - List list246 = new List(num); - CollectionsMarshal.SetCount(list246, num); - CollectionsMarshal.AsSpan(list246)[0] = "WigglyMuffin"; - questRoot19.Author = list246; - num = 5; - List list247 = new List(num); - CollectionsMarshal.SetCount(list247, num); - Span span138 = CollectionsMarshal.AsSpan(list247); - ref QuestSequence reference176 = ref span138[0]; - QuestSequence obj194 = new QuestSequence - { - Sequence = 0 - }; - num2 = 3; - List list248 = new List(num2); - CollectionsMarshal.SetCount(list248, num2); - Span span139 = CollectionsMarshal.AsSpan(list248); - ref QuestStep reference177 = ref span139[0]; - QuestStep obj195 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions64 = new SkipConditions(); - SkipStepConditions skipStepConditions62 = new SkipStepConditions(); - num3 = 2; - List list249 = new List(num3); - CollectionsMarshal.SetCount(list249, num3); - Span span140 = CollectionsMarshal.AsSpan(list249); - span140[0] = 1334; - span140[1] = 1332; - skipStepConditions62.InTerritory = list249; - skipConditions64.StepIf = skipStepConditions62; - SkipAetheryteCondition obj196 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list250 = new List(num3); - CollectionsMarshal.SetCount(list250, num3); - Span span141 = CollectionsMarshal.AsSpan(list250); - span141[0] = 1334; - span141[1] = 1332; - obj196.InTerritory = list250; - skipConditions64.AetheryteShortcutIf = obj196; - obj195.SkipConditions = skipConditions64; - reference177 = obj195; - ref QuestStep reference178 = ref span139[1]; - QuestStep obj197 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions65 = new SkipConditions(); - SkipStepConditions skipStepConditions63 = new SkipStepConditions(); - num3 = 1; - List list251 = new List(num3); - CollectionsMarshal.SetCount(list251, num3); - CollectionsMarshal.AsSpan(list251)[0] = 1332; - skipStepConditions63.InTerritory = list251; - skipConditions65.StepIf = skipStepConditions63; - obj197.SkipConditions = skipConditions65; - reference178 = obj197; - span139[2] = new QuestStep(EInteractionType.AcceptQuest, 1056175u, new Vector3(280.59814f, -115.97899f, -422.78174f), 1332); - obj194.Steps = list248; - reference176 = obj194; - ref QuestSequence reference179 = ref span138[1]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list252 = new List(num2); - CollectionsMarshal.SetCount(list252, num2); - Span span142 = CollectionsMarshal.AsSpan(list252); - ref QuestStep reference180 = ref span142[0]; - QuestStep obj199 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions66 = new SkipConditions(); - SkipStepConditions skipStepConditions64 = new SkipStepConditions(); - num3 = 2; - List list253 = new List(num3); - CollectionsMarshal.SetCount(list253, num3); - Span span143 = CollectionsMarshal.AsSpan(list253); - span143[0] = 1334; - span143[1] = 1332; - skipStepConditions64.InTerritory = list253; - skipConditions66.StepIf = skipStepConditions64; - SkipAetheryteCondition obj200 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list254 = new List(num3); - CollectionsMarshal.SetCount(list254, num3); - Span span144 = CollectionsMarshal.AsSpan(list254); - span144[0] = 1334; - span144[1] = 1332; - obj200.InTerritory = list254; - skipConditions66.AetheryteShortcutIf = obj200; - obj199.SkipConditions = skipConditions66; - reference180 = obj199; - ref QuestStep reference181 = ref span142[1]; - QuestStep obj201 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions67 = new SkipConditions(); - SkipStepConditions skipStepConditions65 = new SkipStepConditions(); - num3 = 1; - List list255 = new List(num3); - CollectionsMarshal.SetCount(list255, num3); - CollectionsMarshal.AsSpan(list255)[0] = 1332; - skipStepConditions65.InTerritory = list255; - skipConditions67.StepIf = skipStepConditions65; - obj201.SkipConditions = skipConditions67; - reference181 = obj201; - span142[2] = new QuestStep(EInteractionType.Interact, 1056179u, new Vector3(281.17798f, -115f, -643.061f), 1332); - obj198.Steps = list252; - reference179 = obj198; - ref QuestSequence reference182 = ref span138[2]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list256 = new List(num2); - CollectionsMarshal.SetCount(list256, num2); - Span span145 = CollectionsMarshal.AsSpan(list256); - ref QuestStep reference183 = ref span145[0]; - QuestStep obj203 = new QuestStep(EInteractionType.Interact, 1056205u, new Vector3(7.7057495f, 50.700012f, 723.781f), 1192) - { - TargetTerritoryId = (ushort)1334, - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo - }; - SkipConditions skipConditions68 = new SkipConditions(); - SkipStepConditions skipStepConditions66 = new SkipStepConditions(); - num3 = 2; - List list257 = new List(num3); - CollectionsMarshal.SetCount(list257, num3); - Span span146 = CollectionsMarshal.AsSpan(list257); - span146[0] = 1334; - span146[1] = 1332; - skipStepConditions66.InTerritory = list257; - skipConditions68.StepIf = skipStepConditions66; - SkipAetheryteCondition obj204 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 2; - List list258 = new List(num3); - CollectionsMarshal.SetCount(list258, num3); - Span span147 = CollectionsMarshal.AsSpan(list258); - span147[0] = 1334; - span147[1] = 1332; - obj204.InTerritory = list258; - skipConditions68.AetheryteShortcutIf = obj204; - obj203.SkipConditions = skipConditions68; - reference183 = obj203; - ref QuestStep reference184 = ref span145[1]; - QuestStep obj205 = new QuestStep(EInteractionType.Interact, 2014999u, new Vector3(1.124277f, 0.9640547f, -56.99698f), 1334) - { - TargetTerritoryId = (ushort)1332 - }; - SkipConditions skipConditions69 = new SkipConditions(); - SkipStepConditions skipStepConditions67 = new SkipStepConditions(); - num3 = 1; - List list259 = new List(num3); - CollectionsMarshal.SetCount(list259, num3); - CollectionsMarshal.AsSpan(list259)[0] = 1332; - skipStepConditions67.InTerritory = list259; - skipConditions69.StepIf = skipStepConditions67; - obj205.SkipConditions = skipConditions69; - reference184 = obj205; - span145[2] = new QuestStep(EInteractionType.Interact, 2014998u, new Vector3(281.0471f, -98f, -277.821f), 1332); - obj202.Steps = list256; - reference182 = obj202; - ref QuestSequence reference185 = ref span138[3]; - QuestSequence obj206 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list260 = new List(num2); - CollectionsMarshal.SetCount(list260, num2); - CollectionsMarshal.AsSpan(list260)[0] = new QuestStep(EInteractionType.Interact, 1056190u, new Vector3(-1.8158569f, 53.200012f, 768.24585f), 1192) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.LivingMemoryLeynodeMnemo, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj206.Steps = list260; - reference185 = obj206; - ref QuestSequence reference186 = ref span138[4]; - QuestSequence obj207 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list261 = new List(num2); - CollectionsMarshal.SetCount(list261, num2); - CollectionsMarshal.AsSpan(list261)[0] = new QuestStep(EInteractionType.CompleteQuest, 1056199u, new Vector3(17.31897f, 38.80659f, -410.5135f), 1186) - { - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineResolution - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj207.Steps = list261; - reference186 = obj207; - questRoot19.QuestSequence = list247; - AddQuest(questId19, questRoot19); - QuestId questId20 = new QuestId(5435); - QuestRoot questRoot20 = new QuestRoot(); - num = 1; - List list262 = new List(num); - CollectionsMarshal.SetCount(list262, num); - CollectionsMarshal.AsSpan(list262)[0] = "WigglyMuffin"; - questRoot20.Author = list262; - num = 4; - List list263 = new List(num); - CollectionsMarshal.SetCount(list263, num); - Span span148 = CollectionsMarshal.AsSpan(list263); - ref QuestSequence reference187 = ref span148[0]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list264 = new List(num2); - CollectionsMarshal.SetCount(list264, num2); - CollectionsMarshal.AsSpan(list264)[0] = new QuestStep(EInteractionType.AcceptQuest, 1050471u, new Vector3(494.7433f, 59.55f, 125.10864f), 1186) - { - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineTrueVue - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj208.Steps = list264; - reference187 = obj208; - ref QuestSequence reference188 = ref span148[1]; - QuestSequence obj209 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list265 = new List(num2); - CollectionsMarshal.SetCount(list265, num2); - Span span149 = CollectionsMarshal.AsSpan(list265); - span149[0] = new QuestStep(EInteractionType.Interact, 2013724u, new Vector3(498.34436f, 60.593506f, 129.13708f), 1186) - { - TargetTerritoryId = (ushort)1223 - }; - span149[1] = new QuestStep(EInteractionType.Interact, 1056301u, new Vector3(5.5999756f, 0f, 2.822876f), 1223); - obj209.Steps = list265; - reference188 = obj209; - ref QuestSequence reference189 = ref span148[2]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list266 = new List(num2); - CollectionsMarshal.SetCount(list266, num2); - CollectionsMarshal.AsSpan(list266)[0] = new QuestStep(EInteractionType.Interact, 1056301u, new Vector3(5.5999756f, 0f, 2.822876f), 1223); - obj210.Steps = list266; - reference189 = obj210; - ref QuestSequence reference190 = ref span148[3]; - QuestSequence obj211 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list267 = new List(num2); - CollectionsMarshal.SetCount(list267, num2); - Span span150 = CollectionsMarshal.AsSpan(list267); - ref QuestStep reference191 = ref span150[0]; - QuestStep obj212 = new QuestStep(EInteractionType.Interact, 1049793u, new Vector3(364.3396f, 60.125f, 357.1068f), 1186) - { - TargetTerritoryId = (ushort)1224 - }; - SkipConditions skipConditions70 = new SkipConditions(); - SkipStepConditions skipStepConditions68 = new SkipStepConditions(); - num3 = 1; - List list268 = new List(num3); - CollectionsMarshal.SetCount(list268, num3); - CollectionsMarshal.AsSpan(list268)[0] = 1224; - skipStepConditions68.NotInTerritory = list268; - skipConditions70.StepIf = skipStepConditions68; - obj212.SkipConditions = skipConditions70; - reference191 = obj212; - span150[1] = new QuestStep(EInteractionType.CompleteQuest, 1056303u, new Vector3(0.2288208f, -2.3919762E-12f, -13.229614f), 1224) - { - NextQuestId = new QuestId(5436) - }; - obj211.Steps = list267; - reference190 = obj211; - questRoot20.QuestSequence = list263; - AddQuest(questId20, questRoot20); - QuestId questId21 = new QuestId(5436); - QuestRoot questRoot21 = new QuestRoot(); - num = 1; - List list269 = new List(num); - CollectionsMarshal.SetCount(list269, num); - CollectionsMarshal.AsSpan(list269)[0] = "WigglyMuffin"; - questRoot21.Author = list269; - num = 3; - List list270 = new List(num); - CollectionsMarshal.SetCount(list270, num); - Span span151 = CollectionsMarshal.AsSpan(list270); - ref QuestSequence reference192 = ref span151[0]; - QuestSequence obj213 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - Span span152 = CollectionsMarshal.AsSpan(list271); - span152[0] = new QuestStep(EInteractionType.Interact, 1049793u, new Vector3(364.3396f, 60.125f, 357.1068f), 1186) - { - TargetTerritoryId = (ushort)1224, - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineTheArcadion - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span152[1] = new QuestStep(EInteractionType.AcceptQuest, 1053745u, new Vector3(1.6326294f, -2.9191749E-12f, -12.466675f), 1224); - obj213.Steps = list271; - reference192 = obj213; - ref QuestSequence reference193 = ref span151[1]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - CollectionsMarshal.AsSpan(list272)[0] = new QuestStep(EInteractionType.Duty, null, null, 1224) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 1068u - } - }; - obj214.Steps = list272; - reference193 = obj214; - ref QuestSequence reference194 = ref span151[2]; - QuestSequence obj215 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list273 = new List(num2); - CollectionsMarshal.SetCount(list273, num2); - Span span153 = CollectionsMarshal.AsSpan(list273); - ref QuestStep reference195 = ref span153[0]; - QuestStep obj216 = new QuestStep(EInteractionType.Interact, 1049793u, new Vector3(364.3396f, 60.125f, 357.1068f), 1186) - { - TargetTerritoryId = (ushort)1224 - }; - SkipConditions skipConditions71 = new SkipConditions(); - SkipStepConditions skipStepConditions69 = new SkipStepConditions(); - num3 = 1; - List list274 = new List(num3); - CollectionsMarshal.SetCount(list274, num3); - CollectionsMarshal.AsSpan(list274)[0] = 1224; - skipStepConditions69.NotInTerritory = list274; - skipConditions71.StepIf = skipStepConditions69; - obj216.SkipConditions = skipConditions71; - reference195 = obj216; - span153[1] = new QuestStep(EInteractionType.CompleteQuest, 1053792u, new Vector3(1.9683228f, -2.3974921E-12f, -11.12384f), 1224) - { - NextQuestId = new QuestId(5437) - }; - obj215.Steps = list273; - reference194 = obj215; - questRoot21.QuestSequence = list270; - AddQuest(questId21, questRoot21); - QuestId questId22 = new QuestId(5437); - QuestRoot questRoot22 = new QuestRoot(); - num = 1; - List list275 = new List(num); - CollectionsMarshal.SetCount(list275, num); - CollectionsMarshal.AsSpan(list275)[0] = "WigglyMuffin"; - questRoot22.Author = list275; - num = 5; - List list276 = new List(num); - CollectionsMarshal.SetCount(list276, num); - Span span154 = CollectionsMarshal.AsSpan(list276); - ref QuestSequence reference196 = ref span154[0]; - QuestSequence obj217 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list277 = new List(num2); - CollectionsMarshal.SetCount(list277, num2); - Span span155 = CollectionsMarshal.AsSpan(list277); - span155[0] = new QuestStep(EInteractionType.Interact, 1049793u, new Vector3(364.3396f, 60.125f, 357.1068f), 1186) - { - TargetTerritoryId = (ushort)1224, - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineTheArcadion - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span155[1] = new QuestStep(EInteractionType.AcceptQuest, 1053792u, new Vector3(1.9683228f, -2.3974921E-12f, -11.12384f), 1224); - obj217.Steps = list277; - reference196 = obj217; - ref QuestSequence reference197 = ref span154[1]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list278 = new List(num2); - CollectionsMarshal.SetCount(list278, num2); - CollectionsMarshal.AsSpan(list278)[0] = new QuestStep(EInteractionType.Interact, 1056304u, new Vector3(491.32507f, 59.55f, 128.09949f), 1186) - { - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineTrueVue - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj218.Steps = list278; - reference197 = obj218; - ref QuestSequence reference198 = ref span154[2]; - QuestSequence obj219 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list279 = new List(num2); - CollectionsMarshal.SetCount(list279, num2); - Span span156 = CollectionsMarshal.AsSpan(list279); - span156[0] = new QuestStep(EInteractionType.Interact, 1049793u, new Vector3(364.3396f, 60.125f, 357.1068f), 1186) - { - TargetTerritoryId = (ushort)1224, - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineTheArcadion - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span156[1] = new QuestStep(EInteractionType.Interact, 1053745u, new Vector3(1.6326294f, -2.9191749E-12f, -12.466675f), 1224); - obj219.Steps = list279; - reference198 = obj219; - ref QuestSequence reference199 = ref span154[3]; - QuestSequence obj220 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list280 = new List(num2); - CollectionsMarshal.SetCount(list280, num2); - CollectionsMarshal.AsSpan(list280)[0] = new QuestStep(EInteractionType.Duty, null, null, 1224) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 1070u - } - }; - obj220.Steps = list280; - reference199 = obj220; - ref QuestSequence reference200 = ref span154[4]; - QuestSequence obj221 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list281 = new List(num2); - CollectionsMarshal.SetCount(list281, num2); - Span span157 = CollectionsMarshal.AsSpan(list281); - ref QuestStep reference201 = ref span157[0]; - QuestStep obj222 = new QuestStep(EInteractionType.Interact, 1049793u, new Vector3(364.3396f, 60.125f, 357.1068f), 1186) - { - TargetTerritoryId = (ushort)1224 - }; - SkipConditions skipConditions72 = new SkipConditions(); - SkipStepConditions skipStepConditions70 = new SkipStepConditions(); - num3 = 1; - List list282 = new List(num3); - CollectionsMarshal.SetCount(list282, num3); - CollectionsMarshal.AsSpan(list282)[0] = 1224; - skipStepConditions70.NotInTerritory = list282; - skipConditions72.StepIf = skipStepConditions70; - obj222.SkipConditions = skipConditions72; - reference201 = obj222; - span157[1] = new QuestStep(EInteractionType.CompleteQuest, 1053792u, new Vector3(1.9683228f, -2.3974921E-12f, -11.12384f), 1224) - { - NextQuestId = new QuestId(5438) - }; - obj221.Steps = list281; - reference200 = obj221; - questRoot22.QuestSequence = list276; - AddQuest(questId22, questRoot22); - QuestId questId23 = new QuestId(5438); - QuestRoot questRoot23 = new QuestRoot(); - num = 1; - List list283 = new List(num); - CollectionsMarshal.SetCount(list283, num); - CollectionsMarshal.AsSpan(list283)[0] = "WigglyMuffin"; - questRoot23.Author = list283; - num = 5; - List list284 = new List(num); - CollectionsMarshal.SetCount(list284, num); - Span span158 = CollectionsMarshal.AsSpan(list284); - ref QuestSequence reference202 = ref span158[0]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list285 = new List(num2); - CollectionsMarshal.SetCount(list285, num2); - Span span159 = CollectionsMarshal.AsSpan(list285); - span159[0] = new QuestStep(EInteractionType.Interact, 1049793u, new Vector3(364.3396f, 60.125f, 357.1068f), 1186) - { - TargetTerritoryId = (ushort)1224, - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineTheArcadion - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span159[1] = new QuestStep(EInteractionType.AcceptQuest, 1053792u, new Vector3(1.9683228f, -2.3974921E-12f, -11.12384f), 1224); - obj223.Steps = list285; - reference202 = obj223; - ref QuestSequence reference203 = ref span158[1]; - QuestSequence obj224 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - CollectionsMarshal.AsSpan(list286)[0] = new QuestStep(EInteractionType.Interact, 1056307u, new Vector3(4.257263f, 0f, -6.4851074f), 1344); - obj224.Steps = list286; - reference203 = obj224; - ref QuestSequence reference204 = ref span158[2]; - QuestSequence obj225 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - Span span160 = CollectionsMarshal.AsSpan(list287); - span160[0] = new QuestStep(EInteractionType.Interact, 2015047u, new Vector3(4.0749f, 0.81f, 10.5759f), 1344) - { - TargetTerritoryId = (ushort)1186 - }; - span160[1] = new QuestStep(EInteractionType.Interact, 1056308u, new Vector3(491.1726f, 59.549995f, 123.91846f), 1186); - obj225.Steps = list287; - reference204 = obj225; - ref QuestSequence reference205 = ref span158[3]; - QuestSequence obj226 = new QuestSequence - { - Sequence = 3 - }; - num2 = 3; - List list288 = new List(num2); - CollectionsMarshal.SetCount(list288, num2); - Span span161 = CollectionsMarshal.AsSpan(list288); - ref QuestStep reference206 = ref span161[0]; - QuestStep questStep17 = new QuestStep(EInteractionType.Interact, 1056310u, new Vector3(391.4701f, 60f, 75.42529f), 1186); - num3 = 6; - List list289 = new List(num3); - CollectionsMarshal.SetCount(list289, num3); - Span span162 = CollectionsMarshal.AsSpan(list289); - span162[0] = null; - span162[1] = null; - span162[2] = null; - span162[3] = null; - span162[4] = null; - span162[5] = new QuestWorkValue((byte)8, null, EQuestWorkMode.Bitwise); - questStep17.CompletionQuestVariablesFlags = list289; - reference206 = questStep17; - ref QuestStep reference207 = ref span161[1]; - QuestStep questStep18 = new QuestStep(EInteractionType.Interact, 1056311u, new Vector3(379.99524f, 50.749996f, 172.0149f), 1186); - num3 = 6; - List list290 = new List(num3); - CollectionsMarshal.SetCount(list290, num3); - Span span163 = CollectionsMarshal.AsSpan(list290); - span163[0] = null; - span163[1] = null; - span163[2] = null; - span163[3] = null; - span163[4] = null; - span163[5] = new QuestWorkValue((byte)12, null, EQuestWorkMode.Bitwise); - questStep18.CompletionQuestVariablesFlags = list290; - reference207 = questStep18; - span161[2] = new QuestStep(EInteractionType.Interact, 1056312u, new Vector3(340.81018f, 50.75f, 278.43127f), 1186); - obj226.Steps = list288; - reference205 = obj226; - ref QuestSequence reference208 = ref span158[4]; - QuestSequence obj227 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list291 = new List(num2); - CollectionsMarshal.SetCount(list291, num2); - CollectionsMarshal.AsSpan(list291)[0] = new QuestStep(EInteractionType.CompleteQuest, 1049787u, new Vector3(364.3396f, 60.125f, 357.1068f), 1186) - { - NextQuestId = new QuestId(5439) - }; - obj227.Steps = list291; - reference208 = obj227; - questRoot23.QuestSequence = list284; - AddQuest(questId23, questRoot23); - QuestId questId24 = new QuestId(5439); - QuestRoot questRoot24 = new QuestRoot(); - num = 1; - List list292 = new List(num); - CollectionsMarshal.SetCount(list292, num); - CollectionsMarshal.AsSpan(list292)[0] = "WigglyMuffin"; - questRoot24.Author = list292; - num = 4; - List list293 = new List(num); - CollectionsMarshal.SetCount(list293, num); - Span span164 = CollectionsMarshal.AsSpan(list293); - ref QuestSequence reference209 = ref span164[0]; - QuestSequence obj228 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - Span span165 = CollectionsMarshal.AsSpan(list294); - span165[0] = new QuestStep(EInteractionType.Interact, 1049793u, new Vector3(364.3396f, 60.125f, 357.1068f), 1186) - { - TargetTerritoryId = (ushort)1224, - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineTheArcadion - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span165[1] = new QuestStep(EInteractionType.AcceptQuest, 1053745u, new Vector3(1.6326294f, -2.9191749E-12f, -12.466675f), 1224); - obj228.Steps = list294; - reference209 = obj228; - ref QuestSequence reference210 = ref span164[1]; - QuestSequence obj229 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list295 = new List(num2); - CollectionsMarshal.SetCount(list295, num2); - CollectionsMarshal.AsSpan(list295)[0] = new QuestStep(EInteractionType.Duty, null, null, 1224) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 1072u - } - }; - obj229.Steps = list295; - reference210 = obj229; - span164[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference211 = ref span164[3]; - QuestSequence obj230 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - CollectionsMarshal.AsSpan(list296)[0] = new QuestStep(EInteractionType.CompleteQuest, 1053792u, new Vector3(1.9683228f, -2.3974921E-12f, -11.12384f), 1224) - { - NextQuestId = new QuestId(5440) - }; - obj230.Steps = list296; - reference211 = obj230; - questRoot24.QuestSequence = list293; - AddQuest(questId24, questRoot24); - QuestId questId25 = new QuestId(5440); - QuestRoot questRoot25 = new QuestRoot(); - num = 1; - List list297 = new List(num); - CollectionsMarshal.SetCount(list297, num); - CollectionsMarshal.AsSpan(list297)[0] = "WigglyMuffin"; - questRoot25.Author = list297; - num = 6; - List list298 = new List(num); - CollectionsMarshal.SetCount(list298, num); - Span span166 = CollectionsMarshal.AsSpan(list298); - ref QuestSequence reference212 = ref span166[0]; - QuestSequence obj231 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list299 = new List(num2); - CollectionsMarshal.SetCount(list299, num2); - Span span167 = CollectionsMarshal.AsSpan(list299); - span167[0] = new QuestStep(EInteractionType.Interact, 1049793u, new Vector3(364.3396f, 60.125f, 357.1068f), 1186) - { - TargetTerritoryId = (ushort)1224, - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineTheArcadion - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span167[1] = new QuestStep(EInteractionType.AcceptQuest, 1053792u, new Vector3(1.9683228f, -2.3974921E-12f, -11.12384f), 1224); - obj231.Steps = list299; - reference212 = obj231; - ref QuestSequence reference213 = ref span166[1]; - QuestSequence obj232 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - CollectionsMarshal.AsSpan(list300)[0] = new QuestStep(EInteractionType.Duty, null, null, 1224) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 1074u - } - }; - obj232.Steps = list300; - reference213 = obj232; - span166[2] = new QuestSequence - { - Sequence = 2 - }; - ref QuestSequence reference214 = ref span166[3]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - CollectionsMarshal.AsSpan(list301)[0] = new QuestStep(EInteractionType.Interact, 1056316u, new Vector3(-3.5858765f, 0.25695172f, -4.3793945f), 1223); - obj233.Steps = list301; - reference214 = obj233; - ref QuestSequence reference215 = ref span166[4]; - QuestSequence obj234 = new QuestSequence - { - Sequence = 4 - }; - num2 = 2; - List list302 = new List(num2); - CollectionsMarshal.SetCount(list302, num2); - Span span168 = CollectionsMarshal.AsSpan(list302); - span168[0] = new QuestStep(EInteractionType.Interact, 1049793u, new Vector3(364.3396f, 60.125f, 357.1068f), 1186) - { - TargetTerritoryId = (ushort)1224, - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineTheArcadion - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - ref QuestStep reference216 = ref span168[1]; - QuestStep questStep19 = new QuestStep(EInteractionType.Interact, 1058423u, new Vector3(-0.015319824f, -3.1291775E-12f, -15.42688f), 1224); - num3 = 1; - List list303 = new List(num3); - CollectionsMarshal.SetCount(list303, num3); - CollectionsMarshal.AsSpan(list303)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGRA306_05440_Q3_000_000") - }; - questStep19.DialogueChoices = list303; - reference216 = questStep19; - obj234.Steps = list302; - reference215 = obj234; - ref QuestSequence reference217 = ref span166[5]; - QuestSequence obj235 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - CollectionsMarshal.AsSpan(list304)[0] = new QuestStep(EInteractionType.CompleteQuest, 1058424u, new Vector3(494.7433f, 59.55f, 125.10864f), 1186); - obj235.Steps = list304; - reference217 = obj235; - questRoot25.QuestSequence = list298; - AddQuest(questId25, questRoot25); - QuestId questId26 = new QuestId(5443); - QuestRoot questRoot26 = new QuestRoot(); - num = 1; - List list305 = new List(num); - CollectionsMarshal.SetCount(list305, num); - CollectionsMarshal.AsSpan(list305)[0] = "Wigglez"; - questRoot26.Author = list305; - questRoot26.IsSeasonalQuest = true; - questRoot26.SeasonalQuestExpiry = new DateTime(2026, 6, 24, 14, 59, 0, DateTimeKind.Utc); - num = 8; - List list306 = new List(num); - CollectionsMarshal.SetCount(list306, num); - Span span169 = CollectionsMarshal.AsSpan(list306); - ref QuestSequence reference218 = ref span169[0]; - QuestSequence obj236 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list307 = new List(num2); - CollectionsMarshal.SetCount(list307, num2); - CollectionsMarshal.AsSpan(list307)[0] = new QuestStep(EInteractionType.AcceptQuest, 1056358u, new Vector3(-87.44946f, 4f, -103.44098f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj236.Steps = list307; - reference218 = obj236; - ref QuestSequence reference219 = ref span169[1]; - QuestSequence obj237 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - CollectionsMarshal.AsSpan(list308)[0] = new QuestStep(EInteractionType.Interact, 1056359u, new Vector3(-13.809448f, 14.00001f, -10.940796f), 131) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahGladiator - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - }, - AethernetShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj237.Steps = list308; - reference219 = obj237; - ref QuestSequence reference220 = ref span169[2]; - QuestSequence obj238 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list309 = new List(num2); - CollectionsMarshal.SetCount(list309, num2); - CollectionsMarshal.AsSpan(list309)[0] = new QuestStep(EInteractionType.Interact, 1056359u, new Vector3(-13.809448f, 14.00001f, -10.940796f), 131); - obj238.Steps = list309; - reference220 = obj238; - ref QuestSequence reference221 = ref span169[3]; - QuestSequence obj239 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - Span span170 = CollectionsMarshal.AsSpan(list310); - ref QuestStep reference222 = ref span170[0]; - QuestStep questStep20 = new QuestStep(EInteractionType.Interact, 1056373u, new Vector3(125.10864f, 4.100009f, -32.303406f), 131); - num3 = 1; - List list311 = new List(num3); - CollectionsMarshal.SetCount(list311, num3); - CollectionsMarshal.AsSpan(list311)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "quest/054/FesGsx001_05443", - Prompt = new ExcelRef("TEXT_FESGSX001_05443_Q2_000_000"), - Answer = new ExcelRef("TEXT_FESGSX001_05443_A2_000_001") - }; - questStep20.DialogueChoices = list311; - reference222 = questStep20; - ref QuestStep reference223 = ref span170[1]; - QuestStep obj240 = new QuestStep(EInteractionType.None, null, null, 131) - { - DelaySecondsAtStart = 5f - }; - num3 = 1; - List list312 = new List(num3); - CollectionsMarshal.SetCount(list312, num3); - CollectionsMarshal.AsSpan(list312)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "quest/054/FesGsx001_05443", - Prompt = new ExcelRef("TEXT_FESGSX001_05443_Q2_000_000"), - Answer = new ExcelRef("TEXT_FESGSX001_05443_A2_000_001") - }; - obj240.DialogueChoices = list312; - reference223 = obj240; - obj239.Steps = list310; - reference221 = obj239; - ref QuestSequence reference224 = ref span169[4]; - QuestSequence obj241 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list313 = new List(num2); - CollectionsMarshal.SetCount(list313, num2); - ref QuestStep reference225 = ref CollectionsMarshal.AsSpan(list313)[0]; - QuestStep questStep21 = new QuestStep(EInteractionType.Interact, 1056377u, new Vector3(128.58777f, 7.992012f, 75.791504f), 131); - num3 = 1; - List list314 = new List(num3); - CollectionsMarshal.SetCount(list314, num3); - CollectionsMarshal.AsSpan(list314)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "quest/054/FesGsx001_05443", - Prompt = new ExcelRef("TEXT_FESGSX001_05443_Q3_000_000"), - Answer = new ExcelRef("TEXT_FESGSX001_05443_A3_000_001") - }; - questStep21.DialogueChoices = list314; - reference225 = questStep21; - obj241.Steps = list313; - reference224 = obj241; - ref QuestSequence reference226 = ref span169[5]; - QuestSequence obj242 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list315 = new List(num2); - CollectionsMarshal.SetCount(list315, num2); - CollectionsMarshal.AsSpan(list315)[0] = new QuestStep(EInteractionType.Interact, 1056381u, new Vector3(-14.816589f, 14.04987f, 55.191895f), 131); - obj242.Steps = list315; - reference226 = obj242; - ref QuestSequence reference227 = ref span169[6]; - QuestSequence obj243 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - CollectionsMarshal.AsSpan(list316)[0] = new QuestStep(EInteractionType.Interact, 1056385u, new Vector3(-13.626343f, 14.000009f, -12.40564f), 131); - obj243.Steps = list316; - reference227 = obj243; - ref QuestSequence reference228 = ref span169[7]; - QuestSequence obj244 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list317 = new List(num2); - CollectionsMarshal.SetCount(list317, num2); - CollectionsMarshal.AsSpan(list317)[0] = new QuestStep(EInteractionType.CompleteQuest, 1056390u, new Vector3(-53.391357f, -1.706183E-06f, 102.67798f), 144); - obj244.Steps = list317; - reference228 = obj244; - questRoot26.QuestSequence = list306; - AddQuest(questId26, questRoot26); - QuestId questId27 = new QuestId(5444); - QuestRoot questRoot27 = new QuestRoot(); - num = 1; - List list318 = new List(num); - CollectionsMarshal.SetCount(list318, num); - CollectionsMarshal.AsSpan(list318)[0] = "WigglyMuffin"; - questRoot27.Author = list318; - questRoot27.IsSeasonalQuest = true; - questRoot27.SeasonalQuestExpiry = new DateTime(2026, 3, 12, 14, 59, 0, DateTimeKind.Utc); - num = 9; - List list319 = new List(num); - CollectionsMarshal.SetCount(list319, num); - Span span171 = CollectionsMarshal.AsSpan(list319); - ref QuestSequence reference229 = ref span171[0]; - QuestSequence obj245 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list320 = new List(num2); - CollectionsMarshal.SetCount(list320, num2); - CollectionsMarshal.AsSpan(list320)[0] = new QuestStep(EInteractionType.AcceptQuest, 1056476u, new Vector3(-35.1416f, 5.000001f, -130.38837f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj245.Steps = list320; - reference229 = obj245; - ref QuestSequence reference230 = ref span171[1]; - QuestSequence obj246 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list321 = new List(num2); - CollectionsMarshal.SetCount(list321, num2); - CollectionsMarshal.AsSpan(list321)[0] = new QuestStep(EInteractionType.Interact, 1057901u, new Vector3(-33.951355f, 5.0000005f, -130.87665f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj246.Steps = list321; - reference230 = obj246; - ref QuestSequence reference231 = ref span171[2]; - QuestSequence obj247 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list322 = new List(num2); - CollectionsMarshal.SetCount(list322, num2); - Span span172 = CollectionsMarshal.AsSpan(list322); - ref QuestStep reference232 = ref span172[0]; - QuestStep questStep22 = new QuestStep(EInteractionType.Interact, 1057909u, new Vector3(29.984009f, 4.0999947f, -152.63605f), 130); - num3 = 6; - List list323 = new List(num3); - CollectionsMarshal.SetCount(list323, num3); - Span span173 = CollectionsMarshal.AsSpan(list323); - span173[0] = null; - span173[1] = null; - span173[2] = null; - span173[3] = null; - span173[4] = null; - span173[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep22.CompletionQuestVariablesFlags = list323; - reference232 = questStep22; - span172[1] = new QuestStep(EInteractionType.Interact, 1057906u, new Vector3(33.6156f, 3.9999995f, -140.91711f), 130); - obj247.Steps = list322; - reference231 = obj247; - ref QuestSequence reference233 = ref span171[3]; - QuestSequence obj248 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list324 = new List(num2); - CollectionsMarshal.SetCount(list324, num2); - Span span174 = CollectionsMarshal.AsSpan(list324); - ref QuestStep reference234 = ref span174[0]; - QuestStep questStep23 = new QuestStep(EInteractionType.Interact, 1057911u, new Vector3(10.36084f, 7.9999804f, -109.26984f), 130); - num3 = 6; - List list325 = new List(num3); - CollectionsMarshal.SetCount(list325, num3); - Span span175 = CollectionsMarshal.AsSpan(list325); - span175[0] = null; - span175[1] = null; - span175[2] = null; - span175[3] = null; - span175[4] = null; - span175[5] = new QuestWorkValue((byte)8, 0, EQuestWorkMode.Bitwise); - questStep23.CompletionQuestVariablesFlags = list325; - reference234 = questStep23; - span174[1] = new QuestStep(EInteractionType.Interact, 1057912u, new Vector3(15.396301f, 6.999997f, -82.993835f), 130); - obj248.Steps = list324; - reference233 = obj248; - ref QuestSequence reference235 = ref span171[4]; - QuestSequence obj249 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list326 = new List(num2); - CollectionsMarshal.SetCount(list326, num2); - CollectionsMarshal.AsSpan(list326)[0] = new QuestStep(EInteractionType.Interact, 1058069u, new Vector3(-15.121765f, 7.999998f, -112.81f), 130); - obj249.Steps = list326; - reference235 = obj249; - ref QuestSequence reference236 = ref span171[5]; - QuestSequence obj250 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list327 = new List(num2); - CollectionsMarshal.SetCount(list327, num2); - CollectionsMarshal.AsSpan(list327)[0] = new QuestStep(EInteractionType.Interact, 1057902u, new Vector3(-12.100403f, 7.999999f, -110.76526f), 130); - obj250.Steps = list327; - reference236 = obj250; - ref QuestSequence reference237 = ref span171[6]; - QuestSequence obj251 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list328 = new List(num2); - CollectionsMarshal.SetCount(list328, num2); - CollectionsMarshal.AsSpan(list328)[0] = new QuestStep(EInteractionType.Interact, 1056476u, new Vector3(-35.1416f, 5.000001f, -130.38837f), 130); - obj251.Steps = list328; - reference237 = obj251; - ref QuestSequence reference238 = ref span171[7]; - QuestSequence obj252 = new QuestSequence - { - Sequence = 7 - }; - num2 = 2; - List list329 = new List(num2); - CollectionsMarshal.SetCount(list329, num2); - Span span176 = CollectionsMarshal.AsSpan(list329); - ref QuestStep reference239 = ref span176[0]; - QuestStep obj253 = new QuestStep(EInteractionType.Interact, 1055771u, new Vector3(-37.369385f, 5.0000005f, -130.14423f), 130) - { - IgnoreQuestMarker = true - }; - num3 = 3; - List list330 = new List(num3); - CollectionsMarshal.SetCount(list330, num3); - Span span177 = CollectionsMarshal.AsSpan(list330); - span177[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") - }; - span177[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") - }; - span177[2] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - ExcelSheet = "custom/009/FesPdy2026FateDisguise_00951", - Prompt = new ExcelRef("TEXT_FESPDY2026FATEDISGUISE_00951_CONFIRM_100_004") - }; - obj253.DialogueChoices = list330; - reference239 = obj253; - ref QuestStep reference240 = ref span176[1]; - QuestStep questStep24 = new QuestStep(EInteractionType.FateAction, null, new Vector3(-38.322124f, 3.9999998f, -144.23155f), 130); - num3 = 4; - List list331 = new List(num3); - CollectionsMarshal.SetCount(list331, num3); - Span span178 = CollectionsMarshal.AsSpan(list331); - span178[0] = new FateActionTarget - { - DataId = 18862u, - Action = EAction.CheerRhythmYellow - }; - span178[1] = new FateActionTarget - { - DataId = 18860u, - Action = EAction.CheerRhythmBlue - }; - span178[2] = new FateActionTarget - { - DataId = 18861u, - Action = EAction.CheerRhythmGreen - }; - span178[3] = new FateActionTarget - { - DataId = 18859u, - Action = EAction.CheerRhythmRed - }; - questStep24.FateActionTargets = list331; - reference240 = questStep24; - obj252.Steps = list329; - reference238 = obj252; - ref QuestSequence reference241 = ref span171[8]; - QuestSequence obj254 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list332 = new List(num2); - CollectionsMarshal.SetCount(list332, num2); - CollectionsMarshal.AsSpan(list332)[0] = new QuestStep(EInteractionType.CompleteQuest, 1056476u, new Vector3(-35.1416f, 5.000001f, -130.38837f), 130) - { - NextQuestId = new QuestId(5445) - }; - obj254.Steps = list332; - reference241 = obj254; - questRoot27.QuestSequence = list319; - AddQuest(questId27, questRoot27); - QuestId questId28 = new QuestId(5445); - QuestRoot questRoot28 = new QuestRoot(); - num = 1; - List list333 = new List(num); - CollectionsMarshal.SetCount(list333, num); - CollectionsMarshal.AsSpan(list333)[0] = "WigglyMuffin"; - questRoot28.Author = list333; - questRoot28.IsSeasonalQuest = true; - questRoot28.SeasonalQuestExpiry = new DateTime(2026, 3, 12, 14, 59, 0, DateTimeKind.Utc); - num = 3; - List list334 = new List(num); - CollectionsMarshal.SetCount(list334, num); - Span span179 = CollectionsMarshal.AsSpan(list334); - ref QuestSequence reference242 = ref span179[0]; - QuestSequence obj255 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list335 = new List(num2); - CollectionsMarshal.SetCount(list335, num2); - CollectionsMarshal.AsSpan(list335)[0] = new QuestStep(EInteractionType.AcceptQuest, 1056476u, new Vector3(-35.1416f, 5.000001f, -130.38837f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj255.Steps = list335; - reference242 = obj255; - ref QuestSequence reference243 = ref span179[1]; - QuestSequence obj256 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list336 = new List(num2); - CollectionsMarshal.SetCount(list336, num2); - CollectionsMarshal.AsSpan(list336)[0] = new QuestStep(EInteractionType.Interact, 1056476u, new Vector3(-35.1416f, 5.000001f, -130.38837f), 130); - obj256.Steps = list336; - reference243 = obj256; - ref QuestSequence reference244 = ref span179[2]; - QuestSequence obj257 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list337 = new List(num2); - CollectionsMarshal.SetCount(list337, num2); - CollectionsMarshal.AsSpan(list337)[0] = new QuestStep(EInteractionType.CompleteQuest, 1056476u, new Vector3(-35.1416f, 5.000001f, -130.38837f), 130); - obj257.Steps = list337; - reference244 = obj257; - questRoot28.QuestSequence = list334; - AddQuest(questId28, questRoot28); - } - - private static void LoadQuests109() - { - QuestId questId = new QuestId(5470); - QuestRoot questRoot = new QuestRoot(); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = "WigglyMuffin"; - questRoot.Author = list; - num = 5; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - ref QuestSequence reference = ref span[0]; - QuestSequence obj = new QuestSequence - { - Sequence = 0 - }; - int num2 = 1; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - CollectionsMarshal.AsSpan(list3)[0] = new QuestStep(EInteractionType.AcceptQuest, 1056202u, new Vector3(14.938599f, 38.806587f, -408.74347f), 1186) - { - AetheryteShortcut = EAetheryteLocation.SolutionNine, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.SolutionNine, - To = EAetheryteLocation.SolutionNineResolution - } - }; - obj.Steps = list3; - reference = obj; - ref QuestSequence reference2 = ref span[1]; - QuestSequence obj2 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span2 = CollectionsMarshal.AsSpan(list4); - span2[0] = new QuestStep(EInteractionType.Interact, 1054936u, new Vector3(-57.41974f, 42.8066f, -546.7765f), 1186) - { - TargetTerritoryId = (ushort)1299 - }; - span2[1] = new QuestStep(EInteractionType.Interact, 1058782u, new Vector3(4.043579f, 1.1999818f, 41.61133f), 1299); - obj2.Steps = list4; - reference2 = obj2; - ref QuestSequence reference3 = ref span[2]; - QuestSequence obj3 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - CollectionsMarshal.AsSpan(list5)[0] = new QuestStep(EInteractionType.Interact, 1038588u, new Vector3(-101.76245f, 4.357501f, 0.7476196f), 962) - { - AetheryteShortcut = EAetheryteLocation.OldSharlayan, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj3.Steps = list5; - reference3 = obj3; - ref QuestSequence reference4 = ref span[3]; - QuestSequence obj4 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - Span span3 = CollectionsMarshal.AsSpan(list6); - span3[0] = new QuestStep(EInteractionType.Interact, 2011936u, new Vector3(-108.56799f, 5.0201416f, 4.5318604f), 962) - { - TargetTerritoryId = (ushort)987 - }; - span3[1] = new QuestStep(EInteractionType.Interact, 2015337u, new Vector3(0.008126731f, 1.907349E-06f, -8.997082f), 987); - obj4.Steps = list6; - reference4 = obj4; - ref QuestSequence reference5 = ref span[4]; - QuestSequence obj5 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - CollectionsMarshal.AsSpan(list7)[0] = new QuestStep(EInteractionType.CompleteQuest, 1058789u, new Vector3(-0.045776367f, 1.9073486E-06f, 1.3884888f), 987); - obj5.Steps = list7; - reference5 = obj5; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot); - QuestId questId2 = new QuestId(5471); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - CollectionsMarshal.AsSpan(list8)[0] = "WigglyMuffin"; - questRoot2.Author = list8; - num = 5; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - Span span4 = CollectionsMarshal.AsSpan(list9); - ref QuestSequence reference6 = ref span4[0]; - QuestSequence obj6 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - CollectionsMarshal.AsSpan(list10)[0] = new QuestStep(EInteractionType.AcceptQuest, 1058790u, new Vector3(-1.1750488f, 1.9073486E-06f, -0.289917f), 987); - obj6.Steps = list10; - reference6 = obj6; - ref QuestSequence reference7 = ref span4[1]; - QuestSequence obj7 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - CollectionsMarshal.AsSpan(list11)[0] = new QuestStep(EInteractionType.Interact, 1058791u, new Vector3(531.6395f, -36.65f, -231.49463f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldTertium, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj7.Steps = list11; - reference7 = obj7; - ref QuestSequence reference8 = ref span4[2]; - QuestSequence obj8 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list12 = new List(num2); - CollectionsMarshal.SetCount(list12, num2); - CollectionsMarshal.AsSpan(list12)[0] = new QuestStep(EInteractionType.Duty, null, null, 958) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 1011u - } - }; - obj8.Steps = list12; - reference8 = obj8; - span4[3] = new QuestSequence - { - Sequence = 3 - }; - ref QuestSequence reference9 = ref span4[4]; - QuestSequence obj9 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.CompleteQuest, 1058801u, new Vector3(533.4706f, -36.65f, -228.56494f), 958); - obj9.Steps = list13; - reference9 = obj9; - questRoot2.QuestSequence = list9; - AddQuest(questId2, questRoot2); - QuestId questId3 = new QuestId(5472); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - CollectionsMarshal.AsSpan(list14)[0] = "WigglyMuffin"; - questRoot3.Author = list14; - num = 9; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - Span span5 = CollectionsMarshal.AsSpan(list15); - ref QuestSequence reference10 = ref span5[0]; - QuestSequence obj10 = new QuestSequence - { - Sequence = 0 - }; - num2 = 2; - List list16 = new List(num2); - CollectionsMarshal.SetCount(list16, num2); - Span span6 = CollectionsMarshal.AsSpan(list16); - span6[0] = new QuestStep(EInteractionType.AcceptQuest, 1058804u, new Vector3(531.3954f, -36.65f, -231.95245f), 958) - { - AetheryteShortcut = EAetheryteLocation.GarlemaldTertium, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span6[1] = new QuestStep(EInteractionType.AcceptQuest, 1056141u, new Vector3(-7.5532227f, -0.003462526f, -7.950012f), 1334); - obj10.Steps = list16; - reference10 = obj10; - ref QuestSequence reference11 = ref span5[1]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - ref QuestStep reference12 = ref CollectionsMarshal.AsSpan(list17)[0]; - QuestStep obj12 = new QuestStep(EInteractionType.Combat, null, new Vector3(-19.821533f, 57.32972f, 88.0293f), 959) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - int num3 = 3; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - Span span7 = CollectionsMarshal.AsSpan(list18); - span7[0] = 20055u; - span7[1] = 20056u; - span7[2] = 20057u; - obj12.KillEnemyDataIds = list18; - reference12 = obj12; - obj11.Steps = list17; - reference11 = obj11; - ref QuestSequence reference13 = ref span5[2]; - QuestSequence obj13 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[0] = new QuestStep(EInteractionType.Interact, 1058809u, new Vector3(-19.821533f, 57.32972f, 88.0293f), 959); - obj13.Steps = list19; - reference13 = obj13; - ref QuestSequence reference14 = ref span5[3]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list20 = new List(num2); - CollectionsMarshal.SetCount(list20, num2); - ref QuestStep reference15 = ref CollectionsMarshal.AsSpan(list20)[0]; - QuestStep obj15 = new QuestStep(EInteractionType.Combat, null, new Vector3(-187.36554f, 57.16567f, 411.24585f), 959) - { - StopDistance = 0.5f, - Fly = true, - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list21 = new List(num3); - CollectionsMarshal.SetCount(list21, num3); - CollectionsMarshal.AsSpan(list21)[0] = 20058u; - obj15.KillEnemyDataIds = list21; - reference15 = obj15; - obj14.Steps = list20; - reference14 = obj14; - ref QuestSequence reference16 = ref span5[4]; - QuestSequence obj16 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - CollectionsMarshal.AsSpan(list22)[0] = new QuestStep(EInteractionType.Interact, 1058812u, new Vector3(-187.36554f, 57.16567f, 411.24585f), 959); - obj16.Steps = list22; - reference16 = obj16; - span5[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference17 = ref span5[6]; - QuestSequence obj17 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - CollectionsMarshal.AsSpan(list23)[0] = new QuestStep(EInteractionType.Duty, null, null, 1373) - { - DutyOptions = new DutyOptions - { - Enabled = true, - ContentFinderConditionId = 1115u - } - }; - obj17.Steps = list23; - reference17 = obj17; - span5[7] = new QuestSequence - { - Sequence = 7 - }; - ref QuestSequence reference18 = ref span5[8]; - QuestSequence obj18 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.CompleteQuest, 1058818u, new Vector3(28.122314f, 56.632263f, 481.4984f), 1162); - obj18.Steps = list24; - reference18 = obj18; - questRoot3.QuestSequence = list15; - AddQuest(questId3, questRoot3); - QuestId questId4 = new QuestId(5473); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - CollectionsMarshal.AsSpan(list25)[0] = "WigglyMuffin"; - questRoot4.Author = list25; - num = 8; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - Span span8 = CollectionsMarshal.AsSpan(list26); - ref QuestSequence reference19 = ref span8[0]; - QuestSequence obj19 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - CollectionsMarshal.AsSpan(list27)[0] = new QuestStep(EInteractionType.AcceptQuest, 1058818u, new Vector3(28.122314f, 56.632263f, 481.4984f), 1162); - obj19.Steps = list27; - reference19 = obj19; - ref QuestSequence reference20 = ref span8[1]; - QuestSequence obj20 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list28 = new List(num2); - CollectionsMarshal.SetCount(list28, num2); - ref QuestStep reference21 = ref CollectionsMarshal.AsSpan(list28)[0]; - QuestStep questStep = new QuestStep(EInteractionType.Interact, 1058821u, new Vector3(7.9804688f, 57.865685f, 429.22095f), 1162); - num3 = 1; - List list29 = new List(num3); - CollectionsMarshal.SetCount(list29, num3); - CollectionsMarshal.AsSpan(list29)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMK104_05473_SYSTEM_000_105") - }; - questStep.DialogueChoices = list29; - reference21 = questStep; - obj20.Steps = list28; - reference20 = obj20; - ref QuestSequence reference22 = ref span8[2]; - QuestSequence obj21 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list30 = new List(num2); - CollectionsMarshal.SetCount(list30, num2); - CollectionsMarshal.AsSpan(list30)[0] = new QuestStep(EInteractionType.Interact, 1058824u, new Vector3(-1.3275757f, -0.40000772f, -59.494934f), 1077); - obj21.Steps = list30; - reference22 = obj21; - ref QuestSequence reference23 = ref span8[3]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list31 = new List(num2); - CollectionsMarshal.SetCount(list31, num2); - CollectionsMarshal.AsSpan(list31)[0] = new QuestStep(EInteractionType.Interact, 1058827u, new Vector3(-35.996094f, -0.21963452f, 52.353638f), 1077); - obj22.Steps = list31; - reference23 = obj22; - ref QuestSequence reference24 = ref span8[4]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - CollectionsMarshal.AsSpan(list32)[0] = new QuestStep(EInteractionType.Interact, 2015319u, new Vector3(-35.29428f, 0.2805768f, 53.37022f), 1077); - obj23.Steps = list32; - reference24 = obj23; - ref QuestSequence reference25 = ref span8[5]; - QuestSequence obj24 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - CollectionsMarshal.AsSpan(list33)[0] = new QuestStep(EInteractionType.UseItem, 2015321u, new Vector3(128.8068f, 24.30001f, 60.58372f), 1077) - { - ItemId = 2003823u - }; - obj24.Steps = list33; - reference25 = obj24; - ref QuestSequence reference26 = ref span8[6]; - QuestSequence obj25 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list34 = new List(num2); - CollectionsMarshal.SetCount(list34, num2); - ref QuestStep reference27 = ref CollectionsMarshal.AsSpan(list34)[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1058830u, new Vector3(132.06677f, 24.30001f, 59.830566f), 1077); - num3 = 1; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - CollectionsMarshal.AsSpan(list35)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGMK104_05473_SYSTEM_000_502") - }; - questStep2.DialogueChoices = list35; - reference27 = questStep2; - obj25.Steps = list34; - reference26 = obj25; - ref QuestSequence reference28 = ref span8[7]; - QuestSequence obj26 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - CollectionsMarshal.AsSpan(list36)[0] = new QuestStep(EInteractionType.CompleteQuest, 1059789u, new Vector3(-21.164307f, -47.543007f, -490.95905f), 959); - obj26.Steps = list36; - reference28 = obj26; - questRoot4.QuestSequence = list26; - AddQuest(questId4, questRoot4); - QuestId questId5 = new QuestId(5474); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - CollectionsMarshal.AsSpan(list37)[0] = "WigglyMuffin"; - questRoot5.Author = list37; - num = 4; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - Span span9 = CollectionsMarshal.AsSpan(list38); - ref QuestSequence reference29 = ref span9[0]; - QuestSequence obj27 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - CollectionsMarshal.AsSpan(list39)[0] = new QuestStep(EInteractionType.AcceptQuest, 1058834u, new Vector3(-23.941406f, -47.54248f, -490.28766f), 959); - obj27.Steps = list39; - reference29 = obj27; - ref QuestSequence reference30 = ref span9[1]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list40 = new List(num2); - CollectionsMarshal.SetCount(list40, num2); - Span span10 = CollectionsMarshal.AsSpan(list40); - span10[0] = new QuestStep(EInteractionType.Interact, 2002881u, new Vector3(21.133728f, 22.323914f, -631.281f), 156) - { - TargetTerritoryId = (ushort)351, - AetheryteShortcut = EAetheryteLocation.MorDhona, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - span10[1] = new QuestStep(EInteractionType.Interact, 1058854u, new Vector3(-0.16790771f, 0f, -8.346741f), 351); - obj28.Steps = list40; - reference30 = obj28; - ref QuestSequence reference31 = ref span9[2]; - QuestSequence obj29 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list41 = new List(num2); - CollectionsMarshal.SetCount(list41, num2); - Span span11 = CollectionsMarshal.AsSpan(list41); - ref QuestStep reference32 = ref span11[0]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1058842u, new Vector3(4.135132f, 0.009977884f, -4.287842f), 351); - num3 = 6; - List list42 = new List(num3); - CollectionsMarshal.SetCount(list42, num3); - Span span12 = CollectionsMarshal.AsSpan(list42); - span12[0] = null; - span12[1] = null; - span12[2] = null; - span12[3] = null; - span12[4] = null; - span12[5] = new QuestWorkValue((byte)4, null, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list42; - reference32 = questStep3; - ref QuestStep reference33 = ref span11[1]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 1058850u, new Vector3(9.47583f, 0.009977883f, -4.5625f), 351); - num3 = 6; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - Span span13 = CollectionsMarshal.AsSpan(list43); - span13[0] = null; - span13[1] = null; - span13[2] = null; - span13[3] = null; - span13[4] = null; - span13[5] = new QuestWorkValue((byte)4, (byte)8, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list43; - reference33 = questStep4; - ref QuestStep reference34 = ref span11[2]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 1058843u, new Vector3(3.40271f, 0f, -8.590881f), 351); - num3 = 6; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - Span span14 = CollectionsMarshal.AsSpan(list44); - span14[0] = null; - span14[1] = null; - span14[2] = null; - span14[3] = null; - span14[4] = null; - span14[5] = new QuestWorkValue((byte)6, (byte)8, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list44; - reference34 = questStep5; - ref QuestStep reference35 = ref span11[3]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 1058841u, new Vector3(-3.0975952f, 0.018040119f, -10.086243f), 351); - num3 = 6; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - Span span15 = CollectionsMarshal.AsSpan(list45); - span15[0] = null; - span15[1] = null; - span15[2] = null; - span15[3] = null; - span15[4] = null; - span15[5] = new QuestWorkValue((byte)14, (byte)8, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list45; - reference35 = questStep6; - span11[4] = new QuestStep(EInteractionType.Interact, 1058844u, new Vector3(-6.240967f, 0.009977883f, -4.867676f), 351); - obj29.Steps = list41; - reference31 = obj29; - ref QuestSequence reference36 = ref span9[3]; - QuestSequence obj30 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.CompleteQuest, 1058861u, new Vector3(-0.015319824f, 0f, -7.2175903f), 351); - obj30.Steps = list46; - reference36 = obj30; - questRoot5.QuestSequence = list38; - AddQuest(questId5, questRoot5); - QuestId questId6 = new QuestId(5479); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list47 = new List(num); - CollectionsMarshal.SetCount(list47, num); - CollectionsMarshal.AsSpan(list47)[0] = "WigglyMuffin"; - questRoot6.Author = list47; - num = 7; - List list48 = new List(num); - CollectionsMarshal.SetCount(list48, num); - Span span16 = CollectionsMarshal.AsSpan(list48); - ref QuestSequence reference37 = ref span16[0]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list49 = new List(num2); - CollectionsMarshal.SetCount(list49, num2); - CollectionsMarshal.AsSpan(list49)[0] = new QuestStep(EInteractionType.AcceptQuest, 1054357u, new Vector3(141.2832f, 42f, -351.9494f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalBrightploomPost - }, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj31.Steps = list49; - reference37 = obj31; - ref QuestSequence reference38 = ref span16[1]; - QuestSequence obj32 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list50 = new List(num2); - CollectionsMarshal.SetCount(list50, num2); - CollectionsMarshal.AsSpan(list50)[0] = new QuestStep(EInteractionType.Interact, 1058885u, new Vector3(-262.92822f, 32f, -658.2894f), 1191) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.HeritageFoundTheOutskirts - }; - obj32.Steps = list50; - reference38 = obj32; - ref QuestSequence reference39 = ref span16[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - CollectionsMarshal.AsSpan(list51)[0] = new QuestStep(EInteractionType.Interact, 1058889u, new Vector3(464.8661f, -150.9661f, 473.10596f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook - }; - obj33.Steps = list51; - reference39 = obj33; - ref QuestSequence reference40 = ref span16[3]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list52 = new List(num2); - CollectionsMarshal.SetCount(list52, num2); - Span span17 = CollectionsMarshal.AsSpan(list52); - span17[0] = new QuestStep(EInteractionType.Interact, 2014450u, new Vector3(-528.37415f, -152.20874f, 671.13745f), 1189) - { - TargetTerritoryId = (ushort)1265, - Fly = true - }; - span17[1] = new QuestStep(EInteractionType.Interact, 1058894u, new Vector3(-11.062805f, 41.999992f, -5.0202637f), 1265); - obj34.Steps = list52; - reference40 = obj34; - ref QuestSequence reference41 = ref span16[4]; - QuestSequence obj35 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list53 = new List(num2); - CollectionsMarshal.SetCount(list53, num2); - CollectionsMarshal.AsSpan(list53)[0] = new QuestStep(EInteractionType.Duty, null, null, 1265) - { - DutyOptions = new DutyOptions - { - ContentFinderConditionId = 1117u - } - }; - obj35.Steps = list53; - reference41 = obj35; - span16[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference42 = ref span16[6]; - QuestSequence obj36 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - CollectionsMarshal.AsSpan(list54)[0] = new QuestStep(EInteractionType.CompleteQuest, 1058898u, new Vector3(-2.8534546f, 41.999977f, 1.7852783f), 1265) - { - NextQuestId = new QuestId(5480) - }; - obj36.Steps = list54; - reference42 = obj36; - questRoot6.QuestSequence = list48; - AddQuest(questId6, questRoot6); - QuestId questId7 = new QuestId(5480); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list55 = new List(num); - CollectionsMarshal.SetCount(list55, num); - CollectionsMarshal.AsSpan(list55)[0] = "WigglyMuffin"; - questRoot7.Author = list55; - num = 11; - List list56 = new List(num); - CollectionsMarshal.SetCount(list56, num); - Span span18 = CollectionsMarshal.AsSpan(list56); - ref QuestSequence reference43 = ref span18[0]; - QuestSequence obj37 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - CollectionsMarshal.AsSpan(list57)[0] = new QuestStep(EInteractionType.AcceptQuest, 1058898u, new Vector3(-2.8534546f, 41.999977f, 1.7852783f), 1265); - obj37.Steps = list57; - reference43 = obj37; - ref QuestSequence reference44 = ref span18[1]; - QuestSequence obj38 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list58 = new List(num2); - CollectionsMarshal.SetCount(list58, num2); - CollectionsMarshal.AsSpan(list58)[0] = new QuestStep(EInteractionType.Interact, 1058924u, new Vector3(469.65735f, -150.94077f, 473.1975f), 1189) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj38.Steps = list58; - reference44 = obj38; - ref QuestSequence reference45 = ref span18[2]; - QuestSequence obj39 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.Interact, 1058902u, new Vector3(-622.6444f, -182.22296f, 553.30725f), 1189); - obj39.Steps = list59; - reference45 = obj39; - ref QuestSequence reference46 = ref span18[3]; - QuestSequence obj40 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - CollectionsMarshal.AsSpan(list60)[0] = new QuestStep(EInteractionType.Interact, 1058905u, new Vector3(686.7628f, -137.174f, 497.15417f), 1189); - obj40.Steps = list60; - reference46 = obj40; - ref QuestSequence reference47 = ref span18[4]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list61 = new List(num2); - CollectionsMarshal.SetCount(list61, num2); - CollectionsMarshal.AsSpan(list61)[0] = new QuestStep(EInteractionType.Interact, 1058908u, new Vector3(-410.94073f, 3f, -60.16632f), 1185) - { - AetheryteShortcut = EAetheryteLocation.Tuliyollal, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Tuliyollal, - To = EAetheryteLocation.TuliyollalDirigibleLanding - } - }; - obj41.Steps = list61; - reference47 = obj41; - ref QuestSequence reference48 = ref span18[5]; - QuestSequence obj42 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list62 = new List(num2); - CollectionsMarshal.SetCount(list62, num2); - CollectionsMarshal.AsSpan(list62)[0] = new QuestStep(EInteractionType.Interact, 1054357u, new Vector3(141.2832f, 42f, -351.9494f), 1185) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalDirigibleLanding, - To = EAetheryteLocation.TuliyollalBrightploomPost - } - }; - obj42.Steps = list62; - reference48 = obj42; - ref QuestSequence reference49 = ref span18[6]; - QuestSequence obj43 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - Span span19 = CollectionsMarshal.AsSpan(list63); - span19[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-17.027401f, -19.328289f, 189.65439f), 1185) - { - StopDistance = 0.5f, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.TuliyollalBrightploomPost, - To = EAetheryteLocation.TuliyollalTheForardCabins - } - }; - span19[1] = new QuestStep(EInteractionType.Interact, 1058910u, new Vector3(-19.183992f, -19.328289f, 189.95901f), 1185); - obj43.Steps = list63; - reference49 = obj43; - ref QuestSequence reference50 = ref span18[7]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - ref QuestStep reference51 = ref CollectionsMarshal.AsSpan(list64)[0]; - QuestStep questStep7 = new QuestStep(EInteractionType.Interact, 1058912u, new Vector3(-80.27777f, -19.328289f, 185.8396f), 1185); - num3 = 1; - List list65 = new List(num3); - CollectionsMarshal.SetCount(list65, num3); - CollectionsMarshal.AsSpan(list65)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_KINGEA302_05480_Q5_000_000") - }; - questStep7.DialogueChoices = list65; - reference51 = questStep7; - obj44.Steps = list64; - reference50 = obj44; - ref QuestSequence reference52 = ref span18[8]; - QuestSequence obj45 = new QuestSequence - { - Sequence = 8 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new QuestStep(EInteractionType.Interact, 1058915u, new Vector3(-0.5340576f, 41.999996f, -115.739685f), 1265); - obj45.Steps = list66; - reference52 = obj45; - ref QuestSequence reference53 = ref span18[9]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 9 - }; - num2 = 1; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - CollectionsMarshal.AsSpan(list67)[0] = new QuestStep(EInteractionType.Interact, 1058919u, new Vector3(-2.7314453f, 42f, -112.474304f), 1265); - obj46.Steps = list67; - reference53 = obj46; - ref QuestSequence reference54 = ref span18[10]; - QuestSequence obj47 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.CompleteQuest, 1058927u, new Vector3(567.6814f, -131.41925f, 610.1013f), 1189) - { - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj47.Steps = list68; - reference54 = obj47; - questRoot7.QuestSequence = list56; - AddQuest(questId7, questRoot7); + DecodeDuration = stopwatch.Elapsed; + return dictionary; } } diff --git a/QuestPaths/Questionable.QuestPaths/PathBundleSecret.cs b/QuestPaths/Questionable.QuestPaths/PathBundleSecret.cs new file mode 100644 index 0000000..c6a5d56 --- /dev/null +++ b/QuestPaths/Questionable.QuestPaths/PathBundleSecret.cs @@ -0,0 +1,30 @@ +namespace Questionable.QuestPaths; + +internal static class PathBundleSecret +{ + private static readonly byte[] A = new byte[32] + { + 14, 205, 205, 220, 252, 13, 221, 232, 100, 189, + 37, 224, 91, 77, 175, 255, 30, 195, 23, 136, + 234, 230, 125, 209, 122, 165, 20, 174, 100, 226, + 27, 222 + }; + + private static readonly byte[] B = new byte[32] + { + 241, 56, 43, 159, 122, 127, 111, 25, 223, 150, + 24, 59, 99, 24, 253, 141, 217, 107, 154, 16, + 247, 125, 175, 254, 169, 41, 27, 2, 18, 101, + 46, 175 + }; + + internal static byte[] Key() + { + byte[] array = new byte[A.Length]; + for (int i = 0; i < array.Length; i++) + { + array[i] = (byte)(A[i] ^ B[i]); + } + return array; + } +} diff --git a/Questionable.LgbWorker/Questionable.LgbWorker.csproj b/Questionable.LgbWorker/Questionable.LgbWorker.csproj new file mode 100644 index 0000000..323b7e2 --- /dev/null +++ b/Questionable.LgbWorker/Questionable.LgbWorker.csproj @@ -0,0 +1,21 @@ + + + + Questionable.LgbWorker + False + Exe + netcoreapp1.0 + x64 + + + 12.0 + True + + + + + + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\Lumina.dll + + + \ No newline at end of file diff --git a/Questionable.LgbWorker/Questionable.LgbWorker/ExitRangeEntry.cs b/Questionable.LgbWorker/Questionable.LgbWorker/ExitRangeEntry.cs new file mode 100644 index 0000000..44d9c16 --- /dev/null +++ b/Questionable.LgbWorker/Questionable.LgbWorker/ExitRangeEntry.cs @@ -0,0 +1,5 @@ +using System.Numerics; + +namespace Questionable.LgbWorker; + +internal sealed record ExitRangeEntry(ushort SourceTerritoryId, uint InstanceId, Vector3 SourcePosition, ushort DestTerritoryId, uint DestInstanceId, uint ReturnInstanceId, Vector3 Rotation, Vector3 HalfExtents); diff --git a/Questionable.LgbWorker/Questionable.LgbWorker/LevelEntry.cs b/Questionable.LgbWorker/Questionable.LgbWorker/LevelEntry.cs new file mode 100644 index 0000000..ae2943d --- /dev/null +++ b/Questionable.LgbWorker/Questionable.LgbWorker/LevelEntry.cs @@ -0,0 +1,21 @@ +using System.Text.Json.Serialization; + +namespace Questionable.LgbWorker; + +internal sealed class LevelEntry +{ + [JsonPropertyName("objectId")] + public uint ObjectId { get; set; } + + [JsonPropertyName("territoryId")] + public ushort TerritoryId { get; set; } + + [JsonPropertyName("x")] + public float X { get; set; } + + [JsonPropertyName("y")] + public float Y { get; set; } + + [JsonPropertyName("z")] + public float Z { get; set; } +} diff --git a/Questionable.LgbWorker/Questionable.LgbWorker/LgbMessageType.cs b/Questionable.LgbWorker/Questionable.LgbWorker/LgbMessageType.cs new file mode 100644 index 0000000..59c9147 --- /dev/null +++ b/Questionable.LgbWorker/Questionable.LgbWorker/LgbMessageType.cs @@ -0,0 +1,7 @@ +namespace Questionable.LgbWorker; + +internal enum LgbMessageType : byte +{ + Progress = 1, + Final +} diff --git a/Questionable.LgbWorker/Questionable.LgbWorker/LgbWorkerFraming.cs b/Questionable.LgbWorker/Questionable.LgbWorker/LgbWorkerFraming.cs new file mode 100644 index 0000000..21bb26b --- /dev/null +++ b/Questionable.LgbWorker/Questionable.LgbWorker/LgbWorkerFraming.cs @@ -0,0 +1,80 @@ +using System; +using System.IO; +using System.Text; + +namespace Questionable.LgbWorker; + +internal static class LgbWorkerFraming +{ + public static void Write(Stream stream, in LgbWorkerMessage message) + { + using MemoryStream memoryStream = new MemoryStream(); + using BinaryWriter binaryWriter = new BinaryWriter(memoryStream, Encoding.UTF8, leaveOpen: true); + binaryWriter.Write((byte)message.Type); + switch (message.Type) + { + case LgbMessageType.Progress: + binaryWriter.Write(message.Done); + binaryWriter.Write(message.Total); + break; + case LgbMessageType.Final: + binaryWriter.Write(message.Success); + binaryWriter.Write(message.DurationMs); + binaryWriter.Write(message.Error ?? string.Empty); + break; + default: + throw new ArgumentOutOfRangeException("message"); + } + binaryWriter.Flush(); + byte[] array = memoryStream.ToArray(); + Span span = stackalloc byte[4]; + BitConverter.TryWriteBytes(span, array.Length); + stream.Write(span); + stream.Write(array); + } + + public static LgbWorkerMessage Read(Stream stream) + { + Span span = stackalloc byte[4]; + ReadExact(stream, span); + int num = BitConverter.ToInt32(span); + if ((num <= 0 || num > 65536) ? true : false) + { + throw new InvalidDataException($"Invalid frame length: {num}"); + } + byte[] array = new byte[num]; + ReadExact(stream, array); + using BinaryReader binaryReader = new BinaryReader(new MemoryStream(array), Encoding.UTF8); + LgbMessageType lgbMessageType = (LgbMessageType)binaryReader.ReadByte(); + return lgbMessageType switch + { + LgbMessageType.Progress => new LgbWorkerMessage + { + Type = lgbMessageType, + Done = binaryReader.ReadInt32(), + Total = binaryReader.ReadInt32() + }, + LgbMessageType.Final => new LgbWorkerMessage + { + Type = lgbMessageType, + Success = binaryReader.ReadBoolean(), + DurationMs = binaryReader.ReadInt64(), + Error = binaryReader.ReadString() + }, + _ => throw new InvalidDataException($"Unknown message type: {lgbMessageType}"), + }; + } + + private static void ReadExact(Stream stream, Span buffer) + { + int num; + for (int i = 0; i < buffer.Length; i += num) + { + num = stream.Read(buffer.Slice(i)); + if (num == 0) + { + throw new EndOfStreamException(); + } + } + } +} diff --git a/Questionable.LgbWorker/Questionable.LgbWorker/LgbWorkerManifest.cs b/Questionable.LgbWorker/Questionable.LgbWorker/LgbWorkerManifest.cs new file mode 100644 index 0000000..bc6eaf8 --- /dev/null +++ b/Questionable.LgbWorker/Questionable.LgbWorker/LgbWorkerManifest.cs @@ -0,0 +1,42 @@ +using System.Collections.Generic; +using System.IO; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Questionable.LgbWorker; + +internal sealed class LgbWorkerManifest +{ + [JsonPropertyName("sqpackPath")] + public string SqpackPath { get; set; } = string.Empty; + + [JsonPropertyName("gameVersion")] + public string GameVersion { get; set; } = string.Empty; + + [JsonPropertyName("npcCachePath")] + public string NpcCachePath { get; set; } = string.Empty; + + [JsonPropertyName("boundaryCachePath")] + public string BoundaryCachePath { get; set; } = string.Empty; + + [JsonPropertyName("territories")] + public List Territories { get; set; } = new List(); + + [JsonPropertyName("levelEntries")] + public List LevelEntries { get; set; } = new List(); + + public static LgbWorkerManifest Load(string path) + { + using FileStream utf8Json = File.OpenRead(path); + LgbWorkerManifest? obj = JsonSerializer.Deserialize(utf8Json) ?? throw new InvalidDataException("Manifest deserialized to null"); + if (string.IsNullOrWhiteSpace(obj.SqpackPath)) + { + throw new InvalidDataException("SqpackPath is missing"); + } + if (string.IsNullOrWhiteSpace(obj.GameVersion)) + { + throw new InvalidDataException("GameVersion is missing"); + } + return obj; + } +} diff --git a/Questionable.LgbWorker/Questionable.LgbWorker/LgbWorkerMessage.cs b/Questionable.LgbWorker/Questionable.LgbWorker/LgbWorkerMessage.cs new file mode 100644 index 0000000..a0fd9e4 --- /dev/null +++ b/Questionable.LgbWorker/Questionable.LgbWorker/LgbWorkerMessage.cs @@ -0,0 +1,16 @@ +namespace Questionable.LgbWorker; + +internal readonly struct LgbWorkerMessage +{ + public LgbMessageType Type { get; init; } + + public int Done { get; init; } + + public int Total { get; init; } + + public bool Success { get; init; } + + public long DurationMs { get; init; } + + public string? Error { get; init; } +} diff --git a/Questionable.LgbWorker/Questionable.LgbWorker/PopRangeEntry.cs b/Questionable.LgbWorker/Questionable.LgbWorker/PopRangeEntry.cs new file mode 100644 index 0000000..1099ddb --- /dev/null +++ b/Questionable.LgbWorker/Questionable.LgbWorker/PopRangeEntry.cs @@ -0,0 +1,5 @@ +using System.Numerics; + +namespace Questionable.LgbWorker; + +internal sealed record PopRangeEntry(ushort TerritoryId, uint InstanceId, Vector3 Position); diff --git a/Questionable.LgbWorker/Questionable.LgbWorker/Program.cs b/Questionable.LgbWorker/Questionable.LgbWorker/Program.cs new file mode 100644 index 0000000..7cfe3c7 --- /dev/null +++ b/Questionable.LgbWorker/Questionable.LgbWorker/Program.cs @@ -0,0 +1,573 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Diagnostics; +using System.Globalization; +using System.IO; +using System.IO.Pipes; +using System.Numerics; +using System.Text.Json; +using System.Threading; +using System.Threading.Tasks; +using Lumina; +using Lumina.Data.Files; +using Lumina.Data.Parsing.Layer; + +namespace Questionable.LgbWorker; + +internal static class Program +{ + private const int ExitSuccess = 0; + + private const int ExitUsage = 2; + + private const int ExitProtocol = 3; + + private const int ExitGameData = 4; + + private const int ExitScanFailed = 5; + + private const int ExitPipeConnect = 6; + + private const int ExitOrphaned = 7; + + private const int ConnectTimeoutMs = 30000; + + private static readonly TimeSpan ParentPollInterval = TimeSpan.FromSeconds(1L); + + private const uint NpcFileMagic = 1129336401u; + + private const int NpcFileFormatVersion = 1; + + private const uint BoundaryFileMagic = 1112425562u; + + private const int BoundaryFileFormatVersion = 1; + + private static readonly string[] LgbFileNames = new string[4] { "planevent", "planmap", "planner", "planlive" }; + + private static int Main(string[] args) + { + try + { + return Run(args); + } + catch (Exception value) + { + Console.Error.WriteLine($"LGB worker failed unexpectedly: {value}"); + return 5; + } + } + + private static int Run(string[] args) + { + if (!TryParseArgs(args, out string pipeName, out string manifestPath, out int? parentPid)) + { + return Usage(); + } + NamedPipeClientStream namedPipeClientStream = null; + try + { + namedPipeClientStream = new NamedPipeClientStream(".", pipeName, PipeDirection.Out, PipeOptions.Asynchronous); + namedPipeClientStream.Connect(30000); + } + catch (Exception ex) when (((ex is TimeoutException || ex is IOException || ex is UnauthorizedAccessException || ex is ArgumentException) ? 1 : 0) != 0) + { + namedPipeClientStream?.Dispose(); + Console.Error.WriteLine("LGB worker could not connect to pipe '" + pipeName + "': " + ex.Message); + return 6; + } + using (namedPipeClientStream) + { + return RunScan(namedPipeClientStream, manifestPath, parentPid); + } + } + + private static int RunScan(Stream pipe, string manifestPath, int? parentPid) + { + LgbWorkerManifest lgbWorkerManifest; + try + { + lgbWorkerManifest = LgbWorkerManifest.Load(manifestPath); + } + catch (Exception ex) when (((ex is InvalidDataException || ex is IOException || ex is UnauthorizedAccessException || ex is ArgumentException || ex is JsonException) ? 1 : 0) != 0) + { + Console.Error.WriteLine("LGB worker cannot read manifest '" + manifestPath + "': " + ex.Message); + return 3; + } + GameData gameData; + try + { + gameData = new GameData(lgbWorkerManifest.SqpackPath, new LuminaOptions + { + CacheFileResources = false + }); + } + catch (Exception ex2) + { + Console.Error.WriteLine("LGB worker cannot open game data at '" + lgbWorkerManifest.SqpackPath + "': " + ex2.Message); + return 4; + } + CancellationTokenSource abort = new CancellationTokenSource(); + try + { + CancellationTokenSource stopWatching = new CancellationTokenSource(); + try + { + if (parentPid.HasValue) + { + int pid = parentPid.GetValueOrDefault(); + Task.Run(() => WatchParentAsync(pid, abort, stopWatching.Token)); + } + try + { + return Scan(pipe, lgbWorkerManifest, gameData, abort.Token); + } + finally + { + stopWatching.Cancel(); + gameData.Dispose(); + } + } + finally + { + if (stopWatching != null) + { + ((IDisposable)stopWatching).Dispose(); + } + } + } + finally + { + if (abort != null) + { + ((IDisposable)abort).Dispose(); + } + } + } + + private static int Scan(Stream pipe, LgbWorkerManifest manifest, GameData gameData, CancellationToken ct) + { + Stopwatch stopwatch = Stopwatch.StartNew(); + Console.Error.WriteLine($"Scanning {manifest.Territories.Count} territories, {manifest.LevelEntries.Count} level entries"); + try + { + int total = manifest.Territories.Count * 2; + int num = 0; + Dictionary dictionary = new Dictionary(); + HashSet visitedLgbPaths = new HashSet(); + List list = new List(); + Dictionary<(ushort, uint), PopRangeEntry> dictionary2 = new Dictionary<(ushort, uint), PopRangeEntry>(); + HashSet visitedLgbPaths2 = new HashSet(); + foreach (TerritoryEntry territory in manifest.Territories) + { + ct.ThrowIfCancellationRequested(); + if (territory.HasAetheryte) + { + ScanNpcLgbFiles(gameData, dictionary, visitedLgbPaths, territory); + ScanBoundaryLgb(gameData, list, dictionary2, visitedLgbPaths2, territory); + num++; + ReportProgress(pipe, num, total); + } + } + foreach (TerritoryEntry territory2 in manifest.Territories) + { + ct.ThrowIfCancellationRequested(); + ScanNpcLgbFiles(gameData, dictionary, visitedLgbPaths, territory2); + ScanBoundaryLgb(gameData, list, dictionary2, visitedLgbPaths2, territory2); + num++; + ReportProgress(pipe, num, total); + } + foreach (LevelEntry levelEntry in manifest.LevelEntries) + { + dictionary.TryAdd(levelEntry.ObjectId, (levelEntry.TerritoryId, new Vector3(levelEntry.X, levelEntry.Y, levelEntry.Z), false)); + } + Console.Error.WriteLine($"Scan complete: {dictionary.Count} NPCs, {list.Count} exits, {dictionary2.Count} pops"); + if (!string.IsNullOrEmpty(manifest.NpcCachePath)) + { + WriteNpcCache(manifest.NpcCachePath, manifest.GameVersion, dictionary); + Console.Error.WriteLine("Wrote NPC cache: " + manifest.NpcCachePath); + } + if (!string.IsNullOrEmpty(manifest.BoundaryCachePath)) + { + WriteBoundaryCache(manifest.BoundaryCachePath, manifest.GameVersion, list, dictionary2); + Console.Error.WriteLine("Wrote boundary cache: " + manifest.BoundaryCachePath); + } + } + catch (OperationCanceledException) + { + Console.Error.WriteLine("LGB worker scan cancelled: the parent process is gone."); + return 7; + } + catch (IOException ex2) + { + Console.Error.WriteLine("LGB worker pipe broke during the scan: " + ex2.Message); + return 7; + } + catch (Exception ex3) + { + return ReportFailure(pipe, ex3.ToString()); + } + stopwatch.Stop(); + try + { + LgbWorkerMessage message = new LgbWorkerMessage + { + Type = LgbMessageType.Final, + Success = true, + DurationMs = stopwatch.ElapsedMilliseconds + }; + LgbWorkerFraming.Write(pipe, in message); + pipe.Flush(); + } + catch (IOException ex4) + { + Console.Error.WriteLine("LGB worker pipe broke before the final message: " + ex4.Message); + return 7; + } + return 0; + } + + private static void ScanNpcLgbFiles(GameData gameData, Dictionary cache, HashSet visitedLgbPaths, TerritoryEntry territory) + { + string bgPath = territory.BgPath; + if (string.IsNullOrEmpty(bgPath)) + { + return; + } + int num = bgPath.IndexOf("/level/", StringComparison.Ordinal); + if (num < 0) + { + return; + } + string[] lgbFileNames = LgbFileNames; + foreach (string text in lgbFileNames) + { + string text2 = "bg/" + bgPath.Substring(0, num + 1) + "level/" + text + ".lgb"; + if (!visitedLgbPaths.Add(text2)) + { + continue; + } + LgbFile file; + try + { + file = gameData.GetFile(text2); + } + catch + { + continue; + } + if (file == null) + { + continue; + } + LayerCommon.Layer[] layers = file.Layers; + for (int j = 0; j < layers.Length; j++) + { + LayerCommon.Layer layer = layers[j]; + bool flag = layer.FestivalID != 0 || layer.IsTemporary != 0; + LayerCommon.InstanceObject[] instanceObjects = layer.InstanceObjects; + for (int k = 0; k < instanceObjects.Length; k++) + { + LayerCommon.InstanceObject instanceObject = instanceObjects[k]; + uint baseId; + if (instanceObject.AssetType == LayerEntryType.EventNPC) + { + baseId = ((LayerCommon.ENPCInstanceObject)instanceObject.Object).ParentData.ParentData.BaseId; + } + else + { + if (instanceObject.AssetType != LayerEntryType.EventObject) + { + continue; + } + baseId = ((LayerCommon.EventInstanceObject)instanceObject.Object).ParentData.BaseId; + } + if (baseId != 0 && (!cache.TryGetValue(baseId, out (ushort, Vector3, bool) value) || !(!value.Item3 || flag))) + { + cache[baseId] = ((ushort)territory.RowId, new Vector3(instanceObject.Transform.Translation.X, instanceObject.Transform.Translation.Y, instanceObject.Transform.Translation.Z), flag); + } + } + } + } + } + + private static void ScanBoundaryLgb(GameData gameData, List exitRanges, Dictionary<(ushort TerritoryId, uint InstanceId), PopRangeEntry> popRangeIndex, HashSet visitedLgbPaths, TerritoryEntry territory) + { + if (!IsNavigableOverworld(territory.IntendedUse)) + { + return; + } + string bgPath = territory.BgPath; + if (string.IsNullOrEmpty(bgPath)) + { + return; + } + int num = bgPath.IndexOf("/level/", StringComparison.Ordinal); + if (num < 0) + { + return; + } + string text = "bg/" + bgPath.Substring(0, num + 1) + "level/planmap.lgb"; + if (!visitedLgbPaths.Add(text)) + { + return; + } + ushort num2 = (ushort)territory.RowId; + LgbFile file; + try + { + file = gameData.GetFile(text); + } + catch + { + return; + } + if (file == null) + { + return; + } + LayerCommon.Layer[] layers = file.Layers; + for (int i = 0; i < layers.Length; i++) + { + LayerCommon.InstanceObject[] instanceObjects = layers[i].InstanceObjects; + for (int j = 0; j < instanceObjects.Length; j++) + { + LayerCommon.InstanceObject instanceObject = instanceObjects[j]; + if (instanceObject.AssetType == LayerEntryType.ExitRange) + { + LayerCommon.ExitRangeInstanceObject exitRangeInstanceObject = (LayerCommon.ExitRangeInstanceObject)(object)instanceObject.Object; + exitRanges.Add(new ExitRangeEntry(num2, instanceObject.InstanceId, new Vector3(instanceObject.Transform.Translation.X, instanceObject.Transform.Translation.Y, instanceObject.Transform.Translation.Z), exitRangeInstanceObject.TerritoryType, exitRangeInstanceObject.DestInstanceId, exitRangeInstanceObject.ReturnInstanceId, new Vector3(instanceObject.Transform.Rotation.X, instanceObject.Transform.Rotation.Y, instanceObject.Transform.Rotation.Z), new Vector3(instanceObject.Transform.Scale.X, instanceObject.Transform.Scale.Y, instanceObject.Transform.Scale.Z))); + } + else if (instanceObject.AssetType == LayerEntryType.PopRange) + { + popRangeIndex[(num2, instanceObject.InstanceId)] = new PopRangeEntry(num2, instanceObject.InstanceId, new Vector3(instanceObject.Transform.Translation.X, instanceObject.Transform.Translation.Y, instanceObject.Transform.Translation.Z)); + } + } + } + } + + private static bool IsNavigableOverworld(byte use) + { + switch (use) + { + case 0: + case 1: + case 6: + case 13: + case 21: + case 22: + case 23: + case 41: + case 48: + case 49: + case 60: + case 61: + return true; + default: + return false; + } + } + + private static void WriteNpcCache(string path, string gameVersion, Dictionary cache) + { + Directory.CreateDirectory(Path.GetDirectoryName(path)); + string text = path + ".tmp"; + using (BinaryWriter binaryWriter = new BinaryWriter(File.Create(text))) + { + binaryWriter.Write(1129336401u); + binaryWriter.Write(1); + binaryWriter.Write(gameVersion); + binaryWriter.Write(cache.Count); + foreach (var (value, tuple2) in cache) + { + binaryWriter.Write(value); + binaryWriter.Write(tuple2.Item1); + binaryWriter.Write(tuple2.Item2.X); + binaryWriter.Write(tuple2.Item2.Y); + binaryWriter.Write(tuple2.Item2.Z); + binaryWriter.Write(tuple2.Item3); + } + } + File.Move(text, path, overwrite: true); + } + + private static void WriteBoundaryCache(string path, string gameVersion, List exitRanges, Dictionary<(ushort TerritoryId, uint InstanceId), PopRangeEntry> popRangeIndex) + { + Directory.CreateDirectory(Path.GetDirectoryName(path)); + string text = path + ".tmp"; + using (BinaryWriter binaryWriter = new BinaryWriter(File.Create(text))) + { + binaryWriter.Write(1112425562u); + binaryWriter.Write(1); + binaryWriter.Write(gameVersion); + binaryWriter.Write(exitRanges.Count); + foreach (ExitRangeEntry exitRange in exitRanges) + { + binaryWriter.Write(exitRange.SourceTerritoryId); + binaryWriter.Write(exitRange.InstanceId); + binaryWriter.Write(exitRange.SourcePosition.X); + binaryWriter.Write(exitRange.SourcePosition.Y); + binaryWriter.Write(exitRange.SourcePosition.Z); + binaryWriter.Write(exitRange.DestTerritoryId); + binaryWriter.Write(exitRange.DestInstanceId); + binaryWriter.Write(exitRange.ReturnInstanceId); + binaryWriter.Write(exitRange.Rotation.X); + binaryWriter.Write(exitRange.Rotation.Y); + binaryWriter.Write(exitRange.Rotation.Z); + binaryWriter.Write(exitRange.HalfExtents.X); + binaryWriter.Write(exitRange.HalfExtents.Y); + binaryWriter.Write(exitRange.HalfExtents.Z); + } + binaryWriter.Write(popRangeIndex.Count); + foreach (var (_, popRangeEntry2) in popRangeIndex) + { + binaryWriter.Write(popRangeEntry2.TerritoryId); + binaryWriter.Write(popRangeEntry2.InstanceId); + binaryWriter.Write(popRangeEntry2.Position.X); + binaryWriter.Write(popRangeEntry2.Position.Y); + binaryWriter.Write(popRangeEntry2.Position.Z); + } + } + File.Move(text, path, overwrite: true); + } + + private static void ReportProgress(Stream pipe, int done, int total) + { + try + { + LgbWorkerMessage message = new LgbWorkerMessage + { + Type = LgbMessageType.Progress, + Done = done, + Total = total + }; + LgbWorkerFraming.Write(pipe, in message); + } + catch (IOException) + { + } + } + + private static int ReportFailure(Stream pipe, string error) + { + Console.Error.WriteLine(error); + try + { + LgbWorkerMessage message = new LgbWorkerMessage + { + Type = LgbMessageType.Final, + Success = false, + Error = error + }; + LgbWorkerFraming.Write(pipe, in message); + pipe.Flush(); + } + catch (Exception ex) when (((ex is IOException || ex is ObjectDisposedException) ? 1 : 0) != 0) + { + Console.Error.WriteLine("LGB worker could not report the failure: " + ex.Message); + } + return 5; + } + + private static async Task WatchParentAsync(int parentPid, CancellationTokenSource abort, CancellationToken stop) + { + _ = 1; + try + { + while (!stop.IsCancellationRequested) + { + if (!ProcessExists(parentPid)) + { + await abort.CancelAsync().ConfigureAwait(continueOnCapturedContext: false); + break; + } + await Task.Delay(ParentPollInterval, stop).ConfigureAwait(continueOnCapturedContext: false); + } + } + catch (OperationCanceledException) + { + } + catch (ObjectDisposedException) + { + } + catch (Exception value) + { + Console.Error.WriteLine($"LGB worker parent watch stopped: {value}"); + } + } + + private static bool ProcessExists(int pid) + { + try + { + using Process process = Process.GetProcessById(pid); + return !process.HasExited; + } + catch (Exception ex) when (((ex is ArgumentException || ex is InvalidOperationException) ? 1 : 0) != 0) + { + return false; + } + catch (Win32Exception) + { + return true; + } + } + + private static bool TryParseArgs(string[] args, out string pipeName, out string manifestPath, out int? parentPid) + { + pipeName = ""; + manifestPath = ""; + parentPid = null; + for (int i = 0; i < args.Length; i++) + { + switch (args[i]) + { + case "--pipe": + if (!TryTakeValue(args, ref i, out pipeName)) + { + return false; + } + break; + case "--manifest": + if (!TryTakeValue(args, ref i, out manifestPath)) + { + return false; + } + break; + case "--parent-pid": + { + if (!TryTakeValue(args, ref i, out string value) || !int.TryParse(value, NumberStyles.Integer, CultureInfo.InvariantCulture, out var result)) + { + return false; + } + parentPid = result; + break; + } + default: + return false; + } + } + if (pipeName.Length > 0) + { + return manifestPath.Length > 0; + } + return false; + } + + private static bool TryTakeValue(string[] args, ref int i, out string value) + { + value = ""; + if (i + 1 >= args.Length || string.IsNullOrWhiteSpace(args[i + 1])) + { + return false; + } + value = args[++i]; + return true; + } + + private static int Usage() + { + Console.Error.WriteLine("Usage: Questionable.LgbWorker --pipe --manifest [--parent-pid ]"); + return 2; + } +} diff --git a/Questionable.LgbWorker/Questionable.LgbWorker/TerritoryEntry.cs b/Questionable.LgbWorker/Questionable.LgbWorker/TerritoryEntry.cs new file mode 100644 index 0000000..d347f13 --- /dev/null +++ b/Questionable.LgbWorker/Questionable.LgbWorker/TerritoryEntry.cs @@ -0,0 +1,18 @@ +using System.Text.Json.Serialization; + +namespace Questionable.LgbWorker; + +internal sealed class TerritoryEntry +{ + [JsonPropertyName("rowId")] + public uint RowId { get; set; } + + [JsonPropertyName("bgPath")] + public string BgPath { get; set; } = string.Empty; + + [JsonPropertyName("intendedUse")] + public byte IntendedUse { get; set; } + + [JsonPropertyName("hasAetheryte")] + public bool HasAetheryte { get; set; } +} diff --git a/Questionable.Model/-----------------------------------------.cs b/Questionable.Model/-----------------------------------------.cs new file mode 100644 index 0000000..e708d20 --- /dev/null +++ b/Questionable.Model/-----------------------------------------.cs @@ -0,0 +1,1044 @@ +using System; +using System.IO; +using System.Runtime.InteropServices; + +internal struct _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E +{ + internal uint _202E_206A_200C_206B_206C_202A_206E_202B_200E_206B_200C_200F_202C_200D_200B_200D_206B_206E_202B_206A_206A_202D_206A_202D_202D_200F_200E_200B_202B_202A_206F_202C_200E_202C_206A_202E_202A_206F_206E_202A_202E; + + internal void _202B_206C_202B_200C_202B_202A_206D_200D_206C_206D_202D_206B_202C_200D_206B_202E_206D_202B_206C_200D_202E_206A_206E_206D_206A_200B_200C_206A_206A_200E_202B_200E_202A_202E_200B_206A_200B_200C_202E_200F_202E() + { + _202E_206A_200C_206B_206C_202A_206E_202B_200E_206B_200C_200F_202C_200D_200B_200D_206B_206E_202B_206A_206A_202D_206A_202D_202D_200F_200E_200B_202B_202A_206F_202C_200E_202C_206A_202E_202A_206F_206E_202A_202E = 1024u; + } + + internal uint _200F_200D_200C_206A_200F_206A_202E_200F_202B_200D_200C_206E_206A_200C_200F_202E_202C_200E_202C_200D_206F_200E_202D_206C_202A_200C_202B_200C_200E_206E_206E_202C_200C_202D_206A_206C_200B_202D_202A_206D_202E(_202A_202C_202B_206B_202B_202A_200D_206E_206D_202B_202D_200C_206E_206A_202C_202E_206D_206E_202B_202B_200E_206D_206C_206F_206B_200F_206C_200D_202E_200B_202C_202E_206D_200C_200F_200F_206C_202E_206A_200D_202E rangeDecoder) + { + uint num = (rangeDecoder._202D_206E_206F_202A_206E_202D_200C_202A_200E_202E_200D_202D_200C_206F_202D_202B_200C_202C_202A_206A_202B_206A_202C_200E_202E_206A_206A_200D_206C_206F_202A_200B_200E_200D_202B_202E_202E_206B_200F_206E_202E >> 11) * _202E_206A_200C_206B_206C_202A_206E_202B_200E_206B_200C_200F_202C_200D_200B_200D_206B_206E_202B_206A_206A_202D_206A_202D_202D_200F_200E_200B_202B_202A_206F_202C_200E_202C_206A_202E_202A_206F_206E_202A_202E; + int num3; + int num4; + if (rangeDecoder._200F_206A_206A_200F_200C_202A_200B_200E_200F_200C_206A_202A_206E_202E_202E_202D_206F_200D_206B_206B_200F_206E_206F_202C_200D_200E_202E_206F_206B_200C_206B_200C_206D_206D_202B_206A_200F_200C_206E_202C_202E < num) + { + rangeDecoder._202D_206E_206F_202A_206E_202D_200C_202A_200E_202E_200D_202D_200C_206F_202D_202B_200C_202C_202A_206A_202B_206A_202C_200E_202E_206A_206A_200D_206C_206F_202A_200B_200E_200D_202B_202E_202E_206B_200F_206E_202E = num; + uint num2 = _202E_206A_200C_206B_206C_202A_206E_202B_200E_206B_200C_200F_202C_200D_200B_200D_206B_206E_202B_206A_206A_202D_206A_202D_202D_200F_200E_200B_202B_202A_206F_202C_200E_202C_206A_202E_202A_206F_206E_202A_202E; + num3 = (int)_202E_206A_200C_206B_206C_202A_206E_202B_200E_206B_200C_200F_202C_200D_200B_200D_206B_206E_202B_206A_206A_202D_206A_202D_202D_200F_200E_200B_202B_202A_206F_202C_200E_202C_206A_202E_202A_206F_206E_202A_202E; + num4 = 2048; + num3 = ~(~num4 + num3) >>> 5; + num4 = (int)num2; + _202E_206A_200C_206B_206C_202A_206E_202B_200E_206B_200C_200F_202C_200D_200B_200D_206B_206E_202B_206A_206A_202D_206A_202D_202D_200F_200E_200B_202B_202A_206F_202C_200E_202C_206A_202E_202A_206F_206E_202A_202E = (uint)((num4 | num3) + (num4 & num3)); + if (rangeDecoder._202D_206E_206F_202A_206E_202D_200C_202A_200E_202E_200D_202D_200C_206F_202D_202B_200C_202C_202A_206A_202B_206A_202C_200E_202E_206A_206A_200D_206C_206F_202A_200B_200E_200D_202B_202E_202E_206B_200F_206E_202E < 16777216) + { + rangeDecoder._200F_206A_206A_200F_200C_202A_200B_200E_200F_200C_206A_202A_206E_202E_202E_202D_206F_200D_206B_206B_200F_206E_206F_202C_200D_200E_202E_206F_206B_200C_206B_200C_206D_206D_202B_206A_200F_200C_206E_202C_202E = (rangeDecoder._200F_206A_206A_200F_200C_202A_200B_200E_200F_200C_206A_202A_206E_202E_202E_202D_206F_200D_206B_206B_200F_206E_206F_202C_200D_200E_202E_206F_206B_200C_206B_200C_206D_206D_202B_206A_200F_200C_206E_202C_202E << 8) | (byte)rangeDecoder._206D_206C_200C_206A_206D_206A_200F_206C_200D_202E_206A_206E_206C_200F_206A_200F_206A_206B_206D_200C_202D_206B_200D_200B_206E_206F_202E_206B_202E_206E_206A_200D_200D_200B_206F_202D_200E_202A_200C_202D_202E.ReadByte(); + rangeDecoder._202D_206E_206F_202A_206E_202D_200C_202A_200E_202E_200D_202D_200C_206F_202D_202B_200C_202C_202A_206A_202B_206A_202C_200E_202E_206A_206A_200D_206C_206F_202A_200B_200E_200D_202B_202E_202E_206B_200F_206E_202E <<= 8; + } + return 0u; + } + uint num5 = rangeDecoder._202D_206E_206F_202A_206E_202D_200C_202A_200E_202E_200D_202D_200C_206F_202D_202B_200C_202C_202A_206A_202B_206A_202C_200E_202E_206A_206A_200D_206C_206F_202A_200B_200E_200D_202B_202E_202E_206B_200F_206E_202E; + num3 = (int)num; + num4 = (int)num5; + rangeDecoder._202D_206E_206F_202A_206E_202D_200C_202A_200E_202E_200D_202D_200C_206F_202D_202B_200C_202C_202A_206A_202B_206A_202C_200E_202E_206A_206A_200D_206C_206F_202A_200B_200E_200D_202B_202E_202E_206B_200F_206E_202E = (uint)(~(~num4 + num3)); + uint num6 = rangeDecoder._200F_206A_206A_200F_200C_202A_200B_200E_200F_200C_206A_202A_206E_202E_202E_202D_206F_200D_206B_206B_200F_206E_206F_202C_200D_200E_202E_206F_206B_200C_206B_200C_206D_206D_202B_206A_200F_200C_206E_202C_202E; + num3 = (int)num; + num4 = (int)num6; + rangeDecoder._200F_206A_206A_200F_200C_202A_200B_200E_200F_200C_206A_202A_206E_202E_202E_202D_206F_200D_206B_206B_200F_206E_206F_202C_200D_200E_202E_206F_206B_200C_206B_200C_206D_206D_202B_206A_200F_200C_206E_202C_202E = (uint)(~(~num4 + num3)); + uint num7 = _202E_206A_200C_206B_206C_202A_206E_202B_200E_206B_200C_200F_202C_200D_200B_200D_206B_206E_202B_206A_206A_202D_206A_202D_202D_200F_200E_200B_202B_202A_206F_202C_200E_202C_206A_202E_202A_206F_206E_202A_202E; + num3 = (int)(_202E_206A_200C_206B_206C_202A_206E_202B_200E_206B_200C_200F_202C_200D_200B_200D_206B_206E_202B_206A_206A_202D_206A_202D_202D_200F_200E_200B_202B_202A_206F_202C_200E_202C_206A_202E_202A_206F_206E_202A_202E >> 5); + num4 = (int)num7; + _202E_206A_200C_206B_206C_202A_206E_202B_200E_206B_200C_200F_202C_200D_200B_200D_206B_206E_202B_206A_206A_202D_206A_202D_202D_200F_200E_200B_202B_202A_206F_202C_200E_202C_206A_202E_202A_206F_206E_202A_202E = (uint)(~(~num4 + num3)); + if (rangeDecoder._202D_206E_206F_202A_206E_202D_200C_202A_200E_202E_200D_202D_200C_206F_202D_202B_200C_202C_202A_206A_202B_206A_202C_200E_202E_206A_206A_200D_206C_206F_202A_200B_200E_200D_202B_202E_202E_206B_200F_206E_202E < 16777216) + { + rangeDecoder._200F_206A_206A_200F_200C_202A_200B_200E_200F_200C_206A_202A_206E_202E_202E_202D_206F_200D_206B_206B_200F_206E_206F_202C_200D_200E_202E_206F_206B_200C_206B_200C_206D_206D_202B_206A_200F_200C_206E_202C_202E = (rangeDecoder._200F_206A_206A_200F_200C_202A_200B_200E_200F_200C_206A_202A_206E_202E_202E_202D_206F_200D_206B_206B_200F_206E_206F_202C_200D_200E_202E_206F_206B_200C_206B_200C_206D_206D_202B_206A_200F_200C_206E_202C_202E << 8) | (byte)rangeDecoder._206D_206C_200C_206A_206D_206A_200F_206C_200D_202E_206A_206E_206C_200F_206A_200F_206A_206B_206D_200C_202D_206B_200D_200B_206E_206F_202E_206B_202E_206E_206A_200D_200D_200B_206F_202D_200E_202A_200C_202D_202E.ReadByte(); + rangeDecoder._202D_206E_206F_202A_206E_202D_200C_202A_200E_202E_200D_202D_200C_206F_202D_202B_200C_202C_202A_206A_202B_206A_202C_200E_202E_206A_206A_200D_206C_206F_202A_200B_200E_200D_202B_202E_202E_206B_200F_206E_202E <<= 8; + } + return 1u; + } +} +internal struct _202D_206F_200F_202C_202D_206E_202D_200B_206A_200B_202E_202D_202C_200E_206D_200F_200C_200D_206F_200F_200E_200C_206D_200D_202D_206C_206E_206C_206F_206D_206C_202E_206F_200B_200E_206A_206A_200C_206C_200C_202E +{ + internal readonly _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E[] _202A_202A_200D_202E_206F_200E_202E_200B_202A_200D_206B_200B_202B_206C_206D_206B_200F_200C_202C_206D_202A_202B_206C_202B_206D_206F_200D_202C_206C_202A_206E_200D_206F_202A_202B_206F_206C_206C_202D_202A_202E; + + internal readonly int _206D_202C_206F_206D_206B_202D_206F_202D_206F_202C_202B_206C_200E_200B_200F_202C_202C_200B_202D_200B_202E_202A_206F_206A_206E_200F_206F_206E_206C_206B_206D_202D_206F_202D_202A_200C_206A_200E_200E_206D_202E; + + internal _202D_206F_200F_202C_202D_206E_202D_200B_206A_200B_202E_202D_202C_200E_206D_200F_200C_200D_206F_200F_200E_200C_206D_200D_202D_206C_206E_206C_206F_206D_206C_202E_206F_200B_200E_206A_206A_200C_206C_200C_202E(int numBitLevels) + { + _206D_202C_206F_206D_206B_202D_206F_202D_206F_202C_202B_206C_200E_200B_200F_202C_202C_200B_202D_200B_202E_202A_206F_206A_206E_200F_206F_206E_206C_206B_206D_202D_206F_202D_202A_200C_206A_200E_200E_206D_202E = numBitLevels; + int num = 31; + _202A_202A_200D_202E_206F_200E_202E_200B_202A_200D_206B_200B_202B_206C_206D_206B_200F_200C_202C_206D_202A_202B_206C_202B_206D_206F_200D_202C_206C_202A_206E_200D_206F_202A_202B_206F_206C_206C_202D_202A_202E = new _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E[1 << (numBitLevels | num) - (numBitLevels ^ num)]; + } + + internal void _200C_200C_200D_202E_206A_200C_202A_206A_206A_202D_202D_200D_206B_206F_206B_200F_206A_200D_200D_206E_200F_202E_200E_206A_206B_202D_206A_202D_200D_202D_200B_202D_200B_206E_202D_206C_206A_206C_206D_206F_202E() + { + uint num = 1u; + while (true) + { + long num2 = num; + int num3 = _206D_202C_206F_206D_206B_202D_206F_202D_206F_202C_202B_206C_200E_200B_200F_202C_202C_200B_202D_200B_202E_202A_206F_206A_206E_200F_206F_206E_206C_206B_206D_202D_206F_202D_202A_200C_206A_200E_200E_206D_202E; + int num4 = 31; + int num5 = num3; + if (num2 < 1 << num5 + num4 - (num5 | num4)) + { + _202A_202A_200D_202E_206F_200E_202E_200B_202A_200D_206B_200B_202B_206C_206D_206B_200F_200C_202C_206D_202A_202B_206C_202B_206D_206F_200D_202C_206C_202A_206E_200D_206F_202A_202B_206F_206C_206C_202D_202A_202E[num]._202B_206C_202B_200C_202B_202A_206D_200D_206C_206D_202D_206B_202C_200D_206B_202E_206D_202B_206C_200D_202E_206A_206E_206D_206A_200B_200C_206A_206A_200E_202B_200E_202A_202E_200B_206A_200B_200C_202E_200F_202E(); + uint num6 = num; + num4 = 1; + num5 = (int)num6; + num = (uint)((num5 | num4) + (num5 & num4)); + continue; + } + break; + } + } + + internal uint _200E_206C_202C_200F_200F_206F_200B_202A_206C_200B_200F_200C_206A_202C_200E_206D_206D_200D_200D_202B_202E_206A_206D_202A_202E_206E_200E_202C_202A_202C_202C_206B_202B_206B_200E_200B_206B_202C_200C_206C_202E(_202A_202C_202B_206B_202B_202A_200D_206E_206D_202B_202D_200C_206E_206A_202C_202E_206D_206E_202B_202B_200E_206D_206C_206F_206B_200F_206C_200D_202E_200B_202C_202E_206D_200C_200F_200F_206C_202E_206A_200D_202E rangeDecoder) + { + uint num = 1u; + int num4; + int num5; + for (int num2 = _206D_202C_206F_206D_206B_202D_206F_202D_206F_202C_202B_206C_200E_200B_200F_202C_202C_200B_202D_200B_202E_202A_206F_206A_206E_200F_206F_206E_206C_206B_206D_202D_206F_202D_202A_200C_206A_200E_200E_206D_202E; num2 > 0; num2 = ~(~num5 + num4)) + { + num = (num << 1) + _202A_202A_200D_202E_206F_200E_202E_200B_202A_200D_206B_200B_202B_206C_206D_206B_200F_200C_202C_206D_202A_202B_206C_202B_206D_206F_200D_202C_206C_202A_206E_200D_206F_202A_202B_206F_206C_206C_202D_202A_202E[num]._200F_200D_200C_206A_200F_206A_202E_200F_202B_200D_200C_206E_206A_200C_200F_202E_202C_200E_202C_200D_206F_200E_202D_206C_202A_200C_202B_200C_200E_206E_206E_202C_200C_202D_206A_206C_200B_202D_202A_206D_202E(rangeDecoder); + int num3 = num2; + num4 = 1; + num5 = num3; + } + uint num6 = num; + int num7 = _206D_202C_206F_206D_206B_202D_206F_202D_206F_202C_202B_206C_200E_200B_200F_202C_202C_200B_202D_200B_202E_202A_206F_206A_206E_200F_206F_206E_206C_206B_206D_202D_206F_202D_202A_200C_206A_200E_200E_206D_202E; + num4 = 31; + num5 = num7; + num4 = 1 << (num5 | num4) - (num5 ^ num4); + num5 = (int)num6; + return (uint)(~(~num5 + num4)); + } + + internal uint _202A_200E_200D_200B_206D_200B_200B_200D_200D_206D_202C_206E_200F_206E_206D_200C_200D_202E_206F_202D_206E_200C_206C_202D_200C_206E_202B_202A_202B_202E_206D_200B_200C_202A_200B_200D_202E_206E_206A_206E_202E(_202A_202C_202B_206B_202B_202A_200D_206E_206D_202B_202D_200C_206E_206A_202C_202E_206D_206E_202B_202B_200E_206D_206C_206F_206B_200F_206C_200D_202E_200B_202C_202E_206D_200C_200F_200F_206C_202E_206A_200D_202E rangeDecoder) + { + uint num = 1u; + uint num2 = 0u; + int num3 = 0; + while (num3 < _206D_202C_206F_206D_206B_202D_206F_202D_206F_202C_202B_206C_200E_200B_200F_202C_202C_200B_202D_200B_202E_202A_206F_206A_206E_200F_206F_206E_206C_206B_206D_202D_206F_202D_202A_200C_206A_200E_200E_206D_202E) + { + uint num4 = _202A_202A_200D_202E_206F_200E_202E_200B_202A_200D_206B_200B_202B_206C_206D_206B_200F_200C_202C_206D_202A_202B_206C_202B_206D_206F_200D_202C_206C_202A_206E_200D_206F_202A_202B_206F_206C_206C_202D_202A_202E[num]._200F_200D_200C_206A_200F_206A_202E_200F_202B_200D_200C_206E_206A_200C_200F_202E_202C_200E_202C_200D_206F_200E_202D_206C_202A_200C_202B_200C_200E_206E_206E_202C_200C_202D_206A_206C_200B_202D_202A_206D_202E(rangeDecoder); + num <<= 1; + uint num5 = num; + int num6 = (int)num4; + int num7 = (int)num5; + int num8 = num7 ^ num6; + int num9 = num7 & num6; + num = (uint)(num8 + (num9 + num9)); + uint num10 = num2; + int num11 = num3; + num6 = 31; + num7 = num11; + num6 = (int)(num4 << (num7 | num6) - (num7 ^ num6)); + num7 = (int)num10; + num2 = (uint)((num7 & num6) + (num7 ^ num6)); + int num12 = num3; + num6 = 1; + num7 = num12; + int num13 = num7 ^ num6; + int num14 = num7 & num6; + num3 = num13 + (num14 + num14); + } + return num2; + } + + internal static uint _206E_200C_200C_200B_202D_206E_206A_200B_202B_206A_200E_206A_202E_200B_206F_202D_202D_206E_202E_202E_206C_202A_206D_206C_206B_206B_202C_200B_202C_200D_202A_200E_202A_202D_202D_206C_202C_206C_206E_206C_202E(_206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E[] Models, uint startIndex, _202A_202C_202B_206B_202B_202A_200D_206E_206D_202B_202D_200C_206E_206A_202C_202E_206D_206E_202B_202B_200E_206D_206C_206F_206B_200F_206C_200D_202E_200B_202C_202E_206D_200C_200F_200F_206C_202E_206A_200D_202E rangeDecoder, int NumBitLevels) + { + uint num = 1u; + uint num2 = 0u; + int num3 = 0; + while (num3 < NumBitLevels) + { + int num4 = (int)num; + int num5 = (int)startIndex; + uint num6 = Models[(num5 | num4) + (num5 & num4)]._200F_200D_200C_206A_200F_206A_202E_200F_202B_200D_200C_206E_206A_200C_200F_202E_202C_200E_202C_200D_206F_200E_202D_206C_202A_200C_202B_200C_200E_206E_206E_202C_200C_202D_206A_206C_200B_202D_202A_206D_202E(rangeDecoder); + num <<= 1; + uint num7 = num; + num4 = (int)num6; + num5 = (int)num7; + int num8 = num5 ^ num4; + int num9 = num5 & num4; + num = (uint)(num8 + (num9 + num9)); + uint num10 = num2; + int num11 = num3; + num4 = 31; + num5 = num11; + num4 = (int)(num6 << num5 + num4 - (num5 | num4)); + num5 = (int)num10; + num2 = (uint)((num5 & num4) + (num5 ^ num4)); + int num12 = num3; + num4 = 1; + num5 = num12; + int num13 = num5 ^ num4; + int num14 = num5 & num4; + num3 = num13 + (num14 + num14); + } + return num2; + } +} +internal class _202A_202C_202B_206B_202B_202A_200D_206E_206D_202B_202D_200C_206E_206A_202C_202E_206D_206E_202B_202B_200E_206D_206C_206F_206B_200F_206C_200D_202E_200B_202C_202E_206D_200C_200F_200F_206C_202E_206A_200D_202E +{ + internal uint _200F_206A_206A_200F_200C_202A_200B_200E_200F_200C_206A_202A_206E_202E_202E_202D_206F_200D_206B_206B_200F_206E_206F_202C_200D_200E_202E_206F_206B_200C_206B_200C_206D_206D_202B_206A_200F_200C_206E_202C_202E; + + internal uint _202D_206E_206F_202A_206E_202D_200C_202A_200E_202E_200D_202D_200C_206F_202D_202B_200C_202C_202A_206A_202B_206A_202C_200E_202E_206A_206A_200D_206C_206F_202A_200B_200E_200D_202B_202E_202E_206B_200F_206E_202E; + + internal Stream _206D_206C_200C_206A_206D_206A_200F_206C_200D_202E_206A_206E_206C_200F_206A_200F_206A_206B_206D_200C_202D_206B_200D_200B_206E_206F_202E_206B_202E_206E_206A_200D_200D_200B_206F_202D_200E_202A_200C_202D_202E; + + internal void _200F_200B_200F_206C_200E_202B_200F_206A_206B_200E_200F_200D_202C_200F_202B_206C_200C_206B_202A_202A_202C_200F_206E_206F_202D_202B_202C_202D_200D_206B_206D_200C_206C_206D_206B_202B_200D_206A_206B_202B_202E(Stream stream) + { + _206D_206C_200C_206A_206D_206A_200F_206C_200D_202E_206A_206E_206C_200F_206A_200F_206A_206B_206D_200C_202D_206B_200D_200B_206E_206F_202E_206B_202E_206E_206A_200D_200D_200B_206F_202D_200E_202A_200C_202D_202E = stream; + _200F_206A_206A_200F_200C_202A_200B_200E_200F_200C_206A_202A_206E_202E_202E_202D_206F_200D_206B_206B_200F_206E_206F_202C_200D_200E_202E_206F_206B_200C_206B_200C_206D_206D_202B_206A_200F_200C_206E_202C_202E = 0u; + _202D_206E_206F_202A_206E_202D_200C_202A_200E_202E_200D_202D_200C_206F_202D_202B_200C_202C_202A_206A_202B_206A_202C_200E_202E_206A_206A_200D_206C_206F_202A_200B_200E_200D_202B_202E_202E_206B_200F_206E_202E = uint.MaxValue; + int num = 0; + while (num < 5) + { + _200F_206A_206A_200F_200C_202A_200B_200E_200F_200C_206A_202A_206E_202E_202E_202D_206F_200D_206B_206B_200F_206E_206F_202C_200D_200E_202E_206F_206B_200C_206B_200C_206D_206D_202B_206A_200F_200C_206E_202C_202E = (_200F_206A_206A_200F_200C_202A_200B_200E_200F_200C_206A_202A_206E_202E_202E_202D_206F_200D_206B_206B_200F_206E_206F_202C_200D_200E_202E_206F_206B_200C_206B_200C_206D_206D_202B_206A_200F_200C_206E_202C_202E << 8) | (byte)_206D_206C_200C_206A_206D_206A_200F_206C_200D_202E_206A_206E_206C_200F_206A_200F_206A_206B_206D_200C_202D_206B_200D_200B_206E_206F_202E_206B_202E_206E_206A_200D_200D_200B_206F_202D_200E_202A_200C_202D_202E.ReadByte(); + int num2 = num; + int num3 = 1; + int num4 = num2; + num = (num4 | num3) + (num4 & num3); + } + } + + internal void _206D_206F_206E_206D_200F_206C_200C_206A_200F_206E_200E_202B_206A_206E_200F_206E_206A_202B_206C_206E_200D_206B_202D_202D_206E_200C_200B_206D_202C_206D_206F_206E_200B_200B_202E_206B_206D_206D_206A_206D_202E() + { + _206D_206C_200C_206A_206D_206A_200F_206C_200D_202E_206A_206E_206C_200F_206A_200F_206A_206B_206D_200C_202D_206B_200D_200B_206E_206F_202E_206B_202E_206E_206A_200D_200D_200B_206F_202D_200E_202A_200C_202D_202E = null; + } + + internal void _200E_202C_202B_206E_206E_206F_206F_206F_206C_200C_200C_200B_202A_200C_206C_206C_202C_206A_200D_206E_202C_200F_202E_202A_202C_200E_206F_200F_206A_200E_206C_200E_200B_200E_202E_200C_206A_206D_202C_200E_202E() + { + while (_202D_206E_206F_202A_206E_202D_200C_202A_200E_202E_200D_202D_200C_206F_202D_202B_200C_202C_202A_206A_202B_206A_202C_200E_202E_206A_206A_200D_206C_206F_202A_200B_200E_200D_202B_202E_202E_206B_200F_206E_202E < 16777216) + { + _200F_206A_206A_200F_200C_202A_200B_200E_200F_200C_206A_202A_206E_202E_202E_202D_206F_200D_206B_206B_200F_206E_206F_202C_200D_200E_202E_206F_206B_200C_206B_200C_206D_206D_202B_206A_200F_200C_206E_202C_202E = (_200F_206A_206A_200F_200C_202A_200B_200E_200F_200C_206A_202A_206E_202E_202E_202D_206F_200D_206B_206B_200F_206E_206F_202C_200D_200E_202E_206F_206B_200C_206B_200C_206D_206D_202B_206A_200F_200C_206E_202C_202E << 8) | (byte)_206D_206C_200C_206A_206D_206A_200F_206C_200D_202E_206A_206E_206C_200F_206A_200F_206A_206B_206D_200C_202D_206B_200D_200B_206E_206F_202E_206B_202E_206E_206A_200D_200D_200B_206F_202D_200E_202A_200C_202D_202E.ReadByte(); + _202D_206E_206F_202A_206E_202D_200C_202A_200E_202E_200D_202D_200C_206F_202D_202B_200C_202C_202A_206A_202B_206A_202C_200E_202E_206A_206A_200D_206C_206F_202A_200B_200E_200D_202B_202E_202E_206B_200F_206E_202E <<= 8; + } + } + + internal uint _202B_200C_206A_206D_202D_200B_200C_200C_200C_202D_202A_202C_206E_202A_206E_206C_202C_206C_206E_206F_200C_200F_202D_200C_202A_202D_200F_200F_206A_202A_206E_200C_200F_206D_202C_206D_206F_200D_202E_200E_202E(int numTotalBits) + { + uint num = _202D_206E_206F_202A_206E_202D_200C_202A_200E_202E_200D_202D_200C_206F_202D_202B_200C_202C_202A_206A_202B_206A_202C_200E_202E_206A_206A_200D_206C_206F_202A_200B_200E_200D_202B_202E_202E_206B_200F_206E_202E; + uint num2 = _200F_206A_206A_200F_200C_202A_200B_200E_200F_200C_206A_202A_206E_202E_202E_202D_206F_200D_206B_206B_200F_206E_206F_202C_200D_200E_202E_206F_206B_200C_206B_200C_206D_206D_202B_206A_200F_200C_206E_202C_202E; + uint num3 = 0u; + int num4 = numTotalBits; + while (num4 > 0) + { + num >>= 1; + uint num5 = num2; + int num6 = (int)num; + int num7 = (int)num5; + uint num8 = (uint)(~(~num7 + num6)) >> 31; + uint num9 = num2; + uint num10 = num; + num6 = 1; + num7 = (int)num8; + num6 = ~(~num7 + num6); + num7 = (int)num10; + num6 = (num7 | num6) - (num7 ^ num6); + num7 = (int)num9; + num2 = (uint)(~(~num7 + num6)); + uint num11 = num3 << 1; + num6 = (int)num8; + num7 = 1; + num6 = ~(~num7 + num6); + num7 = (int)num11; + num3 = (uint)(num7 + num6 - (num7 & num6)); + if (num < 16777216) + { + num2 = (num2 << 8) | (byte)_206D_206C_200C_206A_206D_206A_200F_206C_200D_202E_206A_206E_206C_200F_206A_200F_206A_206B_206D_200C_202D_206B_200D_200B_206E_206F_202E_206B_202E_206E_206A_200D_200D_200B_206F_202D_200E_202A_200C_202D_202E.ReadByte(); + num <<= 8; + } + int num12 = num4; + num6 = 1; + num7 = num12; + num4 = ~(~num7 + num6); + } + _202D_206E_206F_202A_206E_202D_200C_202A_200E_202E_200D_202D_200C_206F_202D_202B_200C_202C_202A_206A_202B_206A_202C_200E_202E_206A_206A_200D_206C_206F_202A_200B_200E_200D_202B_202E_202E_206B_200F_206E_202E = num; + _200F_206A_206A_200F_200C_202A_200B_200E_200F_200C_206A_202A_206E_202E_202E_202D_206F_200D_206B_206B_200F_206E_206F_202C_200D_200E_202E_206F_206B_200C_206B_200C_206D_206D_202B_206A_200F_200C_206E_202C_202E = num2; + return num3; + } + + internal _202A_202C_202B_206B_202B_202A_200D_206E_206D_202B_202D_200C_206E_206A_202C_202E_206D_206E_202B_202B_200E_206D_206C_206F_206B_200F_206C_200D_202E_200B_202C_202E_206D_200C_200F_200F_206C_202E_206A_200D_202E() + { + } +} +internal class _200E_206A_200D_206A_200F_202D_206F_206C_202A_206C_206A_202A_202E_202A_200D_202E_206F_202D_202E_206C_200F_206E_202E_202B_206C_200C_206E_206B_202A_200B_200E_200F_206A_206D_206D_206D_206B_200C_206D_206A_202E +{ + internal class _200B_202E_206F_200D_206A_206D_200F_200D_206E_202B_202C_202D_206A_202A_202C_200D_202E_206B_202B_206F_200D_200C_202B_200F_206E_206D_206C_200F_206D_206F_200C_200E_206B_200E_200B_200F_206D_206B_200C_206D_202E + { + internal readonly _202D_206F_200F_202C_202D_206E_202D_200B_206A_200B_202E_202D_202C_200E_206D_200F_200C_200D_206F_200F_200E_200C_206D_200D_202D_206C_206E_206C_206F_206D_206C_202E_206F_200B_200E_206A_206A_200C_206C_200C_202E[] _202C_206C_202A_200F_200F_200F_200C_202B_206C_206B_200B_200C_206E_200E_206E_206D_200E_202A_206A_200D_202D_206C_206B_206F_200D_202A_206C_206B_206F_202E_200F_200B_206D_206D_206A_206E_202B_200D_206F_202C_202E = new _202D_206F_200F_202C_202D_206E_202D_200B_206A_200B_202E_202D_202C_200E_206D_200F_200C_200D_206F_200F_200E_200C_206D_200D_202D_206C_206E_206C_206F_206D_206C_202E_206F_200B_200E_206A_206A_200C_206C_200C_202E[16]; + + internal readonly _202D_206F_200F_202C_202D_206E_202D_200B_206A_200B_202E_202D_202C_200E_206D_200F_200C_200D_206F_200F_200E_200C_206D_200D_202D_206C_206E_206C_206F_206D_206C_202E_206F_200B_200E_206A_206A_200C_206C_200C_202E[] _206C_200E_200F_206D_206C_200B_202E_200B_202A_206E_206A_202A_206F_200B_206C_200B_200D_200B_202C_206B_200D_200B_200E_202B_206F_202A_200B_200F_206A_200B_206E_202B_200C_200C_202C_200D_200F_206D_202C_206F_202E = new _202D_206F_200F_202C_202D_206E_202D_200B_206A_200B_202E_202D_202C_200E_206D_200F_200C_200D_206F_200F_200E_200C_206D_200D_202D_206C_206E_206C_206F_206D_206C_202E_206F_200B_200E_206A_206A_200C_206C_200C_202E[16]; + + internal _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E _206B_200E_200D_206B_200E_202B_200D_202B_200D_202C_206D_202D_206D_206A_206D_206D_202B_202A_206D_200D_206D_202A_200C_206D_206A_202E_200E_202B_202E_200D_200E_206A_206C_206A_206F_200F_200F_206E_202A_202D_202E; + + internal _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E _206F_200B_206D_202C_200D_206D_206B_206E_200D_206A_200E_206C_202D_202E_202E_200D_206B_200B_206B_202A_206B_206B_200B_202D_200F_206C_206B_202C_206D_206D_206D_206A_206C_206C_206D_202C_206A_206C_206B_206B_202E; + + internal _202D_206F_200F_202C_202D_206E_202D_200B_206A_200B_202E_202D_202C_200E_206D_200F_200C_200D_206F_200F_200E_200C_206D_200D_202D_206C_206E_206C_206F_206D_206C_202E_206F_200B_200E_206A_206A_200C_206C_200C_202E _202B_206C_202C_202D_206E_202C_206B_206D_206A_202A_200E_202C_200C_200F_200B_200B_202C_202E_206D_202B_202A_200D_200D_202B_200F_206B_206B_202E_200D_202B_202B_206F_206E_202D_202A_206F_206F_202E_202B_202B_202E = new _202D_206F_200F_202C_202D_206E_202D_200B_206A_200B_202E_202D_202C_200E_206D_200F_200C_200D_206F_200F_200E_200C_206D_200D_202D_206C_206E_206C_206F_206D_206C_202E_206F_200B_200E_206A_206A_200C_206C_200C_202E(8); + + internal uint _200E_202C_200E_202D_206B_200E_206E_206D_202C_202C_206F_206A_206E_206D_202D_206B_202B_206A_206A_200F_206F_206A_200F_206A_202D_200C_200C_200D_202D_206B_200D_206A_200D_202D_206A_206C_206E_202E_206D_202E; + + internal void _200B_206B_206E_206C_202D_202D_202E_202D_206E_202E_200D_206A_206D_200C_206B_202C_202B_200F_206B_206E_200B_200E_200B_202D_206A_200E_202E_206D_206B_200C_206F_202E_200D_200F_200D_202C_206D_202A_206F_202A_202E(uint numPosStates) + { + uint num = _200E_202C_200E_202D_206B_200E_206E_206D_202C_202C_206F_206A_206E_206D_202D_206B_202B_206A_206A_200F_206F_206A_200F_206A_202D_200C_200C_200D_202D_206B_200D_206A_200D_202D_206A_206C_206E_202E_206D_202E; + while (num < numPosStates) + { + _202C_206C_202A_200F_200F_200F_200C_202B_206C_206B_200B_200C_206E_200E_206E_206D_200E_202A_206A_200D_202D_206C_206B_206F_200D_202A_206C_206B_206F_202E_200F_200B_206D_206D_206A_206E_202B_200D_206F_202C_202E[num] = new _202D_206F_200F_202C_202D_206E_202D_200B_206A_200B_202E_202D_202C_200E_206D_200F_200C_200D_206F_200F_200E_200C_206D_200D_202D_206C_206E_206C_206F_206D_206C_202E_206F_200B_200E_206A_206A_200C_206C_200C_202E(3); + _206C_200E_200F_206D_206C_200B_202E_200B_202A_206E_206A_202A_206F_200B_206C_200B_200D_200B_202C_206B_200D_200B_200E_202B_206F_202A_200B_200F_206A_200B_206E_202B_200C_200C_202C_200D_200F_206D_202C_206F_202E[num] = new _202D_206F_200F_202C_202D_206E_202D_200B_206A_200B_202E_202D_202C_200E_206D_200F_200C_200D_206F_200F_200E_200C_206D_200D_202D_206C_206E_206C_206F_206D_206C_202E_206F_200B_200E_206A_206A_200C_206C_200C_202E(3); + uint num2 = num; + int num3 = 1; + int num4 = (int)num2; + num = (uint)((num4 | num3) + (num4 & num3)); + } + _200E_202C_200E_202D_206B_200E_206E_206D_202C_202C_206F_206A_206E_206D_202D_206B_202B_206A_206A_200F_206F_206A_200F_206A_202D_200C_200C_200D_202D_206B_200D_206A_200D_202D_206A_206C_206E_202E_206D_202E = numPosStates; + } + + internal void _202E_206A_202E_206E_202A_206A_206F_206D_202E_200D_200F_206B_200C_202E_200B_200E_206B_206C_202A_202A_202E_200B_202E_200C_206B_202C_206A_206B_202E_202B_206E_206B_206B_206C_206C_202E_206C_206D_206F_200E_202E() + { + _206B_200E_200D_206B_200E_202B_200D_202B_200D_202C_206D_202D_206D_206A_206D_206D_202B_202A_206D_200D_206D_202A_200C_206D_206A_202E_200E_202B_202E_200D_200E_206A_206C_206A_206F_200F_200F_206E_202A_202D_202E._202B_206C_202B_200C_202B_202A_206D_200D_206C_206D_202D_206B_202C_200D_206B_202E_206D_202B_206C_200D_202E_206A_206E_206D_206A_200B_200C_206A_206A_200E_202B_200E_202A_202E_200B_206A_200B_200C_202E_200F_202E(); + uint num = 0u; + while (num < _200E_202C_200E_202D_206B_200E_206E_206D_202C_202C_206F_206A_206E_206D_202D_206B_202B_206A_206A_200F_206F_206A_200F_206A_202D_200C_200C_200D_202D_206B_200D_206A_200D_202D_206A_206C_206E_202E_206D_202E) + { + _202C_206C_202A_200F_200F_200F_200C_202B_206C_206B_200B_200C_206E_200E_206E_206D_200E_202A_206A_200D_202D_206C_206B_206F_200D_202A_206C_206B_206F_202E_200F_200B_206D_206D_206A_206E_202B_200D_206F_202C_202E[num]._200C_200C_200D_202E_206A_200C_202A_206A_206A_202D_202D_200D_206B_206F_206B_200F_206A_200D_200D_206E_200F_202E_200E_206A_206B_202D_206A_202D_200D_202D_200B_202D_200B_206E_202D_206C_206A_206C_206D_206F_202E(); + _206C_200E_200F_206D_206C_200B_202E_200B_202A_206E_206A_202A_206F_200B_206C_200B_200D_200B_202C_206B_200D_200B_200E_202B_206F_202A_200B_200F_206A_200B_206E_202B_200C_200C_202C_200D_200F_206D_202C_206F_202E[num]._200C_200C_200D_202E_206A_200C_202A_206A_206A_202D_202D_200D_206B_206F_206B_200F_206A_200D_200D_206E_200F_202E_200E_206A_206B_202D_206A_202D_200D_202D_200B_202D_200B_206E_202D_206C_206A_206C_206D_206F_202E(); + uint num2 = num; + int num3 = 1; + int num4 = (int)num2; + num = (uint)((num4 | num3) + (num4 & num3)); + } + _206F_200B_206D_202C_200D_206D_206B_206E_200D_206A_200E_206C_202D_202E_202E_200D_206B_200B_206B_202A_206B_206B_200B_202D_200F_206C_206B_202C_206D_206D_206D_206A_206C_206C_206D_202C_206A_206C_206B_206B_202E._202B_206C_202B_200C_202B_202A_206D_200D_206C_206D_202D_206B_202C_200D_206B_202E_206D_202B_206C_200D_202E_206A_206E_206D_206A_200B_200C_206A_206A_200E_202B_200E_202A_202E_200B_206A_200B_200C_202E_200F_202E(); + _202B_206C_202C_202D_206E_202C_206B_206D_206A_202A_200E_202C_200C_200F_200B_200B_202C_202E_206D_202B_202A_200D_200D_202B_200F_206B_206B_202E_200D_202B_202B_206F_206E_202D_202A_206F_206F_202E_202B_202B_202E._200C_200C_200D_202E_206A_200C_202A_206A_206A_202D_202D_200D_206B_206F_206B_200F_206A_200D_200D_206E_200F_202E_200E_206A_206B_202D_206A_202D_200D_202D_200B_202D_200B_206E_202D_206C_206A_206C_206D_206F_202E(); + } + + internal uint _200C_200F_206B_202C_200F_206F_206F_206D_206A_200B_202B_202C_202B_200B_206C_202D_200C_202E_206E_202B_206D_206D_202C_200B_200F_202E_206E_206D_202A_202E_202B_200C_200F_200C_206B_202D_200F_200D_206E_206A_202E(_202A_202C_202B_206B_202B_202A_200D_206E_206D_202B_202D_200C_206E_206A_202C_202E_206D_206E_202B_202B_200E_206D_206C_206F_206B_200F_206C_200D_202E_200B_202C_202E_206D_200C_200F_200F_206C_202E_206A_200D_202E rangeDecoder, uint posState) + { + if (_206B_200E_200D_206B_200E_202B_200D_202B_200D_202C_206D_202D_206D_206A_206D_206D_202B_202A_206D_200D_206D_202A_200C_206D_206A_202E_200E_202B_202E_200D_200E_206A_206C_206A_206F_200F_200F_206E_202A_202D_202E._200F_200D_200C_206A_200F_206A_202E_200F_202B_200D_200C_206E_206A_200C_200F_202E_202C_200E_202C_200D_206F_200E_202D_206C_202A_200C_202B_200C_200E_206E_206E_202C_200C_202D_206A_206C_200B_202D_202A_206D_202E(rangeDecoder) == 0) + { + return _202C_206C_202A_200F_200F_200F_200C_202B_206C_206B_200B_200C_206E_200E_206E_206D_200E_202A_206A_200D_202D_206C_206B_206F_200D_202A_206C_206B_206F_202E_200F_200B_206D_206D_206A_206E_202B_200D_206F_202C_202E[posState]._200E_206C_202C_200F_200F_206F_200B_202A_206C_200B_200F_200C_206A_202C_200E_206D_206D_200D_200D_202B_202E_206A_206D_202A_202E_206E_200E_202C_202A_202C_202C_206B_202B_206B_200E_200B_206B_202C_200C_206C_202E(rangeDecoder); + } + uint num = 8u; + if (_206F_200B_206D_202C_200D_206D_206B_206E_200D_206A_200E_206C_202D_202E_202E_200D_206B_200B_206B_202A_206B_206B_200B_202D_200F_206C_206B_202C_206D_206D_206D_206A_206C_206C_206D_202C_206A_206C_206B_206B_202E._200F_200D_200C_206A_200F_206A_202E_200F_202B_200D_200C_206E_206A_200C_200F_202E_202C_200E_202C_200D_206F_200E_202D_206C_202A_200C_202B_200C_200E_206E_206E_202C_200C_202D_206A_206C_200B_202D_202A_206D_202E(rangeDecoder) == 0) + { + return num + _206C_200E_200F_206D_206C_200B_202E_200B_202A_206E_206A_202A_206F_200B_206C_200B_200D_200B_202C_206B_200D_200B_200E_202B_206F_202A_200B_200F_206A_200B_206E_202B_200C_200C_202C_200D_200F_206D_202C_206F_202E[posState]._200E_206C_202C_200F_200F_206F_200B_202A_206C_200B_200F_200C_206A_202C_200E_206D_206D_200D_200D_202B_202E_206A_206D_202A_202E_206E_200E_202C_202A_202C_202C_206B_202B_206B_200E_200B_206B_202C_200C_206C_202E(rangeDecoder); + } + uint num2 = num; + int num3 = 8; + int num4 = (int)num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = (uint)(num5 + (num6 + num6)); + return num + _202B_206C_202C_202D_206E_202C_206B_206D_206A_202A_200E_202C_200C_200F_200B_200B_202C_202E_206D_202B_202A_200D_200D_202B_200F_206B_206B_202E_200D_202B_202B_206F_206E_202D_202A_206F_206F_202E_202B_202B_202E._200E_206C_202C_200F_200F_206F_200B_202A_206C_200B_200F_200C_206A_202C_200E_206D_206D_200D_200D_202B_202E_206A_206D_202A_202E_206E_200E_202C_202A_202C_202C_206B_202B_206B_200E_200B_206B_202C_200C_206C_202E(rangeDecoder); + } + + internal _200B_202E_206F_200D_206A_206D_200F_200D_206E_202B_202C_202D_206A_202A_202C_200D_202E_206B_202B_206F_200D_200C_202B_200F_206E_206D_206C_200F_206D_206F_200C_200E_206B_200E_200B_200F_206D_206B_200C_206D_202E() + { + } + } + + internal class _200D_200C_202D_202D_206E_200B_200D_202D_206E_206F_200E_200C_206F_202A_206A_200E_200B_202E_202C_200C_206F_206A_202E_206D_202B_206E_202B_202C_206B_202B_206C_206A_206E_206A_206C_200B_206A_206F_200C_202D_202E + { + internal struct _200D_202B_206C_200C_206A_202A_206A_200F_200B_206A_206C_202C_206B_200C_206E_202D_206C_200F_206C_200B_200C_200F_206D_200C_206B_200D_206B_202A_202E_206C_202E_200C_202A_206D_200C_206F_200D_200F_202E_200F_202E + { + internal _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E[] _206C_200C_206C_200E_200E_200F_202B_202E_206D_206C_200B_202D_200C_206F_206D_202C_206F_206B_206F_202D_202E_200D_200E_206A_206D_200E_206A_202D_206F_202A_202A_200C_202E_200D_206E_200E_206E_200E_206A_202B_202E; + + internal void _206F_202E_202C_202C_202D_200C_202C_202D_200C_202B_202C_202D_200C_202B_200F_206B_206D_206B_206E_206D_202C_200E_202E_202B_206F_200D_200B_206E_200E_202E_206C_200D_200B_206F_202A_200D_200B_200E_202C_206E_202E() + { + _206C_200C_206C_200E_200E_200F_202B_202E_206D_206C_200B_202D_200C_206F_206D_202C_206F_206B_206F_202D_202E_200D_200E_206A_206D_200E_206A_202D_206F_202A_202A_200C_202E_200D_206E_200E_206E_200E_206A_202B_202E = new _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E[768]; + } + + internal void _200E_206C_206B_200C_206D_206F_200B_206C_200E_206B_206B_202C_206C_202A_206B_202B_202D_202A_202C_200E_206C_202E_200E_202E_206C_206F_202B_206C_200D_200E_200B_206A_200C_206D_200F_206A_202C_202C_200F_200D_202E() + { + int num = 0; + while (num < 768) + { + _206C_200C_206C_200E_200E_200F_202B_202E_206D_206C_200B_202D_200C_206F_206D_202C_206F_206B_206F_202D_202E_200D_200E_206A_206D_200E_206A_202D_206F_202A_202A_200C_202E_200D_206E_200E_206E_200E_206A_202B_202E[num]._202B_206C_202B_200C_202B_202A_206D_200D_206C_206D_202D_206B_202C_200D_206B_202E_206D_202B_206C_200D_202E_206A_206E_206D_206A_200B_200C_206A_206A_200E_202B_200E_202A_202E_200B_206A_200B_200C_202E_200F_202E(); + int num2 = num; + int num3 = 1; + int num4 = num2; + num = (num4 | num3) + (num4 & num3); + } + } + + internal byte _200E_206A_202C_202D_200D_202D_206F_206E_200E_206F_202A_202E_206D_202E_200C_202A_206A_202E_200D_202E_200C_206A_206C_206C_200F_206E_206F_206C_206A_200C_202E_206E_202A_200B_200E_200B_202A_200D_202E_202D_202E(_202A_202C_202B_206B_202B_202A_200D_206E_206D_202B_202D_200C_206E_206A_202C_202E_206D_206E_202B_202B_200E_206D_206C_206F_206B_200F_206C_200D_202E_200B_202C_202E_206D_200C_200F_200F_206C_202E_206A_200D_202E rangeDecoder) + { + uint num = 1u; + do + { + num = (num << 1) | _206C_200C_206C_200E_200E_200F_202B_202E_206D_206C_200B_202D_200C_206F_206D_202C_206F_206B_206F_202D_202E_200D_200E_206A_206D_200E_206A_202D_206F_202A_202A_200C_202E_200D_206E_200E_206E_200E_206A_202B_202E[num]._200F_200D_200C_206A_200F_206A_202E_200F_202B_200D_200C_206E_206A_200C_200F_202E_202C_200E_202C_200D_206F_200E_202D_206C_202A_200C_202B_200C_200E_206E_206E_202C_200C_202D_206A_206C_200B_202D_202A_206D_202E(rangeDecoder); + } + while (num < 256); + return (byte)num; + } + + internal byte _200B_200C_200D_200D_206B_206F_206F_202E_200F_202D_202B_200F_206E_206A_200E_200B_202C_206A_202E_206B_206A_206D_206B_200F_206E_202A_200D_202C_202B_202E_202E_202B_202E_202A_200F_202D_206F_206C_200C_206C_202E(_202A_202C_202B_206B_202B_202A_200D_206E_206D_202B_202D_200C_206E_206A_202C_202E_206D_206E_202B_202B_200E_206D_206C_206F_206B_200F_206C_200D_202E_200B_202C_202E_206D_200C_200F_200F_206C_202E_206A_200D_202E rangeDecoder, byte matchByte) + { + uint num = 1u; + do + { + int num2 = matchByte >> 7; + int num3 = 1; + int num4 = num2; + uint num5 = (uint)(num4 + num3 - (num4 | num3)); + matchByte <<= 1; + _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E[] array = _206C_200C_206C_200E_200E_200F_202B_202E_206D_206C_200B_202D_200C_206F_206D_202C_206F_206B_206F_202D_202E_200D_200E_206A_206D_200E_206A_202D_206F_202A_202A_200C_202E_200D_206E_200E_206E_200E_206A_202B_202E; + num3 = (int)num5; + num4 = 1; + int num6 = num4 ^ num3; + int num7 = num4 & num3; + int num8 = num6 + (num7 + num7) << 8; + num3 = (int)num; + num4 = num8; + uint num9 = array[(num4 | num3) + (num4 & num3)]._200F_200D_200C_206A_200F_206A_202E_200F_202B_200D_200C_206E_206A_200C_200F_202E_202C_200E_202C_200D_206F_200E_202D_206C_202A_200C_202B_200C_200E_206E_206E_202C_200C_202D_206A_206C_200B_202D_202A_206D_202E(rangeDecoder); + uint num10 = num << 1; + num3 = (int)num9; + num4 = (int)num10; + num = (uint)((num4 & num3) + (num4 ^ num3)); + if (num5 != num9) + { + while (num < 256) + { + num = (num << 1) | _206C_200C_206C_200E_200E_200F_202B_202E_206D_206C_200B_202D_200C_206F_206D_202C_206F_206B_206F_202D_202E_200D_200E_206A_206D_200E_206A_202D_206F_202A_202A_200C_202E_200D_206E_200E_206E_200E_206A_202B_202E[num]._200F_200D_200C_206A_200F_206A_202E_200F_202B_200D_200C_206E_206A_200C_200F_202E_202C_200E_202C_200D_206F_200E_202D_206C_202A_200C_202B_200C_200E_206E_206E_202C_200C_202D_206A_206C_200B_202D_202A_206D_202E(rangeDecoder); + } + break; + } + } + while (num < 256); + return (byte)num; + } + } + + internal _200D_202B_206C_200C_206A_202A_206A_200F_200B_206A_206C_202C_206B_200C_206E_202D_206C_200F_206C_200B_200C_200F_206D_200C_206B_200D_206B_202A_202E_206C_202E_200C_202A_206D_200C_206F_200D_200F_202E_200F_202E[] _206F_200C_206B_206E_202C_206C_206D_206D_200D_202A_200F_200C_206A_202C_202A_206E_202A_206D_200B_200D_206E_200F_206B_206D_202E_200E_202E_206B_206C_202C_206D_200B_202D_200E_200D_202C_200C_206F_200B_200D_202E; + + internal int _200E_200D_202B_202C_206D_200F_200B_200B_202E_202C_206C_200C_206A_202E_200F_202E_206E_200B_202D_200E_202E_206E_200D_206F_206D_200D_202A_206C_202D_206F_200B_202B_200E_200D_202A_206B_202C_206C_206C_206D_202E; + + internal int _206A_206A_202E_200C_202D_200B_200F_202D_206A_202E_200C_206D_202E_202D_202D_206E_202E_202B_206B_200C_200C_200B_206D_206D_200E_200C_202E_202A_202E_206C_200B_202B_202B_206A_202E_200B_202C_202C_200F_202B_202E; + + internal uint _200B_200B_202E_206A_200B_206A_200E_202A_202C_206A_202A_206B_202C_200F_202B_200B_206B_206D_200B_200F_202C_206B_202E_200C_202E_200F_206D_200D_202E_200F_202E_200C_206E_206D_202A_202E_202B_202A_200D_206F_202E; + + internal void _200D_202D_202A_202E_206A_206C_202B_206F_202D_206A_206B_202B_206B_206A_200F_202C_206A_200E_206C_206B_206D_202C_202B_202C_202E_202E_202A_206E_206C_200D_200F_200E_200B_202B_202A_202E_206A_200C_206A_202A_202E(int numPosBits, int numPrevBits) + { + if (_206F_200C_206B_206E_202C_206C_206D_206D_200D_202A_200F_200C_206A_202C_202A_206E_202A_206D_200B_200D_206E_200F_206B_206D_202E_200E_202E_206B_206C_202C_206D_200B_202D_200E_200D_202C_200C_206F_200B_200D_202E == null || _206A_206A_202E_200C_202D_200B_200F_202D_206A_202E_200C_206D_202E_202D_202D_206E_202E_202B_206B_200C_200C_200B_206D_206D_200E_200C_202E_202A_202E_206C_200B_202B_202B_206A_202E_200B_202C_202C_200F_202B_202E != numPrevBits || _200E_200D_202B_202C_206D_200F_200B_200B_202E_202C_206C_200C_206A_202E_200F_202E_206E_200B_202D_200E_202E_206E_200D_206F_206D_200D_202A_206C_202D_206F_200B_202B_200E_200D_202A_206B_202C_206C_206C_206D_202E != numPosBits) + { + _200E_200D_202B_202C_206D_200F_200B_200B_202E_202C_206C_200C_206A_202E_200F_202E_206E_200B_202D_200E_202E_206E_200D_206F_206D_200D_202A_206C_202D_206F_200B_202B_200E_200D_202A_206B_202C_206C_206C_206D_202E = numPosBits; + int num = 31; + int num2 = numPosBits; + int num3 = 1 << (num2 | num) - (num2 ^ num); + num = 1; + num2 = num3; + _200B_200B_202E_206A_200B_206A_200E_202A_202C_206A_202A_206B_202C_200F_202B_200B_206B_206D_200B_200F_202C_206B_202E_200C_202E_200F_206D_200D_202E_200F_202E_200C_206E_206D_202A_202E_202B_202A_200D_206F_202E = (uint)(~(~num2 + num)); + _206A_206A_202E_200C_202D_200B_200F_202D_206A_202E_200C_206D_202E_202D_202D_206E_202E_202B_206B_200C_200C_200B_206D_206D_200E_200C_202E_202A_202E_206C_200B_202B_202B_206A_202E_200B_202C_202C_200F_202B_202E = numPrevBits; + int num4 = _206A_206A_202E_200C_202D_200B_200F_202D_206A_202E_200C_206D_202E_202D_202D_206E_202E_202B_206B_200C_200C_200B_206D_206D_200E_200C_202E_202A_202E_206C_200B_202B_202B_206A_202E_200B_202C_202C_200F_202B_202E; + num = _200E_200D_202B_202C_206D_200F_200B_200B_202E_202C_206C_200C_206A_202E_200F_202E_206E_200B_202D_200E_202E_206E_200D_206F_206D_200D_202A_206C_202D_206F_200B_202B_200E_200D_202A_206B_202C_206C_206C_206D_202E; + num2 = num4; + int num5 = (num2 | num) + (num2 & num); + num = 31; + num2 = num5; + uint num6 = (uint)(1 << (num2 | num) - (num2 ^ num)); + _206F_200C_206B_206E_202C_206C_206D_206D_200D_202A_200F_200C_206A_202C_202A_206E_202A_206D_200B_200D_206E_200F_206B_206D_202E_200E_202E_206B_206C_202C_206D_200B_202D_200E_200D_202C_200C_206F_200B_200D_202E = new _200D_202B_206C_200C_206A_202A_206A_200F_200B_206A_206C_202C_206B_200C_206E_202D_206C_200F_206C_200B_200C_200F_206D_200C_206B_200D_206B_202A_202E_206C_202E_200C_202A_206D_200C_206F_200D_200F_202E_200F_202E[num6]; + uint num7 = 0u; + while (num7 < num6) + { + _206F_200C_206B_206E_202C_206C_206D_206D_200D_202A_200F_200C_206A_202C_202A_206E_202A_206D_200B_200D_206E_200F_206B_206D_202E_200E_202E_206B_206C_202C_206D_200B_202D_200E_200D_202C_200C_206F_200B_200D_202E[num7]._206F_202E_202C_202C_202D_200C_202C_202D_200C_202B_202C_202D_200C_202B_200F_206B_206D_206B_206E_206D_202C_200E_202E_202B_206F_200D_200B_206E_200E_202E_206C_200D_200B_206F_202A_200D_200B_200E_202C_206E_202E(); + uint num8 = num7; + num = 1; + num2 = (int)num8; + int num9 = num2 ^ num; + int num10 = num2 & num; + num7 = (uint)(num9 + (num10 + num10)); + } + } + } + + internal void _206B_206F_200D_206B_200B_206E_202D_206A_206D_202C_206F_206D_202B_202B_206A_206F_202A_206A_200F_200B_200C_206E_206F_200C_200F_202D_202C_202C_200D_202C_200F_202E_206B_202D_202D_206B_206D_206A_206C_202D_202E() + { + int num = _206A_206A_202E_200C_202D_200B_200F_202D_206A_202E_200C_206D_202E_202D_202D_206E_202E_202B_206B_200C_200C_200B_206D_206D_200E_200C_202E_202A_202E_206C_200B_202B_202B_206A_202E_200B_202C_202C_200F_202B_202E; + int num2 = _200E_200D_202B_202C_206D_200F_200B_200B_202E_202C_206C_200C_206A_202E_200F_202E_206E_200B_202D_200E_202E_206E_200D_206F_206D_200D_202A_206C_202D_206F_200B_202B_200E_200D_202A_206B_202C_206C_206C_206D_202E; + int num3 = num; + int num4 = (num3 | num2) + (num3 & num2); + num2 = 31; + num3 = num4; + uint num5 = (uint)(1 << (num3 | num2) - (num3 ^ num2)); + for (uint num6 = 0u; num6 < num5; num6 = (uint)((num3 | num2) + (num3 & num2))) + { + _206F_200C_206B_206E_202C_206C_206D_206D_200D_202A_200F_200C_206A_202C_202A_206E_202A_206D_200B_200D_206E_200F_206B_206D_202E_200E_202E_206B_206C_202C_206D_200B_202D_200E_200D_202C_200C_206F_200B_200D_202E[num6]._200E_206C_206B_200C_206D_206F_200B_206C_200E_206B_206B_202C_206C_202A_206B_202B_202D_202A_202C_200E_206C_202E_200E_202E_206C_206F_202B_206C_200D_200E_200B_206A_200C_206D_200F_206A_202C_202C_200F_200D_202E(); + uint num7 = num6; + num2 = 1; + num3 = (int)num7; + } + } + + internal uint _206C_206B_206F_206F_202A_206E_200E_206C_200B_200E_200C_202E_206A_200E_202E_200D_206A_206F_206B_206D_206A_202C_206E_200B_200F_200E_202B_206C_202D_202E_200C_206E_202C_200D_206B_206B_202B_200B_206F_202D_202E(uint pos, byte prevByte) + { + int num = (int)_200B_200B_202E_206A_200B_206A_200E_202A_202C_206A_202A_206B_202C_200F_202B_200B_206B_206D_200B_200F_202C_206B_202E_200C_202E_200F_206D_200D_202E_200F_202E_200C_206E_206D_202A_202E_202B_202A_200D_206F_202E; + int num2 = (int)pos; + int num3 = (num2 | num) - (num2 ^ num); + int num4 = _206A_206A_202E_200C_202D_200B_200F_202D_206A_202E_200C_206D_202E_202D_202D_206E_202E_202B_206B_200C_200C_200B_206D_206D_200E_200C_202E_202A_202E_206C_200B_202B_202B_206A_202E_200B_202C_202C_200F_202B_202E; + num = 31; + num2 = num4; + int num5 = num3 << num2 + num - (num2 | num); + num = _206A_206A_202E_200C_202D_200B_200F_202D_206A_202E_200C_206D_202E_202D_202D_206E_202E_202B_206B_200C_200C_200B_206D_206D_200E_200C_202E_202A_202E_206C_200B_202B_202B_206A_202E_200B_202C_202C_200F_202B_202E; + num2 = 8; + int num6 = ~(~num2 + num); + num = 31; + num2 = num6; + num = prevByte >> (num2 | num) - (num2 ^ num); + num2 = num5; + int num7 = num2 ^ num; + int num8 = num2 & num; + return (uint)(num7 + (num8 + num8)); + } + + internal byte _202E_202C_206A_202C_202D_206A_202D_202B_202B_202A_206C_206E_202C_206C_200E_200C_200B_202A_200C_202E_206C_200F_202E_200F_206A_200E_200E_200C_200B_206F_206B_206C_202A_200B_202D_200E_202E_202C_202E_200F_202E(_202A_202C_202B_206B_202B_202A_200D_206E_206D_202B_202D_200C_206E_206A_202C_202E_206D_206E_202B_202B_200E_206D_206C_206F_206B_200F_206C_200D_202E_200B_202C_202E_206D_200C_200F_200F_206C_202E_206A_200D_202E rangeDecoder, uint pos, byte prevByte) + { + return _206F_200C_206B_206E_202C_206C_206D_206D_200D_202A_200F_200C_206A_202C_202A_206E_202A_206D_200B_200D_206E_200F_206B_206D_202E_200E_202E_206B_206C_202C_206D_200B_202D_200E_200D_202C_200C_206F_200B_200D_202E[_206C_206B_206F_206F_202A_206E_200E_206C_200B_200E_200C_202E_206A_200E_202E_200D_206A_206F_206B_206D_206A_202C_206E_200B_200F_200E_202B_206C_202D_202E_200C_206E_202C_200D_206B_206B_202B_200B_206F_202D_202E(pos, prevByte)]._200E_206A_202C_202D_200D_202D_206F_206E_200E_206F_202A_202E_206D_202E_200C_202A_206A_202E_200D_202E_200C_206A_206C_206C_200F_206E_206F_206C_206A_200C_202E_206E_202A_200B_200E_200B_202A_200D_202E_202D_202E(rangeDecoder); + } + + internal byte _200E_202E_206B_200C_206E_206B_202C_200F_202B_206C_200D_202B_206B_200E_206E_200B_202C_200C_206C_202D_202D_202C_202D_206E_200B_200E_206D_202C_200C_200F_202D_200E_206A_206A_202B_200C_206A_206E_200C_206B_202E(_202A_202C_202B_206B_202B_202A_200D_206E_206D_202B_202D_200C_206E_206A_202C_202E_206D_206E_202B_202B_200E_206D_206C_206F_206B_200F_206C_200D_202E_200B_202C_202E_206D_200C_200F_200F_206C_202E_206A_200D_202E rangeDecoder, uint pos, byte prevByte, byte matchByte) + { + return _206F_200C_206B_206E_202C_206C_206D_206D_200D_202A_200F_200C_206A_202C_202A_206E_202A_206D_200B_200D_206E_200F_206B_206D_202E_200E_202E_206B_206C_202C_206D_200B_202D_200E_200D_202C_200C_206F_200B_200D_202E[_206C_206B_206F_206F_202A_206E_200E_206C_200B_200E_200C_202E_206A_200E_202E_200D_206A_206F_206B_206D_206A_202C_206E_200B_200F_200E_202B_206C_202D_202E_200C_206E_202C_200D_206B_206B_202B_200B_206F_202D_202E(pos, prevByte)]._200B_200C_200D_200D_206B_206F_206F_202E_200F_202D_202B_200F_206E_206A_200E_200B_202C_206A_202E_206B_206A_206D_206B_200F_206E_202A_200D_202C_202B_202E_202E_202B_202E_202A_200F_202D_206F_206C_200C_206C_202E(rangeDecoder, matchByte); + } + + internal _200D_200C_202D_202D_206E_200B_200D_202D_206E_206F_200E_200C_206F_202A_206A_200E_200B_202E_202C_200C_206F_206A_202E_206D_202B_206E_202B_202C_206B_202B_206C_206A_206E_206A_206C_200B_206A_206F_200C_202D_202E() + { + } + } + + internal readonly _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E[] _206C_202B_200F_202C_200D_202B_206F_202C_206A_206D_206A_206D_200F_202A_200B_206A_206C_206F_202A_206E_206B_206C_206C_202C_200F_206A_206E_202E_206E_206D_206C_202E_206A_206B_202E_206C_200B_202D_200C_202C_202E = new _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E[192]; + + internal readonly _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E[] _206A_206C_206A_206B_202D_206F_200B_206D_200E_200F_200C_206C_202A_202E_202E_202A_200F_206B_202B_206A_202C_206E_206B_206D_202C_206B_206B_200E_202D_206B_206C_206E_200E_206E_206B_202A_202C_200F_202D_206D_202E = new _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E[192]; + + internal readonly _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E[] _200C_202D_200F_202E_202B_202B_206A_200D_202E_202E_200D_200F_202B_206E_200C_200E_200D_202C_206F_206E_200C_206D_206D_202B_202B_200D_202D_202C_206C_206D_200F_206B_206C_200D_206F_200D_202C_206D_200E_206D_202E = new _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E[12]; + + internal readonly _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E[] _200F_206A_206B_200B_202B_202E_206B_206D_206F_206F_206E_202C_200F_206B_202E_206A_202D_202C_206E_206C_202B_206F_206C_200C_200F_206A_206E_206F_202D_202B_202B_200E_200E_206E_206B_200F_200B_200D_200F_202D_202E = new _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E[12]; + + internal readonly _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E[] _206D_206C_202D_202C_206C_206A_202A_206D_206E_206F_200D_206E_202E_200C_200E_202B_200E_202E_206C_200E_206A_200C_200C_202C_206D_200E_202E_206D_200E_206D_206B_200E_200C_206A_206C_206F_202C_202B_202A_200C_202E = new _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E[12]; + + internal readonly _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E[] _200B_206F_200C_206B_206D_202A_202E_202A_202C_200F_200C_200F_206E_202B_200D_206A_206F_206B_200C_202E_200C_206B_202B_206D_202D_202E_206B_206E_202A_200D_202A_202C_206C_200F_202C_202E_206B_206D_202A_206D_202E = new _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E[12]; + + internal readonly _200B_202E_206F_200D_206A_206D_200F_200D_206E_202B_202C_202D_206A_202A_202C_200D_202E_206B_202B_206F_200D_200C_202B_200F_206E_206D_206C_200F_206D_206F_200C_200E_206B_200E_200B_200F_206D_206B_200C_206D_202E _206C_202D_200D_202E_202D_206C_200C_200B_200B_206A_206A_202E_200C_200D_202E_200F_206A_200F_206B_200D_202E_206E_202D_206E_202A_202B_202E_206C_202C_202A_202C_206C_206F_202E_200D_206A_206E_202D_202E_206A_202E = new _200B_202E_206F_200D_206A_206D_200F_200D_206E_202B_202C_202D_206A_202A_202C_200D_202E_206B_202B_206F_200D_200C_202B_200F_206E_206D_206C_200F_206D_206F_200C_200E_206B_200E_200B_200F_206D_206B_200C_206D_202E(); + + internal readonly _200D_200C_202D_202D_206E_200B_200D_202D_206E_206F_200E_200C_206F_202A_206A_200E_200B_202E_202C_200C_206F_206A_202E_206D_202B_206E_202B_202C_206B_202B_206C_206A_206E_206A_206C_200B_206A_206F_200C_202D_202E _200E_200D_206A_206F_206D_206A_202A_206A_206D_200E_200E_206A_200D_200C_206B_202E_202A_206A_200B_202A_202D_202C_206C_200B_206A_202E_202C_200B_206A_200E_206F_206A_206F_206A_202D_202C_200C_202A_200F_200C_202E = new _200D_200C_202D_202D_206E_200B_200D_202D_206E_206F_200E_200C_206F_202A_206A_200E_200B_202E_202C_200C_206F_206A_202E_206D_202B_206E_202B_202C_206B_202B_206C_206A_206E_206A_206C_200B_206A_206F_200C_202D_202E(); + + internal readonly _200F_202E_206F_206E_206C_200B_200B_200B_206E_202E_200D_206F_202A_206F_206F_206E_200E_206A_200F_202C_202A_206D_202D_202E_200F_200F_202B_206B_200B_206A_206A_200E_206C_206B_200C_200D_200E_206D_200E_206B_202E _202B_206A_202B_200C_206C_202D_206D_202E_202B_200B_206D_206E_206C_206E_202E_206B_202E_200B_206E_200F_200D_206D_206B_206F_200C_202A_200F_200D_206A_202A_206C_206C_202D_206A_200E_200E_206D_202D_200C_200C_202E = new _200F_202E_206F_206E_206C_200B_200B_200B_206E_202E_200D_206F_202A_206F_206F_206E_200E_206A_200F_202C_202A_206D_202D_202E_200F_200F_202B_206B_200B_206A_206A_200E_206C_206B_200C_200D_200E_206D_200E_206B_202E(); + + internal readonly _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E[] _206B_200B_200C_200B_206F_206B_200D_202D_202E_200E_202E_200D_206D_200E_206A_200D_202A_202D_206B_202D_206F_202A_202C_206C_206A_202B_206D_202A_202E_202B_200D_206A_206F_206D_206E_202A_206A_206A_206C_206E_202E = new _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E[114]; + + internal readonly _202D_206F_200F_202C_202D_206E_202D_200B_206A_200B_202E_202D_202C_200E_206D_200F_200C_200D_206F_200F_200E_200C_206D_200D_202D_206C_206E_206C_206F_206D_206C_202E_206F_200B_200E_206A_206A_200C_206C_200C_202E[] _206D_202C_206E_206A_202D_202C_200D_202A_206B_202A_206F_202A_200B_206B_206A_202A_202D_200D_200F_202C_206D_206B_202A_202A_202B_202B_202D_202C_206F_202B_200D_202E_202B_202E_200C_202C_206D_206E_200F_206A_202E = new _202D_206F_200F_202C_202D_206E_202D_200B_206A_200B_202E_202D_202C_200E_206D_200F_200C_200D_206F_200F_200E_200C_206D_200D_202D_206C_206E_206C_206F_206D_206C_202E_206F_200B_200E_206A_206A_200C_206C_200C_202E[4]; + + internal readonly _202A_202C_202B_206B_202B_202A_200D_206E_206D_202B_202D_200C_206E_206A_202C_202E_206D_206E_202B_202B_200E_206D_206C_206F_206B_200F_206C_200D_202E_200B_202C_202E_206D_200C_200F_200F_206C_202E_206A_200D_202E _206E_202E_200D_206E_202B_206A_202A_200B_200B_200F_202B_206C_206D_202C_200C_206A_206F_206B_202D_200B_200B_202B_206C_206A_206E_206A_206D_206B_206A_202A_200D_202A_206B_200E_200F_206F_206F_202C_200E_206C_202E = new _202A_202C_202B_206B_202B_202A_200D_206E_206D_202B_202D_200C_206E_206A_202C_202E_206D_206E_202B_202B_200E_206D_206C_206F_206B_200F_206C_200D_202E_200B_202C_202E_206D_200C_200F_200F_206C_202E_206A_200D_202E(); + + internal readonly _200B_202E_206F_200D_206A_206D_200F_200D_206E_202B_202C_202D_206A_202A_202C_200D_202E_206B_202B_206F_200D_200C_202B_200F_206E_206D_206C_200F_206D_206F_200C_200E_206B_200E_200B_200F_206D_206B_200C_206D_202E _206F_200B_200F_206E_206C_206A_206D_200D_206C_202E_200C_206A_202B_202C_202B_202A_202E_206C_202D_206C_206E_200C_202B_206B_200D_206D_200E_202D_206F_206F_200D_202B_202E_206D_202E_202B_202A_200C_202D_206A_202E = new _200B_202E_206F_200D_206A_206D_200F_200D_206E_202B_202C_202D_206A_202A_202C_200D_202E_206B_202B_206F_200D_200C_202B_200F_206E_206D_206C_200F_206D_206F_200C_200E_206B_200E_200B_200F_206D_206B_200C_206D_202E(); + + internal bool _206E_202B_206B_202B_206A_206D_206C_206C_202A_202A_206A_206B_202E_202A_206B_206E_206F_206A_206E_202B_206F_202D_202A_200D_200F_202C_206A_206C_202C_206F_206D_200D_200E_206F_202E_200E_200C_200F_200C_206E_202E; + + internal uint _200E_202B_200C_200E_206F_202A_202C_206A_200F_202D_202D_206D_200D_206D_200C_202B_206B_202B_202C_200E_200D_206D_206D_200C_206D_202C_200B_202B_206B_202A_206E_202C_206B_200B_206D_206F_206C_206B_206A_200D_202E; + + internal uint _206E_206F_202A_200F_202E_200D_206D_202A_206B_200B_200F_200D_200D_202B_206B_202E_202C_202C_202E_206A_200E_200F_200B_202C_206F_202D_200C_200F_202C_200B_206D_200D_202C_206C_202D_202A_202A_206C_206A_200C_202E; + + internal _202D_206F_200F_202C_202D_206E_202D_200B_206A_200B_202E_202D_202C_200E_206D_200F_200C_200D_206F_200F_200E_200C_206D_200D_202D_206C_206E_206C_206F_206D_206C_202E_206F_200B_200E_206A_206A_200C_206C_200C_202E _202B_202D_206C_206E_200C_200B_200B_206D_206B_202B_200F_206A_206B_202D_202E_200E_206B_206F_202A_200E_202D_202A_206E_206E_202C_206C_202C_200B_206F_202C_202C_206A_200E_202A_206E_206C_202A_200D_202E_202D_202E = new _202D_206F_200F_202C_202D_206E_202D_200B_206A_200B_202E_202D_202C_200E_206D_200F_200C_200D_206F_200F_200E_200C_206D_200D_202D_206C_206E_206C_206F_206D_206C_202E_206F_200B_200E_206A_206A_200C_206C_200C_202E(4); + + internal uint _202B_202C_200D_206E_200D_200C_200B_206F_200C_206C_200C_206F_206C_206A_206A_206F_206A_206A_200C_206B_202E_200F_200F_200B_200B_206F_206D_202E_200E_202C_202D_200F_200F_200C_200E_206B_200D_200C_206D_206B_202E; + + internal _200E_206A_200D_206A_200F_202D_206F_206C_202A_206C_206A_202A_202E_202A_200D_202E_206F_202D_202E_206C_200F_206E_202E_202B_206C_200C_206E_206B_202A_200B_200E_200F_206A_206D_206D_206D_206B_200C_206D_206A_202E() + { + _200E_202B_200C_200E_206F_202A_202C_206A_200F_202D_202D_206D_200D_206D_200C_202B_206B_202B_202C_200E_200D_206D_206D_200C_206D_202C_200B_202B_206B_202A_206E_202C_206B_200B_206D_206F_206C_206B_206A_200D_202E = uint.MaxValue; + int num = 0; + while ((long)num < 4L) + { + _206D_202C_206E_206A_202D_202C_200D_202A_206B_202A_206F_202A_200B_206B_206A_202A_202D_200D_200F_202C_206D_206B_202A_202A_202B_202B_202D_202C_206F_202B_200D_202E_202B_202E_200C_202C_206D_206E_200F_206A_202E[num] = new _202D_206F_200F_202C_202D_206E_202D_200B_206A_200B_202E_202D_202C_200E_206D_200F_200C_200D_206F_200F_200E_200C_206D_200D_202D_206C_206E_206C_206F_206D_206C_202E_206F_200B_200E_206A_206A_200C_206C_200C_202E(6); + int num2 = num; + int num3 = 1; + int num4 = num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = num5 + (num6 + num6); + } + } + + internal void _206A_202C_202B_206A_206D_200F_206C_202A_200F_202E_202D_200E_200D_206C_202C_202D_200F_202C_206C_206A_200B_202D_200D_206D_200B_206A_202B_202C_202C_206D_206F_200D_202B_200D_200F_200F_206B_202B_206B_202B_202E(uint dictionarySize) + { + if (_200E_202B_200C_200E_206F_202A_202C_206A_200F_202D_202D_206D_200D_206D_200C_202B_206B_202B_202C_200E_200D_206D_206D_200C_206D_202C_200B_202B_206B_202A_206E_202C_206B_200B_206D_206F_206C_206B_206A_200D_202E != dictionarySize) + { + _200E_202B_200C_200E_206F_202A_202C_206A_200F_202D_202D_206D_200D_206D_200C_202B_206B_202B_202C_200E_200D_206D_206D_200C_206D_202C_200B_202B_206B_202A_206E_202C_206B_200B_206D_206F_206C_206B_206A_200D_202E = dictionarySize; + _206E_206F_202A_200F_202E_200D_206D_202A_206B_200B_200F_200D_200D_202B_206B_202E_202C_202C_202E_206A_200E_200F_200B_202C_206F_202D_200C_200F_202C_200B_206D_200D_202C_206C_202D_202A_202A_206C_206A_200C_202E = Math.Max(_200E_202B_200C_200E_206F_202A_202C_206A_200F_202D_202D_206D_200D_206D_200C_202B_206B_202B_202C_200E_200D_206D_206D_200C_206D_202C_200B_202B_206B_202A_206E_202C_206B_200B_206D_206F_206C_206B_206A_200D_202E, 1u); + uint windowSize = Math.Max(_206E_206F_202A_200F_202E_200D_206D_202A_206B_200B_200F_200D_200D_202B_206B_202E_202C_202C_202E_206A_200E_200F_200B_202C_206F_202D_200C_200F_202C_200B_206D_200D_202C_206C_202D_202A_202A_206C_206A_200C_202E, 4096u); + _202B_206A_202B_200C_206C_202D_206D_202E_202B_200B_206D_206E_206C_206E_202E_206B_202E_200B_206E_200F_200D_206D_206B_206F_200C_202A_200F_200D_206A_202A_206C_206C_202D_206A_200E_200E_206D_202D_200C_200C_202E._206E_200D_202A_206B_206A_200F_206E_202D_200B_200D_206B_202B_206E_202E_202D_202E_202B_206F_202E_206F_206E_206F_206D_206A_202A_202B_200F_206E_206D_200C_200F_202C_206C_202C_202D_206A_202A_206F_202A_202E(windowSize); + } + } + + internal void _206D_206A_202D_206F_200F_202D_206A_206D_200F_206E_200B_202C_206E_206E_206E_200D_206A_206C_200D_206D_200B_206C_200D_206E_206B_200D_206B_206F_200E_200D_202B_200C_206D_202E_200F_206C_200F_202C_206B_202D_202E(int lp, int lc) + { + _200E_200D_206A_206F_206D_206A_202A_206A_206D_200E_200E_206A_200D_200C_206B_202E_202A_206A_200B_202A_202D_202C_206C_200B_206A_202E_202C_200B_206A_200E_206F_206A_206F_206A_202D_202C_200C_202A_200F_200C_202E._200D_202D_202A_202E_206A_206C_202B_206F_202D_206A_206B_202B_206B_206A_200F_202C_206A_200E_206C_206B_206D_202C_202B_202C_202E_202E_202A_206E_206C_200D_200F_200E_200B_202B_202A_202E_206A_200C_206A_202A_202E(lp, lc); + } + + internal void _200B_200E_206E_206B_200B_200C_202B_200B_202A_206C_200C_206F_206E_202B_206D_200E_200F_206A_200C_206C_206D_206D_206B_200C_202D_200F_206A_206D_202C_202E_206A_206A_206B_206F_202A_200F_200B_206E_206D_202D_202E(int pb) + { + int num = 31; + int num2 = pb; + uint num3 = (uint)(1 << num2 + num - (num2 | num)); + _206C_202D_200D_202E_202D_206C_200C_200B_200B_206A_206A_202E_200C_200D_202E_200F_206A_200F_206B_200D_202E_206E_202D_206E_202A_202B_202E_206C_202C_202A_202C_206C_206F_202E_200D_206A_206E_202D_202E_206A_202E._200B_206B_206E_206C_202D_202D_202E_202D_206E_202E_200D_206A_206D_200C_206B_202C_202B_200F_206B_206E_200B_200E_200B_202D_206A_200E_202E_206D_206B_200C_206F_202E_200D_200F_200D_202C_206D_202A_206F_202A_202E(num3); + _206F_200B_200F_206E_206C_206A_206D_200D_206C_202E_200C_206A_202B_202C_202B_202A_202E_206C_202D_206C_206E_200C_202B_206B_200D_206D_200E_202D_206F_206F_200D_202B_202E_206D_202E_202B_202A_200C_202D_206A_202E._200B_206B_206E_206C_202D_202D_202E_202D_206E_202E_200D_206A_206D_200C_206B_202C_202B_200F_206B_206E_200B_200E_200B_202D_206A_200E_202E_206D_206B_200C_206F_202E_200D_200F_200D_202C_206D_202A_206F_202A_202E(num3); + num = 1; + num2 = (int)num3; + _202B_202C_200D_206E_200D_200C_200B_206F_200C_206C_200C_206F_206C_206A_206A_206F_206A_206A_200C_206B_202E_200F_200F_200B_200B_206F_206D_202E_200E_202C_202D_200F_200F_200C_200E_206B_200D_200C_206D_206B_202E = (uint)(~(~num2 + num)); + } + + internal void _200E_206D_200F_206C_200C_206A_200C_200E_206F_200F_206E_202C_200C_206A_200D_200B_200B_206A_202E_206B_202C_206A_206C_200C_200E_206B_200E_200D_206B_200D_200E_206E_200D_206F_202C_206B_200E_200B_200C_202E(Stream inStream, Stream outStream) + { + _206E_202E_200D_206E_202B_206A_202A_200B_200B_200F_202B_206C_206D_202C_200C_206A_206F_206B_202D_200B_200B_202B_206C_206A_206E_206A_206D_206B_206A_202A_200D_202A_206B_200E_200F_206F_206F_202C_200E_206C_202E._200F_200B_200F_206C_200E_202B_200F_206A_206B_200E_200F_200D_202C_200F_202B_206C_200C_206B_202A_202A_202C_200F_206E_206F_202D_202B_202C_202D_200D_206B_206D_200C_206C_206D_206B_202B_200D_206A_206B_202B_202E(inStream); + _202B_206A_202B_200C_206C_202D_206D_202E_202B_200B_206D_206E_206C_206E_202E_206B_202E_200B_206E_200F_200D_206D_206B_206F_200C_202A_200F_200D_206A_202A_206C_206C_202D_206A_200E_200E_206D_202D_200C_200C_202E._200E_200E_200C_202E_202E_200E_206B_206F_202A_200F_202A_200E_200F_206E_200F_202C_200F_202A_202B_202A_200C_200C_202B_202B_200B_206B_202B_206E_200C_202D_202D_200F_206A_200D_206A_206D_202C_206E_206E_206C_202E(outStream, _206E_202B_206B_202B_206A_206D_206C_206C_202A_202A_206A_206B_202E_202A_206B_206E_206F_206A_206E_202B_206F_202D_202A_200D_200F_202C_206A_206C_202C_206F_206D_200D_200E_206F_202E_200E_200C_200F_200C_206E_202E); + uint num = 0u; + while (num < 12) + { + int num4; + int num5; + for (uint num2 = 0u; num2 <= _202B_202C_200D_206E_200D_200C_200B_206F_200C_206C_200C_206F_206C_206A_206A_206F_206A_206A_200C_206B_202E_200F_200F_200B_200B_206F_206D_202E_200E_202C_202D_200F_200F_200C_200E_206B_200D_200C_206D_206B_202E; num2 = (uint)((num5 | num4) + (num5 & num4))) + { + uint num3 = num << 4; + num4 = (int)num2; + num5 = (int)num3; + uint num6 = (uint)((num5 | num4) + (num5 & num4)); + _206C_202B_200F_202C_200D_202B_206F_202C_206A_206D_206A_206D_200F_202A_200B_206A_206C_206F_202A_206E_206B_206C_206C_202C_200F_206A_206E_202E_206E_206D_206C_202E_206A_206B_202E_206C_200B_202D_200C_202C_202E[num6]._202B_206C_202B_200C_202B_202A_206D_200D_206C_206D_202D_206B_202C_200D_206B_202E_206D_202B_206C_200D_202E_206A_206E_206D_206A_200B_200C_206A_206A_200E_202B_200E_202A_202E_200B_206A_200B_200C_202E_200F_202E(); + _206A_206C_206A_206B_202D_206F_200B_206D_200E_200F_200C_206C_202A_202E_202E_202A_200F_206B_202B_206A_202C_206E_206B_206D_202C_206B_206B_200E_202D_206B_206C_206E_200E_206E_206B_202A_202C_200F_202D_206D_202E[num6]._202B_206C_202B_200C_202B_202A_206D_200D_206C_206D_202D_206B_202C_200D_206B_202E_206D_202B_206C_200D_202E_206A_206E_206D_206A_200B_200C_206A_206A_200E_202B_200E_202A_202E_200B_206A_200B_200C_202E_200F_202E(); + uint num7 = num2; + num4 = 1; + num5 = (int)num7; + } + _200C_202D_200F_202E_202B_202B_206A_200D_202E_202E_200D_200F_202B_206E_200C_200E_200D_202C_206F_206E_200C_206D_206D_202B_202B_200D_202D_202C_206C_206D_200F_206B_206C_200D_206F_200D_202C_206D_200E_206D_202E[num]._202B_206C_202B_200C_202B_202A_206D_200D_206C_206D_202D_206B_202C_200D_206B_202E_206D_202B_206C_200D_202E_206A_206E_206D_206A_200B_200C_206A_206A_200E_202B_200E_202A_202E_200B_206A_200B_200C_202E_200F_202E(); + _200F_206A_206B_200B_202B_202E_206B_206D_206F_206F_206E_202C_200F_206B_202E_206A_202D_202C_206E_206C_202B_206F_206C_200C_200F_206A_206E_206F_202D_202B_202B_200E_200E_206E_206B_200F_200B_200D_200F_202D_202E[num]._202B_206C_202B_200C_202B_202A_206D_200D_206C_206D_202D_206B_202C_200D_206B_202E_206D_202B_206C_200D_202E_206A_206E_206D_206A_200B_200C_206A_206A_200E_202B_200E_202A_202E_200B_206A_200B_200C_202E_200F_202E(); + _206D_206C_202D_202C_206C_206A_202A_206D_206E_206F_200D_206E_202E_200C_200E_202B_200E_202E_206C_200E_206A_200C_200C_202C_206D_200E_202E_206D_200E_206D_206B_200E_200C_206A_206C_206F_202C_202B_202A_200C_202E[num]._202B_206C_202B_200C_202B_202A_206D_200D_206C_206D_202D_206B_202C_200D_206B_202E_206D_202B_206C_200D_202E_206A_206E_206D_206A_200B_200C_206A_206A_200E_202B_200E_202A_202E_200B_206A_200B_200C_202E_200F_202E(); + _200B_206F_200C_206B_206D_202A_202E_202A_202C_200F_200C_200F_206E_202B_200D_206A_206F_206B_200C_202E_200C_206B_202B_206D_202D_202E_206B_206E_202A_200D_202A_202C_206C_200F_202C_202E_206B_206D_202A_206D_202E[num]._202B_206C_202B_200C_202B_202A_206D_200D_206C_206D_202D_206B_202C_200D_206B_202E_206D_202B_206C_200D_202E_206A_206E_206D_206A_200B_200C_206A_206A_200E_202B_200E_202A_202E_200B_206A_200B_200C_202E_200F_202E(); + uint num8 = num; + num4 = 1; + num5 = (int)num8; + num = (uint)((num5 | num4) + (num5 & num4)); + } + _200E_200D_206A_206F_206D_206A_202A_206A_206D_200E_200E_206A_200D_200C_206B_202E_202A_206A_200B_202A_202D_202C_206C_200B_206A_202E_202C_200B_206A_200E_206F_206A_206F_206A_202D_202C_200C_202A_200F_200C_202E._206B_206F_200D_206B_200B_206E_202D_206A_206D_202C_206F_206D_202B_202B_206A_206F_202A_206A_200F_200B_200C_206E_206F_200C_200F_202D_202C_202C_200D_202C_200F_202E_206B_202D_202D_206B_206D_206A_206C_202D_202E(); + num = 0u; + while (num < 4) + { + _206D_202C_206E_206A_202D_202C_200D_202A_206B_202A_206F_202A_200B_206B_206A_202A_202D_200D_200F_202C_206D_206B_202A_202A_202B_202B_202D_202C_206F_202B_200D_202E_202B_202E_200C_202C_206D_206E_200F_206A_202E[num]._200C_200C_200D_202E_206A_200C_202A_206A_206A_202D_202D_200D_206B_206F_206B_200F_206A_200D_200D_206E_200F_202E_200E_206A_206B_202D_206A_202D_200D_202D_200B_202D_200B_206E_202D_206C_206A_206C_206D_206F_202E(); + uint num9 = num; + int num4 = 1; + int num5 = (int)num9; + num = (uint)((num5 | num4) + (num5 & num4)); + } + num = 0u; + while (num < 114) + { + _206B_200B_200C_200B_206F_206B_200D_202D_202E_200E_202E_200D_206D_200E_206A_200D_202A_202D_206B_202D_206F_202A_202C_206C_206A_202B_206D_202A_202E_202B_200D_206A_206F_206D_206E_202A_206A_206A_206C_206E_202E[num]._202B_206C_202B_200C_202B_202A_206D_200D_206C_206D_202D_206B_202C_200D_206B_202E_206D_202B_206C_200D_202E_206A_206E_206D_206A_200B_200C_206A_206A_200E_202B_200E_202A_202E_200B_206A_200B_200C_202E_200F_202E(); + uint num10 = num; + int num4 = 1; + int num5 = (int)num10; + num = (uint)((num5 | num4) + (num5 & num4)); + } + _206C_202D_200D_202E_202D_206C_200C_200B_200B_206A_206A_202E_200C_200D_202E_200F_206A_200F_206B_200D_202E_206E_202D_206E_202A_202B_202E_206C_202C_202A_202C_206C_206F_202E_200D_206A_206E_202D_202E_206A_202E._202E_206A_202E_206E_202A_206A_206F_206D_202E_200D_200F_206B_200C_202E_200B_200E_206B_206C_202A_202A_202E_200B_202E_200C_206B_202C_206A_206B_202E_202B_206E_206B_206B_206C_206C_202E_206C_206D_206F_200E_202E(); + _206F_200B_200F_206E_206C_206A_206D_200D_206C_202E_200C_206A_202B_202C_202B_202A_202E_206C_202D_206C_206E_200C_202B_206B_200D_206D_200E_202D_206F_206F_200D_202B_202E_206D_202E_202B_202A_200C_202D_206A_202E._202E_206A_202E_206E_202A_206A_206F_206D_202E_200D_200F_206B_200C_202E_200B_200E_206B_206C_202A_202A_202E_200B_202E_200C_206B_202C_206A_206B_202E_202B_206E_206B_206B_206C_206C_202E_206C_206D_206F_200E_202E(); + _202B_202D_206C_206E_200C_200B_200B_206D_206B_202B_200F_206A_206B_202D_202E_200E_206B_206F_202A_200E_202D_202A_206E_206E_202C_206C_202C_200B_206F_202C_202C_206A_200E_202A_206E_206C_202A_200D_202E_202D_202E._200C_200C_200D_202E_206A_200C_202A_206A_206A_202D_202D_200D_206B_206F_206B_200F_206A_200D_200D_206E_200F_202E_200E_206A_206B_202D_206A_202D_200D_202D_200B_202D_200B_206E_202D_206C_206A_206C_206D_206F_202E(); + } + + internal void _200D_200D_206F_200B_200F_206F_206E_200B_202A_206D_206E_200F_206E_202A_206F_206D_206C_202D_200D_200E_206F_202C_200D_206E_202C_200E_206D_202C_200E_202C_206E_202E_200B_200C_206F_200E_200C_206F_206C_202E(Stream inStream, Stream outStream, long inSize, long outSize) + { + _200E_206D_200F_206C_200C_206A_200C_200E_206F_200F_206E_202C_200C_206A_200D_200B_200B_206A_202E_206B_202C_206A_206C_200C_200E_206B_200E_200D_206B_200D_200E_206E_200D_206F_202C_206B_200E_200B_200C_202E(inStream, outStream); + _202A_206E_206A_200F_200F_200E_202C_200F_206D_206A_202E_200F_206A_200C_206E_202E_202A_202A_202D_200F_206E_200E_206C_200E_200D_202D_202D_200E_206D_200B_202C_206E_206D_206F_200B_202B_200F_200B_200E_202B_202E obj = default(_202A_206E_206A_200F_200F_200E_202C_200F_206D_206A_202E_200F_206A_200C_206E_202E_202A_202A_202D_200F_206E_200E_206C_200E_200D_202D_202D_200E_206D_200B_202C_206E_206D_206F_200B_202B_200F_200B_200E_202B_202E); + obj._206D_202B_202B_202D_202D_206D_200D_200B_200C_202E_202A_206A_206A_200F_200C_206F_206B_202B_200F_200D_206B_206F_206C_200C_202D_206A_206B_206C_200F_206A_206F_206B_202B_202C_200B_206F_206A_202B_200B_200D_202E(); + uint num = 0u; + uint num2 = 0u; + uint num3 = 0u; + uint num4 = 0u; + ulong num5 = 0uL; + if (num5 < (ulong)outSize) + { + _206C_202B_200F_202C_200D_202B_206F_202C_206A_206D_206A_206D_200F_202A_200B_206A_206C_206F_202A_206E_206B_206C_206C_202C_200F_206A_206E_202E_206E_206D_206C_202E_206A_206B_202E_206C_200B_202D_200C_202C_202E[obj._200D_206E_202A_200C_202D_202B_200F_202C_200E_202B_202A_202E_206F_200F_202E_200E_200E_206D_206A_206A_206C_202C_202B_206A_206A_200B_202B_202E_202A_206C_202A_202A_206B_200C_202C_202B_202D_200B_200C_202E_202E << 4]._200F_200D_200C_206A_200F_206A_202E_200F_202B_200D_200C_206E_206A_200C_200F_202E_202C_200E_202C_200D_206F_200E_202D_206C_202A_200C_202B_200C_200E_206E_206E_202C_200C_202D_206A_206C_200B_202D_202A_206D_202E(_206E_202E_200D_206E_202B_206A_202A_200B_200B_200F_202B_206C_206D_202C_200C_206A_206F_206B_202D_200B_200B_202B_206C_206A_206E_206A_206D_206B_206A_202A_200D_202A_206B_200E_200F_206F_206F_202C_200E_206C_202E); + obj._206A_200B_202D_202E_202E_206B_206E_206E_202C_200E_206B_202A_202E_200D_206F_206A_200E_202B_206D_202E_206C_202B_206A_202A_200C_202B_202A_206B_202A_206C_202B_202B_206A_200B_202D_202E_202E_206D_206E_202B_202E(); + byte b = _200E_200D_206A_206F_206D_206A_202A_206A_206D_200E_200E_206A_200D_200C_206B_202E_202A_206A_200B_202A_202D_202C_206C_200B_206A_202E_202C_200B_206A_200E_206F_206A_206F_206A_202D_202C_200C_202A_200F_200C_202E._202E_202C_206A_202C_202D_206A_202D_202B_202B_202A_206C_206E_202C_206C_200E_200C_200B_202A_200C_202E_206C_200F_202E_200F_206A_200E_200E_200C_200B_206F_206B_206C_202A_200B_202D_200E_202E_202C_202E_200F_202E(_206E_202E_200D_206E_202B_206A_202A_200B_200B_200F_202B_206C_206D_202C_200C_206A_206F_206B_202D_200B_200B_202B_206C_206A_206E_206A_206D_206B_206A_202A_200D_202A_206B_200E_200F_206F_206F_202C_200E_206C_202E, 0u, 0); + _202B_206A_202B_200C_206C_202D_206D_202E_202B_200B_206D_206E_206C_206E_202E_206B_202E_200B_206E_200F_200D_206D_206B_206F_200C_202A_200F_200D_206A_202A_206C_206C_202D_206A_200E_200E_206D_202D_200C_200C_202E._200E_206D_200D_206E_202D_202C_200B_202E_206D_206C_200B_200F_200B_206C_200B_206E_200E_202B_202B_206E_206F_206E_202C_200F_202E_202A_200E_200C_206F_202C_206E_200F_202B_206C_206E_202C_206C_206C_202E(b); + ulong num6 = num5; + long num7 = 1L; + long num8 = (long)num6; + long num9 = num8 ^ num7; + long num10 = num8 & num7; + num5 = (ulong)(num9 + (num10 + num10)); + } + while (num5 < (ulong)outSize) + { + int num11 = (int)num5; + int num12 = (int)_202B_202C_200D_206E_200D_200C_200B_206F_200C_206C_200C_206F_206C_206A_206A_206F_206A_206A_200C_206B_202E_200F_200F_200B_200B_206F_206D_202E_200E_202C_202D_200F_200F_200C_200E_206B_200D_200C_206D_206B_202E; + int num13 = num11; + uint num14 = (uint)(num13 + num12 - (num13 | num12)); + _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E[] array = _206C_202B_200F_202C_200D_202B_206F_202C_206A_206D_206A_206D_200F_202A_200B_206A_206C_206F_202A_206E_206B_206C_206C_202C_200F_206A_206E_202E_206E_206D_206C_202E_206A_206B_202E_206C_200B_202D_200C_202C_202E; + uint num15 = obj._200D_206E_202A_200C_202D_202B_200F_202C_200E_202B_202A_202E_206F_200F_202E_200E_200E_206D_206A_206A_206C_202C_202B_206A_206A_200B_202B_202E_202A_206C_202A_202A_206B_200C_202C_202B_202D_200B_200C_202E_202E << 4; + num12 = (int)num14; + num13 = (int)num15; + long num7; + long num8; + if (array[(num13 | num12) + (num13 & num12)]._200F_200D_200C_206A_200F_206A_202E_200F_202B_200D_200C_206E_206A_200C_200F_202E_202C_200E_202C_200D_206F_200E_202D_206C_202A_200C_202B_200C_200E_206E_206E_202C_200C_202D_206A_206C_200B_202D_202A_206D_202E(_206E_202E_200D_206E_202B_206A_202A_200B_200B_200F_202B_206C_206D_202C_200C_206A_206F_206B_202D_200B_200B_202B_206C_206A_206E_206A_206D_206B_206A_202A_200D_202A_206B_200E_200F_206F_206F_202C_200E_206C_202E) == 0) + { + byte prevByte = _202B_206A_202B_200C_206C_202D_206D_202E_202B_200B_206D_206E_206C_206E_202E_206B_202E_200B_206E_200F_200D_206D_206B_206F_200C_202A_200F_200D_206A_202A_206C_206C_202D_206A_200E_200E_206D_202D_200C_200C_202E._202B_206D_206C_206C_206D_200B_202C_202C_202C_202C_200E_202E_200B_206C_200E_206F_202C_206F_200B_206D_206C_202B_206A_206B_202E_206E_206B_200D_206E_202C_200F_202A_202A_206C_200B_200D_206B_202D_200B_202E_202E(0u); + byte b2 = (obj._202C_206B_206F_200C_206F_202D_202E_200D_202A_200D_206D_200C_206A_200B_202B_200F_200C_202E_206E_200B_206A_206E_202D_200F_202C_206F_200D_200C_206D_202C_206C_200B_206A_206E_200F_202C_202E_202D_206D_206F_202E() ? _200E_200D_206A_206F_206D_206A_202A_206A_206D_200E_200E_206A_200D_200C_206B_202E_202A_206A_200B_202A_202D_202C_206C_200B_206A_202E_202C_200B_206A_200E_206F_206A_206F_206A_202D_202C_200C_202A_200F_200C_202E._202E_202C_206A_202C_202D_206A_202D_202B_202B_202A_206C_206E_202C_206C_200E_200C_200B_202A_200C_202E_206C_200F_202E_200F_206A_200E_200E_200C_200B_206F_206B_206C_202A_200B_202D_200E_202E_202C_202E_200F_202E(_206E_202E_200D_206E_202B_206A_202A_200B_200B_200F_202B_206C_206D_202C_200C_206A_206F_206B_202D_200B_200B_202B_206C_206A_206E_206A_206D_206B_206A_202A_200D_202A_206B_200E_200F_206F_206F_202C_200E_206C_202E, (uint)num5, prevByte) : _200E_200D_206A_206F_206D_206A_202A_206A_206D_200E_200E_206A_200D_200C_206B_202E_202A_206A_200B_202A_202D_202C_206C_200B_206A_202E_202C_200B_206A_200E_206F_206A_206F_206A_202D_202C_200C_202A_200F_200C_202E._200E_202E_206B_200C_206E_206B_202C_200F_202B_206C_200D_202B_206B_200E_206E_200B_202C_200C_206C_202D_202D_202C_202D_206E_200B_200E_206D_202C_200C_200F_202D_200E_206A_206A_202B_200C_206A_206E_200C_206B_202E(_206E_202E_200D_206E_202B_206A_202A_200B_200B_200F_202B_206C_206D_202C_200C_206A_206F_206B_202D_200B_200B_202B_206C_206A_206E_206A_206D_206B_206A_202A_200D_202A_206B_200E_200F_206F_206F_202C_200E_206C_202E, (uint)num5, prevByte, _202B_206A_202B_200C_206C_202D_206D_202E_202B_200B_206D_206E_206C_206E_202E_206B_202E_200B_206E_200F_200D_206D_206B_206F_200C_202A_200F_200D_206A_202A_206C_206C_202D_206A_200E_200E_206D_202D_200C_200C_202E._202B_206D_206C_206C_206D_200B_202C_202C_202C_202C_200E_202E_200B_206C_200E_206F_202C_206F_200B_206D_206C_202B_206A_206B_202E_206E_206B_200D_206E_202C_200F_202A_202A_206C_200B_200D_206B_202D_200B_202E_202E(num))); + _202B_206A_202B_200C_206C_202D_206D_202E_202B_200B_206D_206E_206C_206E_202E_206B_202E_200B_206E_200F_200D_206D_206B_206F_200C_202A_200F_200D_206A_202A_206C_206C_202D_206A_200E_200E_206D_202D_200C_200C_202E._200E_206D_200D_206E_202D_202C_200B_202E_206D_206C_200B_200F_200B_206C_200B_206E_200E_202B_202B_206E_206F_206E_202C_200F_202E_202A_200E_200C_206F_202C_206E_200F_202B_206C_206E_202C_206C_206C_202E(b2); + obj._206A_200B_202D_202E_202E_206B_206E_206E_202C_200E_206B_202A_202E_200D_206F_206A_200E_202B_206D_202E_206C_202B_206A_202A_200C_202B_202A_206B_202A_206C_202B_202B_206A_200B_202D_202E_202E_206D_206E_202B_202E(); + ulong num16 = num5; + num7 = 1L; + num8 = (long)num16; + num5 = (ulong)((num8 | num7) + (num8 & num7)); + continue; + } + uint num22; + if (_200C_202D_200F_202E_202B_202B_206A_200D_202E_202E_200D_200F_202B_206E_200C_200E_200D_202C_206F_206E_200C_206D_206D_202B_202B_200D_202D_202C_206C_206D_200F_206B_206C_200D_206F_200D_202C_206D_200E_206D_202E[obj._200D_206E_202A_200C_202D_202B_200F_202C_200E_202B_202A_202E_206F_200F_202E_200E_200E_206D_206A_206A_206C_202C_202B_206A_206A_200B_202B_202E_202A_206C_202A_202A_206B_200C_202C_202B_202D_200B_200C_202E_202E]._200F_200D_200C_206A_200F_206A_202E_200F_202B_200D_200C_206E_206A_200C_200F_202E_202C_200E_202C_200D_206F_200E_202D_206C_202A_200C_202B_200C_200E_206E_206E_202C_200C_202D_206A_206C_200B_202D_202A_206D_202E(_206E_202E_200D_206E_202B_206A_202A_200B_200B_200F_202B_206C_206D_202C_200C_206A_206F_206B_202D_200B_200B_202B_206C_206A_206E_206A_206D_206B_206A_202A_200D_202A_206B_200E_200F_206F_206F_202C_200E_206C_202E) == 1) + { + if (_200F_206A_206B_200B_202B_202E_206B_206D_206F_206F_206E_202C_200F_206B_202E_206A_202D_202C_206E_206C_202B_206F_206C_200C_200F_206A_206E_206F_202D_202B_202B_200E_200E_206E_206B_200F_200B_200D_200F_202D_202E[obj._200D_206E_202A_200C_202D_202B_200F_202C_200E_202B_202A_202E_206F_200F_202E_200E_200E_206D_206A_206A_206C_202C_202B_206A_206A_200B_202B_202E_202A_206C_202A_202A_206B_200C_202C_202B_202D_200B_200C_202E_202E]._200F_200D_200C_206A_200F_206A_202E_200F_202B_200D_200C_206E_206A_200C_200F_202E_202C_200E_202C_200D_206F_200E_202D_206C_202A_200C_202B_200C_200E_206E_206E_202C_200C_202D_206A_206C_200B_202D_202A_206D_202E(_206E_202E_200D_206E_202B_206A_202A_200B_200B_200F_202B_206C_206D_202C_200C_206A_206F_206B_202D_200B_200B_202B_206C_206A_206E_206A_206D_206B_206A_202A_200D_202A_206B_200E_200F_206F_206F_202C_200E_206C_202E) == 0) + { + _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E[] array2 = _206A_206C_206A_206B_202D_206F_200B_206D_200E_200F_200C_206C_202A_202E_202E_202A_200F_206B_202B_206A_202C_206E_206B_206D_202C_206B_206B_200E_202D_206B_206C_206E_200E_206E_206B_202A_202C_200F_202D_206D_202E; + uint num17 = obj._200D_206E_202A_200C_202D_202B_200F_202C_200E_202B_202A_202E_206F_200F_202E_200E_200E_206D_206A_206A_206C_202C_202B_206A_206A_200B_202B_202E_202A_206C_202A_202A_206B_200C_202C_202B_202D_200B_200C_202E_202E << 4; + num12 = (int)num14; + num13 = (int)num17; + if (array2[(num13 | num12) + (num13 & num12)]._200F_200D_200C_206A_200F_206A_202E_200F_202B_200D_200C_206E_206A_200C_200F_202E_202C_200E_202C_200D_206F_200E_202D_206C_202A_200C_202B_200C_200E_206E_206E_202C_200C_202D_206A_206C_200B_202D_202A_206D_202E(_206E_202E_200D_206E_202B_206A_202A_200B_200B_200F_202B_206C_206D_202C_200C_206A_206F_206B_202D_200B_200B_202B_206C_206A_206E_206A_206D_206B_206A_202A_200D_202A_206B_200E_200F_206F_206F_202C_200E_206C_202E) == 0) + { + obj._206F_206E_206A_200F_202E_200C_202A_206B_200B_202B_206B_200F_200F_206F_206B_200F_206E_202C_202B_206C_200D_206C_200E_206E_200D_206E_202D_200D_200D_206C_202C_200F_202D_202B_200D_202C_202D_200D_200F_206F_202E(); + _202B_206A_202B_200C_206C_202D_206D_202E_202B_200B_206D_206E_206C_206E_202E_206B_202E_200B_206E_200F_200D_206D_206B_206F_200C_202A_200F_200D_206A_202A_206C_206C_202D_206A_200E_200E_206D_202D_200C_200C_202E._200E_206D_200D_206E_202D_202C_200B_202E_206D_206C_200B_200F_200B_206C_200B_206E_200E_202B_202B_206E_206F_206E_202C_200F_202E_202A_200E_200C_206F_202C_206E_200F_202B_206C_206E_202C_206C_206C_202E(_202B_206A_202B_200C_206C_202D_206D_202E_202B_200B_206D_206E_206C_206E_202E_206B_202E_200B_206E_200F_200D_206D_206B_206F_200C_202A_200F_200D_206A_202A_206C_206C_202D_206A_200E_200E_206D_202D_200C_200C_202E._202B_206D_206C_206C_206D_200B_202C_202C_202C_202C_200E_202E_200B_206C_200E_206F_202C_206F_200B_206D_206C_202B_206A_206B_202E_206E_206B_200D_206E_202C_200F_202A_202A_206C_200B_200D_206B_202D_200B_202E_202E(num)); + ulong num18 = num5; + num7 = 1L; + num8 = (long)num18; + long num19 = num8 ^ num7; + long num20 = num8 & num7; + num5 = (ulong)(num19 + (num20 + num20)); + continue; + } + } + else + { + uint num21; + if (_206D_206C_202D_202C_206C_206A_202A_206D_206E_206F_200D_206E_202E_200C_200E_202B_200E_202E_206C_200E_206A_200C_200C_202C_206D_200E_202E_206D_200E_206D_206B_200E_200C_206A_206C_206F_202C_202B_202A_200C_202E[obj._200D_206E_202A_200C_202D_202B_200F_202C_200E_202B_202A_202E_206F_200F_202E_200E_200E_206D_206A_206A_206C_202C_202B_206A_206A_200B_202B_202E_202A_206C_202A_202A_206B_200C_202C_202B_202D_200B_200C_202E_202E]._200F_200D_200C_206A_200F_206A_202E_200F_202B_200D_200C_206E_206A_200C_200F_202E_202C_200E_202C_200D_206F_200E_202D_206C_202A_200C_202B_200C_200E_206E_206E_202C_200C_202D_206A_206C_200B_202D_202A_206D_202E(_206E_202E_200D_206E_202B_206A_202A_200B_200B_200F_202B_206C_206D_202C_200C_206A_206F_206B_202D_200B_200B_202B_206C_206A_206E_206A_206D_206B_206A_202A_200D_202A_206B_200E_200F_206F_206F_202C_200E_206C_202E) == 0) + { + num21 = num2; + } + else + { + if (_200B_206F_200C_206B_206D_202A_202E_202A_202C_200F_200C_200F_206E_202B_200D_206A_206F_206B_200C_202E_200C_206B_202B_206D_202D_202E_206B_206E_202A_200D_202A_202C_206C_200F_202C_202E_206B_206D_202A_206D_202E[obj._200D_206E_202A_200C_202D_202B_200F_202C_200E_202B_202A_202E_206F_200F_202E_200E_200E_206D_206A_206A_206C_202C_202B_206A_206A_200B_202B_202E_202A_206C_202A_202A_206B_200C_202C_202B_202D_200B_200C_202E_202E]._200F_200D_200C_206A_200F_206A_202E_200F_202B_200D_200C_206E_206A_200C_200F_202E_202C_200E_202C_200D_206F_200E_202D_206C_202A_200C_202B_200C_200E_206E_206E_202C_200C_202D_206A_206C_200B_202D_202A_206D_202E(_206E_202E_200D_206E_202B_206A_202A_200B_200B_200F_202B_206C_206D_202C_200C_206A_206F_206B_202D_200B_200B_202B_206C_206A_206E_206A_206D_206B_206A_202A_200D_202A_206B_200E_200F_206F_206F_202C_200E_206C_202E) == 0) + { + num21 = num3; + } + else + { + num21 = num4; + num4 = num3; + } + num3 = num2; + } + num2 = num; + num = num21; + } + num22 = _206F_200B_200F_206E_206C_206A_206D_200D_206C_202E_200C_206A_202B_202C_202B_202A_202E_206C_202D_206C_206E_200C_202B_206B_200D_206D_200E_202D_206F_206F_200D_202B_202E_206D_202E_202B_202A_200C_202D_206A_202E._200C_200F_206B_202C_200F_206F_206F_206D_206A_200B_202B_202C_202B_200B_206C_202D_200C_202E_206E_202B_206D_206D_202C_200B_200F_202E_206E_206D_202A_202E_202B_200C_200F_200C_206B_202D_200F_200D_206E_206A_202E(_206E_202E_200D_206E_202B_206A_202A_200B_200B_200F_202B_206C_206D_202C_200C_206A_206F_206B_202D_200B_200B_202B_206C_206A_206E_206A_206D_206B_206A_202A_200D_202A_206B_200E_200F_206F_206F_202C_200E_206C_202E, num14) + 2; + obj._200E_200E_206D_206E_206C_206C_200B_202B_200B_206E_206D_200D_202C_206D_202C_200F_206C_200B_206D_206B_206F_206F_200F_200B_202A_206D_200E_206D_202A_200E_202B_202B_200F_206E_200D_206F_200C_206E_202B_206C_202E(); + } + else + { + num4 = num3; + num3 = num2; + num2 = num; + num22 = 2 + _206C_202D_200D_202E_202D_206C_200C_200B_200B_206A_206A_202E_200C_200D_202E_200F_206A_200F_206B_200D_202E_206E_202D_206E_202A_202B_202E_206C_202C_202A_202C_206C_206F_202E_200D_206A_206E_202D_202E_206A_202E._200C_200F_206B_202C_200F_206F_206F_206D_206A_200B_202B_202C_202B_200B_206C_202D_200C_202E_206E_202B_206D_206D_202C_200B_200F_202E_206E_206D_202A_202E_202B_200C_200F_200C_206B_202D_200F_200D_206E_206A_202E(_206E_202E_200D_206E_202B_206A_202A_200B_200B_200F_202B_206C_206D_202C_200C_206A_206F_206B_202D_200B_200B_202B_206C_206A_206E_206A_206D_206B_206A_202A_200D_202A_206B_200E_200F_206F_206F_202C_200E_206C_202E, num14); + obj._200E_200D_200C_202B_206B_202B_206D_200B_200D_200D_206A_206C_206F_200E_200C_206B_206D_200F_202B_206D_202A_206C_200E_202A_202D_202C_206C_202E_202D_200B_200F_200F_206F_202B_200F_206E_202C_202B_206C_202E_202E(); + uint num23 = _206D_202C_206E_206A_202D_202C_200D_202A_206B_202A_206F_202A_200B_206B_206A_202A_202D_200D_200F_202C_206D_206B_202A_202A_202B_202B_202D_202C_206F_202B_200D_202E_202B_202E_200C_202C_206D_206E_200F_206A_202E[_202B_200D_202B_202A_206E_206D_200E_200D_200E_206C_206A_206A_200C_202E_200B_202B_200D_202A_202B_200C_206D_200C_206E_200B_200E_202C_202B_206E_206E_200E_202B_206E_200C_206E_202A_202C_202B_206D_206C_202C_202E(num22)]._200E_206C_202C_200F_200F_206F_200B_202A_206C_200B_200F_200C_206A_202C_200E_206D_206D_200D_200D_202B_202E_206A_206D_202A_202E_206E_200E_202C_202A_202C_202C_206B_202B_206B_200E_200B_206B_202C_200C_206C_202E(_206E_202E_200D_206E_202B_206A_202A_200B_200B_200F_202B_206C_206D_202C_200C_206A_206F_206B_202D_200B_200B_202B_206C_206A_206E_206A_206D_206B_206A_202A_200D_202A_206B_200E_200F_206F_206F_202C_200E_206C_202E); + if (num23 >= 4) + { + uint num24 = num23 >> 1; + num12 = 1; + num13 = (int)num24; + int num25 = ~(~num13 + num12); + num12 = 1; + num13 = (int)num23; + num12 = num13 + num12 - (num13 | num12); + num13 = 2; + int num26 = num13 + num12 - (num13 & num12); + num12 = 31; + num13 = num25; + num = (uint)(num26 << (num13 | num12) - (num13 ^ num12)); + if (num23 < 14) + { + uint num27 = num; + _206F_202C_202A_206A_206B_200B_202C_206E_206B_206A_202C_200F_202A_206E_200C_206C_200B_200C_200C_200B_200D_206E_200B_202C_206A_206E_206D_206A_202A_200E_200C_202C_202A_202D_202E_200F_200F_206E_206D_202E_202E[] models = _206B_200B_200C_200B_206F_206B_200D_202D_202E_200E_202E_200D_206D_200E_206A_200D_202A_202D_206B_202D_206F_202A_202C_206C_206A_202B_206D_202A_202E_202B_200D_206A_206F_206D_206E_202A_206A_206A_206C_206E_202E; + uint num28 = num; + num12 = (int)num23; + num13 = (int)num28; + int num29 = ~(~num13 + num12); + num12 = 1; + num13 = num29; + num = num27 + _202D_206F_200F_202C_202D_206E_202D_200B_206A_200B_202E_202D_202C_200E_206D_200F_200C_200D_206F_200F_200E_200C_206D_200D_202D_206C_206E_206C_206F_206D_206C_202E_206F_200B_200E_206A_206A_200C_206C_200C_202E._206E_200C_200C_200B_202D_206E_206A_200B_202B_206A_200E_206A_202E_200B_206F_202D_202D_206E_202E_202E_206C_202A_206D_206C_206B_206B_202C_200B_202C_200D_202A_200E_202A_202D_202D_206C_202C_206C_206E_206C_202E(models, (uint)(~(~num13 + num12)), _206E_202E_200D_206E_202B_206A_202A_200B_200B_200F_202B_206C_206D_202C_200C_206A_206F_206B_202D_200B_200B_202B_206C_206A_206E_206A_206D_206B_206A_202A_200D_202A_206B_200E_200F_206F_206F_202C_200E_206C_202E, num25); + } + else + { + uint num30 = num; + _202A_202C_202B_206B_202B_202A_200D_206E_206D_202B_202D_200C_206E_206A_202C_202E_206D_206E_202B_202B_200E_206D_206C_206F_206B_200F_206C_200D_202E_200B_202C_202E_206D_200C_200F_200F_206C_202E_206A_200D_202E obj2 = _206E_202E_200D_206E_202B_206A_202A_200B_200B_200F_202B_206C_206D_202C_200C_206A_206F_206B_202D_200B_200B_202B_206C_206A_206E_206A_206D_206B_206A_202A_200D_202A_206B_200E_200F_206F_206F_202C_200E_206C_202E; + num12 = 4; + num13 = num25; + num = num30 + (obj2._202B_200C_206A_206D_202D_200B_200C_200C_200C_202D_202A_202C_206E_202A_206E_206C_202C_206C_206E_206F_200C_200F_202D_200C_202A_202D_200F_200F_206A_202A_206E_200C_200F_206D_202C_206D_206F_200D_202E_200E_202E(~(~num13 + num12)) << 4); + num += _202B_202D_206C_206E_200C_200B_200B_206D_206B_202B_200F_206A_206B_202D_202E_200E_206B_206F_202A_200E_202D_202A_206E_206E_202C_206C_202C_200B_206F_202C_202C_206A_200E_202A_206E_206C_202A_200D_202E_202D_202E._202A_200E_200D_200B_206D_200B_200B_200D_200D_206D_202C_206E_200F_206E_206D_200C_200D_202E_206F_202D_206E_200C_206C_202D_200C_206E_202B_202A_202B_202E_206D_200B_200C_202A_200B_200D_202E_206E_206A_206E_202E(_206E_202E_200D_206E_202B_206A_202A_200B_200B_200F_202B_206C_206D_202C_200C_206A_206F_206B_202D_200B_200B_202B_206C_206A_206E_206A_206D_206B_206A_202A_200D_202A_206B_200E_200F_206F_206F_202C_200E_206C_202E); + } + } + else + { + num = num23; + } + } + if ((num >= num5 || num >= _206E_206F_202A_200F_202E_200D_206D_202A_206B_200B_200F_200D_200D_202B_206B_202E_202C_202C_202E_206A_200E_200F_200B_202C_206F_202D_200C_200F_202C_200B_206D_200D_202C_206C_202D_202A_202A_206C_206A_200C_202E) && num == uint.MaxValue) + { + break; + } + _202B_206A_202B_200C_206C_202D_206D_202E_202B_200B_206D_206E_206C_206E_202E_206B_202E_200B_206E_200F_200D_206D_206B_206F_200C_202A_200F_200D_206A_202A_206C_206C_202D_206A_200E_200E_206D_202D_200C_200C_202E._200B_200C_202E_202C_206E_206B_206C_202C_200B_206C_200B_206D_200D_206A_200F_202C_202A_206D_200E_206A_206D_206F_200E_202A_206C_202A_202D_200D_202C_206F_202D_200E_200C_202D_202C_202E_206B_200B_206C_202E(num, num22); + ulong num31 = num5; + num7 = num22; + num8 = (long)num31; + long num32 = num8 ^ num7; + long num33 = num8 & num7; + num5 = (ulong)(num32 + (num33 + num33)); + } + _202B_206A_202B_200C_206C_202D_206D_202E_202B_200B_206D_206E_206C_206E_202E_206B_202E_200B_206E_200F_200D_206D_206B_206F_200C_202A_200F_200D_206A_202A_206C_206C_202D_206A_200E_200E_206D_202D_200C_200C_202E._206D_200D_206B_200E_206D_202B_202B_200B_200D_202E_202C_202D_202C_206C_200B_206A_202C_202C_202C_202B_202E_206F_200D_206D_202B_202A_202B_202E_202C_202A_206A_202E_206D_200E_200C_200C_206D_200B_202D_200E_202E(); + _202B_206A_202B_200C_206C_202D_206D_202E_202B_200B_206D_206E_206C_206E_202E_206B_202E_200B_206E_200F_200D_206D_206B_206F_200C_202A_200F_200D_206A_202A_206C_206C_202D_206A_200E_200E_206D_202D_200C_200C_202E._202B_206E_206E_206D_202E_200E_206B_200E_200D_200E_202C_206B_206A_200C_206C_206E_206D_206F_206F_206A_206F_200E_206D_202B_200D_206D_206D_202B_200C_206B_206E_202D_202C_206D_200E_206D_202A_200B_206A_202E(); + _206E_202E_200D_206E_202B_206A_202A_200B_200B_200F_202B_206C_206D_202C_200C_206A_206F_206B_202D_200B_200B_202B_206C_206A_206E_206A_206D_206B_206A_202A_200D_202A_206B_200E_200F_206F_206F_202C_200E_206C_202E._206D_206F_206E_206D_200F_206C_200C_206A_200F_206E_200E_202B_206A_206E_200F_206E_206A_202B_206C_206E_200D_206B_202D_202D_206E_200C_200B_206D_202C_206D_206F_206E_200B_200B_202E_206B_206D_206D_206A_206D_202E(); + } + + internal void _202D_202B_206B_202C_202D_202D_200D_200E_206E_200E_206E_206B_206F_206F_202D_200E_200D_200B_200C_200D_206C_200B_206D_200C_200D_206D_206E_200B_206E_202E_200E_206D_206D_206B_206A_200D_202C_200D_200E_206E_202E(byte[] properties) + { + int lc = properties[0] % 9; + int num = properties[0] / 9; + int lp = num % 5; + int pb = num / 5; + uint num2 = 0u; + int num3 = 0; + while (num3 < 4) + { + uint num4 = num2; + int num5 = num3; + int num6 = 1; + byte num7 = properties[(num6 | num5) + (num6 & num5)]; + int num8 = num3 * 8; + num5 = 31; + num6 = num8; + num5 = num7 << num6 + num5 - (num6 | num5); + num6 = (int)num4; + int num9 = num6 ^ num5; + int num10 = num6 & num5; + num2 = (uint)(num9 + (num10 + num10)); + int num11 = num3; + num5 = 1; + num6 = num11; + num3 = (num6 | num5) + (num6 & num5); + } + _206A_202C_202B_206A_206D_200F_206C_202A_200F_202E_202D_200E_200D_206C_202C_202D_200F_202C_206C_206A_200B_202D_200D_206D_200B_206A_202B_202C_202C_206D_206F_200D_202B_200D_200F_200F_206B_202B_206B_202B_202E(num2); + _206D_206A_202D_206F_200F_202D_206A_206D_200F_206E_200B_202C_206E_206E_206E_200D_206A_206C_200D_206D_200B_206C_200D_206E_206B_200D_206B_206F_200E_200D_202B_200C_206D_202E_200F_206C_200F_202C_206B_202D_202E(lp, lc); + _200B_200E_206E_206B_200B_200C_202B_200B_202A_206C_200C_206F_206E_202B_206D_200E_200F_206A_200C_206C_206D_206D_206B_200C_202D_200F_206A_206D_202C_202E_206A_206A_206B_206F_202A_200F_200B_206E_206D_202D_202E(pb); + } + + internal static uint _202B_200D_202B_202A_206E_206D_200E_200D_200E_206C_206A_206A_200C_202E_200B_202B_200D_202A_202B_200C_206D_200C_206E_200B_200E_202C_202B_206E_206E_200E_202B_206E_200C_206E_202A_202C_202B_206D_206C_202C_202E(uint len) + { + uint num = len; + int num2 = 2; + int num3 = (int)num; + len = (uint)(~(~num3 + num2)); + if (len < 4) + { + return len; + } + return 3u; + } +} +internal class _200F_202E_206F_206E_206C_200B_200B_200B_206E_202E_200D_206F_202A_206F_206F_206E_200E_206A_200F_202C_202A_206D_202D_202E_200F_200F_202B_206B_200B_206A_206A_200E_206C_206B_200C_200D_200E_206D_200E_206B_202E +{ + internal byte[] _200E_206C_202D_202D_200B_200F_202D_200E_200F_200C_206F_202D_200D_202A_206C_206C_200C_200B_206D_202E_206A_202B_202D_206D_202B_200B_202E_200C_206D_200E_200C_202E_200C_200F_200B_200E_200C_202B_202D_202D_202E; + + internal uint _200F_200F_202B_206A_206F_202E_200B_202D_200F_200F_206E_202B_202C_206A_200E_206D_206B_202A_206A_202B_202E_206A_206D_206E_202B_200E_206B_206E_200F_200F_200E_200E_206B_202A_202E_206E_202D_206F_206A_202C_202E; + + internal Stream _206F_200E_206E_200B_206B_206E_200F_206C_200F_206D_206E_206E_206E_200E_206A_200C_202D_206E_200F_200E_206F_202A_202C_202C_200D_206F_206F_206F_206B_202C_206D_200E_206B_206E_206F_206D_200D_202B_200D_206E_202E; + + internal uint _206B_202E_206D_202D_200D_202A_206A_206F_206B_200B_206F_202C_206A_206C_200F_202E_206B_200E_202A_200C_206C_200D_202E_200B_202B_206C_200F_200B_202A_200B_206E_206F_200D_202B_206B_200B_202D_200C_200E_206F_202E; + + internal uint _206E_202B_202E_202D_206C_206B_200B_206D_202B_200D_202C_206E_200E_206E_202B_200D_202E_200B_200D_202E_202E_200B_206C_202E_206A_200C_206A_200F_200E_200B_206B_200E_206D_206E_200E_200E_200C_200F_200B_206D_202E; + + internal void _206E_200D_202A_206B_206A_200F_206E_202D_200B_200D_206B_202B_206E_202E_202D_202E_202B_206F_202E_206F_206E_206F_206D_206A_202A_202B_200F_206E_206D_200C_200F_202C_206C_202C_202D_206A_202A_206F_202A_202E(uint windowSize) + { + if (_206E_202B_202E_202D_206C_206B_200B_206D_202B_200D_202C_206E_200E_206E_202B_200D_202E_200B_200D_202E_202E_200B_206C_202E_206A_200C_206A_200F_200E_200B_206B_200E_206D_206E_200E_200E_200C_200F_200B_206D_202E != windowSize) + { + _200E_206C_202D_202D_200B_200F_202D_200E_200F_200C_206F_202D_200D_202A_206C_206C_200C_200B_206D_202E_206A_202B_202D_206D_202B_200B_202E_200C_206D_200E_200C_202E_200C_200F_200B_200E_200C_202B_202D_202D_202E = new byte[windowSize]; + } + _206E_202B_202E_202D_206C_206B_200B_206D_202B_200D_202C_206E_200E_206E_202B_200D_202E_200B_200D_202E_202E_200B_206C_202E_206A_200C_206A_200F_200E_200B_206B_200E_206D_206E_200E_200E_200C_200F_200B_206D_202E = windowSize; + _200F_200F_202B_206A_206F_202E_200B_202D_200F_200F_206E_202B_202C_206A_200E_206D_206B_202A_206A_202B_202E_206A_206D_206E_202B_200E_206B_206E_200F_200F_200E_200E_206B_202A_202E_206E_202D_206F_206A_202C_202E = 0u; + _206B_202E_206D_202D_200D_202A_206A_206F_206B_200B_206F_202C_206A_206C_200F_202E_206B_200E_202A_200C_206C_200D_202E_200B_202B_206C_200F_200B_202A_200B_206E_206F_200D_202B_206B_200B_202D_200C_200E_206F_202E = 0u; + } + + internal void _200E_200E_200C_202E_202E_200E_206B_206F_202A_200F_202A_200E_200F_206E_200F_202C_200F_202A_202B_202A_200C_200C_202B_202B_200B_206B_202B_206E_200C_202D_202D_200F_206A_200D_206A_206D_202C_206E_206E_206C_202E(Stream stream, bool solid) + { + _202B_206E_206E_206D_202E_200E_206B_200E_200D_200E_202C_206B_206A_200C_206C_206E_206D_206F_206F_206A_206F_200E_206D_202B_200D_206D_206D_202B_200C_206B_206E_202D_202C_206D_200E_206D_202A_200B_206A_202E(); + _206F_200E_206E_200B_206B_206E_200F_206C_200F_206D_206E_206E_206E_200E_206A_200C_202D_206E_200F_200E_206F_202A_202C_202C_200D_206F_206F_206F_206B_202C_206D_200E_206B_206E_206F_206D_200D_202B_200D_206E_202E = stream; + if (!solid) + { + _206B_202E_206D_202D_200D_202A_206A_206F_206B_200B_206F_202C_206A_206C_200F_202E_206B_200E_202A_200C_206C_200D_202E_200B_202B_206C_200F_200B_202A_200B_206E_206F_200D_202B_206B_200B_202D_200C_200E_206F_202E = 0u; + _200F_200F_202B_206A_206F_202E_200B_202D_200F_200F_206E_202B_202C_206A_200E_206D_206B_202A_206A_202B_202E_206A_206D_206E_202B_200E_206B_206E_200F_200F_200E_200E_206B_202A_202E_206E_202D_206F_206A_202C_202E = 0u; + } + } + + internal void _202B_206E_206E_206D_202E_200E_206B_200E_200D_200E_202C_206B_206A_200C_206C_206E_206D_206F_206F_206A_206F_200E_206D_202B_200D_206D_206D_202B_200C_206B_206E_202D_202C_206D_200E_206D_202A_200B_206A_202E() + { + _206D_200D_206B_200E_206D_202B_202B_200B_200D_202E_202C_202D_202C_206C_200B_206A_202C_202C_202C_202B_202E_206F_200D_206D_202B_202A_202B_202E_202C_202A_206A_202E_206D_200E_200C_200C_206D_200B_202D_200E_202E(); + _206F_200E_206E_200B_206B_206E_200F_206C_200F_206D_206E_206E_206E_200E_206A_200C_202D_206E_200F_200E_206F_202A_202C_202C_200D_206F_206F_206F_206B_202C_206D_200E_206B_206E_206F_206D_200D_202B_200D_206E_202E = null; + Buffer.BlockCopy(new byte[_200E_206C_202D_202D_200B_200F_202D_200E_200F_200C_206F_202D_200D_202A_206C_206C_200C_200B_206D_202E_206A_202B_202D_206D_202B_200B_202E_200C_206D_200E_200C_202E_200C_200F_200B_200E_200C_202B_202D_202D_202E.Length], 0, _200E_206C_202D_202D_200B_200F_202D_200E_200F_200C_206F_202D_200D_202A_206C_206C_200C_200B_206D_202E_206A_202B_202D_206D_202B_200B_202E_200C_206D_200E_200C_202E_200C_200F_200B_200E_200C_202B_202D_202D_202E, 0, _200E_206C_202D_202D_200B_200F_202D_200E_200F_200C_206F_202D_200D_202A_206C_206C_200C_200B_206D_202E_206A_202B_202D_206D_202B_200B_202E_200C_206D_200E_200C_202E_200C_200F_200B_200E_200C_202B_202D_202D_202E.Length); + } + + internal void _206D_200D_206B_200E_206D_202B_202B_200B_200D_202E_202C_202D_202C_206C_200B_206A_202C_202C_202C_202B_202E_206F_200D_206D_202B_202A_202B_202E_202C_202A_206A_202E_206D_200E_200C_200C_206D_200B_202D_200E_202E() + { + uint num = _200F_200F_202B_206A_206F_202E_200B_202D_200F_200F_206E_202B_202C_206A_200E_206D_206B_202A_206A_202B_202E_206A_206D_206E_202B_200E_206B_206E_200F_200F_200E_200E_206B_202A_202E_206E_202D_206F_206A_202C_202E; + int num2 = (int)_206B_202E_206D_202D_200D_202A_206A_206F_206B_200B_206F_202C_206A_206C_200F_202E_206B_200E_202A_200C_206C_200D_202E_200B_202B_206C_200F_200B_202A_200B_206E_206F_200D_202B_206B_200B_202D_200C_200E_206F_202E; + int num3 = (int)num; + uint num4 = (uint)(~(~num3 + num2)); + if (num4 != 0) + { + _206F_200E_206E_200B_206B_206E_200F_206C_200F_206D_206E_206E_206E_200E_206A_200C_202D_206E_200F_200E_206F_202A_202C_202C_200D_206F_206F_206F_206B_202C_206D_200E_206B_206E_206F_206D_200D_202B_200D_206E_202E.Write(_200E_206C_202D_202D_200B_200F_202D_200E_200F_200C_206F_202D_200D_202A_206C_206C_200C_200B_206D_202E_206A_202B_202D_206D_202B_200B_202E_200C_206D_200E_200C_202E_200C_200F_200B_200E_200C_202B_202D_202D_202E, (int)_206B_202E_206D_202D_200D_202A_206A_206F_206B_200B_206F_202C_206A_206C_200F_202E_206B_200E_202A_200C_206C_200D_202E_200B_202B_206C_200F_200B_202A_200B_206E_206F_200D_202B_206B_200B_202D_200C_200E_206F_202E, (int)num4); + if (_200F_200F_202B_206A_206F_202E_200B_202D_200F_200F_206E_202B_202C_206A_200E_206D_206B_202A_206A_202B_202E_206A_206D_206E_202B_200E_206B_206E_200F_200F_200E_200E_206B_202A_202E_206E_202D_206F_206A_202C_202E >= _206E_202B_202E_202D_206C_206B_200B_206D_202B_200D_202C_206E_200E_206E_202B_200D_202E_200B_200D_202E_202E_200B_206C_202E_206A_200C_206A_200F_200E_200B_206B_200E_206D_206E_200E_200E_200C_200F_200B_206D_202E) + { + _200F_200F_202B_206A_206F_202E_200B_202D_200F_200F_206E_202B_202C_206A_200E_206D_206B_202A_206A_202B_202E_206A_206D_206E_202B_200E_206B_206E_200F_200F_200E_200E_206B_202A_202E_206E_202D_206F_206A_202C_202E = 0u; + } + _206B_202E_206D_202D_200D_202A_206A_206F_206B_200B_206F_202C_206A_206C_200F_202E_206B_200E_202A_200C_206C_200D_202E_200B_202B_206C_200F_200B_202A_200B_206E_206F_200D_202B_206B_200B_202D_200C_200E_206F_202E = _200F_200F_202B_206A_206F_202E_200B_202D_200F_200F_206E_202B_202C_206A_200E_206D_206B_202A_206A_202B_202E_206A_206D_206E_202B_200E_206B_206E_200F_200F_200E_200E_206B_202A_202E_206E_202D_206F_206A_202C_202E; + } + } + + internal void _200B_200C_202E_202C_206E_206B_206C_202C_200B_206C_200B_206D_200D_206A_200F_202C_202A_206D_200E_206A_206D_206F_200E_202A_206C_202A_202D_200D_202C_206F_202D_200E_200C_202D_202C_202E_206B_200B_206C_202E(uint distance, uint len) + { + uint num = _200F_200F_202B_206A_206F_202E_200B_202D_200F_200F_206E_202B_202C_206A_200E_206D_206B_202A_206A_202B_202E_206A_206D_206E_202B_200E_206B_206E_200F_200F_200E_200E_206B_202A_202E_206E_202D_206F_206A_202C_202E; + int num2 = (int)distance; + int num3 = (int)num; + int num4 = ~(~num3 + num2); + num2 = 1; + num3 = num4; + uint num5 = (uint)(~(~num3 + num2)); + if (num5 >= _206E_202B_202E_202D_206C_206B_200B_206D_202B_200D_202C_206E_200E_206E_202B_200D_202E_200B_200D_202E_202E_200B_206C_202E_206A_200C_206A_200F_200E_200B_206B_200E_206D_206E_200E_200E_200C_200F_200B_206D_202E) + { + uint num6 = num5; + num2 = (int)_206E_202B_202E_202D_206C_206B_200B_206D_202B_200D_202C_206E_200E_206E_202B_200D_202E_200B_200D_202E_202E_200B_206C_202E_206A_200C_206A_200F_200E_200B_206B_200E_206D_206E_200E_200E_200C_200F_200B_206D_202E; + num3 = (int)num6; + int num7 = num3 ^ num2; + int num8 = num3 & num2; + num5 = (uint)(num7 + (num8 + num8)); + } + while (len != 0) + { + if (num5 >= _206E_202B_202E_202D_206C_206B_200B_206D_202B_200D_202C_206E_200E_206E_202B_200D_202E_200B_200D_202E_202E_200B_206C_202E_206A_200C_206A_200F_200E_200B_206B_200E_206D_206E_200E_200E_200C_200F_200B_206D_202E) + { + num5 = 0u; + } + byte[] array = _200E_206C_202D_202D_200B_200F_202D_200E_200F_200C_206F_202D_200D_202A_206C_206C_200C_200B_206D_202E_206A_202B_202D_206D_202B_200B_202E_200C_206D_200E_200C_202E_200C_200F_200B_200E_200C_202B_202D_202D_202E; + uint num9 = _200F_200F_202B_206A_206F_202E_200B_202D_200F_200F_206E_202B_202C_206A_200E_206D_206B_202A_206A_202B_202E_206A_206D_206E_202B_200E_206B_206E_200F_200F_200E_200E_206B_202A_202E_206E_202D_206F_206A_202C_202E; + num2 = 1; + num3 = (int)num9; + int num10 = num3 ^ num2; + int num11 = num3 & num2; + _200F_200F_202B_206A_206F_202E_200B_202D_200F_200F_206E_202B_202C_206A_200E_206D_206B_202A_206A_202B_202E_206A_206D_206E_202B_200E_206B_206E_200F_200F_200E_200E_206B_202A_202E_206E_202D_206F_206A_202C_202E = (uint)(num10 + (num11 + num11)); + byte[] array2 = _200E_206C_202D_202D_200B_200F_202D_200E_200F_200C_206F_202D_200D_202A_206C_206C_200C_200B_206D_202E_206A_202B_202D_206D_202B_200B_202E_200C_206D_200E_200C_202E_200C_200F_200B_200E_200C_202B_202D_202D_202E; + uint num12 = num5; + num2 = 1; + num3 = (int)num12; + num5 = (uint)((num3 | num2) + (num3 & num2)); + array[num9] = array2[num12]; + if (_200F_200F_202B_206A_206F_202E_200B_202D_200F_200F_206E_202B_202C_206A_200E_206D_206B_202A_206A_202B_202E_206A_206D_206E_202B_200E_206B_206E_200F_200F_200E_200E_206B_202A_202E_206E_202D_206F_206A_202C_202E >= _206E_202B_202E_202D_206C_206B_200B_206D_202B_200D_202C_206E_200E_206E_202B_200D_202E_200B_200D_202E_202E_200B_206C_202E_206A_200C_206A_200F_200E_200B_206B_200E_206D_206E_200E_200E_200C_200F_200B_206D_202E) + { + _206D_200D_206B_200E_206D_202B_202B_200B_200D_202E_202C_202D_202C_206C_200B_206A_202C_202C_202C_202B_202E_206F_200D_206D_202B_202A_202B_202E_202C_202A_206A_202E_206D_200E_200C_200C_206D_200B_202D_200E_202E(); + } + uint num13 = len; + num2 = 1; + num3 = (int)num13; + len = (uint)(~(~num3 + num2)); + } + } + + internal void _200E_206D_200D_206E_202D_202C_200B_202E_206D_206C_200B_200F_200B_206C_200B_206E_200E_202B_202B_206E_206F_206E_202C_200F_202E_202A_200E_200C_206F_202C_206E_200F_202B_206C_206E_202C_206C_206C_202E(byte b) + { + byte[] array = _200E_206C_202D_202D_200B_200F_202D_200E_200F_200C_206F_202D_200D_202A_206C_206C_200C_200B_206D_202E_206A_202B_202D_206D_202B_200B_202E_200C_206D_200E_200C_202E_200C_200F_200B_200E_200C_202B_202D_202D_202E; + uint num = _200F_200F_202B_206A_206F_202E_200B_202D_200F_200F_206E_202B_202C_206A_200E_206D_206B_202A_206A_202B_202E_206A_206D_206E_202B_200E_206B_206E_200F_200F_200E_200E_206B_202A_202E_206E_202D_206F_206A_202C_202E; + int num2 = 1; + int num3 = (int)num; + int num4 = num3 ^ num2; + int num5 = num3 & num2; + _200F_200F_202B_206A_206F_202E_200B_202D_200F_200F_206E_202B_202C_206A_200E_206D_206B_202A_206A_202B_202E_206A_206D_206E_202B_200E_206B_206E_200F_200F_200E_200E_206B_202A_202E_206E_202D_206F_206A_202C_202E = (uint)(num4 + (num5 + num5)); + array[num] = b; + if (_200F_200F_202B_206A_206F_202E_200B_202D_200F_200F_206E_202B_202C_206A_200E_206D_206B_202A_206A_202B_202E_206A_206D_206E_202B_200E_206B_206E_200F_200F_200E_200E_206B_202A_202E_206E_202D_206F_206A_202C_202E >= _206E_202B_202E_202D_206C_206B_200B_206D_202B_200D_202C_206E_200E_206E_202B_200D_202E_200B_200D_202E_202E_200B_206C_202E_206A_200C_206A_200F_200E_200B_206B_200E_206D_206E_200E_200E_200C_200F_200B_206D_202E) + { + _206D_200D_206B_200E_206D_202B_202B_200B_200D_202E_202C_202D_202C_206C_200B_206A_202C_202C_202C_202B_202E_206F_200D_206D_202B_202A_202B_202E_202C_202A_206A_202E_206D_200E_200C_200C_206D_200B_202D_200E_202E(); + } + } + + internal byte _202B_206D_206C_206C_206D_200B_202C_202C_202C_202C_200E_202E_200B_206C_200E_206F_202C_206F_200B_206D_206C_202B_206A_206B_202E_206E_206B_200D_206E_202C_200F_202A_202A_206C_200B_200D_206B_202D_200B_202E_202E(uint distance) + { + uint num = _200F_200F_202B_206A_206F_202E_200B_202D_200F_200F_206E_202B_202C_206A_200E_206D_206B_202A_206A_202B_202E_206A_206D_206E_202B_200E_206B_206E_200F_200F_200E_200E_206B_202A_202E_206E_202D_206F_206A_202C_202E; + int num2 = (int)distance; + int num3 = (int)num; + int num4 = ~(~num3 + num2); + num2 = 1; + num3 = num4; + uint num5 = (uint)(~(~num3 + num2)); + if (num5 >= _206E_202B_202E_202D_206C_206B_200B_206D_202B_200D_202C_206E_200E_206E_202B_200D_202E_200B_200D_202E_202E_200B_206C_202E_206A_200C_206A_200F_200E_200B_206B_200E_206D_206E_200E_200E_200C_200F_200B_206D_202E) + { + uint num6 = num5; + num2 = (int)_206E_202B_202E_202D_206C_206B_200B_206D_202B_200D_202C_206E_200E_206E_202B_200D_202E_200B_200D_202E_202E_200B_206C_202E_206A_200C_206A_200F_200E_200B_206B_200E_206D_206E_200E_200E_200C_200F_200B_206D_202E; + num3 = (int)num6; + int num7 = num3 ^ num2; + int num8 = num3 & num2; + num5 = (uint)(num7 + (num8 + num8)); + } + return _200E_206C_202D_202D_200B_200F_202D_200E_200F_200C_206F_202D_200D_202A_206C_206C_200C_200B_206D_202E_206A_202B_202D_206D_202B_200B_202E_200C_206D_200E_200C_202E_200C_200F_200B_200E_200C_202B_202D_202D_202E[num5]; + } + + internal _200F_202E_206F_206E_206C_200B_200B_200B_206E_202E_200D_206F_202A_206F_206F_206E_200E_206A_200F_202C_202A_206D_202D_202E_200F_200F_202B_206B_200B_206A_206A_200E_206C_206B_200C_200D_200E_206D_200E_206B_202E() + { + } +} +internal struct _202A_206E_206A_200F_200F_200E_202C_200F_206D_206A_202E_200F_206A_200C_206E_202E_202A_202A_202D_200F_206E_200E_206C_200E_200D_202D_202D_200E_206D_200B_202C_206E_206D_206F_200B_202B_200F_200B_200E_202B_202E +{ + internal uint _200D_206E_202A_200C_202D_202B_200F_202C_200E_202B_202A_202E_206F_200F_202E_200E_200E_206D_206A_206A_206C_202C_202B_206A_206A_200B_202B_202E_202A_206C_202A_202A_206B_200C_202C_202B_202D_200B_200C_202E_202E; + + internal void _206D_202B_202B_202D_202D_206D_200D_200B_200C_202E_202A_206A_206A_200F_200C_206F_206B_202B_200F_200D_206B_206F_206C_200C_202D_206A_206B_206C_200F_206A_206F_206B_202B_202C_200B_206F_206A_202B_200B_200D_202E() + { + _200D_206E_202A_200C_202D_202B_200F_202C_200E_202B_202A_202E_206F_200F_202E_200E_200E_206D_206A_206A_206C_202C_202B_206A_206A_200B_202B_202E_202A_206C_202A_202A_206B_200C_202C_202B_202D_200B_200C_202E_202E = 0u; + } + + internal void _206A_200B_202D_202E_202E_206B_206E_206E_202C_200E_206B_202A_202E_200D_206F_206A_200E_202B_206D_202E_206C_202B_206A_202A_200C_202B_202A_206B_202A_206C_202B_202B_206A_200B_202D_202E_202E_206D_206E_202B_202E() + { + if (_200D_206E_202A_200C_202D_202B_200F_202C_200E_202B_202A_202E_206F_200F_202E_200E_200E_206D_206A_206A_206C_202C_202B_206A_206A_200B_202B_202E_202A_206C_202A_202A_206B_200C_202C_202B_202D_200B_200C_202E_202E < 4) + { + _200D_206E_202A_200C_202D_202B_200F_202C_200E_202B_202A_202E_206F_200F_202E_200E_200E_206D_206A_206A_206C_202C_202B_206A_206A_200B_202B_202E_202A_206C_202A_202A_206B_200C_202C_202B_202D_200B_200C_202E_202E = 0u; + } + else if (_200D_206E_202A_200C_202D_202B_200F_202C_200E_202B_202A_202E_206F_200F_202E_200E_200E_206D_206A_206A_206C_202C_202B_206A_206A_200B_202B_202E_202A_206C_202A_202A_206B_200C_202C_202B_202D_200B_200C_202E_202E < 10) + { + uint num = _200D_206E_202A_200C_202D_202B_200F_202C_200E_202B_202A_202E_206F_200F_202E_200E_200E_206D_206A_206A_206C_202C_202B_206A_206A_200B_202B_202E_202A_206C_202A_202A_206B_200C_202C_202B_202D_200B_200C_202E_202E; + int num2 = 3; + int num3 = (int)num; + _200D_206E_202A_200C_202D_202B_200F_202C_200E_202B_202A_202E_206F_200F_202E_200E_200E_206D_206A_206A_206C_202C_202B_206A_206A_200B_202B_202E_202A_206C_202A_202A_206B_200C_202C_202B_202D_200B_200C_202E_202E = (uint)(~(~num3 + num2)); + } + else + { + uint num4 = _200D_206E_202A_200C_202D_202B_200F_202C_200E_202B_202A_202E_206F_200F_202E_200E_200E_206D_206A_206A_206C_202C_202B_206A_206A_200B_202B_202E_202A_206C_202A_202A_206B_200C_202C_202B_202D_200B_200C_202E_202E; + int num2 = 6; + int num3 = (int)num4; + _200D_206E_202A_200C_202D_202B_200F_202C_200E_202B_202A_202E_206F_200F_202E_200E_200E_206D_206A_206A_206C_202C_202B_206A_206A_200B_202B_202E_202A_206C_202A_202A_206B_200C_202C_202B_202D_200B_200C_202E_202E = (uint)(~(~num3 + num2)); + } + } + + internal void _200E_200D_200C_202B_206B_202B_206D_200B_200D_200D_206A_206C_206F_200E_200C_206B_206D_200F_202B_206D_202A_206C_200E_202A_202D_202C_206C_202E_202D_200B_200F_200F_206F_202B_200F_206E_202C_202B_206C_202E_202E() + { + _200D_206E_202A_200C_202D_202B_200F_202C_200E_202B_202A_202E_206F_200F_202E_200E_200E_206D_206A_206A_206C_202C_202B_206A_206A_200B_202B_202E_202A_206C_202A_202A_206B_200C_202C_202B_202D_200B_200C_202E_202E = ((_200D_206E_202A_200C_202D_202B_200F_202C_200E_202B_202A_202E_206F_200F_202E_200E_200E_206D_206A_206A_206C_202C_202B_206A_206A_200B_202B_202E_202A_206C_202A_202A_206B_200C_202C_202B_202D_200B_200C_202E_202E < 7) ? 7u : 10u); + } + + internal void _200E_200E_206D_206E_206C_206C_200B_202B_200B_206E_206D_200D_202C_206D_202C_200F_206C_200B_206D_206B_206F_206F_200F_200B_202A_206D_200E_206D_202A_200E_202B_202B_200F_206E_200D_206F_200C_206E_202B_206C_202E() + { + _200D_206E_202A_200C_202D_202B_200F_202C_200E_202B_202A_202E_206F_200F_202E_200E_200E_206D_206A_206A_206C_202C_202B_206A_206A_200B_202B_202E_202A_206C_202A_202A_206B_200C_202C_202B_202D_200B_200C_202E_202E = ((_200D_206E_202A_200C_202D_202B_200F_202C_200E_202B_202A_202E_206F_200F_202E_200E_200E_206D_206A_206A_206C_202C_202B_206A_206A_200B_202B_202E_202A_206C_202A_202A_206B_200C_202C_202B_202D_200B_200C_202E_202E < 7) ? 8u : 11u); + } + + internal void _206F_206E_206A_200F_202E_200C_202A_206B_200B_202B_206B_200F_200F_206F_206B_200F_206E_202C_202B_206C_200D_206C_200E_206E_200D_206E_202D_200D_200D_206C_202C_200F_202D_202B_200D_202C_202D_200D_200F_206F_202E() + { + _200D_206E_202A_200C_202D_202B_200F_202C_200E_202B_202A_202E_206F_200F_202E_200E_200E_206D_206A_206A_206C_202C_202B_206A_206A_200B_202B_202E_202A_206C_202A_202A_206B_200C_202C_202B_202D_200B_200C_202E_202E = ((_200D_206E_202A_200C_202D_202B_200F_202C_200E_202B_202A_202E_206F_200F_202E_200E_200E_206D_206A_206A_206C_202C_202B_206A_206A_200B_202B_202E_202A_206C_202A_202A_206B_200C_202C_202B_202D_200B_200C_202E_202E < 7) ? 9u : 11u); + } + + internal bool _202C_206B_206F_200C_206F_202D_202E_200D_202A_200D_206D_200C_206A_200B_202B_200F_200C_202E_206E_200B_206A_206E_202D_200F_202C_206F_200D_200C_206D_202C_206C_200B_206A_206E_200F_202C_202E_202D_206D_206F_202E() + { + return _200D_206E_202A_200C_202D_202B_200F_202C_200E_202B_202A_202E_206F_200F_202E_200E_200E_206D_206A_206A_206C_202C_202B_206A_206A_200B_202B_202E_202A_206C_202A_202A_206B_200C_202C_202B_202D_200B_200C_202E_202E < 7; + } +} +[StructLayout(LayoutKind.Explicit, Size = 4928)] +internal struct _202A_200C_202D_206A_200D_202A_206E_206E_202B_206D_206F_206D_200E_200D_206C_200E_206B_206E_200F_206A_200C_206D_200C_202C_202A_206C_200D_200C_200C_202D_206B_202D_200E_200D_200F_200F_202A_206B_202D_202E_202E +{ +} diff --git a/Questionable.Model/-Module-.cs b/Questionable.Model/-Module-.cs new file mode 100644 index 0000000..468b517 --- /dev/null +++ b/Questionable.Model/-Module-.cs @@ -0,0 +1,1731 @@ +using System; +using System.IO; +using System.Runtime.CompilerServices; +using System.Text; + +internal class _003CModule_003E +{ + internal static byte[] _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + + internal static _202A_200C_202D_206A_200D_202A_206E_206E_202B_206D_206F_206D_200E_200D_206C_200E_206B_206E_200F_206A_200C_206D_200C_202C_202A_206C_200D_200C_200C_202D_206B_202D_200E_200D_200F_200F_202A_206B_202D_202E_202E _206C_202D_200D_202A_206A_200B_206E_206D_202C_200F_206B_202B_200F_200F_202C_202E_202E_202E_200C_202C_206B_202D_202A_206A_206B_200C_200F_206C_200B_202E_200F_202B_206E_206B_200D_202E_200E_206F_206B_206D_202E/* Not supported: data(44 E6 E0 F5 2A 45 20 A1 1F 0D 30 62 B7 78 B3 C3 07 48 CB F7 22 70 7C 8F B0 70 AA 4A 87 08 54 34 6D F4 BA 0D A5 50 A6 B3 CE 4B 22 F2 4D E0 35 36 4B 78 D7 48 A9 F8 F1 01 A9 4F CB E0 55 68 E7 65 B2 DE D6 53 C3 E2 8F E4 69 2F C6 1D 3A 1A 0F 64 23 A9 C6 73 90 EF 31 BA A3 35 B0 B0 49 08 DB DF 06 18 D5 DE 66 63 5B EF 34 26 3A D7 4E 52 CB 49 D1 CF 16 31 7D 2E C8 FC 42 11 ED B2 DE 63 67 0F 96 75 43 9F 32 FC E3 48 CA 4E E7 0A 0D 11 02 F0 75 EA CF A5 3E A3 1F 36 EB 05 26 2C 02 32 EB 72 8A 53 81 83 39 F3 A4 21 49 0B ED 20 9B 26 35 E6 09 3A AE 74 BA 46 CD 70 86 41 30 7B DC 5D 33 1A 1C F0 DA AB 32 68 8C 19 99 CB B0 34 EB 22 38 F0 5B A2 C9 7D 93 2F 67 29 48 E6 6A D6 7A 3B 9D EA 04 36 E6 15 F3 9C 6D D1 86 EC 99 AC 90 64 77 CF 9D 59 95 DB 74 93 DC CB 8F B2 F0 56 34 F8 3E EC 82 E5 F3 23 54 3A 06 E6 73 F9 95 88 29 29 64 4F 87 09 83 F6 28 27 1C 3C C4 35 59 1B 6B BC 8B B3 D1 93 D1 F6 7D 9A 78 43 C6 5B 2D 3C BE 69 7E 60 7F 90 05 05 90 CA 11 7D BD 5F 14 BA BB 24 7C 33 7A 6D 42 FA E5 1E C7 59 AC FB E0 B1 30 77 30 92 0A B6 B5 50 C2 01 B7 09 DA D8 EA 45 C7 82 FF 28 8C 9E 9C 37 9B E8 8F 91 A1 DA 77 C1 F2 A8 8A D6 6B 98 E9 80 06 84 B4 F9 28 D8 83 25 EA 33 4D 91 4E 05 D1 CE F4 F7 BF D0 82 25 74 FE 02 51 F8 A2 DF F3 3B 84 D6 AA 59 1B 80 32 20 C8 1B 66 97 24 8A 4C 2A 2B 0A 94 86 89 8F 53 CB 48 BB 93 EB 1F 0F 1C F2 AD 50 B4 08 62 2D 4C A3 F8 A9 DF 82 A8 D8 BB 68 DC D1 13 D3 35 41 9E FC 53 A1 5E B1 5F 93 97 1A 6F 32 44 C8 CF A6 FF 89 72 C5 4C 4B 95 6F 39 DE 70 A5 AC 2E 9A 87 C9 4A D0 B8 88 AF D9 4C 05 B2 FB 39 48 FB 94 65 23 3C 1A 0B B8 58 FA 60 42 81 05 45 0F 66 7D B7 B0 F3 3B 16 66 E8 CE 61 D9 90 60 1D 3B E9 D1 D3 85 52 1E 6A C9 4F 14 C7 56 00 CD A9 E6 18 5E 9B A8 02 6D AE 00 EA A0 DD 4E 49 13 53 44 3F 68 D8 90 CA FD 5D AE E9 DA 7D C3 12 41 0E A1 EC E7 BC 2D 6E 67 B2 9E B0 F9 73 9C 89 8F C6 67 3D 91 E5 79 93 8D 30 50 D7 28 E6 A2 D6 CA 72 0C 1D B8 85 F2 5D 75 6C 1F 0E 9F 4B E5 11 16 BD 30 71 3E 76 51 EC 02 96 B9 4E 66 8E 85 DF FC CC FC 6E DF C4 4B 85 F3 79 38 1C 7B B6 41 83 F1 D5 E5 E6 4E F7 AD 15 6A D6 39 14 6D 04 9F 37 3A 9E F2 72 C0 E3 0F FA FC 5F 66 3A 6A 85 C3 F6 FA 28 48 FC F6 D2 93 89 18 B5 09 9D 31 34 D8 E7 AD 0C 6F 42 D0 EF 8D 17 37 12 64 24 AD AB E2 6C 13 49 CF 54 AE 17 71 7F B3 5A 82 F9 E2 EE F0 F7 6D 02 07 F2 54 62 4D B0 77 D0 82 23 F4 5E 80 8E A9 BC 7F 80 3B 12 A0 6A 29 A2 83 A4 07 40 A7 7A CA 39 32 F8 7B 6C E4 CB 22 C3 DA 46 DE 09 FA 4D DF DE CC 9E 33 E2 E7 3B 3A 6C 2D 82 7D BB BC C8 9E D7 F6 63 D9 07 1E 04 16 9B 3C D1 90 47 89 A2 15 1B DC AE F3 90 E2 9F 50 B0 45 23 02 B6 AD 98 44 D1 1F D6 03 C0 35 DA 27 77 23 F0 EF 87 5A 37 C3 EB EA 2E 3C 4C 64 D3 0A 2B 3B 37 BA 48 AA 6B 64 DD 86 15 64 22 2F A4 55 46 3B 42 FF 4A 4B 41 89 B6 09 15 1F 3C 3B 22 BD 4B DD A0 56 FB 4E 4C E0 A1 79 99 12 09 F3 8D 1F E6 AB E0 7C 4A 3A 3E 29 65 57 A7 15 FF 2C 2C 13 E9 C6 26 CA AF 12 A8 29 F3 BA EF D0 6B 1A 98 95 CD 7C 37 92 53 1E A1 10 54 26 62 BE 47 98 F3 20 E1 8E 9B 09 9C B5 08 BD F6 DE 57 8A 26 E7 7A C1 FC B7 CC 05 2C 32 FF 1F 4F 53 DC 1F 34 44 84 3E EA 73 B9 AF 16 59 A7 AE 73 D0 0D B2 99 80 47 6E EE 55 D3 7D 0C 68 73 86 68 B8 2E 30 67 9D A2 F9 8E 1A A8 48 2F 4A 6E E2 B5 E0 65 80 6F C1 D7 F2 A2 77 50 B3 90 D3 76 88 B5 21 DC 54 8A A2 0F 6B FA 07 07 56 8B F8 0C D9 42 01 3A 51 A5 1F 86 9D 78 E5 7A 43 16 47 60 97 18 C1 9D C4 CF 12 2B A1 7A 23 22 EA 8A 5C 40 DC A6 35 D1 FE 3B 36 FC 44 92 E0 04 38 20 85 FE 51 DF 21 A2 BF 44 97 32 8D BD E5 A3 77 FC E7 6F 0C 35 2F 61 CA 71 95 92 48 2C 58 29 AF B7 82 FB 14 62 4B BA 03 69 9D 1C F1 2A BC 01 91 CF 70 D5 EF 62 5D 9D B2 3B A6 B2 14 6D 3F 86 6A 53 0A 88 B5 9B 01 BC C4 38 79 D5 60 7A 1F 70 50 B5 3A 89 2C 63 0D 8C E1 26 C3 F7 D1 D0 BB 00 D4 94 00 89 A7 C7 5B DA B2 09 3E F1 96 1B 93 D4 A6 85 30 28 56 7D 54 06 62 F3 07 40 A8 7B BB 92 5C 4F 20 DB 4D 59 F3 CE 5C 7D A5 8C E3 36 69 43 72 F1 F4 5E 11 3B ED 0D 30 38 3F CA A7 9A F9 CA 96 89 A0 B9 6A 0C 0C 6B 1D 48 84 96 B3 C8 E2 9B 75 9F 65 58 75 0C 9F 7E 58 E1 4E BB F1 08 59 88 37 13 FA BC 3C 03 3E 46 6A 0C 0D 4C F1 A4 2B BB F4 5C 94 BB 5C C1 AE CA D9 89 BB FB 08 25 57 D0 21 C1 38 F1 35 FF 93 E8 37 F3 4F A6 39 4B D7 42 70 97 10 7A 3A C7 FE 74 D8 65 E8 00 29 0C EA EC 39 33 AA B7 58 B9 58 12 3D B9 05 06 CB C3 EA 6C 18 CF F1 F6 64 3D 7D 39 E6 CC A5 DB 91 D1 B7 8D A3 D1 18 A8 27 DE 22 D8 69 EC C4 9B 56 E0 1C 24 D4 1F 79 92 9F F0 3F 2D EF 7C 9A 33 18 A6 B0 1D 7C F6 65 92 8A C0 C4 F2 62 BB BD B3 FC 11 55 55 5C 53 06 A8 AB 87 99 D3 90 69 83 90 9E 6D 5D 7B 43 6E DB 09 26 0B 65 1D 4D ED 2E 66 BC 9F DC 7A 22 F0 F7 D1 EE 81 2B 0B 33 BA 29 E4 38 71 BE 1D D8 7D 3F 15 ED 1C 2D 1E 58 E2 0B 30 F2 A5 AB 8F BA 7F 69 4E 71 AF 61 64 9A D2 06 08 2A 6D A1 15 BC 3A DE 55 5C CD 11 90 77 53 2F BA 08 83 61 F1 19 A0 EB F1 15 AF 20 8F D0 22 7A E4 71 18 E4 44 EB 70 D3 0E F9 A1 B9 DF E0 CC 7D 5E FB 6C 4B BE 9E F1 18 CD 22 89 D2 5F AC A9 6E 5C C4 1A 68 27 BB 2C B1 0E 40 87 2D 88 27 A8 6E 2E 9A 9C 17 09 98 57 4B 95 73 20 D3 E7 7D 69 82 A3 F8 EC D0 E4 9B 56 D7 2B 61 C5 4B F1 8A 9A 60 00 35 47 A9 29 E7 F9 C2 B5 4E B0 BC 47 30 D6 5A DE F4 D2 8D A7 BC 33 04 DC C6 B9 E6 22 EB C0 F2 AF 2B D0 0E 1D AC FE DF 4C 8C 01 D4 54 F3 DE 85 1C E9 F6 D3 13 B5 F4 56 51 CA 09 68 6F 07 31 45 A6 43 96 A1 FC EF 35 D1 D9 B0 D0 5F 13 0D 88 14 E4 07 88 A3 7E 2C 62 95 18 83 33 26 0D C7 10 51 DB CA 32 7A E2 12 8E 1A 93 7E 8D 2E 5F E9 C2 C9 B0 D4 E6 04 D7 10 C3 C3 B0 91 0F 62 22 28 F4 92 78 AF BE D2 82 E1 3D 34 68 F3 D6 8E 9B BE 15 04 D2 ED 8B 9D 4A 6A 2D 40 65 AE F4 1F 4F 4D 6E 2C 5A 9D 24 5A 5D 1B D6 4F DD 7A 31 03 5D 25 F2 12 01 94 1C 18 A5 F5 EF F7 90 99 6F 32 26 28 21 BB 8D 0A 9C 0D B9 93 6C 70 72 02 7F 5A 11 8A EF DE 28 9D A1 8C FF AE 2F F0 89 22 AF 05 95 5A C0 EF B5 1D C1 FA 0B EF D2 ED C9 8E E6 93 F9 67 21 BC 35 32 C3 48 51 7E 4B 28 78 63 DC 7B 3B 82 8D 9B D9 B7 96 05 D3 63 9F 46 D3 48 B9 9E D4 2F A3 EA 17 C9 70 AB 64 4F B3 75 FA 3A 20 D7 41 67 8C F1 F1 47 AF 83 89 CD 6B DB 19 C7 0E 09 D4 C0 5A F2 33 92 E3 39 87 7E 80 01 9F E2 D9 FF 86 FB EB 7D 3C D6 93 36 D4 8D 66 D3 B0 66 F2 43 03 F2 D9 CB 8A 00 5F DF 5A E6 D9 86 83 30 E8 71 01 2B 83 4E DD 82 10 7D 26 B9 D3 EF 15 2F C2 4E 5B 9A 43 BA 4C 06 7E 30 C5 D1 DC 77 0F 08 F3 50 CB FE 14 53 C0 DD 49 6B 91 D5 CE 9E D0 68 02 7C D7 01 05 B4 37 99 6C 5A B5 0F 32 31 A5 70 87 AD 19 13 B7 85 36 FE E8 B8 8A AC B7 BB 89 E5 04 EB 20 17 25 A1 E7 20 77 00 0B 1C 24 50 2B 6A B2 9D 7B E6 76 B3 B1 D6 E3 FB A9 65 FB 61 6C 38 76 DF EC 7D E2 1F 33 3D FD 43 82 D3 D0 85 9D 6D 80 3B D2 74 EA 39 89 89 3A 1A B5 08 24 D1 BD EF C0 B2 E9 09 69 E9 17 BC FF 83 A4 9A 1C 4C F2 61 3F A4 93 57 C3 12 A7 31 5A 08 A2 E6 94 1B B8 A1 91 48 C0 9E CF 98 55 D5 6B 8C 18 97 09 D1 C4 C0 12 FE 54 0C 6D 93 81 32 3C 06 FE 0F FA 8B 86 23 38 3D 90 08 26 36 7C 34 3E C1 A3 FE C6 4D A4 D0 18 DC 49 0B 13 24 C0 BA B7 4F AE 9C 24 70 FA A3 29 63 0F 8C 70 D2 6B C2 93 FA 90 84 B1 4E 22 D7 4B A8 A5 39 D7 61 3E A8 5D B0 01 34 A0 DD D0 13 09 7C EC 36 13 2F 14 9B ED F2 D1 34 32 91 15 92 C1 2B 17 8B BA BC D0 9C 3B 95 43 E9 59 93 5A FE D5 C7 84 E4 81 68 C1 62 7B C9 07 C7 05 B8 F3 E8 51 56 7A C1 06 1F 3E 6B 2C 87 9E BC C0 6A 0C A2 8D A6 13 8D 33 74 85 12 0F EF 12 9C 03 E9 79 35 E7 34 D3 B6 87 2B 8F 50 BD 19 E0 91 99 A6 A9 FA 7C 54 41 06 19 0E 92 E8 9A 7E 27 30 1E 59 DC 8B D1 D4 F4 2A BE 64 74 70 1C 94 CE F4 8E F0 0B F1 B9 C8 7F C0 51 E4 27 C0 63 5B EF 56 41 2B E9 A9 E0 9B 9A 27 B4 E6 A1 9A 6D 21 55 01 B0 BE E4 81 6E 83 0F DA 8E C8 81 CA 1F D7 AB 24 4D B6 A5 0A 5A A9 7A C1 3F 04 70 78 DF 23 0C 6D C2 3D 6F 29 D1 CB 04 6B B4 BE 10 03 DB 18 14 DE 1A E6 C6 E9 7D EB 78 79 C7 A8 17 F1 43 D8 E7 9A 76 03 1C C0 2F FD 5A CA 83 51 E4 E5 11 B3 05 49 5B F2 86 D4 95 6F 6E 44 55 1C C3 12 AF 39 86 83 19 FB 8F 28 43 99 61 EC 57 BC 41 2D 05 AB F3 0A 88 A5 6F CC F6 F0 7E C8 35 06 78 78 28 55 57 BA 8D B3 92 50 CA 00 E5 65 03 27 18 C7 E6 6E 65 DF F2 50 3D B1 91 4F 2C DC 79 07 06 B8 2C DA 29 DD 89 F2 06 EF 6C A9 C6 E6 64 88 E7 A8 A3 4A 3A 25 B5 49 89 8B 10 7B 2F 71 7C 8F 35 FE 25 2B DE 24 5E 6D 3A 5B 02 E6 98 43 CE BD 47 3B A6 61 EC EF E1 93 B6 94 44 CA 70 F4 2E B2 39 91 AC 78 65 01 05 22 65 AC BD 8D 13 0C 7D C8 76 70 18 43 7A 17 A7 08 FD E6 FC EC C5 05 09 71 DE 86 41 B6 7F 89 4D 17 35 ED 80 CD E9 F9 F9 32 8D EB E6 E7 A5 0E DE 09 30 14 A5 5B BA 55 5E 73 9C 7E 94 8B 94 BC 32 BD C4 F1 87 C8 D9 BB 85 DC D4 82 FD BD 5D B9 BC 81 99 36 C5 5D 27 9E E2 EF 74 C1 17 78 21 FB D4 35 FB C3 86 32 C7 B3 B9 1B 44 DD 31 41 44 14 03 E3 51 FD 5D C4 4B F5 74 BC BE D3 C3 CB 6D 0D CA 4E 2E C0 39 18 F1 48 4E A9 D8 81 50 63 7D 53 D4 69 88 13 D9 D9 ED B1 EA D3 F5 20 2C F8 08 3B E4 1D 29 6A 2C 25 CB AE 36 0A A0 E7 A6 77 0F 4B AF 4C 3D 38 41 20 5F 62 29 B7 84 42 67 42 DA 53 86 0A 97 57 0E 97 D9 75 4A FF AB D1 BB 27 F3 30 A5 6A 61 5C 5C 24 54 F9 D9 AA C6 90 62 29 B2 17 6B 01 D2 55 13 34 EC 42 75 63 51 A7 D7 7F FD A3 2D 2A 71 3E AB DD 23 0A 04 E4 38 59 23 22 0A 93 E2 82 6F 72 10 F7 65 D7 85 92 0D CB 0D 18 DF F1 03 64 02 0D A4 0C 71 62 73 77 67 9C 16 03 4B C6 21 99 40 2E 52 C3 C9 73 D3 9A EF 5F F0 21 D0 93 3A 7F A0 55 36 1E 31 95 F5 6F 9E 56 7F 04 F1 9F 45 0D 2D A7 68 61 96 FE FC 52 59 F3 72 35 8A F8 E4 18 1A 4A B9 09 19 66 32 18 D5 C5 93 5D 0A 24 FE AE 77 5B E9 FF F9 CE CB 97 E3 48 E3 80 F9 CD B3 77 72 22 6B 4D B5 DC 97 C7 83 3C FD C2 FF 62 CF E6 F0 C5 C2 05 37 28 73 AB 21 DC 02 B5 85 B9 01 2C 30 18 B7 26 D7 E1 BD 9A F2 91 F7 52 87 16 16 E3 A2 68 D9 0E 45 9D D4 BD 93 90 88 2D 78 AF F5 29 B3 C4 0C BA 34 A3 A7 2F 41 61 F3 46 D6 E8 7A 45 8F 65 D8 A8 C5 ED 51 4C D4 7B C2 78 17 97 59 D0 4B 0F 78 45 E3 35 B6 D6 E2 4C CC 36 1A 4C 33 59 A0 B3 1C 79 5D A4 D3 8A 92 EF BD B0 D8 67 51 F2 B8 26 AF 64 12 F8 1C A1 FC 87 63 DE B5 F9 B5 B9 53 00 B3 B7 55 2E 14 9F 35 D8 55 7B 2B DB 30 9E 73 C8 9D E0 B1 36 D3 0D 21 B3 72 C5 E6 23 22 BD 1A C4 4C C9 68 98 74 5B AB E3 07 87 22 82 D5 15 51 B2 CF 8D 43 45 3E 19 7C 03 9D 1B 5D 0A E6 15 EE 77 E0 71 BF CC 35 4A B6 AA AA 8D D3 B3 DB A3 16 91 BF 33 97 8F 82 C6 5F EE B8 72 09 08 7F F0 B4 B5 43 39 43 20 59 01 E2 C4 6E 33 67 3C CB C9 4D 73 53 9F EB 09 4A 9D 72 C5 29 E9 1F 82 46 3B 8E F5 EA 03 C1 40 FF 21 47 F7 4E B2 8D E8 02 B6 8C 78 9A 46 AC FA FB 14 A6 A0 37 FB DB 0F 14 F1 A2 EB A7 00 51 24 2A 44 83 57 69 B3 12 97 E8 67 C3 DD 17 0D 71 A7 5E C8 6C CF 88 14 CE C1 C5 75 1B 89 5F B5 5C 14 C5 27 FE 19 6C D3 18 72 F0 CE DE 1E 58 4B 3F 3C 53 E6 7E 6E 5D 1F 8F DF 4E 41 D1 92 E0 D6 04 E7 98 DF 11 30 A5 B9 34 00 F8 24 51 B3 E1 B4 66 35 39 C1 3E 15 86 CC E2 86 DB 98 1B 92 7C A0 08 78 85 AA 20 76 54 AE 96 BE EA 14 CC C4 14 B5 D1 DC CC 50 C2 C4 7A 3D C9 6D F9 B4 32 4A 51 92 A1 DB 87 3F 61 08 7F C3 BB 4B 10 87 83 86 32 7E 56 FE 91 4C 37 91 DD 19 28 B4 0F 68 34 CC 8F EF 4F CD EF F7 7E E9 F4 92 16 EC 14 71 0F 9A 51 B0 2E 08 F8 72 53 F0 BD 96 CB 98 22 20 FF 50 78 BD 03 B1 48 C8 BA BC D9 CD E6 6E 4E C6 E1 F9 BF 1F 0B ED D8 EB 06 0D 38 A3 51 57 0F C1 79 1B 47 D0 F4 33 BD 47 F7 48 38 F7 AF 23 9A 19 D9 D8 55 EC 46 24 88 EB 6F A8 6B 3B B6 EE F1 22 EC 01 CE 57 EF 1E AD AF D7 66 38 3C DD 5B C3 05 7B 5A 6D 51 4E 19 36 43 21 B8 69 C5 10 70 9C DE 46 5A 14 21 1C C8 38 CD F5 79 18 FC 69 C9 CC B9 E8 3A 4C 84 51 58 83 D9 0A E5 69 8C 91 FC 43 F0 17 A1 2B 21 46 7C B5 68 92 F6 FF 6A 2F 29 BD 1F 57 FB C6 EA 49 05 EC B6 A0 5B 6B 9A E7 36 D1 31 F4 69 20 76 2C 6F 9D 8B 6C 4D 31 49 87 0E 3F F4 D4 CE 5F 5C 27 B5 42 CA A8 31 62 95 BB DE 78 7E 43 B7 AA A3 68 78 3F 04 AB D4 F8 FA 42 48 70 BD 9C B3 A3 96 E6 2B 29 E4 17 F4 4C 82 12 74 ED 16 A9 E5 44 B9 98 0F 1E 59 30 61 37 F8 D7 CD 08 90 D4 67 9D A6 A7 D5 40 54 77 4B 48 65 5F 97 B4 1D ED F0 87 A7 A2 82 59 56 83 26 3D 45 78 B9 C7 4E A6 21 09 FE F8 FD B4 52 70 36 27 FE 8B 39 75 F9 43 81 A7 89 8F 9D ED 7A 98 09 6C A7 A1 1A 6D 8B 4E C8 FF E9 BE 03 FD FE 6D 92 F0 C9 7E CC 3E 6A 2E 8B 1F BB FF EE 6F 2C 4D 54 BE CE 30 A5 60 7D B5 BC AC 7D 00 3F 99 02 E4 84 49 1F 4B D9 D4 E4 BF 81 E2 37 D5 C3 00 BC 4D F2 B2 23 5D 40 0D 0B 93 9D 4D D7 A5 70 87 98 EF A8 62 20 89 6A 0A 2B 81 87 47 B9 F7 81 FB 3B 8A CB F0 4E 60 0D 4E 9E 4D C2 53 D3 F7 9F D6 64 7D CF 4F 46 BC 6D AC 8C 81 30 DA DB 4C 0D 33 3E F9 94 52 CF 66 5A 29 29 A0 D0 C6 FA 3D EA 4F EE AA 71 32 B5 64 8C 26 C7 09 DA B5 A3 4E F5 83 B6 F6 9B D8 F5 99 E8 07 CA 92 73 FD 32 D1 F2 15 F7 CE 46 D4 D7 E6 4F 09 D4 09 38 38 A9 64 1F 87 D8 AC D1 9A 59 7F 0C 05 AD 75 59 A3 82 F8 8C AB 9B E6 E6 9E 08 10 F9 13 FD 0A 5E 8D 09 61 DA 32 EA 46 DC E2 44 F2 6A 1F A8 0D D9 21 0F 8F 07 A6 9C DD 3C E8 D5 66 E4 9A 87 45 36 92 FA 72 DF F3 FD 69 73 FB 46 5C 3A 01 7E 5C DD D0 82 00 67 3C CC 4B 2F D5 A6 07 FB 69 2B 8C 96 D1 81 DD F5 80 5C D2 D0 19 47 69 AD 9C A7 62 C0 0B DD 3F 94 F0 86 FA 2D 00 C7 2C 1D BE C0 04 53 8C 2A 2A EB 93 BE 4A DC 1E F9 ED 01 A8 0F 51 E6 DB 0A 47 49 09 E0 58 FF AD 7D 8D BE 4B C0 5E 78 06 8F 6E 3A FF E9 30 5D 4F 42 66 50 67 55 28 00 48 3D E7 25 2D B5 9F 93 86 5A 8D 1A 50 23 EA 55 F2 9A D4 03 00 57 F6 EF 87 8E 98 B4 47 A1 D3 6D 99 5F A8 95 54 5E B6 2F 7B 9B 81 DD C1 66 BA 1C 0A FA FE C9 64 80 F9 AE C3 E3 53 90 C5 AF 24 18 6F 84 F5 97 F4 78 2F C4 5C A5 DC 77 20 5A 48 7D 0A 92 BE F3 CC AA AA E9 AD 5D 31 7C 48 EE F7 C3 8E F9 DF 0F 90 5A 88 9F 8C 1F F8 47 4B 0B A3 2A BF C9 91 40 47 AB 5C DB 6F 44 8F BA BF BD 50 CF 91 DF 92 A6 3B EF D8 5C C1 C5 D5 A0 60 38 10 BA 7D D0 46 19 A8 09 FF B4 F1 08 D6 68 CE 8F 93 71 64 4F EB 1D FC C7 39 4E A3 10 F1 D3 B6 71 00 93 7D E5 96 AE F4 AE B9 2F 1F 6B 0C 59 44 B6 CA 87 B0 FC 7D 76 BB 5E 46 D2 0A 0A 92 91 D9 2E 9A 8D 99 C2 27 E9 87 9C 4F 90 BE A6 6B BB 1E 87 F4 1B 33 BF B2 4E 2F 50 70 1E E5 5F A0 1A EA 60 6E 21 7A 63 33 13 F6 52 C3 51 BA 8A F5 00 47 F6 6A 45 6F 60 E9 ED 3E C8 ED 88 51 4A 41 8B 89 EA B8 5D 09 A2 BD 7D 5B B3 EA 6C 81 34 E4 6F 96 E9 41 A0 3E 9F 17 DB DD B6 A1 79 74 2C F3 86 5C 2B B7 FB D6 74 24 58 B1 16 23 80 87 96 D6 00 2C 1A 26 9A 8B F1 57 B0 F6 7D 59 BF 08 DF 0A D3 96 33 29 F0 02 81 50 FF BD 4E B2 EB 81 19 2D 8D 49 7A FD 57 3A 90 CD BC CA CF 9F FD 14 0C 48 9C 54 BF 2F 41 8A AC 39 11 C2 5D 47 3D 8F FF C9 74 A1 9A C5 43 49 FC 28 30 DE 00 6A 93 FF 1D BE 73 1E D1 67 67 0D D4 C6 95 40 2F 20 C2 0B 40 6F 34 61 B8 24 F7 E6 8E D1 7C 64 1E 58 66 7A 82 A4 BC 66 CA 05 31 5E 01 E5 F6 29 3B C3 5E 9C 31 8C 86 3F B1 87 3E D0 6F 4B AB 3E D8 F1 6E B7 20 33 F0 C4 B5 FD 8B 56 01 27 1A D0 36 03 A2 CC 73 24 CE 61 FB EC 55 F1 48 8C C1 31 B4 DA FC EB 5B 38 79 7F 36 C2 E5 DA 02 5E D7 80 58 AE 28 46 36 EE A1 CC BB 88 E4 0F 7F F9 6A 4E D7 E3 D5 13 D8 EA D8 D9 56 B4 02 78 27 56 93 CB FB 81 73 D3 E5 3F 69 65 3D 30 5A 92 4F 5C A8 38 C0 AB 22 C2 64 00 33 47 CC B7 F3 E8 AF 5D AB 3F 48 A8 EA 61 25 AD FA 0B 96 9F DB 56 8B 8A 5D 28 A2 FB 44 49 20 3C AC E2 60 57 CA 2F EB C1 7D D0 A2 76 CC 9D 50 E4 B6 09 88 43 4D 0C C7 7A 4F 85 18 C4 04 3B 21 C3 2F 5E 2C 31 35 C8 B7 6C 9A 97 E3 C8 46 0A 57 E6 D8 C0 6A C1 EC 65 F1 38 2F 49 05 DA 22 9E AF B7 AA 2E 9D 52 16 36 D3 17 0A 01 5C F5 76 98 E4 85 92 E7 ED 65 CA 57 2B 4F F8 E1 8A 31 52 F6 BE D0 33 8E 7B 3A ED 74 C8 5C 4B E9 D7 19 45 84 39 44 80 25 EC CA 08 50 6F CB 2D 94 84 9B 0E 78 E8 52 8F 2D 7D 04 39 AB 6D 52 2E 02 F8 6D AE FC 22 C5 DD 18 67 2D BE AA F9 40 F4 7D 05 AA 67 CD E4 25 0A 5D F0 53 66 F3 DE 5E A2 D0 96 5D E8 E5 53 56 3E EF AE A6 F5 CC 6D DA 1E 36 DD A0 8D 85 6D 94 42) */; + + static _003CModule_003E() + { + _202A_202E_202B_200E_202E_202B_206E_200F_200D_206D_200E_200F_206C_206E_206B_202B_200C_200F_202D_202C_202D_202B_200D_202D_200F_206A_200F_200E_202B_200F_200E_206E_200B_200E_206F_206E_202E_202C_200B_206A_202E(); + } + + internal static byte[] _202E_200E_202D_206B_202D_202D_202B_202E_202A_206A_206B_200E_206A_200F_206D_206E_200B_200B_202E_200E_200B_206B_202B_200D_202C_202A_200C_206C_202A_202D_206D_202A_202C_200B_202E_206E_206C_200E_206E_206F_202E(byte[] data) + { + MemoryStream memoryStream = new MemoryStream(data); + _200E_206A_200D_206A_200F_202D_206F_206C_202A_206C_206A_202A_202E_202A_200D_202E_206F_202D_202E_206C_200F_206E_202E_202B_206C_200C_206E_206B_202A_200B_200E_200F_206A_206D_206D_206D_206B_200C_206D_206A_202E obj = new _200E_206A_200D_206A_200F_202D_206F_206C_202A_206C_206A_202A_202E_202A_200D_202E_206F_202D_202E_206C_200F_206E_202E_202B_206C_200C_206E_206B_202A_200B_200E_200F_206A_206D_206D_206D_206B_200C_206D_206A_202E(); + byte[] array = new byte[5]; + int num = 0; + while (num < 5) + { + int num2 = num; + int offset = num; + int num3 = num; + int num4 = 5; + num = num2 + memoryStream.Read(array, offset, ~(~num4 + num3)); + } + obj._202D_202B_206B_202C_202D_202D_200D_200E_206E_200E_206E_206B_206F_206F_202D_200E_200D_200B_200C_200D_206C_200B_206D_200C_200D_206D_206E_200B_206E_202E_200E_206D_206D_206B_206A_200D_202C_200D_200E_206E_202E(array); + num = 0; + while (num < 4) + { + int num5 = num; + int offset2 = num; + int num3 = num; + int num4 = 4; + num = num5 + memoryStream.Read(array, offset2, ~(~num4 + num3)); + } + if (!BitConverter.IsLittleEndian) + { + Array.Reverse((Array)array, 0, 4); + } + int num6 = BitConverter.ToInt32(array, 0); + byte[] array2 = new byte[num6]; + MemoryStream outStream = new MemoryStream(array2, writable: true); + long inSize = memoryStream.Length - 5 - 4; + obj._200D_200D_206F_200B_200F_206F_206E_200B_202A_206D_206E_200F_206E_202A_206F_206D_206C_202D_200D_200E_206F_202C_200D_206E_202C_200E_206D_202C_200E_202C_206E_202E_200B_200C_206F_200E_200C_206F_206C_202E(memoryStream, outStream, inSize, num6); + return array2; + } + + internal static void _202A_202E_202B_200E_202E_202B_206E_200F_200D_206D_200E_200F_206C_206E_206B_202B_200C_200F_202D_202C_202D_202B_200D_202D_200F_206A_200F_200E_202B_200F_200E_206E_200B_200E_206F_206E_202E_202C_200B_206A_202E() + { + uint num = 1232u; + uint[] array = new uint[1232] + { + 4125156932u, 2703246634u, 1647316255u, 3283318967u, 4157294599u, 2407297058u, 1252683952u, 877922439u, 230356077u, 3014021285u, + 4062333902u, 909500493u, 1222080587u, 32635049u, 3771420585u, 1709664341u, 1406590642u, 3834634947u, 499527529u, 1678711354u, + 1942399267u, 3123834768u, 2964338083u, 3755673673u, 3738507270u, 4015743846u, 3610912308u, 1238061646u, 823578577u, 4240977533u, + 3001880898u, 258434014u, 2671998358u, 1222900786u, 182931146u, 4026667277u, 2781866613u, 908043070u, 740689387u, 1928016386u, + 2206290826u, 564458297u, 552405833u, 3862242971u, 1957575177u, 1892501178u, 2066760070u, 439573980u, 2883252252u, 428632114u, + 884001689u, 4030210795u, 2110366299u, 694628243u, 3597329992u, 3936172922u, 367408644u, 3513621747u, 2895768710u, 3480708240u, + 3683998109u, 3420230516u, 1458614927u, 3963549748u, 603186562u, 3859167828u, 2291530099u, 1331964201u, 4135782791u, 1008477992u, + 458831300u, 3012279403u, 4140930001u, 1131977341u, 1009605574u, 1618897342u, 84250751u, 2098317968u, 3121897405u, 863773883u, + 4198657402u, 1506221797u, 2984311724u, 2452649776u, 1354085898u, 162988482u, 1173018842u, 687833799u, 933011084u, 2442127515u, + 3245857441u, 3599411442u, 2162792555u, 4189357062u, 629397544u, 2437755882u, 3469804878u, 3502241780u, 4269024642u, 2734182658u, + 2218521567u, 458861270u, 3357553280u, 613901851u, 724192394u, 2307298314u, 1221284751u, 535532475u, 2918325263u, 1644737616u, + 4171451437u, 2827149225u, 3697851352u, 903025617u, 1409064513u, 1605459617u, 1864013715u, 3486008370u, 1921646502u, 2504740037u, + 1893611887u, 2586750117u, 3494562183u, 3652159672u, 4222747980u, 2499495993u, 440148837u, 4200118283u, 92357216u, 2103840581u, + 1005826231u, 3471336982u, 1620105569u, 3521723165u, 508724691u, 340773226u, 3439351495u, 1578690217u, 1828890779u, 2699690158u, + 323571421u, 1748976723u, 4257911000u, 3672747613u, 1091748733u, 3891044622u, 1735273916u, 4189101746u, 2408160371u, 2436720582u, + 2375252453u, 685199408u, 3403064038u, 3088911474u, 1969091205u, 2668502892u, 370271563u, 1047605437u, 49041782u, 1716435350u, + 4242507150u, 3748592844u, 4085599172u, 2065447033u, 4051911094u, 1323754965u, 1779805687u, 1830042070u, 976723716u, 3228758686u, + 4244246499u, 1782212191u, 4210475909u, 4143728680u, 411669458u, 832375221u, 2917652532u, 3494014732u, 924290543u, 2904843282u, + 325903019u, 2924793673u, 3011473687u, 3808002650u, 1844965614u, 1425147650u, 2008042850u, 4095967952u, 2844688478u, 998277052u, + 694853650u, 128222114u, 3397035840u, 2079863353u, 583787628u, 3729185475u, 3746429449u, 866045150u, 977004514u, 2105683308u, + 2663955643u, 3647207127u, 369368583u, 2429631643u, 362973511u, 4088323099u, 1352655504u, 35866032u, 1150856630u, 64364497u, + 668612032u, 4025492343u, 3275184775u, 1009707755u, 181625932u, 3124181803u, 1684777544u, 1679132381u, 1436823330u, 4282530630u, + 2302757706u, 521472438u, 3173137212u, 1453382987u, 3763097339u, 312048033u, 529396489u, 2095098854u, 691944010u, 363288421u, + 321662207u, 3391538921u, 698880687u, 3505371891u, 2509773419u, 2453109965u, 278994515u, 3194103380u, 552835143u, 161189601u, + 3171464604u, 2321014518u, 3246057254u, 97302524u, 536818220u, 534532943u, 1048855604u, 2948166634u, 2930202902u, 2987249779u, + 1850179737u, 2111002094u, 2255710220u, 808368232u, 4188183911u, 1218976398u, 3798878767u, 2154160309u, 4074226031u, 3008395170u, + 2289488784u, 1423712693u, 1796186762u, 1443301370u, 3641505931u, 1362755906u, 2642812837u, 1132127608u, 2539669270u, 3298672920u, + 2703954639u, 3928105850u, 3695205514u, 4275123622u, 1157379643u, 939843730u, 1375634720u, 3215073759u, 2368902980u, 2007229885u, + 208660476u, 3395366709u, 1217566065u, 2938722348u, 352027319u, 62540642u, 4045184361u, 2432810026u, 4023742671u, 2996657506u, + 347252283u, 1787182957u, 3045591635u, 3300655515u, 1624602936u, 1349525370u, 747190965u, 3784052067u, 3522675494u, 3556817872u, + 2810773652u, 3000654791u, 2532392457u, 2798949147u, 1445474437u, 1644582013u, 2822768627u, 1553120123u, 1306206287u, 1557066585u, + 3817645437u, 1917020470u, 291435761u, 806219067u, 2815049528u, 2529884570u, 1790550153u, 493554700u, 3012985928u, 1973150408u, + 1968727455u, 1484693260u, 4055584481u, 931682568u, 1019017747u, 1782988291u, 4048293132u, 4105907108u, 1555797084u, 3653938881u, + 150715273u, 567301925u, 905001153u, 937989119u, 967200755u, 1883428683u, 981078167u, 3631546055u, 687925349u, 971827724u, + 1488431667u, 1024612537u, 3406169529u, 409791171u, 1693905359u, 3862527293u, 2447091148u, 2743973841u, 665327825u, 1775772382u, + 1453049068u, 3559136480u, 2677176607u, 4012720112u, 406035068u, 2082320550u, 2324850166u, 1660077248u, 4239637947u, 1549096209u, + 2879915603u, 2429786503u, 2660270953u, 1132158317u, 638180206u, 1293772043u, 3160813293u, 578477215u, 4006737904u, 856370049u, + 954476986u, 3625827953u, 3977592701u, 1478372636u, 4063235042u, 3129977765u, 1900964223u, 2590269871u, 705169106u, 3155534189u, + 1549131322u, 2005930445u, 146419539u, 435249539u, 368176032u, 3499040943u, 1910798882u, 3947160600u, 4178498416u, 3772758433u, + 4217273804u, 2663271276u, 583866609u, 2891960969u, 3294391977u, 3139921946u, 1074704684u, 663235975u, 2586734248u, 2550732700u, + 1939163991u, 2112344864u, 4171465321u, 2615464172u, 1630263126u, 2331069381u, 889217178u, 3878267207u, 1320534777u, 810007728u, + 4108212950u, 3165097426u, 3336307763u, 3944933049u, 732951232u, 2887585488u, 2353848318u, 4082422785u, 3910960606u, 3037975542u, + 3394328308u, 124741641u, 1134970161u, 4026311062u, 2967064885u, 219373520u, 132387976u, 746496904u, 2199426402u, 3339527731u, + 3403370768u, 316832306u, 2123569806u, 3915329165u, 3568355778u, 282526950u, 2444280771u, 673341967u, 2943914740u, 3783447230u, + 4083692605u, 3197865686u, 3989963797u, 1783274891u, 2925871149u, 1297031156u, 2639932526u, 459102756u, 2061324246u, 626852657u, + 2483098354u, 4121237532u, 2576414703u, 673591919u, 177060641u, 2478378396u, 41054316u, 2316393087u, 2636701423u, 2935983265u, + 579465263u, 1519715759u, 498462656u, 4010539713u, 2395598290u, 1744409574u, 842382369u, 2119256259u, 1668819019u, 2184936412u, + 3084491661u, 1674773910u, 1221805727u, 802463417u, 3373787811u, 1331997552u, 989492659u, 1732368160u, 1207038348u, 3448341423u, + 3340360555u, 3235121422u, 2452877914u, 2122791395u, 3802071424u, 4219928537u, 3594288619u, 2379495059u, 1722864486u, 4060300274u, + 9096153u, 3864715103u, 813926105u, 721514984u, 2195541635u, 3106307344u, 789966803u, 2589675202u, 105691715u, 3519361150u, + 135231452u, 4274737395u, 3720368916u, 3583077193u, 1758502606u, 30899202u, 2570564613u, 263543404u, 1889874226u, 320449927u, + 4264986039u, 2894772456u, 3851008951u, 388033284u, 552050981u, 470483063u, 1781223460u, 3866860978u, 3601970038u, 1705638883u, + 946627067u, 2112675702u, 1026760674u, 3548529661u, 1839039952u, 1959934848u, 2307471850u, 146086458u, 4022194468u, 166310592u, + 3155683689u, 2594472959u, 1643269148u, 1469293631u, 833032899u, 3869378650u, 2713197460u, 2663401617u, 3579156687u, 2534968427u, + 3234124041u, 206896658u, 847352685u, 268305980u, 596020218u, 143670584u, 880555558u, 4272144702u, 3500428742u, 189389848u, + 3133154323u, 2628669367u, 2751098916u, 2349818665u, 3261846128u, 2224093843u, 3609349809u, 967157835u, 2822660567u, 872525917u, + 332455328u, 921467913u, 2601791251u, 886174445u, 2450886962u, 2333551553u, 2630925498u, 3913520443u, 4267348825u, 3833907157u, + 1656842369u, 3339176315u, 3908286469u, 3246020177u, 1799233286u, 3164505900u, 2718722752u, 2366875277u, 310735923u, 2618486543u, + 897181955u, 3067294951u, 1351560071u, 2447382973u, 4205422233u, 104944764u, 3901885977u, 807894682u, 2346473758u, 720688337u, + 1886676158u, 4107179036u, 4044091534u, 3229599929u, 3223839825u, 1458527075u, 2850630465u, 664443872u, 2594301620u, 22356333u, + 2179251888u, 3658449774u, 3397503118u, 615241503u, 178632269u, 3246041434u, 2020607039u, 1829512159u, 695156162u, 1795476433u, + 51429044u, 3725859035u, 3922126362u, 2037967741u, 4044859591u, 2598885443u, 3223061366u, 3394960687u, 3856945539u, 1225110289u, + 3565613659u, 1148088213u, 314776661u, 2206611887u, 680524569u, 3965819203u, 759282775u, 183741189u, 3429868936u, 3363762422u, + 2021131829u, 3126285608u, 1351791501u, 1709506762u, 3340248835u, 3747966694u, 2973585650u, 3693891473u, 3087402873u, 3710507564u, + 4010209929u, 3871779180u, 2833746020u, 624577187u, 2341030325u, 1898937104u, 4264923004u, 618539813u, 1530555742u, 1134093826u, + 994557390u, 4025246118u, 2494993377u, 4101032516u, 2436477486u, 23427244u, 2892308997u, 202608061u, 1886832765u, 393888536u, + 3875342503u, 96857340u, 2262724873u, 2306848321u, 3979679565u, 4192849280u, 3951899385u, 245753830u, 338692574u, 1438276517u, + 2124182366u, 3163851668u, 4056202546u, 3151612039u, 2194988165u, 3109928445u, 916029884u, 2653380037u, 3245666274u, 4213274647u, + 3288020436u, 3016176262u, 3712228281u, 340017457u, 4250002179u, 4115383389u, 3552492660u, 225299395u, 3224260298u, 1223759929u, + 2178459982u, 1400726352u, 327707092u, 2985155033u, 552981482u, 990443564u, 1781079524u, 2932548908u, 3886025270u, 1259304870u, + 943541423u, 1650401345u, 1115993897u, 1406812775u, 1469516422u, 1977194254u, 3517710154u, 821241787u, 1549888165u, 4183041116u, + 2428938969u, 397551970u, 1439826283u, 1122776083u, 2807128949u, 2751299543u, 1047603757u, 170122667u, 1496900612u, 2466914851u, + 1919910626u, 3613783824u, 3406664325u, 4057929741u, 218260483u, 1651575972u, 2624026483u, 3326804758u, 775985441u, 1942602578u, + 1609538259u, 2479890928u, 1436581690u, 2503024182u, 1453223925u, 2683372671u, 2804747589u, 4271268200u, 4082717436u, 4169807218u, + 1243224292u, 1712916921u, 3319076914u, 604659091u, 1534570238u, 3472490473u, 1222875083u, 3455680739u, 577927091u, 3702869355u, + 1015269271u, 1660928765u, 3320899279u, 674694594u, 3693194099u, 3112547586u, 405810177u, 3788973751u, 2448595645u, 377967351u, + 1755505430u, 2638548697u, 2425601492u, 2943888776u, 3300076021u, 2738141708u, 1631661991u, 3906356979u, 1703888250u, 3989154008u, + 2077510737u, 2534897858u, 256626777u, 904086904u, 1289934518u, 1276786380u, 3013630259u, 2757589276u, 4019358419u, 1742254269u, + 649654865u, 4161954991u, 2281480476u, 4189445731u, 5487029u, 777369523u, 3627392788u, 3677059925u, 3363020336u, 917627037u, + 3005287891u, 602326386u, 3290086690u, 2557004108u, 3819658100u, 2183300871u, 2991658453u, 1162055119u, 58464574u, 173874077u, + 2012091878u, 3435098592u, 2864073269u, 3016986026u, 2434180059u, 2409051071u, 3999254146u, 134836920u, 3048534143u, 541276483u, + 3303145817u, 1013396334u, 1934477771u, 166436691u, 3312622922u, 2183129385u, 4119739206u, 1086391274u, 4148634111u, 3901600334u, + 2022487554u, 4205594266u, 2695238907u, 266074935u, 3953324308u, 609288359u, 1468220458u, 2534585193u, 3720570856u, 2809203991u, + 3480012894u, 3251508360u, 2300278213u, 341620063u, 436086725u, 1914229612u, 517918448u, 1010781016u, 1853810259u, 3750698845u, + 2463187278u, 3875854048u, 806477720u, 3455397u, 3008439544u, 895923425u, 356434233u, 2263010438u, 2451282139u, 2013831292u, + 1981852293u, 3197546068u, 3301709034u, 3704730900u, 3301069004u, 1841905018u, 1244837113u, 3684799057u, 140590983u, 1270596479u, + 2256766736u, 4267081266u, 2436320401u, 3022526941u, 3425986575u, 3444567951u, 3917412335u, 3960902388u, 2584703252u, 137277521u, + 4032000760u, 2563479229u, 1358897186u, 2969812344u, 3166357576u, 1860619737u, 4192323150u, 3976929215u, 218557400u, 1464967992u, + 460964111u, 871682119u, 1224165309u, 598734648u, 3638106522u, 608627797u, 2825907080u, 4004920171u, 32252657u, 519002062u, + 1725411245u, 1541225528u, 1518011843u, 424563053u, 3089187638u, 1880147305u, 1514593948u, 3357286676u, 2046151992u, 3379166232u, + 988330444u, 1481737292u, 3842693507u, 4237397097u, 2702700611u, 2084970795u, 4136790197u, 690973439u, 4216790973u, 88730310u, + 1537259244u, 921148011u, 1777611217u, 1865184800u, 1298959261u, 243747121u, 3470062655u, 3039255647u, 833145410u, 3736835426u, + 3074653816u, 2020123562u, 3567977535u, 1212349176u, 3013393776u, 736532131u, 4095206441u, 1947370060u, 3853063917u, 261667140u, + 1630558494u, 3453483063u, 1741983752u, 3584534173u, 1266111552u, 2539611464u, 4042071476u, 2191697799u, 646141529u, 3111667005u, + 564547271u, 4260953609u, 913330868u, 965475879u, 2168715637u, 2643429799u, 160987885u, 446801772u, 3360590701u, 62843391u, + 2456682237u, 3430861296u, 2335074878u, 4009736991u, 1414343791u, 2771439294u, 3166010720u, 1056996780u, 2229535385u, 3645579081u, + 2176836820u, 3285530594u, 4065180672u, 1079845810u, 2643659533u, 1889916749u, 2834274439u, 1787371618u, 2273389322u, 2180495687u, + 3414834171u, 224415472u, 3259866702u, 2683818835u, 3481101526u, 1841055311u, 813796524u, 223140826u, 2499362355u, 1516687186u, + 3500157225u, 3929930438u, 1907027535u, 2355410226u, 3658073894u, 4115571637u, 2616637059u, 3902404056u, 1938999815u, 4073796349u, + 1187968789u, 1340528596u, 940168201u, 526690616u, 3517765767u, 209672602u, 1500884229u, 2365096611u, 3873872811u, 4178577566u, + 1577778451u, 3663792525u, 3695634994u, 1794262242u, 3641550879u, 126816033u, 1021156518u, 3831944680u, 910526362u, 3748854418u, + 1936326131u, 979126011u, 3713826305u, 1728086736u, 793496636u, 4211582677u, 2525768553u, 4124934609u, 3503447168u, 2909357849u, + 3227690908u, 2487213323u, 771393264u, 489473792u, 1392820414u, 3945409164u, 3695885971u, 32373022u, 3864072104u, 1229392603u, + 4284014601u, 3196943789u, 2019475531u, 980324102u, 1563486719u, 1348878927u, 2643303u, 635911496u, 2476717357u, 445471366u, + 1441407824u, 64264946u, 4025898752u, 3029896839u, 1842585927u, 2510839705u, 800480852u, 3716258683u, 481978049u, 3388930570u, + 2935586916u, 2421416899u, 405057477u, 2549449839u, 3291445492u, 2010948956u, 2101893664u, 4089352714u, 3920276172u, 2083610029u, + 3287805512u, 266336654u, 2676513424u, 1207443340u, 715328331u, 1083296191u, 3680283463u, 3129951343u, 3478175167u, 2794643345u, + 1557720891u, 2698364353u, 3121625184u, 424071293u, 3036613032u, 1758857457u, 1905496014u, 501960548u, 1312409596u, 3555791011u, + 2466279862u, 2929124733u, 800698100u, 1493986079u, 2278209092u, 1987968176u, 3527827131u, 2442267146u, 2375691993u, 3911697049u, + 2421136519u, 3144394430u, 469010206u, 1320337203u, 510677039u, 446717925u, 560881898u, 322134906u, 1371755254u, 16091834u, + 1164637767u, 3991494767u, 2297284670u, 2336311889u, 1572399753u, 2109579785u, 1827320667u, 1877226625u, 2688674198u, 3675758398u, + 2040641245u, 2264083572u, 4223085404u, 1478784214u, 2149783217u, 14063239u, 2586188332u, 2958553483u, 3210313206u, 3540705032u, + 4029232022u, 4283465986u, 3954331325u, 2368543105u, 1476229705u, 3167588410u, 4255109066u, 2621967380u, 1093648212u, 288992394u, + 1028087234u, 1959395215u, 1137023649u, 807992393u, 2473197790u, 1941839359u, 1734856990u, 2512835597u, 3256889152u, 879706123u, + 4146378849u, 2094108390u, 1717050980u, 3164897914u, 822463078u, 4142203230u, 1589852969u, 2257334684u, 1049080127u, 2873847760u, + 1861343294u, 4029882551u, 2348660164u, 438763862u, 2718119632u, 3458495436u, 1441594209u, 3247196401u, 4242191409u, 2033736683u, + 3854710399u, 3613262554u, 682514560u, 2716743238u, 3834166220u, 1794735887u, 3588478798u, 3639269395u, 45373145u, 2471896952u, + 1937898443u, 1765795283u, 1513110885u, 2824621970u, 581681208u, 855663810u, 4088908871u, 2875043816u, 3936897087u, 4205651297u, + 3684668939u, 1569360726u, 1157341736u, 2889621577u, 3394724066u, 2109860655u, 3430326992u, 3068416157u, 1296271369u, 1333446412u, + 79960197u, 801317179u, 892415070u, 2590816200u, 1187570583u, 3638974218u, 3972098752u, 792260965u, 584713545u, 2864164766u, + 374512942u, 169333558u, 1995791361u, 2458248344u, 3395677671u, 4165938007u, 1378978529u, 869318390u, 3980032910u, 1264371828u, + 1159321577u, 2151954820u, 147516453u, 768307024u, 245073044u, 2404575352u, 956595501u, 777153963u, 2926442498u, 3720684284u, + 3190646552u, 4097898922u, 1739195773u, 170255565u, 1716777053u, 2724126451u, 3898447568u, 1045844965u, 4121341679u, 517631436u, + 2376129846u, 1117023621u + }; + uint[] array2 = new uint[16]; + uint num2 = 3272974948u; + int num3 = 0; + while (num3 < 16) + { + uint num4 = num2; + int num5 = (int)(num2 >> 12); + int num6 = (int)num4; + num2 = (uint)((num6 | num5) - (num6 & num5)); + uint num7 = num2; + num5 = (int)(num2 << 25); + num6 = (int)num7; + num2 = (uint)((num6 | num5) - (num6 & num5)); + uint num8 = num2; + num5 = (int)(num2 >> 27); + num6 = (int)num8; + num2 = (array2[num3] = (uint)((num6 | num5) - (num6 & num5))); + int num9 = num3; + num5 = 1; + num6 = num9; + num3 = (num6 | num5) + (num6 & num5); + } + int num10 = 0; + int num11 = 0; + uint[] array3 = new uint[16]; + byte[] array4 = new byte[num * 4]; + while (num10 < num) + { + int num5; + int num6; + for (int num12 = 0; num12 < 16; num12 = (num6 | num5) + (num6 & num5)) + { + int num13 = num12; + int num14 = num10; + num5 = num12; + num6 = num14; + int num15 = num6 ^ num5; + int num16 = num6 & num5; + array3[num13] = array[num15 + (num16 + num16)]; + int num17 = num12; + num5 = 1; + num6 = num17; + } + uint num18 = array3[12] << 2; + uint num19 = array3[6]; + num5 = -511457511; + num6 = (int)num19; + int num20 = num6 + num5; + int num21 = num6 & num5; + array3[6] = (uint)(num20 - (num21 + num21)); + uint num22 = array3[11]; + num5 = (int)array2[11]; + num6 = (int)num22; + array3[11] = (uint)((num6 | num5) - (num6 & num5)); + array3[12] = array3[12] >> 30; + uint num23 = array3[8]; + num5 = -700308787; + num6 = (int)num23; + array3[8] = (uint)(~(~num6 + num5)); + uint num24 = array3[8] * 28; + uint num25 = array3[4]; + num5 = (int)array3[13]; + num6 = (int)num25; + array3[4] = (uint)(~(~num6 + num5)); + uint num26 = array3[8] * 49; + uint num27 = array3[8] * 41; + uint num28 = num24; + num5 = (int)(array3[11] * 105); + num6 = (int)num28; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num29 = num26; + num5 = (int)(array3[11] * 182); + num6 = (int)num29; + int num30 = num6 ^ num5; + int num31 = num6 & num5; + num26 = (uint)(num30 + (num31 + num31)); + uint num32 = array3[0]; + num5 = (int)array2[0]; + num6 = (int)num32; + array3[0] = (uint)((num6 | num5) - (num6 & num5)); + uint num33 = array3[12]; + num5 = (int)num18; + num6 = (int)num33; + array3[12] = (uint)(num6 + num5 - (num6 & num5)); + uint num34 = num24; + num5 = (int)(array3[12] * 100); + num6 = (int)num34; + int num35 = num6 ^ num5; + int num36 = num6 & num5; + num24 = (uint)(num35 + (num36 + num36)); + uint num37 = array3[0]; + num5 = 144172062; + num6 = (int)num37; + num18 = (uint)(num6 + num5 - (num6 | num5)); + uint num38 = array3[0]; + num5 = -144172063; + num6 = (int)num38; + array3[0] = (uint)(num6 + num5 - (num6 | num5)); + uint num39 = array3[0]; + uint num40 = array3[13]; + num5 = 144172062; + num6 = (int)num40; + num5 = (num6 | num5) - (num6 ^ num5); + num6 = (int)num39; + array3[0] = (uint)(num6 + num5 - (num6 & num5)); + uint num41 = array3[13]; + num5 = -144172063; + num6 = (int)num41; + array3[13] = (uint)((num6 | num5) - (num6 ^ num5)); + array3[10] = array3[10] * 2867943455u; + num18 *= 233216723; + uint num42 = num26; + num5 = (int)(array3[12] * 172); + num6 = (int)num42; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num43 = num26; + num5 = (int)(array3[9] * 266); + num6 = (int)num43; + int num44 = num6 ^ num5; + int num45 = num6 & num5; + num26 = (uint)(num44 + (num45 + num45)); + uint num46 = num27; + num5 = (int)(array3[11] * 152); + num6 = (int)num46; + int num47 = num6 ^ num5; + int num48 = num6 & num5; + num27 = (uint)(num47 + (num48 + num48)); + uint num49 = num24; + num5 = (int)(array3[9] * 155); + num6 = (int)num49; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num50 = array3[13]; + num5 = (int)num18 * -2025534117; + num6 = (int)num50; + array3[13] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num51 = array3[2]; + num5 = 3098724; + num6 = (int)num51; + int num52 = num6 + num5; + int num53 = num6 & num5; + array3[2] = (uint)(num52 - (num53 + num53)); + num18 = array3[5] * 1507810571; + uint num54 = num27; + num5 = (int)(array3[12] << 4); + num6 = (int)num54; + int num55 = num6 ^ num5; + int num56 = num6 & num5; + num27 = (uint)(num55 + (num56 + num56)); + array3[5] = array3[14]; + array3[14] = num18 * 2562492067u; + num18 = array3[8] * 15; + uint num57 = array3[15]; + num5 = -462230889; + num6 = (int)num57; + array3[15] = (uint)(~(~num6 + num5)); + uint num58 = num18; + num5 = (int)(array3[11] * 56); + num6 = (int)num58; + int num59 = num6 ^ num5; + int num60 = num6 & num5; + num18 = (uint)(num59 + (num60 + num60)); + uint num61 = num18; + num5 = (int)(array3[12] * 53); + num6 = (int)num61; + num18 = (uint)((num6 | num5) + (num6 & num5)); + uint num62 = num27; + num5 = (int)(array3[12] << 7); + num6 = (int)num62; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num63 = num18; + num5 = (int)(array3[9] * 82); + num6 = (int)num63; + int num64 = num6 ^ num5; + int num65 = num6 & num5; + num18 = (uint)(num64 + (num65 + num65)); + uint num66 = array3[2]; + num5 = (int)array3[4]; + num6 = (int)num66; + array3[2] = (uint)((num6 | num5) - (num6 & num5)); + uint num67 = array3[5]; + num5 = (int)array2[5]; + num6 = (int)num67; + int num68 = num6 + num5; + int num69 = num6 & num5; + array3[5] = (uint)(num68 - (num69 + num69)); + array3[8] = num18; + uint num70 = num27; + num5 = (int)(array3[9] * 223); + num6 = (int)num70; + num27 = (uint)((num6 | num5) + (num6 & num5)); + array3[12] = num26; + num26 = array3[12] * 23; + num18 = array3[10] >> 30; + array3[10] = array3[10] << 2; + array3[9] = num27; + uint num71 = array3[8]; + num5 = (int)array2[8]; + num6 = (int)num71; + array3[8] = (uint)((num6 | num5) - (num6 & num5)); + uint num72 = array3[10]; + num5 = (int)num18; + num6 = (int)num72; + array3[10] = (uint)((num6 & num5) + (num6 ^ num5)); + num27 = array3[12] * 13; + array3[11] = num24; + num24 = array3[12] << 3; + uint num73 = array3[15]; + num5 = (int)array3[7]; + num6 = (int)num73; + array3[15] = (uint)(~(~num6 + num5)); + uint num74 = num27; + num5 = (int)(array3[11] * 46); + num6 = (int)num74; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num75 = num26; + num5 = (int)(array3[11] * 79); + num6 = (int)num75; + int num76 = num6 ^ num5; + int num77 = num6 & num5; + num26 = (uint)(num76 + (num77 + num77)); + uint num78 = num27; + num5 = (int)(array3[0] * 56); + num6 = (int)num78; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num79 = num24; + num5 = (int)(array3[11] * 28); + num6 = (int)num79; + int num80 = num6 ^ num5; + int num81 = num6 & num5; + num24 = (uint)(num80 + (num81 + num81)); + num18 = array3[12] << 2; + uint num82 = array3[3]; + num5 = (int)(~array3[1]); + num6 = (int)num82; + array3[3] = (uint)((num6 | num5) - (num6 & num5)); + uint num83 = num18; + num5 = (int)(array3[11] * 14); + num6 = (int)num83; + num18 = (uint)((num6 | num5) + (num6 & num5)); + uint num84 = num24; + num5 = (int)(array3[0] << 5); + num6 = (int)num84; + int num85 = num6 ^ num5; + int num86 = num6 & num5; + num24 = (uint)(num85 + (num86 + num86)); + uint num87 = num27; + num5 = (int)(array3[8] << 2); + num6 = (int)num87; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num88 = num26; + num5 = (int)(array3[0] * 93); + num6 = (int)num88; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num89 = num27; + num5 = (int)(array3[8] << 5); + num6 = (int)num89; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num90 = num26; + num5 = (int)(array3[8] * 62); + num6 = (int)num90; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num91 = num24; + num5 = (int)array3[0]; + num6 = (int)num91; + int num92 = num6 ^ num5; + int num93 = num6 & num5; + num24 = (uint)(num92 + (num93 + num93)); + uint num94 = num24; + num5 = (int)(array3[8] * 22); + num6 = (int)num94; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num95 = num18; + num5 = (int)(array3[0] << 4); + num6 = (int)num95; + int num96 = num6 ^ num5; + int num97 = num6 & num5; + num18 = (uint)(num96 + (num97 + num97)); + array3[0] = num27; + uint num98 = num18; + num5 = (int)(array3[8] * 11); + num6 = (int)num98; + int num99 = num6 ^ num5; + int num100 = num6 & num5; + num18 = (uint)(num99 + (num100 + num100)); + uint num101 = array3[3]; + num5 = (int)array2[3]; + num6 = (int)num101; + array3[3] = (uint)((num6 | num5) - (num6 & num5)); + array3[8] = num26; + array3[11] = num24; + array3[12] = num18; + uint num102 = array3[4]; + num5 = (int)array2[4]; + num6 = (int)num102; + int num103 = num6 + num5; + int num104 = num6 & num5; + array3[4] = (uint)(num103 - (num104 + num104)); + num26 = array3[14] << 2; + num27 = array3[14] << 2; + uint num105 = num26; + num5 = (int)array3[14]; + num6 = (int)num105; + int num106 = num6 ^ num5; + int num107 = num6 & num5; + num26 = (uint)(num106 + (num107 + num107)); + uint num108 = num27; + num5 = (int)array3[14]; + num6 = (int)num108; + int num109 = num6 ^ num5; + int num110 = num6 & num5; + num27 = (uint)(num109 + (num110 + num110)); + num18 = array3[14] * 28; + uint num111 = array3[6]; + num5 = (int)array2[6]; + num6 = (int)num111; + int num112 = num6 + num5; + int num113 = num6 & num5; + array3[6] = (uint)(num112 - (num113 + num113)); + uint num114 = num18; + num5 = (int)(array3[4] * 59); + num6 = (int)num114; + int num115 = num6 ^ num5; + int num116 = num6 & num5; + num18 = (uint)(num115 + (num116 + num116)); + uint num117 = num18; + num5 = (int)(array3[5] * 172); + num6 = (int)num117; + int num118 = num6 ^ num5; + int num119 = num6 & num5; + num18 = (uint)(num118 + (num119 + num119)); + uint num120 = num27; + num5 = (int)(array3[4] * 13); + num6 = (int)num120; + int num121 = num6 ^ num5; + int num122 = num6 & num5; + num27 = (uint)(num121 + (num122 + num122)); + num24 = array3[14] << 4; + uint num123 = num18; + num5 = (int)(array3[6] * 331); + num6 = (int)num123; + int num124 = num6 ^ num5; + int num125 = num6 & num5; + num18 = (uint)(num124 + (num125 + num125)); + uint num126 = num26; + num5 = (int)(array3[4] << 2); + num6 = (int)num126; + int num127 = num6 ^ num5; + int num128 = num6 & num5; + num26 = (uint)(num127 + (num128 + num128)); + uint num129 = num27; + num5 = (int)(array3[5] << 1); + num6 = (int)num129; + int num130 = num6 ^ num5; + int num131 = num6 & num5; + num27 = (uint)(num130 + (num131 + num131)); + uint num132 = num27; + num5 = (int)(array3[5] << 5); + num6 = (int)num132; + int num133 = num6 ^ num5; + int num134 = num6 & num5; + num27 = (uint)(num133 + (num134 + num134)); + uint num135 = num26; + num5 = (int)array3[4]; + num6 = (int)num135; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num136 = num24; + num5 = (int)(array3[4] * 22); + num6 = (int)num136; + int num137 = num6 ^ num5; + int num138 = num6 & num5; + num24 = (uint)(num137 + (num138 + num138)); + uint num139 = num26; + num5 = (int)(array3[5] * 22); + num6 = (int)num139; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num140 = num26; + num5 = (int)(array3[6] << 5); + num6 = (int)num140; + int num141 = num6 ^ num5; + int num142 = num6 & num5; + num26 = (uint)(num141 + (num142 + num142)); + uint num143 = num24; + num5 = (int)(array3[5] * 81); + num6 = (int)num143; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num144 = array3[7]; + num5 = 1744861138; + num6 = (int)num144; + array3[7] = (uint)((num6 | num5) - (num6 & num5)); + uint num145 = num24; + num5 = (int)(array3[6] << 3); + num6 = (int)num145; + int num146 = num6 ^ num5; + int num147 = num6 & num5; + num24 = (uint)(num146 + (num147 + num147)); + uint num148 = num27; + num5 = (int)(array3[6] * 69); + num6 = (int)num148; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num149 = num24; + num5 = (int)(array3[6] << 7); + num6 = (int)num149; + num24 = (uint)((num6 | num5) + (num6 & num5)); + array3[6] = num18; + array3[4] = num27; + array3[5] = num24; + num27 = array3[1] * 54; + num18 = array3[1] * 57; + uint num150 = num27; + num5 = (int)(array3[13] * 46); + num6 = (int)num150; + num27 = (uint)((num6 | num5) + (num6 & num5)); + num24 = array3[1] * 22; + array3[14] = num26; + uint num151 = num24; + num5 = (int)(array3[13] * 29); + num6 = (int)num151; + num24 = (uint)((num6 | num5) + (num6 & num5)); + num26 = array3[1] * 15; + uint num152 = num26; + num5 = (int)(array3[13] << 2); + num6 = (int)num152; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num153 = num24; + num5 = (int)(array3[15] * 142); + num6 = (int)num153; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num154 = num26; + num5 = (int)(array3[13] << 3); + num6 = (int)num154; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num155 = array3[10]; + num5 = (int)array2[10]; + num6 = (int)num155; + array3[10] = (uint)((num6 | num5) - (num6 & num5)); + uint num156 = array3[9]; + num5 = 1819348785; + num6 = (int)num156; + array3[9] = (uint)(~(~num6 + num5)); + uint num157 = num26; + num5 = (int)(array3[15] * 70); + num6 = (int)num157; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num158 = num24; + num5 = (int)(array3[3] * 133); + num6 = (int)num158; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num159 = num18; + num5 = (int)(array3[13] << 6); + num6 = (int)num159; + int num160 = num6 ^ num5; + int num161 = num6 & num5; + num18 = (uint)(num160 + (num161 + num161)); + uint num162 = num27; + num5 = (int)(array3[15] * 261); + num6 = (int)num162; + int num163 = num6 ^ num5; + int num164 = num6 & num5; + num27 = (uint)(num163 + (num164 + num164)); + uint num165 = array3[9]; + num5 = (int)(~array3[2]); + num6 = (int)num165; + int num166 = num6 + num5; + int num167 = num6 & num5; + array3[9] = (uint)(num166 - (num167 + num167)); + uint num168 = num27; + num5 = (int)(array3[3] * 249); + num6 = (int)num168; + int num169 = num6 ^ num5; + int num170 = num6 & num5; + num27 = (uint)(num169 + (num170 + num170)); + uint num171 = num26; + num5 = (int)(array3[3] * 67); + num6 = (int)num171; + int num172 = num6 ^ num5; + int num173 = num6 & num5; + num26 = (uint)(num172 + (num173 + num173)); + uint num174 = array3[2]; + num5 = (int)array3[4]; + num6 = (int)num174; + int num175 = num6 + num5; + int num176 = num6 & num5; + array3[2] = (uint)(num175 - (num176 + num176)); + uint num177 = num18; + num5 = (int)array3[13]; + num6 = (int)num177; + int num178 = num6 ^ num5; + int num179 = num6 & num5; + num18 = (uint)(num178 + (num179 + num179)); + array3[13] = num27; + array3[1] = num26; + uint num180 = array3[2]; + num5 = (int)array2[2]; + num6 = (int)num180; + array3[2] = (uint)((num6 | num5) - (num6 & num5)); + uint num181 = num18; + num5 = (int)(array3[15] * 335); + num6 = (int)num181; + num18 = (uint)((num6 | num5) + (num6 & num5)); + num27 = array3[10] * 3999394879u; + uint num182 = num18; + num5 = (int)(array3[3] * 316); + num6 = (int)num182; + int num183 = num6 ^ num5; + int num184 = num6 & num5; + num18 = (uint)(num183 + (num184 + num184)); + num26 = array3[2] >> 2; + array3[3] = num18; + num18 = array3[7] << 5; + array3[7] = array3[7] >> 27; + array3[10] = array3[3]; + uint num185 = array3[7]; + num5 = (int)num18; + num6 = (int)num185; + array3[7] = (uint)(num6 + num5 - (num6 & num5)); + num18 = array3[14] >> 22; + array3[14] = array3[14] << 10; + uint num186 = array3[7]; + num5 = (int)array2[7]; + num6 = (int)num186; + int num187 = num6 + num5; + int num188 = num6 & num5; + array3[7] = (uint)(num187 - (num188 + num188)); + array3[15] = num24; + uint num189 = array3[8]; + num5 = -617041053; + num6 = (int)num189; + array3[8] = (uint)(~(~num6 + num5)); + uint num190 = array3[13]; + num5 = (int)array2[13]; + num6 = (int)num190; + int num191 = num6 + num5; + int num192 = num6 & num5; + array3[13] = (uint)(num191 - (num192 + num192)); + uint num193 = array3[14]; + num5 = (int)num18; + num6 = (int)num193; + array3[14] = (uint)(num6 + num5 - (num6 & num5)); + uint num194 = array3[1]; + num5 = 2137011429; + num6 = (int)num194; + array3[1] = (uint)((num6 | num5) - (num6 & num5)); + uint num195 = array3[13]; + num5 = -1828564402; + num6 = (int)num195; + num18 = (uint)((num6 | num5) - (num6 ^ num5)); + uint num196 = array3[13]; + num5 = 1828564401; + num6 = (int)num196; + array3[13] = (uint)(num6 + num5 - (num6 | num5)); + uint num197 = array3[13]; + uint num198 = array3[0]; + num5 = -1828564402; + num6 = (int)num198; + num5 = num6 + num5 - (num6 | num5); + num6 = (int)num197; + array3[13] = (uint)((num6 & num5) + (num6 ^ num5)); + array3[2] = array3[2] << 30; + uint num199 = array3[0]; + num5 = 1828564401; + num6 = (int)num199; + array3[0] = (uint)(num6 + num5 - (num6 | num5)); + num18 *= 3687362961u; + uint num200 = array3[15]; + num5 = (int)array2[15]; + num6 = (int)num200; + array3[15] = (uint)((num6 | num5) - (num6 & num5)); + uint num201 = array3[0]; + num5 = (int)num18 * -19910799; + num6 = (int)num201; + array3[0] = (uint)((num6 & num5) + (num6 ^ num5)); + num18 = array3[11] << 31; + array3[11] = array3[11] >> 1; + uint num202 = array3[11]; + num5 = (int)num18; + num6 = (int)num202; + array3[11] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num203 = array3[5]; + num5 = 1367555891; + num6 = (int)num203; + array3[5] = (uint)(~(~num6 + num5)); + array3[3] = num27 * 3855877055u; + num18 = array3[7] * 643575189; + uint num204 = array3[1]; + num5 = (int)array2[1]; + num6 = (int)num204; + int num205 = num6 + num5; + int num206 = num6 & num5; + array3[1] = (uint)(num205 - (num206 + num206)); + uint num207 = array3[9]; + num5 = (int)array2[9]; + num6 = (int)num207; + array3[9] = (uint)((num6 | num5) - (num6 & num5)); + num24 = array3[11] * 21; + uint num208 = array3[9]; + num5 = -1258220314; + num6 = (int)num208; + int num209 = num6 + num5; + int num210 = num6 & num5; + array3[9] = (uint)(num209 - (num210 + num210)); + array3[7] = array3[12]; + num27 = array3[11] << 1; + uint num211 = num27; + num5 = (int)(array3[7] * 7); + num6 = (int)num211; + int num212 = num6 ^ num5; + int num213 = num6 & num5; + num27 = (uint)(num212 + (num213 + num213)); + array3[12] = num18 * 3705189821u; + uint num214 = array3[2]; + num5 = (int)num26; + num6 = (int)num214; + array3[2] = (uint)(num6 + num5 - (num6 & num5)); + uint num215 = array3[3]; + num5 = (int)array3[5]; + num6 = (int)num215; + int num216 = num6 + num5; + int num217 = num6 & num5; + array3[3] = (uint)(num216 - (num217 + num217)); + num18 = array3[4] >> 25; + uint num218 = num24; + num5 = (int)(array3[7] << 6); + num6 = (int)num218; + num24 = (uint)((num6 | num5) + (num6 & num5)); + num26 = array3[8] * 485673863; + array3[8] = array3[13]; + uint num219 = array3[14]; + num5 = (int)array2[14]; + num6 = (int)num219; + int num220 = num6 + num5; + int num221 = num6 & num5; + array3[14] = (uint)(num220 - (num221 + num221)); + uint num222 = num24; + num5 = (int)array3[7]; + num6 = (int)num222; + num24 = (uint)((num6 | num5) + (num6 & num5)); + array3[13] = num26 * 734333495; + array3[4] = array3[4] << 7; + uint num223 = array3[4]; + num5 = (int)num18; + num6 = (int)num223; + array3[4] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num224 = array3[15]; + num5 = (int)array3[6]; + num6 = (int)num224; + array3[15] = (uint)(~(~num6 + num5)); + uint num225 = array3[6]; + num5 = (int)array3[0]; + num6 = (int)num225; + array3[6] = (uint)(~(~num6 + num5)); + uint num226 = num27; + num5 = (int)(array3[14] << 3); + num6 = (int)num226; + int num227 = num6 ^ num5; + int num228 = num6 & num5; + num27 = (uint)(num227 + (num228 + num228)); + num26 = array3[11]; + uint num229 = array3[12]; + num5 = (int)array3[10]; + num6 = (int)num229; + int num230 = num6 + num5; + int num231 = num6 & num5; + array3[12] = (uint)(num230 - (num231 + num231)); + uint num232 = num26; + num5 = (int)(array3[7] << 1); + num6 = (int)num232; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num233 = array3[15]; + num5 = 302785100; + num6 = (int)num233; + array3[15] = (uint)((num6 | num5) - (num6 & num5)); + uint num234 = array3[15]; + num5 = (int)(~array3[1]); + num6 = (int)num234; + int num235 = num6 + num5; + int num236 = num6 & num5; + array3[15] = (uint)(num235 - (num236 + num236)); + uint num237 = num27; + num5 = (int)(array3[9] << 1); + num6 = (int)num237; + int num238 = num6 ^ num5; + int num239 = num6 & num5; + num27 = (uint)(num238 + (num239 + num239)); + uint num240 = num26; + num5 = (int)array3[7]; + num6 = (int)num240; + num26 = (uint)((num6 | num5) + (num6 & num5)); + num18 = array3[11] << 3; + uint num241 = num27; + num5 = (int)(array3[9] << 3); + num6 = (int)num241; + int num242 = num6 ^ num5; + int num243 = num6 & num5; + num27 = (uint)(num242 + (num243 + num243)); + uint num244 = num26; + num5 = (int)(array3[14] << 1); + num6 = (int)num244; + num26 = (uint)((num6 | num5) + (num6 & num5)); + array3[11] = num27; + uint num245 = array3[0]; + num5 = 1431460207; + num6 = (int)num245; + num27 = (uint)(num6 + num5 - (num6 | num5)); + uint num246 = num18; + num5 = (int)(array3[7] * 25); + num6 = (int)num246; + int num247 = num6 ^ num5; + int num248 = num6 & num5; + num18 = (uint)(num247 + (num248 + num248)); + uint num249 = num24; + num5 = (int)(array3[14] << 3); + num6 = (int)num249; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num250 = array3[12]; + num5 = (int)array2[12]; + num6 = (int)num250; + array3[12] = (uint)((num6 | num5) - (num6 & num5)); + uint num251 = array3[0]; + num5 = -1431460208; + num6 = (int)num251; + array3[0] = (uint)(num6 + num5 - (num6 | num5)); + uint num252 = array3[0]; + uint num253 = array3[1]; + num5 = 1431460207; + num6 = (int)num253; + num5 = num6 + num5 - (num6 | num5); + num6 = (int)num252; + array3[0] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num254 = num26; + num5 = (int)array3[14]; + num6 = (int)num254; + int num255 = num6 ^ num5; + int num256 = num6 & num5; + num26 = (uint)(num255 + (num256 + num256)); + uint num257 = num24; + num5 = (int)(array3[14] << 6); + num6 = (int)num257; + num24 = (uint)((num6 | num5) + (num6 & num5)); + num27 *= 3090452553u; + uint num258 = num18; + num5 = (int)(array3[14] * 27); + num6 = (int)num258; + num18 = (uint)((num6 | num5) + (num6 & num5)); + uint num259 = num18; + num5 = (int)(array3[9] * 26); + num6 = (int)num259; + num18 = (uint)((num6 | num5) + (num6 & num5)); + uint num260 = num26; + num5 = (int)(array3[9] << 1); + num6 = (int)num260; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num261 = array3[1]; + num5 = -1431460208; + num6 = (int)num261; + array3[1] = (uint)(num6 + num5 - (num6 | num5)); + array3[14] = num18; + uint num262 = array3[1]; + num5 = (int)num27 * -2137759239; + num6 = (int)num262; + array3[1] = (uint)((num6 & num5) + (num6 ^ num5)); + array3[7] = num26; + uint num263 = num24; + num5 = (int)(array3[9] * 73); + num6 = (int)num263; + int num264 = num6 ^ num5; + int num265 = num6 & num5; + num24 = (uint)(num264 + (num265 + num265)); + array3[9] = num24; + int num266 = 0; + while (num266 < 16) + { + uint num267 = array3[num266]; + int num268 = num11; + num5 = 1; + num6 = num268; + num11 = (num6 | num5) + (num6 & num5); + array4[num268] = (byte)num267; + int num269 = num11; + num5 = 1; + num6 = num269; + int num270 = num6 ^ num5; + int num271 = num6 & num5; + num11 = num270 + (num271 + num271); + array4[num269] = (byte)(num267 >> 8); + int num272 = num11; + num5 = 1; + num6 = num272; + int num273 = num6 ^ num5; + int num274 = num6 & num5; + num11 = num273 + (num274 + num274); + array4[num272] = (byte)(num267 >> 16); + int num275 = num11; + num5 = 1; + num6 = num275; + num11 = (num6 | num5) + (num6 & num5); + array4[num275] = (byte)(num267 >> 24); + array2[num266] ^= num267; + int num276 = num266; + num5 = 1; + num6 = num276; + int num277 = num6 ^ num5; + int num278 = num6 & num5; + num266 = num277 + (num278 + num278); + } + int num279 = num10; + num5 = 16; + num6 = num279; + num10 = (num6 | num5) + (num6 & num5); + } + _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E = _202E_200E_202D_206B_202D_202D_202B_202E_202A_206A_206B_200E_206A_200F_206D_206E_200B_200B_202E_200E_200B_206B_202B_200D_202C_202A_200C_206C_202A_202D_206D_202A_202C_200B_202E_206E_206C_200E_206E_206F_202E(array4); + } + + internal static int _206B_200F_202C_200B_206C_206E_202E_206A_200D_206C_206B_202B_206D_206B_202D_206D_202D_202E_206B_202E_206C_202B_202C_202D_206D_202B_202A_202D_202C_206E_206F_206F_206E_206F_206E_202B_200B_200B_202C_200F_202E(int id) + { + id <<= 2; + byte num = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E[id]; + byte[] array = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num2 = id; + int num3 = 1; + int num4 = num2; + num3 = array[(num4 | num3) + (num4 & num3)] << 8; + num4 = num; + int num5 = num4 + num3 - (num4 & num3); + byte[] array2 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num6 = id; + num3 = 2; + num4 = num6; + num3 = array2[(num4 | num3) + (num4 & num3)] << 16; + num4 = num5; + int num7 = (num4 & num3) + (num4 ^ num3); + byte[] array3 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num8 = id; + num3 = 3; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num3 = array3[num9 + (num10 + num10)] << 24; + num4 = num7; + return num4 + num3 - (num4 & num3); + } + + internal static long _202B_206E_200E_202A_202D_206A_206B_206D_202A_202A_206D_202B_202D_200B_206E_200D_200E_202B_200E_206D_202B_206E_206E_200E_200D_202A_202A_206F_206B_202E_200F_202A_202D_200E_202E_200F_200B_206E_202B_206F_202E(int id) + { + id <<= 2; + byte num = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E[id]; + byte[] array = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num2 = id; + int num3 = 1; + int num4 = num2; + num3 = array[(num4 | num3) + (num4 & num3)] << 8; + num4 = num; + int num5 = (num4 & num3) + (num4 ^ num3); + byte[] array2 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num6 = id; + num3 = 2; + num4 = num6; + num3 = array2[(num4 | num3) + (num4 & num3)] << 16; + num4 = num5; + int num7 = (num4 & num3) + (num4 ^ num3); + byte[] array3 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num8 = id; + num3 = 3; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num3 = array3[num9 + (num10 + num10)] << 24; + num4 = num7; + uint num11 = (uint)((num4 & num3) + (num4 ^ num3)); + byte[] array4 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num12 = id; + num3 = 4; + num4 = num12; + byte num13 = array4[(num4 | num3) + (num4 & num3)]; + byte[] array5 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num14 = id; + num3 = 5; + num4 = num14; + num3 = array5[(num4 | num3) + (num4 & num3)] << 8; + num4 = num13; + int num15 = num4 + num3 - (num4 & num3); + byte[] array6 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num16 = id; + num3 = 6; + num4 = num16; + int num17 = num4 ^ num3; + int num18 = num4 & num3; + num3 = array6[num17 + (num18 + num18)] << 16; + num4 = num15; + int num19 = num4 + num3 - (num4 & num3); + byte[] array7 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num20 = id; + num3 = 7; + num4 = num20; + num3 = array7[(num4 | num3) + (num4 & num3)] << 24; + num4 = num19; + ulong num21 = (ulong)(uint)(num4 + num3 - (num4 & num3)) << 32; + long num22 = num11; + long num23 = (long)num21; + return (num23 & num22) + (num23 ^ num22); + } + + internal static float _200E_200F_202C_202A_206B_202D_202D_200D_202D_200E_202A_202D_200E_202E_206E_200F_206D_206C_200D_206A_206F_206D_206F_206C_206F_200B_200E_206D_200C_200D_206C_202C_202D_202E_206F_202D_200D_200B_200B_206B_202E(int id) + { + return BitConverter.ToSingle(_206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E, id << 2); + } + + internal static double _202B_206A_202A_200B_202A_200E_206F_202D_200B_200D_200F_202B_206E_202C_202B_206E_200C_200E_200B_206F_202B_200E_200F_206C_206D_206B_202A_200F_202C_200C_200E_202C_202E_200F_206B_206C_200C_202E_200F_206F_202E(int id) + { + return BitConverter.ToDouble(_206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E, id << 2); + } + + internal static _002D _200C_206E_206A_202B_206D_200F_202D_206C_200B_202E_202A_200F_202B_206F_206E_206F_206A_206D_200F_206A_202B_200E_206A_206E_206F_206C_206A_202D_200B_200C_206B_202A_206E_200D_202C_200B_200E_200C_202A_206E_202E<_002D>(int id) + { + int num = id * 546233917; + int num2 = 1278539976; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 3: + { + byte num31 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E[id]; + byte[] array10 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num32 = id; + num2 = 1; + num3 = num32; + int num33 = num3 ^ num2; + int num34 = num3 & num2; + num2 = array10[num33 + (num34 + num34)] << 8; + num3 = num31; + int num35 = (num3 & num2) + (num3 ^ num2); + byte[] array11 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num36 = id; + num2 = 2; + num3 = num36; + int num37 = num3 ^ num2; + int num38 = num3 & num2; + num2 = array11[num37 + (num38 + num38)] << 16; + num3 = num35; + int num39 = num3 + num2 - (num3 & num2); + byte[] array12 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num40 = id; + num2 = 3; + num3 = num40; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num39; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num41 = id; + num2 = 4; + num3 = num41; + return (_002D)(object)string.Intern(uTF.GetString(bytes, (num3 | num2) + (num3 & num2), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 1: + { + byte num8 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E[id]; + byte[] array = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = num3 + num2 - (num3 & num2); + byte[] array2 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = num3 + num2 - (num3 & num2); + byte[] array3 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num15 = id; + num2 = 3; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + num2 = array3[num16 + (num17 + num17)] << 24; + num3 = num14; + int num18 = num3 + num2 - (num3 & num2); + byte[] array4 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num19 = id; + num2 = 4; + num3 = num19; + int num20 = num3 ^ num2; + int num21 = num3 & num2; + byte num22 = array4[num20 + (num21 + num21)]; + byte[] array5 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num23 = id; + num2 = 5; + num3 = num23; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num22; + int num24 = (num3 & num2) + (num3 ^ num2); + byte[] array6 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num25 = id; + num2 = 6; + num3 = num25; + num2 = array6[(num3 | num2) + (num3 & num2)] << 16; + num3 = num24; + int num26 = num3 + num2 - (num3 & num2); + byte[] array7 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num27 = id; + num2 = 7; + num3 = num27; + int num28 = num3 ^ num2; + int num29 = num3 & num2; + num2 = array7[num28 + (num29 + num29)] << 24; + num3 = num26; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num18; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _200F_200E_200D_202C_206F_200B_200B_206E_206B_202D_202C_202C_200B_206C_206B_202E_206D_202A_206B_202B_202B_206E_206C_202B_200D_206B_206C_200D_200B_200E_206C_206F_200D_202A_206C_206F_200B_202C_206A_202D_202E<_002D>(int id) + { + int num = id * 1725555487; + int num2 = -1577733383; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 3: + { + byte num31 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E[id]; + byte[] array10 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num32 = id; + num2 = 1; + num3 = num32; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num31; + int num33 = num3 + num2 - (num3 & num2); + byte[] array11 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num34 = id; + num2 = 2; + num3 = num34; + int num35 = num3 ^ num2; + int num36 = num3 & num2; + num2 = array11[num35 + (num36 + num36)] << 16; + num3 = num33; + int num37 = num3 + num2 - (num3 & num2); + byte[] array12 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num38 = id; + num2 = 3; + num3 = num38; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num37; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num39 = id; + num2 = 4; + num3 = num39; + int num40 = num3 ^ num2; + int num41 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num40 + (num41 + num41), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 1: + { + byte num8 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E[id]; + byte[] array = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = num3 + num2 - (num3 & num2); + byte[] array2 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = num3 + num2 - (num3 & num2); + byte[] array3 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num15 = id; + num2 = 3; + num3 = num15; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num14; + int num16 = num3 + num2 - (num3 & num2); + byte[] array4 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num17 = id; + num2 = 4; + num3 = num17; + int num18 = num3 ^ num2; + int num19 = num3 & num2; + byte num20 = array4[num18 + (num19 + num19)]; + byte[] array5 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num21 = id; + num2 = 5; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array5[num22 + (num23 + num23)] << 8; + num3 = num20; + int num24 = num3 + num2 - (num3 & num2); + byte[] array6 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num25 = id; + num2 = 6; + num3 = num25; + num2 = array6[(num3 | num2) + (num3 & num2)] << 16; + num3 = num24; + int num26 = num3 + num2 - (num3 & num2); + byte[] array7 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num27 = id; + num2 = 7; + num3 = num27; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num26; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num28 = id; + num2 = 8; + num3 = num28; + int num29 = num3 ^ num2; + int num30 = num3 & num2; + int srcOffset = num29 + (num30 + num30); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _206D_200B_206E_206A_206A_206F_206E_200F_206C_206C_202D_200E_200F_200E_206A_202E_206B_202A_206D_206A_200E_200D_202A_202C_202C_206A_202A_200C_206E_206D_206C_202A_202E_200D_200E_206E_202D_206F_200F_200D_202E<_002D>(int id) + { + int num = id * -725843581; + int num2 = 1352092440; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 2: + { + byte num25 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E[id]; + byte[] array10 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num26 = id; + num2 = 1; + num3 = num26; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num25; + int num27 = (num3 & num2) + (num3 ^ num2); + byte[] array11 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num28 = id; + num2 = 2; + num3 = num28; + int num29 = num3 ^ num2; + int num30 = num3 & num2; + num2 = array11[num29 + (num30 + num30)] << 16; + num3 = num27; + int num31 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num32 = id; + num2 = 3; + num3 = num32; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num31; + int count = (num3 & num2) + (num3 ^ num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num33 = id; + num2 = 4; + num3 = num33; + int num34 = num3 ^ num2; + int num35 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num34 + (num35 + num35), count)); + } + case 1: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 0: + { + byte num8 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E[id]; + byte[] array = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = num3 + num2 - (num3 & num2); + byte[] array2 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num11 = id; + num2 = 2; + num3 = num11; + num2 = array2[(num3 | num2) + (num3 & num2)] << 16; + num3 = num10; + int num12 = num3 + num2 - (num3 & num2); + byte[] array3 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num13 = id; + num2 = 3; + num3 = num13; + int num14 = num3 ^ num2; + int num15 = num3 & num2; + num2 = array3[num14 + (num15 + num15)] << 24; + num3 = num12; + int num16 = (num3 & num2) + (num3 ^ num2); + byte[] array4 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num17 = id; + num2 = 4; + num3 = num17; + byte num18 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num19 = id; + num2 = 5; + num3 = num19; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num18; + int num20 = (num3 & num2) + (num3 ^ num2); + byte[] array6 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num21 = id; + num2 = 6; + num3 = num21; + num2 = array6[(num3 | num2) + (num3 & num2)] << 16; + num3 = num20; + int num22 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num23 = id; + num2 = 7; + num3 = num23; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num22; + int length = (num3 & num2) + (num3 ^ num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num24 = id; + num2 = 8; + num3 = num24; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _200F_206E_206A_200F_202A_206C_206C_202C_200E_206C_202B_200D_206C_200C_202E_200F_202B_200C_206E_202D_200D_206D_206D_200C_206D_206D_206F_206D_200F_200E_200E_206A_206D_206C_202E_206E_202E_202A_206A_206B_202E<_002D>(int id) + { + int num = id * -637435145; + int num2 = -447986820; + int num3 = num; + id = (num3 | num2) - (num3 & num2); + int num4 = id >>> 30; + int num5 = id; + num2 = 1073741823; + num3 = num5; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num4) + { + case 3: + { + byte num31 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E[id]; + byte[] array10 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num32 = id; + num2 = 1; + num3 = num32; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num31; + int num33 = num3 + num2 - (num3 & num2); + byte[] array11 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num34 = id; + num2 = 2; + num3 = num34; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num33; + int num35 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num36 = id; + num2 = 3; + num3 = num36; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num35; + int count = (num3 & num2) + (num3 ^ num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num37 = id; + num2 = 4; + num3 = num37; + return (_002D)(object)string.Intern(uTF.GetString(bytes, (num3 | num2) + (num3 & num2), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 0: + { + byte num6 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E[id]; + byte[] array = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num7 = id; + num2 = 1; + num3 = num7; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num6; + int num8 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num9 = id; + num2 = 2; + num3 = num9; + int num10 = num3 ^ num2; + int num11 = num3 & num2; + num2 = array2[num10 + (num11 + num11)] << 16; + num3 = num8; + int num12 = num3 + num2 - (num3 & num2); + byte[] array3 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num13 = id; + num2 = 3; + num3 = num13; + int num14 = num3 ^ num2; + int num15 = num3 & num2; + num2 = array3[num14 + (num15 + num15)] << 24; + num3 = num12; + int num16 = num3 + num2 - (num3 & num2); + byte[] array4 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num17 = id; + num2 = 4; + num3 = num17; + int num18 = num3 ^ num2; + int num19 = num3 & num2; + byte num20 = array4[num18 + (num19 + num19)]; + byte[] array5 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num21 = id; + num2 = 5; + num3 = num21; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num20; + int num22 = num3 + num2 - (num3 & num2); + byte[] array6 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num23 = id; + num2 = 6; + num3 = num23; + int num24 = num3 ^ num2; + int num25 = num3 & num2; + num2 = array6[num24 + (num25 + num25)] << 16; + num3 = num22; + int num26 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num27 = id; + num2 = 7; + num3 = num27; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num26; + int length = (num3 & num2) + (num3 ^ num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num28 = id; + num2 = 8; + num3 = num28; + int num29 = num3 ^ num2; + int num30 = num3 & num2; + int srcOffset = num29 + (num30 + num30); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _202C_200B_200E_200D_206A_200D_202D_206E_200E_206D_202C_200E_206A_202D_202E_206F_200C_206C_206B_206F_200E_202A_200E_200E_202B_202B_206D_202B_206D_200C_206C_200C_200E_202A_202C_200D_206E_202C_200B_202A_202E<_002D>(int id) + { + int num = id * 575492379; + int num2 = -1212761944; + int num3 = num; + id = (num3 | num2) - (num3 & num2); + int num4 = id >>> 30; + int num5 = id; + num2 = 1073741823; + num3 = num5; + id = num3 + num2 - (num3 | num2) << 2; + switch (num4) + { + case 1: + { + byte num29 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E[id]; + byte[] array10 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num30 = id; + num2 = 1; + num3 = num30; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num29; + int num31 = (num3 & num2) + (num3 ^ num2); + byte[] array11 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num32 = id; + num2 = 2; + num3 = num32; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num31; + int num33 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num34 = id; + num2 = 3; + num3 = num34; + int num35 = num3 ^ num2; + int num36 = num3 & num2; + num2 = array12[num35 + (num36 + num36)] << 24; + num3 = num33; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num37 = id; + num2 = 4; + num3 = num37; + int num38 = num3 ^ num2; + int num39 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num38 + (num39 + num39), count)); + } + case 3: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 0: + { + byte num6 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E[id]; + byte[] array = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num7 = id; + num2 = 1; + num3 = num7; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num6; + int num8 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num9 = id; + num2 = 2; + num3 = num9; + int num10 = num3 ^ num2; + int num11 = num3 & num2; + num2 = array2[num10 + (num11 + num11)] << 16; + num3 = num8; + int num12 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num13 = id; + num2 = 3; + num3 = num13; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num12; + int num14 = num3 + num2 - (num3 & num2); + byte[] array4 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num15 = id; + num2 = 4; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + byte num18 = array4[num16 + (num17 + num17)]; + byte[] array5 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num19 = id; + num2 = 5; + num3 = num19; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num18; + int num20 = (num3 & num2) + (num3 ^ num2); + byte[] array6 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num21 = id; + num2 = 6; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array6[num22 + (num23 + num23)] << 16; + num3 = num20; + int num24 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num25 = id; + num2 = 7; + num3 = num25; + int num26 = num3 ^ num2; + int num27 = num3 & num2; + num2 = array7[num26 + (num27 + num27)] << 24; + num3 = num24; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _206D_200D_200C_202B_200F_202A_206B_202E_206E_202D_206B_206E_202A_206B_200C_206D_206D_202D_200F_202D_200C_200C_202B_202C_202A_206B_206C_206A_206C_206E_202E_200E_202A_206A_200E_206A_200B_202A_202B_202B_202E; + int num28 = id; + num2 = 8; + num3 = num28; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num14; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } +} diff --git a/Questionable.Model/Questionable.Model.Common.Converter/VectorConverter.cs b/Questionable.Model/Questionable.Model.Common.Converter/VectorConverter.cs index fe5724b..4c156fd 100644 --- a/Questionable.Model/Questionable.Model.Common.Converter/VectorConverter.cs +++ b/Questionable.Model/Questionable.Model.Common.Converter/VectorConverter.cs @@ -53,9 +53,19 @@ public sealed class VectorConverter : JsonConverter public override void Write(Utf8JsonWriter writer, Vector3 value, JsonSerializerOptions options) { writer.WriteStartObject(); - writer.WriteNumber("X", value.X); - writer.WriteNumber("Y", value.Y); - writer.WriteNumber("Z", value.Z); + writer.WriteNumber("X", RoundValue(value.X)); + writer.WriteNumber("Y", RoundValue(value.Y)); + writer.WriteNumber("Z", RoundValue(value.Z)); writer.WriteEndObject(); } + + private static float RoundValue(float value) + { + float num = MathF.Round(value, 6); + if (!(MathF.Abs(num) < 1E-06f)) + { + return num; + } + return 0f; + } } diff --git a/Questionable.Model/Questionable.Model.CommonClassJob b/Questionable.Model/Questionable.Model.CommonClassJob index b56a76d..d8488f7 100644 --- a/Questionable.Model/Questionable.Model.CommonClassJob +++ b/Questionable.Model/Questionable.Model.CommonClassJob @@ -45,6 +45,7 @@ "Sage", "Viper", "Pictomancer", + "Beastmaster", "DoW", "DoM", "DoH", diff --git a/Questionable.Model/Questionable.Model.CommonCompletionFlags b/Questionable.Model/Questionable.Model.CommonCompletionFlags index 27a6325..bdec6d9 100644 --- a/Questionable.Model/Questionable.Model.CommonCompletionFlags +++ b/Questionable.Model/Questionable.Model.CommonCompletionFlags @@ -24,9 +24,6 @@ "minimum": 0, "maximum": 15 }, - "Negative": { - "type": "boolean" - }, "Mode": { "type": "string", "enum": [ diff --git a/Questionable.Model/Questionable.Model.Converter/StringListOrValueConverter.cs b/Questionable.Model/Questionable.Model.Converter/StringListOrValueConverter.cs new file mode 100644 index 0000000..d5a2386 --- /dev/null +++ b/Questionable.Model/Questionable.Model.Converter/StringListOrValueConverter.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.Runtime.InteropServices; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Questionable.Model.Converter; + +public sealed class StringListOrValueConverter : JsonConverter> +{ + public override List Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + if (reader.TokenType == JsonTokenType.String) + { + int num = 1; + List list = new List(num); + CollectionsMarshal.SetCount(list, num); + CollectionsMarshal.AsSpan(list)[0] = reader.GetString(); + return list; + } + if (reader.TokenType != JsonTokenType.StartArray) + { + throw new JsonException(); + } + reader.Read(); + List list2 = new List(); + while (reader.TokenType != JsonTokenType.EndArray) + { + list2.Add(reader.GetString()); + reader.Read(); + } + return list2; + } + + public override void Write(Utf8JsonWriter writer, List? value, JsonSerializerOptions options) + { + if (value == null) + { + writer.WriteNullValue(); + return; + } + if (value.Count == 1) + { + writer.WriteStringValue(value[0]); + return; + } + writer.WriteStartArray(); + foreach (string item in value) + { + writer.WriteStringValue(item); + } + writer.WriteEndArray(); + } +} diff --git a/Questionable.Model/Questionable.Model.Converter/VectorListConverter.cs b/Questionable.Model/Questionable.Model.Converter/VectorListConverter.cs new file mode 100644 index 0000000..4381c2b --- /dev/null +++ b/Questionable.Model/Questionable.Model.Converter/VectorListConverter.cs @@ -0,0 +1,41 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Text.Json; +using System.Text.Json.Serialization; +using SmartNav.Model.Converter; + +namespace Questionable.Model.Converter; + +public sealed class VectorListConverter : JsonConverter> +{ + private static readonly VectorConverter ItemConverter = new VectorConverter(); + + public override List Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + if (reader.TokenType != JsonTokenType.StartArray) + { + throw new JsonException(); + } + List list = new List(); + while (reader.Read()) + { + if (reader.TokenType == JsonTokenType.EndArray) + { + return list; + } + list.Add(ItemConverter.Read(ref reader, typeof(Vector3), options)); + } + throw new JsonException(); + } + + public override void Write(Utf8JsonWriter writer, List value, JsonSerializerOptions options) + { + writer.WriteStartArray(); + foreach (Vector3 item in value) + { + ItemConverter.Write(writer, item, options); + } + writer.WriteEndArray(); + } +} diff --git a/Questionable.Model/Questionable.Model.Gathering/GatheringLocation.cs b/Questionable.Model/Questionable.Model.Gathering/GatheringLocation.cs index d320bf0..9842b75 100644 --- a/Questionable.Model/Questionable.Model.Gathering/GatheringLocation.cs +++ b/Questionable.Model/Questionable.Model.Gathering/GatheringLocation.cs @@ -1,7 +1,7 @@ using System; using System.Numerics; using System.Text.Json.Serialization; -using Questionable.Model.Common.Converter; +using SmartNav.Model.Converter; namespace Questionable.Model.Gathering; diff --git a/Questionable.Model/Questionable.Model.Gathering/GatheringRoot.cs b/Questionable.Model/Questionable.Model.Gathering/GatheringRoot.cs index d4fc127..31df585 100644 --- a/Questionable.Model/Questionable.Model.Gathering/GatheringRoot.cs +++ b/Questionable.Model/Questionable.Model.Gathering/GatheringRoot.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; using System.Text.Json.Serialization; -using Questionable.Model.Common.Converter; +using Questionable.Model.Converter; using Questionable.Model.Questing; namespace Questionable.Model.Gathering; diff --git a/Questionable.Model/Questionable.Model.IO/PathBundle.cs b/Questionable.Model/Questionable.Model.IO/PathBundle.cs new file mode 100644 index 0000000..1fbbd43 --- /dev/null +++ b/Questionable.Model/Questionable.Model.IO/PathBundle.cs @@ -0,0 +1,111 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.IO.Compression; +using System.Linq; +using System.Security.Cryptography; +using System.Text; +using System.Text.Json; +using System.Threading.Tasks; + +namespace Questionable.Model.IO; + +internal static class PathBundle +{ + private const int NonceSize = 12; + + private const int TagSize = 16; + + private static readonly byte[] Magic = "QPB1"u8.ToArray(); + + internal static byte[] Encode(IReadOnlyList> entries, byte[] key, byte[] nonce) + { + using MemoryStream memoryStream = new MemoryStream(); + using (BinaryWriter binaryWriter = new BinaryWriter(memoryStream, Encoding.UTF8, leaveOpen: true)) + { + binaryWriter.Write(Magic); + binaryWriter.Write(entries.Count); + foreach (KeyValuePair entry in entries) + { + entry.Deconstruct(out var key2, out var value); + string s = key2; + byte[] array = value; + byte[] bytes = Encoding.UTF8.GetBytes(s); + binaryWriter.Write(checked((byte)bytes.Length)); + binaryWriter.Write(bytes); + binaryWriter.Write(array.Length); + binaryWriter.Write(array); + } + } + using MemoryStream memoryStream2 = new MemoryStream(); + using (DeflateStream deflateStream = new DeflateStream(memoryStream2, CompressionLevel.Optimal, leaveOpen: true)) + { + deflateStream.Write(memoryStream.GetBuffer(), 0, (int)memoryStream.Length); + } + byte[] array2 = memoryStream2.ToArray(); + byte[] array3 = new byte[28 + array2.Length]; + nonce.CopyTo(array3, 0); + using AesGcm aesGcm = new AesGcm(key, 16); + aesGcm.Encrypt(nonce, array2, array3.AsSpan(28), array3.AsSpan(12, 16)); + return array3; + } + + internal static List> Deserialize(Stream stream, byte[] key) + { + byte[] container = Decode(stream, key); + using MemoryStream memoryStream = new MemoryStream(container); + using BinaryReader binaryReader = new BinaryReader(memoryStream, Encoding.UTF8); + if (!((ReadOnlySpan)binaryReader.ReadBytes(Magic.Length).AsSpan()).SequenceEqual((ReadOnlySpan)Magic)) + { + throw new InvalidDataException("not a path bundle"); + } + int num = binaryReader.ReadInt32(); + (string Id, int Offset, int Length)[] entries = new(string, int, int)[num]; + for (int i = 0; i < num; i++) + { + int count = binaryReader.ReadByte(); + string item = Encoding.UTF8.GetString(binaryReader.ReadBytes(count)); + int num2 = binaryReader.ReadInt32(); + entries[i] = (Id: item, Offset: (int)memoryStream.Position, Length: num2); + memoryStream.Seek(num2, SeekOrigin.Current); + } + KeyValuePair[] result = new KeyValuePair[num]; + Parallel.For(0, num, delegate(int num3) + { + (string Id, int Offset, int Length) tuple = entries[num3]; + string item2 = tuple.Id; + int item3 = tuple.Offset; + int item4 = tuple.Length; + T val = JsonSerializer.Deserialize(new ReadOnlySpan(container, item3, item4)); + if (val == null) + { + throw new InvalidDataException("null payload for id " + item2); + } + T value = val; + result[num3] = new KeyValuePair(item2, value); + }); + return result.ToList(); + } + + private static byte[] Decode(Stream stream, byte[] key) + { + using MemoryStream memoryStream = new MemoryStream(); + stream.CopyTo(memoryStream); + byte[] array = memoryStream.ToArray(); + if (array.Length < 28) + { + throw new InvalidDataException("bundle truncated"); + } + byte[] array2 = new byte[array.Length - 12 - 16]; + using (AesGcm aesGcm = new AesGcm(key, 16)) + { + aesGcm.Decrypt(array.AsSpan(0, 12), array.AsSpan(28), array.AsSpan(12, 16), array2); + } + using MemoryStream memoryStream2 = new MemoryStream(); + using (DeflateStream deflateStream = new DeflateStream(new MemoryStream(array2), CompressionMode.Decompress)) + { + deflateStream.CopyTo(memoryStream2); + } + return memoryStream2.ToArray(); + } +} diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/ActionConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/ActionConverter.cs index 8476b03..4a762b5 100644 --- a/Questionable.Model/Questionable.Model.Questing.Converter/ActionConverter.cs +++ b/Questionable.Model/Questionable.Model.Questing.Converter/ActionConverter.cs @@ -1,5 +1,5 @@ using System.Collections.Generic; -using Questionable.Model.Common.Converter; +using SmartNav.Model.Converter; namespace Questionable.Model.Questing.Converter; diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/AethernetShardConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/AethernetShardConverter.cs index 0c788f4..1409807 100644 --- a/Questionable.Model/Questionable.Model.Questing.Converter/AethernetShardConverter.cs +++ b/Questionable.Model/Questionable.Model.Questing.Converter/AethernetShardConverter.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -using Questionable.Model.Common; -using Questionable.Model.Common.Converter; +using SmartNav.Model; +using SmartNav.Model.Converter; namespace Questionable.Model.Questing.Converter; @@ -257,7 +257,7 @@ public sealed class AethernetShardConverter : EnumConverter "[Firmament] Western Risensong Quarter" }, { - EAetheryteLocation.FIrmamentEasternRisensongQuarter, + EAetheryteLocation.FirmamentEasternRisensongQuarter, "[Firmament] Eastern Risensong Quarter" }, { diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/CombatItemUseConditionConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/CombatItemUseConditionConverter.cs index b001980..0757bdc 100644 --- a/Questionable.Model/Questionable.Model.Questing.Converter/CombatItemUseConditionConverter.cs +++ b/Questionable.Model/Questionable.Model.Questing.Converter/CombatItemUseConditionConverter.cs @@ -1,5 +1,5 @@ using System.Collections.Generic; -using Questionable.Model.Common.Converter; +using SmartNav.Model.Converter; namespace Questionable.Model.Questing.Converter; diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/DialogueChoiceTypeConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/DialogueChoiceTypeConverter.cs index 0bae0b7..7e60b9d 100644 --- a/Questionable.Model/Questionable.Model.Questing.Converter/DialogueChoiceTypeConverter.cs +++ b/Questionable.Model/Questionable.Model.Questing.Converter/DialogueChoiceTypeConverter.cs @@ -1,5 +1,5 @@ using System.Collections.Generic; -using Questionable.Model.Common.Converter; +using SmartNav.Model.Converter; namespace Questionable.Model.Questing.Converter; diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/ElementIdConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/ElementIdConverter.cs index 3783e3b..73b0f45 100644 --- a/Questionable.Model/Questionable.Model.Questing.Converter/ElementIdConverter.cs +++ b/Questionable.Model/Questionable.Model.Questing.Converter/ElementIdConverter.cs @@ -17,6 +17,13 @@ public sealed class ElementIdConverter : JsonConverter public override void Write(Utf8JsonWriter writer, ElementId value, JsonSerializerOptions options) { - throw new NotImplementedException(); + if (value is QuestId) + { + writer.WriteNumberValue(value.Value); + } + else + { + writer.WriteStringValue(value.ToString()); + } } } diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/ElementIdListConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/ElementIdListConverter.cs index f2cdca3..967ba51 100644 --- a/Questionable.Model/Questionable.Model.Questing.Converter/ElementIdListConverter.cs +++ b/Questionable.Model/Questionable.Model.Questing.Converter/ElementIdListConverter.cs @@ -32,6 +32,18 @@ public sealed class ElementIdListConverter : JsonConverter> public override void Write(Utf8JsonWriter writer, List value, JsonSerializerOptions options) { - throw new NotImplementedException(); + writer.WriteStartArray(); + foreach (ElementId item in value) + { + if (item is QuestId) + { + writer.WriteNumberValue(item.Value); + } + else + { + writer.WriteStringValue(item.ToString()); + } + } + writer.WriteEndArray(); } } diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/EmoteConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/EmoteConverter.cs index 77b8cc7..69bdd5e 100644 --- a/Questionable.Model/Questionable.Model.Questing.Converter/EmoteConverter.cs +++ b/Questionable.Model/Questionable.Model.Questing.Converter/EmoteConverter.cs @@ -1,5 +1,5 @@ using System.Collections.Generic; -using Questionable.Model.Common.Converter; +using SmartNav.Model.Converter; namespace Questionable.Model.Questing.Converter; diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/EnemySpawnTypeConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/EnemySpawnTypeConverter.cs index 161f9f7..db280fd 100644 --- a/Questionable.Model/Questionable.Model.Questing.Converter/EnemySpawnTypeConverter.cs +++ b/Questionable.Model/Questionable.Model.Questing.Converter/EnemySpawnTypeConverter.cs @@ -1,5 +1,5 @@ using System.Collections.Generic; -using Questionable.Model.Common.Converter; +using SmartNav.Model.Converter; namespace Questionable.Model.Questing.Converter; diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/ExtendedClassJobConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/ExtendedClassJobConverter.cs index d5375e6..226b852 100644 --- a/Questionable.Model/Questionable.Model.Questing.Converter/ExtendedClassJobConverter.cs +++ b/Questionable.Model/Questionable.Model.Questing.Converter/ExtendedClassJobConverter.cs @@ -1,5 +1,5 @@ using System.Collections.Generic; -using Questionable.Model.Common.Converter; +using SmartNav.Model.Converter; namespace Questionable.Model.Questing.Converter; @@ -179,6 +179,10 @@ internal sealed class ExtendedClassJobConverter : EnumConverter EInteractionType.EquipItem, "EquipItem" }, + { + EInteractionType.UnequipItem, + "UnequipItem" + }, { EInteractionType.PurchaseItem, "PurchaseItem" @@ -115,6 +119,10 @@ public sealed class InteractionTypeConverter : EnumConverter EInteractionType.UnlockTaxiStand, "UnlockTaxiStand" }, + { + EInteractionType.MeldMateria, + "MeldMateria" + }, { EInteractionType.Instruction, "Instruction" @@ -130,6 +138,14 @@ public sealed class InteractionTypeConverter : EnumConverter { EInteractionType.FateAction, "FateAction" + }, + { + EInteractionType.Fish, + "Fish" + }, + { + EInteractionType.CriticalEncounter, + "CriticalEncounter" } }; diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/JumpTypeConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/JumpTypeConverter.cs index 37d804a..17aa163 100644 --- a/Questionable.Model/Questionable.Model.Questing.Converter/JumpTypeConverter.cs +++ b/Questionable.Model/Questionable.Model.Questing.Converter/JumpTypeConverter.cs @@ -1,5 +1,5 @@ using System.Collections.Generic; -using Questionable.Model.Common.Converter; +using SmartNav.Model.Converter; namespace Questionable.Model.Questing.Converter; diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/LockedSkipConditionConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/LockedSkipConditionConverter.cs index 0e5521f..93e3f84 100644 --- a/Questionable.Model/Questionable.Model.Questing.Converter/LockedSkipConditionConverter.cs +++ b/Questionable.Model/Questionable.Model.Questing.Converter/LockedSkipConditionConverter.cs @@ -1,5 +1,5 @@ using System.Collections.Generic; -using Questionable.Model.Common.Converter; +using SmartNav.Model.Converter; namespace Questionable.Model.Questing.Converter; diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/QuestWorkConfigConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/QuestWorkConfigConverter.cs index f9cb40a..4c94d41 100644 --- a/Questionable.Model/Questionable.Model.Questing.Converter/QuestWorkConfigConverter.cs +++ b/Questionable.Model/Questionable.Model.Questing.Converter/QuestWorkConfigConverter.cs @@ -57,6 +57,26 @@ public sealed class QuestWorkConfigConverter : JsonConverter public override void Write(Utf8JsonWriter writer, QuestWorkValue value, JsonSerializerOptions options) { - throw new NotImplementedException(); + if (value != null && value.High.HasValue && value.Low.HasValue && value.Mode == EQuestWorkMode.Bitwise) + { + byte value2 = (byte)((value.High.Value << 4) + value.Low.Value); + writer.WriteNumberValue(value2); + return; + } + writer.WriteStartObject(); + if (value.High.HasValue) + { + writer.WriteNumber("High", value.High.Value); + } + if (value.Low.HasValue) + { + writer.WriteNumber("Low", value.Low.Value); + } + if (value.Mode != EQuestWorkMode.Bitwise) + { + writer.WritePropertyName("Mode"); + new QuestWorkModeConverter().Write(writer, value.Mode, options); + } + writer.WriteEndObject(); } } diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/QuestWorkModeConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/QuestWorkModeConverter.cs index 6754124..3c2ddde 100644 --- a/Questionable.Model/Questionable.Model.Questing.Converter/QuestWorkModeConverter.cs +++ b/Questionable.Model/Questionable.Model.Questing.Converter/QuestWorkModeConverter.cs @@ -1,5 +1,5 @@ using System.Collections.Generic; -using Questionable.Model.Common.Converter; +using SmartNav.Model.Converter; namespace Questionable.Model.Questing.Converter; diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/SkipConditionConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/SkipConditionConverter.cs index b7a2e55..53eccf4 100644 --- a/Questionable.Model/Questionable.Model.Questing.Converter/SkipConditionConverter.cs +++ b/Questionable.Model/Questionable.Model.Questing.Converter/SkipConditionConverter.cs @@ -1,5 +1,5 @@ using System.Collections.Generic; -using Questionable.Model.Common.Converter; +using SmartNav.Model.Converter; namespace Questionable.Model.Questing.Converter; diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/StatusConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/StatusConverter.cs index 68a1bed..514d43b 100644 --- a/Questionable.Model/Questionable.Model.Questing.Converter/StatusConverter.cs +++ b/Questionable.Model/Questionable.Model.Questing.Converter/StatusConverter.cs @@ -1,5 +1,5 @@ using System.Collections.Generic; -using Questionable.Model.Common.Converter; +using SmartNav.Model.Converter; namespace Questionable.Model.Questing.Converter; @@ -7,6 +7,10 @@ public sealed class StatusConverter : EnumConverter { private static readonly Dictionary Values = new Dictionary { + { + EStatus.Transfiguration, + "Transfiguration" + }, { EStatus.Hidden, "Hidden" diff --git a/Questionable.Model/Questionable.Model.Questing/EExtendedClassJob.cs b/Questionable.Model/Questionable.Model.Questing/EExtendedClassJob.cs index 71e996e..5638886 100644 --- a/Questionable.Model/Questionable.Model.Questing/EExtendedClassJob.cs +++ b/Questionable.Model/Questionable.Model.Questing/EExtendedClassJob.cs @@ -49,6 +49,7 @@ public enum EExtendedClassJob Sage, Viper, Pictomancer, + Beastmaster, DoW, DoM, DoH, diff --git a/Questionable.Model/Questionable.Model.Questing/EInteractionType.cs b/Questionable.Model/Questionable.Model.Questing/EInteractionType.cs index 8a9f1e8..d9e125e 100644 --- a/Questionable.Model/Questionable.Model.Questing/EInteractionType.cs +++ b/Questionable.Model/Questionable.Model.Questing/EInteractionType.cs @@ -16,6 +16,7 @@ public enum EInteractionType Combat, UseItem, EquipItem, + UnequipItem, PurchaseItem, EquipRecommended, Say, @@ -33,8 +34,11 @@ public enum EInteractionType Snipe, SwitchClass, UnlockTaxiStand, + MeldMateria, Instruction, AcceptQuest, CompleteQuest, - FateAction + FateAction, + Fish, + CriticalEncounter } diff --git a/Questionable.Model/Questionable.Model.Questing/EStatus.cs b/Questionable.Model/Questionable.Model.Questing/EStatus.cs index 4201de1..0326515 100644 --- a/Questionable.Model/Questionable.Model.Questing/EStatus.cs +++ b/Questionable.Model/Questionable.Model.Questing/EStatus.cs @@ -9,6 +9,7 @@ public enum EStatus : uint Triangulate = 217u, GatheringRateUp = 218u, Prospect = 225u, + Transfiguration = 565u, Hidden = 614u, FaceInTheCrowd = 1494u, Eukrasia = 2606u, diff --git a/Questionable.Model/Questionable.Model.Questing/ElementId.cs b/Questionable.Model/Questionable.Model.Questing/ElementId.cs index 661f8ae..549ebed 100644 --- a/Questionable.Model/Questionable.Model.Questing/ElementId.cs +++ b/Questionable.Model/Questionable.Model.Questing/ElementId.cs @@ -1,4 +1,5 @@ using System; +using System.Collections.Generic; using System.Globalization; namespace Questionable.Model.Questing; @@ -76,35 +77,31 @@ public abstract class ElementId : IComparable, IEquatable public static ElementId FromString(string value) { - if (value.StartsWith("S")) - { - return new SatisfactionSupplyNpcId(ushort.Parse(value.Substring(1), CultureInfo.InvariantCulture)); - } if (value.StartsWith("U")) { return new UnlockLinkId(ushort.Parse(value.Substring(1), CultureInfo.InvariantCulture)); } - if (value.StartsWith("N")) - { - return new AethernetId(ushort.Parse(value.Substring(1), CultureInfo.InvariantCulture)); - } - if (value.StartsWith("C")) - { - return new AetherCurrentId(ushort.Parse(value.Substring(1), CultureInfo.InvariantCulture)); - } - if (value.StartsWith("A")) - { - value = value.Substring(1); - string[] array = value.Split('x'); - if (array.Length == 2) - { - return new AlliedSocietyDailyId(byte.Parse(array[0], CultureInfo.InvariantCulture), byte.Parse(array[1], CultureInfo.InvariantCulture)); - } - return new AlliedSocietyDailyId(byte.Parse(value, CultureInfo.InvariantCulture), 0); - } return new QuestId(ushort.Parse(value, CultureInfo.InvariantCulture)); } + public static List FromStrings(IEnumerable values, out int skippedCount) + { + List list = new List(); + skippedCount = 0; + foreach (string value in values) + { + if (TryFromString(value, out ElementId elementId) && elementId != null) + { + list.Add(elementId); + } + else + { + skippedCount++; + } + } + return list; + } + public static bool TryFromString(string value, out ElementId? elementId) { try diff --git a/Questionable.Model/Questionable.Model.Questing/FateDefinition.cs b/Questionable.Model/Questionable.Model.Questing/FateDefinition.cs index 6ed25f5..a33100e 100644 --- a/Questionable.Model/Questionable.Model.Questing/FateDefinition.cs +++ b/Questionable.Model/Questionable.Model.Questing/FateDefinition.cs @@ -2,8 +2,7 @@ using System; using System.Collections.Generic; using System.Numerics; using System.Text.Json.Serialization; -using Questionable.Model.Common; -using Questionable.Model.Common.Converter; +using SmartNav.Model.Converter; namespace Questionable.Model.Questing; @@ -15,8 +14,6 @@ public sealed class FateDefinition public ushort TerritoryId { get; set; } - public EAetheryteLocation Aetheryte { get; set; } - [JsonConverter(typeof(VectorConverter))] public Vector3 Position { get; set; } diff --git a/Questionable.Model/Questionable.Model.Questing/JumpDestination.cs b/Questionable.Model/Questionable.Model.Questing/JumpDestination.cs index 5d8fcc8..aa79f5f 100644 --- a/Questionable.Model/Questionable.Model.Questing/JumpDestination.cs +++ b/Questionable.Model/Questionable.Model.Questing/JumpDestination.cs @@ -1,6 +1,6 @@ using System.Numerics; using System.Text.Json.Serialization; -using Questionable.Model.Common.Converter; +using SmartNav.Model.Converter; namespace Questionable.Model.Questing; diff --git a/Questionable.Model/Questionable.Model.Questing/LandingZone.cs b/Questionable.Model/Questionable.Model.Questing/LandingZone.cs new file mode 100644 index 0000000..6bcec8a --- /dev/null +++ b/Questionable.Model/Questionable.Model.Questing/LandingZone.cs @@ -0,0 +1,19 @@ +using System.Collections.Generic; +using System.Numerics; +using System.Text.Json.Serialization; +using Questionable.Model.Converter; + +namespace Questionable.Model.Questing; + +public sealed class LandingZone +{ + [JsonConverter(typeof(VectorListConverter))] + public List Vertices { get; set; } = new List(); + + public float? YTolerance { get; set; } + + public float CalculateYTolerance() + { + return YTolerance ?? 2f; + } +} diff --git a/Questionable.Model/Questionable.Model.Questing/NearPositionCondition.cs b/Questionable.Model/Questionable.Model.Questing/NearPositionCondition.cs index dc8dd6b..ad7ed03 100644 --- a/Questionable.Model/Questionable.Model.Questing/NearPositionCondition.cs +++ b/Questionable.Model/Questionable.Model.Questing/NearPositionCondition.cs @@ -1,6 +1,6 @@ using System.Numerics; using System.Text.Json.Serialization; -using Questionable.Model.Common.Converter; +using SmartNav.Model.Converter; namespace Questionable.Model.Questing; diff --git a/Questionable.Model/Questionable.Model.Questing/QuestRoot.cs b/Questionable.Model/Questionable.Model.Questing/QuestRoot.cs index 2d171de..55b929c 100644 --- a/Questionable.Model/Questionable.Model.Questing/QuestRoot.cs +++ b/Questionable.Model/Questionable.Model.Questing/QuestRoot.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; using System.Text.Json.Serialization; -using Questionable.Model.Common.Converter; +using Questionable.Model.Converter; namespace Questionable.Model.Questing; diff --git a/Questionable.Model/Questionable.Model.Questing/QuestRootSerializer.cs b/Questionable.Model/Questionable.Model.Questing/QuestRootSerializer.cs new file mode 100644 index 0000000..eed72fa --- /dev/null +++ b/Questionable.Model/Questionable.Model.Questing/QuestRootSerializer.cs @@ -0,0 +1,103 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text.Encodings.Web; +using System.Text.Json; +using System.Text.Json.Nodes; +using System.Text.Json.Serialization; +using System.Text.Json.Serialization.Metadata; + +namespace Questionable.Model.Questing; + +public static class QuestRootSerializer +{ + public const string SchemaUrl = "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/QuestPaths/quest-v1.json"; + + public static JsonSerializerOptions CreateOptions() + { + return new JsonSerializerOptions + { + Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping, + DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingDefault, + WriteIndented = true, + IncludeFields = false, + TypeInfoResolver = new DefaultJsonTypeInfoResolver + { + Modifiers = + { + (Action)NoEmptyCollectionModifier, + (Action)DialogueChoiceSerializationModifier, + (Action)NonDefaultBoolModifier + } + } + }; + } + + public static QuestRoot Clone(QuestRoot source, JsonSerializerOptions options) + { + return JsonSerializer.Deserialize(JsonSerializer.Serialize(source, options), options); + } + + public static byte[] SerializeToUtf8(QuestRoot questRoot, JsonSerializerOptions options) + { + JsonObject obj = (JsonObject)JsonSerializer.SerializeToNode(questRoot, options); + JsonObject jsonObject = new JsonObject { { "$schema", "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/QuestPaths/quest-v1.json" } }; + foreach (var (propertyName, jsonNode2) in obj) + { + jsonObject.Add(propertyName, jsonNode2?.DeepClone()); + } + using MemoryStream memoryStream = new MemoryStream(); + using (Utf8JsonWriter writer = new Utf8JsonWriter(memoryStream, new JsonWriterOptions + { + Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping, + Indented = true, + IndentSize = 2, + IndentCharacter = ' ', + NewLine = "\n" + })) + { + jsonObject.WriteTo(writer, options); + } + memoryStream.WriteByte(10); + return memoryStream.ToArray(); + } + + private static void NoEmptyCollectionModifier(JsonTypeInfo typeInfo) + { + foreach (JsonPropertyInfo property in typeInfo.Properties) + { + if (typeof(ICollection).IsAssignableFrom(property.PropertyType)) + { + property.ShouldSerialize = (object _, object? val) => val is ICollection collection && collection.Count > 0; + } + } + } + + private static void DialogueChoiceSerializationModifier(JsonTypeInfo typeInfo) + { + if (typeInfo.Type != typeof(DialogueChoice)) + { + return; + } + JsonPropertyInfo jsonPropertyInfo = typeInfo.Properties.FirstOrDefault((JsonPropertyInfo x) => x.Name == "Yes"); + if (jsonPropertyInfo != null) + { + jsonPropertyInfo.ShouldSerialize = (object obj, object? _) => obj is DialogueChoice dialogueChoice && dialogueChoice.Type == EDialogChoiceType.YesNo; + } + } + + private static void NonDefaultBoolModifier(JsonTypeInfo typeInfo) + { + if (typeInfo.Type != typeof(QuestRoot)) + { + return; + } + JsonPropertyInfo jsonPropertyInfo = typeInfo.Properties.FirstOrDefault((JsonPropertyInfo x) => x.Name == "Interruptible"); + if (jsonPropertyInfo != null) + { + jsonPropertyInfo.ShouldSerialize = (object obj, object? _) => obj is QuestRoot questRoot && !questRoot.Interruptible; + } + } +} diff --git a/Questionable.Model/Questionable.Model.Questing/QuestSequence.cs b/Questionable.Model/Questionable.Model.Questing/QuestSequence.cs index 0473c00..01ff48d 100644 --- a/Questionable.Model/Questionable.Model.Questing/QuestSequence.cs +++ b/Questionable.Model/Questionable.Model.Questing/QuestSequence.cs @@ -1,10 +1,12 @@ using System.Collections.Generic; using System.Linq; +using System.Text.Json.Serialization; namespace Questionable.Model.Questing; public sealed class QuestSequence { + [JsonIgnore(Condition = JsonIgnoreCondition.Never)] public byte Sequence { get; set; } public string? Comment { get; set; } diff --git a/Questionable.Model/Questionable.Model.Questing/QuestStep.cs b/Questionable.Model/Questionable.Model.Questing/QuestStep.cs index 23acd5d..c4b6394 100644 --- a/Questionable.Model/Questionable.Model.Questing/QuestStep.cs +++ b/Questionable.Model/Questionable.Model.Questing/QuestStep.cs @@ -1,9 +1,10 @@ using System.Collections.Generic; using System.Numerics; using System.Text.Json.Serialization; -using Questionable.Model.Common; -using Questionable.Model.Common.Converter; +using Questionable.Model.Converter; using Questionable.Model.Questing.Converter; +using SmartNav.Model; +using SmartNav.Model.Converter; namespace Questionable.Model.Questing; @@ -25,6 +26,8 @@ public sealed class QuestStep public float? StopDistance { get; set; } + public List? LandingZones { get; set; } + public ushort TerritoryId { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.Never)] @@ -44,6 +47,10 @@ public sealed class QuestStep public bool? Mount { get; set; } + public bool MountRequired { get; set; } + + public bool DismountRequired { get; set; } + public bool? Fly { get; set; } public bool? Land { get; set; } @@ -63,10 +70,6 @@ public sealed class QuestStep [JsonConverter(typeof(AethernetShardConverter))] public EAetheryteLocation? AethernetShard { get; set; } - public EAetheryteLocation? AetheryteShortcut { get; set; } - - public AethernetShortcut? AethernetShortcut { get; set; } - public uint? AetherCurrentId { get; set; } public uint? ItemId { get; set; } @@ -97,6 +100,8 @@ public sealed class QuestStep public List FateActionTargets { get; set; } = new List(); + public ushort? CriticalEncounterId { get; set; } + public CombatItemUse? CombatItemUse { get; set; } public float? CombatDelaySecondsAtStart { get; set; } @@ -169,17 +174,4 @@ public sealed class QuestStep return 3f; } } - - public bool IsTeleportableForPriorityQuests() - { - if (AetheryteShortcut.HasValue) - { - return true; - } - if (InteractionType == EInteractionType.UseItem && ItemId == 30362) - { - return true; - } - return false; - } } diff --git a/Questionable.Model/Questionable.Model.Questing/SatisfactionSupplyNpcId.cs b/Questionable.Model/Questionable.Model.Questing/SatisfactionSupplyNpcId.cs index 290a5fd..5a77acd 100644 --- a/Questionable.Model/Questionable.Model.Questing/SatisfactionSupplyNpcId.cs +++ b/Questionable.Model/Questionable.Model.Questing/SatisfactionSupplyNpcId.cs @@ -1,4 +1,5 @@ using System.Globalization; +using System.Runtime.CompilerServices; namespace Questionable.Model.Questing; @@ -9,8 +10,19 @@ public sealed class SatisfactionSupplyNpcId : ElementId { } + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "S" + base.Value.ToString(CultureInfo.InvariantCulture); + return _206F_202C_206C_202D_200E_206E_202B_200E_206A_200B_206B_206A_200E_202C_200F_202E_206C_206A_200E_206C_200D_206B_206F_200B_202C_202B_206A_200B_200D_206B_206E_202D_200D_202D_206C_206F_200D_202B_206A_206B_202E(global::_003CModule_003E._200F_206E_206A_200F_202A_206C_206C_202C_200E_206C_202B_200D_206C_200C_202E_200F_202B_200C_206E_202D_200D_206D_206D_200C_206D_206D_206F_206D_200F_200E_200E_206A_206D_206C_202E_206E_202E_202A_206A_206B_202E(-1299100246), base.Value.ToString(_206C_200F_202C_200F_200E_206A_200C_202C_206A_202A_202D_200C_202B_206D_200C_202E_206F_200C_206E_206E_202D_206D_200F_206B_202E_206B_206A_202E_202D_200C_202A_202A_202B_206B_200E_206B_200C_206D_202C_202D_202E())); + } + + static CultureInfo _206C_200F_202C_200F_200E_206A_200C_202C_206A_202A_202D_200C_202B_206D_200C_202E_206F_200C_206E_206E_202D_206D_200F_206B_202E_206B_206A_202E_202D_200C_202A_202A_202B_206B_200E_206B_200C_206D_202C_202D_202E() + { + return CultureInfo.InvariantCulture; + } + + static string _206F_202C_206C_202D_200E_206E_202B_200E_206A_200B_206B_206A_200E_202C_200F_202E_206C_206A_200E_206C_200D_206B_206F_200B_202C_202B_206A_200B_200D_206B_206E_202D_200D_202D_206C_206F_200D_202B_206A_206B_202E(string P_0, string P_1) + { + return P_0 + P_1; } } diff --git a/Questionable.Model/Questionable.Model.Questing/SeasonalDutyDefinition.cs b/Questionable.Model/Questionable.Model.Questing/SeasonalDutyDefinition.cs index f689404..bb1949d 100644 --- a/Questionable.Model/Questionable.Model.Questing/SeasonalDutyDefinition.cs +++ b/Questionable.Model/Questionable.Model.Questing/SeasonalDutyDefinition.cs @@ -2,9 +2,9 @@ using System; using System.Collections.Generic; using System.Numerics; using System.Text.Json.Serialization; -using Questionable.Model.Common; -using Questionable.Model.Common.Converter; +using Questionable.Model.Converter; using Questionable.Model.Questing.Converter; +using SmartNav.Model.Converter; namespace Questionable.Model.Questing; @@ -14,10 +14,6 @@ public sealed class SeasonalDutyDefinition public ushort TerritoryId { get; set; } - public EAetheryteLocation Aetheryte { get; set; } - - public AethernetShortcut? AethernetShortcut { get; set; } - public uint NpcDataId { get; set; } [JsonConverter(typeof(VectorConverter))] diff --git a/Questionable.Model/Questionable.Model.Questing/SinglePlayerDutyOptions.cs b/Questionable.Model/Questionable.Model.Questing/SinglePlayerDutyOptions.cs index 7c70cf0..df63dd5 100644 --- a/Questionable.Model/Questionable.Model.Questing/SinglePlayerDutyOptions.cs +++ b/Questionable.Model/Questionable.Model.Questing/SinglePlayerDutyOptions.cs @@ -1,12 +1,6 @@ -using System.Collections.Generic; - namespace Questionable.Model.Questing; public sealed class SinglePlayerDutyOptions { - public bool Enabled { get; set; } - - public List Notes { get; set; } = new List(); - public byte Index { get; set; } } diff --git a/Questionable.Model/Questionable.Model.Questing/SkipConditions.cs b/Questionable.Model/Questionable.Model.Questing/SkipConditions.cs index 818d5cc..cfe7d15 100644 --- a/Questionable.Model/Questionable.Model.Questing/SkipConditions.cs +++ b/Questionable.Model/Questionable.Model.Questing/SkipConditions.cs @@ -3,8 +3,4 @@ namespace Questionable.Model.Questing; public sealed class SkipConditions { public SkipStepConditions? StepIf { get; set; } - - public SkipAetheryteCondition? AetheryteShortcutIf { get; set; } - - public SkipAetheryteCondition? AethernetShortcutIf { get; set; } } diff --git a/Questionable.Model/Questionable.Model.Questing/SkipStepConditions.cs b/Questionable.Model/Questionable.Model.Questing/SkipStepConditions.cs index 69d6e24..35f9560 100644 --- a/Questionable.Model/Questionable.Model.Questing/SkipStepConditions.cs +++ b/Questionable.Model/Questionable.Model.Questing/SkipStepConditions.cs @@ -1,8 +1,8 @@ using System.Collections.Generic; using System.Linq; using System.Text.Json.Serialization; -using Questionable.Model.Common; using Questionable.Model.Questing.Converter; +using SmartNav.Model; namespace Questionable.Model.Questing; diff --git a/Questionable.Model/Questionable.Model.csproj b/Questionable.Model/Questionable.Model.csproj index 5fff03a..a497045 100644 --- a/Questionable.Model/Questionable.Model.csproj +++ b/Questionable.Model/Questionable.Model.csproj @@ -13,18 +13,18 @@ - - - - - + + + ..\..\SmartNav.Model.dll + + \ No newline at end of file diff --git a/Questionable.Model/Questionable.Model/AssemblyModelLoader.cs b/Questionable.Model/Questionable.Model/AssemblyModelLoader.cs index 37e5996..d448dfa 100644 --- a/Questionable.Model/Questionable.Model/AssemblyModelLoader.cs +++ b/Questionable.Model/Questionable.Model/AssemblyModelLoader.cs @@ -1,12 +1,13 @@ using System.IO; +using SmartNav.Model; namespace Questionable.Model; public static class AssemblyModelLoader { - public static Stream CommonAetheryte => typeof(AssemblyModelLoader).Assembly.GetManifestResourceStream("Questionable.Model.CommonAetheryte"); + public static Stream CommonAetheryte => ModelResources.CommonAetheryte; - public static Stream CommonAethernetShard => typeof(AssemblyModelLoader).Assembly.GetManifestResourceStream("Questionable.Model.CommonAethernetShard"); + public static Stream CommonAethernetShard => ModelResources.CommonAethernetShard; public static Stream CommonClassJob => typeof(AssemblyModelLoader).Assembly.GetManifestResourceStream("Questionable.Model.CommonClassJob"); diff --git a/Questionable.Model/Questionable.Model/LandingZoneMath.cs b/Questionable.Model/Questionable.Model/LandingZoneMath.cs new file mode 100644 index 0000000..dae6e55 --- /dev/null +++ b/Questionable.Model/Questionable.Model/LandingZoneMath.cs @@ -0,0 +1,164 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using Questionable.Model.Questing; + +namespace Questionable.Model; + +public static class LandingZoneMath +{ + private static readonly Random Rng = new Random(); + + public static Vector3 CalculateLandingLocation(IReadOnlyList zones) + { + if (zones.Count == 0) + { + throw new ArgumentException("At least one landing zone is required.", "zones"); + } + if (zones.Count == 1) + { + return RandomPointInConvexPolygon(zones[0].Vertices); + } + float num = 0f; + Span span = stackalloc float[zones.Count]; + for (int i = 0; i < zones.Count; i++) + { + span[i] = CalculatePolygonArea(zones[i].Vertices); + num += span[i]; + } + float num2 = (float)(Rng.NextDouble() * (double)num); + float num3 = 0f; + for (int j = 0; j < zones.Count; j++) + { + num3 += span[j]; + if (num2 <= num3) + { + return RandomPointInConvexPolygon(zones[j].Vertices); + } + } + return RandomPointInConvexPolygon(zones[zones.Count - 1].Vertices); + } + + public static Vector3 RandomPointInConvexPolygon(IReadOnlyList vertices) + { + if (vertices.Count < 3) + { + throw new ArgumentException("Polygon must have at least 3 vertices.", "vertices"); + } + if (vertices.Count == 3) + { + return RandomPointInTriangle(vertices[0], vertices[1], vertices[2]); + } + int num = vertices.Count - 2; + Span span = stackalloc float[num]; + float num2 = 0f; + for (int i = 0; i < num; i++) + { + span[i] = TriangleAreaXZ(vertices[0], vertices[i + 1], vertices[i + 2]); + num2 += span[i]; + } + float num3 = (float)(Rng.NextDouble() * (double)num2); + float num4 = 0f; + for (int j = 0; j < num; j++) + { + num4 += span[j]; + if (num3 <= num4) + { + return RandomPointInTriangle(vertices[0], vertices[j + 1], vertices[j + 2]); + } + } + return RandomPointInTriangle(vertices[0], vertices[vertices.Count - 2], vertices[vertices.Count - 1]); + } + + private static Vector3 RandomPointInTriangle(Vector3 a, Vector3 b, Vector3 c) + { + float num = (float)Rng.NextDouble(); + float num2 = (float)Rng.NextDouble(); + if (num + num2 > 1f) + { + num = 1f - num; + num2 = 1f - num2; + } + return a + num * (b - a) + num2 * (c - a); + } + + private static float TriangleAreaXZ(Vector3 a, Vector3 b, Vector3 c) + { + return MathF.Abs((b.X - a.X) * (c.Z - a.Z) - (c.X - a.X) * (b.Z - a.Z)) * 0.5f; + } + + public static float CalculatePolygonArea(IReadOnlyList vertices) + { + if (vertices.Count < 3) + { + return 0f; + } + float num = 0f; + for (int i = 0; i < vertices.Count; i++) + { + int index = (i + 1) % vertices.Count; + num += vertices[i].X * vertices[index].Z; + num -= vertices[index].X * vertices[i].Z; + } + return MathF.Abs(num) * 0.5f; + } + + public static bool IsConvex(IReadOnlyList vertices) + { + if (vertices.Count < 3) + { + return false; + } + bool? flag = null; + int count = vertices.Count; + for (int i = 0; i < count; i++) + { + Vector3 vector = vertices[i]; + Vector3 vector2 = vertices[(i + 1) % count]; + Vector3 vector3 = vertices[(i + 2) % count]; + float num = (vector2.X - vector.X) * (vector3.Z - vector2.Z) - (vector2.Z - vector.Z) * (vector3.X - vector2.X); + if (!(MathF.Abs(num) < 1E-06f)) + { + bool flag2 = num > 0f; + if (!flag.HasValue) + { + flag = flag2; + } + else if (flag != flag2) + { + return false; + } + } + } + return flag.HasValue; + } + + public static bool IsPointInConvexPolygon(Vector2 point, IReadOnlyList vertices) + { + if (vertices.Count < 3) + { + return false; + } + bool? flag = null; + int count = vertices.Count; + for (int i = 0; i < count; i++) + { + Vector3 vector = vertices[i]; + Vector3 vector2 = vertices[(i + 1) % count]; + float num = (vector2.X - vector.X) * (point.Y - vector.Z) - (vector2.Z - vector.Z) * (point.X - vector.X); + if (!(MathF.Abs(num) < 1E-06f)) + { + bool flag2 = num > 0f; + if (!flag.HasValue) + { + flag = flag2; + } + else if (flag != flag2) + { + return false; + } + } + } + return true; + } +} diff --git a/Questionable/-----------------------------------------.cs b/Questionable/-----------------------------------------.cs new file mode 100644 index 0000000..cd65c5c --- /dev/null +++ b/Questionable/-----------------------------------------.cs @@ -0,0 +1,926 @@ +using System; +using System.IO; +using System.Runtime.InteropServices; + +internal struct _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E +{ + internal uint _202C_202B_202E_206F_202B_206F_206D_200D_200E_200E_202B_202E_200C_206F_200D_202C_206F_206A_200F_200F_206B_200B_202E_206C_206E_200C_200C_202B_206D_206F_206B_202B_200B_202D_200F_206D_202C_206F_206F_200D_202E; + + internal void _202A_206E_200C_200D_200D_202D_200F_200F_206E_202D_200F_206D_200E_202D_202C_206D_202C_206C_202A_200D_200D_200F_200B_206F_206D_200D_200E_200F_206E_206F_200F_200B_206C_206A_206A_200B_202A_206B_202D_200C_202E() + { + _202C_202B_202E_206F_202B_206F_206D_200D_200E_200E_202B_202E_200C_206F_200D_202C_206F_206A_200F_200F_206B_200B_202E_206C_206E_200C_200C_202B_206D_206F_206B_202B_200B_202D_200F_206D_202C_206F_206F_200D_202E = 1024u; + } + + internal uint _202B_200D_200C_200E_206A_202B_206C_202D_206C_206F_200F_200D_200F_206B_202D_202C_206C_202C_200B_200F_206B_206A_206F_202B_200C_202A_202E_206F_202D_206E_202E_202B_200D_206D_206E_202B_206D_206B_202D_206D_202E(_206E_200C_202A_200F_202B_200E_200E_202C_206D_206B_202D_206A_206F_206D_202C_206D_206E_202C_206D_202A_206C_206C_206E_200C_202A_200F_200F_206D_202B_206A_206D_200D_200F_202A_202A_202A_202B_206D_200E_206D_202E rangeDecoder) + { + uint num = (rangeDecoder._202D_200D_200B_206C_206D_206D_200F_206D_206A_202B_200B_200B_202C_202E_206C_200F_200F_200F_202C_202C_206E_200E_206A_206B_202E_206B_202C_200C_200B_202E_202B_200E_200D_202D_200F_200B_200D_206C_200C_202D_202E >> 11) * _202C_202B_202E_206F_202B_206F_206D_200D_200E_200E_202B_202E_200C_206F_200D_202C_206F_206A_200F_200F_206B_200B_202E_206C_206E_200C_200C_202B_206D_206F_206B_202B_200B_202D_200F_206D_202C_206F_206F_200D_202E; + int num3; + int num4; + if (rangeDecoder._200E_206B_202D_202D_206C_200D_200C_202B_200B_202D_200F_200D_202B_200D_206A_202C_202D_206F_202B_206B_202A_202E_202A_202E_202B_206C_200B_202B_200D_202A_202C_206A_202D_206B_206F_200E_202E_206A_200C_200F_202E < num) + { + rangeDecoder._202D_200D_200B_206C_206D_206D_200F_206D_206A_202B_200B_200B_202C_202E_206C_200F_200F_200F_202C_202C_206E_200E_206A_206B_202E_206B_202C_200C_200B_202E_202B_200E_200D_202D_200F_200B_200D_206C_200C_202D_202E = num; + uint num2 = _202C_202B_202E_206F_202B_206F_206D_200D_200E_200E_202B_202E_200C_206F_200D_202C_206F_206A_200F_200F_206B_200B_202E_206C_206E_200C_200C_202B_206D_206F_206B_202B_200B_202D_200F_206D_202C_206F_206F_200D_202E; + num3 = (int)_202C_202B_202E_206F_202B_206F_206D_200D_200E_200E_202B_202E_200C_206F_200D_202C_206F_206A_200F_200F_206B_200B_202E_206C_206E_200C_200C_202B_206D_206F_206B_202B_200B_202D_200F_206D_202C_206F_206F_200D_202E; + num4 = 2048; + num3 = ~(~num4 + num3) >>> 5; + num4 = (int)num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + _202C_202B_202E_206F_202B_206F_206D_200D_200E_200E_202B_202E_200C_206F_200D_202C_206F_206A_200F_200F_206B_200B_202E_206C_206E_200C_200C_202B_206D_206F_206B_202B_200B_202D_200F_206D_202C_206F_206F_200D_202E = (uint)(num5 + (num6 + num6)); + if (rangeDecoder._202D_200D_200B_206C_206D_206D_200F_206D_206A_202B_200B_200B_202C_202E_206C_200F_200F_200F_202C_202C_206E_200E_206A_206B_202E_206B_202C_200C_200B_202E_202B_200E_200D_202D_200F_200B_200D_206C_200C_202D_202E < 16777216) + { + rangeDecoder._200E_206B_202D_202D_206C_200D_200C_202B_200B_202D_200F_200D_202B_200D_206A_202C_202D_206F_202B_206B_202A_202E_202A_202E_202B_206C_200B_202B_200D_202A_202C_206A_202D_206B_206F_200E_202E_206A_200C_200F_202E = (rangeDecoder._200E_206B_202D_202D_206C_200D_200C_202B_200B_202D_200F_200D_202B_200D_206A_202C_202D_206F_202B_206B_202A_202E_202A_202E_202B_206C_200B_202B_200D_202A_202C_206A_202D_206B_206F_200E_202E_206A_200C_200F_202E << 8) | (byte)rangeDecoder._200F_206D_206A_200E_202E_202C_206F_202B_202E_202B_202C_206E_206B_206C_200D_202B_200D_200C_200D_202D_202D_206C_206C_202C_200C_206B_206C_206F_202B_200C_200C_206E_202A_202C_200D_200F_202B_200E_202E_206E_202E.ReadByte(); + rangeDecoder._202D_200D_200B_206C_206D_206D_200F_206D_206A_202B_200B_200B_202C_202E_206C_200F_200F_200F_202C_202C_206E_200E_206A_206B_202E_206B_202C_200C_200B_202E_202B_200E_200D_202D_200F_200B_200D_206C_200C_202D_202E <<= 8; + } + return 0u; + } + uint num7 = rangeDecoder._202D_200D_200B_206C_206D_206D_200F_206D_206A_202B_200B_200B_202C_202E_206C_200F_200F_200F_202C_202C_206E_200E_206A_206B_202E_206B_202C_200C_200B_202E_202B_200E_200D_202D_200F_200B_200D_206C_200C_202D_202E; + num3 = (int)num; + num4 = (int)num7; + rangeDecoder._202D_200D_200B_206C_206D_206D_200F_206D_206A_202B_200B_200B_202C_202E_206C_200F_200F_200F_202C_202C_206E_200E_206A_206B_202E_206B_202C_200C_200B_202E_202B_200E_200D_202D_200F_200B_200D_206C_200C_202D_202E = (uint)(~(~num4 + num3)); + uint num8 = rangeDecoder._200E_206B_202D_202D_206C_200D_200C_202B_200B_202D_200F_200D_202B_200D_206A_202C_202D_206F_202B_206B_202A_202E_202A_202E_202B_206C_200B_202B_200D_202A_202C_206A_202D_206B_206F_200E_202E_206A_200C_200F_202E; + num3 = (int)num; + num4 = (int)num8; + rangeDecoder._200E_206B_202D_202D_206C_200D_200C_202B_200B_202D_200F_200D_202B_200D_206A_202C_202D_206F_202B_206B_202A_202E_202A_202E_202B_206C_200B_202B_200D_202A_202C_206A_202D_206B_206F_200E_202E_206A_200C_200F_202E = (uint)(~(~num4 + num3)); + uint num9 = _202C_202B_202E_206F_202B_206F_206D_200D_200E_200E_202B_202E_200C_206F_200D_202C_206F_206A_200F_200F_206B_200B_202E_206C_206E_200C_200C_202B_206D_206F_206B_202B_200B_202D_200F_206D_202C_206F_206F_200D_202E; + num3 = (int)(_202C_202B_202E_206F_202B_206F_206D_200D_200E_200E_202B_202E_200C_206F_200D_202C_206F_206A_200F_200F_206B_200B_202E_206C_206E_200C_200C_202B_206D_206F_206B_202B_200B_202D_200F_206D_202C_206F_206F_200D_202E >> 5); + num4 = (int)num9; + _202C_202B_202E_206F_202B_206F_206D_200D_200E_200E_202B_202E_200C_206F_200D_202C_206F_206A_200F_200F_206B_200B_202E_206C_206E_200C_200C_202B_206D_206F_206B_202B_200B_202D_200F_206D_202C_206F_206F_200D_202E = (uint)(~(~num4 + num3)); + if (rangeDecoder._202D_200D_200B_206C_206D_206D_200F_206D_206A_202B_200B_200B_202C_202E_206C_200F_200F_200F_202C_202C_206E_200E_206A_206B_202E_206B_202C_200C_200B_202E_202B_200E_200D_202D_200F_200B_200D_206C_200C_202D_202E < 16777216) + { + rangeDecoder._200E_206B_202D_202D_206C_200D_200C_202B_200B_202D_200F_200D_202B_200D_206A_202C_202D_206F_202B_206B_202A_202E_202A_202E_202B_206C_200B_202B_200D_202A_202C_206A_202D_206B_206F_200E_202E_206A_200C_200F_202E = (rangeDecoder._200E_206B_202D_202D_206C_200D_200C_202B_200B_202D_200F_200D_202B_200D_206A_202C_202D_206F_202B_206B_202A_202E_202A_202E_202B_206C_200B_202B_200D_202A_202C_206A_202D_206B_206F_200E_202E_206A_200C_200F_202E << 8) | (byte)rangeDecoder._200F_206D_206A_200E_202E_202C_206F_202B_202E_202B_202C_206E_206B_206C_200D_202B_200D_200C_200D_202D_202D_206C_206C_202C_200C_206B_206C_206F_202B_200C_200C_206E_202A_202C_200D_200F_202B_200E_202E_206E_202E.ReadByte(); + rangeDecoder._202D_200D_200B_206C_206D_206D_200F_206D_206A_202B_200B_200B_202C_202E_206C_200F_200F_200F_202C_202C_206E_200E_206A_206B_202E_206B_202C_200C_200B_202E_202B_200E_200D_202D_200F_200B_200D_206C_200C_202D_202E <<= 8; + } + return 1u; + } +} +internal class _206E_200C_202A_200F_202B_200E_200E_202C_206D_206B_202D_206A_206F_206D_202C_206D_206E_202C_206D_202A_206C_206C_206E_200C_202A_200F_200F_206D_202B_206A_206D_200D_200F_202A_202A_202A_202B_206D_200E_206D_202E +{ + internal uint _200E_206B_202D_202D_206C_200D_200C_202B_200B_202D_200F_200D_202B_200D_206A_202C_202D_206F_202B_206B_202A_202E_202A_202E_202B_206C_200B_202B_200D_202A_202C_206A_202D_206B_206F_200E_202E_206A_200C_200F_202E; + + internal uint _202D_200D_200B_206C_206D_206D_200F_206D_206A_202B_200B_200B_202C_202E_206C_200F_200F_200F_202C_202C_206E_200E_206A_206B_202E_206B_202C_200C_200B_202E_202B_200E_200D_202D_200F_200B_200D_206C_200C_202D_202E; + + internal Stream _200F_206D_206A_200E_202E_202C_206F_202B_202E_202B_202C_206E_206B_206C_200D_202B_200D_200C_200D_202D_202D_206C_206C_202C_200C_206B_206C_206F_202B_200C_200C_206E_202A_202C_200D_200F_202B_200E_202E_206E_202E; + + internal void _206B_202A_206A_206D_206C_202B_206F_202A_200F_202E_206C_200D_200C_200F_206E_206A_206C_200E_200D_202B_206D_202C_200E_202E_206D_202A_206A_206D_200C_206B_206F_206B_202A_206E_206A_202B_202C_206B_202D_200C_202E(Stream stream) + { + _200F_206D_206A_200E_202E_202C_206F_202B_202E_202B_202C_206E_206B_206C_200D_202B_200D_200C_200D_202D_202D_206C_206C_202C_200C_206B_206C_206F_202B_200C_200C_206E_202A_202C_200D_200F_202B_200E_202E_206E_202E = stream; + _200E_206B_202D_202D_206C_200D_200C_202B_200B_202D_200F_200D_202B_200D_206A_202C_202D_206F_202B_206B_202A_202E_202A_202E_202B_206C_200B_202B_200D_202A_202C_206A_202D_206B_206F_200E_202E_206A_200C_200F_202E = 0u; + _202D_200D_200B_206C_206D_206D_200F_206D_206A_202B_200B_200B_202C_202E_206C_200F_200F_200F_202C_202C_206E_200E_206A_206B_202E_206B_202C_200C_200B_202E_202B_200E_200D_202D_200F_200B_200D_206C_200C_202D_202E = uint.MaxValue; + int num = 0; + while (num < 5) + { + _200E_206B_202D_202D_206C_200D_200C_202B_200B_202D_200F_200D_202B_200D_206A_202C_202D_206F_202B_206B_202A_202E_202A_202E_202B_206C_200B_202B_200D_202A_202C_206A_202D_206B_206F_200E_202E_206A_200C_200F_202E = (_200E_206B_202D_202D_206C_200D_200C_202B_200B_202D_200F_200D_202B_200D_206A_202C_202D_206F_202B_206B_202A_202E_202A_202E_202B_206C_200B_202B_200D_202A_202C_206A_202D_206B_206F_200E_202E_206A_200C_200F_202E << 8) | (byte)_200F_206D_206A_200E_202E_202C_206F_202B_202E_202B_202C_206E_206B_206C_200D_202B_200D_200C_200D_202D_202D_206C_206C_202C_200C_206B_206C_206F_202B_200C_200C_206E_202A_202C_200D_200F_202B_200E_202E_206E_202E.ReadByte(); + int num2 = num; + int num3 = 1; + int num4 = num2; + num = (num4 | num3) + (num4 & num3); + } + } + + internal void _200C_202B_206A_206A_206E_206C_206C_206D_206A_200C_200F_200D_206C_200D_206C_206A_200B_202E_202B_202A_200E_200C_206A_200F_200B_202E_202D_206F_202C_206C_206B_206D_206B_200D_206F_202E_206E_200B_206E_202D_202E() + { + _200F_206D_206A_200E_202E_202C_206F_202B_202E_202B_202C_206E_206B_206C_200D_202B_200D_200C_200D_202D_202D_206C_206C_202C_200C_206B_206C_206F_202B_200C_200C_206E_202A_202C_200D_200F_202B_200E_202E_206E_202E = null; + } + + internal void _206D_200F_200B_200D_202B_200F_202A_200D_200F_206C_206A_206E_206C_200E_202B_202D_202C_202B_206A_206C_200D_202C_200B_200C_200C_202E_206B_202A_206C_200F_202E_202E_206C_202E_200B_206F_200C_200B_206C_206C_202E() + { + while (_202D_200D_200B_206C_206D_206D_200F_206D_206A_202B_200B_200B_202C_202E_206C_200F_200F_200F_202C_202C_206E_200E_206A_206B_202E_206B_202C_200C_200B_202E_202B_200E_200D_202D_200F_200B_200D_206C_200C_202D_202E < 16777216) + { + _200E_206B_202D_202D_206C_200D_200C_202B_200B_202D_200F_200D_202B_200D_206A_202C_202D_206F_202B_206B_202A_202E_202A_202E_202B_206C_200B_202B_200D_202A_202C_206A_202D_206B_206F_200E_202E_206A_200C_200F_202E = (_200E_206B_202D_202D_206C_200D_200C_202B_200B_202D_200F_200D_202B_200D_206A_202C_202D_206F_202B_206B_202A_202E_202A_202E_202B_206C_200B_202B_200D_202A_202C_206A_202D_206B_206F_200E_202E_206A_200C_200F_202E << 8) | (byte)_200F_206D_206A_200E_202E_202C_206F_202B_202E_202B_202C_206E_206B_206C_200D_202B_200D_200C_200D_202D_202D_206C_206C_202C_200C_206B_206C_206F_202B_200C_200C_206E_202A_202C_200D_200F_202B_200E_202E_206E_202E.ReadByte(); + _202D_200D_200B_206C_206D_206D_200F_206D_206A_202B_200B_200B_202C_202E_206C_200F_200F_200F_202C_202C_206E_200E_206A_206B_202E_206B_202C_200C_200B_202E_202B_200E_200D_202D_200F_200B_200D_206C_200C_202D_202E <<= 8; + } + } + + internal uint _206D_202A_202A_200C_206E_206C_206E_200C_202A_200F_202C_200B_206A_206D_202B_202A_202E_206E_206A_200D_206A_200D_206E_202A_202C_202D_202A_202D_200E_202E_200E_200B_202C_206B_202B_206C_202D_206C_202A_202D_202E(int numTotalBits) + { + uint num = _202D_200D_200B_206C_206D_206D_200F_206D_206A_202B_200B_200B_202C_202E_206C_200F_200F_200F_202C_202C_206E_200E_206A_206B_202E_206B_202C_200C_200B_202E_202B_200E_200D_202D_200F_200B_200D_206C_200C_202D_202E; + uint num2 = _200E_206B_202D_202D_206C_200D_200C_202B_200B_202D_200F_200D_202B_200D_206A_202C_202D_206F_202B_206B_202A_202E_202A_202E_202B_206C_200B_202B_200D_202A_202C_206A_202D_206B_206F_200E_202E_206A_200C_200F_202E; + uint num3 = 0u; + int num4 = numTotalBits; + while (num4 > 0) + { + num >>= 1; + uint num5 = num2; + int num6 = (int)num; + int num7 = (int)num5; + uint num8 = (uint)(~(~num7 + num6)) >> 31; + uint num9 = num2; + uint num10 = num; + num6 = 1; + num7 = (int)num8; + num6 = ~(~num7 + num6); + num7 = (int)num10; + num6 = (num7 | num6) - (num7 ^ num6); + num7 = (int)num9; + num2 = (uint)(~(~num7 + num6)); + uint num11 = num3 << 1; + num6 = (int)num8; + num7 = 1; + num6 = ~(~num7 + num6); + num7 = (int)num11; + num3 = (uint)((num7 & num6) + (num7 ^ num6)); + if (num < 16777216) + { + num2 = (num2 << 8) | (byte)_200F_206D_206A_200E_202E_202C_206F_202B_202E_202B_202C_206E_206B_206C_200D_202B_200D_200C_200D_202D_202D_206C_206C_202C_200C_206B_206C_206F_202B_200C_200C_206E_202A_202C_200D_200F_202B_200E_202E_206E_202E.ReadByte(); + num <<= 8; + } + int num12 = num4; + num6 = 1; + num7 = num12; + num4 = ~(~num7 + num6); + } + _202D_200D_200B_206C_206D_206D_200F_206D_206A_202B_200B_200B_202C_202E_206C_200F_200F_200F_202C_202C_206E_200E_206A_206B_202E_206B_202C_200C_200B_202E_202B_200E_200D_202D_200F_200B_200D_206C_200C_202D_202E = num; + _200E_206B_202D_202D_206C_200D_200C_202B_200B_202D_200F_200D_202B_200D_206A_202C_202D_206F_202B_206B_202A_202E_202A_202E_202B_206C_200B_202B_200D_202A_202C_206A_202D_206B_206F_200E_202E_206A_200C_200F_202E = num2; + return num3; + } + + internal _206E_200C_202A_200F_202B_200E_200E_202C_206D_206B_202D_206A_206F_206D_202C_206D_206E_202C_206D_202A_206C_206C_206E_200C_202A_200F_200F_206D_202B_206A_206D_200D_200F_202A_202A_202A_202B_206D_200E_206D_202E() + { + } +} +internal class _206F_206A_202A_200E_200D_202C_200B_206A_202D_206E_202E_200C_202D_202E_200E_202D_200D_200D_206E_200B_206A_202D_206B_206F_200F_206F_202B_206D_206A_206D_202C_202B_200D_202D_200E_206A_202A_206C_202D_206C_202E +{ + internal class _200C_206C_206C_202E_206F_202C_200D_200B_200C_206E_206B_200B_206E_200F_202A_202B_200B_202E_202D_202E_200D_200E_206F_200D_202C_202A_200F_206E_200E_202A_202D_202C_202A_206D_206A_206E_202A_202C_206C_200C_202E + { + internal readonly _202C_206D_206F_206C_202B_206F_200E_206D_206E_200B_206E_206C_200D_206F_206C_206B_200B_200E_202A_200F_206C_202D_200D_200B_206E_202C_200B_206A_200D_200D_206C_202A_200D_200E_206B_202E_202D_202D_202D_202E[] _202E_200C_200C_206F_200B_202B_206C_200E_200D_200B_202A_202B_206A_202D_202D_200D_202B_202C_200F_206D_200E_200B_202A_200D_200C_202A_206E_202D_202B_200B_206A_200E_202B_202D_206A_200B_200C_206F_206F_202E_202E = new _202C_206D_206F_206C_202B_206F_200E_206D_206E_200B_206E_206C_200D_206F_206C_206B_200B_200E_202A_200F_206C_202D_200D_200B_206E_202C_200B_206A_200D_200D_206C_202A_200D_200E_206B_202E_202D_202D_202D_202E[16]; + + internal readonly _202C_206D_206F_206C_202B_206F_200E_206D_206E_200B_206E_206C_200D_206F_206C_206B_200B_200E_202A_200F_206C_202D_200D_200B_206E_202C_200B_206A_200D_200D_206C_202A_200D_200E_206B_202E_202D_202D_202D_202E[] _206E_202B_202C_200C_206D_206A_206C_200C_202B_206C_202B_206E_202E_202E_200E_206F_202A_202B_202C_202D_206B_202D_200D_206C_206A_200B_202A_206A_200C_206B_206C_206F_206B_206B_200E_206F_206E_206C_200F_206E_202E = new _202C_206D_206F_206C_202B_206F_200E_206D_206E_200B_206E_206C_200D_206F_206C_206B_200B_200E_202A_200F_206C_202D_200D_200B_206E_202C_200B_206A_200D_200D_206C_202A_200D_200E_206B_202E_202D_202D_202D_202E[16]; + + internal _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E _206F_200B_206B_202B_202D_200C_202A_206A_202D_202E_202C_206F_206D_206C_206B_206D_202C_202D_200B_202C_202B_202B_206A_206D_202B_200C_200C_206D_200C_206F_202C_200D_202E_206E_202C_206B_206D_202E_202B_200F_202E; + + internal _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E _202D_206A_202E_202B_206D_202B_200E_206A_200B_202C_202B_206A_206A_202C_200E_206B_202B_200B_200F_200B_206D_200C_200F_202E_200B_200C_200B_202C_200D_200E_200D_206D_202B_206D_200D_202D_200D_202E_206E_202A_202E; + + internal _202C_206D_206F_206C_202B_206F_200E_206D_206E_200B_206E_206C_200D_206F_206C_206B_200B_200E_202A_200F_206C_202D_200D_200B_206E_202C_200B_206A_200D_200D_206C_202A_200D_200E_206B_202E_202D_202D_202D_202E _200C_206E_200C_202E_200E_200D_206C_202A_200F_206B_202D_202D_206C_202B_206C_200E_200E_200F_206B_200D_206D_200D_200E_206C_202E_206A_206A_206F_200B_206B_202D_206C_206E_206E_202A_200B_206D_206D_206E_202D_202E = new _202C_206D_206F_206C_202B_206F_200E_206D_206E_200B_206E_206C_200D_206F_206C_206B_200B_200E_202A_200F_206C_202D_200D_200B_206E_202C_200B_206A_200D_200D_206C_202A_200D_200E_206B_202E_202D_202D_202D_202E(8); + + internal uint _200D_202C_202A_200D_202D_202D_206E_202B_202E_200B_202D_202B_206E_202B_202A_200F_206E_206D_206F_202B_202E_206C_206F_206D_200F_200D_200D_206A_206C_206B_202D_202E_202C_202A_206B_200F_206F_200B_206C_202B_202E; + + internal void _200B_200C_200C_206F_202A_202C_200F_200B_200B_206A_200C_202B_206F_202E_206E_206E_202B_202D_206D_202A_200F_202D_202D_202C_200D_206B_200C_200E_206C_206F_200B_206C_206D_202E_206B_206A_202B_200E_200B_206E_202E(uint numPosStates) + { + uint num = _200D_202C_202A_200D_202D_202D_206E_202B_202E_200B_202D_202B_206E_202B_202A_200F_206E_206D_206F_202B_202E_206C_206F_206D_200F_200D_200D_206A_206C_206B_202D_202E_202C_202A_206B_200F_206F_200B_206C_202B_202E; + while (num < numPosStates) + { + _202E_200C_200C_206F_200B_202B_206C_200E_200D_200B_202A_202B_206A_202D_202D_200D_202B_202C_200F_206D_200E_200B_202A_200D_200C_202A_206E_202D_202B_200B_206A_200E_202B_202D_206A_200B_200C_206F_206F_202E_202E[num] = new _202C_206D_206F_206C_202B_206F_200E_206D_206E_200B_206E_206C_200D_206F_206C_206B_200B_200E_202A_200F_206C_202D_200D_200B_206E_202C_200B_206A_200D_200D_206C_202A_200D_200E_206B_202E_202D_202D_202D_202E(3); + _206E_202B_202C_200C_206D_206A_206C_200C_202B_206C_202B_206E_202E_202E_200E_206F_202A_202B_202C_202D_206B_202D_200D_206C_206A_200B_202A_206A_200C_206B_206C_206F_206B_206B_200E_206F_206E_206C_200F_206E_202E[num] = new _202C_206D_206F_206C_202B_206F_200E_206D_206E_200B_206E_206C_200D_206F_206C_206B_200B_200E_202A_200F_206C_202D_200D_200B_206E_202C_200B_206A_200D_200D_206C_202A_200D_200E_206B_202E_202D_202D_202D_202E(3); + uint num2 = num; + int num3 = 1; + int num4 = (int)num2; + num = (uint)((num4 | num3) + (num4 & num3)); + } + _200D_202C_202A_200D_202D_202D_206E_202B_202E_200B_202D_202B_206E_202B_202A_200F_206E_206D_206F_202B_202E_206C_206F_206D_200F_200D_200D_206A_206C_206B_202D_202E_202C_202A_206B_200F_206F_200B_206C_202B_202E = numPosStates; + } + + internal void _202C_202A_200B_202C_206D_200B_206A_206B_200D_202A_206A_200F_202E_206B_202D_202B_200D_206F_206B_206F_202D_206C_200E_200C_206F_206D_206B_206D_206E_200D_206F_202C_200B_202E_200B_206E_200C_206E_202E() + { + _206F_200B_206B_202B_202D_200C_202A_206A_202D_202E_202C_206F_206D_206C_206B_206D_202C_202D_200B_202C_202B_202B_206A_206D_202B_200C_200C_206D_200C_206F_202C_200D_202E_206E_202C_206B_206D_202E_202B_200F_202E._202A_206E_200C_200D_200D_202D_200F_200F_206E_202D_200F_206D_200E_202D_202C_206D_202C_206C_202A_200D_200D_200F_200B_206F_206D_200D_200E_200F_206E_206F_200F_200B_206C_206A_206A_200B_202A_206B_202D_200C_202E(); + uint num = 0u; + while (num < _200D_202C_202A_200D_202D_202D_206E_202B_202E_200B_202D_202B_206E_202B_202A_200F_206E_206D_206F_202B_202E_206C_206F_206D_200F_200D_200D_206A_206C_206B_202D_202E_202C_202A_206B_200F_206F_200B_206C_202B_202E) + { + _202E_200C_200C_206F_200B_202B_206C_200E_200D_200B_202A_202B_206A_202D_202D_200D_202B_202C_200F_206D_200E_200B_202A_200D_200C_202A_206E_202D_202B_200B_206A_200E_202B_202D_206A_200B_200C_206F_206F_202E_202E[num]._200C_206F_206E_206C_202A_202B_206A_200E_200E_206C_202B_202B_206B_200F_206D_200E_206D_206A_206A_206B_206E_206E_200B_206C_202D_202D_202E_200D_206D_200F_202B_200E_202A_202C_206C_206B_206F_206E_206C_202E(); + _206E_202B_202C_200C_206D_206A_206C_200C_202B_206C_202B_206E_202E_202E_200E_206F_202A_202B_202C_202D_206B_202D_200D_206C_206A_200B_202A_206A_200C_206B_206C_206F_206B_206B_200E_206F_206E_206C_200F_206E_202E[num]._200C_206F_206E_206C_202A_202B_206A_200E_200E_206C_202B_202B_206B_200F_206D_200E_206D_206A_206A_206B_206E_206E_200B_206C_202D_202D_202E_200D_206D_200F_202B_200E_202A_202C_206C_206B_206F_206E_206C_202E(); + uint num2 = num; + int num3 = 1; + int num4 = (int)num2; + num = (uint)((num4 | num3) + (num4 & num3)); + } + _202D_206A_202E_202B_206D_202B_200E_206A_200B_202C_202B_206A_206A_202C_200E_206B_202B_200B_200F_200B_206D_200C_200F_202E_200B_200C_200B_202C_200D_200E_200D_206D_202B_206D_200D_202D_200D_202E_206E_202A_202E._202A_206E_200C_200D_200D_202D_200F_200F_206E_202D_200F_206D_200E_202D_202C_206D_202C_206C_202A_200D_200D_200F_200B_206F_206D_200D_200E_200F_206E_206F_200F_200B_206C_206A_206A_200B_202A_206B_202D_200C_202E(); + _200C_206E_200C_202E_200E_200D_206C_202A_200F_206B_202D_202D_206C_202B_206C_200E_200E_200F_206B_200D_206D_200D_200E_206C_202E_206A_206A_206F_200B_206B_202D_206C_206E_206E_202A_200B_206D_206D_206E_202D_202E._200C_206F_206E_206C_202A_202B_206A_200E_200E_206C_202B_202B_206B_200F_206D_200E_206D_206A_206A_206B_206E_206E_200B_206C_202D_202D_202E_200D_206D_200F_202B_200E_202A_202C_206C_206B_206F_206E_206C_202E(); + } + + internal uint _206D_202C_202B_202C_200F_200D_206D_202D_202E_206D_200D_200B_202C_200C_202A_200E_206C_202A_206B_200E_202B_202C_202D_202B_206A_206A_206D_200F_206C_206A_206D_200D_202A_200E_206C_200B_200B_202E_206D_206A_202E(_206E_200C_202A_200F_202B_200E_200E_202C_206D_206B_202D_206A_206F_206D_202C_206D_206E_202C_206D_202A_206C_206C_206E_200C_202A_200F_200F_206D_202B_206A_206D_200D_200F_202A_202A_202A_202B_206D_200E_206D_202E rangeDecoder, uint posState) + { + if (_206F_200B_206B_202B_202D_200C_202A_206A_202D_202E_202C_206F_206D_206C_206B_206D_202C_202D_200B_202C_202B_202B_206A_206D_202B_200C_200C_206D_200C_206F_202C_200D_202E_206E_202C_206B_206D_202E_202B_200F_202E._202B_200D_200C_200E_206A_202B_206C_202D_206C_206F_200F_200D_200F_206B_202D_202C_206C_202C_200B_200F_206B_206A_206F_202B_200C_202A_202E_206F_202D_206E_202E_202B_200D_206D_206E_202B_206D_206B_202D_206D_202E(rangeDecoder) == 0) + { + return _202E_200C_200C_206F_200B_202B_206C_200E_200D_200B_202A_202B_206A_202D_202D_200D_202B_202C_200F_206D_200E_200B_202A_200D_200C_202A_206E_202D_202B_200B_206A_200E_202B_202D_206A_200B_200C_206F_206F_202E_202E[posState]._200C_200F_206F_206A_200B_200B_200F_200B_202B_200E_202B_206F_202E_206A_206E_206B_200D_206C_202A_206A_200C_202D_202D_200B_200E_200B_202E_206B_206F_200C_200E_200B_202B_202B_206B_202A_200F_206F_202E_206A_202E(rangeDecoder); + } + uint num = 8u; + if (_202D_206A_202E_202B_206D_202B_200E_206A_200B_202C_202B_206A_206A_202C_200E_206B_202B_200B_200F_200B_206D_200C_200F_202E_200B_200C_200B_202C_200D_200E_200D_206D_202B_206D_200D_202D_200D_202E_206E_202A_202E._202B_200D_200C_200E_206A_202B_206C_202D_206C_206F_200F_200D_200F_206B_202D_202C_206C_202C_200B_200F_206B_206A_206F_202B_200C_202A_202E_206F_202D_206E_202E_202B_200D_206D_206E_202B_206D_206B_202D_206D_202E(rangeDecoder) == 0) + { + return num + _206E_202B_202C_200C_206D_206A_206C_200C_202B_206C_202B_206E_202E_202E_200E_206F_202A_202B_202C_202D_206B_202D_200D_206C_206A_200B_202A_206A_200C_206B_206C_206F_206B_206B_200E_206F_206E_206C_200F_206E_202E[posState]._200C_200F_206F_206A_200B_200B_200F_200B_202B_200E_202B_206F_202E_206A_206E_206B_200D_206C_202A_206A_200C_202D_202D_200B_200E_200B_202E_206B_206F_200C_200E_200B_202B_202B_206B_202A_200F_206F_202E_206A_202E(rangeDecoder); + } + uint num2 = num; + int num3 = 8; + int num4 = (int)num2; + num = (uint)((num4 | num3) + (num4 & num3)); + return num + _200C_206E_200C_202E_200E_200D_206C_202A_200F_206B_202D_202D_206C_202B_206C_200E_200E_200F_206B_200D_206D_200D_200E_206C_202E_206A_206A_206F_200B_206B_202D_206C_206E_206E_202A_200B_206D_206D_206E_202D_202E._200C_200F_206F_206A_200B_200B_200F_200B_202B_200E_202B_206F_202E_206A_206E_206B_200D_206C_202A_206A_200C_202D_202D_200B_200E_200B_202E_206B_206F_200C_200E_200B_202B_202B_206B_202A_200F_206F_202E_206A_202E(rangeDecoder); + } + + internal _200C_206C_206C_202E_206F_202C_200D_200B_200C_206E_206B_200B_206E_200F_202A_202B_200B_202E_202D_202E_200D_200E_206F_200D_202C_202A_200F_206E_200E_202A_202D_202C_202A_206D_206A_206E_202A_202C_206C_200C_202E() + { + } + } + + internal class _200D_200E_200E_206E_200F_202B_202D_200B_206F_200E_202A_200E_206F_206C_206C_206A_202A_200F_200B_202C_202B_206F_206B_202E_200E_200E_202D_202B_206F_206C_200B_202E_200B_206B_206C_200E_200F_206B_206D_206D_202E + { + internal struct _202B_200F_202E_202A_202C_202D_200C_202E_206F_202D_206D_200D_206C_206D_200E_200B_206D_206F_206A_206F_206B_206E_206D_202C_206C_202A_200C_206E_200B_202A_206D_202A_200E_202B_200F_206E_200E_202E_206D_206F_202E + { + internal _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E[] _206D_206A_206D_202D_200E_206D_202C_200D_202E_206F_202E_200F_206B_206B_206D_200E_200B_202C_202A_200C_202D_202E_202C_206D_206E_206D_202A_206A_200F_202B_206C_202D_206B_206B_202B_202D_200C_202D_200E_200C_202E; + + internal void _202B_206F_206B_200D_202C_200E_202E_206E_200F_206C_202A_200C_202B_206B_200B_200C_202E_202D_200C_206B_200C_206B_206B_206D_206F_202D_206E_202A_202D_200F_206F_206D_200D_202B_200D_202B_202B_200E_206D_206A_202E() + { + _206D_206A_206D_202D_200E_206D_202C_200D_202E_206F_202E_200F_206B_206B_206D_200E_200B_202C_202A_200C_202D_202E_202C_206D_206E_206D_202A_206A_200F_202B_206C_202D_206B_206B_202B_202D_200C_202D_200E_200C_202E = new _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E[768]; + } + + internal void _202E_206F_206A_206A_200C_202D_200D_200C_206D_206D_206F_206C_200C_202D_200C_202E_200E_202B_202E_200C_200B_206D_200F_202D_200D_202B_206A_202C_200F_206F_202D_202E_202D_206F_200D_206F_202D_202C_206D_202E_202E() + { + int num = 0; + while (num < 768) + { + _206D_206A_206D_202D_200E_206D_202C_200D_202E_206F_202E_200F_206B_206B_206D_200E_200B_202C_202A_200C_202D_202E_202C_206D_206E_206D_202A_206A_200F_202B_206C_202D_206B_206B_202B_202D_200C_202D_200E_200C_202E[num]._202A_206E_200C_200D_200D_202D_200F_200F_206E_202D_200F_206D_200E_202D_202C_206D_202C_206C_202A_200D_200D_200F_200B_206F_206D_200D_200E_200F_206E_206F_200F_200B_206C_206A_206A_200B_202A_206B_202D_200C_202E(); + int num2 = num; + int num3 = 1; + int num4 = num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = num5 + (num6 + num6); + } + } + + internal byte _206F_200B_200D_206B_206D_202C_206B_200F_202E_200E_202E_206C_200D_206D_202B_200F_200B_202E_200E_206C_206F_200C_200D_202D_202B_202D_202C_206E_202E_206A_206B_200D_206A_200F_202C_200F_206D_200C_200B_202B_202E(_206E_200C_202A_200F_202B_200E_200E_202C_206D_206B_202D_206A_206F_206D_202C_206D_206E_202C_206D_202A_206C_206C_206E_200C_202A_200F_200F_206D_202B_206A_206D_200D_200F_202A_202A_202A_202B_206D_200E_206D_202E rangeDecoder) + { + uint num = 1u; + do + { + num = (num << 1) | _206D_206A_206D_202D_200E_206D_202C_200D_202E_206F_202E_200F_206B_206B_206D_200E_200B_202C_202A_200C_202D_202E_202C_206D_206E_206D_202A_206A_200F_202B_206C_202D_206B_206B_202B_202D_200C_202D_200E_200C_202E[num]._202B_200D_200C_200E_206A_202B_206C_202D_206C_206F_200F_200D_200F_206B_202D_202C_206C_202C_200B_200F_206B_206A_206F_202B_200C_202A_202E_206F_202D_206E_202E_202B_200D_206D_206E_202B_206D_206B_202D_206D_202E(rangeDecoder); + } + while (num < 256); + return (byte)num; + } + + internal byte _206B_206A_206F_200B_206B_202D_202C_200E_206F_202A_206E_202A_202A_200D_206E_200D_206E_200D_202E_206C_200D_206A_200C_206A_206D_202A_206D_206D_206D_200B_202C_202C_200F_202D_202D_206A_200E_200E_200B_202E_202E(_206E_200C_202A_200F_202B_200E_200E_202C_206D_206B_202D_206A_206F_206D_202C_206D_206E_202C_206D_202A_206C_206C_206E_200C_202A_200F_200F_206D_202B_206A_206D_200D_200F_202A_202A_202A_202B_206D_200E_206D_202E rangeDecoder, byte matchByte) + { + uint num = 1u; + do + { + int num2 = matchByte >> 7; + int num3 = 1; + int num4 = num2; + uint num5 = (uint)(num4 + num3 - (num4 | num3)); + matchByte <<= 1; + _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E[] array = _206D_206A_206D_202D_200E_206D_202C_200D_202E_206F_202E_200F_206B_206B_206D_200E_200B_202C_202A_200C_202D_202E_202C_206D_206E_206D_202A_206A_200F_202B_206C_202D_206B_206B_202B_202D_200C_202D_200E_200C_202E; + num3 = (int)num5; + num4 = 1; + int num6 = num4 ^ num3; + int num7 = num4 & num3; + int num8 = num6 + (num7 + num7) << 8; + num3 = (int)num; + num4 = num8; + uint num9 = array[(num4 | num3) + (num4 & num3)]._202B_200D_200C_200E_206A_202B_206C_202D_206C_206F_200F_200D_200F_206B_202D_202C_206C_202C_200B_200F_206B_206A_206F_202B_200C_202A_202E_206F_202D_206E_202E_202B_200D_206D_206E_202B_206D_206B_202D_206D_202E(rangeDecoder); + uint num10 = num << 1; + num3 = (int)num9; + num4 = (int)num10; + num = (uint)((num4 & num3) + (num4 ^ num3)); + if (num5 != num9) + { + while (num < 256) + { + num = (num << 1) | _206D_206A_206D_202D_200E_206D_202C_200D_202E_206F_202E_200F_206B_206B_206D_200E_200B_202C_202A_200C_202D_202E_202C_206D_206E_206D_202A_206A_200F_202B_206C_202D_206B_206B_202B_202D_200C_202D_200E_200C_202E[num]._202B_200D_200C_200E_206A_202B_206C_202D_206C_206F_200F_200D_200F_206B_202D_202C_206C_202C_200B_200F_206B_206A_206F_202B_200C_202A_202E_206F_202D_206E_202E_202B_200D_206D_206E_202B_206D_206B_202D_206D_202E(rangeDecoder); + } + break; + } + } + while (num < 256); + return (byte)num; + } + } + + internal _202B_200F_202E_202A_202C_202D_200C_202E_206F_202D_206D_200D_206C_206D_200E_200B_206D_206F_206A_206F_206B_206E_206D_202C_206C_202A_200C_206E_200B_202A_206D_202A_200E_202B_200F_206E_200E_202E_206D_206F_202E[] _202D_202E_206F_206A_206C_202B_200B_206E_206C_200C_206A_200E_206A_200B_202D_206C_200E_202B_206D_206F_206B_200E_200C_200B_206F_206E_200E_202C_206D_202B_206F_202C_206E_206A_206C_200B_202B_200D_206B_206D_202E; + + internal int _206C_206C_200F_202B_202B_200C_202C_206B_202B_206C_202B_202B_206A_200C_202B_200E_200E_202D_206A_206B_202C_200B_206F_200B_206C_206E_202C_206F_206C_206F_206C_200F_206D_202A_206B_200D_206A_200C_200C_202C_202E; + + internal int _206C_200B_202C_202C_206F_200B_206E_206E_200C_206B_202A_200B_202A_206B_200E_202D_200B_202D_200D_202A_202A_202B_202B_200D_206B_206D_202A_202D_206E_202D_206E_202A_202B_206C_200D_206F_202A_202A_206A_202C_202E; + + internal uint _202E_202D_200B_206C_206F_206C_202C_206E_202A_206D_206C_200C_202B_200E_200C_200F_206B_200F_200D_206E_200D_206A_202B_202D_202A_202A_202C_200D_206C_202A_200F_200D_200C_200C_200C_206A_202C_206F_202C_200D_202E; + + internal void _200E_202C_200C_200F_202A_206A_202A_202A_206F_200B_200C_202E_202E_202B_202C_206C_206A_206D_202C_206F_202B_200D_200E_200D_202C_206B_202C_202B_200B_202C_202B_202E_206C_202C_200D_206B_206F_202A_202C_202D_202E(int numPosBits, int numPrevBits) + { + if (_202D_202E_206F_206A_206C_202B_200B_206E_206C_200C_206A_200E_206A_200B_202D_206C_200E_202B_206D_206F_206B_200E_200C_200B_206F_206E_200E_202C_206D_202B_206F_202C_206E_206A_206C_200B_202B_200D_206B_206D_202E == null || _206C_200B_202C_202C_206F_200B_206E_206E_200C_206B_202A_200B_202A_206B_200E_202D_200B_202D_200D_202A_202A_202B_202B_200D_206B_206D_202A_202D_206E_202D_206E_202A_202B_206C_200D_206F_202A_202A_206A_202C_202E != numPrevBits || _206C_206C_200F_202B_202B_200C_202C_206B_202B_206C_202B_202B_206A_200C_202B_200E_200E_202D_206A_206B_202C_200B_206F_200B_206C_206E_202C_206F_206C_206F_206C_200F_206D_202A_206B_200D_206A_200C_200C_202C_202E != numPosBits) + { + _206C_206C_200F_202B_202B_200C_202C_206B_202B_206C_202B_202B_206A_200C_202B_200E_200E_202D_206A_206B_202C_200B_206F_200B_206C_206E_202C_206F_206C_206F_206C_200F_206D_202A_206B_200D_206A_200C_200C_202C_202E = numPosBits; + int num = 31; + int num2 = numPosBits; + int num3 = 1 << num2 + num - (num2 | num); + num = 1; + num2 = num3; + _202E_202D_200B_206C_206F_206C_202C_206E_202A_206D_206C_200C_202B_200E_200C_200F_206B_200F_200D_206E_200D_206A_202B_202D_202A_202A_202C_200D_206C_202A_200F_200D_200C_200C_200C_206A_202C_206F_202C_200D_202E = (uint)(~(~num2 + num)); + _206C_200B_202C_202C_206F_200B_206E_206E_200C_206B_202A_200B_202A_206B_200E_202D_200B_202D_200D_202A_202A_202B_202B_200D_206B_206D_202A_202D_206E_202D_206E_202A_202B_206C_200D_206F_202A_202A_206A_202C_202E = numPrevBits; + int num4 = _206C_200B_202C_202C_206F_200B_206E_206E_200C_206B_202A_200B_202A_206B_200E_202D_200B_202D_200D_202A_202A_202B_202B_200D_206B_206D_202A_202D_206E_202D_206E_202A_202B_206C_200D_206F_202A_202A_206A_202C_202E; + num = _206C_206C_200F_202B_202B_200C_202C_206B_202B_206C_202B_202B_206A_200C_202B_200E_200E_202D_206A_206B_202C_200B_206F_200B_206C_206E_202C_206F_206C_206F_206C_200F_206D_202A_206B_200D_206A_200C_200C_202C_202E; + num2 = num4; + int num5 = (num2 | num) + (num2 & num); + num = 31; + num2 = num5; + uint num6 = (uint)(1 << (num2 | num) - (num2 ^ num)); + _202D_202E_206F_206A_206C_202B_200B_206E_206C_200C_206A_200E_206A_200B_202D_206C_200E_202B_206D_206F_206B_200E_200C_200B_206F_206E_200E_202C_206D_202B_206F_202C_206E_206A_206C_200B_202B_200D_206B_206D_202E = new _202B_200F_202E_202A_202C_202D_200C_202E_206F_202D_206D_200D_206C_206D_200E_200B_206D_206F_206A_206F_206B_206E_206D_202C_206C_202A_200C_206E_200B_202A_206D_202A_200E_202B_200F_206E_200E_202E_206D_206F_202E[num6]; + uint num7 = 0u; + while (num7 < num6) + { + _202D_202E_206F_206A_206C_202B_200B_206E_206C_200C_206A_200E_206A_200B_202D_206C_200E_202B_206D_206F_206B_200E_200C_200B_206F_206E_200E_202C_206D_202B_206F_202C_206E_206A_206C_200B_202B_200D_206B_206D_202E[num7]._202B_206F_206B_200D_202C_200E_202E_206E_200F_206C_202A_200C_202B_206B_200B_200C_202E_202D_200C_206B_200C_206B_206B_206D_206F_202D_206E_202A_202D_200F_206F_206D_200D_202B_200D_202B_202B_200E_206D_206A_202E(); + uint num8 = num7; + num = 1; + num2 = (int)num8; + int num9 = num2 ^ num; + int num10 = num2 & num; + num7 = (uint)(num9 + (num10 + num10)); + } + } + } + + internal void _202C_206B_206B_206D_202D_206C_202C_206E_200B_206D_202A_202A_206B_206F_202D_202D_202C_206F_206E_206E_206E_200B_200E_206F_200C_206E_202A_206E_206A_206F_206E_206C_206D_200C_202A_206F_206F_206E_202A_200C_202E() + { + int num = _206C_200B_202C_202C_206F_200B_206E_206E_200C_206B_202A_200B_202A_206B_200E_202D_200B_202D_200D_202A_202A_202B_202B_200D_206B_206D_202A_202D_206E_202D_206E_202A_202B_206C_200D_206F_202A_202A_206A_202C_202E; + int num2 = _206C_206C_200F_202B_202B_200C_202C_206B_202B_206C_202B_202B_206A_200C_202B_200E_200E_202D_206A_206B_202C_200B_206F_200B_206C_206E_202C_206F_206C_206F_206C_200F_206D_202A_206B_200D_206A_200C_200C_202C_202E; + int num3 = num; + int num4 = num3 ^ num2; + int num5 = num3 & num2; + int num6 = num4 + (num5 + num5); + num2 = 31; + num3 = num6; + uint num7 = (uint)(1 << (num3 | num2) - (num3 ^ num2)); + for (uint num8 = 0u; num8 < num7; num8 = (uint)((num3 | num2) + (num3 & num2))) + { + _202D_202E_206F_206A_206C_202B_200B_206E_206C_200C_206A_200E_206A_200B_202D_206C_200E_202B_206D_206F_206B_200E_200C_200B_206F_206E_200E_202C_206D_202B_206F_202C_206E_206A_206C_200B_202B_200D_206B_206D_202E[num8]._202E_206F_206A_206A_200C_202D_200D_200C_206D_206D_206F_206C_200C_202D_200C_202E_200E_202B_202E_200C_200B_206D_200F_202D_200D_202B_206A_202C_200F_206F_202D_202E_202D_206F_200D_206F_202D_202C_206D_202E_202E(); + uint num9 = num8; + num2 = 1; + num3 = (int)num9; + } + } + + internal uint _202E_200B_202B_200E_200C_202E_206B_200B_202E_206A_206B_200F_200D_200F_206D_206A_206E_202E_206F_202A_206A_202D_200F_202E_206E_206C_202A_200F_206A_206A_202A_200C_200E_202A_200B_202C_206B_200B_200D_206C_202E(uint pos, byte prevByte) + { + int num = (int)_202E_202D_200B_206C_206F_206C_202C_206E_202A_206D_206C_200C_202B_200E_200C_200F_206B_200F_200D_206E_200D_206A_202B_202D_202A_202A_202C_200D_206C_202A_200F_200D_200C_200C_200C_206A_202C_206F_202C_200D_202E; + int num2 = (int)pos; + int num3 = num2 + num - (num2 | num); + int num4 = _206C_200B_202C_202C_206F_200B_206E_206E_200C_206B_202A_200B_202A_206B_200E_202D_200B_202D_200D_202A_202A_202B_202B_200D_206B_206D_202A_202D_206E_202D_206E_202A_202B_206C_200D_206F_202A_202A_206A_202C_202E; + num = 31; + num2 = num4; + int num5 = num3 << (num2 | num) - (num2 ^ num); + num = _206C_200B_202C_202C_206F_200B_206E_206E_200C_206B_202A_200B_202A_206B_200E_202D_200B_202D_200D_202A_202A_202B_202B_200D_206B_206D_202A_202D_206E_202D_206E_202A_202B_206C_200D_206F_202A_202A_206A_202C_202E; + num2 = 8; + int num6 = ~(~num2 + num); + num = 31; + num2 = num6; + num = prevByte >> num2 + num - (num2 | num); + num2 = num5; + return (uint)((num2 | num) + (num2 & num)); + } + + internal byte _200B_202A_202B_200D_202C_202C_206A_206B_200B_202D_202C_200F_200F_202E_206D_202D_206C_206E_202C_200D_202B_206E_200B_206C_206F_200C_206D_200C_200D_202A_202D_200F_202C_206D_200E_200E_202E_202B_202A_202B_202E(_206E_200C_202A_200F_202B_200E_200E_202C_206D_206B_202D_206A_206F_206D_202C_206D_206E_202C_206D_202A_206C_206C_206E_200C_202A_200F_200F_206D_202B_206A_206D_200D_200F_202A_202A_202A_202B_206D_200E_206D_202E rangeDecoder, uint pos, byte prevByte) + { + return _202D_202E_206F_206A_206C_202B_200B_206E_206C_200C_206A_200E_206A_200B_202D_206C_200E_202B_206D_206F_206B_200E_200C_200B_206F_206E_200E_202C_206D_202B_206F_202C_206E_206A_206C_200B_202B_200D_206B_206D_202E[_202E_200B_202B_200E_200C_202E_206B_200B_202E_206A_206B_200F_200D_200F_206D_206A_206E_202E_206F_202A_206A_202D_200F_202E_206E_206C_202A_200F_206A_206A_202A_200C_200E_202A_200B_202C_206B_200B_200D_206C_202E(pos, prevByte)]._206F_200B_200D_206B_206D_202C_206B_200F_202E_200E_202E_206C_200D_206D_202B_200F_200B_202E_200E_206C_206F_200C_200D_202D_202B_202D_202C_206E_202E_206A_206B_200D_206A_200F_202C_200F_206D_200C_200B_202B_202E(rangeDecoder); + } + + internal byte _200B_206F_206E_206D_206B_202A_200B_206A_200B_200C_202B_206E_206B_202D_206B_206F_202A_200C_202A_200C_206C_202D_202D_202E_200C_206B_202D_202A_200D_200F_206F_200E_206B_206A_206D_202D_202E_200C_200F_206D_202E(_206E_200C_202A_200F_202B_200E_200E_202C_206D_206B_202D_206A_206F_206D_202C_206D_206E_202C_206D_202A_206C_206C_206E_200C_202A_200F_200F_206D_202B_206A_206D_200D_200F_202A_202A_202A_202B_206D_200E_206D_202E rangeDecoder, uint pos, byte prevByte, byte matchByte) + { + return _202D_202E_206F_206A_206C_202B_200B_206E_206C_200C_206A_200E_206A_200B_202D_206C_200E_202B_206D_206F_206B_200E_200C_200B_206F_206E_200E_202C_206D_202B_206F_202C_206E_206A_206C_200B_202B_200D_206B_206D_202E[_202E_200B_202B_200E_200C_202E_206B_200B_202E_206A_206B_200F_200D_200F_206D_206A_206E_202E_206F_202A_206A_202D_200F_202E_206E_206C_202A_200F_206A_206A_202A_200C_200E_202A_200B_202C_206B_200B_200D_206C_202E(pos, prevByte)]._206B_206A_206F_200B_206B_202D_202C_200E_206F_202A_206E_202A_202A_200D_206E_200D_206E_200D_202E_206C_200D_206A_200C_206A_206D_202A_206D_206D_206D_200B_202C_202C_200F_202D_202D_206A_200E_200E_200B_202E_202E(rangeDecoder, matchByte); + } + + internal _200D_200E_200E_206E_200F_202B_202D_200B_206F_200E_202A_200E_206F_206C_206C_206A_202A_200F_200B_202C_202B_206F_206B_202E_200E_200E_202D_202B_206F_206C_200B_202E_200B_206B_206C_200E_200F_206B_206D_206D_202E() + { + } + } + + internal readonly _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E[] _202C_206B_206E_206A_206A_206F_200D_202A_200F_206B_206A_206F_200B_200C_206E_206C_202A_206A_200E_206B_202E_202B_206C_206C_200C_206D_206F_206E_202C_200B_206F_206A_206A_206E_206F_206E_202B_202B_206B_202E_202E = new _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E[192]; + + internal readonly _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E[] _206D_202D_200D_206B_206B_206E_200E_202A_200C_200F_200E_206E_206D_202B_206C_206D_200D_200B_206D_200F_202D_206A_206F_206A_200F_206D_200C_200B_202A_206F_200F_200C_200F_200C_200D_200E_206D_200C_206F_206E_202E = new _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E[192]; + + internal readonly _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E[] _200C_206D_202C_202E_200D_200B_200C_200B_200E_200B_200D_206B_200B_200D_202A_202D_202E_202A_202E_202E_206C_202E_200F_206C_202A_200C_202C_202C_200F_206B_200F_200B_202C_206D_200D_200E_206D_206E_206C_206D_202E = new _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E[12]; + + internal readonly _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E[] _200D_202C_206B_202C_206B_206B_200E_206E_202E_206B_200B_206C_202B_200C_200B_200D_206C_206C_206E_200B_200B_202E_202E_206A_206A_202D_202B_206D_200E_202D_200C_206D_206A_200C_200D_202B_202D_202E_200F_200D_202E = new _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E[12]; + + internal readonly _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E[] _202B_206A_202B_202A_200B_202D_202A_206B_200B_206A_206C_200F_202E_200F_206F_200E_200E_200E_206F_206B_202D_206D_202C_200E_206A_202E_206B_200E_202D_206B_202E_202A_200E_200E_206D_206B_206D_202B_202C_206E_202E = new _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E[12]; + + internal readonly _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E[] _206E_206C_200F_200F_202A_200B_202B_206B_202D_206E_202D_206C_206B_200D_206B_200E_202A_206B_206D_206E_206A_206B_206B_200C_206A_206C_202B_206D_202D_200D_200F_206D_206F_206F_200E_202B_200D_206A_206A_206C_202E = new _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E[12]; + + internal readonly _200C_206C_206C_202E_206F_202C_200D_200B_200C_206E_206B_200B_206E_200F_202A_202B_200B_202E_202D_202E_200D_200E_206F_200D_202C_202A_200F_206E_200E_202A_202D_202C_202A_206D_206A_206E_202A_202C_206C_200C_202E _206F_202B_202B_200F_202C_202A_200E_200B_202E_200E_200C_202D_206A_202B_202E_206E_202C_200F_206E_200E_206A_202C_200D_202B_200F_200D_200E_206F_206A_202A_206A_206B_206A_200C_202C_206D_206F_206D_206A_206C_202E = new _200C_206C_206C_202E_206F_202C_200D_200B_200C_206E_206B_200B_206E_200F_202A_202B_200B_202E_202D_202E_200D_200E_206F_200D_202C_202A_200F_206E_200E_202A_202D_202C_202A_206D_206A_206E_202A_202C_206C_200C_202E(); + + internal readonly _200D_200E_200E_206E_200F_202B_202D_200B_206F_200E_202A_200E_206F_206C_206C_206A_202A_200F_200B_202C_202B_206F_206B_202E_200E_200E_202D_202B_206F_206C_200B_202E_200B_206B_206C_200E_200F_206B_206D_206D_202E _206D_200D_200D_200C_206F_200D_202A_200B_200F_206F_206E_206D_202E_200C_206C_206D_206D_200C_202C_206B_206B_200D_202D_200B_206B_200C_206C_206D_200B_202D_206A_206C_206B_200F_206D_206D_206D_202E_200C_206A_202E = new _200D_200E_200E_206E_200F_202B_202D_200B_206F_200E_202A_200E_206F_206C_206C_206A_202A_200F_200B_202C_202B_206F_206B_202E_200E_200E_202D_202B_206F_206C_200B_202E_200B_206B_206C_200E_200F_206B_206D_206D_202E(); + + internal readonly _206C_200B_206C_200B_200E_206B_200B_200E_202B_202B_200F_200C_202A_206E_202E_202E_200C_200C_206F_206F_206D_202D_200D_202E_200F_202E_206D_206A_202C_200E_200E_202E_202D_206F_206C_202E_206D_206F_202C_206A_202E _206C_202A_200E_206E_206E_200B_206C_200E_206C_200E_206F_202D_206C_202C_206D_202E_200B_200D_206A_206E_206B_202C_200F_200C_202C_202D_206A_206C_200D_200D_206A_202E_206F_202A_200B_206B_202B_206A_202E_206B_202E = new _206C_200B_206C_200B_200E_206B_200B_200E_202B_202B_200F_200C_202A_206E_202E_202E_200C_200C_206F_206F_206D_202D_200D_202E_200F_202E_206D_206A_202C_200E_200E_202E_202D_206F_206C_202E_206D_206F_202C_206A_202E(); + + internal readonly _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E[] _200D_202B_200B_202B_202E_200E_200F_200F_206A_200D_206F_200D_200D_206C_206F_202D_206A_206D_200C_206D_200C_200C_202E_200F_206D_202C_206D_206D_206E_200B_200F_202A_202A_206E_200D_206B_206B_202B_206B_206E_202E = new _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E[114]; + + internal readonly _202C_206D_206F_206C_202B_206F_200E_206D_206E_200B_206E_206C_200D_206F_206C_206B_200B_200E_202A_200F_206C_202D_200D_200B_206E_202C_200B_206A_200D_200D_206C_202A_200D_200E_206B_202E_202D_202D_202D_202E[] _206E_202C_200B_206D_202B_200B_202D_202A_202E_202C_200B_200C_206F_200C_206F_202E_206D_206A_202A_200F_200B_200C_206C_202B_206E_200C_202A_202B_202B_200C_200F_206D_202E_206E_202E_202C_206A_200F_206D_202B_202E = new _202C_206D_206F_206C_202B_206F_200E_206D_206E_200B_206E_206C_200D_206F_206C_206B_200B_200E_202A_200F_206C_202D_200D_200B_206E_202C_200B_206A_200D_200D_206C_202A_200D_200E_206B_202E_202D_202D_202D_202E[4]; + + internal readonly _206E_200C_202A_200F_202B_200E_200E_202C_206D_206B_202D_206A_206F_206D_202C_206D_206E_202C_206D_202A_206C_206C_206E_200C_202A_200F_200F_206D_202B_206A_206D_200D_200F_202A_202A_202A_202B_206D_200E_206D_202E _200C_206E_202B_202D_202B_206A_200F_200F_200D_206A_200C_202B_200B_206C_202A_202C_200B_202D_202A_202E_206E_206F_206F_200C_202A_200F_206E_202D_202C_200F_202E_202C_200B_200C_202C_200F_200D_206F_200D_206C_202E = new _206E_200C_202A_200F_202B_200E_200E_202C_206D_206B_202D_206A_206F_206D_202C_206D_206E_202C_206D_202A_206C_206C_206E_200C_202A_200F_200F_206D_202B_206A_206D_200D_200F_202A_202A_202A_202B_206D_200E_206D_202E(); + + internal readonly _200C_206C_206C_202E_206F_202C_200D_200B_200C_206E_206B_200B_206E_200F_202A_202B_200B_202E_202D_202E_200D_200E_206F_200D_202C_202A_200F_206E_200E_202A_202D_202C_202A_206D_206A_206E_202A_202C_206C_200C_202E _202A_202A_206B_200D_206E_206C_200F_206E_200D_206A_202D_206A_202D_200F_200C_200D_206A_202B_202B_202E_202E_200E_206C_202B_206A_206A_202A_202C_200E_206C_200C_200E_206D_200F_206B_202E_206F_200F_202E_202E_202E = new _200C_206C_206C_202E_206F_202C_200D_200B_200C_206E_206B_200B_206E_200F_202A_202B_200B_202E_202D_202E_200D_200E_206F_200D_202C_202A_200F_206E_200E_202A_202D_202C_202A_206D_206A_206E_202A_202C_206C_200C_202E(); + + internal bool _202E_206A_200E_202D_202D_206D_202E_206F_200C_200F_200C_202D_206B_202D_202D_206F_202B_200D_200B_206F_200F_206C_202C_206B_206C_200E_206B_200D_200F_206E_206B_202C_206E_206E_200C_200D_200F_202C_206F_200C_202E; + + internal uint _202C_202C_206B_206B_202E_206A_202A_206B_206A_200E_206B_200D_200B_202E_200B_206D_200B_202C_200C_202D_206C_200B_200F_202B_202B_206D_206D_206E_206C_202A_200D_200B_206E_202C_202B_206E_200E_200B_202C_206F_202E; + + internal uint _206A_200C_200F_206E_206C_200E_206B_200D_206C_200F_200B_206E_206B_202C_200B_202C_202A_202C_206E_200D_202B_202D_206C_200C_200D_206A_206B_206D_206B_206B_206E_206F_206C_202C_202D_200D_200F_200B_206C_206C_202E; + + internal _202C_206D_206F_206C_202B_206F_200E_206D_206E_200B_206E_206C_200D_206F_206C_206B_200B_200E_202A_200F_206C_202D_200D_200B_206E_202C_200B_206A_200D_200D_206C_202A_200D_200E_206B_202E_202D_202D_202D_202E _202A_206C_200D_206B_200F_202D_206E_202D_206F_200F_200B_206B_206C_202E_202D_206B_200B_206C_200F_200B_206E_206F_202A_206B_200F_206C_200D_206D_202C_200B_206F_200B_202C_200F_206F_200B_206F_206E_206C_206F_202E = new _202C_206D_206F_206C_202B_206F_200E_206D_206E_200B_206E_206C_200D_206F_206C_206B_200B_200E_202A_200F_206C_202D_200D_200B_206E_202C_200B_206A_200D_200D_206C_202A_200D_200E_206B_202E_202D_202D_202D_202E(4); + + internal uint _200E_202A_206D_206F_200F_200D_200C_202D_202A_206C_202C_200B_206C_206F_206E_200F_202D_206C_202B_202C_202C_200B_202B_202A_200E_206D_206A_202B_200C_206F_200B_206E_200F_200E_200E_200C_206A_206F_202D_202D_202E; + + internal _206F_206A_202A_200E_200D_202C_200B_206A_202D_206E_202E_200C_202D_202E_200E_202D_200D_200D_206E_200B_206A_202D_206B_206F_200F_206F_202B_206D_206A_206D_202C_202B_200D_202D_200E_206A_202A_206C_202D_206C_202E() + { + _202C_202C_206B_206B_202E_206A_202A_206B_206A_200E_206B_200D_200B_202E_200B_206D_200B_202C_200C_202D_206C_200B_200F_202B_202B_206D_206D_206E_206C_202A_200D_200B_206E_202C_202B_206E_200E_200B_202C_206F_202E = uint.MaxValue; + int num = 0; + while ((long)num < 4L) + { + _206E_202C_200B_206D_202B_200B_202D_202A_202E_202C_200B_200C_206F_200C_206F_202E_206D_206A_202A_200F_200B_200C_206C_202B_206E_200C_202A_202B_202B_200C_200F_206D_202E_206E_202E_202C_206A_200F_206D_202B_202E[num] = new _202C_206D_206F_206C_202B_206F_200E_206D_206E_200B_206E_206C_200D_206F_206C_206B_200B_200E_202A_200F_206C_202D_200D_200B_206E_202C_200B_206A_200D_200D_206C_202A_200D_200E_206B_202E_202D_202D_202D_202E(6); + int num2 = num; + int num3 = 1; + int num4 = num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = num5 + (num6 + num6); + } + } + + internal void _200B_206C_202E_200C_202D_206B_206B_206E_202B_206F_200C_206B_206C_200E_202D_200D_202C_202D_206D_202B_202B_202D_202D_200B_206C_206D_202A_200C_200B_200F_200B_206A_206C_202B_206A_202D_202B_202B_206C_206D_202E(uint dictionarySize) + { + if (_202C_202C_206B_206B_202E_206A_202A_206B_206A_200E_206B_200D_200B_202E_200B_206D_200B_202C_200C_202D_206C_200B_200F_202B_202B_206D_206D_206E_206C_202A_200D_200B_206E_202C_202B_206E_200E_200B_202C_206F_202E != dictionarySize) + { + _202C_202C_206B_206B_202E_206A_202A_206B_206A_200E_206B_200D_200B_202E_200B_206D_200B_202C_200C_202D_206C_200B_200F_202B_202B_206D_206D_206E_206C_202A_200D_200B_206E_202C_202B_206E_200E_200B_202C_206F_202E = dictionarySize; + _206A_200C_200F_206E_206C_200E_206B_200D_206C_200F_200B_206E_206B_202C_200B_202C_202A_202C_206E_200D_202B_202D_206C_200C_200D_206A_206B_206D_206B_206B_206E_206F_206C_202C_202D_200D_200F_200B_206C_206C_202E = Math.Max(_202C_202C_206B_206B_202E_206A_202A_206B_206A_200E_206B_200D_200B_202E_200B_206D_200B_202C_200C_202D_206C_200B_200F_202B_202B_206D_206D_206E_206C_202A_200D_200B_206E_202C_202B_206E_200E_200B_202C_206F_202E, 1u); + uint windowSize = Math.Max(_206A_200C_200F_206E_206C_200E_206B_200D_206C_200F_200B_206E_206B_202C_200B_202C_202A_202C_206E_200D_202B_202D_206C_200C_200D_206A_206B_206D_206B_206B_206E_206F_206C_202C_202D_200D_200F_200B_206C_206C_202E, 4096u); + _206C_202A_200E_206E_206E_200B_206C_200E_206C_200E_206F_202D_206C_202C_206D_202E_200B_200D_206A_206E_206B_202C_200F_200C_202C_202D_206A_206C_200D_200D_206A_202E_206F_202A_200B_206B_202B_206A_202E_206B_202E._202A_206B_206C_202C_206F_200D_200D_206A_200D_202C_200C_206A_206B_206A_206A_206C_206C_206A_206C_206B_206A_200E_200B_200D_200D_200E_202C_206F_200B_200C_206C_206E_200D_202D_202A_202E_206B_202B_200E_200F_202E(windowSize); + } + } + + internal void _206F_200E_206D_202E_206F_200B_200C_206F_206E_202E_200D_202A_202D_206C_206F_206B_202B_202D_202C_206B_206D_202C_206F_202E_202D_200E_206C_206A_206C_202E_206B_202B_202E_206C_206E_200C_206D_200E_200B_206C_202E(int lp, int lc) + { + _206D_200D_200D_200C_206F_200D_202A_200B_200F_206F_206E_206D_202E_200C_206C_206D_206D_200C_202C_206B_206B_200D_202D_200B_206B_200C_206C_206D_200B_202D_206A_206C_206B_200F_206D_206D_206D_202E_200C_206A_202E._200E_202C_200C_200F_202A_206A_202A_202A_206F_200B_200C_202E_202E_202B_202C_206C_206A_206D_202C_206F_202B_200D_200E_200D_202C_206B_202C_202B_200B_202C_202B_202E_206C_202C_200D_206B_206F_202A_202C_202D_202E(lp, lc); + } + + internal void _206F_206A_202C_206F_202B_200E_206A_200F_202C_206B_200C_200B_202E_202D_206D_206A_206F_200F_202E_202B_206E_202E_202B_202C_206B_200E_206D_206D_206A_206C_206B_200B_206A_206C_206E_200C_200E_206B_206B_206C_202E(int pb) + { + int num = 31; + int num2 = pb; + uint num3 = (uint)(1 << num2 + num - (num2 | num)); + _206F_202B_202B_200F_202C_202A_200E_200B_202E_200E_200C_202D_206A_202B_202E_206E_202C_200F_206E_200E_206A_202C_200D_202B_200F_200D_200E_206F_206A_202A_206A_206B_206A_200C_202C_206D_206F_206D_206A_206C_202E._200B_200C_200C_206F_202A_202C_200F_200B_200B_206A_200C_202B_206F_202E_206E_206E_202B_202D_206D_202A_200F_202D_202D_202C_200D_206B_200C_200E_206C_206F_200B_206C_206D_202E_206B_206A_202B_200E_200B_206E_202E(num3); + _202A_202A_206B_200D_206E_206C_200F_206E_200D_206A_202D_206A_202D_200F_200C_200D_206A_202B_202B_202E_202E_200E_206C_202B_206A_206A_202A_202C_200E_206C_200C_200E_206D_200F_206B_202E_206F_200F_202E_202E_202E._200B_200C_200C_206F_202A_202C_200F_200B_200B_206A_200C_202B_206F_202E_206E_206E_202B_202D_206D_202A_200F_202D_202D_202C_200D_206B_200C_200E_206C_206F_200B_206C_206D_202E_206B_206A_202B_200E_200B_206E_202E(num3); + num = 1; + num2 = (int)num3; + _200E_202A_206D_206F_200F_200D_200C_202D_202A_206C_202C_200B_206C_206F_206E_200F_202D_206C_202B_202C_202C_200B_202B_202A_200E_206D_206A_202B_200C_206F_200B_206E_200F_200E_200E_200C_206A_206F_202D_202D_202E = (uint)(~(~num2 + num)); + } + + internal void _200C_202C_206C_200B_206C_206F_206C_200D_202E_202B_200B_202D_202D_200F_202A_200C_200D_200D_202C_202D_206F_200B_200D_200F_200F_206D_202B_202E_200C_202A_202B_200E_206A_202A_206D_202A_206C_206F_200B_206F_202E(Stream inStream, Stream outStream) + { + _200C_206E_202B_202D_202B_206A_200F_200F_200D_206A_200C_202B_200B_206C_202A_202C_200B_202D_202A_202E_206E_206F_206F_200C_202A_200F_206E_202D_202C_200F_202E_202C_200B_200C_202C_200F_200D_206F_200D_206C_202E._206B_202A_206A_206D_206C_202B_206F_202A_200F_202E_206C_200D_200C_200F_206E_206A_206C_200E_200D_202B_206D_202C_200E_202E_206D_202A_206A_206D_200C_206B_206F_206B_202A_206E_206A_202B_202C_206B_202D_200C_202E(inStream); + _206C_202A_200E_206E_206E_200B_206C_200E_206C_200E_206F_202D_206C_202C_206D_202E_200B_200D_206A_206E_206B_202C_200F_200C_202C_202D_206A_206C_200D_200D_206A_202E_206F_202A_200B_206B_202B_206A_202E_206B_202E._200D_200C_200F_206A_206C_200D_206C_200F_200D_200B_200F_202B_200F_202A_202D_200E_202C_200E_200C_206F_200F_206E_206D_206F_206E_200B_206F_206D_206B_200C_202C_200C_200D_200F_206E_202E_206C_202B_200D_202E_202E(outStream, _202E_206A_200E_202D_202D_206D_202E_206F_200C_200F_200C_202D_206B_202D_202D_206F_202B_200D_200B_206F_200F_206C_202C_206B_206C_200E_206B_200D_200F_206E_206B_202C_206E_206E_200C_200D_200F_202C_206F_200C_202E); + uint num = 0u; + while (num < 12) + { + int num4; + int num5; + for (uint num2 = 0u; num2 <= _200E_202A_206D_206F_200F_200D_200C_202D_202A_206C_202C_200B_206C_206F_206E_200F_202D_206C_202B_202C_202C_200B_202B_202A_200E_206D_206A_202B_200C_206F_200B_206E_200F_200E_200E_200C_206A_206F_202D_202D_202E; num2 = (uint)((num5 | num4) + (num5 & num4))) + { + uint num3 = num << 4; + num4 = (int)num2; + num5 = (int)num3; + int num6 = num5 ^ num4; + int num7 = num5 & num4; + uint num8 = (uint)(num6 + (num7 + num7)); + _202C_206B_206E_206A_206A_206F_200D_202A_200F_206B_206A_206F_200B_200C_206E_206C_202A_206A_200E_206B_202E_202B_206C_206C_200C_206D_206F_206E_202C_200B_206F_206A_206A_206E_206F_206E_202B_202B_206B_202E_202E[num8]._202A_206E_200C_200D_200D_202D_200F_200F_206E_202D_200F_206D_200E_202D_202C_206D_202C_206C_202A_200D_200D_200F_200B_206F_206D_200D_200E_200F_206E_206F_200F_200B_206C_206A_206A_200B_202A_206B_202D_200C_202E(); + _206D_202D_200D_206B_206B_206E_200E_202A_200C_200F_200E_206E_206D_202B_206C_206D_200D_200B_206D_200F_202D_206A_206F_206A_200F_206D_200C_200B_202A_206F_200F_200C_200F_200C_200D_200E_206D_200C_206F_206E_202E[num8]._202A_206E_200C_200D_200D_202D_200F_200F_206E_202D_200F_206D_200E_202D_202C_206D_202C_206C_202A_200D_200D_200F_200B_206F_206D_200D_200E_200F_206E_206F_200F_200B_206C_206A_206A_200B_202A_206B_202D_200C_202E(); + uint num9 = num2; + num4 = 1; + num5 = (int)num9; + } + _200C_206D_202C_202E_200D_200B_200C_200B_200E_200B_200D_206B_200B_200D_202A_202D_202E_202A_202E_202E_206C_202E_200F_206C_202A_200C_202C_202C_200F_206B_200F_200B_202C_206D_200D_200E_206D_206E_206C_206D_202E[num]._202A_206E_200C_200D_200D_202D_200F_200F_206E_202D_200F_206D_200E_202D_202C_206D_202C_206C_202A_200D_200D_200F_200B_206F_206D_200D_200E_200F_206E_206F_200F_200B_206C_206A_206A_200B_202A_206B_202D_200C_202E(); + _200D_202C_206B_202C_206B_206B_200E_206E_202E_206B_200B_206C_202B_200C_200B_200D_206C_206C_206E_200B_200B_202E_202E_206A_206A_202D_202B_206D_200E_202D_200C_206D_206A_200C_200D_202B_202D_202E_200F_200D_202E[num]._202A_206E_200C_200D_200D_202D_200F_200F_206E_202D_200F_206D_200E_202D_202C_206D_202C_206C_202A_200D_200D_200F_200B_206F_206D_200D_200E_200F_206E_206F_200F_200B_206C_206A_206A_200B_202A_206B_202D_200C_202E(); + _202B_206A_202B_202A_200B_202D_202A_206B_200B_206A_206C_200F_202E_200F_206F_200E_200E_200E_206F_206B_202D_206D_202C_200E_206A_202E_206B_200E_202D_206B_202E_202A_200E_200E_206D_206B_206D_202B_202C_206E_202E[num]._202A_206E_200C_200D_200D_202D_200F_200F_206E_202D_200F_206D_200E_202D_202C_206D_202C_206C_202A_200D_200D_200F_200B_206F_206D_200D_200E_200F_206E_206F_200F_200B_206C_206A_206A_200B_202A_206B_202D_200C_202E(); + _206E_206C_200F_200F_202A_200B_202B_206B_202D_206E_202D_206C_206B_200D_206B_200E_202A_206B_206D_206E_206A_206B_206B_200C_206A_206C_202B_206D_202D_200D_200F_206D_206F_206F_200E_202B_200D_206A_206A_206C_202E[num]._202A_206E_200C_200D_200D_202D_200F_200F_206E_202D_200F_206D_200E_202D_202C_206D_202C_206C_202A_200D_200D_200F_200B_206F_206D_200D_200E_200F_206E_206F_200F_200B_206C_206A_206A_200B_202A_206B_202D_200C_202E(); + uint num10 = num; + num4 = 1; + num5 = (int)num10; + int num11 = num5 ^ num4; + int num12 = num5 & num4; + num = (uint)(num11 + (num12 + num12)); + } + _206D_200D_200D_200C_206F_200D_202A_200B_200F_206F_206E_206D_202E_200C_206C_206D_206D_200C_202C_206B_206B_200D_202D_200B_206B_200C_206C_206D_200B_202D_206A_206C_206B_200F_206D_206D_206D_202E_200C_206A_202E._202C_206B_206B_206D_202D_206C_202C_206E_200B_206D_202A_202A_206B_206F_202D_202D_202C_206F_206E_206E_206E_200B_200E_206F_200C_206E_202A_206E_206A_206F_206E_206C_206D_200C_202A_206F_206F_206E_202A_200C_202E(); + num = 0u; + while (num < 4) + { + _206E_202C_200B_206D_202B_200B_202D_202A_202E_202C_200B_200C_206F_200C_206F_202E_206D_206A_202A_200F_200B_200C_206C_202B_206E_200C_202A_202B_202B_200C_200F_206D_202E_206E_202E_202C_206A_200F_206D_202B_202E[num]._200C_206F_206E_206C_202A_202B_206A_200E_200E_206C_202B_202B_206B_200F_206D_200E_206D_206A_206A_206B_206E_206E_200B_206C_202D_202D_202E_200D_206D_200F_202B_200E_202A_202C_206C_206B_206F_206E_206C_202E(); + uint num13 = num; + int num4 = 1; + int num5 = (int)num13; + num = (uint)((num5 | num4) + (num5 & num4)); + } + num = 0u; + while (num < 114) + { + _200D_202B_200B_202B_202E_200E_200F_200F_206A_200D_206F_200D_200D_206C_206F_202D_206A_206D_200C_206D_200C_200C_202E_200F_206D_202C_206D_206D_206E_200B_200F_202A_202A_206E_200D_206B_206B_202B_206B_206E_202E[num]._202A_206E_200C_200D_200D_202D_200F_200F_206E_202D_200F_206D_200E_202D_202C_206D_202C_206C_202A_200D_200D_200F_200B_206F_206D_200D_200E_200F_206E_206F_200F_200B_206C_206A_206A_200B_202A_206B_202D_200C_202E(); + uint num14 = num; + int num4 = 1; + int num5 = (int)num14; + num = (uint)((num5 | num4) + (num5 & num4)); + } + _206F_202B_202B_200F_202C_202A_200E_200B_202E_200E_200C_202D_206A_202B_202E_206E_202C_200F_206E_200E_206A_202C_200D_202B_200F_200D_200E_206F_206A_202A_206A_206B_206A_200C_202C_206D_206F_206D_206A_206C_202E._202C_202A_200B_202C_206D_200B_206A_206B_200D_202A_206A_200F_202E_206B_202D_202B_200D_206F_206B_206F_202D_206C_200E_200C_206F_206D_206B_206D_206E_200D_206F_202C_200B_202E_200B_206E_200C_206E_202E(); + _202A_202A_206B_200D_206E_206C_200F_206E_200D_206A_202D_206A_202D_200F_200C_200D_206A_202B_202B_202E_202E_200E_206C_202B_206A_206A_202A_202C_200E_206C_200C_200E_206D_200F_206B_202E_206F_200F_202E_202E_202E._202C_202A_200B_202C_206D_200B_206A_206B_200D_202A_206A_200F_202E_206B_202D_202B_200D_206F_206B_206F_202D_206C_200E_200C_206F_206D_206B_206D_206E_200D_206F_202C_200B_202E_200B_206E_200C_206E_202E(); + _202A_206C_200D_206B_200F_202D_206E_202D_206F_200F_200B_206B_206C_202E_202D_206B_200B_206C_200F_200B_206E_206F_202A_206B_200F_206C_200D_206D_202C_200B_206F_200B_202C_200F_206F_200B_206F_206E_206C_206F_202E._200C_206F_206E_206C_202A_202B_206A_200E_200E_206C_202B_202B_206B_200F_206D_200E_206D_206A_206A_206B_206E_206E_200B_206C_202D_202D_202E_200D_206D_200F_202B_200E_202A_202C_206C_206B_206F_206E_206C_202E(); + } + + internal void _206B_200E_200D_206E_202B_200D_206A_206F_206C_206A_200C_202D_202A_202D_206B_206C_200B_206A_202A_200F_206A_200B_202A_206F_200F_202B_202A_202C_206E_202D_202B_202A_206A_202B_206D_206D_200E_200F_206C_202C_202E(Stream inStream, Stream outStream, long inSize, long outSize) + { + _200C_202C_206C_200B_206C_206F_206C_200D_202E_202B_200B_202D_202D_200F_202A_200C_200D_200D_202C_202D_206F_200B_200D_200F_200F_206D_202B_202E_200C_202A_202B_200E_206A_202A_206D_202A_206C_206F_200B_206F_202E(inStream, outStream); + _206F_200D_202B_200E_206A_200C_202B_202E_206B_206C_200D_202E_200B_202C_206C_202E_206C_206D_202E_206C_200B_202A_202D_200C_202D_200D_200C_202C_202D_200B_206E_206D_202C_202B_200C_206C_202B_206F_200D_206F_202E obj = default(_206F_200D_202B_200E_206A_200C_202B_202E_206B_206C_200D_202E_200B_202C_206C_202E_206C_206D_202E_206C_200B_202A_202D_200C_202D_200D_200C_202C_202D_200B_206E_206D_202C_202B_200C_206C_202B_206F_200D_206F_202E); + obj._202E_200F_200C_206A_206A_202E_206E_200E_206E_200D_202D_202B_206E_206C_202D_200F_200D_200F_202A_206C_206B_200D_206B_206F_200D_202A_200F_202A_200B_200F_206A_202D_200F_202A_202A_206D_206A_206E_206C_202A_202E(); + uint num = 0u; + uint num2 = 0u; + uint num3 = 0u; + uint num4 = 0u; + ulong num5 = 0uL; + if (num5 < (ulong)outSize) + { + _202C_206B_206E_206A_206A_206F_200D_202A_200F_206B_206A_206F_200B_200C_206E_206C_202A_206A_200E_206B_202E_202B_206C_206C_200C_206D_206F_206E_202C_200B_206F_206A_206A_206E_206F_206E_202B_202B_206B_202E_202E[obj._202E_206D_200F_200B_202E_206C_206B_200E_206B_202B_202A_206C_200C_202A_206C_200E_202A_200D_206F_200E_200C_202A_206A_206C_202D_200F_200E_206C_206C_202B_200F_202A_206B_206B_200C_200E_200F_206F_202E_206E_202E << 4]._202B_200D_200C_200E_206A_202B_206C_202D_206C_206F_200F_200D_200F_206B_202D_202C_206C_202C_200B_200F_206B_206A_206F_202B_200C_202A_202E_206F_202D_206E_202E_202B_200D_206D_206E_202B_206D_206B_202D_206D_202E(_200C_206E_202B_202D_202B_206A_200F_200F_200D_206A_200C_202B_200B_206C_202A_202C_200B_202D_202A_202E_206E_206F_206F_200C_202A_200F_206E_202D_202C_200F_202E_202C_200B_200C_202C_200F_200D_206F_200D_206C_202E); + obj._206C_200F_200C_200E_202A_206B_202B_202D_206D_200B_202A_200B_202C_206D_202D_202D_200D_202E_206B_200F_200D_200E_202A_202E_200B_200E_202D_200B_200E_206D_200E_206B_206E_206C_202B_200F_206D_206F_202C_206A_202E(); + byte b = _206D_200D_200D_200C_206F_200D_202A_200B_200F_206F_206E_206D_202E_200C_206C_206D_206D_200C_202C_206B_206B_200D_202D_200B_206B_200C_206C_206D_200B_202D_206A_206C_206B_200F_206D_206D_206D_202E_200C_206A_202E._200B_202A_202B_200D_202C_202C_206A_206B_200B_202D_202C_200F_200F_202E_206D_202D_206C_206E_202C_200D_202B_206E_200B_206C_206F_200C_206D_200C_200D_202A_202D_200F_202C_206D_200E_200E_202E_202B_202A_202B_202E(_200C_206E_202B_202D_202B_206A_200F_200F_200D_206A_200C_202B_200B_206C_202A_202C_200B_202D_202A_202E_206E_206F_206F_200C_202A_200F_206E_202D_202C_200F_202E_202C_200B_200C_202C_200F_200D_206F_200D_206C_202E, 0u, 0); + _206C_202A_200E_206E_206E_200B_206C_200E_206C_200E_206F_202D_206C_202C_206D_202E_200B_200D_206A_206E_206B_202C_200F_200C_202C_202D_206A_206C_200D_200D_206A_202E_206F_202A_200B_206B_202B_206A_202E_206B_202E._202A_202E_206A_206E_206A_202E_206D_206D_206F_206B_202D_202C_202B_200D_206F_200E_202C_206C_202A_202D_200B_202A_206E_200E_200E_202B_200E_202A_206F_206C_202B_206C_206E_200F_206B_202E_202E_200C_200F_202A_202E(b); + ulong num6 = num5; + long num7 = 1L; + long num8 = (long)num6; + long num9 = num8 ^ num7; + long num10 = num8 & num7; + num5 = (ulong)(num9 + (num10 + num10)); + } + while (num5 < (ulong)outSize) + { + int num11 = (int)num5; + int num12 = (int)_200E_202A_206D_206F_200F_200D_200C_202D_202A_206C_202C_200B_206C_206F_206E_200F_202D_206C_202B_202C_202C_200B_202B_202A_200E_206D_206A_202B_200C_206F_200B_206E_200F_200E_200E_200C_206A_206F_202D_202D_202E; + int num13 = num11; + uint num14 = (uint)(num13 + num12 - (num13 | num12)); + _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E[] array = _202C_206B_206E_206A_206A_206F_200D_202A_200F_206B_206A_206F_200B_200C_206E_206C_202A_206A_200E_206B_202E_202B_206C_206C_200C_206D_206F_206E_202C_200B_206F_206A_206A_206E_206F_206E_202B_202B_206B_202E_202E; + uint num15 = obj._202E_206D_200F_200B_202E_206C_206B_200E_206B_202B_202A_206C_200C_202A_206C_200E_202A_200D_206F_200E_200C_202A_206A_206C_202D_200F_200E_206C_206C_202B_200F_202A_206B_206B_200C_200E_200F_206F_202E_206E_202E << 4; + num12 = (int)num14; + num13 = (int)num15; + int num16 = num13 ^ num12; + int num17 = num13 & num12; + long num7; + long num8; + if (array[num16 + (num17 + num17)]._202B_200D_200C_200E_206A_202B_206C_202D_206C_206F_200F_200D_200F_206B_202D_202C_206C_202C_200B_200F_206B_206A_206F_202B_200C_202A_202E_206F_202D_206E_202E_202B_200D_206D_206E_202B_206D_206B_202D_206D_202E(_200C_206E_202B_202D_202B_206A_200F_200F_200D_206A_200C_202B_200B_206C_202A_202C_200B_202D_202A_202E_206E_206F_206F_200C_202A_200F_206E_202D_202C_200F_202E_202C_200B_200C_202C_200F_200D_206F_200D_206C_202E) == 0) + { + byte prevByte = _206C_202A_200E_206E_206E_200B_206C_200E_206C_200E_206F_202D_206C_202C_206D_202E_200B_200D_206A_206E_206B_202C_200F_200C_202C_202D_206A_206C_200D_200D_206A_202E_206F_202A_200B_206B_202B_206A_202E_206B_202E._202E_206A_200B_202C_200F_202C_202E_200B_206E_200D_202E_206E_206D_202B_202E_206F_206C_206B_206C_202D_200E_202C_202A_206B_206C_200C_206F_206B_202E_206C_200B_200D_202E_200C_206E_200C_206F_202A_202D_200C_202E(0u); + byte b2 = (obj._200E_200C_206C_200E_200B_206B_202B_200F_206F_202E_206B_202A_202B_202A_200C_200D_202E_200F_202E_202E_206F_200C_202B_202B_200C_202D_206A_202A_202C_200F_206D_202C_206F_200F_200B_200C_206A_206A_206B_200E_202E() ? _206D_200D_200D_200C_206F_200D_202A_200B_200F_206F_206E_206D_202E_200C_206C_206D_206D_200C_202C_206B_206B_200D_202D_200B_206B_200C_206C_206D_200B_202D_206A_206C_206B_200F_206D_206D_206D_202E_200C_206A_202E._200B_202A_202B_200D_202C_202C_206A_206B_200B_202D_202C_200F_200F_202E_206D_202D_206C_206E_202C_200D_202B_206E_200B_206C_206F_200C_206D_200C_200D_202A_202D_200F_202C_206D_200E_200E_202E_202B_202A_202B_202E(_200C_206E_202B_202D_202B_206A_200F_200F_200D_206A_200C_202B_200B_206C_202A_202C_200B_202D_202A_202E_206E_206F_206F_200C_202A_200F_206E_202D_202C_200F_202E_202C_200B_200C_202C_200F_200D_206F_200D_206C_202E, (uint)num5, prevByte) : _206D_200D_200D_200C_206F_200D_202A_200B_200F_206F_206E_206D_202E_200C_206C_206D_206D_200C_202C_206B_206B_200D_202D_200B_206B_200C_206C_206D_200B_202D_206A_206C_206B_200F_206D_206D_206D_202E_200C_206A_202E._200B_206F_206E_206D_206B_202A_200B_206A_200B_200C_202B_206E_206B_202D_206B_206F_202A_200C_202A_200C_206C_202D_202D_202E_200C_206B_202D_202A_200D_200F_206F_200E_206B_206A_206D_202D_202E_200C_200F_206D_202E(_200C_206E_202B_202D_202B_206A_200F_200F_200D_206A_200C_202B_200B_206C_202A_202C_200B_202D_202A_202E_206E_206F_206F_200C_202A_200F_206E_202D_202C_200F_202E_202C_200B_200C_202C_200F_200D_206F_200D_206C_202E, (uint)num5, prevByte, _206C_202A_200E_206E_206E_200B_206C_200E_206C_200E_206F_202D_206C_202C_206D_202E_200B_200D_206A_206E_206B_202C_200F_200C_202C_202D_206A_206C_200D_200D_206A_202E_206F_202A_200B_206B_202B_206A_202E_206B_202E._202E_206A_200B_202C_200F_202C_202E_200B_206E_200D_202E_206E_206D_202B_202E_206F_206C_206B_206C_202D_200E_202C_202A_206B_206C_200C_206F_206B_202E_206C_200B_200D_202E_200C_206E_200C_206F_202A_202D_200C_202E(num))); + _206C_202A_200E_206E_206E_200B_206C_200E_206C_200E_206F_202D_206C_202C_206D_202E_200B_200D_206A_206E_206B_202C_200F_200C_202C_202D_206A_206C_200D_200D_206A_202E_206F_202A_200B_206B_202B_206A_202E_206B_202E._202A_202E_206A_206E_206A_202E_206D_206D_206F_206B_202D_202C_202B_200D_206F_200E_202C_206C_202A_202D_200B_202A_206E_200E_200E_202B_200E_202A_206F_206C_202B_206C_206E_200F_206B_202E_202E_200C_200F_202A_202E(b2); + obj._206C_200F_200C_200E_202A_206B_202B_202D_206D_200B_202A_200B_202C_206D_202D_202D_200D_202E_206B_200F_200D_200E_202A_202E_200B_200E_202D_200B_200E_206D_200E_206B_206E_206C_202B_200F_206D_206F_202C_206A_202E(); + ulong num18 = num5; + num7 = 1L; + num8 = (long)num18; + long num19 = num8 ^ num7; + long num20 = num8 & num7; + num5 = (ulong)(num19 + (num20 + num20)); + continue; + } + uint num24; + if (_200C_206D_202C_202E_200D_200B_200C_200B_200E_200B_200D_206B_200B_200D_202A_202D_202E_202A_202E_202E_206C_202E_200F_206C_202A_200C_202C_202C_200F_206B_200F_200B_202C_206D_200D_200E_206D_206E_206C_206D_202E[obj._202E_206D_200F_200B_202E_206C_206B_200E_206B_202B_202A_206C_200C_202A_206C_200E_202A_200D_206F_200E_200C_202A_206A_206C_202D_200F_200E_206C_206C_202B_200F_202A_206B_206B_200C_200E_200F_206F_202E_206E_202E]._202B_200D_200C_200E_206A_202B_206C_202D_206C_206F_200F_200D_200F_206B_202D_202C_206C_202C_200B_200F_206B_206A_206F_202B_200C_202A_202E_206F_202D_206E_202E_202B_200D_206D_206E_202B_206D_206B_202D_206D_202E(_200C_206E_202B_202D_202B_206A_200F_200F_200D_206A_200C_202B_200B_206C_202A_202C_200B_202D_202A_202E_206E_206F_206F_200C_202A_200F_206E_202D_202C_200F_202E_202C_200B_200C_202C_200F_200D_206F_200D_206C_202E) == 1) + { + if (_200D_202C_206B_202C_206B_206B_200E_206E_202E_206B_200B_206C_202B_200C_200B_200D_206C_206C_206E_200B_200B_202E_202E_206A_206A_202D_202B_206D_200E_202D_200C_206D_206A_200C_200D_202B_202D_202E_200F_200D_202E[obj._202E_206D_200F_200B_202E_206C_206B_200E_206B_202B_202A_206C_200C_202A_206C_200E_202A_200D_206F_200E_200C_202A_206A_206C_202D_200F_200E_206C_206C_202B_200F_202A_206B_206B_200C_200E_200F_206F_202E_206E_202E]._202B_200D_200C_200E_206A_202B_206C_202D_206C_206F_200F_200D_200F_206B_202D_202C_206C_202C_200B_200F_206B_206A_206F_202B_200C_202A_202E_206F_202D_206E_202E_202B_200D_206D_206E_202B_206D_206B_202D_206D_202E(_200C_206E_202B_202D_202B_206A_200F_200F_200D_206A_200C_202B_200B_206C_202A_202C_200B_202D_202A_202E_206E_206F_206F_200C_202A_200F_206E_202D_202C_200F_202E_202C_200B_200C_202C_200F_200D_206F_200D_206C_202E) == 0) + { + _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E[] array2 = _206D_202D_200D_206B_206B_206E_200E_202A_200C_200F_200E_206E_206D_202B_206C_206D_200D_200B_206D_200F_202D_206A_206F_206A_200F_206D_200C_200B_202A_206F_200F_200C_200F_200C_200D_200E_206D_200C_206F_206E_202E; + uint num21 = obj._202E_206D_200F_200B_202E_206C_206B_200E_206B_202B_202A_206C_200C_202A_206C_200E_202A_200D_206F_200E_200C_202A_206A_206C_202D_200F_200E_206C_206C_202B_200F_202A_206B_206B_200C_200E_200F_206F_202E_206E_202E << 4; + num12 = (int)num14; + num13 = (int)num21; + if (array2[(num13 | num12) + (num13 & num12)]._202B_200D_200C_200E_206A_202B_206C_202D_206C_206F_200F_200D_200F_206B_202D_202C_206C_202C_200B_200F_206B_206A_206F_202B_200C_202A_202E_206F_202D_206E_202E_202B_200D_206D_206E_202B_206D_206B_202D_206D_202E(_200C_206E_202B_202D_202B_206A_200F_200F_200D_206A_200C_202B_200B_206C_202A_202C_200B_202D_202A_202E_206E_206F_206F_200C_202A_200F_206E_202D_202C_200F_202E_202C_200B_200C_202C_200F_200D_206F_200D_206C_202E) == 0) + { + obj._200F_202D_202B_202C_202B_206D_206C_202E_200E_206D_202A_202E_206A_200C_200E_206E_206C_206B_202C_206F_206C_200D_206A_202D_206B_200C_200E_200D_206D_202D_206F_206E_206E_202C_202B_202A_206B_202C_202C_206A_202E(); + _206C_202A_200E_206E_206E_200B_206C_200E_206C_200E_206F_202D_206C_202C_206D_202E_200B_200D_206A_206E_206B_202C_200F_200C_202C_202D_206A_206C_200D_200D_206A_202E_206F_202A_200B_206B_202B_206A_202E_206B_202E._202A_202E_206A_206E_206A_202E_206D_206D_206F_206B_202D_202C_202B_200D_206F_200E_202C_206C_202A_202D_200B_202A_206E_200E_200E_202B_200E_202A_206F_206C_202B_206C_206E_200F_206B_202E_202E_200C_200F_202A_202E(_206C_202A_200E_206E_206E_200B_206C_200E_206C_200E_206F_202D_206C_202C_206D_202E_200B_200D_206A_206E_206B_202C_200F_200C_202C_202D_206A_206C_200D_200D_206A_202E_206F_202A_200B_206B_202B_206A_202E_206B_202E._202E_206A_200B_202C_200F_202C_202E_200B_206E_200D_202E_206E_206D_202B_202E_206F_206C_206B_206C_202D_200E_202C_202A_206B_206C_200C_206F_206B_202E_206C_200B_200D_202E_200C_206E_200C_206F_202A_202D_200C_202E(num)); + ulong num22 = num5; + num7 = 1L; + num8 = (long)num22; + num5 = (ulong)((num8 | num7) + (num8 & num7)); + continue; + } + } + else + { + uint num23; + if (_202B_206A_202B_202A_200B_202D_202A_206B_200B_206A_206C_200F_202E_200F_206F_200E_200E_200E_206F_206B_202D_206D_202C_200E_206A_202E_206B_200E_202D_206B_202E_202A_200E_200E_206D_206B_206D_202B_202C_206E_202E[obj._202E_206D_200F_200B_202E_206C_206B_200E_206B_202B_202A_206C_200C_202A_206C_200E_202A_200D_206F_200E_200C_202A_206A_206C_202D_200F_200E_206C_206C_202B_200F_202A_206B_206B_200C_200E_200F_206F_202E_206E_202E]._202B_200D_200C_200E_206A_202B_206C_202D_206C_206F_200F_200D_200F_206B_202D_202C_206C_202C_200B_200F_206B_206A_206F_202B_200C_202A_202E_206F_202D_206E_202E_202B_200D_206D_206E_202B_206D_206B_202D_206D_202E(_200C_206E_202B_202D_202B_206A_200F_200F_200D_206A_200C_202B_200B_206C_202A_202C_200B_202D_202A_202E_206E_206F_206F_200C_202A_200F_206E_202D_202C_200F_202E_202C_200B_200C_202C_200F_200D_206F_200D_206C_202E) == 0) + { + num23 = num2; + } + else + { + if (_206E_206C_200F_200F_202A_200B_202B_206B_202D_206E_202D_206C_206B_200D_206B_200E_202A_206B_206D_206E_206A_206B_206B_200C_206A_206C_202B_206D_202D_200D_200F_206D_206F_206F_200E_202B_200D_206A_206A_206C_202E[obj._202E_206D_200F_200B_202E_206C_206B_200E_206B_202B_202A_206C_200C_202A_206C_200E_202A_200D_206F_200E_200C_202A_206A_206C_202D_200F_200E_206C_206C_202B_200F_202A_206B_206B_200C_200E_200F_206F_202E_206E_202E]._202B_200D_200C_200E_206A_202B_206C_202D_206C_206F_200F_200D_200F_206B_202D_202C_206C_202C_200B_200F_206B_206A_206F_202B_200C_202A_202E_206F_202D_206E_202E_202B_200D_206D_206E_202B_206D_206B_202D_206D_202E(_200C_206E_202B_202D_202B_206A_200F_200F_200D_206A_200C_202B_200B_206C_202A_202C_200B_202D_202A_202E_206E_206F_206F_200C_202A_200F_206E_202D_202C_200F_202E_202C_200B_200C_202C_200F_200D_206F_200D_206C_202E) == 0) + { + num23 = num3; + } + else + { + num23 = num4; + num4 = num3; + } + num3 = num2; + } + num2 = num; + num = num23; + } + num24 = _202A_202A_206B_200D_206E_206C_200F_206E_200D_206A_202D_206A_202D_200F_200C_200D_206A_202B_202B_202E_202E_200E_206C_202B_206A_206A_202A_202C_200E_206C_200C_200E_206D_200F_206B_202E_206F_200F_202E_202E_202E._206D_202C_202B_202C_200F_200D_206D_202D_202E_206D_200D_200B_202C_200C_202A_200E_206C_202A_206B_200E_202B_202C_202D_202B_206A_206A_206D_200F_206C_206A_206D_200D_202A_200E_206C_200B_200B_202E_206D_206A_202E(_200C_206E_202B_202D_202B_206A_200F_200F_200D_206A_200C_202B_200B_206C_202A_202C_200B_202D_202A_202E_206E_206F_206F_200C_202A_200F_206E_202D_202C_200F_202E_202C_200B_200C_202C_200F_200D_206F_200D_206C_202E, num14) + 2; + obj._202B_202A_206A_202A_202E_206A_200B_200C_200D_200B_206D_200B_200E_206B_202E_200F_200F_202E_206C_202C_200C_202A_200E_202D_200C_202A_202E_206B_202A_202A_202A_200F_200F_200E_206C_200E_202A_202D_200D_200F_202E(); + } + else + { + num4 = num3; + num3 = num2; + num2 = num; + num24 = 2 + _206F_202B_202B_200F_202C_202A_200E_200B_202E_200E_200C_202D_206A_202B_202E_206E_202C_200F_206E_200E_206A_202C_200D_202B_200F_200D_200E_206F_206A_202A_206A_206B_206A_200C_202C_206D_206F_206D_206A_206C_202E._206D_202C_202B_202C_200F_200D_206D_202D_202E_206D_200D_200B_202C_200C_202A_200E_206C_202A_206B_200E_202B_202C_202D_202B_206A_206A_206D_200F_206C_206A_206D_200D_202A_200E_206C_200B_200B_202E_206D_206A_202E(_200C_206E_202B_202D_202B_206A_200F_200F_200D_206A_200C_202B_200B_206C_202A_202C_200B_202D_202A_202E_206E_206F_206F_200C_202A_200F_206E_202D_202C_200F_202E_202C_200B_200C_202C_200F_200D_206F_200D_206C_202E, num14); + obj._206B_202D_200E_206D_206B_202E_200E_206B_206E_206E_200B_202A_206C_202A_206E_200F_200B_206B_206F_206A_206E_200D_206A_200F_202B_202A_206E_206D_200E_206E_200C_202C_206D_206D_200F_206E_202B_200B_202D_206F_202E(); + uint num25 = _206E_202C_200B_206D_202B_200B_202D_202A_202E_202C_200B_200C_206F_200C_206F_202E_206D_206A_202A_200F_200B_200C_206C_202B_206E_200C_202A_202B_202B_200C_200F_206D_202E_206E_202E_202C_206A_200F_206D_202B_202E[_202E_200F_202C_202A_206E_206F_202E_202B_202E_200C_200D_202D_202B_202D_202A_200F_200F_202D_206A_206A_202D_202A_206D_206E_200F_206E_202B_202C_206B_206C_200E_202C_202C_206F_206F_200C_206E_202D_206D_202E_202E(num24)]._200C_200F_206F_206A_200B_200B_200F_200B_202B_200E_202B_206F_202E_206A_206E_206B_200D_206C_202A_206A_200C_202D_202D_200B_200E_200B_202E_206B_206F_200C_200E_200B_202B_202B_206B_202A_200F_206F_202E_206A_202E(_200C_206E_202B_202D_202B_206A_200F_200F_200D_206A_200C_202B_200B_206C_202A_202C_200B_202D_202A_202E_206E_206F_206F_200C_202A_200F_206E_202D_202C_200F_202E_202C_200B_200C_202C_200F_200D_206F_200D_206C_202E); + if (num25 >= 4) + { + uint num26 = num25 >> 1; + num12 = 1; + num13 = (int)num26; + int num27 = ~(~num13 + num12); + num12 = 1; + num13 = (int)num25; + num12 = num13 + num12 - (num13 | num12); + num13 = 2; + int num28 = (num13 & num12) + (num13 ^ num12); + num12 = 31; + num13 = num27; + num = (uint)(num28 << num13 + num12 - (num13 | num12)); + if (num25 < 14) + { + uint num29 = num; + _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E[] models = _200D_202B_200B_202B_202E_200E_200F_200F_206A_200D_206F_200D_200D_206C_206F_202D_206A_206D_200C_206D_200C_200C_202E_200F_206D_202C_206D_206D_206E_200B_200F_202A_202A_206E_200D_206B_206B_202B_206B_206E_202E; + uint num30 = num; + num12 = (int)num25; + num13 = (int)num30; + int num31 = ~(~num13 + num12); + num12 = 1; + num13 = num31; + num = num29 + _202C_206D_206F_206C_202B_206F_200E_206D_206E_200B_206E_206C_200D_206F_206C_206B_200B_200E_202A_200F_206C_202D_200D_200B_206E_202C_200B_206A_200D_200D_206C_202A_200D_200E_206B_202E_202D_202D_202D_202E._206D_200D_202A_206D_200F_206D_200F_202E_202D_200F_206B_202E_200D_202A_202B_206B_202E_206C_206D_206C_206D_202B_202B_206E_202B_206E_202A_200D_202D_200D_206C_200C_206F_206E_202B_202C_206D_200D_200B_206F_202E(models, (uint)(~(~num13 + num12)), _200C_206E_202B_202D_202B_206A_200F_200F_200D_206A_200C_202B_200B_206C_202A_202C_200B_202D_202A_202E_206E_206F_206F_200C_202A_200F_206E_202D_202C_200F_202E_202C_200B_200C_202C_200F_200D_206F_200D_206C_202E, num27); + } + else + { + uint num32 = num; + _206E_200C_202A_200F_202B_200E_200E_202C_206D_206B_202D_206A_206F_206D_202C_206D_206E_202C_206D_202A_206C_206C_206E_200C_202A_200F_200F_206D_202B_206A_206D_200D_200F_202A_202A_202A_202B_206D_200E_206D_202E obj2 = _200C_206E_202B_202D_202B_206A_200F_200F_200D_206A_200C_202B_200B_206C_202A_202C_200B_202D_202A_202E_206E_206F_206F_200C_202A_200F_206E_202D_202C_200F_202E_202C_200B_200C_202C_200F_200D_206F_200D_206C_202E; + num12 = 4; + num13 = num27; + num = num32 + (obj2._206D_202A_202A_200C_206E_206C_206E_200C_202A_200F_202C_200B_206A_206D_202B_202A_202E_206E_206A_200D_206A_200D_206E_202A_202C_202D_202A_202D_200E_202E_200E_200B_202C_206B_202B_206C_202D_206C_202A_202D_202E(~(~num13 + num12)) << 4); + num += _202A_206C_200D_206B_200F_202D_206E_202D_206F_200F_200B_206B_206C_202E_202D_206B_200B_206C_200F_200B_206E_206F_202A_206B_200F_206C_200D_206D_202C_200B_206F_200B_202C_200F_206F_200B_206F_206E_206C_206F_202E._202B_202A_206F_200C_206C_202E_202D_202A_202C_200E_202A_206E_200C_202B_206C_200E_202D_206D_200D_200D_206F_202A_206A_202E_200B_206B_200E_206D_202C_202A_206B_200B_200E_202B_200D_206E_200C_206A_206C_200F_202E(_200C_206E_202B_202D_202B_206A_200F_200F_200D_206A_200C_202B_200B_206C_202A_202C_200B_202D_202A_202E_206E_206F_206F_200C_202A_200F_206E_202D_202C_200F_202E_202C_200B_200C_202C_200F_200D_206F_200D_206C_202E); + } + } + else + { + num = num25; + } + } + if ((num >= num5 || num >= _206A_200C_200F_206E_206C_200E_206B_200D_206C_200F_200B_206E_206B_202C_200B_202C_202A_202C_206E_200D_202B_202D_206C_200C_200D_206A_206B_206D_206B_206B_206E_206F_206C_202C_202D_200D_200F_200B_206C_206C_202E) && num == uint.MaxValue) + { + break; + } + _206C_202A_200E_206E_206E_200B_206C_200E_206C_200E_206F_202D_206C_202C_206D_202E_200B_200D_206A_206E_206B_202C_200F_200C_202C_202D_206A_206C_200D_200D_206A_202E_206F_202A_200B_206B_202B_206A_202E_206B_202E._202A_200C_200F_206C_206A_200E_202C_206F_206F_206C_206D_202D_206D_202C_200C_202A_202B_206B_200C_200B_200F_206D_202E_200B_202D_202B_206D_202B_206A_202A_202E_202C_202E_200C_206A_206D_206B_200C_202C_206D_202E(num, num24); + ulong num33 = num5; + num7 = num24; + num8 = (long)num33; + num5 = (ulong)((num8 | num7) + (num8 & num7)); + } + _206C_202A_200E_206E_206E_200B_206C_200E_206C_200E_206F_202D_206C_202C_206D_202E_200B_200D_206A_206E_206B_202C_200F_200C_202C_202D_206A_206C_200D_200D_206A_202E_206F_202A_200B_206B_202B_206A_202E_206B_202E._200F_200B_206D_206C_200F_206A_206A_206F_206B_202C_206D_200E_206B_200D_200F_206C_202A_206C_202A_206C_202E_206F_200B_200C_200C_202C_206F_200F_206B_200D_206E_206E_206F_202A_202A_200B_200C_206F_202D_202C_202E(); + _206C_202A_200E_206E_206E_200B_206C_200E_206C_200E_206F_202D_206C_202C_206D_202E_200B_200D_206A_206E_206B_202C_200F_200C_202C_202D_206A_206C_200D_200D_206A_202E_206F_202A_200B_206B_202B_206A_202E_206B_202E._206D_200C_206C_206A_206B_202E_200F_206E_202C_206D_206E_200E_200C_206A_200C_202A_206B_202B_202E_206E_202D_200E_206B_206B_206D_206D_200B_200D_206D_206F_200D_206F_202A_206A_200B_202D_206B_200B_206B_200E_202E(); + _200C_206E_202B_202D_202B_206A_200F_200F_200D_206A_200C_202B_200B_206C_202A_202C_200B_202D_202A_202E_206E_206F_206F_200C_202A_200F_206E_202D_202C_200F_202E_202C_200B_200C_202C_200F_200D_206F_200D_206C_202E._200C_202B_206A_206A_206E_206C_206C_206D_206A_200C_200F_200D_206C_200D_206C_206A_200B_202E_202B_202A_200E_200C_206A_200F_200B_202E_202D_206F_202C_206C_206B_206D_206B_200D_206F_202E_206E_200B_206E_202D_202E(); + } + + internal void _206F_206A_200D_200B_200D_202B_200B_202A_206A_206B_200F_202C_206D_200E_202E_202B_202D_202B_202E_206F_202E_200F_202B_206A_202C_200C_206A_200C_206E_202E_202B_206C_200B_202C_200F_202C_202E_206F_200D_202B_202E(byte[] properties) + { + int lc = properties[0] % 9; + int num = properties[0] / 9; + int lp = num % 5; + int pb = num / 5; + uint num2 = 0u; + int num3 = 0; + while (num3 < 4) + { + uint num4 = num2; + int num5 = num3; + int num6 = 1; + byte num7 = properties[(num6 | num5) + (num6 & num5)]; + int num8 = num3 * 8; + num5 = 31; + num6 = num8; + num5 = num7 << num6 + num5 - (num6 | num5); + num6 = (int)num4; + num2 = (uint)((num6 | num5) + (num6 & num5)); + int num9 = num3; + num5 = 1; + num6 = num9; + int num10 = num6 ^ num5; + int num11 = num6 & num5; + num3 = num10 + (num11 + num11); + } + _200B_206C_202E_200C_202D_206B_206B_206E_202B_206F_200C_206B_206C_200E_202D_200D_202C_202D_206D_202B_202B_202D_202D_200B_206C_206D_202A_200C_200B_200F_200B_206A_206C_202B_206A_202D_202B_202B_206C_206D_202E(num2); + _206F_200E_206D_202E_206F_200B_200C_206F_206E_202E_200D_202A_202D_206C_206F_206B_202B_202D_202C_206B_206D_202C_206F_202E_202D_200E_206C_206A_206C_202E_206B_202B_202E_206C_206E_200C_206D_200E_200B_206C_202E(lp, lc); + _206F_206A_202C_206F_202B_200E_206A_200F_202C_206B_200C_200B_202E_202D_206D_206A_206F_200F_202E_202B_206E_202E_202B_202C_206B_200E_206D_206D_206A_206C_206B_200B_206A_206C_206E_200C_200E_206B_206B_206C_202E(pb); + } + + internal static uint _202E_200F_202C_202A_206E_206F_202E_202B_202E_200C_200D_202D_202B_202D_202A_200F_200F_202D_206A_206A_202D_202A_206D_206E_200F_206E_202B_202C_206B_206C_200E_202C_202C_206F_206F_200C_206E_202D_206D_202E_202E(uint len) + { + uint num = len; + int num2 = 2; + int num3 = (int)num; + len = (uint)(~(~num3 + num2)); + if (len < 4) + { + return len; + } + return 3u; + } +} +internal class _206C_200B_206C_200B_200E_206B_200B_200E_202B_202B_200F_200C_202A_206E_202E_202E_200C_200C_206F_206F_206D_202D_200D_202E_200F_202E_206D_206A_202C_200E_200E_202E_202D_206F_206C_202E_206D_206F_202C_206A_202E +{ + internal byte[] _206F_202D_200F_202E_202A_206A_206D_206C_206E_206C_202A_200C_202A_206F_206C_202C_202C_200D_202E_202D_200E_200B_206C_200E_200C_206F_206C_200C_206E_206D_206C_206A_202A_200F_202B_206F_202B_206F_206C_202D_202E; + + internal uint _206A_206F_200E_206B_206E_206A_206D_200C_200C_202A_202B_200D_202D_200F_206B_200B_206D_200E_202D_200B_202C_206C_206A_206C_206D_202C_202A_200C_202C_206E_202C_206E_206E_200C_200E_202D_202B_206E_200C_206C_202E; + + internal Stream _202A_200C_206E_206B_206B_202E_202D_200E_200C_202D_206E_202A_200E_206A_202A_206B_200E_200D_206E_206F_206A_200D_202A_206D_200F_202C_206C_206D_202B_206B_206C_206D_202E_206A_200B_206E_206E_206F_206B_202E; + + internal uint _200C_202E_206B_206F_206C_206D_206D_202C_200C_200E_206E_200E_202B_206E_202E_200D_206B_200B_200B_202E_200B_202E_206B_202C_206B_206B_206D_202A_206E_200F_202D_206C_200B_206E_206A_206A_206C_202C_206E_206F_202E; + + internal uint _200D_202A_200B_200F_202B_200D_202C_206C_200C_206A_202B_200B_206F_206E_206E_202B_200D_202D_202D_200B_206B_200F_206B_202C_200B_206E_206E_200B_206E_202E_206F_202B_206D_202D_200B_200F_202B_202B_206A_200E_202E; + + internal void _202A_206B_206C_202C_206F_200D_200D_206A_200D_202C_200C_206A_206B_206A_206A_206C_206C_206A_206C_206B_206A_200E_200B_200D_200D_200E_202C_206F_200B_200C_206C_206E_200D_202D_202A_202E_206B_202B_200E_200F_202E(uint windowSize) + { + if (_200D_202A_200B_200F_202B_200D_202C_206C_200C_206A_202B_200B_206F_206E_206E_202B_200D_202D_202D_200B_206B_200F_206B_202C_200B_206E_206E_200B_206E_202E_206F_202B_206D_202D_200B_200F_202B_202B_206A_200E_202E != windowSize) + { + _206F_202D_200F_202E_202A_206A_206D_206C_206E_206C_202A_200C_202A_206F_206C_202C_202C_200D_202E_202D_200E_200B_206C_200E_200C_206F_206C_200C_206E_206D_206C_206A_202A_200F_202B_206F_202B_206F_206C_202D_202E = new byte[windowSize]; + } + _200D_202A_200B_200F_202B_200D_202C_206C_200C_206A_202B_200B_206F_206E_206E_202B_200D_202D_202D_200B_206B_200F_206B_202C_200B_206E_206E_200B_206E_202E_206F_202B_206D_202D_200B_200F_202B_202B_206A_200E_202E = windowSize; + _206A_206F_200E_206B_206E_206A_206D_200C_200C_202A_202B_200D_202D_200F_206B_200B_206D_200E_202D_200B_202C_206C_206A_206C_206D_202C_202A_200C_202C_206E_202C_206E_206E_200C_200E_202D_202B_206E_200C_206C_202E = 0u; + _200C_202E_206B_206F_206C_206D_206D_202C_200C_200E_206E_200E_202B_206E_202E_200D_206B_200B_200B_202E_200B_202E_206B_202C_206B_206B_206D_202A_206E_200F_202D_206C_200B_206E_206A_206A_206C_202C_206E_206F_202E = 0u; + } + + internal void _200D_200C_200F_206A_206C_200D_206C_200F_200D_200B_200F_202B_200F_202A_202D_200E_202C_200E_200C_206F_200F_206E_206D_206F_206E_200B_206F_206D_206B_200C_202C_200C_200D_200F_206E_202E_206C_202B_200D_202E_202E(Stream stream, bool solid) + { + _206D_200C_206C_206A_206B_202E_200F_206E_202C_206D_206E_200E_200C_206A_200C_202A_206B_202B_202E_206E_202D_200E_206B_206B_206D_206D_200B_200D_206D_206F_200D_206F_202A_206A_200B_202D_206B_200B_206B_200E_202E(); + _202A_200C_206E_206B_206B_202E_202D_200E_200C_202D_206E_202A_200E_206A_202A_206B_200E_200D_206E_206F_206A_200D_202A_206D_200F_202C_206C_206D_202B_206B_206C_206D_202E_206A_200B_206E_206E_206F_206B_202E = stream; + if (!solid) + { + _200C_202E_206B_206F_206C_206D_206D_202C_200C_200E_206E_200E_202B_206E_202E_200D_206B_200B_200B_202E_200B_202E_206B_202C_206B_206B_206D_202A_206E_200F_202D_206C_200B_206E_206A_206A_206C_202C_206E_206F_202E = 0u; + _206A_206F_200E_206B_206E_206A_206D_200C_200C_202A_202B_200D_202D_200F_206B_200B_206D_200E_202D_200B_202C_206C_206A_206C_206D_202C_202A_200C_202C_206E_202C_206E_206E_200C_200E_202D_202B_206E_200C_206C_202E = 0u; + } + } + + internal void _206D_200C_206C_206A_206B_202E_200F_206E_202C_206D_206E_200E_200C_206A_200C_202A_206B_202B_202E_206E_202D_200E_206B_206B_206D_206D_200B_200D_206D_206F_200D_206F_202A_206A_200B_202D_206B_200B_206B_200E_202E() + { + _200F_200B_206D_206C_200F_206A_206A_206F_206B_202C_206D_200E_206B_200D_200F_206C_202A_206C_202A_206C_202E_206F_200B_200C_200C_202C_206F_200F_206B_200D_206E_206E_206F_202A_202A_200B_200C_206F_202D_202C_202E(); + _202A_200C_206E_206B_206B_202E_202D_200E_200C_202D_206E_202A_200E_206A_202A_206B_200E_200D_206E_206F_206A_200D_202A_206D_200F_202C_206C_206D_202B_206B_206C_206D_202E_206A_200B_206E_206E_206F_206B_202E = null; + Buffer.BlockCopy(new byte[_206F_202D_200F_202E_202A_206A_206D_206C_206E_206C_202A_200C_202A_206F_206C_202C_202C_200D_202E_202D_200E_200B_206C_200E_200C_206F_206C_200C_206E_206D_206C_206A_202A_200F_202B_206F_202B_206F_206C_202D_202E.Length], 0, _206F_202D_200F_202E_202A_206A_206D_206C_206E_206C_202A_200C_202A_206F_206C_202C_202C_200D_202E_202D_200E_200B_206C_200E_200C_206F_206C_200C_206E_206D_206C_206A_202A_200F_202B_206F_202B_206F_206C_202D_202E, 0, _206F_202D_200F_202E_202A_206A_206D_206C_206E_206C_202A_200C_202A_206F_206C_202C_202C_200D_202E_202D_200E_200B_206C_200E_200C_206F_206C_200C_206E_206D_206C_206A_202A_200F_202B_206F_202B_206F_206C_202D_202E.Length); + } + + internal void _200F_200B_206D_206C_200F_206A_206A_206F_206B_202C_206D_200E_206B_200D_200F_206C_202A_206C_202A_206C_202E_206F_200B_200C_200C_202C_206F_200F_206B_200D_206E_206E_206F_202A_202A_200B_200C_206F_202D_202C_202E() + { + uint num = _206A_206F_200E_206B_206E_206A_206D_200C_200C_202A_202B_200D_202D_200F_206B_200B_206D_200E_202D_200B_202C_206C_206A_206C_206D_202C_202A_200C_202C_206E_202C_206E_206E_200C_200E_202D_202B_206E_200C_206C_202E; + int num2 = (int)_200C_202E_206B_206F_206C_206D_206D_202C_200C_200E_206E_200E_202B_206E_202E_200D_206B_200B_200B_202E_200B_202E_206B_202C_206B_206B_206D_202A_206E_200F_202D_206C_200B_206E_206A_206A_206C_202C_206E_206F_202E; + int num3 = (int)num; + uint num4 = (uint)(~(~num3 + num2)); + if (num4 != 0) + { + _202A_200C_206E_206B_206B_202E_202D_200E_200C_202D_206E_202A_200E_206A_202A_206B_200E_200D_206E_206F_206A_200D_202A_206D_200F_202C_206C_206D_202B_206B_206C_206D_202E_206A_200B_206E_206E_206F_206B_202E.Write(_206F_202D_200F_202E_202A_206A_206D_206C_206E_206C_202A_200C_202A_206F_206C_202C_202C_200D_202E_202D_200E_200B_206C_200E_200C_206F_206C_200C_206E_206D_206C_206A_202A_200F_202B_206F_202B_206F_206C_202D_202E, (int)_200C_202E_206B_206F_206C_206D_206D_202C_200C_200E_206E_200E_202B_206E_202E_200D_206B_200B_200B_202E_200B_202E_206B_202C_206B_206B_206D_202A_206E_200F_202D_206C_200B_206E_206A_206A_206C_202C_206E_206F_202E, (int)num4); + if (_206A_206F_200E_206B_206E_206A_206D_200C_200C_202A_202B_200D_202D_200F_206B_200B_206D_200E_202D_200B_202C_206C_206A_206C_206D_202C_202A_200C_202C_206E_202C_206E_206E_200C_200E_202D_202B_206E_200C_206C_202E >= _200D_202A_200B_200F_202B_200D_202C_206C_200C_206A_202B_200B_206F_206E_206E_202B_200D_202D_202D_200B_206B_200F_206B_202C_200B_206E_206E_200B_206E_202E_206F_202B_206D_202D_200B_200F_202B_202B_206A_200E_202E) + { + _206A_206F_200E_206B_206E_206A_206D_200C_200C_202A_202B_200D_202D_200F_206B_200B_206D_200E_202D_200B_202C_206C_206A_206C_206D_202C_202A_200C_202C_206E_202C_206E_206E_200C_200E_202D_202B_206E_200C_206C_202E = 0u; + } + _200C_202E_206B_206F_206C_206D_206D_202C_200C_200E_206E_200E_202B_206E_202E_200D_206B_200B_200B_202E_200B_202E_206B_202C_206B_206B_206D_202A_206E_200F_202D_206C_200B_206E_206A_206A_206C_202C_206E_206F_202E = _206A_206F_200E_206B_206E_206A_206D_200C_200C_202A_202B_200D_202D_200F_206B_200B_206D_200E_202D_200B_202C_206C_206A_206C_206D_202C_202A_200C_202C_206E_202C_206E_206E_200C_200E_202D_202B_206E_200C_206C_202E; + } + } + + internal void _202A_200C_200F_206C_206A_200E_202C_206F_206F_206C_206D_202D_206D_202C_200C_202A_202B_206B_200C_200B_200F_206D_202E_200B_202D_202B_206D_202B_206A_202A_202E_202C_202E_200C_206A_206D_206B_200C_202C_206D_202E(uint distance, uint len) + { + uint num = _206A_206F_200E_206B_206E_206A_206D_200C_200C_202A_202B_200D_202D_200F_206B_200B_206D_200E_202D_200B_202C_206C_206A_206C_206D_202C_202A_200C_202C_206E_202C_206E_206E_200C_200E_202D_202B_206E_200C_206C_202E; + int num2 = (int)distance; + int num3 = (int)num; + int num4 = ~(~num3 + num2); + num2 = 1; + num3 = num4; + uint num5 = (uint)(~(~num3 + num2)); + if (num5 >= _200D_202A_200B_200F_202B_200D_202C_206C_200C_206A_202B_200B_206F_206E_206E_202B_200D_202D_202D_200B_206B_200F_206B_202C_200B_206E_206E_200B_206E_202E_206F_202B_206D_202D_200B_200F_202B_202B_206A_200E_202E) + { + uint num6 = num5; + num2 = (int)_200D_202A_200B_200F_202B_200D_202C_206C_200C_206A_202B_200B_206F_206E_206E_202B_200D_202D_202D_200B_206B_200F_206B_202C_200B_206E_206E_200B_206E_202E_206F_202B_206D_202D_200B_200F_202B_202B_206A_200E_202E; + num3 = (int)num6; + num5 = (uint)((num3 | num2) + (num3 & num2)); + } + while (len != 0) + { + if (num5 >= _200D_202A_200B_200F_202B_200D_202C_206C_200C_206A_202B_200B_206F_206E_206E_202B_200D_202D_202D_200B_206B_200F_206B_202C_200B_206E_206E_200B_206E_202E_206F_202B_206D_202D_200B_200F_202B_202B_206A_200E_202E) + { + num5 = 0u; + } + byte[] array = _206F_202D_200F_202E_202A_206A_206D_206C_206E_206C_202A_200C_202A_206F_206C_202C_202C_200D_202E_202D_200E_200B_206C_200E_200C_206F_206C_200C_206E_206D_206C_206A_202A_200F_202B_206F_202B_206F_206C_202D_202E; + uint num7 = _206A_206F_200E_206B_206E_206A_206D_200C_200C_202A_202B_200D_202D_200F_206B_200B_206D_200E_202D_200B_202C_206C_206A_206C_206D_202C_202A_200C_202C_206E_202C_206E_206E_200C_200E_202D_202B_206E_200C_206C_202E; + num2 = 1; + num3 = (int)num7; + int num8 = num3 ^ num2; + int num9 = num3 & num2; + _206A_206F_200E_206B_206E_206A_206D_200C_200C_202A_202B_200D_202D_200F_206B_200B_206D_200E_202D_200B_202C_206C_206A_206C_206D_202C_202A_200C_202C_206E_202C_206E_206E_200C_200E_202D_202B_206E_200C_206C_202E = (uint)(num8 + (num9 + num9)); + byte[] array2 = _206F_202D_200F_202E_202A_206A_206D_206C_206E_206C_202A_200C_202A_206F_206C_202C_202C_200D_202E_202D_200E_200B_206C_200E_200C_206F_206C_200C_206E_206D_206C_206A_202A_200F_202B_206F_202B_206F_206C_202D_202E; + uint num10 = num5; + num2 = 1; + num3 = (int)num10; + int num11 = num3 ^ num2; + int num12 = num3 & num2; + num5 = (uint)(num11 + (num12 + num12)); + array[num7] = array2[num10]; + if (_206A_206F_200E_206B_206E_206A_206D_200C_200C_202A_202B_200D_202D_200F_206B_200B_206D_200E_202D_200B_202C_206C_206A_206C_206D_202C_202A_200C_202C_206E_202C_206E_206E_200C_200E_202D_202B_206E_200C_206C_202E >= _200D_202A_200B_200F_202B_200D_202C_206C_200C_206A_202B_200B_206F_206E_206E_202B_200D_202D_202D_200B_206B_200F_206B_202C_200B_206E_206E_200B_206E_202E_206F_202B_206D_202D_200B_200F_202B_202B_206A_200E_202E) + { + _200F_200B_206D_206C_200F_206A_206A_206F_206B_202C_206D_200E_206B_200D_200F_206C_202A_206C_202A_206C_202E_206F_200B_200C_200C_202C_206F_200F_206B_200D_206E_206E_206F_202A_202A_200B_200C_206F_202D_202C_202E(); + } + uint num13 = len; + num2 = 1; + num3 = (int)num13; + len = (uint)(~(~num3 + num2)); + } + } + + internal void _202A_202E_206A_206E_206A_202E_206D_206D_206F_206B_202D_202C_202B_200D_206F_200E_202C_206C_202A_202D_200B_202A_206E_200E_200E_202B_200E_202A_206F_206C_202B_206C_206E_200F_206B_202E_202E_200C_200F_202A_202E(byte b) + { + byte[] array = _206F_202D_200F_202E_202A_206A_206D_206C_206E_206C_202A_200C_202A_206F_206C_202C_202C_200D_202E_202D_200E_200B_206C_200E_200C_206F_206C_200C_206E_206D_206C_206A_202A_200F_202B_206F_202B_206F_206C_202D_202E; + uint num = _206A_206F_200E_206B_206E_206A_206D_200C_200C_202A_202B_200D_202D_200F_206B_200B_206D_200E_202D_200B_202C_206C_206A_206C_206D_202C_202A_200C_202C_206E_202C_206E_206E_200C_200E_202D_202B_206E_200C_206C_202E; + int num2 = 1; + int num3 = (int)num; + int num4 = num3 ^ num2; + int num5 = num3 & num2; + _206A_206F_200E_206B_206E_206A_206D_200C_200C_202A_202B_200D_202D_200F_206B_200B_206D_200E_202D_200B_202C_206C_206A_206C_206D_202C_202A_200C_202C_206E_202C_206E_206E_200C_200E_202D_202B_206E_200C_206C_202E = (uint)(num4 + (num5 + num5)); + array[num] = b; + if (_206A_206F_200E_206B_206E_206A_206D_200C_200C_202A_202B_200D_202D_200F_206B_200B_206D_200E_202D_200B_202C_206C_206A_206C_206D_202C_202A_200C_202C_206E_202C_206E_206E_200C_200E_202D_202B_206E_200C_206C_202E >= _200D_202A_200B_200F_202B_200D_202C_206C_200C_206A_202B_200B_206F_206E_206E_202B_200D_202D_202D_200B_206B_200F_206B_202C_200B_206E_206E_200B_206E_202E_206F_202B_206D_202D_200B_200F_202B_202B_206A_200E_202E) + { + _200F_200B_206D_206C_200F_206A_206A_206F_206B_202C_206D_200E_206B_200D_200F_206C_202A_206C_202A_206C_202E_206F_200B_200C_200C_202C_206F_200F_206B_200D_206E_206E_206F_202A_202A_200B_200C_206F_202D_202C_202E(); + } + } + + internal byte _202E_206A_200B_202C_200F_202C_202E_200B_206E_200D_202E_206E_206D_202B_202E_206F_206C_206B_206C_202D_200E_202C_202A_206B_206C_200C_206F_206B_202E_206C_200B_200D_202E_200C_206E_200C_206F_202A_202D_200C_202E(uint distance) + { + uint num = _206A_206F_200E_206B_206E_206A_206D_200C_200C_202A_202B_200D_202D_200F_206B_200B_206D_200E_202D_200B_202C_206C_206A_206C_206D_202C_202A_200C_202C_206E_202C_206E_206E_200C_200E_202D_202B_206E_200C_206C_202E; + int num2 = (int)distance; + int num3 = (int)num; + int num4 = ~(~num3 + num2); + num2 = 1; + num3 = num4; + uint num5 = (uint)(~(~num3 + num2)); + if (num5 >= _200D_202A_200B_200F_202B_200D_202C_206C_200C_206A_202B_200B_206F_206E_206E_202B_200D_202D_202D_200B_206B_200F_206B_202C_200B_206E_206E_200B_206E_202E_206F_202B_206D_202D_200B_200F_202B_202B_206A_200E_202E) + { + uint num6 = num5; + num2 = (int)_200D_202A_200B_200F_202B_200D_202C_206C_200C_206A_202B_200B_206F_206E_206E_202B_200D_202D_202D_200B_206B_200F_206B_202C_200B_206E_206E_200B_206E_202E_206F_202B_206D_202D_200B_200F_202B_202B_206A_200E_202E; + num3 = (int)num6; + num5 = (uint)((num3 | num2) + (num3 & num2)); + } + return _206F_202D_200F_202E_202A_206A_206D_206C_206E_206C_202A_200C_202A_206F_206C_202C_202C_200D_202E_202D_200E_200B_206C_200E_200C_206F_206C_200C_206E_206D_206C_206A_202A_200F_202B_206F_202B_206F_206C_202D_202E[num5]; + } + + internal _206C_200B_206C_200B_200E_206B_200B_200E_202B_202B_200F_200C_202A_206E_202E_202E_200C_200C_206F_206F_206D_202D_200D_202E_200F_202E_206D_206A_202C_200E_200E_202E_202D_206F_206C_202E_206D_206F_202C_206A_202E() + { + } +} +internal struct _206F_200D_202B_200E_206A_200C_202B_202E_206B_206C_200D_202E_200B_202C_206C_202E_206C_206D_202E_206C_200B_202A_202D_200C_202D_200D_200C_202C_202D_200B_206E_206D_202C_202B_200C_206C_202B_206F_200D_206F_202E +{ + internal uint _202E_206D_200F_200B_202E_206C_206B_200E_206B_202B_202A_206C_200C_202A_206C_200E_202A_200D_206F_200E_200C_202A_206A_206C_202D_200F_200E_206C_206C_202B_200F_202A_206B_206B_200C_200E_200F_206F_202E_206E_202E; + + internal void _202E_200F_200C_206A_206A_202E_206E_200E_206E_200D_202D_202B_206E_206C_202D_200F_200D_200F_202A_206C_206B_200D_206B_206F_200D_202A_200F_202A_200B_200F_206A_202D_200F_202A_202A_206D_206A_206E_206C_202A_202E() + { + _202E_206D_200F_200B_202E_206C_206B_200E_206B_202B_202A_206C_200C_202A_206C_200E_202A_200D_206F_200E_200C_202A_206A_206C_202D_200F_200E_206C_206C_202B_200F_202A_206B_206B_200C_200E_200F_206F_202E_206E_202E = 0u; + } + + internal void _206C_200F_200C_200E_202A_206B_202B_202D_206D_200B_202A_200B_202C_206D_202D_202D_200D_202E_206B_200F_200D_200E_202A_202E_200B_200E_202D_200B_200E_206D_200E_206B_206E_206C_202B_200F_206D_206F_202C_206A_202E() + { + if (_202E_206D_200F_200B_202E_206C_206B_200E_206B_202B_202A_206C_200C_202A_206C_200E_202A_200D_206F_200E_200C_202A_206A_206C_202D_200F_200E_206C_206C_202B_200F_202A_206B_206B_200C_200E_200F_206F_202E_206E_202E < 4) + { + _202E_206D_200F_200B_202E_206C_206B_200E_206B_202B_202A_206C_200C_202A_206C_200E_202A_200D_206F_200E_200C_202A_206A_206C_202D_200F_200E_206C_206C_202B_200F_202A_206B_206B_200C_200E_200F_206F_202E_206E_202E = 0u; + } + else if (_202E_206D_200F_200B_202E_206C_206B_200E_206B_202B_202A_206C_200C_202A_206C_200E_202A_200D_206F_200E_200C_202A_206A_206C_202D_200F_200E_206C_206C_202B_200F_202A_206B_206B_200C_200E_200F_206F_202E_206E_202E < 10) + { + uint num = _202E_206D_200F_200B_202E_206C_206B_200E_206B_202B_202A_206C_200C_202A_206C_200E_202A_200D_206F_200E_200C_202A_206A_206C_202D_200F_200E_206C_206C_202B_200F_202A_206B_206B_200C_200E_200F_206F_202E_206E_202E; + int num2 = 3; + int num3 = (int)num; + _202E_206D_200F_200B_202E_206C_206B_200E_206B_202B_202A_206C_200C_202A_206C_200E_202A_200D_206F_200E_200C_202A_206A_206C_202D_200F_200E_206C_206C_202B_200F_202A_206B_206B_200C_200E_200F_206F_202E_206E_202E = (uint)(~(~num3 + num2)); + } + else + { + uint num4 = _202E_206D_200F_200B_202E_206C_206B_200E_206B_202B_202A_206C_200C_202A_206C_200E_202A_200D_206F_200E_200C_202A_206A_206C_202D_200F_200E_206C_206C_202B_200F_202A_206B_206B_200C_200E_200F_206F_202E_206E_202E; + int num2 = 6; + int num3 = (int)num4; + _202E_206D_200F_200B_202E_206C_206B_200E_206B_202B_202A_206C_200C_202A_206C_200E_202A_200D_206F_200E_200C_202A_206A_206C_202D_200F_200E_206C_206C_202B_200F_202A_206B_206B_200C_200E_200F_206F_202E_206E_202E = (uint)(~(~num3 + num2)); + } + } + + internal void _206B_202D_200E_206D_206B_202E_200E_206B_206E_206E_200B_202A_206C_202A_206E_200F_200B_206B_206F_206A_206E_200D_206A_200F_202B_202A_206E_206D_200E_206E_200C_202C_206D_206D_200F_206E_202B_200B_202D_206F_202E() + { + _202E_206D_200F_200B_202E_206C_206B_200E_206B_202B_202A_206C_200C_202A_206C_200E_202A_200D_206F_200E_200C_202A_206A_206C_202D_200F_200E_206C_206C_202B_200F_202A_206B_206B_200C_200E_200F_206F_202E_206E_202E = ((_202E_206D_200F_200B_202E_206C_206B_200E_206B_202B_202A_206C_200C_202A_206C_200E_202A_200D_206F_200E_200C_202A_206A_206C_202D_200F_200E_206C_206C_202B_200F_202A_206B_206B_200C_200E_200F_206F_202E_206E_202E < 7) ? 7u : 10u); + } + + internal void _202B_202A_206A_202A_202E_206A_200B_200C_200D_200B_206D_200B_200E_206B_202E_200F_200F_202E_206C_202C_200C_202A_200E_202D_200C_202A_202E_206B_202A_202A_202A_200F_200F_200E_206C_200E_202A_202D_200D_200F_202E() + { + _202E_206D_200F_200B_202E_206C_206B_200E_206B_202B_202A_206C_200C_202A_206C_200E_202A_200D_206F_200E_200C_202A_206A_206C_202D_200F_200E_206C_206C_202B_200F_202A_206B_206B_200C_200E_200F_206F_202E_206E_202E = ((_202E_206D_200F_200B_202E_206C_206B_200E_206B_202B_202A_206C_200C_202A_206C_200E_202A_200D_206F_200E_200C_202A_206A_206C_202D_200F_200E_206C_206C_202B_200F_202A_206B_206B_200C_200E_200F_206F_202E_206E_202E < 7) ? 8u : 11u); + } + + internal void _200F_202D_202B_202C_202B_206D_206C_202E_200E_206D_202A_202E_206A_200C_200E_206E_206C_206B_202C_206F_206C_200D_206A_202D_206B_200C_200E_200D_206D_202D_206F_206E_206E_202C_202B_202A_206B_202C_202C_206A_202E() + { + _202E_206D_200F_200B_202E_206C_206B_200E_206B_202B_202A_206C_200C_202A_206C_200E_202A_200D_206F_200E_200C_202A_206A_206C_202D_200F_200E_206C_206C_202B_200F_202A_206B_206B_200C_200E_200F_206F_202E_206E_202E = ((_202E_206D_200F_200B_202E_206C_206B_200E_206B_202B_202A_206C_200C_202A_206C_200E_202A_200D_206F_200E_200C_202A_206A_206C_202D_200F_200E_206C_206C_202B_200F_202A_206B_206B_200C_200E_200F_206F_202E_206E_202E < 7) ? 9u : 11u); + } + + internal bool _200E_200C_206C_200E_200B_206B_202B_200F_206F_202E_206B_202A_202B_202A_200C_200D_202E_200F_202E_202E_206F_200C_202B_202B_200C_202D_206A_202A_202C_200F_206D_202C_206F_200F_200B_200C_206A_206A_206B_200E_202E() + { + return _202E_206D_200F_200B_202E_206C_206B_200E_206B_202B_202A_206C_200C_202A_206C_200E_202A_200D_206F_200E_200C_202A_206A_206C_202D_200F_200E_206C_206C_202B_200F_202A_206B_206B_200C_200E_200F_206F_202E_206E_202E < 7; + } +} +[StructLayout(LayoutKind.Explicit, Size = 72320)] +internal struct _200D_202B_200B_206E_200B_206B_206E_202C_206E_206F_202A_206E_206A_202E_200C_200D_202B_200B_206F_200B_202B_206D_200D_206D_206F_200F_202D_200F_202A_202E_206E_202C_206F_206D_206B_206A_200D_200D_206F_200D_202E +{ +} diff --git a/Questionable/----------------------------------------.cs b/Questionable/----------------------------------------.cs new file mode 100644 index 0000000..e036806 --- /dev/null +++ b/Questionable/----------------------------------------.cs @@ -0,0 +1,120 @@ +internal struct _202C_206D_206F_206C_202B_206F_200E_206D_206E_200B_206E_206C_200D_206F_206C_206B_200B_200E_202A_200F_206C_202D_200D_200B_206E_202C_200B_206A_200D_200D_206C_202A_200D_200E_206B_202E_202D_202D_202D_202E +{ + internal readonly _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E[] _200C_202A_202A_202B_206A_202B_202A_202E_202A_206C_202C_206A_206D_202A_200C_206D_206C_200D_200B_202E_200B_206C_206B_200E_206C_206D_200B_202A_202A_200B_202C_202D_206D_200F_206B_202C_202A_200B_206D_202E_202E; + + internal readonly int _206A_206E_200B_206B_202E_206B_202A_202A_200D_202E_202C_206C_200C_206C_200C_200F_202C_200C_206A_206F_200D_200C_202C_206A_202E_200D_206B_206B_200C_206F_206D_206B_206A_202A_200C_206A_200B_202A_206C_202C_202E; + + internal _202C_206D_206F_206C_202B_206F_200E_206D_206E_200B_206E_206C_200D_206F_206C_206B_200B_200E_202A_200F_206C_202D_200D_200B_206E_202C_200B_206A_200D_200D_206C_202A_200D_200E_206B_202E_202D_202D_202D_202E(int numBitLevels) + { + _206A_206E_200B_206B_202E_206B_202A_202A_200D_202E_202C_206C_200C_206C_200C_200F_202C_200C_206A_206F_200D_200C_202C_206A_202E_200D_206B_206B_200C_206F_206D_206B_206A_202A_200C_206A_200B_202A_206C_202C_202E = numBitLevels; + int num = 31; + _200C_202A_202A_202B_206A_202B_202A_202E_202A_206C_202C_206A_206D_202A_200C_206D_206C_200D_200B_202E_200B_206C_206B_200E_206C_206D_200B_202A_202A_200B_202C_202D_206D_200F_206B_202C_202A_200B_206D_202E_202E = new _206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E[1 << (numBitLevels | num) - (numBitLevels ^ num)]; + } + + internal void _200C_206F_206E_206C_202A_202B_206A_200E_200E_206C_202B_202B_206B_200F_206D_200E_206D_206A_206A_206B_206E_206E_200B_206C_202D_202D_202E_200D_206D_200F_202B_200E_202A_202C_206C_206B_206F_206E_206C_202E() + { + uint num = 1u; + while (true) + { + long num2 = num; + int num3 = _206A_206E_200B_206B_202E_206B_202A_202A_200D_202E_202C_206C_200C_206C_200C_200F_202C_200C_206A_206F_200D_200C_202C_206A_202E_200D_206B_206B_200C_206F_206D_206B_206A_202A_200C_206A_200B_202A_206C_202C_202E; + int num4 = 31; + int num5 = num3; + if (num2 < 1 << (num5 | num4) - (num5 ^ num4)) + { + _200C_202A_202A_202B_206A_202B_202A_202E_202A_206C_202C_206A_206D_202A_200C_206D_206C_200D_200B_202E_200B_206C_206B_200E_206C_206D_200B_202A_202A_200B_202C_202D_206D_200F_206B_202C_202A_200B_206D_202E_202E[num]._202A_206E_200C_200D_200D_202D_200F_200F_206E_202D_200F_206D_200E_202D_202C_206D_202C_206C_202A_200D_200D_200F_200B_206F_206D_200D_200E_200F_206E_206F_200F_200B_206C_206A_206A_200B_202A_206B_202D_200C_202E(); + uint num6 = num; + num4 = 1; + num5 = (int)num6; + int num7 = num5 ^ num4; + int num8 = num5 & num4; + num = (uint)(num7 + (num8 + num8)); + continue; + } + break; + } + } + + internal uint _200C_200F_206F_206A_200B_200B_200F_200B_202B_200E_202B_206F_202E_206A_206E_206B_200D_206C_202A_206A_200C_202D_202D_200B_200E_200B_202E_206B_206F_200C_200E_200B_202B_202B_206B_202A_200F_206F_202E_206A_202E(_206E_200C_202A_200F_202B_200E_200E_202C_206D_206B_202D_206A_206F_206D_202C_206D_206E_202C_206D_202A_206C_206C_206E_200C_202A_200F_200F_206D_202B_206A_206D_200D_200F_202A_202A_202A_202B_206D_200E_206D_202E rangeDecoder) + { + uint num = 1u; + int num4; + int num5; + for (int num2 = _206A_206E_200B_206B_202E_206B_202A_202A_200D_202E_202C_206C_200C_206C_200C_200F_202C_200C_206A_206F_200D_200C_202C_206A_202E_200D_206B_206B_200C_206F_206D_206B_206A_202A_200C_206A_200B_202A_206C_202C_202E; num2 > 0; num2 = ~(~num5 + num4)) + { + num = (num << 1) + _200C_202A_202A_202B_206A_202B_202A_202E_202A_206C_202C_206A_206D_202A_200C_206D_206C_200D_200B_202E_200B_206C_206B_200E_206C_206D_200B_202A_202A_200B_202C_202D_206D_200F_206B_202C_202A_200B_206D_202E_202E[num]._202B_200D_200C_200E_206A_202B_206C_202D_206C_206F_200F_200D_200F_206B_202D_202C_206C_202C_200B_200F_206B_206A_206F_202B_200C_202A_202E_206F_202D_206E_202E_202B_200D_206D_206E_202B_206D_206B_202D_206D_202E(rangeDecoder); + int num3 = num2; + num4 = 1; + num5 = num3; + } + uint num6 = num; + int num7 = _206A_206E_200B_206B_202E_206B_202A_202A_200D_202E_202C_206C_200C_206C_200C_200F_202C_200C_206A_206F_200D_200C_202C_206A_202E_200D_206B_206B_200C_206F_206D_206B_206A_202A_200C_206A_200B_202A_206C_202C_202E; + num4 = 31; + num5 = num7; + num4 = 1 << num5 + num4 - (num5 | num4); + num5 = (int)num6; + return (uint)(~(~num5 + num4)); + } + + internal uint _202B_202A_206F_200C_206C_202E_202D_202A_202C_200E_202A_206E_200C_202B_206C_200E_202D_206D_200D_200D_206F_202A_206A_202E_200B_206B_200E_206D_202C_202A_206B_200B_200E_202B_200D_206E_200C_206A_206C_200F_202E(_206E_200C_202A_200F_202B_200E_200E_202C_206D_206B_202D_206A_206F_206D_202C_206D_206E_202C_206D_202A_206C_206C_206E_200C_202A_200F_200F_206D_202B_206A_206D_200D_200F_202A_202A_202A_202B_206D_200E_206D_202E rangeDecoder) + { + uint num = 1u; + uint num2 = 0u; + int num3 = 0; + while (num3 < _206A_206E_200B_206B_202E_206B_202A_202A_200D_202E_202C_206C_200C_206C_200C_200F_202C_200C_206A_206F_200D_200C_202C_206A_202E_200D_206B_206B_200C_206F_206D_206B_206A_202A_200C_206A_200B_202A_206C_202C_202E) + { + uint num4 = _200C_202A_202A_202B_206A_202B_202A_202E_202A_206C_202C_206A_206D_202A_200C_206D_206C_200D_200B_202E_200B_206C_206B_200E_206C_206D_200B_202A_202A_200B_202C_202D_206D_200F_206B_202C_202A_200B_206D_202E_202E[num]._202B_200D_200C_200E_206A_202B_206C_202D_206C_206F_200F_200D_200F_206B_202D_202C_206C_202C_200B_200F_206B_206A_206F_202B_200C_202A_202E_206F_202D_206E_202E_202B_200D_206D_206E_202B_206D_206B_202D_206D_202E(rangeDecoder); + num <<= 1; + uint num5 = num; + int num6 = (int)num4; + int num7 = (int)num5; + num = (uint)((num7 | num6) + (num7 & num6)); + uint num8 = num2; + int num9 = num3; + num6 = 31; + num7 = num9; + num6 = (int)(num4 << (num7 | num6) - (num7 ^ num6)); + num7 = (int)num8; + num2 = (uint)((num7 & num6) + (num7 ^ num6)); + int num10 = num3; + num6 = 1; + num7 = num10; + int num11 = num7 ^ num6; + int num12 = num7 & num6; + num3 = num11 + (num12 + num12); + } + return num2; + } + + internal static uint _206D_200D_202A_206D_200F_206D_200F_202E_202D_200F_206B_202E_200D_202A_202B_206B_202E_206C_206D_206C_206D_202B_202B_206E_202B_206E_202A_200D_202D_200D_206C_200C_206F_206E_202B_202C_206D_200D_200B_206F_202E(_206C_200E_206F_206F_206B_200D_200C_206D_202D_202A_200B_206F_202A_200C_202A_206D_206A_200E_206B_202D_202A_200D_206F_200B_206C_200C_202C_202A_200C_206E_200C_200C_206B_206D_202B_206A_200F_200E_200B_200F_202E[] Models, uint startIndex, _206E_200C_202A_200F_202B_200E_200E_202C_206D_206B_202D_206A_206F_206D_202C_206D_206E_202C_206D_202A_206C_206C_206E_200C_202A_200F_200F_206D_202B_206A_206D_200D_200F_202A_202A_202A_202B_206D_200E_206D_202E rangeDecoder, int NumBitLevels) + { + uint num = 1u; + uint num2 = 0u; + int num3 = 0; + while (num3 < NumBitLevels) + { + int num4 = (int)num; + int num5 = (int)startIndex; + uint num6 = Models[(num5 | num4) + (num5 & num4)]._202B_200D_200C_200E_206A_202B_206C_202D_206C_206F_200F_200D_200F_206B_202D_202C_206C_202C_200B_200F_206B_206A_206F_202B_200C_202A_202E_206F_202D_206E_202E_202B_200D_206D_206E_202B_206D_206B_202D_206D_202E(rangeDecoder); + num <<= 1; + uint num7 = num; + num4 = (int)num6; + num5 = (int)num7; + int num8 = num5 ^ num4; + int num9 = num5 & num4; + num = (uint)(num8 + (num9 + num9)); + uint num10 = num2; + int num11 = num3; + num4 = 31; + num5 = num11; + num4 = (int)(num6 << (num5 | num4) - (num5 ^ num4)); + num5 = (int)num10; + num2 = (uint)(num5 + num4 - (num5 & num4)); + int num12 = num3; + num4 = 1; + num5 = num12; + num3 = (num5 | num4) + (num5 & num4); + } + return num2; + } +} diff --git a/Questionable/--f__AnonymousType0.cs b/Questionable/--f__AnonymousType0.cs new file mode 100644 index 0000000..e69de29 diff --git a/Questionable/--f__AnonymousType3.cs b/Questionable/--f__AnonymousType3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Questionable/--f__AnonymousType4.cs b/Questionable/--f__AnonymousType4.cs new file mode 100644 index 0000000..e69de29 diff --git a/Questionable/--f__AnonymousType5.cs b/Questionable/--f__AnonymousType5.cs new file mode 100644 index 0000000..e69de29 diff --git a/Questionable/--f__AnonymousType6.cs b/Questionable/--f__AnonymousType6.cs new file mode 100644 index 0000000..e69de29 diff --git a/Questionable/--f__AnonymousType7.cs b/Questionable/--f__AnonymousType7.cs new file mode 100644 index 0000000..e69de29 diff --git a/Questionable/-Module-.cs b/Questionable/-Module-.cs new file mode 100644 index 0000000..06b5d3c --- /dev/null +++ b/Questionable/-Module-.cs @@ -0,0 +1,3259 @@ +using System; +using System.IO; +using System.Runtime.CompilerServices; +using System.Text; + +internal class _003CModule_003E +{ + internal static byte[] _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + + internal static _200D_202B_200B_206E_200B_206B_206E_202C_206E_206F_202A_206E_206A_202E_200C_200D_202B_200B_206F_200B_202B_206D_200D_206D_206F_200F_202D_200F_202A_202E_206E_202C_206F_206D_206B_206A_200D_200D_206F_200D_202E _200B_200F_202A_200D_200B_200D_202E_202B_202B_200B_206B_200E_200C_206F_200E_200F_202C_206E_202B_200B_206F_206E_202D_202A_206A_202C_202A_202B_200D_206E_202B_202D_200B_200E_200C_206A_206E_206C_206C_206F_202E/* Not supported: data(0F B3 A0 35 74 4E 5A B3 73 DD 73 15 AB 12 40 31 CD AB 5E 50 AD 4C 2A A1 AA 49 C5 3A E7 A7 DC 4F A3 7B 0E 4E 78 45 2C 80 68 D3 C9 8F FB E9 0D 37 C2 8B 94 A1 C0 A1 21 3C B3 61 79 C0 EE 61 EE 47 9C BB EA 8D 9E D7 FD BB 14 7D 02 2D 1E 40 3F 31 00 13 84 E1 DE 70 02 1D 39 4A A1 5B 11 7F 83 1E 6E E6 A1 B6 D0 52 BE 4B B4 92 02 BA A4 DB 6A BB 44 35 2D DD 08 5C 63 81 5B B2 E9 08 6B A1 78 FB B3 5E 64 52 20 1A 82 88 75 A5 36 58 45 F6 CA AB 9E B3 1C 99 B2 E1 3D 42 51 D3 2A 51 DA 66 75 6F 8D 28 A0 CE AF 52 DD F9 33 0E A8 9F C2 6C 5C F3 F7 7B CF AF 6D 2E F2 C4 35 54 3F 88 83 ED B8 9C 2C DC 55 0C 6C E5 8E 0A C8 BD CD 16 37 D8 29 9E 07 69 9E F2 F6 A1 B4 92 46 F6 ED 2B D8 36 EA D6 B0 1A E4 27 01 06 87 F1 36 7A D9 B4 96 04 6F ED E4 87 9A C4 2A 8B 2E 07 7A F7 B9 85 1B 15 A5 EC CE DF 74 A4 DC 4A 71 5F BA 40 E9 2D 19 7B 11 6F 76 A9 BB 71 4B 83 26 3C CE E7 7D A7 57 BB 9B F1 ED 67 86 D5 97 9F D4 B1 1B F7 BD BD 02 5B EF 90 C6 32 13 F1 E0 73 55 24 2B B3 13 B6 A8 7F 0A 36 E7 67 D1 2A 63 93 83 73 0E BE 30 52 5D 09 31 C7 1F 2B C6 0F 6F A0 2C 2F 77 D0 B1 FB 42 82 C5 FB D3 57 3D EF 46 81 17 0F C2 60 35 44 CF 0E BD 39 3C 86 6A D3 20 70 CA 5D 1A A0 88 FA 4B 87 56 C2 E4 23 08 2F 6E 39 3B B0 FD 76 B7 35 06 6F 25 28 FF 94 82 EB DF 3B 3A FC D1 69 C6 03 90 EA 4B 06 00 25 E7 58 DE BB 6D 9B EC 93 51 3D FD 7A 26 ED CF FB 84 D3 0B 3D EF 4A 22 9F A9 2A A6 E6 77 3D BA E7 1E 2C AA 92 7F EF 26 78 2E 9D FE E8 A3 EA E6 28 A3 50 05 21 39 E7 9F F9 26 B9 36 C4 2F F1 8E 77 71 1C 90 9B EE 03 C1 2F 12 AB 31 22 E3 43 D3 2F 13 56 A7 A1 6D 2B 3F 42 E9 09 80 5E 09 AB 2A 11 AF 3E 94 05 AB BF 53 A3 7E DB ED 79 5C 23 1D 6D 47 EA 13 E7 49 98 04 2C D7 88 D3 8E 9E 0A 01 E9 FD 39 67 97 3B DA 81 21 79 65 36 36 C5 66 B4 2C 57 D9 6C EC 1A 23 D7 4A 8D 6C 87 2D 22 33 F7 7F A8 E6 7D 07 84 AC F8 FC E7 33 B1 3D 55 4F 3E C8 63 31 95 84 9D 0B 94 77 24 72 20 E2 2F A1 E6 7A C6 60 97 48 5F 92 63 06 E0 E8 96 62 1A 62 EA 92 BA 7A 97 29 4D 95 B5 7D B2 17 E5 42 B9 A0 C2 86 8A 30 92 FB AD 01 D5 75 D8 3F 34 B5 44 C3 1B C9 AD 6E 73 FF 69 DB C0 CE EB C9 B7 14 31 6A FB 5C 86 08 54 87 F6 69 66 17 50 0A B4 0A 22 81 9D DA EA B3 06 4C B0 E7 76 A1 B5 C3 FD 68 57 11 FC 1A 4B F1 DD 53 38 DA D7 C5 E3 75 B8 44 A3 DB 45 42 21 75 60 94 CC FC DF 4A DA 40 4D 0D 35 C0 31 73 8B 76 C9 27 2F 72 CD EC BC 6F CF 0B 49 D8 0B 4F A7 6E F1 39 87 00 A4 81 C4 A8 09 2E 2E DE 40 CB 4E DD 0D 5B 41 BA FE 84 FA FC 8D E0 18 3B 64 76 F3 A7 F3 FF 7D 0E 90 1D B8 12 2D 7D A6 A6 89 C8 81 98 34 CD 14 65 42 B1 8E 98 EB CA 94 5A 87 09 2B BA AB 44 83 63 2D 38 34 B5 DE 21 27 0E D6 A8 CD 41 C2 20 D4 67 46 78 1C 9E CD 77 5D 04 BB 0C 96 9B F9 BC 5E D5 2C D8 2A FB 73 D0 E5 D8 19 89 27 5F 30 14 C3 F9 F2 8E 33 3D 71 90 6C 39 B7 94 9B 1A FB 66 64 F0 F4 99 BA 91 66 B3 4D A6 B5 6A B4 70 93 0A 88 BD ED 17 61 5E 3C 97 98 35 53 10 EF C6 F2 55 2E 30 84 39 61 E6 D4 8A 05 2E 12 AF 72 78 BC A9 71 D9 37 02 86 CF 9C AE 58 19 AE EE 65 EC 04 2D E1 66 10 3E 5F 02 AE 8C 96 AE E1 0F 61 DA E4 11 AF C0 63 57 B7 EB 32 97 FF C0 CB 97 47 9E 91 02 97 DE B7 0C CC 58 F5 48 81 D7 80 67 7D 1A 7E 24 29 0D 18 30 05 13 0E 74 F2 E7 C6 6A AD 53 18 06 42 DB 5B 11 34 93 A2 31 18 B5 AC FB D4 E6 D4 45 09 2D DA 02 5C 41 CC 2D DA 1F A6 97 C5 80 4B 74 95 E6 F4 CC 70 27 0A 7B CC C4 E9 D0 92 4B 07 00 ED C1 54 6A 96 9F 6F BA EB F9 F3 D1 77 67 0E AC 5D 13 A8 BE DC 05 B3 44 B4 F9 3F 72 B5 D6 34 A8 CF 74 06 05 A5 33 BE 8A 05 7F D4 5E 5A 7B 03 95 E7 C6 70 64 B4 50 54 F8 F9 2D 79 D3 68 83 C0 32 0B 78 B4 DE 25 E3 72 E0 46 E4 13 88 8D 84 7E A7 23 21 47 CD 0D 77 ED 97 9F 1C 44 D1 A4 78 C1 75 DD 55 8A 8E 61 98 C5 15 2D 43 D5 6D 13 C0 C7 6E 7D 87 1E 07 AF 42 D7 94 2F 37 1A B9 49 26 5E 62 87 F1 0C 7A 4A 58 B7 94 21 32 BC 9E 94 1E B1 C5 AD F9 7D 70 6C 94 C9 5C FE 6D 96 5D E3 53 F0 07 8C C5 E7 29 14 9A EA 3E BB 3F E1 E9 1D DB 12 96 AC B4 11 4D 7A C1 EE B8 34 83 0B 77 3B CA 3D DD 58 C1 53 5E 3F 68 83 51 8D 4C 14 B5 91 FE 52 5B DC 23 32 6E 72 B5 46 3C C1 F3 AC 3C 02 11 B9 1B 3A FF 49 4E A4 A9 38 0A 1E 37 D8 42 E5 AF 31 B6 B9 64 DD FB 17 DB 5C E2 0F D4 2D F9 D4 80 24 63 EE 70 3B 5D A6 5B FD 7C F9 62 A6 2C 52 01 BF CD DD 76 60 23 83 8E 1D 5A 4E 1E 5D 62 0F A0 17 15 55 9E FD 26 32 B6 12 4B 3B D0 42 23 FF AE 27 A7 2B 41 1E 2B B6 A7 8C 8D 64 93 EB 11 8E A6 09 88 02 EA 7D CE 44 D7 49 98 23 AD 4B C7 42 97 4D 5B D5 65 07 92 26 E8 4C 18 6F 8E 7B 22 44 AC C8 81 12 BC C0 63 5D CC F6 E3 00 68 83 BC FF CA 1D 28 A9 09 9A F7 C3 6E 57 1C 24 5B 1C 42 60 42 E6 0A C1 56 3F F4 A8 0C FA 44 0E 5C 3E 7D 3F 81 0D 61 83 C6 E1 70 AD 3D D8 56 CD 25 BF 91 99 E2 A9 DF E6 D0 A2 BC 76 16 BF BD 09 39 06 AA 45 28 E9 B7 55 8B 90 E6 3A 27 AD 3A 98 D4 34 94 D8 99 8C 62 38 A1 39 1D 1A 67 5C D8 AF B7 8D 3F 67 6C C0 AC 80 99 4E A4 AD E9 2B 88 19 D9 11 DC 8A E5 28 EE 56 6B 7D 2E 79 2C D6 2E 0F 37 39 0E 6B 01 82 ED F9 C1 AE D6 5E E7 30 98 62 57 6B FE 05 54 56 F8 E3 3E 5B 0A 42 45 41 30 50 AF 2B DC F1 7F E9 FD AE 46 8D 55 B0 63 14 ED 9B 76 D8 BB 72 3C 08 BD 07 38 6E 67 26 45 1B 18 94 8B 01 37 21 03 F4 84 EA 24 40 72 30 12 A2 4C CD FA 2D AC 2C CD 0D A6 32 52 EE C4 1B 00 12 C3 69 CC 79 28 28 9B FB C4 59 F2 6C 70 E0 78 2E F8 62 5D 93 FA 85 30 D8 93 7A 20 F7 E3 E9 BC C0 2E 6A 5D 21 BD 09 A4 2A CD F0 F6 51 59 C6 A3 C9 82 BD 5B FE 81 90 F1 F9 F0 45 1E A6 C4 D2 01 18 A7 9E AF 55 E0 A4 A5 A8 A7 43 EC 5F DB F0 F2 B5 55 20 92 AC D7 6F CB 88 19 62 FF F0 0F 19 66 3A B7 06 34 71 11 98 2D 7F 00 6D E7 B3 6D D5 A2 3B 0E F6 5B AA 0C 31 B3 F2 F8 91 14 8A 95 43 95 7B 05 A9 6A F7 D0 4C D3 5C 85 4A 90 61 B9 8F FA 11 6D 3A 2C EB 37 B8 03 E1 14 5E 81 27 D5 59 F6 AB 8B 69 9A B8 C5 99 15 6C D5 FF 20 0E 88 50 E9 3C 28 4E A6 F6 E3 76 BA 49 83 60 F3 C5 0F 46 A7 9C 17 95 B1 04 E3 A7 7E 7A FE 62 C4 0C E2 C9 B1 2B 51 95 46 7C 8E EC BC 54 F7 D2 9F 46 07 C4 DB 20 49 61 A6 28 D4 1D 50 A5 A2 F8 9D 93 A6 2E 4D C0 1F C9 80 75 ED D4 E1 64 81 45 2C 82 80 F8 D2 3F 56 9F 7D 95 95 CE CA BE DC 74 16 3F A1 BA BE 64 83 F7 98 B3 FC 65 EE 74 48 E4 D7 BA 17 A2 F5 04 73 49 E2 87 DF 1F 4A 79 89 67 2B A1 E4 11 FC 4A F1 1A 4C F0 26 4C 08 E5 72 7E 40 B8 42 A7 85 3C D4 99 C5 11 4E 9E BA C5 9A 98 29 5A 09 FF 86 F7 49 87 85 A0 83 8F D3 EF 9C FC 91 58 6A 11 04 89 5A 16 78 C0 D1 A2 5F 0C D0 92 DC F5 7B C7 07 56 3C E5 BE F6 25 72 67 DB D7 19 0D C8 BB A7 77 90 23 9E A8 F5 45 59 41 F3 BE 13 C1 D6 1A 74 C9 D6 10 7F DA 7D 10 0D 34 8D C1 A9 20 A8 C6 45 52 DE A2 0F 2C F1 F2 90 08 5D 9F 0E 2A 39 66 24 09 A4 4F F6 52 76 55 6B 8F 06 11 F4 59 B5 29 13 42 A0 7C 71 15 A5 AA 0D B8 EA 64 19 FB 28 FC DC 60 3E 1F 58 A7 87 B4 BE 4D 4D F9 D6 25 7E F9 E4 35 62 FC AE EF 86 55 07 3C 47 F2 4F 69 9C 58 12 4A D0 13 01 8E 40 AB A4 75 16 9B 63 DD 3C 13 56 8D 08 C3 11 D5 14 D1 E2 A3 84 ED BF B9 D9 30 93 20 CD 98 92 AC 36 C2 03 82 37 2F 09 6C 92 DC 1C DF DD B9 68 60 40 E6 95 4D 95 4D 62 3D FE 49 BD C1 2A 08 9B 66 7A 6A 35 C6 80 79 1F BF CE 4E 53 21 AF D4 E1 28 4A BF 94 74 FA 13 EE 28 31 B8 7F 22 A7 CA 40 13 3F 1D 15 16 52 90 07 EF EE 01 96 8E 0C A1 D0 9B 99 CE B7 90 F1 8C 1C FE 84 2D 53 37 C9 3F 78 1F FD 14 35 FA 84 E8 56 F6 98 97 AA 09 BD E0 71 60 CB F9 C6 F2 D4 52 26 6C 7F 79 7D 76 35 F3 91 8D 95 3B A1 B9 D2 05 D3 14 54 43 62 19 01 A7 B6 1A 9A 22 9A 7A 3A 8F 86 38 F8 E5 19 AE DF 09 6C EC 38 22 C5 C3 44 00 7E 07 F5 FA F6 1A CD BB 17 75 30 8D 0E 42 8D A7 64 62 9B F3 37 E5 FF 86 AF A4 75 F8 36 B0 27 BF 29 85 33 BA 1A 26 F0 15 72 0E FC BA 00 8A 74 74 83 E2 B9 4A 60 46 48 B0 7E 05 ED 72 DC 86 5C 84 B0 C4 6B D1 1F AE 73 E0 34 F7 D8 AD 69 34 8A 3C C7 AD 92 A8 C4 EF C2 06 03 6E EB 44 1F 67 2F 15 0C 30 53 47 BE 8B 1E 80 34 E6 BE BF CE D3 55 81 B3 55 CF 0B 59 09 AF 46 2A 6C 7C 8E 7E FA B3 DE 0B BB 46 8F 6D 7C 3E C2 41 4D 68 C6 8C A7 89 0E 2A 12 AD 9C 03 AA A1 F2 BE EE 39 6F BE CE EF 3D CA 01 99 43 2F F7 AE 59 5B DB 91 6F 87 4A 08 29 24 BE 47 04 E0 89 C2 9E 02 5E 4C E8 46 CD CE A9 3D 35 57 EF 52 68 63 6B 6F A6 BC 1D EC DC 00 DA 57 AB 29 E7 C4 D5 7C 5C D5 B7 E9 1F BF 65 3A 2B 77 F9 74 A0 3E 5E AF F9 9F 58 C2 C9 6F B9 BE F6 BB C7 98 09 C1 6F C1 42 EC 1B FF AE C9 88 41 88 BF 15 C7 54 2C 8F 47 D0 A2 39 03 BD 39 1D 64 1F 1C 89 E8 7D 50 E5 09 F1 C9 6A DD 5D 67 E0 38 62 21 61 D0 DD 88 EC C9 A0 4B 3C 1C 80 60 3E 55 6E CD 10 21 9A 30 C3 4F 25 9B CF F2 26 AD 71 D2 72 16 68 19 2F 99 33 CA 72 F0 D2 11 D2 EE 64 5F 26 0B A6 11 E9 9C B4 E5 CB 36 E6 B7 91 C1 14 C2 26 E1 F5 FE 7F ED FD 63 3D D7 E9 F8 6E A8 29 75 E8 B7 68 49 26 61 6E B0 13 0C 8D 4B FC 6B 38 D7 99 36 E9 78 A7 EC 08 1D A8 56 96 86 30 0C C9 C0 85 99 DB EF 63 5A 02 01 78 9C 7B 68 90 BE 75 14 AB E4 F9 BB 69 67 BA EF 82 7F 52 C9 1B 9E 26 2F E0 27 76 15 69 1C BE A5 48 6A 9E 9F 9B B0 09 87 A5 20 2F 2F 22 F0 B6 BC EF 91 3A 58 FF 68 50 E4 90 8F 5F A7 8B D7 8B 23 07 66 F3 D8 77 72 95 92 5D B2 C2 6A 65 61 92 EA DA 01 69 80 27 10 2A 29 50 07 2D ED 51 97 15 62 F6 DB 44 D9 90 DE DD 2E 4F D3 A4 D8 C5 CF A3 A8 99 96 64 23 D1 2E 53 F4 72 90 F4 71 7F 3B 9B BD D1 7C 96 BC 33 A7 9D 59 11 4F 23 83 58 A0 8A 18 04 C7 EB 8B 9A AC 71 2B D9 D2 BF F3 C7 F9 E2 4A 00 F3 82 91 15 75 53 25 1C 3D 97 30 2A 3C FA 36 5D 69 8C 83 D4 A9 06 82 39 74 EC B7 F7 06 3C 5E A9 77 32 52 34 55 54 E6 DD 9D DA 1D 0B 93 7A 80 C1 58 EA A4 CA 81 0C 54 D8 57 82 02 E1 AB 16 30 BA B0 08 A2 B7 BD DC 1E 01 A2 80 DB 5C 00 56 21 DF BE C6 CE 66 C2 F3 C7 57 79 9D 87 D2 5F 01 AB 5A CC 5A 62 47 FF 2C E0 12 6B 76 16 F3 8F 43 68 F4 B9 EE FF 33 7A C3 7C F1 F2 C5 76 8C C9 89 34 62 16 1F 34 3E F2 59 76 81 7F 5B 59 53 A0 61 41 D3 BB 0F 91 12 4A 5B 9A 43 A9 E3 52 4B 56 C3 6F E3 98 7D 4D 2A 01 70 52 DF 4D BA 7A 3F 57 10 F7 DC E9 4F 2A 61 E1 F9 43 36 15 47 B1 46 F7 D8 B8 98 B9 D4 5F AB 71 2B F0 78 68 EC C6 10 3D 3A 65 EC E6 DB 84 2B 8C 39 71 BD AE 5B 57 A7 6A AC 4E 3C 21 A9 96 BA 2C 6F D0 7F 44 71 8E E3 83 D0 D7 2A FB 25 13 13 F3 15 E2 D0 16 C3 21 73 75 CE ED 1B 9C 22 52 7F 03 D4 54 60 07 0D 09 A4 3C F7 3A B7 14 CC ED E8 57 A4 0F 3B DD F4 DA 1C A9 17 F5 9A A8 93 0B C3 CD B6 93 A5 2E 74 3E 3D 45 0D 5E 75 01 AF 12 A7 B2 7D 62 C4 80 74 9E BE C0 39 09 FD AF 94 13 B6 A8 19 2D F7 BD D9 7B BE E3 D3 73 2C 7D 04 1B 99 78 0F 46 36 B5 24 B4 C9 F4 C1 76 19 9C 26 44 3E 11 E9 7C B2 C4 3F FA A5 07 E6 B3 A3 2D D8 7F 79 B9 69 B3 21 7E D3 BA 0C 15 2D 0F 8F CE B0 F3 28 EA DE 7C D1 64 05 00 5B 3C 5A 5E BE 0E E1 F5 57 3E 04 17 03 CF 17 51 67 F2 FA F1 FB FA 61 29 0E 73 E4 C1 6D CE 99 D7 EF 1A 29 5E AE 82 F4 B3 F5 CC 3C 8E 4F F5 E5 7E BF 93 0A FA F9 D7 69 21 0D 4B 10 87 64 F2 BA 36 E3 88 BE 25 74 DA 73 15 93 B5 29 0D B7 47 31 03 D6 CA 6C EA 83 AA 39 EF 03 44 40 65 0C EB FC 56 D8 6B F2 C7 2E 2A FF FF 70 80 FA 0A 2A 05 8D F5 6F EB 71 80 6F C6 45 E0 5A DF FD 80 6D 19 C5 FA 30 0D 83 1A EC 96 AE AF 1F 6B 5B 5A 6A 9F B4 50 26 DF BE 45 AE 9B D9 AC CF 37 97 B4 0E 29 D8 75 06 0C B6 AE DF 58 75 00 DF 3E B7 F9 7A 5A 99 67 2B 57 A6 F9 BD 67 7C 96 BC 0F 6F 4B D9 37 22 BE B0 45 56 33 B2 17 8D A7 32 34 48 59 B0 7E C4 FA 89 06 9A A3 1D 2B 9A BA BD 77 E5 BF 61 48 66 C8 68 B0 F8 C7 A2 42 C3 F3 32 51 FE 1E 58 91 B9 A3 99 36 48 4B 68 91 E8 72 AD 8B 4F 62 7F D2 D1 4A E4 29 0E F5 CE 39 F8 08 FE 16 0D E6 DD E9 A2 93 B9 D9 BF FB AE D1 6E F0 8C 9C D1 5E 5D 90 BA C4 6B DF F4 54 9D 4A 06 08 2E 42 8A FD C6 F9 0D 68 4D B8 86 AC 40 4D 9F 2F 06 EA 6F 45 AF 20 9B 47 2F 87 05 02 A7 04 EF 32 49 85 F3 EC 0E 97 FF DC B7 E7 9F A8 BC 89 68 64 5F B0 82 70 83 2C D4 5A 3F 10 3D 96 4F 85 DF C1 EE D9 68 67 75 87 2F 24 D6 27 1C D3 22 97 BA D9 0D 20 DA 6F 75 20 DD 98 A8 C9 EF 98 1D 41 C5 E2 4C AC 3E E0 43 4C CB 08 32 14 35 EB ED 38 3E 2A A8 AF DA F2 BD AF 95 03 77 65 13 1F 35 54 7B BD 98 2C 44 C9 42 78 5C 41 B5 BE 8C 29 78 B0 F8 9A 63 01 6E 3E B2 D9 14 0A F8 C5 63 83 1E 3A 8D 0B EA 5F 02 14 99 3F 14 A4 7F A6 04 D3 99 B9 AD 8E D4 4B C1 77 F1 2E 57 74 47 D5 B8 6F B3 59 EE 14 F9 BD 29 85 AC 85 4E 14 23 36 79 76 5F FD 73 11 C7 78 76 1D 18 C3 18 A1 5B 7E C4 8E 31 37 26 85 40 A6 B8 90 30 81 A5 80 37 28 A6 E6 D2 E5 DC 2F 29 00 92 DD 0F 58 F4 AD 7D 96 DB CF 4F 75 DA 32 5F 23 99 4C 74 64 DB 6C DD 9C 13 80 58 1F 88 7D 08 F7 B4 D1 1C 2F 21 36 B6 13 2E 0C EC D7 99 70 99 9B 04 04 6F 9D 9C D3 2F BE 94 A3 E1 12 37 4B 6C 2B B5 FC DE A6 81 B1 E8 0B 9F C8 7D AA D1 1C 9F EC 13 2D 6F E7 2E E5 74 B7 95 2C 82 0B 79 F4 FC C8 34 57 E0 F0 C6 34 76 D1 55 C8 DE F1 63 E8 24 5D 9F 47 19 D0 32 DB 80 C3 54 32 B0 60 29 4D 35 78 FF EF 24 47 18 F1 E8 08 B2 CA D9 7C 5D 95 6A CA 1C 3F 10 C7 80 DE D8 09 DD 47 21 00 D1 48 68 E5 54 F4 92 D8 99 A7 53 BB E5 BD 6F F5 54 08 A5 BC A1 0B 16 3E 19 78 8B A0 F3 61 F3 A7 E8 28 DF 48 39 00 AA 36 E5 05 75 D1 08 06 B9 15 B2 70 02 CE 23 4F BF 72 71 CD 1B 34 B0 68 41 91 E7 F3 48 86 EA 24 B3 3A CE 52 01 34 E5 0A 5D 2D 79 17 F7 E8 04 84 9A 3A 0A 64 6E 78 6B 20 6E 27 21 87 1A 32 F4 9A 73 38 DB 13 A1 5D 7F 92 F0 AB 24 ED 36 16 07 22 2F 5C DA 48 24 51 81 21 D3 1C 59 AE 5A CC 65 59 3F 48 CC CC EF E4 08 03 D6 18 C5 87 C3 96 3A DC 0B 04 7D CF 12 FF 7E C5 3B 7C 5A 31 21 2E FC 2C 44 AC 74 50 B5 66 88 18 70 65 3D 27 3A 2A 40 FE C1 2E F4 7F FB 28 AE B9 9D 64 DF 6F 2C FC FB 65 75 DD 90 60 8C C0 9D 09 B0 81 E0 1B 22 AA EC F2 F0 E7 74 97 D0 1A 02 19 F1 7C E0 7F F8 0E 9D F4 7C B9 F4 57 9E 84 BD 6C C9 A9 4F 45 C9 96 BA DE 4C 8A 37 BE 01 FF 58 C2 00 A7 5A AA 1E 97 65 63 9D 5E 7E 43 87 21 BB E1 38 77 A3 93 2E CC 97 6C 38 EC 78 8B EF 73 71 B0 C6 B2 9D 08 C2 51 48 40 ED 36 CC 11 57 DF 64 CE 51 DC F8 F6 B8 99 5E DA 77 2E DC 45 27 34 2E D8 6F 3B 29 51 94 2D 20 FF CE 72 54 DC 1F C5 9D 26 79 A1 F8 BD AE 81 28 B4 4E DD 70 9F 5D 07 34 54 3C 32 93 C4 17 3A A7 7E 80 A3 FE 57 6A 09 2F EC C6 2F 98 BC 17 72 CD ED 94 6F 42 50 53 2B D3 32 E9 A2 72 46 98 9F 90 80 31 73 45 8A 78 FC 8C 57 44 1D B2 DB 8F 29 AD D2 E1 52 DE 30 BC D6 73 DD 98 A6 48 04 53 89 EB FE B7 9C 7A 98 27 5F 26 A0 C1 53 9D 92 F6 D5 14 E9 27 2B 2B 08 86 B9 D3 52 5C 27 8B 63 4E DB BA 72 98 99 1B 26 4F 3D 4A 88 54 F3 A0 F2 DD 4D C0 69 74 9B 11 89 CB 0E 1C D6 2D 7C F2 ED EF B9 E2 E4 CE 63 3E 9E 4E AC 8A 66 49 34 F7 3E FA A2 36 C4 8C 3C E1 86 2F 9B B2 E4 58 82 3E F1 C9 72 E4 D1 2B 26 25 DC 60 E2 12 4C 0C 07 58 1C CA 9D 8C E9 CF 71 4D EE 49 36 80 51 44 3E 48 F6 A8 37 E7 EA DC EE B2 57 8B 3E 29 A4 E0 85 AB F6 7A 55 7D AF BF 9F 34 58 8E C8 36 1F 9A D7 BB C3 C2 79 2C 7F EE F0 C9 44 A0 7A 65 7E F6 A5 6A 11 FC 1B 25 CE 4D 12 86 EA 7A CF C4 79 1D B6 C6 E9 84 77 92 3E 61 3E 43 9F EA 89 D3 37 D9 29 9C FC 3C F1 22 30 D9 7A 78 25 1D E6 B8 57 19 64 B1 F1 F4 3B D4 AB 1A F8 69 BF E9 C4 6D 20 93 FB 43 9D 0F D5 1A C3 80 99 9A 3E 42 F2 A6 F8 30 6D C5 51 4C 41 C2 9E C5 E4 38 F2 96 EB 6B F9 9A A7 AA E6 09 76 FE B8 59 FB 43 0A 45 70 53 22 68 6E 94 B0 2A A7 BD E9 F0 B5 CF BB 3A 8F 89 8D CC 23 7A 91 C3 55 B1 41 BA D6 9F 4F 80 5F 82 18 5B AB 0B A3 3A 5C 89 F2 07 54 A9 38 AE 50 B8 AA D8 10 B9 B8 0F 33 05 14 18 B8 7F AE 7A 26 B9 B4 90 D5 FC 1C 24 1B 8E C4 52 53 B3 09 37 C0 1C E3 7A D7 5C 54 44 14 83 C8 F4 41 79 61 78 C7 C3 74 1B F6 BE 41 50 6D 2D 3D 45 D7 97 69 CD 91 0C F6 1C DF 83 75 27 A7 6B 26 70 D2 64 44 A1 F7 08 C1 42 96 2D 9D 46 61 86 B4 82 62 61 FD E9 6F BE 13 98 57 E2 D6 47 36 C3 B1 B7 15 40 61 37 BF 76 B1 FE B5 C6 5E 30 5A BF 90 EC 3A DC 7C 5D 5F 47 20 1F 12 53 6E 39 B6 3E C5 93 A9 87 4A A7 F8 03 57 27 13 DA C3 21 67 1A 86 28 9C 37 73 FD DB 61 A9 4A 54 2E E1 56 5F AF 34 12 21 AD F5 BD 90 AD 13 22 A0 22 26 B1 B1 BC 32 45 30 21 D2 48 62 59 AA CD 91 B7 93 AD 96 16 84 79 F1 A5 1E E6 67 D5 F8 3C 30 20 E3 CF 8F 36 1C AF D2 59 C4 4C 8D FD D3 3B F0 F5 72 9A 1B E1 DE 83 93 77 41 41 09 0C B8 68 28 FF 4B 10 47 9D 5C E3 9A E6 38 1E C9 BF 62 3A D2 3F D3 0D 7E E2 6C 6E F2 1E 5C 69 DE 37 F1 24 4B A3 EE 89 A1 04 98 FF 1F 17 33 02 2E 65 96 58 10 DF 9D AA 2A DF 0A AF ED 79 4B 41 04 70 AD 6E E5 F8 D7 C3 C1 0D D9 7A 4E 35 8F 97 29 0C 51 04 C9 A9 01 9C CC 32 1E F0 06 AE 2E 2C E5 63 A3 88 12 E8 03 02 6C 36 62 B4 BB A7 40 FF 11 F3 EA D3 FF 06 DE 0C CA 7C CC 66 1A 9E 43 EC 17 A6 00 7F DF 59 43 D6 EF 2E 39 A2 7D 36 0E F3 D7 3C 6C 31 80 F5 7B 32 57 96 9F 87 80 72 51 FF B6 8F FC 44 12 A4 FC C2 DA 0D B4 8C C8 CD 79 5B 55 0D 17 49 93 06 6B 00 20 1B 11 55 1A 96 C1 50 CF F2 A3 5E C5 5C 8F 53 E6 01 23 26 DF 72 A8 1E 17 B8 33 A6 23 B4 48 1B 1F A4 F2 BE F2 BE 29 63 B1 85 FF DE ED 01 02 B6 06 75 03 C5 3F 33 E3 89 B5 F1 E4 59 B5 08 18 D8 E0 5D 78 05 2F F0 90 24 13 BC 13 4B 0A 1A FA 86 C9 CA 47 F0 D5 89 EA 79 1C 04 DC 00 8A A9 1E D8 70 32 20 8E B6 87 96 5D 21 A9 2F BE AB AF 56 F3 39 30 61 56 41 EE E3 D9 58 DA C8 11 A5 78 68 65 04 D5 C2 AC F4 F1 5D B1 F6 63 34 13 93 1E 0A 86 1C 65 82 AA FF 2C ED E2 4C 05 FE E7 55 61 6A E8 8E C7 21 C3 57 2E 50 DA 57 73 96 05 B6 5F 84 D0 AE E7 AF 49 94 F4 1B CB 45 B6 59 CF 5D 95 25 01 CB 5C BE 63 DD D6 7A 0F 98 53 7F 45 BD DB 83 CF 7F EC 7B CD 7B 71 D1 F4 68 78 54 A9 9D E0 D7 45 9C 9D 99 AF CD 60 C0 0B 7E 70 EB 10 BA 28 46 52 42 91 2A 29 5B 0C 0A 41 57 18 F2 4D 39 51 0B 4A B3 5F A5 D8 FA D9 73 8A 5A 0A C8 96 CA D3 EC 28 89 6E F5 73 05 AF 54 0B C9 32 77 1A C4 B3 1B 74 AD 48 74 4A 97 6F 8E D1 07 3E C8 A2 5D E4 EC 22 30 BE FD A7 C8 E4 B2 10 36 70 56 6D BC 6C FF 41 9A 50 4E 93 BC 4D AE F4 37 6A 16 3E ED 12 BC 73 51 63 05 27 4B 71 7E BE BE FE 9F 45 6D 26 74 E8 62 4F 51 B0 7D CC EE 00 D6 FA C3 26 9C A5 96 E6 91 00 E7 66 CB AA D4 38 D0 7F 0C 53 6C 17 56 66 77 3D FC 8E E3 6F 28 9F CA 4D DB DA 0F 74 3C 9B 94 EF 87 A3 FE BB 31 C2 C4 94 53 15 1F 40 11 77 5A E9 F5 99 C2 A5 04 48 9D C3 5D E0 FA B5 4A 56 4F BF 2B DE 7E 78 30 E1 E7 99 1D 9B 50 FC 84 94 99 F1 F3 63 71 14 97 4A 31 09 D8 66 FE E9 11 CD F6 C2 24 A3 92 E8 FA 3F CB B6 5C D8 40 56 43 4B 43 E6 A6 F6 B7 F9 68 47 0D D8 22 3C 89 D0 30 00 C1 AD B9 41 A1 3B 43 72 6C 24 E4 43 57 8B 81 50 36 3B 9A F3 62 CD 74 EF 7D 35 8B 76 B7 6E 10 B8 6C 2D A1 53 15 81 BC CB 21 C9 87 1A 3A 9C 7D 21 A7 73 5C EB DF B1 DD 89 9E 5D A7 97 6B FA 2A 97 1C 20 53 75 22 3D 5A FD AC 7A A9 41 9C 19 80 11 AE 31 C0 D3 09 C9 D2 8B A3 50 76 73 3A F5 D5 7E 6F A8 1B B8 DE 8D B3 AA 53 0A 97 94 5F 25 2A 8B 09 16 D4 FE 8B 58 71 05 E4 E6 AC 2A 5A F8 02 EF 84 AF 07 6B 90 F7 C0 1F 84 10 B0 F1 96 46 B5 57 4D 23 C0 3D 20 8E BB 9C 54 2C 16 F0 E6 DA 2E DB D0 5A C8 35 9A B4 32 85 78 C6 DA 1B 6B BF 26 DC DA 98 82 08 CA F1 2B 20 ED A5 15 19 A9 55 1D 76 A6 B2 26 C9 0D 0D 1B 05 C2 3D 1F AE 78 92 61 A4 20 F3 B9 CD 3D 94 39 90 AD AF 05 33 E6 10 9F 27 8C 2C CE D7 2E 4B FB 23 02 19 FB 7E C9 9F 62 76 B0 6E 62 03 B4 16 69 D8 61 67 A2 11 BA 60 D2 06 F3 08 1C B0 96 EA C0 2C 54 32 5E 73 7C BA F5 BA 76 10 81 D9 30 A1 BE 1A 30 75 19 40 E4 1C B0 9F EE B8 D0 A8 EB 63 6D 30 4F 23 9C 6B 21 9A BB FB 7E 56 70 B3 D3 4C 2B 11 5D 90 66 BD D0 30 B5 C9 18 DD 4A 6A F9 BF 58 8A 70 59 5C BA C0 62 EB 20 73 99 34 E5 67 61 98 22 27 45 00 30 69 23 AC FD 51 74 24 23 EA 25 D3 4A F0 1A 6C EF 45 50 93 6D CF 21 9E 8F F1 47 6F E6 D0 8E F1 59 2A 7E F6 F5 DC 73 79 25 1A 7D 9B 31 68 CA 0E 73 77 21 4E 7A 87 7D 97 70 56 7E 9F 41 35 7B C2 6F DB AB D2 63 C6 2E 9B 3B AF A3 E3 6F 18 6A A3 EC 3D 40 1D 32 24 1C 0B 16 9A 4F 2D 99 FB D8 36 FD 4A D0 D1 C9 74 F4 C0 61 AC 87 F2 5C 85 2E E6 0D F8 BC 0F 92 35 18 E8 02 ED D2 25 1A C5 61 B1 E4 87 6F 8F FA 36 E0 FC C3 19 59 4F 7B DB F2 0B A4 60 3E 62 2E 99 03 40 10 7F D8 3E 8B 45 A4 97 C6 31 D1 8D 44 1B 5D F0 B5 E1 1F D0 0A DC EC AD C0 DC AD FE 5A 9B DD 50 AF 49 12 6E DA 9D 2C 50 58 A9 F8 08 38 47 3C A5 CF CA 88 1B 2F D9 1C 23 28 B3 A0 38 AF 55 41 81 94 BA 15 04 85 E7 14 5E A3 8D 6F B2 1A E6 0B 37 61 44 40 09 C4 8A 52 7D 32 CD B1 0A 67 47 04 09 C9 F4 7F 85 C4 C4 4A 41 A7 0B 92 BD 78 23 21 1E 65 1D BD F0 A3 CC 72 D2 04 58 30 24 C6 38 23 7C AD 33 2D 80 69 39 F3 5C 62 10 C5 4D 40 4E 2A 5F 26 41 BA F5 E6 08 90 AF 3A B7 76 F1 1E 7F 61 D9 17 D3 0A 03 2F F7 0D 78 8F 76 C5 2E B1 52 BD B8 62 81 6C E2 C8 6F 7D 7E 08 41 13 2C FD 5C 21 B0 9B EC 34 4F BD AA 89 6A 65 80 87 56 3C 7B E9 97 0B 72 A0 B0 BE 1B 4E AF BA 41 21 94 A2 91 A0 21 15 C6 96 15 17 3B ED BB 7E 6B 0C 1D 13 87 A1 1B 4C 9F 6E 72 5A FA 32 32 30 C6 21 D9 53 6F 0D 8A 3A 1F 16 00 E2 36 73 F7 E5 00 52 58 4C 51 08 A4 57 E0 07 4C 97 99 42 C7 4A F8 CD 98 E0 E3 0E 10 CA B0 C4 98 D7 5F EB 94 D6 8E E6 3F FC 44 57 B7 0A 77 06 5C 48 D2 FD 12 D8 15 FE 84 66 71 F5 5C 64 93 BA 45 B3 D6 BC 02 6B C3 DE 65 57 7D 7E 06 C4 47 31 FE 5A 26 A9 65 26 CA 17 D8 28 CC 20 B0 64 39 A9 12 16 AB 37 24 1F 07 45 1B 69 28 E8 CF B0 5F 72 0D CA D2 32 F7 B3 4B DE F4 B0 4F 2B 16 40 9B 56 9C A1 10 8A 1F 69 36 D1 1C EC 57 D5 CE 64 1A C2 23 A8 92 72 97 66 24 4B BE 46 8F 21 8C FD 93 83 78 2C B7 04 E5 70 A5 37 53 07 2D 3F 78 C9 B2 5B 28 34 1D D7 B8 53 09 4C D3 75 7B 7C 11 FF E5 22 EC C2 87 CB EC 61 4C D4 F9 6A 2C 6D DF 6E C4 EB DE 59 40 CF 65 ED 54 43 AC A5 63 11 31 82 BA DF 27 F8 A0 67 A5 50 BA E4 DF F9 15 F9 C2 6D C3 88 96 AE BB 19 83 17 D3 C8 E9 F2 BC 04 89 A2 FD 21 09 62 26 98 DF BB A5 B4 4F E4 8E E3 5D EA BE C4 E5 B9 70 80 BC FF E8 DF E2 4B 8E DB FE 04 37 33 A3 4F B2 5D BD BC F0 1C 62 B8 A0 C4 CD 13 21 A2 86 D4 38 40 4D 95 D8 FA 3C CD 16 82 60 A4 9E A8 93 27 10 7B BE 2C 95 01 BD 91 DB A1 45 3A 24 04 62 F0 0D A1 F5 97 6E 35 37 CC FA 46 82 6B 67 0B 3E 9D 17 58 40 5B 1E EE 9E 0D 38 4A 91 95 51 90 69 91 65 92 18 0D 9E 97 1E E8 F5 2E 84 7C B3 C5 26 E3 48 7C C6 63 79 7C BD 57 99 55 CC 32 9F 91 22 B6 D0 B3 B9 44 95 0D AF FB F6 48 0D F7 A6 F7 08 F3 EA 50 81 94 37 A7 4F 47 D9 5A FA CC 78 1F 5E D4 D8 F7 FF 84 69 47 11 1B 6C 62 93 C5 B9 4D 0E 13 6C C4 23 A8 5A 74 A6 0A F0 5E 57 A0 2B 50 76 75 95 C1 12 EC E0 E8 1D F6 F9 04 57 94 1C 29 8A 8C FB 16 E8 49 FB D9 26 BD 4A 8F 5A 06 56 44 3D 24 4D 22 9B 03 0A 8E 83 51 73 BA 18 D1 93 93 D6 C0 B4 A2 D7 1E 59 00 CC 75 CE A4 79 96 A7 26 E4 98 0A 5D ED 90 72 4D A7 D8 0B E3 04 BB BD F9 9A 1C 87 1F CD 62 0E 98 09 DB C1 DA 36 E5 A7 4A AC 7D 0C 47 1D A0 9B 07 B4 BB 4C CE C4 2E B9 6B EA C7 37 2D 9C 56 22 32 B9 C6 23 0B 30 47 BC 43 A5 B9 D8 9D 80 A7 5B BE 33 F5 3E C8 AC 18 E0 8D 7E C3 E6 2F B6 A6 6A 2A 46 15 AA 8E 2B BC 66 C8 6F 8B 64 27 DC A7 E3 FF BA FF A4 FD 1A 31 93 8A D1 13 5C 45 D6 3E D1 CF D0 C1 53 F0 18 35 53 79 D3 63 8D 2A A3 BA EB 96 6E D2 80 55 74 F7 72 D4 4B 09 5C 81 BD E9 E0 E4 B9 C5 73 66 D4 FA F7 CE C0 CE 94 7C 6A 11 EF A3 0B 10 3F EA 76 39 9B 28 3C D7 CA B3 B2 CC F4 5F 82 65 97 EA C8 88 FC E4 0E 65 F0 F9 80 96 12 C1 8D 78 FF EC B9 94 9C C1 FD 04 ED AF F9 B2 39 1E BE 8E EC 45 AC 8C C8 6B 2A D7 C1 97 F5 55 D1 79 53 5A F8 F4 1A DA 97 F9 3E E0 CF 74 EB 90 98 DE A6 AD 42 08 88 4E C2 BE 62 3A 8A FB 10 07 CA F4 0D 6E 4D 67 A2 5F CE B4 F5 29 A6 08 CC 11 66 AC 6E 1A 79 19 11 40 B2 82 15 ED 10 CF 88 44 8B A8 24 AD 30 FA D6 D9 A2 96 19 34 13 59 D2 55 9A EC 98 C0 D3 E8 60 70 87 3E E6 FE E0 E5 54 58 CE CE 7A 65 9A 84 D7 D8 A3 43 6A 31 B2 4B 45 ED EA CA 53 80 02 4D A8 BC BA AB 91 72 2C F1 BD 25 98 EA 24 43 E6 CA AF D7 22 33 C8 3D F2 3E 3A 5D 3D 90 0F 03 2D 64 07 D3 A9 E1 6A BE 43 88 7E 72 A8 E9 1A 72 06 6B CB 6B C3 EB 37 4D 9D 49 CE A7 F1 C2 FD D2 19 E0 79 D8 CF E9 40 AF 27 2D 1B B4 18 87 4F AE C6 1F 0E 20 BF 9F 9F 12 41 E9 B0 30 19 E5 FF 65 87 85 A0 C2 BF 91 B7 6E 27 17 41 3B F8 97 40 AA 1F 69 53 E2 18 D2 93 BC E4 93 A6 B6 33 31 FD 09 34 05 07 0D 54 1D 24 C1 63 E6 50 F1 C4 D1 C6 0E B0 45 3F 15 8B 2F 7F 49 59 DE 46 A3 AA AD 10 0C A9 0A D5 2F A8 2A FB DA 1B 86 BD DD E3 81 4F 23 BF 99 73 C1 D2 13 28 85 7E D7 AD 83 6D 56 2D 48 D7 89 85 42 65 5B D1 7A 67 EF 9A 7B 02 2D 04 BF B1 26 C7 E9 9F 97 53 A3 4D 71 65 62 D4 0C AE 1C A6 34 25 C3 D5 41 D5 B4 0A F6 13 2F 8D 86 0E 46 EA C5 CB 87 ED 55 87 2A 2B 62 98 E5 B3 CC 09 76 D2 57 E8 8F EE 72 55 21 FF 06 B7 0F 06 06 B2 4E D7 C6 E2 77 32 79 56 E8 FC 10 13 B9 46 2D 92 87 29 2D D3 A7 6B 72 5A E6 2F A8 BD 15 BD 68 0E 85 EB 48 8C 32 19 73 B8 78 F1 3F 70 E1 75 2E B3 80 D2 30 13 C4 A9 81 2A B1 76 5B 75 DE 14 3D C2 C0 EB D2 BF 39 D7 3A 85 7B 97 EF B2 BD CE 3D EE 0A 14 8E BA F5 4F FB AB 32 FD 5C B5 D5 20 7E 6D EC 89 D3 99 EB 6E 80 D5 48 54 38 4C 2F C1 93 1A 84 49 4F 4E 65 C3 AD 58 8B 03 20 C7 02 6D 02 1D DC 4D 06 CC 39 C5 AF 19 1C 7E B1 9A FC 6A 31 3B E8 C8 9D BC C4 F1 BD 02 3A CF 4A 56 6D DA 97 C6 D9 7F 33 85 7C F7 1B 3C C2 0F 79 24 D9 E6 88 48 2D 33 1A A7 46 FA 94 F4 CB 83 EE 35 E4 B6 AC 27 61 C7 4C E1 19 4C 7B FB 48 63 50 49 4B 21 88 0D 05 DB 53 AB AA A0 57 69 A2 EF 25 71 C7 C5 78 9D 4B 7C 61 78 35 D6 47 02 5D B0 80 63 EC 3B 0F 35 B1 EF 1E 98 80 6D 64 C2 22 55 A9 45 68 A1 F4 9E BD 26 DA 6B 0F FF 35 06 D4 AE D7 49 DB 37 EA A7 DD B7 7D 71 6E 03 A4 49 67 CC 08 77 54 8F 67 1E 8B FF DB 26 C6 C8 E1 38 5B 6A 44 FE FC F1 A2 F7 41 91 5D A8 22 32 BD 63 9A 77 15 CB 39 90 C6 4F 61 2E 11 CE 2A CE F6 6F 2D 21 46 8C C0 5A D8 24 6A F3 4B 7F DE 13 9B B0 80 CB AA AD 94 B6 BB BE 5A 6F A6 1B 77 B1 C8 C1 46 59 7A 6E 25 AC B5 40 3F B8 CC 50 39 61 28 65 80 28 E5 F6 FB F7 68 B2 14 62 0D 0C 67 30 80 34 37 B7 E6 41 B1 DA CE 3C 51 5F 40 25 29 FE EA 8D E5 74 02 BA 72 27 DF 32 C8 94 1D 4F 56 5E 33 F9 E0 88 3B 5E 32 A5 03 F1 66 D8 FF 6F 27 C3 0E 5E 76 D3 79 81 3E FA E5 B4 22 BE FF 8E C4 E9 B5 B1 C3 80 72 5C EF 66 77 B6 B6 FA 8B E9 1C 9B 78 BB 35 71 67 FA 36 37 8A 2D D4 2A 2B B3 64 5C 5F DF 5D 9F 70 ED 96 D8 CC A4 7F 02 01 50 A0 77 B1 E3 F7 78 08 00 C1 51 48 DE C6 29 31 ED EB A6 E4 19 1D 6A 0E 42 E4 9B DE E9 8F CA 46 C6 7A 1A 27 EB F1 B9 D4 7B 6A 35 48 86 71 1A 2D 04 EB DC C2 F3 B6 1D 19 74 FC 65 B1 19 97 5E 9C 08 E2 35 D3 F9 B7 2C B5 75 9C 9B 65 C4 85 0A 65 23 5D 01 02 5B 21 E6 94 6F 84 14 71 36 51 27 94 55 8E B7 FD D5 7F CD ED EE FC D2 DC BA 52 53 E7 F5 45 AA CA FA 12 78 54 06 A9 5D C1 60 8A D8 F7 04 4C 27 CA 45 13 35 8E 8F 08 48 D3 5B 05 E0 52 51 65 B8 D6 AF B1 D0 F1 41 33 0A 11 8D 10 1E F5 7D 94 C8 A9 74 EB BF B0 3A E9 36 87 E2 20 01 C3 3E 5E F7 B4 5F 22 2C 71 E0 2E F6 6B DD D4 BB 97 FB A1 D5 0D 39 60 BD 1A 90 CB BE BF 5F 89 5F A9 D8 3E C4 B4 06 14 52 C0 54 1D C3 51 46 76 BB F3 9B 8A A1 99 A8 A5 B3 21 1F 88 A2 23 DE 8B 91 1C E3 F2 6A B4 C2 10 10 18 D2 AE 71 72 CB 02 E3 44 23 E0 D2 E0 ED 22 B4 69 C2 9B 5B F2 4A 76 6E 25 4D 99 3E BB 9F 8E 4B 0A A5 7F 2A 00 26 E1 A1 58 85 CE B4 38 45 11 46 2A 81 94 F7 13 C9 53 D4 AC 45 83 F4 4B B3 E8 64 C4 CC 59 35 08 73 98 60 53 7C 53 24 99 73 1D 21 D3 A1 18 2C B5 FB 90 1A A6 33 6A 0A 2A 91 5E DF 53 26 C4 1C B7 95 99 50 ED 8E BA A1 52 DE FF C5 02 83 66 85 38 58 D9 A4 47 99 5B 27 58 83 2D 70 8D 62 E8 09 3B 98 2A 27 10 9A 46 39 BE 53 D7 AD E0 3C 63 61 58 37 4D B3 FF 79 2F DC 73 75 EF C5 D0 88 E4 3D C0 9A 76 5E 73 96 1D 62 D1 30 7B 40 B9 E3 29 A4 99 47 83 DC BB 80 2A 2F 9F 97 60 DF 71 93 72 D1 F3 DE 28 81 85 5A 0E 36 DA 05 24 40 4C CA 21 20 BC A3 0C 9F 57 ED F7 1E 0B D5 17 C6 EF 81 DC D1 59 70 44 7D D2 0D 62 69 80 40 60 BC 1D 90 0D EB F9 4C 79 08 1C 9B 91 BB 0A 1B 6C BB 3B AC 94 C9 2C 42 CB 70 E5 EC 78 37 3B 9E 17 C8 55 E8 90 C4 F3 A0 41 7D A5 2A C5 D0 6D 34 18 F9 16 AB 6F 5D 37 10 0B 7F AA 54 0D 2A 49 E5 E3 58 01 25 8F A1 D3 E0 26 D5 B0 41 45 8E EE CA 46 6A 05 18 03 62 AF 8F DB 31 F3 E4 6D 63 7C BE 2E 85 3E 12 2E 14 5A EA AD 7E DC 4B A7 16 B1 DC 60 24 6D 17 09 F5 9B D1 5E EC 27 2B 48 A9 E1 B0 92 1A 20 40 47 33 98 83 A5 F4 8F A5 84 DF 95 C9 27 10 24 5D DD FF 32 6E D6 46 C5 FE 22 2C 8C BC 20 52 1D 4A B9 0B F0 5B 13 39 8C 8C EF 5A 94 CC A1 28 E0 C8 10 93 11 BE E4 20 26 39 E6 C8 9D 25 6A B7 6E DA 9D 5C 42 55 43 F9 F4 64 70 82 DB 81 77 54 C2 B8 C2 D2 8C C5 46 10 D9 DC 33 7E 51 03 4A D4 39 F5 F5 F5 21 93 FC 9F DC 0D 99 A3 CD F9 63 75 05 E4 5F AC DB 2D 68 88 55 F6 36 4E 57 AE 40 AE 1E A8 26 D9 01 FF BF 5A A5 69 6B 69 9E 36 2A 30 18 7B C4 C1 1D 6F 5D DF 1E 45 4C 86 AF 10 AF E6 16 98 B7 94 6B 9D 9B 71 CE 47 52 A5 49 E6 FA A8 FB 41 BF C2 90 1B 56 65 6F 9E 69 19 44 BE 14 7F 06 68 B2 5D 89 D3 14 FE D6 AE 9E 6F C4 2F CE D7 9D C7 1E C8 00 29 09 DE 9D DE C4 F8 FF EE 66 4E D6 95 C0 9B 27 F0 7D C0 DD 43 71 78 F0 10 93 95 37 A3 EA 2B 45 3B 90 29 52 C7 C2 1B 60 7A E8 46 EC D9 72 71 AE 40 57 C7 36 D2 A4 45 19 8C 77 2A A3 AC A4 C1 C7 D8 98 9D 74 D2 3F 45 FA 29 A3 5A 18 B4 31 4C 39 E9 81 DC 54 90 89 B1 D3 8D 54 8B 8D B7 B3 0B D4 FE 8C F4 32 43 D1 DA 15 90 08 C5 A5 28 BD E1 CE A0 19 0B 00 69 3A 48 9F 66 84 80 16 E1 22 39 D2 F6 8C 96 25 E7 F4 D8 56 CD 78 AC CC 30 28 EC 21 D9 CF 28 4C F6 6D DC E3 1A C7 57 73 27 25 D5 CA 53 AA 3F 1F BD 2A 23 3C 12 2C 7A 00 80 95 96 E2 8D 95 44 54 F3 2B 3B 15 03 FA 32 1D 8F B7 1E EA E7 B5 20 63 78 7B 58 DB 04 6F A9 C1 20 17 09 29 32 FF FD B7 62 1C 8E 69 CF B6 5F 37 3A 63 56 AF F3 A9 EC 89 E0 23 4B 71 4A C3 A9 2C CE EA 35 DC 97 34 57 F8 33 3B B1 84 C2 32 82 16 1F 28 74 76 0D 01 A3 92 08 51 51 4A 78 9E E2 E8 D0 22 4A F1 47 27 23 28 84 79 F7 87 86 5F 0E 77 A8 9F 03 1C 6A F5 B1 CA 2F 3C 57 4B EA 25 E8 38 19 5F 93 77 EE 1E CC 9B E3 1B C5 79 21 C0 56 20 DC 91 51 04 4C D7 3F EA C0 2F 32 C6 1C 1C 67 DD 9E 7C 6C D7 7A B2 C0 E5 DF 3D C5 CA 17 13 49 4B 47 A5 9A 3C 3E 35 64 F5 C0 E0 80 09 67 83 65 E2 D6 13 A3 BB D1 38 F8 CE D3 9F 87 4B 70 5C 0C 60 38 E9 B2 1D 08 AD 2C 02 04 5A 01 9B 36 49 A0 97 2F E9 F8 E0 7C 93 DC 5F 3E 4F 5E AD C0 FF EC F5 4B F1 9D 59 64 6F 0B 4E 46 AF F2 D7 FC 03 7A 03 02 CF 06 7A 3E A3 25 46 84 02 12 23 51 3F 01 EE 80 FC 0D F0 01 AC DC 21 5A B8 49 F0 3C DE A3 25 1B D5 E0 36 31 3C 8D 9C 30 CE AC A4 C0 24 47 B4 38 6E 62 4C 93 A4 3F C5 F8 BB EC 4B A0 63 E8 4C A6 F6 0E AF 16 B6 A7 86 73 A0 C4 7B A9 AA AF 5D F7 BD 55 BF A2 09 2D 18 FB 73 39 6F 06 E5 48 9C BB B5 D5 7F AF 05 A1 71 AD 1D B8 FA D7 26 CB 15 D7 F4 F7 5E 29 6B C5 6C 5C 24 9A 37 11 FE 4E 19 E3 84 7F B7 C8 68 EB 2A 32 D0 31 E1 4C 6B 9F 02 32 AF 64 3D 40 5F F6 96 68 D0 34 82 9E 4E D1 54 5A E2 76 8C 72 E8 25 F7 61 DC 95 3C 3C CE 0A 6A 6A 96 25 12 DF 58 C8 FC 76 A6 AF AD 93 99 20 47 14 70 38 AB 97 39 9F 47 F1 5F 57 62 32 8A 9D 6E 5E AF 88 C5 47 EA B5 11 30 42 97 92 64 D1 7D 37 87 9A AA BB 54 4A EA B2 0F 0A 55 CB BB 40 83 9B C5 86 E6 76 4E 30 45 1B 8E 72 FA 26 C4 2F 31 11 6E 37 BE 48 A1 06 D1 29 CC D8 C1 2B 1B 23 C1 C2 93 73 7B CF 2E D7 34 A9 D0 63 25 89 9A C1 AB F4 89 D4 B7 81 EF B8 AD B4 A9 A6 86 A3 69 7D 91 99 F2 C0 9E B3 0B 4D 53 D2 05 24 9A 13 61 26 E1 36 A3 D8 BA 78 E0 64 C6 00 CB 77 0A EF AE A2 F0 96 F6 DC BA 66 6B 76 F0 CC 58 B7 53 F2 80 EB 21 AB 3F EE C1 B7 5A E3 F5 C7 FB 5E AE 81 2A 4C 59 02 5D FA A7 36 AD 31 32 2C D4 26 6A 74 13 D6 F6 B9 24 A9 82 0B F3 89 AC 83 A2 7A 1E F1 0E FB 17 5C A0 09 39 1B 7D D7 4C 37 E8 C0 F3 C7 40 66 D6 4F 1D 03 0D DB 38 B3 BB 26 BC 8E 19 E1 FC 25 F5 76 DC 56 7E D4 56 EF CC B9 84 C1 6D 9E 73 9D 64 F5 2F 50 74 9B 37 6F 7E FD 1F CB 91 AE FC D6 97 D6 02 42 6F F8 CA B0 45 71 54 C1 6B 3D 00 55 21 71 50 60 28 23 63 C6 D5 D8 4D 78 4E D4 C0 4B 81 5E 4B 96 97 8C 2D A3 0F A8 AE 4D AB 1E 47 8E 0C 20 B8 4B 57 AA F1 7F A2 BC 00 20 C9 B5 66 A6 7E 70 6B 55 13 65 03 E1 78 3F D7 C6 2A 93 B2 3F 6E 90 FF BD C8 F9 63 D8 37 7E C3 4F A3 C5 38 03 21 95 7A 94 CC 55 15 60 E2 B1 23 BB 96 BB F3 64 0D AF 35 FE C4 86 8C 32 2D 38 2E EC 64 06 5F 2D 4D 80 42 0E 6F 0D FB A2 C7 2E AE 39 DF E2 05 ED B0 C1 54 A3 E7 81 5F 2C 06 90 A1 2E CD AF DC 75 48 D0 6C EC 2A CF EF 49 D3 C4 B1 BE 61 E8 A1 52 3D 99 AC 46 4D CF D7 17 CB 7A 46 68 AD C7 3D 10 88 4A 22 0D 24 38 B1 86 F0 B5 08 8A A4 80 07 AD D4 B7 D4 D8 D6 9E B3 45 0C 04 DE 7D 45 91 E8 C7 18 D2 ED 5C 24 23 88 2A 95 43 39 1F E5 C6 50 C3 E2 3B F4 82 88 F0 E7 ED CF 96 29 A9 88 C6 84 2C 00 06 0A 77 06 19 49 4F 9E 25 D0 01 62 BE 48 B3 F3 25 48 3E A3 F0 FB A9 9C 37 F8 20 10 18 67 59 F7 89 85 0E C6 28 24 D1 92 E0 B9 D4 37 78 0C B3 24 CE 1E 64 56 D0 51 09 DF CB 46 F7 DD 2B B1 B3 79 36 2E 35 C3 CE D4 F3 DD F3 B4 B0 2B 2F DC 2A 5C 2A 7E 08 09 9D 32 7F 47 26 5C 07 C1 EA 8E 3F C8 37 34 9C 76 A1 94 E7 16 B0 8F B6 13 8E 0D D5 CE 45 31 A8 C6 8F F5 4F AC 5E 06 34 0B 9E 93 87 EF 5C 82 77 C7 31 02 CD 54 3F 3F 60 4C 92 ED 6C 1B D5 A0 7E D1 52 DC AE 44 4A F3 AA 77 21 55 F8 34 E8 0D 97 11 C7 4C 50 DF 68 A5 A8 40 C1 74 48 20 A1 00 E8 76 17 5D EA AE 4B 73 54 C7 54 5E 86 6E 82 AA 53 B2 D9 86 12 36 A6 B3 11 66 88 D8 28 2F E7 01 5B 6A 86 45 F0 B8 5B B1 F0 1D BF 6F D0 3D F5 41 B4 07 B1 CA D4 3D F6 61 9B 05 FD 1E E9 43 8D A9 38 8C F8 4E 95 7D DA 07 27 22 7F B7 0A 7D 09 27 27 A3 93 2D E7 29 05 C2 2E 08 AD 39 24 DF EF 8E 82 7A 53 AB C2 BA BD FC DE CC AB 58 30 27 B6 E7 FF 98 78 07 64 15 1D 5D 84 2D 1E 5F F7 9C A9 C3 D0 D6 A1 E1 AD B8 17 5A 21 7A C5 B9 AB C0 5E A0 A9 73 DC 8C 43 D7 CC 9E 8C E2 8F 2D B2 63 33 A6 34 75 C9 8F 8F 28 D9 B9 D6 37 61 A3 CA 83 57 38 FA CB 3B 10 F5 C2 05 BF 5D C2 C6 1F 49 2D 5E 8B 78 A3 0A 7A ED D9 11 8F CE DA 4E 95 B0 03 5E 2F 08 E2 E9 20 57 00 BC F5 5E 7E 05 59 B0 5D 4E 93 F9 95 93 4E 41 C9 70 1D 12 FB 2B E0 E8 74 8D D8 A9 B4 C0 61 C7 FE AA CD 06 31 D6 C4 2D 2F 2C C4 5F 7A 5E 9A 07 F2 57 3C E5 33 7B A7 30 26 4D 59 BB 2C A2 D3 55 57 5D 2D 3F C4 9A 19 26 A2 C3 B9 2D 9E ED FA 87 8C 2E DF 1B 64 3E 97 6B BB 62 1B BD 87 70 A0 75 89 D0 28 1D AE 2F 0F 62 7F C6 4B 69 F9 7D 5E 86 B3 31 EF E2 A4 95 2C CE 7D F3 4F 5A 08 D7 86 DC 91 48 78 D0 FA 23 1A 2C 73 CE 98 F7 5A C7 B5 EF 99 CA B9 F5 E4 45 DC F3 D1 08 2A B8 D5 96 03 30 30 7E DC 91 35 82 11 85 CC F9 F0 39 FC E3 21 74 47 C1 80 45 E2 7E 23 DB 95 77 C9 5E 2F BA 18 EC 84 D2 88 72 53 B7 B8 D5 F4 2C AB 7D E6 76 B4 F2 59 B8 D9 51 74 36 39 B9 34 EB 24 29 91 E6 5E 6E FC F5 C7 89 6C 01 81 35 6D B9 28 38 C2 C3 ED 2E 22 C0 D3 4E B3 0D 62 97 24 B9 DE 34 F8 9F BA DD ED F2 5D 83 E4 4E 2C 0E 7F 36 6A 21 73 EE 23 28 45 67 03 1F 3E 10 8F 20 12 ED 4D CC 8F 92 88 5F 94 33 71 87 84 F2 BF 51 21 94 78 E7 7B 27 1C FF 03 73 19 6B EF 11 84 FB 3B 4D 80 05 BD C0 7F 02 7B 5B 2E A9 D8 E5 1E AD 1B 40 EF F6 26 B2 2C C6 2C 45 2F A7 B5 D2 12 F7 EF 88 34 02 C6 3A 2F 3C 1C 69 25 32 5D 47 C5 B2 77 F8 7A 99 D3 54 98 2D 35 1B 07 F4 4B 18 39 23 7E 21 AE 65 7A 05 7B 06 FA 3E 0C 68 FB 1C 9A 8B 93 0D C6 C6 35 70 3E 25 8B F4 F3 37 B1 42 12 45 BE D9 24 8A 4B 46 18 CC 24 6B 5B FD 96 85 6A D7 41 85 0C DC D6 BD 19 22 71 E0 8B 19 8F 98 9D 3B E1 BA DC 43 04 15 5D 7D 92 C6 1F F4 B3 8D 64 35 FE 76 D4 D5 2A 29 1D A4 17 8A EC 71 B6 93 85 DF 94 04 3B B6 35 03 F7 D5 2B 87 99 F1 00 EB 23 5C D0 A5 E5 24 6D 39 96 D3 E1 6F AC B0 BD DA 55 49 D3 61 F9 3E 44 1F B2 C0 52 D5 19 05 12 59 D6 6D 27 13 78 5C E3 E1 0A 9A 0A DA E4 22 D7 2C A7 ED 24 BF 8A 75 28 EF 18 2D CF 33 B0 89 4B 76 B4 ED D9 68 0C 7A 01 B9 4E 8D 1D 1D B2 AF 9E 81 C2 AD E6 5F EE F0 4E 9D A3 98 5F F6 1C 5B 8F DF 02 54 7A B7 4C CF 76 75 74 A8 61 05 46 74 40 D4 07 0B D9 50 73 51 82 0A A4 A0 A0 15 3C FB DC 5F D1 F6 3C 51 2C 47 37 11 A2 B8 BE 2D 1E 3A 9D 97 C1 56 0F 1D 46 98 AA 85 33 3F 28 00 C6 89 54 F4 38 4B 1E DB BC 0F 56 69 98 4E C5 A0 E5 59 33 A2 0F 2C 71 EF 88 A5 87 53 6F 2C F7 B6 CC 30 97 1B CA 0D 2F 8D 7F FD DD B3 8F 74 F6 F6 E9 E6 F0 1F 60 00 A4 C1 52 FC 8B 07 6A 2C 17 21 C1 55 9D 2E A2 CA FB 1C 27 8C 65 4E F0 EB 48 52 E4 70 C8 BC 71 42 7B FD 37 25 05 0B 83 24 38 2F C9 1A A9 EA B3 4D F2 DF 37 CE 6C 13 1A 5A 0B BD 51 78 3F 04 89 6A 78 4D 1F 67 01 8F DF FB F6 79 D9 14 90 E7 A3 88 59 1A DD 17 73 6E C3 79 B4 DB CE 00 8D 05 94 42 BF DB EE 2A E5 9A 89 67 25 F7 32 D6 37 C7 E8 7F 0F 58 76 C1 C1 87 76 26 E8 BC 86 91 22 30 01 47 9B 42 A2 ED CE 9B B1 AA 0F 7D 5A D5 38 5E 1D F9 6C CB 5B 4D 69 C3 EB EE B1 D4 05 14 09 0E 48 6E 68 56 8D 94 98 58 82 36 9E DB B3 E4 8E 91 E3 C9 E1 60 80 79 F0 61 29 B2 F5 F5 34 F4 92 B4 9A 15 A8 28 2C 2B B8 DC ED D7 69 5B 69 7B 56 BD 08 3E 2A B5 44 1A B6 54 CF 72 D6 B8 09 DB EA 89 2A D0 A7 CE 94 38 BE 4C 2B 99 91 FB FB 99 79 34 31 81 1E 7B 38 75 76 29 D5 7C 15 C7 16 AB 1E 4F AE BA D4 27 B1 A7 7D BC 8C D9 05 1F 34 7D E1 C3 42 FA 75 94 B2 C3 45 A1 31 63 CD CE AA F5 7F 88 2B 9C 4E CF DB D4 5B 42 B6 B1 9B 63 89 F4 28 68 DB FE 4E 7D 3F BF A7 B8 26 70 EA 65 08 F7 1E 66 0F 20 B6 0C 75 DE 5C 4B 70 05 8E 08 B0 9E 04 B4 A7 F3 71 BD 14 92 A2 27 BA 8E E6 0C AD AB 6A AA CA 46 7C 8C 12 F8 7A FB 68 72 F8 20 B4 B2 08 64 39 08 95 29 9B 54 AE 95 AB B2 02 27 4B 34 E5 6B 74 99 D9 65 02 D1 E7 61 70 9F EA 75 C9 A4 A0 40 D2 56 1F 9A 49 4B 4E 30 B5 38 35 C4 30 0E EB DC 4F 3E EF D3 EA 11 8B 59 80 36 75 DD 66 BE BD AD 69 D0 14 93 0D 50 0A E2 34 72 D7 30 D5 6C DA 7B 61 21 C3 AF 42 F6 46 56 D7 89 D0 87 5C 22 23 18 00 4E 96 7C 0B 7D A0 7E BD 8C 26 44 90 F7 98 10 94 65 CE 8A D1 96 B6 42 54 77 EC D8 C5 80 83 6E F7 18 39 EB 4D AF 4D 15 11 48 7C 7E 56 E7 1D 0E 74 12 46 46 20 35 52 49 96 49 36 60 23 7D D6 11 53 E4 71 C0 C1 86 6E 1E 91 04 44 2A 7A A5 E1 B7 F7 31 E1 80 6B 8E F7 34 D4 B2 41 66 0D A6 34 52 42 28 BA 30 DC 14 71 7D C2 8F 14 98 96 83 BF F1 FF 7B 72 78 90 30 2E 47 BC 6C 04 20 6B 32 21 D3 45 49 2E D6 8B 28 4A A9 CA FE FC 9C B0 05 A5 65 A3 30 9F 0B 59 6E 8F E5 F3 98 8F FA 01 CA 31 00 17 2D 97 2B 6D A1 D5 61 8F 4F 8E F5 E3 36 3E C9 6B F1 EE EF A8 79 7B DB 9B 75 E2 B3 3D 0D 3F 25 3C F2 6C 4E 94 D1 37 F5 ED 66 17 ED 52 95 9A 00 0F 9D 6C BD E4 4B 86 BF B2 58 65 8F 86 5B 4B CF 64 08 1C 10 C6 A4 1E 5C 38 AF E3 9B 0F 0B 30 F3 36 14 15 C2 B8 B4 0F DB 17 06 F5 B6 22 2C 68 81 88 AD 22 0F B8 7F D6 F2 CA 92 B5 DB 5C 68 DA F7 71 00 D4 F9 B8 31 CD BE F3 2B B6 01 15 B0 B1 DC A7 A0 26 55 32 0A E9 34 AE 13 7E 3D A0 F4 47 57 F9 29 28 0A CF 8F 5E 60 2E 38 00 E1 49 CC 62 15 03 2D E1 66 5A 5C FE 8D F1 56 8E 87 46 A6 4D 16 FA 85 B4 6C 08 AE B8 8D 0E 98 4E 01 9B 7D A6 AE 70 3F 2A 9E CA 5B 0E 5F 81 18 37 82 32 9E B1 1C 4C 48 0F 74 7B 50 B5 91 EC F9 8F 85 FC 0D BD E5 DB 92 1B AC B7 0D B1 64 BF D9 C9 37 48 4B 17 2C 2B 29 CA 19 78 F6 66 60 2B 93 91 AF BC C0 FF 75 B1 11 F3 4D 32 84 A9 CA 83 12 1C 25 BC 01 89 DD 4C 33 20 A2 35 56 FF D6 E2 D4 7E 13 73 F0 EB EF AA EA 3A 5C 49 52 0A FA 88 63 8C 71 09 7F C0 03 4F 7D 0D 68 FD 8C 6C 8A 04 23 3E F1 B1 71 A7 A5 A3 B0 1B F1 54 6C 9E 88 9C 18 58 80 C3 E6 61 A2 8F F1 61 20 50 24 DB 50 38 57 9C 3C 0E 06 16 D3 9C 3F F9 CD 38 E9 79 CD F8 47 42 C9 23 89 63 21 F6 36 0C 6A D0 54 B8 FE B0 D1 F9 F3 BC FE CB 55 2D 2A 3A BF 2B B9 D3 1D C3 E0 19 A2 29 8B 99 6C 57 7F F7 5A 0B F4 D3 A3 C5 C8 0E 5D 36 B8 BC B1 6A 9B E4 74 33 28 83 BE 68 DE B2 E8 83 71 2E D0 E3 B6 FC 63 E1 A4 70 9A 8C 4B 57 16 22 FA D9 90 7E 5F 73 45 E1 DB 11 37 7A 60 CE 2F BC 0A EC F2 AC 0D 62 0C DE FC BE CE AC 14 6F EB 82 C6 9D 57 42 20 DA EC 00 E9 28 0A BA BC 72 C3 81 2E ED 6A F0 C1 1D 53 17 6D 61 04 C5 4F 28 41 17 85 87 A0 30 2D 7C 35 BF C3 7A C7 D6 77 1D 14 32 29 05 B4 4F 3F 53 9E 47 E0 0F 0F 2F AE 76 90 62 E4 09 85 43 DB DE 72 1F F1 26 A6 7E 83 20 7D AB 13 EC 03 20 70 58 EC B6 F1 59 11 1D 6B E6 E0 6B 0A 84 13 A7 75 F7 52 D9 74 0D 0E E8 1F 33 90 B1 A0 E7 33 68 D2 11 29 B8 E5 C5 06 25 EA 98 F5 31 A1 2E A7 07 9E 51 22 11 95 96 5B 97 41 CC 8F 2D 4B 2C BA 60 30 D6 81 91 5E E9 34 E8 5E 65 7F D7 75 EC C0 8F 80 1F B3 1B F5 38 4C 32 A5 9E 04 F8 4B 80 92 B9 27 88 18 5A 45 A2 0D 20 B6 16 12 D5 E7 F7 A8 0F C6 FE 25 28 22 E0 B2 08 2C FB D1 87 30 72 35 7E AD 2E 62 8A AE BB A4 6B 50 81 32 F0 4C 4D DA 91 1A C0 83 8F C6 C8 BD D8 FB 34 74 71 85 36 85 84 90 62 50 65 5F 50 0E 33 6C CD 3A 50 D8 AB E1 66 D5 78 23 42 A3 BA 96 EE CD 05 90 80 60 2F 38 BE 93 F3 BE 5D C1 9D 21 A5 66 0B F3 89 CA 07 A5 6B 50 3A 56 90 5D 74 F9 7B 1B 43 4A 50 1D DD 34 F8 CB 8B 1F B9 F0 1A 9D 8B 20 D3 55 D3 94 46 19 3D 61 95 E9 00 F7 02 72 F5 BE 1F 08 21 6E CD 38 CB 36 1F FE 1C 52 C3 44 28 09 A2 C5 22 10 CA E9 F5 75 FD 14 1F 47 B1 33 4E 16 9A 07 77 CA 77 84 FA 87 97 AE 8D 2C 61 A7 90 FB 25 AD 9F BA 7D 8D 4C 2E 94 18 31 AA 98 B0 B0 5F 00 B3 03 97 FD DF C7 BC 2D 43 7C FF 73 27 8C E7 2D C6 F6 2B AF BA 8B 5C 08 5E 73 00 EE 52 90 E0 16 27 47 8B 2A DA 12 C8 E1 02 3D 10 22 A4 8E AF 8F C8 34 53 09 8B F3 F1 F9 AB 58 58 E7 A2 37 E8 AA AE 3A 44 79 90 3D BF 98 4E 0F 8F 93 8F 34 04 1D 0F B1 50 A8 67 99 3D D3 31 9E 26 F5 7F 9D 94 AC D2 23 26 3E 77 78 B8 8D 91 75 17 C9 2F 36 5C CB 80 08 55 BB 86 79 B9 E3 C3 69 74 9F E2 8E AC AA FB 01 F5 50 B7 F2 AF 07 8F 1F CB 46 69 1E C1 BC DD EC 15 ED B8 13 03 15 01 27 F5 FD 1E 49 25 8E 71 C1 66 86 E5 CD 12 25 29 94 1F 38 47 EC 26 2B 68 B8 CD 04 D6 6B 7D 01 93 47 20 3C 0D D3 01 83 91 EB 9B AB D6 79 B0 ED EF D7 A7 96 83 86 67 8F A4 62 45 9E 80 C2 05 3C E0 69 6A 20 C2 87 4B AD D2 54 11 5C 13 CC 51 2C 61 C6 BD 5C 59 85 8D 48 30 AF 56 27 E2 BF 3F 72 40 F2 BC 5A 3B 9A 0D 63 1C 90 8E F4 74 A1 C0 4C BC 75 3B 6C B7 76 7B 48 1B 9F 16 AD 66 E1 CF C8 57 76 B8 C0 28 3A 5B A2 C5 1F ED 82 C2 98 34 22 8F 1C 0F D7 6C A7 84 F6 F9 63 EE 9C 2B 6D 0D 6B 88 FD D3 F0 B3 0A 70 45 8F 4B BF A4 33 C2 BA 06 A8 F4 00 11 4D 47 BB 76 1D E9 A0 11 27 3B 17 42 63 E3 AA 85 7C E8 4B F3 DA DB 1C CA 61 5E FC 39 64 E4 77 3E 6A DF 7D 60 FE C4 0E 93 02 69 5C 1C BE 9C 5C 60 BF 4A A4 CF 8C 95 21 07 69 7C BA 7C 52 EA F7 14 60 6A 50 AC BB 98 ED 4F 9B 09 D1 0A 59 4B 4B B3 D4 39 60 18 A3 22 88 2B 04 85 68 68 B7 4E 97 28 81 47 29 CE 66 6A 57 7A AF 96 AB A5 43 0A 11 03 75 20 64 07 63 C4 0D A4 C1 91 49 09 16 6B 3F FB 8A 95 B1 F6 DC A1 D3 90 9C D2 D4 93 24 A5 F8 D2 B8 EF E2 44 C5 42 D0 15 E4 8F DF B0 6A FB 92 22 4A C5 1A 6E A4 4A AD 1C FC 07 07 DC 83 4F DD CA 85 71 84 3F 92 6F DA F3 4F 15 E1 19 29 41 6B 44 50 8F 91 6D 9F A1 AB 45 29 54 76 D1 2A 2F 8E FA 38 86 41 80 1E C4 E9 F5 9D 87 48 50 34 40 85 1D DC 3E CC 85 AB 09 FB 00 BD 1B 7B 4F A3 46 D6 51 52 7B 4D 8A 28 8B 87 AE F0 51 6F 18 56 19 5E 37 1A E9 AA 9F 9C C5 1C 6F 4F 12 E7 C4 62 2A 38 7D F4 4A 73 81 34 F8 70 0A 3F 3A C5 4A CC 33 34 8A F9 54 94 95 4B A7 3C 8C F6 45 47 D1 2B 78 27 70 25 3F 32 1A 40 FD E2 EF 73 1E E3 BC 55 31 65 65 A3 9B 56 56 6C 58 A3 1D 6C 95 84 A0 B9 E6 DA C7 7B F8 F3 42 75 58 32 4E C7 AE FF 04 F5 C8 CC 1B AB F3 8B 4E 65 04 4C CF B7 45 53 10 4B 2F BB 9A 58 16 64 28 AC 74 73 4A 06 E0 E8 31 4E 74 B2 07 0F BD C1 FE 5B 13 2B C2 91 1A E6 B8 24 57 8C 53 6E 70 2F C9 EC 6A D1 FE 97 B0 6F 42 C7 40 F2 C4 3E FF 29 5B 9B 53 0B 9E 8D 1E CC 9D 10 13 4E B4 A7 AE B5 98 07 11 3F A1 98 B5 9A 46 C8 2E ED 15 B9 2F C8 A1 04 60 28 FD 69 5D 24 F3 B7 95 E8 DD 2B A9 B2 E6 3C 7E 15 0D 99 F8 86 AC 57 41 D0 75 9C F5 3D 65 58 1C D5 A6 B7 36 AE F1 FB FF B6 CA 71 97 31 F9 58 6B DF 82 C9 54 F2 19 19 03 19 D8 C3 F8 CF 4D 0F 18 58 1C 39 8E D3 5C 19 26 7E 9E AF C1 9F C9 24 B3 E3 77 22 14 C6 E6 74 C4 49 1A D6 BD 57 5E 48 3B F2 65 3C FC 0B 9C F6 85 2A 39 24 81 C7 7B C4 31 3F 70 41 F1 3C 4E 99 AD 31 5E 68 C6 D2 97 00 12 F0 AF 1A 98 BD 64 C8 4D D9 06 77 59 E8 4B DB 74 1B 23 59 92 5A 62 B0 6A 02 F0 86 7B FE CD 0A 4F 6C 49 F9 07 7F F1 3D 09 C5 3F 5E 54 29 7D 6C 29 F5 8C A0 A9 61 3F 54 DE 3D DB 1A 68 43 79 1B 91 BC 3B 5E FD FC C0 E7 22 79 22 48 C8 44 52 AD 35 F5 A4 ED B0 8F 1D 9A 19 7B 63 DF A5 2B E3 97 77 97 6B 19 4A 04 C2 F7 BE 9D 42 9E 50 5E AF 50 AD 6C 13 0D 5F 53 DD C6 97 AA 44 48 1B E0 A5 43 99 43 BD 1C B9 74 36 2F BD AC 1C C6 D4 90 DE E1 26 9B E9 F5 D4 E5 F9 95 DD D3 B4 5A E9 56 E7 44 F9 00 96 B2 DB 7C 9D 1E 83 DB 51 CA 68 19 F5 87 55 4E 2A BC 2A 90 51 14 56 B4 1C 72 11 7C 7D C0 3B 4E A5 15 44 D1 F5 98 AD BC 88 A0 7C E7 6B E9 0E 20 60 A3 60 9B 5C C6 A3 A9 C5 7E A7 59 BD F3 4E D1 B9 5E 53 07 E0 D8 A3 A2 16 A4 A0 3C 06 43 CD 69 53 E8 26 2C 66 4B 05 70 2F C3 A6 44 F8 62 BE FB 08 2E 84 B7 84 99 19 17 44 D8 00 B8 A1 72 EA A6 F5 4C 43 2B 7A 5C AE 11 DE 22 BD ED E7 E2 A3 47 2C 15 D5 D2 F7 2A 09 78 31 81 8F 2A D3 69 A3 DA 22 98 54 BA 2E 31 65 B4 A9 7B 1B 5A 57 B5 A3 8A 25 30 F8 BD 3B 4D B4 55 A4 73 D4 4D 82 06 1F 7F F7 C7 26 06 02 0E C3 17 CC 2E 56 75 D5 84 F2 0C 7D F0 2B 0D AA C6 C2 4D 22 C6 19 3F 37 1A 3D CC 40 6E 85 BC AF 9A 42 9A AF 57 40 F5 AE 6B 72 33 E3 E9 BB F5 46 78 08 65 51 CF 19 B8 70 10 3A 9B D0 C4 89 1C EE 8C DB EC B7 2E 84 F6 FC 21 08 3D B1 D5 2D 23 A5 CF 2F 30 CE 78 53 05 71 B3 C6 5F DE 62 4F CA 08 89 34 2A 85 19 BE 52 0E CE 77 60 AF FC 61 56 22 FE 1C 52 F2 D7 56 42 A5 2E D1 36 C1 F6 49 3A 9D 8D C5 3B DB 9C 1D B5 5F 52 13 2E E0 C0 89 F1 8E CA 6B 9E 22 C4 D2 C5 02 38 D2 B2 59 D2 05 8D 36 97 E2 76 B9 0A 49 47 A6 EF 7E 8C 6C 87 45 E5 F7 36 44 8B 4F 40 D3 E9 C5 F0 28 68 D7 92 D2 AA EB 3F 73 BF B7 6E D2 CC E6 73 72 11 47 F4 FF 75 06 7F 8E E6 6B 0A 32 D9 C2 89 0C 94 C4 F3 53 1A 4B 8F 93 BC F3 52 D2 15 E5 01 35 21 5A D1 48 1E DC 4B D1 3E 18 E5 F8 8D A9 7E BC 38 8B 3D C2 23 ED 95 3D 01 0D 03 42 EC B3 B3 B0 99 FF C9 A9 88 6E 70 16 A6 9E 04 0E B3 9D 02 57 A8 C8 6A DD 10 E5 9D 52 75 79 73 CB 1E DA 8B 25 5C 56 38 CF 0A 09 1B 34 D4 17 7A 5C 73 17 21 D5 D7 7A 38 75 89 2B 58 EA 9D 16 3A E0 7F 14 1F F5 C0 0B 97 61 F2 C0 45 D1 BF 38 77 6C 33 48 EF BD 47 81 84 57 2A F1 30 4A 1D EF C6 2C D8 7B 91 FA A4 C3 37 44 B3 1A 77 A3 74 E0 65 32 C1 E0 B5 4A 63 3E 7D 88 B0 43 C5 6A B4 0F 94 39 86 D4 03 63 8A 1C 88 45 26 53 7E C1 0F 8E E7 17 BD 5A 33 FF 7E F6 43 25 C1 5C C1 08 8E 47 BB AE 06 FF 42 11 A9 E0 89 AD 40 E6 36 D7 21 6B CD 81 82 07 DF 16 04 91 36 8B 45 9A D2 30 39 5B B1 74 00 A2 A9 A8 12 29 E5 F2 52 3D 89 53 E3 0F C5 B1 11 5C 50 8A 11 9F 90 DE DB F3 8E 1F E9 2D 6B A0 53 9B D9 02 1D 0F 00 AA 9F A9 C0 7B 84 31 A8 78 EF 03 5E 53 69 A3 5F 2A 9E 5B BE 22 FD A8 FE B4 B8 73 62 28 7F 00 1E 76 D0 23 90 4F 4F A6 64 31 5A 03 C3 B7 D3 81 09 19 78 E0 31 68 89 93 BB C4 5D 4D A2 11 3B A3 50 D3 C3 E8 E2 A9 69 22 86 2C 80 C7 FE 08 E8 EE 91 56 3E 58 2A 12 09 4F 34 A8 BF 1B F0 B4 75 96 F0 6A E3 37 0B 49 E7 AA 8F EB 06 BB 34 24 1A D7 1E CC 40 85 4E D0 AD B9 B7 FC D0 0D 6F 82 5B 49 B5 DB 94 A4 19 18 06 EA 8B 1F FE 87 46 47 95 78 E0 52 5F 97 7A 8C 25 CA A9 8B 74 79 23 5E 7C 80 99 F8 B1 A0 8F 36 64 D4 02 4A D6 B7 65 31 BB B9 8D 45 AB 07 79 A6 C9 5B 41 A7 A3 16 DD B1 70 23 E0 40 49 FA 13 2B AD 6E 34 4C 64 1E D2 76 2F AB 7E 6E A2 DB 2C 82 B7 03 27 0B 20 CE 1E FB B9 4C D7 4B 56 24 FD 72 F3 E9 9A 80 76 6D CA D3 E3 8D 79 31 C7 C9 D4 2F B5 04 C7 37 FA 34 7D CC 65 F7 EB BA CF DA E6 E1 C6 F0 04 C8 71 B4 27 64 D8 F0 1C 19 C9 1C 89 DE 61 9E AC 8C F7 A0 39 06 FD 19 35 42 7A DF 97 9A 96 B9 A4 09 76 89 13 A7 F1 2F 07 FD C9 E0 70 4E 31 04 A1 E7 BD CD 44 AE 7B 48 60 25 77 EA B1 E3 56 52 E7 CB 0E 82 C2 2E 9E 43 01 AC F6 64 3C AD 5C 3D 22 0E A4 2F A1 8B F4 F8 92 5E 79 23 B6 28 BB EF 49 A4 13 93 71 F4 F5 8F 0A E0 4F 45 C7 96 21 B7 7E BE A6 5A 86 CA D7 F8 57 25 F2 A7 77 C5 83 D0 DF 4B 36 30 02 08 82 69 8F 8B C6 77 9E 05 CB B3 39 61 CC E4 D2 04 7D C9 0E 1F 85 CB 83 2C EE 64 ED D4 C0 C8 58 98 D7 F6 CA 4D 89 2B B3 08 D7 95 AA CC FA 93 D5 B3 EB A1 F0 1D 44 F6 CC 40 C0 ED 18 60 D0 93 03 04 91 ED 26 06 7F 9C 8C 00 41 14 1F 9C EA 00 56 D7 78 C3 36 0B 1B 70 AD 50 DC CA 96 72 9F 3E 38 23 A1 D8 2F 5D A4 10 F4 66 74 98 CE 34 3A 79 CE 64 4E 50 3D C0 13 0B B7 56 5E 2B 4E 4B 78 BD BE 05 A1 BF 47 83 EB FD 02 CC 64 E8 C4 8F B6 2D BD 3B E0 BC BD B5 68 FD 53 D5 94 B0 20 9A 3D B6 C5 DC 72 79 47 41 C6 80 32 C7 0A 59 86 A9 19 AC EB B8 68 09 6E EA 14 65 BC 88 D6 B1 CC C2 2D BE 0D C6 1F 0C 9B C5 0A 30 2F 93 B4 21 DD 0B 77 AE A9 77 4F 26 44 55 2B 97 25 87 AC 0A B8 39 CA 29 75 54 F8 A3 E8 26 C6 17 B9 E4 36 EA 6F 51 45 A3 E1 59 34 9B AE 6C E7 E5 C4 6F D3 27 6E 6C E9 47 A6 BF 44 04 9D 78 80 8F 9D 73 BA 2A ED 38 BA B7 76 A5 29 1F 65 49 1F 12 ED 82 14 79 B0 4F DE 70 41 49 CF 20 52 69 2D D3 CA 27 51 2D 3D 77 7B E5 9E F0 CE 32 13 12 CB BD 9E BF 24 FC B4 5D FC 71 05 CF CF 94 6F 52 10 52 52 EE 3B A8 B1 3F 2D 8E 2B C8 9C 92 9E AF 0C 2A 1D CE 4B 6E 14 BC BD 58 4D 0C 44 7C E1 4A D5 0B E7 E0 05 13 D1 A3 F5 EA D2 6F 4A 7D ED AA 35 FA 76 ED C9 13 74 87 06 0B 8F 57 99 95 B3 9F 59 F2 21 CA B6 CC 64 A0 84 06 5B 13 BD F4 4E 2F 57 7A 5F 1F DC 71 5B DB 3F 27 91 0D FC 32 DA 04 FF 2C C5 2E 04 13 76 E8 C8 6A 24 99 EA 4D B8 A5 29 A2 81 07 5A E8 90 8C BE 2D CB 79 1B 00 C5 55 12 94 B2 69 58 26 BA 10 4E 49 DD 7D 70 4A 79 92 67 84 95 C6 B7 13 5E EC E9 EB 77 73 04 7E 74 E8 45 34 AA 2F 42 8B 80 D7 13 0A 0C 9D 04 98 5F 82 2D 23 4E DC BA 02 F0 21 5A BF 86 D6 A4 A8 52 DA 3E 5C 24 F7 34 0A C6 DD CA 7A F6 A3 E2 D2 2A 1D A9 C1 3B 7C 64 3C 95 72 4B 17 C6 37 1B 31 F3 2D F9 FE 21 91 A6 AC F8 B6 62 1F 86 8D 0D 3A 10 8A 38 7F 2C 4C 1A B4 3F B9 CC 90 54 2C 40 DB 81 36 9E 86 3B DB B2 07 36 60 A8 A1 C5 87 5E 1E 51 7D 40 0C 4A E1 2B 47 04 C4 14 46 0E EF 68 CC 3B BC F8 ED C8 85 7F 92 C4 A9 51 EB 99 4F 7A 9D B8 EA 3B EC DD A6 B2 A7 EF 8F 89 D3 F5 2B 48 F0 0B 31 4D B3 81 A8 FD 17 81 20 05 18 4D 0F E5 70 A4 8A D7 DC 39 91 3D F9 D4 3E 41 35 D1 A2 B2 F3 B7 91 07 7A D7 36 A9 00 F9 4D BA BB 43 2D D9 67 76 B9 05 AA 82 04 4C 88 3D 93 D5 44 FE 0B 5C FE 96 55 F5 5D 22 FC 0F 42 29 54 98 26 BE CF 10 88 D9 44 FC 88 51 64 FE 14 FC 75 4D 78 40 B7 A5 96 EA 3B 0A FF 11 1E 82 02 1D 46 6E 53 18 D8 C4 31 D4 07 57 6E 34 E3 2B 50 45 B1 D6 D2 0A 4B 22 32 67 A0 10 BC 38 C4 4C 3F 8B B0 15 52 62 D2 D4 43 96 E4 4C E5 39 D5 C7 88 24 C2 53 5D 33 E9 70 0E D1 17 DA F0 EB 66 59 E4 BA AA B2 4B 63 43 7D 17 73 FE E2 E1 D4 6B FB 3C F9 05 CC ED AA F0 15 42 5A E8 9F CC 73 59 DE 28 60 E7 17 F9 14 11 CA CF AC A6 4B 9B 7B 38 63 21 E8 ED 51 22 CB 0A 8B 87 D7 F5 F2 E8 E4 74 5C 01 D9 FE FC 18 04 03 BC A8 05 5C 9C 0D 48 BC 0A EC 67 34 04 CC 0B 20 D3 B2 40 DF 32 FE BA C5 05 F8 4D 60 92 85 AB 02 57 62 32 CF 1A CE 9F 23 A1 9E 75 FC 9E B6 97 5E 92 1F F1 CC B2 4D 28 4A FD 99 61 FF 42 44 8E 41 98 A1 2E 85 45 B7 86 8E 96 D7 83 8E 09 DF 5A 74 5A 8C 42 13 73 2D 20 2D 19 FB 27 20 F6 0F C6 7A 70 45 C1 BE FC 54 C4 F9 3B 42 1A 39 82 59 45 C4 9D CC 7C A0 DE 79 E5 AF 21 1E E7 63 82 37 8D DA 6F 03 09 1C 4D 03 B7 11 7E 30 41 DB 54 2C 50 11 0D 71 12 43 51 84 77 6E C6 F6 2D F8 77 E9 E9 35 72 0B 7E 1B C4 FE 98 99 69 DA 51 71 FD 25 95 23 9C 1B 52 B6 75 D8 ED B1 EE B4 74 92 52 C7 36 AA B0 20 0F FB D1 2D E0 64 16 56 E4 49 83 52 D2 16 C5 E1 0F CF 1D 7D 89 2E EC 1A 12 45 CE 97 5F 23 18 E3 27 6E A1 95 C5 61 90 24 00 31 33 70 97 88 B3 55 59 E8 8E D5 DF 6B C4 60 18 20 A8 4E 2C 01 60 BB E2 43 56 4F 4A 92 81 0F 7A 45 3F 8A F5 A1 A2 09 CD A2 B5 0F B2 EE B9 51 0B 8E 91 A5 97 EC 14 D1 0D D7 C0 0E F7 7C 87 5D 52 22 F5 8D 53 10 A9 A0 4A 91 63 3D 83 A8 16 C8 BC 7C 56 79 B9 AB DE E6 BF 3C A2 87 73 FF 5C AD BD 4C 9E DE 6F 48 C9 46 F6 25 15 C3 28 AE A2 35 61 EF BE 48 3B 35 87 4F 38 5F 81 0A 69 A6 D2 E1 91 3F CA 9D B7 B1 99 31 8D 1B 1E 9A 05 24 51 AB ED AF CA 56 CE F2 73 AB 73 0D 80 2B A4 63 B3 09 BE 32 B5 48 71 27 57 85 E1 3E 45 B7 04 A2 D0 CB 7A 71 CA 07 77 08 1E 0E 29 01 0C 37 ED 78 E4 34 73 41 E8 22 9E 2E 10 D6 6E 15 48 FB 1B AD 90 E4 0D AB 46 5A 64 A2 5C BE 84 11 0D 21 AD 36 48 D4 81 A6 36 F5 6F 23 EA AB 33 1A 6D 56 8A 79 A6 66 4D D5 60 45 E1 E7 14 BD CE 98 6A 68 AB 93 56 2F 26 07 CA 15 C9 86 DB C3 83 1B 5C 81 CB 63 68 25 77 75 F6 CF 58 AB B6 1A EE AF 88 96 69 CC D7 8D 4A 0C EB EF 03 48 F2 06 F7 F4 D4 CF 0C A3 7D 69 E1 C9 2E 6F 30 F0 85 56 FF 0C BA 0E C3 D6 7B 50 62 60 85 DC 4F A3 52 27 D6 0F BF 96 D6 F3 45 F4 F4 23 9D 77 6F E8 7D FA 4F C1 01 06 C6 88 9B 3E 03 36 C4 2F 13 2E 41 F2 F8 AA AF D8 72 36 B5 4D E7 18 20 6F 74 9A 2C E6 2E C4 8B 5D 83 F1 6C 48 A1 55 74 E8 F4 F3 EF 6E 9B 0A 13 CA 8F E4 15 37 30 D5 22 F6 16 2E A0 90 EC FE A9 A2 4E 2B 92 70 57 06 4A 37 3E 84 34 14 72 A6 14 13 44 4F 59 10 BB 60 28 39 F6 08 9E D4 8D CC 33 35 CE 26 03 8A F5 ED D6 54 0F 4A 7E B3 64 5F FB 9D C1 CE DD 10 7D 0F 44 52 01 9E FE 56 F0 4E 75 5A 00 49 5C 80 08 81 10 93 73 99 D8 15 2D 6C 0B BF 9F D3 CC 50 39 62 D6 F6 8B 04 EA B8 1C 17 B4 05 C1 49 AF 16 E4 F2 69 8B E7 59 71 30 9D C4 ED FD EF 16 06 B5 0D 41 C1 C4 F8 7C 48 ED C7 01 03 C7 6E 29 0D 6B 60 F4 C6 AD 10 4A 95 1A 6F 0B FE A0 F9 28 F1 4A 22 F3 4A 82 0E AD 94 81 AF 6F 7E A7 D7 98 EA 51 30 1E E4 0D A1 73 3F 29 2F 1D D6 D8 6C 5B F7 B7 91 51 84 2D 38 96 0B 1E 8A 45 C6 47 00 00 91 03 7B 70 A6 3D 66 3F F3 51 FF B3 C2 2D 74 04 44 C8 6C 3B 2B D6 4A 48 E4 89 78 0A 2C 35 59 5A BA 28 FF 49 8E BE 0D 0C FD 00 95 DA 5A A3 F9 7D 4D D7 83 FD 28 BF FD 14 FA DE 0A 9B A5 3D EB 4B AA B7 ED 07 C5 80 B0 FC 06 FF FB 4B 76 75 B4 07 56 F0 37 3B 7C EC 91 4A E9 4D B3 67 91 96 F2 6F 24 EB DC 9F 29 42 02 59 2B 60 BC 35 36 C6 17 31 64 92 52 F8 D3 72 AB D7 52 2F A6 B1 AA 03 A7 A8 C0 02 37 C8 3D 1E 94 75 1C 32 CF 18 33 DF CC 95 47 FF 07 C9 2D 93 6E E3 7D 5A 65 D1 AB A4 9D 9E 08 92 B4 8D 57 5F 8A 90 15 D4 E6 64 79 2C 8F C9 F2 0D 22 E6 DA 3F 08 CC E0 D8 D8 73 A9 71 E6 03 C2 D1 FC 66 B8 0F C2 B2 78 16 7E 57 94 DF E8 EA 7F 58 A1 6B 7B EA D6 07 62 11 39 36 E5 7B 29 D0 67 31 57 16 EC A2 4F CF 25 52 C9 C8 99 D9 56 27 8E 52 18 05 89 62 80 44 1E AC 70 11 88 1B 91 9A EC E0 A8 6F 0A 8A CE 2B E1 12 2A 89 94 55 F6 BC 97 5A 09 B3 4D 2D C4 81 C8 05 68 4F 22 02 E0 8B B7 D9 B6 09 67 92 F5 B6 72 9E DF D6 C1 98 93 30 D6 CE 21 9A E6 9E CE 6C E5 4A 5D 34 19 22 B1 AA C4 9F CF B4 F8 3F F4 09 3C 2A 63 B9 A7 69 B7 C8 00 DF 35 C4 13 85 D1 8E 42 92 4E 1C 8D 13 8F 96 40 57 9F EA 11 76 CC 10 D4 3A 66 78 4F 21 40 15 5B 33 A3 26 B3 FE D4 4A E6 A5 B0 40 8A DA 2A BD 59 FD 5F BE 0C D1 B2 0A 24 9A 8E 49 11 A1 A5 CB 03 98 0C 1E 40 E0 87 FE C1 3D 6E 36 EA B9 D6 D4 5D 21 48 DA 6E D9 65 D5 A8 75 4E 92 B0 31 36 3D 89 F9 51 52 12 67 2A F4 D3 1A AA 7F CE 0D 65 B5 26 56 F4 39 2C 7B 0E F1 63 90 B1 F8 07 F2 C6 56 92 83 E4 9B A0 9A 6B 4D D5 BA 5C 8C F3 79 DD 60 DE 6B 93 2B 09 2F 24 E6 0A 9D 3A D1 BB 4C AF 14 EA 19 AB 2A 6B 85 E3 E3 F3 72 28 F3 38 07 A2 B5 90 E2 41 30 7F B7 5F 9A 83 F4 11 0D C0 A8 61 3E C8 8A E9 56 6F FC EA 3F 9D 58 53 76 24 B1 77 2B 31 2F 58 D1 C9 4F 29 8B 9A 6E D9 C5 C9 9A 61 F6 65 59 0D 69 C2 8F D3 E6 AA 3F 64 79 04 5D 33 70 D0 22 44 51 C8 BB E8 6B 23 0B BC 58 7D A0 F2 BF 43 B9 18 8B 8C 05 09 79 7A E1 F9 E0 FE 80 F1 39 A7 83 F5 4A C6 E2 DF 4A 6E 64 C8 C1 D9 B8 D8 23 88 22 B9 35 4D 6B AC 10 43 18 02 A6 F1 38 01 02 B4 99 75 0B E9 58 18 37 83 D4 D8 35 EB 7A 7B E1 51 E2 B7 C1 A6 B8 02 43 E0 F3 1F 91 71 59 57 6A 95 78 7E 26 50 42 28 70 13 BE A4 57 FB A8 94 A5 C5 21 A3 85 91 85 B7 83 B7 EB 9E 0B BC F3 75 E4 46 23 97 BC 5B DA 45 97 CC DD A3 14 11 4F DD D3 26 4D C6 F0 36 73 78 2C 30 7A 83 03 E0 BA 5B 35 8F D8 99 2C 56 1A 07 28 FF 87 EF 64 9E B7 6D 6D D0 DC 21 F5 C5 11 46 FA D6 56 42 15 60 EC 3A 14 03 D4 EA F1 DB 84 82 DA 8B CA C8 57 2D 6B C0 A2 BC AA F9 A5 31 AC 24 4A 4A BD 92 91 82 3C 45 76 03 23 F7 03 C7 F7 5B 2E 16 9A C8 1C 80 85 35 3D C9 57 4E 30 45 59 63 93 91 99 C9 72 4E 90 A2 1D FC 8A 28 68 0B 25 99 88 CF AD 0B C1 F6 71 5A 7B 72 69 03 9D AF AB EB 2A 85 CD 7D A8 22 89 FD 2F B3 B4 C8 6D 85 8A B8 F4 F8 72 5B 21 D1 D3 58 B7 99 9E 37 6B D4 8D 6D D5 0F 4B 4B 70 48 26 BC F7 5D ED CC 00 59 89 82 0B C2 1E 07 BD 9D 3B 21 A4 0D 64 9A 93 94 2E DC 0E 52 0C D5 0E 6B EC 6D 7B 00 F3 BE C3 82 81 1B 36 42 86 27 0E 4B DE AB 66 18 2D 45 5F 67 F6 89 26 76 61 ED 12 82 B9 7C 3F C6 50 B8 2F F0 C1 7D 1C 71 0F 64 44 1A D2 13 35 95 0D 5F 1C BD 07 BD F7 2C 71 8D A2 C2 3D 90 BF 23 1D D8 71 F5 5B 51 52 89 CC 20 E3 8D 75 F2 BB 35 82 4F A1 B1 64 E5 2D 8F BA D5 9C CA 6B 60 FA 77 7B 08 A3 83 02 4E D7 77 C3 B3 00 E6 01 E8 82 6C 45 F6 AD B8 FC FD D4 D2 AF A0 AD 94 14 0B 72 F7 DF 00 D8 DC 96 AE 3F DE A7 38 D5 E5 4B C5 B3 D8 79 49 C5 21 6A B2 0A 06 9F F2 51 72 C4 01 F4 0F A5 51 D0 DF 4F 17 BF F3 F5 42 60 A7 8F 6F 72 45 C0 FB F0 3E 21 47 CC 05 D8 1D 8E 0B B6 03 E7 0C BB B5 2C F9 26 13 C2 19 95 F4 1F 03 A5 FB 52 18 E8 7D 35 DF 5C 25 97 40 7C FC 14 8A 60 0E 88 79 7B 6B 09 7A AC FE 61 45 AE 87 36 65 31 07 2E A6 DD 57 84 AE 3B 72 F8 A2 1E 74 28 7D EC C7 CF 52 55 F4 22 90 3C 14 E3 FD 2D 9B E2 16 EF 24 A1 24 87 67 7C 51 E2 9F B2 E8 75 A1 2D 81 BE 91 5D ED ED 1B BC 46 00 F7 99 39 7C 87 17 CA 6F D2 73 32 50 90 76 4D 92 35 6E 29 36 C8 E7 53 21 4E 95 C0 4E B6 5B B5 E1 F2 3B C5 FB 65 69 DF 97 E9 E6 CB DB 50 A9 D5 0C 81 CA 34 49 28 45 1E F9 A4 64 3F 1A 6E 3B 34 CA 6D 70 2B F6 7F D8 89 EE 6E CB 03 A5 F7 8A BC 80 EE 6D C5 29 2C 31 F5 8F CE 36 AA D0 34 CC F2 6B 26 B0 B1 E5 AD BD 7C 9B FF ED B5 C7 CC 8E 4E 1B 03 85 BB C7 E7 20 83 61 71 6C 2B F1 57 A6 5E 34 63 49 D7 14 96 C5 68 86 29 D5 C9 5C 8C 89 E2 12 A9 5B EC 1E C0 50 48 E7 2C E2 94 4A 05 A3 31 CE 1A 11 AD BB 41 D2 82 A1 D7 F2 BC 8C 69 92 CD B0 B4 55 90 80 C2 5E 37 02 39 20 32 21 3D 1A 3A 2D 82 25 BA 80 89 8F 2A 59 05 AA 26 16 B0 A7 B4 63 B2 BD C7 A2 AA A4 84 E0 7B 30 F1 B4 32 8F 9A 7C 90 AE A8 08 F8 41 C7 89 FC 01 4F 8C 32 CC 0A 7D 66 01 32 C8 2D FF 42 D3 59 EE 3E 1E 39 A5 A0 A5 CD 5A A4 8E D5 EB 3D F0 3D 6C 2B 9D D7 D0 4C 0F 15 10 F3 16 3B F2 38 68 E5 7E 33 42 31 98 1C 6E DB 06 B2 15 1D 9D 7B C0 D5 83 C7 3F 22 B6 AD E3 F2 55 BF 90 1B 0C 2F D7 8A E6 29 9D D6 10 31 D3 41 A4 33 87 9D CD 39 C9 3B FA 91 6B 8B 89 3E 85 DE A5 74 95 50 5E C2 48 D2 B5 34 7D 59 17 00 0E 8A AA 4F B3 34 AC 97 EE DF A9 C6 94 1D D7 56 74 12 BA A7 CE 25 0E 0E 19 FA E0 A0 7B D0 D9 C5 F1 16 9C A4 C1 47 B1 1B 6E B6 29 2F B5 54 E2 66 CE AB 11 31 78 2B 40 BE D7 39 6E DE ED 37 88 7C BF E9 D0 19 6B 92 77 CC 91 68 18 D1 A6 0F 3C 5D DF B0 EF 62 FF 7A D6 4B 59 B8 AE EF 63 55 36 88 B4 3F F2 11 C7 5A C3 60 A3 E4 09 DD 7B B3 96 DF 8C 00 1E FA 4E D0 AF C5 46 1E 74 91 EC C5 6A C4 1D E0 94 AC B3 69 87 68 FD F0 46 86 A1 82 50 9F 1F 17 B9 C1 17 41 CC D5 0D 91 B9 DE D3 53 D6 71 5C 1C 80 93 A7 C2 C1 4C 8A D6 CE 19 00 F0 79 BF 4F C9 AC D6 0E 4D 3B 32 47 4D A5 F1 6E 5D 82 FF A6 1C 32 53 A3 0D 77 C8 A6 4A F9 B2 A0 96 5C 32 33 86 57 0C BD 8F 45 32 75 2E 84 B2 6E 15 BF C3 28 DE 88 FC AE 5F C9 6D 89 70 BB 29 0E E7 98 13 F6 05 F6 98 71 29 B4 C7 82 38 FF DE 83 47 75 42 AB 1C 81 27 3B 72 42 C7 BB 5B 06 6A AE 64 7B C7 52 DD 1B AB 0D D7 6C 4F AF 57 09 D9 17 62 3F C9 0B B1 C9 93 D0 58 B7 AF F2 FD C0 2D 32 4C 9E 1E 08 5D F1 10 5A 02 B4 5F D3 D4 6D DC 5F 76 70 A0 E9 E3 53 90 62 5E ED 2A F2 BF CB 31 28 D6 81 1A C2 93 49 DE AF 7C CB 09 9D 89 7E 86 76 FC 92 AF 91 8F 67 B4 26 9A 34 1C AC 00 4E A3 BB C4 70 47 7A 42 63 87 6A 0C 05 D8 C3 27 DC D7 7C D8 82 97 2A CB 4C 9B 7D A9 F9 A9 46 00 F9 DB C9 2E 00 DE 89 0E F8 18 F0 B4 EE 3D 98 1A C4 A8 62 32 8C C3 DB 7E 48 CF 1B 88 34 01 42 7C 1B 27 2C 89 05 F6 2A C2 DC 00 88 3B C6 3D DC DE F1 C4 36 F4 51 28 E6 2B 39 97 25 51 7C 2B C4 5B F2 87 05 3C BB CD 6A B3 83 3B 5A 90 33 B0 A9 66 E5 0D 51 05 81 68 7A D6 C7 80 31 0F DB 1A F3 E4 7F 05 AF 9B C0 B5 99 BC 67 F6 D4 B6 7E B9 CF 1B 02 45 17 AF D2 0A 8A 07 03 58 8F BA FF D2 DC 74 BE 0D EA FA 71 8F F1 6E E9 78 20 34 B5 83 1C 63 60 C7 02 36 A3 55 90 CB 12 E2 64 BD AA BD BB 5B 57 1A B8 08 F6 90 54 5B 06 C6 D5 A2 81 7C 48 CB 18 9D 30 66 71 B8 8A 2F C9 B1 EE 5B FB D5 D1 35 33 A3 97 D7 BA 3E 7A 1C 82 F6 2A 87 E1 05 87 8A 82 C2 8A A3 8F 66 B5 92 33 00 21 A2 E4 96 2C 62 1B A1 5E 42 C5 21 BA 9F 5F 0E 72 56 DE E3 28 17 8A E4 A8 7E FA 4B 5D 03 88 E1 3E BB 50 15 5D 39 02 8C 53 01 17 5C 52 ED 25 B8 46 7D 7F DD 34 84 3A B0 EC D0 94 CA B0 A2 16 C1 37 48 89 75 BF 5C E3 55 CA AB 26 F1 EA 8C 6F 91 99 0A 3F 58 42 DC 98 08 24 13 35 03 7D C0 70 4E 37 8D 16 0E 68 46 85 4C D1 B4 66 32 DB 95 8F 86 FB C4 9A 38 A7 6E DF A1 5C 52 BF FB 44 97 CA 24 4D 25 6F E3 72 A9 D4 21 49 5B 08 E0 64 81 50 3A E9 18 F2 B4 4D 68 CA 68 57 00 6C 3B 50 79 4A C9 00 3F E6 32 A7 0B BB D3 E7 A2 AC 1E 27 C9 76 5F AA B7 A4 52 66 F4 E4 17 00 78 DA 0F 9B 08 09 95 45 F4 79 B0 30 AA 59 8B CC 90 78 0C 48 4A 09 01 33 B7 17 4D B4 6F DC C0 85 6F 5B BE 36 E4 59 2F 6E 39 4C D1 0F BC 8F A0 90 8C FD 90 BB 66 80 7E F2 2E 15 C2 9E 70 29 5E FD 1E 37 01 B0 E0 EC 4C C8 69 E4 3A B3 0F 02 33 BA E9 BC 88 E0 42 42 35 6A DC F4 A1 91 5E C9 8D 4E 35 37 08 48 A6 F6 A6 6B 60 46 31 44 F1 72 AA 40 3A 9F 26 8F 1F 33 D2 9D 64 69 D8 F4 B1 33 50 1E EE F2 0C F2 23 CD 28 3F BD 5C D6 17 4C 1A 0F A2 1D 25 96 EE B5 B7 1B B2 D5 49 FD F6 28 31 02 01 8A 9E 89 3E 9B 57 C5 2E A5 98 DF 60 9E 48 9D 5B 0B 49 4E A5 AF BE 85 27 43 41 0E 8D 87 31 DD 2A 22 F8 B8 36 F8 98 1F 9B 14 F7 25 84 37 28 CD 00 95 17 43 D3 93 96 C1 94 3B 94 1C 4D 93 D6 F3 23 72 59 0B 59 E8 B2 E3 E5 F1 27 78 2E 73 68 15 75 10 19 54 E3 DF D7 3B AB 3E 1F 4C 75 6F 95 8A 8C F2 BE 06 7A E1 F0 95 E1 54 95 F6 4C 52 BB F9 6E 29 11 1B 2C B0 1D 60 C2 70 2F B6 13 0A DE AE 68 9A 58 2E 52 B9 33 8A A9 25 77 9C 3F E7 61 76 81 95 50 44 21 78 17 3A ED 46 CD 3F F8 1B 89 90 9A FD 60 FD B4 B1 60 A4 12 97 A5 EB 83 C9 A2 39 46 B9 5C EF DA 4C E0 B7 7F 63 A9 A8 3D EA EA 27 A0 C9 BA 15 9E DD 20 8E 09 01 48 1F 67 09 D2 95 76 FB 33 03 0D E4 2C E8 7C BC 38 1C 3F E6 BB C6 49 38 4A 5C 25 0B 95 54 87 00 D1 C8 5E C2 D9 02 10 55 31 CA C8 E5 50 38 65 B2 63 B0 7C 9C 10 91 08 FD 49 67 9E AE B1 2C B5 A8 D5 A4 AA B6 1E 3C 59 6D A3 58 EF 1B 6A 96 92 4D 31 9D 6F 8B 2A 46 05 F8 48 45 C1 78 A6 34 C1 CF CC 9F C3 C3 1F F0 0F D7 76 5F 98 0E 12 AE E0 CF B4 D8 19 91 66 40 3C 42 0C FD C0 DC 88 0C 91 37 5A 03 FA CC AD CD 6F 6E A6 EF 50 7A E7 C1 F2 A5 86 BD 81 EC AB AE F1 15 66 5B 46 17 2B 52 AE DD 50 CF 29 08 3F FA 00 D9 07 0D DF 45 30 20 E3 58 45 88 0D E4 63 EF 5F 57 70 C4 5C 30 A1 44 3A 7D 0A 0E 18 81 84 5F B8 EE 48 51 19 CA 84 ED BB 59 4A AA 0D BB 7F B6 4D C1 B8 32 BA CE D8 67 3F 7D 26 0A 02 A6 C1 91 76 CE F7 C5 04 43 F2 BF 24 26 5E E3 C7 8D F7 B0 B4 32 97 7D 3F F0 53 9D 5B 24 D7 F9 50 19 BB D0 65 E3 7C 07 10 C6 98 8F 73 8D 59 A9 BD AF 3F 85 6E 7F AB 60 AD 83 3A 87 FB 47 7B 0F 2B 77 5D A8 E5 45 20 00 3F 22 D6 AD 06 91 D8 49 25 0A 52 10 6C 42 8C 81 4F 6C BF B1 6F C0 98 E1 20 D0 59 00 DD 9B 8D 55 F6 25 54 93 E3 CB BA 11 78 70 5A 09 58 F4 BB ED 75 92 34 E5 31 AF 0C 6A C3 DF CF 15 F9 A1 11 EC F6 23 2E B9 71 EF A5 A7 2F F9 16 0B 33 CA 1B C8 2D 6B 07 CD D1 D6 03 46 ED 49 55 E4 9B 8C CF 78 A0 B1 1A DD 84 55 5D D1 58 B0 CE 41 79 40 C3 A7 DA 85 50 DA 7E E2 87 F0 8D 10 41 7B 1F 77 C3 62 06 ED 77 77 1D 85 13 5F E3 C5 0F BF 46 3B D1 B4 6E 31 8A 6D E8 0C A7 90 24 BF B2 EC 1D 83 2E FA E4 F4 CC 83 B3 D1 BA D1 6E 31 0B B6 E5 AB 1E FC B5 0D 68 4B 92 5F 2D 3C 5B CC 67 CE 59 6E 66 D4 60 03 90 52 92 C2 AF 90 3E AB 2A 43 B7 18 66 29 74 C7 54 AD C6 C3 D3 0E 8F 77 37 C8 4B 88 37 9E EB A7 B1 70 94 F6 98 AB F7 18 24 1F C6 BD E7 35 CA 3F B5 3B 19 92 80 1F FF B6 D6 4D 6A 57 5D 7D 5B 35 85 CC 31 72 84 86 7C C3 13 85 C5 7E 94 6D 7D EA 1A 53 B4 72 EF 9A 33 7C 34 22 7C 08 D0 1E B3 F5 14 A5 09 5D E6 BE BA 40 95 13 12 25 62 1C 1D 91 08 E2 4F 1D 21 A2 DA 00 54 78 8B 08 95 B8 6C 5F 8D B7 4A FA 02 21 41 51 43 A5 16 5E 14 0C 71 FA A0 E2 A5 86 F5 82 6A 19 E4 25 46 83 55 30 FA 10 F8 AC 4F 75 5E A6 34 99 D5 4A 97 EC A5 EA 62 E1 51 4C B6 CE 58 33 14 D9 85 50 D7 25 C8 86 7C 32 4B 09 62 2C 8D F1 86 6F 6D 6F CD CF 4F E6 44 AA 3E 08 CE 61 0B 6A 3C BA 54 8E D0 F2 33 44 49 3D 93 62 E9 59 30 87 02 99 39 51 31 B8 6C C2 85 E5 55 8B BE E3 F7 A5 10 4D 61 72 ED DF 73 17 97 56 71 CE 70 5E 1E 86 8B B3 F1 47 39 F6 69 B7 4F 66 C3 8F 92 00 63 3F 17 BD FC A9 B4 F5 26 33 82 5D 95 52 E7 1A 9A 38 BB 40 DE EF D5 96 9C 2A 5D AF D2 C7 61 AA 85 A4 9C ED 62 FD 5A C6 C4 D9 D2 88 58 3D A1 73 6D 43 4C 2F 60 AA AE 16 DF 7D 29 37 88 D1 13 A2 88 51 F1 AA 27 01 84 A8 CA F1 81 A9 0A EE 26 53 E9 00 4B 93 04 D0 6B 07 1B 2B DC CD DF 16 64 C7 F3 E3 95 D8 22 BC 4C 03 19 01 7F AC 2D 83 28 61 29 BF 27 0D 44 27 19 D9 58 7D 0F 36 3F D5 A2 84 76 15 D7 6E 61 18 05 C2 E4 A2 12 ED A9 BA 30 DB 61 F3 1A B7 19 B0 8A A4 E8 0E 0C 82 15 88 0D 02 DB AA 72 7D 74 1F CC 2A 07 3C E0 C2 D7 D0 2C 8E 59 CE 60 83 B2 78 F5 99 45 D4 67 69 32 01 BD DC 69 96 92 E8 1A C9 1B F8 0E 38 E1 7C CB 9A 80 2E AF 01 7D D4 92 CB E6 3B 80 65 A2 7C DD 54 66 82 DE 47 DB A1 CA B4 56 E7 1E 66 AD CD 19 44 34 AF 00 8B 42 7A E4 AE 97 71 8A 74 1B 32 00 49 07 FE 98 45 F6 62 6C B7 02 E0 AE 50 F0 D5 2E 74 FE 58 8F 90 08 CB 65 73 9F E9 66 F9 9D B6 A6 F6 6B 58 E9 93 56 C3 22 7E FA 53 21 F8 A7 E4 38 50 3E FC 47 38 99 B4 6D 2E EF 5B D0 92 1E 08 B8 43 96 3F 18 79 54 7E 2F 86 39 D4 54 54 B3 5E FF 43 63 36 BF AA 63 2B F4 29 F2 3F 1B 86 07 0C 6E AF 0F 3D E3 33 1A A2 67 7E 4E 1C C2 29 73 5F 34 75 78 E4 FF 33 AB 41 DD 34 37 CA DA 07 AA 24 DE B7 4B DD 38 7F 66 F1 30 59 C6 79 DE 3B 09 C1 41 CC 4C 61 56 1E 29 DB 04 15 0B BC 7E 34 8C 3A 21 83 7F 3A 99 62 57 21 00 B7 00 23 28 5F 45 AF FF B2 24 6E 4E 51 E0 67 EA 69 74 AD 92 7C 52 10 AD 7A EE 06 58 D0 BC EB 65 2A 50 3B C5 7F B8 52 E2 50 FD BB C7 87 58 5E E0 78 F5 4E C9 09 C6 C9 EC EB C9 0E 65 7D 14 43 D8 22 B8 76 DD 3E DF 2F F8 96 97 BA 2E 54 28 92 E2 7D 43 81 59 75 56 D9 CB F2 0A 04 0F A1 F7 99 56 6F 88 75 F9 AB 21 76 D2 9F 22 50 E4 0B 1E 42 11 B5 D7 24 F7 1B 46 F2 0B 79 0A D9 38 AC 57 17 CC FA 96 8A EA 42 7C 19 7A F4 4E 2B 54 05 30 FB 52 4F F7 58 BC 92 48 0E 31 E8 B6 08 96 83 E7 9B 1E 5E C9 93 CA ED 95 63 E9 73 65 64 04 FC 8A B8 0A C6 27 AF 78 5B 70 99 DB 40 25 B3 78 34 E7 05 8E D7 EE AA 4B DD D7 DF 27 40 D4 B0 A1 95 FD B9 98 EF 2D 71 00 35 61 61 F4 F7 88 E5 06 47 65 6B 48 20 82 72 78 54 72 C7 7A 20 0E 76 2C D0 28 9B B2 CF F7 53 10 94 FA 3C 9F B7 95 FD 08 B1 7A C4 3B D0 00 4A 63 4A A9 E9 A2 C7 8B EA 38 0B 9E 21 AE 6D 7E 08 01 8B A0 14 39 12 76 4A 68 AC E0 B0 C8 AE DD 50 C1 AB 29 4E 0E 46 F8 6D 75 45 FF 17 06 E7 EA 2F 35 BF 4E E1 5D 78 36 8A B6 83 CF A1 5B BB 8A 69 9E 8E FD FC EA E5 7F 6F 41 DE 8E D0 3B B8 D0 C3 18 1D 3F D5 23 E9 87 2C 72 E5 50 FC 41 3A C4 F2 22 26 90 8D D1 F5 E7 42 D0 FC 33 A1 2D 8B 79 9D B8 06 73 81 A0 19 C5 D7 62 6F AF B0 8F 80 B7 D2 41 2E 24 39 AA 7E 0E 93 D2 17 06 9C B0 4A 2B 28 F6 57 8A 06 2A 92 EA 71 84 4C BB A9 56 F0 AC FB D8 C1 8B 5A 1C 04 E7 35 7E 71 E9 D5 E0 C6 D6 5F 7A 07 2D 4B CB 64 38 2B 1A 97 F2 BA 65 16 F4 9C 72 A3 C5 4E E5 60 DA 53 0F 91 FF 0F B9 9C 00 44 EB F9 76 E4 D8 DC 80 15 2D F2 B7 48 EE FA 4F 7A 1C 98 B7 7D 16 3D ED A5 C6 04 17 BA 7D C6 D6 F0 69 F2 36 AD 73 89 70 93 7E D0 09 06 3C 66 D1 75 3A 5D 18 C0 32 C0 C9 7D 9A F0 C1 08 40 33 26 4F 38 7B 57 96 E3 22 A2 53 39 9E F5 6B 62 CB 61 9D AD FF 5A F2 23 27 26 FA 61 EA E1 83 2B 95 6A AA 46 44 AE EB 83 34 3B 8F D0 BF 9C 19 AC 1A 45 40 18 F3 48 5F F9 3A 83 E7 BA 26 CD 71 9E FB 66 6C 20 ED F9 D8 B3 42 3D C5 18 31 D3 B6 93 CF 8E 0A B8 3D CB C8 76 7F 55 4C B9 72 C4 98 CA 97 A3 96 90 2D 57 79 B8 99 42 AC BC BF 14 F0 2B 22 91 F0 2A 25 87 4A AF 4C 94 78 42 C0 EB 26 E4 64 D3 C5 48 26 EB FA AC F6 E9 C0 1C 60 70 E1 80 10 55 AC C6 63 5E 0E 72 74 8F 8C 15 A6 9D 0A 0E 64 3E 5C 91 65 AE 9D CF 2A B8 D0 42 26 38 AA 7E 53 2C 20 B9 93 B6 E7 CB B9 5D 1F 3C E4 DE E9 E1 6E E7 64 1C F3 9C 14 37 29 A3 11 91 31 2D 04 55 7B 4A 80 FD A9 50 74 94 72 65 EF 27 88 A6 75 1D 35 46 A8 6E 57 B6 2D A8 8E CB A2 67 D1 F1 D1 A9 E4 2E A0 EA 55 8C C8 62 A6 C7 99 FC 4A BF AF 16 F3 A5 39 54 A3 21 8F C8 FA 34 0E 73 01 5E 39 93 00 AD 17 3F 22 3B 68 F0 24 60 D5 32 F0 23 96 8C 7E 92 BD 98 A6 89 53 38 77 91 59 EE 6C DB 85 78 2C 13 76 89 00 0A 78 DB 0A 4A 48 6B 6B 72 F0 D9 D6 86 12 3F 9D 20 EE D0 F6 10 ED EC 1E FA CC C7 4F CE 69 D6 90 3F 08 30 C5 41 1C 0C 87 3B 41 6F 20 91 E6 7C 1F 5C 6C CB 11 5E 3A 7C C0 DE 29 5C 70 2D 3F C6 3D C6 61 AC 84 F1 7A AB A7 1C 59 04 58 8E 6A 31 3C 2D 06 7B 7C 85 51 7F 29 B7 8A 50 4A F1 F7 96 7C 13 43 9F 6A FD 7C B0 E0 58 A5 77 BF C2 CA 06 2B 38 91 AC 54 4C 2C 58 19 6A C7 26 04 84 F3 DE 53 3F DD E6 46 48 4D 2B 31 43 2D 71 AC D5 7E 95 88 E7 54 9C A2 89 B2 C9 55 2B EF FA C1 32 19 9B 0B 6D 45 94 E8 39 AE 1D B5 F0 8A 2D 71 4D 1C 9D 21 BB 09 53 48 BD 8B 72 AA 7F 5A A6 3A 29 56 32 B3 8B 52 EA AB 41 6C 4F 7D DF 3F 60 85 5F A0 83 7D 5F DE 4C 01 85 A3 60 A8 C5 2D 97 A9 A7 4D B8 E6 81 0F F4 46 67 D8 AD 14 1E 54 66 1A 8D AE E4 54 A6 A4 38 76 F0 CD 70 FF 43 C1 D2 40 E0 88 22 0E 6C 8A 1C D1 34 8B 9E E8 32 A6 05 46 AA 63 00 D1 2D E5 56 77 82 A9 C9 EB 2B C6 CD 88 07 F5 94 B3 99 63 A6 1F 16 53 95 2C A0 CB B5 FB 3A F4 7D AA AA 84 E2 4A A5 23 83 56 43 E0 23 DE B4 22 FD C1 92 E4 7B BC EA 88 B3 A8 DC 5C A9 3F 76 A0 82 3B A0 23 02 0F 2F E6 B0 15 1C F4 27 21 52 E4 43 B3 62 3E 3A 7F D1 11 19 0A 6B 14 DD F3 A0 EF F3 4C 66 2F 17 C6 B2 63 7B 2C B3 3C 1E 22 68 E0 00 54 DC AE 34 6D 9F 0C C5 8C FA 19 82 DB 77 56 EC 52 10 68 25 88 09 15 A6 0A 7C 83 F9 3E 47 98 71 32 37 ED BD 51 80 64 06 CE AD D1 B9 6A 7E 5C 40 0D F4 C4 2E 2A A6 0E D5 45 0A B3 BE 36 3B FF CA AC 89 0F C6 54 95 1C 0A E8 B8 B1 0F 6F 47 D5 83 CB 96 CC 07 8E 0C 66 C0 71 00 4B AA 3F 3C A8 CA 74 C6 AE 7B 45 ED FA C6 2D 7C EC 2D A1 BC C0 27 E3 80 ED B6 41 E2 78 2C D4 E6 B7 23 BE 6E 88 AB B9 42 0C E2 C4 8E C4 37 B6 EA 71 08 B3 F3 7B 8C A6 69 FA 04 1C D4 24 15 91 E6 A3 C5 17 26 BA 6A 86 0D 63 78 AD A8 C1 31 35 E5 C4 25 86 34 BB 1E 29 7A 4D 61 A9 39 8C 6B 70 1D F5 C8 F4 65 5E 40 8D 45 6D F8 EF D2 71 69 BE 5A 36 92 39 15 6B 5E 08 55 9D BB AC FF 57 C9 5C E2 60 C7 A8 9C C5 28 34 6C BC C1 4C 4B D1 54 BE 01 48 0C B1 BA A3 77 CE 63 88 5B 39 15 03 F7 00 D7 69 E6 5C 12 D7 92 11 96 B7 B0 B5 53 92 15 4C 52 A4 59 5C 9A 16 58 1A 52 C1 26 9D 42 12 86 D8 EC 19 D7 A2 24 48 7E 0E 8D 0D 4B B1 1D 0D 44 FA 43 C8 83 99 FE 38 CB 93 6A 0E 22 BD B3 ED 9B 5A 8A 64 CC 06 52 BB 4A D4 8F FB 12 17 2B D3 4F EB 3C F8 EA AB 9A E5 17 6F C3 60 BA 74 D0 80 57 EF D5 85 79 29 D2 BD B2 5A 56 F4 B7 0B D7 06 07 90 2C 57 5D F7 8D A3 1A AF 11 09 07 28 72 BC 0C CC C9 BA 05 29 E5 9D E1 BC 6F AD B7 4C F3 53 43 F9 A5 04 7B 8D D5 5B 86 20 20 BF 0C 70 68 C6 E8 49 96 D2 DF E1 E0 CE 85 8E ED D3 C6 9F D1 5B 03 DD E6 DA 6F 4C 23 E9 06 F9 5E 0A A7 2F 0C 3A 2D E9 79 92 CE 86 59 99 90 E9 BF 1F A0 CA 44 4C DE E0 C8 72 0A E6 60 57 85 82 65 5D F6 14 17 2E 16 C3 B7 52 BE 83 85 7E 22 46 DD 92 E1 A7 1F 62 42 97 A4 34 AE 77 5C C5 17 1F EE D9 F5 B5 0F 49 02 5F 96 3E CA AE 97 E0 F4 EB C4 CA B1 3F 91 0B 66 E1 7E 17 D1 BC 30 81 9C A3 7D EB 18 81 4E 9C 15 14 DF 3B B1 3C 7D 12 9E 54 B5 D7 34 6C 34 5A 99 B6 37 B5 55 E7 A2 60 1A E7 F4 C0 E3 8E 50 02 80 AD E0 05 3F BA 26 36 30 FF 3A 40 72 22 85 C2 7E 4F 40 DB 0D E7 22 13 1A 57 68 96 77 CC C8 8C E6 78 24 3E 44 71 9D D9 E0 0D 2F 88 61 ED 8E AC 84 BF A1 E1 43 7D 6A A3 86 0E D3 2A 32 A6 88 F7 8D BC CE 92 4A B1 E1 DC 2D 14 D2 01 9C BE CD 01 82 71 44 3F AA EE 01 30 29 75 6D 37 2F 3B 24 32 AB 28 5F 7F 93 F0 19 3A B1 BA 0A CB 39 3A 99 2C D4 59 B1 04 F5 CD B1 C7 70 40 92 D4 AC A0 05 9F E1 19 9A 5C 43 1B FA 80 B5 A6 E3 05 AB 1D 45 AD AA 7C 33 52 61 84 6C 07 88 5D DD F1 C2 02 AA 85 F4 FE 67 72 9E C6 62 AC 56 98 30 09 C9 A4 70 C0 E8 90 B8 D1 E0 94 E9 14 B3 4E 2A 09 17 F6 FB 70 AE E1 DA 04 76 76 F3 96 EF 16 AA 98 0F A4 A5 E6 98 0E 95 6D 1D B3 47 68 2B 23 52 63 21 6D BD 01 A3 8A 13 37 AC C2 3D A3 E2 6C 6D EC 39 A2 D5 FC 07 AE 1A E3 12 3D 83 12 92 58 F9 E9 B2 D9 69 79 2A 08 73 F0 EC 72 61 74 0E 38 6E 8A 5F 30 8A 10 E9 FC AB 24 DE 6D 92 51 E1 E5 63 9B BB 60 AF C4 D8 67 71 66 B7 55 78 DA B3 70 22 F5 A5 DD 25 2A E1 D7 C9 20 C4 56 7B 8A 4F 69 FC 0F B4 84 11 25 DD F2 91 60 8B 1D 36 6D 75 1D 8F D0 09 A0 66 3A F1 29 08 EA 68 DC A4 44 1D 3E 24 15 06 C7 C3 DC 36 DB 51 3B 28 69 5C 6A 43 D0 65 72 76 3C 38 6A F2 16 CD 8A 02 E9 5A DC 57 5E CA 25 D2 96 97 4F 55 CE F4 19 54 B8 AF 90 1D D6 00 BD 96 53 87 42 9F 89 86 FC F3 C0 C6 09 47 14 D6 7A 27 3D F4 E4 B6 C6 51 98 0F E1 13 D9 9E 19 C1 9D C8 94 2A 21 BF F4 A7 7A F2 DB 8F C2 7B F9 88 D9 C4 98 7A DE D7 B6 82 35 BC F6 F8 BC 33 C4 2A C3 63 7E 00 A6 D9 7C CC 4B 27 49 FA 9A 0D 13 9F B2 D4 DB B9 50 8D 3B CA E0 99 08 2E C8 94 5F A1 14 51 CB 64 14 0E 28 B2 BF 06 D9 D1 07 88 77 3C EC 40 55 C2 89 F4 67 4A E2 5E 90 A7 73 C9 27 05 47 3F B4 38 A7 9F C9 93 9C C2 BA 21 0D 5D 3E 4A 25 6C DE 83 A1 61 28 40 ED 2B E6 FA C4 CC 89 05 76 76 59 81 19 28 99 6C B0 DA 6D 11 78 E7 EE 2B DE 3A 3C 2B 64 1F 4F CD 98 28 FE 1D 85 94 4E 7A F9 C6 8C 83 E9 6F 4C D6 73 5A 3E 4B 15 D5 FB 4E 94 FC 29 4F C9 11 A0 81 72 47 2B 82 2E 74 24 CD B3 0F E5 BD 37 6A D4 1D 7B 11 3F 13 0B FF 47 69 D9 45 DE E0 7E 94 52 25 07 61 BF 68 B9 16 E8 E9 0F 38 D6 8A 8C 33 8C 18 DB 5E 12 16 07 D7 1F 59 48 C8 57 A4 7D 9C D2 E0 FF 14 F5 4A D7 18 7B 41 17 DF 90 87 16 21 40 A2 F0 40 3B D5 A0 05 16 E1 A0 C6 29 A9 52 CC 70 28 50 F0 D8 7A 38 AE F4 33 30 30 31 5C 23 AD 61 F7 D1 3C 06 EE 39 46 93 2F CA A9 A9 A9 DA C8 CF E6 BC 23 E4 06 54 E3 42 DA 73 B5 28 A1 D1 CB FB 96 BA D7 BC 7F CF C3 3D 71 46 2E E0 DE 26 BB 71 95 CE 43 6B C9 4C 53 59 5D 98 B0 2B 41 E1 B1 B2 6F 48 75 98 B6 70 39 8E BE 1D 4F 53 C2 8E CB 7E 19 01 14 A4 1F 57 2B 49 D6 4C DA B5 7F F2 33 F8 FD F7 72 6B 74 90 A7 3C 0A 00 05 5A 54 AC AF 68 5C 5C C0 35 A9 A4 53 7F B7 13 18 61 65 3F 0C E5 C1 FC 8B F0 3C F2 85 F0 1A 02 A6 B3 EC 74 7F 38 2D 38 E5 D2 AC 61 B8 B7 4A 04 15 19 1E 30 5D A3 19 07 E1 C5 C0 C1 BC DB 29 7D 11 F8 4A 69 8E BC E5 1C C7 62 6A 46 56 82 18 F3 AF 4F A7 53 59 8C D7 24 36 CE 54 73 52 A1 44 B1 E4 F1 EB 08 D1 35 CA 4A 5A 29 71 8C DD FA 95 2C F7 05 28 20 0B 80 54 15 AB 63 FF 21 9E 17 67 E3 70 A9 50 56 85 C5 87 71 0B EB 01 9D C9 21 30 3D 21 A2 B6 5C 39 53 90 32 D6 5A 16 13 51 21 F7 97 69 C4 D3 8C 05 E3 1A 24 7D 29 F3 F8 0C AC 74 3B 13 88 1E 3C DD CA A9 1D 6F BA 92 42 2A FC 2C 85 F9 98 E4 3B 29 88 CD 7C DE E1 D1 A9 36 B6 1F 4F 33 BE 6D 88 0B E3 4A F2 2B 84 18 E5 0A 58 A6 68 EC 9F 78 F6 24 21 69 1A 3A 0F 23 A9 AA 89 1B 73 21 7D E0 69 CB BE 2F A2 94 00 93 18 7E 44 19 94 FA 62 D2 BC E3 44 1F 75 1E 3B F8 6D A3 52 28 9A 2C B7 99 A9 4B 30 89 DE 06 37 AF 66 7A 6E DE 4E 35 40 60 4E BD B0 E2 B9 A3 60 3F 45 02 90 1F AE 67 20 A0 D6 33 F1 02 CF 85 14 4D B0 DE BF 42 68 53 59 29 F6 C7 65 E0 E7 B9 D2 93 B4 2D 86 5D 28 2A 0E C9 7F 95 84 8C 59 B3 44 7D 94 53 21 9B 2F 08 77 DA 15 A6 55 65 71 7C 3E F7 63 31 27 7B 14 3A 69 A8 08 9D 43 DC 14 06 3D 30 E0 7F 41 25 FD 6A 7A EE 5E 6B 04 AA 07 77 91 5D 08 A6 57 9E 7F FB D3 D9 03 CE 51 BA BD 89 F3 75 71 F9 DB 2E C3 3B A5 01 1B 0F 9F 85 FE 89 67 B3 0B ED 6E 09 E9 88 53 79 EA 08 07 B4 76 76 43 13 4C A8 51 AA D4 2E 0F E6 5B 74 2B 03 6E EE 18 45 A8 8E C5 F5 62 E7 E9 13 40 A6 7A 30 A3 FA 2C 0D 77 74 28 B8 7F 80 43 C4 C6 D7 A2 75 56 DF 7C C3 74 14 C9 57 78 4D 30 EB 1F 72 39 D7 82 9B 35 8B 4B 09 6B 08 AE A4 BD 32 77 6B A3 A1 C3 22 05 6E 8E BB A9 AE D2 42 58 EA 32 7B 53 9D 24 95 21 F3 96 E2 21 09 C9 85 D8 62 8D B3 ED 49 8E AA F4 92 4E 76 B4 1E FE 0A 25 8F 31 36 B2 CA 33 91 BF AE D9 A2 B5 19 27 AE FD 99 F6 EF 8F 98 7F B9 F1 42 AB DD C1 DA C7 5E 15 66 4D 9C 9B 36 80 23 90 5A 61 00 1A 19 15 4D B4 3F E1 5A 8F 8F 50 4A 8F E8 3B 17 57 A7 D2 37 E7 36 57 18 5A 32 EF 49 A8 75 BC 14 4A 1D 79 D9 7F F4 14 7A 76 AA 52 C0 30 D5 05 EA 17 56 42 09 DC FA 06 71 8F CB B8 D3 03 93 9C 1E B9 09 76 E7 53 24 78 D2 86 4F 18 81 E0 4A 0C 56 91 32 A4 7B 1E C2 F3 BB A5 DB 9F EB 26 28 D1 B3 6F 70 5E 48 2F 57 B7 47 FE 3B A4 F0 0A FF 0A CF F0 C8 51 69 6D 16 40 77 10 24 9C 42 9D C2 EE 1C 5B AE 99 A6 8F 4E 3A 86 DA AA CA A2 A0 BF 94 72 3C 9A A7 31 E4 B0 8B AB 30 51 DF F3 B5 2E 7E 45 E2 18 EC 9A B0 6F 35 58 E1 20 A6 60 23 5E 32 D5 56 DF 06 A7 3F 4D 8E 05 0B 45 C2 87 3A 17 E8 54 B6 62 E1 E8 E0 29 44 7A 15 68 0B AE F9 E5 E1 93 C0 7A 7D 85 42 88 0A D3 25 83 CF E3 AF 26 13 16 56 C9 7B 47 B4 9E 0C 29 3B 84 F3 D8 5C FD 55 68 03 92 68 EA 0D ED 07 97 F5 DB 13 FE 6E 44 B9 C8 EA F0 E2 24 83 3D C6 D2 59 A2 EC 39 DD AD 6E CB EB 43 9E E0 58 20 9D B0 0C B6 D4 80 59 44 31 04 AD 35 32 BD DF 64 5E D9 10 A4 28 A6 3B 52 9D 48 50 E4 29 09 A2 55 39 E2 08 E2 DF 0C 37 3B 64 56 EB 1C 16 AE 84 C9 0C 87 23 56 6D 8A 9E D6 FE 68 9C AE A0 15 25 47 FE 9B 7D 75 1F BC 39 7F 3A B5 5E E5 78 33 D4 7B F2 B4 16 46 43 50 04 BB A3 17 E1 7E 3C 4B F2 93 F3 9C 4D B3 11 19 F7 D8 F9 9A DB 0D 40 05 44 5E F2 62 61 D9 16 2E A5 3F 6D BC 91 51 C1 B6 DD 93 5F 4B 10 1F EC 23 03 A9 E2 8B 5A D7 BF AC F5 32 6C 56 DA 1B 70 04 81 2C F6 8D 80 D2 1C F3 F2 FA C0 93 C5 34 D5 16 87 C5 24 89 76 26 05 D4 B7 4C 5A FC 32 4F AC 57 4A 2F DA 19 C7 5A 41 7E 50 F6 0E 9A 50 AC F7 B8 0F A7 6B 93 00 8F 16 F8 F1 DD 30 2B 62 CF 96 EB 1D B3 2B 00 30 D6 9D 74 23 41 3C 5C 26 0B C5 D2 EC DE 43 BE 3D 69 2E AA 5B CF CE B3 D1 75 9D B6 F5 DC 39 4A DF 7A 56 62 9C C2 27 03 9F CF 61 FE 28 D7 6B C2 62 39 C2 B0 31 EE 15 E4 C0 7F 4A 83 AF 1C 16 8B 23 D8 74 05 AD E4 47 FC 61 4F 79 3E 0C A4 F5 2E 4B C5 FE A7 8E A5 94 30 68 0F 29 1C CD 0E 03 F3 1E 55 50 B4 CF C2 E7 5E DC 7A 15 C8 F3 41 42 B3 51 7C 06 D3 DC FA FD D7 FB AC 8C 84 5E 64 38 8D 34 D4 B4 E8 C3 A2 91 A1 C9 8B 38 D7 B7 18 61 0D 98 D0 D6 52 A4 D0 A3 AE 2E 71 0A 9E 04 F0 79 17 BD 4E 5F A4 57 EB FC FD D5 5B AE B4 BA BC 81 E6 89 9C B2 C9 51 70 EF CE B0 DE FC F1 82 91 7B 9A 83 4C D8 FF 94 61 54 72 3C 09 BD FB D5 1F 7B 37 51 C8 4D 9A C0 E9 64 E6 E0 67 FC 45 88 64 EE 3A 39 3A 9A EB 49 BF 35 67 AA 67 0C 69 95 7A 57 78 E9 52 D6 F7 7F 26 1C 59 C4 14 66 8C 81 65 86 D2 24 C8 60 A6 D0 A1 71 3F 40 4D 4B A9 8D 9C B9 CD 37 BB DC D4 37 04 36 CE 1E B8 78 90 48 13 9D B3 50 15 92 80 3D 41 CE B6 BB 4E 3C 58 7C ED E3 E7 F8 CD FF D6 9D 68 80 4F E2 3A FA 1B 11 10 35 69 F3 84 7F A1 72 79 1B D1 2D DD 2D 25 6D D1 6F BA 9F F4 FD E6 04 5D 1B B8 D4 35 96 53 EA 5F D5 73 D2 78 67 29 62 0A A7 7A C9 77 69 22 E0 23 E3 28 3D E8 D6 56 0C 11 F2 87 7E 45 86 21 5B B4 D4 02 2A CC FA 14 08 F8 94 37 1F 90 B4 2A 5D 02 AF 91 33 7B 18 60 88 11 D2 BD 97 99 6E 96 47 43 06 E9 96 FC DC DE 97 1A FE 1D E3 ED 2F C5 82 47 A9 3F 76 0E E5 4C 1C 02 67 9C 00 23 FF BF C5 6C EE FF B9 E4 96 B6 E4 14 B4 C6 A4 00 CB 36 55 BC 40 5C 6F BA CC 67 B0 EE 4D EF 56 07 24 08 A9 3E FB 09 C9 33 86 F8 58 3E 62 54 E1 94 17 CD 57 73 1C E0 D0 05 E2 06 90 53 39 4E F2 70 E0 73 38 C8 F3 2A 75 95 07 EE 4E 40 CB CB F5 12 11 5F 6A AE 83 F4 2B 26 0E 2A B7 78 C8 62 F2 9A 67 46 0B 25 1D BF 57 61 84 34 DE 35 03 4D C2 90 7B 5E AA 02 25 0B 4B B3 B3 5F 5F 79 9B D9 CD 92 11 00 49 27 8D 38 54 82 6A CB 90 A4 CF 53 45 27 36 A8 20 64 1A 84 F2 7C 4B C9 EC 80 03 14 7B 15 96 70 45 72 03 AE D5 9E 27 60 41 07 36 85 1E 0F 23 CA 46 08 19 2D A7 FD 22 AA A8 A8 58 51 75 0B 9C EC 2C 93 2C 21 71 E4 55 00 9D 3B 6D 0E 94 4A 0E 23 B4 20 8A 5D 38 FB F7 4D E2 9E 37 D9 1A E2 22 61 AA C0 73 7E 39 C3 74 BC F9 45 30 F9 CD DA C9 97 64 FE 57 72 80 5A BE 2C CA 67 64 81 25 71 D5 D2 34 05 BB 59 57 0F 88 51 8B 4A 3B E4 52 51 69 B2 74 B0 7E 88 9F B1 6A 8A 10 40 DE C8 64 A1 AA CE 8E 0F 4B 6A 3A 1A 65 98 96 08 DB 7A 62 89 04 DB 33 39 7D 19 D5 7B 8B 00 40 4E A2 B1 BA AC DA E7 1D FF A0 A8 F2 15 A8 59 38 15 E6 B7 8C 6B AA CA 10 44 A2 63 47 4B E9 50 2B 16 50 DE 01 C7 E2 A3 C9 2F 81 C5 03 6E D6 DC FF 55 0D 8B 1B 11 5D 7C A3 2C CE 7E B6 FF 3D 4B F2 7E ED C4 E6 31 61 37 58 EB A0 6E E4 63 AB F3 F2 2D 2C 5A 5B BC D1 8C 4E 23 FD 14 61 2E F4 60 5C 4F 99 DC 3A C8 94 23 77 D2 48 9E F8 8C 8A 7E 21 3D C6 3A 2C C7 0A B8 2C 7D D4 95 40 FB A2 AE EF 27 CD 95 47 F4 8B 5E 46 BA 43 7B 8A 35 A0 C4 C0 B7 24 DC DC D9 80 DB FC 31 5E 79 5E 39 AC 3B 0F 0C 8C E8 78 8D 59 DF D3 17 A1 1A EF 55 33 3A 3B 43 14 FF 02 24 B0 9B 9E 65 D3 3D 50 B2 7F 77 48 E0 4C A2 8F 28 1C D3 AC 1C 78 88 0D 70 37 DB 3B 9A 00 38 9E 2A 76 4A 70 D4 46 5D E3 E1 F2 F8 C7 B9 C1 E0 88 ED BE 74 E5 A7 3B 5A 31 22 10 A8 B0 2B C2 2B F6 10 28 4C B6 B4 52 D6 F7 A0 6B 96 C2 E7 02 D5 BD 27 8E 78 CF 55 5A 78 E5 58 8F 99 0C AA 46 36 51 70 CC 12 3E DF 50 A1 73 91 26 78 7D E1 7F F1 B0 C1 40 28 6D C8 9D 47 B7 87 3F BA 3D 16 E8 FF 9A 64 8B DA BD 23 20 C4 68 D2 0C EE 74 95 F1 68 DA 95 09 E7 8D B6 80 8A 74 81 45 3E 7E EA 8E 47 41 5F 93 82 22 56 13 42 BA 48 DC BE B1 99 EC F4 8A 46 76 94 D2 ED E4 4B D9 F7 FE 9E 27 15 CE 3E 10 6C AA FC FD DA 65 F7 55 D5 51 27 52 BC A4 A1 D4 CB 7B EA C4 2A 7C B7 E5 DD 92 D8 02 F3 1B F5 7F 4A 31 B3 D0 4A B1 B7 99 23 08 C8 92 BD EE 42 6D 71 FA 0E BC FB C6 36 37 CD 41 BE EF EA C6 08 53 71 59 98 00 E6 E9 E0 8E 9D 69 01 84 93 AF 66 06 3D D0 87 F3 21 6D 52 24 C2 EF 4F D8 26 58 EC 32 A4 FE B4 C5 FC D3 86 CD 1C B9 36 FF 27 83 FC 8C A4 3B FF 97 8A 0D F7 F1 37 89 F8 67 85 86 82 D1 F1 BC BC C6 2C 49 04 5D E7 9B 07 F4 71 CD E4 03 1D 33 41 2D E6 43 BF 87 11 5A E0 60 50 7F 79 C0 2E 33 9E AE F0 D7 54 BC 68 C7 CE 8E A9 C1 34 43 02 52 88 28 3E 1E 69 BF DF 9C 09 24 4C 18 DD 7E 92 60 8F 6B A9 34 41 33 20 17 AC 03 CB 4E 3D 92 57 9E 8D C2 56 9A 73 72 16 15 BC 96 51 3E 88 1B B4 4E 64 D4 3F CA 5F 60 C7 52 F0 42 A6 89 B3 EA A9 16 0A 43 CE C9 8A B2 66 3E EB 9E 67 D5 EA 94 FD 01 84 44 2F 76 57 CA 66 48 E5 04 64 E4 DA 5E 1D 8E E9 56 44 4F 60 C9 FE D0 77 A1 21 38 11 FF 49 C5 FD ED 71 A1 28 FC 0F DD 4C 1C 64 E5 7A 88 20 0F 21 EE 67 25 F3 95 43 2B FA 01 15 B3 AC 50 46 8C AB 3D F7 3A 24 5A 32 96 BA C1 91 66 31 83 13 EC 1E BF 1F 5C D2 0D 2A 9B 5A 65 FD 82 DF 8C 32 CB 01 A7 BE CE 4F F0 3B 63 92 64 FA DC FD 6E FA 6B EB 0F 1D 1B D1 30 FE 12 AE B5 4A 35 DA 7C 7B CC 83 EE CE 7F F1 E3 F8 13 50 0D AF F6 25 09 EA 0E 6C F1 C4 9A 64 E5 22 FE 4E 3F 26 D4 6A E5 BB 4C EB 47 0A A6 1D 5F B3 AB 19 95 8A 99 9A E8 D3 C9 39 89 33 66 89 28 58 B8 13 71 ED 87 54 87 38 71 65 0B 13 49 C3 C5 69 F6 7D 57 86 D1 82 15 A3 5E B2 44 49 41 5C FD 85 9E 0B DE 67 EF E7 50 79 DC 65 D2 FA B7 B5 48 33 4B F8 C5 8A 39 69 62 39 58 98 6E 4F 26 3A 28 7B B1 CE 07 11 06 CF 1A 11 4D 09 19 40 7D 70 EF E9 88 9D 57 E6 80 7B CB B8 F5 D2 47 E5 E3 26 EE F9 E0 26 2D CE 54 B4 17 2F E0 5A C5 AA 1B 1E 38 98 8A 0E 6B F8 0D 86 3A D2 B4 E4 2F 6B B6 42 61 E8 3E C2 3A 3D C3 CB 57 1D 8D 60 E5 A1 F1 DE 27 FB 86 72 A5 65 62 B9 98 F8 DD 83 96 38 D6 08 3E B4 2E 33 58 2E 73 9E 02 FF 8C 8B 74 F7 7A 60 7D 68 1C E6 6A 8F 62 E1 CD 78 14 7D CB 30 F4 C2 CD 7E 40 F3 DC 50 C9 C6 74 05 80 CC 57 B8 E4 EA 16 5D C9 29 64 AC C1 46 39 74 A5 55 E6 40 3E C2 D6 BD 86 1D 6B F7 5F 58 99 EC B0 7A 98 A9 5F A6 F4 02 99 F7 31 99 C1 85 9D 88 7A F4 D0 40 53 18 A3 87 34 B2 CF F6 6C 42 D5 D1 4E 3A 3E 7F B6 66 36 0A 2D 28 C6 60 AA E8 11 0D 9B 56 6E 56 0D 27 06 0F A2 72 0E F0 00 4D 1E CA 9C A0 8E 98 5C D8 AF EA 7E 75 9B DC 68 B0 30 03 D4 2B FF 20 B7 19 7F 06 00 19 42 4B E0 5F F1 A6 F5 C2 13 09 27 B1 99 CC DB A5 F6 FF A4 D4 A4 C4 73 45 3A 25 C6 16 07 2A D0 DB 3C 6E 4B 07 48 39 09 43 EA 2C B3 8F 2E A3 5B 96 EB 77 58 67 DA 0C 25 2A B3 8E 2E E6 06 26 B6 C3 EC 93 88 BB 65 FF 2A 68 23 1C 31 AD 72 E4 D7 F0 A4 D4 51 A2 13 8F 47 80 7B 46 A6 4B 4E AD F1 90 0A 63 71 53 BF 1F 2C 56 86 94 93 A7 29 88 C1 47 6A 12 49 C1 C9 2B D1 FF C8 E2 A7 A9 89 2C D7 14 3F 56 5C 87 6B 02 CF 07 A4 FF F1 75 61 00 82 79 F7 38 30 F3 09 6F BA 60 D8 37 30 2A E8 4F 29 D1 3D F2 12 D0 20 5F DA 9F 3F 8D 00 FD FD AF 5F C8 A8 96 7E 33 4F 07 BA A6 85 B0 F9 EC 65 72 E5 48 BE D3 D0 90 06 7D E6 C2 41 85 64 42 6F DB AD F4 59 67 7D 58 F6 9D 2F 1F 22 DC 98 10 9F C6 8A F1 79 E2 77 89 E5 19 98 29 47 67 B5 1D 16 66 B3 D9 5F 70 C1 F8 66 65 92 15 B0 D3 F1 CD 3A 15 95 46 04 E5 2E 74 93 EE B3 31 46 DA 59 28 3C 08 F6 26 3F 65 7E 2D CF 7E 08 54 C6 EF 95 6D E8 60 BD EB E8 68 AF 87 45 EB 38 CC 3D DF 4F DC FF 1B CC 69 ED 71 CC A3 CC D2 32 54 9E CB E9 D2 E9 BD 39 F2 93 42 87 2D 2B 1D B0 6A 69 ED 22 CD E0 49 E7 C8 C0 36 58 EF 11 9A 1B FF DB 64 BE 54 1D F0 C7 96 EA CC 27 99 37 87 D8 82 28 77 86 E1 DC AB DA 53 45 3E B7 BE F4 72 12 4E F7 4F 34 2C A8 70 13 DD F0 7D C0 C8 2A 45 A9 FD 3F 07 88 27 5C 79 0B 9A 7F 7A 75 D4 AA C9 4C 9D 05 C5 80 0D 5F DD 19 9E AC F1 80 CA C1 E3 1D 71 D1 FA 18 EF 49 FF B7 6A EA 09 70 8C 16 27 CD 7D 9B 30 14 F7 AE 49 2C 10 3D 6F 00 48 74 E7 DD DF FE B7 18 5E E7 29 58 E0 EB AA D3 37 80 B5 C5 80 EE BE 92 5A C8 73 12 97 3B B3 88 D3 11 EC 11 3C A9 1A B8 D5 29 BC 8D 0C 8F 9E 32 D6 60 7D AD 9C DF BF B1 4F 94 C8 F9 4B E5 5F FD E0 67 5F 05 54 CC 42 45 6E 6B C6 0D 27 CE 1F 2F B4 10 B7 31 A7 D2 F6 65 3F C1 E7 A2 9E 95 02 D4 9D B8 4F 83 56 F8 85 A7 C1 FE 7A F5 8A B0 76 52 C2 A1 B0 55 FE 38 4D A7 D4 76 F5 E8 1D D0 A8 2F C4 F3 BE 49 77 0A 7C 5D 2A FD DC AA 96 85 E5 A8 A9 3A 50 14 8C 6F 78 16 04 94 9D EF 31 6A CE E0 43 8B 2D 58 68 74 5D AE D1 46 9F 3E 8F 85 91 26 08 5F E8 FA 5F 2A 29 D4 79 13 0A F1 EE 31 C8 E8 C6 94 FE 25 B5 A4 F9 D8 2E 4D 42 86 44 C6 71 9A 5E 52 84 9D 09 37 AF F2 B9 2F 5B 05 45 58 B5 2E 8E A9 47 EB 90 94 06 A6 54 B7 16 BE D9 85 59 FD CA AA CD 9C 26 20 B8 74 B5 F9 EF 09 86 8C 61 1C 4F D8 17 17 B4 04 54 67 5A C2 69 E1 D1 0D 64 51 56 A7 41 09 80 85 82 02 BF EC 77 AA 04 E4 02 FB E6 D5 9F 1E B8 27 AC 6D 31 B5 98 91 EB 3C AE A4 D5 25 D9 CC 25 97 7B C7 DD 87 F8 F1 B3 62 8B 26 65 C5 85 33 5E A9 0B E4 38 E6 FF 84 E3 21 74 5B 22 BF 9A 53 63 73 81 A5 51 67 7B E8 BD E6 56 91 8A 7F E4 F6 8A 4D 1B 3E 92 BD 67 02 1C CB 4E 7D 5D 7D D2 44 57 63 FC 65 F8 BC F5 9C 3D C4 9F 6E 1A F7 70 93 10 3B B6 15 73 BA 85 AA 2E A5 78 70 56 68 7F DE 14 E5 E7 5C A3 08 FC D3 B1 8A 1F 86 48 17 57 2A 5D A7 04 A9 AD B1 41 AD 76 99 66 EF 04 C1 86 58 59 31 8D 46 18 39 32 E1 FD BA 53 AB 7F 72 45 BE 1A 51 31 39 CC EB DD FF 7B B9 30 3F 9C C4 0C E3 3A 11 73 20 6E AB 54 5F 5B 7F 23 DD F6 2C B0 91 19 9D 3B E4 0D 8C C9 61 4C 9B 96 28 30 02 5D 1D AC 00 A2 AF 3A DD FA 8D F5 FA F8 B6 95 64 DD 28 B8 C5 D9 E7 49 21 1E 51 D5 04 70 DB A4 24 C3 0E CF 70 9F DB F2 BB 1F BA 6E 35 63 95 2B CD DF 30 9F 08 F6 F6 07 90 E5 AC 45 CB 88 6A 46 D0 87 1F E5 EF 94 91 56 4E 9B 8B 5F AF 75 A9 44 83 63 D9 29 B8 55 5A C6 3C F2 12 75 80 7F 4F EB CF AF CF C2 0B 89 E1 E5 7D F0 82 DB 78 D7 9B 44 76 3A 64 A5 A5 56 57 94 47 48 09 55 8C F5 D3 39 4F D8 07 29 DC F1 E5 55 3C A2 F9 4D 39 BC 2B 32 91 58 1D 93 C4 C3 5F C6 34 D0 20 1D 45 07 82 35 E1 27 76 00 0D 87 BF 0B 5D 96 C7 BA 4D 8F B4 D9 10 5F 5F A7 40 6B D3 8D 59 9E 62 CB 29 F4 C7 20 AA 11 9D E3 5C C4 B9 1C 89 00 5A 47 D3 FD 59 21 99 12 71 F3 81 5B 1C 2F 3A 71 1E B8 55 9A AA 8A B0 12 40 35 1C A2 38 8D 1F 59 07 96 D2 9F 74 77 75 22 58 74 2D 11 CC 4C 6B 69 CB 6A C3 21 3E 90 40 32 10 4C D6 C0 65 09 0E 8A EF 48 BB 8D 9D 4A 24 A7 77 00 21 D9 F1 33 D0 21 0A AB B1 15 34 B7 58 3C 24 0E 5F 79 4F A1 91 40 74 A0 9C 56 4B 6F 4F 28 0A F6 92 A8 70 70 D7 34 5C FD 9D 3F 79 24 7C 2A 31 BD F4 6E FE C5 FF 05 5F 60 EE C8 E2 22 A1 A5 EB C9 A2 69 9D C4 C1 1D E0 A3 D1 99 74 63 FC 03 C0 E5 AA 3C F4 0D 0E 12 BB 12 4D 18 59 17 18 C1 28 05 CF 13 8A C6 6B 8F 6E F7 41 FE 7F BC ED 91 9B C4 B4 D9 0D 6D 88 5C 81 2E 6E B1 75 77 95 C6 48 52 69 7B 32 0B 2D A6 59 4A AB 76 0A DE 55 72 0B 6D DB A6 88 A8 97 4A 2D 03 45 66 89 4B DB 16 E5 35 9D E9 A4 31 7E C5 8A 12 88 AE 48 74 74 EC 87 FA F3 47 5E D9 CF 0A ED 38 8D 52 0D 2E 2B EC 87 48 2E AA 3E 8F 87 BE A8 5E 1F 92 EF 92 79 68 48 65 AD 76 0A A4 C7 9D 6B 4B 0D 6B 4A 52 57 B4 E7 B9 9D CF 21 BE 9E 15 D7 3E 5C 00 87 B4 00 A0 C2 6A 3F F6 9E 3E EF 48 77 4C 79 63 5F B2 81 E4 AE F5 FF 00 B3 95 D6 00 CF 3F 54 A3 B0 9D 08 13 3C E8 30 F2 EC 1E A6 A4 C3 6E 82 64 E1 E4 53 05 FF 84 FC 85 5C FD 84 B8 FE 79 CE 67 B0 BD D2 33 32 ED 9C E7 7C 69 D2 B6 87 95 C6 07 D8 00 D0 DE 24 98 F0 89 A2 AA 21 79 5E 62 ED A2 7D ED 63 9D 3F 8F E6 74 E0 E3 80 19 03 3B A4 7E 8F 61 AC E4 AE E6 07 5C 51 CF 06 ED 07 B8 19 D6 CC B5 3D EC BE A6 EB 75 4B DA 33 EF FB F4 C4 D2 D3 8C CB F1 57 39 9D F7 D8 7E F5 07 58 1B 2B 04 F2 27 62 73 87 0A CC C5 45 53 6A 41 46 9B 7A 3E 34 44 BF C1 A3 1C 0C CF 32 F1 37 B6 9A 0B 82 B4 30 D3 90 60 4E 28 AB 6B FF 8E F6 44 1A 39 18 86 F3 DC 62 7B D4 AA 07 AD D4 94 F5 C1 6E 14 EA 90 10 9C 1D C7 5B 02 B8 52 27 33 B9 5A A0 D9 68 38 C0 F7 EE B6 4D 90 70 B3 0E 3D 95 1E FD 41 1C 52 75 D1 F4 53 BA 6F B1 03 00 F0 F6 EF BB 22 22 30 62 C3 77 D0 20 F5 BF 97 AD 3E 17 51 37 74 0F 6C 08 3C EF A2 21 57 4E D2 BD DA D5 6F EA 12 7C C9 7D C2 B4 22 FD 06 F1 AE 1A 5E D8 D5 54 7C 94 81 C4 4E D9 90 5F 16 50 BD 16 0A A8 17 AC A9 C3 CB 00 6C C5 10 E4 65 0C 74 66 02 23 8B CC A2 5B A6 43 E0 A2 00 7E B8 4D 67 39 4B D1 B1 90 DD C3 21 E1 8F 97 74 5D DD 91 BD 03 0A E4 B0 A9 C6 38 95 B8 C6 28 32 CA 21 B6 8B 6C D8 FB B9 B4 9E 5D 0B A5 F1 D3 F3 D2 1A 47 6D 56 3A 16 7C 72 A5 06 23 A4 92 BF AF C9 C6 3A 45 55 ED 76 59 B6 B4 D7 FB A8 E9 40 1E 3D 8D D6 2D 3A E4 30 6B 1C ED 50 20 F8 B5 53 61 24 BC 24 4C 14 94 70 CC F2 40 D8 0D DE CB FA D7 8A C6 4B 86 20 DB 50 B2 79 ED C4 A5 5E BE F0 22 59 58 B3 88 76 51 22 9E 88 C6 A8 7C 85 BF 85 4F 2E D4 0F 4F C5 06 0B 51 0A A6 0F 02 50 3A 30 D3 CC 3D D7 76 8B 81 D2 35 ED D8 5D 8D C9 57 9D E5 A0 55 CB 0C 07 B0 9B C0 CD A9 7E C1 C9 F7 FD DF F3 9C EA 9B 6B D9 A7 10 BA B2 F6 3F 36 98 E9 09 C0 E4 58 05 42 86 36 F3 74 E5 D8 A7 D2 AB 0D 4A 00 2D 12 8D 79 30 34 75 33 A1 DB F5 12 FD 83 2E 9A E5 F6 B0 37 36 FB 35 E8 31 A2 A2 4A 2A 9B 50 E0 1C 62 EE 3D 51 6D 48 F2 6E 0D 4F 08 F8 1A 61 EE 3D 91 C3 BC C2 24 2B 8E 75 99 8E 29 43 F5 5A 1A 59 50 44 7D AD CD 8A 29 82 69 33 CC A6 4E CD 1D DF D0 9C 20 38 9D 65 47 F3 2B FA 80 3F C5 60 04 E2 F4 71 0E F4 3F 60 67 12 20 C4 D0 44 7B BC BB 68 70 A9 A8 CA B2 9B A6 EA AC BF D0 E5 FF 78 47 77 53 24 2C D0 DC C1 79 C5 78 E3 7D 3C 70 04 49 BA A1 07 B0 AD 03 13 F2 2E D4 C6 40 B9 95 B5 FB B5 4F B5 A2 53 EF 9E E4 AB 63 8C AB 3E E9 AD 26 CB D6 BA 2D 44 EF E4 E3 C0 3D CE 51 08 EB CB 7A 04 67 CA EB C0 52 6F 36 9B 2D 73 26 90 B6 6A 32 F7 E4 61 11 92 60 DA 74 EE 8F 18 AB B6 16 B8 A0 76 D9 0E 2F E3 13 06 7A 58 72 94 91 A4 49 DE 8E 4A 5A C6 C0 28 21 0F 53 63 D1 A3 24 B0 CE E7 9B E9 AE 38 49 89 08 CB EF AB EF 97 2B A3 91 F8 0A E1 57 0F E3 A4 A1 4A 84 10 7F 6E 4C 48 35 2F FA 39 51 4C 99 AD F8 17 02 EE 9C 9F 57 EF D9 69 D2 F3 43 74 0E 32 7C 23 77 2F 04 50 9B 85 66 44 15 EE 0C 53 7C E6 A9 76 BB CA F7 A5 EA 75 23 18 B3 08 56 82 74 77 0B 0A B0 AF C7 76 F2 69 6B A2 E9 EC 65 1D 5C 1E D0 09 A0 A4 D2 AF 10 80 03 98 21 81 A1 3C 02 EF 84 41 23 9F 43 06 05 E0 0A 9D A6 04 93 A8 3B 83 F3 A4 56 9B B3 7A A1 6B 30 EB EB 74 B9 08 E4 02 23 AB E1 04 37 BE B3 4E A7 82 AB E6 3E 79 37 E8 B6 6A 59 D6 B1 37 DF B6 63 4A 3A 2C E0 53 92 7E AD 7D 55 BE A9 85 1B 0D D3 D4 AB B0 63 88 1D 60 91 AE DF B3 62 EA FA AC F1 75 E8 13 A4 CB 85 17 C3 9C D4 0E 13 F5 16 57 37 23 89 74 7A 72 3F 64 9B 8B 3E 42 49 14 35 57 6C 91 C5 F4 C2 14 CF 86 F3 AB 56 05 A1 27 D0 24 88 2B E1 B6 9F 15 8F 68 26 78 C9 8C 9F 67 C8 01 B1 64 5B 7A 76 3E 64 68 4E DB 66 4E E4 2D 43 A9 BE C0 14 49 6F 5B F6 40 36 E5 00 69 3F FA 13 8C F8 79 29 06 CD 9C C8 2F 52 AC 45 CE C7 56 43 05 5C 3A 30 28 1E 91 0F 3E 88 92 A7 06 5B 7F 69 0A 4A 91 2D 1A B0 51 EA 14 78 44 AD 00 4A B8 50 B9 38 B8 93 D6 BF AA BE 4D B4 B4 9D 48 B7 F1 B9 35 D6 58 AB 2A 4C 00 E0 7E 17 EB 0C 44 6B BA E4 32 E0 82 4D 68 44 89 6F 7E CF 27 57 C5 97 C4 25 8A 4A 0C 15 7F 60 EA 0A 44 BC FE C6 03 A0 B5 7C 6D 51 A4 BC 49 F2 90 65 62 F3 1E AE E1 98 8B 6E 68 7B 87 93 AA 36 F5 52 A0 DD 46 DF 7B 3D 1B 3A 1A 9B 5D F0 B9 F1 09 06 B1 95 4F 46 B6 09 F8 79 4B C0 55 D7 28 B1 68 AC 59 28 3E 5E D0 D1 CE C5 9C DA B6 25 41 7E 79 BD A2 BF 75 92 98 76 45 21 74 C4 22 59 6E F3 2A 0F 1A 0C AB 1F 3A 2E 3C 6A 47 C1 FA 9D 12 E7 13 20 9D F1 8F 22 50 0E F7 E9 BE 9B C8 3C C5 AC 66 8A 36 78 38 DC 03 BC 8B 27 49 F9 E1 59 F0 B4 0A 8A AC 60 AF 2D C3 EA 32 47 11 C3 AB EF 54 F9 C8 1E 3E BE D9 9D 4A 2A 85 E6 62 E6 14 89 28 C2 68 2E 42 15 D2 57 D3 D2 40 F9 26 D4 3C 94 28 3D 4D 61 EE EF 95 64 83 71 C0 1D B8 17 B3 EE E3 BF F9 92 80 FA EE 8A D6 B2 D5 36 9D C7 88 FB 3C A2 7B 3E 70 C6 04 70 B8 D5 06 6D F4 D8 CE 8E 4D 96 F4 38 10 4D 08 A4 F6 06 85 30 7E 47 FC 0F A7 C8 7A 67 C2 25 DC C3 79 F6 4F B1 C3 8F F0 75 0A AC CB 50 17 7E 2B AF 34 25 8F 96 E6 67 3D 2A F5 1A 02 6A D2 66 70 13 6A 66 77 92 D1 0E CD 5B 4D 70 90 B4 D2 59 99 4A 47 06 4A AE B3 82 3C BE 57 D7 DD 48 57 71 7E 38 A5 BA B6 ED 94 64 1F FF 41 8C 93 F9 9F 03 59 F7 9E 41 F5 B1 D0 1B 48 75 A4 96 11 28 A5 1B 16 DF 43 B8 4C C0 0A 66 8C 55 5B 1D 6C 38 33 FA A5 5C 0F C5 1A B0 15 F7 56 03 25 E0 69 2F AB CF C4 C6 AB 1C FC 02 81 06 3B D2 1A AF D4 0B 14 2E 7F 46 2E 43 AE 8E 91 EA B8 90 1A BC D9 A9 6C 2B 02 A2 83 16 E2 8A AE AA FC A1 8A FD 2E E1 E5 65 56 C4 75 F3 33 7B CD 48 B6 B4 E1 77 BC 30 C2 A4 77 9D 63 BA 52 57 63 60 FC 21 FB 3D DF 20 02 2B 2B 91 75 74 31 56 B2 23 5D D3 2A 0F 82 56 AD CF 92 2F C8 71 A4 D7 16 44 C0 B4 1A DD 9E 61 9D 9C 00 6B 54 B3 54 C8 87 AB E8 84 25 6C 6D 08 BA A6 9B 39 03 BC 32 88 FA CD 1B D1 86 9F E7 8C 5D 0A 98 27 AB 42 AF 6C F8 6C F0 AF 77 F2 51 83 EB 64 E5 DD D4 E2 62 46 BA D4 82 5E 17 E4 58 25 43 F4 98 94 E5 FD FB E5 C9 36 9B 4B 2A FA C9 3D DE DE DF 45 91 52 84 A3 8C E3 68 31 25 41 7E 6E 89 0D A0 AB 70 78 56 CA E7 9D F4 31 BB 59 1C 07 FB 06 D5 D7 64 0B 4D 3B F9 97 9B AC EA C2 A7 F6 97 CC 4C 37 5C 74 31 5D 91 13 DF 25 DC AC 49 28 BE CF 4B 5F 29 40 14 17 C7 D8 75 93 01 B3 93 32 5C 17 39 F0 99 10 80 59 0C CA 7C 6C 7B 67 05 63 11 76 00 45 AC 72 3A A7 EA 10 97 EA 96 7A 2D 46 0E E9 5C 12 57 4F F7 AC E3 8C E3 00 E9 BF 17 FF 8F 89 AD 79 09 EA 15 AE 5A B3 BF 47 81 7B 77 94 3D 30 42 97 D2 14 9E 66 A7 0A 04 8A 47 AB 7F 8A 51 70 E9 C0 91 16 99 1E BC F4 64 A2 3F 93 8E 7F F3 C0 EC A8 45 DC 94 9D 5A C9 62 9C EA E0 B4 57 C0 E1 E9 76 BB 5A 71 D5 F6 93 79 BE 67 B9 80 AF 67 17 CA 8B D0 E2 5B 9A D1 3F 8E 89 33 EF 2C 7A 6E D9 99 1F C7 F8 36 12 40 BD 5C F6 C8 08 3E C2 AD 38 28 3D F8 E6 D4 80 6A E6 B2 2B E4 8F 29 8C E1 60 80 16 D9 EE B0 FD 18 1F E3 87 B8 BA CA DB 33 DC 09 EB 50 C4 50 99 83 D9 D6 1E 28 31 4E BA C7 1D 3D 45 D4 46 C6 FB 41 5A 31 A2 E3 D9 C1 55 C9 45 64 7C 36 22 F0 2D F3 7E 2C 23 51 E4 97 39 7E EC B3 39 AD 75 D6 63 E4 BC 4E 39 62 B3 3E F8 E6 00 2E 1F E4 FD 7E 8E 0C 5B A8 35 A8 FE A4 A9 6F 6A 25 D2 2A 80 A2 A8 B3 6D C5 5A 2C 2B 3C 50 1D 0C D4 E4 19 61 E9 08 6D 1A 68 A5 6F A2 9B 90 6F 34 96 80 8B 69 2A AA D8 FA DD A4 35 E2 F7 77 2E 5D 73 E0 14 C3 C4 5B CA 25 22 12 07 29 58 26 9A 5D 02 48 9B 59 2F DB 3C E3 9B 4B 05 01 EA E5 C7 2F 42 B1 0E 0D 91 D1 CB 05 93 6D 2A 00 A7 97 2F 9B 40 76 55 59 69 0D 9A E1 EE 94 E2 0A B9 17 83 73 02 1D B2 88 81 92 77 75 A1 10 AF 71 7A FC 7B 6E 5E 0F 3A 36 34 32 03 9A 17 56 01 1B DC 7E 5A E1 3C 60 F4 E9 DD 66 DA 4D A2 15 A1 C6 70 DE 20 F9 28 55 99 2F 49 B1 E0 5D 80 3D 58 EF 5D 78 19 C0 B8 05 20 80 46 B4 72 57 88 37 CD 6A 67 C2 47 31 AA FF A8 FE 13 CE 46 64 E5 C3 45 8A 89 18 43 2E 70 B1 FF 00 5A 2B 1E BC CD 92 71 64 C5 A0 89 26 EC BF 3B E9 EE 23 78 19 36 DA 7C A2 43 0F 79 B8 AC E8 A7 A8 AD D5 1F FB 19 D7 17 21 27 B8 4F 2B 53 FA 4A 15 67 48 F9 6A 96 D8 09 7C E7 92 4C CE DC 21 B8 28 C3 02 6F 0E DA 8D 54 A0 ED 37 FD F6 5B 4A 02 FC 51 EA D5 F3 42 CD 39 AC 78 72 D8 49 89 A2 0C 3D 65 68 E8 DD 5A 49 21 E9 55 AA 15 70 52 84 FA 3B 71 A0 04 7C D9 27 89 81 61 23 88 DD 76 24 D2 FF 56 1C 6E 73 22 3A 63 96 EF D4 ED CD F1 91 F8 84 4E 38 C5 AA A1 F1 7C 21 69 C2 7A A6 33 8B A4 D1 E5 9C F1 41 09 FE 8B 8C 48 FB 65 17 8F 5A F3 7D 61 AE F4 E9 58 D8 2E A7 D2 4B CC B6 34 95 6E 3C 91 82 B3 E2 BB ED 33 C2 5F 09 80 37 BF 2F 9C F4 F3 C9 0F 7E ED AF D6 89 CA C3 56 BE C2 BE 89 58 C5 83 A8 4D 69 F6 8D B7 2C 77 7F 08 9B 7E D2 E7 07 1B B2 28 12 EE D4 E0 5B 71 04 D6 F4 56 C7 72 BA B1 18 D4 DA 7B 6C 02 96 3D 3B 98 50 AC 16 2C F1 DC C1 4B BB 31 B9 30 24 EF 1C 0C B7 E9 C3 62 8F D1 E4 F0 F9 BC ED F4 C6 69 1B 1C 38 84 8B 9F E4 C5 F1 4E 5A 3A 6A E2 2C CF 01 B3 E9 63 27 31 61 75 44 88 D4 1A 66 22 36 3E 78 26 98 31 8B 5D A9 46 7B 2F 9C DD 1E F6 07 B7 9E 76 13 74 19 37 72 45 C5 92 62 A4 00 20 10 7B 28 B4 2F 98 FB 12 7F 2D B4 03 35 98 03 DD ED 58 57 F1 4C 48 3A FB 4A A1 53 6D 6D 6F C4 6B E1 4A 6F 85 64 2C 26 FF 2B 84 F2 5F BA 80 02 96 04 C7 46 4C E2 00 D6 BB 3F 16 6F 22 34 92 19 EB 0B FE 92 C1 A7 F9 35 D1 C9 E8 73 FA 4A 15 01 12 C2 54 5B 87 A7 F6 75 24 6A 76 E7 E4 D0 5C D2 27 DD 08 9C FF 65 D0 63 86 B3 BE AB 0B A9 5A 86 CF 04 D4 D6 53 CC DA 5D 8C D6 C3 BC B9 DB D2 DA C9 28 59 6C 2D 7D 6E D2 1D 2A 85 72 13 C1 07 52 29 D5 CF 9F 9C C7 CB A3 38 74 57 84 30 27 4C BD E5 65 D2 31 8C 69 8D A3 99 53 C4 96 E6 20 7C 1E 35 5E 0A 8E F0 59 E0 93 C7 B0 8A BF DD 75 63 1A 00 DA 52 8E 52 4D EE F5 E0 93 69 CD 84 C9 15 AB 23 3A 54 2B 59 59 2E D4 F1 F7 F5 4E 92 74 9B 64 2A 66 F6 F5 7B EA 6C 4D AA 1D BF D6 32 02 42 30 D4 92 71 84 1D 01 71 D4 DA 25 B1 58 46 10 1E 1D F4 7B F6 12 AA BF 0A 27 22 EA D1 9A 84 35 EE 16 38 27 A7 29 58 AC 52 83 FC 09 58 5F 3D 09 B7 79 9C FE 8D CC 42 99 51 80 C5 80 33 E7 D0 B4 03 BD 15 53 A1 3F 2A DB A1 6F D9 3E C2 AC 71 D4 8A CD A0 2E FC F4 17 FA 5A 82 5F C1 B2 05 5E A6 9B CB 20 3F A1 B8 6C 95 4A 67 F9 53 3F 7D A3 4F E0 63 CA 32 C2 B9 BF 1D FA 45 14 93 6E 50 A3 DC 21 79 86 78 E9 00 66 16 E9 5A 58 C5 A7 78 1A CE D9 D0 E4 4B D1 14 76 7D 67 CB 81 91 F8 87 FC BB A1 7A 69 21 82 37 78 49 68 6B 2B 60 AE 0A 47 86 3D 46 84 B5 0B 8B A5 89 6C 02 96 A3 97 47 82 4A CF 82 73 2E 03 19 FB 43 91 CB C8 58 1F B5 44 02 94 5C C5 1E 00 05 C7 92 90 6E ED 1F D1 6D F5 D1 76 9C 1E 92 71 B8 8A E8 59 DB 7C 05 89 98 9C FF EF EF 62 BA BC 0C D9 60 D0 4E 38 37 75 27 AE C8 40 4A F6 A3 2E C9 9A 9A D9 5D 6B 55 66 79 07 9B 7B 56 BA 2B 7B 8B D2 5C A3 C3 2C D3 28 69 2A A0 1D 77 DC AF 7D 26 0B 9C A4 09 B2 65 6A 6A 9D 13 C0 B9 D6 FD 38 99 8D A3 B0 C8 AB 18 7D F3 7D 38 1D CA 45 8C 26 13 F5 82 31 E8 6E D4 E4 53 0B E2 27 B1 32 3A EF 9D 85 C0 AF AA 63 3B 78 2F B8 27 D9 69 58 09 93 D9 55 42 BF 7E 44 42 74 EE 44 5B 0B 09 FA 76 76 73 29 E6 3C 9F 07 AD 66 97 CD A2 E6 B0 A7 1E 58 98 CE 99 EB A3 71 7D B4 46 86 2D 5A E6 C6 E6 59 55 81 A5 CB 9B 7B D1 FB EB 25 97 80 0F F9 9B 3B DB 90 A6 06 46 96 E0 00 D4 CD 49 3D 4B 74 62 A7 9C 16 2B C7 DF 74 34 99 68 95 8E BA F2 8B 70 30 32 4E EA 76 25 EE A6 E9 01 EE E9 1D FD 9A 7C 5A BB C7 F0 11 38 16 C8 83 A9 64 24 60 F9 77 8D B9 63 82 B9 9E C8 5D 24 C8 C2 D8 C7 63 6A 22 23 05 1B E9 7C 0C EC 53 3F E7 14 C4 36 CF BB DD 03 79 FC 71 CF C6 ED C7 5B D1 E5 EC 89 1F 13 BB 3A 1C 22 11 74 EF 51 64 D5 2E 92 FC 55 5E 9F 13 7E 07 F5 93 50 3F 7E 30 1C 55 99 B1 83 79 66 CB FE C2 C5 5B 3D F4 CE CE 0D B8 B1 DF 8B 48 8F 5A D5 7E 17 71 3D C1 B6 17 08 BD F1 8D A0 6E 6C 72 43 6F 1B F5 39 3C 9D F3 FC 83 25 A5 70 E7 86 5F 61 E2 59 BA 5D 96 38 FE 0A B3 91 E2 AB 70 B0 B8 A2 29 11 04 F0 ED 14 C8 1D B2 1D A5 AE 1D 0C D3 B4 E6 CC C0 6E CA 4E F9 2E 72 83 77 07 08 35 7F 4D 30 E0 22 FA 3B DC 00 60 5F 6D D8 6E E6 9C E9 A5 DC 02 07 B6 36 9D 44 12 9A E6 6B C6 2D EF F1 50 AE AF 16 CD 9C 46 70 A3 1E 35 A4 AD CD 3A 97 DD CF 3A 2E FB 11 3B 4D 28 A4 1B 62 25 C4 E2 26 D0 DF 0B A8 E8 CC 8E 7C FB 0E F2 C1 7F 5A 90 7D 38 90 F6 5C 3C 34 16 91 BA 49 2B CF 97 63 08 80 EE 04 56 2E 53 76 12 0E 81 FB EE 68 D8 F4 64 C6 1E 5A E3 88 6E 99 86 D6 E4 9A 45 21 99 50 B7 0D 64 4F F4 28 9D B7 4D A4 4D 20 7A AC DB AA 39 F3 E1 46 A7 6C 6D 8B B1 DA FF DA B0 1A B7 40 24 21 BA CE 0D 0F FC 3A 06 9E 95 5A D3 95 B9 32 25 5D 3E 13 14 69 8B 0F BB 67 8A EF 7E 4D 12 CD 0A 36 13 62 BF 40 DC 08 E8 74 2F 95 1B 3A 10 58 E7 BA 80 51 C6 3F 8E 69 4D 0A 5A A4 01 EF 2D D5 B8 26 C4 2C 5C 04 44 90 C5 64 CE 2A 76 8E AD D4 19 88 B1 FB 18 56 C5 9E 51 00 E3 A9 5C 11 3D 85 56 F1 6F 2A 39 B5 29 2E D9 ED 1A FE AF E5 25 5B EE FE 04 F9 0B A6 69 ED D7 18 36 D4 6B 72 0C 3A 66 42 5E 1B 44 28 EC 67 F8 CD 15 93 92 D4 F1 CE F8 45 59 1A FF 8F D1 8C 44 79 8B 1F AA 3F 01 45 25 E2 CF 51 88 34 C2 1D F7 C6 90 87 EE F2 B3 0C 0B DC 6F 4A 74 81 60 58 35 C7 8C 38 A9 34 84 53 44 33 8F 0B 95 0E 35 DA 72 C3 4D C6 F6 A1 C4 2D 88 D6 D8 A6 DF F3 98 D8 C6 43 BA A2 51 ED CD D8 12 04 D9 AC 40 57 F0 C3 B9 50 7C 8D 05 6E 94 46 27 81 07 43 17 C7 2E B9 3D 62 42 A4 E6 55 5D 04 B8 C7 4D D8 ED 90 4D FF 62 53 3A F2 C1 ED 5E 4B 70 9E AB 9D E5 8B 8D 34 73 8C 63 82 21 10 13 BD 85 DD 80 F2 1F 86 A0 E3 10 E8 58 53 32 7E F1 D1 85 C3 DC E2 AA BF 16 47 D7 EC FB A0 1D E3 6B 7F 58 74 0C 39 9D 77 C9 4A 4A 80 AF D2 D5 9F 94 10 31 E9 5F 85 A5 E4 DA AC EC 04 AD E8 FD D5 0B 9B E4 9C 85 34 3A 80 4C 09 00 58 16 5A C9 0C C9 46 90 FA CA 6D E9 03 72 5D 53 A8 93 B0 F3 20 5A 3E 80 B2 34 96 E6 F6 2D 90 1A 48 1B CC 26 04 29 D9 64 41 E6 F7 69 9E DE 60 29 E0 5C 7D 16 7B 49 36 E0 E8 41 E7 8B D5 8D 12 95 E9 9E 67 0F BD CC 86 CD 01 4B 83 59 75 95 4A E9 B1 B2 86 05 27 B2 90 9F 5D 60 9F 63 19 F1 44 95 F9 6E E1 B9 86 71 1F 6F BA A2 D6 37 44 B7 25 C2 61 2D DE 51 A9 C9 70 32 E9 9A 19 AA 37 78 31 AA 8A 8B FC 0E 9D 80 BC CC F2 FB 8F FC E4 59 25 CF BB 14 1C 58 F4 8E 7F CE 51 51 CA 7C 10 0D 08 6F C9 CE D0 60 E1 C6 8D B0 D5 77 E0 70 D2 22 D3 A5 2D 56 4F EB 21 E7 3E 1D 71 D6 A9 6B 41 7F 04 03 ED 4A 55 9B AF EA 27 D5 26 59 FD E9 F6 E1 E1 6E F3 80 23 6C E9 80 FE 83 E4 F4 AB C1 65 75 5E 93 D6 1E 6F C6 94 FB 5F 75 68 5A F4 11 1E 4D 00 12 6A F2 4B 31 E3 24 BB D7 67 4B 29 75 9C 4C AE E1 6B FA 3A DF EB 6A 4F 79 96 88 89 BA 7A 05 E6 C3 33 43 CF 82 EE 25 D7 C8 73 12 B8 E0 BB F7 0F 0C 39 57 37 D5 CE CB 05 CC EE 05 A4 D5 47 99 0B EE 12 6B 9B 52 DA F4 21 CD C4 4B AE E7 21 87 9D F1 56 9D 07 C5 C6 D6 1C 82 27 C9 B1 9B 4B 73 C3 85 5E 22 8F D7 85 70 80 75 C8 99 C8 C5 9B 88 B8 E2 05 30 DE 11 5A E5 36 05 A9 19 3C 93 75 74 0F E1 E8 E1 90 B3 5C A1 91 14 4D 4F 52 08 C6 82 CF 5C D9 D4 34 94 09 23 55 43 E2 8A 5D 56 1E 32 82 18 7C 04 C5 32 88 37 66 4B 71 5F 19 89 4B CF 92 61 3C D5 4B D3 14 EE EF 04 8B 2B 92 74 1C E3 E0 35 EB 46 CB AD B1 01 18 97 D7 FE 27 55 F1 15 09 A6 43 15 D2 8D DF 90 51 E2 1D EA AF 15 82 D7 AC 94 2C 7B 1C 48 18 AB 70 31 0D 6E 66 EA 52 1E A9 30 5D E2 8F 39 D8 8E BF 94 D2 E3 DB 52 81 79 09 8E 16 34 C3 BC EF 11 74 32 7D FB C2 0E D5 35 EC AF CE 86 BB 7E 2A 0F 42 11 AD 1C 22 7F 2D 46 A2 0D 1D 9C 0C 98 51 E6 3D 81 18 B3 57 06 4D 0F 83 9D 8F 02 3F A2 53 7B D2 A8 E7 A4 2A 03 20 B7 67 B6 67 17 02 4D C6 82 66 C3 F6 49 FA 0F F0 23 20 3F 55 26 2D A9 7E C8 4B 68 22 08 2D CD C6 D9 9B 25 99 55 96 6F 7A C8 BA DE 91 0B 98 70 D8 64 8F 7A 76 2F 29 75 D1 D9 AD 46 E9 56 9A 75 96 64 28 B9 85 2F 76 04 AA 48 11 E1 17 DB 41 2A AF 6C 8E B4 CE 6D 5B 8E 41 70 27 87 55 36 DD 5F 1D CD B6 36 66 60 D3 C2 33 88 28 FE F8 AC 69 BD 6D 33 E4 45 84 E4 13 5D FA C1 23 D3 D6 92 12 96 2B 30 52 4B DD 64 7D 3C 38 81 13 73 D9 65 72 0C 1E 91 C3 3C 93 BD 25 F2 1D 04 76 7A 7C 88 58 1A 92 19 BF DD EB 3A 07 8D 37 86 29 5B C0 82 0A 51 7B 6B C2 15 46 07 56 33 DD 04 B7 67 9B 85 88 70 EA 7E 3F 9A FD ED 09 84 6C 01 F0 D0 7A 80 2F 2F 24 57 CD EF 84 7D B8 E1 BB AF 60 9D 3B EA 17 CD D4 A4 8B 8B 74 0E 62 80 81 7D A8 AA 26 21 5B 9D F3 6C EE DF B6 3B BB 48 78 F0 5D 29 5C C1 3D 23 EE 48 CD D9 80 BC CE 10 FF 68 1C B4 AE 29 12 75 33 3C D7 02 81 43 26 24 FE 22 B6 AD 4C 17 2F B3 13 04 6F 4D 4E 3E 18 3B AF 83 88 3D 06 D9 47 9F 1D 1B 9A FC F1 8D 01 CE 20 D3 8C C0 15 A3 13 30 41 CA 9F 85 C7 BD D2 EE 89 65 76 F6 44 73 CA 2B 3B 11 13 32 13 75 07 F2 77 4C 25 8A 51 99 9C 92 0B 5E 99 7C 23 6B 85 08 C2 9D EF 19 5F F4 9E 07 40 8F C4 6E 3A 3B 53 48 6B 54 5D 28 41 A8 28 AB B8 7B EE 97 8A 90 0B 38 38 29 72 57 6E 3E 45 4B 43 20 9D B3 5F 86 04 A6 D3 71 68 72 45 30 63 30 71 B9 A4 80 4D 91 EC 1D A6 88 2C A4 10 23 D5 AB 5C 01 E6 EE 02 EB FE 55 BF 8F 72 A7 03 C8 0D 11 87 2D A4 F9 0B E0 9C DF B5 FC AA D6 FE 11 40 89 6C 9A 7E 76 49 E0 1A 17 7D 4C 8F B3 BA 74 16 74 14 5C F8 15 80 5D 3D 0E 86 EA 15 36 49 8E DA 4D 04 EE 50 C8 DA 88 69 78 D5 C9 2C 20 58 35 E4 74 AE D7 50 75 76 03 F3 5E F6 CB 5F 95 51 90 3B 3F 2F 42 AF D3 F8 15 77 97 74 92 A7 F6 14 30 1C C2 93 A2 8C E7 08 0E E0 3E 87 B5 2A 0A 8D 50 F2 5F 75 09 DF FB 1F A9 EB C2 47 52 52 9D 4F D4 B2 B7 A0 F9 B1 87 D5 BB B0 98 29 C1 21 92 1D 3E C0 0E 2F AD C3 41 FA 55 30 20 8B B7 AA EB 49 41 0D BA 7B 4A A1 76 37 8F 6B BB C1 B7 A2 C8 52 00 D1 1D 9B 1E D1 D0 5D CD 5D 24 EB B2 8B 52 04 58 9A DC 6E 6B 87 24 21 3E A5 47 50 18 21 14 AB D3 B6 4D 1E F5 D7 6B E7 63 E2 61 16 B4 28 F2 05 9D 56 03 77 E0 58 04 33 BA A9 17 AC 4D C3 0D C4 CC 6C 49 C2 C2 C2 69 F8 AA D5 5C E1 BC FC B9 FE 57 C0 E8 1E 21 A1 27 11 02 59 45 B2 F8 41 2B 95 A5 AD FE 80 9E 3D 65 37 92 71 6E 4B EB F6 6B 0E A6 73 43 B9 35 D7 76 CA 2C 03 80 0C 64 23 75 13 A4 18 BC FA B8 C9 E7 12 F7 7A F7 05 4B 7E 47 A5 27 62 65 A8 3A 64 17 24 30 71 16 AF 3B 95 62 31 EC 23 C9 C2 30 20 1F 4C 37 36 F0 1A EF 79 F9 E8 81 5C 01 F9 0D ED 57 21 FC CC B6 6D BE E9 C3 76 EB 01 B4 18 92 B4 B3 4E 89 CA 30 36 81 2F 6D B2 16 E3 F8 92 0F ED 0B 17 E0 C9 8E 41 DF AF C6 01 D6 3F 0E 74 B7 48 BE 5A DC 3A 57 CE 95 79 4D 95 72 89 6A 89 5E 5A 33 2B AB B7 D7 EB C0 B1 34 CF C8 31 D7 97 E3 CE 5A 88 11 6D A4 4F 79 D1 45 DC 2C B1 14 99 70 7A DA 49 BD EB AD B7 6A 71 15 33 F6 EB A4 E0 F4 7A 0B E3 4C 73 78 5D F4 50 FC 07 3C 19 F5 59 48 47 9C DE A0 A9 7D 6C A3 3F 3F 19 6B 32 AB 72 FE 22 52 16 01 AB 3A 1A 5A 38 84 B8 55 A3 AE CE 10 0F 3A 11 88 B8 0B 47 A9 DC D5 3E BF E8 5C A8 A9 8C 21 21 8C 30 B3 85 32 80 D2 A8 89 D6 54 A4 62 E9 A9 8D 12 1A 64 47 93 E0 69 D0 73 E1 5F E3 C7 FF BF 12 F4 2B C2 B8 77 CB 91 F5 C5 3A FA 30 B8 3C FD 00 E7 13 39 F0 B5 B2 E1 49 61 8C 27 EF 15 A7 7A 05 2F E8 1F 21 DF 78 55 29 00 F6 AE F5 35 38 EC 48 CB 01 0A 06 03 28 F1 66 89 47 55 55 0A F0 42 95 7E B7 BA 5C 0A 7D 84 CC B4 7D C7 C9 82 53 F4 E8 54 5C 62 CA AE 35 58 66 93 42 7F C2 C2 FD D2 7B 89 87 BC 9A B7 CD A5 98 8E 54 B3 A8 7B 4F 9C 38 18 CF C7 02 A1 5A 38 D3 50 0D C4 06 DD EE 43 33 3E AC 45 63 4B 5B D2 7B E2 29 06 1B CA 19 9B 81 61 E9 BB F9 49 EB 15 D6 D6 F7 4D 15 85 18 95 E4 C0 3E E6 C0 F2 15 8D 7A 33 FB 31 94 4F CE 17 97 49 B4 74 F9 96 96 41 C2 4B E7 F2 66 45 E0 C4 F6 27 70 4D AA 6E 10 D9 97 53 BF BE 7F 9C 4B 81 E7 E1 95 D4 D4 43 A3 07 7B A7 9C 47 37 90 70 6B A8 F6 7D 88 E4 C9 6D CD BC 84 1C 1E 7F F1 81 54 18 8C 91 30 4D 92 0C 60 F6 E0 1D CC 93 C5 C4 21 E2 CE 11 1D FA 94 A9 97 9A 2B EA 4F C5 8F 48 84 26 B2 2B 74 B2 16 23 C4 B7 B6 94 F8 67 11 A5 22 F0 6A 75 4C 2D 4A C8 7E 41 3A 3A BB 3F 6E E5 89 6A F1 95 C6 AF 53 FF A6 AD E6 30 3E DC E7 77 BB 8D B3 C8 76 71 27 76 63 C2 A4 5E 3F C5 C5 10 19 77 F4 49 87 B1 CF 70 E7 AC CD 00 77 3F 03 4E A1 23 62 6A BC C4 0D AA 69 59 8B 6A F6 1A 15 16 8B 48 F0 74 52 6D 4B 2A 3E B0 92 21 A8 37 3E EE A1 44 ED CD 01 C3 F0 5D 1B 8B A0 37 DE 27 34 64 53 84 5A 1B 91 14 C6 DA E2 B1 44 2C CA B1 8E F3 BB 23 7C 9F 81 FD DA 72 D6 C1 EC 4F 5E 02 B8 DF A0 AE 8F 1B 5E 94 AE 61 B8 78 63 98 F7 24 7F B0 82 A5 BA 33 CD 5E 6A A4 59 F9 32 A3 99 20 7D 37 03 C2 0E A3 20 14 4D B6 DB 83 45 51 03 CF CC A7 14 4B EC 28 7A 53 25 D8 7D 1E 38 34 09 6C 12 7A D1 3C 60 CB B1 B7 50 EB EF BF 4D 71 7B 2D EA F5 C9 32 9C A0 F2 23 FD 1A C3 5E 37 E0 FC 40 BF 10 E9 E6 5F 5D 7E 4E CE C2 90 F3 1D DE C2 14 34 8C D0 68 D9 DC B4 E5 77 41 E2 23 02 32 5F 36 60 94 95 54 3B 1D 73 BA EA F1 18 A2 A1 0B 83 89 B4 C9 A4 C9 4C 93 3B AA 2C 9B AE F6 49 01 10 4D 98 C6 8A F8 A4 5F F3 5B 37 A5 03 8E E4 B2 E6 E6 10 EF 13 20 06 96 33 02 A8 71 AC FC 87 99 AA BB EB CF 9C EC 65 5C 30 48 2A 7E 8B 51 BD FA 4A D0 8B 58 E8 9A D8 8C A7 CA D2 D6 2E 39 0A CE 1D AB A9 56 D4 2E 90 B5 19 3C F8 80 6D 6E F2 6B E7 65 98 F8 80 BD 42 71 47 F8 94 43 DC 4F 72 59 34 0F 81 F1 55 56 F4 4F 94 21 47 A2 22 E8 D3 8B 09 7E FC 53 FD 74 F5 9E F1 02 F6 D5 00 86 EB 32 DD E9 F5 05 DB 51 00 2A 6B 0A 64 1E 82 7C 02 C8 8D 59 66 AC DA 07 4E 6F E5 A4 32 98 84 C3 07 EE DA B7 3F 2C C6 B1 61 87 20 A5 10 AF 19 95 92 A5 E2 91 63 C4 C1 4D 6F C7 B5 0C E3 91 22 D3 E4 B4 F7 5D 13 A2 1F 17 98 89 D0 B8 1A FB 05 32 80 5D 61 15 42 D1 E5 DA 60 B4 B7 B4 96 3D 67 42 1E AB 59 CF 5D B7 7C 9F 8B A7 5B 93 0A 95 79 C4 4D 0F 37 E2 BF 07 FC B0 AB E4 4B AC 1E 25 DC 1D 85 0F 1F 17 AD 12 D7 4A 5C 5D DC 61 40 25 21 37 CC A6 9D 22 C4 96 27 57 D6 1F 15 63 82 EC 15 C2 FC B3 0D 44 56 DF A6 93 6F 21 06 A7 BF F0 05 E0 B4 6C 5C 6C B5 2F 25 70 54 87 69 F2 3D 00 39 1B 1F 90 7A DE 7B AA C3 3D 32 2A F1 3B C0 21 A1 0E FE A4 A4 32 9E 76 4E 00 E0 CC 89 C3 7C E7 F9 A4 54 CB 3A BA F8 3B 5C C7 22 59 25 25 6B BC D0 6F 2D 17 B0 F7 09 EC 1B EF F2 83 B8 9E 74 E0 20 15 0F A8 7E 01 CC 0A 4D D6 D4 5E FF 34 8D 78 70 51 FD 42 41 80 3C 78 4C 6A 23 AF AC 11 27 88 7E 49 41 E0 01 AD 97 C9 D2 7B 57 B7 AC 1C FD 68 09 15 30 E2 3C 80 59 98 26 37 C6 86 BF C9 73 C4 B1 BA 1E 6A 24 82 7D E9 E3 69 BB F0 DF A7 DA 9C E4 14 98 3E 02 EA BE 39 64 C0 F0 80 2F F7 7A AC DB 47 C7 D9 90 24 F3 F4 52 1A B6 35 AD D3 7B 56 A2 8D 56 A5 36 3C 84 6A 9B 74 38 FE 19 13 84 DC 08 46 A3 5A 28 73 8E 04 AD 43 D4 A9 9C 27 C5 C9 86 0D EF 57 1E CE FD FB 49 E4 AF 11 22 9B 24 21 9E 97 EF 23 E2 86 D2 32 BE 4B D8 44 59 0C 91 1F F8 E0 80 F1 0B A8 1B 6F 96 18 11 B8 CE DC 44 EA 04 30 CE 4F 3C A3 30 15 3A 94 2A 1A 6B 4D 15 77 CF EC 95 62 15 8C A3 08 4B 84 47 67 CE 65 7A C1 E4 39 1C FC B5 C1 48 C8 A0 E3 F4 E1 E3 F6 EC 22 AD F5 67 E8 48 0E DB 5D D9 9F 9B 24 6E 56 D4 E9 DD 8C A9 42 DC EC D3 87 C2 1A E3 C8 FB C3 AC 84 26 C7 38 68 63 B4 D3 61 65 1F 47 24 23 7E DB A2 E5 C3 2E 66 19 A6 51 48 97 C6 A8 1F D6 21 49 18 05 F3 3E CC 8A B2 EE 33 BB 40 6F A2 62 7B CB 55 81 9C 9A 40 99 51 FC 53 2A E0 0A 65 13 D9 9A 2A 53 3A 58 55 5F 85 29 4F CC 8A 98 01 E8 9F EA 21 16 11 6B 81 5B FA A3 EB D8 88 AA 43 5B C8 65 28 11 05 99 47 58 FD 77 CE 3C C4 5E 01 B2 56 AC 53 A8 B0 DE 11 BF AD AD 39 FA CB 2C 33 E0 14 BE B8 A4 9F 9D 12 E8 A2 73 6A 2D 16 14 A6 89 0E 45 B6 C1 6F 98 1A 20 BC A2 2C 14 CA BE 5B F6 60 B0 2D 2E 70 7E 90 93 2B 09 AB 8D 7C C7 3B 7E 51 92 A9 EA 2E C8 C6 87 49 76 2F 97 CE F5 C2 55 29 F2 67 B2 83 8D 6C 6A 87 CE 6A 05 02 01 D6 6A E9 9F 09 7A 25 42 C1 DE 2D D2 C4 D0 1D 40 01 01 E5 17 A1 A1 94 3F B6 8A 15 BD 83 2E 62 2A 24 C3 4A 79 48 87 C3 D7 5E CA 0D 6A AE D5 21 46 AA 91 D2 08 95 90 BE ED EE 60 BB A8 E5 6E E2 45 5F D4 F2 6C FC 39 25 91 52 B7 6C 65 4A C4 D7 FE 41 B7 94 72 FE 32 74 FE FF 0A 9F BA 0D DA B9 BD A6 68 33 B9 94 56 65 6F DF CC 70 6E 56 15 42 BB A1 0B 71 C5 73 98 D7 44 A9 E2 37 97 C8 5F 47 02 C4 D1 A2 19 51 80 4E A1 00 92 D7 64 8C 8D F3 01 13 D4 C3 AD D6 0F 8E 75 26 D6 5B FF F8 1E 2E D9 2A EC 71 17 16 76 02 C2 78 D7 86 33 43 3D AD C5 DE A2 F3 BE 0E 3E 1D 28 71 00 A4 84 C1 14 E2 18 A6 8B 76 FC BB 2F 79 91 B3 8F 0A 72 53 BF F2 4E 69 61 D7 40 D0 8C EF 21 33 B1 3C F7 9B 8F 2C 6F 56 C3 19 6A 3D C9 24 C3 D7 15 F4 CD 36 12 74 5A A8 50 70 02 DD 0E E7 D3 AC 27 17 0D 4A 61 66 27 1E 85 08 E3 4E D3 89 FB 88 4A 61 9F 4E C6 C4 AD 43 D6 72 13 B8 B6 EA 75 C9 FC E0 3F 53 2A C2 AB 45 91 5E 70 DB 79 1A D4 14 D2 FE 65 9D 2F F9 07 C9 51 A6 AC 05 89 36 FF 42 87 CB 75 9A E7 43 AF B7 88 8D 32 B2 4D 68 B7 CE F6 20 0A 5A A9 B1 71 41 DC D7 43 8B 4B AD 4B 08 24 02 03 55 55 FD CA 7C A5 D1 99 2D B1 DE FD 2E 71 AF E7 83 ED 4F 7C B5 82 10 3B 8C 50 A9 9D EB 28 37 23 9B 7A EE C3 B8 0E 52 3C 5D 23 7C 40 F1 D5 21 C4 41 23 4B 5E 49 E2 46 FF 22 86 91 B0 75 6B F7 DA D2 5E 77 EF C5 28 F6 A6 B0 FB B3 9C EB 41 BD 04 F3 B6 9E 67 3D 5B E6 A2 D7 31 7C 4B E0 0F E9 81 FB 27 DD 6A A4 FB 89 A3 4E 43 EC 7B 59 5A 83 BD 14 AE 95 31 6B 1E 1C 2F DA B9 77 ED 3E 5B 3E 43 6A 47 20 67 E8 65 B7 44 AC 00 78 51 1A C5 E0 DC 49 3D 1F 99 43 E1 17 8D 6C 2B 2B DF E8 9F 2E 70 95 7E 85 15 C8 0F 94 4F BE F4 3F D7 01 49 42 1E DB E6 B8 3B 86 0A 5B D2 A2 FC 55 6B E7 3B E8 84 6F CA 37 89 94 8D 37 F8 81 55 90 28 16 B4 6B E3 0D D3 E5 4C 93 19 7B 17 C4 C0 00 84 36 3E 9D 2F 6F 14 21 10 3B 4A A0 15 65 10 39 AD 89 2B 98 09 BD AD 5F 50 33 B6 D8 2E 36 A2 10 00 EF 21 95 99 AB D5 80 E7 FF 47 73 AB 84 54 D6 85 15 D6 A8 5C 1F CD 3A B8 91 6E BD D8 75 B1 D9 C9 FC A4 A4 DD 70 5D DA 1F 1C 38 5D B5 14 31 1D EB 15 66 35 8C 25 E6 AC 43 5B 20 AA 65 7D B1 A9 84 11 3B 1A 5C ED 7A BF B3 9D 67 FD A1 3E 51 DD 02 4A DA 11 DF A1 6E EF 47 F6 72 FD 25 7B 3E 8E 03 B4 48 7B 16 3B 6F 94 4E 9E 42 5F F2 DF 41 0C F4 C9 52 14 5B 1B AD B2 BC 86 98 23 B5 AC 3D 02 BE F2 B7 84 1D 24 4E 1E 9E 52 DE 34 4C 6C 73 92 D8 40 34 6A E7 25 D3 7B E7 4B 93 18 75 36 20 06 BB 98 D7 A9 99 08 5C AD 4E B8 87 E9 16 E5 77 22 CE C8 FC 5E 4D F2 59 F3 95 DF 7A 9C A7 76 B5 85 BF 2A 69 5A 62 BD 57 81 83 9E F7 F2 30 12 83 C5 51 D6 4D D7 AC 79 45 7A 5B 27 43 2C 63 16 E9 4C AE B5 19 DF 4B 46 9D 87 00 C0 65 0B 7D D7 33 B8 60 23 13 33 92 28 A3 E4 F9 69 1B 33 92 62 C6 69 F8 D2 EF 68 C4 89 74 65 61 89 0A C8 49 2D C1 AA 6D 55 72 EA 2D F9 DF 8F DA FD DA 85 D8 46 32 C9 6D AB A6 FB CB B6 DE 0A C8 AD AF 24 4D 1F CB E7 C8 C1 BC 1F 83 30 1F C8 47 24 AD 6B E8 A7 15 18 E0 A6 AE 2C C7 7E BC 33 F2 96 C4 86 BA 6F 66 B3 43 17 A9 AE 0A 39 E7 5C BF F0 70 E1 AD 97 15 EC 25 AD DF 69 77 8B A4 87 30 08 96 55 18 DD 5F 0D BD ED 1E 99 E0 D9 7F 33 68 53 34 8B 06 48 4B EC 07 4F C2 ED D6 E6 F5 68 F8 12 73 55 35 06 B7 1B 91 BC AC A4 33 79 54 35 74 46 28 B1 00 98 29 81 26 1B C5 33 BE 21 48 98 6C D0 16 BD FE B4 07 27 63 DF DD E9 3B 2A F1 BA DD AE 79 10 E4 1A 0D D6 1C 3C 59 CB 01 A2 E9 44 CA 8E 68 5B 90 D0 F6 FE 01 D7 FB 89 50 8C 6E AD 55 8F AE FE D3 CD 98 4F 33 13 1A 96 16 54 0F 67 5B 05 AD FB 1E 6F 4A 39 1D 12 51 CF 38 D8 11 F2 5C 1A AA 88 9D 10 DE 04 8C B3 83 C5 64 22 48 7D 59 0A 4F 66 35 2E 91 9D AE 3B E7 FD F9 02 32 8A 05 1D 74 6C 64 F8 F0 1C 58 9E 82 AE 78 ED B9 16 D0 7B B9 69 BB BB 3F 91 30 E4 D8 9A B1 F9 B3 E5 A0 9A 76 62 A5 17 59 B7 C1 C1 2B 86 55 26 0D 5C 2F 8E E6 36 EF AB AF 8B F3 CD BB BE C4 A9 45 18 10 76 23 33 DC 3B 8F 59 EA 97 DB 9D 7D 42 40 16 9E 01 84 F0 65 EF 74 53 77 9C 4E 3B 57 28 14 48 05 BB 2A 45 7E 99 36 6B 35 BC BE 66 53 E7 20 0A DB 80 78 D6 97 50 D4 BC 1A D3 51 40 CE D5 6E 05 FE 4B C8 5A B2 CA A6 6C 0A 79 AB 72 A3 23 24 C2 D0 7D 66 32 6B E0 FF 2A 5D 41 79 B5 ED 3B D3 F0 56 06 7E 0D 3C 36 C8 D4 83 5F A8 9E D4 88 5F 6B BD AB 70 39 37 DD 96 31 36 0F 0C F6 63 C7 70 AC 18 23 4B FD 6D B1 B0 3C 9D C3 F5 70 29 83 B3 15 27 8D 10 10 61 20 65 BF FF 4B 41 AD 24 2C 60 2B A9 F1 18 C3 BB 33 B9 8C E5 74 3F 6C 46 7B FE B5 8E 22 74 EB 6D 08 48 DF DD 49 78 AD 76 DC DD B6 A4 5B DE 9D 1F 45 A1 31 33 BB 70 01 CC 3C 1A 07 C0 BA F5 2D B5 DD AF 0B 9C 8B A0 5F 0C AC CE B3 60 3C 19 D3 49 11 7A 22 A4 18 5A 8B 44 64 EA F2 1D A6 28 77 38 A5 79 B3 AE 65 24 3D 26 BB 8B E7 B6 96 F5 2C 60 29 E2 BA D2 14 DF 8E 4F A0 83 EC 21 04 84 91 18 22 84 B7 BD B1 7F C3 D8 A6 59 B0 29 72 D2 99 E7 56 5D 9D D2 38 0D 9B F0 C7 28 6E 97 C4 28 39 8C 91 A0 1E 9F F3 9F 04 55 7C 4F 8E B7 56 26 0E 31 A5 82 6F BC C0 9F 33 4D 37 AB 66 7B 7F 29 B2 EF 13 E4 B1 EC 3E B3 BA E1 2D DD 91 49 9F BF CD 39 52 85 AB 60 8D AB B5 FA F8 6B 41 98 64 99 CA 75 A0 B8 CC FC F4 F0 58 1A 31 8B 1F 5F 86 F5 33 29 0C 44 19 66 BF 56 4C 98 56 51 A9 0E EF B3 0A EE A4 6F 04 42 A3 D4 AD 41 4F 36 4A F1 32 2D 16 FA 5B 65 7C E1 4E A3 17 60 F8 8B EA F0 9B 70 F3 97 EB 2A B9 BB 9B 27 E7 17 40 53 72 48 69 BE 7B CB 37 E1 4F B4 7C 2E D7 7D D7 70 A4 70 B5 B0 E7 6D 13 0C A8 77 9B 24 EC E1 81 15 6C 34 20 9F BC 5D 6E 1B 96 08 30 88 72 2C 01 0B 24 14 2F 0C 76 D7 E6 F4 95 24 CB EC 78 44 49 95 07 1F 29 BC 14 CE 47 A5 A6 23 8E CE 5F 7E 5C B9 29 55 5E 7F 86 C7 A6 17 6A B4 26 30 FE C0 05 8D 08 48 E0 3E 52 C6 90 54 86 82 4F 8D 25 33 82 20 B3 BB 14 7E 46 E6 69 E1 0B A6 E2 B5 BF 25 82 7F 90 1D 18 90 B9 B9 07 DD 2B D6 27 86 DB 48 FD 7A 03 FD BD F6 FD A7 3F B0 9A 72 4F CC 2D 97 37 86 B5 A7 38 37 3D 70 1F AE E1 09 29 87 59 32 BE 95 F3 92 42 03 75 8A 1D 5B 45 CA B5 3C CF 11 7E BA DC 85 0F 26 14 7E D3 C3 E6 E2 83 D5 CF EB 92 5A 31 25 6B 94 F1 1B D8 EB B4 7D 8C 96 CE 8B E3 DF C7 38 B4 F7 93 E6 57 9D 7A 6D 56 82 71 99 BC 3A A3 3D BB BA ED 61 12 0A 66 C7 FA 08 D0 7D C3 8D 22 AC BA 03 C2 00 93 2B 00 24 41 72 57 14 17 D2 E9 D0 5D D3 8D B2 87 BD 14 E8 25 FF 28 71 99 5B E9 24 2C CE DA 4C B4 05 50 71 8C C7 0B B0 79 0B 6E C7 73 C1 3C FD 01 F6 03 FD 95 A2 95 C7 9D B6 79 CD 50 76 66 69 0F 1F E2 74 3F 85 1E 85 F0 0D 58 E7 95 6C 82 01 01 F7 39 01 33 2A FD C2 E1 29 1A 32 2A AC 2D 52 4F B3 AD D7 BC A2 1C 4B 3A 53 89 30 45 AE BD 83 70 AE 63 6B 19 59 5A 22 51 58 12 4C D3 73 C4 D6 73 32 32 44 29 B8 11 D8 1E C3 1B FD 63 86 9F 20 66 25 03 04 BE 66 DD 8A 83 52 06 BB D4 7C 98 EB 5A FD A0 0B 81 E1 03 55 02 EE F6 A2 08 CD 8B 62 FD AF B7 A2 34 AF 96 8F 73 44 B3 D8 5C D2 41 C8 48 F4 2A 65 46 3A 85 FC 51 4E E8 2C AE FA A7 A2 3D 83 04 3B 7D 40 32 4C 2C 0F 68 F4 5E 64 30 31 15 DB 5A D2 FE 89 C8 1D E5 5B 0D FF 6C 85 C3 C5 A0 74 37 66 4F F0 97 90 76 EA 37 A7 DC 68 11 65 15 8A AD B8 47 C8 56 E5 6C 6D D8 63 07 B9 BC 2B 75 A6 41 0D FA 85 96 EF A3 DE B0 DD 1E E6 25 CB ED 7B BF F6 33 CF 12 2C 11 D1 D6 4B 8E 99 16 A9 F1 D7 5B 0A 9D 1D AA 11 34 FF D9 A5 66 99 55 F4 3C 50 E4 A4 A2 57 50 DD 75 FB 92 88 66 EE 69 CE CF B6 80 F2 8A 96 CC B5 68 64 2D 62 A7 5B 6F 18 CF 7F F2 78 26 F3 E3 F6 30 07 72 62 F9 08 72 C9 CB 62 AE BC CC A0 51 D0 AC 03 5B 9D DA 7A 0C 14 8E 82 A1 B7 62 79 5D 81 28 92 FE E7 28 5D 41 3E E9 8F 2E C0 18 08 38 B0 A7 B8 06 61 65 E0 AC 87 26 86 65 08 AA A8 B7 EA 39 1C 09 26 72 33 AD 15 6F 59 CD 13 82 D3 EB 3C 4C 04 79 E4 2A D3 00 F5 47 83 D3 2C 57 F5 8F 8B 2B 5A F0 96 59 5E 31 89 51 87 FB 32 9E 68 C1 CE 7F 93 89 C8 60 34 E8 03 CC AA 83 2A 54 0E 55 E4 99 36 F2 E6 98 40 3A 57 CE DF C3 14 CC E0 9B 4C 5F DF 54 FB 38 92 27 D1 0C F5 8F 2B B9 22 99 C3 C6 F0 36 6F 15 47 AC 64 55 CE 65 38 66 F5 44 3F BB AD 2B F7 BD 08 FA D5 49 1E 99 90 5C B3 A4 5C 17 82 25 61 A2 AC F9 CF 86 C2 85 1D 4E 1D E6 3D CE 79 51 59 CC F6 FF 8B EF E2 9B 04 20 D9 58 61 3A AC 82 08 53 5A BD DD 1B 9D 6B 86 45 FF 02 12 41 EE 4C 76 25 F0 C2 C4 99 9F E6 7F E0 E1 D6 57 CB EC 3D 32 28 91 7B F2 08 3F AC 93 FB DE 05 53 23 39 BE 9D 02 44 7B 54 56 16 85 3C 31 49 45 42 38 21 E4 CB AC 22 87 0C BA C6 1F EB B0 13 61 91 73 4C D1 4E A1 F0 D2 D1 AB 99 53 21 EA 74 64 23 0B 64 38 77 94 5B 69 4D A2 59 71 A2 4A FE 4D 76 B3 D5 78 1A E7 0B F9 F6 CA 20 02 4A 61 F6 29 9C 36 BC 91 8D BB 6B 9C 81 38 8C C7 85 37 07 7D 59 B6 2E 73 7D 7E 8E 63 9A 66 03 70 C0 45 48 7D 2F 4B FE 81 52 B2 47 00 A1 57 86 04 62 EE AF FF 0A 72 2B B3 9D 3C B9 54 3D D5 CF A6 6B 98 03 8B EA AE 5B 74 1B 08 D6 23 19 18 1C C7 C0 ED F2 8B 18 F8 CC D6 93 A2 CE AC 47 B4 12 0B 05 E0 9C AE 56 34 1B 7A 7B 7D 39 57 3F 4B DB 5B EE 1F E7 C9 12 F5 C0 C8 D7 E7 47 2C 0A B7 ED 54 9E 3B E2 83 8D 74 73 3C 31 72 57 FF FF 83 B5 EC 08 7B 56 9C B8 F3 6F 80 B9 EC D4 26 59 49 EB 57 A9 D4 68 2B 78 10 42 DF 85 C1 B9 2F 37 AD FE 73 F8 A7 00 96 2A 2E E8 64 FE 3F 94 44 24 4A 44 8C 45 8B DC E1 5F 74 07 47 BB 16 7C 6C AC 04 95 FF 4B AE F7 F0 17 D8 4E 04 79 B9 B9 D2 B6 51 F1 8B CC 3D 46 E9 4C FA 79 CC 4C 03 1D BF 6E 1A 76 A7 FE 34 55 0C 5E 59 82 1F CD 48 37 A7 AF CD 6C 66 E7 60 89 55 07 9F 2D 25 7C 85 C4 A9 3C 12 79 D9 69 0D 5A 2A 20 31 79 3E 6D E9 E8 96 92 9E 6A 62 72 2F 31 2B C2 47 22 1C 06 61 C6 97 C3 92 D8 D0 D2 E2 3A 47 A1 A4 08 3F 4C 47 FD BA 6B 34 99 42 B2 D4 1B 7B D0 E6 FF BD B6 5F 0A 6D 64 23 DA 0C 71 2E D7 53 19 D9 04 A0 05 2B 8A B4 0C F4 3B 73 8B AF 65 D0 BE C0 90 6E CE 4E CA F9 F2 87 BD 28 28 BA 5A 34 19 3B 00 F8 E0 AC EB 47 C2 DA 85 C7 CE 52 AA 2B EE 84 D1 42 1E 7A D4 AE 7C 75 21 AC 88 F3 C5 E3 C6 FB 4C 7C 90 F0 7D F2 F2 69 5A 31 DE B7 B0 33 39 17 05 56 48 11 35 58 D2 B4 93 8C F4 09 95 65 94 3D 56 47 5F 43 FE D6 31 3A 5B 2F 98 AF 65 6E BE 92 14 93 BD 3E E0 32 67 B1 1B B6 2B D0 DC 12 25 23 07 0E 2F 28 EC 03 D1 4D 0F CB DA 98 48 B7 B7 11 43 C1 75 B7 7B A8 A6 63 1E 1F 1C A6 3A 14 F2 09 A8 FA B4 02 28 A0 3C AB CC CD 98 6F 35 3E C9 76 50 3E 4C 7B 20 01 25 34 BA 43 80 4D 26 AE F0 60 02 49 F6 8F 41 E8 3B 02 93 5A 4A 85 60 4C 08 73 3E 48 56 5B 33 1D FE 45 48 1C 30 FD 76 46 4E 8B 15 B4 C4 46 C8 6C 36 19 60 6A CB 40 E2 41 AB FC 9E A1 E2 EC F5 3D A8 13 46 E9 26 22 C2 FA E5 0B 8F 87 55 89 07 E6 72 EC 42 9B 77 CA 68 75 91 2A 62 A0 D9 0A AF 92 D4 6E 98 4F 8F 0E F1 47 85 EF DD 96 1A 5A EC C7 8B F7 93 29 54 35 74 61 3B E5 D0 28 4C EA BC C7 D1 22 08 4C 72 25 63 95 B6 2B 7A A6 5A F7 DE 76 90 D2 24 5C 6A 85 32 D9 6F B8 D5 B8 DB 67 DD D8 54 8D 67 86 4D A4 55 9F F6 38 C6 F4 46 58 EE B2 BB 8A CB 6D C1 53 1F 3A 1A F9 98 08 1B B1 1B AC 6D A8 FF 5C 11 2F B0 A2 B1 D7 EC FB D7 81 13 D9 8E A6 88 73 D6 CB 15 7C E7 A4 56 9F C2 77 BF 22 9C B3 39 C3 0F 3E 66 91 20 01 0F 0A 75 EF 6F 45 9D 1B 20 A5 D9 94 CD 67 08 10 C7 F9 A2 57 83 DB 08 18 A6 C9 F0 70 6F 20 09 24 29 1D B2 FE 3A 06 75 AF 45 08 82 AA 2B C1 AD CA 1A 06 74 EF E6 82 3E D5 C4 90 C1 ED EA 78 26 0A 93 8E EA 49 38 D6 21 81 20 2C 38 55 C0 B0 AB 24 9E 17 24 EA F4 2B 07 97 37 4B 9B 1B 94 C7 07 86 18 05 DF 00 15 9B 0C 50 60 B1 07 CE 45 7A B1 3D D2 19 A3 F2 6F 69 27 B0 0D EA EB D6 72 B9 74 A4 0E AF 7D 81 50 75 51 FE 91 CD C2 0E 82 E7 57 40 62 A4 35 D7 D8 A2 49 AB 4D 01 39 9E 82 4B 50 1D 93 54 10 5F DB AA 17 20 D6 11 FF 7B 70 42 39 59 7C 5E ED 9E 6D 27 DB 97 11 C1 9C AF 58 C3 6F F9 B4 42 E4 38 06 55 FB 95 E6 D5 C6 3B CB 34 99 E3 3C 16 5A B3 0E A0 E6 18 30 73 C6 72 46 99 29 D7 EF 1D 06 12 AB B6 BA 11 D5 C8 D2 2C 79 A6 EC 6C F1 5C C8 9C D2 02 68 EB DD DF 84 BB 3A 61 05 0D D5 5A B4 34 FB D0 E3 C8 DD D3 C0 57 42 00 06 5A AC 0A EE D5 45 AD 89 C1 E8 8F DA D2 8C C6 16 41 B1 57 26 E0 85 A2 D4 EE B8 40 E4 1E 1C BA CC C1 F7 29 86 0C B4 CD 75 59 1C 4B 0A 8A FC 87 5D A4 91 98 BF 95 6A 36 49 53 3B 84 90 77 4D 92 D9 61 C5 56 32 79 8B F2 32 4C FE 35 A7 87 11 72 8F B4 4F 5A 8F B1 56 B2 BC FD B0 53 4D 30 4F 6A 53 38 70 FF E1 0B 2F BB 00 7D D7 9F C6 76 38 1F 79 04 BD C7 78 52 09 13 3E 17 F1 24 58 C5 F5 1A DD 74 8A 3D E4 A9 CE 8F 16 E7 39 AF FC 5A F4 5A DE 9D B5 5F 80 6A 20 D9 72 9C 11 6A 91 CB 99 6D 94 0D 8F 26 31 7E 01 11 31 24 1A 4D C8 8E 05 CD A4 F9 75 24 7E A2 D7 53 A6 D4 E0 D2 C8 36 C7 2A 49 A4 6D 14 2B 50 02 5A 93 9C 25 7C 85 56 4E 0D DB 33 0E 35 A4 05 CD 6A 9B 3A 7E 91 78 4F E8 9D 9C FE E1 BD 0E 7D FA C2 9A 52 D0 B8 69 7A B7 EA 44 34 A0 E5 D4 51 11 DF BC E2 AE 5D E9 47 BD 4F BF C5 88 C1 CF AD 94 40 EA 3A 4F 54 95 4A 07 F6 A1 0B 8C FF D0 DD C9 EC 64 69 61 E1 E5 B0 87 26 F4 08 0C 9B 93 00 85 A4 EC 87 54 44 39 B0 CC 12 79 08 B2 C1 01 BF 58 0E 99 66 02 9E 93 BE F7 89 3A B4 EF C1 6F 6C 43 CA 02 10 2D 22 40 6F 67 80 20 9B AD D0 73 F3 65 7D 4D 3D E5 1B CB 0F 5B 5B 19 32 35 9F C9 44 0E F3 E6 B3 50 B7 68 FF E5 C2 57 5B C8 8A 68 8C 67 61 D0 92 9A E9 16 A2 BC 32 27 78 A1 C2 D9 A0 81 56 F8 D8 52 10 CA D8 14 C1 B3 98 67 A8 B1 3E 21 42 21 40 AF 84 AE 8A F8 77 D1 C0 85 80 ED 85 A8 92 76 25 43 0A 14 DD 7C 4F 61 E2 89 55 E0 39 BB CB 6E D5 03 14 74 7C CA E0 25 01 B9 75 63 A1 05 3C 80 BD DA 08 05 FD 56 37 35 6C 2C 7C 7A 2A 39 8F 09 C6 19 6C 49 5B BA A3 E9 DB 38 EC 93 E1 46 4C FA 2B B0 28 A2 AA 47 E6 DF 80 E5 A0 8F DB E5 93 83 57 49 AF E7 7E 23 A9 3B E3 E7 82 7D A3 79 53 BC 55 1D 28 A5 D8 E5 E4 50 04 32 46 4F 97 14 C5 11 33 84 0D 10 57 37 14 8A CB 56 F2 11 73 4F 09 98 E9 27 DE 86 55 1C 9A 57 03 6A 65 99 48 53 86 C7 4B 03 CB 84 75 D4 27 A8 43 F2 09 8A A6 48 0E AC F0 45 90 D3 39 EA ED EF 73 F3 17 07 87 7C F3 88 83 C2 76 B9 42 73 17 12 6A C2 22 4D F6 9D B4 62 DB 6E 03 08 2D 3E E6 BA FC 42 F2 D9 E4 05 28 A5 6F 11 EE 97 0E F6 69 82 2F D5 3C 11 82 0F 26 FD D7 F5 28 68 6C 44 85 6F 41 7F 97 D2 72 68 BB 9D 5A E5 FB D6 DB D8 12 B1 BB A2 95 EF 56 D2 0C 93 88 CA 2A 50 33 72 55 6F CA DE 70 8A 94 EF 82 B5 CD AD FF 64 67 1A 39 AE 49 D2 46 FB 0A A0 4C 97 3A D2 69 7B 57 28 75 51 C4 2A CF A4 32 8F C9 6C EF 3C F4 41 50 91 90 C0 84 90 BF E2 A6 A8 95 91 16 20 43 BF AF 87 D9 CF 57 49 C3 D5 10 61 93 28 CD 6C EF 9B 59 31 D1 52 4A 5F 2B A5 02 AA 52 9A 7B 59 7F 1C D4 76 64 2B A5 10 C8 9C BB 34 0B 85 51 F1 4A 73 C5 9A 2D F9 71 21 03 CD 11 12 2D 23 C6 35 74 5F 9F 4D 96 BE DC 86 4E 7A CE E8 AA F6 9C B6 8B 91 AA E6 FB 89 88 1E 68 AC 84 29 52 C7 2E F4 D2 BD 95 21 3E AB 9B 8A 90 F3 E9 E8 98 1C 9D 76 4C 91 35 89 3B 9D BC 53 E5 38 4A 76 95 B3 93 DE 6C BB 4D C7 23 DB C5 21 18 33 53 5C 80 C3 E0 A6 D6 D1 39 2F F3 76 85 46 30 CC FC 13 72 58 35 35 B1 9F C8 67 AA EF DF D8 AC C3 36 7A 26 33 7E 3A 88 0B C3 57 F5 49 F4 1B 92 C0 9A BB FA 29 7B 26 95 CC 98 52 9F 1C 75 C9 26 13 C1 BF 43 8A D9 61 F8 81 C8 87 E4 8F 3C AA 6B E0 AB 34 B8 60 09 E8 96 69 52 49 A6 BE 99 E6 4C D1 BF 42 8A 9E 4A 37 0A 48 4E 57 35 5A 0D F8 77 41 76 0C A2 C8 71 36 EE 89 AC FB D5 76 A8 68 5E 4C 8B 92 E0 44 69 54 B6 D0 DE 62 8B B7 F0 BB 3B 55 57 EE 46 0F 21 07 20 76 0F 4F 53 74 90 35 32 66 57 31 B6 25 38 4B DA C1 DC 53 42 A8 41 AD 2B A6 61 C7 40 A0 E2 0E 05 53 DE 1E CA 0C 7D 1B C5 C3 06 A1 64 59 8C 89 59 55 D0 A7 A6 4D 98 99 B1 A5 96 2F EA A9 F0 14 C0 8A C6 C0 8A 47 7E FF 89 F5 2C 25 AC 21 B5 27 D6 BB 60 B5 E8 FA 1A 8F FA 81 59 8C DB 33 37 DE D3 72 DB 74 C9 7E 0C 5B F0 5D 07 73 D2 00 46 43 F2 C9 6F 76 28 52 23 FB 64 3C 15 A4 88 7F F6 AC DE A6 94 34 B0 D8 26 83 59 D5 43 F0 D6 97 FB 07 0C D9 45 5F 7F 05 29 18 87 2A F2 08 CB EC B3 82 A4 67 1B EE C3 6C C6 30 0F 68 7C C3 B9 5C 78 C7 1A BC 40 B6 99 AA 81 A1 99 8E E0 D3 EF CC C2 88 43 98 FE E2 EF 02 07 BA 40 86 EA 3D 9E C9 89 F6 CF 51 72 35 0C 6D 06 1E DE 8A 4B 37 CA B0 A4 71 79 09 53 98 94 AF 9F E6 97 0A 15 8E 11 E5 EC DF 3D DA AD 9C C2 BF EE 61 15 64 8B E3 FF 6E 06 EA 67 82 E6 A3 BC 5F 39 0A B0 B2 3A 36 78 70 92 F6 EC 86 54 0F 63 A0 40 A3 4A 29 FF BF C9 3D 0C FB 5D 71 DB A0 9D 71 1E B3 93 50 30 B8 72 EF 6A DE 79 7F 0F 69 99 81 CB E0 36 05 5D C2 D0 74 66 90 DB 4D D4 E1 A9 0B 4A 0A 96 61 A1 E8 E4 D0 93 D7 41 51 E7 F8 0B FD A1 B1 18 56 A7 1F 8D 48 78 7C 52 C8 64 C6 5C 01 8C 48 85 15 40 11 44 A0 B2 6D 5E 7F 46 48 5B AE 07 A9 3B AF 18 76 EC 6C 9E C7 C3 18 59 5C 79 14 32 3B 4E C3 04 F4 89 D1 6F 90 28 38 EC 9A 41 1D 13 43 48 DB CD D3 9B 63 84 A0 4B C1 75 B1 B7 BD AC D7 C8 5D 0F FD E4 E5 B4 AD C8 AC 40 0A 94 9F B1 AD 3A D6 BA 70 E4 73 5C 93 6E 45 0D CF 6C 46 2F 43 FE 55 83 81 DD 2F A2 2B 11 30 25 32 39 6C C7 81 6B F5 AE 62 C9 D2 C5 DE 6A 1E 7C FF 5F D0 4A 64 55 E6 55 FA 74 E2 DC 61 C1 1F 43 1D 75 E6 0F 3F 75 84 37 DA 51 E4 42 77 1F E8 CD 59 1A 3A F5 04 DA CC 17 4C 31 F2 CE 1A 8A 6C 94 06 9B 61 62 1A 2F EB 03 8E 9D 9D DB FB EC 9F 19 64 02 8C 1E 33 29 D3 57 84 98 09 13 E0 F7 70 5C F7 0A E5 FA 1C 8E 7E 94 92 62 4F 4A 32 FB E6 81 81 E4 6A E1 D5 90 79 DD A7 3B D8 94 70 67 23 A9 B4 D4 8D F9 69 FE 27 BF E2 2D 3C 49 AA 28 0B C9 45 72 79 DF 66 53 99 93 49 B4 14 00 D7 7D 92 BA 28 82 8B E3 89 04 45 A0 A3 7B 33 AC B7 0B 97 B4 DE 92 7E 4E 79 20 F3 FB 54 06 E7 FC 5D 54 63 DD 95 35 DB 40 85 E2 B6 0F 36 FE C7 81 A2 4E E4 92 F2 BA AF AC 7C 44 D1 42 C2 AC 6A F3 52 8D 15 B6 FB 7E 01 17 2C 02 BF D1 D5 F0 02 B9 BA F0 5B C3 8F A0 F7 2D 34 0C FA E9 98 A9 1E 4D 09 77 6E 0D 64 E3 BE D3 DE 32 D8 CB FD 55 91 C4 DA C0 87 4C E3 F8 2B CE 7C 69 5F F6 26 C2 40 FB 44 7B 16 10 85 6F 77 47 B4 81 92 4E 6A 3D E4 9C 13 02 BB 96 68 48 29 50 39 B9 50 BC 6C E7 8B 7A F9 0E FA 52 86 0C 0F 7A BB 4B F1 0D 13 9D D1 4A 37 F3 F9 48 B3 05 02 7D E4 F2 38 EC C2 9E 7D A8 2A 0F 1D 16 B7 F6 AD 8E 72 51 DE 97 FE 4C 15 BF F5 79 9C E5 8F C2 08 CD 26 C1 4C CE 2C 38 A9 BC F8 F0 AB 9D 8A 51 24 AA 7B 97 86 4B 94 EB F4 CF 1B 35 34 2F BE 49 7C 42 F8 20 AB 39 8B 36 69 24 52 EC F7 65 2A C2 1B 4E C1 A2 1F 88 A2 C5 4C 40 D0 0A BB BE 84 4E 8F CA EE 7A A8 2A 43 48 6E 03 8C 86 05 69 B4 CF EF 1B 4D 05 21 BC 00 8D 70 AA DB 51 0A 54 BF ED C5 64 DD 61 2B 35 37 F3 55 E7 E8 EF D4 56 F8 50 13 44 9D 5C B2 C7 C3 25 DE 47 2B 9C C2 29 DF B9 4B 57 A8 23 92 EF 6F AE B2 4C F6 04 21 03 6C 27 A2 B9 7F DD 39 7A 41 2B F9 BE 14 92 04 92 E6 E9 9E 4F E4 51 45 CE 33 5C F3 CB CD 9E 02 FB 85 0A 4E 40 8B BC 98 26 8A 8F 52 EA 28 C4 77 1C FE BA 26 E4 F0 7F 39 EB B0 F2 C6 C0 4C 8A 01 88 75 90 53 A2 1C E1 11 1B 54 ED D9 DB 9E 76 78 EA BA 65 F6 7C B7 54 AD DE 53 22 9B 79 B7 17 EA 42 ED D5 80 3A 56 D0 24 FB 3C 83 16 95 5B 27 AE 35 2C 6D 61 6B 0A 7B B5 7A D1 D9 BB 0F AA D9 19 D9 EC 07 D2 89 74 8A 3B B3 FD A1 49 21 C8 72 5C 80 1B E4 07 F9 0A B4 D0 2D 6B 45 17 22 B4 B0 A7 68 74 28 30 C4 E7 28 0D 89 87 37 9F 35 5E C5 CA B9 F8 4E 6C 8A 7E 66 97 0A 0E C5 99 80 96 B0 A8 6C 72 D6 C8 E6 56 5F FE 6B 4B CC AF 52 12 23 04 33 E1 90 87 24 E6 6D FF 18 F2 E1 66 FC AA 25 7A 9F 07 DF 7A 30 13 9A B2 20 DF 6F 57 D4 CB CD 6A CF 59 A4 7D 37 E4 80 8F 4B 7E 07 C2 BA 2E 53 18 41 0F 14 AE A8 79 0F 23 4B B5 7E D3 87 AA DE DB 8C 79 96 45 24 F5 F9 B6 DA EC 33 0D F4 3B 60 EE 4C 26 08 65 5D EE E1 67 BA 20 0F 05 2D 3F BD 99 59 E4 E3 6F 2A C7 77 3C 85 BA B7 F0 4B 88 EA EB 1C 07 F7 65 DC 39 A7 B7 39 13 D9 DC EF 3B 3F E5 55 13 F0 A5 6A 98 3E D3 42 71 B0 A7 05 1A 6F 12 26 00 6F D6 C5 3B 0F 3C 36 18 A0 31 B7 AE B0 13 73 54 D7 4B 22 20 25 F4 C4 0F 24 5F C2 20 72 CF A5 73 C5 64 84 56 C5 E2 5B 0B 30 A7 4A 27 F6 F9 7F F9 CF EC AC 37 FD CD E2 5E 94 11 D2 6C F4 E2 03 B5 10 67 E2 96 02 29 00 A2 B7 7C E9 76 3D 62 8C 53 C3 F6 46 31 A5 C1 8F 56 31 0A 2C 15 D8 ED 56 0D 1D F6 EB 06 4F 2B 71 E4 39 67 BE EE DC 83 05 FC 84 93 41 D4 BA 81 2E 93 30 26 C5 14 00 3A 73 3E 5A 32 A9 8A F7 7B BC 66 A7 91 E6 0E 59 F8 D5 62 41 60 6B A7 AF C5 34 99 FF C7 08 42 D1 2A 24 91 7F D4 FA 18 A8 7A 1C D1 76 45 99 01 87 E2 DE 60 46 40 37 6E 52 80 B8 B8 C8 6D 32 0C FA D6 32 AA 33 7A C5 14 16 AA 81 1C 28 FE 2A C7 A4 54 95 8B 7B D5 A8 4F 4C 6B 67 BA 10 F5 89 B7 19 9C 23 34 98 66 68 40 DF 34 D3 03 3F F8 ED 68 C2 E0 4B 81 E7 3B B4 F2 53 42 2A 7B D3 58 81 80 84 58 B3 28 F2 DD 02 4D EB 4F 1C 79 F7 40 34 C2 E4 2A D7 C7 CB 5A E3 11 94 C2 7A EE 10 F9 66 1E DD 33 7C C7 3F EF BA 13 DE 38 12 BF 04 90 C8 43 EF F6 59 53 5E D3 18 02 E6 E0 92 EA F9 DE F0 44 E2 6F FA D0 D7 DA 71 22 B6 A2 C7 D3 83 B8 95 75 88 1E 45 15 87 A7 D3 9F 7D EB EF E6 B3 DF 39 A3 A7 76 12 28 2B 43 E4 F3 D0 1F A9 04 79 FB 2B 40 9D 90 1B 58 0F 49 DB 0C 2B 37 33 AD 49 9D E7 EB 85 DD 2F 69 82 CF F4 66 30 17 48 C5 02 83 AE 28 A4 1E B5 E9 AA 0D 59 FA 3D 14 D6 F8 B5 BF 20 4A 6A 6E 32 71 16 28 34 DD DC 32 A6 48 28 4B 9E DE B2 89 17 12 A4 34 39 7A BC B8 29 96 72 FF D7 F8 C3 F8 40 01 2D 58 17 1F 44 E5 7F FC 41 05 5C 46 7F BD 01 4F 04 D7 D6 44 E5 0D 74 67 49 5E 17 4B 82 81 B6 29 06 A6 B6 26 62 95 94 B0 2E D1 D4 C0 B3 6F 4E BC 69 35 C1 1B C4 4A 56 08 EC CA 51 35 15 69 6E D8 A1 AE 11 F1 97 A2 2E D2 CB 46 5A 28 8C 21 4E 54 39 3B C4 1F 08 03 58 3A CE 6A 24 A9 BB AB D8 6F 3E FC C6 FA 28 F8 F0 42 64 4E 6B B1 41 F6 99 16 F7 A5 E9 3C 52 E1 B1 12 00 53 8E F3 A0 7B 71 B6 BC 50 ED 80 72 BA C6 CD BB A3 5D 3F 3E 86 D8 27 F2 B8 9B F1 A8 27 EE 9F 95 91 68 D3 A2 49 CD DF 45 CE CD BE EF 10 51 5E 40 7E 11 03 63 7F CF A4 6F D3 9E F0 95 D7 7F CE 96 25 2E 8D EA 83 31 77 41 0B 6C 82 BD 7E CB F6 88 9B 86 9C D9 B7 E6 5A 16 A8 BF EB 30 3B 20 51 CB BD C9 0D 58 1A 0E 8B 41 25 5F 17 3F 48 3E 5D 1F 5C C5 1F 5D 1E 4C 0E 9B CD 21 CB FC 78 34 6D 56 F8 D2 85 D3 4D 3F 81 8B 50 C9 32 5C 53 7E 1C A5 F8 64 05 57 B5 8C 62 BE 4A 89 C2 4D 56 12 BB 14 16 14 F1 49 6E 9F 40 07 7E A3 0B 73 9A A1 97 4B D7 EF FB 69 9D F9 B2 E1 51 D5 F6 A7 1A CA B9 CA BC C3 A8 19 42 34 7A D3 C0 80 49 55 DB EA F9 D6 5A 99 4A 3B 3F 46 F1 31 8B A9 9B 59 5E 92 74 CD FF 52 A3 21 5B D6 3F 13 AD B2 0A 2B 11 F5 9E 1F C5 7D 1F A3 91 FF 69 19 29 C8 82 C2 46 4F 4B 64 C9 00 3B B2 D5 F1 F9 6F AF C8 C0 4E E3 C7 1A D5 D6 0F A8 52 23 45 3B FE B7 57 A2 EB 93 E6 F1 1C 1C 74 96 79 A2 9A 9F F2 CD 70 00 BF 26 A7 D8 CC 39 F1 A8 C8 68 D6 23 CB 7C 54 7C 31 F1 83 2A 64 3A 65 17 26 60 64 DB 34 7E 14 9F 23 A8 A4 64 90 7A FF 0B 47 01 B0 C0 AA A4 15 7D FA 0C 08 99 1E 94 B5 58 C0 04 40 A6 FF B2 DC 82 0B C3 36 0A 3F 63 3F C1 BF 5E F1 68 72 45 C8 2A D9 81 33 BD EB D3 2A 5E 57 83 DB CE 1A D9 5A 4E BB 47 B4 74 28 90 9F 6F 2F 25 5B A5 D1 E0 D3 AA 73 8A FB BB 4C 07 78 2A A2 20 6D 56 50 9D 1E 5D A9 0A 9B F1 BC 13 C6 57 F0 B1 CC 91 DC 9B C1 48 19 3D 28 B0 C6 E2 33 41 B8 DC 65 D7 78 2E 28 91 DA 95 56 6B 6F 82 57 72 BF 9F F2 C7 E0 D4 BB BD 57 7F E4 8D 03 52 25 D0 49 6A 92 3C 4B 9B 5B 61 CA 4C 09 AF 7E 6B 63 E4 6D EE B7 6B 5E 2D D6 52 F6 08 6C AE C6 8E 82 D1 F6 EE 87 B7 77 27 C4 42 1F D4 26 C4 A5 BE AD 47 FD A7 92 5F 86 21 71 FF 46 D9 5A 71 19 EA D1 E5 50 A6 52 16 B6 30 FA 01 98 4D 60 77 70 79 88 E2 29 A7 97 13 B5 2F 2D 99 46 6B 44 26 66 5D 35 74 87 D8 A1 84 1D 95 7E 80 D5 75 61 B0 B3 C5 87 84 A1 5B 10 55 EA D2 46 5D 16 86 2E FD 10 65 2F 90 E4 06 C2 69 8E 67 7D 55 F6 96 DC 39 75 CF 91 30 13 26 E7 11 CC E9 92 64 C0 2D 07 3B 11 45 5D 05 EC D1 9A 70 9B B4 A4 8F DF DD 25 6B 1D 12 EF A6 6B FB 90 11 E9 AB 3A 4F 87 F7 D0 80 FE 7F 38 D4 BB E7 6C 03 74 DF 40 0B 26 64 B1 75 F1 16 B1 B5 00 41 8A D4 6F 66 48 C3 B6 67 AB 2F 81 46 8D DB 36 0D D4 B9 64 1C A6 C9 F3 DA 0B F0 F0 E3 C3 1E A3 37 79 65 E2 FC DB 0D 08 31 0E 14 E6 DF 8D 07 06 EA ED 1D 91 14 1A C3 D4 C5 02 73 23 7F B9 4E 5A 83 DC 2F 1A 21 A2 0F 7D D2 F7 10 5C AE D7 52 EE DB CD 4D AC BC DC 66 47 EF F0 10 D9 1F 53 55 EF 8E 32 3C 06 B2 FD D6 D0 8B 6D 9A C9 7A 2D 8F A6 CD 04 51 B0 3E AF 64 3A 93 26 B7 1C C4 B0 63 FD C3 48 96 43 DF 20 5C 0F 50 DF 8D 49 14 34 33 32 5E 5D 73 DD 92 83 DE 7E EC EA A8 5E 54 A2 50 4B C1 52 4A 65 0B 55 A6 08 AC 1C 76 75 FD 5F 36 08 85 0E 58 48 A3 4B BB 0C 53 19 7D B1 91 DC 43 F7 B2 55 C4 67 86 65 DB 4E 4F 7F 18 0B A6 14 E6 57 E6 4D 68 B0 FD 88 3D 55 F1 2C FE E3 A7 AA 11 75 65 EA 31 82 7C 89 4E CB 56 89 35 AD D9 9C 16 E6 8A 4A 70 D1 DB B4 12 73 E8 B9 9C 96 1B B7 C4 58 EF 85 32 FF CD 9A 2B B3 DB CF 11 0C A3 BF 11 18 0B 5A D5 2E E1 5A 5D EA 88 60 2B 5A 66 14 FB 76 AC E3 A6 AB B4 6C 08 E3 0C 63 F6 B0 74 45 C3 F7 43 3A 90 3D DD 66 56 1B C5 83 72 33 D7 3E 70 34 26 D1 E9 1A BA 86 E0 14 F2 E8 A2 E0 47 ED 8F 84 26 36 A5 B4 16 F4 4E 42 A1 67 A1 B7 44 79 C1 F7 26 04 53 62 4D 60 00 00 11 94 EA B3 FC 97 65 39 92 6D BB 5E DD 5F 7F FD FB 23 C9 51 44 0B E2 12 9B 9B 41 FE 14 76 78 F0 3A FA 44 4C E4 BF B9 C1 12 70 64 DD 55 A1 A8 D9 49 25 07 CB 22 35 97 34 E9 1B 42 B2 98 AA 52 D7 A4 FA 96 4B BB 3C FA 2E 25 29 0F 14 11 D8 BF 1A 06 C0 C5 7F 38 B4 6B 8B 14 B6 47 A7 C0 90 C9 21 88 4B DF 37 37 E5 3C D1 10 DB 10 CB E2 F6 09 2C 1E 9B B7 19 F8 EA 50 21 38 7A 29 AB 4F 64 0A 64 48 6A 64 FE 0A 99 FC FE 38 69 6B F2 A2 55 B3 68 C0 D1 81 33 B7 6E BF B2 90 DF D4 F6 FF 97 95 49 3A ED A7 77 B4 17 85 F6 6A 79 41 AE A2 11 1E 2A 9F 5F AF AA 0D 03 97 00 58 24 BC C7 32 9E 05 AB 2E BD B0 BF B9 C3 40 F2 C3 CC 61 BF 3F ED 49 03 AD 3E 48 0D A4 41 E7 74 A6 B5 71 64 58 95 0B 66 02 3F 41 C3 34 BC CE E3 4C 60 D4 2C 05 35 96 3F 80 46 87 61 71 15 99 A7 9F 70 1B 42 80 B3 AE 41 70 CB BD 3C 38 C2 B7 37 BB B1 25 19 5C 4B CE DE 27 A2 69 68 07 E0 A4 90 3D 23 4E F0 CB 93 9F A9 1C 15 E2 5C AE 18 C3 AF 2C 95 CD DA 0B AA 29 F1 B1 94 0F 98 55 54 AB 28 2C 5A F1 AE B2 5B 62 43 C3 EE A4 D9 FF DA 87 0D A7 C8 2B F7 E9 2E 0B 9D 9D 5C B8 08 50 B3 0C 2B 19 25 37 CC 11 AF A2 42 AF E6 CA 5A A5 83 4D 54 E2 46 68 C2 8C 3F 03 E9 94 14 4C EB C3 70 C6 29 1E 21 AE C9 AD 16 46 33 F7 BC 36 B7 56 4A F4 01 CF 56 6C DE 69 30 37 F8 22 0F 24 A9 76 7F 6E D9 6E 3F 73 7E F6 00 8D 34 62 63 D3 83 AE E5 F0 D3 44 79 CA C2 A6 0F 95 B2 FA E2 80 A4 F9 5C BD F8 E3 97 6A 5C E7 D1 9F AB 9E D7 A1 8E 41 C4 1E 1E 6E BC 72 C0 A6 E7 D4 83 70 D4 69 AC D9 30 B3 F7 0D 10 BD D3 CB 2D 93 B6 0B 2F 96 47 22 FB 1F BD F8 F9 C1 4C E4 25 F0 91 3C E0 17 82 69 94 DE 58 EC FA FD 38 13 13 6F 26 53 E2 B8 54 AA 3E 5B EB 59 55 48 3F D2 96 F8 64 1A 2F 88 AA A2 CC 15 39 18 20 09 C8 04 76 80 B5 8B 7E 25 3D 7E D1 F4 DD F3 40 3E 27 E6 09 7D B5 89 1D 82 DE 21 21 2C CB C9 45 2D 30 5E 9A B1 CD F9 6C FE 1B 47 AD 30 6A 2C C2 2D 65 52 6C 9F 6C 51 04 1F E2 C4 71 A9 E5 E1 E1 C7 F7 9E FD CE 33 10 7A 17 57 F8 E4 F7 BE C3 6F DD F4 FF E5 FD 20 B3 6C 61 99 55 C7 72 BE F8 D4 6A A9 74 BF 78 F7 2E C6 6C 92 CB 41 69 33 A6 45 BF 09 45 F9 28 07 EA 84 72 E7 DD 2D 0D 63 1D D3 57 40 73 92 61 48 19 3E 68 52 D2 BB 50 BE CF 1E 28 A2 16 B3 08 EE C9 2F 7A 70 D9 07 93 A7 CD 9D D9 9B E9 5E 93 43 CE 6B 84 6F 37 1D 37 78 78 48 24 79 2A 2D 32 BE 13 EA EE 8D 77 41 07 A0 10 00 48 E2 2A 52 38 E8 37 35 96 EC 51 45 A5 52 9E 45 15 98 9B 0E 69 CB C9 D2 8B A9 F0 F8 DE 5B 32 0A 88 0F CB 36 CD 02 0F DD 7B 10 9B 9F 09 55 E8 7E A0 83 91 34 61 52 50 8A 2B A6 34 01 07 48 B2 72 48 44 C7 89 7B B8 2B FA 80 A2 98 ED D0 69 D4 1F 62 8B 97 11 8A A2 46 28 11 40 14 D1 1F 98 03 E5 44 22 EB 0C 4E 78 D1 D0 A7 27 11 69 D4 DD C3 13 CF 2F 8D FD BD 0E 19 F5 53 BB CF 3C D4 6E 95 22 24 1D 4F 6D 38 9A C5 1C 33 D6 11 AD A8 4F D5 F3 39 3E DB 14 7F 06 C7 B7 C8 7C 1B 90 EF 0F AC C4 FB A9 C7 6E 59 EE 4A C5 BC 13 A8 A3 B5 8D A2 A0 66 F8 1C 2E E7 29 FE 21 15 86 AE D9 7B 4F 39 1A 65 83 0D F6 F7 AA B8 AD 9A 8E C1 15 8A 4B 2A A7 92 5C D4 7D 52 DD 01 3D E0 25 57 08 1B B5 9D E9 03 2A 84 9F 6E A2 03 72 D0 B0 E3 89 97 52 99 AC C9 38 F2 73 D4 7F 0C 2A F9 15 1E 59 6C A5 94 39 25 2C 06 59 D8 EA 9F D8 C4 5C F3 A1 92 D9 7E C0 6C FF AB 69 D6 50 36 86 0E B3 C9 10 B8 BC FB C5 3B 4A A3 45 07 61 DD 4B 27 D5 EC 3F E6 66 7A 1D 4E DE 84 36 E6 C9 11 F2 32 CA 60 E1 C0 6A BA CD 0C F6 7A 8B 08 4A B0 80 BD 2A AF 06 60 40 8F BD AD 50 C3 D0 91 DE DF 1C 01 07 3F 96 10 7A A7 3D 2B C1 59 E8 C3 11 B4 4F 8D 15 D8 48 17 33 9E D5 76 A2 61 F8 5D 1E AA 9C B7 4B B6 D2 E1 76 EE F4 1F 81 22 45 B6 4B 82 0D 11 CE 30 44 D3 70 8D DC FA 6C 03 5E C8 FB 5C F8 47 74 5E 02 FB 8F DA CA 91 39 88 A8 4D CA 58 58 3F 68 5A 94 00 27 03 85 3E 67 8F 20 C9 F5 72 8B 1D F3 EB 4D 42 50 E4 F0 7C 0C 74 A6 F8 46 B8 FD 01 B8 97 84 3A FE 9A 71 61 30 39 02 88 34 30 BD FB B6 85 DE 94 3D B1 A2 D7 CB 8A 12 14 56 82 31 9C 1D 20 D6 03 00 48 86 27 50 F4 5F 04 BF E3 2B A5 2B 91 F1 5E C8 53 12 74 F3 E8 49 90 3D 30 D6 AA CE 5D 56 91 7D B3 81 BD 9A 86 7A 0F 14 C7 E3 57 F1 82 D6 FB 7B 10 DD 3B 30 0D 97 D1 46 96 61 D9 62 4A 3D 28 B1 29 33 D1 58 FC F7 3C F1 BF 2F 59 75 B4 E8 C9 2C A4 7D 44 CE 54 4E F6 61 F6 22 FB 00 33 39 B2 EF 47 D1 D0 5C 5E 19 40 BC 81 9A A5 37 72 4D CB DD C8 03 15 A0 47 86 FA 85 00 2E 1C 4B 82 38 CD 04 9B 44 4E B8 30 7A 83 F3 92 19 FB B4 44 A9 DD 54 E2 58 1F 2E 4D 71 C1 3C 31 17 50 0D A6 98 7A A2 2C EA 97 F8 90 81 74 92 E5 09 C1 DB A8 A4 5D CE 2A D3 0E B8 7D 53 B3 13 D5 2F 3A 44 81 AC D7 12 11 1D 8D 39 4A 74 5F 6F 2F 9B FC 54 92 99 FB EB 4D 88 A6 BD A8 A2 07 DD 41 48 94 EB CB 5E C3 53 4F 7A A0 46 BE 4D 76 24 22 F8 73 B6 96 34 D6 34 F3 7C 8D CF 4A 7D 10 CF 0E 05 19 53 0C 10 2C C7 B7 9B A0 30 67 6D 97 B6 21 28 EA 36 CC 1D 86 95 C4 27 E0 65 BC 6E 58 ED 1C 35 F0 85 20 9B 64 68 0A 56 E2 EE 22 56 D1 3F 56 D3 6B FE 63 0D BF FD 59 B9 26 46 A0 FD C8 54 FB 01 B0 6A F5 83 64 1D 43 68 53 A0 21 16 06 74 55 62 D6 B1 72 C2 3F C5 4F 1D 6D AF 6E 70 14 B4 92 97 1D 3D BE C9 C9 32 C1 52 5C 0F 73 C1 DA 09 83 85 3D 4F EF 91 91 9A 94 66 A8 6E F5 1C 7D 28 62 F9 5D AD 6B F3 A3 0A 38 E8 F5 D0 F1 2E 96 D5 27 DF 3B BC 85 89 C1 81 A9 24 94 D5 EA 06 F4 C6 45 AB 70 76 69 0A 1F 09 D3 D5 C6 DB D4 BC A1 72 3E 93 D2 5A 6B 01 F6 A3 B6 DE A1 6F 5B 08 ED 24 3D 04 B7 02 2F 50 5D 4D FA AB 8F 05 8D 06 7B C6 D2 70 94 11 4C 61 45 38 57 E8 06 B7 5E AB C1 3A 82 E0 7F 5D D8 31 3F 40 5C 0F AE 7C 2D 90 C9 64 F2 1D 0B DA 4E 8B 08 D4 EF 6F 5D 4B 8A A3 DB 58 FB B2 3E 3C 39 9E 5A 43 28 F9 3C 33 8E 8A 7A 64 D5 4D 58 27 A5 0A 07 12 D4 30 7D 0C 35 4E 4E 2F 5C D6 25 77 62 69 04 48 0B 5F D9 C6 A8 FC 73 C0 21 2E FB 53 7B 85 3D 2A 49 21 E1 62 57 13 23 6A 14 D7 33 EB 58 1A 03 14 E7 96 AA 44 F2 7B 4A AA DE 44 EB 9D AA DE 73 08 CA BA 53 72 33 E1 33 70 A4 E8 7B 8F 37 88 27 97 CD 0C 81 98 59 93 A3 9E 62 BD 43 16 33 4B 7B A6 C8 56 FF 36 58 A9 0B AF 50 EF EF 05 0A 97 78 44 B6 86 96 2B B1 69 A4 E1 79 FA F4 CA 22 91 E5 90 89 88 D0 E2 07 BD CC DC D4 17 D9 BF E3 03 F4 10 A2 29 E7 1C B3 11 CD C8 57 B3 E8 27 7B 36 14 E7 40 46 0D 7A 06 A4 5F 09 08 EE 3B 6B FC D7 91 8A 5F 7E 6F 91 FD E6 A3 34 C4 BE A4 DF D9 0D 44 1E 92 F7 00 3E 40 2E 28 E1 F8 88 6F 6F 2F FB 27 EE BF 47 05 C8 1A 8C 8C C3 32 49 BF 0D F9 C7 31 04 71 FC AA B0 80 53 9A CB DA D2 45 75 F5 20 86 A8 BF AF DD 01 A2 33 05 CF FB FA 8F 48 38 FC A4 42 B1 75 B6 66 DC 6B C9 14 22 08 97 4E 49 AD B7 6F 83 C6 E7 D6 37 D4 3E B2 9A 6C C2 69 F9 81 6D 76 F9 81 C7 96 D4 4E ED D9 A4 8C 40 B7 DC 4E 24 68 ED CF FE C9 03 4D B0 FE 05 49 4B 35 BD 9E 63 24 18 3D 01 8F 85 77 CF 30 D0 18 E7 1B 14 2A FA 4D A3 1F E0 09 9D 0F 47 8F CE C0 8F CD 3F 1D 2C DB 9A 0A 98 F4 5E 24 87 35 92 85 05 87 ED 52 FF 5D 15 DF 18 48 33 62 A0 8D D8 4C 31 E2 87 BE D0 D6 BE F5 42 F9 63 FE E0 31 41 E7 F8 96 C5 8A 3B 6D 94 4E D0 E7 C7 09 3C 90 A4 B7 97 D5 4B C0 1F 40 73 E1 89 BB 40 67 A7 B7 B6 16 70 83 E9 94 3B 54 C8 37 0D 03 D0 DE FD 44 14 4B 81 55 28 45 06 7E EC BD 3C 58 F0 1F 36 C2 E4 75 87 0C DF 32 C0 FA 03 19 EB 58 1E 33 10 F6 7A 2D 97 90 FE 39 34 C2 AE C4 15 FE 67 00 4C 49 97 89 6D 36 71 DD 66 B0 A3 E7 10 CE D5 5A 73 27 AE 46 6A DB 75 0A F0 53 69 55 2D 96 5B CE 9E 2C 35 41 14 B1 B6 06 2E 04 95 1C 99 7B F8 07 87 64 A4 A6 19 87 A0 0C E1 E8 01 57 EC 44 BC 02 03 8B A7 72 3E 05 79 07 78 31 0E E9 49 64 1F BF 4A B3 EC 5C 22 C7 37 F1 44 D3 B3 09 00 95 23 4B 5D A1 6A B6 A3 9E F6 9E FA 02 55 98 F5 E0 9D 3B 76 18 E0 7A 87 32 C9 E1 67 16 2C C0 BC C0 B8 11 D5 3F 2F F4 80 31 43 A0 F6 3A 4A 7E 31 03 EC 48 C3 21 18 DB 80 54 26 26 EA 06 A3 57 CA A7 0F 42 AE AD EC DD 43 51 31 25 BD D0 D9 CE AD C3 F9 A4 32 8D 9C C9 69 5C 9B A7 C6 A7 26 DC DA 61 5D 2B BC B1 75 5D 60 5D 23 A0 27 C3 C1 B2 C9 B7 11 5A 79 60 94 2D 69 FB 87 93 2F A1 8B 7B D5 E4 71 BB 55 0F BB DB 3C 62 FC 00 5B 62 19 4A F3 D6 F0 45 96 26 0D D6 BA 1A 05 C5 AD 1C 81 EE 57 CE C7 25 C5 E1 65 37 A9 24 44 2D A7 EF B4 1F 1D 97 17 32 27 D2 83 FA B7 24 FC 60 89 8B 3E EF C5 09 19 9A 83 8C 57 B8 B1 38 D4 0C A3 79 00 55 1A 88 21 57 91 47 2E 0F 3A 95 51 2E D5 71 BA D3 97 B8 88 F0 29 7A F1 E4 3B 67 50 BA 5D 9C 3D 5A 7E 4A 05 5B CA BB 80 E6 9B 72 FC 51 07 02 B1 26 6C 8E 50 67 68 32 C8 46 D6 06 43 C2 B2 34 B3 A6 27 AB FD 89 2E BA 0F 9F 0C ED 60 FF 7C F3 B7 2E FD B7 91 EE 45 5B F0 A8 C9 C4 AF 9F 79 5D 68 C2 4F 73 26 A8 FB 16 EE 3B C5 EB 7F E3 64 E5 65 AA CD D2 7E FD 6A C3 FB 82 DE FC F3 6D EA FA EF 1F F8 0F 21 F4 C7 39 04 4A 3A B5 26 3E 5C 79 FE 65 E1 7F 94 8D 44 C0 BF 9A 17 E5 B5 7F CB 0A 7D 57 72 82 49 8A 41 06 85 A5 7B 98 1B 7D BE C8 E4 20 0A 89 16 2A 27 6A C2 CD D7 FE 6E 95 F9 ED 9F EE 07 0E 98 95 25 04 EE 4F 93 C3 61 CD 56 06 F2 9C 76 C1 AD E2 A7 93 4A DD BB 9F AB 56 E2 E6 17 B1 82 0C D4 83 42 39 C2 D6 E6 1D A1 33 42 29 62 02 C8 7E F6 BF E2 C7 15 E9 FF 15 5E F1 43 45 F0 F3 0E 57 67 B6 2E B0 27 C8 F3 99 4A D0 02 42 E3 2F C9 2A 42 20 3A 6B F4 C5 34 B1 24 C0 F2 BF 0D 04 6C 51 96 08 20 7A C6 6E D4 48 AB 34 54 2F 09 48 11 2B DA 23 17 7F D5 F9 72 D5 D6 17 24 EB 74 73 45 D3 02 6B 3F 7B 66 53 41 AB C7 D3 B0 A3 3B CD 05 B7 B1 F0 F5 E6 DE 5B 6D D0 56 8D 89 B4 16 14 3C 66 18 93 DC 4F 78 8B 22 33 EE 8D F1 CA 28 54 38 3F AE A8 A4 F0 45 31 43 9C 3F F8 29 07 9C A2 35 0D AE 7A C5 2C 5A 3F 0A CC 2F 49 95 9D 6D 05 12 C0 16 B2 07 2C A4 0B F4 A1 63 66 72 C9 CA 32 9F F5 72 8A 0D 22 4D B2 E4 07 DF 0A 64 2B 40 27 20 77 2F C2 AB D2 BA 4A 0B 44 94 4A 8A 63 0E 8D 9F A6 B1 3F 32 C2 A8 D3 AC FF A4 3B E8 71 F3 FC 31 D9 30 52 12 5C 72 54 42 48 A4 E1 CF 1E F3 D4 EE E9 B6 51 BA 31 50 18 1A 26 31 FB 53 12 BB C8 0E 62 A1 9F 02 82 DA 45 7E 05 1F 61 2C 40 B7 36 AA 3C 3C D5 39 C4 72 FC EC A2 EB C9 6E CB 85 8D 12 51 07 98 48 C2 8A 04 93 02 1A D6 40 FD 1A 72 15 A1 B0 6B 51 AB F3 DC 08 23 A5 26 8D 2E 9B DE 79 9E 8B E6 41 46 C7 B8 A6 F1 B9 AD DD 97 8E 25 B8 5A 66 DB 36 CD 2C D9 74 59 3D 41 85 DA 0C 71 46 E0 24 A8 93 B7 0F DE AA AE 0B 29 D9 14 9C F2 81 C1 29 D4 07 43 3D FD 3B D8 D2 08 19 FD FC 1A 66 C8 45 18 E0 74 8C A4 56 69 FB 30 0B 12 11 3F E0 BF AE 43 EE 51 A2 26 11 3C 5A 9C 4E 00 6C A4 7B 04 6D CD EA D1 D9 4F 76 3D B2 F0 36 4D 6C 61 6A A6 97 52 32 1F 29 61 21 81 EB 35 63 51 4A B2 37 87 ED CA F3 21 8A 25 20 04 FA DE A2 00 08 BD D8 83 BE 14 70 92 76 3A 78 D0 B4 55 A3 6C 3B 6E DE E8 82 72 35 C6 B5 FD 54 88 02 36 CE 24 01 2B C4 26 76 3F 38 3D FE B7 93 A3 C0 F9 A8 CF A5 6A 97 4D A5 A3 81 E5 70 D1 61 24 27 48 BE BF AE 7D 51 8D 94 0C AB A9 7C F4 7C C1 FD 95 FD CF 76 C6 F6 9A 21 5A 91 D9 2D 4A 8E 63 18 8E F0 98 9F 2D E2 29 48 63 0A 0C 1E DF 20 15 17 BD F3 5C 51 F8 5B 6A 5D 9B 2A 33 CE A3 54 95 15 A4 73 FA 01 F2 94 77 97 8D 79 34 B9 54 C6 D8 AE 71 D0 8E 6D B0 0A E5 B7 B5 1A 6A EA 4C EF B7 15 28 D9 09 12 72 E9 55 89 9C AE 68 E2 27 DF 48 55 AD AC B4 F9 C7 CE 4F 63 96 0B 6C 5F C0 5D C9 E0 21 B6 79 F0 5B C5 02 E5 5B 99 93 DD 82 43 A9 66 3A 92 B0 AB 11 25 0C 25 46 F3 F0 23 DE FF DE B6 B3 4E D9 09 72 79 2F 46 ED 9D A5 30 0A 3C 22 68 AD 87 1B 51 30 50 A9 90 ED AF B0 AE 5F 74 3D 6B BB 47 59 52 A2 32 C0 2B 77 81 B9 90 28 ED D6 2E BE 62 96 C9 34 61 9D 1B 40 3C CA 03 3F 9C 75 3B 09 FB A2 2E BB CB D8 7C BA 0A 3E CC DF FA 3A 99 97 25 64 DE A6 F4 9E 06 A6 4B 60 16 8E 3E FB 9A 4A C3 ED 28 96 E1 C7 A2 BC A2 40 55 40 10 62 66 0E A2 E8 FA 75 87 91 CF AC F9 C2 53 0E FD 48 1F C0 A2 3C 6D A8 F1 18 EB 31 17 4C 52 D7 6C 44 B3 D7 64 BF 9B 00 62 EE 99 30 DD DF EE E6 0C E5 84 74 BB E9 6F AE 0C 19 D9 B4 B0 F6 09 0A C2 26 EB 54 11 62 23 6F 3A 45 1A 55 4E E5 05 0E EB AB 12 DC A3 4B 35 82 8A 9F C2 A2 77 0E 61 A0 F4 F6 E5 49 DF 74 CB 0F C6 6D 22 1C 91 BD 2C 66 3A F5 0D AD 31 A9 6F 3B 9C 41 2A 1B 42 E2 A5 AE D9 57 AF DF 7A 03 D8 D4 B2 72 E5 68 82 7E 1B 65 A1 62 72 4E 5B 13 80 C3 2F B1 08 7C 5F 46 AE 85 4E 1D AA B1 84 E5 67 79 65 4B 8D 73 26 2E 16 A4 67 E5 63 95 D7 F3 C3 0D 4E D7 2A D3 AC 4B 19 7E 6C 98 0E 6D 3D BA 0D 03 B9 45 23 B2 1D 6B 4A EE D9 85 08 86 28 3E F4 E1 B1 DD DE 3B 65 FD 46 8C B3 BA AB 2A 2D B5 55 3A 4E 26 38 35 BC F2 C8 50 2C DA 40 18 75 25 BC CF 9E 50 47 6C 11 F9 66 45 ED 8D 02 4F 0C 95 E3 69 FA FF D3 64 D8 FF E1 38 86 AE 7C 9D AA C3 15 24 2D 5B A6 D9 B2 ED AB 51 D9 B3 AF 64 2A 27 A8 56 21 D3 D3 72 4F 5E 36 8B 29 7C 29 8A 1C 00 66 1F A4 A1 98 E7 34 28 DD 79 41 59 52 2A EB A0 20 05 7E C9 D9 40 DF BF A4 DF B0 59 D5 8C 63 EE 5E CF 2A 92 66 9D AE EF FA 11 E3 C4 A8 A8 A9 D4 C6 F8 36 F9 7F 8D 48 9C 6C 1E 42 02 A2 96 31 F6 0C 80 CC D5 11 CB 8E 7A FD 4F 8A D3 72 13 32 8C 16 06 94 1A 6B 52 30 13 CB F0 68 B1 4A 67 56 5E EB 3F A3 ED 94 C2 48 2C 2B 85 38 C6 9C FF 51 08 C4 59 12 9E 60 67 38 9E 37 DC CC 9E B0 EF B6 EB EF 7A CB 6E 66 AF B9 A4 76 B0 BB F6 AC FF 4B 76 9A B5 DD 4F E8 28 EA 41 F6 55 B8 A1 3E A6 0D 75 CD 77 3D 1B 6F 33 DD 0F 45 65 12 22 2F BE 66 E0 47 EA 5A 15 7A 17 AA A0 D2 2B C2 4C 01 4E BA A7 9D E9 3E 13 D5 BF E1 F8 77 AD 7D 3D F3 8B DF 91 D4 82 EE 9F AB 32 3E A7 62 97 8C D0 8C 34 6D 4D 90 65 00 75 45 A3 2F FB F2 70 00 C3 D1 F2 06 AC AA AD DD EA 37 67 47 B1 B2 1E 12 38 B2 59 B6 F7 C5 4D 84 17 AD 68 B8 BC 70 22 17 28 EA 8C DC 20 20 B9 46 D1 3F 4B 1A 75 7A AA 33 03 A7 79 D4 9A 4B 36 D1 6C 7B B6 73 DA 13 49 CD A3 EB E2 3B 9D F4 22 00 8F 00 41 E6 6B DC 43 92 F5 08 85 57 D5 3B 5D 1C 8C E3 20 A7 C1 86 68 64 C0 5F B2 25 DE 8B C7 D7 30 EB 02 1A 7C 4A FC 66 CA E9 D4 94 2F B4 E0 55 66 B5 30 0D 02 13 C1 2B 2B 31 A9 74 1F 29 A0 28 5C 10 B8 A4 87 F2 3C 91 79 F2 58 D2 7B 8A 43 12 68 42 13 50 93 89 1B C1 29 89 6A BA 51 9D 8C 14 78 97 96 E3 3B A9 BF CE 89 B2 F8 02 3F C9 5D F5 F9 46 E4 BF FC CC D5 99 93 BD D1 7D C4 BB E4 30 08 AC D7 78 9F 28 35 FA 08 95 0A 85 CF 18 64 69 D3 78 22 C8 A4 95 8F 94 F9 AA EB 02 43 E4 72 54 06 40 9B AE CD 2D 3C 21 1D 20 BD D1 EA 13 66 13 6C ED 49 13 9F EE 5D 69 84 47 54 B2 D8 7E 49 DC 0E 0B DC 19 87 2E 8E C3 8E F7 EA 47 6A 29 62 7F 52 87 48 48 98 CC 62 AA BB 5B 42 D1 37 B7 72 AF 77 AC 8C F8 F4 80 0B 01 50 6A 6D EC 8A 95 69 CE F4 42 5A 13 8E A7 F2 F3 04 14 49 5C E9 B6 4B 0D 9E 5D EF CA 2C 9C AA E8 55 AC 76 E2 BE DF 7F BC D6 7C D3 B8 6E C3 34 CF 00 BF 75 25 10 96 60 68 9F 59 13 83 7E BB C0 E7 B7 7F B8 93 D5 09 68 A9 C6 20 93 A2 3D 9F F1 C4 D8 24 A3 50 9B D8 CE FA AA B3 FD DC D7 5D 31 15 1C 73 A1 17 89 C6 F3 95 40 27 C6 4C AB 4B 1D DE DC 80 01 EC 36 7D 05 BC 7C 89 75 8A DE 72 DC 0C 88 4F D2 CB 7D 4E 8A 11 28 7B 02 6C 88 89 F9 62 0E 8B 56 E6 57 7E D0 3C 5F 20 D6 12 67 63 27 DD D0 13 76 07 ED 6E 8E 73 71 0D 87 A8 F1 CC 55 13 E3 E7 61 FF FA DC 83 32 DC 8F 48 4F 0E 1D 2A EC E5 4E 76 91 2E 39 A2 D3 D2 A6 1D 2E C0 CE 9A 61 8E 35 6F 59 48 17 EC DF 3C 9D FE C5 A4 AF 84 BB B4 B5 0E E8 5C 03 10 87 6E 7E 96 84 5D CB 19 20 AB 7F 7B 37 90 0C 84 9C 95 7F 61 E4 0E C5 FC BF AE 8A 89 9A 45 F8 35 53 0D F6 F2 8B 65 02 43 C9 AC 03 6A 50 4F DD 5A D2 86 AA DA D3 19 39 71 84 70 F4 0E DE 23 CF 27 72 37 7A FA D9 53 21 D2 E1 88 43 9E 77 56 80 D7 F1 C4 68 A7 7B 13 9D 01 BF B4 26 9E AD 27 AB ED 52 52 A5 E8 0F CC AB 68 2A 25 C2 7F D6 96 21 2A 1D 8F D6 61 35 EF 4E EA 39 C9 46 CE 3B E8 FA 6C 87 B7 A6 D3 68 05 BF CC AA 78 08 10 22 8C 1D 31 59 14 66 72 17 B6 CF 50 73 05 23 8D BD 1B F7 F1 BE 0E C2 3F FF 6C F0 4C BB 2F AC 68 38 73 90 69 1C BF B6 0F 24 01 CD A0 E8 5D 2E 34 81 78 95 80 59 72 2B B2 B4 9A 0E 29 DB D4 40 68 DA F3 68 94 05 5A 8E B2 52 A6 9D C9 7D 1C 36 1A 00 AB 1D F4 52 E7 43 FC 37 5E AC 1D DF EF 0F 7E A6 D5 73 8C EE 58 46 D8 A0 CE 19 91 C4 32 EF 15 06 69 9B E2 B4 95 33 47 09 62 54 76 E3 6A 57 BD 1D E2 DA A5 04 05 61 65 E7 FA 1D 6C CF CD 54 12 8E 8F FF CC 95 94 A5 0A DB AE 2F 97 97 BF 5A F0 FA C3 F6 A3 92 6D A2 3B 72 7A 0D DE 0C CA 93 4D F1 D2 38 CF D3 1D F6 C2 6D 30 87 08 7A 8D A0 8F 9D 27 0F 83 AC FF CD B5 A1 05 E0 1D CF 6B 00 85 3E 5C 38 FB 3A 6F A8 05 1F 95 32 70 2B 8C 0D C5 E7 62 D1 40 58 B4 84 26 8D 74 7B 7C 03 E2 2B 23 F7 6E 4B 23 F7 84 FE F5 8E 7A C8 1E 98 7A 4E C0 AD FE 4D 27 B3 41 CC 37 F6 9F 84 2B 86 45 4D D9 06 F5 A0 5A 6F E4 A9 08 84 C3 36 0D A0 A3 19 5F 36 45 58 FB 89 08 06 4D 7B 12 CB 74 A1 BC D8 15 20 08 EA 48 58 9F AE 8A CE 8E 99 67 10 AB 6E B4 DC C8 FF 24 99 C2 11 17 80 85 CB 30 4C B5 70 6A 64 81 43 35 42 B8 B7 A1 51 9B 06 A1 4C A3 45 15 30 9F 5D 3A 3A E4 FD 5E 94 CE CC 14 95 37 B9 3B CB 29 6E 10 61 FC 5D 14 BB 55 8B 74 BB 27 16 DA 4C 81 F9 0F 35 CB 44 BB C7 A7 EC C4 95 87 26 90 33 C3 C6 53 AA C3 90 E8 70 4C B7 DC 71 3D 44 31 27 A9 13 50 EE 24 95 C5 51 22 59 7E 84 67 B0 39 F5 68 6D 49 B0 8C B8 97 88 60 E3 B9 F8 82 8C 16 05 DD CF 2A 36 0A 55 19 07 33 2F 9D 5C 09 0B 0B A2 B1 26 ED A3 D8 EE A5 E8 0B E7 07 43 8A BB A7 17 51 C5 F2 08 A6 4B 8F F6 02 A4 C4 07 7C AC A8 4A 98 36 59 C0 C5 9D 8B 8E A4 3D A1 2E 6E AD C2 03 DA AC 7E FD B1 4E 5B F5 9D 68 0D C8 74 10 F9 F8 AB 94 5D 3C 40 06 A1 A0 9B 7A DF F0 D0 3B 00 C8 2C ED 7B D4 D7 AB 8E 29 11 79 F6 DF 74 F0 4A DD BA D8 CE 3B 6F AD AD 3B 54 C1 F7 63 E1 63 6B 0A EF 3C 97 0E 23 A9 37 DA 15 E5 22 A4 81 AE 92 9D 1B 9F E1 2A FF CC 14 87 E6 2E FA F1 92 86 93 52 26 FC 25 02 16 44 A3 96 81 B0 1D 43 75 FD 7D 5F 6F B4 E8 BD 9C F7 D9 A0 D9 00 A9 C0 17 24 55 D6 AD 2A F0 AC 42 43 62 3F 29 CC FE F9 0C B4 66 3F 05 22 38 20 C6 FB 37 57 07 83 63 90 FD 6E 48 E1 FF 84 FD 5E F3 2D 5B EB FE EB 0C 71 F1 60 E2 72 1B A3 77 00 73 2E A4 81 21 4D CA 7F B6 D9 97 BA D7 FA 0F 39 59 F3 60 65 A6 54 60 F8 58 81 2E A5 80 6C 58 2A BC BD 47 F4 67 E3 56 BC 07 B4 39 FB 2B BD 7B 32 2C 7E 17 21 BA 82 9F 58 4C 81 08 54 62 7C 29 42 E8 04 23 7C 21 CE 10 47 37 B2 AA 0D C9 02 C0 93 0C 9F 46 A9 63 C1 EE FB 6B AE 94 1E 7D F2 90 D0 7D CA FF 0B D6 8F DE 63 CE 37 7E 51 DD CE 27 D5 E0 94 FD 8B 5D 39 63 ED 90 D8 7D F4 8F 48 17 74 88 6B 1E 35 18 72 6D 0C 15 87 E2 46 6B AA 4E EA 38 E0 F3 99 FA 6A EE F3 5E 74 91 74 95 FC 52 3A A0 4D FF 21 7D BF 2F F7 82 16 21 73 E2 4D F1 D8 14 19 45 BC 1D E8 4D 2B F1 0F C8 BF 7B FE E6 C7 57 FC 68 99 5E 37 81 E8 94 CA 2E 9A 98 77 C4 5D 0F 95 96 14 14 F2 15 81 8D F5 5B C0 1B 87 01 89 26 6B C8 63 75 3C CA 41 BB CF F4 B0 13 F2 12 BF 3B E6 C3 D0 70 26 89 BF B5 D4 53 23 F6 65 45 B9 E6 71 88 E2 B2 7E AC F0 09 B7 37 08 93 BD 0E 2D 11 BA D9 FC DE 07 EA FC E8 09 09 85 8A F8 19 F2 B6 E1 E7 09 1B 1E 6F 96 70 D1 87 A8 35 F1 09 64 7A 4A E9 E3 C3 E6 96 A2 5E 0D 53 FA F5 40 E8 D6 40 33 5E D0 98 96 B6 2A 52 6C 72 AD D6 66 F6 05 50 F0 99 90 BB FE A7 7E 4C 52 73 9E C5 65 29 F0 EB 43 44 83 9B A4 50 CC FC D4 E5 F6 72 EE B3 32 C4 DF E7 E4 3B E7 75 20 1B DA AE AB 4D EA FE CB A2 25 D5 DF E2 C7 3C 0B 43 90 1A 6E 4D C7 EA 80 CB 23 BF C4 1D 4C 62 61 58 75 07 99 AA 79 A6 A3 63 EE B1 AC FA F7 BB 43 83 4D 89 BB D0 D4 F8 47 D3 DA D8 37 BD BC 59 1D 1D 95 B2 D8 E9 FF E4 D4 0E FC 4D 07 0F 73 02 6B EA 22 53 26 63 9A 4B E7 FE F7 6B 2B DF B8 96 4B 90 AB A0 52 13 93 70 8E 62 5D DB EA B9 F5 90 E7 97 23 F9 A9 74 9E C9 6E A8 44 DB 00 BA 52 43 09 99 4B 66 A6 64 E7 7D 6B AE D4 41 2F BE 85 6D 44 5C A5 6F D6 3E D0 D5 48 1E 68 76 40 7C A1 8A D0 81 0D AA 57 AC 43 39 36 AE DA 05 FF 24 DC C2 F8 FD B1 6B 65 A2 89 95 65 BD 6F 45 15 6E 8E 7B 5D AD CD 82 13 01 43 DA 03 30 0E 4A 23 BF BA 4D B2 0C 73 CD FF 65 B6 FD 4D C8 C1 B2 FB 28 76 4B 1F 61 68 47 F2 97 A3 0F 5F BC 61 F5 54 21 40 B5 15 42 34 A2 32 38 C1 50 40 85 CE 3E 59 8C EC F2 A5 1B 94 00 F5 D6 E4 12 22 BD 65 6A BE 41 37 1F E5 6A E3 69 99 AD C1 DC F8 6C 6D FE 42 3D 0F A2 B8 07 80 BF F4 B4 EB B5 21 BE E1 85 D4 1C 2D DC 81 6C A8 E7 76 7E 83 34 35 E3 7E CD 9A F5 81 02 F6 85 C8 29 0E F0 D0 D5 1F D8 B0 E3 4B 77 C2 3D 63 4C 31 65 1A 79 EB 8F A6 EB CD 5E 22 32 6C AF 43 98 DF B2 29 0A DE C3 81 15 C8 C6 63 02 5C 90 6B BC 0E 1A 3C B6 99 99 B4 A0 49 14 A0 F2 A0 5D CA AB 4A FB B1 A7 2F 9A DF 92 EC 93 FD 8B E2 CF A1 FD 79 89 8D 41 EF 64 AD 4F 99 6D 0B 62 2A 68 47 8F 29 4E C7 3C B8 30 CF 67 20 A9 BF 0B D9 92 65 47 DE EC E2 4D 27 03 07 87 7A 92 92 C5 E0 18 4F EF 70 BC 51 07 77 E9 20 4F 18 05 B6 23 89 06 6E EA 0C 11 CE 9A 90 BF 89 4D 9B 7F E9 6A 36 BE 9C 90 E7 74 7F 29 5B 10 D5 A4 FE 22 86 0D 19 62 6F F1 74 4D 93 3D EA A2 A6 88 BD 77 B5 9F 96 90 0B B8 2C 82 C8 D5 ED 24 50 AD 65 75 2C CE 5E 72 51 A1 73 9D B0 D3 58 8B 56 C9 69 3A B3 A8 87 33 BB C1 A5 81 F4 DE 11 C1 23 28 5E 99 85 7D 89 6A 89 D6 19 C2 B8 47 BA 46 2B D4 C2 FC EA 0E 54 31 6B 8D 3F BE 89 6A 02 EE 63 B1 61 91 D9 A3 E7 E6 16 44 91 B2 5A DD 49 FD 48 AA EA FC EC 6E FC 24 50 85 58 40 5E 10 EA FB C6 70 85 27 F3 4C 04 39 54 70 B0 D4 EB 1C 09 77 2F 33 34 2A 75 FF AF F1 FF 4A D9 BF FB 09 AD AF 06 BC E3 7D E2 E1 84 A3 4D CC 92 AF 59 09 06 6A 0B EA 39 D7 09 FA 83 C9 70 E9 23 93 07 E1 E6 A8 B5 26 D9 F3 39 E1 CF 96 83 EA A6 59 AB 8A 4B 34 88 5F 35 FB CD 97 57 26 DD 49 C7 D3 03 AD C4 62 0E 84 81 77 72 A2 7D 9C 90 AE 83 39 38 33 F8 42 A0 43 07 42 47 E2 61 89 39 87 76 EB C2 08 F1 E8 C9 89 7F 99 1D 7E 40 C6 08 1B 56 EF E7 26 25 94 9B 22 88 48 5C 3D 5C 5A 7D B1 B7 3A 82 D5 04 A1 DA 1A 9D 8C BC 1B 18 EA B6 19 0E 67 47 FD 42 0E C4 85 60 B6 65 50 74 F3 AF 57 B9 93 F8 C3 EB 07 57 6A 66 F2 9B 23 55 9D 95 07 E7 16 B1 E9 C3 C6 52 E2 AE C9 2C 35 AC F1 8B 30 9E DA 6C 47 51 D4 8A F4 F1 77 1C 96 13 10 92 91 94 7D 80 F4 E3 38 C0 62 2F AC F2 A4 EE 96 7E 92 36 81 F0 DB 48 9D CE 56 92 F8 1A DD ED BF 5B A9 D2 A2 CF 40 30 8D F3 7E 5A 4B BE 84 0B 79 7D 44 C4 6C 7F 2C A8 65 3E 7A CA E8 FF DC B8 8D 55 9E B3 E3 6F 82 4F 6E 19 05 92 34 19 CC 67 3C 4D 4D 89 44 98 06 9D 96 6F 5B 2C D5 54 3E 95 4E F7 EE 48 C5 5E 44 DB 9B C8 9B 34 4E D1 99 2C 96 19 35 A4 59 C5 C7 03 5F F3 C5 EE DF B4 60 40 C1 32 A0 33 88 ED 67 1C B5 0C A0 E6 A4 2E FD 49 9F 9A D3 AE ED 72 E3 D9 DA 36 DF BE 5D 56 B6 86 CE EE 5E B2 25 46 77 F5 F6 17 08 8A 2E 66 EE 55 49 36 0D FB C7 68 32 B3 EA C9 A9 03 42 9C 03 A1 FC F6 FC FE 42 60 C4 ED 9D B1 2F 26 42 45 F5 C4 86 C7 81 36 EB 20 63 7C A5 20 40 E7 07 4B 8B 0A E6 22 91 84 EA 01 D0 B2 19 38 4F 8A F5 8B 25 86 6A 50 41 75 4C D1 D6 1E F5 C1 3F AE AE 7B 07 9B DC 4F 77 12 45 3C 5D 41 17 3B DF CD 54 70 09 71 03 A4 F2 1D 19 F8 8F F3 82 C3 02 1C 15 94 06 27 93 A9 4D 19 3D 51 15 7E 96 2B C8 72 0E 6D 43 1A 62 2C F3 31 4B 9F 29 C8 FE 52 1C 66 93 33 1A DB 46 12 BC F9 F5 91 59 7A 72 79 28 1A 0C 92 10 F7 F6 A5 AA 14 DF 61 25 DD 0A BD 10 85 0F 03 C0 08 5D 8E 58 92 A0 1A 15 CD B7 58 AD 26 4C 23 01 DF 0E 1F CD 3D 62 2E F7 C7 69 D2 63 22 DE 84 C0 B2 F1 6B E6 4E 2A B5 04 D9 67 4F 85 00 06 88 C1 1E 89 7E B2 1C 56 09 91 0E B6 05 A5 28 43 27 AB 51 FA 19 24 45 03 8B 9A 5A 90 52 56 07 8E 05 2B 54 68 9E 1B BB D7 E7 03 9F 28 BB 05 09 FB 79 26 C6 89 99 C9 2F DB 0F 29 64 D0 30 35 75 24 0B AD B3 6A EC 6F 56 D3 F9 84 16 F5 E7 81 36 35 A6 89 03 3B 86 85 12 35 A6 AB 21 1F F0 26 09 46 65 A5 66 DB ED 9B 86 22 A1 18 47 22 9B 33 57 09 D7 0C C6 BD 38 0F DC BA A5 B7 C2 AE 35 7F E1 D8 D0 4F FD 3D E1 57 23 76 94 BD E9 BD A0 25 5C 2C B0 61 24 57 E8 C0 EF 0C 3F 86 98 AE AE FB D4 49 55 1B 0A D5 A5 80 66 DA 76 E1 61 B1 12 E0 D3 A9 E2 1E 11 B6 91 C1 19 71 CB 10 3C FD C3 CA E8 05 6F 19 2D 98 FD AD B7 97 4C 7E 78 A5 45 01 07 1E 64 F2 1F C5 9C 7E D9 B2 63 56 57 0F 8B 8E A0 16 03 7A BC 7D 83 EB EE 51 BF 20 10 BB BA 5A CC 0C B3 1D 5C E5 88 76 F3 84 DB BC F5 DA BA 07 94 26 4B 81 32 6C BD A5 0B 42 52 F2 93 C7 02 2D 2C EB BD 59 C7 05 B7 5A E4 0B 2A 48 39 FE 42 45 17 6F 6E 8E E2 0D 1B AA FE 2E 59 86 C8 4A C7 A5 9E BB 2C 1C F0 55 70 2D 1E 22 95 67 E1 32 B5 D0 BB 86 08 4E D1 95 44 CE D3 60 B5 5F AB C3 6F CF 58 F7 13 34 62 50 B0 4B 27 D6 4A B2 D3 2A 36 A7 46 6B 10 CC 1C BB 74 79 B7 4A E4 57 20 99 15 38 EA 55 6D 0B 9F BB 55 35 E1 6B 2A 2D 24 1E 10 E4 AD 0F D9 D2 73 72 2B F7 AD 90 0B 28 C0 77 91 CA BA 53 60 B9 94 DE 15 5B 63 4F 65 CF 20 38 5C A2 3A 97 B6 60 C0 71 3B 13 5F 54 D1 8C 82 E1 B5 8D DF DE CD 39 F0 61 15 D5 55 43 95 B0 74 0A 7B F2 11 16 45 49 40 F2 C9 FC 78 18 61 8D AF AB 4C 3B 04 7F A8 B7 E2 F6 C7 5A BB E2 E7 58 00 13 08 F1 C9 82 C0 FC 20 5D D8 34 89 1C 42 F2 11 AC 1E 71 DF 7B CD 9D 81 FB 2B 42 7F 51 A6 43 32 37 EF 00 42 7A 33 E1 3F 1A 45 A2 E5 11 7E 80 63 17 FB C3 F0 DC B0 23 03 C2 EE 7E 27 0A 2B 36 27 0A 48 2B A2 93 AA 44 07 69 C2 A0 9C 54 A3 CC 36 59 23 DA E6 66 9B 9F 60 E0 86 3B 5C 4A 4D 53 4F 68 1E 47 DA 2E D0 32 83 E8 21 DD 20 08 E8 01 3C 15 93 DC D0 00 F4 32 8E A3 73 CE 2A B1 39 83 6A C9 C9 B7 DA 8C 85 D9 BF A6 70 20 F7 C6 52 3E 3E 53 66 33 77 1E 7B 83 DF 55 3E 21 8E 90 30 D2 DD AD 7F 00 46 34 94 74 66 84 E7 1A E7 C3 4A 70 BF 91 00 8C 0D 42 75 7E D5 BF 36 E6 10 6E 26 65 D7 0C 82 8B 16 D5 71 FF 15 AC 6D 74 B0 42 72 9B A8 A9 78 6C 68 03 62 2A F0 0B E9 CF 43 99 12 0A E3 73 DB 40 4A 78 C8 02 99 16 E8 6C 89 F7 E1 1C 2B 7D AB 34 D8 EC 13 ED 60 51 48 52 11 FF B7 03 14 B6 55 A3 3A EB F8 98 44 CF D4 11 EF 2D 2E 3C CD B3 06 C4 94 0E 42 A4 4B 5C 25 D6 DD 3A E1 F5 03 B9 03 C2 0F 51 5D DD 26 D1 FC F2 E0 BD 27 A5 17 76 55 85 05 2B E1 6D 7F B2 BB 06 0B E6 67 00 8B 7F 12 36 21 88 2B 69 6D 38 C3 A1 AB E4 B6 CE 80 1B 70 FA B5 70 4B 34 A0 A4 22 F5 6C 8B F8 FC A1 17 0E 4E 95 2D 9B 30 A4 08 2F 7E 55 15 45 B4 24 FD CD 6D A3 9A B0 46 69 3A AE B3 36 A7 F7 10 8B 9D 7A A4 EE 74 22 19 2B 9F 21 0E E3 12 34 86 6C DD E4 CA 56 73 CA FF 2B BE A8 9B 37 A0 DC 03 57 18 A0 CC E9 2B 89 7F 23 D3 AB B4 52 A6 CE 75 D3 6F C5 20 E6 93 D7 04 13 60 BF B7 DC 31 8C 65 76 8B E3 89 D0 F8 11 BD 5A 93 3F AA BB 53 13 9D 77 2A 61 64 0A 78 53 3D 24 63 2A 0F 19 FA B2 B9 64 90 5E 13 2F 2E 26 17 63 82 49 F7 85 2F 0F 54 66 F8 D5 12 2F 0B A1 8D 7D BF C3 46 CB 71 01 9E 76 C0 20 54 0A C9 F0 6A 64 58 53 30 75 04 4B 6F E0 6C 69 EA 45 F8 5D 9B 40 83 C5 20 E0 57 A5 62 F5 2D 31 67 8B 8E EF 29 93 D5 3B 17 CB C4 5B A4 5D 68 DA F1 75 62 C1 30 D2 4A 4C 6D 84 2B 27 4B 88 D6 E0 A1 3D D2 EF 28 5A 66 76 32 ED BF 76 B9 01 0F 79 F4 1E 1B 6D B3 E1 B7 7E A2 22 71 2F 44 3D D4 94 E0 2C 56 13 80 A1 D4 5A 38 A6 D9 60 2A CD 92 DF 13 B5 E8 72 10 9E E7 D0 EC 65 A7 67 0D 44 A1 36 7C 8F C1 FB 27 1E 3F 73 ED 73 ED 9B C3 43 34 C6 E6 44 99 81 EB 5C 91 10 9A 95 37 45 B8 92 1F 64 E1 26 9E D4 18 E8 44 C0 D7 9F 57 39 AA 6D 02 B7 10 E7 84 75 55 E2 81 C3 41 7D 96 2B DB D2 E4 CC BD 71 46 E9 AC CC B5 7F 36 2D 3C 75 20 D6 4E B3 80 FC E6 C5 C6 61 65 D5 9D CC A4 C5 D1 AB B8 7D E4 6E D7 CD DB B5 79 C4 8F F3 3F 7B BF 50 90 C8 97 22 F4 8B 00 6C B1 A3 DD 9F 44 E1 BE B3 90 12 DF A8 5F A8 CD 9D 9E D2 1A F7 2D 38 55 BD 7C 2A A5 52 40 42 D3 B5 12 5A 82 A8 93 CC 02 4C A3 1D 60 EF 32 B5 60 15 D8 C5 4B 0E 2B B2 FB 11 63 A8 CB A8 D4 A2 1C 0A E3 F9 34 96 2D 62 7C CF 1A E2 E8 AC CF 3A 9A 0A AB 3D 89 ED 2F 62 35 C1 D2 32 8A 58 DB BB 9C C8 1B 4F 0C E0 52 1C CE EF 1B 4F CE 75 BC DD 16 58 78 FC 1D 47 3E 12 CE 99 BD 0E D3 90 30 82 D0 27 B1 60 6C 16 DA 3C B2 14 76 00 C5 2F 9F DC 7B BB 00 C5 FA 73 AD 89 28 B4 A1 27 3E 54 B9 38 C0 46 C1 B4 3E D1 21 96 EE ED 3A 22 18 32 15 36 91 F8 BB CE C8 D7 20 13 23 FE 5A E9 4A 36 E0 69 BB EB 26 54 96 41 6C 18 16 A2 9F 98 82 08 EF 4A AB AF BE 6A 86 0C 5C C4 58 15 9C 60 9F DE 96 CC 2F 84 F2 99 66 08 F1 87 9B AF BC 33 86 CC D0 07 3E 6B EE F4 55 EB D4 0E F7 58 0A 6A 2E 8F 72 A5 4C EB DE 87 25 AF 27 0E DE EE D0 22 0D 4A 35 E1 3F 28 4E 30 61 42 40 DC DF EF 15 95 C6 D9 16 77 0D DE 28 98 C5 E1 41 C0 DF 80 B2 C8 1E 99 D5 5B 48 45 ED 67 66 4E CB 8B 65 AE A4 CE C7 A2 93 B9 FD 28 50 61 01 8C 28 C6 3B 64 97 D2 11 98 B2 F9 AC DC 37 F6 FD 19 4B 30 45 93 80 8F 5B 22 B4 EF 91 70 74 A1 21 96 12 55 E6 B7 40 0F D6 DE 13 4E 10 B1 59 C8 BE D7 D0 62 C4 A1 C8 F1 5F 22 65 59 13 42 53 7E 7A D3 86 AE E7 7E 55 00 48 EF D8 D4 6D 88 24 4C 3D C1 EA A7 D9 92 6E 8F 47 9B 83 0C 22 48 B8 71 88 60 57 BA D8 2A AD B3 46 20 B6 39 C6 C3 7C 44 7A 48 F6 23 13 8F 4D 06 2A 1D 6A 4A EF EB 20 74 E3 1C DD BE AB B0 C3 D3 F2 0C 08 A5 2B A3 5C 56 84 FE CD 0B 5F 57 34 B0 B9 6C 7F C1 AB 72 93 19 4D D0 8F 3C E2 37 C7 2F F9 C4 46 D6 F9 7B B0 04 6B 09 FD 23 9B 18 40 6C 76 B4 F1 A7 8E 67 14 3F AC A2 79 C4 E8 F0 AE 53 1C B3 82 52 3C 07 56 18 DC 54 8F 81 48 32 BE E6 54 16 24 BD 3B 00 A5 D0 00 6D 56 83 22 01 E3 B5 86 1D 33 E2 EF C4 C2 21 31 6D 64 B9 85 AE DD 67 15 2B 1E A1 C5 D1 D4 A0 D0 60 4B E8 8E B0 CB 77 63 AB BE ED 94 72 F2 83 70 F1 91 A4 42 B9 50 1A 9E 58 5D 7C 7E 7E 27 A8 DD 8D 07 57 1F 50 A9 35 49 D6 D0 69 7C 8D FD 8C FB E0 55 E3 34 2E E2 DD 12 CD 6D 52 61 BD B5 9B 64 20 52 F9 8E C7 60 D0 65 7A EA 7D B2 FD D1 5B E4 E4 4A 15 29 CA 7D B6 73 D1 E6 BB AE 60 1E 63 7E DE 73 72 DB 46 F1 21 59 1F 61 92 D5 5F 05 58 C1 F9 9A 3B E2 E0 FF 9C B3 F4 49 1A 96 D9 45 46 DB 8F 67 9E 99 EB EA 74 F4 8B 66 C3 13 DB 30 65 2D 5D CF 91 F6 8F F1 87 59 20 C3 60 58 04 02 9A D1 04 34 04 58 BA 1C 60 89 10 84 D7 E1 36 AF 7F 9D 5E DE 7E 5E 9D 94 60 94 E3 F9 F1 D6 57 CD A1 D6 48 B3 08 4E 77 9B 3B DE 57 4E 04 61 D1 17 14 65 BD 8A 6F 64 1F B0 0B A4 AA E5 6F A6 14 74 0E 3A 88 88 0F 04 36 88 FD 27 B5 E5 9E C1 EC 11 B0 00 1A 89 F2 FF 44 DF AB 4D 3F 1B 21 15 81 3F D2 7F DD 7E FF 25 4E B0 8D C6 9E 00 5E 0F 28 0A 42 DD B7 21 80 57 1E 85 44 A0 4D E4 BC E3 EF D4 63 BC 60 0F A2 6D A3 B4 F7 0C 8D D5 95 3F 0C 40 3D 11 A0 A3 72 EE E3 DD 19 7D 86 6F A6 17 3C D4 DF E9 D8 CE A0 02 56 0F E4 66 B4 EC C6 00 63 6C 21 67 76 F3 53 40 67 7C 42 71 3F 38 CC 57 C2 C7 DA 5A 35 3A 2D 8D 5D 62 97 22 85 28 93 C2 E3 20 7D 44 FE F1 54 5E D3 D4 76 40 FF FD AB 06 72 69 F8 7C CF 2C FC F0 C0 BC 96 44 62 FE F6 B7 4E B1 0D 48 45 D4 17 8C ED 50 32 ED D7 89 27 19 02 90 C5 1E 7E 4E 85 C0 41 D0 73 37 67 9E 74 68 82 E5 AE 5C 0C CF 0E AC 1E BF A1 03 91 D4 05 C2 87 B2 03 8D 93 E5 68 E9 2A C0 39 F6 C5 6C 18 59 AD D4 A6 ED 8D 0F 5C B9 15 E1 3C 00 07 48 4D 95 B6 C6 49 9B 5B 42 25 C4 F7 9F 18 F7 3D A7 39 05 43 A8 65 01 9C 11 F0 91 4B 56 DA 9B 87 C7 13 FF 5E 71 B6 6F CB 82 D4 8F 49 76 68 B4 DC D4 51 54 8C 92 42 F3 6C A3 CE 24 15 12 93 1D 1F A3 28 EE 68 38 73 74 FF 2E 93 83 A9 D4 6F B5 5E 0B 65 E1 15 8B 6D DA 07 ED 3F 7B BA DC 68 13 2B DC A8 6A 76 EB 04 0C 9E 31 18 66 DB 42 26 B1 C9 FD 2B AB ED BF 4D 4E A5 1D 13 C6 6B 2E 89 D9 0E 7A E0 C9 7E 99 C6 8C 8B 44 65 AA 13 04 B3 93 10 63 37 06 14 B7 A0 37 7E 04 A2 72 F1 93 DA B6 7B D1 BD 2A AC 7B F3 F6 78 9F 76 44 25 E8 FC 14 BF F1 8B 6A 1D 34 8C 8A 5D 4B 6A CF DB 3B D8 5B 70 2C 2F 86 42 7B 69 6B 43 35 36 75 1B 45 52 67 1B 65 5C 5E 3B C3 76 FC EA B8 CA F6 FA BE 29 F5 22 D2 D5 46 AC 2E 20 0D AD 43 D1 DE 21 DC 6B 8A C6 96 F6 0C 49 52 9A 3F F3 A1 37 26 DF 02 48 DD B5 71 40 6D A3 2A 65 69 7E 2F 14 46 1F 82 22 4B 63 BD 07 F4 A0 88 C7 12 D2 87 7D A3 A7 91 05 C5 7A 47 D4 77 2D 19 76 DD 92 23 FB 62 83 36 8B 82 6F 09 2D 0D 45 90 DA 6D C2 07 31 B2 32 10 70 88 9C 6F 8F 1F 4D F2 FD C6 BD 67 B1 D5 A8 A9 E1 70 52 28 BC 13 AB 65 DD 25 1D 65 B2 9A 54 AC D8 76 2D D7 07 D8 2A 84 ED 69 BF 73 BA 2B 79 2E 5F 3B 85 52 EA FA A8 BF 99 FA 54 6B 22 B6 EA 53 19 75 0F 85 E4 DA 0B 40 F8 BC AF 07 6B B6 ED 53 64 1F 39 DE 09 14 14 AC 0A 35 90 F5 CE 1F DF 3F A3 CB 2C 77 AE 55 AB AF F7 C1 09 BE 13 9B 73 61 5B 07 AD B1 BB FD 01 95 26 E7 74 90 A8 78 99 A6 55 91 B0 DC 75 40 87 19 25 1B 89 6B B0 39 8A E1 0D 1E 28 F6 65 3F 8C 8B 17 B4 9C C8 7B 2D 64 3E 35 E2 FA BB FF A2 2C 66 54 82 3C 2E 5C 4F A6 02 AB 6D 54 EA 3A 9E 0E D3 78 92 39 B9 E6 E8 07 1E 98 50 C5 0F E9 97 9D 2F 5B 76 42 67 C7 2F 0D C5 59 3B 6A 5D 63 F9 5B 79 7F 9B E4 4C 79 0F C2 3C 56 2F 64 AE A8 8F D3 55 A2 FF DE 96 38 C5 07 FA FE 8A 9B 28 0A 3A F2 BC 55 8F DD 16 EA 76 58 3D F1 26 17 A8 B5 11 BD 39 0B 8A 62 64 CB 25 17 A7 05 1C B8 EB F6 5C 62 F8 CE E3 55 98 6A 9F 67 BA FE DA E0 1C 57 A1 1E D7 13 A3 DC DC 53 C4 FE 45 5D 3F E8 7B F7 8E 60 62 1F EE C6 92 73 C1 3B 03 A1 BB 0A AF E5 72 72 F9 3F E8 E6 25 F6 EA 82 6F 0D AD D5 52 1F 9C 68 39 08 27 E8 9C DF 96 2D FC 5D FE 8F 34 FF 9A 4F E7 A1 44 89 AD F8 78 6E 40 5F 27 0F 52 44 06 87 42 F8 7E B3 2C B2 5F FA 0A FF A5 5F 45 16 F7 7B 31 5E CB 2D 4B 7B DD AF 25 01 D4 91 A7 6C C1 55 A2 7E D6 BD 35 97 5D 9F 7A 19 1E 38 25 89 EB 66 7C 74 72 32 E1 EE BE AF 22 11 27 1E 98 45 02 CB 6A D7 19 E5 1B 13 94 3F 4D 29 98 07 D6 18 20 17 F7 B8 3B F8 5F 38 CA 0D E3 C1 F9 7B 97 55 77 12 7C 31 C3 8E 48 F4 5C DF 77 AD 14 24 2E CC 8E 33 7E 41 B1 D3 1F 2B A1 E4 F2 72 24 4E BA 74 B9 3F B6 E1 5F DE DC AB EB D8 E0 0D FA B5 92 60 5F FE 34 A9 B2 32 F6 05 13 99 CB 50 8C 12 A0 58 F7 C2 DA 74 A2 79 ED 2E 8C DB 4A 30 48 50 AC C4 56 B9 8A 34 21 9A D1 C8 E1 42 35 18 0B D5 F5 1C 9B 49 43 F0 E6 8F DF EF 4F B6 5D 90 0B 33 DE F5 9D D4 4A 23 2D CB 18 2D F8 5B 94 81 04 72 46 0D FB 5D 0E 0B 84 21 D3 91 7B E6 DD A1 5E A3 2E CD 73 98 5F EF 48 5F D7 92 52 89 0C E3 5E 45 2F 67 70 F9 24 B5 A7 00 7B C1 9C 1F 96 BC F6 4B 33 D3 9B 02 44 2C 48 D3 DF 11 9F 39 65 0E 3D 4C B8 98 FA E1 04 98 24 DD 6B 3E 91 D5 FC 98 4F 6F 9C 5F 9C 50 72 FD C4 F1 AD A3 EE 1A DF E1 71 7A 02 33 3C 7F 6C C4 40 82 BD 80 A6 CA BE 80 99 B3 24 DB D3 06 A6 E7 F2 4B A8 5C 30 6F 3B 6B 52 A3 E5 57 D1 D9 C2 D4 B5 1B 2A B6 50 AB 18 E1 0B D9 92 5F 5C AD 05 84 3B 2E 93 16 E9 F2 AD 36 09 ED AB FE CC 2D 95 2D 27 0C 39 7E C4 00 1D 81 F5 67 DD 6E 8B 49 4D CB 30 F6 6A 72 4B 7F 5B 13 E8 48 D0 60 4E 76 5A E5 67 19 DD EE AB DE 24 5D 36 D1 27 54 8D EB 24 38 F0 B0 C2 3E 05 3B A4 59 21 62 4E 76 99 2C CB 3C 5D 00 B5 85 D5 40 B3 EB 1C 50 66 E3 0F 63 01 1E CC B8 F0 AB 0D 83 87 73 B6 A6 48 3A 0B 4A 33 3F 7D 1E B7 01 C8 AC 25 AD 64 6F D1 0A 80 6B D7 74 51 18 20 41 D0 0D E0 EC 62 96 FB 21 11 AD 0F 50 5D C3 7A C0 6D D2 AB 3A D0 D8 F3 9F 4E 3F E4 F9 2C 7F 79 F9 6E 2B B1 29 92 7C E0 D2 3B 3D 1F 57 BC 97 6C D1 37 C4 BE 57 E5 1E 75 24 7C 72 F2 B9 2F BC 90 9D EB CA BE DA 50 88 C2 E9 92 96 E1 1D 13 5D 6D C8 96 8C 0C 00 37 3C BB CF A5 53 8D 83 FD 5C 2A 2D C7 E4 A4 D5 FD DB C4 2B 91 A3 92 F3 29 BC 77 B6 1D 77 59 CE 31 F6 57 46 FD D8 44 2E 28 AA A8 73 FC 2F 64 D7 C4 13 28 4B FC 0B 30 EE A4 2F 27 64 7B F5 D9 B5 64 3E 46 85 37 CA 3F 99 5F 55 4F 3E D2 53 A5 80 9E 61 68 C4 02 9A 70 7C 07 30 48 91 F4 97 5D 7E 24 FE EA A4 B8 9F 0B 51 67 D0 72 49 32 9F BF B4 E4 CB C4 43 88 79 56 4F 63 85 AF 70 F3 B6 AA 57 EB 6C 6E 1E 99 BB 14 EC D6 DA 19 6A 5A 9A FE BB 43 27 F6 24 9E F2 E9 AB 70 E7 D9 DF 76 4B DC BE C7 7D E8 51 0E 9A 36 99 10 71 6F D9 04 4D 7C 76 07 DE DE 15 ED 60 2B D0 85 BA 20 31 E4 B7 98 B5 88 86 54 2B 23 8D 40 6E DF 26 EA 54 DF C0 60 33 75 87 78 AF 3D 90 80 F1 68 52 13 82 3B 23 16 2D 8C E6 95 BB A9 22 E8 D0 E8 2C F6 C7 A9 C1 F6 62 9E 0F DC FE DE 2A 83 48 38 91 01 03 0A 21 AD 1C 25 F4 80 B4 74 C4 2D 07 BC 50 BC 87 62 DC 18 03 4D 3A 1C 9B FE 21 AA B2 F7 90 90 B7 5D FE 94 AA 58 2D 59 0A 63 19 32 68 20 77 5F 71 CE A1 31 78 04 8D 7E 57 86 C0 91 63 5D E7 9D 98 DA 8C 29 86 79 87 28 2A 34 0B CA A7 40 61 58 AB AB 4F 86 69 BC 5E 0B 42 70 08 47 7F B8 9C 1F 62 4A 84 C0 1E 3C 1C 32 22 33 D5 2D 68 B9 A1 65 B2 2F 5B 0C 1C F8 7D 81 8C C3 CE 19 75 96 58 F1 DD 10 63 DF E0 F7 5A BE A5 11 37 37 5A 44 81 26 C5 1C E9 5B A0 44 30 55 C9 E2 52 07 5E FA E6 B9 6D 22 91 AD 72 90 0A EE 60 FC DE 0D 25 B9 94 01 C3 46 37 AC 70 1E 4F 6C 19 42 C2 61 FF 10 15 76 92 25 C6 1D BF 1D 4E 51 AA 54 5F 72 E6 71 D6 8B C0 FD 45 2B C1 0B 3A F5 1E 6F C4 E4 98 90 B0 D6 93 F4 6B 23 11 B6 7D 65 68 37 A4 84 AB 87 B5 F1 D4 ED 49 04 DC 4E 8B 81 67 8A BB 39 0C 2F BC E7 F3 4F 5D 52 B4 FE EE AC 40 C2 19 76 35 C6 77 25 0D E6 28 ED 0A 30 D6 48 42 BA 74 89 19 E5 65 E7 8E 40 F4 3A 61 5F 52 7E 7D 98 86 01 32 EB B1 F5 D8 6B E4 C7 93 4E 83 B0 8C 28 5E CD 55 D2 05 F0 EF 7C 8A 79 DF 69 CB 29 3B BB BC 8D 76 DF AA A7 4C BF 09 FB 3C FF A9 F1 C6 55 3B 77 4F 84 81 40 8A CC 13 D4 E3 B0 86 37 B2 11 3B CC 98 F2 83 7D 9D 2C 0D BB E5 31 50 E5 E7 A0 91 7B A0 CA BF 5C CC D1 30 55 53 F3 18 A5 1B 21 9B 2F 24 AD B4 B1 A1 8C 17 3A 96 D0 09 BD A4 A5 19 11 69 D5 CA F6 16 5A AB D9 D4 F8 48 07 29 11 F2 14 95 44 85 3F 97 67 A0 3A 3E 8E CE 71 61 58 5A 47 E7 49 0A F1 61 9B 13 77 73 E1 01 4C FC AA AE 80 7F 60 DA 6E 78 7A AE 9D 71 7D 6F 91 11 C9 5E 9D 06 DD 99 4D 86 EF F8 53 9D 78 1D D7 43 60 53 3A D2 7A C8 52 70 7C 0A 1E 7F 39 A1 E4 BA 8F 21 3C BB 64 8B 20 4B FD 73 FB 08 60 A9 B2 77 10 90 5A 2D 5D 3C BB 2B 55 3E AD 66 CD 73 3F E0 5B 02 7B 27 E9 AC 46 27 2F 54 29 CE 10 1B 96 B8 73 A0 C8 84 71 3A 29 A7 62 41 D4 35 AD F0 B9 43 B8 26 5B 62 D8 5A 4A 12 C9 1F 37 DD 98 A9 B4 81 F8 DC 74 80 36 B4 D7 E5 0F 7C DF 86 44 FF 2E 8B FE 88 2B 89 AC 67 D0 C1 5B 67 FE 0C BD EB BC C2 AA F4 01 B6 F2 38 98 16 DE 1D B7 57 AB 9F 4B BB 37 C3 FC 87 54 99 1E 0C 40 13 FA 26 0D E9 B5 E9 F5 B2 50 D0 56 23 05 3B FC 75 C6 51 16 33 80 11 34 86 B5 E0 87 FF 55 3E 09 ED AE C9 70 89 EA 33 5F 90 54 7C 71 82 52 A8 F8 97 8A 00 D9 77 EA 55 8A 1F 37 E2 09 66 B5 E5 C3 D4 AD 20 E7 E4 36 8D C7 56 9D 67 D7 96 63 EE B8 1E 39 63 88 36 5E 07 01 4D FD 92 A8 36 6B 8D C9 82 BF 37 CD AC 26 DA 7A 6D EF 08 20 08 71 8D AE 87 EF 38 B3 34 4C 03 AC FF 1B 72 F0 83 16 A7 A9 E2 3A 10 BB 0F 39 79 77 47 6E 62 1D CE AD 52 D0 8B C5 1E 71 6E FF B2 88 ED F4 56 7E 6E 97 AF 14 86 AE 51 9B 4A 26 9E 79 B7 B9 B4 5C 27 99 FF E4 51 4C 8E 1D 84 1B C2 97 2A 73 A3 B3 D2 9D D3 2A B2 10 33 CF 37 8A 50 71 BA 85 38 1E 0A 2A 58 E3 78 FD 40 99 89 2A 26 21 12 7A 6B 5F 14 DF 62 B7 6C F1 AE 3F D0 30 F1 BC 0A 47 52 6B 9B C2 7C CF 93 E0 41 20 10 E4 D5 3B C6 C9 CE 08 1C BA E6 78 B9 28 73 EB E7 82 FC 49 6B 34 D1 C2 5D BE B7 4C 85 F9 26 42 09 EA 08 D9 B8 11 62 4F 63 CB C5 AF B9 F1 7A 93 B2 56 54 2E 79 37 0E 2D B1 01 BC 55 D8 E2 45 6E 67 E8 5B 0C 41 1F 0E F0 29 15 B2 09 0F 28 D3 16 82 D5 CE AF 6F 56 B4 58 5E BA 7B C9 17 D1 05 47 BB 80 07 4A A0 41 CA F0 B5 47 49 D5 11 75 5E D1 B6 B6 89 E8 50 4B 78 80 3B 94 F2 AC 92 4B F7 39 08 DE 45 67 9B 5F E2 50 A8 6E 7A 44 90 13 46 5D D4 62 73 D1 3A DA DB 6F 05 E1 7F 19 93 6A 9B 71 1E AD 2D 59 F2 F4 C8 78 56 EB B3 AE 60 CF 72 5E D5 2D FC BE 13 5D 9E AD D3 3D B5 48 4A 51 D6 02 A0 91 DF D0 A7 36 66 E8 23 C3 25 73 33 E8 0B 98 CC CE 27 6C D4 CE 04 90 CD B0 0E E7 46 04 34 02 9E 3D CC 65 B7 A4 1D DF 67 50 B6 A3 B3 29 A8 77 DB 4C 97 0C BD 6F 9D 58 C9 FA 86 BC 59 25 2C 1A 2D 4F EC 67 D8 9E C4 C9 6C AA FE E8 9A 33 F6 B8 5B 04 3A 2A B9 25 27 E5 5C 73 D6 EF 78 3E 3D FE 62 85 39 42 94 9A 8E 65 18 05 15 02 EC 7B 1D B0 CF DF 99 61 79 B7 9D 92 57 A9 BC 72 B6 47 B0 1B F9 6A 82 BA 06 A7 24 4C E0 74 F4 FA 5A 10 97 66 5A E3 B8 C5 D2 FB 0E 50 6A 70 F8 37 B8 70 56 19 25 09 67 8A F1 4D 46 5A 9E 51 5E 46 F1 4E 14 A8 ED 8D 23 2F 58 1C B3 5B 10 18 AF CE 76 D0 F2 7F 35 16 99 0B D1 47 F4 FC A2 4C BE 6A 02 78 B2 E9 52 81 FD AF 61 2D 08 0E 6F BE AE 92 C1 E8 48 2D 3A 9E 27 27 E8 95 CD FF 5D B1 70 ED 9D 0A 10 44 1F E2 60 1A E2 5D FB 38 5C 98 26 A1 52 27 F7 98 8D BE 81 87 51 3D FA E4 5F 4C 92 91 51 20 79 18 9F D6 35 CA F4 91 90 DF 2F 18 92 A4 A1 6A 67 11 A0 F5 68 72 CA 90 67 54 50 EF 3F 97 70 E7 DD E5 5A 8E ED 99 4F 43 6E E5 59 58 CE 08 AB 61 9D 7E 67 60 F1 FF 56 BF CB E2 83 B1 72 B1 C8 3A 02 36 99 BB FC A5 83 C5 F9 02 37 73 AD B3 A6 B6 86 D0 5C 1E 93 30 B5 7B F4 6A 85 84 F0 D0 73 3B FC 51 FE 40 8D CE 3E 99 0C 03 07 AF 8C BD 49 9B 39 B1 1A 19 32 07 9D 95 70 A3 C3 52 3A 60 56 FA E2 19 AD BF 21 70 DC 15 9B 2F 64 B5 43 70 7E 1F CA ED E2 EF 66 7E 2B 63 01 9C 36 3D 55 B4 5A FA 6D 49 75 53 A9 A3 E4 B3 2E 93 70 0D 9A E6 2D 5C 85 07 77 00 2B D3 68 A8 25 7B CE D0 1B D3 7E 54 D3 D5 13 DB 92 1B 93 DF C0 4C 51 E5 4F 9F C9 40 00 95 0B E7 92 BC BD 81 EB 9B 1C 4D 2A C2 3E 45 F7 DB 65 42 48 EF FC AE 2D 51 45 DE 3A 0F 13 45 0F A6 5B 7C A1 1E B7 2D EA 5E 44 A5 C0 D8 70 CB 11 97 CD 53 34 8B 06 91 6C CC 0A 9F 94 92 61 04 E3 22 F3 B2 30 7A E5 04 2B 98 E4 BB C0 8E A5 A2 74 83 55 83 A2 7A F8 EC 55 AF 32 4C DC 85 6C 2C 65 63 31 49 5E 33 16 BE 0C 8D 9E BD 15 B9 FE 0A 9E 7D 3F D4 B6 17 43 AA 4D 67 B6 F8 50 91 37 A2 17 67 A7 95 40 7B 05 04 3D 04 04 22 F2 77 19 A5 AA 1D 1B 85 59 BF C2 3C EF 0A B5 31 44 C7 5A C8 1E 26 95 20 23 0F C1 76 F7 D3 9B D6 8A CF 57 3C 7F B1 62 BB 87 BF 5C 5B 35 A2 04 9F 2C D4 48 F5 1B E3 76 00 AA 0A BA 6E 15 DF 90 9D EA 0E 62 7B F2 3A 2D 86 CD FE 69 EB 29 E7 23 81 38 D7 90 5D 5D B1 D4 A9 60 87 4E 84 B2 92 D2 26 5F D0 CD 51 BB 5B 4E C1 9E 83 2D CE FB 79 42 3B F8 CF 77 5B 98 4D 07 26 E8 4F DF 36 2F 8E 14 00 D5 14 E0 40 05 27 DA 0C BA 57 E4 EC 70 63 CC 66 02 40 4B 98 BE DA BB 8C 94 3E C4 10 0A 54 E5 64 F2 F8 44 E7 34 2E E8 CA 70 2F 35 B4 5A 36 98 AA 2C 8B D0 5A 17 2D 07 02 E9 9E EB 9D 05 D2 66 5E E8 26 1C 10 3B 87 81 32 63 49 D1 B0 F9 FC 30 76 3C D6 C3 FC 4F B3 0B 98 01 47 E2 DA 19 3D 4A 43 86 8A 5C FD 1C BD F1 4D 1F 1C 03 84 1C E7 A3 D1 50 37 DD 55 01 8C FF B9 A1 9D 80 F1 20 F5 7F 3F 58 3F 3D FE 4A 82 62 43 6D 0A EA 22 1B 32 AE 57 1D E5 C6 02 62 F2 5D F5 6B EC 73 5E E5 1F 11 BD 31 70 D8 22 61 11 CA CD B2 6A 8C E1 5A D7 02 DE 33 5F 66 F1 16 A3 00 4C B0 79 47 71 BE B9 44 12 ED F1 22 D6 DA 2D A5 A2 D4 50 44 64 4E 44 7F A4 2B F9 7E 0E 02 B2 AB C6 8D FD 84 E0 DC 00 70 07 39 AA 0C EA 13 C7 C4 20 BA 71 6F 88 08 87 84 9F 9E 62 BF 94 AD 31 86 40 0A 64 DB 58 64 CD F1 5E FA 08 44 43 72 63 6F 51 82 E8 54 CE 84 04 47 5D C9 C9 82 38 27 9F A5 4D D1 88 B4 92 79 7A 98 9E 39 78 E0 6C EE B0 40 3D B2 15 76 41 47 88 2C 25 AE 86 07 74 C6 F3 D3 9F 5C 0B 21 2E 09 F4 59 21 AE 08 A6 BA BB 25 3D AE FF A7 DD E0 AE 57 38 38 8F 0A D2 FC 5E E9 52 78 60 35 C6 A5 25 44 FA 0F 55 CF 52 5C 6E 8B F6 BC F4 40 B8 C3 77 2B CD 0A 66 C4 0B 03 A3 D2 96 E9 54 65 83 DF 43 04 D2 32 2D 80 58 42 7A 56 C1 E7 41 CF D2 78 45 3E B0 F1 02 90 D1 D6 88 2C 8A A5 D3 99 13 05 02 28 32 A9 17 19 27 C0 BE 17 88 96 4A 86 57 1C 5D D0 73 20 B7 8E B8 92 1E 40 55 56 77 DA F7 E7 7F 92 45 62 2B 64 04 3E 52 7B 41 DC E5 E8 D0 99 BC 05 35 A2 F8 E1 CB 36 88 6A E7 90 38 35 49 22 49 E6 CF 27 0C 0D 8B B1 7E F3 1A 7D 73 55 33 97 B6 2A 93 31 93 58 D8 D5 F8 56 BF DC B3 DE B5 11 40 26 DA 15 87 B1 EF 31 82 A6 8F 93 02 C8 D4 C7 05 77 76 6E 1A DC 8E 3D 66 15 FA EB 24 07 C1 14 A0 8F 5D 46 DD A2 23 38 CD BD 78 47 A4 B2 35 E2 1A 75 D8 5C 2C 94 74 48 59 7F CA B5 71 A2 B8 44 06 A4 69 87 7F 2B 83 AB C1 3B 1F 90 D4 C8 ED 87 71 97 2C D4 45 85 0D 45 50 6C CB 1D C4 AC 33 9D 8E FC 23 CE 69 00 CF 47 04 34 DB 8A 08 36 1E 2B 82 67 CD 56 14 3B 4A 55 F2 52 D2 68 57 63 AA 10 35 89 0A 1F DD D7 CC 91 E4 8D F3 A5 BB 43 E5 ED 67 65 82 BC 03 09 DA DD 29 5B 6B A9 E7 14 A4 A8 F5 2A 1C 60 F3 E0 DB 6B F4 44 A6 B8 95 8F E8 EE CA A0 B9 7A DB 72 86 07 E4 FF CD F8 69 9D 2D 20 BC C7 58 99 0C D4 72 93 DB 26 32 37 B9 E7 D9 01 52 75 9A 35 9D 0E A7 F3 0A F7 EC 18 86 87 38 CB 12 07 88 03 FD 0A 2C B4 E2 D1 DA 61 E5 E6 0A D0 3A F4 EF 52 4A E2 F8 8B 4B F8 ED 5D D8 EB 26 B0 A9 EC 56 DA 4A 45 92 F4 55 AE D5 AF CE 68 6D 1F BD 53 CF F8 F1 2B 8A EB 4F 5B EF 8A 8E D2 05 7D D3 11 AA E9 32 05 02 AD C5 59 8C 32 E2 57 19 7A 6F 02 3D 3A 15 45 01 B4 62 A4 08 F8 07 DC 37 C3 4F 76 30 1B 56 B1 CA 2E 97 A9 39 09 03 44 EC F8 FC 49 46 27 37 66 0D 8D F9 93 E5 82 62 1B 6A AB 87 64 B1 D4 33 8A 97 31 0A 53 14 8F 0F B3 0B 30 8A CD 6C D3 60 7B 52 DD D6 57 22 7C 34 BC C1 F4 CE AC 0A 18 48 EB 7C 0C FC 64 F2 B2 6F B5 D3 2C 23 DD 62 C1 B8 06 C8 E5 01 47 0F 64 65 A6 DA 16 F0 7C CC B0 85 AA 0D A1 D4 A2 96 DB 47 FC 29 FC FD 12 47 42 22 2D EE A4 11 B6 94 40 0C E5 71 9A 2B 92 20 55 C2 0B 95 AC 76 B3 A9 7A 62 9E 6F FE 1E D8 06 FB DB 18 88 8C 20 C1 F6 BA F7 60 AC E6 0A 3C DA 08 E3 BA F5 72 35 B6 79 54 DD 76 04 8D AF 9F A2 F0 D1 6A 97 1C 5E 30 FB E9 78 C6 6C 62 B2 17 07 0B 7D 02 F9 95 5C 5C 4D 65 BF FE F9 76 F5 F4 26 E6 95 F0 DF A4 01 EF 61 EC 69 2C D1 A7 5C AD 2C A4 80 EB BA DB 72 DF FC AB B9 D1 29 C2 B8 6D 9E 25 47 0C 8F 1A 10 06 D2 55 72 DB B6 A7 AF A0 05 C5 49 5C A3 33 48 3D BB 32 57 83 9E 5B 9D B9 C2 30 69 BD 4C 97 0A 7E 17 E9 C7 ED 7F BA 76 16 DA 28 A3 D1 C4 CB A8 54 BB E8 D4 37 9D C8 65 F5 72 D8 53 BF 45 6F E1 87 2B FE 66 83 0B 59 56 99 9D 61 E3 ED E0 2D 80 DF DA F4 26 32 32 32 EA 34 1F 26 51 74 61 CD A8 D7 36 30 80 E9 0F 2B 4A 8E 59 86 B5 A4 C7 BF 6D 13 B1 58 E5 72 D8 47 29 31 94 1C DA F9 CC 71 A3 D6 7C 3F 00 6C 13 C0 46 F6 DA ED 5A E0 45 19 81 76 0E DA 1F 01 07 B7 67 A1 9E E7 EA A0 31 12 CD B9 A9 C3 D8 96 D5 7D 00 BA C7 20 6C 75 48 BC 78 3E E7 87 0B 11 34 AA AE 84 AE 7B B6 EF A8 BA D1 99 01 FE B9 08 D6 27 C0 F1 85 9D FF 02 84 0D 68 9D 7D 7F 09 68 3C 72 A7 48 B7 A6 B5 D5 57 BA 63 5E C2 48 92 33 83 74 5C 2F 0C 7E 16 21 F0 BD A5 D1 F0 9B 43 43 1B DA 13 40 6A 2F 6A 45 54 0F 0B 5C 3E 2B 82 B8 B4 48 FB 45 95 6E 3A B2 E5 B5 B6 7D 37 8E D5 01 FF 5F D3 DC EB D0 46 58 BE 7A 0C FD 1A E2 70 00 50 AF 96 06 9A FC 6B 1B 88 FD 50 63 AB 4E C5 D0 BD DE 7C 7F B8 47 FD 50 E2 04 C5 C8 4C 95 64 20 5E D6 71 62 54 BF 0F D6 A4 4D E5 26 C3 29 23 81 0C BA 68 74 CF DC 3D FD B4 EB CF CF F3 FB 11 38 34 EE 30 A9 F6 CF BE 5C 05 E0 1E 79 75 CE 91 B7 55 78 9F 96 47 84 E1 E8 79 C8 13 D1 8F 89 AF B5 8A 6A 2D 66 97 6E 61 D2 9B 8E 58 62 EB 18 2D 04 A7 8C 1C E0 AC 0A D6 29 9F F7 DF C4 1C 42 0E C9 17 3F 6A 01 F6 33 96 ED 62 B3 0A 0D 18 1F 5F 1D 8A DC 25 0E 30 2D AC D0 C8 1F 26 58 51 15 EF 92 6D A8 B9 F1 1C E5 CA 1F D9 41 8B 8D A8 53 48 DF 49 4C D2 84 2A AF 0B A0 AB 93 CA C9 43 CA 9D 22 48 D7 20 10 71 FD C5 06 FF 3B CF D1 F3 DE EF B6 C6 A6 BE 0D 6A 67 BD B0 38 D6 02 CE 05 C6 AD 56 7D 7A F4 36 6B 38 CF CE DB 02 6C 0F A4 52 3D 3B ED EC 83 AE 4A CE 0B 98 CA 20 6D 6E D6 8F 29 84 A5 83 5D 8C 9B 12 28 8A D3 6B 85 79 02 91 55 F4 6C B9 B2 93 AF 39 47 99 2F 66 12 D3 F2 60 5A 0F 7C 4D AB 0D B2 06 5D 3C 2F BD 40 2F 36 A5 5F 1B 09 C7 11 57 5D 20 38 0C C7 CB 01 98 D4 D4 0B BF 26 0A 83 60 93 5C 76 F1 05 FF 07 F0 97 DE 20 0E C1 A3 89 8D F3 2D 13 D7 51 DA 82 29 0B 6B C7 5C 6E 6E 96 E0 80 4F 8A 83 CB EA A7 32 CF C7 01 B2 F0 EC 72 AD CC 37 E0 7C C4 9B 9E 52 A3 A1 1D 25 A7 AD 46 C5 2D 7D F0 B9 1D 44 FA 6D B8 2B 59 84 B1 42 3E E0 A3 32 53 08 77 08 6D 31 1C 03 00 3E C2 76 08 88 BF 12 73 E1 51 28 D3 FC 4B 58 EC AF 0D 6B 50 66 5D 02 B0 11 9E 79 84 B4 87 D5 AF 1A 66 6A 62 1E 9E 88 4C 89 2D CB 8E 12 9D 02 5C EA 53 71 02 B5 AC F4 55 88 48 70 EE 18 9A A3 E6 3C 51 29 8C 9C EB 6E 39 95 E7 50 2B 26 FD DD 28 5F 3C F5 79 50 71 84 6D D1 F0 BF 6D 1B 58 8C 10 E8 A4 3F 3E 82 A4 BE F8 AB 3F 90 FA 9B A6 C9 60 97 94 D1 A5 C0 56 19 70 DF A6 53 67 E1 A7 B9 AD 3E AA 1D 50 28 C6 E0 95 B7 7F 0B C6 52 2F 3A 5C CB 3B C4 63 53 C1 75 3B 05 BF D6 4B E1 55 FA 64 99 9E 46 76 83 10 A8 52 BF 2F 3C 36 14 6B A9 B8 91 0E 8D 2D C9 8B B6 08 FF 8D DF C2 E6 1D E5 9E 81 48 27 A0 CC AB 94 19 D8 1B D4 F1 D5 04 76 17 4E 4E 45 7F 1A BC E8 83 41 D0 FA 62 2D 57 9B 90 43 81 30 FB B4 E6 B2 22 75 A1 AB 40 AB E0 F6 BE CD CF 11 D6 0F 6E 68 E0 AA 32 E2 4E 05 80 0A CB 72 28 E9 AC 56 4A E1 96 D4 D6 3B 28 E1 6A 12 93 35 C3 0C 78 3C D0 83 CE 14 0B A5 6C 06 00 8F E2 43 91 95 6D 02 99 18 4E 4B F5 E4 8B 9C 70 34 D1 D5 B8 F2 F0 8E F1 80 E1 B1 23 30 D8 0C F6 05 08 BB 1E ED C5 A5 CC CC 44 63 1A 1B F1 AE 0D 7E 05 4A 18 3D 25 0F 0E D4 39 22 64 D5 9F F6 3C C5 D1 7C 42 91 BA 2B AD 05 5B AA 15 FE 58 BB 84 88 B9 AC EF 39 7F 7C 01 4F B2 C9 DC B1 A7 BB 38 6B F4 91 20 74 08 C4 48 A9 03 59 43 04 6D 8C D9 A6 02 E8 AF 89 A3 8D A1 9F 08 10 A1 55 FE 40 C2 E2 E5 D6 13 53 B3 03 95 26 F1 0F 81 50 7C 0E 95 BE B6 7D 89 95 C8 2D 2E DC 05 4E 82 23 DC 5C 08 52 BC F7 BB DC 98 B8 9B E3 C4 A3 66 F5 02 D7 BD A4 2F 2D 87 5D 9F 16 54 30 C6 25 77 77 5F 1F 32 8C D0 70 23 34 10 92 80 B8 4C 52 B6 36 4A 62 D3 C7 DF 74 E1 9D 63 6E E6 88 3F 6B 6B 81 D1 16 8B 3E 2B 15 37 E3 F7 28 73 28 AA 0F 64 74 7C 3A D9 6F 6C 20 C4 1C 89 D5 E2 5B 0A DA DC 50 14 57 BC FD 33 0B 70 50 96 6F 80 A8 21 5A D7 C9 D4 1C 6E B8 7C 13 D5 1A 30 40 33 DF 0D 77 7A D6 D0 B3 F1 32 E0 72 B9 BE 27 90 3C 23 EA 94 37 3C 83 A8 0A FA A9 E2 F5 23 06 92 3E A8 5A 6E 18 6E 1E 12 C0 B2 31 31 0B 88 4B 6B CC 10 22 9D E7 4D 34 0B 97 44 44 EB 00 B3 35 AC 46 D1 DA 6F 37 A0 61 AB D6 4F 4E 5F 10 70 FF 53 21 C5 D1 3E 4D F3 34 45 27 91 B0 E2 28 E1 9B 65 CB 5F 29 6E 21 28 72 B9 6E 9C 14 15 B2 90 D9 99 DA B9 24 6D 40 D8 A0 82 CB 26 BA 40 43 FF E4 D2 B4 7D 4A D8 DE DB 56 8A AB 85 A9 3B 48 0C 12 53 D2 83 B1 EE 7E A2 8D 69 F4 77 7D 14 B6 CE DE 2C 2F A6 2A E3 37 D8 AD D7 6D B5 4C 32 27 B0 14 81 20 8A B2 71 2D 02 11 45 1E 3E A2 D6 5D 51 16 F0 4B CD 35 22 80 FC BF A1 9D 24 96 B9 04 99 62 63 D1 5D 67 42 1F B7 F4 FD 22 08 5A AE 81 56 78 AA E5 02 24 4C C4 0C 42 50 6B A6 55 EC CA CE EC 58 22 CD 4D 9B 57 60 88 F9 52 6A 89 6A 5F B3 46 EC C9 D6 D8 89 C8 FA 7D 95 EB 71 1B C0 63 85 82 D3 EE 2C A5 CF 18 06 72 40 E7 AA 98 D7 A7 0C 01 CB 67 61 17 EE DC E3 71 D0 C0 52 E1 A9 11 93 AC 6C B0 C9 1F FB 39 EC 55 E0 E0 C4 CE 9A BF 90 DD D3 8F 39 34 E9 5F 91 28 90 D5 A6 28 F2 06 16 13 5E F4 AD 95 BD 52 76 44 E7 4E 8F 7B 79 10 BE E9 95 FD 26 F4 EC B3 41 B5 27 DB 08 43 B1 A5 4F B3 9F 14 C3 CB DA 3D F0 56 3F AF A7 76 80 DA 26 37 92 80 8C E1 C9 3F 31 71 48 74 F7 10 65 43 5A 18 21 9F C9 45 FD A0 DB 35 69 5B 53 AB 8F 4B A2 C9 B1 FE E8 8A 6F 10 91 EF 99 6E 95 CF DB 2F 9B B2 18 08 9A 14 D6 EB 36 61 38 C1 E9 4E 68 73 DF 6E 2B D4 80 7E 85 92 B3 82 E6 B5 30 98 76 BB 09 6C 99 B7 13 A0 F8 76 E9 CC 27 71 49 30 75 FE FF E5 C7 0A BD 91 06 49 94 50 9E B8 B3 08 5B E7 C9 E1 B7 8D 43 72 9E 8E 1E 41 67 61 AB DB 5D B7 48 1E B2 6E CA 0F CD E4 DA FD 64 80 AE 15 D3 73 DA 52 57 33 C0 C8 CE CE 45 26 8E B5 19 62 D8 2E A6 7F 36 3D EF 5B CC 20 98 13 68 5A 8C E4 87 13 89 E2 DC D2 1E 4F 1C 1C C5 53 5B 55 61 1D FD 40 C7 3F EE A9 26 7A 23 AB F7 D7 17 BA 54 BB 16 EE D4 8E 56 F7 35 B0 7D 33 29 B9 DA 19 2A AF 3D 14 3B F8 C2 A7 B7 6F F2 BA 12 1B A4 38 7E C1 76 F3 55 D6 26 C8 1B 32 AF C2 BD B0 39 D9 9C 94 83 20 39 C9 89 79 5A FC D5 6C 84 33 27 E5 94 70 5E F0 DE 0D E3 B0 87 EE 6D EA A1 F0 FB D4 41 67 F6 63 A4 0E 5E 99 45 C1 A6 00 6E 53 75 24 02 E2 FA 1B 8E CA 1C 42 9F D9 62 71 BD 38 3D 85 B5 64 27 60 1D 2A 5B 3E C4 6D 41 95 60 6D DD 6F 08 DF 4F EC 2E 4F 48 D2 39 74 1A 9C 45 E7 DD FC 70 3E 0E DA 8E F6 7D 3A 1F 88 A8 09 43 95 C5 F4 B3 BE B6 6D 55 F3 72 EE 94 8F ED 4C 87 91 65 C8 BF A7 E6 17 28 4B 06 6C 7C A8 CE 3F 86 87 57 6E 89 AB E9 43 A3 05 C7 AD 45 46 78 03 F0 3F 26 E9 08 F6 B2 92 42 8F 98 41 A1 C5 E6 CB E2 B8 5C 7E CB 4A 92 CA C9 65 28 EE FC 18 7D 41 F8 35 69 5B D6 5A F5 F8 7B D1 A0 58 B0 95 99 E1 AD 1C 41 D4 E9 FC 63 BD 97 27 DA 09 F1 EC 10 8C 8F 06 EE C9 2A 14 48 BD F9 2C FA 88 89 54 76 D9 80 28 3F 7D 68 3D 65 B4 CA FF EB 29 56 0B 8F A5 D5 B8 12 84 8C 9B 28 71 30 F1 FE 87 FA 2B 24 82 7C F7 3A FB D4 1C 46 62 60 6F 88 AF 37 ED 93 45 2D 65 2F 8E 3F 17 AF E3 01 11 0E B3 72 26 7E 33 7A 70 1A 81 26 26 1F F8 E7 64 55 A5 E4 84 24 82 61 21 FF C1 CE 72 06 8F D5 8F 38 E5 E9 89 32 94 2E 2D D7 A7 41 A5 6E E6 38 4D DB 5F E3 D1 48 39 AE AB 15 01 AE 42 B2 78 2E F3 89 1A 5C BF 67 EF 7B 63 98 C5 A9 1E CC 15 A7 77 2F E8 E4 B5 B0 D0 7B B5 B9 5A E3 5A 57 3D 96 DB DE EC 79 A2 B2 7A F6 9D 20 40 4B 5C 8F 82 71 B6 E0 3B BB 50 C3 42 BF 7E 68 D3 45 48 CC FD 1C C5 8F 6C 80 A8 B1 6D 73 23 D1 8A 8F 7D 2C C1 A7 83 84 B3 22 79 FE 7E 3E 62 E9 E5 DA AA 93 C3 9A 5A 78 E3 41 B2 3F D0 3C 01 5A 0F B0 1B 7F 0B 0F 4D D1 33 DF 9C 27 69 ED 1A 25 D3 33 B3 AA 1D 9A D7 2A 49 CB 65 00 9E EC 5E 27 B1 3B 94 4F 2E A9 8A E0 69 CD D3 85 BD 73 39 11 33 CF A8 76 89 CE D0 B4 EC FF DA 97 53 3B 96 09 76 6C 8A 89 12 84 48 81 5B 33 84 57 2C 31 DB 71 B5 0E 48 CA 83 83 85 A4 CF 39 17 FB C4 47 AE F6 39 28 8D EA A9 8C 9D 73 89 78 FA F9 F4 4B 2E 74 43 FB CA 11 AB F1 3D CF 55 B8 32 5A 71 AB 82 56 81 2B 75 F8 C3 A0 FC 6F 5F 1E 3C C8 40 0A D8 5D BC 54 F1 04 CE F3 53 9E A9 AF 8D 14 53 AB B4 15 D4 C0 BA B4 D5 87 48 4A D3 51 70 20 13 62 4E 90 AE EC 49 77 BC 7D 3F BD 8D 52 7D 4C A0 A0 41 5C F5 1C 5D F5 5F A1 98 5E AD FE 04 37 E4 BE 61 8C B5 99 72 E7 02 4B A0 9C 7F 9A 8C E2 02 A2 94 86 82 7C 5B 81 88 C3 7D 8E 9B 87 41 D3 0F 44 54 E3 C0 1F DF BC A4 23 FA A7 D6 44 CB 3C 8A 88 91 9C 5C BD BC B0 A2 CE EF A6 11 1C 99 C5 39 0A 6A 09 7B 5A 64 0E AC 55 64 B0 22 3D 0D 52 C8 D6 F3 8D 11 30 4E E2 1D 3B DA E5 9C 36 5D 95 A8 E0 FB B7 CC 26 15 07 D0 B4 F4 56 C6 D1 71 C8 44 F0 E0 8B B7 88 85 EB C8 1A E0 54 9C E5 F3 3A B0 3E F7 05 BF EA B6 C0 3E 08 F1 55 4E 28 3B 82 8A DE 59 81 7E 83 75 25 E8 C0 9A 83 23 5E 0D C2 C2 48 55 B1 3D 36 86 CE 72 D9 F5 80 F7 D2 E1 31 33 81 D6 7E 46 3E 7F 16 9A 77 A7 DE AC 08 4D A1 D8 53 E8 76 81 EB CF 5B 10 5E 30 E5 06 31 4A 43 15 C2 81 75 63 07 C8 A4 9E BB 22 F7 21 7C BC 7C C2 7A F6 83 0C 48 AA 27 90 60 50 6A F7 8C EA 84 AE 1F F6 44 C9 28 D0 A3 9B D5 97 A1 81 91 61 1A 5D C5 30 7A FA C7 82 87 51 CB B3 5C 36 51 FC 98 60 BA 2B F6 E1 0D 80 14 A4 54 40 7D 80 27 3E 0F E6 83 E3 A4 BB 55 96 28 AA B8 8A A2 83 4D 8B E3 AC 48 1B 54 58 0F 9F 58 8E 4D 5D 27 7B 3C 33 C6 A2 AB 93 D5 20 C6 DC A7 66 75 34 15 47 EA ED 63 0F 66 93 64 F3 E1 09 61 6E DC DD 71 A7 9E 9B 13 9E 2B 50 9E 7B 53 FC 23 D2 11 10 47 0D 71 91 83 E7 9B F6 22 A7 3C BE 1C DB 39 F9 6A B4 C6 04 8F AB AF CA F6 D2 E9 61 63 53 57 BB 51 22 F0 7D 7B 0A 07 4D E9 B8 C7 60 22 E5 3C 41 B5 A9 FB 66 B3 9D 9E 21 03 8B 55 FE 40 77 52 5A FC AB 8D 2E FE 50 3A E9 A3 46 26 6A F1 E3 84 82 30 70 FC 35 7F E4 64 35 A7 FB 22 E1 C1 7B F6 E1 9E 09 1B 47 02 9B AE 90 BF 1D 39 35 AB 97 3C 2E 18 EE FD 8F F1 D8 31 97 F4 9B 70 7F 26 66 DF 20 3B 38 2A E3 EB 5A D8 08 F9 89 EA 32 A5 7F 91 50 CE DE D3 05 8C 57 27 0F 4D 19 F3 7B 1C 41 06 B8 BD FD 2F C6 45 B0 3F 14 CE 72 E7 09 4A 87 A8 83 C8 54 54 CD 2A 95 56 CC 89 79 C5 3F 37 2F C5 06 E3 E5 89 86 F6 FB 0E D8 02 1E A6 42 E7 1D 25 85 FD 99 78 94 E2 71 15 AC A7 FE 93 90 E2 C3 9C CF 1B EF C0 36 18 75 AA 7D 97 87 D5 51 C8 B0 A2 30 A5 04 7F EA 68 01 E5 2C 1A D1 E7 48 AE 40 03 A8 24 B9 30 56 B3 E1 94 DF 5B 80 3E 48 90 14 EC 95 FF 2C 58 33 91 49 B0 9C 22 2F CF 1A 36 A3 98 2F E1 99 AE 8B 1F 69 C9 7F 2F A2 51 3D 95 A8 E7 5B FC 45 2E 2A 5A 5C 9C F0 7F 19 3E E2 38 A4 98 EE 5C FF 17 3D FE CB 0C 62 F5 F4 C1 33 11 D4 51 54 E0 F8 B1 21 16 F6 C2 4E 68 7F B7 38 52 DB F5 4A 8B AD CA F3 9B 6B 19 14 C0 42 81 D7 AC F0 D1 43 D0 FB A2 19 C0 A5 42 CF 9E 5C 46 62 48 1F C6 9A 67 09 7C 22 20 86 7A 4F 00 48 69 53 85 D1 17 7A 87 12 FE 71 B8 F2 5A 63 30 C6 FD 24 17 8A 69 87 0F BF 24 50 CD 72 19 55 65 73 BF B8 A3 4F 47 EB 8B 17 E7 09 40 FE CF 4B E0 D7 77 65 96 CB 64 9E 11 1D 13 BE ED B0 9F 59 44 9C 0B AE D0 85 B2 5F 83 16 B2 1C D9 44 F0 C6 E5 68 DD 46 98 42 3C 1D 34 F4 25 C1 81 49 FA E6 99 4A 24 C8 81 DB 91 02 12 5F 00 62 93 55 4A 0C 6F F3 4A 50 3F 32 3B ED 2E 61 05 AC 80 B9 39 86 0A DC A8 C9 20 D1 B3 2D DA CC C6 27 BA 0F CE 7E 00 3E 8E 72 AA 51 9A DF 9E 9C BC C1 83 CA B0 E3 49 99 40 2C 6A 07 32 38 4C 8A AF A3 76 4C 6A 64 AB A6 B2 59 2E E5 9F 7C 68 E8 23 0A 38 5B 90 D9 05 4D B5 6B 70 63 BF 93 AB DC 9E 96 D5 7C AE E5 F4 BE 5F 90 6F 43 18 24 4F E1 1C F7 5E 54 3C 02 30 00 CF 73 14 C5 7B 27 7C 49 2C 4F 8C 73 32 D7 A5 CA 27 B6 22 21 38 89 50 6C B6 38 B9 CC 32 2E E2 E3 7C 7C D8 8A 84 43 2B 24 AA 2E 8C 69 DD 0C 08 E3 F0 04 8C ED C3 83 96 16 C2 F8 EF 11 5D 3A 56 AC D9 18 E5 AB B1 B8 71 5E F7 66 AE 32 F6 8F C0 B3 7D BF 7F 6E 66 09 42 FB 19 45 5A 03 33 F7 0C AB F4 92 14 DC 09 02 F9 BC 53 79 26 3C FD BC 59 42 B7 C5 55 80 59 AD 46 F9 1F A0 A4 36 7A BF BB AA EB E1 BD 41 16 7E 53 3C 08 80 D7 A5 8F 56 1A 65 9A 8E F7 80 04 26 B5 32 B4 2C 70 3E 7B B1 4E 17 82 A0 BC 29 CF 53 34 5D 3F 3D F8 FF DA DB B9 1A 01 B8 88 CD 59 E2 3D C0 C9 2F A2 93 1A 23 E1 75 D9 A1 79 B9 E4 A8 A2 4B A7 CF BA 88 3B 85 F6 39 8F 69 DA 2C BB 78 81 06 EE 29 56 95 5A A5 7C D3 B5 08 95 E7 EC 0F 7A 57 0C 08 B6 7B CD 41 82 96 E4 28 D0 91 1A 55 37 53 0F DF A3 48 D2 6C 36 A4 21 04 31 12 F1 BB DB 79 93 EE 60 9C CB CC B9 A4 2A 9A DC 76 D7 8B FA 1F 48 55 80 BE DC 77 BE 6C 5F F2 38 B5 C7 81 1C CB FD 55 F2 53 A5 C0 5B 16 94 AB A7 B3 60 87 D3 51 04 4D 8F C9 5C 2E 71 ED 6F B6 09 25 3B A9 94 80 1C 0B 68 92 76 14 A8 D7 57 67 0B 3E 65 AD D4 B1 4F 16 03 B1 BD 22 E2 1E 01 8B D9 32 9F FB 86 C8 A3 EB 21 E6 8B CD E7 B6 2F 96 26 A3 EA 24 9E D6 67 F8 7E CA 2D A7 9F DA 92 E8 D4 0B 7F C8 D3 16 CE 3F 8D 3A 8D 24 A2 01 42 76 2A 2E A9 2B 8C 37 E6 EE C9 4A 90 79 59 F4 36 5C 7D 2D A9 D9 2C 57 46 51 4C 7A DB 47 1D 86 25 B6 4B 00 A2 93 A0 22 BA F1 43 6B E7 74 10 34 5E E7 FD CD 4D 17 41 D8 9B 36 30 AB 61 61 10 7E DA F2 D2 7F 49 27 4D 40 A2 39 C1 9D 36 FB D0 C2 DF 48 39 58 F4 85 3F F2 37 A2 AD D9 0A 67 DA B1 46 E8 C7 23 45 83 7A 9A A1 2D F1 5E 21 75 03 D5 29 75 FC 35 8F FB 99 A0 4D 3A A0 22 6C 8C EE 61 5F 24 EB D7 67 AE F2 EC DA 13 6D C2 55 B6 33 01 B8 A6 C3 63 90 DC 2D FE 21 6B 0A 5D 91 EC D3 C1 0B C3 2D 91 F3 6F 33 FC 41 BF C3 C2 69 9D 27 21 0C 05 7F A5 33 19 E0 87 3E A3 BA 15 BF 0C C6 DF 92 45 88 F6 06 D0 5A 3D 82 90 8E F1 41 0F D4 D4 DD 5F A2 B1 62 31 CD 4C 70 D0 EB AC 4D 2D 06 52 A8 4D F9 8E 75 46 BB 1F E6 F9 1F 4F 67 CC 99 EE CF E9 34 A6 57 03 B7 7B 16 DF F0 4B 6F 21 3C 9F 38 F1 DB 0B 88 F7 21 19 57 60 37 0D 54 BF 94 E6 9B 3B 06 85 1F 94 33 0E 0C 9F 0B 68 4C 4E DA D0 36 3B B0 36 94 DF 6F 89 0A 94 BA 7D 1E FB E4 9B 9E 3F 92 1D 2F F2 EA 7F 06 A8 B2 B6 53 54 D1 6B 62 D3 69 72 25 58 90 6D FC 7C 46 49 1B A7 B8 C2 90 4B 55 7B 40 98 4D 5B 41 6D 60 65 BA 69 12 72 31 E6 F9 21 69 9E 90 B9 CD 06 F6 63 07 AE 14 4D 3F 83 A7 30 D5 F6 04 68 7E 4C C8 60 7A D5 0F 9A 94 2B 2C 37 C2 E9 4B C4 0F 6A 12 51 E4 68 04 60 6F 0F 55 1F 39 54 B2 0A 9F A4 29 AB F9 E3 06 C6 1B 46 A4 2D 4B B7 56 3F 8A 00 2E E7 94 EF A8 62 22 E4 12 FF 13 DA 1C 1C C5 11 14 02 6D 39 08 24 85 6E FC EE 23 B2 30 BE 4E C8 12 6B 40 CB AC AD 72 E1 92 FD AC DD 9B 95 31 71 F4 88 34 93 6E DF 4F 67 A7 F6 41 4D 5B 4D 3E 2E 73 3F 63 E0 24 D4 22 32 D2 14 3A BB 64 C1 56 3C 14 44 F8 5C 4C 83 4C DA 8D 98 CA C1 9F 6B 57 18 4C 4B 97 98 3B F1 B8 F6 7E 19 8C 76 4A 34 25 3C 9D CE 96 B1 29 3B 55 8A 9D E3 92 79 72 55 8C 68 D2 AE A8 99 BA 48 22 13 28 7B F8 49 25 44 03 2D 31 6C F7 3A A1 73 84 F5 E0 54 22 74 1E 0F 9B DD AC AD A1 C1 9A 41 44 7B 37 A5 FE 0E 91 D1 58 91 2F EA B5 28 A0 C3 AA F0 6D E3 E8 FE 5D 3F E7 A8 40 E1 3B F6 7B E1 F2 AD 5C 5D 30 8C 66 46 D4 B7 6C 21 6E 11 6B 23 09 90 7F F7 5B 35 5D 6F FC 68 64 FA C9 9C A5 F9 4A 25 23 0B 43 30 57 B4 55 CC B4 1C 65 5E 90 44 D5 7F 0B 4C 67 82 AE 36 D7 15 FB 31 A1 B1 A7 BD 85 CD BF 78 1A 4D 8C B6 00 94 D5 56 A2 1B 46 08 08 42 80 4F 55 1A 99 78 53 E0 11 0C 4A 11 E1 A0 B3 4A 37 68 EA AB E9 1E 6C 0A B2 F4 97 C6 E8 7C CB 13 B1 96 AA 26 F2 76 EB BD EE DF 70 53 4F 55 08 AA 35 2C E0 52 E6 10 F1 38 2F 4C AB C7 7E 1C 50 A9 91 0F A9 1C C9 05 3F 3A 62 F5 E5 F4 CB F5 98 EA E2 5D 37 46 35 EF 6A 37 CC 8E D0 76 61 5F 92 6B FD 8D 0B 81 09 0A 06 39 3C 86 C1 6F 1E F0 A4 E9 97 BE 8D 6F 90 A5 B0 78 2C D1 E4 C3 5F C1 18 C5 21 C5 D6 9A 2C A3 B2 62 D2 86 50 68 53 E6 2B D9 FA 72 2D E4 55 CB 45 1C 45 01 C1 33 D5 56 9F E0 38 9F 40 12 CF 60 6D AB 10 3D 90 C5 38 7C 5A DE 5A 09 3E E3 0F 0C E1 78 EF 7D 50 9F 22 7B 01 70 36 5E 93 E6 8D 36 CA 5E 94 97 AD 0C 7A F8 30 F5 9A 0C E5 28 E3 20 8D 67 1D 62 9D C2 AC DB 71 F1 DB F5 6E F7 B8 FA 2B 86 8E 52 9E 33 C2 6C 62 7E B7 F4 70 C8 FF 21 05 4B 76 C5 54 1D AE FE 70 65 FA 57 78 70 62 F2 44 94 29 16 37 1D C6 1E 1B 26 7C 55 89 2C 15 B0 FC 4F 6C 3F C3 81 31 40 4B B8 0D 64 03 59 FB E0 73 68 AA 53 AB A3 E5 C9 91 38 34 9C D9 3D 6D EF 5E F0 F0 47 B5 34 61 6B 3A 61 94 68 75 22 75 72 65 CD B6 C2 56 0A A9 81 32 7C 2F C1 F6 B5 E4 7D 97 5C C8 81 C5 FF B1 55 84 83 99 75 F5 D6 D7 62 F1 89 A6 7B 33 D9 25 0F F5 6F C4 3B E4 69 06 86 F6 9D FD 39 04 A1 42 1C A4 08 01 E8 6C 09 5F 51 04 CD EE 36 80 CD 67 C1 90 B9 E6 1F 8D 29 80 46 55 A3 E3 D8 C9 F3 2E D8 77 D9 CC 97 B7 69 DE 5E 8C FF FD 68 0E F5 BA DD E8 9A EF CF 57 6F B7 6F F2 DC 11 18 69 67 8A F0 82 53 9F 33 D1 71 23 DB 7C 0D 74 84 9C 06 F0 E3 34 34 3C 75 A7 1A 2B 81 AB 30 0B A1 C8 45 36 F3 DF 20 8C 38 91 F7 FD 4B 11 0B 83 45 C4 A7 C8 9E 8C D2 6F 2E 1B 52 21 56 0D 85 E2 33 CF FB BC 0B 92 85 32 08 85 B3 92 E0 86 4D 49 FD 29 6B 63 55 CB 78 CB 5D 17 97 25 47 33 E3 12 C7 86 C0 33 F3 90 03 AC 64 D3 67 F6 D3 36 FE 2C 57 3B D1 98 F9 80 C0 5A C4 B7 21 CE EC EB 6A EC FC 20 9D BF CB 46 9F 39 23 D9 8A CC 40 42 4D F5 BF 59 04 C8 55 C6 86 BA EC CD C4 63 42 03 6E E0 A4 38 11 1D 3D 8F A2 61 0F 4C EA F8 45 12 D9 73 50 F9 EC 05 C1 A4 5E 32 BC C9 D3 D9 0C B3 BD 5E 80 0E 1B CF FD 91 1B 98 6E 8F DF 19 7A 9A 2E 83 D1 14 B2 B0 4B 84 F2 11 CF B3 64 EB 7D 44 96 17 FE 20 50 CB 2E 76 24 86 A7 5C 11 EE D1 DC 3D 3B 24 BF 99 18 89 20 E7 9F 93 CF 1D 2D BD 08 8D 54 59 49 D3 4D A8 F7 5A 72 85 6F 0A A5 94 84 3E 01 FB 41 CA 18 AA D8 BC B6 DD A4 E9 49 7D DE 36 C5 F9 EC 74 CB BC FC E8 85 66 1B 69 68 27 5D EE 53 33 7D D2 CC 9F 3B CC 9A FF B4 E1 54 BE 9D 1E BE 7B 5C 03 32 2B 69 57 B9 B2 3B 6B F2 DD EB EC EF 8A 0F DC DA CE C2 8C A0 D4 AE 93 A1 F4 4F C8 19 E0 49 9B 83 EA E5 52 1B 53 B9 33 4A B1 B6 7F 55 0B E1 9D BE 65 A4 29 2A 5F 8F 7B D1 B1 16 22 07 81 9F 1B C8 4B E3 8C 2D 07 29 FC FA 14 DC F4 D9 51 32 1F 87 5C 52 A7 8C 29 87 DE D4 CA 93 7A BA D6 76 E6 6D E6 31 73 7A FC 04 D2 D9 0E 89 80 37 52 34 88 F7 D9 B3 27 0C A1 73 05 F1 E7 54 59 40 54 11 D1 69 1A 0C 24 70 0D 52 42 CB EC DB 94 5E 1A BC EC 28 63 45 FD B8 DE 24 F8 0C BA B7 C9 82 05 58 FF 13 1E 31 E9 8D 3C 07 D6 8C AC 4A AB 62 DE 33 F1 5E FB 9D 33 9E B9 B4 47 11 FF 7E ED 6C 9A 47 AC 74 DA 22 32 03 5F D5 FE 4E E5 39 07 02 7B B8 10 FF 6C 53 70 9A 66 7E 19 98 BC BA CC 6F A9 FF 68 3A AD 2F C2 FD 11 03 6A CD E5 21 07 1B FB DA 90 7F 4E CF C2 7A ED 53 F5 60 20 D7 5E DF A0 A8 54 1D A7 AF 8C 79 75 49 93 4D A6 DC 09 62 E8 2B 07 75 17 B9 AE E1 0D E5 B9 B7 59 CC 3C AC FF 55 AC FF CA CB 8E B0 01 4E 78 96 44 B4 D1 F0 E8 AC 8E B7 13 A2 27 03 A9 4D D4 BD 2B 7C E9 5E 62 00 99 F9 6E 9B A0 AA 33 55 C2 CE 67 80 45 3D 80 B6 ED E5 BB AD 3A D0 86 38 3C DA D2 A5 ED ED E7 E2 FE CB 4C CB BC CB 8B 49 28 5C 11 33 22 71 64 87 ED B0 04 32 55 23 94 C2 2E D5 10 4D 53 95 C9 D8 6F F3 E6 21 02 54 FD CA 77 C2 F7 2E 08 5B 92 5E 3E D8 1A B1 FE 1D 25 5A 4E 97 5F 25 30 A0 05 55 DB 07 91 E6 CA 2A B6 4C AA C2 BF 5A 70 50 EA 0C 9C 33 51 21 4D 93 2E EF 3B 74 E2 6A CC 3C 3C 98 68 93 71 05 2C F4 B8 DA 3B 02 47 D4 DA C9 2B 6A F4 CD 6A 49 87 AC ED 9B EE 10 7B A5 BF 7B 72 23 73 C7 7D F3 2F 86 69 FA C1 66 23 EF 08 CB 33 53 E4 52 EA B4 FC 1F 3A 74 C1 C0 D2 C1 36 B7 85 5D 15 43 F5 C0 2F 14 A8 F5 06 D4 9D 48 CC 5C A8 2F BF A4 FC DC 9D 53 ED E2 61 A6 83 CF 1E 6E AA 62 EC 0D 0D EF 60 A7 22 39 F3 3F 61 6E 86 46 7F E8 9C 26 F1 A8 17 32 07 04 18 EA F2 57 16 5D 41 37 CD D8 F8 74 9A EF E7 C6 50 53 34 EA 94 64 3D 60 92 DA 36 73 BE AE 7B F6 3F 9B 81 C3 1F 33 F9 4C 15 D1 2C AA 64 0F 9D 20 BE 72 BE 76 AF AA 1F FF 99 7B 82 7A 4A EF 31 21 42 52 01 B2 A1 06 A0 82 6B DE 98 AD 19 52 09 FC 7C E4 71 7A 96 A8 5F BA DA F8 F9 D4 15 9C 0F AD 4A 0D E9 10 36 19 FB 8A B0 C7 7E 2D FB AB CF 8B D0 4F 07 37 20 A9 09 B3 0A 9E 3C 1D 5A D8 5F D9 9D 86 10 86 1E 89 24 AA 4F 05 29 F9 2B 9D 9A B6 34 BA A3 76 E2 55 30 EE E1 24 F5 29 B8 BB C8 A9 A3 00 0C 83 C9 C2 2F 4B 49 34 15 17 C3 6E 81 D1 54 FA AA A0 7A 7F 80 8A 02 66 1E 29 FA B6 50 41 63 84 F9 8E F6 79 CE 0A C8 D4 FE 3E 7E D7 59 95 B7 3E 99 61 7F 2A 52 1E 6E 22 B0 74 7C AE EC 87 F9 B2 38 B2 49 A7 6A E1 9C 2A C8 CA AB DB 83 B5 EC A2 EE B7 D2 EE 5B B6 0F 27 0B 24 36 84 16 CF F5 E4 4C A1 9D C9 EC 86 DA 15 58 A4 FD 52 B8 4B DC 01 3E D1 29 45 82 0F F6 7F DE A1 AC 3D F2 49 AD 00 85 94 8E 92 E4 EB CA 70 56 9E 6A ED 4F C2 0A 36 83 99 56 8B 1B 98 DB 1D 83 F6 EF E9 0E EC E2 9E DA 8E 91 E6 4C DA D6 82 28 D6 A2 8E 50 68 FE AF 4C EA 4C 01 C3 B7 E2 6E 7D 57 0D F6 48 71 10 01 7D F7 DC 69 43 B2 6F C2 FF B8 A1 E2 B2 FA C3 7E 49 3C 93 59 2B AF CD 30 EB CF 07 22 71 58 ED E1 EE DA 9D B4 F0 DB 15 54 7E B2 12 3E 57 7F CB A1 19 A5 43 DA D3 55 5C CE 24 20 DB 07 55 3F C3 26 F3 B7 C6 CB EC 2B 83 5F AD 50 82 7B 63 A0 B6 57 FD 94 62 F1 44 F8 CD 90 77 71 14 59 48 0D B0 32 8A 8E BD FE 38 AF 9A A7 34 14 06 0B C5 17 AB DA BE 2A B3 54 F6 70 8D 1B 2B 72 C2 90 A2 EE C5 80 05 64 35 97 F4 ED C0 31 A1 7A 30 A8 F4 37 63 0A 87 1E 35 1A 22 98 4E 0C C0 3F B1 09 3B 72 36 25 34 68 9A FF 64 61 B2 3A DC B5 39 77 3C 19 59 E5 C8 92 04 2C 1A A3 E5 F3 9E 38 7B FF B9 EC F1 EA A8 C8 04 EE CE 6C A8 FA 95 19 87 A1 50 02 A1 06 86 B7 0A 61 52 2E 23 F9 8E 0E DC 66 54 DF 6B 2E CB 04 6F AF 4A C9 45 79 6E 29 40 61 4B A3 6F 3D 95 90 DF 37 15 CB 8A 2C 4C 4E C4 09 EA F8 00 5B D5 A0 5A 2F 55 08 05 F4 E6 69 B4 AC 9D 67 44 B6 AF 87 E8 70 83 67 28 9A E3 84 C7 2F 9C 82 05 71 C7 6B EB 42 FF E4 05 48 C6 00 0D E5 4D 40 F7 0F 8B 85 FB 5A 52 6B 27 BE 3E F4 BC D4 E2 0F AA 1F D8 4F 21 C8 82 77 02 49 8C 52 22 D4 92 A0 D4 21 F1 8E 83 1D C2 BE 10 81 27 60 2B EB 46 62 B5 93 25 6E B0 D3 21 01 F0 93 0B 98 9F ED A3 24 95 28 44 65 38 55 1A 78 7B 9D 54 C3 9A FD 69 3B 43 F6 B3 3C A5 57 53 2B CE 9D 52 98 09 0A CD 15 13 28 12 A1 02 9A 21 B2 7B 4A 57 3B 64 D4 D3 5F 1A C5 C1 0A E9 90 FC 54 CC AE B8 24 8E 1E 3C CB BA 69 D9 C8 B8 8B B7 64 02 6F CF BB 23 E2 6A DC 37 7C 3C E1 8A 37 05 AB 95 B2 58 64 3F A4 25 18 C7 C3 04 C4 30 7E 59 52 59 59 53 2C 44 38 F8 F0 ED BA B5 26 10 3C B9 36 53 30 A4 A3 92 99 E9 A4 F2 5F 0D 0E 58 55 DA AA FE 25 53 B5 11 36 E5 DF 51 5E 80 AA C8 3C 87 47 71 B2 80 F9 34 FA 99 4A 60 A7 BE BF 70 54 31 97 CD DE 73 C6 50 D1 8B 24 60 F1 0D B8 69 41 59 85 67 B7 90 75 B7 9A 46 74 A2 81 56 79 E1 7A 52 1D 5C DE A3 AB 84 98 D7 14 56 9E C1 E6 5A E2 79 45 3D CD A9 07 43 7F 55 F1 67 7F A8 3B B5 B3 65 56 57 98 B0 1F 1F 69 B5 D4 0C 47 62 0C E0 18 54 3A 80 53 DC 1C F7 21 A0 49 D7 2C 7C 64 1A 6C A9 95 15 76 F3 43 E3 FD 4C 6D C2 93 80 CD 0F FC F7 83 F1 5F 84 E5 71 81 B1 AE BB A4 94 4B 88 6B 9C 88 1F 5A 10 BE 23 B3 65 96 5F C4 AE 1E 95 22 F9 F2 69 41 6B 18 F0 FB 67 EF A2 0A 1D EF 09 DA 22 73 80 C8 32 29 89 31 9E 2A 23 A0 40 70 05 FC 6A E3 44 33 13 3F 37 9A 8D 75 93 9F 67 82 A6 6D 89 CD 79 F0 84 6D 9F 7B 30 1A 56 F7 DE 6D 60 7B AE C8 09 2F EE F6 44 43 66 29 3A 93 99 39 4E BA 18 30 19 86 A4 D2 12 DE E9 5F B9 D9 E9 D1 A1 A0 CA C0 8F 54 2F B8 FD C2 4C A0 8B 7F 5D 78 3D B4 E4 8B D3 26 EF 37 6B 42 82 32 33 87 57 21 A1 29 23 D7 E3 C7 BA 1C ED 30 A2 C3 98 00 59 36 62 49 32 FF F6 53 F2 11 14 37 49 F4 AB 52 CC C4 BD F1 1B E4 4F E1 42 D5 DD 18 68 4E E1 65 0B E1 86 0D 0F BD 81 61 A4 A1 69 21 3A 9A 3D 2E EF EC A0 F1 92 F9 B1 72 02 AA 6A 9A 4F 26 EE DB 64 93 1F EB EA 50 01 20 54 42 2A 68 0F F1 30 EA FE D2 58 4B 7A 0C 10 9C 6C 9B AF EB 5F D2 BF 08 77 28 7B C5 5D CB A7 13 2E B0 5F 4E B5 37 D6 38 66 3A 96 A5 E2 8C 9E B9 28 F2 78 45 BE 4E F9 8E 86 CA A9 F2 46 03 8C BA 52 AF 4D EA E9 66 51 A5 A9 D3 43 A0 06 D7 26 B6 4C 30 47 F5 F6 64 3E D8 F7 27 05 98 79 F3 7E 77 0E 69 3F E5 C9 F0 A8 C0 0E A7 2E FB 6F 9A 18 77 3D 58 0A 40 47 94 BE 16 31 5F 6E 7E 8E 8E EF B4 0D 0A 86 81 9F 2F 8C 3F A6 C0 50 CB 3E FA 37 7A 96 6E A9 C4 2B 74 7D C8 71 FE 19 F6 EF 11 96 91 89 09 54 05 4F 71 2C D2 42 7E 05 A1 1B 47 2D 56 8B B3 13 58 8E 97 B9 04 A9 08 5F 33 DE C2 EE A0 93 5F C2 C8 6A 3A 7B D1 0F EF DF 4A DE 60 0B 13 54 66 E9 14 F1 CD 39 FC 91 65 25 66 61 64 79 8A 9A CD 5F 16 79 BB 37 72 45 7C 4B F5 AE 7F C9 37 C9 89 DC 29 83 E2 C8 F4 BA 46 80 37 14 13 C6 69 CE D9 D9 27 86 FA 4E 13 2D 3C 98 58 99 F4 F0 03 3B 94 EA EF F9 94 E9 05 AF CD 33 F8 15 50 ED B0 21 5A C5 23 D0 50 45 DF AA 77 91 53 61 01 96 6A 78 15 D6 13 43 E0 6A 15 50 83 2C 6A E4 AA 8E B0 F0 E1 D5 C5 59 5E 2F CD CA 3A FB 8A 24 56 44 DB 9B 35 94 3B F7 A3 93 66 58 5F C5 F9 4A 6D D9 ED D8 FA 03 52 4C 84 3C D5 22 CB C0 2D EC 1A 68 17 0A 99 BD 8D AD AF 57 09 3C D9 54 41 C4 71 DB 5B 4C 24 DA AA 69 48 B0 3B CD B4 8D C9 49 AA D5 B6 2D E8 36 F9 81 66 52 65 8A 71 62 07 F2 0F B5 C7 00 DE 62 D3 2D CE C5 96 A2 7D A6 D4 0A 20 BA EA 08 44 2B 71 25 B9 45 06 19 96 6C E7 F6 CD FF 05 28 17 51 2B 8B 2E CD CE C2 1B 25 6D 57 04 E5 6A 29 5F 9E E3 9F EE A1 0A BF 3C 62 86 EF 6C 61 54 AE AF 91 63 8F 42 47 BA 0D F0 31 D2 9A 0B 7D 0F EB 69 4D 5C ED 6A 99 F2 A9 9D 9B 43 39 8B 13 8F 22 B6 E2 BF C7 84 7A 35 1C 03 BB 77 6C 94 36 0D 95 BF EF 83 2F 31 53 C1 E5 F2 FE BF 3E 30 05 5C C7 E0 F3 C8 D9 CD 38 C9 0B A2 B3 F8 82 FF 99 75 2E 84 D7 60 83 61 9A 84 74 C4 0A 38 43 F4 6C 8B 96 C4 48 40 CA B3 27 14 89 2C 54 B5 F8 1C A4 ED 4E E6 BD 20 D3 1E D4 00 F2 33 F1 8D A1 65 80 E9 A1 3F 27 EC 8F D7 AD 54 0B 9C BB 23 AC 13 B1 64 1C 5A 4A AA 49 19 36 45 90 AE AA AF 98 CF 23 F9 36 3E D6 99 70 EC 4C 93 99 98 5C B0 47 89 E6 07 D8 5E BD 9C 4E 93 96 F1 54 FB BB C5 8D 90 8E 5B 1B E9 9D 57 75 D4 2D 73 A4 4F AD 22 86 83 74 01 76 79 60 BE 73 9F 23 ED C6 49 77 35 DB A0 F0 A5 40 60 A7 CF 8B 61 53 A6 D0 79 8C B8 37 37 7C 90 18 17 FA 26 97 CC 32 62 AA 41 92 9F D6 4B 87 45 44 9B 52 27 E4 F7 29 9D 8B 23 BD 19 CD 9A 05 41 72 0B 43 66 E1 65 92 00 52 5F 79 FD 51 5E 1A CC F5 2B 8C 7C C4 59 EC 44 91 A0 6D A3 3A 01 8E 61 2A C6 F8 12 FC 2D 47 2D 23 9D 39 65 DD A6 62 2E E5 3B 54 D6 41 69 80 BD 31 9A 15 5E 22 63 82 F1 26 B9 1B 24 A0 0B B2 A1 F7 C8 F4 39 F4 F9 62 21 54 28 B5 38 F7 82 D8 10 CB 7E F2 08 EE 38 8D C3 73 18 5D 64 AD B3 75 61 04 FF 0C E8 56 C8 B5 BD AF 9F 44 06 F7 A3 5D 79 BB BB EC 4C 88 73 F3 77 0B F0 DB E5 E2 20 F9 62 B7 6E 83 51 3B DF 90 0B 86 5D 83 6B 8C D1 2A CF A7 4C 86 C1 C2 C7 8A E7 31 F7 44 0B 5A DB A1 F4 CB 1B DE 89 DA D4 C1 D2 6B 84 67 5E 9C 9F 7F B0 CB 95 E4 4C 5D 45 7B 0B A5 37 8A 8C A3 20 8F E0 15 3A AB 67 15 D5 34 28 2A C9 13 4C C1 7C 68 61 2A AF 61 AF 84 D8 43 11 F8 78 E8 13 B4 7F 3A C4 95 87 A2 83 55 98 B1 CD 55 59 05 F3 A9 46 29 DA BB 0F 47 28 DF DC 4C A1 3D 11 30 25 0E B7 91 D3 DF 1E B7 F8 D4 9F BB D0 07 82 80 D8 98 91 C6 BA B6 64 1B DD 31 70 70 6E 3A 02 35 36 66 DD 94 FB 57 78 69 07 DF AE B0 DC 4F 86 CA DB 8E 11 31 6F F6 CB 60 EB 05 38 B8 FE 49 02 0A 72 A5 5F E0 9B AD 27 85 A1 93 26 32 3A 3B 10 81 2C 67 E1 99 F7 98 1F 4A C5 04 38 99 81 39 15 66 95 0B 77 CD 6B 68 30 C7 B3 77 B7 B9 21 41 CE C1 CF 10 60 94 7A 56 62 A2 01 E3 13 14 7C 9B FE C8 D9 CB B8 F8 89 05 E7 FF 08 6A 2A F6 30 AA 5C 63 E0 4B 7D B2 C7 72 D4 8C 49 21 BC 6D 5A FD 66 49 05 85 00 06 A7 11 E0 30 6D 5E 2B 58 9F 5D E2 26 8C 41 5D 1A 06 C7 A3 41 1E 26 6F 4D 81 D6 75 8A B1 04 5B A0 1E 82 49 4F E6 98 59 2E 38 8F F4 45 8C 92 F2 EC 7F 9E B3 18 3E 93 F8 FB D5 11 39 22 3D 31 55 07 CD 61 17 E7 E6 26 7E AD 3C D8 EF CF F2 6A 63 1C 8D E4 21 0B 0E BB 03 BF 6D 3C 4F 5A 45 88 FA 40 B6 87 99 D3 38 64 5B A7 4E 16 92 61 D3 EC D6 E0 F3 E9 EB 9D AC 93 B9 1B C2 86 D1 CB 7D 08 5E CF 92 3A 8D FB EB EC 27 F2 63 42 4B AC 5B 86 84 B8 3F 45 A0 22 F5 05 8E 07 8F DC E1 EB C6 30 A7 C4 B1 88 4B A5 5E EB 04 04 2B 1D 4E 9B 91 72 53 4F A4 B4 83 4B 5B 3B 70 BF F2 2E 6F DC 40 C1 0D E1 9C AC 07 31 06 CF 1F D9 12 79 26 73 3A DA 06 46 CE 6A E4 19 8E FD 55 94 C0 5D D2 78 53 EC BC D0 0E 5D B6 84 02 85 5B E9 A4 B9 45 B4 FF 54 33 39 39 37 DE D7 71 82 AC 3E FC 6C FF 3E 12 C2 FA F7 47 FA C9 DF B0 F5 35 45 68 E8 4A B3 A7 61 61 5E 35 0A 31 7B DE 60 B0 4B 87 75 35 82 A4 EF 26 7F 32 9D C4 74 AD C2 49 B2 34 C8 06 4E 4A 03 48 77 3D 67 80 7F BB 65 65 55 2F C4 9C C2 6F FD 92 FF 87 84 85 B0 6F 64 05 4E 4A 72 B5 D2 E7 A9 5B 2D 4E 8E 09 67 D8 CE 7B 6A 78 40 62 63 42 4F 18 2E 58 04 92 62 E3 CB 04 32 DB 1B 6E D3 42 A7 D4 E0 FA 54 AD E6 CF 13 AE 2A B0 14 DF F2 58 8E 1A 26 81 7D 7C 01 C9 F1 03 08 C1 B6 CD AE 81 76 92 20 16 4D 43 70 01 49 21 D0 D7 4E E9 43 83 C0 08 F2 E9 D6 8B 2B 6F 66 35 3A A0 7B 9E 56 ED 10 A5 DE BE 62 2B 2F 65 85 94 8A 67 7F 1F 1A FC 74 DA 16 E2 09 A5 1A F4 A2 15 F8 B5 F2 D0 6B D9 6C 6B 3F 73 79 F7 B7 5B 66 52 D8 0C B8 B5 84 36 17 97 81 45 E1 16 EE AB 0B 03 6F 13 86 D1 CF BD 6A D3 C5 43 14 E2 7B 0D 78 BD 2E 0E 43 EE C7 C1 5F B6 15 58 4F 97 1C 7D A3 3D CD 79 4E 96 B6 A2 B1 CA E4 78 91 4D 1C A4 58 FD 25 0E 6A 24 82 C4 B3 02 CB 77 B0 B1 50 67 88 FC 5E 22 25 E5 30 8E A0 9F 86 57 A1 3A 17 EA 4A B7 C0 AE 15 64 4D 7B 81 8E C5 3D FB 35 B8 D3 50 97 A6 90 4A 20 F3 3D 25 C2 6C D4 A9 70 2E 70 FE 17 82 D5 A0 A5 A7 76 54 F9 7F 6F 36 5B 49 B7 D8 B9 98 1A 3D F4 4A 21 AF A3 36 E5 03 BB 2E 0A 68 A4 03 67 E9 12 35 84 DE 0A FB 86 27 6D 6A 4D 50 AB 55 FA 86 9E 04 B4 5A 1C E2 A7 AD 2D 5E 73 74 DF 64 BB 8F 57 AD 57 D9 BC 3D 2F 13 9E 83 C8 9C C9 78 39 9D 22 6A 5F 9B C6 4B 06 88 8E 8D B9 4A B8 F3 52 6F 9A D3 91 81 D5 79 E6 BC 33 CE 17 C1 A7 A9 1C E8 CE 3A CE E7 6F 67 09 5B 68 99 34 27 B0 59 9C AA C2 39 1D 7B 6F FA 43 2F E6 26 8E 7A 93 0F E0 27 33 C4 D1 FD 79 1A 7E 40 0C AF C3 A9 84 DC 58 86 52 68 86 45 48 78 5A 23 A8 16 43 D9 A9 4B 4C 5B 8B F1 2B 39 D2 8F AB 10 11 64 D7 3A A4 D8 27 AF E5 05 1B 5F A4 A2 AE DE C5 F5 FD BE 48 2A 34 D4 1B B0 39 86 E5 C1 CD AA 6A 2E 24 B1 79 BD AE 1C FB 9B 74 39 DB EE 21 6E FE EB 3F 4C DE 44 BB 79 04 61 EB D3 35 A1 50 46 40 14 AC 83 D9 79 90 96 73 DA 66 B1 1A 4A 2A 49 65 B6 1C 8F 68 75 AF A5 2C 1C 21 34 A2 1E 20 69 D8 6B 3F C4 CD 98 24 EE C6 66 F1 A4 47 9B 2A 81 99 56 E5 53 EE 37 C3 A8 66 46 7F E0 0C CA F3 B9 1D 28 BB 3D FA 89 F5 3B 5A 62 60 3F 2A B9 48 CB 97 50 54 A7 EB D4 84 BE 4D A3 9F DB 76 69 41 7F 9A 8F 2A CE A6 E0 37 C9 D9 A3 AC 1D B3 0D D9 84 D7 EC 62 D2 E6 1A BC 6B B6 3F C9 ED 6B AC 5F FD 38 FF 36 A5 BB 35 99 81 89 AD 3F 81 FA 0E AF 25 23 C5 2A 33 06 DE 4F F4 7E 45 E8 4E 39 19 09 FF 69 9F 45 07 57 22 11 E8 0C A3 B8 21 84 00 54 61 D5 AC 73 4F CC 81 E8 7A ED 4E 33 3F 65 0F 66 CA C7 5A E9 D5 E3 06 85 A4 B0 26 5E 2C C5 86 E2 AC 49 6B 17 86 21 BE 1B 0B D3 C8 BF F5 79 91 DC FF DC 2E 91 31 8C 58 F9 8D 8B 69 D3 3F 0D 81 32 3B 30 40 7E AE 96 97 CC 8E F8 6E CD 5B 90 FC FB 16 AC 8A 13 5B 8C 1A 5C 2C 0A 3A FB E7 69 39 7C D6 D9 F0 DE C4 A0 EF 7E 94 32 A1 45 63 AE 8D E0 F2 90 F4 BB 91 FC 88 32 41 17 02 38 A8 10 8E B3 1D 84 03 BD A0 A9 58 AA 5B 23 80 B0 65 FD 71 2D 25 18 C2 C9 8D 4B 8B 9F 40 C2 D2 B7 6D 2D 67 9C BE AC 86 92 FE A7 87 84 12 57 31 7E 57 F1 AC 47 E8 E7 50 86 13 17 32 69 3C C4 C4 8A CD B5 4B CF F3 FA 63 54 BD 06 4E 0B 1C 6C 27 C7 0A 53 67 33 2D 58 E3 05 85 37 87 71 5E 50 E1 37 91 EC 2F 11 B6 B9 A7 54 9F F9 34 01 E6 1E C9 9F 91 C6 B5 D6 8B 7F F2 15 A4 7D 62 1B 19 AE 63 CC FE B0 6D 41 64 91 99 EF 3E 4B D6 7D 5D 8E 87 77 B5 7C ED 7C 1E DB 77 7A EB 72 79 74 48 8A D0 8B A6 06 2A 2B 30 2D 1F 88 9E B9 2E 90 CE 31 EB F2 D3 EC 5B B1 27 C8 03 F2 8C 76 14 D5 5F F8 F9 90 F0 BD 77 2A 21 E4 16 84 7C FC B9 51 15 9E 99 63 CB 67 11 E1 66 5B A3 F0 24 48 E6 DD A2 51 22 17 6A 31 D0 3A A8 71 55 85 01 17 31 55 8C 01 5F 1A DE 5B 59 55 DD AB A4 DE 2C 68 01 34 E5 DC AB 97 56 69 51 6E 2E C1 AE 69 0B FA A5 55 11 83 B9 42 C4 5B 15 B0 36 F5 F9 2A 36 03 8E 1C 0E 90 9A E5 31 59 58 8F EA CB DF 30 C9 86 D0 7E 30 7D 1C DC 53 22 85 CC DD 2F 95 51 C6 84 5C 03 F2 3C 50 2C 74 F2 90 98 F8 DC 15 F6 4C D5 3C 1C 70 AC 23 F3 33 5F 85 87 A9 AF 7F 4C AD 87 BE A8 6D B7 FB DF 78 BF 83 33 FA 9D 2D D1 77 6B DC CA E0 F1 7E A1 F3 DE 5F 84 45 B2 BA 37 79 99 2B A8 0E A3 43 9E 13 DD C0 8F 9D E1 D8 73 A4 40 2A C2 7B B2 8B 78 41 FF 39 36 45 25 C0 89 AB DD EC EA 93 D8 04 3B F6 D9 DC 5E 4D F7 3D 88 B7 8B 85 C9 EC F4 F9 AB 8F E1 DA 75 55 E9 8C 42 0A 26 25 76 3F DD E8 9C 69 79 31 D5 48 89 86 30 10 95 08 6F 04 1D EB 07 8E C0 D7 BE 13 32 46 2A E5 38 45 1C 0E 56 72 45 56 0B 4D 54 3F F9 A2 DE 23 F8 22 0C 11 FD 72 3D CE 1D 0D CB AA 7D 36 87 A2 00 66 68 20 7F 73 54 43 B4 74 4F F7 EB FD 28 F4 51 47 4D 4B 7A 47 81 25 CF CF EB 41 6F 48 DB 39 C3 2B E4 50 E2 70 9D 07 81 DE 65 48 39 B1 0C B3 34 5C 70 A5 B6 6D 78 90 68 AD 10 E7 AB F7 1D 9F 07 D0 35 55 D2 14 9D 58 53 B3 8A 81 55 DC 5E E6 8A 53 60 17 8B 04 44 7B A2 5C 26 D7 44 14 2D 04 48 C0 CB 13 A0 A4 4B B6 DD 7E 15 40 5E 26 9F AF C9 BF FC 3C F0 2B F7 B4 EF 69 9B 63 E6 94 47 7C 45 7D FD A8 8E 3E F8 1B D2 87 9F A8 1C 33 37 BC D5 EC 03 C9 85 47 24 96 AB E4 0B A2 2B 1D 60 EC 49 8C D7 35 18 2B 9F 09 55 93 41 55 D8 BE 6A 3C 23 B6 85 6B 2D A6 DF 15 0B B2 ED 4F 7F A9 93 41 24 0F 80 6B 22 F0 19 3F 03 C9 75 57 30 4A EE DD 46 F6 E2 0F E6 33 8E F0 EE 07 31 4B A4 A3 06 A1 29 81 B1 BC 13 7B 2E DC E4 A8 B7 64 B2 F1 25 67 06 DD 7A F0 C7 D2 FC 1C FD 34 96 A2 F3 3A 36 DE D4 7C 18 E3 9E 9D 22 4B 93 3D 36 23 4A F6 2C DE D3 FC 01 13 95 25 48 C1 AE 8E 23 E7 2F 47 85 5A 7C 0D FA C7 25 EA 4E FC 26 54 88 8E 37 31 08 A6 3E 90 98 AE 04 5C 91 A9 D2 5C 6C FD 63 A9 23 95 06 94 DC 0B D0 96 EB D2 03 CA D1 AD D5 C7 C8 D5 D1 69 AB 68 0C 51 E5 5C 3C DA FC 82 FD 7B C2 EA 29 DB 06 99 A7 41 B7 B1 20 88 81 E1 01 84 5D 30 FE 11 77 AD 7B 8A 5F 6D 34 8B BD 0B 3E A6 C2 4B 65 99 1D 88 4F DA D1 77 C1 EE 4B 3F D5 BE 79 2E 7C 9B D4 86 CD FF A1 43 87 80 9D 43 E4 1B C9 35 22 AF F8 37 DE 5D B6 84 73 66 2C 47 E3 62 3A E8 46 F0 EA 69 26 78 D8 4A DB C3 9F 55 E5 33 0D A8 CF 33 B4 E1 83 0D D6 2A 3C 99 69 BF 01 23 63 03 94 6D 29 B4 5C 54 BC 5C 7D 93 B7 2E E3 42 45 C9 D3 F7 18 CE C0 D9 F6 40 6B FD 3C 5A 2B 5C C5 D7 40 52 14 8A 45 03 03 95 16 C7 75 0F 85 5F 04 E7 AB FD 5A DE 50 C7 9F C6 57 95 47 87 A0 56 55 DC 68 5B 00 AA 95 39 20 F4 85 A4 A6 EE A7 D5 B7 CB 0C A7 83 43 9F FA 60 8F 03 81 A9 08 B0 6F FC 0F E0 1C 7E A4 8C 77 21 EF 01 72 31 76 AC 6A E3 7B 2D 20 D5 E6 8B 30 34 19 7B 55 82 1D 47 02 C3 9F 69 71 CD 9B CD 5D 94 44 45 E3 78 E2 97 65 8E A4 68 5E FE E5 1F 45 AF E5 05 82 EB 85 58 0B A2 44 FE E5 BD C3 D0 50 DA 4D 3D 89 8C 7B 45 8D EF 50 BE 47 69 0F 12 D6 30 77 AC 29 08 B8 18 3E ED 68 3C A4 AA 44 1E 56 92 A8 6B FA E5 89 09 E1 FA 28 B8 23 C8 DA 30 81 46 CF E1 2C 42 F2 92 42 65 F2 DC 4B 5A 7F 09 A5 FD E4 3F E0 A0 89 EE 75 8C 7F E2 DD FD E3 F6 BA 8A A6 B0 F0 19 2B 50 DD 28 32 8F 15 15 3B EB 84 6F 11 35 8C B4 84 12 65 0B CE B9 07 0C F5 8C 57 90 14 F0 FC 60 6B 75 61 19 46 56 76 A5 E4 90 A4 63 3A 2B 9D F7 6C B7 18 59 1E 91 3D 98 3F A4 ED 15 CF 5F 4E 4E 5C E1 F3 24 D5 73 03 33 3C D1 DE 5D 58 12 AE 1A 8B 8D D9 AA 4A 8B 9C 26 53 D7 86 54 A6 48 4F 03 CB 2B 16 6F CE 47 3C 28 BC 2C C7 B8 97 C8 73 5D AC 04 B8 0C 40 DF 84 0F 72 38 8E F9 C4 7D 37 D4 45 A5 2E 6E CC 19 CC 69 10 80 C7 45 72 98 8A DA 60 A7 9C 09 D0 13 ED 68 76 DA BC 1B E1 D1 E3 81 2E F6 EC 6B 1D B1 60 58 94 AD AC 3B 6B 42 0E 97 A6 E4 15 5D 08 8F 59 39 9A 6A BB 48 32 D8 CE C2 62 A8 BA FA E5 6C EF 8A 14 F5 52 7E 57 B9 58 93 07 F2 6F B5 A3 90 E1 23 A1 BE 47 E6 44 59 28 F8 C5 D9 30 2A E2 3F 9F 71 1D 2C 7B B6 3F 2B 2C 85 55 9B 13 E1 A2 05 32 31 F2 40 7B 53 46 88 45 88 50 E6 CE DF 5E 47 5C A5 76 5C 58 00 77 9E CB BA FB 8E 5A 38 57 EA 59 95 EA 14 56 C8 72 C9 6E 77 36 01 EC 8B 63 52 31 47 2E D6 2B 79 62 5D C0 98 84 E3 4F A1 D0 C5 6F 68 F6 80 B7 33 54 69 FB 5D 81 A1 96 92 A9 FE F8 7D 63 B3 EA FF A8 EC E4 CF AD F9 C4 F6 A4 87 9D F2 8C 5E C8 A6 8E 2B BE 8C 43 ED 75 45 83 DD 33 0B 17 7B 96 42 A3 7B 6D 99 37 43 8F 04 54 3D 35 F8 D7 D8 32 C8 4C E9 36 5B 81 54 2C 29 5D 9E 23 50 AF 29 DA ED 20 5D 06 AB 50 CE 9D E5 58 24 03 A9 73 13 EB 5A 03 2B FE 63 8F 59 14 E2 62 DC B0 F2 87 55 20 AC 1F B0 41 98 D5 91 5C 99 98 E8 E6 E4 FF 68 16 A2 37 75 EC 8C F0 A9 B0 59 47 1A ED 9C 46 ED 29 5D 90 B7 A7 D7 1C AB 48 5D E6 2A 40 08 34 6E 08 3E 26 6C 38 2B 02 43 4E 8C 6E B9 57 1F 1E A3 A7 02 9F 92 5B 35 B4 85 4E CB 42 9A 77 03 F2 A5 26 DE 29 2C C6 F3 D0 C1 B2 A6 48 14 2A FC D0 A7 EE 33 21 9F 27 C0 2B F1 07 50 A9 BD 54 9E 08 2D A4 FE A3 A2 D5 29 B5 03 09 49 63 D7 E8 C8 4C 3A 9A BF 3A A9 3A D4 C5 16 B5 0D FC 0C 3E 6F 12 CB ED 06 6D 41 2C 55 96 B3 7C BD 95 1F B9 56 F4 15 C9 07 6E 1F E6 21 23 C1 08 56 E1 71 08 08 EA CF BF DD 87 86 5A A1 0E 00 31 29 35 69 61 14 ED FF E3 CA 8F 37 24 15 FB 7B 7D 80 9E B6 AB 5C 77 BC 2E 17 2A 15 B7 8C 39 21 06 0A B0 97 63 00 C7 A5 38 AD 31 D4 51 EC FD 23 57 FC CB 49 A8 0E 01 F6 1A E7 36 7F CA 91 71 AC 2C 5A B1 CD 39 63 6E 32 39 4C 76 7D DC E6 1B 17 0A E0 71 53 8B C6 F0 63 39 AF 86 26 30 62 31 8E EC FE FD 35 CC A4 5C 32 C2 99 1F 58 22 4A 2F 07 A7 4B B4 06 AA 77 1C D8 38 73 01 2E D8 5C DA C6 23 03 65 CC 0F BF F3 F3 04 40 60 A1 1F F0 CE 22 DB 45 8F C8 49 68 C8 15 B2 B0 82 D9 C0 23 2F 86 2D 0C ED F0 9C 94 EA A6 6C 59 D1 CA 21 BF 73 72 08 BC 72 15 D3 23 EC F6 E3 2B 79 00 17 25 4A 41 C4 37 EE 24 6C F3 A8 04 16 05 83 33 C6 22 03 E1 7E 75 4C F7 18 DE 5A A2 42 76 3A 1F D4 6C D6 B4 93 D6 42 78 CA 27 42 0A 5B EC E7 B1 42 AC 96 A8 BD DC 4C B2 83 9C FD 26 AD F3 CE 76 FD 8D 76 54 3C 94 99 D1 80 4D 20 62 6F 02 ED 45 7A A3 20 62 11 F0 F3 BB 42 6F 2C 19 1E 84 93 28 30 8A BC D8 B1 3F A8 66 CB 1E DC 1F EE 28 F9 E4 70 26 EE 9F 67 8A BC 48 8D B5 27 98 48 9D EB 91 94 30 32 49 74 AB 2D 8B AF E7 DF 2C CA 3F 19 C4 FE 10 40 E7 3D FE D2 4F 5C F1 2E 45 6E 2F 92 A4 33 0B 71 48 94 FE 78 E3 22 08 21 0E 98 23 EB 5B 08 42 E0 A7 2D 0F 10 A7 D2 AB AB 56 8F 9A 2F 85 46 9A F5 78 3B 68 1D A2 50 3C F1 3C 8C D6 F1 DF 57 F2 4F E9 82 83 15 77 BB F8 11 36 7F 45 AD E6 17 F4 C0 DB 40 D9 64 37 2B E4 E8 C8 98 83 88 0C C1 B6 FA CF 2F B5 4C 20 6F F9 65 02 E6 6B 15 0A 59 AA 6D DB 1F AB A8 DC 84 24 3E 16 D9 1A 11 99 CE 8B FC EA 83 D7 FD 02 7E A0 4C B0 D3 E6 F4 68 CA 13 E7 79 17 D0 82 7F 96 CE FB E3 74 E8 BF 50 AD 4E 35 DA F4 67 64 2E BF 53 EC D9 7E E8 97 72 17 13 F9 35 14 74 73 89 49 7D 2A D7 B0 AA 0D E4 C4 21 2D 7F 4D A8 4A 4C 86 26 4D D3 3B 86 FB 49 D6 A5 D7 39 0E 78 49 F4 5F 20 51 BC 2C B4 D4 3A 7D 0A FC 27 40 EB 19 84 CF A0 99 40 E5 4A 38 5C 92 D6 04 FE 57 BA 38 23 65 B7 65 DE B9 58 1F A3 4B 02 5B 21 11 69 78 F9 EE 99 75 91 7C 48 61 43 98 16 4F DB CB 17 E2 8E EC D1 A8 4B 5C 03 15 C3 22 FB 2C AC 66 A9 68 E1 3E BB 55 9A FA 32 7C 3C 1B D4 76 41 6B 2C 8E 3D 40 20 00 96 A0 8F CB 77 04 21 8A 75 27 C6 6F 5F D5 AD E3 DB AB 97 85 16 EC D4 DD 53 20 D6 E4 22 35 B7 C5 17 E7 A7 0B 6F 0E 78 BF 7C BB B8 EE C1 FB 2F 4C 13 63 33 69 23 A1 88 18 8D D2 AF F0 AE D5 80 65 CF 8E 2D 02 E6 16 48 54 7F 63 45 A4 69 86 F5 EB 47 34 16 04 86 08 05 75 B1 00 84 A2 E6 C1 49 31 71 44 06 F1 28 25 42 D2 65 AC 2F F3 A5 74 2F DB 47 69 11 26 64 9F AE 9F 59 04 6A 28 32 97 A0 0A F9 9C 16 8A C2 36 72 BD 15 BC 9F DF 62 B4 F1 95 20 5F 23 7D D9 FC A4 6A 15 AB F8 03 9B 20 0C 09 71 51 0D 6E 1E 04 28 D5 8B 37 68 2A 40 12 DC A3 6A 6E A2 05 4E C9 0B 9D CF CF 29 B5 95 9F B6 81 A9 3E 8F 13 B6 D9 E2 4E 51 65 24 D5 1F 98 77 07 35 CE 40 C1 D8 0D 92 1A 61 99 A1 CC 2A D5 E8 16 03 88 E5 F6 03 59 F4 E1 17 EF AC FF 48 A5 80 EA B0 18 42 A9 D6 5E B2 C5 3D BC 6A BE 72 B4 A4 69 E0 10 1F 77 26 E6 12 66 98 CA 5D BA B0 FF 30 68 89 15 84 B8 54 8B D6 E1 E0 1F D4 96 E4 C8 78 59 54 AA DC 7A 8F 78 BE 8A E9 D5 DA 7A 1C 64 E9 F9 1B 8A C9 77 6D E3 C0 64 FE 85 20 87 45 38 29 78 06 FE A9 3E E5 F9 A6 30 E4 37 2F 6B 64 A9 86 5E 9E 7A B6 34 34 F8 CB B4 95 76 02 17 12 3D D7 C2 21 8E C2 B1 66 D8 DE A7 69 6E 62 E2 B3 71 A5 62 95 B5 B9 E7 A7 40 F8 73 00 5F 9A D2 66 A7 82 BF 52 72 4E 24 18 87 8B 8D 7B 1F 0E 57 F3 D5 43 42 33 AA 29 CA CE 7A E4 AB 7F 4C AB F4 E2 5C 40 2D A6 92 DF 72 D4 A2 62 53 97 FD B0 7E AB 53 D7 A9 B5 A3 DA AC 77 E5 E1 63 E1 FC BB 75 47 6E 6C 30 02 F7 93 B5 20 A5 78 3E 2A CC A0 A6 93 E4 C4 7F BF 04 76 A3 9B 21 22 70 2E 67 88 ED FF 5A 89 BF B2 EE AB F2 E9 A4 B6 93 F0 F6 CC 15 BD F1 9C FE E2 A0 CB FD 21 84 74 8B 6F 6D A1 19 C8 71 85 3A C6 40 F8 63 75 76 6A A4 04 A7 EC 07 BB 1C B4 8E 13 A9 98 87 68 AF 58 0E EF 14 B1 0F 21 32 75 0C AE 04 DD 9F F1 84 4A A0 88 A5 61 8A 45 6D E7 56 B7 61 40 58 8B F3 E2 EF CB C7 10 B6 6E 35 8C 62 5E 0B F8 6D 82 67 FB 02 16 7E EB 6D BC 13 AE 53 E5 1C ED FE 03 78 ED C5 C8 ED E1 03 9E 39 85 20 BC DE BD 4D 69 74 12 D5 E2 64 1C 08 77 1C 64 CC 8D 2F CB 88 5F 89 B9 85 05 3D E8 4F BC 8B 7F D2 7D 05 AF 3B 64 2D AE 04 38 0B 09 B8 C1 6E 2A 45 C1 B5 97 44 18 F1 A9 B5 BE 3D C5 71 F3 7E CC A6 4C CB BF 2D 59 FB 51 66 57 EA 8C 23 F9 70 76 FE BE 44 64 92 70 4B 1D AA 14 47 1C 60 B0 D1 65 47 DE 0E 32 61 D8 30 FB 0C CD B9 61 5C 63 2B 66 E7 61 5A 29 ED 9F 2C F1 19 58 6F E3 06 E3 E9 71 74 4E F9 32 26 88 2D 3E A4 8F DE FF 26 E0 67 4A 10 D8 49 BF F9 9F A3 F6 4B C6 D1 E3 AA 57 5E 8B CE 67 64 FE 50 EE E8 F6 92 C0 AA 53 7C C1 FF 24 1E 5B 25 52 D8 02 2F 20 65 BF 13 E6 57 06 9D FB BB 96 D4 1A B3 81 B1 FC 9D 0F 66 AB BC 35 A1 A6 DB E0 C2 3F 80 51 B9 9B 2C B1 14 61 B4 35 C5 99 39 3D 4B 79 7D 9A D0 B9 47 DB 88 CE C9 4B 66 47 AB AF 55 7E 6B DF 48 F1 7F 99 4F 01 38 AA F8 DC 64 8F 6C 11 1F DB 4E 25 83 06 9C 8C F5 0D F9 3E 3D 96 92 C1 E0 44 B4 C2 04 51 DB 4F EC 35 52 A4 75 58 9E AD 02 1F 7D 43 68 91 6C BF CB 90 A0 7D FD 14 E7 42 C3 41 8D FA D8 30 B2 0A C8 06 4F B2 03 AB 54 BB 95 C2 C3 1C 64 00 2F AE DB D4 47 49 73 2C 72 6D 28 62 24 3B 6C B4 5A 73 9A 9C 60 41 4B F9 26 4E 24 1D BD E9 BE B6 37 2D 45 B9 8E AD E4 DA D1 24 8C F1 8F 9C 1E 97 F4 31 80 AA 97 72 C2 92 DB 3A 6F D3 D8 A5 9B B8 ED 90 70 50 37 F7 D8 E7 DC 80 EF 01 DB 12 75 8F DB B6 AA E7 C5 52 8F E1 EB 13 0C FB 35 B6 F4 05 F1 6F C7 71 82 F7 0C D4 0C CE 3B 11 C5 26 F9 67 55 AB E5 CE D9 5F A7 37 42 D4 12 29 65 DD 66 7F 97 72 82 AF 94 FE 9F 58 87 B1 C6 0D D5 6F 10 09 EA 11 64 D0 D1 AF 54 7A B9 D6 F3 8D E6 DD 2A 80 0B 28 E3 39 A9 F7 5B E7 7B 65 0F 29 AD 65 4A AE D7 57 33 66 B7 E7 D7 71 EA 69 B1 B1 07 8C BA C4 EF 4B 9A 54 37 A7 79 EE 0F AA ED EC 80 6E 1F BE C4 AA 77 14 BA C5 85 67 DC 1C DC CE 4C 89 BF 1B 5C 3E 62 23 87 42 18 28 7A F7 AF E2 B7 8F 13 E8 0E 4F DE E0 9C 98 7F DF 0D 38 F3 58 A7 28 C4 A1 86 F3 A4 D0 94 CD E2 2C 66 5A 1C 38 B0 1E 60 61 77 8A B1 99 9B DC 0E 7C 10 67 56 71 99 61 94 EC 44 F7 23 10 4E 75 97 AB 0D 24 FA 52 E2 9E F0 01 84 62 F2 AE F7 D7 8D 52 01 27 FB 21 39 37 28 B7 2D 2E 25 9C 6C 94 27 D3 D0 83 1E B7 AE F9 90 CB F2 D5 4A A8 45 CF B8 5D D4 7A 16 F1 DA 10 73 74 67 34 2E 05 13 CD FB 06 42 BF 8A 28 7B CA 2F 90 8C 39 16 5D 10 99 50 01 74 8D 2D C1 43 01 CF 04 CC 77 3B 86 BB 23 8A C8 9F B6 4B 4A 55 E6 89 0A E0 0B 9F 04 45 3F 91 84 F3 8C 8A 5F C8 08 43 E8 69 77 FF E5 1A C3 8C 9E 09 F2 EC 13 B5 C9 01 C5 F2 E0 2C 69 8E 3A 6D 75 71 78 CC 4F 9D F6 28 B8 D0 E8 87 D1 D6 12 DC 91 CF F0 61 E7 18 EE 4C 8F FF 04 EE C9 19 E6 3F 0B 60 CD A3 47 78 B4 36 50 C5 AD 36 85 14 A5 CE 4C 01 C1 AC C3 0C BA B1 71 B2 16 11 D4 3D 01 FC 2F 61 2C 07 9C 81 29 46 52 76 4E AD 41 8A EC 93 4E FA 77 50 09 6C 49 EB 3D 5E 64 05 D2 72 CF 9C 0F 9C 40 4D 9B 8F 45 CF D6 46 5D F1 63 6D 00 FF 45 2D 17 FB 39 26 2C 54 89 71 85 9B 9A EA F0 E8 B6 39 62 48 03 21 1D 72 9D 04 77 DF D8 AE FB 51 84 D6 5B E8 38 66 B6 00 41 AC E5 C2 57 C5 FD DD 87 78 81 14 E8 11 E8 45 EE 14 6B 91 20 DD 29 65 85 89 60 91 34 71 18 99 F6 A2 40 B5 F8 42 96 DE 5C 5A 6D 52 B6 63 31 D2 56 D8 51 43 A3 8F 06 2E 45 60 95 D5 4E A3 5F C4 D6 84 76 3F 1E 0E 7E 35 D2 91 0D 75 6C 58 32 BA F3 8C A9 C3 4E 9A 86 D4 10 52 76 AE 66 36 A6 16 B0 21 51 A0 EF 05 24 69 DE 74 41 72 CA A7 A5 36 AD 1A 1C 0F D1 60 72 72 CA C2 22 94 17 D3 20 1E 1A BB AB 6E 31 08 EF A9 71 E6 86 16 1C 9C D1 9C 2B 55 C9 8E 20 5D 71 5E 5C D4 31 8E AA 40 4F D1 AE 1E 3D B6 DD C7 30 DB 02 1E CC DF 84 17 88 79 13 86 FD B5 0E 01 DF AE AA AB E5 01 17 81 AA FE 05 FE 98 37 07 A2 85 41 F9 F9 8E 1C 38 CB 6C 1F 9A 18 B3 42 CF D0 E4 4C 5B 4D 70 5B E8 6C 00 C8 77 14 89 51 9C 9E 0D 8D 5C 07 EF 99 D0 52 67 C4 71 ED 81 20 D4 FF 21 68 57 8D 93 A7 32 15 32 F6 D0 12 F5 08 57 F5 8A 99 77 3E 33 92 E7 B6 C4 44 64 CB 04 F4 C6 4B 99 B8 63 C3 EB 41 20 2B 5E 56 4D 86 B6 EF 13 76 09 DB 3D 03 20 4C A4 8B 87 BD F8 F9 1F 5E D9 76 64 6C 51 6D 82 A6 E8 48 A2 52 C3 D5 4C 60 70 B5 3D 8A F0 46 53 28 23 98 07 A8 5A 15 2B A1 3D 97 27 B0 62 D3 25 A1 14 90 2F 36 A5 B1 67 F9 41 43 4F CD A9 27 15 E3 07 6F 53 35 4F DF 92 53 EF 97 BD 8F 44 E9 E4 BF 4A C1 69 A6 E5 E7 A7 44 C4 56 5D 82 11 EE BA 73 54 8D A7 61 07 E8 F1 D0 9D D9 E7 89 8A 46 F9 B5 CC AD CA 2B 0F 63 B9 C0 A6 74 5E 04 0A B2 FD A5 AF 6D 0F 06 17 B1 E7 A7 55 57 A4 A2 43 03 16 07 19 CC D5 1D A7 C6 4E 74 8F E2 55 17 87 FC B0 40 B6 20 BB 89 C2 16 DA 47 DD DB FB 64 9B AE C2 2D 7B 9E C4 55 9C 96 68 DA CA C3 52 31 AA 63 6C B0 A1 FD 24 59 0F 77 54 02 7C 1B 3A ED C3 6E C3 0A 5C 24 BB 5D 0C D4 EE 4D F0 65 F2 21 B7 22 BD DA 24 70 90 96 08 45 A9 CE 22 68 B2 7D 20 35 C1 D7 CA A2 84 CC 68 5C 76 30 FD 34 EB 1E A9 9F A0 3A 88 0C 2F B1 78 C0 95 01 DB 75 89 0C 57 D1 D4 EC 08 0E F0 6E 89 18 4A 11 7F 8C C1 08 40 7D 52 86 F2 63 B5 1C DF 2F D5 A5 73 B3 70 28 F8 FB 14 A6 5D 6B DB E1 79 E4 5D 3D B1 D4 18 1E 35 AE E2 5F 91 31 16 45 BF 2B D9 29 7B FF A8 6A 46 71 A2 27 D7 1F 41 4C 74 EA A3 3E A6 71 77 F6 99 87 99 E4 11 F5 63 C5 D7 15 C7 AC E6 61 B1 80 A9 CD 62 B1 BA 21 3E 65 24 04 7C D0 A6 D5 C0 A6 0E 7C 1F 07 C8 09 23 9F 2B A2 6F 0E D2 C8 04 69 9A 03 BB E5 30 1C D8 0A B5 C4 D3 15 84 24 25 EA 6C A5 70 06 C8 1A 8C DB C4 A8 DC 93 21 07 1F 10 4B DC B6 AC 53 F3 D3 6C 7B CE 86 F8 82 90 30 E9 6C 40 43 45 41 07 9B 60 7B 96 C4 61 92 48 8A 39 93 69 57 A6 83 EC 67 9B BA 92 81 01 4E B8 3C 2D 6A 35 CE C8 55 8F 3E FD 78 D2 69 3C BA 25 4D 05 35 BB 9F F2 C8 11 83 55 2B 77 65 D7 37 4A 1D 6E F7 8D 47 9D C2 FC 7F 42 40 66 00 C8 2D A1 C6 48 65 A3 A6 7E A6 5D 4C 79 A2 A6 17 ED E8 39 AD 39 49 12 7B 39 E6 86 E5 84 ED 4B 25 08 B7 B9 CA 18 F0 9B 90 41 F2 71 03 C3 4E 0F 39 5A 17 33 06 FF EA A6 6C 69 E1 53 42 6A 99 A2 91 7C 81 D6 24 4D 36 48 AD C5 1B DF 8C 7A E9 6D 28 87 F2 65 02 DC AE 19 4F 87 A5 0E B0 D9 B9 97 DE B9 0B 29 1E 52 55 C2 FF 08 FF C3 CE B3 F8 BB 48 47 F0 B6 0A B7 65 41 C4 7C 0F D8 F3 4B 85 C8 21 45 F3 5C 75 5D 88 F3 46 C9 2A D2 82 67 73 A0 8C 09 48 24 80 D0 1C 54 82 E5 87 23 46 CF 7F 91 B2 66 72 59 A5 6B 44 F7 87 F4 A9 C2 26 ED D1 6D 21 EC B8 E2 6A 3E 29 4B C5 5B 3B 7B 18 66 84 E1 44 DA 64 48 80 A4 E8 32 A4 64 88 20 C0 34 C4 0E 27 AA AB 31 69 E4 D0 D7 74 58 96 92 89 51 3A AE E2 C0 D6 79 86 2C B0 67 D3 B2 59 09 61 11 70 3E 54 E3 7C E2 1B BC 82 65 F7 00 F2 24 83 AE 29 03 B7 BC 77 87 37 4F F2 9E 63 D1 7A AA B8 61 A1 CC FF E8 3F F3 DC 09 5F 9A FF F4 69 D4 C9 23 03 BE 2B 42 41 7D 9F 91 15 9F 63 37 44 44 64 2B B4 3A 76 BA 7D 9E AB 09 71 79 5B CC BD 28 70 42 24 6C 28 8F 81 9F 89 EA 7C A6 E7 7E A5 B9 CE 08 FF 5C 6F D6 1D CC 6A 7C AA 44 2F 19 4A E2 7A 8C F1 9C AA B2 CB D7 B1 B4 96 84 E5 34 23 C6 8D 1F 50 6A 39 07 90 22 37 A7 0B 8E DE 22 6D 94 22 43 DD 4A 8D D7 FF B7 19 91 4D 99 00 D3 31 25 A7 99 E7 02 23 E3 61 AB 00 43 23 5E 95 3B 13 09 D9 E4 C0 2D AB C1 FD 9E 76 89 E7 E2 B7 D2 75 DE 2F FD 7D 7B D2 F9 75 1A 04 5F 9B 6F DD A4 FF A0 7A AC CB 01 88 9D C7 6F 71 EE 30 D8 F9 AA B0 B0 11 D6 9B 92 E8 86 4C 6C F6 83 2F 12 FC C4 FF BA 15 00 76 2D 1F A3 B8 CA 4F 8D D3 1F 2B F9 08 4F 00 4B FE AD 9C 09 34 F5 E8 E2 E5 2A AB EA 43 7D 44 79 E4 5A 6A B0 5C B5 BF F9 31 87 00 A4 96 D4 6E 47 EF 71 56 87 19 15 5B 44 E1 94 A2 84 A7 F5 A0 66 9C 56 06 3D D4 B1 81 46 29 C5 8F 3E 70 FE 63 E4 A3 5E F5 CA D7 9E E2 92 DC 7A 09 49 08 00 92 C8 33 0E A2 52 BB 53 C7 7D 74 01 51 43 68 45 61 53 F1 78 D7 8D 19 6F 0E ED CD B9 70 94 F1 3F A7 73 B5 15 1A 78 49 CB AD D8 76 80 19 BF FD BC 16 E7 92 6C C0 55 C5 95 8E B2 90 70 DF 99 30 A5 93 EB 3C 27 28 72 6A D9 67 6C 3A B5 E5 9D E3 95 2F F9 F6 EC 3C A0 51 EE 02 34 DF 75 EF D3 41 D9 23 57 87 50 91 5A 29 C9 CE 8C 70 E6 18 5E 67 62 88 B6 06 CC 78 47 BE 21 A8 6F 1B C2 F5 15 7D EF B8 73 38 A5 A3 C1 7F 7F E3 40 CA 06 B5 6B D9 C5 D7 AE F6 19 D2 B0 C6 08 AA C1 55 35 05 E2 8D AE AE 01 31 8D D9 81 EB 27 FB BB 4F 4F F3 67 54 65 68 EE 83 FE 05 8C 35 F6 FF AF D1 15 66 92 7C 91 3C B1 27 41 9E 80 CD 8C 49 A2 E1 1E 6A 8C 87 E3 1D C2 EF C7 16 1E BE 57 13 00 C3 31 9E 8D 09 52 29 23 E3 CE AC BB 42 90 49 39 80 86 5F 99 03 B7 03 9E 13 28 59 D6 50 B9 BE E4 F7 1E C8 78 6D 9B 4D 3B 23 2E C9 B1 34 C4 6B 5B 60 64 2C A9 87 39 24 8D 2E 7F 99 6B 73 B8 C5 D9 9E 98 BE 99 72 56 3C EE 85 32 F4 B0 8D D5 93 D3 73 69 28 52 CD FA 03 13 0D 1B 94 9B 7C DF 47 0A 6A 43 5F DC FA 63 03 10 44 B9 33 4F B1 A9 1E 8E 4C 1E 82 19 93 A3 E5 48 E3 BC F6 A9 5D BE 5E 7A 05 CF 35 03 08 56 84 A8 8A 9C 1A 4A 06 C5 44 E9 4C 39 03 6B 79 52 BA 28 23 D0 19 80 3B A6 9F 4A F2 A7 02 BC F5 86 FC 42 01 FD 4B 25 31 E7 2B 3D 97 DF 78 5A C1 C0 10 C2 B9 C1 4A 3C 26 34 26 1D C1 D0 F8 D2 21 28 F2 2C 86 00 20 D0 82 05 BB 59 DF 47 20 E9 E4 96 7D C8 F6 15 55 E2 47 E6 09 58 25 48 2D 49 85 65 86 FD 9A 95 85 E0 95 34 BD 05 4E 1F B5 BB EF F3 9C 7B AA 4F 18 22 B1 5D B1 78 40 F5 A1 89 15 A1 8F 85 A5 4B F3 8A FD FF 81 6D 9C 82 F2 B5 C4 E0 37 9A 3D 2A 39 5B 66 35 DD F3 CD E7 D4 6A 4B C8 2B 26 7E 06 C3 57 3E 8B 4E 59 FA 50 62 52 50 74 5B 4C 89 1D EB 04 E7 88 43 F4 57 FC 71 E6 A9 B9 AF 7D 91 DC 79 30 D1 41 1E 30 67 CD 0C C4 20 2F 9A 14 A6 69 30 F8 15 5B C1 5C 0C 10 0F 34 8C 10 AF BD 7B EB AC 87 84 6F 19 CC 3F 1F B1 30 D5 55 00 8F 0F 75 11 FE 87 24 B5 63 3F 71 7D 8A 54 30 C3 75 FD 12 C5 3C 18 B8 28 FB 09 0E F9 CA 10 2E 99 98 16 DD 8F 92 99 F3 F7 21 90 FF 05 D3 93 D2 78 74 BC 21 AE 8A 2C B1 87 C0 41 83 C0 F2 1E E7 99 B6 45 B0 E2 9E 3C D0 0C 5C E1 18 E1 AA 79 00 E4 2E 86 E5 DA 3A 78 50 0F 5B E5 A1 66 77 8B 24 72 A2 30 5E CA CB 56 F1 62 06 3A BD 66 5A A8 FD BA 52 0A 94 87 91 E2 B6 91 B5 7B D3 80 89 F2 3F D2 17 C6 96 6B CF 58 76 00 47 47 3A 65 6B 3F 10 11 42 77 CE 4A B5 81 BE C1 FD 81 33 06 49 66 3D 44 DF 8B 42 AD 64 62 17 FD 2D AA 47 C6 71 C1 FF ED E5 37 FB 56 DA 79 3D AB 92 2A 03 CE 0B 66 4B 49 1A 70 F6 9A C9 85 F5 5F C2 92 B5 F1 2B D1 9E 73 82 FC 5E AC A1 B4 02 50 0F A5 A3 B9 19 5B 05 67 2A D6 3B 2A 0E E3 26 D1 1A 24 EB 3E B8 8B 9F 7E EF 58 9C 2F DB F5 82 93 1D B9 A4 FE DD A5 8E A4 C5 3F 56 53 BD B8 F9 44 FA 55 91 B0 D1 81 34 17 9A F2 29 6B 69 78 91 AB E4 50 14 E9 49 ED C3 B7 5C 02 69 19 8E AA 6D E1 14 7C C6 B6 6B DF AD 01 7A 7D 0D B3 2D 58 04 8C E1 EE B9 CE 7D 02 4F 94 72 6B 88 39 ED F6 3F 81 29 91 55 1A 5E D9 D6 D4 70 F1 75 40 D7 D3 68 41 D3 06 29 19 BC 92 C5 42 0D F9 26 6A C2 0C AD 43 27 46 58 EC 92 90 9E EC FA CA 25 E9 8D 26 29 90 16 60 7E 40 48 54 2A 08 91 73 96 06 F4 8C 9F D2 D0 20 9C 57 44 9F C6 54 81 90 81 2E A7 0A 4C 68 35 0E 93 9D 70 9D 8A 58 67 41 EB E4 3D 4D C9 A9 6C 5F 36 7E 8E AD EA 4B 85 83 35 1B 81 20 DE 93 CC 11 9D 37 92 23 23 43 69 2E 21 03 1C 50 70 ED 4F BE D0 41 3E 17 3A 52 56 0F C6 B7 E8 1C DF 0D 29 9F C8 30 1B 70 18 C1 0C F8 2F D0 62 77 A2 BF 0F BF C7 C8 7E 2A DA 68 BB 63 7F 0E B7 74 92 26 34 42 7C F9 23 8F F9 77 F3 19 02 B3 95 30 A3 5C 83 12 1E 95 DD 0C D8 A3 73 DB 32 56 C8 06 93 0F 91 6C F0 04 60 0F 6C A5 8F 35 A8 B0 E5 F6 BF 6E EA 17 1B 43 C8 24 90 9B 0F FF 53 F6 3C 39 6E 61 DE E9 EC DE 15 E2 C0 59 A1 1E D2 D3 71 51 D6 9D C1 00 11 81 66 DF 51 67 71 56 B5 06 1C 18 F8 1F 2A E7 64 32 11 3B 66 25 DA DB 10 7D 6B D6 3C 39 56 A9 EA FE 19 87 35 E3 35 FA 95 1A A3 F0 97 AE F3 9D D7 09 80 A2 42 DE 0F 2A A0 EE A6 9D EB D5 C2 17 E0 A5 DD 1A 6C 2F 72 41 B5 06 1C 18 10 BF F2 50 BB 22 55 35 5E 91 43 E0 87 66 66 3F) */; + + static _003CModule_003E() + { + _206B_200D_206D_200F_202E_202A_202E_206A_202D_202A_206B_206A_202B_202D_202E_202E_200E_200C_202C_202D_202D_202E_206C_202D_200D_206B_206C_202B_202E_200E_202D_200C_200E_202B_200F_200E_200D_200D_206A_206A_202E(); + } + + internal static byte[] _206B_200B_202A_200D_200E_200F_202A_202E_202C_200B_200C_202A_200D_200E_202C_202C_206F_206E_206F_202A_200E_202B_202B_206F_200F_206F_200E_202D_200D_206B_206A_206A_202A_202E_206E_206A_202B_206C_200C_200F_202E(byte[] data) + { + MemoryStream memoryStream = new MemoryStream(data); + _206F_206A_202A_200E_200D_202C_200B_206A_202D_206E_202E_200C_202D_202E_200E_202D_200D_200D_206E_200B_206A_202D_206B_206F_200F_206F_202B_206D_206A_206D_202C_202B_200D_202D_200E_206A_202A_206C_202D_206C_202E obj = new _206F_206A_202A_200E_200D_202C_200B_206A_202D_206E_202E_200C_202D_202E_200E_202D_200D_200D_206E_200B_206A_202D_206B_206F_200F_206F_202B_206D_206A_206D_202C_202B_200D_202D_200E_206A_202A_206C_202D_206C_202E(); + byte[] array = new byte[5]; + int num = 0; + while (num < 5) + { + int num2 = num; + int offset = num; + int num3 = num; + int num4 = 5; + num = num2 + memoryStream.Read(array, offset, ~(~num4 + num3)); + } + obj._206F_206A_200D_200B_200D_202B_200B_202A_206A_206B_200F_202C_206D_200E_202E_202B_202D_202B_202E_206F_202E_200F_202B_206A_202C_200C_206A_200C_206E_202E_202B_206C_200B_202C_200F_202C_202E_206F_200D_202B_202E(array); + num = 0; + while (num < 4) + { + int num5 = num; + int offset2 = num; + int num3 = num; + int num4 = 4; + num = num5 + memoryStream.Read(array, offset2, ~(~num4 + num3)); + } + if (!BitConverter.IsLittleEndian) + { + Array.Reverse((Array)array, 0, 4); + } + int num6 = BitConverter.ToInt32(array, 0); + byte[] array2 = new byte[num6]; + MemoryStream outStream = new MemoryStream(array2, writable: true); + long inSize = memoryStream.Length - 5 - 4; + obj._206B_200E_200D_206E_202B_200D_206A_206F_206C_206A_200C_202D_202A_202D_206B_206C_200B_206A_202A_200F_206A_200B_202A_206F_200F_202B_202A_202C_206E_202D_202B_202A_206A_202B_206D_206D_200E_200F_206C_202C_202E(memoryStream, outStream, inSize, num6); + return array2; + } + + internal static void _206B_200D_206D_200F_202E_202A_202E_206A_202D_202A_206B_206A_202B_202D_202E_202E_200E_200C_202C_202D_202D_202E_206C_202D_200D_206B_206C_202B_202E_200E_202D_200C_200E_202B_200F_200E_200D_200D_206A_206A_202E() + { + uint num = 18080u; + uint[] array = new uint[18080] + { + 899724047u, 3009039988u, 359914867u, 826282667u, 1348381645u, 2703903917u, 986007978u, 1339860967u, 1309572003u, 2150385016u, + 2412368744u, 923658747u, 2710866882u, 1008837056u, 3229180339u, 1206804974u, 2380970908u, 3153975198u, 755137812u, 826228766u, + 3783529216u, 486699230u, 1537296953u, 511934225u, 3064063598u, 1270764240u, 3120730804u, 3144342436u, 3710727492u, 2170772488u, + 149533275u, 4218986859u, 1382309555u, 2290227744u, 1479976309u, 2882205253u, 2568795038u, 1111351730u, 1361761105u, 1869965018u, + 3466602637u, 4192031407u, 2678591027u, 4082920642u, 2949610487u, 3304205933u, 2285851701u, 2629365123u, 206953516u, 177137004u, + 382582216u, 2653542455u, 4070467847u, 2461311478u, 737015366u, 3605673688u, 669260464u, 4052157953u, 3034151478u, 3983475862u, + 3298461668u, 120490794u, 2243557242u, 3970241819u, 2759122894u, 1601260252u, 770261178u, 1863416601u, 1908124022u, 1009156939u, + 2810046414u, 4053515095u, 3582355437u, 2983501719u, 3183343387u, 2431605506u, 4044567238u, 609580000u, 3054744363u, 906657704u, + 718366695u, 1938002787u, 1378926094u, 3341879645u, 264645407u, 791453807u, 4222734455u, 4224025154u, 4013774803u, 253198662u, + 1144348866u, 968691407u, 3546973756u, 1573548064u, 4203257882u, 3260450635u, 789062628u, 2956671342u, 901215997u, 673541894u, + 3951203583u, 4231674847u, 63334865u, 105638544u, 1491543296u, 2607659998u, 1028756460u, 3978722045u, 3548707791u, 1257192715u, + 715759394u, 1031268006u, 740222906u, 4018115242u, 2637068326u, 3936610558u, 1352870118u, 3879280901u, 3106339231u, 4046439478u, + 477198222u, 65969040u, 2870095809u, 1138958897u, 1444098003u, 728605095u, 166281791u, 2869517952u, 1051660586u, 3215656340u, + 3682509651u, 593263085u, 3930549533u, 2554980115u, 2295802884u, 178163411u, 972941569u, 3661338471u, 1702437249u, 1724200502u, + 3646368948u, 588967020u, 1821199063u, 857877895u, 3869802487u, 2894333821u, 870841592u, 1330986417u, 828622910u, 194872469u, + 1914992532u, 2704269856u, 1623620326u, 2455718039u, 3906995811u, 1645896342u, 2059047658u, 2504862103u, 397573557u, 2696495845u, + 814384834u, 28179346u, 1071150549u, 3276059956u, 1856882971u, 3681156979u, 3387674304u, 1781601463u, 143023355u, 1777764180u, + 173021030u, 2166491828u, 3018513053u, 3887090694u, 3283460470u, 290941181u, 4048231164u, 3661124573u, 1977861591u, 3684910264u, + 1965113925u, 4241265760u, 1088047839u, 3224702285u, 1988850481u, 1915693001u, 1874652365u, 3628665807u, 1856458507u, 8862193u, + 2831450532u, 3727568393u, 3712928576u, 3124845325u, 4244276478u, 991486093u, 2817750628u, 243138547u, 314056080u, 2795928877u, + 2558642313u, 1695862068u, 2559488322u, 1519700715u, 3123382663u, 1669547179u, 3040098349u, 237445598u, 1103997142u, 1741955266u, + 2652665926u, 73234381u, 2610302139u, 3579755769u, 4213889068u, 3638939763u, 1596426521u, 4190311472u, 1026789106u, 963416177u, + 446403767u, 4033111803u, 2444925428u, 2790110054u, 1890871989u, 3179809427u, 1583421421u, 899192636u, 3337556051u, 808343026u, + 3865131396u, 772115156u, 2020781842u, 3648104892u, 3481666103u, 425242268u, 3966103214u, 1726033156u, 39796240u, 2929101998u, + 3663794145u, 3232698852u, 3954661219u, 3237975858u, 2655492043u, 3734438545u, 1489767607u, 3615574261u, 444426112u, 220800126u, + 319107096u, 3891426318u, 1403873990u, 3678537240u, 2469663067u, 3038261666u, 3872717740u, 755582420u, 1096549082u, 534392268u, + 2160433062u, 3868554315u, 661703924u, 3301735178u, 1267912937u, 3253534727u, 2677434964u, 4192975471u, 1735905779u, 324905998u, + 98352808u, 4189340851u, 3602215487u, 1959766068u, 866452742u, 2131069630u, 2069520084u, 3337065731u, 1353999472u, 771356756u, + 2204685177u, 2013999808u, 3810909876u, 3829850226u, 2223867923u, 555984766u, 1997393223u, 480221165u, 2024067396u, 1440576961u, + 2556530314u, 1127028165u, 3222498773u, 2273144519u, 1118766878u, 925865175u, 642365722u, 4052181598u, 1481275916u, 841061559u, + 513056444u, 4188915121u, 2490134653u, 1845386441u, 1407409558u, 3314288624u, 2585012711u, 1069235946u, 3676170721u, 3031209490u, + 3246017809u, 2201270510u, 3392894731u, 3243826493u, 1748983379u, 1284329859u, 4270961940u, 601643858u, 3044175410u, 4089527366u, + 285359276u, 4281998265u, 2846117449u, 924715576u, 2951037656u, 1689892401u, 3675782109u, 3557810780u, 2161441069u, 1894671140u, + 1537629499u, 1660517629u, 22162598u, 1994247615u, 2390958944u, 508451357u, 2685362781u, 2656376087u, 3056740093u, 3493546770u, + 2935956290u, 1093379879u, 2813733662u, 2472840588u, 2794328555u, 3926034441u, 3611610749u, 2904791113u, 2537736011u, 1708481357u, + 3894841863u, 2389645388u, 2890146427u, 3155329480u, 3428672448u, 1744888822u, 3405757571u, 162080797u, 1858336666u, 1529093207u, + 1113604636u, 1455491814u, 212399167u, 1544439034u, 2168421694u, 3330498829u, 1034776801u, 634214104u, 3801715135u, 3504791465u, + 376880290u, 956939711u, 675654150u, 2337650665u, 658171536u, 3566746285u, 2581107764u, 2704827020u, 1729764665u, 3081754716u, + 1818705805u, 2575346880u, 3920471118u, 3642329131u, 3851082769u, 1800859176u, 746139261u, 923741910u, 23793209u, 3254381954u, + 3881752238u, 1466079280u, 1409678955u, 1055127638u, 1161955931u, 2941268033u, 2146556971u, 1185873385u, 1672500621u, 1989930260u, + 1014152152u, 940031240u, 1160144750u, 2341738523u, 52508417u, 619349236u, 305164864u, 4207758498u, 3442256941u, 1379051021u, + 1819886u, 3429483282u, 2603100281u, 4065969403u, 2027974764u, 1566767150u, 814086803u, 544904152u, 3169444855u, 1567239872u, + 2752101665u, 4142976298u, 2747685201u, 1539146441u, 4052779518u, 507900153u, 30590118u, 2946410264u, 2779045973u, 3963856808u, + 4075871071u, 2451592629u, 3413104556u, 4284619144u, 1712918512u, 872855354u, 764940657u, 3882680447u, 2731896243u, 1542852155u, + 3006336170u, 345110770u, 2504234378u, 1789461883u, 3545026807u, 2420802908u, 4203723105u, 742026513u, 62404587u, 2170426593u, + 4133082407u, 2590608299u, 362399160u, 553637228u, 3914369038u, 2790139964u, 3128353782u, 4083188553u, 2806386629u, 2979338140u, + 2124931844u, 3294822010u, 2982797836u, 1184190763u, 3169619580u, 2681403220u, 3687057222u, 2791393568u, 1344132136u, 2650317477u, + 1294902931u, 2160664512u, 3788828021u, 742752612u, 3539501186u, 2107594303u, 3402536341u, 376757438u, 3199902015u, 2566357860u, + 3999661235u, 3622062196u, 4121040826u, 3796464388u, 1243602823u, 728205689u, 4229031073u, 1276834122u, 139208432u, 1082028773u, + 2242331320u, 3315192892u, 3130936849u, 697866949u, 2264861018u, 2240236023u, 3549397920u, 2449251567u, 68250200u, 2014730889u, + 1604506048u, 3700609036u, 130513909u, 3202694230u, 1735534070u, 219797467u, 2007481288u, 2828936080u, 1096369653u, 3239296755u, + 3379829462u, 3665760470u, 873271421u, 547996045u, 1380304552u, 739222238u, 143717105u, 705601373u, 153380409u, 1391873956u, + 2406176118u, 1509167366u, 1108552117u, 359759008u, 3087903397u, 4212745450u, 1625095208u, 2807570238u, 1304343687u, 634845517u, + 904198526u, 4021222498u, 1007113606u, 1766847047u, 1242716316u, 2382435280u, 1973726016u, 3714292502u, 2371228476u, 3574711048u, + 2749550868u, 3116363140u, 546517209u, 2895288525u, 2181284406u, 1812541239u, 3743210642u, 1617476061u, 1301669440u, 1029852565u, + 3250407934u, 1721436202u, 3325389434u, 3206510976u, 559107790u, 685888687u, 1955905354u, 686691322u, 578795569u, 323013287u, + 370482495u, 4010250322u, 2392195566u, 2614141196u, 2427965081u, 4263283953u, 928198020u, 527974345u, 4197782781u, 4132890756u, + 162174872u, 1618075837u, 4073126347u, 1814450900u, 1987934591u, 2375152437u, 3114351509u, 349373906u, 425870164u, 448177921u, + 2056921754u, 948342586u, 2920932856u, 3966503391u, 3284476472u, 125698116u, 452393717u, 1964489677u, 1108249904u, 1650763661u, + 3845649307u, 2762966783u, 2956392565u, 2234105639u, 639285811u, 242357744u, 2315303676u, 3800265844u, 1180715705u, 92188744u, + 2262594285u, 3299902556u, 2921320811u, 4147437683u, 879341016u, 2915515530u, 4022642834u, 1845692098u, 1730102507u, 806098223u, + 2344503123u, 3862200350u, 3553542078u, 1437827413u, 156830671u, 1814709935u, 4202598012u, 3138117299u, 2087554886u, 1296155198u, + 2811020904u, 304746121u, 2852363437u, 4005491361u, 3468586809u, 30031343u, 4147069849u, 3680197038u, 1250389905u, 3190040840u, + 2313159751u, 1577230018u, 3443976268u, 893233614u, 1750265687u, 2792319843u, 3706461628u, 2874661376u, 3586451241u, 3084213372u, + 1707024361u, 4185336634u, 1581162612u, 1486879151u, 3111111106u, 3350984382u, 1874921880u, 468468417u, 2294918911u, 364873793u, + 2402047175u, 966971463u, 490323203u, 2300321636u, 3847257576u, 1791619337u, 3764870621u, 1629577784u, 3968392656u, 1011589321u, + 1046511644u, 281898581u, 3274742305u, 3483051343u, 1907173106u, 1746301650u, 865677081u, 3538973386u, 1693372945u, 2785748575u, + 3030182161u, 3862350821u, 348230071u, 4125173442u, 4260200446u, 3923197283u, 698904312u, 1756883061u, 1851860553u, 2366378928u, + 946601035u, 3912669655u, 149727096u, 2522261533u, 3373019270u, 3684271552u, 39478255u, 2073851905u, 1975423080u, 4192512788u, + 3127339451u, 1384088303u, 647896009u, 1982324783u, 3189532949u, 2657765541u, 162569119u, 790668679u, 3069190703u, 982642620u, + 1349058392u, 1603244260u, 2346159015u, 4083549987u, 2507306968u, 3266469266u, 2455856490u, 1761729258u, 705701760u, 755453993u, + 362238445u, 1155266146u, 3722350809u, 2765311790u, 2748302808u, 1687591336u, 1395577123u, 4103107316u, 2604367729u, 2524762557u, + 2644980668u, 592384345u, 2325764227u, 3955688472u, 1907137163u, 3218266411u, 3808020467u, 2196963402u, 1400182161u, 2537364517u, + 4198246960u, 2355715382u, 111793283u, 3967039874u, 1007089591u, 846702942u, 1414870098u, 3667779046u, 2056456989u, 3931685248u, + 209832612u, 2186795092u, 380363010u, 145799728u, 3703420834u, 2158100766u, 1442864347u, 3334397729u, 4089603790u, 2641975239u, + 23057031u, 1523341995u, 754927458u, 1986728672u, 1133507350u, 4005164136u, 3279565823u, 3321033084u, 2311687286u, 521560628u, + 1509047860u, 1535082870u, 1637897049u, 263967553u, 1531581073u, 3819520922u, 3277212498u, 2107171695u, 1879124557u, 3125665618u, + 274153338u, 1340726519u, 4192297258u, 1192572483u, 3640084145u, 3568933048u, 728869727u, 3966269680u, 977080518u, 3689344101u, + 965487492u, 1538178417u, 2892670807u, 2837527630u, 1865202326u, 1900314576u, 3498304398u, 637217495u, 368251667u, 3273052386u, + 3463803681u, 580656109u, 3556998994u, 218587220u, 4147946505u, 3423909690u, 2757224685u, 4108139279u, 396958938u, 2477300469u, + 3066938123u, 1949214099u, 222641470u, 2936108382u, 2108860178u, 1954595938u, 968933022u, 2494561545u, 430487059u, 3653105453u, + 3554918011u, 75312243u, 259561755u, 615855686u, 3254045108u, 647764342u, 3910221380u, 1069855356u, 3859260922u, 3626869683u, + 1773762943u, 3548258739u, 756354234u, 2966327055u, 3739887859u, 90493308u, 1513904896u, 3775839838u, 71194613u, 399442711u, + 4210190161u, 1643838449u, 3832745513u, 2580442561u, 689631191u, 4102205022u, 1020065203u, 3858059150u, 177454974u, 1775761914u, + 273354017u, 3136447623u, 3196642102u, 1943696421u, 699765525u, 826783501u, 1825232387u, 967476202u, 1078199279u, 4243262565u, + 4067154006u, 4280954567u, 4202721535u, 2365925898u, 1911255029u, 1170632576u, 4259273440u, 3306777984u, 2198679802u, 2929126426u, + 1533747119u, 3030346330u, 3202295376u, 3650858565u, 2537017260u, 3626569396u, 3054241397u, 1968758702u, 3074350848u, 2572843769u, + 2790730599u, 2087173625u, 1863302294u, 574085451u, 1447407806u, 2367140403u, 1211380391u, 3296637017u, 2584119802u, 2586516899u, + 3849829818u, 1716019647u, 4172310728u, 3275924167u, 4266734323u, 3113310238u, 1211537827u, 3901843531u, 1334553970u, 3520233314u, + 237626442u, 4164538101u, 219610632u, 2733235686u, 3218717075u, 1859235579u, 3516697840u, 3130023262u, 4108282820u, 105553236u, + 2319592968u, 234473213u, 2260225384u, 2672640172u, 1877607983u, 2602610501u, 92745543u, 4010059522u, 4085598514u, 4288089836u, + 2682763228u, 1753857192u, 2192596836u, 3559687024u, 1024474970u, 3750055830u, 1759112897u, 797406567u, 472372772u, 3130467027u, + 3659533785u, 3709891951u, 4022970520u, 3309378968u, 1051479266u, 3410772960u, 890515976u, 1043918315u, 3668944938u, 2511322610u, + 325416707u, 2069116191u, 1143773373u, 1551385289u, 2361308481u, 4172314665u, 1845584794u, 349811262u, 1673918474u, 2369396355u, + 39840267u, 339712276u, 78020516u, 2914621907u, 3242972302u, 1462694263u, 3100985204u, 3998856047u, 700315924u, 1317383301u, + 2033591060u, 1945984886u, 1987626769u, 415438877u, 3296615329u, 641151374u, 3097903237u, 2776707216u, 2787653504u, 3706049254u, + 2449484079u, 4099411933u, 3684072877u, 3665121231u, 2569232178u, 3680793676u, 329047404u, 2283755648u, 3036088445u, 556735697u, + 773043766u, 2581064716u, 77306224u, 2627563268u, 2495492051u, 923984291u, 3039521867u, 2175196924u, 2668357809u, 3517611464u, + 334274332u, 786919213u, 2511828197u, 2030797356u, 885587188u, 3337674839u, 1439790644u, 1676795592u, 2673681640u, 852498759u, + 1422098651u, 694202418u, 4286068045u, 407315695u, 2986928369u, 1568463306u, 483027605u, 2160529471u, 3708410078u, 3506446663u, + 1424320584u, 2581107444u, 3854259111u, 1425371069u, 2713494792u, 423499275u, 4087384952u, 3903320929u, 961077032u, 3845564928u, + 147944709u, 2987768070u, 600703600u, 1903345487u, 2956205005u, 3885056360u, 3934669043u, 3459953444u, 3845390674u, 2033016074u, + 82376471u, 171612804u, 1803054692u, 556232224u, 4096924295u, 3677909914u, 2136842515u, 615248018u, 118896365u, 3663474466u, + 2169578568u, 1495061281u, 1707891374u, 3427286873u, 149221324u, 3306739203u, 982958983u, 2097417180u, 2130645711u, 1518091205u, + 4230881585u, 1957446700u, 2288432464u, 1030058008u, 1076509223u, 4096705022u, 2921921407u, 3747913145u, 4227607663u, 2430432613u, + 2646641760u, 3766595593u, 3970572827u, 1961357554u, 35311767u, 3766284569u, 2635004031u, 4105796852u, 3179585111u, 1336527212u, + 3130444101u, 931810526u, 1493107134u, 1520894146u, 1704402602u, 2120129891u, 3139536707u, 2742499553u, 2546740883u, 2028746860u, + 1903423371u, 2645739184u, 1213317640u, 3426151744u, 1692358417u, 4175188430u, 1587132662u, 3694032858u, 775169861u, 691761112u, + 539858001u, 1416810239u, 2646941660u, 4171331878u, 679587517u, 1893551796u, 872897951u, 2469542996u, 2805602244u, 4272128126u, + 789146199u, 2553267948u, 3446806460u, 1114608877u, 3542831952u, 1923279154u, 2426378310u, 1165177216u, 2365356170u, 2988262487u, + 2905182171u, 3729973714u, 1943452720u, 1218877661u, 3951645444u, 2057091070u, 643770264u, 2639511968u, 349566610u, 724248553u, + 3552151048u, 2334612562u, 3134934627u, 463050866u, 1245531942u, 2700301448u, 3226328562u, 295400553u, 470731657u, 4068224470u, + 3803836397u, 1046728420u, 2326548126u, 4147399014u, 916650558u, 3778841796u, 2996514694u, 1048729828u, 3832728049u, 623258577u, + 316825820u, 1476856908u, 2359151132u, 1299304425u, 2151041518u, 1212040273u, 3879184630u, 3001998570u, 691964759u, 2877677732u, + 2102754038u, 882884527u, 919113304u, 3151469087u, 746177219u, 3388010111u, 1702535236u, 1789261438u, 622590993u, 2249346510u, + 3301931754u, 3333823865u, 2457306345u, 1128161598u, 3549031071u, 2619988279u, 586235132u, 2021316912u, 3102088485u, 2976127319u, + 3560699121u, 1777867435u, 1841621439u, 1140560672u, 450170781u, 2593751235u, 2800894526u, 3312267512u, 3259059281u, 954516894u, + 1810601714u, 2863110905u, 4269148646u, 1140545976u, 1399866634u, 2490263586u, 3181849264u, 3484807401u, 2307865275u, 2049166477u, + 2975187857u, 2681649729u, 2187296847u, 195779352u, 2304522915u, 2840856562u, 3092295224u, 3104889002u, 87232440u, 2142771220u, + 3106306734u, 4241854644u, 2384143388u, 3008582340u, 482359049u, 1557625571u, 2199143508u, 2034365640u, 3284629601u, 3203799924u, + 762138689u, 2547467581u, 210881897u, 2212437238u, 1806116725u, 1691512870u, 150446404u, 764822209u, 2254522013u, 1633845940u, + 3195005437u, 3797391379u, 3275114454u, 1075165105u, 1992243041u, 3333815985u, 3210358878u, 3694849168u, 1197432188u, 1393696544u, + 1052129646u, 2276037573u, 66627402u, 3658688343u, 442966467u, 932980870u, 1641807219u, 777276073u, 2942260961u, 2904625716u, + 2911944181u, 580919827u, 3165761830u, 556811570u, 1499613394u, 3079785898u, 378973587u, 2784065924u, 3580356126u, 540032248u, + 915394531u, 1506979612u, 4253895876u, 4126161875u, 3776682610u, 2006156254u, 201933121u, 4280838328u, 2638680139u, 3868910428u, + 3217628728u, 1070742114u, 3799911891u, 519204460u, 937322844u, 2739610865u, 77695470u, 387973016u, 1697514035u, 3742390422u, + 3744115357u, 2045619978u, 1879327051u, 4175785645u, 230802391u, 894335705u, 204052367u, 2848523345u, 852270081u, 2919690270u, + 1675963438u, 3893528739u, 913048067u, 2814096482u, 4078042944u, 117429226u, 2093616350u, 2652530380u, 2786585667u, 1507819264u, + 787469891u, 914203193u, 1020785422u, 4118819180u, 2522296955u, 1921025951u, 2411134801u, 2752660732u, 232440572u, 3452472500u, + 223697785u, 110315799u, 455082091u, 2518308113u, 4073672897u, 1556438691u, 31871887u, 1927226915u, 3088522920u, 3022235187u, + 2753502024u, 3203579634u, 2242994985u, 32366335u, 1963374082u, 859817219u, 4055206371u, 146102756u, 1575016472u, 4029613432u, + 3155371152u, 436882195u, 3402204922u, 2312499271u, 68975082u, 2844393692u, 846256158u, 2276888096u, 2837536150u, 2947268143u, + 809104214u, 3997259361u, 3663256035u, 2024083912u, 3573835112u, 4059344066u, 1677111645u, 512955188u, 1696368138u, 754952834u, + 88924909u, 1633019902u, 3348031594u, 777503521u, 1935137360u, 1605764502u, 3886993540u, 4103358895u, 3058027291u, 2505953113u, + 1556807973u, 3604833214u, 1402474362u, 3686614399u, 3967799171u, 1903938939u, 2020144337u, 3768428884u, 2644264407u, 1624092569u, + 1887308736u, 683282667u, 2437042758u, 207300906u, 408371466u, 1362710002u, 1605585419u, 3657095333u, 173705843u, 3553269448u, + 1854482668u, 2936370165u, 852036436u, 3015973495u, 1219327003u, 1872185972u, 1040699790u, 3831341768u, 3190825708u, 3838355453u, + 1882591410u, 1824288086u, 1352286719u, 1304204110u, 1782052014u, 317537814u, 1666282428u, 1900750597u, 4273913470u, 644695455u, + 1331882100u, 3430789201u, 4208328942u, 2778474179u, 9561750u, 2865456871u, 2144352468u, 392975116u, 1031235158u, 1877184252u, + 1305124648u, 1947196123u, 4019493692u, 3154027399u, 2495922737u, 1075778899u, 3915020049u, 2780994037u, 3281864708u, 3053117533u, + 3209647690u, 2021580331u, 2582110512u, 4233141021u, 4053374084u, 342975475u, 154225303u, 3925763800u, 3270954257u, 3901924132u, + 3066773498u, 1447090268u, 3863169859u, 4189583014u, 3624748904u, 3498654754u, 2915106864u, 1000423865u, 611086915u, 2337752036u, + 993415297u, 3445814170u, 897445748u, 1857517195u, 762099728u, 2165658529u, 3374435260u, 2621053575u, 1940332925u, 2984242012u, + 1570671069u, 4201355175u, 538744618u, 1025668435u, 2058157402u, 429670825u, 833491328u, 3372864448u, 1352895442u, 4114248566u, + 2825879253u, 2380183579u, 173255347u, 627020951u, 369724202u, 1485569748u, 3873703281u, 4166658732u, 2944724738u, 4153436935u, + 277094336u, 1184297392u, 592271285u, 2384477632u, 743742651u, 3672567830u, 1523637038u, 3030005192u, 3329787186u, 3211467738u, + 2564480038u, 4056549506u, 2783780907u, 1437145365u, 2997253661u, 219007270u, 1036125467u, 2457382431u, 4079002721u, 2487078329u, + 2947387449u, 283521797u, 747382687u, 1261361102u, 419570683u, 2680782587u, 1857058402u, 380896098u, 1734465641u, 1622806946u, + 150144722u, 3935744028u, 844377280u, 3128718174u, 276216565u, 2704333185u, 1966086846u, 484720665u, 3102646192u, 1676388560u, + 592392301u, 2585881500u, 1451162555u, 1288942448u, 2422018347u, 818986342u, 3709389237u, 3220793930u, 1500547672u, 1656797788u, + 2574459115u, 1634198836u, 1160192664u, 594096128u, 1951530412u, 636101412u, 451955411u, 1346760556u, 567242131u, 1207013278u, + 2396055151u, 2116704753u, 1943860726u, 2098865529u, 3395826075u, 561476366u, 2106030670u, 2119594135u, 2067087775u, 2883284930u, + 784753618u, 2746170267u, 1779986403u, 1077800099u, 472134173u, 1335498251u, 3640367405u, 3494575414u, 4101294545u, 2276221376u, + 780492018u, 3170373094u, 406163983u, 3538748136u, 1640307237u, 1871176881u, 3761699471u, 1494860796u, 4074470223u, 1046520843u, + 60370530u, 3632205888u, 2756021054u, 3509700247u, 1562068109u, 534885872u, 3973843664u, 2916925613u, 3717946110u, 306818896u, + 748542574u, 4171847760u, 1011300360u, 2294992805u, 483995419u, 2696095779u, 1096134456u, 364549249u, 350717188u, 1871553374u, + 199629490u, 1078223159u, 1384825865u, 2983015037u, 71788298u, 2146748681u, 1254409349u, 2450237249u, 555972797u, 3172820254u, + 1926013936u, 811074770u, 590923300u, 758361468u, 4080626048u, 3306185308u, 709771341u, 3124831839u, 2416502517u, 1991719599u, + 1635720945u, 181606361u, 234303235u, 3312881528u, 3176313134u, 1820418744u, 2104477922u, 323029118u, 559742252u, 887921584u, + 2309668175u, 2273338730u, 3917167702u, 2691828631u, 1310441136u, 557955759u, 2693898900u, 2529563937u, 3980072725u, 208371387u, + 2709984029u, 1855933467u, 855267954u, 566636594u, 225399769u, 371145354u, 1932976640u, 1375790583u, 139545688u, 132143012u, + 1117361996u, 3455601351u, 249815192u, 3299920400u, 3948926872u, 3868120724u, 1464138815u, 108464823u, 4258416732u, 4262844434u, + 4117849732u, 3130221660u, 3168187205u, 3737348866u, 2122143589u, 826786822u, 2837863166u, 399124069u, 550250712u, 2839110832u, + 933959186u, 1158094628u, 3894962459u, 1918873807u, 852675085u, 3729503223u, 726642932u, 1453015062u, 2316345756u, 3510003999u, + 3579309084u, 3256509646u, 1922213923u, 1260676759u, 563037886u, 2207513996u, 79113336u, 933589221u, 1059915603u, 1538443640u, + 3609015336u, 1275679672u, 2088465875u, 585498385u, 3414672108u, 3561775596u, 1831627513u, 3955519199u, 3477101022u, 1129639269u, + 291743148u, 3753542193u, 1738602535u, 3837415589u, 4178967007u, 2294508994u, 431730326u, 3369277315u, 79491817u, 570270345u, + 2552652297u, 3030760415u, 3817792591u, 3300846173u, 2154871269u, 3756588988u, 3683535842u, 859243774u, 1571966883u, 485539005u, + 3298867298u, 2720076749u, 1077466246u, 4208497997u, 2182532412u, 2828969056u, 2064656275u, 26553534u, 2715521469u, 69483077u, + 2702045282u, 896440309u, 1190841399u, 191327106u, 1477942590u, 3994966848u, 1245187486u, 2421265809u, 2456129897u, 2543717656u, + 787867678u, 3316874372u, 2085151526u, 2088330182u, 1436112829u, 2443129548u, 3016799778u, 227886265u, 1224145839u, 4154914573u, + 1357574920u, 2805437569u, 1524189007u, 528010490u, 4158182494u, 1198097663u, 1651251985u, 1304020371u, 3295417102u, 1952098339u, + 1592789670u, 1345036375u, 3247797622u, 3907054610u, 83490333u, 689738839u, 385584266u, 3657124328u, 2404039974u, 1146488410u, + 575480893u, 2383020955u, 3128119683u, 2475938072u, 2729754838u, 5840599u, 2764993996u, 648517241u, 1560975588u, 1299353837u, + 3809204391u, 4189960964u, 528948378u, 2551079629u, 3670137609u, 1252517174u, 1192000940u, 127639581u, 3461135284u, 1807298244u, + 758630378u, 841111196u, 186894009u, 1136412464u, 2648226213u, 3193677696u, 3359569203u, 2380273836u, 803652478u, 711632566u, + 2393511238u, 3362176043u, 660900719u, 4293109724u, 4255449018u, 2324902170u, 1163662289u, 3486596822u, 4032020944u, 2035496216u, + 713909203u, 2532031139u, 1434505838u, 3564304244u, 2170292555u, 3839945149u, 1718863289u, 3472358100u, 2090127040u, 2750353770u, + 3930001419u, 681261430u, 3016415036u, 1609878706u, 3935790466u, 3841755336u, 4193281294u, 3239220864u, 3976165517u, 3248264377u, + 2951546109u, 507097849u, 1173130942u, 1808305324u, 2546063146u, 2043762165u, 4109916755u, 4187478554u, 1959780414u, 3734540523u, + 138587558u, 3200405128u, 4220140130u, 4106880784u, 1733127693u, 3033423778u, 145107445u, 2892370380u, 427367022u, 2192719889u, + 3473992981u, 2827699336u, 4197494052u, 2527254998u, 1494430745u, 3969537490u, 3906191512u, 1049063520u, 3856727782u, 3469629524u, + 2224711034u, 1134811351u, 1269969258u, 3404393797u, 1292009555u, 2881141928u, 4046221969u, 3935839677u, 3404088100u, 857921455u, + 1056062920u, 2419940666u, 1680671503u, 3786003207u, 2286141034u, 3920130686u, 1795584538u, 3955452875u, 1235045687u, 3270617038u, + 3759788797u, 3922712697u, 757575488u, 2266543131u, 533114447u, 2680102926u, 3913355935u, 3843633328u, 2240243199u, 2445263520u, + 388460215u, 2549627713u, 1763682880u, 3524846163u, 2481241235u, 825472678u, 87296509u, 492047623u, 3865297188u, 3519344976u, + 1169166022u, 797644095u, 3730393471u, 2913641286u, 178850832u, 715665365u, 2249972475u, 2179194301u, 2579440463u, 332579187u, + 3615393064u, 1450017709u, 2312587309u, 1533362821u, 4016536273u, 755137434u, 649182980u, 2543839687u, 1900913491u, 215245413u, + 883301550u, 1104528165u, 4127896789u, 2257399571u, 3320464910u, 1441630155u, 1646996103u, 3434341784u, 1473410569u, 1928237032u, + 117383509u, 101060535u, 3335999154u, 2033350626u, 285010006u, 759609619u, 757696402u, 1919657939u, 2821711450u, 1757222333u, + 1223394574u, 1931031180u, 1072789688u, 779477360u, 819101875u, 2175386643u, 1534505258u, 1024777845u, 3538665666u, 987183551u, + 4019682181u, 1036959154u, 2383678190u, 4216321466u, 1560097451u, 2116081077u, 3549031533u, 2154752921u, 945047765u, 2478911308u, + 1330218010u, 2915263822u, 537103192u, 40698567u, 105765917u, 2948938188u, 2977831961u, 829095066u, 2647189563u, 3186738364u, + 1255094786u, 2547674454u, 864016838u, 469204101u, 2031075900u, 2296830244u, 439561544u, 2499430055u, 4001614836u, 2897667125u, + 1288134951u, 2068584929u, 1348684027u, 2283883337u, 1406862605u, 1470147243u, 636461673u, 2026227569u, 1635535773u, 1205220728u, + 2159041794u, 255585379u, 519024949u, 1684897944u, 2840928962u, 4104218693u, 3659971998u, 905908075u, 3618558982u, 3929529161u, + 2109201831u, 2751688305u, 147613513u, 1737446519u, 3690957598u, 3788031526u, 1147820856u, 2733767934u, 1569800695u, 3174179496u, + 360159843u, 3331340747u, 288252239u, 4140706510u, 1176579439u, 3629826188u, 1274243620u, 2601770623u, 2865463472u, 3149305005u, + 2792315582u, 3367073563u, 2052671169u, 3047957870u, 3434626880u, 677460304u, 3844636773u, 1761082358u, 224531634u, 2150655756u, + 3870766900u, 3470438721u, 1079988540u, 3942525221u, 41215373u, 3743904442u, 496289842u, 861820495u, 998826233u, 61157982u, + 4292372209u, 247670639u, 2043901534u, 3858382465u, 4290650804u, 3051996302u, 1921041329u, 2003234652u, 2348463798u, 2023431401u, + 1735472571u, 2318874362u, 724227117u, 1599890611u, 1889492447u, 3436746477u, 16940964u, 2977407056u, 142145507u, 1213317376u, + 824821470u, 3836144621u, 241835289u, 3734758466u, 1187680233u, 656046790u, 3568955883u, 1211460219u, 756707718u, 3269257988u, + 421377779u, 2976250996u, 2623444761u, 3543523848u, 3039606777u, 1704696949u, 1695188420u, 33643811u, 2498109787u, 1897170031u, + 2485604662u, 4256665173u, 3989667797u, 3704814830u, 3880997562u, 3400156661u, 1417155322u, 3244140806u, 4158163552u, 3391572996u, + 2385843013u, 3544713359u, 1390413147u, 3602408785u, 4056986031u, 285881153u, 4112388237u, 2848494717u, 2965367668u, 2268522810u, + 3271631074u, 3036110398u, 1898717791u, 1811295968u, 2545669341u, 232104443u, 448618553u, 3216952208u, 2841610591u, 3032760024u, + 3226604550u, 1371741524u, 4089148998u, 2577500827u, 565421480u, 597854239u, 479300574u, 3026907875u, 403706050u, 1920052946u, + 1155728075u, 3771916323u, 1773413101u, 4066089922u, 627996234u, 3141441869u, 172723871u, 2785189u, 1487003942u, 951373445u, + 709235013u, 334992513u, 2899596233u, 1274315589u, 3294947507u, 137714124u, 1398839411u, 2569294716u, 3542162803u, 3039565985u, + 2786758907u, 705325619u, 1407147665u, 3072115750u, 3981482389u, 1386330766u, 46530526u, 948266627u, 1201985880u, 1478974361u, + 2372939139u, 990505058u, 271002264u, 3191424666u, 3769489235u, 1482777404u, 4289940791u, 1943809913u, 3502632821u, 3225281672u, + 1935570586u, 3512868246u, 3108010800u, 2577672675u, 3151790919u, 2670668416u, 1910464663u, 4090589843u, 2239834334u, 3660975706u, + 1279271941u, 3156222410u, 1470041251u, 186578925u, 4022736853u, 1506925697u, 3531424880u, 2154390029u, 498884672u, 4192931216u, + 470317388u, 180064667u, 1002138651u, 751408300u, 3849374530u, 993491180u, 1439176606u, 4089745640u, 2776449440u, 1842398506u, + 385423412u, 928870315u, 2860452624u, 1227492692u, 22602725u, 3550580517u, 2966759136u, 4002301249u, 90851018u, 2942436120u, + 4080130959u, 2086890980u, 1048915646u, 1511271954u, 3699289578u, 2971051851u, 1831100636u, 2616527127u, 669802193u, 3785967659u, + 538612400u, 2553497408u, 2415175043u, 2514453669u, 605038537u, 855629149u, 3309753966u, 2351702782u, 491921596u, 4027300170u, + 2352550747u, 2488987532u, 3760759244u, 294850760u, 639689918u, 2647189049u, 1857514021u, 1113365978u, 4109976405u, 3682758756u, + 3260315521u, 2362622648u, 3641722565u, 1367225308u, 970213891u, 569767413u, 3701472403u, 3450050829u, 91579385u, 3685507044u, + 1435002925u, 1464743670u, 514736302u, 31008424u, 2774188031u, 2657708905u, 405809718u, 499238011u, 517954927u, 2944814149u, + 384216848u, 1804908440u, 3463551901u, 1235571271u, 4222155494u, 2428682049u, 1868912155u, 1142516126u, 108991678u, 2304619112u, + 3606975699u, 3295649454u, 2648165935u, 13115079u, 2648574249u, 4294493406u, 3595462382u, 664518805u, 3720379888u, 4034425155u, + 932549392u, 1160506019u, 1378455611u, 1612432071u, 3964070010u, 2926670553u, 919033664u, 423994578u, 2737469324u, 3351356588u, + 1956485336u, 4198842322u, 408593193u, 961294772u, 1423737321u, 3551627664u, 2374718605u, 3557536695u, 854887678u, 366661955u, + 2781153424u, 3470900520u, 727456u, 2672310889u, 377521254u, 3526959841u, 630623478u, 1457059047u, 3433855181u, 569124912u, + 1277743065u, 3822874102u, 1935132442u, 3402966311u, 524266067u, 1008937661u, 8006674u, 3801519488u, 1413780877u, 356199411u, + 489880067u, 3927881615u, 1663088103u, 3680009080u, 3249106692u, 688461600u, 3086876466u, 1770921058u, 929019599u, 2941674298u, + 2313988595u, 1900749792u, 749323082u, 3694521038u, 4166464663u, 2226207539u, 377631426u, 1987323935u, 2460156173u, 1246843144u, + 3907165816u, 4048167632u, 673392455u, 2281142660u, 1997430662u, 469999528u, 3400660330u, 1264008239u, 954738154u, 2006146841u, + 2613845742u, 2042960867u, 542556193u, 72454620u, 3930052428u, 3325177792u, 3714522140u, 3614211230u, 3854611066u, 3401924063u, + 1263080215u, 1016767815u, 4116985150u, 159441088u, 3798303591u, 3148026838u, 3472373969u, 1267179475u, 1611422832u, 498264376u, + 36482312u, 2600557060u, 2543864118u, 3774409007u, 1608291196u, 2908639038u, 4125949888u, 1503523147u, 1309372260u, 3623006022u, + 58328060u, 2047266562u, 1176871742u, 588382852u, 3993059153u, 4027448448u, 568110081u, 4031363162u, 631496252u, 920704283u, + 2626501681u, 2762788400u, 3024561344u, 1281519160u, 3309282451u, 1273805816u, 1290298272u, 2936993446u, 2259138070u, 2076483699u, + 1571793577u, 3210067447u, 405604770u, 1866036219u, 2622022918u, 2144712123u, 1906378159u, 4206370221u, 365635287u, 1593308375u, + 1824877353u, 932848732u, 424607249u, 3078587619u, 720070856u, 3778138162u, 44002124u, 1030008626u, 2532728640u, 2184499304u, + 1423003294u, 2356601434u, 4146456690u, 1016454241u, 1779093052u, 304453226u, 4240988383u, 2913969782u, 1193318803u, 2872602644u, + 1201617303u, 1649893361u, 1855818290u, 3314069342u, 297134663u, 2459386416u, 930992484u, 3148520071u, 3001698900u, 3411347983u, + 2609070267u, 1994819269u, 457519182u, 653947534u, 288436164u, 1220425582u, 701564577u, 734124236u, 3267437339u, 3480974227u, + 2838812462u, 2300928976u, 4104896922u, 2176308361u, 3031283951u, 2743510697u, 2576448873u, 3013525746u, 3528674571u, 328868869u, + 920725089u, 2025511075u, 13001952u, 4010440651u, 2532352686u, 1723522294u, 3438311019u, 4065572696u, 2871126912u, 3082939967u, + 3354780506u, 2175688443u, 39406634u, 916978269u, 741487021u, 1953113812u, 3119961619u, 193112356u, 2209122803u, 4045306530u, + 1545075470u, 456722848u, 927782781u, 3354640616u, 1339450944u, 3675063069u, 649835320u, 3776548540u, 1995777532u, 3565049564u, + 3117215574u, 2657993092u, 4117011827u, 2608091183u, 4252921655u, 2928790303u, 3600275196u, 4168040962u, 1900392650u, 1030472020u, + 1898009856u, 589848656u, 3637888611u, 3561912397u, 1585531840u, 2358744651u, 2819597101u, 514543022u, 537693767u, 2857847736u, + 3164766193u, 3049857024u, 1887348326u, 1695765867u, 1064886531u, 2469054167u, 2423144370u, 4190682623u, 2117589091u, 3315814339u, + 2501968696u, 1439470714u, 2984402965u, 3147217699u, 2936890611u, 2261057077u, 942486156u, 107277358u, 2152541535u, 225381954u, + 784835323u, 3806280110u, 3249597701u, 2179441492u, 2416323679u, 2949459617u, 3494409692u, 3475696748u, 3302181359u, 3898719921u, + 2570932897u, 3477948076u, 2060130263u, 3350030406u, 1250431037u, 941886754u, 3052439217u, 2158266888u, 3084168455u, 2664880340u, + 67913139u, 2437250526u, 3524839400u, 589585645u, 1133849224u, 3336904505u, 1004716880u, 4035478260u, 2530209255u, 3330844969u, + 100674692u, 419854090u, 631131977u, 3194094032u, 636728136u, 4037230152u, 933014011u, 403710200u, 2314688871u, 684068485u, + 3767718180u, 2016924857u, 3458511628u, 3495322654u, 3420391761u, 735967046u, 913945521u, 3468899630u, 4091409364u, 791392436u, + 710683356u, 2634614910u, 642219826u, 3938518876u, 935870350u, 2708905012u, 2954291092u, 2383656591u, 1171182861u, 2412161073u, + 1588350965u, 2651534342u, 1559201683u, 835155842u, 1062522114u, 2454478911u, 3575344365u, 1389461152u, 1246015196u, 561490675u, + 3895785557u, 3339818765u, 1759465548u, 3242240165u, 2703247476u, 393668608u, 1269754461u, 1422349427u, 2188281438u, 3652342698u, + 2788561542u, 2288390579u, 3878627544u, 2255117057u, 1538846789u, 3206410417u, 4114468975u, 2970072129u, 4131247306u, 4245003105u, + 2370038046u, 4169939113u, 3665663310u, 2132944647u, 159189687u, 2476943143u, 86632237u, 2902994626u, 4024378425u, 1400537742u, + 3183133355u, 2882330364u, 3056021592u, 2023292903u, 487941127u, 506299485u, 2845636447u, 2715209923u, 397979105u, 3313115482u, + 1589685177u, 3698567584u, 3436659596u, 2413989022u, 862171693u, 3379901606u, 3643314063u, 1631049401u, 1468254883u, 1003223608u, + 96662800u, 3334626751u, 1580026143u, 178485387u, 299494778u, 1322962575u, 1577300117u, 3923904559u, 3154138912u, 92167925u, + 1314762841u, 2476079507u, 1892237646u, 737874461u, 2373249248u, 3233065432u, 2868823905u, 3593537229u, 741289412u, 1585078212u, + 1475479450u, 2066998588u, 1294348455u, 2720840537u, 1566004691u, 2596552493u, 3282183705u, 3986566585u, 780961786u, 1046748127u, + 1656449943u, 1887943963u, 3498669472u, 799939880u, 3330236943u, 2113497419u, 833848926u, 2510611183u, 4085108268u, 3607648847u, + 1217518726u, 603639928u, 3463654426u, 3344627608u, 3399086005u, 1172633017u, 147977180u, 2530588714u, 2117087235u, 2184548828u, + 4190930193u, 3824957936u, 3242685473u, 2128758144u, 2006309667u, 3123666633u, 3531926552u, 3075699336u, 754243000u, 1994816939u, + 3092902580u, 913592793u, 3946101049u, 3868272932u, 4126961246u, 23890375u, 3110942081u, 3284285480u, 3223465709u, 229854931u, + 3106183010u, 2683843806u, 4075675066u, 1323598685u, 914296364u, 4000522602u, 1732585507u, 272506627u, 3977388175u, 2458897485u, + 865361800u, 4068771697u, 2485211583u, 662431608u, 1929641756u, 300903193u, 1295776644u, 3233613184u, 1534788223u, 3856181550u, + 1075555614u, 2988898031u, 1160562220u, 3535120175u, 2297427730u, 986055220u, 1763458095u, 1197290021u, 4168594117u, 1423153530u, + 456469912u, 407630855u, 561914681u, 91907502u, 1056573051u, 486238220u, 227773338u, 1882572486u, 4102759742u, 1118910451u, + 3653125394u, 1179355684u, 1797573656u, 2241264987u, 2235684714u, 3184974860u, 3765510681u, 2559515019u, 3135323037u, 352601052u, + 3331489117u, 2377380895u, 1996371300u, 690673108u, 2316805149u, 2478207468u, 76865413u, 53851707u, 2267796983u, 3942707609u, + 2781895715u, 963454181u, 1877070742u, 3669864620u, 1641236821u, 524566265u, 3578970290u, 1494353177u, 321351126u, 3789773944u, + 3658127882u, 752296676u, 3206868391u, 4012406154u, 869215512u, 1984661936u, 1759112628u, 3103881740u, 488475982u, 2174660530u, + 1608953282u, 2639196398u, 4133460131u, 3750714140u, 3078247426u, 1970720588u, 90286196u, 3560993862u, 1356401415u, 176312691u, + 362848420u, 1608317756u, 1362949841u, 288835372u, 767473826u, 2543663646u, 487544513u, 2242549830u, 2637619u, 4099180998u, + 3676195640u, 1767247804u, 2697285272u, 2721274341u, 4017171471u, 1401398664u, 3069652079u, 462893260u, 2368671178u, 3017670015u, + 4143346831u, 535881449u, 3248750688u, 126614610u, 555166826u, 782063041u, 486263458u, 1315277863u, 1380510704u, 3167252708u, + 4252713585u, 184886583u, 792208515u, 3936950985u, 3757198771u, 325897783u, 3171637786u, 71268433u, 1299737225u, 2399233823u, + 2046229471u, 3884979417u, 442075299u, 1853036509u, 3686037955u, 93126862u, 3686744724u, 2598709998u, 4146423689u, 3342325298u, + 1477410792u, 2277622134u, 3169330806u, 807571846u, 1117472513u, 2614029730u, 2098178737u, 1580782938u, 3412916509u, 3278458203u, + 3568430827u, 235475973u, 1449684552u, 1486394509u, 3684578946u, 2442060979u, 1625410019u, 1643149696u, 4126519849u, 3029529652u, + 682104218u, 3703057196u, 1533663213u, 3176561513u, 3039444488u, 1421220420u, 3101061839u, 2313870089u, 3467104298u, 1287534740u, + 4220623147u, 880384507u, 2065596721u, 695629112u, 3340074197u, 1327409942u, 668252846u, 3162351537u, 520477068u, 3286334772u, + 2490759746u, 2705703858u, 3469566769u, 2290087338u, 3478035499u, 1113314523u, 1671147958u, 1747514505u, 2102329051u, 3098001215u, + 1709862950u, 1713305352u, 213262351u, 1264377461u, 143525232u, 3020201648u, 3178361767u, 664965652u, 216436410u, 2859117485u, + 2356954826u, 4219140114u, 553153128u, 1678291636u, 697632825u, 2511230107u, 654488235u, 1810183243u, 1708759412u, 1642582274u, + 1978310512u, 1084269769u, 2585745106u, 810437449u, 3291822261u, 3706392112u, 3555671631u, 1502286314u, 3715446400u, 2914893414u, + 2467614825u, 3792326669u, 819425844u, 2077912277u, 2948800865u, 1447491138u, 2278590935u, 404955740u, 2090225152u, 2124446987u, + 1143377085u, 278460304u, 2328782228u, 1119262417u, 3639375700u, 1854111941u, 3946387703u, 357412685u, 2122074129u, 236840790u, + 1178997364u, 1230124320u, 1614170518u, 299269411u, 3228689491u, 510559937u, 709100689u, 3085018490u, 2162242039u, 888639083u, + 1715581652u, 1379182093u, 817506370u, 2104562908u, 2551484354u, 4055860118u, 2020768767u, 1194209424u, 537160892u, 3542168171u, + 3593357637u, 2840209547u, 2633825994u, 1705313712u, 194982051u, 3851382361u, 4203714803u, 3262977u, 731327767u, 1641390445u, + 4119744399u, 3376297699u, 4025413995u, 3682302376u, 3017962907u, 624889149u, 1315762748u, 4114076052u, 3977733869u, 10130770u, + 3178011919u, 3213249508u, 2405783730u, 3477822342u, 270272612u, 1545512134u, 2615390008u, 4080012047u, 3256161334u, 3675239608u, + 3069511191u, 2171087906u, 253930888u, 4074143672u, 3686109898u, 4158285916u, 4191420529u, 3201118648u, 28716019u, 3702632469u, + 1428594855u, 887687730u, 1031672750u, 1464333472u, 170404345u, 1616809935u, 3774887982u, 358796361u, 1726033155u, 2382257242u, + 2274252529u, 374187590u, 1823770106u, 2377690632u, 21927950u, 2930146715u, 2653568880u, 1594776522u, 2184648833u, 481402418u, + 1947158604u, 2444578939u, 2240805356u, 3854372348u, 2887488219u, 1689324983u, 935975359u, 739724104u, 432679211u, 1617360504u, + 2945553195u, 1979695292u, 1307775409u, 3400107058u, 622596739u, 3716743612u, 2720019276u, 3607057973u, 327079138u, 4025217139u, + 1547365034u, 4194980425u, 1905025928u, 62947081u, 1745714511u, 2322369789u, 4047381252u, 2779214257u, 4045123747u, 2292083796u, + 2153257116u, 2724325059u, 543289743u, 1356538960u, 1016878904u, 3541435918u, 3455664028u, 3447318840u, 3376564216u, 560171299u, + 1779185398u, 4273493200u, 4093235632u, 1439432380u, 3208260141u, 500414763u, 2719604931u, 1822001961u, 1526169431u, 2748576779u, + 1561249989u, 2981935158u, 1961139050u, 3196266547u, 3904036456u, 3492704643u, 1677506275u, 2591073505u, 374819724u, 2430204450u, + 1165188990u, 923917281u, 802054266u, 4075555516u, 207752620u, 3468623070u, 3949925548u, 1469957762u, 3973718082u, 170453248u, + 3279076538u, 1793928833u, 1394459120u, 73493783u, 1093160901u, 2693235991u, 897330480u, 3346711487u, 337475542u, 3020237106u, + 2656255823u, 252698695u, 2423696943u, 2232018018u, 1927207747u, 2787569951u, 2099282814u, 65803179u, 3965218848u, 291107254u, + 3773197085u, 327420523u, 1391949223u, 235762905u, 2419269608u, 870817969u, 689033832u, 113632696u, 4120439333u, 2804850993u, + 575774215u, 1536595217u, 2412528023u, 3123465005u, 2178297952u, 887709329u, 2137349864u, 3236722135u, 3005186191u, 1278801179u, + 77505842u, 2457881592u, 411576249u, 228738394u, 303478304u, 2834819029u, 637453839u, 3001033256u, 3522898952u, 896675975u, + 1647226238u, 2763763338u, 847335531u, 3662499056u, 2210405009u, 3184051855u, 1949629400u, 2234942833u, 1348636804u, 240148325u, + 986541107u, 3786135632u, 595121510u, 2528813890u, 2416299502u, 942628992u, 3203634110u, 563986781u, 4077610661u, 2768751241u, + 1446662251u, 4185152912u, 1245911931u, 886906192u, 529255416u, 2635788473u, 1439899787u, 424056019u, 3918881085u, 1912796928u, + 136298229u, 952987169u, 4263458507u, 1153651228u, 3315730728u, 3922333730u, 352155125u, 867256095u, 127538766u, 2222443127u, + 2929166330u, 2808163469u, 2904947600u, 2373827231u, 412364364u, 2962795057u, 3003146160u, 3757938435u, 1127070919u, 661913468u, + 3324897164u, 3132042230u, 1577606283u, 1391329395u, 655810704u, 3660221255u, 48351250u, 2753695805u, 3364859790u, 2332644148u, + 2885284339u, 2733070424u, 2930436151u, 2423866426u, 1318633277u, 2408812303u, 253559860u, 1739083953u, 835927449u, 2146772638u, + 3534525597u, 2000561699u, 2441984120u, 801707893u, 2160811062u, 2260423944u, 3286481273u, 3802100841u, 4222266510u, 3075536129u, + 2399645682u, 1766247199u, 3720134942u, 3102545388u, 18154259u, 519959847u, 1905141065u, 3850790593u, 690295501u, 1194860436u, + 1747658476u, 3590639032u, 2466348395u, 222044231u, 2441282003u, 3601570795u, 4025331833u, 2207688663u, 2760861574u, 2157856098u, + 3762030018u, 3256904297u, 3534572423u, 324800852u, 1630294476u, 1499250118u, 810061189u, 3794228911u, 1081229247u, 995802354u, + 476253594u, 1962184336u, 3159146657u, 3077323637u, 457735030u, 1722619551u, 1472778209u, 683718774u, 3315751738u, 3263360287u, + 2401383576u, 1826033436u, 4193682599u, 731704931u, 2288717165u, 3018904573u, 2403692554u, 866434891u, 2819013314u, 1292959988u, + 494320455u, 655466729u, 1665275707u, 2089134819u, 3673377768u, 1640635611u, 1681521758u, 1782478820u, 4267736543u, 43192004u, + 3189529705u, 3210763420u, 2362418250u, 1762075029u, 1383905916u, 1611986922u, 3148632170u, 2605706648u, 1493881097u, 3568520011u, + 2736283705u, 69961762u, 3077073029u, 2166921038u, 1724787015u, 2944030570u, 1134930838u, 1963135242u, 1661428768u, 3248754116u, + 369707409u, 2331721579u, 3707154837u, 2626737057u, 613668050u, 3100833957u, 3309626095u, 3826634818u, 1789976463u, 1243779835u, + 2758679237u, 4229737802u, 2212235015u, 2244664655u, 2453636209u, 1341381231u, 689561877u, 1346661185u, 2674758031u, 692431777u, + 718370388u, 955944495u, 511721862u, 2650139076u, 877676679u, 3692922176u, 2877672510u, 3170958089u, 2739895067u, 1381094982u, + 680152443u, 4037969803u, 1444441937u, 439836185u, 2627709673u, 1332681925u, 1657071378u, 4101847082u, 880898890u, 1057648888u, + 3427452218u, 4186584115u, 1268094036u, 4136385703u, 735135557u, 628107128u, 1075458623u, 1945101053u, 1438442270u, 2741331249u, + 1817597595u, 1813881688u, 3114304661u, 2076695270u, 1967322104u, 3343790680u, 4110745518u, 2870725832u, 1699646451u, 3083815940u, + 1259361093u, 1486535471u, 2888328214u, 105542516u, 1311893728u, 252162676u, 1543422397u, 2445421331u, 616097306u, 1850969175u, + 3972607856u, 2550059370u, 3343019952u, 1053094464u, 2606443007u, 2375945043u, 278776862u, 2813611539u, 127448494u, 2560704273u, + 3360070325u, 3105221934u, 77711407u, 1778198624u, 3086165085u, 735963285u, 1021751977u, 2567771518u, 1470924536u, 2624966721u, + 1483030005u, 3081164060u, 4226919990u, 1909110527u, 1492726167u, 3380797291u, 421130836u, 3285719299u, 256757752u, 958158872u, + 425513870u, 2946399782u, 617193409u, 578282419u, 1961281044u, 3592047044u, 1214142397u, 1013314107u, 4137421820u, 607726213u, + 3296446337u, 1097875249u, 2572041457u, 1751003565u, 9949894u, 447737874u, 3362045336u, 1996937549u, 3679184985u, 1495473012u, + 2959235730u, 2263876202u, 181272187u, 4182338639u, 1039236871u, 1581237513u, 1820141908u, 2693592361u, 1413439913u, 450575838u, + 460931944u, 1580973201u, 3888184573u, 1210218786u, 2907849928u, 3987010869u, 2585628592u, 3747838745u, 2548247461u, 426481527u, + 4156687434u, 2655165886u, 1353670224u, 219376813u, 3336393567u, 1212459671u, 1134944283u, 482165657u, 792097977u, 3323767997u, + 3789459668u, 4125727526u, 2516182484u, 1521800157u, 1156011753u, 2996175097u, 513637595u, 3394362243u, 2280986984u, 3156889173u, + 340889642u, 1914483798u, 3229449233u, 363155003u, 2566246724u, 2693315757u, 3916162940u, 2740985870u, 3327957856u, 2126883235u, + 4089272743u, 1589236046u, 3638560595u, 2752946851u, 1124482208u, 3897780685u, 1264987174u, 3274665989u, 1660437670u, 772340670u, + 2575611780u, 3628341017u, 1923201024u, 1291167466u, 1551510339u, 584978862u, 3806850493u, 355223459u, 720884437u, 2167502857u, + 1775446671u, 2552421027u, 825145940u, 2074719333u, 3042400795u, 807766691u, 1295760888u, 1940149684u, 109202900u, 3354885919u, + 235013670u, 785127363u, 2228581718u, 4034727154u, 3333033259u, 3324136898u, 439828249u, 1849740349u, 2595208325u, 1471126082u, + 1806628160u, 3923981170u, 2017916347u, 3478217992u, 275822617u, 3302005562u, 2364415113u, 783805659u, 570226308u, 3585162504u, + 3483706157u, 2026778671u, 3010528595u, 1658740678u, 2299054671u, 428157492u, 3457045182u, 4239351927u, 4263663201u, 3622982172u, + 782582358u, 4139857617u, 2375891529u, 2631613381u, 1382003997u, 3235917331u, 3398365577u, 3290603115u, 939705810u, 3529093842u, + 2536934661u, 179926754u, 4020651849u, 2272038014u, 922215749u, 1078954820u, 4039502291u, 2463590440u, 1072409298u, 1857535859u, + 1944505554u, 4098298226u, 2131129855u, 174843534u, 2311248178u, 4089746444u, 2404063827u, 1391705235u, 31790546u, 3512344885u, + 1272716872u, 3843571409u, 2125041144u, 1032534204u, 2515346370u, 51183933u, 3014913090u, 3388971440u, 1886292137u, 77506070u, + 43889422u, 1791535191u, 2649034973u, 1937339730u, 2346327755u, 945183781u, 453577423u, 2048382004u, 555184988u, 947574741u, + 1479248245u, 974560746u, 521437152u, 2534129909u, 1170272865u, 2000207825u, 4014486380u, 2223065021u, 821111383u, 3337559370u, + 2440812588u, 935568634u, 1998238532u, 1709208739u, 3051405618u, 2101240650u, 3309547656u, 2484057194u, 64259641u, 2283571811u, + 2119378501u, 3884847041u, 861584663u, 1140227839u, 3244081445u, 3142028808u, 1124009646u, 2313201937u, 921059501u, 3446350295u, + 3741811329u, 915473430u, 3533325707u, 2975545648u, 2845966452u, 3844674216u, 2302497522u, 3306152787u, 1348211121u, 2426343818u, + 2398346206u, 1798170911u, 3650835360u, 990466u, 3232341930u, 2821817467u, 1577316216u, 1604544851u, 3193675306u, 4272487714u, + 1651751092u, 503349032u, 2418266230u, 1688620879u, 3271776817u, 159503287u, 836794393u, 3147008360u, 2722979268u, 1352874769u, + 3806905299u, 2250402217u, 4274487340u, 2448353288u, 710426198u, 877594898u, 4028350376u, 4036392372u, 188212074u, 2410342217u, + 884672235u, 517413412u, 1317355724u, 3082399184u, 1863176444u, 3041483650u, 430216411u, 2347370008u, 1183317535u, 3765998919u, + 2056740690u, 2848597388u, 595162251u, 2575334494u, 2409673208u, 47473718u, 1706546762u, 2377759537u, 2030545733u, 1096534438u, + 3709248423u, 3760418993u, 335169856u, 879668523u, 3525207116u, 2125148022u, 752591470u, 654555010u, 516825099u, 3612129787u, + 4247017035u, 2599023474u, 3396171392u, 2039342035u, 3569993521u, 3338974511u, 2100623927u, 3958859212u, 3873099706u, 82888417u, + 666137032u, 485546084u, 2300365081u, 2896060894u, 966850444u, 890895622u, 2548005442u, 2763626138u, 327775753u, 120582567u, + 1893779965u, 2701406542u, 1154334183u, 1615362990u, 2984933157u, 3880933091u, 3263303371u, 21208622u, 1013249708u, 574446765u, + 2704253966u, 2465789067u, 3055778142u, 1240447784u, 1905464228u, 177206772u, 3343208416u, 2125930902u, 2254087870u, 1475925962u, + 2007495205u, 3754984389u, 36714059u, 2406056456u, 2658649739u, 968084229u, 3538209889u, 248085764u, 2211153183u, 3982814764u, + 1489551572u, 3405174680u, 3005974861u, 2861946632u, 3583245004u, 4037143475u, 3438691357u, 418234432u, 60018784u, 653103364u, + 2359066374u, 521421056u, 1442900636u, 918780119u, 2909805323u, 2529877072u, 943628146u, 802726179u, 4094731357u, 3466097766u, + 3464051252u, 1028673124u, 3070956480u, 1311465046u, 3200088139u, 1203740933u, 50195331u, 3303564492u, 3173889679u, 3183271995u, + 1409116341u, 548443349u, 3317054874u, 1199141596u, 847300161u, 2253982407u, 3953924521u, 1846110392u, 3160741098u, 3434206856u, + 230567362u, 2601263046u, 791677637u, 3709973651u, 2846783243u, 1143361399u, 630664021u, 3087707271u, 1965673017u, 3903060052u, + 3105343014u, 1877620452u, 3785573713u, 2929407065u, 3303401324u, 1848103791u, 2789730668u, 2634302655u, 2643427448u, 3979000435u, + 1991752248u, 1696541093u, 3977387849u, 2960725122u, 1097915983u, 1377881929u, 3402837353u, 1026380071u, 2665839479u, 322096880u, + 2663238418u, 3036423359u, 91356253u, 1872023503u, 1381109842u, 2980592622u, 730737983u, 2660408520u, 489295023u, 342772686u, + 1297661372u, 3783017484u, 3876312394u, 3507684832u, 3538613667u, 3984411247u, 1996109226u, 1947453933u, 2399864455u, 3012925783u, + 569530783u, 1691137738u, 1527153824u, 1324662035u, 1601853231u, 1534188575u, 2435268571u, 3660774413u, 3308060420u, 1980957742u, + 610978024u, 3092114073u, 2174888357u, 2431146503u, 3408772748u, 3305118585u, 2996048469u, 3123075177u, 3712568848u, 2034921597u, + 2508482450u, 1578350534u, 2011949548u, 1954415731u, 2855552488u, 2156610095u, 201987031u, 1603798173u, 1310928258u, 4026710748u, + 2260687393u, 1386783958u, 610025178u, 3322557687u, 4135242461u, 718463651u, 1002547485u, 2503763068u, 3323415410u, 4080081719u, + 570358061u, 4172064401u, 2250203830u, 272240013u, 746535050u, 1068767820u, 1418775737u, 2178629676u, 998678070u, 906474203u, + 3315705952u, 1360944775u, 1242316925u, 71773153u, 239473860u, 1003251951u, 3371038908u, 3297935237u, 2582335913u, 3097328207u, + 3723246570u, 4020744870u, 4124281231u, 200296491u, 2176011569u, 2165833128u, 1293419808u, 2758862095u, 970774410u, 3573104017u, + 3509928254u, 3086201506u, 3615098769u, 4177570102u, 1136376397u, 1986517293u, 2192180665u, 1032342532u, 4265923987u, 2533252107u, + 576582997u, 692195324u, 3190200404u, 3649573071u, 1367931972u, 4229234276u, 1081625973u, 3935741367u, 301926971u, 486703646u, + 408120902u, 3560031448u, 879646471u, 1162882019u, 181589681u, 1731338827u, 951849120u, 2336181444u, 1649546672u, 2521027794u, + 971328740u, 612943829u, 861754306u, 3507384553u, 3958430231u, 3135527270u, 1665905322u, 1930919235u, 3571573502u, 4181523307u, + 2867710981u, 1514280432u, 1942790120u, 1613291097u, 351868903u, 2899298833u, 2073775014u, 3894502200u, 3408024045u, 3615984394u, + 3840471797u, 3640745076u, 68746494u, 94944259u, 1208851548u, 1743522492u, 197919796u, 1085461280u, 3137221343u, 1308100037u, + 2877657696u, 845305602u, 2681084623u, 1973330211u, 2545327868u, 4045378142u, 676180684u, 1637481802u, 2386838271u, 782342209u, + 2260157829u, 2211944078u, 1524566414u, 1116494452u, 539849491u, 670767405u, 3322934816u, 3242553466u, 3293904062u, 440548345u, + 1163493945u, 2093784516u, 3849969312u, 3877511599u, 2369225315u, 151220186u, 3070446876u, 1093697041u, 1345082587u, 309398801u, + 2005160259u, 771147374u, 3924391928u, 2114679349u, 2566833179u, 1373268377u, 2502294897u, 1377541155u, 3990386102u, 1958014641u, + 919032466u, 253800618u, 3761099259u, 3830847076u, 3528622921u, 266454294u, 2306678223u, 303754286u, 1603784261u, 669194275u, + 3314917742u, 2396257u, 2540712753u, 1498788744u, 3755314920u, 408994923u, 743352352u, 3803930625u, 1246713411u, 2047836562u, + 4119478085u, 3439960737u, 2987373986u, 189905390u, 2544210318u, 231806188u, 4144939223u, 1381861244u, 1401812258u, 1252043024u, + 2201838481u, 3167229608u, 3111736956u, 3219578539u, 1938268732u, 3182255359u, 1876860492u, 4131834184u, 683873573u, 1630905006u, + 994623215u, 944736053u, 1762296159u, 2447495846u, 3080571455u, 2368838065u, 93986331u, 3987427620u, 3461794479u, 1940616178u, + 2754314253u, 3188306787u, 1900590386u, 3783612199u, 79119678u, 2060177570u, 1996999281u, 688791048u, 3979807745u, 1932846200u, + 2653087809u, 1859522606u, 469452821u, 233083053u, 1683637931u, 2227068066u, 2904624401u, 2178172982u, 1878341286u, 866904611u, + 2320919834u, 1298572921u, 3779420373u, 3468498151u, 2875746968u, 640636563u, 3373648391u, 2210651014u, 3414252571u, 1998940259u, + 1490024053u, 3994728107u, 1771473071u, 1250809804u, 66054924u, 4144427592u, 214947060u, 3781787043u, 812592841u, 4283860464u, + 3272522252u, 1649441750u, 1339852128u, 3592901283u, 3600203535u, 4109649395u, 1870109987u, 1341816296u, 3322282433u, 54434696u, + 321897526u, 4176625966u, 1926803370u, 3880629558u, 1953439768u, 786836634u, 2203945924u, 2705878257u, 4108874837u, 2607738867u, + 2412385034u, 808916452u, 385229525u, 3968901166u, 1319283198u, 1466995243u, 1043810822u, 1913926788u, 1142101158u, 3138410831u, + 4130941024u, 2379521544u, 3459593164u, 4119462694u, 257218285u, 1689484874u, 3248356191u, 2098257358u, 22168591u, 4032233118u, + 5928270u, 142629961u, 1939017857u, 756406425u, 2680097644u, 961596627u, 2348209762u, 481880580u, 3238376471u, 3826691913u, + 3884673522u, 2637197657u, 4026396100u, 229967382u, 4173644097u, 3354216572u, 1858536193u, 1617628457u, 279824116u, 1864013130u, + 4188077579u, 575336744u, 243419891u, 2944505005u, 3618078319u, 810674840u, 2702042142u, 791232371u, 1826149917u, 2444752731u, + 942507089u, 2317224854u, 4703813u, 2063831296u, 1715316336u, 4283560767u, 1949156019u, 1825063940u, 1255549755u, 2022302792u, + 1496656906u, 4280859226u, 230592073u, 2499869964u, 4188232410u, 2211925373u, 4257163517u, 182385172u, 3946685851u, 3988236875u, + 2961229063u, 4227794684u, 3027596875u, 938497543u, 2448194619u, 3008227658u, 4069953895u, 3706397807u, 37890463u, 3160419161u, + 398865973u, 1385325617u, 2876429304u, 2788119255u, 2802035377u, 922927272u, 2485009864u, 3476167797u, 3437179672u, 134170517u, + 1855139273u, 1700429283u, 2644814801u, 3029469342u, 2321504141u, 3872658832u, 2402056548u, 571339465u, 138402534u, 3638091980u, + 3866208627u, 4241605123u, 3255810150u, 2115401906u, 3906966615u, 2706931690u, 3605691243u, 957440519u, 695985462u, 1462855632u, + 1336077334u, 3377604047u, 1457101256u, 408063527u, 2153941253u, 1890328132u, 2434500625u, 2833312922u, 3465153135u, 705880363u, + 4132803721u, 156932028u, 3291303347u, 1745209473u, 3758236239u, 3067721611u, 4120012553u, 3751703222u, 2476261846u, 567203376u, + 3466520218u, 1565189484u, 2971801908u, 3483354282u, 4097833140u, 1663712265u, 3077154745u, 903807176u, 3515159492u, 1318208142u, + 2400423196u, 2673295510u, 3430289898u, 1715131408u, 1075924856u, 2738051861u, 3573461798u, 2963662410u, 718965312u, 1610439101u, + 3000044734u, 2392466442u, 2778796361u, 211289035u, 2279620638u, 1849541118u, 3602508342u, 1210146260u, 1708748506u, 1316333781u, + 909226130u, 1375308093u, 711397970u, 2853884916u, 1695403647u, 4099286709u, 242953273u, 2979030001u, 3337750520u, 3833827926u, + 1805295771u, 1555748173u, 3715756940u, 2473320032u, 607062315u, 983370470u, 2941041617u, 2870602260u, 3817171754u, 678622179u, + 2718382323u, 1105367221u, 1605861168u, 301237146u, 1638449165u, 3918186558u, 3942412118u, 1398316351u, 2008097910u, 1479487787u, + 693094865u, 3647904395u, 1637534149u, 223962614u, 3549413993u, 1681894118u, 861734009u, 1143132272u, 3904620625u, 3154846571u, + 4070604120u, 414794687u, 151358603u, 4192303737u, 4051762912u, 4119045945u, 3756181066u, 3362025034u, 3635993025u, 3106048035u, + 2892713269u, 35144464u, 20509094u, 1973007362u, 408480011u, 3637805879u, 2071653173u, 3085062625u, 45655745u, 536076355u, + 1465479569u, 2121831786u, 675434534u, 2763920240u, 2494102359u, 2736899493u, 3078984069u, 2666248067u, 1978907659u, 2535671524u, + 1171938236u, 2749222039u, 3712946452u, 3326944979u, 2020816624u, 2205823020u, 1538973699u, 2581106485u, 119166508u, 4018667304u, + 1840750180u, 568119405u, 1175569909u, 1112987386u, 988569621u, 3939762964u, 2189745137u, 3368717274u, 3228249431u, 4188716194u, + 615264677u, 2461878858u, 1161593489u, 4146266998u, 1542964995u, 3365541422u, 897941532u, 1314375997u, 1666794800u, 3382284691u, + 2727366258u, 680197149u, 2569341800u, 195940232u, 1517418177u, 57242235u, 3953897373u, 2110620970u, 4253622952u, 3367285551u, + 3096085869u, 1534261492u, 1490276641u, 933140919u, 1838011499u, 1263210453u, 3156625520u, 3438108151u, 2190039296u, 119456267u, + 557555133u, 2590248356u, 3694040211u, 3574354446u, 1844210446u, 3203596411u, 461472451u, 663110198u, 2883472142u, 1160583270u, + 2314626911u, 3982587430u, 2092532242u, 3092301375u, 2109861935u, 1678733596u, 332536388u, 1594725685u, 3171400988u, 2373004535u, + 2419966626u, 3625788351u, 1364981105u, 550275410u, 4067790307u, 1333933499u, 3848581537u, 3585773357u, 1617676956u, 142309370u, + 1308787619u, 3015931863u, 3892438528u, 4131744898u, 4261197997u, 2695877332u, 185898157u, 14677874u, 2929122520u, 950525503u, + 3310085589u, 1232722099u, 2993299909u, 4070508042u, 29651537u, 1369772020u, 391110608u, 1123414975u, 1871685472u, 4223681906u, + 1193361136u, 500696524u, 62262158u, 3048934631u, 321321260u, 4103412162u, 4221895455u, 2112362578u, 626843445u, 4236001431u, + 241207828u, 1803254152u, 4272716297u, 2276345185u, 120677686u, 1474143790u, 1916513924u, 1948164856u, 3354164520u, 4099232463u, + 339513378u, 2603482595u, 619648738u, 1736909985u, 2682409340u, 2708859058u, 2445181229u, 468577629u, 4143990460u, 2273065369u, + 3530541591u, 2421174899u, 898780534u, 3358992750u, 1310807015u, 3058614421u, 4074878299u, 1710998843u, 3919044457u, 1356581862u, + 2165101993u, 675886282u, 2767789637u, 1847213924u, 1841968187u, 2146839408u, 1861126616u, 4154786763u, 4001414282u, 740935021u, + 3465540913u, 886090294u, 644608716u, 2917511600u, 4288380093u, 3435640301u, 52121230u, 3888626565u, 1902215968u, 1475423084u, + 1664376486u, 2517948233u, 696674501u, 2354891221u, 2836587145u, 3223252059u, 753354832u, 88773858u, 449720739u, 1102818577u, + 3617686226u, 1770831090u, 3031485842u, 3263205461u, 956446558u, 1025585696u, 2184002074u, 2306914853u, 89729679u, 2954241706u, + 2992878759u, 2862794685u, 2078311588u, 850719024u, 2424085135u, 4161317038u, 4236887873u, 848056065u, 1719470796u, 768094721u, + 1507017471u, 958283502u, 3450183845u, 3582895194u, 1039154667u, 3617401708u, 353324240u, 991359760u, 3848812786u, 826422142u, + 3681426584u, 487961094u, 3586161565u, 574605187u, 4075007414u, 462470997u, 2329358092u, 3600624102u, 1104359696u, 2642883492u, + 1003043277u, 2339082746u, 3733274249u, 1351972005u, 3527983710u, 1501377717u, 2316173335u, 884166570u, 3756955564u, 496289449u, + 309614295u, 634300346u, 4195945998u, 3497763040u, 384943577u, 1203872924u, 3060669361u, 1421160233u, 2882430690u, 729297169u, + 970440256u, 938335854u, 3921640584u, 2456492496u, 1754385527u, 262590744u, 2967428412u, 2063557359u, 3092859862u, 1432612782u, + 1068795958u, 1522995698u, 3835912387u, 3011239177u, 9232278u, 3494836766u, 507954607u, 3320615284u, 3760047210u, 1773382804u, + 4043139207u, 2191623750u, 387948368u, 1092075961u, 2433603020u, 1406394041u, 475820502u, 3265762176u, 3599387841u, 4026538446u, + 3377446777u, 1292818092u, 1296511547u, 1567551909u, 480706434u, 228807474u, 1252444279u, 2527113977u, 2251502172u, 2411531351u, + 779432517u, 359576196u, 3727213503u, 1605303432u, 1888054729u, 3876465083u, 100012952u, 695310582u, 948094900u, 1199824639u, + 480985717u, 1916479361u, 1539032898u, 1689152006u, 3713189755u, 3607997211u, 1471106924u, 1645730057u, 2970339647u, 1490064329u, + 4260540343u, 1278356928u, 1560813214u, 39457009u, 3570622388u, 1985993837u, 3823738992u, 1583517779u, 3220318957u, 3592958411u, + 2478971521u, 2091900489u, 2308770251u, 4235626110u, 2408689554u, 2586227815u, 11279412u, 3300631374u, 1115309936u, 208308067u, + 667146245u, 3632060380u, 3408566146u, 2843581260u, 4631033u, 784980985u, 243916288u, 3035633912u, 446184942u, 845326532u, + 2128331660u, 2283523912u, 2084700468u, 2301372187u, 3257595397u, 998768860u, 3738975686u, 4097230065u, 736503889u, 1361418041u, + 1539582844u, 1006995442u, 3010121147u, 2421832579u, 1722396723u, 89198053u, 3598346369u, 254902471u, 3841137371u, 2611938687u, + 3164190144u, 3067410023u, 466598270u, 2937537794u, 126487250u, 3129956355u, 1960628991u, 4209642942u, 1861324657u, 874543337u, + 1662813109u, 906151776u, 3415233955u, 3177505298u, 1539030442u, 146283095u, 1532268790u, 2731918854u, 3410525313u, 1714461976u, + 797620337u, 1542369737u, 902944251u, 3617039155u, 477773498u, 2267739778u, 2324104673u, 2743779970u, 2461361807u, 2720071731u, + 1647089380u, 1113497883u, 2679775685u, 1450315359u, 388555742u, 2124997770u, 56445946u, 3141460360u, 962401616u, 22252546u, + 3981597719u, 2101786661u, 2218057087u, 3505172538u, 2729495188u, 1211613462u, 1556051337u, 2882164195u, 2364207398u, 177836399u, + 3695335487u, 321128600u, 3229418293u, 2369212016u, 1181224470u, 3033615493u, 2514170470u, 3304818319u, 1856452762u, 1381802463u, + 2537880511u, 625812682u, 2842878831u, 1531519444u, 2170871816u, 417938000u, 1749923058u, 5728458u, 2035301228u, 1057016138u, + 195506918u, 2733102011u, 3374784172u, 3081396086u, 4100346532u, 2013272036u, 144379866u, 4098200841u, 2855317625u, 2429324121u, + 1246235768u, 3073573129u, 1874087191u, 1871036636u, 3828792923u, 963522393u, 3155153228u, 2358288527u, 1723568381u, 787644032u, + 1889452565u, 519921193u, 3769631031u, 1774734572u, 263404260u, 3921294082u, 1122011324u, 3697947970u, 1586602484u, 894340553u, + 2789738551u, 1617667830u, 4047778118u, 977316466u, 529475231u, 1688064563u, 2985613417u, 3994964019u, 603065586u, 3175033037u, + 1276630620u, 497159962u, 3052312101u, 3585219511u, 687275337u, 2315321905u, 2604566942u, 2771305815u, 2657148824u, 190553416u, + 2946846281u, 1126663614u, 2274168385u, 573234481u, 4164335864u, 345710488u, 931407351u, 2499857704u, 2480096023u, 999604630u, + 2471304340u, 1914958806u, 3898149721u, 4058375090u, 1932425255u, 276108648u, 3756217369u, 1051409367u, 1869958175u, 4069296789u, + 3782870718u, 1424070128u, 1380775573u, 695138747u, 2955680529u, 1891786781u, 169063983u, 2590551774u, 3109170776u, 631867955u, + 3879705719u, 2508289633u, 2015446096u, 1189952023u, 469254093u, 4254765193u, 2981428576u, 2534581344u, 3380865957u, 3108387234u, + 1289416540u, 1669314528u, 3929909417u, 3382716394u, 3718124986u, 17403424u, 157753160u, 4218852818u, 3826058035u, 3162302508u, + 3862895672u, 944359099u, 186997834u, 8869013u, 3260991697u, 1427112665u, 3855141425u, 2992978000u, 2625417315u, 4245197072u, + 2929616713u, 2830445745u, 3064636629u, 1834564638u, 468670627u, 1301452394u, 2339347761u, 4161095210u, 2025932104u, 3485545638u, + 3284377548u, 3608145951u, 244866934u, 3487608338u, 2434390196u, 1111244902u, 3703635212u, 932252808u, 3438936922u, 1852820909u, + 2052124582u, 2784149991u, 3967925638u, 368160427u, 390486886u, 3719189035u, 136957776u, 3640719935u, 1172245767u, 1491279920u, + 3826092101u, 1465904995u, 811385968u, 2100970657u, 2165837322u, 4005060484u, 3390656840u, 1505488260u, 3138234954u, 3243095679u, + 3468309176u, 2101307352u, 2785151526u, 3463877057u, 1124386295u, 639942642u, 2378687326u, 850702583u, 4030692759u, 609983827u, + 424737239u, 3815100603u, 3322939260u, 2373160856u, 2948442457u, 2137949503u, 2209177771u, 1207666490u, 1999310715u, 1172678749u, + 574554144u, 2433134038u, 170215896u, 1114378322u, 1817149836u, 3228545471u, 3491815832u, 2614952025u, 636900749u, 3420689236u, + 1886917050u, 4099410266u, 2457202107u, 2939282740u, 3754125836u, 2717455823u, 603384849u, 4017207598u, 4180649893u, 3392342806u, + 1798162459u, 3604073735u, 1240286723u, 2359026773u, 2980083919u, 1434770714u, 2958610781u, 1081688526u, 2245699523u, 3799964240u, + 277737607u, 1998551873u, 3976618691u, 2233300855u, 3320012563u, 994492175u, 829338833u, 216558986u, 3206844583u, 2199776434u, + 4108646958u, 3518202828u, 829346234u, 2883958283u, 230030366u, 1603423080u, 3428531245u, 1851379303u, 56677478u, 3264369296u, + 2873004207u, 414663466u, 3346278758u, 3284577620u, 2005864147u, 2286667831u, 2817236535u, 4136923313u, 418884504u, 3183877924u, + 1070216679u, 2451127221u, 3070173056u, 1466584534u, 895188317u, 1915866245u, 3279718020u, 2126873875u, 3934088596u, 1924420378u, + 2083756783u, 142352948u, 4122156752u, 1560913172u, 1085980390u, 621941653u, 2434604130u, 491774472u, 14328353u, 143358036u, + 1600960661u, 4199200653u, 1363222786u, 1578542403u, 4201712660u, 2259018400u, 426410741u, 2202412516u, 284831829u, 1968155896u, + 2570364510u, 3969338069u, 3781356197u, 3468053585u, 3641979736u, 634867845u, 847021768u, 744622411u, 1871114637u, 3486347117u, + 2856642127u, 1640892478u, 3124521483u, 4073754196u, 1028211763u, 1508467347u, 2567079728u, 3090239801u, 3850748524u, 3820915541u, + 1292936695u, 3756880481u, 1452742515u, 1584451185u, 3012265502u, 4130949105u, 1716500329u, 9605059u, 3172417379u, 4122257916u, + 1568813862u, 451367573u, 1086011546u, 2530602974u, 2942118556u, 2858534866u, 3986465925u, 3327851874u, 2295519684u, 1939946840u, + 793527149u, 380545632u, 925466079u, 2719207816u, 2867941768u, 2827223335u, 2843865546u, 1395060234u, 2471166185u, 124506116u, + 3453758235u, 3345225439u, 3633701875u, 55360546u, 2894004505u, 1630044973u, 220708649u, 3642304324u, 906984792u, 2225263935u, + 1859589494u, 3255113825u, 3977421540u, 3677403817u, 3071996769u, 2760552473u, 2181828328u, 34441237u, 2104666843u, 718020468u, + 3269475335u, 2385301719u, 2204159577u, 2583001266u, 1768412229u, 3703374130u, 3901920873u, 4162570522u, 2095134734u, 780180171u, + 3564962223u, 1004981138u, 2091017600u, 2187744477u, 2715502558u, 3881219274u, 3450693150u, 2939438105u, 2051181312u, 1905766116u, + 840660106u, 4261890304u, 1660306840u, 3758274412u, 3589296302u, 1493070894u, 3406336143u, 3919541093u, 3063806310u, 1483470502u, + 3277231081u, 1408925218u, 3836213281u, 4231942200u, 3029940295u, 1542401645u, 136221392u, 1066812344u, 2119465240u, 3560539695u, + 1588810836u, 912475135u, 727952063u, 1072835060u, 201819675u, 1024438126u, 2719626211u, 474906215u, 1601382850u, 3833099572u, + 1101739007u, 3392615645u, 615122906u, 3712727006u, 4050026296u, 2043042096u, 3238607838u, 1632422977u, 3676905046u, 3154842884u, + 982267006u, 981435169u, 559375001u, 587249408u, 2940559144u, 1847898879u, 1742754126u, 2910087658u, 273841298u, 116292269u, + 3955019864u, 995109477u, 1387823045u, 3153940706u, 1582860231u, 1324710112u, 3385199049u, 248114156u, 1125416293u, 1991779032u, + 803159773u, 3130496760u, 2452116526u, 2168684002u, 3646322009u, 67826379u, 2583142671u, 1971875670u, 1981918201u, 1344446418u, + 1109265380u, 618116369u, 4064680951u, 3641342219u, 391621688u, 2325150412u, 427573994u, 726594682u, 4214228308u, 1492602706u, + 239637180u, 146204721u, 2615640982u, 2479447582u, 1670770122u, 1684370409u, 3096116228u, 2938619402u, 2574277496u, 3005563099u, + 99038328u, 2867779470u, 3755466059u, 2966700071u, 3120403873u, 1898835864u, 1633760512u, 3850958836u, 1801799430u, 1921130568u, + 3346158712u, 1980637306u, 2603143212u, 1408749490u, 1023054864u, 4254447519u, 3296375048u, 1241567291u, 3920185955u, 3935029154u, + 564005688u, 142503342u, 346065665u, 1249251897u, 2967514216u, 1356705480u, 1311353793u, 1844987406u, 402605429u, 803923718u, + 3780034357u, 2318825565u, 2714731446u, 1770699611u, 4244475550u, 1870652906u, 3499023937u, 3285235771u, 3577683224u, 747104547u, + 4233160050u, 4072946241u, 2375034402u, 1122498001u, 2704538832u, 2641988397u, 2171799224u, 3620018592u, 2964287330u, 3535241359u, + 958672449u, 2467200682u, 2617645010u, 673925808u, 109729782u, 1911198250u, 2847624324u, 4222414934u, 1519108568u, 904332316u, + 3588845950u, 1607911136u, 1261242234u, 725116107u, 3136460570u, 2633242213u, 1321575282u, 1406820581u, 268407055u, 1140890809u, + 3833002475u, 360766680u, 1220014637u, 2052061934u, 2109184028u, 2783788310u, 3122070726u, 4040607357u, 2906059369u, 2473625971u, + 101306494u, 1976657468u, 3222822202u, 2110373938u, 146927770u, 1327903552u, 2522315576u, 1403134691u, 1811258937u, 2640431970u, + 4066049965u, 4196804387u, 2212620897u, 2859111723u, 3954066502u, 2403021955u, 429703120u, 1078270636u, 1598616344u, 3884137209u, + 1909270202u, 1818688414u, 3640257824u, 3309126323u, 3067293976u, 177131411u, 3368762808u, 1280671606u, 2563011257u, 2527303626u, + 2035756432u, 2890045880u, 4027891644u, 4036043307u, 1250370858u, 2022984879u, 652984386u, 3318965476u, 4209714760u, 3236558508u, + 3782238236u, 2891255936u, 241066950u, 2358211698u, 178103829u, 1547592718u, 2645452177u, 3501730511u, 2855806530u, 539775870u, + 3887502265u, 526236107u, 3923698748u, 1692888801u, 345830172u, 295905591u, 70070673u, 2152364885u, 1951443453u, 4016403092u, + 1973848103u, 2823173405u, 766924654u, 2731249320u, 3522285927u, 2687427753u, 3364640234u, 2579998306u, 2948549372u, 967176982u, + 2401346388u, 238353096u, 962462067u, 397213843u, 1748705855u, 3579847920u, 2518937650u, 3180494476u, 1401530008u, 1502705464u, + 2245749998u, 1980968056u, 2013921417u, 1212811995u, 4034030443u, 310826713u, 3995114815u, 3977311952u, 3438943980u, 1775128519u, + 138383574u, 474072368u, 1094420236u, 3868270703u, 1817976700u, 979243467u, 702464124u, 1059942492u, 1640381894u, 2062648492u, + 1495050155u, 1787713540u, 103627825u, 1367702651u, 2327259519u, 4159785552u, 1125350550u, 2096982687u, 2774065328u, 3401760631u, + 2436377350u, 743199916u, 3345619288u, 4085515302u, 3711914974u, 1296582374u, 759378219u, 2127932529u, 1424459925u, 2995364508u, + 4012594633u, 422756858u, 1164774299u, 2923030676u, 2331030813u, 474837293u, 163258781u, 2344437843u, 1518316146u, 1445542566u, + 1384887090u, 1816243178u, 1071611215u, 2690614624u, 3730800003u, 2743402828u, 767928416u, 1302833559u, 260171448u, 3630647028u, + 1411257517u, 2928482918u, 2762364132u, 3455088184u, 3242458992u, 2296398034u, 2322337314u, 2335494428u, 2788354206u, 1672103429u, + 3844985088u, 2843899734u, 3324767177u, 4110911693u, 1671017364u, 1393958822u, 3416272021u, 4097506229u, 2225777277u, 598035170u, + 3762509443u, 582278691u, 3834823165u, 2297085051u, 1557964979u, 2692104105u, 597703554u, 3861843714u, 4095481264u, 3830587687u, + 1046655811u, 298942266u, 342559257u, 4020302813u, 795233523u, 1672660503u, 1018375291u, 3764920862u, 2933675008u, 211774772u, + 435850437u, 1450695554u, 1745900268u, 352946213u, 2205944486u, 2554806009u, 3979817585u, 1686131133u, 3517828614u, 1551788729u, + 3304328512u, 245770798u, 3003794901u, 4282070718u, 260680906u, 479548614u, 2981685258u, 3578228495u, 3432434563u, 1712098823u, + 1258320320u, 2822520746u, 2932241610u, 4209853819u, 3967561158u, 3233587501u, 3984646951u, 2028093878u, 3085358124u, 2288959011u, + 205699499u, 3297690850u, 1911207479u, 2079568648u, 4201227916u, 617880580u, 2749796629u, 3123058629u, 1661830762u, 3249057144u, + 3303355697u, 3140781605u, 1299851550u, 2352589153u, 4112347243u, 1583740104u, 1833274688u, 1909649400u, 911916649u, 1796553106u, + 2639595614u, 1476373691u, 1625447625u, 3315378375u, 3161207848u, 3511372993u, 1208073812u, 2746921228u, 2288242295u, 51722587u, + 1775698167u, 3608304870u, 3080065426u, 2454959536u, 2756856853u, 379214937u, 3243383384u, 306355494u, 434952326u, 1210360535u, + 227348094u, 220049739u, 3359898180u, 956209539u, 241865675u, 3987979554u, 1686788763u, 3142715084u, 4220507210u, 3542816530u, + 4164741967u, 3852119018u, 1623420695u, 2161145018u, 2245390167u, 3184667001u, 4099300018u, 114756535u, 1462538247u, 2743990109u, + 152153882u, 3161597959u, 3133787148u, 2649041157u, 2909781217u, 1408453815u, 77986115u, 1540722043u, 3206553734u, 3328733196u, + 3533064680u, 3470844383u, 3555561093u, 1540464582u, 3672562947u, 3911404655u, 173996294u, 973877159u, 2457463085u, 2572781262u, + 532670864u, 1279576736u, 1925767390u, 1465968138u, 1566933637u, 773264630u, 1387774742u, 2122679230u, 2463974946u, 1646241761u, + 883201858u, 3311171502u, 3656261399u, 1225766389u, 1050042114u, 3768037066u, 3401903092u, 194068401u, 394191206u, 2167454929u, + 3950879644u, 2622390552u, 1004475413u, 310197425u, 3618985118u, 1513385012u, 3040327321u, 1621288789u, 3237275418u, 38833891u, + 98610560u, 908507711u, 1077608240u, 3263505010u, 3678424958u, 321054477u, 2523420442u, 2361969783u, 1042577638u, 3650974020u, + 2284785120u, 2895048033u, 3785473924u, 2741665091u, 718474886u, 4152927794u, 2463022221u, 3705778506u, 30544941u, 30260892u, + 1061450114u, 805433002u, 929920297u, 841235247u, 2136942763u, 974778515u, 3406478001u, 748239417u, 78731732u, 3350318581u, + 3566354544u, 2667946156u, 1553603041u, 2163874627u, 98805429u, 2906987947u, 1379105962u, 124552289u, 4057816456u, 2242511554u, + 1919418100u, 2892154526u, 154179670u, 3228607689u, 3518533864u, 350852320u, 153767603u, 1895560727u, 81453486u, 2532537974u, + 2561283823u, 3869615119u, 1838485144u, 1749529373u, 1666327339u, 29191457u, 924027555u, 2738733740u, 3966594274u, 4241859129u, + 3810176519u, 310590738u, 3925432466u, 2036980146u, 4034070570u, 1952543468u, 2322479118u, 277491807u, 615251177u, 1368550878u, + 2607015393u, 3299827899u, 1718708184u, 3665319351u, 4112674995u, 707124645u, 550098913u, 2323338948u, 268200271u, 621905076u, + 1620177629u, 1832263051u, 3499040117u, 979804169u, 3926403569u, 1151655016u, 354696733u, 3703817990u, 995220278u, 1784441128u, + 1919275075u, 1782070390u, 2328696562u, 3696945410u, 634019415u, 1335334610u, 435474005u, 2427435092u, 3170948637u, 1116165014u, + 4236675487u, 164020467u, 2060850247u, 3841211687u, 2555496118u, 3641958671u, 2646677918u, 556438728u, 2057827519u, 3264207858u, + 3649632635u, 3732576452u, 897758935u, 3170432700u, 3274359859u, 2785050211u, 1271692505u, 2600093991u, 2996769549u, 1354357716u, + 3771349901u, 3358460057u, 346120084u, 342149969u, 3216123918u, 131193094u, 3963385736u, 2311214400u, 3796527092u, 1940361310u, + 1191520201u, 2805511231u, 2626931103u, 220314306u, 625622621u, 2709773932u, 3980404833u, 3304777259u, 1980074444u, 427907446u, + 2959907112u, 2014408154u, 3727421159u, 1680555066u, 2563591967u, 2233335336u, 4185542292u, 3917712582u, 1943424111u, 357252698u, + 2488204245u, 3377408508u, 1921097745u, 780282695u, 3016565876u, 935191823u, 2065552490u, 185810705u, 3647555583u, 2128666181u, + 119886484u, 3110649697u, 266987542u, 2357909048u, 3675819059u, 118887006u, 1213800407u, 2107922376u, 4292924060u, 3612013844u, + 390167320u, 377983199u, 4037165089u, 2698328896u, 2699105797u, 1386817990u, 1344827596u, 947575024u, 808711342u, 593244464u, + 3522650541u, 971900476u, 3392115526u, 3668552105u, 3169243080u, 1409737763u, 1943683811u, 3516999861u, 3130457035u, 3481255127u, + 1181826499u, 652140590u, 3465900475u, 1288268611u, 2556254547u, 3779144624u, 1215279793u, 1891014773u, 499027513u, 2395099983u, + 18448075u, 1461691412u, 1289111851u, 4068455898u, 4160616499u, 2423548786u, 670887u, 2891209221u, 1549559983u, 2762552768u, + 330792787u, 1063608600u, 4240565516u, 4064080011u, 35319941u, 1961669542u, 942487679u, 1638716133u, 72005560u, 807278869u, + 119120733u, 3250636257u, 2099895228u, 1766520849u, 484818062u, 1181377223u, 4078469718u, 1403473839u, 618105945u, 1934937654u, + 2974064978u, 149680612u, 1254766033u, 2356226394u, 748026589u, 539493879u, 357859339u, 570385323u, 3815184286u, 1448126832u, + 1904723333u, 2634148619u, 1026564553u, 1555472929u, 848319289u, 320232150u, 2549555537u, 2362688617u, 605741829u, 4176685437u, + 997501964u, 1008633875u, 497666781u, 1116912239u, 2234317866u, 1004837113u, 2093844521u, 2849104350u, 1327478326u, 2288893491u, + 4064994059u, 3843589163u, 1755731978u, 4135100396u, 443097380u, 2837647162u, 1931184554u, 1776319777u, 2721038027u, 412287124u, + 2484683902u, 3167904506u, 1964983523u, 1844984606u, 2586333859u, 2845423404u, 3733532747u, 1722758918u, 1323200122u, 1314930741u, + 3118641341u, 1161781411u, 2921304066u, 3600818279u, 3473076531u, 2957841541u, 1749204958u, 4129904979u, 3890243015u, 3029586617u, + 677217837u, 2143882794u, 1502381205u, 2491237555u, 798695763u, 366638856u, 1902466470u, 1677147772u, 343615281u, 145254714u, + 349979549u, 3761257734u, 4247077247u, 1592687210u, 128582763u, 140349815u, 2141083558u, 64607227u, 3183104462u, 1903555465u, + 3274628089u, 453092667u, 4270169871u, 196306825u, 3909709549u, 3933819784u, 1991509768u, 1276330870u, 3567931816u, 1541803822u, + 1845701492u, 2823100654u, 1660274062u, 1075046887u, 2737863334u, 1997352186u, 2142775412u, 3334751104u, 1450549975u, 1958968543u, + 2019019028u, 535507021u, 2195143026u, 1267414427u, 2919787273u, 1999814052u, 3282150251u, 2389574946u, 3534662075u, 854218818u, + 614290299u, 2532516245u, 3372818914u, 2372065413u, 2387209651u, 1318253738u, 4263425142u, 831464714u, 868921910u, 3652108177u, + 655996322u, 4137287086u, 2140704751u, 2873291193u, 3353002461u, 1298535774u, 2151062428u, 1633325091u, 353966592u, 3779048525u, + 1351585626u, 1005096778u, 3534182167u, 1463215927u, 4013054488u, 3161827401u, 2031962644u, 351567833u, 1386903162u, 97857728u, + 1112938474u, 117103625u, 3100348273u, 2626880467u, 1980348702u, 2015646695u, 407865042u, 206233729u, 2754777430u, 4089585275u, + 2681972155u, 3509069547u, 1584426931u, 3075944264u, 2755395143u, 184486640u, 1372123343u, 1075211625u, 2619609207u, 4005731650u, + 2578340636u, 978227110u, 3400194694u, 2495586466u, 2811903090u, 2343625777u, 3746640043u, 2116990451u, 3961053765u, 896512154u, + 2787172696u, 845030240u, 115300053u, 2387427239u, 3259304709u, 3893836423u, 3781342804u, 1143595240u, 191370618u, 3789945262u, + 2105196691u, 176702085u, 3481478611u, 321302499u, 2076792342u, 211727431u, 4085529385u, 1442667736u, 1754399592u, 132976106u, + 333182359u, 3108269822u, 3807439560u, 3325920036u, 3970062802u, 1856888121u, 2655251403u, 2636142816u, 3568700592u, 826562944u, + 842378500u, 1583669181u, 681840857u, 2639412134u, 702828616u, 961913353u, 3756132578u, 1681602316u, 370994006u, 214533294u, + 1834361735u, 4275478154u, 2695797864u, 4266075413u, 527793563u, 981416380u, 2028297909u, 4068201523u, 1128666804u, 2746942544u, + 1014948119u, 4086559307u, 296963484u, 4191745817u, 1074650010u, 4066264069u, 383344994u, 1832887598u, 3243348412u, 1603526070u, + 3961458763u, 3802727203u, 3218561675u, 1815279020u, 1880873558u, 4130111748u, 483557517u, 3237671667u, 3577005459u, 616924950u, + 86406793u, 1514977236u, 2890871548u, 3660532311u, 1096468249u, 251023486u, 4155265178u, 1806110648u, 378470547u, 819851768u, + 2530173483u, 733158891u, 2648059904u, 1010901876u, 3305842268u, 1138683090u, 778649022u, 3469695914u, 2641744307u, 970782134u, + 1450893130u, 667065442u, 1640996611u, 1809262846u, 3258540738u, 367931824u, 1249886436u, 370978691u, 1960321931u, 1206168837u, + 2035245564u, 4121168958u, 4274342702u, 2493877927u, 688875568u, 51301660u, 1347755763u, 3888304052u, 360373342u, 1111618504u, + 108810675u, 4261076179u, 2360146903u, 946101892u, 3033805965u, 2443363304u, 948685217u, 1629009879u, 3603994637u, 2748359762u, + 175189678u, 2045772958u, 1598995735u, 4243281828u, 2925254141u, 2176629428u, 2996603366u, 4017115593u, 4242452686u, 2073133809u, + 3628893082u, 1415681279u, 3171499122u, 2065683963u, 1304973623u, 1693040794u, 4234666214u, 3999565893u, 2587507002u, 901728747u, + 208120423u, 1467651433u, 3595757944u, 472285175u, 1712637017u, 2254799244u, 1623729362u, 1906430118u, 1263353919u, 3114044841u, + 3703257037u, 906246100u, 2025332430u, 2635286672u, 2450870451u, 3460382080u, 1011792822u, 3823991896u, 4291688679u, 2154339798u, + 4198163023u, 890245403u, 2139419497u, 460944033u, 769469905u, 1875995941u, 4260667322u, 459080934u, 2520110264u, 3579832915u, + 1735971443u, 2802475561u, 1769458042u, 3810779170u, 3605544232u, 4061203542u, 2252701319u, 3568589601u, 4207684098u, 2499282964u, + 3029344055u, 2936167722u, 410727313u, 3524364384u, 1855559613u, 105072534u, 3707541225u, 4263155678u, 804119325u, 2840036037u, + 3842930239u, 1728191564u, 4280483996u, 4000105919u, 2531572223u, 3021268150u, 3405817030u, 1086084406u, 3434770268u, 1307488359u, + 604460783u, 4215187720u, 2251540745u, 1648253176u, 395632980u, 477321165u, 3792031968u, 961777670u, 3765498446u, 4089985139u, + 127235370u, 3409989358u, 286455243u, 2209245791u, 237382644u, 3363354410u, 1738207842u, 488966982u, 2220971967u, 53861940u, + 2073084493u, 620931678u, 3014871819u, 2608422751u, 294833625u, 2368162048u, 1786926136u, 3483668683u, 908543315u, 442769576u, + 1266479748u, 58780873u, 2517990164u, 57820528u, 664720814u, 906445152u, 588193413u, 419972810u, 587048749u, 1487448234u, + 2617996625u, 747842796u, 1441034529u, 1832623360u, 239768590u, 2317399075u, 4160436317u, 933159501u, 585243353u, 1942006369u, + 1958951294u, 809892284u, 3386559993u, 1476289687u, 3193602162u, 1684523564u, 3580962177u, 3137680594u, 2282706777u, 994741073u, + 1766937316u, 2125493426u, 1790025608u, 3728740490u, 2862703816u, 1259310798u, 1696217706u, 3674773144u, 76112506u, 2100900827u, + 2340148505u, 2723037184u, 3668753073u, 2701073895u, 2820010664u, 3860150361u, 2859175095u, 2722369738u, 3914024803u, 1343630160u, + 3804692958u, 2167392675u, 3597534149u, 223739868u, 1561402251u, 3459031932u, 1040168574u, 3984519755u, 1630660292u, 2699778103u, + 2875450478u, 741208819u, 3518782298u, 4246949516u, 4096680212u, 2572115040u, 2496150236u, 1221752611u, 2324494494u, 3325895038u, + 180825146u, 3564973240u, 2734375061u, 3441946542u, 2348042133u, 1136281182u, 2687863419u, 616022212u, 2161761500u, 1580334299u, + 2889440889u, 2349600571u, 1502443752u, 2702693343u, 861269786u, 339950394u, 2955150079u, 3546652315u, 2142392381u, 1289767031u, + 472420258u, 2015145171u, 930090376u, 10107867u, 1982504504u, 1188327498u, 4074890077u, 3250178040u, 3203238112u, 1000858996u, + 270676314u, 3257643176u, 672200235u, 1387574860u, 1805711318u, 48743062u, 2384969173u, 1515573112u, 2404967800u, 1185549465u, + 3429912886u, 1356807698u, 647066529u, 2145484152u, 1086435569u, 2647158056u, 1065858887u, 3893771706u, 2338626303u, 539213274u, + 215115972u, 4053103854u, 160815720u, 2159447527u, 1166111882u, 2397732414u, 2472493383u, 324412034u, 3695753794u, 3969495486u, + 1984334580u, 3840791188u, 4277655883u, 3457492894u, 2859208766u, 1708850684u, 1372935671u, 2763805223u, 2076955809u, 2083177706u, + 2464015799u, 468910808u, 826966005u, 2974470323u, 136550839u, 4005401288u, 4201737538u, 3338386446u, 1103968054u, 3337285566u, + 1500599048u, 3924164760u, 1771933408u, 2945680385u, 3493660262u, 1830941575u, 4022477906u, 1478940751u, 4272173804u, 3556558260u, + 3105672582u, 2200436534u, 1000639740u, 227186687u, 2302145015u, 2256889848u, 3169964418u, 1227671228u, 2615631108u, 3446797319u, + 857539556u, 1139158337u, 1511098303u, 2135974112u, 858701945u, 3622874782u, 3345529940u, 3249114830u, 1375879988u, 507390088u, + 2631909225u, 407643145u, 1620213469u, 883518351u, 387986241u, 1321927596u, 2656539197u, 2589377165u, 353792627u, 1045534396u, + 1320426376u, 3393180772u, 1388798047u, 2309374704u, 380234419u, 3385737994u, 1046917770u, 3580337899u, 33395946u, 1982809220u, + 1214696023u, 3831760101u, 2384289498u, 1329878761u, 3506358624u, 941728119u, 3309960977u, 2708598269u, 3708812328u, 3848543308u, + 253790330u, 627568161u, 725849587u, 3004498426u, 2353418412u, 989281707u, 2519882276u, 1720828346u, 3960701745u, 1545584414u, + 2603224530u, 2197644634u, 3409087711u, 3468601089u, 1664872527u, 3707397266u, 1811574525u, 454889451u, 318648529u, 894088622u, + 3430644954u, 2144267907u, 335078385u, 4138667344u, 250218789u, 2596598124u, 4263699812u, 3559276366u, 1287382378u, 2785691627u, + 2880659229u, 2575996185u, 3386108058u, 1714653497u, 3092785289u, 2280485139u, 1899530068u, 1225984869u, 4134127043u, 3515242365u, + 1587746178u, 1095320754u, 2659581276u, 4016561675u, 3698938087u, 3086668389u, 1261652149u, 965395960u, 1480155753u, 642739864u, + 2977638458u, 101779406u, 1292966607u, 2101352713u, 2297032560u, 2162579357u, 4122528635u, 3823454162u, 3774475814u, 1422798118u, + 3761182644u, 464176474u, 2325231646u, 234384142u, 3033676422u, 3060477924u, 1055416642u, 3275569858u, 2367510475u, 4053919072u, + 2264606686u, 1650828658u, 3724056761u, 3594032771u, 783564296u, 1932417075u, 2365522590u, 2063037579u, 476609888u, 1653566182u, + 343461345u, 4096838525u, 1082052034u, 3377519859u, 2147841222u, 3837286348u, 3378321130u, 3249300521u, 2775857478u, 1044440661u, + 2260588226u, 1610050333u, 2968295768u, 1604950138u, 2567107750u, 3248042487u, 2055773573u, 1396756724u, 881304344u, 1828114354u, + 1322374466u, 3061792314u, 755644006u, 2858468904u, 2601325032u, 223768150u, 2718893607u, 15732338u, 2630491725u, 1553501856u, + 2129309656u, 1759288181u, 3556978864u, 3072393003u, 425753u, 3763028505u, 4121358687u, 654906306u, 3687618993u, 2768238245u, + 1942267092u, 3324328517u, 3492415254u, 1265515739u, 154748935u, 3006065219u, 1537420943u, 1484254102u, 621599335u, 781103914u, + 3055945446u, 2291395779u, 721380795u, 823927656u, 3622073005u, 1372890352u, 1200559010u, 2789636992u, 4054666827u, 1902316176u, + 740278099u, 2475984470u, 3246926247u, 1225943623u, 3509307841u, 2816657663u, 3610020265u, 1549156116u, 3473042311u, 4060062727u, + 2181063029u, 809039737u, 3127839219u, 808966240u, 693102634u, 317865425u, 3663667408u, 9256863u, 1605369341u, 2123802824u, + 3121041203u, 4189095334u, 3849479660u, 3503537736u, 3866953360u, 1686454722u, 2916839234u, 2103925236u, 798881368u, 2564563487u, + 2328272656u, 2011331057u, 2551833993u, 3043444521u, 3009811997u, 3245367257u, 2456119032u, 4057182229u, 2501196493u, 786760774u, + 3018756980u, 1507477041u, 4127734824u, 2120564518u, 142528301u, 2515519060u, 3177244781u, 2942888171u, 954942855u, 1340030412u, + 3424387036u, 3430018409u, 852675747u, 3922435668u, 968747474u, 2269287410u, 2954701613u, 585984362u, 3880378573u, 1479983304u, + 463081967u, 3194280959u, 3354402132u, 667740822u, 3632740249u, 2255956098u, 3668696289u, 3074311507u, 309523646u, 877655886u, + 326150188u, 3229479133u, 2839882440u, 2282176509u, 192502823u, 1970962330u, 1288284884u, 2160395677u, 433938189u, 2163322014u, + 501465546u, 419090801u, 3086961135u, 1879698026u, 3441890956u, 338729853u, 743026423u, 7290128u, 3722933320u, 414711519u, + 1479141214u, 3551194080u, 3317006391u, 2461986432u, 309577818u, 2293447575u, 300683731u, 3088755004u, 2377918933u, 849252108u, + 2910675158u, 2982141852u, 4190671951u, 4250920267u, 90138592u, 1162005588u, 231107438u, 790613543u, 834080948u, 1710674599u, + 2733097279u, 3556939166u, 2203039901u, 2810574934u, 4118478529u, 1383510154u, 1437639106u, 2806855934u, 3908400852u, 799592477u, + 1237251012u, 1568410231u, 2866609450u, 2833614230u, 340802217u, 376991628u, 4020081668u, 3771623985u, 1479379779u, 2925360232u, + 1050625745u, 647071119u, 4209532680u, 3559467615u, 4043969401u, 3905434094u, 637441222u, 3640239285u, 2252492078u, 2591147588u, + 2642694750u, 4071569161u, 89862073u, 783636549u, 3947342222u, 2785449104u, 3189159764u, 4250502617u, 2630724298u, 1958223910u, + 166721973u, 476155014u, 387438671u, 1733559476u, 3781804634u, 1365511633u, 155297622u, 42108288u, 2859986111u, 4211270660u, + 513791462u, 1839998904u, 2442704177u, 2762882283u, 3436783061u, 3346765605u, 4059596765u, 646668979u, 864404837u, 3825969502u, + 2231363128u, 1534337507u, 1402650402u, 2776724323u, 3900401489u, 2438391485u, 4142169994u, 1041976714u, 40353170u, 2102315804u, + 1154645341u, 1711039319u, 2633350392u, 1855964221u, 2473654042u, 364264208u, 2860890739u, 1886954798u, 3732891734u, 1558701332u, + 3556509859u, 2250214065u, 710350664u, 2835654493u, 2906763693u, 4016478582u, 1485226244u, 1183658329u, 3778165016u, 2874391293u, + 3192222335u, 959533338u, 4292733900u, 1060157819u, 3809264796u, 544411962u, 1599384430u, 3710091099u, 2444242166u, 3829112089u, + 1640598541u, 680958796u, 492634672u, 2946629804u, 2382028090u, 3069770485u, 685597845u, 3889808824u, 1360929097u, 3681551573u, + 247669924u, 3684659407u, 3122641906u, 2506306926u, 819973419u, 4143319199u, 2900725767u, 1787349829u, 528994374u, 2442457061u, + 2342211158u, 2843062111u, 3647177540u, 1515567145u, 317865158u, 1333756021u, 3484405739u, 3783855042u, 2196798949u, 2614589659u, + 1681552964u, 1465296293u, 155731860u, 3556084821u, 131616569u, 3857833001u, 4188159061u, 733755725u, 492343602u, 1606665363u, + 550515910u, 2181514525u, 1982325045u, 3213298944u, 3348520203u, 3029290426u, 1600065753u, 3547021479u, 1654544781u, 3354667467u, + 2635180576u, 3116653795u, 1509984540u, 1509806919u, 1897044257u, 475759091u, 510736943u, 2862241208u, 1074966666u, 950148149u, + 123281293u, 1956631190u, 1478653303u, 3423677812u, 3412683596u, 1042400106u, 271728784u, 1707136588u, 4018802185u, 2643311432u, + 2007442506u, 4057538816u, 169988147u, 873836971u, 607934647u, 1333354254u, 1950388641u, 1263967392u, 170413935u, 1890095862u, + 1546966896u, 2034212349u, 824867876u, 4268684477u, 1594228677u, 3804819040u, 3953500450u, 2640945865u, 3760046532u, 1956237731u, + 3221486691u, 4097616613u, 3138522637u, 1494764818u, 683743255u, 2316553989u, 1854892998u, 2147369463u, 2610032060u, 232371396u, + 2170325101u, 1974562350u, 1220973943u, 846948690u, 1504062731u, 175549258u, 192042462u, 2292636525u, 759863208u, 2305180931u, + 3843480395u, 2766773557u, 2328198705u, 1219397650u, 2280420468u, 1581773818u, 3976908761u, 223513912u, 2280401710u, 1051340360u, + 2831058831u, 4019330910u, 1214806418u, 175549797u, 1805502372u, 1248529739u, 3887355730u, 567254457u, 3608518334u, 2264947774u, + 3265265844u, 2666938218u, 2001268542u, 1600354636u, 2934210994u, 3003187189u, 3472938645u, 2963493951u, 1007880349u, 3975295208u, + 3282347550u, 3781460590u, 4278539236u, 1552284804u, 4273505533u, 2959593081u, 842257085u, 2095553773u, 2276905577u, 3624388245u, + 618582016u, 2726949016u, 1584996778u, 2107829602u, 1067279341u, 3765757583u, 52003043u, 2407441467u, 2934221921u, 1364985830u, + 132974287u, 3436583352u, 3203153333u, 1266019238u, 4226757594u, 3553805556u, 1475464076u, 3640106297u, 1476916606u, 4060359451u, + 2272485927u, 1170590730u, 1178692179u, 876509851u, 2747383620u, 852429852u, 2595633137u, 817136139u, 1314951379u, 4285246248u, + 440727182u, 4085651513u, 3564856028u, 3568109482u, 1858205076u, 277932564u, 1539775900u, 659732482u, 2690300211u, 3224922329u, + 1303834359u, 246640784u, 4246639933u, 1968315457u, 3126064337u, 242031u, 3153065712u, 1647321634u, 550533059u, 2912403445u, + 928061246u, 141299572u, 564326204u, 3184676439u, 3933197786u, 2110356498u, 4246910146u, 447672582u, 1423300702u, 3296826492u, + 1603328334u, 381505558u, 2887231498u, 13353897u, 3826304364u, 1718881381u, 3431670530u, 1134975906u, 2113970912u, 963071416u, + 2427572555u, 3777086429u, 1567922063u, 62755293u, 2846942218u, 3096787142u, 3392284870u, 1821095457u, 3032087512u, 2768985502u, + 3539194865u, 1450002202u, 1920734778u, 2753758885u, 3383738258u, 1430600390u, 3059316461u, 2835077044u, 1025392873u, 976082573u, + 476786916u, 4162867437u, 610358197u, 340534460u, 4073484436u, 3725449280u, 2329410251u, 545672134u, 2041729243u, 1587922157u, + 1495462078u, 1988670296u, 2292064849u, 2239539398u, 776963519u, 3310292948u, 173083398u, 1342312358u, 3436392506u, 2339821373u, + 3979727489u, 3381485016u, 2699402583u, 118278997u, 3451952048u, 3384901289u, 4091543031u, 1805380252u, 3121653721u, 910161586u, + 3221875096u, 1107646692u, 1962096262u, 3534215397u, 4853163u, 2039288365u, 863319088u, 318102433u, 2586739709u, 934344421u, + 3895851830u, 1252172337u, 3763378986u, 1039032860u, 4064832849u, 139398510u, 3999341304u, 3166933309u, 2385192130u, 697211253u, + 442168643u, 2101629017u, 696962477u, 3425921410u, 499994278u, 547147999u, 1197841720u, 2163878899u, 73450815u, 242349282u, + 1734361076u, 3502514194u, 3149691716u, 2829676648u, 2795221706u, 3502222570u, 1199112165u, 740578167u, 2042748112u, 2112059589u, + 1225027644u, 2953290170u, 4061332397u, 1086772270u, 4222981561u, 2729791413u, 3835621203u, 2878104491u, 648931646u, 767219403u, + 3823431492u, 1372470720u, 2060184328u, 3955910404u, 913265344u, 645082523u, 845854352u, 291628279u, 1960468626u, 2870513646u, + 2696418998u, 789502326u, 2047218659u, 2442424920u, 2396932516u, 3234224714u, 1393500456u, 614715747u, 2615660208u, 1228451561u, + 4023060617u, 731377579u, 184062371u, 3809433569u, 2219483556u, 1282309904u, 4197397832u, 2571915577u, 35125421u, 1470078190u, + 3530152431u, 242500595u, 1998814258u, 2605712431u, 356804229u, 2085817582u, 3145116134u, 3936745418u, 3004703605u, 1954698760u, + 2953448311u, 4067870639u, 3919735657u, 1545430508u, 2684997662u, 279958180u, 563610496u, 37527937u, 591496431u, 84296607u, + 2795309792u, 1000903428u, 1453650819u, 2709173147u, 3958059115u, 3825777012u, 3786089218u, 3015587588u, 2877466446u, 930692838u, + 1500165864u, 3744969174u, 977953718u, 2454970412u, 1434299774u, 461744574u, 2882851597u, 495477680u, 3752759648u, 4209664691u, + 3900043692u, 2244715539u, 3567043351u, 385159950u, 2300786519u, 1064467060u, 1049336676u, 890521922u, 3314642007u, 3474244340u, + 1454109574u, 3492258053u, 3777726500u, 2400559030u, 3380094568u, 3362234252u, 1533325569u, 1681815162u, 1725648488u, 1127081038u, + 348176041u, 4133187401u, 15021632u, 335167337u, 695859340u, 3365719302u, 1168921135u, 1129760718u, 809131013u, 261168680u, + 2811398206u, 1769954054u, 764496394u, 3931222042u, 2906945556u, 1354254848u, 2478323897u, 3198861270u, 2645865549u, 3119626056u, + 2874725941u, 3758115882u, 216733566u, 3837422404u, 1300422706u, 1871266920u, 1462226814u, 633640901u, 353127050u, 183132287u, + 3338583108u, 2092277763u, 3164885357u, 1703998025u, 2921263970u, 1854642401u, 2475129704u, 1391802026u, 3745963424u, 974863739u, + 4032666394u, 101315001u, 1179620785u, 2046298550u, 3612721227u, 2892542248u, 1581131865u, 3318665680u, 632740508u, 3178856001u, + 2457190306u, 558200472u, 1495450740u, 254473070u, 531303450u, 1782328890u, 2650456391u, 538175250u, 579858845u, 3925282384u, + 1019780030u, 2321984709u, 3694688310u, 663469059u, 1507981641u, 2315957488u, 766468268u, 1194519235u, 4021011217u, 516487508u, + 2648292926u, 3867486794u, 2299848290u, 778617384u, 1473385794u, 4181775059u, 2487014438u, 1632451880u, 1687547886u, 499151235u, + 4004714424u, 2465841123u, 2330917504u, 919974614u, 4220045213u, 1048289852u, 1879361136u, 1829164472u, 2395920628u, 955553357u, + 2752007440u, 814024438u, 268191614u, 1736100007u, 3285984706u, 2974807673u, 1978699715u, 1355525130u, 2938863127u, 2525963572u, + 708667366u, 1778522869u, 326133458u, 2457298538u, 1540165329u, 3029364813u, 1251563986u, 2924086855u, 3191636659u, 1222498135u, + 947810647u, 3988175525u, 4280247444u, 4187196481u, 4149805983u, 2985640350u, 1967659984u, 672241316u, 3742768037u, 3226253379u, + 1435264522u, 946609499u, 1554381363u, 2954544399u, 56030997u, 795467813u, 3334786987u, 50076843u, 3527083649u, 198487834u, + 1182739988u, 2393785134u, 2428037777u, 2849618970u, 2718051180u, 2330072707u, 2717690542u, 3777953162u, 3293996517u, 2067002229u, + 3031845069u, 817657825u, 2641863874u, 1465039459u, 570187875u, 551501307u, 2435525378u, 1446081653u, 3546096562u, 1451364138u, + 798150573u, 3617878472u, 3032499222u, 1637801242u, 1795202205u, 3360994132u, 2229840775u, 141388837u, 966502074u, 2285026307u, + 3508260346u, 2363989894u, 664275549u, 1823425195u, 2951769336u, 2203185783u, 3722798315u, 1180885716u, 1585632442u, 626582551u, + 2493051971u, 3858496997u, 1268463305u, 1036646954u, 1172299486u, 2743358097u, 828957580u, 1853767973u, 2879393161u, 3394664560u, + 838114791u, 119298491u, 3621062395u, 994904932u, 2895878137u, 4138189546u, 927779991u, 1563522140u, 635376529u, 675917020u, + 1598803902u, 387203113u, 2473973959u, 848540417u, 4030273372u, 1501565081u, 1820117516u, 1661298555u, 1157658129u, 2805625516u, + 3935768810u, 1177385622u, 308078862u, 2901888855u, 14912739u, 4279746537u, 2041416079u, 2920671753u, 1203745626u, 2490858369u, + 2537697341u, 1721636050u, 2315520679u, 2323622727u, 3236524113u, 513349265u, 2724525244u, 2140050239u, 2834088179u, 2643778629u, + 2623719770u, 1471471850u, 1995039168u, 3580975803u, 3195638774u, 2944448871u, 2345277287u, 2589713104u, 2307801041u, 2049765171u, + 530176366u, 305592519u, 4133272896u, 3258845384u, 1026046125u, 2161436408u, 733144682u, 2351534052u, 377512161u, 4256231129u, + 2279808792u, 3687496376u, 3943291955u, 2572207184u, 517396867u, 3125686568u, 1161633223u, 4224075476u, 2721143361u, 1438767587u, + 2086946249u, 770712118u, 590118643u, 966255697u, 968092798u, 1674999213u, 961461476u, 4164858722u, 523108582u, 2390687204u, + 900225804u, 2846162600u, 3525667439u, 2829221930u, 1522888115u, 1346120492u, 3839101981u, 149512473u, 2775063149u, 2426118767u, + 2157327471u, 2854906251u, 2766011096u, 2012734005u, 3765656878u, 1539621652u, 304227786u, 643311879u, 1208114586u, 3677313435u, + 1268507452u, 3857318149u, 2973904839u, 3515944206u, 1838351819u, 2544304170u, 1983945519u, 225007957u, 2498683290u, 398002914u, + 486699907u, 2457962674u, 279016823u, 4235882927u, 257846907u, 842282554u, 1444387331u, 2128354049u, 1614602586u, 1725819380u, + 362958298u, 3731932833u, 1428748576u, 2974363545u, 1031822816u, 2019422040u, 95993881u, 3024519200u, 931682162u, 3261557453u, + 4289343815u, 3457416872u, 3286590534u, 411667013u, 2976919107u, 727318783u, 2462956574u, 2697290865u, 3219924617u, 602859835u, + 3660978552u, 256090748u, 3903633529u, 3584927911u, 3608804127u, 3089572119u, 4199754575u, 1214715210u, 3633736441u, 2464644105u, + 568118860u, 46344376u, 2379877999u, 938319956u, 1247540989u, 3931241474u, 3443717077u, 1920511033u, 2726906328u, 1751465228u, + 1230691816u, 2857756961u, 2219995157u, 2691775482u, 668564484u, 593592713u, 611769736u, 475463634u, 975336302u, 3572471395u, + 2448543213u, 944669944u, 4053904069u, 3261669756u, 2335417978u, 2632307108u, 4262019569u, 4215835787u, 1519327077u, 2925624819u, + 3629705716u, 1272096558u, 2503259852u, 2190556270u, 3988513459u, 157270579u, 801060736u, 3388208284u, 2951577103u, 3284830678u, + 3200433750u, 2210748553u, 4134096296u, 1999419277u, 2124089471u, 453502930u, 3994167474u, 1901846740u, 1458886148u, 2981786311u, + 2077938712u, 1033241196u, 2890963003u, 3706792982u, 834358209u, 4012126393u, 3921087516u, 3515835075u, 3170496740u, 1774646509u, + 2218269723u, 3320094603u, 978996977u, 3475825258u, 1676260097u, 1969303847u, 450136132u, 1043735142u, 832054904u, 1185504651u, + 3718000507u, 3070752286u, 1947432606u, 1165113113u, 2757923525u, 2064654336u, 2553263144u, 763302651u, 2553611188u, 1491983619u, + 1213002071u, 2706045754u, 1869442387u, 1256287172u, 744785263u, 2217475878u, 2159697906u, 3338966530u, 14830662u, 373275606u, + 2452890223u, 4262193945u, 4188520850u, 3905540405u, 357235315u, 1422004737u, 4138174299u, 1986667637u, 1557193959u, 148711378u, + 3496345500u, 3199436387u, 1521028011u, 3557085062u, 3670823894u, 3285617757u, 3537615292u, 1495845338u, 1853697388u, 2234129874u, + 130093938u, 3486853458u, 3418856607u, 1467234467u, 1277636740u, 3529893309u, 2372504625u, 3293813155u, 2082530966u, 173946142u, + 3763990670u, 2326841235u, 1668668863u, 1390018586u, 3998044814u, 1771299061u, 365528269u, 1413096363u, 777607467u, 4126667220u, + 2608108110u, 4133890660u, 1827306485u, 3206392397u, 1107440342u, 1905447984u, 1895898500u, 2972048084u, 504383064u, 4135318557u, + 180333074u, 3521782311u, 3996484762u, 2804365334u, 1387026473u, 1477049475u, 3070836063u, 2382273657u, 1368998604u, 864077184u, + 62181607u, 2706576829u, 2715494975u, 3258898799u, 2329178540u, 4230914253u, 1526339572u, 2999017346u, 2611371525u, 2705268939u, + 1251306680u, 1062467943u, 3763315581u, 3258108515u, 4196253625u, 1855132741u, 568107856u, 3916990073u, 3910559232u, 2814728282u, + 3654163064u, 3511411920u, 1736275476u, 4170285515u, 2713451655u, 2183227770u, 1749645367u, 2925538155u, 1032210186u, 196445254u, + 1820960139u, 2544080386u, 3477766727u, 53375874u, 2437151513u, 525912267u, 2483176629u, 2016604u, 2425538309u, 3508530542u, + 1993471341u, 1905401500u, 1508412088u, 2298838235u, 4026506392u, 3166331631u, 3496007948u, 1966553166u, 1086893607u, 782497354u, + 3650788041u, 1716874077u, 2073757561u, 2066463318u, 2740769419u, 684928195u, 497035881u, 2108677239u, 2761689894u, 1785049609u, + 3222510954u, 956159673u, 2963508633u, 2098768840u, 490241523u, 646727114u, 830666003u, 3839127272u, 669125459u, 4013568689u, + 2948629917u, 2017158058u, 3643258927u, 2466863209u, 3208795609u, 1950499966u, 190530798u, 1987508745u, 1021716851u, 1722615711u, + 3869429143u, 1478404016u, 3952725656u, 3028119971u, 1512932934u, 1508296422u, 3416621397u, 4224809883u, 2157389291u, 1000077583u, + 111579355u, 14718534u, 1028246996u, 2808247371u, 3341489820u, 2570351839u, 3129906536u, 812682226u, 1995066930u, 3920031269u, + 501870081u, 1518115581u, 300992443u, 2210928184u, 1612997801u, 3113056249u, 2662957667u, 3357826504u, 1674041538u, 86188650u, + 209512731u, 3879687148u, 3476472852u, 2030296507u, 3335483900u, 3512453101u, 529132773u, 473611027u, 4017361186u, 785736785u, + 1582693522u, 125703071u, 1062245365u, 1427910782u, 2038673817u, 3271478118u, 4097661893u, 3087912654u, 1217126321u, 2127911567u, + 3242029335u, 3171424182u, 1856015857u, 1866691180u, 1010431259u, 2214392733u, 3882919205u, 3798032262u, 2522724953u, 3003842104u, + 1890312849u, 698529968u, 3991929873u, 2988296212u, 497984797u, 3870610188u, 3396255948u, 1915681102u, 134707075u, 810385205u, + 1006248672u, 1600127196u, 3866024045u, 3701860764u, 917899010u, 2584888477u, 767978470u, 2924540399u, 2630686383u, 514027590u, + 3450709045u, 3487405882u, 301674042u, 2754104635u, 3290784283u, 3754960610u, 3437799435u, 251362446u, 1518322162u, 2419621264u, + 876371190u, 1236963606u, 1670893355u, 82739208u, 1985162838u, 4219538962u, 4107823342u, 1511966308u, 2574158051u, 2598688390u, + 1352212805u, 1331957175u, 3080530164u, 541959245u, 2866523258u, 1189212985u, 2339204263u, 3674200753u, 1085741744u, 3468304676u, + 989597453u, 1519754758u, 851023315u, 322854181u, 260794644u, 4018825147u, 3440528766u, 1645426186u, 148652223u, 2502915304u, + 1477458459u, 1367390951u, 1770930118u, 2757364301u, 3576557313u, 751052472u, 2420376668u, 718169285u, 3568143990u, 4222715929u, + 2663732760u, 2850226257u, 2235371868u, 711979350u, 774485305u, 4263177689u, 1529210287u, 4177854190u, 3983123979u, 3560315095u, + 973894251u, 459162214u, 1743530052u, 2467679736u, 3471955090u, 442058232u, 2362544127u, 529234244u, 1157709738u, 1372578341u, + 499266696u, 2274412279u, 213119726u, 1248844811u, 1482719604u, 948750133u, 1401173161u, 193934148u, 3660910229u, 3326985074u, + 767861238u, 2799228552u, 3633902559u, 2730116038u, 3637374289u, 2899903506u, 3287308096u, 2373734585u, 1184132613u, 1124565287u, + 3106850583u, 2755813949u, 73225702u, 3628976056u, 4283273453u, 4063908706u, 1264512449u, 2645270128u, 881691621u, 2187562099u, + 3172143137u, 4068531589u, 3818948127u, 1398335504u, 3522264626u, 3806118789u, 1192673194u, 2700864727u, 2137776925u, 957117528u, + 1254717341u, 3534717002u, 278175701u, 2237655345u, 2900026533u, 3903653100u, 2601244157u, 881171684u, 156008506u, 1511413760u, + 1187581129u, 1842018960u, 1567753193u, 2962466899u, 1046094067u, 2520035968u, 2418931430u, 3424339994u, 3643343910u, 4159062372u, + 1625202281u, 2103238697u, 910785302u, 3879856352u, 311285131u, 1738467733u, 2261564687u, 2202730957u, 1251308889u, 2259857897u, + 2427594501u, 2673892767u, 1156651363u, 3782146453u, 527533753u, 3600988783u, 632767543u, 3727516098u, 1892264273u, 429582642u, + 829962154u, 4237003434u, 3162545422u, 2415653580u, 626648316u, 471120847u, 2140075096u, 3394326990u, 135073916u, 3503212911u, + 2378621280u, 3765949872u, 3542274672u, 1331047845u, 1055334891u, 2849403165u, 75448683u, 1430973699u, 669691803u, 4250478293u, + 3789682409u, 595653486u, 4269861228u, 2884953219u, 1584752065u, 1864291987u, 1610323142u, 4099565685u, 5053969u, 1274178066u, + 3139756849u, 692807639u, 2924256373u, 989490145u, 1332407263u, 2307430009u, 3859118778u, 3477287875u, 3609587330u, 3088217032u, + 267893728u, 928463116u, 97242837u, 2751852236u, 194594773u, 2607485678u, 569694802u, 2924201165u, 2642878951u, 127751921u, + 483837637u, 2982750082u, 3279113115u, 2401394309u, 2154857943u, 3365521525u, 3095960517u, 3727689186u, 921000465u, 1008314629u, + 259290515u, 2430724321u, 2443271347u, 1380928788u, 3481454088u, 886364508u, 1428359572u, 1569382979u, 2184322646u, 3305405464u, + 1714915378u, 425685323u, 2463058825u, 1272265825u, 4025357523u, 2452327172u, 3772980340u, 3410422581u, 402764205u, 671012759u, + 152432981u, 3524608934u, 1368448909u, 2951355874u, 2899804693u, 477834388u, 1890261064u, 1718488369u, 2837336810u, 2413976880u, + 3213809721u, 3689140884u, 158957906u, 3274970766u, 1947332540u, 3271261490u, 3962950926u, 3146174127u, 1108290174u, 572304657u, + 2722508159u, 211557645u, 1038504344u, 1471355009u, 2198818054u, 1057132445u, 3531297698u, 715450280u, 1740054531u, 35088310u, + 1719846477u, 4199151299u, 539226127u, 757486911u, 1271430825u, 755507816u, 2614740685u, 2522192165u, 3133700719u, 2550895070u, + 2405750896u, 690976378u, 2916733301u, 2589387078u, 677680757u, 1982825913u, 289974788u, 1104877537u, 2389487402u, 1533922996u, + 661668238u, 3711325575u, 3066895711u, 3546310198u, 680014786u, 1772943614u, 3828575677u, 333743173u, 599915101u, 311613139u, + 1378888598u, 2103762251u, 327235644u, 1919277427u, 3281067532u, 633180988u, 1979981298u, 1485339770u, 3206124058u, 121301981u, + 696661901u, 176341083u, 3261823825u, 1443317269u, 3070549299u, 2290457447u, 1065282160u, 166591898u, 4026625156u, 796949200u, + 3445040175u, 3095233775u, 1622129633u, 401226653u, 2342835405u, 1645114507u, 2826797440u, 1528899242u, 4000117661u, 3141252831u, + 1576040520u, 1036082217u, 3444108835u, 3468460249u, 476643088u, 304721588u, 3611046773u, 641958146u, 3055746596u, 790056109u, + 1862538163u, 406736461u, 2290331451u, 1205405245u, 2585468319u, 26079740u, 2362646734u, 329455040u, 2680832304u, 3535652741u, + 1986365934u, 3396551926u, 319896363u, 125113138u, 625768434u, 2627293578u, 2573077394u, 2238391164u, 4020093448u, 2666815257u, + 3297722375u, 1396390510u, 1565813576u, 682115368u, 4001085611u, 194022039u, 1915303992u, 1161719383u, 2636137291u, 75915187u, + 1752290214u, 1664107890u, 2763616560u, 3968945536u, 747152925u, 3575845028u, 3858848939u, 4276814574u, 1922023253u, 231211943u, + 2754447121u, 2631928825u, 2868688351u, 1074921174u, 2124049545u, 450906486u, 2404154647u, 376748723u, 4166784116u, 1029537813u, + 367691278u, 3666757942u, 1357775949u, 1770576584u, 751424888u, 3828701216u, 1356312180u, 4077090421u, 1607202398u, 999313813u, + 2940350271u, 1997928659u, 2811393175u, 472913142u, 2359464898u, 3759016167u, 716539710u, 4065365258u, 3741939039u, 3953729531u, + 1381124034u, 3000258461u, 2985926839u, 2965099911u, 566307224u, 3225296274u, 3282906894u, 810940993u, 2864155424u, 222382571u, + 2706013114u, 1804547958u, 2729951675u, 3506459336u, 3508443933u, 1573739984u, 2343758628u, 2589459538u, 2271964892u, 2772312356u, + 555241543u, 3067325204u, 3623165517u, 3798198123u, 682890849u, 1453131250u, 1491105539u, 2847552260u, 3276647447u, 1825358861u, + 3267543625u, 3584751721u, 4240236892u, 3226992313u, 2703302376u, 1493307687u, 1106817605u, 2913309995u, 1033797886u, 1905407845u, + 4142615406u, 1940262507u, 3610622275u, 53267062u, 593759360u, 413406069u, 3384343228u, 2063012583u, 2118845943u, 1646765383u, + 1681565797u, 1898980375u, 2503716630u, 602681698u, 540066505u, 909593631u, 2045713136u, 1552017657u, 3977115905u, 3439075671u, + 3921571254u, 32208579u, 3029473460u, 3397996211u, 796997168u, 3809915501u, 3977220856u, 3386906379u, 2950644110u, 1070989766u, + 1219982350u, 987519678u, 2039860823u, 2305987917u, 1516145002u, 3081448243u, 2982210519u, 835243828u, 3471022039u, 1829865562u, + 3514388388u, 2972507205u, 2054199572u, 3955050970u, 1902819245u, 3958780693u, 2062868644u, 1934418699u, 1358191992u, 423364604u, + 1195923957u, 2845892252u, 1067674749u, 845879615u, 587100843u, 2868975186u, 945429050u, 2740304004u, 252759726u, 3095925050u, + 3702081291u, 3904847573u, 2359928924u, 814489889u, 2150794675u, 3599345874u, 3915555924u, 437423529u, 3767748452u, 3782463593u, + 4291289951u, 737415871u, 3413620930u, 986051985u, 1018704122u, 333906173u, 2998267961u, 2355186145u, 2803232551u, 3895395706u, + 2027888927u, 4127205717u, 943060398u, 30099692u, 671286794u, 1200187121u, 4027209045u, 3078526274u, 2097831098u, 2109000836u, + 1401080263u, 1549068532u, 900647522u, 1116956248u, 4257399423u, 2273934290u, 3451361980u, 1418631333u, 1333504179u, 3474471068u, + 1520501447u, 223400760u, 4007462596u, 2889757507u, 1531667269u, 702708690u, 432675590u, 3915481499u, 3947493819u, 4158051861u, + 411374925u, 1052828821u, 368230630u, 4214454925u, 3461321777u, 3024721687u, 2526476660u, 3880501825u, 3762644722u, 1881667268u, + 275688013u, 3209926617u, 1268547518u, 2514610049u, 2739131604u, 2628221703u, 1888499527u, 2113316971u, 1841947784u, 478461133u, + 2180087582u, 2441877588u, 210914608u, 501282400u, 3301282764u, 298770977u, 2845112861u, 3928726167u, 1217381711u, 733095556u, + 588690036u, 2495002564u, 2769381368u, 1969942562u, 3360304460u, 976896382u, 3849207739u, 2515626633u, 4283674566u, 820424102u, + 2011683902u, 3367210427u, 1982296438u, 1587855971u, 281396543u, 1240758041u, 1892659591u, 13479143u, 1308835703u, 1784816545u, + 2853029052u, 1787517289u, 370481910u, 1961904267u, 709586258u, 563261502u, 3997054888u, 3454878881u, 1576059649u, 933268251u, + 1681139678u, 458916947u, 3670414481u, 742699490u, 4086215114u, 2675712955u, 1926954369u, 1340916182u, 3753378398u, 462401184u, + 1638831198u, 2556655800u, 2961122551u, 867870082u, 2758434509u, 2738026841u, 930947225u, 2735653379u, 3058504736u, 1363510235u, + 2815217411u, 686574356u, 3626324858u, 876093053u, 2048027657u, 3412081873u, 3947935665u, 1900920815u, 4125764987u, 2694591177u, + 452797426u, 3761725123u, 280969468u, 1566566121u, 3268300414u, 3726504848u, 2352223426u, 3705235664u, 1098376628u, 839001058u, + 2489333343u, 490427541u, 4058692211u, 195142168u, 3384052099u, 2471283108u, 2603395643u, 21624494u, 3331869968u, 1604647050u, + 2771868659u, 3001323011u, 4010862310u, 2516983827u, 1906836019u, 2575826092u, 3488332714u, 1550183580u, 2116700208u, 4206711179u, + 1485557834u, 2363005672u, 3604138663u, 3456776494u, 1453959965u, 3046125268u, 2163751961u, 1811050093u, 4170737127u, 1900199296u, + 1133836359u, 1500663772u, 4051767092u, 1341412949u, 2722570644u, 2345920546u, 1409056265u, 2666886397u, 3589669617u, 854296064u, + 100002269u, 704664027u, 509872747u, 3355606146u, 2892388749u, 1867384794u, 2553455845u, 3993486212u, 742373338u, 2271326662u, + 2937103648u, 2777847065u, 3294859746u, 3345960385u, 2447576245u, 3034895138u, 2719178231u, 2308445983u, 4212832464u, 1568682501u, + 3510768993u, 3026246373u, 1033286839u, 2870887015u, 3076378457u, 2810945404u, 2500498267u, 256754809u, 130015799u, 3836457212u, + 622767179u, 260382172u, 313333535u, 1566329559u, 624976348u, 2798401313u, 2529436317u, 534140711u, 3967968021u, 3019686421u, + 3746972685u, 560960422u, 4039091974u, 1823793157u, 800418908u, 2270457893u, 4059753u, 2417957689u, 2860244602u, 707935683u, + 566246385u, 2768113313u, 1990079140u, 3437232206u, 3883713417u, 3411322105u, 1006156346u, 1495451484u, 3161138469u, 388853712u, + 3960076208u, 2213736219u, 3765739192u, 2819560736u, 181141886u, 1591006797u, 2022520063u, 1123897712u, 2017230913u, 2938333772u, + 2284261804u, 3762375038u, 3382160641u, 3075963858u, 1761418412u, 3794801929u, 2556002364u, 2261137190u, 3295922623u, 1780398769u, + 3917316644u, 4038814179u, 2631575519u, 1050154212u, 968813058u, 2163261540u, 2893739823u, 3653715931u, 4109575312u, 901126738u, + 1450955693u, 2773912994u, 1787051062u, 4265112731u, 3699643161u, 1520649736u, 76444456u, 2849260461u, 3385141148u, 1475284358u, + 4227714590u, 296739913u, 556047138u, 602904478u, 852657890u, 1155025854u, 529599577u, 4051755256u, 1864083467u, 3088128150u, + 3930381518u, 1338912772u, 355509052u, 438998074u, 1997884779u, 1653992655u, 144935957u, 1732740171u, 3246024142u, 4229708260u, + 3360211381u, 3790922656u, 585955043u, 3899127213u, 1574637128u, 614178777u, 3923007086u, 1118407901u, 2278812892u, 3370326722u, + 2225914875u, 1748551462u, 1641264227u, 608640869u, 2732293667u, 1714340837u, 1213310489u, 531154583u, 407445974u, 3426677509u, + 871281290u, 2725200059u, 1439398754u, 1083874433u, 1409044889u, 1695211562u, 714791187u, 1431845459u, 1328121183u, 26774220u, + 569024488u, 2171277590u, 3953392219u, 1135249624u, 677759067u, 1201210641u, 3463970136u, 22987836u, 1403803314u, 299806888u, + 967683519u, 858573818u, 3099464928u, 312319908u, 1785963240u, 2786334253u, 3057979017u, 446197697u, 748862496u, 1539230228u, + 766533878u, 2424205358u, 2869504915u, 1002929293u, 2844938622u, 3335007978u, 796281223u, 3270889111u, 1743923541u, 1821213618u, + 1791919978u, 3590390277u, 161474922u, 3242337658u, 3302108638u, 20979152u, 2702697729u, 3057620129u, 2210207114u, 606757422u, + 1215908547u, 1591198599u, 2926185930u, 2856722901u, 2500383377u, 4008558224u, 3853040480u, 1598415470u, 4234998484u, 1385243961u, + 1248160951u, 1107220420u, 4268922039u, 4294865970u, 230334218u, 2797451738u, 2495165288u, 3748619606u, 1450078412u, 2713403925u, + 1942319371u, 2839861144u, 3365353442u, 3288483679u, 1360634577u, 10571392u, 2355419026u, 318894989u, 3601712084u, 645238287u, + 4177484758u, 718876190u, 370635244u, 2025980534u, 1127450327u, 3737496893u, 247395234u, 1898454334u, 3246695424u, 2786648596u, + 3153884811u, 3012655407u, 1399982735u, 1766781631u, 3493910369u, 857862028u, 2616671409u, 1450126479u, 1030363587u, 3619890377u, + 919467029u, 2824500242u, 3707924560u, 2899568398u, 1242371879u, 505898593u, 1323501701u, 2298186195u, 1319067978u, 1135461574u, + 3088282326u, 3379948214u, 1396695292u, 1168884266u, 3681574545u, 349444729u, 2640707282u, 3372742959u, 95200849u, 1124021897u, + 2591411079u, 3081716711u, 2989657480u, 3468126285u, 1510613238u, 1097970089u, 2336479196u, 139177291u, 1426260516u, 2093677909u, + 765055397u, 788389553u, 2212999025u, 3044823021u, 2352681090u, 3952978256u, 2602776360u, 3099848314u, 1564234254u, 4047535139u, + 1103372757u, 1230916387u, 587155170u, 1974505862u, 3537565547u, 3320805214u, 2963732008u, 3952915451u, 4077174081u, 1030201014u, + 3617777243u, 3763043377u, 4219595023u, 2758466855u, 1319340539u, 1501293635u, 347964250u, 1798411694u, 3660520478u, 1055750073u, + 1782791771u, 3899072583u, 2890184549u, 441546752u, 1239212229u, 1134108477u, 1821186017u, 3906939691u, 2507157151u, 3356853630u, + 3192886287u, 30883828u, 3676193353u, 2252060902u, 2731694858u, 3882571260u, 1870981179u, 2492020682u, 2180528013u, 371757141u, + 233008052u, 2471290323u, 3289873177u, 914620608u, 1865391422u, 990912788u, 1695916106u, 2309830928u, 3171522603u, 860905389u, + 909039798u, 4009758882u, 2878969121u, 4293361877u, 2225828679u, 361092692u, 526166230u, 2444769997u, 1977138542u, 4241086897u, + 1893573796u, 471849565u, 347430200u, 367729969u, 629945702u, 1531161830u, 2103814688u, 293906865u, 3982236219u, 2645802874u, + 1050803559u, 1241701713u, 2715750874u, 4131909486u, 2066087282u, 3020131902u, 991329096u, 2655949935u, 3757203266u, 3388214337u, + 458953810u, 2260513453u, 2897552280u, 4072538685u, 605914295u, 1386094158u, 1816933598u, 1087935091u, 635922996u, 1273461715u, + 913643667u, 2562393632u, 144288215u, 3092163932u, 3843484039u, 3368952439u, 4065156860u, 3751146329u, 1990696058u, 717194677u, + 3177339497u, 2659418455u, 305197815u, 3595683203u, 2041370445u, 660306501u, 375598147u, 3048099049u, 1179377433u, 3221260189u, + 3615296357u, 593541171u, 680669971u, 1777984675u, 1653748507u, 3539495366u, 2311350511u, 2304861556u, 759810058u, 1433250497u, + 4180535922u, 4258959327u, 1188595162u, 2876098866u, 3066821542u, 2915568350u, 525149359u, 3251169227u, 813899708u, 608684063u, + 2817026989u, 2799704085u, 2126982318u, 2532455356u, 1874495172u, 390312806u, 957001385u, 4039072999u, 2544755056u, 2904943637u, + 2339858911u, 137398180u, 3709359510u, 3988589919u, 3655375134u, 1399337855u, 1208388404u, 1325919307u, 3872845250u, 318269685u, + 104158579u, 3163626423u, 2033427628u, 1182020948u, 2550182184u, 455508265u, 566113221u, 3496777800u, 3036593430u, 3747817223u, + 708569565u, 2933766897u, 451154041u, 1008522765u, 2718026585u, 2395620585u, 3499121512u, 3607232246u, 2354088443u, 2404756846u, + 3453222574u, 322129816u, 1410766362u, 89876239u, 1864301485u, 303905098u, 3627601745u, 442298897u, 278759594u, 3012297950u, + 577029507u, 173636936u, 775251535u, 1001299345u, 49937895u, 486902322u, 4167330932u, 2656574704u, 3984109186u, 2077234873u, + 3149621689u, 3828388159u, 4189166296u, 2594235827u, 396714614u, 3250698073u, 643139115u, 2385468429u, 2884581094u, 3455290287u, + 2848243387u, 1980766277u, 1004286755u, 2548717967u, 1115528667u, 27137600u, 4016435332u, 2625065844u, 676805454u, 3137685524u, + 2575189290u, 3157617462u, 3881002686u, 2161838624u, 1352128120u, 3541744852u, 3587063889u, 1274938734u, 3400686280u, 2030726310u, + 597914283u, 2110833188u, 3765121638u, 1096624895u, 1005434233u, 106361043u, 909905278u, 1602475208u, 2295635624u, 2881317727u, + 3711383920u, 255209878u, 3345217036u, 588819568u, 2976775499u, 3281861808u, 2200531189u, 2368148915u, 543232016u, 1275051877u, + 740601153u, 4054395744u, 867943192u, 1961200825u, 2068212799u, 579778046u, 141421428u, 1239277384u, 3698765176u, 1537521373u, + 1159699934u, 3140694433u, 1020002672u, 3133146906u, 3719638517u, 2342259631u, 2886492064u, 1012970446u, 290050841u, 413409914u, + 1682213722u, 2786980586u, 2771941160u, 1705948025u, 3139845412u, 2528569227u, 694168821u, 349354722u, 2689568479u, 69332099u, + 572035460u, 2982000516u, 2799223679u, 1915334745u, 1458018770u, 953326941u, 3354434317u, 3298258472u, 2441885992u, 4087291552u, + 2085946527u, 1454870095u, 2771455526u, 3233574786u, 927806367u, 2138793643u, 334475817u, 1055699428u, 769768115u, 2672398813u, + 1379519935u, 2371922821u, 4177180075u, 1687699819u, 2692074137u, 4110208184u, 823810288u, 2254380939u, 204026869u, 3211139396u, + 1452821590u, 4010715473u, 2767063731u, 2739012719u, 1329704404u, 854673974u, 1543116333u, 1323400293u, 4167047075u, 2616257163u, + 3952604016u, 2612771114u, 1075308327u, 1766355539u, 936082366u, 2092191713u, 3615348526u, 3044058224u, 325969840u, 2608310284u, + 2179066916u, 540306453u, 1851636895u, 805869083u, 19690120u, 789849099u, 3872880140u, 3408172532u, 1229224172u, 689899413u, + 1204688060u, 2384701093u, 1551785934u, 1582639545u, 2798093951u, 649357847u, 96534064u, 3762817165u, 2428916286u, 1333954132u, + 2184390029u, 347845408u, 1776699006u, 3802532833u, 2183511989u, 404590719u, 129612176u, 668347357u, 4249410438u, 3187475322u, + 1067974134u, 1332910768u, 932654540u, 950515078u, 527449399u, 688513454u, 3190970759u, 1116926869u, 495613187u, 3049932123u, + 2115096380u, 260431034u, 3548255270u, 2212685507u, 2464927701u, 1797599578u, 3625709972u, 2357048555u, 3817590422u, 3023620063u, + 1474728951u, 1450015389u, 3164172674u, 3141378874u, 308407738u, 4207371786u, 3279802376u, 3131843213u, 2466300419u, 1092878379u, + 387209074u, 1573972434u, 2276625875u, 635966653u, 2574330111u, 740616539u, 3024935630u, 2356236293u, 2041580487u, 1942449675u, + 33373377u, 2516386806u, 2647102882u, 1355643318u, 258565750u, 1064624671u, 4035255941u, 2514966541u, 16876140u, 855718391u, + 3787652394u, 707926569u, 1330785708u, 3168251315u, 978001058u, 1160808787u, 1887681966u, 426468270u, 1361205849u, 3544978008u, + 1943454835u, 692335154u, 517476792u, 1677532099u, 1713414022u, 3187933989u, 2206915942u, 3569026642u, 1525389436u, 2165022973u, + 39125985u, 144897774u, 4251093965u, 883079087u, 1938790063u, 1557705540u, 1221083602u, 1181035252u, 1375503674u, 2922178638u, + 1034070010u, 2101019779u, 743191104u, 1593075727u, 355545188u, 4275198683u, 3843934345u, 1828654427u, 2697315205u, 1332098932u, + 1989187568u, 3701946346u, 358945128u, 1203285386u, 1826969288u, 123983981u, 1965800633u, 4195172774u, 2750387845u, 517845214u, + 3989513702u, 871808891u, 288101071u, 2387334865u, 4054390425u, 2634701783u, 873572893u, 1722145279u, 1022645657u, 2728715344u, + 1977438295u, 1720226555u, 3486411246u, 2331148470u, 1756744854u, 2808229220u, 3474485083u, 645460607u, 821486579u, 4183978503u, + 3418976776u, 3434917474u, 2899333536u, 3667745539u, 2383678586u, 1656201602u, 679566713u, 686292626u, 3913171293u, 415248015u, + 2813343752u, 1700857528u, 646425824u, 2852676998u, 971683752u, 1915095324u, 1863691571u, 2182335833u, 1279060947u, 719616260u, + 1207238867u, 1462555523u, 730566645u, 1503064154u, 1367945566u, 2654141319u, 2144256360u, 1623755155u, 3422808116u, 1412072362u, + 2581878030u, 2565272118u, 3461823040u, 3423912927u, 1598856160u, 955995359u, 215033746u, 3106639861u, 3334707490u, 359610096u, + 1432661063u, 1714972110u, 3141485813u, 3187092397u, 1238759944u, 1552980254u, 391947443u, 2724275586u, 2261776812u, 1310557634u, + 3460163101u, 3428405625u, 4018929654u, 537172962u, 979458265u, 1393066668u, 467516762u, 1166437277u, 1091699455u, 628509934u, + 2579809008u, 3766478495u, 3411531489u, 674381292u, 150109073u, 4220759103u, 592643550u, 43892281u, 1448377156u, 826049814u, + 943867209u, 2899043361u, 3121383202u, 2968199110u, 1938907411u, 2706297164u, 2882654960u, 3928052633u, 186868852u, 2490841188u, + 2722982235u, 1252159833u, 3010874878u, 3877271765u, 3405183243u, 1632240160u, 916204022u, 3146617276u, 948018283u, 931514252u, + 3059318023u, 2122150702u, 1721394062u, 1170239491u, 1261403464u, 2991751678u, 1470169159u, 3999401094u, 1913323439u, 1016967979u, + 3577566393u, 2557191887u, 2934606595u, 136016987u, 404300758u, 3988834076u, 4162358258u, 2727597772u, 3024596174u, 3758426898u, + 878096028u, 2105244187u, 1262442297u, 535714779u, 4111649255u, 3889678528u, 3070897223u, 1000232173u, 1955431394u, 1915829363u, + 2214592343u, 2064182453u, 4088962134u, 3971580015u, 1230579412u, 3567867883u, 276310888u, 3246776130u, 2906075065u, 2818077694u, + 774542848u, 1073636584u, 1243890836u, 2336590916u, 1952440796u, 381372167u, 78408828u, 2924216213u, 3625447671u, 3111715918u, + 1370935993u, 1036815345u, 4199344454u, 55364729u, 443465501u, 889104246u, 1499335765u, 1221402498u, 3450840887u, 1625777772u, + 2668057993u, 2239505709u, 305965508u, 225040761u, 824191578u, 3916250745u, 2660407016u, 796025450u, 1203907377u, 1627790370u, + 2462291910u, 3805466840u, 2762032954u, 1196179208u, 879475453u, 3568452249u, 3872422683u, 1605811711u, 593784074u, 779160794u, + 3642315735u, 721788932u, 4094473354u, 2945151803u, 3233730661u, 1322151568u, 2280847818u, 3123194045u, 991507546u, 2900424704u, + 3670165483u, 1389283205u, 2230201258u, 2048803537u, 1971105492u, 4085820449u, 4224115653u, 4036000844u, 1777529469u, 3084792154u, + 389624752u, 289953285u, 3033684021u, 167021715u, 1033135509u, 1130317654u, 976344830u, 2945986395u, 2461953637u, 1052611348u, + 2976330464u, 3492525595u, 589632220u, 674172423u, 1305543660u, 2564475663u, 297252680u, 3077947715u, 1671866491u, 2786860830u, + 166859834u, 45415080u, 2872877096u, 1872285132u, 1992900149u, 2068594256u, 874840352u, 1300251578u, 1626385958u, 2415282434u, + 37480513u, 2236242579u, 1929923680u, 1532381246u, 1174281523u, 4247788616u, 2337162870u, 1187296277u, 422997192u, 1087072864u, + 4239081954u, 3974275486u, 329793013u, 572975430u, 199621314u, 2304083855u, 3966952967u, 3396836162u, 714175848u, 182034530u, + 1859424943u, 244273048u, 4018489329u, 1511691997u, 4153133036u, 894708115u, 3845874036u, 3930859728u, 584173500u, 628247560u, + 733386083u, 4149913210u, 3532682974u, 2238340132u, 3094337842u, 1742452949u, 2371147997u, 2756544103u, 955686741u, 1481045190u, + 2327556846u, 1405185483u, 4179245599u, 2971338904u, 2825759771u, 789667071u, 3618742960u, 2178415596u, 2794379539u, 3419829128u, + 2766634005u, 2009243478u, 3013354175u, 1041220409u, 18911590u, 4017424911u, 463291759u, 2497291552u, 268986317u, 1470298567u, + 403233667u, 1894828454u, 604577903u, 4273085737u, 2943682106u, 2860648517u, 3400384811u, 4017358362u, 3577643750u, 3988885700u, + 170293482u, 1240108691u, 2166478392u, 1429744672u, 615231680u, 3928233886u, 2533829620u, 463162167u, 2248656788u, 14615832u, + 1343003413u, 3456610656u, 1035041349u, 4070775250u, 2955372911u, 3605785101u, 2759113074u, 2172497678u, 4266751312u, 247647633u, + 1079502722u, 3610616930u, 2873729752u, 2654536013u, 491801474u, 1594905747u, 538421979u, 2080313814u, 1496924784u, 2666356348u, + 2547722093u, 2946285841u, 4184851288u, 954483380u, 2516276486u, 1002886630u, 3818468555u, 3009025596u, 417767438u, 1925608240u, + 3609827654u, 302390767u, 297449131u, 752011477u, 1827448441u, 2630376689u, 3949462226u, 3146047453u, 218456378u, 884234965u, + 3370373371u, 1472254941u, 1510342722u, 3589147308u, 3247025477u, 3537539048u, 1092011660u, 3760609201u, 4006912645u, 518275256u, + 3251419676u, 210119159u, 1500892596u, 2315930396u, 2757593084u, 2512361617u, 1397306986u, 2005959739u, 1641648717u, 2033342149u, + 1278407307u, 2275882494u, 3029299729u, 2978961999u, 4257002070u, 810374064u, 944990799u, 199360368u, 2097199919u, 1992728535u, + 75046712u, 1383647165u, 389944073u, 3310888177u, 1960647413u, 2850307466u, 3877015502u, 1526509369u, 2648595188u, 1786798005u, + 2624772384u, 3415304721u, 227831193u, 2117150351u, 607195393u, 2395491610u, 4188327173u, 2726175861u, 3567670231u, 919130848u, + 2756258503u, 1345000557u, 2626902530u, 1451588645u, 869993806u, 94647566u, 983263949u, 1333301630u, 4271676904u, 2098118113u, + 1385874170u, 2053748944u, 876931767u, 1372906912u, 3804028689u, 1206476206u, 3317649341u, 2916073864u, 988430484u, 1251300431u, + 195163655u, 3721461644u, 1768221897u, 2967855457u, 150218375u, 9673484u, 2280432773u, 2956543060u, 142152396u, 3204563378u, + 1721306712u, 3197345282u, 3023735287u, 1819263471u, 268618307u, 1866474029u, 2602598503u, 4084453549u, 1028488549u, 264969189u, + 840522587u, 1154064181u, 3018257166u, 4285052752u, 1532478181u, 2355661512u, 2463129959u, 2719410586u, 2015834812u, 2698625697u, + 3640153729u, 3637121106u, 2561917204u, 1051830375u, 1075921441u, 2326693039u, 3234953208u, 2246934661u, 628527784u, 3709078083u, + 3798028156u, 971003273u, 3580808123u, 2087982083u, 19259594u, 2707649977u, 3179297797u, 4244965594u, 1815426902u, 712670252u, + 3322515257u, 1531538457u, 3689522106u, 3784567864u, 737823814u, 2862753968u, 2162157127u, 3683623141u, 1468240869u, 2129112905u, + 3812337955u, 2742911719u, 1438405497u, 3634702365u, 72410341u, 2538554930u, 856802580u, 1460669828u, 3414823991u, 1930555990u, + 3919055183u, 1434902055u, 56072732u, 1218012522u, 1271367251u, 1971636995u, 1135093716u, 2794064370u, 4037807688u, 970166341u, + 1945103850u, 2265389043u, 2206790524u, 1119450818u, 1779570547u, 4132250306u, 3680679069u, 755499886u, 4240107070u, 3839488578u, + 1873094661u, 244837905u, 797075958u, 2182167765u, 3623691791u, 1818765557u, 1097827652u, 1926403967u, 1520286568u, 3688299493u, + 3148944088u, 1458541986u, 2291338450u, 860891850u, 3396294002u, 2492100830u, 3451224815u, 1734672301u, 1236154650u, 184239826u, + 982994080u, 1467705810u, 3293672744u, 849661738u, 4016884111u, 1346499644u, 2227212433u, 2799878032u, 378639784u, 2948547360u, + 1473239431u, 282444617u, 3441988449u, 1503391596u, 1246941489u, 44378975u, 2073711274u, 3558637401u, 2771084406u, 3147614224u, + 1367673652u, 3312667377u, 1912155546u, 298648353u, 3324194066u, 2673833013u, 3703477837u, 3464121990u, 2633411304u, 2861665206u, + 2290744294u, 2225891358u, 784814633u, 2512245492u, 2611691041u, 3925053578u, 2635897064u, 898714742u, 3164421001u, 1245242707u, + 2478019958u, 1304128734u, 3319473095u, 1395857441u, 3770908764u, 970053286u, 2239165231u, 4241240134u, 894988819u, 3365908789u, + 3757025895u, 918793432u, 2117281402u, 3272312890u, 4098487639u, 2596311579u, 2066348731u, 2563544358u, 1964810066u, 3239257801u, + 3649717183u, 3363960929u, 1016063111u, 2883611562u, 157333556u, 1382651624u, 2579408457u, 3218164966u, 1251904066u, 1313344055u, + 224015703u, 1984002040u, 1908974092u, 2894720566u, 2826360315u, 2337037928u, 1766121618u, 3738220116u, 4038560610u, 1465203643u, + 554649326u, 259399687u, 2423542607u, 1466315317u, 941995569u, 3703691851u, 1101546067u, 1638280109u, 3802153159u, 3729982734u, + 2097990174u, 113493275u, 2354668705u, 3495254409u, 2555225767u, 2527441305u, 4037667375u, 3330981908u, 2118617792u, 754289151u, + 3038882853u, 1622922791u, 452651189u, 1501690511u, 926145420u, 3681735646u, 209635700u, 123596891u, 1174458995u, 1875505731u, + 592586870u, 356279547u, 4135553188u, 2493963948u, 651735092u, 1138055555u, 4221032176u, 1171852295u, 688226143u, 4062873368u, + 3018640136u, 459777154u, 3329016814u, 2087194416u, 2019342787u, 1086069447u, 2175441334u, 3767441825u, 3268210643u, 4271391624u, + 117632994u, 3934666938u, 2311691837u, 1917964278u, 107809845u, 1267392030u, 2763049527u, 1393129841u, 2679084184u, 353015782u, + 3974435214u, 2916761055u, 4005544604u, 2338592097u, 107937763u, 3867305962u, 962575523u, 984789002u, 2456844342u, 1418128630u, + 1084252943u, 4280896163u, 205375935u, 3681639931u, 510762400u, 810587059u, 1794077368u, 260012510u, 3414268265u, 1560622816u, + 1718931650u, 3561872272u, 1242278369u, 2707527178u, 2479940840u, 3880862167u, 2717715448u, 2807437489u, 2018020639u, 1690849916u, + 2348899526u, 1075152200u, 2996847633u, 1182752365u, 128867144u, 414137257u, 2657938550u, 1494795207u, 840202588u, 79908411u, + 1876003316u, 3963103376u, 320684442u, 3453700163u, 2221120467u, 1975602080u, 2898114481u, 257804503u, 3034965245u, 1085065389u, + 2980025354u, 3134601901u, 1551098992u, 222654099u, 793144527u, 2203450947u, 2721045889u, 623907115u, 3345758514u, 2935319425u, + 3318925666u, 2082368222u, 1255170047u, 1441158500u, 3705828602u, 1126154593u, 266761501u, 931427647u, 1122259418u, 3454541687u, + 4114225753u, 399301124u, 3471978828u, 2490141210u, 1650563846u, 65744666u, 3684539790u, 429911291u, 512492132u, 1473456435u, + 319395972u, 1550907360u, 4209314551u, 2491321884u, 1246716562u, 2179398450u, 3781878913u, 3715731669u, 2497199015u, 2837669744u, + 4186821812u, 3207069289u, 1228680674u, 3372951722u, 3749278277u, 2476299110u, 1356873u, 3130162647u, 3817570856u, 2688877705u, + 2889055139u, 3029797815u, 1316917982u, 4227014777u, 4242998868u, 3714274397u, 1088107925u, 263643781u, 2177367606u, 2464435874u, + 2897197810u, 1121010812u, 4083854530u, 3054865746u, 385974011u, 3518956076u, 3103977685u, 3277582522u, 771203215u, 3925478452u, + 1293855128u, 225343241u, 3552502628u, 3419943646u, 3297859069u, 1283965146u, 3458988259u, 4133448060u, 4215325222u, 269908804u, + 1199009669u, 1318224308u, 2632203626u, 2528838163u, 1344882792u, 3159406905u, 2055989100u, 1392119545u, 2047806598u, 233917371u, + 1255251219u, 1224340279u, 2097284531u, 3963155172u, 2826804930u, 371003178u, 2393765559u, 2547929458u, 3205844222u, 3852237301u, + 3439903375u, 3461136678u, 3165206572u, 2645291256u, 2854506890u, 1267111803u, 3488934804u, 791950619u, 1115441598u, 967516408u, + 610875019u, 1710746706u, 1310442026u, 2283774657u, 1078773154u, 3199929040u, 3398389380u, 715684590u, 57559107u, 1761969804u, + 468701108u, 3156280653u, 2859502848u, 1409962459u, 1690693055u, 892035549u, 3881169719u, 1456795624u, 1142116600u, 3350355101u, + 1205740995u, 700619819u, 1464580575u, 4019332008u, 1286778479u, 52495606u, 3114411884u, 2050612607u, 3204000577u, 2449773076u, + 1335814630u, 3460649444u, 3421723699u, 4211252941u, 1078856325u, 647543947u, 3931279242u, 477611048u, 3827743486u, 3946414064u, + 3234263728u, 2281802316u, 2723385461u, 454156572u, 3688492372u, 3933763230u, 2096522682u, 3735901367u, 2040210003u, 1122637751u, + 981521901u, 4213493846u, 2501280572u, 900605787u, 1801547052u, 2058713866u, 263969233u, 3642349994u, 2312243180u, 3007023732u, + 558473725u, 2153542344u, 4178043931u, 768652298u, 571950443u, 1755820212u, 3291490420u, 2299341031u, 899626887u, 3117073758u, + 2322353912u, 177694334u, 2157561102u, 1822994582u, 3871921778u, 1811832662u, 1387252811u, 855909138u, 612864225u, 419392998u, + 4234600946u, 2675582378u, 813358855u, 548575763u, 3562500063u, 3479883211u, 930980953u, 1267695844u, 3133278078u, 1092113198u, + 2829980687u, 1260588921u, 2278784693u, 2363219626u, 608540281u, 3669424629u, 4094505964u, 1290690619u, 1566902310u, 3127370222u, + 755306272u, 1503247679u, 711975908u, 2235332551u, 1274066874u, 485223048u, 3697669895u, 968337209u, 4024228115u, 1441087291u, + 1789259795u, 1121140376u, 94875761u, 638742298u, 3319164672u, 909905723u, 3073482776u, 1930670254u, 575395668u, 3304334624u, + 3261015055u, 2781835808u, 2221196659u, 1541588310u, 1252470795u, 2147087911u, 2901200889u, 3805150519u, 3524367454u, 65205356u, + 3798405301u, 2687638u, 3917264802u, 2355248502u, 1190576979u, 2411832625u, 738865494u, 1458427925u, 3958775053u, 1898663686u, + 3194436068u, 92527854u, 1100186876u, 780253908u, 3307614355u, 1933180948u, 2838649406u, 3162240906u, 3868305254u, 3589822734u, + 1801470306u, 885370791u, 147324825u, 606785858u, 4208230289u, 477800472u, 2571466449u, 3739387649u, 926959200u, 3095417454u, + 846055608u, 852949516u, 3313120170u, 2175407636u, 721299484u, 2505352391u, 2832563083u, 1735085135u, 2314539194u, 597432759u, + 1751554100u, 3543457600u, 3992469251u, 1273021032u, 3023824769u, 708989938u, 2170082171u, 3008922752u, 48099880u, 474999629u, + 876672889u, 3609912514u, 3814378439u, 2059572241u, 1727598830u, 2083773726u, 3136241607u, 305716755u, 3364881599u, 1509355331u, + 416505427u, 2464212482u, 4041144810u, 4201636420u, 1910167504u, 3349329442u, 2511897555u, 1159628917u, 3550971669u, 4025187743u, + 970961894u, 309766051u, 3829607208u, 2837434611u, 737900804u, 462462272u, 3678998360u, 859253516u, 3885844909u, 803046891u, + 4107240041u, 1209479270u, 2927821509u, 3038684200u, 1494067945u, 3591650810u, 549434872u, 846096970u, 875042417u, 2788351197u, + 2655725640u, 394900190u, 959751186u, 699972730u, 3623842454u, 1090044920u, 391654657u, 2145731615u, 1543848444u, 29196102u, + 3604415567u, 1947067716u, 392055143u, 3061940811u, 3064333865u, 2492817958u, 3570478768u, 1315943360u, 3241503164u, 1447740443u, + 1372253192u, 1852380469u, 296657368u, 782407665u, 1514589138u, 1310821416u, 3292215636u, 1476593695u, 610979386u, 3635133353u, + 3338419823u, 4042795258u, 1800299586u, 2583052721u, 3919968022u, 2984333884u, 2387804178u, 1903927539u, 3981491382u, 3334107776u, + 1571011533u, 3632676415u, 2612589095u, 3995576561u, 1754371487u, 3444155091u, 3452847583u, 1360064446u, 293486686u, 3481232131u, + 2664656804u, 2144835056u, 774215374u, 830728845u, 1812676983u, 3414080898u, 2258340086u, 3870808476u, 3215464026u, 540750059u, + 3384658769u, 236607501u, 1596277131u, 1044922135u, 3311148893u, 1277058335u, 567122702u, 880344267u, 3539490413u, 1062065029u, + 3377499009u, 2119392306u, 1694016796u, 2360694533u, 2303376994u, 307645890u, 336991419u, 2674805233u, 2742945600u, 2711253771u, + 4023864215u, 4187843067u, 3578913202u, 3390744566u, 3283929785u, 876747176u, 2160120698u, 3940242761u, 2572867321u, 1178549066u, + 2844471793u, 2455656859u, 1392495988u, 3596296611u, 2997687103u, 4111543050u, 2110070686u, 4287734559u, 3358136681u, 1330037378u, + 13198411u, 4057313851u, 3366940665u, 3353562816u, 265737498u, 1159942824u, 1471675963u, 3868453794u, 1947999473u, 2594339222u, + 1892545183u, 2804334336u, 4047097048u, 3597191336u, 1417464611u, 2213622140u, 1698325546u, 1684022807u, 343815387u, 2762482591u, + 4286222436u, 2952873739u, 363113152u, 135068285u, 3046383257u, 1074053208u, 3702718374u, 918752130u, 1063468810u, 4049518529u, + 3359994472u, 864147754u, 718531517u, 3682817886u, 1524177614u, 3024599886u, 2677024884u, 1529163631u, 3554726309u, 4220154794u, + 2013744315u, 1830855210u, 513626198u, 2601167197u, 3323182321u, 3434213463u, 3248217233u, 675092808u, 870500016u, 1708963905u, + 674134231u, 1452661393u, 1468165995u, 4070555506u, 3151290567u, 3833550781u, 626131853u, 2456439248u, 1536903996u, 156027489u, + 1667989167u, 3085856228u, 3593297515u, 1812526674u, 2190395054u, 2280584913u, 3290920887u, 651435842u, 2914952644u, 2460482887u, + 1898022495u, 1524188927u, 3521780081u, 1386631397u, 4197496342u, 1615697921u, 2289660023u, 2544314850u, 758101267u, 1147881113u, + 895313446u, 2715322228u, 2123701636u, 1635112320u, 2277880752u, 274440580u, 1188227669u, 780539485u, 795152637u, 3255231632u, + 2103938665u, 3700880981u, 2446292281u, 3878032176u, 2464795665u, 120438884u, 1564807483u, 2597448709u, 2763299696u, 635297679u, + 4010941803u, 2432396198u, 984344849u, 3505882959u, 947912320u, 1827126228u, 1088386051u, 2976130571u, 2971070837u, 2319515829u, + 1214672852u, 2875700931u, 2370208047u, 3557635803u, 2786878649u, 198898633u, 3286495472u, 2033689374u, 3690783333u, 238094349u, + 2380260884u, 3991537159u, 437555485u, 46519491u, 3112117107u, 3699595854u, 2720078383u, 4157766927u, 3618528272u, 3453742674u, + 3703352397u, 4042213222u, 1394596112u, 848228181u, 4256302652u, 1837879510u, 763021722u, 80586383u, 2940121169u, 647182948u, + 2965642423u, 1220803939u, 551502742u, 3746565980u, 873744781u, 1566454323u, 2207440243u, 3941367518u, 2723438248u, 1388399440u, + 1426810186u, 481036454u, 1610446198u, 243599414u, 1268992088u, 424873147u, 3700535677u, 1437792067u, 1703307204u, 2135903963u, + 346426136u, 1306941414u, 2298327144u, 754013501u, 2863129598u, 3932517649u, 2306638385u, 2304166734u, 2631511349u, 1250616854u, + 3034304880u, 3119018770u, 3072038556u, 2247055556u, 2597191474u, 3487281963u, 3215133713u, 1510676497u, 1524707029u, 1619585629u, + 342252075u, 3819730683u, 1823779750u, 1661788936u, 1165275382u, 977532867u, 1725775248u, 2210732886u, 1054290802u, 3508941936u, + 2260343529u, 3908179168u, 3980910754u, 908493967u, 4095128741u, 1738621518u, 2034546593u, 69662657u, 1615684179u, 2484142080u, + 2549920746u, 1838299493u, 1608343227u, 603716991u, 189026761u, 2610631394u, 1981087297u, 4198166648u, 3219409988u, 1880277433u, + 2706759012u, 625596840u, 891472647u, 468268183u, 2862133826u, 4205107026u, 1018907542u, 690302714u, 3624997903u, 3221625535u, + 3023601605u, 3054799723u, 2428544839u, 1267212745u, 3845601247u, 3675312444u, 4142058256u, 2602445833u, 3942128055u, 2050498896u, + 1682942761u, 1783129098u, 2567634532u, 1765342972u, 1436742251u, 3519047859u, 1857500033u, 3750802111u, 2550134484u, 3980020117u, + 397703079u, 2037053061u, 295874113u, 1604266526u, 51227311u, 609747095u, 2654128060u, 3173952261u, 3283730352u, 3435393600u, + 3980377953u, 1051525961u, 1101270344u, 3047584999u, 2505598065u, 1057121803u, 3157574465u, 1615651790u, 889531604u, 1182810006u, + 359752071u, 1889511321u, 3011527195u, 3413131694u, 3258465469u, 2981836727u, 1264326949u, 2720521934u, 3758581865u, 591237284u, + 2479616078u, 354199967u, 414080226u, 2502733763u, 2852903629u, 2494689577u, 1414895631u, 1512843435u, 1538436849u, 4005774178u, + 3674200484u, 3366391175u, 787085099u, 1553833227u, 3008366776u, 622406412u, 2937179191u, 3870245538u, 2208651978u, 1189237837u, + 1066189416u, 345303299u, 1891887948u, 555624902u, 380488110u, 3170317126u, 1247196982u, 1456407028u, 812244588u, 253950007u, + 2138482980u, 1064229230u, 16154227u, 1667380365u, 3853419475u, 2034553840u, 262587082u, 3808080533u, 1559864448u, 2548299965u, + 3521600618u, 3617500063u, 3292630689u, 3161333278u, 3886465138u, 3564143572u, 819571817u, 269350835u, 768332733u, 789296787u, + 4213327766u, 4193828127u, 635718849u, 3762065904u, 2489942551u, 4209793246u, 320026877u, 3797100143u, 1051350200u, 1431956315u, + 2530361160u, 790258936u, 3433212552u, 538458389u, 1980024841u, 2123085184u, 3514711333u, 1089723892u, 166078270u, 495564157u, + 555867778u, 1170852652u, 2589863981u, 1828310449u, 2907118590u, 3257690672u, 1817339181u, 72445087u, 1908728351u, 3789677993u, + 4255053767u, 2047882190u, 3841480471u, 1875099383u, 3858756829u, 1823678717u, 3344275809u, 3573071474u, 3212093802u, 3324966776u, + 1103860332u, 1168520041u, 4182051263u, 2229929768u, 769517426u, 3541918477u, 2457026647u, 1041844321u, 3151123048u, 516931152u, + 3004604968u, 801762824u, 131690618u, 2647500691u, 1592368089u, 1808679827u, 490172292u, 1215854647u, 757758244u, 3927162418u, + 1098354158u, 1089543u, 1378542152u, 892856376u, 1162996886u, 1168003749u, 245078037u, 3536440169u, 4176521611u, 171072478u, + 919277448u, 3708748493u, 2677739643u, 2129155337u, 881951648u, 2320519777u, 20227627u, 1924286471u, 2311537736u, 4197169275u, + 3986203264u, 534014416u, 295144290u, 675717770u, 3507765265u, 3842218015u, 216736324u, 3503388750u, 1762731943u, 331603412u, + 4253888463u, 4112060093u, 1020246867u, 580218580u, 1833901348u, 482712120u, 2903627315u, 4090843048u, 349912633u, 3083273855u, + 2417720520u, 3299610607u, 1858578939u, 3310022233u, 2745701308u, 2695007669u, 773650534u, 570304999u, 3652093461u, 439963515u, + 4128080741u, 2914560759u, 365006490u, 2804566922u, 2111069330u, 1023532370u, 139929056u, 3919426843u, 2676238851u, 1912840814u, + 2313400528u, 2895729303u, 1945254089u, 705462228u, 1495143929u, 966042988u, 1493576741u, 3634359000u, 2717080772u, 3229538706u, + 1772879724u, 2251706582u, 281654030u, 3321609400u, 1168329275u, 1272799495u, 1072485671u, 494560998u, 914677326u, 4061252070u, + 3781216818u, 3451546304u, 2340091404u, 2159036936u, 112143037u, 3180281952u, 3502461101u, 484433553u, 2520712961u, 1034385936u, + 3898196267u, 1337201091u, 1222120845u, 3583914775u, 4167148150u, 2628394589u, 3535162295u, 4109268705u, 1159889183u, 226642870u, + 1144049169u, 3700256979u, 1577282810u, 4166843336u, 39744583u, 3403321339u, 2827499921u, 1482213965u, 2488952895u, 2231576320u, + 546268990u, 2339567049u, 1307308829u, 4041494594u, 2792623228u, 4256712440u, 2224535553u, 1905983034u, 37302369u, 3174053000u, + 3733305083u, 2729524628u, 311086039u, 830625300u, 3592428956u, 2252865539u, 1609846823u, 736345860u, 4052822949u, 307480670u, + 1240003444u, 3593485712u, 1448988330u, 2176023953u, 2055641789u, 3821474831u, 3598905687u, 3708845051u, 2534223931u, 1637238481u, + 1028285145u, 858370344u, 4160510161u, 801108284u, 3904140633u, 2107911369u, 1314180676u, 586572278u, 959643899u, 3511152562u, + 425614544u, 2592193600u, 1299330981u, 63495627u, 2252840981u, 771786234u, 948063004u, 1151009997u, 2050013262u, 429060995u, + 2839852283u, 1491227869u, 1900883487u, 389102785u, 2561019216u, 3928793722u, 2173761687u, 166040180u, 2762529729u, 3542797917u, + 1400748046u, 802493363u, 2894152762u, 487658199u, 1951021453u, 2603577183u, 2576504060u, 2286808059u, 2728967590u, 1212275975u, + 1590422420u, 2052019139u, 1304315552u, 4162987126u, 882292339u, 2096313558u, 2102054797u, 84856592u, 269243161u, 2612512556u, + 1835479200u, 673298071u, 499922666u, 667194758u, 1857840608u, 891088216u, 2602599920u, 1443522660u, 1445129954u, 3545645009u, + 224657003u, 3109682623u, 4255139366u, 33248456u, 2213898928u, 1749228900u, 371302483u, 1649767430u, 3262296534u, 491767103u, + 1886302061u, 2542973972u, 3384687901u, 1388393161u, 3245543260u, 2239957466u, 2448379709u, 1721014929u, 485846696u, 4183959677u, + 4083920221u, 3895986851u, 787599605u, 3743929750u, 2307243067u, 615088577u, 116053396u, 2873476852u, 174683760u, 3587377439u, + 3168066502u, 2470343329u, 23812818u, 3736511478u, 140210081u, 71116013u, 1345258167u, 2885307741u, 109905295u, 1892861563u, + 1632375188u, 3898030149u, 2875111174u, 3766631105u, 836263295u, 257703999u, 2418900142u, 502424777u, 2337200651u, 1877988360u, + 2743749469u, 3002816731u, 2654551102u, 4180165466u, 2324575036u, 1305830522u, 178595672u, 819204615u, 1312099453u, 3596365646u, + 1768060709u, 1594574852u, 4238919385u, 773963891u, 2239452155u, 558443069u, 324494049u, 3608439331u, 442034995u, 2531726339u, + 2079474858u, 1155443274u, 3735723499u, 3133802611u, 3778245203u, 3903090739u, 2285342587u, 214800167u, 2472122497u, 3177356963u, + 1261639235u, 1455990395u, 2841130751u, 4015042315u, 2534016495u, 2260092024u, 1773218710u, 4202291620u, 2434976500u, 2290716901u, + 3171410640u, 399826124u, 65257433u, 698487028u, 296951015u, 3008874701u, 914040808u, 1178658580u, 2751887885u, 3993504095u, + 3623643963u, 2120190609u, 3875377519u, 3200529571u, 232382372u, 4153548356u, 775962112u, 2298011944u, 4214189935u, 1203760679u, + 2350565381u, 1228063628u, 3354987967u, 4235265073u, 1400942762u, 3537554330u, 552957253u, 2948573318u, 866255325u, 4210806533u, + 4231547023u, 1974551204u, 1809606326u, 136451273u, 2907262615u, 3330502583u, 3560429287u, 1822077502u, 2180606402u, 2180609645u, + 1322555079u, 2359613933u, 1323087680u, 3488442404u, 1292093950u, 1225129648u, 2663200075u, 1024992355u, 2005241601u, 416297167u, + 705960935u, 530796026u, 261949920u, 3234762567u, 490720655u, 177920812u, 610202776u, 2240951687u, 1391298309u, 3742719487u, + 1647527960u, 1289260448u, 3196576305u, 4122924752u, 4267964738u, 3879809504u, 2328205048u, 1318350139u, 164095952u, 3081015356u, + 3226195351u, 3782426655u, 1732295561u, 381073319u, 2498331504u, 935875643u, 3738174221u, 1259619581u, 1160271233u, 3186392582u, + 535844924u, 1977926198u, 853478535u, 419691200u, 857626859u, 763033104u, 972984471u, 3299787316u, 6815253u, 2308393292u, + 3715184237u, 3886264422u, 1523961360u, 1185818483u, 175496042u, 1432966128u, 3462108717u, 1094003870u, 112636180u, 479527982u, + 133725081u, 2795791495u, 211846937u, 1459742945u, 45892844u, 1923582723u, 125371710u, 3910021496u, 3206505545u, 1559016266u, + 4046964514u, 162779972u, 1260623104u, 3060441437u, 2666962595u, 2555708154u, 1000202485u, 2061506678u, 3788059271u, 3224114791u, + 297320636u, 4096737237u, 2688758144u, 2118793974u, 1223426865u, 3675791811u, 640046208u, 1470301930u, 1108322250u, 3723275694u, + 623989059u, 3470381245u, 2767831981u, 3382480178u, 2811976809u, 3693520838u, 727540186u, 1567994300u, 2686672224u, 2999042855u, + 1511110601u, 764698745u, 2475162473u, 2072748335u, 3144803541u, 3686469461u, 16540220u, 1243177563u, 1173411571u, 3591186070u, + 3305446074u, 4001438893u, 633851479u, 929423813u, 759440553u, 531951527u, 840406813u, 4202943015u, 1627137207u, 4013853577u, + 2585332165u, 3092745347u, 215234737u, 1426094499u, 1461815322u, 254691217u, 777098554u, 3552211413u, 4035491991u, 3841030697u, + 3125831483u, 1513987165u, 1527073406u, 3867196362u, 1375498907u, 649134599u, 1733332588u, 1187525224u, 3259172566u, 2796762290u, + 2315103015u, 2668608046u, 4284542220u, 783807356u, 4002527229u, 2834324293u, 2679096521u, 3261619577u, 2821092175u, 1005459195u, + 3816811461u, 2858804580u, 4252947149u, 2197537642u, 1844706526u, 535821034u, 4095807480u, 1241790919u, 1042724154u, 1711176028u, + 2375319521u, 2596257860u, 2142627095u, 1467812555u, 2320073330u, 2776958529u, 2098960507u, 551864510u, 706119946u, 3452070439u, + 2507079383u, 4003458553u, 2509770247u, 1340998693u, 3445736339u, 2633107030u, 3803038070u, 3712652199u, 1454088123u, 2971133666u, + 2211712130u, 3603052866u, 866196966u, 39987522u, 3220602568u, 3910518754u, 4049475071u, 4092609859u, 3060225806u, 3358044206u, + 3494550003u, 803422722u, 541207241u, 3321129786u, 3223630132u, 68009970u, 144068972u, 1858501152u, 883640532u, 1208561492u, + 601500433u, 4191518487u, 399955314u, 1937042212u, 1795347269u, 1399225151u, 3553078081u, 3443237808u, 4038178565u, 1541334773u, + 2371276909u, 337032329u, 2467849788u, 2339917788u, 2381198114u, 1411959537u, 2829991736u, 826667172u, 4164918339u, 2728134441u, + 2058226997u, 1062874309u, 1227869194u, 91069845u, 2987835410u, 195308551u, 1717805556u, 852150642u, 2322789791u, 2991399437u, + 182388708u, 658516836u, 3257890592u, 1253757611u, 1251230731u, 2366530442u, 1068607135u, 3551052338u, 1000669100u, 4243812840u, + 1378933041u, 1416780818u, 3785640002u, 3572702927u, 1370941934u, 407908794u, 4214302234u, 3367703123u, 2678153742u, 1171948034u, + 1629422974u, 917979180u, 3577494698u, 4235379769u, 3387663084u, 2374355822u, 2550616338u, 76202568u, 3592028819u, 1914371392u, + 1806737685u, 3706956625u, 648356616u, 3734711949u, 3867909753u, 3100067393u, 2914644390u, 630101981u, 3680918200u, 3643591990u, + 1094539636u, 1896667781u, 2820988998u, 3725571987u, 688631466u, 4070315225u, 3559506305u, 4248650503u, 148035643u, 452787481u, + 407226470u, 2760668384u, 821782870u, 1058083339u, 1135525856u, 648172014u, 2623159313u, 2758541390u, 3446473851u, 1339675114u, + 4038212982u, 1634487606u, 1385670250u, 1630084914u, 904626465u, 2991214947u, 3404564279u, 629809651u, 3740927008u, 3171418274u, + 348029912u, 980849264u, 1437913208u, 1849388195u, 1921181918u, 4256548405u, 906135636u, 721495246u, 1064707780u, 3086892344u, + 4190151571u, 1789251496u, 2745519511u, 3513836929u, 1210524769u, 2108604350u, 211062097u, 4101810603u, 2516435324u, 3329675261u, + 1512151798u, 1244518801u, 2383963022u, 765434096u, 1665673698u, 3743288330u, 3172406560u, 4166081779u, 2606590555u, 2748199722u, + 2752877908u, 4060215923u, 2375514004u, 1421423737u, 1907284166u, 2959970000u, 3048727818u, 1290431002u, 672511983u, 1913784793u, + 2626246121u, 669149358u, 2908047583u, 3355030700u, 2523090894u, 3227479051u, 568379741u, 1542486454u, 1541735109u, 2195559321u, + 979806531u, 296464530u, 1176833061u, 3726897395u, 3015106303u, 1913248078u, 3980799865u, 170960285u, 2909282876u, 810621831u, + 3985680720u, 1605284015u, 3144367476u, 2723305799u, 1999355954u, 680573313u, 3190740717u, 885626466u, 1075551585u, 1057212988u, + 154891676u, 3140395771u, 3128744139u, 3754704394u, 2543401722u, 2799592485u, 2785451764u, 2383831115u, 1251670846u, 2519264707u, + 3164784609u, 1079328930u, 241590800u, 1979377826u, 2899284359u, 240370425u, 3223275773u, 2825731234u, 837490929u, 3612494871u, + 3618849900u, 10207076u, 815394402u, 3874414557u, 1954866444u, 2926569915u, 3034126604u, 168425136u, 1424697026u, 1864589841u, + 1427785018u, 235267406u, 3692211179u, 2184530851u, 2730663818u, 2690715255u, 1239807732u, 264991967u, 472018374u, 1714208145u, + 2903373114u, 997173553u, 455754140u, 2930106946u, 3752810457u, 3570926458u, 1759867570u, 1696300674u, 1316119201u, 3279950683u, + 2080944431u, 2242791007u, 2980715854u, 2036852100u, 1938639717u, 2752917030u, 2506351975u, 230945751u, 3542800206u, 2115586988u, + 1829673068u, 51231293u, 2988656057u, 3997854493u, 2248705497u, 3790880296u, 1004461489u, 2353462629u, 715897523u, 978695469u, + 892872270u, 1355346620u, 406903340u, 3485214069u, 1816613022u, 1164376337u, 1325567469u, 1776522508u, 1691615226u, 954335192u, + 2642194054u, 605406122u, 3651558189u, 1370222002u, 1689236441u, 1453860650u, 1926484769u, 2335596111u, 2317974569u, 526778396u, + 3885539748u, 2044536884u, 710039873u, 86024427u, 1088014718u, 3752116191u, 2362792368u, 3479105123u, 2640745002u, 301658030u, + 2829632739u, 4173780137u, 2373974326u, 510434376u, 2527199810u, 2148333105u, 3406943692u, 1342012046u, 326292362u, 102140978u, + 1382750868u, 4039840560u, 1732948328u, 1072389718u, 3264540067u, 2234199112u, 4288464440u, 1506019409u, 1734385170u, 3694632504u, + 4021329612u, 2062543798u, 2942725835u, 2960565433u, 4289525435u, 3046798923u, 686313437u, 1442202090u, 2789122488u, 2009953549u, + 862919485u, 1699024861u, 3190759954u, 3930579046u, 393876826u, 735223978u, 1308708034u, 3919423418u, 3218412350u, 2910320865u, + 2347974013u, 2194969055u, 850108398u, 2539824958u, 881643660u, 1703955821u, 2739238144u, 1894972207u, 4073833216u, 2913643526u, + 1731717853u, 515027271u, 1504851986u, 1304819638u, 1756174212u, 577813688u, 2364155927u, 3105890524u, 1262473542u, 2860152090u, + 2040988467u, 910924500u, 3061542097u, 1226037875u, 3807093709u, 586456379u, 1090555648u, 1138519014u, 2231956882u, 1564202327u, + 551783452u, 1753661863u, 2992619620u, 3347832357u, 48967895u, 4232739866u, 3572091494u, 3769905044u, 817194581u, 3239248397u, + 2838571819u, 2687049588u, 3088079912u, 1022527396u, 1492285841u, 1133149138u, 323119122u, 462000976u, 1787374017u, 2359120314u, + 2526509076u, 3215539171u, 4172450254u, 1573469954u, 3829856757u, 3586981055u, 3518862233u, 3837510781u, 3618375728u, 891854712u, + 177539322u, 1679347589u, 578343785u, 2408948936u, 3953850772u, 1927561986u, 2604664404u, 1009634734u, 3172998433u, 1712581329u, + 1240296467u, 1575919379u, 1413973097u, 1233049778u, 3691712220u, 2385413913u, 3942092483u, 1646881351u, 1216828031u, 1657575496u, + 1113308074u, 1924610001u, 2360113071u, 193000696u, 1835683841u, 1771408108u, 1514337486u, 4071067155u, 1226048755u, 1270278492u, + 4015889933u, 2862361802u, 1991005672u, 2145369826u, 3548174012u, 885223096u, 1975451855u, 1620447269u, 324640616u, 3233513091u, + 3095377895u, 1745474963u, 2468398761u, 4053745058u, 2737100996u, 3470302032u, 4256410362u, 828233692u, 2708675605u, 4089874711u, + 3324461205u, 491498316u, 25222366u, 92092140u, 1971944636u, 3698515594u, 3528427532u, 2320399819u, 41625617u, 4186540140u, + 1451953762u, 3497940966u, 3592445756u, 660825874u, 1981010141u, 2389634311u, 2265805171u, 1439494568u, 1642586899u, 2212297471u, + 1217387570u, 706547279u, 1984882156u, 2721656465u, 497472211u, 2597240878u, 1865780833u, 3960948825u, 4271717599u, 2226103493u, + 246789307u, 268655848u, 2524868231u, 432758148u, 2071964448u, 2215415863u, 1635751324u, 4240772836u, 2307567295u, 905463194u, + 4076211539u, 1124230539u, 1778625737u, 1524453200u, 3668608722u, 1899567571u, 250900612u, 667886558u, 4202313586u, 3525399513u, + 2655226081u, 3615512183u, 2808661233u, 27071355u, 2653336767u, 3987417005u, 3903148626u, 1756089359u, 2143429930u, 706844374u, + 1641451293u, 3931041589u, 3460745529u, 1828382779u, 3550918535u, 3435070824u, 268990634u, 824020002u, 1919292505u, 1355789847u, + 2367882611u, 4059503549u, 1069682366u, 1290824959u, 1756114875u, 1771074360u, 263634716u, 2697789732u, 875453928u, 2157279361u, + 2989191769u, 688822964u, 1749079259u, 2489906138u, 2995673605u, 3382552146u, 439753853u, 4095585024u, 4232308562u, 497835575u, + 2114973663u, 2356401574u, 3628488942u, 2434387616u, 367997636u, 3801835782u, 1194562996u, 1985241609u, 3176622819u, 2782585373u, + 1700857092u, 1813904103u, 307547599u, 3439300494u, 178623637u, 2536484571u, 4032479127u, 2750858234u, 1000500626u, 3725425266u, + 1301531148u, 3476607729u, 3270909395u, 143077485u, 2409663866u, 2198808477u, 3050176428u, 501220769u, 2231397327u, 4214774846u, + 94924602u, 1882363167u, 3305999403u, 1087464167u, 646231128u, 2088465549u, 590078467u, 592146167u, 4127098103u, 516455054u, + 3226368664u, 659422893u, 936133043u, 730111990u, 3645719942u, 1520497926u, 145351791u, 221692804u, 1595515808u, 4216866102u, + 1292241033u, 1959465595u, 366525601u, 1223297056u, 2326699864u, 1738116814u, 3027151632u, 620742876u, 387039897u, 818644352u, + 1785771340u, 893616484u, 2713172034u, 2701564753u, 356885324u, 979214128u, 1593697338u, 348966548u, 1001994133u, 275655115u, + 341703777u, 1955288507u, 3658885051u, 268009804u, 3141847861u, 3303843783u, 2418444181u, 1405535027u, 3901801386u, 3703000176u, + 826555761u, 1343465767u, 3314885870u, 2119770705u, 967862148u, 1231907061u, 2545454256u, 3118686344u, 378307320u, 718265605u, + 425003574u, 2637116167u, 185272668u, 3978736034u, 2783893667u, 132582376u, 2814085699u, 4073017623u, 2404099592u, 3299082998u, + 2829876231u, 1496750154u, 2342372800u, 2705171598u, 3266145838u, 2125257219u, 1531884029u, 224959989u, 4178605256u, 1570024440u, + 2701541436u, 3749354400u, 3920112u, 2079141064u, 2393626580u, 4135129385u, 1257272543u, 3470310109u, 2913824571u, 4156642363u, + 1801707875u, 2537352970u, 933831438u, 585438682u, 2460909988u, 3785300893u, 348978986u, 4197377671u, 2475070193u, 637281874u, + 2739148290u, 498106774u, 2113762627u, 3904139103u, 3656883389u, 2835405216u, 1428428736u, 4029328854u, 1648575148u, 4274792767u, + 1723075833u, 941753663u, 939247136u, 1669531479u, 1215233424u, 4253351905u, 1529738078u, 216792811u, 3798004081u, 2007178098u, + 2754507520u, 3394052481u, 2547627647u, 268097466u, 1626560825u, 1616160357u, 780228856u, 1483505829u, 1203616810u, 1457743860u, + 968099772u, 2075995131u, 394144818u, 2676144673u, 142691416u, 696017492u, 587524162u, 281944444u, 2863806279u, 3221408013u, + 1184828563u, 4005651369u, 2494458875u, 2431810846u, 4291460560u, 3733968395u, 2117586531u, 667868497u, 4254392533u, 1664703883u, + 2111344877u, 390631412u, 510363764u, 1836193845u, 3800503564u, 1319791430u, 4091558122u, 3999988377u, 2440322803u, 1392285044u, + 4283277370u, 801078561u, 555123447u, 4048413299u, 1159271640u, 1307057596u, 3356487979u, 3875437503u, 1761368007u, 2167889561u, + 785028328u, 3296172186u, 2526351197u, 368186388u, 1542819201u, 25631680u, 3362465417u, 3392959843u, 4107254593u, 317854640u, + 3286645695u, 2300997840u, 1406449087u, 1164310051u, 2289166009u, 2893984482u, 934742512u, 247304968u, 3652849965u, 3926384380u, + 151644412u, 435718789u, 3890329330u, 1864243977u, 2278650006u, 166802856u, 3913972324u, 2531705827u, 1393385122u, 3896571386u, + 1580417238u, 3063322832u, 1919701546u, 4133934765u, 2582663173u, 2818489232u, 1934773374u, 694535582u, 1145302000u, 1352964995u, + 3855940812u, 3018748662u, 3890201650u, 1978088420u, 2933529376u, 4276768171u, 3576013515u, 1019732703u, 445661963u, 3938930030u, + 3206794112u, 1649155524u, 125130849u, 2792991385u, 2985190307u, 3153590956u, 2303558467u, 4174696635u, 3638219591u, 1505541431u, + 2996116765u, 3841976792u, 1308364500u, 41094919u, 1394797163u, 1268409126u, 1811414759u, 2528698155u, 2695598155u, 1888686930u, + 3680330382u, 2432023018u, 4179859431u, 3382604969u, 3678709870u, 1129495040u, 1716230409u, 2112316582u, 1104457323u, 1837481519u, + 1873108036u, 3587194582u, 1986534984u, 2325838912u, 2853011920u, 960736343u, 98217526u, 3269207295u, 1806827000u, 2508825189u, + 1164950885u, 2072931861u, 2194517341u, 3661824275u, 1242443779u, 1304084259u, 3446869170u, 4256589311u, 2999044173u, 1266034939u, + 1198022943u, 262379506u, 4116823135u, 3040878932u, 2721333781u, 1354840114u, 1053721920u, 4075588697u, 9706405u, 316987125u, + 1785052450u, 523715006u, 1776511717u, 3703680409u, 4268584184u, 2718907714u, 3212838840u, 3052123380u, 2246164001u, 3693944020u, + 3886574721u, 881032822u, 3447644981u, 42071450u, 701007350u, 3587239950u, 3820017695u, 1036154699u, 1697729635u, 2414573850u, + 1590553510u, 2943103522u, 3000997955u, 3286108713u, 3335001473u, 2421949027u, 437173355u, 2576987708u, 340369588u, 1570828960u, + 4215974858u, 2586814385u, 2481754847u, 3487730685u, 2306473377u, 1693401485u, 1838763949u, 1747608075u, 1311346503u, 817380551u, + 2837473231u, 2463697855u, 3973990245u, 52907490u, 2457503495u, 417383826u, 3161517903u, 3916891985u, 85479200u, 109650870u, + 286059118u, 3213925070u, 2140884361u, 3191237353u, 1961332892u, 274409855u, 587113685u, 1645809030u, 1299509615u, 2733260179u, + 2008909990u, 2425790389u, 2183968779u, 619566536u, 1969597776u, 1918815788u, 2641600849u, 2337854384u, 980011350u, 864528563u, + 2175123899u, 3239173876u, 2573084707u, 1787395461u, 3256473225u, 1186613176u, 4240626731u, 827592426u, 3191836011u, 3993135753u, + 2439098723u, 3873940441u, 2995864598u, 4249476442u, 4243237448u, 620523244u, 1079543120u, 4226420830u, 663056582u, 956583155u, + 3568332884u, 1997085931u, 708064047u, 4054843253u, 3218688767u, 2947353083u, 2112076806u, 2743394786u, 2945633357u, 1778780505u, + 3610896907u, 3380869641u, 2468604272u, 2833703175u, 4091094709u, 2530206009u, 1504111235u, 877365931u, 4214579080u, 643274701u, + 3553053149u, 1657056515u, 2004976654u, 2625479282u, 964931216u, 1123562296u, 1107772320u, 2304893511u, 3950413625u, 3908110530u, + 2575272393u, 3326115357u, 4015397640u, 2485462759u, 1216881307u, 1515994460u, 985117053u, 2701448578u, 2359106266u, 3927448508u, + 1728977334u, 239271239u, 3059779012u, 4084486245u, 2478397359u, 132891640u, 4066798167u, 2639602587u, 384239509u, 3334728113u, + 3383681618u, 4054594860u, 3667800203u, 3562096492u, 2012345482u, 269719068u, 2106888594u, 954463360u, 2888786624u, 2532222194u, + 2167837310u, 2638797808u, 4170340046u, 3220036890u, 2731714907u, 2368749775u, 1264221939u, 2030798014u, 1824801917u, 1705520255u, + 3905583678u, 2377702655u, 3820199509u, 1850704495u, 881984793u, 1013435417u, 1149848909u, 2526873240u, 3576453999u, 1318403668u, + 3309891319u, 2614838366u, 1312070600u, 2519505361u, 1503933721u, 1594083269u, 3756967411u, 3242221748u, 2285084722u, 3038537709u, + 2766577676u, 2672426286u, 3987657626u, 3671712626u, 1572790070u, 3464934998u, 632446702u, 4143281990u, 780797975u, 1230368358u, + 3355118902u, 3937612392u, 1107536329u, 4238410652u, 1124007158u, 2649605216u, 1109798833u, 2261054789u, 3946217927u, 2776392480u, + 132595744u, 3859450699u, 3934556450u, 431149057u, 4119482168u, 1787176331u, 1282752848u, 4112438993u, 2930655169u, 3701147515u, + 1158838095u, 390159676u, 1422778171u, 57739632u, 421393060u, 2197000184u, 354157251u, 2468808340u, 1025068457u, 2524845393u, + 242403371u, 1645888365u, 1261564716u, 4274530719u, 2472942674u, 1188764211u, 4126784530u, 1920620945u, 203040889u, 4143386770u, + 3742673573u, 182265185u, 260378813u, 1560854531u, 2693945486u, 3083670810u, 1277603160u, 249495843u, 1648217375u, 1774712622u, + 3726795730u, 4055023748u, 709813867u, 1742275765u, 100697423u, 2300494216u, 1444721278u, 3054407945u, 1126737157u, 4199656231u, + 54862873u, 2421856907u, 2382845522u, 1750346501u, 3619363742u, 681509863u, 4211672507u, 2311464569u, 3677342105u, 3496225039u, + 611661104u, 1790160139u, 3545657324u, 4111893753u, 892764647u, 990087590u, 890406278u, 522300326u, 1175004912u, 3680937317u, + 579247085u, 575084705u, 156709787u, 3183873239u, 3134983992u, 2931996581u, 3638656821u, 1040011216u, 1982027745u, 3186212244u, + 744236448u, 1462002096u, 217039080u, 2929231423u, 1238694830u, 3574209365u, 3664150693u, 2975981942u, 2849234962u, 3054575330u, + 1897513361u, 4248572107u, 99142339u, 2553092463u, 2545397245u, 2776137292u, 503775557u, 3307205220u, 3000598172u, 257381987u, + 379621003u, 2109504003u, 1374612355u, 3138396351u, 214719162u, 3848019379u, 2230548104u, 3673537755u, 647235514u, 1815249227u, + 1108059581u, 3348361810u, 3945540866u, 96950717u, 199514807u, 4265166890u, 1863796034u, 232951406u, 788441627u, 1254655577u, + 3147736519u, 1441799212u, 572403056u, 853632917u, 2260455605u, 2513522184u, 1624493636u, 3282788277u, 4149792623u, 1348613139u, + 3592899504u, 718516810u, 1799792438u, 3139226640u, 1253538164u, 2569033700u, 1441413141u, 3147762541u, 1809921365u, 505687338u, + 263054352u, 1920193241u, 2427320107u, 2009081867u, 1404750481u, 3734288736u, 1331911445u, 941674341u, 2537202268u, 1908433078u, + 1415516987u, 3783429329u, 3739192757u, 1643133389u, 1129698581u, 175419541u, 370274939u, 4064299333u, 410582217u, 2880408929u, + 2130983756u, 4142053288u, 3803929287u, 318789863u, 2194272520u, 1562442944u, 478754008u, 2886857282u, 2078241054u, 4219575757u, + 1367294507u, 926040998u, 2051145967u, 440394035u, 300261957u, 392396926u, 3706766331u, 3254985648u, 170360558u, 170341931u, + 2476878664u, 1762084010u, 1419550914u, 1496763555u, 1726405155u, 3764428699u, 1247558534u, 1750029133u, 786056990u, 3900912336u, + 136371489u, 356254184u, 13687955u, 2744005364u, 2972372595u, 3379200825u, 2363144137u, 2797590917u, 3338084464u, 1396588114u, + 511128422u, 1440711547u, 2425233726u, 2916995632u, 877002879u, 2221307028u, 3286702823u, 2445242442u, 1108184064u, 3218439797u, + 1846601270u, 215442726u, 3575024514u, 2887122801u, 1118860397u, 2846399346u, 57175160u, 200288866u, 2571358185u, 1944259090u, + 2018132187u, 379126472u, 4152978664u, 2099977441u, 3973592235u, 1365306643u, 4279325256u, 3054764983u, 3946488661u, 3477379320u, + 770642388u, 3016571950u, 244630534u, 1548461122u, 987616805u, 3104044513u, 1359987203u, 3508985181u, 3185636092u, 1981261095u, + 721782101u, 2994695649u, 3859482299u, 2139816039u, 2283877906u, 946694443u, 3836453315u, 461426358u, 1890974320u, 2761962571u, + 2339173666u, 396492024u, 764759566u, 144978075u, 357924399u, 4247041093u, 2594401741u, 979977904u, 2805380014u, 2643136759u, + 1961796730u, 2670401826u, 316870177u, 3714876980u, 1935067876u, 3190554570u, 2687998888u, 408355804u, 736742560u, 3542318985u, + 2790438059u, 1876129230u, 2481332421u, 1611859159u, 836548543u, 2339792268u, 4174416355u, 2472197393u, 1404807743u, 712482067u, + 2013946977u, 1663319379u, 4195946282u, 2422520242u, 774837086u, 2187532070u, 797308745u, 4167455759u, 187634389u, 3212676513u, + 1909147331u, 3228999169u, 3372897312u, 1482975984u, 74788947u, 1826647883u, 4165331561u, 2202049373u, 1474306245u, 771056293u, + 2391500593u, 3583191535u, 3301644091u, 1750967387u, 1651896794u, 1255289025u, 730099020u, 3599256359u, 3527254496u, 1717184751u, + 3219993206u, 251771254u, 455013497u, 3085022061u, 1898095230u, 3560784943u, 1445781652u, 3567353875u, 3651549274u, 2462919264u, + 3904181215u, 3885895794u, 2808474832u, 2705591655u, 3247406134u, 1058940923u, 3983797619u, 876856219u, 2571429574u, 2438785921u, + 932551184u, 529709125u, 2653348196u, 1156061396u, 1470093248u, 40741433u, 2229735607u, 2179093877u, 2524791235u, 3839023915u, + 1181859276u, 3050089705u, 1009596031u, 1322655861u, 3875307699u, 1700906693u, 2764873173u, 3098268101u, 3614368893u, 2041961421u, + 1072926660u, 2421211003u, 4095907784u, 2976645259u, 1151327651u, 2427698913u, 1604902674u, 2661141928u, 771168978u, 2092782904u, + 1079158058u, 313905986u, 2477294170u, 2739667660u, 854548509u, 3625279669u, 722357189u, 1662122930u, 3567831976u, 3809090722u, + 764818681u, 449805410u, 3484215522u, 2869598778u, 804096317u, 3535877474u, 3680012850u, 466132155u, 1390414927u, 468700700u, + 3161837135u, 2019038941u, 1044848124u, 3180973586u, 814797582u, 2972176514u, 3658902624u, 1981067836u, 2670707968u, 12286940u, + 2910059205u, 2712938633u, 3109305895u, 3242639416u, 567361204u, 988671638u, 355604514u, 3153629494u, 551012558u, 1526604563u, + 3761654505u, 652983145u, 1816237652u, 2678199832u, 4010312344u, 3199183690u, 1544324714u, 2618644676u, 2531172192u, 4068749260u, + 4043859609u, 3165625223u, 3503064627u, 4000005639u, 3572192756u, 173602574u, 1921986154u, 3739962533u, 665789831u, 3505315342u, + 894045474u, 1311260641u, 1078092080u, 368041948u, 383370901u, 685641079u, 1105315224u, 2994790336u, 3583581896u, 3980740699u, + 3410912871u, 2762892683u, 2476918734u, 1344863673u, 680264033u, 2539928518u, 2996310482u, 937209081u, 1259994614u, 2157135152u, + 3022150543u, 1953534447u, 311828897u, 1085793877u, 333370895u, 1504776270u, 3503800008u, 3366044770u, 1696751601u, 1396839257u, + 2262006398u, 1434380206u, 3639560192u, 612920788u, 3938532684u, 1855117735u, 2207991695u, 3091735052u, 1465944177u, 2905266362u, + 3055568563u, 2093205049u, 4131945028u, 1301222179u, 1780296198u, 552333130u, 3709657972u, 3283135422u, 135066323u, 1554197413u, + 3456009302u, 878141195u, 2137831856u, 2473765825u, 2412793113u, 3342328380u, 1187313967u, 2960914902u, 4245252868u, 1075354403u, + 4055135852u, 342331047u, 2040704063u, 2935023812u, 2192776275u, 1443314770u, 2404703256u, 3190966401u, 605443302u, 2768255933u, + 1449984208u, 3808502403u, 857573045u, 3267686370u, 1684877601u, 3719202233u, 506140007u, 3570517409u, 1264636064u, 3417345768u, + 3198903159u, 4067595501u, 2448519299u, 1354318500u, 1566088730u, 662601340u, 126737832u, 2840600407u, 3503704373u, 4253908073u, + 1440807820u, 3794679011u, 1842156253u, 3049087314u, 1377854619u, 1623691001u, 3933890000u, 3523064445u, 1256514651u, 2110400789u, + 3872486326u, 509652667u, 1943961187u, 4047952754u, 1629444385u, 90166674u, 2600059224u, 4292928059u, 1240773532u, 1171887642u, + 1737481030u, 3941308830u, 1720448116u, 819663811u, 3478990181u, 4052743825u, 3273677191u, 33839200u, 872731034u, 481974276u, + 2215676256u, 2939609559u, 3730742655u, 2493341310u, 4192441440u, 3445085937u, 3007895201u, 2608287240u, 1314381371u, 399597828u, + 2327667988u, 2954847343u, 3853165579u, 1947510383u, 2290629134u, 2285241359u, 3853854717u, 300728734u, 2300182704u, 3745841138u, + 457133483u, 1065424161u, 2128445394u, 2957911551u, 10405517u, 170397534u, 565697858u, 2233358208u, 3830292548u, 3572491196u, + 257997923u, 3030609314u, 3582790903u, 1074544533u, 2745176381u, 3722702450u, 1871084825u, 3560708006u, 3470322143u, 257295008u, + 3971245796u, 1818427590u, 4084623137u, 2087141459u, 943681858u, 3351402444u, 976575194u, 1650298157u, 679813783u, 551797395u, + 4059972733u, 3570622036u, 4261363830u, 1769080491u, 751795448u, 3166761212u, 4267852950u, 2974726134u, 3561310221u, 1357745175u, + 2312629554u, 2416056615u, 1316888261u, 3493970053u, 2657564531u, 3850528884u, 3473693870u, 3206458382u, 3566273441u, 2995241477u, + 3851652355u, 3224037736u, 1824912953u, 3568130328u, 260959654u, 3776297308u, 1208418364u, 3333854541u, 1113299785u, 2683814949u, + 2805856024u, 2822964537u, 295436645u, 1447793136u, 3347553242u, 1902051091u, 2194370486u, 1984532436u, 3571233896u, 2458670161u, + 2741826370u, 303375566u, 2736725395u, 946400808u, 788493427u, 3567879059u, 190756207u, 2333466981u, 3976714861u, 3703208767u, + 3693810536u, 3950406312u, 832441348u, 1121674776u, 4257853734u, 3220024107u, 497372749u, 778814995u, 2047793545u, 2575223264u, + 1149996230u, 68397669u, 1662030771u, 3071542839u, 75380640u, 2482074274u, 3514545882u, 2074880701u, 2675504883u, 3894756470u, + 4055831804u, 874343051u, 1264421516u, 1004261226u, 745561048u, 2067957295u, 893610857u, 1159427382u, 1696294738u, 3275447900u, + 3102407798u, 3204118218u, 3525506345u, 783042261u, 1135414560u, 3693207249u, 2529593963u, 1380519158u, 2717073306u, 48178743u, + 1907744072u, 715353408u, 796813669u, 2183087636u, 3177401122u, 2292249607u, 2278691527u, 2443682685u, 1199228165u, 422410196u, + 596827510u, 914580219u, 158302859u, 2420444461u, 130182618u, 271757873u, 1872529520u, 4065140623u, 1740490493u, 2846414257u, + 676491489u, 1705710524u, 1696409053u, 2891225778u, 3610080984u, 2217400327u, 1941924333u, 779692986u, 1384463199u, 3215522538u, + 1800731289u, 1407890978u, 2232382745u, 1074518756u, 128957688u, 1408087659u, 3728285540u, 2886997001u, 4119868682u, 1071587278u, + 1999424419u, 2947241390u, 3188310519u, 1634966291u, 2980906843u, 2499935675u, 2423580454u, 2795075752u, 3702559061u, 428294261u, + 1804147493u, 3783932336u, 4129824269u, 2341224293u, 3365712919u, 1046752635u, 3153781301u, 1714201343u, 775717460u, 44453724u, + 3931401643u, 3540950586u, 3107558008u, 503834854u, 264589464u, 798857193u, 1732408923u, 3305975751u, 1567243097u, 2036070755u, + 1290050431u, 1019350905u, 2925801302u, 1439928232u, 2531196834u, 4194813240u, 681282302u, 3169991178u, 383618901u, 1029207786u, + 2820089585u, 968692149u, 1684179467u, 2803312075u, 3954711557u, 4167195894u, 2555765710u, 3127353194u, 484498174u, 3609108823u, + 3705447187u, 1174324307u, 2078818141u, 1650495223u, 2462510623u, 54247795u, 2936716193u, 4185027301u, 635889727u, 1870850806u, + 1389735181u, 963157023u, 2632460040u, 4230846175u, 881851997u, 3880753919u, 2911454369u, 1080981752u, 1376724831u, 1116145220u, + 749960952u, 184180658u, 1163896319u, 830207766u, 1261292382u, 632282491u, 2811352065u, 2723529068u, 901633662u, 2057264535u, + 624434713u, 2087119753u, 3778179700u, 581943022u, 2552112913u, 1791689285u, 467999191u, 1296012307u, 3590821929u, 4145487896u, + 1610103736u, 3809331768u, 2541484481u, 2081584981u, 1217315633u, 2011127028u, 774116525u, 2117308108u, 533967169u, 4075069739u, + 3125683314u, 3057629556u, 3705561057u, 3772312491u, 2461399565u, 889085792u, 4130517673u, 3415806725u, 2685570128u, 3670210392u, + 3984171636u, 1255902254u, 2890942512u, 2327402180u, 3516539188u, 893575624u, 4124379928u, 1128897308u, 3750749936u, 1572229103u, + 3727887248u, 1255448053u, 415968547u, 2489055277u, 1181877377u, 241040141u, 3542189067u, 3722869649u, 782458529u, 1603826637u, + 3613346031u, 210326162u, 793075427u, 620327015u, 2063640501u, 2518654145u, 860616380u, 1141021651u, 3755165740u, 1698275089u, + 3092004110u, 81918616u, 1809654936u, 4241854782u, 2624540568u, 1917885535u, 2918302973u, 3743084195u, 41578977u, 1820277811u, + 3179430084u, 3200951936u, 615750016u, 2785465307u, 2823549671u, 997142620u, 3852685931u, 3269054807u, 706459092u, 413880502u, + 2463697889u, 95247455u, 2469280644u, 2918377750u, 2884438326u, 2502806782u, 957097773u, 486589566u, 3714577793u, 1296665454u, + 1794519243u, 1535069042u, 3494438931u, 1517702752u, 3709429733u, 618572782u, 668022365u, 619416916u, 3266375736u, 2755331390u, + 1315053913u, 3408697718u, 3036699964u, 3007370629u, 1716526315u, 23269347u, 4038642718u, 2273512875u, 1218885235u, 860490554u, + 3072228671u, 632080385u, 3513738413u, 3614146570u, 538464628u, 3759001665u, 4220936940u, 263000353u, 2059623760u, 2882694592u, + 4091072570u, 3829354143u, 2038377721u, 2972413689u, 3766260265u, 524106706u, 1821883479u, 3200530385u, 1964959063u, 4067589156u, + 2428252089u, 3200969629u, 3263713498u, 3784741609u, 1834816285u, 210540232u, 3141285632u, 2371069391u, 710737283u, 2766456621u, + 3302751701u, 2460193067u, 2008820211u, 1500978614u, 1475752398u, 1155071302u, 2829723694u, 1680866419u, 672384215u, 806091851u, + 657433838u, 3656743780u, 1178494133u, 1070217093u, 1330995097u, 2773733950u, 1751228032u, 1889141444u, 1211107196u, 1570239633u, + 3942524030u, 195016868u, 1926260561u, 3214881353u, 3301696692u, 1450805315u, 2944754511u, 2864116592u, 1852631895u, 347838750u, + 433772268u, 4271528554u, 4129768379u, 3924991524u, 3655823531u, 3695933151u, 3900557246u, 916065873u, 1869680793u, 2085422297u, + 3739092854u, 727772437u, 549094864u, 2562188337u, 1418102965u, 1082991403u, 3928416110u, 1623252820u, 2022143283u, 2156936623u, + 324167921u, 371407746u, 2514914349u, 3894585787u, 4130138320u, 4139887047u, 3692011106u, 2200624894u, 26294344u, 2904623619u, + 2163483932u, 767849652u, 3159407623u, 417096327u, 473582851u, 2854354587u, 2425419698u, 2499698103u, 1496144042u, 840524554u, + 1601642600u, 832687729u, 2123170936u, 2445313623u, 2649185635u, 697096856u, 679967110u, 3389731882u, 1482768551u, 2253368235u, + 190757993u, 1191735362u, 530364543u, 3229895266u, 840711198u, 768946978u, 1705097576u, 207302578u, 2172516380u, 432980876u, + 4049114741u, 3747811549u, 3193632736u, 926355877u, 646005850u, 1542003909u, 1429226656u, 122872521u, 3118922334u, 2911969901u, + 3993669746u, 232717408u, 26523941u, 2889303747u, 1817124464u, 1640120857u, 1981092095u, 499525010u, 1364073919u, 1918850218u, + 2346086886u, 726007232u, 4114222017u, 3838078750u, 3601895576u, 594277523u, 1702737425u, 2225354600u, 4055205803u, 71953876u, + 2173390556u, 968591975u, 3887869708u, 1381847027u, 2901343924u, 1981399616u, 628606517u, 3978880525u, 1221996554u, 2306128450u, + 3882214681u, 989085838u, 2119327585u, 25598077u, 4122078002u, 3353635800u, 2961395347u, 3445500044u, 4026913365u, 2039119087u, + 701196767u, 2377956155u, 2812993398u, 4211720012u, 4054449980u, 2000377286u, 1082229839u, 3558067338u, 931573987u, 3426423218u, + 2105799320u, 3138202781u, 3847238117u, 2073141479u, 1556073120u, 1429262796u, 2769875795u, 798695707u, 2981408036u, 974621857u, + 3171537046u, 286893476u, 4140488041u, 3651885590u, 122222804u, 351408425u, 1065698453u, 983590807u, 1909362238u, 1197103201u, + 4043983335u, 1997773665u, 1275191667u, 2158930684u, 1859805311u, 2645457528u, 2440002929u, 2640234769u, 1301929222u, 1408823174u, + 3609032861u, 978542659u, 1388870354u, 504003696u, 3835771263u, 1008832442u, 546006203u, 4218682699u, 2997444616u, 1519390839u, + 3141295405u, 2906543403u, 1064553830u, 2063752160u, 1185736999u, 693382951u, 2518356174u, 3365958584u, 691696004u, 3561054887u, + 3119557941u, 1529264195u, 1247467618u, 924829970u, 3031013597u, 1960638593u, 3618911872u, 3749449701u, 788481158u, 730398347u, + 3496455305u, 4268186561u, 3169565964u, 32811714u, 2553868982u, 3072187926u, 1268755287u, 4240652219u, 513365127u, 4195565580u, + 3051949350u, 1353905641u, 86202064u, 3329621051u, 2150831697u, 3045471249u, 1442809824u, 2934769982u, 3934875849u, 1418747699u, + 1384280444u, 2325215400u, 3933722880u, 924813909u, 3043363298u, 2916402149u, 920971040u, 2639710093u, 1670829927u, 958314734u, + 1580632163u, 4249682183u, 1798744210u, 3213019533u, 648858935u, 4016929498u, 1896357896u, 4018646669u, 1278522168u, 469740547u, + 377745522u, 987933095u, 957332240u, 1850177401u, 2915966306u, 3314274386u, 4285427998u, 4109207730u, 2540600918u, 2928022703u, + 642423633u, 3115809182u, 2569493684u, 1280435455u, 461643150u, 1932171202u, 2647831459u, 280111827u, 2318913331u, 2243588432u, + 705306168u, 4252558168u, 713660736u, 2048008486u, 3742654315u, 4050433890u, 818954158u, 1191886065u, 3264965458u, 3767783292u, + 3826262081u, 3385211861u, 3122399438u, 683243750u, 2196237171u, 879446524u, 3193815761u, 4186262711u, 3926475302u, 297326856u, + 3412283234u, 4055478213u, 1454543738u, 930688596u, 28388622u, 3805828540u, 3899092549u, 524356699u, 355069966u, 672074162u, + 3582072531u, 1450160078u, 3126745268u, 3507997051u, 2159757061u, 1101023751u, 1203105994u, 1964102985u, 3065434462u, 1263593609u, + 2486927480u, 1267903730u, 3725081079u, 1604020037u, 1856524514u, 328221818u, 1658084678u, 3661287795u, 3775229915u, 1788025215u, + 2904453531u, 4109523245u, 3948312776u, 3479219891u, 768958066u, 1561575164u, 1037282718u, 1363822773u, 2443182806u, 916967647u, + 3273910374u, 3895685925u, 3469514763u, 3470027815u, 2966261764u, 71755534u, 1033765428u, 2763482572u, 1348984605u, 699638710u, + 1289451432u, 1874660503u, 4207499421u, 626637958u, 1328355884u, 2664982508u, 2859256260u, 865790206u, 73119990u, 632891962u, + 1935467815u, 1048113110u, 2237857341u, 2593407545u, 85484942u, 2079064597u, 3754930205u, 3078185369u, 2841088669u, 1203139260u, + 1794710448u, 2802236034u, 1960856612u, 274397940u, 3814352535u, 4224894392u, 1886015502u, 1891121144u, 153426262u, 1307675239u, + 1369332294u, 1324435038u, 2381162516u, 475541283u, 403725235u, 3497447087u, 372604914u, 1204882329u, 1285750004u, 2013424318u, + 2169694642u, 761376765u, 3194949128u, 3905000110u, 2654612808u, 2515019559u, 2975727565u, 178122096u, 3793699856u, 1575098976u, + 2556180731u, 659726630u, 3196950775u, 1028753281u, 1281352954u, 542216594u, 3600750713u, 2448738869u, 405790608u, 1788978322u, + 4120908135u, 2429186664u, 4015019111u, 3882915647u, 2388321757u, 1129290221u, 1482286446u, 1638598862u, 1617395357u, 3210149873u, + 2978210507u, 986231154u, 3147380226u, 3313739260u, 1932985081u, 3064378285u, 509399174u, 2075472019u, 2223336180u, 997445872u, + 1090408956u, 2571030157u, 2936472332u, 2605301132u, 421179705u, 2510096178u, 1388553072u, 4199964730u, 3215792610u, 366768161u, + 3043241883u, 528379971u, 4024626634u, 1663794790u, 1026989057u, 4200248405u, 1400195437u, 3018105769u, 225481518u, 1546512026u, + 7800709u, 2825442091u, 3503192869u, 1417597723u, 3675510227u, 3750960018u, 3847310528u, 1086955343u, 3876295936u, 2176695442u, + 1293720555u, 1161740842u, 1113971703u, 2935811912u, 3729084717u, 1158876986u, 2086381071u, 766975649u, 2772721386u, 3413170368u, + 1405982481u, 2433125172u, 2668285036u, 73503380u, 3002278627u, 82147888u, 3152320555u, 2728758976u, 2203419508u, 3975707298u, + 1278390101u, 745309660u, 1227973477u, 3189125982u, 3181284620u, 184465685u, 3560930718u, 2856523702u, 4172703565u, 2721550672u, + 2510776087u, 67468096u, 570688573u, 2769909746u, 2233146794u, 1019395929u, 833948399u, 3361392452u, 546645534u, 1992363811u, + 3600536567u, 1012387722u, 3143807359u, 1532804999u, 2667881013u, 4115190828u, 7791387u, 1857686186u, 2643517205u, 2070023914u, + 2251111154u, 3949592269u, 2166613801u, 1569773368u, 2849288541u, 2219738976u, 651334322u, 1372442719u, 3243137979u, 3459089310u, + 994212347u, 1534578680u, 638012824u, 920604648u, 1347119u, 1088427221u, 215623429u, 3974387642u, 1724670832u, 2555068418u, + 2361121470u, 281296532u, 1692750858u, 3880057074u, 3404213812u, 3023384432u, 2862102106u, 1523616556u, 34024727u, 2649464553u, + 1583796741u, 270280424u, 847349563u, 2966505827u, 1982921977u, 4240692796u, 2550903631u, 3672262401u, 1128938777u, 4250700422u, + 1307688220u, 2214796319u, 3517179676u, 1440560976u, 3120532481u, 4051738017u, 1065350432u, 4265426776u, 1130529354u, 585763437u, + 1471033883u, 46589213u, 4116574818u, 1584655467u, 3172016101u, 584609841u, 3452572001u, 3784075954u, 3724728154u, 4050018099u, + 1275110166u, 1900509616u, 306493886u, 3592614381u, 2728734170u, 1682198740u, 2759803982u, 243202347u, 3333140994u, 3766812045u, + 124780764u, 3926698553u, 549766931u, 2289004986u, 2676262664u, 2495570590u, 1082536365u, 1490773002u, 1592905060u, 1128532218u, + 1366254450u, 3461671042u, 1564935300u, 948095433u, 1302699815u, 2461305041u, 2660792953u, 1826650169u, 1027649774u, 1098257842u, + 623675463u, 1946650286u, 2681467846u, 773917532u, 559543305u, 3131443374u, 2923242939u, 3772622847u, 943216558u, 4241623695u, + 2018699614u, 2781230432u, 268059685u, 1548930901u, 3170274158u, 3283632372u, 181218167u, 51102822u, 3918975651u, 3749930324u, + 852624451u, 1113096237u, 3888207482u, 2027081537u, 4054859333u, 3604058114u, 2777296008u, 85170643u, 2838636546u, 3223787799u, + 2525501374u, 475498058u, 544460893u, 2461568695u, 1448427550u, 3891780215u, 1648726655u, 1040475179u, 3695278930u, 2580605157u, + 2721383868u, 919331320u, 2431085192u, 575223096u, 667936329u, 2978680076u, 2098918270u, 2536723827u, 831728310u, 3587725459u, + 3703527160u, 297131699u, 366618176u, 837792135u, 2475665026u, 3352610818u, 1853257477u, 1032772634u, 3959035238u, 348194596u, + 1180536736u, 941859549u, 1199095245u, 3795169956u, 1557689626u, 1215599660u, 3049946969u, 1152950897u, 2271847430u, 2877500287u, + 2417966017u, 2280507604u, 3559692145u, 1158513989u, 499870800u, 2637409476u, 3458464910u, 1204748393u, 2329621508u, 723400200u, + 1456301954u, 1430928148u, 1758614258u, 279602007u, 520784181u, 2446120925u, 2784202212u, 3991225275u, 3162662247u, 3722053891u, + 2842385193u, 2829325543u, 1612458741u, 1809572083u, 3097904372u, 4008218517u, 2058985674u, 126251739u, 4174249956u, 539860329u, + 2572732348u, 2473776140u, 926033627u, 31057849u, 899315026u, 4087811741u, 418182922u, 3409479558u, 59246354u, 3022785277u, + 1641730530u, 3490375397u, 1391457338u, 2348343882u, 1575876683u, 2955340760u, 3663129769u, 4103226698u, 2950016597u, 527263950u, + 4174336957u, 3951700977u, 2330942287u, 2097533582u, 3920237011u, 2902590770u, 848058821u, 2048481250u, 977076847u, 3019982101u, + 4161315938u, 3275217927u, 456160847u, 785035606u, 154773911u, 4176233475u, 658917884u, 2366465591u, 2196083705u, 2875857762u, + 3568395399u, 832014899u, 2400473866u, 806073103u, 3547123082u, 3713170272u, 2082625494u, 4106337332u, 403352782u, 209513288u, + 3002230012u, 752072047u, 3244481827u, 3855091384u, 1678722817u, 383428197u, 2966191344u, 2702027397u, 3684082388u, 4230609991u, + 1111954173u, 2767072546u, 1083487761u, 2591155468u, 1428197931u, 2895449026u, 2057941878u, 4268727906u, 4211529758u, 2357729499u, + 3136733472u, 3870056695u, 148519946u, 1928706787u, 1417262645u, 2365880029u, 4037189551u, 479685329u, 3925553246u, 1651295864u, + 185014194u, 2516124285u, 1699568732u, 1996095167u, 3861312757u, 2766139541u, 3965841153u, 2815503465u, 2754391388u, 3686460288u, + 2885476210u, 3257520569u, 631139768u, 445582407u, 1439827472u, 2813778802u, 3305480367u, 866344009u, 851131720u, 1537114967u, + 818067869u, 2538388841u, 3910630922u, 3128946119u, 685381238u, 3418673571u, 3904591016u, 3365746644u, 3631412581u, 1866841939u, + 4264265697u, 1493926758u, 1637718358u, 769715683u, 4107984768u, 842150438u, 639579370u, 3445716049u, 808900520u, 722463104u, + 2254016074u, 3217532085u, 1487999853u, 1205367525u, 479473961u, 1909258714u, 1065146019u, 3222498304u, 3990550086u, 424009818u, + 3658380929u, 3070689567u, 3885932903u, 305242346u, 3282680269u, 2111149784u, 549960192u, 3158865260u, 2280078968u, 2855538955u, + 2075034798u, 3131633590u, 4261517777u, 668338361u, 2642801088u, 226755327u, 2138938728u, 1916561417u, 2797029543u, 3126318517u, + 1220697699u, 1954755474u, 2114727772u, 3186630934u, 2616250789u, 3659219779u, 795492371u, 257181034u, 725507083u, 1219803266u, + 1855276539u, 3051729466u, 2386001334u, 1610547669u, 3505118419u, 2059294790u, 3793419532u, 2941255792u, 4237952662u, 4253555563u, + 1319854928u, 3736981701u, 1203273596u, 81940733u, 2504837317u, 3596492900u, 3209978481u, 1302648335u, 700655333u, 3121381667u, + 3704583272u, 3954507069u, 4227059663u, 3996399633u, 3489048880u, 3758447806u, 3463805214u, 2018883473u, 2219284127u, 3363432673u, + 2307903763u, 1787475375u, 1855415853u, 2392576609u, 418079320u, 2359755821u, 179101724u, 4154403286u, 1109181663u, 1058523406u, + 871760234u, 3009605014u, 521669898u, 3700039007u, 758124069u, 533254316u, 357652518u, 2825753327u, 3843879353u, 1104748490u, + 1403555211u, 1279909704u, 2938799314u, 2477498379u, 3393440202u, 3611828893u, 4252045344u, 1006569157u, 3740520911u, 2798040815u, + 1735003582u, 3594039485u, 3322269186u, 2055034541u, 946550516u, 47959759u, 1386483564u, 3974970173u, 3461000835u, 550148107u, + 2413194861u, 2208662569u, 312183901u, 1809025576u, 2432858501u, 3110925397u, 967807922u, 1714395463u, 1626526482u, 1299976026u, + 112332203u, 3173989469u, 2771791680u, 3339262815u, 542988049u, 3418819640u, 3570702337u, 170311435u, 1553162371u, 4278579574u, + 3734499335u, 2747338272u, 770936201u, 3662796563u, 1795893634u, 1852726471u, 1333846166u, 3939206026u, 3352244903u, 3975197185u, + 936160626u, 2613345504u, 2711835294u, 2913412381u, 2100151622u, 1142798832u, 733507066u, 1118930009u, 849600574u, 142018643u, + 52179309u, 1992441344u, 314542088u, 676454771u, 1481374931u, 1796059116u, 39675472u, 2040402352u, 3582440580u, 1785076399u, + 2292063842u, 3408759116u, 43848334u, 1901324892u, 4104959234u, 1883801685u, 2744785134u, 693189862u, 1860934796u, 1357354297u, + 3724355115u, 4114374440u, 2222018681u, 3220230509u, 2354584429u, 1067771920u, 3198452286u, 2420091896u, 3383139322u, 3516176224u, + 425115813u, 1403445104u, 3114787175u, 497696429u, 3771082832u, 192919445u, 976179910u, 3292253020u, 1975604067u, 3602842939u, + 4199932235u, 1184799076u, 2819654518u, 1009762130u, 2842367030u, 2366542264u, 3062614317u, 3750625032u, 3843942082u, 659063198u, + 2494287008u, 3558594585u, 1980028401u, 1162759703u, 3904641663u, 4207952259u, 2606181730u, 813777808u, 3001464059u, 2879485218u, + 4141919040u, 298831294u, 1752043478u, 3794971360u, 176162126u, 3911742155u, 3779745452u, 1003934870u, 308994344u, 214119827u, + 2211462264u, 2768966862u, 2399143532u, 2509325282u, 412680813u, 3841280846u, 879795339u, 4072199633u, 2163314416u, 807645665u, + 100011224u, 3978214152u, 3435963845u, 454714180u, 2114825969u, 1025001989u, 3557691173u, 3580109369u, 3309106847u, 2437053649u, + 95235002u, 4262832731u, 2290400088u, 972008633u, 1325497471u, 2984036786u, 1798880167u, 1948291572u, 2840118280u, 71522563u, + 2799275117u, 2310006786u, 2678164899u, 1436618760u, 3804381438u, 1393809125u, 647300019u, 1350635505u, 3197439612u, 2508815798u, + 3694013896u, 595742213u, 1376279772u, 3703306172u, 3818633368u, 4117144516u, 2763904770u, 1569140015u, 810817183u, 2004297158u, + 2352095071u, 874737872u, 3095433744u, 917918284u, 3352519242u, 2648798431u, 2296802915u, 2171300671u, 1049302737u, 3812037931u, + 678635767u, 1952714666u, 1876507260u, 482615404u, 1541592457u, 1356651018u, 4256978708u, 1349520179u, 2826989462u, 3386333729u, + 3094224084u, 450171772u, 3744677936u, 3598350093u, 854701008u, 3199824608u, 591171623u, 1010275562u, 4195002499u, 603316905u, + 2822672902u, 1847094874u, 2998931998u, 2282434865u, 281832267u, 1307024674u, 1150749492u, 3003181892u, 3511069749u, 2687987674u, + 1339468641u, 1880121166u, 3307295743u, 4081925841u, 2435269940u, 3777553072u, 1607165339u, 673279529u, 2624502130u, 2427589908u, + 3118111193u, 3628100900u, 650871456u, 4282597562u, 2109002468u, 3688814666u, 2242611798u, 206060457u, 2211599122u, 2726227633u, + 2012506509u, 3468039293u, 2788109534u, 3627541290u, 3043874733u, 2955358796u, 2317386004u, 36532658u, 1042171153u, 1365104290u, + 3444305942u, 4236255797u, 614310335u, 2567223702u, 1574003554u, 3072279143u, 136510964u, 1451339354u, 48605816u, 214191140u, + 2792050754u, 3469405269u, 3441580268u, 1616354125u, 1783822728u, 3009374857u, 3603557446u, 4207446488u, 1911264637u, 2237906971u, + 753849218u, 102289317u, 2867282034u, 212326296u, 1634192129u, 3822906903u, 1388367985u, 2467408353u, 3383782572u, 3963222815u, + 3303071829u, 2428476110u, 965727197u, 2438981940u, 2799013928u, 369553960u, 2918473235u, 1985133973u, 2404312900u, 3188750715u, + 654153193u, 1102310644u, 148580277u, 1336258883u, 3272908723u, 4030585547u, 2813280086u, 651853942u, 2357236279u, 826264033u, + 4151593073u, 1514366224u, 3382649112u, 3684760901u, 1398499637u, 2722860971u, 3909005769u, 2433773450u, 2507053551u, 2603604943u, + 2584221874u, 921425428u, 3921754209u, 3748882510u, 2161388398u, 3012724094u, 817227394u, 163280536u, 330799468u, 3916888224u, + 1232152524u, 4294866224u, 3171600357u, 2487813777u, 3015220816u, 3387382536u, 1133361121u, 512663154u, 2875287361u, 1219976667u, + 3396252190u, 3672427791u, 2927650045u, 3665023765u, 3224590162u, 1171181256u, 431328806u, 2788087906u, 4013766271u, 2552286299u, + 2354735123u, 2299758564u, 517135586u, 3306953807u, 1632983891u, 3342925085u, 648670783u, 4155188090u, 1421481943u, 3572373179u, + 905401998u, 691240368u, 706337465u, 991182255u, 3081224952u, 314241647u, 2117641243u, 1442019009u, 466101974u, 3183652658u, + 2631481776u, 958432148u, 1517914569u, 2221725180u, 2498045747u, 3740294768u, 2276516621u, 2716495342u, 1104477168u, 2758014567u, + 1167678990u, 1845536449u, 35943763u, 2384198370u, 2671910090u, 3178324697u, 3045408056u, 492840804u, 3292420906u, 1620394349u, + 141548909u, 787238879u, 970082383u, 1167858292u, 1895620071u, 2396655166u, 523927030u, 1124706440u, 3019163029u, 1433253566u, + 2498654963u, 2269965711u, 3217581457u, 672655015u, 2087454283u, 2252328616u, 2305709959u, 2739136939u, 1169016581u, 4026759238u, + 149497407u, 1116910326u, 2705430671u, 3805013701u, 3414056120u, 3385496138u, 4243466341u, 4165041432u, 3596314933u, 2079913306u, + 2958598353u, 2917243285u, 3923001628u, 2545771516u, 4043954727u, 2408321260u, 717876742u, 4189931540u, 2307455532u, 2161735252u, + 1753038632u, 3400820029u, 1445587967u, 3584397067u, 2357465784u, 812722331u, 4203216625u, 2088903723u, 3573234423u, 1617053212u, + 934250607u, 759534573u, 1066282853u, 31698711u, 1924337169u, 2050194982u, 645995120u, 3891797798u, 3836040548u, 1635918980u, + 3468820257u, 3582920306u, 3924113551u, 781464201u, 1101518637u, 954625701u, 3814710093u, 2922989777u, 2919306667u, 779661890u, + 1545243123u, 2079287231u, 2848299107u, 2803223582u, 3840421751u, 2077274293u, 3814373813u, 2520602458u, 2045566683u, 4135236258u, + 1262493853u, 1904381788u, 3141263542u, 3208823632u, 1171482750u, 486394952u, 2154598341u, 1936568744u, 2408239395u, 2814454909u, + 582190211u, 1048510073u, 3672500578u, 2596508586u, 1105426522u, 1020280754u, 2953796097u, 252411675u, 3744715085u, 3983091612u, + 869475610u, 2585635507u, 3410569943u, 3969777765u, 1001465694u, 2838384532u, 3446268042u, 1941800403u, 3476230457u, 3465115304u, + 4293702864u, 995334106u, 1819675030u, 2215807370u, 861634888u, 824989572u, 246772187u, 2206452296u, 969909381u, 1204091671u, + 674887342u, 2359945869u, 2022273949u, 1274345978u, 4215501870u, 4054520266u, 3092631357u, 2876332594u, 729896578u, 2697197685u, + 509571068u, 172017724u, 1421630936u, 4090365169u, 2947128915u, 2874348685u, 3235124660u, 2278929594u, 1372801608u, 1645420656u, + 3970863182u, 2109503305u, 1385020735u, 2694859901u, 485841985u, 2707420509u, 4272774808u, 3202627332u, 2578812001u, 1258481522u, + 2592054432u, 2718098060u, 2088928916u, 3280503131u, 2275118717u, 1141887809u, 532734804u, 597998815u, 1154918394u, 2290760907u, + 3176963217u, 3466768572u, 470918895u, 171558297u, 1518012778u, 1437339236u, 1025683556u, 3603452429u, 806456819u, 991814222u, + 916252122u, 3769144669u, 650950651u, 3033532181u, 3519436532u, 4031039601u, 2293730272u, 449375109u, 3852227808u, 1051736819u, + 3938387447u, 138330294u, 676222449u, 3733619259u, 2206105945u, 3236439413u, 1579385754u, 1220723213u, 910012757u, 3648179846u, + 3539435765u, 2167615969u, 1044807382u, 2006587007u, 145546919u, 1406705997u, 3951130344u, 1578130383u, 822535472u, 3256173386u, + 123958657u, 3147736264u, 2082600738u, 2059566268u, 1208779766u, 1620060074u, 2365024848u, 531530986u, 684279030u, 3583747024u, + 2441191831u, 3311213153u, 3355081264u, 3411117954u, 1362517171u, 3126892796u, 232912427u, 1420039296u, 662732096u, 2212892478u, + 1438360803u, 3098159254u, 1300472458u, 1219289995u, 257446939u, 1301174431u, 1014703965u, 2879571507u, 3324040595u, 1969661916u, + 3930527028u, 1712284653u, 3790824595u, 3698221321u, 2661773789u, 731779995u, 1400610384u, 298984444u, 1896695568u, 2615640977u, + 1017586422u, 970661054u, 3333712633u, 2947256068u, 3922917066u, 1465082721u, 4028780987u, 118127485u, 3350784333u, 1021649504u, + 4222203201u, 2661135206u, 1435173665u, 1383547134u, 2376858714u, 978386478u, 642163689u, 2229530986u, 4235210882u, 1692696373u, + 586917685u, 4135305697u, 453615329u, 2929394247u, 958250896u, 1016572725u, 4260239406u, 836301199u, 1889268887u, 3748013695u, + 708328224u, 3629837283u, 3934910728u, 2441061682u, 3554594384u, 660048901u, 4078521615u, 104930427u, 805158328u, 1068516806u, + 3883060756u, 2827438601u, 1414842499u, 1452616397u, 3313076684u, 3308205887u, 2313544454u, 251393670u, 2786984664u, 622716738u, + 2023357829u, 359785108u, 2482939820u, 2630083216u, 3236895695u, 2859800630u, 3582433149u, 2729494609u, 2131010864u, 3842074858u, + 3889240620u, 54570568u, 817439912u, 2497819478u, 1048599519u, 3960770632u, 1479344021u, 2957611315u, 3475972764u, 2560833050u, + 2929320239u, 3379109771u, 1369583487u, 3886585149u, 776338523u, 2623298090u, 1041858544u, 2560899298u, 402611438u, 214695485u, + 3254056290u, 1372852531u, 2985877588u, 3270907425u, 3078580302u, 4124791352u, 3400371018u, 426482675u, 2168635412u, 3522211031u, + 2734411843u, 1118158873u, 1180475087u, 3323938914u, 2080991130u, 2055610402u, 1766326351u, 399607123u, 4262627194u, 1525856369u, + 4257624163u, 1770657572u, 616501127u, 426954064u, 3212010837u, 1196401592u, 3877080043u, 3489546249u, 2010636363u, 1691063909u, + 320672158u, 2679172542u, 194790489u, 2995114158u, 2987819871u, 4031043868u, 3714639302u, 1010997318u, 636761117u, 4199121345u, + 608868838u, 2447081928u, 6230530u, 1247122274u, 1257467660u, 993148752u, 90255085u, 968458412u, 2832992902u, 3016827081u, + 3335313965u, 3457137191u, 2386428030u, 2589043314u, 3164380895u, 2966062017u, 1083787747u, 839346732u, 2945076280u, 1783396003u, + 2997267300u, 2682596953u, 602433660u, 2421897226u, 3041723865u, 3210965099u, 2665261971u, 2927416726u, 1606350053u, 407072656u, + 484527908u, 1012162295u, 3472896002u, 2076513395u, 743013415u, 846433359u, 667592151u, 941695670u, 3060551817u, 852277560u, + 2095309358u, 2223691900u, 2854497091u, 3714681902u, 4041410572u, 3287124996u, 3256260227u, 1561456632u, 3651950138u, 2980832536u, + 4150161848u, 4130516582u, 2108932239u, 1718517695u, 435896841u, 855857733u, 4104850679u, 165418130u, 1404893442u, 4248577657u, + 3074578876u, 1501582789u, 536430253u, 2050401440u, 3953834943u, 373407201u, 138171262u, 2410010496u, 2590317142u, 75560846u, + 3023222054u, 2067689516u, 2182565553u, 3475618976u, 1063072851u, 3674208317u, 18528731u, 1506642104u, 3384819170u, 445882927u, + 3648381219u, 3837360545u, 2806751912u, 998816463u, 2402940549u, 3140278889u, 3993403768u, 1519736361u, 3050536101u, 3974599944u, + 207059471u, 3447436808u, 3835068993u, 445763624u, 257111893u, 3527975903u, 564409964u, 4044501252u, 2474236859u, 3416023278u, + 715438540u, 3614891162u, 1210055307u, 3703472213u, 1600962167u, 3350542578u, 4257946753u, 2773742165u, 2484493248u, 1622386603u, + 72471431u, 1556713293u, 1877831982u, 992283062u, 478188713u, 1989306379u, 1473751060u, 1698564967u, 1337054381u, 3182494486u, + 18801186u, 2670909835u, 2747827963u, 2347114987u, 800516045u, 3936560790u, 1742118436u, 768245496u, 2463801255u, 2131481832u, + 3457602504u, 2369424703u, 1107403300u, 2838375030u, 3862400043u, 2420820462u, 921983353u, 2838330716u, 1180118233u, 3682225233u, + 629546311u, 2717928374u, 3122831507u, 3882566641u, 1580470388u, 1305345511u, 2614640919u, 1638608950u, 3665694817u, 1233113842u, + 2722123047u, 916308281u, 3754086651u, 4099422536u, 938622853u, 182037922u, 1186060903u, 1159972840u, 2711255683u, 559870253u, + 701825909u, 2402679925u, 1302370811u, 1814208570u, 1600253580u, 1742203684u, 3672961710u, 1438805267u, 3087086518u, 2422457254u, + 570306012u, 2438793835u, 197252076u, 4086377923u, 1107047279u, 1774371775u, 203499421u, 866483973u, 1049092121u, 3205872291u, + 2464138764u, 116820037u, 2185059024u, 1106349712u, 3721712655u, 1655808607u, 1884081457u, 1303178192u, 2823947821u, 1972304205u, + 3860839238u, 1733238777u, 3488520652u, 1470510313u, 377206531u, 1867247839u, 949959713u, 2282478577u, 1461264887u, 1410152288u, + 2615579839u, 528811579u, 202257300u, 1281887135u, 919657038u, 2486612027u, 176779231u, 511556244u, 2661016827u, 790467135u, + 109046514u, 1404482216u, 1651233108u, 628255187u, 4235038808u, 457787004u, 2428680359u, 1081824587u, 1096502680u, 3127205997u, + 829559401u, 1763834342u, 3451490462u, 123991558u, 1062016174u, 3576735619u, 2120746230u, 2053163084u, 2493124565u, 3258395691u, + 264522729u, 3830518378u, 1868563560u, 958354703u, 2668278356u, 4188744100u, 465962723u, 1261282374u, 2319406775u, 2498178560u, + 576891119u, 335483620u, 3306953946u, 1828852753u, 2233731129u, 602864750u, 1321087154u, 1080758984u, 1923984587u, 2902299361u, + 831888349u, 881390705u, 1340042899u, 1106683751u, 1045257037u, 1665102638u, 584328416u, 974443058u, 1455514811u, 4165211196u, + 1283673180u, 3398995418u, 1466671041u, 2538294296u, 3102817176u, 2350481142u, 624183926u, 2530123068u, 1429940657u, 2464390538u, + 2354410105u, 2830029416u, 575191705u, 4168820755u, 54797641u, 4151062829u, 2222170426u, 575987957u, 2601459316u, 2712513757u, + 1145150145u, 4272240507u, 1490129166u, 3052023697u, 2864947240u, 3907218928u, 3879689726u, 1004617896u, 4074863606u, 811424941u, + 3561383564u, 1847684279u, 153316113u, 1542946704u, 4235156789u, 3388630120u, 1257874844u, 1124803365u, 1437882160u, 1696380108u, + 3578040414u, 1733036927u, 3610685058u, 2704407317u, 2243798961u, 444121037u, 11963469u, 2723599764u, 134759963u, 1431273538u, + 1400412442u, 1242304992u, 3013665041u, 3932698442u, 1813965227u, 2549395978u, 3413960902u, 2862002451u, 3950440998u, 1893723837u, + 139808595u, 3760993706u, 4044416594u, 2873896760u, 1344044743u, 2836369833u, 1057343772u, 3858063930u, 2566245364u, 928899818u, + 1794061638u, 3499019319u, 2455724406u, 193854827u, 101321089u, 3246799929u, 2767199855u, 2378078185u, 2963640431u, 3838913656u, + 415326147u, 3603243461u, 2997038234u, 1351012962u, 736514920u, 762510041u, 1170953700u, 3238085916u, 2673268019u, 1084176608u, + 1835061010u, 2419921067u, 1518090437u, 1040800478u, 3775664099u, 1350430584u, 24847007u, 2472425072u, 3392572902u, 2912392286u, + 821590540u, 3842808565u, 2367742760u, 2640452967u, 1910222018u, 1861606385u, 737851639u, 2656210566u, 1651294771u, 1895085950u, + 86114248u, 1422227019u, 1895738909u, 2019031653u, 1156735600u, 924199316u, 455001629u, 2304080934u, 4239398188u, 3275713615u, + 1262498177u, 56888760u, 1944124249u, 2874387048u, 2445927843u, 3650892856u, 1592749373u, 3041390832u, 980115764u, 1969788001u, + 1701999906u, 1455601357u, 847358218u, 4139855740u, 2541610165u, 3313616988u, 2220208639u, 4118124931u, 4049786838u, 863741577u, + 4111410649u, 3829122159u, 4135978601u, 70909341u, 2753315489u, 1827143944u, 72441609u, 2151083725u, 2428594125u, 2367678137u, + 1430683689u, 3386434467u, 2010656499u, 3080178905u, 2355027561u, 241761791u, 3906845429u, 1473245082u, 4067407727u, 1763185116u, + 2196802151u, 3509821267u, 2094736241u, 2625926157u, 887353350u, 2809478196u, 2877369114u, 3365997360u, 3757258309u, 2436402208u, + 290192887u, 3292889867u, 2359216295u, 456028114u, 223748434u, 3476284037u, 2450242811u, 2231906949u, 2262864563u, 704465229u, + 3411370859u, 392022904u, 860300695u, 2261193443u, 2431857600u, 3546590211u, 919860839u, 995568894u, 2163841233u, 3083098816u, + 3958165025u, 553446506u, 1187757981u, 3642964383u, 1111542922u, 1505752397u, 3327510532u, 3454843526u, 54682564u, 950329454u, + 2403147025u, 1276076450u, 306575594u, 4182799321u, 2764113388u, 3384554078u, 3003963859u, 243293885u, 2449329947u, 2406389787u, + 2591693279u, 349274926u, 2219552946u, 3016692210u, 1149102948u, 553523094u, 1982778192u, 1554482724u, 3704745489u, 3206822717u, + 545855641u, 3482558439u, 146615581u, 1230591117u, 4155002323u, 1871016538u, 2224334090u, 1106968894u, 3635026122u, 2765993660u, + 3732752873u, 3975791926u, 4240231284u, 459703784u, 1562863721u, 2100515822u, 1000328402u, 3036650188u, 2646496481u, 1551613470u, + 1764438531u, 1001568599u, 3957191275u, 260763628u, 3268336348u, 2933170316u, 1341432211u, 1239423432u, 3857351579u, 3109231442u, + 3065072179u, 3775616383u, 2758131357u, 2405378601u, 380752251u, 2676033314u, 3813394459u, 688336268u, 3692362492u, 844225012u, + 1381795615u, 2267647143u, 2479543518u, 1993783930u, 837184998u, 83655283u, 2299451858u, 877803392u, 3017406344u, 1939934247u, + 1424486661u, 290734169u, 203057617u, 1376612388u, 3689728834u, 3155844756u, 1164126444u, 618576125u, 3082423544u, 1476756169u, + 824054783u, 121409001u, 1252822230u, 870212267u, 2650496753u, 3032063539u, 2130645319u, 1201302765u, 584742060u, 3579773746u, + 971329278u, 3095069191u, 1399652112u, 2120653424u, 3132921881u, 4289294284u, 799881832u, 51510722u, 568708458u, 3673889543u, + 3478028176u, 1408072386u, 3609223413u, 2829115230u, 2946964820u, 1232435596u, 3701886355u, 736649737u, 3105322247u, 3842892206u, + 3428431801u, 1442819132u, 3419078572u, 1308733582u, 3024393848u, 2900947153u, 2719201166u, 1302922023u, 2083241428u, 6446825u, + 2607741337u, 1429449376u, 2154286786u, 3061857605u, 2914772461u, 948359226u, 2782059068u, 3806850541u, 3410807806u, 1233898428u, + 856775720u, 2271506722u, 839168237u, 3264488277u, 1292948782u, 3637089619u, 568783727u, 3405599746u, 787989111u, 1586649864u, + 2971326526u, 1512381950u, 627021646u, 1426432048u, 3868264411u, 1287006922u, 1522516650u, 216682608u, 558969756u, 4012806989u, + 1793225787u, 2554084556u, 91329384u, 3669554220u, 3561423419u, 1781254618u, 1231736308u, 2616044679u, 2776305902u, 594705343u, + 4085106547u, 4201219631u, 4012074689u, 1395903240u, 3035255524u, 1949966332u, 3251814593u, 1569044278u, 3237298965u, 4121433135u, + 1218302982u, 799562956u, 3707544767u, 3807204253u, 3481511521u, 1655336478u, 4010610156u, 958572384u, 1851867123u, 3900655238u, + 2834376348u, 67580439u, 1475537432u, 927030550u, 1962465485u, 3337088922u, 3929297744u, 1614636180u, 1932974738u, 4135300798u, + 3280051007u, 1291399967u, 2855063829u, 547164004u, 1992192702u, 4280265391u, 2055371673u, 556920650u, 2986431042u, 2191525537u, + 2912476779u, 4228469273u, 2054284412u, 3126831254u, 3573151962u, 2903481365u, 283708746u, 2331711798u, 763283376u, 2345643003u, + 923226064u, 3003754784u, 490511882u, 3646937178u, 2249229981u, 2854521118u, 4180215119u, 3063586091u, 1990441524u, 3996145122u, + 703931617u, 2848504760u, 2198601891u, 1261421257u, 387265609u, 3514920643u, 2695559764u, 2323677050u, 689858050u, 1095808762u, + 2398717027u, 181303798u, 1056888008u, 2505693054u, 1637433015u, 508701311u, 1957700206u, 2280435324u, 2990060281u, 3781863241u, + 3402115740u, 3045317547u, 3085869804u, 3059478226u, 604710671u, 3474359350u, 2706171125u, 2263665053u, 2757236186u, 1270371069u, + 3510501852u, 260195625u, 2715713526u, 1240612268u, 2491744429u, 3957625486u, 2656465098u, 3260018026u, 2575513098u, 2551941974u, + 4135787995u, 3960400367u, 2396692194u, 3662472849u, 3592979158u, 1750109858u, 3930894334u, 3083010380u, 1467838178u, 1900606989u, + 4152164624u, 2990762460u, 3103769199u, 4206027425u, 1011449539u, 2938853779u, 3488297165u, 1483809287u, 3673088493u, 3689985181u, + 2994623509u, 2136423954u, 2769920459u, 1439947331u, 539283036u, 1062537179u, 3086165699u, 736938950u, 1353539459u, 2690874242u, + 2499631030u, 4165267810u, 1903661261u, 222845204u, 2391421616u, 2939748029u, 338995098u, 398789382u, 717150891u, 1895191731u, + 1915427725u, 4003631298u, 1678082245u, 3992229685u, 2057384384u, 938780720u, 512166499u, 2552371765u, 1069550670u, 1916471729u, + 1748247862u, 1634008986u, 3051109042u, 423393081u, 2462639449u, 2736401412u, 949941221u, 3971612539u, 3366513393u, 1825500676u, + 429259432u, 38838663u, 3079014049u, 777150730u, 244250915u, 3746850524u, 80424555u, 3377114991u, 695105861u, 2739626304u, + 2425699695u, 3407165407u, 1313614986u, 4176087492u, 2698337024u, 139800410u, 1776743429u, 1738386612u, 2276439620u, 1736667368u, + 2229508648u, 2191273927u, 1808232709u, 3841934059u, 12994565u, 1078846733u, 2240483319u, 1800559355u, 4097752615u, 266523836u, + 1339563946u, 2005059617u, 1384925442u, 2693977122u, 2398167508u, 3200392579u, 1613201680u, 1648814891u, 1847956405u, 18994096u, + 2550895600u, 614722975u, 1698965653u, 2014991672u, 3277102459u, 996801946u, 1018426947u, 726882213u, 2555551182u, 365758985u, + 2702321683u, 2988546562u, 995576443u, 1607717988u, 180471066u, 1425838313u, 616083148u, 3409714830u, 3369691578u, 1689750456u, + 3150933762u, 3697992227u, 3778837559u, 2869245834u, 1683534485u, 405120063u, 3288646599u, 1381596720u, 743659865u, 4042799172u, + 649444077u, 918109200u, 2745446483u, 2766772626u, 235757554u, 2866435416u, 3042125310u, 3756340753u, 2860539473u, 1200045256u, + 4185961073u, 1251605044u, 3216942944u, 2536592496u, 3329482445u, 613142864u, 3087921504u, 2237219177u, 1972418407u, 1950784183u, + 2035712418u, 491944673u, 2879643228u, 349673604u, 3871448662u, 1165615706u, 128568637u, 4048912195u, 1000898407u, 1449505717u, + 531667031u, 3568658719u, 207767308u, 978589920u, 484201344u, 1235231223u, 1685859543u, 2510908442u, 1140028949u, 1833762275u, + 3447755714u, 2214067215u, 3850657777u, 2930868593u, 1268032699u, 2291952520u, 3188742687u, 2523247395u, 514770015u, 4076413589u, + 409682281u, 4016569328u, 4011657890u, 1931663881u, 691193984u, 715010441u, 1883283491u, 3815439365u, 1058222916u, 1972214327u, + 2187829139u, 3448335782u, 1837428857u, 439384991u, 1843328854u, 3366878048u, 4142804745u, 694567748u, 966366010u, 806926926u, + 3533997593u, 1609162258u, 3521763769u, 3234504865u, 3090109583u, 2689385213u, 2019393419u, 2347021373u, 938419923u, 847397483u, + 559384371u, 3609405857u, 482002915u, 3282186477u, 911802520u, 4281485666u, 301093878u, 4098438932u, 3301724843u, 3827036605u, + 3577930063u, 1315444957u, 3775620577u, 3171880326u, 2711904641u, 2587500905u, 3975097917u, 4187156896u, 2852287153u, 642751082u, + 2472860654u, 1357572895u, 1112809473u, 4044318762u, 3539921456u, 209341272u, 2607586320u, 3529501615u, 678889663u, 3411920251u, + 2955809703u, 934628959u, 979777750u, 2363663766u, 4062755230u, 1321092472u, 3397816057u, 54981289u, 2941434508u, 1726605901u, + 3551110481u, 3607535683u, 810333734u, 1693906247u, 670554174u, 4084832261u, 1762555774u, 4039763263u, 2802761896u, 2591030062u, + 1480423192u, 2487697418u, 1597052606u, 2391703150u, 168670447u, 798982534u, 3232120716u, 4198419280u, 1855355447u, 1949025449u, + 4268869757u, 300938777u, 160010646u, 1901004116u, 2118308396u, 1192993029u, 3012253229u, 2542688275u, 145294521u, 3269342047u, + 1603510510u, 980076738u, 4010791291u, 1625180895u, 1716785931u, 3455128809u, 1704066105u, 1684104741u, 3449457273u, 3145274975u, + 2084926007u, 2142172491u, 2311665609u, 3800246748u, 1186657480u, 320092032u, 3654183366u, 4203096025u, 1009587022u, 4103690392u, + 2486895600u, 2499407850u, 3450799593u, 1343617075u, 1512157421u, 1355817925u, 2007686981u, 23155601u, 360213142u, 3762492374u, + 2203063658u, 2867096108u, 3790647438u, 1582941653u, 986369327u, 1445235451u, 899406660u, 2750888852u, 1599628947u, 1833630149u, + 4208520665u, 2219594243u, 3408057660u, 451685824u, 2567575400u, 2947386813u, 3644590423u, 1908687188u, 608984027u, 1214884570u, + 3033349040u, 2856962445u, 3895310037u, 1719793974u, 1904895314u, 267519842u, 3724593077u, 3459109730u, 2107807429u, 537580710u, + 1141435066u, 3106238763u, 2518222405u, 3455510380u, 388498943u, 780872529u, 465751757u, 72838437u, 1596549861u, 4003455902u, + 1019153057u, 1827636834u, 2947437665u, 1116693393u, 4027431495u, 194695729u, 1777012605u, 1793940557u, 2645160601u, 2335785883u, + 3055718163u, 2227683298u, 52180346u, 2490136507u, 3214216502u, 825197551u, 4075143507u, 809418750u, 3771161605u, 3453602035u, + 2718681400u, 4286773427u, 2217637273u, 1635999959u, 3295970458u, 4098045962u, 3298200428u, 3016376392u, 747181095u, 486061396u, + 3863932324u, 517152957u, 871497940u, 1705086449u, 1067575680u, 3616533543u, 2617988269u, 330048443u, 1511810225u, 424258122u, + 2928690486u, 3482890154u, 1043790115u, 3966802390u, 2560201548u, 2303176796u, 1591216102u, 2471402685u, 4216648086u, 2425210299u, + 3910884238u, 3564459933u, 1336177453u, 2206605997u, 2037776756u, 2675162720u, 1237773603u, 2698720631u, 1614849520u, 1636552615u, + 2043717203u, 926398604u, 387485820u, 3432457978u, 1101685298u, 1272356754u, 2604942727u, 4158924626u, 596352297u, 2597132733u, + 192037125u, 1709270595u, 1599209618u, 1582431609u, 737528858u, 1506049164u, 2693874924u, 20620141u, 3324666254u, 771494648u, + 2636328263u, 2799527225u, 1004875362u, 1765922388u, 2586951040u, 1663196693u, 3106337154u, 195044379u, 3371671986u, 4193532404u, + 676602210u, 2197239989u, 2127237336u, 955123954u, 410239885u, 3014485085u, 4278477173u, 3361138700u, 2679094709u, 2750875204u, + 3149625693u, 1938312428u, 4027283443u, 551740891u, 1857512185u, 3745206659u, 1569065872u, 3515640707u, 1286065962u, 3351429510u, + 4147242890u, 3680111428u, 466351265u, 3571091934u, 2221658817u, 2677825127u, 2513154175u, 1163742436u, 933563259u, 547589258u, + 974512271u, 3574949803u, 3374983220u, 2093042707u, 2938790248u, 3632574305u, 2029523267u, 2142508008u, 2274739258u, 2555741090u, + 1498795441u, 1185542917u, 263969321u, 3705612359u, 289251660u, 3071157552u, 517985169u, 2681534647u, 2181550267u, 2442713216u, + 1689696966u, 1882316059u, 37383792u, 3714463285u, 2019031956u, 2933852009u, 2253380784u, 294575050u, 3421925169u, 939912032u, + 38403768u, 1604678154u, 665689056u, 647209349u, 272316978u, 3781635201u, 530118553u, 939836746u, 356090265u, 1997247846u, + 812149709u, 3078075335u, 3460374969u, 1611714497u, 1649834644u, 333644194u, 4271602708u, 3100367304u, 3875899896u, 711592191u, + 1554657526u, 2102124643u, 3564292018u, 3156298124u, 1727879789u, 8717641u, 3759253254u, 727608624u, 3797786456u, 1564576806u, + 2747729434u, 1864769089u, 1976992077u, 1527034250u, 1233264288u, 1503192655u, 4103026734u, 4069690437u, 3013509100u, 4170399256u, + 957470203u, 1429290274u, 392285447u, 2116478695u, 4023925933u, 1667953359u, 568626460u, 62590475u, 1329360319u, 4203234650u, + 2575808064u, 1533294803u, 2450935463u, 3605844833u, 3957978080u, 3113462941u, 3515269659u, 1577614795u, 2369426127u, 669838331u, + 1262642162u, 2223397804u, 2688892856u, 2382755106u, 3789328135u, 2804991723u, 1267249604u, 82534053u, 1310534404u, 1400017307u, + 2209653839u, 1882938187u, 1865347775u, 230768860u, 128752865u, 533661233u, 645468889u, 114965107u, 3832204870u, 1442680345u, + 3529359508u, 3169604472u, 3059551952u, 1535443588u, 1169794281u, 861208500u, 3728161081u, 2894229975u, 4285332542u, 4207022654u, + 3388622839u, 905294047u, 1256745029u, 1633789875u, 822752606u, 2959138427u, 896894795u, 653239426u, 3298636415u, 1237495156u, + 113783986u, 1208175182u, 2154249591u, 1701165951u, 2630102869u, 2466082754u, 2240055295u, 90468272u, 3044166222u, 1537861586u, + 160321069u, 2077153383u, 1648392298u, 407847523u, 2449758254u, 80470882u, 1847319346u, 3567731411u, 2908027616u, 2920533990u, + 3742674986u, 445536498u, 2088599846u, 66177281u, 3451306248u, 2457239982u, 1129125408u, 558432624u, 3914258384u, 146834243u, + 2346117618u, 895905579u, 2658902074u, 2769349974u, 727891678u, 2491770159u, 528443274u, 3665099802u, 2768888342u, 363000858u, + 3505567224u, 1802295659u, 4151931711u, 1382439863u, 3048738008u, 2534880900u, 383862145u, 51096558u, 3515224943u, 3546987983u, + 3792978885u, 3178761595u, 3997371950u, 3059728839u, 2538559509u, 1034124572u, 2521725389u, 3400639158u, 1301379300u, 4250444828u, + 610930213u, 45335682u, 2981132235u, 4236797776u, 3844416094u, 2678099504u, 983652230u, 3075140119u, 1679142592u, 2390850381u, + 905657797u, 2538656696u, 541757606u, 3257220595u, 1890178156u, 402550830u, 2778781058u, 4183062183u, 1530294143u, 3117987657u, + 4097645208u, 2746163530u, 3137594678u, 2758281774u, 317286147u, 182354997u, 1831307003u, 2874166634u, 2659646037u, 475706372u, + 766355426u, 3748950878u, 1469037412u, 3168360365u, 2652057405u, 3382495363u, 580729208u, 3332071274u, 2391279179u, 3091904909u, + 2590986995u, 3582038483u, 868017785u, 2814449614u, 3471318185u, 1877462586u, 1750796647u, 2955359385u, 3265961049u, 1870339385u, + 3861857274u, 2474282534u, 858251279u, 2046677444u, 205553178u, 2225718191u, 1384536284u, 1212515944u, 2820889208u, 2849587990u, + 2338016331u, 3526962161u, 286305167u, 2755319652u, 3853461464u, 2757696261u, 3319705250u, 1220476405u, 466891818u, 3850779056u, + 1789578689u, 2041652270u, 4212960957u, 3677975707u, 4268630510u, 3729539051u, 75086660u, 903080801u, 1078349985u, 3649285140u, + 1939247225u, 447833818u, 1699293770u, 1754209462u, 749055861u, 2721325340u, 3630768158u, 3452190571u, 3337495704u, 1201992038u, + 2575379099u, 3998475606u, 1722336055u, 216039238u, 498725834u, 4198349608u, 1513878921u, 708796514u, 2546682041u, 3953611856u, + 1304331476u, 1994104739u, 2592031081u, 2798529167u, 3653842912u, 3005066403u, 3615807757u, 3872547564u, 3060513818u, 1810745663u, + 956129196u, 3148166911u, 2306971957u, 4202774445u, 589672206u, 104016581u, 2129940446u, 961472581u, 1778321689u, 1460094367u, + 216535330u, 2216802467u, 3579925504u, 3427759020u, 3984255105u, 1698640718u, 3351930383u, 3822446938u, 2963571974u, 3308019238u, + 1236066950u, 562435947u, 3540720574u, 2046148552u, 3707755665u, 2352058670u, 2341337432u, 222286697u, 809185921u, 2528017984u, + 4170108055u, 2421935470u, 2887187452u, 2354779018u, 170679322u, 1776810810u, 3654712377u, 2697256688u, 848592623u, 2925741473u, + 2431836301u, 4237409268u, 390148744u, 279459842u, 2216539022u, 2845883651u, 593209944u, 4251299968u, 405089649u, 1267583426u, + 3259015051u, 762165202u, 2898173031u, 2818478726u, 1460831367u, 4049042993u, 3890759596u, 387155536u, 3292293426u, 3050146500u, + 4210282315u, 113071203u, 1813777230u, 1393215271u, 1479357287u, 931464675u, 1348366727u, 3968940001u, 3115716911u, 4187968679u, + 518390068u, 3331432393u, 2139870901u, 2107905522u, 2920880994u, 2969488483u, 2439266669u, 1262415769u, 2388491734u, 2092267399u, + 3676208365u, 1928034935u, 2320004217u, 111578064u, 758131498u, 3114174495u, 835620910u, 3973313259u, 3358044507u, 1988948483u, + 4167030036u, 3186659577u, 3827378807u, 4236018710u, 2652197305u, 1741382553u, 1533468945u, 1210380451u, 1369628134u, 829036322u, + 1906850512u, 385975637u, 25974065u, 1541282399u, 2883409241u, 1747771044u, 3706008577u, 1767282603u, 3241045585u, 4195051950u, + 2198951333u, 1539588793u, 4114001941u, 53881593u, 2416843918u, 1496442266u, 3421146968u, 2261332191u, 2100330192u, 575921180u, + 803064965u, 2227589525u, 1022493532u, 4067699792u, 3707279504u, 3578590741u, 2893028412u, 1597240099u, 2947123077u, 2276281471u, + 3077417150u, 3212369915u, 2650420099u, 1803014445u, 4058041052u, 3740508542u, 2990900319u, 2574858170u, 2735646763u, 3709050435u, + 3785199552u, 1084519384u, 2994455082u, 4282480779u, 625292857u, 3719006656u, 3633572588u, 3656792836u, 4149042908u, 2344060989u, + 4109158789u, 3784289273u, 3914692058u, 638206604u, 3711923749u, 2036964584u, 2303251761u, 2500866182u, 486829832u, 3230533611u, + 840154839u, 954542662u, 1443765317u, 190203250u, 4181677133u, 4163100322u, 4245752866u, 500055410u, 2108345101u, 10651446u, + 2132830310u, 3024311411u, 3958853492u, 1374955773u, 2051755335u, 3475341639u, 1866591183u, 3275348808u, 3796952107u, 2164759920u, + 961045982u, 884149425u, 3064295516u, 1754298477u, 2884047021u, 127868407u, 3528799696u, 1398316308u, 1434553011u, 2330353372u, + 2333565011u, 2725987332u, 1154950748u, 1208233236u, 2685651904u, 3719711652u, 1581258110u, 3383729958u, 4030528703u, 4021614379u, + 3865287529u, 1165772692u, 2393439613u, 3525048382u, 480812935u, 3585881907u, 2244543468u, 2878743623u, 732040164u, 1240227869u, + 406181772u, 1426693931u, 3629466003u, 591162046u, 762021302u, 185982886u, 2135944626u, 608277417u, 577470479u, 54467056u, + 811038153u, 1188949578u, 3859800822u, 4008742451u, 2756391175u, 698418851u, 331133313u, 3839635067u, 2992945064u, 107423217u, + 3354426077u, 4246535378u, 4087518772u, 3571332666u, 2665683068u, 2471174813u, 1243821629u, 3554553078u, 2501050876u, 2931902501u, + 803677070u, 2086307143u, 633862669u, 654069482u, 932087892u, 1051068465u, 78551184u, 3534328156u, 1677552732u, 110437289u, + 3490438292u, 64154518u, 3584938442u, 3520448711u, 208186217u, 1012720977u, 4253220058u, 703251067u, 2811823835u, 548517697u, + 31555976u, 4264582532u, 2074965777u, 879583114u, 1040956811u, 1699463846u, 1334320537u, 3245855194u, 3577695214u, 2083420606u, + 3448165531u, 2269356543u, 3829636480u, 573950235u, 3728210095u, 1938077277u, 3813092454u, 1189624418u, 644475632u, 3679115384u, + 3847593923u, 3483897139u, 2212607027u, 1009440269u, 29321625u, 2483249955u, 1555310957u, 2103229524u, 3811489683u, 3553183042u, + 3234732279u, 1799419609u, 727334141u, 1087882588u, 1166677074u, 378864387u, 2232382919u, 2884043871u, 1356749565u, 1472634823u, + 2693220245u, 1759270230u, 2510946395u, 2247368761u, 2817435300u, 214677461u, 2672001959u, 59728122u, 2953357697u, 3759144047u, + 2359590428u, 32448887u, 2893427058u, 763093866u, 2347160864u, 2065249328u, 1193116245u, 1772077826u, 3449539953u, 1162122333u, + 2548201699u, 1755614821u, 535166558u, 98938693u, 1485171586u, 4265910795u, 3502489061u, 1028512336u, 1165724809u, 3192975245u, + 302999879u, 2893492438u, 414713897u, 1013509438u, 507816612u, 1806209622u, 160032250u, 3089693409u, 819644451u, 3788457601u, + 2465350188u, 3706873154u, 159341131u, 1071971749u, 4001997024u, 3800009845u, 4142136797u, 2963704506u, 1345001968u, 2402429149u, + 3946517781u, 890335108u, 310686860u, 3117288293u, 2364869639u, 4027879511u, 1969971452u, 1447434593u, 2430903670u, 725246884u, + 3077371805u, 2434685208u, 2755631165u, 1607407085u, 3780922958u, 1943348467u, 3510383363u, 307781086u, 2374703790u, 2336926425u, + 3612550812u, 1218860166u, 734724943u, 1204711190u, 750528572u, 3365386439u, 78404979u, 3745516728u, 946999172u, 2110060942u, + 2772816951u, 432827950u, 2148559308u, 2557625799u, 2808142474u, 332401052u, 3665193197u, 3521190844u, 4130243043u, 2971495404u, + 2912180320u, 1114323884u, 3836122894u, 2399690005u, 1788492121u, 3627174075u, 2825044686u, 1827011258u, 4111764207u, 3109518930u, + 4060582744u, 2426647919u, 3198231521u, 1497687623u, 3653629992u, 1071786544u, 740127135u, 725595771u, 2606073132u, 94560531u, + 1089614130u, 2286310267u, 3864037445u, 1197400014u, 1551279452u, 2658599000u, 2398862027u, 3931584602u, 350917977u, 3379742806u, + 20346734u, 1382255596u, 3593357105u, 1566734635u, 3817117888u, 3318784335u, 2163632239u, 1767125943u, 2709609979u, 4272525974u, + 3009641976u, 3970498538u, 4188917732u, 2275735236u, 1586295453u, 730769096u, 3980627134u, 3716367733u, 2065107763u, 2074296982u, + 1127717229u, 1028916367u, 3638032437u, 3914123314u, 1417763638u, 2656905516u, 699355171u, 1562439130u, 3461393158u, 609805725u, + 326347011u, 721640171u, 1502569470u, 3697467924u, 1434972848u, 2954865696u, 2446694465u, 3902314844u, 1761600742u, 1966580246u, + 2851114220u, 440883632u, 3980827885u, 3079691561u, 2870794151u, 719740232u, 1848903744u, 1814445576u, 1124215608u, 3111029838u, + 2736660311u, 2459894439u, 2243179867u, 2588068686u, 2784101239u, 740941350u, 3251696582u, 340305586u, 2815491114u, 2669753326u, + 4046176295u, 3181989895u, 755539540u, 2728656548u, 62204373u, 3613608201u, 978110696u, 2839199642u, 382063674u, 217845173u, + 3406982974u, 1097664237u, 3012973868u, 529907068u, 368334521u, 527304649u, 3240305126u, 1910593032u, 3488221192u, 2257051071u, + 958810u, 1765091633u, 4293727329u, 932170467u, 2080052516u, 3063840893u, 3161939115u, 355079982u, 557419703u, 2544896518u, + 2781282403u, 3560025400u, 603843665u, 1238105175u, 4127264424u, 2134304538u, 2893124042u, 3450952236u, 846095161u, 2104904761u, + 387704540u, 1399971850u, 1676723851u, 646360889u, 2385601072u, 905838316u, 844932300u, 1478465986u, 120539682u, 112479143u, + 3625744298u, 771846968u, 3336199384u, 3429172003u, 4092837647u, 2707439620u, 583987231u, 3364832731u, 365455433u, 3649220786u, + 2251236288u, 4042066989u, 2800391324u, 3402717548u, 1920188193u, 359840776u, 4142670803u, 7941091u, 1095378199u, 619591620u, + 78181228u, 864224534u, 3775079110u, 4148983166u, 2723864088u, 523925058u, 3033951444u, 2017646227u, 172107722u, 2984766555u, + 2828446786u, 2991381693u, 654154883u, 1993274285u, 1417055741u, 3516503100u, 1646284160u, 1173160559u, 1646306170u, 3153326097u, + 422342466u, 680756254u, 3636234800u, 1722302385u, 534519499u, 3841534190u, 2683184752u, 1220315751u, 2552739213u, 2448137544u, + 1228026004u, 2335026036u, 752871343u, 3289989066u, 3879735550u, 1339227709u, 1160704348u, 2761043822u, 1215367987u, 3816357524u, + 237045794u, 1542136728u, 2816492040u, 2802847533u, 1454091218u, 2234489487u, 2029361734u, 2719836219u, 1022442576u, 3757168268u, + 3914330711u, 1997898626u, 907147451u, 3870115199u, 3686855703u, 929356096u, 3370705963u, 210273176u, 3489314497u, 541898031u, + 40237423u, 169176038u, 3681397337u, 3702041375u, 373171332u, 2568035033u, 3942419406u, 50190211u, 2957811838u, 1760880339u, + 2045187018u, 2139279383u, 3824930454u, 1354754164u, 3660926637u, 778332148u, 3656143807u, 1922558078u, 905515799u, 2306044948u, + 3609886025u, 3826100912u, 2133664196u, 1279961165u, 3545048710u, 1241220667u, 970434006u, 4098455566u, 3159433311u, 987018284u, + 670829181u, 2216291136u, 1083809999u, 1547193061u, 4261729938u, 590920279u, 3731208037u, 2736740537u, 559612491u, 4185418001u, + 2440403438u, 1130449020u, 3679393432u, 2397181899u, 1269354988u, 3272934236u, 2888629026u, 3781732710u, 2589309758u, 1014772474u, + 1098306587u, 1032727659u, 2516590656u, 2009829280u, 1971986692u, 1601160743u, 3689131477u, 377853867u, 1407046892u, 585422368u, + 398833461u, 1863034855u, 2092922894u, 3253647547u, 323760123u, 594096995u, 2367195297u, 2935009234u, 3479535829u, 3858902414u, + 2136229910u, 1772373347u, 1206646150u, 2248414772u, 2977236232u, 3869410304u, 1899055553u, 686884420u, 1708278309u, 2784178092u, + 1205546868u, 1680216425u, 1503637151u, 841509380u, 4178223255u, 3263829660u, 364737078u, 1658822588u, 546697652u, 3648856927u, + 359310588u, 2600728747u, 1896418336u, 510528849u, 2346002436u, 1076521015u, 1789123602u, 1308992110u, 3483175881u, 2511677903u, + 2843850399u, 3054735166u, 1364124377u, 534062181u, 889681816u, 3636543694u, 1629131277u, 718053785u, 51833045u, 66512264u, + 400684121u, 1224715503u, 2968158373u, 3601416728u, 1036366430u, 1925081788u, 3765019828u, 645340944u, 2556826342u, 2965003722u, + 2305306879u, 1421378581u, 3772896907u, 3835089951u, 1415149768u, 2407193770u, 3918184056u, 477813461u, 469363044u, 1836566922u, + 4268015843u, 1166483589u, 108538168u, 3846089214u, 3828393721u, 1684746039u, 2656994985u, 875869818u, 2511653880u, 303497846u, + 566417213u, 1722925710u, 1772609240u, 3017957998u, 2506270065u, 2816981429u, 7600192u, 1725078111u, 1388282535u, 405032562u, + 2072873863u, 4082568735u, 859980757u, 3469355434u, 2141971578u, 3807685452u, 2787983452u, 3564298130u, 2538824354u, 2877206781u, + 3047806803u, 2007816867u, 3781419493u, 1198898172u, 36727918u, 548770807u, 708737189u, 2477170892u, 3212821732u, 2611181060u, + 779100705u, 4293757031u, 2998896986u, 3924995054u, 4036212388u, 3172322550u, 3808337137u, 570280864u, 1871410308u, 3357122925u, + 3325724017u, 1969485888u, 77884022u, 3137858727u, 328119324u, 1753716905u, 4010694831u, 554676500u, 2920052018u, 4053785860u, + 2292206212u, 1166696869u, 3075925869u, 2337816673u, 3421496051u, 1857425607u, 1583516725u, 2188245003u, 369294183u, 3161320318u, + 3847466515u, 67038492u, 3368414584u, 2651054573u, 3156247865u, 1766702558u, 3805614708u, 1997020260u, 2378982428u, 1602800431u, + 92649865u, 3159353405u, 2110947211u, 1681633029u, 939830829u, 3250063627u, 3242535534u, 407148469u, 3199576561u, 4084319549u, + 1285999742u, 1496170443u, 1466323451u, 4179856618u, 3204347504u, 1888642116u, 346692939u, 2959088711u, 3729221073u, 3630248462u, + 3440180016u, 1666998713u, 1642554923u, 2683119962u, 1478095148u, 3808879471u, 1316254185u, 2284204793u, 2409905709u, 3760652254u, + 3624946279u, 2683944777u, 3326867107u, 1470817233u, 1741589342u, 3998285412u, 3230856936u, 3246150570u, 1528702207u, 47731237u, + 3211075631u, 106423827u, 2528902045u, 2175998676u, 262012081u, 901557094u, 3772491425u, 1367359426u, 2972490681u, 901013780u, + 1027185093u, 2591914315u, 3678910928u, 1271516808u, 2947237734u, 3748363861u, 2575298888u, 2855797071u, 2405752056u, 3676246380u, + 109258062u, 234196124u, 2520596217u, 1155580306u, 1359266484u, 904679387u, 1484104786u, 520269214u, 2439529341u, 2429271916u, + 352157088u, 1103315687u, 819526285u, 113773234u, 2869146191u, 3264592724u, 6560963u, 3571166767u, 745752903u, 1646816626u, + 3026991908u, 2627367770u, 4182458720u, 488918566u, 3065964989u, 3108318519u, 3672419726u, 4052493521u, 2535365775u, 2860528116u, + 2462216855u, 3547282139u, 3097208280u, 1349554413u, 3889755959u, 32473308u, 2406814427u, 3886724827u, 3784266437u, 4211872747u, + 99923509u, 1908895729u, 3557619586u, 289132044u, 1744381637u, 3471158101u, 933715929u, 689099842u, 2137447781u, 2944561815u, + 1486880404u, 231125383u, 152072149u, 3496219114u, 2052370385u, 2381567673u, 2150292966u, 971188235u, 3881564073u, 688874875u, + 2924111277u, 1714640855u, 1909974967u, 2981194218u, 3300559879u, 1419398127u, 4000950071u, 3974998543u, 3189730944u, 343386820u, + 1736820154u, 3470531804u, 465537356u, 593641052u, 672678535u, 3803182970u, 3893596087u, 3772665614u, 3749681308u, 1492334605u, + 2713987239u, 3500471174u, 753061268u, 941382246u, 1633689264u, 2578549367u, 2081348763u, 1901487888u, 3969147289u, 270792516u, + 2878829902u, 1392124941u, 32546530u, 2935120516u, 1385027575u, 570107649u, 3072866105u, 2619682349u, 3542586476u, 3072230352u, + 3415275950u, 2823476722u, 1572392773u, 4044782292u, 1953698010u, 86914151u, 117165331u, 680181570u, 2419051131u, 1561737612u, + 22059280u, 3240988020u, 80675139u, 2252044236u, 3364496315u, 1246475935u, 176809557u, 77532128u, 2224111429u, 1602915571u, + 3896707272u, 3858724713u, 2660025114u, 334295561u, 3305228725u, 1764548850u, 1970092686u, 1338800241u, 3089692317u, 3515345104u, + 2447119062u, 3881955535u, 2404183576u, 3387819263u, 188737049u, 1201917280u, 1345762424u, 2234953157u, 1288611092u, 3282878721u, + 1907472908u, 3557889714u, 805044541u, 2617715809u, 1380329857u, 1101876854u, 1318317194u, 156268538u, 1038829932u, 3523568734u, + 261934962u, 2605531292u, 3603907983u, 1676762438u, 1174339693u, 972756781u, 2303994918u, 2593883505u, 3068719338u, 55075385u, + 2641501473u, 3638523652u, 2219965358u, 954751958u, 1090565734u, 1472390572u, 2279472581u, 3893657976u, 3997558801u, 546401044u, + 2237999581u, 881942665u, 4137228401u, 4172628130u, 1558091330u, 3058855258u, 1456615779u, 2739098072u, 1160644239u, 1322620256u, + 3603193763u, 507475588u, 3526721038u, 1819610513u, 4089066072u, 1321445772u, 282363546u, 1722709586u, 2954274358u, 4020261153u, + 3731432453u, 3396485492u, 2906039719u, 3507428378u, 3396498016u, 395584194u, 438182099u, 829336507u, 1906962184u, 471238374u, + 731697564u, 546228565u, 1549693277u, 2861445588u, 2932952896u, 3719707934u, 47919303u, 2229259294u, 326731799u, 246807942u, + 2863587073u, 386000299u, 100575873u, 121084158u, 4181820834u, 941395705u, 2585750731u, 3477254936u, 1531765968u, 3898306637u, + 2009596012u, 2622589204u, 1552747934u, 3499749127u, 1908696914u, 3558900205u, 1466442239u, 849843085u, 3505795605u, 1460204818u, + 2006551285u, 3885118270u, 1682228406u, 3337880779u, 1673042251u, 541191107u, 1297505835u, 334476934u, 1037764982u, 2756452355u, + 4173170571u, 3646824441u, 1366058102u, 3903226477u, 3276972616u, 1885359317u, 4035591605u, 589845318u, 1520961432u, 1033972501u, + 1655711639u, 346105299u, 2771791760u, 1106864049u, 2848804675u, 132322599u, 1328894831u, 4015231711u, 1150270871u, 1254089961u, + 3852888513u, 3292833767u, 293756246u, 1416870638u, 123840397u, 2647716328u, 2324293593u, 3434477894u, 254528173u, 2797648227u, + 168058484u, 2946891186u, 386273133u, 1437067185u, 1134732375u, 419894787u, 2803750348u, 2406764230u, 2266453474u, 3057692924u, + 3263806240u, 3712473622u, 2607086555u, 2066596526u, 2622866590u, 3403311254u, 2855359171u, 2712693859u, 257500413u, 2080527479u, + 3287104027u, 1544209262u, 207469348u, 4031639252u, 3072455269u, 618315042u, 144085104u, 583969093u, 545108584u, 3403137333u, + 1758233762u, 4247811676u, 2837375796u, 2285543583u, 2024877836u, 3674314176u, 1460439413u, 149738705u, 2305749006u, 2131839512u, + 1074315660u, 4068889213u, 3743200611u, 1940247855u, 4163399859u, 1571165435u, 2044844907u, 2973588964u, 891164884u, 2438980270u, + 3208975921u, 2066340139u, 1181395199u, 3609698929u, 1951154463u, 2789123050u, 2583066481u, 300194183u, 3620037621u, 3870082837u, + 2843783521u, 3132187341u, 610614817u, 2798681092u, 245809365u, 3355910012u, 731849481u, 3524161442u, 2590573768u, 820361987u, + 3037386780u, 2216022980u, 1827284260u, 3355865253u, 3302722586u, 563338408u, 1259347719u, 1403827932u, 2070729715u, 2197325518u, + 1827221648u, 1095058240u, 2069928711u, 2455880854u, 2470021704u, 2208716649u, 3130746860u, 1308721554u, 1781349560u, 1439223349u, + 2029862543u, 3124521426u, 889539877u, 3371343803u, 727024401u, 936863095u, 4151188810u, 3265087373u, 1078099964u, 768082022u, + 1699268257u, 2793318051u, 2725858397u, 3907852198u, 1228516665u, 3862526738u, 3984909702u, 3070764363u, 4028156601u, 4064383131u, + 1321403249u, 391788815u, 3942581811u, 3781782694u, 2573877843u, 2172424610u, 911025366u, 465939784u, 3917122783u, 4068943981u, + 2933654117u, 2777108249u, 3118051342u, 196730519u, 1431445033u, 4278779842u, 4172533443u, 4031203515u, 1706494646u, 259834945u, + 2236347352u, 4081394120u, 2287826268u, 717833971u, 1936163538u, 1208585376u, 483426340u, 2279965268u, 2144290339u, 1919333009u, + 1147905369u, 2851375095u, 3521980098u, 3102482797u, 691956450u, 995870027u, 2221283451u, 1692026081u, 3903094856u, 2288297010u, + 3291791392u, 2880055054u, 3504630065u, 2522379479u, 978422162u, 3602965166u, 2955708025u, 1504891751u, 1880187145u, 2095273022u, + 2193365986u, 4060149605u, 699302692u, 2008856323u, 4065277831u, 2060542878u, 2707536042u, 1072234444u, 1594481907u, 1777663898u, + 52677076u, 1094855614u, 361865085u, 1144480671u, 3022742596u, 2109371962u, 1896459166u, 3184286585u, 608333864u, 2173642860u, + 2095745439u, 2776557478u, 4278767289u, 500592476u, 2860280524u, 1243164484u, 4052515554u, 3417483932u, 2528424407u, 590669188u, + 1344245190u, 2416392554u, 195508002u, 1831001742u, 3712164500u, 4292316490u, 1301354935u, 835911833u, 3885606693u, 1642275586u, + 591593643u, 322671966u, 3236223241u, 4257327917u, 3884545694u, 1976743906u, 2113744862u, 1979306619u, 2606695450u, 4288994671u, + 3417078432u, 3348989953u, 820932975u, 2963995096u, 2614497712u, 1283909778u, 797177452u, 4291099666u, 1979717050u, 3097698093u, + 3549253578u, 150547231u, 4266328143u, 873045165u, 3856853237u, 1139452714u, 3833152637u, 1555065434u, 838451125u, 2527330439u, + 4014436052u, 428299889u, 3779353365u, 2810487444u, 2623971573u, 3560769110u, 692486577u, 1883148229u, 2749654014u, 3620402526u, + 3700613790u, 139004282u, 868782592u, 3142754830u, 1954400083u, 1749242113u, 4048773445u, 428726136u, 3454865007u, 4053037241u, + 3044255551u, 1232607765u, 1993911755u, 4257159552u, 2464618172u, 3310731372u, 2427621013u, 815390576u, 1022071717u, 1785866279u, + 980183001u, 3818775989u, 4143525781u, 1369455852u, 3744727790u, 1104408437u, 2270634969u, 693801296u, 1888276169u, 1734220006u, + 112625762u, 3192355020u, 460302369u, 2098591170u, 947108079u, 2143396773u, 3393250175u, 3647714566u, 4138653637u, 3333476889u, + 1438755336u, 2380399925u, 822193838u, 3951155597u, 1337719591u, 1416098639u, 2213439589u, 898369022u, 3517972470u, 2089969173u, + 665926801u, 3447758401u, 3785509260u, 2274126366u, 4022476259u, 3189642951u, 3271562071u, 160276017u, 3810732370u, 1119595726u, + 2151238032u, 60383110u, 329122743u, 1356224808u, 4158963385u, 1836632094u, 591089051u, 884066606u, 1616604100u, 2276011108u, + 781001785u, 1936431487u, 2665072056u, 1922678424u, 2246982742u, 2377184306u, 1943245781u, 3444713577u, 219350010u, 2090570779u, + 1779058655u, 4208746307u, 1141900131u, 2974757817u, 1284382377u, 2467922462u, 3813205411u, 1571419836u, 91905726u, 134428111u, + 2326299734u, 105519772u, 1290355909u, 2037056313u, 589871698u, 998250960u, 4064976806u, 4122739367u, 21167238u, 824527869u, + 2537368551u, 3243931871u, 3116503232u, 641485505u, 3239913012u, 567474384u, 2251092520u, 2194677760u, 3747199749u, 3840483399u, + 4140334486u, 1206015253u, 626526694u, 2236165448u, 2600306277u, 2514519445u, 1308998964u, 4022056223u, 2860227827u, 2971801679u, + 1081651549u, 361341429u, 2776993697u, 4253741899u, 2624422399u, 3300258434u, 1033517024u, 1717254442u, 3455311157u, 1265292519u, + 2116430792u, 1045938950u, 4200156811u, 1347576400u, 2303482740u, 3875859229u, 1475625864u, 2850451964u, 2440933305u, 3509615068u, + 1731206721u, 549719245u, 2786368047u, 368586857u, 207405403u, 2352221968u, 2076028688u, 2223484139u, 1070340463u, 3576738079u, + 261029973u, 2281574773u, 1063499044u, 1418362225u, 4252353328u, 406635794u, 167454904u, 281737486u, 379099438u, 2576519133u, + 2418145267u, 2480080383u, 3161749714u, 747286049u, 1103136689u, 519225475u, 1169594855u, 1017045680u, 3780906192u, 2041241880u, + 2251219968u, 2017123045u, 3847950160u, 2339858081u, 815952420u, 1456196190u, 973497073u, 2824496829u, 173193981u, 3801188244u, + 2075496886u, 4069097683u, 3323449919u, 1489988502u, 1195835510u, 1064002874u, 2000818448u, 2176142030u, 2180891070u, 1716061747u, + 2346665021u, 1650765122u, 2855140631u, 3245459015u, 937815551u, 2044352251u, 714255165u, 1712049667u, 1880770891u, 2244582134u, + 2462212085u, 3509318069u, 4236407710u, 3030494302u, 2769244162u, 1528412579u, 3593103109u, 3809356347u, 605737254u, 2344107755u, + 1492090527u, 4124782492u, 3105723266u, 2782789284u, 1069917326u, 3099415382u, 1442465017u, 2178003089u, 4070184756u, 2020174633u, + 1357163409u, 3981043988u, 39630787u, 2861439337u, 2081743213u, 3748378310u, 2105147821u, 1479389965u, 4007758852u, 41799353u, + 1802671183u, 4142741896u, 2435416383u, 3646822997u, 4050703574u, 3554099317u, 114508136u, 2461800745u, 4178395845u, 214067750u, + 1176978349u, 2425547864u, 3405442206u, 646834469u, 1612091433u, 1414021246u, 1938884650u, 2364802710u, 550556319u, 2672056220u, + 2424394950u, 178728577u, 238381132u, 2641403283u, 1097291914u, 1295901931u, 1600956873u, 2911796790u, 2206551018u, 545332021u, + 298619870u, 596785053u, 778650403u, 1344013089u, 3192909168u, 389956048u, 257315386u, 485013446u, 2670267871u, 1880830152u, + 4161585432u, 2002964527u, 3205480354u, 712952007u, 1673226458u, 1958153855u, 1110714002u, 2401499516u, 435386361u, 815117058u, + 310598819u, 215848222u, 3681788888u, 113792562u, 1821446035u, 257950960u, 898606444u, 4142248104u, 401239743u, 617104155u, + 4279212944u, 960296531u, 3923665262u, 3793084140u, 513890752u, 1366414290u, 12688854u, 3748036881u, 1450272593u, 404489909u, + 3878297592u, 990982756u, 3688506726u, 3597368592u, 2841000252u, 2266627818u, 4197835573u, 4037221013u, 2649992855u, 2726300119u, + 705683010u, 2644962976u, 398644715u, 450733536u, 1098002284u, 404489909u, 1358085904u, 894771899u, 3762524510u, 1063675527u + }; + uint[] array2 = new uint[16]; + uint num2 = 906030183u; + int num3 = 0; + while (num3 < 16) + { + uint num4 = num2; + int num5 = (int)(num2 >> 12); + int num6 = (int)num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + num2 = (uint)(num7 - (num8 + num8)); + uint num9 = num2; + num5 = (int)(num2 << 25); + num6 = (int)num9; + num2 = (uint)((num6 | num5) - (num6 & num5)); + uint num10 = num2; + num5 = (int)(num2 >> 27); + num6 = (int)num10; + num2 = (array2[num3] = (uint)((num6 | num5) - (num6 & num5))); + int num11 = num3; + num5 = 1; + num6 = num11; + num3 = (num6 | num5) + (num6 & num5); + } + int num12 = 0; + int num13 = 0; + uint[] array3 = new uint[16]; + byte[] array4 = new byte[num * 4]; + while (num12 < num) + { + int num14 = 0; + int num5; + int num6; + while (num14 < 16) + { + int num15 = num14; + int num16 = num12; + num5 = num14; + num6 = num16; + int num17 = num6 ^ num5; + int num18 = num6 & num5; + array3[num15] = array[num17 + (num18 + num18)]; + int num19 = num14; + num5 = 1; + num6 = num19; + int num20 = num6 ^ num5; + int num21 = num6 & num5; + num14 = num20 + (num21 + num21); + } + uint num22 = array3[5]; + num5 = -776044471; + num6 = (int)num22; + uint num23 = (uint)((num6 | num5) - (num6 ^ num5)); + uint num24 = array3[5]; + num5 = 776044470; + num6 = (int)num24; + array3[5] = (uint)((num6 | num5) - (num6 ^ num5)); + uint num25 = array3[5]; + uint num26 = array3[14]; + num5 = -776044471; + num6 = (int)num26; + num5 = (num6 | num5) - (num6 ^ num5); + num6 = (int)num25; + array3[5] = (uint)((num6 & num5) + (num6 ^ num5)); + num23 *= 3640720333u; + uint num27 = array3[14]; + num5 = 776044470; + num6 = (int)num27; + array3[14] = (uint)(num6 + num5 - (num6 | num5)); + uint num28 = array3[14]; + num5 = (int)num23 * -1635489531; + num6 = (int)num28; + array3[14] = (uint)(num6 + num5 - (num6 & num5)); + uint num29 = array3[7]; + num5 = (int)array3[15]; + num6 = (int)num29; + int num30 = num6 + num5; + int num31 = num6 & num5; + array3[7] = (uint)(num30 - (num31 + num31)); + uint num32 = array3[0]; + num5 = 278229082; + num6 = (int)num32; + num23 = (uint)((num6 | num5) - (num6 ^ num5)); + uint num33 = array3[0]; + num5 = -278229083; + num6 = (int)num33; + array3[0] = (uint)(num6 + num5 - (num6 | num5)); + uint num34 = array3[7] * 15; + num23 *= 2982415717u; + uint num35 = array3[10]; + num5 = (int)(~array3[8]); + num6 = (int)num35; + int num36 = num6 + num5; + int num37 = num6 & num5; + array3[10] = (uint)(num36 - (num37 + num37)); + uint num38 = array3[0]; + uint num39 = array3[13]; + num5 = 278229082; + num6 = (int)num39; + num5 = num6 + num5 - (num6 | num5); + num6 = (int)num38; + array3[0] = (uint)(num6 + num5 - (num6 & num5)); + uint num40 = array3[8]; + num5 = (int)array2[8]; + num6 = (int)num40; + int num41 = num6 + num5; + int num42 = num6 & num5; + array3[8] = (uint)(num41 - (num42 + num42)); + uint num43 = array3[9]; + num5 = (int)array2[9]; + num6 = (int)num43; + int num44 = num6 + num5; + int num45 = num6 & num5; + array3[9] = (uint)(num44 - (num45 + num45)); + uint num46 = array3[13]; + num5 = -278229083; + num6 = (int)num46; + array3[13] = (uint)(num6 + num5 - (num6 | num5)); + uint num47 = array3[14]; + num5 = (int)array3[15]; + num6 = (int)num47; + array3[14] = (uint)(~(~num6 + num5)); + uint num48 = array3[7] * 25; + uint num49 = array3[13]; + num5 = (int)num23 * -2021761939; + num6 = (int)num49; + array3[13] = (uint)(num6 + num5 - (num6 & num5)); + uint num50 = array3[2]; + num5 = (int)array3[6]; + num6 = (int)num50; + array3[2] = (uint)(~(~num6 + num5)); + uint num51 = array3[1]; + num5 = -1639718482; + num6 = (int)num51; + int num52 = num6 + num5; + int num53 = num6 & num5; + array3[1] = (uint)(num52 - (num53 + num53)); + uint num54 = array3[5]; + num5 = (int)array2[5]; + num6 = (int)num54; + array3[5] = (uint)((num6 | num5) - (num6 & num5)); + uint num55 = array3[9]; + num5 = (int)(~array3[11]); + num6 = (int)num55; + int num56 = num6 + num5; + int num57 = num6 & num5; + array3[9] = (uint)(num56 - (num57 + num57)); + uint num58 = array3[4]; + num5 = -192377700; + num6 = (int)num58; + num23 = (uint)((num6 | num5) - (num6 ^ num5)); + num23 *= 4244890943u; + uint num59 = array3[4]; + num5 = 192377699; + num6 = (int)num59; + array3[4] = (uint)((num6 | num5) - (num6 ^ num5)); + uint num60 = array3[4]; + uint num61 = array3[12]; + num5 = -192377700; + num6 = (int)num61; + num5 = num6 + num5 - (num6 | num5); + num6 = (int)num60; + array3[4] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num62 = array3[12]; + num5 = 192377699; + num6 = (int)num62; + array3[12] = (uint)((num6 | num5) - (num6 ^ num5)); + uint num63 = array3[7] << 2; + uint num64 = array3[12]; + num5 = (int)(num23 * 1786546879); + num6 = (int)num64; + array3[12] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num65 = array3[12]; + num5 = (int)array2[12]; + num6 = (int)num65; + array3[12] = (uint)((num6 | num5) - (num6 & num5)); + num23 = array3[7] << 2; + uint num66 = array3[6]; + num5 = 456039971; + num6 = (int)num66; + array3[6] = (uint)((num6 | num5) - (num6 & num5)); + uint num67 = num34; + num5 = (int)(array3[12] * 92); + num6 = (int)num67; + int num68 = num6 ^ num5; + int num69 = num6 & num5; + num34 = (uint)(num68 + (num69 + num69)); + uint num70 = num48; + num5 = (int)(array3[12] * 153); + num6 = (int)num70; + int num71 = num6 ^ num5; + int num72 = num6 & num5; + num48 = (uint)(num71 + (num72 + num72)); + uint num73 = array3[10]; + num5 = (int)array3[11]; + num6 = (int)num73; + int num74 = num6 + num5; + int num75 = num6 & num5; + array3[10] = (uint)(num74 - (num75 + num75)); + uint num76 = num23; + num5 = (int)(array3[12] * 27); + num6 = (int)num76; + num23 = (uint)((num6 | num5) + (num6 & num5)); + uint num77 = num63; + num5 = (int)(array3[12] * 22); + num6 = (int)num77; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num78 = num23; + num5 = (int)(array3[8] * 54); + num6 = (int)num78; + int num79 = num6 ^ num5; + int num80 = num6 & num5; + num23 = (uint)(num79 + (num80 + num80)); + uint num81 = num48; + num5 = (int)(array3[8] * 284); + num6 = (int)num81; + int num82 = num6 ^ num5; + int num83 = num6 & num5; + num48 = (uint)(num82 + (num83 + num83)); + uint num84 = num23; + num5 = (int)(array3[1] << 4); + num6 = (int)num84; + int num85 = num6 ^ num5; + int num86 = num6 & num5; + num23 = (uint)(num85 + (num86 + num86)); + uint num87 = num34; + num5 = (int)(array3[8] * 171); + num6 = (int)num87; + num34 = (uint)((num6 | num5) + (num6 & num5)); + uint num88 = num23; + num5 = (int)(array3[1] << 5); + num6 = (int)num88; + int num89 = num6 ^ num5; + int num90 = num6 & num5; + num23 = (uint)(num89 + (num90 + num90)); + uint num91 = num48; + num5 = (int)(array3[1] * 250); + num6 = (int)num91; + num48 = (uint)((num6 | num5) + (num6 & num5)); + uint num92 = num63; + num5 = (int)(array3[8] * 37); + num6 = (int)num92; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num93 = num63; + num5 = (int)(array3[1] << 5); + num6 = (int)num93; + num63 = (uint)((num6 | num5) + (num6 & num5)); + array3[7] = num23; + uint num94 = num34; + num5 = (int)(array3[1] * 151); + num6 = (int)num94; + int num95 = num6 ^ num5; + int num96 = num6 & num5; + num34 = (uint)(num95 + (num96 + num96)); + uint num97 = array3[13]; + num5 = -313568182; + num6 = (int)num97; + int num98 = num6 + num5; + int num99 = num6 & num5; + array3[13] = (uint)(num98 - (num99 + num99)); + array3[1] = num48; + num23 = array3[0] << 1; + uint num100 = num23; + num5 = (int)array3[0]; + num6 = (int)num100; + num23 = (uint)((num6 | num5) + (num6 & num5)); + array3[12] = num63; + num48 = array3[0] * 11; + uint num101 = num48; + num5 = (int)(array3[5] << 1); + num6 = (int)num101; + int num102 = num6 ^ num5; + int num103 = num6 & num5; + num48 = (uint)(num102 + (num103 + num103)); + uint num104 = num48; + num5 = (int)(array3[5] << 3); + num6 = (int)num104; + num48 = (uint)((num6 | num5) + (num6 & num5)); + num63 = array3[0] * 21; + uint num105 = num23; + num5 = (int)(array3[5] << 2); + num6 = (int)num105; + int num106 = num6 ^ num5; + int num107 = num6 & num5; + num23 = (uint)(num106 + (num107 + num107)); + uint num108 = num23; + num5 = (int)(array3[9] * 13); + num6 = (int)num108; + num23 = (uint)((num6 | num5) + (num6 & num5)); + array3[8] = num34; + uint num109 = array3[1]; + num5 = (int)array2[1]; + num6 = (int)num109; + array3[1] = (uint)((num6 | num5) - (num6 & num5)); + array3[7] = array3[7] * 334878841; + uint num110 = array3[15]; + num5 = (int)array2[15]; + num6 = (int)num110; + int num111 = num6 + num5; + int num112 = num6 & num5; + array3[15] = (uint)(num111 - (num112 + num112)); + uint num113 = num48; + num5 = (int)(array3[9] << 2); + num6 = (int)num113; + num48 = (uint)((num6 | num5) + (num6 & num5)); + uint num114 = array3[7]; + num5 = (int)array2[7]; + num6 = (int)num114; + int num115 = num6 + num5; + int num116 = num6 & num5; + array3[7] = (uint)(num115 - (num116 + num116)); + uint num117 = num63; + num5 = (int)(array3[5] * 23); + num6 = (int)num117; + int num118 = num6 ^ num5; + int num119 = num6 & num5; + num63 = (uint)(num118 + (num119 + num119)); + uint num120 = num63; + num5 = (int)(array3[9] * 78); + num6 = (int)num120; + int num121 = num6 ^ num5; + int num122 = num6 & num5; + num63 = (uint)(num121 + (num122 + num122)); + num34 = array3[0] * 69; + uint num123 = num34; + num5 = (int)(array3[5] * 78); + num6 = (int)num123; + int num124 = num6 ^ num5; + int num125 = num6 & num5; + num34 = (uint)(num124 + (num125 + num125)); + uint num126 = num63; + num5 = (int)(array3[2] << 5); + num6 = (int)num126; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num127 = num23; + num5 = (int)(array3[2] << 1); + num6 = (int)num127; + int num128 = num6 ^ num5; + int num129 = num6 & num5; + num23 = (uint)(num128 + (num129 + num129)); + uint num130 = num48; + num5 = (int)(array3[9] << 5); + num6 = (int)num130; + int num131 = num6 ^ num5; + int num132 = num6 & num5; + num48 = (uint)(num131 + (num132 + num132)); + uint num133 = num23; + num5 = (int)(array3[2] << 4); + num6 = (int)num133; + num23 = (uint)((num6 | num5) + (num6 & num5)); + uint num134 = num34; + num5 = (int)(array3[9] * 263); + num6 = (int)num134; + num34 = (uint)((num6 | num5) + (num6 & num5)); + array3[9] = num23; + uint num135 = num34; + num5 = (int)(array3[2] * 331); + num6 = (int)num135; + int num136 = num6 ^ num5; + int num137 = num6 & num5; + num34 = (uint)(num136 + (num137 + num137)); + uint num138 = num63; + num5 = (int)(array3[2] << 6); + num6 = (int)num138; + num63 = (uint)((num6 | num5) + (num6 & num5)); + array3[5] = num63; + num23 = array3[3] >> 19; + uint num139 = num48; + num5 = (int)(array3[2] * 39); + num6 = (int)num139; + int num140 = num6 ^ num5; + int num141 = num6 & num5; + num48 = (uint)(num140 + (num141 + num141)); + num63 = array3[6] >> 3; + array3[6] = array3[6] << 29; + array3[3] = array3[3] << 13; + array3[0] = num48; + uint num142 = array3[6]; + num5 = (int)num63; + num6 = (int)num142; + array3[6] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num143 = array3[0]; + num5 = -1071175130; + num6 = (int)num143; + int num144 = num6 + num5; + int num145 = num6 & num5; + array3[0] = (uint)(num144 - (num145 + num145)); + array3[2] = num34; + uint num146 = array3[2]; + num5 = (int)array2[2]; + num6 = (int)num146; + array3[2] = (uint)((num6 | num5) - (num6 & num5)); + uint num147 = array3[3]; + num5 = (int)num23; + num6 = (int)num147; + array3[3] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num148 = array3[3]; + num5 = (int)array2[3]; + num6 = (int)num148; + array3[3] = (uint)((num6 | num5) - (num6 & num5)); + uint num149 = array3[6]; + num5 = -908475405; + num6 = (int)num149; + num23 = (uint)((num6 | num5) - (num6 ^ num5)); + num63 = array3[1] * 38; + num48 = array3[1] * 31; + uint num150 = array3[4]; + num5 = -274514080; + num6 = (int)num150; + array3[4] = (uint)((num6 | num5) - (num6 & num5)); + uint num151 = num48; + num5 = (int)(array3[15] * 110); + num6 = (int)num151; + num48 = (uint)((num6 | num5) + (num6 & num5)); + num34 = array3[2] >> 7; + uint num152 = array3[6]; + num5 = 908475404; + num6 = (int)num152; + array3[6] = (uint)(num6 + num5 - (num6 | num5)); + uint num153 = array3[6]; + uint num154 = array3[9]; + num5 = -908475405; + num6 = (int)num154; + num5 = (num6 | num5) - (num6 ^ num5); + num6 = (int)num153; + array3[6] = (uint)((num6 & num5) + (num6 ^ num5)); + array3[2] = array3[2] << 25; + num23 *= 2961890683u; + uint num155 = array3[2]; + num5 = (int)num34; + num6 = (int)num155; + array3[2] = (uint)(num6 + num5 - (num6 & num5)); + uint num156 = array3[9]; + num5 = 908475404; + num6 = (int)num156; + array3[9] = (uint)((num6 | num5) - (num6 ^ num5)); + uint num157 = array3[10]; + num5 = (int)array2[10]; + num6 = (int)num157; + int num158 = num6 + num5; + int num159 = num6 & num5; + array3[10] = (uint)(num158 - (num159 + num159)); + num34 = array3[5] >> 17; + uint num160 = num63; + num5 = (int)(array3[15] * 139); + num6 = (int)num160; + int num161 = num6 ^ num5; + int num162 = num6 & num5; + num63 = (uint)(num161 + (num162 + num162)); + uint num163 = array3[9]; + num5 = (int)num23 * -1557628493; + num6 = (int)num163; + array3[9] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num164 = array3[6]; + num5 = (int)(~array3[9]); + num6 = (int)num164; + int num165 = num6 + num5; + int num166 = num6 & num5; + array3[6] = (uint)(num165 - (num166 + num166)); + array3[5] = array3[5] << 15; + uint num167 = array3[13]; + num5 = (int)array2[13]; + num6 = (int)num167; + array3[13] = (uint)((num6 | num5) - (num6 & num5)); + num23 = array3[12] >> 27; + uint num168 = array3[6]; + num5 = (int)array2[6]; + num6 = (int)num168; + int num169 = num6 + num5; + int num170 = num6 & num5; + array3[6] = (uint)(num169 - (num170 + num170)); + array3[12] = array3[12] << 5; + uint num171 = array3[12]; + num5 = (int)num23; + num6 = (int)num171; + array3[12] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num172 = array3[5]; + num5 = (int)num34; + num6 = (int)num172; + array3[5] = (uint)(num6 + num5 - (num6 & num5)); + num34 = array3[1] << 3; + uint num173 = array3[11]; + num5 = (int)array2[11]; + num6 = (int)num173; + array3[11] = (uint)((num6 | num5) - (num6 & num5)); + uint num174 = array3[10]; + num5 = 171024615; + num6 = (int)num174; + array3[10] = (uint)((num6 | num5) - (num6 & num5)); + uint num175 = num63; + num5 = (int)(array3[8] * 88); + num6 = (int)num175; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num176 = num48; + num5 = (int)(array3[8] * 63); + num6 = (int)num176; + int num177 = num6 ^ num5; + int num178 = num6 & num5; + num48 = (uint)(num177 + (num178 + num178)); + num23 = array3[1] << 2; + uint num179 = num34; + num5 = (int)array3[1]; + num6 = (int)num179; + int num180 = num6 ^ num5; + int num181 = num6 & num5; + num34 = (uint)(num180 + (num181 + num181)); + uint num182 = num23; + num5 = (int)array3[1]; + num6 = (int)num182; + num23 = (uint)((num6 | num5) + (num6 & num5)); + uint num183 = num23; + num5 = (int)(array3[15] * 22); + num6 = (int)num183; + int num184 = num6 ^ num5; + int num185 = num6 & num5; + num23 = (uint)(num184 + (num185 + num185)); + uint num186 = num23; + num5 = (int)(array3[8] * 21); + num6 = (int)num186; + int num187 = num6 ^ num5; + int num188 = num6 & num5; + num23 = (uint)(num187 + (num188 + num188)); + uint num189 = num34; + num5 = (int)(array3[15] * 31); + num6 = (int)num189; + int num190 = num6 ^ num5; + int num191 = num6 & num5; + num34 = (uint)(num190 + (num191 + num191)); + uint num192 = num63; + num5 = (int)(array3[14] * 55); + num6 = (int)num192; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num193 = num23; + num5 = (int)(array3[14] * 21); + num6 = (int)num193; + num23 = (uint)((num6 | num5) + (num6 & num5)); + uint num194 = array3[4]; + num5 = (int)array2[4]; + num6 = (int)num194; + int num195 = num6 + num5; + int num196 = num6 & num5; + array3[4] = (uint)(num195 - (num196 + num196)); + uint num197 = num34; + num5 = (int)(array3[8] << 4); + num6 = (int)num197; + int num198 = num6 ^ num5; + int num199 = num6 & num5; + num34 = (uint)(num198 + (num199 + num199)); + uint num200 = array3[4]; + num5 = -1682269421; + num6 = (int)num200; + array3[4] = (uint)((num6 | num5) - (num6 & num5)); + uint num201 = array3[13]; + num5 = (int)(~array3[11]); + num6 = (int)num201; + int num202 = num6 + num5; + int num203 = num6 & num5; + array3[13] = (uint)(num202 - (num203 + num203)); + uint num204 = num48; + num5 = (int)(array3[14] << 5); + num6 = (int)num204; + num48 = (uint)((num6 | num5) + (num6 & num5)); + array3[8] = num63; + uint num205 = num34; + num5 = (int)(array3[14] << 1); + num6 = (int)num205; + int num206 = num6 ^ num5; + int num207 = num6 & num5; + num34 = (uint)(num206 + (num207 + num207)); + uint num208 = num34; + num5 = (int)(array3[14] << 2); + num6 = (int)num208; + num34 = (uint)((num6 | num5) + (num6 & num5)); + array3[14] = num23; + array3[1] = num34; + num63 = array3[0] * 3631003441u; + array3[3] = array3[3] * 425712683; + array3[0] = array3[1]; + uint num209 = array3[0]; + num5 = (int)array2[0]; + num6 = (int)num209; + int num210 = num6 + num5; + int num211 = num6 & num5; + array3[0] = (uint)(num210 - (num211 + num211)); + uint num212 = array3[14]; + num5 = (int)array2[14]; + num6 = (int)num212; + int num213 = num6 + num5; + int num214 = num6 & num5; + array3[14] = (uint)(num213 - (num214 + num214)); + array3[1] = num63 * 128664017; + array3[15] = num48; + for (int num215 = 0; num215 < 16; num215 = (num6 | num5) + (num6 & num5)) + { + uint num216 = array3[num215]; + int num217 = num13; + num5 = 1; + num6 = num217; + int num218 = num6 ^ num5; + int num219 = num6 & num5; + num13 = num218 + (num219 + num219); + array4[num217] = (byte)num216; + int num220 = num13; + num5 = 1; + num6 = num220; + num13 = (num6 | num5) + (num6 & num5); + array4[num220] = (byte)(num216 >> 8); + int num221 = num13; + num5 = 1; + num6 = num221; + int num222 = num6 ^ num5; + int num223 = num6 & num5; + num13 = num222 + (num223 + num223); + array4[num221] = (byte)(num216 >> 16); + int num224 = num13; + num5 = 1; + num6 = num224; + int num225 = num6 ^ num5; + int num226 = num6 & num5; + num13 = num225 + (num226 + num226); + array4[num224] = (byte)(num216 >> 24); + array2[num215] ^= num216; + int num227 = num215; + num5 = 1; + num6 = num227; + } + int num228 = num12; + num5 = 16; + num6 = num228; + int num229 = num6 ^ num5; + int num230 = num6 & num5; + num12 = num229 + (num230 + num230); + } + _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E = _206B_200B_202A_200D_200E_200F_202A_202E_202C_200B_200C_202A_200D_200E_202C_202C_206F_206E_206F_202A_200E_202B_202B_206F_200F_206F_200E_202D_200D_206B_206A_206A_202A_202E_206E_206A_202B_206C_200C_200F_202E(array4); + } + + internal static int _206C_206A_200E_206E_206E_202C_206D_206A_206A_202D_202C_206C_202A_202D_206A_200B_202B_206B_200E_200D_200C_200F_206B_202E_200D_200B_206E_200E_206A_202C_206B_206F_202A_206E_206F_206A_200C_206F_200D_206E_202E(int id) + { + id <<= 2; + byte num = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E[id]; + byte[] array = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num2 = id; + int num3 = 1; + int num4 = num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num3 = array[num5 + (num6 + num6)] << 8; + num4 = num; + int num7 = (num4 & num3) + (num4 ^ num3); + byte[] array2 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num8 = id; + num3 = 2; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num3 = array2[num9 + (num10 + num10)] << 16; + num4 = num7; + int num11 = (num4 & num3) + (num4 ^ num3); + byte[] array3 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num12 = id; + num3 = 3; + num4 = num12; + num3 = array3[(num4 | num3) + (num4 & num3)] << 24; + num4 = num11; + return (num4 & num3) + (num4 ^ num3); + } + + internal static long _206D_202B_202B_206D_206D_206F_200B_206D_200E_206F_206B_200D_200B_206E_202A_202A_202E_200D_200B_200F_202B_206F_200F_200C_202B_206E_206C_206A_200B_206F_206F_200F_202D_206A_200D_202A_200E_202B_206C_206F_202E(int id) + { + id <<= 2; + byte num = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E[id]; + byte[] array = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num2 = id; + int num3 = 1; + int num4 = num2; + num3 = array[(num4 | num3) + (num4 & num3)] << 8; + num4 = num; + int num5 = (num4 & num3) + (num4 ^ num3); + byte[] array2 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num6 = id; + num3 = 2; + num4 = num6; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + num3 = array2[num7 + (num8 + num8)] << 16; + num4 = num5; + int num9 = num4 + num3 - (num4 & num3); + byte[] array3 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num10 = id; + num3 = 3; + num4 = num10; + num3 = array3[(num4 | num3) + (num4 & num3)] << 24; + num4 = num9; + uint num11 = (uint)((num4 & num3) + (num4 ^ num3)); + byte[] array4 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num12 = id; + num3 = 4; + num4 = num12; + int num13 = num4 ^ num3; + int num14 = num4 & num3; + byte num15 = array4[num13 + (num14 + num14)]; + byte[] array5 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num16 = id; + num3 = 5; + num4 = num16; + num3 = array5[(num4 | num3) + (num4 & num3)] << 8; + num4 = num15; + int num17 = (num4 & num3) + (num4 ^ num3); + byte[] array6 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num18 = id; + num3 = 6; + num4 = num18; + num3 = array6[(num4 | num3) + (num4 & num3)] << 16; + num4 = num17; + int num19 = num4 + num3 - (num4 & num3); + byte[] array7 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num20 = id; + num3 = 7; + num4 = num20; + int num21 = num4 ^ num3; + int num22 = num4 & num3; + num3 = array7[num21 + (num22 + num22)] << 24; + num4 = num19; + ulong num23 = (ulong)(uint)((num4 & num3) + (num4 ^ num3)) << 32; + long num24 = num11; + long num25 = (long)num23; + return num25 + num24 - (num25 & num24); + } + + internal static float _200C_206A_206B_202E_202A_200D_206F_200C_200C_202E_200F_202E_202D_206F_200B_206C_206C_206E_206D_200E_200D_200B_200C_200F_206C_202C_206A_200C_202D_200E_200D_202A_206F_206C_206B_200E_206E_206F_206D_202C_202E(int id) + { + return BitConverter.ToSingle(_206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E, id << 2); + } + + internal static double _206C_200F_206F_200F_200D_200F_206A_206D_200C_206C_206B_206A_206A_200F_200F_200F_200F_200E_206B_202E_202B_206C_206A_206C_206E_200E_202E_206F_206C_202C_206D_200C_200B_202C_200F_206C_206F_200E_200C_200D_202E(int id) + { + return BitConverter.ToDouble(_206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E, id << 2); + } + + internal static _002D _202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<_002D>(int id) + { + int num = id * 1019339481; + int num2 = 331797353; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 3: + { + byte num31 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E[id]; + byte[] array10 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num32 = id; + num2 = 1; + num3 = num32; + int num33 = num3 ^ num2; + int num34 = num3 & num2; + num2 = array10[num33 + (num34 + num34)] << 8; + num3 = num31; + int num35 = num3 + num2 - (num3 & num2); + byte[] array11 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num36 = id; + num2 = 2; + num3 = num36; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num35; + int num37 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num38 = id; + num2 = 3; + num3 = num38; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num37; + int count = (num3 & num2) + (num3 ^ num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num39 = id; + num2 = 4; + num3 = num39; + int num40 = num3 ^ num2; + int num41 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num40 + (num41 + num41), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 1: + { + byte num8 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E[id]; + byte[] array = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num9 = id; + num2 = 1; + num3 = num9; + int num10 = num3 ^ num2; + int num11 = num3 & num2; + num2 = array[num10 + (num11 + num11)] << 8; + num3 = num8; + int num12 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num13 = id; + num2 = 2; + num3 = num13; + num2 = array2[(num3 | num2) + (num3 & num2)] << 16; + num3 = num12; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num15 = id; + num2 = 3; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + num2 = array3[num16 + (num17 + num17)] << 24; + num3 = num14; + int num18 = num3 + num2 - (num3 & num2); + byte[] array4 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num19 = id; + num2 = 4; + num3 = num19; + byte num20 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num21 = id; + num2 = 5; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array5[num22 + (num23 + num23)] << 8; + num3 = num20; + int num24 = (num3 & num2) + (num3 ^ num2); + byte[] array6 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num25 = id; + num2 = 6; + num3 = num25; + num2 = array6[(num3 | num2) + (num3 & num2)] << 16; + num3 = num24; + int num26 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num27 = id; + num2 = 7; + num3 = num27; + int num28 = num3 ^ num2; + int num29 = num3 & num2; + num2 = array7[num28 + (num29 + num29)] << 24; + num3 = num26; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num18; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<_002D>(int id) + { + int num = id * -2007666933; + int num2 = 1084522616; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = num3 + num2 - (num3 | num2) << 2; + switch (num6) + { + case 0: + { + byte num29 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E[id]; + byte[] array10 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num30 = id; + num2 = 1; + num3 = num30; + int num31 = num3 ^ num2; + int num32 = num3 & num2; + num2 = array10[num31 + (num32 + num32)] << 8; + num3 = num29; + int num33 = num3 + num2 - (num3 & num2); + byte[] array11 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num34 = id; + num2 = 2; + num3 = num34; + int num35 = num3 ^ num2; + int num36 = num3 & num2; + num2 = array11[num35 + (num36 + num36)] << 16; + num3 = num33; + int num37 = num3 + num2 - (num3 & num2); + byte[] array12 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num38 = id; + num2 = 3; + num3 = num38; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num37; + int count = (num3 & num2) + (num3 ^ num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num39 = id; + num2 = 4; + num3 = num39; + int num40 = num3 ^ num2; + int num41 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num40 + (num41 + num41), count)); + } + case 1: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 3: + { + byte num8 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E[id]; + byte[] array = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num11 = id; + num2 = 2; + num3 = num11; + num2 = array2[(num3 | num2) + (num3 & num2)] << 16; + num3 = num10; + int num12 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num13 = id; + num2 = 3; + num3 = num13; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num12; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array4 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num15 = id; + num2 = 4; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + byte num18 = array4[num16 + (num17 + num17)]; + byte[] array5 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num19 = id; + num2 = 5; + num3 = num19; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num18; + int num20 = num3 + num2 - (num3 & num2); + byte[] array6 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num21 = id; + num2 = 6; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array6[num22 + (num23 + num23)] << 16; + num3 = num20; + int num24 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num25 = id; + num2 = 7; + num3 = num25; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num24; + int length = (num3 & num2) + (num3 ^ num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num26 = id; + num2 = 8; + num3 = num26; + int num27 = num3 ^ num2; + int num28 = num3 & num2; + int srcOffset = num27 + (num28 + num28); + num2 = 4; + num3 = num14; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<_002D>(int id) + { + int num = id * -398786619; + int num2 = 1434138467; + int num3 = num; + id = (num3 | num2) - (num3 & num2); + int num4 = id >>> 30; + int num5 = id; + num2 = 1073741823; + num3 = num5; + id = num3 + num2 - (num3 | num2) << 2; + switch (num4) + { + case 2: + { + byte num33 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E[id]; + byte[] array10 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num34 = id; + num2 = 1; + num3 = num34; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num33; + int num35 = num3 + num2 - (num3 & num2); + byte[] array11 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num36 = id; + num2 = 2; + num3 = num36; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num35; + int num37 = num3 + num2 - (num3 & num2); + byte[] array12 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num38 = id; + num2 = 3; + num3 = num38; + int num39 = num3 ^ num2; + int num40 = num3 & num2; + num2 = array12[num39 + (num40 + num40)] << 24; + num3 = num37; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num41 = id; + num2 = 4; + num3 = num41; + int num42 = num3 ^ num2; + int num43 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num42 + (num43 + num43), count)); + } + case 0: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 3: + { + byte num6 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E[id]; + byte[] array = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num7 = id; + num2 = 1; + num3 = num7; + int num8 = num3 ^ num2; + int num9 = num3 & num2; + num2 = array[num8 + (num9 + num9)] << 8; + num3 = num6; + int num10 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num15 = id; + num2 = 3; + num3 = num15; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num14; + int num16 = (num3 & num2) + (num3 ^ num2); + byte[] array4 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num17 = id; + num2 = 4; + num3 = num17; + byte num18 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num19 = id; + num2 = 5; + num3 = num19; + int num20 = num3 ^ num2; + int num21 = num3 & num2; + num2 = array5[num20 + (num21 + num21)] << 8; + num3 = num18; + int num22 = num3 + num2 - (num3 & num2); + byte[] array6 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num23 = id; + num2 = 6; + num3 = num23; + int num24 = num3 ^ num2; + int num25 = num3 & num2; + num2 = array6[num24 + (num25 + num25)] << 16; + num3 = num22; + int num26 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num27 = id; + num2 = 7; + num3 = num27; + int num28 = num3 ^ num2; + int num29 = num3 & num2; + num2 = array7[num28 + (num29 + num29)] << 24; + num3 = num26; + int length = (num3 & num2) + (num3 ^ num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int num31 = num3 ^ num2; + int num32 = num3 & num2; + int srcOffset = num31 + (num32 + num32); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<_002D>(int id) + { + int num = id * 1318072633; + int num2 = -1775635715; + int num3 = num; + id = (num3 | num2) - (num3 & num2); + int num4 = id >>> 30; + int num5 = id; + num2 = 1073741823; + num3 = num5; + id = num3 + num2 - (num3 | num2) << 2; + switch (num4) + { + case 1: + { + byte num31 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E[id]; + byte[] array10 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num32 = id; + num2 = 1; + num3 = num32; + int num33 = num3 ^ num2; + int num34 = num3 & num2; + num2 = array10[num33 + (num34 + num34)] << 8; + num3 = num31; + int num35 = num3 + num2 - (num3 & num2); + byte[] array11 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num36 = id; + num2 = 2; + num3 = num36; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num35; + int num37 = num3 + num2 - (num3 & num2); + byte[] array12 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num38 = id; + num2 = 3; + num3 = num38; + int num39 = num3 ^ num2; + int num40 = num3 & num2; + num2 = array12[num39 + (num40 + num40)] << 24; + num3 = num37; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num41 = id; + num2 = 4; + num3 = num41; + int num42 = num3 ^ num2; + int num43 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num42 + (num43 + num43), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 3: + { + byte num6 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E[id]; + byte[] array = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num7 = id; + num2 = 1; + num3 = num7; + int num8 = num3 ^ num2; + int num9 = num3 & num2; + num2 = array[num8 + (num9 + num9)] << 8; + num3 = num6; + int num10 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num15 = id; + num2 = 3; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + num2 = array3[num16 + (num17 + num17)] << 24; + num3 = num14; + int num18 = num3 + num2 - (num3 & num2); + byte[] array4 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num19 = id; + num2 = 4; + num3 = num19; + byte num20 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num21 = id; + num2 = 5; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array5[num22 + (num23 + num23)] << 8; + num3 = num20; + int num24 = num3 + num2 - (num3 & num2); + byte[] array6 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num25 = id; + num2 = 6; + num3 = num25; + int num26 = num3 ^ num2; + int num27 = num3 & num2; + num2 = array6[num26 + (num27 + num27)] << 16; + num3 = num24; + int num28 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num29 = id; + num2 = 7; + num3 = num29; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num28; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num18; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<_002D>(int id) + { + int num = id * 1026386545; + int num2 = -1096681692; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 3: + { + byte num33 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E[id]; + byte[] array10 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num34 = id; + num2 = 1; + num3 = num34; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num33; + int num35 = (num3 & num2) + (num3 ^ num2); + byte[] array11 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num36 = id; + num2 = 2; + num3 = num36; + int num37 = num3 ^ num2; + int num38 = num3 & num2; + num2 = array11[num37 + (num38 + num38)] << 16; + num3 = num35; + int num39 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num40 = id; + num2 = 3; + num3 = num40; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num39; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num41 = id; + num2 = 4; + num3 = num41; + return (_002D)(object)string.Intern(uTF.GetString(bytes, (num3 | num2) + (num3 & num2), count)); + } + case 1: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 2: + { + byte num8 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E[id]; + byte[] array = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num15 = id; + num2 = 3; + num3 = num15; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num14; + int num16 = num3 + num2 - (num3 & num2); + byte[] array4 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num17 = id; + num2 = 4; + num3 = num17; + byte num18 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num19 = id; + num2 = 5; + num3 = num19; + int num20 = num3 ^ num2; + int num21 = num3 & num2; + num2 = array5[num20 + (num21 + num21)] << 8; + num3 = num18; + int num22 = num3 + num2 - (num3 & num2); + byte[] array6 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num23 = id; + num2 = 6; + num3 = num23; + int num24 = num3 ^ num2; + int num25 = num3 & num2; + num2 = array6[num24 + (num25 + num25)] << 16; + num3 = num22; + int num26 = num3 + num2 - (num3 & num2); + byte[] array7 = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num27 = id; + num2 = 7; + num3 = num27; + int num28 = num3 ^ num2; + int num29 = num3 & num2; + num2 = array7[num28 + (num29 + num29)] << 24; + num3 = num26; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _206D_200D_202B_206B_202B_202D_200D_202B_206B_202C_200E_206A_202B_206E_206E_200E_200E_202B_202E_206F_200D_200D_200B_200F_200D_202C_202B_200F_200F_200C_200F_200F_200C_206A_200B_202A_200F_200E_200F_202C_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int num31 = num3 ^ num2; + int num32 = num3 & num2; + int srcOffset = num31 + (num32 + num32); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } +} diff --git a/Questionable/Questionable.Controller.CombatModules/BossModModule.cs b/Questionable/Questionable.Controller.CombatModules/BossModModule.cs index 7aef226..5587599 100644 --- a/Questionable/Questionable.Controller.CombatModules/BossModModule.cs +++ b/Questionable/Questionable.Controller.CombatModules/BossModModule.cs @@ -1,6 +1,8 @@ using System; +using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin.Ipc.Exceptions; +using Dalamud.Plugin.Services; using Microsoft.Extensions.Logging; using Questionable.External; @@ -14,11 +16,14 @@ internal sealed class BossModModule : ICombatModule, IDisposable private readonly Configuration _configuration; - public BossModModule(ILogger logger, BossModIpc bossModIpc, Configuration configuration) + private readonly IObjectTable _objectTable; + + public BossModModule(ILogger logger, BossModIpc bossModIpc, Configuration configuration, IObjectTable objectTable) { _logger = logger; _bossModIpc = bossModIpc; _configuration = configuration; + _objectTable = objectTable; } public bool CanHandleFight(CombatController.CombatData combatData) @@ -34,7 +39,36 @@ internal sealed class BossModModule : ICombatModule, IDisposable { try { - _bossModIpc.SetPreset(BossModIpc.EPreset.Overworld); + _logger.LogDebug("BossModModule.Start: SpawnType={SpawnType}, enabling Active preset", combatData.SpawnType); + if (!_bossModIpc.EnableAi(BossModIpc.EPreset.Active)) + { + _logger.LogWarning("BossModModule.Start: failed to enable BossMod AI"); + return false; + } + IPlayerCharacter localPlayer = _objectTable.LocalPlayer; + bool flag; + if (localPlayer != null) + { + byte? b = localPlayer.ClassJob.ValueNullable?.Role; + if (b.HasValue) + { + byte valueOrDefault = b.GetValueOrDefault(); + if ((uint)(valueOrDefault - 3) <= 1u) + { + flag = true; + goto IL_00bd; + } + } + flag = false; + goto IL_00bd; + } + goto IL_012e; + IL_00bd: + bool flag2 = flag; + _logger.LogDebug("BossModModule.Start: isRanged={IsRanged}, job role={Role}", flag2, localPlayer.ClassJob.ValueNullable?.Role); + _bossModIpc.SetRangeStrategy(BossModIpc.EPreset.Active, flag2); + goto IL_012e; + IL_012e: return true; } catch (IpcError exception) @@ -48,7 +82,7 @@ internal sealed class BossModModule : ICombatModule, IDisposable { try { - _bossModIpc.ClearPreset(); + _bossModIpc.DisableAi(); return true; } catch (IpcError exception) diff --git a/Questionable/Questionable.Controller.CombatModules/ItemUseModule.cs b/Questionable/Questionable.Controller.CombatModules/ItemUseModule.cs index bdc48d6..99a926f 100644 --- a/Questionable/Questionable.Controller.CombatModules/ItemUseModule.cs +++ b/Questionable/Questionable.Controller.CombatModules/ItemUseModule.cs @@ -27,13 +27,13 @@ internal sealed class ItemUseModule : ICombatModule private bool _isDoingRotation; - private DateTime _continueAt; + private long _continueAt; private bool _itemUsePending; - private DateTime _itemUsePendingUntil; + private long _itemUsePendingUntil; - private int _lastKnownItemCount; + public ICombatModule? Delegate => _delegate; public ItemUseModule(IServiceProvider serviceProvider, ICondition condition, ILogger logger) { @@ -51,23 +51,18 @@ internal sealed class ItemUseModule : ICombatModule _delegate = (from x in _serviceProvider.GetRequiredService>() where !(x is ItemUseModule) select x).FirstOrDefault((ICombatModule x) => x.CanHandleFight(combatData)); - _logger.LogInformation("ItemUse delegate: {Delegate}", _delegate?.GetType().Name); + _logger.LogDebug("ItemUse delegate: {Delegate}", _delegate?.GetType().Name); return _delegate != null; } - public unsafe bool Start(CombatController.CombatData combatData) + public bool Start(CombatController.CombatData combatData) { if (_delegate.Start(combatData)) { _combatData = combatData; _isDoingRotation = true; - _continueAt = DateTime.Now; - if (_combatData?.CombatItemUse != null) - { - InventoryManager* ptr = InventoryManager.Instance(); - _lastKnownItemCount = ptr->GetInventoryItemCount(_combatData.CombatItemUse.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0); - _itemUsePending = false; - } + _continueAt = Environment.TickCount64; + _itemUsePending = false; return true; } return false; @@ -81,14 +76,14 @@ internal sealed class ItemUseModule : ICombatModule _isDoingRotation = false; _combatData = null; _delegate = null; - _continueAt = DateTime.Now; + _continueAt = Environment.TickCount64; } return true; } public unsafe void Update(IGameObject nextTarget) { - if (_delegate == null || _continueAt > DateTime.Now) + if (_delegate == null || _continueAt > Environment.TickCount64) { return; } @@ -103,7 +98,7 @@ internal sealed class ItemUseModule : ICombatModule int inventoryItemCount = InventoryManager.Instance()->GetInventoryItemCount(_combatData.CombatItemUse.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0); if (_itemUsePending) { - if (DateTime.Now < _itemUsePendingUntil) + if (Environment.TickCount64 < _itemUsePendingUntil) { _logger.LogDebug("Item use pending; ignoring temporary inventory count={Count}", inventoryItemCount); } @@ -114,17 +109,15 @@ internal sealed class ItemUseModule : ICombatModule } if (!_itemUsePending && inventoryItemCount == 0) { - _isDoingRotation = false; - _delegate.Stop(); - return; + _delegate.Update(nextTarget); } - _lastKnownItemCount = inventoryItemCount; - if (ShouldUseItem(nextTarget)) + else if (ShouldUseItem(nextTarget)) { + _logger.LogDebug("Attempting to use item {ItemId}", _combatData.CombatItemUse.ItemId); _itemUsePending = true; - _itemUsePendingUntil = DateTime.Now.AddSeconds(3.0); + _itemUsePendingUntil = Environment.TickCount64 + 3000; AgentInventoryContext.Instance()->UseItem(_combatData.CombatItemUse.ItemId, InventoryType.Invalid, 0u, 0); - _continueAt = DateTime.Now.AddSeconds(2.0); + _continueAt = Environment.TickCount64 + 2000; } else { @@ -133,10 +126,10 @@ internal sealed class ItemUseModule : ICombatModule } else if (_condition[ConditionFlag.Casting]) { - DateTime dateTime = DateTime.Now.AddSeconds(0.5); - if (dateTime > _continueAt) + long num = Environment.TickCount64 + 500; + if (num > _continueAt) { - _continueAt = dateTime; + _continueAt = num; } } else diff --git a/Questionable/Questionable.Controller.CombatModules/RotationSolverRebornModule.cs b/Questionable/Questionable.Controller.CombatModules/RotationSolverRebornModule.cs index de10936..3805a4f 100644 --- a/Questionable/Questionable.Controller.CombatModules/RotationSolverRebornModule.cs +++ b/Questionable/Questionable.Controller.CombatModules/RotationSolverRebornModule.cs @@ -9,14 +9,9 @@ namespace Questionable.Controller.CombatModules; internal sealed class RotationSolverRebornModule : ICombatModule, IDisposable { - private enum StateCommandType : byte - { - Off, - Auto, - TargetOnly, - Manual, - AutoDuty - } + private const byte ModeOff = 0; + + private const byte ModeHenched = 4; private readonly ILogger _logger; @@ -24,17 +19,20 @@ internal sealed class RotationSolverRebornModule : ICombatModule, IDisposable private readonly ICallGateSubscriber _test; - private readonly ICallGateSubscriber _changeOperationMode; + private readonly ICallGateSubscriber _changeOperationMode; + + private readonly ICallGateSubscriber _setConfig; public RotationSolverRebornModule(ILogger logger, IDalamudPluginInterface pluginInterface, Configuration configuration) { _logger = logger; _configuration = configuration; _test = pluginInterface.GetIpcSubscriber("RotationSolverReborn.Test"); - _changeOperationMode = pluginInterface.GetIpcSubscriber("RotationSolverReborn.ChangeOperatingMode"); + _changeOperationMode = pluginInterface.GetIpcSubscriber("RotationSolverReborn.ChangeOperatingMode"); + _setConfig = pluginInterface.GetIpcSubscriber("RotationSolverReborn.SetConfig"); } - public bool CanHandleFight(CombatController.CombatData combatData) + public bool IsAvailable() { if (_configuration.General.CombatModule != Configuration.ECombatModule.RotationSolverReborn) { @@ -51,11 +49,19 @@ internal sealed class RotationSolverRebornModule : ICombatModule, IDisposable } } + public bool CanHandleFight(CombatController.CombatData combatData) + { + return IsAvailable(); + } + public bool Start(CombatController.CombatData combatData) { try { - _changeOperationMode.InvokeAction(StateCommandType.Manual); + _changeOperationMode.InvokeAction(4); + SetConfig("AutoOffAfterCombat", false); + SetConfig("HealPartyMembers", true); + SetConfig("HostileType", 1); return true; } catch (IpcError exception) @@ -73,7 +79,7 @@ internal sealed class RotationSolverRebornModule : ICombatModule, IDisposable } try { - _changeOperationMode.InvokeAction(StateCommandType.Off); + _changeOperationMode.InvokeAction(0); return true; } catch (IpcError exception) @@ -94,6 +100,17 @@ internal sealed class RotationSolverRebornModule : ICombatModule, IDisposable public void Dispose() { - Stop(); + } + + private void SetConfig(string key, object value) + { + try + { + _setConfig.InvokeAction(key, value); + } + catch (IpcError exception) + { + _logger.LogDebug(exception, "RSR SetConfig {Key} failed", key); + } } } diff --git a/Questionable/Questionable.Controller.CombatModules/WrathComboModule.cs b/Questionable/Questionable.Controller.CombatModules/WrathComboModule.cs index 0386140..afc3de3 100644 --- a/Questionable/Questionable.Controller.CombatModules/WrathComboModule.cs +++ b/Questionable/Questionable.Controller.CombatModules/WrathComboModule.cs @@ -1,8 +1,10 @@ using System; +using System.Collections.Generic; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin; using Dalamud.Plugin.Ipc; using Dalamud.Plugin.Ipc.Exceptions; +using Dalamud.Plugin.Services; using Microsoft.Extensions.Logging; using Questionable.Controller.Steps; @@ -42,7 +44,14 @@ internal sealed class WrathComboModule : ICombatModule, IDisposable OrbwalkerIntegration, AutoRezOutOfParty, DPSAoETargets, - SingleTargetExcogHPP + SingleTargetExcogHPP, + AutoRezDPSJobsHealersOnly, + DPSAlwaysHardTarget, + HealerAlwaysHardTarget, + BypassQuest, + BypassFATE, + IgnoreRangeInBoss, + UnTargetAndDisableForPenalty } public enum HealerRotationMode @@ -52,12 +61,26 @@ internal sealed class WrathComboModule : ICombatModule, IDisposable Lowest_Current } + public enum DPSRotationMode + { + Manual, + Highest_Max, + Lowest_Max, + Highest_Current, + Lowest_Current, + Tank_Target, + Nearest, + Furthest + } + private const string CallbackPrefix = "Questionable$Wrath"; private readonly ILogger _logger; private readonly Configuration _configuration; + private readonly IObjectTable _objectTable; + private readonly ICallGateSubscriber _test; private readonly ICallGateSubscriber _registerForLeaseWithCallback; @@ -70,25 +93,32 @@ internal sealed class WrathComboModule : ICombatModule, IDisposable private readonly ICallGateSubscriber _setCurrentJobAutoRotationReady; + private readonly ICallGateSubscriber?> _getComboNamesForJob; + + private readonly ICallGateSubscriber _setComboState; + private readonly ICallGateProvider _callback; private Guid? _lease; - public WrathComboModule(ILogger logger, Configuration configuration, IDalamudPluginInterface pluginInterface) + public WrathComboModule(ILogger logger, Configuration configuration, IObjectTable objectTable, IDalamudPluginInterface pluginInterface) { _logger = logger; _configuration = configuration; + _objectTable = objectTable; _test = pluginInterface.GetIpcSubscriber("WrathCombo.Test"); _registerForLeaseWithCallback = pluginInterface.GetIpcSubscriber("WrathCombo.RegisterForLeaseWithCallback"); _releaseControl = pluginInterface.GetIpcSubscriber("WrathCombo.ReleaseControl"); _setAutoRotationState = pluginInterface.GetIpcSubscriber("WrathCombo.SetAutoRotationState"); _setAutoRotationConfigState = pluginInterface.GetIpcSubscriber("WrathCombo.SetAutoRotationConfigState"); _setCurrentJobAutoRotationReady = pluginInterface.GetIpcSubscriber("WrathCombo.SetCurrentJobAutoRotationReady"); + _getComboNamesForJob = pluginInterface.GetIpcSubscriber>("WrathCombo.GetComboNamesForJob"); + _setComboState = pluginInterface.GetIpcSubscriber("WrathCombo.SetComboState"); _callback = pluginInterface.GetIpcProvider("Questionable$Wrath.WrathComboCallback"); _callback.RegisterAction(Callback); } - public bool CanHandleFight(CombatController.CombatData combatData) + public bool IsAvailable() { if (_configuration.General.CombatModule != Configuration.ECombatModule.WrathCombo) { @@ -105,6 +135,11 @@ internal sealed class WrathComboModule : ICombatModule, IDisposable } } + public bool CanHandleFight(CombatController.CombatData combatData) + { + return IsAvailable(); + } + public bool Start(CombatController.CombatData combatData) { try @@ -113,23 +148,36 @@ internal sealed class WrathComboModule : ICombatModule, IDisposable if (_lease.HasValue) { _logger.LogDebug("Wrath combo lease: {Lease}", _lease.Value); - if (!_setAutoRotationState.InvokeFunc(_lease.Value, arg2: true).IsSuccess()) + ESetResult eSetResult = _setAutoRotationState.InvokeFunc(_lease.Value, arg2: true); + _logger.LogDebug("SetAutoRotationState={Result}", eSetResult); + if (!eSetResult.IsSuccess()) { _logger.LogError("Unable to set autorotation state"); Stop(); return false; } - if (!_setCurrentJobAutoRotationReady.InvokeFunc(_lease.Value).IsSuccess()) + ESetResult eSetResult2 = _setCurrentJobAutoRotationReady.InvokeFunc(_lease.Value); + _logger.LogDebug("SetCurrentJobAutoRotationReady={Result}", eSetResult2); + if (!eSetResult2.IsSuccess()) { _logger.LogError("Unable to set current job for autorotation"); Stop(); return false; } - ESetResult eSetResult = _setAutoRotationConfigState.InvokeFunc(_lease.Value, AutoRotationConfigOption.HealerRotationMode, HealerRotationMode.Lowest_Current); - if (!eSetResult.IsSuccess()) - { - _logger.LogError("Unable to configure healing priority for autorotation: {Result}", eSetResult); - } + EnableCombosForCurrentJob(); + SetConfig(AutoRotationConfigOption.HealerRotationMode, HealerRotationMode.Lowest_Current); + SetConfig(AutoRotationConfigOption.DPSRotationMode, DPSRotationMode.Manual); + SetConfig(AutoRotationConfigOption.InCombatOnly, 0); + SetConfig(AutoRotationConfigOption.IncludeNPCs, 1); + SetConfig(AutoRotationConfigOption.OnlyAttackInCombat, 0); + SetConfig(AutoRotationConfigOption.AutoCleanse, 1); + SetConfig(AutoRotationConfigOption.AutoRez, 1); + SetConfig(AutoRotationConfigOption.AutoRezDPSJobs, 1); + SetConfig(AutoRotationConfigOption.ManageKardia, 1); + SetConfig(AutoRotationConfigOption.DPSAoETargets, 3); + SetConfig(AutoRotationConfigOption.AutoRezOutOfParty, 0); + SetConfig(AutoRotationConfigOption.DPSAlwaysHardTarget, 1); + SetConfig(AutoRotationConfigOption.BypassQuest, 1); return true; } _logger.LogError("Wrath combo did not return a lease"); @@ -173,6 +221,65 @@ internal sealed class WrathComboModule : ICombatModule, IDisposable return true; } + private void EnableCombosForCurrentJob() + { + if (!_lease.HasValue) + { + return; + } + uint num = _objectTable.LocalPlayer?.ClassJob.RowId ?? 0; + if (num == 0) + { + return; + } + try + { + List list = _getComboNamesForJob.InvokeFunc(num); + if (list == null || list.Count == 0) + { + _logger.LogWarning("No combos found for job {JobId}", num); + return; + } + _logger.LogDebug("Found {Count} combos for job {JobId}: {Combos}", list.Count, num, string.Join(", ", list)); + int num2 = 0; + foreach (string item in list) + { + ESetResult eSetResult = _setComboState.InvokeFunc(_lease.Value, item, arg3: true, arg4: true); + if (eSetResult.IsSuccess()) + { + num2++; + continue; + } + _logger.LogWarning("SetComboState({Combo})={Result}", item, eSetResult); + } + _logger.LogDebug("Enabled {Count}/{Total} combos for job {JobId}", num2, list.Count, num); + } + catch (IpcError exception) + { + _logger.LogWarning(exception, "Failed to enable combos for job {JobId}", num); + } + } + + private void SetConfig(AutoRotationConfigOption configKey, object value) + { + if (!_lease.HasValue) + { + return; + } + try + { + ESetResult eSetResult = _setAutoRotationConfigState.InvokeFunc(_lease.Value, configKey, value); + if (!eSetResult.IsSuccess()) + { + _logger.LogWarning("WrathCombo config {ConfigKey}={Value} returned {Result}", configKey, value, eSetResult); + } + } + catch (IpcError exception) + { + _logger.LogWarning(exception, "Failed to set WrathCombo config {ConfigKey}={Value}", configKey, value); + } + } + private void Callback(int reason, string additionalInfo) { _logger.LogWarning("WrathCombo callback: {Reason} ({Info})", reason, additionalInfo); @@ -181,7 +288,7 @@ internal sealed class WrathComboModule : ICombatModule, IDisposable public void Dispose() { - Stop(); + _lease = null; _callback.UnregisterAction(); } } diff --git a/Questionable/Questionable.Controller.Conditions/BeforeDutyCondition.cs b/Questionable/Questionable.Controller.Conditions/BeforeDutyCondition.cs new file mode 100644 index 0000000..2d54e15 --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/BeforeDutyCondition.cs @@ -0,0 +1,29 @@ +using Questionable.Model.Questing; + +namespace Questionable.Controller.Conditions; + +internal sealed class BeforeDutyCondition : StopCondition +{ + public override bool IsSession => false; + + public override EStopConditionType Type => EStopConditionType.BeforeDuty; + + public override bool Evaluate(StopEvaluationContext context) + { + EInteractionType? upcomingInteractionType = context.UpcomingInteractionType; + if (upcomingInteractionType.HasValue) + { + EInteractionType valueOrDefault = upcomingInteractionType.GetValueOrDefault(); + if ((uint)(valueOrDefault - 19) <= 1u) + { + return true; + } + } + return false; + } + + public override string GetDescription() + { + return "Before duty"; + } +} diff --git a/Questionable/Questionable.Controller.Conditions/EStopConditionMode.cs b/Questionable/Questionable.Controller.Conditions/EStopConditionMode.cs new file mode 100644 index 0000000..db3e8aa --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/EStopConditionMode.cs @@ -0,0 +1,8 @@ +namespace Questionable.Controller.Conditions; + +internal enum EStopConditionMode +{ + Off, + Pause, + Stop +} diff --git a/Questionable/Questionable.Controller.Conditions/EStopConditionType.cs b/Questionable/Questionable.Controller.Conditions/EStopConditionType.cs new file mode 100644 index 0000000..e13f1f0 --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/EStopConditionType.cs @@ -0,0 +1,14 @@ +namespace Questionable.Controller.Conditions; + +internal enum EStopConditionType +{ + QuestComplete, + QuestAccept, + Level, + GlobalSequence, + TimePlayed, + InventoryFull, + QuestCount, + BeforeDuty, + GilThreshold +} diff --git a/Questionable/Questionable.Controller.Conditions/GilThresholdCondition.cs b/Questionable/Questionable.Controller.Conditions/GilThresholdCondition.cs new file mode 100644 index 0000000..79f59fc --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/GilThresholdCondition.cs @@ -0,0 +1,20 @@ +namespace Questionable.Controller.Conditions; + +internal sealed class GilThresholdCondition : StopCondition +{ + public required int MinGil { get; set; } + + public override bool IsSession => false; + + public override EStopConditionType Type => EStopConditionType.GilThreshold; + + public override bool Evaluate(StopEvaluationContext context) + { + return context.Gil < MinGil; + } + + public override string GetDescription() + { + return $"Gil below {MinGil:N0}"; + } +} diff --git a/Questionable/Questionable.Controller.Conditions/GlobalSequenceCondition.cs b/Questionable/Questionable.Controller.Conditions/GlobalSequenceCondition.cs new file mode 100644 index 0000000..e7baf48 --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/GlobalSequenceCondition.cs @@ -0,0 +1,20 @@ +namespace Questionable.Controller.Conditions; + +internal sealed class GlobalSequenceCondition : StopCondition +{ + public required int TargetSequence { get; set; } + + public override bool IsSession => false; + + public override EStopConditionType Type => EStopConditionType.GlobalSequence; + + public override bool Evaluate(StopEvaluationContext context) + { + return context.CurrentSequence >= TargetSequence; + } + + public override string GetDescription() + { + return $"Sequence {TargetSequence}"; + } +} diff --git a/Questionable/Questionable.Controller.Conditions/InventoryFullCondition.cs b/Questionable/Questionable.Controller.Conditions/InventoryFullCondition.cs new file mode 100644 index 0000000..91af556 --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/InventoryFullCondition.cs @@ -0,0 +1,18 @@ +namespace Questionable.Controller.Conditions; + +internal sealed class InventoryFullCondition : StopCondition +{ + public override bool IsSession => false; + + public override EStopConditionType Type => EStopConditionType.InventoryFull; + + public override bool Evaluate(StopEvaluationContext context) + { + return context.FreeInventorySlots == 0; + } + + public override string GetDescription() + { + return "Inventory full"; + } +} diff --git a/Questionable/Questionable.Controller.Conditions/LevelCondition.cs b/Questionable/Questionable.Controller.Conditions/LevelCondition.cs new file mode 100644 index 0000000..570e3e4 --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/LevelCondition.cs @@ -0,0 +1,20 @@ +namespace Questionable.Controller.Conditions; + +internal sealed class LevelCondition : StopCondition +{ + public required int TargetLevel { get; set; } + + public override bool IsSession => false; + + public override EStopConditionType Type => EStopConditionType.Level; + + public override bool Evaluate(StopEvaluationContext context) + { + return context.PlayerLevel >= TargetLevel; + } + + public override string GetDescription() + { + return $"Level {TargetLevel}"; + } +} diff --git a/Questionable/Questionable.Controller.Conditions/QuestAcceptCondition.cs b/Questionable/Questionable.Controller.Conditions/QuestAcceptCondition.cs new file mode 100644 index 0000000..a5e67ca --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/QuestAcceptCondition.cs @@ -0,0 +1,34 @@ +using Questionable.Model.Questing; + +namespace Questionable.Controller.Conditions; + +internal sealed class QuestAcceptCondition : StopCondition +{ + private bool _isSession; + + public required ElementId QuestId { get; set; } + + public override bool IsSession => _isSession; + + public override EStopConditionType Type => EStopConditionType.QuestAccept; + + public override bool Evaluate(StopEvaluationContext context) + { + return context.AcceptedQuestId?.Equals(QuestId) ?? false; + } + + public override string GetDescription() + { + return $"Quest {QuestId} accepted"; + } + + public static QuestAcceptCondition CreateSession(ElementId questId) + { + return new QuestAcceptCondition + { + QuestId = questId, + _isSession = true, + Mode = EStopConditionMode.Stop + }; + } +} diff --git a/Questionable/Questionable.Controller.Conditions/QuestCompleteCondition.cs b/Questionable/Questionable.Controller.Conditions/QuestCompleteCondition.cs new file mode 100644 index 0000000..36e4a0d --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/QuestCompleteCondition.cs @@ -0,0 +1,54 @@ +using Questionable.Model.Questing; + +namespace Questionable.Controller.Conditions; + +internal sealed class QuestCompleteCondition : StopCondition +{ + private bool _isSession; + + public required ElementId QuestId { get; set; } + + public int? Sequence { get; set; } + + public override bool IsSession => _isSession; + + public override EStopConditionType Type => EStopConditionType.QuestComplete; + + public override bool Evaluate(StopEvaluationContext context) + { + int? sequence = Sequence; + if (sequence.HasValue) + { + int valueOrDefault = sequence.GetValueOrDefault(); + ElementId? currentQuestId = context.CurrentQuestId; + if ((object)currentQuestId != null && currentQuestId.Equals(QuestId)) + { + return context.CurrentSequence >= valueOrDefault; + } + return false; + } + return context.CompletedQuestId?.Equals(QuestId) ?? false; + } + + public override string GetDescription() + { + string text = QuestId.ToString(); + int? sequence = Sequence; + if (sequence.HasValue) + { + int valueOrDefault = sequence.GetValueOrDefault(); + return $"Quest {text} at sequence {valueOrDefault}"; + } + return "Quest " + text + " completed"; + } + + public static QuestCompleteCondition CreateSession(ElementId questId) + { + return new QuestCompleteCondition + { + QuestId = questId, + _isSession = true, + Mode = EStopConditionMode.Stop + }; + } +} diff --git a/Questionable/Questionable.Controller.Conditions/QuestCountCondition.cs b/Questionable/Questionable.Controller.Conditions/QuestCountCondition.cs new file mode 100644 index 0000000..4a15906 --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/QuestCountCondition.cs @@ -0,0 +1,20 @@ +namespace Questionable.Controller.Conditions; + +internal sealed class QuestCountCondition : StopCondition +{ + public required int Count { get; set; } + + public override bool IsSession => true; + + public override EStopConditionType Type => EStopConditionType.QuestCount; + + public override bool Evaluate(StopEvaluationContext context) + { + return context.QuestsCompletedThisSession >= Count; + } + + public override string GetDescription() + { + return $"{Count} quests completed"; + } +} diff --git a/Questionable/Questionable.Controller.Conditions/StopCondition.cs b/Questionable/Questionable.Controller.Conditions/StopCondition.cs new file mode 100644 index 0000000..2ecc997 --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/StopCondition.cs @@ -0,0 +1,17 @@ +using Newtonsoft.Json; + +namespace Questionable.Controller.Conditions; + +[JsonConverter(typeof(StopConditionConverter))] +internal abstract class StopCondition +{ + public EStopConditionMode Mode { get; set; } = EStopConditionMode.Stop; + + public abstract bool IsSession { get; } + + public abstract EStopConditionType Type { get; } + + public abstract bool Evaluate(StopEvaluationContext context); + + public abstract string GetDescription(); +} diff --git a/Questionable/Questionable.Controller.Conditions/StopConditionConverter.cs b/Questionable/Questionable.Controller.Conditions/StopConditionConverter.cs new file mode 100644 index 0000000..bc84675 --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/StopConditionConverter.cs @@ -0,0 +1,160 @@ +using System; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; +using Questionable.Model.Questing; + +namespace Questionable.Controller.Conditions; + +internal sealed class StopConditionConverter : JsonConverter +{ + public override StopCondition? ReadJson(JsonReader reader, Type objectType, StopCondition? existingValue, bool hasExistingValue, JsonSerializer serializer) + { + try + { + return ReadJsonCore(reader); + } + catch (Exception) + { + return null; + } + } + + private static StopCondition? ReadJsonCore(JsonReader reader) + { + JObject jObject = JObject.Load(reader); + StopCondition stopCondition; + switch (jObject["Type"]?.Value()) + { + case "QuestComplete": + { + ElementId elementId2 = DeserializeElementId(jObject["QuestId"]); + if ((object)elementId2 != null) + { + stopCondition = new QuestCompleteCondition + { + QuestId = elementId2, + Sequence = jObject["Sequence"]?.Value() + }; + break; + } + goto default; + } + case "QuestAccept": + { + ElementId elementId = DeserializeElementId(jObject["QuestId"]); + if ((object)elementId != null) + { + stopCondition = new QuestAcceptCondition + { + QuestId = elementId + }; + break; + } + goto default; + } + case "Level": + stopCondition = new LevelCondition + { + TargetLevel = (jObject["TargetLevel"]?.Value() ?? 50) + }; + break; + case "GlobalSequence": + stopCondition = new GlobalSequenceCondition + { + TargetSequence = (jObject["TargetSequence"]?.Value() ?? 1) + }; + break; + case "InventoryFull": + stopCondition = new InventoryFullCondition(); + break; + case "BeforeDuty": + stopCondition = new BeforeDutyCondition(); + break; + case "GilThreshold": + stopCondition = new GilThresholdCondition + { + MinGil = (jObject["MinGil"]?.Value() ?? 1000) + }; + break; + default: + stopCondition = null; + break; + } + StopCondition stopCondition2 = stopCondition; + if (stopCondition2 != null) + { + int? num = jObject["Mode"]?.Value(); + if (num.HasValue) + { + int valueOrDefault = num.GetValueOrDefault(); + stopCondition2.Mode = (EStopConditionMode)valueOrDefault; + } + } + return stopCondition2; + } + + public override void WriteJson(JsonWriter writer, StopCondition? value, JsonSerializer serializer) + { + if (value == null || value.IsSession) + { + writer.WriteNull(); + return; + } + JObject jObject = new JObject + { + ["Type"] = value.Type.ToString(), + ["Mode"] = (int)value.Mode + }; + if (!(value is QuestCompleteCondition questCompleteCondition)) + { + if (!(value is QuestAcceptCondition questAcceptCondition)) + { + if (!(value is LevelCondition levelCondition)) + { + if (!(value is GlobalSequenceCondition globalSequenceCondition)) + { + if (value is GilThresholdCondition gilThresholdCondition) + { + jObject["MinGil"] = gilThresholdCondition.MinGil; + } + } + else + { + jObject["TargetSequence"] = globalSequenceCondition.TargetSequence; + } + } + else + { + jObject["TargetLevel"] = levelCondition.TargetLevel; + } + } + else + { + jObject["QuestId"] = questAcceptCondition.QuestId.ToString(); + } + } + else + { + jObject["QuestId"] = questCompleteCondition.QuestId.ToString(); + if (questCompleteCondition.Sequence.HasValue) + { + jObject["Sequence"] = questCompleteCondition.Sequence; + } + } + jObject.WriteTo(writer); + } + + private static ElementId? DeserializeElementId(JToken? token) + { + string text = token?.Value(); + if (text == null) + { + return null; + } + if (!ElementId.TryFromString(text, out ElementId elementId)) + { + return null; + } + return elementId; + } +} diff --git a/Questionable/Questionable.Controller.Conditions/StopEvaluationContext.cs b/Questionable/Questionable.Controller.Conditions/StopEvaluationContext.cs new file mode 100644 index 0000000..c18804c --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/StopEvaluationContext.cs @@ -0,0 +1,27 @@ +using System; +using Questionable.Model.Questing; + +namespace Questionable.Controller.Conditions; + +internal readonly struct StopEvaluationContext +{ + public required int PlayerLevel { get; init; } + + public required ElementId? CurrentQuestId { get; init; } + + public required int CurrentSequence { get; init; } + + public required ElementId? CompletedQuestId { get; init; } + + public required ElementId? AcceptedQuestId { get; init; } + + public required int Gil { get; init; } + + public required int FreeInventorySlots { get; init; } + + public required TimeSpan ElapsedSinceStart { get; init; } + + public required int QuestsCompletedThisSession { get; init; } + + public required EInteractionType? UpcomingInteractionType { get; init; } +} diff --git a/Questionable/Questionable.Controller.Conditions/TimePlayedCondition.cs b/Questionable/Questionable.Controller.Conditions/TimePlayedCondition.cs new file mode 100644 index 0000000..c0b51b9 --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/TimePlayedCondition.cs @@ -0,0 +1,22 @@ +using System; + +namespace Questionable.Controller.Conditions; + +internal sealed class TimePlayedCondition : StopCondition +{ + public required int Minutes { get; set; } + + public override bool IsSession => true; + + public override EStopConditionType Type => EStopConditionType.TimePlayed; + + public override bool Evaluate(StopEvaluationContext context) + { + return context.ElapsedSinceStart >= TimeSpan.FromMinutes(Minutes); + } + + public override string GetDescription() + { + return $"{Minutes} minutes"; + } +} diff --git a/Questionable/Questionable.Controller.CustomDelivery/CustomDeliveryNpc.cs b/Questionable/Questionable.Controller.CustomDelivery/CustomDeliveryNpc.cs new file mode 100644 index 0000000..dd664cc --- /dev/null +++ b/Questionable/Questionable.Controller.CustomDelivery/CustomDeliveryNpc.cs @@ -0,0 +1,6 @@ +using Questionable.Model; +using Questionable.Model.Questing; + +namespace Questionable.Controller.CustomDelivery; + +internal sealed record CustomDeliveryNpc(int NpcIndex, ushort NpcRowId, string Name, ushort Level, EExpansionVersion Expansion, QuestId UnlockQuestId); diff --git a/Questionable/Questionable.Controller.CustomDelivery/CustomDeliveryNpcData.cs b/Questionable/Questionable.Controller.CustomDelivery/CustomDeliveryNpcData.cs new file mode 100644 index 0000000..4bdf7fc --- /dev/null +++ b/Questionable/Questionable.Controller.CustomDelivery/CustomDeliveryNpcData.cs @@ -0,0 +1,31 @@ +using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; +using System.Linq; +using Dalamud.Plugin.Services; +using Lumina.Excel.Sheets; +using Questionable.Model; +using Questionable.Model.Questing; + +namespace Questionable.Controller.CustomDelivery; + +internal sealed class CustomDeliveryNpcData +{ + private readonly List _npcs; + + private readonly Dictionary _npcsByRowId; + + public IReadOnlyList AllNpcs => _npcs; + + public CustomDeliveryNpcData(IDataManager dataManager) + { + _npcs = (from x in dataManager.GetExcelSheet() + where x.RowId != 0 && x.Npc.RowId != 0 + select new CustomDeliveryNpc((int)(x.RowId - 1), (ushort)x.RowId, x.Npc.Value.Singular.ToString(), x.LevelUnlock, (EExpansionVersion)x.QuestRequired.Value.Expansion.RowId, QuestId.FromRowId(x.QuestRequired.RowId))).ToList(); + _npcsByRowId = _npcs.ToDictionary((CustomDeliveryNpc x) => x.NpcRowId); + } + + public bool TryGetByRowId(ushort npcRowId, [NotNullWhen(true)] out CustomDeliveryNpc? npc) + { + return _npcsByRowId.TryGetValue(npcRowId, out npc); + } +} diff --git a/Questionable/Questionable.Controller.CustomDelivery/DeliveryNpcApproachExecutor.cs b/Questionable/Questionable.Controller.CustomDelivery/DeliveryNpcApproachExecutor.cs new file mode 100644 index 0000000..67c1dd6 --- /dev/null +++ b/Questionable/Questionable.Controller.CustomDelivery/DeliveryNpcApproachExecutor.cs @@ -0,0 +1,216 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Threading; +using System.Threading.Tasks; +using Dalamud.Game.ClientState.Objects.SubKinds; +using Dalamud.Game.ClientState.Objects.Types; +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.System.Framework; +using FFXIVClientStructs.FFXIV.Common.Component.BGCollision; +using Microsoft.Extensions.Logging; +using Questionable.Controller.Steps; +using Questionable.External; +using Questionable.Functions; +using Questionable.Model; + +namespace Questionable.Controller.CustomDelivery; + +internal sealed class DeliveryNpcApproachExecutor(NavmeshIpc navmeshIpc, MovementController movementController, GameFunctions gameFunctions, IObjectTable objectTable, IClientState clientState, ILogger logger) : TaskExecutor(), IStoppableTaskExecutor, ITaskExecutor, IDisposable +{ + private readonly List _candidates = new List(); + + private CancellationTokenSource? _cancellationTokenSource; + + private Task? _pathfindTask; + + private int _candidateIndex; + + private bool _moving; + + private float _interactionDistance; + + private Vector3 _npcPosition; + + protected override bool Start() + { + _candidates.Clear(); + _candidateIndex = 0; + _moving = false; + _pathfindTask = null; + _cancellationTokenSource = new CancellationTokenSource(TimeSpan.FromSeconds(30L)); + IPlayerCharacter localPlayer = objectTable.LocalPlayer; + IGameObject gameObject = gameFunctions.FindObjectByDataId(base.Task.NpcDataId, null, warnIfMissing: false); + _npcPosition = gameObject?.Position ?? base.Task.NpcPosition; + _interactionDistance = 3f + (gameObject?.HitboxRadius ?? 0f) + (localPlayer?.HitboxRadius ?? 0f); + if (localPlayer == null || clientState.TerritoryType != base.Task.TerritoryId) + { + return true; + } + float num = MathF.Atan2(localPlayer.Position.X - _npcPosition.X, localPlayer.Position.Z - _npcPosition.Z); + float num2 = MathF.Max(1f, _interactionDistance - 0.5f); + for (int i = 0; i < 24; i++) + { + int num3 = ((i != 0) ? ((i + 1) / 2 * ((i % 2 == 1) ? 1 : (-1))) : 0); + float x = num + (float)Math.PI * 2f * (float)num3 / 24f; + Vector3 position = new Vector3(_npcPosition.X + MathF.Sin(x) * num2, _npcPosition.Y + 5f, _npcPosition.Z + MathF.Cos(x) * num2); + Vector3? pointOnFloor = navmeshIpc.GetPointOnFloor(position, unlandable: false, 0.75f); + if (pointOnFloor.HasValue && Vector2.Distance(new Vector2(pointOnFloor.Value.X, pointOnFloor.Value.Z), new Vector2(_npcPosition.X, _npcPosition.Z)) <= _interactionDistance && HasLineOfSight(pointOnFloor.Value, _npcPosition) && HasBodyClearance(pointOnFloor.Value, localPlayer.HitboxRadius + 0.5f)) + { + _candidates.Add(pointOnFloor.Value); + } + } + logger.LogDebug("Searching {CandidateCount} reachable approaches to delivery NPC {DataId} within {Distance:F1}y", _candidates.Count, base.Task.NpcDataId, _interactionDistance); + StartNextPathfind(); + return true; + } + + public override ETaskResult Update() + { + if (_moving) + { + if (movementController.IsPathfinding || movementController.IsPathRunning) + { + return ETaskResult.StillRunning; + } + IPlayerCharacter localPlayer = objectTable.LocalPlayer; + if (localPlayer != null && Vector3.Distance(localPlayer.Position, _npcPosition) <= _interactionDistance + 0.5f) + { + return ETaskResult.TaskComplete; + } + throw new MovementController.PathfindingFailedException("Delivery NPC approach ended outside interaction range"); + } + if (_pathfindTask == null) + { + if (_candidateIndex >= _candidates.Count) + { + throw new MovementController.PathfindingFailedException("No reachable approach within delivery NPC interaction range"); + } + StartNextPathfind(); + return ETaskResult.StillRunning; + } + if (!_pathfindTask.IsCompleted) + { + return ETaskResult.StillRunning; + } + if (_pathfindTask.IsCanceled) + { + throw new MovementController.PathfindingFailedException("Delivery NPC approach search timed out"); + } + if (_pathfindTask.IsFaulted) + { + logger.LogDebug(_pathfindTask.Exception, "Delivery NPC approach candidate pathfinding failed"); + _pathfindTask = null; + return ETaskResult.StillRunning; + } + Vector3 vector = _candidates[_candidateIndex - 1]; + NavPathfindResult result = _pathfindTask.Result; + float num; + if (!result.HasPartialInfo) + { + if (result.Waypoints.Count <= 0) + { + num = float.MaxValue; + } + else + { + List waypoints = result.Waypoints; + num = Vector3.Distance(waypoints[waypoints.Count - 1], vector); + } + } + else + { + num = result.EndDistance; + } + float num2 = num; + IPlayerCharacter localPlayer2 = objectTable.LocalPlayer; + if (result.Waypoints.Count > 0 && (!result.HasPartialInfo || !result.IsPartial) && num2 <= 1f && localPlayer2 != null && HasCollisionFreePath(localPlayer2.Position, result.Waypoints)) + { + logger.LogDebug("Selected reachable delivery NPC approach {Approach}", vector); + movementController.NavigateTo(EMovementType.Quest, base.Task.NpcDataId, result.Waypoints, fly: false, sprint: true, 0.5f); + _moving = true; + return ETaskResult.StillRunning; + } + _pathfindTask = null; + return ETaskResult.StillRunning; + } + + private void StartNextPathfind() + { + IPlayerCharacter localPlayer = objectTable.LocalPlayer; + if (localPlayer != null && _candidateIndex < _candidates.Count && _cancellationTokenSource != null) + { + Vector3 targetPosition = _candidates[_candidateIndex++]; + _pathfindTask = navmeshIpc.Pathfind(localPlayer.Position, targetPosition, fly: false, _cancellationTokenSource.Token); + } + } + + private static bool HasLineOfSight(Vector3 from, Vector3 to) + { + return HasLineOfSightAtHeight(from, to, 2f); + } + + private static bool HasBodyClearance(Vector3 position, float radius) + { + for (int i = 0; i < 8; i++) + { + float x = (float)Math.PI * 2f * (float)i / 8f; + if (!HasLineOfSightAtHeight(to: new Vector3(position.X + MathF.Sin(x) * radius, position.Y, position.Z + MathF.Cos(x) * radius), from: position, height: 1f)) + { + return false; + } + } + return true; + } + + private static bool HasCollisionFreePath(Vector3 start, IReadOnlyList waypoints) + { + Vector3 vector = start; + foreach (Vector3 waypoint in waypoints) + { + if (!HasLineOfSightAtHeight(vector, waypoint, 0.75f) || !HasLineOfSightAtHeight(vector, waypoint, 1.5f)) + { + return false; + } + vector = waypoint; + } + return true; + } + + private unsafe static bool HasLineOfSightAtHeight(Vector3 from, Vector3 to, float height) + { + Framework* ptr = Framework.Instance(); + if (ptr == null || ptr->BGCollisionModule == null) + { + return true; + } + from.Y += height; + to.Y += height; + Vector3 vector = to - from; + float num = vector.Length(); + if (num < 0.1f) + { + return true; + } + Vector3 vector2 = vector / num; + int* flags = stackalloc int[4] { 16384, 0, 16384, 0 }; + RaycastHit raycastHit = default(RaycastHit); + return !ptr->BGCollisionModule->RaycastMaterialFilter(&raycastHit, &from, &vector2, num, 1, flags); + } + + public void StopNow() + { + _cancellationTokenSource?.Cancel(); + movementController.Stop(); + } + + public void Dispose() + { + _cancellationTokenSource?.Dispose(); + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } +} diff --git a/Questionable/Questionable.Controller.CustomDelivery/DeliveryNpcApproachTask.cs b/Questionable/Questionable.Controller.CustomDelivery/DeliveryNpcApproachTask.cs new file mode 100644 index 0000000..b6143c2 --- /dev/null +++ b/Questionable/Questionable.Controller.CustomDelivery/DeliveryNpcApproachTask.cs @@ -0,0 +1,12 @@ +using System.Numerics; +using Questionable.Controller.Steps; + +namespace Questionable.Controller.CustomDelivery; + +internal sealed record DeliveryNpcApproachTask(ushort TerritoryId, Vector3 NpcPosition, uint NpcDataId) : ITask +{ + public override string ToString() + { + return $"ApproachDeliveryNpc({NpcDataId})"; + } +} diff --git a/Questionable/Questionable.Controller.CustomDelivery/DeliveryPlan.cs b/Questionable/Questionable.Controller.CustomDelivery/DeliveryPlan.cs new file mode 100644 index 0000000..38c5711 --- /dev/null +++ b/Questionable/Questionable.Controller.CustomDelivery/DeliveryPlan.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; + +namespace Questionable.Controller.CustomDelivery; + +internal sealed class DeliveryPlan +{ + public required int NpcIndex { get; init; } + + public required EDeliverySlot Slot { get; init; } + + public required uint ItemId { get; init; } + + public required ushort Collectability { get; init; } + + public required int DeliveryCount { get; init; } + + public VendorResolverService.RecipeInfo? Recipe { get; init; } + + public IReadOnlyList IngredientPlans { get; init; } = Array.Empty(); +} diff --git a/Questionable/Questionable.Controller.CustomDelivery/DeliveryPlannerService.cs b/Questionable/Questionable.Controller.CustomDelivery/DeliveryPlannerService.cs new file mode 100644 index 0000000..5d1f65c --- /dev/null +++ b/Questionable/Questionable.Controller.CustomDelivery/DeliveryPlannerService.cs @@ -0,0 +1,268 @@ +using System; +using System.Collections.Generic; +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using LLib.GameData; +using LLib.Inventory; +using LLib.Shop; +using Lumina.Excel; +using Lumina.Excel.Sheets; +using Microsoft.Extensions.Logging; +using Questionable.External; + +namespace Questionable.Controller.CustomDelivery; + +internal sealed class DeliveryPlannerService +{ + private readonly SatisfactionSupplyHelper _supplyHelper; + + private readonly VendorResolverService _vendorResolver; + + private readonly DeliveryRewardCalculator _rewardCalculator; + + private readonly IDataManager _dataManager; + + private readonly Configuration _configuration; + + private readonly ILogger _logger; + + public DeliveryPlannerService(SatisfactionSupplyHelper supplyHelper, VendorResolverService vendorResolver, DeliveryRewardCalculator rewardCalculator, IDataManager dataManager, Configuration configuration, ILogger logger) + { + _supplyHelper = supplyHelper; + _vendorResolver = vendorResolver; + _rewardCalculator = rewardCalculator; + _dataManager = dataManager; + _configuration = configuration; + _logger = logger; + } + + public unsafe DeliveryPlan? CreatePlan(int npcIndex, EDeliverySlot slot) + { + if (!InventoryHelper.HasFreeInventorySlot()) + { + _logger.LogWarning("No free inventory slots, cannot plan custom delivery"); + return null; + } + if (!IsNpcUnlocked(npcIndex)) + { + _logger.LogDebug("NPC {NpcIndex} prerequisite quest not complete", npcIndex); + return null; + } + SatisfactionSupplyActions.NpcState npcState = SatisfactionSupplyActions.GetNpcState(npcIndex); + int remainingAllowances = SatisfactionSupplyActions.GetRemainingAllowances(); + uint supplySeed = SatisfactionSupplyActions.GetSupplySeed(); + if (npcState.Rank <= 0) + { + _logger.LogDebug("NPC {NpcIndex} is locked (rank {Rank})", npcIndex, npcState.Rank); + return null; + } + if (remainingAllowances <= 0) + { + _logger.LogDebug("No remaining weekly allowances"); + return null; + } + if (!_dataManager.GetExcelSheet().TryGetRow((uint)(npcIndex + 1), out var row)) + { + _logger.LogWarning("SatisfactionNpc row not found for index {NpcIndex}", npcIndex); + return null; + } + ushort levelUnlock = row.LevelUnlock; + if (!HasJobAtLevel(slot, levelUnlock)) + { + _logger.LogDebug("No job at level {Level} for slot {Slot}, NPC {NpcIndex}", levelUnlock, slot, npcIndex); + return null; + } + uint supplyIndex = (uint)row.SatisfactionNpcParams[npcState.Rank].SupplyIndex; + uint num = _supplyHelper.CalculateRequestedItems(supplyIndex, supplySeed)[(int)slot]; + if (num == uint.MaxValue) + { + _logger.LogDebug("No item predicted for NPC {NpcIndex} slot {Slot}", npcIndex, slot); + return null; + } + if (!_dataManager.GetSubrowExcelSheet().TryGetSubrow(supplyIndex, (ushort)num, out var subrow)) + { + _logger.LogWarning("SatisfactionSupply subrow ({SupplyIndex}, {SubrowIndex}) not found", supplyIndex, num); + return null; + } + uint rowId = subrow.Item.RowId; + ushort num2 = _configuration.CustomDeliveries.CollectabilityTier switch + { + Configuration.CustomDeliveryConfiguration.ECollectabilityTier.Low => subrow.CollectabilityLow, + Configuration.CustomDeliveryConfiguration.ECollectabilityTier.Mid => subrow.CollectabilityMid, + _ => subrow.CollectabilityHigh, + }; + if (rowId == 0) + { + _logger.LogWarning("SatisfactionSupply subrow ({SupplyIndex}, {SubrowIndex}) has no item", supplyIndex, num); + return null; + } + int num3 = row.DeliveriesPerWeek - npcState.UsedDeliveries; + int num4 = Math.Min(num3, remainingAllowances); + if (num4 <= 0) + { + _logger.LogDebug("No deliveries available for NPC {NpcIndex} (npc remaining: {NpcRemaining}, global remaining: {GlobalRemaining})", npcIndex, num3, remainingAllowances); + return null; + } + int satisfactionRequired = row.SatisfactionNpcParams[npcState.Rank].SatisfactionRequired; + if (satisfactionRequired > 0) + { + Configuration.CustomDeliveryConfiguration.ECollectabilityTier collectabilityTier = _configuration.CustomDeliveries.CollectabilityTier; + int num5 = _rewardCalculator.CalculateSatisfactionPerDelivery(subrow.Reward.RowId, subrow.IsBonus, collectabilityTier); + if (num5 > 0) + { + int num6 = (satisfactionRequired - npcState.SatisfactionCurrent + num5 - 1) / num5; + if (num6 > 0 && num6 < num4) + { + _logger.LogDebug("Capping deliveries from {Original} to {Capped} to avoid rank-up mid-batch (sat: {Current}/{Required}, per delivery: {PerDelivery})", num4, num6, npcState.SatisfactionCurrent, satisfactionRequired, num5); + num4 = num6; + } + } + } + ushort key = (ushort)(npcIndex + 1); + if (_configuration.CustomDeliveries.AchievementGoals.TryGetValue(key, out Configuration.AchievementGoal value) && value.Active) + { + int num7 = (int)value.TargetCount - npcState.UsedDeliveries; + if (num7 <= 0) + { + _logger.LogDebug("Achievement goal already met for NPC {NpcIndex} (used: {Used}, target: {Target})", npcIndex, npcState.UsedDeliveries, value.TargetCount); + return null; + } + num4 = Math.Min(num4, num7); + } + if (_configuration.CustomDeliveries.ScripOvercapMode != Configuration.CustomDeliveryConfiguration.EScripOvercapMode.Ignore) + { + uint rowId2 = subrow.Reward.RowId; + bool isBonus = subrow.IsBonus; + int num8 = _rewardCalculator.MaxDeliveriesBeforeOvercap(rowId2, isBonus, _configuration.CustomDeliveries.CollectabilityTier); + if (num8 <= 0) + { + _logger.LogDebug("Scrip overcap: blocking delivery for NPC {NpcIndex}", npcIndex); + return null; + } + if (num8 < num4) + { + _logger.LogDebug("Scrip overcap: capping delivery count from {Original} to {Capped} for NPC {NpcIndex}", num4, num8, npcIndex); + num4 = num8; + } + } + VendorResolverService.RecipeInfo? recipe = null; + List list = new List(); + if (slot == EDeliverySlot.Craft) + { + recipe = _vendorResolver.ResolveRecipe(rowId); + if (!recipe.HasValue) + { + _logger.LogError("Cannot resolve recipe for craft item {ItemId}", rowId); + return null; + } + int inventoryItemCount = InventoryManager.Instance()->GetInventoryItemCount(rowId, isHq: false, checkEquipped: true, checkArmory: true, (short)num2); + int num9 = Math.Max(0, num4 - inventoryItemCount); + foreach (VendorResolverService.IngredientInfo ingredient in recipe.Value.Ingredients) + { + int num10 = num9 * ingredient.CountPerCraft; + int count = ((ItemHandle)ingredient.ItemId).GetCount(); + int num11 = Math.Max(0, num10 - count); + VendorResolverService.VendorInfo? vendor = null; + if (num11 > 0) + { + vendor = _vendorResolver.ResolveVendor(ingredient.ItemId); + } + if (num11 > 0 && !vendor.HasValue) + { + _logger.LogWarning("Cannot plan craft delivery for item {ItemId}: missing {ToBuy}x ingredient {IngredientId} with no gil vendor", rowId, num11, ingredient.ItemId); + return null; + } + list.Add(new IngredientPlan + { + ItemId = ingredient.ItemId, + TotalNeeded = num10, + InInventory = count, + ToBuy = num11, + Vendor = vendor + }); + } + } + DeliveryPlan result = new DeliveryPlan + { + NpcIndex = npcIndex, + Slot = slot, + ItemId = rowId, + Collectability = num2, + DeliveryCount = num4, + Recipe = recipe, + IngredientPlans = list + }; + int num12 = 0; + foreach (IngredientPlan item in list) + { + num12 += item.ToBuy; + } + _logger.LogDebug("Delivery plan: NPC {NpcIndex} slot {Slot}, item {ItemId} x{Count}, ingredients to buy: {ToBuy}", npcIndex, slot, rowId, num4, num12); + return result; + } + + public bool IsNpcUnlocked(int npcIndex) + { + if (!_dataManager.GetExcelSheet().TryGetRow((uint)(npcIndex + 1), out var row)) + { + return false; + } + uint rowId = row.QuestRequired.RowId; + if (rowId == 0) + { + return true; + } + return QuestManager.IsQuestComplete((ushort)rowId); + } + + private bool HasJobAtLevel(EDeliverySlot slot, ushort requiredLevel) + { + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + EClassJob[] array = slot switch + { + EDeliverySlot.Craft => new EClassJob[8] + { + EClassJob.Carpenter, + EClassJob.Blacksmith, + EClassJob.Armorer, + EClassJob.Goldsmith, + EClassJob.Leatherworker, + EClassJob.Weaver, + EClassJob.Alchemist, + EClassJob.Culinarian + }, + EDeliverySlot.Gather => new EClassJob[2] + { + EClassJob.Miner, + EClassJob.Botanist + }, + EDeliverySlot.Fish => new EClassJob[1] { EClassJob.Fisher }, + _ => Array.Empty(), + }; + foreach (EClassJob rowId in array) + { + if (excelSheet.TryGetRow((uint)rowId, out var row) && PlayerStateHelper.GetClassJobLevel(row.ExpArrayIndex) >= requiredLevel) + { + return true; + } + } + return false; + } + + public EDeliverySlot? AutoSelectSlot(int npcIndex, ArtisanIpc artisanIpc, AutoHookIpc autoHookIpc) + { + if (artisanIpc.IsAvailable() && CreatePlan(npcIndex, EDeliverySlot.Craft) != null) + { + return EDeliverySlot.Craft; + } + if (CreatePlan(npcIndex, EDeliverySlot.Gather) != null) + { + return EDeliverySlot.Gather; + } + if (autoHookIpc.IsAvailable() && CreatePlan(npcIndex, EDeliverySlot.Fish) != null) + { + return EDeliverySlot.Fish; + } + return null; + } +} diff --git a/Questionable/Questionable.Controller.CustomDelivery/DeliveryRewardCalculator.cs b/Questionable/Questionable.Controller.CustomDelivery/DeliveryRewardCalculator.cs new file mode 100644 index 0000000..8deb364 --- /dev/null +++ b/Questionable/Questionable.Controller.CustomDelivery/DeliveryRewardCalculator.cs @@ -0,0 +1,105 @@ +using System; +using System.Collections.Generic; +using Dalamud.Plugin.Services; +using LLib.Inventory; +using Lumina.Excel.Sheets; + +namespace Questionable.Controller.CustomDelivery; + +internal sealed class DeliveryRewardCalculator(IDataManager dataManager) +{ + internal record struct CurrencyReward(uint CurrencyItemId, string CurrencyName, int AmountPerDelivery); + + private static readonly Dictionary ScripCaps = new Dictionary + { + [33913u] = 4000, + [41784u] = 4000 + }; + + internal List CalculateRewards(uint rewardRowId, bool hasBonus, Configuration.CustomDeliveryConfiguration.ECollectabilityTier tier = Configuration.CustomDeliveryConfiguration.ECollectabilityTier.High) + { + List list = new List(); + if (!dataManager.GetExcelSheet().TryGetRow(rewardRowId, out var row)) + { + return list; + } + foreach (SatisfactionSupplyReward.SatisfactionSupplyRewardDataStruct satisfactionSupplyRewardDatum in row.SatisfactionSupplyRewardData) + { + uint rewardCurrency = satisfactionSupplyRewardDatum.RewardCurrency; + if (rewardCurrency != 0) + { + int num = tier switch + { + Configuration.CustomDeliveryConfiguration.ECollectabilityTier.Low => satisfactionSupplyRewardDatum.QuantityLow, + Configuration.CustomDeliveryConfiguration.ECollectabilityTier.Mid => satisfactionSupplyRewardDatum.QuantityMid, + _ => satisfactionSupplyRewardDatum.QuantityHigh, + }; + if (hasBonus) + { + num = num * row.BonusMultiplier / 100; + } + string currencyName = GetCurrencyName(rewardCurrency); + list.Add(new CurrencyReward(rewardCurrency, currencyName, num)); + } + } + return list; + } + + internal static bool WouldOvercap(uint currencyItemId, int amountPerDelivery, int deliveryCount) + { + if (!ScripCaps.TryGetValue(currencyItemId, out var value)) + { + return false; + } + return InventoryHelper.GetItemCount(currencyItemId) + amountPerDelivery * deliveryCount > value; + } + + internal int MaxDeliveriesBeforeOvercap(uint rewardRowId, bool hasBonus, Configuration.CustomDeliveryConfiguration.ECollectabilityTier tier = Configuration.CustomDeliveryConfiguration.ECollectabilityTier.High) + { + List list = CalculateRewards(rewardRowId, hasBonus, tier); + int num = int.MaxValue; + foreach (CurrencyReward item in list) + { + if (ScripCaps.TryGetValue(item.CurrencyItemId, out var value) && item.AmountPerDelivery > 0) + { + int itemCount = InventoryHelper.GetItemCount(item.CurrencyItemId); + int num2 = value - itemCount; + int val = ((num2 > 0) ? (num2 / item.AmountPerDelivery) : 0); + num = Math.Min(num, val); + } + } + if (num != int.MaxValue) + { + return num; + } + return int.MaxValue; + } + + internal int CalculateSatisfactionPerDelivery(uint rewardRowId, bool hasBonus, Configuration.CustomDeliveryConfiguration.ECollectabilityTier tier = Configuration.CustomDeliveryConfiguration.ECollectabilityTier.High) + { + if (!dataManager.GetExcelSheet().TryGetRow(rewardRowId, out var row)) + { + return 0; + } + int num = tier switch + { + Configuration.CustomDeliveryConfiguration.ECollectabilityTier.Low => row.SatisfactionLow, + Configuration.CustomDeliveryConfiguration.ECollectabilityTier.Mid => row.SatisfactionMid, + _ => row.SatisfactionHigh, + }; + if (hasBonus) + { + num = num * row.BonusMultiplier / 100; + } + return num; + } + + private string GetCurrencyName(uint currencyItemId) + { + if (dataManager.GetExcelSheet().TryGetRow(currencyItemId, out var row)) + { + return row.Name.ToString(); + } + return $"Currency#{currencyItemId}"; + } +} diff --git a/Questionable/Questionable.Controller.CustomDelivery/EDeliverySlot.cs b/Questionable/Questionable.Controller.CustomDelivery/EDeliverySlot.cs new file mode 100644 index 0000000..ae159cf --- /dev/null +++ b/Questionable/Questionable.Controller.CustomDelivery/EDeliverySlot.cs @@ -0,0 +1,8 @@ +namespace Questionable.Controller.CustomDelivery; + +internal enum EDeliverySlot +{ + Craft, + Gather, + Fish +} diff --git a/Questionable/Questionable.Controller.CustomDelivery/IngredientPlan.cs b/Questionable/Questionable.Controller.CustomDelivery/IngredientPlan.cs new file mode 100644 index 0000000..32b5608 --- /dev/null +++ b/Questionable/Questionable.Controller.CustomDelivery/IngredientPlan.cs @@ -0,0 +1,14 @@ +namespace Questionable.Controller.CustomDelivery; + +internal sealed class IngredientPlan +{ + public required uint ItemId { get; init; } + + public required int TotalNeeded { get; init; } + + public required int InInventory { get; init; } + + public required int ToBuy { get; init; } + + public VendorResolverService.VendorInfo? Vendor { get; init; } +} diff --git a/Questionable/Questionable.Controller.CustomDelivery/SatisfactionSupplyTurnInExecutor.cs b/Questionable/Questionable.Controller.CustomDelivery/SatisfactionSupplyTurnInExecutor.cs new file mode 100644 index 0000000..4a584dc --- /dev/null +++ b/Questionable/Questionable.Controller.CustomDelivery/SatisfactionSupplyTurnInExecutor.cs @@ -0,0 +1,199 @@ +using System; +using Dalamud.Game.ClientState.Conditions; +using Dalamud.Plugin.Services; +using LLib; +using LLib.Shop; +using Microsoft.Extensions.Logging; +using Questionable.Controller.Steps; +using Questionable.Functions; + +namespace Questionable.Controller.CustomDelivery; + +internal sealed class SatisfactionSupplyTurnInExecutor(GameFunctions gameFunctions, IGameGui gameGui, ICondition condition, ILogger logger) : TaskExecutor() +{ + private enum EPhase + { + InteractWithNpc, + WaitForAddon, + SelectSlot, + ConfirmTrade, + WaitForCutsceneStart, + WaitForCutsceneEnd, + CheckCompletion, + Closing + } + + private const long PhaseTimeoutMs = 15000L; + + private const long CutsceneTimeoutMs = 60000L; + + private Throttle _throttle; + + private EPhase _phase; + + private int _remaining; + + private int _lastUsedDeliveries; + + private long _phaseStartMs; + + protected override bool Start() + { + _phase = EPhase.InteractWithNpc; + _remaining = base.Task.DeliveryCount; + _lastUsedDeliveries = SatisfactionSupplyActions.GetNpcState(base.Task.NpcIndex).UsedDeliveries; + _throttle.Clear(); + _phaseStartMs = Environment.TickCount64; + logger.LogDebug("Starting satisfaction supply turn-in: npc={NpcIndex}, slot={Slot}, count={Count}", base.Task.NpcIndex, base.Task.Slot, base.Task.DeliveryCount); + return true; + } + + public override ETaskResult Update() + { + long num = Environment.TickCount64 - _phaseStartMs; + if ((_phase != EPhase.WaitForCutsceneEnd) ? (num > 15000) : (num > 60000)) + { + logger.LogWarning("Turn-in timed out in phase {Phase} after {Elapsed}ms, retrying", _phase, num); + TryDismissResultAddon(); + SatisfactionSupplyActions.TryCloseSatisfactionSupply(gameGui); + return ETaskResult.RetryStep; + } + switch (_phase) + { + case EPhase.InteractWithNpc: + if (_throttle.TryReset(0.5) && base.Task.NpcDataId != 0 && gameFunctions.InteractWith(base.Task.NpcDataId)) + { + logger.LogDebug("Interacted with delivery NPC {DataId}", base.Task.NpcDataId); + SetPhase(EPhase.WaitForAddon); + } + break; + case EPhase.WaitForAddon: + if (_throttle.TryReset(0.5) && !TryDismissResultAddon()) + { + if (SatisfactionSupplyActions.IsSatisfactionSupplyFullyReady(gameGui)) + { + logger.LogDebug("SatisfactionSupply addon fully ready"); + SetPhase(EPhase.SelectSlot); + } + else if (VendorPurchaseActions.IsDialogReady(gameGui)) + { + VendorPurchaseActions.TrySelectDialogOption(gameGui, 0); + logger.LogDebug("Dismissed NPC dialog to reach SatisfactionSupply"); + } + else if (SatisfactionSupplyActions.TryProgressTalk(gameGui)) + { + logger.LogDebug("Progressed NPC dialog to reach SatisfactionSupply"); + } + } + break; + case EPhase.SelectSlot: + if (_throttle.TryReset(0.5)) + { + if (SatisfactionSupplyActions.IsNpcTradeReady()) + { + logger.LogDebug("NpcTrade agent ready"); + SetPhase(EPhase.ConfirmTrade); + } + else if (TryDismissResultAddon()) + { + SetPhase(EPhase.InteractWithNpc); + } + else if (SatisfactionSupplyActions.IsSatisfactionSupplyFullyReady(gameGui)) + { + SatisfactionSupplyActions.TrySelectDeliverySlot(gameGui, (int)base.Task.Slot); + logger.LogDebug("Fired delivery slot {Slot} selection", base.Task.Slot); + } + } + break; + case EPhase.ConfirmTrade: + if (_throttle.TryReset(0.5) && SatisfactionSupplyActions.TryConfirmTrade()) + { + logger.LogDebug("Confirmed trade for slot {Slot}", base.Task.Slot); + SetPhase(EPhase.WaitForCutsceneStart); + } + break; + case EPhase.WaitForCutsceneStart: + if (HasDeliveryRegistered()) + { + logger.LogDebug("Delivery registered before cutscene state was observed"); + SetPhase(EPhase.CheckCompletion); + } + else if (condition[ConditionFlag.OccupiedInCutSceneEvent]) + { + logger.LogDebug("Cutscene started"); + SetPhase(EPhase.WaitForCutsceneEnd); + } + break; + case EPhase.WaitForCutsceneEnd: + if (!condition[ConditionFlag.OccupiedInCutSceneEvent]) + { + logger.LogDebug("Cutscene ended"); + SetPhase(EPhase.CheckCompletion); + } + break; + case EPhase.CheckCompletion: + { + int usedDeliveries = SatisfactionSupplyActions.GetNpcState(base.Task.NpcIndex).UsedDeliveries; + if (usedDeliveries > _lastUsedDeliveries) + { + _remaining = Math.Max(0, _remaining - (usedDeliveries - _lastUsedDeliveries)); + _lastUsedDeliveries = usedDeliveries; + int remainingAllowances = SatisfactionSupplyActions.GetRemainingAllowances(); + logger.LogDebug("Delivery complete, remaining={Remaining}, allowances={Allowances}", _remaining, remainingAllowances); + if (_remaining > 0 && remainingAllowances > 0) + { + SetPhase(EPhase.WaitForAddon); + } + else + { + SetPhase(EPhase.Closing); + } + } + break; + } + case EPhase.Closing: + if (_throttle.TryReset(0.5) && !TryDismissResultAddon()) + { + if (SatisfactionSupplyActions.TryCloseSatisfactionSupply(gameGui)) + { + logger.LogDebug("Closed SatisfactionSupply addon"); + return ETaskResult.TaskComplete; + } + if (!SatisfactionSupplyActions.IsSatisfactionSupplyReady(gameGui)) + { + logger.LogDebug("SatisfactionSupply addon already closed"); + return ETaskResult.TaskComplete; + } + } + break; + } + return ETaskResult.StillRunning; + } + + private bool TryDismissResultAddon() + { + if (!SatisfactionSupplyActions.IsSatisfactionSupplyResultVisible(gameGui)) + { + return false; + } + SatisfactionSupplyActions.TryCloseSatisfactionSupplyResult(gameGui); + logger.LogDebug("Closed rank-up result addon"); + return true; + } + + private void SetPhase(EPhase phase) + { + _phase = phase; + _phaseStartMs = Environment.TickCount64; + } + + private bool HasDeliveryRegistered() + { + return SatisfactionSupplyActions.GetNpcState(base.Task.NpcIndex).UsedDeliveries > _lastUsedDeliveries; + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } +} diff --git a/Questionable/Questionable.Controller.CustomDelivery/SatisfactionSupplyTurnInTask.cs b/Questionable/Questionable.Controller.CustomDelivery/SatisfactionSupplyTurnInTask.cs new file mode 100644 index 0000000..f19fc8b --- /dev/null +++ b/Questionable/Questionable.Controller.CustomDelivery/SatisfactionSupplyTurnInTask.cs @@ -0,0 +1,11 @@ +using Questionable.Controller.Steps; + +namespace Questionable.Controller.CustomDelivery; + +internal sealed record SatisfactionSupplyTurnInTask(int NpcIndex, EDeliverySlot Slot, int DeliveryCount, uint NpcDataId) : ITask +{ + public override string ToString() + { + return $"TurnIn(npc={NpcIndex}, slot={Slot}, count={DeliveryCount})"; + } +} diff --git a/Questionable/Questionable.Controller.CustomDelivery/VendorPurchaseExecutor.cs b/Questionable/Questionable.Controller.CustomDelivery/VendorPurchaseExecutor.cs new file mode 100644 index 0000000..20ad679 --- /dev/null +++ b/Questionable/Questionable.Controller.CustomDelivery/VendorPurchaseExecutor.cs @@ -0,0 +1,223 @@ +using System; +using Dalamud.Game.ClientState.Conditions; +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using LLib; +using LLib.Shop; +using Microsoft.Extensions.Logging; +using Questionable.Controller.Steps; +using Questionable.Functions; + +namespace Questionable.Controller.CustomDelivery; + +internal sealed class VendorPurchaseExecutor(GameFunctions gameFunctions, IGameGui gameGui, ICondition condition, ILogger logger) : TaskExecutor() +{ + private enum EState + { + InteractWithNpc, + WaitForShopOrDialog, + BuyItem, + WaitForBuy, + CloseShop, + WaitForClose + } + + private const long StateTimeoutMs = 15000L; + + private const long BuyConfirmationTimeoutMs = 2000L; + + private const int MaxBuyAttempts = 3; + + private EState _state; + + private Throttle _throttle; + + private int _purchaseIndex; + + private long _stateStartMs; + + private bool _failed; + + private int _countBeforeBuy; + + private int _buyAttempts; + + private bool _confirmationClicked; + + protected override bool Start() + { + _state = EState.InteractWithNpc; + _throttle.Clear(); + _purchaseIndex = 0; + _stateStartMs = Environment.TickCount64; + _failed = false; + _countBeforeBuy = 0; + _buyAttempts = 0; + _confirmationClicked = false; + return true; + } + + public unsafe override ETaskResult Update() + { + long num = Environment.TickCount64 - _stateStartMs; + if (_state != EState.WaitForBuy && num > 15000) + { + logger.LogWarning("Vendor purchase timed out in state {State} after {Elapsed}ms, retrying", _state, num); + return ETaskResult.RetryStep; + } + switch (_state) + { + case EState.InteractWithNpc: + if (!_throttle.TryReset(1.0)) + { + return ETaskResult.StillRunning; + } + if (gameFunctions.InteractWith(base.Task.VendorNpcId)) + { + logger.LogDebug("Interacted with vendor NPC {NpcId}", base.Task.VendorNpcId); + SetState(EState.WaitForShopOrDialog); + } + return ETaskResult.StillRunning; + case EState.WaitForShopOrDialog: + if (VendorPurchaseActions.IsShopReady(gameGui)) + { + logger.LogDebug("Shop is ready, moving to BuyItem"); + SetState(EState.BuyItem); + } + else if (VendorPurchaseActions.IsDialogReady(gameGui)) + { + if (!_throttle.TryReset(0.5)) + { + return ETaskResult.StillRunning; + } + if (VendorPurchaseActions.TrySelectDialogOption(gameGui, base.Task.DialogOptionIndex)) + { + logger.LogDebug("Selected dialog option {Index} to open shop", base.Task.DialogOptionIndex); + } + } + return ETaskResult.StillRunning; + case EState.BuyItem: + { + if (!_throttle.TryReset(0.5)) + { + return ETaskResult.StillRunning; + } + VendorPurchaseTask.PurchaseItem purchaseItem2 = base.Task.Purchases[_purchaseIndex]; + int num2 = VendorPurchaseActions.FindItemDisplayIndex(gameGui, purchaseItem2.ItemId); + if (num2 < 0) + { + logger.LogError("Item {ItemId} not found in shop display list", purchaseItem2.ItemId); + _failed = true; + SetState(EState.CloseShop); + return ETaskResult.StillRunning; + } + _countBeforeBuy = InventoryManager.Instance()->GetInventoryItemCount(purchaseItem2.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0); + if (VendorPurchaseActions.TryBuyItem(gameGui, num2, purchaseItem2.Quantity)) + { + _buyAttempts++; + _confirmationClicked = false; + logger.LogDebug("Submitted purchase for item {ItemId} (display index {DisplayIndex}) x{Quantity}, attempt {Attempt}/{MaxAttempts} ({Current}/{Total})", purchaseItem2.ItemId, num2, purchaseItem2.Quantity, _buyAttempts, 3, _purchaseIndex + 1, base.Task.Purchases.Count); + SetState(EState.WaitForBuy); + } + return ETaskResult.StillRunning; + } + case EState.WaitForBuy: + { + VendorPurchaseTask.PurchaseItem purchaseItem = base.Task.Purchases[_purchaseIndex]; + if (!_confirmationClicked && VendorPurchaseActions.TryConfirmPurchase(gameGui)) + { + _confirmationClicked = true; + logger.LogDebug("Confirmed purchase of item {ItemId}", purchaseItem.ItemId); + SetState(EState.WaitForBuy); + return ETaskResult.StillRunning; + } + int inventoryItemCount = InventoryManager.Instance()->GetInventoryItemCount(purchaseItem.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0); + if (inventoryItemCount <= _countBeforeBuy) + { + if (num < 2000) + { + return ETaskResult.StillRunning; + } + if (_buyAttempts < 3) + { + logger.LogWarning("Purchase of item {ItemId} was not reflected in inventory; retrying ({Attempt}/{MaxAttempts})", purchaseItem.ItemId, _buyAttempts + 1, 3); + SetState(EState.BuyItem); + return ETaskResult.StillRunning; + } + logger.LogError("Purchase of item {ItemId} failed after {Attempts} attempts", purchaseItem.ItemId, _buyAttempts); + _failed = true; + SetState(EState.CloseShop); + return ETaskResult.StillRunning; + } + if (!_throttle.TryReset(0.5)) + { + return ETaskResult.StillRunning; + } + logger.LogDebug("Verified purchase of item {ItemId}: inventory {Before} -> {After}", purchaseItem.ItemId, _countBeforeBuy, inventoryItemCount); + _purchaseIndex++; + if (_purchaseIndex < base.Task.Purchases.Count) + { + _buyAttempts = 0; + logger.LogDebug("Buying next item ({Index}/{Total})", _purchaseIndex + 1, base.Task.Purchases.Count); + SetState(EState.BuyItem); + } + else + { + logger.LogDebug("All purchases complete, closing shop"); + SetState(EState.CloseShop); + } + return ETaskResult.StillRunning; + } + case EState.CloseShop: + if (!_throttle.TryReset(0.5)) + { + return ETaskResult.StillRunning; + } + if (VendorPurchaseActions.TryCloseShop(gameGui)) + { + logger.LogDebug("Closing shop"); + SetState(EState.WaitForClose); + } + return ETaskResult.StillRunning; + case EState.WaitForClose: + if (VendorPurchaseActions.IsShopReady(gameGui)) + { + return ETaskResult.StillRunning; + } + if (VendorPurchaseActions.IsDialogReady(gameGui)) + { + if (!_throttle.TryReset(0.5)) + { + return ETaskResult.StillRunning; + } + VendorPurchaseActions.TrySelectDialogOption(gameGui, -1); + logger.LogDebug("Dismissing post-shop dialog"); + return ETaskResult.StillRunning; + } + if (!condition[ConditionFlag.OccupiedInEvent]) + { + if (_failed) + { + logger.LogWarning("Shop closed after failed purchase, retrying"); + return ETaskResult.RetryStep; + } + logger.LogDebug("Shop closed, vendor purchase complete"); + return ETaskResult.TaskComplete; + } + return ETaskResult.StillRunning; + default: + return ETaskResult.StillRunning; + } + } + + private void SetState(EState state) + { + _state = state; + _stateStartMs = Environment.TickCount64; + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } +} diff --git a/Questionable/Questionable.Controller.CustomDelivery/VendorPurchaseTask.cs b/Questionable/Questionable.Controller.CustomDelivery/VendorPurchaseTask.cs new file mode 100644 index 0000000..bbb87a8 --- /dev/null +++ b/Questionable/Questionable.Controller.CustomDelivery/VendorPurchaseTask.cs @@ -0,0 +1,18 @@ +using System.Collections.Generic; +using Questionable.Controller.Steps; + +namespace Questionable.Controller.CustomDelivery; + +internal sealed record VendorPurchaseTask(uint VendorNpcId, IReadOnlyList Purchases, int DialogOptionIndex = 0) : ITask +{ + internal readonly record struct PurchaseItem(uint ItemId, int Quantity); + + public override string ToString() + { + if (Purchases.Count == 1) + { + return $"VendorPurchase({VendorNpcId}, item {Purchases[0].ItemId} x{Purchases[0].Quantity}, dialog {DialogOptionIndex})"; + } + return $"VendorPurchase({VendorNpcId}, {Purchases.Count} items, dialog {DialogOptionIndex})"; + } +} diff --git a/Questionable/Questionable.Controller.CustomDelivery/VendorResolverService.cs b/Questionable/Questionable.Controller.CustomDelivery/VendorResolverService.cs new file mode 100644 index 0000000..004dd0e --- /dev/null +++ b/Questionable/Questionable.Controller.CustomDelivery/VendorResolverService.cs @@ -0,0 +1,110 @@ +using System.Collections.Generic; +using System.Numerics; +using Dalamud.Plugin.Services; +using LLib.GameData; +using LLib.Shop; +using LLib.Shop.Model; +using Lumina.Excel.Sheets; +using Microsoft.Extensions.Logging; + +namespace Questionable.Controller.CustomDelivery; + +internal sealed class VendorResolverService(IDataManager dataManager, VendorResolver vendorResolver, NpcPositionCache npcPositionCache, ILogger logger) +{ + internal readonly record struct IngredientInfo(uint ItemId, int CountPerCraft); + + internal readonly record struct RecipeInfo(uint RecipeId, uint CraftedItemId, IReadOnlyList Ingredients, EClassJob CraftingClass); + + internal readonly record struct VendorInfo(uint ShopId, uint VendorNpcId, ushort TerritoryId, Vector3 Position, int DialogOptionIndex); + + public RecipeInfo? ResolveRecipe(uint craftedItemId, EClassJob? preferredJob = null) + { + if (!dataManager.GetExcelSheet().TryGetRow(craftedItemId, out var row)) + { + logger.LogDebug("No RecipeLookup row for item {ItemId}", craftedItemId); + return null; + } + (EClassJob, uint)[] array = new(EClassJob, uint)[8] + { + (EClassJob.Carpenter, row.CRP.RowId), + (EClassJob.Blacksmith, row.BSM.RowId), + (EClassJob.Armorer, row.ARM.RowId), + (EClassJob.Goldsmith, row.GSM.RowId), + (EClassJob.Leatherworker, row.LTW.RowId), + (EClassJob.Weaver, row.WVR.RowId), + (EClassJob.Alchemist, row.ALC.RowId), + (EClassJob.Culinarian, row.CUL.RowId) + }; + (EClassJob, uint)[] array2; + if (preferredJob.HasValue) + { + array2 = array; + for (int i = 0; i < array2.Length; i++) + { + var (eClassJob, num) = array2[i]; + if (eClassJob == preferredJob.Value && num != 0) + { + if (!dataManager.GetExcelSheet().TryGetRow(num, out var row2)) + { + break; + } + List list = CollectIngredients(row2); + if (list.Count == 0) + { + break; + } + logger.LogDebug("Resolved recipe {RecipeId} ({ClassJob}) for item {ItemId} via preferred job: {Count} ingredient(s)", num, eClassJob, craftedItemId, list.Count); + return new RecipeInfo(num, craftedItemId, list, eClassJob); + } + } + } + array2 = array; + for (int i = 0; i < array2.Length; i++) + { + var (eClassJob2, num2) = array2[i]; + if (num2 != 0 && dataManager.GetExcelSheet().TryGetRow(num2, out var row3)) + { + List list2 = CollectIngredients(row3); + if (list2.Count != 0) + { + logger.LogDebug("Resolved recipe {RecipeId} ({ClassJob}) for item {ItemId}: {Count} ingredient(s)", num2, eClassJob2, craftedItemId, list2.Count); + return new RecipeInfo(num2, craftedItemId, list2, eClassJob2); + } + } + } + logger.LogDebug("No valid recipe found for item {ItemId}", craftedItemId); + return null; + } + + public VendorInfo? ResolveVendor(uint ingredientId) + { + if (!npcPositionCache.IsBuilt) + { + logger.LogWarning("NPC position cache not built yet, cannot resolve a vendor for ingredient {IngredientId}", ingredientId); + return null; + } + ShopSearchResult shopSearchResult = vendorResolver.FindGilVendor(ingredientId); + if (shopSearchResult == null) + { + logger.LogDebug("No vendor with known position found for ingredient {IngredientId}", ingredientId); + return null; + } + logger.LogDebug("Found vendor NPC {NpcId} selling ingredient {IngredientId} at shop {ShopId} in territory {TerritoryId} (dialog option {DialogOption})", shopSearchResult.NpcId, ingredientId, shopSearchResult.ShopId, shopSearchResult.TerritoryId, shopSearchResult.DialogOptionIndex); + return new VendorInfo(shopSearchResult.ShopId, shopSearchResult.NpcId, shopSearchResult.TerritoryId, shopSearchResult.NpcPosition, shopSearchResult.DialogOptionIndex); + } + + private static List CollectIngredients(Recipe recipe) + { + List list = new List(); + for (int i = 0; i < recipe.Ingredient.Count; i++) + { + uint rowId = recipe.Ingredient[i].RowId; + int num = recipe.AmountIngredient[i]; + if (rowId != 0 && num > 0) + { + list.Add(new IngredientInfo(rowId, num)); + } + } + return list; + } +} diff --git a/Questionable/Questionable.Controller.DebugCommands/AethernetCommandHandler.cs b/Questionable/Questionable.Controller.DebugCommands/AethernetCommandHandler.cs index 9b16ac1..58a2f5c 100644 --- a/Questionable/Questionable.Controller.DebugCommands/AethernetCommandHandler.cs +++ b/Questionable/Questionable.Controller.DebugCommands/AethernetCommandHandler.cs @@ -2,10 +2,10 @@ using System; using System.Collections.Generic; using System.Linq; using Dalamud.Plugin.Services; -using Questionable.Data; using Questionable.Functions; -using Questionable.Model.Common; using Questionable.Model.Questing.Converter; +using SmartNav.Data; +using SmartNav.Model; namespace Questionable.Controller.DebugCommands; diff --git a/Questionable/Questionable.Controller.GameUi/AutoSnipeHandler.cs b/Questionable/Questionable.Controller.GameUi/AutoSnipeHandler.cs index 47d8a1a..a9cfba7 100644 --- a/Questionable/Questionable.Controller.GameUi/AutoSnipeHandler.cs +++ b/Questionable/Questionable.Controller.GameUi/AutoSnipeHandler.cs @@ -28,7 +28,7 @@ internal sealed class AutoSnipeHandler : IDisposable { _enqueueSnipeTaskHook = gameInteropProvider.HookFromSignature("48 89 5C 24 ?? 48 89 6C 24 ?? 48 89 74 24 ?? 57 48 83 EC 50 48 8B F9 48 8D 4C 24 ??", EnqueueSnipeTask); _enqueueSnipeTaskHook.Enable(); - _logger.LogInformation("AutoSnipeHandler enabled"); + _logger.LogDebug("AutoSnipeHandler enabled"); } catch (Exception exception) { @@ -57,7 +57,7 @@ internal sealed class AutoSnipeHandler : IDisposable { _enqueueSnipeTaskHook.Disable(); _enqueueSnipeTaskHook.Dispose(); - _logger.LogInformation("AutoSnipeHandler disabled"); + _logger.LogDebug("AutoSnipeHandler disabled"); } } } diff --git a/Questionable/Questionable.Controller.GameUi/ChocoboNameHandler.cs b/Questionable/Questionable.Controller.GameUi/ChocoboNameHandler.cs index dc4fbba..c9d2749 100644 --- a/Questionable/Questionable.Controller.GameUi/ChocoboNameHandler.cs +++ b/Questionable/Questionable.Controller.GameUi/ChocoboNameHandler.cs @@ -65,7 +65,7 @@ internal sealed class ChocoboNameHandler : IDisposable if (LAddon.IsAddonReady(address)) { string validatedChocoboName = GetValidatedChocoboName(_configuration.Advanced.ChocoboName); - _logger.LogInformation("Entering chocobo name: {Name}", validatedChocoboName); + _logger.LogDebug("Entering chocobo name: {Name}", validatedChocoboName); FireInputStringCallback(address, validatedChocoboName); _awaitingConfirmation = true; } @@ -79,7 +79,7 @@ internal sealed class ChocoboNameHandler : IDisposable AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; if (LAddon.IsAddonReady(address)) { - _logger.LogInformation("Confirming chocobo name"); + _logger.LogDebug("Confirming chocobo name"); ClickYes(address); _awaitingConfirmation = false; } diff --git a/Questionable/Questionable.Controller.GameUi/CraftworksSupplyController.cs b/Questionable/Questionable.Controller.GameUi/CraftworksSupplyController.cs index 26bced9..d329937 100644 --- a/Questionable/Questionable.Controller.GameUi/CraftworksSupplyController.cs +++ b/Questionable/Questionable.Controller.GameUi/CraftworksSupplyController.cs @@ -61,7 +61,7 @@ internal sealed class CraftworksSupplyController : IDisposable { if (atkValues[31 + i].UInt == 0) { - _logger.LogInformation("Selecting an item for slot {Slot}", i); + _logger.LogDebug("Selecting an item for slot {Slot}", i); AtkValue* values = stackalloc AtkValue[2] { new AtkValue @@ -81,7 +81,7 @@ internal sealed class CraftworksSupplyController : IDisposable } if (atkValues[31].UInt != 0) { - _logger.LogInformation("Confirming turn-in"); + _logger.LogDebug("Confirming turn-in"); addon->FireCallbackInt(0); } } @@ -105,7 +105,7 @@ internal sealed class CraftworksSupplyController : IDisposable AtkUnitBase* addonById = AtkStage.Instance()->RaptureAtkUnitManager->GetAddonById(blockedParentId); if (addonById->NameString == "BankaCraftworksSupply") { - _logger.LogInformation("Picking item for {AddonName}", addonById->NameString); + _logger.LogDebug("Picking item for {AddonName}", addonById->NameString); AtkValue* values = stackalloc AtkValue[5] { new AtkValue diff --git a/Questionable/Questionable.Controller.GameUi/CreditsController.cs b/Questionable/Questionable.Controller.GameUi/CreditsController.cs index c184d1f..01c385b 100644 --- a/Questionable/Questionable.Controller.GameUi/CreditsController.cs +++ b/Questionable/Questionable.Controller.GameUi/CreditsController.cs @@ -1,6 +1,7 @@ using System; using Dalamud.Game.Addon.Lifecycle; using Dalamud.Game.Addon.Lifecycle.AddonArgTypes; +using Dalamud.Game.ClientState.Conditions; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Component.GUI; using Microsoft.Extensions.Logging; @@ -42,26 +43,29 @@ internal sealed class CreditsController : IDisposable private static int _maxConsecutiveSkips = 5; - private static DateTime _lastHandledAt = DateTime.MinValue; + private static long? _lastHandledAt; - private static readonly TimeSpan _reentrancySuppress = TimeSpan.FromMilliseconds(500L); + private const long ReentrancySuppressMs = 500L; private static long _lastHandledAddr; - private static readonly TimeSpan _consecutiveResetWindow = TimeSpan.FromSeconds(10L); + private const long ConsecutiveResetWindowMs = 10000L; private readonly IAddonLifecycle _addonLifecycle; private readonly Configuration _configuration; + private readonly ICondition _condition; + private readonly ILogger _logger; private static readonly object _lock = new object(); - public CreditsController(IAddonLifecycle addonLifecycle, Configuration configuration, ILogger logger) + public CreditsController(IAddonLifecycle addonLifecycle, Configuration configuration, ICondition condition, ILogger logger) { _addonLifecycle = addonLifecycle; _configuration = configuration; + _condition = condition; _logger = logger; lock (_lock) { @@ -72,6 +76,23 @@ internal sealed class CreditsController : IDisposable _addonLifecycle.RegisterListener(AddonEvent.PostSetup, CreditScrollArray, _creditScrollHandler); _addonLifecycle.RegisterListener(AddonEvent.PostSetup, CreditArray, _creditHandler); _addonLifecycle.RegisterListener(AddonEvent.PostSetup, CreditPlayerArray, _creditPlayerHandler); + _condition.ConditionChange += OnConditionChange; + _logger.LogDebug("CreditsController: registered listeners and ready to skip up to {MaxSkips} successive cutscenes.", _maxConsecutiveSkips); + } + } + } + + private void OnConditionChange(ConditionFlag flag, bool value) + { + if ((flag == ConditionFlag.OccupiedInCutSceneEvent || flag == ConditionFlag.WatchingCutscene || flag == ConditionFlag.WatchingCutscene78) ? true : false) + { + if (value) + { + DeferDisposeUntilCutsceneEnds(); + } + else if (!_condition[ConditionFlag.OccupiedInCutSceneEvent] && !_condition[ConditionFlag.WatchingCutscene] && !_condition[ConditionFlag.WatchingCutscene78]) + { + NotifyCutsceneEnded(); } } } @@ -80,7 +101,7 @@ internal sealed class CreditsController : IDisposable { HandleCutscene(delegate { - _logger.LogInformation("CreditScrollPostSetup: attempting to close credits sequence (scroll)."); + _logger.LogDebug("CreditScrollPostSetup: attempting to close credits sequence (scroll)."); AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; address->FireCallbackInt(-2); }, args); @@ -90,7 +111,7 @@ internal sealed class CreditsController : IDisposable { HandleCutscene(delegate { - _logger.LogInformation("CreditPostSetup: attempting to close credits sequence."); + _logger.LogDebug("CreditPostSetup: attempting to close credits sequence."); AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; address->FireCallbackInt(-2); }, args); @@ -100,7 +121,7 @@ internal sealed class CreditsController : IDisposable { HandleCutscene(delegate { - _logger.LogInformation("CreditPlayerPostSetup: attempting to close CreditPlayer."); + _logger.LogDebug("CreditPlayerPostSetup: attempting to close CreditPlayer."); AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; address->Close(fireCallback: true); }, args); @@ -116,31 +137,40 @@ internal sealed class CreditsController : IDisposable long num = ((args.Addon.Address == IntPtr.Zero) ? 0 : ((IntPtr)args.Addon.Address).ToInt64()); if (num == 0L) { - _logger.LogInformation("HandleCutscene: Addon address is zero, skipping."); + _logger.LogDebug("HandleCutscene: Addon address is zero, skipping."); return; } lock (_lock) { - if (_lastHandledAt != DateTime.MinValue && DateTime.Now - _lastHandledAt > _consecutiveResetWindow) + long? lastHandledAt = _lastHandledAt; + if (lastHandledAt.HasValue) { - if (_handledConsecutiveCutscenes != 0) + long valueOrDefault = lastHandledAt.GetValueOrDefault(); + if (Environment.TickCount64 - valueOrDefault > 10000) { - _logger.LogDebug("HandleCutscene: long pause detected ({Elapsed}), resetting consecutive counter (was {Was}).", DateTime.Now - _lastHandledAt, _handledConsecutiveCutscenes); + if (_handledConsecutiveCutscenes != 0) + { + _logger.LogDebug("HandleCutscene: long pause detected ({ElapsedMs}ms), resetting consecutive counter (was {Was}).", Environment.TickCount64 - valueOrDefault, _handledConsecutiveCutscenes); + } + _handledConsecutiveCutscenes = 0; } - _handledConsecutiveCutscenes = 0; } - if (DateTime.Now - _lastHandledAt < _reentrancySuppress && num == _lastHandledAddr) + lastHandledAt = _lastHandledAt; + if (lastHandledAt.HasValue) { - _logger.LogDebug("HandleCutscene: suppressed re-entrant invocation for same addon (addr=0x{Address:X}).", num); - return; + long valueOrDefault2 = lastHandledAt.GetValueOrDefault(); + if (Environment.TickCount64 - valueOrDefault2 < 500 && num == _lastHandledAddr) + { + _logger.LogDebug("HandleCutscene: suppressed re-entrant invocation for same addon (addr=0x{Address:X}).", num); + return; + } } if (_handledConsecutiveCutscenes >= _maxConsecutiveSkips) { - _logger.LogInformation("HandleCutscene: reached max consecutive skips ({MaxSkips}), unregistering listeners.", _maxConsecutiveSkips); - TryUnregisterAndClear(); + _logger.LogInformation("HandleCutscene: reached max consecutive skips ({MaxSkips}), pausing until cutscenes stop for a while.", _maxConsecutiveSkips); return; } - _lastHandledAt = DateTime.Now; + _lastHandledAt = Environment.TickCount64; _lastHandledAddr = num; _handledConsecutiveCutscenes++; _logger.LogDebug("HandleCutscene: handling cutscene #{Count} (addr=0x{Address:X}).", _handledConsecutiveCutscenes, num); @@ -148,47 +178,13 @@ internal sealed class CreditsController : IDisposable try { nativeAction(); - _logger.LogInformation("HandleCutscene: native action executed for addon at 0x{Address:X}.", num); + _logger.LogDebug("HandleCutscene: native action executed for addon at 0x{Address:X}.", num); } catch (Exception exception) { _logger.LogError(exception, "HandleCutscene: exception while executing native action for addon at 0x{Address:X}.", num); } - lock (_lock) - { - if (_handledConsecutiveCutscenes >= _maxConsecutiveSkips && !_deferDisposeUntilCutsceneEnds) - { - _logger.LogDebug("HandleCutscene: max handled reached and no defer active, unregistering now."); - TryUnregisterAndClear(); - } - else - { - _logger.LogDebug("HandleCutscene: leaving listeners registered (handled {Count}/{Max}).", _handledConsecutiveCutscenes, _maxConsecutiveSkips); - } - } - } - - private void TryUnregisterAndClear() - { - if (_registeredLifecycle != null) - { - try - { - _registeredLifecycle.UnregisterListener(AddonEvent.PostSetup, CreditPlayerArray, _creditPlayerHandler); - _registeredLifecycle.UnregisterListener(AddonEvent.PostSetup, CreditArray, _creditHandler); - _registeredLifecycle.UnregisterListener(AddonEvent.PostSetup, CreditScrollArray, _creditScrollHandler); - _logger.LogDebug("TryUnregisterAndClear: listeners unregistered successfully."); - } - catch (Exception exception) - { - _logger.LogError(exception, "TryUnregisterAndClear: exception while unregistering listeners."); - } - } - _registeredLifecycle = null; - _instance = null; - _handledConsecutiveCutscenes = 0; - _lastHandledAddr = 0L; - _lastHandledAt = DateTime.MinValue; + _logger.LogDebug("HandleCutscene: handled {Count}/{Max} consecutive cutscenes.", _handledConsecutiveCutscenes, _maxConsecutiveSkips); } public static void DeferDisposeUntilCutsceneEnds() @@ -231,7 +227,7 @@ internal sealed class CreditsController : IDisposable if (_deferDisposeUntilCutsceneEnds) { _pendingDispose = true; - _logger.LogInformation("CreditsController.Dispose deferred until cutscene end."); + _logger.LogDebug("CreditsController.Dispose deferred until cutscene end."); return; } if (_registeredLifecycle != null) @@ -240,12 +236,13 @@ internal sealed class CreditsController : IDisposable _registeredLifecycle.UnregisterListener(AddonEvent.PostSetup, CreditArray, _creditHandler); _registeredLifecycle.UnregisterListener(AddonEvent.PostSetup, CreditScrollArray, _creditScrollHandler); } + _condition.ConditionChange -= OnConditionChange; _registeredLifecycle = null; _instance = null; _pendingDispose = false; _handledConsecutiveCutscenes = 0; _lastHandledAddr = 0L; - _lastHandledAt = DateTime.MinValue; + _lastHandledAt = null; _logger.LogDebug("CreditsController listeners unregistered and disposed (primary instance)."); } } diff --git a/Questionable/Questionable.Controller.GameUi/GCShopHandler.cs b/Questionable/Questionable.Controller.GameUi/GCShopHandler.cs index e88a530..df5bad7 100644 --- a/Questionable/Questionable.Controller.GameUi/GCShopHandler.cs +++ b/Questionable/Questionable.Controller.GameUi/GCShopHandler.cs @@ -29,7 +29,7 @@ internal sealed class GCShopHandler : IDisposable private GCPurchaseInfo? _currentPurchase; - private DateTime _lastActionTime = DateTime.MinValue; + private long _lastActionMs; private bool _purchaseCompletedThisStep; @@ -73,9 +73,9 @@ internal sealed class GCShopHandler : IDisposable } else if (_state == GCShopState.Completed) { - _logger.LogInformation("GC shop purchase completed!"); + _logger.LogDebug("GC shop purchase completed!"); _state = GCShopState.Inactive; - _lastActionTime = DateTime.MinValue; + _lastActionMs = 0L; } } @@ -120,12 +120,12 @@ internal sealed class GCShopHandler : IDisposable private void HandlePurchasing() { - if (_gcShop.IsOpen && _currentPurchase != null && !((DateTime.Now - _lastActionTime).TotalMilliseconds < 500.0)) + if (_gcShop.IsOpen && _currentPurchase != null && Environment.TickCount64 - _lastActionMs >= 500) { if (!_gcShop.IsPurchaseInProgress) { - _gcShop.StartPurchase(_currentPurchase.ItemId, _currentPurchase.RankTab, _currentPurchase.CategoryTab); - _lastActionTime = DateTime.Now; + _gcShop.StartPurchase(_currentPurchase.ItemId, _currentPurchase.RankTab, _currentPurchase.CategoryTab, 1); + _lastActionMs = Environment.TickCount64; } _gcShop.ProcessPurchase(); } @@ -144,9 +144,13 @@ internal sealed class GCShopHandler : IDisposable private void Reset() { + if (_gcShop.IsPurchaseInProgress) + { + _gcShop.CancelPurchase(); + } _state = GCShopState.Inactive; _currentPurchase = null; - _lastActionTime = DateTime.MinValue; + _lastActionMs = 0L; _purchaseCompletedThisStep = false; } } diff --git a/Questionable/Questionable.Controller.GameUi/HelpUiController.cs b/Questionable/Questionable.Controller.GameUi/HelpUiController.cs index 338498d..e649e98 100644 --- a/Questionable/Questionable.Controller.GameUi/HelpUiController.cs +++ b/Questionable/Questionable.Controller.GameUi/HelpUiController.cs @@ -34,6 +34,7 @@ internal sealed class HelpUiController : IDisposable _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "JobHudNotice", JobHudNoticePostSetup); _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "Guide", GuidePostSetup); _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "EventTutorial", EventTutorialPostSetup); + _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "Description", DescriptionPostSetup); } private unsafe void CloseHelpWindowsWhenStartingQuests(object sender, QuestController.EAutomationType e) @@ -42,22 +43,22 @@ internal sealed class HelpUiController : IDisposable { if (_gameGui.TryGetAddonByName("Guide", out var addonPtr)) { - _logger.LogInformation("Guide window is open"); + _logger.LogDebug("Guide window is open"); GuidePostSetup(addonPtr); } if (_gameGui.TryGetAddonByName("EventTutorial", out var addonPtr2)) { - _logger.LogInformation("EventTutorial window is open"); + _logger.LogDebug("EventTutorial window is open"); EventTutorialPostSetup(addonPtr2); } if (_gameGui.TryGetAddonByName("ContentsTutorial", out var addonPtr3)) { - _logger.LogInformation("ContentsTutorial window is open"); + _logger.LogDebug("ContentsTutorial window is open"); ContentsTutorialPostSetup(addonPtr3); } if (_gameGui.TryGetAddonByName("JobHudNotice", out var addonPtr4)) { - _logger.LogInformation("JobHudNotice window is open"); + _logger.LogDebug("JobHudNotice window is open"); JobHudNoticePostSetup(addonPtr4); } } @@ -67,7 +68,7 @@ internal sealed class HelpUiController : IDisposable { if (_questController.StartedQuest?.Quest.Id.Value == 4526) { - _logger.LogInformation("Closing Unending Codex"); + _logger.LogDebug("Closing Unending Codex"); AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; address->FireCallbackInt(-2); } @@ -95,7 +96,7 @@ internal sealed class HelpUiController : IDisposable private unsafe void ContentsTutorialPostSetup(AtkUnitBase* addon) { - _logger.LogInformation("Closing ContentsTutorial"); + _logger.LogDebug("Closing ContentsTutorial"); addon->FireCallbackInt(13); } @@ -103,7 +104,7 @@ internal sealed class HelpUiController : IDisposable { if (_questController.StartedQuest?.Quest.Id.Value == 245) { - _logger.LogInformation("Closing MultipleHelpWindow"); + _logger.LogDebug("Closing MultipleHelpWindow"); AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; address->FireCallbackInt(-2); address->FireCallbackInt(-1); @@ -120,7 +121,7 @@ internal sealed class HelpUiController : IDisposable private unsafe void JobHudNoticePostSetup(AtkUnitBase* addon) { - _logger.LogInformation("Clicking the JobHudNotice window to open the relevant Guide page"); + _logger.LogDebug("Clicking the JobHudNotice window to open the relevant Guide page"); addon->FireCallbackInt(0); } @@ -134,7 +135,7 @@ internal sealed class HelpUiController : IDisposable private unsafe void GuidePostSetup(AtkUnitBase* addon) { - _logger.LogInformation("Closing Guide window"); + _logger.LogDebug("Closing Guide window"); addon->FireCallbackInt(-1); } @@ -155,12 +156,23 @@ internal sealed class HelpUiController : IDisposable private unsafe void EventTutorialPostSetup(AtkUnitBase* addon) { - _logger.LogInformation("Closing EventTutorial window"); + _logger.LogDebug("Closing EventTutorial window"); addon->FireCallbackInt(-1); } + private unsafe void DescriptionPostSetup(AddonEvent type, AddonArgs args) + { + if (_questController.IsRunning || _questController.AutomationType != QuestController.EAutomationType.Manual) + { + _logger.LogDebug("Closing Description window"); + AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; + address->FireCallbackInt(-1); + } + } + public void Dispose() { + _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "Description", DescriptionPostSetup); _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "EventTutorial", EventTutorialPostSetup); _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "Guide", GuidePostSetup); _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "JobHudNotice", JobHudNoticePostSetup); diff --git a/Questionable/Questionable.Controller.GameUi/InteractionUiController.cs b/Questionable/Questionable.Controller.GameUi/InteractionUiController.cs index 0a988f8..d3baaf0 100644 --- a/Questionable/Questionable.Controller.GameUi/InteractionUiController.cs +++ b/Questionable/Questionable.Controller.GameUi/InteractionUiController.cs @@ -6,6 +6,7 @@ using System.Runtime.InteropServices; using System.Text.RegularExpressions; using Dalamud.Game.Addon.Lifecycle; using Dalamud.Game.Addon.Lifecycle.AddonArgTypes; +using Dalamud.Game.ClientState.Conditions; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game.Event; @@ -17,13 +18,14 @@ using LLib.GameData; using LLib.GameUI; using Lumina.Excel.Sheets; using Microsoft.Extensions.Logging; +using Questionable.Controller.Steps.Interactions; using Questionable.Data; using Questionable.External; using Questionable.Functions; using Questionable.Model; -using Questionable.Model.Common; using Questionable.Model.Gathering; using Questionable.Model.Questing; +using SmartNav.Model; namespace Questionable.Controller.GameUi; @@ -65,8 +67,14 @@ internal sealed class InteractionUiController : IDisposable private readonly SeasonalDutyController _seasonalDutyController; + private readonly AttunementController _attunementController; + private readonly BossModIpc _bossModIpc; + private readonly DutyRetryState _dutyRetryState; + + private readonly ICondition _condition; + private readonly Configuration _configuration; private readonly ILogger _logger; @@ -75,13 +83,21 @@ internal sealed class InteractionUiController : IDisposable private readonly Regex _purchaseItemRegex; - private bool _isInitialCheck; + private bool _deathRecoveryConfirmFired; + + public uint? SmartNavWarpRowId { get; set; } + + public ushort? SmartNavDestTerritoryId { get; set; } + + public string? SmartNavTaxiDestPlaceName { get; set; } + + public string? AethernetDestinationName { get; set; } private bool ShouldHandleUiInteractions { get { - if (!_isInitialCheck && !_questController.IsRunning && !_fateController.IsRunning && !_seasonalDutyController.IsRunning) + if (!_questController.IsRunning && !_fateController.IsRunning && !_seasonalDutyController.IsRunning && !_attunementController.IsRunning) { return _territoryData.IsQuestBattleInstance(_clientState.TerritoryType); } @@ -89,7 +105,7 @@ internal sealed class InteractionUiController : IDisposable } } - public unsafe InteractionUiController(IAddonLifecycle addonLifecycle, IDataManager dataManager, QuestFunctions questFunctions, AetheryteFunctions aetheryteFunctions, ExcelFunctions excelFunctions, QuestController questController, GatheringPointRegistry gatheringPointRegistry, QuestRegistry questRegistry, QuestData questData, TerritoryData territoryData, IGameGui gameGui, ITargetManager targetManager, IPluginLog pluginLog, IClientState clientState, IObjectTable objectTable, ShopController shopController, FateController fateController, SeasonalDutyController seasonalDutyController, BossModIpc bossModIpc, Configuration configuration, ILogger logger) + public unsafe InteractionUiController(IAddonLifecycle addonLifecycle, IDataManager dataManager, QuestFunctions questFunctions, AetheryteFunctions aetheryteFunctions, ExcelFunctions excelFunctions, QuestController questController, GatheringPointRegistry gatheringPointRegistry, QuestRegistry questRegistry, QuestData questData, TerritoryData territoryData, IGameGui gameGui, ITargetManager targetManager, IPluginLog pluginLog, IClientState clientState, IObjectTable objectTable, ShopController shopController, FateController fateController, SeasonalDutyController seasonalDutyController, AttunementController attunementController, BossModIpc bossModIpc, DutyRetryState dutyRetryState, ICondition condition, Configuration configuration, ILogger logger) { _addonLifecycle = addonLifecycle; _dataManager = dataManager; @@ -108,7 +124,10 @@ internal sealed class InteractionUiController : IDisposable _shopController = shopController; _fateController = fateController; _seasonalDutyController = seasonalDutyController; + _attunementController = attunementController; _bossModIpc = bossModIpc; + _dutyRetryState = dutyRetryState; + _condition = condition; _configuration = configuration; _logger = logger; _returnRegex = _dataManager.GetExcelSheet().GetRow(196u).GetRegex((Addon addon) => addon.Text, pluginLog); @@ -118,6 +137,7 @@ internal sealed class InteractionUiController : IDisposable _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "CutSceneSelectString", CutsceneSelectStringPostSetup); _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "SelectIconString", SelectIconStringPostSetup); _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "SelectYesno", SelectYesnoPostSetup); + _addonLifecycle.RegisterListener(AddonEvent.PostUpdate, "SelectYesno", SelectYesnoDeathRecoveryPostUpdate); _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "DifficultySelectYesNo", DifficultySelectYesNoPostSetup); _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "PointMenu", PointMenuPostSetup); _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "HousingSelectBlock", HousingSelectBlockPostSetup); @@ -138,43 +158,35 @@ internal sealed class InteractionUiController : IDisposable internal unsafe void HandleCurrentDialogueChoices() { - try + if (_gameGui.TryGetAddonByName("SelectString", out var addonPtr)) { - _isInitialCheck = true; - if (_gameGui.TryGetAddonByName("SelectString", out var addonPtr)) - { - _logger.LogInformation("SelectString window is open"); - SelectStringPostSetup(addonPtr, checkAllSteps: true); - } - if (_gameGui.TryGetAddonByName("CutSceneSelectString", out var addonPtr2)) - { - _logger.LogInformation("CutSceneSelectString window is open"); - CutsceneSelectStringPostSetup(addonPtr2, checkAllSteps: true); - } - if (_gameGui.TryGetAddonByName("SelectIconString", out var addonPtr3)) - { - _logger.LogInformation("SelectIconString window is open"); - SelectIconStringPostSetup(addonPtr3, checkAllSteps: true); - } - if (_gameGui.TryGetAddonByName("SelectYesno", out var addonPtr4)) - { - _logger.LogInformation("SelectYesno window is open"); - SelectYesnoPostSetup(addonPtr4, checkAllSteps: true); - } - if (_gameGui.TryGetAddonByName("DifficultySelectYesNo", out var addonPtr5)) - { - _logger.LogInformation("DifficultySelectYesNo window is open"); - DifficultySelectYesNoPostSetup(addonPtr5, checkAllSteps: true); - } - if (_gameGui.TryGetAddonByName("PointMenu", out var addonPtr6)) - { - _logger.LogInformation("PointMenu is open"); - PointMenuPostSetup(addonPtr6); - } + _logger.LogDebug("SelectString window is open"); + SelectStringPostSetup(addonPtr, checkAllSteps: true); } - finally + if (_gameGui.TryGetAddonByName("CutSceneSelectString", out var addonPtr2)) { - _isInitialCheck = false; + _logger.LogDebug("CutSceneSelectString window is open"); + CutsceneSelectStringPostSetup(addonPtr2, checkAllSteps: true); + } + if (_gameGui.TryGetAddonByName("SelectIconString", out var addonPtr3)) + { + _logger.LogDebug("SelectIconString window is open"); + SelectIconStringPostSetup(addonPtr3, checkAllSteps: true); + } + if (_gameGui.TryGetAddonByName("SelectYesno", out var addonPtr4)) + { + _logger.LogDebug("SelectYesno window is open"); + SelectYesnoPostSetup(addonPtr4, checkAllSteps: true); + } + if (_gameGui.TryGetAddonByName("DifficultySelectYesNo", out var addonPtr5)) + { + _logger.LogDebug("DifficultySelectYesNo window is open"); + DifficultySelectYesNoPostSetup(addonPtr5, checkAllSteps: true); + } + if (_gameGui.TryGetAddonByName("PointMenu", out var addonPtr6)) + { + _logger.LogDebug("PointMenu is open"); + PointMenuPostSetup(addonPtr6, checkAllSteps: true); } } @@ -186,7 +198,7 @@ internal sealed class InteractionUiController : IDisposable private unsafe void SelectStringPostSetup(AddonSelectString* addonSelectString, bool checkAllSteps) { - if (!ShouldHandleUiInteractions) + if (!checkAllSteps && !ShouldHandleUiInteractions) { return; } @@ -206,7 +218,7 @@ internal sealed class InteractionUiController : IDisposable int? num2 = HandleListChoice(text, list, checkAllSteps) ?? HandleInstanceListChoice(text); if (num2.HasValue) { - _logger.LogInformation("Using choice {Choice} for list prompt '{Prompt}'", num2, text); + _logger.LogDebug("Using choice {Choice} for list prompt '{Prompt}'", num2, text); addonSelectString->AtkUnitBase.FireCallbackInt(num2.Value); } } @@ -219,7 +231,7 @@ internal sealed class InteractionUiController : IDisposable private unsafe void CutsceneSelectStringPostSetup(AddonCutSceneSelectString* addonCutSceneSelectString, bool checkAllSteps) { - if (!ShouldHandleUiInteractions) + if (!checkAllSteps && !ShouldHandleUiInteractions) { return; } @@ -247,7 +259,7 @@ internal sealed class InteractionUiController : IDisposable private unsafe void SelectIconStringPostSetup(AddonSelectIconString* addonSelectIconString, bool checkAllSteps) { - if (!ShouldHandleUiInteractions) + if (!checkAllSteps && !ShouldHandleUiInteractions) { return; } @@ -260,7 +272,7 @@ internal sealed class InteractionUiController : IDisposable int? num = HandleListChoice(text, choices, checkAllSteps); if (num.HasValue) { - _logger.LogInformation("Using choice {Choice} for list prompt '{Prompt}'", num, text); + _logger.LogDebug("Using choice {Choice} for list prompt '{Prompt}'", num, text); addonSelectIconString->AtkUnitBase.FireCallbackInt(num.Value); return; } @@ -268,7 +280,7 @@ internal sealed class InteractionUiController : IDisposable QuestController.QuestProgress startedQuest = _questController.StartedQuest; if (startedQuest != null && (text == null || text2 != null)) { - _logger.LogInformation("Checking if current quest {Name} is on the list", startedQuest.Quest.Info.Name); + _logger.LogDebug("Checking if current quest {Name} is on the list", startedQuest.Quest.Info.Name); if (CheckQuestSelection(addonSelectIconString, startedQuest.Quest, choices)) { return; @@ -276,7 +288,7 @@ internal sealed class InteractionUiController : IDisposable QuestStep questStep = startedQuest.Quest.FindSequence(startedQuest.Sequence)?.FindStep(startedQuest.Step); if (questStep != null && questStep.InteractionType == EInteractionType.AcceptQuest && (object)questStep.PickUpQuestId != null && _questRegistry.TryGetQuest(questStep.PickUpQuestId, out Questionable.Model.Quest quest)) { - _logger.LogInformation("Checking if current picked-up {Name} is on the list", quest.Info.Name); + _logger.LogDebug("Checking if current picked-up {Name} is on the list", quest.Info.Name); if (CheckQuestSelection(addonSelectIconString, quest, choices)) { return; @@ -286,7 +298,7 @@ internal sealed class InteractionUiController : IDisposable QuestController.QuestProgress nextQuest = _questController.NextQuest; if (nextQuest != null && (text == null || text2 != null)) { - _logger.LogInformation("Checking if next quest {Name} is on the list", nextQuest.Quest.Info.Name); + _logger.LogDebug("Checking if next quest {Name} is on the list", nextQuest.Quest.Info.Name); CheckQuestSelection(addonSelectIconString, nextQuest.Quest, choices); } } @@ -297,7 +309,7 @@ internal sealed class InteractionUiController : IDisposable int num = answers.FindIndex((string? x) => GameFunctions.GameStringEquals(questName, x)); if (num >= 0) { - _logger.LogInformation("Selecting quest {QuestName}", questName); + _logger.LogDebug("Selecting quest {QuestName}", questName); addonSelectIconString->AtkUnitBase.FireCallbackInt(num); return true; } @@ -307,9 +319,11 @@ internal sealed class InteractionUiController : IDisposable public unsafe static List GetChoices(AddonSelectIconString* addonSelectIconString) { List list = new List(); - for (ushort num = 0; num < addonSelectIconString->AtkUnitBase.AtkValues[5].Int; num++) + ushort num = 0; + while (num < addonSelectIconString->AtkUnitBase.AtkValues[5].Int && num * 3 + 7 < addonSelectIconString->AtkUnitBase.AtkValuesCount) { list.Add(addonSelectIconString->AtkValues[num * 3 + 7].ReadAtkString()); + num++; } return list; } @@ -317,7 +331,8 @@ internal sealed class InteractionUiController : IDisposable private unsafe int? HandleListChoice(string? actualPrompt, List answers, bool checkAllSteps) { List list = new List(); - QuestController.QuestProgress questProgress = _questController.SimulatedQuest ?? _questController.GatheringQuest ?? _questController.StartedQuest; + List list2 = new List(); + QuestController.QuestProgress questProgress = _questController.SimulatedQuest ?? _questController.StartedQuest; if (questProgress != null) { Questionable.Model.Quest quest = questProgress.Quest; @@ -347,6 +362,15 @@ internal sealed class InteractionUiController : IDisposable { questStep = quest.FindSequence(questProgress.Sequence)?.FindStep(questProgress.Step); } + if (questStep == null && questProgress.Step == 255) + { + QuestSequence questSequence2 = quest.FindSequence(questProgress.Sequence); + if (questSequence2 != null && questSequence2.Steps.Count > 0) + { + List steps = questSequence2.Steps; + questStep = steps[steps.Count - 1]; + } + } if (questStep == null) { _logger.LogDebug("Ignoring current quest dialogue choices, no active step"); @@ -371,10 +395,10 @@ internal sealed class InteractionUiController : IDisposable { EAetheryteLocation valueOrDefault = aetheryte.GetValueOrDefault(); int num = 1; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - CollectionsMarshal.AsSpan(list2)[0] = valueOrDefault; - source = list2; + List list3 = new List(num); + CollectionsMarshal.SetCount(list3, num); + CollectionsMarshal.AsSpan(list3)[0] = valueOrDefault; + source = list3; } } flag = questStep.InteractionType == EInteractionType.UnlockTaxiStand; @@ -382,7 +406,7 @@ internal sealed class InteractionUiController : IDisposable } if (flag) { - _logger.LogInformation("Adding chocobo taxi stand unlock dialogue choices"); + _logger.LogDebug("Adding chocobo taxi stand unlock dialogue choices"); list.Add(new DialogueChoiceInfo(quest, new DialogueChoice { Type = EDialogChoiceType.List, @@ -393,7 +417,7 @@ internal sealed class InteractionUiController : IDisposable } if (source.Any((EAetheryteLocation x) => _aetheryteFunctions.CanRegisterFreeOrFavoriteAetheryte(x) == AetheryteRegistrationResult.SecurityTokenFreeDestinationAvailable)) { - _logger.LogInformation("Adding security token aetheryte unlock dialogue choice"); + _logger.LogDebug("Adding security token aetheryte unlock dialogue choice"); list.Add(new DialogueChoiceInfo(quest, new DialogueChoice { Type = EDialogChoiceType.List, @@ -406,7 +430,7 @@ internal sealed class InteractionUiController : IDisposable } else if (source.Any((EAetheryteLocation x) => _aetheryteFunctions.CanRegisterFreeOrFavoriteAetheryte(x) == AetheryteRegistrationResult.FavoredDestinationAvailable)) { - _logger.LogInformation("Adding favored aetheryte unlock dialogue choice"); + _logger.LogDebug("Adding favored aetheryte unlock dialogue choice"); list.Add(new DialogueChoiceInfo(quest, new DialogueChoice { Type = EDialogChoiceType.List, @@ -424,7 +448,7 @@ internal sealed class InteractionUiController : IDisposable { if (answer != null && TryFindWarp(num2.Value, answer, out uint? warpId, out string warpText)) { - _logger.LogInformation("Adding warp {Id}, {Prompt}", warpId, warpText); + _logger.LogDebug("Adding warp {Id}, {Prompt}", warpId, warpText); list.Add(new DialogueChoiceInfo(quest, new DialogueChoice { Type = EDialogChoiceType.List, @@ -451,30 +475,82 @@ internal sealed class InteractionUiController : IDisposable { continue; } - List list3 = knownQuest.FindSequence(0)?.Steps.SelectMany((QuestStep x) => x.DialogueChoices).ToList(); - if (list3 != null && list3.Count > 0) + List list4 = knownQuest.FindSequence(0)?.Steps.SelectMany((QuestStep x) => x.DialogueChoices).ToList(); + if (list4 != null && list4.Count > 0) { - _logger.LogInformation("Adding {Count} dialogue choices from not accepted quest {QuestName}", list3.Count, item.Name); - list.AddRange(list3.Select((DialogueChoice x) => new DialogueChoiceInfo(knownQuest, x))); + _logger.LogDebug("Adding {Count} dialogue choices from not accepted quest {QuestName}", list4.Count, item.Name); + list.AddRange(list4.Select((DialogueChoice x) => new DialogueChoiceInfo(knownQuest, x))); } } } if (_fateController.IsRunning) { - List list4 = _fateController.CurrentFate?.TransformDialogueChoices; - if (list4 != null) + List list5 = _fateController.CurrentFate?.TransformDialogueChoices; + if (list5 != null) { - _logger.LogInformation("Adding {Count} dialogue choices from active FATE", list4.Count); - list.AddRange(list4.Select((DialogueChoice x) => new DialogueChoiceInfo(null, x))); + _logger.LogDebug("Adding {Count} dialogue choices from active FATE", list5.Count); + list.AddRange(list5.Select((DialogueChoice x) => new DialogueChoiceInfo(null, x))); + } + } + ushort? smartNavDestTerritoryId = SmartNavDestTerritoryId; + if (smartNavDestTerritoryId.HasValue) + { + ushort valueOrDefault2 = smartNavDestTerritoryId.GetValueOrDefault(); + foreach (string answer2 in answers) + { + if (answer2 != null && TryFindWarp(valueOrDefault2, answer2, out uint? warpId2, out string warpText2)) + { + _logger.LogDebug("SmartNav: Adding warp {Id}, {Text} for list selection", warpId2, warpText2); + list.Add(new DialogueChoiceInfo(null, new DialogueChoice + { + Type = EDialogChoiceType.List, + Prompt = null, + Answer = ExcelRef.FromSheetValue(warpText2) + })); + } + } + } + string smartNavTaxiDestPlaceName = SmartNavTaxiDestPlaceName; + if (smartNavTaxiDestPlaceName != null) + { + foreach (string answer3 in answers) + { + if (answer3 != null && GameFunctions.GameStringEquals(answer3, smartNavTaxiDestPlaceName)) + { + _logger.LogDebug("SmartNav: Adding taxi destination {Dest} for list selection", smartNavTaxiDestPlaceName); + list.Add(new DialogueChoiceInfo(null, new DialogueChoice + { + Type = EDialogChoiceType.List, + Prompt = null, + Answer = ExcelRef.FromSheetValue(smartNavTaxiDestPlaceName) + })); + } + } + } + string aethernetDestinationName = AethernetDestinationName; + if (aethernetDestinationName != null) + { + foreach (string answer4 in answers) + { + if (answer4 != null && GameFunctions.GameStringEquals(answer4, aethernetDestinationName)) + { + _logger.LogDebug("SmartNav: Adding aethernet destination {Dest} for list selection", aethernetDestinationName); + list.Add(new DialogueChoiceInfo(null, new DialogueChoice + { + Type = EDialogChoiceType.List, + Prompt = null, + Answer = ExcelRef.FromSheetValue(aethernetDestinationName) + })); + } } } if (_seasonalDutyController.IsRunning) { - List list5 = _seasonalDutyController.CurrentDuty?.DialogueChoices; - if (list5 != null && list5.Count > 0) + List list6 = _seasonalDutyController.CurrentDuty?.DialogueChoices; + if (list6 != null && list6.Count > 0) { - _logger.LogInformation("Adding {Count} dialogue choices from active seasonal duty", list5.Count); - list.AddRange(list5.Select((DialogueChoice x) => new DialogueChoiceInfo(null, x))); + _logger.LogDebug("Adding {Count} dialogue choices from active seasonal duty", list6.Count); + list.AddRange(list6.Select((DialogueChoice x) => new DialogueChoiceInfo(null, x))); } } if (list.Count == 0) @@ -495,7 +571,7 @@ internal sealed class InteractionUiController : IDisposable ContentDirector* contentDirector = EventFramework.Instance()->GetContentDirector(); if (contentDirector != null && contentDirector->DutyActionManager.ActionsPresent) { - _logger.LogInformation("NoDutyActions: actions present, skipping dialogue choice"); + _logger.LogDebug("NoDutyActions: actions present, skipping dialogue choice"); continue; } } @@ -519,54 +595,66 @@ internal sealed class InteractionUiController : IDisposable StringOrRegex stringOrRegex2 = ResolveReference(quest3, dialogueChoice2.ExcelSheet, dialogueChoice2.Answer, dialogueChoice2.AnswerIsRegularExpression); if (actualPrompt == null && stringOrRegex != null) { - _logger.LogInformation("Unexpected excelPrompt: {ExcelPrompt}", stringOrRegex); + _logger.LogDebug("Unexpected excelPrompt: {ExcelPrompt}", stringOrRegex); continue; } - if (actualPrompt != null && (stringOrRegex == null || !IsMatch(actualPrompt, stringOrRegex))) + if (actualPrompt != null && stringOrRegex != null && !IsMatch(actualPrompt, stringOrRegex)) { - _logger.LogInformation("Unexpected excelPrompt: {ExcelPrompt}, actualPrompt: {ActualPrompt}", stringOrRegex, actualPrompt); + _logger.LogDebug("Unexpected excelPrompt: {ExcelPrompt}, actualPrompt: {ActualPrompt}", stringOrRegex, actualPrompt); + int? num3 = TryFindAnswerMatchIndex(answers, stringOrRegex2, dialogueChoice2.AnswerIsRegularExpression, quest3, dialogueChoice2); + if (num3.HasValue) + { + list2.Add(num3.Value); + } continue; } if (dialogueChoice2.AnswerIsRegularExpression && stringOrRegex2 != null) { - int? num3 = FindBestRegexMatch(answers, stringOrRegex2, quest3, dialogueChoice2); - if (!num3.HasValue) + int? num4 = FindBestRegexMatch(answers, stringOrRegex2, quest3, dialogueChoice2); + if (!num4.HasValue) { continue; } - _logger.LogInformation("Returning {Index}: '{Answer}' for '{Prompt}' (best regex match)", num3.Value, answers[num3.Value], actualPrompt); - if (quest3?.Id is SatisfactionSupplyNpcId) - { - if (_questController.GatheringQuest == null || _questController.GatheringQuest.Sequence == byte.MaxValue) - { - return null; - } - _questController.GatheringQuest.SetSequence(1); - _questController.StartGatheringQuest("SatisfactionSupply turn in"); - } - return num3.Value; + _logger.LogDebug("Returning {Index}: '{Answer}' for '{Prompt}' (best regex match)", num4.Value, answers[num4.Value], actualPrompt); + return num4.Value; } - for (int num4 = 0; num4 < answers.Count; num4++) + for (int num5 = 0; num5 < answers.Count; num5++) { - _logger.LogTrace("Checking if {ActualAnswer} == {ExpectedAnswer}", answers[num4], stringOrRegex2); - if (!IsMatch(answers[num4], stringOrRegex2)) + _logger.LogTrace("Checking if {ActualAnswer} == {ExpectedAnswer}", answers[num5], stringOrRegex2); + if (IsMatch(answers[num5], stringOrRegex2)) { - continue; + _logger.LogDebug("Returning {Index}: '{Answer}' for '{Prompt}'", num5, answers[num5], actualPrompt); + return num5; } - _logger.LogInformation("Returning {Index}: '{Answer}' for '{Prompt}'", num4, answers[num4], actualPrompt); - if (quest3?.Id is SatisfactionSupplyNpcId) - { - if (_questController.GatheringQuest == null || _questController.GatheringQuest.Sequence == byte.MaxValue) - { - return null; - } - _questController.GatheringQuest.SetSequence(1); - _questController.StartGatheringQuest("SatisfactionSupply turn in"); - } - return num4; } } - _logger.LogInformation("No matching answer found for {Prompt}.", actualPrompt); + int[] array = list2.Distinct().ToArray(); + if (array.Length == 1) + { + _logger.LogWarning("Using answer-only fallback for prompt '{Prompt}'. Selected index {Index}: '{Answer}'", actualPrompt, array[0], answers[array[0]]); + return array[0]; + } + _logger.LogDebug("No matching answer found for {Prompt}.", actualPrompt); + return null; + } + + private static int? TryFindAnswerMatchIndex(List answers, StringOrRegex? excelAnswer, bool answerIsRegularExpression, Questionable.Model.Quest? quest, DialogueChoice dialogueChoice) + { + if (excelAnswer == null) + { + return null; + } + if (answerIsRegularExpression) + { + return FindBestRegexMatch(answers, excelAnswer, quest, dialogueChoice); + } + for (int i = 0; i < answers.Count; i++) + { + if (IsMatch(answers[i], excelAnswer)) + { + return i; + } + } return null; } @@ -589,17 +677,19 @@ internal sealed class InteractionUiController : IDisposable { try { - string questExpectedAnswer = null; + string text = null; if (dialogueChoice.Answer.Type == ExcelRef.EType.RawString) { - questExpectedAnswer = dialogueChoice.Answer.AsRawString(); + text = dialogueChoice.Answer.AsRawString(); } - if (!string.IsNullOrEmpty(questExpectedAnswer) && !dialogueChoice.AnswerIsRegularExpression) + if (!string.IsNullOrEmpty(text)) { - int num = matchingIndexes.FirstOrDefault((int i) => string.Equals(answers[i], questExpectedAnswer, StringComparison.OrdinalIgnoreCase)); - if (num != 0) + foreach (int matchingIndex in matchingIndexes) { - return num; + if (string.Equals(answers[matchingIndex], text, StringComparison.OrdinalIgnoreCase)) + { + return matchingIndex; + } } } } @@ -628,7 +718,7 @@ internal sealed class InteractionUiController : IDisposable string b = _excelFunctions.GetDialogueTextByRowId("Addon", 2090u, isRegex: false).GetString(); if (GameFunctions.GameStringEquals(actualPrompt, b)) { - _logger.LogInformation("Selecting no prefered instance as answer for '{Prompt}'", actualPrompt); + _logger.LogDebug("Selecting no prefered instance as answer for '{Prompt}'", actualPrompt); return 0; } return null; @@ -636,13 +726,29 @@ internal sealed class InteractionUiController : IDisposable private unsafe void SelectYesnoPostSetup(AddonEvent type, AddonArgs args) { + _deathRecoveryConfirmFired = false; AddonSelectYesno* address = (AddonSelectYesno*)args.Addon.Address; SelectYesnoPostSetup(address, checkAllSteps: false); } + private unsafe void SelectYesnoDeathRecoveryPostUpdate(AddonEvent type, AddonArgs args) + { + if (_questController.IsDeathRecoveryPending && _condition[ConditionFlag.Unconscious] && !_deathRecoveryConfirmFired) + { + AddonSelectYesno* address = (AddonSelectYesno*)args.Addon.Address; + string text = (*address->AtkUnitBase.AtkValues).ReadAtkString(); + if (text != null && _returnRegex.IsMatch(text)) + { + _logger.LogInformation("Death recovery: confirming return to home point (PostUpdate)"); + address->AtkUnitBase.FireCallbackInt(0); + _deathRecoveryConfirmFired = true; + } + } + } + private unsafe void SelectYesnoPostSetup(AddonSelectYesno* addonSelectYesno, bool checkAllSteps) { - if (!ShouldHandleUiInteractions) + if (!checkAllSteps && !ShouldHandleUiInteractions) { return; } @@ -652,6 +758,12 @@ internal sealed class InteractionUiController : IDisposable return; } _logger.LogTrace("Prompt: '{Prompt}'", text); + if (_questController.IsDeathRecoveryPending && _condition[ConditionFlag.Unconscious] && _returnRegex.IsMatch(text)) + { + _logger.LogInformation("Death recovery: confirming return to home point"); + addonSelectYesno->AtkUnitBase.FireCallbackInt(0); + return; + } if (_shopController.IsAwaitingYesNo && _purchaseItemRegex.IsMatch(text)) { addonSelectYesno->AtkUnitBase.FireCallbackInt(0); @@ -685,7 +797,7 @@ internal sealed class InteractionUiController : IDisposable StringOrRegex stringOrRegex = ResolveReference(null, item.ExcelSheet, item.Prompt, item.PromptIsRegularExpression); if (stringOrRegex != null && IsMatch(text, stringOrRegex)) { - _logger.LogInformation("FATE: Returning {YesNo} for '{Prompt}'", item.Yes ? "Yes" : "No", text); + _logger.LogDebug("FATE: Returning {YesNo} for '{Prompt}'", item.Yes ? "Yes" : "No", text); addonSelectYesno->AtkUnitBase.FireCallbackInt((!item.Yes) ? 1 : 0); return; } @@ -693,25 +805,38 @@ internal sealed class InteractionUiController : IDisposable } } } - if (!_seasonalDutyController.IsRunning) + if (SmartNavWarpRowId.HasValue) { - return; + _logger.LogDebug("SmartNav: confirming warp YesNo for warp {WarpId}", SmartNavWarpRowId); + addonSelectYesno->AtkUnitBase.FireCallbackInt(0); } - List list2 = _seasonalDutyController.CurrentDuty?.DialogueChoices; - if (list2 == null || list2.Count <= 0) + else if (SmartNavTaxiDestPlaceName != null) { - return; + _logger.LogDebug("SmartNav: confirming taxi YesNo for destination {Dest}", SmartNavTaxiDestPlaceName); + addonSelectYesno->AtkUnitBase.FireCallbackInt(0); } - foreach (DialogueChoice item2 in list2) + else { - if (item2.Type == EDialogChoiceType.YesNo) + if (!_seasonalDutyController.IsRunning) { - StringOrRegex stringOrRegex2 = ResolveReference(null, item2.ExcelSheet, item2.Prompt, item2.PromptIsRegularExpression); - if (stringOrRegex2 != null && IsMatch(text, stringOrRegex2)) + return; + } + List list2 = _seasonalDutyController.CurrentDuty?.DialogueChoices; + if (list2 == null || list2.Count <= 0) + { + return; + } + foreach (DialogueChoice item2 in list2) + { + if (item2.Type == EDialogChoiceType.YesNo) { - _logger.LogInformation("Seasonal duty: Returning {YesNo} for '{Prompt}'", item2.Yes ? "Yes" : "No", text); - addonSelectYesno->AtkUnitBase.FireCallbackInt((!item2.Yes) ? 1 : 0); - break; + StringOrRegex stringOrRegex2 = ResolveReference(null, item2.ExcelSheet, item2.Prompt, item2.PromptIsRegularExpression); + if (stringOrRegex2 != null && IsMatch(text, stringOrRegex2)) + { + _logger.LogDebug("Seasonal duty: Returning {YesNo} for '{Prompt}'", item2.Yes ? "Yes" : "No", text); + addonSelectYesno->AtkUnitBase.FireCallbackInt((!item2.Yes) ? 1 : 0); + break; + } } } } @@ -731,6 +856,15 @@ internal sealed class InteractionUiController : IDisposable else { QuestStep questStep = quest.FindSequence(currentQuest.Sequence)?.FindStep(currentQuest.Step); + if (questStep == null && currentQuest.Step == 255) + { + QuestSequence questSequence2 = quest.FindSequence(currentQuest.Sequence); + if (questSequence2 != null && questSequence2.Steps.Count > 0) + { + List steps = questSequence2.Steps; + questStep = steps[steps.Count - 1]; + } + } if (questStep != null && HandleDefaultYesNo(addonSelectYesno, quest, questStep, questStep.DialogueChoices, actualPrompt)) { return true; @@ -814,10 +948,10 @@ internal sealed class InteractionUiController : IDisposable StringOrRegex stringOrRegex = ResolveReference(quest, dialogueChoice.ExcelSheet, dialogueChoice.Prompt, dialogueChoice.PromptIsRegularExpression); if (stringOrRegex == null || !IsMatch(actualPrompt, stringOrRegex)) { - _logger.LogInformation("Unexpected excelPrompt: {ExcelPrompt}, actualPrompt: {ActualPrompt}", stringOrRegex, actualPrompt); + _logger.LogDebug("Unexpected excelPrompt: {ExcelPrompt}, actualPrompt: {ActualPrompt}", stringOrRegex, actualPrompt); continue; } - _logger.LogInformation("Returning {YesNo} for '{Prompt}'", dialogueChoice.Yes ? "Yes" : "No", actualPrompt); + _logger.LogDebug("Returning {YesNo} for '{Prompt}'", dialogueChoice.Yes ? "Yes" : "No", actualPrompt); addonSelectYesno->AtkUnitBase.FireCallbackInt((!dialogueChoice.Yes) ? 1 : 0); return true; } @@ -833,7 +967,7 @@ internal sealed class InteractionUiController : IDisposable { if (step != null && step.InteractionType == EInteractionType.SinglePlayerDuty && _bossModIpc.IsConfiguredToRunSoloInstance(questId, step.SinglePlayerDutyOptions)) { - _logger.LogInformation("SinglePlayerDutyYesNo: probably Single Player Duty"); + _logger.LogDebug("SinglePlayerDutyYesNo: probably Single Player Duty"); return true; } return false; @@ -841,23 +975,23 @@ internal sealed class InteractionUiController : IDisposable private unsafe bool HandleTravelYesNo(AddonSelectYesno* addonSelectYesno, QuestController.QuestProgress currentQuest, string actualPrompt) { - _logger.LogInformation("TravelYesNo"); - if (_aetheryteFunctions.ReturnRequestedAt >= DateTime.Now.AddSeconds(-2.0) && _returnRegex.IsMatch(actualPrompt)) + _logger.LogDebug("TravelYesNo"); + if (Environment.TickCount64 - _aetheryteFunctions.ReturnRequestedAt <= 2000 && _returnRegex.IsMatch(actualPrompt)) { - _logger.LogInformation("Automatically confirming return..."); + _logger.LogDebug("Automatically confirming return..."); addonSelectYesno->AtkUnitBase.FireCallbackInt(0); return true; } if (_questController.IsRunning && _gameGui.TryGetAddonByName("HousingSelectBlock", out var _)) { - _logger.LogInformation("Automatically confirming ward selection"); + _logger.LogDebug("Automatically confirming ward selection"); addonSelectYesno->AtkUnitBase.FireCallbackInt(0); return true; } ushort? num = FindTargetTerritoryFromQuestStep(currentQuest); if (num.HasValue && TryFindWarp(num.Value, actualPrompt, out uint? warpId, out string warpText)) { - _logger.LogInformation("Using warp {Id}, {Prompt}", warpId, warpText); + _logger.LogDebug("Using warp {Id}, {Prompt}", warpId, warpText); addonSelectYesno->AtkUnitBase.FireCallbackInt(0); return true; } @@ -894,7 +1028,12 @@ internal sealed class InteractionUiController : IDisposable } if (flag) { - _logger.LogInformation("Confirming difficulty ({Difficulty}) for quest battle", _configuration.SinglePlayerDuties.RetryDifficulty); + if (_dutyRetryState.AwaitingOutcome && !_dutyRetryState.CanRetry(_configuration.SinglePlayerDuties.MaxRetries)) + { + _logger.LogInformation("DifficultySelectYesNo: retry limit reached, not auto-confirming"); + return; + } + _logger.LogDebug("Confirming difficulty ({Difficulty}) for quest battle", _configuration.SinglePlayerDuties.RetryDifficulty); AtkValue* values = stackalloc AtkValue[2] { new AtkValue @@ -905,7 +1044,7 @@ internal sealed class InteractionUiController : IDisposable new AtkValue { Type = AtkValueType.Int, - Int = _configuration.SinglePlayerDuties.RetryDifficulty + Int = (int)_configuration.SinglePlayerDuties.RetryDifficulty } }; addonDifficultySelectYesNo->FireCallback(2u, values); @@ -987,19 +1126,19 @@ internal sealed class InteractionUiController : IDisposable private unsafe void PointMenuPostSetup(AddonEvent type, AddonArgs args) { AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; - PointMenuPostSetup(address); + PointMenuPostSetup(address, checkAllSteps: false); } - private unsafe void PointMenuPostSetup(AtkUnitBase* addonPointMenu) + private unsafe void PointMenuPostSetup(AtkUnitBase* addonPointMenu, bool checkAllSteps) { - if (!ShouldHandleUiInteractions) + if (!checkAllSteps && !ShouldHandleUiInteractions) { return; } QuestController.QuestProgress startedQuest = _questController.StartedQuest; if (startedQuest == null) { - _logger.LogInformation("Ignoring point menu, no active quest"); + _logger.LogDebug("Ignoring point menu, no active quest"); return; } QuestSequence questSequence = startedQuest.Quest.FindSequence(startedQuest.Sequence); @@ -1024,7 +1163,7 @@ internal sealed class InteractionUiController : IDisposable return; } uint num = questStep.PointMenuChoices[pointMenuCounter]; - _logger.LogInformation("Handling point menu, picking choice {Choice} (index = {Index})", num, pointMenuCounter); + _logger.LogDebug("Handling point menu, picking choice {Choice} (index = {Index})", num, pointMenuCounter); AtkValue* values = stackalloc AtkValue[2] { new AtkValue @@ -1046,7 +1185,7 @@ internal sealed class InteractionUiController : IDisposable { if (ShouldHandleUiInteractions) { - _logger.LogInformation("Confirming selected housing ward"); + _logger.LogDebug("Confirming selected housing ward"); AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; address->FireCallbackInt(0); } @@ -1056,7 +1195,7 @@ internal sealed class InteractionUiController : IDisposable { if (_seasonalDutyController.IsRunning || ShouldHandleUiInteractions) { - _logger.LogInformation("Dismissing EasterMowingResult"); + _logger.LogDebug("Dismissing EasterMowingResult"); AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; AtkValue* values = stackalloc AtkValue[3] { @@ -1108,6 +1247,7 @@ internal sealed class InteractionUiController : IDisposable _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "HousingSelectBlock", HousingSelectBlockPostSetup); _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "PointMenu", PointMenuPostSetup); _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "DifficultySelectYesNo", DifficultySelectYesNoPostSetup); + _addonLifecycle.UnregisterListener(AddonEvent.PostUpdate, "SelectYesno", SelectYesnoDeathRecoveryPostUpdate); _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "SelectYesno", SelectYesnoPostSetup); _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "SelectIconString", SelectIconStringPostSetup); _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "CutSceneSelectString", CutsceneSelectStringPostSetup); diff --git a/Questionable/Questionable.Controller.GameUi/QteController.cs b/Questionable/Questionable.Controller.GameUi/QteController.cs index 6bc45b0..a23ad6a 100644 --- a/Questionable/Questionable.Controller.GameUi/QteController.cs +++ b/Questionable/Questionable.Controller.GameUi/QteController.cs @@ -2,6 +2,7 @@ using System; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Component.GUI; using FFXIVClientStructs.Interop; +using LLib; using LLib.GameUI; using Microsoft.Extensions.Logging; using Questionable.Controller.Utils; @@ -20,7 +21,7 @@ internal sealed class QteController : IDisposable private readonly ILogger _logger; - private long _throttler = Environment.TickCount64; + private Throttle _throttle; private readonly Random _random = new Random(); @@ -48,14 +49,14 @@ internal sealed class QteController : IDisposable else if (_gameGui.TryGetAddonByName("QTE", out addonPtr) && LAddon.IsAddonReady(addonPtr) && addonPtr->IsVisible) { DisableDirectChatIfNeeded(); - if (Environment.TickCount64 >= _throttler) + if (_throttle.TryReset((double)_random.Next(25, 50) / 1000.0)) { if (IsChatLogFocused()) { + _logger.LogDebug("Chat is focused during QTE, sending Escape"); WindowsKeypress.SendKeypress(WindowsKeypress.LimitedKeys.Escape); } WindowsKeypress.SendKeypress(WindowsKeypress.LimitedKeys.A); - _throttler = Environment.TickCount64 + _random.Next(25, 50); } } else @@ -89,6 +90,7 @@ internal sealed class QteController : IDisposable { _gameConfig.UiControl.Set("DirectChat", _directChatWasEnabled); _hasDirectChat = false; + _logger.LogDebug("Restored DirectChat to {Value}", _directChatWasEnabled); } } @@ -100,6 +102,7 @@ internal sealed class QteController : IDisposable if (value) { _gameConfig.UiControl.Set("DirectChat", value: false); + _logger.LogDebug("Temporarily disabled DirectChat for QTE handling"); } _hasDirectChat = true; } diff --git a/Questionable/Questionable.Controller.GameUi/ShopController.cs b/Questionable/Questionable.Controller.GameUi/ShopController.cs index ccc995d..dbc1dd8 100644 --- a/Questionable/Questionable.Controller.GameUi/ShopController.cs +++ b/Questionable/Questionable.Controller.GameUi/ShopController.cs @@ -23,6 +23,14 @@ internal sealed class ShopController : IDisposable, IShopWindow private readonly ILogger _logger; + private long _lastCurrentStockSwitchMs; + + private int _currentStockSwitchAttempts; + + private uint? _lastPurchaseItemId; + + private const int MaxCurrentStockSwitchAttempts = 3; + public bool IsEnabled => _questController.IsRunning; public bool IsOpen { get; set; } @@ -43,12 +51,12 @@ internal sealed class ShopController : IDisposable, IShopWindow public Vector2? Position { get; set; } - public ShopController(QuestController questController, IGameGui gameGui, IAddonLifecycle addonLifecycle, IFramework framework, ILogger logger, IPluginLog pluginLog) + public ShopController(QuestController questController, IGameGui gameGui, IAddonLifecycle addonLifecycle, IFramework framework, ILogger logger, IPluginLog pluginLog, IDataManager dataManager) { _questController = questController; _gameGui = gameGui; _framework = framework; - _shop = new RegularShopBase(this, "Shop", pluginLog, gameGui, addonLifecycle); + _shop = new RegularShopBase(this, "Shop", pluginLog, gameGui, addonLifecycle, dataManager); _logger = logger; _framework.Update += FrameworkUpdate; } @@ -71,25 +79,25 @@ internal sealed class ShopController : IDisposable, IShopWindow return; } QuestStep questStep = FindCurrentStep(); - if (questStep != null && questStep.InteractionType == EInteractionType.PurchaseItem) + if (questStep == null || questStep.InteractionType != EInteractionType.PurchaseItem) { - int num = Math.Max(0, questStep.ItemCount.GetValueOrDefault() - (int)_shop.ItemForSale.OwnedItems); - if (Math.Min(_shop.GetMaxItemsToPurchase(), num) > 0) - { - _logger.LogDebug("Auto-buying {MissingItems} {ItemName}", num, _shop.ItemForSale.ItemName); - _shop.StartAutoPurchase(num); - _shop.HandleNextPurchaseStep(); - } - else - { - _shop.CancelAutoPurchase(); - } + _shop.ItemForSale = null; + RestoreExternalPluginState(); + return; + } + int val = Math.Max(0, questStep.ItemCount.GetValueOrDefault() - (int)_shop.ItemForSale.OwnedItems); + int num = Math.Min(_shop.GetMaxItemsToPurchase(), val); + if (num > 0) + { + _logger.LogDebug("Auto-buying {ToPurchase} {ItemName}", num, _shop.ItemForSale.ItemName); + _shop.StartAutoPurchase(num); + _shop.HandleNextPurchaseStep(); + } + else + { + _shop.ItemForSale = null; + RestoreExternalPluginState(); } - } - - public int GetCurrencyCount() - { - return _shop.GetItemCount(1u); } private QuestStep? FindCurrentStep() @@ -113,10 +121,10 @@ internal sealed class ShopController : IDisposable, IShopWindow return; } AtkValue* atkValues = addon->AtkValues; - if (atkValues->UInt != 0) + if (currentStep.ItemId != _lastPurchaseItemId) { - _shop.ItemForSale = null; - return; + _lastPurchaseItemId = currentStep.ItemId; + _currentStockSwitchAttempts = 0; } uint uInt = atkValues[2].UInt; if (uInt == 0) @@ -130,9 +138,21 @@ internal sealed class ShopController : IDisposable, IShopWindow Position = i, ItemName = atkValues[14 + i].ReadAtkString(), Price = atkValues[75 + i].UInt, + CurrencyItemId = 1u, OwnedItems = atkValues[136 + i].UInt, ItemId = atkValues[441 + i].UInt }).FirstOrDefault((ItemForSale x) => x.ItemId == currentStep.ItemId); + if (_shop.ItemForSale != null) + { + _currentStockSwitchAttempts = 0; + } + else if (_currentStockSwitchAttempts < 3 && Environment.TickCount64 - _lastCurrentStockSwitchMs > 2000) + { + _currentStockSwitchAttempts++; + _lastCurrentStockSwitchMs = Environment.TickCount64; + _logger.LogWarning("Shop list has {ItemCount} item(s) but not {ItemId}; switching to Current Stock tab ({Attempt}/{Max})", uInt, currentStep.ItemId, _currentStockSwitchAttempts, 3); + SwitchToCurrentStockTab(addon); + } } public unsafe void TriggerPurchase(AtkUnitBase* addonShop, int buyNow) @@ -163,6 +183,29 @@ internal sealed class ShopController : IDisposable, IShopWindow addonShop->FireCallback(4u, values); } + private unsafe void SwitchToCurrentStockTab(AtkUnitBase* addonShop) + { + AtkValue* values = stackalloc AtkValue[3] + { + new AtkValue + { + Type = AtkValueType.Int, + Int = 1 + }, + new AtkValue + { + Type = AtkValueType.Int, + Int = -1 + }, + new AtkValue + { + Type = AtkValueType.Int, + Int = -1 + } + }; + addonShop->FireCallback(3u, values); + } + public void SaveExternalPluginState() { } diff --git a/Questionable/Questionable.Controller.NavigationOverrides/MovementOverrideController.cs b/Questionable/Questionable.Controller.NavigationOverrides/MovementOverrideController.cs index c8b5ab7..c94c456 100644 --- a/Questionable/Questionable.Controller.NavigationOverrides/MovementOverrideController.cs +++ b/Questionable/Questionable.Controller.NavigationOverrides/MovementOverrideController.cs @@ -36,7 +36,7 @@ internal sealed class MovementOverrideController AlternateLocation alternateLocation = blacklistedLocation.AdjustPoint(navPoints[i]); if (alternateLocation != null) { - _logger.LogInformation("Fudging navmesh point from {Original} to {Replacement} in blacklisted area", navPoints[i].ToString("G", CultureInfo.InvariantCulture), alternateLocation); + _logger.LogDebug("Fudging navmesh point from {Original} to {Replacement} in blacklisted area", navPoints[i].ToString("G", CultureInfo.InvariantCulture), alternateLocation); navPoints[i] = alternateLocation.Point; if (alternateLocation.RecalculateNavmesh) { diff --git a/Questionable/Questionable.Controller.Steps.Common/AbstractDelayedTaskExecutor.cs b/Questionable/Questionable.Controller.Steps.Common/AbstractDelayedTaskExecutor.cs index fa4f8b3..e6e2fb4 100644 --- a/Questionable/Questionable.Controller.Steps.Common/AbstractDelayedTaskExecutor.cs +++ b/Questionable/Questionable.Controller.Steps.Common/AbstractDelayedTaskExecutor.cs @@ -4,7 +4,7 @@ namespace Questionable.Controller.Steps.Common; internal abstract class AbstractDelayedTaskExecutor : TaskExecutor where T : class, ITask { - private DateTime _continueAt; + private long _continueAtMs; protected TimeSpan Delay { get; set; } @@ -21,7 +21,7 @@ internal abstract class AbstractDelayedTaskExecutor : TaskExecutor where T protected sealed override bool Start() { bool result = StartInternal(); - _continueAt = DateTime.Now.Add(Delay); + _continueAtMs = Environment.TickCount64 + (long)Delay.TotalMilliseconds; return result; } @@ -29,7 +29,7 @@ internal abstract class AbstractDelayedTaskExecutor : TaskExecutor where T public override ETaskResult Update() { - if (_continueAt >= DateTime.Now) + if (Environment.TickCount64 < _continueAtMs) { return ETaskResult.StillRunning; } diff --git a/Questionable/Questionable.Controller.Steps.Common/Mount.cs b/Questionable/Questionable.Controller.Steps.Common/Mount.cs index 449dd38..42c9f20 100644 --- a/Questionable/Questionable.Controller.Steps.Common/Mount.cs +++ b/Questionable/Questionable.Controller.Steps.Common/Mount.cs @@ -52,13 +52,13 @@ internal static class Mount internal sealed class MountEvaluator(GameFunctions gameFunctions, ICondition condition, TerritoryData territoryData, IClientState clientState, IObjectTable objectTable, ILogger logger) { - public unsafe MountResult EvaluateMountState(MountTask task, bool dryRun, ref DateTime retryAt) + public unsafe MountResult EvaluateMountState(MountTask task, bool dryRun, ref long retryAtMs) { if (condition[ConditionFlag.Mounted]) { return MountResult.DontMount; } - LogLevel logLevel = (dryRun ? LogLevel.None : LogLevel.Information); + LogLevel logLevel = ((!dryRun) ? LogLevel.Debug : LogLevel.None); if (!territoryData.CanUseMount(task.TerritoryId)) { logger.Log(logLevel, "Can't use mount in current territory {Id}", task.TerritoryId); @@ -71,23 +71,20 @@ internal static class Mount } if (task.MountIf == EMountIf.AwayFromPosition) { - float num = System.Numerics.Vector3.Distance((FFXIVClientStructs.FFXIV.Common.Math.Vector3)(objectTable[0]?.Position ?? ((System.Numerics.Vector3)FFXIVClientStructs.FFXIV.Common.Math.Vector3.Zero)), task.Position.GetValueOrDefault()); - if (task.TerritoryId == clientState.TerritoryType && num < 30f && !Conditions.Instance()->Diving) + float num = System.Numerics.Vector3.Distance((FFXIVClientStructs.FFXIV.Common.Math.Vector3)(objectTable.LocalPlayer?.Position ?? ((System.Numerics.Vector3)FFXIVClientStructs.FFXIV.Common.Math.Vector3.Zero)), task.Position.GetValueOrDefault()); + if (task.TerritoryId == clientState.TerritoryType && num < 30f && !FFXIVClientStructs.FFXIV.Client.Game.Conditions.Instance()->Diving) { logger.Log(logLevel, "Not using mount, as we're close to the target"); return MountResult.DontMount; } logger.Log(logLevel, "Want to use mount if away from destination ({Distance} yalms), trying (in territory {Id})...", num, task.TerritoryId); } - else - { - logger.Log(logLevel, "Want to use mount, trying (in territory {Id})...", task.TerritoryId); - } + logger.Log(logLevel, "Want to use mount, trying (in territory {Id})...", task.TerritoryId); if (!condition[ConditionFlag.InCombat]) { if (dryRun) { - retryAt = DateTime.Now.AddSeconds(0.5); + retryAtMs = Environment.TickCount64 + 500; } return MountResult.Mount; } @@ -99,38 +96,53 @@ internal static class Mount { private bool _mountTriggered; - private DateTime _retryAt = DateTime.MinValue; + private long _retryAtMs; protected override bool Start() { _mountTriggered = false; - return mountEvaluator.EvaluateMountState(base.Task, dryRun: false, ref _retryAt) == MountResult.Mount; + return mountEvaluator.EvaluateMountState(base.Task, dryRun: false, ref _retryAtMs) == MountResult.Mount; } public override ETaskResult Update() { - if (_mountTriggered && !condition[ConditionFlag.Mounted] && DateTime.Now > _retryAt) + if (_mountTriggered && !condition[ConditionFlag.Mounted] && Environment.TickCount64 > _retryAtMs) { - logger.LogInformation("Not mounted, retrying..."); + logger.LogDebug("Not mounted, retrying..."); _mountTriggered = false; - _retryAt = DateTime.MaxValue; + _retryAtMs = long.MaxValue; } if (!_mountTriggered) { if (gameFunctions.HasStatusPreventingMount()) { - logger.LogInformation("Can't mount due to status preventing sprint or mount"); + logger.LogDebug("Can't mount due to status preventing sprint or mount"); return ETaskResult.TaskComplete; } base.ProgressContext = InteractionProgressContext.FromActionUse(() => _mountTriggered = gameFunctions.Mount()); - _retryAt = DateTime.Now.AddSeconds(5.0); + ResetProgressTimer(); + _retryAtMs = Environment.TickCount64 + 5000; return ETaskResult.StillRunning; } - if (!condition[ConditionFlag.Mounted]) + if (condition[ConditionFlag.Mounted]) { - return ETaskResult.StillRunning; + ResetProgressTimer(); + return ETaskResult.TaskComplete; } - return ETaskResult.TaskComplete; + if (base.ProgressContext != null) + { + if (base.ProgressContext.WasInterrupted()) + { + logger.LogDebug("Mount was interrupted"); + _mountTriggered = false; + return ETaskResult.StillRunning; + } + if (base.ProgressContext.WasSuccessful()) + { + ResetProgressTimer(); + } + } + return ETaskResult.StillRunning; } public override bool ShouldInterruptOnDamage() @@ -159,11 +171,11 @@ internal static class Mount } } - internal sealed class UnmountExecutor(ICondition condition, ILogger logger, GameFunctions gameFunctions, IObjectTable objectTable) : TaskExecutor() + internal sealed class UnmountExecutor(ICondition condition, ILogger logger, GameFunctions gameFunctions, IObjectTable objectTable) : TaskExecutor() { private bool _unmountTriggered; - private DateTime _continueAt = DateTime.MinValue; + private long _continueAtMs; protected override bool Start() { @@ -171,21 +183,21 @@ internal static class Mount { return false; } - logger.LogInformation("Step explicitly wants no mount, trying to unmount..."); + logger.LogDebug("Step explicitly wants no mount, trying to unmount..."); if (condition[ConditionFlag.InFlight]) { gameFunctions.Unmount(); - _continueAt = DateTime.Now.AddSeconds(1.0); + _continueAtMs = Environment.TickCount64 + 1000; return true; } _unmountTriggered = gameFunctions.Unmount(); - _continueAt = DateTime.Now.AddSeconds(1.0); + _continueAtMs = Environment.TickCount64 + 1000; return true; } public override ETaskResult Update() { - if (_continueAt >= DateTime.Now) + if (Environment.TickCount64 < _continueAtMs) { return ETaskResult.StillRunning; } @@ -203,13 +215,13 @@ internal static class Mount { _unmountTriggered = gameFunctions.Unmount(); } - _continueAt = DateTime.Now.AddSeconds(1.0); + _continueAtMs = Environment.TickCount64 + 1000; return ETaskResult.StillRunning; } if (condition[ConditionFlag.Mounted] && condition[ConditionFlag.InCombat]) { _unmountTriggered = gameFunctions.Unmount(); - _continueAt = DateTime.Now.AddSeconds(1.0); + _continueAtMs = Environment.TickCount64 + 1000; return ETaskResult.StillRunning; } if (!condition[ConditionFlag.Mounted]) @@ -221,9 +233,10 @@ internal static class Mount private unsafe bool IsUnmounting() { - if (objectTable[0] is IPlayerCharacter playerCharacter) + IPlayerCharacter localPlayer = objectTable.LocalPlayer; + if (localPlayer != null) { - BattleChara* address = (BattleChara*)playerCharacter.Address; + BattleChara* address = (BattleChara*)localPlayer.Address; return (address->Mount.Flags & 1) == 1; } return false; diff --git a/Questionable/Questionable.Controller.Steps.Common/NextQuest.cs b/Questionable/Questionable.Controller.Steps.Common/NextQuest.cs index 901aaac..d785cc3 100644 --- a/Questionable/Questionable.Controller.Steps.Common/NextQuest.cs +++ b/Questionable/Questionable.Controller.Steps.Common/NextQuest.cs @@ -50,7 +50,7 @@ internal static class NextQuest { QuestController.EAutomationType automationType = questController.AutomationType; Quest quest; - if ((uint)(automationType - 3) <= 1u) + if ((uint)(automationType - 2) <= 1u) { logger.LogInformation("Won't set next quest to {QuestId}, automation type is CurrentQuestOnly", base.Task.NextQuestId); questController.SetNextQuest(null); diff --git a/Questionable/Questionable.Controller.Steps.Common/RepairGear.cs b/Questionable/Questionable.Controller.Steps.Common/RepairGear.cs new file mode 100644 index 0000000..01ecd75 --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Common/RepairGear.cs @@ -0,0 +1,273 @@ +using System; +using Dalamud.Plugin.Services; +using LLib.Gear; +using Microsoft.Extensions.Logging; +using Questionable.Data; +using Questionable.Functions; + +namespace Questionable.Controller.Steps.Common; + +internal static class RepairGear +{ + internal sealed record SelfRepairTask : ITask + { + public override string ToString() + { + return "SelfRepair"; + } + } + + internal sealed record MenderRepairTask(MenderNpc Npc) : ITask + { + public override string ToString() + { + return $"MenderRepair({Npc.DataId})"; + } + } + + internal enum EState + { + Interacting, + SelectingMenu, + OpeningWindow, + WaitingForAddon, + FiringRepair, + Confirming, + Settling, + Closing, + WaitingForClose + } + + internal abstract class RepairExecutorBase(IGameGui gameGui, ILogger logger) : TaskExecutor(), IStoppableTaskExecutor, ITaskExecutor where T : class, ITask + { + private const long StateTimeoutMs = 5000L; + + private const long SettleMs = 1000L; + + private const long PollIntervalMs = 250L; + + private const int MaxAttempts = 3; + + private EState _state; + + private long _stateDeadline; + + private long _nextPollAt; + + private int? _conditionBefore; + + private int _attempt; + + protected IGameGui GameGui { get; } = gameGui; + + protected ILogger Logger { get; } = logger; + + protected abstract EState InitialState { get; } + + protected abstract bool UpdateCustomState(EState state); + + protected sealed override bool Start() + { + _conditionBefore = GearConditionHelper.GetLowestConditionPercent(); + _attempt = 1; + EnterState(InitialState); + _nextPollAt = 0L; + return true; + } + + public sealed override ETaskResult Update() + { + long tickCount = Environment.TickCount64; + if (tickCount < _nextPollAt) + { + return ETaskResult.StillRunning; + } + _nextPollAt = tickCount + 250; + if (tickCount > _stateDeadline) + { + if (_state != EState.Settling) + { + Logger.LogWarning("Repair timed out in state {State} ({Diagnostic}), giving up", _state, RepairActions.DescribeRepairAddon(GameGui)); + RepairActions.TryCloseRepairWindow(GameGui); + return Finish(); + } + EnterState(EState.Closing); + } + switch (_state) + { + case EState.OpeningWindow: + if (RepairActions.TryOpenRepairWindow()) + { + EnterState(EState.WaitingForAddon); + } + break; + case EState.WaitingForAddon: + if (RepairActions.IsRepairAddonReady(GameGui)) + { + EnterState(EState.FiringRepair); + } + break; + case EState.FiringRepair: + if (RepairActions.TryRepairAll(GameGui)) + { + EnterState(EState.Confirming); + } + break; + case EState.Confirming: + if (RepairActions.TryConfirmDialog(GameGui)) + { + EnterState(EState.Settling); + } + else if (HasConditionImproved()) + { + EnterState(EState.Settling); + } + else + { + RepairActions.TryRepairAll(GameGui); + } + break; + case EState.Closing: + if (RepairActions.TryCloseRepairWindow(GameGui)) + { + EnterState(EState.WaitingForClose); + } + break; + case EState.WaitingForClose: + if (!RepairActions.IsRepairAddonReady(GameGui)) + { + return Finish(); + } + break; + default: + if (!UpdateCustomState(_state)) + { + throw new TaskException($"Unhandled repair state {_state}"); + } + break; + case EState.Settling: + break; + } + return ETaskResult.StillRunning; + } + + protected void EnterState(EState state) + { + _state = state; + _stateDeadline = Environment.TickCount64 + ((state == EState.Settling) ? 1000 : 5000); + } + + private bool HasConditionImproved() + { + int? conditionBefore = _conditionBefore; + if (conditionBefore.HasValue) + { + int valueOrDefault = conditionBefore.GetValueOrDefault(); + conditionBefore = GearConditionHelper.GetLowestConditionPercent(); + if (conditionBefore.HasValue) + { + int valueOrDefault2 = conditionBefore.GetValueOrDefault(); + return valueOrDefault2 > valueOrDefault; + } + } + return false; + } + + private ETaskResult Finish() + { + int? lowestConditionPercent = GearConditionHelper.GetLowestConditionPercent(); + if (HasConditionImproved()) + { + Logger.LogInformation("Repair complete, lowest condition {Before}% -> {After}%", _conditionBefore, lowestConditionPercent); + return ETaskResult.TaskComplete; + } + if (_attempt < 3) + { + _attempt++; + Logger.LogWarning("Repair pass ended without improving condition (still {After}%), retrying ({Attempt}/{Max})", lowestConditionPercent, _attempt, 3); + RepairActions.TryCloseRepairWindow(GameGui); + EnterState(InitialState); + return ETaskResult.StillRunning; + } + Logger.LogWarning("Repair finished without improving condition (still {After}%)", lowestConditionPercent); + return ETaskResult.TaskComplete; + } + + public void StopNow() + { + RepairActions.TryCloseRepairWindow(GameGui); + } + } + + internal sealed class SelfRepairExecutor : RepairExecutorBase + { + protected override EState InitialState => EState.OpeningWindow; + + public SelfRepairExecutor(IGameGui gameGui, ILogger logger) + : base(gameGui, (ILogger)logger) + { + } + + protected override bool UpdateCustomState(EState state) + { + return false; + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + } + + internal sealed class MenderRepairExecutor : RepairExecutorBase + { + protected override EState InitialState => EState.Interacting; + + public MenderRepairExecutor(IGameGui gameGui, GameFunctions gameFunctions, IDataManager dataManager, ILogger logger) + { + _003CgameFunctions_003EP = gameFunctions; + _003CdataManager_003EP = dataManager; + base._002Ector(gameGui, (ILogger)logger); + } + + protected override bool UpdateCustomState(EState state) + { + switch (state) + { + case EState.Interacting: + if (_003CgameFunctions_003EP.InteractWith(base.Task.Npc.DataId)) + { + EnterState(EState.SelectingMenu); + } + return true; + case EState.SelectingMenu: + { + if (RepairActions.IsRepairAddonReady(base.GameGui)) + { + EnterState(EState.FiringRepair); + return true; + } + int? num = RepairActions.FindRepairIndex(_003CdataManager_003EP, base.Task.Npc.DataId); + if (!num.HasValue) + { + base.Logger.LogWarning("NPC {DataId} has no repair menu entry", base.Task.Npc.DataId); + EnterState(EState.Closing); + return true; + } + if (RepairActions.TrySelectRepairFromMenu(base.GameGui, num.Value)) + { + EnterState(EState.WaitingForAddon); + } + return true; + } + default: + return false; + } + } + + public override bool ShouldInterruptOnDamage() + { + return true; + } + } +} diff --git a/Questionable/Questionable.Controller.Steps.Common/SendNotification.cs b/Questionable/Questionable.Controller.Steps.Common/SendNotification.cs index 363fc0f..7668654 100644 --- a/Questionable/Questionable.Controller.Steps.Common/SendNotification.cs +++ b/Questionable/Questionable.Controller.Steps.Common/SendNotification.cs @@ -5,12 +5,13 @@ using Questionable.Data; using Questionable.External; using Questionable.Model; using Questionable.Model.Questing; +using Questionable.Notifications; namespace Questionable.Controller.Steps.Common; internal static class SendNotification { - internal sealed class Factory(Configuration configuration, AutoDutyIpc autoDutyIpc, BossModIpc bossModIpc, TerritoryData territoryData) : SimpleTaskFactory() + internal sealed class Factory(Configuration configuration, AutoDutyIpc autoDutyIpc, AutoHookIpc autoHookIpc, BossModIpc bossModIpc, TerritoryData territoryData) : SimpleTaskFactory() { public override ITask? CreateTask(Quest quest, QuestSequence sequence, QuestStep step) { @@ -46,6 +47,12 @@ internal static class SendNotification return new Task(step.InteractionType, quest.Info.Name); } break; + case EInteractionType.Fish: + if (!autoHookIpc.IsAvailable()) + { + return new Task(step.InteractionType, step.Comment ?? "AutoHook plugin is required for automatic fishing"); + } + break; } return null; } @@ -59,7 +66,7 @@ internal static class SendNotification } } - internal sealed class Executor(IChatGui chatGui, Configuration configuration) : TaskExecutor() + internal sealed class Executor(NotificationService notificationService, IChatGui chatGui, Configuration configuration) : TaskExecutor() { protected override bool Start() { @@ -76,9 +83,13 @@ internal static class SendNotification case EInteractionType.SinglePlayerDuty: text = "Single player duty"; break; + case EInteractionType.CriticalEncounter: + text = "Critical encounter"; + break; case EInteractionType.WaitForManualProgress: case EInteractionType.Snipe: case EInteractionType.Instruction: + case EInteractionType.Fish: text = "Manual interaction required"; break; default: @@ -142,6 +153,7 @@ internal static class SendNotification XivChatEntry chat = xivChatEntry; chatGui.Print(chat); } + notificationService.Notify(base.Task.InteractionType, text2); return true; } diff --git a/Questionable/Questionable.Controller.Steps.Common/WaitCondition.cs b/Questionable/Questionable.Controller.Steps.Common/WaitCondition.cs index 191d39d..fcbf0b8 100644 --- a/Questionable/Questionable.Controller.Steps.Common/WaitCondition.cs +++ b/Questionable/Questionable.Controller.Steps.Common/WaitCondition.cs @@ -14,7 +14,7 @@ internal static class WaitCondition internal sealed class WaitConditionExecutor : TaskExecutor { - private DateTime _continueAt = DateTime.MaxValue; + private long _continueAtMs; protected override bool Start() { @@ -23,11 +23,11 @@ internal static class WaitCondition public override ETaskResult Update() { - if (_continueAt == DateTime.MaxValue && base.Task.Predicate()) + if (_continueAtMs == 0L && base.Task.Predicate()) { - _continueAt = DateTime.Now.AddSeconds(0.5); + _continueAtMs = Environment.TickCount64 + 500; } - if (!(DateTime.Now >= _continueAt)) + if (_continueAtMs <= 0 || Environment.TickCount64 < _continueAtMs) { return ETaskResult.StillRunning; } diff --git a/Questionable/Questionable.Controller.Steps.Gathering/DoGather.cs b/Questionable/Questionable.Controller.Steps.Gathering/DoGather.cs index 1ae0405..3e7972e 100644 --- a/Questionable/Questionable.Controller.Steps.Gathering/DoGather.cs +++ b/Questionable/Questionable.Controller.Steps.Gathering/DoGather.cs @@ -1,3 +1,4 @@ +using System; using System.Collections.Generic; using System.Linq; using Dalamud.Game.ClientState.Conditions; @@ -41,6 +42,8 @@ internal static class DoGather private Queue? _actionQueue; + private long _nextRevisitInteractionAt; + protected override bool Start() { return true; @@ -51,12 +54,30 @@ internal static class DoGather Task task = base.Task; if ((object)task != null && task.RevisitRequired && !task.RevisitTriggered) { - logger.LogInformation("No revisit"); + logger.LogDebug("No revisit"); return ETaskResult.TaskComplete; } - if (gatheringController.HasNodeDisappeared(base.Task.Node)) + task = base.Task; + if ((object)task != null && task.RevisitRequired && task.RevisitTriggered && !condition[ConditionFlag.Gathering]) { - logger.LogInformation("Node disappeared"); + if (_wasGathering) + { + return ETaskResult.TaskComplete; + } + if (Environment.TickCount64 >= _nextRevisitInteractionAt) + { + IGameObject gameObject = objectTable.FirstOrDefault((IGameObject x) => x.BaseId == base.Task.Node.DataId && x.IsTargetable); + if (gameObject != null && gameFunctions.InteractWith(gameObject)) + { + logger.LogDebug("Revisit triggered, re-interacting with node {DataId}", base.Task.Node.DataId); + } + _nextRevisitInteractionAt = Environment.TickCount64 + 1000; + } + return ETaskResult.StillRunning; + } + if (!base.Task.RevisitTriggered && gatheringController.HasNodeDisappeared(base.Task.Node)) + { + logger.LogDebug("Node disappeared"); return ETaskResult.TaskComplete; } if (gameFunctions.GetFreeInventorySlots() == 0) @@ -74,7 +95,13 @@ internal static class DoGather { if (gatheringController.HasRequestedItems()) { - addonPtr2->FireCallbackInt(-1); + uint uInt = addonPtr2->AtkValues[109].UInt; + uint uInt2 = addonPtr2->AtkValues[110].UInt; + logger.LogDebug("Requested items complete with node integrity {Current}/{Max}", uInt, uInt2); + if (uInt != 0) + { + addonPtr2->FireCallbackInt(-1); + } } else { @@ -86,12 +113,13 @@ internal static class DoGather } else { - NodeCondition nodeCondition = new NodeCondition(addonPtr2->AtkValues[110].UInt, addonPtr2->AtkValues[111].UInt); + NodeCondition nodeCondition = new NodeCondition(addonPtr2->AtkValues[109].UInt, addonPtr2->AtkValues[110].UInt); + logger.LogDebug("NodeCondition integrity: {Current}/{Max}", nodeCondition.CurrentIntegrity, nodeCondition.MaxIntegrity); if (_actionQueue != null && _actionQueue.TryPeek(out var result)) { if (gameFunctions.UseAction(result)) { - logger.LogInformation("Used action {Action} on node", result); + logger.LogDebug("Used action {Action} on node", result); _actionQueue.Dequeue(); } return ETaskResult.StillRunning; @@ -99,7 +127,7 @@ internal static class DoGather _actionQueue = GetNextActions(nodeCondition, list); if (_actionQueue == null) { - logger.LogInformation("Skipping the rest of gathering..."); + logger.LogDebug("Skipping the rest of gathering..."); addonPtr2->FireCallbackInt(-1); return ETaskResult.TaskComplete; } @@ -269,7 +297,7 @@ internal static class DoGather private EAction PickAction(EAction minerAction, EAction botanistAction) { - if ((objectTable[0] as ICharacter)?.ClassJob.RowId == 16) + if (objectTable.LocalPlayer?.ClassJob.RowId == 16) { return minerAction; } diff --git a/Questionable/Questionable.Controller.Steps.Gathering/DoGatherCollectable.cs b/Questionable/Questionable.Controller.Steps.Gathering/DoGatherCollectable.cs index e6cb13a..d5c6af1 100644 --- a/Questionable/Questionable.Controller.Steps.Gathering/DoGatherCollectable.cs +++ b/Questionable/Questionable.Controller.Steps.Gathering/DoGatherCollectable.cs @@ -1,4 +1,7 @@ +using System; using System.Collections.Generic; +using System.Linq; +using Dalamud.Game.ClientState.Conditions; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Game.Text; using Dalamud.Plugin.Services; @@ -28,12 +31,16 @@ internal static class DoGatherCollectable } } - internal sealed class GatherCollectableExecutor(GatheringController gatheringController, GameFunctions gameFunctions, IObjectTable objectTable, IGameGui gameGui, ILogger logger) : TaskExecutor() + internal sealed class GatherCollectableExecutor(GatheringController gatheringController, GameFunctions gameFunctions, IObjectTable objectTable, IGameGui gameGui, ICondition condition, ILogger logger) : TaskExecutor() { private Queue? _actionQueue; private bool? _expectedScrutiny; + private bool _wasGathering; + + private long _nextRevisitInteractionAt; + protected override bool Start() { return true; @@ -43,26 +50,65 @@ internal static class DoGatherCollectable { if (base.Task.RevisitRequired && !base.Task.RevisitTriggered) { - logger.LogInformation("No revisit"); + logger.LogDebug("No revisit"); return ETaskResult.TaskComplete; } - if (gatheringController.HasNodeDisappeared(base.Task.Node)) + Task task = base.Task; + if ((object)task != null && task.RevisitRequired && task.RevisitTriggered && !condition[ConditionFlag.Gathering]) { - logger.LogInformation("Node disappeared"); + if (_wasGathering) + { + return ETaskResult.TaskComplete; + } + if (Environment.TickCount64 >= _nextRevisitInteractionAt) + { + IGameObject gameObject = objectTable.FirstOrDefault((IGameObject x) => x.BaseId == base.Task.Node.DataId && x.IsTargetable); + if (gameObject != null && gameFunctions.InteractWith(gameObject)) + { + logger.LogDebug("Revisit triggered, re-interacting with node {DataId}", base.Task.Node.DataId); + } + _nextRevisitInteractionAt = Environment.TickCount64 + 1000; + } + return ETaskResult.StillRunning; + } + if (!base.Task.RevisitTriggered && gatheringController.HasNodeDisappeared(base.Task.Node)) + { + logger.LogDebug("Node disappeared"); return ETaskResult.TaskComplete; } + if (condition[ConditionFlag.Gathering]) + { + _wasGathering = true; + } if (gatheringController.HasRequestedItems()) { if (gameGui.TryGetAddonByName("GatheringMasterpiece", out var addonPtr)) { - addonPtr->FireCallbackInt(1); + uint uInt = addonPtr->AtkValues[62].UInt; + uint uInt2 = addonPtr->AtkValues[63].UInt; + logger.LogDebug("Requested collectables complete with node integrity {Current}/{Max}", uInt, uInt2); + if (uInt != 0) + { + addonPtr->FireCallbackInt(1); + } return ETaskResult.StillRunning; } if (gameGui.TryGetAddonByName("Gathering", out addonPtr)) { - addonPtr->FireCallbackInt(-1); + uint uInt3 = addonPtr->AtkValues[109].UInt; + uint uInt4 = addonPtr->AtkValues[110].UInt; + logger.LogDebug("Leaving gathering interface with node integrity {Current}/{Max}", uInt3, uInt4); + if (uInt3 != 0) + { + addonPtr->FireCallbackInt(-1); + } + return ETaskResult.StillRunning; + } + if (!condition[ConditionFlag.Gathering]) + { return ETaskResult.TaskComplete; } + return ETaskResult.StillRunning; } if (gameFunctions.GetFreeInventorySlots() == 0) { @@ -71,7 +117,12 @@ internal static class DoGatherCollectable NodeCondition nodeCondition = GetNodeCondition(); if (nodeCondition == null) { - return ETaskResult.TaskComplete; + task = base.Task; + if ((object)task == null || !task.RevisitRequired || !task.RevisitTriggered) + { + return ETaskResult.TaskComplete; + } + return ETaskResult.StillRunning; } if (_expectedScrutiny.HasValue) { @@ -104,7 +155,7 @@ internal static class DoGatherCollectable break; } _expectedScrutiny = expectedScrutiny; - logger.LogInformation("Used action {Action} on node", result); + logger.LogDebug("Used action {Action} on node", result); _actionQueue.Dequeue(); } return ETaskResult.StillRunning; @@ -116,7 +167,7 @@ internal static class DoGatherCollectable { foreach (EAction item in _actionQueue) { - logger.LogInformation("Next Actions {Action}", item); + logger.LogDebug("Next Actions {Action}", item); } return ETaskResult.StillRunning; } @@ -138,7 +189,7 @@ internal static class DoGatherCollectable private Queue GetNextActions(NodeCondition nodeCondition) { - uint num = (objectTable[0] as ICharacter)?.CurrentGp ?? 0; + uint num = objectTable.LocalPlayer?.CurrentGp ?? 0; logger.LogTrace("Getting next actions (with {GP} GP, {MeticulousCollectability}~ meticulous, {ScourCollectability}~ scour)", num, nodeCondition.CollectabilityFromMeticulous, nodeCondition.CollectabilityFromScour); Queue queue = new Queue(); uint num2 = nodeCondition.CollectabilityToGoal(base.Task.Request.Collectability); @@ -166,14 +217,14 @@ internal static class DoGatherCollectable queue.Enqueue(PickAction(EAction.MeticulousMiner, EAction.MeticulousBotanist)); return queue; } - logger.LogTrace("Scrutiny active, need {NeededCollectability} and we expect {Collectability}~ scour", num2, nodeCondition.CollectabilityFromScour); + logger.LogTrace("Scrutiny inactive, need {NeededCollectability} and we expect {Collectability}~ scour", num2, nodeCondition.CollectabilityFromScour); queue.Enqueue(PickAction(EAction.ScourMiner, EAction.ScourBotanist)); return queue; } private EAction PickAction(EAction minerAction, EAction botanistAction) { - if ((objectTable[0] as ICharacter)?.ClassJob.RowId == 16) + if (objectTable.LocalPlayer?.ClassJob.RowId == 16) { return minerAction; } diff --git a/Questionable/Questionable.Controller.Steps.Gathering/MoveToLandingLocation.cs b/Questionable/Questionable.Controller.Steps.Gathering/MoveToLandingLocation.cs index 63ebb1a..125ee15 100644 --- a/Questionable/Questionable.Controller.Steps.Gathering/MoveToLandingLocation.cs +++ b/Questionable/Questionable.Controller.Steps.Gathering/MoveToLandingLocation.cs @@ -41,14 +41,14 @@ internal static class MoveToLandingLocation location = base.Task.GatheringNode.Locations.Single((GatheringLocation x) => Vector3.Distance(x.Position, gameObject.Position) < 0.1f); } var (vector, num, num2) = GatheringMath.CalculateLandingLocation(location); - logger.LogInformation("Preliminary landing location: {Location}, with degrees = {Degrees}, range = {Range}", vector.ToString("G", CultureInfo.InvariantCulture), num, num2); + logger.LogDebug("Preliminary landing location: {Location}, with degrees = {Degrees}, range = {Range}", vector.ToString("G", CultureInfo.InvariantCulture), num, num2); bool flag = base.Task.FlyBetweenNodes && gameFunctions.IsFlyingUnlocked(base.Task.TerritoryId); ushort territoryId = base.Task.TerritoryId; Vector3 destination = vector; float? stopDistance = 0.25f; uint? dataId = base.Task.GatheringNode.DataId; bool fly = flag; - _moveTask = new MoveTask(territoryId, destination, null, stopDistance, dataId, DisableNavmesh: false, null, fly, Land: false, IgnoreDistanceToObject: true, RestartNavigation: true, EInteractionType.Gather); + _moveTask = new MoveTask(territoryId, destination, null, MountRequired: false, DismountRequired: false, stopDistance, dataId, DisableNavmesh: false, null, fly, Land: false, IgnoreDistanceToObject: true, RestartNavigation: true, EInteractionType.Gather); return moveExecutor.Start(_moveTask); } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/Action.cs b/Questionable/Questionable.Controller.Steps.Interactions/Action.cs index 3522fcd..87e7f7a 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/Action.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/Action.cs @@ -63,11 +63,28 @@ internal static class Action } } - internal sealed class UseOnObjectExecutor(GameFunctions gameFunctions, QuestFunctions questFunctions, ILogger logger) : TaskExecutor() + internal sealed class UseOnObjectExecutor(GameFunctions gameFunctions, QuestFunctions questFunctions, ILogger logger) : TaskExecutor() { private bool _usedAction; - private DateTime _continueAt = DateTime.MinValue; + private long _continueAt; + + private bool _waitingForQuestFlags; + + private long _questFlagWaitStarted; + + public override bool HasTimedOut(float timeoutSeconds) + { + if (!_waitingForQuestFlags) + { + return false; + } + if (base.ProgressContext != null) + { + return base.HasTimedOut(timeoutSeconds); + } + return Environment.TickCount64 - _questFlagWaitStarted > (long)(timeoutSeconds * 1000f); + } protected override bool Start() { @@ -76,33 +93,30 @@ internal static class Action IGameObject gameObject = gameFunctions.FindObjectByDataId(base.Task.DataId.Value); if (gameObject == null) { - logger.LogWarning("No game object with dataId {DataId}", base.Task.DataId); - return false; + logger.LogDebug("Object with dataId {DataId} not found yet, waiting", base.Task.DataId); + return true; } if (gameObject.IsTargetable) { if (base.Task.Action == EAction.Diagnosis && gameFunctions.HasStatus(EStatus.Eukrasia) && GameFunctions.RemoveStatus(EStatus.Eukrasia)) { - _continueAt = DateTime.Now.AddSeconds(2.0); + _continueAt = Environment.TickCount64 + 2000; return true; } _usedAction = gameFunctions.UseAction(gameObject, base.Task.Action); - _continueAt = DateTime.Now.AddSeconds(0.5); + _continueAt = Environment.TickCount64 + 500; return true; } - logger.LogInformation("Object {DataId} is untargetable, using action {Action} without target", base.Task.DataId, base.Task.Action); - _usedAction = gameFunctions.UseAction(base.Task.Action); - _continueAt = DateTime.Now.AddSeconds(0.5); - return true; + logger.LogDebug("Object {DataId} is untargetable, using action {Action} without target", base.Task.DataId, base.Task.Action); } _usedAction = gameFunctions.UseAction(base.Task.Action); - _continueAt = DateTime.Now.AddSeconds(0.5); + _continueAt = Environment.TickCount64 + 500; return true; } public override ETaskResult Update() { - if (DateTime.Now <= _continueAt) + if (Environment.TickCount64 <= _continueAt) { return ETaskResult.StillRunning; } @@ -115,31 +129,29 @@ internal static class Action { return ETaskResult.StillRunning; } - if (gameObject.IsTargetable) - { - _usedAction = gameFunctions.UseAction(gameObject, base.Task.Action); - } - else - { - _usedAction = gameFunctions.UseAction(base.Task.Action); - } - _continueAt = DateTime.Now.AddSeconds(0.5); + _usedAction = (gameObject.IsTargetable ? gameFunctions.UseAction(gameObject, base.Task.Action) : gameFunctions.UseAction(base.Task.Action)); } else { _usedAction = gameFunctions.UseAction(base.Task.Action); - _continueAt = DateTime.Now.AddSeconds(0.5); } + _continueAt = Environment.TickCount64 + 500; return ETaskResult.StillRunning; } if (base.Task.Quest != null && base.Task.CompletionQuestVariablesFlags != null && QuestWorkUtils.HasCompletionFlags(base.Task.CompletionQuestVariablesFlags)) { - QuestProgressInfo questProgressInfo = questFunctions.GetQuestProgressInfo(base.Task.Quest.Id); - if (questProgressInfo == null || !QuestWorkUtils.MatchesQuestWork(base.Task.CompletionQuestVariablesFlags, questProgressInfo)) + if (!_waitingForQuestFlags) { - return ETaskResult.StillRunning; + _waitingForQuestFlags = true; + _questFlagWaitStarted = Environment.TickCount64; } - return ETaskResult.TaskComplete; + QuestProgressInfo questProgressInfo = questFunctions.GetQuestProgressInfo(base.Task.Quest.Id); + if (questProgressInfo != null && QuestWorkUtils.MatchesQuestWork(base.Task.CompletionQuestVariablesFlags, questProgressInfo)) + { + ResetProgressTimer(); + return ETaskResult.TaskComplete; + } + return ETaskResult.StillRunning; } return ETaskResult.TaskComplete; } @@ -158,7 +170,7 @@ internal static class Action } } - internal sealed class UseMudraOnObjectExecutor(GameFunctions gameFunctions, ILogger logger) : TaskExecutor() + internal sealed class UseMudraOnObjectExecutor(GameFunctions gameFunctions, ILogger logger) : TaskExecutor() { private static readonly ReadOnlyDictionary> Combos = new Dictionary> { @@ -200,7 +212,7 @@ internal static class Action } }.AsReadOnly(); - private DateTime _continueAt = DateTime.MinValue; + private long _continueAt; protected override bool Start() { @@ -209,14 +221,14 @@ internal static class Action public unsafe override ETaskResult Update() { - if (DateTime.Now < _continueAt) + if (Environment.TickCount64 < _continueAt) { return ETaskResult.StillRunning; } EAction adjustedActionId = (EAction)ActionManager.Instance()->GetAdjustedActionId(2260u); if (adjustedActionId == EAction.RabbitMedium) { - _continueAt = DateTime.Now.AddSeconds(1.0); + _continueAt = Environment.TickCount64 + 1000; return ETaskResult.StillRunning; } IGameObject gameObject = gameFunctions.FindObjectByDataId(base.Task.DataId); @@ -226,7 +238,7 @@ internal static class Action } if (adjustedActionId == base.Task.Action) { - _continueAt = DateTime.Now.AddSeconds(0.25); + _continueAt = Environment.TickCount64 + 250; if (!gameFunctions.UseAction(gameObject, base.Task.Action)) { return ETaskResult.StillRunning; @@ -237,11 +249,11 @@ internal static class Action { if (value.TryGetValue(adjustedActionId, out var value2)) { - _continueAt = DateTime.Now.AddSeconds(0.25); + _continueAt = Environment.TickCount64 + 250; gameFunctions.UseAction(value2); return ETaskResult.StillRunning; } - _continueAt = DateTime.Now.AddSeconds(0.25); + _continueAt = Environment.TickCount64 + 250; return ETaskResult.StillRunning; } logger.LogError("Unable to find relevant combo for {Action}", base.Task.Action); @@ -264,6 +276,13 @@ internal static class Action internal sealed class TriggerStatusIfMissingExecutor(GameFunctions gameFunctions) : TaskExecutor() { + private long _startedAt; + + public override bool HasTimedOut(float timeoutSeconds) + { + return Environment.TickCount64 - _startedAt > (long)(timeoutSeconds * 1000f); + } + protected override bool Start() { if (gameFunctions.HasStatus(base.Task.Status)) @@ -271,6 +290,7 @@ internal static class Action return false; } gameFunctions.UseAction(base.Task.Action); + _startedAt = Environment.TickCount64; return true; } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/AetherCurrent.cs b/Questionable/Questionable.Controller.Steps.Interactions/AetherCurrent.cs index 5c85bda..b549ae1 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/AetherCurrent.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/AetherCurrent.cs @@ -47,23 +47,36 @@ internal static class AetherCurrent { protected override bool Start() { - if (!gameFunctions.IsAetherCurrentUnlocked(base.Task.AetherCurrentId)) + if (!GameFunctions.IsAetherCurrentUnlocked(base.Task.AetherCurrentId)) { logger.LogInformation("Attuning to aether current {AetherCurrentId} / {DataId}", base.Task.AetherCurrentId, base.Task.DataId); base.ProgressContext = InteractionProgressContext.FromActionUseOrDefault(() => gameFunctions.InteractWith(base.Task.DataId, ObjectKind.EventObj)); return true; } - logger.LogInformation("Already attuned to aether current {AetherCurrentId} / {DataId}", base.Task.AetherCurrentId, base.Task.DataId); + logger.LogDebug("Already attuned to aether current {AetherCurrentId} / {DataId}", base.Task.AetherCurrentId, base.Task.DataId); return false; } public override ETaskResult Update() { - if (!gameFunctions.IsAetherCurrentUnlocked(base.Task.AetherCurrentId)) + if (GameFunctions.IsAetherCurrentUnlocked(base.Task.AetherCurrentId)) { - return ETaskResult.StillRunning; + ResetProgressTimer(); + return ETaskResult.TaskComplete; } - return ETaskResult.TaskComplete; + if (base.ProgressContext != null) + { + if (base.ProgressContext.WasInterrupted()) + { + logger.LogDebug("Aether current {AetherCurrentId} attunement was interrupted", base.Task.AetherCurrentId); + return ETaskResult.StillRunning; + } + if (base.ProgressContext.WasSuccessful()) + { + ResetProgressTimer(); + } + } + return ETaskResult.StillRunning; } public override bool ShouldInterruptOnDamage() diff --git a/Questionable/Questionable.Controller.Steps.Interactions/AethernetShard.cs b/Questionable/Questionable.Controller.Steps.Interactions/AethernetShard.cs index f769b9c..0f993b9 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/AethernetShard.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/AethernetShard.cs @@ -1,10 +1,9 @@ using System; -using Dalamud.Game.ClientState.Objects.Enums; using Microsoft.Extensions.Logging; using Questionable.Functions; using Questionable.Model; -using Questionable.Model.Common; using Questionable.Model.Questing; +using SmartNav.Model; namespace Questionable.Controller.Steps.Interactions; @@ -36,32 +35,16 @@ internal static class AethernetShard } } - internal sealed class DoAttune(AetheryteFunctions aetheryteFunctions, GameFunctions gameFunctions, ILogger logger) : TaskExecutor() + internal sealed class DoAttune : Aetheryte.DoAttuneBase { - protected override bool Start() + public DoAttune(AetheryteFunctions aetheryteFunctions, GameFunctions gameFunctions, ILogger logger) + : base(aetheryteFunctions, gameFunctions, (ILogger)logger, "aethernet shard") { - if (!aetheryteFunctions.IsAetheryteUnlocked(base.Task.AetheryteLocation)) - { - logger.LogInformation("Attuning to aethernet shard {AethernetShard}", base.Task.AetheryteLocation); - base.ProgressContext = InteractionProgressContext.FromActionUseOrDefault(() => gameFunctions.InteractWith((uint)base.Task.AetheryteLocation, ObjectKind.Aetheryte)); - return true; - } - logger.LogInformation("Already attuned to aethernet shard {AethernetShard}", base.Task.AetheryteLocation); - return false; } - public override ETaskResult Update() + protected override EAetheryteLocation GetLocation() { - if (!aetheryteFunctions.IsAetheryteUnlocked(base.Task.AetheryteLocation)) - { - return ETaskResult.StillRunning; - } - return ETaskResult.TaskComplete; - } - - public override bool ShouldInterruptOnDamage() - { - return true; + return base.Task.AetheryteLocation; } } } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/Aetheryte.cs b/Questionable/Questionable.Controller.Steps.Interactions/Aetheryte.cs index bea4095..60b8123 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/Aetheryte.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/Aetheryte.cs @@ -3,8 +3,8 @@ using Dalamud.Game.ClientState.Objects.Enums; using Microsoft.Extensions.Logging; using Questionable.Functions; using Questionable.Model; -using Questionable.Model.Common; using Questionable.Model.Questing; +using SmartNav.Model; namespace Questionable.Controller.Steps.Interactions; @@ -36,27 +36,43 @@ internal static class Aetheryte } } - internal sealed class DoAttune(AetheryteFunctions aetheryteFunctions, GameFunctions gameFunctions, ILogger logger) : TaskExecutor() + internal abstract class DoAttuneBase(AetheryteFunctions aetheryteFunctions, GameFunctions gameFunctions, ILogger logger, string label) : TaskExecutor() where T : class, ITask { + protected abstract EAetheryteLocation GetLocation(); + protected override bool Start() { - if (!aetheryteFunctions.IsAetheryteUnlocked(base.Task.AetheryteLocation)) + EAetheryteLocation location = GetLocation(); + if (!_003CaetheryteFunctions_003EP.IsAetheryteUnlocked(location)) { - logger.LogInformation("Attuning to aetheryte {Aetheryte}", base.Task.AetheryteLocation); - base.ProgressContext = InteractionProgressContext.FromActionUseOrDefault(() => gameFunctions.InteractWith((uint)base.Task.AetheryteLocation, ObjectKind.Aetheryte)); + _003Clogger_003EP.LogInformation("Attuning to {Label} {Location}", _003Clabel_003EP, location); + base.ProgressContext = InteractionProgressContext.FromActionUseOrDefault(() => _003CgameFunctions_003EP.InteractWith((uint)location, ObjectKind.Aetheryte)); return true; } - logger.LogInformation("Already attuned to aetheryte {Aetheryte}", base.Task.AetheryteLocation); + _003Clogger_003EP.LogDebug("Already attuned to {Label} {Location}", _003Clabel_003EP, location); return false; } public override ETaskResult Update() { - if (!aetheryteFunctions.IsAetheryteUnlocked(base.Task.AetheryteLocation)) + if (_003CaetheryteFunctions_003EP.IsAetheryteUnlocked(GetLocation())) { - return ETaskResult.StillRunning; + ResetProgressTimer(); + return ETaskResult.TaskComplete; } - return ETaskResult.TaskComplete; + if (base.ProgressContext != null) + { + if (base.ProgressContext.WasInterrupted()) + { + _003Clogger_003EP.LogDebug("Attunement to {Label} {Location} was interrupted", _003Clabel_003EP, GetLocation()); + return ETaskResult.StillRunning; + } + if (base.ProgressContext.WasSuccessful()) + { + ResetProgressTimer(); + } + } + return ETaskResult.StillRunning; } public override bool ShouldInterruptOnDamage() @@ -64,4 +80,17 @@ internal static class Aetheryte return true; } } + + internal sealed class DoAttune : DoAttuneBase + { + public DoAttune(AetheryteFunctions aetheryteFunctions, GameFunctions gameFunctions, ILogger logger) + : base(aetheryteFunctions, gameFunctions, (ILogger)logger, "aetheryte") + { + } + + protected override EAetheryteLocation GetLocation() + { + return base.Task.AetheryteLocation; + } + } } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/AetheryteFreeOrFavored.cs b/Questionable/Questionable.Controller.Steps.Interactions/AetheryteFreeOrFavored.cs index 27e12d6..0340202 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/AetheryteFreeOrFavored.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/AetheryteFreeOrFavored.cs @@ -3,8 +3,8 @@ using Dalamud.Game.ClientState.Objects.Enums; using Microsoft.Extensions.Logging; using Questionable.Functions; using Questionable.Model; -using Questionable.Model.Common; using Questionable.Model.Questing; +using SmartNav.Model; namespace Questionable.Controller.Steps.Interactions; @@ -46,7 +46,7 @@ internal static class AetheryteFreeOrFavored } if (aetheryteFunctions.CanRegisterFreeOrFavoriteAetheryte(base.Task.AetheryteLocation) == AetheryteRegistrationResult.NotPossible) { - logger.LogInformation("Could not register aetheryte {AetheryteLocation} as free or favored", base.Task.AetheryteLocation); + logger.LogDebug("Could not register aetheryte {AetheryteLocation} as free or favored", base.Task.AetheryteLocation); return false; } base.ProgressContext = InteractionProgressContext.FromActionUseOrDefault(() => gameFunctions.InteractWith((uint)base.Task.AetheryteLocation, ObjectKind.Aetheryte)); @@ -55,11 +55,24 @@ internal static class AetheryteFreeOrFavored public override ETaskResult Update() { - if (aetheryteFunctions.CanRegisterFreeOrFavoriteAetheryte(base.Task.AetheryteLocation) != AetheryteRegistrationResult.NotPossible) + if (aetheryteFunctions.CanRegisterFreeOrFavoriteAetheryte(base.Task.AetheryteLocation) == AetheryteRegistrationResult.NotPossible) { - return ETaskResult.StillRunning; + ResetProgressTimer(); + return ETaskResult.TaskComplete; } - return ETaskResult.TaskComplete; + if (base.ProgressContext != null) + { + if (base.ProgressContext.WasInterrupted()) + { + logger.LogDebug("Registration of {Location} was interrupted", base.Task.AetheryteLocation); + return ETaskResult.StillRunning; + } + if (base.ProgressContext.WasSuccessful()) + { + ResetProgressTimer(); + } + } + return ETaskResult.StillRunning; } public override bool ShouldInterruptOnDamage() diff --git a/Questionable/Questionable.Controller.Steps.Interactions/AutoVendorPurchase.cs b/Questionable/Questionable.Controller.Steps.Interactions/AutoVendorPurchase.cs new file mode 100644 index 0000000..b370eba --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Interactions/AutoVendorPurchase.cs @@ -0,0 +1,36 @@ +using System.Collections.Generic; +using Microsoft.Extensions.Logging; +using Questionable.Controller.CustomDelivery; +using Questionable.Controller.Steps.Common; +using Questionable.Model; +using Questionable.Model.Questing; +using Questionable.Navigation; + +namespace Questionable.Controller.Steps.Interactions; + +internal static class AutoVendorPurchase +{ + internal sealed class Factory(VendorResolverService vendorResolver, SmartNavRouteEnqueuer routeEnqueuer, ILogger logger) : ITaskFactory + { + public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + if (step.InteractionType != EInteractionType.PurchaseItem || step.DataId.HasValue || !step.ItemId.HasValue) + { + yield break; + } + VendorResolverService.VendorInfo? vendor = vendorResolver.ResolveVendor(step.ItemId.Value); + if (!vendor.HasValue) + { + logger.LogWarning("No vendor with a known location sells item {ItemId}; cannot auto-purchase", step.ItemId); + yield break; + } + int quantity = step.ItemCount ?? 1; + foreach (ITask item in routeEnqueuer.BuildRoutedTasks(vendor.Value.TerritoryId, vendor.Value.Position)) + { + yield return item; + } + yield return new Mount.UnmountTask(); + yield return new VendorPurchaseTask(vendor.Value.VendorNpcId, new global::_003C_003Ez__ReadOnlySingleElementList(new VendorPurchaseTask.PurchaseItem(step.ItemId.Value, quantity)), vendor.Value.DialogOptionIndex); + } + } +} diff --git a/Questionable/Questionable.Controller.Steps.Interactions/ClearObjectsWithAction.cs b/Questionable/Questionable.Controller.Steps.Interactions/ClearObjectsWithAction.cs index c01bdbf..69881c8 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/ClearObjectsWithAction.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/ClearObjectsWithAction.cs @@ -2,6 +2,7 @@ using System; using System.Collections.Generic; using System.Numerics; using Dalamud.Game.ClientState.Objects.Enums; +using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin.Services; using Microsoft.Extensions.Logging; @@ -62,11 +63,11 @@ internal static class ClearObjectsWithAction private State _state; - private DateTime _noObjectFoundSince = DateTime.MaxValue; + private long? _noObjectFoundSince; - private DateTime _waitUntil = DateTime.MinValue; + private long _waitUntil; - private DateTime _waypointReachedAt = DateTime.MaxValue; + private long? _waypointReachedAt; private Vector3 _lastPlayerPosition; @@ -97,8 +98,8 @@ internal static class ClearObjectsWithAction private IGameObject? FindNearestUnvisitedObject() { - IGameObject gameObject = objectTable[0]; - if (gameObject == null) + IPlayerCharacter localPlayer = objectTable.LocalPlayer; + if (localPlayer == null) { return null; } @@ -107,22 +108,10 @@ internal static class ClearObjectsWithAction foreach (IGameObject item in objectTable) { ObjectKind objectKind = item.ObjectKind; - if ((objectKind == ObjectKind.Pc || objectKind - 8 <= ObjectKind.BattleNpc || objectKind == ObjectKind.HousingEventObject) ? true : false) + bool flag = ((objectKind == ObjectKind.Pc || objectKind - 8 <= ObjectKind.BattleNpc || objectKind == ObjectKind.HousingEventObject) ? true : false); + if (!flag && base.Task.DataIds.Contains(item.BaseId) && !IsVisitedPosition(item.Position)) { - continue; - } - bool flag = false; - foreach (uint dataId in base.Task.DataIds) - { - if (item.BaseId == dataId) - { - flag = true; - break; - } - } - if (flag && !IsVisitedPosition(item.Position)) - { - float num2 = Vector3.Distance(gameObject.Position, item.Position); + float num2 = Vector3.Distance(localPlayer.Position, item.Position); if (num2 < num) { result = item; @@ -138,16 +127,10 @@ internal static class ClearObjectsWithAction foreach (IGameObject item in objectTable) { ObjectKind objectKind = item.ObjectKind; - if ((objectKind == ObjectKind.Pc || objectKind - 8 <= ObjectKind.BattleNpc || objectKind == ObjectKind.HousingEventObject) ? true : false) + bool flag = ((objectKind == ObjectKind.Pc || objectKind - 8 <= ObjectKind.BattleNpc || objectKind == ObjectKind.HousingEventObject) ? true : false); + if (!flag && base.Task.DataIds.Contains(item.BaseId)) { - continue; - } - foreach (uint dataId in base.Task.DataIds) - { - if (item.BaseId == dataId) - { - return true; - } + return true; } } return false; @@ -159,15 +142,17 @@ internal static class ClearObjectsWithAction if (gameObject == null) { _state = State.FindingObject; - if (_noObjectFoundSince == DateTime.MaxValue) + long valueOrDefault = _noObjectFoundSince.GetValueOrDefault(); + if (!_noObjectFoundSince.HasValue) { - _noObjectFoundSince = DateTime.Now; + valueOrDefault = Environment.TickCount64; + _noObjectFoundSince = valueOrDefault; } return true; } - _noObjectFoundSince = DateTime.MaxValue; + _noObjectFoundSince = null; Vector3 position = gameObject.Position; - logger.LogInformation("Moving to object {DataId} at {Position}", gameObject.BaseId, position); + logger.LogDebug("Moving to object {DataId} at {Position}", gameObject.BaseId, position); movementController.NavigateTo(EMovementType.Quest, gameObject.BaseId, position, fly: false, sprint: true, base.Task.StopDistance); _state = State.MovingToObject; return true; @@ -175,8 +160,8 @@ internal static class ClearObjectsWithAction private (Vector3 Position, int Index)? FindNextWaypoint() { - IGameObject gameObject = objectTable[0]; - if (gameObject == null || base.Task.WaypointPositions.Count == 0) + IPlayerCharacter localPlayer = objectTable.LocalPlayer; + if (localPlayer == null || base.Task.WaypointPositions.Count == 0) { return null; } @@ -186,7 +171,7 @@ internal static class ClearObjectsWithAction { if (!_triedWaypointIndices.Contains(i)) { - float num2 = Vector3.Distance(gameObject.Position, base.Task.WaypointPositions[i]); + float num2 = Vector3.Distance(localPlayer.Position, base.Task.WaypointPositions[i]); if (num2 < num) { result = (base.Task.WaypointPositions[i], i); @@ -202,19 +187,19 @@ internal static class ClearObjectsWithAction (Vector3, int)? tuple = FindNextWaypoint(); if (!tuple.HasValue) { - logger.LogInformation("All waypoints tried without transition, resetting"); + logger.LogDebug("All waypoints tried without transition, resetting"); _triedWaypointIndices.Clear(); tuple = FindNextWaypoint(); if (!tuple.HasValue) { logger.LogWarning("No waypoint positions configured, waiting for transition"); _state = State.WaitingForTransition; - _lastPlayerPosition = objectTable[0]?.Position ?? Vector3.Zero; + _lastPlayerPosition = objectTable.LocalPlayer?.Position ?? Vector3.Zero; return; } } _triedWaypointIndices.Add(tuple.Value.Item2); - logger.LogInformation("Moving to waypoint {Index} at {Position}", tuple.Value.Item2, tuple.Value.Item1); + logger.LogDebug("Moving to waypoint {Index} at {Position}", tuple.Value.Item2, tuple.Value.Item1); movementController.NavigateTo(EMovementType.Quest, null, tuple.Value.Item1, fly: false, sprint: true, 0f); _state = State.MovingToWaypoint; } @@ -228,44 +213,50 @@ internal static class ClearObjectsWithAction switch (_state) { case State.FindingObject: - if (_noObjectFoundSince != DateTime.MaxValue && DateTime.Now > _noObjectFoundSince.AddSeconds(3.0)) + { + long? waypointReachedAt = _noObjectFoundSince; + if (waypointReachedAt.HasValue) { - if (AnyMatchingObjectsExist()) + long valueOrDefault2 = waypointReachedAt.GetValueOrDefault(); + if (Environment.TickCount64 > valueOrDefault2 + 3000) { - logger.LogInformation("Matching objects still exist, clearing visited positions and retrying"); - _visitedPositions.Clear(); - _noObjectFoundSince = DateTime.MaxValue; + if (AnyMatchingObjectsExist()) + { + logger.LogDebug("Matching objects still exist, clearing visited positions and retrying"); + _visitedPositions.Clear(); + _noObjectFoundSince = null; + } + else + { + logger.LogDebug("No matching objects remain, moving to waypoint"); + NavigateToNextWaypoint(); + } + return ETaskResult.StillRunning; } - else - { - logger.LogInformation("No matching objects remain, moving to waypoint"); - NavigateToNextWaypoint(); - } - return ETaskResult.StillRunning; } TryFindAndMove(); return ETaskResult.StillRunning; + } case State.MovingToObject: { if (movementController.IsPathfinding || movementController.IsPathRunning) { return ETaskResult.StillRunning; } - DateTime movementStartedAt = movementController.MovementStartedAt; - if (movementStartedAt == DateTime.MaxValue || movementStartedAt.AddSeconds(2.0) >= DateTime.Now) + if (!movementController.HasBeenMovingForAtLeast(2000)) { return ETaskResult.StillRunning; } - IGameObject gameObject2 = FindNearestUnvisitedObject(); - IGameObject gameObject3 = objectTable[0]; - if (gameObject2 != null && gameObject3 != null && Vector3.Distance(gameObject3.Position, gameObject2.Position) <= 5f) + IGameObject gameObject = FindNearestUnvisitedObject(); + IPlayerCharacter localPlayer2 = objectTable.LocalPlayer; + if (gameObject != null && localPlayer2 != null && Vector3.Distance(localPlayer2.Position, gameObject.Position) <= 5f) { - _visitedPositions.Add(gameObject2.Position); + _visitedPositions.Add(gameObject.Position); _state = State.UsingAction; } else { - logger.LogInformation("Target no longer valid at destination, finding next"); + logger.LogDebug("Target no longer valid at destination, finding next"); TryFindAndMove(); } return ETaskResult.StillRunning; @@ -273,64 +264,62 @@ internal static class ClearObjectsWithAction case State.UsingAction: if (gameFunctions.UseAction(base.Task.Action)) { - logger.LogInformation("Used action {Action}", base.Task.Action); - _waitUntil = DateTime.Now.AddSeconds(1.0); + logger.LogDebug("Used action {Action}", base.Task.Action); + _waitUntil = Environment.TickCount64 + 1000; _state = State.WaitingAfterAction; } return ETaskResult.StillRunning; case State.WaitingAfterAction: - if (DateTime.Now < _waitUntil) + if (Environment.TickCount64 < _waitUntil) { return ETaskResult.StillRunning; } TryFindAndMove(); return ETaskResult.StillRunning; case State.MovingToWaypoint: - { if (movementController.IsPathfinding || movementController.IsPathRunning) { return ETaskResult.StillRunning; } - DateTime movementStartedAt2 = movementController.MovementStartedAt; - if (movementStartedAt2 == DateTime.MaxValue || movementStartedAt2.AddSeconds(2.0) >= DateTime.Now) + if (!movementController.HasBeenMovingForAtLeast(2000)) { return ETaskResult.StillRunning; } - logger.LogInformation("Reached waypoint, waiting for zone transition"); + logger.LogDebug("Reached waypoint, waiting for zone transition"); _state = State.WaitingForTransition; - _lastPlayerPosition = objectTable[0]?.Position ?? Vector3.Zero; - _waypointReachedAt = DateTime.Now; + _lastPlayerPosition = objectTable.LocalPlayer?.Position ?? Vector3.Zero; + _waypointReachedAt = Environment.TickCount64; return ETaskResult.StillRunning; - } case State.WaitingForTransition: { - IGameObject gameObject = objectTable[0]; - if (gameObject != null) + IPlayerCharacter localPlayer = objectTable.LocalPlayer; + if (localPlayer != null) { - float num = Vector3.Distance(_lastPlayerPosition, gameObject.Position); + float num = Vector3.Distance(_lastPlayerPosition, localPlayer.Position); if (num > 50f) { - logger.LogInformation("Zone transition detected (moved {Distance}), resuming plant clearing", num); - _visitedPositions.Clear(); - _triedWaypointIndices.Clear(); - _noObjectFoundSince = DateTime.MaxValue; + logger.LogDebug("Zone transition detected (moved {Distance}), resuming plant clearing", num); + ResetSearchState(); _state = State.FindingObject; return ETaskResult.StillRunning; } } if (FindNearestUnvisitedObject() != null) { - logger.LogInformation("New objects detected, resuming plant clearing"); - _visitedPositions.Clear(); - _triedWaypointIndices.Clear(); - _noObjectFoundSince = DateTime.MaxValue; + logger.LogDebug("New objects detected, resuming plant clearing"); + ResetSearchState(); TryFindAndMove(); return ETaskResult.StillRunning; } - if (_waypointReachedAt != DateTime.MaxValue && DateTime.Now > _waypointReachedAt.AddSeconds(3.0)) + long? waypointReachedAt = _waypointReachedAt; + if (waypointReachedAt.HasValue) { - logger.LogInformation("No transition at this waypoint, trying next"); - NavigateToNextWaypoint(); + long valueOrDefault = waypointReachedAt.GetValueOrDefault(); + if (Environment.TickCount64 > valueOrDefault + 3000) + { + logger.LogDebug("No transition at this waypoint, trying next"); + NavigateToNextWaypoint(); + } } return ETaskResult.StillRunning; } @@ -339,6 +328,13 @@ internal static class ClearObjectsWithAction } } + private void ResetSearchState() + { + _visitedPositions.Clear(); + _triedWaypointIndices.Clear(); + _noObjectFoundSince = null; + } + public override bool ShouldInterruptOnDamage() { return false; diff --git a/Questionable/Questionable.Controller.Steps.Interactions/Combat.cs b/Questionable/Questionable.Controller.Steps.Interactions/Combat.cs index d338175..90c3b7a 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/Combat.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/Combat.cs @@ -21,7 +21,8 @@ internal static class Combat yield break; } ArgumentNullException.ThrowIfNull(step.EnemySpawnType, "step.EnemySpawnType"); - if (gameFunctions.GetMountId() != 128 && gameFunctions.GetMountId() != 147) + ushort? mountId = gameFunctions.GetMountId(); + if (mountId != 128 && mountId != 147) { yield return new Mount.UnmountTask(); } @@ -152,6 +153,8 @@ internal static class Combat { private CombatController.EStatus _status; + private long _combatEndedAtMs; + protected override bool Start() { return combatController.Start(base.Task.CombatData); @@ -160,10 +163,31 @@ internal static class Combat public override ETaskResult Update() { _status = combatController.Update(); + if (base.Task.CombatData.ElementId is QuestId elementId) + { + QuestProgressInfo questProgressInfo = questFunctions.GetQuestProgressInfo(elementId); + if (questProgressInfo != null && AreQuestCombatFlagsMet(questProgressInfo)) + { + combatController.Stop("Quest combat objective met"); + return ETaskResult.TaskComplete; + } + } if (_status != CombatController.EStatus.Complete) { + _combatEndedAtMs = 0L; return ETaskResult.StillRunning; } + if (base.Task.CombatData.SpawnType == EEnemySpawnType.QuestInterruption) + { + if (_combatEndedAtMs == 0L) + { + _combatEndedAtMs = Environment.TickCount64; + } + if (Environment.TickCount64 - _combatEndedAtMs < 2000) + { + return ETaskResult.StillRunning; + } + } if (base.Task.CombatData.ComplexCombatDatas.Any((ComplexCombatData x) => x.MinimumKillCount.HasValue)) { if ((from x in base.Task.CombatData.ComplexCombatDatas.Select((ComplexCombatData ccd, int index) => (ccd: ccd, index: index)) @@ -175,19 +199,6 @@ internal static class Combat } return ETaskResult.StillRunning; } - if (QuestWorkUtils.HasCompletionFlags(base.Task.CompletionQuestVariableFlags) && base.Task.CombatData.ElementId is QuestId elementId) - { - QuestProgressInfo questProgressInfo = questFunctions.GetQuestProgressInfo(elementId); - if (questProgressInfo == null) - { - return ETaskResult.StillRunning; - } - if (QuestWorkUtils.MatchesQuestWork(base.Task.CompletionQuestVariableFlags, questProgressInfo)) - { - return ETaskResult.TaskComplete; - } - return ETaskResult.StillRunning; - } if (base.Task.IsLastStep) { return ETaskResult.StillRunning; @@ -196,6 +207,27 @@ internal static class Combat return ETaskResult.TaskComplete; } + private bool AreQuestCombatFlagsMet(QuestProgressInfo questWork) + { + if (QuestWorkUtils.HasCompletionFlags(base.Task.CompletionQuestVariableFlags) && QuestWorkUtils.MatchesQuestWork(base.Task.CompletionQuestVariableFlags, questWork)) + { + return true; + } + bool result = false; + foreach (ComplexCombatData complexCombatData in base.Task.CombatData.ComplexCombatDatas) + { + if (QuestWorkUtils.HasCompletionFlags(complexCombatData.CompletionQuestVariablesFlags)) + { + result = true; + if (!QuestWorkUtils.MatchesQuestWork(complexCombatData.CompletionQuestVariablesFlags, questWork)) + { + return false; + } + } + } + return result; + } + public override bool ShouldInterruptOnDamage() { return false; diff --git a/Questionable/Questionable.Controller.Steps.Interactions/CriticalEncounter.cs b/Questionable/Questionable.Controller.Steps.Interactions/CriticalEncounter.cs new file mode 100644 index 0000000..164b672 --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Interactions/CriticalEncounter.cs @@ -0,0 +1,105 @@ +using System; +using System.Collections.Generic; +using LLib.GameData; +using Microsoft.Extensions.Logging; +using Questionable.Controller.Steps.Common; +using Questionable.Model; +using Questionable.Model.Questing; + +namespace Questionable.Controller.Steps.Interactions; + +internal static class CriticalEncounter +{ + internal sealed class Factory : ITaskFactory + { + public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + if (step.InteractionType != EInteractionType.CriticalEncounter) + { + return Array.Empty(); + } + ushort? criticalEncounterId = step.CriticalEncounterId; + if ((!criticalEncounterId.HasValue || criticalEncounterId.GetValueOrDefault() == 0) ? true : false) + { + throw new InvalidOperationException("CriticalEncounter step requires CriticalEncounterId"); + } + return new global::_003C_003Ez__ReadOnlySingleElementList(new WaitForCriticalEncounter(step.CriticalEncounterId.Value, step.Comment)); + } + } + + internal sealed record WaitForCriticalEncounter(ushort CriticalEncounterId, string? Comment) : ITask + { + public override string ToString() + { + return $"WaitForCriticalEncounter({CriticalEncounterId})"; + } + } + + internal sealed class WaitForCriticalEncounterExecutor(PublicEventHelper publicEventHelper, MovementController movementController, SendNotification.Executor sendNotificationExecutor, ILogger logger) : TaskExecutor() + { + private long _nextPollAt; + + private bool _loggedWaiting; + + private bool _notified; + + private bool _navigating; + + protected override bool Start() + { + logger.LogDebug("Waiting for critical encounter {Id}", base.Task.CriticalEncounterId); + return true; + } + + public override ETaskResult Update() + { + if (Environment.TickCount64 < _nextPollAt) + { + return ETaskResult.StillRunning; + } + PublicEvent? eventById = publicEventHelper.GetEventById(EPublicEventType.DynamicEvent, base.Task.CriticalEncounterId); + if (eventById.HasValue) + { + PublicEvent valueOrDefault = eventById.GetValueOrDefault(); + if (!_notified) + { + logger.LogInformation("Critical encounter {Id} ({Name}) is up", base.Task.CriticalEncounterId, valueOrDefault.Name); + sendNotificationExecutor.Start(new SendNotification.Task(EInteractionType.CriticalEncounter, base.Task.Comment ?? valueOrDefault.Name)); + _notified = true; + } + eventById = publicEventHelper.GetCurrentDynamicEvent(); + if (eventById.HasValue && eventById.GetValueOrDefault().Id == base.Task.CriticalEncounterId) + { + return ETaskResult.TaskComplete; + } + if (valueOrDefault.IsActive) + { + _nextPollAt = Environment.TickCount64 + 2000; + return ETaskResult.StillRunning; + } + if (!_navigating) + { + logger.LogInformation("Moving into critical encounter {Id} at {Position}", base.Task.CriticalEncounterId, valueOrDefault.Position); + movementController.NavigateTo(EMovementType.Quest, null, valueOrDefault.Position, fly: false, sprint: true, 5f); + _navigating = true; + } + _nextPollAt = Environment.TickCount64 + 1000; + return ETaskResult.StillRunning; + } + if (!_loggedWaiting) + { + logger.LogDebug("Critical encounter {Id} not active yet, waiting for spawn", base.Task.CriticalEncounterId); + _loggedWaiting = true; + } + _notified = false; + _navigating = false; + _nextPollAt = Environment.TickCount64 + 1000; + return ETaskResult.StillRunning; + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + } +} diff --git a/Questionable/Questionable.Controller.Steps.Interactions/Dive.cs b/Questionable/Questionable.Controller.Steps.Interactions/Dive.cs index f7ad257..08b327e 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/Dive.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/Dive.cs @@ -125,16 +125,14 @@ internal static class Dive KeyModifierFlag keyModifier = keySettings[0].KeyModifier; SeVirtualKey key2 = keySettings[1].Key; KeyModifierFlag keyModifier2 = keySettings[1].KeyModifier; - logger.LogInformation("Dive keybind: {Key1} + {Modifier1}, {Key2} + {Modifier2}", key, keyModifier, key2, keyModifier2); + logger.LogDebug("Dive keybind: {Key1} + {Modifier1}, {Key2} + {Modifier2}", key, keyModifier, key2, keyModifier2); int num = 2; List> list = new List>(num); CollectionsMarshal.SetCount(list, num); Span> span = CollectionsMarshal.AsSpan(list); span[0] = GetKeysToPress(key, keyModifier); span[1] = GetKeysToPress(key2, keyModifier2); - List list2 = (from x in list - where x != null - select (x)).MinBy((List x) => x.Count); + List list2 = list.OfType>().MinBy((List x) => x.Count); if (list2 == null || list2.Count == 0) { throw new TaskException("No useable keybind found for diving"); diff --git a/Questionable/Questionable.Controller.Steps.Interactions/Duty.cs b/Questionable/Questionable.Controller.Steps.Interactions/Duty.cs index afa27f0..a852306 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/Duty.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/Duty.cs @@ -1,11 +1,13 @@ using System; using System.Collections.Generic; using Dalamud.Game.ClientState.Conditions; +using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game; using FFXIVClientStructs.FFXIV.Client.Game.Group; using LLib.Gear; using Microsoft.Extensions.Logging; +using Questionable.Controller.CombatModules; using Questionable.Controller.Steps.Common; using Questionable.Controller.Steps.Shared; using Questionable.Controller.Utils; @@ -14,12 +16,13 @@ using Questionable.External; using Questionable.Functions; using Questionable.Model; using Questionable.Model.Questing; +using Questionable.Notifications; namespace Questionable.Controller.Steps.Interactions; internal static class Duty { - internal sealed class Factory(AutoDutyIpc autoDutyIpc, Configuration configuration) : ITaskFactory + internal sealed class Factory(AutoDutyIpc autoDutyIpc, WrathComboModule wrathComboModule, RotationSolverRebornModule rsrModule, BossModIpc bossModIpc, Configuration configuration, TerritoryData territoryData, GearStatsCalculator gearStatsCalculator, IObjectTable objectTable, ILogger logger) : ITaskFactory { public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) { @@ -28,37 +31,102 @@ internal static class Duty yield break; } ArgumentNullException.ThrowIfNull(step.DutyOptions, "step.DutyOptions"); + uint cfcId = step.DutyOptions.ContentFinderConditionId; + DutyRegistry.Duties.TryGetValue(cfcId, out DutyEntry value); + EDutyMode? registryDutyMode = value?.DutyMode; if (autoDutyIpc.IsConfiguredToRunContent(step.DutyOptions)) { - AutoDutyIpc.DutyMode dutyMode = GetDutyMode(step.DutyOptions.ContentFinderConditionId, step.DutyOptions.DutyMode); - if (dutyMode == AutoDutyIpc.DutyMode.UnsyncRegular && (step.DutyOptions.DutyMode == EDutyMode.UnsyncParty || (!step.DutyOptions.DutyMode.HasValue && configuration.Duties.DutyModeOverrides.TryGetValue(step.DutyOptions.ContentFinderConditionId, out var value) && value == EDutyMode.UnsyncParty) || (!step.DutyOptions.DutyMode.HasValue && !configuration.Duties.DutyModeOverrides.ContainsKey(step.DutyOptions.ContentFinderConditionId) && configuration.Duties.DefaultDutyMode == EDutyMode.UnsyncParty))) + EDutyMode effectiveEDutyMode = GetEffectiveEDutyMode(cfcId, registryDutyMode); + AutoDutyIpc.DutyMode dutyMode = ConvertToAutoDutyMode(effectiveEDutyMode); + if (dutyMode == AutoDutyIpc.DutyMode.UnsyncRegular && effectiveEDutyMode == EDutyMode.UnsyncParty) { yield return new WaitForPartyTask(); } - yield return new StartAutoDutyTask(step.DutyOptions.ContentFinderConditionId, dutyMode); - yield return new WaitAutoDutyTask(step.DutyOptions.ContentFinderConditionId); + if (!autoDutyIpc.ManagesRotationPluginState()) + { + if (wrathComboModule.IsAvailable()) + { + yield return new EnableWrathForDutyTask(); + } + else if (rsrModule.IsAvailable()) + { + yield return new EnableRsrForDutyTask(); + } + } + if (!autoDutyIpc.ManagesBossModAiSettings()) + { + if (configuration.General.CombatModule == Configuration.ECombatModule.BossMod && bossModIpc.IsSupported()) + { + yield return new EnableBossModForDutyTask(); + } + else if (bossModIpc.IsSupported()) + { + yield return new EnableBossModPassiveForDutyTask(); + } + } + yield return new StartAutoDutyTask(cfcId, dutyMode); + yield return new WaitAutoDutyTask(cfcId); + yield return new DisableCombatPluginsForDutyTask(); if (!QuestWorkUtils.HasCompletionFlags(step.CompletionQuestVariablesFlags)) { yield return new WaitAtEnd.WaitNextStepOrSequence(); } } - else if (!step.DutyOptions.LowPriority) + else if ((object)value == null || !value.LowPriority) { - yield return new OpenDutyFinderTask(step.DutyOptions.ContentFinderConditionId); + yield return new OpenDutyFinderTask(cfcId); } } - private AutoDutyIpc.DutyMode GetDutyMode(uint cfcId, EDutyMode? stepDutyMode) + private EDutyMode GetEffectiveEDutyMode(uint cfcId, EDutyMode? registryDutyMode) { - if (stepDutyMode.HasValue) + if (registryDutyMode.HasValue) { - return ConvertToAutoDutyMode(stepDutyMode.Value); + return registryDutyMode.Value; } if (configuration.Duties.DutyModeOverrides.TryGetValue(cfcId, out var value)) { - return ConvertToAutoDutyMode(value); + return value; } - return ConvertToAutoDutyMode(configuration.Duties.DefaultDutyMode); + EDutyMode defaultDutyMode = configuration.Duties.DefaultDutyMode; + if (defaultDutyMode == EDutyMode.Support && configuration.Duties.AutoUnsyncOverleveled && IsSafelyOverleveled(cfcId)) + { + logger.LogInformation("Running duty {CfcId} unsynced, as the player is safely overleveled", cfcId); + return EDutyMode.UnsyncSolo; + } + return defaultDutyMode; + } + + private unsafe bool IsSafelyOverleveled(uint cfcId) + { + if (!territoryData.TryGetContentFinderCondition(cfcId, out TerritoryData.ContentFinderConditionData contentFinderConditionData)) + { + return false; + } + if (!contentFinderConditionData.IsDungeon || !contentFinderConditionData.AllowUndersized || contentFinderConditionData.ClassJobLevelSync == 0) + { + return false; + } + int num = (objectTable.LocalPlayer?.Level ?? 0) - contentFinderConditionData.ClassJobLevelSync; + if (num >= 15) + { + return true; + } + if (num < 10) + { + return false; + } + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return false; + } + InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(InventoryType.EquippedItems); + if (inventoryContainer == null) + { + return false; + } + return gearStatsCalculator.CalculateAverageItemLevel(inventoryContainer) - contentFinderConditionData.RequiredItemLevel >= 100; } private static AutoDutyIpc.DutyMode ConvertToAutoDutyMode(EDutyMode mode) @@ -83,11 +151,14 @@ internal static class Duty internal sealed class WaitForPartyExecutor(IChatGui chatGui, ILogger logger) : TaskExecutor() { - private DateTime _lastWarningTime = DateTime.MinValue; + private long _warnNextMs; + + private long _startMs; protected override bool Start() { - logger.LogInformation("Waiting for party members before starting duty..."); + logger.LogDebug("Waiting for party members before starting duty..."); + _startMs = Environment.TickCount64; return true; } @@ -102,13 +173,20 @@ internal static class Duty bool isAlliance = ptr->MainGroup.IsAlliance; if (memberCount > 1 || isAlliance) { - logger.LogInformation("Party detected with {MemberCount} members, proceeding with duty", memberCount); + logger.LogDebug("Party detected with {MemberCount} members, proceeding with duty", memberCount); return ETaskResult.TaskComplete; } - if (DateTime.Now - _lastWarningTime > TimeSpan.FromSeconds(10L)) + long tickCount = Environment.TickCount64; + if (tickCount - _startMs > 300000) + { + logger.LogError("No party members joined within 5 minutes, stopping"); + chatGui.PrintError("No party members joined within 5 minutes, stopping.", "Questionable", 576); + return ETaskResult.End; + } + if (tickCount >= _warnNextMs) { chatGui.Print("[Questionable] Waiting for party members before starting duty (Unsync Party mode)...", "Questionable", 576); - _lastWarningTime = DateTime.Now; + _warnNextMs = tickCount + 10000; } return ETaskResult.StillRunning; } @@ -127,8 +205,10 @@ internal static class Duty } } - internal sealed class StartAutoDutyExecutor(GearStatsCalculator gearStatsCalculator, AutoDutyIpc autoDutyIpc, TerritoryData territoryData, IClientState clientState, IChatGui chatGui, SendNotification.Executor sendNotificationExecutor) : TaskExecutor(), IStoppableTaskExecutor, ITaskExecutor + internal sealed class StartAutoDutyExecutor(GearStatsCalculator gearStatsCalculator, AutoDutyIpc autoDutyIpc, TerritoryData territoryData, IClientState clientState, IChatGui chatGui, ILogger logger, SendNotification.Executor sendNotificationExecutor) : TaskExecutor(), IStoppableTaskExecutor, ITaskExecutor { + private long _startMs; + protected unsafe override bool Start() { if (!territoryData.TryGetContentFinderCondition(base.Task.ContentFinderConditionId, out TerritoryData.ContentFinderConditionData contentFinderConditionData)) @@ -159,6 +239,7 @@ internal static class Duty } } autoDutyIpc.StartInstance(base.Task.ContentFinderConditionId, base.Task.DutyMode); + _startMs = Environment.TickCount64; return true; } @@ -168,11 +249,21 @@ internal static class Duty { throw new TaskException("Failed to get territory ID for content finder condition"); } - if (clientState.TerritoryType != contentFinderConditionData.TerritoryId) + if (clientState.TerritoryType == contentFinderConditionData.TerritoryId) + { + return ETaskResult.TaskComplete; + } + if (!autoDutyIpc.IsStopped()) { return ETaskResult.StillRunning; } - return ETaskResult.TaskComplete; + if (Environment.TickCount64 - _startMs < 10000) + { + return ETaskResult.StillRunning; + } + logger.LogError("AutoDuty stopped without entering duty {CfcId} after 10 seconds", base.Task.ContentFinderConditionId); + chatGui.PrintError("AutoDuty failed to start the duty, stopping.", "Questionable", 576); + return ETaskResult.End; } public void StopNow() @@ -194,10 +285,13 @@ internal static class Duty } } - internal sealed class WaitAutoDutyExecutor(AutoDutyIpc autoDutyIpc, TerritoryData territoryData, IClientState clientState) : TaskExecutor(), IStoppableTaskExecutor, ITaskExecutor + internal sealed class WaitAutoDutyExecutor(AutoDutyIpc autoDutyIpc, TerritoryData territoryData, IClientState clientState, IChatGui chatGui, ILogger logger, NotificationService notificationService) : TaskExecutor(), IStoppableTaskExecutor, ITaskExecutor { + private long _stoppedInsideMs = -1L; + protected override bool Start() { + _stoppedInsideMs = -1L; return true; } @@ -207,11 +301,31 @@ internal static class Duty { throw new TaskException("Failed to get territory ID for content finder condition"); } - if (clientState.TerritoryType == contentFinderConditionData.TerritoryId || !autoDutyIpc.IsStopped()) + bool flag = clientState.TerritoryType != contentFinderConditionData.TerritoryId; + if (flag && autoDutyIpc.IsStopped()) { - return ETaskResult.StillRunning; + notificationService.Notify(EInteractionType.Duty, "Duty complete - " + contentFinderConditionData.Name); + return ETaskResult.TaskComplete; } - return ETaskResult.TaskComplete; + if (!flag && autoDutyIpc.IsStopped()) + { + long tickCount = Environment.TickCount64; + if (_stoppedInsideMs < 0) + { + _stoppedInsideMs = tickCount; + } + if (tickCount - _stoppedInsideMs > 60000) + { + logger.LogError("AutoDuty stopped inside duty {CfcId} and did not progress within 60s", base.Task.ContentFinderConditionId); + chatGui.PrintError("AutoDuty stopped inside the duty, stopping.", "Questionable", 576); + return ETaskResult.End; + } + } + else + { + _stoppedInsideMs = -1L; + } + return ETaskResult.StillRunning; } public void StopNow() @@ -256,6 +370,199 @@ internal static class Duty } } + internal sealed record EnableBossModForDutyTask : ITask + { + public override string ToString() + { + return "EnableBossModForDuty"; + } + } + + internal sealed class EnableBossModForDutyExecutor(BossModIpc bossModIpc, IObjectTable objectTable, ILogger logger) : TaskExecutor() + { + protected override bool Start() + { + bossModIpc.EnableAi(BossModIpc.EPreset.Active); + IPlayerCharacter localPlayer = objectTable.LocalPlayer; + bool flag; + if (localPlayer != null) + { + byte? b = localPlayer.ClassJob.ValueNullable?.Role; + if (b.HasValue) + { + byte valueOrDefault = b.GetValueOrDefault(); + if ((uint)(valueOrDefault - 3) <= 1u) + { + flag = true; + goto IL_0077; + } + } + flag = false; + goto IL_0077; + } + goto IL_0087; + IL_0077: + bool isRanged = flag; + bossModIpc.SetRangeStrategy(BossModIpc.EPreset.Active, isRanged); + goto IL_0087; + IL_0087: + logger.LogDebug("Enabled BossMod Active preset for AutoDuty run"); + return true; + } + + public override ETaskResult Update() + { + return ETaskResult.TaskComplete; + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + } + + internal sealed record EnableRsrForDutyTask : ITask + { + public override string ToString() + { + return "EnableRsrForDuty"; + } + } + + internal sealed class EnableRsrForDutyExecutor(RotationSolverRebornModule rsrModule, ILogger logger) : TaskExecutor() + { + protected override bool Start() + { + CombatController.CombatData combatData = new CombatController.CombatData + { + ElementId = null, + Sequence = 0, + CompletionQuestVariablesFlags = new List(), + SpawnType = EEnemySpawnType.None, + KillEnemyDataIds = new List(), + ComplexCombatDatas = new List(), + CombatItemUse = null + }; + if (rsrModule.Start(combatData)) + { + logger.LogDebug("Enabled RSR Henched mode for AutoDuty run"); + return true; + } + logger.LogWarning("Failed to enable RSR for AutoDuty run"); + return true; + } + + public override ETaskResult Update() + { + return ETaskResult.TaskComplete; + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + } + + internal sealed record EnableBossModPassiveForDutyTask : ITask + { + public override string ToString() + { + return "EnableBossModPassiveForDuty"; + } + } + + internal sealed class EnableBossModPassiveForDutyExecutor(BossModIpc bossModIpc, ILogger logger) : TaskExecutor() + { + protected override bool Start() + { + bossModIpc.EnableAi(BossModIpc.EPreset.Passive); + logger.LogDebug("Enabled BossMod Passive preset for AutoDuty run (hazard avoidance)"); + return true; + } + + public override ETaskResult Update() + { + return ETaskResult.TaskComplete; + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + } + + internal sealed record EnableWrathForDutyTask : ITask + { + public override string ToString() + { + return "EnableWrathForDuty"; + } + } + + internal sealed class EnableWrathForDutyExecutor(WrathComboModule wrathComboModule, ILogger logger) : TaskExecutor() + { + protected override bool Start() + { + CombatController.CombatData combatData = new CombatController.CombatData + { + ElementId = null, + Sequence = 0, + CompletionQuestVariablesFlags = new List(), + SpawnType = EEnemySpawnType.None, + KillEnemyDataIds = new List(), + ComplexCombatDatas = new List(), + CombatItemUse = null + }; + if (wrathComboModule.Start(combatData)) + { + logger.LogDebug("Enabled WrathCombo for AutoDuty run"); + return true; + } + logger.LogWarning("Failed to enable WrathCombo for AutoDuty run"); + return true; + } + + public override ETaskResult Update() + { + return ETaskResult.TaskComplete; + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + } + + internal sealed record DisableCombatPluginsForDutyTask : ITask + { + public override string ToString() + { + return "DisableCombatPluginsForDuty"; + } + } + + internal sealed class DisableCombatPluginsForDutyExecutor(WrathComboModule wrathComboModule, RotationSolverRebornModule rsrModule, BossModIpc bossModIpc, ILogger logger) : TaskExecutor() + { + protected override bool Start() + { + wrathComboModule.Stop(); + rsrModule.Stop(); + bossModIpc.DisableAi(); + logger.LogDebug("Disabled combat plugins after AutoDuty run"); + return true; + } + + public override ETaskResult Update() + { + return ETaskResult.TaskComplete; + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + } + internal sealed record StartLevelingModeTask(int RequiredLevel, string? QuestName) : ITask { public override string ToString() @@ -264,26 +571,26 @@ internal static class Duty } } - internal sealed class StartLevelingModeExecutor(AutoDutyIpc autoDutyIpc, ICondition condition, ILogger logger) : TaskExecutor(), IStoppableTaskExecutor, ITaskExecutor + internal sealed class StartLevelingModeExecutor(AutoDutyIpc autoDutyIpc, ICondition condition, IChatGui chatGui, ILogger logger) : TaskExecutor(), IStoppableTaskExecutor, ITaskExecutor { - private DateTime _startTime; + private long _startMs; protected override bool Start() { logger.LogInformation("Starting AutoDuty Leveling mode to reach level {RequiredLevel} for quest '{QuestName}'", base.Task.RequiredLevel, base.Task.QuestName); if (condition[ConditionFlag.BoundByDuty] || condition[ConditionFlag.InDutyQueue]) { - logger.LogInformation("Already in duty or queue, skipping start"); + logger.LogDebug("Already in duty or queue, skipping start"); return true; } if (!autoDutyIpc.IsStopped()) { - logger.LogInformation("AutoDuty is already running, waiting for it"); - _startTime = DateTime.Now; + logger.LogDebug("AutoDuty is already running, waiting for it"); + _startMs = Environment.TickCount64; return true; } autoDutyIpc.StartLevelingMode(); - _startTime = DateTime.Now; + _startMs = Environment.TickCount64; return true; } @@ -293,19 +600,20 @@ internal static class Duty bool flag2 = condition[ConditionFlag.InDutyQueue]; if (flag || flag2) { - logger.LogInformation("AutoDuty started successfully (inDuty={InDuty}, inQueue={InQueue})", flag, flag2); + logger.LogDebug("AutoDuty started successfully (inDuty={InDuty}, inQueue={InQueue})", flag, flag2); return ETaskResult.TaskComplete; } if (!autoDutyIpc.IsStopped()) { return ETaskResult.StillRunning; } - if (DateTime.Now - _startTime < TimeSpan.FromSeconds(10L)) + if (Environment.TickCount64 - _startMs < 10000) { return ETaskResult.StillRunning; } logger.LogError("AutoDuty failed to start leveling mode after 10 seconds"); - return ETaskResult.TaskComplete; + chatGui.PrintError("AutoDuty failed to start leveling mode, stopping.", "Questionable", 576); + return ETaskResult.End; } public void StopNow() @@ -331,11 +639,18 @@ internal static class Duty { private bool _wasInDuty; - private DateTime _lastStatusMessage = DateTime.MinValue; + private long _statusLogNextMs; + + private long _idleSinceMs = -1L; + + private long _reissueNextMs; protected override bool Start() { _wasInDuty = false; + _statusLogNextMs = 0L; + _idleSinceMs = -1L; + _reissueNextMs = 0L; return true; } @@ -345,7 +660,7 @@ internal static class Duty bool flag2 = condition[ConditionFlag.InDutyQueue]; if (flag && !_wasInDuty) { - logger.LogInformation("Entered duty for leveling"); + logger.LogDebug("Entered duty for leveling"); _wasInDuty = true; } byte b = objectTable.LocalPlayer?.Level ?? 0; @@ -353,14 +668,38 @@ internal static class Duty { logger.LogInformation("Reached required level {RequiredLevel} (current: {CurrentLevel})", base.Task.RequiredLevel, b); chatGui.Print($"Reached level {b}, can now continue MSQ.", "Questionable", 576); - autoDutyIpc.DisableLevelingMode(); + autoDutyIpc.Stop(); return ETaskResult.TaskComplete; } - if (autoDutyIpc.IsStopped() && !flag && !flag2 && _wasInDuty && DateTime.Now - _lastStatusMessage > TimeSpan.FromSeconds(30L)) + if (autoDutyIpc.IsStopped() && !flag && !flag2 && _wasInDuty) { - int num = base.Task.RequiredLevel - b; - logger.LogInformation("Waiting for leveling mode to continue (current: {CurrentLevel}, need: {RequiredLevel}, {LevelsNeeded} more levels needed)", b, base.Task.RequiredLevel, num); - _lastStatusMessage = DateTime.Now; + long tickCount = Environment.TickCount64; + if (_idleSinceMs < 0) + { + _idleSinceMs = tickCount; + } + if (tickCount >= _statusLogNextMs) + { + int num = base.Task.RequiredLevel - b; + logger.LogDebug("Leveling between dungeons (current: {CurrentLevel}, need: {RequiredLevel}, {LevelsNeeded} more levels needed)", b, base.Task.RequiredLevel, num); + _statusLogNextMs = tickCount + 30000; + } + if (tickCount - _idleSinceMs > 90000) + { + logger.LogError("AutoDuty leveling stalled at level {CurrentLevel} (need {RequiredLevel}) and did not resume within 90s", b, base.Task.RequiredLevel); + chatGui.PrintError("AutoDuty leveling stalled and didn't resume, stopping.", "Questionable", 576); + return ETaskResult.End; + } + if (!condition[ConditionFlag.BetweenAreas] && !condition[ConditionFlag.BetweenAreas51] && tickCount >= _reissueNextMs) + { + logger.LogDebug("Starting next leveling dungeon"); + autoDutyIpc.StartLevelingMode(); + _reissueNextMs = tickCount + 5000; + } + } + else + { + _idleSinceMs = -1L; } return ETaskResult.StillRunning; } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/DutyRetryState.cs b/Questionable/Questionable.Controller.Steps.Interactions/DutyRetryState.cs new file mode 100644 index 0000000..56fa7ec --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Interactions/DutyRetryState.cs @@ -0,0 +1,43 @@ +namespace Questionable.Controller.Steps.Interactions; + +internal sealed class DutyRetryState +{ + private int _retryCount; + + public bool AwaitingOutcome { get; private set; } + + public bool CanRetry(int maxRetries) + { + if (maxRetries >= 0) + { + if (maxRetries == 0) + { + return false; + } + return _retryCount < maxRetries; + } + return true; + } + + public void BeginAwaitingOutcome() + { + AwaitingOutcome = true; + } + + public void EndAwaitingOutcome() + { + AwaitingOutcome = false; + } + + public void RecordRetry() + { + _retryCount++; + AwaitingOutcome = false; + } + + public void Reset() + { + _retryCount = 0; + AwaitingOutcome = false; + } +} diff --git a/Questionable/Questionable.Controller.Steps.Interactions/Emote.cs b/Questionable/Questionable.Controller.Steps.Interactions/Emote.cs index 9e83d5f..0a2e851 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/Emote.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/Emote.cs @@ -14,7 +14,7 @@ internal static class Emote public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) { EInteractionType interactionType = step.InteractionType; - if ((interactionType == EInteractionType.SinglePlayerDuty || (uint)(interactionType - 28) <= 1u) ? true : false) + if ((interactionType == EInteractionType.SinglePlayerDuty || (uint)(interactionType - 30) <= 1u) ? true : false) { if (!step.Emote.HasValue) { @@ -47,12 +47,38 @@ internal static class Emote internal sealed class UseOnObjectExecutor(ChatFunctions chatFunctions) : AbstractDelayedTaskExecutor() { + private bool _emoteFired; + + private long _retryAt; + + private int _attempts; + protected override bool StartInternal() { - chatFunctions.UseEmote(base.Task.DataId, base.Task.Emote); + _emoteFired = chatFunctions.UseEmote(base.Task.DataId, base.Task.Emote); return true; } + protected override ETaskResult UpdateInternal() + { + if (!_emoteFired) + { + if (Environment.TickCount64 < _retryAt) + { + return ETaskResult.StillRunning; + } + _attempts++; + if (_attempts > 10) + { + return ETaskResult.RetryStep; + } + _emoteFired = chatFunctions.UseEmote(base.Task.DataId, base.Task.Emote); + _retryAt = Environment.TickCount64 + 1000; + return ETaskResult.StillRunning; + } + return ETaskResult.TaskComplete; + } + public override bool ShouldInterruptOnDamage() { return true; diff --git a/Questionable/Questionable.Controller.Steps.Interactions/EquipItem.cs b/Questionable/Questionable.Controller.Steps.Interactions/EquipItem.cs index fb1603a..53681d8 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/EquipItem.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/EquipItem.cs @@ -6,6 +6,7 @@ using Dalamud.Game.Text.SeStringHandling; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game; using LLib; +using LLib.Inventory; using Lumina.Excel.Sheets; using Microsoft.Extensions.Logging; using Questionable.Functions; @@ -67,38 +68,29 @@ internal static class EquipItem private List _targetSlots; - private DateTime _continueAt = DateTime.MaxValue; + private long _continueAt = long.MaxValue; protected override bool Start() { - _item = dataManager.GetExcelSheet().GetRowOrDefault(base.Task.ItemId) ?? throw new ArgumentOutOfRangeException("ItemId"); + _item = ((ItemHandle)base.Task.ItemId).GetRow(dataManager) ?? throw new ArgumentOutOfRangeException("ItemId"); _targetSlots = GetEquipSlot(_item) ?? throw new InvalidOperationException("Not a piece of equipment"); Equip(); - _continueAt = DateTime.Now.AddSeconds(1.0); + _continueAt = Environment.TickCount64 + 1000; return true; } - public unsafe override ETaskResult Update() + public override ETaskResult Update() { - if (DateTime.Now < _continueAt) + if (Environment.TickCount64 < _continueAt) { return ETaskResult.StillRunning; } - InventoryManager* ptr = InventoryManager.Instance(); - if (ptr == null) + if (InventoryHelper.IsItemEquipped(base.Task.ItemId)) { - return ETaskResult.StillRunning; - } - foreach (ushort targetSlot in _targetSlots) - { - InventoryItem* inventorySlot = ptr->GetInventorySlot(InventoryType.EquippedItems, targetSlot); - if (inventorySlot != null && inventorySlot->ItemId == base.Task.ItemId) - { - return ETaskResult.TaskComplete; - } + return ETaskResult.TaskComplete; } Equip(); - _continueAt = DateTime.Now.AddSeconds(1.0); + _continueAt = Environment.TickCount64 + 1000; return ETaskResult.StillRunning; } @@ -114,40 +106,31 @@ internal static class EquipItem { return; } - InventoryContainer* inventoryContainer = inventoryManager->GetInventoryContainer(InventoryType.EquippedItems); - if (inventoryContainer == null) + if (InventoryHelper.IsItemEquipped(base.Task.ItemId)) { + logger.LogDebug("Already equipped {Item}, skipping step", _item?.Name.ToString()); return; } - foreach (ushort targetSlot in _targetSlots) - { - InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(targetSlot); - if (inventorySlot != null && inventorySlot->ItemId == base.Task.ItemId) - { - logger.LogInformation("Already equipped {Item}, skipping step", _item?.Name.ToString()); - return; - } - } foreach (InventoryType sourceInventoryType in SourceInventoryTypes) { - InventoryContainer* inventoryContainer2 = inventoryManager->GetInventoryContainer(sourceInventoryType); - if (inventoryContainer2 == null || (inventoryManager->GetItemCountInContainer(base.Task.ItemId, sourceInventoryType, isHq: true, 0) == 0 && inventoryManager->GetItemCountInContainer(base.Task.ItemId, sourceInventoryType, isHq: false, 0) == 0)) + InventoryContainer* inventoryContainer = inventoryManager->GetInventoryContainer(sourceInventoryType); + if (inventoryContainer == null) { continue; } - for (ushort num = 0; num < inventoryContainer2->Size; num++) + for (ushort num = 0; num < inventoryContainer->Size; num++) { - InventoryItem* inventorySlot2 = inventoryContainer2->GetInventorySlot(num); - if (inventorySlot2 != null && inventorySlot2->ItemId == base.Task.ItemId) + InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(num); + if (inventorySlot != null && inventorySlot->ItemId == base.Task.ItemId) { ushort num2 = _targetSlots.Where(delegate(ushort x) { - InventoryItem* inventorySlot3 = inventoryManager->GetInventorySlot(InventoryType.EquippedItems, x); - return inventorySlot3 == null || inventorySlot3->ItemId == 0; + InventoryItem* inventorySlot2 = inventoryManager->GetInventorySlot(InventoryType.EquippedItems, x); + return inventorySlot2 == null || inventorySlot2->ItemId == 0; }).Concat(_targetSlots).First(); - logger.LogInformation("Equipping item from {SourceInventory}, {SourceSlot} to {TargetInventory}, {TargetSlot}", sourceInventoryType, num, InventoryType.EquippedItems, num2); + logger.LogDebug("Equipping item from {SourceInventory}, {SourceSlot} to {TargetInventory}, {TargetSlot}", sourceInventoryType, num, InventoryType.EquippedItems, num2); int num3 = inventoryManager->MoveItemSlot(sourceInventoryType, num, InventoryType.EquippedItems, num2, a6: true); - logger.LogInformation("MoveItemSlot result: {Result}", num3); + logger.LogDebug("MoveItemSlot result: {Result}", num3); return; } } @@ -159,7 +142,7 @@ internal static class EquipItem { if (!item.HasValue) { - return new List(); + return null; } switch (item.Value.EquipSlotCategory.RowId) { diff --git a/Questionable/Questionable.Controller.Steps.Interactions/EquipRecommended.cs b/Questionable/Questionable.Controller.Steps.Interactions/EquipRecommended.cs index e1bd631..e923791 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/EquipRecommended.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/EquipRecommended.cs @@ -1,10 +1,17 @@ using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; using Dalamud.Game.ClientState.Conditions; +using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game; using FFXIVClientStructs.FFXIV.Client.UI.Misc; using FFXIVClientStructs.Interop; +using LLib.GameData; +using LLib.Gear; +using LLib.Inventory; +using Lumina.Excel.Sheets; using Questionable.Model; using Questionable.Model.Questing; @@ -14,7 +21,7 @@ internal static class EquipRecommended { internal sealed class Factory : SimpleTaskFactory { - public override ITask? CreateTask(Quest quest, QuestSequence sequence, QuestStep step) + public override ITask? CreateTask(Questionable.Model.Quest quest, QuestSequence sequence, QuestStep step) { if (step.InteractionType != EInteractionType.EquipRecommended) { @@ -26,7 +33,7 @@ internal static class EquipRecommended internal sealed class BeforeDutyOrInstance : SimpleTaskFactory { - public override ITask? CreateTask(Quest quest, QuestSequence sequence, QuestStep step) + public override ITask? CreateTask(Questionable.Model.Quest quest, QuestSequence sequence, QuestStep step) { if (step.InteractionType != EInteractionType.Duty && step.InteractionType != EInteractionType.SinglePlayerDuty && step.InteractionType != EInteractionType.Combat) { @@ -44,27 +51,304 @@ internal static class EquipRecommended } } - internal sealed class DoEquipRecommended(IObjectTable objectTable, IChatGui chatGui, ICondition condition) : TaskExecutor() + internal sealed class DoEquipRecommended(IObjectTable objectTable, IChatGui chatGui, ICondition condition, IDataManager dataManager, Configuration configuration, BestItemFinder bestItemFinder) : TaskExecutor() { + private readonly record struct PendingMove(InventoryType SourceContainer, int SourceSlot, uint SourceItemId, InventoryType DestinationContainer, int DestinationSlot); + + private static readonly (string Name, uint[] Categories)[] SlotMap = new(string, uint[])[13] + { + ("MainHand", new uint[2] { 1u, 13u }), + ("OffHand", new uint[1] { 2u }), + ("Head", new uint[1] { 3u }), + ("Body", new uint[1] { 4u }), + ("Hands", new uint[1] { 5u }), + ("Belt", Array.Empty()), + ("Legs", new uint[1] { 7u }), + ("Feet", new uint[1] { 8u }), + ("Ears", new uint[1] { 9u }), + ("Neck", new uint[1] { 10u }), + ("Wrists", new uint[1] { 11u }), + ("Ring1", new uint[1] { 12u }), + ("Ring2", new uint[1] { 12u }) + }; + + private const long EquipApplyTimeoutMs = 5000L; + + private const long MoveApplyTimeoutMs = 2000L; + + private bool _useSmart; + private bool _checkedOrTriggeredEquipmentUpdate; - private DateTime _continueAt = DateTime.MinValue; + private long _timeoutAt; + + private List<(int Slot, BestItemRef Item)>? _smartUpgrades; + + private List? _smartMoves; + + private int _smartMoveCursor; + + private bool _currentMoveStarted; + + private bool _smartApplied; + + private int _directEquipCursor; + + private bool _directEquipStarted; protected unsafe override bool Start() { + if (configuration.General.EquipMode == Configuration.EEquipMode.Disabled) + { + return false; + } if (condition[ConditionFlag.InCombat]) { return false; } - if (!(objectTable[0] is ICharacter character)) + IPlayerCharacter localPlayer = objectTable.LocalPlayer; + if (localPlayer == null) { return false; } - RecommendEquipModule.Instance()->SetupForClassJob((byte)character.ClassJob.RowId); + _useSmart = configuration.General.EquipMode == Configuration.EEquipMode.Smart; + if (_useSmart && TrySmartStart(localPlayer)) + { + return true; + } + _useSmart = false; + RecommendEquipModule.Instance()->SetupForClassJob((byte)localPlayer.ClassJob.RowId); return true; } - public unsafe override ETaskResult Update() + public override ETaskResult Update() + { + if (_useSmart) + { + return SmartUpdate(); + } + return GameUpdate(); + } + + private unsafe bool TrySmartStart(ICharacter localPlayer) + { + uint rowId = localPlayer.ClassJob.RowId; + if (!Enum.IsDefined(typeof(EClassJob), rowId)) + { + return false; + } + RaptureGearsetModule* ptr = RaptureGearsetModule.Instance(); + if (ptr == null) + { + return false; + } + int currentGearsetIndex = ptr->CurrentGearsetIndex; + if (currentGearsetIndex < 0 || !ptr->IsValidGearset(currentGearsetIndex)) + { + return false; + } + EClassJob job = (EClassJob)rowId; + StatPriority priority = StatPriority.ForJob(job); + byte playerLevel = GetPlayerLevel(job); + RaptureGearsetModule.GearsetEntry* entry = (RaptureGearsetModule.GearsetEntry*)Unsafe.AsPointer(in ptr->Entries[currentGearsetIndex]); + if (!TryComputeUpgradesAndMoves(job, priority, playerLevel, entry, out _smartUpgrades, out _smartMoves)) + { + _smartUpgrades = null; + _smartMoves = null; + return false; + } + _smartMoveCursor = 0; + _currentMoveStarted = false; + return true; + } + + private ETaskResult SmartUpdate() + { + List smartMoves = _smartMoves; + if (smartMoves != null && smartMoves.Count > 0 && _smartMoveCursor < smartMoves.Count) + { + PendingMove pendingMove = smartMoves[_smartMoveCursor]; + if (!_currentMoveStarted) + { + if (!TryStartMove(pendingMove)) + { + chatGui.Print($"Equip move {_smartMoveCursor + 1}/{smartMoves.Count} rejected; skipping equip step.", "Questionable", 576); + return ETaskResult.TaskComplete; + } + _currentMoveStarted = true; + _timeoutAt = Environment.TickCount64 + 2000; + return ETaskResult.StillRunning; + } + if (IsMoveApplied(pendingMove)) + { + if (_smartUpgrades != null) + { + NotifyStagingMoveApplied(_smartUpgrades, pendingMove); + } + _smartMoveCursor++; + _currentMoveStarted = false; + return ETaskResult.StillRunning; + } + if (Environment.TickCount64 >= _timeoutAt) + { + chatGui.Print($"Equip move {_smartMoveCursor + 1}/{smartMoves.Count} timed out; skipping equip step.", "Questionable", 576); + return ETaskResult.TaskComplete; + } + return ETaskResult.StillRunning; + } + if (configuration.General.PreserveGearset) + { + return DirectEquipPhase(); + } + if (!_smartApplied) + { + List<(int, BestItemRef)> smartUpgrades = _smartUpgrades; + if (smartUpgrades != null && smartUpgrades.Count > 0) + { + chatGui.Print($"Equipping {smartUpgrades.Count} gear upgrade(s) (smart).", "Questionable", 576); + ApplyUpgrades(smartUpgrades); + _timeoutAt = Environment.TickCount64 + 5000; + _smartApplied = true; + return ETaskResult.StillRunning; + } + return ETaskResult.TaskComplete; + } + List<(int, BestItemRef)> smartUpgrades2 = _smartUpgrades; + if (smartUpgrades2 != null && AreUpgradesApplied(smartUpgrades2)) + { + return ETaskResult.TaskComplete; + } + if (Environment.TickCount64 < _timeoutAt) + { + return ETaskResult.StillRunning; + } + return ETaskResult.TaskComplete; + } + + private ETaskResult DirectEquipPhase() + { + List<(int, BestItemRef)> smartUpgrades = _smartUpgrades; + if (smartUpgrades == null) + { + return ETaskResult.TaskComplete; + } + if (_directEquipCursor >= smartUpgrades.Count) + { + if (AreUpgradesApplied(smartUpgrades)) + { + return ETaskResult.TaskComplete; + } + if (Environment.TickCount64 < _timeoutAt) + { + return ETaskResult.StillRunning; + } + return ETaskResult.TaskComplete; + } + var (num, item) = smartUpgrades[_directEquipCursor]; + if (!_directEquipStarted) + { + if (!TryStartDirectEquip(item, num)) + { + chatGui.Print($"Direct equip for slot {num} rejected, skipping.", "Questionable", 576); + _directEquipCursor++; + return ETaskResult.StillRunning; + } + _directEquipStarted = true; + _timeoutAt = Environment.TickCount64 + 2000; + return ETaskResult.StillRunning; + } + if (IsDirectEquipApplied(item, num)) + { + _directEquipCursor++; + _directEquipStarted = false; + return ETaskResult.StillRunning; + } + if (Environment.TickCount64 >= _timeoutAt) + { + _directEquipCursor++; + _directEquipStarted = false; + } + return ETaskResult.StillRunning; + } + + private unsafe bool TryStartDirectEquip(BestItemRef item, int gearsetSlot) + { + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return false; + } + return ptr->MoveItemSlot(item.Container, (ushort)item.Slot, InventoryType.EquippedItems, (ushort)gearsetSlot) == 0; + } + + private unsafe bool IsDirectEquipApplied(BestItemRef item, int gearsetSlot) + { + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return false; + } + InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(InventoryType.EquippedItems); + if (inventoryContainer == null) + { + return false; + } + InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(gearsetSlot); + if (inventorySlot == null) + { + return false; + } + return ItemHandle.FromInventorySlot(inventorySlot).Id == ((ItemHandle)item.ItemId).Id; + } + + private static void NotifyStagingMoveApplied(List<(int Slot, BestItemRef Item)> upgrades, PendingMove appliedMove) + { + for (int i = 0; i < upgrades.Count; i++) + { + var (item, bestItemRef) = upgrades[i]; + if (bestItemRef.Container == appliedMove.SourceContainer && bestItemRef.Slot == appliedMove.SourceSlot) + { + upgrades[i] = (item, bestItemRef with + { + Container = appliedMove.DestinationContainer, + Slot = appliedMove.DestinationSlot + }); + break; + } + } + } + + private unsafe bool TryStartMove(PendingMove move) + { + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return false; + } + return ptr->MoveItemSlot(move.SourceContainer, (ushort)move.SourceSlot, move.DestinationContainer, (ushort)move.DestinationSlot) == 0; + } + + private unsafe bool IsMoveApplied(PendingMove move) + { + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return false; + } + InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(move.DestinationContainer); + if (inventoryContainer == null) + { + return false; + } + InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(move.DestinationSlot); + if (inventorySlot == null) + { + return false; + } + return ItemHandle.FromInventorySlot(inventorySlot).Id == ((ItemHandle)move.SourceItemId).Id; + } + + private unsafe ETaskResult GameUpdate() { RecommendEquipModule* ptr = RecommendEquipModule.Instance(); if (ptr->IsUpdating) @@ -73,52 +357,221 @@ internal static class EquipRecommended } if (!_checkedOrTriggeredEquipmentUpdate) { - if (!IsAllRecommendeGearEquipped()) + if (IsAllRecommendedGearEquipped()) { - chatGui.Print("Equipping recommended gear.", "Questionable", 576); - ptr->EquipRecommendedGear(); - _continueAt = DateTime.Now.AddSeconds(1.0); + return ETaskResult.TaskComplete; } + chatGui.Print("Equipping recommended gear.", "Questionable", 576); + ptr->EquipRecommendedGear(); + _timeoutAt = Environment.TickCount64 + 5000; _checkedOrTriggeredEquipmentUpdate = true; return ETaskResult.StillRunning; } - if (!(DateTime.Now >= _continueAt)) + if (IsAllRecommendedGearEquipped()) + { + return ETaskResult.TaskComplete; + } + if (Environment.TickCount64 < _timeoutAt) { return ETaskResult.StillRunning; } return ETaskResult.TaskComplete; } - private unsafe bool IsAllRecommendeGearEquipped() + private unsafe bool AreUpgradesApplied(IReadOnlyList<(int Slot, BestItemRef Item)> upgrades) { - RecommendEquipModule* intPtr = RecommendEquipModule.Instance(); - InventoryContainer* inventoryContainer = InventoryManager.Instance()->GetInventoryContainer(InventoryType.EquippedItems); - bool result = true; - Span> recommendedItems = intPtr->RecommendedItems; + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return false; + } + InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(InventoryType.EquippedItems); + if (inventoryContainer == null) + { + return false; + } + foreach (var upgrade in upgrades) + { + int item = upgrade.Slot; + BestItemRef item2 = upgrade.Item; + InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(item); + if (inventorySlot == null || ItemHandle.FromInventorySlot(inventorySlot).Id != ((ItemHandle)item2.ItemId).Id) + { + return false; + } + } + return true; + } + + private unsafe bool TryComputeUpgradesAndMoves(EClassJob job, StatPriority priority, byte playerLevel, RaptureGearsetModule.GearsetEntry* entry, out List<(int Slot, BestItemRef Item)> upgrades, out List moves) + { + upgrades = new List<(int, BestItemRef)>(); + moves = new List(); + BestItemRef? bestItemRef = null; + bool flag = job.IsCrafter() || job.IsGatherer(); + Dictionary cursors = new Dictionary(); + for (int i = 0; i < SlotMap.Length; i++) + { + uint[] item = SlotMap[i].Categories; + if (item.Length == 0) + { + continue; + } + BestItemRef? excludeContainerSlot = ((i == 12 && bestItemRef.HasValue) ? bestItemRef : ((BestItemRef?)null)); + bool flag2 = !flag; + if (flag2) + { + bool flag3 = (uint)i <= 1u; + flag2 = flag3; + } + EItemRankingMode rankingMode = ((!flag2) ? EItemRankingMode.ScoreFirst : EItemRankingMode.DamageFirst); + BestItemRef? bestItemRef2 = bestItemFinder.FindBest(job, item, priority, BestItemFinder.ArmoryEquippedAndBags, playerLevel, rankingMode, excludeContainerSlot); + if (!bestItemRef2.HasValue) + { + continue; + } + if (i == 11) + { + bestItemRef = bestItemRef2; + } + if (((ItemHandle)entry->GetItem((RaptureGearsetModule.GearsetItemIndex)i).ItemId).Id == ((ItemHandle)bestItemRef2.Value.ItemId).Id) + { + continue; + } + if (IsBagContainer(bestItemRef2.Value.Container)) + { + InventoryType? inventoryType = ResolveArmoryContainer(item); + if (!inventoryType.HasValue) + { + continue; + } + int nextFreeSlot = GetNextFreeSlot(inventoryType.Value, cursors); + if (nextFreeSlot < 0) + { + return false; + } + moves.Add(new PendingMove(bestItemRef2.Value.Container, bestItemRef2.Value.Slot, bestItemRef2.Value.ItemId, inventoryType.Value, nextFreeSlot)); + } + upgrades.Add((i, bestItemRef2.Value)); + } + return true; + } + + private static bool IsBagContainer(InventoryType type) + { + if (type <= InventoryType.Inventory4) + { + return true; + } + return false; + } + + private static InventoryType? ResolveArmoryContainer(uint[] acceptedCategories) + { + for (int i = 0; i < acceptedCategories.Length; i++) + { + InventoryType? armoryContainer = ((EEquipSlotCategory)acceptedCategories[i]).GetArmoryContainer(); + if (armoryContainer.HasValue) + { + return armoryContainer; + } + } + return null; + } + + private unsafe static int GetNextFreeSlot(InventoryType container, Dictionary cursors) + { + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return -1; + } + InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(container); + if (inventoryContainer == null) + { + return -1; + } + int value; + for (int i = (cursors.TryGetValue(container, out value) ? value : 0); i < inventoryContainer->Size; i++) + { + InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(i); + if (inventorySlot != null && inventorySlot->ItemId == 0) + { + cursors[container] = i + 1; + return i; + } + } + return -1; + } + + private unsafe void ApplyUpgrades(IReadOnlyList<(int Slot, BestItemRef Item)> upgrades) + { + RaptureGearsetModule* ptr = RaptureGearsetModule.Instance(); + if (ptr == null) + { + return; + } + int currentGearsetIndex = ptr->CurrentGearsetIndex; + if (currentGearsetIndex < 0 || !ptr->IsValidGearset(currentGearsetIndex)) + { + return; + } + RaptureGearsetModule.GearsetEntry* ptr2 = (RaptureGearsetModule.GearsetEntry*)Unsafe.AsPointer(in ptr->Entries[currentGearsetIndex]); + InventoryManager* ptr3 = InventoryManager.Instance(); + if (ptr3 == null) + { + return; + } + foreach (var upgrade in upgrades) + { + int item = upgrade.Slot; + BestItemRef item2 = upgrade.Item; + InventoryContainer* inventoryContainer = ptr3->GetInventoryContainer(item2.Container); + if (inventoryContainer == null) + { + continue; + } + InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(item2.Slot); + if (inventorySlot != null && inventorySlot->ItemId != 0) + { + RaptureGearsetModule.GearsetItem* ptr4 = (RaptureGearsetModule.GearsetItem*)Unsafe.AsPointer(in ptr2->Items[item]); + ptr4->ItemId = inventorySlot->ItemId; + ptr4->GlamourId = inventorySlot->GlamourId; + ptr4->Stain0Id = inventorySlot->Stains[0]; + ptr4->Stain1Id = inventorySlot->Stains[1]; + for (int i = 0; i < 5; i++) + { + ptr4->Materia[i] = inventorySlot->Materia[i]; + ptr4->MateriaGrades[i] = inventorySlot->MateriaGrades[i]; + } + } + } + ptr->EquipGearset(currentGearsetIndex, 0); + } + + private byte GetPlayerLevel(EClassJob job) + { + short classJobLevel = PlayerStateHelper.GetClassJobLevel(dataManager.GetExcelSheet().GetRow((uint)job).ExpArrayIndex); + if (classJobLevel <= 0) + { + return 0; + } + return (byte)classJobLevel; + } + + private unsafe bool IsAllRecommendedGearEquipped() + { + Span> recommendedItems = RecommendEquipModule.Instance()->RecommendedItems; for (int i = 0; i < recommendedItems.Length; i++) { Pointer pointer = recommendedItems[i]; InventoryItem* value = pointer.Value; - if (value == null || value->ItemId == 0) + if (value != null && value->ItemId != 0 && !InventoryHelper.IsItemEquipped(value->ItemId)) { - continue; - } - bool flag = false; - for (int j = 0; j < inventoryContainer->Size; j++) - { - InventoryItem inventoryItem = inventoryContainer->Items[j]; - if (inventoryItem.ItemId != 0 && inventoryItem.ItemId == value->ItemId) - { - flag = true; - break; - } - } - if (!flag) - { - result = false; + return false; } } - return result; + return true; } public override bool ShouldInterruptOnDamage() diff --git a/Questionable/Questionable.Controller.Steps.Interactions/FateAction.cs b/Questionable/Questionable.Controller.Steps.Interactions/FateAction.cs index dcae0c7..ef70cf2 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/FateAction.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/FateAction.cs @@ -45,19 +45,19 @@ internal static class FateAction } } - internal sealed class UseOnTargetsExecutor(GameFunctions gameFunctions, ILogger logger) : TaskExecutor() + internal sealed class UseOnTargetsExecutor(GameFunctions gameFunctions, ILogger logger) : TaskExecutor() { - private DateTime _nextActionAt = DateTime.MinValue; + private long _nextActionAt; protected override bool Start() { - logger.LogInformation("Starting FateAction: {Count} targets [{Targets}]", base.Task.Targets.Count, string.Join(", ", base.Task.Targets.Select((FateActionTarget t) => $"{t.DataId}→{t.Action}"))); + logger.LogDebug("Starting FateAction: {Count} targets [{Targets}]", base.Task.Targets.Count, string.Join(", ", base.Task.Targets.Select((FateActionTarget t) => $"{t.DataId}→{t.Action}"))); return true; } public override ETaskResult Update() { - if (DateTime.Now < _nextActionAt) + if (Environment.TickCount64 < _nextActionAt) { return ETaskResult.StillRunning; } @@ -67,11 +67,11 @@ internal static class FateAction if (gameObject != null && gameObject.IsTargetable) { bool flag = gameFunctions.UseAction(gameObject, target.Action); - _nextActionAt = (flag ? DateTime.Now.AddSeconds(2.5) : DateTime.Now.AddSeconds(0.5)); + _nextActionAt = (flag ? (Environment.TickCount64 + 2500) : (Environment.TickCount64 + 500)); return ETaskResult.StillRunning; } } - _nextActionAt = DateTime.Now.AddSeconds(0.25); + _nextActionAt = Environment.TickCount64 + 250; return ETaskResult.StillRunning; } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/FateFarming.cs b/Questionable/Questionable.Controller.Steps.Interactions/FateFarming.cs index 8075e71..bc8fb24 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/FateFarming.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/FateFarming.cs @@ -19,20 +19,20 @@ internal static class FateFarming internal sealed class WaitForFateTargetsExecutor(GameFunctions gameFunctions, ILogger logger) : TaskExecutor() { - private DateTime _nextPollAt = DateTime.MinValue; + private long _nextPollAt; private bool _loggedWaitingForFate; protected override bool Start() { - logger.LogInformation("Waiting for FATE targets to appear ({Count} targets)", base.Task.Targets.Count); + logger.LogDebug("Waiting for FATE targets to appear ({Count} targets)", base.Task.Targets.Count); _loggedWaitingForFate = false; return true; } public override ETaskResult Update() { - if (DateTime.Now < _nextPollAt) + if (Environment.TickCount64 < _nextPollAt) { return ETaskResult.StillRunning; } @@ -41,10 +41,10 @@ internal static class FateFarming { if (!_loggedWaitingForFate) { - logger.LogInformation("No active FATE yet, waiting for FATE to start before checking targets"); + logger.LogDebug("No active FATE yet, waiting for FATE to start before checking targets"); _loggedWaitingForFate = true; } - _nextPollAt = DateTime.Now.AddSeconds(1.0); + _nextPollAt = Environment.TickCount64 + 1000; return ETaskResult.StillRunning; } _loggedWaitingForFate = false; @@ -53,11 +53,11 @@ internal static class FateFarming IGameObject gameObject = gameFunctions.FindObjectByDataId(target.DataId, null, warnIfMissing: false); if (gameObject != null && gameObject.IsTargetable) { - logger.LogInformation("FATE {FateId} active and target {DataId} is targetable", currentFateId, target.DataId); + logger.LogDebug("FATE {FateId} active and target {DataId} is targetable", currentFateId, target.DataId); return ETaskResult.TaskComplete; } } - _nextPollAt = DateTime.Now.AddSeconds(1.0); + _nextPollAt = Environment.TickCount64 + 1000; return ETaskResult.StillRunning; } @@ -79,7 +79,7 @@ internal static class FateFarming { protected override bool Start() { - logger.LogInformation("Syncing to FATE level"); + logger.LogDebug("Syncing to FATE level"); return true; } @@ -116,7 +116,7 @@ internal static class FateFarming internal sealed class FateActionLoopExecutor(GameFunctions gameFunctions, ILogger logger) : TaskExecutor() { - private DateTime _nextActionAt = DateTime.MinValue; + private long _nextActionAt; private ushort _trackedFateId; @@ -125,39 +125,40 @@ internal static class FateFarming protected override bool Start() { _trackedFateId = gameFunctions.GetCurrentFateId(); - logger.LogInformation("Starting FATE action loop with {Count} targets, tracking FATE {FateId}", base.Task.Targets.Count, _trackedFateId); + logger.LogDebug("Starting FATE action loop with {Count} targets, tracking FATE {FateId}", base.Task.Targets.Count, _trackedFateId); return true; } public override ETaskResult Update() { - if (DateTime.Now < _nextActionAt) + if (Environment.TickCount64 < _nextActionAt) { return ETaskResult.StillRunning; } if (base.Task.RequiredStatusId.HasValue && !gameFunctions.HasStatus(base.Task.RequiredStatusId.Value)) { - logger.LogInformation("Required status {StatusId} lost during FATE action loop, ending cycle to re-apply", base.Task.RequiredStatusId.Value); + logger.LogDebug("Required status {StatusId} lost during FATE action loop, ending cycle to re-apply", base.Task.RequiredStatusId.Value); return ETaskResult.TaskComplete; } - bool flag = gameFunctions.GetCurrentFateId() != 0; + ushort currentFateId = gameFunctions.GetCurrentFateId(); + bool flag = currentFateId != 0; if (_fateWasActive && !flag) { - logger.LogInformation("FATE {FateId} is no longer active, cycle complete", _trackedFateId); + logger.LogDebug("FATE {FateId} is no longer active, cycle complete", _trackedFateId); return ETaskResult.TaskComplete; } _fateWasActive = flag; if (_trackedFateId == 0) { - _trackedFateId = gameFunctions.GetCurrentFateId(); + _trackedFateId = currentFateId; if (_trackedFateId != 0) { - logger.LogInformation("Now tracking FATE {FateId}", _trackedFateId); + logger.LogDebug("Now tracking FATE {FateId}", _trackedFateId); } } if (_trackedFateId != 0 && !gameFunctions.IsFateStillActive(_trackedFateId)) { - logger.LogInformation("FATE {FateId} is no longer running, cycle complete", _trackedFateId); + logger.LogDebug("FATE {FateId} is no longer running, cycle complete", _trackedFateId); return ETaskResult.TaskComplete; } foreach (FateActionTarget target in base.Task.Targets) @@ -166,11 +167,11 @@ internal static class FateFarming if (gameObject != null && gameObject.IsTargetable) { bool flag2 = gameFunctions.UseAction(gameObject, target.Action); - _nextActionAt = (flag2 ? DateTime.Now.AddSeconds(2.5) : DateTime.Now.AddSeconds(0.5)); + _nextActionAt = (flag2 ? (Environment.TickCount64 + 2500) : (Environment.TickCount64 + 500)); return ETaskResult.StillRunning; } } - _nextActionAt = DateTime.Now.AddSeconds(0.25); + _nextActionAt = Environment.TickCount64 + 250; return ETaskResult.StillRunning; } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/Interact.cs b/Questionable/Questionable.Controller.Steps.Interactions/Interact.cs index 88708e8..72500ee 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/Interact.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/Interact.cs @@ -8,7 +8,9 @@ using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game; using FFXIVClientStructs.FFXIV.Client.Game.Object; using FFXIVClientStructs.FFXIV.Client.Game.UI; +using LLib.Inventory; using Microsoft.Extensions.Logging; +using Questionable.Controller.GameUi; using Questionable.Controller.Steps.Shared; using Questionable.Controller.Utils; using Questionable.Functions; @@ -24,7 +26,7 @@ internal static class Interact public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) { EInteractionType interactionType = step.InteractionType; - if ((interactionType == EInteractionType.SinglePlayerDuty || (uint)(interactionType - 28) <= 1u) ? true : false) + if ((interactionType == EInteractionType.SinglePlayerDuty || (uint)(interactionType - 30) <= 1u) ? true : false) { if ((step.InteractionType == EInteractionType.CompleteQuest && configuration.Advanced.PreventQuestCompletion) || step.Emote.HasValue || step.ChatMessage != null || step.ItemId.HasValue || !step.DataId.HasValue) { @@ -64,7 +66,7 @@ internal static class Interact uint value = step.DataId.Value; EInteractionType interactionType2 = step.InteractionType; int skipMarkerCheck; - if (!step.IgnoreQuestMarker && !step.TargetTerritoryId.HasValue && !(quest.Id is SatisfactionSupplyNpcId)) + if (!step.IgnoreQuestMarker && !step.TargetTerritoryId.HasValue) { SkipConditions skipConditions = step.SkipConditions; if (skipConditions != null) @@ -72,22 +74,27 @@ internal static class Interact SkipStepConditions stepIf = skipConditions.StepIf; if (stepIf != null && stepIf.Never) { - goto IL_025f; + goto IL_024a; } } if (step.InteractionType != EInteractionType.PurchaseItem) { skipMarkerCheck = ((step.DataId == 1052475) ? 1 : 0); - goto IL_0260; + goto IL_024b; } } - goto IL_025f; - IL_0260: - yield return new Task(value, quest, interactionType2, (byte)skipMarkerCheck != 0, step.PickUpItemId ?? step.GCPurchase?.ItemId, step.TaxiStandId, step.SkipConditions?.StepIf, step.CompletionQuestVariablesFlags); - yield break; - IL_025f: + goto IL_024a; + IL_024a: skipMarkerCheck = 1; - goto IL_0260; + goto IL_024b; + IL_024b: + uint? pickUpItemId = step.PickUpItemId ?? step.GCPurchase?.ItemId; + byte? taxiStandId = step.TaxiStandId; + SkipStepConditions? skipConditions2 = step.SkipConditions?.StepIf; + List completionQuestVariablesFlags = step.CompletionQuestVariablesFlags; + uint? purchaseItemId = ((step.InteractionType == EInteractionType.PurchaseItem) ? step.ItemId : ((uint?)null)); + int purchaseItemCount = ((step.InteractionType == EInteractionType.PurchaseItem) ? step.ItemCount.GetValueOrDefault() : 0); + yield return new Task(value, quest, interactionType2, (byte)skipMarkerCheck != 0, pickUpItemId, taxiStandId, skipConditions2, completionQuestVariablesFlags, null, purchaseItemId, purchaseItemCount); } } @@ -109,11 +116,15 @@ internal static class Interact public EStatus? CompletionStatusId { get; init; } + public uint? PurchaseItemId { get; init; } + + public int PurchaseItemCount { get; init; } + public List CompletionQuestVariablesFlags { get; } public bool HasCompletionQuestVariablesFlags { get; } - public Task(uint DataId, Quest? Quest, EInteractionType InteractionType, bool SkipMarkerCheck = false, uint? PickUpItemId = null, byte? TaxiStandId = null, SkipStepConditions? SkipConditions = null, List? CompletionQuestVariablesFlags = null, EStatus? CompletionStatusId = null) + public Task(uint DataId, Quest? Quest, EInteractionType InteractionType, bool SkipMarkerCheck = false, uint? PickUpItemId = null, byte? TaxiStandId = null, SkipStepConditions? SkipConditions = null, List? CompletionQuestVariablesFlags = null, EStatus? CompletionStatusId = null, uint? PurchaseItemId = null, int PurchaseItemCount = 0) { this.DataId = DataId; this.Quest = Quest; @@ -123,6 +134,8 @@ internal static class Interact this.TaxiStandId = TaxiStandId; this.SkipConditions = SkipConditions; this.CompletionStatusId = CompletionStatusId; + this.PurchaseItemId = PurchaseItemId; + this.PurchaseItemCount = PurchaseItemCount; this.CompletionQuestVariablesFlags = CompletionQuestVariablesFlags ?? new List(); HasCompletionQuestVariablesFlags = Quest != null && CompletionQuestVariablesFlags != null && QuestWorkUtils.HasCompletionFlags(CompletionQuestVariablesFlags); base._002Ector(); @@ -139,7 +152,7 @@ internal static class Interact } [CompilerGenerated] - public void Deconstruct(out uint DataId, out Quest? Quest, out EInteractionType InteractionType, out bool SkipMarkerCheck, out uint? PickUpItemId, out byte? TaxiStandId, out SkipStepConditions? SkipConditions, out List? CompletionQuestVariablesFlags, out EStatus? CompletionStatusId) + public void Deconstruct(out uint DataId, out Quest? Quest, out EInteractionType InteractionType, out bool SkipMarkerCheck, out uint? PickUpItemId, out byte? TaxiStandId, out SkipStepConditions? SkipConditions, out List? CompletionQuestVariablesFlags, out EStatus? CompletionStatusId, out uint? PurchaseItemId, out int PurchaseItemCount) { DataId = this.DataId; Quest = this.Quest; @@ -150,10 +163,12 @@ internal static class Interact SkipConditions = this.SkipConditions; CompletionQuestVariablesFlags = this.CompletionQuestVariablesFlags; CompletionStatusId = this.CompletionStatusId; + PurchaseItemId = this.PurchaseItemId; + PurchaseItemCount = this.PurchaseItemCount; } } - internal sealed class DoInteract(GameFunctions gameFunctions, QuestFunctions questFunctions, ICondition condition, ILogger logger) : TaskExecutor(), IConditionChangeAware, ITaskExecutor + internal sealed class DoInteract(GameFunctions gameFunctions, QuestFunctions questFunctions, ShopController shopController, ICondition condition, ILogger logger) : TaskExecutor(), IConditionChangeAware, ITaskExecutor { private enum EInteractionState { @@ -162,13 +177,19 @@ internal static class Interact InteractionConfirmed } + private const long GatheringNodeLoadTimeoutMs = 1000L; + private bool _needsUnmount; private EInteractionState _interactionState; - private DateTime _continueAt = DateTime.MinValue; + private long _continueAt; - private bool delayedFinalCheck; + private int _interactionAttempts; + + private long _gatheringNodeMissingSince; + + private bool _delayedFinalCheck; public Quest? Quest => base.Task.Quest; @@ -179,29 +200,35 @@ internal static class Interact InteractionType = base.Task.InteractionType; _interactionState = EInteractionState.None; _needsUnmount = false; - delayedFinalCheck = false; - _continueAt = DateTime.MinValue; - IGameObject gameObject = gameFunctions.FindObjectByDataId(base.Task.DataId); + _delayedFinalCheck = false; + _continueAt = 0L; + _interactionAttempts = 0; + _gatheringNodeMissingSince = 0L; + IGameObject gameObject = gameFunctions.FindObjectByDataId(base.Task.DataId, null, warnIfMissing: false); if (gameObject == null) { - logger.LogWarning("No game object with dataId {DataId}", base.Task.DataId); - return false; + if (InteractionType == EInteractionType.Gather) + { + _gatheringNodeMissingSince = Environment.TickCount64; + } + logger.LogDebug("Object with dataId {DataId} not found yet, waiting", base.Task.DataId); + return true; } if (!gameObject.IsTargetable) { SkipStepConditions skipConditions = base.Task.SkipConditions; if (skipConditions != null && !skipConditions.Never && skipConditions.NotTargetable) { - logger.LogInformation("Not interacting with {DataId} because it is not targetable (but skippable)", base.Task.DataId); + logger.LogDebug("Not interacting with {DataId} because it is not targetable (but skippable)", base.Task.DataId); return false; } } if (!gameObject.IsTargetable && condition[ConditionFlag.Mounted] && gameObject.ObjectKind != Dalamud.Game.ClientState.Objects.Enums.ObjectKind.GatheringPoint) { - logger.LogInformation("Preparing interaction for {DataId} by unmounting", base.Task.DataId); + logger.LogDebug("Preparing interaction for {DataId} by unmounting", base.Task.DataId); _needsUnmount = true; gameFunctions.Unmount(); - _continueAt = DateTime.Now.AddSeconds(1.0); + _continueAt = Environment.TickCount64 + 1000; return true; } if (gameObject.IsTargetable && HasAnyMarker(gameObject)) @@ -214,7 +241,7 @@ internal static class Interact public unsafe override ETaskResult Update() { - if (DateTime.Now <= _continueAt) + if (Environment.TickCount64 <= _continueAt) { return ETaskResult.StillRunning; } @@ -223,7 +250,7 @@ internal static class Interact if (condition[ConditionFlag.Mounted]) { gameFunctions.Unmount(); - _continueAt = DateTime.Now.AddSeconds(1.0); + _continueAt = Environment.TickCount64 + 1000; return ETaskResult.StillRunning; } _needsUnmount = false; @@ -234,6 +261,7 @@ internal static class Interact EStatus valueOrDefault = completionStatusId.GetValueOrDefault(); if (gameFunctions.HasStatus(valueOrDefault)) { + ResetProgressTimer(); return ETaskResult.TaskComplete; } } @@ -243,17 +271,37 @@ internal static class Interact uint valueOrDefault2 = pickUpItemId.GetValueOrDefault(); if (InventoryManager.Instance()->GetInventoryItemCount(valueOrDefault2, isHq: false, checkEquipped: true, checkArmory: true, 0) > 0) { + ResetProgressTimer(); return ETaskResult.TaskComplete; } } else { + pickUpItemId = base.Task.PurchaseItemId; + if (pickUpItemId.HasValue) + { + uint valueOrDefault3 = pickUpItemId.GetValueOrDefault(); + if (base.Task.PurchaseItemCount > 0) + { + if (((ItemHandle)valueOrDefault3).GetCount(checkEquipped: true, checkArmory: true) >= base.Task.PurchaseItemCount) + { + ResetProgressTimer(); + return ETaskResult.TaskComplete; + } + if (shopController.IsOpen) + { + return ETaskResult.StillRunning; + } + goto IL_0252; + } + } byte? taxiStandId = base.Task.TaxiStandId; if (taxiStandId.HasValue) { - byte valueOrDefault3 = taxiStandId.GetValueOrDefault(); - if (UIState.Instance()->IsChocoboTaxiStandUnlocked((uint)(valueOrDefault3 + 1179648))) + byte valueOrDefault4 = taxiStandId.GetValueOrDefault(); + if (UIState.Instance()->IsChocoboTaxiStandUnlocked((uint)(valueOrDefault4 + 1179648))) { + ResetProgressTimer(); return ETaskResult.TaskComplete; } } @@ -261,18 +309,19 @@ internal static class Interact { if (InteractionType == EInteractionType.Gather && condition[ConditionFlag.Gathering]) { + ResetProgressTimer(); return ETaskResult.TaskComplete; } if (Quest != null && base.Task.HasCompletionQuestVariablesFlags) { QuestProgressInfo questProgressInfo = questFunctions.GetQuestProgressInfo(Quest.Id); - if (questProgressInfo == null || !QuestWorkUtils.MatchesQuestWork(base.Task.CompletionQuestVariablesFlags, questProgressInfo)) + if (questProgressInfo != null && QuestWorkUtils.MatchesQuestWork(base.Task.CompletionQuestVariablesFlags, questProgressInfo)) { - return ETaskResult.StillRunning; + ResetProgressTimer(); + return ETaskResult.TaskComplete; } - return ETaskResult.TaskComplete; } - if (base.ProgressContext != null) + else if (base.ProgressContext != null) { if (base.ProgressContext.WasInterrupted()) { @@ -281,23 +330,50 @@ internal static class Interact } if (base.ProgressContext.WasSuccessful() || _interactionState == EInteractionState.InteractionConfirmed) { - if (delayedFinalCheck) + ResetProgressTimer(); + if (_delayedFinalCheck) { return ETaskResult.TaskComplete; } - _continueAt = DateTime.Now.AddSeconds(0.2); - delayedFinalCheck = true; + _continueAt = Environment.TickCount64 + 200; + _delayedFinalCheck = true; return ETaskResult.StillRunning; } } } } - IGameObject gameObject = gameFunctions.FindObjectByDataId(base.Task.DataId); - if (gameObject == null || !gameObject.IsTargetable || !HasAnyMarker(gameObject)) + goto IL_0252; + IL_0252: + IGameObject gameObject = gameFunctions.FindObjectByDataId(base.Task.DataId, null, warnIfMissing: false); + if (gameObject == null || !gameObject.IsTargetable) + { + if (InteractionType == EInteractionType.Gather) + { + if (_gatheringNodeMissingSince == 0L) + { + _gatheringNodeMissingSince = Environment.TickCount64; + } + if (Environment.TickCount64 - _gatheringNodeMissingSince >= 1000) + { + logger.LogDebug("Gathering node {DataId} is not active, selecting another node", base.Task.DataId); + return ETaskResult.SkipRemainingTasksForStep; + } + } + return ETaskResult.StillRunning; + } + _gatheringNodeMissingSince = 0L; + if (!HasAnyMarker(gameObject)) { return ETaskResult.StillRunning; } + _interactionAttempts++; + if (_interactionAttempts > 10) + { + logger.LogWarning("Interaction with {DataId} failed after {Attempts} attempts, retrying step", base.Task.DataId, _interactionAttempts); + return ETaskResult.RetryStep; + } TriggerInteraction(gameObject); + ResetProgressTimer(); return ETaskResult.StillRunning; } @@ -305,17 +381,10 @@ internal static class Interact { base.ProgressContext = InteractionProgressContext.FromActionUseOrDefault(delegate { - if (gameFunctions.InteractWith(gameObject)) - { - _interactionState = EInteractionState.InteractionTriggered; - } - else - { - _interactionState = EInteractionState.None; - } + _interactionState = (gameFunctions.InteractWith(gameObject) ? EInteractionState.InteractionTriggered : EInteractionState.None); return _interactionState != EInteractionState.None; }); - _continueAt = DateTime.Now.AddSeconds(0.5); + _continueAt = Environment.TickCount64 + 500; } private unsafe bool HasAnyMarker(IGameObject gameObject) @@ -341,7 +410,7 @@ internal static class Interact } if (flag2 && value) { - logger.LogInformation("Interaction was most likely triggered"); + logger.LogDebug("Interaction was most likely triggered"); _interactionState = EInteractionState.InteractionConfirmed; } } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/Jump.cs b/Questionable/Questionable.Controller.Steps.Interactions/Jump.cs index 13e2974..00ae829 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/Jump.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/Jump.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Numerics; using System.Runtime.InteropServices; using Dalamud.Game.ClientState.Conditions; -using Dalamud.Game.ClientState.Objects.Types; +using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game; using Microsoft.Extensions.Logging; @@ -52,13 +52,13 @@ internal static class Jump { protected unsafe override bool Start() { - IGameObject gameObject = _003CobjectTable_003EP[0]; - if (gameObject == null) + IPlayerCharacter localPlayer = _003CobjectTable_003EP.LocalPlayer; + if (localPlayer == null) { return false; } float num = base.Task.JumpDestination.CalculateStopDistance(); - if ((gameObject.Position - base.Task.JumpDestination.Position).Length() <= num) + if ((localPlayer.Position - base.Task.JumpDestination.Position).Length() <= num) { return false; } @@ -82,8 +82,7 @@ internal static class Jump { return ETaskResult.StillRunning; } - DateTime movementStartedAt = _003CmovementController_003EP.MovementStartedAt; - if (movementStartedAt == DateTime.MaxValue || movementStartedAt.AddSeconds(1.0) >= DateTime.Now) + if (!_003CmovementController_003EP.HasBeenMovingForAtLeast(1000)) { return ETaskResult.StillRunning; } @@ -116,7 +115,7 @@ internal static class Jump { private readonly IObjectTable _objectTable; - private DateTime _continueAt; + private long _continueAt; private int _attempts; @@ -125,33 +124,32 @@ internal static class Jump _003Ccondition_003EP = condition; _003Clogger_003EP = logger; _objectTable = objectTable; - _continueAt = DateTime.MinValue; base._002Ector(movementController, objectTable, framework); } protected override bool Start() { - _continueAt = DateTime.Now + TimeSpan.FromSeconds(2f * (base.Task.JumpDestination.DelaySeconds ?? 0.5f)); + _continueAt = Environment.TickCount64 + (long)(2000f * (base.Task.JumpDestination.DelaySeconds ?? 0.5f)); return base.Start(); } public unsafe override ETaskResult Update() { - if (DateTime.Now < _continueAt || _003Ccondition_003EP[ConditionFlag.Jumping]) + if (Environment.TickCount64 < _continueAt || _003Ccondition_003EP[ConditionFlag.Jumping]) { return ETaskResult.StillRunning; } - IGameObject gameObject = _objectTable[0]; - if (gameObject == null) + IPlayerCharacter localPlayer = _objectTable.LocalPlayer; + if (localPlayer == null) { return ETaskResult.TaskComplete; } float num = base.Task.JumpDestination.CalculateStopDistance(); - if ((gameObject.Position - base.Task.JumpDestination.Position).Length() <= num || gameObject.Position.Y >= base.Task.JumpDestination.Position.Y - 0.5f) + if ((localPlayer.Position - base.Task.JumpDestination.Position).Length() <= num || localPlayer.Position.Y >= base.Task.JumpDestination.Position.Y - 0.5f) { return ETaskResult.TaskComplete; } - _003Clogger_003EP.LogTrace("Y-Heights for jumps: player={A}, target={B}", gameObject.Position.Y, base.Task.JumpDestination.Position.Y - 0.5f); + _003Clogger_003EP.LogTrace("Y-Heights for jumps: player={A}, target={B}", localPlayer.Position.Y, base.Task.JumpDestination.Position.Y - 0.5f); if (ActionManager.Instance()->UseAction(ActionType.GeneralAction, 2u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null)) { _attempts++; @@ -160,7 +158,7 @@ internal static class Jump { throw new TaskException("Tried to jump too many times, didn't reach the target"); } - _continueAt = DateTime.Now + TimeSpan.FromSeconds(base.Task.JumpDestination.DelaySeconds ?? 0.5f); + _continueAt = Environment.TickCount64 + (long)(1000f * (base.Task.JumpDestination.DelaySeconds ?? 0.5f)); return ETaskResult.StillRunning; } } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/MeldMateria.cs b/Questionable/Questionable.Controller.Steps.Interactions/MeldMateria.cs new file mode 100644 index 0000000..8c0191f --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Interactions/MeldMateria.cs @@ -0,0 +1,234 @@ +using System; +using System.Collections.Generic; +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using LLib; +using LLib.Gear; +using Microsoft.Extensions.Logging; +using Questionable.Model; +using Questionable.Model.Questing; + +namespace Questionable.Controller.Steps.Interactions; + +internal static class MeldMateria +{ + internal sealed class Factory : ITaskFactory + { + public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + if (step.InteractionType != EInteractionType.MeldMateria) + { + return Array.Empty(); + } + ArgumentNullException.ThrowIfNull(step.ItemId, "step.ItemId"); + return new global::_003C_003Ez__ReadOnlySingleElementList(new MeldTask(step.ItemId.Value, step.DataId)); + } + } + + internal sealed record MeldTask(uint MateriaItemId, uint? TargetItemId) : ITask + { + public override string ToString() + { + return $"Meld materia {MateriaItemId}" + (TargetItemId.HasValue ? $" into item {TargetItemId}" : ""); + } + } + + internal sealed class DoMeld(IGameGui gameGui, ILogger logger) : TaskExecutor() + { + private enum EMeldState + { + OpeningAgent, + WaitingForAgent, + SelectingCategory, + WaitingAfterCategory, + SelectingItem, + WaitingAfterItem, + SelectingMateria, + WaitingForDialog, + Confirming, + WaitingForCompletion + } + + private Throttle _throttle; + + private int _materiaStartCount; + + private unsafe InventoryItem* _targetItem; + + private InventoryType _targetInventoryType; + + private EMeldState _state; + + private long _stateChangedAt; + + public override bool HasTimedOut(float timeoutSeconds) + { + return Environment.TickCount64 - _stateChangedAt > (long)(timeoutSeconds * 1000f); + } + + private void SetState(EMeldState state) + { + _state = state; + _stateChangedAt = Environment.TickCount64; + } + + protected override bool Start() + { + _materiaStartCount = MateriaHelper.CountMateriaInInventory(base.Task.MateriaItemId); + if (_materiaStartCount == 0) + { + logger.LogInformation("Already used materia {MateriaId} or don't have it", base.Task.MateriaItemId); + return false; + } + if (!FindTargetItem()) + { + throw new TaskException("Cannot find target item to meld materia into"); + } + SetState(EMeldState.OpeningAgent); + return true; + } + + public unsafe override ETaskResult Update() + { + if (!_throttle.TryReset(0.5)) + { + return ETaskResult.StillRunning; + } + int num = MateriaHelper.CountMateriaInInventory(base.Task.MateriaItemId); + if (num < _materiaStartCount) + { + logger.LogInformation("Materia {MateriaId} melded successfully ({Old} -> {New})", base.Task.MateriaItemId, _materiaStartCount, num); + MeldActions.CloseMeldAgent(); + return ETaskResult.TaskComplete; + } + switch (_state) + { + case EMeldState.OpeningAgent: + if (MeldActions.TryOpenMeldAgent()) + { + SetState(EMeldState.WaitingForAgent); + } + break; + case EMeldState.WaitingForAgent: + if (MeldActions.IsMeldAgentReady()) + { + SetState(EMeldState.SelectingCategory); + } + break; + case EMeldState.SelectingCategory: + if (MeldActions.TrySelectItemCategory((int)MeldActions.GetFilterCategory(_targetInventoryType))) + { + SetState(EMeldState.WaitingAfterCategory); + } + break; + case EMeldState.WaitingAfterCategory: + if (!MeldActions.IsAgentLoading()) + { + SetState(EMeldState.SelectingItem); + } + break; + case EMeldState.SelectingItem: + { + int? num2 = MeldActions.FindItemIndex(_targetItem); + if (!num2.HasValue) + { + logger.LogWarning("Could not find target item in agent list"); + } + else if (MeldActions.TrySelectItem(num2.Value)) + { + logger.LogInformation("Selected item at agent index {Index}", num2.Value); + SetState(EMeldState.WaitingAfterItem); + } + break; + } + case EMeldState.WaitingAfterItem: + if (!MeldActions.IsAgentLoading()) + { + SetState(EMeldState.SelectingMateria); + } + break; + case EMeldState.SelectingMateria: + { + int? num3 = MeldActions.FindMateriaIndex(base.Task.MateriaItemId); + if (!num3.HasValue) + { + logger.LogWarning("Could not find materia {MateriaId} in agent list", base.Task.MateriaItemId); + } + else if (MeldActions.TrySelectMateria(num3.Value)) + { + logger.LogInformation("Selected materia at agent index {Index}", num3.Value); + SetState(EMeldState.WaitingForDialog); + } + break; + } + case EMeldState.WaitingForDialog: + if (MeldActions.IsMeldDialogReady(gameGui)) + { + SetState(EMeldState.Confirming); + } + break; + case EMeldState.Confirming: + if (MeldActions.TryConfirmMeld(gameGui)) + { + logger.LogInformation("Confirmed meld"); + SetState(EMeldState.WaitingForCompletion); + } + break; + } + return ETaskResult.StillRunning; + } + + private unsafe bool FindTargetItem() + { + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return false; + } + ReadOnlySpan readOnlySpan = new InventoryType[15] + { + InventoryType.Inventory1, + InventoryType.Inventory2, + InventoryType.Inventory3, + InventoryType.Inventory4, + InventoryType.ArmoryMainHand, + InventoryType.ArmoryOffHand, + InventoryType.ArmoryHead, + InventoryType.ArmoryBody, + InventoryType.ArmoryHands, + InventoryType.ArmoryLegs, + InventoryType.ArmoryFeets, + InventoryType.ArmoryEar, + InventoryType.ArmoryNeck, + InventoryType.ArmoryWrist, + InventoryType.ArmoryRings + }; + for (int i = 0; i < readOnlySpan.Length; i++) + { + InventoryType inventoryType = readOnlySpan[i]; + InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(inventoryType); + if (inventoryContainer == null) + { + continue; + } + for (int j = 0; j < inventoryContainer->Size; j++) + { + InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(j); + if (inventorySlot != null && inventorySlot->ItemId != 0 && (!base.Task.TargetItemId.HasValue || inventorySlot->ItemId == base.Task.TargetItemId.Value)) + { + _targetItem = inventorySlot; + _targetInventoryType = inventoryType; + logger.LogInformation("Found target item {ItemId} in {InvType} slot {Slot}", inventorySlot->ItemId, inventoryType, j); + return true; + } + } + } + return false; + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + } +} diff --git a/Questionable/Questionable.Controller.Steps.Interactions/Say.cs b/Questionable/Questionable.Controller.Steps.Interactions/Say.cs index c1f91fd..7e28127 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/Say.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/Say.cs @@ -14,7 +14,7 @@ internal static class Say public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) { EInteractionType interactionType = step.InteractionType; - if ((uint)(interactionType - 28) <= 1u) + if ((uint)(interactionType - 30) <= 1u) { if (step.ChatMessage == null) { @@ -42,11 +42,11 @@ internal static class Say } } - internal sealed class UseChat(ChatFunctions chatFunctions) : AbstractDelayedTaskExecutor() + internal sealed class UseChat : AbstractDelayedTaskExecutor { protected override bool StartInternal() { - chatFunctions.ExecuteCommand("/say " + base.Task.ChatMessage); + ChatFunctions.ExecuteCommand("/say " + base.Task.ChatMessage); return true; } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/SinglePlayerDuty.cs b/Questionable/Questionable.Controller.Steps.Interactions/SinglePlayerDuty.cs index 5fa1820..50fd8bf 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/SinglePlayerDuty.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/SinglePlayerDuty.cs @@ -8,12 +8,17 @@ using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game; using FFXIVClientStructs.FFXIV.Client.Game.Event; using FFXIVClientStructs.FFXIV.Client.Game.InstanceContent; +using Microsoft.Extensions.Logging; +using Questionable.Controller.CombatModules; using Questionable.Controller.Steps.Common; using Questionable.Controller.Steps.Shared; +using Questionable.Controller.Utils; using Questionable.Data; using Questionable.External; +using Questionable.Functions; using Questionable.Model; using Questionable.Model.Questing; +using Questionable.Notifications; namespace Questionable.Controller.Steps.Interactions; @@ -28,7 +33,7 @@ internal static class SinglePlayerDuty public const ushort Naadam = 688; } - internal sealed class Factory(BossModIpc bossModIpc, TerritoryData territoryData, ICondition condition, IClientState clientState, IObjectTable objectTable) : ITaskFactory + internal sealed class Factory(BossModIpc bossModIpc, WrathComboModule wrathComboModule, RotationSolverRebornModule rsrModule, Configuration configuration, TerritoryData territoryData, QuestFunctions questFunctions, DutyRetryState dutyRetryState, ICondition condition, IClientState clientState, IObjectTable objectTable) : ITaskFactory { public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) { @@ -41,29 +46,50 @@ internal static class SinglePlayerDuty { yield break; } - if (!territoryData.TryGetContentFinderConditionForSoloInstance(quest.Id, step.SinglePlayerDutyIndex, out TerritoryData.ContentFinderConditionData cfcData)) + if (!territoryData.TryGetContentFinderConditionForSoloInstance(quest.Id, step.SinglePlayerDutyIndex, out TerritoryData.ContentFinderConditionData contentFinderConditionData)) { throw new TaskException("Failed to get content finder condition for solo instance"); } - yield return new StartSinglePlayerDuty(cfcData.ContentFinderConditionId); - yield return new WaitAtStart.WaitDelay(TimeSpan.FromSeconds(2L)); - yield return new EnableAi(cfcData.TerritoryId == 688); - if (cfcData.TerritoryId == 1052) + QuestProgressInfo questProgressInfo = questFunctions.GetQuestProgressInfo(quest.Id); + byte seqBefore = questProgressInfo?.Sequence ?? 0; + IReadOnlyList varsBefore = questProgressInfo?.Variables.ToArray(); + dutyRetryState.Reset(); + List dutyTasks = new List(); + if (wrathComboModule.IsAvailable()) { - yield return new SetTarget(14643u); - yield return new WaitCondition.Task(() => condition[ConditionFlag.Unconscious] || clientState.TerritoryType != 1052, "Wait(death)"); - yield return new DisableAi(); - yield return new WaitCondition.Task(() => !condition[ConditionFlag.Unconscious] || clientState.TerritoryType != 1052, "Wait(resurrection)"); - yield return new EnableAi(); + dutyTasks.Add(new Duty.EnableWrathForDutyTask()); } - else if (cfcData.TerritoryId == 665) + else if (rsrModule.IsAvailable()) { - yield return new WaitCondition.Task(() => DutyActionsAvailable() || clientState.TerritoryType != 665, "Wait(Phase 2)"); - yield return new EnableAi(Passive: true); + dutyTasks.Add(new Duty.EnableRsrForDutyTask()); } - else if (cfcData.TerritoryId == 688) + if (configuration.General.CombatModule == Configuration.ECombatModule.BossMod && bossModIpc.IsSupported()) { - yield return new WaitCondition.Task(delegate + dutyTasks.Add(new Duty.EnableBossModForDutyTask()); + } + else if (bossModIpc.IsSupported()) + { + dutyTasks.Add(new Duty.EnableBossModPassiveForDutyTask()); + } + dutyTasks.Add(new StartSinglePlayerDuty(contentFinderConditionData.ContentFinderConditionId)); + dutyTasks.Add(new WaitAtStart.WaitDelay(TimeSpan.FromSeconds(2L))); + dutyTasks.Add(new EnableAi()); + if (contentFinderConditionData.TerritoryId == 1052) + { + dutyTasks.Add(new SetTarget(14643u)); + dutyTasks.Add(new WaitCondition.Task(() => condition[ConditionFlag.Unconscious] || clientState.TerritoryType != 1052, "Wait(death)")); + dutyTasks.Add(new DisableAi()); + dutyTasks.Add(new WaitCondition.Task(() => !condition[ConditionFlag.Unconscious] || clientState.TerritoryType != 1052, "Wait(resurrection)")); + dutyTasks.Add(new EnableAi()); + } + else if (contentFinderConditionData.TerritoryId == 665) + { + dutyTasks.Add(new WaitCondition.Task(() => DutyActionsAvailable() || clientState.TerritoryType != 665, "Wait(Phase 2)")); + dutyTasks.Add(new EnableAi()); + } + else if (contentFinderConditionData.TerritoryId == 688) + { + dutyTasks.Add(new WaitCondition.Task(delegate { if (clientState.TerritoryType != 688) { @@ -71,13 +97,18 @@ internal static class SinglePlayerDuty } Vector3 vector = objectTable[0]?.Position ?? default(Vector3); return (new Vector3(352.01f, -1.45f, 288.59f) - vector).Length() < 10f; - }, "Wait(moving to Ovoo)"); - yield return new Mount.UnmountTask(); - yield return new EnableAi(); + }, "Wait(moving to Ovoo)")); + dutyTasks.Add(new Mount.UnmountTask()); + dutyTasks.Add(new EnableAi()); } - yield return new WaitSinglePlayerDuty(cfcData.ContentFinderConditionId); - yield return new DisableAi(); - yield return new WaitAtEnd.WaitNextStepOrSequence(); + dutyTasks.Add(new WaitSinglePlayerDuty(contentFinderConditionData.ContentFinderConditionId)); + dutyTasks.Add(new DisableAi()); + dutyTasks.Add(new Duty.DisableCombatPluginsForDutyTask()); + foreach (ITask item in dutyTasks) + { + yield return item; + } + yield return new CheckDutyOutcome(quest.Id, seqBefore, varsBefore, step.CompletionQuestVariablesFlags, dutyTasks); } private unsafe bool DutyActionsAvailable() @@ -101,7 +132,7 @@ internal static class SinglePlayerDuty internal sealed class StartSinglePlayerDutyExecutor(ICondition condition) : TaskExecutor() { - private DateTime _enteredAt = DateTime.MinValue; + private long _enteredAtMs; protected override bool Start() { @@ -118,11 +149,11 @@ internal static class SinglePlayerDuty { return ETaskResult.StillRunning; } - if (_enteredAt == DateTime.MinValue) + if (_enteredAtMs == 0L) { - _enteredAt = DateTime.Now; + _enteredAtMs = Environment.TickCount64; } - if (!(DateTime.Now - _enteredAt >= TimeSpan.FromSeconds(2L))) + if (Environment.TickCount64 - _enteredAtMs < 2000) { return ETaskResult.StillRunning; } @@ -135,11 +166,11 @@ internal static class SinglePlayerDuty } } - internal sealed record EnableAi(bool Passive = false) : ITask + internal sealed record EnableAi : ITask { public override string ToString() { - return "BossMod.EnableAi(" + (Passive ? "Passive" : "AutoPull") + ")"; + return "BossMod.EnableAi"; } } @@ -147,7 +178,7 @@ internal static class SinglePlayerDuty { protected override bool Start() { - bossModIpc.EnableAi(base.Task.Passive); + bossModIpc.EnableQuestBattleAi(); return true; } @@ -170,7 +201,7 @@ internal static class SinglePlayerDuty } } - internal sealed class WaitSinglePlayerDutyExecutor(BossModIpc bossModIpc, MovementController movementController) : TaskExecutor(), IStoppableTaskExecutor, ITaskExecutor, IDebugStateProvider + internal sealed class WaitSinglePlayerDutyExecutor(BossModIpc bossModIpc, MovementController movementController, TerritoryData territoryData, NotificationService notificationService) : TaskExecutor(), IStoppableTaskExecutor, ITaskExecutor, IDebugStateProvider { protected override bool Start() { @@ -179,16 +210,18 @@ internal static class SinglePlayerDuty public unsafe override ETaskResult Update() { - if (GameMain.Instance()->CurrentContentFinderConditionId == base.Task.ContentFinderConditionId) + if (GameMain.Instance()->CurrentContentFinderConditionId != base.Task.ContentFinderConditionId) { - return ETaskResult.StillRunning; + string text = territoryData.GetContentFinderCondition(base.Task.ContentFinderConditionId)?.Name ?? "Single player duty"; + notificationService.Notify(EInteractionType.SinglePlayerDuty, "Single player duty complete - " + text); + return ETaskResult.TaskComplete; } - return ETaskResult.TaskComplete; + return ETaskResult.StillRunning; } public void StopNow() { - bossModIpc.DisableAi(); + bossModIpc.DisableQuestBattleAi(); } public override bool ShouldInterruptOnDamage() @@ -218,7 +251,7 @@ internal static class SinglePlayerDuty { protected override bool Start() { - bossModIpc.DisableAi(); + bossModIpc.DisableQuestBattleAi(); return true; } @@ -241,7 +274,7 @@ internal static class SinglePlayerDuty } } - internal sealed class SetTargetExecutor(ITargetManager targetManager, IObjectTable objectTable) : TaskExecutor() + internal sealed class SetTargetExecutor(ITargetManager targetManager, GameFunctions gameFunctions) : TaskExecutor() { protected override bool Start() { @@ -254,7 +287,7 @@ internal static class SinglePlayerDuty { return ETaskResult.TaskComplete; } - IGameObject gameObject = objectTable.FirstOrDefault((IGameObject x) => x.BaseId == base.Task.DataId); + IGameObject gameObject = gameFunctions.FindObjectByDataId(base.Task.DataId, null, warnIfMissing: false); if (gameObject == null) { return ETaskResult.StillRunning; @@ -268,4 +301,85 @@ internal static class SinglePlayerDuty return false; } } + + internal sealed record CheckDutyOutcome(ElementId QuestId, byte SequenceBeforeEntering, IReadOnlyList? VariablesBeforeEntering, IList CompletionQuestVariablesFlags, IReadOnlyList DutyTasks) : ITask + { + public override string ToString() + { + return "CheckDutyOutcome"; + } + } + + internal sealed class CheckDutyOutcomeExecutor(QuestFunctions questFunctions, DutyRetryState retryState, Configuration configuration, ILogger logger) : TaskExecutor(), IExtraTaskCreator, ITaskExecutor + { + private long _checkAtMs; + + protected override bool Start() + { + _checkAtMs = Environment.TickCount64 + 2000; + retryState.BeginAwaitingOutcome(); + return true; + } + + public override ETaskResult Update() + { + if (Environment.TickCount64 < _checkAtMs) + { + return ETaskResult.StillRunning; + } + string text = DetectSuccess(); + if (text != null) + { + logger.LogInformation("Duty succeeded ({Reason})", text); + retryState.Reset(); + return ETaskResult.TaskComplete; + } + int maxRetries = configuration.SinglePlayerDuties.MaxRetries; + if (!retryState.CanRetry(maxRetries)) + { + logger.LogInformation("Duty failed, retry limit reached or retries disabled"); + retryState.EndAwaitingOutcome(); + return ETaskResult.End; + } + retryState.RecordRetry(); + logger.LogInformation("Duty failed, retrying"); + return ETaskResult.CreateNewTasks; + } + + private string? DetectSuccess() + { + QuestProgressInfo questProgressInfo = questFunctions.GetQuestProgressInfo(base.Task.QuestId); + if (questProgressInfo == null) + { + return "quest completed"; + } + if (questProgressInfo.Sequence > base.Task.SequenceBeforeEntering) + { + return $"sequence {base.Task.SequenceBeforeEntering} -> {questProgressInfo.Sequence}"; + } + if (QuestWorkUtils.HasCompletionFlags(base.Task.CompletionQuestVariablesFlags) && QuestWorkUtils.MatchesQuestWork(base.Task.CompletionQuestVariablesFlags, questProgressInfo)) + { + return "completion flags matched"; + } + if (base.Task.VariablesBeforeEntering != null && !questProgressInfo.Variables.SequenceEqual(base.Task.VariablesBeforeEntering)) + { + return "quest variables changed"; + } + return null; + } + + public IEnumerable CreateExtraTasks() + { + foreach (ITask dutyTask in base.Task.DutyTasks) + { + yield return dutyTask; + } + yield return base.Task; + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + } } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/StatusOff.cs b/Questionable/Questionable.Controller.Steps.Interactions/StatusOff.cs index a3e751c..304eed7 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/StatusOff.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/StatusOff.cs @@ -1,5 +1,4 @@ using System; -using Questionable.Controller.Steps.Common; using Questionable.Functions; using Questionable.Model; using Questionable.Model.Questing; @@ -34,9 +33,9 @@ internal static class StatusOff } } - internal sealed class DoStatusOff(GameFunctions gameFunctions) : AbstractDelayedTaskExecutor() + internal sealed class DoStatusOff(GameFunctions gameFunctions) : TaskExecutor() { - protected override bool StartInternal() + protected override bool Start() { if (gameFunctions.HasStatus(base.Task.Status)) { diff --git a/Questionable/Questionable.Controller.Steps.Interactions/UnequipItem.cs b/Questionable/Questionable.Controller.Steps.Interactions/UnequipItem.cs new file mode 100644 index 0000000..4bd83ff --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Interactions/UnequipItem.cs @@ -0,0 +1,85 @@ +using System; +using LLib.Gear; +using LLib.Inventory; +using Microsoft.Extensions.Logging; +using Questionable.Model; +using Questionable.Model.Questing; + +namespace Questionable.Controller.Steps.Interactions; + +internal static class UnequipItem +{ + internal sealed class Factory : SimpleTaskFactory + { + public override ITask? CreateTask(Quest quest, QuestSequence sequence, QuestStep step) + { + if (step.InteractionType != EInteractionType.UnequipItem) + { + return null; + } + ArgumentNullException.ThrowIfNull(step.ItemId, "step.ItemId"); + return new Task(step.ItemId.Value); + } + } + + internal sealed record Task(uint ItemId) : ITask + { + public override string ToString() + { + return $"Unequip({ItemId})"; + } + } + + internal sealed class DoUnequip(ILogger logger) : TaskExecutor() + { + private long _continueAt; + + private int _attempts; + + protected override bool Start() + { + int equippedItemSlot = InventoryHelper.GetEquippedItemSlot(base.Task.ItemId); + if (equippedItemSlot < 0) + { + logger.LogDebug("Item {ItemId} is not equipped, skipping", base.Task.ItemId); + return false; + } + if (!EEquipSlotCategoryExtensions.TryUnequipItem(equippedItemSlot)) + { + throw new TaskException($"Failed to unequip item {base.Task.ItemId} - armory chest may be full"); + } + _continueAt = Environment.TickCount64 + 1000; + _attempts = 1; + return true; + } + + public override ETaskResult Update() + { + if (Environment.TickCount64 < _continueAt) + { + return ETaskResult.StillRunning; + } + if (!InventoryHelper.IsItemEquipped(base.Task.ItemId)) + { + return ETaskResult.TaskComplete; + } + _attempts++; + if (_attempts > 3) + { + throw new TaskException($"Item {base.Task.ItemId} still equipped after {_attempts} attempts"); + } + int equippedItemSlot = InventoryHelper.GetEquippedItemSlot(base.Task.ItemId); + if (equippedItemSlot >= 0) + { + EEquipSlotCategoryExtensions.TryUnequipItem(equippedItemSlot); + } + _continueAt = Environment.TickCount64 + 1000; + return ETaskResult.StillRunning; + } + + public override bool ShouldInterruptOnDamage() + { + return true; + } + } +} diff --git a/Questionable/Questionable.Controller.Steps.Interactions/UseItem.cs b/Questionable/Questionable.Controller.Steps.Interactions/UseItem.cs index 785ac38..90c7e73 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/UseItem.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/UseItem.cs @@ -1,9 +1,9 @@ using System; using System.Collections.Generic; using System.Globalization; -using System.Linq; using System.Numerics; using Dalamud.Game.ClientState.Conditions; +using Dalamud.Game.Text.SeStringHandling; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game; using Microsoft.Extensions.Logging; @@ -14,8 +14,8 @@ using Questionable.Controller.Utils; using Questionable.Data; using Questionable.Functions; using Questionable.Model; -using Questionable.Model.Common; using Questionable.Model.Questing; +using SmartNav.Model; namespace Questionable.Controller.Steps.Interactions; @@ -45,14 +45,14 @@ internal static class UseItem return CreateVesperBayFallbackTask(); } UseOnSelf useOnSelf = new UseOnSelf(quest.Id, step.ItemId.Value, step.CompletionQuestVariablesFlags); - int num = sequence.Steps.IndexOf(step); - Vector3? position = (sequence.Steps.Skip(num + 1).FirstOrDefault() ?? step).Position; + int num = sequence.Steps.IndexOf(step) + 1; + Vector3? position = (((num < sequence.Steps.Count) ? sequence.Steps[num] : null) ?? step).Position; return new global::_003C_003Ez__ReadOnlyArray(new ITask[4] { useOnSelf, new WaitCondition.Task(() => clientState.TerritoryType == 140, "Wait(territory: " + territoryData.GetNameAndId(140u) + ")"), new Mount.MountTask(140, position.HasValue ? Mount.EMountIf.AwayFromPosition : Mount.EMountIf.Always, position), - new MoveTask(140, new Vector3(-408.92343f, 23.167036f, -351.16223f), null, 0.25f, null, DisableNavmesh: true, false, Fly: false, Land: false, IgnoreDistanceToObject: false, RestartNavigation: true, EInteractionType.WalkTo) + new MoveTask(140, new Vector3(-408.92343f, 23.167036f, -351.16223f), null, MountRequired: false, DismountRequired: false, 0.25f, null, DisableNavmesh: true, false, Fly: false, Land: false, IgnoreDistanceToObject: false, RestartNavigation: true, EInteractionType.WalkTo) }); } Mount.UnmountTask unmountTask = new Mount.UnmountTask(); @@ -90,12 +90,12 @@ internal static class UseItem uint npcId = 1003540u; ushort territoryId = 129; Vector3 destination = new Vector3(-360.9217f, 8f, 38.92566f); - yield return new AetheryteShortcut.Task(null, null, EAetheryteLocation.Limsa, territoryId); - yield return new Questionable.Controller.Steps.Shared.AethernetShortcut.Task(EAetheryteLocation.Limsa, EAetheryteLocation.LimsaArcanist); + yield return new AetheryteTeleport.Task(EAetheryteLocation.Limsa, territoryId); + yield return new AethernetRide.Task(EAetheryteLocation.Limsa, EAetheryteLocation.LimsaArcanist); yield return new WaitAtEnd.WaitDelay(); uint? dataId = npcId; bool? sprint = false; - yield return new MoveTask(territoryId, destination, null, null, dataId, DisableNavmesh: false, sprint, Fly: false, Land: false, IgnoreDistanceToObject: false, RestartNavigation: true, EInteractionType.WalkTo); + yield return new MoveTask(territoryId, destination, null, MountRequired: false, DismountRequired: false, null, dataId, DisableNavmesh: false, sprint, Fly: false, Land: false, IgnoreDistanceToObject: false, RestartNavigation: true, EInteractionType.WalkTo); yield return new Interact.Task(npcId, null, EInteractionType.None, SkipMarkerCheck: true); } } @@ -111,90 +111,108 @@ internal static class UseItem bool StartingCombat { get; } } - internal abstract class UseItemExecutorBase(QuestFunctions questFunctions, ICondition condition, ILogger logger) : TaskExecutor() where T : class, IUseItemBase + internal abstract class UseItemExecutorBase(QuestFunctions questFunctions, ICondition condition, ILogger logger) : TaskExecutor(), IToastAware, ITaskExecutor where T : class, IUseItemBase { + private const long ErrorToastWindowMs = 2000L; + private bool _usedItem; - private DateTime _continueAt; + private bool _errorToastReceived; - private int _itemCount; + private long _continueAt; - private ElementId? QuestId => base.Task.QuestId; + private long _usedItemAt; protected uint ItemId => base.Task.ItemId; - private IList CompletionQuestVariablesFlags => base.Task.CompletionQuestVariablesFlags; - - private bool StartingCombat => base.Task.StartingCombat; - protected abstract bool UseItem(); protected unsafe override bool Start() { - InventoryManager* ptr = InventoryManager.Instance(); - if (ptr == null) + InventoryManager* intPtr = InventoryManager.Instance(); + if (intPtr == null) { throw new TaskException("No InventoryManager"); } - _itemCount = ptr->GetInventoryItemCount(ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0); - if (_itemCount == 0) + if (intPtr->GetInventoryItemCount(ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0) == 0) { throw new TaskException($"Don't have any {ItemId} in inventory (checks NQ only)"); } base.ProgressContext = InteractionProgressContext.FromActionUseOrDefault(() => _usedItem = UseItem()); - _continueAt = DateTime.Now.Add(GetRetryDelay()); + _usedItemAt = Environment.TickCount64; + _continueAt = Environment.TickCount64 + GetRetryDelayMs(); return true; } - public unsafe override ETaskResult Update() + public override ETaskResult Update() { - if (QuestId is QuestId elementId && QuestWorkUtils.HasCompletionFlags(CompletionQuestVariablesFlags)) + if (base.Task.QuestId is QuestId elementId && QuestWorkUtils.HasCompletionFlags(base.Task.CompletionQuestVariablesFlags)) { QuestProgressInfo questProgressInfo = _003CquestFunctions_003EP.GetQuestProgressInfo(elementId); - if (questProgressInfo != null && QuestWorkUtils.MatchesQuestWork(CompletionQuestVariablesFlags, questProgressInfo)) + if (questProgressInfo != null && QuestWorkUtils.MatchesQuestWork(base.Task.CompletionQuestVariablesFlags, questProgressInfo)) { + ResetProgressTimer(); return ETaskResult.TaskComplete; } } - if (DateTime.Now <= _continueAt) + if (Environment.TickCount64 <= _continueAt) { return ETaskResult.StillRunning; } - if (StartingCombat && _003Ccondition_003EP[ConditionFlag.InCombat]) + if (base.Task.StartingCombat && _003Ccondition_003EP[ConditionFlag.InCombat]) { + ResetProgressTimer(); return ETaskResult.TaskComplete; } - if (ItemId == 30362 && _usedItem) + if (base.ProgressContext != null) { - InventoryManager* ptr = InventoryManager.Instance(); - if (ptr == null) + if (base.ProgressContext.WasInterrupted()) { - _003Clogger_003EP.LogWarning("InventoryManager is not available"); - return ETaskResult.StillRunning; - } - if (ptr->GetInventoryItemCount(ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0) == _itemCount) - { - _003Clogger_003EP.LogInformation("Attempted to use vesper bay aetheryte ticket, but it didn't consume an item - reattempting next frame"); + _003Clogger_003EP.LogDebug("Item use {ItemId} was interrupted", ItemId); _usedItem = false; + _errorToastReceived = false; return ETaskResult.StillRunning; } + if (base.ProgressContext.WasSuccessful()) + { + _errorToastReceived = false; + ResetProgressTimer(); + } + } + if (_usedItem && _errorToastReceived) + { + _003Clogger_003EP.LogDebug("Item {ItemId} use failed (error toast received), retrying", ItemId); + _usedItem = false; + _errorToastReceived = false; + return ETaskResult.StillRunning; } if (!_usedItem) { base.ProgressContext = InteractionProgressContext.FromActionUseOrDefault(() => _usedItem = UseItem()); - _continueAt = DateTime.Now.Add(GetRetryDelay()); + _usedItemAt = Environment.TickCount64; + _continueAt = Environment.TickCount64 + GetRetryDelayMs(); return ETaskResult.StillRunning; } return ETaskResult.TaskComplete; } - private TimeSpan GetRetryDelay() + private long GetRetryDelayMs() { if (ItemId == 30362) { - return TimeSpan.FromSeconds(11L); + return 11000L; } - return TimeSpan.FromSeconds(5L); + return 5000L; + } + + public bool OnErrorToast(SeString message) + { + if (_usedItem && Environment.TickCount64 - _usedItemAt < 2000) + { + _003Clogger_003EP.LogDebug("Error toast during item use: {Message}", message); + _errorToastReceived = true; + } + return false; } public override bool ShouldInterruptOnDamage() diff --git a/Questionable/Questionable.Controller.Steps.Movement/LandExecutor.cs b/Questionable/Questionable.Controller.Steps.Movement/LandExecutor.cs index 090f096..e2f9df3 100644 --- a/Questionable/Questionable.Controller.Steps.Movement/LandExecutor.cs +++ b/Questionable/Questionable.Controller.Steps.Movement/LandExecutor.cs @@ -11,23 +11,23 @@ internal sealed class LandExecutor(IObjectTable objectTable, ICondition conditio { private bool _landing; - private DateTime _continueAt; + private long _continueAt; protected override bool Start() { if (!condition[ConditionFlag.InFlight]) { - logger.LogInformation("Not flying, not attempting to land"); + logger.LogDebug("Not flying, not attempting to land"); return false; } _landing = AttemptLanding(); - _continueAt = DateTime.Now.AddSeconds(0.25); + _continueAt = Environment.TickCount64 + 250; return true; } public override ETaskResult Update() { - if (DateTime.Now < _continueAt) + if (Environment.TickCount64 < _continueAt) { return ETaskResult.StillRunning; } @@ -36,7 +36,7 @@ internal sealed class LandExecutor(IObjectTable objectTable, ICondition conditio if (!_landing) { _landing = AttemptLanding(); - _continueAt = DateTime.Now.AddSeconds(0.25); + _continueAt = Environment.TickCount64 + 250; } return ETaskResult.StillRunning; } @@ -45,10 +45,10 @@ internal sealed class LandExecutor(IObjectTable objectTable, ICondition conditio private unsafe bool AttemptLanding() { - Character* ptr = (Character*)(objectTable[0]?.Address ?? 0); + Character* ptr = (Character*)(objectTable.LocalPlayer?.Address ?? 0); if (ptr != null && ActionManager.Instance()->GetActionStatus(ActionType.GeneralAction, 23u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0) { - logger.LogInformation("Attempting to land"); + logger.LogDebug("Attempting to land"); return ActionManager.Instance()->UseAction(ActionType.GeneralAction, 23u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); } return false; diff --git a/Questionable/Questionable.Controller.Steps.Movement/MoveExecutor.cs b/Questionable/Questionable.Controller.Steps.Movement/MoveExecutor.cs index bbc96a0..eaa3469 100644 --- a/Questionable/Questionable.Controller.Steps.Movement/MoveExecutor.cs +++ b/Questionable/Questionable.Controller.Steps.Movement/MoveExecutor.cs @@ -1,8 +1,11 @@ using System; using System.Collections.Generic; +using System.Globalization; +using System.Linq; using System.Numerics; using System.Runtime.InteropServices; using Dalamud.Game.ClientState.Conditions; +using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Game.Text.SeStringHandling; using Dalamud.Plugin.Services; @@ -14,11 +17,16 @@ using Questionable.Controller.Steps.Common; using Questionable.Functions; using Questionable.Model; using Questionable.Model.Questing; +using SmartNav.Data; +using SmartNav.Model; +using SmartNav.Model.Converter; namespace Questionable.Controller.Steps.Movement; internal sealed class MoveExecutor : TaskExecutor, IToastAware, ITaskExecutor { + private const float DescendDrop = 100f; + private readonly string _cannotExecuteAtThisTime; private readonly MovementController _movementController; @@ -37,22 +45,32 @@ internal sealed class MoveExecutor : TaskExecutor, IToastAware, ITaskE private readonly IServiceProvider _serviceProvider; + private readonly AetheryteData _aetheryteData; + + private readonly Configuration _configuration; + private System.Action? _startAction; private Vector3 _destination; private bool _canRestart; + private bool _descendAttempted; + + private bool _adjustedToObject; + private (Questionable.Controller.Steps.Common.Mount.MountExecutor Executor, Questionable.Controller.Steps.Common.Mount.MountTask Task)? _mountBeforeMovement; private (Questionable.Controller.Steps.Common.Mount.UnmountExecutor Executor, Questionable.Controller.Steps.Common.Mount.UnmountTask Task)? _unmountBeforeMovement; private (Questionable.Controller.Steps.Common.Mount.MountExecutor Executor, Questionable.Controller.Steps.Common.Mount.MountTask Task)? _mountDuringMovement; - public MoveExecutor(MovementController movementController, GameFunctions gameFunctions, ILogger logger, IClientState clientState, IObjectTable objectTable, ICondition condition, IDataManager dataManager, Questionable.Controller.Steps.Common.Mount.MountEvaluator mountEvaluator, IServiceProvider serviceProvider) + public MoveExecutor(MovementController movementController, GameFunctions gameFunctions, AetheryteData aetheryteData, Configuration configuration, ILogger logger, IClientState clientState, IObjectTable objectTable, ICondition condition, IDataManager dataManager, Questionable.Controller.Steps.Common.Mount.MountEvaluator mountEvaluator, IServiceProvider serviceProvider) { _movementController = movementController; _gameFunctions = gameFunctions; + _aetheryteData = aetheryteData; + _configuration = configuration; _logger = logger; _clientState = clientState; _objectTable = objectTable; @@ -76,7 +94,7 @@ internal sealed class MoveExecutor : TaskExecutor, IToastAware, ITaskE { _startAction = delegate { - _movementController.NavigateTo(EMovementType.Quest, base.Task.DataId, _destination, base.Task.Fly, base.Task.Sprint ?? (!_mountDuringMovement.HasValue), base.Task.StopDistance, base.Task.IgnoreDistanceToObject ? new float?(float.MaxValue) : ((float?)null), base.Task.Land); + _movementController.NavigateTo(EMovementType.Quest, base.Task.DataId, _destination, base.Task.Fly, base.Task.Sprint ?? (!_mountDuringMovement.HasValue), base.Task.StopDistance, base.Task.IgnoreDistanceToObject ? new float?(float.MaxValue) : ((float?)null), base.Task.Land, base.Task.SmartNavRouted); }; return; } @@ -94,16 +112,32 @@ internal sealed class MoveExecutor : TaskExecutor, IToastAware, ITaskE protected override bool Start() { + if (_clientState.TerritoryType != base.Task.TerritoryId) + { + _logger.LogDebug("Skipping movement - already in territory {Current} (task expects {Expected})", _clientState.TerritoryType, base.Task.TerritoryId); + return false; + } _canRestart = base.Task.RestartNavigation; _destination = base.Task.Destination; - float num = base.Task.StopDistance ?? 3f; - Vector3? vector = _objectTable[0]?.Position; - float num2 = ((!vector.HasValue) ? float.MaxValue : Vector3.Distance(vector.Value, _destination)); - if (num2 > num) + if (_aetheryteData.Locations.Any((KeyValuePair kvp) => AetheryteConverter.IsLargeAetheryte(kvp.Key) && Vector3.Distance(kvp.Value, _destination) < 1f)) + { + float num = 7f; + if ((base.Task.StopDistance ?? 3f) < num) + { + base.Task = base.Task with + { + StopDistance = num + }; + } + } + float num2 = base.Task.StopDistance ?? 3f; + Vector3? vector = _objectTable.LocalPlayer?.Position; + float num3 = ((!vector.HasValue) ? float.MaxValue : Vector3.Distance(vector.Value, _destination)); + if (num3 > num2) { PrepareMovementIfNeeded(); } - if (base.Task.Mount == true) + if (base.Task.MountRequired) { Questionable.Controller.Steps.Common.Mount.MountTask mountTask = new Questionable.Controller.Steps.Common.Mount.MountTask(base.Task.TerritoryId, Questionable.Controller.Steps.Common.Mount.EMountIf.Always); _mountBeforeMovement = (_serviceProvider.GetRequiredService(), mountTask); @@ -112,7 +146,7 @@ internal sealed class MoveExecutor : TaskExecutor, IToastAware, ITaskE _mountBeforeMovement = null; } } - else if (base.Task.Mount == false) + else if (base.Task.DismountRequired) { Questionable.Controller.Steps.Common.Mount.UnmountTask unmountTask = new Questionable.Controller.Steps.Common.Mount.UnmountTask(); _unmountBeforeMovement = (_serviceProvider.GetRequiredService(), unmountTask); @@ -121,16 +155,44 @@ internal sealed class MoveExecutor : TaskExecutor, IToastAware, ITaskE _unmountBeforeMovement = null; } } + else if (base.Task.Mount == true) + { + Questionable.Controller.Steps.Common.Mount.MountTask mountTask2 = new Questionable.Controller.Steps.Common.Mount.MountTask(base.Task.TerritoryId, Questionable.Controller.Steps.Common.Mount.EMountIf.Always); + _mountBeforeMovement = (_serviceProvider.GetRequiredService(), mountTask2); + if (!_mountBeforeMovement.Value.Executor.Start(mountTask2)) + { + _mountBeforeMovement = null; + } + } + else if (base.Task.Mount == false) + { + Questionable.Controller.Steps.Common.Mount.UnmountTask unmountTask2 = new Questionable.Controller.Steps.Common.Mount.UnmountTask(); + _unmountBeforeMovement = (_serviceProvider.GetRequiredService(), unmountTask2); + if (!_unmountBeforeMovement.Value.Executor.Start(unmountTask2)) + { + _unmountBeforeMovement = null; + } + } else if (!base.Task.DisableNavmesh) { - Questionable.Controller.Steps.Common.Mount.EMountIf mountIf = ((!(num2 > num) || !base.Task.Fly || !_gameFunctions.IsFlyingUnlocked(base.Task.TerritoryId)) ? Questionable.Controller.Steps.Common.Mount.EMountIf.AwayFromPosition : Questionable.Controller.Steps.Common.Mount.EMountIf.Always); - Questionable.Controller.Steps.Common.Mount.MountTask mountTask2 = new Questionable.Controller.Steps.Common.Mount.MountTask(base.Task.TerritoryId, mountIf, _destination); - DateTime retryAt = DateTime.Now; - (Questionable.Controller.Steps.Common.Mount.MountExecutor, Questionable.Controller.Steps.Common.Mount.MountTask)? tuple; - if (_mountEvaluator.EvaluateMountState(mountTask2, dryRun: true, ref retryAt) != Questionable.Controller.Steps.Common.Mount.MountResult.DontMount) + bool flag = _gameFunctions.IsFlyingUnlocked(base.Task.TerritoryId); + if (!base.Task.SmartNavRouted && !base.Task.Fly && flag && num3 > _configuration.Navigation.MountFlyDistance) { - tuple = (_serviceProvider.GetRequiredService(), mountTask2); - tuple.Value.Item1.Start(mountTask2); + base.Task = base.Task with + { + Fly = true, + Land = true + }; + } + float num4 = (base.Task.Fly ? _configuration.Navigation.MountFlyDistance : _configuration.Navigation.MountGroundDistance); + Questionable.Controller.Steps.Common.Mount.EMountIf mountIf = ((!(num3 > num4)) ? Questionable.Controller.Steps.Common.Mount.EMountIf.AwayFromPosition : Questionable.Controller.Steps.Common.Mount.EMountIf.Always); + Questionable.Controller.Steps.Common.Mount.MountTask mountTask3 = new Questionable.Controller.Steps.Common.Mount.MountTask(base.Task.TerritoryId, mountIf, _destination); + long retryAtMs = 0L; + (Questionable.Controller.Steps.Common.Mount.MountExecutor, Questionable.Controller.Steps.Common.Mount.MountTask)? tuple; + if (!_condition[ConditionFlag.Mounted] && _mountEvaluator.EvaluateMountState(mountTask3, dryRun: true, ref retryAtMs) != Questionable.Controller.Steps.Common.Mount.MountResult.DontMount) + { + tuple = (_serviceProvider.GetRequiredService(), mountTask3); + tuple.Value.Item1.Start(mountTask3); } else { @@ -139,6 +201,15 @@ internal sealed class MoveExecutor : TaskExecutor, IToastAware, ITaskE if (base.Task.Fly) { _mountBeforeMovement = tuple; + if (!tuple.HasValue && !_condition[ConditionFlag.Mounted]) + { + _logger.LogDebug("Not mounting for short flight movement; navigating on foot instead"); + base.Task = base.Task with + { + Fly = false, + Land = false + }; + } } else { @@ -167,13 +238,66 @@ internal sealed class MoveExecutor : TaskExecutor, IToastAware, ITaskE { return ETaskResult.StillRunning; } - DateTime movementStartedAt = _movementController.MovementStartedAt; - if (movementStartedAt == DateTime.MaxValue || movementStartedAt.AddSeconds(2.0) >= DateTime.Now) + if (!_movementController.HasBeenMovingForAtLeast(2000)) { return ETaskResult.StillRunning; } - IGameObject gameObject = _objectTable[0]; - if (_canRestart && gameObject != null && Vector3.Distance(gameObject.Position, _destination) > (base.Task.StopDistance ?? 3f) + 5f) + IPlayerCharacter localPlayer = _objectTable.LocalPlayer; + float num = base.Task.StopDistance ?? 3f; + if (base.Task.Fly && base.Task.Land && _canRestart && localPlayer != null && _clientState.TerritoryType == base.Task.TerritoryId && Vector3.Distance(localPlayer.Position, _destination) > num) + { + if (_condition[ConditionFlag.InFlight]) + { + if (_descendAttempted) + { + _logger.LogWarning("Still airborne after descending, treating as unreachable"); + throw new MovementController.PathfindingFailedException("Still airborne after descending, cannot close gap on foot"); + } + if (!_movementController.IsNavmeshReady) + { + _logger.LogDebug("Airborne outside stop distance, waiting for navmesh to descend"); + return ETaskResult.StillRunning; + } + Vector3 position = localPlayer.Position; + position.Y = localPlayer.Position.Y - 100f; + Vector3 vector = position; + _descendAttempted = true; + _logger.LogDebug("Outside stop distance but still airborne, descending to {Target}", vector.ToString("G", CultureInfo.InvariantCulture)); + MovementController movementController = _movementController; + uint? dataId = base.Task.DataId; + int num2 = 1; + List list = new List(num2); + CollectionsMarshal.SetCount(list, num2); + CollectionsMarshal.AsSpan(list)[0] = vector; + movementController.NavigateTo(EMovementType.Landing, dataId, list, fly: true, sprint: false, null); + return ETaskResult.StillRunning; + } + _canRestart = false; + _logger.LogDebug("Landed outside stop distance, closing gap on foot"); + MovementController movementController2 = _movementController; + uint? dataId2 = base.Task.DataId; + Vector3 destination = _destination; + float? stopDistance = base.Task.StopDistance; + bool smartNavRouted = base.Task.SmartNavRouted; + movementController2.NavigateTo(EMovementType.Quest, dataId2, destination, fly: false, sprint: false, stopDistance, null, land: false, smartNavRouted); + return ETaskResult.StillRunning; + } + if (base.Task.DataId.HasValue && !_adjustedToObject && localPlayer != null && !_condition[ConditionFlag.InFlight] && _clientState.TerritoryType == base.Task.TerritoryId) + { + IGameObject gameObject = _gameFunctions.FindObjectByDataId(base.Task.DataId.Value, null, warnIfMissing: false); + if (gameObject != null) + { + float num3 = Vector3.Distance(localPlayer.Position, gameObject.Position); + if (num3 > num) + { + _adjustedToObject = true; + _logger.LogDebug("Adjusting to actual object position ({Distance:F1}y away)", num3); + _movementController.NavigateTo(EMovementType.Quest, base.Task.DataId, gameObject.Position, fly: false, sprint: false, base.Task.StopDistance); + return ETaskResult.StillRunning; + } + } + } + if (_canRestart && localPlayer != null && Vector3.Distance(localPlayer.Position, _destination) > num + 5f) { _canRestart = false; if (_clientState.TerritoryType == base.Task.TerritoryId) @@ -182,7 +306,19 @@ internal sealed class MoveExecutor : TaskExecutor, IToastAware, ITaskE _startAction(); return ETaskResult.StillRunning; } - _logger.LogInformation("Looks like movement was interrupted, do nothing since we're in a different territory now"); + if (base.Task.AllowZoneTransition) + { + _logger.LogDebug("Zone transition during boundary crossing (now in {Current}, expected {Expected}), completing task", _clientState.TerritoryType, base.Task.TerritoryId); + return ETaskResult.TaskComplete; + } + _logger.LogWarning("Movement interrupted by zone transition (now in {Current}, task expected {Expected})", _clientState.TerritoryType, base.Task.TerritoryId); + throw new MovementController.PathfindingFailedException($"Zone transition during movement: now in territory {_clientState.TerritoryType}, expected {base.Task.TerritoryId}"); + } + if (base.Task.SmartNavRouted && !_adjustedToObject && localPlayer != null && _clientState.TerritoryType == base.Task.TerritoryId && Vector3.Distance(localPlayer.Position, _destination) > num + 5f) + { + float num4 = Vector3.Distance(localPlayer.Position, _destination); + _logger.LogWarning("SmartNav movement ended {Distance:F1}y from target (stop distance {StopDistance:F1}y), treating as unreachable", num4, num); + throw new MovementController.PathfindingFailedException($"SmartNav movement ended {num4:F1}y from target (stop distance {num:F1}y)"); } return ETaskResult.TaskComplete; } @@ -197,7 +333,7 @@ internal sealed class MoveExecutor : TaskExecutor, IToastAware, ITaskE { if (item.Update() == ETaskResult.TaskComplete) { - _logger.LogInformation("MountBeforeMovement complete"); + _logger.LogDebug("MountBeforeMovement complete"); _mountBeforeMovement = null; _startAction?.Invoke(); return null; @@ -213,7 +349,7 @@ internal sealed class MoveExecutor : TaskExecutor, IToastAware, ITaskE { if (item2.Update() == ETaskResult.TaskComplete) { - _logger.LogInformation("UnmountBeforeMovement complete"); + _logger.LogDebug("UnmountBeforeMovement complete"); _unmountBeforeMovement = null; _startAction?.Invoke(); return null; @@ -233,14 +369,14 @@ internal sealed class MoveExecutor : TaskExecutor, IToastAware, ITaskE { if (mountExecutor.Update() == ETaskResult.TaskComplete) { - _logger.LogInformation("MountDuringMovement complete (mounted)"); + _logger.LogDebug("MountDuringMovement complete (mounted)"); _mountDuringMovement = null; return null; } - DateTime retryAt = DateTime.Now; - if (_mountEvaluator.EvaluateMountState(item3, dryRun: true, ref retryAt) == Questionable.Controller.Steps.Common.Mount.MountResult.DontMount) + long retryAtMs = 0L; + if (_mountEvaluator.EvaluateMountState(item3, dryRun: true, ref retryAtMs) == Questionable.Controller.Steps.Common.Mount.MountResult.DontMount) { - _logger.LogInformation("MountDuringMovement implicitly complete (shouldn't mount anymore)"); + _logger.LogDebug("MountDuringMovement implicitly complete (shouldn't mount anymore)"); _mountDuringMovement = null; return null; } @@ -253,14 +389,14 @@ internal sealed class MoveExecutor : TaskExecutor, IToastAware, ITaskE public override bool WasInterrupted() { - DateTime retryAt = DateTime.Now; + long retryAtMs = 0L; if (base.Task.Fly && _condition[ConditionFlag.InCombat] && !_condition[ConditionFlag.Mounted]) { (Questionable.Controller.Steps.Common.Mount.MountExecutor, Questionable.Controller.Steps.Common.Mount.MountTask)? mountBeforeMovement = _mountBeforeMovement; if (mountBeforeMovement.HasValue) { Questionable.Controller.Steps.Common.Mount.MountTask item = mountBeforeMovement.GetValueOrDefault().Item2; - if ((object)item != null && _mountEvaluator.EvaluateMountState(item, dryRun: true, ref retryAt) == Questionable.Controller.Steps.Common.Mount.MountResult.WhenOutOfCombat) + if ((object)item != null && _mountEvaluator.EvaluateMountState(item, dryRun: true, ref retryAtMs) == Questionable.Controller.Steps.Common.Mount.MountResult.WhenOutOfCombat) { return true; } @@ -285,10 +421,6 @@ internal sealed class MoveExecutor : TaskExecutor, IToastAware, ITaskE public bool OnErrorToast(SeString message) { - if (GameFunctions.GameStringEquals(_cannotExecuteAtThisTime, message.TextValue)) - { - return true; - } - return false; + return GameFunctions.GameStringEquals(_cannotExecuteAtThisTime, message.TextValue); } } diff --git a/Questionable/Questionable.Controller.Steps.Movement/MoveTask.cs b/Questionable/Questionable.Controller.Steps.Movement/MoveTask.cs index e0c8c1b..32ad580 100644 --- a/Questionable/Questionable.Controller.Steps.Movement/MoveTask.cs +++ b/Questionable/Questionable.Controller.Steps.Movement/MoveTask.cs @@ -4,10 +4,10 @@ using Questionable.Model.Questing; namespace Questionable.Controller.Steps.Movement; -internal sealed record MoveTask(ushort TerritoryId, Vector3 Destination, bool? Mount = null, float? StopDistance = null, uint? DataId = null, bool DisableNavmesh = false, bool? Sprint = null, bool Fly = false, bool Land = false, bool IgnoreDistanceToObject = false, bool RestartNavigation = true, EInteractionType InteractionType = EInteractionType.None) : ITask +internal sealed record MoveTask(ushort TerritoryId, Vector3 Destination, bool? Mount = null, bool MountRequired = false, bool DismountRequired = false, float? StopDistance = null, uint? DataId = null, bool DisableNavmesh = false, bool? Sprint = null, bool Fly = false, bool Land = false, bool IgnoreDistanceToObject = false, bool RestartNavigation = true, EInteractionType InteractionType = EInteractionType.None, bool SmartNavRouted = false, bool AllowZoneTransition = false, string? RouteTargetNodeId = null, string? RouteApproachNodeId = null) : ITask { public MoveTask(QuestStep step, Vector3 destination) - : this(step.TerritoryId, destination, step.Mount, step.CalculateActualStopDistance(), step.DataId, step.DisableNavmesh, step.Sprint, step.Fly == true, step.Land == true, step.IgnoreDistanceToObject == true, step.RestartNavigationIfCancelled != false, step.InteractionType) + : this(step.TerritoryId, destination, step.Mount, step.MountRequired, step.DismountRequired, step.CalculateActualStopDistance(), step.DataId, step.DisableNavmesh, step.Sprint, step.Fly == true, step.Land == true, step.IgnoreDistanceToObject == true, step.RestartNavigationIfCancelled != false, step.InteractionType) { } diff --git a/Questionable/Questionable.Controller.Steps.Movement/MoveTo.cs b/Questionable/Questionable.Controller.Steps.Movement/MoveTo.cs index b7919fc..33e1172 100644 --- a/Questionable/Questionable.Controller.Steps.Movement/MoveTo.cs +++ b/Questionable/Questionable.Controller.Steps.Movement/MoveTo.cs @@ -1,30 +1,38 @@ using System; using System.Collections.Generic; using System.Numerics; -using Dalamud.Game.ClientState.Objects.Types; +using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Plugin.Services; using Microsoft.Extensions.Logging; using Questionable.Controller.Steps.Common; +using Questionable.Controller.Steps.Shared; using Questionable.Data; using Questionable.Model; -using Questionable.Model.Common; using Questionable.Model.Questing; +using SmartNav.Data; +using SmartNav.Model; namespace Questionable.Controller.Steps.Movement; internal static class MoveTo { - internal sealed class Factory(IClientState clientState, IObjectTable objectTable, AetheryteData aetheryteData, TerritoryData territoryData, ILogger logger) : ITaskFactory + internal sealed class Factory(IClientState clientState, IObjectTable objectTable, AetheryteData aetheryteData, TerritoryData territoryData, SmartNavStep.Factory smartNavFactory, ILogger logger) : ITaskFactory { public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) { + if (smartNavFactory.HandledRouting) + { + return Array.Empty(); + } if (step.DataIds.Count > 0) { return Array.Empty(); } if (step.Position.HasValue) { - return CreateMoveTasks(step, step.Position.Value); + List landingZones = step.LandingZones; + Vector3 destination = ((landingZones == null || landingZones.Count <= 0) ? step.Position.Value : LandingZoneMath.CalculateLandingLocation(step.LandingZones)); + return CreateMoveTasks(step, destination); } if (step != null && step.DataId.HasValue && step.StopDistance.HasValue) { @@ -46,13 +54,13 @@ internal static class MoveTo { valueOrDefault = aetheryte.GetValueOrDefault(); flag = true; - goto IL_00e2; + goto IL_011b; } } } flag = false; - goto IL_00e2; - IL_00e2: + goto IL_011b; + IL_011b: if (flag) { return CreateMoveTasks(step, aetheryteData.Locations[valueOrDefault]); @@ -81,10 +89,10 @@ internal static class MoveTo private IEnumerable CreateMoveTasks(QuestStep step, Vector3 destination) { - IGameObject gameObject = objectTable[0]; - if (step.InteractionType == EInteractionType.Jump && step.JumpDestination != null && gameObject != null && (gameObject.Position - step.JumpDestination.Position).Length() <= (step.JumpDestination.StopDistance ?? 1f)) + IPlayerCharacter localPlayer = objectTable.LocalPlayer; + if (step.InteractionType == EInteractionType.Jump && step.JumpDestination != null && localPlayer != null && (localPlayer.Position - step.JumpDestination.Position).Length() <= (step.JumpDestination.StopDistance ?? 1f)) { - logger.LogInformation("We're at the jump destination, skipping movement"); + logger.LogDebug("We're at the jump destination, skipping movement"); yield break; } yield return new WaitCondition.Task(() => clientState.TerritoryType == step.TerritoryId, "Wait(territory: " + territoryData.GetNameAndId(step.TerritoryId) + ")"); diff --git a/Questionable/Questionable.Controller.Steps.Movement/MoveToObjectExecutor.cs b/Questionable/Questionable.Controller.Steps.Movement/MoveToObjectExecutor.cs index 783b5ec..239b0b5 100644 --- a/Questionable/Questionable.Controller.Steps.Movement/MoveToObjectExecutor.cs +++ b/Questionable/Questionable.Controller.Steps.Movement/MoveToObjectExecutor.cs @@ -1,6 +1,7 @@ using System; using System.Numerics; using Dalamud.Game.ClientState.Objects.Enums; +using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin.Services; using Microsoft.Extensions.Logging; @@ -11,7 +12,7 @@ namespace Questionable.Controller.Steps.Movement; internal sealed class MoveToObjectExecutor(MovementController movementController, GameFunctions gameFunctions, IClientState clientState, IObjectTable objectTable, ILogger logger) : TaskExecutor() { - private DateTime _startedLookingAt = DateTime.MaxValue; + private long? _startedLookingAt; private Vector3 _destination; @@ -26,17 +27,17 @@ internal sealed class MoveToObjectExecutor(MovementController movementController } if (clientState.TerritoryType != base.Task.Step.TerritoryId) { - logger.LogInformation("Not in correct territory yet, waiting"); + logger.LogDebug("Not in correct territory yet, waiting"); return true; } - _startedLookingAt = DateTime.Now; + _startedLookingAt = Environment.TickCount64; return TryStartMovement(); } private IGameObject? FindDistantObjectByDataId(uint dataId) { - IGameObject gameObject = objectTable[0]; - if (gameObject == null) + IPlayerCharacter localPlayer = objectTable.LocalPlayer; + if (localPlayer == null) { return null; } @@ -49,7 +50,7 @@ internal sealed class MoveToObjectExecutor(MovementController movementController bool flag = ((objectKind == ObjectKind.Pc || objectKind - 8 <= ObjectKind.BattleNpc || objectKind == ObjectKind.HousingEventObject) ? true : false); if (!flag && item.BaseId == dataId) { - float num3 = Vector3.Distance(gameObject.Position, item.Position); + float num3 = Vector3.Distance(localPlayer.Position, item.Position); if (!(num3 <= num) && num3 < num2) { result = item; @@ -68,19 +69,19 @@ internal sealed class MoveToObjectExecutor(MovementController movementController gameObject = gameFunctions.FindObjectByDataId(base.Task.Step.DataId.Value, null, warnIfMissing: false); if (gameObject == null) { - logger.LogInformation("Object {DataId} not found yet, waiting", base.Task.Step.DataId); + logger.LogDebug("Object {DataId} not found yet, waiting", base.Task.Step.DataId); return true; } - IGameObject gameObject2 = objectTable[0]; + IPlayerCharacter localPlayer = objectTable.LocalPlayer; float num = base.Task.Step.CalculateActualStopDistance(); - if (gameObject2 != null && Vector3.Distance(gameObject2.Position, gameObject.Position) <= num) + if (localPlayer != null && Vector3.Distance(localPlayer.Position, gameObject.Position) <= num) { - logger.LogInformation("Only nearby objects with DataId {DataId} remain, skipping", base.Task.Step.DataId); + logger.LogDebug("Only nearby objects with DataId {DataId} remain, skipping", base.Task.Step.DataId); return true; } } _destination = gameObject.Position; - logger.LogInformation("Moving to object {DataId} at {Position}", base.Task.Step.DataId, _destination); + logger.LogDebug("Moving to object {DataId} at {Position}", base.Task.Step.DataId, _destination); movementController.NavigateTo(EMovementType.Quest, base.Task.Step.DataId, _destination, fly: false, base.Task.Step.Sprint ?? true, base.Task.Step.CalculateActualStopDistance()); _moving = true; return true; @@ -94,10 +95,15 @@ internal sealed class MoveToObjectExecutor(MovementController movementController } if (!_moving) { - if (_startedLookingAt != DateTime.MaxValue && DateTime.Now > _startedLookingAt.AddSeconds(3.0)) + long? startedLookingAt = _startedLookingAt; + if (startedLookingAt.HasValue) { - logger.LogInformation("Object {DataId} not found after timeout, skipping step", base.Task.Step.DataId); - return ETaskResult.TaskComplete; + long valueOrDefault = startedLookingAt.GetValueOrDefault(); + if (Environment.TickCount64 > valueOrDefault + 3000) + { + logger.LogDebug("Object {DataId} not found after timeout, skipping step", base.Task.Step.DataId); + return ETaskResult.TaskComplete; + } } if (!TryStartMovement()) { @@ -112,8 +118,7 @@ internal sealed class MoveToObjectExecutor(MovementController movementController { return ETaskResult.StillRunning; } - DateTime movementStartedAt = movementController.MovementStartedAt; - if (movementStartedAt == DateTime.MaxValue || movementStartedAt.AddSeconds(2.0) >= DateTime.Now) + if (!movementController.HasBeenMovingForAtLeast(2000)) { return ETaskResult.StillRunning; } diff --git a/Questionable/Questionable.Controller.Steps.Movement/WaitForNearDataIdExecutor.cs b/Questionable/Questionable.Controller.Steps.Movement/WaitForNearDataIdExecutor.cs index e35ffe5..7eb8a2a 100644 --- a/Questionable/Questionable.Controller.Steps.Movement/WaitForNearDataIdExecutor.cs +++ b/Questionable/Questionable.Controller.Steps.Movement/WaitForNearDataIdExecutor.cs @@ -1,3 +1,4 @@ +using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin.Services; using Questionable.Functions; @@ -14,8 +15,8 @@ internal sealed class WaitForNearDataIdExecutor(GameFunctions gameFunctions, IOb public override ETaskResult Update() { IGameObject gameObject = gameFunctions.FindObjectByDataId(base.Task.DataId); - IGameObject gameObject2 = objectTable[0]; - if (gameObject == null || gameObject2 == null || (gameObject.Position - gameObject2.Position).Length() > base.Task.StopDistance) + IPlayerCharacter localPlayer = objectTable.LocalPlayer; + if (gameObject == null || localPlayer == null || (gameObject.Position - localPlayer.Position).Length() > base.Task.StopDistance) { throw new TaskException("Object not found or too far away, no position so we can't move"); } diff --git a/Questionable/Questionable.Controller.Steps.Shared/AethernetRide.cs b/Questionable/Questionable.Controller.Steps.Shared/AethernetRide.cs new file mode 100644 index 0000000..d39a501 --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Shared/AethernetRide.cs @@ -0,0 +1,262 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using System.Runtime.InteropServices; +using Dalamud.Game.ClientState.Conditions; +using Dalamud.Game.ClientState.Objects.SubKinds; +using Dalamud.Game.ClientState.Objects.Types; +using Dalamud.Plugin.Services; +using Microsoft.Extensions.Logging; +using Questionable.Data; +using Questionable.Functions; +using Questionable.Model; +using SmartNav.Data; +using SmartNav.Model; +using SmartNav.Model.Converter; + +namespace Questionable.Controller.Steps.Shared; + +internal static class AethernetRide +{ + internal sealed record Task(EAetheryteLocation From, EAetheryteLocation To) : ISkippableTask, ITask + { + public override string ToString() + { + return $"UseAethernet({From} -> {To})"; + } + } + + internal sealed class AethernetRideExecutor(ILogger logger, AetheryteFunctions aetheryteFunctions, GameFunctions gameFunctions, IClientState clientState, IObjectTable objectTable, AetheryteData aetheryteData, TerritoryData territoryData, AethernetTeleportService aethernetTeleportService, MovementController movementController, ICondition condition) : TaskExecutor(), IStoppableTaskExecutor, ITaskExecutor + { + private enum EAethernetPhase + { + None, + Mounting, + Moving, + Unmounting, + WaitingForTargetable, + Interacting, + WaitingForArrival + } + + private EAethernetPhase _phase; + + private long _continueAt; + + private long _phaseStartedAt; + + private int _interactionAttempts; + + private const long InteractionRetryMs = 3000L; + + private const int MaxInteractionAttempts = 3; + + private void SetPhase(EAethernetPhase phase) + { + _phase = phase; + _phaseStartedAt = Environment.TickCount64; + } + + public void StopNow() + { + aethernetTeleportService.Reset(); + } + + public override bool HasTimedOut(float timeoutSeconds) + { + if (_phase == EAethernetPhase.None) + { + return false; + } + return Environment.TickCount64 - _phaseStartedAt > (long)(timeoutSeconds * 1000f); + } + + protected override bool Start() + { + SetPhase(EAethernetPhase.None); + _interactionAttempts = 0; + aethernetTeleportService.Reset(); + if (aetheryteFunctions.IsAetheryteUnlocked(base.Task.From) && aetheryteFunctions.IsAetheryteUnlocked(base.Task.To)) + { + uint territoryType = clientState.TerritoryType; + IPlayerCharacter localPlayer = objectTable.LocalPlayer; + if (localPlayer == null) + { + return false; + } + Vector3 playerPosition = localPlayer.Position; + if (aetheryteData.CalculateDistance(playerPosition, territoryType, base.Task.From) < aetheryteData.CalculateDistance(playerPosition, territoryType, base.Task.To)) + { + float num = (base.Task.From.IsFirmamentAetheryte() ? 11f : (AetheryteConverter.IsLargeAetheryte(base.Task.From) ? 11f : 4f)); + if (aetheryteData.CalculateDistance(playerPosition, territoryType, base.Task.From) < num) + { + BeginTeleport(); + return true; + } + if (base.Task.From == EAetheryteLocation.SolutionNine) + { + logger.LogDebug("Moving to S9 aetheryte"); + int num2 = 4; + List list = new List(num2); + CollectionsMarshal.SetCount(list, num2); + Span span = CollectionsMarshal.AsSpan(list); + span[0] = new Vector3(0f, 8.442986f, 9f); + span[1] = new Vector3(9f, 8.442986f, 0f); + span[2] = new Vector3(-9f, 8.442986f, 0f); + span[3] = new Vector3(0f, 8.442986f, -9f); + Vector3 to = list.MinBy((Vector3 x) => Vector3.Distance(playerPosition, x)); + SetPhase(EAethernetPhase.Moving); + movementController.NavigateTo(EMovementType.Quest, (uint)base.Task.From, to, fly: false, sprint: true, 0.25f); + return true; + } + if (territoryData.CanUseMount(territoryType) && aetheryteData.CalculateDistance(playerPosition, territoryType, base.Task.From) > 30f && !gameFunctions.HasStatusPreventingMount() && gameFunctions.Mount()) + { + SetPhase(EAethernetPhase.Mounting); + _continueAt = Environment.TickCount64 + 500; + return true; + } + StartMoving(); + return true; + } + } + else + { + if (clientState.TerritoryType != aetheryteData.TerritoryIds[base.Task.To]) + { + throw new TaskException($"Aethernet ride not unlocked (from: {base.Task.From}, to: {base.Task.To})"); + } + logger.LogWarning("Aethernet ride not unlocked (from: {FromAetheryte}, to: {ToAetheryte}), skipping as we are already in the destination territory", base.Task.From, base.Task.To); + } + return false; + } + + private void StartMoving() + { + logger.LogDebug("Moving to aethernet shard"); + SetPhase(EAethernetPhase.Moving); + EAetheryteLocation eAetheryteLocation = base.Task.From; + float num = (base.Task.From.IsFirmamentAetheryte() ? 4.4f : ((eAetheryteLocation != EAetheryteLocation.UldahChamberOfRule) ? ((!AetheryteConverter.IsLargeAetheryte(base.Task.From)) ? 6.9f : 10.9f) : 5f)); + float value = num; + bool flag = aetheryteData.IsGoldSaucerAetheryte(base.Task.From) && !AetheryteConverter.IsLargeAetheryte(base.Task.From); + movementController.NavigateTo(EMovementType.Quest, (uint)base.Task.From, aetheryteData.Locations[base.Task.From], fly: false, sprint: true, value, flag ? new float?(5f) : ((float?)null)); + } + + private void BeginTeleport() + { + logger.LogInformation("Initiating aethernet teleport to {Destination} via {From}", base.Task.To, base.Task.From); + if (condition[ConditionFlag.Mounted]) + { + gameFunctions.Unmount(); + SetPhase(EAethernetPhase.Unmounting); + } + else + { + SetPhase(EAethernetPhase.WaitingForTargetable); + } + } + + private bool TryInteractWithShard() + { + IGameObject gameObject = gameFunctions.FindObjectByDataId((uint)base.Task.From, null, warnIfMissing: false); + if (gameObject == null || !gameObject.IsTargetable) + { + return false; + } + aethernetTeleportService.RequestTeleport(base.Task.To); + gameFunctions.InteractWith(gameObject); + _interactionAttempts++; + SetPhase(EAethernetPhase.Interacting); + return true; + } + + public override ETaskResult Update() + { + if (Environment.TickCount64 < _continueAt) + { + return ETaskResult.StillRunning; + } + switch (_phase) + { + case EAethernetPhase.Mounting: + if (condition[ConditionFlag.Mounted]) + { + StartMoving(); + } + return ETaskResult.StillRunning; + case EAethernetPhase.Moving: + if (!movementController.HasBeenMovingForAtLeast(2000)) + { + return ETaskResult.StillRunning; + } + if (!movementController.IsPathfinding && !movementController.IsPathRunning) + { + BeginTeleport(); + } + return ETaskResult.StillRunning; + case EAethernetPhase.Unmounting: + if (!condition[ConditionFlag.Mounted]) + { + SetPhase(EAethernetPhase.WaitingForTargetable); + } + return ETaskResult.StillRunning; + case EAethernetPhase.WaitingForTargetable: + TryInteractWithShard(); + return ETaskResult.StillRunning; + case EAethernetPhase.Interacting: + if (aethernetTeleportService.State == AethernetTeleportService.ETeleportState.WaitingForAddon) + { + if (_interactionAttempts < 3 && Environment.TickCount64 - _phaseStartedAt >= 3000) + { + logger.LogWarning("Aethernet menu did not open; retrying interaction ({Attempt}/{Limit})", _interactionAttempts + 1, 3); + aethernetTeleportService.Reset(); + SetPhase(EAethernetPhase.WaitingForTargetable); + } + return ETaskResult.StillRunning; + } + if (aethernetTeleportService.State == AethernetTeleportService.ETeleportState.Failed) + { + aethernetTeleportService.Reset(); + throw new TaskException("Aethernet teleport failed"); + } + SetPhase(EAethernetPhase.WaitingForArrival); + return ETaskResult.StillRunning; + case EAethernetPhase.WaitingForArrival: + { + Vector3? vector = objectTable.LocalPlayer?.Position; + if (!vector.HasValue) + { + return ETaskResult.StillRunning; + } + if (aetheryteData.IsAirshipLanding(base.Task.To)) + { + if (aetheryteData.CalculateAirshipLandingDistance(vector.Value, clientState.TerritoryType, base.Task.To) > 5f) + { + return ETaskResult.StillRunning; + } + } + else if (aetheryteData.IsCityAetheryte(base.Task.To) || aetheryteData.IsGoldSaucerAetheryte(base.Task.To)) + { + if (aetheryteData.CalculateDistance(vector.Value, clientState.TerritoryType, base.Task.To) > 20f) + { + return ETaskResult.StillRunning; + } + } + else if (clientState.TerritoryType != aetheryteData.TerritoryIds[base.Task.To]) + { + return ETaskResult.StillRunning; + } + aethernetTeleportService.Reset(); + return ETaskResult.TaskComplete; + } + default: + return ETaskResult.StillRunning; + } + } + + public override bool ShouldInterruptOnDamage() + { + return true; + } + } +} diff --git a/Questionable/Questionable.Controller.Steps.Shared/AetheryteTeleport.cs b/Questionable/Questionable.Controller.Steps.Shared/AetheryteTeleport.cs new file mode 100644 index 0000000..cf5e763 --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Shared/AetheryteTeleport.cs @@ -0,0 +1,184 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using System.Runtime.InteropServices; +using Dalamud.Game.ClientState.Conditions; +using Dalamud.Game.ClientState.Objects.SubKinds; +using Dalamud.Plugin.Services; +using Microsoft.Extensions.Logging; +using Questionable.Controller.Steps.Movement; +using Questionable.Functions; +using SmartNav.Data; +using SmartNav.Model; + +namespace Questionable.Controller.Steps.Shared; + +internal static class AetheryteTeleport +{ + internal sealed record Task(EAetheryteLocation TargetAetheryte, ushort ExpectedTerritoryId) : ISkippableTask, ITask + { + public override string ToString() + { + return $"UseAetheryte({TargetAetheryte})"; + } + } + + internal sealed class AetheryteTeleportExecutor(ILogger logger, AetheryteFunctions aetheryteFunctions, IClientState clientState, IObjectTable objectTable, IChatGui chatGui, ICondition condition, AetheryteData aetheryteData) : TaskExecutor() + { + private bool _teleported; + + private long _retryTeleportAt; + + private int _teleportAttempts; + + private const int MaxTeleportAttempts = 3; + + protected override bool Start() + { + return true; + } + + public override ETaskResult Update() + { + if (!_teleported) + { + if (Environment.TickCount64 < _retryTeleportAt) + { + return ETaskResult.StillRunning; + } + _teleported = DoTeleport(); + return ETaskResult.StillRunning; + } + if (clientState.TerritoryType == base.Task.ExpectedTerritoryId) + { + IPlayerCharacter localPlayer = objectTable.LocalPlayer; + if (localPlayer == null || aetheryteData.CalculateDistance(localPlayer.Position, clientState.TerritoryType, base.Task.TargetAetheryte) <= 50f) + { + ResetProgressTimer(); + return ETaskResult.TaskComplete; + } + } + if (base.ProgressContext != null) + { + if (base.ProgressContext.WasInterrupted()) + { + logger.LogDebug("Teleport to {Aetheryte} was interrupted", base.Task.TargetAetheryte); + return ETaskResult.StillRunning; + } + if (base.ProgressContext.WasSuccessful()) + { + ResetProgressTimer(); + } + } + return ETaskResult.StillRunning; + } + + private bool DoTeleport() + { + if (!aetheryteFunctions.CanTeleport(base.Task.TargetAetheryte)) + { + if (!aetheryteFunctions.IsTeleportUnlocked()) + { + throw new TaskException("Teleport is not unlocked, attune to any aetheryte first."); + } + _retryTeleportAt = Environment.TickCount64 + 1000; + logger.LogTrace("Waiting for teleport cooldown..."); + return false; + } + if (!aetheryteFunctions.IsAetheryteUnlocked(base.Task.TargetAetheryte)) + { + chatGui.PrintError($"Aetheryte {base.Task.TargetAetheryte} is not unlocked.", "Questionable", 576); + throw new TaskException("Aetheryte is not unlocked"); + } + base.ProgressContext = InteractionProgressContext.FromActionUseOrDefault(() => aetheryteFunctions.TeleportAetheryte(base.Task.TargetAetheryte)); + if (base.ProgressContext != null) + { + logger.LogInformation("Travelling via aetheryte..."); + return true; + } + if (++_teleportAttempts < 3) + { + _retryTeleportAt = Environment.TickCount64 + 1000; + logger.LogWarning("Teleport did not start (attempt {Attempt}/{Max}), retrying...", _teleportAttempts, 3); + return false; + } + chatGui.Print("Unable to teleport to aetheryte.", "Questionable", 576); + throw new TaskException("Unable to teleport to aetheryte"); + } + + public override bool WasInterrupted() + { + if (!condition[ConditionFlag.InCombat]) + { + return base.WasInterrupted(); + } + return true; + } + + public override bool ShouldInterruptOnDamage() + { + return true; + } + } + + internal sealed record MoveAwayFromAetheryte(EAetheryteLocation TargetAetheryte) : ITask + { + public override string ToString() + { + return $"MoveAway({TargetAetheryte})"; + } + } + + internal sealed class MoveAwayFromAetheryteExecutor(MoveExecutor moveExecutor, AetheryteData aetheryteData, IClientState clientState, IObjectTable objectTable) : TaskExecutor() + { + private static readonly Dictionary> AetherytesToMoveFrom; + + public static bool AppliesTo(EAetheryteLocation location) + { + return AetherytesToMoveFrom.ContainsKey(location); + } + + protected override bool Start() + { + IPlayerCharacter localPlayer = objectTable.LocalPlayer; + if (localPlayer == null) + { + return false; + } + Vector3 playerPosition = localPlayer.Position; + if (aetheryteData.CalculateDistance(playerPosition, clientState.TerritoryType, base.Task.TargetAetheryte) >= 20f) + { + return false; + } + Vector3 destination = AetherytesToMoveFrom[base.Task.TargetAetheryte].MinBy((Vector3 x) => Vector3.Distance(x, playerPosition)); + MoveTask task = new MoveTask(aetheryteData.TerritoryIds[base.Task.TargetAetheryte], destination, false, MountRequired: false, DismountRequired: false, 0.25f, null, DisableNavmesh: true, null, Fly: false, Land: false, IgnoreDistanceToObject: false, RestartNavigation: false); + return moveExecutor.Start(task); + } + + public override ETaskResult Update() + { + return moveExecutor.Update(); + } + + public override bool ShouldInterruptOnDamage() + { + return true; + } + + static MoveAwayFromAetheryteExecutor() + { + Dictionary> dictionary = new Dictionary>(); + int num = 4; + List list = new List(num); + CollectionsMarshal.SetCount(list, num); + Span span = CollectionsMarshal.AsSpan(list); + span[0] = new Vector3(0f, 8.8f, 15.5f); + span[1] = new Vector3(0f, 8.8f, -15.5f); + span[2] = new Vector3(15.5f, 8.8f, 0f); + span[3] = new Vector3(-15.5f, 8.8f, 0f); + dictionary.Add(EAetheryteLocation.SolutionNine, list); + AetherytesToMoveFrom = dictionary; + } + } +} diff --git a/Questionable/Questionable.Controller.Steps.Shared/Craft.cs b/Questionable/Questionable.Controller.Steps.Shared/Craft.cs index 282765f..399896c 100644 --- a/Questionable/Questionable.Controller.Steps.Shared/Craft.cs +++ b/Questionable/Questionable.Controller.Steps.Shared/Craft.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game; using FFXIVClientStructs.FFXIV.Client.UI.Agent; @@ -50,7 +49,7 @@ internal static class Craft { if (HasRequestedItems()) { - logger.LogInformation("Already own {ItemCount}x {ItemId}{HqSuffix}", base.Task.ItemCount, base.Task.ItemId, base.Task.RequireHq ? " (HQ)" : ""); + logger.LogDebug("Already own {ItemCount}x {ItemId}{HqSuffix}", base.Task.ItemCount, base.Task.ItemId, base.Task.RequireHq ? " (HQ)" : ""); return false; } RecipeLookup? rowOrDefault = dataManager.GetExcelSheet().GetRowOrDefault(base.Task.ItemId); @@ -58,7 +57,7 @@ internal static class Craft { throw new TaskException($"Item {base.Task.ItemId} is not craftable"); } - uint num = (EClassJob?)(objectTable[0] as ICharacter)?.ClassJob.RowId switch + uint num = (EClassJob?)objectTable.LocalPlayer?.ClassJob.RowId switch { EClassJob.Carpenter => rowOrDefault.Value.CRP.RowId, EClassJob.Blacksmith => rowOrDefault.Value.BSM.RowId, @@ -81,7 +80,7 @@ internal static class Craft rowOrDefault.Value.LTW.RowId, rowOrDefault.Value.WVR.RowId, rowOrDefault.Value.ALC.RowId, - rowOrDefault.Value.WVR.RowId + rowOrDefault.Value.CUL.RowId }.FirstOrDefault((uint x) => x != 0); } if (num == 0) @@ -89,7 +88,7 @@ internal static class Craft throw new TaskException($"Unable to determine recipe for item {base.Task.ItemId}"); } int num2 = base.Task.ItemCount - GetOwnedItemCount(); - logger.LogInformation("Starting craft for item {ItemId} with recipe {RecipeId} for {RemainingItemCount} items{HqSuffix}", base.Task.ItemId, num, num2, base.Task.RequireHq ? " (HQ required)" : ""); + logger.LogDebug("Starting craft for item {ItemId} with recipe {RecipeId} for {RemainingItemCount} items{HqSuffix}", base.Task.ItemId, num, num2, base.Task.RequireHq ? " (HQ required)" : ""); if (!artisanIpc.CraftItem((ushort)num, num2)) { throw new TaskException($"Failed to start Artisan craft for recipe {num}"); @@ -99,8 +98,14 @@ internal static class Craft public unsafe override ETaskResult Update() { - if (HasRequestedItems() && !artisanIpc.IsCrafting()) + if (!artisanIpc.IsCrafting()) { + if (!HasRequestedItems()) + { + int ownedItemCount = GetOwnedItemCount(); + logger.LogError("Artisan stopped crafting but only have {Owned}/{Required} of item {ItemId}", ownedItemCount, base.Task.ItemCount, base.Task.ItemId); + throw new TaskException($"Artisan stopped crafting with only {ownedItemCount}/{base.Task.ItemCount} items completed"); + } AgentRecipeNote* ptr = AgentRecipeNote.Instance(); if (ptr != null && ptr->IsAgentActive()) { @@ -112,7 +117,7 @@ internal static class Craft AtkUnitBase* addonById = AtkStage.Instance()->RaptureAtkUnitManager->GetAddonById((ushort)addonId); if (addonById != null) { - logger.LogInformation("Closing crafting window"); + logger.LogDebug("Closing crafting window"); addonById->FireCallbackInt(-1); return ETaskResult.TaskComplete; } diff --git a/Questionable/Questionable.Controller.Steps.Shared/ExtraConditionUtils.cs b/Questionable/Questionable.Controller.Steps.Shared/ExtraConditionUtils.cs index 4affed9..0d8bae1 100644 --- a/Questionable/Questionable.Controller.Steps.Shared/ExtraConditionUtils.cs +++ b/Questionable/Questionable.Controller.Steps.Shared/ExtraConditionUtils.cs @@ -19,7 +19,7 @@ internal sealed class ExtraConditionUtils public bool MatchesExtraCondition(EExtraSkipCondition skipCondition) { - Vector3? vector = _objectTable[0]?.Position; + Vector3? vector = _objectTable.LocalPlayer?.Position; if (vector.HasValue && _clientState.TerritoryType != 0) { return MatchesExtraCondition(skipCondition, vector.Value, _clientState.TerritoryType); diff --git a/Questionable/Questionable.Controller.Steps.Shared/Fish.cs b/Questionable/Questionable.Controller.Steps.Shared/Fish.cs new file mode 100644 index 0000000..02bcf0d --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Shared/Fish.cs @@ -0,0 +1,194 @@ +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using Dalamud.Game.ClientState.Objects.SubKinds; +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using LLib.Fishing; +using LLib.GameData; +using Microsoft.Extensions.Logging; +using Questionable.Controller.Steps.Common; +using Questionable.Controller.Utils; +using Questionable.Data; +using Questionable.External; +using Questionable.Functions; +using Questionable.Model; +using Questionable.Model.Questing; + +namespace Questionable.Controller.Steps.Shared; + +internal static class Fish +{ + internal sealed class Factory(AutoHookIpc autoHookIpc) : ITaskFactory + { + public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + if (step.InteractionType != EInteractionType.Fish || !autoHookIpc.IsAvailable()) + { + yield break; + } + yield return new Mount.UnmountTask(); + yield return new SwitchClassJob.Task(EClassJob.Fisher); + yield return new FishTask(quest, step.ItemsToGather.FirstOrDefault(), step.CompletionQuestVariablesFlags); + foreach (GatheredItem item in step.ItemsToGather.Skip(1)) + { + yield return new FishTask(quest, item, step.CompletionQuestVariablesFlags); + } + } + } + + internal sealed record FishTask(Quest Quest, GatheredItem? GatheredItem, IList CompletionQuestVariablesFlags) : ITask + { + public bool HasCompletionQuestVariablesFlags { get; } = QuestWorkUtils.HasCompletionFlags(CompletionQuestVariablesFlags); + + public override string ToString() + { + return "Fish" + (HasCompletionQuestVariablesFlags ? "*" : "") + ((GatheredItem != null) ? $"({GatheredItem.ItemCount}x {GatheredItem.ItemId})" : ""); + } + } + + internal sealed class DoFish(AutoHookIpc autoHookIpc, QuestFunctions questFunctions, IObjectTable objectTable, IChatGui chatGui, SendNotification.Executor sendNotificationExecutor, ILogger logger) : TaskExecutor(), IStoppableTaskExecutor, ITaskExecutor + { + private readonly bool _wasAutoHookEnabled = autoHookIpc.GetPluginState(); + + private bool _started; + + private bool _cleanupDone; + + protected override bool Start() + { + if (HasRequestedItem(base.Task.GatheredItem)) + { + logger.LogInformation("Already have the requested fish in inventory, skipping fish task."); + return false; + } + if (HasMatchingCompletionQuestWork()) + { + logger.LogInformation("Quest variables already match, skipping fish task."); + return false; + } + if (!_wasAutoHookEnabled) + { + autoHookIpc.SetPluginState(enabled: true); + if (!autoHookIpc.GetPluginState()) + { + logger.LogWarning("{ErrorText}", "AutoHook is required for fishing but could not be enabled. Please install or enable AutoHook."); + if (!sendNotificationExecutor.Start(new SendNotification.Task(EInteractionType.Fish, "AutoHook is required for fishing but could not be enabled. Please install or enable AutoHook."))) + { + chatGui.PrintError("AutoHook is required for fishing but could not be enabled. Please install or enable AutoHook.", "Questionable", 576); + } + throw new TaskException("AutoHook is required for fishing but could not be enabled. Please install or enable AutoHook."); + } + } + if (!AutoHookPresetData.FishingPresets.TryGetValue((QuestId)base.Task.Quest.Id, out string value)) + { + logger.LogWarning("No fishing preset found for quest {QuestId}", base.Task.Quest.Id); + throw new TaskException($"No fishing preset found for quest {base.Task.Quest.Id}"); + } + logger.LogInformation("Creating anonymous AutoHook preset for quest {QuestId}", base.Task.Quest.Id); + autoHookIpc.CreateAndSelectAnonymousPreset(value); + OrientToWater(); + autoHookIpc.SetAutoStartFishing(enabled: true); + _started = true; + return true; + } + + public override ETaskResult Update() + { + if (HasRequestedItem(base.Task.GatheredItem)) + { + logger.LogDebug("Requested fish collected, completing task."); + Cleanup(); + return ETaskResult.TaskComplete; + } + if (HasMatchingCompletionQuestWork()) + { + logger.LogDebug("Quest variables match, completing task."); + Cleanup(); + return ETaskResult.TaskComplete; + } + return ETaskResult.StillRunning; + } + + public void StopNow() + { + if (_started) + { + Cleanup(); + } + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + + private bool HasMatchingCompletionQuestWork() + { + if (!base.Task.HasCompletionQuestVariablesFlags) + { + return false; + } + QuestProgressInfo questProgressInfo = questFunctions.GetQuestProgressInfo(base.Task.Quest.Id); + if (questProgressInfo != null) + { + return QuestWorkUtils.MatchesQuestWork(base.Task.CompletionQuestVariablesFlags, questProgressInfo); + } + return false; + } + + private void Cleanup() + { + if (!_cleanupDone) + { + logger.LogDebug("Cleaning up fish task."); + autoHookIpc.SetAutoStartFishing(enabled: false); + StopFishing(); + autoHookIpc.DeleteAllAnonymousPresets(); + autoHookIpc.SetPluginState(_wasAutoHookEnabled); + _cleanupDone = true; + } + } + + private unsafe void OrientToWater() + { + IPlayerCharacter localPlayer = objectTable.LocalPlayer; + if (localPlayer != null) + { + (float, Vector3)? tuple = WaterSurfaceDetector.FindFishableRotation(localPlayer.Position); + if (!tuple.HasValue) + { + logger.LogWarning("No fishable water found near the player; AutoHook may fail to cast."); + return; + } + Vector3 item = tuple.Value.Item2; + ActionManager.Instance()->AutoFaceTargetPosition(&item, 0uL); + } + } + + private unsafe static void StopFishing() + { + ActionManager* ptr = ActionManager.Instance(); + if (ptr != null) + { + ptr->UseAction(ActionType.Action, 299u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + } + } + } + + private const uint QuitActionId = 299u; + + private unsafe static bool HasRequestedItem(GatheredItem? item) + { + if (item == null) + { + return false; + } + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return false; + } + return ptr->GetInventoryItemCount(item.ItemId, isHq: false, checkEquipped: true, checkArmory: true, (short)item.Collectability) >= item.ItemCount; + } +} diff --git a/Questionable/Questionable.Controller.Steps.Shared/Gather.cs b/Questionable/Questionable.Controller.Steps.Shared/Gather.cs index ef618eb..04af686 100644 --- a/Questionable/Questionable.Controller.Steps.Shared/Gather.cs +++ b/Questionable/Questionable.Controller.Steps.Shared/Gather.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Game.Text; using Dalamud.Game.Text.SeStringHandling; using Dalamud.Plugin.Services; @@ -57,7 +56,7 @@ internal static class Gather public IEnumerable CreateExtraTasks() { - EClassJob valueOrDefault = ((EClassJob?)(objectTable[0] as ICharacter)?.ClassJob.RowId).GetValueOrDefault(); + EClassJob valueOrDefault = ((EClassJob?)objectTable.LocalPlayer?.ClassJob.RowId).GetValueOrDefault(); if (!gatheringPointRegistry.TryGetGatheringPointId(base.Task.GatheredItem.ItemId, valueOrDefault, out GatheringPointId gatheringPointId)) { throw new TaskException($"No gathering point found for item {base.Task.GatheredItem.ItemId}"); diff --git a/Questionable/Questionable.Controller.Steps.Shared/RedeemRewardItems.cs b/Questionable/Questionable.Controller.Steps.Shared/RedeemRewardItems.cs index 4138e70..8140d2e 100644 --- a/Questionable/Questionable.Controller.Steps.Shared/RedeemRewardItems.cs +++ b/Questionable/Questionable.Controller.Steps.Shared/RedeemRewardItems.cs @@ -3,6 +3,10 @@ using System.Collections.Generic; using Dalamud.Game.ClientState.Conditions; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game; +using LLib.Gear; +using LLib.Inventory; +using Microsoft.Extensions.Logging; +using Questionable.Controller.Steps.Common; using Questionable.Data; using Questionable.Functions; using Questionable.Model; @@ -12,7 +16,7 @@ namespace Questionable.Controller.Steps.Shared; internal static class RedeemRewardItems { - internal sealed class Factory(QuestData questData) : ITaskFactory + internal sealed class Factory(QuestData questData, Configuration configuration) : ITaskFactory { public unsafe IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) { @@ -26,57 +30,150 @@ internal static class RedeemRewardItems { return list; } + bool hasFreeInventorySlot = InventoryHelper.HasFreeInventorySlot(); foreach (ItemReward redeemableItem in questData.RedeemableItems) { - if (ptr->GetInventoryItemCount(redeemableItem.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0) > 0 && !redeemableItem.IsUnlocked()) + if (ptr->GetInventoryItemCount(redeemableItem.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0) != 0 && !redeemableItem.IsUnlocked() && PassesRedemptionFilters(redeemableItem.Type, redeemableItem.IsUntradable, configuration.General, hasFreeInventorySlot)) { list.Add(new Task(redeemableItem)); } } + if (list.Count > 0) + { + list.Insert(0, new Mount.UnmountTask()); + } return list; } } internal sealed record Task(ItemReward ItemReward) : ITask { + public int OriginalGearsetIndex { get; set; } = -1; + public override string ToString() { return "TryRedeem(" + ItemReward.Name + ")"; } } - internal sealed class Executor(GameFunctions gameFunctions, ICondition condition) : TaskExecutor() + internal sealed class Executor(GameFunctions gameFunctions, Configuration configuration, ICondition condition, ILogger logger) : TaskExecutor(), IStoppableTaskExecutor, ITaskExecutor { private static readonly TimeSpan MinimumCastTime = TimeSpan.FromSeconds(4L); - private DateTime _continueAt; + private const long GearsetSettleDelayMs = 1000L; + + private const long UseItemRetryDelayMs = 1000L; + + private const int MaxUseItemAttempts = 5; + + private long _useItemAt; + + private long _continueAt; + + private int _useItemAttempts; + + private bool _itemUsed; protected override bool Start() { - if (condition[ConditionFlag.Mounted]) + if (condition[ConditionFlag.Mounted] && base.Task.OriginalGearsetIndex < 0) { return false; } - TimeSpan timeSpan = base.Task.ItemReward.CastTime; - if (timeSpan < MinimumCastTime) + long num = (_useItemAt = Environment.TickCount64); + if (base.Task.ItemReward is CofferReward) { - timeSpan = MinimumCastTime; + int? cofferGearsetIndex = configuration.General.CofferGearsetIndex; + if (cofferGearsetIndex.HasValue) + { + int valueOrDefault = cofferGearsetIndex.GetValueOrDefault(); + if (base.Task.OriginalGearsetIndex < 0) + { + int currentGearsetIndex = GearsetHelper.GetCurrentGearsetIndex(); + if (currentGearsetIndex != valueOrDefault && GearsetHelper.TryEquipGearset(valueOrDefault)) + { + base.Task.OriginalGearsetIndex = currentGearsetIndex; + _useItemAt = num + 1000; + } + } + else if (GearsetHelper.GetCurrentGearsetIndex() != valueOrDefault) + { + GearsetHelper.TryEquipGearset(valueOrDefault); + _useItemAt = num + 1000; + } + } } - _continueAt = DateTime.Now.Add(timeSpan).AddSeconds(3.0); - return gameFunctions.UseItem(base.Task.ItemReward.ItemId); + return true; } public override ETaskResult Update() { + long tickCount = Environment.TickCount64; + if (!_itemUsed) + { + if (tickCount < _useItemAt) + { + return ETaskResult.StillRunning; + } + if (base.Task.ItemReward.IsUnlocked() || !HasItemInInventory(base.Task.ItemReward.ItemId)) + { + RestoreGearset(); + return ETaskResult.TaskComplete; + } + if (gameFunctions.UseItem(base.Task.ItemReward.ItemId)) + { + _itemUsed = true; + TimeSpan timeSpan = base.Task.ItemReward.CastTime; + if (timeSpan < MinimumCastTime) + { + timeSpan = MinimumCastTime; + } + _continueAt = tickCount + (long)timeSpan.TotalMilliseconds + 3000; + return ETaskResult.StillRunning; + } + _useItemAttempts++; + if (_useItemAttempts >= 5) + { + logger.LogWarning("Unable to use {ItemName} after {Attempts} attempts, giving up", base.Task.ItemReward.Name, _useItemAttempts); + RestoreGearset(); + return ETaskResult.TaskComplete; + } + _useItemAt = tickCount + 1000; + return ETaskResult.StillRunning; + } if (condition[ConditionFlag.Casting]) { return ETaskResult.StillRunning; } - if (!(DateTime.Now <= _continueAt)) + if (tickCount <= _continueAt) { - return ETaskResult.TaskComplete; + return ETaskResult.StillRunning; } - return ETaskResult.StillRunning; + RestoreGearset(); + return ETaskResult.TaskComplete; + } + + public void StopNow() + { + RestoreGearset(); + } + + private void RestoreGearset() + { + if (base.Task.OriginalGearsetIndex >= 0 && GearsetHelper.TryEquipGearset(base.Task.OriginalGearsetIndex)) + { + base.Task.OriginalGearsetIndex = -1; + } + } + + private unsafe static bool HasItemInInventory(uint itemId) + { + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr != null) + { + return ptr->GetInventoryItemCount(itemId, isHq: false, checkEquipped: true, checkArmory: true, 0) > 0; + } + return false; } public override bool ShouldInterruptOnDamage() @@ -84,4 +181,21 @@ internal static class RedeemRewardItems return true; } } + + internal static bool PassesRedemptionFilters(EItemRewardType type, bool isUntradable, Configuration.GeneralConfiguration general, bool hasFreeInventorySlot) + { + if (general.DisabledRewardTypes.Contains(type)) + { + return false; + } + if (general.SkipTradableRewards && !isUntradable) + { + return false; + } + if (type == EItemRewardType.Coffer && !hasFreeInventorySlot) + { + return false; + } + return true; + } } diff --git a/Questionable/Questionable.Controller.Steps.Shared/SkipCondition.cs b/Questionable/Questionable.Controller.Steps.Shared/SkipCondition.cs index 18a5b35..b597148 100644 --- a/Questionable/Questionable.Controller.Steps.Shared/SkipCondition.cs +++ b/Questionable/Questionable.Controller.Steps.Shared/SkipCondition.cs @@ -3,19 +3,21 @@ using System.Collections.Generic; using System.Linq; using System.Numerics; using Dalamud.Game.ClientState.Conditions; +using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game; using FFXIVClientStructs.FFXIV.Client.Game.Object; using FFXIVClientStructs.FFXIV.Client.Game.UI; using LLib.GameData; +using LLib.Inventory; using Microsoft.Extensions.Logging; using Questionable.Controller.Utils; using Questionable.Data; using Questionable.Functions; using Questionable.Model; -using Questionable.Model.Common; using Questionable.Model.Questing; +using SmartNav.Model; namespace Questionable.Controller.Steps.Shared; @@ -30,7 +32,7 @@ internal static class SkipCondition { return null; } - if ((skipStepConditions == null || !skipStepConditions.HasSkipConditions()) && !QuestWorkUtils.HasCompletionFlags(step.CompletionQuestVariablesFlags) && step.RequiredQuestVariables.Count == 0 && !step.TaxiStandId.HasValue && step.PickUpQuestId == null && step.NextQuestId == null && step.RequiredCurrentJob.Count == 0 && step.RequiredQuestAcceptedJob.Count == 0 && (step.InteractionType != EInteractionType.AttuneAetherCurrent || !configuration.Advanced.SkipAetherCurrents)) + if ((skipStepConditions == null || !skipStepConditions.HasSkipConditions()) && !QuestWorkUtils.HasCompletionFlags(step.CompletionQuestVariablesFlags) && step.RequiredQuestVariables.Count == 0 && !step.TaxiStandId.HasValue && step.PickUpQuestId == null && step.NextQuestId == null && step.RequiredCurrentJob.Count == 0 && step.RequiredQuestAcceptedJob.Count == 0 && (step.InteractionType != EInteractionType.AttuneAetherCurrent || !configuration.Advanced.SkipAetherCurrents) && (step.InteractionType != EInteractionType.PurchaseItem || !step.ItemId.HasValue)) { return null; } @@ -46,7 +48,7 @@ internal static class SkipCondition } } - internal sealed class CheckSkip(ILogger logger, Configuration configuration, AetheryteFunctions aetheryteFunctions, GameFunctions gameFunctions, QuestFunctions questFunctions, IClientState clientState, IObjectTable objectTable, ICondition condition, ExtraConditionUtils extraConditionUtils, ClassJobUtils classJobUtils) : TaskExecutor() + internal sealed class CheckSkip(ILogger logger, Configuration configuration, AetheryteFunctions aetheryteFunctions, GameFunctions gameFunctions, QuestFunctions questFunctions, IClientState clientState, IObjectTable objectTable, ICondition condition, ExtraConditionUtils extraConditionUtils, ClassJobUtils classJobUtils, QuestController questController) : TaskExecutor() { protected override bool Start() { @@ -57,7 +59,7 @@ internal static class SkipCondition object[] array = new object[1]; object reference = skipConditions; array[0] = string.Join(",", new ReadOnlySpan(in reference)); - logger.LogInformation("Checking skip conditions; {ConfiguredConditions}", array); + logger.LogDebug("Checking skip conditions; {ConfiguredConditions}", array); if (CheckFlyingCondition(step, skipConditions)) { return true; @@ -90,6 +92,10 @@ internal static class SkipCondition { return true; } + if (CheckPurchaseComplete(step)) + { + return true; + } if (CheckAetheryteCondition(step, skipConditions)) { return true; @@ -116,7 +122,7 @@ internal static class SkipCondition } if (skipConditions.ExtraCondition.HasValue && skipConditions.ExtraCondition != EExtraSkipCondition.None && extraConditionUtils.MatchesExtraCondition(skipConditions.ExtraCondition.Value)) { - logger.LogInformation("Skipping step, extra condition {} matches", skipConditions.ExtraCondition); + logger.LogDebug("Skipping step, extra condition {ExtraCondition} matches", skipConditions.ExtraCondition); return true; } if (CheckPickUpTurnInQuestIds(step)) @@ -134,22 +140,22 @@ internal static class SkipCondition { if (skipConditions.Flying == ELockedSkipCondition.Unlocked && gameFunctions.IsFlyingUnlocked(step.TerritoryId)) { - logger.LogInformation("Skipping step, as flying is unlocked"); + logger.LogDebug("Skipping step, as flying is unlocked"); return true; } if (skipConditions.Flying == ELockedSkipCondition.Locked && !gameFunctions.IsFlyingUnlocked(step.TerritoryId)) { - logger.LogInformation("Skipping step, as flying is locked"); + logger.LogDebug("Skipping step, as flying is locked"); return true; } return false; } - private unsafe bool CheckUnlockedMountCondition(SkipStepConditions skipConditions) + private bool CheckUnlockedMountCondition(SkipStepConditions skipConditions) { - if (skipConditions.Chocobo == ELockedSkipCondition.Unlocked && PlayerState.Instance()->IsMountUnlocked(1u)) + if (skipConditions.Chocobo == ELockedSkipCondition.Unlocked && PlayerStateHelper.IsMountUnlocked(1u)) { - logger.LogInformation("Skipping step, as chocobo is unlocked"); + logger.LogDebug("Skipping step, as chocobo is unlocked"); return true; } return false; @@ -159,12 +165,12 @@ internal static class SkipCondition { if (skipConditions.InTerritory.Count > 0 && skipConditions.InTerritory.Contains((ushort)clientState.TerritoryType)) { - logger.LogInformation("Skipping step, as in a skip.InTerritory"); + logger.LogDebug("Skipping step, as in a skip.InTerritory"); return true; } if (skipConditions.NotInTerritory.Count > 0 && !skipConditions.NotInTerritory.Contains((ushort)clientState.TerritoryType)) { - logger.LogInformation("Skipping step, as not in a skip.NotInTerritory"); + logger.LogDebug("Skipping step, as not in a skip.NotInTerritory"); return true; } return false; @@ -174,12 +180,12 @@ internal static class SkipCondition { if (skipConditions.Diving == true && condition[ConditionFlag.Diving]) { - logger.LogInformation("Skipping step, as you're currently diving underwater"); + logger.LogDebug("Skipping step, as you're currently diving underwater"); return true; } if (skipConditions.Diving == false && !condition[ConditionFlag.Diving]) { - logger.LogInformation("Skipping step, as you're not currently diving underwater"); + logger.LogDebug("Skipping step, as you're not currently diving underwater"); return true; } return false; @@ -189,12 +195,12 @@ internal static class SkipCondition { if (skipConditions.QuestsCompleted.Count > 0 && skipConditions.QuestsCompleted.All(questFunctions.IsQuestComplete)) { - logger.LogInformation("Skipping step, all prequisite quests are complete"); + logger.LogDebug("Skipping step, all prequisite quests are complete"); return true; } if (skipConditions.QuestsAccepted.Count > 0 && skipConditions.QuestsAccepted.All(questFunctions.IsQuestAccepted)) { - logger.LogInformation("Skipping step, all prequisite quests are accepted"); + logger.LogDebug("Skipping step, all prequisite quests are accepted"); return true; } return false; @@ -205,18 +211,18 @@ internal static class SkipCondition if (skipConditions.NotTargetable && step != null && step.DataId.HasValue) { IGameObject gameObject = gameFunctions.FindObjectByDataId(step.DataId.Value); - IGameObject gameObject2 = objectTable[0]; + IPlayerCharacter localPlayer = objectTable.LocalPlayer; if (gameObject == null) { - if (gameObject2 != null && (step.Position.GetValueOrDefault() - gameObject2.Position).Length() < 100f) + if (localPlayer != null && (step.Position.GetValueOrDefault() - localPlayer.Position).Length() < 100f) { - logger.LogInformation("Skipping step, object is not nearby (but we are)"); + logger.LogDebug("Skipping step, object is not nearby (but we are)"); return true; } } else if (!gameObject.IsTargetable) { - logger.LogInformation("Skipping step, object is not targetable"); + logger.LogDebug("Skipping step, object is not targetable"); return true; } } @@ -233,7 +239,7 @@ internal static class SkipCondition GameObject* address = (GameObject*)gameObject.Address; if (!skipConditions.NotNamePlateIconId.Contains(address->NamePlateIconId)) { - logger.LogInformation("Skipping step, object has icon id {IconId}", address->NamePlateIconId); + logger.LogDebug("Skipping step, object has icon id {IconId}", address->NamePlateIconId); return true; } } @@ -241,37 +247,52 @@ internal static class SkipCondition return false; } - private unsafe bool CheckItemCondition(QuestStep step, SkipStepConditions skipConditions) + private bool CheckItemCondition(QuestStep step, SkipStepConditions skipConditions) { SkipItemConditions item = skipConditions.Item; - if (item != null && item.NotInInventory && step != null && step.ItemId.HasValue) + if (item != null && item.NotInInventory && step != null && step.ItemId.HasValue && ((ItemHandle)step.ItemId.Value).GetCount(checkEquipped: true, checkArmory: true) == 0) { - InventoryManager* ptr = InventoryManager.Instance(); - if (ptr->GetInventoryItemCount(step.ItemId.Value, isHq: false, checkEquipped: true, checkArmory: true, 0) == 0 && ptr->GetInventoryItemCount(step.ItemId.Value, isHq: true, checkEquipped: true, checkArmory: true, 0) == 0) - { - logger.LogInformation("Skipping step, no item with itemId {ItemId} in inventory", step.ItemId.Value); - return true; - } + logger.LogDebug("Skipping step, no item with itemId {ItemId} in inventory", step.ItemId.Value); + return true; } item = skipConditions.Item; - if (item != null && item.InInventory && step != null && step.ItemId.HasValue) + if (item != null && item.InInventory && step != null && step.ItemId.HasValue && ((ItemHandle)step.ItemId.Value).GetCount(checkEquipped: true, checkArmory: true) > 0) { - InventoryManager* ptr2 = InventoryManager.Instance(); - if (ptr2->GetInventoryItemCount(step.ItemId.Value, isHq: false, checkEquipped: true, checkArmory: true, 0) > 0 || ptr2->GetInventoryItemCount(step.ItemId.Value, isHq: true, checkEquipped: true, checkArmory: true, 0) > 0) - { - logger.LogInformation("Skipping step, item with itemId {ItemId} already in inventory", step.ItemId.Value); - return true; - } + logger.LogDebug("Skipping step, item with itemId {ItemId} already in inventory", step.ItemId.Value); + return true; } item = skipConditions.Item; if (item != null && item.BetterOrEqualItemEquipped && step != null && step.ItemId.HasValue && IsBetterOrEqualItemEquipped(step.ItemId.Value)) { - logger.LogInformation("Skipping step, better or equal item than {ItemId} is already equipped", step.ItemId.Value); + logger.LogDebug("Skipping step, better or equal item than {ItemId} is already equipped", step.ItemId.Value); return true; } return false; } + private bool CheckPurchaseComplete(QuestStep step) + { + if (step.InteractionType == EInteractionType.PurchaseItem) + { + uint? itemId = step.ItemId; + if (itemId.HasValue) + { + uint valueOrDefault = itemId.GetValueOrDefault(); + int? itemCount = step.ItemCount; + if (itemCount.HasValue) + { + int valueOrDefault2 = itemCount.GetValueOrDefault(); + if (valueOrDefault2 > 0 && ((ItemHandle)valueOrDefault).GetCount(checkEquipped: true, checkArmory: true) >= valueOrDefault2) + { + logger.LogDebug("Skipping step, already own {Count}+ of item {ItemId}", valueOrDefault2, valueOrDefault); + return true; + } + } + } + } + return false; + } + private bool CheckAetheryteCondition(QuestStep step, SkipStepConditions skipConditions) { if (step != null) @@ -282,7 +303,7 @@ internal static class SkipCondition EAetheryteLocation valueOrDefault = aetheryte.GetValueOrDefault(); if (step.InteractionType == EInteractionType.AttuneAetheryte && aetheryteFunctions.IsAetheryteUnlocked(valueOrDefault)) { - logger.LogInformation("Skipping step, as aetheryte is unlocked"); + logger.LogDebug("Skipping step, as aetheryte is unlocked"); return true; } } @@ -295,7 +316,7 @@ internal static class SkipCondition EAetheryteLocation valueOrDefault2 = aetheryte.GetValueOrDefault(); if (step.InteractionType == EInteractionType.AttuneAethernetShard && aetheryteFunctions.IsAetheryteUnlocked(valueOrDefault2)) { - logger.LogInformation("Skipping step, as aethernet shard is unlocked"); + logger.LogDebug("Skipping step, as aethernet shard is unlocked"); return true; } } @@ -308,19 +329,19 @@ internal static class SkipCondition EAetheryteLocation valueOrDefault3 = aetheryte.GetValueOrDefault(); if (step.InteractionType == EInteractionType.RegisterFreeOrFavoredAetheryte && aetheryteFunctions.CanRegisterFreeOrFavoriteAetheryte(valueOrDefault3) == AetheryteRegistrationResult.NotPossible) { - logger.LogInformation("Skipping step, already registered all possible free or favored aetherytes"); + logger.LogDebug("Skipping step, already registered all possible free or favored aetherytes"); return true; } } } if (skipConditions.AetheryteLocked.HasValue && !aetheryteFunctions.IsAetheryteUnlocked(skipConditions.AetheryteLocked.Value)) { - logger.LogInformation("Skipping step, as aetheryte is locked"); + logger.LogDebug("Skipping step, as aetheryte is locked"); return true; } if (skipConditions.AetheryteUnlocked.HasValue && aetheryteFunctions.IsAetheryteUnlocked(skipConditions.AetheryteUnlocked.Value)) { - logger.LogInformation("Skipping step, as aetheryte is unlocked"); + logger.LogDebug("Skipping step, as aetheryte is unlocked"); return true; } return false; @@ -332,12 +353,12 @@ internal static class SkipCondition { if (configuration.Advanced.SkipAetherCurrents) { - logger.LogInformation("Skipping step, as aether currents should be skipped"); + logger.LogDebug("Skipping step, as aether currents should be skipped"); return true; } - if (step.DataId.HasValue && gameFunctions.IsAetherCurrentUnlocked(step.DataId.Value)) + if (step.DataId.HasValue && GameFunctions.IsAetherCurrentUnlocked(step.DataId.Value)) { - logger.LogInformation("Skipping step, as current is unlocked"); + logger.LogDebug("Skipping step, as current is unlocked"); return true; } } @@ -346,10 +367,10 @@ internal static class SkipCondition private bool CheckLevelCondition(SkipStepConditions skipConditions) { - ICharacter character = objectTable[0] as ICharacter; - if (skipConditions.MinimumLevel.HasValue && character != null && character.Level >= skipConditions.MinimumLevel.Value) + IPlayerCharacter localPlayer = objectTable.LocalPlayer; + if (skipConditions.MinimumLevel.HasValue && localPlayer != null && localPlayer.Level >= skipConditions.MinimumLevel.Value) { - logger.LogInformation("Skipping step, as player level {CurrentLevel} >= minimum level {MinLevel}", character.Level, skipConditions.MinimumLevel.Value); + logger.LogDebug("Skipping step, as player level {CurrentLevel} >= minimum level {MinLevel}", localPlayer.Level, skipConditions.MinimumLevel.Value); return true; } return false; @@ -362,7 +383,7 @@ internal static class SkipCondition { if (QuestWorkUtils.HasCompletionFlags(step.CompletionQuestVariablesFlags) && QuestWorkUtils.MatchesQuestWork(step.CompletionQuestVariablesFlags, questProgressInfo)) { - logger.LogInformation("Skipping step, as quest variables match (step is complete)"); + logger.LogDebug("Skipping step, as quest variables match (step is complete)"); return true; } if (step != null) @@ -373,7 +394,7 @@ internal static class SkipCondition SkipStepConditions stepIf = skipConditions.StepIf; if (stepIf != null && QuestWorkUtils.MatchesQuestWork(stepIf.CompletionQuestVariablesFlags, questProgressInfo)) { - logger.LogInformation("Skipping step, as quest variables match (step can be skipped)"); + logger.LogDebug("Skipping step, as quest variables match (step can be skipped)"); return true; } } @@ -381,10 +402,14 @@ internal static class SkipCondition if (step != null) { List> requiredQuestVariables = step.RequiredQuestVariables; - if (requiredQuestVariables != null && !QuestWorkUtils.MatchesRequiredQuestWorkConfig(requiredQuestVariables, questProgressInfo, logger)) + if (requiredQuestVariables != null) { - logger.LogInformation("Skipping step, as required variables do not match"); - return true; + QuestProgressInfo questWork = questController.GetInitialQuestProgressInfo(elementId) ?? questProgressInfo; + if (!QuestWorkUtils.MatchesRequiredQuestWorkConfig(requiredQuestVariables, questWork, logger)) + { + logger.LogDebug("Skipping step, as required variables do not match initial quest variables"); + return true; + } } } if (step != null) @@ -394,10 +419,10 @@ internal static class SkipCondition { List list = step.RequiredQuestAcceptedJob.SelectMany((EExtendedClassJob x) => classJobUtils.AsIndividualJobs(x, elementId)).ToList(); EClassJob classJob = questProgressInfo.ClassJob; - logger.LogInformation("Checking quest job {QuestJob} against {ExpectedJobs}", classJob, string.Join(",", list)); + logger.LogDebug("Checking quest job {QuestJob} against {ExpectedJobs}", classJob, string.Join(",", list)); if (classJob != EClassJob.Adventurer && !list.Contains(classJob)) { - logger.LogInformation("Skipping step, as quest was accepted on a different job"); + logger.LogDebug("Skipping step, as quest was accepted on a different job"); return true; } } @@ -414,11 +439,11 @@ internal static class SkipCondition if (requiredCurrentJob != null && requiredCurrentJob.Count > 0) { List list = step.RequiredCurrentJob.SelectMany((EExtendedClassJob x) => classJobUtils.AsIndividualJobs(x, elementId)).ToList(); - EClassJob valueOrDefault = ((EClassJob?)(objectTable[0] as ICharacter)?.ClassJob.RowId).GetValueOrDefault(); - logger.LogInformation("Checking current job {CurrentJob} against {ExpectedJobs}", valueOrDefault, string.Join(",", list)); + EClassJob valueOrDefault = ((EClassJob?)objectTable.LocalPlayer?.ClassJob.RowId).GetValueOrDefault(); + logger.LogDebug("Checking current job {CurrentJob} against {ExpectedJobs}", valueOrDefault, string.Join(",", list)); if (!list.Contains(valueOrDefault)) { - logger.LogInformation("Skipping step, as step requires a different job"); + logger.LogDebug("Skipping step, as step requires a different job"); return true; } } @@ -428,17 +453,17 @@ internal static class SkipCondition private bool CheckPositionCondition(SkipStepConditions skipConditions) { - IGameObject gameObject = objectTable[0]; + IPlayerCharacter localPlayer = objectTable.LocalPlayer; NearPositionCondition nearPosition = skipConditions.NearPosition; - if (nearPosition != null && clientState.TerritoryType == nearPosition.TerritoryId && gameObject != null && Vector3.Distance(nearPosition.Position, gameObject.Position) <= nearPosition.MaximumDistance) + if (nearPosition != null && clientState.TerritoryType == nearPosition.TerritoryId && localPlayer != null && Vector3.Distance(nearPosition.Position, localPlayer.Position) <= nearPosition.MaximumDistance) { - logger.LogInformation("Skipping step, as we're near the position"); + logger.LogDebug("Skipping step, as we're near the position"); return true; } NearPositionCondition notNearPosition = skipConditions.NotNearPosition; - if (notNearPosition != null && clientState.TerritoryType == notNearPosition.TerritoryId && gameObject != null && notNearPosition.MaximumDistance <= Vector3.Distance(notNearPosition.Position, gameObject.Position)) + if (notNearPosition != null && clientState.TerritoryType == notNearPosition.TerritoryId && localPlayer != null && notNearPosition.MaximumDistance <= Vector3.Distance(notNearPosition.Position, localPlayer.Position)) { - logger.LogInformation("Skipping step, as we're not near the position"); + logger.LogDebug("Skipping step, as we're not near the position"); return true; } return false; @@ -448,22 +473,22 @@ internal static class SkipCondition { if (step.PickUpQuestId != null && questFunctions.IsQuestAcceptedOrComplete(step.PickUpQuestId)) { - logger.LogInformation("Skipping step, as we have already picked up the relevant quest"); + logger.LogDebug("Skipping step, as we have already picked up the relevant quest"); return true; } if (step.TurnInQuestId != null && questFunctions.IsQuestComplete(step.TurnInQuestId)) { - logger.LogInformation("Skipping step, as we have already completed the relevant quest"); + logger.LogDebug("Skipping step, as we have already completed the relevant quest"); return true; } - if (step.PickUpQuestId != null && configuration.Advanced.SkipAetherCurrents && QuestData.AetherCurrentQuests.Contains(step.PickUpQuestId)) + if (step.PickUpQuestId != null && QuestData.AetherCurrentQuests.Contains(step.PickUpQuestId) && (configuration.Advanced.SkipAetherCurrents || gameFunctions.IsFlyingUnlocked(step.TerritoryId))) { - logger.LogInformation("Skipping step, as aether current quests should be skipped"); + logger.LogDebug("Skipping step, as aether current quests should be skipped"); return true; } if (step.PickUpQuestId != null && configuration.Advanced.SkipARealmRebornHardModePrimals && QuestData.HardModePrimals.Contains(step.PickUpQuestId)) { - logger.LogInformation("Skipping step, as hard mode primal quests should be skipped"); + logger.LogDebug("Skipping step, as hard mode primal quests should be skipped"); return true; } return false; @@ -478,7 +503,7 @@ internal static class SkipCondition byte valueOrDefault = taxiStandId.GetValueOrDefault(); if (ptr->IsChocoboTaxiStandUnlocked((uint)(valueOrDefault + 1179648))) { - logger.LogInformation("Skipping step, as taxi stand {TaxiStandId} is unlocked", valueOrDefault); + logger.LogDebug("Skipping step, as taxi stand {TaxiStandId} is unlocked", valueOrDefault); return true; } } @@ -487,7 +512,7 @@ internal static class SkipCondition private unsafe bool IsBetterOrEqualItemEquipped(uint itemId) { - if (objectTable[0] == null) + if (objectTable.LocalPlayer == null) { return false; } @@ -502,9 +527,9 @@ internal static class SkipCondition logger.LogWarning("Could not get item level for item {ItemId}, skipping equip step", itemId); return true; } - if (ptr->GetInventoryItemCount(itemId, isHq: false, checkEquipped: true, checkArmory: true, 0) == 0 && ptr->GetInventoryItemCount(itemId, isHq: true, checkEquipped: true, checkArmory: true, 0) == 0) + if (((ItemHandle)itemId).GetCount() == 0) { - logger.LogInformation("Item {ItemId} not found in inventory, skipping equip step", itemId); + logger.LogDebug("Item {ItemId} not found in inventory, skipping equip step", itemId); return true; } InventoryItem* inventorySlot = ptr->GetInventoryContainer(InventoryType.EquippedItems)->GetInventorySlot(0); diff --git a/Questionable/Questionable.Controller.Steps.Shared/SkipMissingObject.cs b/Questionable/Questionable.Controller.Steps.Shared/SkipMissingObject.cs new file mode 100644 index 0000000..b545f91 --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Shared/SkipMissingObject.cs @@ -0,0 +1,48 @@ +using System; +using Microsoft.Extensions.Logging; +using Questionable.Functions; +using Questionable.Model.Questing; + +namespace Questionable.Controller.Steps.Shared; + +internal static class SkipMissingObject +{ + internal sealed record Task(uint DataId, ElementId ElementId, int Sequence) : ITask + { + public override string ToString() + { + return $"SkipMissingObject({DataId})"; + } + } + + internal sealed class Executor(GameFunctions gameFunctions, QuestController questController, ILogger logger) : TaskExecutor() + { + private long _skipAt; + + protected override bool Start() + { + _skipAt = Environment.TickCount64 + 500; + return true; + } + + public override ETaskResult Update() + { + if (gameFunctions.FindObjectByDataId(base.Task.DataId, null, warnIfMissing: false) != null) + { + return ETaskResult.TaskComplete; + } + if (Environment.TickCount64 < _skipAt) + { + return ETaskResult.StillRunning; + } + logger.LogInformation("Skipping simulated actions because GameObject {DataId} is not present", base.Task.DataId); + questController.IncreaseStepCount(base.Task.ElementId, base.Task.Sequence, shouldContinue: true); + return ETaskResult.SkipRemainingTasksForStep; + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + } +} diff --git a/Questionable/Questionable.Controller.Steps.Shared/SmartNavStep.cs b/Questionable/Questionable.Controller.Steps.Shared/SmartNavStep.cs new file mode 100644 index 0000000..b41e655 --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Shared/SmartNavStep.cs @@ -0,0 +1,91 @@ +using System.Collections.Generic; +using System.Numerics; +using Microsoft.Extensions.Logging; +using Questionable.Data; +using Questionable.Model; +using Questionable.Model.Questing; +using Questionable.Navigation; +using SmartNav; +using SmartNav.Data; +using SmartNav.Model; + +namespace Questionable.Controller.Steps.Shared; + +internal static class SmartNavStep +{ + internal sealed class Factory(NavRouter navRouter, PlayerNavStateBuilder playerNavStateBuilder, RouteInstructionBuilder instructionBuilder, SmartNavTaskMapper taskMapper, SmartNavReRouteService reRouteService, AetheryteData aetheryteData, TerritoryData territoryData, ILogger logger) : ITaskFactory + { + public bool HandledRouting { get; private set; } + + public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + HandledRouting = false; + Vector3? vector = ResolveDestination(step); + if (!vector.HasValue) + { + yield break; + } + PlayerNavState playerNavState = playerNavStateBuilder.Build(); + if (playerNavState == null) + { + yield break; + } + RouteResult routeResult = navRouter.FindRoute(playerNavState, step.TerritoryId, vector.Value); + if (routeResult.Segments.Count == 0) + { + yield break; + } + HandledRouting = true; + logger.LogDebug("SmartNav routing to {Territory} with {Count} segments", territoryData.GetNameAndId(step.TerritoryId), routeResult.Segments.Count); + reRouteService.SetDestination(step.TerritoryId, vector.Value); + foreach (ITask item in taskMapper.MapInstructions(instructionBuilder.Build(routeResult, step.TerritoryId, step.DisableNavmesh), step)) + { + yield return item; + } + } + + private Vector3? ResolveDestination(QuestStep step) + { + if (step.Position.HasValue) + { + return step.Position; + } + EAetheryteLocation valueOrDefault = default(EAetheryteLocation); + bool flag; + if (step != null) + { + EInteractionType interactionType = step.InteractionType; + if ((uint)(interactionType - 4) <= 1u) + { + EAetheryteLocation? aetheryte = step.Aetheryte; + if (aetheryte.HasValue) + { + valueOrDefault = aetheryte.GetValueOrDefault(); + flag = true; + goto IL_004b; + } + } + } + flag = false; + goto IL_004b; + IL_004b: + if (flag && aetheryteData.Locations.TryGetValue(valueOrDefault, out var value)) + { + return value; + } + if (step != null && step.InteractionType == EInteractionType.AttuneAethernetShard) + { + EAetheryteLocation? aetheryte = step.AethernetShard; + if (aetheryte.HasValue) + { + EAetheryteLocation valueOrDefault2 = aetheryte.GetValueOrDefault(); + if (aetheryteData.Locations.TryGetValue(valueOrDefault2, out var value2)) + { + return value2; + } + } + } + return null; + } + } +} diff --git a/Questionable/Questionable.Controller.Steps.Shared/StepDisabled.cs b/Questionable/Questionable.Controller.Steps.Shared/StepDisabled.cs index a9055de..d438efd 100644 --- a/Questionable/Questionable.Controller.Steps.Shared/StepDisabled.cs +++ b/Questionable/Questionable.Controller.Steps.Shared/StepDisabled.cs @@ -26,7 +26,7 @@ internal static class StepDisabled } } - internal sealed class SkipDisabledStepsExecutor(ILogger logger) : TaskExecutor() + internal sealed class SkipDisabledStepsExecutor(ILogger logger) : TaskExecutor() { protected override bool Start() { @@ -35,7 +35,7 @@ internal static class StepDisabled public override ETaskResult Update() { - logger.LogInformation("Skipping step, as it is disabled"); + logger.LogDebug("Skipping step, as it is disabled"); return ETaskResult.SkipRemainingTasksForStep; } diff --git a/Questionable/Questionable.Controller.Steps.Shared/SubRegionTransport.cs b/Questionable/Questionable.Controller.Steps.Shared/SubRegionTransport.cs new file mode 100644 index 0000000..2fd283d --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Shared/SubRegionTransport.cs @@ -0,0 +1,59 @@ +using System; +using System.Numerics; +using Dalamud.Game.ClientState.Objects.SubKinds; +using Dalamud.Plugin.Services; +using Microsoft.Extensions.Logging; + +namespace Questionable.Controller.Steps.Shared; + +internal static class SubRegionTransport +{ + internal sealed record Task(Vector3 SourcePosition, Vector3 DestPosition, ushort TerritoryId) : ITask + { + public bool ShouldRedoOnInterrupt() + { + return true; + } + + public override string ToString() + { + return $"SubRegionTransport({TerritoryId}, {SourcePosition} -> {DestPosition})"; + } + } + + internal sealed class DoSubRegionTransport(IObjectTable objectTable, ILogger logger) : TaskExecutor() + { + private Vector3 _startPosition; + + private long _startTime; + + protected override bool Start() + { + _startPosition = objectTable.LocalPlayer?.Position ?? Vector3.Zero; + _startTime = Environment.TickCount64; + logger.LogDebug("SubRegionTransport: Waiting for transport pad activation at {Position}", base.Task.SourcePosition); + return true; + } + + public override ETaskResult Update() + { + IPlayerCharacter localPlayer = objectTable.LocalPlayer; + if (localPlayer != null && Vector3.Distance(localPlayer.Position, _startPosition) > 5f) + { + logger.LogDebug("SubRegionTransport: Position changed ({Distance:F1}y), transport complete", Vector3.Distance(localPlayer.Position, _startPosition)); + return ETaskResult.TaskComplete; + } + if (Environment.TickCount64 - _startTime > 15000) + { + logger.LogWarning("SubRegionTransport: Timed out waiting for transport activation"); + return ETaskResult.RetryStep; + } + return ETaskResult.StillRunning; + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + } +} diff --git a/Questionable/Questionable.Controller.Steps.Shared/SwitchClassJob.cs b/Questionable/Questionable.Controller.Steps.Shared/SwitchClassJob.cs index 7cc8302..a4210b2 100644 --- a/Questionable/Questionable.Controller.Steps.Shared/SwitchClassJob.cs +++ b/Questionable/Questionable.Controller.Steps.Shared/SwitchClassJob.cs @@ -1,5 +1,4 @@ using System.Linq; -using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.UI.Misc; using LLib.GameData; @@ -36,7 +35,7 @@ internal static class SwitchClassJob { protected unsafe override bool StartInternal() { - if ((objectTable[0] as ICharacter)?.ClassJob.RowId == (uint?)base.Task.ClassJob) + if (objectTable.LocalPlayer?.ClassJob.RowId == (uint?)base.Task.ClassJob) { return false; } diff --git a/Questionable/Questionable.Controller.Steps.Shared/TaxiInteract.cs b/Questionable/Questionable.Controller.Steps.Shared/TaxiInteract.cs new file mode 100644 index 0000000..b09fa31 --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Shared/TaxiInteract.cs @@ -0,0 +1,178 @@ +using System; +using System.Numerics; +using Dalamud.Game.ClientState.Conditions; +using Dalamud.Game.ClientState.Objects.Types; +using Dalamud.Plugin.Services; +using Microsoft.Extensions.Logging; +using Questionable.Controller.GameUi; +using Questionable.Functions; + +namespace Questionable.Controller.Steps.Shared; + +internal static class TaxiInteract +{ + internal sealed record Task(uint NpcDataId, uint DestStandRowId, string DestPlaceName, ushort SourceTerritoryId, ushort DestTerritoryId) : ITask + { + public bool ShouldRedoOnInterrupt() + { + return true; + } + + public override string ToString() + { + return $"TaxiInteract({NpcDataId}, dest={DestPlaceName}, {SourceTerritoryId}->{DestTerritoryId})"; + } + } + + internal sealed class DoTaxiInteract(GameFunctions gameFunctions, InteractionUiController interactionUiController, ICondition condition, IClientState clientState, IObjectTable objectTable, ILogger logger) : TaskExecutor(), IConditionChangeAware, ITaskExecutor + { + private enum ETaxiPhase + { + None, + Unmounting, + Interacting, + Riding + } + + private ETaxiPhase _phase; + + private Vector3 _startPosition; + + private long _interactingStartedAt; + + private bool _wasRiding; + + protected override bool Start() + { + _phase = ETaxiPhase.None; + _wasRiding = false; + _startPosition = objectTable.LocalPlayer?.Position ?? Vector3.Zero; + interactionUiController.SmartNavTaxiDestPlaceName = base.Task.DestPlaceName; + IGameObject gameObject = gameFunctions.FindObjectByDataId(base.Task.NpcDataId); + if (gameObject == null) + { + logger.LogDebug("TaxiInteract: NPC with DataId {DataId} not found yet, waiting", base.Task.NpcDataId); + return true; + } + if (condition[ConditionFlag.Mounted]) + { + logger.LogDebug("TaxiInteract: Unmounting before taxi interaction"); + gameFunctions.Unmount(); + _phase = ETaxiPhase.Unmounting; + return true; + } + if (gameFunctions.InteractWith(gameObject)) + { + logger.LogDebug("TaxiInteract: Interacting with NPC {DataId} for taxi to {Dest}", base.Task.NpcDataId, base.Task.DestPlaceName); + _phase = ETaxiPhase.Interacting; + _interactingStartedAt = Environment.TickCount64; + } + return true; + } + + public override ETaskResult Update() + { + switch (_phase) + { + case ETaxiPhase.Unmounting: + { + if (condition[ConditionFlag.Mounted]) + { + return ETaskResult.StillRunning; + } + IGameObject gameObject2 = gameFunctions.FindObjectByDataId(base.Task.NpcDataId); + if (gameObject2 == null) + { + logger.LogDebug("TaxiInteract: NPC not found after unmount, waiting"); + _phase = ETaxiPhase.None; + return ETaskResult.StillRunning; + } + if (gameFunctions.InteractWith(gameObject2)) + { + logger.LogDebug("TaxiInteract: Interacting with NPC {DataId} after unmount", base.Task.NpcDataId); + _phase = ETaxiPhase.Interacting; + _interactingStartedAt = Environment.TickCount64; + } + return ETaskResult.StillRunning; + } + case ETaxiPhase.Interacting: + if (condition[ConditionFlag.Mounted] && (condition[ConditionFlag.Occupied] || condition[ConditionFlag.OccupiedInEvent])) + { + logger.LogDebug("TaxiInteract: Taxi ride started"); + _wasRiding = true; + _phase = ETaxiPhase.Riding; + return ETaskResult.StillRunning; + } + if (Environment.TickCount64 - _interactingStartedAt > 30000) + { + logger.LogWarning("TaxiInteract: Timed out waiting for taxi ride to start, retrying step"); + ClearContext(); + return ETaskResult.RetryStep; + } + return ETaskResult.StillRunning; + case ETaxiPhase.Riding: + if (clientState.TerritoryType != base.Task.SourceTerritoryId) + { + logger.LogDebug("TaxiInteract: Territory changed to {Territory}, taxi ride complete", clientState.TerritoryType); + ClearContext(); + return ETaskResult.TaskComplete; + } + if ((!condition[ConditionFlag.Mounted] || (!condition[ConditionFlag.Occupied] && !condition[ConditionFlag.OccupiedInEvent])) && _wasRiding) + { + logger.LogDebug("TaxiInteract: Taxi ride ended (dismounted)"); + ClearContext(); + return ETaskResult.TaskComplete; + } + return ETaskResult.StillRunning; + case ETaxiPhase.None: + { + IGameObject gameObject = gameFunctions.FindObjectByDataId(base.Task.NpcDataId); + if (gameObject == null) + { + return ETaskResult.StillRunning; + } + _startPosition = objectTable.LocalPlayer?.Position ?? _startPosition; + if (condition[ConditionFlag.Mounted]) + { + gameFunctions.Unmount(); + _phase = ETaxiPhase.Unmounting; + return ETaskResult.StillRunning; + } + if (gameFunctions.InteractWith(gameObject)) + { + logger.LogDebug("TaxiInteract: Interacting with NPC {DataId}", base.Task.NpcDataId); + _phase = ETaxiPhase.Interacting; + _interactingStartedAt = Environment.TickCount64; + } + return ETaskResult.StillRunning; + } + default: + return ETaskResult.StillRunning; + } + } + + public void OnConditionChange(ConditionFlag flag, bool value) + { + bool flag2 = _phase == ETaxiPhase.Interacting; + if (flag2) + { + bool flag3 = (uint)(flag - 31) <= 1u; + flag2 = flag3; + } + if (flag2 && value) + { + logger.LogDebug("TaxiInteract: Interaction confirmed via condition flag"); + } + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + + private void ClearContext() + { + interactionUiController.SmartNavTaxiDestPlaceName = null; + } + } +} diff --git a/Questionable/Questionable.Controller.Steps.Shared/TicketTeleport.cs b/Questionable/Questionable.Controller.Steps.Shared/TicketTeleport.cs new file mode 100644 index 0000000..ed5591f --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Shared/TicketTeleport.cs @@ -0,0 +1,44 @@ +using System.Collections.Generic; +using Dalamud.Plugin.Services; +using Microsoft.Extensions.Logging; +using Questionable.Controller.Steps.Interactions; +using Questionable.Functions; +using Questionable.Model.Questing; + +namespace Questionable.Controller.Steps.Shared; + +internal static class TicketTeleport +{ + internal sealed record Task(uint ItemId, ushort DestTerritoryId) : UseItem.IUseItemBase, ITask + { + public ElementId? QuestId => null; + + public IList CompletionQuestVariablesFlags => new List(); + + public bool StartingCombat => false; + + public bool ShouldRedoOnInterrupt() + { + return true; + } + + public override string ToString() + { + return $"TicketTeleport({ItemId} -> territory {DestTerritoryId})"; + } + } + + internal sealed class UseTicketExecutor : UseItem.UseItemExecutorBase + { + public UseTicketExecutor(GameFunctions gameFunctions, QuestFunctions questFunctions, ICondition condition, ILogger logger) + { + _003CgameFunctions_003EP = gameFunctions; + base._002Ector(questFunctions, condition, (ILogger)logger); + } + + protected override bool UseItem() + { + return _003CgameFunctions_003EP.UseItem(base.ItemId); + } + } +} diff --git a/Questionable/Questionable.Controller.Steps.Shared/WaitAtEnd.cs b/Questionable/Questionable.Controller.Steps.Shared/WaitAtEnd.cs index 977f25a..907b4d6 100644 --- a/Questionable/Questionable.Controller.Steps.Shared/WaitAtEnd.cs +++ b/Questionable/Questionable.Controller.Steps.Shared/WaitAtEnd.cs @@ -17,7 +17,7 @@ namespace Questionable.Controller.Steps.Shared; internal static class WaitAtEnd { - internal sealed class Factory(IClientState clientState, IObjectTable objectTable, ICondition condition, TerritoryData territoryData, AutoDutyIpc autoDutyIpc, BossModIpc bossModIpc) : ITaskFactory + internal sealed class Factory(IClientState clientState, IObjectTable objectTable, ICondition condition, TerritoryData territoryData, AutoDutyIpc autoDutyIpc, AutoHookIpc autoHookIpc, BossModIpc bossModIpc) : ITaskFactory { public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) { @@ -32,7 +32,7 @@ internal static class WaitAtEnd Next(quest, sequence) }); } - ITask task; + ITask task2; switch (step.InteractionType) { case EInteractionType.Combat: @@ -41,11 +41,11 @@ internal static class WaitAtEnd { return new global::_003C_003Ez__ReadOnlySingleElementList(Next(quest, sequence)); } - WaitCondition.Task task2 = new WaitCondition.Task(() => !condition[ConditionFlag.InCombat], "Wait(not in combat)"); + WaitCondition.Task task = new WaitCondition.Task(() => !condition[ConditionFlag.InCombat], "Wait(not in combat)"); return new global::_003C_003Ez__ReadOnlyArray(new ITask[4] { new WaitDelay(), - task2, + task, new WaitDelay(), Next(quest, sequence) }); @@ -54,19 +54,26 @@ internal static class WaitAtEnd case EInteractionType.Snipe: case EInteractionType.Instruction: case EInteractionType.FateAction: + case EInteractionType.CriticalEncounter: return new global::_003C_003Ez__ReadOnlySingleElementList(new WaitNextStepOrSequence()); case EInteractionType.Duty: if (autoDutyIpc.IsConfiguredToRunContent(step.DutyOptions)) { break; } - goto IL_01a1; + goto IL_01bf; case EInteractionType.SinglePlayerDuty: if (bossModIpc.IsConfiguredToRunSoloInstance(quest.Id, step.SinglePlayerDutyOptions)) { break; } - goto IL_01a1; + goto IL_01bf; + case EInteractionType.Fish: + if (autoHookIpc.IsAvailable()) + { + break; + } + goto IL_01bf; case EInteractionType.WalkTo: case EInteractionType.Jump: return new global::_003C_003Ez__ReadOnlySingleElementList(Next(quest, sequence)); @@ -84,13 +91,13 @@ internal static class WaitAtEnd { break; } - goto IL_0288; + goto IL_02a6; case EInteractionType.UseItem: if (!step.TargetTerritoryId.HasValue) { break; } - goto IL_0288; + goto IL_02a6; case EInteractionType.AcceptQuest: { WaitQuestAccepted waitQuestAccepted = new WaitQuestAccepted(step.PickUpQuestId ?? quest.Id); @@ -121,25 +128,25 @@ internal static class WaitAtEnd } return new global::_003C_003Ez__ReadOnlyArray(new ITask[2] { waitQuestCompleted, waitDelay2 }); } - IL_01a1: + IL_01bf: return new global::_003C_003Ez__ReadOnlySingleElementList(new EndAutomation()); - IL_0288: + IL_02a6: if (step.TerritoryId != step.TargetTerritoryId) { - task = new WaitCondition.Task(() => clientState.TerritoryType == step.TargetTerritoryId, "Wait(tp to territory: " + territoryData.GetNameAndId(step.TargetTerritoryId.Value) + ")"); + task2 = new WaitCondition.Task(() => clientState.TerritoryType == step.TargetTerritoryId, "Wait(tp to territory: " + territoryData.GetNameAndId(step.TargetTerritoryId.Value) + ")"); } else { - Vector3 lastPosition = step.Position ?? objectTable[0]?.Position ?? Vector3.Zero; - task = new WaitCondition.Task(delegate + Vector3 lastPosition = step.Position ?? objectTable.LocalPlayer?.Position ?? Vector3.Zero; + task2 = new WaitCondition.Task(delegate { - Vector3? vector = objectTable[0]?.Position; + Vector3? vector = objectTable.LocalPlayer?.Position; return vector.HasValue && (lastPosition - vector.Value).Length() > 2f; }, "Wait(tp away from " + lastPosition.ToString("G", CultureInfo.InvariantCulture) + ")"); } return new global::_003C_003Ez__ReadOnlyArray(new ITask[3] { - task, + task2, new WaitDelay(), Next(quest, sequence) }); @@ -309,7 +316,7 @@ internal static class WaitAtEnd } } - internal sealed class WaitQuestAcceptedExecutor(QuestFunctions questFunctions) : TaskExecutor() + internal sealed class WaitQuestAcceptedExecutor(QuestFunctions questFunctions, QuestController questController) : TaskExecutor() { protected override bool Start() { @@ -322,6 +329,7 @@ internal static class WaitAtEnd { return ETaskResult.StillRunning; } + questController.OnQuestAccepted(base.Task.ElementId); return ETaskResult.TaskComplete; } diff --git a/Questionable/Questionable.Controller.Steps.Shared/WarpInteract.cs b/Questionable/Questionable.Controller.Steps.Shared/WarpInteract.cs new file mode 100644 index 0000000..f4cbbbe --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Shared/WarpInteract.cs @@ -0,0 +1,207 @@ +using System; +using System.Numerics; +using Dalamud.Game.ClientState.Conditions; +using Dalamud.Game.ClientState.Objects.SubKinds; +using Dalamud.Game.ClientState.Objects.Types; +using Dalamud.Plugin.Services; +using Microsoft.Extensions.Logging; +using Questionable.Controller.GameUi; +using Questionable.Functions; +using SmartNav; + +namespace Questionable.Controller.Steps.Shared; + +internal static class WarpInteract +{ + internal sealed record Task(uint NpcDataId, uint WarpRowId, ushort SourceTerritoryId, ushort DestTerritoryId) : ITask + { + public bool ShouldRedoOnInterrupt() + { + return true; + } + + public override string ToString() + { + return $"WarpInteract({NpcDataId}, warp={WarpRowId}, {SourceTerritoryId}->{DestTerritoryId})"; + } + } + + internal sealed class DoWarpInteract(GameFunctions gameFunctions, InteractionUiController interactionUiController, ICondition condition, IClientState clientState, IObjectTable objectTable, WarpFailureTracker warpFailureTracker, ILogger logger) : TaskExecutor(), IConditionChangeAware, ITaskExecutor, IStoppableTaskExecutor + { + private enum EWarpPhase + { + None, + Unmounting, + Interacting, + WaitingForSettle + } + + private EWarpPhase _phase; + + private Vector3 _startPosition; + + private long _interactingStartedAt; + + private long _settleAt; + + private bool _abortToReroute; + + protected override bool Start() + { + _phase = EWarpPhase.None; + _abortToReroute = false; + _startPosition = objectTable.LocalPlayer?.Position ?? Vector3.Zero; + warpFailureTracker.RecordAttempt(base.Task.WarpRowId); + if (warpFailureTracker.IsBlacklisted(base.Task.WarpRowId)) + { + logger.LogWarning("WarpInteract: warp {WarpRowId} blacklisted after repeated failures, retrying step to re-route", base.Task.WarpRowId); + _abortToReroute = true; + return true; + } + interactionUiController.SmartNavWarpRowId = base.Task.WarpRowId; + interactionUiController.SmartNavDestTerritoryId = base.Task.DestTerritoryId; + IGameObject gameObject = gameFunctions.FindObjectByDataId(base.Task.NpcDataId); + if (gameObject == null) + { + logger.LogDebug("WarpInteract: NPC with DataId {DataId} not found yet, waiting", base.Task.NpcDataId); + return true; + } + if (condition[ConditionFlag.Mounted]) + { + logger.LogDebug("WarpInteract: Unmounting before warp interaction"); + gameFunctions.Unmount(); + _phase = EWarpPhase.Unmounting; + return true; + } + if (gameFunctions.InteractWith(gameObject)) + { + logger.LogDebug("WarpInteract: Interacting with NPC {DataId}", base.Task.NpcDataId); + _phase = EWarpPhase.Interacting; + _interactingStartedAt = Environment.TickCount64; + } + return true; + } + + public override ETaskResult Update() + { + if (_abortToReroute) + { + ClearContext(); + return ETaskResult.RetryStep; + } + switch (_phase) + { + case EWarpPhase.Unmounting: + { + if (condition[ConditionFlag.Mounted]) + { + return ETaskResult.StillRunning; + } + IGameObject gameObject2 = gameFunctions.FindObjectByDataId(base.Task.NpcDataId); + if (gameObject2 == null) + { + logger.LogDebug("WarpInteract: NPC not found after unmount, waiting"); + _phase = EWarpPhase.None; + return ETaskResult.StillRunning; + } + if (gameFunctions.InteractWith(gameObject2)) + { + logger.LogDebug("WarpInteract: Interacting with NPC {DataId} after unmount", base.Task.NpcDataId); + _phase = EWarpPhase.Interacting; + _interactingStartedAt = Environment.TickCount64; + } + return ETaskResult.StillRunning; + } + case EWarpPhase.Interacting: + { + if (clientState.TerritoryType != base.Task.SourceTerritoryId) + { + logger.LogDebug("WarpInteract: Territory changed to {Territory}, warp successful", clientState.TerritoryType); + warpFailureTracker.RecordSuccess(base.Task.WarpRowId); + _phase = EWarpPhase.WaitingForSettle; + _settleAt = Environment.TickCount64 + 500; + return ETaskResult.StillRunning; + } + IPlayerCharacter localPlayer = objectTable.LocalPlayer; + if (localPlayer != null && Vector3.Distance(localPlayer.Position, _startPosition) > 2f) + { + logger.LogDebug("WarpInteract: Position changed significantly, same-zone warp detected"); + warpFailureTracker.RecordSuccess(base.Task.WarpRowId); + _phase = EWarpPhase.WaitingForSettle; + _settleAt = Environment.TickCount64 + 500; + return ETaskResult.StillRunning; + } + if (Environment.TickCount64 - _interactingStartedAt > 30000) + { + logger.LogWarning("WarpInteract: Timed out waiting for warp transition, retrying step"); + ClearContext(); + return ETaskResult.RetryStep; + } + return ETaskResult.StillRunning; + } + case EWarpPhase.WaitingForSettle: + if (Environment.TickCount64 >= _settleAt) + { + logger.LogDebug("WarpInteract: Warp complete"); + ClearContext(); + return ETaskResult.TaskComplete; + } + return ETaskResult.StillRunning; + case EWarpPhase.None: + { + IGameObject gameObject = gameFunctions.FindObjectByDataId(base.Task.NpcDataId); + if (gameObject == null) + { + return ETaskResult.StillRunning; + } + _startPosition = objectTable.LocalPlayer?.Position ?? _startPosition; + if (condition[ConditionFlag.Mounted]) + { + gameFunctions.Unmount(); + _phase = EWarpPhase.Unmounting; + return ETaskResult.StillRunning; + } + if (gameFunctions.InteractWith(gameObject)) + { + logger.LogDebug("WarpInteract: Interacting with NPC {DataId}", base.Task.NpcDataId); + _phase = EWarpPhase.Interacting; + _interactingStartedAt = Environment.TickCount64; + } + return ETaskResult.StillRunning; + } + default: + return ETaskResult.StillRunning; + } + } + + public void OnConditionChange(ConditionFlag flag, bool value) + { + bool flag2 = _phase == EWarpPhase.Interacting; + if (flag2) + { + bool flag3 = (uint)(flag - 31) <= 1u; + flag2 = flag3; + } + if (flag2 && value) + { + logger.LogDebug("WarpInteract: Interaction confirmed via condition flag"); + } + } + + public override bool ShouldInterruptOnDamage() + { + return true; + } + + public void StopNow() + { + ClearContext(); + } + + private void ClearContext() + { + interactionUiController.SmartNavWarpRowId = null; + interactionUiController.SmartNavDestTerritoryId = null; + } + } +} diff --git a/Questionable/Questionable.Controller.Steps/ETaskResult.cs b/Questionable/Questionable.Controller.Steps/ETaskResult.cs index 6f37bfc..a1d9570 100644 --- a/Questionable/Questionable.Controller.Steps/ETaskResult.cs +++ b/Questionable/Questionable.Controller.Steps/ETaskResult.cs @@ -6,6 +6,7 @@ internal enum ETaskResult TaskComplete, SkipRemainingTasksForStep, CreateNewTasks, + RetryStep, NextStep, End } diff --git a/Questionable/Questionable.Controller.Steps/ITaskExecutor.cs b/Questionable/Questionable.Controller.Steps/ITaskExecutor.cs index 7fc43d6..23afa06 100644 --- a/Questionable/Questionable.Controller.Steps/ITaskExecutor.cs +++ b/Questionable/Questionable.Controller.Steps/ITaskExecutor.cs @@ -16,5 +16,7 @@ internal interface ITaskExecutor bool WasInterrupted(); + bool HasTimedOut(float timeoutSeconds); + ETaskResult Update(); } diff --git a/Questionable/Questionable.Controller.Steps/QuestCleanUp.cs b/Questionable/Questionable.Controller.Steps/QuestCleanUp.cs index 82246a2..bb2a9e4 100644 --- a/Questionable/Questionable.Controller.Steps/QuestCleanUp.cs +++ b/Questionable/Questionable.Controller.Steps/QuestCleanUp.cs @@ -4,12 +4,14 @@ using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Component.GUI; using LLib.GameUI; using Microsoft.Extensions.Logging; +using Questionable.Controller.Steps.Common; using Questionable.Controller.Steps.Shared; using Questionable.Data; using Questionable.Functions; using Questionable.Model; -using Questionable.Model.Common; using Questionable.Model.Questing; +using SmartNav.Data; +using SmartNav.Model; namespace Questionable.Controller.Steps; @@ -29,12 +31,12 @@ internal static class QuestCleanUp ushort valueOrDefault = mountId.GetValueOrDefault(); if (alliedSocietyData.Mounts.TryGetValue(valueOrDefault, out AlliedSocietyMountConfiguration mountConfiguration)) { - logger.LogInformation("We are on a known allied society mount with id = {MountId}", valueOrDefault); - EAetheryteLocation eAetheryteLocation = step.AetheryteShortcut ?? mountConfiguration.ClosestAetheryte; - AetheryteShortcut.Task result = new AetheryteShortcut.Task(null, quest.Id, eAetheryteLocation, aetheryteData.TerritoryIds[eAetheryteLocation]); + logger.LogDebug("We are on a known allied society mount with id = {MountId}", valueOrDefault); + EAetheryteLocation closestAetheryte = mountConfiguration.ClosestAetheryte; + AetheryteTeleport.Task result = new AetheryteTeleport.Task(closestAetheryte, aetheryteData.TerritoryIds[closestAetheryte]); if (sequence.Sequence == byte.MaxValue) { - logger.LogInformation("Mount can't be used to finish quest, teleporting to {Aetheryte}", mountConfiguration.ClosestAetheryte); + logger.LogDebug("Mount can't be used to finish quest, teleporting to {Aetheryte}", mountConfiguration.ClosestAetheryte); return result; } if (!quest.AllSteps().Any<(QuestSequence, int, QuestStep)>(delegate((QuestSequence Sequence, int StepId, QuestStep Step) x) @@ -51,14 +53,14 @@ internal static class QuestCleanUp return x.Step.InteractionType == EInteractionType.Combat && x.Step.KillEnemyDataIds.Contains(8593u); })) { - logger.LogInformation("Quest doesn't use any mount actions, teleporting to {Aetheryte}", mountConfiguration.ClosestAetheryte); - return result; + logger.LogDebug("Quest doesn't use any mount actions, unmounting"); + return new Mount.UnmountTask(); } if (!(from x in quest.AllSequences() where x.Sequence > 0 && x.Sequence < sequence.Sequence select x).SelectMany((QuestSequence x) => x.Steps).ToList().Any((QuestStep x) => x.DataId.HasValue && mountConfiguration.IssuerDataIds.Contains(x.DataId.Value))) { - logger.LogInformation("Haven't talked to mount NPC for this allied society quest; {Aetheryte}", mountConfiguration.ClosestAetheryte); + logger.LogDebug("Haven't talked to mount NPC for this allied society quest; {Aetheryte}", mountConfiguration.ClosestAetheryte); return result; } } diff --git a/Questionable/Questionable.Controller.Steps/TaskCreator.cs b/Questionable/Questionable.Controller.Steps/TaskCreator.cs index ff753d4..42a9a44 100644 --- a/Questionable/Questionable.Controller.Steps/TaskCreator.cs +++ b/Questionable/Questionable.Controller.Steps/TaskCreator.cs @@ -6,6 +6,7 @@ using Dalamud.Plugin.Services; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Questionable.Controller.Steps.Interactions; +using Questionable.Controller.Steps.Movement; using Questionable.Controller.Steps.Shared; using Questionable.Data; using Questionable.Model; @@ -34,7 +35,7 @@ internal sealed class TaskCreator _logger = logger; } - public IReadOnlyList CreateTasks(Quest quest, byte sequenceNumber, QuestSequence? sequence, QuestStep? step) + public IReadOnlyList CreateTasks(Quest quest, byte sequenceNumber, QuestSequence? sequence, QuestStep? step, bool isSimulation = false) { List list2; if (sequence == null) @@ -71,22 +72,38 @@ internal sealed class TaskCreator } return list4; }).ToList(); + if (isSimulation && step != null) + { + uint? dataId = step.DataId; + if (dataId.HasValue) + { + uint valueOrDefault = dataId.GetValueOrDefault(); + if (step.Position.HasValue) + { + int num2 = list2.FindLastIndex((ITask x) => (x is MoveTask || x is LandTask) ? true : false); + if (num2 >= 0) + { + list2.Insert(num2 + 1, new SkipMissingObject.Task(valueOrDefault, quest.Id, sequence.Sequence)); + } + } + } + } SinglePlayerDuty.StartSinglePlayerDuty startSinglePlayerDuty = list2.Where((ITask y) => y is SinglePlayerDuty.StartSinglePlayerDuty).Cast().FirstOrDefault(); if (startSinglePlayerDuty != null && _territoryData.TryGetContentFinderCondition(startSinglePlayerDuty.ContentFinderConditionId, out TerritoryData.ContentFinderConditionData contentFinderConditionData) && _clientState.TerritoryType == contentFinderConditionData.TerritoryId) { - int num2 = list2.IndexOf(startSinglePlayerDuty); - _logger.LogWarning("Skipping {SkippedTaskCount} out of {TotalCount} tasks, questionable was started while in single player duty", num2 + 1, list2.Count); - list2.RemoveRange(0, num2 + 1); - _logger.LogInformation("Next actual task: {NextTask}, total tasks left: {RemainingTaskCount}", list2.FirstOrDefault(), list2.Count); + int num3 = list2.IndexOf(startSinglePlayerDuty); + _logger.LogWarning("Skipping {SkippedTaskCount} out of {TotalCount} tasks, questionable was started while in single player duty", num3 + 1, list2.Count); + list2.RemoveRange(0, num3 + 1); + _logger.LogDebug("Next actual task: {NextTask}, total tasks left: {RemainingTaskCount}", list2.FirstOrDefault(), list2.Count); } } if (list2.Count == 0) { - _logger.LogInformation("Nothing to execute for step?"); + _logger.LogDebug("Nothing to execute for step?"); } else { - _logger.LogInformation("Tasks for {QuestId}, {Sequence}, {Step}: {Tasks}", quest.Id, sequenceNumber, (step == null) ? ((int?)null) : sequence?.Steps.IndexOf(step), string.Join(", ", list2.Select((ITask x) => x.ToString()))); + _logger.LogDebug("Tasks for {QuestId}, {Sequence}, {Step}: {Tasks}", quest.Id, sequenceNumber, (step == null) ? ((int?)null) : sequence?.Steps.IndexOf(step), string.Join(", ", list2.Select((ITask x) => x.ToString()))); } return list2; } diff --git a/Questionable/Questionable.Controller.Steps/TaskExecutor.cs b/Questionable/Questionable.Controller.Steps/TaskExecutor.cs index ab27e90..2f87093 100644 --- a/Questionable/Questionable.Controller.Steps/TaskExecutor.cs +++ b/Questionable/Questionable.Controller.Steps/TaskExecutor.cs @@ -4,6 +4,8 @@ namespace Questionable.Controller.Steps; internal abstract class TaskExecutor : ITaskExecutor where T : class, ITask { + private long _lastProgressAt; + protected T Task { get; set; } public InteractionProgressContext? ProgressContext { get; set; } @@ -21,6 +23,20 @@ internal abstract class TaskExecutor : ITaskExecutor where T : class, ITask return false; } + public virtual bool HasTimedOut(float timeoutSeconds) + { + if (ProgressContext == null) + { + return false; + } + return Environment.TickCount64 - _lastProgressAt > (long)(timeoutSeconds * 1000f); + } + + protected void ResetProgressTimer() + { + _lastProgressAt = Environment.TickCount64; + } + public Type GetTaskType() { return typeof(T); @@ -34,6 +50,7 @@ internal abstract class TaskExecutor : ITaskExecutor where T : class, ITask { Task = task2; ProgressContext = null; + _lastProgressAt = Environment.TickCount64; return Start(); } throw new TaskException($"Unable to cast {task.GetType()} to {typeof(T)}"); diff --git a/Questionable/Questionable.Controller.Steps/TaskQueue.cs b/Questionable/Questionable.Controller.Steps/TaskQueue.cs index 5b3a225..1d4f566 100644 --- a/Questionable/Questionable.Controller.Steps/TaskQueue.cs +++ b/Questionable/Questionable.Controller.Steps/TaskQueue.cs @@ -1,6 +1,7 @@ using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; +using Questionable.Controller.Steps.Interactions; namespace Questionable.Controller.Steps; @@ -10,6 +11,8 @@ internal sealed class TaskQueue private readonly List _tasks = new List(); + private int _levelingTaskCount; + public ITaskExecutor? CurrentTaskExecutor { get; set; } public IEnumerable RemainingTasks => _tasks; @@ -26,14 +29,21 @@ internal sealed class TaskQueue } } + public bool HasLevelingTasks => _levelingTaskCount > 0; + public void Enqueue(ITask task) { _tasks.Add(task); + if (IsLevelingTask(task)) + { + _levelingTaskCount++; + } } public void EnqueueAll(IEnumerable tasks) { _tasks.InsertRange(0, tasks); + _levelingTaskCount = _tasks.Count(IsLevelingTask); } public bool TryDequeue([NotNullWhen(true)] out ITask? task) @@ -48,6 +58,10 @@ internal sealed class TaskQueue _completedTasks.Add(task); } _tasks.RemoveAt(0); + if (IsLevelingTask(task)) + { + _levelingTaskCount--; + } return true; } @@ -62,6 +76,7 @@ internal sealed class TaskQueue _tasks.Clear(); _completedTasks.Clear(); CurrentTaskExecutor = null; + _levelingTaskCount = 0; } public void InterruptWith(List interruptionTasks) @@ -74,5 +89,15 @@ internal sealed class TaskQueue List source = list; Reset(); _tasks.AddRange(source.Where((ITask x) => x != null).Cast()); + _levelingTaskCount = _tasks.Count(IsLevelingTask); + } + + private static bool IsLevelingTask(ITask task) + { + if (task is Duty.StartLevelingModeTask || task is Duty.WaitLevelingModeTask) + { + return true; + } + return false; } } diff --git a/Questionable/Questionable.Controller.Utils/ExpiryUtils.cs b/Questionable/Questionable.Controller.Utils/ExpiryUtils.cs new file mode 100644 index 0000000..8addf72 --- /dev/null +++ b/Questionable/Questionable.Controller.Utils/ExpiryUtils.cs @@ -0,0 +1,46 @@ +using System; + +namespace Questionable.Controller.Utils; + +internal static class ExpiryUtils +{ + private static readonly TimeOnly ResetTime = new TimeOnly(14, 59, 59); + + private static readonly TimeSpan EndOfDaySentinel = new TimeSpan(23, 59, 59); + + public static DateTime AtDailyReset(DateOnly date) + { + return new DateTime(date, ResetTime, DateTimeKind.Utc); + } + + public static DateTime NormalizeExpiry(DateTime expiry) + { + TimeSpan timeOfDay = expiry.TimeOfDay; + if (timeOfDay == TimeSpan.Zero || timeOfDay == EndOfDaySentinel) + { + return AtDailyReset(DateOnly.FromDateTime(expiry)); + } + if (expiry.Kind != DateTimeKind.Utc) + { + return expiry.ToUniversalTime(); + } + return expiry; + } + + public static string FormatTimeSpan(TimeSpan timeSpan) + { + if (timeSpan.TotalMinutes < 1.0) + { + return "< 1m"; + } + if (!(timeSpan.TotalHours < 1.0)) + { + if (!(timeSpan.TotalDays < 1.0)) + { + return $"{(int)timeSpan.TotalDays}d {timeSpan.Hours}h"; + } + return $"{timeSpan.Hours}h {timeSpan.Minutes}m"; + } + return $"{timeSpan.Minutes}m"; + } +} diff --git a/Questionable/Questionable.Controller.Utils/PartyWatchDog.cs b/Questionable/Questionable.Controller.Utils/PartyWatchDog.cs index 5c857b4..5c9d6d9 100644 --- a/Questionable/Questionable.Controller.Utils/PartyWatchDog.cs +++ b/Questionable/Questionable.Controller.Utils/PartyWatchDog.cs @@ -23,7 +23,7 @@ internal sealed class PartyWatchdog : IDisposable private readonly ILogger _logger; - private uint? _uncheckedTeritoryId; + private uint? _uncheckedTerritoryId; public PartyWatchdog(QuestController questController, Configuration configuration, TerritoryData territoryData, IClientState clientState, IChatGui chatGui, ILogger logger) { @@ -42,26 +42,26 @@ internal sealed class PartyWatchdog : IDisposable { switch ((ETerritoryIntendedUse)GameMain.Instance()->CurrentTerritoryIntendedUseId) { - case ETerritoryIntendedUse.Gaol: + case ETerritoryIntendedUse.MordionGaol: case ETerritoryIntendedUse.Frontline: case ETerritoryIntendedUse.LordOfVerminion: - case ETerritoryIntendedUse.Diadem: + case ETerritoryIntendedUse.ExploratoryMissions: case ETerritoryIntendedUse.CrystallineConflict: case ETerritoryIntendedUse.DeepDungeon: - case ETerritoryIntendedUse.TreasureMapDuty: - case ETerritoryIntendedUse.Battlehall: - case ETerritoryIntendedUse.CrystallineConflict2: - case ETerritoryIntendedUse.Diadem2: + case ETerritoryIntendedUse.TreasureMapInstance: + case ETerritoryIntendedUse.TripleTriadBattlehall: + case ETerritoryIntendedUse.CrystallineConflictCustomMatch: + case ETerritoryIntendedUse.DiademHuntingGrounds: case ETerritoryIntendedUse.RivalWings: case ETerritoryIntendedUse.Eureka: case ETerritoryIntendedUse.LeapOfFaith: case ETerritoryIntendedUse.OceanFishing: - case ETerritoryIntendedUse.Diadem3: + case ETerritoryIntendedUse.Diadem: case ETerritoryIntendedUse.Bozja: - case ETerritoryIntendedUse.Battlehall2: - case ETerritoryIntendedUse.Battlehall3: - case ETerritoryIntendedUse.LargeScaleRaid: - case ETerritoryIntendedUse.LargeScaleSavageRaid: + case ETerritoryIntendedUse.TripleTriadOpenTournament: + case ETerritoryIntendedUse.TripleTriadInvitationalParlor: + case ETerritoryIntendedUse.DelubrumReginae: + case ETerritoryIntendedUse.DelubrumReginaeSavage: case ETerritoryIntendedUse.Blunderville: StopIfRunning($"Unsupported Area entered ({newTerritoryId})"); break; @@ -69,41 +69,41 @@ internal sealed class PartyWatchdog : IDisposable case ETerritoryIntendedUse.VariantDungeon: case ETerritoryIntendedUse.AllianceRaid: case ETerritoryIntendedUse.Trial: - case ETerritoryIntendedUse.Raid: + case ETerritoryIntendedUse.Raid1: case ETerritoryIntendedUse.Raid2: - case ETerritoryIntendedUse.SeasonalEvent: - case ETerritoryIntendedUse.SeasonalEvent2: - case ETerritoryIntendedUse.CriterionDuty: - case ETerritoryIntendedUse.CriterionSavageDuty: - _uncheckedTeritoryId = newTerritoryId; - _logger.LogInformation("Will check territory {TerritoryId} after loading", newTerritoryId); + case ETerritoryIntendedUse.Seasonal: + case ETerritoryIntendedUse.TheCalamityRetold: + case ETerritoryIntendedUse.CriterionDungeon: + case ETerritoryIntendedUse.CriterionDungeonSavage: + _uncheckedTerritoryId = newTerritoryId; + _logger.LogDebug("Will check territory {TerritoryId} after loading", newTerritoryId); break; - case ETerritoryIntendedUse.StartingArea: - case ETerritoryIntendedUse.QuestArea: - case ETerritoryIntendedUse.QuestBattle: - case (ETerritoryIntendedUse)11: - case ETerritoryIntendedUse.QuestArea2: - case ETerritoryIntendedUse.ResidentialArea: - case ETerritoryIntendedUse.HousingInstances: - case ETerritoryIntendedUse.QuestArea3: - case (ETerritoryIntendedUse)19: - case ETerritoryIntendedUse.ChocoboSquare: - case ETerritoryIntendedUse.RestorationEvent: - case ETerritoryIntendedUse.Sanctum: + case ETerritoryIntendedUse.OpeningArea: + case ETerritoryIntendedUse.BeforeTrialDung: + case ETerritoryIntendedUse.PreEwOverworldQuestBattle: + case ETerritoryIntendedUse.Unknown11: + case ETerritoryIntendedUse.WaitingRoom: + case ETerritoryIntendedUse.HousingOutdoor: + case ETerritoryIntendedUse.HousingIndoor: + case ETerritoryIntendedUse.SoloOverworldInstances: + case ETerritoryIntendedUse.ChocoboSquareOld: + case ETerritoryIntendedUse.ChocoboRacing: + case ETerritoryIntendedUse.Firmament: + case ETerritoryIntendedUse.SanctumOfTheTwelve: case ETerritoryIntendedUse.GoldSaucer: - case (ETerritoryIntendedUse)24: + case ETerritoryIntendedUse.OriginalStepsOfFaith: case ETerritoryIntendedUse.HallOfTheNovice: - case ETerritoryIntendedUse.QuestBattle2: - case ETerritoryIntendedUse.Barracks: - case ETerritoryIntendedUse.SeasonalEventDuty: - case (ETerritoryIntendedUse)36: - case ETerritoryIntendedUse.Unknown1: - case (ETerritoryIntendedUse)42: - case ETerritoryIntendedUse.MaskedCarnivale: + case ETerritoryIntendedUse.SoloDuty: + case ETerritoryIntendedUse.GrandCompanyBarracks: + case ETerritoryIntendedUse.SeasonalInstancedArea: + case ETerritoryIntendedUse.ChaoticRaid: + case ETerritoryIntendedUse.Unknown40: + case ETerritoryIntendedUse.Unknown42: + case ETerritoryIntendedUse.MaskedCarnival: case ETerritoryIntendedUse.IslandSanctuary: - case ETerritoryIntendedUse.QuestArea4: - case (ETerritoryIntendedUse)55: - case ETerritoryIntendedUse.TribalInstance: + case ETerritoryIntendedUse.EndwalkerMsqSoloOverworld: + case ETerritoryIntendedUse.Unknown55: + case ETerritoryIntendedUse.Elysion: break; } } @@ -111,7 +111,7 @@ internal sealed class PartyWatchdog : IDisposable public unsafe void Update() { - if (_configuration.Advanced.DisablePartyWatchdog || _uncheckedTeritoryId != _clientState.TerritoryType || GameMain.Instance()->TerritoryLoadState != 2) + if (_configuration.Advanced.DisablePartyWatchdog || _uncheckedTerritoryId != _clientState.TerritoryType || GameMain.Instance()->TerritoryLoadState != 2) { return; } @@ -122,19 +122,19 @@ internal sealed class PartyWatchdog : IDisposable } byte memberCount = ptr->MainGroup.MemberCount; bool isAlliance = ptr->MainGroup.IsAlliance; - _logger.LogDebug("Territory {TerritoryId} with {MemberCount} members, alliance: {IsInAlliance}", _uncheckedTeritoryId, memberCount, isAlliance); + _logger.LogDebug("Territory {TerritoryId} with {MemberCount} members, alliance: {IsInAlliance}", _uncheckedTerritoryId, memberCount, isAlliance); if (memberCount > 1 || isAlliance) { - if (!IsDutyConfiguredForParty(_uncheckedTeritoryId.Value)) + if (!IsDutyConfiguredForParty(_uncheckedTerritoryId.Value)) { StopIfRunning("Other party members present"); } else { - _logger.LogInformation("Party detected but duty is configured for Unsync (Party) mode, continuing"); + _logger.LogDebug("Party detected but duty is configured for Unsync (Party) mode, continuing"); } } - _uncheckedTeritoryId = null; + _uncheckedTerritoryId = null; } private bool IsDutyConfiguredForParty(uint territoryId) diff --git a/Questionable/Questionable.Controller.Utils/QuestWorkUtils.cs b/Questionable/Questionable.Controller.Utils/QuestWorkUtils.cs index 3d1cac9..5cba313 100644 --- a/Questionable/Questionable.Controller.Utils/QuestWorkUtils.cs +++ b/Questionable/Questionable.Controller.Utils/QuestWorkUtils.cs @@ -9,11 +9,13 @@ namespace Questionable.Controller.Utils; internal static class QuestWorkUtils { + private const int QuestVariableCount = 6; + public static bool HasCompletionFlags(IList completionQuestVariablesFlags) { if (completionQuestVariablesFlags.Count == 6) { - return completionQuestVariablesFlags.Any((QuestWorkValue x) => x != null && (x.High != 0 || x.Low != 0)); + return completionQuestVariablesFlags.Any((QuestWorkValue x) => x != null && (x.High.HasValue || x.Low.HasValue)); } return false; } @@ -34,28 +36,24 @@ internal static class QuestWorkUtils EQuestWorkMode mode = questWorkValue.Mode; byte b = (byte)(questProgressInfo.Variables[i] >> 4); byte b2 = (byte)(questProgressInfo.Variables[i] & 0xF); - byte? high = questWorkValue.High; - byte? low = questWorkValue.Low; - byte valueOrDefault = high.GetValueOrDefault(); - byte valueOrDefault2 = low.GetValueOrDefault(); switch (mode) { case EQuestWorkMode.Exact: - if (high.HasValue && b != valueOrDefault) + if (questWorkValue.High.HasValue && b != questWorkValue.High.Value) { return false; } - if (low.HasValue && b2 != valueOrDefault2) + if (questWorkValue.Low.HasValue && b2 != questWorkValue.Low.Value) { return false; } break; case EQuestWorkMode.Bitwise: - if (high.HasValue && (b & high) != valueOrDefault) + if (questWorkValue.High.HasValue && (b & questWorkValue.High.Value) != questWorkValue.High.Value) { return false; } - if (low.HasValue && (b2 & low) != valueOrDefault2) + if (questWorkValue.Low.HasValue && (b2 & questWorkValue.Low.Value) != questWorkValue.Low.Value) { return false; } @@ -92,7 +90,7 @@ internal static class QuestWorkUtils } } } - logger.LogInformation("Should execute step"); + logger.LogDebug("Required quest variables not matched"); return false; } } diff --git a/Questionable/Questionable.Controller/AttunementController.cs b/Questionable/Questionable.Controller/AttunementController.cs new file mode 100644 index 0000000..3f926e9 --- /dev/null +++ b/Questionable/Questionable.Controller/AttunementController.cs @@ -0,0 +1,68 @@ +using System; +using System.Collections.Generic; +using Dalamud.Plugin.Services; +using Microsoft.Extensions.Logging; +using Questionable.Controller.Steps; +using Questionable.Functions; + +namespace Questionable.Controller; + +internal sealed class AttunementController : MiniTaskController +{ + private readonly MovementController _movementController; + + private readonly GameFunctions _gameFunctions; + + private string? _currentTargetName; + + public bool IsRunning => _currentTargetName != null; + + public string? CurrentTargetName => _currentTargetName; + + public bool CompletedSuccessfully { get; private set; } + + public AttunementController(IChatGui chatGui, ICondition condition, IServiceProvider serviceProvider, InterruptHandler interruptHandler, IDataManager dataManager, Configuration configuration, ILogger logger, MovementController movementController, GameFunctions gameFunctions) + : base(chatGui, condition, serviceProvider, interruptHandler, dataManager, configuration, logger) + { + _movementController = movementController; + _gameFunctions = gameFunctions; + } + + public void Start(string targetName, IEnumerable tasks) + { + _currentTargetName = targetName; + _logger.LogInformation("Starting attunement: {Target}", targetName); + foreach (ITask task in tasks) + { + _taskQueue.Enqueue(task); + } + } + + public void Update() + { + if (_currentTargetName != null && !_movementController.IsPathfinding && !_movementController.IsPathRunning && !_gameFunctions.IsOccupied()) + { + if (_taskQueue.AllTasksComplete) + { + _logger.LogInformation("Attunement complete: {Target}", _currentTargetName); + Stop("Attunement complete"); + } + else + { + UpdateCurrentTask(); + } + } + } + + public override void Stop(string label) + { + base.Stop(label); + if (_currentTargetName != null) + { + CompletedSuccessfully = _taskQueue.AllTasksComplete; + _logger.LogInformation("Stopping attunement: {Label}", label); + _currentTargetName = null; + _taskQueue.Reset(); + } + } +} diff --git a/Questionable/Questionable.Controller/CombatController.cs b/Questionable/Questionable.Controller/CombatController.cs index 91f3f60..cb6b6f0 100644 --- a/Questionable/Questionable.Controller/CombatController.cs +++ b/Questionable/Questionable.Controller/CombatController.cs @@ -5,17 +5,21 @@ using System.Numerics; using System.Runtime.InteropServices; using Dalamud.Game.ClientState.Conditions; using Dalamud.Game.ClientState.Objects.Enums; +using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Game.ClientState.Objects.Types; +using Dalamud.Game.Text.SeStringHandling; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game; using FFXIVClientStructs.FFXIV.Client.Game.Object; using FFXIVClientStructs.FFXIV.Client.Game.UI; using FFXIVClientStructs.FFXIV.Client.System.Framework; using FFXIVClientStructs.FFXIV.Common.Component.BGCollision; +using Lumina.Excel.Sheets; using Microsoft.Extensions.Logging; using Questionable.Controller.CombatModules; using Questionable.Controller.Steps; using Questionable.Controller.Utils; +using Questionable.External; using Questionable.Functions; using Questionable.Model; using Questionable.Model.Questing; @@ -30,7 +34,7 @@ internal sealed class CombatController : IDisposable public required CombatData Data { get; init; } - public required DateTime LastDistanceCheck { get; set; } + public required long LastDistanceCheck { get; set; } public bool HasAttemptedFateSync { get; set; } @@ -68,16 +72,18 @@ internal sealed class CombatController : IDisposable Complete } - private const float MaxTargetRange = 55f; - private const float MaxNameplateRange = 50f; + private const float MaxSelfDefenseRange = 30f; + private readonly List _combatModules; private readonly MovementController _movementController; private readonly GameFunctions _gameFunctions; + private readonly BossModIpc _bossModIpc; + private readonly ITargetManager _targetManager; private readonly IObjectTable _objectTable; @@ -88,30 +94,56 @@ internal sealed class CombatController : IDisposable private readonly QuestFunctions _questFunctions; + private readonly IToastGui _toastGui; + private readonly ILogger _logger; + private readonly string? _cannotSeeTargetText; + + private readonly Dictionary _losIgnoreList = new Dictionary(); + private CurrentFight? _currentFight; private bool _wasInCombat; + private bool _passiveBossModEnabled; + private ulong? _lastTargetId; private List? _previousQuestVariables; + private ulong _lastLoSFailTargetId; + + private int _losFailCount; + + private long _lastLoSFailTimeMs; + public bool IsRunning => _currentFight != null; - public CombatController(IEnumerable combatModules, MovementController movementController, GameFunctions gameFunctions, ITargetManager targetManager, IObjectTable objectTable, ICondition condition, IClientState clientState, QuestFunctions questFunctions, ILogger logger) + public CombatController(IEnumerable combatModules, MovementController movementController, GameFunctions gameFunctions, BossModIpc bossModIpc, ITargetManager targetManager, IObjectTable objectTable, ICondition condition, IClientState clientState, QuestFunctions questFunctions, IToastGui toastGui, IDataManager dataManager, ILogger logger) { _combatModules = combatModules.ToList(); _movementController = movementController; _gameFunctions = gameFunctions; + _bossModIpc = bossModIpc; _targetManager = targetManager; _objectTable = objectTable; _condition = condition; _clientState = clientState; _questFunctions = questFunctions; + _toastGui = toastGui; _logger = logger; _clientState.TerritoryChanged += TerritoryChanged; + toastGui.ErrorToast += OnErrorToast; + try + { + _cannotSeeTargetText = dataManager.GetExcelSheet()?.GetRowOrDefault(562u)?.Text.ExtractText(); + } + catch (Exception exception) + { + _logger.LogDebug(exception, "Failed to load LoS failure text from game data"); + _cannotSeeTargetText = null; + } } public bool Start(CombatData combatData) @@ -122,21 +154,27 @@ internal sealed class CombatController : IDisposable { return false; } - if (combatModule.Start(combatData)) + if (!combatModule.Start(combatData)) { - _currentFight = new CurrentFight - { - Module = combatModule, - Data = combatData, - LastDistanceCheck = DateTime.Now - }; - EEnemySpawnType spawnType = combatData.SpawnType; - bool wasInCombat = (uint)(spawnType - 8) <= 1u; - _wasInCombat = wasInCombat; - UpdateLastTargetAndQuestVariables(null); - return true; + return false; } - return false; + _currentFight = new CurrentFight + { + Module = combatModule, + Data = combatData, + LastDistanceCheck = Environment.TickCount64 + }; + EEnemySpawnType spawnType = combatData.SpawnType; + bool wasInCombat = (uint)(spawnType - 8) <= 1u; + _wasInCombat = wasInCombat; + UpdateLastTargetAndQuestVariables(null); + _logger.LogDebug("Combat started: Module={Module}, SpawnType={SpawnType}, BossModVariant={Variant}, BossModSupported={Supported}", combatModule.GetType().Name, combatData.SpawnType, _bossModIpc.Variant, _bossModIpc.IsSupported()); + if (!(combatModule is BossModModule) && (!(combatModule is ItemUseModule itemUseModule) || !(itemUseModule.Delegate is BossModModule)) && _bossModIpc.IsSupported() && combatData.SpawnType != EEnemySpawnType.QuestInterruption) + { + _bossModIpc.EnableAi(BossModIpc.EPreset.Passive); + _passiveBossModEnabled = true; + } + return true; } public EStatus Update() @@ -145,7 +183,7 @@ internal sealed class CombatController : IDisposable { return EStatus.Complete; } - if (_movementController.IsPathfinding || _movementController.IsPathRunning || _movementController.MovementStartedAt > DateTime.Now.AddSeconds(-1.0)) + if (_movementController.IsPathfinding || _movementController.IsPathRunning || !_movementController.HasBeenMovingForAtLeast(1000)) { return EStatus.Moving; } @@ -153,7 +191,7 @@ internal sealed class CombatController : IDisposable { if (_targetManager.Target != null) { - _lastTargetId = _targetManager.Target?.GameObjectId; + _lastTargetId = _targetManager.Target.GameObjectId; } else if (_lastTargetId.HasValue) { @@ -196,10 +234,10 @@ internal sealed class CombatController : IDisposable { _currentFight.Module.Update(target); } - catch (TaskException ex) + catch (TaskException) { - _logger.LogWarning(ex, "Combat was interrupted, stopping: {Exception}", ex.Message); - SetTarget(null); + Stop("Combat module failure"); + throw; } } } @@ -247,19 +285,16 @@ internal sealed class CombatController : IDisposable ComplexCombatData complexCombatData = complexCombatDatas[i]; if (complexCombatData.DataId == battleNpc.BaseId && (!complexCombatData.NameId.HasValue || complexCombatData.NameId == battleNpc.NameId) && complexCombatData.MinimumKillCount.HasValue) { - if (!_currentFight.KillCountsByComplexDataIndex.ContainsKey(i)) - { - _currentFight.KillCountsByComplexDataIndex[i] = 0; - } - _currentFight.KillCountsByComplexDataIndex[i]++; - _logger.LogInformation("Tracked kill for ComplexCombatData[{Index}] ({DataId}): {Count}/{Required}", i, complexCombatData.DataId, _currentFight.KillCountsByComplexDataIndex[i], complexCombatData.MinimumKillCount.Value); + int num = (_currentFight.KillCountsByComplexDataIndex[i] = _currentFight.KillCountsByComplexDataIndex.GetValueOrDefault(i) + 1); + int num3 = num; + _logger.LogDebug("Tracked kill for ComplexCombatData[{Index}] ({DataId}): {Count}/{Required}", i, complexCombatData.DataId, num3, complexCombatData.MinimumKillCount.Value); return; } } if (complexCombatDatas.Count == 0 && _currentFight.Data.KillEnemyDataIds.Contains(battleNpc.BaseId)) { _currentFight.TotalKillCount++; - _logger.LogInformation("Tracked kill for KillEnemyDataIds ({DataId}): Total count = {Count}", battleNpc.BaseId, _currentFight.TotalKillCount); + _logger.LogDebug("Tracked kill for KillEnemyDataIds ({DataId}): Total count = {Count}", battleNpc.BaseId, _currentFight.TotalKillCount); } } @@ -306,7 +341,7 @@ internal sealed class CombatController : IDisposable } if (flag3 && flag4) { - _logger.LogInformation("Complex combat condition fulfilled for ComplexCombatData[{Index}] ({DataId}): KillCount={KillCountMet}, Items={ItemMet}", i, complexCombatData.DataId, flag3, flag4); + _logger.LogDebug("Complex combat condition fulfilled for ComplexCombatData[{Index}] ({DataId}): KillCount={KillCountMet}, Items={ItemMet}", i, complexCombatData.DataId, flag3, flag4); _currentFight.Data.CompletedComplexDatas.Add(i); } } @@ -315,29 +350,76 @@ internal sealed class CombatController : IDisposable QuestProgressInfo questProgressInfo = _questFunctions.GetQuestProgressInfo(elementId); if (questProgressInfo != null && QuestWorkUtils.MatchesQuestWork(complexCombatData.CompletionQuestVariablesFlags, questProgressInfo)) { - _logger.LogInformation("Complex combat condition fulfilled for ComplexCombatData[{Index}] ({DataId}): QuestWork (fallback)", i, complexCombatData.DataId); + _logger.LogDebug("Complex combat condition fulfilled for ComplexCombatData[{Index}] ({DataId}): QuestWork (fallback)", i, complexCombatData.DataId); _currentFight.Data.CompletedComplexDatas.Add(i); } } } } - IGameObject localPlayer = _objectTable[0]; - IGameObject gameObject = (from x in _objectTable - select new + IPlayerCharacter localPlayer = _objectTable.LocalPlayer; + Vector3 value = localPlayer?.Position ?? Vector3.Zero; + IGameObject gameObject = null; + int num = 0; + float num2 = float.MaxValue; + bool flag5 = _logger.IsEnabled(LogLevel.Debug); + foreach (IGameObject item in _objectTable) + { + var (num3, text) = GetKillPriority(item, localPlayer); + if (num3 <= 0) { - GameObject = x, - Priority = GetKillPriority(x).Priority, - Distance = Vector3.Distance(x.Position, localPlayer?.Position ?? Vector3.Zero) - } into x - where x.Priority > 0 - orderby x.Priority descending, x.Distance - select x.GameObject).FirstOrDefault(); + continue; + } + if (_losIgnoreList.TryGetValue(item.GameObjectId, out var value2)) + { + if (Environment.TickCount64 < value2) + { + if (flag5) + { + _logger.LogDebug("Target {Name} ({Id:X8}) skipped - LoS ignore list ({Remaining}ms left)", item.Name, item.GameObjectId, value2 - Environment.TickCount64); + } + continue; + } + _losIgnoreList.Remove(item.GameObjectId); + if (flag5) + { + _logger.LogDebug("Target {Name} ({Id:X8}) - LoS ignore expired", item.Name, item.GameObjectId); + } + } + float num4 = Vector3.Distance(item.Position, value); + if (flag5) + { + _logger.LogDebug("Target candidate: {Name} ({Id:X8}) BaseId={BaseId} Priority={Priority} ({Reason}) Distance={Distance:N1}", item.Name, item.GameObjectId, item.BaseId, num3, text, num4); + } + if (num3 > num || (num3 == num && num4 < num2)) + { + gameObject = item; + num = num3; + num2 = num4; + } + } + ulong? num5 = gameObject?.GameObjectId; + if (num5 != _lastTargetId) + { + if (gameObject != null) + { + _logger.LogDebug("Selected target: {Name} ({Id:X8}) BaseId={BaseId} Priority={Priority} Distance={Distance:N1}", gameObject.Name, gameObject.GameObjectId, gameObject.BaseId, num, num2); + } + else + { + _logger.LogDebug("No valid target found"); + } + _lastTargetId = num5; + } + if (gameObject != null && num <= 15 && !_condition[ConditionFlag.InCombat]) + { + return null; + } if (gameObject != null && _currentFight.Data.SpawnType == EEnemySpawnType.FateEnemies && !_currentFight.HasAttemptedFateSync) { ushort currentFateId = _gameFunctions.GetCurrentFateId(); if (currentFateId != 0) { - _logger.LogInformation("Checking FATE sync for FATE {FateId}", currentFateId); + _logger.LogDebug("Checking FATE sync for FATE {FateId}", currentFateId); _gameFunctions.SyncToFate(currentFateId); _currentFight.HasAttemptedFateSync = true; } @@ -345,24 +427,43 @@ internal sealed class CombatController : IDisposable return gameObject; } - public unsafe (int Priority, string Reason) GetKillPriority(IGameObject gameObject) + public (int Priority, string Reason) GetKillPriority(IGameObject gameObject) { - var (num, text) = GetRawKillPriority(gameObject); + return GetKillPriority(gameObject, _objectTable.LocalPlayer); + } + + private unsafe (int Priority, string Reason) GetKillPriority(IGameObject gameObject, IGameObject? localPlayer) + { + var (num, text) = GetRawKillPriority(gameObject, localPlayer); if (!num.HasValue) { + if (gameObject is IBattleNpc { IsDead: false, IsTargetable: not false } battleNpc && battleNpc.StatusFlags.HasFlag(StatusFlags.InCombat) && localPlayer != null && Vector3.Distance(localPlayer.Position, gameObject.Position) <= 30f) + { + if (gameObject.TargetObjectId == localPlayer.GameObjectId) + { + return (Priority: 15, Reason: text + "/SelfDefense-Targeted"); + } + Hater hater = UIState.Instance()->Hater; + for (int i = 0; i < hater.HaterCount; i++) + { + if (hater.Haters[i].EntityId == gameObject.GameObjectId) + { + return (Priority: 10, Reason: text + "/SelfDefense-Enmity"); + } + } + } return (Priority: 0, Reason: text); } - if (gameObject is IBattleNpc battleNpc && battleNpc.StatusFlags.HasFlag(StatusFlags.InCombat)) + if (gameObject is IBattleNpc battleNpc2 && battleNpc2.StatusFlags.HasFlag(StatusFlags.InCombat)) { - IGameObject? gameObject2 = _objectTable[0]; - if (gameObject.TargetObjectId == gameObject2?.GameObjectId) + if (gameObject.TargetObjectId == localPlayer?.GameObjectId) { return (Priority: num.Value + 150, Reason: text + "/Targeted"); } - Hater hater = UIState.Instance()->Hater; - for (int i = 0; i < hater.HaterCount; i++) + Hater hater2 = UIState.Instance()->Hater; + for (int j = 0; j < hater2.HaterCount; j++) { - if (hater.Haters[i].EntityId == gameObject.GameObjectId) + if (hater2.Haters[j].EntityId == gameObject.GameObjectId) { return (Priority: num.Value + 125, Reason: text + "/Enmity"); } @@ -371,98 +472,119 @@ internal sealed class CombatController : IDisposable return (Priority: num.Value, Reason: text); } - private unsafe (int? Priority, string Reason) GetRawKillPriority(IGameObject gameObject) + private unsafe (int? Priority, string Reason) GetRawKillPriority(IGameObject gameObject, IGameObject? localPlayer) { if (_currentFight == null) { return (Priority: null, Reason: "Not Fighting"); } - if (gameObject is IBattleNpc battleNpc) + if (!(gameObject is IBattleNpc battleNpc)) { - if (!_currentFight.Module.CanAttack(battleNpc)) - { - return (Priority: null, Reason: "Can't attack"); - } - if (battleNpc.IsDead) - { - return (Priority: null, Reason: "Dead"); - } - if (!battleNpc.IsTargetable) - { - return (Priority: null, Reason: "Untargetable"); - } - List complexCombatDatas = _currentFight.Data.ComplexCombatDatas; - GameObject* address = (GameObject*)gameObject.Address; - IGameObject gameObject2 = _objectTable[0]; - if (address->FateId != 0 && _currentFight.Data.SpawnType != EEnemySpawnType.FateEnemies && gameObject.TargetObjectId != gameObject2?.GameObjectId) - { - return (Priority: null, Reason: "FATE mob"); - } - Vector3 value = gameObject2?.Position ?? Vector3.Zero; - bool flag = _currentFight.Data.SpawnType != EEnemySpawnType.FinishCombatIfAny && (_currentFight.Data.SpawnType != EEnemySpawnType.OverworldEnemies || !(Vector3.Distance(value, battleNpc.Position) >= 50f)) && _currentFight.Data.SpawnType != EEnemySpawnType.FateEnemies; - if (complexCombatDatas.Count > 0) - { - for (int i = 0; i < complexCombatDatas.Count; i++) - { - if (!_currentFight.Data.CompletedComplexDatas.Contains(i) && (!flag || complexCombatDatas[i].IgnoreQuestMarker || address->NamePlateIconId != 0) && complexCombatDatas[i].DataId == battleNpc.BaseId && (!complexCombatDatas[i].NameId.HasValue || complexCombatDatas[i].NameId == battleNpc.NameId)) - { - return (Priority: 100, Reason: "CCD"); - } - } - } - else if ((!flag || address->NamePlateIconId != 0) && _currentFight.Data.KillEnemyDataIds.Contains(battleNpc.BaseId)) - { - return (Priority: 90, Reason: "KED"); - } - Dalamud.Game.ClientState.Objects.Enums.BattleNpcSubKind battleNpcKind = battleNpc.BattleNpcKind; - if ((battleNpcKind == Dalamud.Game.ClientState.Objects.Enums.BattleNpcSubKind.BNpcPart || battleNpcKind == Dalamud.Game.ClientState.Objects.Enums.BattleNpcSubKind.Combatant) ? true : false) - { - uint namePlateIconId = address->NamePlateIconId; - if ((namePlateIconId == 60093 || namePlateIconId == 60732) ? true : false) - { - return (Priority: null, Reason: "FATE NPC"); - } - return (Priority: 0, Reason: "Not part of quest"); - } - return (Priority: null, Reason: "Wrong BattleNpcKind"); + return (Priority: null, Reason: "Not BattleNpc"); } - return (Priority: null, Reason: "Not BattleNpc"); + if (!_currentFight.Module.CanAttack(battleNpc)) + { + return (Priority: null, Reason: "Can't attack"); + } + if (battleNpc.IsDead) + { + return (Priority: null, Reason: "Dead"); + } + if (!battleNpc.IsTargetable) + { + return (Priority: null, Reason: "Untargetable"); + } + List complexCombatDatas = _currentFight.Data.ComplexCombatDatas; + GameObject* address = (GameObject*)gameObject.Address; + if (address->FateId != 0 && _currentFight.Data.SpawnType != EEnemySpawnType.FateEnemies && gameObject.TargetObjectId != localPlayer?.GameObjectId) + { + return (Priority: null, Reason: "FATE mob"); + } + Vector3 value = localPlayer?.Position ?? Vector3.Zero; + bool flag; + switch (_currentFight.Data.SpawnType) + { + case EEnemySpawnType.FinishCombatIfAny: + flag = false; + break; + case EEnemySpawnType.FateEnemies: + flag = false; + break; + case EEnemySpawnType.OverworldEnemies: + if (Vector3.Distance(value, battleNpc.Position) >= 50f) + { + flag = false; + break; + } + goto default; + default: + flag = true; + break; + } + bool flag2 = flag; + if (complexCombatDatas.Count > 0) + { + for (int i = 0; i < complexCombatDatas.Count; i++) + { + if (!_currentFight.Data.CompletedComplexDatas.Contains(i) && (!flag2 || complexCombatDatas[i].IgnoreQuestMarker || address->NamePlateIconId != 0) && complexCombatDatas[i].DataId == battleNpc.BaseId && (!complexCombatDatas[i].NameId.HasValue || complexCombatDatas[i].NameId == battleNpc.NameId)) + { + return (Priority: 100, Reason: "CCD"); + } + } + } + else if ((!flag2 || address->NamePlateIconId != 0) && _currentFight.Data.KillEnemyDataIds.Contains(battleNpc.BaseId)) + { + return (Priority: 90, Reason: "KED"); + } + Dalamud.Game.ClientState.Objects.Enums.BattleNpcSubKind battleNpcKind = battleNpc.BattleNpcKind; + if ((battleNpcKind == Dalamud.Game.ClientState.Objects.Enums.BattleNpcSubKind.BNpcPart || battleNpcKind == Dalamud.Game.ClientState.Objects.Enums.BattleNpcSubKind.Combatant) ? true : false) + { + uint namePlateIconId = address->NamePlateIconId; + if ((namePlateIconId == 60093 || namePlateIconId == 60732) ? true : false) + { + return (Priority: null, Reason: "FATE NPC"); + } + return (Priority: null, Reason: "Not part of quest"); + } + return (Priority: null, Reason: "Wrong BattleNpcKind"); } private void SetTarget(IGameObject? target) { - IGameObject gameObject = _objectTable[0]; if (target == null) { if (_targetManager.Target != null) { - _logger.LogInformation("Clearing target"); + _logger.LogDebug("Clearing target"); _targetManager.Target = null; } + return; } - else if (gameObject != null && Vector3.Distance(gameObject.Position, target.Position) > 55f) + IPlayerCharacter localPlayer = _objectTable.LocalPlayer; + float num = ((localPlayer != null) ? Vector3.Distance(localPlayer.Position, target.Position) : 0f); + bool flag = _currentFight?.Module is BossModModule; + _logger.LogDebug("Setting target to {TargetName} ({TargetId:X8}), distance: {Distance:N2}", target.Name.ToString(), target.GameObjectId, num); + _targetManager.Target = target; + if (!flag) { - _logger.LogInformation("Moving to target, distance: {Distance:N2}", Vector3.Distance(gameObject.Position, target.Position)); - MoveToTarget(target); - } - else - { - _logger.LogInformation("Setting target to {TargetName} ({TargetId:X8})", target.Name.ToString(), target.GameObjectId); - _targetManager.Target = target; MoveToTarget(target); } } private bool IsMovingOrShouldMove(IGameObject gameObject) { + if (_currentFight?.Module is BossModModule) + { + return false; + } if (_movementController.IsPathfinding || _movementController.IsPathRunning) { return true; } - if (DateTime.Now > _currentFight.LastDistanceCheck.AddSeconds(10.0)) + if (Environment.TickCount64 > _currentFight.LastDistanceCheck + 10000) { MoveToTarget(gameObject); - _currentFight.LastDistanceCheck = DateTime.Now; + _currentFight.LastDistanceCheck = Environment.TickCount64; return true; } return false; @@ -470,47 +592,41 @@ internal sealed class CombatController : IDisposable private void MoveToTarget(IGameObject gameObject) { - IGameObject gameObject2 = _objectTable[0]; - if (gameObject2 == null) + IPlayerCharacter localPlayer = _objectTable.LocalPlayer; + if (localPlayer == null) { return; } - float num = gameObject2.HitboxRadius + gameObject.HitboxRadius; - float num2 = Vector3.Distance(gameObject2.Position, gameObject.Position); - ICharacter character = gameObject2 as ICharacter; - bool flag = character != null; - bool flag2; - if (flag) + float num = localPlayer.HitboxRadius + gameObject.HitboxRadius; + float num2 = Vector3.Distance(localPlayer.Position, gameObject.Position); + byte? b = localPlayer.ClassJob.ValueNullable?.Role; + bool flag; + if (b.HasValue) { - byte? b = character.ClassJob.ValueNullable?.Role; - if (b.HasValue) + byte valueOrDefault = b.GetValueOrDefault(); + if ((uint)(valueOrDefault - 3) <= 1u) { - byte valueOrDefault = b.GetValueOrDefault(); - if ((uint)(valueOrDefault - 3) <= 1u) - { - flag2 = true; - goto IL_00a3; - } + flag = true; + goto IL_008e; } - flag2 = false; - goto IL_00a3; } - goto IL_00a7; - IL_00a7: + flag = false; + goto IL_008e; + IL_008e: float num3 = (flag ? 20f : 2.9f); - bool flag3 = num2 - num >= num3; - bool flag4 = IsInLineOfSight(gameObject); - if (flag3 || !flag4) + bool flag2 = num2 - num >= num3; + bool flag3 = IsInLineOfSight(gameObject); + if (flag2 || !flag3) { - bool flag5 = num2 - num > 5f; - if (!flag3 && !flag4) + bool flag4 = num2 - num > 5f; + if (!flag2 && !flag3) { num3 = Math.Min(num3, num2) / 2f; - flag5 = true; + flag4 = true; } - if (!flag5) + if (!flag4) { - _logger.LogInformation("Moving to {TargetName} ({BaseId}) to attack", gameObject.Name, gameObject.BaseId); + _logger.LogDebug("Moving to {TargetName} ({BaseId}) to attack", gameObject.Name, gameObject.BaseId); MovementController movementController = _movementController; int num4 = 1; List list = new List(num4); @@ -520,35 +636,59 @@ internal sealed class CombatController : IDisposable } else { - _logger.LogInformation("Moving to {TargetName} ({BaseId}) to attack (with navmesh)", gameObject.Name, gameObject.BaseId); + _logger.LogDebug("Moving to {TargetName} ({BaseId}) to attack (with navmesh)", gameObject.Name, gameObject.BaseId); _movementController.NavigateTo(EMovementType.Combat, null, gameObject.Position, fly: false, sprint: false, num3 + num - 0.25f, float.MaxValue); } } - return; - IL_00a3: - flag = flag2; - goto IL_00a7; } internal unsafe bool IsInLineOfSight(IGameObject target) { - IGameObject gameObject = _objectTable[0]; - if (gameObject == null) + IPlayerCharacter localPlayer = _objectTable.LocalPlayer; + if (localPlayer == null) { return false; } - Vector3 position = gameObject.Position; + Vector3 position = localPlayer.Position; position.Y += 2f; Vector3 position2 = target.Position; position2.Y += 2f; - Vector3 value = position2 - position; - float maxDistance = value.Length(); - value = Vector3.Normalize(value); - Vector3 vector = new Vector3(position.X, position.Y, position.Z); - Vector3 vector2 = new Vector3(value.X, value.Y, value.Z); + Vector3 vector = Vector3.Normalize(position2 - position); + float maxDistance = Vector3.Distance(position, position2); int* flags = stackalloc int[4] { 16384, 0, 16384, 0 }; RaycastHit raycastHit = default(RaycastHit); - return !Framework.Instance()->BGCollisionModule->RaycastMaterialFilter(&raycastHit, &vector, &vector2, maxDistance, 1, flags); + return !Framework.Instance()->BGCollisionModule->RaycastMaterialFilter(&raycastHit, &position, &vector, maxDistance, 1, flags); + } + + private void OnErrorToast(ref SeString message, ref bool isHandled) + { + if (_cannotSeeTargetText == null || _currentFight == null || !message.TextValue.Contains(_cannotSeeTargetText, StringComparison.Ordinal)) + { + return; + } + IGameObject target = _targetManager.Target; + if (target == null) + { + return; + } + long tickCount = Environment.TickCount64; + if (_lastLoSFailTargetId == target.GameObjectId && tickCount - _lastLoSFailTimeMs < 2000) + { + _losFailCount++; + if (_losFailCount >= 2) + { + _losIgnoreList[target.GameObjectId] = tickCount + 10000; + _logger.LogDebug("Target {TargetId:X8} added to LoS ignore list for 10s", target.GameObjectId); + _losFailCount = 0; + _targetManager.Target = null; + } + } + else + { + _lastLoSFailTargetId = target.GameObjectId; + _losFailCount = 1; + } + _lastLoSFailTimeMs = tickCount; } private void UpdateLastTargetAndQuestVariables(IGameObject? target) @@ -563,9 +703,16 @@ internal sealed class CombatController : IDisposable { if (_currentFight != null) { - _logger.LogInformation("Stopping current fight"); + _logger.LogDebug("Stopping current fight"); _currentFight.Module.Stop(); } + if (_passiveBossModEnabled) + { + _bossModIpc.DisableAi(); + _passiveBossModEnabled = false; + } + _losIgnoreList.Clear(); + _losFailCount = 0; _currentFight = null; _wasInCombat = false; } @@ -578,6 +725,7 @@ internal sealed class CombatController : IDisposable public void Dispose() { + _toastGui.ErrorToast -= OnErrorToast; _clientState.TerritoryChanged -= TerritoryChanged; Stop("Dispose"); } diff --git a/Questionable/Questionable.Controller/CommandHandler.cs b/Questionable/Questionable.Controller/CommandHandler.cs index e51b203..9c1a4ba 100644 --- a/Questionable/Questionable.Controller/CommandHandler.cs +++ b/Questionable/Questionable.Controller/CommandHandler.cs @@ -29,16 +29,18 @@ internal sealed class CommandHandler : IDisposable private readonly QuestSelectionWindow _questSelectionWindow; - private readonly QuestSequenceWindow _questSequenceWindow; - private readonly JournalProgressWindow _journalProgressWindow; - private readonly PriorityWindow _priorityWindow; - private readonly FateController _fateController; private readonly SeasonalDutyController _seasonalDutyController; + private readonly AttunementController _attunementController; + + private readonly CustomDeliveryController _customDeliveryController; + + private readonly FishingController _fishingController; + private readonly FateSelectionWindow _fateSelectionWindow; private readonly SeasonalDutySelectionWindow _seasonalDutySelectionWindow; @@ -51,7 +53,7 @@ internal sealed class CommandHandler : IDisposable private readonly ChangelogWindow _changelogWindow; - public CommandHandler(ICommandManager commandManager, IChatGui chatGui, QuestController questController, MovementController movementController, FateController fateController, SeasonalDutyController seasonalDutyController, QuestRegistry questRegistry, ConfigWindow configWindow, DebugOverlay debugOverlay, OneTimeSetupWindow oneTimeSetupWindow, QuestWindow questWindow, QuestSelectionWindow questSelectionWindow, QuestSequenceWindow questSequenceWindow, JournalProgressWindow journalProgressWindow, PriorityWindow priorityWindow, FateSelectionWindow fateSelectionWindow, SeasonalDutySelectionWindow seasonalDutySelectionWindow, ITargetManager targetManager, QuestFunctions questFunctions, GameFunctions gameFunctions, AetheryteFunctions aetheryteFunctions, IDataManager dataManager, IClientState clientState, IObjectTable objectTable, Configuration configuration, ChangelogWindow changelogWindow) + public CommandHandler(ICommandManager commandManager, IChatGui chatGui, QuestController questController, MovementController movementController, FateController fateController, SeasonalDutyController seasonalDutyController, AttunementController attunementController, CustomDeliveryController customDeliveryController, FishingController fishingController, QuestRegistry questRegistry, ConfigWindow configWindow, OneTimeSetupWindow oneTimeSetupWindow, QuestWindow questWindow, QuestSelectionWindow questSelectionWindow, QuestSequenceWindow questSequenceWindow, JournalProgressWindow journalProgressWindow, FateSelectionWindow fateSelectionWindow, SeasonalDutySelectionWindow seasonalDutySelectionWindow, ITargetManager targetManager, QuestFunctions questFunctions, GameFunctions gameFunctions, AetheryteFunctions aetheryteFunctions, IDataManager dataManager, IClientState clientState, IObjectTable objectTable, Configuration configuration, ChangelogWindow changelogWindow) { _commandManager = commandManager; _chatGui = chatGui; @@ -59,13 +61,14 @@ internal sealed class CommandHandler : IDisposable _movementController = movementController; _fateController = fateController; _seasonalDutyController = seasonalDutyController; + _attunementController = attunementController; + _customDeliveryController = customDeliveryController; + _fishingController = fishingController; _configWindow = configWindow; _oneTimeSetupWindow = oneTimeSetupWindow; _questWindow = questWindow; _questSelectionWindow = questSelectionWindow; - _questSequenceWindow = questSequenceWindow; _journalProgressWindow = journalProgressWindow; - _priorityWindow = priorityWindow; _fateSelectionWindow = fateSelectionWindow; _seasonalDutySelectionWindow = seasonalDutySelectionWindow; _targetManager = targetManager; @@ -90,41 +93,22 @@ internal sealed class CommandHandler : IDisposable private void ProcessCommand(string command, string arguments) { - if (!OpenSetupIfNeeded(arguments)) + if (arguments.Trim() == "setup") + { + _oneTimeSetupWindow.IsOpenAndUncollapsed = true; + } + else if (!OpenSetupIfNeeded(arguments)) { string[] array = arguments.Split(' '); switch (array[0]) { case "h": case "help": - _chatGui.Print("Available commands:", "Questionable", 576); - _chatGui.Print("/qst - toggles the Questing window", "Questionable", 576); - _chatGui.Print("/qst help - displays simplified commands", "Questionable", 576); - _chatGui.Print("/qst help-all - displays all available commands", "Questionable", 576); - _chatGui.Print("/qst config - opens the configuration window", "Questionable", 576); - _chatGui.Print("/qst changelog - opens the changelog window", "Questionable", 576); - _chatGui.Print("/qst start - starts doing quests", "Questionable", 576); - _chatGui.Print("/qst stop - stops doing quests", "Questionable", 576); - _chatGui.Print("/qst reload - reload all quest data", "Questionable", 576); - _chatGui.Print("/qst fate / duty - toggles the farming window", "Questionable", 576); + PrintHelp(showAll: false); break; case "ha": case "help-all": - _chatGui.Print("Available commands:", "Questionable", 576); - _chatGui.Print("/qst - toggles the Questing window", "Questionable", 576); - _chatGui.Print("/qst help - displays available commands", "Questionable", 576); - _chatGui.Print("/qst help-all - displays all available commands", "Questionable", 576); - _chatGui.Print("/qst config - opens the configuration window", "Questionable", 576); - _chatGui.Print("/qst changelog - opens the changelog window", "Questionable", 576); - _chatGui.Print("/qst start - starts doing quests", "Questionable", 576); - _chatGui.Print("/qst stop - stops doing quests", "Questionable", 576); - _chatGui.Print("/qst reload - reload all quest data", "Questionable", 576); - _chatGui.Print("/qst which - shows all quests starting with your selected target", "Questionable", 576); - _chatGui.Print("/qst zone - shows all quests starting in the current zone (only includes quests with a known quest path, and currently visible unaccepted quests)", "Questionable", 576); - _chatGui.Print("/qst journal - toggles the Journal Progress window", "Questionable", 576); - _chatGui.Print("/qst priority - toggles the Priority window", "Questionable", 576); - _chatGui.Print("/qst fate / duty - toggles the farming window", "Questionable", 576); - _chatGui.Print("/qst handle-interrupt - makes Questionable handle queued interrupts immediately (useful if you manually start combat)", "Questionable", 576); + PrintHelp(showAll: true); break; case "c": case "config": @@ -143,6 +127,9 @@ internal sealed class CommandHandler : IDisposable _questController.Stop("Stop command"); _fateController.Stop("Stop command"); _seasonalDutyController.Stop("Stop command"); + _attunementController.Stop("Stop command"); + _customDeliveryController.Stop("Stop command"); + _fishingController.Stop("Stop command"); break; case "reload": _questWindow.Reload(); @@ -158,10 +145,6 @@ internal sealed class CommandHandler : IDisposable case "journal": _journalProgressWindow.ToggleOrUncollapse(); break; - case "p": - case "priority": - _priorityWindow.ToggleOrUncollapse(); - break; case "f": case "fate": _fateSelectionWindow.ToggleOrUncollapse(); @@ -183,8 +166,29 @@ internal sealed class CommandHandler : IDisposable } } - private void ProcessDebugCommand(string command, string arguments) + private void PrintHelp(bool showAll) { + _chatGui.Print("Available commands:", "Questionable", 576); + _chatGui.Print("/qst - toggles the Questing window", "Questionable", 576); + _chatGui.Print("/qst help - displays simplified commands", "Questionable", 576); + _chatGui.Print("/qst help-all - displays all available commands", "Questionable", 576); + _chatGui.Print("/qst config - opens the configuration window", "Questionable", 576); + _chatGui.Print("/qst setup - re-opens the first-time setup wizard", "Questionable", 576); + _chatGui.Print("/qst changelog - opens the changelog window", "Questionable", 576); + _chatGui.Print("/qst start - starts doing quests", "Questionable", 576); + _chatGui.Print("/qst stop - stops doing quests", "Questionable", 576); + _chatGui.Print("/qst reload - reload all quest data", "Questionable", 576); + if (showAll) + { + _chatGui.Print("/qst which - shows all quests starting with your selected target", "Questionable", 576); + _chatGui.Print("/qst zone - shows all quests starting in the current zone (only includes quests with a known quest path, and currently visible unaccepted quests)", "Questionable", 576); + _chatGui.Print("/qst journal - toggles the Journal Progress window", "Questionable", 576); + } + _chatGui.Print("/qst fate / duty - toggles the farming window", "Questionable", 576); + if (showAll) + { + _chatGui.Print("/qst handle-interrupt - makes Questionable handle queued interrupts immediately (useful if you manually start combat)", "Questionable", 576); + } } private bool OpenSetupIfNeeded(string arguments) diff --git a/Questionable/Questionable.Controller/ContextMenuController.cs b/Questionable/Questionable.Controller/ContextMenuController.cs index fca8f7a..2f0d919 100644 --- a/Questionable/Questionable.Controller/ContextMenuController.cs +++ b/Questionable/Questionable.Controller/ContextMenuController.cs @@ -1,8 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Runtime.InteropServices; -using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Game.Gui.ContextMenu; using Dalamud.Game.Text; using Dalamud.Plugin.Services; @@ -10,13 +6,12 @@ using FFXIVClientStructs.FFXIV.Client.UI; using FFXIVClientStructs.FFXIV.Client.UI.Agent; using LLib.GameData; using LLib.GameUI; +using LLib.Shop; using Microsoft.Extensions.Logging; +using Questionable.Controller.CustomDelivery; using Questionable.Data; using Questionable.Functions; -using Questionable.GameStructs; -using Questionable.Model; using Questionable.Model.Gathering; -using Questionable.Model.Questing; namespace Questionable.Controller; @@ -26,14 +21,18 @@ internal sealed class ContextMenuController : IDisposable private readonly QuestController _questController; + private readonly CustomDeliveryController _customDeliveryController; + + private readonly FateController _fateController; + + private readonly SeasonalDutyController _seasonalDutyController; + + private readonly AttunementController _attunementController; + private readonly GatheringPointRegistry _gatheringPointRegistry; private readonly GatheringData _gatheringData; - private readonly QuestRegistry _questRegistry; - - private readonly QuestData _questData; - private readonly GameFunctions _gameFunctions; private readonly QuestFunctions _questFunctions; @@ -42,26 +41,22 @@ internal sealed class ContextMenuController : IDisposable private readonly IChatGui _chatGui; - private readonly IClientState _clientState; - - private readonly IObjectTable _objectTable; - private readonly ILogger _logger; - public ContextMenuController(IContextMenu contextMenu, QuestController questController, GatheringPointRegistry gatheringPointRegistry, GatheringData gatheringData, QuestRegistry questRegistry, QuestData questData, GameFunctions gameFunctions, QuestFunctions questFunctions, IGameGui gameGui, IChatGui chatGui, IClientState clientState, IObjectTable objectTable, ILogger logger) + public ContextMenuController(IContextMenu contextMenu, QuestController questController, CustomDeliveryController customDeliveryController, FateController fateController, SeasonalDutyController seasonalDutyController, AttunementController attunementController, GatheringPointRegistry gatheringPointRegistry, GatheringData gatheringData, GameFunctions gameFunctions, QuestFunctions questFunctions, IGameGui gameGui, IChatGui chatGui, ILogger logger) { _contextMenu = contextMenu; _questController = questController; + _customDeliveryController = customDeliveryController; + _fateController = fateController; + _seasonalDutyController = seasonalDutyController; + _attunementController = attunementController; _gatheringPointRegistry = gatheringPointRegistry; _gatheringData = gatheringData; - _questRegistry = questRegistry; - _questData = questData; _gameFunctions = gameFunctions; _questFunctions = questFunctions; _gameGui = gameGui; _chatGui = chatGui; - _clientState = clientState; - _objectTable = objectTable; _logger = logger; _contextMenu.OnMenuOpened += MenuOpened; } @@ -86,15 +81,12 @@ internal sealed class ContextMenuController : IDisposable { num -= 500000; } - if (_gatheringData.TryGetCustomDeliveryNpc(num, out var npcId)) + if (_gatheringData.TryGetCustomDeliveryNpc(num, out var _)) { - AddContextMenuEntry(args, num, npcId, EClassJob.Miner, "Mine"); - AddContextMenuEntry(args, num, npcId, EClassJob.Botanist, "Harvest"); - } - else - { - _logger.LogDebug("No custom delivery NPC found for item {ItemId}.", num); + AddContextMenuEntry(args, num); + return; } + _logger.LogDebug("No custom delivery NPC found for item {ItemId}.", num); } private unsafe uint GetHoveredSatisfactionSupplyItemId() @@ -115,104 +107,87 @@ internal sealed class ContextMenuController : IDisposable return 0u; } - private unsafe void AddContextMenuEntry(IMenuOpenedArgs args, uint itemId, uint npcId, EClassJob classJob, string verb) + private unsafe void AddContextMenuEntry(IMenuOpenedArgs args, uint itemId) { - if (!(_objectTable[0] is ICharacter { ClassJob: var classJob2 })) + GatheringPointId gatheringPointId; + bool flag = _gatheringPointRegistry.TryGetGatheringPointId(itemId, EClassJob.Miner, out gatheringPointId); + bool flag2 = _gatheringPointRegistry.TryGetGatheringPointId(itemId, EClassJob.Botanist, out gatheringPointId); + if (!flag && !flag2) { - return; - } - EClassJob rowId = (EClassJob)classJob2.RowId; - bool flag = classJob != rowId; - if (flag) - { - bool flag2 = rowId - 16 <= EClassJob.Gladiator; - flag = flag2; - } - if (flag) - { - return; - } - if (!_gatheringPointRegistry.TryGetGatheringPointId(itemId, classJob, out GatheringPointId _)) - { - _logger.LogInformation("No gathering point found for {ClassJob}.", classJob); - return; - } - ushort collectability = _gatheringData.GetRecommendedCollectability(itemId); - int quantityToGather = ((collectability > 0) ? 6 : int.MaxValue); - if (collectability != 0) - { - AgentSatisfactionSupply* ptr = AgentSatisfactionSupply.Instance(); - if (ptr->IsAgentActive()) - { - int maxTurnIns = ((ptr->NpcInfo.SatisfactionRank == 1) ? 3 : 6); - quantityToGather = Math.Min(ptr->NpcData.RemainingAllowances, ((AgentSatisfactionSupply2*)ptr)->CalculateTurnInsToNextRank(maxTurnIns)); - } - string text = string.Empty; - if (!_questFunctions.IsClassJobUnlocked(classJob)) - { - text = $"{classJob} not unlocked"; - } - else if (quantityToGather == 0) - { - text = "No allowances"; - } - else if (quantityToGather > _gameFunctions.GetFreeInventorySlots()) - { - text = "Inventory full"; - } - else if (_gameFunctions.IsOccupied()) - { - text = "Can't be used while interacting"; - } - string text2 = verb + " with Questionable"; - if (!string.IsNullOrEmpty(text)) - { - text2 = text2 + " (" + text + ")"; - } - args.AddMenuItem(new MenuItem - { - Prefix = SeIconChar.Hyadelyn, - PrefixColor = 52, - Name = text2, - OnClicked = delegate - { - StartGathering(npcId, itemId, quantityToGather, collectability, classJob); - }, - IsEnabled = string.IsNullOrEmpty(text) - }); - } - } - - private void StartGathering(uint npcId, uint itemId, int quantity, ushort collectability, EClassJob classJob) - { - SatisfactionSupplyInfo satisfactionSupplyInfo = (SatisfactionSupplyInfo)_questData.GetAllByIssuerDataId(npcId).Single((IQuestInfo x) => x is SatisfactionSupplyInfo); - if (_questRegistry.TryGetQuest(satisfactionSupplyInfo.QuestId, out Quest quest)) - { - QuestSequence questSequence = quest.FindSequence(0); - QuestStep questStep = questSequence.Steps.Single((QuestStep x) => x.InteractionType == EInteractionType.SwitchClass); - questStep.TargetClass = classJob switch - { - EClassJob.Miner => EExtendedClassJob.Miner, - EClassJob.Botanist => EExtendedClassJob.Botanist, - _ => throw new ArgumentOutOfRangeException("classJob", classJob, null), - }; - QuestStep questStep2 = questSequence.Steps.Single((QuestStep x) => x.InteractionType == EInteractionType.Gather); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = new GatheredItem - { - ItemId = itemId, - ItemCount = quantity, - Collectability = collectability - }; - questStep2.ItemsToGather = list; - _questController.SetGatheringQuest(quest); - _questController.StartGatheringQuest("SatisfactionSupply prepare gathering"); + _logger.LogDebug("No gathering point found for item {ItemId}.", itemId); } else { - _chatGui.PrintError($"No associated quest ({satisfactionSupplyInfo.QuestId}).", "Questionable"); + if (_gatheringData.GetRecommendedCollectability(itemId) == 0) + { + return; + } + AgentSatisfactionSupply* ptr = AgentSatisfactionSupply.Instance(); + if (ptr != null && ptr->IsAgentActive()) + { + int npcIndex = (int)(ptr->NpcInfo.Id - 1); + SatisfactionSupplyActions.NpcState npcState = SatisfactionSupplyActions.GetNpcState(npcIndex); + int maxTurnIns = ((ptr->NpcInfo.SatisfactionRank == 1) ? 3 : 6); + int num = Math.Min(ptr->NpcData.RemainingAllowances, SatisfactionSupplyHelper.CalculateTurnInsToNextRank((ushort)npcState.SatisfactionCurrent, (ushort)npcState.SatisfactionMax, maxTurnIns)); + bool num2 = (flag && _questFunctions.IsClassJobUnlocked(EClassJob.Miner)) || (flag2 && _questFunctions.IsClassJobUnlocked(EClassJob.Botanist)); + string text = string.Empty; + if (!num2) + { + text = (flag ? "Miner not unlocked" : "Botanist not unlocked"); + } + else if (num == 0) + { + text = "No allowances"; + } + else if (num > _gameFunctions.GetFreeInventorySlots()) + { + text = "Inventory full"; + } + else if (_gameFunctions.IsOccupied()) + { + text = "Can't be used while interacting"; + } + else if (_customDeliveryController.IsRunning) + { + text = "Delivery already in progress"; + } + else if (_questController.IsRunning || _fateController.IsRunning || _seasonalDutyController.IsRunning || _attunementController.IsRunning) + { + text = "Automation is running"; + } + string text2 = "Deliver with Questionable"; + if (!string.IsNullOrEmpty(text)) + { + text2 = text2 + " (" + text + ")"; + } + args.AddMenuItem(new MenuItem + { + Prefix = SeIconChar.Hyadelyn, + PrefixColor = 52, + Name = text2, + OnClicked = delegate + { + StartDelivery(npcIndex); + }, + IsEnabled = string.IsNullOrEmpty(text) + }); + } + } + } + + private void StartDelivery(int npcIndex) + { + _questController.Stop("Custom delivery start"); + _fateController.Stop("Custom delivery start"); + _seasonalDutyController.Stop("Custom delivery start"); + _attunementController.Stop("Custom delivery start"); + if (_customDeliveryController.State != CustomDeliveryController.EDeliveryState.Idle) + { + _customDeliveryController.Stop("Custom delivery start"); + } + if (!_customDeliveryController.Start(npcIndex, EDeliverySlot.Gather)) + { + _chatGui.PrintError("Unable to start custom delivery.", "Questionable", 576); } } diff --git a/Questionable/Questionable.Controller/CustomDeliveryController.cs b/Questionable/Questionable.Controller/CustomDeliveryController.cs new file mode 100644 index 0000000..f293db1 --- /dev/null +++ b/Questionable/Questionable.Controller/CustomDeliveryController.cs @@ -0,0 +1,877 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using LLib.GameData; +using LLib.Inventory; +using LLib.Shop; +using Lumina.Excel.Sheets; +using Microsoft.Extensions.Logging; +using Questionable.Controller.CustomDelivery; +using Questionable.Controller.Steps; +using Questionable.Controller.Steps.Common; +using Questionable.Controller.Steps.Shared; +using Questionable.External; +using Questionable.Model; +using Questionable.Model.Gathering; +using Questionable.Model.Questing; +using Questionable.Navigation; + +namespace Questionable.Controller; + +internal sealed class CustomDeliveryController : MiniTaskController +{ + public enum EDeliveryState + { + Idle, + Executing, + WaitingForCraft, + WaitingForGather, + WaitingForFish, + TurningIn, + Complete + } + + private const long GatherTimeoutMs = 180000L; + + private const long CraftBusyGraceMs = 5000L; + + private readonly DeliveryPlannerService _plannerService; + + private readonly VendorResolverService _vendorResolver; + + private readonly ArtisanIpc _artisanIpc; + + private readonly AutoHookIpc _autoHookIpc; + + private readonly GatheringController _gatheringController; + + private readonly FishingController _fishingController; + + private readonly GatheringPointRegistry _gatheringPointRegistry; + + private readonly MovementController _movementController; + + private readonly SmartNavRouteEnqueuer _routeEnqueuer; + + private readonly IClientState _clientState; + + private readonly IObjectTable _objectTable; + + private readonly Configuration _configuration; + + private readonly Dictionary _npcPositions; + + private readonly Dictionary _npcDataIds; + + private readonly Dictionary _npcNames; + + private int _npcIndex; + + private EDeliverySlot _slot; + + private int _craftRetryCount; + + private VendorResolverService.RecipeInfo? _pendingCraftRecipe; + + private VendorResolverService.RecipeInfo? _currentCraftRecipe; + + private EClassJob? _pendingGatherClass; + + private bool _pendingFishingStart; + + private long _craftBusyGraceUntilMs; + + private long _gatherStartMs; + + private int _lastGatherCount; + + private long _fishStartMs; + + private int _lastFishCount; + + private int _usedDeliveriesAtPlan; + + public EDeliveryState State { get; private set; } + + public DeliveryPlan? CurrentPlan { get; private set; } + + public bool IsRunning + { + get + { + if (State != EDeliveryState.Idle) + { + return State != EDeliveryState.Complete; + } + return false; + } + } + + public TaskQueue TaskQueue => _taskQueue; + + public string StatusLabel => State switch + { + EDeliveryState.Executing => "Navigating", + EDeliveryState.WaitingForCraft => _taskQueue.AllTasksComplete ? "Crafting" : "Purchasing", + EDeliveryState.WaitingForGather => "Gathering", + EDeliveryState.WaitingForFish => "Fishing", + EDeliveryState.TurningIn => "Turning in", + _ => State.ToString(), + }; + + public string? CurrentNpcName + { + get + { + if (!IsRunning) + { + return null; + } + return _npcNames.GetValueOrDefault(_npcIndex); + } + } + + public int QueueRemaining => _configuration.CustomDeliveries.DeliveryQueue.Count; + + public CustomDeliveryController(DeliveryPlannerService plannerService, VendorResolverService vendorResolver, ArtisanIpc artisanIpc, AutoHookIpc autoHookIpc, GatheringController gatheringController, FishingController fishingController, GatheringPointRegistry gatheringPointRegistry, MovementController movementController, SmartNavRouteEnqueuer routeEnqueuer, IChatGui chatGui, IClientState clientState, IObjectTable objectTable, ICondition condition, IServiceProvider serviceProvider, InterruptHandler interruptHandler, IDataManager dataManager, Configuration configuration, ILogger logger) + : base(chatGui, condition, serviceProvider, interruptHandler, dataManager, configuration, logger) + { + _plannerService = plannerService; + _vendorResolver = vendorResolver; + _artisanIpc = artisanIpc; + _autoHookIpc = autoHookIpc; + _gatheringController = gatheringController; + _fishingController = fishingController; + _gatheringPointRegistry = gatheringPointRegistry; + _movementController = movementController; + _routeEnqueuer = routeEnqueuer; + _clientState = clientState; + _objectTable = objectTable; + _configuration = configuration; + _npcPositions = BuildNpcPositionLookup(dataManager); + _npcDataIds = BuildNpcDataIdLookup(dataManager); + _npcNames = BuildNpcNameLookup(dataManager); + } + + public bool Start(int npcIndex, EDeliverySlot slot) + { + if (State != EDeliveryState.Idle) + { + _logger.LogWarning("Cannot start delivery - already in state {State}", State); + return false; + } + if (InventoryHelper.CountFreeInventorySlots() < 1) + { + _logger.LogWarning("No free inventory slots, cannot start custom delivery"); + return false; + } + DeliveryPlan deliveryPlan = _plannerService.CreatePlan(npcIndex, slot); + if (deliveryPlan == null) + { + _logger.LogInformation("No delivery plan created for NPC {NpcIndex} slot {Slot}", npcIndex, slot); + return false; + } + _npcIndex = npcIndex; + _slot = slot; + _craftRetryCount = 0; + _pendingCraftRecipe = null; + _currentCraftRecipe = null; + _pendingGatherClass = null; + _pendingFishingStart = false; + _usedDeliveriesAtPlan = SatisfactionSupplyActions.GetNpcState(npcIndex).UsedDeliveries; + CurrentPlan = deliveryPlan; + State = EDeliveryState.Executing; + _logger.LogInformation("Starting custom delivery: NPC {NpcIndex}, slot {Slot}, item {ItemId} x{Count}", npcIndex, slot, deliveryPlan.ItemId, deliveryPlan.DeliveryCount); + PopulateTaskQueue(deliveryPlan); + return State != EDeliveryState.Idle; + } + + public bool StartQueue() + { + if (_configuration.CustomDeliveries.DeliveryQueue.Count == 0) + { + _logger.LogInformation("Delivery queue is empty"); + return false; + } + if (State == EDeliveryState.Complete) + { + Stop("Restart queue from Complete"); + } + if (State != EDeliveryState.Idle) + { + _logger.LogWarning("Cannot start delivery queue - already in state {State}", State); + return false; + } + return StartNextFromQueue(); + } + + private bool StartNextFromQueue() + { + List deliveryQueue = _configuration.CustomDeliveries.DeliveryQueue; + if (deliveryQueue.Count > 0 && InventoryHelper.CountFreeInventorySlots() < 1) + { + _logger.LogWarning("No free inventory slots, keeping {Count} queued deliveries", deliveryQueue.Count); + return false; + } + while (deliveryQueue.Count > 0) + { + int num = deliveryQueue[0]; + deliveryQueue.RemoveAt(0); + EDeliverySlot? eDeliverySlot = _plannerService.AutoSelectSlot(num, _artisanIpc, _autoHookIpc); + if (!eDeliverySlot.HasValue) + { + _logger.LogInformation("No viable slot for NPC {NpcIndex}, skipping", num); + continue; + } + _logger.LogInformation("Queue: starting NPC {NpcIndex} with slot {Slot}", num, eDeliverySlot.Value); + if (!Start(num, eDeliverySlot.Value)) + { + continue; + } + return true; + } + _logger.LogInformation("Delivery queue exhausted"); + return false; + } + + private void PopulateTaskQueue(DeliveryPlan plan) + { + _taskQueue.Reset(); + _pendingGatherClass = null; + _pendingFishingStart = false; + switch (plan.Slot) + { + case EDeliverySlot.Craft: + { + if (HasEnoughItems(plan)) + { + State = EDeliveryState.TurningIn; + EnqueueTurnInSequence(plan); + break; + } + Dictionary<(uint, uint), (ushort, Vector3, int, List)> dictionary = new Dictionary<(uint, uint), (ushort, Vector3, int, List)>(); + foreach (IngredientPlan ingredientPlan in plan.IngredientPlans) + { + if (ingredientPlan.ToBuy > 0 && ingredientPlan.Vendor.HasValue) + { + VendorResolverService.VendorInfo value = ingredientPlan.Vendor.Value; + (uint, uint) key = (value.VendorNpcId, value.ShopId); + dictionary.TryAdd(key, (value.TerritoryId, value.Position, value.DialogOptionIndex, new List())); + dictionary[key].Item4.Add(new VendorPurchaseTask.PurchaseItem(ingredientPlan.ItemId, ingredientPlan.ToBuy)); + } + } + foreach (var (tuple3, tuple4) in dictionary) + { + var (vendorNpcId, _) = tuple3; + var (territoryId, position, dialogOptionIndex, purchases) = tuple4; + EnqueueNavigateTo(territoryId, position); + _taskQueue.Enqueue(new Questionable.Controller.Steps.Common.Mount.UnmountTask()); + _taskQueue.Enqueue(new VendorPurchaseTask(vendorNpcId, purchases, dialogOptionIndex)); + } + (EClassJob Job, VendorResolverService.RecipeInfo? Recipe) tuple7 = ResolveCrafterClass(plan.ItemId); + EClassJob item = tuple7.Job; + VendorResolverService.RecipeInfo? recipeInfo = tuple7.Recipe ?? plan.Recipe; + EClassJob classJob = ((item != EClassJob.Adventurer) ? item : (recipeInfo?.CraftingClass ?? EClassJob.Carpenter)); + _taskQueue.Enqueue(new SwitchClassJob.Task(classJob)); + _pendingCraftRecipe = recipeInfo; + State = EDeliveryState.WaitingForCraft; + break; + } + case EDeliverySlot.Gather: + { + if (HasEnoughItems(plan)) + { + State = EDeliveryState.TurningIn; + EnqueueTurnInSequence(plan); + break; + } + EClassJob eClassJob = ResolveGathererClass(plan.ItemId); + _taskQueue.Enqueue(new SwitchClassJob.Task(eClassJob)); + if (EnqueueGatheringTravel(plan, eClassJob)) + { + _pendingGatherClass = eClassJob; + State = EDeliveryState.WaitingForGather; + } + break; + } + case EDeliverySlot.Fish: + if (HasEnoughItems(plan)) + { + State = EDeliveryState.TurningIn; + EnqueueTurnInSequence(plan); + } + else + { + _taskQueue.Enqueue(new SwitchClassJob.Task(EClassJob.Fisher)); + _pendingFishingStart = true; + State = EDeliveryState.WaitingForFish; + } + break; + } + } + + private (EClassJob Job, VendorResolverService.RecipeInfo? Recipe) ResolveCrafterClass(uint craftedItemId) + { + Configuration.CustomDeliveryConfiguration customDeliveries = _configuration.CustomDeliveries; + if (customDeliveries.CraftJobMode == Configuration.CustomDeliveryConfiguration.EJobSelectionMode.Current) + { + uint? num = _objectTable.LocalPlayer?.ClassJob.RowId; + if (num.HasValue) + { + EClassJob value = (EClassJob)num.Value; + if (value.IsCrafter()) + { + VendorResolverService.RecipeInfo? item = _vendorResolver.ResolveRecipe(craftedItemId, value); + if (item.HasValue) + { + return (Job: item.Value.CraftingClass, Recipe: item); + } + } + } + } + VendorResolverService.RecipeInfo? item2 = _vendorResolver.ResolveRecipe(craftedItemId, customDeliveries.PreferredCraftJob); + if (item2.HasValue) + { + return (Job: item2.Value.CraftingClass, Recipe: item2); + } + VendorResolverService.RecipeInfo? item3 = _vendorResolver.ResolveRecipe(craftedItemId); + if (!item3.HasValue) + { + return (Job: EClassJob.Adventurer, Recipe: null); + } + return (Job: item3.Value.CraftingClass, Recipe: item3); + } + + private EClassJob ResolveGathererClass(uint itemId) + { + Configuration.CustomDeliveryConfiguration customDeliveries = _configuration.CustomDeliveries; + if (customDeliveries.GatherJobMode == Configuration.CustomDeliveryConfiguration.EJobSelectionMode.Current) + { + uint? num = _objectTable.LocalPlayer?.ClassJob.RowId; + if (num.HasValue) + { + EClassJob value = (EClassJob)num.Value; + switch (value) + { + case EClassJob.Miner: + case EClassJob.Botanist: + if (CanGather(value)) + { + return value; + } + break; + } + } + } + if (CanGather(customDeliveries.PreferredGatherJob)) + { + return customDeliveries.PreferredGatherJob; + } + EClassJob eClassJob = ((customDeliveries.PreferredGatherJob == EClassJob.Miner) ? EClassJob.Botanist : EClassJob.Miner); + if (CanGather(eClassJob)) + { + return eClassJob; + } + return EClassJob.Miner; + bool CanGather(EClassJob job) + { + GatheringPointId gatheringPointId; + return _gatheringPointRegistry.TryGetGatheringPointId(itemId, job, out gatheringPointId); + } + } + + private bool EnqueueGatheringTravel(DeliveryPlan plan, EClassJob gathererClass) + { + if (!_gatheringPointRegistry.TryGetGatheringPointId(plan.ItemId, gathererClass, out GatheringPointId gatheringPointId) || !_gatheringPointRegistry.TryGetGatheringPoint(gatheringPointId, out GatheringRoot gatheringRoot)) + { + _logger.LogError("No gathering path found for item {ItemId} as {ClassJob}", plan.ItemId, gathererClass); + Stop("No gathering path"); + return false; + } + int num; + if (gatheringRoot.Steps.Count <= 0) + { + num = 0; + } + else + { + List steps = gatheringRoot.Steps; + num = steps[steps.Count - 1].TerritoryId; + } + ushort num2 = (ushort)num; + GatheringLocation gatheringLocation = null; + int num3 = int.MaxValue; + foreach (GatheringNodeGroup group in gatheringRoot.Groups) + { + foreach (GatheringNode node in group.Nodes) + { + if (node.Locations.Count != 0 && node.Locations.Count < num3) + { + num3 = node.Locations.Count; + gatheringLocation = node.Locations[0]; + } + } + } + Vector3? vector = ((gatheringLocation != null) ? new Vector3?(GatheringMath.CalculateLandingLocation(gatheringLocation).Item1) : ((Vector3?)null)); + if (!vector.HasValue) + { + foreach (QuestStep step in gatheringRoot.Steps) + { + if (step.Position.HasValue) + { + vector = step.Position; + } + } + } + if (num2 == 0 || !vector.HasValue) + { + _logger.LogError("Gathering path {PointId} has no travel destination", gatheringPointId); + Stop("Invalid gathering path"); + return false; + } + _logger.LogDebug("Navigating to gathering point {PointId} in territory {TerritoryId}", gatheringPointId, num2); + if (_clientState.TerritoryType != num2) + { + if (!_routeEnqueuer.TryEnqueueToTerritory(_taskQueue, num2, vector.Value)) + { + _logger.LogError("No SmartNav route from territory {CurrentTerritoryId} to gathering territory {TerritoryId}", _clientState.TerritoryType, num2); + Stop("No route to gathering point"); + return false; + } + } + else + { + _logger.LogDebug("Already in gathering territory {TerritoryId}; leaving node movement to GatheringController", num2); + } + return true; + } + + private void StartCrafting(DeliveryPlan plan, VendorResolverService.RecipeInfo? recipeOverride = null) + { + VendorResolverService.RecipeInfo? recipeInfo = recipeOverride ?? plan.Recipe; + if (!recipeInfo.HasValue) + { + _logger.LogError("No recipe available for craft delivery of item {ItemId}", plan.ItemId); + Stop("No recipe"); + return; + } + if (!_artisanIpc.IsAvailable()) + { + _logger.LogError("Artisan is not available, cannot craft"); + Stop("Artisan not available"); + return; + } + _artisanIpc.SetEnduranceStatus(enabled: false); + _artisanIpc.SetStopRequest(stop: false); + int itemCount = GetItemCount(plan); + int num = plan.DeliveryCount - itemCount; + if (num > 0) + { + _logger.LogDebug("Requesting Artisan to craft {Count}x recipe {RecipeId} ({ClassJob})", num, recipeInfo.Value.RecipeId, recipeInfo.Value.CraftingClass); + if (!_artisanIpc.CraftItem((ushort)recipeInfo.Value.RecipeId, num)) + { + _logger.LogError("Failed to start Artisan crafting for recipe {RecipeId}", recipeInfo.Value.RecipeId); + Stop("Artisan craft failed"); + } + else + { + _craftBusyGraceUntilMs = Environment.TickCount64 + 5000; + } + } + } + + private void StartGathering(DeliveryPlan plan, EClassJob gathererClass) + { + _gatherStartMs = Environment.TickCount64; + _lastGatherCount = GetItemCount(plan); + if (!_gatheringPointRegistry.TryGetGatheringPointId(plan.ItemId, gathererClass, out GatheringPointId gatheringPointId)) + { + _logger.LogError("No gathering point found for item {ItemId} as {ClassJob}", plan.ItemId, gathererClass); + Stop("No gathering point"); + return; + } + GatheringController.GatheringRequest gatheringRequest = new GatheringController.GatheringRequest(gatheringPointId, plan.ItemId, 0u, plan.DeliveryCount, plan.Collectability); + if (!_gatheringController.Start(gatheringRequest)) + { + _logger.LogWarning("GatheringController.Start returned false for item {ItemId}", plan.ItemId); + if (HasEnoughItems(plan)) + { + State = EDeliveryState.Executing; + EnqueueTurnInSequence(plan); + } + else + { + Stop("Gathering start failed"); + } + } + } + + private void StartFishing(DeliveryPlan plan) + { + _fishStartMs = Environment.TickCount64; + _lastFishCount = GetItemCount(plan); + FishingController.FishingRequest request = new FishingController.FishingRequest(plan.ItemId, plan.DeliveryCount, plan.Collectability); + if (!_fishingController.Start(request)) + { + _logger.LogWarning("FishingController.Start returned false for item {ItemId}", plan.ItemId); + if (HasEnoughItems(plan)) + { + State = EDeliveryState.Executing; + EnqueueTurnInSequence(plan); + } + else + { + Stop("Fishing start failed"); + } + } + } + + public EDeliveryState Update() + { + if (State == EDeliveryState.Idle || State == EDeliveryState.Complete) + { + return State; + } + if (CurrentPlan == null) + { + Stop("No plan"); + return EDeliveryState.Idle; + } + switch (State) + { + case EDeliveryState.WaitingForCraft: + return UpdateWaitingForCraft(); + case EDeliveryState.WaitingForGather: + return UpdateWaitingForGather(); + case EDeliveryState.WaitingForFish: + return UpdateWaitingForFish(); + case EDeliveryState.Executing: + case EDeliveryState.TurningIn: + return UpdateExecuting(); + default: + return State; + } + } + + private EDeliveryState UpdateWaitingForCraft() + { + if (!_taskQueue.AllTasksComplete) + { + UpdateCurrentTask(); + return State; + } + if (_pendingCraftRecipe.HasValue) + { + _currentCraftRecipe = _pendingCraftRecipe; + _pendingCraftRecipe = null; + StartCrafting(CurrentPlan, _currentCraftRecipe); + return State; + } + if (_artisanIpc.IsCrafting()) + { + return State; + } + if (Environment.TickCount64 < _craftBusyGraceUntilMs) + { + return State; + } + if (_artisanIpc.GetStopRequest()) + { + _logger.LogWarning("Artisan reported a stop request, checking items"); + _artisanIpc.SetStopRequest(stop: false); + } + if (HasEnoughItems(CurrentPlan)) + { + _logger.LogDebug("Crafting complete, transitioning to turn-in"); + State = EDeliveryState.Executing; + EnqueueTurnInSequence(CurrentPlan); + } + else if (_craftRetryCount < 3) + { + _craftRetryCount++; + _logger.LogWarning("Crafting finished but insufficient items (have {Have}, need {Need}), retrying", GetItemCount(CurrentPlan), CurrentPlan.DeliveryCount); + StartCrafting(CurrentPlan, _currentCraftRecipe); + } + else + { + _logger.LogWarning("Crafting finished but insufficient items after retry (have {Have}, need {Need})", GetItemCount(CurrentPlan), CurrentPlan.DeliveryCount); + Stop("Insufficient items after crafting"); + } + return State; + } + + private EDeliveryState UpdateWaitingForGather() + { + if (!_taskQueue.AllTasksComplete) + { + UpdateCurrentTask(); + return State; + } + EClassJob? pendingGatherClass = _pendingGatherClass; + if (pendingGatherClass.HasValue) + { + EClassJob valueOrDefault = pendingGatherClass.GetValueOrDefault(); + _pendingGatherClass = null; + StartGathering(CurrentPlan, valueOrDefault); + return State; + } + int itemCount = GetItemCount(CurrentPlan); + if (itemCount > _lastGatherCount) + { + _lastGatherCount = itemCount; + _gatherStartMs = Environment.TickCount64; + } + if (Environment.TickCount64 - _gatherStartMs > 180000) + { + _logger.LogWarning("Gathering made no progress for {Timeout}ms", 180000L); + _gatheringController.Stop("Delivery gather timeout"); + Stop("Gathering timeout"); + return State; + } + GatheringController.EStatus eStatus = _gatheringController.Update(); + if (HasEnoughItems(CurrentPlan)) + { + if (eStatus != GatheringController.EStatus.Complete) + { + return State; + } + _logger.LogDebug("Gathering complete, transitioning to turn-in"); + State = EDeliveryState.Executing; + EnqueueTurnInSequence(CurrentPlan); + } + else if (eStatus == GatheringController.EStatus.Complete) + { + _logger.LogWarning("Gathering ended without enough items (have {Have}, need {Need})", itemCount, CurrentPlan.DeliveryCount); + Stop("Gathering ended without items"); + } + return State; + } + + private EDeliveryState UpdateWaitingForFish() + { + if (!_taskQueue.AllTasksComplete) + { + UpdateCurrentTask(); + return State; + } + if (_pendingFishingStart) + { + _pendingFishingStart = false; + StartFishing(CurrentPlan); + return State; + } + int itemCount = GetItemCount(CurrentPlan); + if (itemCount > _lastFishCount) + { + _lastFishCount = itemCount; + _fishStartMs = Environment.TickCount64; + } + if (Environment.TickCount64 - _fishStartMs > 180000) + { + _logger.LogWarning("Fishing made no progress for {Timeout}ms", 180000L); + _fishingController.Stop("Delivery fishing timeout"); + Stop("Fishing timeout"); + return State; + } + FishingController.EFishingState state = _fishingController.State; + if (HasEnoughItems(CurrentPlan)) + { + _logger.LogDebug("Fishing complete, transitioning to turn-in"); + _fishingController.Stop("Delivery fishing complete"); + State = EDeliveryState.Executing; + EnqueueTurnInSequence(CurrentPlan); + } + else if ((state == FishingController.EFishingState.Idle || state == FishingController.EFishingState.Complete) ? true : false) + { + _logger.LogWarning("Fishing ended without enough items (have {Have}, need {Need})", itemCount, CurrentPlan.DeliveryCount); + Stop("Fishing ended without items"); + } + return State; + } + + private EDeliveryState UpdateExecuting() + { + if (_taskQueue.AllTasksComplete) + { + OnAllTasksComplete(); + return State; + } + UpdateCurrentTask(); + return State; + } + + private void OnAllTasksComplete() + { + if (CurrentPlan == null) + { + State = EDeliveryState.Complete; + return; + } + int usedDeliveries = SatisfactionSupplyActions.GetNpcState(CurrentPlan.NpcIndex).UsedDeliveries; + if (SatisfactionSupplyActions.GetRemainingAllowances() > 0) + { + if (usedDeliveries == _usedDeliveriesAtPlan) + { + _logger.LogWarning("Delivery batch completed without progress (used still {Used}), not re-planning", usedDeliveries); + } + else + { + DeliveryPlan deliveryPlan = _plannerService.CreatePlan(_npcIndex, _slot); + if (deliveryPlan != null) + { + _logger.LogDebug("Allowances remain (used: {Used}), re-planning", usedDeliveries); + _usedDeliveriesAtPlan = usedDeliveries; + CurrentPlan = deliveryPlan; + PopulateTaskQueue(deliveryPlan); + return; + } + } + } + _logger.LogInformation("NPC deliveries complete"); + if (_configuration.CustomDeliveries.DeliveryQueue.Count > 0 && SatisfactionSupplyActions.GetRemainingAllowances() > 0) + { + State = EDeliveryState.Idle; + if (StartNextFromQueue()) + { + return; + } + } + State = EDeliveryState.Complete; + } + + protected override void OnTaskComplete(ITask task) + { + if (task is SatisfactionSupplyTurnInTask) + { + ResetStepRetryCounter(); + } + } + + protected override void OnRetryStep() + { + DeliveryPlan deliveryPlan = _plannerService.CreatePlan(_npcIndex, _slot); + if (deliveryPlan == null) + { + Stop("Re-plan on retry failed"); + return; + } + _logger.LogInformation("Retrying delivery step with a fresh plan"); + CurrentPlan = deliveryPlan; + PopulateTaskQueue(deliveryPlan); + } + + public override void Stop(string label) + { + base.Stop(label); + if (State != EDeliveryState.Idle || CurrentPlan != null) + { + _logger.LogInformation("Stopping custom delivery controller: {Label}", label); + if (_artisanIpc.IsCrafting()) + { + _artisanIpc.SetStopRequest(stop: true); + } + _fishingController.Stop("Delivery stop"); + _gatheringController.Stop("Delivery stop"); + _routeEnqueuer.ClearDestination(); + _taskQueue.Reset(); + CurrentPlan = null; + State = EDeliveryState.Idle; + } + } + + private void EnqueueNavigateToNpc(int npcIndex) + { + if (!_npcPositions.TryGetValue(npcIndex, out (ushort, Vector3) value)) + { + _logger.LogWarning("No position found for delivery NPC index {NpcIndex}, skipping navigation", npcIndex); + return; + } + uint valueOrDefault = _npcDataIds.GetValueOrDefault(npcIndex); + if (_clientState.TerritoryType != value.Item1 && !_routeEnqueuer.TryEnqueueToTerritory(_taskQueue, value.Item1, value.Item2)) + { + _logger.LogWarning("Could not route to delivery NPC territory {TerritoryId}; falling back to normal routing", value.Item1); + EnqueueNavigateTo(value.Item1, value.Item2); + } + else + { + _taskQueue.Enqueue(new DeliveryNpcApproachTask(value.Item1, value.Item2, valueOrDefault)); + } + } + + private void EnqueueNavigateTo(ushort territoryId, Vector3 position) + { + _routeEnqueuer.Enqueue(_taskQueue, territoryId, position); + } + + private void EnqueueTurnInSequence(DeliveryPlan plan) + { + EnqueueNavigateToNpc(plan.NpcIndex); + _taskQueue.Enqueue(new Questionable.Controller.Steps.Common.Mount.UnmountTask()); + if (!_npcDataIds.ContainsKey(plan.NpcIndex)) + { + _logger.LogWarning("No DataId for delivery NPC index {NpcIndex}, turn-in may fail", plan.NpcIndex); + } + _taskQueue.Enqueue(new SatisfactionSupplyTurnInTask(plan.NpcIndex, plan.Slot, plan.DeliveryCount, _npcDataIds.GetValueOrDefault(plan.NpcIndex))); + _taskQueue.Enqueue(new WaitAtEnd.WaitDelay()); + } + + private static Dictionary BuildNpcPositionLookup(IDataManager dataManager) + { + Dictionary dictionary = new Dictionary(); + Dictionary dictionary2 = new Dictionary(); + foreach (SatisfactionNpc item in dataManager.GetExcelSheet()) + { + if (item.RowId != 0 && item.Npc.RowId != 0) + { + int value = (int)(item.RowId - 1); + dictionary2[item.Npc.RowId] = value; + } + } + foreach (Level item2 in dataManager.GetExcelSheet()) + { + if (item2.RowId != 0 && item2.Territory.IsValid && dictionary2.TryGetValue(item2.Object.RowId, out var value2)) + { + dictionary.TryAdd(value2, ((ushort)item2.Territory.RowId, new Vector3(item2.X, item2.Y, item2.Z))); + } + } + return dictionary; + } + + private static Dictionary BuildNpcDataIdLookup(IDataManager dataManager) + { + Dictionary dictionary = new Dictionary(); + foreach (SatisfactionNpc item in dataManager.GetExcelSheet()) + { + if (item.RowId != 0 && item.Npc.RowId != 0) + { + dictionary[(int)(item.RowId - 1)] = item.Npc.RowId; + } + } + return dictionary; + } + + private static Dictionary BuildNpcNameLookup(IDataManager dataManager) + { + Dictionary dictionary = new Dictionary(); + foreach (SatisfactionNpc item in dataManager.GetExcelSheet()) + { + if (item.RowId != 0 && item.Npc.RowId != 0) + { + dictionary[(int)(item.RowId - 1)] = item.Npc.Value.Singular.ToString(); + } + } + return dictionary; + } + + private bool HasEnoughItems(DeliveryPlan plan) + { + return GetItemCount(plan) >= plan.DeliveryCount; + } + + private unsafe int GetItemCount(DeliveryPlan plan) + { + return InventoryManager.Instance()->GetInventoryItemCount(plan.ItemId, isHq: false, checkEquipped: true, checkArmory: true, (short)plan.Collectability); + } +} diff --git a/Questionable/Questionable.Controller/DefinitionRegistry.cs b/Questionable/Questionable.Controller/DefinitionRegistry.cs new file mode 100644 index 0000000..c99439f --- /dev/null +++ b/Questionable/Questionable.Controller/DefinitionRegistry.cs @@ -0,0 +1,188 @@ +#define RELEASE +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Globalization; +using System.IO; +using System.Linq; +using System.Text.Json; +using System.Text.Json.Nodes; +using Dalamud.Plugin; +using Microsoft.Extensions.Logging; +using Questionable.Controller.Utils; +using Questionable.Validation; + +namespace Questionable.Controller; + +internal abstract class DefinitionRegistry where TDefinition : class +{ + private readonly IDalamudPluginInterface _pluginInterface; + + private readonly IDefinitionSchemaValidator _schemaValidator; + + private readonly QuestValidator _questValidator; + + private readonly ILogger _logger; + + private readonly Dictionary _definitions = new Dictionary(); + + public IReadOnlyDictionary Definitions => _definitions; + + protected abstract string TypeLabel { get; } + + protected abstract string ConfigDirectoryName { get; } + + protected abstract string ProjectDirectoryName { get; } + + protected abstract EPathType PathType { get; } + + protected DefinitionRegistry(IDalamudPluginInterface pluginInterface, IDefinitionSchemaValidator schemaValidator, QuestValidator questValidator, ILogger logger) + { + _pluginInterface = pluginInterface; + _schemaValidator = schemaValidator; + _questValidator = questValidator; + _logger = logger; + Reload(); + } + + protected abstract IReadOnlyDictionary GetAssemblyDefinitions(); + + protected virtual DateTime? GetExpiry(TDefinition definition) + { + return null; + } + + protected virtual string? GetName(TDefinition definition) + { + return null; + } + + public void Reload() + { + _definitions.Clear(); + _schemaValidator.Reset(); + LoadFromAssembly(); + try + { + LoadFromDirectory(new DirectoryInfo(Path.Combine(_pluginInterface.ConfigDirectory.FullName, ConfigDirectoryName))); + } + catch (Exception exception) + { + _logger.LogError(exception, "Failed to load {TypeLabel} definitions from user directory (some may have been successfully loaded)", TypeLabel); + } + foreach (ValidationIssue item in _schemaValidator.Validate()) + { + _questValidator.AddValidationIssue(item); + } + RemoveExpiredDefinitions(); + _logger.LogDebug("Loaded {Count} {TypeLabel} definitions in total", _definitions.Count, TypeLabel); + } + + [Conditional("RELEASE")] + private void LoadFromAssembly() + { + IReadOnlyDictionary assemblyDefinitions = GetAssemblyDefinitions(); + foreach (var (key, value) in assemblyDefinitions) + { + _definitions[key] = value; + } + _logger.LogDebug("Loaded {Count} {TypeLabel} definitions from assembly", assemblyDefinitions.Count, TypeLabel); + } + + [Conditional("DEBUG")] + private void LoadFromProjectDirectory() + { + DirectoryInfo directoryInfo = _pluginInterface.AssemblyLocation.Directory?.Parent?.Parent; + if (directoryInfo == null) + { + return; + } + DirectoryInfo directory = new DirectoryInfo(Path.Combine(directoryInfo.FullName, "Paths", ProjectDirectoryName)); + try + { + LoadFromDirectory(directory); + } + catch (Exception exception) + { + _definitions.Clear(); + _logger.LogError(exception, "Failed to load {TypeLabel} definitions from project directory", TypeLabel); + } + } + + private void LoadFromDirectory(DirectoryInfo directory) + { + if (!directory.Exists) + { + _logger.LogDebug("Not loading {TypeLabel} definitions from {DirectoryName} (doesn't exist)", TypeLabel, directory); + return; + } + FileInfo[] files = directory.GetFiles("*.json"); + foreach (FileInfo fileInfo in files) + { + ushort? num = ExtractIdFromName(fileInfo.Name); + if (!num.HasValue) + { + continue; + } + try + { + using FileStream utf8Json = fileInfo.OpenRead(); + JsonNode jsonNode = JsonNode.Parse(utf8Json); + if (jsonNode != null) + { + _schemaValidator.Enqueue(num.Value, jsonNode); + TDefinition val = jsonNode.Deserialize(); + if (val != null) + { + _definitions[num.Value] = val; + } + } + } + catch (JsonException ex) + { + _logger.LogError(ex, "Unable to parse {TypeLabel} definition file {FileName}", TypeLabel, fileInfo.FullName); + _questValidator.AddValidationIssue(new ValidationIssue + { + PathType = PathType, + Id = num.Value.ToString(CultureInfo.InvariantCulture), + Location = null, + Type = EIssueType.InvalidJsonSyntax, + Severity = EIssueSeverity.Error, + Description = "JSON syntax error in " + fileInfo.Name + ": " + ex.Message + }); + } + catch (Exception exception) + { + _logger.LogError(exception, "Unable to load {TypeLabel} definition file {FileName}", TypeLabel, fileInfo.FullName); + } + } + } + + private void RemoveExpiredDefinitions() + { + foreach (ushort item in (from kvp in _definitions.Where(delegate(KeyValuePair kvp) + { + DateTime? expiry = GetExpiry(kvp.Value); + if (expiry.HasValue) + { + DateTime valueOrDefault = expiry.GetValueOrDefault(); + return ExpiryUtils.NormalizeExpiry(valueOrDefault) < DateTime.UtcNow; + } + return false; + }) + select kvp.Key).ToList()) + { + _logger.LogDebug("Removing expired {TypeLabel} definition {Id} '{Name}'", TypeLabel, item, GetName(_definitions[item]) ?? item.ToString(CultureInfo.InvariantCulture)); + _definitions.Remove(item); + } + } + + private static ushort? ExtractIdFromName(string fileName) + { + if (!ushort.TryParse(Path.GetFileNameWithoutExtension(fileName).Split('_', 2)[0], out var result)) + { + return null; + } + return result; + } +} diff --git a/Questionable/Questionable.Controller/EQuestResolutionType.cs b/Questionable/Questionable.Controller/EQuestResolutionType.cs new file mode 100644 index 0000000..195822c --- /dev/null +++ b/Questionable/Questionable.Controller/EQuestResolutionType.cs @@ -0,0 +1,16 @@ +namespace Questionable.Controller; + +internal enum EQuestResolutionType +{ + Simulated, + NextQuest, + ManualPriority, + InProgressClassQuest, + NewClassQuest, + MsqImmediate, + TrackedQuest, + AutoPriority, + MsqFallback, + LevelingMode, + NoQuest +} diff --git a/Questionable/Questionable.Controller/ERepairDecision.cs b/Questionable/Questionable.Controller/ERepairDecision.cs new file mode 100644 index 0000000..a8421f6 --- /dev/null +++ b/Questionable/Questionable.Controller/ERepairDecision.cs @@ -0,0 +1,8 @@ +namespace Questionable.Controller; + +internal enum ERepairDecision +{ + NotNeeded, + Enqueued, + BlockDuty +} diff --git a/Questionable/Questionable.Controller/FateController.cs b/Questionable/Questionable.Controller/FateController.cs index d8c1d42..bfcb5d6 100644 --- a/Questionable/Questionable.Controller/FateController.cs +++ b/Questionable/Questionable.Controller/FateController.cs @@ -1,7 +1,5 @@ using System; -using System.Collections.Generic; using System.Globalization; -using System.Runtime.InteropServices; using Dalamud.Plugin.Services; using Microsoft.Extensions.Logging; using Questionable.Controller.Steps; @@ -11,6 +9,7 @@ using Questionable.Controller.Steps.Movement; using Questionable.Controller.Steps.Shared; using Questionable.Functions; using Questionable.Model.Questing; +using Questionable.Navigation; namespace Questionable.Controller; @@ -20,9 +19,7 @@ internal sealed class FateController : MiniTaskController private readonly GameFunctions _gameFunctions; - private readonly IClientState _clientState; - - private readonly ILogger _logger; + private readonly SmartNavRouteEnqueuer _routeEnqueuer; private FateDefinition? _currentFate; @@ -36,6 +33,8 @@ internal sealed class FateController : MiniTaskController public FateDefinition? CurrentFate => _currentFate; + public TaskQueue TaskQueue => _taskQueue; + public int CompletedCycles => _completedCycles; public int? CycleLimit => _cycleLimit; @@ -52,13 +51,12 @@ internal sealed class FateController : MiniTaskController } } - public FateController(IChatGui chatGui, ICondition condition, IServiceProvider serviceProvider, InterruptHandler interruptHandler, IDataManager dataManager, ILogger logger, MovementController movementController, GameFunctions gameFunctions, IClientState clientState) - : base(chatGui, condition, serviceProvider, interruptHandler, dataManager, logger) + public FateController(IChatGui chatGui, ICondition condition, IServiceProvider serviceProvider, InterruptHandler interruptHandler, IDataManager dataManager, Configuration configuration, ILogger logger, MovementController movementController, GameFunctions gameFunctions, SmartNavRouteEnqueuer routeEnqueuer) + : base(chatGui, condition, serviceProvider, interruptHandler, dataManager, configuration, logger) { _movementController = movementController; _gameFunctions = gameFunctions; - _clientState = clientState; - _logger = logger; + _routeEnqueuer = routeEnqueuer; } public void Start(FateDefinition fate, int? cycleLimit = null) @@ -73,7 +71,7 @@ internal sealed class FateController : MiniTaskController public void Update() { - if (_currentFate == null || _movementController.IsPathfinding || _movementController.IsPathRunning) + if (_currentFate == null || _movementController.IsPathfinding || _movementController.IsPathRunning || _gameFunctions.IsOccupied()) { return; } @@ -95,23 +93,20 @@ internal sealed class FateController : MiniTaskController { if (_currentFate != null) { - _logger.LogInformation("Enqueuing FATE cycle for {FateName}", _currentFate.Name); - if (_clientState.TerritoryType != _currentFate.TerritoryId) - { - _taskQueue.Enqueue(new AetheryteShortcut.Task(null, null, _currentFate.Aetheryte, _currentFate.TerritoryId)); - } + _logger.LogDebug("Enqueuing FATE cycle for {FateName}", _currentFate.Name); + _routeEnqueuer.Enqueue(_taskQueue, _currentFate.TerritoryId, _currentFate.Position, 5f); if (_currentFate.RequiredStatusId.HasValue && _currentFate.TransformNpcDataId.HasValue && _currentFate.TransformNpcPosition.HasValue && !_gameFunctions.HasStatus(_currentFate.RequiredStatusId.Value)) { - _logger.LogInformation("Player missing required status {StatusId}, enqueuing transform", _currentFate.RequiredStatusId.Value); - _taskQueue.Enqueue(new MoveTask(_currentFate.TerritoryId, _currentFate.TransformNpcPosition.Value, null, 3f)); + _logger.LogDebug("Player missing required status {StatusId}, enqueuing transform", _currentFate.RequiredStatusId.Value); + _taskQueue.Enqueue(new MoveTask(_currentFate.TerritoryId, _currentFate.TransformNpcPosition.Value, null, MountRequired: false, DismountRequired: false, 3f)); _taskQueue.Enqueue(new Mount.UnmountTask()); TaskQueue taskQueue = _taskQueue; uint value = _currentFate.TransformNpcDataId.Value; EStatus? requiredStatusId = _currentFate.RequiredStatusId; taskQueue.Enqueue(new Interact.Task(value, null, EInteractionType.Interact, SkipMarkerCheck: true, null, null, null, null, requiredStatusId)); _taskQueue.Enqueue(new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(2L))); + _taskQueue.Enqueue(new MoveTask(_currentFate.TerritoryId, _currentFate.Position, null, MountRequired: false, DismountRequired: false, 5f)); } - _taskQueue.Enqueue(new MoveTask(_currentFate.TerritoryId, _currentFate.Position, null, 5f)); _taskQueue.Enqueue(new Mount.UnmountTask()); _taskQueue.Enqueue(new FateFarming.WaitForFateTargets(_currentFate.Targets)); _taskQueue.Enqueue(new FateFarming.SyncFateLevel()); @@ -120,8 +115,19 @@ internal sealed class FateController : MiniTaskController } } + public void Replan() + { + if (_currentFate != null) + { + _logger.LogInformation("Re-planning FATE cycle for {FateName}", _currentFate.Name); + _taskQueue.Reset(); + EnqueueFateCycle(); + } + } + public override void Stop(string label) { + base.Stop(label); if (_currentFate != null) { _logger.LogInformation("Stopping FATE farming: {Label} (completed {Cycles} cycles)", label, _completedCycles); @@ -130,36 +136,11 @@ internal sealed class FateController : MiniTaskController _logger.LogInformation("Using stop action {Action} to remove transformation", _currentFate.StopAction.Value); _gameFunctions.UseAction(_currentFate.StopAction.Value); } + _routeEnqueuer.ClearDestination(); _currentFate = null; _completedCycles = 0; _cycleLimit = null; _taskQueue.Reset(); } } - - public override IList GetRemainingTaskNames() - { - ITask task = _taskQueue.CurrentTaskExecutor?.CurrentTask; - if (task != null) - { - string text = task.ToString() ?? "?"; - IList remainingTaskNames = base.GetRemainingTaskNames(); - int num = 1 + remainingTaskNames.Count; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - Span span = CollectionsMarshal.AsSpan(list); - int num2 = 0; - span[num2] = text; - num2++; - { - foreach (string item in remainingTaskNames) - { - span[num2] = item; - num2++; - } - return list; - } - } - return base.GetRemainingTaskNames(); - } } diff --git a/Questionable/Questionable.Controller/FateDefinitionRegistry.cs b/Questionable/Questionable.Controller/FateDefinitionRegistry.cs index f296b90..278f50c 100644 --- a/Questionable/Questionable.Controller/FateDefinitionRegistry.cs +++ b/Questionable/Questionable.Controller/FateDefinitionRegistry.cs @@ -1,148 +1,41 @@ -#define RELEASE using System; using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using System.Linq; -using System.Text.Json; using Dalamud.Plugin; using Microsoft.Extensions.Logging; using Questionable.FatePaths; using Questionable.Model.Questing; -using Questionable.Windows.QuestComponents; +using Questionable.Validation; +using Questionable.Validation.Validators; namespace Questionable.Controller; -internal sealed class FateDefinitionRegistry +internal sealed class FateDefinitionRegistry : DefinitionRegistry { - private readonly IDalamudPluginInterface _pluginInterface; + protected override string TypeLabel => "FATE"; - private readonly ILogger _logger; + protected override string ConfigDirectoryName => "FateDefinitions"; - private readonly Dictionary _definitions = new Dictionary(); + protected override string ProjectDirectoryName => "FatePaths"; - public IReadOnlyDictionary Definitions => _definitions; + protected override EPathType PathType => EPathType.Fate; - public FateDefinitionRegistry(IDalamudPluginInterface pluginInterface, ILogger logger) + public FateDefinitionRegistry(IDalamudPluginInterface pluginInterface, FateSchemaValidator fateSchemaValidator, QuestValidator questValidator, ILogger logger) + : base(pluginInterface, (IDefinitionSchemaValidator)fateSchemaValidator, questValidator, (ILogger)logger) { - _pluginInterface = pluginInterface; - _logger = logger; - Reload(); } - public void Reload() + protected override IReadOnlyDictionary GetAssemblyDefinitions() { - _definitions.Clear(); - LoadFromAssembly(); - try - { - LoadFromDirectory(new DirectoryInfo(Path.Combine(_pluginInterface.ConfigDirectory.FullName, "FateDefinitions"))); - } - catch (Exception exception) - { - _logger.LogError(exception, "Failed to load FATE definitions from user directory (some may have been successfully loaded)"); - } - RemoveExpiredDefinitions(); - _logger.LogInformation("Loaded {Count} FATE definitions in total", _definitions.Count); + return AssemblyFateDefinitionLoader.GetDefinitions(); } - [Conditional("RELEASE")] - private void LoadFromAssembly() + protected override DateTime? GetExpiry(FateDefinition definition) { - _logger.LogInformation("Loading FATE definitions from assembly"); - IReadOnlyDictionary definitions = AssemblyFateDefinitionLoader.GetDefinitions(); - _logger.LogInformation("AssemblyFateDefinitionLoader returned {Count} definitions", definitions.Count); - foreach (var (key, value) in definitions) - { - _definitions[key] = value; - } - _logger.LogInformation("Loaded {Count} FATE definitions from assembly", _definitions.Count); + return definition.EventExpiry; } - [Conditional("DEBUG")] - private void LoadFromProjectDirectory() + protected override string? GetName(FateDefinition definition) { - DirectoryInfo directoryInfo = _pluginInterface.AssemblyLocation.Directory?.Parent?.Parent; - if (directoryInfo == null) - { - return; - } - DirectoryInfo directoryInfo2 = new DirectoryInfo(Path.Combine(directoryInfo.FullName, "FatePaths")); - if (directoryInfo2.Exists) - { - try - { - LoadFromDirectory(directoryInfo2); - } - catch (Exception exception) - { - _definitions.Clear(); - _logger.LogError(exception, "Failed to load FATE definitions from project directory"); - } - } - } - - private void LoadFromDirectory(DirectoryInfo directory) - { - if (!directory.Exists) - { - _logger.LogInformation("Not loading FATE definitions from {DirectoryName} (doesn't exist)", directory); - return; - } - FileInfo[] files = directory.GetFiles("*.json"); - foreach (FileInfo fileInfo in files) - { - try - { - ushort? num = ExtractIdFromName(fileInfo.Name); - if (!num.HasValue) - { - continue; - } - using FileStream utf8Json = new FileStream(fileInfo.FullName, FileMode.Open, FileAccess.Read); - FateDefinition fateDefinition = JsonSerializer.Deserialize(utf8Json); - if (fateDefinition != null) - { - _definitions[num.Value] = fateDefinition; - } - } - catch (Exception exception) - { - _logger.LogError(exception, "Unable to load FATE definition file {FileName}", fileInfo.FullName); - } - } - } - - private void RemoveExpiredDefinitions() - { - foreach (ushort item in (from kvp in _definitions.Where>(delegate(KeyValuePair kvp) - { - DateTime? eventExpiry = kvp.Value.EventExpiry; - if (eventExpiry.HasValue) - { - DateTime valueOrDefault = eventExpiry.GetValueOrDefault(); - return EventInfoComponent.NormalizeExpiry(valueOrDefault) < DateTime.UtcNow; - } - return false; - }) - select kvp.Key).ToList()) - { - _logger.LogInformation("Removing expired FATE definition {Id} '{Name}'", item, _definitions[item].Name); - _definitions.Remove(item); - } - } - - private static ushort? ExtractIdFromName(string fileName) - { - string fileNameWithoutExtension = Path.GetFileNameWithoutExtension(fileName); - if (!fileNameWithoutExtension.Contains('_', StringComparison.Ordinal)) - { - return null; - } - if (ushort.TryParse(fileNameWithoutExtension.Split('_', 2)[0], out var result)) - { - return result; - } - return null; + return definition.Name; } } diff --git a/Questionable/Questionable.Controller/FishingController.cs b/Questionable/Questionable.Controller/FishingController.cs new file mode 100644 index 0000000..23c10d6 --- /dev/null +++ b/Questionable/Questionable.Controller/FishingController.cs @@ -0,0 +1,365 @@ +using System; +using System.Numerics; +using Dalamud.Game.ClientState.Conditions; +using Dalamud.Game.ClientState.Objects.SubKinds; +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using FFXIVClientStructs.FFXIV.Client.Game.Character; +using LLib.Fishing; +using Microsoft.Extensions.Logging; +using Questionable.Controller.CustomDelivery; +using Questionable.Controller.Steps; +using Questionable.Controller.Steps.Common; +using Questionable.Data; +using Questionable.External; +using Questionable.Navigation; + +namespace Questionable.Controller; + +internal sealed class FishingController : MiniTaskController +{ + public sealed record FishingRequest(uint ItemId, int Quantity, ushort Collectability); + + public enum EFishingState + { + Idle, + Navigating, + Orienting, + Preparing, + Fishing, + Complete + } + + private const long FishingTimeoutMs = 180000L; + + private const uint CollectorsGloveActionId = 4101u; + + private const uint CollectorsGloveStatusId = 805u; + + private const uint CastActionId = 289u; + + private const uint VersatileLureId = 29717u; + + private const int LurePurchaseQuantity = 99; + + private readonly FishingData _fishingData; + + private readonly AutoHookIpc _autoHookIpc; + + private readonly VendorResolverService _vendorResolver; + + private readonly NavmeshIpc _navmeshIpc; + + private readonly SmartNavRouteEnqueuer _routeEnqueuer; + + private readonly IObjectTable _objectTable; + + private readonly ICondition _condition; + + private FishingRequest? _currentRequest; + + private long _fishStartMs; + + private int _lastFishCount; + + private long _actionThrottle; + + private bool _baitReady; + + public EFishingState State { get; private set; } + + public bool IsRunning + { + get + { + if (State != EFishingState.Idle) + { + return State != EFishingState.Complete; + } + return false; + } + } + + public TaskQueue TaskQueue => _taskQueue; + + public uint? CurrentItemId => _currentRequest?.ItemId; + + public FishingController(FishingData fishingData, AutoHookIpc autoHookIpc, VendorResolverService vendorResolver, NavmeshIpc navmeshIpc, SmartNavRouteEnqueuer routeEnqueuer, IObjectTable objectTable, IChatGui chatGui, ICondition condition, IServiceProvider serviceProvider, InterruptHandler interruptHandler, IDataManager dataManager, Configuration configuration, ILogger logger) + : base(chatGui, condition, serviceProvider, interruptHandler, dataManager, configuration, logger) + { + _fishingData = fishingData; + _autoHookIpc = autoHookIpc; + _vendorResolver = vendorResolver; + _navmeshIpc = navmeshIpc; + _routeEnqueuer = routeEnqueuer; + _objectTable = objectTable; + _condition = condition; + } + + public bool Start(FishingRequest request) + { + if (State != EFishingState.Idle) + { + _logger.LogWarning("Cannot start fishing - already in state {State}", State); + return false; + } + if (!_autoHookIpc.IsAvailable()) + { + _logger.LogError("AutoHook is not available, cannot fish"); + return false; + } + _currentRequest = request; + _actionThrottle = 0L; + _baitReady = false; + _taskQueue.Reset(); + if (!TryEnqueueApproach(request)) + { + _currentRequest = null; + return false; + } + State = EFishingState.Navigating; + return true; + } + + private unsafe bool TryEnqueueApproach(FishingRequest request) + { + if (!_fishingData.TryGetFishingSpot(request.ItemId, out var spot)) + { + _logger.LogError("No fishing spot found for item {ItemId}", request.ItemId); + return false; + } + FishingSpotInfo value = spot.Value; + Vector3 vector = new Vector3(value.X, 0f, value.Z); + Vector3 vector2 = _navmeshIpc.GetPointOnFloor(vector, unlandable: false) ?? vector; + _logger.LogInformation("Starting fishing: item {ItemId}, spot {SpotId}, territory {Territory}, position {Position}", request.ItemId, value.SpotId, value.TerritoryId, vector2); + if (InventoryManager.Instance()->GetInventoryItemCount(29717u, isHq: false, checkEquipped: true, checkArmory: true, 0) <= 0 && !EnqueueLurePurchase()) + { + _logger.LogError("No Versatile Lure and no vendor found, cannot fish"); + return false; + } + EnqueueNavigateTo(value.TerritoryId, vector2); + _taskQueue.Enqueue(new Mount.UnmountTask()); + return true; + } + + protected override void OnRetryStep() + { + if (_currentRequest == null) + { + Stop("Retry without request"); + return; + } + _logger.LogInformation("Retrying fishing approach"); + _baitReady = false; + if (!TryEnqueueApproach(_currentRequest)) + { + Stop("Retry failed"); + } + else + { + State = EFishingState.Navigating; + } + } + + public EFishingState Update() + { + if (State == EFishingState.Idle || State == EFishingState.Complete) + { + return State; + } + if (_currentRequest == null) + { + Stop("No request"); + return EFishingState.Idle; + } + return State switch + { + EFishingState.Navigating => UpdateNavigating(), + EFishingState.Orienting => UpdateOrienting(), + EFishingState.Preparing => UpdatePreparing(), + EFishingState.Fishing => UpdateFishing(), + _ => State, + }; + } + + private EFishingState UpdateNavigating() + { + if (_taskQueue.AllTasksComplete) + { + _logger.LogDebug("Navigation complete, transitioning to orienting"); + State = EFishingState.Orienting; + return State; + } + UpdateCurrentTask(); + return State; + } + + private unsafe EFishingState UpdateOrienting() + { + IPlayerCharacter localPlayer = _objectTable.LocalPlayer; + if (localPlayer == null) + { + return State; + } + Vector3 position = localPlayer.Position; + (float, Vector3)? tuple = WaterSurfaceDetector.FindFishableRotation(position); + if (!tuple.HasValue) + { + _logger.LogWarning("No fishable rotation found at position {Position}", position); + Stop("No fishable water nearby"); + return State; + } + Vector3 item = tuple.Value.Item2; + _logger.LogDebug("Found fishable rotation, facing hit point {HitPoint}", item); + ActionManager.Instance()->AutoFaceTargetPosition(&item, 0uL); + State = EFishingState.Preparing; + return State; + } + + private unsafe EFishingState UpdatePreparing() + { + if (!CanUseActionNow()) + { + return State; + } + if (!_baitReady) + { + if (_autoHookIpc.SwapBaitById(29717u)) + { + _logger.LogDebug("Bait set to Versatile Lure"); + _baitReady = true; + _actionThrottle = Environment.TickCount64 + 500; + return State; + } + _logger.LogWarning("AutoHook failed to swap bait, stopping"); + Stop("Bait swap failed"); + return State; + } + if (_currentRequest.Collectability > 0) + { + IPlayerCharacter localPlayer = _objectTable.LocalPlayer; + if (localPlayer != null) + { + BattleChara* address = (BattleChara*)localPlayer.Address; + if (!address->GetStatusManager()->HasStatus(805u)) + { + if (ActionManager.Instance()->GetActionStatus(ActionType.Action, 4101u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0) + { + _logger.LogDebug("Activating Collector's Glove"); + ActionManager.Instance()->UseAction(ActionType.Action, 4101u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + _actionThrottle = Environment.TickCount64 + 1000; + } + return State; + } + } + } + _autoHookIpc.SetPluginState(enabled: true); + _autoHookIpc.SetAutoStartFishing(enabled: true); + _fishStartMs = Environment.TickCount64; + _lastFishCount = GetItemCount(); + State = EFishingState.Fishing; + _logger.LogDebug("AutoHook enabled, transitioning to fishing state"); + return State; + } + + private unsafe EFishingState UpdateFishing() + { + int itemCount = GetItemCount(); + if (itemCount > _lastFishCount) + { + _lastFishCount = itemCount; + _fishStartMs = Environment.TickCount64; + } + if (Environment.TickCount64 - _fishStartMs > 180000) + { + _logger.LogWarning("Fishing made no progress for {Timeout}ms", 180000L); + Stop("Fishing timeout"); + return State; + } + if (HasEnoughItems()) + { + if (!_condition[ConditionFlag.Fishing]) + { + _logger.LogDebug("Have enough items, fishing complete"); + State = EFishingState.Complete; + DisableAutoHookAutoStart(); + } + return State; + } + if (!_condition[ConditionFlag.Fishing] && !_condition[ConditionFlag.Casting] && CanUseActionNow() && ActionManager.Instance()->GetActionStatus(ActionType.Action, 289u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0) + { + _logger.LogDebug("Casting fishing rod"); + ActionManager.Instance()->UseAction(ActionType.Action, 289u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + _actionThrottle = Environment.TickCount64 + 2000; + } + return State; + } + + public override void Stop(string label) + { + base.Stop(label); + if (State != EFishingState.Idle || _currentRequest != null) + { + _logger.LogInformation("Stopping fishing controller: {Label}", label); + DisableAutoHookAutoStart(); + _routeEnqueuer.ClearDestination(); + _taskQueue.Reset(); + _currentRequest = null; + State = EFishingState.Idle; + } + } + + private void DisableAutoHookAutoStart() + { + try + { + _autoHookIpc.SetAutoStartFishing(enabled: false); + } + catch (Exception) + { + } + } + + private bool HasEnoughItems() + { + if (_currentRequest == null) + { + return true; + } + return GetItemCount() >= _currentRequest.Quantity; + } + + private unsafe int GetItemCount() + { + if (_currentRequest == null) + { + return 0; + } + return InventoryManager.Instance()->GetInventoryItemCount(_currentRequest.ItemId, isHq: false, checkEquipped: true, checkArmory: true, (short)_currentRequest.Collectability); + } + + private bool CanUseActionNow() + { + return Environment.TickCount64 >= _actionThrottle; + } + + private void EnqueueNavigateTo(ushort territoryId, Vector3 position) + { + _routeEnqueuer.Enqueue(_taskQueue, territoryId, position); + } + + private bool EnqueueLurePurchase() + { + VendorResolverService.VendorInfo? vendorInfo = _vendorResolver.ResolveVendor(29717u); + if (!vendorInfo.HasValue) + { + _logger.LogWarning("No vendor found selling Versatile Lure"); + return false; + } + _logger.LogInformation("No bait in inventory, purchasing {Quantity} Versatile Lure from vendor {VendorId}", 99, vendorInfo.Value.VendorNpcId); + EnqueueNavigateTo(vendorInfo.Value.TerritoryId, vendorInfo.Value.Position); + _taskQueue.Enqueue(new Mount.UnmountTask()); + _taskQueue.Enqueue(new VendorPurchaseTask(vendorInfo.Value.VendorNpcId, new global::_003C_003Ez__ReadOnlySingleElementList(new VendorPurchaseTask.PurchaseItem(29717u, 99)), vendorInfo.Value.DialogOptionIndex)); + return true; + } +} diff --git a/Questionable/Questionable.Controller/GatheringController.cs b/Questionable/Questionable.Controller/GatheringController.cs index 90c3b96..d38998f 100644 --- a/Questionable/Questionable.Controller/GatheringController.cs +++ b/Questionable/Questionable.Controller/GatheringController.cs @@ -60,14 +60,20 @@ internal sealed class GatheringController : MiniTaskController _logger; + private readonly Configuration _configuration; private readonly Regex _revisitRegex; private CurrentRequest? _currentRequest; - public GatheringController(MovementController movementController, GatheringPointRegistry gatheringPointRegistry, GameFunctions gameFunctions, NavmeshIpc navmeshIpc, IObjectTable objectTable, IChatGui chatGui, ILogger logger, ICondition condition, IServiceProvider serviceProvider, InterruptHandler interruptHandler, IDataManager dataManager, IPluginLog pluginLog) - : base(chatGui, condition, serviceProvider, interruptHandler, dataManager, logger) + private int _movementFailureCount; + + public bool IsRunning => _currentRequest != null; + + public uint? CurrentItemId => _currentRequest?.Data.ItemId; + + public GatheringController(MovementController movementController, GatheringPointRegistry gatheringPointRegistry, GameFunctions gameFunctions, NavmeshIpc navmeshIpc, IObjectTable objectTable, IChatGui chatGui, ILogger logger, ICondition condition, IServiceProvider serviceProvider, InterruptHandler interruptHandler, IDataManager dataManager, Configuration configuration, IPluginLog pluginLog) + : base(chatGui, condition, serviceProvider, interruptHandler, dataManager, configuration, logger) { _movementController = movementController; _gatheringPointRegistry = gatheringPointRegistry; @@ -75,12 +81,13 @@ internal sealed class GatheringController : MiniTaskController x.Text, pluginLog) ?? throw new InvalidDataException("No regex found for revisit message"); } public bool Start(GatheringRequest gatheringRequest) { + Stop("Start"); if (!_gatheringPointRegistry.TryGetGatheringPoint(gatheringRequest.GatheringPointId, out GatheringRoot gatheringRoot)) { _logger.LogError("Unable to resolve gathering point, no path found for {ItemId} / point {PointId}", gatheringRequest.ItemId, gatheringRequest.GatheringPointId); @@ -92,6 +99,7 @@ internal sealed class GatheringController : MiniTaskController x.Nodes.OrderBy((GatheringNode y) => y.Locations.Count)).ToList() }; + _movementFailureCount = 0; if (HasRequestedItems()) { _currentRequest = null; @@ -107,7 +115,7 @@ internal sealed class GatheringController : MiniTaskController _configuration.Advanced.InteractionRetryLimit) + { + _logger.LogError("Gathering movement retry limit exceeded after {Count} failures", _movementFailureCount); + return false; + } + if (_taskQueue.CurrentTaskExecutor?.CurrentTask is MoveTask { InteractionType: EInteractionType.WalkTo, DataId: null, Fly: not false, DisableNavmesh: false } moveTask) + { + List list = _taskQueue.RemainingTasks.ToList(); + MoveTask moveTask2 = moveTask._003CClone_003E_0024(); + Vector3 destination = moveTask.Destination; + destination.Y = moveTask.Destination.Y + 30f; + moveTask2.Destination = destination; + moveTask2.DisableNavmesh = true; + MoveTask moveTask3 = moveTask2; + _logger.LogInformation("Navmesh could not reach the gathering cluster; retrying the broad approach as a direct flight"); + _taskQueue.Reset(); + TaskQueue taskQueue = _taskQueue; + ITask task = moveTask3; + List list2 = list; + int num = 0; + ITask[] array = new ITask[1 + list2.Count]; + array[num] = task; + num++; + Span span = CollectionsMarshal.AsSpan(list2); + span.CopyTo(new Span(array).Slice(num, span.Length)); + num += span.Length; + taskQueue.EnqueueAll(new global::_003C_003Ez__ReadOnlyArray(array)); + return true; + } + _logger.LogInformation("Gathering movement failed, selecting another active node (attempt {Count}/{Limit})", _movementFailureCount, _configuration.Advanced.InteractionRetryLimit); + Replan(); + return true; + } + public override void Stop(string label) { + base.Stop(label); _currentRequest = null; _taskQueue.Reset(); } @@ -146,8 +215,13 @@ internal sealed class GatheringController : MiniTaskController steps = _currentRequest.Root.Steps; + ushort territoryId = steps[steps.Count - 1].TerritoryId; bool? fly = gatheringNode.Fly; bool? flyBetweenNodes = _currentRequest.Root.FlyBetweenNodes; bool flag = (fly ?? flyBetweenNodes ?? true) && _gameFunctions.IsFlyingUnlocked(territoryId); @@ -170,7 +244,7 @@ internal sealed class GatheringController : MiniTaskController source = currentNode.Locations.Select((GatheringLocation x) => _objectTable.FirstOrDefault((IGameObject y) => currentNode.DataId == y.BaseId && Vector3.Distance(x.Position, y.Position) < 0.1f)).ToList(); - if (source.Any((IGameObject x) => x == null)) + if (_objectTable.Any((IGameObject x) => x.ObjectKind == ObjectKind.GatheringPoint && x.BaseId == currentNode.DataId && x.IsTargetable)) { currentRequest.CurrentIndex = (num + 1) % currentRequest.Nodes.Count; return currentNode; } - if (source.Any((IGameObject x) => x?.IsTargetable ?? false)) + } + for (int num2 = 0; num2 < currentRequest.Nodes.Count; num2++) + { + int num3 = (currentRequest.CurrentIndex + num2) % currentRequest.Nodes.Count; + GatheringNode currentNode2 = currentRequest.Nodes[num3]; + if (currentNode2.Locations.Select((GatheringLocation x) => _objectTable.FirstOrDefault((IGameObject y) => currentNode2.DataId == y.BaseId && Vector3.Distance(x.Position, y.Position) < 0.1f)).ToList().Any((IGameObject x) => x == null)) { - currentRequest.CurrentIndex = (num + 1) % currentRequest.Nodes.Count; - return currentNode; + currentRequest.CurrentIndex = (num3 + 1) % currentRequest.Nodes.Count; + return currentNode2; } } return null; } - public override IList GetRemainingTaskNames() - { - ITask task = _taskQueue.CurrentTaskExecutor?.CurrentTask; - if (task != null) - { - string text = task.ToString() ?? "?"; - IList remainingTaskNames = base.GetRemainingTaskNames(); - int num = 1 + remainingTaskNames.Count; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - Span span = CollectionsMarshal.AsSpan(list); - int num2 = 0; - span[num2] = text; - num2++; - { - foreach (string item in remainingTaskNames) - { - span[num2] = item; - num2++; - } - return list; - } - } - return base.GetRemainingTaskNames(); - } - public void OnNormalToast(SeString message) { if (!_revisitRegex.IsMatch(message.TextValue)) { return; } + _logger.LogDebug("Revisit triggered for the current gathering node"); if (_taskQueue.CurrentTaskExecutor?.CurrentTask is IRevisitAware revisitAware) { revisitAware.OnRevisit(); diff --git a/Questionable/Questionable.Controller/GatheringPointRegistry.cs b/Questionable/Questionable.Controller/GatheringPointRegistry.cs index 09344b2..3277e08 100644 --- a/Questionable/Questionable.Controller/GatheringPointRegistry.cs +++ b/Questionable/Questionable.Controller/GatheringPointRegistry.cs @@ -3,9 +3,11 @@ using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; +using System.Globalization; using System.IO; using System.Linq; using System.Text.Json; +using System.Text.Json.Nodes; using Dalamud.Plugin; using LLib.GameData; using Microsoft.Extensions.Logging; @@ -13,108 +15,118 @@ using Questionable.Data; using Questionable.GatheringPaths; using Questionable.Model; using Questionable.Model.Gathering; +using Questionable.Validation; +using Questionable.Validation.Validators; namespace Questionable.Controller; -internal sealed class GatheringPointRegistry : IDisposable +internal sealed class GatheringPointRegistry { private readonly IDalamudPluginInterface _pluginInterface; - private readonly QuestRegistry _questRegistry; - private readonly GatheringData _gatheringData; - private readonly ILogger _logger; + private readonly GatheringSchemaValidator _gatheringSchemaValidator; - private readonly Dictionary _gatheringPoints = new Dictionary(); + private readonly QuestValidator _questValidator; - public GatheringPointRegistry(IDalamudPluginInterface pluginInterface, QuestRegistry questRegistry, GatheringData gatheringData, ILogger logger) + private readonly ILogger _logger; + + private volatile Dictionary _gatheringPoints = new Dictionary(); + + public GatheringPointRegistry(IDalamudPluginInterface pluginInterface, GatheringData gatheringData, GatheringSchemaValidator gatheringSchemaValidator, QuestValidator questValidator, ILogger logger) { _pluginInterface = pluginInterface; - _questRegistry = questRegistry; _gatheringData = gatheringData; + _gatheringSchemaValidator = gatheringSchemaValidator; + _questValidator = questValidator; _logger = logger; - _questRegistry.Reloaded += OnReloaded; } - private void OnReloaded(object? sender, EventArgs e) + public Dictionary Build() { - Reload(); - } - - public void Reload() - { - _gatheringPoints.Clear(); - LoadGatheringPointsFromAssembly(); + Dictionary dictionary = new Dictionary(); + _gatheringSchemaValidator.Reset(); + LoadGatheringPointsFromAssembly(dictionary); try { - LoadFromDirectory(new DirectoryInfo(Path.Combine(_pluginInterface.ConfigDirectory.FullName, "GatheringPoints"))); + LoadFromDirectory(dictionary, new DirectoryInfo(Path.Combine(_pluginInterface.ConfigDirectory.FullName, "GatheringPoints"))); } catch (Exception exception) { _logger.LogError(exception, "Failed to load gathering points from user directory (some may have been successfully loaded)"); } - _logger.LogInformation("Loaded {Count} gathering points in total", _gatheringPoints.Count); + foreach (ValidationIssue item in _gatheringSchemaValidator.Validate()) + { + _questValidator.AddValidationIssue(item); + } + _logger.LogDebug("Loaded {Count} gathering points in total", dictionary.Count); + return dictionary; + } + + public void Publish(Dictionary gatheringPoints) + { + _gatheringPoints = gatheringPoints; + } + + public void Reload() + { + Publish(Build()); } [Conditional("RELEASE")] - private void LoadGatheringPointsFromAssembly() + private void LoadGatheringPointsFromAssembly(Dictionary gatheringPoints) { - _logger.LogInformation("Loading gathering points from assembly"); - IReadOnlyDictionary locations = AssemblyGatheringLocationLoader.GetLocations(); - _logger.LogInformation("AssemblyGatheringLocationLoader returned {Count} locations", locations.Count); - foreach (var (value, value2) in locations) + foreach (var (value, value2) in AssemblyGatheringLocationLoader.GetLocations()) { - _gatheringPoints[new GatheringPointId(value)] = value2; + gatheringPoints[new GatheringPointId(value)] = value2; } - _logger.LogInformation("Loaded {Count} gathering points from assembly", _gatheringPoints.Count); + _logger.LogDebug("Loaded {Count} gathering points from assembly", gatheringPoints.Count); } [Conditional("DEBUG")] - private void LoadGatheringPointsFromProjectDirectory() + private void LoadGatheringPointsFromProjectDirectory(Dictionary gatheringPoints) { DirectoryInfo directoryInfo = _pluginInterface.AssemblyLocation.Directory?.Parent?.Parent; - _logger.LogInformation("Looking for gathering paths in solution directory: {SolutionDirectory}", directoryInfo?.FullName ?? "(null)"); - if (directoryInfo != null) + if (directoryInfo == null) { - DirectoryInfo directoryInfo2 = new DirectoryInfo(Path.Combine(directoryInfo.FullName, "GatheringPaths")); - _logger.LogInformation("Gathering paths project directory: {PathProjectDirectory}, Exists: {Exists}", directoryInfo2.FullName, directoryInfo2.Exists); - if (!directoryInfo2.Exists) + _logger.LogWarning("Could not determine solution directory from assembly location: {AssemblyLocation}", _pluginInterface.AssemblyLocation.FullName); + return; + } + DirectoryInfo directoryInfo2 = new DirectoryInfo(Path.Combine(directoryInfo.FullName, "Paths", "GatheringPaths")); + try + { + foreach (string value in ExpansionData.ExpansionFolders.Values) { - return; - } - try - { - foreach (string value in ExpansionData.ExpansionFolders.Values) - { - LoadFromDirectory(new DirectoryInfo(Path.Combine(directoryInfo2.FullName, value))); - } - return; - } - catch (Exception exception) - { - _gatheringPoints.Clear(); - _logger.LogError(exception, "Failed to load gathering points from project directory"); - return; + LoadFromDirectory(gatheringPoints, new DirectoryInfo(Path.Combine(directoryInfo2.FullName, value))); } } - _logger.LogWarning("Could not determine solution directory from assembly location: {AssemblyLocation}", _pluginInterface.AssemblyLocation.FullName); + catch (Exception exception) + { + gatheringPoints.Clear(); + _logger.LogError(exception, "Failed to load gathering points from project directory"); + } } - private void LoadGatheringPointFromStream(string fileName, Stream stream) + private void LoadGatheringPointFromStream(Dictionary gatheringPoints, string fileName, Stream stream) { GatheringPointId gatheringPointId = ExtractGatheringPointIdFromName(fileName); if (!(gatheringPointId == null)) { - _gatheringPoints[gatheringPointId] = JsonSerializer.Deserialize(stream); + JsonNode jsonNode = JsonNode.Parse(stream); + if (jsonNode != null) + { + _gatheringSchemaValidator.Enqueue(gatheringPointId.Value, jsonNode); + gatheringPoints[gatheringPointId] = jsonNode.Deserialize(); + } } } - private void LoadFromDirectory(DirectoryInfo directory) + private void LoadFromDirectory(Dictionary gatheringPoints, DirectoryInfo directory) { if (!directory.Exists) { - _logger.LogInformation("Not loading gathering points from {DirectoryName} (doesn't exist)", directory); + _logger.LogDebug("Not loading gathering points from {DirectoryName} (doesn't exist)", directory); return; } FileInfo[] files = directory.GetFiles("*.json"); @@ -122,8 +134,22 @@ internal sealed class GatheringPointRegistry : IDisposable { try { - using FileStream stream = new FileStream(fileInfo.FullName, FileMode.Open, FileAccess.Read); - LoadGatheringPointFromStream(fileInfo.Name, stream); + using FileStream stream = fileInfo.OpenRead(); + LoadGatheringPointFromStream(gatheringPoints, fileInfo.Name, stream); + } + catch (JsonException ex) + { + GatheringPointId gatheringPointId = ExtractGatheringPointIdFromName(fileInfo.Name); + _logger.LogError(ex, "Unable to parse gathering point file {FileName}", fileInfo.FullName); + _questValidator.AddValidationIssue(new ValidationIssue + { + PathType = EPathType.Gathering, + Id = gatheringPointId?.Value.ToString(CultureInfo.InvariantCulture), + Location = null, + Type = EIssueType.InvalidJsonSyntax, + Severity = EIssueSeverity.Error, + Description = "JSON syntax error in " + fileInfo.Name + ": " + ex.Message + }); } catch (Exception innerException) { @@ -133,19 +159,19 @@ internal sealed class GatheringPointRegistry : IDisposable DirectoryInfo[] directories = directory.GetDirectories(); foreach (DirectoryInfo directory2 in directories) { - LoadFromDirectory(directory2); + LoadFromDirectory(gatheringPoints, directory2); } } private static GatheringPointId? ExtractGatheringPointIdFromName(string resourceName) { - string text = resourceName.Substring(0, resourceName.Length - ".json".Length); - text = text.Substring(text.LastIndexOf('.') + 1); - if (!text.Contains('_', StringComparison.Ordinal)) + string fileNameWithoutExtension = Path.GetFileNameWithoutExtension(resourceName); + fileNameWithoutExtension = fileNameWithoutExtension.Substring(fileNameWithoutExtension.LastIndexOf('.') + 1); + if (!fileNameWithoutExtension.Contains('_', StringComparison.Ordinal)) { return null; } - return GatheringPointId.FromString(text.Split('_', 2)[0]); + return GatheringPointId.FromString(fileNameWithoutExtension.Split('_', 2)[0]); } public bool TryGetGatheringPoint(GatheringPointId gatheringPointId, [NotNullWhen(true)] out GatheringRoot? gatheringRoot) @@ -155,6 +181,7 @@ internal sealed class GatheringPointRegistry : IDisposable public bool TryGetGatheringPointId(uint itemId, EClassJob classJobId, [NotNullWhen(true)] out GatheringPointId? gatheringPointId) { + Dictionary gatheringPoints = _gatheringPoints; switch (classJobId) { case EClassJob.Miner: @@ -162,7 +189,7 @@ internal sealed class GatheringPointRegistry : IDisposable { return true; } - gatheringPointId = (from x in _gatheringPoints + gatheringPointId = (from x in gatheringPoints where x.Value.ExtraQuestItems.Contains(itemId) select x.Key).FirstOrDefault((GatheringPointId x) => _gatheringData.MinerGatheringPoints.Contains(x)); return gatheringPointId != null; @@ -171,7 +198,7 @@ internal sealed class GatheringPointRegistry : IDisposable { return true; } - gatheringPointId = (from x in _gatheringPoints + gatheringPointId = (from x in gatheringPoints where x.Value.ExtraQuestItems.Contains(itemId) select x.Key).FirstOrDefault((GatheringPointId x) => _gatheringData.BotanistGatheringPoints.Contains(x)); return gatheringPointId != null; @@ -180,9 +207,4 @@ internal sealed class GatheringPointRegistry : IDisposable return false; } } - - public void Dispose() - { - _questRegistry.Reloaded -= OnReloaded; - } } diff --git a/Questionable/Questionable.Controller/GearRepairService.cs b/Questionable/Questionable.Controller/GearRepairService.cs new file mode 100644 index 0000000..e409de9 --- /dev/null +++ b/Questionable/Questionable.Controller/GearRepairService.cs @@ -0,0 +1,143 @@ +using System; +using Dalamud.Game.ClientState.Conditions; +using Dalamud.Game.ClientState.Objects.SubKinds; +using Dalamud.Plugin.Services; +using LLib.GameData; +using LLib.Gear; +using Lumina.Excel; +using Lumina.Excel.Sheets; +using Microsoft.Extensions.Logging; +using Questionable.Controller.Steps; +using Questionable.Controller.Steps.Common; +using Questionable.Data; +using Questionable.Functions; +using Questionable.Model.Questing; +using Questionable.Navigation; + +namespace Questionable.Controller; + +internal sealed class GearRepairService(Configuration configuration, ICondition condition, IClientState clientState, IObjectTable objectTable, IDataManager dataManager, MenderDataService menderDataService, SmartNavRouteEnqueuer routeEnqueuer, AetheryteFunctions aetheryteFunctions, IChatGui chatGui, ILogger logger) +{ + private const int CriticalConditionPercent = 10; + + private const long AttemptCooldownMs = 300000L; + + private const long WarningCooldownMs = 300000L; + + private long _nextAttemptAtMs; + + private long _nextWarningAtMs; + + public void ResetAttemptCooldown() + { + _nextAttemptAtMs = 0L; + _nextWarningAtMs = 0L; + } + + public ERepairDecision EvaluateAndEnqueue(EInteractionType upcomingType, TaskQueue taskQueue) + { + bool flag = (uint)(upcomingType - 19) <= 1u; + bool flag2 = flag; + flag = (uint)(upcomingType - 30) <= 1u; + bool flag3 = flag; + if (!flag2 && !flag3) + { + return ERepairDecision.NotNeeded; + } + if (!configuration.General.RepairGear) + { + return ERepairDecision.NotNeeded; + } + if (condition[ConditionFlag.InCombat]) + { + return ERepairDecision.NotNeeded; + } + int? lowestConditionPercent = GearConditionHelper.GetLowestConditionPercent(); + if (!lowestConditionPercent.HasValue || lowestConditionPercent.Value >= configuration.General.RepairThresholdPercent) + { + return ERepairDecision.NotNeeded; + } + bool flag4 = flag2 && lowestConditionPercent.Value < 10; + if (Environment.TickCount64 < _nextAttemptAtMs) + { + if (flag4) + { + logger.LogError("Gear still critically damaged ({Condition}%) after recent repair attempt", lowestConditionPercent.Value); + return ERepairDecision.BlockDuty; + } + return ERepairDecision.NotNeeded; + } + if (TryEnqueueRepair(taskQueue, lowestConditionPercent.Value, out string failureReason)) + { + return ERepairDecision.Enqueued; + } + if (flag4) + { + logger.LogError("Gear critically damaged ({Condition}%) and unrepairable: {Reason}", lowestConditionPercent.Value, failureReason); + return ERepairDecision.BlockDuty; + } + if (Environment.TickCount64 >= _nextWarningAtMs) + { + _nextWarningAtMs = Environment.TickCount64 + 300000; + chatGui.Print($"Gear is at {lowestConditionPercent.Value}% condition but can't be repaired: {failureReason}", "Questionable", 576); + } + return ERepairDecision.NotNeeded; + } + + private bool TryEnqueueRepair(TaskQueue taskQueue, int lowestCondition, out string failureReason) + { + if (CanSelfRepair()) + { + logger.LogInformation("Lowest gear condition {Condition}%, self-repairing", lowestCondition); + taskQueue.Enqueue(new Questionable.Controller.Steps.Common.Mount.UnmountTask()); + taskQueue.Enqueue(new RepairGear.SelfRepairTask()); + MarkAttempt(); + failureReason = string.Empty; + return true; + } + IPlayerCharacter localPlayer = objectTable.LocalPlayer; + if (localPlayer != null) + { + MenderNpc menderNpc = menderDataService.FindNearestInTerritory((ushort)clientState.TerritoryType, localPlayer.Position); + if ((object)menderNpc != null) + { + logger.LogInformation("Lowest gear condition {Condition}%, visiting mender {DataId} in current zone", lowestCondition, menderNpc.DataId); + routeEnqueuer.Enqueue(taskQueue, menderNpc.TerritoryId, menderNpc.Position, 3f); + taskQueue.Enqueue(new Questionable.Controller.Steps.Common.Mount.UnmountTask()); + taskQueue.Enqueue(new RepairGear.MenderRepairTask(menderNpc)); + MarkAttempt(); + failureReason = string.Empty; + return true; + } + } + if (aetheryteFunctions.IsTeleportUnlocked()) + { + foreach (MenderNpc cityFallback in MenderDataService.CityFallbacks) + { + if (routeEnqueuer.TryEnqueueRouted(taskQueue, cityFallback.TerritoryId, cityFallback.Position)) + { + logger.LogInformation("Lowest gear condition {Condition}%, no zone mender - routing to city mender {DataId}", lowestCondition, cityFallback.DataId); + taskQueue.Enqueue(new Questionable.Controller.Steps.Common.Mount.UnmountTask()); + taskQueue.Enqueue(new RepairGear.MenderRepairTask(cityFallback)); + MarkAttempt(); + failureReason = string.Empty; + return true; + } + } + } + failureReason = "no dark matter or crafter levels for self-repair, and no reachable mender"; + return false; + } + + private bool CanSelfRepair() + { + ExcelSheet classJobSheet = dataManager.GetExcelSheet(); + ClassJob row; + return RepairActions.CanSelfRepairAny(dataManager, (uint classJobId) => (byte)(classJobSheet.TryGetRow(classJobId, out row) ? ((byte)PlayerStateHelper.GetClassJobLevel(row.ExpArrayIndex)) : 0), configuration.General.RepairThresholdPercent); + } + + private void MarkAttempt() + { + _nextAttemptAtMs = Environment.TickCount64 + 300000; + } +} diff --git a/Questionable/Questionable.Controller/InterruptHandler.cs b/Questionable/Questionable.Controller/InterruptHandler.cs index f336ec8..3bc5d90 100644 --- a/Questionable/Questionable.Controller/InterruptHandler.cs +++ b/Questionable/Questionable.Controller/InterruptHandler.cs @@ -1,6 +1,6 @@ using System; using System.Runtime.InteropServices; -using Dalamud.Game.ClientState.Objects.Types; +using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Hooking; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game; @@ -127,7 +127,7 @@ internal sealed class InterruptHandler : IDisposable Interrupt = 75 } - private readonly Hook _processActionEffectHook; + private readonly Hook? _processActionEffectHook; private readonly IClientState _clientState; @@ -145,8 +145,16 @@ internal sealed class InterruptHandler : IDisposable _objectTable = objectTable; _territoryData = territoryData; _logger = logger; - _processActionEffectHook = gameInteropProvider.HookFromAddress(ActionEffectHandler.Addresses.Receive.Value, HandleProcessActionEffect); - _processActionEffectHook.Enable(); + try + { + _processActionEffectHook = gameInteropProvider.HookFromAddress(ActionEffectHandler.Addresses.Receive.Value, HandleProcessActionEffect); + _processActionEffectHook.Enable(); + } + catch (Exception exception) + { + _logger.LogError(exception, "Failed to hook ProcessActionEffect; combat interrupt detection disabled (a game restart usually restores it)"); + _processActionEffectHook = null; + } } private unsafe void HandleProcessActionEffect(uint sourceId, Character* sourceCharacter, Vector3* pos, EffectHeader* effectHeader, EffectEntry* effectArray, ulong* effectTail) @@ -157,12 +165,12 @@ internal sealed class InterruptHandler : IDisposable { return; } - IGameObject gameObject = _objectTable[0]; + IPlayerCharacter localPlayer = _objectTable.LocalPlayer; for (int i = 0; i < effectHeader->TargetCount; i++) { int num = (int)(effectTail[i] & 0xFFFFFFFFu); EffectEntry* ptr = effectArray + 8 * i; - bool flag = (uint)num == gameObject?.GameObjectId; + bool flag = (uint)num == localPlayer?.GameObjectId; if (flag) { EActionEffectType type = ptr->Type; @@ -189,7 +197,10 @@ internal sealed class InterruptHandler : IDisposable public void Dispose() { - _processActionEffectHook.Disable(); - _processActionEffectHook.Dispose(); + if (_processActionEffectHook != null) + { + _processActionEffectHook.Disable(); + _processActionEffectHook.Dispose(); + } } } diff --git a/Questionable/Questionable.Controller/MiniTaskController.cs b/Questionable/Questionable.Controller/MiniTaskController.cs index 3897001..0b7d3c1 100644 --- a/Questionable/Questionable.Controller/MiniTaskController.cs +++ b/Questionable/Questionable.Controller/MiniTaskController.cs @@ -31,7 +31,9 @@ internal abstract class MiniTaskController : IDisposable private readonly InterruptHandler _interruptHandler; - private readonly ILogger _logger; + private readonly Configuration _configuration; + + protected readonly ILogger _logger; private readonly Regex _actionCanceledText; @@ -39,13 +41,20 @@ internal abstract class MiniTaskController : IDisposable private readonly string _cantExecuteDueToStatusText; - protected MiniTaskController(IChatGui chatGui, ICondition condition, IServiceProvider serviceProvider, InterruptHandler interruptHandler, IDataManager dataManager, ILogger logger) + private ITask? _lastInterruptedTask; + + private int _interruptRetryCount; + + private int _retryStepCount; + + protected MiniTaskController(IChatGui chatGui, ICondition condition, IServiceProvider serviceProvider, InterruptHandler interruptHandler, IDataManager dataManager, Configuration configuration, ILogger logger) { _chatGui = chatGui; _logger = logger; _serviceProvider = serviceProvider; _interruptHandler = interruptHandler; _condition = condition; + _configuration = configuration; _eventCanceledText = dataManager.GetString(1318u, (LogMessage x) => x.Text); _actionCanceledText = dataManager.GetRegex(1314u, (LogMessage x) => x.Text); _cantExecuteDueToStatusText = dataManager.GetString(7728u, (LogMessage x) => x.Text); @@ -62,14 +71,21 @@ internal abstract class MiniTaskController : IDisposable } try { - _logger.LogInformation("Starting task {TaskName}", task.ToString()); + _logger.LogDebug("Starting task {TaskName}", task.ToString()); ITaskExecutor requiredKeyedService = _serviceProvider.GetRequiredKeyedService(task.GetType()); if (requiredKeyedService.Start(task)) { _taskQueue.CurrentTaskExecutor = requiredKeyedService; - return; + if (task != _lastInterruptedTask) + { + _lastInterruptedTask = null; + _interruptRetryCount = 0; + } + } + else + { + _logger.LogTrace("Task {TaskName} was skipped", task.ToString()); } - _logger.LogTrace("Task {TaskName} was skipped", task.ToString()); return; } catch (Exception exception) @@ -80,30 +96,62 @@ internal abstract class MiniTaskController : IDisposable return; } } + ITaskExecutor currentTaskExecutor = _taskQueue.CurrentTaskExecutor; + ITask currentTask = currentTaskExecutor.CurrentTask; ETaskResult eTaskResult; try { - if (_taskQueue.CurrentTaskExecutor.WasInterrupted()) + if (currentTaskExecutor.WasInterrupted()) { InterruptQueueWithCombat(); return; } - eTaskResult = _taskQueue.CurrentTaskExecutor.Update(); + if (currentTaskExecutor.HasTimedOut(_configuration.Advanced.InteractionTimeoutSeconds)) + { + _logger.LogWarning("Task {TaskName} timed out after {Timeout}s", currentTask, _configuration.Advanced.InteractionTimeoutSeconds); + if (_condition[ConditionFlag.InCombat]) + { + InterruptQueueWithCombat(); + return; + } + _retryStepCount++; + if (_retryStepCount > _configuration.Advanced.InteractionRetryLimit) + { + _logger.LogError("Non-combat timeout retry limit exceeded after {Count} retries, stopping", _retryStepCount); + Stop("Non-combat timeout retry limit exceeded"); + } + else + { + _logger.LogDebug("Not in combat, retrying step (attempt {Count}/{Limit})", _retryStepCount, _configuration.Advanced.InteractionRetryLimit); + _taskQueue.Reset(); + OnRetryStep(); + } + return; + } + eTaskResult = currentTaskExecutor.Update(); + } + catch (MovementController.PathfindingFailedException) + { + throw; } catch (Exception exception2) { - _logger.LogError(exception2, "Failed to update task {TaskName}", _taskQueue.CurrentTaskExecutor.CurrentTask.ToString()); - _chatGui.PrintError($"Failed to update task '{_taskQueue.CurrentTaskExecutor.CurrentTask}', please check /xllog for details.", "Questionable", 576); + _logger.LogError(exception2, "Failed to update task {TaskName}", currentTask); + _chatGui.PrintError($"Failed to update task '{currentTask}', please check /xllog for details.", "Questionable", 576); Stop("Task failed to update"); return; } + if (_taskQueue.CurrentTaskExecutor != currentTaskExecutor) + { + return; + } switch (eTaskResult) { case ETaskResult.StillRunning: break; case ETaskResult.SkipRemainingTasksForStep: { - _logger.LogInformation("{Task} → {Result}, skipping remaining tasks for step", _taskQueue.CurrentTaskExecutor.CurrentTask, eTaskResult); + _logger.LogDebug("{Task} → {Result}, skipping remaining tasks for step", currentTask, eTaskResult); _taskQueue.CurrentTaskExecutor = null; ITask task3; while (_taskQueue.TryDequeue(out task3)) @@ -120,24 +168,37 @@ internal abstract class MiniTaskController : IDisposable } case ETaskResult.TaskComplete: case ETaskResult.CreateNewTasks: - _logger.LogInformation("{Task} → {Result}, remaining tasks: {RemainingTaskCount}", _taskQueue.CurrentTaskExecutor.CurrentTask, eTaskResult, _taskQueue.RemainingTasks.Count()); - OnTaskComplete(_taskQueue.CurrentTaskExecutor.CurrentTask); - if (eTaskResult == ETaskResult.CreateNewTasks && _taskQueue.CurrentTaskExecutor is IExtraTaskCreator extraTaskCreator) + _logger.LogDebug("{Task} → {Result}, remaining tasks: {RemainingTaskCount}", currentTask, eTaskResult, _taskQueue.RemainingTasks.Count()); + OnTaskComplete(currentTask); + if (eTaskResult == ETaskResult.CreateNewTasks && currentTaskExecutor is IExtraTaskCreator extraTaskCreator) { _taskQueue.EnqueueAll(extraTaskCreator.CreateExtraTasks()); } _taskQueue.CurrentTaskExecutor = null; break; + case ETaskResult.RetryStep: + _retryStepCount++; + if (_retryStepCount > _configuration.Advanced.InteractionRetryLimit) + { + _logger.LogError("RetryStep limit exceeded after {Count} retries, stopping", _retryStepCount); + Stop("RetryStep limit exceeded"); + break; + } + _logger.LogDebug("{Task} → {Result}, retrying current step (attempt {Count}/{Limit})", currentTask, eTaskResult, _retryStepCount, _configuration.Advanced.InteractionRetryLimit); + _taskQueue.Reset(); + OnRetryStep(); + break; case ETaskResult.NextStep: { - _logger.LogInformation("{Task} → {Result}", _taskQueue.CurrentTaskExecutor.CurrentTask, eTaskResult); - ILastTask task2 = (ILastTask)_taskQueue.CurrentTaskExecutor.CurrentTask; + _logger.LogDebug("{Task} → {Result}", currentTask, eTaskResult); + _retryStepCount = 0; + ILastTask task2 = (ILastTask)currentTask; _taskQueue.CurrentTaskExecutor = null; OnNextStep(task2); break; } case ETaskResult.End: - _logger.LogInformation("{Task} → {Result}", _taskQueue.CurrentTaskExecutor.CurrentTask, eTaskResult); + _logger.LogDebug("{Task} → {Result}", currentTask, eTaskResult); _taskQueue.CurrentTaskExecutor = null; Stop("Task end"); break; @@ -148,20 +209,63 @@ internal abstract class MiniTaskController : IDisposable { } + protected virtual void OnRetryStep() + { + _logger.LogWarning("RetryStep not handled by this controller, stopping"); + Stop("RetryStep not supported"); + } + + protected void ResetStepRetryCounter() + { + _retryStepCount = 0; + } + protected virtual void OnNextStep(ILastTask task) { } - public abstract void Stop(string label); + public virtual void Stop(string label) + { + if (_taskQueue.CurrentTaskExecutor is IStoppableTaskExecutor stoppableTaskExecutor) + { + stoppableTaskExecutor.StopNow(); + } + _retryStepCount = 0; + } public virtual IList GetRemainingTaskNames() { + ITask task = _taskQueue.CurrentTaskExecutor?.CurrentTask; + if (task != null) + { + List list = new List(); + list.Add(task.ToString() ?? "?"); + list.AddRange(_taskQueue.RemainingTasks.Select((ITask x) => x.ToString() ?? "?")); + return list; + } return _taskQueue.RemainingTasks.Select((ITask x) => x.ToString() ?? "?").ToList(); } public void InterruptQueueWithCombat() { - _logger.LogWarning("Interrupted, attempting to resolve (if in combat)"); + ITask task = _taskQueue.CurrentTaskExecutor?.CurrentTask; + if (task == _lastInterruptedTask) + { + _interruptRetryCount++; + if (_interruptRetryCount > _configuration.Advanced.InteractionRetryLimit) + { + _logger.LogError("Task {TaskName} exceeded retry limit of {Limit}, stopping", task, _configuration.Advanced.InteractionRetryLimit); + _chatGui.PrintError($"Task '{task}' failed after {_configuration.Advanced.InteractionRetryLimit} retries.", "Questionable", 576); + Stop("Retry limit exceeded"); + return; + } + } + else + { + _lastInterruptedTask = task; + _interruptRetryCount = 1; + } + _logger.LogWarning("Interrupted (attempt {Retry}/{Limit}), attempting to resolve (if in combat)", _interruptRetryCount, _configuration.Advanced.InteractionRetryLimit); if (_condition[ConditionFlag.InCombat]) { List list = new List(); @@ -202,10 +306,10 @@ internal abstract class MiniTaskController : IDisposable private void LogTasksAfterInterruption() { - _logger.LogInformation("Remaining tasks after interruption:"); + _logger.LogDebug("Remaining tasks after interruption:"); foreach (ITask remainingTask in _taskQueue.RemainingTasks) { - _logger.LogInformation("- {TaskName}", remainingTask); + _logger.LogDebug("- {TaskName}", remainingTask); } } diff --git a/Questionable/Questionable.Controller/MovementController.cs b/Questionable/Questionable.Controller/MovementController.cs index 2296b8e..7cac6b2 100644 --- a/Questionable/Questionable.Controller/MovementController.cs +++ b/Questionable/Questionable.Controller/MovementController.cs @@ -13,35 +13,31 @@ using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin.Ipc.Exceptions; using Dalamud.Plugin.Services; -using FFXIVClientStructs.FFXIV.Client.Enums; using FFXIVClientStructs.FFXIV.Client.Game; using FFXIVClientStructs.FFXIV.Client.Game.Control; +using LLib; using Microsoft.Extensions.Logging; using Questionable.Controller.NavigationOverrides; using Questionable.Data; using Questionable.External; using Questionable.Functions; using Questionable.Model; -using Questionable.Model.Common; -using Questionable.Model.Common.Converter; using Questionable.Model.Questing; +using SmartNav.Data; +using SmartNav.Model; +using SmartNav.Model.Converter; namespace Questionable.Controller; internal sealed class MovementController : IDisposable { - public sealed record DestinationData(EMovementType MovementType, uint? DataId, Vector3 Position, float StopDistance, bool IsFlying, bool CanSprint, float VerticalStopDistance, bool Land, bool UseNavmesh) + public sealed record DestinationData(EMovementType MovementType, uint? DataId, Vector3 Position, float StopDistance, bool IsFlying, bool CanSprint, float VerticalStopDistance, bool Land, bool UseNavmesh, bool IsSmartNavRouted) { public int NavmeshCalculations { get; set; } public List PartialRoute { get; } = new List(); public LastWaypointData? LastWaypoint { get; set; } - - public bool ShouldRecalculateNavmesh() - { - return NavmeshCalculations < 10; - } } public sealed record LastWaypointData(Vector3 Position) @@ -70,32 +66,58 @@ internal sealed class MovementController : IDisposable public const float DefaultVerticalInteractionDistance = 1.95f; + private const float FlyLandHeightOffset = 2.6f; + + private const float FlyLandPathfindTolerance = 5f; + + private const float FlyLandLastResortTolerance = 10f; + + private const float RouteEndTolerance = 5f; + + private const float DefaultArrivalTolerance = 0.25f; + + private const int LandingSettleTime = 500; + + private const int LandingTimeout = 10000; + + private const float FlyingStartYNudge = 0.2f; + + private const float DragonheadStartYNudge = 1f; + private readonly NavmeshIpc _navmeshIpc; + private readonly WigglyNavAvailability _wigglyNavAvailability; + + private readonly IFramework _framework; + private readonly IClientState _clientState; private readonly IObjectTable _objectTable; private readonly GameFunctions _gameFunctions; - private readonly ChatFunctions _chatFunctions; - private readonly ICondition _condition; private readonly MovementOverrideController _movementOverrideController; private readonly AetheryteData _aetheryteData; + private readonly TerritoryData _territoryData; + private readonly Configuration _configuration; private readonly ILogger _logger; private CancellationTokenSource? _cancellationTokenSource; - private Task>? _pathfindTask; + private Task? _pathfindTask; + + private float _pathfindTolerance = 0.25f; private long _pathfindStartTime; + private bool _pathfindTimeoutLogged; + private Vector3? _lastKnownPosition; private long _lastPositionUpdateTime; @@ -104,6 +126,8 @@ internal sealed class MovementController : IDisposable private bool _isTrackingPlayerInput; + private volatile bool _disposed; + public bool IsNavmeshReady { get @@ -138,7 +162,7 @@ internal sealed class MovementController : IDisposable { get { - Task> pathfindTask = _pathfindTask; + Task pathfindTask = _pathfindTask; if (pathfindTask != null) { return !pathfindTask.IsCompleted; @@ -149,7 +173,7 @@ internal sealed class MovementController : IDisposable public DestinationData? Destination { get; set; } - public DateTime MovementStartedAt { get; private set; } = DateTime.Now; + public long? MovementStartedAt { get; private set; } = Environment.TickCount64; public int BuiltNavmeshPercent => _navmeshIpc.GetBuildProgress(); @@ -159,39 +183,86 @@ internal sealed class MovementController : IDisposable public event EventHandler? PlayerInputDetected; - public MovementController(NavmeshIpc navmeshIpc, IClientState clientState, IObjectTable objectTable, GameFunctions gameFunctions, ChatFunctions chatFunctions, ICondition condition, MovementOverrideController movementOverrideController, AetheryteData aetheryteData, Configuration configuration, ILogger logger) + public MovementController(NavmeshIpc navmeshIpc, WigglyNavAvailability wigglyNavAvailability, IFramework framework, IClientState clientState, IObjectTable objectTable, GameFunctions gameFunctions, ICondition condition, MovementOverrideController movementOverrideController, AetheryteData aetheryteData, TerritoryData territoryData, Configuration configuration, ILogger logger) { _navmeshIpc = navmeshIpc; + _wigglyNavAvailability = wigglyNavAvailability; + _framework = framework; _clientState = clientState; _objectTable = objectTable; _gameFunctions = gameFunctions; - _chatFunctions = chatFunctions; _condition = condition; _movementOverrideController = movementOverrideController; _aetheryteData = aetheryteData; + _territoryData = territoryData; _configuration = configuration; _logger = logger; + _wigglyNavAvailability.CompatibilityChanged += OnWigglyNavCompatibilityChanged; + } + + private void OnWigglyNavCompatibilityChanged() + { + _framework.RunOnFrameworkThread(delegate + { + if (!_disposed && _configuration.General.NavigationProvider == Configuration.ENavigationProvider.WigglyNav && (!(Destination == null) || IsPathfinding)) + { + DestinationData destination = Destination; + _navmeshIpc.StopAll(); + if (destination != null && IsNavmeshReady) + { + _logger.LogWarning("WigglyNav compatibility changed with a path running or a pathfind in flight, restarting movement on the new provider"); + Restart(destination); + } + else + { + _logger.LogWarning("WigglyNav compatibility changed with a path running or a pathfind in flight, stopping movement (no destination to resume, or the new provider's navmesh is not ready)"); + Stop(); + } + } + }); + } + + public bool HasBeenMovingForAtLeast(int ms) + { + long? movementStartedAt = MovementStartedAt; + if (movementStartedAt.HasValue) + { + long valueOrDefault = movementStartedAt.GetValueOrDefault(); + return Environment.TickCount64 - valueOrDefault >= ms; + } + return false; } public unsafe void Update() { - if (IsPathRunning && _isTrackingPlayerInput && DetectPlayerInputInterference()) + DestinationData destination; + if (IsPathRunning && _isTrackingPlayerInput) { - _logger.LogInformation("Player input detected during automatic movement, raising event to stop automation"); - this.PlayerInputDetected?.Invoke(this, EventArgs.Empty); - Stop(); - return; + destination = Destination; + if (((object)destination == null || destination.MovementType != EMovementType.Landing) && DetectPlayerInputInterference()) + { + _logger.LogInformation("Player input detected during automatic movement, raising event to stop automation"); + this.PlayerInputDetected?.Invoke(this, EventArgs.Empty); + Stop(); + return; + } } if (_pathfindTask != null && Destination != null) { if (!_pathfindTask.IsCompleted && Environment.TickCount64 - _pathfindStartTime > 30000 && _navmeshIpc.NumQueuedPathfindRequests > 5) { - _logger.LogWarning("Pathfinding appears stuck: {QueuedRequests} queued requests, task running for {Duration}ms", _navmeshIpc.NumQueuedPathfindRequests, Environment.TickCount64 - _pathfindStartTime); + if (!_pathfindTimeoutLogged) + { + _logger.LogWarning("Pathfinding appears stuck: {QueuedRequests} queued requests, task running for {Duration}ms", _navmeshIpc.NumQueuedPathfindRequests, Environment.TickCount64 - _pathfindStartTime); + _pathfindTimeoutLogged = true; + } + ResetPathfinding(); + throw new PathfindingFailedException("Pathfinding computation timed out after 30s"); } if (_pathfindTask.IsCompletedSuccessfully) { - _logger.LogInformation("Pathfinding complete, got {Count} points", _pathfindTask.Result.Count); - if (_pathfindTask.Result.Count == 0) + _logger.LogDebug("Pathfinding complete, got {Count} points", _pathfindTask.Result.Waypoints.Count); + if (_pathfindTask.Result.Waypoints.Count == 0) { if (Destination.NavmeshCalculations == 1) { @@ -199,11 +270,16 @@ internal sealed class MovementController : IDisposable Vector3? vector = TryFindAccessibleDestination(Destination.Position, Destination.IsFlying, Destination.Land); if (vector.HasValue && Vector3.Distance(Destination.Position, vector.Value) < 30f) { - _logger.LogInformation("Retrying pathfinding with adjusted destination: {AdjustedDestination}", vector.Value.ToString("G", CultureInfo.InvariantCulture)); + _logger.LogDebug("Retrying pathfinding with adjusted destination: {AdjustedDestination}", vector.Value.ToString("G", CultureInfo.InvariantCulture)); + int navmeshCalculations = Destination.NavmeshCalculations; Restart(Destination with { Position = vector.Value }); + if (Destination != null) + { + Destination.NavmeshCalculations = navmeshCalculations + 1; + } return; } if (Destination.IsFlying && Destination.Land) @@ -214,9 +290,7 @@ internal sealed class MovementController : IDisposable _logger.LogWarning("Navmesh not ready for tolerance-based pathfinding"); return; } - _cancellationTokenSource = new CancellationTokenSource(); - _cancellationTokenSource.CancelAfter(TimeSpan.FromSeconds(30L)); - Vector3 vector2 = _objectTable[0]?.Position ?? Vector3.Zero; + Vector3 vector2 = _objectTable.LocalPlayer?.Position ?? Vector3.Zero; if (Destination.IsFlying) { Vector3 vector3 = vector2; @@ -224,7 +298,8 @@ internal sealed class MovementController : IDisposable vector2 = vector3; } _pathfindStartTime = Environment.TickCount64; - _pathfindTask = _navmeshIpc.PathfindWithTolerance(vector2, Destination.Position, Destination.IsFlying, 10f, _cancellationTokenSource.Token); + _pathfindTolerance = 10f; + _pathfindTask = _navmeshIpc.PathfindWithTolerance(vector2, Destination.Position, Destination.IsFlying, 10f); Destination.NavmeshCalculations++; return; } @@ -232,9 +307,10 @@ internal sealed class MovementController : IDisposable ResetPathfinding(); throw new PathfindingFailedException(); } - List list = _pathfindTask.Result.Skip(1).ToList(); - Vector3 p = _objectTable[0]?.Position ?? list[0]; - if (Destination.IsFlying && !_condition[ConditionFlag.InFlight] && _condition[ConditionFlag.Mounted] && (IsOnFlightPath(p) || list.Any(IsOnFlightPath))) + List waypoints = _pathfindTask.Result.Waypoints; + List list = waypoints.Slice(1, waypoints.Count - 1); + Vector3 p = _objectTable.LocalPlayer?.Position ?? list[0]; + if (Destination.IsFlying && Destination.MovementType != EMovementType.Landing && !_condition[ConditionFlag.InFlight] && _condition[ConditionFlag.Mounted] && (IsOnFlightPath(p) || list.Any(IsOnFlightPath))) { ActionManager.Instance()->UseAction(ActionType.GeneralAction, 2u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); } @@ -242,7 +318,7 @@ internal sealed class MovementController : IDisposable { (List, bool) tuple = _movementOverrideController.AdjustPath(list); (list, _) = tuple; - if (tuple.Item2 && Destination.ShouldRecalculateNavmesh()) + if (tuple.Item2 && Destination.NavmeshCalculations < 10) { if (!IsNavmeshReady) { @@ -251,18 +327,60 @@ internal sealed class MovementController : IDisposable } Destination.NavmeshCalculations++; Destination.PartialRoute.AddRange(list); - _logger.LogInformation("Running navmesh recalculation with fudged point ({From} to {To})", list.Last(), Destination.Position); + _logger.LogDebug("Running navmesh recalculation with fudged point ({From} to {To})", list.Last(), Destination.Position); _cancellationTokenSource = new CancellationTokenSource(); _cancellationTokenSource.CancelAfter(TimeSpan.FromSeconds(30L)); _pathfindStartTime = Environment.TickCount64; + _pathfindTolerance = 0.25f; _pathfindTask = _navmeshIpc.Pathfind(list.Last(), Destination.Position, Destination.IsFlying, _cancellationTokenSource.Token); return; } } list = Destination.PartialRoute.Concat(list).ToList(); - _logger.LogInformation("Navigating via route: [{Route}]", string.Join(" → ", _pathfindTask.Result.Select((Vector3 x) => x.ToString("G", CultureInfo.InvariantCulture)))); - _navmeshIpc.MoveTo(list, Destination.IsFlying); - MovementStartedAt = DateTime.Now; + if (Destination.IsSmartNavRouted && !Destination.IsFlying) + { + NavPathfindResult result = _pathfindTask.Result; + if ((object)result != null && result.HasPartialInfo && result.IsPartial && result.EndDistance > Destination.StopDistance) + { + _logger.LogWarning("Provider reports a partial ground route to {Target} (end distance {WireEndDistance:F1}y, {Count} points), treating as unreachable", Destination.Position.ToString("G", CultureInfo.InvariantCulture), _pathfindTask.Result.EndDistance, list.Count); + float endDistance = _pathfindTask.Result.EndDistance; + ResetPathfinding(); + throw new PathfindingFailedException($"Provider reports a partial ground route to target (end distance {endDistance:F1}y)"); + } + } + if (Destination.IsSmartNavRouted && list.Count > 0) + { + NavPathfindResult result2 = _pathfindTask.Result; + List list2 = list; + float num = Vector3.Distance(list2[list2.Count - 1], Destination.Position); + if (!IsRouteEndAcceptable(num, Destination.StopDistance, Destination.IsFlying, Destination.Land, result2.HasPartialInfo, result2.IsPartial)) + { + if (result2.HasPartialInfo) + { + _logger.LogWarning("Computed route ends {Distance:F1}y from target {Target} (stop distance {StopDistance:F1}y), treating as unreachable (provider reports partial: {IsPartial}, end distance {WireEndDistance:F1}y)", num, Destination.Position.ToString("G", CultureInfo.InvariantCulture), Destination.StopDistance, result2.IsPartial, result2.EndDistance); + } + else + { + _logger.LogWarning("Computed route ends {Distance:F1}y from target {Target} (stop distance {StopDistance:F1}y), treating as unreachable", num, Destination.Position.ToString("G", CultureInfo.InvariantCulture), Destination.StopDistance); + } + ResetPathfinding(); + throw new PathfindingFailedException($"Computed route ends {num:F1}y from target (stop distance {Destination.StopDistance:F1}y)"); + } + if (Destination.IsFlying && (object)result2 != null && result2.HasPartialInfo && result2.IsPartial) + { + if (Destination.Land) + { + _logger.LogInformation("Fly+land route is partial (EndDistance {WireEndDistance:F1}y): accepting - descend/land/gap-close adjudicates reachability", result2.EndDistance); + } + else + { + _logger.LogInformation("Flying route is partial (EndDistance {WireEndDistance:F1}y): accepting - route-end distance heuristic adjudicates reachability", result2.EndDistance); + } + } + } + _logger.LogDebug("Navigating via route: [{Route}]", string.Join(" → ", _pathfindTask.Result.Waypoints.Select((Vector3 x) => x.ToString("G", CultureInfo.InvariantCulture)))); + _navmeshIpc.MoveTo(list, Destination.IsFlying, _pathfindTolerance); + MovementStartedAt = Environment.TickCount64; StartPlayerInputTracking(); ResetPathfinding(); } @@ -273,61 +391,57 @@ internal sealed class MovementController : IDisposable throw new PathfindingFailedException(); } } - if (!IsPathRunning || !(Destination != null)) + if (IsPathRunning && Destination != null) { - return; - } - if (_gameFunctions.IsLoadingScreenVisible()) - { - _logger.LogInformation("Stopping movement, loading screen visible"); - Stop(); - return; - } - DestinationData destination = Destination; - if ((object)destination != null && destination.IsFlying && _condition[ConditionFlag.Swimming]) - { - _logger.LogInformation("Flying but swimming, restarting as non-flying path..."); - Restart(Destination); - return; - } - destination = Destination; - if ((object)destination != null && destination.IsFlying && !_condition[ConditionFlag.Mounted]) - { - _logger.LogInformation("Flying but not mounted, restarting as non-flying path..."); - Restart(Destination); - return; - } - Vector3 vector4 = _objectTable[0]?.Position ?? Vector3.Zero; - if (Destination.MovementType == EMovementType.Landing) - { - if (!_condition[ConditionFlag.InFlight]) + if (_gameFunctions.IsLoadingScreenVisible()) { + _logger.LogDebug("Stopping movement, loading screen visible"); Stop(); + return; } - } - else if ((vector4 - Destination.Position).Length() < Destination.StopDistance) - { - if (vector4.Y - Destination.Position.Y <= Destination.VerticalStopDistance) + destination = Destination; + if ((object)destination != null && destination.IsFlying && (_condition[ConditionFlag.Swimming] || !_condition[ConditionFlag.Mounted])) { - Stop(); + _logger.LogDebug("Flying but {Reason}, restarting as non-flying path...", _condition[ConditionFlag.Swimming] ? "swimming" : "not mounted"); + Restart(Destination, false); + return; } - else if (Destination.DataId.HasValue) + Vector3 vector4 = _objectTable.LocalPlayer?.Position ?? Vector3.Zero; + if (Destination.MovementType == EMovementType.Landing) { - IGameObject gameObject = _gameFunctions.FindObjectByDataId(Destination.DataId.Value); - if ((gameObject is ICharacter || gameObject is IEventObj) ? true : false) + if (!_condition[ConditionFlag.InFlight]) { - if (Math.Abs(vector4.Y - gameObject.Position.Y) < 1.95f) - { - Stop(); - } + Stop(); } - else if (gameObject != null && gameObject.ObjectKind == ObjectKind.Aetheryte) + } + else if ((vector4 - Destination.Position).Length() < Destination.StopDistance) + { + if (vector4.Y - Destination.Position.Y <= Destination.VerticalStopDistance) { - if (AetheryteConverter.IsLargeAetheryte((EAetheryteLocation)Destination.DataId.Value)) + Stop(); + } + else if (Destination.DataId.HasValue) + { + IGameObject gameObject = _gameFunctions.FindObjectByDataId(Destination.DataId.Value); + if ((gameObject is ICharacter || gameObject is IEventObj) ? true : false) { - Stop(); + if (Math.Abs(vector4.Y - gameObject.Position.Y) < 1.95f) + { + Stop(); + } } - else if (Math.Abs(vector4.Y - gameObject.Position.Y) < 1.95f) + else if (gameObject != null && gameObject.ObjectKind == ObjectKind.Aetheryte) + { + if (AetheryteConverter.IsLargeAetheryte((EAetheryteLocation)Destination.DataId.Value)) + { + Stop(); + } + else if (Math.Abs(vector4.Y - gameObject.Position.Y) < 1.95f) + { + Stop(); + } + } + else { Stop(); } @@ -339,27 +453,54 @@ internal sealed class MovementController : IDisposable } else { - Stop(); + List waypoints2 = _navmeshIpc.GetWaypoints(); + Vector3? vector5 = _objectTable.LocalPlayer?.Position; + if (vector5.HasValue) + { + if (RecalculateNavmesh(waypoints2, vector5.Value)) + { + return; + } + if (!Destination.IsFlying && !_condition[ConditionFlag.Mounted] && !_gameFunctions.HasStatusPreventingSprint() && Destination.CanSprint) + { + TriggerSprintIfNeeded(waypoints2, vector5.Value); + } + } } } - else + destination = Destination; + if ((object)destination != null && destination.MovementType == EMovementType.Landing && HasBeenMovingForAtLeast(500) && (!IsPathRunning || HasBeenMovingForAtLeast(10000))) { - List waypoints = _navmeshIpc.GetWaypoints(); - Vector3? vector5 = _objectTable[0]?.Position; - if (vector5.HasValue && (!Destination.ShouldRecalculateNavmesh() || !RecalculateNavmesh(waypoints, vector5.Value)) && !Destination.IsFlying && !_condition[ConditionFlag.Mounted] && !_gameFunctions.HasStatusPreventingSprint() && Destination.CanSprint) + bool num2 = _condition[ConditionFlag.InFlight]; + Stop(); + if (num2) { - TriggerSprintIfNeeded(waypoints, vector5.Value); + _logger.LogWarning("Descend ended while still airborne, treating as unreachable"); + throw new PathfindingFailedException("Descend ended while still airborne"); } } } + internal static bool IsRouteEndAcceptable(float endDistance, float stopDistance, bool isFlying, bool land, bool hasPartialInfo, bool isPartial) + { + if (isFlying && land) + { + return true; + } + if (!isFlying && hasPartialInfo && isPartial) + { + return endDistance <= stopDistance; + } + return endDistance <= stopDistance + 5f; + } + private void StartPlayerInputTracking() { - IGameObject gameObject = _objectTable[0]; - if (gameObject != null) + IPlayerCharacter localPlayer = _objectTable.LocalPlayer; + if (localPlayer != null) { - _lastKnownPosition = gameObject.Position; - _expectedPosition = gameObject.Position; + _lastKnownPosition = localPlayer.Position; + _expectedPosition = localPlayer.Position; _lastPositionUpdateTime = Environment.TickCount64; _isTrackingPlayerInput = true; } @@ -375,12 +516,12 @@ internal sealed class MovementController : IDisposable { return false; } - IGameObject gameObject = _objectTable[0]; - if (gameObject == null) + IPlayerCharacter localPlayer = _objectTable.LocalPlayer; + if (localPlayer == null) { return false; } - Vector3 position = gameObject.Position; + Vector3 position = localPlayer.Position; long tickCount = Environment.TickCount64; if (tickCount - _lastPositionUpdateTime < 100) { @@ -419,20 +560,29 @@ internal sealed class MovementController : IDisposable _lastPositionUpdateTime = 0L; } - private void Restart(DestinationData destination) + private void Restart(DestinationData destination, bool? fly = null) { Stop(); + Vector3 vector = destination.Position; + if ((object)destination != null && destination.IsFlying && destination.Land) + { + Vector3 vector2 = vector; + vector2.Y = vector.Y - 2.6f; + vector = vector2; + } + bool fly2 = fly ?? destination.IsFlying; if (destination.UseNavmesh) { - NavigateTo(EMovementType.None, destination.DataId, destination.Position, fly: false, sprint: false, destination.StopDistance, destination.VerticalStopDistance); + NavigateTo(destination.MovementType, destination.DataId, vector, fly2, destination.CanSprint, destination.StopDistance, destination.VerticalStopDistance, destination.Land, destination.IsSmartNavRouted); return; } + EMovementType movementType = destination.MovementType; uint? dataId = destination.DataId; int num = 1; List list = new List(num); CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = destination.Position; - NavigateTo(EMovementType.None, dataId, list, fly: false, sprint: false, destination.StopDistance, destination.VerticalStopDistance); + CollectionsMarshal.AsSpan(list)[0] = vector; + NavigateTo(movementType, dataId, list, fly2, destination.CanSprint, destination.StopDistance, destination.VerticalStopDistance, destination.Land); } private bool IsOnFlightPath(Vector3 p) @@ -446,19 +596,19 @@ internal sealed class MovementController : IDisposable } [MemberNotNull("Destination")] - private void PrepareNavigation(EMovementType type, uint? dataId, Vector3 to, bool fly, bool sprint, float? stopDistance, float verticalStopDistance, bool land, bool useNavmesh) + private void PrepareNavigation(EMovementType type, uint? dataId, Vector3 to, bool fly, bool sprint, float? stopDistance, float verticalStopDistance, bool land, bool useNavmesh, bool isSmartNavRouted) { ResetPathfinding(); if (InputManager.IsAutoRunning()) { - _logger.LogInformation("Turning off auto-move"); - _chatFunctions.ExecuteCommand("/automove off"); + _logger.LogDebug("Turning off auto-move"); + ChatHelper.SendCommand("/automove off"); } - Destination = new DestinationData(type, dataId, to, stopDistance ?? 2.8f, fly, sprint, verticalStopDistance, land, useNavmesh); - MovementStartedAt = DateTime.MaxValue; + Destination = new DestinationData(type, dataId, to, stopDistance ?? 2.8f, fly, sprint, verticalStopDistance, land, useNavmesh, isSmartNavRouted); + MovementStartedAt = null; } - public void NavigateTo(EMovementType type, uint? dataId, Vector3 to, bool fly, bool sprint, float? stopDistance = null, float? verticalStopDistance = null, bool land = false) + public void NavigateTo(EMovementType type, uint? dataId, Vector3 to, bool fly, bool sprint, float? stopDistance = null, float? verticalStopDistance = null, bool land = false, bool isSmartNavRouted = false) { if (!IsNavmeshReady) { @@ -472,18 +622,16 @@ internal sealed class MovementController : IDisposable vector.Y = to.Y + 2.6f; to = vector; } - PrepareNavigation(type, dataId, to, fly, sprint, stopDistance, verticalStopDistance ?? 1.95f, land, useNavmesh: true); - _logger.LogInformation("Pathfinding to {Destination}", Destination); + PrepareNavigation(type, dataId, to, fly, sprint, stopDistance, verticalStopDistance ?? 1.95f, land, useNavmesh: true, isSmartNavRouted); + _logger.LogDebug("Pathfinding to {Destination}", Destination); Destination.NavmeshCalculations++; - _cancellationTokenSource = new CancellationTokenSource(); - _cancellationTokenSource.CancelAfter(TimeSpan.FromSeconds(30L)); - Vector3 vector2 = _objectTable[0]?.Position ?? Vector3.Zero; + Vector3 vector2 = _objectTable.LocalPlayer?.Position ?? Vector3.Zero; if (fly && _aetheryteData.CalculateDistance(vector2, _clientState.TerritoryType, EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead) < 11f) { Vector3 vector = vector2; vector.Y = vector2.Y + 1f; vector2 = vector; - _logger.LogInformation("Using modified start position for flying pathfinding: {StartPosition}", vector2.ToString("G", CultureInfo.InvariantCulture)); + _logger.LogDebug("Using modified start position for flying pathfinding: {StartPosition}", vector2.ToString("G", CultureInfo.InvariantCulture)); } else if (fly) { @@ -494,11 +642,15 @@ internal sealed class MovementController : IDisposable _pathfindStartTime = Environment.TickCount64; if (fly && land) { - _logger.LogInformation("Using tolerance-based pathfinding for landing (tolerance: 5.0)"); - _pathfindTask = _navmeshIpc.PathfindWithTolerance(vector2, to, fly, 5f, _cancellationTokenSource.Token); + _logger.LogDebug("Using tolerance-based pathfinding for landing (tolerance: {Tolerance})", 5f); + _pathfindTolerance = 5f; + _pathfindTask = _navmeshIpc.PathfindWithTolerance(vector2, to, fly, 5f); } else { + _cancellationTokenSource = new CancellationTokenSource(); + _cancellationTokenSource.CancelAfter(TimeSpan.FromSeconds(30L)); + _pathfindTolerance = 0.25f; _pathfindTask = _navmeshIpc.Pathfind(vector2, to, fly, _cancellationTokenSource.Token); } } @@ -518,10 +670,10 @@ internal sealed class MovementController : IDisposable value.Y = to[to.Count - 1].Y + 2.6f; to[index] = value; } - PrepareNavigation(type, dataId, to.Last(), fly, sprint, stopDistance, verticalStopDistance ?? 1.95f, land, useNavmesh: false); - _logger.LogInformation("Moving to {Destination}", Destination); - _navmeshIpc.MoveTo(to, fly); - MovementStartedAt = DateTime.Now; + PrepareNavigation(type, dataId, to.Last(), fly, sprint, stopDistance, verticalStopDistance ?? 1.95f, land, useNavmesh: false, isSmartNavRouted: false); + _logger.LogDebug("Moving to {Destination}", Destination); + _navmeshIpc.MoveTo(to, fly, 0.25f); + MovementStartedAt = Environment.TickCount64; StartPlayerInputTracking(); } @@ -537,8 +689,10 @@ internal sealed class MovementController : IDisposable { } _cancellationTokenSource.Dispose(); + _cancellationTokenSource = null; } _pathfindTask = null; + _pathfindTimeoutLogged = false; } private Vector3? TryFindAccessibleDestination(Vector3 target, bool flying, bool landing) @@ -554,7 +708,7 @@ internal sealed class MovementController : IDisposable { float num = array[i]; float num2 = array2[Math.Min(i, array2.Length - 1)]; - Vector3? vector = _navmeshIpc.FindNearestMeshPoint(target, num, num2); + Vector3? vector = _navmeshIpc.FindNearestReachableMeshPoint(target, num, num2); if (vector.HasValue) { float num3 = Vector3.Distance(target, vector.Value); @@ -562,7 +716,7 @@ internal sealed class MovementController : IDisposable { if (i > 0) { - _logger.LogInformation("Adjusted destination from {Original} to {Adjusted} (distance: {Distance:F2}, extent: {ExtentXZ}/{ExtentY})", target.ToString("G", CultureInfo.InvariantCulture), vector.Value.ToString("G", CultureInfo.InvariantCulture), num3, num, num2); + _logger.LogDebug("Adjusted destination from {Original} to {Adjusted} (distance: {Distance:F2}, extent: {ExtentXZ}/{ExtentY})", target.ToString("G", CultureInfo.InvariantCulture), vector.Value.ToString("G", CultureInfo.InvariantCulture), num3, num, num2); } return vector.Value; } @@ -577,7 +731,7 @@ internal sealed class MovementController : IDisposable { if (i > 0) { - _logger.LogInformation("Adjusted destination via floor point from {Original} to {Adjusted} (distance: {Distance:F2}, extent: {ExtentXZ})", target.ToString("G", CultureInfo.InvariantCulture), pointOnFloor.Value.ToString("G", CultureInfo.InvariantCulture), num4, num); + _logger.LogDebug("Adjusted destination via floor point from {Original} to {Adjusted} (distance: {Distance:F2}, extent: {ExtentXZ})", target.ToString("G", CultureInfo.InvariantCulture), pointOnFloor.Value.ToString("G", CultureInfo.InvariantCulture), num4, num); } return pointOnFloor.Value; } @@ -592,7 +746,7 @@ internal sealed class MovementController : IDisposable { throw new InvalidOperationException("Destination is null"); } - if (DateTime.Now - MovementStartedAt <= TimeSpan.FromSeconds(5L)) + if (!HasBeenMovingForAtLeast(5000)) { return false; } @@ -616,13 +770,24 @@ internal sealed class MovementController : IDisposable if (Math.Abs((double)num - Destination.LastWaypoint.Distance2DAtLastUpdate) < 0.5) { int navmeshCalculations = Destination.NavmeshCalculations; + EStuckRecoveryMode stuckRecoveryMode = _configuration.Navigation.StuckRecoveryMode; + int recoveryCap = GetRecoveryCap(stuckRecoveryMode); + if (navmeshCalculations >= recoveryCap) + { + throw new PathfindingFailedException($"Stuck recovery exhausted after {navmeshCalculations} attempts (mode: {stuckRecoveryMode})"); + } + if (stuckRecoveryMode == EStuckRecoveryMode.Passive) + { + _logger.LogDebug("Stuck detected but recovery mode is Passive, skipping (n = {Calculations})", navmeshCalculations); + Destination.NavmeshCalculations = navmeshCalculations + 1; + return true; + } switch (navmeshCalculations) { case 1: case 7: _logger.LogWarning("Jumping to try and resolve navmesh problem (n = {Calculations}) at {Position}", navmeshCalculations, Destination.Position.ToString("G", CultureInfo.InvariantCulture)); ActionManager.Instance()->UseAction(ActionType.GeneralAction, 2u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); - Destination.NavmeshCalculations++; Destination.LastWaypoint.UpdatedAt = Environment.TickCount64; break; case 5: @@ -636,7 +801,7 @@ internal sealed class MovementController : IDisposable _logger.LogWarning("Navmesh not ready after reload (n = {Calculations})", navmeshCalculations); return false; } - _logger.LogInformation("Navmesh ready after reload, restarting navigation (n = {Calculations})", navmeshCalculations); + _logger.LogDebug("Navmesh ready after reload, restarting navigation (n = {Calculations})", navmeshCalculations); Restart(Destination); break; case 8: @@ -650,7 +815,7 @@ internal sealed class MovementController : IDisposable _logger.LogWarning("Navmesh not ready after rebuild (n = {Calculations})", navmeshCalculations); return false; } - _logger.LogInformation("Navmesh ready after rebuild, restarting navigation (n = {Calculations})", navmeshCalculations); + _logger.LogDebug("Navmesh ready after rebuild, restarting navigation (n = {Calculations})", navmeshCalculations); Restart(Destination); break; default: @@ -673,6 +838,17 @@ internal sealed class MovementController : IDisposable return false; } + private static int GetRecoveryCap(EStuckRecoveryMode mode) + { + return mode switch + { + EStuckRecoveryMode.Aggressive => 10, + EStuckRecoveryMode.Conservative => 5, + EStuckRecoveryMode.Passive => 2, + _ => 10, + }; + } + private unsafe void TriggerSprintIfNeeded(IEnumerable navPoints, Vector3 start) { float num = 0f; @@ -681,36 +857,14 @@ internal sealed class MovementController : IDisposable num += (start - navPoint).Length(); start = navPoint; } - float num2 = 100f; - bool flag = !_gameFunctions.HasStatus(EStatus.Jog); - if (flag) + float num2 = _configuration.Navigation.SprintDistanceOpenWorld; + if (!_gameFunctions.HasStatus(EStatus.Jog) && !_territoryData.CanUseMount(_clientState.TerritoryType)) { - bool flag2; - switch (GameMain.Instance()->CurrentTerritoryIntendedUseId) - { - case TerritoryIntendedUse.Town: - case TerritoryIntendedUse.BeforeTrialDung: - case TerritoryIntendedUse.HousingOutdoor: - case TerritoryIntendedUse.HousingIndoor: - case TerritoryIntendedUse.SoloOverworldInstances: - case TerritoryIntendedUse.ChocoboSquareOld: - case TerritoryIntendedUse.GoldSaucer: - case TerritoryIntendedUse.SoloDuty: - flag2 = true; - break; - default: - flag2 = false; - break; - } - flag = flag2; - } - if (flag) - { - num2 = 30f; + num2 = _configuration.Navigation.SprintDistanceTown; } if (num > num2 && ActionManager.Instance()->GetActionStatus(ActionType.GeneralAction, 4u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0) { - _logger.LogInformation("Triggering Sprint"); + _logger.LogDebug("Triggering Sprint"); ActionManager.Instance()->UseAction(ActionType.GeneralAction, 4u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); } } @@ -723,13 +877,15 @@ internal sealed class MovementController : IDisposable Destination = null; if (InputManager.IsAutoRunning()) { - _logger.LogInformation("Turning off auto-move [stop]"); - _chatFunctions.ExecuteCommand("/automove off"); + _logger.LogDebug("Turning off auto-move [stop]"); + ChatHelper.SendCommand("/automove off"); } } public void Dispose() { + _disposed = true; + _wigglyNavAvailability.CompatibilityChanged -= OnWigglyNavCompatibilityChanged; Stop(); } } diff --git a/Questionable/Questionable.Controller/QuestController.cs b/Questionable/Questionable.Controller/QuestController.cs index ecbe977..3b3694c 100644 --- a/Questionable/Questionable.Controller/QuestController.cs +++ b/Questionable/Questionable.Controller/QuestController.cs @@ -2,26 +2,31 @@ using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; -using System.Numerics; using Dalamud.Game.ClientState.Conditions; using Dalamud.Game.ClientState.Keys; using Dalamud.Game.ClientState.Objects.SubKinds; -using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Game.Gui.Toast; using Dalamud.Game.Text.SeStringHandling; using Dalamud.Plugin; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game; +using LLib.GameData; +using LLib.Inventory; using Microsoft.Extensions.Logging; +using Questionable.Controller.CombatModules; +using Questionable.Controller.Conditions; using Questionable.Controller.Steps; +using Questionable.Controller.Steps.Common; using Questionable.Controller.Steps.Interactions; using Questionable.Controller.Steps.Shared; using Questionable.Data; using Questionable.External; using Questionable.Functions; using Questionable.Model; +using Questionable.Model.Gathering; using Questionable.Model.Questing; -using Questionable.Windows.ConfigComponents; +using Questionable.Navigation; +using Questionable.Notifications; namespace Questionable.Controller; @@ -31,20 +36,31 @@ internal sealed class QuestController : MiniTaskController public sealed class QuestProgress { - public Quest Quest { get; } + public Quest Quest { get; private set; } public byte Sequence { get; private set; } public int Step { get; private set; } - public StepProgress StepProgress { get; private set; } = new StepProgress(DateTime.Now); + public StepProgress StepProgress { get; private set; } = new StepProgress(Environment.TickCount64); - public QuestProgress(Quest quest, byte sequence = 0, int step = 0) + public QuestProgressInfo? InitialQuestWork { get; private set; } + + public QuestProgress(Quest quest, byte sequence = 0, int step = 0, QuestProgressInfo? initialQuestWork = null) { Quest = quest; + InitialQuestWork = initialQuestWork; SetSequence(sequence, step); } + internal void CaptureInitialQuestWork(QuestProgressInfo? questWork) + { + if (InitialQuestWork == null) + { + QuestProgressInfo questProgressInfo = (InitialQuestWork = questWork); + } + } + public void SetSequence(byte sequence, int step = 0) { Sequence = sequence; @@ -54,7 +70,12 @@ internal sealed class QuestController : MiniTaskController public void SetStep(int step) { Step = step; - StepProgress = new StepProgress(DateTime.Now); + StepProgress = new StepProgress(Environment.TickCount64); + } + + internal void ReplaceQuest(Quest quest) + { + Quest = quest; } public void IncreasePointMenuCounter() @@ -66,13 +87,12 @@ internal sealed class QuestController : MiniTaskController } } - public sealed record StepProgress(DateTime StartedAt, int PointMenuCounter = 0); + public sealed record StepProgress(long StartedAt, int PointMenuCounter = 0); public enum ECurrentQuestType { Normal, Next, - Gathering, Simulated } @@ -80,7 +100,6 @@ internal sealed class QuestController : MiniTaskController { Manual, Automatic, - GatheringOnly, SingleQuestA, SingleQuestB } @@ -97,14 +116,28 @@ internal sealed class QuestController : MiniTaskController private readonly CombatController _combatController; + private readonly WrathComboModule _wrathComboModule; + + private readonly RotationSolverRebornModule _rsrModule; + + private readonly BossModIpc _bossModIpc; + private readonly GatheringController _gatheringController; + private readonly FishingController _fishingController; + private readonly FateController _fateController; private readonly SeasonalDutyController _seasonalDutyController; + private readonly CustomDeliveryController _customDeliveryController; + + private readonly AttunementController _attunementController; + private readonly QuestRegistry _questRegistry; + private readonly TerritoryData _territoryData; + private readonly JournalData _journalData; private readonly IKeyState _keyState; @@ -119,15 +152,25 @@ internal sealed class QuestController : MiniTaskController private readonly TaskCreator _taskCreator; - private readonly SinglePlayerDutyConfigComponent _singlePlayerDutyConfigComponent; + private readonly GatheringPointRegistry _gatheringPointRegistry; + + private readonly IFramework _framework; private readonly AutoDutyIpc _autoDutyIpc; private readonly IDalamudPluginInterface _pluginInterface; - private readonly ILogger _logger; + private readonly QuestPriorityResolver _priorityResolver; - private readonly object _progressLock = new object(); + private readonly SmartNavReRouteService _reRouteService; + + private readonly SmartNavRouteEnqueuer _smartNavRouteEnqueuer; + + private readonly GearRepairService _gearRepairService; + + private readonly NotificationService _notificationService; + + private readonly ICommandManager _commandManager; private QuestProgress? _startedQuest; @@ -135,40 +178,46 @@ internal sealed class QuestController : MiniTaskController private QuestProgress? _simulatedQuest; - private QuestProgress? _gatheringQuest; - private QuestProgress? _pendingQuest; private EAutomationType _automationType; - private DateTime _safeAnimationEnd = DateTime.MinValue; + private bool _commandAfterStopFired; - private DateTime _lastTaskUpdate = DateTime.Now; - - private Vector3 _lastPlayerPosition = Vector3.Zero; - - private int _lastQuestStep = -1; - - private byte _lastQuestSequence = byte.MaxValue; - - private ElementId? _lastQuestId; - - private DateTime _lastProgressUpdate = DateTime.Now; - - private DateTime _lastAutoRefresh = DateTime.MinValue; + private long _safeAnimationEnd; private bool _lastEscDown; private int _escPressCount; - private DateTime _lastEscPressTime = DateTime.MinValue; + private long _lastEscPressTime; - private static readonly TimeSpan EscDoublePressWindow = TimeSpan.FromSeconds(1L); + private const long EscDoublePressWindowMs = 1000L; - private HashSet _stopConditionsMetAtStart = new HashSet(); + private (ElementId QuestId, byte Sequence, bool Result, long ComputedAt)? _interruptibleRouteCache; + + private const long InterruptibleRouteCacheMs = 2000L; + + private DateTime _automationStartedAt; + + private int _questsCompletedThisSession; + + private readonly HashSet _conditionsMetAtStart = new HashSet(); + + private bool _deathRecoveryPending; + + private int _deathCount; + + private bool _resumeAfterSideTasks; + + private bool _runningDebugTasks; private const char ClipboardSeparator = ';'; + public string? LastStopReason { get; private set; } + + public List SessionConditions { get; } = new List(); + public EAutomationType AutomationType { get @@ -179,8 +228,12 @@ internal sealed class QuestController : MiniTaskController { if (value != _automationType) { - _logger.LogInformation("Setting automation type to {NewAutomationType} (previous: {OldAutomationType})", value, _automationType); + _logger.LogDebug("Setting automation type to {NewAutomationType} (previous: {OldAutomationType})", value, _automationType); _automationType = value; + if (value != EAutomationType.Manual) + { + _commandAfterStopFired = false; + } this.AutomationTypeChanged?.Invoke(this, value); } } @@ -198,10 +251,6 @@ internal sealed class QuestController : MiniTaskController { return (_nextQuest, ECurrentQuestType.Next); } - if (_gatheringQuest != null) - { - return (_gatheringQuest, ECurrentQuestType.Gathering); - } if (_startedQuest != null) { return (_startedQuest, ECurrentQuestType.Normal); @@ -218,7 +267,7 @@ internal sealed class QuestController : MiniTaskController public QuestProgress? NextQuest => _nextQuest; - public QuestProgress? GatheringQuest => _gatheringQuest; + private IPlayerCharacter? LocalPlayer => _objectTable.LocalPlayer; public QuestProgress? PendingQuest => _pendingQuest; @@ -232,6 +281,8 @@ internal sealed class QuestController : MiniTaskController public bool IsRunning => !_taskQueue.AllTasksComplete; + public bool IsDeathRecoveryPending => _deathRecoveryPending; + public TaskQueue TaskQueue => _taskQueue; public string? CurrentTaskState @@ -248,8 +299,8 @@ internal sealed class QuestController : MiniTaskController public event AutomationTypeChangedEventHandler? AutomationTypeChanged; - public QuestController(IClientState clientState, IObjectTable objectTable, GameFunctions gameFunctions, QuestFunctions questFunctions, MovementController movementController, CombatController combatController, GatheringController gatheringController, FateController fateController, SeasonalDutyController seasonalDutyController, ILogger logger, QuestRegistry questRegistry, JournalData journalData, IKeyState keyState, IChatGui chatGui, ICondition condition, IToastGui toastGui, Configuration configuration, TaskCreator taskCreator, IServiceProvider serviceProvider, InterruptHandler interruptHandler, IDataManager dataManager, SinglePlayerDutyConfigComponent singlePlayerDutyConfigComponent, AutoDutyIpc autoDutyIpc, IDalamudPluginInterface pluginInterface) - : base(chatGui, condition, serviceProvider, interruptHandler, dataManager, logger) + public QuestController(IClientState clientState, IObjectTable objectTable, GameFunctions gameFunctions, QuestFunctions questFunctions, MovementController movementController, CombatController combatController, WrathComboModule wrathComboModule, RotationSolverRebornModule rsrModule, BossModIpc bossModIpc, GatheringController gatheringController, FishingController fishingController, FateController fateController, SeasonalDutyController seasonalDutyController, CustomDeliveryController customDeliveryController, AttunementController attunementController, ILogger logger, QuestRegistry questRegistry, TerritoryData territoryData, JournalData journalData, IKeyState keyState, IChatGui chatGui, ICondition condition, IToastGui toastGui, Configuration configuration, TaskCreator taskCreator, IServiceProvider serviceProvider, InterruptHandler interruptHandler, IDataManager dataManager, GatheringPointRegistry gatheringPointRegistry, IFramework framework, AutoDutyIpc autoDutyIpc, IDalamudPluginInterface pluginInterface, QuestPriorityResolver priorityResolver, SmartNavReRouteService reRouteService, SmartNavRouteEnqueuer smartNavRouteEnqueuer, GearRepairService gearRepairService, NotificationService notificationService, ICommandManager commandManager) + : base(chatGui, condition, serviceProvider, interruptHandler, dataManager, configuration, logger) { _clientState = clientState; _objectTable = objectTable; @@ -257,10 +308,17 @@ internal sealed class QuestController : MiniTaskController _questFunctions = questFunctions; _movementController = movementController; _combatController = combatController; + _wrathComboModule = wrathComboModule; + _rsrModule = rsrModule; + _bossModIpc = bossModIpc; _gatheringController = gatheringController; + _fishingController = fishingController; _fateController = fateController; _seasonalDutyController = seasonalDutyController; + _customDeliveryController = customDeliveryController; + _attunementController = attunementController; _questRegistry = questRegistry; + _territoryData = territoryData; _journalData = journalData; _keyState = keyState; _chatGui = chatGui; @@ -268,50 +326,56 @@ internal sealed class QuestController : MiniTaskController _toastGui = toastGui; _configuration = configuration; _taskCreator = taskCreator; - _singlePlayerDutyConfigComponent = singlePlayerDutyConfigComponent; + _gatheringPointRegistry = gatheringPointRegistry; + _framework = framework; _autoDutyIpc = autoDutyIpc; _pluginInterface = pluginInterface; - _logger = logger; + _priorityResolver = priorityResolver; + _reRouteService = reRouteService; + _smartNavRouteEnqueuer = smartNavRouteEnqueuer; + _gearRepairService = gearRepairService; + _notificationService = notificationService; + _commandManager = commandManager; _toastGui.ErrorToast += base.OnErrorToast; _toastGui.Toast += OnNormalToast; _condition.ConditionChange += OnConditionChange; _clientState.Logout += OnLogout; _movementController.PlayerInputDetected += OnPlayerInputDetected; + _questRegistry.Reloaded += OnQuestRegistryReloaded; + } + + private static ushort GetQuestIdValue(ElementId id) + { + if (!(id is QuestId questId)) + { + return 0; + } + return questId.Value; } public void Reload() { - lock (_progressLock) + _logger.LogInformation("Reload, resetting current quest progress"); + QuestRegistry.Snapshot questSnapshot = _questRegistry.Build(); + Dictionary gatheringPoints = _gatheringPointRegistry.Build(); + _framework.RunOnFrameworkThread(delegate { - _logger.LogInformation("Reload, resetting current quest progress"); ResetInternalState(); - ResetAutoRefreshState(); - _questRegistry.Reload(); - _singlePlayerDutyConfigComponent.Reload(); - } + _gatheringPointRegistry.Publish(gatheringPoints); + _questRegistry.Publish(questSnapshot); + }).GetAwaiter().GetResult(); } private void ResetInternalState() { _startedQuest = null; _nextQuest = null; - _gatheringQuest = null; _pendingQuest = null; _simulatedQuest = null; - _safeAnimationEnd = DateTime.MinValue; + _safeAnimationEnd = 0L; DebugState = null; } - private void ResetAutoRefreshState() - { - _lastPlayerPosition = Vector3.Zero; - _lastQuestStep = -1; - _lastQuestSequence = byte.MaxValue; - _lastQuestId = null; - _lastProgressUpdate = DateTime.Now; - _lastAutoRefresh = DateTime.Now; - } - public unsafe void Update() { ActionManager* ptr = ActionManager.Instance(); @@ -320,532 +384,406 @@ internal sealed class QuestController : MiniTaskController float num = Math.Max(ptr->AnimationLock, (ptr->CastTimeElapsed > 0f) ? (ptr->CastTimeTotal - ptr->CastTimeElapsed) : 0f); if (num > 0f) { - _safeAnimationEnd = DateTime.Now.AddSeconds(1f + num); + _safeAnimationEnd = Environment.TickCount64 + (long)(1000f * (1f + num)); } } - if (AutomationType == EAutomationType.Manual && !IsRunning && !IsQuestWindowOpen) + if (AutomationType == EAutomationType.Manual && !IsRunning && !IsQuestWindowOpen && !_deathRecoveryPending) { return; } UpdateCurrentQuest(); if (!_clientState.IsLoggedIn) { - StopAllDueToConditionFailed("Logged out"); + return; } - bool flag; if (_condition[ConditionFlag.Unconscious]) { - if (!_condition[ConditionFlag.Unconscious] || !_condition[ConditionFlag.SufferingStatusAffliction63] || _clientState.TerritoryType != 1052) + if (!_condition[ConditionFlag.SufferingStatusAffliction63] || _clientState.TerritoryType != 1052) { ITaskExecutor currentTaskExecutor = _taskQueue.CurrentTaskExecutor; - flag = ((currentTaskExecutor is Duty.WaitAutoDutyExecutor || currentTaskExecutor is Duty.WaitLevelingModeExecutor) ? true : false); - if (!flag && !_taskQueue.AllTasksComplete) + bool flag = ((currentTaskExecutor is Duty.WaitAutoDutyExecutor || currentTaskExecutor is Duty.WaitLevelingModeExecutor) ? true : false); + if (!flag && !_condition[ConditionFlag.BoundByDuty] && !_condition[ConditionFlag.BoundByDuty56] && !_condition[ConditionFlag.InDeepDungeon] && !_taskQueue.AllTasksComplete && !_deathRecoveryPending) { - StopAllDueToConditionFailed("HP = 0"); + if (_configuration.General.DeathRecoveryEnabled) + { + _deathCount++; + if (_configuration.General.MaxDeathsBeforeStop > 0 && _deathCount >= _configuration.General.MaxDeathsBeforeStop) + { + _logger.LogWarning("Death recovery: max deaths ({Count}) reached, stopping", _deathCount); + _deathCount = 0; + StopAllDueToConditionFailed("HP = 0 (max deaths reached)"); + _deathRecoveryPending = true; + } + else + { + _logger.LogInformation("Death recovery: died ({Count}), waiting for respawn", _deathCount); + _deathRecoveryPending = true; + _movementController.Stop(); + _combatController.Stop("HP = 0"); + } + } + else + { + StopAllDueToConditionFailed("HP = 0"); + } } } } - else if (_configuration.General.UseEscToCancelQuesting) + else { - if (_keyState[VirtualKey.ESCAPE] && !_lastEscDown) + if (_deathRecoveryPending) { - DateTime now = DateTime.Now; - if (now - _lastEscPressTime <= EscDoublePressWindow) + if (!ConditionHelper.IsBetweenAreas(_condition)) { - _escPressCount++; - } - else - { - _escPressCount = 1; - } - _lastEscPressTime = now; - if (_escPressCount >= 2) - { - if (!_taskQueue.AllTasksComplete) + _deathRecoveryPending = false; + if (AutomationType != EAutomationType.Manual) { - StopAllDueToConditionFailed("ESC pressed twice"); + _logger.LogInformation("Death recovery: respawned, re-planning current step"); + _gatheringController.Replan(); + _fateController.Replan(); + CheckNextTasks("Death recovery"); } + else + { + _logger.LogInformation("Death recovery: respawned (automation stopped)"); + } + } + return; + } + if (_configuration.General.UseEscToCancelQuesting) + { + if (_keyState[VirtualKey.ESCAPE] && !_lastEscDown) + { + long tickCount = Environment.TickCount64; + if (tickCount - _lastEscPressTime <= 1000) + { + _escPressCount++; + } + else + { + _escPressCount = 1; + } + _lastEscPressTime = tickCount; + if (_escPressCount >= 2) + { + if (!_taskQueue.AllTasksComplete) + { + StopAllDueToConditionFailed("ESC pressed twice"); + } + _escPressCount = 0; + } + } + if (!_keyState[VirtualKey.ESCAPE] && Environment.TickCount64 - _lastEscPressTime > 1000) + { _escPressCount = 0; } + _lastEscDown = _keyState[VirtualKey.ESCAPE]; } - if (!_keyState[VirtualKey.ESCAPE] && DateTime.Now - _lastEscPressTime > EscDoublePressWindow) + else { + _lastEscDown = _keyState[VirtualKey.ESCAPE]; _escPressCount = 0; - } - _lastEscDown = _keyState[VirtualKey.ESCAPE]; - } - else - { - _lastEscDown = _keyState[VirtualKey.ESCAPE]; - _escPressCount = 0; - _lastEscPressTime = DateTime.MinValue; - } - if (_configuration.Stop.Enabled && _startedQuest != null) - { - string text = _startedQuest.Quest.Id.ToString(); - if (_configuration.Stop.LevelStopMode != Configuration.EStopConditionMode.Off && IsRunning && _objectTable[0] is IPlayerCharacter playerCharacter && playerCharacter.Level >= _configuration.Stop.TargetLevel) - { - string item = $"level:{_configuration.Stop.TargetLevel}"; - if (_configuration.Stop.LevelStopMode != Configuration.EStopConditionMode.Pause || !_stopConditionsMetAtStart.Contains(item)) - { - _logger.LogInformation("Reached level stop condition (current: {CurrentLevel}, target: {TargetLevel}, mode: {Mode})", playerCharacter.Level, _configuration.Stop.TargetLevel, _configuration.Stop.LevelStopMode); - _chatGui.Print($"Character level {playerCharacter.Level} reached target level {_configuration.Stop.TargetLevel}.", "Questionable", 576); - Stop($"Level stop condition reached [{playerCharacter.Level}]"); - return; - } - } - if (_configuration.Stop.QuestSequences.TryGetValue(text, out var value) && value.HasValue) - { - int sequence = _startedQuest.Sequence; - if (sequence >= value.Value && IsRunning) - { - Configuration.EStopConditionMode valueOrDefault = _configuration.Stop.QuestStopModes.GetValueOrDefault(text, Configuration.EStopConditionMode.Pause); - string item2 = $"questseq:{text}:{sequence}"; - if (valueOrDefault != Configuration.EStopConditionMode.Pause || !_stopConditionsMetAtStart.Contains(item2)) - { - _logger.LogInformation("Reached quest-specific sequence stop condition (quest: {QuestId}, sequence: {CurrentSequence}, target: {TargetSequence})", _startedQuest.Quest.Id, sequence, value.Value); - _chatGui.Print($"Quest '{_startedQuest.Quest.Info.Name}' reached sequence {sequence}, configured stop sequence is {value.Value}.", "Questionable", 576); - Stop($"Quest-specific sequence stop condition reached [{text}@{sequence}]"); - return; - } - } - } - else if (_configuration.Stop.SequenceStopMode != Configuration.EStopConditionMode.Off && CurrentQuest != null) - { - int sequence2 = CurrentQuest.Sequence; - if (sequence2 >= _configuration.Stop.TargetSequence && IsRunning) - { - string item3 = $"sequence:{text}:{sequence2}"; - if (_configuration.Stop.SequenceStopMode != Configuration.EStopConditionMode.Pause || !_stopConditionsMetAtStart.Contains(item3)) - { - _logger.LogInformation("Reached global quest sequence stop condition (sequence: {CurrentSequence}, target: {TargetSequence}, mode: {Mode})", sequence2, _configuration.Stop.TargetSequence, _configuration.Stop.SequenceStopMode); - _chatGui.Print($"Quest sequence {sequence2} reached target sequence {_configuration.Stop.TargetSequence}.", "Questionable", 576); - Stop($"Sequence stop condition reached [{sequence2}]"); - return; - } - } + _lastEscPressTime = 0L; } } - flag = AutomationType == EAutomationType.Automatic && (_taskQueue.AllTasksComplete || _taskQueue.CurrentTaskExecutor?.CurrentTask is WaitAtEnd.WaitQuestAccepted); - bool flag2; - if (flag) + if ((AutomationType == EAutomationType.Manual && !IsRunning) || !_configuration.Stop.Enabled || !CheckStopConditions(BuildEvaluationContext())) { - QuestProgress currentQuest = CurrentQuest; - if (currentQuest != null && currentQuest.Sequence == 0) - { - int step = currentQuest.Step; - if (step == 0 || step == 255) - { - flag2 = true; - goto IL_0800; - } - } - flag2 = false; - goto IL_0800; - } - goto IL_0804; - IL_0804: - if (flag && DateTime.Now >= CurrentQuest.StepProgress.StartedAt.AddSeconds(15.0)) - { - lock (_progressLock) - { - _logger.LogWarning("Quest accept apparently didn't work out, resetting progress"); - CurrentQuest.SetStep(0); - } - ExecuteNextStep(); - } - else - { - CheckAutoRefreshCondition(); UpdateCurrentTask(); } - return; - IL_0800: - flag = flag2; - goto IL_0804; - } - - private void CheckAutoRefreshCondition() - { - if (!ShouldCheckAutoRefresh() || DateTime.Now < _lastAutoRefresh.AddSeconds(5.0)) - { - return; - } - if (ShouldPreventAutoRefresh()) - { - _lastProgressUpdate = DateTime.Now; - return; - } - IGameObject gameObject = _objectTable[0]; - if (gameObject == null) - { - return; - } - Vector3 position = gameObject.Position; - if (CurrentQuest == null) - { - return; - } - ElementId id = CurrentQuest.Quest.Id; - byte sequence = CurrentQuest.Sequence; - int step = CurrentQuest.Step; - if (Vector3.Distance(position, _lastPlayerPosition) > 0.5f || !id.Equals(_lastQuestId) || sequence != _lastQuestSequence || step != _lastQuestStep) - { - _lastPlayerPosition = position; - _lastQuestId = id; - _lastQuestSequence = sequence; - _lastQuestStep = step; - _lastProgressUpdate = DateTime.Now; - return; - } - TimeSpan timeSpan = DateTime.Now - _lastProgressUpdate; - TimeSpan timeSpan2 = TimeSpan.FromSeconds(_configuration.General.AutoStepRefreshDelaySeconds); - if (timeSpan >= timeSpan2) - { - _logger.LogInformation("Automatically refreshing quest step as no progress detected for {TimeSinceProgress:F1} seconds (quest: {QuestId}, sequence: {Sequence}, step: {Step})", timeSpan.TotalSeconds, id, sequence, step); - _chatGui.Print($"Automatically refreshing quest step as no progress detected for {timeSpan.TotalSeconds:F0} seconds.", "Questionable", 576); - ClearTasksInternal(); - Reload(); - _lastAutoRefresh = DateTime.Now; - } - } - - private bool ShouldCheckAutoRefresh() - { - if (_configuration.General.AutoStepRefreshEnabled && AutomationType == EAutomationType.Automatic && IsRunning && CurrentQuest != null && _clientState.IsLoggedIn) - { - return _objectTable[0] != null; - } - return false; - } - - private bool ShouldPreventAutoRefresh() - { - if (HasWaitingTasks()) - { - return true; - } - if (HasManualInterventionStep()) - { - return true; - } - if (HasSystemConditionsPreventingRefresh()) - { - return true; - } - if (HasConfigurationConditionsPreventingRefresh()) - { - return true; - } - return false; - } - - private bool HasWaitingTasks() - { - ITask task = _taskQueue.CurrentTaskExecutor?.CurrentTask; - if (task is WaitAtEnd.WaitObjectAtPosition || task is WaitAtEnd.WaitForCompletionFlags || task is Duty.StartLevelingModeTask || task is Duty.WaitLevelingModeTask) - { - return true; - } - return false; - } - - private bool HasManualInterventionStep() - { - switch (GetNextStep().Step?.InteractionType) - { - case EInteractionType.WaitForManualProgress: - case EInteractionType.Duty: - case EInteractionType.SinglePlayerDuty: - case EInteractionType.Snipe: - case EInteractionType.Instruction: - return true; - default: - return false; - } - } - - private bool HasSystemConditionsPreventingRefresh() - { - if (_movementController.IsNavmeshReady && !_condition[ConditionFlag.InCombat] && !_condition[ConditionFlag.Unconscious] && !_condition[ConditionFlag.BoundByDuty] && !_condition[ConditionFlag.InDutyQueue] && !_condition[ConditionFlag.InDeepDungeon] && !_condition[ConditionFlag.WatchingCutscene] && !_condition[ConditionFlag.WatchingCutscene78] && !_condition[ConditionFlag.BetweenAreas] && !_condition[ConditionFlag.BetweenAreas51] && !_gameFunctions.IsOccupied() && !_movementController.IsPathfinding && !_movementController.IsPathRunning) - { - return DateTime.Now < _safeAnimationEnd; - } - return true; - } - - private bool HasConfigurationConditionsPreventingRefresh() - { - if (_configuration.Advanced.PreventQuestCompletion) - { - return CurrentQuest?.Sequence == byte.MaxValue; - } - return false; } private void UpdateCurrentQuest() { - lock (_progressLock) + DebugState = null; + if (!_clientState.IsLoggedIn) { - DebugState = null; - if (!_clientState.IsLoggedIn) + ResetInternalState(); + DebugState = "Not logged in"; + return; + } + if (_runningDebugTasks) + { + if (!_taskQueue.AllTasksComplete) { - ResetInternalState(); - DebugState = "Not logged in"; + DebugState = "Running debug tasks"; return; } - if (_configuration.General.ClearPriorityQuestsOnCompletion && ManualPriorityQuests.Count > 0) + _runningDebugTasks = false; + } + if (_resumeAfterSideTasks) + { + if (!_taskQueue.AllTasksComplete) { - int num = ManualPriorityQuests.RemoveAll((Quest q) => _questFunctions.IsQuestComplete(q.Id)); - if (num > 0) - { - _logger.LogInformation("Removed {Count} completed priority {QuestWord}", num, (num == 1) ? "quest" : "quests"); - } + DebugState = "Running side tasks (e.g. repair)"; + return; } - if (_pendingQuest != null) + _resumeAfterSideTasks = false; + CheckNextTasks("Resume step after side tasks"); + return; + } + if (_configuration.General.ClearPriorityQuestsOnCompletion && ManualPriorityQuests.Count > 0) + { + int num = ManualPriorityQuests.RemoveAll((Quest q) => _questFunctions.IsQuestComplete(q.Id) && !_questFunctions.IsQuestAccepted(q.Id)); + if (num > 0) { - if (!_questFunctions.IsQuestAccepted(_pendingQuest.Quest.Id)) - { - DebugState = $"Waiting for Leve {_pendingQuest.Quest.Id}"; - return; - } - _startedQuest = _pendingQuest; - _pendingQuest = null; - CheckNextTasks("Pending quest accepted"); + _logger.LogDebug("Removed {Count} completed priority {QuestWord}", num, (num == 1) ? "quest" : "quests"); } - if (_simulatedQuest == null && _nextQuest != null && !((!_nextQuest.Quest.Info.IsRepeatable) ? (!_questFunctions.IsQuestAcceptedOrComplete(_nextQuest.Quest.Id)) : (!_questFunctions.IsQuestAccepted(_nextQuest.Quest.Id)))) + } + if (_pendingQuest != null) + { + if (!_questFunctions.IsQuestAccepted(_pendingQuest.Quest.Id)) { - _logger.LogInformation("Next quest {QuestId} accepted or completed", _nextQuest.Quest.Id); - if (AutomationType == EAutomationType.SingleQuestA) - { - _startedQuest = _nextQuest; - AutomationType = EAutomationType.SingleQuestB; - } - _logger.LogDebug("Started: {StartedQuest}", _startedQuest?.Quest.Id); - _nextQuest = null; + DebugState = $"Waiting for Leve {_pendingQuest.Quest.Id}"; + return; } - byte b; - QuestProgress questProgress; - if (_simulatedQuest != null) + _startedQuest = _pendingQuest; + _pendingQuest = null; + OnQuestAccepted(_startedQuest.Quest.Id); + if (AutomationType == EAutomationType.Manual) { - b = _simulatedQuest.Sequence; - questProgress = _simulatedQuest; + return; } - else if (_nextQuest != null) + CheckNextTasks("Pending quest accepted"); + } + if (_simulatedQuest == null && _nextQuest != null && !((!_nextQuest.Quest.Info.IsRepeatable) ? (!_questFunctions.IsQuestAcceptedOrComplete(_nextQuest.Quest.Id)) : (!_questFunctions.IsQuestAccepted(_nextQuest.Quest.Id)))) + { + ElementId id = _nextQuest.Quest.Id; + _logger.LogInformation("Next quest {QuestId} accepted or completed", id); + if (AutomationType == EAutomationType.SingleQuestA) { - questProgress = _nextQuest; - b = _nextQuest.Sequence; - if (_questFunctions.IsReadyToAcceptQuest(_nextQuest.Quest.Id) && _nextQuest.Step == 0 && _taskQueue.AllTasksComplete && AutomationType == EAutomationType.Automatic) - { - ExecuteNextStep(); - } + _startedQuest = _nextQuest; + AutomationType = EAutomationType.SingleQuestB; } - else if (_gatheringQuest != null) + _logger.LogDebug("Started: {StartedQuest}", _startedQuest?.Quest.Id); + _nextQuest = null; + OnQuestAccepted(id); + if (AutomationType == EAutomationType.Manual) { - questProgress = _gatheringQuest; - b = _gatheringQuest.Sequence; - if (_gatheringQuest.Step == 0 && _taskQueue.AllTasksComplete && AutomationType == EAutomationType.Automatic) - { - ExecuteNextStep(); - } + return; } - else + } + QuestResolution resolution = _priorityResolver.Resolve(new QuestSlots(_simulatedQuest, _nextQuest, ManualPriorityQuests, AutomationType)); + byte b = resolution.Sequence; + QuestProgress questProgress; + if (resolution.IsSlotBased) + { + questProgress = resolution.Type switch { - _questFunctions.GetCurrentQuest(AutomationType != EAutomationType.SingleQuestB).Deconstruct(out ElementId CurrentQuest, out byte Sequence, out MainScenarioQuestState State); - ElementId elementId = CurrentQuest; - b = Sequence; - MainScenarioQuestState mainScenarioQuestState = State; - (ElementId, byte)? tuple = (from x in ManualPriorityQuests - where _questFunctions.IsReadyToAcceptQuest(x.Id) || _questFunctions.IsQuestAccepted(x.Id) - select (Id: x.Id, _questFunctions.GetQuestProgressInfo(x.Id)?.Sequence ?? 0)).FirstOrDefault(); - if (tuple.HasValue) - { - (ElementId, byte) valueOrDefault = tuple.GetValueOrDefault(); - if ((object)valueOrDefault.Item1 != null) - { - (elementId, b) = valueOrDefault; - } - } - if (elementId == null || elementId.Value == 0) - { - ITask task = _taskQueue.CurrentTaskExecutor?.CurrentTask; - bool flag = ((task is Duty.StartLevelingModeTask || task is Duty.WaitLevelingModeTask) ? true : false); - if (flag || _taskQueue.RemainingTasks.Any((ITask t) => (t is Duty.StartLevelingModeTask || t is Duty.WaitLevelingModeTask) ? true : false)) - { - DebugState = "Leveling mode active"; - return; - } - (bool isLevelLocked, int levelsNeeded, int requiredLevel, string? questName) msqLevelLockInfo = _questFunctions.GetMsqLevelLockInfo(); - bool item = msqLevelLockInfo.isLevelLocked; - int item2 = msqLevelLockInfo.levelsNeeded; - int item3 = msqLevelLockInfo.requiredLevel; - string item4 = msqLevelLockInfo.questName; - int currentPlayerLevel = (_objectTable[0] as IPlayerCharacter)?.Level ?? 0; - if (item && _autoDutyIpc.IsConfiguredToRunLevelingMode(currentPlayerLevel) && AutomationType == EAutomationType.Automatic && !_condition[ConditionFlag.BoundByDuty] && !_condition[ConditionFlag.InDutyQueue] && _taskQueue.AllTasksComplete) - { - _logger.LogInformation("MSQ '{QuestName}' requires level {RequiredLevel}, current level is {CurrentLevel} ({LevelsNeeded} levels needed). Starting AutoDuty Leveling mode.", item4, item3, item3 - item2, item2); - _taskQueue.Enqueue(new Duty.StartLevelingModeTask(item3, item4)); - _taskQueue.Enqueue(new Duty.WaitLevelingModeTask(item3)); - return; - } - if (_startedQuest != null) - { - switch (mainScenarioQuestState) - { - case MainScenarioQuestState.Unavailable: - _logger.LogWarning("MSQ information not available, doing nothing"); - return; - case MainScenarioQuestState.LoadingScreen: - _logger.LogWarning("On loading screen, no MSQ - doing nothing"); - return; - } - _logger.LogInformation("No current quest, resetting data [CQI: {CurrrentQuestData}], [CQ: {QuestData}], [MSQ: {MsqData}]", _questFunctions.GetCurrentQuestInternal(allowNewMsq: true), _questFunctions.GetCurrentQuest(), _questFunctions.GetMainScenarioQuest()); - _startedQuest = null; - Stop("Resetting current quest"); - } - questProgress = null; - } - else if (_startedQuest == null || _startedQuest.Quest.Id != elementId) - { - if (_startedQuest != null && !_taskQueue.AllTasksComplete) - { - questProgress = _startedQuest; - b = _startedQuest.Sequence; - } - else - { - if (_configuration.Stop.Enabled && _startedQuest != null && _configuration.Stop.QuestsToStopAfter.Contains(_startedQuest.Quest.Id) && _questFunctions.IsQuestComplete(_startedQuest.Quest.Id)) - { - ElementId id = _startedQuest.Quest.Id; - _logger.LogInformation("Reached stopping point (quest: {QuestId})", id); - _chatGui.Print("Completed quest '" + _startedQuest.Quest.Info.Name + "', which is configured as a stopping point.", "Questionable", 576); - _startedQuest = null; - Stop($"Stopping point [{id}] reached"); - return; - } - if (_questRegistry.TryGetQuest(elementId, out Quest quest)) - { - _logger.LogInformation("New quest: {QuestName}", quest.Info.Name); - _startedQuest = new QuestProgress(quest, b); - if (_objectTable[0] is IPlayerCharacter playerCharacter && playerCharacter.Level < quest.Info.Level) - { - if (_autoDutyIpc.IsConfiguredToRunLevelingMode(playerCharacter.Level) && AutomationType == EAutomationType.Automatic && !_condition[ConditionFlag.BoundByDuty]) - { - _logger.LogInformation("Player level ({PlayerLevel}) < quest level ({QuestLevel}), starting AutoDuty Leveling mode", playerCharacter.Level, quest.Info.Level); - ClearTasksInternal(); - _taskQueue.Enqueue(new Duty.StartLevelingModeTask(quest.Info.Level, quest.Info.Name)); - _taskQueue.Enqueue(new Duty.WaitLevelingModeTask(quest.Info.Level)); - } - else - { - _logger.LogInformation("Stopping automation, player level ({PlayerLevel}) < quest level ({QuestLevel})", playerCharacter.Level, quest.Info.Level); - Stop("Quest level too high"); - } - } - else - { - if (AutomationType == EAutomationType.SingleQuestB) - { - _logger.LogInformation("Single quest is finished"); - AutomationType = EAutomationType.Manual; - } - CheckNextTasks("Different Quest"); - } - return; - } - if (_startedQuest != null) - { - _logger.LogInformation("No active quest anymore? Not sure what happened..."); - _startedQuest = null; - Stop("No active Quest"); - return; - } - questProgress = null; - } - } - else - { - questProgress = _startedQuest; - } + EQuestResolutionType.Simulated => _simulatedQuest, + EQuestResolutionType.NextQuest => _nextQuest, + _ => null, + }; + if (resolution.Type == EQuestResolutionType.NextQuest && _questFunctions.IsReadyToAcceptQuest(_nextQuest.Quest.Id) && _nextQuest.Step == 0 && _taskQueue.AllTasksComplete && AutomationType == EAutomationType.Automatic) + { + ExecuteNextStep(); } - if (questProgress == null) + } + else + { + if (resolution.Type == EQuestResolutionType.LevelingMode) { - ITask task = _taskQueue.CurrentTaskExecutor?.CurrentTask; - bool flag = ((task is Duty.StartLevelingModeTask || task is Duty.WaitLevelingModeTask) ? true : false); - if (flag || _taskQueue.RemainingTasks.Any((ITask t) => (t is Duty.StartLevelingModeTask || t is Duty.WaitLevelingModeTask) ? true : false)) + if (IsLevelingModeActive()) + { + DebugState = "Leveling mode active"; + } + else if (_taskQueue.AllTasksComplete) + { + _logger.LogInformation("Starting AutoDuty Leveling mode for level {RequiredLevel} (quest: {QuestName})", resolution.LevelingTargetLevel, resolution.LevelingQuestName); + EnqueueLevelingTasks(resolution.LevelingTargetLevel, resolution.LevelingQuestName); + } + return; + } + if (resolution.Type == EQuestResolutionType.NoQuest) + { + if (IsLevelingModeActive()) { DebugState = "Leveling mode active"; return; } - DebugState = "No quest active"; - Stop("No quest active"); - } - else if (questProgress.Step == 255) - { - DebugState = $"Waiting for sequence update (current: {questProgress.Sequence})"; - if (!_taskQueue.AllTasksComplete) + if (_startedQuest != null) { - DebugState = "Step 255 - processing interrupted tasks"; - } - else - { - if (this.CurrentQuest == null) + if (resolution.MsqState == MainScenarioQuestState.Unavailable) { + _logger.LogWarning("MSQ information not available, doing nothing"); return; } - TimeSpan timeSpan = DateTime.Now - this.CurrentQuest.StepProgress.StartedAt; - if (timeSpan > TimeSpan.FromSeconds(3L)) + if (resolution.MsqState == MainScenarioQuestState.LoadingScreen) { - _logger.LogWarning("Step 255 with no tasks for {WaitTime:F1}s, retrying step to ensure completion (quest: {QuestId}, sequence: {Sequence})", timeSpan.TotalSeconds, questProgress.Quest.Id, questProgress.Sequence); - QuestSequence questSequence = questProgress.Quest.FindSequence(questProgress.Sequence); - if (questSequence != null && questSequence.Steps.Count > 0) - { - this.CurrentQuest.SetStep(questSequence.Steps.Count - 1); - CheckNextTasks("Retry last step at 255"); - } + _logger.LogWarning("On loading screen, no MSQ - doing nothing"); + return; } + _logger.LogInformation("No current quest, resetting data (resolution: {Reason})", resolution.DebugReason); + _startedQuest = null; + Stop("Resetting current quest"); } + DebugState = "No quest active"; + Stop("No quest active"); + return; } - else if (_gameFunctions.IsOccupied() && !_gameFunctions.IsOccupiedWithCustomDeliveryNpc(questProgress.Quest)) + (questProgress, b) = HandleGameStateTransition(resolution); + if (questProgress == null) { - DebugState = "Occupied"; + return; } - else if (_movementController.IsPathfinding) + } + if (questProgress == null) + { + if (IsLevelingModeActive()) { - DebugState = "Pathfinding is running"; + DebugState = "Leveling mode active"; + return; } - else if (_movementController.IsPathRunning) + DebugState = "No quest active"; + Stop("No quest active"); + } + else if (questProgress.Sequence != b) + { + questProgress.SetSequence(b); + CheckNextTasks($"New sequence {questProgress == _startedQuest}"); + } + else if (questProgress.Step == 255) + { + DebugState = $"Waiting for sequence update (current: {questProgress.Sequence})"; + if (!_taskQueue.AllTasksComplete) { - DebugState = "Path is running"; - } - else if (DateTime.Now < _safeAnimationEnd) - { - DebugState = "Waiting for Animation"; - } - else if (questProgress.Sequence != b) - { - questProgress.SetSequence(b); - CheckNextTasks($"New sequence {questProgress == _startedQuest}/{_questFunctions.GetCurrentQuestInternal(allowNewMsq: true)}"); + DebugState = "Step 255 - processing interrupted tasks"; } else { - QuestSequence questSequence2 = questProgress.Quest.FindSequence(questProgress.Sequence); - if (questSequence2 == null) + if (CurrentQuest == null) { - DebugState = $"Sequence {questProgress.Sequence} not found"; - Stop("Unknown sequence"); + return; } - else if (questSequence2.Steps.Count > 0 && questProgress.Step >= questSequence2.Steps.Count) + long num2 = Environment.TickCount64 - CurrentQuest.StepProgress.StartedAt; + if (num2 > 3000) { - DebugState = "Step not found"; - Stop("Unknown step"); - } - else - { - DebugState = null; + _logger.LogWarning("Step 255 with no tasks for {WaitTime:F1}s, retrying step to ensure completion (quest: {QuestId}, sequence: {Sequence})", (float)num2 / 1000f, questProgress.Quest.Id, questProgress.Sequence); + QuestSequence questSequence = questProgress.Quest.FindSequence(questProgress.Sequence); + if (questSequence != null && questSequence.Steps.Count > 0) + { + CurrentQuest.SetStep(questSequence.Steps.Count - 1); + CheckNextTasks("Retry last step at 255"); + } } } } + else if (_gameFunctions.IsOccupied()) + { + DebugState = "Occupied"; + } + else if (_movementController.IsPathfinding) + { + DebugState = "Pathfinding is running"; + } + else if (_movementController.IsPathRunning) + { + DebugState = "Path is running"; + } + else if (Environment.TickCount64 < _safeAnimationEnd) + { + DebugState = "Waiting for Animation"; + } + else + { + QuestSequence questSequence2 = questProgress.Quest.FindSequence(questProgress.Sequence); + if (questSequence2 == null) + { + DebugState = $"Sequence {questProgress.Sequence} not found"; + Stop("Unknown sequence"); + } + else if (questSequence2.Steps.Count > 0 && questProgress.Step >= questSequence2.Steps.Count) + { + DebugState = "Step not found"; + Stop("Unknown step"); + } + else + { + DebugState = null; + } + } + } + + private (QuestProgress?, byte) HandleGameStateTransition(QuestResolution resolution) + { + ElementId questId = resolution.QuestId; + byte sequence = resolution.Sequence; + if (_startedQuest != null && _startedQuest.Quest.Id == questId) + { + return (_startedQuest, sequence); + } + if (_startedQuest != null && !_taskQueue.AllTasksComplete) + { + return (_startedQuest, _startedQuest.Sequence); + } + if (_startedQuest != null && _questFunctions.IsQuestComplete(_startedQuest.Quest.Id) && !_questFunctions.IsQuestAccepted(_startedQuest.Quest.Id) && CheckStopConditions(BuildEvaluationContext(_startedQuest.Quest.Id))) + { + _startedQuest = null; + return (null, 0); + } + if (_questRegistry.TryGetQuest(questId, out Quest quest)) + { + _logger.LogDebug("New quest: {QuestName} (via {ResolutionType})", quest.Info.Name, resolution.Type); + EClassJob valueOrDefault = ((EClassJob?)LocalPlayer?.ClassJob.RowId).GetValueOrDefault(); + if (valueOrDefault.IsLimitedJob() && quest.Info.ClassJobs.Count > 0 && !quest.Info.ClassJobs.Contains(valueOrDefault)) + { + _logger.LogWarning("Quest {QuestName} does not allow limited job {Job}, stopping", quest.Info.Name, valueOrDefault.ToFriendlyString()); + Stop("Quest '" + quest.Info.Name + "' cannot be progressed on " + valueOrDefault.ToFriendlyString()); + return (null, 0); + } + _startedQuest = CreateQuestProgress(quest, sequence); + OnQuestAccepted(quest.Id); + if (AutomationType == EAutomationType.Manual) + { + return (null, 0); + } + IPlayerCharacter localPlayer = LocalPlayer; + if (localPlayer != null && localPlayer.Level < quest.Info.Level) + { + if (_priorityResolver.ShouldStartLevelingMode(localPlayer.Level, AutomationType)) + { + _logger.LogInformation("Player level ({PlayerLevel}) < quest level ({QuestLevel}), starting AutoDuty Leveling mode", localPlayer.Level, quest.Info.Level); + ClearTasksInternal(); + EnqueueLevelingTasks(quest.Info.Level, quest.Info.Name); + } + else + { + _logger.LogInformation("Stopping automation, player level ({PlayerLevel}) < quest level ({QuestLevel})", localPlayer.Level, quest.Info.Level); + Stop("Quest level too high"); + } + return (null, 0); + } + if (AutomationType == EAutomationType.SingleQuestB) + { + _logger.LogInformation("Single quest is finished"); + AutomationType = EAutomationType.Manual; + } + CheckNextTasks("Different Quest"); + return (null, 0); + } + if (_startedQuest != null) + { + _logger.LogWarning("No active quest anymore? Not sure what happened..."); + _startedQuest = null; + Stop("No active Quest"); + return (null, 0); + } + return (null, 0); + } + + private bool IsLevelingModeActive() + { + ITask task = _taskQueue.CurrentTaskExecutor?.CurrentTask; + if ((!(task is Duty.StartLevelingModeTask) && !(task is Duty.WaitLevelingModeTask)) || 1 == 0) + { + return _taskQueue.HasLevelingTasks; + } + return true; + } + + private void EnqueueLevelingTasks(int targetLevel, string? questName) + { + _taskQueue.Enqueue(new Duty.StartLevelingModeTask(targetLevel, questName)); + _taskQueue.Enqueue(new Duty.WaitLevelingModeTask(targetLevel)); } public (QuestSequence? Sequence, QuestStep? Step, bool createTasks) GetNextStep() @@ -872,57 +810,67 @@ internal sealed class QuestController : MiniTaskController public void IncreaseStepCount(ElementId? questId, int? sequence, bool shouldContinue = false) { - lock (_progressLock) + var (questSequence, questStep, _) = GetNextStep(); + if (CurrentQuest == null || questSequence == null || questStep == null) { - var (questSequence, questStep, _) = GetNextStep(); - if (CurrentQuest == null || questSequence == null || questStep == null) - { - _logger.LogWarning("Unable to retrieve next quest step, not increasing step count"); - return; - } - if (questId != null && CurrentQuest.Quest.Id != questId) - { - _logger.LogWarning("Ignoring 'increase step count' for different quest (expected {ExpectedQuestId}, but we are at {CurrentQuestId}", questId, CurrentQuest.Quest.Id); - return; - } - if (sequence.HasValue && questSequence.Sequence != sequence.Value) - { - _logger.LogWarning("Ignoring 'increase step count' for different sequence (expected {ExpectedSequence}, but we are at {CurrentSequence}", sequence, questSequence.Sequence); - } - _logger.LogInformation("Increasing step count from {CurrentValue}", CurrentQuest.Step); - bool num = CurrentQuest.Step + 1 >= questSequence.Steps.Count; - if (num) - { - CurrentQuest.SetStep(255); - } - else - { - CurrentQuest.SetStep(CurrentQuest.Step + 1); - } - ResetAutoRefreshState(); - if (num) - { - _logger.LogInformation("Completed last step in sequence, waiting for game to update sequence"); - return; - } + _logger.LogWarning("Unable to retrieve next quest step, not increasing step count"); + return; + } + if (questId != null && CurrentQuest.Quest.Id != questId) + { + _logger.LogWarning("Ignoring 'increase step count' for different quest (expected {ExpectedQuestId}, but we are at {CurrentQuestId}", questId, CurrentQuest.Quest.Id); + return; + } + if (sequence.HasValue && questSequence.Sequence != sequence.Value) + { + _logger.LogWarning("Ignoring 'increase step count' for different sequence (expected {ExpectedSequence}, but we are at {CurrentSequence}", sequence, questSequence.Sequence); + return; + } + _logger.LogDebug("Increasing step count from {CurrentValue}", CurrentQuest.Step); + bool num = CurrentQuest.Step + 1 >= questSequence.Steps.Count; + if (num) + { + CurrentQuest.SetStep(255); + } + else + { + CurrentQuest.SetStep(CurrentQuest.Step + 1); + } + if (num) + { + _logger.LogDebug("Completed last step in sequence, waiting for game to update sequence"); + return; } using (_logger.BeginScope("IncStepCt")) { if (shouldContinue && AutomationType != EAutomationType.Manual) { - ExecuteNextStep(); + QuestResolution questResolution = _priorityResolver.Resolve(new QuestSlots(_simulatedQuest, _nextQuest, ManualPriorityQuests, AutomationType)); + if (questResolution.HasQuest && questResolution.QuestId != CurrentQuest.Quest.Id) + { + _logger.LogDebug("Deferring next step: resolver selected {ResolvedQuest} over current {CurrentQuest}", questResolution.QuestId, CurrentQuest.Quest.Id); + } + else + { + ExecuteNextStep(); + } } } } private void ClearTasksInternal() { + _runningDebugTasks = false; + _reRouteService.ClearDestination(); if (_taskQueue.CurrentTaskExecutor is IStoppableTaskExecutor stoppableTaskExecutor) { stoppableTaskExecutor.StopNow(); } _taskQueue.Reset(); _combatController.Stop("ClearTasksInternal"); + _wrathComboModule.Stop(); + _rsrModule.Stop(); + _bossModIpc.DisableQuestBattleAi(); _gatheringController.Stop("ClearTasksInternal"); _fateController.Stop("ClearTasksInternal"); _seasonalDutyController.Stop("ClearTasksInternal"); @@ -930,6 +878,7 @@ internal sealed class QuestController : MiniTaskController public override void Stop(string label) { + base.Stop(label); using (_logger.BeginScope("Stop/" + label)) { if (IsRunning || AutomationType != EAutomationType.Manual) @@ -938,28 +887,42 @@ internal sealed class QuestController : MiniTaskController _logger.LogInformation("Stopping automatic questing"); AutomationType = EAutomationType.Manual; _nextQuest = null; - _gatheringQuest = null; - _lastTaskUpdate = DateTime.Now; - _stopConditionsMetAtStart.Clear(); - ResetAutoRefreshState(); + _deathCount = 0; + _deathRecoveryPending = false; + _resumeAfterSideTasks = false; + SessionConditions.Clear(); + _conditionsMetAtStart.Clear(); } } } + public void RunDebugTasks(IReadOnlyList tasks, string label) + { + Stop(label); + _runningDebugTasks = true; + foreach (ITask task in tasks) + { + _taskQueue.Enqueue(task); + } + } + private void StopAllDueToConditionFailed(string label) { Stop(label); _movementController.Stop(); _combatController.Stop(label); _gatheringController.Stop(label); + _fishingController.Stop(label); _fateController.Stop(label); _seasonalDutyController.Stop(label); + _customDeliveryController.Stop(label); + _attunementController.Stop(label); } private void CheckNextTasks(string label) { EAutomationType automationType = AutomationType; - if ((automationType == EAutomationType.Automatic || (uint)(automationType - 3) <= 1u) ? true : false) + if ((uint)(automationType - 1) <= 2u) { using (_logger.BeginScope(label)) { @@ -971,14 +934,10 @@ internal sealed class QuestController : MiniTaskController if (valueOrDefault >= 0 && valueOrDefault < 255) { ExecuteNextStep(); - goto IL_008e; + return; } } - _logger.LogInformation("Couldn't execute next step during Stop() call"); - goto IL_008e; - IL_008e: - _lastTaskUpdate = DateTime.Now; - ResetAutoRefreshState(); + _logger.LogDebug("Couldn't execute next step during Stop() call"); return; } } @@ -987,10 +946,10 @@ internal sealed class QuestController : MiniTaskController public void SimulateQuest(Quest? quest, byte sequence, int step) { - _logger.LogInformation("SimulateQuest: {QuestId}", quest?.Id); + _logger.LogDebug("SimulateQuest: {QuestId}", quest?.Id); if (quest != null) { - _simulatedQuest = new QuestProgress(quest, sequence, step); + _simulatedQuest = CreateQuestProgress(quest, sequence, step); } else { @@ -1003,7 +962,7 @@ internal sealed class QuestController : MiniTaskController _logger.LogInformation("NextQuest: {QuestId}", quest?.Id); if (quest != null) { - _nextQuest = new QuestProgress(quest, 0); + _nextQuest = CreateQuestProgress(quest, 0); } else { @@ -1011,28 +970,22 @@ internal sealed class QuestController : MiniTaskController } } - public void SetGatheringQuest(Quest? quest) - { - _logger.LogInformation("GatheringQuest: {QuestId}", quest?.Id); - if (quest != null) - { - _gatheringQuest = new QuestProgress(quest, 0); - } - else - { - _gatheringQuest = null; - } - } - public void SetPendingQuest(QuestProgress? quest) { - _logger.LogInformation("PendingQuest: {QuestId}", quest?.Quest.Id); + _logger.LogDebug("PendingQuest: {QuestId}", quest?.Quest.Id); _pendingQuest = quest; } protected override void UpdateCurrentTask() { - if (!_gameFunctions.IsOccupied() || _gameFunctions.IsOccupiedWithCustomDeliveryNpc(CurrentQuest?.Quest)) + bool flag = _gameFunctions.IsOccupied(); + if (flag) + { + ITask task = _taskQueue.CurrentTaskExecutor?.CurrentTask; + bool flag2 = ((task is WaitAtEnd.WaitQuestAccepted || task is RepairGear.SelfRepairTask || task is RepairGear.MenderRepairTask) ? true : false); + flag = !flag2; + } + if (!flag) { base.UpdateCurrentTask(); } @@ -1042,12 +995,19 @@ internal sealed class QuestController : MiniTaskController { if (task is WaitAtEnd.WaitQuestCompleted) { + _questsCompletedThisSession++; _simulatedQuest = null; } } + protected override void OnRetryStep() + { + ExecuteNextStep(); + } + protected override void OnNextStep(ILastTask task) { + _deathCount = 0; IncreaseStepCount(task.ElementId, task.Sequence, shouldContinue: true); } @@ -1058,25 +1018,13 @@ internal sealed class QuestController : MiniTaskController if (!CheckAndBlockForStopConditions()) { RecordStopConditionsMetAtStart(); + _gearRepairService.ResetAttemptCooldown(); AutomationType = EAutomationType.Automatic; ExecuteNextStep(); } } } - public void StartGatheringQuest(string label) - { - using (_logger.BeginScope("GQ/" + label)) - { - if (!CheckAndBlockForStopConditions()) - { - RecordStopConditionsMetAtStart(); - AutomationType = EAutomationType.GatheringOnly; - ExecuteNextStep(); - } - } - } - public void StartSingleQuest(string label) { using (_logger.BeginScope("SQ/" + label)) @@ -1084,6 +1032,7 @@ internal sealed class QuestController : MiniTaskController if (!CheckAndBlockForStopConditions()) { RecordStopConditionsMetAtStart(); + _gearRepairService.ResetAttemptCooldown(); AutomationType = EAutomationType.SingleQuestA; ExecuteNextStep(); } @@ -1099,42 +1048,169 @@ internal sealed class QuestController : MiniTaskController } } + private StopEvaluationContext BuildEvaluationContext(ElementId? completedQuestId = null, ElementId? acceptedQuestId = null, EInteractionType? upcomingInteractionType = null) + { + IPlayerCharacter localPlayer = LocalPlayer; + return new StopEvaluationContext + { + PlayerLevel = (localPlayer?.Level ?? 0), + CurrentQuestId = CurrentQuest?.Quest.Id, + CurrentSequence = (CurrentQuest?.Sequence ?? 0), + CompletedQuestId = completedQuestId, + AcceptedQuestId = acceptedQuestId, + Gil = GetCurrentGil(), + FreeInventorySlots = InventoryHelper.CountFreeInventorySlots(), + ElapsedSinceStart = DateTime.UtcNow - _automationStartedAt, + QuestsCompletedThisSession = _questsCompletedThisSession, + UpcomingInteractionType = upcomingInteractionType + }; + } + + private unsafe static int GetCurrentGil() + { + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->GetItemCountInContainer(1u, InventoryType.Currency, isHq: false, 0); + } + + private bool CheckStopConditions(StopEvaluationContext context) + { + if (!_configuration.Stop.Enabled) + { + return false; + } + bool hasQuestSpecificSequence = false; + if (context.CurrentQuestId != null) + { + foreach (StopCondition condition in _configuration.Stop.Conditions) + { + if (condition is QuestCompleteCondition questCompleteCondition && questCompleteCondition.QuestId.Equals(context.CurrentQuestId) && questCompleteCondition.Sequence.HasValue) + { + hasQuestSpecificSequence = true; + break; + } + } + } + foreach (StopCondition condition2 in _configuration.Stop.Conditions) + { + if (EvaluateCondition(condition2, context, hasQuestSpecificSequence)) + { + return true; + } + } + foreach (StopCondition sessionCondition in SessionConditions) + { + if (EvaluateCondition(sessionCondition, context, hasQuestSpecificSequence)) + { + return true; + } + } + return false; + } + + private bool EvaluateCondition(StopCondition condition, StopEvaluationContext context, bool hasQuestSpecificSequence) + { + if (condition.Mode == EStopConditionMode.Off) + { + return false; + } + if (condition is GlobalSequenceCondition && hasQuestSpecificSequence) + { + return false; + } + if (!condition.Evaluate(context)) + { + return false; + } + if (condition.Mode == EStopConditionMode.Pause && _conditionsMetAtStart.Contains(condition)) + { + return false; + } + _logger.LogInformation("Stop condition met: {Description} (mode={Mode})", condition.GetDescription(), condition.Mode); + LastStopReason = $"{condition.Mode}: {condition.GetDescription()}"; + _notificationService.NotifyStopCondition("Stopped - " + condition.GetDescription()); + if (condition.IsSession) + { + SessionConditions.Remove(condition); + } + bool flag = AutomationType != EAutomationType.Manual; + Stop("Stop condition: " + condition.GetDescription()); + if (condition.Mode == EStopConditionMode.Stop && flag && !_commandAfterStopFired) + { + _commandAfterStopFired = true; + string text = _configuration.Stop.CommandAfterStop?.Trim() ?? string.Empty; + if (text.Length > 0) + { + if (!text.StartsWith('/')) + { + text = "/" + text; + } + try + { + _commandManager.ProcessCommand(text); + } + catch (Exception exception) + { + _logger.LogWarning(exception, "CommandAfterStop failed: {Command}", text); + } + } + } + return true; + } + + public void OnQuestAccepted(ElementId questId) + { + CaptureInitialQuestWork(_startedQuest, questId); + CaptureInitialQuestWork(_nextQuest, questId); + CaptureInitialQuestWork(_pendingQuest, questId); + if (CheckStopConditions(BuildEvaluationContext(null, questId))) + { + _logger.LogInformation("Stopped after accepting quest {QuestId}", questId); + } + } + + public QuestProgressInfo? GetInitialQuestProgressInfo(ElementId questId) + { + QuestProgress questProgress = CurrentQuestDetails?.Progress; + if (questProgress == null || !questProgress.Quest.Id.Equals(questId)) + { + return null; + } + return questProgress.InitialQuestWork; + } + + private QuestProgress CreateQuestProgress(Quest quest, byte sequence = 0, int step = 0) + { + return new QuestProgress(quest, sequence, step, _questFunctions.GetQuestProgressInfo(quest.Id)); + } + + private void CaptureInitialQuestWork(QuestProgress? progress, ElementId questId) + { + if (progress != null && progress.Quest.Id.Equals(questId)) + { + progress.CaptureInitialQuestWork(_questFunctions.GetQuestProgressInfo(questId)); + } + } + private void RecordStopConditionsMetAtStart() { - _stopConditionsMetAtStart.Clear(); + LastStopReason = null; + _conditionsMetAtStart.Clear(); + _automationStartedAt = DateTime.UtcNow; + _questsCompletedThisSession = 0; if (!_configuration.Stop.Enabled) { return; } - if (_configuration.Stop.LevelStopMode == Configuration.EStopConditionMode.Pause && _objectTable[0] is IPlayerCharacter playerCharacter && playerCharacter.Level >= _configuration.Stop.TargetLevel) + StopEvaluationContext context = BuildEvaluationContext(); + foreach (StopCondition item in _configuration.Stop.Conditions.Concat(SessionConditions)) { - _stopConditionsMetAtStart.Add($"level:{_configuration.Stop.TargetLevel}"); - _logger.LogDebug("Recording level stop condition as already met at start: {Level}", _configuration.Stop.TargetLevel); - } - if (_configuration.Stop.SequenceStopMode == Configuration.EStopConditionMode.Pause && _startedQuest != null) - { - string text = _startedQuest.Quest.Id.ToString(); - if (!_configuration.Stop.QuestSequences.ContainsKey(text)) + if (item.Mode == EStopConditionMode.Pause && item.Evaluate(context)) { - int sequence = _startedQuest.Sequence; - if (sequence >= _configuration.Stop.TargetSequence) - { - _stopConditionsMetAtStart.Add($"sequence:{text}:{sequence}"); - _logger.LogDebug("Recording global sequence stop condition as already met at start: quest {QuestId}, sequence {Sequence}", text, sequence); - } - } - } - foreach (ElementId item in _configuration.Stop.QuestsToStopAfter) - { - string text2 = item.ToString(); - if (_configuration.Stop.QuestStopModes.GetValueOrDefault(text2, Configuration.EStopConditionMode.Pause) == Configuration.EStopConditionMode.Pause && _configuration.Stop.QuestSequences.TryGetValue(text2, out var value) && value.HasValue && _questFunctions.IsQuestAccepted(item)) - { - QuestProgressInfo questProgressInfo = _questFunctions.GetQuestProgressInfo(item); - if (questProgressInfo != null && questProgressInfo.Sequence >= value.Value) - { - _stopConditionsMetAtStart.Add($"questseq:{text2}:{questProgressInfo.Sequence}"); - _logger.LogDebug("Recording quest sequence stop condition as already met at start: quest {QuestId}, sequence {Sequence}", text2, questProgressInfo.Sequence); - } + _conditionsMetAtStart.Add(item); } } } @@ -1145,137 +1221,88 @@ internal sealed class QuestController : MiniTaskController { return false; } - if (_configuration.Stop.LevelStopMode == Configuration.EStopConditionMode.Stop && _objectTable[0] is IPlayerCharacter playerCharacter && playerCharacter.Level >= _configuration.Stop.TargetLevel) + StopEvaluationContext context = BuildEvaluationContext(); + foreach (StopCondition condition in _configuration.Stop.Conditions) { - _logger.LogInformation("Blocking start: Level stop condition already met (current: {CurrentLevel}, target: {TargetLevel})", playerCharacter.Level, _configuration.Stop.TargetLevel); - _chatGui.Print($"Cannot start: Character level {playerCharacter.Level} has reached target level {_configuration.Stop.TargetLevel}.", "Questionable", 576); - return true; - } - foreach (ElementId item in _configuration.Stop.QuestsToStopAfter) - { - string key = item.ToString(); - if (_configuration.Stop.QuestStopModes.GetValueOrDefault(key, Configuration.EStopConditionMode.Pause) != Configuration.EStopConditionMode.Stop) + if (condition.Mode == EStopConditionMode.Stop && condition.Evaluate(context)) { - continue; - } - if (_configuration.Stop.QuestSequences.TryGetValue(key, out var value) && value.HasValue) - { - if (!_questFunctions.IsQuestAccepted(item)) - { - continue; - } - QuestProgressInfo questProgressInfo = _questFunctions.GetQuestProgressInfo(item); - if (questProgressInfo != null && questProgressInfo.Sequence >= value.Value) - { - if (_questRegistry.TryGetQuest(item, out Quest quest)) - { - _logger.LogInformation("Blocking start: Quest '{QuestName}' is at sequence {CurrentSequence}, stop sequence is {StopSequence}", quest.Info.Name, questProgressInfo.Sequence, value.Value); - _chatGui.Print($"Cannot start: Quest '{quest.Info.Name}' is at sequence {questProgressInfo.Sequence}, configured stop sequence is {value.Value}.", "Questionable", 576); - } - return true; - } - } - else if (_questFunctions.IsQuestComplete(item)) - { - if (_questRegistry.TryGetQuest(item, out Quest quest2)) - { - _logger.LogInformation("Blocking start: Quest '{QuestName}' is already complete and configured as a stop condition", quest2.Info.Name); - _chatGui.Print("Cannot start: Quest '" + quest2.Info.Name + "' is complete and configured as a stopping point.", "Questionable", 576); - } + _logger.LogInformation("Blocking start: {Description}", condition.GetDescription()); + _chatGui.PrintError("Cannot start: " + condition.GetDescription(), "Questionable", 576); return true; } } - if (_configuration.Stop.SequenceStopMode == Configuration.EStopConditionMode.Stop && _startedQuest != null) - { - string key2 = _startedQuest.Quest.Id.ToString(); - if (!_configuration.Stop.QuestSequences.ContainsKey(key2)) - { - int sequence = _startedQuest.Sequence; - if (sequence >= _configuration.Stop.TargetSequence) - { - _logger.LogInformation("Blocking start: Global sequence stop condition already met (current: {CurrentSequence}, target: {TargetSequence})", sequence, _configuration.Stop.TargetSequence); - _chatGui.Print($"Cannot start: Quest sequence {sequence} has reached target sequence {_configuration.Stop.TargetSequence}.", "Questionable", 576); - return true; - } - } - } return false; } private void ExecuteNextStep() { + _logger.LogDebug("ExecuteNextStep called. AutoType={AutoType}, CurrentQuest={CurrentQuest}", AutomationType, CurrentQuest?.Quest.Id); ClearTasksInternal(); if (TryPickPriorityQuest()) { - _logger.LogInformation("Using priority quest over current quest"); + _logger.LogDebug("Using priority quest over current quest"); + } + var (questSequence, questStep, flag) = GetNextStep(); + if (CurrentQuest != null && questSequence != null && questStep == null && questSequence.Steps.Count == 0) + { + _logger.LogDebug("Sequence {Sequence} has no steps, waiting for game to advance sequence", CurrentQuest.Sequence); + CurrentQuest.SetStep(255); + return; } - var (questSequence, step, flag) = GetNextStep(); if (CurrentQuest == null || questSequence == null) { - _logger.LogDebug("ExecuteNextStep: No current quest or sequence. Checking leveling mode conditions."); - if (AutomationType == EAutomationType.Automatic && !_condition[ConditionFlag.BoundByDuty]) - { - (bool isLevelLocked, int levelsNeeded, int requiredLevel, string? questName) msqLevelLockInfo = _questFunctions.GetMsqLevelLockInfo(); - bool item = msqLevelLockInfo.isLevelLocked; - int item2 = msqLevelLockInfo.levelsNeeded; - int item3 = msqLevelLockInfo.requiredLevel; - string item4 = msqLevelLockInfo.questName; - int currentPlayerLevel = (_objectTable[0] as IPlayerCharacter)?.Level ?? 0; - if (item && _autoDutyIpc.IsConfiguredToRunLevelingMode(currentPlayerLevel)) - { - _logger.LogInformation("MSQ '{QuestName}' requires level {RequiredLevel}, current level is {CurrentLevel} ({LevelsNeeded} levels needed). Starting AutoDuty Leveling mode.", item4, item3, item3 - item2, item2); - _taskQueue.Enqueue(new Duty.StartLevelingModeTask(item3, item4)); - _taskQueue.Enqueue(new Duty.WaitLevelingModeTask(item3)); - return; - } - } - if (CurrentQuestDetails?.Progress.Quest.Id is SatisfactionSupplyNpcId && CurrentQuestDetails?.Progress.Sequence == 1) - { - (QuestProgress, ECurrentQuestType)? currentQuestDetails = CurrentQuestDetails; - if (currentQuestDetails.HasValue && currentQuestDetails.GetValueOrDefault().Item1.Step == 255) - { - currentQuestDetails = CurrentQuestDetails; - if (currentQuestDetails.HasValue && currentQuestDetails.GetValueOrDefault().Item2 == ECurrentQuestType.Gathering) - { - _logger.LogInformation("Completed delivery quest"); - SetGatheringQuest(null); - Stop("Gathering quest complete"); - goto IL_02d0; - } - } - } _logger.LogWarning("Could not retrieve next quest step, not doing anything [{QuestId}, {Sequence}, {Step}]", CurrentQuest?.Quest.Id, CurrentQuest?.Sequence, CurrentQuest?.Step); - goto IL_02d0; + if (CurrentQuest == null || !flag) + { + return; + } + } + if (questStep != null && questStep.TerritoryId != _clientState.TerritoryType && (_territoryData.IsDutyInstance(_clientState.TerritoryType) || _territoryData.IsQuestBattleInstance(_clientState.TerritoryType))) + { + _logger.LogDebug("Deferring next step: step territory {StepTerritory} != current instance territory {CurrentTerritory}, waiting for duty exit", questStep.TerritoryId, _clientState.TerritoryType); + DebugState = "Waiting for duty exit"; + return; + } + bool flag2 = questStep != null; + if (flag2) + { + EInteractionType interactionType = questStep.InteractionType; + bool flag3 = (uint)(interactionType - 19) <= 1u; + flag2 = flag3; + } + if (flag2 && CheckStopConditions(BuildEvaluationContext(null, null, questStep.InteractionType))) + { + return; } - goto IL_02dc; - IL_02dc: _movementController.Stop(); - _combatController.Stop("Execute next step"); - _gatheringController.Stop("Execute next step"); - _fateController.Stop("Execute next step"); - _seasonalDutyController.Stop("Execute next step"); + if (questStep != null) + { + switch (_gearRepairService.EvaluateAndEnqueue(questStep.InteractionType, _taskQueue)) + { + case ERepairDecision.Enqueued: + _resumeAfterSideTasks = true; + return; + case ERepairDecision.BlockDuty: + _chatGui.PrintError("Gear is critically damaged and cannot be repaired - stopping before duty.", "Questionable", 576); + Stop("Gear critically damaged"); + return; + } + } try { - foreach (ITask item5 in _taskCreator.CreateTasks(CurrentQuest.Quest, CurrentQuest.Sequence, questSequence, step)) + (QuestProgress, ECurrentQuestType)? currentQuestDetails = CurrentQuestDetails; + bool isSimulation = currentQuestDetails.HasValue && currentQuestDetails.GetValueOrDefault().Item2 == ECurrentQuestType.Simulated; + foreach (ITask item in _taskCreator.CreateTasks(CurrentQuest.Quest, CurrentQuest.Sequence, questSequence, questStep, isSimulation)) { - _taskQueue.Enqueue(item5); + _taskQueue.Enqueue(item); } - ResetAutoRefreshState(); - return; } catch (Exception exception) { _logger.LogError(exception, "Failed to create tasks"); _chatGui.PrintError("Failed to start next task sequence, please check /xllog for details.", "Questionable", 576); Stop("Tasks failed to create"); - return; } - IL_02d0: - if (CurrentQuest == null || !flag) - { - return; - } - goto IL_02dc; } public string ToStatString() @@ -1312,36 +1339,33 @@ internal sealed class QuestController : MiniTaskController public void Skip(ElementId elementId, byte currentQuestSequence) { - lock (_progressLock) + if (_taskQueue.CurrentTaskExecutor?.CurrentTask is ISkippableTask) { - if (_taskQueue.CurrentTaskExecutor?.CurrentTask is ISkippableTask) + _taskQueue.CurrentTaskExecutor = null; + } + else if (_taskQueue.CurrentTaskExecutor != null) + { + _taskQueue.CurrentTaskExecutor = null; + ITask task; + while (_taskQueue.TryPeek(out task)) { - _taskQueue.CurrentTaskExecutor = null; - } - else if (_taskQueue.CurrentTaskExecutor != null) - { - _taskQueue.CurrentTaskExecutor = null; - ITask task; - while (_taskQueue.TryPeek(out task)) + _taskQueue.TryDequeue(out ITask _); + if (task is ISkippableTask) { - _taskQueue.TryDequeue(out ITask _); - if (task is ISkippableTask) - { - return; - } - } - if (_taskQueue.AllTasksComplete) - { - Stop("Skip"); - IncreaseStepCount(elementId, currentQuestSequence); + return; } } - else + if (_taskQueue.AllTasksComplete) { - Stop("SkipNx"); + Stop("Skip"); IncreaseStepCount(elementId, currentQuestSequence); } } + else + { + Stop("SkipNx"); + IncreaseStepCount(elementId, currentQuestSequence); + } } public void SkipSimulatedTask() @@ -1352,7 +1376,7 @@ internal sealed class QuestController : MiniTaskController public bool IsInterruptible() { EAutomationType automationType = AutomationType; - if ((uint)(automationType - 3) <= 1u) + if ((uint)(automationType - 2) <= 1u) { return false; } @@ -1385,16 +1409,27 @@ internal sealed class QuestController : MiniTaskController return false; } QuestStep questStep = questSequence?.FindStep(questProgress.Step); - if (questStep != null && questStep.AetheryteShortcut.HasValue && (questStep.SkipConditions?.AetheryteShortcutIf?.QuestsCompleted.Count).GetValueOrDefault() == 0) + if (questStep == null || !questStep.Position.HasValue) { - return (questStep.SkipConditions?.AetheryteShortcutIf?.QuestsAccepted.Count).GetValueOrDefault() == 0; + return false; } - return false; + (ElementId, byte, bool, long)? interruptibleRouteCache = _interruptibleRouteCache; + if (interruptibleRouteCache.HasValue) + { + (ElementId, byte, bool, long) valueOrDefault = interruptibleRouteCache.GetValueOrDefault(); + if (valueOrDefault.Item1 == questProgress.Quest.Id && valueOrDefault.Item2 == questProgress.Sequence && Environment.TickCount64 - valueOrDefault.Item4 < 2000) + { + return valueOrDefault.Item3; + } + } + bool flag = _smartNavRouteEnqueuer.RouteStartsWithTeleport(questStep.TerritoryId, questStep.Position.Value); + _interruptibleRouteCache = (questProgress.Quest.Id, questProgress.Sequence, flag, Environment.TickCount64); + return flag; } public bool TryPickPriorityQuest() { - if (!IsInterruptible() || _nextQuest != null || _gatheringQuest != null || _simulatedQuest != null) + if (!IsInterruptible() || _nextQuest != null || _simulatedQuest != null) { return false; } @@ -1417,20 +1452,28 @@ internal sealed class QuestController : MiniTaskController return false; } - public void ImportQuestPriority(List questElements) + public bool ImportQuestPriority(List questElements) { - ManualPriorityQuests.Clear(); + List list = new List(); foreach (ElementId questElement in questElements) { if (_questRegistry.TryGetQuest(questElement, out Quest quest)) { - ManualPriorityQuests.Add(quest); + list.Add(quest); continue; } _logger.LogWarning("Could not find quest {QuestId} during import", questElement); } + if (list.Count == 0) + { + _logger.LogWarning("Priority import contained no known quests; keeping existing list"); + return false; + } + ManualPriorityQuests.Clear(); + ManualPriorityQuests.AddRange(list); _logger.LogInformation("Imported {Count} priority quests", ManualPriorityQuests.Count); SavePriorityQuests(); + return true; } public string ExportQuestPriority() @@ -1463,11 +1506,6 @@ internal sealed class QuestController : MiniTaskController { return false; } - if (quest2.Info.AlliedSociety != EAlliedSociety.None) - { - _logger.LogDebug("Excluding allied society quest {QuestId} from bulk add", quest2.Id); - return false; - } if (quest2.Info is QuestInfo questInfo && _journalData.MoogleDeliveryGenreId.HasValue && questInfo.JournalGenre == _journalData.MoogleDeliveryGenreId.Value) { _logger.LogDebug("Excluding moogle delivery quest {QuestId} from bulk add", quest2.Id); @@ -1536,7 +1574,7 @@ internal sealed class QuestController : MiniTaskController } if (ManualPriorityQuests.Count > 0) { - _logger.LogInformation("Loaded {Count} priority quests from configuration", ManualPriorityQuests.Count); + _logger.LogDebug("Loaded {Count} priority quests from configuration", ManualPriorityQuests.Count); } } @@ -1575,9 +1613,10 @@ internal sealed class QuestController : MiniTaskController private void OnLogout(int type, int code) { + StopAllDueToConditionFailed("Logged out"); if (_configuration.General.ClearPriorityQuestsOnLogout) { - _logger.LogInformation("Clearing priority quests on logout"); + _logger.LogDebug("Clearing priority quests on logout"); ManualPriorityQuests.Clear(); if (_configuration.General.PersistPriorityQuestsBetweenSessions) { @@ -1597,8 +1636,32 @@ internal sealed class QuestController : MiniTaskController } } + private void OnQuestRegistryReloaded(object? sender, EventArgs e) + { + RefreshQuestReference(_startedQuest); + RefreshQuestReference(_nextQuest); + RefreshQuestReference(_pendingQuest); + for (int i = 0; i < ManualPriorityQuests.Count; i++) + { + if (_questRegistry.TryGetQuest(ManualPriorityQuests[i].Id, out Quest quest)) + { + ManualPriorityQuests[i] = quest; + } + } + _interruptibleRouteCache = null; + } + + private void RefreshQuestReference(QuestProgress? progress) + { + if (progress != null && _questRegistry.TryGetQuest(progress.Quest.Id, out Quest quest)) + { + progress.ReplaceQuest(quest); + } + } + public override void Dispose() { + _questRegistry.Reloaded -= OnQuestRegistryReloaded; _toastGui.ErrorToast -= base.OnErrorToast; _toastGui.Toast -= OnNormalToast; _condition.ConditionChange -= OnConditionChange; diff --git a/Questionable/Questionable.Controller/QuestPriorityResolver.cs b/Questionable/Questionable.Controller/QuestPriorityResolver.cs new file mode 100644 index 0000000..ab6d83f --- /dev/null +++ b/Questionable/Questionable.Controller/QuestPriorityResolver.cs @@ -0,0 +1,593 @@ +using System.Collections.Generic; +using System.Linq; +using Dalamud.Game.ClientState.Conditions; +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Application.Network.WorkDefinitions; +using FFXIVClientStructs.FFXIV.Client.Game; +using FFXIVClientStructs.FFXIV.Client.UI.Agent; +using LLib.GameData; +using Microsoft.Extensions.Logging; +using Questionable.Data; +using Questionable.External; +using Questionable.Functions; +using Questionable.Model; +using Questionable.Model.Questing; + +namespace Questionable.Controller; + +internal sealed class QuestPriorityResolver +{ + private readonly QuestFunctions _questFunctions; + + private readonly QuestRegistry _questRegistry; + + private readonly QuestData _questData; + + private readonly AlliedSocietyData _alliedSocietyData; + + private readonly AlliedSocietyQuestFunctions _alliedSocietyQuestFunctions; + + private readonly Configuration _configuration; + + private readonly IObjectTable _objectTable; + + private readonly ICondition _condition; + + private readonly IClientState _clientState; + + private readonly AutoDutyIpc _autoDutyIpc; + + private readonly ILogger _logger; + + private readonly HashSet _alreadyLoggedUnobtainableQuests = new HashSet(); + + private ElementId? _lastLoggedLevelLockedMsq; + + private ElementId? _lastLoggedForcedClassQuest; + + private ElementId? _lastLoggedRegistryClassQuest; + + private ElementId? _lastLoggedPriorityClassQuest; + + private bool _loggedNoClassQuestsAvailable; + + private bool _loggedAdventurerClass; + + public QuestPriorityResolver(QuestFunctions questFunctions, QuestRegistry questRegistry, QuestData questData, AlliedSocietyData alliedSocietyData, AlliedSocietyQuestFunctions alliedSocietyQuestFunctions, Configuration configuration, IObjectTable objectTable, ICondition condition, IClientState clientState, AutoDutyIpc autoDutyIpc, ILogger logger) + { + _questFunctions = questFunctions; + _questRegistry = questRegistry; + _questData = questData; + _alliedSocietyData = alliedSocietyData; + _alliedSocietyQuestFunctions = alliedSocietyQuestFunctions; + _configuration = configuration; + _objectTable = objectTable; + _condition = condition; + _clientState = clientState; + _autoDutyIpc = autoDutyIpc; + _logger = logger; + } + + public QuestReference GetCurrentQuest() + { + QuestResolution questResolution = ResolveFromGameState(new List(), QuestController.EAutomationType.Automatic); + if (questResolution.HasQuest) + { + return new QuestReference(questResolution.QuestId, questResolution.Sequence, questResolution.MsqState); + } + return QuestReference.NoQuest(questResolution.MsqState); + } + + public QuestResolution Resolve(QuestSlots slots) + { + if (slots.Simulated != null) + { + return QuestResolution.Slot(EQuestResolutionType.Simulated, slots.Simulated, "Simulated quest"); + } + if (slots.Next != null) + { + return QuestResolution.Slot(EQuestResolutionType.NextQuest, slots.Next, $"Next quest {slots.Next.Quest.Id}"); + } + return ResolveFromGameState(slots.ManualPriorityQuests, slots.AutomationType); + } + + private QuestResolution ResolveFromGameState(List manualPriorityQuests, QuestController.EAutomationType automationType) + { + bool allowNewMsq = automationType != QuestController.EAutomationType.SingleQuestB; + QuestReference resolvedMsqQuest = GetResolvedMsqQuest(); + int num = _objectTable.LocalPlayer?.Level ?? 0; + EClassJob valueOrDefault = ((EClassJob?)_objectTable.LocalPlayer?.ClassJob.RowId).GetValueOrDefault(); + QuestResolution? questResolution = TryResolveManualPriority(manualPriorityQuests, resolvedMsqQuest.State); + if (questResolution.HasValue) + { + QuestResolution valueOrDefault2 = questResolution.GetValueOrDefault(); + return ApplyQuestRedirects(valueOrDefault2); + } + questResolution = TryResolveInProgressClassQuest(valueOrDefault, resolvedMsqQuest.State); + if (questResolution.HasValue) + { + return questResolution.GetValueOrDefault(); + } + questResolution = TryResolveClassJobPriority(valueOrDefault, resolvedMsqQuest.State); + if (questResolution.HasValue) + { + return questResolution.GetValueOrDefault(); + } + if (resolvedMsqQuest.CurrentQuest != null && IsMsqLevelLocked(resolvedMsqQuest, num, automationType)) + { + if (_lastLoggedLevelLockedMsq != resolvedMsqQuest.CurrentQuest) + { + _logger.LogInformation("MSQ {MsqId} requires higher level, current level {CurrentLevel}. Checking for early class quests.", resolvedMsqQuest.CurrentQuest, num); + _lastLoggedLevelLockedMsq = resolvedMsqQuest.CurrentQuest; + _loggedNoClassQuestsAvailable = false; + _loggedAdventurerClass = false; + } + return TryResolveNewClassQuest(valueOrDefault, num, resolvedMsqQuest.State) ?? TryResolveLevelingMode(num, automationType, resolvedMsqQuest.State) ?? QuestResolution.None(MainScenarioQuestState.Unavailable, "MSQ level-locked, no class quests or leveling available"); + } + _lastLoggedLevelLockedMsq = null; + _lastLoggedForcedClassQuest = null; + _lastLoggedRegistryClassQuest = null; + _lastLoggedPriorityClassQuest = null; + _loggedNoClassQuestsAvailable = false; + _loggedAdventurerClass = false; + questResolution = TryResolveMsqImmediate(resolvedMsqQuest, allowNewMsq); + if (questResolution.HasValue) + { + return questResolution.GetValueOrDefault(); + } + questResolution = TryResolveTrackedQuest(resolvedMsqQuest.State); + if (questResolution.HasValue) + { + QuestResolution valueOrDefault3 = questResolution.GetValueOrDefault(); + return ApplyQuestRedirects(valueOrDefault3); + } + questResolution = TryResolveAutoPriority(resolvedMsqQuest.State); + if (questResolution.HasValue) + { + QuestResolution valueOrDefault4 = questResolution.GetValueOrDefault(); + return ApplyQuestRedirects(valueOrDefault4); + } + questResolution = TryResolveMsqFallback(resolvedMsqQuest, allowNewMsq); + if (questResolution.HasValue) + { + return questResolution.GetValueOrDefault(); + } + if (resolvedMsqQuest.CurrentQuest == null || resolvedMsqQuest.CurrentQuest.Value == 0) + { + questResolution = TryResolveStartingCity(resolvedMsqQuest.State); + if (questResolution.HasValue) + { + return questResolution.GetValueOrDefault(); + } + } + return QuestResolution.None(resolvedMsqQuest.State, "No quest available"); + } + + private QuestReference GetResolvedMsqQuest() + { + QuestReference questReference = _questFunctions.GetMainScenarioQuest().Item1; + if (questReference.CurrentQuest != null && !_questRegistry.IsKnownQuest(questReference.CurrentQuest)) + { + if (questReference.CurrentQuest is QuestId questId && _alreadyLoggedUnobtainableQuests.Add(questId.Value)) + { + _logger.LogWarning("MSQ {MsqQuestId} is not in the quest registry", questReference.CurrentQuest); + } + questReference = QuestReference.NoQuest(questReference.State); + } + return ApplyMsqSpecialCases(questReference); + } + + private QuestReference ApplyMsqSpecialCases(QuestReference msqQuest) + { + var (elementId2, sequence, state) = msqQuest; + if (elementId2 == null || elementId2.Value == 0) + { + return msqQuest; + } + if (elementId2.Value == 681) + { + if (_questFunctions.IsQuestAccepted(elementId2) || _questFunctions.IsQuestComplete(elementId2)) + { + return new QuestReference(elementId2, sequence, state); + } + GrandCompany grandCompany = _configuration.General.GrandCompany; + if (grandCompany == GrandCompany.None) + { + grandCompany = PlayerStateHelper.GetStartTown() switch + { + 1 => GrandCompany.Maelstrom, + 2 => GrandCompany.TwinAdder, + 3 => GrandCompany.ImmortalFlames, + _ => GrandCompany.None, + }; + } + return grandCompany switch + { + GrandCompany.TwinAdder => new QuestReference(new QuestId(680), 0, state), + GrandCompany.Maelstrom => new QuestReference(new QuestId(681), 0, state), + GrandCompany.ImmortalFlames => new QuestReference(new QuestId(682), 0, state), + _ => QuestReference.NoQuest(MainScenarioQuestState.Unavailable), + }; + } + if (elementId2.Value == 3856 && !PlayerStateHelper.IsMountUnlocked(1u)) + { + ushort num = (GrandCompany)GrandCompanyHelper.GetGrandCompanyId() switch + { + GrandCompany.TwinAdder => 700, + GrandCompany.Maelstrom => 701, + GrandCompany.ImmortalFlames => 702, + _ => 0, + }; + if (num != 0 && !QuestManager.IsQuestComplete(num)) + { + return new QuestReference(new QuestId(num), QuestManager.GetQuestSequence(num), state); + } + } + if (elementId2.Value == 801) + { + QuestId questId = new QuestId(802); + if (_questFunctions.IsQuestAccepted(questId)) + { + return new QuestReference(questId, QuestManager.GetQuestSequence(questId.Value), state); + } + } + return msqQuest; + } + + private QuestResolution ApplyQuestRedirects(QuestResolution resolution) + { + ElementId questId = resolution.QuestId; + if ((object)questId != null && questId.Value == 801) + { + QuestId questId2 = new QuestId(802); + if (_questFunctions.IsQuestAccepted(questId2)) + { + return resolution with + { + QuestId = questId2, + Sequence = QuestManager.GetQuestSequence(questId2.Value), + DebugReason = "Redirected 801 -> 802 (Broadening Horizons prerequisite)" + }; + } + } + return resolution; + } + + private QuestResolution? TryResolveManualPriority(List manualPriorityQuests, MainScenarioQuestState msqState) + { + if (manualPriorityQuests.Count == 0) + { + return null; + } + (ElementId, byte) tuple = (from x in manualPriorityQuests + where _questFunctions.IsQuestAccepted(x.Id) ? ((!_configuration.Advanced.AutoPrioritizeAlliedSocietyRankUp || !(x.Id is QuestId questId) || !_questFunctions.WouldOvercapAlliedSocietyReputation(questId)) ? true : false) : _questFunctions.IsReadyToAcceptQuest(x.Id) + select (QuestId: x.Id, Sequence: _questFunctions.GetQuestProgressInfo(x.Id)?.Sequence ?? 0)).FirstOrDefault(); + if ((object)tuple.Item1 != null) + { + return QuestResolution.ForQuest(EQuestResolutionType.ManualPriority, tuple.Item1, tuple.Item2, msqState, $"Manual priority quest {tuple.Item1}"); + } + return null; + } + + private QuestResolution? TryResolveInProgressClassQuest(EClassJob currentClassJob, MainScenarioQuestState msqState) + { + if (currentClassJob == EClassJob.Adventurer) + { + return null; + } + QuestInfo questInfo = (from x in _questData.GetClassJobQuests(currentClassJob) + where (x.Level <= 5 || !_configuration.Advanced.SkipClassJobQuests) && _questFunctions.IsQuestAccepted(x.QuestId) && !_questFunctions.IsQuestComplete(x.QuestId) + orderby x.Level + select x).FirstOrDefault(); + if (questInfo == null) + { + return null; + } + _logger.LogTrace("Found in-progress class quest {QuestId}, continuing it", questInfo.QuestId); + return QuestResolution.ForQuest(EQuestResolutionType.InProgressClassQuest, questInfo.QuestId, QuestManager.GetQuestSequence(questInfo.QuestId.Value), msqState, $"In-progress class quest {questInfo.QuestId}"); + } + + private QuestResolution? TryResolveClassJobPriority(EClassJob currentClassJob, MainScenarioQuestState msqState) + { + if (_configuration.Advanced.SkipClassJobQuests || currentClassJob == EClassJob.Adventurer) + { + return null; + } + HashSet classJobQuestIds = (from x in _questRegistry.GetKnownClassJobQuests(currentClassJob, includeRoleQuests: false) + select x.QuestId).ToHashSet(); + ElementId elementId = (from x in _questFunctions.GetNextPriorityQuestsThatCanBeAccepted() + where x.IsAvailable && classJobQuestIds.Contains(x.QuestId) + select x.QuestId).FirstOrDefault(); + if (elementId == null) + { + return null; + } + return QuestResolution.ForQuest(EQuestResolutionType.NewClassQuest, elementId, QuestManager.GetQuestSequence(elementId.Value), msqState, $"Class/job priority quest {elementId}"); + } + + private bool IsMsqLevelLocked(QuestReference msqQuest, int currentLevel, QuestController.EAutomationType automationType) + { + if (msqQuest.CurrentQuest == null) + { + return false; + } + if (!_questRegistry.TryGetQuest(msqQuest.CurrentQuest, out Quest quest)) + { + return false; + } + if (_questFunctions.IsQuestAccepted(msqQuest.CurrentQuest)) + { + return false; + } + if (_configuration.General.MsqPriority == Configuration.EMsqPriorityMode.Manual) + { + return false; + } + return quest.Info.Level > currentLevel; + } + + private QuestResolution? TryResolveNewClassQuest(EClassJob currentClassJob, int currentLevel, MainScenarioQuestState msqState) + { + if (currentClassJob == EClassJob.Adventurer) + { + if (!_loggedAdventurerClass) + { + _logger.LogWarning("Current class is Adventurer, cannot find class quests"); + _loggedAdventurerClass = true; + } + return null; + } + List lockedQuests = QuestData.GetLockedClassQuests(); + QuestInfo questInfo = (from x in _questData.GetClassJobQuests(currentClassJob) + where x.Level <= currentLevel && x.Level <= 5 && !_questFunctions.IsQuestComplete(x.QuestId) && !lockedQuests.Contains(x.QuestId) + orderby x.Level + select x).FirstOrDefault(); + if (questInfo != null && !_questFunctions.IsQuestComplete(questInfo.QuestId)) + { + if (_lastLoggedForcedClassQuest != questInfo.QuestId) + { + _logger.LogInformation("MSQ level locked. Forcing class quest {ClassQuestId} for {ClassJob} (level {QuestLevel})", questInfo.QuestId, currentClassJob, questInfo.Level); + _lastLoggedForcedClassQuest = questInfo.QuestId; + } + return QuestResolution.ForQuest(EQuestResolutionType.NewClassQuest, questInfo.QuestId, QuestManager.GetQuestSequence(questInfo.QuestId.Value), msqState, $"New class quest (data) {questInfo.QuestId}"); + } + QuestInfo questInfo2 = (from x in _questRegistry.GetKnownClassJobQuests(currentClassJob, includeRoleQuests: false) + where x.Level <= currentLevel && x.Level <= 5 && !_questFunctions.IsQuestAcceptedOrComplete(x.QuestId) && _questFunctions.IsReadyToAcceptQuest(x.QuestId) + orderby x.Level + select x).FirstOrDefault(); + if (questInfo2 != null) + { + if (_lastLoggedRegistryClassQuest != questInfo2.QuestId) + { + _logger.LogInformation("MSQ level locked. Prioritizing class quest {ClassQuestId} for {ClassJob} (level {QuestLevel}) from registry", questInfo2.QuestId, currentClassJob, questInfo2.Level); + _lastLoggedRegistryClassQuest = questInfo2.QuestId; + } + return QuestResolution.ForQuest(EQuestResolutionType.NewClassQuest, questInfo2.QuestId, QuestManager.GetQuestSequence(questInfo2.QuestId.Value), msqState, $"New class quest (registry) {questInfo2.QuestId}"); + } + Quest quest; + ElementId elementId = (from x in _questFunctions.GetNextPriorityQuestsThatCanBeAccepted() + where x.IsAvailable + where _questRegistry.TryGetQuest(x.QuestId, out quest) && quest.Info.Level <= currentLevel && quest.Info is QuestInfo questInfo3 && questInfo3.ClassJobs.Count > 0 && questInfo3.ClassJobs.Any((EClassJob job) => !job.IsCrafter() && !job.IsGatherer()) + select x.QuestId).FirstOrDefault(); + if (elementId != null) + { + if (_lastLoggedPriorityClassQuest != elementId) + { + _logger.LogInformation("MSQ level locked. Prioritizing class quest {ClassQuestId} from priority list", elementId); + _lastLoggedPriorityClassQuest = elementId; + } + return QuestResolution.ForQuest(EQuestResolutionType.NewClassQuest, elementId, QuestManager.GetQuestSequence(elementId.Value), msqState, $"New class quest (priority) {elementId}"); + } + if (!_loggedNoClassQuestsAvailable) + { + _logger.LogWarning("MSQ level locked but no available early class quests found for {ClassJob} at level {CurrentLevel}", currentClassJob, currentLevel); + _loggedNoClassQuestsAvailable = true; + } + return null; + } + + private QuestResolution? TryResolveMsqImmediate(QuestReference msqQuest, bool allowNewMsq) + { + if (msqQuest.CurrentQuest == null || msqQuest.CurrentQuest.Value == 0) + { + return null; + } + if (_questFunctions.IsQuestAccepted(msqQuest.CurrentQuest)) + { + return null; + } + if (_configuration.General.MsqPriority != Configuration.EMsqPriorityMode.Always) + { + return null; + } + if (!allowNewMsq) + { + return null; + } + return QuestResolution.ForQuest(EQuestResolutionType.MsqImmediate, msqQuest.CurrentQuest, msqQuest.Sequence, msqQuest.State, $"MSQ immediate (Always mode) {msqQuest.CurrentQuest}"); + } + + private unsafe QuestResolution? TryResolveTrackedQuest(MainScenarioQuestState msqState) + { + QuestManager* ptr = QuestManager.Instance(); + if (ptr == null) + { + return null; + } + List<(ElementId, byte)> list = new List<(ElementId, byte)>(); + for (int num = ptr->TrackedQuests.Length - 1; num >= 0; num--) + { + TrackingWork trackingWork = ptr->TrackedQuests[num]; + switch (trackingWork.QuestType) + { + case 1: + { + ElementId elementId = new QuestId(ptr->NormalQuests[trackingWork.Index].QuestId); + if (_questRegistry.IsKnownQuest(elementId) && !_questFunctions.IsQuestBlacklisted(elementId)) + { + list.Add((elementId, QuestManager.GetQuestSequence(elementId.Value))); + } + break; + } + } + } + if (_configuration.General.SkipLowPriorityDuties && list.Count > 0) + { + IReadOnlyList<(uint ContentFinderConditionId, ElementId QuestId, int Sequence)> lowPriorityQuests = _questRegistry.LowPriorityContentFinderConditionQuests; + list.RemoveAll(((ElementId Quest, byte Sequence) x) => lowPriorityQuests.Any<(uint, ElementId, int)>(((uint ContentFinderConditionId, ElementId QuestId, int Sequence) y) => x.Quest == y.QuestId && x.Sequence == y.Sequence)); + } + if (_configuration.Advanced.AutoPrioritizeAlliedSocietyRankUp && list.Count > 0) + { + list.RemoveAll(((ElementId Quest, byte Sequence) x) => x.Quest is QuestId questId2 && _questFunctions.WouldOvercapAlliedSocietyReputation(questId2)); + } + if (list.Count == 0) + { + return null; + } + (ElementId, byte) tuple = list.First(); + ElementId item = tuple.Item1; + byte item2 = tuple.Item2; + EAlliedSociety firstTrackedAlliedSociety = _alliedSocietyData.GetCommonAlliedSocietyTurnIn(item); + if (firstTrackedAlliedSociety != EAlliedSociety.None) + { + List<(ElementId, byte)> list2 = (from quest in list.Skip(1) + where _alliedSocietyData.GetCommonAlliedSocietyTurnIn(quest.Quest) == firstTrackedAlliedSociety + select quest).ToList(); + if (list2.Count > 0) + { + if (item2 == byte.MaxValue) + { + foreach (var (elementId2, b) in list2) + { + if (b != byte.MaxValue) + { + return QuestResolution.ForQuest(EQuestResolutionType.TrackedQuest, elementId2, b, msqState, $"Allied society quest needs completing before turn-in {elementId2}"); + } + } + if (_configuration.Advanced.AutoPrioritizeAlliedSocietyRankUp) + { + List<(ElementId, byte)> list3 = new List<(ElementId, byte)> { (item, item2) }; + list3.AddRange(list2); + list3.Sort(delegate((ElementId Quest, byte Sequence) a, (ElementId Quest, byte Sequence) tuple5) + { + ushort num2 = (ushort)((a.Quest is QuestId questId2) ? _alliedSocietyQuestFunctions.GetQuestReputationReward(questId2) : 0); + ushort value = (ushort)((tuple5.Quest is QuestId questId3) ? _alliedSocietyQuestFunctions.GetQuestReputationReward(questId3) : 0); + return num2.CompareTo(value); + }); + foreach (var (elementId3, sequence) in list3) + { + if (elementId3 is QuestId questId && !_alliedSocietyQuestFunctions.WouldOvercapReputation(questId)) + { + return QuestResolution.ForQuest(EQuestResolutionType.TrackedQuest, elementId3, sequence, msqState, $"Allied society turn-in (cheapest first) {elementId3}"); + } + } + QuestId rankUpQuestIfAtCapacity = _questFunctions.GetRankUpQuestIfAtCapacity(firstTrackedAlliedSociety); + if (rankUpQuestIfAtCapacity != null && !_questFunctions.IsQuestComplete(rankUpQuestIfAtCapacity) && (_questFunctions.IsQuestAccepted(rankUpQuestIfAtCapacity) || _questFunctions.IsReadyToAcceptQuest(rankUpQuestIfAtCapacity))) + { + return QuestResolution.ForQuest(EQuestResolutionType.TrackedQuest, rankUpQuestIfAtCapacity, (byte)(_questFunctions.IsQuestAccepted(rankUpQuestIfAtCapacity) ? QuestManager.GetQuestSequence(rankUpQuestIfAtCapacity.Value) : 0), msqState, $"Allied society rank-up quest {rankUpQuestIfAtCapacity}"); + } + return QuestResolution.ForQuest(EQuestResolutionType.TrackedQuest, list3[0].Item1, list3[0].Item2, msqState, $"Allied society turn-in (all would overcap) {list3[0].Item1}"); + } + } + else if (!_questFunctions.IsOnAlliedSocietyMount()) + { + list2.Insert(0, (item, item2)); + _alliedSocietyData.GetCommonAlliedSocietyNpcs(firstTrackedAlliedSociety, out uint[] normalNpcs, out uint[] _); + if (normalNpcs.Length != 0) + { + (ElementId, byte)? tuple4 = (from x in list2 + where x.Sequence < byte.MaxValue + where _questFunctions.IsInteractSequence(x.Quest, x.Sequence, normalNpcs) + select x).Cast<(ElementId, byte)?>().FirstOrDefault(); + if (tuple4.HasValue) + { + return QuestResolution.ForQuest(EQuestResolutionType.TrackedQuest, tuple4.Value.Item1, tuple4.Value.Item2, msqState, $"Allied society NPC interaction {tuple4.Value.Item1}"); + } + } + } + } + } + return QuestResolution.ForQuest(EQuestResolutionType.TrackedQuest, item, item2, msqState, $"Tracked quest {item}"); + } + + private QuestResolution? TryResolveAutoPriority(MainScenarioQuestState msqState) + { + ElementId elementId = (from x in _questFunctions.GetNextPriorityQuestsThatCanBeAccepted() + where x.IsAvailable + select x.QuestId).FirstOrDefault(); + if (elementId == null) + { + return null; + } + return QuestResolution.ForQuest(EQuestResolutionType.AutoPriority, elementId, QuestManager.GetQuestSequence(elementId.Value), msqState, $"Auto priority quest {elementId}"); + } + + private QuestResolution? TryResolveMsqFallback(QuestReference msqQuest, bool allowNewMsq) + { + if (msqQuest.CurrentQuest == null || msqQuest.CurrentQuest.Value == 0) + { + return null; + } + if (_questFunctions.IsQuestAccepted(msqQuest.CurrentQuest)) + { + return null; + } + if (_configuration.General.MsqPriority == Configuration.EMsqPriorityMode.Manual) + { + return null; + } + if (!allowNewMsq) + { + return null; + } + return QuestResolution.ForQuest(EQuestResolutionType.MsqFallback, msqQuest.CurrentQuest, msqQuest.Sequence, msqQuest.State, $"MSQ fallback {msqQuest.CurrentQuest}"); + } + + private QuestResolution? TryResolveStartingCity(MainScenarioQuestState msqState) + { + if (_clientState.TerritoryType == 181) + { + return QuestResolution.ForQuest(EQuestResolutionType.MsqImmediate, new QuestId(107), 0, MainScenarioQuestState.Available, "Starting city: Limsa Lominsa"); + } + if (_clientState.TerritoryType == 182) + { + return QuestResolution.ForQuest(EQuestResolutionType.MsqImmediate, new QuestId(594), 0, MainScenarioQuestState.Available, "Starting city: Ul'dah"); + } + if (_clientState.TerritoryType == 183) + { + return QuestResolution.ForQuest(EQuestResolutionType.MsqImmediate, new QuestId(39), 0, MainScenarioQuestState.Available, "Starting city: Gridania"); + } + return null; + } + + private QuestResolution? TryResolveLevelingMode(int currentPlayerLevel, QuestController.EAutomationType automationType, MainScenarioQuestState msqState) + { + if (!ShouldStartLevelingMode(currentPlayerLevel, automationType)) + { + return null; + } + var (flag, _, targetLevel, questName) = _questFunctions.GetMsqLevelLockInfo(); + if (!flag) + { + return null; + } + return QuestResolution.Leveling(targetLevel, questName, msqState); + } + + public bool ShouldStartLevelingMode(int currentPlayerLevel, QuestController.EAutomationType automationType) + { + if (automationType != QuestController.EAutomationType.Automatic) + { + return false; + } + if (_condition[ConditionFlag.BoundByDuty] || _condition[ConditionFlag.InDutyQueue]) + { + return false; + } + if (!_autoDutyIpc.IsConfiguredToRunLevelingMode(currentPlayerLevel)) + { + return false; + } + return true; + } +} diff --git a/Questionable/Questionable.Controller/QuestRegistry.cs b/Questionable/Questionable.Controller/QuestRegistry.cs index 28c6963..ce1b3ef 100644 --- a/Questionable/Questionable.Controller/QuestRegistry.cs +++ b/Questionable/Questionable.Controller/QuestRegistry.cs @@ -3,7 +3,6 @@ using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; -using System.Globalization; using System.IO; using System.Linq; using System.Text.Json; @@ -23,8 +22,44 @@ using Questionable.Validation.Validators; namespace Questionable.Controller; -internal sealed class QuestRegistry +internal sealed class QuestRegistry : IDisposable { + internal sealed class Snapshot + { + public Dictionary Quests { get; } + + public Dictionary FailedLoads { get; } + + public Dictionary ContentFinderConditionIds { get; } + + public List<(uint ContentFinderConditionId, ElementId QuestId, int Sequence)> LowPriorityContentFinderConditionQuests { get; } + + public Dictionary QuestFolderNames { get; } + + public int Count { get; set; } + + public Snapshot() + { + Quests = new Dictionary(); + FailedLoads = new Dictionary(); + ContentFinderConditionIds = new Dictionary(); + LowPriorityContentFinderConditionQuests = new List<(uint, ElementId, int)>(); + QuestFolderNames = new Dictionary(); + } + + public Snapshot(Snapshot other) + { + Quests = new Dictionary(other.Quests); + FailedLoads = new Dictionary(other.FailedLoads); + ContentFinderConditionIds = new Dictionary(other.ContentFinderConditionIds); + LowPriorityContentFinderConditionQuests = new List<(uint, ElementId, int)>(other.LowPriorityContentFinderConditionQuests); + QuestFolderNames = new Dictionary(other.QuestFolderNames); + Count = other.Count; + } + } + + internal sealed record FailedQuestLoad(ElementId QuestId, string? FilePath, string ErrorMessage, Quest.ESource Source); + private readonly IDalamudPluginInterface _pluginInterface; private readonly QuestData _questData; @@ -41,27 +76,19 @@ internal sealed class QuestRegistry private readonly ICallGateProvider _reloadDataIpc; - private readonly Dictionary _quests = new Dictionary(); + private volatile Snapshot _snapshot = new Snapshot(); - private readonly Dictionary _contentFinderConditionIds = new Dictionary(); + public IEnumerable AllQuests => _snapshot.Quests.Values; - private readonly List<(uint ContentFinderConditionId, ElementId QuestId, int Sequence)> _lowPriorityContentFinderConditionQuests = new List<(uint, ElementId, int)>(); + public int Count => _snapshot.Count; - private readonly Dictionary _questFolderNames = new Dictionary(); + public IReadOnlyDictionary FailedLoads => _snapshot.FailedLoads; - public IEnumerable AllQuests => _quests.Values; - - public int Count => _quests.Count>((KeyValuePair x) => !x.Value.Root.Disabled); - - public int ValidationIssueCount => _questValidator.IssueCount; - - public int ValidationErrorCount => _questValidator.ErrorCount; - - public IReadOnlyList<(uint ContentFinderConditionId, ElementId QuestId, int Sequence)> LowPriorityContentFinderConditionQuests => _lowPriorityContentFinderConditionQuests; + public IReadOnlyList<(uint ContentFinderConditionId, ElementId QuestId, int Sequence)> LowPriorityContentFinderConditionQuests => _snapshot.LowPriorityContentFinderConditionQuests; public event EventHandler? Reloaded; - public QuestRegistry(IDalamudPluginInterface pluginInterface, QuestData questData, QuestValidator questValidator, JsonSchemaValidator jsonSchemaValidator, ILogger logger, TerritoryData territoryData, IChatGui chatGui) + public QuestRegistry(IDalamudPluginInterface pluginInterface, QuestData questData, QuestValidator questValidator, JsonSchemaValidator jsonSchemaValidator, ILogger logger, TerritoryData territoryData, IChatGui chatGui, IFramework framework) { _pluginInterface = pluginInterface; _questData = questData; @@ -73,65 +100,66 @@ internal sealed class QuestRegistry _reloadDataIpc = _pluginInterface.GetIpcProvider("Questionable.ReloadData"); } - public void Reload() + public void Dispose() + { + } + + internal Snapshot Build() { _questValidator.Reset(); - _quests.Clear(); - _contentFinderConditionIds.Clear(); - _lowPriorityContentFinderConditionQuests.Clear(); - _questFolderNames.Clear(); - LoadQuestsFromAssembly(); + Snapshot snapshot = new Snapshot(); + LoadQuestsFromAssembly(snapshot); try { - LoadFromDirectory(new DirectoryInfo(Path.Combine(_pluginInterface.ConfigDirectory.FullName, "Quests")), Quest.ESource.UserDirectory); + LoadFromDirectory(snapshot, new DirectoryInfo(Path.Combine(_pluginInterface.ConfigDirectory.FullName, "Quests")), Quest.ESource.UserDirectory); } catch (Exception exception) { _logger.LogError(exception, "Failed to load all quests from user directory (some may have been successfully loaded)"); } - LoadCfcIds(); - ValidateQuests(); + LoadCfcIds(snapshot); + snapshot.Count = snapshot.Quests.Count>((KeyValuePair x) => !x.Value.Root.Disabled); + return snapshot; + } + + internal void Publish(Snapshot snapshot, bool sendReloadDataIpc = true, bool validateQuests = true) + { + _snapshot = snapshot; + if (validateQuests) + { + ValidateQuests(); + } this.Reloaded?.Invoke(this, EventArgs.Empty); - try + if (sendReloadDataIpc) { - _reloadDataIpc.SendMessage(); + try + { + _reloadDataIpc.SendMessage(); + } + catch (Exception exception) + { + _logger.LogWarning(exception, "Error during Reload.SendMessage IPC"); + } } - catch (Exception exception2) - { - _logger.LogWarning(exception2, "Error during Reload.SendMessage IPC"); - } - _logger.LogInformation("Loaded {Count} quests in total", _quests.Count); + _logger.LogDebug("Loaded {Count} quests in total", snapshot.Quests.Count); + } + + public void Reload() + { + Publish(Build()); } [Conditional("RELEASE")] - private void LoadQuestsFromAssembly() + private void LoadQuestsFromAssembly(Snapshot snapshot) { - _logger.LogInformation("Loading quests from assembly"); foreach (var (elementId2, questRoot2) in AssemblyQuestLoader.GetQuests()) { try { - bool? flag = null; - DateTime? dateTime = null; - bool flag2 = false; - bool flag3 = false; - try - { - flag = questRoot2.IsSeasonalQuest; - flag2 = flag.HasValue; - if (questRoot2.SeasonalQuestExpiry.HasValue) - { - dateTime = DateTime.SpecifyKind(questRoot2.SeasonalQuestExpiry.Value, DateTimeKind.Utc); - flag3 = true; - } - } - catch (Exception exception) - { - _logger.LogWarning(exception, "Failed to read seasonal fields from embedded QuestRoot for {QuestId}", elementId2); - } + DateTime? dateTime = (questRoot2.SeasonalQuestExpiry.HasValue ? new DateTime?(DateTime.SpecifyKind(questRoot2.SeasonalQuestExpiry.Value, DateTimeKind.Utc)) : ((DateTime?)null)); if (_questData.TryGetQuestInfo(elementId2, out IQuestInfo questInfo)) { - goto IL_01ae; + goto IL_0173; } if (elementId2 is UnlockLinkId unlockLinkId) { @@ -147,16 +175,16 @@ internal sealed class QuestRegistry text = $"Unlock Link {unlockLinkId.Value}"; } questInfo = new UnlockLinkQuestInfo(unlockLinkId, text, 0u, dateTime); + _logger.LogDebug("Created UnlockLinkQuestInfo for {QuestId} from assembly", elementId2); _questData.AddOrReplaceQuestInfo(questInfo); - goto IL_01ae; + goto IL_0173; } _logger.LogWarning("Not loading unknown quest {QuestId} from assembly: Quest not found in quest data", elementId2); - goto end_IL_003d; - IL_01ae: - if (flag2 || flag3) + goto end_IL_0028; + IL_0173: + if (questRoot2.IsSeasonalQuest.HasValue || questRoot2.SeasonalQuestExpiry.HasValue) { - bool isSeasonal = flag ?? questInfo.IsSeasonalQuest; - _questData.ApplySeasonalOverride(elementId2, isSeasonal, dateTime); + _questData.ApplySeasonalOverride(elementId2, questRoot2.IsSeasonalQuest ?? questInfo.IsSeasonalQuest, dateTime); } IQuestInfo questInfo2 = _questData.GetQuestInfo(elementId2); Quest quest = new Quest @@ -164,57 +192,54 @@ internal sealed class QuestRegistry Id = elementId2, Root = questRoot2, Info = questInfo2, - Source = Quest.ESource.Assembly + Source = Quest.ESource.Assembly, + SourcePath = null }; - _quests[quest.Id] = quest; - end_IL_003d:; + snapshot.Quests[quest.Id] = quest; + end_IL_0028:; } catch (Exception ex) { _logger.LogWarning("Not loading unknown quest {QuestId} from assembly: {Message}", elementId2, ex.Message); } } - _logger.LogInformation("Loaded {Count} quests from assembly", _quests.Count); + _logger.LogDebug("Loaded {Count} quests from assembly", snapshot.Quests.Count); } [Conditional("DEBUG")] - private void LoadQuestsFromProjectDirectory() + private void LoadQuestsFromProjectDirectory(Snapshot snapshot) { DirectoryInfo directoryInfo = _pluginInterface.AssemblyLocation.Directory?.Parent?.Parent; if (directoryInfo == null) { return; } - DirectoryInfo directoryInfo2 = new DirectoryInfo(Path.Combine(directoryInfo.FullName, "QuestPaths")); - if (!directoryInfo2.Exists) - { - return; - } + DirectoryInfo directoryInfo2 = new DirectoryInfo(Path.Combine(directoryInfo.FullName, "Paths", "QuestPaths")); try { foreach (string value in ExpansionData.ExpansionFolders.Values) { - LoadFromDirectory(new DirectoryInfo(Path.Combine(directoryInfo2.FullName, value)), Quest.ESource.ProjectDirectory, LogLevel.Trace); + LoadFromDirectory(snapshot, new DirectoryInfo(Path.Combine(directoryInfo2.FullName, value)), Quest.ESource.ProjectDirectory, LogLevel.Trace); } } catch (Exception ex) { - _quests.Clear(); + snapshot.Quests.Clear(); _chatGui.PrintError("Unable to load quests - " + ex.GetType().Name + ": " + ex.Message, "Questionable", 576); _logger.LogError(ex, "Failed to load quests from project directory"); } } - private void LoadCfcIds() + private void LoadCfcIds(Snapshot snapshot) { - foreach (Quest value in _quests.Values) + foreach (Quest value2 in snapshot.Quests.Values) { - foreach (QuestSequence item in value.AllSequences()) + foreach (QuestSequence item in value2.AllSequences()) { foreach (QuestStep item2 in item.Steps.Where(delegate(QuestStep x) { EInteractionType interactionType = x.InteractionType; - return (uint)(interactionType - 18) <= 1u; + return (uint)(interactionType - 19) <= 1u; })) { if (item2 != null && item2.InteractionType == EInteractionType.Duty) @@ -222,17 +247,17 @@ internal sealed class QuestRegistry DutyOptions dutyOptions = item2.DutyOptions; if (dutyOptions != null) { - _contentFinderConditionIds[dutyOptions.ContentFinderConditionId] = (value.Id, item2); - if (dutyOptions.LowPriority) + snapshot.ContentFinderConditionIds[dutyOptions.ContentFinderConditionId] = (value2.Id, item2); + if (DutyRegistry.Duties.TryGetValue(dutyOptions.ContentFinderConditionId, out DutyEntry value) && value.LowPriority) { - _lowPriorityContentFinderConditionQuests.Add((dutyOptions.ContentFinderConditionId, value.Id, item.Sequence)); + snapshot.LowPriorityContentFinderConditionQuests.Add((dutyOptions.ContentFinderConditionId, value2.Id, item.Sequence)); } continue; } } - if (item2.InteractionType == EInteractionType.SinglePlayerDuty && _territoryData.TryGetContentFinderConditionForSoloInstance(value.Id, item2.SinglePlayerDutyIndex, out TerritoryData.ContentFinderConditionData contentFinderConditionData)) + if (item2.InteractionType == EInteractionType.SinglePlayerDuty && _territoryData.TryGetContentFinderConditionForSoloInstance(value2.Id, item2.SinglePlayerDutyIndex, out TerritoryData.ContentFinderConditionData contentFinderConditionData)) { - _contentFinderConditionIds[contentFinderConditionData.ContentFinderConditionId] = (value.Id, item2); + snapshot.ContentFinderConditionIds[contentFinderConditionData.ContentFinderConditionId] = (value2.Id, item2); } } } @@ -241,10 +266,10 @@ internal sealed class QuestRegistry private void ValidateQuests() { - _questValidator.Validate(_quests.Values.Where((Quest x) => x.Source != Quest.ESource.Assembly).ToList()); + _questValidator.Validate(_snapshot.Quests.Values.Where((Quest x) => x.Source != Quest.ESource.Assembly).ToList()); } - private void LoadQuestFromStream(string fileName, Stream stream, Quest.ESource source, string directoryName) + private void LoadQuestFromStream(Snapshot snapshot, string fileName, Stream stream, Quest.ESource source, string directoryName, string? sourcePath) { if (source == Quest.ESource.UserDirectory) { @@ -262,57 +287,64 @@ internal sealed class QuestRegistry } catch (JsonException ex) { - ValidationIssue issue = new ValidationIssue + ValidationIssue validationIssue = new ValidationIssue { - ElementId = elementId, - Sequence = null, - Step = null, + PathType = EPathType.Quest, + Id = elementId.ToString(), + Location = null, Type = EIssueType.InvalidJsonSyntax, Severity = EIssueSeverity.Error, - Description = $"JSON parsing error in file '{fileName}': {ex.Message}\n\nThis usually indicates a syntax error such as:\n\ufffd Missing comma between properties\n\ufffd Unclosed quotes or brackets\n\ufffd Invalid escape sequences\n\ufffd Trailing commas where not allowed\n\nPlease check the JSON syntax around the indicated position." + Description = "JSON syntax error in " + fileName + ": " + ex.Message }; - _questValidator.AddValidationIssue(issue); + _questValidator.AddValidationIssue(validationIssue); + snapshot.FailedLoads[elementId] = new FailedQuestLoad(elementId, fileName, validationIssue.Description, source); return; } - _jsonSchemaValidator.Enqueue(elementId, jsonNode); - bool? flag = null; - DateTime? dateTime = null; - bool flag2 = false; - bool flag3 = false; - if (jsonNode is JsonObject jsonObject) + try { - if (jsonObject.TryGetPropertyValue("IsSeasonalQuest", out JsonNode jsonNode2) && jsonNode2 != null) + List list = _jsonSchemaValidator.ValidateImmediate(elementId, jsonNode); + if (list.Count > 0) { - try + foreach (ValidationIssue item in list) { - flag = jsonNode2.GetValue(); - flag2 = true; - _logger.LogDebug("Quest {QuestId}: parsed IsSeasonalQuest override = {IsSeasonal}", elementId, flag); - } - catch (Exception exception) - { - _logger.LogWarning(exception, "Quest {QuestId}: failed to parse IsSeasonalQuest from JSON", elementId); - } - } - if (jsonObject.TryGetPropertyValue("SeasonalQuestExpiry", out JsonNode jsonNode3) && jsonNode3 != null) - { - try - { - string value = jsonNode3.GetValue(); - if (!string.IsNullOrEmpty(value)) - { - dateTime = ((!DateTime.TryParse(value, CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out var result)) ? new DateTime?(DateTime.Parse(value, null, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal)) : new DateTime?(DateTime.SpecifyKind(result, DateTimeKind.Utc))); - flag3 = true; - _logger.LogDebug("Quest {QuestId}: parsed SeasonalQuestExpiry override = {Expiry}", elementId, dateTime); - } - } - catch (Exception exception2) - { - _logger.LogWarning(exception2, "Quest {QuestId}: failed to parse SeasonalQuestExpiry from JSON", elementId); + _questValidator.AddValidationIssue(item); } + return; } } - QuestRoot root = jsonNode.Deserialize(); + catch (Exception ex2) + { + _questValidator.AddValidationIssue(new ValidationIssue + { + PathType = EPathType.Quest, + Id = elementId.ToString(), + Location = null, + Type = EIssueType.InvalidJsonSchema, + Severity = EIssueSeverity.Error, + Description = "Schema validation error: " + (ex2.InnerException?.Message ?? ex2.Message) + }); + return; + } + QuestRoot questRoot; + try + { + questRoot = jsonNode.Deserialize(); + } + catch (JsonException ex3) + { + var (location, text) = FormatDeserializationError(ex3); + _questValidator.AddValidationIssue(new ValidationIssue + { + PathType = EPathType.Quest, + Id = elementId.ToString(), + Location = location, + Type = EIssueType.InvalidJsonSchema, + Severity = EIssueSeverity.Error, + Description = text + }); + snapshot.FailedLoads[elementId] = new FailedQuestLoad(elementId, fileName, text, source); + return; + } if (!_questData.TryGetQuestInfo(elementId, out IQuestInfo questInfo)) { if (!(elementId is UnlockLinkId unlockLinkId)) @@ -320,72 +352,67 @@ internal sealed class QuestRegistry _logger.LogWarning("Not loading unknown quest {QuestId} from project file {FileName}", elementId, fileName); return; } - string name; - try - { - string text = fileName.Substring(0, fileName.Length - ".json".Length); - int num = text.IndexOf('_', StringComparison.Ordinal); - name = ((num >= 0 && num + 1 < text.Length) ? text.Substring(num + 1) : text); - } - catch - { - name = fileName.Substring(0, fileName.Length - ".json".Length); - } + string fileNameWithoutExtension = Path.GetFileNameWithoutExtension(fileName); + int num = fileNameWithoutExtension.IndexOf('_', StringComparison.Ordinal); + string name = ((num >= 0 && num + 1 < fileNameWithoutExtension.Length) ? fileNameWithoutExtension.Substring(num + 1) : fileNameWithoutExtension); name = NormalizeDerivedName(name); uint issuerDataId = 0u; string patch = null; - if (jsonNode is JsonObject jsonObject2) + if (jsonNode is JsonObject jsonObject) { - if (jsonObject2.TryGetPropertyValue("DataId", out JsonNode jsonNode4) && jsonNode4 != null) + if (jsonObject.TryGetPropertyValue("DataId", out JsonNode jsonNode2) && jsonNode2 != null) { try { - issuerDataId = jsonNode4.GetValue(); + issuerDataId = jsonNode2.GetValue(); } - catch + catch (Exception) { issuerDataId = 0u; } } - if (jsonObject2.TryGetPropertyValue("Patch", out JsonNode jsonNode5) && jsonNode5 != null) + if (jsonObject.TryGetPropertyValue("Patch", out JsonNode jsonNode3) && jsonNode3 != null) { try { - patch = jsonNode5.GetValue(); + patch = jsonNode3.GetValue(); } - catch + catch (Exception) { patch = null; } } } - questInfo = new UnlockLinkQuestInfo(unlockLinkId, name, issuerDataId, dateTime, patch); + DateTime? expiryTime = (questRoot.SeasonalQuestExpiry.HasValue ? new DateTime?(DateTime.SpecifyKind(questRoot.SeasonalQuestExpiry.Value, DateTimeKind.Utc)) : ((DateTime?)null)); + questInfo = new UnlockLinkQuestInfo(unlockLinkId, name, issuerDataId, expiryTime, patch); _logger.LogDebug("Created UnlockLinkQuestInfo for {QuestId} from project file '{FileName}'", elementId, fileName); _questData.AddOrReplaceQuestInfo(questInfo); } - if ((flag2 || flag3) && _questData.TryGetQuestInfo(elementId, out IQuestInfo questInfo2)) + if (questRoot.IsSeasonalQuest.HasValue || questRoot.SeasonalQuestExpiry.HasValue) { - _questData.ApplySeasonalOverride(elementId, flag ?? questInfo2.IsSeasonalQuest, dateTime); + DateTime? expiry = (questRoot.SeasonalQuestExpiry.HasValue ? new DateTime?(DateTime.SpecifyKind(questRoot.SeasonalQuestExpiry.Value, DateTimeKind.Utc)) : ((DateTime?)null)); + _questData.ApplySeasonalOverride(elementId, questRoot.IsSeasonalQuest ?? questInfo.IsSeasonalQuest, expiry); } Quest quest = new Quest { Id = elementId, - Root = root, + Root = questRoot, Info = questInfo, - Source = source + Source = source, + SourcePath = sourcePath }; - _quests[quest.Id] = quest; + snapshot.Quests[quest.Id] = quest; if (!string.IsNullOrEmpty(directoryName)) { - _questFolderNames[elementId] = directoryName; + snapshot.QuestFolderNames[elementId] = directoryName; } } - private void LoadFromDirectory(DirectoryInfo directory, Quest.ESource source, LogLevel logLevel = LogLevel.Information) + private void LoadFromDirectory(Snapshot snapshot, DirectoryInfo directory, Quest.ESource source, LogLevel logLevel = LogLevel.Debug) { if (!directory.Exists) { - _logger.LogInformation("Not loading quests from {DirectoryName} (doesn't exist)", directory); + _logger.LogDebug("Not loading quests from {DirectoryName} (doesn't exist)", directory); return; } if (source == Quest.ESource.UserDirectory) @@ -397,8 +424,8 @@ internal sealed class QuestRegistry { try { - using FileStream stream = new FileStream(fileInfo.FullName, FileMode.Open, FileAccess.Read); - LoadQuestFromStream(fileInfo.Name, stream, source, directory.Name); + using FileStream stream = fileInfo.OpenRead(); + LoadQuestFromStream(snapshot, fileInfo.Name, stream, source, directory.Name, fileInfo.FullName); } catch (Exception innerException) { @@ -408,60 +435,71 @@ internal sealed class QuestRegistry DirectoryInfo[] directories = directory.GetDirectories(); foreach (DirectoryInfo directory2 in directories) { - LoadFromDirectory(directory2, source, logLevel); + LoadFromDirectory(snapshot, directory2, source, logLevel); } } + private static (string? Location, string Description) FormatDeserializationError(JsonException ex) + { + string path = ex.Path; + if (string.IsNullOrEmpty(path)) + { + return (Location: null, Description: "Invalid value in quest file: " + (ex.InnerException?.Message ?? ex.Message)); + } + string item = null; + Match match = Regex.Match(path, "QuestSequence\\[(\\d+)\\]"); + Match match2 = Regex.Match(path, "Steps\\[(\\d+)\\]"); + if (match.Success) + { + item = (match2.Success ? ("Seq " + match.Groups[1].Value + ", Step " + match2.Groups[1].Value) : ("Seq " + match.Groups[1].Value)); + } + Match match3 = Regex.Match(path, "\\.(\\w+)$"); + string text = (match3.Success ? match3.Groups[1].Value : path); + string text2 = ex.InnerException?.Message ?? ""; + string item2 = (text2.Contains("could not be converted", StringComparison.Ordinal) ? ("'" + text + "' has an invalid value") : ((!text2.Contains("is not supported", StringComparison.Ordinal)) ? ("'" + text + "' could not be read: " + text2) : ("'" + text + "' has an unrecognized value"))); + return (Location: item, Description: item2); + } + private static ElementId? ExtractQuestIdFromName(string resourceName) { - string text = resourceName.Substring(0, resourceName.Length - ".json".Length); - text = text.Substring(text.LastIndexOf('.') + 1); - if (!text.Contains('_', StringComparison.Ordinal)) + string fileNameWithoutExtension = Path.GetFileNameWithoutExtension(resourceName); + fileNameWithoutExtension = fileNameWithoutExtension.Substring(fileNameWithoutExtension.LastIndexOf('.') + 1); + if (!fileNameWithoutExtension.Contains('_', StringComparison.Ordinal)) { return null; } - return ElementId.FromString(text.Split('_', 2)[0]); + return ElementId.FromString(fileNameWithoutExtension.Split('_', 2)[0]); } public bool IsKnownQuest(ElementId questId) { - return _quests.ContainsKey(questId); + return _snapshot.Quests.ContainsKey(questId); } public bool TryGetQuest(ElementId questId, [NotNullWhen(true)] out Quest? quest) { - return _quests.TryGetValue(questId, out quest); + return _snapshot.Quests.TryGetValue(questId, out quest); } public List GetKnownClassJobQuests(EClassJob classJob, bool includeRoleQuests = true) { + Dictionary quests = _snapshot.Quests; List list = _questData.GetClassJobQuests(classJob, includeRoleQuests).ToList(); if (classJob.AsJob() != classJob) { list.AddRange(_questData.GetClassJobQuests(classJob.AsJob(), includeRoleQuests)); } - return list.Where((QuestInfo x) => IsKnownQuest(x.QuestId)).ToList(); - } - - public bool TryGetDutyByContentFinderConditionId(uint cfcId, [NotNullWhen(true)] out DutyOptions? dutyOptions) - { - if (_contentFinderConditionIds.TryGetValue(cfcId, out (ElementId, QuestStep) value)) - { - dutyOptions = value.Item2.DutyOptions; - return dutyOptions != null; - } - dutyOptions = null; - return false; + return list.Where((QuestInfo x) => quests.ContainsKey(x.QuestId)).ToList(); } public IEnumerable GetAllQuestIds() { - return _quests.Keys; + return _snapshot.Quests.Keys; } public bool TryGetQuestFolderName(ElementId questId, [NotNullWhen(true)] out string? folderName) { - return _questFolderNames.TryGetValue(questId, out folderName); + return _snapshot.QuestFolderNames.TryGetValue(questId, out folderName); } private static string NormalizeDerivedName(string name) diff --git a/Questionable/Questionable.Controller/QuestResolution.cs b/Questionable/Questionable.Controller/QuestResolution.cs new file mode 100644 index 0000000..4c1a4d9 --- /dev/null +++ b/Questionable/Questionable.Controller/QuestResolution.cs @@ -0,0 +1,92 @@ +using Questionable.Functions; +using Questionable.Model.Questing; + +namespace Questionable.Controller; + +internal readonly record struct QuestResolution +{ + public required EQuestResolutionType Type { get; init; } + + public ElementId? QuestId { get; init; } + + public byte Sequence { get; init; } + + public MainScenarioQuestState MsqState { get; init; } + + public required string DebugReason { get; init; } + + public int LevelingTargetLevel { get; init; } + + public string? LevelingQuestName { get; init; } + + public bool HasQuest + { + get + { + if (QuestId != null) + { + return QuestId.Value != 0; + } + return false; + } + } + + public bool IsSlotBased + { + get + { + EQuestResolutionType type = Type; + if ((uint)type <= 1u) + { + return true; + } + return false; + } + } + + public static QuestResolution Slot(EQuestResolutionType type, QuestController.QuestProgress progress, string reason) + { + return new QuestResolution + { + Type = type, + QuestId = progress.Quest.Id, + Sequence = progress.Sequence, + MsqState = MainScenarioQuestState.Available, + DebugReason = reason + }; + } + + public static QuestResolution ForQuest(EQuestResolutionType type, ElementId questId, byte sequence, MainScenarioQuestState msqState, string reason) + { + return new QuestResolution + { + Type = type, + QuestId = questId, + Sequence = sequence, + MsqState = msqState, + DebugReason = reason + }; + } + + public static QuestResolution Leveling(int targetLevel, string? questName, MainScenarioQuestState msqState) + { + return new QuestResolution + { + Type = EQuestResolutionType.LevelingMode, + MsqState = msqState, + DebugReason = $"Leveling to {targetLevel} for {questName}", + LevelingTargetLevel = targetLevel, + LevelingQuestName = questName + }; + } + + public static QuestResolution None(MainScenarioQuestState msqState, string reason) + { + return new QuestResolution + { + Type = EQuestResolutionType.NoQuest, + MsqState = msqState, + DebugReason = reason + }; + } +} diff --git a/Questionable/Questionable.Controller/QuestSlots.cs b/Questionable/Questionable.Controller/QuestSlots.cs new file mode 100644 index 0000000..194c91a --- /dev/null +++ b/Questionable/Questionable.Controller/QuestSlots.cs @@ -0,0 +1,6 @@ +using System.Collections.Generic; +using Questionable.Model; + +namespace Questionable.Controller; + +internal readonly record struct QuestSlots(QuestController.QuestProgress? Simulated, QuestController.QuestProgress? Next, List ManualPriorityQuests, QuestController.EAutomationType AutomationType); diff --git a/Questionable/Questionable.Controller/SeasonalDutyController.cs b/Questionable/Questionable.Controller/SeasonalDutyController.cs index 5b7aa9e..139ebff 100644 --- a/Questionable/Questionable.Controller/SeasonalDutyController.cs +++ b/Questionable/Questionable.Controller/SeasonalDutyController.cs @@ -1,16 +1,14 @@ using System; -using System.Collections.Generic; using System.Globalization; -using System.Runtime.InteropServices; using Dalamud.Plugin.Services; using Microsoft.Extensions.Logging; using Questionable.Controller.Steps; using Questionable.Controller.Steps.Common; using Questionable.Controller.Steps.Interactions; -using Questionable.Controller.Steps.Movement; using Questionable.Controller.Steps.Shared; using Questionable.Functions; using Questionable.Model.Questing; +using Questionable.Navigation; namespace Questionable.Controller; @@ -22,7 +20,7 @@ internal sealed class SeasonalDutyController : MiniTaskController _logger; + private readonly SmartNavRouteEnqueuer _routeEnqueuer; private SeasonalDutyDefinition? _currentDuty; @@ -34,6 +32,8 @@ internal sealed class SeasonalDutyController : MiniTaskController _currentDuty != null; + public TaskQueue TaskQueue => _taskQueue; + public SeasonalDutyDefinition? CurrentDuty => _currentDuty; public int CompletedCycles => _completedCycles; @@ -52,13 +52,13 @@ internal sealed class SeasonalDutyController : MiniTaskController logger, MovementController movementController, GameFunctions gameFunctions, IClientState clientState) - : base(chatGui, condition, serviceProvider, interruptHandler, dataManager, logger) + public SeasonalDutyController(IChatGui chatGui, ICondition condition, IServiceProvider serviceProvider, InterruptHandler interruptHandler, IDataManager dataManager, Configuration configuration, ILogger logger, MovementController movementController, GameFunctions gameFunctions, IClientState clientState, SmartNavRouteEnqueuer routeEnqueuer) + : base(chatGui, condition, serviceProvider, interruptHandler, dataManager, configuration, logger) { _movementController = movementController; _gameFunctions = gameFunctions; _clientState = clientState; - _logger = logger; + _routeEnqueuer = routeEnqueuer; } public void Start(SeasonalDutyDefinition duty, int? cycleLimit = null) @@ -73,7 +73,7 @@ internal sealed class SeasonalDutyController : MiniTaskController GetRemainingTaskNames() - { - ITask task = _taskQueue.CurrentTaskExecutor?.CurrentTask; - if (task != null) - { - string text = task.ToString() ?? "?"; - IList remainingTaskNames = base.GetRemainingTaskNames(); - int num = 1 + remainingTaskNames.Count; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - Span span = CollectionsMarshal.AsSpan(list); - int num2 = 0; - span[num2] = text; - num2++; - { - foreach (string item in remainingTaskNames) - { - span[num2] = item; - num2++; - } - return list; - } - } - return base.GetRemainingTaskNames(); - } } diff --git a/Questionable/Questionable.Controller/SeasonalDutyDefinitionRegistry.cs b/Questionable/Questionable.Controller/SeasonalDutyDefinitionRegistry.cs index 17259b5..83cdffc 100644 --- a/Questionable/Questionable.Controller/SeasonalDutyDefinitionRegistry.cs +++ b/Questionable/Questionable.Controller/SeasonalDutyDefinitionRegistry.cs @@ -1,148 +1,41 @@ -#define RELEASE using System; using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using System.Linq; -using System.Text.Json; using Dalamud.Plugin; using Microsoft.Extensions.Logging; using Questionable.Model.Questing; using Questionable.SeasonalDutyPaths; -using Questionable.Windows.QuestComponents; +using Questionable.Validation; +using Questionable.Validation.Validators; namespace Questionable.Controller; -internal sealed class SeasonalDutyDefinitionRegistry +internal sealed class SeasonalDutyDefinitionRegistry : DefinitionRegistry { - private readonly IDalamudPluginInterface _pluginInterface; + protected override string TypeLabel => "seasonal duty"; - private readonly ILogger _logger; + protected override string ConfigDirectoryName => "SeasonalDutyDefinitions"; - private readonly Dictionary _definitions = new Dictionary(); + protected override string ProjectDirectoryName => "SeasonalDutyPaths"; - public IReadOnlyDictionary Definitions => _definitions; + protected override EPathType PathType => EPathType.SeasonalDuty; - public SeasonalDutyDefinitionRegistry(IDalamudPluginInterface pluginInterface, ILogger logger) + public SeasonalDutyDefinitionRegistry(IDalamudPluginInterface pluginInterface, SeasonalDutySchemaValidator seasonalDutySchemaValidator, QuestValidator questValidator, ILogger logger) + : base(pluginInterface, (IDefinitionSchemaValidator)seasonalDutySchemaValidator, questValidator, (ILogger)logger) { - _pluginInterface = pluginInterface; - _logger = logger; - Reload(); } - public void Reload() + protected override IReadOnlyDictionary GetAssemblyDefinitions() { - _definitions.Clear(); - LoadFromAssembly(); - try - { - LoadFromDirectory(new DirectoryInfo(Path.Combine(_pluginInterface.ConfigDirectory.FullName, "SeasonalDutyDefinitions"))); - } - catch (Exception exception) - { - _logger.LogError(exception, "Failed to load seasonal duty definitions from user directory (some may have been successfully loaded)"); - } - RemoveExpiredDefinitions(); - _logger.LogInformation("Loaded {Count} seasonal duty definitions in total", _definitions.Count); + return AssemblySeasonalDutyDefinitionLoader.GetDefinitions(); } - [Conditional("RELEASE")] - private void LoadFromAssembly() + protected override DateTime? GetExpiry(SeasonalDutyDefinition definition) { - _logger.LogInformation("Loading seasonal duty definitions from assembly"); - IReadOnlyDictionary definitions = AssemblySeasonalDutyDefinitionLoader.GetDefinitions(); - _logger.LogInformation("AssemblySeasonalDutyDefinitionLoader returned {Count} definitions", definitions.Count); - foreach (var (key, value) in definitions) - { - _definitions[key] = value; - } - _logger.LogInformation("Loaded {Count} seasonal duty definitions from assembly", _definitions.Count); + return definition.EventExpiry; } - [Conditional("DEBUG")] - private void LoadFromProjectDirectory() + protected override string? GetName(SeasonalDutyDefinition definition) { - DirectoryInfo directoryInfo = _pluginInterface.AssemblyLocation.Directory?.Parent?.Parent; - if (directoryInfo == null) - { - return; - } - DirectoryInfo directoryInfo2 = new DirectoryInfo(Path.Combine(directoryInfo.FullName, "SeasonalDutyPaths")); - if (directoryInfo2.Exists) - { - try - { - LoadFromDirectory(directoryInfo2); - } - catch (Exception exception) - { - _definitions.Clear(); - _logger.LogError(exception, "Failed to load seasonal duty definitions from project directory"); - } - } - } - - private void LoadFromDirectory(DirectoryInfo directory) - { - if (!directory.Exists) - { - _logger.LogInformation("Not loading seasonal duty definitions from {DirectoryName} (doesn't exist)", directory); - return; - } - FileInfo[] files = directory.GetFiles("*.json"); - foreach (FileInfo fileInfo in files) - { - try - { - ushort? num = ExtractIdFromName(fileInfo.Name); - if (!num.HasValue) - { - continue; - } - using FileStream utf8Json = new FileStream(fileInfo.FullName, FileMode.Open, FileAccess.Read); - SeasonalDutyDefinition seasonalDutyDefinition = JsonSerializer.Deserialize(utf8Json); - if (seasonalDutyDefinition != null) - { - _definitions[num.Value] = seasonalDutyDefinition; - } - } - catch (Exception exception) - { - _logger.LogError(exception, "Unable to load seasonal duty definition file {FileName}", fileInfo.FullName); - } - } - } - - private void RemoveExpiredDefinitions() - { - foreach (ushort item in (from kvp in _definitions.Where>(delegate(KeyValuePair kvp) - { - DateTime? eventExpiry = kvp.Value.EventExpiry; - if (eventExpiry.HasValue) - { - DateTime valueOrDefault = eventExpiry.GetValueOrDefault(); - return EventInfoComponent.NormalizeExpiry(valueOrDefault) < DateTime.UtcNow; - } - return false; - }) - select kvp.Key).ToList()) - { - _logger.LogInformation("Removing expired seasonal duty definition {Id} '{Name}'", item, _definitions[item].Name); - _definitions.Remove(item); - } - } - - private static ushort? ExtractIdFromName(string fileName) - { - string fileNameWithoutExtension = Path.GetFileNameWithoutExtension(fileName); - if (!fileNameWithoutExtension.Contains('_', StringComparison.Ordinal)) - { - return null; - } - if (ushort.TryParse(fileNameWithoutExtension.Split('_', 2)[0], out var result)) - { - return result; - } - return null; + return definition.Name; } } diff --git a/Questionable/Questionable.Data/AetherCurrentData.cs b/Questionable/Questionable.Data/AetherCurrentData.cs index 0fafcc9..609321e 100644 --- a/Questionable/Questionable.Data/AetherCurrentData.cs +++ b/Questionable/Questionable.Data/AetherCurrentData.cs @@ -1,5 +1,8 @@ +using System; +using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; +using System.Numerics; using Dalamud.Plugin.Services; using Lumina.Excel; using Lumina.Excel.Sheets; @@ -8,16 +11,40 @@ namespace Questionable.Data; internal sealed class AetherCurrentData { + private readonly IDataManager _dataManager; + private readonly ImmutableDictionary> _overworldCurrents; + private readonly ImmutableDictionary> _allCurrentsByTerritory; + + private readonly ImmutableDictionary _questCurrents; + + private ImmutableDictionary? _overworldPositions; + + public IReadOnlyDictionary> AllCurrentsByTerritory => _allCurrentsByTerritory; + + private ImmutableDictionary OverworldPositions => _overworldPositions ?? (_overworldPositions = BuildOverworldPositions()); + public AetherCurrentData(IDataManager dataManager) { + _dataManager = dataManager; _overworldCurrents = (from x in dataManager.GetExcelSheet() where x.RowId != 0 where x.Territory.IsValid select x).ToImmutableDictionary((AetherCurrentCompFlgSet x) => (ushort)x.Territory.RowId, (AetherCurrentCompFlgSet x) => (from y in x.AetherCurrents where y.RowId != 0 && y.Value.Quest.RowId == 0 select y.RowId).ToImmutableList()); + _allCurrentsByTerritory = (from x in dataManager.GetExcelSheet() + where x.RowId != 0 + where x.Territory.IsValid + select x).ToImmutableDictionary((AetherCurrentCompFlgSet x) => (ushort)x.Territory.RowId, (AetherCurrentCompFlgSet x) => x.AetherCurrents.Where((RowRef y) => y.RowId != 0).Select(delegate(RowRef y) + { + uint rowId = y.Value.Quest.RowId; + return new AetherCurrentInfo(y.RowId, rowId != 0, rowId); + }).ToImmutableList()); + _questCurrents = (from info in _allCurrentsByTerritory.Values.SelectMany((ImmutableList list) => list) + where info.IsQuestGated + select info).ToImmutableDictionary((AetherCurrentInfo info) => info.AetherCurrentId, (AetherCurrentInfo info) => info.QuestId); } public bool IsValidAetherCurrent(ushort territoryId, uint aetherCurrentId) @@ -28,4 +55,52 @@ internal sealed class AetherCurrentData } return false; } + + public ImmutableList GetCurrentsForTerritory(ushort territoryId) + { + return _allCurrentsByTerritory.GetValueOrDefault(territoryId, ImmutableList.Create(default(ReadOnlySpan))); + } + + public AetherCurrentPosition? GetOverworldPosition(uint aetherCurrentId) + { + return OverworldPositions.GetValueOrDefault(aetherCurrentId); + } + + public uint? GetQuestIdForCurrent(uint aetherCurrentId) + { + return _questCurrents.GetValueOrDefault(aetherCurrentId); + } + + private ImmutableDictionary BuildOverworldPositions() + { + HashSet hashSet = _overworldCurrents.Values.SelectMany((ImmutableList list) => list).ToHashSet(); + Dictionary dictionary = new Dictionary(); + foreach (EObj item in _dataManager.GetExcelSheet()) + { + if (item.RowId != 0) + { + uint rowId = item.Data.RowId; + if (rowId != 0 && hashSet.Contains(rowId)) + { + dictionary[rowId] = item.RowId; + } + } + } + Dictionary dictionary2 = dictionary.ToDictionary((KeyValuePair kv) => kv.Value, (KeyValuePair kv) => kv.Key); + ImmutableDictionary.Builder builder = ImmutableDictionary.CreateBuilder(); + foreach (Level item2 in _dataManager.GetExcelSheet()) + { + if (item2.RowId != 0) + { + uint rowId2 = item2.Object.RowId; + if (dictionary2.TryGetValue(rowId2, out var value) && item2.Territory.IsValid) + { + ushort territoryId = (ushort)item2.Territory.RowId; + Vector3 position = new Vector3(item2.X, item2.Y, item2.Z); + builder[value] = new AetherCurrentPosition(territoryId, position, rowId2); + } + } + } + return builder.ToImmutable(); + } } diff --git a/Questionable/Questionable.Data/AetherCurrentInfo.cs b/Questionable/Questionable.Data/AetherCurrentInfo.cs new file mode 100644 index 0000000..b7ed6c7 --- /dev/null +++ b/Questionable/Questionable.Data/AetherCurrentInfo.cs @@ -0,0 +1,3 @@ +namespace Questionable.Data; + +internal sealed record AetherCurrentInfo(uint AetherCurrentId, bool IsQuestGated, uint QuestId); diff --git a/Questionable/Questionable.Data/AetherCurrentPosition.cs b/Questionable/Questionable.Data/AetherCurrentPosition.cs new file mode 100644 index 0000000..5638fc6 --- /dev/null +++ b/Questionable/Questionable.Data/AetherCurrentPosition.cs @@ -0,0 +1,5 @@ +using System.Numerics; + +namespace Questionable.Data; + +internal sealed record AetherCurrentPosition(ushort TerritoryId, Vector3 Position, uint DataId); diff --git a/Questionable/Questionable.Data/AlliedSocietyData.cs b/Questionable/Questionable.Data/AlliedSocietyData.cs index 2640344..43a2ec3 100644 --- a/Questionable/Questionable.Data/AlliedSocietyData.cs +++ b/Questionable/Questionable.Data/AlliedSocietyData.cs @@ -2,8 +2,8 @@ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using Questionable.Model; -using Questionable.Model.Common; using Questionable.Model.Questing; +using SmartNav.Model; namespace Questionable.Data; @@ -41,7 +41,11 @@ internal sealed class AlliedSocietyData }, { 24, - new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList(1052562u), EAetheryteLocation.EastShroudHawthorneHut) + new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList(1008332u), EAetheryteLocation.EastShroudHawthorneHut) + }, + { + 23, + new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlyArray(new uint[4] { 1008327u, 1005848u, 1005860u, 1005581u }), EAetheryteLocation.SouthernThanalanLittleAlaMhigo) } }.AsReadOnly(); @@ -51,6 +55,37 @@ internal sealed class AlliedSocietyData { switch (value) { + case 1222: + case 1223: + case 1224: + case 1225: + case 1226: + case 1227: + case 1228: + case 1229: + case 1230: + case 1231: + case 1232: + case 1233: + case 1234: + case 1235: + case 1236: + case 1237: + case 1238: + case 1239: + case 1240: + case 1241: + case 1242: + case 1243: + case 1244: + case 1245: + case 1246: + case 1247: + case 1248: + case 1249: + case 1250: + case 1251: + return EAlliedSociety.Amaljaa; case 2171: case 2172: case 2173: @@ -238,6 +273,14 @@ internal sealed class AlliedSocietyData { switch (alliedSociety) { + case EAlliedSociety.Amaljaa: + normalNpcs = Array.Empty(); + mountNpcs = new uint[4] { 1008327u, 1005848u, 1005860u, 1005581u }; + break; + case EAlliedSociety.Ixal: + normalNpcs = new uint[6] { 1008945u, 1009218u, 1009217u, 1009219u, 1009220u, 1009221u }; + mountNpcs = Array.Empty(); + break; case EAlliedSociety.VanuVanu: normalNpcs = new uint[3] { 1016088u, 1016091u, 1016092u }; mountNpcs = new uint[1] { 1016093u }; diff --git a/Questionable/Questionable.Data/AlliedSocietyMountConfiguration.cs b/Questionable/Questionable.Data/AlliedSocietyMountConfiguration.cs index 1fa3f6d..a8e5422 100644 --- a/Questionable/Questionable.Data/AlliedSocietyMountConfiguration.cs +++ b/Questionable/Questionable.Data/AlliedSocietyMountConfiguration.cs @@ -1,5 +1,5 @@ using System.Collections.Generic; -using Questionable.Model.Common; +using SmartNav.Model; namespace Questionable.Data; diff --git a/Questionable/Questionable.Data/AutoHookPresetData.cs b/Questionable/Questionable.Data/AutoHookPresetData.cs new file mode 100644 index 0000000..be72b16 --- /dev/null +++ b/Questionable/Questionable.Data/AutoHookPresetData.cs @@ -0,0 +1,59 @@ +using System.Collections.Generic; +using Questionable.Model.Questing; + +namespace Questionable.Data; + +internal sealed class AutoHookPresetData +{ + public static readonly IReadOnlyDictionary FishingPresets = new Dictionary + { + { + new QuestId(1109), + "AH6_H4sIAAAAAAAACu1cX3PauhL/Khk9447/2/BGaNNmJm0ygUwfOn0Q9ho0MZaPJCflZvLd70gGjI19Szi+PfRUb7CS5d3VT7trrVYvaFwIOsFc8EmyQKMX9CHD8xTGaYpGghUwQO9pJiY4iyD9TGm03JLvIcJcjDOywoLQrOyBRglOOQzQrGDZhKYpROI2SXbkybJYHffIVyKWtFDjN/pJZm9IBpLZ60VGGdT4KvmPt3+vYzSyw+EAfcxnSwZ8SdMYjcxOse4YoYyINRpZA3TNP/yI0iKGuCKX3fZGG8/pE2zpE5rFRAo3BYFGWZGmryXHm5e8IPXDrjQd7wRTrPphg1XLPIrZ/rhtZWsYnKJBs1cVSvB06c21TPc0xbWzuBn67TyWAK6xWQHRtUzrBD3avapxmuHFgmSL/6FK8wQmnX7nmrKY4FSt8ewJ2JZwMEOlBZiRFXwlWUyfdw0t6vct93j13z4Bi3B+yOG+0G6/6LkifPlhDfzAtDVlqk+X1xDK846ZML9f3j/jR5guSSIuMVH4lwS+JUwFjh45Gnkd9sUPD6U4QoZhvzLcYUEgi5RruYdEPvsBs3Qt4aWw0jEBfpN1/yjTY/fMPSP/gQkWpZ9p84N+eMCqfZyVdPpldbbEKcGP/Ao/USa5rRG2YHEGdfo9RPQJGBpZEuAdAjbdwFHi9bwWLsniI5aQeUHjbJEC41uR7HYMOYHpHszMMYyHPS/iIhVkSeljp3OwTa8ZTFlHMNpfJFCZ+vbo5YdguBbK7hByDxzEhBaZAHbH5J/pM8534l1RFoGyVYpaPqOIsaQqfHlhMFAR820EOFPmuqGkWuM4TaeC5ry9dZpTNarZoEsJ2+h1eV/QSnVZoNG37e8Ijb59HyBccv/6fYCg0hsjiwUwXnZ5yMhfhXoLcnzTtNy5ZQQ2nhuuazlGGCW+ETpWHCa+41pBhF7l/I0zmq1XtKjkuSFc3CZSPXLcA43LBsm58mc7/d0UDD4D53gBaITQAH1RawXdkTS9uCwWqHxwts6l0X0doC+UrXD6aQPLe/irIAziqcBCsmIO0NZufwWsusiuHERzbsr/m8b9Wd6Qyje6VjAcoAcOajHk5QOyiV8qR8B24z1wqFiTPZod6q2fSYZG5jvzgI5/bOgPHO4YRIQTmnWNedChGvawqTYyfQaWFJ3MNtv3xm227A87FZCmmHWN2miuBm027MZsi7i2vdra6spsj9caemnt1BCyrU+D51YDtMXiVDBaBtlNNO5/p/4cjKajwXguYDywuVZpc1+QQCN0SYT6EGGT92iActmdodE3+505cL135vdXZY63lrnVSLcj662m/kxXxA0sIIsxW/dgovWq0Cb6ZEA+cHhPiw3OqlgGyu9vHuG8rb0kvT3E2LTUAGz7OsQ4G6v+24UYJRJPCDA0FM882v2HAowzRvmJQYNG+pkj/bczug8cZmy7HdAeNLS0l6SegobAs/XHoEbwqQgusdhX2KDBeE7mVAcOTZz3GThorJ8T1n+70EGKTwuxJ8+yWB0QHzhMCi7oqkxs1MIIdeapYOXJAPljL0Va5t3GQsAqF1VgUjCYYbaQbHQkrp3AGx4emvnlyTxaiDbF7umo9dHrTBSK2JUX8uRRqtMzQ22GQKeGtB34v6aG3gpHvQ2u3dI/lZfRiNR7LP3vsejEjD778a9NzOj9an0OSadP9LG4P3APRKdP9MHOf3f6RO8p62PGvxqNOsmhz72fi3nUSY7+kxyyemicCGBV7dJeGo3m8uwJyRZTAbk6KzZ9Jqs5JqJ0ndJLyXTchlhlk1pftem1y6u86ekvVJBkfZtNiygCrtJUB44xWtLJEotd6c/uTgAsZvBDHnBDA/Se8DzFa1k+N6OYV6/dUQ76KqpigETqYoHq9E29/1WK+XKG+eMcs+tor98lI5mq2LuiDBaMFlnF9iVAvieXom5mpm1G9wqrzDAOXMv2jbnr24brWWCEdhIanjkPItvyfT8IkTyeV1ZRbZJt33aEsnLqsKpqv6LKDQO3u6LqE2Zzyi4+AZMC1uqqrJ+g6zqGTJAIpzL12FkN6A2bVYvOUbXHPZYtTguW4AimqdyT7mTTO63s1euPT30BxN/KFE9zzEC6KSzX5ktnFa33hlsg5EK6jmd0soTocbuW9q5dMHuc/fMvrFW2gZa5ndK4GFa3aflCM6gZFEf5EJxLSos9KQtut+MjQ44ET8DqFxwc+jTTlncsqLsQ/m5R1B/vobpUVp4uVyXGuFgsy5mrzpg/yUjCGSCy8TdHHDPfAqE1mHzGeYmGn/hPzzZD05/7RhTjoeHaQWyEduQZiWmDZceW5QFGr4Of+Ue/G8QTyrAsORYCWJKu/ywHuXctjfaPv/0FSb/APzYvv9H+8Qz8o3aOvX6+TftwXJbte0N7GBtJYseGa4e+gbE/N2zL9My5H0SmaasPP4mVeDfY5mqOa/4xpXPpc2vQ2ODq5unCe3dxqe7yuJBQuBD04opJ37XHQRK7kevEoYED05Wu0zXmnjM0wAkCz/VjJwgD9PpfMjk41f1PAAA=" + }, + { + new QuestId(1111), + "AH6_H4sIAAAAAAAACu1c3XObOBD/Vzx6uRfoAAbb+M1xkjYzadIJzvQh0wcZFqwJRpwknPoy+d9vJPAHH25dl+u5Hd7s1SJ2Vz92F1arVzTJBJ1iLvg0jND4FV0leB7DJI7RWLAMNHRJEzHFiQ/xR0r9xYb8AD7mYpKQJRaEJjkHGoc45qChWcaSKY1j8MV9GG7J00W2PO6Sz0QsaKbmr/BJYW9JAlLYmyihDEpy5fIHm783ARpbI1dD79PZggFf0DhAY+OgWp8YoYyINRqbGrrhV1/9OAsg2JFztr3ZJnO6gg19SpOASOU8EGicZHH8lktc3OQVqR/WztLBVjEl6mBUEdU0jhK2PWkbxXKHp1jQaNWEEjwlu+1W2DYN+zS7NUtYqH6ciK9oqewRofHT5rePxk9fNITzK96+aAgKXTbK5Eg/hAPbNMwTLG61anAvwVFEkugbQhonCNlvFxWUBQTHyhskK2AbQm0xc18xI0v4TJKAvmwHmlQbmPbx9r9fAfNxWhdxX2u7BaTtqX1N+OJqDbzmBb+hlG0aTkUpxzlmxQbtyv4RP4O3IKG4wEQ9AZLANwRPYP+Zo7FzwBUNRnUtjtDBbVeHT1gQSHwVhR4glNdeYRavJb4UVg4swKAq+uAoN2W1LD0j/8AUizwkHTJzVVbrOJfab1fW2QLHBD/za7yiTIpbImzQ0tfK9Afw6QoYGpsS4U1JwWBUixlHqdfyw3BBovdYYuYVTZIoBsY3KlnNIOoPDbu2MscIPmr5Kc5iQRaUPh8MD5bhVBMv8whB28sads6+OdP5Khgupb1bhDwABzGlWSKAfWLyj/eC061615T5oJyVoubXKGIgqQpfjmtqKru+9wEnyl9XjFQanMSxJ2jKm0e9lKpZjQpdathE/5kMRUMzRqIIGM9ZHhPyd6buguaO4wMGS/cHfdDtwXykY3/u6oYB4GIA2zUN9CbXb5LQZL2k2U6fW8LFfSjNI+etWVwOSMlVQNva7zZj8BE4xxGgMUIaulPPCnrAojfDJEb5hbN1Kr3um4buKFvi+EMBywf4OyMMAk9gIUUxNLRx3J8BKxbJykFU1yb/Xwzur3JByu9om0NXQ48c1MOQ5hfIIX6hIgHbzvfIYSea5KgylEc/kgSNjXdGjY6/FvRHDp8Y+IQTmhyas8awm7Y+VJqZvgALs4PCVsf35q2O7E/rCYhjzA7NWhneTVod2M7ZlHJtuJrGysZsTtgqdmlkqijZxFORudEBbbDoCUbzNLuKxv132u+D0eh3YDwXMNZ8rpn73Fck0BhdEKFeRdj0EmkolewMjZ+sd4bm9N8ZX96UO9545kYn/Rvi/BYiSALM1i043g7rneM9GZCPHC5pVuBsl6FA/lrNfZw2jeekH08cipESgK1Blzicja/+7RKHHIknpA0dFM88h+3ShirKT0waOqSfOdJ/O6f7yGHGNi/5zUlDw3hOailpGDpW94rXIfhUBOdYbCtt6MB4Tu60SxyqOG8zceiwfk5Y/+1SB6k+zcSePotsWSM+cphmXNBlXq4opRFq11PG8oK//LFX+MyraRMhYJmKXWKSMZhhFkkxDtSj+0PHre+b+eUlOpqJJsPu2ajx0ptEZIp4qNrjyM1Up9d7mhxBV/Dp/MB/WvD5UTh2n8G7sPR/1WU6RHbfWNr/xtIVZrodHX9sYab7Xt3tLvq1WOzKJ91mt7NwjV35pNuu+WeXT7pvyt3m4V+Nxq7I0e1mPxf32BU52i9yyJ6gSSiA7TqS9spoNJV7T0gSeQJStcXceyHLOSYiD50ySslyXEHcVZMab1VwbesqP3T1HRUkXN8nXub7wFWZqhYY/QWdLrDYNvRsTwXAYgZf5b54pKFLwtMYr2VT3IxivrvtllLjVVQlAPHV0QK73Tdl/usY88UM8+c5Zjf+Ht8FI4nqw7umDCJGs2Qn9gVAuqeXohYr07Sie+1SOHTmpjsf6jAYDXS7j+c69rGtG4E1AtfyXTcIkdzVn/dGFcW2py0h74eq90rt90nZo5F1uE/qDq9IhAVlf/HeJZZNXaWOKfM7CLsJIBHEx7EsPx7s83Pcaj9i/6i24hYbEr2MhdgHL5bfpQ+K6ZzW0Oq0J2d3DMRPVYu9FDOQoQrL5/P1YH+s8wOHQciH6SaY0ekC/OfN87R3pILR4uqff8us8g00r+/kDkb/RhvmHU2g5FD6Ko7gVFIa/EneSruZH+lyJlgBK59dUI9rhiWPT1DHHPxcZ2sXpQ6aLG9MU83DOIsW+crt2tNWMptwNESKmHNEh5pXAKExoXzBaY6G78TQudN3w+EI62CCpdvz0Nexa5q6FYbz+XCIhwPLVzFUQjLYTlb0Lt/w9zGdS9FLCCzge7vqmc673tUK2LonNe99wLyHex6JV8B6tySRp5+UQ7ob2H0rNPS5HZq6PQKs4/7Q131rMApdGw8DA6O3fwH1gPREV0kAAA==" + }, + { + new QuestId(1112), + "AH6_H4sIAAAAAAAACu1c33ObOBD+VzJ6hg4YsI3fHLfpZSZtOrEzeej0QYjF1gQjThJJfZn87zcStjG/WsfH9dwb3uyVkL9dfeyuWS0vaJpJNsNCilm0RJMX9CHBQQzTOEYTyTMw0HuWyBlOCMSfGCOrnfgOCBZymtA1lpQl+Qw0iXAswECLjCczFsdA5G0U7cWzVbY+7pIHKlcs0+tX5imwNzQBBfZ6mTAOJVw5/nD39TpEk8HYN9DHdLHiIFYsDtHEalXrC6eMU7lBE9tA1+LDdxJnIYSFOJ92sNo0YE+wk89YElKl3BwkmiRZHL/miLc/8oL0h0Fh6XCvmIY6HFeg2tZRYLtD2wjLH51iQatTEyrylOxW7LBrW+5pdmtGuFX97RBz/rbtrmtb9gl2HHRqxnmCl0uaLH8A0joBpNPtXjMeUhzrezx5Ar4T1LYo9wALuoYHmoTseT/QpNrQdo+3/+0TcILTOsRDrd1u+XNFxerDBkTNt/1AKde2vIpSnnfMjg27xf4JP8J8RSN5iam+A5RA7ARzicmjQBOvxcEMx3UtjtDB71aHL1hSSIiOLXcQqWs/YB5vFL80V1o2YFiFPjzK+Qw6Rs/pXzDDMg80bWauYh0c5yidbrEuVjim+FFc4SfGFdySYMcWxyjL74CwJ+BoYiuGN4X64bgWCY5Sr+Ob4ZIuP2LFmRc0TZYxcLFTadBMImdkubWdOQb4uOO7OIslXTH22BoeBpZXTafsI4B2lwsUzr45f/kuOS4ls3uG3IEAOWNZIoF/4erL/Bmne/WuGCegnZWW5tdoYaikOb9s19A58y0BnGh/XTFSaXAax3PJUtE8Ok+ZXtWqyJWGTfKmWLTgdLkELtDk6zcD3Sf0z0xfi0ahh31CRubI8YnpDiJsYuJZZhCEDgkDD48sH72qXZkmLNmsWVagvKFC3kZKabVuzY5qQOHRYWpvlZuMwycQAi8BTRAy0Gd9B6AZZ88XV/EG5RcuNqnypa8G+sz4Gsd/bMl2B39mlEM4l1gqKJaBdu74AbCeoqYKkFWL59+3g4d7txXlv+jaI99A9wI0xdP8AjUkLrV/5/v17gUU0NSM6oTy6CeaoIn1zqrJ8fet/F7AFw6ECsqStjVrE4pl60Olldkz8ChrBVsdP1i3OnK47FxCHGPetmpluFi0OrBfs4m8u1lNY2VjNqdhFbs0Tqoo2TSngrnRrey4OJec5clzlY2H/z9/TkbL6cl4LmR8QWvtb5ba2a11QCP6s0QTdEml/oPBZ++RgVI1naPJV/edZTjjd9a3VwNtA9brNwPh4iPsyfMb8vwGlpCEmG86cLw913vHezIh7wW8Z9mWZ0WGAvmfZUFw2jSei96eOGxHSgQeDPvE4Wx89W+XOORMPCFt6Kl45jlsnzZUWX5i0tAz/cyZ/ts53XsBC777k9+cNDSM56KOkoaRN+j/4vUMPpXBORe7Sht6Mp6TO+0ThyrPu0wceq6fE9d/u9RBqc8yeaDPKlvXhPcCZpmQbJ2XK0pphD6hlPG8jK8+HJQz8xrZVEpYp7JITDIOC8yXCkZLldkZeX79jMsvL7yxTDYZ9sBGjZdeJzLTwrZqj6cOPp1e72lyBH3Bp/cD/2rB56107B+D92Hpv6rL9Izsn7F0/4ylL8z0Jzr+t4WZ/nl1f7ro13KxL5/0h93OwjX25ZP+uOb/u3zSP1PuDw//ajb2RY7+NPu5uMe+yNF9kUN1+kwjCbzoMzooo7FUnT2hyXIuIdVHzOfPdB1gKvPQqaKUKsdthUU1qfGntrP2dZU3Xf2ZSRptbpN5RggIXaaqBUayYrMVlvuGnn0HP5YL+K7OxSMDvacijfFGtbotGBbFz+4ltblaqgFQol8DUJy+Kc+/irFYLbB4DDC/JgfzLjlNdHfdFeOw5CxLCtiXAOmBXlq63ZmmHT1ol3L9kBAvckyXRKHpBrZv4iAamuNhMMTegLjjsYPUqf68N2pbbPu6F+T9UPVeqcM+Kdf3vPY+qQfM189YAr9YcJbJUruU/RN6XYeQSEpwrGqPra17nl9tMXSO6hTusMdwnvEIE5jH6qF0K0zvtB5Vrzuc/fsa/lGpeJ5iDipOYXVzvrS2vHpveGuDupOuwwWbrYA81lvxB1aHu3/+XbDaN7C8uJN7F9Nu9y2fWQIlh+LoIIJTJWnwJ3l37G59ZKqV4Al4+XUE9aBmDdQbEfSbC35y5MnKW6zaOqb6ENVqsrwrTfcD42y5yneu6E17UqmEZyC6DThHtKfNt0RozCafcZqz4ScBFAeuF42dkWmTsWe6QTAyfQ9j03ZscEKCI+wHOoAqSob7xbaNy9fiY8wCBb3EwC19b54uBta7i+mF0vqCJhd/MHnxoGIlKmHwvSEMfH9k4gHYpusHI3PsEdt0bRIQB3w78h30+jeT1C0A9UgAAA==" + }, + { + new QuestId(1113), + "AH6_H4sIAAAAAAAACu1dW1PbOhD+Kxk9x4yvsZ23kJYeZqAwJEwfOn2Q7XWiwbFcWYZyGP77Gcm52XFIAPc0KXqDlazsSp92V1qt9IQGBadDnPN8GE9Q/wl9TnGQwCBJUJ+zArroE035EKchJJeUhtMF+QZCnPNBSmaYE5qWNVA/xkkOXTQuWDqkSQIhv4rjJXk4LWb7ffKN8CktZPu1eoLZC5KCYPZ8klIGFb5K/qPFv+cR6pue30VfsvGUQT6lSYT6+laxrhmhjPBH1De66Dz//CtMigiiFbmsttbaIKD3sKAPaRoRIdwIOOqnRZI8lxzPf+QJyT/MVU9HS8Ekqz2vxqqh78Vse9w2suW7b+lBvdUuFODZ1m+2odtv67hmFudNv57HEsAvsGm8oSPNVvtxlOLJhKSTF5jU38Ck1e5gUxYRnMhJnt4DWxA2hqhUAWMyg28kjejDsqBBEfQMe//uv7oHFuJsk8N1oe124XNG8unnR8g3dFtdpupwOTWhHGefAeu1y/slvoPRlMT8FBM5AQQhXxBGHId3Oeo7zRq6520KsYcIfgsiPKGZhMEE9b8v/g5R//uPLsLlF88/ugjmss6FvcacQBpKI3QDsfiVz5gljwKHsoUGIW1DN2symvvpKPOPicnIvzDEvDRdWwyW3nubVFa7+BtPcULwXX6G7ykT7FYIC/xZ3Sr9BkJ6Dwz1DTFntkCzblr2ml7Ga+fXwr/ZJuApmXzBAl5PaJBOEmD5QiizWTNYrm5vjM0+nHsta4Yi4WRK6d1Wi2PqTt1FM/ZgtD3/YmU/mn2iX5zhioO8xMgN5MCHtEg5sGsm/hk94Gwp3hllIUgFKKnlN5IYCapEmOP1utIPvwoBp9IG1DqpUjhIkhGnWd5cOsqobFWv0YWETfQm+zZmZDIBlpfq4TYlPwv5LXJ6ZuCB5Wk9J/Q1O/Kx5usYtJ7rBm7geqYdA3oWozJIafo4o8WKywuS86tYCC3a3ehHUSD4kaZv2SsXBYNLyHM8AdRHqIu+yhmALimfdq6LDKPyy/FjJvTucxd9pWyGk3/maLuBnwVhEI045oIXvYsWqvsbYFlFVM2B19gp/52XrY/dnFT+oG24fhfd5iAhnpUfiKL8VJoCtpT+NocVZ6JGvUK19JKkqK+f6Bt0/GtOv83hmkFIckLTbW1uVFg1u1lUaZk+AIuLrczWy9farZesNzvikCSYbWu1VrxqtF6wbHOHiTNKE/eEOOqjU8Klm8iGn1AXZaI6Q/3v5oneNZ0T/ceztH4LQ9hgE8uxFwy8x7LWR7TZv6wNTmOlWk831al1XKNuW8yHEWe0XBTUZ0TF+dw9JXRLTYmDnRI7sPkSmA4UtxcwgTTC7FFB96/S5iUSjgiQtzl8osVcRa7cHihX9XmIs6bykvRqZ2T+dUX1mj3ljHx0Z+QgZ0aJ8bc4GArmSkv/Diy+0WlQcFRwbN1pGLPFzkGz09BQXpLacRpcx1QLNuU2HKDbUKK8NbdBAV0t796NxjYdBwVIBcj3AJLMgBZ8bQE6LWYbxNschkXO6awMgVTcCHmUqmDleQPxx1qUtAy8DTiHWcZXjknBYIzZRLChb4s6Ov7mWZz/PZpHC97UsWt91PjpecoLSdwWQXLECa1dMaTXKQIVRVJ64A8FcJrhqCI4h7MgOLpt8HfGZRQi1R7LEQRm1B6hCiyq8Ik6svTRrLsKn/zNJ+iODo6/I3yidvEUglWQQ51I/oj6VAU5/u4j8scHSBXkaD/IIdKHBjEHtkpeWkMYzYTzRNLJiEMmzy2OHsgswISX2BA+k0DqnPhy4tqi1jKu8qqvv1JO4serdFSEIeQyTLXhpoVTOpxivswSWl41gPkYfonDlqiLPpE8S/CjyJ8bU5yvfnZJ2agrqZIBEsr7ClbuY7X+WYLz6RjndwFm5+FavVNGUpmyd0YZTBgt0hXbpwDZmlySOh+ZphFdy8GKPDd2sQFa4AWBZrumpXlRgLWwZ9uRaUS67WIkjoqWCVfzYNvuhCvbN93tCVcjzkgGUecLDR4rOVdGGzlXKl6mTMoBJTy96gCdCpcd/bF770TvWvZfd+xeReKUN39YiFSROJWwfcyr0V2JTCpd71g3RpTfoGJ8DYhUW4B/XumqGJ+65+XIN7F3JDKphL3j3f5SjoOKHn6UC7aOT/Gq6KFKkVIX7X14PaBSpJRZOiCzpAIzylE6LEdJBWZUYOaYHX11w5xadB4WFtUNc2oP5CDgqMInKnxy5Lt46h44Zd4PDI3qHjgV5DgUQKogh0qRUilSaylSNtYjKwRbi1ywNBtboPkYY83zMUSurRuBqa+lSJVZUJsZUi1lR72UbXceQcpJiBNxFePW59Ecv/6Mm7XXE3QtvuM2KliMQxglIg1mK5vO214CdNrj86V3diuP+h3MM7trXP2xV3Zf/TjkKMMMhO3CIqfxaevzg84rullMt/NoTIdTCO8WM27tEVy9RZQc/ouEUofQMu2sVEGasV0BfaUpVBSPJXNvcSYoDXqnfKlw0T7SREtwD6z63GxTLnD5LO174KPSelfu3XyEGl2/B5yVw7QjITiMvNjHoav5ei/Q7Ci0ND/yPM019RDrsWnFuo2euzvMW896wbxNcUQfOkPMY/GNMnAHauDUQ/K7/Zjfb7gWS0BluA7IcOmmeKpd2a42rqTYZu7LHGv5qDAuJtNy5FaZ1mRuZ/ZIsh61YRc9rAeB6XpaFIOv2YEfa75rO5ppGqbh+HHYs3pyFSigGC0bm796fJ5/SWggbjupIG8O24v7jumcdAYd0ZcdGgvb2MFp1JFGtcKG5YFhYvC00IvEYjQONM/2dC1wLdvUrdCzYx09/we0R049iYUAAA==" + }, + { + new QuestId(1114), + "AH6_H4sIAAAAAAAACu1cW1PbOhD+K4ye7Y7vcfIWAvQwQ4HBYXjo9EGxN44Gx3IlGcph+O9nJOdiO3YJ4PZA6zdndfFq99PuKuvVIxrngk4wF3wyj9HoER2neJbAOEnQSLAcNHREUzHBaQjJF0rDxZp8BSHmYpySJRaEpkUPNJrjhIOGpjlLJzRJIBQX8/mGPFnky/2G3BCxoLmav9ZPMntGUpDMnsYpZVDhq+A/Wv88jdDI8oca+pxNFwz4giYRGhmty7pkhDIiHtDI1NApP/4RJnkE0ZZcdCvNNp7RO1jTJzSNiFxcAEIyuFTvitHo6/o5VM8CjdCULOGGpBG9nxwhDWWyPxeYCTQyDd/QEKQRGtme8aSh1QuevmkIbx8BjdI8SZ6eCqmsFvKI1IO11Wa0EZ4Sh+fXxGEaewmkA4kodrVmtoaD12jJ6IwpKUIJ0Da5OabhvE5wzSyupn45j8Um+Qmb5isEaXUqxyDFcUzS+CdMGq9g0u5W2ZRFBCfKkKR3wNaEHRUVZma7XzcNDcbGM539xX9xByzE2S6H5UU73cLnhPDF8QPwHftZX1NVXW5tUa67j8K8bnn/gm8hWJC5OMREbQBJ4GtCIHB4y9HIbTEwnr+7ij3WMOx2DZdYEEhD5b+uYC7HHmOWPEh4Kay0KMCrs+7tZXusDrhv82M/9UaXjPwLEywKl9SmkPqqrP0sqt2tTqYLnBB8y0/wHWWS3QphjStbq9KvIKR3wNDIlHuhbYV1n7HX+jreN4ck/owlvB7ROI0TYHy9JquZcXtgODuq2Ydxv+MNnyeCLCi9bXUkluHWoztzD0a7CxtKYVxjqPNDMFyJrTfu4go4iAnNUwHskskfwT3ONss7oSwEZdcUtRijiJGkKny5Q09TIfxFCDhVpr0mpErjOEkCQTPe3BpkVM1q1OhyhU30Jrc1ZSSOgfHCOlyn5HuuxqJ56BjmwMA6ns1t3fHMgY5t8PT5EIPpuzMAx0FPUivjlKYPS5pvuTwjXFzM5aLlvDtylA2SH+XRNlI5yxl8Ac5xDGiEkIbO1Q5AQUZpenBD2RIVQ6cPmTS8Txo6p2yJk39WcLuC7zlhEAUCC8mMoaG17b4BrLrIrhxEjZ/i56qtrLwVqXihYw6GGrrmoDCeFQNkEz9UvoBtln/NYcuZ7FHvUG39QlI0Mj4ZO3T8Y0W/5nDJICSc0LRtzp0O22l3myoz03tg87yV2Xp7ad56S3naQECSYNY2a615O2m9YTPnMy7OLB/VDolQ4R/bntQYGn21Phma7X4yvj17Qit0Lxlo2jRVPTVHgzWRN3aqya+pT00cjSZrjfJAMFqE8HWcV0LF54Fu2D3Q3wvQCxh8QDSeQQxphNlDD8g/yvJ+OEBeczii+crwbWMUKE7WPMRZU3tBenHgsBpdMaiW1wcO7wa+feCw3RkFxl8TNvQw7630r8DiK4OGHo49HDsPGqZsfcpvDhoa2gtSN0HDwLX6Y1gfNrzDgLpAeWdhQw/0/nj3ZjR2GTj0gOwB+RZAkiXQXJQOoIt8uUO85jDJuaDLIl1RCSPUJ1M5K3L+8qGU0SyyZGMhYJmJbWCSM5hiFks2WnKb9sAd7n4P89tTbzQXTYItyahx6GkqckVsy/a48iup5/I9LzMEfcantwP/U1qmGY59Xub9HAj+trxMj8j+P5YPkJjp/yPsE4u/y6L26ZM/9vOiD+fd+/TJn/y124eD469In/T/4vUI7pMc/dfDf6M97ZMcf/bn7B8PkH2So/skh6z1Gc8FsG2lUQlhNJPBE0njQECmCh6Ce7KcYSIKbMiYSSJ1Rdxmkxpfteq1yau8aPQ5FWT+cJEGeRgCV2mqnTAtXNDJAotNSc/mSgEspvBDVmkgDR0RniX4QRa7TSnm29duKDt9FVUxQEJ1L8E2fKz2P0kwX0wxv51hdhqW+h0ykqr6uhPKIGY0l3X76zaArLQuRV1ppkmjpYKpmW9b0cz3dSu0TN2ZWVifWT7W3WjuDP3BYODbJpI1JkV11CrZ9nVDKCqidqulypVSjj/02yulTvIkWcpiqQCzSN64UK6XMp/B12kEqSAhTmTysbV6T1VqVVKI9l51xR2WGQY5m+MQgkT+K93Kpvu6OlW3Oz772x3elCsOMsxAOiosd+dja9Wr+4IrHuRWOo2mdLKA8Ha9m0pXKhgdav/9F8Iq20CL7E5hXnSz3bic05pBsZUXwZmkNNiTokB2PT/S5UxwB6x6ecGuVzMseX+CuufgLUXtvY8Sm3BupaTGUO8eZ4WmnvFuTmiEnu9Huo/B1B3PxTq2zIHuWp4f+TN/NvAM5d0kXKLNZKu64lP+OaEzGaJU0LGC1tndgW18Ojgjt3AgwXBwiTknaXxA0gOxgINzEi8EqlYnD4ZDbzbzdW9o27rjAtaxG5q6PzDM+WDgeDDz0NN/coej1y5JAAA=" + }, + { + new QuestId(1115), + "AH6_H4sIAAAAAAAACu1cyW7jOBD9lYBnK9BiycvNcZKeANkQOcgh6AMtlWwisqgmqSwT5N8HJL3KUrfj0fQ4Dd7s4uJXxadiUcXyOxoUgg4xF3yYTFD/HZ1leJzCIE1RX7ACWuiUZmKIswjSK0qj6UJ8BxHmYpCRGRaEZroH6ic45dBCo4JlQ5qmEImbJFmKh9NittuQByKmtFDzl/pJsJckAwn2YpJRBhu4NP548fUiRn2322uhb/loyoBPaRqjvl2r1i0jlBHxhvpOC13ws9coLWKIV2LdbW22wZg+w0I+pFlMpHIhCAlwpn5rgvqPi88R6j9+byGsR3x8byFA/axI048PrdsczjtSH9zVmsRLEyilgm5JKcfeSa0G9FJwW9Wwep19bG03BkqaUNKszm5tx27vZ7hqiPOpP49RU/0nMJ09DOk2ascww5MJySY/AWnvAdJrdrEpiwlOlTvInoEtBFtLpJ3FiMzggWQxfVk2VLiMwGnvbv6bZ2ARzrcRrivdbpY+54RPz96Ab3nBsk6by+WXlPL9XRYsaBb7FX6CcEoScYKJegCkgC8EocDRE0d9v8bBBN1tLXbQodesDrdYEMgitQvdQSLHnmGWvkl6Ka7ULEBQhh7s5HvchtEz8jcMsdAbTZ2Zy1jd3fyk1yzW0RSnBD/xc/xMmYS7IViwxWttyu8gos/AUN+RDK/TsLwT7KRfw0/DCZl8w5I072iQTVJgfKGTWw3c69jtraXZBXi34ce4SAWZUvpUuz24tl+OvJwdgDYXDKycfXUA8yoY3oh7l5vAHXAQQ1pkAtgtk1/CF5wv1TunLALlrZRUj1HCWEo1vyS9ZHh9EwHOlMMuGWmjcZCmoaA5r24Nc6pmtUtyqWGVvGozGjEymQDjOgK9z8iPQo1FHkAQeEHPAqcTWO0OuFYXY9/ynCQKfKfTCRIHfchVGWQ0e5vRYoXyknBxk0il5bxbdpQNEo/ap5ZWuSwYXAHneAKoj1ALXasnAN3RNCXZ5CgUNAOkR4/eculRP1romrIZTv+aM+4OfhSEQRwKLCQeu4UWTvkBsOoiu3IQZbPr7/PG9QWci/Qvtp1Or4XuOSie53qAbOInysuz5Xz3HFbQZI9yh83WK5Khvn1sb8nx61x+z+GWQUQ4oVndnFsdVtNuN23MTF+AJUUt2HL72rzllvVpQwFpilndrKXm1aTlhuWcVQxe9Kpq2zRmdTBWsktlp5KSVX1KmCt9y4KLoWBUR9BlNq6fV39NRtszZDwUMm6d6x19rn9HAvXRCRHqlMGGp6iFctmdof5j59hueb1j+/uHOvIvTv8VLwK+JM8vYQJZjNlbA47XcN043r0Jec/hlBZznq3CFNBHZh7hvKpdiz4fOMxbNgjsBiZwOBhf/eUCB83EPcIGQ8UDj2FN2FBm+Z5Bg2H6gTP9yzndew4jtjjkVwcNFe1a1FDQ0PFdc8QzDN6XwZqLTYUNhoyH5E5N4FDmeZOBg+H6IXH9y4UOUn1aiDV9psVsS3jPYVhwQWc6XbERRqgbTQXTyXz5YS2pqRNlAyFglotVYFIwGGE2kTBq0ptex+9tX3T57dk3Wogqw67ZqHLoRSYKJazL9vjy+tP++Z4qR2ASPsYP/KcJn8/S0bwGN9vS/5WXMYw071iaf8diEjPmRscfm5gx76vN7aLfy0WTPjGX3Q7CNZr0ibmu+WenT8w7ZXN5+Hez0SQ5zG32Q3GPJsnRfJJDlvsMEgFsVWy0lkajubx7QrJJKCBXV8zDFzIbYyL01il3KZmOmwtX2aTKn5r3WuZVPjX6mgqSvN1kYRFFwFWaamtjjKZ0OMViWdWzrPjHYgSv8l48aqFTwvMUv8l6txHFfPWzS8lWXyVVAEik/jZgdftms/95ivl0hPnTGLOLaK3fCSOZKrE7pwwmjBbZCvYJQL6ml5LOV6ZqRddqpsbdDrjtpG0FiWdb7QB6VtezAwucKGg7cbfbhQjJW/26QGqebHtcCnRR1HbB1HqxlG97Xn2x1ClwYOJoiEUix6xXSzm/YNdFDJkgEU5l6rG2fM/vlcsMvZ3KhRusMwwLluAIwlS+k66F6e9XqOo3h9P8acO/yhSHOWYgtyksn8332rJX/xP/3CAfpIt4RIdTiJ626/Fdu8HVP/xKWOUbqM7taOdiOfWu5bpcfumpPQTnUlLhT3SF7GJ+ZMmZ4BnY5n8SVO1p+r8Lqg+IZtMpVHw2t3tl7PaCc238X2xXCfbaQeTH1hgHidWOIbHGLh5bjjv2kh50EheD2q4kA+LlZPNa4Qv+LaVjGXNsLPicLZfPR55/fDQ4kot7RAtxRJOjByyAoQ0MbS+I/HHXttoJdq12krgWxq5rjTvdTuJApxsFHfTxD5UBkfaTSAAA" + }, + { + new QuestId(1116), + "AH6_H4sIAAAAAAAACu1cS2/bOBD+KwHPUqG3HzfHbboB0qaIHPRQ9EBLI5uITGpJymk2yH9fkJJtWZZSx6vtugvd5CE5Hg4/zYw4HD6jSS7ZFAsppskCjZ/RB4rnKUzSFI0lz8FA7xmVU0wjSD8xFi035DuIsJATSlZYEkaLHmic4FSAgWY5p1OWphDJ2yTZkqfLfHXckK9ELlmu+df6KWFvCAUl7PWCMg57chXyx5uf1zEaO8ORgT5msyUHsWRpjMZW67S+cMI4kU9obBvoWnz4EaV5DPGOXHSrcJvM2Ro29CmjMVGTC0EqAVf6vxZo/E0/2waK9LNEYxRKLHMxiSRZw/Q9MlCmRpBYoPG3QeB8fzFQyffFKEZkHATIseuO/BG2o2AArjcPPJwkoyge+vPADiJIgpJVZfx3A+HdI6AxzdP05aVQZjn/Z6QfnB0I4q3OtRaDYU2LtnWUHjtQpBbXaBZrNDhlca3OhFIqVLhu05tnW95pimsWsWT9dhmLd+sVMe0TFOl0qseQ4sWC0MUrQlonCOl2u9iMxwSn2v7QNfAN4WCJCus0Iyv4SmjMHrcNDTYqsL3j1X+7Bh7h7FDC6qS9buFzRcTywxOIA7PbPifPtvzanHz/mPUKOhD9wPZaVdv7NkuKCF1vLPGRNhU/QLgkibzERAujCGJDCCWOHgQa+y0mLRgeKu4ItY26XfEvWBKgkXa0d5CosR8wT58UoLU6W97QoC56cJS1czqWnpO/YIpl4dra1FyX1TnOMrvdyjpb4pTgB3GF14wrcfcIG7S4xj79DiK2Bo7GtnqpmuKeYHjgeo6aXtDt9C7J4iNWmHlGE7pIgYvNlJxmELkDyztYmWMEH3Yr+Kc8lWTJ2EOrP3Isvx5b2kcI2l30sfMuzRHTD8nxXmS/RcidsoBTllMJ/Is2h+EjzrbTu2I8Am2sNLUYo4mxohb4UiGD+oC4jQBT7SFqStprnKRpKFkmmlvDjGmuVo2uZthEP87cN1tpA804WSyAq1j7u4HuKfkz1/+CfNeLbDt2zcQJfNMDb2iOcOSag3mE597QDRzPRi9q/SaU0acVy3fzuSFC3iZKPYrvgcZVg5Jcu9Ct/m5yDp9ACLwANEbIQJ/1u4JCCauLS8aBo2Lo7ClTdvfFQJ8ZX+H0jxKYd/BnTjjExfeEnvnGdH8FrLuorgJkfXWK32VjdZ1LUvGPnj0YGehegH4dsmKAahKX2hfwLb97ATvRVI96h/3WT4SisfXOOqDjHyX9XsAXDhERhNE2ngcddmwPm/Y4s0fgSd4qbL29wrfeUmUbSkhTzNu41pp3TOsNW55NYd6mV1PbvjKbg8SaXho71SbZ1Kcmc6MJ2mAxlJwVkX0djdUP95+D0XJ7MJ4LGF/f4LgkUn/98N3uBkfjb847y/D9d1Z1g6PNTP+GOL+BBdAY86cODG+P9d7wngzIewHvWV7ibBejQPEpLyKcNbUXpLcHDmXLHoCdoA8czsZW/3aBQ4HEE8KGHopnHsP2YUMd5ScGDT3Szxzpv53RvRcw45uP/OagoaG9IHUUNAx8p//E6xF8KoILLHYVNvRgPCdz2gcOdZx3GTj0WD8nrP92oYOaPstlZT7LfHVAvBcwzYVkqyJdsRdG6KNdOS8OGaiHSuqzyKdNpIRVJneBSc5hhvlCidGSkXYH/ujwAM4vT9KxXDYptqKjxqHXVOaa2Jbt8dWxrNPzPU2GoE/49HbgX034vBWO/TZ475b+q7xMj8h+j6X7PZY+MdOf6PjfJmb6/er+dNGvxWKfPukPu52FaezTJ/1xzf93+qTfU+4PD/9qNPZJjv40+7mYxz7J0X2SQ1UFTRIJfFeTVEmjsUydPSF0EUrI9BHz8JGs5pjIwnUqL6XScSVxl01q/Kuy1zav8qbRn5kkydMtDfMoAqHTVAeOMVqy6RLLbUnP9uoDLGfwQ52LRwZ6T0SW4idVFjdjWOz+dks56KupWgAS6fsTdqdv9vtfpVgsZ1g8zDG/jir9LjmhuhLvinFYcJbTndiXAFllXpparkzTilYKpvAwHlhzZ2A6sROY3sgZmfMAe6YfeEESeRj8GCN1qr+ojiqTbd+2hKIi6rBaqlop5Y1UQWxbpdQdJjTCaVqrlLJ/gqzrGKgkEU5V2rG1ws8f1SsR3aNqmDssRQxznuAIwlTtR7eK6Z9Wyup3J2d/kcQ/yhKHGeagXBRW7+Vza2Ws/4bbJNRLdB3P2HQJ0cPhHQGO1eHqn3+xrLYNrMjrFIbFfKUA8zOjsGdQXO0/cKYoDfakKKLd8Eem4gRr4Pv3JDT5s+I+heaPw97hFLFZqffGuO0RZ4Xyf+KqnMDGTjQfmIHrxaYXeZ45DFxs+p6VJANsRXM81K5KISDeMiuKeSt8NtdGmOreCFNdHGGqmyPM2tURFfd0y0PKHpGBdMzwWtHcV8ByWS2ZKy8EargOqKWr7f+8sk49X4uPKZur+GkPwKXUN+sLz3p3UUL1gtALuYQLNRe0p9PE8V3fCeZm4AwHphckljkaOnMzSRLHsYcjPIcAvfwNA524o2hKAAA=" + }, + { + new QuestId(1117), + "AH6_H4sIAAAAAAAACu1cS2/bOBD+KwHPUqG3Ld8ct+kaSJsidtBD0QMljW0isqglKadukP++IOmHLEuJ49V200I3e0hR3ww/DUcaDh/RsBB0hLngo9kcDR7RhwxHKQzTFA0EK8BA72kmRjiLIf1EabzYim8hxlwMM7LEgtBM90CDGU45GGhasGxE0xRicTOb7cSjRbE87ZKvRCxoocav9JNgr0kGEux4nlEGB7g0/mT7d5yggdMPDfQxny4Y8AVNEzSwGtX6wghlRKzRwDbQmH/4EadFAslerLuVRhtGdAVb+YhmCZHKTUBIgEt1rzkafFO/bQPFaPDtu4GwvuLpu4EADbIiTZ+etG4bOI9I/XD2c5LsTKCUCvoVpWzrJLVa0EvBNephhb1zbG21BkqaUNKsyW6ebXnnGa4e4mbo12PUVH8Gpn2GIZ1W7TjJ8HxOsvkzIK0zQLrtTjZlCcGpcgfZCthWcDRF2llMyRK+kiyhD7uGGpcR2N7p5r9ZAYtxfoywrLTXLn2uCF98WAM/3Qt6tuVXVPL9U6YraAH5kSe0tCd8RAINUM6AgxgElh2GOMZe4PW9yLNwgGMniXsQxB7uRQkyUC6HItlq4z2V89z60WdcKr6HyYLMxCUmCowU8K1gInB8z9HAb/BoQf/YcCeYLWx3wr9gQSCL1bJ3CzN57QfM0rXkszJnwwMaVKEHJzk7p2X0jPyEERZ6ZWsycxWrc5pjdtvFOl3glOB7foVXlEm4B4ItW1zjUH4LMV0BQwNbPlRNGlaXnpP0C9rV75LMP2JJmkc0zOYpML7VyakH7vYs72hqTgHebxf4pyIVZEHpfeN65Fh+NdSzTwDaXvSxX13qI6YfguGDQHvnom+lCxzRIhPAvih/OHnA+U69K8piUN5KSfU1SphIqeaX9FMynr+JAWdqhagY6aBxmKYTQXNe3zrJqRrVqsilhnXyutVvysh8DozrkPcuI38X6lrku4kVuRhMcGBmepHtmCGGvhmGiWsnEY77fQs9yVkZZjRbL2mxR3lNuLiZSaXluEd2lA0Sj1oYd1a5Lhh8As7xHNAAIQN9Vk8A+ks+sw+ULZG+crrOpTd9MtBnypY4/WvDtlv4uyAMkonAQmKxDLR1yF8Bqy6yKwdRNbn+v2ksT95GpO/o2b3QQHccFMdzfYFs4pfKw7PdeHcc9tBkj2qHw9ZPJEMD6511JMc/NvI7Dl8YxIQTmjWNedRhP+xx08HI9AHYrGgEW20vjVttKQ87EZCmmDWNWmneD1pt2I1Zx95tr7q2Q2PWR34Vu9R2qihZ16eCudavbLk4EYzqcL3KxnJY+DIZLbcj41shY9NHBB06XxKhXmnY6P02PGZo8M15Zxmu8876/mKI/Fvy/BrmkCWYrVtwvB3XO8d7NiHvOLynxYZn+xAF9Ps5j3Fe165Frw8cNi0HBHaCLnB4M776twscNBPPCBs6Kr7xGLYLG6osPzNo6Jj+xpn+2zndOw5Ttn3Jrw8aatq1qKWgoec73Stex+BzGay52FbY0JHxLbnTLnCo8rzNwKHj+lvi+m8XOkj1aSFK+iyK5ZHwjsOo4IIudbriIIxQ26cKpncOyB+lhKZOkg2FgGUu9oFJwWCK2VzCaEhtuj0/PN5V88szb7QQdYYt2aj20nEmCiVsyvb4cq/V+fmeOkfQJXw6P/CfJnxeS8fuM3i3LP1feZmOkd03lva/sXSJmW5Hxx+bmOm+V3e7i34tF7v0SbfZ7U24xi590m3X/LPTJ9035W7z8K9mY5fk6HazvxX32CU52k9yyFKf4UwA2xcaldJoNJd7T0g2nwjI1RbzyQNZRpgIvXTKVUqm4zbCfTap9labXru8yquu/kwFma1vskkRx8BVmupoYYwXdLTAYlfRszteAIsp/JD74pGB3hOep3gta92mFPP9bXeSo75KqgCQWJ1RsN99c9j/KsV8McX8PsJsHJf6XTKSqfK6K8pgzmiR7WFfAuQlvZR0MzN1M1qql0r6HvR9xzZnkeOYnuV6JraswIwg7kWh7cWR5yK5q18XR22Sbd92Al0QdVwsVS6U8i3Pai6UGqW0SC5GhRDADmql7Be4NU4gEyTGqUw8Nhbu+WG1wNA9qTa5xQrDScFmOIZJKr9IN8L0zytR9dvD2Z0P8a/yxJMcM5CLFJZP5mNjwav/ikMi5GM0TqZ0tID4fvsklQ5lsFqc/bdfA6t8A9WZHe1aTLvZsXymGRw4FFetIDiXkhp/omtjt+MjU44EK2AbtZ5Z0fQxCfWvh92So6Ozjd1rI7cHnGvjv7BY9ULXh14wM+3YiUwPktiMHK9nQs8OIQiCMIFQLVaSAcluMF3NWxpnexyEKc+DMOWBEKY8EcKsHAmx4dFlSn7+xCy5YZOMPiADqcjhudK5r4DFolw4RxKJwQ7KRXPG8339lwvs5O8x/5jSSIZRByzeQL9eXXj+u4vxxSWkBFZwIZl7McLZxVW6Rge2dV08m/Wd0IQ48EyvF1pmZEdgBtjz7Vk/drHjoKd/ANJETI7WSQAA" + }, + { + new QuestId(1118), + "AH6_H4sIAAAAAAAACu1dXXObOhP+Kx5dmzN8G3znuE2bmaTJ1M704sy5ELDYTDDyESJpTib//R0BtjHGiePQFufdO3slxK70sLvSaqUnMsoEG9NUpONwRoZP5HNCvRhGcUyGgmfQJ59YIsY08SG+Ysyfr8jfwaepGCXRgoqIJUUNMgxpnEKfTDOejFkcgy+uw3BNHs+zxWGP/IjEnGV5+7V6ktnLKAHJ7MUsYRy2+Cr4D1Z/LwIy1B23T74sp3MO6ZzFARmqe8W64RHjkXgkQ61PLtLPP/04CyDYkItqldZGHruHFX3MkiCSwk1ASAYX+btmZPj36rdPhn//0ye0eOL5nz4BMkyyOH5+LmQr2Xki+Q99MybbMtlOTSZNPUiqFsTKua30dDkwOVvu4JiuVv9QX0s8bnVwRRRTU83jurhZmLLpN3VxzmPxTbzApnZEl+utwUDyOEnobBYlsxeYVI9g0miVyTHjQUTjXG8k98BXhJ0hKrTKNFrAjygJ2MO6oOE71HTbPly7XN8D9+lyl8Wq1Ga7+DmP0vnnR0h39GVdqO3xsmpCWdYhI2a3y/sVvYPJPArFGY3yL0AS0hVhIqh/l5Kh1az1bWdXiANEcFsQ4ShldENFBImfG7bvEMq3fKY8fpRAzFtoENLUVL0mo36YktL/mJg8+g/GVBRGrtGI2I5qHyeV0S7+pnMaR/QuPaf3jEt2twgr/Bn9bfp38Nk9cDLU5DezT8K6cTlIPvtPjdpZNPtCJQ6fyCiZxcDTlfR6s4jGQDV3BvEQEZ2WVUgWi2jO2N1e26SrVl2Dawcw2oLPUrK5sTTNftZPwemWd75WAd8hBTFmWSKA33D5Z/JAl2vxzhn3IdeUObV4JicGkpoj0XIG/XwScO0DTXJjUeukrcJRHE8EW6bNpZMly1tVa3QpYRP9PcDskymPZjPgaVHlNon+zfK3kNBRTc1wBkoQuIFiqmAq1PNVxYHQs6ju6KBR8izHb5Sw5HHBso08l1EqrkPZPbLdnR6XBZLz3Jqu++8y43AFaUpnQIaE9Mm3/FshN1Ec986yGSkenD4upSZ/7pNvjC9o/LWE5Xf4N4s4BBNBhWRF7ZOVMfgBNK8iq6Yg6mNT/C8Lq6Nckoo3mtrA7ZPbFPKPYVk8IIvSs9y68HV7tylsWJM16hW2S6+ihAzVv9QdOv1Z0m9TuOHgR2nEkn1t7lTYNLtbtNUyewAeZnuZrZdX2q2XVJudCIhjyve1WiveNFovWLfZ5O+tajWVbXdms7dY65fGSjUhm+rUeG5UQCssTgRnhY9fR2N16v06GFUDwdgVML5V554gbC9hBklA+WMLehShi3r0aEDepvCJZSXONg4HFFP01KfLpvKC9HY/oCzZArAu1yrQD0DV+4tVb4HZI/wFBC06r78Cikf6AAhHhGO7cLxNYcpXU/BmH6ChvCC15AMMLB0nYDgB+/UTsAK1bXkBCFtcxHo3GNv0AxCQCMj3ADJaAMtEZWFuni12iLcpjLNUsEURG9jyCvKdUBkvQvvyRyUgWYSuRkLAYik2fkbGYUr5TLKxJzRpDCx3d9/L74mHvTkyWXZX0xBUerOx+y8SkeXEfUEYS+6wOj4M06QyMA6DGuOXxmHeCkdczu7OROBkw4It+lSISFSQ71tcwQALbrQ4WY36WtgEF6px08/vxSLGTXAPWidUI8ZNcBflaU+XXouG4Ooz7un93WjEcAhuMu+KesRwyAvpQUcGOWSqzigUwDeJQpX1SraUm06iZDYRsMyTniYP0cKjkShMp7RSct2zJG7iTo2vKmut4ypvevobE1H4eJ1MMt+HNA9o7RhGf87GcyrWeTbrMwWomMJPUSTefIrSZUwfZa7alNF089o1ZaduTs0ZiPz8YILNtpvt+ucxTedTmt55lF/4lXpnPEry9LhzxmHGWZZs2D4DWFbkyqnlyDSNaCWLSQsHoGm6p0BghIoJA0fxHENTdMe1qeX5QAONyIBYkbJUhuVeT1kynYG5P2XpK+Ue472vwKVQW4lLGiYuYeLSKbncmLj0cbPoMHEJE5dOFLont3SBcTVMYD5l/GJc7cO6ASeKxRcX3jA7DtGIYTU8nAT1KYbVcMXpo4XVMOsNvU2Mqp1yVA1Th/AItxObdWLqEJ4o2EE4YuoQLst1A5EY4sAQx+kvK2PqEIY4uoJFTB3CiFsnVCOmDmHq0GnHjDF16ANvZDxRNGLqEAKyK4DE1CFMHcLUoeoFSKrhe4HmKLprGorph4HiOToonu7YWkBV19U18tw/IFXIcfanCl3POPTOKOfUzwKKqUJ49M7/Z4AMb4pBF/sPxMfw0q1TnfJ94Nw1jKNhHO2UFzfw5iJc1ugUFDGMhsu+nYAjhtEwjPYRAhd4HxFG0ToDRoyiobvZFe2IUTRMFaotdG0b8M06V42+tQkDvaTT9pIwVQh3G3UQjpgqhAsh3UAkhjgwxHHKBh5ThXDS2S0sYowDYxydgCPGOHD2ftqzd0wVwlShrqERgxw4d+8KIDHIgalCmCpUSRXSLd0JNFtTPDNQFdMIPMWhmq349oBSJ7Q0XbUqtwwV2UG7lwy1dsHQS1dWXQSQiMin8Ti/2Wn3jqj87ZZr144WNKxDzhZ0ms8WXN0f9ZbDBScZD6kPk1imh+xl06qxqauHsKlZ7fFZvuKp+KFv8Vo8JlnVbWfnrMaDONVaO62xiSt3UOPqIJ5aOEHybdv3JRyWlIO0XlReDNaMB2OgmtYbull+cBfBlI3n4N+tvrmNPLraIkqyWERzxu72YllXLbfO+289zTPXIaxIxyqUkKLtV0HfWAJbisfIL7CjS0lp0Ds3XNJW7RNFtgT3wEuxXrhQ72KWMA7vy/7Au/FWDl45Qo3O3wNdFsP0ir2zwdJ93bKV0NRAMak1UKhmUwUMTzV9b6AajtuUGttaWiwaODRwaOCOMHDym0MDhwbu417+2oqB8wJPM0w9UAKL2oppe77i6Lam2K4xMBw1sIEOXjVwrjbYb+Cu6H8xfaS9K8rjKEED19UZXMVD79IUrsoWzuEqJm61HopzuA7N4VTdxGlcS1Zu38z3iUgjK/t9TLPZvBi58SfSJ7m3E5UW6TmfFa8myI1z5UkbFtQNPRX8wFQsl6qKSTVLoW4QKCoYqma5lhGaZr4kKqEYrBtLizn8RfolZh6Na8grYXt537PUv3oT1rtkyazfo0nQm85pcpf2QsZ7ozjuiTn0cmNcuw3ed1zHMJXQsTXFDExN8RxfVQbUDVyghhZ6A/L8P4aN6APQvwAA" + }, + { + new QuestId(3240), + "AH6_H4sIAAAAAAAEAO1bS2/bOBD+K4HO8UJyLFvOzXGTboC0KWJ3cyj2QEsjiYgsuiTVxBvkvy8felmWUtdRixbgJZCHQ/Kb4aeZccZ8tmYZJ3PEOJuHkXX+bF2maJXALEmsc04zOLXekZTPUepD8oEQPy7Ed+CLWbMUrxHHJNUa1nmIEiZGlxlN5yRJwOe3YViK53G2PmzKPeYxydT6DT0J9ganIMFeRymhsINL4w+Kj9fiaehNT633m2VMgcUkERK706xPFBOK+dY6d8RkdvnkJ1kAQSXWarXVZivyDQr5nKQBlsYtgFvnaZYkLxpxvsmzpR6GlaeD0jAFdew1oDr2QWD7Q9sKazo5xoN2ry6U5Ony28ixR8c5rh1ivvSPY9QEfgWmc4Qjh736cZGiKMJp9ApI+wiQZ/0eNqEBRol6ydNvQAvB3hHpELDEa7jHaUAey4E208bO6HD/34ptfbTZh1i3etQvf64wiy+3wPaC2ytGifNyG0a57iEnNu4X+wf0AIsYh/wCYfUGSAErBAuO/Adhl9sRYcbevhUH2DDt14ZPIjOB2E7Cv4NQzr1ENNlKfimudBzAuAl9fFDw6Xixj0ZP8X8wR1xnmi43N7EODwuUHe/3sViXMUowemBX6BuhEu6OoGCL2HRHLqoOsbjQd9yOw5AWNlPBQfb1/DZc4Og9WisizdIoAcoKm4btwM8m9mjvaA4B7vX8GmcJxzEhD535YWi7zYLKOQBof9VAFe3bK5gnTtFOOVuWg3fAQKSSLOVAP1H5YfGINqV5V4T6oKKVkuo5ShhIaV4KOaIYkmXzrQ8oVRG74aWdQVFKLzjZsPbRxYaoZe2GXJrYJt81+NlaKxVh6pfi2RfP/55aSMN/EY9QOY7iKBJU1CqfU/w1U7tYNoB7NlyFAxHLYCBOGAaeP3QHgLzp2JuKP+BZL/IAZylJt2uSVfbcYCYqdukfpmA0XC4HJHKV0ioH3mQitwFjKBLwLOvU+qjeFusfAU8E4QROpIal5y+3Gxl+BYCPhK5R8ndOzzv4mmEKgXi1uEQkzC8i+D0gpSJVxTE3j0h/zgfrp52L9I4jZyKY/pmBeik2eoIcYhcqJdByPaFTQZMaTYXd0Q84FWj/svfk6CmXiwUFQX3MxFl3rbmnUC27P7SzMnkEGmadYJvjtXWbI/VlFxySBNGuVRvD1aLNgXLNttqr0Gob23Vme+XW8EurUsPINp0G5tZAVHBxwSnR9XaTjfXvrN8no31myGjI+EYy3kAEaYDotofoaAhpCHk0IYVL3pEs51lVTYD+EszEV++2cS3qyu6d8TSfvcPf4dgkd0PfY+mriXhEajdUNFT8GVR8NbEbNho2/rq8vqQFbdrzesu4FvWT1yfu0BSmhsDHElhTsa/MbshoyPhmMvaY2w0fDR/fwkdhPsl4zZ44W+8JhePmGeNkrf8zv5Pp1Q94Mqqb3PKh1uzTDaQZ57De8Kp2EEpLRCMJo6PtdzZxp/u/APnlXSnhhDbH1nzUOvU65ZkSakftNzZc+bug77U2figOmNaGCQNvCANvaG20s9H8K9mw8ef2NgwhDSFNb8PQ19DX9DYMFf8sKprehmHj78BG09swBP6jCWx6G4aMvxkZTW/D8PE34aPpbfTf25CXX2YhB1rdvakxjGxk5YTTSJzPRt0jWjzi9Qphrrkh/SiZmgsrR7dulWuV7ZQfmv2RcBxub9NF5vvAWNv1p0s/JvMY8fLiSrGekC3hieubLO8w2yRoK69/LYkgRKlWSvZ0lVQBwD7SyIvacVf/KkEsXiL2sEL02q/pXVDhRLnBFaEQUeHmCvYFwKZml5LmJ9N2orV7QZ7jheOpGw4AuaPBaOW4Ay/00cD1kDu1HXsy9h1L3jHSl4ByHn4pBfrij/wsr/cE5W75DaRr9j4hK5TUI6QgSX4VaI4S7JOTpTCGnwxOcqKchISeiIVCHKibmjt4HRj7k5XvDVahMxyMHJgMpiGaDkJAI2/sBme+DdbL/0jq2s72QAAA" + }, + { + new QuestId(3241), + "AH6_H4sIAAAAAAAEAO1bW2+jOhD+KxXPzRGkISF9S9PLqdRuqyarfVidB4cMYJVg1jbb5lT97+sLBEKgm03ZVVfyS0XGY/ub8cfMpBO/WJOMkylinE2D0Dp9sS4StIhhEsfWKacZHFvnJOFTlPgQ3xLiR4X4AXwxa5LgFeKYJFrDOg1QzMToPKPJlMQx+PwuCDbiaZSt9pvyBfOIZGr9mp4Ee4MTkGCvw4RQ2MKl8S+Lj9fiqe+Nj62rdB5RYBGJhcRuNeueYkIxX1unjpjMLp79OFvCshRrtcpqkwX5DoV8SpIllsbNgFunSRbHrxpxvsmLpR76paeXG8MU1KFXg+rYe4HtDm0jrPHoEA/anbpQkqfNbwPHHhzmuGaI+dK/jlET+A2YzgGO7Hfqx1mCwhAn4Rsg7QNAnnR72IQuMYrVS558B1oIdo5Ih4A5XsEXnCzJ02agybShM9jf/3diWx+luxCrVg+65c8lZtHFGthOcHvDKHFebs0o193nxIbdYr9FjzCLcMDPEFZvgBSwQjDjyH8UdrktEWbo7Vqxhw3jbm24F5kJxHYS/gMEcu4FovFa8ktxpeUAhnXow72CT8uLfTB6iv+HKeI607S5uY61v1+gbHm/D8U6j1CM0SO7RN8JlXC3BAVbxKZbclF1iMWFvuO2HIa0sJ4K9rKv47fhDIdXaKWINEnCGCgrbOo3Az8Z2YOdo9kHuNfxa5zFHEeEPLbmh77t1gsqZw+g3VUDZbRvrmCeOUVb5eymHHwABiKVZAkHek/lh9kTSjfmXRLqg4pWSqrnKOFSShW/Rq4nWCnL5jsfUKIids1LW4OilJ5xkrLm0VlK1LJ2TS5NbJJvG/xirZSKMPVr8eyL5/+OLaThv4pHKB1HcRgKKmqVzwn+lqldLBvAPekvgp6IZdATJww9z++7PUDeeOiNxR/wrFd5gJOEJOsVyUp7bjATFbv0D1Mwai6XAxK5SmmlA28ykduAMRQKeJZ1bH1Sb4uoj9ewwEeziOJVaunp83Uqo6/Y/xOhKxT/m7PzAb5lmMJSvFlcAhLWFwH8CyClIlXFKddPSH/OB6uHnYv0jgNnJIj+mYF6J1I9QQ6xM5UR6GY9oVNCkxp1he3RW5wItP/YO3L0nMvFgoKfPmbiqNvW3FEol90d2lqZPAENslaw9fHKuvWR6rIzDnGMaNuqteFy0frAZs2m0qvQahrbdmZz4VbzS6NSzcgmnRrmxjhUcHHGKdHldp2N1a+sPyejfWLIaMj4TjLeQAjJEtF1B9HRENIQ8mBCCpeckyznWVlMgP4OzMQ376ZxLWrL7q3xNJ+9xd/+0CR3Q99D6auJeEBqN1Q0VPwdVHwzsRs2Gjb+ubw+pwVtmvN6w7gWdZPXR27fFKaGwIcSWFOxq8xuyGjI+G4ydpjbDR8NH9/DR2E+yXjFnihb7QiF46YZ42Sl/zO/lenV73cyqnvc8qHS69P9ownnsEp5WTsIpTmioYTR0vU7Gbnj3R+A/PGmlHBCk2MrPmqcep3wTAm1o3YbG678WdDPWhu/FAdMa8OEgXeEgXe0NprZaP6VbNj4e3sbhpCGkKa3Yehr6Gt6G4aKfxcVTW/DsPEjsNH0NgyB/2oCm96GIeMHI6PpbRg+fhA+mt5G970NefdlEnCg5dWbCsNIKisnnITifFJ1jWj2hFcLhLnmhvSjZGouLB3duFWutWmn/NLsT4TjYH2XzDLfB8aabj9d+BGZRohv7q0U6wnZHJ65vshyjlkao7W8/TUnghAbtY1kR1dJFQDsI428qB239S9jxKI5Yo8LRK/9it4ZFU6UG1wSCiEVbi5hnwGkFbuUND+ZphOtXAvyHC8Yjt2gB8gd9AYLx+15gY96rofcse3Yo6HvWPKKkb4DlPPw60ag7/3Iz/J2z3KzW34B6ZpdxWSB4mqEFCTJbwLdU8JSoOToAuKj3tEtoUw8kOCIR3B0LmyytrA6MPRHC9/rLQKn3xs4MOqNAzTuBYAG3tBdnvg2WK8/ADTO1Y/xQAAA" + }, + { + new QuestId(1514), + "AH6_H4sIAAAAAAAACu1bUW+jOBD+K5GfkxMkISF5S7PtXqV2W5VU+7DaBwcGsEps1jZtc1X/+8mGhIRAN5tye13Jb8l4MN+MP2YM43lBs0yyORZSzMMITV/QOcXLBGZJgqaSZ9BFnxiVc0x9SK4Z8+ON+A58LOSMkhWWhNFcA01DnAjookXG6ZwlCfjyJgy34nmcrY675CuRMcv0/BU9BfaKUFBgLyPKOOzhyvEHm7+XAZr23UkXfU4XMQcRsyRAU6vRrFtOGCdyjaZ2F12K82c/yQIISnGutjPbbMkeYSOfMxoQZZwHEk1pliSvOeLiJi9I/+iXng62hmmoI7cC1baOAtse2lpYk/EpHrRadaEiT5PfhrY1PM1x9RCLqX8dY07gN2DaJziy36ofPYqjiNDoDZDWCSAH7S424wHBiX7I6SPwjeBgifIQsCAr+EpowJ62A3Wmjezh8f6/eQTu4/QQ4q7Vw3b5c0FEfL4GcRDc3jBqaFtOxSjHOWbFRu1iv8YP4MUklGeY6CdACcRG4EnsPwg0dRoizMg9tOIIGybt2nCLJQHq6+RyB6G69hzzZK34pbnSsACjKvTRUcGn3zJ6Tv6BOZZ5pmlycxVr/7hAOWgX6yLGCcEP4gI/Mq7g7gk2bBl09+V34LNH4GhqK4Y3WVhNBUfZ1/LTcEaiz1iR5gXNaJQAFxub+vXAB2NreLA0xwB3W36Ms0SSmLGHxvzQt5zqhso+Amh7u4Ey2tfvYJ4lx3vb2e128A4EyDnLqAR+y9Uf7wmnW/MuGPdBRystza/RwkBJNb8cd9TVu+YbHzDVAbvipL3BWZJ4kqWiftRLmZ7VqsiVhXXyfXtf0EqrRGj6bfPbR9Nv37sI5+hfv3cRlH7jJIqAi1zlnpIfmb4LsgCcQX8Z9oa2Bb1h34Ke6/edHmB3MnIn7mQELnpV6zejjK5XLCvtuSJC3oTKPWreA4+rAYVcZ7St/64yDtcgBI4ATRHqoi/6WUHXTMad2yzFKL9ysU5V3H3toi+Mr3Dyd8HLO/iREQ6BJ7FUWKwu2oTur4C1ilIVIKuLk/8vBneXuRDldxza40kX3QvQT0OaX6CGxJnOBXw7372AEprSqCrsj14TiqbWX9aBHD8X8nsBtxx8IgijTXMeKJTTHg7tzcyegIdZI9jq+M681ZHdaT0JSYJ506yV4XLS6sB2zrpN10arbmzfmfVbtopfapUqRtbpVDDXRqANFz3JWb7RrrJx92X152S0BoaMhozvJOMVREADzNctREdDSBMdT46O9wI+sazgWbmPgPztV/g4rRvPRU3ZvTGeFlfv8bc/MsndxNNT6ZsT8YTUbqho9pn/BRXfTOyGjeat5ze99dwLWPDNy3J9Xq8Zz0Xt5PWx0zdvSiazn0rgnIptZXZDRvMN6d1kbDG3Gz4aPr6Hj2QFLJM732jjbHUgvBcwz4Rkq/zL/F6m1yd3Mp5Xt9WPnSpfXjmaSQmrVJZ7h4zDAvNIwWio9w3GzuTw6MdvL0exTNY5dsdHtZdeUplpYVNhw1EHgn5W2vilOGBKGyYM/D+ljXo2mk/JZsf+bja2t00yhDTh8X3fQExtwxxc+FMPLpjahjlD86GoaGob5kTXR2CjqW2YI4l/9JFEU9sw52M/GBlNbcOc1/4gfDS1jfZrG6rtZRZK4GXTzU5HAEvVqRBCI09CqhuIvCeyWmIi88SpPuSpzoJCWBaRam9VaG3LKb909RcmSbi+oV7m+yB0dergXLQfs3mM5bZnZdvQjuUCnmXexPKJiDTBa9X3tWBYlLfdSg50tVQDIL7uii/PxezrXyRYxAssHpaYX/o7emecUN1qdsE4RJxltIR9BpDu2BUqabEydSu60xHk2m44mjhhD7Az7A2XttNzQx/3HBc7E8u2xiPfRqq7KG//KWpsqq0oF+QtP+q/6uwJtncreo8uxeeELdUqlx0tAmTRBeRhQmVnjnna6XVmNOgsYkwfRCdkvDNLko6MoaNvsAfZhpE/Xvpubxna/d7QhnFvEuJJLwQ8dEdOMPAtQK//ArFHYPjyQAAA" + } + }; +} diff --git a/Questionable/Questionable.Data/ChangelogData.cs b/Questionable/Questionable.Data/ChangelogData.cs index 11bbc8d..34aa9a5 100644 --- a/Questionable/Questionable.Data/ChangelogData.cs +++ b/Questionable/Questionable.Data/ChangelogData.cs @@ -11,36 +11,40 @@ internal static class ChangelogData static ChangelogData() { - int num = 69; + int num = 74; List list = new List(num); CollectionsMarshal.SetCount(list, num); Span span = CollectionsMarshal.AsSpan(list); ref ChangelogEntry reference = ref span[0]; - DateOnly releaseDate = new DateOnly(2026, 6, 6); - int num2 = 1; + DateOnly releaseDate = new DateOnly(2026, 8, 13); + int num2 = 3; List list2 = new List(num2); CollectionsMarshal.SetCount(list2, num2); - ref ChangeEntry reference2 = ref CollectionsMarshal.AsSpan(list2)[0]; + Span span2 = CollectionsMarshal.AsSpan(list2); + ref ChangeEntry reference2 = ref span2[0]; int num3 = 1; List list3 = new List(num3); CollectionsMarshal.SetCount(list3, num3); - CollectionsMarshal.AsSpan(list3)[0] = "Add Make It Rain (2026) seasonal quest"; - reference2 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list3); - reference = new ChangelogEntry("7.5.4", releaseDate, list2); - ref ChangelogEntry reference3 = ref span[1]; - DateOnly releaseDate2 = new DateOnly(2026, 5, 12); - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref ChangeEntry reference4 = ref CollectionsMarshal.AsSpan(list4)[0]; + CollectionsMarshal.AsSpan(list3)[0] = "Added autodetection of your Grand Company based on player's starting city."; + reference2 = new ChangeEntry(EChangeCategory.Added, "Added", list3); + ref ChangeEntry reference3 = ref span2[1]; num3 = 1; + List list4 = new List(num3); + CollectionsMarshal.SetCount(list4, num3); + CollectionsMarshal.AsSpan(list4)[0] = "Updated Moonfire Faire (2026) event paths to go around the pool."; + reference3 = new ChangeEntry(EChangeCategory.Changed, "Changed", list4); + ref ChangeEntry reference4 = ref span2[2]; + num3 = 3; List list5 = new List(num3); CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = "Add The Maiden's Rhapsody (2026) event quest"; - reference4 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list5); - reference3 = new ChangelogEntry("7.5.3", releaseDate2, list4); - ref ChangelogEntry reference5 = ref span[2]; - DateOnly releaseDate3 = new DateOnly(2026, 5, 1); + Span span3 = CollectionsMarshal.AsSpan(list5); + span3[0] = "Fix an issue where Custom Deliveries were not working due to Questionable attempting to use old quest presets."; + span3[1] = "Fix race condition where Questionable is attempting to call Bossmod IPC before Bossmod had finished loading."; + span3[2] = "Fix Bossmod AI not working due to Questionable intializing an empty preset."; + reference4 = new ChangeEntry(EChangeCategory.Fixed, "Fixed", list5); + reference = new ChangelogEntry("7.5.11", releaseDate, list2); + ref ChangelogEntry reference5 = ref span[1]; + DateOnly releaseDate2 = new DateOnly(2026, 8, 12); num2 = 1; List list6 = new List(num2); CollectionsMarshal.SetCount(list6, num2); @@ -48,83 +52,179 @@ internal static class ChangelogData num3 = 1; List list7 = new List(num3); CollectionsMarshal.SetCount(list7, num3); - CollectionsMarshal.AsSpan(list7)[0] = "Revert vnavmesh SimpleMove IPC temporary fix"; - reference6 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list7); - reference5 = new ChangelogEntry("7.5.2", releaseDate3, list6); - ref ChangelogEntry reference7 = ref span[3]; - DateOnly releaseDate4 = new DateOnly(2026, 4, 30); - num2 = 2; + CollectionsMarshal.AsSpan(list7)[0] = "Fixed an issue which causes the plugin to fail to load and Dalamud to crash in rare occasions."; + reference6 = new ChangeEntry(EChangeCategory.Fixed, "Fixed", list7); + reference5 = new ChangelogEntry("7.5.9", releaseDate2, list6); + ref ChangelogEntry reference7 = ref span[2]; + DateOnly releaseDate3 = new DateOnly(2026, 8, 12); + num2 = 1; List list8 = new List(num2); CollectionsMarshal.SetCount(list8, num2); - Span span2 = CollectionsMarshal.AsSpan(list8); - ref ChangeEntry reference8 = ref span2[0]; + ref ChangeEntry reference8 = ref CollectionsMarshal.AsSpan(list8)[0]; num3 = 2; List list9 = new List(num3); CollectionsMarshal.SetCount(list9, num3); - Span span3 = CollectionsMarshal.AsSpan(list9); - span3[0] = "Add Windurst: The Third Walk quests"; - span3[1] = "Add 7.5 MSQ"; - reference8 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list9); - ref ChangeEntry reference9 = ref span2[1]; - num3 = 1; - List list10 = new List(num3); - CollectionsMarshal.SetCount(list10, num3); - CollectionsMarshal.AsSpan(list10)[0] = "Use vnavmesh SimpleMove IPC to fix navmesh hanging the game (temporary fix)"; - reference9 = new ChangeEntry(EChangeCategory.Changed, "Fixes", list10); - reference7 = new ChangelogEntry("7.5.1", releaseDate4, list8); - ref ChangelogEntry reference10 = ref span[4]; - DateOnly releaseDate5 = new DateOnly(2026, 4, 29); - num2 = 1; - List list11 = new List(num2); - CollectionsMarshal.SetCount(list11, num2); - ref ChangeEntry reference11 = ref CollectionsMarshal.AsSpan(list11)[0]; - num3 = 1; + Span span4 = CollectionsMarshal.AsSpan(list9); + span4[0] = "Move LGB scanning (NPC positions and zone boundaries) to an out-of-process worker to eliminate memory spikes on first load and after game patches"; + span4[1] = "Add Clear LGB Caches button in Advanced settings with cache size tooltip"; + reference8 = new ChangeEntry(EChangeCategory.Changed, "Changed", list9); + reference7 = new ChangelogEntry("7.5.7", releaseDate3, list8); + ref ChangelogEntry reference9 = ref span[3]; + DateOnly releaseDate4 = new DateOnly(2026, 8, 12); + num2 = 4; + List list10 = new List(num2); + CollectionsMarshal.SetCount(list10, num2); + Span span5 = CollectionsMarshal.AsSpan(list10); + ref ChangeEntry reference10 = ref span5[0]; + num3 = 35; + List list11 = new List(num3); + CollectionsMarshal.SetCount(list11, num3); + Span span6 = CollectionsMarshal.AsSpan(list11); + span6[0] = "Add SmartNav automatic cross-zone routing with real-time gil cost awareness"; + span6[1] = "Add WigglyNav as an alternative navigation provider with provider-aware navmesh rebuild"; + span6[2] = "Add Custom Delivery automation with crafting, gathering, fishing, vendor purchases, and job selection"; + span6[3] = "Add Attunement tab to Journal with aetheryte/aethernet/aether current status and batch attune"; + span6[4] = "Add Fishing automation with AutoHook preset management and bait vendor resolution"; + span6[5] = "Add allied society overcap protection with reputation-aware turn-in ordering"; + span6[6] = "Add quest chain graph with queue management in Journal"; + span6[7] = "Add Gathering Editor as a sub-panel to Quest Editor Window"; + span6[8] = "Add smart equip with three modes: Game Default, Smart (stat-aware), and None"; + span6[9] = "Add gear coffer opening from quest rewards with gearset switching"; + span6[10] = "Add automatic repair at quest boundaries and duty gates via self-repair and menders"; + span6[11] = "Add out-of-game notifications with per-event alert toggles and sound selection"; + span6[12] = "Add run-command-after-stop for executing a command when a stop condition fires"; + span6[13] = "Add reward redemption settings with per-type filtering and skip-tradable option"; + span6[14] = "Add UnlockLink reward type for unlock-link quest rewards"; + span6[15] = "Add teleport ticket support for cheaper cross-zone travel"; + span6[16] = "Add chocobo taxi routing for zones with taxi stands"; + span6[17] = "Add warp-based travel (elevators, ferries, zone transitions)"; + span6[18] = "Add Critical Encounter and Fishing quest step types"; + span6[19] = "Add auto-unsync for 4-man dungeons when safely overleveled"; + span6[20] = "Add death recovery system that auto-respawns and re-routes"; + span6[21] = "Add RetryStep system that re-navigates on interaction failures"; + span6[22] = "Add UnequipItem step executor"; + span6[23] = "Add unified stop condition system with QuestCount, Level, and Sequence conditions"; + span6[24] = "Add setup wizard with guided steps, re-openable via command"; + span6[25] = "Add BossModReborn support alongside BossMod"; + span6[26] = "Add WrathCombo integration with explicit combo state management"; + span6[27] = "Add per-feature control for external plugin pausing"; + span6[28] = "Add hot-reloading and in-memory quest testing to Quest Editor"; + span6[29] = "Add Navigation config tab with mount, flying, and gil reserve settings"; + span6[30] = "Add config backup before version migrations"; + span6[31] = "Add option to disable coffer opening (None mode)"; + span6[32] = "Add detection of installed-but-disabled plugins with Enable button"; + span6[33] = "Add plugin alternative listing (vnavmesh-cn, BossModReborn) with conflict warnings"; + span6[34] = "Add accepted quests with no path shown with live game sequence"; + reference10 = new ChangeEntry(EChangeCategory.Added, "Added", list11); + ref ChangeEntry reference11 = ref span5[1]; + num3 = 17; List list12 = new List(num3); CollectionsMarshal.SetCount(list12, num3); - CollectionsMarshal.AsSpan(list12)[0] = "Api15"; - reference11 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list12); - reference10 = new ChangelogEntry("7.5.0", releaseDate5, list11); - ref ChangelogEntry reference12 = ref span[5]; - DateOnly releaseDate6 = new DateOnly(2026, 3, 24); - num2 = 1; - List list13 = new List(num2); - CollectionsMarshal.SetCount(list13, num2); - ref ChangeEntry reference13 = ref CollectionsMarshal.AsSpan(list13)[0]; - num3 = 2; + Span span7 = CollectionsMarshal.AsSpan(list12); + span7[0] = "Redesign Configuration window with grouped sidebar navigation and themed cards"; + span7[1] = "Redesign Journal with sidebar navigation, accordion layouts, and tracker tables"; + span7[2] = "Redesign main quest window with themed banners, titles, and stop buttons"; + span7[3] = "Redesign FATE and Seasonal Duty selection windows with search and shared cycle UI"; + span7[4] = "Replace quest-path-based custom deliveries with dynamic automation controller"; + span7[5] = "Move path data to external repository for community contributions"; + span7[6] = "Install and enable required plugins directly from the Dependencies tab"; + span7[7] = "Faster startup with parallel data loading"; + span7[8] = "SmartNav automatically determines mount, fly, and teleport decisions (replaces manual shortcuts)"; + span7[9] = "Replace native aethernet teleportation with direct implementation (removes Lifestream dependency)"; + span7[10] = "Remove aether current and city aethernet quest presets (replaced by Attunement tab)"; + span7[11] = "Remove 'Stop after current quest' and quest-count/timer stop buttons from main window"; + span7[12] = "Remove 'View All Quest Paths Online' button from journal"; + span7[13] = "Remove Explanation dropdown from Quests and Duties tabs"; + span7[14] = "Virtualize quest, duty, and gathering journals for better performance"; + span7[15] = "Default custom delivery scrip overcap mode to Ignore"; + span7[16] = "Default quest journal groups to collapsed"; + reference11 = new ChangeEntry(EChangeCategory.Changed, "Changed", list12); + ref ChangeEntry reference12 = ref span5[2]; + num3 = 41; + List list13 = new List(num3); + CollectionsMarshal.SetCount(list13, num3); + Span span8 = CollectionsMarshal.AsSpan(list13); + span8[0] = "Fix zone transition hangs and re-routing after zone changes"; + span8[1] = "Fix flying route decisions based on mount ownership and flying unlock state"; + span8[2] = "Fix warp routing filtering by quest requirements and class level"; + span8[3] = "Fix zone boundary access respecting per-boundary quest requirements"; + span8[4] = "Fix custom delivery craft purchases, turn-in timeouts, and rank-up resume"; + span8[5] = "Fix custom delivery keeping queued deliveries when inventory is full"; + span8[6] = "Fix fishing approach rebuild on retry and no-progress timeout"; + span8[7] = "Fix smart equip ranking weapons by weapon damage and job-usable stats"; + span8[8] = "Fix repair retry when gear condition did not improve"; + span8[9] = "Fix gathering retry counter reset and node integrity checks"; + span8[10] = "Fix reward redemption for tradeable items and stale reward task completion"; + span8[11] = "Fix gear coffer gearset restore across interrupts and retries"; + span8[12] = "Fix AutoDuty leveling loop not continuing until target level reached"; + span8[13] = "Fix AutoDuty not persisting excessive LoopTimes values"; + span8[14] = "Fix quest editor schema validation, dirty tracking, and atomic save"; + span8[15] = "Fix death recovery respawn prompt clicking timing"; + span8[16] = "Fix same-zone teleport skipping when it gains no distance"; + span8[17] = "Fix stop condition removal and level-15 floor in StartLevelingMode IPC"; + span8[18] = "Fix stop conditions not firing during leveling mode"; + span8[19] = "Fix command-after-stop firing once per run instead of per frame"; + span8[20] = "Fix soft hyphens and escaped macros in game string/dialogue comparisons"; + span8[21] = "Fix skip aether current quest pickups once flying is unlocked"; + span8[22] = "Fix class quest prioritization and level-lock pickup logic"; + span8[23] = "Fix respecting skip setting for in-progress class quests over level 5"; + span8[24] = "Fix repeatable quest completion flag being checked while quest is accepted"; + span8[25] = "Fix priority quest pickup after shortcut-key strip"; + span8[26] = "Fix duty category classification"; + span8[27] = "Fix loading crash when InterruptHandler hook fails"; + span8[28] = "Fix shop opening on wrong tab during vendor purchases"; + span8[29] = "Fix aethernet destination selection and teleport retry on transient failures"; + span8[30] = "Fix combat targeting overpull and self-defense getting stuck on evading mobs"; + span8[31] = "Fix BossMod preset management during solo duties and between combat phases"; + span8[32] = "Fix WrathCombo rotation mode enum values"; + span8[33] = "Fix startup crash from Pictomancy initialization"; + span8[34] = "Fix emote retry when target NPC not found"; + span8[35] = "Fix interaction wait for missing objects instead of silently skipping"; + span8[36] = "Fix PurchaseItem vendor interaction retry when shop not open"; + span8[37] = "Fix GC shop cancel on handler reset"; + span8[38] = "Fix quest sequence window latching closed after first close"; + span8[39] = "Fix An Ill-conceived Venture locked without retainer entitlement"; + span8[40] = "Fix various UI text clipping and wrapping issues"; + reference12 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list13); + ref ChangeEntry reference13 = ref span5[3]; + num3 = 6; List list14 = new List(num3); CollectionsMarshal.SetCount(list14, num3); - Span span4 = CollectionsMarshal.AsSpan(list14); - span4[0] = "Add duty handling to external and qst"; - span4[1] = "Fix duty farming NPC interact getting stuck after zone transition into duty"; - reference13 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list14); - reference12 = new ChangelogEntry("7.4.19", releaseDate6, list13); - ref ChangelogEntry reference14 = ref span[6]; - DateOnly releaseDate7 = new DateOnly(2026, 3, 24); - num2 = 3; + Span span9 = CollectionsMarshal.AsSpan(list14); + span9[0] = "Add Moonfire Faire (2026) quests"; + span9[1] = "Add 88 community-contributed quest ports"; + span9[2] = "Add all missing gathering paths"; + span9[3] = "Add AutoHook presets for ARR fishing quests"; + span9[4] = "Add Shadow of the First missing sequence"; + span9[5] = "Add Amaljaa, Sylph, and Ixal allied society NPC data"; + reference13 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list14); + reference9 = new ChangelogEntry("7.5.6", releaseDate4, list10); + ref ChangelogEntry reference14 = ref span[4]; + DateOnly releaseDate5 = new DateOnly(2026, 6, 25); + num2 = 1; List list15 = new List(num2); CollectionsMarshal.SetCount(list15, num2); - Span span5 = CollectionsMarshal.AsSpan(list15); - ref ChangeEntry reference15 = ref span5[0]; + ref ChangeEntry reference15 = ref CollectionsMarshal.AsSpan(list15)[0]; num3 = 1; List list16 = new List(num3); CollectionsMarshal.SetCount(list16, num3); - CollectionsMarshal.AsSpan(list16)[0] = "Add seasonal duty farming system (/qst duty)"; - reference15 = new ChangeEntry(EChangeCategory.Added, "New Features", list16); - ref ChangeEntry reference16 = ref span5[1]; - num3 = 1; - List list17 = new List(num3); - CollectionsMarshal.SetCount(list17, num3); - CollectionsMarshal.AsSpan(list17)[0] = "Add Hatching-tide 2026 quest"; - reference16 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list17); - ref ChangeEntry reference17 = ref span5[2]; + CollectionsMarshal.AsSpan(list16)[0] = "Add Breaking Brick Mountains (2026) event quest"; + reference15 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list16); + reference14 = new ChangelogEntry("7.5.5", releaseDate5, list15); + ref ChangelogEntry reference16 = ref span[5]; + DateOnly releaseDate6 = new DateOnly(2026, 6, 6); + num2 = 1; + List list17 = new List(num2); + CollectionsMarshal.SetCount(list17, num2); + ref ChangeEntry reference17 = ref CollectionsMarshal.AsSpan(list17)[0]; num3 = 1; List list18 = new List(num3); CollectionsMarshal.SetCount(list18, num3); - CollectionsMarshal.AsSpan(list18)[0] = "Quest path fixes"; - reference17 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list18); - reference14 = new ChangelogEntry("7.4.18", releaseDate7, list15); - ref ChangelogEntry reference18 = ref span[7]; - DateOnly releaseDate8 = new DateOnly(2026, 3, 1); + CollectionsMarshal.AsSpan(list18)[0] = "Add Make It Rain (2026) seasonal quest"; + reference17 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list18); + reference16 = new ChangelogEntry("7.5.4", releaseDate6, list17); + ref ChangelogEntry reference18 = ref span[6]; + DateOnly releaseDate7 = new DateOnly(2026, 5, 12); num2 = 1; List list19 = new List(num2); CollectionsMarshal.SetCount(list19, num2); @@ -132,11 +232,11 @@ internal static class ChangelogData num3 = 1; List list20 = new List(num3); CollectionsMarshal.SetCount(list20, num3); - CollectionsMarshal.AsSpan(list20)[0] = "Quest path fixes"; - reference19 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list20); - reference18 = new ChangelogEntry("7.4.17", releaseDate8, list19); - ref ChangelogEntry reference20 = ref span[8]; - DateOnly releaseDate9 = new DateOnly(2026, 3, 1); + CollectionsMarshal.AsSpan(list20)[0] = "Add The Maiden's Rhapsody (2026) event quest"; + reference19 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list20); + reference18 = new ChangelogEntry("7.5.3", releaseDate7, list19); + ref ChangelogEntry reference20 = ref span[7]; + DateOnly releaseDate8 = new DateOnly(2026, 5, 1); num2 = 1; List list21 = new List(num2); CollectionsMarshal.SetCount(list21, num2); @@ -144,948 +244,1043 @@ internal static class ChangelogData num3 = 1; List list22 = new List(num3); CollectionsMarshal.SetCount(list22, num3); - CollectionsMarshal.AsSpan(list22)[0] = "Enable TextAdvance, PandorasBox, and Automaton IPC integration during FATE farming"; + CollectionsMarshal.AsSpan(list22)[0] = "Revert vnavmesh SimpleMove IPC temporary fix"; reference21 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list22); - reference20 = new ChangelogEntry("7.4.16", releaseDate9, list21); - ref ChangelogEntry reference22 = ref span[9]; - DateOnly releaseDate10 = new DateOnly(2026, 2, 28); - num2 = 1; + reference20 = new ChangelogEntry("7.5.2", releaseDate8, list21); + ref ChangelogEntry reference22 = ref span[8]; + DateOnly releaseDate9 = new DateOnly(2026, 4, 30); + num2 = 2; List list23 = new List(num2); CollectionsMarshal.SetCount(list23, num2); - ref ChangeEntry reference23 = ref CollectionsMarshal.AsSpan(list23)[0]; + Span span10 = CollectionsMarshal.AsSpan(list23); + ref ChangeEntry reference23 = ref span10[0]; num3 = 2; List list24 = new List(num3); CollectionsMarshal.SetCount(list24, num3); - Span span6 = CollectionsMarshal.AsSpan(list24); - span6[0] = "Fix FATE transform interact task never completing after NPC dialogue"; - span6[1] = "Fix FATE farming loop not detecting completion when NPCs persist after FATE ends"; - reference23 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list24); - reference22 = new ChangelogEntry("7.4.15", releaseDate10, list23); - ref ChangelogEntry reference24 = ref span[10]; - DateOnly releaseDate11 = new DateOnly(2026, 2, 27); - num2 = 2; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - Span span7 = CollectionsMarshal.AsSpan(list25); - ref ChangeEntry reference25 = ref span7[0]; - num3 = 2; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - Span span8 = CollectionsMarshal.AsSpan(list26); - span8[0] = "Added prerequisite quest requirement to FATE farming definitions"; - span8[1] = "Show active FATE in main quest UI and disable quest start during FATE farming"; - reference25 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list26); - ref ChangeEntry reference26 = ref span7[1]; + Span span11 = CollectionsMarshal.AsSpan(list24); + span11[0] = "Add Windurst: The Third Walk quests"; + span11[1] = "Add 7.5 MSQ"; + reference23 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list24); + ref ChangeEntry reference24 = ref span10[1]; + num3 = 1; + List list25 = new List(num3); + CollectionsMarshal.SetCount(list25, num3); + CollectionsMarshal.AsSpan(list25)[0] = "Use vnavmesh SimpleMove IPC to fix navmesh hanging the game (temporary fix)"; + reference24 = new ChangeEntry(EChangeCategory.Changed, "Fixes", list25); + reference22 = new ChangelogEntry("7.5.1", releaseDate9, list23); + ref ChangelogEntry reference25 = ref span[9]; + DateOnly releaseDate10 = new DateOnly(2026, 4, 29); + num2 = 1; + List list26 = new List(num2); + CollectionsMarshal.SetCount(list26, num2); + ref ChangeEntry reference26 = ref CollectionsMarshal.AsSpan(list26)[0]; num3 = 1; List list27 = new List(num3); CollectionsMarshal.SetCount(list27, num3); - CollectionsMarshal.AsSpan(list27)[0] = "Fixed FATE farming buff expiry and added Curtain Call cleanup on stop"; + CollectionsMarshal.AsSpan(list27)[0] = "Api15"; reference26 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list27); - reference24 = new ChangelogEntry("7.4.14", releaseDate11, list25); - ref ChangelogEntry reference27 = ref span[11]; - DateOnly releaseDate12 = new DateOnly(2026, 2, 27); + reference25 = new ChangelogEntry("7.5.0", releaseDate10, list26); + ref ChangelogEntry reference27 = ref span[10]; + DateOnly releaseDate11 = new DateOnly(2026, 3, 24); num2 = 1; List list28 = new List(num2); CollectionsMarshal.SetCount(list28, num2); ref ChangeEntry reference28 = ref CollectionsMarshal.AsSpan(list28)[0]; - num3 = 1; + num3 = 2; List list29 = new List(num3); CollectionsMarshal.SetCount(list29, num3); - CollectionsMarshal.AsSpan(list29)[0] = "Fixed an issue where FATE actions were not performed during the Little Ladies Day (2026) FATE event"; + Span span12 = CollectionsMarshal.AsSpan(list29); + span12[0] = "Add duty handling to external and qst"; + span12[1] = "Fix duty farming NPC interact getting stuck after zone transition into duty"; reference28 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list29); - reference27 = new ChangelogEntry("7.4.13", releaseDate12, list28); - ref ChangelogEntry reference29 = ref span[12]; - DateOnly releaseDate13 = new DateOnly(2026, 2, 26); + reference27 = new ChangelogEntry("7.4.19", releaseDate11, list28); + ref ChangelogEntry reference29 = ref span[11]; + DateOnly releaseDate12 = new DateOnly(2026, 3, 24); num2 = 3; List list30 = new List(num2); CollectionsMarshal.SetCount(list30, num2); - Span span9 = CollectionsMarshal.AsSpan(list30); - ref ChangeEntry reference30 = ref span9[0]; - num3 = 3; + Span span13 = CollectionsMarshal.AsSpan(list30); + ref ChangeEntry reference30 = ref span13[0]; + num3 = 1; List list31 = new List(num3); CollectionsMarshal.SetCount(list31, num3); - Span span10 = CollectionsMarshal.AsSpan(list31); - span10[0] = "Add Saved Presets tab to quest priority window"; - span10[1] = "Add passive FATE handling and per npc ability handling"; - span10[2] = "Add FATE farming support"; + CollectionsMarshal.AsSpan(list31)[0] = "Add seasonal duty farming system (/qst duty)"; reference30 = new ChangeEntry(EChangeCategory.Added, "New Features", list31); - ref ChangeEntry reference31 = ref span9[1]; + ref ChangeEntry reference31 = ref span13[1]; num3 = 1; List list32 = new List(num3); CollectionsMarshal.SetCount(list32, num3); - CollectionsMarshal.AsSpan(list32)[0] = "Add Little Ladies' Day 2026 quests"; + CollectionsMarshal.AsSpan(list32)[0] = "Add Hatching-tide 2026 quest"; reference31 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list32); - ref ChangeEntry reference32 = ref span9[2]; + ref ChangeEntry reference32 = ref span13[2]; num3 = 1; List list33 = new List(num3); CollectionsMarshal.SetCount(list33, num3); CollectionsMarshal.AsSpan(list33)[0] = "Quest path fixes"; reference32 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list33); - reference29 = new ChangelogEntry("7.4.12", releaseDate13, list30); - ref ChangelogEntry reference33 = ref span[13]; - DateOnly releaseDate14 = new DateOnly(2026, 2, 2); - num2 = 2; + reference29 = new ChangelogEntry("7.4.18", releaseDate12, list30); + ref ChangelogEntry reference33 = ref span[12]; + DateOnly releaseDate13 = new DateOnly(2026, 3, 1); + num2 = 1; List list34 = new List(num2); CollectionsMarshal.SetCount(list34, num2); - Span span11 = CollectionsMarshal.AsSpan(list34); - ref ChangeEntry reference34 = ref span11[0]; + ref ChangeEntry reference34 = ref CollectionsMarshal.AsSpan(list34)[0]; num3 = 1; List list35 = new List(num3); CollectionsMarshal.SetCount(list35, num3); - CollectionsMarshal.AsSpan(list35)[0] = "Add Valentione's Day 2026 quest (The Icing on the Cake)"; - reference34 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list35); - ref ChangeEntry reference35 = ref span11[1]; + CollectionsMarshal.AsSpan(list35)[0] = "Quest path fixes"; + reference34 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list35); + reference33 = new ChangelogEntry("7.4.17", releaseDate13, list34); + ref ChangelogEntry reference35 = ref span[13]; + DateOnly releaseDate14 = new DateOnly(2026, 3, 1); + num2 = 1; + List list36 = new List(num2); + CollectionsMarshal.SetCount(list36, num2); + ref ChangeEntry reference36 = ref CollectionsMarshal.AsSpan(list36)[0]; + num3 = 1; + List list37 = new List(num3); + CollectionsMarshal.SetCount(list37, num3); + CollectionsMarshal.AsSpan(list37)[0] = "Enable TextAdvance, PandorasBox, and Automaton IPC integration during FATE farming"; + reference36 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list37); + reference35 = new ChangelogEntry("7.4.16", releaseDate14, list36); + ref ChangelogEntry reference37 = ref span[14]; + DateOnly releaseDate15 = new DateOnly(2026, 2, 28); + num2 = 1; + List list38 = new List(num2); + CollectionsMarshal.SetCount(list38, num2); + ref ChangeEntry reference38 = ref CollectionsMarshal.AsSpan(list38)[0]; num3 = 2; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - Span span12 = CollectionsMarshal.AsSpan(list36); - span12[0] = "Updated Duty journal to include missing duty types"; - span12[1] = "Added various missing sequences to quests"; - reference35 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list36); - reference33 = new ChangelogEntry("7.4.11", releaseDate14, list34); - ref ChangelogEntry reference36 = ref span[14]; - DateOnly releaseDate15 = new DateOnly(2026, 1, 18); - num2 = 2; - List list37 = new List(num2); - CollectionsMarshal.SetCount(list37, num2); - Span span13 = CollectionsMarshal.AsSpan(list37); - ref ChangeEntry reference37 = ref span13[0]; - num3 = 5; - List list38 = new List(num3); - CollectionsMarshal.SetCount(list38, num3); - Span span14 = CollectionsMarshal.AsSpan(list38); - span14[0] = "Added quest blacklisting"; - span14[1] = "Added MSQ Priority config"; - span14[2] = "Added Quest priority persistence config"; - span14[3] = "Added Duties tab to Journal"; - span14[4] = "Added GC shop handling and chocobo naming for chocobo quests"; - reference37 = new ChangeEntry(EChangeCategory.Added, "Major Features", list38); - ref ChangeEntry reference38 = ref span13[1]; - num3 = 5; List list39 = new List(num3); CollectionsMarshal.SetCount(list39, num3); - Span span15 = CollectionsMarshal.AsSpan(list39); - span15[0] = "Removed PandorasBox dependency and added QTE handling"; - span15[1] = "Removed CBT dependency and added Snipe handling"; - span15[2] = "Added drag reordering to Stop condition quests"; - span15[3] = "Ignore item level requirements if using Unsync config"; - span15[4] = "Setting a Stop quest to Off no longer removes it from the list"; - reference38 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list39); - reference36 = new ChangelogEntry("7.4.10", releaseDate15, list37); + Span span14 = CollectionsMarshal.AsSpan(list39); + span14[0] = "Fix FATE transform interact task never completing after NPC dialogue"; + span14[1] = "Fix FATE farming loop not detecting completion when NPCs persist after FATE ends"; + reference38 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list39); + reference37 = new ChangelogEntry("7.4.15", releaseDate15, list38); ref ChangelogEntry reference39 = ref span[15]; - DateOnly releaseDate16 = new DateOnly(2025, 12, 31); - num2 = 3; + DateOnly releaseDate16 = new DateOnly(2026, 2, 27); + num2 = 2; List list40 = new List(num2); CollectionsMarshal.SetCount(list40, num2); - Span span16 = CollectionsMarshal.AsSpan(list40); - ref ChangeEntry reference40 = ref span16[0]; - num3 = 1; + Span span15 = CollectionsMarshal.AsSpan(list40); + ref ChangeEntry reference40 = ref span15[0]; + num3 = 2; List list41 = new List(num3); CollectionsMarshal.SetCount(list41, num3); - CollectionsMarshal.AsSpan(list41)[0] = "Add Heavensturn (2026) quests"; - reference40 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list41); - ref ChangeEntry reference41 = ref span16[1]; + Span span16 = CollectionsMarshal.AsSpan(list41); + span16[0] = "Added prerequisite quest requirement to FATE farming definitions"; + span16[1] = "Show active FATE in main quest UI and disable quest start during FATE farming"; + reference40 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list41); + ref ChangeEntry reference41 = ref span15[1]; num3 = 1; List list42 = new List(num3); CollectionsMarshal.SetCount(list42, num3); - CollectionsMarshal.AsSpan(list42)[0] = "Added missing quest sequences"; - reference41 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list42); - ref ChangeEntry reference42 = ref span16[2]; - num3 = 1; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - CollectionsMarshal.AsSpan(list43)[0] = "Fixed leveling mode not restarting properly"; - reference42 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list43); - reference39 = new ChangelogEntry("7.4.9", releaseDate16, list40); - ref ChangelogEntry reference43 = ref span[16]; - DateOnly releaseDate17 = new DateOnly(2025, 12, 29); + CollectionsMarshal.AsSpan(list42)[0] = "Fixed FATE farming buff expiry and added Curtain Call cleanup on stop"; + reference41 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list42); + reference39 = new ChangelogEntry("7.4.14", releaseDate16, list40); + ref ChangelogEntry reference42 = ref span[16]; + DateOnly releaseDate17 = new DateOnly(2026, 2, 27); num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - ref ChangeEntry reference44 = ref CollectionsMarshal.AsSpan(list44)[0]; - num3 = 2; - List list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - Span span17 = CollectionsMarshal.AsSpan(list45); - span17[0] = "Fixed infinite teleport loop when multiple quests compete for priority"; - span17[1] = "Fixed leveling mode enabling for quest duties"; - reference44 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list45); - reference43 = new ChangelogEntry("7.4.8", releaseDate17, list44); - ref ChangelogEntry reference45 = ref span[17]; - DateOnly releaseDate18 = new DateOnly(2025, 12, 28); - num2 = 4; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - Span span18 = CollectionsMarshal.AsSpan(list46); - ref ChangeEntry reference46 = ref span18[0]; + List list43 = new List(num2); + CollectionsMarshal.SetCount(list43, num2); + ref ChangeEntry reference43 = ref CollectionsMarshal.AsSpan(list43)[0]; + num3 = 1; + List list44 = new List(num3); + CollectionsMarshal.SetCount(list44, num3); + CollectionsMarshal.AsSpan(list44)[0] = "Fixed an issue where FATE actions were not performed during the Little Ladies Day (2026) FATE event"; + reference43 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list44); + reference42 = new ChangelogEntry("7.4.13", releaseDate17, list43); + ref ChangelogEntry reference44 = ref span[17]; + DateOnly releaseDate18 = new DateOnly(2026, 2, 26); + num2 = 3; + List list45 = new List(num2); + CollectionsMarshal.SetCount(list45, num2); + Span span17 = CollectionsMarshal.AsSpan(list45); + ref ChangeEntry reference45 = ref span17[0]; + num3 = 3; + List list46 = new List(num3); + CollectionsMarshal.SetCount(list46, num3); + Span span18 = CollectionsMarshal.AsSpan(list46); + span18[0] = "Add Saved Presets tab to quest priority window"; + span18[1] = "Add passive FATE handling and per npc ability handling"; + span18[2] = "Add FATE farming support"; + reference45 = new ChangeEntry(EChangeCategory.Added, "New Features", list46); + ref ChangeEntry reference46 = ref span17[1]; num3 = 1; List list47 = new List(num3); CollectionsMarshal.SetCount(list47, num3); - CollectionsMarshal.AsSpan(list47)[0] = "Added leveling mode when underleveled for MSQ"; - reference46 = new ChangeEntry(EChangeCategory.Added, "Major Features", list47); - ref ChangeEntry reference47 = ref span18[1]; - num3 = 3; + CollectionsMarshal.AsSpan(list47)[0] = "Add Little Ladies' Day 2026 quests"; + reference46 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list47); + ref ChangeEntry reference47 = ref span17[2]; + num3 = 1; List list48 = new List(num3); CollectionsMarshal.SetCount(list48, num3); - Span span19 = CollectionsMarshal.AsSpan(list48); - span19[0] = "Added missing dungeons to Duties"; - span19[1] = "Added Normal Raids and Alliance Raids to duties tab"; - span19[2] = "Added Pause/Stop modes to stop conditions"; - reference47 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list48); - ref ChangeEntry reference48 = ref span18[2]; - num3 = 1; - List list49 = new List(num3); - CollectionsMarshal.SetCount(list49, num3); - CollectionsMarshal.AsSpan(list49)[0] = "Added leveling mode IPC: IsLevelingModeEnabled, SetLevelingModeEnabled, GetMsqLevelLockInfo, StartLevelingMode, StopLevelingMode"; - reference48 = new ChangeEntry(EChangeCategory.Added, "IPC Changes", list49); - ref ChangeEntry reference49 = ref span18[3]; + CollectionsMarshal.AsSpan(list48)[0] = "Quest path fixes"; + reference47 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list48); + reference44 = new ChangelogEntry("7.4.12", releaseDate18, list45); + ref ChangelogEntry reference48 = ref span[18]; + DateOnly releaseDate19 = new DateOnly(2026, 2, 2); + num2 = 2; + List list49 = new List(num2); + CollectionsMarshal.SetCount(list49, num2); + Span span19 = CollectionsMarshal.AsSpan(list49); + ref ChangeEntry reference49 = ref span19[0]; num3 = 1; List list50 = new List(num3); CollectionsMarshal.SetCount(list50, num3); - CollectionsMarshal.AsSpan(list50)[0] = "Fixed UI appearing in duties when debuff or interrupts occur"; - reference49 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list50); - reference45 = new ChangelogEntry("7.4.7", releaseDate18, list46); - ref ChangelogEntry reference50 = ref span[18]; - DateOnly releaseDate19 = new DateOnly(2025, 12, 23); - num2 = 2; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - Span span20 = CollectionsMarshal.AsSpan(list51); - ref ChangeEntry reference51 = ref span20[0]; - num3 = 1; - List list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - CollectionsMarshal.AsSpan(list52)[0] = "Added Cinema Mode to not skip cutscenes"; - reference51 = new ChangeEntry(EChangeCategory.Added, "Major Features", list52); - ref ChangeEntry reference52 = ref span20[1]; + CollectionsMarshal.AsSpan(list50)[0] = "Add Valentione's Day 2026 quest (The Icing on the Cake)"; + reference49 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list50); + ref ChangeEntry reference50 = ref span19[1]; num3 = 2; + List list51 = new List(num3); + CollectionsMarshal.SetCount(list51, num3); + Span span20 = CollectionsMarshal.AsSpan(list51); + span20[0] = "Updated Duty journal to include missing duty types"; + span20[1] = "Added various missing sequences to quests"; + reference50 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list51); + reference48 = new ChangelogEntry("7.4.11", releaseDate19, list49); + ref ChangelogEntry reference51 = ref span[19]; + DateOnly releaseDate20 = new DateOnly(2026, 1, 18); + num2 = 2; + List list52 = new List(num2); + CollectionsMarshal.SetCount(list52, num2); + Span span21 = CollectionsMarshal.AsSpan(list52); + ref ChangeEntry reference52 = ref span21[0]; + num3 = 5; List list53 = new List(num3); CollectionsMarshal.SetCount(list53, num3); - Span span21 = CollectionsMarshal.AsSpan(list53); - span21[0] = "Added handling for Unsync (Party) to Party Watchdog and configuration to disable if in party"; - span21[1] = "Stop conditions now act as a true stop"; - reference52 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list53); - reference50 = new ChangelogEntry("7.4.6", releaseDate19, list51); - ref ChangelogEntry reference53 = ref span[19]; - DateOnly releaseDate20 = new DateOnly(2025, 12, 22); - num2 = 1; - List list54 = new List(num2); - CollectionsMarshal.SetCount(list54, num2); - ref ChangeEntry reference54 = ref CollectionsMarshal.AsSpan(list54)[0]; - num3 = 2; - List list55 = new List(num3); - CollectionsMarshal.SetCount(list55, num3); - Span span22 = CollectionsMarshal.AsSpan(list55); - span22[0] = "Dive adjustments"; - span22[1] = "Logging message adjustments"; - reference54 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list55); - reference53 = new ChangelogEntry("7.4.5", releaseDate20, list54); - ref ChangelogEntry reference55 = ref span[20]; - DateOnly releaseDate21 = new DateOnly(2025, 12, 21); - num2 = 2; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - Span span23 = CollectionsMarshal.AsSpan(list56); - ref ChangeEntry reference56 = ref span23[0]; + Span span22 = CollectionsMarshal.AsSpan(list53); + span22[0] = "Added quest blacklisting"; + span22[1] = "Added MSQ Priority config"; + span22[2] = "Added Quest priority persistence config"; + span22[3] = "Added Duties tab to Journal"; + span22[4] = "Added GC shop handling and chocobo naming for chocobo quests"; + reference52 = new ChangeEntry(EChangeCategory.Added, "Major Features", list53); + ref ChangeEntry reference53 = ref span21[1]; + num3 = 5; + List list54 = new List(num3); + CollectionsMarshal.SetCount(list54, num3); + Span span23 = CollectionsMarshal.AsSpan(list54); + span23[0] = "Removed PandorasBox dependency and added QTE handling"; + span23[1] = "Removed CBT dependency and added Snipe handling"; + span23[2] = "Added drag reordering to Stop condition quests"; + span23[3] = "Ignore item level requirements if using Unsync config"; + span23[4] = "Setting a Stop quest to Off no longer removes it from the list"; + reference53 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list54); + reference51 = new ChangelogEntry("7.4.10", releaseDate20, list52); + ref ChangelogEntry reference54 = ref span[20]; + DateOnly releaseDate21 = new DateOnly(2025, 12, 31); + num2 = 3; + List list55 = new List(num2); + CollectionsMarshal.SetCount(list55, num2); + Span span24 = CollectionsMarshal.AsSpan(list55); + ref ChangeEntry reference55 = ref span24[0]; + num3 = 1; + List list56 = new List(num3); + CollectionsMarshal.SetCount(list56, num3); + CollectionsMarshal.AsSpan(list56)[0] = "Add Heavensturn (2026) quests"; + reference55 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list56); + ref ChangeEntry reference56 = ref span24[1]; num3 = 1; List list57 = new List(num3); CollectionsMarshal.SetCount(list57, num3); - CollectionsMarshal.AsSpan(list57)[0] = "Changelog only shows once per update now"; + CollectionsMarshal.AsSpan(list57)[0] = "Added missing quest sequences"; reference56 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list57); - ref ChangeEntry reference57 = ref span23[1]; + ref ChangeEntry reference57 = ref span24[2]; num3 = 1; List list58 = new List(num3); CollectionsMarshal.SetCount(list58, num3); - CollectionsMarshal.AsSpan(list58)[0] = "Fixed gathering paths loading"; + CollectionsMarshal.AsSpan(list58)[0] = "Fixed leveling mode not restarting properly"; reference57 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list58); - reference55 = new ChangelogEntry("7.4.4", releaseDate21, list56); + reference54 = new ChangelogEntry("7.4.9", releaseDate21, list55); ref ChangelogEntry reference58 = ref span[21]; - DateOnly releaseDate22 = new DateOnly(2025, 12, 21); + DateOnly releaseDate22 = new DateOnly(2025, 12, 29); num2 = 1; List list59 = new List(num2); CollectionsMarshal.SetCount(list59, num2); ref ChangeEntry reference59 = ref CollectionsMarshal.AsSpan(list59)[0]; - num3 = 1; + num3 = 2; List list60 = new List(num3); CollectionsMarshal.SetCount(list60, num3); - CollectionsMarshal.AsSpan(list60)[0] = "Fixed changelog version checks"; + Span span25 = CollectionsMarshal.AsSpan(list60); + span25[0] = "Fixed infinite teleport loop when multiple quests compete for priority"; + span25[1] = "Fixed leveling mode enabling for quest duties"; reference59 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list60); - reference58 = new ChangelogEntry("7.4.3", releaseDate22, list59); + reference58 = new ChangelogEntry("7.4.8", releaseDate22, list59); ref ChangelogEntry reference60 = ref span[22]; - DateOnly releaseDate23 = new DateOnly(2025, 12, 20); - num2 = 2; + DateOnly releaseDate23 = new DateOnly(2025, 12, 28); + num2 = 4; List list61 = new List(num2); CollectionsMarshal.SetCount(list61, num2); - Span span24 = CollectionsMarshal.AsSpan(list61); - ref ChangeEntry reference61 = ref span24[0]; + Span span26 = CollectionsMarshal.AsSpan(list61); + ref ChangeEntry reference61 = ref span26[0]; num3 = 1; List list62 = new List(num3); CollectionsMarshal.SetCount(list62, num3); - CollectionsMarshal.AsSpan(list62)[0] = "Add 7.4 Starlight Celebration (2025) quest"; - reference61 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list62); - ref ChangeEntry reference62 = ref span24[1]; - num3 = 1; + CollectionsMarshal.AsSpan(list62)[0] = "Added leveling mode when underleveled for MSQ"; + reference61 = new ChangeEntry(EChangeCategory.Added, "Major Features", list62); + ref ChangeEntry reference62 = ref span26[1]; + num3 = 3; List list63 = new List(num3); CollectionsMarshal.SetCount(list63, num3); - CollectionsMarshal.AsSpan(list63)[0] = "Fixed 7.4 MSQ"; - reference62 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list63); - reference60 = new ChangelogEntry("7.4.2", releaseDate23, list61); - ref ChangelogEntry reference63 = ref span[23]; - DateOnly releaseDate24 = new DateOnly(2025, 12, 19); - num2 = 1; - List list64 = new List(num2); - CollectionsMarshal.SetCount(list64, num2); - ref ChangeEntry reference64 = ref CollectionsMarshal.AsSpan(list64)[0]; - num3 = 2; + Span span27 = CollectionsMarshal.AsSpan(list63); + span27[0] = "Added missing dungeons to Duties"; + span27[1] = "Added Normal Raids and Alliance Raids to duties tab"; + span27[2] = "Added Pause/Stop modes to stop conditions"; + reference62 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list63); + ref ChangeEntry reference63 = ref span26[2]; + num3 = 1; + List list64 = new List(num3); + CollectionsMarshal.SetCount(list64, num3); + CollectionsMarshal.AsSpan(list64)[0] = "Added leveling mode IPC: IsLevelingModeEnabled, SetLevelingModeEnabled, GetMsqLevelLockInfo, StartLevelingMode, StopLevelingMode"; + reference63 = new ChangeEntry(EChangeCategory.Added, "IPC Changes", list64); + ref ChangeEntry reference64 = ref span26[3]; + num3 = 1; List list65 = new List(num3); CollectionsMarshal.SetCount(list65, num3); - Span span25 = CollectionsMarshal.AsSpan(list65); - span25[0] = "Add 7.4 MSQ"; - span25[1] = "Add 7.4 Arcadion Raid quests"; - reference64 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list65); - reference63 = new ChangelogEntry("7.4.1", releaseDate24, list64); - ref ChangelogEntry reference65 = ref span[24]; - DateOnly releaseDate25 = new DateOnly(2025, 12, 17); - num2 = 1; + CollectionsMarshal.AsSpan(list65)[0] = "Fixed UI appearing in duties when debuff or interrupts occur"; + reference64 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list65); + reference60 = new ChangelogEntry("7.4.7", releaseDate23, list61); + ref ChangelogEntry reference65 = ref span[23]; + DateOnly releaseDate24 = new DateOnly(2025, 12, 23); + num2 = 2; List list66 = new List(num2); CollectionsMarshal.SetCount(list66, num2); - CollectionsMarshal.AsSpan(list66)[0] = new ChangeEntry(EChangeCategory.Changed, "Api 14 update"); - reference65 = new ChangelogEntry("7.4.0", releaseDate25, list66); - ref ChangelogEntry reference66 = ref span[25]; - DateOnly releaseDate26 = new DateOnly(2025, 12, 6); - num2 = 2; - List list67 = new List(num2); - CollectionsMarshal.SetCount(list67, num2); - Span span26 = CollectionsMarshal.AsSpan(list67); - ref ChangeEntry reference67 = ref span26[0]; - num3 = 4; + Span span28 = CollectionsMarshal.AsSpan(list66); + ref ChangeEntry reference66 = ref span28[0]; + num3 = 1; + List list67 = new List(num3); + CollectionsMarshal.SetCount(list67, num3); + CollectionsMarshal.AsSpan(list67)[0] = "Added Cinema Mode to not skip cutscenes"; + reference66 = new ChangeEntry(EChangeCategory.Added, "Major Features", list67); + ref ChangeEntry reference67 = ref span28[1]; + num3 = 2; List list68 = new List(num3); CollectionsMarshal.SetCount(list68, num3); - Span span27 = CollectionsMarshal.AsSpan(list68); - span27[0] = "Added reloading and rebuilding to movement system"; - span27[1] = "Improved interrupts and refresh states to allow continuation of questing"; - span27[2] = "Added player input detection to stop automation when manually moving character"; - span27[3] = "Added various missing quest sequences"; + Span span29 = CollectionsMarshal.AsSpan(list68); + span29[0] = "Added handling for Unsync (Party) to Party Watchdog and configuration to disable if in party"; + span29[1] = "Stop conditions now act as a true stop"; reference67 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list68); - ref ChangeEntry reference68 = ref span26[1]; - num3 = 1; - List list69 = new List(num3); - CollectionsMarshal.SetCount(list69, num3); - CollectionsMarshal.AsSpan(list69)[0] = "Fixed reset task state to prevent stuck interactions after interruption"; - reference68 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list69); - reference66 = new ChangelogEntry("7.38.9", releaseDate26, list67); - ref ChangelogEntry reference69 = ref span[26]; - DateOnly releaseDate27 = new DateOnly(2025, 11, 29); + reference65 = new ChangelogEntry("7.4.6", releaseDate24, list66); + ref ChangelogEntry reference68 = ref span[24]; + DateOnly releaseDate25 = new DateOnly(2025, 12, 22); + num2 = 1; + List list69 = new List(num2); + CollectionsMarshal.SetCount(list69, num2); + ref ChangeEntry reference69 = ref CollectionsMarshal.AsSpan(list69)[0]; + num3 = 2; + List list70 = new List(num3); + CollectionsMarshal.SetCount(list70, num3); + Span span30 = CollectionsMarshal.AsSpan(list70); + span30[0] = "Dive adjustments"; + span30[1] = "Logging message adjustments"; + reference69 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list70); + reference68 = new ChangelogEntry("7.4.5", releaseDate25, list69); + ref ChangelogEntry reference70 = ref span[25]; + DateOnly releaseDate26 = new DateOnly(2025, 12, 21); num2 = 2; - List list70 = new List(num2); - CollectionsMarshal.SetCount(list70, num2); - Span span28 = CollectionsMarshal.AsSpan(list70); - ref ChangeEntry reference70 = ref span28[0]; - num3 = 3; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - Span span29 = CollectionsMarshal.AsSpan(list71); - span29[0] = "Movement update with automatic retrying if character can't reach target position"; - span29[1] = "Added Hunt mob data"; - span29[2] = "Refactored commands"; - reference70 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list71); - ref ChangeEntry reference71 = ref span28[1]; - num3 = 3; + List list71 = new List(num2); + CollectionsMarshal.SetCount(list71, num2); + Span span31 = CollectionsMarshal.AsSpan(list71); + ref ChangeEntry reference71 = ref span31[0]; + num3 = 1; List list72 = new List(num3); CollectionsMarshal.SetCount(list72, num3); - Span span30 = CollectionsMarshal.AsSpan(list72); - span30[0] = "Fixed quest (Way of the Archer)"; - span30[1] = "Fixed quest (Spirithold Broken)"; - span30[2] = "Fixed quest (It's Probably Not Pirates)"; - reference71 = new ChangeEntry(EChangeCategory.Fixed, "Bug fixes", list72); - reference69 = new ChangelogEntry("7.38.8", releaseDate27, list70); - ref ChangelogEntry reference72 = ref span[27]; - DateOnly releaseDate28 = new DateOnly(2025, 11, 25); - num2 = 2; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - Span span31 = CollectionsMarshal.AsSpan(list73); - ref ChangeEntry reference73 = ref span31[0]; - num3 = 2; - List list74 = new List(num3); - CollectionsMarshal.SetCount(list74, num3); - Span span32 = CollectionsMarshal.AsSpan(list74); - span32[0] = "Added individual sequence stop condition for each quest"; - span32[1] = "Added Trials to Duties tab in config"; - reference73 = new ChangeEntry(EChangeCategory.Added, "Major features", list74); - ref ChangeEntry reference74 = ref span31[1]; + CollectionsMarshal.AsSpan(list72)[0] = "Changelog only shows once per update now"; + reference71 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list72); + ref ChangeEntry reference72 = ref span31[1]; + num3 = 1; + List list73 = new List(num3); + CollectionsMarshal.SetCount(list73, num3); + CollectionsMarshal.AsSpan(list73)[0] = "Fixed gathering paths loading"; + reference72 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list73); + reference70 = new ChangelogEntry("7.4.4", releaseDate26, list71); + ref ChangelogEntry reference73 = ref span[26]; + DateOnly releaseDate27 = new DateOnly(2025, 12, 21); + num2 = 1; + List list74 = new List(num2); + CollectionsMarshal.SetCount(list74, num2); + ref ChangeEntry reference74 = ref CollectionsMarshal.AsSpan(list74)[0]; num3 = 1; List list75 = new List(num3); CollectionsMarshal.SetCount(list75, num3); - CollectionsMarshal.AsSpan(list75)[0] = "Added IPC for stop conditions: GetQuestSequenceStopCondition, SetQuestSequenceStopCondition, RemoveQuestSequenceStopCondition, GetAllQuestSequenceStopConditions"; - reference74 = new ChangeEntry(EChangeCategory.Added, "IPC changes", list75); - reference72 = new ChangelogEntry("7.38.7", releaseDate28, list73); - ref ChangelogEntry reference75 = ref span[28]; - DateOnly releaseDate29 = new DateOnly(2025, 11, 25); - num2 = 3; + CollectionsMarshal.AsSpan(list75)[0] = "Fixed changelog version checks"; + reference74 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list75); + reference73 = new ChangelogEntry("7.4.3", releaseDate27, list74); + ref ChangelogEntry reference75 = ref span[27]; + DateOnly releaseDate28 = new DateOnly(2025, 12, 20); + num2 = 2; List list76 = new List(num2); CollectionsMarshal.SetCount(list76, num2); - Span span33 = CollectionsMarshal.AsSpan(list76); - ref ChangeEntry reference76 = ref span33[0]; - num3 = 2; + Span span32 = CollectionsMarshal.AsSpan(list76); + ref ChangeEntry reference76 = ref span32[0]; + num3 = 1; List list77 = new List(num3); CollectionsMarshal.SetCount(list77, num3); - Span span34 = CollectionsMarshal.AsSpan(list77); - span34[0] = "Updated Allied Society journal text"; - span34[1] = "Improved Allied Society rank handling"; - reference76 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list77); - ref ChangeEntry reference77 = ref span33[1]; + CollectionsMarshal.AsSpan(list77)[0] = "Add 7.4 Starlight Celebration (2025) quest"; + reference76 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list77); + ref ChangeEntry reference77 = ref span32[1]; num3 = 1; List list78 = new List(num3); CollectionsMarshal.SetCount(list78, num3); - CollectionsMarshal.AsSpan(list78)[0] = "Added IPC for Allied Society: AddAlliedSocietyOptimalQuests, GetAlliedSocietyOptimalQuests"; - reference77 = new ChangeEntry(EChangeCategory.Added, "IPC changes", list78); - ref ChangeEntry reference78 = ref span33[2]; - num3 = 1; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - CollectionsMarshal.AsSpan(list79)[0] = "Fixed quest (We Come in Peace)"; - reference78 = new ChangeEntry(EChangeCategory.Fixed, "Bug fixes", list79); - reference75 = new ChangelogEntry("7.38.6", releaseDate29, list76); - ref ChangelogEntry reference79 = ref span[29]; - DateOnly releaseDate30 = new DateOnly(2025, 11, 24); + CollectionsMarshal.AsSpan(list78)[0] = "Fixed 7.4 MSQ"; + reference77 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list78); + reference75 = new ChangelogEntry("7.4.2", releaseDate28, list76); + ref ChangelogEntry reference78 = ref span[28]; + DateOnly releaseDate29 = new DateOnly(2025, 12, 19); + num2 = 1; + List list79 = new List(num2); + CollectionsMarshal.SetCount(list79, num2); + ref ChangeEntry reference79 = ref CollectionsMarshal.AsSpan(list79)[0]; + num3 = 2; + List list80 = new List(num3); + CollectionsMarshal.SetCount(list80, num3); + Span span33 = CollectionsMarshal.AsSpan(list80); + span33[0] = "Add 7.4 MSQ"; + span33[1] = "Add 7.4 Arcadion Raid quests"; + reference79 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list80); + reference78 = new ChangelogEntry("7.4.1", releaseDate29, list79); + ref ChangelogEntry reference80 = ref span[29]; + DateOnly releaseDate30 = new DateOnly(2025, 12, 17); + num2 = 1; + List list81 = new List(num2); + CollectionsMarshal.SetCount(list81, num2); + CollectionsMarshal.AsSpan(list81)[0] = new ChangeEntry(EChangeCategory.Changed, "Api 14 update"); + reference80 = new ChangelogEntry("7.4.0", releaseDate30, list81); + ref ChangelogEntry reference81 = ref span[30]; + DateOnly releaseDate31 = new DateOnly(2025, 12, 6); num2 = 2; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - Span span35 = CollectionsMarshal.AsSpan(list80); - ref ChangeEntry reference80 = ref span35[0]; - num3 = 1; - List list81 = new List(num3); - CollectionsMarshal.SetCount(list81, num3); - CollectionsMarshal.AsSpan(list81)[0] = "Added Allied Society daily allowance tracker with bulk quest adding buttons"; - reference80 = new ChangeEntry(EChangeCategory.Added, "Major features", list81); - ref ChangeEntry reference81 = ref span35[1]; - num3 = 1; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - CollectionsMarshal.AsSpan(list82)[0] = "Added IPC for Allied Society: GetRemainingAllowances, GetTimeUntilReset, GetAvailableQuestIds, GetAllAvailableQuestCounts, IsMaxRank, GetCurrentRank, GetSocietiesWithAvailableQuests"; - reference81 = new ChangeEntry(EChangeCategory.Added, "IPC changes", list82); - reference79 = new ChangelogEntry("7.38.5", releaseDate30, list80); - ref ChangelogEntry reference82 = ref span[30]; - DateOnly releaseDate31 = new DateOnly(2025, 11, 23); - num2 = 2; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - Span span36 = CollectionsMarshal.AsSpan(list83); - ref ChangeEntry reference83 = ref span36[0]; + List list82 = new List(num2); + CollectionsMarshal.SetCount(list82, num2); + Span span34 = CollectionsMarshal.AsSpan(list82); + ref ChangeEntry reference82 = ref span34[0]; + num3 = 4; + List list83 = new List(num3); + CollectionsMarshal.SetCount(list83, num3); + Span span35 = CollectionsMarshal.AsSpan(list83); + span35[0] = "Added reloading and rebuilding to movement system"; + span35[1] = "Improved interrupts and refresh states to allow continuation of questing"; + span35[2] = "Added player input detection to stop automation when manually moving character"; + span35[3] = "Added various missing quest sequences"; + reference82 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list83); + ref ChangeEntry reference83 = ref span34[1]; num3 = 1; List list84 = new List(num3); CollectionsMarshal.SetCount(list84, num3); - CollectionsMarshal.AsSpan(list84)[0] = "Explicitly declare support for BMR singleplayer duty (The Rematch)"; - reference83 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list84); - ref ChangeEntry reference84 = ref span36[1]; - num3 = 8; - List list85 = new List(num3); - CollectionsMarshal.SetCount(list85, num3); - Span span37 = CollectionsMarshal.AsSpan(list85); - span37[0] = "Fixed quest (Microbrewing) to not get stuck near ramp"; - span37[1] = "Fixed quest (The Illuminated Land) where pathing would kill the player due to fall damage"; - span37[2] = "Fixed quest (It's Probably Not Pirates) improper pathing and removed unneeded step"; - span37[3] = "Fixed quest (The Black Wolf's Ultimatum) not exiting landing area"; - span37[4] = "Fixed quest (Magiteknical Failure) from not interacting with NPC due to being mounted"; - span37[5] = "Fixed quest (We Come in Peace) shortcut navigation"; - span37[6] = "Fixed quest (Poisoned Hearts) where incorrect pathing caused the player to die"; - span37[7] = "Fixed quests (Savage Snares) and (An Apple a Day) not detecting kills"; - reference84 = new ChangeEntry(EChangeCategory.Fixed, "Bug fixes", list85); - reference82 = new ChangelogEntry("7.38.4", releaseDate31, list83); - ref ChangelogEntry reference85 = ref span[31]; - DateOnly releaseDate32 = new DateOnly(2025, 11, 23); - num2 = 3; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - Span span38 = CollectionsMarshal.AsSpan(list86); - ref ChangeEntry reference86 = ref span38[0]; - num3 = 2; + CollectionsMarshal.AsSpan(list84)[0] = "Fixed reset task state to prevent stuck interactions after interruption"; + reference83 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list84); + reference81 = new ChangelogEntry("7.38.9", releaseDate31, list82); + ref ChangelogEntry reference84 = ref span[31]; + DateOnly releaseDate32 = new DateOnly(2025, 11, 29); + num2 = 2; + List list85 = new List(num2); + CollectionsMarshal.SetCount(list85, num2); + Span span36 = CollectionsMarshal.AsSpan(list85); + ref ChangeEntry reference85 = ref span36[0]; + num3 = 3; + List list86 = new List(num3); + CollectionsMarshal.SetCount(list86, num3); + Span span37 = CollectionsMarshal.AsSpan(list86); + span37[0] = "Movement update with automatic retrying if character can't reach target position"; + span37[1] = "Added Hunt mob data"; + span37[2] = "Refactored commands"; + reference85 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list86); + ref ChangeEntry reference86 = ref span36[1]; + num3 = 3; List list87 = new List(num3); CollectionsMarshal.SetCount(list87, num3); - Span span39 = CollectionsMarshal.AsSpan(list87); - span39[0] = "Added RequireHq to crafting InteractionType"; - span39[1] = "Mark GC quests as Locked if rank not achieved"; - reference86 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list87); - ref ChangeEntry reference87 = ref span38[1]; + Span span38 = CollectionsMarshal.AsSpan(list87); + span38[0] = "Fixed quest (Way of the Archer)"; + span38[1] = "Fixed quest (Spirithold Broken)"; + span38[2] = "Fixed quest (It's Probably Not Pirates)"; + reference86 = new ChangeEntry(EChangeCategory.Fixed, "Bug fixes", list87); + reference84 = new ChangelogEntry("7.38.8", releaseDate32, list85); + ref ChangelogEntry reference87 = ref span[32]; + DateOnly releaseDate33 = new DateOnly(2025, 11, 25); + num2 = 2; + List list88 = new List(num2); + CollectionsMarshal.SetCount(list88, num2); + Span span39 = CollectionsMarshal.AsSpan(list88); + ref ChangeEntry reference88 = ref span39[0]; num3 = 2; - List list88 = new List(num3); - CollectionsMarshal.SetCount(list88, num3); - Span span40 = CollectionsMarshal.AsSpan(list88); - span40[0] = "Added IPC for stop conditions: GetStopConditionsEnabled, SetStopConditionsEnabled, GetStopQuestList, AddStopQuest, RemoveStopQuest, ClearStopQuests, GetLevelStopCondition, SetLevelStopCondition, GetSequenceStopCondition, SetSequenceStopCondition"; - span40[1] = "Added IPC for priority quests: GetPriorityQuests, RemovePriorityQuest, ReorderPriorityQuest, GetAvailablePresets, GetPresetQuests, AddPresetToPriority, IsPresetAvailable, IsQuestInPriority, GetQuestPriorityIndex, HasAvailablePriorityQuests"; - reference87 = new ChangeEntry(EChangeCategory.Added, "IPC changes", list88); - ref ChangeEntry reference88 = ref span38[2]; - num3 = 3; List list89 = new List(num3); CollectionsMarshal.SetCount(list89, num3); - Span span41 = CollectionsMarshal.AsSpan(list89); - span41[0] = "Fixed line breaks not working in dialog strings"; - span41[1] = "Fixed quest (Labor of Love)"; - span41[2] = "Fixed quest (Sea of Sorrow)"; - reference88 = new ChangeEntry(EChangeCategory.Fixed, "Bug fixes", list89); - reference85 = new ChangelogEntry("7.38.3", releaseDate32, list86); - ref ChangelogEntry reference89 = ref span[32]; - DateOnly releaseDate33 = new DateOnly(2025, 11, 18); + Span span40 = CollectionsMarshal.AsSpan(list89); + span40[0] = "Added individual sequence stop condition for each quest"; + span40[1] = "Added Trials to Duties tab in config"; + reference88 = new ChangeEntry(EChangeCategory.Added, "Major features", list89); + ref ChangeEntry reference89 = ref span39[1]; + num3 = 1; + List list90 = new List(num3); + CollectionsMarshal.SetCount(list90, num3); + CollectionsMarshal.AsSpan(list90)[0] = "Added IPC for stop conditions: GetQuestSequenceStopCondition, SetQuestSequenceStopCondition, RemoveQuestSequenceStopCondition, GetAllQuestSequenceStopConditions"; + reference89 = new ChangeEntry(EChangeCategory.Added, "IPC changes", list90); + reference87 = new ChangelogEntry("7.38.7", releaseDate33, list88); + ref ChangelogEntry reference90 = ref span[33]; + DateOnly releaseDate34 = new DateOnly(2025, 11, 25); num2 = 3; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - Span span42 = CollectionsMarshal.AsSpan(list90); - ref ChangeEntry reference90 = ref span42[0]; + List list91 = new List(num2); + CollectionsMarshal.SetCount(list91, num2); + Span span41 = CollectionsMarshal.AsSpan(list91); + ref ChangeEntry reference91 = ref span41[0]; num3 = 2; - List list91 = new List(num3); - CollectionsMarshal.SetCount(list91, num3); - Span span43 = CollectionsMarshal.AsSpan(list91); - span43[0] = "Auto Duty unsync options for each duty (Duty Support, Unsync Solo, Unsync Party)"; - span43[1] = "Added Auto Duty unsync options to quest schema and updated quests using old unsync method"; - reference90 = new ChangeEntry(EChangeCategory.Added, "Major features", list91); - ref ChangeEntry reference91 = ref span42[1]; - num3 = 3; List list92 = new List(num3); CollectionsMarshal.SetCount(list92, num3); - Span span44 = CollectionsMarshal.AsSpan(list92); - span44[0] = "Added IPC for duty sync handling: GetDefaultDutyMode, SetDefaultDutyMode"; - span44[1] = "Added IPC for duty mode overrides: GetDutyModeOverride, SetDutyModeOverride"; - span44[2] = "Added IPC for clearing overrides: ClearDutyModeOverride, ClearAllDutyModeOverrides"; - reference91 = new ChangeEntry(EChangeCategory.Added, "IPC changes", list92); - span42[2] = new ChangeEntry(EChangeCategory.Fixed, "Fixed quest (Constant Cravings)"); - reference89 = new ChangelogEntry("7.38.2", releaseDate33, list90); - ref ChangelogEntry reference92 = ref span[33]; - DateOnly releaseDate34 = new DateOnly(2025, 11, 18); - num2 = 3; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - Span span45 = CollectionsMarshal.AsSpan(list93); - ref ChangeEntry reference93 = ref span45[0]; + Span span42 = CollectionsMarshal.AsSpan(list92); + span42[0] = "Updated Allied Society journal text"; + span42[1] = "Improved Allied Society rank handling"; + reference91 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list92); + ref ChangeEntry reference92 = ref span41[1]; + num3 = 1; + List list93 = new List(num3); + CollectionsMarshal.SetCount(list93, num3); + CollectionsMarshal.AsSpan(list93)[0] = "Added IPC for Allied Society: AddAlliedSocietyOptimalQuests, GetAlliedSocietyOptimalQuests"; + reference92 = new ChangeEntry(EChangeCategory.Added, "IPC changes", list93); + ref ChangeEntry reference93 = ref span41[2]; num3 = 1; List list94 = new List(num3); CollectionsMarshal.SetCount(list94, num3); - CollectionsMarshal.AsSpan(list94)[0] = "Added new fields to quest schema"; - reference93 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list94); - ref ChangeEntry reference94 = ref span45[1]; - num3 = 3; - List list95 = new List(num3); - CollectionsMarshal.SetCount(list95, num3); - Span span46 = CollectionsMarshal.AsSpan(list95); - span46[0] = "A Faerie Tale Come True"; - span46[1] = "Constant Cravings"; - span46[2] = "A Bridge Too Full"; - reference94 = new ChangeEntry(EChangeCategory.QuestUpdates, "Added new quest paths", list95); - ref ChangeEntry reference95 = ref span45[2]; - num3 = 3; + CollectionsMarshal.AsSpan(list94)[0] = "Fixed quest (We Come in Peace)"; + reference93 = new ChangeEntry(EChangeCategory.Fixed, "Bug fixes", list94); + reference90 = new ChangelogEntry("7.38.6", releaseDate34, list91); + ref ChangelogEntry reference94 = ref span[34]; + DateOnly releaseDate35 = new DateOnly(2025, 11, 24); + num2 = 2; + List list95 = new List(num2); + CollectionsMarshal.SetCount(list95, num2); + Span span43 = CollectionsMarshal.AsSpan(list95); + ref ChangeEntry reference95 = ref span43[0]; + num3 = 1; List list96 = new List(num3); CollectionsMarshal.SetCount(list96, num3); - Span span47 = CollectionsMarshal.AsSpan(list96); - span47[0] = "Fixed various quest schemas"; - span47[1] = "Fixed changelog bullet point encoding"; - span47[2] = "Fixed item use to wait until item is used before next action"; - reference95 = new ChangeEntry(EChangeCategory.Fixed, "Bug fixes", list96); - reference92 = new ChangelogEntry("7.38.1", releaseDate34, list93); - ref ChangelogEntry reference96 = ref span[34]; - DateOnly releaseDate35 = new DateOnly(2025, 11, 17); - num2 = 5; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - Span span48 = CollectionsMarshal.AsSpan(list97); - ref ChangeEntry reference97 = ref span48[0]; - num3 = 2; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - Span span49 = CollectionsMarshal.AsSpan(list98); - span49[0] = "Quest sequence window to show expected sequences in each quest (with quest searching)"; - span49[1] = "Changelog"; - reference97 = new ChangeEntry(EChangeCategory.Added, "Major features", list98); - ref ChangeEntry reference98 = ref span48[1]; - num3 = 2; + CollectionsMarshal.AsSpan(list96)[0] = "Added Allied Society daily allowance tracker with bulk quest adding buttons"; + reference95 = new ChangeEntry(EChangeCategory.Added, "Major features", list96); + ref ChangeEntry reference96 = ref span43[1]; + num3 = 1; + List list97 = new List(num3); + CollectionsMarshal.SetCount(list97, num3); + CollectionsMarshal.AsSpan(list97)[0] = "Added IPC for Allied Society: GetRemainingAllowances, GetTimeUntilReset, GetAvailableQuestIds, GetAllAvailableQuestCounts, IsMaxRank, GetCurrentRank, GetSocietiesWithAvailableQuests"; + reference96 = new ChangeEntry(EChangeCategory.Added, "IPC changes", list97); + reference94 = new ChangelogEntry("7.38.5", releaseDate35, list95); + ref ChangelogEntry reference97 = ref span[35]; + DateOnly releaseDate36 = new DateOnly(2025, 11, 23); + num2 = 2; + List list98 = new List(num2); + CollectionsMarshal.SetCount(list98, num2); + Span span44 = CollectionsMarshal.AsSpan(list98); + ref ChangeEntry reference98 = ref span44[0]; + num3 = 1; List list99 = new List(num3); CollectionsMarshal.SetCount(list99, num3); - Span span50 = CollectionsMarshal.AsSpan(list99); - span50[0] = "Updated quest schemas"; - span50[1] = "Added search bar to preferred mounts and capitalization to mirror game mount names"; + CollectionsMarshal.AsSpan(list99)[0] = "Explicitly declare support for BMR singleplayer duty (The Rematch)"; reference98 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list99); - ref ChangeEntry reference99 = ref span48[2]; - num3 = 3; + ref ChangeEntry reference99 = ref span44[1]; + num3 = 8; List list100 = new List(num3); CollectionsMarshal.SetCount(list100, num3); - Span span51 = CollectionsMarshal.AsSpan(list100); - span51[0] = "Renamed IsQuestCompleted → IsQuestComplete"; - span51[1] = "Renamed IsQuestAvailable → IsReadyToAcceptQuest"; - span51[2] = "Added GetCurrentTask IPC"; - reference99 = new ChangeEntry(EChangeCategory.Changed, "IPC changes", list100); - span48[3] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added all Hildibrand quests"); - span48[4] = new ChangeEntry(EChangeCategory.Fixed, "Fixed credits/cutscenes playback"); - reference96 = new ChangelogEntry("7.38.0", releaseDate35, list97); - ref ChangelogEntry reference100 = ref span[35]; - DateOnly releaseDate36 = new DateOnly(2025, 11, 8); - num2 = 1; + Span span45 = CollectionsMarshal.AsSpan(list100); + span45[0] = "Fixed quest (Microbrewing) to not get stuck near ramp"; + span45[1] = "Fixed quest (The Illuminated Land) where pathing would kill the player due to fall damage"; + span45[2] = "Fixed quest (It's Probably Not Pirates) improper pathing and removed unneeded step"; + span45[3] = "Fixed quest (The Black Wolf's Ultimatum) not exiting landing area"; + span45[4] = "Fixed quest (Magiteknical Failure) from not interacting with NPC due to being mounted"; + span45[5] = "Fixed quest (We Come in Peace) shortcut navigation"; + span45[6] = "Fixed quest (Poisoned Hearts) where incorrect pathing caused the player to die"; + span45[7] = "Fixed quests (Savage Snares) and (An Apple a Day) not detecting kills"; + reference99 = new ChangeEntry(EChangeCategory.Fixed, "Bug fixes", list100); + reference97 = new ChangelogEntry("7.38.4", releaseDate36, list98); + ref ChangelogEntry reference100 = ref span[36]; + DateOnly releaseDate37 = new DateOnly(2025, 11, 23); + num2 = 3; List list101 = new List(num2); CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added Fall Guys quest (Just Crowning Around)"); - reference100 = new ChangelogEntry("6.38", releaseDate36, list101); - ref ChangelogEntry reference101 = ref span[36]; - DateOnly releaseDate37 = new DateOnly(2025, 11, 8); - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added Cosmic Exploration and various unlock quests"); - reference101 = new ChangelogEntry("6.37", releaseDate37, list102); - ref ChangelogEntry reference102 = ref span[37]; - DateOnly releaseDate38 = new DateOnly(2025, 11, 2); - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy Rank 6 quest (With High Spirits)"); - reference102 = new ChangelogEntry("6.36", releaseDate38, list103); - ref ChangelogEntry reference103 = ref span[38]; - DateOnly releaseDate39 = new DateOnly(2025, 10, 28); - num2 = 1; - List list104 = new List(num2); - CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new ChangeEntry(EChangeCategory.Fixed, "Fixed level 3 MSQ handling if character started on non-XP buff world"); - reference103 = new ChangelogEntry("6.35", releaseDate39, list104); - ref ChangelogEntry reference104 = ref span[39]; - DateOnly releaseDate40 = new DateOnly(2025, 10, 23); - num2 = 2; + Span span46 = CollectionsMarshal.AsSpan(list101); + ref ChangeEntry reference101 = ref span46[0]; + num3 = 2; + List list102 = new List(num3); + CollectionsMarshal.SetCount(list102, num3); + Span span47 = CollectionsMarshal.AsSpan(list102); + span47[0] = "Added RequireHq to crafting InteractionType"; + span47[1] = "Mark GC quests as Locked if rank not achieved"; + reference101 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list102); + ref ChangeEntry reference102 = ref span46[1]; + num3 = 2; + List list103 = new List(num3); + CollectionsMarshal.SetCount(list103, num3); + Span span48 = CollectionsMarshal.AsSpan(list103); + span48[0] = "Added IPC for stop conditions: GetStopConditionsEnabled, SetStopConditionsEnabled, GetStopQuestList, AddStopQuest, RemoveStopQuest, ClearStopQuests, GetLevelStopCondition, SetLevelStopCondition, GetSequenceStopCondition, SetSequenceStopCondition"; + span48[1] = "Added IPC for priority quests: GetPriorityQuests, RemovePriorityQuest, ReorderPriorityQuest, GetAvailablePresets, GetPresetQuests, AddPresetToPriority, IsPresetAvailable, IsQuestInPriority, GetQuestPriorityIndex, HasAvailablePriorityQuests"; + reference102 = new ChangeEntry(EChangeCategory.Added, "IPC changes", list103); + ref ChangeEntry reference103 = ref span46[2]; + num3 = 3; + List list104 = new List(num3); + CollectionsMarshal.SetCount(list104, num3); + Span span49 = CollectionsMarshal.AsSpan(list104); + span49[0] = "Fixed line breaks not working in dialog strings"; + span49[1] = "Fixed quest (Labor of Love)"; + span49[2] = "Fixed quest (Sea of Sorrow)"; + reference103 = new ChangeEntry(EChangeCategory.Fixed, "Bug fixes", list104); + reference100 = new ChangelogEntry("7.38.3", releaseDate37, list101); + ref ChangelogEntry reference104 = ref span[37]; + DateOnly releaseDate38 = new DateOnly(2025, 11, 18); + num2 = 3; List list105 = new List(num2); CollectionsMarshal.SetCount(list105, num2); - Span span52 = CollectionsMarshal.AsSpan(list105); - span52[0] = new ChangeEntry(EChangeCategory.Added, "Added clear priority quests on logout and on completion config settings"); - span52[1] = new ChangeEntry(EChangeCategory.Fixed, "Fixed priority quest importing to respect import order"); - reference104 = new ChangelogEntry("6.34", releaseDate40, list105); - ref ChangelogEntry reference105 = ref span[40]; - DateOnly releaseDate41 = new DateOnly(2025, 10, 23); - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new ChangeEntry(EChangeCategory.Fixed, "Fixed RSR combat module"); - reference105 = new ChangelogEntry("6.33", releaseDate41, list106); - ref ChangelogEntry reference106 = ref span[41]; - DateOnly releaseDate42 = new DateOnly(2025, 10, 23); - num2 = 1; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - CollectionsMarshal.AsSpan(list107)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy Rank 5 quest (Forged in Corn)"); - reference106 = new ChangelogEntry("6.32", releaseDate42, list107); - ref ChangelogEntry reference107 = ref span[42]; - DateOnly releaseDate43 = new DateOnly(2025, 10, 21); - num2 = 1; + Span span50 = CollectionsMarshal.AsSpan(list105); + ref ChangeEntry reference105 = ref span50[0]; + num3 = 2; + List list106 = new List(num3); + CollectionsMarshal.SetCount(list106, num3); + Span span51 = CollectionsMarshal.AsSpan(list106); + span51[0] = "Auto Duty unsync options for each duty (Duty Support, Unsync Solo, Unsync Party)"; + span51[1] = "Added Auto Duty unsync options to quest schema and updated quests using old unsync method"; + reference105 = new ChangeEntry(EChangeCategory.Added, "Major features", list106); + ref ChangeEntry reference106 = ref span50[1]; + num3 = 3; + List list107 = new List(num3); + CollectionsMarshal.SetCount(list107, num3); + Span span52 = CollectionsMarshal.AsSpan(list107); + span52[0] = "Added IPC for duty sync handling: GetDefaultDutyMode, SetDefaultDutyMode"; + span52[1] = "Added IPC for duty mode overrides: GetDutyModeOverride, SetDutyModeOverride"; + span52[2] = "Added IPC for clearing overrides: ClearDutyModeOverride, ClearAllDutyModeOverrides"; + reference106 = new ChangeEntry(EChangeCategory.Added, "IPC changes", list107); + span50[2] = new ChangeEntry(EChangeCategory.Fixed, "Fixed quest (Constant Cravings)"); + reference104 = new ChangelogEntry("7.38.2", releaseDate38, list105); + ref ChangelogEntry reference107 = ref span[38]; + DateOnly releaseDate39 = new DateOnly(2025, 11, 18); + num2 = 3; List list108 = new List(num2); CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new ChangeEntry(EChangeCategory.Changed, "Added checks for moogle and allied society quests when using add all available quests"); - reference107 = new ChangelogEntry("6.31", releaseDate43, list108); - ref ChangelogEntry reference108 = ref span[43]; - DateOnly releaseDate44 = new DateOnly(2025, 10, 21); - num2 = 1; - List list109 = new List(num2); - CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new ChangeEntry(EChangeCategory.Added, "Added button to journal that allows adding all available quests to priority"); - reference108 = new ChangelogEntry("6.30", releaseDate44, list109); - ref ChangelogEntry reference109 = ref span[44]; - DateOnly releaseDate45 = new DateOnly(2025, 10, 20); - num2 = 2; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - Span span53 = CollectionsMarshal.AsSpan(list110); - ref ChangeEntry reference110 = ref span53[0]; - num3 = 2; + Span span53 = CollectionsMarshal.AsSpan(list108); + ref ChangeEntry reference108 = ref span53[0]; + num3 = 1; + List list109 = new List(num3); + CollectionsMarshal.SetCount(list109, num3); + CollectionsMarshal.AsSpan(list109)[0] = "Added new fields to quest schema"; + reference108 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list109); + ref ChangeEntry reference109 = ref span53[1]; + num3 = 3; + List list110 = new List(num3); + CollectionsMarshal.SetCount(list110, num3); + Span span54 = CollectionsMarshal.AsSpan(list110); + span54[0] = "A Faerie Tale Come True"; + span54[1] = "Constant Cravings"; + span54[2] = "A Bridge Too Full"; + reference109 = new ChangeEntry(EChangeCategory.QuestUpdates, "Added new quest paths", list110); + ref ChangeEntry reference110 = ref span53[2]; + num3 = 3; List list111 = new List(num3); CollectionsMarshal.SetCount(list111, num3); - Span span54 = CollectionsMarshal.AsSpan(list111); - span54[0] = "Added item count to combat handling rework"; - span54[1] = "Updated Pandora conflicting features"; - reference110 = new ChangeEntry(EChangeCategory.Changed, "Combat handling improvements", list111); - span53[1] = new ChangeEntry(EChangeCategory.Fixed, "Fixed quest to purchase Gysahl Greens if not in inventory"); - reference109 = new ChangelogEntry("6.29", releaseDate45, list110); - ref ChangelogEntry reference111 = ref span[45]; - DateOnly releaseDate46 = new DateOnly(2025, 10, 19); - num2 = 1; + Span span55 = CollectionsMarshal.AsSpan(list111); + span55[0] = "Fixed various quest schemas"; + span55[1] = "Fixed changelog bullet point encoding"; + span55[2] = "Fixed item use to wait until item is used before next action"; + reference110 = new ChangeEntry(EChangeCategory.Fixed, "Bug fixes", list111); + reference107 = new ChangelogEntry("7.38.1", releaseDate39, list108); + ref ChangelogEntry reference111 = ref span[39]; + DateOnly releaseDate40 = new DateOnly(2025, 11, 17); + num2 = 5; List list112 = new List(num2); CollectionsMarshal.SetCount(list112, num2); - CollectionsMarshal.AsSpan(list112)[0] = new ChangeEntry(EChangeCategory.Changed, "Reworked kill count combat handling - combat and enemy kills are now processed instantly"); - reference111 = new ChangelogEntry("6.28", releaseDate46, list112); - ref ChangelogEntry reference112 = ref span[46]; - DateOnly releaseDate47 = new DateOnly(2025, 10, 18); - num2 = 2; - List list113 = new List(num2); - CollectionsMarshal.SetCount(list113, num2); - Span span55 = CollectionsMarshal.AsSpan(list113); - span55[0] = new ChangeEntry(EChangeCategory.Changed, "Improved Aether Current checking logic"); - span55[1] = new ChangeEntry(EChangeCategory.Fixed, "Fixed Chocobo Taxi Stand CheckSkip error and Patch 7.3 Fantasia unlock quest date/time"); - reference112 = new ChangelogEntry("6.27", releaseDate47, list113); - ref ChangelogEntry reference113 = ref span[47]; - DateOnly releaseDate48 = new DateOnly(2025, 10, 18); - num2 = 1; - List list114 = new List(num2); - CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy rank 4 quests"); - reference113 = new ChangelogEntry("6.26", releaseDate48, list114); - ref ChangelogEntry reference114 = ref span[48]; - DateOnly releaseDate49 = new DateOnly(2025, 10, 17); - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added All Saints' Wake 2025 quests and 7.35 Yok Huy rank 4 quests"); - reference114 = new ChangelogEntry("6.25", releaseDate49, list115); - ref ChangelogEntry reference115 = ref span[49]; - DateOnly releaseDate50 = new DateOnly(2025, 10, 16); + Span span56 = CollectionsMarshal.AsSpan(list112); + ref ChangeEntry reference112 = ref span56[0]; + num3 = 2; + List list113 = new List(num3); + CollectionsMarshal.SetCount(list113, num3); + Span span57 = CollectionsMarshal.AsSpan(list113); + span57[0] = "Quest sequence window to show expected sequences in each quest (with quest searching)"; + span57[1] = "Changelog"; + reference112 = new ChangeEntry(EChangeCategory.Added, "Major features", list113); + ref ChangeEntry reference113 = ref span56[1]; + num3 = 2; + List list114 = new List(num3); + CollectionsMarshal.SetCount(list114, num3); + Span span58 = CollectionsMarshal.AsSpan(list114); + span58[0] = "Updated quest schemas"; + span58[1] = "Added search bar to preferred mounts and capitalization to mirror game mount names"; + reference113 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list114); + ref ChangeEntry reference114 = ref span56[2]; + num3 = 3; + List list115 = new List(num3); + CollectionsMarshal.SetCount(list115, num3); + Span span59 = CollectionsMarshal.AsSpan(list115); + span59[0] = "Renamed IsQuestCompleted → IsQuestComplete"; + span59[1] = "Renamed IsQuestAvailable → IsReadyToAcceptQuest"; + span59[2] = "Added GetCurrentTask IPC"; + reference114 = new ChangeEntry(EChangeCategory.Changed, "IPC changes", list115); + span56[3] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added all Hildibrand quests"); + span56[4] = new ChangeEntry(EChangeCategory.Fixed, "Fixed credits/cutscenes playback"); + reference111 = new ChangelogEntry("7.38.0", releaseDate40, list112); + ref ChangelogEntry reference115 = ref span[40]; + DateOnly releaseDate41 = new DateOnly(2025, 11, 8); num2 = 1; List list116 = new List(num2); CollectionsMarshal.SetCount(list116, num2); - CollectionsMarshal.AsSpan(list116)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy rank 4 quests and Deep Dungeon quest"); - reference115 = new ChangelogEntry("6.24", releaseDate50, list116); - ref ChangelogEntry reference116 = ref span[50]; - DateOnly releaseDate51 = new DateOnly(2025, 10, 13); + CollectionsMarshal.AsSpan(list116)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added Fall Guys quest (Just Crowning Around)"); + reference115 = new ChangelogEntry("6.38", releaseDate41, list116); + ref ChangelogEntry reference116 = ref span[41]; + DateOnly releaseDate42 = new DateOnly(2025, 11, 8); num2 = 1; List list117 = new List(num2); CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy rank 3 quest (Larder Logistics)"); - reference116 = new ChangelogEntry("6.23", releaseDate51, list117); - ref ChangelogEntry reference117 = ref span[51]; - DateOnly releaseDate52 = new DateOnly(2025, 10, 12); - num2 = 3; + CollectionsMarshal.AsSpan(list117)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added Cosmic Exploration and various unlock quests"); + reference116 = new ChangelogEntry("6.37", releaseDate42, list117); + ref ChangelogEntry reference117 = ref span[42]; + DateOnly releaseDate43 = new DateOnly(2025, 11, 2); + num2 = 1; List list118 = new List(num2); CollectionsMarshal.SetCount(list118, num2); - Span span56 = CollectionsMarshal.AsSpan(list118); - span56[0] = new ChangeEntry(EChangeCategory.Changed, "Prevent disabled or Locked quests from being started as 'Start as next quest'"); - span56[1] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy rank 3 quests"); - span56[2] = new ChangeEntry(EChangeCategory.Fixed, "Fixed Yok Huy quest and journal quest chain priority issues"); - reference117 = new ChangelogEntry("6.22", releaseDate52, list118); - ref ChangelogEntry reference118 = ref span[52]; - DateOnly releaseDate53 = new DateOnly(2025, 10, 12); - num2 = 2; + CollectionsMarshal.AsSpan(list118)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy Rank 6 quest (With High Spirits)"); + reference117 = new ChangelogEntry("6.36", releaseDate43, list118); + ref ChangelogEntry reference118 = ref span[43]; + DateOnly releaseDate44 = new DateOnly(2025, 10, 28); + num2 = 1; List list119 = new List(num2); CollectionsMarshal.SetCount(list119, num2); - Span span57 = CollectionsMarshal.AsSpan(list119); - span57[0] = new ChangeEntry(EChangeCategory.Added, "Added expansion abbreviation to journal window"); - span57[1] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy rank 3 quests"); - reference118 = new ChangelogEntry("6.21", releaseDate53, list119); - ref ChangelogEntry reference119 = ref span[53]; - DateOnly releaseDate54 = new DateOnly(2025, 10, 10); + CollectionsMarshal.AsSpan(list119)[0] = new ChangeEntry(EChangeCategory.Fixed, "Fixed level 3 MSQ handling if character started on non-XP buff world"); + reference118 = new ChangelogEntry("6.35", releaseDate44, list119); + ref ChangelogEntry reference119 = ref span[44]; + DateOnly releaseDate45 = new DateOnly(2025, 10, 23); num2 = 2; List list120 = new List(num2); CollectionsMarshal.SetCount(list120, num2); - Span span58 = CollectionsMarshal.AsSpan(list120); - span58[0] = new ChangeEntry(EChangeCategory.Changed, "Allow completed repeatable quests to be used with 'Add quest and requirements to priority' feature"); - span58[1] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy rank 1 quest (A Work of Cart)"); - reference119 = new ChangelogEntry("6.20", releaseDate54, list120); - ref ChangelogEntry reference120 = ref span[54]; - DateOnly releaseDate55 = new DateOnly(2025, 10, 9); - num2 = 3; + Span span60 = CollectionsMarshal.AsSpan(list120); + span60[0] = new ChangeEntry(EChangeCategory.Added, "Added clear priority quests on logout and on completion config settings"); + span60[1] = new ChangeEntry(EChangeCategory.Fixed, "Fixed priority quest importing to respect import order"); + reference119 = new ChangelogEntry("6.34", releaseDate45, list120); + ref ChangelogEntry reference120 = ref span[45]; + DateOnly releaseDate46 = new DateOnly(2025, 10, 23); + num2 = 1; List list121 = new List(num2); CollectionsMarshal.SetCount(list121, num2); - Span span59 = CollectionsMarshal.AsSpan(list121); - span59[0] = new ChangeEntry(EChangeCategory.Added, "Added config to batch Allied Society quest turn-ins"); - span59[1] = new ChangeEntry(EChangeCategory.Changed, "Repeatable quests now show correct availability state in journal"); - span59[2] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy rank 2 quests"); - reference120 = new ChangelogEntry("6.19", releaseDate55, list121); - ref ChangelogEntry reference121 = ref span[55]; - DateOnly releaseDate56 = new DateOnly(2025, 10, 9); - num2 = 2; + CollectionsMarshal.AsSpan(list121)[0] = new ChangeEntry(EChangeCategory.Fixed, "Fixed RSR combat module"); + reference120 = new ChangelogEntry("6.33", releaseDate46, list121); + ref ChangelogEntry reference121 = ref span[46]; + DateOnly releaseDate47 = new DateOnly(2025, 10, 23); + num2 = 1; List list122 = new List(num2); CollectionsMarshal.SetCount(list122, num2); - Span span60 = CollectionsMarshal.AsSpan(list122); - span60[0] = new ChangeEntry(EChangeCategory.Changed, "Show once completed quests with improved state display"); - span60[1] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy daily quest and improvements to various Yok Huy quests"); - reference121 = new ChangelogEntry("6.18", releaseDate56, list122); - ref ChangelogEntry reference122 = ref span[56]; - DateOnly releaseDate57 = new DateOnly(2025, 10, 8); + CollectionsMarshal.AsSpan(list122)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy Rank 5 quest (Forged in Corn)"); + reference121 = new ChangelogEntry("6.32", releaseDate47, list122); + ref ChangelogEntry reference122 = ref span[47]; + DateOnly releaseDate48 = new DateOnly(2025, 10, 21); num2 = 1; List list123 = new List(num2); CollectionsMarshal.SetCount(list123, num2); - CollectionsMarshal.AsSpan(list123)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy rank 1 and rank 2 quests"); - reference122 = new ChangelogEntry("6.17", releaseDate57, list123); - ref ChangelogEntry reference123 = ref span[57]; - DateOnly releaseDate58 = new DateOnly(2025, 10, 8); + CollectionsMarshal.AsSpan(list123)[0] = new ChangeEntry(EChangeCategory.Changed, "Added checks for moogle and allied society quests when using add all available quests"); + reference122 = new ChangelogEntry("6.31", releaseDate48, list123); + ref ChangelogEntry reference123 = ref span[48]; + DateOnly releaseDate49 = new DateOnly(2025, 10, 21); num2 = 1; List list124 = new List(num2); CollectionsMarshal.SetCount(list124, num2); - CollectionsMarshal.AsSpan(list124)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Deep Dungeon quest (Faerie Tale)"); - reference123 = new ChangelogEntry("6.16", releaseDate58, list124); - ref ChangelogEntry reference124 = ref span[58]; - DateOnly releaseDate59 = new DateOnly(2025, 10, 8); + CollectionsMarshal.AsSpan(list124)[0] = new ChangeEntry(EChangeCategory.Added, "Added button to journal that allows adding all available quests to priority"); + reference123 = new ChangelogEntry("6.30", releaseDate49, list124); + ref ChangelogEntry reference124 = ref span[49]; + DateOnly releaseDate50 = new DateOnly(2025, 10, 20); num2 = 2; List list125 = new List(num2); CollectionsMarshal.SetCount(list125, num2); Span span61 = CollectionsMarshal.AsSpan(list125); - span61[0] = new ChangeEntry(EChangeCategory.Changed, "Dalamud cleanup"); - span61[1] = new ChangeEntry(EChangeCategory.Fixed, "Fixed quest level requirement check log spam"); - reference124 = new ChangelogEntry("6.15", releaseDate59, list125); - ref ChangelogEntry reference125 = ref span[59]; - DateOnly releaseDate60 = new DateOnly(2025, 10, 8); + ref ChangeEntry reference125 = ref span61[0]; + num3 = 2; + List list126 = new List(num3); + CollectionsMarshal.SetCount(list126, num3); + Span span62 = CollectionsMarshal.AsSpan(list126); + span62[0] = "Added item count to combat handling rework"; + span62[1] = "Updated Pandora conflicting features"; + reference125 = new ChangeEntry(EChangeCategory.Changed, "Combat handling improvements", list126); + span61[1] = new ChangeEntry(EChangeCategory.Fixed, "Fixed quest to purchase Gysahl Greens if not in inventory"); + reference124 = new ChangelogEntry("6.29", releaseDate50, list125); + ref ChangelogEntry reference126 = ref span[50]; + DateOnly releaseDate51 = new DateOnly(2025, 10, 19); num2 = 1; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new ChangeEntry(EChangeCategory.Fixed, "Fixed abandoned quest check logic if quest were MSQ"); - reference125 = new ChangelogEntry("6.14", releaseDate60, list126); - ref ChangelogEntry reference126 = ref span[60]; - DateOnly releaseDate61 = new DateOnly(2025, 10, 8); - num2 = 2; List list127 = new List(num2); CollectionsMarshal.SetCount(list127, num2); - Span span62 = CollectionsMarshal.AsSpan(list127); - ref ChangeEntry reference127 = ref span62[0]; - num3 = 3; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - Span span63 = CollectionsMarshal.AsSpan(list128); - span63[0] = "Context menu option to add required quests and their chain to priority list"; - span63[1] = "AetheryteShortcut to multiple quests"; - span63[2] = "Artisan as a recommended plugin/dependency"; - reference127 = new ChangeEntry(EChangeCategory.Added, "Quest improvements", list128); - span62[1] = new ChangeEntry(EChangeCategory.Fixed, "Fixed abandoned quest check and priority list issues"); - reference126 = new ChangelogEntry("6.13", releaseDate61, list127); - ref ChangelogEntry reference128 = ref span[61]; - DateOnly releaseDate62 = new DateOnly(2025, 10, 7); - num2 = 4; + CollectionsMarshal.AsSpan(list127)[0] = new ChangeEntry(EChangeCategory.Changed, "Reworked kill count combat handling - combat and enemy kills are now processed instantly"); + reference126 = new ChangelogEntry("6.28", releaseDate51, list127); + ref ChangelogEntry reference127 = ref span[51]; + DateOnly releaseDate52 = new DateOnly(2025, 10, 18); + num2 = 2; + List list128 = new List(num2); + CollectionsMarshal.SetCount(list128, num2); + Span span63 = CollectionsMarshal.AsSpan(list128); + span63[0] = new ChangeEntry(EChangeCategory.Changed, "Improved Aether Current checking logic"); + span63[1] = new ChangeEntry(EChangeCategory.Fixed, "Fixed Chocobo Taxi Stand CheckSkip error and Patch 7.3 Fantasia unlock quest date/time"); + reference127 = new ChangelogEntry("6.27", releaseDate52, list128); + ref ChangelogEntry reference128 = ref span[52]; + DateOnly releaseDate53 = new DateOnly(2025, 10, 18); + num2 = 1; List list129 = new List(num2); CollectionsMarshal.SetCount(list129, num2); - Span span64 = CollectionsMarshal.AsSpan(list129); - ref ChangeEntry reference129 = ref span64[0]; - num3 = 4; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - Span span65 = CollectionsMarshal.AsSpan(list130); - span65[0] = "FATE combat handling with auto level syncing"; - span65[1] = "Start accepted quests from journal with 'Start as next quest'"; - span65[2] = "Update quest tracking when quests are hidden or prioritised in game"; - span65[3] = "QuestMap as a recommended plugin/dependency"; - reference129 = new ChangeEntry(EChangeCategory.Added, "FATE and quest tracking", list130); - ref ChangeEntry reference130 = ref span64[1]; - num3 = 3; - List list131 = new List(num3); - CollectionsMarshal.SetCount(list131, num3); - Span span66 = CollectionsMarshal.AsSpan(list131); - span66[0] = "Always prioritise next quest during teleportation/zone transitions"; - span66[1] = "Improved accepted quest logic with abandoned quest detection"; - span66[2] = "Show quests without quest paths as Locked"; - reference130 = new ChangeEntry(EChangeCategory.Changed, "Quest prioritisation improvements", list131); - span64[2] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Deep Dungeon, Hildibrand, Yok Huy, Monster Hunter Wilds Collab, and Doman Enclave quests"); - span64[3] = new ChangeEntry(EChangeCategory.Fixed, "Fixed accepted/active quest display and Hildibrand quest issues"); - reference128 = new ChangelogEntry("6.12", releaseDate62, list129); - ref ChangelogEntry reference131 = ref span[62]; - DateOnly releaseDate63 = new DateOnly(2025, 10, 3); + CollectionsMarshal.AsSpan(list129)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy rank 4 quests"); + reference128 = new ChangelogEntry("6.26", releaseDate53, list129); + ref ChangelogEntry reference129 = ref span[53]; + DateOnly releaseDate54 = new DateOnly(2025, 10, 17); + num2 = 1; + List list130 = new List(num2); + CollectionsMarshal.SetCount(list130, num2); + CollectionsMarshal.AsSpan(list130)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added All Saints' Wake 2025 quests and 7.35 Yok Huy rank 4 quests"); + reference129 = new ChangelogEntry("6.25", releaseDate54, list130); + ref ChangelogEntry reference130 = ref span[54]; + DateOnly releaseDate55 = new DateOnly(2025, 10, 16); + num2 = 1; + List list131 = new List(num2); + CollectionsMarshal.SetCount(list131, num2); + CollectionsMarshal.AsSpan(list131)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy rank 4 quests and Deep Dungeon quest"); + reference130 = new ChangelogEntry("6.24", releaseDate55, list131); + ref ChangelogEntry reference131 = ref span[55]; + DateOnly releaseDate56 = new DateOnly(2025, 10, 13); num2 = 1; List list132 = new List(num2); CollectionsMarshal.SetCount(list132, num2); - CollectionsMarshal.AsSpan(list132)[0] = new ChangeEntry(EChangeCategory.Changed, "Added remaining checks for quest priority to prevent infinite teleport looping"); - reference131 = new ChangelogEntry("6.11", releaseDate63, list132); - ref ChangelogEntry reference132 = ref span[63]; - DateOnly releaseDate64 = new DateOnly(2025, 10, 2); - num2 = 1; + CollectionsMarshal.AsSpan(list132)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy rank 3 quest (Larder Logistics)"); + reference131 = new ChangelogEntry("6.23", releaseDate56, list132); + ref ChangelogEntry reference132 = ref span[56]; + DateOnly releaseDate57 = new DateOnly(2025, 10, 12); + num2 = 3; List list133 = new List(num2); CollectionsMarshal.SetCount(list133, num2); - ref ChangeEntry reference133 = ref CollectionsMarshal.AsSpan(list133)[0]; - num3 = 2; - List list134 = new List(num3); - CollectionsMarshal.SetCount(list134, num3); - Span span67 = CollectionsMarshal.AsSpan(list134); - span67[0] = "Don't show quests as available if player doesn't meet level requirements"; - span67[1] = "Updated 'required for MSQ' text in Crystal Tower quest preset window"; - reference133 = new ChangeEntry(EChangeCategory.Changed, "Quest window improvements", list134); - reference132 = new ChangelogEntry("6.10", releaseDate64, list133); - ref ChangelogEntry reference134 = ref span[64]; - DateOnly releaseDate65 = new DateOnly(2025, 9, 21); - num2 = 5; + Span span64 = CollectionsMarshal.AsSpan(list133); + span64[0] = new ChangeEntry(EChangeCategory.Changed, "Prevent disabled or Locked quests from being started as 'Start as next quest'"); + span64[1] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy rank 3 quests"); + span64[2] = new ChangeEntry(EChangeCategory.Fixed, "Fixed Yok Huy quest and journal quest chain priority issues"); + reference132 = new ChangelogEntry("6.22", releaseDate57, list133); + ref ChangelogEntry reference133 = ref span[57]; + DateOnly releaseDate58 = new DateOnly(2025, 10, 12); + num2 = 2; + List list134 = new List(num2); + CollectionsMarshal.SetCount(list134, num2); + Span span65 = CollectionsMarshal.AsSpan(list134); + span65[0] = new ChangeEntry(EChangeCategory.Added, "Added expansion abbreviation to journal window"); + span65[1] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy rank 3 quests"); + reference133 = new ChangelogEntry("6.21", releaseDate58, list134); + ref ChangelogEntry reference134 = ref span[58]; + DateOnly releaseDate59 = new DateOnly(2025, 10, 10); + num2 = 2; List list135 = new List(num2); CollectionsMarshal.SetCount(list135, num2); - Span span68 = CollectionsMarshal.AsSpan(list135); - ref ChangeEntry reference135 = ref span68[0]; - num3 = 4; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - Span span69 = CollectionsMarshal.AsSpan(list136); - span69[0] = "Reworked event quest handling - automatically displays when events are active"; - span69[1] = "Reworked journal system with improved filtering and display"; - span69[2] = "Reworked Priority Quests tab (Manual Priority and Quest Presets)"; - span69[3] = "Quest path viewer site (https://wigglymuffin.github.io/FFXIV-Tools/)"; - reference135 = new ChangeEntry(EChangeCategory.Added, "Major system reworks", list136); - ref ChangeEntry reference136 = ref span68[1]; - num3 = 4; - List list137 = new List(num3); - CollectionsMarshal.SetCount(list137, num3); - Span span70 = CollectionsMarshal.AsSpan(list137); - span70[0] = "Questionable.IsQuestCompleted"; - span70[1] = "Questionable.IsQuestAvailable"; - span70[2] = "Questionable.IsQuestAccepted"; - span70[3] = "Questionable.IsQuestUnobtainable"; - reference136 = new ChangeEntry(EChangeCategory.Added, "New IPC commands", list137); - ref ChangeEntry reference137 = ref span68[2]; - num3 = 5; - List list138 = new List(num3); - CollectionsMarshal.SetCount(list138, num3); - Span span71 = CollectionsMarshal.AsSpan(list138); - span71[0] = "Improved JSON quest validation with specific error reasons"; - span71[1] = "Added stop at sequence stop condition"; - span71[2] = "Improved Pandora plugin conflict detection"; - span71[3] = "Improved DialogueChoices regex matching"; - span71[4] = "Improved refresh checker for all quest states"; - reference137 = new ChangeEntry(EChangeCategory.Changed, "Various improvements", list138); - span68[3] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.31 Occult Crescent quests"); - span68[4] = new ChangeEntry(EChangeCategory.Fixed, "Fixed cutscene crashes, Single Player Duty triggers, and various quest issues"); - reference134 = new ChangelogEntry("6.9", releaseDate65, list135); - ref ChangelogEntry reference138 = ref span[65]; - DateOnly releaseDate66 = new DateOnly(2025, 9, 2); - num2 = 4; + Span span66 = CollectionsMarshal.AsSpan(list135); + span66[0] = new ChangeEntry(EChangeCategory.Changed, "Allow completed repeatable quests to be used with 'Add quest and requirements to priority' feature"); + span66[1] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy rank 1 quest (A Work of Cart)"); + reference134 = new ChangelogEntry("6.20", releaseDate59, list135); + ref ChangelogEntry reference135 = ref span[59]; + DateOnly releaseDate60 = new DateOnly(2025, 10, 9); + num2 = 3; + List list136 = new List(num2); + CollectionsMarshal.SetCount(list136, num2); + Span span67 = CollectionsMarshal.AsSpan(list136); + span67[0] = new ChangeEntry(EChangeCategory.Added, "Added config to batch Allied Society quest turn-ins"); + span67[1] = new ChangeEntry(EChangeCategory.Changed, "Repeatable quests now show correct availability state in journal"); + span67[2] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy rank 2 quests"); + reference135 = new ChangelogEntry("6.19", releaseDate60, list136); + ref ChangelogEntry reference136 = ref span[60]; + DateOnly releaseDate61 = new DateOnly(2025, 10, 9); + num2 = 2; + List list137 = new List(num2); + CollectionsMarshal.SetCount(list137, num2); + Span span68 = CollectionsMarshal.AsSpan(list137); + span68[0] = new ChangeEntry(EChangeCategory.Changed, "Show once completed quests with improved state display"); + span68[1] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy daily quest and improvements to various Yok Huy quests"); + reference136 = new ChangelogEntry("6.18", releaseDate61, list137); + ref ChangelogEntry reference137 = ref span[61]; + DateOnly releaseDate62 = new DateOnly(2025, 10, 8); + num2 = 1; + List list138 = new List(num2); + CollectionsMarshal.SetCount(list138, num2); + CollectionsMarshal.AsSpan(list138)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy rank 1 and rank 2 quests"); + reference137 = new ChangelogEntry("6.17", releaseDate62, list138); + ref ChangelogEntry reference138 = ref span[62]; + DateOnly releaseDate63 = new DateOnly(2025, 10, 8); + num2 = 1; List list139 = new List(num2); CollectionsMarshal.SetCount(list139, num2); - Span span72 = CollectionsMarshal.AsSpan(list139); - ref ChangeEntry reference139 = ref span72[0]; - num3 = 4; - List list140 = new List(num3); - CollectionsMarshal.SetCount(list140, num3); - Span span73 = CollectionsMarshal.AsSpan(list140); - span73[0] = "Help commands and priority quest command"; - span73[1] = "Prevent 'CompleteQuest' step setting"; - span73[2] = "Duty counts and controls in 'Quest Battles' tab"; - span73[3] = "'Refresh quest timer' setting (WIP)"; - reference139 = new ChangeEntry(EChangeCategory.Added, "Command and UI improvements", list140); - span72[1] = new ChangeEntry(EChangeCategory.Changed, "Improved 'Clear All' buttons to require CTRL being held"); - span72[2] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added Zodiac quests and 7.31 Cosmic/Occult Crescent quests"); - span72[3] = new ChangeEntry(EChangeCategory.Fixed, "Fixed Fishing for Friendship and Cosmic Exploration quests"); - reference138 = new ChangelogEntry("6.8", releaseDate66, list139); - ref ChangelogEntry reference140 = ref span[66]; - DateOnly releaseDate67 = new DateOnly(2025, 8, 27); - num2 = 4; + CollectionsMarshal.AsSpan(list139)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Deep Dungeon quest (Faerie Tale)"); + reference138 = new ChangelogEntry("6.16", releaseDate63, list139); + ref ChangelogEntry reference139 = ref span[63]; + DateOnly releaseDate64 = new DateOnly(2025, 10, 8); + num2 = 2; + List list140 = new List(num2); + CollectionsMarshal.SetCount(list140, num2); + Span span69 = CollectionsMarshal.AsSpan(list140); + span69[0] = new ChangeEntry(EChangeCategory.Changed, "Dalamud cleanup"); + span69[1] = new ChangeEntry(EChangeCategory.Fixed, "Fixed quest level requirement check log spam"); + reference139 = new ChangelogEntry("6.15", releaseDate64, list140); + ref ChangelogEntry reference140 = ref span[64]; + DateOnly releaseDate65 = new DateOnly(2025, 10, 8); + num2 = 1; List list141 = new List(num2); CollectionsMarshal.SetCount(list141, num2); - Span span74 = CollectionsMarshal.AsSpan(list141); - ref ChangeEntry reference141 = ref span74[0]; - num3 = 2; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - Span span75 = CollectionsMarshal.AsSpan(list142); - span75[0] = "Icon to 'Clear All' button in stop conditions"; - span75[1] = "Duty counts and 'Enable All' button in 'Duties' tab"; - reference141 = new ChangeEntry(EChangeCategory.Added, "UI improvements", list142); - span74[1] = new ChangeEntry(EChangeCategory.Changed, "Renamed 'Clear' button to 'Clear All' in priority window"); - span74[2] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added Rising 2025 Event Quests"); - span74[3] = new ChangeEntry(EChangeCategory.Fixed, "Fixed clipboard assigning blacklist to whitelist in 'Duties' tab"); - reference140 = new ChangelogEntry("6.7", releaseDate67, list141); - ref ChangelogEntry reference142 = ref span[67]; - DateOnly releaseDate68 = new DateOnly(2025, 8, 25); + CollectionsMarshal.AsSpan(list141)[0] = new ChangeEntry(EChangeCategory.Fixed, "Fixed abandoned quest check logic if quest were MSQ"); + reference140 = new ChangelogEntry("6.14", releaseDate65, list141); + ref ChangelogEntry reference141 = ref span[65]; + DateOnly releaseDate66 = new DateOnly(2025, 10, 8); num2 = 2; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - Span span76 = CollectionsMarshal.AsSpan(list143); - ref ChangeEntry reference143 = ref span76[0]; + List list142 = new List(num2); + CollectionsMarshal.SetCount(list142, num2); + Span span70 = CollectionsMarshal.AsSpan(list142); + ref ChangeEntry reference142 = ref span70[0]; + num3 = 3; + List list143 = new List(num3); + CollectionsMarshal.SetCount(list143, num3); + Span span71 = CollectionsMarshal.AsSpan(list143); + span71[0] = "Context menu option to add required quests and their chain to priority list"; + span71[1] = "AetheryteShortcut to multiple quests"; + span71[2] = "Artisan as a recommended plugin/dependency"; + reference142 = new ChangeEntry(EChangeCategory.Added, "Quest improvements", list143); + span70[1] = new ChangeEntry(EChangeCategory.Fixed, "Fixed abandoned quest check and priority list issues"); + reference141 = new ChangelogEntry("6.13", releaseDate66, list142); + ref ChangelogEntry reference143 = ref span[66]; + DateOnly releaseDate67 = new DateOnly(2025, 10, 7); + num2 = 4; + List list144 = new List(num2); + CollectionsMarshal.SetCount(list144, num2); + Span span72 = CollectionsMarshal.AsSpan(list144); + ref ChangeEntry reference144 = ref span72[0]; + num3 = 4; + List list145 = new List(num3); + CollectionsMarshal.SetCount(list145, num3); + Span span73 = CollectionsMarshal.AsSpan(list145); + span73[0] = "FATE combat handling with auto level syncing"; + span73[1] = "Start accepted quests from journal with 'Start as next quest'"; + span73[2] = "Update quest tracking when quests are hidden or prioritised in game"; + span73[3] = "QuestMap as a recommended plugin/dependency"; + reference144 = new ChangeEntry(EChangeCategory.Added, "FATE and quest tracking", list145); + ref ChangeEntry reference145 = ref span72[1]; + num3 = 3; + List list146 = new List(num3); + CollectionsMarshal.SetCount(list146, num3); + Span span74 = CollectionsMarshal.AsSpan(list146); + span74[0] = "Always prioritise next quest during teleportation/zone transitions"; + span74[1] = "Improved accepted quest logic with abandoned quest detection"; + span74[2] = "Show quests without quest paths as Locked"; + reference145 = new ChangeEntry(EChangeCategory.Changed, "Quest prioritisation improvements", list146); + span72[2] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Deep Dungeon, Hildibrand, Yok Huy, Monster Hunter Wilds Collab, and Doman Enclave quests"); + span72[3] = new ChangeEntry(EChangeCategory.Fixed, "Fixed accepted/active quest display and Hildibrand quest issues"); + reference143 = new ChangelogEntry("6.12", releaseDate67, list144); + ref ChangelogEntry reference146 = ref span[67]; + DateOnly releaseDate68 = new DateOnly(2025, 10, 3); + num2 = 1; + List list147 = new List(num2); + CollectionsMarshal.SetCount(list147, num2); + CollectionsMarshal.AsSpan(list147)[0] = new ChangeEntry(EChangeCategory.Changed, "Added remaining checks for quest priority to prevent infinite teleport looping"); + reference146 = new ChangelogEntry("6.11", releaseDate68, list147); + ref ChangelogEntry reference147 = ref span[68]; + DateOnly releaseDate69 = new DateOnly(2025, 10, 2); + num2 = 1; + List list148 = new List(num2); + CollectionsMarshal.SetCount(list148, num2); + ref ChangeEntry reference148 = ref CollectionsMarshal.AsSpan(list148)[0]; num3 = 2; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - Span span77 = CollectionsMarshal.AsSpan(list144); - span77[0] = "Missing emotes to schema and emote handler"; - span77[1] = "Improved stop conditions with 'Clear All' button"; - reference143 = new ChangeEntry(EChangeCategory.Added, "Emote support and stop conditions", list144); - span76[1] = new ChangeEntry(EChangeCategory.Changed, "Stop at level functionality"); - reference142 = new ChangelogEntry("6.6", releaseDate68, list143); - ref ChangelogEntry reference144 = ref span[68]; - DateOnly releaseDate69 = new DateOnly(2025, 8, 25); + List list149 = new List(num3); + CollectionsMarshal.SetCount(list149, num3); + Span span75 = CollectionsMarshal.AsSpan(list149); + span75[0] = "Don't show quests as available if player doesn't meet level requirements"; + span75[1] = "Updated 'required for MSQ' text in Crystal Tower quest preset window"; + reference148 = new ChangeEntry(EChangeCategory.Changed, "Quest window improvements", list149); + reference147 = new ChangelogEntry("6.10", releaseDate69, list148); + ref ChangelogEntry reference149 = ref span[69]; + DateOnly releaseDate70 = new DateOnly(2025, 9, 21); + num2 = 5; + List list150 = new List(num2); + CollectionsMarshal.SetCount(list150, num2); + Span span76 = CollectionsMarshal.AsSpan(list150); + ref ChangeEntry reference150 = ref span76[0]; + num3 = 4; + List list151 = new List(num3); + CollectionsMarshal.SetCount(list151, num3); + Span span77 = CollectionsMarshal.AsSpan(list151); + span77[0] = "Reworked event quest handling - automatically displays when events are active"; + span77[1] = "Reworked journal system with improved filtering and display"; + span77[2] = "Reworked Priority Quests tab (Manual Priority and Quest Presets)"; + span77[3] = "Quest path viewer site (https://wigglymuffin.github.io/FFXIV-Tools/)"; + reference150 = new ChangeEntry(EChangeCategory.Added, "Major system reworks", list151); + ref ChangeEntry reference151 = ref span76[1]; + num3 = 4; + List list152 = new List(num3); + CollectionsMarshal.SetCount(list152, num3); + Span span78 = CollectionsMarshal.AsSpan(list152); + span78[0] = "Questionable.IsQuestCompleted"; + span78[1] = "Questionable.IsQuestAvailable"; + span78[2] = "Questionable.IsQuestAccepted"; + span78[3] = "Questionable.IsQuestUnobtainable"; + reference151 = new ChangeEntry(EChangeCategory.Added, "New IPC commands", list152); + ref ChangeEntry reference152 = ref span76[2]; + num3 = 5; + List list153 = new List(num3); + CollectionsMarshal.SetCount(list153, num3); + Span span79 = CollectionsMarshal.AsSpan(list153); + span79[0] = "Improved JSON quest validation with specific error reasons"; + span79[1] = "Added stop at sequence stop condition"; + span79[2] = "Improved Pandora plugin conflict detection"; + span79[3] = "Improved DialogueChoices regex matching"; + span79[4] = "Improved refresh checker for all quest states"; + reference152 = new ChangeEntry(EChangeCategory.Changed, "Various improvements", list153); + span76[3] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.31 Occult Crescent quests"); + span76[4] = new ChangeEntry(EChangeCategory.Fixed, "Fixed cutscene crashes, Single Player Duty triggers, and various quest issues"); + reference149 = new ChangelogEntry("6.9", releaseDate70, list150); + ref ChangelogEntry reference153 = ref span[70]; + DateOnly releaseDate71 = new DateOnly(2025, 9, 2); + num2 = 4; + List list154 = new List(num2); + CollectionsMarshal.SetCount(list154, num2); + Span span80 = CollectionsMarshal.AsSpan(list154); + ref ChangeEntry reference154 = ref span80[0]; + num3 = 3; + List list155 = new List(num3); + CollectionsMarshal.SetCount(list155, num3); + Span span81 = CollectionsMarshal.AsSpan(list155); + span81[0] = "Help commands and priority quest command"; + span81[1] = "Prevent 'CompleteQuest' step setting"; + span81[2] = "Duty counts and controls in 'Quest Battles' tab"; + reference154 = new ChangeEntry(EChangeCategory.Added, "Command and UI improvements", list155); + span80[1] = new ChangeEntry(EChangeCategory.Changed, "Improved 'Clear All' buttons to require CTRL being held"); + span80[2] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added Zodiac quests and 7.31 Cosmic/Occult Crescent quests"); + span80[3] = new ChangeEntry(EChangeCategory.Fixed, "Fixed Fishing for Friendship and Cosmic Exploration quests"); + reference153 = new ChangelogEntry("6.8", releaseDate71, list154); + ref ChangelogEntry reference155 = ref span[71]; + DateOnly releaseDate72 = new DateOnly(2025, 8, 27); + num2 = 4; + List list156 = new List(num2); + CollectionsMarshal.SetCount(list156, num2); + Span span82 = CollectionsMarshal.AsSpan(list156); + ref ChangeEntry reference156 = ref span82[0]; + num3 = 2; + List list157 = new List(num3); + CollectionsMarshal.SetCount(list157, num3); + Span span83 = CollectionsMarshal.AsSpan(list157); + span83[0] = "Icon to 'Clear All' button in stop conditions"; + span83[1] = "Duty counts and 'Enable All' button in 'Duties' tab"; + reference156 = new ChangeEntry(EChangeCategory.Added, "UI improvements", list157); + span82[1] = new ChangeEntry(EChangeCategory.Changed, "Renamed 'Clear' button to 'Clear All' in priority window"); + span82[2] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added Rising 2025 Event Quests"); + span82[3] = new ChangeEntry(EChangeCategory.Fixed, "Fixed clipboard assigning blacklist to whitelist in 'Duties' tab"); + reference155 = new ChangelogEntry("6.7", releaseDate72, list156); + ref ChangelogEntry reference157 = ref span[72]; + DateOnly releaseDate73 = new DateOnly(2025, 8, 25); num2 = 2; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - Span span78 = CollectionsMarshal.AsSpan(list145); - span78[0] = new ChangeEntry(EChangeCategory.Fixed, "Potential fix to single/solo duties softlocking"); - span78[1] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added San d'Oria: The Second Walk and various side quests"); - reference144 = new ChangelogEntry("6.5", releaseDate69, list145); + List list158 = new List(num2); + CollectionsMarshal.SetCount(list158, num2); + Span span84 = CollectionsMarshal.AsSpan(list158); + ref ChangeEntry reference158 = ref span84[0]; + num3 = 2; + List list159 = new List(num3); + CollectionsMarshal.SetCount(list159, num3); + Span span85 = CollectionsMarshal.AsSpan(list159); + span85[0] = "Missing emotes to schema and emote handler"; + span85[1] = "Improved stop conditions with 'Clear All' button"; + reference158 = new ChangeEntry(EChangeCategory.Added, "Emote support and stop conditions", list159); + span84[1] = new ChangeEntry(EChangeCategory.Changed, "Stop at level functionality"); + reference157 = new ChangelogEntry("6.6", releaseDate73, list158); + ref ChangelogEntry reference159 = ref span[73]; + DateOnly releaseDate74 = new DateOnly(2025, 8, 25); + num2 = 2; + List list160 = new List(num2); + CollectionsMarshal.SetCount(list160, num2); + Span span86 = CollectionsMarshal.AsSpan(list160); + span86[0] = new ChangeEntry(EChangeCategory.Fixed, "Potential fix to single/solo duties softlocking"); + span86[1] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added San d'Oria: The Second Walk and various side quests"); + reference159 = new ChangelogEntry("6.5", releaseDate74, list160); Changelogs = list; } } diff --git a/Questionable/Questionable.Data/ClassJobUtils.cs b/Questionable/Questionable.Data/ClassJobUtils.cs index 87e464d..51becbb 100644 --- a/Questionable/Questionable.Data/ClassJobUtils.cs +++ b/Questionable/Questionable.Data/ClassJobUtils.cs @@ -5,7 +5,6 @@ using System.Linq; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Application.Network.WorkDefinitions; using FFXIVClientStructs.FFXIV.Client.Game; -using FFXIVClientStructs.FFXIV.Client.Game.UI; using FFXIVClientStructs.FFXIV.Client.UI.Misc; using LLib.GameData; using Lumina.Excel.Sheets; @@ -121,6 +120,8 @@ internal sealed class ClassJobUtils return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Viper); case EExtendedClassJob.Pictomancer: return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Pictomancer); + case EExtendedClassJob.Beastmaster: + return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Beastmaster); case EExtendedClassJob.DoW: return from x in Enum.GetValues() where x.DealsPhysicalDamage() @@ -219,15 +220,14 @@ internal sealed class ClassJobUtils private unsafe ReadOnlyCollection<(EClassJob ClassJob, short Level, short ItemLevel)> GetCombatJobGearSets() { List<(EClassJob, short, short)> list = new List<(EClassJob, short, short)>(); - PlayerState* ptr = PlayerState.Instance(); - RaptureGearsetModule* ptr2 = RaptureGearsetModule.Instance(); - if (ptr == null || ptr2 == null) + RaptureGearsetModule* ptr = RaptureGearsetModule.Instance(); + if (ptr == null) { return list.AsReadOnly(); } for (int i = 0; i < 100; i++) { - RaptureGearsetModule.GearsetEntry* gearset = ptr2->GetGearset(i); + RaptureGearsetModule.GearsetEntry* gearset = ptr->GetGearset(i); if (!gearset->Flags.HasFlag(RaptureGearsetModule.GearsetFlag.Exists)) { continue; @@ -235,11 +235,11 @@ internal sealed class ClassJobUtils EClassJob classJob = (EClassJob)gearset->ClassJob; if (!classJob.IsCrafter() && !classJob.IsGatherer()) { - short num = ptr->ClassJobLevels[_classJobToExpArrayIndex[classJob]]; - if (num != 0) + short classJobLevel = PlayerStateHelper.GetClassJobLevel(_classJobToExpArrayIndex[classJob]); + if (classJobLevel != 0) { short itemLevel = gearset->ItemLevel; - list.Add((classJob, num, itemLevel)); + list.Add((classJob, classJobLevel, itemLevel)); } } } diff --git a/Questionable/Questionable.Data/DutyEntry.cs b/Questionable/Questionable.Data/DutyEntry.cs new file mode 100644 index 0000000..f299f31 --- /dev/null +++ b/Questionable/Questionable.Data/DutyEntry.cs @@ -0,0 +1,5 @@ +using Questionable.Model.Questing; + +namespace Questionable.Data; + +public record DutyEntry(bool Enabled, EDutyMode? DutyMode = null, bool LowPriority = false, string? TestedAutoDutyVersion = null, string? TestedBossModVersion = null, params string[] Notes); diff --git a/Questionable/Questionable.Data/DutyRegistry.cs b/Questionable/Questionable.Data/DutyRegistry.cs new file mode 100644 index 0000000..284a1ed --- /dev/null +++ b/Questionable/Questionable.Data/DutyRegistry.cs @@ -0,0 +1,1343 @@ +using System.Collections.Generic; +using Questionable.Model.Questing; + +namespace Questionable.Data; + +internal static class DutyRegistry +{ + public static readonly Dictionary Duties; + + public static readonly Dictionary SinglePlayerDuties; + + static DutyRegistry() + { + Dictionary dictionary = new Dictionary + { + [1u] = new DutyEntry(true, null, false, null, null), + [2u] = new DutyEntry(true, null, false, null, null), + [3u] = new DutyEntry(true, null, false, null, null), + [4u] = new DutyEntry(true, null, false, null, null), + [5u] = new DutyEntry(true, EDutyMode.UnsyncSolo, false, null, null) + }; + string[] notes = new string[1] { "(after boss 2) Will not pick up the bloody parchment, and instead run off to open a random unrelated chest that it can't reach" }; + dictionary[6u] = new DutyEntry(Enabled: false, null, LowPriority: false, null, null, notes); + notes = new string[1] { "(boss 2) Will walk out of the boss arena to try and attack optional enemies on the upper level, thus resetting the boss and breaking the path" }; + dictionary[8u] = new DutyEntry(Enabled: false, null, LowPriority: false, null, null, notes); + dictionary[10u] = new DutyEntry(true, null, false, null, null); + notes = new string[2] { "(boss 1) AI will not face cleaves away from healer, typically killing them", "(boss 3) AI will not face cleaves away from healer, which doesn't always kill them" }; + dictionary[11u] = new DutyEntry(Enabled: false, null, LowPriority: false, null, null, notes); + dictionary[13u] = new DutyEntry(true, EDutyMode.UnsyncSolo, false, null, null); + dictionary[14u] = new DutyEntry(true, EDutyMode.UnsyncSolo, false, null, null); + dictionary[15u] = new DutyEntry(true, null, false, null, null); + dictionary[16u] = new DutyEntry(true, null, false, null, null); + dictionary[17u] = new DutyEntry(true, EDutyMode.UnsyncSolo, false, null, null); + dictionary[18u] = new DutyEntry(true, null, false, null, null); + dictionary[19u] = new DutyEntry(true, EDutyMode.UnsyncSolo, false, null, null); + dictionary[20u] = new DutyEntry(true, EDutyMode.UnsyncSolo, false, null, null); + dictionary[21u] = new DutyEntry(true, EDutyMode.UnsyncSolo, false, null, null); + dictionary[22u] = new DutyEntry(true, EDutyMode.UnsyncSolo, false, null, null); + dictionary[23u] = new DutyEntry(true, null, false, null, null); + dictionary[24u] = new DutyEntry(true, EDutyMode.UnsyncSolo, false, null, null); + dictionary[25u] = new DutyEntry(true, EDutyMode.UnsyncSolo, false, null, null); + dictionary[26u] = new DutyEntry(true, null, false, null, null); + dictionary[27u] = new DutyEntry(true, EDutyMode.UnsyncSolo, false, null, null); + dictionary[28u] = new DutyEntry(true, EDutyMode.UnsyncSolo, false, null, null); + dictionary[31u] = new DutyEntry(true, null, false, null, null); + dictionary[32u] = new DutyEntry(true, null, false, null, null); + dictionary[34u] = new DutyEntry(true, null, false, null, null); + dictionary[36u] = new DutyEntry(false, null, true, null, null); + dictionary[37u] = new DutyEntry(true, null, false, null, null); + dictionary[38u] = new DutyEntry(true, null, false, null, null); + dictionary[39u] = new DutyEntry(true, null, false, null, null); + dictionary[56u] = new DutyEntry(true, null, false, null, null); + dictionary[57u] = new DutyEntry(true, null, false, null, null); + dictionary[58u] = new DutyEntry(true, null, false, null, null); + dictionary[59u] = new DutyEntry(false, null, false, null, null); + dictionary[60u] = new DutyEntry(false, null, false, null, null); + dictionary[61u] = new DutyEntry(false, null, false, null, null); + dictionary[63u] = new DutyEntry(false, null, false, null, null); + dictionary[64u] = new DutyEntry(false, null, false, null, null); + dictionary[65u] = new DutyEntry(false, null, false, null, null); + dictionary[66u] = new DutyEntry(false, null, false, null, null); + dictionary[72u] = new DutyEntry(false, null, false, null, null); + dictionary[74u] = new DutyEntry(false, null, false, null, null); + dictionary[75u] = new DutyEntry(false, null, false, null, null); + dictionary[76u] = new DutyEntry(false, null, false, null, null); + dictionary[77u] = new DutyEntry(false, null, false, null, null); + dictionary[78u] = new DutyEntry(false, null, false, null, null); + dictionary[79u] = new DutyEntry(false, null, false, null, null); + dictionary[80u] = new DutyEntry(false, null, false, null, null); + dictionary[81u] = new DutyEntry(false, null, false, null, null); + dictionary[82u] = new DutyEntry(false, null, false, null, null); + dictionary[84u] = new DutyEntry(false, null, false, null, null); + dictionary[85u] = new DutyEntry(false, null, false, null, null); + dictionary[86u] = new DutyEntry(false, null, false, null, null); + dictionary[87u] = new DutyEntry(false, null, false, null, null); + dictionary[88u] = new DutyEntry(false, null, false, null, null); + dictionary[89u] = new DutyEntry(false, null, false, null, null); + dictionary[90u] = new DutyEntry(false, null, false, null, null); + dictionary[92u] = new DutyEntry(false, null, true, null, null); + dictionary[102u] = new DutyEntry(false, null, true, null, null); + dictionary[111u] = new DutyEntry(false, null, true, null, null); + dictionary[112u] = new DutyEntry(false, null, false, null, null); + dictionary[113u] = new DutyEntry(false, null, false, null, null); + dictionary[114u] = new DutyEntry(false, null, false, null, null); + dictionary[115u] = new DutyEntry(false, null, false, null, null); + dictionary[120u] = new DutyEntry(false, null, false, null, null); + dictionary[134u] = new DutyEntry(false, null, false, null, null); + dictionary[136u] = new DutyEntry(false, null, false, null, null); + dictionary[137u] = new DutyEntry(false, null, false, null, null); + dictionary[138u] = new DutyEntry(false, null, false, null, null); + dictionary[139u] = new DutyEntry(false, null, false, null, null); + dictionary[141u] = new DutyEntry(true, null, false, "0.0.0.191", null); + dictionary[168u] = new DutyEntry(false, null, false, null, null); + dictionary[169u] = new DutyEntry(false, null, false, null, null); + notes = new string[2] { "(boss 1) Doesn't knock all moogles out of the rez area", "(boss 3) Stack goal zone isn't properly removed from NPC, so the character will stack even for spread markers + slide into AOEs during ice" }; + dictionary[171u] = new DutyEntry(Enabled: false, null, LowPriority: false, "0.0.0.227", "0.3.0.5", notes); + notes = new string[2] { "(after boss 1) the drawbridges being up will lead you to die from the spikes", "(after boss 1) the lift isn't working properly" }; + dictionary[182u] = new DutyEntry(Enabled: false, null, LowPriority: false, null, null, notes); + dictionary[183u] = new DutyEntry(false, null, false, null, null); + dictionary[186u] = new DutyEntry(false, null, false, null, null); + dictionary[187u] = new DutyEntry(false, null, false, null, null); + dictionary[188u] = new DutyEntry(false, null, false, null, null); + dictionary[189u] = new DutyEntry(false, null, false, null, null); + dictionary[196u] = new DutyEntry(false, null, false, null, null); + dictionary[219u] = new DutyEntry(true, null, false, null, null); + dictionary[220u] = new DutyEntry(false, null, false, null, null); + dictionary[223u] = new DutyEntry(false, null, false, null, null); + dictionary[235u] = new DutyEntry(false, null, true, null, null); + dictionary[238u] = new DutyEntry(true, null, false, null, null); + dictionary[239u] = new DutyEntry(false, null, false, null, null); + dictionary[240u] = new DutyEntry(false, null, false, null, null); + dictionary[241u] = new DutyEntry(true, null, false, null, null); + notes = new string[2] { "(before boss 2) AD doesn't attack magitek pods, but waits for enemies to spawn from them (even though it has explicit waypoints)", "(boss 2) VBM moves out of the towers before their mechanic is resolved, sometimes killing the NPC healer" }; + dictionary[242u] = new DutyEntry(Enabled: true, null, LowPriority: false, null, null, notes); + dictionary[243u] = new DutyEntry(false, null, false, null, null); + dictionary[247u] = new DutyEntry(false, null, false, null, null); + dictionary[252u] = new DutyEntry(false, null, false, null, null); + dictionary[253u] = new DutyEntry(false, null, false, null, null); + dictionary[254u] = new DutyEntry(false, null, false, null, null); + dictionary[255u] = new DutyEntry(false, null, false, null, null); + dictionary[263u] = new DutyEntry(false, null, false, null, null); + dictionary[279u] = new DutyEntry(true, null, false, null, null); + dictionary[281u] = new DutyEntry(false, null, false, null, null); + dictionary[284u] = new DutyEntry(false, null, false, null, null); + dictionary[286u] = new DutyEntry(false, null, false, null, null); + dictionary[287u] = new DutyEntry(false, null, false, null, null); + dictionary[288u] = new DutyEntry(false, null, false, null, null); + dictionary[289u] = new DutyEntry(false, null, false, null, null); + dictionary[290u] = new DutyEntry(false, null, false, null, null); + dictionary[536u] = new DutyEntry(false, null, false, null, null); + dictionary[537u] = new DutyEntry(false, null, false, null, null); + dictionary[550u] = new DutyEntry(false, null, false, null, null); + dictionary[584u] = new DutyEntry(false, null, false, null, null); + dictionary[585u] = new DutyEntry(true, null, false, null, null); + dictionary[587u] = new DutyEntry(false, null, false, null, null); + dictionary[588u] = new DutyEntry(false, null, false, null, null); + dictionary[589u] = new DutyEntry(false, null, false, null, null); + dictionary[590u] = new DutyEntry(false, null, false, null, null); + dictionary[595u] = new DutyEntry(false, null, false, null, null); + dictionary[596u] = new DutyEntry(false, null, false, null, null); + dictionary[611u] = new DutyEntry(true, null, false, null, null); + dictionary[636u] = new DutyEntry(false, null, false, null, null); + dictionary[637u] = new DutyEntry(false, null, false, null, null); + dictionary[649u] = new DutyEntry(true, null, false, null, null); + dictionary[651u] = new DutyEntry(true, null, false, null, null); + dictionary[652u] = new DutyEntry(false, null, false, null, null); + dictionary[653u] = new DutyEntry(false, null, false, null, null); + dictionary[655u] = new DutyEntry(false, null, false, null, null); + dictionary[656u] = new DutyEntry(false, null, false, null, null); + dictionary[657u] = new DutyEntry(false, null, false, null, null); + dictionary[659u] = new DutyEntry(true, null, false, null, null); + dictionary[661u] = new DutyEntry(false, null, false, null, null); + dictionary[666u] = new DutyEntry(false, null, false, null, null); + dictionary[676u] = new DutyEntry(true, null, false, null, null); + dictionary[682u] = new DutyEntry(false, null, false, null, null); + dictionary[684u] = new DutyEntry(false, null, false, null, null); + dictionary[687u] = new DutyEntry(false, null, false, null, null); + dictionary[689u] = new DutyEntry(false, null, false, null, null); + dictionary[692u] = new DutyEntry(false, null, false, null, null); + dictionary[700u] = new DutyEntry(false, null, false, null, null); + dictionary[714u] = new DutyEntry(true, null, false, null, null); + dictionary[715u] = new DutyEntry(false, null, false, null, null); + dictionary[717u] = new DutyEntry(false, null, false, null, null); + dictionary[719u] = new DutyEntry(false, null, false, null, null); + dictionary[726u] = new DutyEntry(false, null, false, null, null); + dictionary[728u] = new DutyEntry(false, null, false, null, null); + dictionary[736u] = new DutyEntry(false, null, false, null, null); + dictionary[737u] = new DutyEntry(false, null, false, null, null); + dictionary[738u] = new DutyEntry(false, null, false, null, null); + dictionary[746u] = new DutyEntry(false, null, false, null, null); + dictionary[747u] = new DutyEntry(false, null, false, null, null); + dictionary[749u] = new DutyEntry(false, null, false, null, null); + dictionary[751u] = new DutyEntry(false, null, false, null, null); + dictionary[758u] = new DutyEntry(false, null, false, null, null); + dictionary[762u] = new DutyEntry(false, null, false, null, null); + dictionary[777u] = new DutyEntry(false, null, false, null, null); + dictionary[779u] = new DutyEntry(false, null, false, null, null); + dictionary[781u] = new DutyEntry(false, null, false, null, null); + dictionary[783u] = new DutyEntry(true, null, false, null, null); + dictionary[785u] = new DutyEntry(false, null, false, null, null); + notes = new string[1] { "No VBM module" }; + dictionary[786u] = new DutyEntry(Enabled: false, null, LowPriority: false, null, null, notes); + dictionary[787u] = new DutyEntry(true, null, false, null, null); + dictionary[789u] = new DutyEntry(true, null, false, null, null); + dictionary[790u] = new DutyEntry(true, null, false, null, null); + dictionary[792u] = new DutyEntry(false, null, false, null, null); + dictionary[796u] = new DutyEntry(false, null, false, null, null); + dictionary[800u] = new DutyEntry(false, null, false, null, null); + dictionary[802u] = new DutyEntry(false, null, false, null, null); + dictionary[806u] = new DutyEntry(false, null, false, null, null); + dictionary[808u] = new DutyEntry(false, null, false, null, null); + dictionary[810u] = new DutyEntry(false, null, false, null, null); + notes = new string[1] { "Navigation issues for area transitions" }; + dictionary[822u] = new DutyEntry(Enabled: false, null, LowPriority: false, null, null, notes); + dictionary[823u] = new DutyEntry(true, null, false, null, null); + dictionary[824u] = new DutyEntry(true, null, false, null, null); + dictionary[825u] = new DutyEntry(true, null, false, null, null); + dictionary[826u] = new DutyEntry(true, null, false, null, null); + dictionary[827u] = new DutyEntry(true, null, false, null, null); + dictionary[829u] = new DutyEntry(true, null, false, null, null); + dictionary[830u] = new DutyEntry(true, null, false, null, null); + dictionary[831u] = new DutyEntry(true, null, false, null, null); + dictionary[832u] = new DutyEntry(false, null, false, null, null); + dictionary[834u] = new DutyEntry(false, null, false, null, null); + notes = new string[1] { "No VBM module" }; + dictionary[844u] = new DutyEntry(Enabled: false, null, LowPriority: false, null, null, notes); + dictionary[866u] = new DutyEntry(false, null, false, null, null); + notes = new string[1] { "No VBM module" }; + dictionary[869u] = new DutyEntry(Enabled: false, null, LowPriority: false, null, null, notes); + dictionary[870u] = new DutyEntry(false, null, false, null, null); + dictionary[872u] = new DutyEntry(false, null, false, null, null); + dictionary[876u] = new DutyEntry(false, null, false, null, null); + dictionary[880u] = new DutyEntry(false, null, false, null, null); + dictionary[883u] = new DutyEntry(false, null, false, null, null); + dictionary[886u] = new DutyEntry(false, null, false, null, null); + dictionary[896u] = new DutyEntry(true, null, false, null, null); + dictionary[911u] = new DutyEntry(false, null, false, null, null); + dictionary[936u] = new DutyEntry(false, null, false, null, null); + dictionary[938u] = new DutyEntry(false, null, false, null, null); + dictionary[940u] = new DutyEntry(false, null, false, null, null); + dictionary[942u] = new DutyEntry(false, null, false, null, null); + dictionary[944u] = new DutyEntry(false, null, false, null, null); + dictionary[949u] = new DutyEntry(false, null, false, null, null); + dictionary[962u] = new DutyEntry(false, null, false, null, null); + dictionary[964u] = new DutyEntry(false, null, false, null, null); + dictionary[981u] = new DutyEntry(false, null, false, null, null); + dictionary[984u] = new DutyEntry(false, null, false, null, null); + dictionary[985u] = new DutyEntry(false, null, false, null, null); + dictionary[987u] = new DutyEntry(false, null, false, null, null); + dictionary[989u] = new DutyEntry(false, null, false, null, null); + dictionary[991u] = new DutyEntry(false, null, false, null, null); + notes = new string[1] { "No VBM module" }; + dictionary[995u] = new DutyEntry(Enabled: false, null, LowPriority: false, null, null, notes); + notes = new string[2] { "(boss 2) Requires vbm's auto-turn gaze option", "(boss 3) Dashes (such as on SMN) will dash into the hole" }; + dictionary[1008u] = new DutyEntry(Enabled: true, null, LowPriority: false, null, null, notes); + dictionary[1015u] = new DutyEntry(false, null, false, null, null); + dictionary[1019u] = new DutyEntry(false, null, false, null, null); + dictionary[1021u] = new DutyEntry(false, null, false, null, null); + dictionary[1023u] = new DutyEntry(false, null, false, null, null); + dictionary[1025u] = new DutyEntry(false, null, false, null, null); + dictionary[1027u] = new DutyEntry(true, null, false, "0.0.0.230", "0.3.2.4"); + dictionary[1028u] = new DutyEntry(false, null, false, null, null); + dictionary[1030u] = new DutyEntry(false, null, false, null, null); + dictionary[1043u] = new DutyEntry(false, null, false, null, null); + dictionary[1058u] = new DutyEntry(false, null, false, null, null); + dictionary[1061u] = new DutyEntry(false, null, false, null, null); + dictionary[1064u] = new DutyEntry(true, null, false, null, null); + dictionary[1068u] = new DutyEntry(false, null, false, null, null); + dictionary[1070u] = new DutyEntry(false, null, false, null, null); + dictionary[1072u] = new DutyEntry(false, null, false, null, null); + dictionary[1074u] = new DutyEntry(false, null, false, null, null); + dictionary[1076u] = new DutyEntry(false, null, false, null, null); + Duties = dictionary; + SinglePlayerDuties = new Dictionary + { + [55] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [56] = new SinglePlayerDutyEntry[2] + { + new SinglePlayerDutyEntry(true, 0, "0.3.2.4"), + new SinglePlayerDutyEntry(true, 1, "0.3.2.4") + }, + [68] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [70] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [71] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [76] = new SinglePlayerDutyEntry[2] + { + new SinglePlayerDutyEntry(false, 0, null), + new SinglePlayerDutyEntry(false, 1, null) + }, + [88] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292", "Will target Eline first (other NPCs later), and move to some -other- group of NPCs; only re-targets once they're at 1 HP (for Eline) or die", "If the target isn't in melee range but other NPCs are, whether any AOEs are used for nearby enemies seems random") + }, + [91] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [92] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [126] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.0.0.292", "(phase 1) AI doesn't move or pick up the stolen firearms", "(phase 1 + 2) AI automatically removes Hidden status", "(phase 2) AI only moves while targeted enemies are in range + gets stuck on corners while trying to get to irrelevant enemies", "(phase 2) AI doesn't even attempt to navigate to the end of the quest") + }, + [129] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [144] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [145] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [146] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [147] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [148] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [155] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [161] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292", "Healer NPC is only killed after the boss dies; all NPCs need to be killed for the duty to complete") + }, + [213] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [215] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [217] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [233] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [234] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [261] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [262] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [263] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [264] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [265] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.4.6.0") + }, + [288] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [313] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [317] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [318] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [319] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [320] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [336] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [343] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [350] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.3.2.4", "vbm doesn't move to the enemies automatically", "vbm doesn't interact with the urn") + }, + [351] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.3.2.4", "Duty somewhat expects you to put the boss to sleep, vbm doesn't and lets the friendly NPC die") + }, + [352] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [353] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [414] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.0.0.292", "(Phase 1, second enemy group) Stuck with enemy being out of sight -- but still able to attack you (tested on ACN)") + }, + [439] = new SinglePlayerDutyEntry[2] + { + new SinglePlayerDutyEntry(false, 0, null), + new SinglePlayerDutyEntry(false, 1, null) + }, + [440] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [441] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [445] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.0.0.292", "AI doesn't automatically target newly spawning adds until after the boss died, and dies (tested on CNJ)") + }, + [447] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292", "(Phase 1) Healer NPCs are only killed after the boss dies - allied NPCs will kill them eventually; all NPCs need to be killed for the duty to complete") + }, + [456] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [457] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [458] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [459] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [461] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [469] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [521] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.1.0.1", "(outside) Doesn't use obstacle maps or vnav to move to the shield generators, gets stuck on the big crates") + }, + [543] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.3.2.5") + }, + [544] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292", "(Phase 1) Kills PGL NPCs and then the boss - allied NPCs will kill most other NPCs eventually; all NPCs need to be killed for the duty to complete") + }, + [550] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [551] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292", "(Phase 1) Healer NPCs are only killed after the boss dies - allied NPCs will kill them eventually; all NPCs need to be killed for the duty to complete") + }, + [558] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [562] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [566] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [567] = new SinglePlayerDutyEntry[2] + { + new SinglePlayerDutyEntry(false, 0, null), + new SinglePlayerDutyEntry(false, 1, null) + }, + [586] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [601] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [660] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [680] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [681] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [682] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [724] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [782] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [811] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [912] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [941] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [967] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [983] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [1004] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [1005] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [1049] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [1054] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [1059] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1060] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1061] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1066] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1072] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1076] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1078] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1079] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1084] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1088] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.1.8") + }, + [1090] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.1.8") + }, + [1091] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1092] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1095] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1096] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1097] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1099] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1102] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1456] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [1588] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [1595] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [1597] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [1601] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292", "Will not move into melee range to kill the gate; Alphinaud will kill it after a while") + }, + [1606] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [1639] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [1644] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [1657] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [1667] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [1672] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1676] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1682] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1683] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1685] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1688] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1692] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1695] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1697] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1700] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1702] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1704] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1707] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1712] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1716] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1718] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1720] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [1725] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2013] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2016] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2017] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2019] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2023] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2025] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2028] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2031] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2034] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2037] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2054] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2056] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2057] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2058] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2061] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2063] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2064] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2104] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2105] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2163] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [2239] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [2288] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2349] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [2358] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.1.0.1", "(phase 2) AI doesn't use any of the Red Baron's attacks, just moves with it and eventually dies (after a few minutes)") + }, + [2411] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2413] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2416] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2418] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2429] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2430] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2453] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [2463] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [2474] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [2498] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [2515] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [2528] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [2549] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.1.0.1", "Navigation gets stuck in various places") + }, + [2550] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1", "(Fordola) Gets hit by AOEs due to moving into them before the mechanic resolves") + }, + [2552] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [2560] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2562] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2565] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2568] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2570] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2572] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2575] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2577] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2580] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2582] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2585] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2587] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2588] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2592] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2627] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2629] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2892] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2894] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2900] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [2904] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.1.0.1", "Keeps attacking the invulnerable boss instead of the mammoths, thus letting your allied NPC die") + }, + [2907] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2909] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2913] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2914] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2917] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2919] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2925] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2927] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2928] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2950] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2952] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2972] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [2977] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [3016] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [3024] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [3027] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [3031] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [3040] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [3076] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [3147] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.1.0.1", "(Magnai) Keeps focussing the boss instead of the axes, thus getting killed by the AOEs") + }, + [3185] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null, "(phase 1) Need to manually move in range to trigger combat", "(phase 1) VBM doesn't know about some AOEs (e.g. Vein Splitter)", "(phase 1) VBM ignores markers to stack on Lyse (she still survives)", "(phase 2) AI can walk outside the arena to get a bleed + damage down when dodging mechanics") + }, + [3247] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.1.0.1", "AI doesn't pull enemies when spawning into the instance") + }, + [3248] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.293") + }, + [3250] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [3254] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [3262] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [3266] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [3270] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [3272] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.1.0.1", "Currently it won't work, because the logic is missing NPC healing.") + }, + [3276] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [3278] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [3305] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [3337] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.1.0.1", "(room 2) AI tries to walk straight to the next door, ignoring all walls") + }, + [3606] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.1.0.1", "(phase 1) AI gets stuck on trees/posts/walls.", "(phase 1) AI will never reach the Ostall Imperative, it instead walks circles around Radisca's Round even with all enemies dead.", "(phase 2) AI will still try to walk to Radisca's Round, but (usually) prioritizes fighting enemies.") + }, + [3619] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.1.0.1", "(before Ran'jit wears the veil) AI doesn't pull, doesn't attack and VBM doesn't recognize any AOEs.") + }, + [3626] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1", "Sometimes the movement is the cause of a duty failing.") + }, + [3628] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [3631] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [3638] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.1.0.1") + }, + [3682] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.0.0.292", "AI doesn't move automatically for the first boss", "AI doesn't move automatically for the dialogue with gaius on the bridge", "After walking downstairs automatically, AI tries to run back towards the stairs (ignoring the arena boudnary)", "After moving from the arena boundary, AI doesn't move into melee range and stops too far away when initially attacking") + }, + [3687] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [3765] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.0.0.292", "Doesn't walk to the teleporter to finish the duty") + }, + [3775] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.0.0.292", "(phase 2) AI doesn't target Ardbert to start combat", "(phase 2) VBM module: Elidibus' line cleave only covers half the length of the actual line (survivable)") + }, + [3836] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [3862] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292", "AI will kill initial adds before the boss, but not switch target whenever new enemies spawn; all NPCs need to be killed for the duty to complete") + }, + [3895] = new SinglePlayerDutyEntry[2] + { + new SinglePlayerDutyEntry(false, 0, null), + new SinglePlayerDutyEntry(false, 1, null) + }, + [4015] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [4066] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.0.0.293", "(Lunar Odin) AI doesn't pull Odin to start combat", "(Lunar Ravana) AI doesn't pull Ravana to start combat", "(Lunar Ravana) AI doesn't move out of directional parry directions") + }, + [4068] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [4072] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [4074] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [4078] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [4107] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.1.0.1", "There is currently no BossMod Supported Bosses Logic.", "BossMod doesn't use Interject.", "BossMod can't handle QuickButton Actions yet.", "BossMod doesn't use Healing Actions for Tanks.", "It will need alot of manual work", "And there is a part, where the user needs to interact.") + }, + [4113] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.1.1.8", "AI doesn't target boss", "AI doesn't heal NPCs") + }, + [4119] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.1.1.8", "AI doesn't attempt to move to the correct direction when killing orbs", "AI only dodges some, but not all AOEs", "AI doesn't move behind the shield for 'Extinction Flare' and dies") + }, + [4125] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [4131] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.1.1.4", "AI doesn't target Fafnir to start combat", "AI doesn't stand in towers", "AI doesn't kill ads", "AI doesn't move behind the shield to take cover and dies") + }, + [4383] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.0.0.293", "(Thancred) How many enemies get pulled during the stealth section is random; if you pull multiple you can die here. Can probably be fixed by retrying on very easy.") + }, + [4394] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null, "Instance probably only works on very easy difficulty", "AI doesn't move to first enemy", "AI doesn't unmount from the Magitek Reaper", "Navmesh takes 5+ minutes to build") + }, + [4432] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.294") + }, + [4439] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.294") + }, + [4464] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.294") + }, + [4521] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [4522] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.292") + }, + [4582] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.1.1.8", "(phase 1) AI doesn't move automatically", "(phase 2) AI doesn't target enemy") + }, + [4591] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.1.2.4", "AI doesn't move after starting the instance, so enemies won't be triggered", "(First Barrier) If the player is too far south, after being stunned by Vishap's roar, AI doesn't move out of the AOE and dies to the Cauterize") + }, + [4594] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.294") + }, + [4673] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.294") + }, + [4719] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [4752] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.0.0.294", "(phase 1) AI walks (a bit) towards enemies, but doesn't target them and doesn't attack", "(phase 1) AI doesn't move close enough to the tattered plumage; needs to be re-tested") + }, + [4823] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [4829] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [4835] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [4841] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [4847] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [4849] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [4853] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [4855] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [4859] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [4883] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.294") + }, + [4902] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.294") + }, + [4908] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.0.0.294") + }, + [4942] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.0.0.294", "(phase 1) Gets stuck in the wall while walking to the evacuee NPCs") + }, + [5191] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [5249] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.1.0.0", "(pre-fight) AI doesn't move to the Rroneeks or interact with them", "(phase 1/2) No VBM module, so doesn't target the leg, doesn't avoid AOEs and dies", "(phase 1) AI doesn't pull boss", "(phase 2) AI runs away with the stack marker; doesn't pick up orbs") + }, + [5325] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, "0.4.19.4", "You only need to complete one cake layer to complete the duty.") + }, + [5433] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, "0.0.0.0", "Not implemented in Boss Mod yet.") + } + }; + } +} diff --git a/Questionable/Questionable.Data/DutyUnlockData.cs b/Questionable/Questionable.Data/DutyUnlockData.cs index edee09d..3335ad4 100644 --- a/Questionable/Questionable.Data/DutyUnlockData.cs +++ b/Questionable/Questionable.Data/DutyUnlockData.cs @@ -11,7 +11,6 @@ using FFXIVClientStructs.FFXIV.Client.Game.UI; using Lumina.Excel; using Lumina.Excel.Sheets; using Microsoft.Extensions.Logging; -using Questionable.Model; using Questionable.Model.Questing; namespace Questionable.Data; @@ -66,13 +65,13 @@ internal sealed class DutyUnlockData { _logger = logger; ExcelSheet excelSheet = dataManager.GetExcelSheet(); - ExcelSheet excelSheet2 = dataManager.GetExcelSheet(); + ExcelSheet excelSheet2 = dataManager.GetExcelSheet(); ImmutableDictionary immutableDictionary = (from c in excelSheet where c.RowId != 0 && c.Content.RowId != 0 && c.ContentLinkType == 1 group c by c.Content.RowId).ToImmutableDictionary((IGrouping g) => g.Key, (IGrouping g) => g.First().RowId); Dictionary> dictionary = new Dictionary>(); Dictionary> dictionary2 = new Dictionary>(); - foreach (QuestEx item in excelSheet2.Where((QuestEx q) => q.RowId != 0)) + foreach (Quest item in excelSheet2.Where((Quest q) => q.RowId != 0)) { uint rowId = item.InstanceContentUnlock.RowId; if (rowId != 0 && immutableDictionary.TryGetValue(rowId, out var value)) @@ -93,6 +92,7 @@ internal sealed class DutyUnlockData _questToDuties = dictionary.ToImmutableDictionary((KeyValuePair> x) => x.Key, (KeyValuePair> x) => x.Value.ToImmutableList()); _dutyToQuests = dictionary2.ToImmutableDictionary((KeyValuePair> x) => x.Key, (KeyValuePair> x) => x.Value.ToImmutableList()); Dictionary dictionary3 = new Dictionary(); + ExcelSheet excelSheet3 = dataManager.GetExcelSheet(ClientLanguage.English); foreach (ContentFinderCondition item2 in excelSheet.Where((ContentFinderCondition x) => x.RowId != 0 && x.Content.RowId != 0)) { if (item2.ContentLinkType != 1) @@ -115,7 +115,8 @@ internal sealed class DutyUnlockData List value2; ImmutableList unlockQuests = (dictionary2.TryGetValue(item2.RowId, out value2) ? value2.ToImmutableList() : ImmutableList.Empty); uint rowId3 = item2.ContentMemberType.RowId; - EDutyCategory? eDutyCategory = DetermineDutyCategory(rowId2, text, item2.HighEndDuty, item2.RowId, (byte)rowId3, item2.ContentLinkType); + string name = excelSheet3.GetRowOrDefault(item2.RowId)?.Name.ToDalamudString().ToString() ?? text; + EDutyCategory? eDutyCategory = DetermineDutyCategory(rowId2, name, item2.HighEndDuty, item2.RowId, (byte)rowId3, item2.ContentLinkType); if (eDutyCategory.HasValue) { DutyInfo value3 = new DutyInfo(item2.RowId, item2.Content.RowId, text, rowId2, valueNullable.Value.Name.ToDalamudString().ToString(), item2.ClassJobLevelRequired, item2.ItemLevelRequired, unlockQuests, item2.HighEndDuty, eDutyCategory.Value); @@ -124,7 +125,7 @@ internal sealed class DutyUnlockData } } _duties = dictionary3.ToImmutableDictionary(); - _logger.LogInformation("Loaded {DutyCount} duties with {QuestMappings} quest unlock mappings", _duties.Count, _questToDuties.Values.Sum((ImmutableList x) => x.Count)); + _logger.LogDebug("Loaded {DutyCount} duties with {QuestMappings} quest unlock mappings", _duties.Count, _questToDuties.Values.Sum((ImmutableList x) => x.Count)); } private static bool IsExcludedContent(string name, uint cfcId) diff --git a/Questionable/Questionable.Data/ERoleQuestPreference.cs b/Questionable/Questionable.Data/ERoleQuestPreference.cs new file mode 100644 index 0000000..17d94e0 --- /dev/null +++ b/Questionable/Questionable.Data/ERoleQuestPreference.cs @@ -0,0 +1,11 @@ +namespace Questionable.Data; + +internal enum ERoleQuestPreference +{ + Default, + Tank, + Healer, + Melee, + PhysicalRanged, + Caster +} diff --git a/Questionable/Questionable.Data/FishingData.cs b/Questionable/Questionable.Data/FishingData.cs new file mode 100644 index 0000000..f0b7c7d --- /dev/null +++ b/Questionable/Questionable.Data/FishingData.cs @@ -0,0 +1,45 @@ +using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; +using Dalamud.Plugin.Services; +using Lumina.Excel; +using Lumina.Excel.Sheets; + +namespace Questionable.Data; + +internal sealed class FishingData +{ + private readonly Dictionary _itemToSpot; + + public FishingData(IDataManager dataManager) + { + ExcelSheet excelSheet = dataManager.GetExcelSheet(); + Dictionary dictionary = new Dictionary(); + foreach (FishingSpot item in excelSheet) + { + if (item.RowId == 0 || item.TerritoryType.RowId == 0) + { + continue; + } + FishingSpotInfo value = new FishingSpotInfo(item.RowId, (ushort)item.TerritoryType.RowId, item.X, item.Z, item.GatheringLevel); + foreach (RowRef item2 in item.Item) + { + if (item2.RowId != 0 && (!dictionary.TryGetValue(item2.RowId, out var value2) || value2.GatheringLevel > value.GatheringLevel)) + { + dictionary[item2.RowId] = value; + } + } + } + _itemToSpot = dictionary; + } + + public bool TryGetFishingSpot(uint itemId, [NotNullWhen(true)] out FishingSpotInfo? spot) + { + if (_itemToSpot.TryGetValue(itemId, out var value)) + { + spot = value; + return true; + } + spot = null; + return false; + } +} diff --git a/Questionable/Questionable.Data/FishingSpotInfo.cs b/Questionable/Questionable.Data/FishingSpotInfo.cs new file mode 100644 index 0000000..5ab8232 --- /dev/null +++ b/Questionable/Questionable.Data/FishingSpotInfo.cs @@ -0,0 +1,3 @@ +namespace Questionable.Data; + +internal readonly record struct FishingSpotInfo(uint SpotId, ushort TerritoryId, float X, float Z, ushort GatheringLevel); diff --git a/Questionable/Questionable.Data/GameQuestSequences.cs b/Questionable/Questionable.Data/GameQuestSequences.cs new file mode 100644 index 0000000..672acd8 --- /dev/null +++ b/Questionable/Questionable.Data/GameQuestSequences.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using Dalamud.Plugin.Services; +using Lumina.Excel.Sheets; +using Questionable.Model.Questing; + +namespace Questionable.Data; + +internal static class GameQuestSequences +{ + public static List GetCompletionSequences(IDataManager dataManager, QuestId questId) + { + Quest? rowOrDefault = dataManager.GetExcelSheet().GetRowOrDefault((uint)(0x10000 | questId.Value)); + if (rowOrDefault.HasValue) + { + Quest valueOrDefault = rowOrDefault.GetValueOrDefault(); + if (valueOrDefault.TodoParams.Count == 0 || valueOrDefault.TodoParams[0].ToDoCompleteSeq == 0) + { + return new List(); + } + return (from seq in (from seq in ((IEnumerable)valueOrDefault.TodoParams).Select((Func)((Quest.TodoParamsStruct x) => x.ToDoCompleteSeq)) + where seq != 0 + select seq).Distinct() + orderby seq + select seq).ToList(); + } + return new List(); + } +} diff --git a/Questionable/Questionable.Data/JournalData.cs b/Questionable/Questionable.Data/JournalData.cs index 68ad162..c137f44 100644 --- a/Questionable/Questionable.Data/JournalData.cs +++ b/Questionable/Questionable.Data/JournalData.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using System.Linq; +using Dalamud.Game; using Dalamud.Plugin.Services; using Lumina.Excel; using Lumina.Excel.Sheets; @@ -54,18 +55,28 @@ internal sealed class JournalData internal sealed class Category { - public uint Id { get; } = journalCategory.RowId; + public uint Id { get; } - public string Name { get; } = journalCategory.Name.ToString(); + public string Name { get; } - public uint SectionId { get; } = journalCategory.JournalSection.RowId; + public uint SectionId { get; } public IReadOnlyList Genres { get; } public Category(JournalCategory journalCategory, IReadOnlyList genres) { + Id = journalCategory.RowId; + Name = journalCategory.Name.ToString(); + SectionId = journalCategory.JournalSection.RowId; + Genres = genres; + } + + public Category(uint id, string name, uint sectionId, IReadOnlyList genres) + { + Id = id; + Name = name; + SectionId = sectionId; Genres = genres; - base._002Ector(); } } @@ -86,6 +97,118 @@ internal sealed class JournalData private readonly ILogger _logger; + private const uint UnassignedGenreId = 4294967291u; + + private const uint UnassignedCategoryId = 4294967291u; + + private static readonly Dictionary QuestGenreOverrides = new Dictionary + { + { 1119, "Zodiac Weapons" }, + { 1120, "Zodiac Weapons" }, + { 1121, "Zodiac Weapons" }, + { 1122, "Zodiac Weapons" }, + { 1123, "Zodiac Weapons" }, + { 1124, "Zodiac Weapons" }, + { 1125, "Zodiac Weapons" }, + { 1126, "Zodiac Weapons" }, + { 1127, "Zodiac Weapons" }, + { 1579, "Zodiac Weapons" }, + { 4173, "Radz-at-Han Sidequests" }, + { 4196, "Thavnairian Sidequests" }, + { 4197, "Thavnairian Sidequests" }, + { 4198, "Thavnairian Sidequests" }, + { 4199, "Thavnairian Sidequests" }, + { 4200, "Thavnairian Sidequests" }, + { 4201, "Thavnairian Sidequests" }, + { 4202, "Thavnairian Sidequests" }, + { 4203, "Thavnairian Sidequests" }, + { 4204, "Thavnairian Sidequests" }, + { 4205, "Thavnairian Sidequests" }, + { 4206, "Thavnairian Sidequests" }, + { 4207, "Thavnairian Sidequests" }, + { 4208, "Thavnairian Sidequests" }, + { 4209, "Thavnairian Sidequests" }, + { 101, "Rogue Quests" }, + { 177, "Gladiator Quests" }, + { 178, "Pugilist Quests" }, + { 179, "Marauder Quests" }, + { 180, "Lancer Quests" }, + { 181, "Archer Quests" }, + { 182, "Conjurer Quests" }, + { 183, "Thaumaturge Quests" }, + { 184, "Carpenter Quests" }, + { 185, "Blacksmith Quests" }, + { 186, "Armorer Quests" }, + { 187, "Goldsmith Quests" }, + { 188, "Leatherworker Quests" }, + { 189, "Weaver Quests" }, + { 190, "Alchemist Quests" }, + { 191, "Culinarian Quests" }, + { 192, "Miner Quests" }, + { 193, "Botanist Quests" }, + { 451, "Arcanist Quests" }, + { 1134, "Fisher Quests" }, + { 2109, "Machinist Quests" }, + { 437, "Ul'dahn Sidequests" }, + { 488, "Ul'dahn Sidequests" }, + { 489, "Ul'dahn Sidequests" }, + { 2106, "Ishgardian Sidequests" }, + { 2107, "Dravanian Forelands Sidequests" }, + { 2110, "Ishgardian Sidequests" }, + { 2123, "Ishgardian Sidequests" }, + { 2334, "Anima Weapons" }, + { 2387, "Palace of the Dead" }, + { 2389, "Order of the Twin Adder Quests" }, + { 2390, "Maelstrom Quests" }, + { 2391, "Immortal Flames Quests" }, + { 2612, "The Forbidden Land, Eureka" }, + { 2613, "The Forbidden Land, Eureka" }, + { 2920, "Rhalgr's Reach Sidequests" }, + { 2921, "Kugane Sidequests" }, + { 2941, "Rhalgr's Reach Sidequests" }, + { 2942, "The Forbidden Land, Eureka" }, + { 2943, "Kugane Sidequests" }, + { 3019, "Gridanian Sidequests" }, + { 3088, "Mor Dhonan Sidequests" }, + { 3602, "Crystarium Sidequests" }, + { 3603, "Eulmore Sidequests" }, + { 3604, "Crystarium Sidequests" }, + { 3605, "Crystarium Sidequests" }, + { 3662, "Crystarium Sidequests" }, + { 3759, "Ul'dahn Sidequests" }, + { 3760, "Ishgardian Restoration Main Quests" }, + { 3841, "Ishgardian Restoration Main Quests" }, + { 3842, "Lochs Sidequests" }, + { 3942, "Resistance Weapons" }, + { 3972, "Ishgardian Restoration Main Quests" }, + { 4027, "Resistance Weapons" }, + { 4030, "Ul'dahn Sidequests" }, + { 4041, "Resistance Weapons" }, + { 4042, "Ishgardian Restoration Main Quests" }, + { 4044, "YoRHa: Dark Apocalypse" }, + { 4045, "YoRHa: Dark Apocalypse" }, + { 4046, "YoRHa: Dark Apocalypse" }, + { 4047, "YoRHa: Dark Apocalypse" }, + { 4048, "YoRHa: Dark Apocalypse" }, + { 4049, "YoRHa: Dark Apocalypse" }, + { 4094, "Resistance Weapons" }, + { 4170, "Old Sharlayan Sidequests" }, + { 4171, "Old Sharlayan Sidequests" }, + { 4174, "Old Sharlayan Sidequests" }, + { 4175, "Radz-at-Han Sidequests" }, + { 4644, "Island Sanctuary Quests" }, + { 4651, "Old Sharlayan Sidequests" }, + { 5003, "Tuliyollal Sidequests" }, + { 5004, "Tuliyollal Sidequests" }, + { 5006, "Tuliyollal Sidequests" }, + { 5007, "Solution Nine Sidequests" }, + { 5008, "Solution Nine Sidequests" }, + { 5408, "Crystarium Sidequests" }, + { 5459, "Old Sharlayan Sidequests" } + }; + + private static readonly HashSet SortKeyZeroOverrides = new HashSet { 1119, 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1127, 1579 }; + public uint? SeasonalEventsCategoryId { get; } public IReadOnlySet SeasonalEventGenreIds { get; } @@ -105,10 +228,12 @@ internal sealed class JournalData JournalData journalData = this; _logger = logger; ExcelSheet excelSheet = dataManager.GetExcelSheet(); - JournalCategory journalCategory = dataManager.GetExcelSheet().FirstOrDefault((JournalCategory x) => x.Name.ToString().Equals("Seasonal Events", StringComparison.OrdinalIgnoreCase)); + ExcelSheet excelSheet2 = dataManager.GetExcelSheet(ClientLanguage.English); + JournalCategory journalCategory = dataManager.GetExcelSheet(ClientLanguage.English).FirstOrDefault((JournalCategory x) => x.Name.ToString().Equals("Seasonal Events", StringComparison.OrdinalIgnoreCase)); if (journalCategory.RowId != 0) { SeasonalEventsCategoryId = journalCategory.RowId; + _logger.LogDebug("Resolved 'Seasonal Events' JournalCategory ID: {CategoryId}", SeasonalEventsCategoryId); } else { @@ -120,21 +245,24 @@ internal sealed class JournalData SeasonalEventGenreIds = (from x in excelSheet where x.RowId != 0 && x.JournalCategory.RowId == journalData.SeasonalEventsCategoryId.Value select x.RowId).ToHashSet(); + _logger.LogDebug("Resolved {Count} seasonal event JournalGenre IDs from JournalCategory {CategoryId}: [{Ids}]", SeasonalEventGenreIds.Count, SeasonalEventsCategoryId.Value, string.Join(", ", SeasonalEventGenreIds.OrderBy((uint x) => x))); } else { SeasonalEventGenreIds = new HashSet(); } - JournalGenre journalGenre = excelSheet.FirstOrDefault((JournalGenre x) => x.Name.ToString().Equals("Delivery Moogle Quests", StringComparison.OrdinalIgnoreCase)); + JournalGenre journalGenre = excelSheet2.FirstOrDefault((JournalGenre x) => x.Name.ToString().Equals("Delivery Moogle Quests", StringComparison.OrdinalIgnoreCase)); if (journalGenre.RowId != 0) { MoogleDeliveryGenreId = journalGenre.RowId; + _logger.LogDebug("Resolved 'Delivery Moogle Quests' JournalGenre ID: {GenreId}", MoogleDeliveryGenreId); } else { MoogleDeliveryGenreId = null; _logger.LogWarning("Could not find 'Delivery Moogle Quests' JournalGenre - moogle delivery quest detection may not work correctly"); } + ApplyGenreOverrides(excelSheet2, questData); List list = (from x in excelSheet where x.RowId != 0 && x.Icon > 0 select new Genre(x, questData.GetAllByJournalGenre(x.RowId))).ToList(); @@ -152,54 +280,120 @@ internal sealed class JournalData select questData.GetQuestInfo(QuestId.FromRowId(x))).ToList()); list.InsertRange(0, new Genre[3] { genreLimsa, genreGridania, genreUldah }); list.Single((Genre x) => x.Id == 1).Quests.RemoveAll((IQuestInfo x) => genreLimsa.Quests.Contains(x) || genreGridania.Quests.Contains(x) || genreUldah.Quests.Contains(x)); + HashSet assignedQuestIds = new HashSet(from q in list.SelectMany((Genre g) => g.Quests) + select q.QuestId); + List list2 = (from QuestInfo x in questData.AllQuests.Values.Where((IQuestInfo x) => x is QuestInfo && !assignedQuestIds.Contains(x.QuestId)) + orderby x.SortKey, x.QuestId + select x).ToList(); + Genre genre = null; + if (list2.Count > 0) + { + _logger.LogWarning("Found {Count} quests not assigned to any journal genre:", list2.Count); + foreach (QuestInfo item in list2) + { + _logger.LogWarning(" Orphaned quest {QuestId} '{Name}' (JournalGenre={Genre})", item.QuestId, item.Name, item.JournalGenre); + } + genre = new Genre(4294967291u, "Unassigned Quests", 4294967291u, list2.Cast().ToList()); + list.Add(genre); + } Genres = list.ToList(); + OtherQuestsSectionRowId = GetOtherQuestsSectionRowId(dataManager); Categories = (from x in dataManager.GetExcelSheet() where x.RowId != 0 select new Category(x, journalData.Genres.Where((Genre y) => y.CategoryId == x.RowId).ToList())).ToList(); + int? otherQuestsSectionRowId; + if (genre != null) + { + otherQuestsSectionRowId = OtherQuestsSectionRowId; + if (otherQuestsSectionRowId.HasValue) + { + int valueOrDefault = otherQuestsSectionRowId.GetValueOrDefault(); + Categories.Add(new Category(4294967291u, "Unassigned", (uint)valueOrDefault, new global::_003C_003Ez__ReadOnlySingleElementList(genre))); + } + else + { + _logger.LogWarning("'Other Quests' section not found - {Count} unassigned quests will not be shown in the journal", list2.Count); + } + } Sections = (from x in dataManager.GetExcelSheet() select new Section(x, journalData.Categories.Where((Category y) => y.SectionId == x.RowId).ToList())).ToList(); - OtherQuestsSectionRowId = GetOtherQuestsSectionRowId(dataManager); - int? otherQuestsSectionRowId = OtherQuestsSectionRowId; + otherQuestsSectionRowId = OtherQuestsSectionRowId; if (otherQuestsSectionRowId.HasValue) { - int valueOrDefault = otherQuestsSectionRowId.GetValueOrDefault(); - uint otherIdU = (uint)valueOrDefault; + int valueOrDefault2 = otherQuestsSectionRowId.GetValueOrDefault(); + uint otherIdU = (uint)valueOrDefault2; Section section = Sections.FirstOrDefault((Section s) => s.Id == otherIdU); if (section != null) { int num = 0; + foreach (Category category in section.Categories) { - foreach (Category category in section.Categories) + foreach (Genre genre2 in category.Genres) { - foreach (Genre genre in category.Genres) - { - genre.IsUnderOtherQuests = true; - num++; - } + genre2.IsUnderOtherQuests = true; + num++; } - return; } + _logger.LogDebug("Marked {Count} genres as under 'Other Quests' (OtherQuestsSectionRowId={Id})", num, valueOrDefault2); + } + else + { + _logger.LogWarning("OtherQuestsSectionRowId = {Id} found, but matching Section not present in constructed Sections", valueOrDefault2); } - _logger.LogWarning("OtherQuestsSectionRowId = {Id} found, but matching Section not present in constructed Sections", valueOrDefault); } else { - _logger.LogDebug("OtherQuestsSectionRowId not found - falling back to localized name lookup when necessary"); + _logger.LogDebug("OtherQuestsSectionRowId not found - 'Other Quests' genre marking skipped"); } } - private int? GetOtherQuestsSectionRowId(IDataManager dataManager) + private void ApplyGenreOverrides(ExcelSheet journalGenreSheetEnglish, QuestData questData) { - JournalSection journalSection = dataManager.GetExcelSheet().FirstOrDefault((JournalSection s) => s.Name.ToString() == "Other Quests"); - int? result = ((journalSection.RowId != 0) ? new int?((int)journalSection.RowId) : ((int?)null)); - if (!result.HasValue) + Dictionary dictionary = new Dictionary(StringComparer.OrdinalIgnoreCase); + foreach (JournalGenre item in journalGenreSheetEnglish) { - Section section = Sections.FirstOrDefault((Section s) => s.Name.Equals("Other Quests", StringComparison.OrdinalIgnoreCase)); - if (section != null) + if (item.RowId != 0 && !item.Name.IsEmpty) { - result = (int)section.Id; + dictionary.TryAdd(item.Name.ToString(), item.RowId); } } - return result; + int num = 0; + foreach (var (num3, text2) in QuestGenreOverrides) + { + if (!dictionary.TryGetValue(text2, out var value)) + { + _logger.LogWarning("Genre '{GenreName}' not found for quest {QuestId}", text2, num3); + } + else + { + if (!questData.TryGetQuestInfo(new QuestId(num3), out IQuestInfo questInfo)) + { + continue; + } + if (questInfo is QuestInfo questInfo2) + { + questInfo2.JournalGenre = value; + if (SortKeyZeroOverrides.Contains(num3)) + { + questInfo2.SortKey = 0; + } + } + num++; + } + } + if (num > 0) + { + _logger.LogDebug("Applied {Count} journal genre overrides", num); + } + } + + private static int? GetOtherQuestsSectionRowId(IDataManager dataManager) + { + JournalSection journalSection = dataManager.GetExcelSheet(ClientLanguage.English).FirstOrDefault((JournalSection s) => s.Name.ToString() == "Other Quests"); + if (journalSection.RowId == 0) + { + return null; + } + return (int)journalSection.RowId; } } diff --git a/Questionable/Questionable.Data/LgbWorkerSupervisor.cs b/Questionable/Questionable.Data/LgbWorkerSupervisor.cs new file mode 100644 index 0000000..44a692d --- /dev/null +++ b/Questionable/Questionable.Data/LgbWorkerSupervisor.cs @@ -0,0 +1,239 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Globalization; +using System.IO; +using System.IO.Pipes; +using System.Text.Json; +using System.Threading; +using System.Threading.Tasks; +using Dalamud.Plugin.Services; +using Lumina.Excel; +using Lumina.Excel.Sheets; +using Microsoft.Extensions.Logging; +using Questionable.LgbWorker; + +namespace Questionable.Data; + +internal sealed class LgbWorkerSupervisor +{ + private const string WorkerExeName = "Questionable.LgbWorker.exe"; + + private const string WorkerSubDirectory = "lgb-worker"; + + private const string ManifestFileName = "lgb-worker-manifest.json"; + + private const string NpcCacheFileName = "npc-position-cache.bin"; + + private const string BoundaryCacheFileName = "zone-boundary-cache.bin"; + + private readonly IDataManager _dataManager; + + private readonly ILogger _logger; + + public LgbWorkerSupervisor(IDataManager dataManager, ILogger logger) + { + _dataManager = dataManager; + _logger = logger; + } + + public bool RunWorker(string sqpackPath, string gameVersion, string cacheDirectory, string pluginAssemblyDirectory, CancellationToken ct) + { + string text = Path.Combine(pluginAssemblyDirectory, "lgb-worker", "Questionable.LgbWorker.exe"); + if (!File.Exists(text)) + { + _logger.LogWarning("LGB worker not found at {Path}, falling back to in-process scan", text); + return false; + } + string npcCachePath = Path.Combine(cacheDirectory, "npc-position-cache.bin"); + string boundaryCachePath = Path.Combine(cacheDirectory, "zone-boundary-cache.bin"); + string text2 = Path.Combine(cacheDirectory, "lgb-worker-manifest.json"); + string text3 = $"Questionable.LgbWorker.{Guid.NewGuid():N}"; + Directory.CreateDirectory(cacheDirectory); + _logger.LogDebug("Building LGB worker manifest from Excel sheets..."); + List list = BuildTerritoryList(); + List list2 = BuildLevelEntries(); + _logger.LogDebug("Manifest: {TerritoryCount} territories, {LevelCount} level entries", list.Count, list2.Count); + LgbWorkerManifest value = new LgbWorkerManifest + { + SqpackPath = sqpackPath, + GameVersion = gameVersion, + NpcCachePath = npcCachePath, + BoundaryCachePath = boundaryCachePath, + Territories = list, + LevelEntries = list2 + }; + File.WriteAllText(text2, JsonSerializer.Serialize(value)); + using NamedPipeServerStream namedPipeServerStream = new NamedPipeServerStream(text3, PipeDirection.In, 1, PipeTransmissionMode.Byte, PipeOptions.Asynchronous); + int processId = Environment.ProcessId; + ProcessStartInfo startInfo = new ProcessStartInfo + { + FileName = text, + Arguments = $"--pipe {text3} --manifest \"{text2}\" --parent-pid {processId.ToString(CultureInfo.InvariantCulture)}", + UseShellExecute = false, + CreateNoWindow = true, + RedirectStandardError = true + }; + Process process = Process.Start(startInfo); + try + { + if (process == null) + { + _logger.LogError("Failed to start LGB worker process"); + return false; + } + _logger.LogInformation("LGB worker started (PID {Pid})", process.Id); + Task.Run(delegate + { + try + { + while (true) + { + string text4 = process.StandardError.ReadLine(); + if (text4 == null) + { + break; + } + _logger.LogDebug("[LgbWorker] {Line}", text4); + } + } + catch + { + } + }, ct); + _logger.LogDebug("Waiting for LGB worker to connect..."); + try + { + namedPipeServerStream.WaitForConnection(); + } + catch (IOException exception) + { + _logger.LogError(exception, "LGB worker pipe connection failed"); + process.Kill(); + return false; + } + _logger.LogDebug("LGB worker connected, reading messages..."); + try + { + while (true) + { + ct.ThrowIfCancellationRequested(); + LgbWorkerMessage lgbWorkerMessage = LgbWorkerFraming.Read(namedPipeServerStream); + switch (lgbWorkerMessage.Type) + { + case LgbMessageType.Progress: + if (lgbWorkerMessage.Total > 0 && lgbWorkerMessage.Done % (lgbWorkerMessage.Total / 10 + 1) == 0) + { + _logger.LogDebug("LGB worker progress: {Done}/{Total}", lgbWorkerMessage.Done, lgbWorkerMessage.Total); + } + break; + case LgbMessageType.Final: + if (lgbWorkerMessage.Success) + { + _logger.LogInformation("LGB worker completed in {Duration}ms", lgbWorkerMessage.DurationMs); + process.WaitForExit(5000); + CleanupManifest(text2); + return true; + } + _logger.LogError("LGB worker reported failure: {Error}", lgbWorkerMessage.Error); + process.WaitForExit(5000); + CleanupManifest(text2); + return false; + } + } + } + catch (EndOfStreamException) + { + process.WaitForExit(5000); + _logger.LogError("LGB worker exited without a final message (exit code {Code})", process.ExitCode); + CleanupManifest(text2); + return false; + } + catch (OperationCanceledException) + { + process.Kill(); + CleanupManifest(text2); + throw; + } + } + finally + { + if (process != null) + { + ((IDisposable)process).Dispose(); + } + } + } + + private List BuildTerritoryList() + { + HashSet hashSet = new HashSet(); + foreach (Aetheryte item in _dataManager.GetExcelSheet()) + { + hashSet.Add(item.Territory.RowId); + } + List list = new List(); + List list2 = new List(); + foreach (TerritoryType item2 in _dataManager.GetExcelSheet()) + { + if (item2.RowId == 0) + { + continue; + } + string text = item2.Bg.ExtractText(); + if (!string.IsNullOrEmpty(text) && text.Contains("/level/", StringComparison.Ordinal)) + { + TerritoryEntry territoryEntry = new TerritoryEntry + { + RowId = item2.RowId, + BgPath = text, + IntendedUse = (byte)item2.TerritoryIntendedUse.RowId, + HasAetheryte = hashSet.Contains(item2.RowId) + }; + if (territoryEntry.HasAetheryte) + { + list.Add(territoryEntry); + } + else + { + list2.Add(territoryEntry); + } + } + } + list.AddRange(list2); + return list; + } + + private List BuildLevelEntries() + { + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + ExcelSheet excelSheet2 = _dataManager.GetExcelSheet(); + List list = new List(); + foreach (Level item in _dataManager.GetExcelSheet()) + { + if (item.RowId != 0 && item.Object.RowId != 0 && item.Territory.IsValid && (excelSheet.HasRow(item.Object.RowId) || excelSheet2.HasRow(item.Object.RowId))) + { + list.Add(new LevelEntry + { + ObjectId = item.Object.RowId, + TerritoryId = (ushort)item.Territory.RowId, + X = item.X, + Y = item.Y, + Z = item.Z + }); + } + } + return list; + } + + private static void CleanupManifest(string path) + { + try + { + File.Delete(path); + } + catch + { + } + } +} diff --git a/Questionable/Questionable.Data/MenderDataService.cs b/Questionable/Questionable.Data/MenderDataService.cs new file mode 100644 index 0000000..8528aae --- /dev/null +++ b/Questionable/Questionable.Data/MenderDataService.cs @@ -0,0 +1,71 @@ +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using Dalamud.Plugin.Services; +using LLib.Shop; +using Lumina.Excel; +using Lumina.Excel.Sheets; +using Microsoft.Extensions.Logging; + +namespace Questionable.Data; + +internal sealed class MenderDataService(IDataManager dataManager, NpcPositionCache npcPositionCache, ILogger logger) +{ + public static readonly IReadOnlyList CityFallbacks = new global::_003C_003Ez__ReadOnlyArray(new MenderNpc[3] + { + new MenderNpc(1003251u, 128, new Vector3(17.715698f, 40.200005f, 3.9520264f)), + new MenderNpc(1000394u, 132, new Vector3(24.826416f, -8f, 93.18677f)), + new MenderNpc(1004416u, 130, new Vector3(32.85266f, 6.999999f, -81.31531f)) + }); + + private readonly object _lock = new object(); + + private ILookup? _byTerritory; + + public MenderNpc? FindNearestInTerritory(ushort territoryId, Vector3 nearPosition) + { + ILookup lookup; + lock (_lock) + { + if (_byTerritory == null && !npcPositionCache.IsBuilt) + { + return null; + } + lookup = _byTerritory ?? (_byTerritory = BuildIndex()); + } + return lookup[territoryId].OrderBy((MenderNpc x) => Vector3.DistanceSquared(x.Position, nearPosition)).FirstOrDefault(); + } + + private ILookup BuildIndex() + { + ExcelSheet excelSheet = dataManager.GetExcelSheet(); + List list = new List(); + foreach (uint allNpcId in npcPositionCache.GetAllNpcIds()) + { + if (!excelSheet.TryGetRow(allNpcId, out var row)) + { + continue; + } + bool flag = false; + for (int i = 0; i < row.ENpcData.Count; i++) + { + if (row.ENpcData[i].RowId == 720915) + { + flag = true; + break; + } + } + if (flag) + { + (ushort, Vector3)? position = npcPositionCache.GetPosition(allNpcId); + if (position.HasValue) + { + (ushort, Vector3) valueOrDefault = position.GetValueOrDefault(); + list.Add(new MenderNpc(allNpcId, valueOrDefault.Item1, valueOrDefault.Item2)); + } + } + } + logger.LogDebug("Mender index built with {Count} menders across {Territories} territories", list.Count, list.Select((MenderNpc x) => x.TerritoryId).Distinct().Count()); + return list.ToLookup((MenderNpc x) => x.TerritoryId); + } +} diff --git a/Questionable/Questionable.Data/MenderNpc.cs b/Questionable/Questionable.Data/MenderNpc.cs new file mode 100644 index 0000000..5d28621 --- /dev/null +++ b/Questionable/Questionable.Data/MenderNpc.cs @@ -0,0 +1,5 @@ +using System.Numerics; + +namespace Questionable.Data; + +internal sealed record MenderNpc(uint DataId, ushort TerritoryId, Vector3 Position); diff --git a/Questionable/Questionable.Data/NpcPositionCacheWarmer.cs b/Questionable/Questionable.Data/NpcPositionCacheWarmer.cs new file mode 100644 index 0000000..9b8ef7a --- /dev/null +++ b/Questionable/Questionable.Data/NpcPositionCacheWarmer.cs @@ -0,0 +1,75 @@ +using System; +using System.Threading; +using Dalamud.Plugin; +using Dalamud.Plugin.Services; +using LLib.Shop; +using Microsoft.Extensions.Logging; +using SmartNav; +using SmartNav.Data; + +namespace Questionable.Data; + +internal sealed class NpcPositionCacheWarmer : IDisposable +{ + private readonly CancellationTokenSource _cts = new CancellationTokenSource(); + + private readonly Thread? _thread; + + public NpcPositionCacheWarmer(NpcPositionCache npcPositionCache, WarpDataService warpDataService, NavRouter navRouter, LgbWorkerSupervisor workerSupervisor, IDalamudPluginInterface pluginInterface, IDataManager dataManager, NpcPositionCacheOptions cacheOptions, ILogger logger) + { + NpcPositionCacheWarmer npcPositionCacheWarmer = this; + if (npcPositionCache.IsBuilt) + { + return; + } + _thread = new Thread((ThreadStart)delegate + { + try + { + bool flag = false; + string fullName = dataManager.GameData.DataPath.FullName; + string gameVersion = cacheOptions.GameVersion; + string cacheDirectory = cacheOptions.CacheDirectory; + string directoryName = pluginInterface.AssemblyLocation.DirectoryName; + if (fullName != null && gameVersion != null && cacheDirectory != null && directoryName != null) + { + flag = workerSupervisor.RunWorker(fullName, gameVersion, cacheDirectory, directoryName, npcPositionCacheWarmer._cts.Token); + if (flag) + { + npcPositionCache.TryLoadFromDisk(); + } + } + if (!flag) + { + logger.LogInformation("Falling back to in-process LGB scan"); + npcPositionCache.WarmUp(npcPositionCacheWarmer._cts.Token); + } + if (warpDataService.ApplyDerivedSources()) + { + navRouter.InvalidateStaticGraph(); + logger.LogInformation("Applied derived warp sources after NPC position warm-up"); + } + } + catch (OperationCanceledException) + { + } + catch (Exception exception) + { + logger.LogError(exception, "NPC position cache warm-up failed"); + } + }) + { + IsBackground = true, + Priority = ThreadPriority.BelowNormal, + Name = "Questionable.NpcPositionCacheWarmer" + }; + _thread.Start(); + } + + public void Dispose() + { + _cts.Cancel(); + _thread?.Join(TimeSpan.FromSeconds(1L)); + _cts.Dispose(); + } +} diff --git a/Questionable/Questionable.Data/QuestChain.cs b/Questionable/Questionable.Data/QuestChain.cs new file mode 100644 index 0000000..3755deb --- /dev/null +++ b/Questionable/Questionable.Data/QuestChain.cs @@ -0,0 +1,6 @@ +using System.Collections.Generic; +using Questionable.Model.Questing; + +namespace Questionable.Data; + +internal sealed record QuestChain(List Ancestors, List Descendants, QuestId SelectedQuest); diff --git a/Questionable/Questionable.Data/QuestChainBuilder.cs b/Questionable/Questionable.Data/QuestChainBuilder.cs new file mode 100644 index 0000000..0ea8f77 --- /dev/null +++ b/Questionable/Questionable.Data/QuestChainBuilder.cs @@ -0,0 +1,212 @@ +using System.Collections.Generic; +using System.Linq; +using Questionable.Model; +using Questionable.Model.Questing; + +namespace Questionable.Data; + +internal sealed class QuestChainBuilder +{ + private readonly QuestData _questData; + + private readonly Dictionary> _descendants = new Dictionary>(); + + private readonly Dictionary _cache = new Dictionary(); + + private readonly Dictionary _graphCache = new Dictionary(); + + public QuestChainBuilder(QuestData questData) + { + _questData = questData; + foreach (var (elementId2, questInfo2) in _questData.AllQuests) + { + if (!(elementId2 is QuestId item)) + { + continue; + } + foreach (PreviousQuestInfo previousQuest in questInfo2.PreviousQuests) + { + if (!_descendants.TryGetValue(previousQuest.QuestId, out List value)) + { + value = new List(); + _descendants[previousQuest.QuestId] = value; + } + value.Add(item); + } + } + } + + public QuestChain GetChain(QuestId questId) + { + if (_cache.TryGetValue(questId, out QuestChain value)) + { + return value; + } + List list = new List(); + CollectAncestors(questId, list, new HashSet()); + list.Add(questId); + List list2 = new List(); + CollectDescendants(questId, list2, new HashSet()); + QuestChain questChain = new QuestChain(list, list2, questId); + _cache[questId] = questChain; + return questChain; + } + + public QuestChainGraph GetChainGraph(QuestId questId) + { + if (_graphCache.TryGetValue(questId, out QuestChainGraph value)) + { + return value; + } + HashSet hashSet = new HashSet(); + CollectAllRelated(questId, hashSet); + Dictionary> prerequisites = new Dictionary>(); + Dictionary> dictionary = new Dictionary>(); + foreach (QuestId item in hashSet) + { + prerequisites[item] = new List(); + dictionary[item] = new List(); + } + foreach (QuestId item2 in hashSet) + { + if (!_questData.TryGetQuestInfo(item2, out IQuestInfo questInfo)) + { + continue; + } + foreach (PreviousQuestInfo previousQuest in questInfo.PreviousQuests) + { + if (hashSet.Contains(previousQuest.QuestId)) + { + prerequisites[item2].Add(previousQuest.QuestId); + dictionary[previousQuest.QuestId].Add(item2); + } + } + } + Dictionary dictionary2 = new Dictionary(); + List list = hashSet.Where((QuestId q) => prerequisites[q].Count == 0).ToList(); + foreach (QuestId item3 in hashSet) + { + dictionary2[item3] = 0; + } + Dictionary dictionary3 = new Dictionary(); + foreach (QuestId item4 in hashSet) + { + dictionary3[item4] = prerequisites[item4].Count; + } + Queue queue = new Queue(list); + foreach (QuestId item5 in list) + { + dictionary2[item5] = 0; + } + while (queue.Count > 0) + { + QuestId key = queue.Dequeue(); + foreach (QuestId item6 in dictionary[key]) + { + int num = dictionary2[key] + 1; + if (num > dictionary2[item6]) + { + dictionary2[item6] = num; + } + dictionary3[item6]--; + if (dictionary3[item6] == 0) + { + queue.Enqueue(item6); + } + } + } + foreach (QuestId item7 in hashSet) + { + if (!dictionary2.ContainsKey(item7)) + { + dictionary2[item7] = 0; + } + } + int num2 = ((hashSet.Count > 0) ? dictionary2.Values.Max() : 0); + List> list2 = new List>(); + for (int num3 = 0; num3 <= num2; num3++) + { + list2.Add(new List()); + } + foreach (QuestId item8 in hashSet) + { + list2[dictionary2[item8]].Add(item8); + } + foreach (List item9 in list2) + { + item9.Sort((QuestId a, QuestId b) => a.Value.CompareTo(b.Value)); + } + QuestChainGraph questChainGraph = new QuestChainGraph(prerequisites, dictionary, dictionary2, list2, questId); + _graphCache[questId] = questChainGraph; + return questChainGraph; + } + + public void Invalidate() + { + _cache.Clear(); + _graphCache.Clear(); + } + + private void CollectAllRelated(QuestId questId, HashSet result) + { + CollectAncestorsSet(questId, result); + result.Add(questId); + CollectDescendantsSet(questId, result); + } + + private void CollectAncestorsSet(QuestId questId, HashSet visited) + { + if (!visited.Add(questId) || !_questData.TryGetQuestInfo(questId, out IQuestInfo questInfo)) + { + return; + } + foreach (PreviousQuestInfo previousQuest in questInfo.PreviousQuests) + { + CollectAncestorsSet(previousQuest.QuestId, visited); + } + } + + private void CollectDescendantsSet(QuestId questId, HashSet visited) + { + if (!visited.Add(questId) || !_descendants.TryGetValue(questId, out List value)) + { + return; + } + foreach (QuestId item in value) + { + CollectDescendantsSet(item, visited); + } + } + + private void CollectAncestors(QuestId questId, List result, HashSet visited) + { + if (!visited.Add(questId) || !_questData.TryGetQuestInfo(questId, out IQuestInfo questInfo)) + { + return; + } + foreach (PreviousQuestInfo previousQuest in questInfo.PreviousQuests) + { + CollectAncestors(previousQuest.QuestId, result, visited); + if (!result.Contains(previousQuest.QuestId)) + { + result.Add(previousQuest.QuestId); + } + } + } + + private void CollectDescendants(QuestId questId, List result, HashSet visited) + { + if (!visited.Add(questId) || !_descendants.TryGetValue(questId, out List value)) + { + return; + } + foreach (QuestId item in value) + { + if (!result.Contains(item)) + { + result.Add(item); + } + CollectDescendants(item, result, visited); + } + } +} diff --git a/Questionable/Questionable.Data/QuestChainGraph.cs b/Questionable/Questionable.Data/QuestChainGraph.cs new file mode 100644 index 0000000..ee54020 --- /dev/null +++ b/Questionable/Questionable.Data/QuestChainGraph.cs @@ -0,0 +1,6 @@ +using System.Collections.Generic; +using Questionable.Model.Questing; + +namespace Questionable.Data; + +internal sealed record QuestChainGraph(Dictionary> Prerequisites, Dictionary> Dependents, Dictionary Layers, List> LayerOrder, QuestId SelectedQuest); diff --git a/Questionable/Questionable.Data/QuestData.cs b/Questionable/Questionable.Data/QuestData.cs index d7776c2..92c11f7 100644 --- a/Questionable/Questionable.Data/QuestData.cs +++ b/Questionable/Questionable.Data/QuestData.cs @@ -1,23 +1,24 @@ using System; +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Runtime.InteropServices; using Dalamud.Plugin.Services; -using FFXIVClientStructs.FFXIV.Client.Game.UI; using LLib.GameData; -using Lumina.Excel; using Lumina.Excel.Sheets; using Microsoft.Extensions.Logging; +using Questionable.Controller.Utils; using Questionable.Model; using Questionable.Model.Questing; -using Questionable.Windows.QuestComponents; namespace Questionable.Data; internal sealed class QuestData { + private sealed record RoleQuestData(IReadOnlyList Chapters, IReadOnlyList FinalQuests, Func JobMatch); + public static readonly IReadOnlyList HardModePrimals = new global::_003C_003Ez__ReadOnlyArray(new QuestId[3] { new QuestId(1048), @@ -25,6 +26,16 @@ internal sealed class QuestData new QuestId(1158) }); + private static readonly Dictionary GcRankRequirements = new Dictionary + { + { 1128, 8 }, + { 1129, 8 }, + { 1130, 8 }, + { 1131, 9 }, + { 1132, 9 }, + { 1133, 9 } + }; + public static readonly IReadOnlyList CrystalTowerQuests = new global::_003C_003Ez__ReadOnlyArray(new QuestId[8] { new QuestId(1709), @@ -53,10 +64,28 @@ internal sealed class QuestData public static readonly IReadOnlyList FinalShadowbringersRoleQuests; - private readonly Dictionary _quests; + private static readonly RoleQuestData TankData; + + private static readonly RoleQuestData HealerData; + + private static readonly RoleQuestData MeleeData; + + private static readonly RoleQuestData PhysicalRangedData; + + private static readonly RoleQuestData CasterData; + + private static readonly Dictionary RoleDataByPreference; + + private static readonly IReadOnlyList AllRoleData; + + private readonly ConcurrentDictionary _quests; private readonly ILogger _logger; + private static byte _cachedFirstClass; + + private static List _cachedLockedClassQuests; + public static ImmutableHashSet AetherCurrentQuests { get; } public IReadOnlyList MainScenarioQuests { get; } @@ -65,16 +94,16 @@ internal sealed class QuestData public QuestId LastMainScenarioQuestId { get; } - public QuestData(IDataManager dataManager, ClassJobUtils classJobUtils, ILogger logger) + public IReadOnlyDictionary AllQuests => _quests; + + public static byte GetRequiredGCRank(QuestId questId) + { + return GcRankRequirements.GetValueOrDefault(questId.Value, 1); + } + + public QuestData(IDataManager dataManager, ILogger logger) { - QuestData questData = this; _logger = logger ?? throw new ArgumentNullException("logger"); - JournalGenreOverrides journalGenreOverrides = new JournalGenreOverrides - { - ARelicRebornQuests = dataManager.GetExcelSheet().GetRow(65742u).JournalGenre.RowId, - RadzAtHanSideQuests = dataManager.GetExcelSheet().GetRow(69805u).JournalGenre.RowId, - ThavnairSideQuests = dataManager.GetExcelSheet().GetRow(70025u).JournalGenre.RowId - }; Dictionary questChapters = (from x in dataManager.GetExcelSheet() where x.RowId != 0 && x.Quest.RowId != 0 select x).ToDictionary((QuestChapter x) => x.Quest.RowId, (QuestChapter x) => x.Redo.RowId); @@ -86,198 +115,177 @@ internal sealed class QuestData startingCities[item.Quest.RowId] = b; } } - ExcelSheet questExSheet = dataManager.GetExcelSheet(); - List list = new List(); - list.AddRange(from x in dataManager.GetExcelSheet() + List list = ((IEnumerable)(from x in dataManager.GetExcelSheet() where x.RowId != 0 + where !x.Name.IsEmpty where x.IssuerLocation.RowId != 0 - select new QuestInfo(x, questExSheet.GetRow(x.RowId), questChapters.GetValueOrDefault(x.RowId), startingCities.GetValueOrDefault(x.RowId), journalGenreOverrides)); - list.AddRange(from x in dataManager.GetExcelSheet() - where x.RowId != 0 && x.Npc.RowId != 0 - select new SatisfactionSupplyInfo(x)); - List quests = list; - quests.AddRange((from x in dataManager.GetExcelSheet() - where x.RowId != 0 && !x.Name.IsEmpty - select x).SelectMany(delegate(BeastTribe x) + select new QuestInfo(x, questChapters.GetValueOrDefault(x.RowId), startingCities.GetValueOrDefault(x.RowId)))).ToList(); + _quests = new ConcurrentDictionary(); + foreach (IQuestInfo item2 in list) { - if (!Enum.IsDefined(typeof(EAlliedSociety), (byte)x.RowId)) + if (!_quests.TryAdd(item2.QuestId, item2)) { - questData._logger.LogWarning("Skipping unknown BeastTribe with RowId {RowId} (Name: {Name})", x.RowId, x.Name.ToString()); - return Enumerable.Empty(); + _logger.LogDebug("Duplicate QuestId {QuestId}, keeping first entry", item2.QuestId); } - if (x.RowId < 5) - { - List list3 = new List(); - list3.Add(0); - list3.AddRange((from QuestInfo y in quests.Where((IQuestInfo y) => (uint)y.AlliedSociety == (byte)x.RowId && y.IsRepeatable) - select (byte)y.AlliedSocietyRank).Distinct()); - return new global::_003C_003Ez__ReadOnlyList(list3).Select((byte rank) => new AlliedSocietyDailyInfo(x, rank, classJobUtils)); - } - return new global::_003C_003Ez__ReadOnlySingleElementList(new AlliedSocietyDailyInfo(x, 0, classJobUtils)); - })); - int num = 15; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - span[0] = new AethernetQuestInfo(new AethernetId(1), "Limsa Lominsa"); - span[1] = new AethernetQuestInfo(new AethernetId(2), "Gridania"); - span[2] = new AethernetQuestInfo(new AethernetId(3), "Ul'dah"); - span[3] = new AethernetQuestInfo(new AethernetId(4), "The Gold Saucer"); - span[4] = new AethernetQuestInfo(new AethernetId(5), "Ishgard"); - span[5] = new AethernetQuestInfo(new AethernetId(6), "Idyllshire"); - span[6] = new AethernetQuestInfo(new AethernetId(7), "Rhalgr's Reach"); - span[7] = new AethernetQuestInfo(new AethernetId(8), "Kugane"); - span[8] = new AethernetQuestInfo(new AethernetId(9), "Doman Enclave"); - span[9] = new AethernetQuestInfo(new AethernetId(10), "The Crystarium"); - span[10] = new AethernetQuestInfo(new AethernetId(11), "Eulmore"); - span[11] = new AethernetQuestInfo(new AethernetId(12), "Old Sharlayan"); - span[12] = new AethernetQuestInfo(new AethernetId(13), "Radz-at-Han"); - span[13] = new AethernetQuestInfo(new AethernetId(14), "Tuliyollal"); - span[14] = new AethernetQuestInfo(new AethernetId(15), "Solution Nine"); - List collection = list2; - List collection2 = new List(); - quests.AddRange(collection); - quests.AddRange(collection2); - _quests = quests.ToDictionary((IQuestInfo x) => x.QuestId, (IQuestInfo x) => x); - AddPreviousQuest(new QuestId(425), new QuestId(495)); - AddPreviousQuest(new QuestId(1480), new QuestId(2373)); - AddPreviousQuest(new QuestId(1717), new QuestId(1619)); - AddPreviousQuest(new QuestId(2088), new QuestId(1619)); - AddPreviousQuest(new QuestId(2062), new QuestId(1617)); - AddPreviousQuest(new QuestId(2063), new QuestId(1619)); - AddPreviousQuest(new QuestId(2257), new QuestId(1655)); - AddPreviousQuest(new QuestId(2608), new QuestId(2534)); - AddPreviousQuest(new QuestId(2600), new QuestId(2466)); - AddPreviousQuest(new QuestId(2622), new QuestId(2490)); - AddPreviousQuest(new QuestId(2624), new QuestId(2534)); - AddPreviousQuest(new QuestId(2898), new QuestId(2490)); - AddPreviousQuest(new QuestId(2974), new QuestId(2491)); - AddPreviousQuest(new QuestId(2975), new QuestId(2630)); - AddPreviousQuest(new QuestId(2912), new QuestId(2490)); - AddPreviousQuest(new QuestId(2914), new QuestId(2537)); - AddPreviousQuest(new QuestId(2919), new QuestId(2455)); - AddPreviousQuest(new QuestId(2952), new QuestId(2518)); - AddPreviousQuest(new QuestId(2904), new QuestId(2503)); - AddPreviousQuest(new QuestId(3038), new QuestId(2534)); - AddPreviousQuest(new QuestId(3087), new QuestId(100)); - AddPreviousQuest(new QuestId(3246), new QuestId(3314)); - AddPreviousQuest(new QuestId(3247), new QuestId(3320)); - AddPreviousQuest(new QuestId(3270), new QuestId(3333)); - AddPreviousQuest(new QuestId(3271), new QuestId(3634)); - AddPreviousQuest(new QuestId(3264), new QuestId(2247)); - AddPreviousQuest(new QuestId(3253), new QuestId(2247)); - AddPreviousQuest(new QuestId(3254), new QuestId(2537)); - AddPreviousQuest(new QuestId(3228), new QuestId(3320)); - AddPreviousQuest(new QuestId(3234), new QuestId(3320)); - AddPreviousQuest(new QuestId(3237), new QuestId(3320)); - AddPreviousQuest(new QuestId(3238), new QuestId(3634)); - AddPreviousQuest(new QuestId(3240), new QuestId(3320)); - AddPreviousQuest(new QuestId(3241), new QuestId(3648)); - AddPreviousQuest(new QuestId(3628), new QuestId(3301)); - AddPreviousQuest(new QuestId(3655), new QuestId(2095)); - AddPreviousQuest(new QuestId(3771), new QuestId(495)); - AddPreviousQuest(new QuestId(4068), new QuestId(1658)); - AddPreviousQuest(new QuestId(4078), new QuestId(1583)); - AddPreviousQuest(new QuestId(4150), new QuestId(4417)); - AddPreviousQuest(new QuestId(4155), new QuestId(4383)); - AddPreviousQuest(new QuestId(4156), new QuestId(3326)); - AddPreviousQuest(new QuestId(4158), new QuestId(4434)); - AddPreviousQuest(new QuestId(4159), new QuestId(4464)); - AddPreviousQuest(new QuestId(4163), new QuestId(4398)); - AddPreviousQuest(new QuestId(4165), new QuestId(4438)); - AddPreviousQuest(new QuestId(4473), new QuestId(2095)); - AddPreviousQuest(new QuestId(4650), new QuestId(2374)); - AddPreviousQuest(new QuestId(4662), new QuestId(3166)); - AddPreviousQuest(new QuestId(4761), new QuestId(4032)); - AddPreviousQuest(new QuestId(4812), new QuestId(4750)); - AddPreviousQuest(new QuestId(4851), new QuestId(2446)); - AddPreviousQuest(new QuestId(4856), new QuestId(1669)); - AddPreviousQuest(new QuestId(4857), new QuestId(2553)); - AddPreviousQuest(new QuestId(4979), new QuestId(4896)); - AddPreviousQuest(new QuestId(4980), new QuestId(4911)); - AddPreviousQuest(new QuestId(4985), new QuestId(4903)); - AddPreviousQuest(new QuestId(4987), new QuestId(4912)); - AddPreviousQuest(new QuestId(4988), new QuestId(4942)); - AddPreviousQuest(new QuestId(4992), new QuestId(4912)); - AddPreviousQuest(new QuestId(4999), new QuestId(4908)); - AddPreviousQuest(new QuestId(4966), new QuestId(2095)); - AddPreviousQuest(new QuestId(5000), new QuestId(4908)); - AddPreviousQuest(new QuestId(5001), new QuestId(4912)); - AddPreviousQuest(new QuestId(3629), new QuestId(3248)); - AddPreviousQuest(new QuestId(3629), new QuestId(3272)); - AddPreviousQuest(new QuestId(3629), new QuestId(3278)); - AddPreviousQuest(new QuestId(3629), new QuestId(3628)); - AddPreviousQuest(new QuestId(3986), new QuestId(2115)); - AddPreviousQuest(new QuestId(3986), new QuestId(2116)); - AddPreviousQuest(new QuestId(3986), new QuestId(2281)); - AddPreviousQuest(new QuestId(3986), new QuestId(2333)); - AddPreviousQuest(new QuestId(3986), new QuestId(2395)); - AddPreviousQuest(new QuestId(3986), new QuestId(3985)); - AddPreviousQuest(new QuestId(5188), new QuestId(4841)); - AddPreviousQuest(new QuestId(5188), new QuestId(4847)); - AddPreviousQuest(new QuestId(5188), new QuestId(4959)); + } + AddPreviousQuest(425, 495); + AddPreviousQuest(1480, 2373); + AddPreviousQuest(1717, 1619); + AddPreviousQuest(2088, 1619); + AddPreviousQuest(2062, 1617); + AddPreviousQuest(2063, 1619); + AddPreviousQuest(2257, 1655); + AddPreviousQuest(2608, 2534); + AddPreviousQuest(2600, 2466); + AddPreviousQuest(2622, 2490); + AddPreviousQuest(2624, 2534); + AddPreviousQuest(2898, 2490); + AddPreviousQuest(2974, 2491); + AddPreviousQuest(2975, 2630); + AddPreviousQuest(2912, 2490); + AddPreviousQuest(2914, 2537); + AddPreviousQuest(2919, 2455); + AddPreviousQuest(2952, 2518); + AddPreviousQuest(2904, 2503); + AddPreviousQuest(3038, 2534); + AddPreviousQuest(3087, 100); + AddPreviousQuest(3246, 3314); + AddPreviousQuest(3247, 3320); + AddPreviousQuest(3270, 3333); + AddPreviousQuest(3271, 3634); + AddPreviousQuest(3264, 2247); + AddPreviousQuest(3253, 2247); + AddPreviousQuest(3254, 2537); + AddPreviousQuest(3228, 3320); + AddPreviousQuest(3234, 3320); + AddPreviousQuest(3237, 3320); + AddPreviousQuest(3238, 3634); + AddPreviousQuest(3240, 3320); + AddPreviousQuest(3241, 3648); + AddPreviousQuest(3628, 3301); + AddPreviousQuest(3655, 2095); + AddPreviousQuest(3771, 495); + AddPreviousQuest(4068, 1658); + AddPreviousQuest(4078, 1583); + AddPreviousQuest(4150, 4417); + AddPreviousQuest(4155, 4383); + AddPreviousQuest(4156, 3326); + AddPreviousQuest(4158, 4434); + AddPreviousQuest(4159, 4464); + AddPreviousQuest(4163, 4398); + AddPreviousQuest(4165, 4438); + AddPreviousQuest(4473, 2095); + AddPreviousQuest(4650, 2374); + AddPreviousQuest(4662, 3166); + AddPreviousQuest(4761, 4032); + AddPreviousQuest(4812, 4750); + AddPreviousQuest(4851, 2446); + AddPreviousQuest(4856, 1669); + AddPreviousQuest(4857, 2553); + AddPreviousQuest(4979, 4896); + AddPreviousQuest(4980, 4911); + AddPreviousQuest(4985, 4903); + AddPreviousQuest(4987, 4912); + AddPreviousQuest(4988, 4942); + AddPreviousQuest(4992, 4912); + AddPreviousQuest(4999, 4908); + AddPreviousQuest(4966, 2095); + AddPreviousQuest(5000, 4908); + AddPreviousQuest(5001, 4912); + AddPreviousQuest(3629, 3248); + AddPreviousQuest(3629, 3272); + AddPreviousQuest(3629, 3278); + AddPreviousQuest(3629, 3628); + AddPreviousQuest(3986, 2115); + AddPreviousQuest(3986, 2116); + AddPreviousQuest(3986, 2281); + AddPreviousQuest(3986, 2333); + AddPreviousQuest(3986, 2395); + AddPreviousQuest(3986, 3985); + AddPreviousQuest(5188, 4841); + AddPreviousQuest(5188, 4847); + AddPreviousQuest(5188, 4959); ushort[] array = new ushort[20] { 107, 111, 112, 122, 663, 475, 472, 476, 470, 473, 474, 477, 486, 478, 479, 59, 400, 401, 693, 405 }; - foreach (ushort value in array) + foreach (ushort questId in array) { - ((QuestInfo)_quests[new QuestId(value)]).StartingCity = 1; + SetStartingCity(questId, 1); } array = new ushort[11] { 39, 1, 32, 34, 37, 172, 127, 130, 60, 220, 378 }; - foreach (ushort value2 in array) + foreach (ushort questId2 in array) { - ((QuestInfo)_quests[new QuestId(value2)]).StartingCity = 2; + SetStartingCity(questId2, 2); } array = new ushort[19] { 594, 389, 390, 321, 304, 322, 388, 308, 326, 58, 687, 341, 504, 531, 506, 530, 573, 342, 505 }; - foreach (ushort value3 in array) + foreach (ushort questId3 in array) { - ((QuestInfo)_quests[new QuestId(value3)]).StartingCity = 3; + SetStartingCity(questId3, 3); } AddGcFollowUpQuests(); MainScenarioQuests = _quests.Values.Where((IQuestInfo x) => x is QuestInfo questInfo && questInfo.IsMainScenarioQuest).Cast().ToList(); LastMainScenarioQuestId = (from x in MainScenarioQuests - where !questData.MainScenarioQuests.Any((QuestInfo y) => y.PreviousQuests.Any((PreviousQuestInfo z) => z.QuestId == x.QuestId)) + where !MainScenarioQuests.Any((QuestInfo y) => y.PreviousQuests.Any((PreviousQuestInfo z) => z.QuestId == x.QuestId)) select (QuestId)x.QuestId).FirstOrDefault() ?? new QuestId(0); - RedeemableItems = quests.Where((IQuestInfo x) => x is QuestInfo).Cast().SelectMany((QuestInfo x) => x.ItemRewards) + RedeemableItems = list.Where((IQuestInfo x) => x is QuestInfo).Cast().SelectMany((QuestInfo x) => x.ItemRewards) .ToImmutableHashSet(); } - private void AddPreviousQuest(QuestId questToUpdate, QuestId requiredQuestId) + private void AddPreviousQuest(ushort questToUpdate, ushort requiredQuestId) { - if (_quests.TryGetValue(questToUpdate, out IQuestInfo value) && value is QuestInfo questInfo) + QuestId questId = new QuestId(questToUpdate); + if (_quests.TryGetValue(questId, out IQuestInfo value) && value is QuestInfo questInfo) { - questInfo.AddPreviousQuest(new PreviousQuestInfo(requiredQuestId, 0)); + questInfo.AddPreviousQuest(new PreviousQuestInfo(new QuestId(requiredQuestId), 0)); + return; } + _logger.LogWarning("AddPreviousQuest: Quest {QuestId} not found or not a QuestInfo", questId); + } + + private void SetStartingCity(ushort questId, byte startingCity) + { + QuestId questId2 = new QuestId(questId); + if (_quests.TryGetValue(questId2, out IQuestInfo value) && value is QuestInfo questInfo) + { + questInfo.StartingCity = startingCity; + return; + } + _logger.LogWarning("SetStartingCity: Quest {QuestId} not found or not a QuestInfo", questId2); } private void AddGcFollowUpQuests() { - QuestId[] array = new QuestId[3] + ushort[] array = new ushort[3] { 683, 684, 685 }; + ushort[] array2 = array; + foreach (ushort questId in array2) { - new QuestId(683), - new QuestId(684), - new QuestId(685) - }; - QuestId[] array2 = array; - foreach (QuestId questId in array2) - { - ((QuestInfo)_quests[questId]).AddQuestLocks(EQuestJoin.AtLeastOne, array.Where((QuestId x) => x != questId).ToArray()); + QuestId questId2 = new QuestId(questId); + if (_quests.TryGetValue(questId2, out IQuestInfo value) && value is QuestInfo questInfo) + { + questInfo.AddQuestLocks(EQuestJoin.AtLeastOne, (from x in array + where x != questId + select new QuestId(x)).ToArray()); + } + else + { + _logger.LogWarning("AddGcFollowUpQuests: Quest {QuestId} not found or not a QuestInfo", questId2); + } } } public IQuestInfo GetQuestInfo(ElementId elementId) { - return _quests[elementId] ?? throw new ArgumentOutOfRangeException("elementId"); + return _quests[elementId]; } public bool TryGetQuestInfo(ElementId elementId, [NotNullWhen(true)] out IQuestInfo? questInfo) @@ -644,6 +652,9 @@ internal sealed class QuestData list2 = list13; break; } + case EClassJob.Beastmaster: + list2 = new List(); + break; case EClassJob.Alchemist: { int num = 3; @@ -792,29 +803,55 @@ internal sealed class QuestData return GetQuestsInNewGamePlusChapters(GetRoleQuestIds(referenceClassJob).ToList()); } + public List GetRoleQuestsByChapter(uint chapterId) + { + int num = 1; + List list = new List(num); + CollectionsMarshal.SetCount(list, num); + CollectionsMarshal.AsSpan(list)[0] = chapterId; + return GetQuestsInNewGamePlusChapters(list); + } + private static IEnumerable GetRoleQuestIds(EClassJob classJob) { - if (classJob.IsTank()) + return ResolveRoleDataForJob(classJob)?.Chapters ?? Array.Empty(); + } + + public static IReadOnlyList GetFinalRoleQuests(ERoleQuestPreference preference, EClassJob currentJob) + { + return ResolveRoleData(preference, currentJob)?.FinalQuests ?? Array.Empty(); + } + + public static IReadOnlyList GetRoleQuestChaptersForPreference(ERoleQuestPreference preference, EClassJob currentJob) + { + return ResolveRoleData(preference, currentJob)?.Chapters ?? Array.Empty(); + } + + public static bool JobMatchesRolePreference(ERoleQuestPreference preference, EClassJob classJob) + { + if (preference == ERoleQuestPreference.Default) { - return TankRoleQuestChapters; + return true; } - if (classJob.IsHealer()) + if (RoleDataByPreference.TryGetValue(preference, out RoleQuestData value)) { - return HealerRoleQuestChapters; + return value.JobMatch(classJob); } - if (classJob.IsMelee()) + return false; + } + + private static RoleQuestData? ResolveRoleData(ERoleQuestPreference preference, EClassJob currentJob) + { + if (preference != ERoleQuestPreference.Default && RoleDataByPreference.TryGetValue(preference, out RoleQuestData value)) { - return MeleeRoleQuestChapters; + return value; } - if (classJob.IsPhysicalRanged()) - { - return PhysicalRangedRoleQuestChapters; - } - if (classJob.IsCaster() && classJob != EClassJob.BlueMage) - { - return CasterRoleQuestChapters; - } - return Array.Empty(); + return ResolveRoleDataForJob(currentJob); + } + + private static RoleQuestData? ResolveRoleDataForJob(EClassJob classJob) + { + return AllRoleData.FirstOrDefault((RoleQuestData d) => d.JobMatch(classJob)); } private List GetQuestsInNewGamePlusChapters(List chapterIds) @@ -824,10 +861,14 @@ internal sealed class QuestData select x).ToList(); } - public unsafe List GetLockedClassQuests() + public static List GetLockedClassQuests() { - PlayerState* ptr = PlayerState.Instance(); - EClassJob eClassJob = (EClassJob)((ptr != null) ? ptr->FirstClass : 0); + byte firstClass = PlayerStateHelper.GetFirstClass(); + if (firstClass == _cachedFirstClass && _cachedLockedClassQuests.Count > 0) + { + return _cachedLockedClassQuests; + } + EClassJob eClassJob = (EClassJob)((firstClass != 0) ? firstClass : 0); if (eClassJob == EClassJob.Adventurer) { return new List(); @@ -1020,26 +1061,31 @@ internal sealed class QuestData span17[3] = 457; } reference8 = list9; - return (from x in list.SelectMany((List x) => x) + _cachedFirstClass = firstClass; + _cachedLockedClassQuests = (from x in list.SelectMany((List x) => x) select new QuestId(x)).ToList(); + return _cachedLockedClassQuests; } public void ApplySeasonalOverride(ElementId questId, bool isSeasonal, DateTime? expiry) { if (_quests.TryGetValue(questId, out IQuestInfo value) && value is QuestInfo questInfo) { - DateTime? seasonalQuestExpiry = null; - if (expiry.HasValue) - { - DateTime value2 = expiry.Value; - seasonalQuestExpiry = ((!(value2.TimeOfDay == TimeSpan.Zero)) ? new DateTime?((value2.Kind == DateTimeKind.Utc) ? value2 : value2.ToUniversalTime()) : new DateTime?(EventInfoComponent.AtDailyReset(DateOnly.FromDateTime(value2)))); - } + DateTime? seasonalQuestExpiry = (expiry.HasValue ? new DateTime?(ExpiryUtils.NormalizeExpiry(expiry.Value)) : ((DateTime?)null)); questInfo.IsSeasonalQuest = isSeasonal; questInfo.SeasonalQuestExpiry = seasonalQuestExpiry; } + else if (value is UnlockLinkQuestInfo) + { + _logger.LogDebug("ApplySeasonalOverride: Quest {QuestId} is UnlockLinkQuestInfo (expiry handled at construction)", questId); + } + else if (value != null) + { + _logger.LogDebug("ApplySeasonalOverride: Quest {QuestId} is {Type}, seasonal override not applicable", questId, value.GetType().Name); + } else { - _ = value is UnlockLinkQuestInfo; + _logger.LogWarning("ApplySeasonalOverride: Quest {QuestId} not found in QuestData", questId); } } @@ -1047,6 +1093,7 @@ internal sealed class QuestData { ArgumentNullException.ThrowIfNull(info, "info"); _quests[info.QuestId] = info; + _logger.LogDebug("Added or replaced QuestInfo for {QuestId} in QuestData", info.QuestId); } static QuestData() @@ -1328,5 +1375,45 @@ internal sealed class QuestData new QuestId(3278), new QuestId(3628) }); + TankData = new RoleQuestData(TankRoleQuestChapters, new global::_003C_003Ez__ReadOnlyArray(new QuestId[3] + { + new QuestId(3248), + new QuestId(4107), + new QuestId(4823) + }), (EClassJob j) => j.IsTank()); + HealerData = new RoleQuestData(HealerRoleQuestChapters, new global::_003C_003Ez__ReadOnlyArray(new QuestId[3] + { + new QuestId(3272), + new QuestId(4113), + new QuestId(4829) + }), (EClassJob j) => j.IsHealer()); + MeleeData = new RoleQuestData(MeleeRoleQuestChapters, new global::_003C_003Ez__ReadOnlyArray(new QuestId[3] + { + new QuestId(3278), + new QuestId(4119), + new QuestId(4835) + }), (EClassJob j) => j.IsMelee() && j != EClassJob.Beastmaster); + PhysicalRangedData = new RoleQuestData(PhysicalRangedRoleQuestChapters, new global::_003C_003Ez__ReadOnlyArray(new QuestId[3] + { + new QuestId(3278), + new QuestId(4125), + new QuestId(4841) + }), (EClassJob j) => j.IsPhysicalRanged()); + CasterData = new RoleQuestData(CasterRoleQuestChapters, new global::_003C_003Ez__ReadOnlyArray(new QuestId[3] + { + new QuestId(3628), + new QuestId(4131), + new QuestId(4847) + }), (EClassJob j) => j.IsCaster() && j != EClassJob.BlueMage); + RoleDataByPreference = new Dictionary + { + [ERoleQuestPreference.Tank] = TankData, + [ERoleQuestPreference.Healer] = HealerData, + [ERoleQuestPreference.Melee] = MeleeData, + [ERoleQuestPreference.PhysicalRanged] = PhysicalRangedData, + [ERoleQuestPreference.Caster] = CasterData + }; + AllRoleData = new global::_003C_003Ez__ReadOnlyArray(new RoleQuestData[5] { TankData, HealerData, MeleeData, PhysicalRangedData, CasterData }); + _cachedLockedClassQuests = new List(); } } diff --git a/Questionable/Questionable.Data/SinglePlayerDutyEntry.cs b/Questionable/Questionable.Data/SinglePlayerDutyEntry.cs new file mode 100644 index 0000000..baab17f --- /dev/null +++ b/Questionable/Questionable.Data/SinglePlayerDutyEntry.cs @@ -0,0 +1,3 @@ +namespace Questionable.Data; + +public record SinglePlayerDutyEntry(bool Enabled, byte Index = 0, string? TestedBossModVersion = null, params string[] Notes); diff --git a/Questionable/Questionable.Data/TerritoryData.cs b/Questionable/Questionable.Data/TerritoryData.cs index 78a3024..ddf1626 100644 --- a/Questionable/Questionable.Data/TerritoryData.cs +++ b/Questionable/Questionable.Data/TerritoryData.cs @@ -8,17 +8,22 @@ using System.Runtime.CompilerServices; using Dalamud.Game; using Dalamud.Plugin.Services; using Dalamud.Utility; +using Lumina.Excel; using Lumina.Excel.Sheets; +using Microsoft.Extensions.Logging; using Questionable.Model.Questing; +using SmartNav; namespace Questionable.Data; -internal sealed class TerritoryData +internal sealed class TerritoryData : ITerritoryInfo { - public sealed record ContentFinderConditionData(uint ContentFinderConditionId, string Name, uint TerritoryId, ushort RequiredItemLevel) + public readonly record struct ZoneAccessRequirement(byte RequirementType, uint QuestRowId, uint RequiredSequence); + + public sealed record ContentFinderConditionData(uint ContentFinderConditionId, string Name, uint TerritoryId, ushort RequiredItemLevel, byte ClassJobLevelSync, bool AllowUndersized, bool IsDungeon) { public ContentFinderConditionData(ContentFinderCondition condition, ClientLanguage clientLanguage) - : this(condition.RowId, FixName(condition.Name.ToDalamudString().ToString(), clientLanguage), condition.TerritoryType.RowId, condition.ItemLevelRequired) + : this(condition.RowId, FixName(condition.Name.ToDalamudString().ToString(), clientLanguage), condition.TerritoryType.RowId, condition.ItemLevelRequired, condition.ClassJobLevelSync, condition.AllowUndersized, condition.ContentType.RowId == 2) { } } @@ -27,6 +32,10 @@ internal sealed class TerritoryData private readonly ImmutableHashSet _territoriesWithMount; + private readonly ImmutableDictionary _territoryExVersions; + + private readonly ImmutableDictionary _territoryZoneAccessRequirements; + private readonly ImmutableDictionary _dutyTerritories; private readonly ImmutableDictionary _instanceNames; @@ -37,26 +46,79 @@ internal sealed class TerritoryData private readonly ImmutableDictionary<(ElementId QuestId, byte Index), uint> _questBattlesToContentFinderCondition; - public TerritoryData(IDataManager dataManager) + public TerritoryData(IDataManager dataManager, ILogger logger) { - _territoryNames = (from x in dataManager.GetExcelSheet() - where x.RowId != 0 - select new + Dictionary dictionary = dataManager.GetSubrowExcelSheet().Flatten().Where(delegate(ZoneSharedGroup x) + { + bool flag = x.SubrowId == 0; + if (flag) { - RowId = x.RowId, - Name = (x.PlaceName.ValueNullable?.Name.ToString() ?? x.PlaceNameZone.ValueNullable?.Name.ToString()) - } into x - where !string.IsNullOrEmpty(x.Name) - select x).ToImmutableDictionary(x => x.RowId, x => x.Name); - _territoriesWithMount = (from x in dataManager.GetExcelSheet() - where x.RowId != 0 && x.Mount - select x.RowId).ToImmutableHashSet(); - _dutyTerritories = (from x in dataManager.GetExcelSheet() - where x.RowId != 0 && x.ContentFinderCondition.RowId != 0 - select x).ToImmutableDictionary((TerritoryType x) => x.RowId, (TerritoryType x) => x.ContentFinderCondition.Value.ContentType.RowId); + byte b = x.RequirementType[0]; + bool flag2 = (uint)(b - 1) <= 1u; + flag = flag2; + } + return flag; + }) + .ToDictionary((ZoneSharedGroup x) => x.RowId, (ZoneSharedGroup x) => new ZoneAccessRequirement(x.RequirementType[0], x.RequirementRow[0].RowId, x.RequirementQuestSequence[0])); + ImmutableDictionary.Builder builder = ImmutableDictionary.CreateBuilder(); + ImmutableHashSet.Builder builder2 = ImmutableHashSet.CreateBuilder(); + ImmutableDictionary.Builder builder3 = ImmutableDictionary.CreateBuilder(); + ImmutableDictionary.Builder builder4 = ImmutableDictionary.CreateBuilder(); + ImmutableDictionary.Builder builder5 = ImmutableDictionary.CreateBuilder(); + List list = new List(); + foreach (TerritoryType item in dataManager.GetExcelSheet()) + { + if (item.RowId == 0) + { + continue; + } + string value = item.PlaceName.ValueNullable?.Name.ToString() ?? item.PlaceNameZone.ValueNullable?.Name.ToString(); + if (!string.IsNullOrEmpty(value)) + { + builder[item.RowId] = value; + } + if (item.Mount) + { + builder2.Add(item.RowId); + } + if (item.ExVersion.RowId != 0) + { + builder3[item.RowId] = (byte)item.ExVersion.RowId; + } + if (item.ZoneSharedGroup.RowId != 0 && dictionary.TryGetValue(item.ZoneSharedGroup.RowId, out var value2)) + { + if ((dataManager.GetExcelSheet().GetRowOrDefault(value2.QuestRowId)?.Expansion.RowId ?? 0) > item.ExVersion.RowId) + { + list.Add(item.RowId); + } + else + { + builder4[item.RowId] = value2; + } + } + RowRef contentFinderCondition = item.ContentFinderCondition; + if (contentFinderCondition.RowId != 0) + { + ContentFinderCondition? valueNullable = contentFinderCondition.ValueNullable; + if (valueNullable.HasValue) + { + ContentFinderCondition valueOrDefault = valueNullable.GetValueOrDefault(); + builder5[item.RowId] = valueOrDefault.ContentType.RowId; + } + } + } + _territoryNames = builder.ToImmutable(); + _territoriesWithMount = builder2.ToImmutable(); + _territoryExVersions = builder3.ToImmutable(); + _territoryZoneAccessRequirements = builder4.ToImmutable(); + _dutyTerritories = builder5.ToImmutable(); + if (list.Count > 0) + { + logger.LogDebug("Ignoring later-expansion ZoneSharedGroup gate for {Count} walkable zones: {Zones}", list.Count, string.Join(", ", list.Select(GetNameAndId))); + } _instanceNames = (from x in dataManager.GetExcelSheet() where x.RowId != 0 && x.Content.RowId != 0 && x.ContentLinkType == 1 && x.ContentType.RowId != 6 - select x).ToImmutableDictionary((ContentFinderCondition x) => x.Content.RowId, (ContentFinderCondition x) => x.Name.ToDalamudString().ToString()); + group x by x.Content.RowId).ToImmutableDictionary((IGrouping g) => g.Key, (IGrouping g) => g.First().Name.ToDalamudString().ToString()); _contentFinderConditions = (from x in dataManager.GetExcelSheet().Where(delegate(ContentFinderCondition x) { bool flag = x.RowId != 0 && x.Content.RowId != 0; @@ -104,6 +166,24 @@ internal sealed class TerritoryData return _territoriesWithMount.Contains(territoryId); } + public byte GetExVersion(uint territoryId) + { + if (!_territoryExVersions.TryGetValue(territoryId, out var value)) + { + return 0; + } + return value; + } + + public ZoneAccessRequirement? GetZoneAccessRequirement(uint territoryId) + { + if (!_territoryZoneAccessRequirements.TryGetValue(territoryId, out var value)) + { + return null; + } + return value; + } + public bool IsDutyInstance(uint territoryId) { return _dutyTerritories.ContainsKey(territoryId); diff --git a/Questionable/Questionable.External/ArtisanIpc.cs b/Questionable/Questionable.External/ArtisanIpc.cs index 3d6f2a5..8e42677 100644 --- a/Questionable/Questionable.External/ArtisanIpc.cs +++ b/Questionable/Questionable.External/ArtisanIpc.cs @@ -11,20 +11,71 @@ internal sealed class ArtisanIpc private readonly ICallGateSubscriber _craftItem; + private readonly ICallGateSubscriber _isBusy; + private readonly ICallGateSubscriber _getEnduranceStatus; + private readonly ICallGateSubscriber _setEnduranceStatus; + + private readonly ICallGateSubscriber _getStopRequest; + + private readonly ICallGateSubscriber _setStopRequest; + public ArtisanIpc(IDalamudPluginInterface pluginInterface, ILogger logger) { _logger = logger; _craftItem = pluginInterface.GetIpcSubscriber("Artisan.CraftItem"); + _isBusy = pluginInterface.GetIpcSubscriber("Artisan.IsBusy"); _getEnduranceStatus = pluginInterface.GetIpcSubscriber("Artisan.GetEnduranceStatus"); + _setEnduranceStatus = pluginInterface.GetIpcSubscriber("Artisan.SetEnduranceStatus"); + _getStopRequest = pluginInterface.GetIpcSubscriber("Artisan.GetStopRequest"); + _setStopRequest = pluginInterface.GetIpcSubscriber("Artisan.SetStopRequest"); + } + + public bool IsAvailable() + { + try + { + _isBusy.InvokeFunc(); + return true; + } + catch (IpcError) + { + return false; + } + } + + public bool IsBusy() + { + try + { + return _isBusy.InvokeFunc(); + } + catch (IpcError exception) + { + _logger.LogError(exception, "Unable to check Artisan busy status"); + return false; + } + } + + public bool IsCrafting() + { + try + { + return _isBusy.InvokeFunc() || _getEnduranceStatus.InvokeFunc(); + } + catch (IpcError exception) + { + _logger.LogError(exception, "Unable to check Artisan crafting status"); + return false; + } } public bool CraftItem(ushort recipeId, int quantity) { try { - _logger.LogInformation("Attempting to craft {Quantity} items with recipe {RecipeId} with Artisan", quantity, recipeId); + _logger.LogDebug("Attempting to craft {Quantity} items with recipe {RecipeId} with Artisan", quantity, recipeId); _craftItem.InvokeAction(recipeId, quantity); return true; } @@ -35,16 +86,40 @@ internal sealed class ArtisanIpc } } - public bool IsCrafting() + public void SetEnduranceStatus(bool enabled) { try { - return _getEnduranceStatus.InvokeFunc(); + _setEnduranceStatus.InvokeAction(enabled); } catch (IpcError exception) { - _logger.LogError(exception, "Unable to check for Artisan endurance status"); + _logger.LogError(exception, "Unable to set Artisan endurance status"); + } + } + + public bool GetStopRequest() + { + try + { + return _getStopRequest.InvokeFunc(); + } + catch (IpcError exception) + { + _logger.LogError(exception, "Unable to check Artisan stop request"); return false; } } + + public void SetStopRequest(bool stop) + { + try + { + _setStopRequest.InvokeAction(stop); + } + catch (IpcError exception) + { + _logger.LogError(exception, "Unable to set Artisan stop request"); + } + } } diff --git a/Questionable/Questionable.External/AutoDutyIpc.cs b/Questionable/Questionable.External/AutoDutyIpc.cs index 257efc4..00d5363 100644 --- a/Questionable/Questionable.External/AutoDutyIpc.cs +++ b/Questionable/Questionable.External/AutoDutyIpc.cs @@ -25,10 +25,14 @@ internal sealed class AutoDutyIpc private readonly ICallGateSubscriber _contentHasPath; + private readonly ICallGateSubscriber _getConfig; + private readonly ICallGateSubscriber _setConfig; private readonly ICallGateSubscriber _run; + private readonly ICallGateSubscriber _start; + private readonly ICallGateSubscriber _isStopped; private readonly ICallGateSubscriber _stop; @@ -45,14 +49,40 @@ internal sealed class AutoDutyIpc _territoryData = territoryData; _logger = logger; _contentHasPath = pluginInterface.GetIpcSubscriber("AutoDuty.ContentHasPath"); + _getConfig = pluginInterface.GetIpcSubscriber("AutoDuty.GetConfig"); _setConfig = pluginInterface.GetIpcSubscriber("AutoDuty.SetConfig"); _run = pluginInterface.GetIpcSubscriber("AutoDuty.Run"); + _start = pluginInterface.GetIpcSubscriber("AutoDuty.Start"); _isStopped = pluginInterface.GetIpcSubscriber("AutoDuty.IsStopped"); _stop = pluginInterface.GetIpcSubscriber("AutoDuty.Stop"); _loggedContentHasPathQueryWarning = false; _loggedLevelingModeWarning = false; } + public bool ManagesRotationPluginState() + { + try + { + return string.Equals(_getConfig.InvokeFunc("AutoManageRotationPluginState"), "True", StringComparison.OrdinalIgnoreCase); + } + catch (IpcError) + { + return false; + } + } + + public bool ManagesBossModAiSettings() + { + try + { + return string.Equals(_getConfig.InvokeFunc("AutoManageBossModAISettings"), "True", StringComparison.OrdinalIgnoreCase); + } + catch (IpcError) + { + return false; + } + } + public bool IsConfiguredToRunContent(DutyOptions? dutyOptions) { if (dutyOptions == null || dutyOptions.ContentFinderConditionId == 0) @@ -63,17 +93,18 @@ internal sealed class AutoDutyIpc { return false; } - if (_configuration.Duties.BlacklistedDutyCfcIds.Contains(dutyOptions.ContentFinderConditionId)) + uint contentFinderConditionId = dutyOptions.ContentFinderConditionId; + if (_configuration.Duties.BlacklistedDutyCfcIds.Contains(contentFinderConditionId)) { return false; } - if (_configuration.Duties.WhitelistedDutyCfcIds.Contains(dutyOptions.ContentFinderConditionId) && _territoryData.TryGetContentFinderCondition(dutyOptions.ContentFinderConditionId, out TerritoryData.ContentFinderConditionData _)) + if (_configuration.Duties.WhitelistedDutyCfcIds.Contains(contentFinderConditionId) && _territoryData.TryGetContentFinderCondition(contentFinderConditionId, out TerritoryData.ContentFinderConditionData _)) { return true; } - if (dutyOptions.Enabled) + if (DutyRegistry.Duties.TryGetValue(contentFinderConditionId, out DutyEntry value) && value.Enabled) { - return HasPath(dutyOptions.ContentFinderConditionId); + return HasPath(contentFinderConditionId); } return false; } @@ -91,6 +122,7 @@ internal sealed class AutoDutyIpc } if (currentPlayerLevel < 15) { + _logger.LogDebug("Leveling mode is enabled but player level {CurrentLevel} is below minimum required level {MinLevel}", currentPlayerLevel, 15); return false; } return true; @@ -125,6 +157,7 @@ internal sealed class AutoDutyIpc } try { + _logger.LogDebug("Disabling AutoDuty leveling mode before starting specific duty {CfcId}", cfcId); _setConfig.InvokeAction("leveling", "None"); _setConfig.InvokeAction("Unsynced", $"{dutyMode == DutyMode.UnsyncRegular}"); ICallGateSubscriber setConfig = _setConfig; @@ -151,9 +184,10 @@ internal sealed class AutoDutyIpc _logger.LogDebug("AutoDuty is already running, not starting leveling mode again"); return true; } - _logger.LogInformation("Starting AutoDuty Leveling mode (Support) - AutoDuty will select the best dungeon"); + _logger.LogDebug("Starting AutoDuty Leveling mode (Support) - AutoDuty will select the best dungeon"); _setConfig.InvokeAction("leveling", "Support"); - _run.InvokeAction(0u, 1, !_configuration.Advanced.DisableAutoDutyBareMode); + _setConfig.InvokeAction("AutoDutyModeEnum", "Looping"); + _start.InvokeAction(arg1: true); return true; } catch (IpcError ipcError) @@ -188,24 +222,11 @@ internal sealed class AutoDutyIpc } } - public void DisableLevelingMode() + public bool Stop() { try { - _logger.LogInformation("Disabling AutoDuty leveling mode"); - _setConfig.InvokeAction("leveling", "None"); - } - catch (IpcError ipcError) - { - _logger.LogWarning("Unable to disable AutoDuty leveling mode: {Message}", ipcError.Message); - } - } - - public void Stop() - { - try - { - _logger.LogInformation("Calling AutoDuty.Stop"); + _logger.LogDebug("Calling AutoDuty.Stop"); try { _setConfig.InvokeAction("leveling", "None"); @@ -214,10 +235,12 @@ internal sealed class AutoDutyIpc { } _stop.InvokeAction(); + return true; } catch (IpcError ipcError2) { - throw new TaskException("Unable to stop AutoDuty: " + ipcError2.Message, ipcError2); + _logger.LogWarning("Unable to stop AutoDuty: {Message}", ipcError2.Message); + return false; } } } diff --git a/Questionable/Questionable.External/AutoHookIpc.cs b/Questionable/Questionable.External/AutoHookIpc.cs new file mode 100644 index 0000000..88e4c8d --- /dev/null +++ b/Questionable/Questionable.External/AutoHookIpc.cs @@ -0,0 +1,137 @@ +using Dalamud.Plugin; +using Dalamud.Plugin.Ipc; +using Dalamud.Plugin.Ipc.Exceptions; +using Microsoft.Extensions.Logging; + +namespace Questionable.External; + +internal sealed class AutoHookIpc +{ + private readonly ILogger _logger; + + private readonly ICallGateSubscriber _getPluginState; + + private readonly ICallGateSubscriber _setPluginState; + + private readonly ICallGateSubscriber _getAutoStartFishing; + + private readonly ICallGateSubscriber _setAutoStartFishing; + + private readonly ICallGateSubscriber _swapBaitById; + + private readonly ICallGateSubscriber _createAndSelectAnonymousPreset; + + private readonly ICallGateSubscriber _deleteAllAnonymousPresets; + + public AutoHookIpc(IDalamudPluginInterface pluginInterface, ILogger logger) + { + _logger = logger; + _getPluginState = pluginInterface.GetIpcSubscriber("AutoHook.GetPluginState"); + _setPluginState = pluginInterface.GetIpcSubscriber("AutoHook.SetPluginState"); + _getAutoStartFishing = pluginInterface.GetIpcSubscriber("AutoHook.GetAutoStartFishing"); + _setAutoStartFishing = pluginInterface.GetIpcSubscriber("AutoHook.SetAutoStartFishing"); + _swapBaitById = pluginInterface.GetIpcSubscriber("AutoHook.SwapBaitById"); + _createAndSelectAnonymousPreset = pluginInterface.GetIpcSubscriber("AutoHook.CreateAndSelectAnonymousPreset"); + _deleteAllAnonymousPresets = pluginInterface.GetIpcSubscriber("AutoHook.DeleteAllAnonymousPresets"); + } + + public bool IsAvailable() + { + try + { + _getPluginState.InvokeFunc(); + return true; + } + catch (IpcError) + { + return false; + } + } + + public bool GetPluginState() + { + try + { + return _getPluginState.InvokeFunc(); + } + catch (IpcError exception) + { + _logger.LogError(exception, "Unable to get AutoHook plugin state"); + return false; + } + } + + public void SetPluginState(bool enabled) + { + try + { + _setPluginState.InvokeAction(enabled); + } + catch (IpcError exception) + { + _logger.LogError(exception, "Unable to set AutoHook plugin state"); + } + } + + public bool GetAutoStartFishing() + { + try + { + return _getAutoStartFishing.InvokeFunc(); + } + catch (IpcError exception) + { + _logger.LogError(exception, "Unable to get AutoHook auto-start fishing state"); + return false; + } + } + + public void SetAutoStartFishing(bool enabled) + { + try + { + _setAutoStartFishing.InvokeAction(enabled); + } + catch (IpcError exception) + { + _logger.LogError(exception, "Unable to set AutoHook auto-start fishing state"); + } + } + + public bool SwapBaitById(uint baitId) + { + try + { + return _swapBaitById.InvokeFunc(baitId); + } + catch (IpcError exception) + { + _logger.LogError(exception, "Unable to swap bait to {BaitId}", baitId); + return false; + } + } + + public void CreateAndSelectAnonymousPreset(string compressedPreset) + { + try + { + _createAndSelectAnonymousPreset.InvokeAction(compressedPreset); + } + catch (IpcError exception) + { + _logger.LogError(exception, "Unable to create and select anonymous AutoHook preset"); + } + } + + public void DeleteAllAnonymousPresets() + { + try + { + _deleteAllAnonymousPresets.InvokeAction(); + } + catch (IpcError exception) + { + _logger.LogError(exception, "Unable to delete anonymous AutoHook presets"); + } + } +} diff --git a/Questionable/Questionable.External/AutomatonIpc.cs b/Questionable/Questionable.External/AutomatonIpc.cs index 5f6eb1b..49ed01e 100644 --- a/Questionable/Questionable.External/AutomatonIpc.cs +++ b/Questionable/Questionable.External/AutomatonIpc.cs @@ -1,11 +1,9 @@ using System; using System.Collections.Generic; using System.Collections.Immutable; -using System.Threading.Tasks; using Dalamud.Plugin; -using Dalamud.Plugin.Ipc; -using Dalamud.Plugin.Ipc.Exceptions; using Dalamud.Plugin.Services; +using LLib.External; using Microsoft.Extensions.Logging; using Questionable.Controller; using Questionable.Data; @@ -14,13 +12,13 @@ namespace Questionable.External; internal sealed class AutomatonIpc : IDisposable { - private static readonly ImmutableHashSet ConflictingTweaks = new HashSet + internal static readonly ImmutableHashSet ConflictingTweaks = new HashSet { "DateWithDestiny", "AutoFollow", "ClickToMove", "AutoPillion", "AutoInvite", "AutoBusy", "FateToolKit", "AutoQueue", "EnhancedDutyStartEnd", "EnhancedLoginLogout", "GettingTooAttached", "RetrieveMateria" }.ToImmutableHashSet(); - private const string AutoSnipeTweak = "AutoSnipeQuests"; + internal const string AutoSnipeTweak = "AutoSnipeQuests"; private readonly Configuration _configuration; @@ -30,34 +28,32 @@ internal sealed class AutomatonIpc : IDisposable private readonly SeasonalDutyController _seasonalDutyController; + private readonly CustomDeliveryController _customDeliveryController; + private readonly TerritoryData _territoryData; private readonly IClientState _clientState; private readonly IFramework _framework; + private readonly PluginFeaturePauser _pauser; + private readonly ILogger _logger; - private readonly ICallGateSubscriber _isTweakEnabled; - - private readonly ICallGateSubscriber _setTweakState; - - private HashSet? _pausedTweaks; - private bool _wasFateRunning; - public AutomatonIpc(Configuration configuration, IDalamudPluginInterface pluginInterface, QuestController questController, FateController fateController, SeasonalDutyController seasonalDutyController, TerritoryData territoryData, IClientState clientState, IFramework framework, ILogger logger) + public AutomatonIpc(Configuration configuration, IDalamudPluginInterface pluginInterface, QuestController questController, FateController fateController, SeasonalDutyController seasonalDutyController, CustomDeliveryController customDeliveryController, TerritoryData territoryData, IClientState clientState, IFramework framework, ILogger logger) { _configuration = configuration; _questController = questController; _fateController = fateController; _seasonalDutyController = seasonalDutyController; + _customDeliveryController = customDeliveryController; _territoryData = territoryData; _clientState = clientState; _framework = framework; _logger = logger; - _isTweakEnabled = pluginInterface.GetIpcSubscriber("Automaton.IsTweakEnabled"); - _setTweakState = pluginInterface.GetIpcSubscriber("Automaton.SetTweakState"); + _pauser = new PluginFeaturePauser(pluginInterface, "Automaton.IsTweakEnabled", "Automaton.SetTweakState", logger); _questController.AutomationTypeChanged += OnAutomationTypeChanged; _framework.Update += OnFrameworkUpdate; } @@ -66,88 +62,60 @@ internal sealed class AutomatonIpc : IDisposable { if (automationType != QuestController.EAutomationType.Manual && !_territoryData.IsDutyInstance(_clientState.TerritoryType)) { - Task.Run((Action)DisableConflictingTweaks); + InvokeGuarded(DisableConflictingTweaks); } - else if (!_fateController.IsRunning && !_seasonalDutyController.IsRunning) + else if (!_fateController.IsRunning && !_seasonalDutyController.IsRunning && !_customDeliveryController.IsRunning) { - Task.Run((Action)RestoreConflictingTweaks); + InvokeGuarded(delegate + { + _pauser.Restore(); + }); } } private void OnFrameworkUpdate(IFramework framework) { - bool flag = _fateController.IsRunning || _seasonalDutyController.IsRunning; - if (flag != _wasFateRunning) + bool flag = _fateController.IsRunning || _seasonalDutyController.IsRunning || _customDeliveryController.IsRunning; + if (flag == _wasFateRunning) { - _wasFateRunning = flag; - if (flag && !_territoryData.IsDutyInstance(_clientState.TerritoryType)) + return; + } + _wasFateRunning = flag; + if (flag && !_territoryData.IsDutyInstance(_clientState.TerritoryType)) + { + InvokeGuarded(DisableConflictingTweaks); + } + else if (_questController.AutomationType == QuestController.EAutomationType.Manual) + { + InvokeGuarded(delegate { - Task.Run((Action)DisableConflictingTweaks); - } - else if (_questController.AutomationType == QuestController.EAutomationType.Manual) - { - Task.Run((Action)RestoreConflictingTweaks); - } + _pauser.Restore(); + }); + } + } + + private void InvokeGuarded(Action action) + { + try + { + action(); + } + catch (Exception exception) + { + _logger.LogError(exception, "Automaton IPC call failed"); } } private void DisableConflictingTweaks() { - if (_pausedTweaks != null) - { - return; - } - _pausedTweaks = new HashSet(); - foreach (string conflictingTweak in ConflictingTweaks) - { - TryDisableTweak(conflictingTweak); - } - if (_configuration.General.AutoSnipe) - { - TryDisableTweak("AutoSnipeQuests"); - } - } - - private void TryDisableTweak(string tweak) - { - try - { - if (_isTweakEnabled.InvokeFunc(tweak)) - { - _setTweakState.InvokeAction(tweak, arg2: false); - _pausedTweaks.Add(tweak); - _logger.LogInformation("Paused Automaton tweak: {Tweak}", tweak); - } - } - catch (IpcError) - { - } - } - - private void RestoreConflictingTweaks() - { - if (_pausedTweaks == null) - { - return; - } - foreach (string pausedTweak in _pausedTweaks) - { - try - { - _setTweakState.InvokeAction(pausedTweak, arg2: true); - _logger.LogInformation("Restored Automaton tweak: {Tweak}", pausedTweak); - } - catch (IpcError) - { - } - } - _pausedTweaks = null; + ImmutableHashSet immutableHashSet = (_configuration.General.AutoSnipe ? ConflictingTweaks.Add("AutoSnipeQuests") : ConflictingTweaks); + _pauser.Disable(immutableHashSet.Except(_configuration.Advanced.AutomatonTweakExclusions)); } public void Dispose() { _framework.Update -= OnFrameworkUpdate; _questController.AutomationTypeChanged -= OnAutomationTypeChanged; - RestoreConflictingTweaks(); + _pauser.Dispose(); } } diff --git a/Questionable/Questionable.External/BossModIpc.cs b/Questionable/Questionable.External/BossModIpc.cs index 3463eca..42a5ae9 100644 --- a/Questionable/Questionable.External/BossModIpc.cs +++ b/Questionable/Questionable.External/BossModIpc.cs @@ -1,57 +1,42 @@ using System; +using System.Collections.Frozen; using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.IO; +using System.Linq; +using System.Runtime.InteropServices; using Dalamud.Plugin; using Dalamud.Plugin.Ipc; using Dalamud.Plugin.Ipc.Exceptions; using Dalamud.Plugin.Services; +using LLib.GameData; +using Microsoft.Extensions.Logging; using Questionable.Data; using Questionable.Model.Questing; namespace Questionable.External; -internal sealed class BossModIpc +internal sealed class BossModIpc : IDisposable { + private sealed record Strategy(string Module, string Track, string Option); + public enum EPreset { - Overworld, - QuestBattle + Active, + Passive } - private sealed class PresetDefinition + public enum EVariant { - public string Name { get; } - - public string Content { get; } - - public PresetDefinition(string name, string fileName) - { - Name = name; - Content = LoadPreset(fileName); - base._002Ector(); - } - - private static string LoadPreset(string name) - { - using StreamReader streamReader = new StreamReader(typeof(BossModIpc).Assembly.GetManifestResourceStream("Questionable.Controller.CombatModules.BossModPreset." + name) ?? throw new InvalidOperationException("Preset " + name + " was not found")); - return streamReader.ReadToEnd(); - } + VBM, + BMR } - private const string PluginName = "BossMod"; + private const string ActivePresetName = "Questionable"; - private static readonly ReadOnlyDictionary PresetDefinitions = new Dictionary - { - { - EPreset.Overworld, - new PresetDefinition("Questionable", "Overworld") - }, - { - EPreset.QuestBattle, - new PresetDefinition("Questionable - Quest Battles", "QuestBattle") - } - }.AsReadOnly(); + private const string PassivePresetName = "Questionable (Passive)"; + + private readonly IObjectTable _objectTable; + + private readonly IDalamudPluginInterface _pluginInterface; private readonly Configuration _configuration; @@ -59,6 +44,10 @@ internal sealed class BossModIpc private readonly TerritoryData _territoryData; + private readonly IFramework _framework; + + private readonly ILogger _logger; + private readonly ICallGateSubscriber _getPreset; private readonly ICallGateSubscriber _createPreset; @@ -67,15 +56,189 @@ internal sealed class BossModIpc private readonly ICallGateSubscriber _clearPreset; - public BossModIpc(IDalamudPluginInterface pluginInterface, Configuration configuration, ICommandManager commandManager, TerritoryData territoryData) + private readonly ICallGateSubscriber _addTransientStrategy; + + private readonly ICallGateSubscriber _clearTransientStrategies; + + private readonly ICallGateSubscriber _deletePreset; + + private readonly ICallGateSubscriber, bool, List> _setConfig; + + private bool _soloDutyZoneConfigured; + + private static readonly Strategy[] VbmAiStrategies = new Strategy[14] { + new Strategy("BossMod.Autorotation.xan.TankAI", "Stance", "Enabled"), + new Strategy("BossMod.Autorotation.xan.TankAI", "Personal mits", "Enabled"), + new Strategy("BossMod.Autorotation.xan.TankAI", "Invuln", "Enabled"), + new Strategy("BossMod.Autorotation.xan.TankAI", "Interject2", "Enabled"), + new Strategy("BossMod.Autorotation.xan.TankAI", "Arms' Length", "Enabled"), + new Strategy("BossMod.Autorotation.xan.HealerAI", "Heal", "Enabled"), + new Strategy("BossMod.Autorotation.xan.HealerAI", "Esuna2", "Enabled"), + new Strategy("BossMod.Autorotation.xan.HealerAI", "Raise", "Swiftcast"), + new Strategy("BossMod.Autorotation.xan.MeleeAI", "Second Wind", "Enabled"), + new Strategy("BossMod.Autorotation.xan.MeleeAI", "Bloodbath", "Enabled"), + new Strategy("BossMod.Autorotation.xan.MeleeAI", "Stun", "Enabled"), + new Strategy("BossMod.Autorotation.xan.RangedAI", "Head Graze", "Enabled"), + new Strategy("BossMod.Autorotation.xan.RangedAI", "Second Wind", "Enabled"), + new Strategy("BossMod.Autorotation.MiscAI.NormalMovement", "Destination", "Pathfind") + }; + + private static readonly Strategy[] BmrAiStrategies = new Strategy[14] + { + new Strategy("BossMod.Autorotation.MiscAI.TankAI", "Stance", "Auto"), + new Strategy("BossMod.Autorotation.MiscAI.TankAI", "Mitigations", "Auto"), + new Strategy("BossMod.Autorotation.MiscAI.TankAI", "Invuln", "Auto"), + new Strategy("BossMod.Autorotation.MiscAI.TankAI", "Interject", "Auto"), + new Strategy("BossMod.Autorotation.MiscAI.TankAI", "ArmsLength", "Auto"), + new Strategy("BossMod.Autorotation.MiscAI.HealerAI", "Heal", "Auto"), + new Strategy("BossMod.Autorotation.MiscAI.HealerAI", "Esuna", "Auto"), + new Strategy("BossMod.Autorotation.MiscAI.HealerAI", "Raise", "Auto"), + new Strategy("BossMod.Autorotation.MiscAI.MeleeAI", "SecondWind", "Auto"), + new Strategy("BossMod.Autorotation.MiscAI.MeleeAI", "Bloodbath", "Auto"), + new Strategy("BossMod.Autorotation.MiscAI.MeleeAI", "Stun", "Auto"), + new Strategy("BossMod.Autorotation.MiscAI.RangedAI", "HeadGraze", "Auto"), + new Strategy("BossMod.Autorotation.MiscAI.RangedAI", "SecondWind", "Auto"), + new Strategy("BossMod.Autorotation.MiscAI.NormalMovement", "Destination", "Pathfind") + }; + + private static readonly Strategy[] ActivePositioningStrategies = new Strategy[2] + { + new Strategy("BossMod.Autorotation.MiscAI.StayCloseToTarget", "Range", "3"), + new Strategy("BossMod.Autorotation.MiscAI.GoToPositional", "Positional", "Any") + }; + + private static readonly FrozenDictionary JobModules = new Dictionary + { + { + EClassJob.Paladin, + "BossMod.Autorotation.xan.PLD" + }, + { + EClassJob.Monk, + "BossMod.Autorotation.xan.MNK" + }, + { + EClassJob.Dragoon, + "BossMod.Autorotation.xan.DRG" + }, + { + EClassJob.Bard, + "BossMod.Autorotation.xan.BRD" + }, + { + EClassJob.WhiteMage, + "BossMod.Autorotation.xan.WHM" + }, + { + EClassJob.BlackMage, + "BossMod.Autorotation.xan.BLM" + }, + { + EClassJob.Summoner, + "BossMod.Autorotation.xan.SMN" + }, + { + EClassJob.Scholar, + "BossMod.Autorotation.xan.SCH" + }, + { + EClassJob.Ninja, + "BossMod.Autorotation.xan.NIN" + }, + { + EClassJob.Machinist, + "BossMod.Autorotation.xan.MCH" + }, + { + EClassJob.DarkKnight, + "BossMod.Autorotation.xan.DRK" + }, + { + EClassJob.Astrologian, + "BossMod.Autorotation.xan.AST" + }, + { + EClassJob.Samurai, + "BossMod.Autorotation.xan.SAM" + }, + { + EClassJob.RedMage, + "BossMod.Autorotation.xan.RDM" + }, + { + EClassJob.Gunbreaker, + "BossMod.Autorotation.xan.GNB" + }, + { + EClassJob.Dancer, + "BossMod.Autorotation.xan.DNC" + }, + { + EClassJob.Reaper, + "BossMod.Autorotation.xan.RPR" + }, + { + EClassJob.Sage, + "BossMod.Autorotation.xan.SGE" + }, + { + EClassJob.Viper, + "BossMod.Autorotation.xan.VPR" + }, + { + EClassJob.Pictomancer, + "BossMod.Autorotation.xan.PCT" + } + }.ToFrozenDictionary(); + + public EVariant? Variant => DetectVariantFromPlugins(); + + public BossModIpc(IObjectTable objectTable, IDalamudPluginInterface pluginInterface, Configuration configuration, ICommandManager commandManager, TerritoryData territoryData, IFramework framework, ILogger logger) + { + _objectTable = objectTable; + _pluginInterface = pluginInterface; _configuration = configuration; _commandManager = commandManager; _territoryData = territoryData; + _framework = framework; + _logger = logger; _getPreset = pluginInterface.GetIpcSubscriber("BossMod.Presets.Get"); _createPreset = pluginInterface.GetIpcSubscriber("BossMod.Presets.Create"); _setPreset = pluginInterface.GetIpcSubscriber("BossMod.Presets.SetActive"); _clearPreset = pluginInterface.GetIpcSubscriber("BossMod.Presets.ClearActive"); + _addTransientStrategy = pluginInterface.GetIpcSubscriber("BossMod.Presets.AddTransientStrategy"); + _clearTransientStrategies = pluginInterface.GetIpcSubscriber("BossMod.Presets.ClearTransientPresetStrategies"); + _deletePreset = pluginInterface.GetIpcSubscriber("BossMod.Presets.Delete"); + _setConfig = pluginInterface.GetIpcSubscriber, bool, List>("BossMod.Configuration"); + _framework.RunOnFrameworkThread(delegate + { + if (!IsSupported()) + { + return; + } + try + { + _deletePreset.InvokeFunc("Questionable - Quest Battles"); + } + catch (IpcError) + { + } + try + { + _deletePreset.InvokeFunc("Questionable"); + } + catch (IpcError) + { + } + try + { + _deletePreset.InvokeFunc("Questionable (Passive)"); + } + catch (IpcError) + { + } + }); } public bool IsSupported() @@ -90,33 +253,205 @@ internal sealed class BossModIpc } } - public void SetPreset(EPreset preset) + private EVariant? DetectVariantFromPlugins() { - PresetDefinition presetDefinition = PresetDefinitions[preset]; - if (_getPreset.InvokeFunc(presetDefinition.Name) == null) + IExposedPlugin exposedPlugin = _pluginInterface.InstalledPlugins.FirstOrDefault(delegate(IExposedPlugin p) { - _createPreset.InvokeFunc(presetDefinition.Content, arg2: true); + string internalName = p.InternalName; + return ((internalName == "BossMod" || internalName == "BossModReborn") ? true : false) && p.IsLoaded; + }); + if (exposedPlugin == null) + { + return null; } - _setPreset.InvokeFunc(presetDefinition.Name); + return (exposedPlugin.InternalName == "BossModReborn") ? EVariant.BMR : EVariant.VBM; } - public void ClearPreset() + private bool CreateShellPreset(EPreset preset) { - _clearPreset.InvokeFunc(); + try + { + string presetName = GetPresetName(preset); + IEnumerable source = (from x in GetAiStrategies().Concat((preset == EPreset.Active) ? ((IEnumerable)ActivePositioningStrategies) : ((IEnumerable)Array.Empty())) + select x.Module).Distinct(); + string jobModule = GetJobModule(GetCurrentJob()); + if (jobModule != null) + { + source = source.Append(jobModule); + } + string value = string.Join(',', source.Select((string x) => "\"" + x + "\":[]")); + string arg = $"{{\"Name\":\"{presetName}\",\"Modules\":{{ {value} }}}}"; + if (!_createPreset.InvokeFunc(arg, arg2: true)) + { + _logger.LogWarning("BossMod rejected shell preset {Preset}", preset); + return false; + } + return true; + } + catch (IpcError exception) + { + _logger.LogWarning(exception, "Failed to create shell preset {Preset}", preset); + return false; + } } - public void EnableAi(bool passive) + private void ApplyTransientStrategies(EPreset preset) { - _commandManager.ProcessCommand("/vbmai on"); - _commandManager.ProcessCommand("/vbm cfg ZoneModuleConfig EnableQuestBattles true"); - SetPreset((!passive) ? EPreset.QuestBattle : EPreset.Overworld); + string presetName = GetPresetName(preset); + Strategy[] aiStrategies = GetAiStrategies(); + foreach (Strategy strategy in aiStrategies) + { + AddStrategy(presetName, strategy.Module, strategy.Track, strategy.Option); + } + if (preset != EPreset.Active) + { + return; + } + aiStrategies = ActivePositioningStrategies; + foreach (Strategy strategy2 in aiStrategies) + { + AddStrategy(presetName, strategy2.Module, strategy2.Track, strategy2.Option); + } + EClassJob currentJob = GetCurrentJob(); + if (JobModules.TryGetValue(currentJob, out string value)) + { + AddStrategy(presetName, value, "AOE", "AOE"); + AddStrategy(presetName, value, "Targeting", "Manual"); + if (currentJob != EClassJob.Monk && currentJob != EClassJob.Sage) + { + AddStrategy(presetName, value, "Buffs", (Variant == EVariant.VBM) ? "Automatic" : "Auto"); + } + if (currentJob == EClassJob.Pictomancer) + { + AddStrategy(presetName, value, "Motifs", "Downtime"); + } + } + else if (currentJob == EClassJob.Warrior) + { + AddStrategy(presetName, "BossMod.Autorotation.VeynWAR", "AOE", "AutoFinishCombo"); + } + else + { + _logger.LogDebug("No BossMod rotation module mapped for job {Job}", currentJob); + } + } + + private void ClearTransientStrategies(EPreset preset) + { + try + { + _clearTransientStrategies.InvokeFunc(GetPresetName(preset)); + } + catch (IpcError exception) + { + _logger.LogWarning(exception, "Failed to clear transient strategies for {Preset}", preset); + } + } + + private void AddStrategy(string presetName, string module, string track, string option) + { + try + { + if (!_addTransientStrategy.InvokeFunc(presetName, module, track, option)) + { + _logger.LogWarning("BossMod rejected transient strategy {Module}.{Track}={Option}", module, track, option); + } + } + catch (IpcError exception) + { + _logger.LogWarning(exception, "Failed to add transient strategy {Module}.{Track}={Option}", module, track, option); + } + } + + private EClassJob GetCurrentJob() + { + return ((EClassJob?)_objectTable.LocalPlayer?.ClassJob.RowId).GetValueOrDefault().AsJob(); + } + + private static string? GetJobModule(EClassJob job) + { + if (!JobModules.TryGetValue(job, out string value)) + { + if (job != EClassJob.Warrior) + { + return null; + } + return "BossMod.Autorotation.VeynWAR"; + } + return value; + } + + public void AddTransientStrategy(EPreset preset, string moduleType, string track, string value) + { + AddStrategy(GetPresetName(preset), moduleType, track, value); + } + + public void SetRangeStrategy(EPreset preset, bool isRanged) + { + AddTransientStrategy(preset, "BossMod.Autorotation.MiscAI.StayCloseToTarget", "Range", isRanged ? "15" : "3"); + } + + public bool EnableAi(EPreset preset) + { + if (!CreateShellPreset(preset)) + { + return false; + } + ApplyTransientStrategies(preset); + try + { + if (!_setPreset.InvokeFunc(GetPresetName(preset))) + { + _logger.LogWarning("BossMod rejected preset activation for {Preset}", preset); + return false; + } + } + catch (IpcError ipcError) + { + _logger.LogWarning("Unable to set BossMod preset {Preset}: {Message}", preset, ipcError.Message); + return false; + } + string aiCommand = GetAiCommand(); + if (aiCommand != null) + { + _logger.LogDebug("Enabling BossMod AI: variant={Variant}, preset={Preset}, command='{Command} on'", Variant, preset, aiCommand); + _commandManager.ProcessCommand(aiCommand + " on"); + return true; + } + _logger.LogWarning("Cannot enable BossMod AI: no variant detected"); + return false; + } + + public void EnableQuestBattleAi() + { + EnableAi(EPreset.Active); + ConfigureSoloDutyZone(); + } + + public void DisableQuestBattleAi() + { + ReleaseSoloDutyZone(); + DisableAi(); } public void DisableAi() { - _commandManager.ProcessCommand("/vbmai off"); - _commandManager.ProcessCommand("/vbm cfg ZoneModuleConfig EnableQuestBattles false"); - ClearPreset(); + string aiCommand = GetAiCommand(); + if (aiCommand != null) + { + _logger.LogDebug("Disabling BossMod AI: command='{Command} off'", aiCommand); + _commandManager.ProcessCommand(aiCommand + " off"); + } + ClearTransientStrategies(EPreset.Active); + ClearTransientStrategies(EPreset.Passive); + try + { + _clearPreset.InvokeFunc(); + } + catch (IpcError exception) + { + _logger.LogWarning(exception, "Failed to clear BossMod preset"); + } } public bool IsConfiguredToRunSoloInstance(ElementId questId, SinglePlayerDutyOptions? dutyOptions) @@ -129,11 +464,8 @@ internal sealed class BossModIpc { return false; } - if (dutyOptions == null) - { - dutyOptions = new SinglePlayerDutyOptions(); - } - if (!_territoryData.TryGetContentFinderConditionForSoloInstance(questId, dutyOptions.Index, out TerritoryData.ContentFinderConditionData contentFinderConditionData)) + byte index = dutyOptions?.Index ?? 0; + if (!_territoryData.TryGetContentFinderConditionForSoloInstance(questId, index, out TerritoryData.ContentFinderConditionData contentFinderConditionData)) { return false; } @@ -145,6 +477,108 @@ internal sealed class BossModIpc { return true; } - return dutyOptions.Enabled; + ushort key = (ushort)((questId is QuestId questId2) ? questId2.Value : 0); + if (DutyRegistry.SinglePlayerDuties.TryGetValue(key, out SinglePlayerDutyEntry[] value)) + { + return value.Any((SinglePlayerDutyEntry e) => e.Index == index && e.Enabled); + } + return false; + } + + public void Dispose() + { + ReleaseSoloDutyZone(); + try + { + _deletePreset.InvokeFunc("Questionable"); + } + catch (IpcError) + { + } + try + { + _deletePreset.InvokeFunc("Questionable (Passive)"); + } + catch (IpcError) + { + } + } + + private string? GetAiCommand() + { + EVariant? eVariant = DetectVariantFromPlugins(); + if (!eVariant.HasValue) + { + _logger.LogWarning("No BossMod variant detected"); + return null; + } + if (eVariant != EVariant.BMR) + { + return "/vbmai"; + } + return "/bmrai"; + } + + private void SetConfigTransient(string section, string key, string value) + { + try + { + ICallGateSubscriber, bool, List> setConfig = _setConfig; + int num = 3; + List list = new List(num); + CollectionsMarshal.SetCount(list, num); + Span span = CollectionsMarshal.AsSpan(list); + span[0] = section; + span[1] = key; + span[2] = value; + List list2 = setConfig.InvokeFunc(list, arg2: false); + if (list2 != null && list2.Count > 0) + { + _logger.LogWarning("Setting BossMod config {Section}.{Key}={Value} returned: {Output}", section, key, value, string.Join("; ", list2)); + } + } + catch (IpcError exception) + { + _logger.LogWarning(exception, "Failed to set BossMod config {Section}.{Key}={Value}", section, key, value); + } + } + + private void ConfigureSoloDutyZone() + { + if (IsSupported()) + { + SetConfigTransient("ZoneModuleConfig", "EnableQuestBattles", "true"); + SetConfigTransient("Autorotation", "ClearPresetOnCombatEnd", "false"); + _soloDutyZoneConfigured = true; + } + } + + private void ReleaseSoloDutyZone() + { + if (_soloDutyZoneConfigured && IsSupported()) + { + SetConfigTransient("ZoneModuleConfig", "EnableQuestBattles", "false"); + SetConfigTransient("Autorotation", "ClearPresetOnCombatEnd", "true"); + _soloDutyZoneConfigured = false; + } + } + + private static string GetPresetName(EPreset preset) + { + return preset switch + { + EPreset.Active => "Questionable", + EPreset.Passive => "Questionable (Passive)", + _ => throw new ArgumentOutOfRangeException("preset"), + }; + } + + private Strategy[] GetAiStrategies() + { + if (Variant != EVariant.VBM) + { + return BmrAiStrategies; + } + return VbmAiStrategies; } } diff --git a/Questionable/Questionable.External/MoveCommand.cs b/Questionable/Questionable.External/MoveCommand.cs new file mode 100644 index 0000000..0de5558 --- /dev/null +++ b/Questionable/Questionable.External/MoveCommand.cs @@ -0,0 +1,6 @@ +using System.Collections.Generic; +using System.Numerics; + +namespace Questionable.External; + +internal sealed record MoveCommand(List Waypoints, bool Fly, float ArrivalTolerance); diff --git a/Questionable/Questionable.External/NavPathfindResult.cs b/Questionable/Questionable.External/NavPathfindResult.cs new file mode 100644 index 0000000..3ad3f9b --- /dev/null +++ b/Questionable/Questionable.External/NavPathfindResult.cs @@ -0,0 +1,6 @@ +using System.Collections.Generic; +using System.Numerics; + +namespace Questionable.External; + +internal sealed record NavPathfindResult(List Waypoints, bool HasPartialInfo, bool IsPartial, float EndDistance); diff --git a/Questionable/Questionable.External/NavStatus.cs b/Questionable/Questionable.External/NavStatus.cs new file mode 100644 index 0000000..a495e3f --- /dev/null +++ b/Questionable/Questionable.External/NavStatus.cs @@ -0,0 +1,3 @@ +namespace Questionable.External; + +internal sealed record NavStatus(bool Ready, string State, int TilesBuilt, int TilesTotal, uint TerritoryId); diff --git a/Questionable/Questionable.External/NavmeshIpc.cs b/Questionable/Questionable.External/NavmeshIpc.cs index f7fc7b0..0f7ffea 100644 --- a/Questionable/Questionable.External/NavmeshIpc.cs +++ b/Questionable/Questionable.External/NavmeshIpc.cs @@ -5,51 +5,126 @@ using System.Threading.Tasks; using Dalamud.Plugin; using Dalamud.Plugin.Ipc; using Dalamud.Plugin.Ipc.Exceptions; +using Dalamud.Plugin.Services; using Microsoft.Extensions.Logging; namespace Questionable.External; internal sealed class NavmeshIpc { + private sealed class Subscribers + { + public readonly ICallGateSubscriber IsNavReady; + + public readonly ICallGateSubscriber>> NavPathfind; + + public readonly ICallGateSubscriber>> NavPathfindWithTolerance; + + public readonly ICallGateSubscriber NavPathfindInProgress; + + public readonly ICallGateSubscriber NavNumQueuedRequests; + + public readonly ICallGateSubscriber, bool, object> PathMoveTo; + + public readonly ICallGateSubscriber PathStop; + + public readonly ICallGateSubscriber PathIsRunning; + + public readonly ICallGateSubscriber> PathListWaypoints; + + public readonly ICallGateSubscriber PathSetTolerance; + + public readonly ICallGateSubscriber QueryPointOnFloor; + + public readonly ICallGateSubscriber QueryNearestPoint; + + public readonly ICallGateSubscriber QueryNearestPointReachable; + + public readonly ICallGateSubscriber BuildProgress; + + public readonly ICallGateSubscriber NavReload; + + public readonly ICallGateSubscriber NavRebuild; + + public Subscribers(IDalamudPluginInterface pluginInterface, Configuration.ENavigationProvider provider) + { + string text = ((provider == Configuration.ENavigationProvider.WigglyNavShim) ? "WigglyNav" : "vnavmesh"); + IsNavReady = pluginInterface.GetIpcSubscriber(text + ".Nav.IsReady"); + NavPathfind = pluginInterface.GetIpcSubscriber>>(text + ".Nav.PathfindCancelable"); + NavPathfindWithTolerance = pluginInterface.GetIpcSubscriber>>(text + ".Nav.PathfindWithTolerance"); + NavPathfindInProgress = pluginInterface.GetIpcSubscriber(text + ".Nav.PathfindInProgress"); + NavNumQueuedRequests = pluginInterface.GetIpcSubscriber(text + ".Nav.PathfindNumQueued"); + PathMoveTo = pluginInterface.GetIpcSubscriber, bool, object>(text + ".Path.MoveTo"); + PathStop = pluginInterface.GetIpcSubscriber(text + ".Path.Stop"); + PathIsRunning = pluginInterface.GetIpcSubscriber(text + ".Path.IsRunning"); + PathListWaypoints = pluginInterface.GetIpcSubscriber>(text + ".Path.ListWaypoints"); + PathSetTolerance = pluginInterface.GetIpcSubscriber(text + ".Path.SetTolerance"); + QueryPointOnFloor = pluginInterface.GetIpcSubscriber(text + ".Query.Mesh.PointOnFloor"); + QueryNearestPoint = pluginInterface.GetIpcSubscriber(text + ".Query.Mesh.NearestPoint"); + QueryNearestPointReachable = pluginInterface.GetIpcSubscriber(text + ".Query.Mesh.NearestPointReachable"); + BuildProgress = pluginInterface.GetIpcSubscriber(text + ".Nav.BuildProgress"); + NavReload = pluginInterface.GetIpcSubscriber(text + ".Nav.Reload"); + NavRebuild = pluginInterface.GetIpcSubscriber(text + ".Nav.Rebuild"); + } + } + private readonly IDalamudPluginInterface _pluginInterface; + private readonly Configuration _configuration; + + private readonly WigglyNavIpc _wigglyNavIpc; + + private readonly WigglyNavAvailability _wigglyNavAvailability; + + private readonly IChatGui _chatGui; + private readonly ILogger _logger; - private readonly ICallGateSubscriber _isNavReady; + private readonly ICallGateSubscriber _vnavmeshStop; - private readonly ICallGateSubscriber>> _navPathfind; + private Configuration.ENavigationProvider _activeProvider; - private readonly ICallGateSubscriber _navPathfindInProgress; + private Subscribers _subscribers; - private readonly ICallGateSubscriber _navNumQueuedRequests; + private bool _fallbackNoticed; - private readonly ICallGateSubscriber, bool, object> _pathMoveTo; + private bool UseNative + { + get + { + if (_configuration.General.NavigationProvider == Configuration.ENavigationProvider.WigglyNav) + { + return _wigglyNavAvailability.IsCompatible; + } + return false; + } + } - private readonly ICallGateSubscriber _pathStop; - - private readonly ICallGateSubscriber _pathIsRunning; - - private readonly ICallGateSubscriber> _pathListWaypoints; - - private readonly ICallGateSubscriber _pathSetTolerance; - - private readonly ICallGateSubscriber _queryPointOnFloor; - - private readonly ICallGateSubscriber _queryNearestPoint; - - private readonly ICallGateSubscriber _buildProgress; - - private readonly ICallGateSubscriber _navReload; - - private readonly ICallGateSubscriber _navRebuild; + private Subscribers S + { + get + { + Configuration.ENavigationProvider navigationProvider = _configuration.General.NavigationProvider; + if (navigationProvider != _activeProvider) + { + _subscribers = new Subscribers(_pluginInterface, navigationProvider); + _activeProvider = navigationProvider; + } + return _subscribers; + } + } public bool IsNavmeshAvailable { get { + if (UseNative) + { + return _wigglyNavIpc.IsNavmeshAvailable; + } try { - _isNavReady.InvokeFunc(); + S.IsNavReady.InvokeFunc(); return true; } catch (IpcNotReadyError) @@ -67,9 +142,13 @@ internal sealed class NavmeshIpc { get { + if (UseNative) + { + return _wigglyNavIpc.IsReady; + } try { - return _isNavReady.InvokeFunc(); + return S.IsNavReady.InvokeFunc(); } catch (IpcError) { @@ -82,9 +161,13 @@ internal sealed class NavmeshIpc { get { + if (UseNative) + { + return _wigglyNavIpc.IsPathRunning; + } try { - return _pathIsRunning.InvokeFunc(); + return S.PathIsRunning.InvokeFunc(); } catch (IpcError) { @@ -97,9 +180,13 @@ internal sealed class NavmeshIpc { get { + if (UseNative) + { + return _wigglyNavIpc.IsPathfindInProgress; + } try { - return _navPathfindInProgress.InvokeFunc(); + return S.NavPathfindInProgress.InvokeFunc(); } catch (IpcError) { @@ -112,9 +199,13 @@ internal sealed class NavmeshIpc { get { + if (UseNative) + { + return _wigglyNavIpc.NumQueuedPathfindRequests; + } try { - return _navNumQueuedRequests.InvokeFunc(); + return S.NavNumQueuedRequests.InvokeFunc(); } catch (IpcError) { @@ -123,132 +214,191 @@ internal sealed class NavmeshIpc } } - public NavmeshIpc(IDalamudPluginInterface pluginInterface, ILogger logger) + public NavmeshIpc(IDalamudPluginInterface pluginInterface, Configuration configuration, WigglyNavIpc wigglyNavIpc, WigglyNavAvailability wigglyNavAvailability, IChatGui chatGui, ILogger logger) { _pluginInterface = pluginInterface; + _configuration = configuration; + _wigglyNavIpc = wigglyNavIpc; + _wigglyNavAvailability = wigglyNavAvailability; + _chatGui = chatGui; _logger = logger; - _isNavReady = pluginInterface.GetIpcSubscriber("vnavmesh.Nav.IsReady"); - _navPathfind = pluginInterface.GetIpcSubscriber>>("vnavmesh.Nav.PathfindCancelable"); - _navPathfindInProgress = pluginInterface.GetIpcSubscriber("vnavmesh.Nav.PathfindInProgress"); - _navNumQueuedRequests = pluginInterface.GetIpcSubscriber("vnavmesh.Nav.PathfindNumQueued"); - _pathMoveTo = pluginInterface.GetIpcSubscriber, bool, object>("vnavmesh.Path.MoveTo"); - _pathStop = pluginInterface.GetIpcSubscriber("vnavmesh.Path.Stop"); - _pathIsRunning = pluginInterface.GetIpcSubscriber("vnavmesh.Path.IsRunning"); - _pathListWaypoints = pluginInterface.GetIpcSubscriber>("vnavmesh.Path.ListWaypoints"); - _pathSetTolerance = pluginInterface.GetIpcSubscriber("vnavmesh.Path.SetTolerance"); - _queryPointOnFloor = pluginInterface.GetIpcSubscriber("vnavmesh.Query.Mesh.PointOnFloor"); - _queryNearestPoint = pluginInterface.GetIpcSubscriber("vnavmesh.Query.Mesh.NearestPoint"); - _buildProgress = pluginInterface.GetIpcSubscriber("vnavmesh.Nav.BuildProgress"); - _navReload = pluginInterface.GetIpcSubscriber("vnavmesh.Nav.Reload"); - _navRebuild = pluginInterface.GetIpcSubscriber("vnavmesh.Nav.Rebuild"); + _activeProvider = configuration.General.NavigationProvider; + _subscribers = new Subscribers(pluginInterface, _activeProvider); + _vnavmeshStop = pluginInterface.GetIpcSubscriber("vnavmesh.Path.Stop"); + } + + internal void StopAll() + { + _wigglyNavIpc.Stop(); + try + { + _vnavmeshStop.InvokeAction(); + } + catch (IpcError) + { + } + } + + private void NoticeFallbackToVnavmesh() + { + if (UseNative || _configuration.General.NavigationProvider != Configuration.ENavigationProvider.WigglyNav) + { + _fallbackNoticed = false; + } + else if (!_fallbackNoticed) + { + _fallbackNoticed = true; + _chatGui.Print("WigglyNav is unavailable - navigation is using vnavmesh until it returns.", "Questionable", 576); + } + } + + private async Task PathfindNative(Vector3 localPlayerPosition, Vector3 targetPosition, bool fly, float tolerance, CancellationToken cancellationToken) + { + PathfindResult pathfindResult = await _wigglyNavIpc.Pathfind(localPlayerPosition, targetPosition, fly, tolerance, cancellationToken).ConfigureAwait(continueOnCapturedContext: false); + return new NavPathfindResult(pathfindResult.Waypoints, HasPartialInfo: true, pathfindResult.IsPartial, pathfindResult.EndDistance); + } + + private static async Task WrapLegacyPathfind(Task> pathfind) + { + return new NavPathfindResult(await pathfind.ConfigureAwait(continueOnCapturedContext: false), HasPartialInfo: false, IsPartial: false, 0f); } public void Stop() { - if (!IsNavmeshAvailable) + if (UseNative) { - return; + _wigglyNavIpc.Stop(); } - try + else if (IsNavmeshAvailable) { - _pathStop.InvokeAction(); - } - catch (IpcError exception) - { - _logger.LogWarning(exception, "Could not stop navigating via navmesh"); + try + { + S.PathStop.InvokeAction(); + } + catch (IpcError exception) + { + _logger.LogWarning(exception, "Could not stop navigating via navmesh"); + } } } public void Reload() { - if (!IsNavmeshAvailable) + if (UseNative) { - return; + _wigglyNavIpc.Reload(); } - try + else if (IsNavmeshAvailable) { - _navReload.InvokeFunc(); - } - catch (IpcError exception) - { - _logger.LogWarning(exception, "Could not reload navmesh"); + try + { + S.NavReload.InvokeFunc(); + } + catch (IpcError exception) + { + _logger.LogWarning(exception, "Could not reload navmesh"); + } } } public void Rebuild() { - if (!IsNavmeshAvailable) + if (UseNative) { - return; + _wigglyNavIpc.Rebuild(); } - try + else if (IsNavmeshAvailable) { - _navRebuild.InvokeFunc(); - } - catch (IpcError exception) - { - _logger.LogWarning(exception, "Could not rebuild navmesh"); + try + { + S.NavRebuild.InvokeFunc(); + } + catch (IpcError exception) + { + _logger.LogWarning(exception, "Could not rebuild navmesh"); + } } } - public Task> Pathfind(Vector3 localPlayerPosition, Vector3 targetPosition, bool fly, CancellationToken cancellationToken) + public Task Pathfind(Vector3 localPlayerPosition, Vector3 targetPosition, bool fly, CancellationToken cancellationToken) { + NoticeFallbackToVnavmesh(); + if (UseNative) + { + return PathfindNative(localPlayerPosition, targetPosition, fly, 0f, cancellationToken); + } if (!IsNavmeshAvailable) { - return Task.FromResult(new List()); + return Task.FromResult(EmptyPathfindResult()); } try { - _pathSetTolerance.InvokeAction(0.25f); - return _navPathfind.InvokeFunc(localPlayerPosition, targetPosition, fly, cancellationToken); + S.PathSetTolerance.InvokeAction(0.25f); + return WrapLegacyPathfind(S.NavPathfind.InvokeFunc(localPlayerPosition, targetPosition, fly, cancellationToken)); } catch (IpcError exception) { _logger.LogWarning(exception, "Could not pathfind via navmesh"); - return Task.FromException>(exception); + return Task.FromException(exception); } } - public Task> PathfindWithTolerance(Vector3 localPlayerPosition, Vector3 targetPosition, bool fly, float tolerance, CancellationToken cancellationToken) + public Task PathfindWithTolerance(Vector3 localPlayerPosition, Vector3 targetPosition, bool fly, float tolerance) { + NoticeFallbackToVnavmesh(); + if (UseNative) + { + return PathfindNative(localPlayerPosition, targetPosition, fly, tolerance, CancellationToken.None); + } if (!IsNavmeshAvailable) { - return Task.FromResult(new List()); + return Task.FromResult(EmptyPathfindResult()); } try { - _pathSetTolerance.InvokeAction(tolerance); - return _pluginInterface.GetIpcSubscriber>>("vnavmesh.Nav.PathfindWithToleranceCancelable").InvokeFunc(localPlayerPosition, targetPosition, fly, tolerance, cancellationToken); + S.PathSetTolerance.InvokeAction(tolerance); + return WrapLegacyPathfind(S.NavPathfindWithTolerance.InvokeFunc(localPlayerPosition, targetPosition, fly, tolerance)); } catch (IpcError exception) { _logger.LogWarning(exception, "Could not pathfind with tolerance via navmesh"); - return Task.FromException>(exception); + return Task.FromException(exception); } } - public void MoveTo(List position, bool fly) + public void MoveTo(List position, bool fly, float arrivalTolerance) { - if (!IsNavmeshAvailable) + NoticeFallbackToVnavmesh(); + if (UseNative) { - return; + if (!_wigglyNavIpc.MoveTo(position, fly, arrivalTolerance)) + { + _logger.LogWarning("Could not move via WigglyNav, the command was refused"); + } } - Stop(); - try + else if (IsNavmeshAvailable) { - _pathMoveTo.InvokeAction(position, fly); - } - catch (IpcError exception) - { - _logger.LogWarning(exception, "Could not move via navmesh"); + Stop(); + try + { + S.PathMoveTo.InvokeAction(position, fly); + } + catch (IpcError exception) + { + _logger.LogWarning(exception, "Could not move via navmesh"); + } } } public Vector3? GetPointOnFloor(Vector3 position, bool unlandable) { + if (UseNative) + { + return _wigglyNavIpc.GetPointOnFloor(position, unlandable, 0.2f); + } try { - return _queryPointOnFloor.InvokeFunc(position, unlandable, 0.2f); + return S.QueryPointOnFloor.InvokeFunc(position, unlandable, 0.2f); } catch (IpcError) { @@ -258,9 +408,13 @@ internal sealed class NavmeshIpc public Vector3? GetPointOnFloor(Vector3 position, bool unlandable, float halfExtentXZ) { + if (UseNative) + { + return _wigglyNavIpc.GetPointOnFloor(position, unlandable, halfExtentXZ); + } try { - return _queryPointOnFloor.InvokeFunc(position, unlandable, halfExtentXZ); + return S.QueryPointOnFloor.InvokeFunc(position, unlandable, halfExtentXZ); } catch (IpcError) { @@ -270,9 +424,29 @@ internal sealed class NavmeshIpc public Vector3? FindNearestMeshPoint(Vector3 position, float halfExtentXZ, float halfExtentY) { + if (UseNative) + { + return _wigglyNavIpc.FindNearestMeshPoint(position, halfExtentXZ, halfExtentY); + } try { - return _queryNearestPoint.InvokeFunc(position, halfExtentXZ, halfExtentY); + return S.QueryNearestPoint.InvokeFunc(position, halfExtentXZ, halfExtentY); + } + catch (IpcError) + { + return null; + } + } + + public Vector3? FindNearestReachableMeshPoint(Vector3 position, float halfExtentXZ, float halfExtentY) + { + if (UseNative) + { + return _wigglyNavIpc.FindNearestReachableMeshPoint(position, halfExtentXZ, halfExtentY); + } + try + { + return S.QueryNearestPointReachable.InvokeFunc(position, halfExtentXZ, halfExtentY); } catch (IpcError) { @@ -282,11 +456,15 @@ internal sealed class NavmeshIpc public List GetWaypoints() { + if (UseNative) + { + return _wigglyNavIpc.GetWaypoints(); + } if (IsPathRunning) { try { - return _pathListWaypoints.InvokeFunc(); + return S.PathListWaypoints.InvokeFunc(); } catch (IpcError) { @@ -298,9 +476,13 @@ internal sealed class NavmeshIpc public int GetBuildProgress() { + if (UseNative) + { + return _wigglyNavIpc.GetBuildProgress(); + } try { - float num = _buildProgress.InvokeFunc(); + float num = S.BuildProgress.InvokeFunc(); if (num < 0f) { return 100; @@ -312,4 +494,9 @@ internal sealed class NavmeshIpc return 0; } } + + private static NavPathfindResult EmptyPathfindResult() + { + return new NavPathfindResult(new List(), HasPartialInfo: false, IsPartial: false, 0f); + } } diff --git a/Questionable/Questionable.External/PandorasBoxIpc.cs b/Questionable/Questionable.External/PandorasBoxIpc.cs index 9a51124..669e8b1 100644 --- a/Questionable/Questionable.External/PandorasBoxIpc.cs +++ b/Questionable/Questionable.External/PandorasBoxIpc.cs @@ -1,11 +1,9 @@ using System; using System.Collections.Generic; using System.Collections.Immutable; -using System.Threading.Tasks; using Dalamud.Plugin; -using Dalamud.Plugin.Ipc; -using Dalamud.Plugin.Ipc.Exceptions; using Dalamud.Plugin.Services; +using LLib.External; using Microsoft.Extensions.Logging; using Questionable.Controller; using Questionable.Data; @@ -14,14 +12,14 @@ namespace Questionable.External; internal sealed class PandorasBoxIpc : IDisposable { - private static readonly ImmutableHashSet ConflictingFeatures = new HashSet + internal static readonly ImmutableHashSet ConflictingFeatures = new HashSet { "Auto-Collect", "Auto-Cordial", "Auto-Meditation", "Auto-Motif (Out of Combat)", "Auto-Mount After Combat", "Auto-Mount after Gathering", "Auto-Mount on Zone Change", "Auto-Peleton", "Auto-Prospect/Triangulate", "Auto-Sprint in Sanctuaries", - "Auto-Summon Chocobo", "Auto-Summon Fairy/Carbuncle", "Auto-Tank Stance", "Action Combat Targeting", "Auto-interact with Gathering Nodes", "FATE Targeting Mode", "Auto-Teleport to Map Coords", "Auto-select Turn-ins", "Auto-Equip Recommended Gear", "Auto-Sync FATEs", - "Pandora Quick Gather", "Switch Gatherers Automatically" + "Auto-Summon Chocobo", "Auto-Summon Fairy/Carbuncle", "Auto-Tank Stance", "Action Combat Targeting", "Auto-interact with Gathering Nodes", "Auto-interact with Objects in Instances", "Automatically Open Chests", "FATE Targeting Mode", "Auto-Teleport to Map Coords", "Auto-select Turn-ins", + "Auto-Equip Recommended Gear", "Auto-Sync FATEs", "Pandora Quick Gather", "Switch Gatherers Automatically" }.ToImmutableHashSet(); - private const string AutoActiveTimeManeuverFeature = "Auto Active Time Maneuver"; + internal const string AutoActiveTimeManeuverFeature = "Auto Active Time Maneuver"; private readonly Configuration _configuration; @@ -31,34 +29,32 @@ internal sealed class PandorasBoxIpc : IDisposable private readonly SeasonalDutyController _seasonalDutyController; + private readonly CustomDeliveryController _customDeliveryController; + private readonly TerritoryData _territoryData; private readonly IClientState _clientState; private readonly IFramework _framework; + private readonly PluginFeaturePauser _pauser; + private readonly ILogger _logger; - private readonly ICallGateSubscriber _getFeatureEnabled; - - private readonly ICallGateSubscriber _setFeatureEnabled; - - private HashSet? _pausedFeatures; - private bool _wasFateRunning; - public PandorasBoxIpc(Configuration configuration, IDalamudPluginInterface pluginInterface, QuestController questController, FateController fateController, SeasonalDutyController seasonalDutyController, TerritoryData territoryData, IClientState clientState, IFramework framework, ILogger logger) + public PandorasBoxIpc(Configuration configuration, IDalamudPluginInterface pluginInterface, QuestController questController, FateController fateController, SeasonalDutyController seasonalDutyController, CustomDeliveryController customDeliveryController, TerritoryData territoryData, IClientState clientState, IFramework framework, ILogger logger) { _configuration = configuration; _questController = questController; _fateController = fateController; _seasonalDutyController = seasonalDutyController; + _customDeliveryController = customDeliveryController; _territoryData = territoryData; _clientState = clientState; _framework = framework; _logger = logger; - _getFeatureEnabled = pluginInterface.GetIpcSubscriber("PandorasBox.GetFeatureEnabled"); - _setFeatureEnabled = pluginInterface.GetIpcSubscriber("PandorasBox.SetFeatureEnabled"); + _pauser = new PluginFeaturePauser(pluginInterface, "PandorasBox.GetFeatureEnabled", "PandorasBox.SetFeatureEnabled", logger); _questController.AutomationTypeChanged += OnAutomationTypeChanged; _framework.Update += OnFrameworkUpdate; } @@ -67,88 +63,60 @@ internal sealed class PandorasBoxIpc : IDisposable { if (automationType != QuestController.EAutomationType.Manual && !_territoryData.IsDutyInstance(_clientState.TerritoryType)) { - Task.Run((Action)DisableConflictingFeatures); + InvokeGuarded(DisableConflictingFeatures); } - else if (!_fateController.IsRunning && !_seasonalDutyController.IsRunning) + else if (!_fateController.IsRunning && !_seasonalDutyController.IsRunning && !_customDeliveryController.IsRunning) { - Task.Run((Action)RestoreConflictingFeatures); + InvokeGuarded(delegate + { + _pauser.Restore(); + }); } } private void OnFrameworkUpdate(IFramework framework) { - bool flag = _fateController.IsRunning || _seasonalDutyController.IsRunning; - if (flag != _wasFateRunning) + bool flag = _fateController.IsRunning || _seasonalDutyController.IsRunning || _customDeliveryController.IsRunning; + if (flag == _wasFateRunning) { - _wasFateRunning = flag; - if (flag && !_territoryData.IsDutyInstance(_clientState.TerritoryType)) - { - Task.Run((Action)DisableConflictingFeatures); - } - else if (_questController.AutomationType == QuestController.EAutomationType.Manual) - { - Task.Run((Action)RestoreConflictingFeatures); - } + return; } + _wasFateRunning = flag; + if (flag && !_territoryData.IsDutyInstance(_clientState.TerritoryType)) + { + InvokeGuarded(DisableConflictingFeatures); + } + else if (_questController.AutomationType == QuestController.EAutomationType.Manual) + { + InvokeGuarded(delegate + { + _pauser.Restore(); + }); + } + } + + private void InvokeGuarded(Action action) + { + try + { + action(); + } + catch (Exception exception) + { + _logger.LogError(exception, "PandorasBox IPC call failed"); + } + } + + private void DisableConflictingFeatures() + { + ImmutableHashSet immutableHashSet = (_configuration.General.AutoSolveQte ? ConflictingFeatures.Add("Auto Active Time Maneuver") : ConflictingFeatures); + _pauser.Disable(immutableHashSet.Except(_configuration.Advanced.PandoraFeatureExclusions)); } public void Dispose() { _framework.Update -= OnFrameworkUpdate; _questController.AutomationTypeChanged -= OnAutomationTypeChanged; - RestoreConflictingFeatures(); - } - - private void DisableConflictingFeatures() - { - if (_pausedFeatures != null) - { - return; - } - _pausedFeatures = new HashSet(); - foreach (string conflictingFeature in ConflictingFeatures) - { - TryDisableFeature(conflictingFeature); - } - if (_configuration.General.AutoSolveQte) - { - TryDisableFeature("Auto Active Time Maneuver"); - } - } - - private void TryDisableFeature(string feature) - { - try - { - if (_getFeatureEnabled.InvokeFunc(feature) == true) - { - _setFeatureEnabled.InvokeAction(feature, arg2: false); - _pausedFeatures.Add(feature); - _logger.LogInformation("Paused Pandora's Box feature: {Feature}", feature); - } - } - catch (IpcError) - { - } - } - - private void RestoreConflictingFeatures() - { - if (_pausedFeatures == null) - { - return; - } - foreach (string pausedFeature in _pausedFeatures) - { - try - { - _setFeatureEnabled.InvokeAction(pausedFeature, arg2: true); - _logger.LogInformation("Restored Pandora's Box feature: {Feature}", pausedFeature); - } - catch (IpcError) - { - } - } - _pausedFeatures = null; + _pauser.Dispose(); } } diff --git a/Questionable/Questionable.External/PathfindQuery.cs b/Questionable/Questionable.External/PathfindQuery.cs new file mode 100644 index 0000000..e4a19ba --- /dev/null +++ b/Questionable/Questionable.External/PathfindQuery.cs @@ -0,0 +1,5 @@ +using System.Numerics; + +namespace Questionable.External; + +internal sealed record PathfindQuery(Vector3 From, Vector3 To, bool Fly, float Tolerance); diff --git a/Questionable/Questionable.External/PathfindResult.cs b/Questionable/Questionable.External/PathfindResult.cs new file mode 100644 index 0000000..a426bbf --- /dev/null +++ b/Questionable/Questionable.External/PathfindResult.cs @@ -0,0 +1,6 @@ +using System.Collections.Generic; +using System.Numerics; + +namespace Questionable.External; + +internal sealed record PathfindResult(List Waypoints, bool IsPartial, string PartialReason, float EndDistance); diff --git a/Questionable/Questionable.External/QuestionableIpc.cs b/Questionable/Questionable.External/QuestionableIpc.cs index b598cb7..4599d75 100644 --- a/Questionable/Questionable.External/QuestionableIpc.cs +++ b/Questionable/Questionable.External/QuestionableIpc.cs @@ -1,20 +1,19 @@ using System; using System.Collections.Generic; -using System.Collections.Immutable; using System.Linq; using System.Numerics; -using System.Runtime.InteropServices; using Dalamud.Plugin; using Dalamud.Plugin.Ipc; +using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game; using Microsoft.Extensions.DependencyInjection; using Questionable.Controller; +using Questionable.Controller.Conditions; using Questionable.Controller.Steps; using Questionable.Data; using Questionable.Functions; using Questionable.Model; using Questionable.Model.Questing; -using Questionable.Windows; using Questionable.Windows.JournalComponents; using Questionable.Windows.QuestComponents; @@ -62,29 +61,57 @@ internal sealed class QuestionableIpc : IDisposable public required string? QuestName { get; init; } } - private const string IpcIsRunning = "Questionable.IsRunning"; + private const string IpcGetAlliedSocietyRemainingAllowances = "Questionable.AlliedSociety.GetRemainingAllowances"; - private const string IpcGetCurrentQuestId = "Questionable.GetCurrentQuestId"; + private const string IpcGetAlliedSocietyTimeUntilReset = "Questionable.AlliedSociety.GetTimeUntilReset"; - private const string IpcGetCurrentStepData = "Questionable.GetCurrentStepData"; + private const string IpcGetAlliedSocietyAvailableQuestIds = "Questionable.AlliedSociety.GetAvailableQuestIds"; - private const string IpcGetCurrentTask = "Questionable.GetCurrentTask"; + private const string IpcGetAlliedSocietyAllAvailableQuestCounts = "Questionable.AlliedSociety.GetAllAvailableQuestCounts"; - private const string IpcGetCurrentlyActiveEventQuests = "Questionable.GetCurrentlyActiveEventQuests"; + private const string IpcGetAlliedSocietyIsMaxRank = "Questionable.AlliedSociety.IsMaxRank"; - private const string IpcStartQuest = "Questionable.StartQuest"; + private const string IpcGetAlliedSocietyCurrentRank = "Questionable.AlliedSociety.GetCurrentRank"; - private const string IpcStartSingleQuest = "Questionable.StartSingleQuest"; + private const string IpcGetAlliedSocietiesWithAvailableQuests = "Questionable.AlliedSociety.GetSocietiesWithAvailableQuests"; - private const string IpcIsQuestLocked = "Questionable.IsQuestLocked"; + private const string IpcAddAlliedSocietyOptimalQuests = "Questionable.AlliedSociety.AddOptimalQuests"; - private const string IpcIsQuestComplete = "Questionable.IsQuestComplete"; + private const string IpcGetAlliedSocietyOptimalQuests = "Questionable.AlliedSociety.GetOptimalQuests"; - private const string IpcIsReadyToAcceptQuest = "Questionable.IsReadyToAcceptQuest"; + private const string IpcGetBlacklistedQuests = "Questionable.GetBlacklistedQuests"; - private const string IpcIsQuestAccepted = "Questionable.IsQuestAccepted"; + private const string IpcAddBlacklistedQuest = "Questionable.AddBlacklistedQuest"; - private const string IpcIsQuestUnobtainable = "Questionable.IsQuestUnobtainable"; + private const string IpcRemoveBlacklistedQuest = "Questionable.RemoveBlacklistedQuest"; + + private const string IpcClearBlacklistedQuests = "Questionable.ClearBlacklistedQuests"; + + private const string IpcIsQuestBlacklisted = "Questionable.IsQuestBlacklisted"; + + private readonly QuestController _questController; + + private readonly EventInfoComponent _eventInfoComponent; + + private readonly QuestRegistry _questRegistry; + + private readonly QuestFunctions _questFunctions; + + private readonly QuestData _questData; + + private readonly ManualPriorityComponent _manualPriorityComponent; + + private readonly Configuration _configuration; + + private readonly IDalamudPluginInterface _pluginInterface; + + private readonly IServiceProvider _serviceProvider; + + private readonly AutoDutyIpc _autoDutyIpc; + + private readonly IObjectTable _objectTable; + + private readonly List _unregisterActions = new List(); private const string IpcGetDefaultDutyMode = "Questionable.GetDefaultDutyMode"; @@ -98,6 +125,24 @@ internal sealed class QuestionableIpc : IDisposable private const string IpcClearAllDutyModeOverrides = "Questionable.ClearAllDutyModeOverrides"; + private const string IpcIsLevelingModeEnabled = "Questionable.IsLevelingModeEnabled"; + + private const string IpcSetLevelingModeEnabled = "Questionable.SetLevelingModeEnabled"; + + private const string IpcGetMsqLevelLockInfo = "Questionable.GetMsqLevelLockInfo"; + + private const string IpcStartLevelingMode = "Questionable.StartLevelingMode"; + + private const string IpcStopLevelingMode = "Questionable.StopLevelingMode"; + + private static readonly (int Major, int Minor) ApiVersion = (Major: 1, Minor: 0); + + private const string IpcApiVersion = "Questionable.ApiVersion"; + + private const string IpcGetMsqPriorityMode = "Questionable.GetMsqPriorityMode"; + + private const string IpcSetMsqPriorityMode = "Questionable.SetMsqPriorityMode"; + private const string IpcImportQuestPriority = "Questionable.ImportQuestPriority"; private const string IpcClearQuestPriority = "Questionable.ClearQuestPriority"; @@ -128,6 +173,30 @@ internal sealed class QuestionableIpc : IDisposable private const string IpcHasAvailablePriorityQuests = "Questionable.HasAvailablePriorityQuests"; + private const string IpcIsRunning = "Questionable.IsRunning"; + + private const string IpcGetCurrentQuestId = "Questionable.GetCurrentQuestId"; + + private const string IpcGetCurrentStepData = "Questionable.GetCurrentStepData"; + + private const string IpcGetCurrentTask = "Questionable.GetCurrentTask"; + + private const string IpcGetCurrentlyActiveEventQuests = "Questionable.GetCurrentlyActiveEventQuests"; + + private const string IpcStartQuest = "Questionable.StartQuest"; + + private const string IpcStartSingleQuest = "Questionable.StartSingleQuest"; + + private const string IpcIsQuestLocked = "Questionable.IsQuestLocked"; + + private const string IpcIsQuestComplete = "Questionable.IsQuestComplete"; + + private const string IpcIsReadyToAcceptQuest = "Questionable.IsReadyToAcceptQuest"; + + private const string IpcIsQuestAccepted = "Questionable.IsQuestAccepted"; + + private const string IpcIsQuestUnobtainable = "Questionable.IsQuestUnobtainable"; + private const string IpcGetStopConditionsEnabled = "Questionable.GetStopConditionsEnabled"; private const string IpcSetStopConditionsEnabled = "Questionable.SetStopConditionsEnabled"; @@ -168,422 +237,594 @@ internal sealed class QuestionableIpc : IDisposable private const string IpcSetQuestStopMode = "Questionable.SetQuestStopMode"; - private const string IpcGetAlliedSocietyRemainingAllowances = "Questionable.AlliedSociety.GetRemainingAllowances"; - - private const string IpcGetAlliedSocietyTimeUntilReset = "Questionable.AlliedSociety.GetTimeUntilReset"; - - private const string IpcGetAlliedSocietyAvailableQuestIds = "Questionable.AlliedSociety.GetAvailableQuestIds"; - - private const string IpcGetAlliedSocietyAllAvailableQuestCounts = "Questionable.AlliedSociety.GetAllAvailableQuestCounts"; - - private const string IpcGetAlliedSocietyIsMaxRank = "Questionable.AlliedSociety.IsMaxRank"; - - private const string IpcGetAlliedSocietyCurrentRank = "Questionable.AlliedSociety.GetCurrentRank"; - - private const string IpcGetAlliedSocietiesWithAvailableQuests = "Questionable.AlliedSociety.GetSocietiesWithAvailableQuests"; - - private const string IpcAddAlliedSocietyOptimalQuests = "Questionable.AlliedSociety.AddOptimalQuests"; - - private const string IpcGetAlliedSocietyOptimalQuests = "Questionable.AlliedSociety.GetOptimalQuests"; - - private const string IpcIsLevelingModeEnabled = "Questionable.IsLevelingModeEnabled"; - - private const string IpcSetLevelingModeEnabled = "Questionable.SetLevelingModeEnabled"; - - private const string IpcGetMsqLevelLockInfo = "Questionable.GetMsqLevelLockInfo"; - - private const string IpcStartLevelingMode = "Questionable.StartLevelingMode"; - - private const string IpcStopLevelingMode = "Questionable.StopLevelingMode"; - - private const string IpcGetBlacklistedQuests = "Questionable.GetBlacklistedQuests"; - - private const string IpcAddBlacklistedQuest = "Questionable.AddBlacklistedQuest"; - - private const string IpcRemoveBlacklistedQuest = "Questionable.RemoveBlacklistedQuest"; - - private const string IpcClearBlacklistedQuests = "Questionable.ClearBlacklistedQuests"; - - private const string IpcIsQuestBlacklisted = "Questionable.IsQuestBlacklisted"; - - private const string IpcGetMsqPriorityMode = "Questionable.GetMsqPriorityMode"; - - private const string IpcSetMsqPriorityMode = "Questionable.SetMsqPriorityMode"; - - private readonly QuestController _questController; - - private readonly QuestRegistry _questRegistry; - - private readonly QuestFunctions _questFunctions; - - private readonly QuestData _questData; - - private readonly ManualPriorityComponent _manualPriorityComponent; - - private readonly PresetBuilderComponent _presetBuilderComponent; - - private readonly Configuration _configuration; - - private readonly IDalamudPluginInterface _pluginInterface; - - private readonly IServiceProvider _serviceProvider; - - private readonly AutoDutyIpc _autoDutyIpc; - - private readonly ICallGateProvider _isRunning; - - private readonly ICallGateProvider _getCurrentQuestId; - - private readonly ICallGateProvider _getCurrentStepData; - - private readonly ICallGateProvider _getCurrentTask; - - private readonly ICallGateProvider> _getCurrentlyActiveEventQuests; - - private readonly ICallGateProvider _startQuest; - - private readonly ICallGateProvider _startSingleQuest; - - private readonly ICallGateProvider _isQuestLocked; - - private readonly ICallGateProvider _IsQuestComplete; - - private readonly ICallGateProvider _IsReadyToAcceptQuest; - - private readonly ICallGateProvider _isQuestAccepted; - - private readonly ICallGateProvider _isQuestUnobtainable; - - private readonly ICallGateProvider _getDefaultDutyMode; - - private readonly ICallGateProvider _setDefaultDutyMode; - - private readonly ICallGateProvider _getDutyModeOverride; - - private readonly ICallGateProvider _setDutyModeOverride; - - private readonly ICallGateProvider _clearDutyModeOverride; - - private readonly ICallGateProvider _clearAllDutyModeOverrides; - - private readonly ICallGateProvider _importQuestPriority; - - private readonly ICallGateProvider _addQuestPriority; - - private readonly ICallGateProvider _clearQuestPriority; - - private readonly ICallGateProvider _insertQuestPriority; - - private readonly ICallGateProvider _exportQuestPriority; - - private readonly ICallGateProvider> _getPriorityQuests; - - private readonly ICallGateProvider _removePriorityQuest; - - private readonly ICallGateProvider _reorderPriorityQuest; - - private readonly ICallGateProvider> _getAvailablePresets; - - private readonly ICallGateProvider> _getPresetQuests; - - private readonly ICallGateProvider _addPresetToPriority; - - private readonly ICallGateProvider _isPresetAvailable; - - private readonly ICallGateProvider _isQuestInPriority; - - private readonly ICallGateProvider _getQuestPriorityIndex; - - private readonly ICallGateProvider _hasAvailablePriorityQuests; - - private readonly ICallGateProvider _getStopConditionsEnabled; - - private readonly ICallGateProvider _setStopConditionsEnabled; - - private readonly ICallGateProvider> _getStopQuestList; - - private readonly ICallGateProvider _addStopQuest; - - private readonly ICallGateProvider _removeStopQuest; - - private readonly ICallGateProvider _clearStopQuests; - - private readonly ICallGateProvider _getLevelStopCondition; - - private readonly ICallGateProvider _setLevelStopCondition; - - private readonly ICallGateProvider _getSequenceStopCondition; - - private readonly ICallGateProvider _setSequenceStopCondition; - - private readonly ICallGateProvider _getQuestSequenceStopCondition; - - private readonly ICallGateProvider _setQuestSequenceStopCondition; - - private readonly ICallGateProvider _removeQuestSequenceStopCondition; - - private readonly ICallGateProvider> _getAllQuestSequenceStopConditions; - - private readonly ICallGateProvider _getLevelStopMode; - - private readonly ICallGateProvider _setLevelStopMode; - - private readonly ICallGateProvider _getSequenceStopMode; - - private readonly ICallGateProvider _setSequenceStopMode; - - private readonly ICallGateProvider _getQuestStopMode; - - private readonly ICallGateProvider _setQuestStopMode; - - private readonly ICallGateProvider _getAlliedSocietyRemainingAllowances; - - private readonly ICallGateProvider _getAlliedSocietyTimeUntilReset; - - private readonly ICallGateProvider> _getAlliedSocietyAvailableQuestIds; - - private readonly ICallGateProvider> _getAlliedSocietyAllAvailableQuestCounts; - - private readonly ICallGateProvider _getAlliedSocietyIsMaxRank; - - private readonly ICallGateProvider _getAlliedSocietyCurrentRank; - - private readonly ICallGateProvider> _getAlliedSocietiesWithAvailableQuests; - - private readonly ICallGateProvider _addAlliedSocietyOptimalQuests; - - private readonly ICallGateProvider> _getAlliedSocietyOptimalQuests; - - private readonly ICallGateProvider _isLevelingModeEnabled; - - private readonly ICallGateProvider _setLevelingModeEnabled; - - private readonly ICallGateProvider _getMsqLevelLockInfo; - - private readonly ICallGateProvider _startLevelingMode; - - private readonly ICallGateProvider _stopLevelingMode; - - private readonly ICallGateProvider> _getBlacklistedQuests; - - private readonly ICallGateProvider _addBlacklistedQuest; - - private readonly ICallGateProvider _removeBlacklistedQuest; - - private readonly ICallGateProvider _clearBlacklistedQuests; - - private readonly ICallGateProvider _isQuestBlacklisted; - - private readonly ICallGateProvider _getMsqPriorityMode; - - private readonly ICallGateProvider _setMsqPriorityMode; - - public QuestionableIpc(QuestController questController, EventInfoComponent eventInfoComponent, QuestRegistry questRegistry, QuestFunctions questFunctions, QuestData questData, ManualPriorityComponent manualPriorityComponent, PresetBuilderComponent presetBuilderComponent, Configuration configuration, IDalamudPluginInterface pluginInterface, IServiceProvider serviceProvider, AutoDutyIpc autoDutyIpc) + private void RegisterAlliedSocietyIpc() + { + Register("Questionable.AlliedSociety.GetRemainingAllowances", GetAlliedSocietyRemainingAllowances); + Register("Questionable.AlliedSociety.GetTimeUntilReset", GetAlliedSocietyTimeUntilReset); + Register>("Questionable.AlliedSociety.GetAvailableQuestIds", GetAlliedSocietyAvailableQuestIds); + Register("Questionable.AlliedSociety.GetAllAvailableQuestCounts", GetAlliedSocietyAllAvailableQuestCounts); + Register("Questionable.AlliedSociety.IsMaxRank", GetAlliedSocietyIsMaxRank); + Register("Questionable.AlliedSociety.GetCurrentRank", GetAlliedSocietyCurrentRank); + Register("Questionable.AlliedSociety.GetSocietiesWithAvailableQuests", GetAlliedSocietiesWithAvailableQuests); + Register("Questionable.AlliedSociety.AddOptimalQuests", AddAlliedSocietyOptimalQuests); + Register>("Questionable.AlliedSociety.GetOptimalQuests", GetAlliedSocietyOptimalQuests); + } + + private unsafe int GetAlliedSocietyRemainingAllowances() + { + QuestManager* ptr = QuestManager.Instance(); + if (ptr == null) + { + return 12; + } + return (int)ptr->GetBeastTribeAllowance(); + } + + private long GetAlliedSocietyTimeUntilReset() + { + TimeSpan item = AlliedSocietyJournalComponent.CalculateTimeUntilReset().TimeUntilReset; + return item.Ticks; + } + + private List GetAlliedSocietyAvailableQuestIds(byte alliedSocietyId) + { + if (alliedSocietyId == 0 || !Enum.IsDefined(typeof(EAlliedSociety), alliedSocietyId)) + { + return new List(); + } + EAlliedSociety alliedSociety = (EAlliedSociety)alliedSocietyId; + return (from q in _serviceProvider.GetRequiredService().GetAvailableAlliedSocietyQuests(alliedSociety) + select q.ToString()).ToList(); + } + + private Dictionary GetAlliedSocietyAllAvailableQuestCounts() + { + Dictionary dictionary = new Dictionary(); + AlliedSocietyQuestFunctions requiredService = _serviceProvider.GetRequiredService(); + EAlliedSociety[] values = Enum.GetValues(); + foreach (EAlliedSociety eAlliedSociety in values) + { + if (eAlliedSociety != EAlliedSociety.None) + { + int count = requiredService.GetAvailableAlliedSocietyQuests(eAlliedSociety).Count; + if (count > 0) + { + dictionary[(byte)eAlliedSociety] = count; + } + } + } + return dictionary; + } + + private unsafe bool GetAlliedSocietyIsMaxRank(byte alliedSocietyId) + { + if (!Enum.IsDefined(typeof(EAlliedSociety), alliedSocietyId) || alliedSocietyId == 0) + { + return false; + } + QuestManager* ptr = QuestManager.Instance(); + if (ptr == null) + { + return false; + } + byte b = (byte)(ptr->BeastReputation[alliedSocietyId - 1].Rank & 0x7F); + return b >= (EAlliedSociety)alliedSocietyId switch + { + EAlliedSociety.Amaljaa => 3, + EAlliedSociety.Sylphs => 3, + EAlliedSociety.Kobolds => 3, + EAlliedSociety.Sahagin => 3, + EAlliedSociety.Ixal => 7, + _ => 8, + }; + } + + private unsafe int GetAlliedSocietyCurrentRank(byte alliedSocietyId) + { + if (!Enum.IsDefined(typeof(EAlliedSociety), alliedSocietyId) || alliedSocietyId == 0) + { + return -1; + } + QuestManager* ptr = QuestManager.Instance(); + if (ptr == null) + { + return -1; + } + return (byte)(ptr->BeastReputation[alliedSocietyId - 1].Rank & 0x7F); + } + + private List GetAlliedSocietiesWithAvailableQuests() + { + List list = new List(); + AlliedSocietyQuestFunctions requiredService = _serviceProvider.GetRequiredService(); + EAlliedSociety[] values = Enum.GetValues(); + foreach (EAlliedSociety eAlliedSociety in values) + { + if (eAlliedSociety != EAlliedSociety.None && requiredService.GetAvailableAlliedSocietyQuests(eAlliedSociety).Count > 0) + { + list.Add((byte)eAlliedSociety); + } + } + return list; + } + + private int AddAlliedSocietyOptimalQuests(byte alliedSocietyId) + { + if (!Enum.IsDefined(typeof(EAlliedSociety), alliedSocietyId) || alliedSocietyId == 0) + { + return 0; + } + EAlliedSociety eAlliedSociety = (EAlliedSociety)alliedSocietyId; + List availableAlliedSocietyQuests = _serviceProvider.GetRequiredService().GetAvailableAlliedSocietyQuests(eAlliedSociety); + if (availableAlliedSocietyQuests.Count == 0) + { + return 0; + } + IQuestInfo questInfo; + Quest quest; + List list = (from questInfo in availableAlliedSocietyQuests.Select((QuestId questId) => (!_questData.TryGetQuestInfo(questId, out questInfo)) ? null : questInfo).OfType() + where _questRegistry.TryGetQuest(questInfo.QuestId, out quest) && !quest.Root.Disabled + where !_questController.ManualPriorityQuests.Any((Quest pq) => pq.Id.Equals(questInfo.QuestId)) + orderby questInfo.AlliedSocietyRank descending + select questInfo).ToList(); + if (list.Count == 0) + { + return 0; + } + int val = (((int)eAlliedSociety <= 5) ? 12 : 3); + int alliedSocietyRemainingAllowances = GetAlliedSocietyRemainingAllowances(); + int count = Math.Min(Math.Min(val, alliedSocietyRemainingAllowances), list.Count); + int num = 0; + foreach (QuestInfo item in list.Take(count)) + { + if (_questController.AddQuestPriority(item.QuestId)) + { + num++; + } + } + return num; + } + + private List GetAlliedSocietyOptimalQuests(byte alliedSocietyId) + { + if (!Enum.IsDefined(typeof(EAlliedSociety), alliedSocietyId) || alliedSocietyId == 0) + { + return new List(); + } + EAlliedSociety eAlliedSociety = (EAlliedSociety)alliedSocietyId; + List availableAlliedSocietyQuests = _serviceProvider.GetRequiredService().GetAvailableAlliedSocietyQuests(eAlliedSociety); + if (availableAlliedSocietyQuests.Count == 0) + { + return new List(); + } + IQuestInfo questInfo; + Quest quest; + List list = (from questInfo in availableAlliedSocietyQuests.Select((QuestId questId) => (!_questData.TryGetQuestInfo(questId, out questInfo)) ? null : questInfo).OfType() + where _questRegistry.TryGetQuest(questInfo.QuestId, out quest) && !quest.Root.Disabled + where !_questController.ManualPriorityQuests.Any((Quest pq) => pq.Id.Equals(questInfo.QuestId)) + orderby questInfo.AlliedSocietyRank descending + select questInfo).ToList(); + if (list.Count == 0) + { + return new List(); + } + int val = (((int)eAlliedSociety <= 5) ? 12 : 3); + int alliedSocietyRemainingAllowances = GetAlliedSocietyRemainingAllowances(); + int count = Math.Min(Math.Min(val, alliedSocietyRemainingAllowances), list.Count); + return (from q in list.Take(count) + select q.QuestId.ToString()).ToList(); + } + + private void RegisterBlacklistIpc() + { + Register("Questionable.GetBlacklistedQuests", GetBlacklistedQuests); + Register("Questionable.AddBlacklistedQuest", AddBlacklistedQuest); + Register("Questionable.RemoveBlacklistedQuest", RemoveBlacklistedQuest); + Register("Questionable.ClearBlacklistedQuests", ClearBlacklistedQuests); + Register("Questionable.IsQuestBlacklisted", IsQuestBlacklistedIpc); + } + + private List GetBlacklistedQuests() + { + return _configuration.General.BlacklistedQuests.Select((ElementId q) => q.ToString()).ToList(); + } + + private bool AddBlacklistedQuest(string questId) + { + if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null && _configuration.General.BlacklistedQuests.Add(elementId)) + { + _pluginInterface.SavePluginConfig(_configuration); + return true; + } + return false; + } + + private bool RemoveBlacklistedQuest(string questId) + { + if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null) + { + bool num = _configuration.General.BlacklistedQuests.Remove(elementId); + if (num) + { + _pluginInterface.SavePluginConfig(_configuration); + } + return num; + } + return false; + } + + private bool ClearBlacklistedQuests() + { + _configuration.General.BlacklistedQuests.Clear(); + _pluginInterface.SavePluginConfig(_configuration); + return true; + } + + private bool IsQuestBlacklistedIpc(string questId) + { + if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null) + { + return _questFunctions.IsQuestBlacklisted(elementId); + } + return false; + } + + public QuestionableIpc(QuestController questController, EventInfoComponent eventInfoComponent, QuestRegistry questRegistry, QuestFunctions questFunctions, QuestData questData, ManualPriorityComponent manualPriorityComponent, Configuration configuration, IDalamudPluginInterface pluginInterface, IServiceProvider serviceProvider, AutoDutyIpc autoDutyIpc, IObjectTable objectTable) { - QuestionableIpc questionableIpc = this; _questController = questController; + _eventInfoComponent = eventInfoComponent; _questRegistry = questRegistry; _questFunctions = questFunctions; _questData = questData; _manualPriorityComponent = manualPriorityComponent; - _presetBuilderComponent = presetBuilderComponent; _configuration = configuration; _pluginInterface = pluginInterface; _serviceProvider = serviceProvider; _autoDutyIpc = autoDutyIpc; - _isRunning = pluginInterface.GetIpcProvider("Questionable.IsRunning"); - _isRunning.RegisterFunc(() => questController.AutomationType != QuestController.EAutomationType.Manual || questController.IsRunning); - _getCurrentQuestId = pluginInterface.GetIpcProvider("Questionable.GetCurrentQuestId"); - _getCurrentQuestId.RegisterFunc(() => questController.CurrentQuest?.Quest.Id.ToString()); - _getCurrentStepData = pluginInterface.GetIpcProvider("Questionable.GetCurrentStepData"); - _getCurrentStepData.RegisterFunc(GetStepData); - _getCurrentTask = pluginInterface.GetIpcProvider("Questionable.GetCurrentTask"); - _getCurrentTask.RegisterFunc(GetCurrentTask); - _getCurrentlyActiveEventQuests = pluginInterface.GetIpcProvider>("Questionable.GetCurrentlyActiveEventQuests"); - _getCurrentlyActiveEventQuests.RegisterFunc(() => (from q in eventInfoComponent.GetCurrentlyActiveEventQuests() - select q.ToString()).ToList()); - _startQuest = pluginInterface.GetIpcProvider("Questionable.StartQuest"); - _startQuest.RegisterFunc((string questId) => questionableIpc.StartQuest(questId, single: false)); - _startSingleQuest = pluginInterface.GetIpcProvider("Questionable.StartSingleQuest"); - _startSingleQuest.RegisterFunc((string questId) => questionableIpc.StartQuest(questId, single: true)); - _isQuestLocked = pluginInterface.GetIpcProvider("Questionable.IsQuestLocked"); - _isQuestLocked.RegisterFunc(IsQuestLocked); - _IsQuestComplete = pluginInterface.GetIpcProvider("Questionable.IsQuestComplete"); - _IsQuestComplete.RegisterFunc(IsQuestComplete); - _IsReadyToAcceptQuest = pluginInterface.GetIpcProvider("Questionable.IsReadyToAcceptQuest"); - _IsReadyToAcceptQuest.RegisterFunc(IsReadyToAcceptQuest); - _isQuestAccepted = pluginInterface.GetIpcProvider("Questionable.IsQuestAccepted"); - _isQuestAccepted.RegisterFunc(IsQuestAccepted); - _isQuestUnobtainable = pluginInterface.GetIpcProvider("Questionable.IsQuestUnobtainable"); - _isQuestUnobtainable.RegisterFunc(IsQuestUnobtainable); - _getDefaultDutyMode = pluginInterface.GetIpcProvider("Questionable.GetDefaultDutyMode"); - _getDefaultDutyMode.RegisterFunc(GetDefaultDutyMode); - _setDefaultDutyMode = pluginInterface.GetIpcProvider("Questionable.SetDefaultDutyMode"); - _setDefaultDutyMode.RegisterFunc(SetDefaultDutyMode); - _getDutyModeOverride = pluginInterface.GetIpcProvider("Questionable.GetDutyModeOverride"); - _getDutyModeOverride.RegisterFunc(GetDutyModeOverride); - _setDutyModeOverride = pluginInterface.GetIpcProvider("Questionable.SetDutyModeOverride"); - _setDutyModeOverride.RegisterFunc(SetDutyModeOverride); - _clearDutyModeOverride = pluginInterface.GetIpcProvider("Questionable.ClearDutyModeOverride"); - _clearDutyModeOverride.RegisterFunc(ClearDutyModeOverride); - _clearAllDutyModeOverrides = pluginInterface.GetIpcProvider("Questionable.ClearAllDutyModeOverrides"); - _clearAllDutyModeOverrides.RegisterFunc(ClearAllDutyModeOverrides); - _importQuestPriority = pluginInterface.GetIpcProvider("Questionable.ImportQuestPriority"); - _importQuestPriority.RegisterFunc(ImportQuestPriority); - _addQuestPriority = pluginInterface.GetIpcProvider("Questionable.AddQuestPriority"); - _addQuestPriority.RegisterFunc(AddQuestPriority); - _clearQuestPriority = pluginInterface.GetIpcProvider("Questionable.ClearQuestPriority"); - _clearQuestPriority.RegisterFunc(ClearQuestPriority); - _insertQuestPriority = pluginInterface.GetIpcProvider("Questionable.InsertQuestPriority"); - _insertQuestPriority.RegisterFunc(InsertQuestPriority); - _exportQuestPriority = pluginInterface.GetIpcProvider("Questionable.ExportQuestPriority"); - _exportQuestPriority.RegisterFunc(_manualPriorityComponent.EncodeQuestPriority); - _getPriorityQuests = pluginInterface.GetIpcProvider>("Questionable.GetPriorityQuests"); - _getPriorityQuests.RegisterFunc(GetPriorityQuests); - _removePriorityQuest = pluginInterface.GetIpcProvider("Questionable.RemovePriorityQuest"); - _removePriorityQuest.RegisterFunc(RemovePriorityQuest); - _reorderPriorityQuest = pluginInterface.GetIpcProvider("Questionable.ReorderPriorityQuest"); - _reorderPriorityQuest.RegisterFunc(ReorderPriorityQuest); - _getAvailablePresets = pluginInterface.GetIpcProvider>("Questionable.GetAvailablePresets"); - _getAvailablePresets.RegisterFunc(GetAvailablePresets); - _getPresetQuests = pluginInterface.GetIpcProvider>("Questionable.GetPresetQuests"); - _getPresetQuests.RegisterFunc(GetPresetQuests); - _addPresetToPriority = pluginInterface.GetIpcProvider("Questionable.AddPresetToPriority"); - _addPresetToPriority.RegisterFunc(AddPresetToPriority); - _isPresetAvailable = pluginInterface.GetIpcProvider("Questionable.IsPresetAvailable"); - _isPresetAvailable.RegisterFunc(IsPresetAvailable); - _isQuestInPriority = pluginInterface.GetIpcProvider("Questionable.IsQuestInPriority"); - _isQuestInPriority.RegisterFunc(IsQuestInPriority); - _getQuestPriorityIndex = pluginInterface.GetIpcProvider("Questionable.GetQuestPriorityIndex"); - _getQuestPriorityIndex.RegisterFunc(GetQuestPriorityIndex); - _hasAvailablePriorityQuests = pluginInterface.GetIpcProvider("Questionable.HasAvailablePriorityQuests"); - _hasAvailablePriorityQuests.RegisterFunc(HasAvailablePriorityQuests); - _getStopConditionsEnabled = pluginInterface.GetIpcProvider("Questionable.GetStopConditionsEnabled"); - _getStopConditionsEnabled.RegisterFunc(GetStopConditionsEnabled); - _setStopConditionsEnabled = pluginInterface.GetIpcProvider("Questionable.SetStopConditionsEnabled"); - _setStopConditionsEnabled.RegisterFunc(SetStopConditionsEnabled); - _getStopQuestList = pluginInterface.GetIpcProvider>("Questionable.GetStopQuestList"); - _getStopQuestList.RegisterFunc(GetStopQuestList); - _addStopQuest = pluginInterface.GetIpcProvider("Questionable.AddStopQuest"); - _addStopQuest.RegisterFunc(AddStopQuest); - _removeStopQuest = pluginInterface.GetIpcProvider("Questionable.RemoveStopQuest"); - _removeStopQuest.RegisterFunc(RemoveStopQuest); - _clearStopQuests = pluginInterface.GetIpcProvider("Questionable.ClearStopQuests"); - _clearStopQuests.RegisterFunc(ClearStopQuests); - _getLevelStopCondition = pluginInterface.GetIpcProvider("Questionable.GetLevelStopCondition"); - _getLevelStopCondition.RegisterFunc(GetLevelStopCondition); - _setLevelStopCondition = pluginInterface.GetIpcProvider("Questionable.SetLevelStopCondition"); - _setLevelStopCondition.RegisterFunc(SetLevelStopCondition); - _getSequenceStopCondition = pluginInterface.GetIpcProvider("Questionable.GetSequenceStopCondition"); - _getSequenceStopCondition.RegisterFunc(GetSequenceStopCondition); - _setSequenceStopCondition = pluginInterface.GetIpcProvider("Questionable.SetSequenceStopCondition"); - _setSequenceStopCondition.RegisterFunc(SetSequenceStopCondition); - _getQuestSequenceStopCondition = pluginInterface.GetIpcProvider("Questionable.GetQuestSequenceStopCondition"); - _getQuestSequenceStopCondition.RegisterFunc(GetQuestSequenceStopCondition); - _setQuestSequenceStopCondition = pluginInterface.GetIpcProvider("Questionable.SetQuestSequenceStopCondition"); - _setQuestSequenceStopCondition.RegisterFunc(SetQuestSequenceStopCondition); - _removeQuestSequenceStopCondition = pluginInterface.GetIpcProvider("Questionable.RemoveQuestSequenceStopCondition"); - _removeQuestSequenceStopCondition.RegisterFunc(RemoveQuestSequenceStopCondition); - _getAllQuestSequenceStopConditions = pluginInterface.GetIpcProvider>("Questionable.GetAllQuestSequenceStopConditions"); - _getAllQuestSequenceStopConditions.RegisterFunc(GetAllQuestSequenceStopConditions); - _getLevelStopMode = pluginInterface.GetIpcProvider("Questionable.GetLevelStopMode"); - _getLevelStopMode.RegisterFunc(() => (int)questionableIpc._configuration.Stop.LevelStopMode); - _setLevelStopMode = pluginInterface.GetIpcProvider("Questionable.SetLevelStopMode"); - _setLevelStopMode.RegisterFunc(delegate(int mode) + _objectTable = objectTable; + RegisterMetaIpc(); + RegisterQuestStateIpc(); + RegisterDutyModeIpc(); + RegisterPriorityQuestIpc(); + RegisterStopConditionIpc(); + RegisterAlliedSocietyIpc(); + RegisterLevelingModeIpc(); + RegisterBlacklistIpc(); + RegisterMsqPriorityIpc(); + } + + private void Register(string name, Func handler) + { + ICallGateProvider ipcProvider = _pluginInterface.GetIpcProvider(name); + ipcProvider.RegisterFunc(handler); + _unregisterActions.Add(ipcProvider.UnregisterFunc); + } + + private void Register(string name, Func handler) + { + ICallGateProvider ipcProvider = _pluginInterface.GetIpcProvider(name); + ipcProvider.RegisterFunc(handler); + _unregisterActions.Add(ipcProvider.UnregisterFunc); + } + + private void Register(string name, Func handler) + { + ICallGateProvider ipcProvider = _pluginInterface.GetIpcProvider(name); + ipcProvider.RegisterFunc(handler); + _unregisterActions.Add(ipcProvider.UnregisterFunc); + } + + public void Dispose() + { + foreach (Action unregisterAction in _unregisterActions) { - if (!Enum.IsDefined(typeof(Configuration.EStopConditionMode), mode)) - { - return false; - } - questionableIpc._configuration.Stop.LevelStopMode = (Configuration.EStopConditionMode)mode; - questionableIpc._pluginInterface.SavePluginConfig(questionableIpc._configuration); - return true; - }); - _getSequenceStopMode = pluginInterface.GetIpcProvider("Questionable.GetSequenceStopMode"); - _getSequenceStopMode.RegisterFunc(() => (int)questionableIpc._configuration.Stop.SequenceStopMode); - _setSequenceStopMode = pluginInterface.GetIpcProvider("Questionable.SetSequenceStopMode"); - _setSequenceStopMode.RegisterFunc(delegate(int mode) + unregisterAction(); + } + _unregisterActions.Clear(); + } + + private void RegisterDutyModeIpc() + { + Register("Questionable.GetDefaultDutyMode", GetDefaultDutyMode); + Register("Questionable.SetDefaultDutyMode", SetDefaultDutyMode); + Register("Questionable.GetDutyModeOverride", GetDutyModeOverride); + Register("Questionable.SetDutyModeOverride", SetDutyModeOverride); + Register("Questionable.ClearDutyModeOverride", ClearDutyModeOverride); + Register("Questionable.ClearAllDutyModeOverrides", ClearAllDutyModeOverrides); + } + + private int GetDefaultDutyMode() + { + return (int)_configuration.Duties.DefaultDutyMode; + } + + private bool SetDefaultDutyMode(int dutyMode) + { + if (!Enum.IsDefined(typeof(EDutyMode), dutyMode)) { - if (!Enum.IsDefined(typeof(Configuration.EStopConditionMode), mode)) - { - return false; - } - questionableIpc._configuration.Stop.SequenceStopMode = (Configuration.EStopConditionMode)mode; - questionableIpc._pluginInterface.SavePluginConfig(questionableIpc._configuration); - return true; - }); - _getQuestStopMode = pluginInterface.GetIpcProvider("Questionable.GetQuestStopMode"); - _getQuestStopMode.RegisterFunc((string questId) => (int)(questionableIpc._configuration.Stop.QuestStopModes.TryGetValue(questId, out var value) ? value : ((Configuration.EStopConditionMode)(-1)))); - _setQuestStopMode = pluginInterface.GetIpcProvider("Questionable.SetQuestStopMode"); - _setQuestStopMode.RegisterFunc(delegate(string questId, int mode) + return false; + } + _configuration.Duties.DefaultDutyMode = (EDutyMode)dutyMode; + _pluginInterface.SavePluginConfig(_configuration); + return true; + } + + private int GetDutyModeOverride(uint contentFinderConditionId) + { + if (_configuration.Duties.DutyModeOverrides.TryGetValue(contentFinderConditionId, out var value)) { - if (!Enum.IsDefined(typeof(Configuration.EStopConditionMode), mode)) + return (int)value; + } + return -1; + } + + private bool SetDutyModeOverride(uint contentFinderConditionId, int dutyMode) + { + if (!Enum.IsDefined(typeof(EDutyMode), dutyMode)) + { + return false; + } + _configuration.Duties.DutyModeOverrides[contentFinderConditionId] = (EDutyMode)dutyMode; + _pluginInterface.SavePluginConfig(_configuration); + return true; + } + + private bool ClearDutyModeOverride(uint contentFinderConditionId) + { + bool num = _configuration.Duties.DutyModeOverrides.Remove(contentFinderConditionId); + if (num) + { + _pluginInterface.SavePluginConfig(_configuration); + } + return num; + } + + private bool ClearAllDutyModeOverrides() + { + _configuration.Duties.DutyModeOverrides.Clear(); + _pluginInterface.SavePluginConfig(_configuration); + return true; + } + + private void RegisterLevelingModeIpc() + { + Register("Questionable.IsLevelingModeEnabled", IsLevelingModeEnabled); + Register("Questionable.SetLevelingModeEnabled", SetLevelingModeEnabled); + Register("Questionable.GetMsqLevelLockInfo", GetMsqLevelLockInfo); + Register("Questionable.StartLevelingMode", StartLevelingMode); + Register("Questionable.StopLevelingMode", StopLevelingMode); + } + + private bool IsLevelingModeEnabled() + { + return _configuration.Duties.RunLevelingModeWhenUnderleveled; + } + + private bool SetLevelingModeEnabled(bool enabled) + { + _configuration.Duties.RunLevelingModeWhenUnderleveled = enabled; + _pluginInterface.SavePluginConfig(_configuration); + return true; + } + + private MsqLevelLockData? GetMsqLevelLockInfo() + { + var (flag, levelsNeeded, requiredLevel, questName) = _questFunctions.GetMsqLevelLockInfo(); + if (!flag) + { + return null; + } + return new MsqLevelLockData + { + IsLevelLocked = flag, + LevelsNeeded = levelsNeeded, + RequiredLevel = requiredLevel, + QuestName = questName + }; + } + + private bool StartLevelingMode() + { + if (!_autoDutyIpc.IsConfiguredToRunLevelingMode(_objectTable.LocalPlayer?.Level ?? 0)) + { + return false; + } + return _autoDutyIpc.StartLevelingMode(); + } + + private bool StopLevelingMode() + { + return _autoDutyIpc.Stop(); + } + + private void RegisterMetaIpc() + { + Register("Questionable.ApiVersion", () => ((int, int))ApiVersion); + } + + private void RegisterMsqPriorityIpc() + { + Register("Questionable.GetMsqPriorityMode", GetMsqPriorityMode); + Register("Questionable.SetMsqPriorityMode", SetMsqPriorityMode); + } + + private int GetMsqPriorityMode() + { + return (int)_configuration.General.MsqPriority; + } + + private bool SetMsqPriorityMode(int mode) + { + if (!Enum.IsDefined(typeof(Configuration.EMsqPriorityMode), mode)) + { + return false; + } + _configuration.General.MsqPriority = (Configuration.EMsqPriorityMode)mode; + _pluginInterface.SavePluginConfig(_configuration); + return true; + } + + private void RegisterPriorityQuestIpc() + { + Register("Questionable.ImportQuestPriority", ImportQuestPriority); + Register("Questionable.AddQuestPriority", AddQuestPriority); + Register("Questionable.ClearQuestPriority", ClearQuestPriority); + Register("Questionable.InsertQuestPriority", InsertQuestPriority); + Register("Questionable.ExportQuestPriority", _manualPriorityComponent.EncodeQuestPriority); + Register("Questionable.GetPriorityQuests", GetPriorityQuests); + Register("Questionable.RemovePriorityQuest", RemovePriorityQuest); + Register("Questionable.ReorderPriorityQuest", ReorderPriorityQuest); + Register("Questionable.GetAvailablePresets", GetAvailablePresets); + Register>("Questionable.GetPresetQuests", GetPresetQuests); + Register("Questionable.AddPresetToPriority", AddPresetToPriority); + Register("Questionable.IsPresetAvailable", IsPresetAvailable); + Register("Questionable.IsQuestInPriority", IsQuestInPriority); + Register("Questionable.GetQuestPriorityIndex", GetQuestPriorityIndex); + Register("Questionable.HasAvailablePriorityQuests", HasAvailablePriorityQuests); + } + + private bool ImportQuestPriority(string encodedQuestPriority) + { + List list = ManualPriorityComponent.DecodeQuestPriority(encodedQuestPriority); + if (list.Count > 0) + { + return _questController.ImportQuestPriority(list); + } + return false; + } + + private bool ClearQuestPriority() + { + _questController.ClearQuestPriority(); + return true; + } + + private bool AddQuestPriority(string questId) + { + if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null && _questRegistry.IsKnownQuest(elementId)) + { + return _questController.AddQuestPriority(elementId); + } + return false; + } + + private bool InsertQuestPriority(int index, string questId) + { + if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null && _questRegistry.IsKnownQuest(elementId)) + { + return _questController.InsertQuestPriority(index, elementId); + } + return false; + } + + private List GetPriorityQuests() + { + return _questController.ManualPriorityQuests.Select((Quest q) => q.Id.ToString()).ToList(); + } + + private bool RemovePriorityQuest(string questId) + { + if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null) + { + Quest quest = _questController.ManualPriorityQuests.FirstOrDefault((Quest q) => q.Id.Equals(elementId)); + if (quest != null) { - return false; - } - if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null && questionableIpc._questRegistry.IsKnownQuest(elementId)) - { - if (mode == 0) - { - questionableIpc._configuration.Stop.QuestsToStopAfter.Remove(elementId); - questionableIpc._configuration.Stop.QuestStopModes.Remove(questId); - questionableIpc._configuration.Stop.QuestSequences.Remove(questId); - } - else - { - if (!questionableIpc._configuration.Stop.QuestsToStopAfter.Contains(elementId)) - { - questionableIpc._configuration.Stop.QuestsToStopAfter.Add(elementId); - } - questionableIpc._configuration.Stop.QuestStopModes[questId] = (Configuration.EStopConditionMode)mode; - } - questionableIpc._pluginInterface.SavePluginConfig(questionableIpc._configuration); + _questController.ManualPriorityQuests.Remove(quest); + _questController.SavePriorityQuests(); return true; } - return false; - }); - _getAlliedSocietyRemainingAllowances = pluginInterface.GetIpcProvider("Questionable.AlliedSociety.GetRemainingAllowances"); - _getAlliedSocietyRemainingAllowances.RegisterFunc(GetAlliedSocietyRemainingAllowances); - _getAlliedSocietyTimeUntilReset = pluginInterface.GetIpcProvider("Questionable.AlliedSociety.GetTimeUntilReset"); - _getAlliedSocietyTimeUntilReset.RegisterFunc(GetAlliedSocietyTimeUntilReset); - _getAlliedSocietyAvailableQuestIds = pluginInterface.GetIpcProvider>("Questionable.AlliedSociety.GetAvailableQuestIds"); - _getAlliedSocietyAvailableQuestIds.RegisterFunc(GetAlliedSocietyAvailableQuestIds); - _getAlliedSocietyAllAvailableQuestCounts = pluginInterface.GetIpcProvider>("Questionable.AlliedSociety.GetAllAvailableQuestCounts"); - _getAlliedSocietyAllAvailableQuestCounts.RegisterFunc(GetAlliedSocietyAllAvailableQuestCounts); - _getAlliedSocietyIsMaxRank = pluginInterface.GetIpcProvider("Questionable.AlliedSociety.IsMaxRank"); - _getAlliedSocietyIsMaxRank.RegisterFunc(GetAlliedSocietyIsMaxRank); - _getAlliedSocietyCurrentRank = pluginInterface.GetIpcProvider("Questionable.AlliedSociety.GetCurrentRank"); - _getAlliedSocietyCurrentRank.RegisterFunc(GetAlliedSocietyCurrentRank); - _getAlliedSocietiesWithAvailableQuests = pluginInterface.GetIpcProvider>("Questionable.AlliedSociety.GetSocietiesWithAvailableQuests"); - _getAlliedSocietiesWithAvailableQuests.RegisterFunc(GetAlliedSocietiesWithAvailableQuests); - _addAlliedSocietyOptimalQuests = pluginInterface.GetIpcProvider("Questionable.AlliedSociety.AddOptimalQuests"); - _addAlliedSocietyOptimalQuests.RegisterFunc(AddAlliedSocietyOptimalQuests); - _getAlliedSocietyOptimalQuests = pluginInterface.GetIpcProvider>("Questionable.AlliedSociety.GetOptimalQuests"); - _getAlliedSocietyOptimalQuests.RegisterFunc(GetAlliedSocietyOptimalQuests); - _isLevelingModeEnabled = pluginInterface.GetIpcProvider("Questionable.IsLevelingModeEnabled"); - _isLevelingModeEnabled.RegisterFunc(IsLevelingModeEnabled); - _setLevelingModeEnabled = pluginInterface.GetIpcProvider("Questionable.SetLevelingModeEnabled"); - _setLevelingModeEnabled.RegisterFunc(SetLevelingModeEnabled); - _getMsqLevelLockInfo = pluginInterface.GetIpcProvider("Questionable.GetMsqLevelLockInfo"); - _getMsqLevelLockInfo.RegisterFunc(GetMsqLevelLockInfo); - _startLevelingMode = pluginInterface.GetIpcProvider("Questionable.StartLevelingMode"); - _startLevelingMode.RegisterFunc(StartLevelingMode); - _stopLevelingMode = pluginInterface.GetIpcProvider("Questionable.StopLevelingMode"); - _stopLevelingMode.RegisterFunc(StopLevelingMode); - _getBlacklistedQuests = pluginInterface.GetIpcProvider>("Questionable.GetBlacklistedQuests"); - _getBlacklistedQuests.RegisterFunc(GetBlacklistedQuests); - _addBlacklistedQuest = pluginInterface.GetIpcProvider("Questionable.AddBlacklistedQuest"); - _addBlacklistedQuest.RegisterFunc(AddBlacklistedQuest); - _removeBlacklistedQuest = pluginInterface.GetIpcProvider("Questionable.RemoveBlacklistedQuest"); - _removeBlacklistedQuest.RegisterFunc(RemoveBlacklistedQuest); - _clearBlacklistedQuests = pluginInterface.GetIpcProvider("Questionable.ClearBlacklistedQuests"); - _clearBlacklistedQuests.RegisterFunc(ClearBlacklistedQuests); - _isQuestBlacklisted = pluginInterface.GetIpcProvider("Questionable.IsQuestBlacklisted"); - _isQuestBlacklisted.RegisterFunc(IsQuestBlacklistedIpc); - _getMsqPriorityMode = pluginInterface.GetIpcProvider("Questionable.GetMsqPriorityMode"); - _getMsqPriorityMode.RegisterFunc(GetMsqPriorityMode); - _setMsqPriorityMode = pluginInterface.GetIpcProvider("Questionable.SetMsqPriorityMode"); - _setMsqPriorityMode.RegisterFunc(SetMsqPriorityMode); + } + return false; + } + + private bool ReorderPriorityQuest(string questId, int newIndex) + { + if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null) + { + Quest quest = _questController.ManualPriorityQuests.FirstOrDefault((Quest q) => q.Id.Equals(elementId)); + if (quest != null && newIndex >= 0 && newIndex < _questController.ManualPriorityQuests.Count) + { + _questController.ManualPriorityQuests.Remove(quest); + _questController.ManualPriorityQuests.Insert(newIndex, quest); + _questController.SavePriorityQuests(); + return true; + } + } + return false; + } + + private List GetAvailablePresets() + { + return new List { "crystal_tower", "hard_primals" }; + } + + private List GetPresetQuests(string presetName) + { + List source = ((presetName == "crystal_tower") ? QuestData.CrystalTowerQuests.Cast().ToList() : ((!(presetName == "hard_primals")) ? new List() : QuestData.HardModePrimals.Cast().ToList())); + return source.Select((ElementId q) => q.ToString()).ToList(); + } + + private int AddPresetToPriority(string presetName) + { + List presetQuests = GetPresetQuests(presetName); + int num = 0; + foreach (string item in presetQuests) + { + if (ElementId.TryFromString(item, out ElementId elementId) && elementId != null && (_questFunctions.IsReadyToAcceptQuest(elementId) || _questFunctions.IsQuestAccepted(elementId)) && !_questController.ManualPriorityQuests.Any((Quest q) => q.Id.Equals(elementId)) && _questRegistry.IsKnownQuest(elementId) && _questController.AddQuestPriority(elementId)) + { + num++; + } + } + return num; + } + + private bool IsPresetAvailable(string presetName) + { + return GetAvailablePresets().Contains(presetName); + } + + private bool IsQuestInPriority(string questId) + { + if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null) + { + return _questController.ManualPriorityQuests.Any((Quest q) => q.Id.Equals(elementId)); + } + return false; + } + + private int GetQuestPriorityIndex(string questId) + { + if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null) + { + Quest quest = _questController.ManualPriorityQuests.FirstOrDefault((Quest q) => q.Id.Equals(elementId)); + if (quest != null) + { + return _questController.ManualPriorityQuests.IndexOf(quest); + } + } + return -1; + } + + private bool HasAvailablePriorityQuests() + { + return _questFunctions.GetNextPriorityQuestsThatCanBeAccepted().Any((PriorityQuestInfo x) => x.IsAvailable); + } + + private void RegisterQuestStateIpc() + { + Register("Questionable.IsRunning", () => _questController.AutomationType != QuestController.EAutomationType.Manual || _questController.IsRunning); + Register("Questionable.GetCurrentQuestId", () => _questController.CurrentQuest?.Quest.Id.ToString()); + Register("Questionable.GetCurrentStepData", GetStepData); + Register("Questionable.GetCurrentTask", GetCurrentTask); + Register("Questionable.GetCurrentlyActiveEventQuests", () => (from q in _eventInfoComponent.GetCurrentlyActiveEventQuests() + select q.ToString()).ToList()); + Register("Questionable.StartQuest", (string questId) => StartQuest(questId, single: false)); + Register("Questionable.StartSingleQuest", (string questId) => StartQuest(questId, single: true)); + Register("Questionable.IsQuestLocked", IsQuestLocked); + Register("Questionable.IsQuestComplete", IsQuestComplete); + Register("Questionable.IsReadyToAcceptQuest", IsReadyToAcceptQuest); + Register("Questionable.IsQuestAccepted", IsQuestAccepted); + Register("Questionable.IsQuestUnobtainable", IsQuestUnobtainable); } private bool StartQuest(string questId, bool single) @@ -693,361 +934,28 @@ internal sealed class QuestionableIpc : IDisposable return false; } - private int GetDefaultDutyMode() + private void RegisterStopConditionIpc() { - return (int)_configuration.Duties.DefaultDutyMode; - } - - private bool SetDefaultDutyMode(int dutyMode) - { - if (!Enum.IsDefined(typeof(EDutyMode), dutyMode)) - { - return false; - } - _configuration.Duties.DefaultDutyMode = (EDutyMode)dutyMode; - _pluginInterface.SavePluginConfig(_configuration); - return true; - } - - private int GetDutyModeOverride(uint contentFinderConditionId) - { - if (_configuration.Duties.DutyModeOverrides.TryGetValue(contentFinderConditionId, out var value)) - { - return (int)value; - } - return -1; - } - - private bool SetDutyModeOverride(uint contentFinderConditionId, int dutyMode) - { - if (!Enum.IsDefined(typeof(EDutyMode), dutyMode)) - { - return false; - } - _configuration.Duties.DutyModeOverrides[contentFinderConditionId] = (EDutyMode)dutyMode; - _pluginInterface.SavePluginConfig(_configuration); - return true; - } - - private bool ClearDutyModeOverride(uint contentFinderConditionId) - { - bool num = _configuration.Duties.DutyModeOverrides.Remove(contentFinderConditionId); - if (num) - { - _pluginInterface.SavePluginConfig(_configuration); - } - return num; - } - - private bool ClearAllDutyModeOverrides() - { - _configuration.Duties.DutyModeOverrides.Clear(); - _pluginInterface.SavePluginConfig(_configuration); - return true; - } - - private bool ImportQuestPriority(string encodedQuestPriority) - { - List questElements = PriorityWindow.DecodeQuestPriority(encodedQuestPriority); - _questController.ImportQuestPriority(questElements); - return true; - } - - private bool ClearQuestPriority() - { - _questController.ClearQuestPriority(); - return true; - } - - private bool AddQuestPriority(string questId) - { - if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null && _questRegistry.IsKnownQuest(elementId)) - { - return _questController.AddQuestPriority(elementId); - } - return false; - } - - private bool InsertQuestPriority(int index, string questId) - { - if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null && _questRegistry.IsKnownQuest(elementId)) - { - return _questController.InsertQuestPriority(index, elementId); - } - return false; - } - - private List GetPriorityQuests() - { - return _questController.ManualPriorityQuests.Select((Quest q) => q.Id.ToString()).ToList(); - } - - private bool RemovePriorityQuest(string questId) - { - if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null) - { - Quest quest = _questController.ManualPriorityQuests.FirstOrDefault((Quest q) => q.Id.Equals(elementId)); - if (quest != null) - { - _questController.ManualPriorityQuests.Remove(quest); - return true; - } - } - return false; - } - - private bool ReorderPriorityQuest(string questId, int newIndex) - { - if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null) - { - Quest quest = _questController.ManualPriorityQuests.FirstOrDefault((Quest q) => q.Id.Equals(elementId)); - if (quest != null && newIndex >= 0 && newIndex < _questController.ManualPriorityQuests.Count) - { - _questController.ManualPriorityQuests.Remove(quest); - _questController.ManualPriorityQuests.Insert(newIndex, quest); - return true; - } - } - return false; - } - - private List GetAvailablePresets() - { - return new List - { - "aether_currents_hw", "aether_currents_sb", "aether_currents_shb", "aether_currents_ew", "aether_currents_dt", "aethernet_limsa", "aethernet_gridania", "aethernet_uldah", "aethernet_goldsaucer", "aethernet_ishgard", - "aethernet_idyllshire", "aethernet_rhalgrs_reach", "aethernet_kugane", "aethernet_doman_enclave", "aethernet_the_crystarium", "aethernet_eulmore", "aethernet_old_sharlayan", "aethernet_radz_at_han", "aethernet_tuliyollal", "aethernet_solution_nine", - "crystal_tower", "hard_primals" - }; - } - - private List GetPresetQuests(string presetName) - { - List source; - switch (presetName) - { - case "aether_currents_hw": - source = GetAetherCurrentQuestsByExpansion(EExpansionVersion.Heavensward); - break; - case "aether_currents_sb": - source = GetAetherCurrentQuestsByExpansion(EExpansionVersion.Stormblood); - break; - case "aether_currents_shb": - source = GetAetherCurrentQuestsByExpansion(EExpansionVersion.Shadowbringers); - break; - case "aether_currents_ew": - source = GetAetherCurrentQuestsByExpansion(EExpansionVersion.Endwalker); - break; - case "aether_currents_dt": - source = GetAetherCurrentQuestsByExpansion(EExpansionVersion.Dawntrail); - break; - case "aethernet_limsa": - { - int num = 1; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - CollectionsMarshal.AsSpan(list15)[0] = new AethernetId(1); - source = list15; - break; - } - case "aethernet_gridania": - { - int num = 1; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - CollectionsMarshal.AsSpan(list14)[0] = new AethernetId(2); - source = list14; - break; - } - case "aethernet_uldah": - { - int num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = new AethernetId(3); - source = list13; - break; - } - case "aethernet_goldsaucer": - { - int num = 1; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - CollectionsMarshal.AsSpan(list12)[0] = new AethernetId(4); - source = list12; - break; - } - case "aethernet_ishgard": - { - int num = 1; - List list11 = new List(num); - CollectionsMarshal.SetCount(list11, num); - CollectionsMarshal.AsSpan(list11)[0] = new AethernetId(5); - source = list11; - break; - } - case "aethernet_idyllshire": - { - int num = 1; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - CollectionsMarshal.AsSpan(list10)[0] = new AethernetId(6); - source = list10; - break; - } - case "aethernet_rhalgrs_reach": - { - int num = 1; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - CollectionsMarshal.AsSpan(list9)[0] = new AethernetId(7); - source = list9; - break; - } - case "aethernet_kugane": - { - int num = 1; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - CollectionsMarshal.AsSpan(list8)[0] = new AethernetId(8); - source = list8; - break; - } - case "aethernet_doman_enclave": - { - int num = 1; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - CollectionsMarshal.AsSpan(list7)[0] = new AethernetId(9); - source = list7; - break; - } - case "aethernet_the_crystarium": - { - int num = 1; - List list6 = new List(num); - CollectionsMarshal.SetCount(list6, num); - CollectionsMarshal.AsSpan(list6)[0] = new AethernetId(10); - source = list6; - break; - } - case "aethernet_eulmore": - { - int num = 1; - List list5 = new List(num); - CollectionsMarshal.SetCount(list5, num); - CollectionsMarshal.AsSpan(list5)[0] = new AethernetId(11); - source = list5; - break; - } - case "aethernet_old_sharlayan": - { - int num = 1; - List list4 = new List(num); - CollectionsMarshal.SetCount(list4, num); - CollectionsMarshal.AsSpan(list4)[0] = new AethernetId(12); - source = list4; - break; - } - case "aethernet_radz_at_han": - { - int num = 1; - List list3 = new List(num); - CollectionsMarshal.SetCount(list3, num); - CollectionsMarshal.AsSpan(list3)[0] = new AethernetId(13); - source = list3; - break; - } - case "aethernet_tuliyollal": - { - int num = 1; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - CollectionsMarshal.AsSpan(list2)[0] = new AethernetId(14); - source = list2; - break; - } - case "aethernet_solution_nine": - { - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = new AethernetId(15); - source = list; - break; - } - case "crystal_tower": - source = QuestData.CrystalTowerQuests.Cast().ToList(); - break; - case "hard_primals": - source = QuestData.HardModePrimals.Cast().ToList(); - break; - default: - source = new List(); - break; - } - return source.Select((ElementId q) => q.ToString()).ToList(); - } - - private int AddPresetToPriority(string presetName) - { - List presetQuests = GetPresetQuests(presetName); - int num = 0; - foreach (string item in presetQuests) - { - if (ElementId.TryFromString(item, out ElementId elementId) && elementId != null && (_questFunctions.IsReadyToAcceptQuest(elementId) || _questFunctions.IsQuestAccepted(elementId)) && !_questController.ManualPriorityQuests.Any((Quest q) => q.Id.Equals(elementId)) && _questRegistry.IsKnownQuest(elementId) && _questController.AddQuestPriority(elementId)) - { - num++; - } - } - return num; - } - - private static List GetAetherCurrentQuestsByExpansion(EExpansionVersion expansion) - { - uint[] territoryRanges = expansion switch - { - EExpansionVersion.Heavensward => new uint[5] { 397u, 398u, 399u, 400u, 401u }, - EExpansionVersion.Stormblood => new uint[6] { 612u, 613u, 614u, 620u, 621u, 622u }, - EExpansionVersion.Shadowbringers => new uint[6] { 813u, 814u, 815u, 816u, 817u, 818u }, - EExpansionVersion.Endwalker => new uint[6] { 956u, 957u, 958u, 959u, 960u, 961u }, - EExpansionVersion.Dawntrail => new uint[6] { 1187u, 1188u, 1189u, 1190u, 1191u, 1192u }, - _ => Array.Empty(), - }; - return QuestData.AetherCurrentQuestsByTerritory.Where>>((KeyValuePair> kvp) => ((ReadOnlySpan)territoryRanges).Contains(kvp.Key)).SelectMany((KeyValuePair> kvp) => kvp.Value).Cast() - .ToList(); - } - - private bool IsPresetAvailable(string presetName) - { - return GetAvailablePresets().Contains(presetName); - } - - private bool IsQuestInPriority(string questId) - { - if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null) - { - return _questController.ManualPriorityQuests.Any((Quest q) => q.Id.Equals(elementId)); - } - return false; - } - - private int GetQuestPriorityIndex(string questId) - { - if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null) - { - Quest quest = _questController.ManualPriorityQuests.FirstOrDefault((Quest q) => q.Id.Equals(elementId)); - if (quest != null) - { - return _questController.ManualPriorityQuests.IndexOf(quest); - } - } - return -1; - } - - private bool HasAvailablePriorityQuests() - { - return _questFunctions.GetNextPriorityQuestsThatCanBeAccepted().Any((PriorityQuestInfo x) => x.IsAvailable); + Register("Questionable.GetStopConditionsEnabled", GetStopConditionsEnabled); + Register("Questionable.SetStopConditionsEnabled", SetStopConditionsEnabled); + Register("Questionable.GetStopQuestList", GetStopQuestList); + Register("Questionable.AddStopQuest", AddStopQuest); + Register("Questionable.RemoveStopQuest", RemoveStopQuest); + Register("Questionable.ClearStopQuests", ClearStopQuests); + Register("Questionable.GetLevelStopCondition", GetLevelStopCondition); + Register("Questionable.SetLevelStopCondition", SetLevelStopCondition); + Register("Questionable.GetSequenceStopCondition", GetSequenceStopCondition); + Register("Questionable.SetSequenceStopCondition", SetSequenceStopCondition); + Register("Questionable.GetQuestSequenceStopCondition", GetQuestSequenceStopCondition); + Register("Questionable.SetQuestSequenceStopCondition", SetQuestSequenceStopCondition); + Register("Questionable.RemoveQuestSequenceStopCondition", RemoveQuestSequenceStopCondition); + Register("Questionable.GetAllQuestSequenceStopConditions", GetAllQuestSequenceStopConditions); + Register("Questionable.GetLevelStopMode", GetLevelStopMode); + Register("Questionable.SetLevelStopMode", SetLevelStopMode); + Register("Questionable.GetSequenceStopMode", GetSequenceStopMode); + Register("Questionable.SetSequenceStopMode", SetSequenceStopMode); + Register("Questionable.GetQuestStopMode", GetQuestStopMode); + Register("Questionable.SetQuestStopMode", SetQuestStopMode); } private bool GetStopConditionsEnabled() @@ -1064,14 +972,19 @@ internal sealed class QuestionableIpc : IDisposable private List GetStopQuestList() { - return _configuration.Stop.QuestsToStopAfter.Select((ElementId q) => q.ToString()).ToList(); + return (from c in _configuration.Stop.Conditions.OfType() + select c.QuestId.ToString()).ToList(); } private bool AddStopQuest(string questId) { - if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null && _questRegistry.IsKnownQuest(elementId) && !_configuration.Stop.QuestsToStopAfter.Contains(elementId)) + if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null && _questRegistry.IsKnownQuest(elementId) && !_configuration.Stop.Conditions.OfType().Any((QuestCompleteCondition c) => c.QuestId.Equals(elementId))) { - _configuration.Stop.QuestsToStopAfter.Add(elementId); + _configuration.Stop.Conditions.Add(new QuestCompleteCondition + { + QuestId = elementId, + Mode = EStopConditionMode.Stop + }); _pluginInterface.SavePluginConfig(_configuration); return true; } @@ -1082,31 +995,31 @@ internal sealed class QuestionableIpc : IDisposable { if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null) { - bool num = _configuration.Stop.QuestsToStopAfter.Remove(elementId); - if (num) + QuestCompleteCondition questCompleteCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault((QuestCompleteCondition c) => c.QuestId.Equals(elementId)); + if (questCompleteCondition != null) { - _configuration.Stop.QuestSequences.Remove(questId); + _configuration.Stop.Conditions.Remove(questCompleteCondition); _pluginInterface.SavePluginConfig(_configuration); + return true; } - return num; } return false; } private bool ClearStopQuests() { - _configuration.Stop.QuestsToStopAfter.Clear(); - _configuration.Stop.QuestSequences.Clear(); + _configuration.Stop.Conditions.RemoveAll((StopCondition c) => c is QuestCompleteCondition); _pluginInterface.SavePluginConfig(_configuration); return true; } private StopConditionData GetLevelStopCondition() { + LevelCondition levelCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault(); return new StopConditionData { - Enabled = (_configuration.Stop.LevelStopMode != Configuration.EStopConditionMode.Off), - TargetValue = _configuration.Stop.TargetLevel + Enabled = (levelCondition != null), + TargetValue = (levelCondition?.TargetLevel ?? 50) }; } @@ -1116,18 +1029,38 @@ internal sealed class QuestionableIpc : IDisposable { return false; } - _configuration.Stop.LevelStopMode = (enabled ? Configuration.EStopConditionMode.Pause : Configuration.EStopConditionMode.Off); - _configuration.Stop.TargetLevel = targetLevel; + LevelCondition levelCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault(); + if (!enabled) + { + if (levelCondition != null) + { + _configuration.Stop.Conditions.Remove(levelCondition); + } + } + else if (levelCondition != null) + { + levelCondition.TargetLevel = targetLevel; + levelCondition.Mode = EStopConditionMode.Stop; + } + else + { + _configuration.Stop.Conditions.Add(new LevelCondition + { + TargetLevel = targetLevel, + Mode = EStopConditionMode.Stop + }); + } _pluginInterface.SavePluginConfig(_configuration); return true; } private StopConditionData GetSequenceStopCondition() { + GlobalSequenceCondition globalSequenceCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault(); return new StopConditionData { - Enabled = (_configuration.Stop.SequenceStopMode != Configuration.EStopConditionMode.Off), - TargetValue = _configuration.Stop.TargetSequence + Enabled = (globalSequenceCondition != null), + TargetValue = (globalSequenceCondition?.TargetSequence ?? 1) }; } @@ -1137,17 +1070,40 @@ internal sealed class QuestionableIpc : IDisposable { return false; } - _configuration.Stop.SequenceStopMode = (enabled ? Configuration.EStopConditionMode.Pause : Configuration.EStopConditionMode.Off); - _configuration.Stop.TargetSequence = targetSequence; + GlobalSequenceCondition globalSequenceCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault(); + if (!enabled) + { + if (globalSequenceCondition != null) + { + _configuration.Stop.Conditions.Remove(globalSequenceCondition); + } + } + else if (globalSequenceCondition != null) + { + globalSequenceCondition.TargetSequence = targetSequence; + globalSequenceCondition.Mode = EStopConditionMode.Stop; + } + else + { + _configuration.Stop.Conditions.Add(new GlobalSequenceCondition + { + TargetSequence = targetSequence, + Mode = EStopConditionMode.Stop + }); + } _pluginInterface.SavePluginConfig(_configuration); return true; } private int GetQuestSequenceStopCondition(string questId) { - if (_configuration.Stop.QuestSequences.TryGetValue(questId, out var value) && value.HasValue) + if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null) { - return value.Value; + QuestCompleteCondition questCompleteCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault((QuestCompleteCondition c) => c.QuestId.Equals(elementId)); + if (questCompleteCondition != null) + { + return questCompleteCondition.Sequence ?? (-1); + } } return -1; } @@ -1160,11 +1116,20 @@ internal sealed class QuestionableIpc : IDisposable } if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null && _questRegistry.IsKnownQuest(elementId)) { - if (!_configuration.Stop.QuestsToStopAfter.Contains(elementId)) + QuestCompleteCondition questCompleteCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault((QuestCompleteCondition c) => c.QuestId.Equals(elementId)); + if (questCompleteCondition != null) { - _configuration.Stop.QuestsToStopAfter.Add(elementId); + questCompleteCondition.Sequence = targetSequence; + } + else + { + _configuration.Stop.Conditions.Add(new QuestCompleteCondition + { + QuestId = elementId, + Sequence = targetSequence, + Mode = EStopConditionMode.Stop + }); } - _configuration.Stop.QuestSequences[questId] = targetSequence; _pluginInterface.SavePluginConfig(_configuration); return true; } @@ -1173,368 +1138,140 @@ internal sealed class QuestionableIpc : IDisposable private bool RemoveQuestSequenceStopCondition(string questId) { - bool num = _configuration.Stop.QuestSequences.Remove(questId); - if (num) + if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null) { - _pluginInterface.SavePluginConfig(_configuration); + QuestCompleteCondition questCompleteCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault((QuestCompleteCondition c) => c.QuestId.Equals(elementId) && c.Sequence.HasValue); + if (questCompleteCondition != null) + { + _configuration.Stop.Conditions.Remove(questCompleteCondition); + _pluginInterface.SavePluginConfig(_configuration); + return true; + } } - return num; + return false; } private Dictionary GetAllQuestSequenceStopConditions() { - return _configuration.Stop.QuestSequences.Where>((KeyValuePair kvp) => kvp.Value.HasValue).ToDictionary((KeyValuePair kvp) => kvp.Key, (KeyValuePair kvp) => kvp.Value.Value); + return (from c in _configuration.Stop.Conditions.OfType() + where c.Sequence.HasValue + select c).ToDictionary((QuestCompleteCondition c) => c.QuestId.ToString(), (QuestCompleteCondition c) => c.Sequence.Value); } - private unsafe int GetAlliedSocietyRemainingAllowances() + private int GetLevelStopMode() { - QuestManager* ptr = QuestManager.Instance(); - if (ptr == null) - { - return 12; - } - return (int)ptr->GetBeastTribeAllowance(); + return (int)(_configuration.Stop.Conditions.OfType().FirstOrDefault()?.Mode ?? EStopConditionMode.Off); } - private long GetAlliedSocietyTimeUntilReset() + private bool SetLevelStopMode(int mode) { - TimeSpan item = AlliedSocietyJournalComponent.CalculateTimeUntilReset().TimeUntilReset; - return item.Ticks; - } - - private List GetAlliedSocietyAvailableQuestIds(byte alliedSocietyId) - { - if (!Enum.IsDefined(typeof(EAlliedSociety), alliedSocietyId)) - { - return new List(); - } - EAlliedSociety alliedSociety = (EAlliedSociety)alliedSocietyId; - return (from q in _serviceProvider.GetRequiredService().GetAvailableAlliedSocietyQuests(alliedSociety) - select q.ToString()).ToList(); - } - - private Dictionary GetAlliedSocietyAllAvailableQuestCounts() - { - Dictionary dictionary = new Dictionary(); - AlliedSocietyQuestFunctions requiredService = _serviceProvider.GetRequiredService(); - EAlliedSociety[] values = Enum.GetValues(); - foreach (EAlliedSociety eAlliedSociety in values) - { - if (eAlliedSociety != EAlliedSociety.None) - { - int count = requiredService.GetAvailableAlliedSocietyQuests(eAlliedSociety).Count; - if (count > 0) - { - dictionary[(byte)eAlliedSociety] = count; - } - } - } - return dictionary; - } - - private unsafe bool GetAlliedSocietyIsMaxRank(byte alliedSocietyId) - { - if (!Enum.IsDefined(typeof(EAlliedSociety), alliedSocietyId) || alliedSocietyId == 0) + if (!Enum.IsDefined(typeof(EStopConditionMode), mode)) { return false; } - QuestManager* ptr = QuestManager.Instance(); - if (ptr == null) + LevelCondition levelCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault(); + if (mode == 0) { - return false; - } - byte b = (byte)(ptr->BeastReputation[alliedSocietyId - 1].Rank & 0x7F); - return b >= (EAlliedSociety)alliedSocietyId switch - { - EAlliedSociety.Amaljaa => 3, - EAlliedSociety.Sylphs => 3, - EAlliedSociety.Kobolds => 3, - EAlliedSociety.Sahagin => 3, - EAlliedSociety.Ixal => 7, - _ => 8, - }; - } - - private unsafe int GetAlliedSocietyCurrentRank(byte alliedSocietyId) - { - if (!Enum.IsDefined(typeof(EAlliedSociety), alliedSocietyId) || alliedSocietyId == 0) - { - return -1; - } - QuestManager* ptr = QuestManager.Instance(); - if (ptr == null) - { - return -1; - } - return (byte)(ptr->BeastReputation[alliedSocietyId - 1].Rank & 0x7F); - } - - private List GetAlliedSocietiesWithAvailableQuests() - { - List list = new List(); - AlliedSocietyQuestFunctions requiredService = _serviceProvider.GetRequiredService(); - EAlliedSociety[] values = Enum.GetValues(); - foreach (EAlliedSociety eAlliedSociety in values) - { - if (eAlliedSociety != EAlliedSociety.None && requiredService.GetAvailableAlliedSocietyQuests(eAlliedSociety).Count > 0) + if (levelCondition != null) { - list.Add((byte)eAlliedSociety); + _configuration.Stop.Conditions.Remove(levelCondition); } } - return list; - } - - private int AddAlliedSocietyOptimalQuests(byte alliedSocietyId) - { - if (!Enum.IsDefined(typeof(EAlliedSociety), alliedSocietyId) || alliedSocietyId == 0) + else if (levelCondition != null) { - return 0; + levelCondition.Mode = (EStopConditionMode)mode; } - EAlliedSociety eAlliedSociety = (EAlliedSociety)alliedSocietyId; - List availableAlliedSocietyQuests = _serviceProvider.GetRequiredService().GetAvailableAlliedSocietyQuests(eAlliedSociety); - if (availableAlliedSocietyQuests.Count == 0) + else { - return 0; - } - Quest quest; - List list = (from QuestInfo questInfo in availableAlliedSocietyQuests.Select((QuestId questId) => _questData.GetQuestInfo(questId)) - where _questRegistry.TryGetQuest(questInfo.QuestId, out quest) && !quest.Root.Disabled - where !_questController.ManualPriorityQuests.Any((Quest pq) => pq.Id.Equals(questInfo.QuestId)) - orderby questInfo.AlliedSocietyRank descending - select questInfo).ToList(); - if (list.Count == 0) - { - return 0; - } - int val = (((int)eAlliedSociety <= 5) ? 12 : 3); - int alliedSocietyRemainingAllowances = GetAlliedSocietyRemainingAllowances(); - int count = Math.Min(Math.Min(val, alliedSocietyRemainingAllowances), list.Count); - int num = 0; - foreach (QuestInfo item in list.Take(count)) - { - if (_questController.AddQuestPriority(item.QuestId)) + _configuration.Stop.Conditions.Add(new LevelCondition { - num++; - } + TargetLevel = 50, + Mode = (EStopConditionMode)mode + }); } - return num; - } - - private List GetAlliedSocietyOptimalQuests(byte alliedSocietyId) - { - if (!Enum.IsDefined(typeof(EAlliedSociety), alliedSocietyId) || alliedSocietyId == 0) - { - return new List(); - } - EAlliedSociety eAlliedSociety = (EAlliedSociety)alliedSocietyId; - List availableAlliedSocietyQuests = _serviceProvider.GetRequiredService().GetAvailableAlliedSocietyQuests(eAlliedSociety); - if (availableAlliedSocietyQuests.Count == 0) - { - return new List(); - } - Quest quest; - List list = (from QuestInfo questInfo in availableAlliedSocietyQuests.Select((QuestId questId) => _questData.GetQuestInfo(questId)) - where _questRegistry.TryGetQuest(questInfo.QuestId, out quest) && !quest.Root.Disabled - where !_questController.ManualPriorityQuests.Any((Quest pq) => pq.Id.Equals(questInfo.QuestId)) - orderby questInfo.AlliedSocietyRank descending - select questInfo).ToList(); - if (list.Count == 0) - { - return new List(); - } - int val = (((int)eAlliedSociety <= 5) ? 12 : 3); - int alliedSocietyRemainingAllowances = GetAlliedSocietyRemainingAllowances(); - int count = Math.Min(Math.Min(val, alliedSocietyRemainingAllowances), list.Count); - return (from q in list.Take(count) - select q.QuestId.ToString()).ToList(); - } - - private bool IsLevelingModeEnabled() - { - return _configuration.Duties.RunLevelingModeWhenUnderleveled; - } - - private bool SetLevelingModeEnabled(bool enabled) - { - _configuration.Duties.RunLevelingModeWhenUnderleveled = enabled; _pluginInterface.SavePluginConfig(_configuration); return true; } - private MsqLevelLockData? GetMsqLevelLockInfo() + private int GetSequenceStopMode() { - var (flag, levelsNeeded, requiredLevel, questName) = _questFunctions.GetMsqLevelLockInfo(); - if (!flag) - { - return null; - } - return new MsqLevelLockData - { - IsLevelLocked = flag, - LevelsNeeded = levelsNeeded, - RequiredLevel = requiredLevel, - QuestName = questName - }; + return (int)(_configuration.Stop.Conditions.OfType().FirstOrDefault()?.Mode ?? EStopConditionMode.Off); } - private bool StartLevelingMode() + private bool SetSequenceStopMode(int mode) { - if (!_autoDutyIpc.IsConfiguredToRunLevelingMode()) + if (!Enum.IsDefined(typeof(EStopConditionMode), mode)) { return false; } - return _autoDutyIpc.StartLevelingMode(); + GlobalSequenceCondition globalSequenceCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault(); + if (mode == 0) + { + if (globalSequenceCondition != null) + { + _configuration.Stop.Conditions.Remove(globalSequenceCondition); + } + } + else if (globalSequenceCondition != null) + { + globalSequenceCondition.Mode = (EStopConditionMode)mode; + } + else + { + _configuration.Stop.Conditions.Add(new GlobalSequenceCondition + { + TargetSequence = 1, + Mode = (EStopConditionMode)mode + }); + } + _pluginInterface.SavePluginConfig(_configuration); + return true; } - private bool StopLevelingMode() + private int GetQuestStopMode(string questId) { - try + if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null) { - _autoDutyIpc.Stop(); - return true; + QuestCompleteCondition questCompleteCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault((QuestCompleteCondition c) => c.QuestId.Equals(elementId)); + if (questCompleteCondition != null) + { + return (int)questCompleteCondition.Mode; + } } - catch + return -1; + } + + private bool SetQuestStopMode(string questId, int mode) + { + if (!Enum.IsDefined(typeof(EStopConditionMode), mode)) { return false; } - } - - private List GetBlacklistedQuests() - { - return _configuration.General.BlacklistedQuests.Select((ElementId q) => q.ToString()).ToList(); - } - - private bool AddBlacklistedQuest(string questId) - { - if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null && _configuration.General.BlacklistedQuests.Add(elementId)) + if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null && _questRegistry.IsKnownQuest(elementId)) { + QuestCompleteCondition questCompleteCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault((QuestCompleteCondition c) => c.QuestId.Equals(elementId)); + if (mode == 0) + { + if (questCompleteCondition != null) + { + _configuration.Stop.Conditions.Remove(questCompleteCondition); + } + } + else if (questCompleteCondition != null) + { + questCompleteCondition.Mode = (EStopConditionMode)mode; + } + else + { + _configuration.Stop.Conditions.Add(new QuestCompleteCondition + { + QuestId = elementId, + Mode = (EStopConditionMode)mode + }); + } _pluginInterface.SavePluginConfig(_configuration); return true; } return false; } - - private bool RemoveBlacklistedQuest(string questId) - { - if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null) - { - bool num = _configuration.General.BlacklistedQuests.Remove(elementId); - if (num) - { - _pluginInterface.SavePluginConfig(_configuration); - } - return num; - } - return false; - } - - private bool ClearBlacklistedQuests() - { - _configuration.General.BlacklistedQuests.Clear(); - _pluginInterface.SavePluginConfig(_configuration); - return true; - } - - private bool IsQuestBlacklistedIpc(string questId) - { - if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null) - { - return _questFunctions.IsQuestBlacklisted(elementId); - } - return false; - } - - private int GetMsqPriorityMode() - { - return (int)_configuration.General.MsqPriority; - } - - private bool SetMsqPriorityMode(int mode) - { - if (!Enum.IsDefined(typeof(Configuration.EMsqPriorityMode), mode)) - { - return false; - } - _configuration.General.MsqPriority = (Configuration.EMsqPriorityMode)mode; - _pluginInterface.SavePluginConfig(_configuration); - return true; - } - - public void Dispose() - { - _exportQuestPriority.UnregisterFunc(); - _insertQuestPriority.UnregisterFunc(); - _clearQuestPriority.UnregisterFunc(); - _addQuestPriority.UnregisterFunc(); - _importQuestPriority.UnregisterFunc(); - _isQuestUnobtainable.UnregisterFunc(); - _isQuestAccepted.UnregisterFunc(); - _IsReadyToAcceptQuest.UnregisterFunc(); - _IsQuestComplete.UnregisterFunc(); - _isQuestLocked.UnregisterFunc(); - _startSingleQuest.UnregisterFunc(); - _startQuest.UnregisterFunc(); - _getCurrentlyActiveEventQuests.UnregisterFunc(); - _getCurrentTask.UnregisterFunc(); - _getCurrentStepData.UnregisterFunc(); - _getCurrentQuestId.UnregisterFunc(); - _isRunning.UnregisterFunc(); - _clearAllDutyModeOverrides.UnregisterFunc(); - _clearDutyModeOverride.UnregisterFunc(); - _setDutyModeOverride.UnregisterFunc(); - _getDutyModeOverride.UnregisterFunc(); - _setDefaultDutyMode.UnregisterFunc(); - _getDefaultDutyMode.UnregisterFunc(); - _hasAvailablePriorityQuests.UnregisterFunc(); - _getQuestPriorityIndex.UnregisterFunc(); - _isQuestInPriority.UnregisterFunc(); - _isPresetAvailable.UnregisterFunc(); - _addPresetToPriority.UnregisterFunc(); - _getPresetQuests.UnregisterFunc(); - _getAvailablePresets.UnregisterFunc(); - _reorderPriorityQuest.UnregisterFunc(); - _removePriorityQuest.UnregisterFunc(); - _getPriorityQuests.UnregisterFunc(); - _getAllQuestSequenceStopConditions.UnregisterFunc(); - _removeQuestSequenceStopCondition.UnregisterFunc(); - _setQuestSequenceStopCondition.UnregisterFunc(); - _getQuestSequenceStopCondition.UnregisterFunc(); - _setSequenceStopCondition.UnregisterFunc(); - _getSequenceStopCondition.UnregisterFunc(); - _setLevelStopCondition.UnregisterFunc(); - _getLevelStopCondition.UnregisterFunc(); - _clearStopQuests.UnregisterFunc(); - _removeStopQuest.UnregisterFunc(); - _addStopQuest.UnregisterFunc(); - _getStopQuestList.UnregisterFunc(); - _setStopConditionsEnabled.UnregisterFunc(); - _getStopConditionsEnabled.UnregisterFunc(); - _setQuestStopMode.UnregisterFunc(); - _getQuestStopMode.UnregisterFunc(); - _setSequenceStopMode.UnregisterFunc(); - _getSequenceStopMode.UnregisterFunc(); - _setLevelStopMode.UnregisterFunc(); - _getLevelStopMode.UnregisterFunc(); - _getAlliedSocietiesWithAvailableQuests.UnregisterFunc(); - _getAlliedSocietyCurrentRank.UnregisterFunc(); - _getAlliedSocietyIsMaxRank.UnregisterFunc(); - _getAlliedSocietyAllAvailableQuestCounts.UnregisterFunc(); - _getAlliedSocietyAvailableQuestIds.UnregisterFunc(); - _getAlliedSocietyTimeUntilReset.UnregisterFunc(); - _getAlliedSocietyRemainingAllowances.UnregisterFunc(); - _addAlliedSocietyOptimalQuests.UnregisterFunc(); - _getAlliedSocietyOptimalQuests.UnregisterFunc(); - _stopLevelingMode.UnregisterFunc(); - _startLevelingMode.UnregisterFunc(); - _getMsqLevelLockInfo.UnregisterFunc(); - _setLevelingModeEnabled.UnregisterFunc(); - _isLevelingModeEnabled.UnregisterFunc(); - _isQuestBlacklisted.UnregisterFunc(); - _clearBlacklistedQuests.UnregisterFunc(); - _removeBlacklistedQuest.UnregisterFunc(); - _addBlacklistedQuest.UnregisterFunc(); - _getBlacklistedQuests.UnregisterFunc(); - _setMsqPriorityMode.UnregisterFunc(); - _getMsqPriorityMode.UnregisterFunc(); - } } diff --git a/Questionable/Questionable.External/TextAdvanceIpc.cs b/Questionable/Questionable.External/TextAdvanceIpc.cs index 948c72c..8e69b7f 100644 --- a/Questionable/Questionable.External/TextAdvanceIpc.cs +++ b/Questionable/Questionable.External/TextAdvanceIpc.cs @@ -2,7 +2,9 @@ using System; using Dalamud.Game.ClientState.Conditions; using Dalamud.Plugin; using Dalamud.Plugin.Ipc; +using Dalamud.Plugin.Ipc.Exceptions; using Dalamud.Plugin.Services; +using Microsoft.Extensions.Logging; using Questionable.Controller; namespace Questionable.External; @@ -32,16 +34,24 @@ internal sealed class TextAdvanceIpc : IDisposable private bool _isExternalControlActivated; + private long _ipcRetryAfter; + private bool _lastCinemaModeState; private bool _lastInCutsceneState; + private bool _lastSuppressRequestState; + private readonly QuestController _questController; private readonly FateController _fateController; private readonly SeasonalDutyController _seasonalDutyController; + private readonly AttunementController _attunementController; + + private readonly CustomDeliveryController _customDeliveryController; + private readonly Configuration _configuration; private readonly ICondition _condition; @@ -56,14 +66,19 @@ internal sealed class TextAdvanceIpc : IDisposable private readonly string _pluginName; - public TextAdvanceIpc(IDalamudPluginInterface pluginInterface, IFramework framework, QuestController questController, FateController fateController, SeasonalDutyController seasonalDutyController, Configuration configuration, ICondition condition) + private readonly ILogger _logger; + + public TextAdvanceIpc(IDalamudPluginInterface pluginInterface, IFramework framework, QuestController questController, FateController fateController, SeasonalDutyController seasonalDutyController, AttunementController attunementController, CustomDeliveryController customDeliveryController, Configuration configuration, ICondition condition, ILogger logger) { _framework = framework; _questController = questController; _fateController = fateController; _seasonalDutyController = seasonalDutyController; + _attunementController = attunementController; + _customDeliveryController = customDeliveryController; _configuration = configuration; _condition = condition; + _logger = logger; _isInExternalControl = pluginInterface.GetIpcSubscriber("TextAdvance.IsInExternalControl"); _enableExternalControl = pluginInterface.GetIpcSubscriber("TextAdvance.EnableExternalControl"); _disableExternalControl = pluginInterface.GetIpcSubscriber("TextAdvance.DisableExternalControl"); @@ -76,47 +91,86 @@ internal sealed class TextAdvanceIpc : IDisposable _framework.Update -= OnUpdate; if (_isExternalControlActivated) { - _disableExternalControl.InvokeFunc(_pluginName); + try + { + _disableExternalControl.InvokeFunc(_pluginName); + } + catch (IpcError exception) + { + _logger.LogDebug(exception, "Failed to disable TextAdvance external control during dispose"); + } } } private void OnUpdate(IFramework framework) { - bool flag = _questController.IsRunning || _questController.AutomationType != QuestController.EAutomationType.Manual || _fateController.IsRunning || _seasonalDutyController.IsRunning; + if (Environment.TickCount64 < _ipcRetryAfter) + { + return; + } + try + { + OnUpdateInner(); + } + catch (IpcError exception) + { + _logger.LogDebug(exception, "TextAdvance IPC call failed"); + _ipcRetryAfter = Environment.TickCount64 + 30000; + } + } + + private void OnUpdateInner() + { + bool flag = _questController.IsRunning || _questController.AutomationType != QuestController.EAutomationType.Manual || _fateController.IsRunning || _seasonalDutyController.IsRunning || _attunementController.IsRunning || _customDeliveryController.IsRunning; if (!_configuration.General.ConfigureTextAdvance || !flag) { - if (_isExternalControlActivated && (_disableExternalControl.InvokeFunc(_pluginName) || !_isInExternalControl.InvokeFunc())) + if (!_isExternalControlActivated) + { + return; + } + try + { + if (_disableExternalControl.InvokeFunc(_pluginName) || !_isInExternalControl.InvokeFunc()) + { + _isExternalControlActivated = false; + } + return; + } + catch (IpcError) { _isExternalControlActivated = false; + return; } - return; } bool cinemaMode = _configuration.General.CinemaMode; bool flag2 = _condition[ConditionFlag.OccupiedInCutSceneEvent] || _condition[ConditionFlag.WatchingCutscene] || _condition[ConditionFlag.WatchingCutscene78]; - bool flag3 = cinemaMode != _lastCinemaModeState || (cinemaMode && flag2 != _lastInCutsceneState); + bool flag3 = _customDeliveryController.IsRunning && !_questController.IsRunning && _questController.AutomationType == QuestController.EAutomationType.Manual && !_fateController.IsRunning && !_seasonalDutyController.IsRunning && !_attunementController.IsRunning; + bool flag4 = cinemaMode != _lastCinemaModeState || (cinemaMode && flag2 != _lastInCutsceneState) || flag3 != _lastSuppressRequestState; if (!_isExternalControlActivated) { if (!_isInExternalControl.InvokeFunc()) { - ExternalTerritoryConfig arg = CreateExternalTerritoryConfig(cinemaMode, flag2); + ExternalTerritoryConfig arg = CreateExternalTerritoryConfig(cinemaMode, flag2, flag3); if (_enableExternalControl.InvokeFunc(_pluginName, arg)) { _isExternalControlActivated = true; _lastCinemaModeState = cinemaMode; _lastInCutsceneState = flag2; + _lastSuppressRequestState = flag3; } } } - else if (flag3) + else if (flag4) { - ExternalTerritoryConfig arg2 = CreateExternalTerritoryConfig(cinemaMode, flag2); + ExternalTerritoryConfig arg2 = CreateExternalTerritoryConfig(cinemaMode, flag2, flag3); _enableExternalControl.InvokeFunc(_pluginName, arg2); _lastCinemaModeState = cinemaMode; _lastInCutsceneState = flag2; + _lastSuppressRequestState = flag3; } } - private static ExternalTerritoryConfig CreateExternalTerritoryConfig(bool cinemaMode, bool inCutscene) + private static ExternalTerritoryConfig CreateExternalTerritoryConfig(bool cinemaMode, bool inCutscene, bool suppressRequestHandling) { bool flag = cinemaMode && inCutscene; return new ExternalTerritoryConfig @@ -124,11 +178,11 @@ internal sealed class TextAdvanceIpc : IDisposable EnableQuestAccept = true, EnableQuestComplete = true, EnableRewardPick = true, - EnableRequestHandin = true, + EnableRequestHandin = !suppressRequestHandling, EnableCutsceneEsc = !cinemaMode, EnableCutsceneSkipConfirm = !cinemaMode, EnableTalkSkip = !flag, - EnableRequestFill = true, + EnableRequestFill = !suppressRequestHandling, EnableAutoInteract = false }; } diff --git a/Questionable/Questionable.External/WigglyNavAvailability.cs b/Questionable/Questionable.External/WigglyNavAvailability.cs new file mode 100644 index 0000000..712ecdf --- /dev/null +++ b/Questionable/Questionable.External/WigglyNavAvailability.cs @@ -0,0 +1,100 @@ +using System; +using System.Linq; +using Dalamud.Plugin; +using Dalamud.Plugin.Services; +using Microsoft.Extensions.Logging; + +namespace Questionable.External; + +internal sealed class WigglyNavAvailability : IDisposable +{ + private const int SupportedMajorVersion = 1; + + private const string WigglyNavInternalName = "WigglyNav"; + + private const long ReprobeIntervalMs = 5000L; + + private readonly IDalamudPluginInterface _pluginInterface; + + private readonly WigglyNavIpc _wigglyNavIpc; + + private readonly IFramework _framework; + + private readonly ILogger _logger; + + private readonly object _verdictLock = new object(); + + private volatile bool _isCompatible; + + private long _lastProbeTicks; + + public bool IsCompatible => _isCompatible; + + public event Action? CompatibilityChanged; + + public WigglyNavAvailability(IDalamudPluginInterface pluginInterface, WigglyNavIpc wigglyNavIpc, IFramework framework, ILogger logger) + { + _pluginInterface = pluginInterface; + _wigglyNavIpc = wigglyNavIpc; + _framework = framework; + _logger = logger; + TryRefreshVerdict(respectThrottle: false); + _logger.LogInformation("WigglyNav native surface is {State} at startup", DescribeVerdict(_isCompatible)); + _pluginInterface.ActivePluginsChanged += OnActivePluginsChanged; + _framework.Update += OnFrameworkUpdate; + } + + public void Dispose() + { + _framework.Update -= OnFrameworkUpdate; + _pluginInterface.ActivePluginsChanged -= OnActivePluginsChanged; + } + + private void OnActivePluginsChanged(IActivePluginsChangedEventArgs args) + { + if (args.AffectedInternalNames.Contains("WigglyNav") && TryRefreshVerdict(respectThrottle: false)) + { + _logger.LogInformation("WigglyNav native surface is now {State} (plugin list change: {Kind})", DescribeVerdict(_isCompatible), args.Kind); + this.CompatibilityChanged?.Invoke(); + } + } + + private void OnFrameworkUpdate(IFramework framework) + { + if (!_isCompatible && TryRefreshVerdict(respectThrottle: true)) + { + _logger.LogInformation("WigglyNav native surface is now {State} (periodic re-probe)", DescribeVerdict(_isCompatible)); + this.CompatibilityChanged?.Invoke(); + } + } + + private bool TryRefreshVerdict(bool respectThrottle) + { + lock (_verdictLock) + { + long tickCount = Environment.TickCount64; + if (respectThrottle && tickCount - _lastProbeTicks < 5000) + { + return false; + } + _lastProbeTicks = tickCount; + (int, int)? tuple = _wigglyNavIpc.TryGetApiVersion(); + bool flag = tuple.HasValue && tuple.GetValueOrDefault().Item1 == 1; + if (flag == _isCompatible) + { + return false; + } + _isCompatible = flag; + return true; + } + } + + private static string DescribeVerdict(bool isCompatible) + { + if (!isCompatible) + { + return "unavailable or incompatible"; + } + return "compatible"; + } +} diff --git a/Questionable/Questionable.External/WigglyNavIpc.cs b/Questionable/Questionable.External/WigglyNavIpc.cs new file mode 100644 index 0000000..f0fbf68 --- /dev/null +++ b/Questionable/Questionable.External/WigglyNavIpc.cs @@ -0,0 +1,193 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Threading; +using System.Threading.Tasks; +using Dalamud.Plugin; +using Dalamud.Plugin.Ipc; +using Dalamud.Plugin.Ipc.Exceptions; +using Microsoft.Extensions.Logging; +using Newtonsoft.Json; + +namespace Questionable.External; + +internal sealed class WigglyNavIpc +{ + private readonly ILogger _logger; + + private readonly ICallGateSubscriber<(int, int)> _apiVersion; + + private readonly ICallGateSubscriber _status; + + private readonly ICallGateSubscriber _rebuild; + + private readonly ICallGateSubscriber> _pathfind; + + private readonly ICallGateSubscriber _move; + + private readonly ICallGateSubscriber _stop; + + private readonly ICallGateSubscriber _isRunning; + + private readonly ICallGateSubscriber> _waypoints; + + private readonly ICallGateSubscriber _floorPoint; + + private readonly ICallGateSubscriber _nearestPoint; + + private int _outstandingPathfinds; + + public bool IsNavmeshAvailable => TryGetApiVersion().HasValue; + + public bool IsReady => GetStatus()?.Ready ?? false; + + public bool IsPathRunning => Guarded(() => _isRunning.InvokeFunc(), fallback: false); + + public bool IsPathfindInProgress => Volatile.Read(in _outstandingPathfinds) > 0; + + public int NumQueuedPathfindRequests => Math.Max(0, Volatile.Read(in _outstandingPathfinds) - 1); + + public WigglyNavIpc(IDalamudPluginInterface pluginInterface, ILogger logger) + { + _logger = logger; + _apiVersion = pluginInterface.GetIpcSubscriber<(int, int)>("WigglyNav.ApiVersion"); + _status = pluginInterface.GetIpcSubscriber("WigglyNav.V1.Nav.Status"); + _rebuild = pluginInterface.GetIpcSubscriber("WigglyNav.V1.Nav.Rebuild"); + _pathfind = pluginInterface.GetIpcSubscriber>("WigglyNav.V1.Pathfind"); + _move = pluginInterface.GetIpcSubscriber("WigglyNav.V1.Path.Move"); + _stop = pluginInterface.GetIpcSubscriber("WigglyNav.V1.Path.Stop"); + _isRunning = pluginInterface.GetIpcSubscriber("WigglyNav.V1.Path.IsRunning"); + _waypoints = pluginInterface.GetIpcSubscriber>("WigglyNav.V1.Path.Waypoints"); + _floorPoint = pluginInterface.GetIpcSubscriber("WigglyNav.V1.Query.FloorPoint"); + _nearestPoint = pluginInterface.GetIpcSubscriber("WigglyNav.V1.Query.NearestPoint"); + } + + private static T Guarded(Func invoke, T fallback = default(T)) + { + try + { + return invoke(); + } + catch (IpcError) + { + return fallback; + } + } + + public (int Major, int Minor)? TryGetApiVersion() + { + return Guarded((Func<(int, int)?>)(() => _apiVersion.InvokeFunc()), ((int, int)?)null); + } + + public int GetBuildProgress() + { + NavStatus status = GetStatus(); + if (status == null) + { + return 0; + } + if (status.TilesTotal > 0) + { + return Math.Clamp(status.TilesBuilt * 100 / status.TilesTotal, 0, 100); + } + if (!status.Ready) + { + return 0; + } + return 100; + } + + public async Task Pathfind(Vector3 from, Vector3 to, bool fly, float tolerance, CancellationToken cancellationToken) + { + Interlocked.Increment(ref _outstandingPathfinds); + try + { + PathfindQuery query = new PathfindQuery(from, to, fly, tolerance); + Task task = Guarded(() => _pathfind.InvokeFunc(query, cancellationToken)); + if (task == null) + { + _logger.LogWarning("Could not pathfind via WigglyNav, the IPC gate is unavailable"); + return EmptyPathfindResult(); + } + string value = await task.ConfigureAwait(continueOnCapturedContext: false); + try + { + PathfindResult pathfindResult = JsonConvert.DeserializeObject(value); + if ((object)pathfindResult == null || pathfindResult.Waypoints == null) + { + _logger.LogWarning("WigglyNav pathfind answered a payload with no waypoint list, treating as no path"); + return EmptyPathfindResult(); + } + return pathfindResult; + } + catch (JsonException exception) + { + _logger.LogWarning(exception, "WigglyNav pathfind answered malformed JSON, treating as no path"); + return EmptyPathfindResult(); + } + } + finally + { + Interlocked.Decrement(ref _outstandingPathfinds); + } + } + + public bool MoveTo(List waypoints, bool fly, float arrivalTolerance) + { + Stop(); + MoveCommand command = new MoveCommand(waypoints, fly, arrivalTolerance); + return Guarded(() => _move.InvokeFunc(command), fallback: false); + } + + public void Stop() + { + Guarded(delegate + { + _stop.InvokeAction(); + return true; + }, fallback: false); + } + + public List GetWaypoints() + { + return Guarded(() => _waypoints.InvokeFunc()) ?? new List(); + } + + public Vector3? GetPointOnFloor(Vector3 position, bool unlandable, float halfExtentXZ) + { + return Guarded(() => _floorPoint.InvokeFunc(position, halfExtentXZ, unlandable)); + } + + public Vector3? FindNearestMeshPoint(Vector3 position, float halfExtentXZ, float halfExtentY) + { + return Guarded(() => _nearestPoint.InvokeFunc(position, MathF.Max(halfExtentXZ, halfExtentY))); + } + + public Vector3? FindNearestReachableMeshPoint(Vector3 position, float halfExtentXZ, float halfExtentY) + { + return FindNearestMeshPoint(position, halfExtentXZ, halfExtentY); + } + + public void Reload() + { + Rebuild(); + } + + public void Rebuild() + { + if (!Guarded(() => _rebuild.InvokeFunc(), fallback: false)) + { + _logger.LogWarning("Could not rebuild navmesh via WigglyNav, the request was refused or the gate is unavailable"); + } + } + + private NavStatus? GetStatus() + { + return Guarded(() => _status.InvokeFunc()); + } + + private static PathfindResult EmptyPathfindResult() + { + return new PathfindResult(new List(), IsPartial: false, "None", 0f); + } +} diff --git a/Questionable/Questionable.Functions/AethernetTeleportService.cs b/Questionable/Questionable.Functions/AethernetTeleportService.cs new file mode 100644 index 0000000..2684010 --- /dev/null +++ b/Questionable/Questionable.Functions/AethernetTeleportService.cs @@ -0,0 +1,283 @@ +using System; +using System.Collections.Generic; +using Dalamud.Game.ClientState.Conditions; +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.UI; +using FFXIVClientStructs.FFXIV.Component.GUI; +using LLib.GameUI; +using Lumina.Excel.Sheets; +using Microsoft.Extensions.Logging; +using Questionable.Controller.GameUi; +using SmartNav.Model; + +namespace Questionable.Functions; + +internal sealed class AethernetTeleportService : IDisposable +{ + public enum ETeleportState + { + Idle, + WaitingForAddon, + Complete, + Failed + } + + private static readonly TimeSpan AddonTimeout = TimeSpan.FromSeconds(15L); + + private const long FireRetryIntervalMs = 100L; + + private static readonly Dictionary FirmamentPlaceNameIds = new Dictionary + { + { + EAetheryteLocation.FirmamentMendicantsCourt, + 3436u + }, + { + EAetheryteLocation.FirmamentMattock, + 3473u + }, + { + EAetheryteLocation.FirmamentNewNest, + 3475u + }, + { + EAetheryteLocation.FirmanentSaintRoellesDais, + 3474u + }, + { + EAetheryteLocation.FirmamentFeatherfall, + 3525u + }, + { + EAetheryteLocation.FirmamentHoarfrostHall, + 3528u + }, + { + EAetheryteLocation.FirmamentWesternRisensongQuarter, + 3646u + }, + { + EAetheryteLocation.FirmamentEasternRisensongQuarter, + 3645u + } + }; + + private readonly IFramework _framework; + + private readonly IGameGui _gameGui; + + private readonly IDataManager _dataManager; + + private readonly ICondition _condition; + + private readonly InteractionUiController _interactionUiController; + + private readonly ILogger _logger; + + private long _requestedAtMs; + + private bool _selectStringDismissed; + + private bool _fired; + + private bool _entriesLogged; + + private long _nextFireAtMs; + + public ETeleportState State { get; private set; } + + public EAetheryteLocation? PendingDestination { get; private set; } + + public AethernetTeleportService(IFramework framework, IGameGui gameGui, IDataManager dataManager, ICondition condition, InteractionUiController interactionUiController, ILogger logger) + { + _framework = framework; + _gameGui = gameGui; + _dataManager = dataManager; + _condition = condition; + _interactionUiController = interactionUiController; + _logger = logger; + _framework.Update += OnFrameworkUpdate; + } + + public void RequestTeleport(EAetheryteLocation destination) + { + if (State != ETeleportState.Idle) + { + Reset(); + } + if (FirmamentPlaceNameIds.TryGetValue(destination, out var value)) + { + string text = ResolvePlaceName(value); + if (text != null) + { + RequestCustomZoneTeleport(destination, text); + return; + } + _logger.LogWarning("Failed to resolve PlaceName {Id} for Firmament destination {Dest}", value, destination); + } + _logger.LogInformation("Requesting aethernet teleport to {Destination}", destination); + PendingDestination = destination; + _requestedAtMs = Environment.TickCount64; + State = ETeleportState.WaitingForAddon; + } + + public void RequestCustomZoneTeleport(EAetheryteLocation destination, string destinationName) + { + if (State != ETeleportState.Idle) + { + _logger.LogWarning("RequestCustomZoneTeleport called while in state {State}, resetting first", State); + Reset(); + } + _logger.LogInformation("Requesting custom zone aethernet teleport to {Destination} ({Name})", destination, destinationName); + PendingDestination = destination; + _interactionUiController.AethernetDestinationName = destinationName; + State = ETeleportState.Complete; + } + + public void Reset() + { + if (State != ETeleportState.Idle) + { + _logger.LogDebug("Resetting AethernetTeleportService from state {State}", State); + } + State = ETeleportState.Idle; + PendingDestination = null; + _requestedAtMs = 0L; + _selectStringDismissed = false; + _fired = false; + _entriesLogged = false; + _nextFireAtMs = 0L; + ClearCustomZoneState(); + } + + private void ClearCustomZoneState() + { + _interactionUiController.AethernetDestinationName = null; + } + + private string? ResolvePlaceName(uint placeNameId) + { + return _dataManager.GetExcelSheet().GetRowOrDefault(placeNameId)?.Name.ToString(); + } + + private string? ResolveAethernetDisplayName(EAetheryteLocation aetheryte) + { + Aetheryte? rowOrDefault = _dataManager.GetExcelSheet().GetRowOrDefault((uint)aetheryte); + if (!rowOrDefault.HasValue) + { + return null; + } + return rowOrDefault.Value.AethernetName.ValueNullable?.Name.ToString(); + } + + private unsafe void OnFrameworkUpdate(IFramework _) + { + if (State != ETeleportState.WaitingForAddon) + { + return; + } + AddonSelectString* addonPtr; + AtkUnitBase* addonPtr2; + if (_fired && (_condition[ConditionFlag.BetweenAreas] || _condition[ConditionFlag.BetweenAreas51])) + { + _logger.LogDebug("Aethernet teleport to {Destination} accepted (between areas)", PendingDestination); + State = ETeleportState.Complete; + } + else if (Environment.TickCount64 - _requestedAtMs > (long)AddonTimeout.TotalMilliseconds) + { + _logger.LogWarning("Aethernet teleport request to {Destination} timed out after {Timeout}s", PendingDestination, AddonTimeout.TotalSeconds); + State = ETeleportState.Failed; + } + else if (_gameGui.TryGetAddonByName("SelectString", out addonPtr) && LAddon.IsAddonReady(&addonPtr->AtkUnitBase)) + { + _logger.LogDebug("Dismissing aetheryte SelectString (selecting Aethernet)"); + addonPtr->AtkUnitBase.FireCallbackInt(0); + _selectStringDismissed = true; + } + else if (_selectStringDismissed) + { + _selectStringDismissed = false; + } + else if (!_gameGui.TryGetAddonByName("TelepotTown", out addonPtr2)) + { + if (_fired) + { + _logger.LogDebug("Aethernet teleport to {Destination} accepted (menu closed)", PendingDestination); + State = ETeleportState.Complete; + } + } + else + { + if (!LAddon.IsAddonReady(addonPtr2)) + { + return; + } + string text = ResolveAethernetDisplayName(PendingDestination.Value); + if (text == null) + { + _logger.LogWarning("Failed to resolve display name for {Destination}", PendingDestination); + State = ETeleportState.Failed; + return; + } + int num = -1; + for (int i = 0; i < 20; i++) + { + int num2 = 262 + i; + if (num2 >= addonPtr2->AtkValuesCount) + { + break; + } + AtkValue atkValue = addonPtr2->AtkValues[num2]; + if (atkValue.Type == AtkValueType.Undefined) + { + break; + } + string text2 = atkValue.ReadAtkString(); + int num3 = 6 + i * 4 + 3; + int num4 = ((num3 < addonPtr2->AtkValuesCount) ? addonPtr2->AtkValues[num3].Int : (-1)); + if (!_entriesLogged) + { + _logger.LogDebug("TelepotTown entry {Index}: name='{Name}' callback={Callback}", i, text2, num4); + } + if (num < 0 && text2 != null && GameFunctions.GameStringEquals(text2, text)) + { + num = num4; + } + } + _entriesLogged = true; + if (num < 0) + { + return; + } + long tickCount = Environment.TickCount64; + if (tickCount >= _nextFireAtMs) + { + if (!_fired) + { + _logger.LogDebug("Selecting aethernet destination {Destination} ({Name}) via callback {Callback}", PendingDestination, text, num); + } + AtkValue* values = stackalloc AtkValue[2] + { + new AtkValue + { + Type = AtkValueType.Int, + Int = 11 + }, + new AtkValue + { + Type = AtkValueType.Int, + Int = num + } + }; + addonPtr2->FireCallback(2u, values, close: true); + _fired = true; + _nextFireAtMs = tickCount + 100; + } + } + } + + public void Dispose() + { + _framework.Update -= OnFrameworkUpdate; + } +} diff --git a/Questionable/Questionable.Functions/AetheryteFunctions.cs b/Questionable/Questionable.Functions/AetheryteFunctions.cs index 6a8c8ef..fe382f0 100644 --- a/Questionable/Questionable.Functions/AetheryteFunctions.cs +++ b/Questionable/Questionable.Functions/AetheryteFunctions.cs @@ -2,11 +2,12 @@ using System; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game; using FFXIVClientStructs.FFXIV.Client.Game.UI; +using LLib.GameData; using Lumina.Excel.Sheets; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; -using Questionable.Model.Common; using Questionable.Model.Questing; +using SmartNav.Model; namespace Questionable.Functions; @@ -24,7 +25,7 @@ internal sealed class AetheryteFunctions private readonly IObjectTable _objectTable; - public DateTime ReturnRequestedAt { get; set; } = DateTime.MinValue; + public long ReturnRequestedAt { get; set; } public AetheryteFunctions(IServiceProvider serviceProvider, ILogger logger, IDataManager dataManager, IObjectTable objectTable) { @@ -57,7 +58,7 @@ internal sealed class AetheryteFunctions public unsafe bool CanTeleport(EAetheryteLocation aetheryteLocation) { - if ((ushort)aetheryteLocation == PlayerState.Instance()->HomeAetheryteId && ActionManager.Instance()->GetActionStatus(ActionType.Action, 6u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0) + if ((ushort)aetheryteLocation == PlayerStateHelper.GetHomeAetheryteId() && ActionManager.Instance()->GetActionStatus(ActionType.Action, 6u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0) { return true; } @@ -67,7 +68,17 @@ internal sealed class AetheryteFunctions public unsafe bool IsTeleportUnlocked() { uint rowId = _dataManager.GetExcelSheet().GetRow(5u).UnlockLink.RowId; - return UIState.Instance()->IsUnlockLinkUnlocked(rowId); + UIState* ptr = UIState.Instance(); + if (ptr != null) + { + return ptr->IsUnlockLinkUnlocked(rowId); + } + return false; + } + + public unsafe bool IsReturnAvailable() + { + return ActionManager.Instance()->GetActionStatus(ActionType.Action, 6u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0; } public unsafe bool TeleportAetheryte(uint aetheryteId) @@ -75,9 +86,9 @@ internal sealed class AetheryteFunctions _logger.LogDebug("Attempting to teleport to aetheryte {AetheryteId}", aetheryteId); if (IsAetheryteUnlocked(aetheryteId, out var subIndex)) { - if (aetheryteId == PlayerState.Instance()->HomeAetheryteId && ActionManager.Instance()->GetActionStatus(ActionType.Action, 6u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0) + if (aetheryteId == PlayerStateHelper.GetHomeAetheryteId() && ActionManager.Instance()->GetActionStatus(ActionType.Action, 6u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0) { - ReturnRequestedAt = DateTime.Now; + ReturnRequestedAt = Environment.TickCount64; if (ActionManager.Instance()->UseAction(ActionType.Action, 6u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null)) { _logger.LogInformation("Using 'return' for home aetheryte"); @@ -98,49 +109,27 @@ internal sealed class AetheryteFunctions return TeleportAetheryte((uint)aetheryteLocation); } - public unsafe bool IsFreeAetheryte(EAetheryteLocation aetheryteLocation) + public static bool IsFreeAetheryte(EAetheryteLocation aetheryteLocation) { - PlayerState* ptr = PlayerState.Instance(); - if (ptr != null) - { - if ((EAetheryteLocation)ptr->FreeAetheryteId != aetheryteLocation) - { - return (EAetheryteLocation)ptr->FreeAetherytePSPlus == aetheryteLocation; - } - return true; - } - return false; + return PlayerStateHelper.IsFreeAetheryte((uint)aetheryteLocation); } - public unsafe AetheryteRegistrationResult CanRegisterFreeOrFavoriteAetheryte(EAetheryteLocation aetheryteLocation) + public AetheryteRegistrationResult CanRegisterFreeOrFavoriteAetheryte(EAetheryteLocation aetheryteLocation) { if (_objectTable[0] == null) { return AetheryteRegistrationResult.NotPossible; } - PlayerState* ptr = PlayerState.Instance(); - if (ptr == null) - { - return AetheryteRegistrationResult.NotPossible; - } if (IsFreeAetheryte(aetheryteLocation)) { return AetheryteRegistrationResult.NotPossible; } - bool flag = false; - for (int i = 0; i < ptr->FavouriteAetheryteCount; i++) + if (PlayerStateHelper.IsFavouriteAetheryte((uint)aetheryteLocation)) { - if (ptr->FavouriteAetherytes[i] == (ushort)aetheryteLocation) - { - return AetheryteRegistrationResult.NotPossible; - } - if (ptr->FavouriteAetherytes[i] == 0) - { - flag = true; - break; - } + return AetheryteRegistrationResult.NotPossible; } - if (ptr->IsPlayerStateFlagSet(PlayerStateFlag.IsLoginSecurityToken) && ptr->FreeAetheryteId == 0) + bool flag = PlayerStateHelper.HasFavouriteSlotAvailable(); + if (PlayerStateHelper.IsPlayerStateFlagSet(PlayerStateFlag.IsLoginSecurityToken) && PlayerStateHelper.GetFreeAetheryteId() == 0) { return AetheryteRegistrationResult.SecurityTokenFreeDestinationAvailable; } diff --git a/Questionable/Questionable.Functions/AlliedSocietyQuestFunctions.cs b/Questionable/Questionable.Functions/AlliedSocietyQuestFunctions.cs index 20b8fea..34e9993 100644 --- a/Questionable/Questionable.Functions/AlliedSocietyQuestFunctions.cs +++ b/Questionable/Questionable.Functions/AlliedSocietyQuestFunctions.cs @@ -1,8 +1,12 @@ using System; using System.Collections.Generic; +using System.Collections.Immutable; using System.Linq; using System.Runtime.InteropServices; +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Application.Network.WorkDefinitions; using FFXIVClientStructs.FFXIV.Client.Game; +using Lumina.Excel.Sheets; using Microsoft.Extensions.Logging; using Questionable.Data; using Questionable.Model; @@ -43,24 +47,61 @@ internal sealed class AlliedSocietyQuestFunctions private readonly ILogger _logger; + private readonly QuestData _questData; + private readonly Dictionary> _questsByAlliedSociety = new Dictionary>(); private readonly Dictionary<(uint NpcDataId, byte Seed, bool OutranksAll, bool RankedUp), List> _dailyQuests = new Dictionary<(uint, byte, bool, bool), List>(); - public AlliedSocietyQuestFunctions(QuestData questData, ILogger logger) + private readonly ImmutableDictionary _reputationRequiredByRank; + + private readonly ImmutableDictionary _questReputationRewards; + + private readonly ImmutableDictionary _maxRankByAlliedSociety; + + private readonly ImmutableDictionary<(EAlliedSociety, byte), QuestId> _rankUpQuests; + + public AlliedSocietyQuestFunctions(QuestData questData, IDataManager dataManager, ILogger logger) { _logger = logger; + _questData = questData; + _reputationRequiredByRank = (from x in dataManager.GetExcelSheet() + where x.RowId != 0 + select x).ToImmutableDictionary((BeastReputationRank x) => x.RowId, (BeastReputationRank x) => x.RequiredReputation); + _questReputationRewards = (from x in dataManager.GetExcelSheet() + where x.RowId != 0 && x.BeastTribe.RowId != 0 && x.BeastReputationValue > 0 + select x).ToImmutableDictionary((Lumina.Excel.Sheets.Quest x) => x.RowId, (Lumina.Excel.Sheets.Quest x) => x.BeastReputationValue); + _maxRankByAlliedSociety = (from x in dataManager.GetExcelSheet() + where x.RowId != 0 && !x.Name.IsEmpty && Enum.IsDefined(typeof(EAlliedSociety), (byte)x.RowId) + select x).ToImmutableDictionary((BeastTribe x) => (EAlliedSociety)x.RowId, (BeastTribe x) => x.MaxRank); + Dictionary<(EAlliedSociety, byte), QuestId> dictionary = new Dictionary<(EAlliedSociety, byte), QuestId>(); foreach (EAlliedSociety item in from x in Enum.GetValues() where x != EAlliedSociety.None select x) { - foreach (KeyValuePair> item2 in (from x in questData.GetAllByAlliedSociety(item) + foreach (QuestInfo item2 in from x in questData.GetAllByAlliedSociety(item) + where !x.IsRepeatable + select x) + { + byte b = (byte)item2.AlliedSocietyRank; + if (b > 0) + { + dictionary[(item, b)] = (QuestId)item2.QuestId; + } + } + } + _rankUpQuests = dictionary.ToImmutableDictionary(); + foreach (EAlliedSociety item3 in from x in Enum.GetValues() + where x != EAlliedSociety.None + select x) + { + foreach (KeyValuePair> item4 in (from x in questData.GetAllByAlliedSociety(item3) where x.IsRepeatable group x by x.IssuerDataId).ToDictionary((IGrouping x) => x.Key, (IGrouping x) => (from y in x orderby y.AlliedSocietyQuestGroup == 3, y.QuestId select y).ToList())) { - item2.Deconstruct(out var key, out var value); + item4.Deconstruct(out var key, out var value); uint issuerDataId = key; List allQuests = value; NpcData npcData = new NpcData @@ -68,7 +109,7 @@ internal sealed class AlliedSocietyQuestFunctions IssuerDataId = issuerDataId, AllQuests = allQuests }; - if (_questsByAlliedSociety.TryGetValue(item, out List value2)) + if (_questsByAlliedSociety.TryGetValue(item3, out List value2)) { value2.Add(npcData); continue; @@ -78,13 +119,17 @@ internal sealed class AlliedSocietyQuestFunctions List list = new List(num); CollectionsMarshal.SetCount(list, num); CollectionsMarshal.AsSpan(list)[0] = npcData; - questsByAlliedSociety[item] = list; + questsByAlliedSociety[item3] = list; } } } public unsafe List GetAvailableAlliedSocietyQuests(EAlliedSociety alliedSociety) { + if (alliedSociety == EAlliedSociety.None) + { + return new List(); + } byte rank = QuestManager.Instance()->BeastReputation[(int)(alliedSociety - 1)].Rank; byte currentRank = (byte)(rank & 0x7F); if (currentRank == 0) @@ -94,23 +139,79 @@ internal sealed class AlliedSocietyQuestFunctions bool flag = (rank & 0x80) != 0; byte dailyQuestSeed = QuestManager.Instance()->DailyQuestSeed; List list = new List(); - foreach (NpcData item in _questsByAlliedSociety[alliedSociety]) + if (!_questsByAlliedSociety.TryGetValue(alliedSociety, out List value)) + { + return list; + } + foreach (NpcData item in value) { bool flag2 = item.AllQuests.All((QuestInfo x) => currentRank > x.AlliedSocietyRank); (uint, byte, bool, bool) key = (item.IssuerDataId, dailyQuestSeed, flag2, flag); - if (_dailyQuests.TryGetValue(key, out List value)) + if (_dailyQuests.TryGetValue(key, out List value2)) { - list.AddRange(value); + list.AddRange(value2); continue; } List list2 = CalculateAvailableQuests(item.AllQuests, dailyQuestSeed, flag2, currentRank, flag); - _logger.LogInformation("Available for {Tribe} (Seed: {Seed}, Issuer: {IssuerId}): {Quests}", alliedSociety, dailyQuestSeed, item.IssuerDataId, string.Join(", ", list2)); + _logger.LogDebug("Available for {Tribe} (Seed: {Seed}, Issuer: {IssuerId}): {Quests}", alliedSociety, dailyQuestSeed, item.IssuerDataId, string.Join(", ", list2)); _dailyQuests[key] = list2; list.AddRange(list2); } return list; } + public unsafe (byte CurrentRank, ushort CurrentValue, ushort MaxValue, bool IsMaxRank, bool IsAtCapacity)? GetReputationStatus(EAlliedSociety alliedSociety) + { + BeastReputationWork beastReputationWork = QuestManager.Instance()->BeastReputation[(int)(alliedSociety - 1)]; + byte b = (byte)(beastReputationWork.Rank & 0x7F); + if (b == 0) + { + return null; + } + ushort value = beastReputationWork.Value; + ushort valueOrDefault = _reputationRequiredByRank.GetValueOrDefault(b, ushort.MaxValue); + byte valueOrDefault2 = _maxRankByAlliedSociety.GetValueOrDefault(alliedSociety, 8); + bool item = b >= valueOrDefault2; + bool item2 = value >= valueOrDefault; + return (b, value, valueOrDefault, item, item2); + } + + public QuestId? GetRankUpQuest(EAlliedSociety alliedSociety, byte currentRank) + { + return _rankUpQuests.GetValueOrDefault((alliedSociety, currentRank)); + } + + public ushort GetQuestReputationReward(QuestId questId) + { + return _questReputationRewards.GetValueOrDefault(questId.Value, 0); + } + + public bool WouldOvercapReputation(QuestId questId) + { + if (!_questData.TryGetQuestInfo(questId, out IQuestInfo questInfo) || !(questInfo is QuestInfo questInfo2)) + { + return false; + } + if (questInfo2.AlliedSociety == EAlliedSociety.None) + { + return false; + } + (byte, ushort, ushort, bool, bool)? reputationStatus = GetReputationStatus(questInfo2.AlliedSociety); + if (!reputationStatus.HasValue) + { + return false; + } + (byte, ushort, ushort, bool, bool) value = reputationStatus.Value; + ushort item = value.Item2; + ushort item2 = value.Item3; + if (value.Item4) + { + return false; + } + ushort questReputationReward = GetQuestReputationReward(questId); + return item + questReputationReward > item2; + } + private static List CalculateAvailableQuests(List allQuests, byte seed, bool outranksAll, byte currentRank, bool rankedUp) { List list = allQuests.Where((QuestInfo q) => IsEligible(q, currentRank, rankedUp)).ToList(); diff --git a/Questionable/Questionable.Functions/ChatFunctions.cs b/Questionable/Questionable.Functions/ChatFunctions.cs index a32c14d..b916904 100644 --- a/Questionable/Questionable.Functions/ChatFunctions.cs +++ b/Questionable/Questionable.Functions/ChatFunctions.cs @@ -1,72 +1,26 @@ -using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; -using System.Runtime.InteropServices; -using System.Text; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin.Services; -using FFXIVClientStructs.FFXIV.Client.System.Framework; -using FFXIVClientStructs.FFXIV.Client.System.Memory; -using FFXIVClientStructs.FFXIV.Client.System.String; -using FFXIVClientStructs.FFXIV.Client.UI; +using LLib; using Lumina.Excel.Sheets; -using Microsoft.Extensions.Logging; using Questionable.Model.Questing; namespace Questionable.Functions; internal sealed class ChatFunctions { - private delegate void ProcessChatBoxDelegate(nint uiModule, nint message, nint unused, byte a4); - - [StructLayout(LayoutKind.Explicit)] - private readonly struct ChatPayload : IDisposable - { - [FieldOffset(0)] - private readonly nint textPtr; - - [FieldOffset(16)] - private readonly ulong textLen; - - [FieldOffset(8)] - private readonly ulong unk1; - - [FieldOffset(24)] - private readonly ulong unk2; - - internal ChatPayload(byte[] stringBytes) - { - textPtr = Marshal.AllocHGlobal(stringBytes.Length + 30); - Marshal.Copy(stringBytes, 0, textPtr, stringBytes.Length); - Marshal.WriteByte(textPtr + stringBytes.Length, 0); - textLen = (ulong)(stringBytes.Length + 1); - unk1 = 64uL; - unk2 = 0uL; - } - - public void Dispose() - { - Marshal.FreeHGlobal(textPtr); - } - } - private readonly ReadOnlyDictionary _emoteCommands; private readonly GameFunctions _gameFunctions; private readonly ITargetManager _targetManager; - private readonly ILogger _logger; - - private readonly ProcessChatBoxDelegate _processChatBox; - - public ChatFunctions(ISigScanner sigScanner, IDataManager dataManager, GameFunctions gameFunctions, ITargetManager targetManager, ILogger logger) + public ChatFunctions(IDataManager dataManager, GameFunctions gameFunctions, ITargetManager targetManager) { _gameFunctions = gameFunctions; _targetManager = targetManager; - _logger = logger; - _processChatBox = Marshal.GetDelegateForFunctionPointer(UIModule.Addresses.ProcessChatBoxEntry.Value); _emoteCommands = (from x in dataManager.GetExcelSheet() where x.RowId != 0 where x.TextCommand.IsValid @@ -75,61 +29,24 @@ internal sealed class ChatFunctions select x).ToDictionary<(uint, string), EEmote, string>(((uint RowId, string Command) x) => (EEmote)x.RowId, ((uint RowId, string Command) x) => x.Command).AsReadOnly(); } - private unsafe void SendMessageUnsafe(byte[] message) - { - nint uIModule = (nint)Framework.Instance()->GetUIModule(); - using ChatPayload structure = new ChatPayload(message); - nint num = Marshal.AllocHGlobal(400); - Marshal.StructureToPtr(structure, num, fDeleteOld: false); - _processChatBox(uIModule, num, IntPtr.Zero, 0); - Marshal.FreeHGlobal(num); - } - - private void SendMessage(string message) - { - _logger.LogDebug("Attempting to send chat message '{Message}'", message); - byte[] bytes = Encoding.UTF8.GetBytes(message); - if (bytes.Length == 0) - { - throw new ArgumentException("message is empty", "message"); - } - if (bytes.Length > 500) - { - throw new ArgumentException("message is longer than 500 bytes", "message"); - } - if (message.Length != SanitiseText(message).Length) - { - throw new ArgumentException("message contained invalid characters", "message"); - } - SendMessageUnsafe(bytes); - } - - private unsafe string SanitiseText(string text) - { - Utf8String* intPtr = Utf8String.FromString(text); - intPtr->SanitizeString(AllowedEntities.UppercaseLetters | AllowedEntities.LowercaseLetters | AllowedEntities.Numbers | AllowedEntities.SpecialCharacters | AllowedEntities.CharacterList | AllowedEntities.OtherCharacters | AllowedEntities.Payloads | AllowedEntities.Unknown9, null); - string result = intPtr->ToString(); - intPtr->Dtor(); - IMemorySpace.Free(intPtr); - return result; - } - - public void ExecuteCommand(string command) + public static void ExecuteCommand(string command) { if (command.StartsWith('/')) { - SendMessage(command); + ChatHelper.SendCommand(command); } } - public void UseEmote(uint dataId, EEmote emote) + public bool UseEmote(uint dataId, EEmote emote) { IGameObject gameObject = _gameFunctions.FindObjectByDataId(dataId); if (gameObject != null) { _targetManager.Target = gameObject; ExecuteCommand(_emoteCommands[emote] + " motion"); + return true; } + return false; } public void UseEmote(EEmote emote) diff --git a/Questionable/Questionable.Functions/GameFunctions.cs b/Questionable/Questionable.Functions/GameFunctions.cs index 412d5fd..4feec0d 100644 --- a/Questionable/Questionable.Functions/GameFunctions.cs +++ b/Questionable/Questionable.Functions/GameFunctions.cs @@ -4,6 +4,7 @@ using System.Collections.ObjectModel; using System.Linq; using System.Numerics; using System.Runtime.InteropServices; +using System.Text.RegularExpressions; using Dalamud.Game.ClientState.Conditions; using Dalamud.Game.ClientState.Objects.Enums; using Dalamud.Game.ClientState.Objects.SubKinds; @@ -16,15 +17,11 @@ using FFXIVClientStructs.FFXIV.Client.Game.Event; using FFXIVClientStructs.FFXIV.Client.Game.Fate; using FFXIVClientStructs.FFXIV.Client.Game.Object; using FFXIVClientStructs.FFXIV.Client.Game.UI; -using FFXIVClientStructs.FFXIV.Client.System.Framework; -using FFXIVClientStructs.FFXIV.Client.System.String; -using FFXIVClientStructs.FFXIV.Client.UI; using FFXIVClientStructs.FFXIV.Client.UI.Agent; -using FFXIVClientStructs.FFXIV.Component.GUI; -using LLib.GameUI; +using LLib; +using LLib.GameData; using Lumina.Excel.Sheets; using Microsoft.Extensions.Logging; -using Questionable.Model; using Questionable.Model.Questing; namespace Questionable.Functions; @@ -33,6 +30,10 @@ internal sealed class GameFunctions { private delegate void AbandonDutyDelegate(bool a1); + private readonly GameStateHelper _gameState; + + private readonly PublicEventHelper _publicEventHelper; + private readonly QuestFunctions _questFunctions; private readonly IDataManager _dataManager; @@ -53,12 +54,14 @@ internal sealed class GameFunctions private readonly AbandonDutyDelegate _abandonDuty; - private readonly ReadOnlyDictionary _territoryToAetherCurrentCompFlgSet; - private readonly ReadOnlyDictionary _contentFinderConditionToContentId; - public GameFunctions(QuestFunctions questFunctions, IDataManager dataManager, IObjectTable objectTable, ITargetManager targetManager, ICondition condition, IClientState clientState, IGameGui gameGui, Configuration configuration, ISigScanner sigScanner, ILogger logger) + private static readonly Regex MacroLiteralRegex = new Regex("\\\\?<[^>]+>", RegexOptions.Compiled); + + public GameFunctions(GameStateHelper gameState, PublicEventHelper publicEventHelper, QuestFunctions questFunctions, IDataManager dataManager, IObjectTable objectTable, ITargetManager targetManager, ICondition condition, IClientState clientState, IGameGui gameGui, Configuration configuration, ISigScanner sigScanner, ILogger logger) { + _gameState = gameState; + _publicEventHelper = publicEventHelper; _questFunctions = questFunctions; _dataManager = dataManager; _objectTable = objectTable; @@ -69,18 +72,14 @@ internal sealed class GameFunctions _configuration = configuration; _logger = logger; _abandonDuty = Marshal.GetDelegateForFunctionPointer(EventFramework.Addresses.LeaveCurrentContent.Value); - _territoryToAetherCurrentCompFlgSet = (from x in dataManager.GetExcelSheet() - where x.RowId != 0 - where x.AetherCurrentCompFlgSet.RowId != 0 - select x).ToDictionary((TerritoryType x) => x.RowId, (TerritoryType x) => x.AetherCurrentCompFlgSet.RowId).AsReadOnly(); _contentFinderConditionToContentId = (from x in dataManager.GetExcelSheet() where x.RowId != 0 && x.Content.RowId != 0 select x).ToDictionary((ContentFinderCondition x) => x.RowId, (ContentFinderCondition x) => x.Content.RowId).AsReadOnly(); } - public unsafe bool IsFlyingUnlocked(uint territoryId) + public bool IsFlyingUnlocked(uint territoryId) { - if (_configuration.Advanced.NeverFly) + if (_configuration.Navigation.NeverFly) { return false; } @@ -88,22 +87,21 @@ internal sealed class GameFunctions { return true; } - PlayerState* ptr = PlayerState.Instance(); - if (ptr != null && _territoryToAetherCurrentCompFlgSet.TryGetValue(territoryId, out var value)) - { - return ptr->IsAetherCurrentZoneComplete(value); - } - return false; + return _gameState.IsFlyingUnlocked(territoryId); } - public unsafe ushort? GetMountId() + public bool IsFlyingUnlockedPersistent(uint territoryId) { - BattleChara* ptr = (BattleChara*)(_objectTable.LocalPlayer?.Address ?? 0); - if (ptr != null && ptr->Mount.MountId != 0) + if (_configuration.Navigation.NeverFly) { - return ptr->Mount.MountId; + return false; } - return null; + return _gameState.IsFlyingUnlocked(territoryId); + } + + public ushort? GetMountId() + { + return _gameState.GetMountId(); } public bool IsFlyingUnlockedInCurrentZone() @@ -111,25 +109,24 @@ internal sealed class GameFunctions return IsFlyingUnlocked(_clientState.TerritoryType); } - public unsafe bool IsAetherCurrentUnlocked(uint aetherCurrentId) + public static bool IsAetherCurrentUnlocked(uint aetherCurrentId) { - PlayerState* ptr = PlayerState.Instance(); - if (ptr != null) - { - return ptr->IsAetherCurrentUnlocked(aetherCurrentId); - } - return false; + return PlayerStateHelper.IsAetherCurrentUnlocked(aetherCurrentId); } public IGameObject? FindObjectByDataId(uint dataId, Dalamud.Game.ClientState.Objects.Enums.ObjectKind? kind = null, bool warnIfMissing = true) { - foreach (IGameObject item in _objectTable) + for (int i = 0; i < _objectTable.Length; i++) { - Dalamud.Game.ClientState.Objects.Enums.ObjectKind objectKind = item.ObjectKind; - bool flag = ((objectKind == Dalamud.Game.ClientState.Objects.Enums.ObjectKind.Pc || objectKind - 8 <= Dalamud.Game.ClientState.Objects.Enums.ObjectKind.BattleNpc || objectKind == Dalamud.Game.ClientState.Objects.Enums.ObjectKind.HousingEventObject) ? true : false); - if (!flag && (item == null || item.ObjectKind != Dalamud.Game.ClientState.Objects.Enums.ObjectKind.GatheringPoint || item.IsTargetable) && item.BaseId == dataId && (!kind.HasValue || kind.Value == item.ObjectKind)) + IGameObject gameObject = _objectTable[i]; + if (gameObject != null) { - return item; + Dalamud.Game.ClientState.Objects.Enums.ObjectKind objectKind = gameObject.ObjectKind; + bool flag = ((objectKind == Dalamud.Game.ClientState.Objects.Enums.ObjectKind.Pc || objectKind - 8 <= Dalamud.Game.ClientState.Objects.Enums.ObjectKind.BattleNpc || objectKind == Dalamud.Game.ClientState.Objects.Enums.ObjectKind.HousingEventObject) ? true : false); + if (!flag && (gameObject == null || gameObject.ObjectKind != Dalamud.Game.ClientState.Objects.Enums.ObjectKind.GatheringPoint || gameObject.IsTargetable) && gameObject.BaseId == dataId && (!kind.HasValue || kind.Value == gameObject.ObjectKind)) + { + return gameObject; + } } } if (warnIfMissing) @@ -152,17 +149,17 @@ internal sealed class GameFunctions public unsafe bool InteractWith(IGameObject gameObject) { - _logger.LogInformation("Setting target with {DataId} to {ObjectId}", gameObject.BaseId, gameObject.EntityId); + _logger.LogDebug("Setting target with {DataId} to {ObjectId}", gameObject.BaseId, gameObject.EntityId); _targetManager.Target = null; _targetManager.Target = gameObject; if (gameObject.ObjectKind == Dalamud.Game.ClientState.Objects.Enums.ObjectKind.GatheringPoint) { TargetSystem.Instance()->OpenObjectInteraction((GameObject*)gameObject.Address); - _logger.LogInformation("Interact result: (none) for GatheringPoint"); + _logger.LogDebug("Interact result: (none) for GatheringPoint"); return true; } long num = (long)TargetSystem.Instance()->InteractWithObject((GameObject*)gameObject.Address, checkLineOfSight: false); - _logger.LogInformation("Interact result: {Result}", num); + _logger.LogDebug("Interact result: {Result}", num); if (num != 7) { return num > 0; @@ -173,7 +170,7 @@ internal sealed class GameFunctions public unsafe bool UseItem(uint itemId) { long num = AgentInventoryContext.Instance()->UseItem(itemId, InventoryType.Invalid, 0u, 0); - _logger.LogInformation("UseItem result: {Result}", num); + _logger.LogDebug("UseItem result: {Result}", num); return num == 0; } @@ -184,7 +181,7 @@ internal sealed class GameFunctions { _targetManager.Target = gameObject; long num = AgentInventoryContext.Instance()->UseItem(itemId, InventoryType.Invalid, 0u, 0); - _logger.LogInformation("UseItem result on {DataId}: {Result}", dataId, num); + _logger.LogDebug("UseItem result on {DataId}: {Result}", dataId, num); if ((ulong)num <= 1uL) { return true; @@ -221,7 +218,7 @@ internal sealed class GameFunctions if (ActionManager.Instance()->GetActionStatus(actionType, num, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0) { bool flag = ActionManager.Instance()->UseAction(actionType, num, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); - _logger.LogInformation("UseAction {Action} (adjusted: {AdjustedActionId}) result: {Result}", action, num, flag); + _logger.LogDebug("UseAction {Action} (adjusted: {AdjustedActionId}) result: {Result}", action, num, flag); return flag; } return false; @@ -251,12 +248,12 @@ internal sealed class GameFunctions { Vector3 position = gameObject.Position; flag = ActionManager.Instance()->UseActionLocation(actionType, actionId, 3758096384uL, &position, 0u, 0); - _logger.LogInformation("UseAction {Action} (adjusted: {AdjustedActionId}) on target area {Target} result: {Result}", action, actionId, gameObject, flag); + _logger.LogDebug("UseAction {Action} (adjusted: {AdjustedActionId}) on target area {Target} result: {Result}", action, actionId, gameObject, flag); } else { flag = ActionManager.Instance()->UseAction(actionType, actionId, gameObject.GameObjectId, 0u, ActionManager.UseActionMode.None, 0u, null); - _logger.LogInformation("UseAction {Action} (adjusted: {AdjustedActionId}) on target {Target} result: {Result}", action, actionId, gameObject, flag); + _logger.LogDebug("UseAction {Action} (adjusted: {AdjustedActionId}) on target {Target} result: {Result}", action, actionId, gameObject, flag); } return flag; } @@ -273,50 +270,14 @@ internal sealed class GameFunctions return false; } - public unsafe bool HasStatusPreventingMount() + public bool HasStatusPreventingMount() { - if (_condition[ConditionFlag.Swimming] && !IsFlyingUnlockedInCurrentZone()) - { - return true; - } - PlayerState* ptr = PlayerState.Instance(); - if (ptr != null && !ptr->IsMountUnlocked(1u)) - { - return true; - } - IPlayerCharacter localPlayer = _objectTable.LocalPlayer; - if (localPlayer == null) - { - return false; - } - BattleChara* address = (BattleChara*)localPlayer.Address; - StatusManager* statusManager = address->GetStatusManager(); - if (statusManager->HasStatus(1151u) || statusManager->HasStatus(1945u)) - { - return true; - } - return HasCharacterStatusPreventingMountOrSprint(); + return _gameState.HasStatusPreventingMount(); } public bool HasStatusPreventingSprint() { - return HasCharacterStatusPreventingMountOrSprint(); - } - - private unsafe bool HasCharacterStatusPreventingMountOrSprint() - { - IPlayerCharacter localPlayer = _objectTable.LocalPlayer; - if (localPlayer == null) - { - return false; - } - BattleChara* address = (BattleChara*)localPlayer.Address; - StatusManager* statusManager = address->GetStatusManager(); - if (!statusManager->HasStatus(565u) && !statusManager->HasStatus(404u) && !statusManager->HasStatus(416u) && !statusManager->HasStatus(2729u)) - { - return statusManager->HasStatus(2730u); - } - return true; + return _gameState.HasStatusPreventingSprint(); } public unsafe bool HasStatus(EStatus statusId) @@ -335,57 +296,14 @@ internal sealed class GameFunctions return StatusManager.ExecuteStatusOff((uint)statusId); } - public unsafe bool Mount() + public bool Mount() { - if (_condition[ConditionFlag.Mounted]) - { - return true; - } - PlayerState* ptr = PlayerState.Instance(); - if (ptr != null && _configuration.General.MountId != 0 && ptr->IsMountUnlocked(_configuration.General.MountId)) - { - if (ActionManager.Instance()->GetActionStatus(ActionType.Mount, _configuration.General.MountId, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0) - { - _logger.LogDebug("Attempting to use preferred mount..."); - if (ActionManager.Instance()->UseAction(ActionType.Mount, _configuration.General.MountId, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null)) - { - _logger.LogInformation("Using preferred mount"); - return true; - } - return false; - } - } - else if (ActionManager.Instance()->GetActionStatus(ActionType.GeneralAction, 9u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0) - { - _logger.LogDebug("Attempting to use mount roulette..."); - if (ActionManager.Instance()->UseAction(ActionType.GeneralAction, 9u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null)) - { - _logger.LogInformation("Using mount roulette"); - return true; - } - return false; - } - return false; + return _gameState.Mount(_configuration.Navigation.MountId); } - public unsafe bool Unmount() + public bool Unmount() { - if (!_condition[ConditionFlag.Mounted]) - { - return true; - } - if (ActionManager.Instance()->GetActionStatus(ActionType.GeneralAction, 23u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0) - { - _logger.LogDebug("Attempting to unmount..."); - if (ActionManager.Instance()->UseAction(ActionType.GeneralAction, 23u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null)) - { - _logger.LogInformation("Unmounted"); - return true; - } - return false; - } - _logger.LogWarning("Can't unmount right now?"); - return false; + return _gameState.Unmount(); } public unsafe void OpenDutyFinder(uint contentFinderConditionId) @@ -415,7 +333,21 @@ internal sealed class GameFunctions { return false; } - return a.ReplaceLineEndings().Replace('–', '-') == b.ReplaceLineEndings().Replace('–', '-'); + if (a == b) + { + return true; + } + return NormalizeGameString(a) == NormalizeGameString(b); + } + + private static string NormalizeGameString(string value) + { + if (value.Contains('<', StringComparison.Ordinal)) + { + value = MacroLiteralRegex.Replace(value, string.Empty); + } + return value.ReplaceLineEndings().Replace('–', '-').Replace("\u00ad", "", StringComparison.Ordinal) + .Trim(); } public unsafe bool IsOccupied() @@ -450,71 +382,14 @@ internal sealed class GameFunctions return true; } - public unsafe bool IsOccupiedWithCustomDeliveryNpc(Questionable.Model.Quest? currentQuest) + public bool IsLoadingScreenVisible() { - if (currentQuest == null || !(currentQuest.Info is SatisfactionSupplyInfo)) - { - return false; - } - if (_targetManager.Target == null || _targetManager.Target.BaseId != currentQuest.Info.IssuerDataId) - { - return false; - } - if (!AgentSatisfactionSupply.Instance()->IsAgentActive()) - { - return false; - } - HashSet hashSet = _condition.AsReadOnlySet().ToHashSet(); - hashSet.Remove(ConditionFlag.InDutyQueue); - if (hashSet.Count == 2 && hashSet.Contains(ConditionFlag.NormalConditions)) - { - return hashSet.Contains(ConditionFlag.OccupiedInQuestEvent); - } - return false; + return _gameState.IsLoadingScreenVisible(); } - public unsafe bool IsLoadingScreenVisible() + public int GetFreeInventorySlots() { - if (_gameGui.TryGetAddonByName("FadeMiddle", out var addonPtr) && LAddon.IsAddonReady(addonPtr) && addonPtr->IsVisible) - { - return true; - } - if (_gameGui.TryGetAddonByName("FadeBack", out addonPtr) && LAddon.IsAddonReady(addonPtr) && addonPtr->IsVisible) - { - return true; - } - if (_gameGui.TryGetAddonByName("NowLoading", out addonPtr) && LAddon.IsAddonReady(addonPtr) && addonPtr->IsVisible) - { - return true; - } - return false; - } - - public unsafe int GetFreeInventorySlots() - { - InventoryManager* ptr = InventoryManager.Instance(); - if (ptr == null) - { - return 0; - } - int num = 0; - for (InventoryType inventoryType = InventoryType.Inventory1; inventoryType <= InventoryType.Inventory4; inventoryType++) - { - InventoryContainer* inventoryContainer = ptr->GetInventoryContainer(inventoryType); - if (inventoryContainer == null) - { - continue; - } - for (int i = 0; i < inventoryContainer->Size; i++) - { - InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(i); - if (inventorySlot == null || inventorySlot->ItemId == 0) - { - num++; - } - } - } - return num; + return _gameState.GetFreeInventorySlots().GetValueOrDefault(); } public void AbandonDuty() @@ -538,7 +413,7 @@ internal sealed class GameFunctions list.Add(num); } } - _logger.LogInformation("Unlocked unlock links: {UnlockedUnlockLinks}", string.Join(", ", list)); + _logger.LogDebug("Unlocked unlock links: {UnlockedUnlockLinks}", string.Join(", ", list)); return list; } @@ -563,7 +438,7 @@ internal sealed class GameFunctions } try { - _logger.LogInformation("Syncing to FATE {FateId} (max level {MaxLevel})", currentFate->FateId, maxLevel); + _logger.LogDebug("Syncing to FATE {FateId} (max level {MaxLevel})", currentFate->FateId, maxLevel); ExecuteCommand("/lsync"); return true; } @@ -574,64 +449,32 @@ internal sealed class GameFunctions } } - public unsafe ushort GetCurrentFateId() + public ushort GetCurrentFateId() { - FateManager* ptr = FateManager.Instance(); - if (ptr == null || ptr->CurrentFate == null) + PublicEvent? currentPlayerEvent = _publicEventHelper.GetCurrentPlayerEvent(); + if (currentPlayerEvent.HasValue) { - return 0; + PublicEvent valueOrDefault = currentPlayerEvent.GetValueOrDefault(); + if (valueOrDefault.Type == EPublicEventType.Fate) + { + return (ushort)valueOrDefault.Id; + } } - return ptr->CurrentFate->FateId; + return 0; } - public unsafe bool IsFateStillActive(ushort fateId) + public bool IsFateStillActive(ushort fateId) { - if (fateId == 0) - { - return false; - } - FateManager* ptr = FateManager.Instance(); - if (ptr == null) - { - return false; - } - FateContext* fateById = ptr->GetFateById(fateId); - if (fateById == null) - { - return false; - } - return fateById->State == FateState.Running; + return _publicEventHelper.IsFateActive(fateId); } public uint GetItemLevel(uint itemId) { - return (_dataManager.GetExcelSheet()?.GetRowOrDefault(itemId))?.LevelItem.RowId ?? 0; + return _gameState.GetItemLevel(itemId); } - private unsafe void ExecuteCommand(string command) + private static void ExecuteCommand(string command) { - try - { - UIModule* uIModule = Framework.Instance()->GetUIModule(); - if (uIModule == null) - { - _logger.LogError("UIModule is null, cannot execute command: {Command}", command); - return; - } - Utf8String utf8String = new Utf8String(command); - try - { - uIModule->ProcessChatBoxEntry(&utf8String, (nint)utf8String.StringLength); - _logger.LogDebug("Executed chat command: {Command}", command); - } - finally - { - ((IDisposable)utf8String/*cast due to .constrained prefix*/).Dispose(); - } - } - catch (Exception exception) - { - _logger.LogError(exception, "Failed to execute command: {Command}", command); - } + ChatHelper.SendCommand(command); } } diff --git a/Questionable/Questionable.Functions/QuestFunctions.cs b/Questionable/Questionable.Functions/QuestFunctions.cs index fd59a92..43020ef 100644 --- a/Questionable/Questionable.Functions/QuestFunctions.cs +++ b/Questionable/Questionable.Functions/QuestFunctions.cs @@ -1,10 +1,7 @@ using System; using System.Collections.Generic; -using System.Globalization; using System.Linq; -using System.Runtime.CompilerServices; -using Dalamud.Game.ClientState.Aetherytes; -using Dalamud.Game.Text; +using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Memory; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Application.Network.WorkDefinitions; @@ -15,19 +12,53 @@ using FFXIVClientStructs.FFXIV.Client.UI.Agent; using FFXIVClientStructs.FFXIV.Component.GUI; using LLib.GameData; using LLib.GameUI; -using Lumina.Excel.Sheets; using Microsoft.Extensions.Logging; using Questionable.Controller; +using Questionable.Controller.Utils; using Questionable.Data; using Questionable.Model; -using Questionable.Model.Common; using Questionable.Model.Questing; -using Questionable.Windows.QuestComponents; namespace Questionable.Functions; internal sealed class QuestFunctions { + private static readonly Dictionary CloseToHomeQuests = new Dictionary + { + { + 108, + EClassJob.Marauder + }, + { + 109, + EClassJob.Arcanist + }, + { + 85, + EClassJob.Lancer + }, + { + 123, + EClassJob.Archer + }, + { + 124, + EClassJob.Conjurer + }, + { + 568, + EClassJob.Gladiator + }, + { + 569, + EClassJob.Pugilist + }, + { + 570, + EClassJob.Thaumaturge + } + }; + private readonly QuestRegistry _questRegistry; private readonly QuestData _questData; @@ -40,20 +71,14 @@ internal sealed class QuestFunctions private readonly AlliedSocietyData _alliedSocietyData; - private readonly AetheryteData _aetheryteData; - private readonly Configuration _configuration; private readonly IDataManager _dataManager; private readonly IObjectTable _objectTable; - private readonly IClientState _clientState; - private readonly IGameGui _gameGui; - private readonly IAetheryteList _aetheryteList; - private readonly ILogger _logger; private readonly HashSet _alreadyLoggedUnobtainableQuestsDetailed = new HashSet(); @@ -62,21 +87,15 @@ internal sealed class QuestFunctions private readonly HashSet _alreadyLoggedGcLockedQuests = new HashSet(); - private ElementId? _lastLoggedLevelLockedMsq; - - private ElementId? _lastLoggedForcedClassQuest; - private bool _lastLoggedFallbackLookup; private ElementId? _lastLoggedNotReadyQuest; private ElementId? _lastLoggedAcceptedHiddenMsq; - private bool _loggedNoClassQuestsAvailable; + private static readonly HashSet RemovedQuestIds = new HashSet { 487, 1428, 1429 }; - private bool _loggedAdventurerClass; - - public QuestFunctions(QuestRegistry questRegistry, QuestData questData, JournalData journalData, AetheryteFunctions aetheryteFunctions, AlliedSocietyQuestFunctions alliedSocietyQuestFunctions, AlliedSocietyData alliedSocietyData, AetheryteData aetheryteData, Configuration configuration, IDataManager dataManager, IObjectTable objectTable, IClientState clientState, IGameGui gameGui, IAetheryteList aetheryteList, ILogger logger) + public QuestFunctions(QuestRegistry questRegistry, QuestData questData, JournalData journalData, AetheryteFunctions aetheryteFunctions, AlliedSocietyQuestFunctions alliedSocietyQuestFunctions, AlliedSocietyData alliedSocietyData, Configuration configuration, IDataManager dataManager, IObjectTable objectTable, IGameGui gameGui, ILogger logger) { _questRegistry = questRegistry; _questData = questData; @@ -84,314 +103,19 @@ internal sealed class QuestFunctions _aetheryteFunctions = aetheryteFunctions; _alliedSocietyQuestFunctions = alliedSocietyQuestFunctions; _alliedSocietyData = alliedSocietyData; - _aetheryteData = aetheryteData; _configuration = configuration; _dataManager = dataManager; _objectTable = objectTable; - _clientState = clientState; _gameGui = gameGui; - _aetheryteList = aetheryteList; _logger = logger; } - public unsafe QuestReference GetCurrentQuest(bool allowNewMsq = true) - { - QuestReference currentQuestInternal = GetCurrentQuestInternal(allowNewMsq); - currentQuestInternal.Deconstruct(out ElementId CurrentQuest, out byte Sequence, out MainScenarioQuestState State); - ElementId elementId = CurrentQuest; - byte sequence = Sequence; - MainScenarioQuestState state = State; - PlayerState* ptr = PlayerState.Instance(); - if (elementId == null || elementId.Value == 0) - { - if (_clientState.TerritoryType == 181) - { - return new QuestReference(new QuestId(107), 0, MainScenarioQuestState.Available); - } - if (_clientState.TerritoryType == 182) - { - return new QuestReference(new QuestId(594), 0, MainScenarioQuestState.Available); - } - if (_clientState.TerritoryType == 183) - { - return new QuestReference(new QuestId(39), 0, MainScenarioQuestState.Available); - } - return QuestReference.NoQuest(state); - } - if (elementId.Value == 681) - { - if (IsQuestAccepted(elementId) || IsQuestComplete(elementId)) - { - return new QuestReference(elementId, sequence, state); - } - return _configuration.General.GrandCompany switch - { - FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany.TwinAdder => new QuestReference(new QuestId(680), 0, state), - FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany.Maelstrom => new QuestReference(new QuestId(681), 0, state), - FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany.ImmortalFlames => new QuestReference(new QuestId(682), 0, state), - _ => QuestReference.NoQuest(MainScenarioQuestState.Unavailable), - }; - } - if (elementId.Value == 3856 && !ptr->IsMountUnlocked(1u)) - { - ushort num = (FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany)ptr->GrandCompany switch - { - FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany.TwinAdder => 700, - FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany.Maelstrom => 701, - FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany.ImmortalFlames => 702, - _ => 0, - }; - if (num != 0 && !QuestManager.IsQuestComplete(num)) - { - return new QuestReference(new QuestId(num), QuestManager.GetQuestSequence(num), state); - } - } - else if (elementId.Value == 801) - { - QuestId questId = new QuestId(802); - if (IsQuestAccepted(questId)) - { - return new QuestReference(questId, QuestManager.GetQuestSequence(questId.Value), state); - } - } - return currentQuestInternal; - } - - public unsafe QuestReference GetCurrentQuestInternal(bool allowNewMsq) - { - QuestManager* ptr = QuestManager.Instance(); - if (ptr == null) - { - return QuestReference.NoQuest(MainScenarioQuestState.Unavailable); - } - QuestReference questReference = GetMainScenarioQuest().Item1; - if (questReference.CurrentQuest != null && !_questRegistry.IsKnownQuest(questReference.CurrentQuest)) - { - if (questReference.CurrentQuest is QuestId questId && _alreadyLoggedUnobtainableQuestsDetailed.Add(questId.Value)) - { - _logger.LogWarning("MSQ {MsqQuestId} is not in the quest registry, resetting to NoQuest", questReference.CurrentQuest); - } - questReference = QuestReference.NoQuest(questReference.State); - } - byte currentLevel = _objectTable.LocalPlayer?.Level ?? 0; - if (questReference.CurrentQuest != null) - { - Questionable.Model.Quest quest; - bool flag = _questRegistry.TryGetQuest(questReference.CurrentQuest, out quest); - bool flag2 = IsQuestAccepted(questReference.CurrentQuest); - EClassJob valueOrDefault = ((EClassJob?)_objectTable.LocalPlayer?.ClassJob.RowId).GetValueOrDefault(); - if (valueOrDefault != EClassJob.Adventurer) - { - QuestInfo questInfo = (from x in _questData.GetClassJobQuests(valueOrDefault) - where x.Level <= 5 && IsQuestAccepted(x.QuestId) && !IsQuestComplete(x.QuestId) - orderby x.Level - select x).FirstOrDefault(); - if (questInfo != null) - { - _logger.LogTrace("Found in-progress class quest {QuestId}, continuing it", questInfo.QuestId); - return new QuestReference(questInfo.QuestId, QuestManager.GetQuestSequence(questInfo.QuestId.Value), questReference.State); - } - } - if (flag && quest.Info.Level > currentLevel && !flag2 && _configuration.General.MsqPriority != Configuration.EMsqPriorityMode.Manual) - { - if (_lastLoggedLevelLockedMsq != questReference.CurrentQuest) - { - _logger.LogInformation("MSQ {MsqId} requires level {RequiredLevel}, current level {CurrentLevel}. Checking for early class quests to level up.", questReference.CurrentQuest, quest.Info.Level, currentLevel); - _lastLoggedLevelLockedMsq = questReference.CurrentQuest; - _loggedNoClassQuestsAvailable = false; - _loggedAdventurerClass = false; - } - if (valueOrDefault != EClassJob.Adventurer) - { - List classJobQuests = _questData.GetClassJobQuests(valueOrDefault); - List lockedQuests = _questData.GetLockedClassQuests(); - List list = (from x in classJobQuests.Where(delegate(QuestInfo x) - { - bool num3 = x.Level <= currentLevel && x.Level <= 5; - bool flag4 = !IsQuestComplete(x.QuestId); - bool flag5 = !lockedQuests.Contains(x.QuestId); - return num3 && flag4 && flag5; - }) - orderby x.Level - select x).ToList(); - if (list.Count > 0) - { - ElementId questId2 = list.First().QuestId; - if (!IsQuestComplete(questId2)) - { - if (_lastLoggedForcedClassQuest != questId2) - { - _logger.LogInformation("MSQ level locked. Forcing class quest {ClassQuestId} for {ClassJob} (level {QuestLevel})", questId2, valueOrDefault, list.First().Level); - _lastLoggedForcedClassQuest = questId2; - } - return new QuestReference(questId2, QuestManager.GetQuestSequence(questId2.Value), questReference.State); - } - } - else if (!_loggedNoClassQuestsAvailable) - { - _logger.LogWarning("No class quests passed the filter for {ClassJob} at level {CurrentLevel}", valueOrDefault, currentLevel); - _loggedNoClassQuestsAvailable = true; - } - List list2 = (from x in _questRegistry.GetKnownClassJobQuests(valueOrDefault, includeRoleQuests: false) - where x.Level <= currentLevel && x.Level <= 5 && !IsQuestAcceptedOrComplete(x.QuestId) && IsReadyToAcceptQuest(x.QuestId) - orderby x.Level - select x).ToList(); - if (list2.Count > 0) - { - ElementId questId3 = list2.First().QuestId; - _logger.LogInformation("MSQ level locked. Prioritizing class quest {ClassQuestId} for {ClassJob} (level {QuestLevel}) from registry", questId3, valueOrDefault, list2.First().Level); - return new QuestReference(questId3, QuestManager.GetQuestSequence(questId3.Value), questReference.State); - } - if (!_loggedNoClassQuestsAvailable) - { - _logger.LogWarning("MSQ level locked but no available early class quests found for {ClassJob} at level {CurrentLevel}", valueOrDefault, currentLevel); - _loggedNoClassQuestsAvailable = true; - } - } - else if (!_loggedAdventurerClass) - { - _logger.LogWarning("Current class is Adventurer, cannot find class quests"); - _loggedAdventurerClass = true; - } - Questionable.Model.Quest quest2; - ElementId elementId = (from x in GetNextPriorityQuestsThatCanBeAccepted() - where x.IsAvailable - where _questRegistry.TryGetQuest(x.QuestId, out quest2) && quest2.Info.Level <= currentLevel && quest2.Info.Level <= 5 && quest2.Info is QuestInfo questInfo2 && questInfo2.ClassJobs.Count > 0 && questInfo2.ClassJobs.Any((EClassJob job) => !job.IsCrafter() && !job.IsGatherer()) - select x.QuestId).FirstOrDefault(); - if (elementId != null) - { - _logger.LogInformation("MSQ {MsqId} requires level {RequiredLevel}, current level {CurrentLevel}. Prioritizing early class quest {ClassQuestId} (from priority list)", questReference.CurrentQuest, quest.Info.Level, currentLevel, elementId); - return new QuestReference(elementId, QuestManager.GetQuestSequence(elementId.Value), questReference.State); - } - if (!_loggedNoClassQuestsAvailable) - { - _logger.LogWarning("MSQ {MsqId} is level locked (requires {RequiredLevel}, current {CurrentLevel}) and no early class quests available. Cannot proceed.", questReference.CurrentQuest, quest.Info.Level, currentLevel); - _loggedNoClassQuestsAvailable = true; - } - return QuestReference.NoQuest(MainScenarioQuestState.Unavailable); - } - _lastLoggedLevelLockedMsq = null; - _lastLoggedForcedClassQuest = null; - _loggedNoClassQuestsAvailable = false; - _loggedAdventurerClass = false; - } - bool num = questReference.CurrentQuest != null && !IsQuestAccepted(questReference.CurrentQuest); - bool flag3 = true; - if (num) - { - switch (_configuration.General.MsqPriority) - { - case Configuration.EMsqPriorityMode.Always: - if (allowNewMsq) - { - return questReference; - } - break; - case Configuration.EMsqPriorityMode.Manual: - flag3 = false; - break; - } - } - List<(ElementId, byte)> list3 = new List<(ElementId, byte)>(); - for (int num2 = ptr->TrackedQuests.Length - 1; num2 >= 0; num2--) - { - TrackingWork trackingWork = ptr->TrackedQuests[num2]; - switch (trackingWork.QuestType) - { - case 1: - { - ElementId elementId2 = new QuestId(ptr->NormalQuests[trackingWork.Index].QuestId); - if (_questRegistry.IsKnownQuest(elementId2) && !IsQuestBlacklisted(elementId2)) - { - list3.Add((elementId2, QuestManager.GetQuestSequence(elementId2.Value))); - } - break; - } - } - } - if (_configuration.General.SkipLowPriorityDuties && list3.Count > 0) - { - IReadOnlyList<(uint ContentFinderConditionId, ElementId QuestId, int Sequence)> lowPriorityQuests = _questRegistry.LowPriorityContentFinderConditionQuests; - list3.RemoveAll(((ElementId Quest, byte Sequence) x) => lowPriorityQuests.Any<(uint, ElementId, int)>(((uint ContentFinderConditionId, ElementId QuestId, int Sequence) y) => x.Quest == y.QuestId && x.Sequence == y.Sequence)); - } - if (list3.Count > 0) - { - (ElementId, byte) tuple = list3.First(); - ElementId item = tuple.Item1; - byte item2 = tuple.Item2; - EAlliedSociety firstTrackedAlliedSociety = _alliedSocietyData.GetCommonAlliedSocietyTurnIn(item); - if (firstTrackedAlliedSociety != EAlliedSociety.None) - { - List<(ElementId, byte)> list4 = (from tuple4 in list3.Skip(1) - where _alliedSocietyData.GetCommonAlliedSocietyTurnIn(tuple4.Quest) == firstTrackedAlliedSociety - select tuple4).ToList(); - if (list4.Count > 0) - { - if (item2 == byte.MaxValue) - { - foreach (var (currentQuest, b) in list4) - { - if (b != byte.MaxValue) - { - return new QuestReference(currentQuest, b, questReference.State); - } - } - } - else if (!IsOnAlliedSocietyMount()) - { - list4.Insert(0, (item, item2)); - _alliedSocietyData.GetCommonAlliedSocietyNpcs(firstTrackedAlliedSociety, out uint[] normalNpcs, out uint[] _); - if (normalNpcs.Length != 0) - { - (ElementId, byte)? tuple3 = (from x in list4 - where x.Sequence < byte.MaxValue - where IsInteractSequence(x.Quest, x.Sequence, normalNpcs) - select x).Cast<(ElementId, byte)?>().FirstOrDefault(); - if (tuple3.HasValue) - { - return new QuestReference(tuple3.Value.Item1, tuple3.Value.Item2, questReference.State); - } - } - } - } - } - return new QuestReference(item, item2, questReference.State); - } - ElementId elementId3 = (from x in GetNextPriorityQuestsThatCanBeAccepted() - where x.IsAvailable - select x.QuestId).FirstOrDefault(); - if (elementId3 != null) - { - return new QuestReference(elementId3, QuestManager.GetQuestSequence(elementId3.Value), questReference.State); - } - if (flag3 && questReference.CurrentQuest != null) - { - return questReference; - } - return QuestReference.NoQuest(questReference.State); - } - public unsafe (QuestReference, string?) GetMainScenarioQuest() { - if (QuestManager.IsQuestComplete(3759)) + (QuestReference, string)? tuple = TryGetNewGamePlusQuest(); + if (tuple.HasValue) { - AgentInterface* agentByInternalId = AgentModule.Instance()->GetAgentByInternalId(AgentId.QuestRedoHud); - if (agentByInternalId != null && agentByInternalId->IsAgentActive()) - { - AtkUnitBase* addonPtr; - bool flag = _gameGui.TryGetAddonByName("QuestRedoHud", out addonPtr) && addonPtr->AtkValuesCount == 4; - if (flag) - { - uint uInt = addonPtr->AtkValues->UInt; - bool flag2 = ((uInt == 0 || uInt - 2 <= 2) ? true : false); - flag = flag2; - } - if (flag) - { - ushort num = MemoryHelper.Read((nint)((byte*)agentByInternalId + 46)); - return (new QuestReference(new QuestId(num), QuestManager.GetQuestSequence(num), MainScenarioQuestState.Available), "NG+"); - } - } + return tuple.Value; } AgentScenarioTree* ptr = AgentScenarioTree.Instance(); if (ptr == null) @@ -404,124 +128,158 @@ internal sealed class QuestFunctions _logger.LogTrace("GetMainScenarioQuest: scenarioTree->Data is null"); return (QuestReference.NoQuest(MainScenarioQuestState.LoadingScreen), "Scenario Tree Data is null"); } - QuestId questId = new QuestId(ptr->Data->MainScenarioQuestIds[0]); - string item = $"sq: {questId}"; - if (questId.Value == 0) + QuestId resolvedQuest = new QuestId(ptr->Data->MainScenarioQuestIds[0]); + string item = $"sq: {resolvedQuest}"; + if (resolvedQuest.Value == 0) { - if (IsMainScenarioQuestComplete()) + (QuestReference, string)? tuple2 = TryResolveFallbackMsq(out resolvedQuest); + if (tuple2.HasValue) { - return (QuestReference.NoQuest(MainScenarioQuestState.Complete), "Main Scenario is complete"); + return tuple2.Value; } - if (!_lastLoggedFallbackLookup) - { - _logger.LogInformation("GetMainScenarioQuest: MSQ from scenario tree is 0, using fallback lookup"); - _lastLoggedFallbackLookup = true; - } - PlayerState* playerState = PlayerState.Instance(); - List list = (from q in _questData.MainScenarioQuests - where q.StartingCity == 0 || q.StartingCity == playerState->StartTown - where IsReadyToAcceptQuest(q.QuestId, ignoreLevel: true) - select q).ToList(); - if (!_lastLoggedFallbackLookup || list.Count > 0) - { - _logger.LogTrace("GetMainScenarioQuest: Found {Count} potential quests from fallback", list.Count); - } - if (list.Count == 0) - { - return (QuestReference.NoQuest(MainScenarioQuestState.Unavailable), "No potential quests found"); - } - if (list.Count > 1) - { - if (list.All(delegate(QuestInfo x) - { - ushort value = x.QuestId.Value; - return (uint)(value - 680) <= 2u; - })) - { - questId = new QuestId(681); - } - else if (list.Any((QuestInfo x) => x.QuestId.Value == 1583)) - { - questId = new QuestId(1583); - } - else if (list.Any((QuestInfo x) => x.QuestId.Value == 2451)) - { - questId = new QuestId(2451); - } - else if (list.Any((QuestInfo x) => x.QuestId.Value == 3282)) - { - questId = new QuestId(3282); - } - else if (list.Any((QuestInfo x) => x.QuestId.Value == 4359)) - { - questId = new QuestId(4359); - } - else if (list.Any((QuestInfo x) => x.QuestId.Value == 4865)) - { - questId = new QuestId(4865); - } - if (list.Count != 1) - { - _logger.LogWarning("GetMainScenarioQuest: Multiple potential quests found: {Quests}", string.Join(", ", list.Select((QuestInfo x) => x.QuestId.Value))); - return (QuestReference.NoQuest(MainScenarioQuestState.Unavailable), "Multiple potential quests found: " + string.Join(", ", list.Select((QuestInfo x) => x.QuestId.Value))); - } - } - else - { - questId = (QuestId)list.Single().QuestId; - } - _logger.LogInformation("GetMainScenarioQuest: Selected quest from fallback = {QuestId}", questId); + } + else + { _lastLoggedFallbackLookup = false; } QuestManager* ptr2 = QuestManager.Instance(); - if (IsQuestAccepted(questId) && ptr2->GetQuestById(questId.Value)->IsHidden) + if (IsQuestAccepted(resolvedQuest) && ptr2->GetQuestById(resolvedQuest.Value)->IsHidden) { - if (_lastLoggedAcceptedHiddenMsq != questId) + if (_lastLoggedAcceptedHiddenMsq != resolvedQuest) { - _logger.LogInformation("GetMainScenarioQuest: Quest {QuestId} is accepted but hidden", questId); - _lastLoggedAcceptedHiddenMsq = questId; + _logger.LogDebug("GetMainScenarioQuest: Quest {QuestId} is accepted but hidden", resolvedQuest); + _lastLoggedAcceptedHiddenMsq = resolvedQuest; } return (QuestReference.NoQuest(MainScenarioQuestState.Available), "Quest accepted but hidden"); } - if (IsQuestComplete(questId)) + if (IsQuestComplete(resolvedQuest)) { - _logger.LogInformation("GetMainScenarioQuest: Quest {QuestId} is already complete", questId); - return (new QuestReference(questId, byte.MaxValue, MainScenarioQuestState.Available), $"Quest {questId.Value} complete"); + _logger.LogDebug("GetMainScenarioQuest: Quest {QuestId} is already complete", resolvedQuest); + return (new QuestReference(resolvedQuest, byte.MaxValue, MainScenarioQuestState.Available), $"Quest {resolvedQuest.Value} complete"); } - if (!IsReadyToAcceptQuest(questId, ignoreLevel: true)) + if (!IsReadyToAcceptQuest(resolvedQuest, ignoreLevel: true)) { - if (_lastLoggedNotReadyQuest != questId) + if (_lastLoggedNotReadyQuest != resolvedQuest) { - _logger.LogInformation("GetMainScenarioQuest: Quest {QuestId} is not ready to accept (ignoring level)", questId); - _lastLoggedNotReadyQuest = questId; + _logger.LogDebug("GetMainScenarioQuest: Quest {QuestId} is not ready to accept (ignoring level)", resolvedQuest); + _lastLoggedNotReadyQuest = resolvedQuest; } - return (QuestReference.NoQuest(MainScenarioQuestState.Unavailable), $"Not readdy to accept quest {questId.Value}"); + return (QuestReference.NoQuest(MainScenarioQuestState.Unavailable), $"Not ready to accept quest {resolvedQuest.Value}"); } _lastLoggedNotReadyQuest = null; - if (!(_objectTable.LocalPlayer?.Level).HasValue) + IPlayerCharacter? localPlayer = _objectTable.LocalPlayer; + if (localPlayer != null) { - _logger.LogTrace("GetMainScenarioQuest: In loading screen"); - return (QuestReference.NoQuest(MainScenarioQuestState.LoadingScreen), "In loading screen"); + _ = localPlayer.Level; + if (0 == 0) + { + _lastLoggedAcceptedHiddenMsq = null; + return (new QuestReference(resolvedQuest, QuestManager.GetQuestSequence(resolvedQuest.Value), MainScenarioQuestState.Available), item); + } } - _lastLoggedAcceptedHiddenMsq = null; - return (new QuestReference(questId, QuestManager.GetQuestSequence(questId.Value), MainScenarioQuestState.Available), item); + _logger.LogTrace("GetMainScenarioQuest: In loading screen"); + return (QuestReference.NoQuest(MainScenarioQuestState.LoadingScreen), "In loading screen"); } - private static byte GetRequiredGCRank(QuestId questId) + private unsafe (QuestReference, string?)? TryGetNewGamePlusQuest() { - return questId.Value switch + if (!QuestManager.IsQuestComplete(3759)) { - 1128 => 8, - 1129 => 8, - 1130 => 8, - 1131 => 9, - 1132 => 9, - 1133 => 9, - _ => 1, - }; + return null; + } + AgentInterface* agentByInternalId = AgentModule.Instance()->GetAgentByInternalId(AgentId.QuestRedoHud); + if (agentByInternalId == null || !agentByInternalId->IsAgentActive()) + { + return null; + } + AtkUnitBase* addonPtr; + bool flag = !_gameGui.TryGetAddonByName("QuestRedoHud", out addonPtr) || addonPtr->AtkValuesCount != 4; + if (!flag) + { + uint uInt = addonPtr->AtkValues->UInt; + bool flag2 = ((uInt == 0 || uInt - 2 <= 2) ? true : false); + flag = !flag2; + } + if (flag) + { + return null; + } + ushort num = MemoryHelper.Read((nint)((byte*)agentByInternalId + 46)); + return (new QuestReference(new QuestId(num), QuestManager.GetQuestSequence(num), MainScenarioQuestState.Available), "NG+"); } - private unsafe bool IsOnAlliedSocietyMount() + private (QuestReference, string?)? TryResolveFallbackMsq(out QuestId resolvedQuest) + { + resolvedQuest = new QuestId(0); + if (IsMainScenarioQuestComplete()) + { + return (QuestReference.NoQuest(MainScenarioQuestState.Complete), "Main Scenario is complete"); + } + if (!_lastLoggedFallbackLookup) + { + _logger.LogDebug("GetMainScenarioQuest: MSQ from scenario tree is 0, using fallback lookup"); + _lastLoggedFallbackLookup = true; + } + List list = (from q in _questData.MainScenarioQuests + where q.StartingCity == 0 || q.StartingCity == PlayerStateHelper.GetStartTown() + where IsReadyToAcceptQuest(q.QuestId, ignoreLevel: true) + select q).ToList(); + _logger.LogTrace("GetMainScenarioQuest: Found {Count} potential quests from fallback", list.Count); + if (list.Count == 0) + { + return (QuestReference.NoQuest(MainScenarioQuestState.Unavailable), "No potential quests found"); + } + if (list.Count == 1) + { + resolvedQuest = (QuestId)list[0].QuestId; + _logger.LogDebug("GetMainScenarioQuest: Selected quest from fallback = {QuestId}", resolvedQuest); + return null; + } + QuestId questId = ResolveBranchingMsq(list); + if ((object)questId == null) + { + _logger.LogWarning("GetMainScenarioQuest: Multiple potential quests found: {Quests}", string.Join(", ", list.Select((QuestInfo x) => x.QuestId.Value))); + return (QuestReference.NoQuest(MainScenarioQuestState.Unavailable), "Multiple potential quests found: " + string.Join(", ", list.Select((QuestInfo x) => x.QuestId.Value))); + } + resolvedQuest = questId; + _logger.LogDebug("GetMainScenarioQuest: Selected quest from fallback = {QuestId}", resolvedQuest); + return null; + } + + private static QuestId? ResolveBranchingMsq(List potentialQuests) + { + if (potentialQuests.All(delegate(QuestInfo x) + { + ushort value = x.QuestId.Value; + return (uint)(value - 680) <= 2u; + })) + { + return new QuestId(681); + } + if (potentialQuests.Any((QuestInfo x) => x.QuestId.Value == 1583)) + { + return new QuestId(1583); + } + if (potentialQuests.Any((QuestInfo x) => x.QuestId.Value == 2451)) + { + return new QuestId(2451); + } + if (potentialQuests.Any((QuestInfo x) => x.QuestId.Value == 3282)) + { + return new QuestId(3282); + } + if (potentialQuests.Any((QuestInfo x) => x.QuestId.Value == 4359)) + { + return new QuestId(4359); + } + if (potentialQuests.Any((QuestInfo x) => x.QuestId.Value == 4865)) + { + return new QuestId(4865); + } + return null; + } + + internal unsafe bool IsOnAlliedSocietyMount() { BattleChara* ptr = (BattleChara*)(_objectTable.LocalPlayer?.Address ?? 0); if (ptr != null && ptr->Mount.MountId != 0) @@ -531,9 +289,9 @@ internal sealed class QuestFunctions return false; } - private bool IsInteractSequence(ElementId questId, byte sequenceNo, uint[] dataIds) + internal bool IsInteractSequence(ElementId questId, byte sequenceNo, uint[] dataIds) { - if (_questRegistry.TryGetQuest(questId, out Questionable.Model.Quest quest)) + if (_questRegistry.TryGetQuest(questId, out Quest quest)) { return quest.FindSequence(sequenceNo)?.Steps.All(delegate(QuestStep x) { @@ -570,82 +328,24 @@ internal sealed class QuestFunctions return null; } - public unsafe List GetNextPriorityQuestsThatCanBeAccepted() + public List GetNextPriorityQuestsThatCanBeAccepted() { - InventoryManager* ptr = InventoryManager.Instance(); - int gil = ptr->GetItemCountInContainer(1u, InventoryType.Currency, isHq: false, 0); return (from x in GetPriorityQuests() where IsReadyToAcceptQuest(x) select x).Select(delegate(ElementId x) { - if (!_questRegistry.TryGetQuest(x, out Questionable.Model.Quest quest)) + if (!_questRegistry.TryGetQuest(x, out Quest quest)) { return new PriorityQuestInfo(x, "Unknown quest"); } - QuestStep questStep = quest.FindSequence(0)?.FindStep(0); - if (questStep == null) + if (quest.FindSequence(0)?.FindStep(0) == null) { return new PriorityQuestInfo(x, "No sequence 0 with steps"); } - if ((quest.Info.Level > 5 || !(quest.Info is QuestInfo questInfo) || questInfo.ClassJobs.Count <= 0 || !questInfo.ClassJobs.Any((EClassJob classJob) => !classJob.IsCrafter() && !classJob.IsGatherer())) && !_aetheryteFunctions.IsTeleportUnlocked()) - { - return new PriorityQuestInfo(x, "Teleport not unlocked"); - } - if (!questStep.IsTeleportableForPriorityQuests()) - { - return new PriorityQuestInfo(x, "Can't teleport to start"); - } - if (gil < EstimateTeleportCosts(quest)) - { - IFormatProvider invariantCulture = CultureInfo.InvariantCulture; - DefaultInterpolatedStringHandler handler = new DefaultInterpolatedStringHandler(32, 2, invariantCulture); - handler.AppendLiteral("Not enough gil, estimated cost: "); - handler.AppendFormatted(EstimateTeleportCosts(quest), "N0"); - handler.AppendFormatted(SeIconChar.Gil.ToIconString()); - return new PriorityQuestInfo(x, string.Create(invariantCulture, ref handler)); - } - EAetheryteLocation? value = quest.AllSteps().Select<(QuestSequence, int, QuestStep), EAetheryteLocation?>(delegate((QuestSequence Sequence, int StepId, QuestStep Step) y) - { - EAetheryteLocation? aetheryteShortcut = y.Step.AetheryteShortcut; - if (aetheryteShortcut.HasValue) - { - EAetheryteLocation valueOrDefault = aetheryteShortcut.GetValueOrDefault(); - if (!_aetheryteFunctions.IsAetheryteUnlocked(valueOrDefault)) - { - SkipConditions? skipConditions = y.Step.SkipConditions; - if (skipConditions == null || skipConditions.AetheryteShortcutIf?.AetheryteLocked != valueOrDefault) - { - return valueOrDefault; - } - } - } - AethernetShortcut aethernetShortcut = y.Step.AethernetShortcut; - if (aethernetShortcut != null) - { - if (!_aetheryteFunctions.IsAetheryteUnlocked(aethernetShortcut.From)) - { - return aethernetShortcut.From; - } - if (!_aetheryteFunctions.IsAetheryteUnlocked(aethernetShortcut.To)) - { - return aethernetShortcut.To; - } - } - return (EAetheryteLocation?)null; - }).FirstOrDefault((EAetheryteLocation? y) => y.HasValue); - return value.HasValue ? new PriorityQuestInfo(x, $"Aetheryte locked: {value}") : new PriorityQuestInfo(x); + return ((quest.Info.Level > 5 || !(quest.Info is QuestInfo questInfo) || questInfo.ClassJobs.Count <= 0 || !questInfo.ClassJobs.Any((EClassJob classJob) => !classJob.IsCrafter() && !classJob.IsGatherer())) && !_aetheryteFunctions.IsTeleportUnlocked()) ? new PriorityQuestInfo(x, "Teleport not unlocked") : new PriorityQuestInfo(x); }).ToList(); } - private int EstimateTeleportCosts(Questionable.Model.Quest quest) - { - Dictionary cheapTeleports = _aetheryteList.Where((IAetheryteEntry x) => x.IsFavourite || _aetheryteFunctions.IsFreeAetheryte((EAetheryteLocation)x.AetheryteId)).ToDictionary((IAetheryteEntry x) => (EAetheryteLocation)x.AetheryteId, (IAetheryteEntry x) => _aetheryteFunctions.IsFreeAetheryte((EAetheryteLocation)x.AetheryteId) ? 0f : 0.5f); - int baseCost = ((quest.Info.Expansion == EExpansionVersion.ARealmReborn) ? 300 : 1000); - return (from x in quest.AllSteps() - where x.Step.AetheryteShortcut.HasValue - select x).Sum<(QuestSequence, int, QuestStep)>(((QuestSequence Sequence, int StepId, QuestStep Step) x) => (int)((float)baseCost * cheapTeleports.GetValueOrDefault(x.Step.AetheryteShortcut.Value, 1f))); - } - public List GetPriorityQuests(bool onlyClassAndRoleQuests = false) { List list = new List(); @@ -663,33 +363,51 @@ internal sealed class QuestFunctions if (!_configuration.Advanced.SkipClassJobQuests) { EClassJob valueOrDefault = ((EClassJob?)_objectTable.LocalPlayer?.ClassJob.RowId).GetValueOrDefault(); - uint[] shadowbringersRoleQuestChapters = QuestData.AllRoleQuestChapters.Select((IReadOnlyList x) => x[0]).ToArray(); if (valueOrDefault != EClassJob.Adventurer) { - list.AddRange(from x in _questRegistry.GetKnownClassJobQuests(valueOrDefault).Where(delegate(QuestInfo x) - { - if (_questRegistry.TryGetQuest(x.QuestId, out Questionable.Model.Quest quest)) - { - IQuestInfo info = quest.Info; - QuestInfo questInfo = info as QuestInfo; - if (questInfo != null) - { - if (((ReadOnlySpan)shadowbringersRoleQuestChapters).Contains(questInfo.NewGamePlusChapter)) - { - return !QuestData.FinalShadowbringersRoleQuests.Any(IsQuestComplete); - } - if (QuestData.AllRoleQuestChapters.Any((IReadOnlyList y) => y.Contains(questInfo.NewGamePlusChapter))) - { - return false; - } - return true; - } - } - return false; - }) + list.AddRange(from x in _questRegistry.GetKnownClassJobQuests(valueOrDefault, includeRoleQuests: false) select x.QuestId); } } + if (!_configuration.Advanced.SkipRoleQuests) + { + EClassJob valueOrDefault2 = ((EClassJob?)_objectTable.LocalPlayer?.ClassJob.RowId).GetValueOrDefault(); + if (valueOrDefault2 != EClassJob.Adventurer) + { + ERoleQuestPreference roleQuestPreference = _configuration.Advanced.RoleQuestPreference; + if (!QuestData.JobMatchesRolePreference(roleQuestPreference, valueOrDefault2)) + { + _logger.LogDebug("Role quest preference {Preference} does not match current job {ClassJob}, skipping", roleQuestPreference, valueOrDefault2); + } + else + { + IReadOnlyList roleQuestChaptersForPreference = QuestData.GetRoleQuestChaptersForPreference(roleQuestPreference, valueOrDefault2); + IReadOnlyList finalRoleQuests = QuestData.GetFinalRoleQuests(roleQuestPreference, valueOrDefault2); + if (roleQuestChaptersForPreference.Count > 0 && !IsQuestComplete(finalRoleQuests[0])) + { + list.AddRange(from x in _questData.GetRoleQuestsByChapter(roleQuestChaptersForPreference[0]) + where _questRegistry.IsKnownQuest(x.QuestId) + select x.QuestId); + } + if (_configuration.Advanced.ContinueRoleQuestsAfterShb) + { + for (int num = 1; num < roleQuestChaptersForPreference.Count && num < finalRoleQuests.Count; num++) + { + if (!IsQuestComplete(finalRoleQuests[num])) + { + list.AddRange(from x in _questData.GetRoleQuestsByChapter(roleQuestChaptersForPreference[num]) + where _questRegistry.IsKnownQuest(x.QuestId) + select x.QuestId); + } + } + } + } + } + } + if (!onlyClassAndRoleQuests && _configuration.Advanced.AutoPrioritizeAlliedSocietyRankUp) + { + list.AddRange(GetAllRankUpQuestsNeeded()); + } return list.Where(_questRegistry.IsKnownQuest).ToList(); } @@ -699,7 +417,7 @@ internal sealed class QuestFunctions { return false; } - _questRegistry.TryGetQuest(questId, out Questionable.Model.Quest quest); + _questRegistry.TryGetQuest(questId, out Quest quest); if (quest != null) { IQuestInfo info = quest.Info; @@ -719,20 +437,24 @@ internal sealed class QuestFunctions { return false; } + if (_configuration.Advanced.AutoPrioritizeAlliedSocietyRankUp && WouldOvercapAlliedSocietyReputation(questId2)) + { + return false; + } } else if (IsQuestComplete(questId)) { return false; } - goto IL_0082; + goto IL_009f; } } if (IsQuestAcceptedOrComplete(questId)) { return false; } - goto IL_0082; - IL_0082: + goto IL_009f; + IL_009f: if (IsQuestLocked(questId)) { return false; @@ -761,6 +483,14 @@ internal sealed class QuestFunctions return false; } } + if (quest != null && quest.Info.ClassJobs.Count > 0) + { + EClassJob valueOrDefault = ((EClassJob?)_objectTable.LocalPlayer?.ClassJob.RowId).GetValueOrDefault(); + if (valueOrDefault.IsLimitedJob() && !quest.Info.ClassJobs.Contains(valueOrDefault)) + { + return false; + } + } return true; } @@ -784,26 +514,10 @@ internal sealed class QuestFunctions { return IsQuestAccepted(questId); } - if (elementId is SatisfactionSupplyNpcId) - { - return false; - } - if (elementId is AlliedSocietyDailyId) - { - return false; - } if (elementId is UnlockLinkId) { return false; } - if (elementId is AethernetId) - { - return false; - } - if (elementId is AetherCurrentId) - { - return false; - } throw new ArgumentOutOfRangeException("elementId"); } @@ -812,32 +526,59 @@ internal sealed class QuestFunctions return QuestManager.Instance()->IsQuestAccepted(questId.Value); } + public unsafe (QuestId Id, byte Sequence)? GetCurrentQuestWithoutPath() + { + QuestManager* ptr = QuestManager.Instance(); + if (ptr == null) + { + return null; + } + for (int num = ptr->TrackedQuests.Length - 1; num >= 0; num--) + { + TrackingWork trackingWork = ptr->TrackedQuests[num]; + if (trackingWork.QuestType == 1) + { + ushort questId = ptr->NormalQuests[trackingWork.Index].QuestId; + if (questId != 0 && !HasUsablePath(new QuestId(questId))) + { + return (new QuestId(questId), QuestManager.GetQuestSequence(questId)); + } + } + } + for (int i = 0; i < ptr->NormalQuests.Length; i++) + { + QuestWork questWork = ptr->NormalQuests[i]; + if (questWork.QuestId != 0) + { + QuestId questId2 = new QuestId(questWork.QuestId); + if (!HasUsablePath(questId2)) + { + return (questId2, questWork.Sequence); + } + } + } + return null; + } + + private bool HasUsablePath(QuestId questId) + { + if (_questRegistry.TryGetQuest(questId, out Quest quest) && !quest.Root.Disabled) + { + return quest.Root.QuestSequence.Count > 0; + } + return false; + } + public bool IsQuestComplete(ElementId elementId) { if (elementId is QuestId questId) { return IsQuestComplete(questId); } - if (elementId is SatisfactionSupplyNpcId) - { - return false; - } - if (elementId is AlliedSocietyDailyId) - { - return false; - } if (elementId is UnlockLinkId unlockLinkId) { return IsQuestComplete(unlockLinkId); } - if (elementId is AethernetId aethernetId) - { - return IsQuestComplete(aethernetId); - } - if (elementId is AetherCurrentId aetherCurrentId) - { - return IsQuestComplete(aetherCurrentId); - } throw new ArgumentOutOfRangeException("elementId"); } @@ -851,55 +592,16 @@ internal sealed class QuestFunctions return UIState.Instance()->IsUnlockLinkUnlocked(unlockLinkId.Value); } - public bool IsQuestComplete(AethernetId aethernetId) - { - if (!_questRegistry.TryGetQuest(aethernetId, out Questionable.Model.Quest quest)) - { - _logger.LogWarning("Aethernet quest {AethernetId} not found in registry", aethernetId); - return false; - } - List<(QuestSequence, int, QuestStep)> list = (from x in quest.AllSteps() - where x.Step.InteractionType == EInteractionType.AttuneAethernetShard && x.Step.AethernetShard.HasValue - select x).ToList(); - if (list.Count == 0) - { - _logger.LogWarning("Aethernet quest {AethernetId} has no aethernet shard attunement steps", aethernetId); - return false; - } - return list.All<(QuestSequence, int, QuestStep)>(((QuestSequence Sequence, int StepId, QuestStep Step) step) => _aetheryteFunctions.IsAetheryteUnlocked(step.Step.AethernetShard.Value)); - } - - public bool IsQuestComplete(AetherCurrentId aetherCurrentId) - { - return false; - } - public bool IsQuestLocked(ElementId elementId, ElementId? extraCompletedQuest = null) { if (elementId is QuestId questId) { return IsQuestLocked(questId, extraCompletedQuest); } - if (elementId is SatisfactionSupplyNpcId satisfactionSupplyNpcId) - { - return IsQuestLocked(satisfactionSupplyNpcId); - } - if (elementId is AlliedSocietyDailyId alliedSocietyDailyId) - { - return IsQuestLocked(alliedSocietyDailyId); - } if (elementId is UnlockLinkId unlockLinkId) { return IsQuestLocked(unlockLinkId); } - if (elementId is AethernetId aethernetId) - { - return IsQuestLocked(aethernetId); - } - if (elementId is AetherCurrentId aetherCurrentId) - { - return IsQuestLocked(aetherCurrentId); - } throw new ArgumentOutOfRangeException("elementId"); } @@ -910,11 +612,11 @@ internal sealed class QuestFunctions return true; } QuestInfo questInfo = (QuestInfo)_questData.GetQuestInfo(questId); - if (questInfo.GrandCompany != FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany.None) + if (questInfo.GrandCompany != GrandCompany.None) { - FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany grandCompany = GetGrandCompany(); + GrandCompany grandCompany = GetGrandCompany(); byte grandCompanyRank = GetGrandCompanyRank(); - byte requiredGCRank = GetRequiredGCRank(questId); + byte requiredGCRank = QuestData.GetRequiredGCRank(questId); if (questInfo.GrandCompany != grandCompany || grandCompanyRank < requiredGCRank) { if (_alreadyLoggedGcLockedQuests.Add(questId.Value)) @@ -924,13 +626,21 @@ internal sealed class QuestFunctions return true; } } - if (questInfo.AlliedSociety != EAlliedSociety.None && questInfo.IsRepeatable) + if (questInfo.AlliedSociety != EAlliedSociety.None) { - return !IsDailyAlliedSocietyQuestAndAvailableToday(questId); + byte beastTribeRank = PlayerStateHelper.GetBeastTribeRank((byte)questInfo.AlliedSociety); + if (beastTribeRank == 0 || beastTribeRank < questInfo.AlliedSocietyRank) + { + return true; + } + if (questInfo.IsRepeatable) + { + return !IsDailyAlliedSocietyQuestAndAvailableToday(questId); + } } if (_journalData.MoogleDeliveryGenreId.HasValue && questInfo.JournalGenre == _journalData.MoogleDeliveryGenreId.Value) { - byte b = PlayerState.Instance()->DeliveryLevel; + byte b = PlayerStateHelper.GetDeliveryLevel(); if (extraCompletedQuest != null && _questData.TryGetQuestInfo(extraCompletedQuest, out IQuestInfo questInfo2) && questInfo2 is QuestInfo questInfo3 && _journalData.MoogleDeliveryGenreId.HasValue && questInfo3.JournalGenre == _journalData.MoogleDeliveryGenreId.Value) { b++; @@ -940,6 +650,15 @@ internal sealed class QuestFunctions return true; } } + ushort value = questId.Value; + if ((uint)(value - 1432) <= 2u) + { + RetainerManager* ptr = RetainerManager.Instance(); + if (ptr == null || ptr->MaxRetainerEntitlement == 0) + { + return true; + } + } if (HasCompletedPreviousQuests(questInfo, extraCompletedQuest)) { return !HasCompletedPreviousInstances(questInfo); @@ -947,60 +666,11 @@ internal sealed class QuestFunctions return true; } - private bool IsQuestLocked(SatisfactionSupplyNpcId satisfactionSupplyNpcId) - { - SatisfactionSupplyInfo questInfo = (SatisfactionSupplyInfo)_questData.GetQuestInfo(satisfactionSupplyNpcId); - return !HasCompletedPreviousQuests(questInfo, null); - } - - private unsafe bool IsQuestLocked(AlliedSocietyDailyId alliedSocietyDailyId) - { - byte beastTribeRank = PlayerState.Instance()->GetBeastTribeRank(alliedSocietyDailyId.AlliedSociety); - if (beastTribeRank != 0) - { - return beastTribeRank < alliedSocietyDailyId.Rank; - } - return true; - } - private static bool IsQuestLocked(UnlockLinkId unlockLinkId) { return IsQuestUnobtainableStatic(unlockLinkId); } - private bool IsQuestLocked(AethernetId aethernetId) - { - EAetheryteLocation aetheryteLocation = aethernetId.Value switch - { - 1 => EAetheryteLocation.Limsa, - 2 => EAetheryteLocation.Gridania, - 3 => EAetheryteLocation.Uldah, - 4 => EAetheryteLocation.GoldSaucer, - 5 => EAetheryteLocation.Ishgard, - 6 => EAetheryteLocation.Idyllshire, - 7 => EAetheryteLocation.RhalgrsReach, - 8 => EAetheryteLocation.Kugane, - 9 => EAetheryteLocation.DomanEnclave, - 10 => EAetheryteLocation.Crystarium, - 11 => EAetheryteLocation.Eulmore, - 12 => EAetheryteLocation.OldSharlayan, - 13 => EAetheryteLocation.RadzAtHan, - 14 => EAetheryteLocation.Tuliyollal, - 15 => EAetheryteLocation.SolutionNine, - _ => throw new ArgumentOutOfRangeException("aethernetId", $"Unknown AethernetId: {aethernetId.Value}"), - }; - if (!_aetheryteFunctions.IsAetheryteUnlocked(aetheryteLocation)) - { - return true; - } - return false; - } - - private static bool IsQuestLocked(AetherCurrentId aetherCurrentId) - { - return false; - } - public bool IsDailyAlliedSocietyQuest(QuestId questId) { QuestInfo questInfo = (QuestInfo)_questData.GetQuestInfo(questId); @@ -1021,6 +691,46 @@ internal sealed class QuestFunctions return _alliedSocietyQuestFunctions.GetAvailableAlliedSocietyQuests(questInfo.AlliedSociety).Contains(questId); } + public bool WouldOvercapAlliedSocietyReputation(QuestId questId) + { + if (!IsDailyAlliedSocietyQuest(questId)) + { + return false; + } + return _alliedSocietyQuestFunctions.WouldOvercapReputation(questId); + } + + public QuestId? GetRankUpQuestIfAtCapacity(EAlliedSociety alliedSociety) + { + (byte, ushort, ushort, bool, bool)? reputationStatus = _alliedSocietyQuestFunctions.GetReputationStatus(alliedSociety); + if (!reputationStatus.HasValue) + { + return null; + } + var (currentRank, _, _, flag, flag2) = reputationStatus.Value; + if (flag || !flag2) + { + return null; + } + return _alliedSocietyQuestFunctions.GetRankUpQuest(alliedSociety, currentRank); + } + + public List GetAllRankUpQuestsNeeded() + { + List list = new List(); + foreach (EAlliedSociety item in from s in Enum.GetValues() + where s != EAlliedSociety.None + select s) + { + QuestId rankUpQuestIfAtCapacity = GetRankUpQuestIfAtCapacity(item); + if (rankUpQuestIfAtCapacity != null && !IsQuestComplete(rankUpQuestIfAtCapacity) && !IsQuestAccepted(rankUpQuestIfAtCapacity)) + { + list.Add(rankUpQuestIfAtCapacity); + } + } + return list; + } + public bool IsQuestUnobtainable(ElementId elementId, ElementId? extraCompletedQuest = null) { if (elementId is QuestId questId) @@ -1047,27 +757,15 @@ internal sealed class QuestFunctions return true; } - public unsafe bool IsQuestUnobtainable(QuestId questId, ElementId? extraCompletedQuest = null) + public bool IsQuestUnobtainable(QuestId questId, ElementId? extraCompletedQuest = null) { IQuestInfo questInfo = _questData.GetQuestInfo(questId); - if (questInfo is UnlockLinkQuestInfo { QuestExpiry: { TimeOfDay: var timeOfDay } questExpiry }) + if (questInfo is UnlockLinkQuestInfo { QuestExpiry: { } questExpiry }) { - TimeSpan timeSpan = new TimeSpan(23, 59, 59); - bool flag = false; - DateTime dateTime; - if (timeOfDay == TimeSpan.Zero || timeOfDay == timeSpan) - { - dateTime = EventInfoComponent.AtDailyReset(DateOnly.FromDateTime(questExpiry)); - flag = true; - } - else - { - dateTime = ((questExpiry.Kind == DateTimeKind.Utc) ? questExpiry : questExpiry.ToUniversalTime()); - } + DateTime dateTime = ExpiryUtils.NormalizeExpiry(questExpiry); if (_alreadyLoggedUnobtainableQuestsDetailed.Add(questId.Value)) { - _logger.LogDebug("UnlockLink quest {QuestId} expiry raw={ExpiryRaw} Kind={Kind} TimeOfDay={TimeOfDay}", questId, questExpiry.ToString("o"), questExpiry.Kind, questExpiry.TimeOfDay); - _logger.LogDebug("UnlockLink quest {QuestId} normalized expiryUtc={ExpiryUtc:o} treatedAsDailyReset={TreatedAsDailyReset}", questId, dateTime, flag); + _logger.LogDebug("UnlockLink quest {QuestId} expiry raw={ExpiryRaw} normalized={ExpiryUtc:o}", questId, questExpiry.ToString("o"), dateTime); } if (DateTime.UtcNow > dateTime) { @@ -1075,28 +773,29 @@ internal sealed class QuestFunctions } } QuestInfo questInfo2 = (QuestInfo)questInfo; - if ((int)questInfo2.Expansion > (int)PlayerState.Instance()->MaxExpansion) + if ((int)questInfo2.Expansion > (int)PlayerStateHelper.GetMaxExpansion()) { return true; } if (questInfo2.JournalGenre.HasValue && _journalData.SeasonalEventGenreIds.Contains(questInfo2.JournalGenre.Value)) { - if (_questRegistry.TryGetQuest(questId, out Questionable.Model.Quest quest)) + if (_questRegistry.TryGetQuest(questId, out Quest quest)) { List list = quest?.Root?.QuestSequence; if (list != null && list.Count > 0) { - goto IL_01fd; + goto IL_0188; } } if (_alreadyLoggedUnobtainableQuestsDetailed.Add(questId.Value)) { _questData.ApplySeasonalOverride(questId, isSeasonal: true, null); + _logger.LogDebug("Quest {QuestId} unobtainable: journal genre {Genre} is 'event (seasonal)' and no quest path", questId, questInfo2.JournalGenre); } return true; } - goto IL_01fd; - IL_01fd: + goto IL_0188; + IL_0188: if (questInfo2.QuestLocks.Count > 0) { int num = questInfo2.QuestLocks.Count((QuestId x) => IsQuestComplete(x) || x.Equals(extraCompletedQuest)); @@ -1113,10 +812,7 @@ internal sealed class QuestFunctions if (seasonalQuestExpiry.HasValue) { DateTime valueOrDefault = seasonalQuestExpiry.GetValueOrDefault(); - TimeSpan timeOfDay2 = valueOrDefault.TimeOfDay; - TimeSpan timeSpan2 = new TimeSpan(23, 59, 59); - DateTime dateTime2 = ((!(timeOfDay2 == TimeSpan.Zero) && !(timeOfDay2 == timeSpan2)) ? ((valueOrDefault.Kind == DateTimeKind.Utc) ? valueOrDefault : valueOrDefault.ToUniversalTime()) : EventInfoComponent.AtDailyReset(DateOnly.FromDateTime(valueOrDefault))); - if (DateTime.UtcNow > dateTime2) + if (DateTime.UtcNow > ExpiryUtils.NormalizeExpiry(valueOrDefault)) { return true; } @@ -1125,11 +821,11 @@ internal sealed class QuestFunctions { return true; } - if (_questData.GetLockedClassQuests().Contains(questId)) + if (QuestData.GetLockedClassQuests().Contains(questId)) { return true; } - byte startTown = PlayerState.Instance()->StartTown; + byte startTown = PlayerStateHelper.GetStartTown(); if (questInfo2.StartingCity > 0 && questInfo2.StartingCity != startTown) { return true; @@ -1142,42 +838,7 @@ internal sealed class QuestFunctions { return true; } - Dictionary dictionary = new Dictionary - { - { - 108, - EClassJob.Marauder - }, - { - 109, - EClassJob.Arcanist - }, - { - 85, - EClassJob.Lancer - }, - { - 123, - EClassJob.Archer - }, - { - 124, - EClassJob.Conjurer - }, - { - 568, - EClassJob.Gladiator - }, - { - 569, - EClassJob.Pugilist - }, - { - 570, - EClassJob.Thaumaturge - } - }; - if (dictionary.TryGetValue(questId.Value, out var value) && dictionary.Any((KeyValuePair x) => IsQuestAcceptedOrComplete(new QuestId(x.Key))) && (EClassJob)PlayerState.Instance()->FirstClass != value) + if (CloseToHomeQuests.TryGetValue(questId.Value, out var value) && CloseToHomeQuests.Any((KeyValuePair x) => IsQuestAcceptedOrComplete(new QuestId(x.Key))) && (EClassJob)PlayerStateHelper.GetFirstClass() != value) { return true; } @@ -1209,22 +870,12 @@ internal sealed class QuestFunctions { if (elementId is QuestId questId) { - return IsQuestRemoved(questId); + return RemovedQuestIds.Contains(questId.Value); } return false; } - private bool IsQuestRemoved(QuestId questId) - { - ushort value = questId.Value; - if (value == 487 || (uint)(value - 1428) <= 1u) - { - return true; - } - return false; - } - - private bool HasCompletedPreviousQuests(IQuestInfo questInfo, ElementId? extraCompletedQuest) + private bool HasCompletedPreviousQuests(QuestInfo questInfo, ElementId? extraCompletedQuest) { if (questInfo.PreviousQuests.Count == 0) { @@ -1278,35 +929,24 @@ internal sealed class QuestFunctions return false; } - public unsafe bool IsClassJobUnlocked(EClassJob classJob) + public bool IsClassJobUnlocked(EClassJob classJob) { - ClassJob row = _dataManager.GetExcelSheet().GetRow((uint)classJob); - ushort num = (ushort)row.UnlockQuest.RowId; - if (num != 0) - { - return IsQuestComplete(new QuestId(num)); - } - PlayerState* ptr = PlayerState.Instance(); - if (ptr != null) - { - return ptr->ClassJobLevels[row.ExpArrayIndex] > 0; - } - return false; + return ClassJobHelper.IsClassJobUnlocked(classJob, _dataManager); } public bool IsJobUnlocked(EClassJob classJob) { - return IsClassJobUnlocked((EClassJob)_dataManager.GetExcelSheet().GetRow((uint)classJob).ClassJobParent.RowId); + return ClassJobHelper.IsJobUnlocked(classJob, _dataManager); } - public unsafe FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany GetGrandCompany() + public static GrandCompany GetGrandCompany() { - return (FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany)PlayerState.Instance()->GrandCompany; + return GrandCompanyHelper.GetGrandCompany(); } - public unsafe byte GetGrandCompanyRank() + public static byte GetGrandCompanyRank() { - return PlayerState.Instance()->GetGrandCompanyRank(); + return GrandCompanyHelper.GetGrandCompanyRank(); } public bool IsMainScenarioQuestComplete() @@ -1330,7 +970,7 @@ internal sealed class QuestFunctions { return (isLevelLocked: false, levelsNeeded: 0, requiredLevel: 0, questName: null); } - if (_questRegistry.TryGetQuest(item.CurrentQuest, out Questionable.Model.Quest quest)) + if (_questRegistry.TryGetQuest(item.CurrentQuest, out Quest quest)) { int level = quest.Info.Level; if (level <= b) diff --git a/Questionable/Questionable.LgbWorker/LevelEntry.cs b/Questionable/Questionable.LgbWorker/LevelEntry.cs new file mode 100644 index 0000000..ae2943d --- /dev/null +++ b/Questionable/Questionable.LgbWorker/LevelEntry.cs @@ -0,0 +1,21 @@ +using System.Text.Json.Serialization; + +namespace Questionable.LgbWorker; + +internal sealed class LevelEntry +{ + [JsonPropertyName("objectId")] + public uint ObjectId { get; set; } + + [JsonPropertyName("territoryId")] + public ushort TerritoryId { get; set; } + + [JsonPropertyName("x")] + public float X { get; set; } + + [JsonPropertyName("y")] + public float Y { get; set; } + + [JsonPropertyName("z")] + public float Z { get; set; } +} diff --git a/Questionable/Questionable.LgbWorker/LgbMessageType.cs b/Questionable/Questionable.LgbWorker/LgbMessageType.cs new file mode 100644 index 0000000..59c9147 --- /dev/null +++ b/Questionable/Questionable.LgbWorker/LgbMessageType.cs @@ -0,0 +1,7 @@ +namespace Questionable.LgbWorker; + +internal enum LgbMessageType : byte +{ + Progress = 1, + Final +} diff --git a/Questionable/Questionable.LgbWorker/LgbWorkerFraming.cs b/Questionable/Questionable.LgbWorker/LgbWorkerFraming.cs new file mode 100644 index 0000000..21bb26b --- /dev/null +++ b/Questionable/Questionable.LgbWorker/LgbWorkerFraming.cs @@ -0,0 +1,80 @@ +using System; +using System.IO; +using System.Text; + +namespace Questionable.LgbWorker; + +internal static class LgbWorkerFraming +{ + public static void Write(Stream stream, in LgbWorkerMessage message) + { + using MemoryStream memoryStream = new MemoryStream(); + using BinaryWriter binaryWriter = new BinaryWriter(memoryStream, Encoding.UTF8, leaveOpen: true); + binaryWriter.Write((byte)message.Type); + switch (message.Type) + { + case LgbMessageType.Progress: + binaryWriter.Write(message.Done); + binaryWriter.Write(message.Total); + break; + case LgbMessageType.Final: + binaryWriter.Write(message.Success); + binaryWriter.Write(message.DurationMs); + binaryWriter.Write(message.Error ?? string.Empty); + break; + default: + throw new ArgumentOutOfRangeException("message"); + } + binaryWriter.Flush(); + byte[] array = memoryStream.ToArray(); + Span span = stackalloc byte[4]; + BitConverter.TryWriteBytes(span, array.Length); + stream.Write(span); + stream.Write(array); + } + + public static LgbWorkerMessage Read(Stream stream) + { + Span span = stackalloc byte[4]; + ReadExact(stream, span); + int num = BitConverter.ToInt32(span); + if ((num <= 0 || num > 65536) ? true : false) + { + throw new InvalidDataException($"Invalid frame length: {num}"); + } + byte[] array = new byte[num]; + ReadExact(stream, array); + using BinaryReader binaryReader = new BinaryReader(new MemoryStream(array), Encoding.UTF8); + LgbMessageType lgbMessageType = (LgbMessageType)binaryReader.ReadByte(); + return lgbMessageType switch + { + LgbMessageType.Progress => new LgbWorkerMessage + { + Type = lgbMessageType, + Done = binaryReader.ReadInt32(), + Total = binaryReader.ReadInt32() + }, + LgbMessageType.Final => new LgbWorkerMessage + { + Type = lgbMessageType, + Success = binaryReader.ReadBoolean(), + DurationMs = binaryReader.ReadInt64(), + Error = binaryReader.ReadString() + }, + _ => throw new InvalidDataException($"Unknown message type: {lgbMessageType}"), + }; + } + + private static void ReadExact(Stream stream, Span buffer) + { + int num; + for (int i = 0; i < buffer.Length; i += num) + { + num = stream.Read(buffer.Slice(i)); + if (num == 0) + { + throw new EndOfStreamException(); + } + } + } +} diff --git a/Questionable/Questionable.LgbWorker/LgbWorkerManifest.cs b/Questionable/Questionable.LgbWorker/LgbWorkerManifest.cs new file mode 100644 index 0000000..bc6eaf8 --- /dev/null +++ b/Questionable/Questionable.LgbWorker/LgbWorkerManifest.cs @@ -0,0 +1,42 @@ +using System.Collections.Generic; +using System.IO; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Questionable.LgbWorker; + +internal sealed class LgbWorkerManifest +{ + [JsonPropertyName("sqpackPath")] + public string SqpackPath { get; set; } = string.Empty; + + [JsonPropertyName("gameVersion")] + public string GameVersion { get; set; } = string.Empty; + + [JsonPropertyName("npcCachePath")] + public string NpcCachePath { get; set; } = string.Empty; + + [JsonPropertyName("boundaryCachePath")] + public string BoundaryCachePath { get; set; } = string.Empty; + + [JsonPropertyName("territories")] + public List Territories { get; set; } = new List(); + + [JsonPropertyName("levelEntries")] + public List LevelEntries { get; set; } = new List(); + + public static LgbWorkerManifest Load(string path) + { + using FileStream utf8Json = File.OpenRead(path); + LgbWorkerManifest? obj = JsonSerializer.Deserialize(utf8Json) ?? throw new InvalidDataException("Manifest deserialized to null"); + if (string.IsNullOrWhiteSpace(obj.SqpackPath)) + { + throw new InvalidDataException("SqpackPath is missing"); + } + if (string.IsNullOrWhiteSpace(obj.GameVersion)) + { + throw new InvalidDataException("GameVersion is missing"); + } + return obj; + } +} diff --git a/Questionable/Questionable.LgbWorker/LgbWorkerMessage.cs b/Questionable/Questionable.LgbWorker/LgbWorkerMessage.cs new file mode 100644 index 0000000..a0fd9e4 --- /dev/null +++ b/Questionable/Questionable.LgbWorker/LgbWorkerMessage.cs @@ -0,0 +1,16 @@ +namespace Questionable.LgbWorker; + +internal readonly struct LgbWorkerMessage +{ + public LgbMessageType Type { get; init; } + + public int Done { get; init; } + + public int Total { get; init; } + + public bool Success { get; init; } + + public long DurationMs { get; init; } + + public string? Error { get; init; } +} diff --git a/Questionable/Questionable.LgbWorker/TerritoryEntry.cs b/Questionable/Questionable.LgbWorker/TerritoryEntry.cs new file mode 100644 index 0000000..d347f13 --- /dev/null +++ b/Questionable/Questionable.LgbWorker/TerritoryEntry.cs @@ -0,0 +1,18 @@ +using System.Text.Json.Serialization; + +namespace Questionable.LgbWorker; + +internal sealed class TerritoryEntry +{ + [JsonPropertyName("rowId")] + public uint RowId { get; set; } + + [JsonPropertyName("bgPath")] + public string BgPath { get; set; } = string.Empty; + + [JsonPropertyName("intendedUse")] + public byte IntendedUse { get; set; } + + [JsonPropertyName("hasAetheryte")] + public bool HasAetheryte { get; set; } +} diff --git a/Questionable/Questionable.Model/CofferReward.cs b/Questionable/Questionable.Model/CofferReward.cs new file mode 100644 index 0000000..5ab19a9 --- /dev/null +++ b/Questionable/Questionable.Model/CofferReward.cs @@ -0,0 +1,24 @@ +using System.Runtime.CompilerServices; + +namespace Questionable.Model; + +public sealed record CofferReward : ItemReward +{ + public override EItemRewardType Type => EItemRewardType.Coffer; + + public CofferReward(ItemRewardDetails Item) + : base(Item) + { + } + + public override bool IsUnlocked() + { + return false; + } + + [CompilerGenerated] + public new void Deconstruct(out ItemRewardDetails Item) + { + Item = base.Item; + } +} diff --git a/Questionable/Questionable.Model/EItemRewardType.cs b/Questionable/Questionable.Model/EItemRewardType.cs index c82fc6f..07c57aa 100644 --- a/Questionable/Questionable.Model/EItemRewardType.cs +++ b/Questionable/Questionable.Model/EItemRewardType.cs @@ -6,5 +6,7 @@ public enum EItemRewardType Minion, OrchestrionRoll, TripleTriadCard, - FashionAccessory + FashionAccessory, + Coffer, + UnlockLink } diff --git a/Questionable/Questionable.Model/EStuckRecoveryMode.cs b/Questionable/Questionable.Model/EStuckRecoveryMode.cs new file mode 100644 index 0000000..2632aed --- /dev/null +++ b/Questionable/Questionable.Model/EStuckRecoveryMode.cs @@ -0,0 +1,8 @@ +namespace Questionable.Model; + +internal enum EStuckRecoveryMode +{ + Aggressive, + Conservative, + Passive +} diff --git a/Questionable/Questionable.Model/FashionAccessoryReward.cs b/Questionable/Questionable.Model/FashionAccessoryReward.cs index 21a4224..62973c1 100644 --- a/Questionable/Questionable.Model/FashionAccessoryReward.cs +++ b/Questionable/Questionable.Model/FashionAccessoryReward.cs @@ -1,5 +1,5 @@ using System.Runtime.CompilerServices; -using FFXIVClientStructs.FFXIV.Client.Game.UI; +using LLib.GameData; namespace Questionable.Model; @@ -15,9 +15,9 @@ public sealed record FashionAccessoryReward : ItemReward base._002Ector(Item); } - public unsafe override bool IsUnlocked() + public override bool IsUnlocked() { - return PlayerState.Instance()->IsOrnamentUnlocked(AccessoryId); + return PlayerStateHelper.IsOrnamentUnlocked(AccessoryId); } [CompilerGenerated] diff --git a/Questionable/Questionable.Model/ItemReward.cs b/Questionable/Questionable.Model/ItemReward.cs index 204ce18..39c9def 100644 --- a/Questionable/Questionable.Model/ItemReward.cs +++ b/Questionable/Questionable.Model/ItemReward.cs @@ -1,4 +1,5 @@ using System; +using LLib.Inventory; using Lumina.Excel.Sheets; using Questionable.Model.Questing; @@ -14,16 +15,18 @@ public abstract record ItemReward(ItemRewardDetails Item) public TimeSpan CastTime => Item.CastTime; + public bool IsUntradable => Item.IsUntradable; + public abstract EItemRewardType Type { get; } internal static ItemReward? CreateFromItem(Item item, ElementId elementId) { - uint? num = item.ItemAction.ValueNullable?.RowId; + uint? num = item.ItemAction.ValueNullable?.Action.RowId; if (num.HasValue && num == 1322) { return new MountReward(new ItemRewardDetails(item, elementId), item.ItemAction.Value.Data[0]); } - num = item.ItemAction.ValueNullable?.RowId; + num = item.ItemAction.ValueNullable?.Action.RowId; if (num.HasValue && num == 853) { return new MinionReward(new ItemRewardDetails(item, elementId), item.ItemAction.Value.Data[0]); @@ -40,11 +43,20 @@ public abstract record ItemReward(ItemRewardDetails Item) TripleTriadCard valueOrDefault4 = valueOrDefault3.GetValueOrDefault(); return new TripleTriadCardReward(new ItemRewardDetails(item, elementId), (ushort)valueOrDefault4.RowId); } - num = item.ItemAction.ValueNullable?.RowId; + num = item.ItemAction.ValueNullable?.Action.RowId; if (num.HasValue && num == 20086) { return new FashionAccessoryReward(new ItemRewardDetails(item, elementId), item.ItemAction.Value.Data[0]); } + num = item.ItemAction.ValueNullable?.Action.RowId; + if (num.HasValue && num == 2633) + { + return new UnlockLinkReward(new ItemRewardDetails(item, elementId), item.ItemAction.Value.Data[0]); + } + if (CofferHelper.IsGearCoffer(item)) + { + return new CofferReward(new ItemRewardDetails(item, elementId)); + } return null; } diff --git a/Questionable/Questionable.Model/ItemRewardDetails.cs b/Questionable/Questionable.Model/ItemRewardDetails.cs index aaeef1b..db215ed 100644 --- a/Questionable/Questionable.Model/ItemRewardDetails.cs +++ b/Questionable/Questionable.Model/ItemRewardDetails.cs @@ -13,6 +13,8 @@ public sealed class ItemRewardDetails public TimeSpan CastTime { get; } = TimeSpan.FromSeconds(item.CastTimeSeconds); + public bool IsUntradable { get; } = item.IsUntradable; + public ElementId ElementId { get; } public ItemRewardDetails(Item item, ElementId elementId) diff --git a/Questionable/Questionable.Model/MountReward.cs b/Questionable/Questionable.Model/MountReward.cs index 2c797f9..3677dd5 100644 --- a/Questionable/Questionable.Model/MountReward.cs +++ b/Questionable/Questionable.Model/MountReward.cs @@ -1,5 +1,5 @@ using System.Runtime.CompilerServices; -using FFXIVClientStructs.FFXIV.Client.Game.UI; +using LLib.GameData; namespace Questionable.Model; @@ -15,9 +15,9 @@ public sealed record MountReward : ItemReward base._002Ector(Item); } - public unsafe override bool IsUnlocked() + public override bool IsUnlocked() { - return PlayerState.Instance()->IsMountUnlocked(MountId); + return PlayerStateHelper.IsMountUnlocked(MountId); } [CompilerGenerated] diff --git a/Questionable/Questionable.Model/OrchestrionRollReward.cs b/Questionable/Questionable.Model/OrchestrionRollReward.cs index d315040..6c4cba3 100644 --- a/Questionable/Questionable.Model/OrchestrionRollReward.cs +++ b/Questionable/Questionable.Model/OrchestrionRollReward.cs @@ -1,5 +1,5 @@ using System.Runtime.CompilerServices; -using FFXIVClientStructs.FFXIV.Client.Game.UI; +using LLib.GameData; namespace Questionable.Model; @@ -15,9 +15,9 @@ public sealed record OrchestrionRollReward : ItemReward base._002Ector(Item); } - public unsafe override bool IsUnlocked() + public override bool IsUnlocked() { - return PlayerState.Instance()->IsOrchestrionRollUnlocked(OrchestrionRollId); + return PlayerStateHelper.IsOrchestrionRollUnlocked(OrchestrionRollId); } [CompilerGenerated] diff --git a/Questionable/Questionable.Model/Quest.cs b/Questionable/Questionable.Model/Quest.cs index c0e9f1b..bd4a0b3 100644 --- a/Questionable/Questionable.Model/Quest.cs +++ b/Questionable/Questionable.Model/Quest.cs @@ -21,9 +21,11 @@ internal sealed class Quest public required ESource Source { get; init; } + public string? SourcePath { get; init; } + public QuestSequence? FindSequence(byte currentSequence) { - return Root.QuestSequence.SingleOrDefault((QuestSequence seq) => seq.Sequence == currentSequence); + return Root.QuestSequence.FirstOrDefault((QuestSequence seq) => seq.Sequence == currentSequence); } public IEnumerable AllSequences() diff --git a/Questionable/Questionable.Model/QuestInfo.cs b/Questionable/Questionable.Model/QuestInfo.cs index de80595..4c84c06 100644 --- a/Questionable/Questionable.Model/QuestInfo.cs +++ b/Questionable/Questionable.Model/QuestInfo.cs @@ -68,7 +68,7 @@ internal sealed class QuestInfo : IQuestInfo public bool IsSeasonalQuest { get; internal set; } - public QuestInfo(Lumina.Excel.Sheets.Quest ogquest, QuestEx quest, uint newGamePlusChapter, byte startingCity, JournalGenreOverrides journalGenreOverrides, bool isSeasonalEventQuest = false, DateTime? seasonalQuestExpiry = null) + public QuestInfo(Lumina.Excel.Sheets.Quest quest, uint newGamePlusChapter, byte startingCity, bool isSeasonalEventQuest = false, DateTime? seasonalQuestExpiry = null) { QuestId = Questionable.Model.Questing.QuestId.FromRowId(quest.RowId); string value = QuestId.Value switch @@ -104,47 +104,8 @@ internal sealed class QuestInfo : IQuestInfo where x.Value != 0 select x).ToImmutableList(); QuestLockJoin = (EQuestJoin)quest.QuestLockJoin; - (uint?, ushort?) tuple; - switch (QuestId.Value) - { - case 1119: - case 1120: - case 1121: - case 1122: - case 1123: - case 1124: - case 1125: - case 1126: - case 1127: - case 1579: - tuple = (journalGenreOverrides.ARelicRebornQuests, (ushort)0); - break; - case 4196: - case 4197: - case 4198: - case 4199: - case 4200: - case 4201: - case 4202: - case 4203: - case 4204: - case 4205: - case 4206: - case 4207: - case 4208: - case 4209: - tuple = (journalGenreOverrides.ThavnairSideQuests, null); - break; - case 4173: - tuple = (journalGenreOverrides.RadzAtHanSideQuests, null); - break; - default: - tuple = (quest.JournalGenre.ValueNullable?.RowId, null); - break; - } - (uint?, ushort?) tuple2 = tuple; - JournalGenre = tuple2.Item1; - SortKey = tuple2.Item2 ?? quest.SortKey; + JournalGenre = quest.JournalGenre.ValueNullable?.RowId; + SortKey = quest.SortKey; JournalGenre? valueNullable = quest.JournalGenre.ValueNullable; IsMainScenarioQuest = valueNullable.HasValue && valueNullable.GetValueOrDefault().Icon == 61412; CompletesInstantly = quest.TodoParams[0].ToDoCompleteSeq == 0; @@ -161,16 +122,20 @@ internal sealed class QuestInfo : IQuestInfo IsSeasonalEvent = quest.Festival.RowId != 0; IsSeasonalQuest = isSeasonalEventQuest; SeasonalQuestExpiry = (IsSeasonalQuest ? seasonalQuestExpiry : ((DateTime?)null)); - SeasonalQuestExpiry = seasonalQuestExpiry; NewGamePlusChapter = newGamePlusChapter; StartingCity = startingCity; MoogleDeliveryLevel = (byte)quest.DeliveryQuest.RowId; - ItemRewards = (from Item x in from x in quest.Reward - where x.RowId != 0 && x.Is() - select x.GetValueOrDefault() into x - where x.HasValue - select x - where x.IsUntradable + IEnumerable first = (from x in quest.Reward + where x.RowId != 0 && x.Is() + select x.GetValueOrDefault() into x + where x.HasValue + select x).Cast(); + IEnumerable second = from x in quest.OptionalItemReward + where x.RowId != 0 + select x.ValueNullable into x + where x.HasValue + select x.Value; + ItemRewards = (from x in first.Concat(second) select ItemReward.CreateFromItem(x, QuestId) into x where x != null select x).Cast().ToList(); diff --git a/Questionable/Questionable.Model/QuestInfoUtils.cs b/Questionable/Questionable.Model/QuestInfoUtils.cs index 8d673dd..2190f47 100644 --- a/Questionable/Questionable.Model/QuestInfoUtils.cs +++ b/Questionable/Questionable.Model/QuestInfoUtils.cs @@ -194,6 +194,10 @@ internal static class QuestInfoUtils { EClassJob.Pictomancer, value.PCT + }, + { + EClassJob.Beastmaster, + value.Unknown0 } } where y.Value diff --git a/Questionable/Questionable.Model/SatisfactionSupplyInfo.cs b/Questionable/Questionable.Model/SatisfactionSupplyInfo.cs index 7e96db1..16ca169 100644 --- a/Questionable/Questionable.Model/SatisfactionSupplyInfo.cs +++ b/Questionable/Questionable.Model/SatisfactionSupplyInfo.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using System.Collections.Immutable; +using System.Runtime.CompilerServices; using LLib.GameData; using Lumina.Excel.Sheets; using Questionable.Model.Questing; @@ -33,21 +34,41 @@ internal sealed class SatisfactionSupplyInfo : IQuestInfo public EExpansionVersion Expansion { get; } - public IReadOnlyList ClassJobs { get; } = new global::_003C_003Ez__ReadOnlyArray(new EClassJob[2] - { - EClassJob.Miner, - EClassJob.Botanist - }); + public IReadOnlyList ClassJobs { get; } public SatisfactionSupplyInfo(SatisfactionNpc npc) { - QuestId = new SatisfactionSupplyNpcId((ushort)npc.RowId); + EClassJob[] array = new EClassJob[11]; + _206F_202A_200E_200F_206A_202C_202D_202A_200C_200C_206F_202C_206F_200B_206F_206D_202A_206F_200B_202D_200B_200F_202B_206B_200B_206E_202C_206A_206A_202B_200B_206A_200B_200C_200B_206C_200D_200C_200D_200C_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + ClassJobs = new global::_003C_003Ez__ReadOnlyArray(array); + base._002Ector(); + QuestId = _206E_200E_202A_206F_202E_200D_202E_200E_206E_200B_202C_200D_202C_202C_202C_202B_200C_202A_200D_200F_206E_200E_202C_202A_206A_206F_200B_206C_206B_206C_202D_202C_206F_200F_200C_202C_206D_206C_202B_202C_202E((ushort)npc.RowId); Name = npc.Npc.Value.Singular.ToString(); IssuerDataId = npc.Npc.RowId; Level = npc.LevelUnlock; - SortKey = QuestId.Value; + SortKey = _200B_202B_206E_206F_206B_206A_202D_202A_200B_202D_206F_202B_206C_206E_202D_202B_206C_206C_200C_206D_202D_200D_200F_200C_202E_206A_206F_206D_200F_200C_206C_200E_200B_206D_202E_206E_200B_206A_206B_202C_202E(QuestId); Expansion = (EExpansionVersion)npc.QuestRequired.Value.Expansion.RowId; - PreviousQuestInfo reference = new PreviousQuestInfo(Questionable.Model.Questing.QuestId.FromRowId(npc.QuestRequired.RowId), 0); + PreviousQuestInfo reference = new PreviousQuestInfo(_202A_200D_206C_200E_206B_200B_202C_206F_206F_200C_202A_206C_200D_202B_206D_206C_206E_202C_200F_202A_206D_206A_200E_206B_202C_206B_206C_202B_206A_206C_200B_206E_202B_202D_200F_206C_200B_202D_202A_200D_202E(npc.QuestRequired.RowId), 0); PreviousQuests = ImmutableList.Create(new ReadOnlySpan(in reference)); } + + static void _206F_202A_200E_200F_206A_202C_202D_202A_200C_200C_206F_202C_206F_200B_206F_206D_202A_206F_200B_202D_200B_200F_202B_206B_200B_206E_202C_206A_206A_202B_200B_206A_200B_200C_200B_206C_200D_200C_200D_200C_202E(Array P_0, RuntimeFieldHandle P_1) + { + RuntimeHelpers.InitializeArray(P_0, P_1); + } + + static SatisfactionSupplyNpcId _206E_200E_202A_206F_202E_200D_202E_200E_206E_200B_202C_200D_202C_202C_202C_202B_200C_202A_200D_200F_206E_200E_202C_202A_206A_206F_200B_206C_206B_206C_202D_202C_206F_200F_200C_202C_206D_206C_202B_202C_202E(ushort P_0) + { + return new SatisfactionSupplyNpcId(P_0); + } + + static ushort _200B_202B_206E_206F_206B_206A_202D_202A_200B_202D_206F_202B_206C_206E_202D_202B_206C_206C_200C_206D_202D_200D_200F_200C_202E_206A_206F_206D_200F_200C_206C_200E_200B_206D_202E_206E_200B_206A_206B_202C_202E(ElementId P_0) + { + return P_0.Value; + } + + static QuestId _202A_200D_206C_200E_206B_200B_202C_206F_206F_200C_202A_206C_200D_202B_206D_206C_206E_202C_200F_202A_206D_206A_200E_206B_202C_206B_206C_202B_206A_206C_200B_206E_202B_202D_200F_206C_200B_202D_202A_200D_202E(uint P_0) + { + return Questionable.Model.Questing.QuestId.FromRowId(P_0); + } } diff --git a/Questionable/Questionable.Model/UnlockLinkReward.cs b/Questionable/Questionable.Model/UnlockLinkReward.cs new file mode 100644 index 0000000..845253b --- /dev/null +++ b/Questionable/Questionable.Model/UnlockLinkReward.cs @@ -0,0 +1,29 @@ +using System.Runtime.CompilerServices; +using FFXIVClientStructs.FFXIV.Client.Game.UI; + +namespace Questionable.Model; + +public sealed record UnlockLinkReward : ItemReward +{ + public uint UnlockLinkId { get; init; } + + public override EItemRewardType Type => EItemRewardType.UnlockLink; + + public UnlockLinkReward(ItemRewardDetails Item, uint UnlockLinkId) + { + this.UnlockLinkId = UnlockLinkId; + base._002Ector(Item); + } + + public unsafe override bool IsUnlocked() + { + return UIState.Instance()->IsUnlockLinkUnlocked(UnlockLinkId); + } + + [CompilerGenerated] + public void Deconstruct(out ItemRewardDetails Item, out uint UnlockLinkId) + { + Item = base.Item; + UnlockLinkId = this.UnlockLinkId; + } +} diff --git a/Questionable/Questionable.Navigation/QuestionablePlayerContext.cs b/Questionable/Questionable.Navigation/QuestionablePlayerContext.cs new file mode 100644 index 0000000..3e37df8 --- /dev/null +++ b/Questionable/Questionable.Navigation/QuestionablePlayerContext.cs @@ -0,0 +1,47 @@ +using Questionable.Functions; +using Questionable.Model.Questing; +using SmartNav; +using SmartNav.Model; + +namespace Questionable.Navigation; + +internal sealed class QuestionablePlayerContext(Configuration configuration, QuestFunctions questFunctions, AetheryteFunctions aetheryteFunctions, GameFunctions gameFunctions) : IPlayerContext +{ + public uint? CurrentMsqQuestId + { + get + { + if (!(questFunctions.GetMainScenarioQuest().Item1.CurrentQuest is QuestId questId)) + { + return null; + } + return questId.Value; + } + } + + public int GilReserve => configuration.Navigation.GilReserve; + + public bool PreferFreeTravel => configuration.Navigation.PreferFreeTravel; + + public bool UseTeleportTickets => configuration.Navigation.UseTeleportTickets; + + public bool IsAetheryteUnlocked(EAetheryteLocation aetheryte) + { + return aetheryteFunctions.IsAetheryteUnlocked(aetheryte); + } + + public bool IsFlyingUnlocked(uint territoryId) + { + return gameFunctions.IsFlyingUnlockedPersistent(territoryId); + } + + public bool IsTeleportUnlocked() + { + return aetheryteFunctions.IsTeleportUnlocked(); + } + + public bool IsReturnAvailable() + { + return aetheryteFunctions.IsReturnAvailable(); + } +} diff --git a/Questionable/Questionable.Navigation/SmartNavReRouteService.cs b/Questionable/Questionable.Navigation/SmartNavReRouteService.cs new file mode 100644 index 0000000..64fbd94 --- /dev/null +++ b/Questionable/Questionable.Navigation/SmartNavReRouteService.cs @@ -0,0 +1,83 @@ +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using Microsoft.Extensions.Logging; +using Questionable.Controller.Steps; +using Questionable.Controller.Steps.Common; +using Questionable.Controller.Steps.Movement; +using Questionable.Controller.Steps.Shared; +using SmartNav; + +namespace Questionable.Navigation; + +internal sealed class SmartNavReRouteService(ReRoutePolicy reRoutePolicy, SmartNavTaskMapper taskMapper, Configuration configuration, ILogger logger) +{ + public void SetDestination(uint territoryId, Vector3 position) + { + reRoutePolicy.SetDestination(territoryId, position); + } + + public void ClearDestination() + { + reRoutePolicy.ClearDestination(); + } + + public bool HandleMovementFailure(TaskQueue taskQueue) + { + if (!configuration.Navigation.ReRouteOnFailure) + { + return false; + } + string failedTargetNodeId = null; + string failedApproachNodeId = null; + if (taskQueue.CurrentTaskExecutor?.CurrentTask is MoveTask moveTask) + { + string routeTargetNodeId = moveTask.RouteTargetNodeId; + if (routeTargetNodeId != null) + { + failedTargetNodeId = routeTargetNodeId; + failedApproachNodeId = moveTask.RouteApproachNodeId; + } + } + List list = ExtractNonMovementTasks(taskQueue); + ReRouteDecision reRouteDecision = reRoutePolicy.HandleMovementFailure(failedTargetNodeId, failedApproachNodeId, list.Count > 0); + if (!(reRouteDecision is ReRouteDecision.SkipMovement)) + { + if (reRouteDecision is ReRouteDecision.Replan replan) + { + taskQueue.Reset(); + foreach (ITask item in taskMapper.MapInstructions(replan.Instructions)) + { + taskQueue.Enqueue(item); + } + foreach (ITask item2 in list) + { + taskQueue.Enqueue(item2); + } + return true; + } + return false; + } + taskQueue.Reset(); + foreach (ITask item3 in list) + { + taskQueue.Enqueue(item3); + } + logger.LogInformation("Re-route: skipping movement with {TaskCount} preserved tasks", list.Count); + return true; + } + + private static List ExtractNonMovementTasks(TaskQueue taskQueue) + { + return taskQueue.RemainingTasks.Where((ITask t) => !IsMovementTask(t)).ToList(); + } + + private static bool IsMovementTask(ITask task) + { + if (task is MoveTask || task is LandTask || task is Mount.MountTask || task is AetheryteTeleport.Task || task is AethernetRide.Task || task is WaitNavmesh.Task || task is WaitCondition.Task || task is WarpInteract.Task || task is TaxiInteract.Task || task is SubRegionTransport.Task || task is TicketTeleport.Task) + { + return true; + } + return false; + } +} diff --git a/Questionable/Questionable.Navigation/SmartNavRouteEnqueuer.cs b/Questionable/Questionable.Navigation/SmartNavRouteEnqueuer.cs new file mode 100644 index 0000000..a21bd26 --- /dev/null +++ b/Questionable/Questionable.Navigation/SmartNavRouteEnqueuer.cs @@ -0,0 +1,159 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using Microsoft.Extensions.Logging; +using Questionable.Controller.Steps; +using Questionable.Controller.Steps.Movement; +using SmartNav; + +namespace Questionable.Navigation; + +internal sealed class SmartNavRouteEnqueuer(NavRouter navRouter, PlayerNavStateBuilder playerNavStateBuilder, RouteInstructionBuilder instructionBuilder, SmartNavTaskMapper taskMapper, SmartNavReRouteService reRouteService, ILogger logger) +{ + public void Enqueue(TaskQueue taskQueue, uint territoryId, Vector3 position, float? fallbackStopDistance = null) + { + if (!TryEnqueueRouted(taskQueue, territoryId, position)) + { + taskQueue.Enqueue(new MoveTask((ushort)territoryId, position, null, MountRequired: false, DismountRequired: false, fallbackStopDistance)); + reRouteService.SetDestination(territoryId, position); + } + } + + public bool TryEnqueueRouted(TaskQueue taskQueue, uint territoryId, Vector3 position) + { + PlayerNavState playerNavState = playerNavStateBuilder.Build(); + if (playerNavState == null) + { + return false; + } + RouteResult routeResult = navRouter.FindRoute(playerNavState, territoryId, position); + if (routeResult.Segments.Count == 0) + { + return false; + } + logger.LogDebug("SmartNav routing with {Count} segments", routeResult.Segments.Count); + foreach (ITask item in taskMapper.MapInstructions(instructionBuilder.Build(routeResult, territoryId))) + { + taskQueue.Enqueue(item); + } + reRouteService.SetDestination(territoryId, position); + return true; + } + + public bool TryEnqueueToTerritory(TaskQueue taskQueue, uint territoryId, Vector3 position) + { + PlayerNavState playerNavState = playerNavStateBuilder.Build(); + if (playerNavState == null) + { + return false; + } + RouteResult routeResult = navRouter.FindRoute(playerNavState, territoryId, position); + if (routeResult.Segments.Count == 0) + { + return false; + } + List list = instructionBuilder.Build(routeResult, territoryId).TakeWhile((NavInstruction x) => !(x is NavInstruction.Move move) || !move.IsFinal).ToList(); + if (list.Count == 0) + { + return false; + } + logger.LogDebug("SmartNav routing to territory {TerritoryId} with {Count} segments; leaving final movement to the caller", territoryId, routeResult.Segments.Count); + foreach (ITask item in taskMapper.MapInstructions(list)) + { + taskQueue.Enqueue(item); + } + reRouteService.ClearDestination(); + return true; + } + + public IReadOnlyList BuildRoutedTasks(uint territoryId, Vector3 position) + { + reRouteService.SetDestination(territoryId, position); + PlayerNavState playerNavState = playerNavStateBuilder.Build(); + if (playerNavState != null) + { + RouteResult routeResult = navRouter.FindRoute(playerNavState, territoryId, position); + if (routeResult.Segments.Count > 0) + { + logger.LogDebug("SmartNav routing with {Count} segments", routeResult.Segments.Count); + List list = new List(); + list.AddRange(taskMapper.MapInstructions(instructionBuilder.Build(routeResult, territoryId))); + return new global::_003C_003Ez__ReadOnlyList(list); + } + } + return new global::_003C_003Ez__ReadOnlySingleElementList(new MoveTask((ushort)territoryId, position)); + } + + public bool RouteStartsWithTeleport(uint territoryId, Vector3 position) + { + PlayerNavState playerNavState = playerNavStateBuilder.Build(); + if (playerNavState == null) + { + return false; + } + RouteResult routeResult = navRouter.FindRoute(playerNavState, territoryId, position); + if (routeResult.Segments.Count == 0) + { + return false; + } + foreach (NavInstruction item in instructionBuilder.Build(routeResult, territoryId)) + { + bool? flag = StartsWithTeleport(item); + if (flag.HasValue) + { + return flag == true; + } + } + return false; + static bool? StartsWithTeleport(NavInstruction instruction) + { + if (instruction is NavInstruction.Teleport) + { + return true; + } + if (instruction is NavInstruction.UseTeleportTicket) + { + return true; + } + if (instruction is NavInstruction.Move) + { + return false; + } + if (instruction is NavInstruction.AethernetHop) + { + return false; + } + if (instruction is NavInstruction.InteractWarp) + { + return false; + } + if (instruction is NavInstruction.SubRegionTransport) + { + return false; + } + if (instruction is NavInstruction.Land) + { + return null; + } + if (instruction is NavInstruction.Unmount) + { + return null; + } + if (instruction is NavInstruction.WaitForTerritory) + { + return null; + } + if (!(instruction is NavInstruction.WaitForNavmesh)) + { + throw new InvalidOperationException($"Unclassified NavInstruction: {instruction}"); + } + return null; + } + } + + public void ClearDestination() + { + reRouteService.ClearDestination(); + } +} diff --git a/Questionable/Questionable.Navigation/SmartNavTaskMapper.cs b/Questionable/Questionable.Navigation/SmartNavTaskMapper.cs new file mode 100644 index 0000000..f948a82 --- /dev/null +++ b/Questionable/Questionable.Navigation/SmartNavTaskMapper.cs @@ -0,0 +1,150 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using Dalamud.Plugin.Services; +using Questionable.Controller.Steps; +using Questionable.Controller.Steps.Common; +using Questionable.Controller.Steps.Movement; +using Questionable.Controller.Steps.Shared; +using Questionable.Data; +using Questionable.Model.Questing; +using SmartNav; + +namespace Questionable.Navigation; + +internal sealed class SmartNavTaskMapper(IClientState clientState, TerritoryData territoryData) +{ + public IEnumerable MapInstructions(IReadOnlyList instructions, QuestStep? step = null) + { + for (int i = 0; i < instructions.Count; i++) + { + foreach (ITask item in Map(instructions[i], NextTravelInstruction(instructions, i), step)) + { + yield return item; + } + } + } + + private static NavInstruction? NextTravelInstruction(IReadOnlyList instructions, int i) + { + for (int j = i + 1; j < instructions.Count; j++) + { + NavInstruction navInstruction = instructions[j]; + if ((!(navInstruction is NavInstruction.Land) && !(navInstruction is NavInstruction.Unmount) && !(navInstruction is NavInstruction.WaitForTerritory) && !(navInstruction is NavInstruction.WaitForNavmesh)) || 1 == 0) + { + return instructions[j]; + } + } + return null; + } + + private IEnumerable Map(NavInstruction instruction, NavInstruction? nextTravel, QuestStep? step) + { + NavInstruction.Teleport teleport = instruction as NavInstruction.Teleport; + if ((object)teleport == null) + { + if (!(instruction is NavInstruction.AethernetHop aethernetHop)) + { + if (!(instruction is NavInstruction.Move move)) + { + if (!(instruction is NavInstruction.Land)) + { + if (!(instruction is NavInstruction.Unmount)) + { + NavInstruction.WaitForTerritory waitForTerritory = instruction as NavInstruction.WaitForTerritory; + if ((object)waitForTerritory == null) + { + if (!(instruction is NavInstruction.WaitForNavmesh)) + { + if (!(instruction is NavInstruction.InteractWarp interactWarp)) + { + if (!(instruction is NavInstruction.UseTeleportTicket useTeleportTicket)) + { + if (!(instruction is NavInstruction.SubRegionTransport subRegionTransport)) + { + throw new InvalidOperationException($"Unmapped NavInstruction: {instruction}"); + } + yield return new SubRegionTransport.Task(subRegionTransport.From, subRegionTransport.To, subRegionTransport.Territory); + } + else + { + yield return new TicketTeleport.Task(useTeleportTicket.ItemId, useTeleportTicket.Territory); + } + } + else + { + yield return new WarpInteract.Task(interactWarp.NpcDataId, interactWarp.WarpRowId, interactWarp.FromTerritory, interactWarp.ToTerritory); + } + } + else + { + yield return new WaitNavmesh.Task(); + } + } + else + { + yield return new WaitCondition.Task(() => waitForTerritory.Acceptable.Contains(clientState.TerritoryType), waitForTerritory.Description); + } + } + else + { + yield return new Mount.UnmountTask(); + } + } + else + { + yield return new LandTask(); + } + } + else if (move.IsFinal && step != null) + { + Vector3 destination = step.Position ?? move.Position; + yield return new MoveTask(step, destination)with + { + Fly = (move.Fly || step.Fly == true), + Land = (move.Fly || step.Land == true), + SmartNavRouted = true, + RouteTargetNodeId = move.TargetNodeId, + RouteApproachNodeId = move.ApproachNodeId + }; + if (step != null) + { + bool? fly = step.Fly; + if (fly.HasValue && fly == true && (step.Land ?? false)) + { + yield return new LandTask(); + } + } + } + else + { + NavInstruction.Move move2 = move; + ushort territory = move2.Territory; + Vector3 position = move2.Position; + bool? mount = move2.Mount; + float? stopDistance = move2.StopDistance; + uint? dataId = move2.DataId; + bool disableNavmesh = move2.DisableNavmesh; + bool fly2 = move2.Fly; + bool landAtTarget = move2.LandAtTarget; + bool allowZoneTransition = move2.AllowZoneTransition; + string targetNodeId = move2.TargetNodeId; + string approachNodeId = move2.ApproachNodeId; + yield return new MoveTask(territory, position, mount, MountRequired: false, DismountRequired: false, stopDistance, dataId, disableNavmesh, null, fly2, landAtTarget, IgnoreDistanceToObject: false, RestartNavigation: true, EInteractionType.None, SmartNavRouted: true, allowZoneTransition, targetNodeId, approachNodeId); + } + } + else + { + yield return new AethernetRide.Task(aethernetHop.From, aethernetHop.To); + } + yield break; + } + yield return new AetheryteTeleport.Task(teleport.Target, teleport.ExpectedTerritory); + if (AetheryteTeleport.MoveAwayFromAetheryteExecutor.AppliesTo(teleport.Target) && (nextTravel as NavInstruction.AethernetHop)?.From != teleport.Target) + { + yield return new WaitCondition.Task(() => clientState.TerritoryType == teleport.ExpectedTerritory, "Wait(territory: " + territoryData.GetNameAndId(teleport.ExpectedTerritory) + ")"); + yield return new AetheryteTeleport.MoveAwayFromAetheryte(teleport.Target); + } + } +} diff --git a/Questionable/Questionable.Navigation/WarpRecordingService.cs b/Questionable/Questionable.Navigation/WarpRecordingService.cs new file mode 100644 index 0000000..96033f4 --- /dev/null +++ b/Questionable/Questionable.Navigation/WarpRecordingService.cs @@ -0,0 +1,501 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Numerics; +using Dalamud.Game.ClientState.Conditions; +using Dalamud.Game.ClientState.Objects.Types; +using Dalamud.Hooking; +using Dalamud.Plugin; +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using FFXIVClientStructs.FFXIV.Client.Game.Event; +using FFXIVClientStructs.FFXIV.Client.Game.Object; +using Lumina.Excel.Sheets; +using Microsoft.Extensions.Logging; +using Questionable.Functions; +using Questionable.Model.Questing; +using SmartNav.Data; + +namespace Questionable.Navigation; + +internal sealed class WarpRecordingService : IDisposable +{ + private unsafe delegate void ProcessEventPlayDelegate(EventFramework* self, GameObject* gameObject, FFXIVClientStructs.FFXIV.Client.Game.Event.EventId eventId, short scene, ulong sceneFlags, uint* sceneData, byte sceneDataCount); + + private enum EWarpPhase + { + None, + Armed, + DialogOpen, + AwaitingTransit, + InTransit, + JumpSettling + } + + public sealed record WarpCapture(uint WarpRowId, string WarpName, uint? NpcDataId, ushort SourceTerritoryId, Vector3 SourcePosition, ushort DestTerritoryId, Vector3 DestPosition, uint? SeenDuringMsqId); + + public sealed record TicketCapture(uint ItemId, string ItemName, ushort DestTerritoryId, Vector3 DestPosition); + + private const float JumpDistance = 40f; + + private static readonly TimeSpan CancelGrace = TimeSpan.FromSeconds(3L); + + private static readonly TimeSpan JumpSettle = TimeSpan.FromSeconds(1L); + + private static readonly TimeSpan ArmedTimeout = TimeSpan.FromSeconds(120L); + + private static readonly TimeSpan TicketTimeout = TimeSpan.FromSeconds(30L); + + private readonly IClientState _clientState; + + private readonly IObjectTable _objectTable; + + private readonly ITargetManager _targetManager; + + private readonly ICondition _condition; + + private readonly IFramework _framework; + + private readonly IDataManager _dataManager; + + private readonly Configuration _configuration; + + private readonly QuestFunctions _questFunctions; + + private readonly TeleportTicketService _teleportTicketService; + + private readonly ILogger _logger; + + private readonly Hook? _processEventPlayHook; + + private EWarpPhase _warpPhase; + + private uint _warpRowId; + + private string _warpName = string.Empty; + + private uint? _npcDataId; + + private ushort _sourceTerritory; + + private Vector3 _sourcePosition; + + private uint? _seenMsqId; + + private DateTime _armedAt; + + private DateTime _awaitTransitSince; + + private DateTime _jumpDetectedAt; + + private uint _lastPlayerTerritory; + + private Vector3? _lastPlayerPosition; + + private readonly bool _devEnvironmentGate; + + private uint? _ticketItemId; + + private string _ticketItemName = string.Empty; + + private bool _ticketSeenLoading; + + private DateTime _ticketArmedAt; + + private readonly Dictionary _ticketInventoryCounts = new Dictionary(); + + public bool IsWarpPending => _warpPhase != EWarpPhase.None; + + public uint? PendingWarpRowId + { + get + { + if (!IsWarpPending) + { + return null; + } + return _warpRowId; + } + } + + public string? PendingWarpName + { + get + { + if (!IsWarpPending) + { + return null; + } + return _warpName; + } + } + + public bool IsTicketPending => _ticketItemId.HasValue; + + public uint? PendingTicketItemId => _ticketItemId; + + public string? PendingTicketItemName + { + get + { + if (!_ticketItemId.HasValue) + { + return null; + } + return _ticketItemName; + } + } + + public bool CaptureAvailable => _devEnvironmentGate; + + private bool AutoCaptureEnabled + { + get + { + if (_devEnvironmentGate) + { + return _configuration.Advanced.EnableNavDataCapture; + } + return false; + } + } + + public event Action? WarpCaptured; + + public event Action? TicketCaptured; + + public unsafe WarpRecordingService(IDalamudPluginInterface pluginInterface, IClientState clientState, IObjectTable objectTable, ITargetManager targetManager, ICondition condition, IFramework framework, IDataManager dataManager, IGameInteropProvider gameInteropProvider, Configuration configuration, QuestFunctions questFunctions, TeleportTicketService teleportTicketService, ILogger logger) + { + _clientState = clientState; + _objectTable = objectTable; + _targetManager = targetManager; + _condition = condition; + _framework = framework; + _dataManager = dataManager; + _configuration = configuration; + _questFunctions = questFunctions; + _teleportTicketService = teleportTicketService; + _logger = logger; + _devEnvironmentGate = pluginInterface.IsDev || File.Exists(Path.Combine(pluginInterface.ConfigDirectory.FullName, ".nav-authoring")); + if (_devEnvironmentGate) + { + _logger.LogDebug("Warp recorder: dev environment gate open (IsDev={IsDev})", pluginInterface.IsDev); + } + try + { + _processEventPlayHook = gameInteropProvider.HookFromAddress((nint)EventFramework.MemberFunctionPointers.ProcessEventPlay, OnProcessEventPlay); + _processEventPlayHook.Enable(); + } + catch (Exception exception) + { + _logger.LogError(exception, "Failed to hook ProcessEventPlay for warp recorder"); + } + _framework.Update += OnFrameworkTick; + } + + public void ArmManual(uint warpRowId, string? warpName, uint npcDataId, ushort sourceTerritory, Vector3 sourcePosition) + { + if (_devEnvironmentGate) + { + Arm(warpRowId, warpName ?? $"Warp#{warpRowId}", (npcDataId != 0) ? new uint?(npcDataId) : ((uint?)null), sourceTerritory, sourcePosition); + } + } + + public bool CaptureWarpDestNow() + { + if (_warpPhase == EWarpPhase.None) + { + return false; + } + IGameObject gameObject = _objectTable[0]; + if (gameObject == null || gameObject.Position == Vector3.Zero) + { + return false; + } + CompleteWarp(gameObject.Position); + return true; + } + + public void DismissWarp() + { + ResetWarp("dismissed"); + } + + public bool CaptureTicketDestNow() + { + if (!_ticketItemId.HasValue) + { + return false; + } + IGameObject gameObject = _objectTable[0]; + if (gameObject == null || gameObject.Position == Vector3.Zero) + { + return false; + } + TicketCapture ticketCapture = new TicketCapture(_ticketItemId.Value, _ticketItemName, (ushort)_clientState.TerritoryType, gameObject.Position); + _logger.LogInformation("Ticket recorder: manually captured {Name} (#{Id}) -> {Territory}", ticketCapture.ItemName, ticketCapture.ItemId, ticketCapture.DestTerritoryId); + ClearTicket(); + this.TicketCaptured?.Invoke(ticketCapture); + return true; + } + + public void DismissTicket() + { + ClearTicket(); + } + + public void Dispose() + { + _framework.Update -= OnFrameworkTick; + _processEventPlayHook?.Disable(); + _processEventPlayHook?.Dispose(); + } + + private unsafe void OnProcessEventPlay(EventFramework* self, GameObject* gameObject, FFXIVClientStructs.FFXIV.Client.Game.Event.EventId eventId, short scene, ulong sceneFlags, uint* sceneData, byte sceneDataCount) + { + _processEventPlayHook.Original(self, gameObject, eventId, scene, sceneFlags, sceneData, sceneDataCount); + try + { + if (AutoCaptureEnabled && eventId.ContentId == EventHandlerContent.Warp) + { + uint id = eventId.Id; + string text = null; + Warp? rowOrDefault = _dataManager.GetExcelSheet().GetRowOrDefault(id); + if (rowOrDefault.HasValue) + { + string text2 = rowOrDefault.Value.Name.ExtractText(); + string text3 = rowOrDefault.Value.Question.ExtractText(); + text = ((!string.IsNullOrEmpty(text2)) ? text2 : text3); + } + uint? npcDataId; + Vector3 sourcePosition; + if (gameObject != null) + { + npcDataId = ((gameObject->BaseId != 0) ? new uint?(gameObject->BaseId) : ((uint?)null)); + sourcePosition = gameObject->Position; + } + else + { + IGameObject? target = _targetManager.Target; + npcDataId = target?.BaseId; + sourcePosition = target?.Position ?? _objectTable[0]?.Position ?? Vector3.Zero; + } + Arm(id, text ?? $"Warp#{id}", npcDataId, (ushort)_clientState.TerritoryType, sourcePosition); + } + } + catch (Exception exception) + { + _logger.LogError(exception, "Warp recorder: ProcessEventPlay handler failed"); + } + } + + private void Arm(uint warpRowId, string warpName, uint? npcDataId, ushort sourceTerritory, Vector3 sourcePosition) + { + _warpPhase = EWarpPhase.Armed; + _warpRowId = warpRowId; + _warpName = warpName; + _npcDataId = npcDataId; + _sourceTerritory = sourceTerritory; + _sourcePosition = sourcePosition; + _seenMsqId = CurrentMsqQuestId(); + _armedAt = DateTime.UtcNow; + _logger.LogDebug("Warp recorder: armed warp {Id} ({Name}) at territory {Territory} ({X:F1}, {Y:F1}, {Z:F1}), MSQ {Msq}", warpRowId, warpName, sourceTerritory, sourcePosition.X, sourcePosition.Y, sourcePosition.Z, _seenMsqId); + } + + private void OnFrameworkTick(IFramework _) + { + IGameObject gameObject = _objectTable[0]; + bool flag = _condition[ConditionFlag.BetweenAreas] || _condition[ConditionFlag.BetweenAreas51]; + DateTime utcNow = DateTime.UtcNow; + TickWarp(gameObject, flag, utcNow); + TickTicket(gameObject, flag, utcNow); + if (gameObject != null && !flag) + { + _lastPlayerTerritory = _clientState.TerritoryType; + _lastPlayerPosition = gameObject.Position; + } + else + { + _lastPlayerPosition = null; + } + } + + private void TickWarp(IGameObject? player, bool loading, DateTime now) + { + if (_warpPhase == EWarpPhase.None) + { + return; + } + bool flag = _condition[ConditionFlag.OccupiedInQuestEvent] || _condition[ConditionFlag.OccupiedInEvent]; + switch (_warpPhase) + { + case EWarpPhase.Armed: + if (loading) + { + EnterTransit(); + } + else if (flag) + { + _warpPhase = EWarpPhase.DialogOpen; + } + else if (!TryDetectJump(player, now) && now - _armedAt > ArmedTimeout) + { + ResetWarp("no transit within timeout"); + } + break; + case EWarpPhase.DialogOpen: + if (loading) + { + EnterTransit(); + } + else if (!flag) + { + _warpPhase = EWarpPhase.AwaitingTransit; + _awaitTransitSince = now; + } + break; + case EWarpPhase.AwaitingTransit: + if (loading) + { + EnterTransit(); + } + else if (!TryDetectJump(player, now) && now - _awaitTransitSince > CancelGrace) + { + ResetWarp("dialog closed without transit (cancelled)"); + } + break; + case EWarpPhase.InTransit: + if (!loading && player != null && player.Position != Vector3.Zero) + { + CompleteWarp(player.Position); + } + break; + case EWarpPhase.JumpSettling: + if (loading) + { + EnterTransit(); + } + else if (now - _jumpDetectedAt > JumpSettle && player != null && player.Position != Vector3.Zero) + { + CompleteWarp(player.Position); + } + break; + } + } + + private void EnterTransit() + { + _warpPhase = EWarpPhase.InTransit; + _logger.LogDebug("Warp recorder: loading transition detected for pending warp {Id}", _warpRowId); + } + + private bool TryDetectJump(IGameObject? player, DateTime now) + { + if (player == null || !_lastPlayerPosition.HasValue || _lastPlayerTerritory != _clientState.TerritoryType) + { + return false; + } + if (Vector3.DistanceSquared(player.Position, _lastPlayerPosition.Value) < 1600f) + { + return false; + } + _warpPhase = EWarpPhase.JumpSettling; + _jumpDetectedAt = now; + _logger.LogDebug("Warp recorder: position jump detected for pending warp {Id}", _warpRowId); + return true; + } + + private void CompleteWarp(Vector3 destPosition) + { + WarpCapture warpCapture = new WarpCapture(_warpRowId, _warpName, _npcDataId, _sourceTerritory, _sourcePosition, (ushort)_clientState.TerritoryType, destPosition, _seenMsqId); + _logger.LogInformation("Warp recorder: captured warp {Id} ({Name}): {SrcTerritory} -> {DstTerritory} at ({X:F1}, {Y:F1}, {Z:F1}), MSQ {Msq}", warpCapture.WarpRowId, warpCapture.WarpName, warpCapture.SourceTerritoryId, warpCapture.DestTerritoryId, destPosition.X, destPosition.Y, destPosition.Z, warpCapture.SeenDuringMsqId); + ResetWarp(null); + this.WarpCaptured?.Invoke(warpCapture); + } + + private void ResetWarp(string? reason) + { + if (reason != null && _warpPhase != EWarpPhase.None) + { + _logger.LogDebug("Warp recorder: clearing pending warp {Id}: {Reason}", _warpRowId, reason); + } + _warpPhase = EWarpPhase.None; + _npcDataId = null; + _seenMsqId = null; + _warpName = string.Empty; + } + + private unsafe void TickTicket(IGameObject? player, bool loading, DateTime now) + { + if (!_ticketItemId.HasValue) + { + if (!AutoCaptureEnabled) + { + if (_ticketInventoryCounts.Count > 0) + { + _ticketInventoryCounts.Clear(); + } + } + else + { + if (loading) + { + return; + } + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return; + } + foreach (TeleportTicketService.ScannedTicket scannedTicket in _teleportTicketService.ScannedTickets) + { + int inventoryItemCount = ptr->GetInventoryItemCount(scannedTicket.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0); + if (_ticketInventoryCounts.TryGetValue(scannedTicket.ItemId, out var value) && inventoryItemCount < value) + { + _logger.LogInformation("Ticket recorder: {Name} (#{Id}) count decreased {Old} -> {New}, arming capture", scannedTicket.Name, scannedTicket.ItemId, value, inventoryItemCount); + _ticketItemId = scannedTicket.ItemId; + _ticketItemName = scannedTicket.Name; + _ticketSeenLoading = false; + _ticketArmedAt = now; + } + _ticketInventoryCounts[scannedTicket.ItemId] = inventoryItemCount; + } + } + } + else if (loading) + { + _ticketSeenLoading = true; + } + else if (_ticketSeenLoading) + { + if (player != null && !(player.Position == Vector3.Zero)) + { + TicketCapture ticketCapture = new TicketCapture(_ticketItemId.Value, _ticketItemName, (ushort)_clientState.TerritoryType, player.Position); + _logger.LogInformation("Ticket recorder: captured {Name} (#{Id}) -> {Territory} ({X:F1}, {Y:F1}, {Z:F1})", ticketCapture.ItemName, ticketCapture.ItemId, ticketCapture.DestTerritoryId, player.Position.X, player.Position.Y, player.Position.Z); + ClearTicket(); + this.TicketCaptured?.Invoke(ticketCapture); + } + } + else if (now - _ticketArmedAt > TicketTimeout) + { + _logger.LogDebug("Ticket recorder: no transit after ticket use, clearing pending {Id}", _ticketItemId); + ClearTicket(); + } + } + + private void ClearTicket() + { + _ticketItemId = null; + _ticketItemName = string.Empty; + _ticketSeenLoading = false; + } + + private uint? CurrentMsqQuestId() + { + if (!(_questFunctions.GetMainScenarioQuest().Item1.CurrentQuest is QuestId questId)) + { + return null; + } + return questId.Value; + } +} diff --git a/Questionable/Questionable.Notifications/NotificationService.cs b/Questionable/Questionable.Notifications/NotificationService.cs new file mode 100644 index 0000000..6fae6c4 --- /dev/null +++ b/Questionable/Questionable.Notifications/NotificationService.cs @@ -0,0 +1,63 @@ +using LLib.Notifications; +using Questionable.Model.Questing; + +namespace Questionable.Notifications; + +internal sealed class NotificationService(OutOfGameNotifier notifier, Configuration configuration) +{ + public void Notify(EInteractionType interactionType, string text) + { + Configuration.NotificationConfiguration notifications = configuration.Notifications; + if (notifications.Enabled && interactionType switch + { + EInteractionType.Duty => notifications.AlertForDuties, + EInteractionType.SinglePlayerDuty => notifications.AlertForSinglePlayerDuties, + EInteractionType.Snipe => notifications.AlertForSnipe, + _ => true, + }) + { + Dispatch(text); + } + } + + public void NotifyStopCondition(string text) + { + Configuration.NotificationConfiguration notifications = configuration.Notifications; + if (notifications.Enabled && notifications.AlertForStopConditions) + { + Dispatch(text); + } + } + + private void Dispatch(string text) + { + Configuration.NotificationConfiguration notifications = configuration.Notifications; + if (notifications.FlashTaskbar) + { + notifier.FlashTaskbar(); + } + int num; + if (notifications.OnlyWhenUnfocused) + { + num = ((!notifier.IsGameForeground) ? 1 : 0); + if (num == 0) + { + goto IL_0054; + } + } + else + { + num = 1; + } + if (notifications.ShowTrayMessage) + { + notifier.ShowTrayNotification("Questionable", text); + } + goto IL_0054; + IL_0054: + if (num != 0 && notifications.PlaySound) + { + notifier.PlayAlertSound(WindowsSounds.ResolvePath(notifications.SoundFile)); + } + } +} diff --git a/Questionable/Questionable.Validation.Validators/BasicSequenceValidator.cs b/Questionable/Questionable.Validation.Validators/BasicSequenceValidator.cs index 1a37269..3ca1873 100644 --- a/Questionable/Questionable.Validation.Validators/BasicSequenceValidator.cs +++ b/Questionable/Questionable.Validation.Validators/BasicSequenceValidator.cs @@ -15,9 +15,9 @@ internal sealed class BasicSequenceValidator : IQuestValidator { yield return new ValidationIssue { - ElementId = quest.Id, - Sequence = 0, - Step = null, + PathType = EPathType.Quest, + Id = quest.Id.ToString(), + Location = SchemaValidationHelper.FormatQuestLocation(0, null), Type = EIssueType.MissingSequence0, Severity = EIssueSeverity.Error, Description = "Missing quest start" @@ -31,9 +31,9 @@ internal sealed class BasicSequenceValidator : IQuestValidator { yield return new ValidationIssue { - ElementId = quest.Id, - Sequence = item.Sequence, - Step = null, + PathType = EPathType.Quest, + Id = quest.Id.ToString(), + Location = SchemaValidationHelper.FormatQuestLocation(item.Sequence, null), Type = EIssueType.InstantQuestWithMultipleSteps, Severity = EIssueSeverity.Error, Description = "Instant quest should not have any sequences after the start" @@ -52,7 +52,7 @@ internal sealed class BasicSequenceValidator : IQuestValidator where x != byte.MaxValue select x).Max(); int i; - for (i = 0; i < maxSequence; i++) + for (i = 0; i <= maxSequence; i++) { List foundSequences = sequences.Where((QuestSequence x) => x.Sequence == i).ToList(); ValidationIssue validationIssue = ValidateSequences(quest, i, foundSequences); @@ -76,21 +76,21 @@ internal sealed class BasicSequenceValidator : IQuestValidator { return new ValidationIssue { - ElementId = quest.Id, - Sequence = (byte)sequenceNo, - Step = null, + PathType = EPathType.Quest, + Id = quest.Id.ToString(), + Location = SchemaValidationHelper.FormatQuestLocation((byte)sequenceNo, null), Type = EIssueType.MissingSequence, Severity = EIssueSeverity.Error, Description = "Missing sequence" }; } - if (foundSequences.Count == 2) + if (foundSequences.Count >= 2) { return new ValidationIssue { - ElementId = quest.Id, - Sequence = (byte)sequenceNo, - Step = null, + PathType = EPathType.Quest, + Id = quest.Id.ToString(), + Location = SchemaValidationHelper.FormatQuestLocation((byte)sequenceNo, null), Type = EIssueType.DuplicateSequence, Severity = EIssueSeverity.Error, Description = "Duplicate sequence" diff --git a/Questionable/Questionable.Validation.Validators/CompletionFlagsValidator.cs b/Questionable/Questionable.Validation.Validators/CompletionFlagsValidator.cs index f5a430f..0650ed5 100644 --- a/Questionable/Questionable.Validation.Validators/CompletionFlagsValidator.cs +++ b/Questionable/Questionable.Validation.Validators/CompletionFlagsValidator.cs @@ -30,9 +30,9 @@ internal sealed class CompletionFlagsValidator : IQuestValidator { yield return new ValidationIssue { - ElementId = quest.Id, - Sequence = sequence.Sequence, - Step = i, + PathType = EPathType.Quest, + Id = quest.Id.ToString(), + Location = SchemaValidationHelper.FormatQuestLocation(sequence.Sequence, i), Type = EIssueType.DuplicateCompletionFlags, Severity = EIssueSeverity.Error, Description = "Duplicate completion flags: " + string.Join(", ", sequence.Steps[i].CompletionQuestVariablesFlags) diff --git a/Questionable/Questionable.Validation.Validators/DefinitionSchemaValidator.cs b/Questionable/Questionable.Validation.Validators/DefinitionSchemaValidator.cs new file mode 100644 index 0000000..9fcad8d --- /dev/null +++ b/Questionable/Questionable.Validation.Validators/DefinitionSchemaValidator.cs @@ -0,0 +1,102 @@ +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Runtime.InteropServices; +using System.Text.Json; +using System.Text.Json.Nodes; +using Json.Schema; + +namespace Questionable.Validation.Validators; + +internal abstract class DefinitionSchemaValidator : IDefinitionSchemaValidator +{ + protected const string BaseUri = "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main"; + + private readonly SchemaRegistrar _schemaRegistrar; + + private readonly Dictionary _nodes = new Dictionary(); + + private JsonSchema? _schema; + + protected abstract EPathType PathType { get; } + + protected abstract string MainSchemaUri { get; } + + protected DefinitionSchemaValidator(SchemaRegistrar schemaRegistrar) + { + _schemaRegistrar = schemaRegistrar; + } + + public void Enqueue(ushort id, JsonNode node) + { + _nodes[id] = node; + } + + public void Reset() + { + _nodes.Clear(); + } + + public IEnumerable Validate() + { + if (_nodes.Count == 0) + { + yield break; + } + if (_schema == null) + { + _schema = _schemaRegistrar.Get(MainSchemaUri); + } + foreach (var (id, node) in _nodes) + { + foreach (ValidationIssue item in ValidateImmediate(id, node)) + { + yield return item; + } + } + } + + public List ValidateImmediate(ushort id, JsonNode node) + { + if (_schema == null) + { + _schema = _schemaRegistrar.Get(MainSchemaUri); + } + EvaluationResults evaluationResults = _schema.Evaluate(JsonSerializer.SerializeToElement(node), new EvaluationOptions + { + Culture = CultureInfo.InvariantCulture, + OutputFormat = OutputFormat.Hierarchical + }); + if (evaluationResults.IsValid) + { + return new List(); + } + List list = new List(); + SchemaValidationHelper.CollectLeafErrors(evaluationResults, list); + if (list.Count == 0) + { + int num = 1; + List list2 = new List(num); + CollectionsMarshal.SetCount(list2, num); + CollectionsMarshal.AsSpan(list2)[0] = new ValidationIssue + { + PathType = PathType, + Id = id.ToString(CultureInfo.InvariantCulture), + Location = null, + Type = EIssueType.InvalidJsonSchema, + Severity = EIssueSeverity.Error, + Description = "JSON schema validation failed" + }; + return list2; + } + return list.Select((SchemaValidationHelper.ParsedError error) => new ValidationIssue + { + PathType = PathType, + Id = id.ToString(CultureInfo.InvariantCulture), + Location = (string.IsNullOrEmpty(error.PropertyPath) ? null : error.PropertyPath), + Type = EIssueType.InvalidJsonSchema, + Severity = EIssueSeverity.Error, + Description = (string.IsNullOrEmpty(error.PropertyPath) ? error.Message : (error.PropertyPath + ": " + error.Message)) + }).ToList(); + } +} diff --git a/Questionable/Questionable.Validation.Validators/DialogueChoiceValidator.cs b/Questionable/Questionable.Validation.Validators/DialogueChoiceValidator.cs index 0cec54f..da72e95 100644 --- a/Questionable/Questionable.Validation.Validators/DialogueChoiceValidator.cs +++ b/Questionable/Questionable.Validation.Validators/DialogueChoiceValidator.cs @@ -54,9 +54,9 @@ internal sealed class DialogueChoiceValidator : IQuestValidator { return new ValidationIssue { - ElementId = quest.Id, - Sequence = sequence.Sequence, - Step = stepId, + PathType = EPathType.Quest, + Id = quest.Id.ToString(), + Location = SchemaValidationHelper.FormatQuestLocation(sequence.Sequence, stepId), Type = EIssueType.InvalidExcelRef, Severity = EIssueSeverity.Error, Description = $"{label} invalid: {excelSheet} → {excelRef.AsKey()}" @@ -67,9 +67,9 @@ internal sealed class DialogueChoiceValidator : IQuestValidator { return new ValidationIssue { - ElementId = quest.Id, - Sequence = sequence.Sequence, - Step = stepId, + PathType = EPathType.Quest, + Id = quest.Id.ToString(), + Location = SchemaValidationHelper.FormatQuestLocation(sequence.Sequence, stepId), Type = EIssueType.InvalidExcelRef, Severity = EIssueSeverity.Error, Description = $"{label} invalid: {excelSheet} → {excelRef.AsRowId()}" diff --git a/Questionable/Questionable.Validation.Validators/FateSchemaValidator.cs b/Questionable/Questionable.Validation.Validators/FateSchemaValidator.cs new file mode 100644 index 0000000..2038c47 --- /dev/null +++ b/Questionable/Questionable.Validation.Validators/FateSchemaValidator.cs @@ -0,0 +1,13 @@ +namespace Questionable.Validation.Validators; + +internal sealed class FateSchemaValidator : DefinitionSchemaValidator +{ + protected override EPathType PathType => EPathType.Fate; + + protected override string MainSchemaUri => "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/FatePaths/fatedefinition-v1.json"; + + public FateSchemaValidator(SchemaRegistrar schemaRegistrar) + : base(schemaRegistrar) + { + } +} diff --git a/Questionable/Questionable.Validation.Validators/GameSequenceCoverageValidator.cs b/Questionable/Questionable.Validation.Validators/GameSequenceCoverageValidator.cs new file mode 100644 index 0000000..5731839 --- /dev/null +++ b/Questionable/Questionable.Validation.Validators/GameSequenceCoverageValidator.cs @@ -0,0 +1,43 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using Dalamud.Plugin.Services; +using Questionable.Data; +using Questionable.Model; +using Questionable.Model.Questing; + +namespace Questionable.Validation.Validators; + +internal sealed class GameSequenceCoverageValidator : IQuestValidator +{ + private readonly IDataManager _dataManager; + + public GameSequenceCoverageValidator(IDataManager dataManager) + { + _dataManager = dataManager; + } + + public IEnumerable Validate(Quest quest) + { + if (!(quest.Id is QuestId questId)) + { + yield break; + } + HashSet authored = ((IEnumerable)quest.Root.QuestSequence).Select((Func)((QuestSequence x) => x.Sequence)).ToHashSet(); + IEnumerable enumerable = from seq in GameQuestSequences.GetCompletionSequences(_dataManager, questId) + where !authored.Contains(seq) + select seq; + foreach (int item in enumerable) + { + yield return new ValidationIssue + { + PathType = EPathType.Quest, + Id = quest.Id.ToString(), + Location = SchemaValidationHelper.FormatQuestLocation((byte)item, null), + Type = EIssueType.MissingPostInstanceSequence, + Severity = EIssueSeverity.Warning, + Description = $"The game uses sequence {item}, but the quest path doesn't define it. Add an empty " + "placeholder sequence (or steps, if the sequence requires player action)." + }; + } + } +} diff --git a/Questionable/Questionable.Validation.Validators/GatheringSchemaValidator.cs b/Questionable/Questionable.Validation.Validators/GatheringSchemaValidator.cs new file mode 100644 index 0000000..9914107 --- /dev/null +++ b/Questionable/Questionable.Validation.Validators/GatheringSchemaValidator.cs @@ -0,0 +1,13 @@ +namespace Questionable.Validation.Validators; + +internal sealed class GatheringSchemaValidator : DefinitionSchemaValidator +{ + protected override EPathType PathType => EPathType.Gathering; + + protected override string MainSchemaUri => "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/GatheringPaths/gatheringlocation-v1.json"; + + public GatheringSchemaValidator(SchemaRegistrar schemaRegistrar) + : base(schemaRegistrar) + { + } +} diff --git a/Questionable/Questionable.Validation.Validators/JsonSchemaValidator.cs b/Questionable/Questionable.Validation.Validators/JsonSchemaValidator.cs index 104dcae..b89b1db 100644 --- a/Questionable/Questionable.Validation.Validators/JsonSchemaValidator.cs +++ b/Questionable/Questionable.Validation.Validators/JsonSchemaValidator.cs @@ -1,176 +1,217 @@ using System; +using System.Collections; using System.Collections.Generic; using System.Globalization; -using System.IO; using System.Linq; -using System.Reflection; -using System.Text; +using System.Runtime.InteropServices; +using System.Text.Json; using System.Text.Json.Nodes; +using System.Text.Json.Serialization; +using System.Text.Json.Serialization.Metadata; using Json.Schema; using Questionable.Model; using Questionable.Model.Questing; -using Questionable.QuestPaths; namespace Questionable.Validation.Validators; internal sealed class JsonSchemaValidator : IQuestValidator { + private readonly SchemaRegistrar _schemaRegistrar; + private readonly Dictionary _questNodes = new Dictionary(); private JsonSchema? _questSchema; - public JsonSchemaValidator() + private const string QuestSchemaUri = "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/QuestPaths/quest-v1.json"; + + private static readonly JsonSerializerOptions ValidationSerializationOptions = new JsonSerializerOptions { - bool flag = false; - DirectoryInfo directoryInfo = FindProjectRoot(); - if (directoryInfo != null) + DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingDefault, + IncludeFields = false, + WriteIndented = false, + TypeInfoResolver = new DefaultJsonTypeInfoResolver { - RegisterFolderForSchemas(directoryInfo); - flag = true; - } - if (!flag) - { - SchemaRegistry.Global.Register(new Uri("https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-aethernetshard.json"), JsonSchema.FromStream(AssemblyModelLoader.CommonAethernetShard).AsTask().Result); - SchemaRegistry.Global.Register(new Uri("https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-aetheryte.json"), JsonSchema.FromStream(AssemblyModelLoader.CommonAetheryte).AsTask().Result); - SchemaRegistry.Global.Register(new Uri("https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-classjob.json"), JsonSchema.FromStream(AssemblyModelLoader.CommonClassJob).AsTask().Result); - SchemaRegistry.Global.Register(new Uri("https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-completionflags.json"), JsonSchema.FromStream(AssemblyModelLoader.CommonCompletionFlags).AsTask().Result); - SchemaRegistry.Global.Register(new Uri("https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-requiredvariables.json"), JsonSchema.FromStream(AssemblyModelLoader.CommonRequiredVariables).AsTask().Result); - SchemaRegistry.Global.Register(new Uri("https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-vector3.json"), JsonSchema.FromStream(AssemblyModelLoader.CommonVector3).AsTask().Result); - SchemaRegistry.Global.Register(new Uri("https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/QuestPaths/quest-v1.json"), JsonSchema.FromStream(AssemblyQuestLoader.QuestSchema).AsTask().Result); - } - static DirectoryInfo? FindProjectRoot() - { - try - { - string location = Assembly.GetExecutingAssembly().Location; - if (string.IsNullOrEmpty(location)) - { - return null; - } - for (DirectoryInfo directoryInfo2 = new DirectoryInfo(Path.GetDirectoryName(location) ?? location); directoryInfo2 != null; directoryInfo2 = directoryInfo2.Parent) - { - if (directoryInfo2.GetDirectories("QuestPaths", SearchOption.TopDirectoryOnly).Length != 0 || directoryInfo2.GetDirectories("Questionable.Model", SearchOption.TopDirectoryOnly).Length != 0 || directoryInfo2.GetDirectories("Questionable", SearchOption.TopDirectoryOnly).Length != 0) - { - return directoryInfo2; - } - } - } - catch - { - } - return null; - } - static void RegisterFolderForSchemas(DirectoryInfo folder) - { - try - { - RegisterLocalIfExistsFromPath(Find("common-aethernetshard.json"), "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-aethernetshard.json"); - RegisterLocalIfExistsFromPath(Find("common-aetheryte.json"), "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-aetheryte.json"); - RegisterLocalIfExistsFromPath(Find("common-classjob.json"), "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-classjob.json"); - RegisterLocalIfExistsFromPath(Find("common-completionflags.json"), "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-completionflags.json"); - RegisterLocalIfExistsFromPath(Find("common-requiredvariables.json"), "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-requiredvariables.json"); - RegisterLocalIfExistsFromPath(Find("common-vector3.json"), "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-vector3.json"); - RegisterLocalIfExistsFromPath(Find("quest-v1.json"), "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/QuestPaths/quest-v1.json"); - static void RegisterLocalIfExistsFromPath(string? path, string registrationUri) - { - if (!string.IsNullOrEmpty(path) && File.Exists(path)) - { - JsonSchema document = JsonSchema.FromText(File.ReadAllText(path)); - SchemaRegistry.Global.Register(new Uri(registrationUri), document); - } - } - } - catch - { - } - string? Find(string fileName) - { - return Directory.EnumerateFiles(folder.FullName, fileName, SearchOption.AllDirectories).FirstOrDefault(); - } + Modifiers = { (Action)NoEmptyCollectionModifier } } + }; + + public JsonSchemaValidator(SchemaRegistrar schemaRegistrar) + { + _schemaRegistrar = schemaRegistrar; } public IEnumerable Validate(Quest quest) { - if (_questSchema == null) - { - _questSchema = JsonSchema.FromStream(AssemblyQuestLoader.QuestSchema).AsTask().Result; - } - if (!_questNodes.TryGetValue(quest.Id, out JsonNode value)) + if (!_questNodes.TryGetValue(quest.Id, out JsonNode questNode)) { yield break; } - EvaluationResults evaluationResults = _questSchema.Evaluate(value, new EvaluationOptions + if (_questSchema == null) + { + _questSchema = _schemaRegistrar.Get("https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/QuestPaths/quest-v1.json"); + } + EvaluationResults evaluationResults = _questSchema.Evaluate(JsonSerializer.SerializeToElement(questNode), new EvaluationOptions { Culture = CultureInfo.InvariantCulture, - OutputFormat = OutputFormat.List + OutputFormat = OutputFormat.Hierarchical }); if (evaluationResults.IsValid) { yield break; } - var array = (from r in GetInvalidResults(evaluationResults).ToArray() - group r by r.InstanceLocation?.ToString() ?? "").Select(delegate(IGrouping g) + Dictionary sequenceMap = BuildSequenceMap(questNode); + List list = new List(); + SchemaValidationHelper.CollectLeafErrors(evaluationResults, list); + if (list.Count == 0) { - string[] messages = (from m in g.SelectMany((EvaluationResults r) => r.Errors?.Values ?? Enumerable.Empty()) - where !string.IsNullOrWhiteSpace(m) - select m.Trim()).Distinct().ToArray(); - return new + yield return new ValidationIssue { - Path = g.Key, - Messages = messages + PathType = EPathType.Quest, + Id = quest.Id.ToString(), + Location = null, + Type = EIssueType.InvalidJsonSchema, + Severity = EIssueSeverity.Error, + Description = "JSON schema validation failed" }; - }).ToArray(); - StringBuilder stringBuilder = new StringBuilder(); - stringBuilder.AppendLine("JSON Validation failed:"); - if (array.Length == 0) - { - stringBuilder.AppendLine(" - : validation failed"); + yield break; } - else + List<(byte?, int?, string, string)> source = list.Select(delegate(SchemaValidationHelper.ParsedError e) { - var array2 = array; - foreach (var anon in array2) - { - string value2 = ((anon.Messages.Length != 0) ? string.Join("; ", anon.Messages) : "validation failed"); - StringBuilder stringBuilder2 = stringBuilder; - IFormatProvider invariantCulture = CultureInfo.InvariantCulture; - StringBuilder.AppendInterpolatedStringHandler handler = new StringBuilder.AppendInterpolatedStringHandler(5, 2, stringBuilder2, invariantCulture); - handler.AppendLiteral(" - "); - handler.AppendFormatted(anon.Path); - handler.AppendLiteral(": "); - handler.AppendFormatted(value2); - stringBuilder2.AppendLine(invariantCulture, ref handler); - } - } - yield return new ValidationIssue + var (item, item2, rawPath) = ParseInstanceLocation(e.InstancePath, sequenceMap); + return (Sequence: item, Step: item2, PropertyPath: SchemaValidationHelper.FormatPath(rawPath), Message: e.Message); + }).ToList(); + foreach (IGrouping<(byte?, int?), (byte?, int?, string, string)> item3 in from e in source + group e by (Sequence: e.Sequence, Step: e.Step)) { - ElementId = quest.Id, - Sequence = null, - Step = null, - Type = EIssueType.InvalidJsonSchema, - Severity = EIssueSeverity.Error, - Description = stringBuilder.ToString().TrimEnd() - }; - static IEnumerable GetInvalidResults(EvaluationResults result) - { - if (!result.IsValid) + List list2 = item3.Select<(byte?, int?, string, string), string>(((byte? Sequence, int? Step, string PropertyPath, string Message) e) => (!string.IsNullOrEmpty(e.PropertyPath)) ? (e.PropertyPath + ": " + e.Message) : e.Message).Distinct().ToList(); + SimplifyConditionalRequiredErrors(list2, FindStepNode(questNode, item3.Key.Item1, item3.Key.Item2)); + if (list2.Count != 0) { - yield return result; - } - if (result.HasDetails) - { - foreach (EvaluationResults detail in result.Details) + yield return new ValidationIssue { - foreach (EvaluationResults invalidResult in GetInvalidResults(detail)) - { - yield return invalidResult; - } - } + PathType = EPathType.Quest, + Id = quest.Id.ToString(), + Location = SchemaValidationHelper.FormatQuestLocation(item3.Key.Item1, item3.Key.Item2), + Type = EIssueType.InvalidJsonSchema, + Severity = EIssueSeverity.Error, + Description = string.Join("\n", list2) + }; } } } + public List ValidateImmediate(ElementId elementId, JsonNode questNode) + { + if (_questSchema == null) + { + _questSchema = _schemaRegistrar.Get("https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/QuestPaths/quest-v1.json"); + } + EvaluationResults evaluationResults = _questSchema.Evaluate(JsonSerializer.SerializeToElement(questNode), new EvaluationOptions + { + Culture = CultureInfo.InvariantCulture, + OutputFormat = OutputFormat.Hierarchical + }); + if (evaluationResults.IsValid) + { + return new List(); + } + Dictionary sequenceMap = BuildSequenceMap(questNode); + List list = new List(); + SchemaValidationHelper.CollectLeafErrors(evaluationResults, list); + if (list.Count == 0) + { + int num = 1; + List list2 = new List(num); + CollectionsMarshal.SetCount(list2, num); + CollectionsMarshal.AsSpan(list2)[0] = new ValidationIssue + { + PathType = EPathType.Quest, + Id = elementId.ToString(), + Location = null, + Type = EIssueType.InvalidJsonSchema, + Severity = EIssueSeverity.Error, + Description = "JSON schema validation failed" + }; + return list2; + } + List list3 = new List(); + foreach (IGrouping<(byte?, int?), (byte?, int?, string, string)> item3 in from e in list.Select(delegate(SchemaValidationHelper.ParsedError e) + { + var (item, item2, rawPath) = ParseInstanceLocation(e.InstancePath, sequenceMap); + return (Sequence: item, Step: item2, PropertyPath: SchemaValidationHelper.FormatPath(rawPath), Message: e.Message); + }).ToList() + group e by (Sequence: e.Sequence, Step: e.Step)) + { + List list4 = item3.Select<(byte?, int?, string, string), string>(((byte? Sequence, int? Step, string PropertyPath, string Message) e) => (!string.IsNullOrEmpty(e.PropertyPath)) ? (e.PropertyPath + ": " + e.Message) : e.Message).Distinct().ToList(); + if (list4.Count != 0) + { + list3.Add(new ValidationIssue + { + PathType = EPathType.Quest, + Id = elementId.ToString(), + Location = SchemaValidationHelper.FormatQuestLocation(item3.Key.Item1, item3.Key.Item2), + Type = EIssueType.InvalidJsonSchema, + Severity = EIssueSeverity.Error, + Description = string.Join("\n", list4) + }); + } + } + return list3; + } + + private static void SimplifyConditionalRequiredErrors(List lines, JsonObject? step) + { + if (step == null) + { + return; + } + foreach (string property in from x in step + where x.Value != null + select x.Key) + { + lines.RemoveAll((string x) => IsRequiredPropertyError(x, property)); + } + if (step["InteractionType"]?.GetValue() != "Combat") + { + lines.RemoveAll((string x) => IsRequiredPropertyError(x, "EnemySpawnType") || IsRequiredPropertyError(x, "KillEnemyDataIds") || IsRequiredPropertyError(x, "ComplexCombatData")); + return; + } + string obj = step["EnemySpawnType"]?.GetValue(); + if (obj != "AfterItemUse") + { + lines.RemoveAll((string x) => IsRequiredPropertyError(x, "ItemId")); + } + if (obj == "FinishCombatIfAny") + { + lines.RemoveAll((string x) => IsRequiredPropertyError(x, "KillEnemyDataIds") || IsRequiredPropertyError(x, "ComplexCombatData")); + return; + } + bool num = lines.RemoveAll((string x) => IsRequiredPropertyError(x, "KillEnemyDataIds")) > 0; + bool flag = lines.RemoveAll((string x) => IsRequiredPropertyError(x, "ComplexCombatData")) > 0; + if (num && flag) + { + lines.Add("One combat target definition is required: KillEnemyDataIds or ComplexCombatData"); + } + } + + private static bool IsRequiredPropertyError(string message, string property) + { + return message.Contains("Required properties [\"" + property + "\"]", StringComparison.Ordinal); + } + + private static JsonObject? FindStepNode(JsonNode questNode, byte? sequence, int? step) + { + if (!sequence.HasValue || !step.HasValue || !(questNode["QuestSequence"] is JsonArray source)) + { + return null; + } + if (!(source.OfType().FirstOrDefault((JsonObject x) => x["Sequence"]?.GetValue() == sequence.Value)?["Steps"] is JsonArray jsonArray) || step.Value < 0 || step.Value >= jsonArray.Count) + { + return null; + } + return jsonArray[step.Value] as JsonObject; + } + public void Enqueue(ElementId elementId, JsonNode questNode) { _questNodes[elementId] = questNode; @@ -180,4 +221,82 @@ internal sealed class JsonSchemaValidator : IQuestValidator { _questNodes.Clear(); } + + private static Dictionary BuildSequenceMap(JsonNode questNode) + { + Dictionary dictionary = new Dictionary(); + if (!(questNode["QuestSequence"] is JsonArray jsonArray)) + { + return dictionary; + } + for (int i = 0; i < jsonArray.Count; i++) + { + JsonNode jsonNode = jsonArray[i]?["Sequence"]; + if (jsonNode != null && jsonNode.GetValueKind() == JsonValueKind.Number) + { + dictionary[i] = (byte)jsonNode.GetValue(); + } + } + return dictionary; + } + + private static (byte? Sequence, int? Step, string Path) ParseInstanceLocation(string instancePath, Dictionary sequenceMap) + { + if (string.IsNullOrEmpty(instancePath)) + { + return (Sequence: null, Step: null, Path: string.Empty); + } + string[] array = instancePath.Split('/'); + byte? item = null; + int? item2 = null; + int num = 1; + for (int i = 1; i < array.Length - 1; i++) + { + if (!(array[i] != "QuestSequence") && int.TryParse(array[i + 1], out var result)) + { + item = (sequenceMap.TryGetValue(result, out var value) ? new byte?(value) : ((byte?)null)); + num = i + 2; + if (i + 3 < array.Length && array[i + 2] == "Steps" && int.TryParse(array[i + 3], out var result2)) + { + item2 = result2; + num = i + 4; + } + break; + } + } + string item3 = ((num < array.Length) ? string.Join("/", array, num, array.Length - num) : string.Empty); + return (Sequence: item, Step: item2, Path: item3); + } + + private static void NoEmptyCollectionModifier(JsonTypeInfo typeInfo) + { + foreach (JsonPropertyInfo property in typeInfo.Properties) + { + if (typeof(ICollection).IsAssignableFrom(property.PropertyType)) + { + property.ShouldSerialize = (object _, object? val) => val is ICollection collection && collection.Count > 0; + } + } + } + + public IEnumerable ValidateFromQuestRoot(Quest quest) + { + return ValidateFromQuestRoot(quest.Id, quest.Root); + } + + public IEnumerable ValidateFromQuestRoot(ElementId elementId, QuestRoot questRoot) + { + if (!(JsonSerializer.SerializeToNode(questRoot, ValidationSerializationOptions) is JsonObject jsonObject)) + { + return Array.Empty(); + } + JsonObject jsonObject2 = new JsonObject { ["$schema"] = "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/QuestPaths/quest-v1.json" }; + foreach (KeyValuePair item in jsonObject) + { + item.Deconstruct(out var key, out var value); + string propertyName = key; + jsonObject2[propertyName] = value?.DeepClone(); + } + return ValidateImmediate(elementId, jsonObject2); + } } diff --git a/Questionable/Questionable.Validation.Validators/LandingZoneValidator.cs b/Questionable/Questionable.Validation.Validators/LandingZoneValidator.cs new file mode 100644 index 0000000..052bf88 --- /dev/null +++ b/Questionable/Questionable.Validation.Validators/LandingZoneValidator.cs @@ -0,0 +1,61 @@ +using System.Collections.Generic; +using System.Linq; +using Questionable.Model; +using Questionable.Model.Questing; + +namespace Questionable.Validation.Validators; + +internal sealed class LandingZoneValidator : IQuestValidator +{ + public IEnumerable Validate(Quest quest) + { + foreach (var stepInfo in quest.AllSteps().Where<(QuestSequence, int, QuestStep)>(delegate((QuestSequence Sequence, int StepId, QuestStep Step) x) + { + List landingZones = x.Step.LandingZones; + return landingZones != null && landingZones.Count > 0; + })) + { + for (int z = 0; z < stepInfo.Item3.LandingZones.Count; z++) + { + LandingZone zone = stepInfo.Item3.LandingZones[z]; + if (zone.Vertices.Count < 3) + { + yield return new ValidationIssue + { + ElementId = quest.Id, + Sequence = stepInfo.Item1.Sequence, + Step = stepInfo.Item2, + Type = EIssueType.InvalidLandingZone, + Severity = EIssueSeverity.Error, + Description = $"Landing zone {z} has fewer than 3 vertices" + }; + continue; + } + if (!LandingZoneMath.IsConvex(zone.Vertices)) + { + yield return new ValidationIssue + { + ElementId = quest.Id, + Sequence = stepInfo.Item1.Sequence, + Step = stepInfo.Item2, + Type = EIssueType.InvalidLandingZone, + Severity = EIssueSeverity.Error, + Description = $"Landing zone {z} is not convex" + }; + } + if (LandingZoneMath.CalculatePolygonArea(zone.Vertices) < 0.01f) + { + yield return new ValidationIssue + { + ElementId = quest.Id, + Sequence = stepInfo.Item1.Sequence, + Step = stepInfo.Item2, + Type = EIssueType.InvalidLandingZone, + Severity = EIssueSeverity.Error, + Description = $"Landing zone {z} has zero area (collinear vertices)" + }; + } + } + } + } +} diff --git a/Questionable/Questionable.Validation.Validators/NextQuestValidator.cs b/Questionable/Questionable.Validation.Validators/NextQuestValidator.cs index e588bcd..8c77dfb 100644 --- a/Questionable/Questionable.Validation.Validators/NextQuestValidator.cs +++ b/Questionable/Questionable.Validation.Validators/NextQuestValidator.cs @@ -15,9 +15,9 @@ internal sealed class NextQuestValidator : IQuestValidator { yield return new ValidationIssue { - ElementId = quest.Id, - Sequence = item.Item1.Sequence, - Step = item.Item2, + PathType = EPathType.Quest, + Id = quest.Id.ToString(), + Location = SchemaValidationHelper.FormatQuestLocation(item.Item1.Sequence, item.Item2), Type = EIssueType.InvalidNextQuestId, Severity = EIssueSeverity.Error, Description = "Next quest should not reference itself" diff --git a/Questionable/Questionable.Validation.Validators/QuestDisabledValidator.cs b/Questionable/Questionable.Validation.Validators/QuestDisabledValidator.cs index 17e660d..480667f 100644 --- a/Questionable/Questionable.Validation.Validators/QuestDisabledValidator.cs +++ b/Questionable/Questionable.Validation.Validators/QuestDisabledValidator.cs @@ -11,9 +11,9 @@ internal sealed class QuestDisabledValidator : IQuestValidator { yield return new ValidationIssue { - ElementId = quest.Id, - Sequence = null, - Step = null, + PathType = EPathType.Quest, + Id = quest.Id.ToString(), + Location = null, Type = EIssueType.QuestDisabled, Severity = EIssueSeverity.None, Description = "Quest is disabled" diff --git a/Questionable/Questionable.Validation.Validators/SayValidator.cs b/Questionable/Questionable.Validation.Validators/SayValidator.cs index d6a2326..653b686 100644 --- a/Questionable/Questionable.Validation.Validators/SayValidator.cs +++ b/Questionable/Questionable.Validation.Validators/SayValidator.cs @@ -30,9 +30,9 @@ internal sealed class SayValidator : IQuestValidator { yield return new ValidationIssue { - ElementId = quest.Id, - Sequence = item.Item1.Sequence, - Step = item.Item2, + PathType = EPathType.Quest, + Id = quest.Id.ToString(), + Location = SchemaValidationHelper.FormatQuestLocation(item.Item1.Sequence, item.Item2), Type = EIssueType.InvalidChatMessage, Severity = EIssueSeverity.Error, Description = $"Invalid chat message: {rawDialogueText.Value}" diff --git a/Questionable/Questionable.Validation.Validators/SeasonalDutySchemaValidator.cs b/Questionable/Questionable.Validation.Validators/SeasonalDutySchemaValidator.cs new file mode 100644 index 0000000..5527410 --- /dev/null +++ b/Questionable/Questionable.Validation.Validators/SeasonalDutySchemaValidator.cs @@ -0,0 +1,13 @@ +namespace Questionable.Validation.Validators; + +internal sealed class SeasonalDutySchemaValidator : DefinitionSchemaValidator +{ + protected override EPathType PathType => EPathType.SeasonalDuty; + + protected override string MainSchemaUri => "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/SeasonalDutyPaths/seasonaldutydefinition-v1.json"; + + public SeasonalDutySchemaValidator(SchemaRegistrar schemaRegistrar) + : base(schemaRegistrar) + { + } +} diff --git a/Questionable/Questionable.Validation.Validators/SinglePlayerInstanceValidator.cs b/Questionable/Questionable.Validation.Validators/SinglePlayerInstanceValidator.cs index ae13bac..4307cc0 100644 --- a/Questionable/Questionable.Validation.Validators/SinglePlayerInstanceValidator.cs +++ b/Questionable/Questionable.Validation.Validators/SinglePlayerInstanceValidator.cs @@ -28,9 +28,9 @@ internal sealed class SinglePlayerInstanceValidator : IQuestValidator { yield return new ValidationIssue { - ElementId = quest.Id, - Sequence = null, - Step = null, + PathType = EPathType.Quest, + Id = quest.Id.ToString(), + Location = null, Type = EIssueType.UnusedSinglePlayerInstance, Severity = EIssueSeverity.Error, Description = $"Single player instance {index} not used" diff --git a/Questionable/Questionable.Validation.Validators/UniqueSinglePlayerInstanceValidator.cs b/Questionable/Questionable.Validation.Validators/UniqueSinglePlayerInstanceValidator.cs index 866677b..477d434 100644 --- a/Questionable/Questionable.Validation.Validators/UniqueSinglePlayerInstanceValidator.cs +++ b/Questionable/Questionable.Validation.Validators/UniqueSinglePlayerInstanceValidator.cs @@ -20,9 +20,9 @@ internal sealed class UniqueSinglePlayerInstanceValidator : IQuestValidator { yield return new ValidationIssue { - ElementId = quest.Id, - Sequence = item.Item1.Sequence, - Step = item.Item2, + PathType = EPathType.Quest, + Id = quest.Id.ToString(), + Location = SchemaValidationHelper.FormatQuestLocation(item.Item1.Sequence, item.Item2), Type = EIssueType.DuplicateSinglePlayerInstance, Severity = EIssueSeverity.Error, Description = $"Duplicate singleplayer duty index: {item.Item3}" diff --git a/Questionable/Questionable.Validation.Validators/UniqueStartStopValidator.cs b/Questionable/Questionable.Validation.Validators/UniqueStartStopValidator.cs index c6aa388..3eba11e 100644 --- a/Questionable/Questionable.Validation.Validators/UniqueStartStopValidator.cs +++ b/Questionable/Questionable.Validation.Validators/UniqueStartStopValidator.cs @@ -9,14 +9,7 @@ internal sealed class UniqueStartStopValidator : IQuestValidator { public IEnumerable Validate(Quest quest) { - bool flag = !(quest.Id is QuestId); - if (!flag) - { - ElementId id = quest.Id; - bool flag2 = ((id is SatisfactionSupplyNpcId || id is AlliedSocietyDailyId) ? true : false); - flag = flag2; - } - bool skipMissingStartStop = flag; + bool skipMissingStartStop = !(quest.Id is QuestId); List<(QuestSequence Sequence, int StepId, QuestStep Step)> questAccepts = (from x in FindQuestStepsWithInteractionType(quest, new List { EInteractionType.AcceptQuest }) where x.Step.PickUpQuestId == null select x).ToList(); @@ -26,9 +19,9 @@ internal sealed class UniqueStartStopValidator : IQuestValidator { yield return new ValidationIssue { - ElementId = quest.Id, - Sequence = item.Sequence.Sequence, - Step = item.StepId, + PathType = EPathType.Quest, + Id = quest.Id.ToString(), + Location = SchemaValidationHelper.FormatQuestLocation(item.Sequence.Sequence, item.StepId), Type = EIssueType.UnexpectedAcceptQuestStep, Severity = EIssueSeverity.Error, Description = "Unexpected AcceptQuest step" @@ -39,9 +32,9 @@ internal sealed class UniqueStartStopValidator : IQuestValidator { yield return new ValidationIssue { - ElementId = quest.Id, - Sequence = 0, - Step = null, + PathType = EPathType.Quest, + Id = quest.Id.ToString(), + Location = SchemaValidationHelper.FormatQuestLocation(0, null), Type = EIssueType.MissingQuestAccept, Severity = EIssueSeverity.Error, Description = "No AcceptQuest step" @@ -56,9 +49,9 @@ internal sealed class UniqueStartStopValidator : IQuestValidator { yield return new ValidationIssue { - ElementId = quest.Id, - Sequence = item2.Sequence.Sequence, - Step = item2.StepId, + PathType = EPathType.Quest, + Id = quest.Id.ToString(), + Location = SchemaValidationHelper.FormatQuestLocation(item2.Sequence.Sequence, item2.StepId), Type = EIssueType.UnexpectedCompleteQuestStep, Severity = EIssueSeverity.Error, Description = "Unexpected CompleteQuest step" @@ -69,9 +62,9 @@ internal sealed class UniqueStartStopValidator : IQuestValidator { yield return new ValidationIssue { - ElementId = quest.Id, - Sequence = (byte)byte.MaxValue, - Step = null, + PathType = EPathType.Quest, + Id = quest.Id.ToString(), + Location = SchemaValidationHelper.FormatQuestLocation((byte)byte.MaxValue, null), Type = EIssueType.MissingQuestComplete, Severity = EIssueSeverity.Error, Description = "No CompleteQuest step" diff --git a/Questionable/Questionable.Validation/EIssueSeverity.cs b/Questionable/Questionable.Validation/EIssueSeverity.cs index b8ca8fb..b1b06c1 100644 --- a/Questionable/Questionable.Validation/EIssueSeverity.cs +++ b/Questionable/Questionable.Validation/EIssueSeverity.cs @@ -3,5 +3,6 @@ namespace Questionable.Validation; internal enum EIssueSeverity { None, + Warning, Error } diff --git a/Questionable/Questionable.Validation/EIssueType.cs b/Questionable/Questionable.Validation/EIssueType.cs index b1301fa..c2ee3e3 100644 --- a/Questionable/Questionable.Validation/EIssueType.cs +++ b/Questionable/Questionable.Validation/EIssueType.cs @@ -7,6 +7,7 @@ public enum EIssueType InvalidJsonSyntax, MissingSequence0, MissingSequence, + MissingPostInstanceSequence, DuplicateSequence, MissingQuestAccept, MissingQuestComplete, @@ -16,10 +17,9 @@ public enum EIssueType QuestDisabled, UnexpectedAcceptQuestStep, UnexpectedCompleteQuestStep, - InvalidAethernetShortcut, InvalidExcelRef, - ClassQuestWithoutAetheryteShortcut, DuplicateSinglePlayerInstance, UnusedSinglePlayerInstance, - InvalidChatMessage + InvalidChatMessage, + InvalidLandingZone } diff --git a/Questionable/Questionable.Validation/EPathType.cs b/Questionable/Questionable.Validation/EPathType.cs new file mode 100644 index 0000000..93e4409 --- /dev/null +++ b/Questionable/Questionable.Validation/EPathType.cs @@ -0,0 +1,9 @@ +namespace Questionable.Validation; + +internal enum EPathType +{ + Quest, + Fate, + Gathering, + SeasonalDuty +} diff --git a/Questionable/Questionable.Validation/IDefinitionSchemaValidator.cs b/Questionable/Questionable.Validation/IDefinitionSchemaValidator.cs new file mode 100644 index 0000000..72ef905 --- /dev/null +++ b/Questionable/Questionable.Validation/IDefinitionSchemaValidator.cs @@ -0,0 +1,13 @@ +using System.Collections.Generic; +using System.Text.Json.Nodes; + +namespace Questionable.Validation; + +internal interface IDefinitionSchemaValidator +{ + void Enqueue(ushort id, JsonNode node); + + void Reset(); + + IEnumerable Validate(); +} diff --git a/Questionable/Questionable.Validation/QuestValidator.cs b/Questionable/Questionable.Validation/QuestValidator.cs index 053f4b8..ca67951 100644 --- a/Questionable/Questionable.Validation/QuestValidator.cs +++ b/Questionable/Questionable.Validation/QuestValidator.cs @@ -1,11 +1,13 @@ using System; using System.Collections.Generic; using System.Linq; +using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Questionable.Model; using Questionable.Model.Questing; +using Questionable.Validation.Validators; namespace Questionable.Validation; @@ -15,6 +17,8 @@ internal sealed class QuestValidator private readonly ILogger _logger; + private readonly object _lock = new object(); + private List _validationIssues = new List(); public IReadOnlyList Issues => _validationIssues; @@ -23,10 +27,13 @@ internal sealed class QuestValidator public int ErrorCount => _validationIssues.Count((ValidationIssue x) => x.Severity == EIssueSeverity.Error); + public int WarningCount => _validationIssues.Count((ValidationIssue x) => x.Severity == EIssueSeverity.Warning); + public QuestValidator(IEnumerable validators, ILogger logger) { _validators = validators.ToList(); _logger = logger; + _logger.LogDebug("Validators: {Validators}", string.Join(", ", _validators.Select((IQuestValidator x) => x.GetType().Name))); } public void Reset() @@ -35,12 +42,28 @@ internal sealed class QuestValidator { validator.Reset(); } - _validationIssues.Clear(); + lock (_lock) + { + _validationIssues = new List(); + } } public void AddValidationIssue(ValidationIssue issue) { - _validationIssues.Add(issue); + lock (_lock) + { + List validationIssues = _validationIssues; + int num = 1 + validationIssues.Count; + List list = new List(num); + CollectionsMarshal.SetCount(list, num); + Span span = CollectionsMarshal.AsSpan(list); + int num2 = 0; + Span span2 = CollectionsMarshal.AsSpan(validationIssues); + span2.CopyTo(span.Slice(num2, span2.Length)); + num2 += span2.Length; + span[num2] = issue; + _validationIssues = list; + } } public void Validate(IEnumerable quests) @@ -49,8 +72,11 @@ internal sealed class QuestValidator { try { - List first = _validationIssues.ToList(); - _validationIssues.Clear(); + List validationIssues; + lock (_lock) + { + validationIssues = _validationIssues; + } List list = new List(); Dictionary> dictionary = new Dictionary>(); foreach (Quest quest in quests) @@ -75,12 +101,20 @@ internal sealed class QuestValidator } } } - List disabledQuests = (from x in list + List disabledQuests = (from x in list where x.Type == EIssueType.QuestDisabled - select x.ElementId).ToList(); - _validationIssues = (from x in first.Concat(list.Where((ValidationIssue x) => !disabledQuests.Contains(x.ElementId) || x.Type == EIssueType.QuestDisabled)).Concat(DisabledTribesAsIssues(dictionary)) - orderby x.ElementId, x.Sequence, x.Step, x.Description + select x.Id).ToList(); + List list2 = (from x in validationIssues.Concat(list.Where((ValidationIssue x) => !disabledQuests.Contains(x.Id) || x.Type == EIssueType.QuestDisabled)).Concat(DisabledTribesAsIssues(dictionary)) + orderby x.PathType, x.Id, x.Location, x.Description select x).ToList(); + lock (_lock) + { + if (_validationIssues.Count > validationIssues.Count) + { + list2.AddRange(_validationIssues.Skip(validationIssues.Count)); + } + _validationIssues = list2; + } } catch (Exception exception) { @@ -89,9 +123,9 @@ internal sealed class QuestValidator }, CancellationToken.None, TaskCreationOptions.LongRunning, TaskScheduler.Default); } - public List GetIssues(ElementId elementId) + public List GetIssues(EPathType pathType, string id) { - return _validationIssues.Where((ValidationIssue x) => x.ElementId == elementId).ToList(); + return _validationIssues.Where((ValidationIssue x) => x.PathType == pathType && x.Id == id).ToList(); } private static IEnumerable DisabledTribesAsIssues(Dictionary> disabledTribeQuests) @@ -101,14 +135,48 @@ internal sealed class QuestValidator string value = ((x.Value.Count > 0) ? string.Join(", ", x.Value.Select((ElementId id) => id.ToString())) : "(none)"); return new ValidationIssue { - ElementId = null, - Sequence = null, - Step = null, - AlliedSociety = x.Key, + PathType = EPathType.Quest, + Id = null, + Location = null, Type = EIssueType.QuestDisabled, Severity = EIssueSeverity.None, - Description = $"{x.Value.Count} disabled {((x.Value.Count == 1) ? "quest" : "quests")}: {value}" + Description = $"[{x.Key}] {x.Value.Count} disabled {((x.Value.Count == 1) ? "quest" : "quests")}: {value}" }; }); } + + public List ValidateQuestSync(Quest quest) + { + List list = new List(); + foreach (IQuestValidator validator in _validators) + { + foreach (ValidationIssue item in (validator is JsonSchemaValidator jsonSchemaValidator) ? jsonSchemaValidator.ValidateFromQuestRoot(quest) : validator.Validate(quest)) + { + list.Add(item); + } + } + return (from x in list + orderby x.Sequence, x.Step, x.Description + select x).ToList(); + } + + public List ValidateSchemaSync(ElementId questId, QuestRoot questRoot) + { + JsonSchemaValidator jsonSchemaValidator = _validators.OfType().FirstOrDefault(); + if (jsonSchemaValidator == null) + { + return new List(); + } + return (from x in jsonSchemaValidator.ValidateFromQuestRoot(questId, questRoot) + orderby x.Sequence, x.Step, x.Description + select x).ToList(); + } + + public void ClearIssuesForQuest(ElementId questId) + { + lock (_lock) + { + _validationIssues = _validationIssues.Where((ValidationIssue issue) => issue.ElementId != questId).ToList(); + } + } } diff --git a/Questionable/Questionable.Validation/SchemaRegistrar.cs b/Questionable/Questionable.Validation/SchemaRegistrar.cs new file mode 100644 index 0000000..97d8a1b --- /dev/null +++ b/Questionable/Questionable.Validation/SchemaRegistrar.cs @@ -0,0 +1,118 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Reflection; +using Json.Schema; +using Questionable.FatePaths; +using Questionable.GatheringPaths; +using Questionable.Model; +using Questionable.QuestPaths; +using Questionable.SeasonalDutyPaths; + +namespace Questionable.Validation; + +internal sealed class SchemaRegistrar +{ + private const string BaseUri = "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main"; + + private static readonly IReadOnlyList<(string FileName, string Uri, Func Embedded)> Catalog = new global::_003C_003Ez__ReadOnlyArray<(string, string, Func)>(new(string, string, Func)[10] + { + ("common-aethernetshard.json", "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-aethernetshard.json", () => AssemblyModelLoader.CommonAethernetShard), + ("common-aetheryte.json", "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-aetheryte.json", () => AssemblyModelLoader.CommonAetheryte), + ("common-classjob.json", "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-classjob.json", () => AssemblyModelLoader.CommonClassJob), + ("common-completionflags.json", "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-completionflags.json", () => AssemblyModelLoader.CommonCompletionFlags), + ("common-requiredvariables.json", "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-requiredvariables.json", () => AssemblyModelLoader.CommonRequiredVariables), + ("common-vector3.json", "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-vector3.json", () => AssemblyModelLoader.CommonVector3), + ("quest-v1.json", "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/QuestPaths/quest-v1.json", () => AssemblyQuestLoader.QuestSchema), + ("fatedefinition-v1.json", "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/FatePaths/fatedefinition-v1.json", () => AssemblyFateDefinitionLoader.FateDefinitionSchema), + ("gatheringlocation-v1.json", "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/GatheringPaths/gatheringlocation-v1.json", () => AssemblyGatheringLocationLoader.GatheringSchema), + ("seasonaldutydefinition-v1.json", "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/SeasonalDutyPaths/seasonaldutydefinition-v1.json", () => AssemblySeasonalDutyDefinitionLoader.SeasonalDutyDefinitionSchema) + }); + + private readonly SchemaRegistry _registry = new SchemaRegistry(); + + private readonly Dictionary _schemas = new Dictionary(); + + private readonly object _lock = new object(); + + private bool _built; + + public void EnsureBuilt() + { + if (_built) + { + return; + } + lock (_lock) + { + if (_built) + { + return; + } + BuildOptions buildOptions = new BuildOptions + { + SchemaRegistry = _registry + }; + DirectoryInfo projectRoot = FindProjectRoot(); + foreach (var (fileName, key, embedded) in Catalog) + { + _schemas[key] = Build(fileName, embedded, projectRoot, buildOptions); + } + _built = true; + } + } + + public JsonSchema Get(string uri) + { + EnsureBuilt(); + if (!_schemas.TryGetValue(uri, out JsonSchema value)) + { + throw new InvalidOperationException("schema not registered: " + uri); + } + return value; + } + + private static JsonSchema Build(string fileName, Func embedded, DirectoryInfo? projectRoot, BuildOptions buildOptions) + { + if (projectRoot != null) + { + try + { + string text = Directory.EnumerateFiles(projectRoot.FullName, fileName, SearchOption.AllDirectories).FirstOrDefault(); + if (text != null) + { + return JsonSchema.FromText(File.ReadAllText(text), buildOptions); + } + } + catch + { + } + } + using StreamReader streamReader = new StreamReader(embedded()); + return JsonSchema.FromText(streamReader.ReadToEnd(), buildOptions); + } + + private static DirectoryInfo? FindProjectRoot() + { + try + { + string location = Assembly.GetExecutingAssembly().Location; + if (string.IsNullOrEmpty(location)) + { + return null; + } + for (DirectoryInfo directoryInfo = new DirectoryInfo(Path.GetDirectoryName(location) ?? location); directoryInfo != null; directoryInfo = directoryInfo.Parent) + { + if (directoryInfo.GetDirectories("QuestPaths", SearchOption.TopDirectoryOnly).Length != 0 || directoryInfo.GetDirectories("Questionable.Model", SearchOption.TopDirectoryOnly).Length != 0 || directoryInfo.GetDirectories("Questionable", SearchOption.TopDirectoryOnly).Length != 0) + { + return directoryInfo; + } + } + } + catch + { + } + return null; + } +} diff --git a/Questionable/Questionable.Validation/SchemaValidationHelper.cs b/Questionable/Questionable.Validation/SchemaValidationHelper.cs new file mode 100644 index 0000000..6f6c99a --- /dev/null +++ b/Questionable/Questionable.Validation/SchemaValidationHelper.cs @@ -0,0 +1,126 @@ +using System; +using System.Collections.Generic; +using Json.Schema; + +namespace Questionable.Validation; + +internal static class SchemaValidationHelper +{ + internal readonly record struct ParsedError(string InstancePath, string PropertyPath, string Message); + + public static void CollectLeafErrors(EvaluationResults node, List errors) + { + if (!node.IsValid) + { + Dictionary errors2 = node.Errors; + if (errors2 != null && errors2.Count > 0) + { + foreach (var (keyword, text3) in node.Errors) + { + if (!IsAggregateKeyword(keyword) && !string.IsNullOrWhiteSpace(text3)) + { + string text4 = node.InstanceLocation.ToString(); + string rawPath = GetRawPath(text4); + errors.Add(new ParsedError(text4 ?? string.Empty, FormatPath(rawPath), CleanMessage(text3))); + } + } + } + } + List details = node.Details; + if (details == null || details.Count <= 0) + { + return; + } + foreach (EvaluationResults detail in node.Details) + { + if (!detail.IsValid) + { + CollectLeafErrors(detail, errors); + } + } + } + + public static string FormatPath(string rawPath) + { + if (string.IsNullOrEmpty(rawPath)) + { + return string.Empty; + } + string[] array = rawPath.Split('/'); + List list = new List(); + string[] array2 = array; + foreach (string text in array2) + { + if (int.TryParse(text, out var result)) + { + if (list.Count > 0) + { + list[list.Count - 1] += $"[{result}]"; + } + else + { + list.Add($"[{result}]"); + } + } + else + { + list.Add(text); + } + } + return string.Join(".", list); + } + + public static string CleanMessage(string message) + { + return message.Replace("\\u0022", "\"", StringComparison.Ordinal).Replace("\\u0027", "'", StringComparison.Ordinal); + } + + public static string? FormatQuestLocation(byte? sequence, int? step) + { + if (!sequence.HasValue) + { + return null; + } + if (!step.HasValue) + { + return $"Seq {sequence}"; + } + return $"Seq {sequence}, Step {step}"; + } + + private static bool IsAggregateKeyword(string keyword) + { + switch (keyword) + { + case "oneOf": + case "allOf": + case "anyOf": + case "else": + case "then": + case "if": + case "not": + case "prefixItems": + case "contains": + return true; + default: + return false; + } + } + + private static string GetRawPath(string? instancePath) + { + if (string.IsNullOrEmpty(instancePath)) + { + return string.Empty; + } + if (instancePath.StartsWith('#')) + { + instancePath = instancePath.Substring(1); + } + if (instancePath.StartsWith('/')) + { + instancePath = instancePath.Substring(1); + } + return instancePath; + } +} diff --git a/Questionable/Questionable.Validation/ValidationIssue.cs b/Questionable/Questionable.Validation/ValidationIssue.cs index 8070038..0d5364e 100644 --- a/Questionable/Questionable.Validation/ValidationIssue.cs +++ b/Questionable/Questionable.Validation/ValidationIssue.cs @@ -1,19 +1,22 @@ using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; -using Questionable.Model; using Questionable.Model.Questing; namespace Questionable.Validation; internal sealed record ValidationIssue { - public required ElementId? ElementId { get; init; } + public EPathType PathType { get; init; } - public required byte? Sequence { get; init; } + public string? Id { get; init; } - public required int? Step { get; init; } + public string? Location { get; init; } - public EAlliedSociety AlliedSociety { get; init; } + public ElementId? ElementId { get; init; } + + public byte? Sequence { get; init; } + + public int? Step { get; init; } public required EIssueType Type { get; init; } @@ -25,10 +28,12 @@ internal sealed record ValidationIssue [SetsRequiredMembers] private ValidationIssue(ValidationIssue original) { + PathType = original.PathType; + Id = original.Id; + Location = original.Location; ElementId = original.ElementId; Sequence = original.Sequence; Step = original.Step; - AlliedSociety = original.AlliedSociety; Type = original.Type; Severity = original.Severity; Description = original.Description; diff --git a/Questionable/Questionable.Windows.ChangelogComponents/ChangelogCategoryComponent.cs b/Questionable/Questionable.Windows.ChangelogComponents/ChangelogCategoryComponent.cs index 6a009d1..47a8ec8 100644 --- a/Questionable/Questionable.Windows.ChangelogComponents/ChangelogCategoryComponent.cs +++ b/Questionable/Questionable.Windows.ChangelogComponents/ChangelogCategoryComponent.cs @@ -21,12 +21,12 @@ internal static class ChangelogCategoryComponent _ => FontAwesomeIcon.Circle, }, category switch { - EChangeCategory.Added => new Vector4(0.5f, 1f, 0.6f, 1f), - EChangeCategory.Changed => new Vector4(0.6f, 0.85f, 1f, 1f), - EChangeCategory.Fixed => new Vector4(1f, 0.85f, 0.5f, 1f), - EChangeCategory.Removed => new Vector4(1f, 0.5f, 0.5f, 1f), - EChangeCategory.QuestUpdates => new Vector4(1f, 1f, 0.6f, 1f), - _ => new Vector4(0.9f, 0.9f, 0.9f, 1f), + EChangeCategory.Added => UiThemeUtils.StatusComplete, + EChangeCategory.Changed => UiThemeUtils.StatusActive, + EChangeCategory.Fixed => UiThemeUtils.StatusAvailableComplete, + EChangeCategory.Removed => UiThemeUtils.StatusLocked, + EChangeCategory.QuestUpdates => UiThemeUtils.AccentColor, + _ => UiThemeUtils.DimTextColor, }, category.ToDisplayString(), baseX); ImGui.Spacing(); float changeIndent = 28f; @@ -58,13 +58,13 @@ internal static class ChangelogCategoryComponent float cursorPosY = ImGui.GetCursorPosY(); using (ImRaii.PushFont(UiBuilder.IconFont)) { - ImGui.TextColored(new Vector4(0.95f, 0.95f, 1f, 1f), FontAwesomeIcon.CaretRight.ToIconString()); + ImGui.TextColored(in UiThemeUtils.PrimaryTextColor, FontAwesomeIcon.CaretRight.ToIconString()); } ImGui.SameLine(); ImGui.SetCursorPosY(cursorPosY); float num = ImGui.GetContentRegionAvail().X - 8f; ImGui.PushTextWrapPos(ImGui.GetCursorPosX() + num); - ImGui.TextColored(new Vector4(0.95f, 0.95f, 1f, 1f), change.Description); + ImGui.TextColored(in UiThemeUtils.PrimaryTextColor, change.Description); ImGui.PopTextWrapPos(); if (change.SubItems != null && change.SubItems.Count > 0) { @@ -81,13 +81,13 @@ internal static class ChangelogCategoryComponent float cursorPosY = ImGui.GetCursorPosY(); using (ImRaii.PushFont(UiBuilder.IconFont)) { - ImGui.TextColored(new Vector4(0.85f, 0.85f, 0.92f, 1f), FontAwesomeIcon.AngleRight.ToIconString()); + ImGui.TextColored(in UiThemeUtils.DimTextColor, FontAwesomeIcon.AngleRight.ToIconString()); } ImGui.SameLine(); ImGui.SetCursorPosY(cursorPosY); float num2 = ImGui.GetContentRegionAvail().X - 8f; ImGui.PushTextWrapPos(ImGui.GetCursorPosX() + num2); - ImGui.TextColored(new Vector4(0.85f, 0.85f, 0.92f, 1f), subItem); + ImGui.TextColored(in UiThemeUtils.DimTextColor, subItem); ImGui.PopTextWrapPos(); } } diff --git a/Questionable/Questionable.Windows.ChangelogComponents/ChangelogEntryComponent.cs b/Questionable/Questionable.Windows.ChangelogComponents/ChangelogEntryComponent.cs index 28267b1..30683e5 100644 --- a/Questionable/Questionable.Windows.ChangelogComponents/ChangelogEntryComponent.cs +++ b/Questionable/Questionable.Windows.ChangelogComponents/ChangelogEntryComponent.cs @@ -45,31 +45,21 @@ internal sealed class ChangelogEntryComponent Vector2 dateSize = ImGui.CalcTextSize(text); float scaledIconFontSize = fontSize * 0.85f; float x = ImGui.GetContentRegionAvail().X; - bool flag; - using (ImRaii.PushColor(ImGuiCol.Header, new Vector4(0.2f, 0.18f, 0.25f, 0.6f))) - { - using (ImRaii.PushColor(ImGuiCol.HeaderHovered, new Vector4(0.3f, 0.25f, 0.35f, 0.8f))) - { - using (ImRaii.PushColor(ImGuiCol.HeaderActive, new Vector4(0.25f, 0.22f, 0.3f, 1f))) - { - Vector2 cursorPos = ImGui.GetCursorPos(); - Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); - ImU8String label = new ImU8String(19, 2); - label.AppendLiteral("###header_"); - label.AppendFormatted(changelog.Version); - label.AppendLiteral("_changes_"); - label.AppendFormatted(_windowOpenCount); - flag = ImGui.CollapsingHeader(label); - Vector2 cursorPos2 = ImGui.GetCursorPos(); - float verticalOffset = (cursorPos2.Y - cursorPos.Y - num) * 0.5f - 1f; - DrawVersionText(text2, versionSize, cursorPos, verticalOffset); - DrawNewBadge(isNew, cursorScreenPos, x); - DrawDateWithIcon(text, dateSize, scaledIconFontSize, cursorScreenPos, cursorPos, x, verticalOffset, fontSize); - ImGui.SetCursorPos(cursorPos2); - } - } - } - if (flag) + Vector2 cursorPos = ImGui.GetCursorPos(); + Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); + ImU8String label = new ImU8String(19, 2); + label.AppendLiteral("###header_"); + label.AppendFormatted(changelog.Version); + label.AppendLiteral("_changes_"); + label.AppendFormatted(_windowOpenCount); + bool num2 = ImGui.CollapsingHeader(label); + Vector2 cursorPos2 = ImGui.GetCursorPos(); + float verticalOffset = (cursorPos2.Y - cursorPos.Y - num) * 0.5f - 1f; + DrawVersionText(text2, versionSize, cursorPos, verticalOffset); + DrawNewBadge(isNew, cursorScreenPos, x); + DrawDateWithIcon(text, dateSize, scaledIconFontSize, cursorScreenPos, cursorPos, x, verticalOffset, fontSize); + ImGui.SetCursorPos(cursorPos2); + if (num2) { DrawChangelogContent(changelog); } @@ -81,7 +71,7 @@ internal sealed class ChangelogEntryComponent using (ImRaii.PushFont(UiBuilder.MonoFont)) { ImGui.SetCursorPos(new Vector2(x, headerStartPos.Y + verticalOffset)); - ImGui.TextColored(new Vector4(0.95f, 0.95f, 0.95f, 1f), versionText); + ImGui.TextColored(in UiThemeUtils.PrimaryTextColor, versionText); } } @@ -109,44 +99,32 @@ internal sealed class ChangelogEntryComponent float num2 = num + 4f + dateSize.X; float num3 = availableWidth - num2 - 12f; Vector2 pos = headerStartScreenPos + new Vector2(num3, verticalOffset); - ImGui.GetWindowDrawList().AddText(UiBuilder.IconFont, scaledIconFontSize, pos, ImGui.ColorConvertFloat4ToU32(new Vector4(0.65f, 0.6f, 0.8f, 1f)), text); + ImGui.GetWindowDrawList().AddText(UiBuilder.IconFont, scaledIconFontSize, pos, ImGui.ColorConvertFloat4ToU32(UiThemeUtils.DimTextColor), text); ImGui.SetCursorPos(new Vector2(num3 + num + 4f, headerStartPos.Y + verticalOffset)); - ImGui.TextColored(new Vector4(0.95f, 0.95f, 1f, 1f), dateText); + ImGui.TextColored(in UiThemeUtils.PrimaryTextColor, dateText); } private static void DrawChangelogContent(ChangelogEntry changelog) { - Vector2 cursorPos = ImGui.GetCursorPos(); - Vector2 vector = new Vector2(16f, 8f); - float x = ImGui.GetContentRegionAvail().X; - IOrderedEnumerable> orderedEnumerable = from changeEntry in changelog.Changes - group changeEntry by changeEntry.Category into g + IOrderedEnumerable> orderedEnumerable = from x in changelog.Changes + group x by x.Category into g orderby g.Key select g; - ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); - windowDrawList.ChannelsSplit(2); - windowDrawList.ChannelsSetCurrent(1); - float baseX = cursorPos.X + vector.X; - ImGui.SetCursorPos(cursorPos + new Vector2(vector.X, vector.Y)); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard(); + Vector2 item = tuple.ContentStartPos; + float item2 = tuple.AvailableWidth; + ImDrawListPtr item3 = tuple.DrawList; + float cursorPosX = ImGui.GetCursorPosX(); bool flag = true; - foreach (IGrouping item in orderedEnumerable) + foreach (IGrouping item4 in orderedEnumerable) { if (!flag) { ImGui.Spacing(); } - ChangelogCategoryComponent.DrawCategoryGroup(item.Key, item.ToList(), baseX); + ChangelogCategoryComponent.DrawCategoryGroup(item4.Key, item4.ToList(), cursorPosX); flag = false; } - Vector2 cursorPos2 = ImGui.GetCursorPos(); - windowDrawList.ChannelsSetCurrent(0); - ImGui.SetCursorPos(cursorPos); - Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); - ImGui.SetCursorPos(cursorPos2 + new Vector2(0f, vector.Y)); - Vector2 cursorScreenPos2 = ImGui.GetCursorScreenPos(); - windowDrawList.AddRectFilled(cursorScreenPos, new Vector2(cursorScreenPos.X + x, cursorScreenPos2.Y), ImGui.ColorConvertFloat4ToU32(new Vector4(0.1f, 0.08f, 0.14f, 0.5f)), 4f); - windowDrawList.AddRect(cursorScreenPos, new Vector2(cursorScreenPos.X + x, cursorScreenPos2.Y), ImGui.ColorConvertFloat4ToU32(new Vector4(0.55f, 0.45f, 0.75f, 0.15f)), 4f, ImDrawFlags.None, 1f); - windowDrawList.ChannelsMerge(); - ImGui.SetCursorPos(new Vector2(cursorPos.X, cursorPos2.Y + vector.Y + 2f)); + UiThemeUtils.EndCard(item, item2, item3); } } diff --git a/Questionable/Questionable.Windows.ChangelogComponents/ChangelogFooterComponent.cs b/Questionable/Questionable.Windows.ChangelogComponents/ChangelogFooterComponent.cs index 558e6bc..5e08e6b 100644 --- a/Questionable/Questionable.Windows.ChangelogComponents/ChangelogFooterComponent.cs +++ b/Questionable/Questionable.Windows.ChangelogComponents/ChangelogFooterComponent.cs @@ -2,7 +2,6 @@ using System; using System.Numerics; using Dalamud.Bindings.ImGui; using Dalamud.Interface; -using Dalamud.Interface.Components; using Dalamud.Interface.Utility.Raii; namespace Questionable.Windows.ChangelogComponents; @@ -14,20 +13,36 @@ internal sealed class ChangelogFooterComponent ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); float x = ImGui.GetContentRegionAvail().X; - windowDrawList.AddRectFilledMultiColor(cursorScreenPos, cursorScreenPos + new Vector2(x, 2f), ImGui.ColorConvertFloat4ToU32(new Vector4(0.75f, 0.55f, 0.95f, 0.4f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.75f, 0.55f, 0.95f, 1f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.75f, 0.55f, 0.95f, 1f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.75f, 0.55f, 0.95f, 0.4f))); + Vector2 pMax = cursorScreenPos + new Vector2(x, 2f); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.4f; + uint colUprLeft = ImGui.ColorConvertFloat4ToU32(accentColor); + uint colUprRight = ImGui.ColorConvertFloat4ToU32(UiThemeUtils.AccentColor); + uint colBotRight = ImGui.ColorConvertFloat4ToU32(UiThemeUtils.AccentColor); + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.4f; + windowDrawList.AddRectFilledMultiColor(cursorScreenPos, pMax, colUprLeft, colUprRight, colBotRight, ImGui.ColorConvertFloat4ToU32(accentColor)); ImGui.SetCursorPosY(ImGui.GetCursorPosY() + 8f); - float num = 120f; + float x2; + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + x2 = ImGui.CalcTextSize(FontAwesomeIcon.CheckCircle.ToIconString()).X; + } + float num = x2 + 6f + ImGui.CalcTextSize("Got It!").X + ImGui.GetStyle().FramePadding.X * 2f; float num2 = (ImGui.GetContentRegionAvail().X - num) * 0.5f; ImGui.SetCursorPosX(ImGui.GetCursorPosX() + num2); - using (ImRaii.PushColor(ImGuiCol.Button, new Vector4(0.55f, 0.45f, 0.75f, 0.6f))) + using (ImRaii.PushColor(ImGuiCol.Button, UiThemeUtils.PlayButtonColor)) { - using (ImRaii.PushColor(ImGuiCol.ButtonHovered, new Vector4(0.65f, 0.55f, 0.85f, 0.8f))) + using (ImRaii.PushColor(ImGuiCol.ButtonHovered, UiThemeUtils.PlayButtonHover)) { - using (ImRaii.PushColor(ImGuiCol.ButtonActive, new Vector4(0.75f, 0.55f, 0.95f, 1f))) + using (ImRaii.PushColor(ImGuiCol.ButtonActive, UiThemeUtils.PlayButtonActive)) { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.CheckCircle, "Got It!")) + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.PlayButtonText)) { - onConfirm(); + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.CheckCircle, "Got It!", num)) + { + onConfirm(); + } } } } diff --git a/Questionable/Questionable.Windows.ChangelogComponents/ChangelogHeaderComponent.cs b/Questionable/Questionable.Windows.ChangelogComponents/ChangelogHeaderComponent.cs index a485d74..eb9c84d 100644 --- a/Questionable/Questionable.Windows.ChangelogComponents/ChangelogHeaderComponent.cs +++ b/Questionable/Questionable.Windows.ChangelogComponents/ChangelogHeaderComponent.cs @@ -57,9 +57,13 @@ internal sealed class ChangelogHeaderComponent float num10 = (num8 - num5) / num2; float num11 = (MathF.Sin(num9 * (float)Math.PI * 2f - (float)Math.PI / 2f) + 1f) * 0.5f; float num12 = (MathF.Sin(num10 * (float)Math.PI * 2f - (float)Math.PI / 2f) + 1f) * 0.5f; - Vector4 value = new Vector4(0.75f, 0.55f, 0.95f, num11 * 0.8f); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = num11 * 0.8f; + Vector4 value = accentColor; Vector4 value2 = new Vector4(0.55f, 0.75f, 0.95f, num11 * 0.8f); - Vector4 value3 = new Vector4(0.75f, 0.55f, 0.95f, num12 * 0.8f); + accentColor = UiThemeUtils.AccentColor; + accentColor.W = num12 * 0.8f; + Vector4 value3 = accentColor; Vector4 value4 = new Vector4(0.55f, 0.75f, 0.95f, num12 * 0.8f); float num13 = (num9 + num10) * 0.5f; Vector4 input = Vector4.Lerp(value, value2, num13); @@ -112,7 +116,10 @@ internal sealed class ChangelogHeaderComponent float thickness = MathF.Max(1f, size * 0.3f); drawList.AddLine(pos - new Vector2(num, 0f), pos + new Vector2(num, 0f), ImGui.ColorConvertFloat4ToU32(new Vector4(0.9f, 0.8f, 1f, alpha)), thickness); drawList.AddLine(pos - new Vector2(0f, num), pos + new Vector2(0f, num), ImGui.ColorConvertFloat4ToU32(new Vector4(0.9f, 0.8f, 1f, alpha)), thickness); - drawList.AddCircleFilled(pos, size * 1.5f, ImGui.ColorConvertFloat4ToU32(new Vector4(0.75f, 0.55f, 0.95f, alpha * 0.2f))); + float radius = size * 1.5f; + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = alpha * 0.2f; + drawList.AddCircleFilled(pos, radius, ImGui.ColorConvertFloat4ToU32(accentColor)); } private static void DrawDiamondSparkle(ImDrawListPtr drawList, Vector2 pos, float size, float alpha) @@ -123,7 +130,10 @@ internal sealed class ChangelogHeaderComponent Vector2 p3 = pos + new Vector2(0f, num); Vector2 p4 = pos + new Vector2(0f - num, 0f); drawList.AddQuadFilled(p, p2, p3, p4, ImGui.ColorConvertFloat4ToU32(new Vector4(0.9f, 0.8f, 1f, alpha * 0.8f))); - drawList.AddCircleFilled(pos, size * 1.6f, ImGui.ColorConvertFloat4ToU32(new Vector4(0.75f, 0.55f, 0.95f, alpha * 0.25f))); + float radius = size * 1.6f; + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = alpha * 0.25f; + drawList.AddCircleFilled(pos, radius, ImGui.ColorConvertFloat4ToU32(accentColor)); } private static void DrawStarSparkle(ImDrawListPtr drawList, Vector2 pos, float size, float alpha, float time) @@ -140,13 +150,19 @@ internal sealed class ChangelogHeaderComponent Vector2 p3 = pos + new Vector2(MathF.Cos(x2) * num2, MathF.Sin(x2) * num2); drawList.AddTriangleFilled(p, p2, p3, ImGui.ColorConvertFloat4ToU32(new Vector4(0.9f, 0.8f, 1f, alpha))); } - drawList.AddCircleFilled(pos, size * 1.7f, ImGui.ColorConvertFloat4ToU32(new Vector4(0.75f, 0.55f, 0.95f, alpha * 0.3f))); + float radius = size * 1.7f; + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = alpha * 0.3f; + drawList.AddCircleFilled(pos, radius, ImGui.ColorConvertFloat4ToU32(accentColor)); } private static void DrawCircleSparkle(ImDrawListPtr drawList, Vector2 pos, float size, float alpha) { drawList.AddCircleFilled(pos, size, ImGui.ColorConvertFloat4ToU32(new Vector4(0.9f, 0.8f, 1f, alpha))); - drawList.AddCircleFilled(pos, size * 1.8f, ImGui.ColorConvertFloat4ToU32(new Vector4(0.75f, 0.55f, 0.95f, alpha * 0.3f))); + float radius = size * 1.8f; + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = alpha * 0.3f; + drawList.AddCircleFilled(pos, radius, ImGui.ColorConvertFloat4ToU32(accentColor)); } private void DrawCloseButton(ImDrawListPtr drawList, Vector2 headerStartPos, float contentWidth, Action onCloseClicked) @@ -158,7 +174,19 @@ internal sealed class ChangelogHeaderComponent bool flag = mousePos.X >= vector.X && mousePos.X <= vector.X + num && mousePos.Y >= vector.Y && mousePos.Y <= vector.Y + num; float w = (flag ? 0.9f : 0.5f); float num2 = (flag ? ((MathF.Sin(_animationTime * 4f) + 1f) * 0.5f * 0.1f) : 0f); - uint col = (flag ? ImGui.ColorConvertFloat4ToU32(new Vector4(0.75f + num2, 0.55f, 0.95f, w)) : ImGui.ColorConvertFloat4ToU32(new Vector4(0.55f, 0.45f, 0.75f, w))); + uint num3; + if (!flag) + { + num3 = ImGui.ColorConvertFloat4ToU32(new Vector4(0.55f, 0.45f, 0.75f, w)); + } + else + { + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.X = UiThemeUtils.AccentColor.X + num2; + accentColor.W = w; + num3 = ImGui.ColorConvertFloat4ToU32(accentColor); + } + uint col = num3; drawList.AddCircleFilled(center, num * 0.4f, col); DrawAnimatedCross(drawList, center, flag); ImGui.SetCursorScreenPos(vector); @@ -205,11 +233,22 @@ internal sealed class ChangelogHeaderComponent ImGui.SetCursorPosX(centerX - ImGui.CalcTextSize(text).X * 0.5f + num2); ImGui.SetCursorPosY(ImGui.GetCursorPosY() + num); float w = (MathF.Sin(_animationTime * 3f) + 1f) * 0.5f * 0.3f; - Vector4 input = ((_animationTime * 0.5f % 1f < 0.5f) ? new Vector4(0.75f, 0.55f, 0.95f, w) : new Vector4(0.55f, 0.75f, 0.95f, w)); + Vector4 vector; + if (!(_animationTime * 0.5f % 1f < 0.5f)) + { + vector = new Vector4(0.55f, 0.75f, 0.95f, w); + } + else + { + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = w; + vector = accentColor; + } + Vector4 input = vector; Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); ImGui.GetWindowDrawList().AddText(UiBuilder.IconFont, ImGui.GetFontSize() * 1.2f, cursorScreenPos + new Vector2(2f, 2f), ImGui.ColorConvertFloat4ToU32(input), text); ImGui.PushStyleVar(ImGuiStyleVar.Alpha, fadeIn); - ImGui.TextColored(new Vector4(0.75f, 0.55f, 0.95f, 1f), text); + ImGui.TextColored(in UiThemeUtils.AccentColor, text); ImGui.PopStyleVar(); } ImGui.SetCursorPosY(ImGui.GetCursorPosY() - num + 4f); @@ -245,6 +284,18 @@ internal sealed class ChangelogHeaderComponent ImGui.SetCursorScreenPos(headerStartPos + new Vector2(0f, headerHeight)); Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); float num = (MathF.Sin(_animationTime * 2f + (float)Math.PI) + 1f) * 0.5f; - drawList.AddRectFilledMultiColor(cursorScreenPos, cursorScreenPos + new Vector2(contentWidth, 2f), ImGui.ColorConvertFloat4ToU32(new Vector4(0.75f, 0.55f, 0.95f, 0.6f + num * 0.4f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.75f, 0.55f, 0.95f, 0.2f + num * 0.2f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.75f, 0.55f, 0.95f, 0.2f + num * 0.2f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.75f, 0.55f, 0.95f, 0.6f + num * 0.4f))); + Vector2 pMax = cursorScreenPos + new Vector2(contentWidth, 2f); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.6f + num * 0.4f; + uint colUprLeft = ImGui.ColorConvertFloat4ToU32(accentColor); + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.2f + num * 0.2f; + uint colUprRight = ImGui.ColorConvertFloat4ToU32(accentColor); + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.2f + num * 0.2f; + uint colBotRight = ImGui.ColorConvertFloat4ToU32(accentColor); + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.6f + num * 0.4f; + drawList.AddRectFilledMultiColor(cursorScreenPos, pMax, colUprLeft, colUprRight, colBotRight, ImGui.ColorConvertFloat4ToU32(accentColor)); } } diff --git a/Questionable/Questionable.Windows.ConfigComponents/BlacklistConfigComponent.cs b/Questionable/Questionable.Windows.ConfigComponents/BlacklistConfigComponent.cs index 8f2f5b0..e6a1d2a 100644 --- a/Questionable/Questionable.Windows.ConfigComponents/BlacklistConfigComponent.cs +++ b/Questionable/Questionable.Windows.ConfigComponents/BlacklistConfigComponent.cs @@ -4,9 +4,9 @@ using System.Linq; using System.Numerics; using Dalamud.Bindings.ImGui; using Dalamud.Interface; -using Dalamud.Interface.Components; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin; +using Microsoft.Extensions.Logging; using Questionable.Controller; using Questionable.Functions; using Questionable.Model; @@ -30,7 +30,13 @@ internal sealed class BlacklistConfigComponent : ConfigComponent private readonly UiUtils _uiUtils; - public BlacklistConfigComponent(IDalamudPluginInterface pluginInterface, QuestSelector questSelector, QuestFunctions questFunctions, QuestRegistry questRegistry, QuestTooltipComponent questTooltipComponent, UiUtils uiUtils, Configuration configuration) + private readonly ILogger _logger; + + private List _acceptedQuestsCache = new List(); + + private long _nextAcceptedQuestsRefreshMs; + + public BlacklistConfigComponent(IDalamudPluginInterface pluginInterface, QuestSelector questSelector, QuestFunctions questFunctions, QuestRegistry questRegistry, QuestTooltipComponent questTooltipComponent, UiUtils uiUtils, Configuration configuration, ILogger logger) : base(pluginInterface, configuration) { BlacklistConfigComponent blacklistConfigComponent = this; @@ -40,6 +46,7 @@ internal sealed class BlacklistConfigComponent : ConfigComponent _questFunctions = questFunctions; _questTooltipComponent = questTooltipComponent; _uiUtils = uiUtils; + _logger = logger; _questSelector.SuggestionPredicate = (Quest quest) => !configuration.General.BlacklistedQuests.Contains(quest.Id); _questSelector.DefaultPredicate = (Quest quest) => !quest.Root.Disabled && questFunctions.IsQuestAccepted(quest.Id); _questSelector.QuestSelected = delegate(Quest quest) @@ -51,14 +58,10 @@ internal sealed class BlacklistConfigComponent : ConfigComponent public override void DrawTab() { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Blacklist###QuestBlacklist"); - if (!tabItemDisposable) - { - return; - } + UiThemeUtils.SectionHeader("Quest Blacklist"); + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); ImGui.TextWrapped("Blacklisted quests will never be automatically picked up or executed by Questionable."); ImGui.TextWrapped("Use this to permanently skip specific quests you don't want to do."); - ImGui.Separator(); DrawCurrentlyAcceptedQuests(); HashSet blacklistedQuests = base.Configuration.General.BlacklistedQuests; ImU8String text = new ImU8String(22, 1); @@ -73,64 +76,68 @@ internal sealed class BlacklistConfigComponent : ConfigComponent if (blacklistedQuests.Count > 0) { ElementId elementId = null; - int num = 0; - foreach (ElementId item in blacklistedQuests.OrderBy((ElementId x) => x.ToString())) + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable("BlacklistedQuestsTable", 2); + if ((bool)tableDisposable) { - if (!_questRegistry.TryGetQuest(item, out Quest quest)) + ImGui.TableSetupColumn("Name", ImGuiTableColumnFlags.WidthStretch); + ImGui.TableSetupColumn("##Action", ImGuiTableColumnFlags.WidthFixed, 40f * ImGui.GetIO().FontGlobalScale); + foreach (ElementId item in blacklistedQuests.OrderBy((ElementId x) => x.ToString())) { + ImGui.TableNextRow(); ImU8String id = new ImU8String(5, 1); id.AppendLiteral("Quest"); id.AppendFormatted(item); using (ImRaii.PushId(id)) { - ImGui.AlignTextToFramePadding(); - Vector4 col = new Vector4(0.7f, 0.7f, 0.7f, 1f); - ImU8String text2 = new ImU8String(16, 1); - text2.AppendLiteral("Unknown Quest ("); - text2.AppendFormatted(item); - text2.AppendLiteral(")"); - ImGui.TextColored(in col, text2); - ImGui.SameLine(ImGui.GetContentRegionAvail().X - ImGui.CalcTextSize(FontAwesomeIcon.Times.ToIconString()).X - ImGui.GetStyle().FramePadding.X * 2f); - if (ImGuiComponents.IconButton($"##Remove{num}", FontAwesomeIcon.Times)) + if (!_questRegistry.TryGetQuest(item, out Quest quest)) { - elementId = item; + if (ImGui.TableNextColumn()) + { + ImGui.AlignTextToFramePadding(); + ImU8String text2 = new ImU8String(16, 1); + text2.AppendLiteral("Unknown Quest ("); + text2.AppendFormatted(item); + text2.AppendLiteral(")"); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text2); + } + if (ImGui.TableNextColumn() && UiThemeUtils.IconButton(FontAwesomeIcon.Times, ImGui.GetFrameHeight())) + { + elementId = item; + } + continue; + } + (Vector4, FontAwesomeIcon, string) questStyle = _uiUtils.GetQuestStyle(item); + if (ImGui.TableNextColumn()) + { + bool flag; + using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) + { + ImGui.AlignTextToFramePadding(); + ImGui.TextColored(in questStyle.Item1, questStyle.Item2.ToIconString()); + flag = ImGui.IsItemHovered(); + } + ImGui.SameLine(); + ImGui.AlignTextToFramePadding(); + UiThemeUtils.RowLabel(quest.Info.Name, 0f); + flag |= ImGui.IsItemHovered(); + if (flag) + { + _questTooltipComponent.Draw(quest.Info); + } + } + if (ImGui.TableNextColumn()) + { + if (UiThemeUtils.IconButton(FontAwesomeIcon.Times, ImGui.GetFrameHeight())) + { + elementId = item; + } + if (ImGui.IsItemHovered()) + { + ImGui.SetTooltip("Remove from blacklist"); + } } } - num++; - continue; } - ImU8String id2 = new ImU8String(5, 1); - id2.AppendLiteral("Quest"); - id2.AppendFormatted(item); - using (ImRaii.PushId(id2)) - { - (Vector4, FontAwesomeIcon, string) questStyle = _uiUtils.GetQuestStyle(item); - bool flag; - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) - { - ImGui.AlignTextToFramePadding(); - ImGui.TextColored(in questStyle.Item1, questStyle.Item2.ToIconString()); - flag = ImGui.IsItemHovered(); - } - ImGui.SameLine(); - ImGui.AlignTextToFramePadding(); - ImGui.TextUnformatted(quest.Info.Name); - flag |= ImGui.IsItemHovered(); - if (flag) - { - _questTooltipComponent.Draw(quest.Info); - } - ImGui.SameLine(ImGui.GetContentRegionAvail().X - ImGui.CalcTextSize(FontAwesomeIcon.Times.ToIconString()).X - ImGui.GetStyle().FramePadding.X * 2f); - if (ImGuiComponents.IconButton($"##Remove{num}", FontAwesomeIcon.Times)) - { - elementId = item; - } - if (ImGui.IsItemHovered()) - { - ImGui.SetTooltip("Remove from blacklist"); - } - } - num++; } if (elementId != null) { @@ -140,29 +147,17 @@ internal sealed class BlacklistConfigComponent : ConfigComponent } else { - ImGui.PushStyleColor(ImGuiCol.Text, new Vector4(0.7f, 0.7f, 0.7f, 1f)); - ImGui.TextWrapped("No quests blacklisted. Use the dropdown above or add from currently accepted quests."); - ImGui.PopStyleColor(); + UiThemeUtils.EmptyState(FontAwesomeIcon.Ban, "No quests blacklisted", "Use the dropdown above or add from currently accepted quests"); } } } _questSelector.DrawSelection(); - if (blacklistedQuests.Count <= 0) + if (blacklistedQuests.Count > 0 && UiThemeUtils.DestructiveButton(FontAwesomeIcon.Trash, "Clear all")) { - return; - } - using (ImRaii.Disabled(!ImGui.IsKeyDown(ImGuiKey.ModCtrl))) - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Trash, "Clear All")) - { - base.Configuration.General.BlacklistedQuests.Clear(); - Save(); - } - } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) - { - ImGui.SetTooltip("Hold CTRL to enable this button."); + base.Configuration.General.BlacklistedQuests.Clear(); + Save(); } + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); } private void DrawCurrentlyAcceptedQuests() @@ -175,50 +170,69 @@ internal sealed class BlacklistConfigComponent : ConfigComponent { if (currentlyAcceptedQuests.Count > 0) { - foreach (Quest item in currentlyAcceptedQuests) + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable("AcceptedQuestsTable", 2); + if ((bool)tableDisposable) { - ImU8String id = new ImU8String(13, 1); - id.AppendLiteral("AcceptedQuest"); - id.AppendFormatted(item.Id); - using (ImRaii.PushId(id)) + ImGui.TableSetupColumn("Name", ImGuiTableColumnFlags.WidthStretch); + ImGui.TableSetupColumn("##Action", ImGuiTableColumnFlags.WidthFixed, 40f * ImGui.GetIO().FontGlobalScale); + foreach (Quest item in currentlyAcceptedQuests) { - (Vector4, FontAwesomeIcon, string) questStyle = _uiUtils.GetQuestStyle(item.Id); - bool flag = false; - bool flag2 = base.Configuration.General.BlacklistedQuests.Contains(item.Id); - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) + ImGui.TableNextRow(); + ImU8String id = new ImU8String(13, 1); + id.AppendLiteral("AcceptedQuest"); + id.AppendFormatted(item.Id); + using (ImRaii.PushId(id)) { - ImGui.AlignTextToFramePadding(); - ImGui.TextColored(flag2 ? new Vector4(0.5f, 0.5f, 0.5f, 1f) : questStyle.Item1, questStyle.Item2.ToIconString()); - flag = ImGui.IsItemHovered(); - } - ImGui.SameLine(); - ImGui.AlignTextToFramePadding(); - ImGui.TextColored(flag2 ? new Vector4(0.7f, 0.7f, 0.7f, 1f) : new Vector4(1f, 1f, 1f, 1f), item.Info.Name); - if (flag | ImGui.IsItemHovered()) - { - _questTooltipComponent.Draw(item.Info); - } - ImGui.SameLine(ImGui.GetContentRegionAvail().X - ImGui.CalcTextSize(FontAwesomeIcon.Ban.ToIconString()).X - ImGui.GetStyle().FramePadding.X * 2f); - using (ImRaii.Disabled(flag2)) - { - if (ImGuiComponents.IconButton($"##Blacklist{item.Id}", FontAwesomeIcon.Ban)) + (Vector4, FontAwesomeIcon, string) questStyle = _uiUtils.GetQuestStyle(item.Id); + bool flag = base.Configuration.General.BlacklistedQuests.Contains(item.Id); + if (ImGui.TableNextColumn()) { - base.Configuration.General.BlacklistedQuests.Add(item.Id); - Save(); + bool flag2; + using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) + { + ImGui.AlignTextToFramePadding(); + ImGui.TextColored(flag ? UiThemeUtils.MutedTextColor : questStyle.Item1, questStyle.Item2.ToIconString()); + flag2 = ImGui.IsItemHovered(); + } + ImGui.SameLine(); + ImGui.AlignTextToFramePadding(); + if (flag) + { + UiThemeUtils.RowLabel(item.Info.Name, 0f, UiThemeUtils.DimTextColor); + } + else + { + UiThemeUtils.RowLabel(item.Info.Name, 0f); + } + flag2 |= ImGui.IsItemHovered(); + if (flag2) + { + _questTooltipComponent.Draw(item.Info); + } + } + if (!ImGui.TableNextColumn()) + { + continue; + } + using (ImRaii.Disabled(flag)) + { + if (UiThemeUtils.IconButton(FontAwesomeIcon.Ban, ImGui.GetFrameHeight())) + { + base.Configuration.General.BlacklistedQuests.Add(item.Id); + Save(); + } + } + if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + { + ImGui.SetTooltip(flag ? "Quest already blacklisted" : "Add this quest to blacklist"); } - } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) - { - ImGui.SetTooltip(flag2 ? "Quest already blacklisted" : "Add this quest to blacklist"); } } } } else { - ImGui.PushStyleColor(ImGuiCol.Text, new Vector4(0.7f, 0.7f, 0.7f, 1f)); - ImGui.TextWrapped("No quests currently accepted"); - ImGui.PopStyleColor(); + UiThemeUtils.EmptyState(FontAwesomeIcon.BookOpen, "No quests currently accepted"); } } } @@ -227,6 +241,11 @@ internal sealed class BlacklistConfigComponent : ConfigComponent private List GetCurrentlyAcceptedQuests() { + if (Environment.TickCount64 < _nextAcceptedQuestsRefreshMs) + { + return _acceptedQuestsCache; + } + _nextAcceptedQuestsRefreshMs = Environment.TickCount64 + 1000; List list = new List(); try { @@ -239,10 +258,12 @@ internal sealed class BlacklistConfigComponent : ConfigComponent } list.Sort((Quest a, Quest b) => string.Compare(a.Info.Name, b.Info.Name, StringComparison.OrdinalIgnoreCase)); } - catch (Exception) + catch (Exception exception) { + _logger.LogDebug(exception, "Failed to enumerate accepted quests"); list.Clear(); } + _acceptedQuestsCache = list; return list; } } diff --git a/Questionable/Questionable.Windows.ConfigComponents/ConfigComponent.cs b/Questionable/Questionable.Windows.ConfigComponents/ConfigComponent.cs index 13aed72..08f087c 100644 --- a/Questionable/Questionable.Windows.ConfigComponents/ConfigComponent.cs +++ b/Questionable/Questionable.Windows.ConfigComponents/ConfigComponent.cs @@ -1,10 +1,15 @@ +using System; using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Text; using Dalamud.Bindings.ImGui; using Dalamud.Game.Text; using Dalamud.Interface; -using Dalamud.Interface.Colors; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin; +using Questionable.Model.Questing; +using Questionable.Windows.Utils; namespace Questionable.Windows.ConfigComponents; @@ -16,19 +21,11 @@ internal abstract class ConfigComponent protected const string DutyBlacklistPrefix = "-"; - protected readonly string[] SupportedCfcOptions = new string[3] - { - $"{SeIconChar.Circle.ToIconChar()} Enabled (Default)", - $"{SeIconChar.Circle.ToIconChar()} Enabled", - $"{SeIconChar.Cross.ToIconChar()} Disabled" - }; + private const string ModePrefix = "M:"; - protected readonly string[] UnsupportedCfcOptions = new string[3] - { - $"{SeIconChar.Cross.ToIconChar()} Disabled (Default)", - $"{SeIconChar.Circle.ToIconChar()} Enabled", - $"{SeIconChar.Cross.ToIconChar()} Disabled" - }; + protected readonly string[] SupportedCfcOptions = new string[3] { "Enabled (Default)", "Enabled", "Disabled" }; + + protected readonly string[] UnsupportedCfcOptions = new string[3] { "Disabled (Default)", "Enabled", "Disabled" }; private readonly IDalamudPluginInterface _pluginInterface; @@ -59,7 +56,7 @@ internal abstract class ConfigComponent protected static void DrawNotes(bool enabledByDefault, IEnumerable notes) { using ImRaii.ColorDisposable colorDisposable = new ImRaii.ColorDisposable(); - colorDisposable.Push(ImGuiCol.TextDisabled, (!enabledByDefault) ? ImGuiColors.DalamudYellow : ImGuiColors.ParsedBlue); + colorDisposable.Push(ImGuiCol.TextDisabled, (!enabledByDefault) ? UiThemeUtils.StatusActive : UiThemeUtils.StatusAvailableComplete); ImGui.SameLine(); using (ImRaii.PushFont(UiBuilder.IconFont)) { @@ -78,11 +75,65 @@ internal abstract class ConfigComponent } using (ImRaii.Tooltip()) { - ImGui.TextColored(ImGuiColors.DalamudYellow, "While testing, the following issues have been found:"); + ImGui.TextColored(in UiThemeUtils.StatusActive, "While testing, the following issues have been found:"); foreach (string note in notes) { ImGui.BulletText(note); } } } + + protected void DrawClipboardButtons(string clipboardPrefix, HashSet whitelistedIds, HashSet blacklistedIds, Dictionary? modeOverrides = null) + { + using (ImRaii.Disabled(whitelistedIds.Count + blacklistedIds.Count + (modeOverrides?.Count ?? 0) == 0)) + { + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Copy, "Export to clipboard")) + { + IEnumerable first = whitelistedIds.Select((uint x) => $"{"+"}{x}"); + IEnumerable second = blacklistedIds.Select((uint x) => $"{"-"}{x}"); + IEnumerable enumerable = first.Concat(second); + if (modeOverrides != null) + { + enumerable = enumerable.Concat(modeOverrides.Select((KeyValuePair x) => $"{"M:"}{x.Key}:{x.Value}")); + } + ImGui.SetClipboardText(clipboardPrefix + Convert.ToBase64String(Encoding.UTF8.GetBytes(string.Join(";", enumerable)))); + } + } + ImGui.SameLine(); + string text = ThrottledClipboard.GetText(); + using (ImRaii.Disabled(string.IsNullOrEmpty(text) || !text.StartsWith(clipboardPrefix, StringComparison.InvariantCulture))) + { + if (!UiThemeUtils.IconTextButton(FontAwesomeIcon.Paste, "Import from Clipboard")) + { + return; + } + text = text.Substring(clipboardPrefix.Length); + string text2 = Encoding.UTF8.GetString(Convert.FromBase64String(text)); + whitelistedIds.Clear(); + blacklistedIds.Clear(); + modeOverrides?.Clear(); + string[] array = text2.Split(";"); + foreach (string text3 in array) + { + if (text3.StartsWith("+", StringComparison.InvariantCulture) && uint.TryParse(text3.AsSpan("+".Length), CultureInfo.InvariantCulture, out var result)) + { + whitelistedIds.Add(result); + } + if (text3.StartsWith("-", StringComparison.InvariantCulture) && uint.TryParse(text3.AsSpan("-".Length), CultureInfo.InvariantCulture, out var result2)) + { + blacklistedIds.Add(result2); + } + if (modeOverrides != null && text3.StartsWith("M:", StringComparison.InvariantCulture)) + { + ReadOnlySpan span = text3.AsSpan("M:".Length); + int num2 = span.IndexOf(':'); + if (num2 > 0 && uint.TryParse(span.Slice(0, num2), CultureInfo.InvariantCulture, out var result3) && int.TryParse(span.Slice(num2 + 1), CultureInfo.InvariantCulture, out var result4) && Enum.IsDefined(typeof(EDutyMode), result4)) + { + modeOverrides[result3] = (EDutyMode)result4; + } + } + } + Save(); + } + } } diff --git a/Questionable/Questionable.Windows.ConfigComponents/DebugConfigComponent.cs b/Questionable/Questionable.Windows.ConfigComponents/DebugConfigComponent.cs index 57b25dc..b643ccd 100644 --- a/Questionable/Questionable.Windows.ConfigComponents/DebugConfigComponent.cs +++ b/Questionable/Questionable.Windows.ConfigComponents/DebugConfigComponent.cs @@ -1,165 +1,214 @@ +using System.Collections.Generic; +using System.Collections.Immutable; +using System.IO; +using System.Linq; +using System.Numerics; using Dalamud.Bindings.ImGui; -using Dalamud.Interface.Colors; -using Dalamud.Interface.Components; +using Dalamud.Interface; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin; +using Questionable.External; namespace Questionable.Windows.ConfigComponents; internal sealed class DebugConfigComponent : ConfigComponent { + private readonly Dictionary _featurePausingOpenState = new Dictionary(); + + private readonly string? _cacheDirectory; + public DebugConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration) : base(pluginInterface, configuration) { + _cacheDirectory = pluginInterface.ConfigDirectory.FullName; } public override void DrawTab() { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Advanced###Debug"); - if (!tabItemDisposable) + UiThemeUtils.SectionHeader("Interaction Recovery"); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard(); + Vector2 item = tuple.ContentStartPos; + float item2 = tuple.AvailableWidth; + ImDrawListPtr item3 = tuple.DrawList; + int value = base.Configuration.Advanced.InteractionRetryLimit; + if (UiThemeUtils.AccentSliderInt("Retry limit", ref value, 1, 10, 260f)) + { + base.Configuration.Advanced.InteractionRetryLimit = value; + Save(); + } + ImGui.SameLine(); + UiThemeUtils.InfoIcon("Maximum number of times an interrupted interaction will be retried before stopping. Interruptions can be caused by combat, other plugins, or server issues."); + float value2 = base.Configuration.Advanced.InteractionTimeoutSeconds; + if (UiThemeUtils.AccentSliderFloat("Timeout (seconds)", ref value2, 5f, 30f, "%.0f", 260f)) + { + base.Configuration.Advanced.InteractionTimeoutSeconds = value2; + Save(); + } + ImGui.SameLine(); + UiThemeUtils.InfoIcon("Maximum time an interaction can run without progress before it is treated as stuck and retried."); + UiThemeUtils.EndCard(item, item2, item3); + UiThemeUtils.SectionSpacing(); + UiThemeUtils.SectionHeader("Navigation debug"); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple2 = UiThemeUtils.BeginCard(); + Vector2 item4 = tuple2.ContentStartPos; + float item5 = tuple2.AvailableWidth; + ImDrawListPtr item6 = tuple2.DrawList; + bool value3 = base.Configuration.Advanced.ShowWigglyNavShimProvider; + if (UiThemeUtils.WrappedCheckbox("Show WigglyNav shim provider option", ref value3, "Reveals an extra navigation provider row on the Dependencies page that drives WigglyNav through its vnavmesh-shaped legacy surface instead of its native one. Intended for comparing the two surfaces, not for normal use.")) + { + base.Configuration.Advanced.ShowWigglyNavShimProvider = value3; + Save(); + } + UiThemeUtils.EndCard(item4, item5, item6); + UiThemeUtils.SectionSpacing(); + UiThemeUtils.SectionHeader("Data Cache"); + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + UiThemeUtils.WrappedText("NPC position and zone boundary caches are rebuilt automatically after game patches. Use this button to force a rebuild on next load."); + bool flag = _cacheDirectory != null && (File.Exists(Path.Combine(_cacheDirectory, "npc-position-cache.bin")) || File.Exists(Path.Combine(_cacheDirectory, "zone-boundary-cache.bin"))); + long num = 0L; + if (_cacheDirectory != null) + { + num += FileSize(Path.Combine(_cacheDirectory, "npc-position-cache.bin")); + num += FileSize(Path.Combine(_cacheDirectory, "zone-boundary-cache.bin")); + } + using (ImRaii.Disabled(!flag)) + { + if (ImGui.Button("Clear LGB Caches") && _cacheDirectory != null) + { + TryDelete(Path.Combine(_cacheDirectory, "npc-position-cache.bin")); + TryDelete(Path.Combine(_cacheDirectory, "zone-boundary-cache.bin")); + } + if (flag && ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + { + ImU8String tooltip = new ImU8String(20, 1); + tooltip.AppendLiteral("Current cache size: "); + tooltip.AppendFormatted(FormatBytes(num)); + ImGui.SetTooltip(tooltip); + } + } + if (!flag) + { + ImGui.SameLine(); + ImGui.TextDisabled("(no cache files present)"); + } + else + { + ImGui.SameLine(); + ImGui.TextDisabled("Takes effect on next plugin load."); + } + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + UiThemeUtils.SectionSpacing(); + UiThemeUtils.SectionHeader("Danger Zone"); + var (contentStartPos2, availableWidth2, drawList2) = UiThemeUtils.BeginCard(); + UiThemeUtils.WrappedTextColored(UiThemeUtils.StatusLocked, "Enabling any option below may cause unexpected behavior. Use at your own risk."); + bool value4 = base.Configuration.Advanced.DisablePartyWatchdog; + if (UiThemeUtils.WrappedCheckbox("Disable Party Watchdog", ref value4, "The Party Watchdog stops Questionable when entering certain zones with other party members, or when entering unsupported content. Disabling this allows Questionable to continue working while in a party, but may cause unexpected behavior in group content.")) + { + base.Configuration.Advanced.DisablePartyWatchdog = value4; + Save(); + } + DrawFeaturePausingSection("Pandora's Box Feature Pausing", PandorasBoxIpc.ConflictingFeatures, "Auto Active Time Maneuver", "Only applies when Auto-Solve QTE is enabled.", base.Configuration.Advanced.PandoraFeatureExclusions); + DrawFeaturePausingSection("Bundle of Tweaks Feature Pausing", AutomatonIpc.ConflictingTweaks, "AutoSnipeQuests", "Only applies when AutoSnipe is enabled.", base.Configuration.Advanced.AutomatonTweakExclusions); + UiThemeUtils.EndCard(contentStartPos2, availableWidth2, drawList2); + } + + private void DrawFeaturePausingSection(string header, ImmutableHashSet features, string conditionalFeature, string conditionalHelpText, HashSet exclusions) + { + bool open = _featurePausingOpenState.GetValueOrDefault(header); + UiThemeUtils.ThemedAccordion(header, header, null, ref open); + _featurePausingOpenState[header] = open; + if (!open) { return; } - ImGui.TextColored(ImGuiColors.DalamudRed, "Enabling any option here may cause unexpected behavior. Use at your own risk."); - ImGui.Separator(); - DrawChocoboSettings(); - ImGui.Separator(); - bool v = base.Configuration.Advanced.DebugOverlay; - if (ImGui.Checkbox("Enable debug overlay", ref v)) - { - base.Configuration.Advanced.DebugOverlay = v; - Save(); - } - using (ImRaii.Disabled(!v)) + using (ImRaii.PushId(header)) { using (ImRaii.PushIndent()) { - bool v2 = base.Configuration.Advanced.CombatDataOverlay; - if (ImGui.Checkbox("Enable combat data overlay", ref v2)) + foreach (string item in features.Order()) { - base.Configuration.Advanced.CombatDataOverlay = v2; + bool value = !exclusions.Contains(item); + if (UiThemeUtils.WrappedCheckbox("Pause: " + item, ref value)) + { + if (value) + { + exclusions.Remove(item); + } + else + { + exclusions.Add(item); + } + Save(); + } + } + ImGui.Spacing(); + bool value2 = !exclusions.Contains(conditionalFeature); + if (UiThemeUtils.WrappedCheckbox("Pause: " + conditionalFeature, ref value2, conditionalHelpText)) + { + if (value2) + { + exclusions.Remove(conditionalFeature); + } + else + { + exclusions.Add(conditionalFeature); + } + Save(); + } + ImGui.Spacing(); + if (UiThemeUtils.DestructiveButton(FontAwesomeIcon.Undo, "Reset to defaults")) + { + exclusions.Clear(); Save(); } } } - bool v3 = base.Configuration.Advanced.NeverFly; - if (ImGui.Checkbox("Disable flying (even if unlocked for the zone)", ref v3)) + } + + private static void TryDelete(string path) + { + try { - base.Configuration.Advanced.NeverFly = v3; - Save(); + File.Delete(path); } - bool v4 = base.Configuration.Advanced.AdditionalStatusInformation; - if (ImGui.Checkbox("Draw additional status information", ref v4)) + catch { - base.Configuration.Advanced.AdditionalStatusInformation = v4; - Save(); - } - bool v5 = base.Configuration.Advanced.DisablePartyWatchdog; - if (ImGui.Checkbox("Disable Party Watchdog", ref v5)) - { - base.Configuration.Advanced.DisablePartyWatchdog = v5; - Save(); - } - ImGui.SameLine(); - ImGuiComponents.HelpMarker("The Party Watchdog stops Questionable when entering certain zones with other party members, or when entering unsupported content. Disabling this allows Questionable to continue working while in a party, but may cause unexpected behavior in group content."); - ImGui.Separator(); - ImGui.Text("AutoDuty Settings"); - using (ImRaii.PushIndent()) - { - ImGui.AlignTextToFramePadding(); - bool v6 = base.Configuration.Advanced.DisableAutoDutyBareMode; - if (ImGui.Checkbox("Use Pre-Loop/Loop/Post-Loop settings", ref v6)) - { - base.Configuration.Advanced.DisableAutoDutyBareMode = v6; - Save(); - } - ImGui.SameLine(); - ImGuiComponents.HelpMarker("Typically, the loop settings for AutoDuty are disabled when running dungeons with Questionable, since they can cause issues (or even shut down your PC)."); - } - ImGui.Separator(); - ImGui.Text("Quest/Interaction Skips"); - using (ImRaii.PushIndent()) - { - bool v7 = base.Configuration.Advanced.SkipAetherCurrents; - if (ImGui.Checkbox("Don't pick up aether currents/aether current quests", ref v7)) - { - base.Configuration.Advanced.SkipAetherCurrents = v7; - Save(); - } - ImGui.SameLine(); - ImGuiComponents.HelpMarker("If not done during the MSQ by Questionable, you have to manually pick up any missed aether currents/quests. There is no way to automatically pick up all missing aether currents."); - bool v8 = base.Configuration.Advanced.SkipClassJobQuests; - if (ImGui.Checkbox("Don't pick up class/job/role quests", ref v8)) - { - base.Configuration.Advanced.SkipClassJobQuests = v8; - Save(); - } - ImGui.SameLine(); - ImGuiComponents.HelpMarker("Class and job skills for A Realm Reborn, Heavensward and (for the Lv70 skills) Stormblood are locked behind quests. Not recommended if you plan on queueing for instances with duty finder/party finder.\n\nNote: This setting is ignored for the first class/job quest if your character is not high enough level to start the level 4 MSQ."); - bool v9 = base.Configuration.Advanced.SkipARealmRebornHardModePrimals; - if (ImGui.Checkbox("Don't pick up ARR hard mode primal quests", ref v9)) - { - base.Configuration.Advanced.SkipARealmRebornHardModePrimals = v9; - Save(); - } - ImGui.SameLine(); - ImGuiComponents.HelpMarker("Hard mode Ifrit/Garuda/Titan are required for the Patch 2.5 quest 'Good Intentions' and to start Heavensward."); - bool v10 = base.Configuration.Advanced.SkipCrystalTowerRaids; - if (ImGui.Checkbox("Don't pick up Crystal Tower quests", ref v10)) - { - base.Configuration.Advanced.SkipCrystalTowerRaids = v10; - Save(); - } - ImGui.SameLine(); - ImGuiComponents.HelpMarker("Crystal Tower raids are required for the Patch 2.55 quest 'A Time to Every Purpose' and to start Heavensward."); - bool v11 = base.Configuration.Advanced.PreventQuestCompletion; - if (ImGui.Checkbox("Prevent quest completion", ref v11)) - { - base.Configuration.Advanced.PreventQuestCompletion = v11; - Save(); - } - ImGui.SameLine(); - ImGuiComponents.HelpMarker("When enabled, Questionable will not attempt to turn-in and complete quests. This will do everything automatically except the final turn-in step."); } } - private void DrawChocoboSettings() + private static long FileSize(string path) { - ImGui.Text("Chocobo Settings"); - using (ImRaii.PushIndent()) + try { - ImGui.AlignTextToFramePadding(); - ImGui.Text("Chocobo Name:"); - ImGui.SameLine(); - string buf = base.Configuration.Advanced.ChocoboName; - ImGui.SetNextItemWidth(200f); - if (ImGui.InputText("##ChocoboName", ref buf, 20)) + FileInfo fileInfo = new FileInfo(path); + long result; + if (fileInfo != null && fileInfo.Exists) { - string chocoboName = FormatChocoboName(buf); - base.Configuration.Advanced.ChocoboName = chocoboName; - Save(); + long length = fileInfo.Length; + result = length; } - if (!string.IsNullOrEmpty(buf) && buf.Length < 2) + else { - ImGui.SameLine(); - ImGui.TextColored(ImGuiColors.DalamudRed, "Name must be at least 2 characters"); + result = 0L; } - ImGui.SameLine(); - ImGuiComponents.HelpMarker("The name to give your chocobo during the 'My Little Chocobo' quest.\nMust be 2-20 characters. First letter will be capitalized.\nIf left empty, defaults to 'Kweh'."); + return result; + } + catch + { + return 0L; } } - private static string FormatChocoboName(string name) + private static string FormatBytes(long bytes) { - if (string.IsNullOrEmpty(name)) + if (bytes < 1048576) { - return string.Empty; + if (bytes >= 1024) + { + return $"{(double)bytes / 1024.0:F1} KB"; + } + return $"{bytes} B"; } - name = name.Trim(); - if (name.Length == 0) - { - return string.Empty; - } - return name.Substring(0, 1).ToUpperInvariant() + ((name.Length > 1) ? name.Substring(1).ToLowerInvariant() : string.Empty); + return $"{(double)bytes / 1048576.0:F1} MB"; } } diff --git a/Questionable/Questionable.Windows.ConfigComponents/DutyConfigComponent.cs b/Questionable/Questionable.Windows.ConfigComponents/DutyConfigComponent.cs index c54bba9..077ea06 100644 --- a/Questionable/Questionable.Windows.ConfigComponents/DutyConfigComponent.cs +++ b/Questionable/Questionable.Windows.ConfigComponents/DutyConfigComponent.cs @@ -1,19 +1,15 @@ using System; using System.Collections.Generic; -using System.Globalization; using System.Linq; using System.Numerics; -using System.Text; using Dalamud.Bindings.ImGui; using Dalamud.Interface; -using Dalamud.Interface.Colors; -using Dalamud.Interface.Components; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin; using Dalamud.Plugin.Services; using Dalamud.Utility; +using Lumina.Excel; using Lumina.Excel.Sheets; -using Questionable.Controller; using Questionable.Data; using Questionable.External; using Questionable.Model; @@ -23,15 +19,23 @@ namespace Questionable.Windows.ConfigComponents; internal sealed class DutyConfigComponent : ConfigComponent { - private sealed record DutyInfo(uint CfcId, uint TerritoryId, string Name); + private sealed record DutyInfo(uint CfcId, uint TerritoryId, string Name, int Level); private const string DutyClipboardPrefix = "qst:duty:"; - private const string ModePrefix = "M:"; + private const uint ContentTypeDungeons = 2u; + + private const uint ContentTypeTrials = 4u; + + private const uint ContentTypeRaids = 5u; + + private const uint MemberTypeNormalRaid = 3u; + + private const uint MemberTypeAllianceRaid = 4u; private static readonly string[] DutyModeLabels = new string[3] { "Duty Support", "Unsync (Solo)", "Unsync (Party)" }; - private readonly QuestRegistry _questRegistry; + private static readonly string[] DutyTabLabels = new string[4] { "Dungeons", "Trials", "Normal Raids", "Alliance Raids" }; private readonly AutoDutyIpc _autoDutyIpc; @@ -43,172 +47,140 @@ internal sealed class DutyConfigComponent : ConfigComponent private readonly Dictionary> _allAllianceRaidNames; - public DutyConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration, IDataManager dataManager, QuestRegistry questRegistry, AutoDutyIpc autoDutyIpc, TerritoryData territoryData) + private int _selectedDutyTab; + + public DutyConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration, IDataManager dataManager, AutoDutyIpc autoDutyIpc, TerritoryData territoryData) : base(pluginInterface, configuration) { - _questRegistry = questRegistry; _autoDutyIpc = autoDutyIpc; - _contentFinderConditionNames = (from x in dataManager.GetExcelSheet() - where x.RowId != 0 && x.Content.RowId != 0 && x.ContentType.RowId == 2 - select new - { - Expansion = (EExpansionVersion)x.TerritoryType.Value.ExVersion.RowId, - CfcId = x.RowId, - Name = (territoryData.GetContentFinderCondition(x.RowId)?.Name ?? x.Name.ToDalamudString().ToString()), - TerritoryId = x.TerritoryType.RowId, - Level = x.ClassJobLevelRequired, - SortKey = x.SortKey - } into x - orderby x.SortKey - group x by x.Expansion).ToDictionary(x => x.Key, x => x.Select(y => new DutyInfo(y.CfcId, y.TerritoryId, ConfigComponent.FormatLevel(y.Level) + " " + y.Name)).ToList()); - _allTrialNames = (from x in dataManager.GetExcelSheet() - where x.RowId != 0 && x.Content.RowId != 0 && x.ContentType.RowId == 4 - select new - { - Expansion = (EExpansionVersion)x.TerritoryType.Value.ExVersion.RowId, - CfcId = x.RowId, - Name = (territoryData.GetContentFinderCondition(x.RowId)?.Name ?? x.Name.ToDalamudString().ToString()), - TerritoryId = x.TerritoryType.RowId, - Level = x.ClassJobLevelRequired, - SortKey = x.SortKey - } into x - orderby x.SortKey - group x by x.Expansion).ToDictionary(x => x.Key, x => x.Select(y => new DutyInfo(y.CfcId, y.TerritoryId, ConfigComponent.FormatLevel(y.Level) + " " + y.Name)).ToList()); - _allNormalRaidNames = (from x in dataManager.GetExcelSheet() - where x.RowId != 0 && x.Content.RowId != 0 && x.ContentType.RowId == 5 - where x.ContentMemberType.RowId == 3 - select new - { - Expansion = (EExpansionVersion)x.TerritoryType.Value.ExVersion.RowId, - CfcId = x.RowId, - Name = (territoryData.GetContentFinderCondition(x.RowId)?.Name ?? x.Name.ToDalamudString().ToString()), - TerritoryId = x.TerritoryType.RowId, - Level = x.ClassJobLevelRequired, - SortKey = x.SortKey - } into x - orderby x.SortKey - group x by x.Expansion).ToDictionary(x => x.Key, x => x.Select(y => new DutyInfo(y.CfcId, y.TerritoryId, ConfigComponent.FormatLevel(y.Level) + " " + y.Name)).ToList()); - _allAllianceRaidNames = (from x in dataManager.GetExcelSheet() - where x.RowId != 0 && x.Content.RowId != 0 && x.ContentType.RowId == 5 - where x.ContentMemberType.RowId == 4 - select new - { - Expansion = (EExpansionVersion)x.TerritoryType.Value.ExVersion.RowId, - CfcId = x.RowId, - Name = (territoryData.GetContentFinderCondition(x.RowId)?.Name ?? x.Name.ToDalamudString().ToString()), - TerritoryId = x.TerritoryType.RowId, - Level = x.ClassJobLevelRequired, - SortKey = x.SortKey - } into x - orderby x.SortKey - group x by x.Expansion).ToDictionary(x => x.Key, x => x.Select(y => new DutyInfo(y.CfcId, y.TerritoryId, ConfigComponent.FormatLevel(y.Level) + " " + y.Name)).ToList()); + ExcelSheet excelSheet = dataManager.GetExcelSheet(); + _contentFinderConditionNames = LoadContentByType(excelSheet, territoryData, 2u); + _allTrialNames = LoadContentByType(excelSheet, territoryData, 4u); + _allNormalRaidNames = LoadContentByType(excelSheet, territoryData, 5u, 3u); + _allAllianceRaidNames = LoadContentByType(excelSheet, territoryData, 5u, 4u); } - public override void DrawTab() + private static Dictionary> LoadContentByType(ExcelSheet sheet, TerritoryData territoryData, uint contentTypeId, uint? contentMemberTypeId = null) { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Duties###Duties"); - if (!tabItemDisposable) + IEnumerable source = sheet.Where((ContentFinderCondition x) => x.RowId != 0 && x.Content.RowId != 0 && x.ContentType.RowId == contentTypeId); + if (contentMemberTypeId.HasValue) { - return; + source = source.Where((ContentFinderCondition x) => x.ContentMemberType.RowId == contentMemberTypeId.Value); } - bool v = base.Configuration.Duties.RunInstancedContentWithAutoDuty; - if (ImGui.Checkbox("Run instanced content with AutoDuty and BossMod", ref v)) + return (from x in source + select new + { + Expansion = (EExpansionVersion)x.TerritoryType.Value.ExVersion.RowId, + CfcId = x.RowId, + Name = (territoryData.GetContentFinderCondition(x.RowId)?.Name ?? x.Name.ToDalamudString().ToString()), + TerritoryId = x.TerritoryType.RowId, + Level = x.ClassJobLevelRequired, + SortKey = x.SortKey + } into x + orderby x.SortKey + group x by x.Expansion).ToDictionary(x => x.Key, x => x.Select(y => new DutyInfo(y.CfcId, y.TerritoryId, y.Name, y.Level)).ToList()); + } + + public void DrawAutoDutySettings() + { + bool value = base.Configuration.Duties.RunInstancedContentWithAutoDuty; + if (UiThemeUtils.WrappedCheckbox("Run instanced content with AutoDuty and BossMod", ref value, "The combat module used for this is configured by AutoDuty, ignoring whichever selection you've made in Questionable's \"General\" configuration.\n\nWork in Progress:\n• Duty Support mode is limited.\n• Unsynced modes require being significantly overleveled or having a high-level party member.\n• Most players will need to use Duty Support mode when progressing normally through the game.")) { - base.Configuration.Duties.RunInstancedContentWithAutoDuty = v; + base.Configuration.Duties.RunInstancedContentWithAutoDuty = value; Save(); } - ImGui.SameLine(); - ImGuiComponents.HelpMarker("The combat module used for this is configured by AutoDuty, ignoring whichever selection you've made in Questionable's \"General\" configuration."); - using (ImRaii.Disabled(!v)) + using (ImRaii.Disabled(!value)) { - using (ImRaii.PushIndent(ImGui.GetFrameHeight() + ImGui.GetStyle().ItemInnerSpacing.X)) + bool value2 = base.Configuration.Duties.RunLevelingModeWhenUnderleveled; + if (UiThemeUtils.WrappedCheckbox("Run AutoDuty Leveling mode when underleveled for MSQ", ref value2, "When enabled, Questionable will automatically run AutoDuty's Leveling mode when your character is underleveled for the next Main Scenario Quest.\n\nLeveling mode runs the highest available dungeon for your level to gain XP.\n\nThis is useful for characters without the Road to 90 XP buff who may not have enough XP to continue the MSQ.")) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed)) - { - ImGui.TextUnformatted("Work in Progress:"); - ImGui.BulletText("Duty Support mode is limited."); - ImGui.BulletText("Unsynced modes require being significantly overleveled or having a high-level party member."); - ImGui.BulletText("Most players will need to use Duty Support mode when progressing normally through the game."); - } - } - ImGui.Spacing(); - bool v2 = base.Configuration.Duties.RunLevelingModeWhenUnderleveled; - if (ImGui.Checkbox("Run AutoDuty Leveling mode when underleveled for MSQ", ref v2)) - { - base.Configuration.Duties.RunLevelingModeWhenUnderleveled = v2; + base.Configuration.Duties.RunLevelingModeWhenUnderleveled = value2; + Save(); + } + bool value3 = base.Configuration.Duties.AutoUnsyncOverleveled; + if (UiThemeUtils.WrappedCheckbox("Run dungeons unsynced when safely overleveled", ref value3, "Runs 4-man dungeons solo as an unrestricted party instead of with Duty Support if you are at least 15 levels above the dungeon's level sync, or 10 levels above with an item level advantage of 100 or more.\n\nOnly applies when the default duty mode is Duty Support and the dungeon has no built-in or manually configured duty mode.")) + { + base.Configuration.Duties.AutoUnsyncOverleveled = value3; Save(); } - ImGui.SameLine(); - ImGuiComponents.HelpMarker("When enabled, Questionable will automatically run AutoDuty's Leveling mode when your character is underleveled for the next Main Scenario Quest.\n\nLeveling mode runs the highest available dungeon for your level to gain XP.\n\nThis is useful for characters without the Road to 90 XP buff who may not have enough XP to continue the MSQ."); ImGui.Spacing(); ImGui.Text("Default duty mode:"); ImGui.SameLine(); int currentItem = (int)base.Configuration.Duties.DefaultDutyMode; - ImGui.SetNextItemWidth(200f); - if (ImGui.Combo((ImU8String)"##DefaultDutyMode", ref currentItem, (ReadOnlySpan)DutyModeLabels, DutyModeLabels.Length)) + ImGui.SetNextItemWidth(MathF.Min(ImGui.GetContentRegionAvail().X * 0.6f, 260f)); + if (UiThemeUtils.ThemedCombo("##DefaultDutyMode", ref currentItem, DutyModeLabels, DutyModeLabels.Length)) { base.Configuration.Duties.DefaultDutyMode = (EDutyMode)currentItem; Save(); } ImGui.SameLine(); - ImGuiComponents.HelpMarker("\ufffd Duty Support: Run with NPC party members (level synced)\n\ufffd Unsync (Solo): Run alone at your current level (unsynced)\n\ufffd Unsync (Party): Run with your party at current level (unsynced)\n\nYou can override this setting for individual duties below."); + UiThemeUtils.InfoIcon("Duty Support: Run with NPC party members (level synced)\nUnsync (Solo): Run alone at your current level (unsynced)\nUnsync (Party): Run with your party at current level (unsynced)\n\nYou can override this setting for individual duties below."); + ImGui.Spacing(); + UiThemeUtils.SubSectionHeader("AutoDuty loop mode (advanced)"); + using (ImRaii.PushIndent()) + { + bool value4 = base.Configuration.Advanced.DisableAutoDutyBareMode; + if (UiThemeUtils.WrappedCheckbox("Use Pre-Loop/Loop/Post-Loop settings", ref value4, "Typically, the loop settings for AutoDuty are disabled when running dungeons with Questionable, since they can cause issues (or even shut down your PC).")) + { + base.Configuration.Advanced.DisableAutoDutyBareMode = value4; + Save(); + } + } } - ImGui.Separator(); - using (ImRaii.Disabled(!v)) + } + + public override void DrawTab() + { + UiThemeUtils.SectionHeader("Duty Settings"); + ImGui.Spacing(); + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + DrawAutoDutySettings(); + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + UiThemeUtils.SectionSpacing(); + bool runInstancedContentWithAutoDuty = base.Configuration.Duties.RunInstancedContentWithAutoDuty; + using (ImRaii.Disabled(!runInstancedContentWithAutoDuty)) { - ImGui.Text("Questionable includes a default list of duties that work if AutoDuty and BossMod are installed."); - ImGui.Text("The included list of duties can change with each update, and is based on the following spreadsheet:"); - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.GlobeEurope, "Open AutoDuty spreadsheet")) + UiThemeUtils.SectionHeader("Duty Overrides"); + ImGui.Spacing(); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple2 = UiThemeUtils.BeginCard(); + Vector2 item = tuple2.ContentStartPos; + float item2 = tuple2.AvailableWidth; + ImDrawListPtr item3 = tuple2.DrawList; + Dictionary> contentByExpansion = _selectedDutyTab switch { - Util.OpenLink("https://docs.google.com/spreadsheets/d/151RlpqRcCpiD_VbQn6Duf-u-S71EP7d0mx3j1PDNoNA/edit?pli=1#gid=0"); - } - ImGui.Separator(); - ImGui.Text("You can override the settings for each individual duty:"); - using ImRaii.TabBarDisposable tabBarDisposable = ImRaii.TabBar("DutyTypeTabs"); - if ((bool)tabBarDisposable) - { - using (ImRaii.TabItemDisposable tabItemDisposable2 = ImRaii.TabItem("Dungeons")) - { - if ((bool)tabItemDisposable2) - { - DrawConfigTable(v, _contentFinderConditionNames); - } - } - using (ImRaii.TabItemDisposable tabItemDisposable3 = ImRaii.TabItem("Trials")) - { - if ((bool)tabItemDisposable3) - { - DrawConfigTable(v, _allTrialNames); - } - } - using (ImRaii.TabItemDisposable tabItemDisposable4 = ImRaii.TabItem("Normal Raids")) - { - if ((bool)tabItemDisposable4) - { - DrawConfigTable(v, _allNormalRaidNames); - } - } - using ImRaii.TabItemDisposable tabItemDisposable5 = ImRaii.TabItem("Alliance Raids"); - if ((bool)tabItemDisposable5) - { - DrawConfigTable(v, _allAllianceRaidNames); - } - } + 1 => _allTrialNames, + 2 => _allNormalRaidNames, + 3 => _allAllianceRaidNames, + _ => _contentFinderConditionNames, + }; + _selectedDutyTab = UiThemeUtils.DrawTabBar(DutyTabLabels, _selectedDutyTab); + ImGui.SetCursorPosY(ImGui.GetCursorPosY() - ImGui.GetStyle().ItemSpacing.Y); + DrawConfigTable(runInstancedContentWithAutoDuty, contentByExpansion); DrawEnableAllButton(); ImGui.SameLine(); - DrawClipboardButtons(); + DrawClipboardButtons("qst:duty:", base.Configuration.Duties.WhitelistedDutyCfcIds, base.Configuration.Duties.BlacklistedDutyCfcIds, base.Configuration.Duties.DutyModeOverrides); ImGui.SameLine(); - DrawResetButton(); + if (UiThemeUtils.DestructiveButton(FontAwesomeIcon.Undo, "Reset to defaults")) + { + base.Configuration.Duties.WhitelistedDutyCfcIds.Clear(); + base.Configuration.Duties.BlacklistedDutyCfcIds.Clear(); + base.Configuration.Duties.DutyModeOverrides.Clear(); + base.Configuration.Duties.DefaultDutyMode = EDutyMode.Support; + Save(); + } + UiThemeUtils.EndCard(item, item2, item3); } } private void DrawConfigTable(bool runInstancedContentWithAutoDuty, Dictionary> contentByExpansion) { - using ImRaii.ChildDisposable childDisposable = ImRaii.Child("DutyConfiguration", new Vector2(725f, 400f), border: true); + Vector2 contentRegionAvail = ImGui.GetContentRegionAvail(); + using ImRaii.ChildDisposable childDisposable = ImRaii.Child("DutyConfiguration", new Vector2(contentRegionAvail.X, MathF.Max(contentRegionAvail.Y - 30f - 12f, 200f)), border: true); if (!childDisposable) { return; } + Dictionary expansionHeaderStates = base.Configuration.Duties.ExpansionHeaderStates; EExpansionVersion[] values = Enum.GetValues(); for (int i = 0; i < values.Length; i++) { @@ -216,173 +188,167 @@ internal sealed class DutyConfigComponent : ConfigComponent (int enabledCount, int totalCount) dutyCountsForExpansion = GetDutyCountsForExpansion(eExpansionVersion, contentByExpansion); int item = dutyCountsForExpansion.enabledCount; int item2 = dutyCountsForExpansion.totalCount; - string obj = ((item2 > 0) ? $"{eExpansionVersion.ToFriendlyString()} ({item}/{item2})" : eExpansionVersion.ToFriendlyString()); - string key = eExpansionVersion.ToString(); - ImGui.SetNextItemOpen(base.Configuration.Duties.ExpansionHeaderStates.GetValueOrDefault(key, defaultValue: false), ImGuiCond.Always); - if (ImGui.CollapsingHeader(obj)) + string text = eExpansionVersion.ToString(); + bool open = expansionHeaderStates.GetValueOrDefault(text, defaultValue: false); + if (UiThemeUtils.ThemedAccordion(text, eExpansionVersion.ToFriendlyString(), (item2 > 0) ? $"{item}/{item2}" : null, ref open)) { - if (!base.Configuration.Duties.ExpansionHeaderStates.GetValueOrDefault(key, defaultValue: false)) + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable($"Duties{eExpansionVersion}", 4, ImGuiTableFlags.SizingFixedFit); + if ((bool)tableDisposable) { - base.Configuration.Duties.ExpansionHeaderStates[key] = true; - Save(); - } - ImU8String table = new ImU8String(6, 1); - table.AppendLiteral("Duties"); - table.AppendFormatted(eExpansionVersion); - using ImRaii.TableDisposable tableDisposable = ImRaii.Table(table, 3, ImGuiTableFlags.SizingFixedFit); - if (!(bool)tableDisposable) - { - continue; - } - ImGui.TableSetupColumn("Name", ImGuiTableColumnFlags.WidthStretch); - ImGui.TableSetupColumn("Enabled", ImGuiTableColumnFlags.WidthFixed, 200f); - ImGui.TableSetupColumn("Mode", ImGuiTableColumnFlags.WidthFixed, 150f); - if (!contentByExpansion.TryGetValue(eExpansionVersion, out List value)) - { - continue; - } - foreach (DutyInfo item3 in value) - { - item3.Deconstruct(out uint CfcId, out uint TerritoryId, out string Name); - uint num = CfcId; - uint value2 = TerritoryId; - string text = Name; - DutyOptions dutyOptions; - bool flag = _questRegistry.TryGetDutyByContentFinderConditionId(num, out dutyOptions); - ImGui.TableNextRow(); - string[] array; - int currentItem; - if (flag) + ImGui.TableSetupColumn("Level", ImGuiTableColumnFlags.WidthFixed, 40f); + ImGui.TableSetupColumn("Name", ImGuiTableColumnFlags.WidthStretch); + ImGui.TableSetupColumn("Enabled", ImGuiTableColumnFlags.WidthFixed, 180f); + ImGui.TableSetupColumn("Mode", ImGuiTableColumnFlags.WidthFixed, 140f); + if (contentByExpansion.TryGetValue(eExpansionVersion, out List value)) { - array = (dutyOptions.Enabled ? SupportedCfcOptions : UnsupportedCfcOptions); - currentItem = 0; - if (base.Configuration.Duties.WhitelistedDutyCfcIds.Contains(num)) + foreach (DutyInfo item3 in value) { - currentItem = 1; - } - if (base.Configuration.Duties.BlacklistedDutyCfcIds.Contains(num)) - { - currentItem = 2; - } - } - else - { - array = new string[2] { "Disabled", "Enabled" }; - currentItem = (base.Configuration.Duties.WhitelistedDutyCfcIds.Contains(num) ? 1 : 0); - } - if (ImGui.TableNextColumn()) - { - ImGui.AlignTextToFramePadding(); - ImGui.TextUnformatted(text); - if (ImGui.IsItemHovered() && base.Configuration.Advanced.AdditionalStatusInformation) - { - using ImRaii.TooltipDisposable tooltipDisposable = ImRaii.Tooltip(); - if (tooltipDisposable.Alive) + DutyEntry value2; + bool flag = DutyRegistry.Duties.TryGetValue(item3.CfcId, out value2); + ImGui.TableNextRow(); + string[] array; + int currentItem; + if (flag) { - ImGui.TextUnformatted(text); - ImGui.Separator(); - ImU8String text2 = new ImU8String(13, 1); - text2.AppendLiteral("TerritoryId: "); - text2.AppendFormatted(value2); - ImGui.BulletText(text2); - ImU8String text3 = new ImU8String(26, 1); - text3.AppendLiteral("ContentFinderConditionId: "); - text3.AppendFormatted(num); - ImGui.BulletText(text3); - if (flag) + array = (value2.Enabled ? SupportedCfcOptions : UnsupportedCfcOptions); + currentItem = 0; + if (base.Configuration.Duties.WhitelistedDutyCfcIds.Contains(item3.CfcId)) { - ImGui.BulletText("Duty Support: Available"); + currentItem = 1; } - } - } - if (runInstancedContentWithAutoDuty && !_autoDutyIpc.HasPath(num)) - { - ImGuiComponents.HelpMarker("This duty is not supported by AutoDuty", FontAwesomeIcon.Times, ImGuiColors.DalamudRed); - } - else if (flag && dutyOptions.Notes.Count > 0) - { - ConfigComponent.DrawNotes(dutyOptions.Enabled, dutyOptions.Notes); - } - } - if (ImGui.TableNextColumn()) - { - ImU8String id = new ImU8String(16, 1); - id.AppendLiteral("##DungeonEnabled"); - id.AppendFormatted(num); - using (ImRaii.PushId(id)) - { - ImGui.SetNextItemWidth(200f); - if (ImGui.Combo((ImU8String)string.Empty, ref currentItem, (ReadOnlySpan)array, array.Length)) - { - base.Configuration.Duties.WhitelistedDutyCfcIds.Remove(num); - base.Configuration.Duties.BlacklistedDutyCfcIds.Remove(num); - if (flag) + if (base.Configuration.Duties.BlacklistedDutyCfcIds.Contains(item3.CfcId)) { - switch (currentItem) - { - case 1: - base.Configuration.Duties.WhitelistedDutyCfcIds.Add(num); - break; - case 2: - base.Configuration.Duties.BlacklistedDutyCfcIds.Add(num); - break; - } + currentItem = 2; } - else if (currentItem == 1) - { - base.Configuration.Duties.WhitelistedDutyCfcIds.Add(num); - } - Save(); - } - } - } - if (!ImGui.TableNextColumn()) - { - continue; - } - ImU8String id2 = new ImU8String(13, 1); - id2.AppendLiteral("##DungeonMode"); - id2.AppendFormatted(num); - using (ImRaii.PushId(id2)) - { - EDutyMode value3; - bool flag2 = base.Configuration.Duties.DutyModeOverrides.TryGetValue(num, out value3); - EDutyMode num2 = (flag2 ? value3 : ((EDutyMode)(-1))); - Name = "Use Default"; - string[] dutyModeLabels = DutyModeLabels; - int num3 = 0; - string[] array2 = new string[1 + dutyModeLabels.Length]; - array2[num3] = Name; - num3++; - ReadOnlySpan readOnlySpan = new ReadOnlySpan(dutyModeLabels); - readOnlySpan.CopyTo(new Span(array2).Slice(num3, readOnlySpan.Length)); - num3 += readOnlySpan.Length; - string[] array3 = array2; - int currentItem2 = (int)(num2 + 1); - ImGui.SetNextItemWidth(150f); - if (ImGui.Combo((ImU8String)string.Empty, ref currentItem2, (ReadOnlySpan)array3, array3.Length)) - { - if (currentItem2 == 0) - { - base.Configuration.Duties.DutyModeOverrides.Remove(num); } else { - base.Configuration.Duties.DutyModeOverrides[num] = (EDutyMode)(currentItem2 - 1); + array = new string[2] { "Disabled", "Enabled" }; + currentItem = (base.Configuration.Duties.WhitelistedDutyCfcIds.Contains(item3.CfcId) ? 1 : 0); + } + if (ImGui.TableNextColumn()) + { + ImGui.AlignTextToFramePadding(); + if (item3.Level > 0) + { + ImU8String text2 = new ImU8String(2, 1); + text2.AppendLiteral("Lv"); + text2.AppendFormatted(item3.Level); + ImGui.TextColored(in UiThemeUtils.AccentColor, text2); + } + } + if (ImGui.TableNextColumn()) + { + ImGui.AlignTextToFramePadding(); + float x; + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + x = ImGui.CalcTextSize(FontAwesomeIcon.InfoCircle.ToIconString()).X; + } + UiThemeUtils.RowLabel(item3.Name, x + ImGui.GetStyle().ItemSpacing.X); + if (runInstancedContentWithAutoDuty && !_autoDutyIpc.HasPath(item3.CfcId)) + { + ImGui.SameLine(); + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + ImGui.TextColored(in UiThemeUtils.StatusLocked, FontAwesomeIcon.Times.ToIconString()); + } + if (ImGui.IsItemHovered()) + { + using (ImRaii.Tooltip()) + { + ImGui.PushTextWrapPos(400f); + ImGui.Text("This duty is not supported by AutoDuty"); + ImGui.PopTextWrapPos(); + } + } + } + else if (flag && value2.Notes.Length != 0) + { + ConfigComponent.DrawNotes(value2.Enabled, value2.Notes); + } + } + if (ImGui.TableNextColumn()) + { + ImU8String id = new ImU8String(16, 1); + id.AppendLiteral("##DungeonEnabled"); + id.AppendFormatted(item3.CfcId); + using (ImRaii.PushId(id)) + { + ImGui.SetNextItemWidth(-1f); + if (UiThemeUtils.ThemedCombo(string.Empty, ref currentItem, array, array.Length)) + { + base.Configuration.Duties.WhitelistedDutyCfcIds.Remove(item3.CfcId); + base.Configuration.Duties.BlacklistedDutyCfcIds.Remove(item3.CfcId); + if (flag) + { + switch (currentItem) + { + case 1: + base.Configuration.Duties.WhitelistedDutyCfcIds.Add(item3.CfcId); + break; + case 2: + base.Configuration.Duties.BlacklistedDutyCfcIds.Add(item3.CfcId); + break; + } + } + else if (currentItem == 1) + { + base.Configuration.Duties.WhitelistedDutyCfcIds.Add(item3.CfcId); + } + Save(); + } + } + } + if (!ImGui.TableNextColumn()) + { + continue; + } + ImU8String id2 = new ImU8String(13, 1); + id2.AppendLiteral("##DungeonMode"); + id2.AppendFormatted(item3.CfcId); + using (ImRaii.PushId(id2)) + { + EDutyMode value3; + bool flag2 = base.Configuration.Duties.DutyModeOverrides.TryGetValue(item3.CfcId, out value3); + EDutyMode num = (flag2 ? value3 : ((EDutyMode)(-1))); + string text3 = "Use Default"; + string[] dutyModeLabels = DutyModeLabels; + int num2 = 0; + string[] array2 = new string[1 + dutyModeLabels.Length]; + array2[num2] = text3; + num2++; + ReadOnlySpan readOnlySpan = new ReadOnlySpan(dutyModeLabels); + readOnlySpan.CopyTo(new Span(array2).Slice(num2, readOnlySpan.Length)); + num2 += readOnlySpan.Length; + string[] array3 = array2; + int currentItem2 = (int)(num + 1); + ImGui.SetNextItemWidth(-1f); + if (UiThemeUtils.ThemedCombo(string.Empty, ref currentItem2, array3, array3.Length)) + { + if (currentItem2 == 0) + { + base.Configuration.Duties.DutyModeOverrides.Remove(item3.CfcId); + } + else + { + base.Configuration.Duties.DutyModeOverrides[item3.CfcId] = (EDutyMode)(currentItem2 - 1); + } + Save(); + } + if (ImGui.IsItemHovered()) + { + EDutyMode eDutyMode = (flag2 ? value3 : base.Configuration.Duties.DefaultDutyMode); + ImGui.SetTooltip(flag2 ? ("Override: " + DutyModeLabels[(int)eDutyMode]) : ("Using default: " + DutyModeLabels[(int)eDutyMode])); + } } - Save(); - } - if (ImGui.IsItemHovered()) - { - EDutyMode eDutyMode = (flag2 ? value3 : base.Configuration.Duties.DefaultDutyMode); - ImGui.SetTooltip(flag2 ? ("Override: " + DutyModeLabels[(int)eDutyMode]) : ("Using default: " + DutyModeLabels[(int)eDutyMode])); } } } } - else if (base.Configuration.Duties.ExpansionHeaderStates.GetValueOrDefault(key, defaultValue: false)) + if (open != expansionHeaderStates.GetValueOrDefault(text, defaultValue: false)) { - base.Configuration.Duties.ExpansionHeaderStates[key] = false; + expansionHeaderStates[text] = open; Save(); } } @@ -396,12 +362,12 @@ internal sealed class DutyConfigComponent : ConfigComponent } int num = 0; int num2 = 0; - foreach (var (num5, _, _) in value) + foreach (DutyInfo item in value) { - if (_questRegistry.TryGetDutyByContentFinderConditionId(num5, out DutyOptions dutyOptions)) + if (DutyRegistry.Duties.TryGetValue(item.CfcId, out DutyEntry value2)) { num2++; - if (base.Configuration.Duties.WhitelistedDutyCfcIds.Contains(num5) || (!base.Configuration.Duties.BlacklistedDutyCfcIds.Contains(num5) && dutyOptions.Enabled)) + if (base.Configuration.Duties.WhitelistedDutyCfcIds.Contains(item.CfcId) || (!base.Configuration.Duties.BlacklistedDutyCfcIds.Contains(item.CfcId) && value2.Enabled)) { num++; } @@ -409,7 +375,7 @@ internal sealed class DutyConfigComponent : ConfigComponent else { num2++; - if (base.Configuration.Duties.WhitelistedDutyCfcIds.Contains(num5)) + if (base.Configuration.Duties.WhitelistedDutyCfcIds.Contains(item.CfcId)) { num++; } @@ -420,15 +386,15 @@ internal sealed class DutyConfigComponent : ConfigComponent private void DrawEnableAllButton() { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.CheckCircle, "Enable All")) + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.CheckCircle, "Enable All")) { base.Configuration.Duties.BlacklistedDutyCfcIds.Clear(); base.Configuration.Duties.WhitelistedDutyCfcIds.Clear(); - foreach (List item2 in _contentFinderConditionNames.Values.Concat>(_allTrialNames.Values).Concat>(_allNormalRaidNames.Values).Concat>(_allAllianceRaidNames.Values)) + foreach (List item in _contentFinderConditionNames.Values.Concat>(_allTrialNames.Values).Concat>(_allNormalRaidNames.Values).Concat>(_allAllianceRaidNames.Values)) { - foreach (var (item, _, _) in item2) + foreach (DutyInfo item2 in item) { - base.Configuration.Duties.WhitelistedDutyCfcIds.Add(item); + base.Configuration.Duties.WhitelistedDutyCfcIds.Add(item2.CfcId); } } Save(); @@ -438,73 +404,4 @@ internal sealed class DutyConfigComponent : ConfigComponent ImGui.SetTooltip("Enable all of the duties, use at your own risk."); } } - - private void DrawClipboardButtons() - { - using (ImRaii.Disabled(base.Configuration.Duties.WhitelistedDutyCfcIds.Count + base.Configuration.Duties.BlacklistedDutyCfcIds.Count + base.Configuration.Duties.DutyModeOverrides.Count == 0)) - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Copy, "Export to clipboard")) - { - IEnumerable first = base.Configuration.Duties.WhitelistedDutyCfcIds.Select((uint x) => $"{"+"}{x}"); - IEnumerable second = base.Configuration.Duties.BlacklistedDutyCfcIds.Select((uint x) => $"{"-"}{x}"); - IEnumerable second2 = base.Configuration.Duties.DutyModeOverrides.Select((KeyValuePair x) => $"{"M:"}{x.Key}:{x.Value}"); - ImGui.SetClipboardText("qst:duty:" + Convert.ToBase64String(Encoding.UTF8.GetBytes(string.Join(";", first.Concat(second).Concat(second2))))); - } - } - ImGui.SameLine(); - string text = ImGui.GetClipboardText().Trim(); - using (ImRaii.Disabled(string.IsNullOrEmpty(text) || !text.StartsWith("qst:duty:", StringComparison.InvariantCulture))) - { - if (!ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Paste, "Import from Clipboard")) - { - return; - } - text = text.Substring("qst:duty:".Length); - string text2 = Encoding.UTF8.GetString(Convert.FromBase64String(text)); - base.Configuration.Duties.WhitelistedDutyCfcIds.Clear(); - base.Configuration.Duties.BlacklistedDutyCfcIds.Clear(); - base.Configuration.Duties.DutyModeOverrides.Clear(); - string[] array = text2.Split(";"); - foreach (string text3 in array) - { - if (text3.StartsWith("+", StringComparison.InvariantCulture) && uint.TryParse(text3.AsSpan("+".Length), CultureInfo.InvariantCulture, out var result)) - { - base.Configuration.Duties.WhitelistedDutyCfcIds.Add(result); - } - if (text3.StartsWith("-", StringComparison.InvariantCulture) && uint.TryParse(text3.AsSpan("-".Length), CultureInfo.InvariantCulture, out var result2)) - { - base.Configuration.Duties.BlacklistedDutyCfcIds.Add(result2); - } - if (text3.StartsWith("M:", StringComparison.InvariantCulture)) - { - ReadOnlySpan span = text3.AsSpan("M:".Length); - int num2 = span.IndexOf(':'); - if (num2 > 0 && uint.TryParse(span.Slice(0, num2), CultureInfo.InvariantCulture, out var result3) && int.TryParse(span.Slice(num2 + 1), CultureInfo.InvariantCulture, out var result4) && Enum.IsDefined(typeof(EDutyMode), result4)) - { - base.Configuration.Duties.DutyModeOverrides[result3] = (EDutyMode)result4; - } - } - } - Save(); - } - } - - private void DrawResetButton() - { - using (ImRaii.Disabled(!ImGui.IsKeyDown(ImGuiKey.ModCtrl))) - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Undo, "Reset to default")) - { - base.Configuration.Duties.WhitelistedDutyCfcIds.Clear(); - base.Configuration.Duties.BlacklistedDutyCfcIds.Clear(); - base.Configuration.Duties.DutyModeOverrides.Clear(); - base.Configuration.Duties.DefaultDutyMode = EDutyMode.Support; - Save(); - } - } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) - { - ImGui.SetTooltip("Hold CTRL to enable this button."); - } - } } diff --git a/Questionable/Questionable.Windows.ConfigComponents/GeneralConfigComponent.cs b/Questionable/Questionable.Windows.ConfigComponents/GeneralConfigComponent.cs index 5cf232b..f209ea1 100644 --- a/Questionable/Questionable.Windows.ConfigComponents/GeneralConfigComponent.cs +++ b/Questionable/Questionable.Windows.ConfigComponents/GeneralConfigComponent.cs @@ -1,8 +1,8 @@ using System; using System.Collections.Generic; -using System.Globalization; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Dalamud.Bindings.ImGui; using Dalamud.Interface; @@ -10,57 +10,41 @@ using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.UI.Agent; +using FFXIVClientStructs.FFXIV.Client.UI.Misc; using LLib.GameData; +using Lumina.Excel; using Lumina.Excel.Sheets; -using Questionable.Controller; using Questionable.Data; +using Questionable.Model; namespace Questionable.Windows.ConfigComponents; internal sealed class GeneralConfigComponent : ConfigComponent { - private static readonly List<(uint Id, string Name)> DefaultMounts; - private static readonly List<(EClassJob ClassJob, string Name)> DefaultClassJobs; - private readonly QuestRegistry _questRegistry; + private readonly IDataManager _dataManager; - private readonly TerritoryData _territoryData; + private static readonly (Configuration.ECombatModule Module, string Name, string[] InternalNames)[] CombatModuleOptions; - private readonly uint[] _mountIds; + private static readonly (EItemRewardType Type, string Label)[] RewardTypeOptions; - private readonly string[] _mountNames; - - private readonly string[] _combatModuleNames = new string[4] { "None", "Boss Mod (VBM)", "Wrath Combo", "Rotation Solver Reborn" }; - - private readonly string[] _grandCompanyNames = new string[4] { "None (manually pick quest)", "Maelstrom", "Twin Adder", "Immortal Flames" }; - - private readonly string[] _msqPriorityNames = new string[3] { "Always (MSQ first)", "After Tracked (MSQ last)", "Manual (never auto-accept MSQ)" }; + private readonly string[] _grandCompanyNames = new string[4] { "Auto (starting city)", "Maelstrom", "Twin Adder", "Immortal Flames" }; private readonly EClassJob[] _classJobIds; private readonly string[] _classJobNames; - private string _mountSearchText = string.Empty; - - private bool _mountComboJustOpened; - private string _classJobSearchText = string.Empty; - private bool _classJobComboJustOpened; + private string _cofferGearsetSearchText = string.Empty; - public GeneralConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration, IDataManager dataManager, ClassJobUtils classJobUtils, QuestRegistry questRegistry, TerritoryData territoryData) + public System.Action? OpenDependenciesTab { get; set; } + + public GeneralConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration, IDataManager dataManager, ClassJobUtils classJobUtils) : base(pluginInterface, configuration) { - _questRegistry = questRegistry; - _territoryData = territoryData; - List<(uint, string)> source = (from x in dataManager.GetExcelSheet() - where x.RowId != 0 && x.Icon > 0 - select (MountId: x.RowId, Name: CapitalizeName(x.Singular.ExtractText())) into x - where !string.IsNullOrEmpty(x.Name) - select x).OrderBy<(uint, string), string>(((uint MountId, string Name) x) => x.Name, StringComparer.OrdinalIgnoreCase).ToList(); - _mountIds = DefaultMounts.Select<(uint, string), uint>(((uint Id, string Name) x) => x.Id).Concat(source.Select<(uint, string), uint>(((uint MountId, string Name) x) => x.MountId)).ToArray(); - _mountNames = DefaultMounts.Select<(uint, string), string>(((uint Id, string Name) x) => x.Name).Concat(source.Select<(uint, string), string>(((uint MountId, string Name) x) => x.Name)).ToArray(); + _dataManager = dataManager; List sortedClassJobs = classJobUtils.SortedClassJobs.Select(((EClassJob ClassJob, int Category) x) => x.ClassJob).ToList(); List list = (from x in Enum.GetValues() where x != EClassJob.Adventurer @@ -72,420 +56,389 @@ internal sealed class GeneralConfigComponent : ConfigComponent _classJobNames = DefaultClassJobs.Select<(EClassJob, string), string>(((EClassJob ClassJob, string Name) x) => x.Name).Concat(list.Select((EClassJob x) => x.ToFriendlyString())).ToArray(); } - private static string CapitalizeName(string text) - { - if (string.IsNullOrEmpty(text)) - { - return text; - } - if (string.Equals(text, text.ToLowerInvariant(), StringComparison.Ordinal)) - { - return CultureInfo.InvariantCulture.TextInfo.ToTitleCase(text); - } - string[] array = text.Split(' '); - for (int i = 0; i < array.Length; i++) - { - if (array[i].Length > 0 && char.IsLower(array[i][0])) - { - array[i] = char.ToUpperInvariant(array[i][0]) + array[i].Substring(1); - } - } - return string.Join(" ", array); - } - public override void DrawTab() { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("General###General"); - if (!tabItemDisposable) + DrawCombatAndClass(); + UiThemeUtils.SectionSpacing(); + DrawBehaviour(); + UiThemeUtils.SectionSpacing(); + DrawQuesting(); + UiThemeUtils.SectionSpacing(); + DrawEquipment(); + UiThemeUtils.SectionSpacing(); + DrawRewardRedemption(); + } + + public void DrawGrandCompanySelector(float comboWidth) + { + int currentItem = (int)base.Configuration.General.GrandCompany; + ImGui.SetNextItemWidth(comboWidth); + if (UiThemeUtils.ThemedCombo("Preferred Grand Company", ref currentItem, _grandCompanyNames, _grandCompanyNames.Length)) { - return; - } - int currentItem = (int)base.Configuration.General.CombatModule; - if (ImGui.Combo((ImU8String)"Preferred Combat Module", ref currentItem, (ReadOnlySpan)_combatModuleNames, _combatModuleNames.Length)) - { - base.Configuration.General.CombatModule = (Configuration.ECombatModule)currentItem; - Save(); - } - int num = Array.FindIndex(_mountIds, (uint x) => x == base.Configuration.General.MountId); - if (num == -1) - { - num = 0; - base.Configuration.General.MountId = _mountIds[num]; - Save(); - } - string text = ((num >= 0 && num < _mountNames.Length) ? _mountNames[num] : "Unknown"); - if (ImGui.BeginCombo("Preferred Mount", text, ImGuiComboFlags.HeightLarge)) - { - if (!_mountComboJustOpened) - { - ImGui.SetKeyboardFocusHere(); - _mountComboJustOpened = true; - } - ImGui.SetNextItemWidth(-1f); - ImGui.InputTextWithHint("##MountSearch", "Search mounts...", ref _mountSearchText, 256); - ImGui.Separator(); - using (ImRaii.ChildDisposable childDisposable = ImRaii.Child("##MountScrollArea", new Vector2(0f, 300f), border: false)) - { - if ((bool)childDisposable) - { - string value = _mountSearchText.ToUpperInvariant(); - for (int num2 = 0; num2 < _mountNames.Length; num2++) - { - if (string.IsNullOrEmpty(_mountSearchText) || _mountNames[num2].ToUpperInvariant().Contains(value, StringComparison.Ordinal)) - { - bool flag = num2 == num; - if (ImGui.Selectable(_mountNames[num2], flag)) - { - base.Configuration.General.MountId = _mountIds[num2]; - Save(); - _mountSearchText = string.Empty; - ImGui.CloseCurrentPopup(); - } - if (flag) - { - ImGui.SetItemDefaultFocus(); - } - } - } - } - } - ImGui.EndCombo(); - } - else - { - _mountComboJustOpened = false; - } - int currentItem2 = (int)base.Configuration.General.GrandCompany; - if (ImGui.Combo((ImU8String)"Preferred Grand Company", ref currentItem2, (ReadOnlySpan)_grandCompanyNames, _grandCompanyNames.Length)) - { - base.Configuration.General.GrandCompany = (FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany)currentItem2; - Save(); - } - int currentItem3 = (int)base.Configuration.General.MsqPriority; - if (ImGui.Combo((ImU8String)"MSQ Priority", ref currentItem3, (ReadOnlySpan)_msqPriorityNames, _msqPriorityNames.Length)) - { - base.Configuration.General.MsqPriority = (Configuration.EMsqPriorityMode)currentItem3; + base.Configuration.General.GrandCompany = (FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany)currentItem; Save(); } + } + + private void DrawCombatAndClass() + { + UiThemeUtils.SectionHeader("Combat & Class"); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard(); + Vector2 item = tuple.ContentStartPos; + float item2 = tuple.AvailableWidth; + ImDrawListPtr item3 = tuple.DrawList; + float num = MathF.Min(ImGui.GetContentRegionAvail().X * 0.6f, 260f); + ImGui.AlignTextToFramePadding(); + ImGui.TextUnformatted("Combat module:"); ImGui.SameLine(); - using (ImRaii.PushFont(UiBuilder.IconFont)) + string text = CombatModuleOptions.FirstOrDefault(((Configuration.ECombatModule Module, string Name, string[] InternalNames) x) => x.Module == base.Configuration.General.CombatModule).Name ?? "None"; + ImGui.TextColored(in UiThemeUtils.AccentColor, text); + ImGui.SameLine(); + if (UiThemeUtils.PillButton("Configure in Dependencies", selected: false)) { - ImGui.TextDisabled(FontAwesomeIcon.InfoCircle.ToIconString()); + OpenDependenciesTab?.Invoke(); } - if (ImGui.IsItemHovered()) - { - using (ImRaii.Tooltip()) - { - ImGui.Text("Controls when the Main Scenario Quest (MSQ) is automatically accepted:"); - ImGui.Spacing(); - ImGui.BulletText("Always: Auto-accept MSQ immediately"); - ImGui.BulletText("After Tracked: Complete accepted quests first, then pick up MSQ"); - ImGui.BulletText("Manual: Never auto-accept MSQ, only do manually accepted quests"); - } - } - int num3 = Array.IndexOf(_classJobIds, base.Configuration.General.CombatJob); - if (num3 == -1) + DrawGrandCompanySelector(num); + int currentItem = Array.IndexOf(_classJobIds, base.Configuration.General.CombatJob); + if (currentItem == -1) { base.Configuration.General.CombatJob = EClassJob.Adventurer; Save(); - num3 = 0; + currentItem = 0; } - string text2 = ((num3 >= 0 && num3 < _classJobNames.Length) ? _classJobNames[num3] : "Unknown"); - if (ImGui.BeginCombo("Preferred Combat Job", text2, ImGuiComboFlags.HeightLarge)) + if (UiThemeUtils.SearchableCombo("Preferred Combat Job", ref currentItem, _classJobNames, ref _classJobSearchText, num)) { - if (!_classJobComboJustOpened) - { - ImGui.SetKeyboardFocusHere(); - _classJobComboJustOpened = true; - } - ImGui.SetNextItemWidth(-1f); - ImGui.InputTextWithHint("##CombatJobSearch", "Search combat jobs...", ref _classJobSearchText, 256); - ImGui.Separator(); - using (ImRaii.ChildDisposable childDisposable2 = ImRaii.Child("##CombatJobScrollArea", new Vector2(0f, 300f), border: false)) - { - if ((bool)childDisposable2) - { - string value2 = _classJobSearchText.ToUpperInvariant(); - for (int num4 = 0; num4 < _classJobNames.Length; num4++) - { - if (string.IsNullOrEmpty(_classJobSearchText) || _classJobNames[num4].ToUpperInvariant().Contains(value2, StringComparison.Ordinal)) - { - bool flag2 = num4 == num3; - if (ImGui.Selectable(_classJobNames[num4], flag2)) - { - base.Configuration.General.CombatJob = _classJobIds[num4]; - Save(); - _classJobSearchText = string.Empty; - ImGui.CloseCurrentPopup(); - } - if (flag2) - { - ImGui.SetItemDefaultFocus(); - } - } - } - } - } - ImGui.EndCombo(); + base.Configuration.General.CombatJob = _classJobIds[currentItem]; + Save(); } - else + UiThemeUtils.EndCard(item, item2, item3); + } + + private void DrawBehaviour() + { + UiThemeUtils.SectionHeader("Behaviour"); + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + UiThemeUtils.SubSectionHeader("Quest window"); + bool value = base.Configuration.General.HideInAllInstances; + if (UiThemeUtils.WrappedCheckbox("Hide quest window in all instanced duties", ref value)) { - _classJobComboJustOpened = false; + base.Configuration.General.HideInAllInstances = value; + Save(); } - ImGui.Separator(); - ImGui.Text("UI"); - using (ImRaii.PushIndent()) + using (ImRaii.Disabled(!value)) { - bool v = base.Configuration.General.HideInAllInstances; - if (ImGui.Checkbox("Hide quest window in all instanced duties", ref v)) + using (ImRaii.PushIndent()) { - base.Configuration.General.HideInAllInstances = v; - Save(); - } - bool v2 = base.Configuration.General.UseEscToCancelQuesting; - if (ImGui.Checkbox("Double tap ESC to cancel questing/movement", ref v2)) - { - base.Configuration.General.UseEscToCancelQuesting = v2; - Save(); - } - bool v3 = base.Configuration.General.StopOnPlayerInput; - if (ImGui.Checkbox("Stop automation when manually moving character", ref v3)) - { - base.Configuration.General.StopOnPlayerInput = v3; - Save(); - } - bool v4 = base.Configuration.General.ShowIncompleteSeasonalEvents; - if (ImGui.Checkbox("Show details for incomplete seasonal events", ref v4)) - { - base.Configuration.General.ShowIncompleteSeasonalEvents = v4; - Save(); - } - bool v5 = base.Configuration.General.HideSeasonalEventsFromJournalProgress; - if (ImGui.Checkbox("Hide Seasonal Events from Journal Progress", ref v5)) - { - base.Configuration.General.HideSeasonalEventsFromJournalProgress = v5; - Save(); - } - bool v6 = base.Configuration.General.ShowChangelogOnUpdate; - if (ImGui.Checkbox("Show changelog window when plugin updates", ref v6)) - { - base.Configuration.General.ShowChangelogOnUpdate = v6; - Save(); - } - } - ImGui.Separator(); - ImGui.Text("Questing"); - using (ImRaii.PushIndent()) - { - bool v7 = base.Configuration.General.AutoSolveQte; - if (ImGui.Checkbox("Automatically solve Quick Time Events (QTEs)", ref v7)) - { - base.Configuration.General.AutoSolveQte = v7; - Save(); - } - ImGui.SameLine(); - using (ImRaii.PushFont(UiBuilder.IconFont)) - { - ImGui.TextDisabled(FontAwesomeIcon.InfoCircle.ToIconString()); - } - if (ImGui.IsItemHovered()) - { - using (ImRaii.Tooltip()) + bool value2 = base.Configuration.Advanced.ShowWindowInInstances; + if (UiThemeUtils.WrappedCheckbox("Show quest window in instances anyway", ref value2, "When enabled, the quest window will always be shown in instanced duties, ignoring the 'Hide quest window in all instanced duties' setting above.")) { - ImGui.Text("Automatically mashes the button during Active Time Maneuver (ATM)"); - ImGui.Text("prompts that appear in certain duties and quest battles."); - } - } - bool v8 = base.Configuration.General.AutoSnipe; - if (ImGui.Checkbox("Automatically complete snipe quests", ref v8)) - { - base.Configuration.General.AutoSnipe = v8; - Save(); - } - ImGui.SameLine(); - using (ImRaii.PushFont(UiBuilder.IconFont)) - { - ImGui.TextDisabled(FontAwesomeIcon.InfoCircle.ToIconString()); - } - if (ImGui.IsItemHovered()) - { - using (ImRaii.Tooltip()) - { - ImGui.Text("Automatically completes sniping minigames introduced in Stormblood."); - ImGui.Text("When enabled, snipe targets are instantly hit without manual aiming."); - } - } - bool v9 = base.Configuration.General.CinemaMode; - if (ImGui.Checkbox("Cinema Mode (watch cutscenes)", ref v9)) - { - base.Configuration.General.CinemaMode = v9; - Save(); - } - ImGui.SameLine(); - using (ImRaii.PushFont(UiBuilder.IconFont)) - { - ImGui.TextDisabled(FontAwesomeIcon.InfoCircle.ToIconString()); - } - if (ImGui.IsItemHovered()) - { - using (ImRaii.Tooltip()) - { - ImGui.Text("When enabled, cutscenes will NOT be automatically skipped."); - ImGui.Text("This allows you to experience the story while Questionable"); - ImGui.Text("handles navigation, combat, and other gameplay automation."); - ImGui.Spacing(); - ImGui.TextColored(new Vector4(0.7f, 0.7f, 0.7f, 1f), "Recommended for first-time story playthroughs."); - } - } - bool v10 = base.Configuration.General.ConfigureTextAdvance; - if (ImGui.Checkbox("Automatically configure TextAdvance with the recommended settings", ref v10)) - { - base.Configuration.General.ConfigureTextAdvance = v10; - Save(); - } - bool v11 = base.Configuration.General.SkipLowPriorityDuties; - if (ImGui.Checkbox("Unlock certain optional dungeons and raids (instead of waiting for completion)", ref v11)) - { - base.Configuration.General.SkipLowPriorityDuties = v11; - Save(); - } - ImGui.SameLine(); - using (ImRaii.PushFont(UiBuilder.IconFont)) - { - ImGui.TextDisabled(FontAwesomeIcon.InfoCircle.ToIconString()); - } - if (ImGui.IsItemHovered()) - { - using (ImRaii.Tooltip()) - { - ImGui.Text("Questionable automatically picks up some optional quests (e.g. for aether currents, or the ARR alliance raids)."); - ImGui.Text("If this setting is enabled, Questionable will continue with other quests, instead of waiting for manual completion of the duty."); - ImGui.Separator(); - ImGui.Text("This affects the following dungeons and raids:"); - foreach (var lowPriorityContentFinderConditionQuest in _questRegistry.LowPriorityContentFinderConditionQuests) - { - if (_territoryData.TryGetContentFinderCondition(lowPriorityContentFinderConditionQuest.ContentFinderConditionId, out TerritoryData.ContentFinderConditionData contentFinderConditionData)) - { - ImU8String text3 = new ImU8String(0, 1); - text3.AppendFormatted(contentFinderConditionData.Name); - ImGui.BulletText(text3); - } - } - } - } - ImGui.Spacing(); - bool v12 = base.Configuration.General.AutoStepRefreshEnabled; - if (ImGui.Checkbox("Automatically refresh quest steps when stuck", ref v12)) - { - base.Configuration.General.AutoStepRefreshEnabled = v12; - Save(); - } - ImGui.SameLine(); - using (ImRaii.PushFont(UiBuilder.IconFont)) - { - ImGui.TextDisabled(FontAwesomeIcon.InfoCircle.ToIconString()); - } - if (ImGui.IsItemHovered()) - { - using (ImRaii.Tooltip()) - { - ImGui.Text("Questionable will automatically refresh a quest step if it appears to be stuck after the configured delay."); - ImGui.Text("This helps resume automated quest completion when interruptions occur."); - } - } - using (ImRaii.Disabled(!v12)) - { - ImGui.Indent(); - int v13 = base.Configuration.General.AutoStepRefreshDelaySeconds; - ImGui.SetNextItemWidth(150f); - if (ImGui.SliderInt("Refresh delay (seconds)", ref v13, 10, 180)) - { - base.Configuration.General.AutoStepRefreshDelaySeconds = v13; + base.Configuration.Advanced.ShowWindowInInstances = value2; Save(); } - Vector4 col = new Vector4(0.7f, 0.7f, 0.7f, 1f); - ImU8String text4 = new ImU8String(77, 1); - text4.AppendLiteral("Quest steps will refresh automatically after "); - text4.AppendFormatted(v13); - text4.AppendLiteral(" seconds if no progress is made."); - ImGui.TextColored(in col, text4); - ImGui.Unindent(); } - ImGui.Spacing(); - ImGui.Separator(); - ImGui.Text("Priority Quest Management"); - bool v14 = base.Configuration.General.PersistPriorityQuestsBetweenSessions; - if (ImGui.Checkbox("Save priority quests between sessions", ref v14)) + } + bool value3 = base.Configuration.General.ShowChangelogOnUpdate; + if (UiThemeUtils.WrappedCheckbox("Show changelog window when plugin updates", ref value3)) + { + base.Configuration.General.ShowChangelogOnUpdate = value3; + Save(); + } + UiThemeUtils.SubSectionHeader("Manual control"); + bool value4 = base.Configuration.General.UseEscToCancelQuesting; + if (UiThemeUtils.WrappedCheckbox("Double tap ESC to cancel questing/movement", ref value4)) + { + base.Configuration.General.UseEscToCancelQuesting = value4; + Save(); + } + bool value5 = base.Configuration.General.StopOnPlayerInput; + if (UiThemeUtils.WrappedCheckbox("Stop automation when manually moving character", ref value5)) + { + base.Configuration.General.StopOnPlayerInput = value5; + Save(); + } + UiThemeUtils.SubSectionHeader("Seasonal events"); + InlineArray2 buffer = default(InlineArray2); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, UiThemeUtils.GridCheckbox>(ref buffer, 0) = new UiThemeUtils.GridCheckbox("Show details for incomplete seasonal events", base.Configuration.General.ShowIncompleteSeasonalEvents); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, UiThemeUtils.GridCheckbox>(ref buffer, 1) = new UiThemeUtils.GridCheckbox("Hide Seasonal Events from Journal Progress", base.Configuration.General.HideSeasonalEventsFromJournalProgress); + ReadOnlySpan items = global::_003CPrivateImplementationDetails_003E.InlineArrayAsReadOnlySpan, UiThemeUtils.GridCheckbox>(in buffer, 2); + switch (UiThemeUtils.CheckboxGrid("seasonal", items)) + { + case 0: + base.Configuration.General.ShowIncompleteSeasonalEvents = !base.Configuration.General.ShowIncompleteSeasonalEvents; + Save(); + break; + case 1: + base.Configuration.General.HideSeasonalEventsFromJournalProgress = !base.Configuration.General.HideSeasonalEventsFromJournalProgress; + Save(); + break; + } + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + } + + private void DrawQuesting() + { + UiThemeUtils.SectionHeader("Questing"); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard(); + Vector2 item = tuple.ContentStartPos; + float item2 = tuple.AvailableWidth; + ImDrawListPtr item3 = tuple.DrawList; + bool value = base.Configuration.General.AutoSolveQte; + if (UiThemeUtils.WrappedCheckbox("Automatically solve Quick Time Events (QTEs)", ref value, "Automatically mashes the button during Active Time Maneuver (ATM) prompts that appear in certain duties and quest battles.")) + { + base.Configuration.General.AutoSolveQte = value; + Save(); + } + bool value2 = base.Configuration.General.AutoSnipe; + if (UiThemeUtils.WrappedCheckbox("Automatically complete snipe quests", ref value2, "Automatically completes sniping minigames introduced in Stormblood. When enabled, snipe targets are instantly hit without manual aiming.")) + { + base.Configuration.General.AutoSnipe = value2; + Save(); + } + bool value3 = base.Configuration.General.CinemaMode; + if (UiThemeUtils.WrappedCheckbox("Cinema Mode (watch cutscenes)", ref value3, "When enabled, cutscenes will NOT be automatically skipped. This allows you to experience the story while Questionable handles navigation, combat, and other gameplay automation.\n\nRecommended for first-time story playthroughs.")) + { + base.Configuration.General.CinemaMode = value3; + Save(); + } + bool value4 = base.Configuration.General.ConfigureTextAdvance; + if (UiThemeUtils.WrappedCheckbox("Automatically configure TextAdvance with the recommended settings", ref value4)) + { + base.Configuration.General.ConfigureTextAdvance = value4; + Save(); + } + bool value5 = base.Configuration.General.DeathRecoveryEnabled; + if (UiThemeUtils.WrappedCheckbox("Automatically recover and resume after dying", ref value5, "When enabled, dying outside of a duty will not stop automation. After respawning, Questionable will automatically route back to continue the current quest step.")) + { + base.Configuration.General.DeathRecoveryEnabled = value5; + Save(); + } + using (ImRaii.Disabled(!value5)) + { + using (ImRaii.PushIndent()) { - base.Configuration.General.PersistPriorityQuestsBetweenSessions = v14; - Save(); - } - ImGui.SameLine(); - using (ImRaii.PushFont(UiBuilder.IconFont)) - { - ImGui.TextDisabled(FontAwesomeIcon.InfoCircle.ToIconString()); - } - if (ImGui.IsItemHovered()) - { - using (ImRaii.Tooltip()) + int value6 = base.Configuration.General.MaxDeathsBeforeStop; + if (UiThemeUtils.AccentSliderInt("Max deaths before stopping", ref value6, 1, 10)) { - ImGui.Text("When enabled, your priority quest list will be saved and restored"); - ImGui.Text("when the plugin reloads or the game restarts."); + base.Configuration.General.MaxDeathsBeforeStop = value6; + Save(); + } + ImGui.PushTextWrapPos(0f); + ImU8String text = new ImU8String(66, 1); + text.AppendLiteral("Automation will stop after "); + text.AppendFormatted(value6); + text.AppendLiteral(" consecutive death(s) on the same step."); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, text); + ImGui.PopTextWrapPos(); + } + } + UiThemeUtils.EndCard(item, item2, item3); + } + + private void DrawEquipment() + { + UiThemeUtils.SectionHeader("Equipment"); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard(); + Vector2 item = tuple.ContentStartPos; + float item2 = tuple.AvailableWidth; + ImDrawListPtr item3 = tuple.DrawList; + bool value = base.Configuration.General.RepairGear; + if (UiThemeUtils.WrappedCheckbox("Repair gear automatically", ref value, "Repairs equipped gear when its condition gets low. Uses dark matter self-repair when your crafter levels and inventory allow it, otherwise visits a nearby mender (teleporting to a city if needed). If gear is critically damaged and no repair is possible, automation stops before entering a duty.")) + { + base.Configuration.General.RepairGear = value; + Save(); + } + using (ImRaii.Disabled(!value)) + { + using (ImRaii.PushIndent()) + { + int value2 = base.Configuration.General.RepairThresholdPercent; + if (UiThemeUtils.AccentSliderInt("Repair below condition (%)", ref value2, 10, 90)) + { + base.Configuration.General.RepairThresholdPercent = value2; + Save(); } } - bool v15 = base.Configuration.General.ClearPriorityQuestsOnLogout; - if (ImGui.Checkbox("Clear priority quests on character logout", ref v15)) + } + ImGui.Spacing(); + string[] array = new string[3] { "Smart", "Game recommended", "Disabled" }; + int currentItem = (int)base.Configuration.General.EquipMode; + object tooltip = base.Configuration.General.EquipMode switch + { + Questionable.Configuration.EEquipMode.Smart => "Picks gear with job-appropriate stats (and weapon damage for weapons)\ninstead of the game's item-level-only recommendation, which can pick\nwrong-role gear (default)", + Questionable.Configuration.EEquipMode.GameRecommended => "The game's built-in Equip Recommended - item level only", + Questionable.Configuration.EEquipMode.Disabled => "Skips equip-recommended quest steps entirely; gear is never changed", + _ => string.Empty, + }; + ImGui.SetNextItemWidth(MathF.Min(260f, ImGui.GetContentRegionAvail().X)); + if (UiThemeUtils.ThemedCombo("Equip recommended gear", ref currentItem, array, array.Length)) + { + base.Configuration.General.EquipMode = (Configuration.EEquipMode)currentItem; + Save(); + } + ImGui.SameLine(); + UiThemeUtils.InfoIcon((string)tooltip); + using (ImRaii.Disabled(base.Configuration.General.EquipMode != Questionable.Configuration.EEquipMode.Smart)) + { + using (ImRaii.PushIndent()) { - base.Configuration.General.ClearPriorityQuestsOnLogout = v15; - Save(); - } - ImGui.SameLine(); - using (ImRaii.PushFont(UiBuilder.IconFont)) - { - ImGui.TextDisabled(FontAwesomeIcon.InfoCircle.ToIconString()); - } - if (ImGui.IsItemHovered()) - { - using (ImRaii.Tooltip()) + bool value3 = base.Configuration.General.PreserveGearset; + if (UiThemeUtils.WrappedCheckbox("Preserve gearsets", ref value3, "Applies gear upgrades by moving items individually instead of rewriting your current gearset. Slower, but your saved gearset entries stay untouched.")) { - ImGui.Text("Clears the priority queue when your character logs out."); - ImGui.Text("This also clears the saved list if persistence is enabled."); + base.Configuration.General.PreserveGearset = value3; + Save(); } } - bool v16 = base.Configuration.General.ClearPriorityQuestsOnCompletion; - if (ImGui.Checkbox("Remove priority quests when completed", ref v16)) + } + UiThemeUtils.EndCard(item, item2, item3); + } + + private void DrawRewardRedemption() + { + UiThemeUtils.SectionHeader("Reward redemption"); + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + ImGui.TextWrapped("Quest-reward items in your inventory are used automatically when you accept a quest. Choose which types to redeem."); + ImGui.Spacing(); + UiThemeUtils.GridCheckbox[] array = new UiThemeUtils.GridCheckbox[RewardTypeOptions.Length]; + for (int i = 0; i < RewardTypeOptions.Length; i++) + { + array[i] = new UiThemeUtils.GridCheckbox(RewardTypeOptions[i].Label, !base.Configuration.General.DisabledRewardTypes.Contains(RewardTypeOptions[i].Type)); + } + int num = UiThemeUtils.CheckboxGrid("rewards", array); + if (num >= 0) + { + EItemRewardType item = RewardTypeOptions[num].Type; + if (!base.Configuration.General.DisabledRewardTypes.Remove(item)) { - base.Configuration.General.ClearPriorityQuestsOnCompletion = v16; - Save(); + base.Configuration.General.DisabledRewardTypes.Add(item); } - ImGui.SameLine(); - using (ImRaii.PushFont(UiBuilder.IconFont)) + Save(); + } + if (!base.Configuration.General.DisabledRewardTypes.Contains(EItemRewardType.Coffer)) + { + using (ImRaii.PushIndent()) { - ImGui.TextDisabled(FontAwesomeIcon.InfoCircle.ToIconString()); + DrawCofferGearsetPicker(); } - if (ImGui.IsItemHovered()) + } + ImGui.Spacing(); + bool value = base.Configuration.General.SkipTradableRewards; + if (UiThemeUtils.WrappedCheckbox("Skip tradable rewards", ref value, "Leaves tradable reward items in your inventory (so you can sell them) instead of using them. Untradable rewards are still redeemed.")) + { + base.Configuration.General.SkipTradableRewards = value; + Save(); + } + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + } + + private unsafe void DrawCofferGearsetPicker() + { + RaptureGearsetModule* ptr = RaptureGearsetModule.Instance(); + if (ptr == null) + { + return; + } + int? cofferGearsetIndex = base.Configuration.General.CofferGearsetIndex; + string text = "Current Job"; + if (cofferGearsetIndex.HasValue) + { + int valueOrDefault = cofferGearsetIndex.GetValueOrDefault(); + if (ptr->IsValidGearset(valueOrDefault)) { - using (ImRaii.Tooltip()) + RaptureGearsetModule.GearsetEntry* gearset = ptr->GetGearset(valueOrDefault); + if (_dataManager.GetExcelSheet().TryGetRow(gearset->ClassJob, out var row)) { - ImGui.Text("Automatically removes completed quests from your priority queue."); - ImGui.Text("This helps keep your priority list clean without manual intervention."); - return; + text = $"Gearset {valueOrDefault + 1}: {row.Abbreviation.ExtractText()}"; } } + else + { + text = $"Gearset {valueOrDefault + 1} (deleted)"; + } + } + ImGui.Text("Open coffers as:"); + ImGui.SameLine(0f, 4f); + float x = ImGui.GetStyle().ItemSpacing.X; + float x2; + float x3; + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + x2 = ImGui.CalcTextSize(FontAwesomeIcon.InfoCircle.ToIconString()).X; + x3 = ImGui.CalcTextSize(FontAwesomeIcon.Trash.ToIconString()).X; + } + float num = x + x2; + if (cofferGearsetIndex.HasValue) + { + num += x + x3 + 6f + ImGui.CalcTextSize("Clear").X + ImGui.GetStyle().FramePadding.X * 2f; + } + UiThemeUtils.RowLabel(text, num, UiThemeUtils.AccentColor); + ImGui.SameLine(); + UiThemeUtils.InfoIcon("Switch to this gearset before opening coffers so the gear drops match\nthe desired job. The original gearset is restored afterwards.\nLeave as Current Job to skip switching."); + if (cofferGearsetIndex.HasValue) + { + ImGui.SameLine(); + if (UiThemeUtils.DestructiveButton(FontAwesomeIcon.Trash, "Clear")) + { + base.Configuration.General.CofferGearsetIndex = null; + Save(); + } + } + int num2 = 1; + List list = new List(num2); + CollectionsMarshal.SetCount(list, num2); + CollectionsMarshal.AsSpan(list)[0] = "Current Job"; + List list2 = list; + num2 = 1; + List list3 = new List(num2); + CollectionsMarshal.SetCount(list3, num2); + CollectionsMarshal.AsSpan(list3)[0] = null; + List list4 = list3; + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + for (int i = 0; i < 100; i++) + { + if (ptr->IsValidGearset(i)) + { + RaptureGearsetModule.GearsetEntry* gearset2 = ptr->GetGearset(i); + string item = $"Gearset {i + 1}"; + if (excelSheet.TryGetRow(gearset2->ClassJob, out var row2)) + { + item = $"{i + 1}: {row2.Abbreviation.ExtractText()}"; + } + list2.Add(item); + list4.Add(i); + } + } + int currentItem = list4.IndexOf(cofferGearsetIndex); + float width = MathF.Min(ImGui.GetContentRegionAvail().X * 0.6f, 260f); + if (UiThemeUtils.SearchableCombo("##cofferGearsetCombo", ref currentItem, list2.ToArray(), ref _cofferGearsetSearchText, width)) + { + base.Configuration.General.CofferGearsetIndex = list4[currentItem]; + Save(); } } static GeneralConfigComponent() { int num = 1; - List<(uint, string)> list = new List<(uint, string)>(num); + List<(EClassJob, string)> list = new List<(EClassJob, string)>(num); CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = (0u, "Mount Roulette"); - DefaultMounts = list; - num = 1; - List<(EClassJob, string)> list2 = new List<(EClassJob, string)>(num); - CollectionsMarshal.SetCount(list2, num); - CollectionsMarshal.AsSpan(list2)[0] = (EClassJob.Adventurer, "Auto (highest level/item level)"); - DefaultClassJobs = list2; + CollectionsMarshal.AsSpan(list)[0] = (EClassJob.Adventurer, "Auto (highest level/item level)"); + DefaultClassJobs = list; + CombatModuleOptions = new(Configuration.ECombatModule, string, string[])[4] + { + (Questionable.Configuration.ECombatModule.None, "None", Array.Empty()), + (Questionable.Configuration.ECombatModule.BossMod, "Boss Mod", new string[2] { "BossMod", "BossModReborn" }), + (Questionable.Configuration.ECombatModule.WrathCombo, "Wrath Combo", new string[1] { "WrathCombo" }), + (Questionable.Configuration.ECombatModule.RotationSolverReborn, "Rotation Solver Reborn", new string[1] { "RotationSolver" }) + }; + RewardTypeOptions = new(EItemRewardType, string)[7] + { + (EItemRewardType.Mount, "Mounts"), + (EItemRewardType.Minion, "Minions"), + (EItemRewardType.OrchestrionRoll, "Orchestrion rolls"), + (EItemRewardType.TripleTriadCard, "Triple Triad cards"), + (EItemRewardType.FashionAccessory, "Fashion accessories"), + (EItemRewardType.Coffer, "Gear coffers"), + (EItemRewardType.UnlockLink, "Other unlocks") + }; } } diff --git a/Questionable/Questionable.Windows.ConfigComponents/NavigationConfigComponent.cs b/Questionable/Questionable.Windows.ConfigComponents/NavigationConfigComponent.cs new file mode 100644 index 0000000..2e388c9 --- /dev/null +++ b/Questionable/Questionable.Windows.ConfigComponents/NavigationConfigComponent.cs @@ -0,0 +1,200 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Numerics; +using System.Runtime.InteropServices; +using Dalamud.Bindings.ImGui; +using Dalamud.Interface.Utility.Raii; +using Dalamud.Plugin; +using Dalamud.Plugin.Services; +using Lumina.Excel.Sheets; +using Questionable.Model; + +namespace Questionable.Windows.ConfigComponents; + +internal sealed class NavigationConfigComponent : ConfigComponent +{ + private static readonly List<(uint Id, string Name)> DefaultMounts; + + private readonly uint[] _mountIds; + + private readonly string[] _mountNames; + + private string _mountSearchText = string.Empty; + + public NavigationConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration, IDataManager dataManager) + : base(pluginInterface, configuration) + { + List<(uint, string)> source = (from x in dataManager.GetExcelSheet() + where x.RowId != 0 && x.Icon > 0 + select (MountId: x.RowId, Name: CapitalizeName(x.Singular.ExtractText())) into x + where !string.IsNullOrEmpty(x.Name) + select x).OrderBy<(uint, string), string>(((uint MountId, string Name) x) => x.Name, StringComparer.OrdinalIgnoreCase).ToList(); + _mountIds = DefaultMounts.Select<(uint, string), uint>(((uint Id, string Name) x) => x.Id).Concat(source.Select<(uint, string), uint>(((uint MountId, string Name) x) => x.MountId)).ToArray(); + _mountNames = DefaultMounts.Select<(uint, string), string>(((uint Id, string Name) x) => x.Name).Concat(source.Select<(uint, string), string>(((uint MountId, string Name) x) => x.Name)).ToArray(); + } + + private static string CapitalizeName(string text) + { + if (string.IsNullOrEmpty(text)) + { + return text; + } + if (text.Equals(text.ToLowerInvariant(), StringComparison.Ordinal)) + { + return CultureInfo.InvariantCulture.TextInfo.ToTitleCase(text); + } + string[] array = text.Split(' '); + for (int i = 0; i < array.Length; i++) + { + if (array[i].Length > 0 && char.IsLower(array[i][0])) + { + array[i] = char.ToUpperInvariant(array[i][0]) + array[i].Substring(1); + } + } + return string.Join(" ", array); + } + + public override void DrawTab() + { + Configuration.NavigationConfiguration navigation = base.Configuration.Navigation; + UiThemeUtils.SectionHeader("Mounts & Flying"); + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + DrawMountSelector(navigation); + bool value = navigation.NeverFly; + if (UiThemeUtils.WrappedCheckbox("Disable flying (even where unlocked)", ref value, "Always travel on the ground, even in zones where flying is unlocked.")) + { + navigation.NeverFly = value; + Save(); + } + float value2 = navigation.MountGroundDistance; + if (UiThemeUtils.AccentSliderFloat("Ground Mount (yalms)", ref value2, 0f, 100f, "%.0f", 260f)) + { + navigation.MountGroundDistance = value2; + Save(); + } + ImGui.SameLine(); + UiThemeUtils.InfoIcon($"Minimum distance to use a ground mount. Default: {20f:0}"); + using (ImRaii.Disabled(navigation.NeverFly)) + { + float value3 = navigation.MountFlyDistance; + if (UiThemeUtils.AccentSliderFloat("Flying Mount (yalms)", ref value3, 0f, 100f, "%.0f", 260f)) + { + navigation.MountFlyDistance = value3; + Save(); + } + ImGui.SameLine(); + UiThemeUtils.InfoIcon($"Minimum distance to use a flying mount. Default: {15f:0}"); + } + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + UiThemeUtils.SectionSpacing(); + UiThemeUtils.SectionHeader("Sprint"); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple2 = UiThemeUtils.BeginCard(); + Vector2 item = tuple2.ContentStartPos; + float item2 = tuple2.AvailableWidth; + ImDrawListPtr item3 = tuple2.DrawList; + float value4 = navigation.SprintDistanceTown; + if (UiThemeUtils.AccentSliderFloat("Town (yalms)", ref value4, 0f, 100f, "%.0f", 260f)) + { + navigation.SprintDistanceTown = value4; + Save(); + } + ImGui.SameLine(); + UiThemeUtils.InfoIcon($"Minimum distance to sprint in towns. Default: {20f:0}"); + float value5 = navigation.SprintDistanceOpenWorld; + if (UiThemeUtils.AccentSliderFloat("Open World (yalms)", ref value5, 0f, 200f, "%.0f", 260f)) + { + navigation.SprintDistanceOpenWorld = value5; + Save(); + } + ImGui.SameLine(); + UiThemeUtils.InfoIcon($"Minimum distance to sprint in open world. Default: {50f:0}"); + UiThemeUtils.EndCard(item, item2, item3); + UiThemeUtils.SectionSpacing(); + UiThemeUtils.SectionHeader("Teleport"); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple3 = UiThemeUtils.BeginCard(); + Vector2 item4 = tuple3.ContentStartPos; + float item5 = tuple3.AvailableWidth; + ImDrawListPtr item6 = tuple3.DrawList; + int value6 = navigation.GilReserve; + if (UiThemeUtils.AccentSliderInt("Gil Reserve", ref value6, 0, 20000, 260f)) + { + navigation.GilReserve = Math.Clamp(value6, 0, 999999999); + Save(); + } + ImGui.SameLine(); + UiThemeUtils.InfoIcon("Minimum gil to keep when deciding whether to teleport."); + bool value7 = navigation.PreferFreeTravel; + if (UiThemeUtils.WrappedCheckbox("Prefer free travel in cities", ref value7, "When in a city, prefer aethernet and walking over teleporting to save gil.\nTeleporting from field zones is unaffected.")) + { + navigation.PreferFreeTravel = value7; + Save(); + } + bool value8 = navigation.UseTeleportTickets; + if (UiThemeUtils.WrappedCheckbox("Use teleport tickets", ref value8, "Use destination teleport tickets from your inventory (Grand Company, Firmament,\nVesper Bay, Gold Saucer) as free teleports when planning routes.\nEach use consumes one ticket. Disable to never consume tickets.")) + { + navigation.UseTeleportTickets = value8; + Save(); + } + UiThemeUtils.EndCard(item4, item5, item6); + UiThemeUtils.SectionSpacing(); + UiThemeUtils.SectionHeader("Stuck Recovery"); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple4 = UiThemeUtils.BeginCard(); + Vector2 item7 = tuple4.ContentStartPos; + float item8 = tuple4.AvailableWidth; + ImDrawListPtr item9 = tuple4.DrawList; + string[] names = Enum.GetNames(); + int currentItem = (int)navigation.StuckRecoveryMode; + object tooltip = navigation.StuckRecoveryMode switch + { + EStuckRecoveryMode.Aggressive => "Jump, recalculate, reload, and rebuild navmesh (default)", + EStuckRecoveryMode.Conservative => "Jump and recalculate only - no navmesh reload/rebuild", + EStuckRecoveryMode.Passive => "Log only - no automatic recovery", + _ => string.Empty, + }; + ImGui.SetNextItemWidth(MathF.Min(260f, ImGui.GetContentRegionAvail().X)); + if (UiThemeUtils.ThemedCombo("Recovery Mode", ref currentItem, names, names.Length)) + { + navigation.StuckRecoveryMode = (EStuckRecoveryMode)currentItem; + Save(); + } + ImGui.SameLine(); + UiThemeUtils.InfoIcon((string)tooltip); + bool value9 = navigation.ReRouteOnFailure; + if (UiThemeUtils.WrappedCheckbox("Re-route on pathfinding failure", ref value9, "When pathfinding fails, SmartNav re-plans the route from your current position.\nDisable to stop automation instead (previous behavior).")) + { + navigation.ReRouteOnFailure = value9; + Save(); + } + UiThemeUtils.EndCard(item7, item8, item9); + } + + private void DrawMountSelector(Configuration.NavigationConfiguration nav) + { + int currentItem = Array.FindIndex(_mountIds, (uint x) => x == nav.MountId); + if (currentItem == -1) + { + currentItem = 0; + nav.MountId = _mountIds[currentItem]; + Save(); + } + string previewOverride = ((currentItem >= 0 && currentItem < _mountNames.Length) ? null : "Unknown"); + if (UiThemeUtils.SearchableCombo("Preferred Mount", ref currentItem, _mountNames, ref _mountSearchText, MathF.Min(260f, ImGui.GetContentRegionAvail().X), previewOverride)) + { + nav.MountId = _mountIds[currentItem]; + Save(); + } + ImGui.SameLine(); + UiThemeUtils.InfoIcon("Mount used for ground travel. \"Mount Roulette\" picks a random mount."); + } + + static NavigationConfigComponent() + { + int num = 1; + List<(uint, string)> list = new List<(uint, string)>(num); + CollectionsMarshal.SetCount(list, num); + CollectionsMarshal.AsSpan(list)[0] = (0u, "Mount Roulette"); + DefaultMounts = list; + } +} diff --git a/Questionable/Questionable.Windows.ConfigComponents/NotificationConfigComponent.cs b/Questionable/Questionable.Windows.ConfigComponents/NotificationConfigComponent.cs index 595bee2..1ca90d6 100644 --- a/Questionable/Questionable.Windows.ConfigComponents/NotificationConfigComponent.cs +++ b/Questionable/Questionable.Windows.ConfigComponents/NotificationConfigComponent.cs @@ -1,98 +1,182 @@ using System; +using System.Collections.Generic; +using System.IO; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; using Dalamud.Bindings.ImGui; using Dalamud.Game.Text; +using Dalamud.Interface; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin; using Dalamud.Utility; +using LLib.Notifications; namespace Questionable.Windows.ConfigComponents; internal sealed class NotificationConfigComponent : ConfigComponent { + private static readonly string[] CuratedSoundNames; + + private readonly OutOfGameNotifier _notifier; + + private readonly string[] _soundFiles; + + private readonly string[] _soundLabels; + private readonly XivChatType[] _xivChatTypes; private readonly string[] _chatTypeNames; private string _chatChannelSearchText = string.Empty; - private bool _chatChannelComboJustOpened; + private string _soundSearchText = string.Empty; - public NotificationConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration) + public NotificationConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration, OutOfGameNotifier notifier) : base(pluginInterface, configuration) { + _notifier = notifier; + _soundFiles = CuratedSoundNames.Where((string n) => WindowsSounds.ResolvePath(n) != null).ToArray(); + _soundLabels = _soundFiles.Select(SoundLabel).ToArray(); _xivChatTypes = (from x in Enum.GetValues() where x != XivChatType.StandardEmote select x).ToArray(); _chatTypeNames = _xivChatTypes.Select((XivChatType t) => t.GetAttribute()?.FancyName ?? t.ToString()).ToArray(); } + private static string SoundLabel(string value) + { + if (!string.IsNullOrEmpty(value)) + { + return Path.GetFileNameWithoutExtension(value); + } + return "(Default beep)"; + } + public override void DrawTab() { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Notifications###Notifications"); - if (!tabItemDisposable) + UiThemeUtils.SectionHeader("Notifications"); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard(); + Vector2 item = tuple.ContentStartPos; + float item2 = tuple.AvailableWidth; + ImDrawListPtr item3 = tuple.DrawList; + bool value = base.Configuration.Notifications.Enabled; + if (UiThemeUtils.WrappedCheckbox("Enable notifications when manual interaction is required", ref value)) { - return; - } - bool v = base.Configuration.Notifications.Enabled; - if (ImGui.Checkbox("Enable notifications when manual interaction is required", ref v)) - { - base.Configuration.Notifications.Enabled = v; + base.Configuration.Notifications.Enabled = value; Save(); } using (ImRaii.Disabled(!base.Configuration.Notifications.Enabled)) { - using (ImRaii.PushIndent()) + int currentItem = Array.IndexOf(_xivChatTypes, base.Configuration.Notifications.ChatType); + if (currentItem == -1) { - int num = Array.IndexOf(_xivChatTypes, base.Configuration.Notifications.ChatType); - if (num == -1) - { - num = 0; - } - string text = ((num >= 0 && num < _chatTypeNames.Length) ? _chatTypeNames[num] : "Unknown"); - if (ImGui.BeginCombo("Chat channel", text, ImGuiComboFlags.HeightLarge)) - { - if (!_chatChannelComboJustOpened) - { - ImGui.SetKeyboardFocusHere(); - _chatChannelComboJustOpened = true; - } - ImGui.SetNextItemWidth(-1f); - ImGui.InputTextWithHint("##ChatChannelSearch", "Search chat channels...", ref _chatChannelSearchText, 256); - ImGui.Separator(); - using (ImRaii.ChildDisposable childDisposable = ImRaii.Child("##ChatChannelScrollArea", new Vector2(0f, 300f), border: false)) - { - if ((bool)childDisposable) - { - string value = _chatChannelSearchText.ToUpperInvariant(); - for (int i = 0; i < _chatTypeNames.Length; i++) - { - if (string.IsNullOrEmpty(_chatChannelSearchText) || _chatTypeNames[i].ToUpperInvariant().Contains(value, StringComparison.Ordinal)) - { - bool flag = i == num; - if (ImGui.Selectable(_chatTypeNames[i], flag)) - { - base.Configuration.Notifications.ChatType = _xivChatTypes[i]; - Save(); - _chatChannelSearchText = string.Empty; - ImGui.CloseCurrentPopup(); - } - if (flag) - { - ImGui.SetItemDefaultFocus(); - } - } - } - } - } - ImGui.EndCombo(); - } - else - { - _chatChannelComboJustOpened = false; - } + currentItem = 0; + } + float width = MathF.Min(260f, ImGui.GetContentRegionAvail().X); + if (UiThemeUtils.SearchableCombo("Chat channel", ref currentItem, _chatTypeNames, ref _chatChannelSearchText, width)) + { + base.Configuration.Notifications.ChatType = _xivChatTypes[currentItem]; + Save(); } } + UiThemeUtils.EndCard(item, item2, item3); + using (ImRaii.Disabled(!base.Configuration.Notifications.Enabled)) + { + UiThemeUtils.SectionSpacing(); + UiThemeUtils.SectionHeader("Out-of-game notifications"); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple2 = UiThemeUtils.BeginCard(); + Vector2 item4 = tuple2.ContentStartPos; + float item5 = tuple2.AvailableWidth; + ImDrawListPtr item6 = tuple2.DrawList; + bool value2 = base.Configuration.Notifications.FlashTaskbar; + if (UiThemeUtils.WrappedCheckbox("Flash taskbar icon", ref value2)) + { + base.Configuration.Notifications.FlashTaskbar = value2; + Save(); + } + bool value3 = base.Configuration.Notifications.ShowTrayMessage; + if (UiThemeUtils.WrappedCheckbox("Show tray notification", ref value3)) + { + base.Configuration.Notifications.ShowTrayMessage = value3; + Save(); + } + bool value4 = base.Configuration.Notifications.PlaySound; + if (UiThemeUtils.WrappedCheckbox("Play a sound", ref value4)) + { + base.Configuration.Notifications.PlaySound = value4; + Save(); + } + using (ImRaii.Disabled(!base.Configuration.Notifications.PlaySound)) + { + using (ImRaii.PushIndent()) + { + int currentItem2 = Array.IndexOf(_soundFiles, base.Configuration.Notifications.SoundFile); + float width2 = MathF.Min(ImGui.GetContentRegionAvail().X * 0.6f, 260f); + string previewOverride = ((currentItem2 < 0) ? SoundLabel(base.Configuration.Notifications.SoundFile) : null); + if (UiThemeUtils.SearchableCombo("Sound", ref currentItem2, _soundLabels, ref _soundSearchText, width2, previewOverride)) + { + base.Configuration.Notifications.SoundFile = _soundFiles[currentItem2]; + Save(); + } + ImGui.SameLine(); + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Play, "Test")) + { + _notifier.PlayAlertSound(WindowsSounds.ResolvePath(base.Configuration.Notifications.SoundFile)); + } + } + } + bool value5 = base.Configuration.Notifications.OnlyWhenUnfocused; + if (UiThemeUtils.WrappedCheckbox("Only when the game is not focused", ref value5, "Tray notification and sound are suppressed while the game window is focused. Taskbar flashing already stops when you focus the game.")) + { + base.Configuration.Notifications.OnlyWhenUnfocused = value5; + Save(); + } + UiThemeUtils.EndCard(item4, item5, item6); + UiThemeUtils.SectionSpacing(); + UiThemeUtils.SectionHeader("Alert for"); + ImGui.SameLine(); + UiThemeUtils.InfoIcon("Which situations raise an out-of-game alert (taskbar / tray / sound): when a step needs you, when an auto-run duty / single-player duty finishes, and when a stop condition halts automation."); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple3 = UiThemeUtils.BeginCard(); + Vector2 item7 = tuple3.ContentStartPos; + float item8 = tuple3.AvailableWidth; + ImDrawListPtr item9 = tuple3.DrawList; + InlineArray4 buffer = default(InlineArray4); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, UiThemeUtils.GridCheckbox>(ref buffer, 0) = new UiThemeUtils.GridCheckbox("Duties", base.Configuration.Notifications.AlertForDuties); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, UiThemeUtils.GridCheckbox>(ref buffer, 1) = new UiThemeUtils.GridCheckbox("Single-player duties", base.Configuration.Notifications.AlertForSinglePlayerDuties); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, UiThemeUtils.GridCheckbox>(ref buffer, 2) = new UiThemeUtils.GridCheckbox("Snipe steps", base.Configuration.Notifications.AlertForSnipe); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, UiThemeUtils.GridCheckbox>(ref buffer, 3) = new UiThemeUtils.GridCheckbox("Stop conditions", base.Configuration.Notifications.AlertForStopConditions); + ReadOnlySpan items = global::_003CPrivateImplementationDetails_003E.InlineArrayAsReadOnlySpan, UiThemeUtils.GridCheckbox>(in buffer, 4); + switch (UiThemeUtils.CheckboxGrid("alertfor", items)) + { + case 0: + base.Configuration.Notifications.AlertForDuties = !base.Configuration.Notifications.AlertForDuties; + Save(); + break; + case 1: + base.Configuration.Notifications.AlertForSinglePlayerDuties = !base.Configuration.Notifications.AlertForSinglePlayerDuties; + Save(); + break; + case 2: + base.Configuration.Notifications.AlertForSnipe = !base.Configuration.Notifications.AlertForSnipe; + Save(); + break; + case 3: + base.Configuration.Notifications.AlertForStopConditions = !base.Configuration.Notifications.AlertForStopConditions; + Save(); + break; + } + UiThemeUtils.EndCard(item7, item8, item9); + } + } + + static NotificationConfigComponent() + { + List list = new List(); + list.AddRange(from i in Enumerable.Range(1, 10) + select $"Alarm{i:D2}.wav"); + list.AddRange(from i in Enumerable.Range(1, 10) + select $"Ring{i:D2}.wav"); + CuratedSoundNames = list.ToArray(); } } diff --git a/Questionable/Questionable.Windows.ConfigComponents/PluginConfigComponent.cs b/Questionable/Questionable.Windows.ConfigComponents/PluginConfigComponent.cs index 1cd1edd..fc88e6a 100644 --- a/Questionable/Questionable.Windows.ConfigComponents/PluginConfigComponent.cs +++ b/Questionable/Questionable.Windows.ConfigComponents/PluginConfigComponent.cs @@ -3,48 +3,110 @@ using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; using Dalamud.Bindings.ImGui; using Dalamud.Interface; -using Dalamud.Interface.Colors; -using Dalamud.Interface.Components; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin; using Dalamud.Plugin.Services; using Dalamud.Utility; +using LLib; using Questionable.Controller; +using Questionable.External; namespace Questionable.Windows.ConfigComponents; internal sealed class PluginConfigComponent : ConfigComponent { - private sealed record PluginInfo(string DisplayName, string InternalName, string Details, Uri WebsiteUri, Uri? DalamudRepositoryUri, string? ConfigCommand = null, List? DetailsToCheck = null); + private sealed record PluginProvider(string DisplayName, string InternalName, Uri WebsiteUri, Uri? DalamudRepositoryUri, IReadOnlyList? DalamudRepositoryAliases = null) + { + public IReadOnlyList AliasUrls + { + get + { + IReadOnlyList? readOnlyList = _aliasUrls; + if (readOnlyList == null) + { + IReadOnlyList readOnlyList2 = DalamudRepositoryAliases?.Select((Uri u) => u.ToString()).ToList(); + readOnlyList = (_aliasUrls = readOnlyList2 ?? Array.Empty()); + } + return readOnlyList; + } + } + + private IReadOnlyList? _aliasUrls; + + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + builder.Append("DisplayName = "); + builder.Append((object?)DisplayName); + builder.Append(", InternalName = "); + builder.Append((object?)InternalName); + builder.Append(", WebsiteUri = "); + builder.Append(WebsiteUri); + builder.Append(", DalamudRepositoryUri = "); + builder.Append(DalamudRepositoryUri); + builder.Append(", DalamudRepositoryAliases = "); + builder.Append(DalamudRepositoryAliases); + builder.Append(", AliasUrls = "); + builder.Append(AliasUrls); + return true; + } + } + + private sealed record PluginRequirement(string GroupName, string Description, IReadOnlyList Providers, string? ConfigCommand = null, List? DetailsToCheck = null, (string Label, Uri Uri)? ExtraLink = null); private sealed record PluginDetailInfo(string DisplayName, string Details, Func Predicate); - private static readonly IReadOnlyList RequiredPlugins = new global::_003C_003Ez__ReadOnlyArray(new PluginInfo[3] - { - new PluginInfo("Lifestream", "Lifestream", "Used to travel to aethernet shards in cities.", new Uri("https://github.com/NightmareXIV/Lifestream"), new Uri("https://github.com/NightmareXIV/MyDalamudPlugins/raw/main/pluginmaster.json")), - new PluginInfo("TextAdvance", "TextAdvance", "Automatically accepts and turns in quests, skips cutscenes\nand dialogue.", new Uri("https://github.com/NightmareXIV/TextAdvance"), new Uri("https://github.com/NightmareXIV/MyDalamudPlugins/raw/main/pluginmaster.json")), - new PluginInfo("vnavmesh", "vnavmesh", "vnavmesh handles the navigation within a zone, moving\nyour character to the next quest-related objective.", new Uri("https://github.com/awgil/ffxiv_navmesh/"), new Uri("https://puni.sh/api/repository/veyn")) - }); + private const string WigglyNavInternalName = "WigglyNav"; - private static readonly ReadOnlyDictionary CombatPlugins = new Dictionary + private static readonly IReadOnlyList RequiredPlugins = new global::_003C_003Ez__ReadOnlySingleElementList(new PluginRequirement("Quest Progression", "Automatically accepts and turns in quests, skips cutscenes and dialogue.", new global::_003C_003Ez__ReadOnlySingleElementList(new PluginProvider("TextAdvance", "TextAdvance", new Uri("https://github.com/NightmareXIV/TextAdvance"), new Uri("https://github.com/NightmareXIV/MyDalamudPlugins/raw/main/pluginmaster.json"), new global::_003C_003Ez__ReadOnlyArray(new Uri[3] + { + new Uri("https://raw.githubusercontent.com/NightmareXIV/MyDalamudPlugins/main/pluginmaster.json"), + new Uri("https://github.com/NightmareXIV/MyDalamudPlugins/raw/refs/heads/main/pluginmaster.json"), + new Uri("https://raw.githubusercontent.com/NightmareXIV/MyDalamudPlugins/refs/heads/main/pluginmaster.json") + }))))); + + private static readonly ReadOnlyDictionary NavigationPlugins = new Dictionary { { - Questionable.Configuration.ECombatModule.BossMod, - new PluginInfo("Boss Mod (VBM)", "BossMod", string.Empty, new Uri("https://github.com/awgil/ffxiv_bossmod"), new Uri("https://puni.sh/api/repository/veyn")) + Questionable.Configuration.ENavigationProvider.Vnavmesh, + new PluginRequirement("vnavmesh", string.Empty, new global::_003C_003Ez__ReadOnlySingleElementList(new PluginProvider("vnavmesh", "vnavmesh", new Uri("https://github.com/awgil/ffxiv_navmesh/"), new Uri("https://puni.sh/api/repository/veyn")))) }, { - Questionable.Configuration.ECombatModule.RotationSolverReborn, - new PluginInfo("Rotation Solver Reborn", "RotationSolver", string.Empty, new Uri("https://github.com/FFXIV-CombatReborn/RotationSolverReborn"), new Uri("https://raw.githubusercontent.com/FFXIV-CombatReborn/CombatRebornRepo/main/pluginmaster.json")) + Questionable.Configuration.ENavigationProvider.WigglyNav, + new PluginRequirement("WigglyNav", string.Empty, new global::_003C_003Ez__ReadOnlySingleElementList(new PluginProvider("WigglyNav", "WigglyNav", new Uri("https://github.com/WigglyMuffin/WigglyNav"), null))) }, { - Questionable.Configuration.ECombatModule.WrathCombo, - new PluginInfo("Wrath Combo", "WrathCombo", string.Empty, new Uri("https://github.com/PunishXIV/WrathCombo"), new Uri("https://puni.sh/api/plugins")) + Questionable.Configuration.ENavigationProvider.WigglyNavShim, + new PluginRequirement("WigglyNav (shim)", string.Empty, new global::_003C_003Ez__ReadOnlySingleElementList(new PluginProvider("WigglyNav", "WigglyNav", new Uri("https://github.com/WigglyMuffin/WigglyNav"), null))) } }.AsReadOnly(); - private readonly IReadOnlyList _recommendedPlugins; + private static readonly ReadOnlyDictionary CombatPlugins = new Dictionary + { + { + Questionable.Configuration.ECombatModule.BossMod, + new PluginRequirement("Boss Mod", string.Empty, new global::_003C_003Ez__ReadOnlyArray(new PluginProvider[2] + { + new PluginProvider("Boss Mod", "BossMod", new Uri("https://github.com/awgil/ffxiv_bossmod"), new Uri("https://puni.sh/api/repository/veyn")), + new PluginProvider("Boss Mod Reborn", "BossModReborn", new Uri("https://github.com/FFXIV-CombatReborn/BossmodReborn"), new Uri("https://raw.githubusercontent.com/FFXIV-CombatReborn/CombatRebornRepo/main/pluginmaster.json")) + })) + }, + { + Questionable.Configuration.ECombatModule.RotationSolverReborn, + new PluginRequirement("Rotation Solver Reborn", string.Empty, new global::_003C_003Ez__ReadOnlySingleElementList(new PluginProvider("Rotation Solver Reborn", "RotationSolver", new Uri("https://github.com/FFXIV-CombatReborn/RotationSolverReborn"), new Uri("https://raw.githubusercontent.com/FFXIV-CombatReborn/CombatRebornRepo/main/pluginmaster.json")))) + }, + { + Questionable.Configuration.ECombatModule.WrathCombo, + new PluginRequirement("Wrath Combo", string.Empty, new global::_003C_003Ez__ReadOnlySingleElementList(new PluginProvider("Wrath Combo", "WrathCombo", new Uri("https://github.com/PunishXIV/WrathCombo"), new Uri("https://puni.sh/api/plugins"), new global::_003C_003Ez__ReadOnlySingleElementList(new Uri("https://love.puni.sh/ment.json"))))) + } + }.AsReadOnly(); + + private readonly IReadOnlyList _recommendedPlugins; private readonly Configuration _configuration; @@ -56,7 +118,15 @@ internal sealed class PluginConfigComponent : ConfigComponent private readonly ICommandManager _commandManager; - public PluginConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration, CombatController combatController, UiUtils uiUtils, ICommandManager commandManager) + private readonly PluginInstaller _installer; + + private readonly WigglyNavAvailability _wigglyNavAvailability; + + private static readonly IReadOnlyList ConflictEligibleGroups = (from g in RequiredPlugins.Concat(CombatPlugins.Values) + where g.Providers.Select((PluginProvider p) => p.InternalName).Distinct().Count() > 1 + select g).ToList(); + + public PluginConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration, CombatController combatController, UiUtils uiUtils, ICommandManager commandManager, PluginInstaller installer, WigglyNavAvailability wigglyNavAvailability) : base(pluginInterface, configuration) { _configuration = configuration; @@ -64,185 +134,605 @@ internal sealed class PluginConfigComponent : ConfigComponent _pluginInterface = pluginInterface; _uiUtils = uiUtils; _commandManager = commandManager; - _recommendedPlugins = new global::_003C_003Ez__ReadOnlyArray(new PluginInfo[3] + _installer = installer; + _wigglyNavAvailability = wigglyNavAvailability; + _recommendedPlugins = new global::_003C_003Ez__ReadOnlyArray(new PluginRequirement[3] { - new PluginInfo("Artisan", "Artisan", "Handles automatic crafting for quests that require\ncrafted items.", new Uri("https://github.com/PunishXIV/Artisan"), new Uri("https://puni.sh/api/plugins")), - new PluginInfo("AutoDuty", "AutoDuty", "Automatically handles dungeon and trial completion during\nMain Scenario Quest progression.", new Uri("https://github.com/erdelf/AutoDuty"), new Uri("https://puni.sh/api/repository/erdelf")), - new PluginInfo("QuestMap", "QuestMap", "Displays quest objectives and markers on the map for\nbetter navigation and tracking.", new Uri("https://github.com/rreminy/QuestMap"), null) + new PluginRequirement("Artisan", "Handles automatic crafting for quests that require crafted items.", new global::_003C_003Ez__ReadOnlySingleElementList(new PluginProvider("Artisan", "Artisan", new Uri("https://github.com/PunishXIV/Artisan"), new Uri("https://puni.sh/api/plugins"), new global::_003C_003Ez__ReadOnlySingleElementList(new Uri("https://love.puni.sh/ment.json"))))), + new PluginRequirement("AutoDuty", "Automatically handles dungeon and trial completion during Main Scenario Quest progression.", new global::_003C_003Ez__ReadOnlySingleElementList(new PluginProvider("AutoDuty", "AutoDuty", new Uri("https://github.com/erdelf/AutoDuty"), new Uri("https://puni.sh/api/repository/erdelf"))), null, null, ("Duty Spreadsheet", new Uri("https://docs.google.com/spreadsheets/d/151RlpqRcCpiD_VbQn6Duf-u-S71EP7d0mx3j1PDNoNA/edit?pli=1#gid=0"))), + new PluginRequirement("AutoHook", "Handles automatic fishing for Fisher class quests.", new global::_003C_003Ez__ReadOnlySingleElementList(new PluginProvider("AutoHook", "AutoHook", new Uri("https://github.com/PunishXIV/AutoHook"), new Uri("https://puni.sh/api/plugins"), new global::_003C_003Ez__ReadOnlySingleElementList(new Uri("https://love.puni.sh/ment.json"))))) }); } public override void DrawTab() { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Dependencies###Plugins"); - if (!(!tabItemDisposable)) + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Hammer, "Re-run setup wizard")) { - Draw(out var allRequiredInstalled); - ImGui.Spacing(); - ImGui.Separator(); - ImGui.Spacing(); - if (allRequiredInstalled) - { - ImGui.TextColored(ImGuiColors.ParsedGreen, "All required plugins are installed."); - } - else - { - ImGui.TextColored(ImGuiColors.DalamudRed, "Required plugins are missing, Questionable will not work properly."); - } + _commandManager.ProcessCommand("/qst setup"); } + ImGui.Spacing(); + DrawSections(useCards: true, out var _); } public void Draw(out bool allRequiredInstalled) + { + DrawSections(useCards: false, out allRequiredInstalled); + } + + private void DrawSections(bool useCards, out bool allRequiredInstalled) { float checklistPadding; using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) { checklistPadding = ImGui.CalcTextSize(FontAwesomeIcon.Check.ToIconString()).X + ImGui.GetStyle().ItemSpacing.X; } - ImGui.Text("Questionable requires the following plugins to work:"); allRequiredInstalled = true; - using (ImRaii.PushIndent()) + Header("Required"); + Vector2 contentStartPos; + float availableWidth; + ImDrawListPtr drawList; + if (useCards) { - foreach (PluginInfo requiredPlugin in RequiredPlugins) + (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + } + else + { + contentStartPos = default(Vector2); + availableWidth = 0f; + drawList = default(ImDrawListPtr); + } + foreach (PluginRequirement requiredPlugin in RequiredPlugins) + { + allRequiredInstalled &= DrawRequirement(requiredPlugin, checklistPadding); + } + allRequiredInstalled &= DrawNavigationSelection(checklistPadding); + if (useCards) + { + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + } + Between(); + Header("Combat Plugin"); + Vector2 contentStartPos2; + float availableWidth2; + ImDrawListPtr drawList2; + if (useCards) + { + (contentStartPos2, availableWidth2, drawList2) = UiThemeUtils.BeginCard(); + } + else + { + contentStartPos2 = default(Vector2); + availableWidth2 = 0f; + drawList2 = default(ImDrawListPtr); + } + using (ImRaii.Disabled(_combatController.IsRunning)) + { + if (ImGui.RadioButton("No rotation/combat plugin (combat must be done manually)", _configuration.General.CombatModule == Questionable.Configuration.ECombatModule.None)) { - allRequiredInstalled &= DrawPlugin(requiredPlugin, checklistPadding); + _configuration.General.CombatModule = Questionable.Configuration.ECombatModule.None; + _pluginInterface.SavePluginConfig(_configuration); + } + allRequiredInstalled &= DrawCombatPlugin(Questionable.Configuration.ECombatModule.BossMod, checklistPadding); + allRequiredInstalled &= DrawCombatPlugin(Questionable.Configuration.ECombatModule.RotationSolverReborn, checklistPadding); + allRequiredInstalled &= DrawCombatPlugin(Questionable.Configuration.ECombatModule.WrathCombo, checklistPadding); + } + if (useCards) + { + UiThemeUtils.EndCard(contentStartPos2, availableWidth2, drawList2); + } + Between(); + Header("Recommended"); + Vector2 contentStartPos3; + float availableWidth3; + ImDrawListPtr drawList3; + if (useCards) + { + (contentStartPos3, availableWidth3, drawList3) = UiThemeUtils.BeginCard(); + } + else + { + contentStartPos3 = default(Vector2); + availableWidth3 = 0f; + drawList3 = default(ImDrawListPtr); + } + foreach (PluginRequirement recommendedPlugin in _recommendedPlugins) + { + DrawRequirement(recommendedPlugin, checklistPadding); + } + if (useCards) + { + UiThemeUtils.EndCard(contentStartPos3, availableWidth3, drawList3); + } + if (useCards) + { + UiThemeUtils.SectionSpacing(); + } + if (allRequiredInstalled) + { + Status("All required plugins installed", UiThemeUtils.StatusComplete, FontAwesomeIcon.CheckCircle); + } + else + { + Status("Required plugins missing", UiThemeUtils.StatusLocked, FontAwesomeIcon.ExclamationTriangle); + } + foreach (string item in DetectIpcConflicts()) + { + Status(item, UiThemeUtils.StatusActive, FontAwesomeIcon.ExclamationTriangle); + } + void Between() + { + if (useCards) + { + UiThemeUtils.SectionSpacing(); + } + else + { + ImGui.Spacing(); + ImGui.Separator(); + ImGui.Spacing(); } } - ImGui.Spacing(); - ImGui.Separator(); - ImGui.Spacing(); - ImGui.Text("Questionable supports multiple rotation/combat plugins, please pick the one\nyou want to use:"); - using (ImRaii.PushIndent()) + void Header(string title) { - using (ImRaii.Disabled(_combatController.IsRunning)) + if (useCards) { - if (ImGui.RadioButton("No rotation/combat plugin (combat must be done manually)", _configuration.General.CombatModule == Questionable.Configuration.ECombatModule.None)) - { - _configuration.General.CombatModule = Questionable.Configuration.ECombatModule.None; - _pluginInterface.SavePluginConfig(_configuration); - } - allRequiredInstalled &= DrawCombatPlugin(Questionable.Configuration.ECombatModule.BossMod, checklistPadding); - allRequiredInstalled &= DrawCombatPlugin(Questionable.Configuration.ECombatModule.RotationSolverReborn, checklistPadding); - allRequiredInstalled &= DrawCombatPlugin(Questionable.Configuration.ECombatModule.WrathCombo, checklistPadding); + UiThemeUtils.SectionHeader(title); + } + else + { + ImGui.TextDisabled(title); + ImGui.Spacing(); } } - ImGui.Spacing(); - ImGui.Separator(); - ImGui.Spacing(); - ImGui.Text("The following plugins are recommended, but not required:"); - using (ImRaii.PushIndent()) + void Status(string text, Vector4 color, FontAwesomeIcon icon) { - foreach (PluginInfo recommendedPlugin in _recommendedPlugins) + if (useCards) { - DrawPlugin(recommendedPlugin, checklistPadding); + UiThemeUtils.StatusBanner(text, color, icon); + } + else + { + ImGui.Spacing(); + UiThemeUtils.StatusBadge(text, color, icon); } } } - private bool DrawPlugin(PluginInfo plugin, float checklistPadding) + private bool IsWigglyNavInstalled() { - using (ImRaii.PushId("plugin_" + plugin.DisplayName)) + return _pluginInterface.InstalledPlugins.Any((IExposedPlugin x) => x.InternalName == "WigglyNav"); + } + + private IExposedPlugin? FindProvider(PluginProvider provider) + { + return _pluginInterface.InstalledPlugins.FirstOrDefault((IExposedPlugin x) => x.InternalName == provider.InternalName); + } + + private List DetectIpcConflicts() + { + List list = new List(); + foreach (PluginRequirement conflictEligibleGroup in ConflictEligibleGroups) { - IExposedPlugin exposedPlugin = FindInstalledPlugin(plugin); - bool flag = exposedPlugin != null; - string text = plugin.DisplayName; + List list2 = (from p in conflictEligibleGroup.Providers + where FindProvider(p)?.IsLoaded ?? false + select p.DisplayName).ToList(); + if (list2.Count > 1) + { + list.Add(string.Join(" and ", list2) + " are both loaded - disable one to avoid unpredictable behavior"); + } + } + return list; + } + + private bool DrawRequirement(PluginRequirement requirement, float checklistPadding) + { + bool flag = false; + using (ImRaii.PushId("req_" + requirement.GroupName)) + { + if (requirement.Providers.Count > 1) + { + ImGui.TextUnformatted(requirement.GroupName); + using (ImRaii.PushIndent(checklistPadding)) + { + if (!string.IsNullOrEmpty(requirement.Description)) + { + ImGui.PushTextWrapPos(0f); + ImGui.TextColored(in UiThemeUtils.DimTextColor, requirement.Description); + ImGui.PopTextWrapPos(); + } + foreach (PluginProvider provider in requirement.Providers) + { + flag |= DrawProvider(provider, checklistPadding); + } + DrawRequirementExtras(requirement, checklistPadding, flag); + } + } + else + { + PluginProvider pluginProvider = requirement.Providers[0]; + IExposedPlugin exposedPlugin = FindProvider(pluginProvider); + bool flag2 = exposedPlugin?.IsLoaded ?? false; + bool isDisabled = exposedPlugin != null && !exposedPlugin.IsLoaded; + flag = flag2; + _uiUtils.ChecklistItem(pluginProvider.DisplayName, flag2); + if (exposedPlugin != null) + { + ImGui.SameLine(); + ImU8String text = new ImU8String(1, 1); + text.AppendLiteral("v"); + text.AppendFormatted(exposedPlugin.Version); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text); + } + using (ImRaii.PushIndent(checklistPadding)) + { + if (!string.IsNullOrEmpty(requirement.Description)) + { + ImGui.PushTextWrapPos(0f); + ImGui.TextColored(in UiThemeUtils.DimTextColor, requirement.Description); + ImGui.PopTextWrapPos(); + } + DrawRequirementExtras(requirement, checklistPadding, flag2); + DrawProviderActions(pluginProvider, exposedPlugin, flag2, isDisabled); + } + } + ImGui.Spacing(); + return flag; + } + } + + private bool DrawProvider(PluginProvider provider, float checklistPadding) + { + using (ImRaii.PushId("prov_" + provider.DisplayName)) + { + IExposedPlugin exposedPlugin = FindProvider(provider); + bool flag = exposedPlugin?.IsLoaded ?? false; + bool isDisabled = exposedPlugin != null && !exposedPlugin.IsLoaded; + _uiUtils.ChecklistItem(provider.DisplayName, flag); if (exposedPlugin != null) { - text += $" v{exposedPlugin.Version}"; + ImGui.SameLine(); + ImU8String text = new ImU8String(1, 1); + text.AppendLiteral("v"); + text.AppendFormatted(exposedPlugin.Version); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text); + } + using (ImRaii.PushIndent(checklistPadding)) + { + DrawProviderActions(provider, exposedPlugin, flag, isDisabled); } - _uiUtils.ChecklistItem(text, flag); - DrawPluginDetails(plugin, checklistPadding, flag); return flag; } } + private bool DrawNavigationSelection(float checklistPadding) + { + using (ImRaii.PushId("req_Navigation")) + { + bool flag = true; + ImGui.TextUnformatted("Navigation"); + using (ImRaii.PushIndent(checklistPadding)) + { + ImGui.PushTextWrapPos(0f); + ImGui.TextColored(in UiThemeUtils.DimTextColor, "Handles navigation within a zone, moving your character to quest objectives."); + ImGui.PopTextWrapPos(); + flag &= DrawNavigationProvider(Questionable.Configuration.ENavigationProvider.Vnavmesh); + Configuration.ENavigationProvider navigationProvider = _configuration.General.NavigationProvider; + if (_wigglyNavAvailability.IsCompatible || navigationProvider == Questionable.Configuration.ENavigationProvider.WigglyNav) + { + flag &= DrawNavigationProvider(Questionable.Configuration.ENavigationProvider.WigglyNav); + } + if ((_configuration.Advanced.ShowWigglyNavShimProvider && IsWigglyNavInstalled()) || navigationProvider == Questionable.Configuration.ENavigationProvider.WigglyNavShim) + { + flag &= DrawNavigationProvider(Questionable.Configuration.ENavigationProvider.WigglyNavShim); + } + } + ImGui.Spacing(); + return flag; + } + } + + private bool DrawNavigationProvider(Configuration.ENavigationProvider navigationProvider) + { + PluginRequirement pluginRequirement = NavigationPlugins[navigationProvider]; + using (ImRaii.PushId("nav_" + pluginRequirement.GroupName)) + { + if (ImGui.RadioButton(pluginRequirement.GroupName, _configuration.General.NavigationProvider == navigationProvider)) + { + _configuration.General.NavigationProvider = navigationProvider; + _pluginInterface.SavePluginConfig(_configuration); + } + PluginProvider pluginProvider = pluginRequirement.Providers[0]; + IExposedPlugin exposedPlugin = FindProvider(pluginProvider); + bool flag = exposedPlugin?.IsLoaded ?? false; + bool flag2 = exposedPlugin != null && !exposedPlugin.IsLoaded; + if (exposedPlugin != null) + { + ImGui.SameLine(0f); + ImGui.AlignTextToFramePadding(); + ImU8String text = new ImU8String(1, 1); + text.AppendLiteral("v"); + text.AppendFormatted(exposedPlugin.Version); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text); + } + bool flag3 = navigationProvider == Questionable.Configuration.ENavigationProvider.WigglyNav && !_wigglyNavAvailability.IsCompatible; + DrawProviderStatusIcon(flag && !flag3, flag2 || (flag && flag3)); + if (!flag && pluginProvider.DalamudRepositoryUri != null) + { + DrawInlineProviderActions(pluginProvider, flag2); + } + if (navigationProvider == Questionable.Configuration.ENavigationProvider.WigglyNav && _configuration.General.NavigationProvider == navigationProvider && !_wigglyNavAvailability.IsCompatible) + { + ImGui.SameLine(); + ImGui.AlignTextToFramePadding(); + ImGui.TextColored(in UiThemeUtils.DimTextColor, "(unavailable - using vnavmesh)"); + } + return flag || _configuration.General.NavigationProvider != navigationProvider; + } + } + + private void DrawProviderActions(PluginProvider provider, IExposedPlugin? installed, bool isLoaded, bool isDisabled) + { + if (isLoaded) + { + return; + } + if (isDisabled) + { + ImGui.TextColored(in UiThemeUtils.StatusActive, "Installed but disabled"); + DrawEnableButton(provider); + DrawInstallError(provider); + return; + } + DrawInstallButton(provider); + ImGui.SameLine(); + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Globe, "Website")) + { + Util.OpenLink(provider.WebsiteUri.ToString()); + } + if (provider.DalamudRepositoryUri != null) + { + ImGui.SameLine(); + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Code, "Repo")) + { + Util.OpenLink(provider.DalamudRepositoryUri.ToString()); + } + } + DrawInstallError(provider); + } + + private void DrawRequirementExtras(PluginRequirement requirement, float checklistPadding, bool isLoaded) + { + (string, Uri)? extraLink = requirement.ExtraLink; + if (extraLink.HasValue) + { + (string, Uri) valueOrDefault = extraLink.GetValueOrDefault(); + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.ExternalLinkAlt, valueOrDefault.Item1)) + { + Util.OpenLink(valueOrDefault.Item2.ToString()); + } + } + if (requirement.DetailsToCheck != null) + { + foreach (PluginDetailInfo item in requirement.DetailsToCheck) + { + bool flag = item.Predicate(); + _uiUtils.ChecklistItem(item.DisplayName, isLoaded && flag); + if (!string.IsNullOrEmpty(item.Details)) + { + using (ImRaii.PushIndent(checklistPadding)) + { + ImGui.TextUnformatted(item.Details); + } + } + } + } + if (isLoaded) + { + List? detailsToCheck = requirement.DetailsToCheck; + if (detailsToCheck != null && detailsToCheck.Any((PluginDetailInfo d) => !d.Predicate()) && requirement.ConfigCommand != null && requirement.ConfigCommand.StartsWith('/') && UiThemeUtils.IconTextButton(FontAwesomeIcon.Cog, "Open configuration")) + { + _commandManager.ProcessCommand(requirement.ConfigCommand); + } + } + } + private bool DrawCombatPlugin(Configuration.ECombatModule combatModule, float checklistPadding) { ImGui.Spacing(); - PluginInfo pluginInfo = CombatPlugins[combatModule]; - using (ImRaii.PushId("plugin_" + pluginInfo.DisplayName)) + PluginRequirement pluginRequirement = CombatPlugins[combatModule]; + using (ImRaii.PushId("combat_" + pluginRequirement.GroupName)) { - IExposedPlugin exposedPlugin = FindInstalledPlugin(pluginInfo); - bool flag = exposedPlugin != null; - string text = pluginInfo.DisplayName; - if (exposedPlugin != null) - { - text += $" v{exposedPlugin.Version}"; - } - if (ImGui.RadioButton(text, _configuration.General.CombatModule == combatModule)) + bool flag = false; + bool num = pluginRequirement.Providers.Count > 1; + if (ImGui.RadioButton(pluginRequirement.GroupName, _configuration.General.CombatModule == combatModule)) { _configuration.General.CombatModule = combatModule; _pluginInterface.SavePluginConfig(_configuration); } - ImGui.SameLine(0f); - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) + if (!num) { - Vector4 col = (flag ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudRed); - FontAwesomeIcon icon = (flag ? FontAwesomeIcon.Check : FontAwesomeIcon.Times); - ImGui.AlignTextToFramePadding(); - ImGui.TextColored(in col, icon.ToIconString()); - } - DrawPluginDetails(pluginInfo, checklistPadding, flag); - return flag || _configuration.General.CombatModule != combatModule; - } - } - - private void DrawPluginDetails(PluginInfo plugin, float checklistPadding, bool isInstalled) - { - using (ImRaii.PushIndent(checklistPadding)) - { - if (!string.IsNullOrEmpty(plugin.Details)) - { - ImGui.TextUnformatted(plugin.Details); - } - bool flag = true; - if (plugin.DetailsToCheck != null) - { - foreach (PluginDetailInfo item in plugin.DetailsToCheck) + PluginProvider provider = pluginRequirement.Providers[0]; + IExposedPlugin exposedPlugin = FindProvider(provider); + bool flag2 = exposedPlugin?.IsLoaded ?? false; + bool isDisabled = exposedPlugin != null && !exposedPlugin.IsLoaded; + flag = flag2; + if (exposedPlugin != null) { - bool flag2 = item.Predicate(); - flag = flag && flag2; - _uiUtils.ChecklistItem(item.DisplayName, isInstalled && flag2); - if (!string.IsNullOrEmpty(item.Details)) - { - using (ImRaii.PushIndent(checklistPadding)) - { - ImGui.TextUnformatted(item.Details); - } - } + ImGui.SameLine(0f); + ImGui.AlignTextToFramePadding(); + ImU8String text = new ImU8String(1, 1); + text.AppendLiteral("v"); + text.AppendFormatted(exposedPlugin.Version); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text); } - } - ImGui.Spacing(); - if (isInstalled) - { - if (!flag && plugin.ConfigCommand != null && plugin.ConfigCommand.StartsWith('/') && ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Cog, "Open configuration")) + DrawProviderStatusIcon(flag2, isDisabled); + if (!flag2) { - _commandManager.ProcessCommand(plugin.ConfigCommand); - } - return; - } - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Globe, "Open Website")) - { - Util.OpenLink(plugin.WebsiteUri.ToString()); - } - ImGui.SameLine(); - if (plugin.DalamudRepositoryUri != null) - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Code, "Open Repository")) - { - Util.OpenLink(plugin.DalamudRepositoryUri.ToString()); + DrawInlineProviderActions(provider, isDisabled); } } else { - ImGui.AlignTextToFramePadding(); - ImGuiComponents.HelpMarker("Available on official Dalamud Repository"); + using (ImRaii.PushIndent(checklistPadding)) + { + foreach (PluginProvider provider2 in pluginRequirement.Providers) + { + using (ImRaii.PushId("prov_" + provider2.DisplayName)) + { + IExposedPlugin exposedPlugin2 = FindProvider(provider2); + bool flag3 = exposedPlugin2?.IsLoaded ?? false; + bool isDisabled2 = exposedPlugin2 != null && !exposedPlugin2.IsLoaded; + if (flag3) + { + flag = true; + } + _uiUtils.ChecklistItem(provider2.DisplayName, flag3); + if (exposedPlugin2 != null) + { + ImGui.SameLine(); + ImU8String text2 = new ImU8String(1, 1); + text2.AppendLiteral("v"); + text2.AppendFormatted(exposedPlugin2.Version); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text2); + } + if (!flag3) + { + DrawInlineProviderActions(provider2, isDisabled2); + } + } + } + } + } + return flag || _configuration.General.CombatModule != combatModule; + } + } + + private void DrawProviderStatusIcon(bool isLoaded, bool isDisabled) + { + ImGui.SameLine(0f); + using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) + { + Vector4 col; + FontAwesomeIcon icon; + if (isLoaded) + { + col = UiThemeUtils.StatusComplete; + icon = FontAwesomeIcon.Check; + } + else if (isDisabled) + { + col = UiThemeUtils.StatusActive; + icon = FontAwesomeIcon.ExclamationTriangle; + } + else + { + col = UiThemeUtils.StatusLocked; + icon = FontAwesomeIcon.Times; + } + ImGui.AlignTextToFramePadding(); + ImGui.TextColored(in col, icon.ToIconString()); + } + } + + private void DrawInlineProviderActions(PluginProvider provider, bool isDisabled) + { + if (isDisabled) + { + ImGui.SameLine(); + ImGui.TextColored(in UiThemeUtils.StatusActive, "Installed but disabled"); + ImGui.SameLine(); + DrawEnableButton(provider); + DrawInstallError(provider); + return; + } + ImGui.SameLine(); + DrawInstallButton(provider); + ImGui.SameLine(); + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Globe, "Website")) + { + Util.OpenLink(provider.WebsiteUri.ToString()); + } + if (provider.DalamudRepositoryUri != null) + { + ImGui.SameLine(); + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Code, "Repo")) + { + Util.OpenLink(provider.DalamudRepositoryUri.ToString()); + } + } + DrawInstallError(provider); + } + + private void DrawInstallButton(PluginProvider provider) + { + string thirdPartyRepoUrl = provider.DalamudRepositoryUri?.ToString(); + string text; + bool flag; + switch (_installer.GetState(provider.InternalName, thirdPartyRepoUrl).Status) + { + case PluginInstallStatus.InProgress: + text = "Installing…"; + flag = false; + break; + case PluginInstallStatus.Failed: + text = "Retry Install"; + flag = !_installer.IsAnyInstallInProgress; + break; + default: + text = "Install"; + flag = !_installer.IsAnyInstallInProgress; + break; + } + using (ImRaii.Disabled(!flag)) + { + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Download, text)) + { + _installer.TryInstall(provider.InternalName, thirdPartyRepoUrl, provider.AliasUrls); } } } - private IExposedPlugin? FindInstalledPlugin(PluginInfo pluginInfo) + private void DrawEnableButton(PluginProvider provider) { - return _pluginInterface.InstalledPlugins.FirstOrDefault((IExposedPlugin x) => x.InternalName == pluginInfo.InternalName && x.IsLoaded); + string thirdPartyRepoUrl = provider.DalamudRepositoryUri?.ToString(); + string text; + bool flag; + switch (_installer.GetState(provider.InternalName, thirdPartyRepoUrl).Status) + { + case PluginInstallStatus.InProgress: + text = "Enabling…"; + flag = false; + break; + case PluginInstallStatus.Failed: + text = "Retry Enable"; + flag = !_installer.IsAnyInstallInProgress; + break; + default: + text = "Enable"; + flag = !_installer.IsAnyInstallInProgress; + break; + } + using (ImRaii.Disabled(!flag)) + { + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.ToggleOn, text)) + { + _installer.TryEnable(provider.InternalName, thirdPartyRepoUrl, provider.AliasUrls); + } + } + } + + private void DrawInstallError(PluginProvider provider) + { + string thirdPartyRepoUrl = provider.DalamudRepositoryUri?.ToString(); + PluginInstallState state = _installer.GetState(provider.InternalName, thirdPartyRepoUrl); + if (state.Status == PluginInstallStatus.Failed && !string.IsNullOrEmpty(state.ErrorMessage)) + { + ImGui.PushTextWrapPos(0f); + ImU8String text = new ImU8String(8, 1); + text.AppendLiteral("Failed: "); + text.AppendFormatted(state.ErrorMessage); + ImGui.TextColored(in UiThemeUtils.StatusLocked, text); + ImGui.PopTextWrapPos(); + } } } diff --git a/Questionable/Questionable.Windows.ConfigComponents/QuestsConfigComponent.cs b/Questionable/Questionable.Windows.ConfigComponents/QuestsConfigComponent.cs new file mode 100644 index 0000000..0f57f55 --- /dev/null +++ b/Questionable/Questionable.Windows.ConfigComponents/QuestsConfigComponent.cs @@ -0,0 +1,217 @@ +using System; +using System.Numerics; +using Dalamud.Bindings.ImGui; +using Dalamud.Interface.Utility.Raii; +using Dalamud.Plugin; +using Questionable.Controller; +using Questionable.Data; + +namespace Questionable.Windows.ConfigComponents; + +internal sealed class QuestsConfigComponent : ConfigComponent +{ + private static readonly string[] RoleQuestPreferenceNames = new string[6] { "Default (current job)", "Tank", "Healer", "Melee DPS", "Physical Ranged DPS", "Caster" }; + + private readonly string[] _msqPriorityNames = new string[3] { "Always (MSQ first)", "After Tracked (MSQ last)", "Manual (never auto-accept MSQ)" }; + + private readonly QuestRegistry _questRegistry; + + private readonly TerritoryData _territoryData; + + public QuestsConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration, QuestRegistry questRegistry, TerritoryData territoryData) + : base(pluginInterface, configuration) + { + _questRegistry = questRegistry; + _territoryData = territoryData; + } + + public override void DrawTab() + { + DrawStoryAndProgression(); + UiThemeUtils.SectionSpacing(); + DrawSideContent(); + UiThemeUtils.SectionSpacing(); + DrawPriorityQuests(); + UiThemeUtils.SectionSpacing(); + DrawQuestDetails(); + } + + private void DrawStoryAndProgression() + { + UiThemeUtils.SectionHeader("Story & Progression"); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard(); + Vector2 item = tuple.ContentStartPos; + float item2 = tuple.AvailableWidth; + ImDrawListPtr item3 = tuple.DrawList; + int currentItem = (int)base.Configuration.General.MsqPriority; + ImGui.SetNextItemWidth(MathF.Min(ImGui.GetContentRegionAvail().X * 0.6f, 260f)); + if (UiThemeUtils.ThemedCombo("MSQ Priority", ref currentItem, _msqPriorityNames, _msqPriorityNames.Length)) + { + base.Configuration.General.MsqPriority = (Configuration.EMsqPriorityMode)currentItem; + Save(); + } + ImGui.SameLine(); + UiThemeUtils.InfoIcon("Controls when the Main Scenario Quest (MSQ) is automatically accepted:\n\n• Always: Auto-accept MSQ immediately\n• After Tracked: Complete accepted quests first, then pick up MSQ\n• Manual: Never auto-accept MSQ, only do manually accepted quests"); + bool value = base.Configuration.General.SkipLowPriorityDuties; + if (UiThemeUtils.WrappedCheckbox("Unlock certain optional dungeons and raids (instead of waiting for completion)", ref value)) + { + base.Configuration.General.SkipLowPriorityDuties = value; + Save(); + } + ImGui.SameLine(); + UiThemeUtils.InfoIcon(BuildLowPriorityDutyTooltip()); + bool value2 = base.Configuration.Advanced.SkipARealmRebornHardModePrimals; + if (UiThemeUtils.WrappedCheckbox("Don't pick up ARR hard mode primal quests", ref value2, "Hard mode Ifrit/Garuda/Titan are required for the Patch 2.5 quest 'Good Intentions' and to start Heavensward.")) + { + base.Configuration.Advanced.SkipARealmRebornHardModePrimals = value2; + Save(); + } + bool value3 = base.Configuration.Advanced.SkipCrystalTowerRaids; + if (UiThemeUtils.WrappedCheckbox("Don't pick up Crystal Tower quests", ref value3, "Crystal Tower raids are required for the Patch 2.55 quest 'A Time to Every Purpose' and to start Heavensward.")) + { + base.Configuration.Advanced.SkipCrystalTowerRaids = value3; + Save(); + } + UiThemeUtils.EndCard(item, item2, item3); + } + + private void DrawSideContent() + { + UiThemeUtils.SectionHeader("Side Content"); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard(); + Vector2 item = tuple.ContentStartPos; + float item2 = tuple.AvailableWidth; + ImDrawListPtr item3 = tuple.DrawList; + bool value = base.Configuration.Advanced.SkipClassJobQuests; + if (UiThemeUtils.WrappedCheckbox("Don't pick up class/job quests", ref value, "Class and job skills for A Realm Reborn, Heavensward and (for the Lv70 skills) Stormblood are locked behind quests. Not recommended if you plan on queueing for instances with duty finder/party finder.\n\nNote: This setting is ignored for the first class/job quest if your character is not high enough level to start the level 4 MSQ.")) + { + base.Configuration.Advanced.SkipClassJobQuests = value; + Save(); + } + bool value2 = base.Configuration.Advanced.SkipRoleQuests; + if (UiThemeUtils.WrappedCheckbox("Don't pick up role quests", ref value2, "At least one Shadowbringers role quest line must be completed for the 5.0 MSQ. Disabling this means you must complete role quests manually.")) + { + base.Configuration.Advanced.SkipRoleQuests = value2; + Save(); + } + using (ImRaii.Disabled(value2)) + { + using (ImRaii.PushIndent()) + { + int currentItem = (int)base.Configuration.Advanced.RoleQuestPreference; + ImGui.SetNextItemWidth(MathF.Min(260f, ImGui.GetContentRegionAvail().X)); + if (UiThemeUtils.ThemedCombo("Role quest line", ref currentItem, RoleQuestPreferenceNames, RoleQuestPreferenceNames.Length)) + { + base.Configuration.Advanced.RoleQuestPreference = (ERoleQuestPreference)currentItem; + Save(); + } + ImGui.SameLine(); + UiThemeUtils.InfoIcon("Which role quest line to prioritize. Default follows your current job's role. Your current job must match the selected role for quests to be picked up."); + bool value3 = base.Configuration.Advanced.ContinueRoleQuestsAfterShb; + if (UiThemeUtils.WrappedCheckbox("Continue role quests after Shadowbringers", ref value3, "When enabled, also prioritizes Endwalker and Dawntrail role quests for the selected role. These are not required for MSQ progression.")) + { + base.Configuration.Advanced.ContinueRoleQuestsAfterShb = value3; + Save(); + } + } + } + bool value4 = base.Configuration.Advanced.SkipAetherCurrents; + if (UiThemeUtils.WrappedCheckbox("Don't pick up aether currents/aether current quests", ref value4, "If not done during the MSQ by Questionable, you have to manually pick up any missed aether currents/quests. There is no way to automatically pick up all missing aether currents.")) + { + base.Configuration.Advanced.SkipAetherCurrents = value4; + Save(); + } + bool value5 = base.Configuration.Advanced.AutoPrioritizeAlliedSocietyRankUp; + if (UiThemeUtils.WrappedCheckbox("Auto-prioritize allied society rank up quests", ref value5, "Automatically prioritizes rank up quests when at reputation capacity, and reorders daily turn-ins to minimize wasted reputation.")) + { + base.Configuration.Advanced.AutoPrioritizeAlliedSocietyRankUp = value5; + Save(); + } + UiThemeUtils.EndCard(item, item2, item3); + } + + private void DrawPriorityQuests() + { + UiThemeUtils.SectionHeader("Priority Quests"); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard(); + Vector2 item = tuple.ContentStartPos; + float item2 = tuple.AvailableWidth; + ImDrawListPtr item3 = tuple.DrawList; + bool value = base.Configuration.General.PersistPriorityQuestsBetweenSessions; + if (UiThemeUtils.WrappedCheckbox("Save priority quests between sessions", ref value, "When enabled, your priority quest list will be saved and restored when the plugin reloads or the game restarts.")) + { + base.Configuration.General.PersistPriorityQuestsBetweenSessions = value; + Save(); + } + bool value2 = base.Configuration.General.ClearPriorityQuestsOnLogout; + if (UiThemeUtils.WrappedCheckbox("Clear priority quests on character logout", ref value2, "Clears the priority queue when your character logs out. This also clears the saved list if persistence is enabled.")) + { + base.Configuration.General.ClearPriorityQuestsOnLogout = value2; + Save(); + } + bool value3 = base.Configuration.General.ClearPriorityQuestsOnCompletion; + if (UiThemeUtils.WrappedCheckbox("Remove priority quests when completed", ref value3, "Automatically removes completed quests from your priority queue. This helps keep your priority list clean without manual intervention.")) + { + base.Configuration.General.ClearPriorityQuestsOnCompletion = value3; + Save(); + } + UiThemeUtils.EndCard(item, item2, item3); + } + + private void DrawQuestDetails() + { + UiThemeUtils.SectionHeader("Quest Details"); + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + ImGui.AlignTextToFramePadding(); + ImGui.Text("Chocobo Name:"); + ImGui.SameLine(); + string buf = base.Configuration.Advanced.ChocoboName; + ImGui.SetNextItemWidth(MathF.Min(260f, ImGui.GetContentRegionAvail().X)); + if (ImGui.InputText("##ChocoboName", ref buf, 20)) + { + base.Configuration.Advanced.ChocoboName = FormatChocoboName(buf); + Save(); + } + if (!string.IsNullOrEmpty(buf) && buf.Length < 2) + { + ImGui.SameLine(); + ImGui.TextColored(in UiThemeUtils.StatusLocked, "Name must be at least 2 characters"); + } + ImGui.SameLine(); + UiThemeUtils.InfoIcon("The name to give your chocobo during the 'My Little Chocobo' quest.\nMust be 2-20 characters. First letter will be capitalized.\nIf left empty, defaults to 'Kweh'."); + bool value = base.Configuration.Advanced.PreventQuestCompletion; + if (UiThemeUtils.WrappedCheckbox("Prevent quest completion", ref value, "When enabled, Questionable will not attempt to turn-in and complete quests. This will do everything automatically except the final turn-in step.")) + { + base.Configuration.Advanced.PreventQuestCompletion = value; + Save(); + } + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + } + + private string BuildLowPriorityDutyTooltip() + { + string text = "Questionable automatically picks up some optional quests (e.g. for aether currents, or the ARR alliance raids).\nIf this setting is enabled, Questionable will continue with other quests, instead of waiting for manual completion of the duty.\n\nThis affects the following dungeons and raids:"; + foreach (var lowPriorityContentFinderConditionQuest in _questRegistry.LowPriorityContentFinderConditionQuests) + { + if (_territoryData.TryGetContentFinderCondition(lowPriorityContentFinderConditionQuest.ContentFinderConditionId, out TerritoryData.ContentFinderConditionData contentFinderConditionData)) + { + text = text + "\n• " + contentFinderConditionData.Name; + } + } + return text; + } + + private static string FormatChocoboName(string name) + { + if (string.IsNullOrEmpty(name)) + { + return string.Empty; + } + name = name.Trim(); + if (name.Length == 0) + { + return string.Empty; + } + return name.Substring(0, 1).ToUpperInvariant() + ((name.Length > 1) ? name.Substring(1).ToLowerInvariant() : string.Empty); + } +} diff --git a/Questionable/Questionable.Windows.ConfigComponents/SinglePlayerDutyConfigComponent.cs b/Questionable/Questionable.Windows.ConfigComponents/SinglePlayerDutyConfigComponent.cs index d95b2e6..f32c6cc 100644 --- a/Questionable/Questionable.Windows.ConfigComponents/SinglePlayerDutyConfigComponent.cs +++ b/Questionable/Questionable.Windows.ConfigComponents/SinglePlayerDutyConfigComponent.cs @@ -1,16 +1,12 @@ using System; using System.Collections.Generic; using System.Collections.Immutable; -using System.Collections.ObjectModel; -using System.Globalization; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using System.Text; using Dalamud.Bindings.ImGui; using Dalamud.Interface; -using Dalamud.Interface.Colors; -using Dalamud.Interface.Components; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin; using Dalamud.Plugin.Services; @@ -20,14 +16,14 @@ using Microsoft.Extensions.Logging; using Questionable.Controller; using Questionable.Data; using Questionable.Model; -using Questionable.Model.Common; using Questionable.Model.Questing; +using SmartNav.Model; namespace Questionable.Windows.ConfigComponents; internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent { - private sealed record SinglePlayerDutyInfo(string Name, IQuestInfo QuestInfo, TerritoryData.ContentFinderConditionData ContentFinderConditionData, SinglePlayerDutyOptions Options, bool Enabled) + private sealed record SinglePlayerDutyInfo(string Name, IQuestInfo QuestInfo, TerritoryData.ContentFinderConditionData ContentFinderConditionData, byte Index, bool EnabledByDefault, string[] Notes, bool Enabled) { public EExpansionVersion Expansion => QuestInfo.Expansion; @@ -39,12 +35,6 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent public uint TerritoryId => ContentFinderConditionData.TerritoryId; - public byte Index => Options.Index; - - public bool EnabledByDefault => Options.Enabled; - - public ReadOnlyCollection Notes => Options.Notes.AsReadOnly(); - public bool IsLimsaStart { get @@ -102,6 +92,8 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent private static readonly List<(EClassJob ClassJob, string Name)> RoleQuestCategories; + private readonly string[] _retryDifficulties = new string[3] { "Normal", "Easy", "Very Easy" }; + private readonly TerritoryData _territoryData; private readonly QuestRegistry _questRegistry; @@ -126,6 +118,10 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent private ImmutableList<(string Label, List)> _otherQuestBattles = ImmutableList<(string, List)>.Empty; + private bool _needsReload = true; + + private int _selectedTab; + public SinglePlayerDutyConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration, TerritoryData territoryData, QuestRegistry questRegistry, QuestData questData, IDataManager dataManager, ClassJobUtils classJobUtils, ILogger logger) : base(pluginInterface, configuration) { @@ -135,6 +131,10 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent _dataManager = dataManager; _classJobUtils = classJobUtils; _logger = logger; + _questRegistry.Reloaded += delegate + { + _needsReload = true; + }; } public void Reload() @@ -177,9 +177,10 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent byte item2 = allQuestsWithQuestBattle.Index; TerritoryData.ContentFinderConditionData item3 = allQuestsWithQuestBattle.Data; IQuestInfo questInfo = _questData.GetQuestInfo(item); - (bool Enabled, SinglePlayerDutyOptions Options) tuple = FindDutyOptions(item, item2); - bool item4 = tuple.Enabled; - SinglePlayerDutyOptions item5 = tuple.Options; + (bool QuestExists, bool EnabledByDefault, byte Index, string[] Notes) tuple = FindDutyOptions(item, item2); + bool item4 = tuple.QuestExists; + bool item5 = tuple.EnabledByDefault; + string[] item6 = tuple.Notes; string text = ConfigComponent.FormatLevel(questInfo.Level) + " " + questInfo.Name; if (!string.IsNullOrEmpty(item3.Name) && !questInfo.Name.EndsWith(item3.Name, StringComparison.Ordinal)) { @@ -187,7 +188,7 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent } if (list.Contains(item)) { - text += $" (Part {item5.Index + 1})"; + text += $" (Part {item2 + 1})"; } else { @@ -197,7 +198,7 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent text += " (Melee/Phys. Ranged)"; } } - SinglePlayerDutyInfo singlePlayerDutyInfo = new SinglePlayerDutyInfo(text, questInfo, item3, item5, item4); + SinglePlayerDutyInfo singlePlayerDutyInfo = new SinglePlayerDutyInfo(text, questInfo, item3, item2, item5, item6, item4); EClassJob value; List value2; if (singlePlayerDutyInfo.IsLimsaStart) @@ -222,9 +223,9 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent } else if (dictionary4.TryGetValue(item, out value2)) { - foreach (EClassJob item6 in value2) + foreach (EClassJob item7 in value2) { - dictionary5[item6].Add(singlePlayerDutyInfo); + dictionary5[item7].Add(singlePlayerDutyInfo); } } else if (singlePlayerDutyInfo.IsOtherRoleQuest) @@ -254,29 +255,37 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent select (BuildJournalGenreLabel(x.Key), x.ToList())).ToImmutableList(); } - private (bool Enabled, SinglePlayerDutyOptions Options) FindDutyOptions(ElementId questId, byte index) + private (bool QuestExists, bool EnabledByDefault, byte Index, string[] Notes) FindDutyOptions(ElementId questId, byte index) { - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions + if (!_questRegistry.TryGetQuest(questId, out Questionable.Model.Quest quest)) { - Index = 0, - Enabled = false - }; - if (_questRegistry.TryGetQuest(questId, out Questionable.Model.Quest quest)) - { - if (quest.Root.Disabled) - { - return (Enabled: false, Options: singlePlayerDutyOptions); - } - QuestStep questStep = (from x in quest.AllSteps() - select x.Step).FirstOrDefault((QuestStep x) => x.InteractionType == EInteractionType.SinglePlayerDuty && x.SinglePlayerDutyIndex == index); - if (questStep == null) - { - _logger.LogWarning("Disabling quest battle for quest {QuestId}, no battle with index {Index} found", questId, index); - return (Enabled: false, Options: singlePlayerDutyOptions); - } - return (Enabled: true, Options: questStep.SinglePlayerDutyOptions ?? singlePlayerDutyOptions); + _logger.LogDebug("Disabling quest battle for quest {QuestId}, unknown quest", questId); + return (QuestExists: false, EnabledByDefault: false, Index: index, Notes: Array.Empty()); } - return (Enabled: false, Options: singlePlayerDutyOptions); + if (quest.Root.Disabled) + { + _logger.LogDebug("Disabling quest battle for quest {QuestId}, quest is disabled", questId); + return (QuestExists: false, EnabledByDefault: false, Index: index, Notes: Array.Empty()); + } + if ((from x in quest.AllSteps() + select x.Step).FirstOrDefault((QuestStep x) => x.InteractionType == EInteractionType.SinglePlayerDuty && x.SinglePlayerDutyIndex == index) == null) + { + _logger.LogWarning("Disabling quest battle for quest {QuestId}, no battle with index {Index} found", questId, index); + return (QuestExists: false, EnabledByDefault: false, Index: index, Notes: Array.Empty()); + } + ushort key = (ushort)((questId is QuestId questId2) ? questId2.Value : 0); + bool item = false; + string[] item2 = Array.Empty(); + if (DutyRegistry.SinglePlayerDuties.TryGetValue(key, out SinglePlayerDutyEntry[] value)) + { + SinglePlayerDutyEntry singlePlayerDutyEntry = value.FirstOrDefault((SinglePlayerDutyEntry e) => e.Index == index); + if (singlePlayerDutyEntry != null) + { + item = singlePlayerDutyEntry.Enabled; + item2 = singlePlayerDutyEntry.Notes; + } + } + return (QuestExists: true, EnabledByDefault: item, Index: index, Notes: item2); } private string BuildJournalGenreLabel(uint journalGenreId) @@ -289,347 +298,248 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent public override void DrawTab() { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Quest Battles###QuestBattles"); - if (!tabItemDisposable) + if (_needsReload) { - return; + _needsReload = false; + Reload(); } - bool v = base.Configuration.SinglePlayerDuties.RunSoloInstancesWithBossMod; - if (ImGui.Checkbox("Run quest battles with BossMod", ref v)) + UiThemeUtils.SectionHeader("Quest Battle Settings"); + ImGui.Spacing(); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard(); + Vector2 item = tuple.ContentStartPos; + float item2 = tuple.AvailableWidth; + ImDrawListPtr item3 = tuple.DrawList; + bool value = base.Configuration.SinglePlayerDuties.RunSoloInstancesWithBossMod; + if (UiThemeUtils.WrappedCheckbox("Run quest battles with BossMod", ref value, "Work in Progress:\n- Will always use BossMod for combat (ignoring the configured combat module).\n- Only a small subset of quest battles have been tested - most of which are in the MSQ.")) { - base.Configuration.SinglePlayerDuties.RunSoloInstancesWithBossMod = v; + base.Configuration.SinglePlayerDuties.RunSoloInstancesWithBossMod = value; Save(); } - using (ImRaii.PushIndent(ImGui.GetFrameHeight() + ImGui.GetStyle().ItemInnerSpacing.X)) + using (ImRaii.Disabled(!value)) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed)) + ImGui.Spacing(); + int currentItem = (int)base.Configuration.SinglePlayerDuties.RetryDifficulty; + ImGui.SetNextItemWidth(MathF.Min(ImGui.GetContentRegionAvail().X * 0.4f, 260f)); + if (UiThemeUtils.ThemedCombo("Difficulty when retrying a failed quest battle", ref currentItem, _retryDifficulties, _retryDifficulties.Length)) { - ImGui.TextUnformatted("Work in Progress:"); - ImGui.BulletText("Will always use BossMod for combat (ignoring the configured combat module)."); - ImGui.BulletText("Only a small subset of quest battles have been tested - most of which are in the MSQ."); - ImGui.BulletText("When retrying a failed battle, it will always start at 'Normal' difficulty."); - ImGui.BulletText("Please don't enable this option when using a BossMod fork (such as Reborn);\nwith the missing combat module configuration, it is unlikely to be compatible."); + base.Configuration.SinglePlayerDuties.RetryDifficulty = (Configuration.ERetryDifficulty)currentItem; + Save(); + } + ImGui.SameLine(); + UiThemeUtils.InfoIcon("Not all quest battles offer Easy or Very Easy difficulty."); + ImGui.Spacing(); + int maxRetries = base.Configuration.SinglePlayerDuties.MaxRetries; + if (ImGui.RadioButton("Do not retry failed quest battles", maxRetries == 0)) + { + base.Configuration.SinglePlayerDuties.MaxRetries = 0; + Save(); + } + bool flag = maxRetries > 0; + if (ImGui.RadioButton("Retry", flag)) + { + base.Configuration.SinglePlayerDuties.MaxRetries = Math.Max(1, maxRetries); + Save(); + } + if (flag) + { + ImGui.SameLine(); + ImGui.SetNextItemWidth(80f); + int data = maxRetries; + if (ImGui.InputInt("time(s)##retryCount", ref data, 1) && data >= 1) + { + base.Configuration.SinglePlayerDuties.MaxRetries = data; + Save(); + } + } + if (ImGui.RadioButton("Retry indefinitely", maxRetries == -1)) + { + base.Configuration.SinglePlayerDuties.MaxRetries = -1; + Save(); + } + if (maxRetries == -1) + { + ImGui.SameLine(); + UiThemeUtils.InfoIcon("Warning: Your gear may break if you retry endlessly!"); } } - ImGui.Separator(); - using (ImRaii.Disabled(!v)) + UiThemeUtils.EndCard(item, item2, item3); + UiThemeUtils.SectionSpacing(); + using (ImRaii.Disabled(!value)) { - ImGui.Text("Questionable includes a default list of quest battles that work if BossMod is installed."); - ImGui.Text("The included list of quest battles can change with each update."); - ImGui.Separator(); - ImGui.Text("You can override the settings for each individual quest battle:"); - using ImRaii.TabBarDisposable tabBarDisposable = ImRaii.TabBar("QuestionableConfigTabs"); - if ((bool)tabBarDisposable) + UiThemeUtils.SectionHeader("Quest Battle Overrides"); + ImGui.Spacing(); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple2 = UiThemeUtils.BeginCard(); + Vector2 item4 = tuple2.ContentStartPos; + float item5 = tuple2.AvailableWidth; + ImDrawListPtr item6 = tuple2.DrawList; + (int enabledCount, int totalCount) mainScenarioQuestCounts = GetMainScenarioQuestCounts(); + int item7 = mainScenarioQuestCounts.enabledCount; + int item8 = mainScenarioQuestCounts.totalCount; + (int enabledCount, int totalCount) jobQuestCounts = GetJobQuestCounts(); + int item9 = jobQuestCounts.enabledCount; + int item10 = jobQuestCounts.totalCount; + (int enabledCount, int totalCount) roleQuestCounts = GetRoleQuestCounts(); + int item11 = roleQuestCounts.enabledCount; + int item12 = roleQuestCounts.totalCount; + (int enabledCount, int totalCount) otherQuestCounts = GetOtherQuestCounts(); + int item13 = otherQuestCounts.enabledCount; + int item14 = otherQuestCounts.totalCount; + InlineArray4 buffer = default(InlineArray4); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 0) = $"Main Scenario Quests ({item7}/{item8})"; + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 1) = $"Class/Job Quests ({item9}/{item10})"; + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 2) = $"Role Quests ({item11}/{item12})"; + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 3) = $"Other Quests ({item13}/{item14})"; + ReadOnlySpan labels = global::_003CPrivateImplementationDetails_003E.InlineArrayAsReadOnlySpan, string>(in buffer, 4); + _selectedTab = UiThemeUtils.DrawTabBar(labels, _selectedTab); + ImGui.SetCursorPosY(ImGui.GetCursorPosY() - ImGui.GetStyle().ItemSpacing.Y); + switch (_selectedTab) { + case 0: DrawMainScenarioConfigTable(); + break; + case 1: DrawJobQuestConfigTable(); + break; + case 2: DrawRoleQuestConfigTable(); + break; + case 3: DrawOtherQuestConfigTable(); + break; } DrawEnableAllButton(); ImGui.SameLine(); - DrawClipboardButtons(); + DrawClipboardButtons("qst:single:", base.Configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds, base.Configuration.SinglePlayerDuties.BlacklistedSinglePlayerDutyCfcIds); ImGui.SameLine(); - DrawResetButton(); + if (UiThemeUtils.DestructiveButton(FontAwesomeIcon.Undo, "Reset to defaults")) + { + base.Configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds.Clear(); + base.Configuration.SinglePlayerDuties.BlacklistedSinglePlayerDutyCfcIds.Clear(); + Save(); + } + UiThemeUtils.EndCard(item4, item5, item6); } } private void DrawMainScenarioConfigTable() { - (int enabledCount, int totalCount) mainScenarioQuestCounts = GetMainScenarioQuestCounts(); - int item = mainScenarioQuestCounts.enabledCount; - int item2 = mainScenarioQuestCounts.totalCount; - ImU8String label = new ImU8String(30, 2); - label.AppendLiteral("Main Scenario Quests ("); - label.AppendFormatted(item); - label.AppendLiteral("/"); - label.AppendFormatted(item2); - label.AppendLiteral(")###MSQ"); - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem(label); - if (!tabItemDisposable) - { - return; - } using ImRaii.ChildDisposable childDisposable = BeginChildArea(); if (!childDisposable) { return; } - (int enabledCount, int totalCount) questBattleCounts = GetQuestBattleCounts(_startingCityBattles[EAetheryteLocation.Limsa]); - int item3 = questBattleCounts.enabledCount; - int item4 = questBattleCounts.totalCount; - string obj = $"Limsa Lominsa ({ConfigComponent.FormatLevel(5)} - {ConfigComponent.FormatLevel(14)}) ({item3}/{item4})"; - string key = "Limsa"; - ImGui.SetNextItemOpen(base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key, defaultValue: false), ImGuiCond.Always); - if (ImGui.CollapsingHeader(obj)) + Dictionary headerStates = base.Configuration.SinglePlayerDuties.HeaderStates; + var (value, value2) = GetQuestBattleCounts(_startingCityBattles[EAetheryteLocation.Limsa]); + if (DrawPersistentAccordion($"Limsa Lominsa ({ConfigComponent.FormatLevel(5)} - {ConfigComponent.FormatLevel(14)})", $"{value}/{value2}", "Limsa", headerStates)) { - if (!base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key, defaultValue: false)) - { - base.Configuration.SinglePlayerDuties.HeaderStates[key] = true; - Save(); - } DrawQuestTable("LimsaLominsa", _startingCityBattles[EAetheryteLocation.Limsa]); } - else if (base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key, defaultValue: false)) + var (value3, value4) = GetQuestBattleCounts(_startingCityBattles[EAetheryteLocation.Gridania]); + if (DrawPersistentAccordion($"Gridania ({ConfigComponent.FormatLevel(5)} - {ConfigComponent.FormatLevel(14)})", $"{value3}/{value4}", "Gridania", headerStates)) { - base.Configuration.SinglePlayerDuties.HeaderStates[key] = false; - Save(); - } - (int enabledCount, int totalCount) questBattleCounts2 = GetQuestBattleCounts(_startingCityBattles[EAetheryteLocation.Gridania]); - int item5 = questBattleCounts2.enabledCount; - int item6 = questBattleCounts2.totalCount; - string obj2 = $"Gridania ({ConfigComponent.FormatLevel(5)} - {ConfigComponent.FormatLevel(14)}) ({item5}/{item6})"; - string key2 = "Gridania"; - ImGui.SetNextItemOpen(base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key2, defaultValue: false), ImGuiCond.Always); - if (ImGui.CollapsingHeader(obj2)) - { - if (!base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key2, defaultValue: false)) - { - base.Configuration.SinglePlayerDuties.HeaderStates[key2] = true; - Save(); - } DrawQuestTable("Gridania", _startingCityBattles[EAetheryteLocation.Gridania]); } - else if (base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key2, defaultValue: false)) + var (value5, value6) = GetQuestBattleCounts(_startingCityBattles[EAetheryteLocation.Uldah]); + if (DrawPersistentAccordion($"Ul'dah ({ConfigComponent.FormatLevel(4)} - {ConfigComponent.FormatLevel(14)})", $"{value5}/{value6}", "Uldah", headerStates)) { - base.Configuration.SinglePlayerDuties.HeaderStates[key2] = false; - Save(); - } - (int enabledCount, int totalCount) questBattleCounts3 = GetQuestBattleCounts(_startingCityBattles[EAetheryteLocation.Uldah]); - int item7 = questBattleCounts3.enabledCount; - int item8 = questBattleCounts3.totalCount; - string obj3 = $"Ul'dah ({ConfigComponent.FormatLevel(4)} - {ConfigComponent.FormatLevel(14)}) ({item7}/{item8})"; - string key3 = "Uldah"; - ImGui.SetNextItemOpen(base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key3, defaultValue: false), ImGuiCond.Always); - if (ImGui.CollapsingHeader(obj3)) - { - if (!base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key3, defaultValue: false)) - { - base.Configuration.SinglePlayerDuties.HeaderStates[key3] = true; - Save(); - } DrawQuestTable("Uldah", _startingCityBattles[EAetheryteLocation.Uldah]); } - else if (base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key3, defaultValue: false)) - { - base.Configuration.SinglePlayerDuties.HeaderStates[key3] = false; - Save(); - } EExpansionVersion[] values = Enum.GetValues(); for (int i = 0; i < values.Length; i++) { EExpansionVersion eExpansionVersion = values[i]; - if (!_mainScenarioBattles.TryGetValue(eExpansionVersion, out List value)) + if (_mainScenarioBattles.TryGetValue(eExpansionVersion, out List value7)) { - continue; - } - (int enabledCount, int totalCount) questBattleCounts4 = GetQuestBattleCounts(value); - int item9 = questBattleCounts4.enabledCount; - int item10 = questBattleCounts4.totalCount; - string obj4 = $"{eExpansionVersion.ToFriendlyString()} ({item9}/{item10})"; - string key4 = eExpansionVersion.ToString(); - ImGui.SetNextItemOpen(base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key4, defaultValue: false), ImGuiCond.Always); - if (ImGui.CollapsingHeader(obj4)) - { - if (!base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key4, defaultValue: false)) + var (value8, value9) = GetQuestBattleCounts(value7); + if (DrawPersistentAccordion(eExpansionVersion.ToFriendlyString(), $"{value8}/{value9}", eExpansionVersion.ToString(), headerStates)) { - base.Configuration.SinglePlayerDuties.HeaderStates[key4] = true; - Save(); + DrawQuestTable($"Duties{eExpansionVersion}", value7); } - DrawQuestTable($"Duties{eExpansionVersion}", value); - } - else if (base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key4, defaultValue: false)) - { - base.Configuration.SinglePlayerDuties.HeaderStates[key4] = false; - Save(); } } } private void DrawJobQuestConfigTable() { - (int enabledCount, int totalCount) jobQuestCounts = GetJobQuestCounts(); - int item = jobQuestCounts.enabledCount; - int item2 = jobQuestCounts.totalCount; - ImU8String label = new ImU8String(32, 2); - label.AppendLiteral("Class/Job Quests ("); - label.AppendFormatted(item); - label.AppendLiteral("/"); - label.AppendFormatted(item2); - label.AppendLiteral(")###JobQuests"); - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem(label); - if (!tabItemDisposable) - { - return; - } using ImRaii.ChildDisposable childDisposable = BeginChildArea(); if (!childDisposable) { return; } + Dictionary headerStates = base.Configuration.SinglePlayerDuties.HeaderStates; int num = 0; foreach (var (eClassJob, num2) in _classJobUtils.SortedClassJobs) { - if (eClassJob.IsCrafter() || eClassJob.IsGatherer() || !_jobQuestBattles.TryGetValue(eClassJob, out List value)) + if (!eClassJob.IsCrafter() && !eClassJob.IsGatherer() && _jobQuestBattles.TryGetValue(eClassJob, out List value)) { - continue; - } - if (num2 != num) - { - num = num2; - ImGui.Spacing(); - ImGui.Separator(); - ImGui.Spacing(); - } - string text = eClassJob.ToFriendlyString(); - if (eClassJob.IsClass()) - { - text = text + " / " + eClassJob.AsJob().ToFriendlyString(); - } - (int enabledCount, int totalCount) questBattleCounts = GetQuestBattleCounts(value); - int item3 = questBattleCounts.enabledCount; - int item4 = questBattleCounts.totalCount; - string obj = $"{text} ({item3}/{item4})"; - string key = eClassJob.ToString(); - ImGui.SetNextItemOpen(base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key, defaultValue: false), ImGuiCond.Always); - if (ImGui.CollapsingHeader(obj)) - { - if (!base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key, defaultValue: false)) + if (num2 != num) { - base.Configuration.SinglePlayerDuties.HeaderStates[key] = true; - Save(); + num = num2; + ImGui.Spacing(); + ImGui.Separator(); + ImGui.Spacing(); + } + string text = eClassJob.ToFriendlyString(); + if (eClassJob.IsClass()) + { + text = text + " / " + eClassJob.AsJob().ToFriendlyString(); + } + var (value2, value3) = GetQuestBattleCounts(value); + if (DrawPersistentAccordion(text, $"{value2}/{value3}", eClassJob.ToString(), headerStates)) + { + DrawQuestTable($"JobQuests{eClassJob}", value); } - DrawQuestTable($"JobQuests{eClassJob}", value); - } - else if (base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key, defaultValue: false)) - { - base.Configuration.SinglePlayerDuties.HeaderStates[key] = false; - Save(); } } } private void DrawRoleQuestConfigTable() { - (int enabledCount, int totalCount) roleQuestCounts = GetRoleQuestCounts(); - int item = roleQuestCounts.enabledCount; - int item2 = roleQuestCounts.totalCount; - ImU8String label = new ImU8String(28, 2); - label.AppendLiteral("Role Quests ("); - label.AppendFormatted(item); - label.AppendLiteral("/"); - label.AppendFormatted(item2); - label.AppendLiteral(")###RoleQuests"); - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem(label); - if (!tabItemDisposable) - { - return; - } using ImRaii.ChildDisposable childDisposable = BeginChildArea(); if (!childDisposable) { return; } - foreach (var (eClassJob, value) in RoleQuestCategories) + Dictionary headerStates = base.Configuration.SinglePlayerDuties.HeaderStates; + foreach (var (eClassJob, label) in RoleQuestCategories) { - if (!_roleQuestBattles.TryGetValue(eClassJob, out List value2)) + if (_roleQuestBattles.TryGetValue(eClassJob, out List value)) { - continue; - } - (int enabledCount, int totalCount) questBattleCounts = GetQuestBattleCounts(value2); - int item3 = questBattleCounts.enabledCount; - int item4 = questBattleCounts.totalCount; - string obj = $"{value} ({item3}/{item4})"; - string key = $"Role_{eClassJob}"; - ImGui.SetNextItemOpen(base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key, defaultValue: false), ImGuiCond.Always); - if (ImGui.CollapsingHeader(obj)) - { - if (!base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key, defaultValue: false)) + var (value2, value3) = GetQuestBattleCounts(value); + if (DrawPersistentAccordion(label, $"{value2}/{value3}", $"Role_{eClassJob}", headerStates)) { - base.Configuration.SinglePlayerDuties.HeaderStates[key] = true; - Save(); + DrawQuestTable($"RoleQuests{eClassJob}", value); } - DrawQuestTable($"RoleQuests{eClassJob}", value2); - } - else if (base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key, defaultValue: false)) - { - base.Configuration.SinglePlayerDuties.HeaderStates[key] = false; - Save(); } } - (int enabledCount, int totalCount) questBattleCounts2 = GetQuestBattleCounts(_otherRoleQuestBattles); - int item5 = questBattleCounts2.enabledCount; - int item6 = questBattleCounts2.totalCount; - string obj2 = $"General Role Quests ({item5}/{item6})"; - string key2 = "Role_General"; - ImGui.SetNextItemOpen(base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key2, defaultValue: false), ImGuiCond.Always); - if (ImGui.CollapsingHeader(obj2)) + var (value4, value5) = GetQuestBattleCounts(_otherRoleQuestBattles); + if (DrawPersistentAccordion("General Role Quests", $"{value4}/{value5}", "Role_General", headerStates)) { - if (!base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key2, defaultValue: false)) - { - base.Configuration.SinglePlayerDuties.HeaderStates[key2] = true; - Save(); - } DrawQuestTable("RoleQuestsGeneral", _otherRoleQuestBattles); } - else if (base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key2, defaultValue: false)) - { - base.Configuration.SinglePlayerDuties.HeaderStates[key2] = false; - Save(); - } } private void DrawOtherQuestConfigTable() { - (int enabledCount, int totalCount) otherQuestCounts = GetOtherQuestCounts(); - int item = otherQuestCounts.enabledCount; - int item2 = otherQuestCounts.totalCount; - ImU8String label = new ImU8String(29, 2); - label.AppendLiteral("Other Quests ("); - label.AppendFormatted(item); - label.AppendLiteral("/"); - label.AppendFormatted(item2); - label.AppendLiteral(")###MiscQuests"); - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem(label); - if (!tabItemDisposable) - { - return; - } using ImRaii.ChildDisposable childDisposable = BeginChildArea(); if (!childDisposable) { return; } - foreach (var otherQuestBattle in _otherQuestBattles) + Dictionary headerStates = base.Configuration.SinglePlayerDuties.HeaderStates; + foreach (var (text, dutyInfos) in _otherQuestBattles) { - string item3 = otherQuestBattle.Label; - List item4 = otherQuestBattle.Item2; - (int enabledCount, int totalCount) questBattleCounts = GetQuestBattleCounts(item4); - int item5 = questBattleCounts.enabledCount; - int item6 = questBattleCounts.totalCount; - string obj = $"{item3} ({item5}/{item6})"; - string key = "Other_" + item3; - ImGui.SetNextItemOpen(base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key, defaultValue: false), ImGuiCond.Always); - if (ImGui.CollapsingHeader(obj)) + var (value, value2) = GetQuestBattleCounts(dutyInfos); + if (DrawPersistentAccordion(text, $"{value}/{value2}", "Other_" + text, headerStates)) { - if (!base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key, defaultValue: false)) - { - base.Configuration.SinglePlayerDuties.HeaderStates[key] = true; - Save(); - } - DrawQuestTable("Other" + item3, item4); - } - else if (base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key, defaultValue: false)) - { - base.Configuration.SinglePlayerDuties.HeaderStates[key] = false; - Save(); + DrawQuestTable("Other" + text, dutyInfos); } } } private void DrawQuestTable(string label, IReadOnlyList dutyInfos) { - using ImRaii.TableDisposable tableDisposable = ImRaii.Table(label, 2, ImGuiTableFlags.SizingFixedFit); + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable(label, 2, ImGuiTableFlags.SizingFixedFit); if (!(bool)tableDisposable) { return; @@ -652,29 +562,26 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent if (ImGui.TableNextColumn()) { ImGui.AlignTextToFramePadding(); - ImGui.TextUnformatted(dutyInfo.Name); - if (ImGui.IsItemHovered() && base.Configuration.Advanced.AdditionalStatusInformation) - { - using ImRaii.TooltipDisposable tooltipDisposable = ImRaii.Tooltip(); - if (tooltipDisposable.Alive) - { - ImGui.TextUnformatted(dutyInfo.Name); - ImGui.Separator(); - ImU8String text = new ImU8String(13, 1); - text.AppendLiteral("TerritoryId: "); - text.AppendFormatted(dutyInfo.TerritoryId); - ImGui.BulletText(text); - ImU8String text2 = new ImU8String(26, 1); - text2.AppendLiteral("ContentFinderConditionId: "); - text2.AppendFormatted(dutyInfo.ContentFinderConditionId); - ImGui.BulletText(text2); - } - } + float reservedRightWidth = ((!dutyInfo.Enabled || dutyInfo.Notes.Length != 0) ? (ImGui.GetFrameHeight() + ImGui.GetStyle().ItemSpacing.X) : 0f); + UiThemeUtils.RowLabel(dutyInfo.Name, reservedRightWidth); if (!dutyInfo.Enabled) { - ImGuiComponents.HelpMarker("Questionable doesn't include support for this quest.", FontAwesomeIcon.Times, ImGuiColors.DalamudRed); + ImGui.SameLine(); + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + ImGui.TextColored(in UiThemeUtils.StatusLocked, FontAwesomeIcon.Times.ToIconString()); + } + if (ImGui.IsItemHovered()) + { + using (ImRaii.Tooltip()) + { + ImGui.PushTextWrapPos(400f); + ImGui.Text("Questionable doesn't include support for this quest."); + ImGui.PopTextWrapPos(); + } + } } - else if (dutyInfo.Notes.Count > 0) + else if (dutyInfo.Notes.Length != 0) { ConfigComponent.DrawNotes(dutyInfo.EnabledByDefault, dutyInfo.Notes); } @@ -690,8 +597,8 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent { using (ImRaii.Disabled(!dutyInfo.Enabled)) { - ImGui.SetNextItemWidth(200f); - if (ImGui.Combo((ImU8String)string.Empty, ref currentItem, (ReadOnlySpan)array, array.Length)) + ImGui.SetNextItemWidth(-1f); + if (UiThemeUtils.ThemedCombo(string.Empty, ref currentItem, array, array.Length)) { base.Configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds.Remove(dutyInfo.ContentFinderConditionId); base.Configuration.SinglePlayerDuties.BlacklistedSinglePlayerDutyCfcIds.Remove(dutyInfo.ContentFinderConditionId); @@ -713,12 +620,25 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent private static ImRaii.ChildDisposable BeginChildArea() { - return ImRaii.Child("DutyConfiguration", new Vector2(725f, 400f), border: true); + Vector2 contentRegionAvail = ImGui.GetContentRegionAvail(); + return ImRaii.Child("DutyConfiguration", new Vector2(contentRegionAvail.X, MathF.Max(contentRegionAvail.Y - 30f - 12f, 200f)), border: true); + } + + private bool DrawPersistentAccordion(string label, string? rightText, string stateKey, Dictionary headerStates) + { + bool open = headerStates.GetValueOrDefault(stateKey, defaultValue: false); + UiThemeUtils.ThemedAccordion(stateKey, label, rightText, ref open); + if (open != headerStates.GetValueOrDefault(stateKey, defaultValue: false)) + { + headerStates[stateKey] = open; + Save(); + } + return open; } private void DrawEnableAllButton() { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.CheckCircle, "Enable All")) + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.CheckCircle, "Enable All")) { base.Configuration.SinglePlayerDuties.BlacklistedSinglePlayerDutyCfcIds.Clear(); base.Configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds.Clear(); @@ -734,62 +654,6 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent } } - private void DrawClipboardButtons() - { - using (ImRaii.Disabled(base.Configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds.Count + base.Configuration.SinglePlayerDuties.BlacklistedSinglePlayerDutyCfcIds.Count == 0)) - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Copy, "Export to clipboard")) - { - IEnumerable first = base.Configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds.Select((uint x) => $"{"+"}{x}"); - IEnumerable second = base.Configuration.SinglePlayerDuties.BlacklistedSinglePlayerDutyCfcIds.Select((uint x) => $"{"-"}{x}"); - ImGui.SetClipboardText("qst:single:" + Convert.ToBase64String(Encoding.UTF8.GetBytes(string.Join(";", first.Concat(second))))); - } - } - ImGui.SameLine(); - string text = ImGui.GetClipboardText().Trim(); - using (ImRaii.Disabled(string.IsNullOrEmpty(text) || !text.StartsWith("qst:single:", StringComparison.InvariantCulture))) - { - if (!ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Paste, "Import from Clipboard")) - { - return; - } - text = text.Substring("qst:single:".Length); - string text2 = Encoding.UTF8.GetString(Convert.FromBase64String(text)); - base.Configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds.Clear(); - base.Configuration.SinglePlayerDuties.BlacklistedSinglePlayerDutyCfcIds.Clear(); - string[] array = text2.Split(";"); - foreach (string text3 in array) - { - if (text3.StartsWith("+", StringComparison.InvariantCulture) && uint.TryParse(text3.AsSpan("+".Length), CultureInfo.InvariantCulture, out var result)) - { - base.Configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds.Add(result); - } - if (text3.StartsWith("-", StringComparison.InvariantCulture) && uint.TryParse(text3.AsSpan("-".Length), CultureInfo.InvariantCulture, out var result2)) - { - base.Configuration.SinglePlayerDuties.BlacklistedSinglePlayerDutyCfcIds.Add(result2); - } - } - Save(); - } - } - - private void DrawResetButton() - { - using (ImRaii.Disabled(!ImGui.IsKeyDown(ImGuiKey.ModCtrl))) - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Undo, "Reset to default")) - { - base.Configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds.Clear(); - base.Configuration.SinglePlayerDuties.BlacklistedSinglePlayerDutyCfcIds.Clear(); - Save(); - } - } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) - { - ImGui.SetTooltip("Hold CTRL to enable this button."); - } - } - private IEnumerable GetAllEnabledSinglePlayerDuties() { return from x in _startingCityBattles.Values.SelectMany((List x) => x).Concat(_mainScenarioBattles.Values.SelectMany((List x) => x)).Concat(_jobQuestBattles.Values.SelectMany((List x) => x)) diff --git a/Questionable/Questionable.Windows.ConfigComponents/StopConditionComponent.cs b/Questionable/Questionable.Windows.ConfigComponents/StopConditionComponent.cs index 8c18ccb..f6b115e 100644 --- a/Questionable/Questionable.Windows.ConfigComponents/StopConditionComponent.cs +++ b/Questionable/Questionable.Windows.ConfigComponents/StopConditionComponent.cs @@ -4,12 +4,13 @@ using System.Linq; using System.Numerics; using Dalamud.Bindings.ImGui; using Dalamud.Interface; -using Dalamud.Interface.Colors; -using Dalamud.Interface.Components; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin; using Dalamud.Plugin.Services; +using Microsoft.Extensions.Logging; using Questionable.Controller; +using Questionable.Controller.Conditions; +using Questionable.Data; using Questionable.Functions; using Questionable.Model; using Questionable.Model.Questing; @@ -20,7 +21,9 @@ namespace Questionable.Windows.ConfigComponents; internal sealed class StopConditionComponent : ConfigComponent { - private static readonly string[] StopModeNames = new string[3] { "Off", "Pause", "Stop" }; + private static readonly string[] ConditionModeNames = new string[2] { "Pause", "Stop" }; + + private static readonly string[] ConditionTypeNames = new string[7] { "Quest Complete", "Quest Accept", "Level", "Global Sequence", "Inventory Full", "Before Duty", "Gil Threshold" }; private readonly IDalamudPluginInterface _pluginInterface; @@ -28,6 +31,8 @@ internal sealed class StopConditionComponent : ConfigComponent private readonly QuestRegistry _questRegistry; + private readonly QuestData _questData; + private readonly QuestFunctions _questFunctions; private readonly QuestTooltipComponent _questTooltipComponent; @@ -36,370 +41,506 @@ internal sealed class StopConditionComponent : ConfigComponent private readonly IObjectTable _objectTable; - private readonly IClientState _clientState; - private readonly QuestController _questController; - private ElementId? _draggedItem; + private readonly ILogger _logger; - public StopConditionComponent(IDalamudPluginInterface pluginInterface, QuestSelector questSelector, QuestFunctions questFunctions, QuestRegistry questRegistry, QuestTooltipComponent questTooltipComponent, UiUtils uiUtils, IObjectTable objectTable, IClientState clientState, QuestController questController, Configuration configuration) + private int _addConditionType; + + private int _addLevel = 50; + + private int _addSequence = 1; + + private int _addGilThreshold = 1000; + + private string _questAcceptSearchText = string.Empty; + + private List _acceptedQuests = new List(); + + private long _acceptedQuestsRefreshAtMs; + + public StopConditionComponent(IDalamudPluginInterface pluginInterface, QuestSelector questSelector, QuestFunctions questFunctions, QuestRegistry questRegistry, QuestData questData, QuestTooltipComponent questTooltipComponent, UiUtils uiUtils, IObjectTable objectTable, QuestController questController, Configuration configuration, ILogger logger) : base(pluginInterface, configuration) { StopConditionComponent stopConditionComponent = this; _pluginInterface = pluginInterface; _questSelector = questSelector; _questRegistry = questRegistry; + _questData = questData; _questFunctions = questFunctions; _questTooltipComponent = questTooltipComponent; _uiUtils = uiUtils; + _logger = logger; _objectTable = objectTable; - _clientState = clientState; _questController = questController; - _questSelector.SuggestionPredicate = (Quest quest) => configuration.Stop.QuestsToStopAfter.All((ElementId x) => x != quest.Id); + _questSelector.SuggestionPredicate = (Quest quest) => !stopConditionComponent.HasQuestCondition(quest.Id, EStopConditionType.QuestComplete); _questSelector.DefaultPredicate = (Quest quest) => quest.Info.IsMainScenarioQuest && questFunctions.IsQuestAccepted(quest.Id); _questSelector.QuestSelected = delegate(Quest quest) { - configuration.Stop.QuestsToStopAfter.Add(quest.Id); - configuration.Stop.QuestStopModes[quest.Id.ToString()] = Questionable.Configuration.EStopConditionMode.Stop; + stopConditionComponent.Configuration.Stop.Conditions.Add(new QuestCompleteCondition + { + QuestId = quest.Id, + Mode = EStopConditionMode.Stop + }); stopConditionComponent.Save(); }; } public override void DrawTab() { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Stop###StopConditionns"); - if (!tabItemDisposable) + bool value = base.Configuration.Stop.Enabled; + UiThemeUtils.SectionHeader("Stop Conditions"); + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + if (UiThemeUtils.WrappedCheckbox("Enable stop conditions", ref value, "Pause: Stops automation when condition is met, but allows resuming past it.\nStop: True stop, blocks automation from starting/resuming if condition is already met.")) { + base.Configuration.Stop.Enabled = value; + Save(); + } + using (ImRaii.Disabled(!value)) + { + DrawConditionsList(); + } + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + UiThemeUtils.SectionSpacing(); + UiThemeUtils.SectionHeader("Add Condition"); + var (contentStartPos2, availableWidth2, drawList2) = UiThemeUtils.BeginCard(); + using (ImRaii.Disabled(!value)) + { + DrawAddCondition(); + } + UiThemeUtils.EndCard(contentStartPos2, availableWidth2, drawList2); + UiThemeUtils.SectionSpacing(); + UiThemeUtils.SectionHeader("After Stopping"); + var (contentStartPos3, availableWidth3, drawList3) = UiThemeUtils.BeginCard(); + using (ImRaii.Disabled(!value)) + { + string buf = base.Configuration.Stop.CommandAfterStop; + ImGui.SetNextItemWidth(MathF.Min(260f, ImGui.GetContentRegionAvail().X)); + if (ImGui.InputText("Run command after stop", ref buf, 200)) + { + base.Configuration.Stop.CommandAfterStop = buf; + Save(); + } + ImGui.SameLine(); + UiThemeUtils.InfoIcon("Runs this chat command when a stop condition ends the run - not on a manual stop."); + } + UiThemeUtils.EndCard(contentStartPos3, availableWidth3, drawList3); + DrawSessionConditions(); + } + + private void DrawConditionsList() + { + List conditions = base.Configuration.Stop.Conditions; + if (conditions.Count == 0) + { + ImGui.TextDisabled("No conditions configured."); return; } - bool v = base.Configuration.Stop.Enabled; - if (ImGui.Checkbox("Enable stop conditions", ref v)) + if (UiThemeUtils.DestructiveButton(FontAwesomeIcon.Trash, "Clear all")) { - base.Configuration.Stop.Enabled = v; + conditions.Clear(); + Save(); + } + int? indexToRemove = null; + for (int i = 0; i < conditions.Count; i++) + { + using (ImRaii.PushId(i)) + { + StopCondition condition = conditions[i]; + DrawConditionRow(condition, i, ref indexToRemove); + } + } + if (indexToRemove.HasValue) + { + int valueOrDefault = indexToRemove.GetValueOrDefault(); + conditions.RemoveAt(valueOrDefault); + Save(); + } + } + + private void DrawConditionRow(StopCondition condition, int index, ref int? indexToRemove) + { + ImGui.AlignTextToFramePadding(); + if (!(condition is QuestCompleteCondition condition2)) + { + if (!(condition is QuestAcceptCondition condition3)) + { + if (!(condition is LevelCondition condition4)) + { + if (!(condition is GlobalSequenceCondition condition5)) + { + if (!(condition is InventoryFullCondition)) + { + if (!(condition is BeforeDutyCondition)) + { + if (condition is GilThresholdCondition gilThresholdCondition) + { + ImU8String text = new ImU8String(10, 1); + text.AppendLiteral("Gil below "); + text.AppendFormatted(gilThresholdCondition.MinGil, "N0"); + ImGui.Text(text); + } + else + { + ImGui.Text(condition.GetDescription()); + } + } + else + { + ImGui.Text("Before Duty"); + } + } + else + { + ImGui.Text("Inventory Full"); + } + } + else + { + DrawGlobalSequenceRow(condition5); + } + } + else + { + DrawLevelRow(condition4); + } + } + else + { + DrawQuestAcceptRow(condition3); + } + } + else + { + DrawQuestCompleteRow(condition2); + } + ImGui.SameLine(); + int currentItem = ((condition.Mode != EStopConditionMode.Pause) ? 1 : 0); + ImGui.SetNextItemWidth(70f); + if (UiThemeUtils.ThemedCombo("##Mode", ref currentItem, ConditionModeNames, ConditionModeNames.Length)) + { + condition.Mode = ((currentItem == 0) ? EStopConditionMode.Pause : EStopConditionMode.Stop); Save(); } ImGui.SameLine(); - ImGuiComponents.HelpMarker("Pause: Stops automation when condition is met, but allows resuming past it.\nStop: True stop, blocks automation from starting/resuming if condition is already met."); - ImGui.Separator(); - using (ImRaii.Disabled(!v)) + if (UiThemeUtils.IconButton(FontAwesomeIcon.Times, ImGui.GetFrameHeight())) { - ImGui.Text("Stop when character level reaches:"); - int currentItem = (int)base.Configuration.Stop.LevelStopMode; - ImGui.SetNextItemWidth(100f); - if (ImGui.Combo((ImU8String)"##LevelMode", ref currentItem, (ReadOnlySpan)StopModeNames, StopModeNames.Length)) - { - base.Configuration.Stop.LevelStopMode = (Configuration.EStopConditionMode)currentItem; - Save(); - } - ImGui.SameLine(); - using (ImRaii.Disabled(base.Configuration.Stop.LevelStopMode == Questionable.Configuration.EStopConditionMode.Off)) - { - int data = base.Configuration.Stop.TargetLevel; - ImGui.SetNextItemWidth(100f); - if (ImGui.InputInt("Target level", ref data, 1, 5)) - { - base.Configuration.Stop.TargetLevel = Math.Max(1, Math.Min(100, data)); - Save(); - } - int num = _objectTable.LocalPlayer?.Level ?? 0; - if (num > 0) - { - ImGui.SameLine(); - ImU8String text = new ImU8String(11, 1); - text.AppendLiteral("(Current: "); - text.AppendFormatted(num); - text.AppendLiteral(")"); - ImGui.TextDisabled(text); - } - } - ImGui.Separator(); - ImGui.Text("Stop on quest sequence (global):"); - int currentItem2 = (int)base.Configuration.Stop.SequenceStopMode; - ImGui.SetNextItemWidth(100f); - if (ImGui.Combo((ImU8String)"##SequenceMode", ref currentItem2, (ReadOnlySpan)StopModeNames, StopModeNames.Length)) - { - base.Configuration.Stop.SequenceStopMode = (Configuration.EStopConditionMode)currentItem2; - Save(); - } - ImGui.SameLine(); - using (ImRaii.Disabled(base.Configuration.Stop.SequenceStopMode == Questionable.Configuration.EStopConditionMode.Off)) - { - int data2 = base.Configuration.Stop.TargetSequence; - ImGui.SetNextItemWidth(100f); - if (ImGui.InputInt("Target sequence", ref data2, 1, 1)) - { - base.Configuration.Stop.TargetSequence = Math.Max(0, Math.Min(255, data2)); - Save(); - } - QuestController.QuestProgress currentQuest = _questController.CurrentQuest; - if (currentQuest != null) - { - int sequence = currentQuest.Sequence; - ImGui.SameLine(); - ImU8String text2 = new ImU8String(11, 1); - text2.AppendLiteral("(Current: "); - text2.AppendFormatted(sequence); - text2.AppendLiteral(")"); - ImGui.TextDisabled(text2); - } - } - ImGui.TextWrapped("Note: Individual quest sequences below override this global setting."); - ImGui.Separator(); - ImGui.Text("Stop when completing quests (or reaching specific sequences):"); - DrawCurrentlyAcceptedQuests(); - _questSelector.DrawSelection(); - List questsToStopAfter = base.Configuration.Stop.QuestsToStopAfter; - if (questsToStopAfter.Count > 0) - { - using (ImRaii.Disabled(!ImGui.IsKeyDown(ImGuiKey.ModCtrl))) - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Trash, "Clear All")) - { - foreach (ElementId item in questsToStopAfter) - { - string key = item.ToString(); - base.Configuration.Stop.QuestSequences.Remove(key); - base.Configuration.Stop.QuestStopModes.Remove(key); - } - base.Configuration.Stop.QuestsToStopAfter.Clear(); - Save(); - } - } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) - { - ImGui.SetTooltip("Hold CTRL to enable this button."); - } - ImGui.Separator(); - ImGui.Text("(Drag arrow buttons to reorder)"); - } - DrawStopQuestList(questsToStopAfter); + indexToRemove = index; } } - private void DrawStopQuestList(List questsToStopAfter) + private void DrawQuestCompleteRow(QuestCompleteCondition condition) { - Quest quest = null; - Quest quest2 = null; - int index = 0; - float x = ImGui.GetContentRegionAvail().X; - List<(Vector2, Vector2)> list = new List<(Vector2, Vector2)>(); - for (int i = 0; i < questsToStopAfter.Count; i++) + string text = ResolveQuestName(condition.QuestId); + (Vector4, FontAwesomeIcon, string) questStyle = _uiUtils.GetQuestStyle(condition.QuestId); + using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) { - Vector2 item = ImGui.GetCursorScreenPos() + new Vector2(0f, (0f - ImGui.GetStyle().ItemSpacing.Y) / 2f); - ElementId elementId = questsToStopAfter[i]; - if (!_questRegistry.TryGetQuest(elementId, out Quest quest3)) + ImGui.TextColored(in questStyle.Item1, questStyle.Item2.ToIconString()); + } + ImGui.SameLine(); + float x = ImGui.GetStyle().ItemSpacing.X; + float frameHeight = ImGui.GetFrameHeight(); + float x2; + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + x2 = ImGui.CalcTextSize(FontAwesomeIcon.InfoCircle.ToIconString()).X; + } + float reservedRightWidth = x * 6f + frameHeight * 2f + ImGui.CalcTextSize("Seq:").X + x2 + 85f + 70f; + UiThemeUtils.RowLabel(text, reservedRightWidth); + if (ImGui.IsItemHovered() && _questRegistry.TryGetQuest(condition.QuestId, out Quest quest)) + { + _questTooltipComponent.Draw(quest.Info); + } + ImGui.SameLine(); + bool value = condition.Sequence.HasValue; + if (UiThemeUtils.WrappedCheckbox("Seq:", ref value, "Stop at specific sequence (unchecked = stop on completion)")) + { + condition.Sequence = (value ? new int?(1) : ((int?)null)); + Save(); + } + using (ImRaii.Disabled(!value)) + { + ImGui.SameLine(); + ImGui.SetNextItemWidth(85f); + int data = condition.Sequence ?? 1; + if (ImGui.InputInt("##Seq", ref data, 1, 1) && value) { - continue; + condition.Sequence = Math.Max(0, Math.Min(255, data)); + Save(); } - ImU8String id = new ImU8String(5, 1); - id.AppendLiteral("Quest"); - id.AppendFormatted(elementId); + } + } + + private void DrawQuestAcceptRow(QuestAcceptCondition condition) + { + string text = ResolveQuestName(condition.QuestId); + (Vector4, FontAwesomeIcon, string) questStyle = _uiUtils.GetQuestStyle(condition.QuestId); + using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) + { + ImGui.TextColored(in questStyle.Item1, questStyle.Item2.ToIconString()); + } + ImGui.SameLine(); + float num = ImGui.GetStyle().ItemSpacing.X * 2f + 70f + ImGui.GetFrameHeight() + ImGui.CalcTextSize(" (on accept)").X; + float maxWidth = ImGui.GetContentRegionAvail().X - num; + ImGui.TextUnformatted(UiThemeUtils.TruncateToWidth(text, maxWidth) + " (on accept)"); + if (ImGui.IsItemHovered() && _questRegistry.TryGetQuest(condition.QuestId, out Quest quest)) + { + _questTooltipComponent.Draw(quest.Info); + } + } + + private void DrawLevelRow(LevelCondition condition) + { + ImGui.Text("Level"); + ImGui.SameLine(); + ImGui.SetNextItemWidth(100f); + int data = condition.TargetLevel; + if (ImGui.InputInt("##Level", ref data, 1, 5)) + { + condition.TargetLevel = Math.Max(1, Math.Min(100, data)); + Save(); + } + int num = _objectTable.LocalPlayer?.Level ?? 0; + if (num > 0) + { + ImGui.SameLine(); + ImU8String text = new ImU8String(11, 1); + text.AppendLiteral("(Current: "); + text.AppendFormatted(num); + text.AppendLiteral(")"); + ImGui.TextDisabled(text); + } + } + + private void DrawGlobalSequenceRow(GlobalSequenceCondition condition) + { + ImGui.Text("Global Sequence"); + ImGui.SameLine(); + ImGui.SetNextItemWidth(100f); + int data = condition.TargetSequence; + if (ImGui.InputInt("##Seq", ref data, 1, 1)) + { + condition.TargetSequence = Math.Max(0, Math.Min(255, data)); + Save(); + } + QuestController.QuestProgress currentQuest = _questController.CurrentQuest; + if (currentQuest != null) + { + ImGui.SameLine(); + ImU8String text = new ImU8String(11, 1); + text.AppendLiteral("(Current: "); + text.AppendFormatted(currentQuest.Sequence); + text.AppendLiteral(")"); + ImGui.TextDisabled(text); + } + } + + private void DrawAddCondition() + { + ImGui.SetNextItemWidth(MathF.Min(260f, ImGui.GetContentRegionAvail().X)); + UiThemeUtils.ThemedCombo("##AddType", ref _addConditionType, ConditionTypeNames, ConditionTypeNames.Length); + ImGui.SameLine(); + switch (_addConditionType) + { + case 0: + DrawAddQuestComplete(); + break; + case 1: + DrawAddQuestAccept(); + break; + case 2: + DrawAddLevel(); + break; + case 3: + DrawAddGlobalSequence(); + break; + case 4: + DrawAddSimpleCondition(); + break; + case 5: + DrawAddSimpleCondition(); + break; + case 6: + DrawAddGilThreshold(); + break; + } + } + + private void DrawAddQuestComplete() + { + ImGui.NewLine(); + _questSelector.DrawSelection(MathF.Min(260f, ImGui.GetContentRegionAvail().X)); + } + + private void DrawAddQuestAccept() + { + ImGui.NewLine(); + long tickCount = Environment.TickCount64; + if (tickCount >= _acceptedQuestsRefreshAtMs) + { + _acceptedQuests = GetCurrentlyAcceptedQuests(); + _acceptedQuestsRefreshAtMs = tickCount + 1000; + } + List list = _acceptedQuests.Where((Quest x) => !HasQuestCondition(x.Id, EStopConditionType.QuestAccept)).ToList(); + if (list.Count == 0) + { + ImGui.TextDisabled((_acceptedQuests.Count == 0) ? "No quests currently accepted" : "All accepted quests already added"); + return; + } + string[] items = list.Select((Quest x) => x.Info.Name).ToArray(); + int currentItem = -1; + if (UiThemeUtils.SearchableCombo("##QuestAcceptSelection", ref currentItem, items, ref _questAcceptSearchText, MathF.Min(260f, ImGui.GetContentRegionAvail().X), "Select quest to add...") && currentItem >= 0) + { + base.Configuration.Stop.Conditions.Add(new QuestAcceptCondition + { + QuestId = list[currentItem].Id, + Mode = EStopConditionMode.Stop + }); + Save(); + } + } + + private void DrawAddLevel() + { + if (base.Configuration.Stop.Conditions.OfType().Any()) + { + ImGui.TextDisabled("Already configured"); + return; + } + ImGui.SetNextItemWidth(100f); + ImGui.InputInt("##AddLevel", ref _addLevel, 1, 5); + _addLevel = Math.Max(1, Math.Min(100, _addLevel)); + ImGui.SameLine(); + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Plus, "Add")) + { + base.Configuration.Stop.Conditions.Add(new LevelCondition + { + TargetLevel = _addLevel, + Mode = EStopConditionMode.Stop + }); + Save(); + } + } + + private void DrawAddGlobalSequence() + { + if (base.Configuration.Stop.Conditions.OfType().Any()) + { + ImGui.TextDisabled("Already configured"); + return; + } + ImGui.SetNextItemWidth(100f); + ImGui.InputInt("##AddSeq", ref _addSequence, 1, 1); + _addSequence = Math.Max(0, Math.Min(255, _addSequence)); + ImGui.SameLine(); + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Plus, "Add")) + { + base.Configuration.Stop.Conditions.Add(new GlobalSequenceCondition + { + TargetSequence = _addSequence, + Mode = EStopConditionMode.Stop + }); + Save(); + } + } + + private void DrawAddGilThreshold() + { + if (base.Configuration.Stop.Conditions.OfType().Any()) + { + ImGui.TextDisabled("Already configured"); + return; + } + ImGui.SetNextItemWidth(100f); + ImGui.InputInt("##AddGil", ref _addGilThreshold, 100, 1000); + _addGilThreshold = Math.Max(1, Math.Min(999999999, _addGilThreshold)); + ImGui.SameLine(); + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Plus, "Add")) + { + base.Configuration.Stop.Conditions.Add(new GilThresholdCondition + { + MinGil = _addGilThreshold, + Mode = EStopConditionMode.Stop + }); + Save(); + } + } + + private void DrawAddSimpleCondition() where T : StopCondition, new() + { + if (base.Configuration.Stop.Conditions.OfType().Any()) + { + ImGui.TextDisabled("Already configured"); + } + else if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Plus, "Add")) + { + base.Configuration.Stop.Conditions.Add(new T + { + Mode = EStopConditionMode.Stop + }); + Save(); + } + } + + private void DrawSessionConditions() + { + List sessionConditions = _questController.SessionConditions; + if (sessionConditions.Count == 0) + { + return; + } + UiThemeUtils.SectionSpacing(); + UiThemeUtils.SectionHeader("This Session"); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard(); + Vector2 item = tuple.ContentStartPos; + float item2 = tuple.AvailableWidth; + ImDrawListPtr item3 = tuple.DrawList; + for (int i = 0; i < sessionConditions.Count; i++) + { + ImU8String id = new ImU8String(7, 1); + id.AppendLiteral("Session"); + id.AppendFormatted(i); using (ImRaii.PushId(id)) { - ImGui.AlignTextToFramePadding(); - ImU8String text = new ImU8String(1, 1); - text.AppendFormatted(i + 1); - text.AppendLiteral("."); - ImGui.Text(text); + StopCondition stopCondition = sessionConditions[i]; + ImGui.BulletText(stopCondition.GetDescription()); ImGui.SameLine(); - (Vector4, FontAwesomeIcon, string) questStyle = _uiUtils.GetQuestStyle(elementId); - bool flag; - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) - { - ImGui.AlignTextToFramePadding(); - ImGui.TextColored(in questStyle.Item1, questStyle.Item2.ToIconString()); - flag = ImGui.IsItemHovered(); - } - ImGui.SameLine(); - ImGui.AlignTextToFramePadding(); - ImGui.Text(quest3.Info.Name); - flag |= ImGui.IsItemHovered(); - if (flag) - { - _questTooltipComponent.Draw(quest3.Info); - } - string text2 = elementId.ToString(); - int currentItem = (int)base.Configuration.Stop.QuestStopModes.GetValueOrDefault(text2, Questionable.Configuration.EStopConditionMode.Stop); - ImGui.SameLine(); - ImGui.SetNextItemWidth(70f); - ImU8String label = new ImU8String(6, 1); - label.AppendLiteral("##Mode"); - label.AppendFormatted(text2); - if (ImGui.Combo(label, ref currentItem, (ReadOnlySpan)StopModeNames, StopModeNames.Length)) - { - base.Configuration.Stop.QuestStopModes[text2] = (Configuration.EStopConditionMode)currentItem; - Save(); - } - ImGui.SameLine(); - base.Configuration.Stop.QuestSequences.TryGetValue(text2, out var value); - bool v = value.HasValue; - ImU8String label2 = new ImU8String(8, 1); - label2.AppendLiteral("##UseSeq"); - label2.AppendFormatted(text2); - if (ImGui.Checkbox(label2, ref v)) - { - if (v) - { - base.Configuration.Stop.QuestSequences[text2] = 1; - } - else - { - base.Configuration.Stop.QuestSequences.Remove(text2); - } - Save(); - } - if (ImGui.IsItemHovered()) - { - ImGui.SetTooltip("Stop at specific sequence (unchecked = stop on quest completion)"); - } - using (ImRaii.Disabled(!v)) - { - ImGui.SameLine(); - ImGui.Text("Seq:"); - ImGui.SameLine(); - ImGui.SetNextItemWidth(85f); - int data = value ?? 1; - ImU8String label3 = new ImU8String(10, 1); - label3.AppendLiteral("##SeqValue"); - label3.AppendFormatted(text2); - if (ImGui.InputInt(label3, ref data, 1, 1) && v) - { - base.Configuration.Stop.QuestSequences[text2] = Math.Max(0, Math.Min(255, data)); - Save(); - } - } - if (questsToStopAfter.Count > 1) - { - using (ImRaii.PushFont(UiBuilder.IconFont)) - { - ImGui.SameLine(ImGui.GetContentRegionAvail().X + ImGui.GetStyle().WindowPadding.X - ImGui.CalcTextSize(FontAwesomeIcon.ArrowsUpDown.ToIconString()).X - ImGui.CalcTextSize(FontAwesomeIcon.Times.ToIconString()).X - ImGui.GetStyle().FramePadding.X * 4f - ImGui.GetStyle().ItemSpacing.X); - } - if (_draggedItem == elementId) - { - ImGuiComponents.IconButton("##Move", FontAwesomeIcon.ArrowsUpDown, ImGui.ColorConvertU32ToFloat4(ImGui.GetColorU32(ImGuiCol.ButtonActive))); - } - else - { - ImGuiComponents.IconButton("##Move", FontAwesomeIcon.ArrowsUpDown); - } - if (_draggedItem == null && ImGui.IsItemActive() && ImGui.IsMouseDragging(ImGuiMouseButton.Left)) - { - _draggedItem = elementId; - } - ImGui.SameLine(); - } - else - { - using (ImRaii.PushFont(UiBuilder.IconFont)) - { - ImGui.SameLine(ImGui.GetContentRegionAvail().X + ImGui.GetStyle().WindowPadding.X - ImGui.CalcTextSize(FontAwesomeIcon.Times.ToIconString()).X - ImGui.GetStyle().FramePadding.X * 2f); - } - } - if (ImGuiComponents.IconButton($"##Remove{i}", FontAwesomeIcon.Times)) - { - quest = quest3; - } - } - Vector2 item2 = new Vector2(item.X + x, ImGui.GetCursorScreenPos().Y - ImGui.GetStyle().ItemSpacing.Y + 2f); - list.Add((item, item2)); - } - if (!ImGui.IsMouseDragging(ImGuiMouseButton.Left)) - { - _draggedItem = null; - } - else if (_draggedItem != null) - { - int num = questsToStopAfter.FindIndex((ElementId elementId2) => elementId2 == _draggedItem); - if (num >= 0 && num < list.Count) - { - var (pMin, pMax) = list[num]; - ImGui.GetWindowDrawList().AddRect(pMin, pMax, ImGui.GetColorU32(ImGuiColors.DalamudGrey), 3f, ImDrawFlags.RoundCornersAll); - int num2 = list.FindIndex(((Vector2 TopLeft, Vector2 BottomRight) tuple2) => ImGui.IsMouseHoveringRect(tuple2.TopLeft, tuple2.BottomRight, clip: true)); - if (num2 >= 0 && num != num2) - { - quest2 = (_questRegistry.TryGetQuest(_draggedItem, out Quest quest4) ? quest4 : null); - index = num2; - } + ImU8String text = new ImU8String(2, 1); + text.AppendLiteral("["); + text.AppendFormatted(stopCondition.Mode); + text.AppendLiteral("]"); + ImGui.TextDisabled(text); } } - if (quest != null) - { - string key = quest.Id.ToString(); - base.Configuration.Stop.QuestsToStopAfter.Remove(quest.Id); - base.Configuration.Stop.QuestSequences.Remove(key); - base.Configuration.Stop.QuestStopModes.Remove(key); - Save(); - } - if (quest2 != null) - { - questsToStopAfter.Remove(quest2.Id); - questsToStopAfter.Insert(index, quest2.Id); - Save(); - } + UiThemeUtils.EndCard(item, item2, item3); } - private void DrawCurrentlyAcceptedQuests() + private string ResolveQuestName(ElementId questId) { - List currentlyAcceptedQuests = GetCurrentlyAcceptedQuests(); - ImGui.Text("Currently Accepted Quests:"); - using (ImRaii.ChildDisposable childDisposable = ImRaii.Child("AcceptedQuestsList", new Vector2(-1f, 120f), border: true)) + if (_questData.TryGetQuestInfo(questId, out IQuestInfo questInfo)) { - if ((bool)childDisposable) + return questInfo.Name; + } + return questId.ToString(); + } + + private bool HasQuestCondition(ElementId questId, EStopConditionType type) + { + foreach (StopCondition condition in base.Configuration.Stop.Conditions) + { + if (condition.Type == type) { - if (currentlyAcceptedQuests.Count > 0) + if (condition is QuestCompleteCondition questCompleteCondition && questCompleteCondition.QuestId.Equals(questId)) { - foreach (Quest item in currentlyAcceptedQuests) - { - ImU8String id = new ImU8String(13, 1); - id.AppendLiteral("AcceptedQuest"); - id.AppendFormatted(item.Id); - using (ImRaii.PushId(id)) - { - (Vector4, FontAwesomeIcon, string) questStyle = _uiUtils.GetQuestStyle(item.Id); - bool flag = false; - bool flag2 = base.Configuration.Stop.QuestsToStopAfter.Contains(item.Id); - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) - { - ImGui.AlignTextToFramePadding(); - ImGui.TextColored(flag2 ? new Vector4(0.5f, 0.5f, 0.5f, 1f) : questStyle.Item1, questStyle.Item2.ToIconString()); - flag = ImGui.IsItemHovered(); - } - ImGui.SameLine(); - ImGui.AlignTextToFramePadding(); - ImGui.TextColored(flag2 ? new Vector4(0.7f, 0.7f, 0.7f, 1f) : new Vector4(1f, 1f, 1f, 1f), item.Info.Name); - if (flag | ImGui.IsItemHovered()) - { - _questTooltipComponent.Draw(item.Info); - } - using (ImRaii.PushFont(UiBuilder.IconFont)) - { - ImGui.SameLine(ImGui.GetContentRegionAvail().X + ImGui.GetStyle().WindowPadding.X - ImGui.CalcTextSize(FontAwesomeIcon.Plus.ToIconString()).X - ImGui.GetStyle().FramePadding.X * 2f); - } - using (ImRaii.Disabled(flag2)) - { - if (ImGuiComponents.IconButton($"##Add{item.Id}", FontAwesomeIcon.Plus)) - { - base.Configuration.Stop.QuestsToStopAfter.Add(item.Id); - base.Configuration.Stop.QuestStopModes[item.Id.ToString()] = Questionable.Configuration.EStopConditionMode.Stop; - Save(); - } - } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) - { - ImGui.SetTooltip(flag2 ? "Quest already added to stop conditions" : "Add this quest to stop conditions"); - } - } - } + return true; } - else + if (condition is QuestAcceptCondition questAcceptCondition && questAcceptCondition.QuestId.Equals(questId)) { - ImGui.PushStyleColor(ImGuiCol.Text, new Vector4(0.7f, 0.7f, 0.7f, 1f)); - ImGui.TextWrapped("No quests currently accepted"); - ImGui.PopStyleColor(); + return true; } } } - ImGui.Spacing(); + return false; } private List GetCurrentlyAcceptedQuests() @@ -416,8 +557,9 @@ internal sealed class StopConditionComponent : ConfigComponent } list.Sort((Quest a, Quest b) => string.Compare(a.Info.Name, b.Info.Name, StringComparison.OrdinalIgnoreCase)); } - catch (Exception) + catch (Exception exception) { + _logger.LogDebug(exception, "Failed to enumerate accepted quests"); list.Clear(); } return list; diff --git a/Questionable/Questionable.Windows.JournalComponents/AlliedSocietyJournalComponent.cs b/Questionable/Questionable.Windows.JournalComponents/AlliedSocietyJournalComponent.cs index 71be9de..e122fc4 100644 --- a/Questionable/Questionable.Windows.JournalComponents/AlliedSocietyJournalComponent.cs +++ b/Questionable/Questionable.Windows.JournalComponents/AlliedSocietyJournalComponent.cs @@ -5,8 +5,6 @@ using System.Numerics; using Dalamud.Bindings.ImGui; using Dalamud.Game.Text; using Dalamud.Interface; -using Dalamud.Interface.Colors; -using Dalamud.Interface.Components; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game; @@ -28,6 +26,8 @@ internal sealed class AlliedSocietyJournalComponent private const int SharedDailyAllowanceLimit = 12; + private readonly Dictionary _societyHeaderStates = new Dictionary(); + private readonly AlliedSocietyQuestFunctions _alliedSocietyQuestFunctions; private readonly QuestData _questData; @@ -46,6 +46,48 @@ internal sealed class AlliedSocietyJournalComponent private readonly ILogger _logger; + private static readonly (string Name, EAlliedSociety[] Societies)[] ExpansionGroups = new(string, EAlliedSociety[])[6] + { + ("A Realm Reborn", new EAlliedSociety[5] + { + EAlliedSociety.Amaljaa, + EAlliedSociety.Sylphs, + EAlliedSociety.Kobolds, + EAlliedSociety.Sahagin, + EAlliedSociety.Ixal + }), + ("Heavensward", new EAlliedSociety[3] + { + EAlliedSociety.VanuVanu, + EAlliedSociety.Vath, + EAlliedSociety.Moogles + }), + ("Stormblood", new EAlliedSociety[3] + { + EAlliedSociety.Kojin, + EAlliedSociety.Ananta, + EAlliedSociety.Namazu + }), + ("Shadowbringers", new EAlliedSociety[3] + { + EAlliedSociety.Pixies, + EAlliedSociety.Qitari, + EAlliedSociety.Dwarves + }), + ("Endwalker", new EAlliedSociety[3] + { + EAlliedSociety.Arkasodara, + EAlliedSociety.Omicrons, + EAlliedSociety.Loporrits + }), + ("Dawntrail", new EAlliedSociety[3] + { + EAlliedSociety.Pelupelu, + EAlliedSociety.MamoolJa, + EAlliedSociety.YokHuy + }) + }; + public AlliedSocietyJournalComponent(AlliedSocietyQuestFunctions alliedSocietyQuestFunctions, QuestData questData, QuestRegistry questRegistry, QuestJournalUtils questJournalUtils, QuestTooltipComponent questTooltipComponent, UiUtils uiUtils, QuestController questController, IChatGui chatGui, ILogger logger) { _alliedSocietyQuestFunctions = alliedSocietyQuestFunctions; @@ -61,83 +103,55 @@ internal sealed class AlliedSocietyJournalComponent public void DrawAlliedSocietyQuests() { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Allied Societies"); - if (!tabItemDisposable) + DrawDailyAllowanceBar(); + ImGui.Separator(); + ImGui.Spacing(); + bool flag = false; + (string, EAlliedSociety[])[] expansionGroups = ExpansionGroups; + for (int i = 0; i < expansionGroups.Length; i++) { - return; - } - DrawDailyAllowanceHeader(); - foreach (EAlliedSociety item in from x in Enum.GetValues() - where x != EAlliedSociety.None - select x) - { - List list = (from x in _alliedSocietyQuestFunctions.GetAvailableAlliedSocietyQuests(item) - select (QuestInfo)_questData.GetQuestInfo(x)).ToList(); - if (list.Count != 0 && DrawAlliedSocietyHeader(item, list)) + (string, EAlliedSociety[]) tuple = expansionGroups[i]; + string item = tuple.Item1; + EAlliedSociety[] item2 = tuple.Item2; + List<(EAlliedSociety, List)> list = new List<(EAlliedSociety, List)>(); + EAlliedSociety[] array = item2; + foreach (EAlliedSociety eAlliedSociety in array) { - using (ImRaii.PushIndent()) + List list2 = (from x in _alliedSocietyQuestFunctions.GetAvailableAlliedSocietyQuests(eAlliedSociety) + select (QuestInfo)_questData.GetQuestInfo(x)).ToList(); + if (list2.Count > 0) { - DrawAddToPriorityButtons(item, list); - ImGui.Spacing(); - ImGui.Separator(); - ImGui.Spacing(); - DrawQuestList(item, list); + list.Add((eAlliedSociety, list2)); } } + if (list.Count == 0) + { + continue; + } + flag = true; + UiThemeUtils.SubSectionHeader(item); + ImGui.Spacing(); + foreach (var (alliedSociety, quests) in list) + { + DrawSocietySection(alliedSociety, quests); + } + ImGui.Spacing(); + } + if (!flag) + { + ImGui.TextColored(in UiThemeUtils.DimTextColor, "No allied society quests available."); } } - private unsafe void DrawDailyAllowanceHeader() + private unsafe void DrawDailyAllowanceBar() { QuestManager* ptr = QuestManager.Instance(); if (ptr != null) { byte b = (byte)ptr->GetBeastTribeAllowance(); - int value = 12 - b; - (DateTime ResetTime, TimeSpan TimeUntilReset) tuple = CalculateTimeUntilReset(); - DateTime item = tuple.ResetTime; - string value2 = FormatTimeSpan(tuple.TimeUntilReset); - Vector4 col = ((b > 0) ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudRed); - ImU8String text = new ImU8String(31, 2); - text.AppendLiteral("Daily Allowances: "); - text.AppendFormatted(b); - text.AppendLiteral(" / "); - text.AppendFormatted(12); - text.AppendLiteral(" remaining"); - ImGui.TextColored(in col, text); - ImGui.SameLine(); - col = ImGuiColors.DalamudGrey3; - ImU8String text2 = new ImU8String(13, 1); - text2.AppendLiteral("(Resets in: "); - text2.AppendFormatted(value2); - text2.AppendLiteral(")"); - ImGui.TextColored(in col, text2); - if (ImGui.IsItemHovered()) - { - ImGui.BeginTooltip(); - ImGui.TextUnformatted("Shared across all allied societies"); - ImU8String text3 = new ImU8String(12, 1); - text3.AppendLiteral("Used today: "); - text3.AppendFormatted(value); - ImGui.TextUnformatted(text3); - ImGui.Spacing(); - ImGui.Separator(); - ImGui.Spacing(); - col = ImGuiColors.DalamudGrey3; - ImU8String text4 = new ImU8String(12, 1); - text4.AppendLiteral("Next reset: "); - text4.AppendFormatted(item, "g"); - ImGui.TextColored(in col, text4); - col = ImGuiColors.DalamudGrey3; - ImU8String text5 = new ImU8String(18, 1); - text5.AppendLiteral("Time until reset: "); - text5.AppendFormatted(value2); - ImGui.TextColored(in col, text5); - ImGui.EndTooltip(); - } - ImGui.Spacing(); - ImGui.Separator(); - ImGui.Spacing(); + int num = 12 - b; + TimeSpan item = CalculateTimeUntilReset().TimeUntilReset; + JournalUiShared.DrawAllowanceHeader(num, 12, "daily allowances", item, $"Shared across all allied societies\nUsed today: {num}"); } } @@ -150,87 +164,102 @@ internal sealed class AlliedSocietyJournalComponent return (ResetTime: dateTime2.ToLocalTime(), TimeUntilReset: item); } - private static string FormatTimeSpan(TimeSpan timeSpan) + private void DrawReputationStatus(EAlliedSociety alliedSociety) { - if (timeSpan.TotalMinutes < 1.0) + (byte, ushort, ushort, bool, bool)? reputationStatus = _alliedSocietyQuestFunctions.GetReputationStatus(alliedSociety); + if (!reputationStatus.HasValue) { - return "< 1m"; + return; } - if (!(timeSpan.TotalHours < 1.0)) + (byte, ushort, ushort, bool, bool) value = reputationStatus.Value; + byte item = value.Item1; + ushort item2 = value.Item2; + ushort item3 = value.Item3; + bool item4 = value.Item4; + bool item5 = value.Item5; + string value2 = ((item < RankNames.Length) ? RankNames[item] : $"Rank {item}"); + if (item4) { - if (!(timeSpan.TotalDays < 1.0)) - { - return $"{(int)timeSpan.TotalDays}d {timeSpan.Hours}h"; - } - return $"{timeSpan.Hours}h {timeSpan.Minutes}m"; + ImU8String text = new ImU8String(0, 1); + text.AppendFormatted(value2); + ImGui.TextColored(in UiThemeUtils.StatusComplete, text); } - return $"{timeSpan.Minutes}m"; - } - - private bool DrawAlliedSocietyHeader(EAlliedSociety alliedSociety, List quests) - { - return ImGui.CollapsingHeader($"{alliedSociety}###AlliedSociety{alliedSociety}"); - } - - private void DrawQuestList(EAlliedSociety alliedSociety, List quests) - { - if ((int)alliedSociety <= 4) + else if (item5) { - byte rank = 1; - while (rank <= 4) + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.StatusActive)) { - List list = quests.Where((QuestInfo x) => x.AlliedSocietyRank == rank).ToList(); - if (list.Count != 0) + using (ImRaii.PushFont(UiBuilder.IconFont)) { - ImGui.Text(RankNames[rank]); - foreach (QuestInfo item in list) - { - DrawQuest(item); - } + ImGui.Text(FontAwesomeIcon.ExclamationTriangle.ToIconString()); } - byte b = (byte)(rank + 1); - rank = b; - } - } - else if (alliedSociety == EAlliedSociety.Ixal) - { - byte rank2 = 1; - while (rank2 <= 8) - { - List list2 = quests.Where((QuestInfo x) => x.AlliedSocietyRank == rank2).ToList(); - if (list2.Count != 0) - { - ImGui.Text(RankNames[rank2]); - foreach (QuestInfo item2 in list2) - { - DrawQuest(item2); - } - } - byte b = (byte)(rank2 + 1); - rank2 = b; + ImGui.SameLine(0f, 4f); + ImU8String text2 = new ImU8String(24, 3); + text2.AppendFormatted(value2); + text2.AppendLiteral(" - "); + text2.AppendFormatted(item2); + text2.AppendLiteral("/"); + text2.AppendFormatted(item3); + text2.AppendLiteral(" (rank up available)"); + ImGui.TextUnformatted(text2); } } else { - if ((int)alliedSociety < 6) + Vector4 col = ((((item3 > 0) ? ((float)(int)item2 / (float)(int)item3) : 0f) >= 0.8f) ? UiThemeUtils.StatusActive : UiThemeUtils.MutedTextColor); + ImU8String text3 = new ImU8String(4, 3); + text3.AppendFormatted(value2); + text3.AppendLiteral(" - "); + text3.AppendFormatted(item2); + text3.AppendLiteral("/"); + text3.AppendFormatted(item3); + ImGui.TextColored(in col, text3); + } + ImGui.Spacing(); + } + + private void DrawSocietySection(EAlliedSociety alliedSociety, List quests) + { + Quest quest; + int num = quests.Count((QuestInfo q) => _questRegistry.TryGetQuest(q.QuestId, out quest) && !quest.Root.Disabled); + string rightText = ((num > 0) ? $"{num} available" : "no paths available"); + string text = $"AlliedSociety{alliedSociety}"; + string label = alliedSociety.ToString(); + bool open = _societyHeaderStates.GetValueOrDefault(text, defaultValue: false); + UiThemeUtils.ThemedAccordion(text, label, rightText, ref open); + _societyHeaderStates[text] = open; + if (!open) + { + return; + } + using (ImRaii.PushIndent()) + { + DrawReputationStatus(alliedSociety); + DrawAddToPriorityButtons(alliedSociety, quests); + ImGui.Spacing(); + DrawQuestList(alliedSociety, quests); + } + } + + private void DrawQuestList(EAlliedSociety alliedSociety, List quests) + { + int num = (((int)alliedSociety <= 4) ? 4 : ((alliedSociety != EAlliedSociety.Ixal) ? 9 : 8)); + int num2 = num; + int num3 = 0; + byte rank = 1; + while (rank <= num2) + { + List list = quests.Where((QuestInfo x) => x.AlliedSocietyRank == rank).ToList(); + if (list.Count != 0) { - return; - } - byte rank3 = 1; - while (rank3 <= 9) - { - List list3 = quests.Where((QuestInfo x) => x.AlliedSocietyRank == rank3).ToList(); - if (list3.Count != 0) + ImGui.TextColored(in UiThemeUtils.MutedTextColor, RankNames[rank]); + foreach (QuestInfo item in list) { - ImGui.Text(RankNames[rank3]); - foreach (QuestInfo item3 in list3) - { - DrawQuest(item3); - } + UiThemeUtils.DrawAltRowBackground(num3++); + DrawQuest(item); } - byte b = (byte)(rank3 + 1); - rank3 = b; } + byte b = (byte)(rank + 1); + rank = b; } } @@ -269,11 +298,21 @@ internal sealed class AlliedSocietyJournalComponent return (int)ptr->GetBeastTribeAllowance(); } + private static float IconTextButtonWidth(FontAwesomeIcon icon, string text) + { + Vector2 vector; + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + vector = ImGui.CalcTextSize(icon.ToIconString()); + } + return ImGui.GetStyle().FramePadding.X * 3f * 2f + vector.X + 6f + ImGui.CalcTextSize(text).X; + } + private static void DrawDisabledAddButton() { using (ImRaii.Disabled(disabled: true)) { - ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Plus, "Add to Priority"); + UiThemeUtils.IconTextButton(FontAwesomeIcon.Plus, "Add to Priority", IconTextButtonWidth(FontAwesomeIcon.Plus, "Add to Priority")); } if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) { @@ -286,13 +325,14 @@ internal sealed class AlliedSocietyJournalComponent int num = Math.Min(Math.Min(dailyLimit, remainingAllowances), availableQuests.Count); using (ImRaii.Disabled(remainingAllowances == 0)) { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Plus, num switch + string text = num switch { 1 => "Add 1 Quest (Optimal)", 2 => "Add 2 Quests (Optimal)", 3 => "Add 3 Quests (Optimal)", _ => (num != remainingAllowances) ? $"Add {num} (Optimal)" : $"Add {num} (Today's Remaining)", - })) + }; + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Plus, text, IconTextButtonWidth(FontAwesomeIcon.Plus, text))) { AddQuestsToPriority(alliedSociety, availableQuests.Take(num).ToList()); } @@ -302,7 +342,8 @@ internal sealed class AlliedSocietyJournalComponent DrawRecommendedButtonTooltip(num, remainingAllowances, dailyLimit, alliedSociety, availableQuests.Count); } ImGui.SameLine(); - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.ListOl, $"Add All {availableQuests.Count} Available")) + string text2 = $"Add All {availableQuests.Count} Available"; + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.ListOl, text2, IconTextButtonWidth(FontAwesomeIcon.ListOl, text2))) { AddQuestsToPriority(alliedSociety, availableQuests); } @@ -317,7 +358,7 @@ internal sealed class AlliedSocietyJournalComponent ImGui.BeginTooltip(); if (remainingAllowances == 0) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed)) + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.StatusLocked)) { ImU8String text = new ImU8String(0, 1); text.AppendFormatted(SeIconChar.Cross.ToIconString()); @@ -325,16 +366,15 @@ internal sealed class AlliedSocietyJournalComponent ImGui.SameLine(); ImGui.TextUnformatted("No daily allowances remaining"); } - Vector4 col = ImGuiColors.DalamudGrey3; ImU8String text2 = new ImU8String(44, 1); text2.AppendLiteral("You've used all "); text2.AppendFormatted(12); text2.AppendLiteral(" shared allowances for today"); - ImGui.TextColored(in col, text2); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, text2); } else if (questsToAddCount == remainingAllowances && questsToAddCount < availableCount) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedGreen)) + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.StatusComplete)) { ImU8String text3 = new ImU8String(0, 1); text3.AppendFormatted(SeIconChar.QuestSync.ToIconString()); @@ -347,20 +387,19 @@ internal sealed class AlliedSocietyJournalComponent text4.AppendFormatted((questsToAddCount == 1) ? "quest" : "quests"); ImGui.TextUnformatted(text4); } - Vector4 col = ImGuiColors.DalamudGrey3; ImU8String text5 = new ImU8String(44, 2); text5.AppendLiteral("You can complete "); text5.AppendFormatted(remainingAllowances); text5.AppendLiteral(" more allied society "); text5.AppendFormatted((remainingAllowances == 1) ? "quest" : "quests"); text5.AppendLiteral(" today"); - ImGui.TextColored(in col, text5); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, text5); ImGui.Spacing(); - ImGui.TextColored(ImGuiColors.DalamudGrey3, "Prioritises highest rank quests first"); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, "Prioritises highest rank quests first"); } else if (questsToAddCount == dailyLimit) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedGreen)) + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.StatusComplete)) { ImU8String text6 = new ImU8String(0, 1); text6.AppendFormatted(SeIconChar.QuestSync.ToIconString()); @@ -372,20 +411,19 @@ internal sealed class AlliedSocietyJournalComponent text7.AppendLiteral(" quests"); ImGui.TextUnformatted(text7); } - Vector4 col = ImGuiColors.DalamudGrey3; ImU8String text8 = new ImU8String(51, 2); text8.AppendLiteral("This will use "); text8.AppendFormatted(dailyLimit); text8.AppendLiteral(" of your "); text8.AppendFormatted(remainingAllowances); text8.AppendLiteral(" remaining shared allowances"); - ImGui.TextColored(in col, text8); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, text8); ImGui.Spacing(); - ImGui.TextColored(ImGuiColors.DalamudGrey3, "Prioritises highest rank quests first"); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, "Prioritises highest rank quests first"); } else if (questsToAddCount == availableCount) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedGreen)) + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.StatusComplete)) { ImU8String text9 = new ImU8String(0, 1); text9.AppendFormatted(SeIconChar.QuestSync.ToIconString()); @@ -400,20 +438,19 @@ internal sealed class AlliedSocietyJournalComponent text10.AppendFormatted((questsToAddCount == 1) ? "quest" : "quests"); ImGui.TextUnformatted(text10); } - Vector4 col = ImGuiColors.DalamudGrey3; ImU8String text11 = new ImU8String(37, 2); text11.AppendLiteral("Uses "); text11.AppendFormatted(questsToAddCount); text11.AppendLiteral(" of "); text11.AppendFormatted(remainingAllowances); text11.AppendLiteral(" shared allowances remaining"); - ImGui.TextColored(in col, text11); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, text11); ImGui.Spacing(); - ImGui.TextColored(ImGuiColors.DalamudGrey3, "Prioritises highest rank quests first"); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, "Prioritises highest rank quests first"); } else { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudYellow)) + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.StatusActive)) { ImU8String text12 = new ImU8String(0, 1); text12.AppendFormatted(SeIconChar.BoxedLetterQ.ToIconString()); @@ -428,16 +465,15 @@ internal sealed class AlliedSocietyJournalComponent text13.AppendFormatted((questsToAddCount == 1) ? "quest" : "quests"); ImGui.TextUnformatted(text13); } - Vector4 col = ImGuiColors.DalamudGrey3; ImU8String text14 = new ImU8String(55, 2); text14.AppendLiteral("Limited by available quests ("); text14.AppendFormatted(availableCount); text14.AppendLiteral(") and shared allowances ("); text14.AppendFormatted(remainingAllowances); text14.AppendLiteral(")"); - ImGui.TextColored(in col, text14); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, text14); ImGui.Spacing(); - ImGui.TextColored(ImGuiColors.DalamudGrey3, "Prioritises highest rank quests first"); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, "Prioritises highest rank quests first"); } ImGui.EndTooltip(); } @@ -447,7 +483,7 @@ internal sealed class AlliedSocietyJournalComponent ImGui.BeginTooltip(); if (availableCount > remainingAllowances) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudOrange)) + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.StatusActive)) { ImU8String text = new ImU8String(0, 1); text.AppendFormatted(SeIconChar.Cross.ToIconString()); @@ -469,11 +505,11 @@ internal sealed class AlliedSocietyJournalComponent text3.AppendLiteral(" remaining."); ImGui.TextUnformatted(text3); ImGui.Spacing(); - ImGui.TextColored(ImGuiColors.DalamudGrey3, "The excess quests won't be completable until tomorrow."); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, "The excess quests won't be completable until tomorrow."); } else if (availableCount > dailyLimit) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudOrange)) + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.StatusActive)) { ImU8String text4 = new ImU8String(0, 1); text4.AppendFormatted(SeIconChar.Cross.ToIconString()); @@ -493,17 +529,16 @@ internal sealed class AlliedSocietyJournalComponent text6.AppendLiteral(" quests per society."); ImGui.TextUnformatted(text6); ImGui.Spacing(); - Vector4 col = ImGuiColors.ParsedGreen; ImU8String text7 = new ImU8String(37, 1); text7.AppendLiteral("You have "); text7.AppendFormatted(remainingAllowances); text7.AppendLiteral(" shared allowances remaining"); - ImGui.TextColored(in col, text7); - ImGui.TextColored(ImGuiColors.DalamudGrey3, "You may want to save allowances for other societies."); + ImGui.TextColored(in UiThemeUtils.StatusComplete, text7); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, "You may want to save allowances for other societies."); } else { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedGreen)) + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.StatusComplete)) { ImU8String text8 = new ImU8String(0, 1); text8.AppendFormatted(SeIconChar.QuestSync.ToIconString()); @@ -519,28 +554,28 @@ internal sealed class AlliedSocietyJournalComponent ImGui.TextUnformatted(text9); } ImGui.Spacing(); - Vector4 col = ImGuiColors.DalamudGrey3; ImU8String text10 = new ImU8String(27, 2); text10.AppendLiteral("Uses "); text10.AppendFormatted(availableCount); text10.AppendLiteral(" of "); text10.AppendFormatted(remainingAllowances); text10.AppendLiteral(" shared allowances"); - ImGui.TextColored(in col, text10); - ImGui.TextColored(ImGuiColors.DalamudGrey3, "All can be completed today"); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, text10); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, "All can be completed today"); } ImGui.EndTooltip(); } private void DrawStandardAddButton(EAlliedSociety alliedSociety, List availableQuests, int remainingAllowances) { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Plus, availableQuests.Count switch + string text = availableQuests.Count switch { 1 => "Add 1 Quest", 2 => "Add 2 Quests", 3 => "Add 3 Quests", _ => $"Add All {availableQuests.Count} Quests", - })) + }; + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Plus, text, IconTextButtonWidth(FontAwesomeIcon.Plus, text))) { AddQuestsToPriority(alliedSociety, availableQuests); } @@ -549,50 +584,50 @@ internal sealed class AlliedSocietyJournalComponent return; } ImGui.BeginTooltip(); - ImU8String text = new ImU8String(18, 3); - text.AppendLiteral("Add "); - text.AppendFormatted(availableQuests.Count); - text.AppendLiteral(" "); - text.AppendFormatted(alliedSociety); - text.AppendLiteral(" "); - text.AppendFormatted((availableQuests.Count == 1) ? "quest" : "quests"); - text.AppendLiteral(" to priority"); - ImGui.TextUnformatted(text); + ImU8String text2 = new ImU8String(18, 3); + text2.AppendLiteral("Add "); + text2.AppendFormatted(availableQuests.Count); + text2.AppendLiteral(" "); + text2.AppendFormatted(alliedSociety); + text2.AppendLiteral(" "); + text2.AppendFormatted((availableQuests.Count == 1) ? "quest" : "quests"); + text2.AppendLiteral(" to priority"); + ImGui.TextUnformatted(text2); ImGui.Spacing(); if (availableQuests.Count <= remainingAllowances) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedGreen)) + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.StatusComplete)) { - ImU8String text2 = new ImU8String(0, 1); - text2.AppendFormatted(SeIconChar.QuestSync.ToIconString()); - ImGui.Text(text2); + ImU8String text3 = new ImU8String(0, 1); + text3.AppendFormatted(SeIconChar.QuestSync.ToIconString()); + ImGui.Text(text3); ImGui.SameLine(); - ImU8String text3 = new ImU8String(17, 3); - text3.AppendLiteral("Uses "); - text3.AppendFormatted(availableQuests.Count); - text3.AppendLiteral(" of "); - text3.AppendFormatted(remainingAllowances); - text3.AppendLiteral(" shared "); - text3.AppendFormatted((remainingAllowances == 1) ? "allowance" : "allowances"); - ImGui.TextUnformatted(text3); + ImU8String text4 = new ImU8String(17, 3); + text4.AppendLiteral("Uses "); + text4.AppendFormatted(availableQuests.Count); + text4.AppendLiteral(" of "); + text4.AppendFormatted(remainingAllowances); + text4.AppendLiteral(" shared "); + text4.AppendFormatted((remainingAllowances == 1) ? "allowance" : "allowances"); + ImGui.TextUnformatted(text4); } - ImGui.TextColored(ImGuiColors.DalamudGrey3, "All can be completed today"); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, "All can be completed today"); } else { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudOrange)) + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.StatusActive)) { - ImU8String text4 = new ImU8String(0, 1); - text4.AppendFormatted(SeIconChar.Cross.ToIconString()); - ImGui.Text(text4); + ImU8String text5 = new ImU8String(0, 1); + text5.AppendFormatted(SeIconChar.Cross.ToIconString()); + ImGui.Text(text5); ImGui.SameLine(); - ImU8String text5 = new ImU8String(31, 1); - text5.AppendLiteral("Exceeds remaining allowances ("); - text5.AppendFormatted(remainingAllowances); - text5.AppendLiteral(")"); - ImGui.TextUnformatted(text5); + ImU8String text6 = new ImU8String(31, 1); + text6.AppendLiteral("Exceeds remaining allowances ("); + text6.AppendFormatted(remainingAllowances); + text6.AppendLiteral(")"); + ImGui.TextUnformatted(text6); } - ImGui.TextColored(ImGuiColors.DalamudGrey3, "Some quests won't be completable until tomorrow"); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, "Some quests won't be completable until tomorrow"); } ImGui.EndTooltip(); } @@ -620,10 +655,16 @@ internal sealed class AlliedSocietyJournalComponent var (color, icon, value) = _uiUtils.GetQuestStyle(questInfo.QuestId); if (!_questRegistry.TryGetQuest(questInfo.QuestId, out Quest quest) || quest.Root.Disabled) { - color = ImGuiColors.DalamudGrey; + color = UiThemeUtils.StatusUnobtainable; } string text = $"{questInfo.Name} ({value}) [{questInfo.QuestId}]"; - if (_uiUtils.ChecklistItem(text, color, icon)) + float x; + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + x = ImGui.CalcTextSize(icon.ToIconString()).X; + } + float maxWidth = ImGui.GetContentRegionAvail().X - x - ImGui.GetStyle().ItemSpacing.X; + if (_uiUtils.ChecklistItem(UiThemeUtils.TruncateToWidth(text, maxWidth), color, icon)) { _questTooltipComponent.Draw(questInfo); } diff --git a/Questionable/Questionable.Windows.JournalComponents/AttunementJournalComponent.cs b/Questionable/Questionable.Windows.JournalComponents/AttunementJournalComponent.cs new file mode 100644 index 0000000..9cca85b --- /dev/null +++ b/Questionable/Questionable.Windows.JournalComponents/AttunementJournalComponent.cs @@ -0,0 +1,1054 @@ +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Globalization; +using System.Linq; +using System.Numerics; +using Dalamud.Bindings.ImGui; +using Dalamud.Interface; +using Dalamud.Interface.Utility.Raii; +using Dalamud.Plugin; +using Dalamud.Plugin.Services; +using Lumina.Excel; +using Lumina.Excel.Sheets; +using Microsoft.Extensions.Logging; +using Questionable.Controller; +using Questionable.Controller.Steps; +using Questionable.Controller.Steps.Common; +using Questionable.Controller.Steps.Interactions; +using Questionable.Controller.Steps.Movement; +using Questionable.Data; +using Questionable.Functions; +using Questionable.Model; +using Questionable.Model.Questing; +using Questionable.Navigation; +using Questionable.Windows.QuestComponents; +using SmartNav; +using SmartNav.Data; +using SmartNav.Model; +using SmartNav.Model.Converter; + +namespace Questionable.Windows.JournalComponents; + +internal sealed class AttunementJournalComponent +{ + private sealed record AetheryteEntry(EAetheryteLocation Location, string Name, ushort TerritoryId); + + private sealed record CityGroup(string CityName, ImmutableList Shards); + + private sealed record ZoneCurrentGroup(ushort TerritoryId, string ZoneName, ImmutableList Currents); + + private sealed record CurrentEntry(uint AetherCurrentId, bool IsQuestGated, uint QuestId, string QuestName); + + private sealed record ExpansionGroup(string ExpansionName, ImmutableList Items, byte SortOrder = 0); + + private enum AttuneRowKind : byte + { + Header, + AetheryteLeaf, + CurrentLeaf + } + + private enum BatchKind : byte + { + None, + AethernetCity, + CurrentZone + } + + private sealed class FlatRow + { + public AttuneRowKind Kind { get; init; } + + public int Depth { get; init; } + + public string Key { get; init; } = string.Empty; + + public string Label { get; init; } = string.Empty; + + public string CountText { get; init; } = string.Empty; + + public bool CountComplete { get; init; } + + public bool CountEmpty { get; init; } + + public BatchKind Batch { get; init; } + + public CityGroup? City { get; init; } + + public ZoneCurrentGroup? Zone { get; init; } + + public AetheryteEntry? Aetheryte { get; init; } + + public bool IsAethernet { get; init; } + + public CurrentEntry? Current { get; init; } + } + + private readonly AetheryteData _aetheryteData; + + private readonly AetherCurrentData _aetherCurrentData; + + private readonly AetheryteFunctions _aetheryteFunctions; + + private readonly GameFunctions _gameFunctions; + + private readonly TerritoryData _territoryData; + + private readonly NavRouter _navRouter; + + private readonly PlayerNavStateBuilder _playerNavStateBuilder; + + private readonly RouteInstructionBuilder _instructionBuilder; + + private readonly SmartNavTaskMapper _taskMapper; + + private readonly MovementController _movementController; + + private readonly AttunementController _attunementController; + + private readonly QuestController _questController; + + private readonly FateController _fateController; + + private readonly SeasonalDutyController _seasonalDutyController; + + private readonly CustomDeliveryController _customDeliveryController; + + private readonly IClientState _clientState; + + private readonly IObjectTable _objectTable; + + private readonly UiUtils _uiUtils; + + private readonly QuestTooltipComponent _questTooltipComponent; + + private readonly QuestData _questData; + + private readonly IDataManager _dataManager; + + private readonly IDalamudPluginInterface _pluginInterface; + + private readonly ILogger _logger; + + private static readonly Dictionary FirmamentPlaceNameIds = new Dictionary + { + { + EAetheryteLocation.FirmamentMendicantsCourt, + 3436u + }, + { + EAetheryteLocation.FirmamentMattock, + 3473u + }, + { + EAetheryteLocation.FirmamentNewNest, + 3475u + }, + { + EAetheryteLocation.FirmanentSaintRoellesDais, + 3474u + }, + { + EAetheryteLocation.FirmamentFeatherfall, + 3525u + }, + { + EAetheryteLocation.FirmamentHoarfrostHall, + 3528u + }, + { + EAetheryteLocation.FirmamentWesternRisensongQuarter, + 3646u + }, + { + EAetheryteLocation.FirmamentEasternRisensongQuarter, + 3645u + } + }; + + private ImmutableList> _aetherytesByExpansion = ImmutableList.Create(default(ReadOnlySpan>)); + + private ImmutableList _aethernetByCity = ImmutableList.Create(default(ReadOnlySpan)); + + private ImmutableList> _currentsByExpansion = ImmutableList.Create(default(ReadOnlySpan>)); + + private int _aetheryteUnlocked; + + private int _aetheryteTotal; + + private int _aethernetUnlocked; + + private int _aethernetTotal; + + private int _currentUnlocked; + + private int _currentTotal; + + private Dictionary _aetheryteUnlockCache = new Dictionary(); + + private Dictionary _currentUnlockCache = new Dictionary(); + + private Dictionary _aetheryteExpansionUnlockedCounts = new Dictionary(); + + private Dictionary _aethernetCityUnlockedCounts = new Dictionary(); + + private Dictionary _currentZoneUnlockedCounts = new Dictionary(); + + private long _lastStatusRefresh; + + private const long StatusRefreshIntervalMs = 3000L; + + private string _searchText = string.Empty; + + private bool _showUnattunedOnly; + + private List _flatRows = new List(); + + private readonly HashSet _expandedGroups = new HashSet(); + + private readonly List<(string Name, ushort TerritoryId, Vector3 Position, ITask AttuneTask)> _pendingBatchTargets = new List<(string, ushort, Vector3, ITask)>(); + + private string? _batchName; + + private const string SectionAetherytes = "Aetherytes"; + + private const string SectionAethernet = "Aethernet Shards"; + + private const string SectionCurrents = "Aether Currents"; + + private static readonly int CountPadWidth = 9999.ToString(CultureInfo.CurrentCulture).Length; + + public Action? SelectTabAction { get; set; } + + public QuestChainComponent? QuestChainComponent { get; set; } + + public AttunementJournalComponent(AetheryteData aetheryteData, AetherCurrentData aetherCurrentData, AetheryteFunctions aetheryteFunctions, GameFunctions gameFunctions, TerritoryData territoryData, NavRouter navRouter, PlayerNavStateBuilder playerNavStateBuilder, RouteInstructionBuilder instructionBuilder, SmartNavTaskMapper taskMapper, MovementController movementController, AttunementController attunementController, QuestController questController, FateController fateController, SeasonalDutyController seasonalDutyController, CustomDeliveryController customDeliveryController, UiUtils uiUtils, QuestTooltipComponent questTooltipComponent, QuestData questData, IClientState clientState, IObjectTable objectTable, IDataManager dataManager, IDalamudPluginInterface pluginInterface, ILogger logger) + { + _aetheryteData = aetheryteData; + _aetherCurrentData = aetherCurrentData; + _aetheryteFunctions = aetheryteFunctions; + _gameFunctions = gameFunctions; + _territoryData = territoryData; + _navRouter = navRouter; + _playerNavStateBuilder = playerNavStateBuilder; + _instructionBuilder = instructionBuilder; + _taskMapper = taskMapper; + _movementController = movementController; + _attunementController = attunementController; + _questController = questController; + _fateController = fateController; + _seasonalDutyController = seasonalDutyController; + _customDeliveryController = customDeliveryController; + _uiUtils = uiUtils; + _questTooltipComponent = questTooltipComponent; + _questData = questData; + _clientState = clientState; + _objectTable = objectTable; + _dataManager = dataManager; + _pluginInterface = pluginInterface; + _logger = logger; + InitializeData(); + } + + private void InitializeData() + { + ExcelSheet aetheryteSheet = _dataManager.GetExcelSheet(); + ExcelSheet territorySheet = _dataManager.GetExcelSheet(); + ExcelSheet questSheet = _dataManager.GetExcelSheet(); + List list = new List(); + List list2 = new List(); + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + foreach (EAetheryteLocation key2 in _aetheryteData.Locations.Keys) + { + ushort valueOrDefault = _aetheryteData.TerritoryIds.GetValueOrDefault(key2); + Lumina.Excel.Sheets.Aetheryte? rowOrDefault = aetheryteSheet.GetRowOrDefault((uint)key2); + if (!rowOrDefault.HasValue) + { + uint value; + string name = ((!FirmamentPlaceNameIds.TryGetValue(key2, out value)) ? key2.ToString() : (excelSheet.GetRowOrDefault(value)?.Name.ToString() ?? key2.ToString())); + bool num = _aetheryteData.AethernetGroups.ContainsKey(key2) && !AetheryteConverter.IsLargeAetheryte(key2); + AetheryteEntry item = new AetheryteEntry(key2, name, valueOrDefault); + if (num) + { + list2.Add(item); + } + else + { + list.Add(item); + } + } + else if (AetheryteConverter.IsLargeAetheryte(key2)) + { + string name = rowOrDefault.Value.PlaceName.ValueNullable?.Name.ToString() ?? key2.ToString(); + list.Add(new AetheryteEntry(key2, name, valueOrDefault)); + } + else + { + string name = rowOrDefault.Value.AethernetName.ValueNullable?.Name.ToString() ?? key2.ToString(); + list2.Add(new AetheryteEntry(key2, name, valueOrDefault)); + } + } + _aetherytesByExpansion = (from g in list.GroupBy(delegate(AetheryteEntry a) + { + ExVersion? exVersion = territorySheet.GetRowOrDefault(a.TerritoryId)?.ExVersion.ValueNullable; + return (Name: exVersion?.Name.ToString() ?? "A Realm Reborn", SortOrder: (byte)(exVersion?.RowId ?? 0)); + }) + orderby g.Key.SortOrder + select new ExpansionGroup(g.Key.Name, g.OrderBy((AetheryteEntry a) => a.Name).ToImmutableList(), g.Key.SortOrder)).ToImmutableList(); + _aetheryteTotal = _aetherytesByExpansion.Sum((ExpansionGroup g) => g.Items.Count); + _aethernetByCity = (from g in (from a in list2 + group a by _aetheryteData.AethernetGroups.GetValueOrDefault(a.Location) into g + where g.Key != 0 + select g).Select(delegate(IGrouping g) + { + ushort groupId = g.Key; + string text = (from kv in _aetheryteData.AethernetGroups + where kv.Value == groupId && AetheryteConverter.IsLargeAetheryte(kv.Key) + select aetheryteSheet.GetRowOrDefault((uint)kv.Key)?.PlaceName.ValueNullable?.Name.ToString()).FirstOrDefault(); + if (string.IsNullOrEmpty(text)) + { + ushort territoryId = g.First().TerritoryId; + text = territorySheet.GetRowOrDefault(territoryId)?.PlaceName.ValueNullable?.Name.ToString() ?? $"Group {groupId}"; + } + return new CityGroup(text, g.OrderBy((AetheryteEntry a) => a.Name).ToImmutableList()); + }) + orderby g.CityName + select g).ToImmutableList(); + _aethernetTotal = _aethernetByCity.Sum((CityGroup g) => g.Shards.Count); + _currentsByExpansion = (from x in _aetherCurrentData.AllCurrentsByTerritory.Select>, (ushort, string, string, byte, ImmutableList)>(delegate(KeyValuePair> kv) + { + ushort key = kv.Key; + TerritoryType? rowOrDefault2 = territorySheet.GetRowOrDefault(key); + string item2 = rowOrDefault2?.PlaceName.ValueNullable?.Name.ToString() ?? key.ToString(CultureInfo.InvariantCulture); + ExVersion? exVersion = rowOrDefault2?.ExVersion.ValueNullable; + byte item3 = (byte)(exVersion?.RowId ?? 0); + string item4 = exVersion?.Name.ToString() ?? "A Realm Reborn"; + ImmutableList item5 = kv.Value.Select(delegate(AetherCurrentInfo info) + { + string questName = string.Empty; + if (info.IsQuestGated && info.QuestId != 0) + { + questName = questSheet.GetRowOrDefault(info.QuestId)?.Name.ToString() ?? string.Empty; + } + return new CurrentEntry(info.AetherCurrentId, info.IsQuestGated, info.QuestId, questName); + }).ToImmutableList(); + return (territoryId: key, zoneName: item2, expansionName: item4, sortOrder: item3, currents: item5); + }) + where x.sortOrder > 0 + group x by (expansionName: x.expansionName, sortOrder: x.sortOrder) into g + orderby g.Key.sortOrder + select new ExpansionGroup(g.Key.expansionName, (from x in g + orderby x.zoneName + select new ZoneCurrentGroup(x.territoryId, x.zoneName, x.currents)).ToImmutableList(), g.Key.sortOrder)).ToImmutableList(); + _currentTotal = _currentsByExpansion.Sum((ExpansionGroup g) => g.Items.Sum((ZoneCurrentGroup z) => z.Currents.Count)); + } + + public void RefreshCounts() + { + Dictionary dictionary = new Dictionary(); + Dictionary dictionary2 = new Dictionary(); + int num = 0; + foreach (ExpansionGroup item in _aetherytesByExpansion) + { + int num2 = 0; + foreach (AetheryteEntry item2 in item.Items) + { + bool flag = _aetheryteFunctions.IsAetheryteUnlocked(item2.Location); + dictionary[item2.Location] = flag; + if (flag) + { + num2++; + } + } + dictionary2[item.SortOrder] = num2; + num += num2; + } + Dictionary dictionary3 = new Dictionary(); + int num3 = 0; + foreach (CityGroup item3 in _aethernetByCity) + { + int num4 = 0; + foreach (AetheryteEntry shard in item3.Shards) + { + bool flag2 = _aetheryteFunctions.IsAetheryteUnlocked(shard.Location); + dictionary[shard.Location] = flag2; + if (flag2) + { + num4++; + } + } + dictionary3[item3.CityName] = num4; + num3 += num4; + } + Dictionary dictionary4 = new Dictionary(); + Dictionary dictionary5 = new Dictionary(); + int num5 = 0; + foreach (ExpansionGroup item4 in _currentsByExpansion) + { + foreach (ZoneCurrentGroup item5 in item4.Items) + { + int num6 = 0; + foreach (CurrentEntry current in item5.Currents) + { + bool flag3 = GameFunctions.IsAetherCurrentUnlocked(current.AetherCurrentId); + dictionary4[current.AetherCurrentId] = flag3; + if (flag3) + { + num6++; + } + } + dictionary5[item5.TerritoryId] = num6; + num5 += num6; + } + } + _aetheryteUnlockCache = dictionary; + _currentUnlockCache = dictionary4; + _aetheryteExpansionUnlockedCounts = dictionary2; + _aethernetCityUnlockedCounts = dictionary3; + _currentZoneUnlockedCounts = dictionary5; + _aetheryteUnlocked = num; + _aethernetUnlocked = num3; + _currentUnlocked = num5; + _lastStatusRefresh = Environment.TickCount64; + RebuildFlatRows(); + } + + public void ClearCounts(int type, int code) + { + _aetheryteUnlocked = (_aethernetUnlocked = (_currentUnlocked = 0)); + _aetheryteUnlockCache.Clear(); + _currentUnlockCache.Clear(); + _aetheryteExpansionUnlockedCounts.Clear(); + _aethernetCityUnlockedCounts.Clear(); + _currentZoneUnlockedCounts.Clear(); + RebuildFlatRows(); + } + + public void UpdateFilter() + { + } + + public void DrawAttunement() + { + if (Environment.TickCount64 - _lastStatusRefresh > 3000) + { + RefreshCounts(); + } + if (!_attunementController.IsRunning && _pendingBatchTargets.Count > 0) + { + if (_attunementController.CompletedSuccessfully) + { + (string, ushort, Vector3, ITask) tuple = PopNearestTarget(); + string text = _batchName; + if (text == null) + { + (text, _, _, _) = tuple; + } + StartAttunement(text, tuple.Item2, tuple.Item3, tuple.Item4); + } + else + { + _pendingBatchTargets.Clear(); + _batchName = null; + } + } + if (_attunementController.IsRunning || _pendingBatchTargets.Count > 0) + { + string text2 = ((_pendingBatchTargets.Count > 0) ? $"Navigating to {_attunementController.CurrentTargetName}... ({_pendingBatchTargets.Count} remaining)" : ("Navigating to " + _attunementController.CurrentTargetName + "...")); + float x; + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + x = ImGui.CalcTextSize(FontAwesomeIcon.Stop.ToIconString()).X; + } + float num = x + 6f + ImGui.CalcTextSize("Stop").X + ImGui.GetStyle().FramePadding.X * 2f + ImGui.GetStyle().ItemSpacing.X; + ImGui.TextColored(in UiThemeUtils.StatusActive, UiThemeUtils.TruncateToWidth(text2, ImGui.GetContentRegionAvail().X - num)); + ImGui.SameLine(); + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Stop, "Stop")) + { + StopAll("User cancelled (attunement UI)"); + } + } + float x2 = ImGui.GetStyle().ItemSpacing.X; + float num2 = ImGui.GetFrameHeight() + ImGui.CalcTextSize("Unattuned only").X + 3f * x2; + if (UiThemeUtils.SearchInput("##AttunementSearch", ref _searchText, 0f - num2)) + { + RebuildFlatRows(); + } + ImGui.SameLine(); + if (UiThemeUtils.WrappedCheckbox("Unattuned only", ref _showUnattunedOnly)) + { + RebuildFlatRows(); + } + ImGui.Separator(); + DrawTrackerTable(); + } + + private unsafe void DrawTrackerTable() + { + if (_flatRows.Count == 0) + { + UiThemeUtils.EmptyState(FontAwesomeIcon.Wifi, "No attunements match your search."); + return; + } + float x; + using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) + { + x = ImGui.CalcTextSize(FontAwesomeIcon.Check.ToIconString()).X; + } + float fontGlobalScale = ImGui.GetIO().FontGlobalScale; + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable("Attunement", 2, ImGuiTableFlags.NoSavedSettings | ImGuiTableFlags.ScrollY); + if (!tableDisposable) + { + return; + } + ImGui.TableSetupColumn("Name", ImGuiTableColumnFlags.NoHide); + ImGui.TableSetupColumn("Unlocked", ImGuiTableColumnFlags.WidthFixed, 120f * fontGlobalScale); + ImGui.TableHeadersRow(); + float textLineHeightWithSpacing = ImGui.GetTextLineHeightWithSpacing(); + bool flag = false; + ImGuiListClipper* intPtr = ImGuiNative.ImGuiListClipper(); + ImGuiNative.Begin(intPtr, _flatRows.Count, textLineHeightWithSpacing); + ImGuiListClipperPtr imGuiListClipperPtr = intPtr; + try + { + while (imGuiListClipperPtr.Step()) + { + for (int i = imGuiListClipperPtr.DisplayStart; i < imGuiListClipperPtr.DisplayEnd; i++) + { + if (DrawFlatRow(_flatRows[i], x)) + { + flag = true; + } + } + } + } + finally + { + imGuiListClipperPtr.Destroy(); + } + if (flag) + { + RebuildFlatRows(); + } + } + + private bool DrawFlatRow(FlatRow row, float statusIconSpacing) + { + ImGui.TableNextRow(); + ImGui.TableNextColumn(); + if (row.Depth > 0) + { + ImGui.SetCursorPosX(ImGui.GetCursorPosX() + ImGui.GetStyle().IndentSpacing * (float)row.Depth); + } + if (row.Kind == AttuneRowKind.AetheryteLeaf) + { + DrawAetheryteLeaf(row, statusIconSpacing); + return false; + } + if (row.Kind == AttuneRowKind.CurrentLeaf) + { + DrawCurrentLeaf(row, statusIconSpacing); + return false; + } + bool flag = _expandedGroups.Contains(row.Key); + UiThemeUtils.DrawTrackerGroupCaret(_pluginInterface.UiBuilder.IconFontFixedWidthHandle, flag); + ImGui.SameLine(); + bool result = false; + ImU8String label = new ImU8String(2, 2); + label.AppendFormatted(row.Label); + label.AppendLiteral("##"); + label.AppendFormatted(row.Key); + if (ImGui.Selectable(label)) + { + if (flag) + { + _expandedGroups.Remove(row.Key); + } + else + { + _expandedGroups.Add(row.Key); + } + result = true; + } + DrawHeaderBatchPopup(row); + ImGui.TableNextColumn(); + UiThemeUtils.DrawTrackerCount(row.CountText, row.CountComplete, row.CountEmpty); + return result; + } + + private void DrawHeaderBatchPopup(FlatRow row) + { + if (row.Batch == BatchKind.AethernetCity) + { + CityGroup city = row.City; + if ((object)city != null) + { + int count = city.Shards.Count; + if (_aethernetCityUnlockedCounts.GetValueOrDefault(city.CityName) >= count || IsAnyControllerRunning()) + { + return; + } + string text = "##AttuneAllAethernet_" + city.CityName; + if (ImGui.IsItemClicked(ImGuiMouseButton.Right)) + { + ImGui.OpenPopup(text); + } + ImRaii.PopupDisposable popupDisposable = ImRaii.Popup(text); + try + { + if (!popupDisposable.Success) + { + return; + } + ImU8String label = new ImU8String(14, 1); + label.AppendLiteral("Attune all in "); + label.AppendFormatted(city.CityName); + if (ImGui.MenuItem(label)) + { + IEnumerable<(string, ushort, Vector3, ITask)> targets = from s in city.Shards + where !_aetheryteUnlockCache.GetValueOrDefault(s.Location) + select ((string Name, ushort TerritoryId, Vector3, ITask))(Name: s.Name, TerritoryId: s.TerritoryId, _aetheryteData.Locations[s.Location], new AethernetShard.Attune(s.Location)); + StartBatchAttunement("All shards in " + city.CityName, targets); + } + return; + } + finally + { + popupDisposable.Dispose(); + } + } + } + if (row.Batch != BatchKind.CurrentZone) + { + return; + } + ZoneCurrentGroup zone = row.Zone; + if ((object)zone == null) + { + return; + } + List list = zone.Currents.Where((CurrentEntry c) => !c.IsQuestGated && !_currentUnlockCache.GetValueOrDefault(c.AetherCurrentId)).ToList(); + if (list.Count <= 0 || IsAnyControllerRunning()) + { + return; + } + string text2 = $"##AttuneAllCurrents_{zone.TerritoryId}"; + if (ImGui.IsItemClicked(ImGuiMouseButton.Right)) + { + ImGui.OpenPopup(text2); + } + ImRaii.PopupDisposable popupDisposable2 = ImRaii.Popup(text2); + try + { + if (!popupDisposable2.Success) + { + return; + } + ImU8String label2 = new ImU8String(14, 1); + label2.AppendLiteral("Attune all in "); + label2.AppendFormatted(zone.ZoneName); + if (ImGui.MenuItem(label2)) + { + IEnumerable<(string, ushort, Vector3, ITask)> targets2 = from c in list + select (current: c, pos: _aetherCurrentData.GetOverworldPosition(c.AetherCurrentId)) into x + where x.pos != null + select ((string, ushort TerritoryId, Vector3 Position, ITask))("Aether Current", TerritoryId: x.pos.TerritoryId, Position: x.pos.Position, new Questionable.Controller.Steps.Interactions.AetherCurrent.Attune(x.pos.DataId, x.current.AetherCurrentId)); + StartBatchAttunement("All currents in " + zone.ZoneName, targets2); + } + } + finally + { + popupDisposable2.Dispose(); + } + } + + private void DrawAetheryteLeaf(FlatRow row, float statusIconSpacing) + { + AetheryteEntry aetheryte = row.Aetheryte; + bool valueOrDefault = _aetheryteUnlockCache.GetValueOrDefault(aetheryte.Location); + ImU8String label = new ImU8String(2, 2); + label.AppendFormatted(aetheryte.Name); + label.AppendLiteral("##"); + label.AppendFormatted(row.Key); + ImGui.Selectable(label); + if (!valueOrDefault && !IsAnyControllerRunning()) + { + string text = (row.IsAethernet ? $"##AttuneAethernet_{aetheryte.Location}" : $"##AttuneAetheryte_{aetheryte.Location}"); + if (ImGui.IsItemClicked(ImGuiMouseButton.Right)) + { + ImGui.OpenPopup(text); + } + ImRaii.PopupDisposable popupDisposable = ImRaii.Popup(text); + try + { + if (popupDisposable.Success) + { + ImU8String label2 = new ImU8String(10, 1); + label2.AppendLiteral("Attune to "); + label2.AppendFormatted(aetheryte.Name); + if (ImGui.MenuItem(label2)) + { + Vector3 position = _aetheryteData.Locations[aetheryte.Location]; + ITask task2; + if (!row.IsAethernet) + { + ITask task = new Questionable.Controller.Steps.Interactions.Aetheryte.Attune(aetheryte.Location); + task2 = task; + } + else + { + ITask task = new AethernetShard.Attune(aetheryte.Location); + task2 = task; + } + ITask attuneTask = task2; + StartAttunement(aetheryte.Name, aetheryte.TerritoryId, position, attuneTask); + } + } + } + finally + { + popupDisposable.Dispose(); + } + } + ImGui.TableNextColumn(); + DrawStatusGlyph(valueOrDefault, statusIconSpacing); + } + + private void DrawCurrentLeaf(FlatRow row, float statusIconSpacing) + { + CurrentEntry current = row.Current; + bool valueOrDefault = _currentUnlockCache.GetValueOrDefault(current.AetherCurrentId); + if (current.IsQuestGated) + { + string value = ((!string.IsNullOrEmpty(current.QuestName)) ? ("Quest: " + current.QuestName) : "Quest Current"); + ImU8String label = new ImU8String(2, 2); + label.AppendFormatted(value); + label.AppendLiteral("##"); + label.AppendFormatted(row.Key); + ImGui.Selectable(label); + if (current.QuestId != 0 && ImGui.IsItemHovered() && _questData.TryGetQuestInfo(QuestId.FromRowId(current.QuestId), out IQuestInfo questInfo)) + { + _questTooltipComponent.Draw(questInfo); + } + string text = $"##CurrentQuest_{current.AetherCurrentId}"; + if (ImGui.IsItemClicked(ImGuiMouseButton.Right)) + { + ImGui.OpenPopup(text); + } + ImRaii.PopupDisposable popupDisposable = ImRaii.Popup(text); + try + { + if (popupDisposable.Success && ImGui.MenuItem("View Quest") && current.QuestId != 0) + { + QuestChainComponent?.SelectQuest(QuestId.FromRowId(current.QuestId)); + SelectTabAction?.Invoke("Quest Chain"); + } + } + finally + { + popupDisposable.Dispose(); + } + } + else + { + ImU8String label2 = new ImU8String(16, 1); + label2.AppendLiteral("Aether Current##"); + label2.AppendFormatted(row.Key); + ImGui.Selectable(label2); + if (!valueOrDefault) + { + AetherCurrentPosition overworldPosition = _aetherCurrentData.GetOverworldPosition(current.AetherCurrentId); + string text2 = $"##AttuneCurrent_{current.AetherCurrentId}"; + if (ImGui.IsItemClicked(ImGuiMouseButton.Right)) + { + ImGui.OpenPopup(text2); + } + using ImRaii.PopupDisposable popupDisposable2 = ImRaii.Popup(text2); + if ((bool)popupDisposable2) + { + bool flag = overworldPosition != null && !IsAnyControllerRunning(); + using (ImRaii.Disabled(!flag)) + { + if (ImGui.MenuItem("Attune") && overworldPosition != null) + { + StartAttunement("Aether Current", overworldPosition.TerritoryId, overworldPosition.Position, new Questionable.Controller.Steps.Interactions.AetherCurrent.Attune(overworldPosition.DataId, current.AetherCurrentId)); + } + } + if (!flag && overworldPosition == null && ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + { + ImGui.SetTooltip("Position unknown"); + } + } + } + } + ImGui.TableNextColumn(); + DrawStatusGlyph(valueOrDefault, statusIconSpacing); + } + + private void DrawStatusGlyph(bool unlocked, float statusIconSpacing) + { + float num = ImGui.GetColumnWidth() / 2f - statusIconSpacing; + ImGui.SetCursorPosX(ImGui.GetCursorPosX() + num); + _uiUtils.ChecklistItem(string.Empty, unlocked ? UiThemeUtils.StatusComplete : UiThemeUtils.StatusLocked, unlocked ? FontAwesomeIcon.Check : FontAwesomeIcon.Times); + } + + private void RebuildFlatRows() + { + List list = new List(); + if (_aetherytesByExpansion.Any((ExpansionGroup exp) => exp.Items.Any(AetherytePasses))) + { + list.Add(HeaderRow(0, "Aetherytes", "Aetherytes", _aetheryteUnlocked, _aetheryteTotal)); + if (_expandedGroups.Contains("Aetherytes")) + { + foreach (ExpansionGroup item in _aetherytesByExpansion) + { + List list2 = item.Items.Where(AetherytePasses).ToList(); + if (list2.Count == 0) + { + continue; + } + string text = $"AetheryteExp_{item.SortOrder}"; + int valueOrDefault = _aetheryteExpansionUnlockedCounts.GetValueOrDefault(item.SortOrder); + list.Add(HeaderRow(1, text, item.ExpansionName, valueOrDefault, item.Items.Count)); + if (!_expandedGroups.Contains(text)) + { + continue; + } + foreach (AetheryteEntry item2 in list2) + { + list.Add(AetheryteLeafRow(2, item2, isAethernet: false)); + } + } + } + } + if (_aethernetByCity.Any((CityGroup city) => city.Shards.Any(AetherytePasses))) + { + list.Add(HeaderRow(0, "Aethernet Shards", "Aethernet Shards", _aethernetUnlocked, _aethernetTotal)); + if (_expandedGroups.Contains("Aethernet Shards")) + { + foreach (CityGroup item3 in _aethernetByCity) + { + List list3 = item3.Shards.Where(AetherytePasses).ToList(); + if (list3.Count == 0) + { + continue; + } + string text2 = "AethernetCity_" + item3.CityName; + int valueOrDefault2 = _aethernetCityUnlockedCounts.GetValueOrDefault(item3.CityName); + list.Add(HeaderRow(1, text2, item3.CityName, valueOrDefault2, item3.Shards.Count, BatchKind.AethernetCity, item3)); + if (!_expandedGroups.Contains(text2)) + { + continue; + } + foreach (AetheryteEntry item4 in list3) + { + list.Add(AetheryteLeafRow(2, item4, isAethernet: true)); + } + } + } + } + if (_currentsByExpansion.Any((ExpansionGroup exp) => exp.Items.Any(ZoneHasContent))) + { + list.Add(HeaderRow(0, "Aether Currents", "Aether Currents", _currentUnlocked, _currentTotal)); + if (_expandedGroups.Contains("Aether Currents")) + { + foreach (ExpansionGroup item5 in _currentsByExpansion) + { + List list4 = item5.Items.Where(ZoneHasContent).ToList(); + if (list4.Count == 0) + { + continue; + } + string text3 = $"CurrentsExp_{item5.SortOrder}"; + int unlocked = item5.Items.Sum((ZoneCurrentGroup z) => _currentZoneUnlockedCounts.GetValueOrDefault(z.TerritoryId)); + int total = item5.Items.Sum((ZoneCurrentGroup z) => z.Currents.Count); + list.Add(HeaderRow(1, text3, item5.ExpansionName, unlocked, total)); + if (!_expandedGroups.Contains(text3)) + { + continue; + } + foreach (ZoneCurrentGroup item6 in list4) + { + string text4 = $"CurrentZone_{item6.TerritoryId}"; + int valueOrDefault3 = _currentZoneUnlockedCounts.GetValueOrDefault(item6.TerritoryId); + list.Add(HeaderRow(2, text4, item6.ZoneName, valueOrDefault3, item6.Currents.Count, BatchKind.CurrentZone, null, item6)); + if (!_expandedGroups.Contains(text4)) + { + continue; + } + foreach (CurrentEntry item7 in item6.Currents.Where(CurrentPasses)) + { + list.Add(CurrentLeafRow(3, item7)); + } + } + } + } + } + _flatRows = list; + } + + private bool AetherytePasses(AetheryteEntry entry) + { + if (!string.IsNullOrEmpty(_searchText) && !entry.Name.Contains(_searchText, StringComparison.OrdinalIgnoreCase)) + { + return false; + } + if (_showUnattunedOnly && _aetheryteUnlockCache.GetValueOrDefault(entry.Location)) + { + return false; + } + return true; + } + + private bool CurrentPasses(CurrentEntry entry) + { + if (_showUnattunedOnly) + { + return !_currentUnlockCache.GetValueOrDefault(entry.AetherCurrentId); + } + return true; + } + + private bool ZoneHasContent(ZoneCurrentGroup zone) + { + if (!string.IsNullOrEmpty(_searchText) && !zone.ZoneName.Contains(_searchText, StringComparison.OrdinalIgnoreCase)) + { + return false; + } + return zone.Currents.Any(CurrentPasses); + } + + private static FlatRow HeaderRow(int depth, string key, string label, int unlocked, int total, BatchKind batch = BatchKind.None, CityGroup? city = null, ZoneCurrentGroup? zone = null) + { + return new FlatRow + { + Kind = AttuneRowKind.Header, + Depth = depth, + Key = key, + Label = label, + CountText = FormatCount(unlocked, total), + CountComplete = (unlocked == total && total > 0), + CountEmpty = (total == 0), + Batch = batch, + City = city, + Zone = zone + }; + } + + private static FlatRow AetheryteLeafRow(int depth, AetheryteEntry entry, bool isAethernet) + { + return new FlatRow + { + Kind = AttuneRowKind.AetheryteLeaf, + Depth = depth, + Key = (isAethernet ? "Shard_" : "Aeth_") + entry.Location, + Label = entry.Name, + Aetheryte = entry, + IsAethernet = isAethernet + }; + } + + private static FlatRow CurrentLeafRow(int depth, CurrentEntry entry) + { + return new FlatRow + { + Kind = AttuneRowKind.CurrentLeaf, + Depth = depth, + Key = "Cur_" + entry.AetherCurrentId, + Current = entry + }; + } + + private static string FormatCount(int unlocked, int total) + { + if (total != 0) + { + return unlocked.ToString(CultureInfo.CurrentCulture).PadLeft(CountPadWidth) + " / " + total.ToString(CultureInfo.CurrentCulture).PadLeft(CountPadWidth); + } + return "-".PadLeft(CountPadWidth) + " / " + "-".PadLeft(CountPadWidth); + } + + private void StopAll(string reason) + { + _pendingBatchTargets.Clear(); + _batchName = null; + _movementController.Stop(); + _questController.Stop(reason); + _fateController.Stop(reason); + _seasonalDutyController.Stop(reason); + _customDeliveryController.Stop(reason); + _attunementController.Stop(reason); + } + + public void ClearBatchQueue() + { + _pendingBatchTargets.Clear(); + _batchName = null; + } + + private bool IsAnyControllerRunning() + { + if (!_questController.IsRunning && !_fateController.IsRunning && !_seasonalDutyController.IsRunning && !_customDeliveryController.IsRunning) + { + return _attunementController.IsRunning; + } + return true; + } + + private void StartBatchAttunement(string batchName, IEnumerable<(string Name, ushort TerritoryId, Vector3 Position, ITask AttuneTask)> targets) + { + _pendingBatchTargets.Clear(); + _pendingBatchTargets.AddRange(targets); + if (_pendingBatchTargets.Count != 0) + { + _batchName = batchName; + (string, ushort, Vector3, ITask) tuple = PopNearestTarget(); + StartAttunement(batchName, tuple.Item2, tuple.Item3, tuple.Item4); + } + } + + private (string Name, ushort TerritoryId, Vector3 Position, ITask AttuneTask) PopNearestTarget() + { + Vector3 value = _objectTable[0]?.Position ?? Vector3.Zero; + int index = 0; + float num = float.MaxValue; + for (int i = 0; i < _pendingBatchTargets.Count; i++) + { + float num2 = Vector3.DistanceSquared(value, _pendingBatchTargets[i].Position); + if (num2 < num) + { + num = num2; + index = i; + } + } + (string Name, ushort TerritoryId, Vector3 Position, ITask AttuneTask) result = _pendingBatchTargets[index]; + _pendingBatchTargets.RemoveAt(index); + return result; + } + + private void StartAttunement(string targetName, ushort territoryId, Vector3 position, ITask attuneTask) + { + PlayerNavState playerNavState = _playerNavStateBuilder.Build(); + if (playerNavState == null) + { + _logger.LogWarning("Cannot build PlayerNavState for attunement routing"); + return; + } + RouteResult routeResult = _navRouter.FindRoute(playerNavState, territoryId, position); + List list = new List(); + if (routeResult.Segments.Count > 0) + { + list.AddRange(_taskMapper.MapInstructions(_instructionBuilder.Build(routeResult, territoryId))); + } + else if (_clientState.TerritoryType != territoryId) + { + _logger.LogWarning("No route found to territory {TerritoryId} for {Target}, aborting", territoryId, targetName); + return; + } + list.Add(new MoveTask(territoryId, position, null, MountRequired: false, DismountRequired: false, 3f)); + list.Add(new Questionable.Controller.Steps.Common.Mount.UnmountTask()); + list.Add(attuneTask); + _attunementController.Start(targetName, list); + } +} diff --git a/Questionable/Questionable.Windows.JournalComponents/CustomDeliveryJournalComponent.cs b/Questionable/Questionable.Windows.JournalComponents/CustomDeliveryJournalComponent.cs new file mode 100644 index 0000000..7790a23 --- /dev/null +++ b/Questionable/Questionable.Windows.JournalComponents/CustomDeliveryJournalComponent.cs @@ -0,0 +1,757 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using Dalamud.Bindings.ImGui; +using Dalamud.Interface; +using Dalamud.Interface.Utility.Raii; +using Dalamud.Plugin; +using Dalamud.Plugin.Services; +using LLib.GameData; +using LLib.Inventory; +using LLib.Shop; +using Lumina.Excel; +using Lumina.Excel.Sheets; +using Microsoft.Extensions.Logging; +using Questionable.Controller; +using Questionable.Controller.CustomDelivery; +using Questionable.Data; +using Questionable.Model; +using Questionable.Model.Questing; +using Questionable.Windows.QuestComponents; + +namespace Questionable.Windows.JournalComponents; + +internal sealed class CustomDeliveryJournalComponent +{ + private const int WeeklyAllowanceLimit = 12; + + private const int DeliveriesPerWeek = 6; + + private static readonly string[] SlotLabels = new string[3] { "Craft", "Gather", "Fish" }; + + private static readonly EDeliverySlot[] Slots = new EDeliverySlot[3] + { + EDeliverySlot.Craft, + EDeliverySlot.Gather, + EDeliverySlot.Fish + }; + + private static readonly string[] JobModeNames = new string[2] { "Preferred", "Current Job" }; + + private static readonly string[] CrafterNames = new string[8] { "Carpenter", "Blacksmith", "Armorer", "Goldsmith", "Leatherworker", "Weaver", "Alchemist", "Culinarian" }; + + private static readonly EClassJob[] CrafterJobs = new EClassJob[8] + { + EClassJob.Carpenter, + EClassJob.Blacksmith, + EClassJob.Armorer, + EClassJob.Goldsmith, + EClassJob.Leatherworker, + EClassJob.Weaver, + EClassJob.Alchemist, + EClassJob.Culinarian + }; + + private static readonly string[] GathererNames = new string[2] { "Miner", "Botanist" }; + + private static readonly EClassJob[] GathererJobs = new EClassJob[2] + { + EClassJob.Miner, + EClassJob.Botanist + }; + + private static readonly string[] OvercapModeNames = new string[3] { "Ignore", "Cap", "Block" }; + + private static readonly string[] CollectabilityTierNames = new string[3] { "High", "Mid", "Low" }; + + private readonly QuestController _questController; + + private readonly CustomDeliveryController _customDeliveryController; + + private readonly FateController _fateController; + + private readonly SeasonalDutyController _seasonalDutyController; + + private readonly AttunementController _attunementController; + + private readonly DeliveryPlannerService _plannerService; + + private readonly CustomDeliveryNpcData _customDeliveryNpcData; + + private readonly SatisfactionSupplyHelper _supplyHelper; + + private readonly DeliveryRewardCalculator _rewardCalculator; + + private readonly QuestRegistry _questRegistry; + + private readonly QuestTooltipComponent _questTooltip; + + private readonly QuestData _questData; + + private readonly Configuration _configuration; + + private readonly IDalamudPluginInterface _pluginInterface; + + private readonly IDataManager _dataManager; + + private readonly ILogger _logger; + + private List>? _npcsByExpansion; + + private readonly Dictionary _npcHeaderStates = new Dictionary(); + + public CustomDeliveryJournalComponent(QuestController questController, CustomDeliveryController customDeliveryController, FateController fateController, SeasonalDutyController seasonalDutyController, AttunementController attunementController, DeliveryPlannerService plannerService, CustomDeliveryNpcData customDeliveryNpcData, SatisfactionSupplyHelper supplyHelper, DeliveryRewardCalculator rewardCalculator, QuestRegistry questRegistry, QuestTooltipComponent questTooltip, QuestData questData, Configuration configuration, IDalamudPluginInterface pluginInterface, IDataManager dataManager, ILogger logger) + { + _questController = questController; + _customDeliveryController = customDeliveryController; + _fateController = fateController; + _seasonalDutyController = seasonalDutyController; + _attunementController = attunementController; + _plannerService = plannerService; + _customDeliveryNpcData = customDeliveryNpcData; + _supplyHelper = supplyHelper; + _rewardCalculator = rewardCalculator; + _questRegistry = questRegistry; + _questTooltip = questTooltip; + _questData = questData; + _configuration = configuration; + _pluginInterface = pluginInterface; + _dataManager = dataManager; + _logger = logger; + } + + public void DrawCustomDeliveries() + { + DrawWeeklyAllowanceBar(); + List deliveryQueue = _configuration.CustomDeliveries.DeliveryQueue; + if (deliveryQueue.Count > 0) + { + ImGui.SameLine(); + using (ImRaii.Disabled(_customDeliveryController.IsRunning || _questController.IsRunning || _fateController.IsRunning || _seasonalDutyController.IsRunning || _attunementController.IsRunning)) + { + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Play, $"Start Queue ({deliveryQueue.Count})")) + { + _questController.Stop("Custom delivery queue start"); + _fateController.Stop("Custom delivery queue start"); + _seasonalDutyController.Stop("Custom delivery queue start"); + _attunementController.Stop("Custom delivery queue start"); + _customDeliveryController.StartQueue(); + } + } + } + ImGui.Separator(); + ImGui.Spacing(); + DrawBonusNpcCallout(); + DrawJobSelectionSettings(); + ImGui.Spacing(); + List> list = _npcsByExpansion ?? (_npcsByExpansion = (from x in _customDeliveryNpcData.AllNpcs + group x by x.Expansion into g + orderby (int)g.Key + select g).ToList()); + if (list.Count == 0) + { + ImGui.TextColored(in UiThemeUtils.MutedTextColor, "No custom delivery NPCs found."); + return; + } + foreach (IGrouping item in list) + { + UiThemeUtils.SubSectionHeader(GetExpansionName(item.Key)); + ImGui.Spacing(); + foreach (CustomDeliveryNpc item2 in item.OrderBy((CustomDeliveryNpc x) => x.NpcRowId)) + { + DrawNpcSection(item2, item2.NpcIndex); + } + ImGui.Spacing(); + } + } + + private static void DrawWeeklyAllowanceBar() + { + int remainingAllowances = SatisfactionSupplyActions.GetRemainingAllowances(); + int num = 12 - remainingAllowances; + TimeSpan item = CalculateWeeklyReset().TimeUntilReset; + JournalUiShared.DrawAllowanceHeader(num, 12, "weekly allowances", item, $"Shared across all custom delivery NPCs\nUsed this week: {num}"); + } + + private void DrawBonusNpcCallout() + { + byte b = SatisfactionSupplyActions.GetBonusGuaranteeRowId(); + if (b == byte.MaxValue) + { + int timestamp = (int)DateTimeOffset.UtcNow.ToUnixTimeSeconds(); + int num = _supplyHelper.CalculateBonusGuaranteeIndex(timestamp); + if (num < 0 || !_dataManager.GetExcelSheet().TryGetRow((uint)num, out var row)) + { + return; + } + b = (byte)row.RowId; + } + if (_customDeliveryNpcData.TryGetByRowId(b, out CustomDeliveryNpc npc)) + { + ImGui.TextColored(in UiThemeUtils.DimTextColor, "Bonus this week: "); + ImGui.SameLine(0f, 4f); + ImGui.TextColored(in UiThemeUtils.AccentColor, npc.Name); + ImGui.Spacing(); + } + } + + private void DrawJobSelectionSettings() + { + Configuration.CustomDeliveryConfiguration customDeliveries = _configuration.CustomDeliveries; + UiThemeUtils.SectionHeader("Job Preferences"); + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + ImGui.SetNextItemWidth(MathF.Min(ImGui.GetContentRegionAvail().X * 0.4f, 150f)); + int currentItem = (int)customDeliveries.CraftJobMode; + if (UiThemeUtils.ThemedCombo("Crafter", ref currentItem, JobModeNames, JobModeNames.Length)) + { + customDeliveries.CraftJobMode = (Configuration.CustomDeliveryConfiguration.EJobSelectionMode)currentItem; + _pluginInterface.SavePluginConfig(_configuration); + } + ImGui.SameLine(); + ImGui.SetNextItemWidth(MathF.Min(ImGui.GetContentRegionAvail().X, 150f)); + int currentItem2 = Array.IndexOf(CrafterJobs, customDeliveries.PreferredCraftJob); + if (currentItem2 < 0) + { + currentItem2 = 0; + } + if (UiThemeUtils.ThemedCombo("##CrafterJob", ref currentItem2, CrafterNames, CrafterNames.Length)) + { + customDeliveries.PreferredCraftJob = CrafterJobs[currentItem2]; + _pluginInterface.SavePluginConfig(_configuration); + } + ImGui.SetNextItemWidth(MathF.Min(ImGui.GetContentRegionAvail().X * 0.4f, 150f)); + int currentItem3 = (int)customDeliveries.GatherJobMode; + if (UiThemeUtils.ThemedCombo("Gatherer", ref currentItem3, JobModeNames, JobModeNames.Length)) + { + customDeliveries.GatherJobMode = (Configuration.CustomDeliveryConfiguration.EJobSelectionMode)currentItem3; + _pluginInterface.SavePluginConfig(_configuration); + } + ImGui.SameLine(); + ImGui.SetNextItemWidth(MathF.Min(ImGui.GetContentRegionAvail().X, 150f)); + int currentItem4 = Array.IndexOf(GathererJobs, customDeliveries.PreferredGatherJob); + if (currentItem4 < 0) + { + currentItem4 = 0; + } + if (UiThemeUtils.ThemedCombo("##GathererJob", ref currentItem4, GathererNames, GathererNames.Length)) + { + customDeliveries.PreferredGatherJob = GathererJobs[currentItem4]; + _pluginInterface.SavePluginConfig(_configuration); + } + ImGui.SetNextItemWidth(MathF.Min(ImGui.GetContentRegionAvail().X * 0.4f, 150f)); + int currentItem5 = (int)customDeliveries.ScripOvercapMode; + if (UiThemeUtils.ThemedCombo("Scrip Overcap", ref currentItem5, OvercapModeNames, OvercapModeNames.Length)) + { + customDeliveries.ScripOvercapMode = (Configuration.CustomDeliveryConfiguration.EScripOvercapMode)currentItem5; + _pluginInterface.SavePluginConfig(_configuration); + } + if (ImGui.IsItemHovered()) + { + ImGui.SetTooltip("Ignore: no protection\nCap: reduce deliveries to avoid overcap\nBlock: skip NPC entirely if any delivery would overcap"); + } + ImGui.SetNextItemWidth(MathF.Min(ImGui.GetContentRegionAvail().X * 0.4f, 150f)); + int currentItem6 = (int)customDeliveries.CollectabilityTier; + if (UiThemeUtils.ThemedCombo("Collectability", ref currentItem6, CollectabilityTierNames, CollectabilityTierNames.Length)) + { + customDeliveries.CollectabilityTier = (Configuration.CustomDeliveryConfiguration.ECollectabilityTier)currentItem6; + _pluginInterface.SavePluginConfig(_configuration); + } + if (ImGui.IsItemHovered()) + { + ImGui.SetTooltip("High: best rewards, requires good gear\nMid: moderate rewards, easier to hit\nLow: minimal rewards, lowest threshold"); + } + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + } + + private void DrawNpcSection(CustomDeliveryNpc npc, int npcIndex) + { + bool num = _plannerService.IsNpcUnlocked(npcIndex); + SatisfactionSupplyActions.NpcState npcState = SatisfactionSupplyActions.GetNpcState(npcIndex); + if (!num) + { + string value = (HasAnyDoHDoLAtLevel(npc.Level) ? "Locked" : "No DoH/DoL at level"); + bool open = false; + UiThemeUtils.ThemedAccordion($"CustomDeliveryNpc{npcIndex}", npc.Name, $"Lv. {npc.Level} - {value}", ref open, enabled: false); + if (npc.UnlockQuestId.Value == 0) + { + return; + } + QuestId questId = npc.UnlockQuestId; + bool disabled = _questController.ManualPriorityQuests.Any((Questionable.Model.Quest q) => q.Id.Equals(questId)); + ImGui.SameLine(); + using (ImRaii.Disabled(disabled)) + { + ImU8String id = new ImU8String(6, 1); + id.AppendLiteral("unlock"); + id.AppendFormatted(npcIndex); + using (ImRaii.PushId(id)) + { + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Unlock, "Unlock")) + { + _questController.AddQuestPriority(questId); + } + } + } + if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled) && _questData.TryGetQuestInfo(questId, out IQuestInfo questInfo)) + { + _questTooltip.Draw(questInfo); + } + return; + } + string text = $"CustomDeliveryNpc{npcIndex}"; + bool open2 = _npcHeaderStates.GetValueOrDefault(text, defaultValue: false); + UiThemeUtils.ThemedAccordion(text, npc.Name, null, ref open2); + _npcHeaderStates[text] = open2; + if (!open2) + { + return; + } + using (ImRaii.PushIndent()) + { + using (ImRaii.PushId(npcIndex)) + { + DrawSatisfactionProgress(npcIndex, npcState); + int num2 = 6 - npcState.UsedDeliveries; + ImU8String text2 = new ImU8String(38, 3); + text2.AppendLiteral("Deliveries this week: "); + text2.AppendFormatted(npcState.UsedDeliveries); + text2.AppendLiteral(" / "); + text2.AppendFormatted(6); + text2.AppendLiteral(" ("); + text2.AppendFormatted(num2); + text2.AppendLiteral(" remaining)"); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text2); + ImGui.Spacing(); + DrawAchievementGoal(npcIndex, npcState); + DrawPredictedItems(npcIndex, npcState, num2); + } + } + } + + private void DrawSatisfactionProgress(int npcIndex, SatisfactionSupplyActions.NpcState npcState) + { + int num = 0; + if (_dataManager.GetExcelSheet().TryGetRow((uint)(npcIndex + 1), out var row) && npcState.Rank > 0 && npcState.Rank < row.SatisfactionNpcParams.Count) + { + num = row.SatisfactionNpcParams[npcState.Rank].SatisfactionRequired; + } + if (num <= 0) + { + ImU8String text = new ImU8String(5, 1); + text.AppendLiteral("Rank "); + text.AppendFormatted(npcState.Rank); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text); + } + else + { + float fraction = (float)npcState.SatisfactionCurrent / (float)num; + ImU8String text2 = new ImU8String(9, 3); + text2.AppendLiteral("Rank "); + text2.AppendFormatted(npcState.Rank); + text2.AppendLiteral(" - "); + text2.AppendFormatted(npcState.SatisfactionCurrent); + text2.AppendLiteral("/"); + text2.AppendFormatted(num); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text2); + using (UiThemeUtils.PushProgressBarColors()) + { + Vector2 sizeArg = new Vector2(-1E-45f, 0f); + ImU8String overlay = new ImU8String(1, 2); + overlay.AppendFormatted(npcState.SatisfactionCurrent); + overlay.AppendLiteral("/"); + overlay.AppendFormatted(num); + ImGui.ProgressBar(fraction, sizeArg, overlay); + } + } + ImGui.Spacing(); + } + + private void DrawAchievementGoal(int npcIndex, SatisfactionSupplyActions.NpcState npcState) + { + ushort key = (ushort)(npcIndex + 1); + Dictionary achievementGoals = _configuration.CustomDeliveries.AchievementGoals; + achievementGoals.TryGetValue(key, out var value); + uint usedDeliveries = (uint)npcState.UsedDeliveries; + if (value != null && value.Active) + { + bool num = usedDeliveries >= value.TargetCount; + Vector4 col = (num ? UiThemeUtils.StatusComplete : UiThemeUtils.StatusActive); + ImU8String text = new ImU8String(9, 2); + text.AppendLiteral("Goal: "); + text.AppendFormatted(usedDeliveries); + text.AppendLiteral(" / "); + text.AppendFormatted(value.TargetCount); + ImGui.TextColored(in col, text); + if (num) + { + ImGui.SameLine(); + ImGui.TextColored(in UiThemeUtils.StatusComplete, "(met)"); + } + ImGui.SameLine(); + if (UiThemeUtils.IconButton(FontAwesomeIcon.Edit, ImGui.GetFrameHeight())) + { + ImU8String strId = new ImU8String(8, 1); + strId.AppendLiteral("goalEdit"); + strId.AppendFormatted(npcIndex); + ImGui.OpenPopup(strId); + } + if (ImGui.IsItemHovered()) + { + ImGui.SetTooltip("Edit goal"); + } + ImGui.SameLine(); + if (UiThemeUtils.IconButton(FontAwesomeIcon.Times, ImGui.GetFrameHeight())) + { + achievementGoals.Remove(key); + _pluginInterface.SavePluginConfig(_configuration); + } + if (ImGui.IsItemHovered()) + { + ImGui.SetTooltip("Remove goal"); + } + } + else + { + if (UiThemeUtils.IconButton(FontAwesomeIcon.Bullseye, ImGui.GetFrameHeight())) + { + ImU8String strId2 = new ImU8String(8, 1); + strId2.AppendLiteral("goalEdit"); + strId2.AppendFormatted(npcIndex); + ImGui.OpenPopup(strId2); + } + if (ImGui.IsItemHovered()) + { + ImGui.SetTooltip("Set weekly delivery goal"); + } + } + ImU8String strId3 = new ImU8String(8, 1); + strId3.AppendLiteral("goalEdit"); + strId3.AppendFormatted(npcIndex); + if (ImGui.BeginPopup(strId3)) + { + int data = (int)(value?.TargetCount ?? 6); + ImGui.SetNextItemWidth(100f); + if (ImGui.InputInt("Target", ref data, 1, 1) && data >= 1 && data <= 12) + { + if (value == null) + { + value = new Configuration.AchievementGoal(); + } + value.TargetCount = (uint)data; + value.Active = true; + achievementGoals[key] = value; + _pluginInterface.SavePluginConfig(_configuration); + } + if (value != null) + { + bool value2 = value.Active; + if (UiThemeUtils.WrappedCheckbox("Active", ref value2)) + { + value.Active = value2; + _pluginInterface.SavePluginConfig(_configuration); + } + } + ImGui.EndPopup(); + } + ImGui.Spacing(); + } + + private void DrawPredictedItems(int npcIndex, SatisfactionSupplyActions.NpcState npcState, int deliveriesRemaining) + { + uint supplySeed = SatisfactionSupplyActions.GetSupplySeed(); + if (supplySeed == 0) + { + ImGui.TextColored(in UiThemeUtils.MutedTextColor, "Log in to see predicted items."); + } + else + { + if (!_dataManager.GetExcelSheet().TryGetRow((uint)(npcIndex + 1), out var row) || npcState.Rank <= 0 || npcState.Rank >= row.SatisfactionNpcParams.Count) + { + return; + } + uint supplyIndex = (uint)row.SatisfactionNpcParams[npcState.Rank].SupplyIndex; + uint[] array = _supplyHelper.CalculateRequestedItems(supplyIndex, supplySeed); + SubrowExcelSheet subrowExcelSheet = _dataManager.GetSubrowExcelSheet(); + int remainingAllowances = SatisfactionSupplyActions.GetRemainingAllowances(); + int num; + if (_customDeliveryController.State != CustomDeliveryController.EDeliveryState.Idle) + { + DeliveryPlan? currentPlan = _customDeliveryController.CurrentPlan; + num = ((currentPlan != null && currentPlan.NpcIndex == npcIndex) ? 1 : 0); + } + else + { + num = 0; + } + bool flag = (byte)num != 0; + for (int i = 0; i < 3; i++) + { + using (ImRaii.PushId(i)) + { + EDeliverySlot eDeliverySlot = Slots[i]; + string value = SlotLabels[i]; + uint num2 = array[i]; + if (num2 == uint.MaxValue) + { + ImU8String text = new ImU8String(4, 1); + text.AppendLiteral("["); + text.AppendFormatted(value); + text.AppendLiteral("] -"); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, text); + continue; + } + if (!subrowExcelSheet.TryGetSubrow(supplyIndex, (ushort)num2, out var subrow)) + { + ImU8String text2 = new ImU8String(4, 1); + text2.AppendLiteral("["); + text2.AppendFormatted(value); + text2.AppendLiteral("] ?"); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, text2); + continue; + } + uint rowId = subrow.Item.RowId; + string itemName = GetItemName(rowId); + ImU8String text3 = new ImU8String(2, 1); + text3.AppendLiteral("["); + text3.AppendFormatted(value); + text3.AppendLiteral("]"); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text3); + ImGui.SameLine(0f, 6f); + float x; + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + x = ImGui.CalcTextSize(FontAwesomeIcon.Play.ToIconString()).X; + } + float reservedRightWidth = x + 6f + ImGui.CalcTextSize("Start").X + ImGui.GetStyle().FramePadding.X * 2f + ImGui.GetStyle().ItemSpacing.X; + UiThemeUtils.RowLabel(itemName, reservedRightWidth); + bool flag2 = !flag && remainingAllowances > 0 && deliveriesRemaining > 0 && _customDeliveryController.State == CustomDeliveryController.EDeliveryState.Idle && !_questController.IsRunning && !_fateController.IsRunning && !_seasonalDutyController.IsRunning && !_attunementController.IsRunning; + ImGui.SameLine(); + using (ImRaii.Disabled(!flag2)) + { + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Play, "Start")) + { + _logger.LogInformation("Starting custom delivery for NPC {NpcIndex} slot {Slot}", npcIndex, eDeliverySlot); + _questController.Stop("Custom delivery start"); + _fateController.Stop("Custom delivery start"); + _seasonalDutyController.Stop("Custom delivery start"); + _attunementController.Stop("Custom delivery start"); + _customDeliveryController.Start(npcIndex, eDeliverySlot); + } + } + if (!flag2 && ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + { + if (_questController.IsRunning) + { + ImGui.SetTooltip("Quest automation is running. Stop it first."); + } + else if (_fateController.IsRunning) + { + ImGui.SetTooltip("FATE farming is running. Stop it first."); + } + else if (_seasonalDutyController.IsRunning) + { + ImGui.SetTooltip("Seasonal duty farming is running. Stop it first."); + } + else if (_attunementController.IsRunning) + { + ImGui.SetTooltip("Attunement is running. Stop it first."); + } + else if (flag) + { + ImGui.SetTooltip("Automation is already running for this NPC."); + } + else if (_customDeliveryController.State != CustomDeliveryController.EDeliveryState.Idle) + { + ImGui.SetTooltip("Another delivery is already in progress."); + } + else if (remainingAllowances <= 0) + { + ImGui.SetTooltip("No weekly allowances remaining."); + } + else + { + ImGui.SetTooltip("No deliveries remaining for this NPC this week."); + } + } + uint rowId2 = subrow.Reward.RowId; + bool isBonus = subrow.IsBonus; + List list = _rewardCalculator.CalculateRewards(rowId2, isBonus, _configuration.CustomDeliveries.CollectabilityTier); + if (list.Count <= 0) + { + continue; + } + string text4 = string.Join(", ", list.ConvertAll((DeliveryRewardCalculator.CurrencyReward r) => $"{r.AmountPerDelivery} {r.CurrencyName}")); + using (ImRaii.PushIndent()) + { + UiThemeUtils.WrappedTextColored(UiThemeUtils.DimTextColor, "Rewards: " + text4); + foreach (DeliveryRewardCalculator.CurrencyReward item in list) + { + if (!DeliveryRewardCalculator.WouldOvercap(item.CurrencyItemId, item.AmountPerDelivery, deliveriesRemaining)) + { + continue; + } + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.StatusActive)) + { + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + ImGui.Text(FontAwesomeIcon.ExclamationTriangle.ToIconString()); + } + ImGui.SameLine(0f, 4f); + int itemCount = InventoryHelper.GetItemCount(item.CurrencyItemId); + int value2 = item.AmountPerDelivery * deliveriesRemaining; + UiThemeUtils.WrappedText($"{item.CurrencyName} would overcap ({itemCount} + {value2})"); + } + } + } + } + } + List deliveryQueue = _configuration.CustomDeliveries.DeliveryQueue; + int num3 = deliveryQueue.IndexOf(npcIndex); + if (num3 >= 0) + { + using (ImRaii.Disabled(num3 == 0)) + { + if (UiThemeUtils.IconButton(FontAwesomeIcon.ArrowUp, ImGui.GetFrameHeight())) + { + deliveryQueue.RemoveAt(num3); + deliveryQueue.Insert(num3 - 1, npcIndex); + _pluginInterface.SavePluginConfig(_configuration); + } + } + if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + { + ImU8String tooltip = new ImU8String(19, 2); + tooltip.AppendLiteral("Queue position: "); + tooltip.AppendFormatted(num3 + 1); + tooltip.AppendLiteral(" / "); + tooltip.AppendFormatted(deliveryQueue.Count); + ImGui.SetTooltip(tooltip); + } + ImGui.SameLine(); + using (ImRaii.Disabled(num3 == deliveryQueue.Count - 1)) + { + if (UiThemeUtils.IconButton(FontAwesomeIcon.ArrowDown, ImGui.GetFrameHeight())) + { + deliveryQueue.RemoveAt(num3); + deliveryQueue.Insert(num3 + 1, npcIndex); + _pluginInterface.SavePluginConfig(_configuration); + } + } + ImGui.SameLine(); + if (UiThemeUtils.IconButton(FontAwesomeIcon.Minus, ImGui.GetFrameHeight())) + { + deliveryQueue.Remove(npcIndex); + _pluginInterface.SavePluginConfig(_configuration); + } + if (ImGui.IsItemHovered()) + { + ImGui.SetTooltip("Remove from delivery queue"); + } + } + else + { + if (UiThemeUtils.IconButton(FontAwesomeIcon.Plus, ImGui.GetFrameHeight())) + { + deliveryQueue.Add(npcIndex); + _pluginInterface.SavePluginConfig(_configuration); + } + if (ImGui.IsItemHovered()) + { + ImGui.SetTooltip("Add to delivery queue"); + } + } + if (flag) + { + ImGui.Spacing(); + DeliveryPlan currentPlan2 = _customDeliveryController.CurrentPlan; + ImGui.TextColored(in UiThemeUtils.StatusActive, _customDeliveryController.State switch + { + CustomDeliveryController.EDeliveryState.WaitingForCraft => "Waiting for craft...", + CustomDeliveryController.EDeliveryState.WaitingForGather => "Waiting for gather...", + CustomDeliveryController.EDeliveryState.WaitingForFish => "Waiting for fish...", + CustomDeliveryController.EDeliveryState.TurningIn => "Turning in...", + CustomDeliveryController.EDeliveryState.Executing => "Executing...", + CustomDeliveryController.EDeliveryState.Complete => "Complete.", + _ => "Running...", + }); + if (currentPlan2 != null) + { + string itemName2 = GetItemName(currentPlan2.ItemId); + ImU8String text5 = new ImU8String(6, 1); + text5.AppendLiteral("Item: "); + text5.AppendFormatted(itemName2); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text5); + } + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Stop, "Stop")) + { + _customDeliveryController.Stop("User requested stop"); + } + } + ImGui.Spacing(); + } + } + + private bool HasAnyDoHDoLAtLevel(ushort requiredLevel) + { + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + EClassJob[] array = new EClassJob[11] + { + EClassJob.Carpenter, + EClassJob.Blacksmith, + EClassJob.Armorer, + EClassJob.Goldsmith, + EClassJob.Leatherworker, + EClassJob.Weaver, + EClassJob.Alchemist, + EClassJob.Culinarian, + EClassJob.Miner, + EClassJob.Botanist, + EClassJob.Fisher + }; + foreach (EClassJob rowId in array) + { + if (excelSheet.TryGetRow((uint)rowId, out var row) && PlayerStateHelper.GetClassJobLevel(row.ExpArrayIndex) >= requiredLevel) + { + return true; + } + } + return false; + } + + private string GetItemName(uint itemId) + { + if (_dataManager.GetExcelSheet().TryGetRow(itemId, out var row)) + { + return row.Name.ToString(); + } + return $"Item#{itemId}"; + } + + private static (DateTime ResetTime, TimeSpan TimeUntilReset) CalculateWeeklyReset() + { + DateTime utcNow = DateTime.UtcNow; + int num = (int)(2 - utcNow.DayOfWeek + 7) % 7; + DateTime dateTime = utcNow.Date.AddDays(num).AddHours(8.0); + if (dateTime <= utcNow) + { + dateTime = dateTime.AddDays(7.0); + } + TimeSpan item = dateTime - utcNow; + return (ResetTime: dateTime.ToLocalTime(), TimeUntilReset: item); + } + + private static string GetExpansionName(EExpansionVersion expansion) + { + return expansion switch + { + EExpansionVersion.ARealmReborn => "A Realm Reborn", + EExpansionVersion.Heavensward => "Heavensward", + EExpansionVersion.Stormblood => "Stormblood", + EExpansionVersion.Shadowbringers => "Shadowbringers", + EExpansionVersion.Endwalker => "Endwalker", + EExpansionVersion.Dawntrail => "Dawntrail", + _ => expansion.ToString(), + }; + } +} diff --git a/Questionable/Questionable.Windows.JournalComponents/DutyJournalComponent.cs b/Questionable/Questionable.Windows.JournalComponents/DutyJournalComponent.cs index c3747fd..bfa0ede 100644 --- a/Questionable/Questionable.Windows.JournalComponents/DutyJournalComponent.cs +++ b/Questionable/Questionable.Windows.JournalComponents/DutyJournalComponent.cs @@ -2,10 +2,9 @@ using System; using System.Collections.Generic; using System.Globalization; using System.Linq; -using System.Numerics; +using System.Runtime.CompilerServices; using Dalamud.Bindings.ImGui; using Dalamud.Interface; -using Dalamud.Interface.Colors; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin; using Microsoft.Extensions.Logging; @@ -18,14 +17,72 @@ namespace Questionable.Windows.JournalComponents; internal sealed class DutyJournalComponent { + private enum RowType : byte + { + Category, + Duty + } + + private readonly record struct FlatRow(RowType Type, int GroupIndex, DutyInfo? Duty, string Label, DutyCounts Counts); + private sealed record DutyCategory(string Name, List Duties); private sealed record DutyCounts(int Unlocked, int Completed, int CompletionTrackable, int Total) { + public string FormattedUnlocked { get; } = FormatPair(Unlocked, Total); + + public string FormattedCompleted { get; } = FormatPair(Completed, CompletionTrackable); + + public bool IsUnlockedComplete + { + get + { + if (Unlocked == Total) + { + return Total > 0; + } + return false; + } + } + + public bool IsCompletedComplete + { + get + { + if (Completed == CompletionTrackable) + { + return CompletionTrackable > 0; + } + return false; + } + } + + private static readonly int PadWidth = 9999.ToString(CultureInfo.CurrentCulture).Length; + public DutyCounts() : this(0, 0, 0, 0) { } + + private static string FormatPair(int n, int d) + { + if (d != 0) + { + return n.ToString(CultureInfo.CurrentCulture).PadLeft(PadWidth) + " / " + d.ToString(CultureInfo.CurrentCulture).PadLeft(PadWidth); + } + return "-".PadLeft(PadWidth) + " / " + "-".PadLeft(PadWidth); + } + + [CompilerGenerated] + private DutyCounts(DutyCounts original) + { + Unlocked = original.Unlocked; + Completed = original.Completed; + CompletionTrackable = original.CompletionTrackable; + Total = original.Total; + FormattedUnlocked = original.FormattedUnlocked; + FormattedCompleted = original.FormattedCompleted; + } } private readonly DutyUnlockData _dutyUnlockData; @@ -44,6 +101,10 @@ internal sealed class DutyJournalComponent private Dictionary _categoryCounts = new Dictionary(); + private List _flatRows = new List(); + + private readonly HashSet _expandedGroups = new HashSet(); + private string _searchText = string.Empty; private bool _showLockedOnly; @@ -60,49 +121,121 @@ internal sealed class DutyJournalComponent _logger = logger; } - public void DrawDuties() + public unsafe void DrawDuties() { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Duties"); - if (!tabItemDisposable) - { - return; - } - if (ImGui.CollapsingHeader("Explanation", ImGuiTreeNodeFlags.DefaultOpen)) - { - ImGui.Text("The list below shows all duties and their unlock status."); - ImGui.BulletText("'Unlocked' shows duties you have access to."); - ImGui.BulletText("'Completed' shows duties you have finished at least once."); - ImGui.BulletText("Click on a duty to see which quest unlocks it."); - ImGui.Spacing(); - ImGui.Separator(); - ImGui.Spacing(); - } DrawFilterControls(); - if (_filteredCategories.Count > 0) + ImGui.Separator(); + if (_flatRows.Count > 0) { - using (ImRaii.TableDisposable tableDisposable = ImRaii.Table("Duties", 3, ImGuiTableFlags.NoSavedSettings)) + float x; + using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) + { + x = ImGui.CalcTextSize(FontAwesomeIcon.Check.ToIconString()).X; + } + float fontGlobalScale = ImGui.GetIO().FontGlobalScale; + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable("Duties", 3, ImGuiTableFlags.NoSavedSettings | ImGuiTableFlags.ScrollY); + if (!tableDisposable) { - if (!tableDisposable) - { - return; - } - ImGui.TableSetupColumn("Name", ImGuiTableColumnFlags.NoHide); - ImGui.TableSetupColumn("Unlocked", ImGuiTableColumnFlags.WidthFixed, 120f * ImGui.GetIO().FontGlobalScale); - ImGui.TableSetupColumn("Completed", ImGuiTableColumnFlags.WidthFixed, 120f * ImGui.GetIO().FontGlobalScale); - ImGui.TableHeadersRow(); - foreach (DutyCategory filteredCategory in _filteredCategories) - { - DrawCategory(filteredCategory); - } return; } + ImGui.TableSetupColumn("Name", ImGuiTableColumnFlags.NoHide); + ImGui.TableSetupColumn("Unlocked", ImGuiTableColumnFlags.WidthFixed, 120f * fontGlobalScale); + ImGui.TableSetupColumn("Completed", ImGuiTableColumnFlags.WidthFixed, 120f * fontGlobalScale); + ImGui.TableHeadersRow(); + float textLineHeightWithSpacing = ImGui.GetTextLineHeightWithSpacing(); + bool flag = false; + ImGuiListClipper* intPtr = ImGuiNative.ImGuiListClipper(); + ImGuiNative.Begin(intPtr, _flatRows.Count, textLineHeightWithSpacing); + ImGuiListClipperPtr imGuiListClipperPtr = intPtr; + try + { + while (imGuiListClipperPtr.Step()) + { + for (int i = imGuiListClipperPtr.DisplayStart; i < imGuiListClipperPtr.DisplayEnd; i++) + { + if (DrawFlatRow(_flatRows[i], x)) + { + flag = true; + } + } + } + } + finally + { + imGuiListClipperPtr.Destroy(); + } + if (flag) + { + RebuildFlatRows(); + } + return; } - ImGui.Text("No duties match your search."); + UiThemeUtils.EmptyState(FontAwesomeIcon.Dungeon, "No duties match your search."); + } + + private bool DrawFlatRow(FlatRow row, float statusIconSpacing) + { + ImGui.TableNextRow(); + ImGui.TableNextColumn(); + bool result = false; + if (row.Type == RowType.Duty) + { + float indentSpacing = ImGui.GetStyle().IndentSpacing; + ImGui.SetCursorPosX(ImGui.GetCursorPosX() + indentSpacing); + string text = $"Lv{row.Duty.Level} {row.Duty.Name}"; + if (row.Duty.ItemLevel > 0) + { + text += $" (i{row.Duty.ItemLevel})"; + } + ImGui.TreeNodeEx(text, ImGuiTreeNodeFlags.NoTreePushOnOpen | ImGuiTreeNodeFlags.Leaf | ImGuiTreeNodeFlags.SpanFullWidth); + if (ImGui.IsItemHovered()) + { + DrawDutyTooltip(row.Duty); + } + ImGui.TableNextColumn(); + DrawDutyStatus(row.Duty.IsUnlocked, statusIconSpacing); + ImGui.TableNextColumn(); + DrawDutyStatus(row.Duty.IsCompleted, statusIconSpacing); + } + else + { + bool flag = _expandedGroups.Contains(row.Label); + UiThemeUtils.DrawTrackerGroupCaret(_pluginInterface.UiBuilder.IconFontFixedWidthHandle, flag); + ImGui.SameLine(); + ImU8String label = new ImU8String(5, 2); + label.AppendFormatted(row.Label); + label.AppendLiteral("##grp"); + label.AppendFormatted(row.GroupIndex); + if (ImGui.Selectable(label)) + { + if (flag) + { + _expandedGroups.Remove(row.Label); + } + else + { + _expandedGroups.Add(row.Label); + } + result = true; + } + ImGui.TableNextColumn(); + UiThemeUtils.DrawTrackerCount(row.Counts.FormattedUnlocked, row.Counts.IsUnlockedComplete, row.Counts.Total == 0); + ImGui.TableNextColumn(); + UiThemeUtils.DrawTrackerCount(row.Counts.FormattedCompleted, row.Counts.IsCompletedComplete, row.Counts.CompletionTrackable == 0); + } + return result; } private void DrawFilterControls() { - if (ImGui.Checkbox("Locked Only", ref _showLockedOnly)) + float x = ImGui.GetStyle().ItemSpacing.X; + float num = 2f * ImGui.GetFrameHeight() + ImGui.CalcTextSize("Locked Only").X + ImGui.CalcTextSize("Unlocked Only").X + 5f * x; + if (UiThemeUtils.SearchInput("##DutySearch", ref _searchText, 0f - num, "Search duties...")) + { + UpdateFilter(); + } + ImGui.SameLine(); + if (UiThemeUtils.WrappedCheckbox("Locked Only", ref _showLockedOnly)) { if (_showLockedOnly) { @@ -111,7 +244,7 @@ internal sealed class DutyJournalComponent UpdateFilter(); } ImGui.SameLine(); - if (ImGui.Checkbox("Unlocked Only", ref _showUnlockedOnly)) + if (UiThemeUtils.WrappedCheckbox("Unlocked Only", ref _showUnlockedOnly)) { if (_showUnlockedOnly) { @@ -119,57 +252,6 @@ internal sealed class DutyJournalComponent } UpdateFilter(); } - ImGui.SameLine(); - ImGui.SetNextItemWidth(ImGui.GetContentRegionAvail().X); - if (ImGui.InputTextWithHint(string.Empty, "Search duties...", ref _searchText, 256)) - { - UpdateFilter(); - } - } - - private void DrawCategory(DutyCategory category) - { - DutyCounts valueOrDefault = _categoryCounts.GetValueOrDefault(category.Name, new DutyCounts()); - if (valueOrDefault.Total == 0) - { - return; - } - ImGui.TableNextRow(); - ImGui.TableNextColumn(); - bool num = ImGui.TreeNodeEx(category.Name, ImGuiTreeNodeFlags.SpanFullWidth); - ImGui.TableNextColumn(); - DrawCount(valueOrDefault.Unlocked, valueOrDefault.Total); - ImGui.TableNextColumn(); - DrawCount(valueOrDefault.Completed, valueOrDefault.CompletionTrackable); - if (!num) - { - return; - } - foreach (DutyInfo duty in category.Duties) - { - DrawDuty(duty); - } - ImGui.TreePop(); - } - - private void DrawDuty(DutyInfo duty) - { - ImGui.TableNextRow(); - ImGui.TableNextColumn(); - string text = $"Lv{duty.Level} {duty.Name}"; - if (duty.ItemLevel > 0) - { - text += $" (i{duty.ItemLevel})"; - } - ImGui.TreeNodeEx(text, ImGuiTreeNodeFlags.NoTreePushOnOpen | ImGuiTreeNodeFlags.Leaf | ImGuiTreeNodeFlags.SpanFullWidth); - if (ImGui.IsItemHovered()) - { - DrawDutyTooltip(duty); - } - ImGui.TableNextColumn(); - DrawDutyStatus(duty.IsUnlocked); - ImGui.TableNextColumn(); - DrawDutyStatus(duty.IsCompleted); } private void DrawDutyTooltip(DutyInfo duty) @@ -179,12 +261,11 @@ internal sealed class DutyJournalComponent { return; } - ImGui.TextColored(ImGuiColors.DalamudWhite, duty.Name); - Vector4 col = ImGuiColors.DalamudGrey; + ImGui.TextColored(in UiThemeUtils.PrimaryTextColor, duty.Name); ImU8String text = new ImU8String(12, 1); text.AppendLiteral("Content ID: "); text.AppendFormatted(duty.ContentFinderConditionId); - ImGui.TextColored(in col, text); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text); ImGui.Separator(); ImU8String text2 = new ImU8String(16, 1); text2.AppendLiteral("Level Required: "); @@ -204,16 +285,16 @@ internal sealed class DutyJournalComponent if (duty.IsHighEndDuty) { ImGui.SameLine(); - ImGui.TextColored(ImGuiColors.DalamudOrange, "(High-End)"); + ImGui.TextColored(in UiThemeUtils.StatusActive, "(High-End)"); } ImGui.Separator(); if (duty.IsUnlocked) { - ImGui.TextColored(ImGuiColors.ParsedGreen, "Status: Unlocked"); + ImGui.TextColored(in UiThemeUtils.StatusComplete, "Status: Unlocked"); } else { - ImGui.TextColored(ImGuiColors.DalamudRed, "Status: Locked"); + ImGui.TextColored(in UiThemeUtils.StatusLocked, "Status: Locked"); } if (duty.UnlockQuests.Count > 0) { @@ -229,64 +310,55 @@ internal sealed class DutyJournalComponent } else { - _uiUtils.ChecklistItem($"Unknown Quest ({unlockQuest})", ImGuiColors.DalamudGrey, FontAwesomeIcon.Question); + _uiUtils.ChecklistItem($"Unknown Quest ({unlockQuest})", UiThemeUtils.StatusUnobtainable, FontAwesomeIcon.Question); } } return; } } ImGui.Separator(); - ImGui.TextColored(ImGuiColors.DalamudGrey, "No unlock quest data available."); + ImGui.TextColored(in UiThemeUtils.DimTextColor, "No unlock quest data available."); } - private void DrawDutyStatus(bool? status) + private void DrawDutyStatus(bool? status, float statusIconSpacing) { - float num; - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) - { - num = ImGui.GetColumnWidth() / 2f - ImGui.CalcTextSize(FontAwesomeIcon.Check.ToIconString()).X; - } + float num = ImGui.GetColumnWidth() / 2f - statusIconSpacing; ImGui.SetCursorPosX(ImGui.GetCursorPosX() + num); if (!status.HasValue) { - _uiUtils.ChecklistItem(string.Empty, ImGuiColors.DalamudGrey, FontAwesomeIcon.Minus); + _uiUtils.ChecklistItem(string.Empty, UiThemeUtils.StatusUnobtainable, FontAwesomeIcon.Minus); } else if (status.Value) { - _uiUtils.ChecklistItem(string.Empty, ImGuiColors.ParsedGreen, FontAwesomeIcon.Check); + _uiUtils.ChecklistItem(string.Empty, UiThemeUtils.StatusComplete, FontAwesomeIcon.Check); } else { - _uiUtils.ChecklistItem(string.Empty, ImGuiColors.DalamudRed, FontAwesomeIcon.Times); + _uiUtils.ChecklistItem(string.Empty, UiThemeUtils.StatusLocked, FontAwesomeIcon.Times); } } - private static void DrawCount(int count, int total) + private void RebuildFlatRows() { - string text = 9999.ToString(CultureInfo.CurrentCulture); - ImGui.PushFont(UiBuilder.MonoFont); - if (total == 0) + List list = new List(); + foreach (DutyCategory filteredCategory in _filteredCategories) { - Vector4 col = ImGuiColors.DalamudGrey; - ImU8String text2 = new ImU8String(3, 2); - text2.AppendFormatted("-".PadLeft(text.Length)); - text2.AppendLiteral(" / "); - text2.AppendFormatted("-".PadLeft(text.Length)); - ImGui.TextColored(in col, text2); - } - else - { - string text3 = count.ToString(CultureInfo.CurrentCulture).PadLeft(text.Length) + " / " + total.ToString(CultureInfo.CurrentCulture).PadLeft(text.Length); - if (count == total) + DutyCounts valueOrDefault = _categoryCounts.GetValueOrDefault(filteredCategory.Name, new DutyCounts()); + if (valueOrDefault.Total == 0) { - ImGui.TextColored(ImGuiColors.ParsedGreen, text3); + continue; } - else + list.Add(new FlatRow(RowType.Category, 0, null, filteredCategory.Name, valueOrDefault)); + if (!_expandedGroups.Contains(filteredCategory.Name)) { - ImGui.TextUnformatted(text3); + continue; + } + foreach (DutyInfo duty in filteredCategory.Duties) + { + list.Add(new FlatRow(RowType.Duty, 0, duty, string.Empty, new DutyCounts())); } } - ImGui.PopFont(); + _flatRows = list; } public void UpdateFilter() @@ -310,6 +382,7 @@ internal sealed class DutyJournalComponent AddCategory(list, "Criterion Savage", _dutyUnlockData.GetCriterionSavageDungeons()); _filteredCategories = list.Where((DutyCategory c) => c.Duties.Count > 0).ToList(); RefreshCounts(); + RebuildFlatRows(); } private void AddCategory(List categories, string name, IEnumerable duties) @@ -352,18 +425,15 @@ internal sealed class DutyJournalComponent int count = filteredCategory.Duties.Count; _categoryCounts[filteredCategory.Name] = new DutyCounts(unlocked, completed, completionTrackable, count); } + RebuildFlatRows(); } public void ClearCounts(int type, int code) { foreach (string item in _categoryCounts.Keys.ToList()) { - _categoryCounts[item] = _categoryCounts[item]with - { - Unlocked = 0, - Completed = 0, - CompletionTrackable = 0 - }; + _categoryCounts[item] = new DutyCounts(0, 0, 0, _categoryCounts[item].Total); } + RebuildFlatRows(); } } diff --git a/Questionable/Questionable.Windows.JournalComponents/GatheringJournalComponent.cs b/Questionable/Questionable.Windows.JournalComponents/GatheringJournalComponent.cs index 7571c6c..6d5ff37 100644 --- a/Questionable/Questionable.Windows.JournalComponents/GatheringJournalComponent.cs +++ b/Questionable/Questionable.Windows.JournalComponents/GatheringJournalComponent.cs @@ -4,7 +4,6 @@ using System.Globalization; using System.Linq; using Dalamud.Bindings.ImGui; using Dalamud.Interface; -using Dalamud.Interface.Colors; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin; using Dalamud.Plugin.Services; @@ -20,6 +19,37 @@ namespace Questionable.Windows.JournalComponents; internal sealed class GatheringJournalComponent { + private enum RowType : byte + { + Expansion, + Territory, + GatheringPoint, + Item + } + + private readonly record struct GatheringCounts(string FormattedSupported, string FormattedCollected, bool IsSupportedComplete, bool IsCollectedComplete, bool IsSupportedEmpty, bool IsCollectedEmpty) + { + public static GatheringCounts Empty => new GatheringCounts("-", "-", IsSupportedComplete: false, IsCollectedComplete: false, IsSupportedEmpty: true, IsCollectedEmpty: true); + + private static readonly int PadWidth = 9999.ToString(CultureInfo.CurrentCulture).Length; + + public static GatheringCounts Create(int supported, int totalSupported, int collected, int totalCollected) + { + return new GatheringCounts(FormatPair(supported, totalSupported), FormatPair(collected, totalCollected), supported == totalSupported && totalSupported > 0, collected == totalCollected && totalCollected > 0, totalSupported == 0, totalCollected == 0); + } + + private static string FormatPair(int n, int d) + { + if (d != 0) + { + return n.ToString(CultureInfo.CurrentCulture).PadLeft(PadWidth) + " / " + d.ToString(CultureInfo.CurrentCulture).PadLeft(PadWidth); + } + return "-".PadLeft(PadWidth) + " / " + "-".PadLeft(PadWidth); + } + } + + private readonly record struct FlatRow(RowType Type, int Depth, int GroupIndex, string Label, GatheringCounts Counts, bool IsPointComplete, ushort ItemId, bool IsItemGathered); + private delegate byte GetIsGatheringItemGatheredDelegate(ushort item); private sealed record ExpansionPoints(EExpansionVersion ExpansionVersion, List PointsByTerritories) @@ -82,6 +112,10 @@ internal sealed class GatheringJournalComponent private List _filteredExpansions = new List(); + private List _flatRows = new List(); + + private readonly HashSet<(RowType Type, int GroupIndex)> _expandedGroups = new HashSet<(RowType, int)>(); + private string _searchText = string.Empty; private static bool IsGatheringItemGathered(uint item) @@ -200,150 +234,192 @@ internal sealed class GatheringJournalComponent gameInteropProvider.InitializeFromAttributes(this); } - public void DrawGatheringItems() + public unsafe void DrawGatheringItems() { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Gathering Points"); - if (!tabItemDisposable) - { - return; - } - ImGui.SetNextItemWidth(ImGui.GetContentRegionAvail().X); - if (ImGui.InputTextWithHint(string.Empty, "Search areas, gathering points and items", ref _searchText, 256)) + if (UiThemeUtils.SearchInput("##GatheringSearch", ref _searchText, -1E-45f, "Search areas, gathering points and items")) { UpdateFilter(); } - if (_filteredExpansions.Count > 0) + ImGui.Separator(); + if (_flatRows.Count > 0) { - using (ImRaii.TableDisposable tableDisposable = ImRaii.Table("GatheringPoints", 3, ImGuiTableFlags.NoSavedSettings)) + float x; + using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) + { + x = ImGui.CalcTextSize(FontAwesomeIcon.Check.ToIconString()).X; + } + float fontGlobalScale = ImGui.GetIO().FontGlobalScale; + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable("GatheringPoints", 3, ImGuiTableFlags.NoSavedSettings | ImGuiTableFlags.ScrollY); + if (!tableDisposable) { - if (!tableDisposable) - { - return; - } - ImGui.TableSetupColumn("Name", ImGuiTableColumnFlags.NoHide); - ImGui.TableSetupColumn("Supported", ImGuiTableColumnFlags.WidthFixed, 100f * ImGui.GetIO().FontGlobalScale); - ImGui.TableSetupColumn("Collected", ImGuiTableColumnFlags.WidthFixed, 100f * ImGui.GetIO().FontGlobalScale); - ImGui.TableHeadersRow(); - foreach (FilteredExpansion filteredExpansion in _filteredExpansions) - { - DrawExpansion(filteredExpansion); - } return; } - } - ImGui.Text("No area, gathering point or item matches your search text."); - } - - private void DrawExpansion(FilteredExpansion expansion) - { - ImGui.TableNextRow(); - ImGui.TableNextColumn(); - bool num = ImGui.TreeNodeEx(expansion.Expansion.ExpansionVersion.ToFriendlyString(), ImGuiTreeNodeFlags.SpanFullWidth); - ImGui.TableNextColumn(); - DrawCount(expansion.Expansion.CompletedPoints, expansion.Expansion.TotalPoints); - ImGui.TableNextColumn(); - DrawCount(expansion.Expansion.CompletedItems, expansion.Expansion.TotalItems); - if (!num) - { + ImGui.TableSetupColumn("Name", ImGuiTableColumnFlags.NoHide); + ImGui.TableSetupColumn("Supported", ImGuiTableColumnFlags.WidthFixed, 120f * fontGlobalScale); + ImGui.TableSetupColumn("Collected", ImGuiTableColumnFlags.WidthFixed, 120f * fontGlobalScale); + ImGui.TableHeadersRow(); + float textLineHeightWithSpacing = ImGui.GetTextLineHeightWithSpacing(); + bool flag = false; + ImGuiListClipper* intPtr = ImGuiNative.ImGuiListClipper(); + ImGuiNative.Begin(intPtr, _flatRows.Count, textLineHeightWithSpacing); + ImGuiListClipperPtr imGuiListClipperPtr = intPtr; + try + { + while (imGuiListClipperPtr.Step()) + { + for (int i = imGuiListClipperPtr.DisplayStart; i < imGuiListClipperPtr.DisplayEnd; i++) + { + if (DrawFlatRow(_flatRows[i], x)) + { + flag = true; + } + } + } + } + finally + { + imGuiListClipperPtr.Destroy(); + } + if (flag) + { + RebuildFlatRows(); + } return; } - foreach (FilteredTerritory territory in expansion.Territories) - { - DrawTerritory(territory); - } - ImGui.TreePop(); + UiThemeUtils.EmptyState(FontAwesomeIcon.Leaf, "No area, gathering point or item matches your search text."); } - private void DrawTerritory(FilteredTerritory territory) + private bool DrawFlatRow(FlatRow row, float iconSpacing) { ImGui.TableNextRow(); ImGui.TableNextColumn(); - bool num = ImGui.TreeNodeEx(territory.Territory.ToFriendlyString(), ImGuiTreeNodeFlags.SpanFullWidth); - ImGui.TableNextColumn(); - DrawCount(territory.Territory.CompletedPoints, territory.Territory.TotalPoints); - ImGui.TableNextColumn(); - DrawCount(territory.Territory.CompletedItems, territory.Territory.TotalItems); - if (!num) + bool result = false; + float num = (float)row.Depth * ImGui.GetStyle().IndentSpacing; + if (row.Type == RowType.Item) { - return; + ImGui.SetCursorPosX(ImGui.GetCursorPosX() + num); + ImGui.TreeNodeEx(row.Label, ImGuiTreeNodeFlags.NoTreePushOnOpen | ImGuiTreeNodeFlags.Leaf | ImGuiTreeNodeFlags.SpanFullWidth); + ImGui.TableNextColumn(); + ImGui.TableNextColumn(); + float num2 = ImGui.GetColumnWidth() / 2f - iconSpacing; + ImGui.SetCursorPosX(ImGui.GetCursorPosX() + num2); + if (row.ItemId < 10000) + { + _uiUtils.ChecklistItem(string.Empty, row.IsItemGathered); + } + else + { + _uiUtils.ChecklistItem(string.Empty, UiThemeUtils.StatusUnobtainable, FontAwesomeIcon.Minus); + } } - foreach (FilteredGatheringPoint gatheringPoint in territory.GatheringPoints) + else if (row.Type == RowType.GatheringPoint) { - DrawPoint(gatheringPoint); - } - ImGui.TreePop(); - } - - private void DrawPoint(FilteredGatheringPoint point) - { - ImGui.TableNextRow(); - ImGui.TableNextColumn(); - ImU8String id = new ImU8String(8, 3); - id.AppendFormatted(point.Point.PlaceName); - id.AppendLiteral(" ("); - id.AppendFormatted(point.Point.ClassJob); - id.AppendLiteral(" Lv. "); - id.AppendFormatted(point.Point.Level); - id.AppendLiteral(")"); - bool flag = ImGui.TreeNodeEx(id, ImGuiTreeNodeFlags.SpanFullWidth); - ImGui.TableNextColumn(); - float num; - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) - { - num = ImGui.GetColumnWidth() / 2f - ImGui.CalcTextSize(FontAwesomeIcon.Check.ToIconString()).X; - } - ImGui.SetCursorPosX(ImGui.GetCursorPosX() + num); - _uiUtils.ChecklistItem(string.Empty, point.Point.IsComplete); - ImGui.TableNextColumn(); - DrawCount(point.Point.CompletedItems, point.Point.TotalItems); - if (!flag) - { - return; - } - foreach (ushort gatheringItemId in point.GatheringItemIds) - { - DrawItem(gatheringItemId); - } - ImGui.TreePop(); - } - - private void DrawItem(ushort item) - { - ImGui.TableNextRow(); - ImGui.TableNextColumn(); - ImGui.TreeNodeEx(_gatheringItems.GetValueOrDefault(item, "???"), ImGuiTreeNodeFlags.NoTreePushOnOpen | ImGuiTreeNodeFlags.Leaf | ImGuiTreeNodeFlags.SpanFullWidth); - ImGui.TableNextColumn(); - ImGui.TableNextColumn(); - float num; - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) - { - num = ImGui.GetColumnWidth() / 2f - ImGui.CalcTextSize(FontAwesomeIcon.Check.ToIconString()).X; - } - ImGui.SetCursorPosX(ImGui.GetCursorPosX() + num); - if (item < 10000) - { - _uiUtils.ChecklistItem(string.Empty, _gatheredItems.Contains(item)); + (RowType, int) item = (row.Type, row.GroupIndex); + bool flag = _expandedGroups.Contains(item); + ImGui.SetCursorPosX(ImGui.GetCursorPosX() + num); + UiThemeUtils.DrawTrackerGroupCaret(_pluginInterface.UiBuilder.IconFontFixedWidthHandle, flag); + ImGui.SameLine(); + ImU8String label = new ImU8String(6, 3); + label.AppendFormatted(row.Label); + label.AppendLiteral("##grp"); + label.AppendFormatted(row.Type); + label.AppendLiteral("_"); + label.AppendFormatted(row.GroupIndex); + if (ImGui.Selectable(label)) + { + if (flag) + { + _expandedGroups.Remove(item); + } + else + { + _expandedGroups.Add(item); + } + result = true; + } + ImGui.TableNextColumn(); + float num3 = ImGui.GetColumnWidth() / 2f - iconSpacing; + ImGui.SetCursorPosX(ImGui.GetCursorPosX() + num3); + _uiUtils.ChecklistItem(string.Empty, row.IsPointComplete); + ImGui.TableNextColumn(); + UiThemeUtils.DrawTrackerCount(row.Counts.FormattedCollected, row.Counts.IsCollectedComplete, row.Counts.IsCollectedEmpty); } else { - _uiUtils.ChecklistItem(string.Empty, ImGuiColors.DalamudGrey, FontAwesomeIcon.Minus); + (RowType, int) item2 = (row.Type, row.GroupIndex); + bool flag2 = _expandedGroups.Contains(item2); + ImGui.SetCursorPosX(ImGui.GetCursorPosX() + num); + UiThemeUtils.DrawTrackerGroupCaret(_pluginInterface.UiBuilder.IconFontFixedWidthHandle, flag2); + ImGui.SameLine(); + ImU8String label2 = new ImU8String(6, 3); + label2.AppendFormatted(row.Label); + label2.AppendLiteral("##grp"); + label2.AppendFormatted(row.Type); + label2.AppendLiteral("_"); + label2.AppendFormatted(row.GroupIndex); + if (ImGui.Selectable(label2)) + { + if (flag2) + { + _expandedGroups.Remove(item2); + } + else + { + _expandedGroups.Add(item2); + } + result = true; + } + ImGui.TableNextColumn(); + UiThemeUtils.DrawTrackerCount(row.Counts.FormattedSupported, row.Counts.IsSupportedComplete, row.Counts.IsSupportedEmpty); + ImGui.TableNextColumn(); + UiThemeUtils.DrawTrackerCount(row.Counts.FormattedCollected, row.Counts.IsCollectedComplete, row.Counts.IsCollectedEmpty); } + return result; } - private static void DrawCount(int count, int total) + private void RebuildFlatRows() { - string text = 999.ToString(CultureInfo.CurrentCulture); - ImGui.PushFont(UiBuilder.MonoFont); - string text2 = count.ToString(CultureInfo.CurrentCulture).PadLeft(text.Length) + " / " + total.ToString(CultureInfo.CurrentCulture).PadLeft(text.Length); - if (count == total) + List list = new List(); + foreach (FilteredExpansion filteredExpansion in _filteredExpansions) { - ImGui.TextColored(ImGuiColors.ParsedGreen, text2); + ExpansionPoints expansion = filteredExpansion.Expansion; + int expansionVersion = (int)expansion.ExpansionVersion; + GatheringCounts counts = GatheringCounts.Create(expansion.CompletedPoints, expansion.TotalPoints, expansion.CompletedItems, expansion.TotalItems); + list.Add(new FlatRow(RowType.Expansion, 0, expansionVersion, expansion.ExpansionVersion.ToFriendlyString(), counts, IsPointComplete: false, 0, IsItemGathered: false)); + if (!_expandedGroups.Contains((RowType.Expansion, expansionVersion))) + { + continue; + } + foreach (FilteredTerritory territory2 in filteredExpansion.Territories) + { + TerritoryPoints territory = territory2.Territory; + int territoryType = territory.TerritoryType; + GatheringCounts counts2 = GatheringCounts.Create(territory.CompletedPoints, territory.TotalPoints, territory.CompletedItems, territory.TotalItems); + list.Add(new FlatRow(RowType.Territory, 1, territoryType, territory.ToFriendlyString(), counts2, IsPointComplete: false, 0, IsItemGathered: false)); + if (!_expandedGroups.Contains((RowType.Territory, territoryType))) + { + continue; + } + foreach (FilteredGatheringPoint gatheringPoint in territory2.GatheringPoints) + { + DefaultGatheringPoint point = gatheringPoint.Point; + int value = point.Id.Value; + GatheringCounts counts3 = GatheringCounts.Create(0, 0, point.CompletedItems, point.TotalItems); + list.Add(new FlatRow(RowType.GatheringPoint, 2, value, $"{point.PlaceName} ({point.ClassJob} Lv. {point.Level})", counts3, point.IsComplete, 0, IsItemGathered: false)); + if (!_expandedGroups.Contains((RowType.GatheringPoint, value))) + { + continue; + } + foreach (ushort gatheringItemId in gatheringPoint.GatheringItemIds) + { + string valueOrDefault = _gatheringItems.GetValueOrDefault(gatheringItemId, "???"); + bool isItemGathered = _gatheredItems.Contains(gatheringItemId); + list.Add(new FlatRow(RowType.Item, 3, 0, valueOrDefault, default(GatheringCounts), IsPointComplete: false, gatheringItemId, isItemGathered)); + } + } + } } - else - { - ImGui.TextUnformatted(text2); - } - ImGui.PopFont(); + _flatRows = list; } public void UpdateFilter() @@ -361,6 +437,7 @@ internal sealed class GatheringJournalComponent select FilterExpansion(section, match) into x where x != null select x).Cast().ToList(); + RebuildFlatRows(); } private FilteredExpansion? FilterExpansion(ExpansionPoints expansion, Predicate match) @@ -437,6 +514,7 @@ internal sealed class GatheringJournalComponent item2.TotalPoints = item2.PointsByTerritories.Sum((TerritoryPoints x) => x.TotalPoints); item2.CompletedPoints = item2.PointsByTerritories.Sum((TerritoryPoints x) => x.CompletedPoints); } + RebuildFlatRows(); } public void ClearCounts(int type, int code) @@ -455,5 +533,6 @@ internal sealed class GatheringJournalComponent } } } + RebuildFlatRows(); } } diff --git a/Questionable/Questionable.Windows.JournalComponents/JournalUiShared.cs b/Questionable/Questionable.Windows.JournalComponents/JournalUiShared.cs new file mode 100644 index 0000000..7c25106 --- /dev/null +++ b/Questionable/Questionable.Windows.JournalComponents/JournalUiShared.cs @@ -0,0 +1,65 @@ +using System; +using System.Numerics; +using Dalamud.Bindings.ImGui; +using Dalamud.Interface.Utility.Raii; +using Questionable.Controller.Utils; + +namespace Questionable.Windows.JournalComponents; + +internal static class JournalUiShared +{ + public static void DrawAllowanceHeader(int used, int limit, string unit, TimeSpan untilReset, string? tooltip = null) + { + int num = limit - used; + float fraction = ((limit > 0) ? ((float)num / (float)limit) : 0f); + string text = ExpiryUtils.FormatTimeSpan(untilReset); + Vector4 col = ((num > 0) ? UiThemeUtils.StatusComplete : UiThemeUtils.StatusLocked); + ImU8String text2 = new ImU8String(0, 1); + text2.AppendFormatted(num); + ImGui.TextColored(in col, text2); + ImGui.SameLine(0f, 4f); + ImU8String text3 = new ImU8String(13, 2); + text3.AppendLiteral("/ "); + text3.AppendFormatted(limit); + text3.AppendLiteral(" "); + text3.AppendFormatted(unit); + text3.AppendLiteral(" remaining"); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, text3); + string text4 = "Resets in " + text; + float y = ImGui.GetContentRegionMax().X - ImGui.CalcTextSize(text4).X; + ImGui.SameLine(0f, 0f); + ImGui.SameLine(MathF.Max(ImGui.GetCursorPosX() + ImGui.GetStyle().ItemSpacing.X, y)); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text4); + ImGui.Spacing(); + using (UiThemeUtils.PushProgressBarColors()) + { + Vector2 sizeArg = new Vector2(-1E-45f, 0f); + ImU8String overlay = new ImU8String(3, 2); + overlay.AppendFormatted(num); + overlay.AppendLiteral(" / "); + overlay.AppendFormatted(limit); + ImGui.ProgressBar(fraction, sizeArg, overlay); + } + if (tooltip != null && ImGui.IsItemHovered()) + { + using ImRaii.TooltipDisposable tooltipDisposable = ImRaii.Tooltip(); + if (tooltipDisposable.Alive) + { + DateTime value = (DateTime.UtcNow + untilReset).ToLocalTime(); + ImGui.TextUnformatted(tooltip); + ImGui.Spacing(); + ImGui.Separator(); + ImGui.Spacing(); + ImU8String text5 = new ImU8String(12, 1); + text5.AppendLiteral("Next reset: "); + text5.AppendFormatted(value, "g"); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text5); + ImU8String text6 = new ImU8String(18, 1); + text6.AppendLiteral("Time until reset: "); + text6.AppendFormatted(text); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text6); + } + } + ImGui.Spacing(); + } +} diff --git a/Questionable/Questionable.Windows.JournalComponents/QuestChainComponent.cs b/Questionable/Questionable.Windows.JournalComponents/QuestChainComponent.cs new file mode 100644 index 0000000..0270330 --- /dev/null +++ b/Questionable/Questionable.Windows.JournalComponents/QuestChainComponent.cs @@ -0,0 +1,1511 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using Dalamud.Bindings.ImGui; +using Dalamud.Game.Text.SeStringHandling.Payloads; +using Dalamud.Interface.Textures.TextureWraps; +using Dalamud.Interface.Utility.Raii; +using Dalamud.Plugin.Services; +using Dalamud.Utility; +using LLib; +using Lumina.Excel; +using Lumina.Excel.Sheets; +using Questionable.Controller; +using Questionable.Data; +using Questionable.Functions; +using Questionable.Model; +using Questionable.Model.Questing; +using Questionable.Windows.QuestComponents; + +namespace Questionable.Windows.JournalComponents; + +internal sealed class QuestChainComponent +{ + private readonly record struct QuestStatusEntry(Vector4 Color, bool IsCompleted); + + private sealed class CachedGraphLayout + { + public required List> Layers { get; init; } + + public required Dictionary NodeWidths { get; init; } + + public required float[] LayerWidths { get; init; } + + public required Dictionary TruncatedLabels { get; init; } + } + + private readonly record struct NodeStatusEntry(Vector4 BgColor, bool IsDone); + + private static readonly string[] ExpansionNames = new string[7] { "All", "A Realm Reborn", "Heavensward", "Stormblood", "Shadowbringers", "Endwalker", "Dawntrail" }; + + private readonly QuestChainBuilder _questChainBuilder; + + private readonly QuestData _questData; + + private readonly QuestFunctions _questFunctions; + + private readonly UiUtils _uiUtils; + + private readonly ITextureProvider _textureProvider; + + private readonly IDataManager _dataManager; + + private readonly QuestMapComponent _questMapComponent; + + private readonly QuestRegistry _questRegistry; + + private readonly IGameGui _gameGui; + + private readonly QuestTooltipComponent _questTooltipComponent; + + private string _searchText = string.Empty; + + private int _selectedExpansion = -1; + + private bool _showUnobtainable; + + private ElementId? _selectedQuestId; + + private List _filteredQuests = new List(); + + private bool _filterDirty = true; + + private string _previousSearchText = string.Empty; + + private int _previousExpansion = -1; + + private ElementId? _previousChainQuestId; + + private bool _scrollToSelected; + + private bool _showDetail; + + private bool _scrollToSelectedInList; + + private readonly Dictionary _questStatusCache = new Dictionary(); + + private long _statusCacheRefreshedAt; + + private const long StatusCacheLifetimeMs = 3000L; + + private CachedGraphLayout? _cachedLayout; + + private QuestId? _cachedLayoutQuestId; + + private QuestId? _cachedDescriptionQuestId; + + private string? _cachedDescription; + + private readonly Dictionary _nodeStatusCache = new Dictionary(); + + private long _nodeStatusRefreshedAt; + + private readonly List _addableQuestIds = new List(); + + private ElementId? _addableCachedForQuestId; + + private long _addableRefreshedAt; + + private Vector2 _graphOffset = Vector2.Zero; + + private bool _isDragging; + + private Vector2 _dragStart; + + private Vector2 _dragOrigin; + + private bool _dragMoved; + + private QuestId? _contextMenuNodeId; + + private float _graphZoom = 1f; + + private const float GraphMinZoom = 0.25f; + + private const float GraphMaxZoom = 2f; + + private const float GraphZoomSpeed = 0.1f; + + private static readonly Vector4 GraphBackgroundColor = new Vector4(0.06f, 0.05f, 0.1f, 1f); + + private static readonly Vector4 NodeFillActive = Vector4.Lerp(GraphBackgroundColor, UiThemeUtils.StatusActive, 0.48f); + + private static readonly Vector4 NodeFillComplete = Vector4.Lerp(GraphBackgroundColor, UiThemeUtils.StatusComplete, 0.42f); + + private static readonly Vector4 NodeFillUnobtainable = Vector4.Lerp(GraphBackgroundColor, UiThemeUtils.StatusUnobtainable, 0.36f); + + private static readonly Vector4 NodeFillAvailable = Vector4.Lerp(GraphBackgroundColor, UiThemeUtils.StatusAvailable, 0.22f); + + private static readonly Vector4 NodeFillLocked = Vector4.Lerp(GraphBackgroundColor, UiThemeUtils.StatusLocked, 0.45f); + + public Action? SelectTabAction { get; set; } + + public QuestJournalUtils? QuestJournalUtils { get; set; } + + public QuestChainComponent(QuestChainBuilder questChainBuilder, QuestData questData, QuestFunctions questFunctions, UiUtils uiUtils, ITextureProvider textureProvider, IDataManager dataManager, QuestMapComponent questMapComponent, QuestRegistry questRegistry, IGameGui gameGui, QuestTooltipComponent questTooltipComponent) + { + _questChainBuilder = questChainBuilder; + _questData = questData; + _questFunctions = questFunctions; + _uiUtils = uiUtils; + _textureProvider = textureProvider; + _dataManager = dataManager; + _questMapComponent = questMapComponent; + _questRegistry = questRegistry; + _gameGui = gameGui; + _questTooltipComponent = questTooltipComponent; + } + + public void DrawQuestChain() + { + if (_searchText != _previousSearchText || _selectedExpansion != _previousExpansion) + { + _filterDirty = true; + _previousSearchText = _searchText; + _previousExpansion = _selectedExpansion; + } + if (_filterDirty) + { + RebuildFilteredQuests(); + _filterDirty = false; + } + DrawSearchBar(); + ImGui.Separator(); + Vector2 contentRegionAvail = ImGui.GetContentRegionAvail(); + float num = MathF.Max(contentRegionAvail.X * 0.25f, 180f); + float width = contentRegionAvail.X - num - ImGui.GetStyle().ItemSpacing.X; + if (_showDetail && _selectedQuestId != null) + { + DrawDetailPanel(num, contentRegionAvail.Y); + } + else + { + DrawQuestList(num, contentRegionAvail.Y); + } + ImGui.SameLine(); + DrawChainPanel(width, contentRegionAvail.Y); + } + + public void SelectQuest(ElementId questId) + { + _selectedQuestId = questId; + _filterDirty = true; + _scrollToSelected = true; + } + + public void MarkDirty() + { + _filterDirty = true; + _cachedLayout = null; + _questStatusCache.Clear(); + } + + private void DrawSearchBar() + { + UiThemeUtils.SearchInput("##ChainSearch", ref _searchText, -280f * ImGui.GetIO().FontGlobalScale, "Search quests..."); + ImGui.SameLine(); + int currentItem = _selectedExpansion + 1; + ImGui.SetNextItemWidth(140f * ImGui.GetIO().FontGlobalScale); + if (UiThemeUtils.ThemedCombo("##ChainExpansion", ref currentItem, ExpansionNames, ExpansionNames.Length)) + { + _selectedExpansion = currentItem - 1; + } + ImGui.SameLine(); + if (UiThemeUtils.WrappedCheckbox("Unobtainable", ref _showUnobtainable)) + { + _filterDirty = true; + } + } + + private void RebuildFilteredQuests() + { + _filteredQuests = (from kvp in _questData.AllQuests + where kvp.Key is QuestId + select kvp.Value into q + where !string.IsNullOrEmpty(q.Name) + where q.Expansion != (EExpansionVersion)255 + where _showUnobtainable || !_questFunctions.IsQuestUnobtainable(q.QuestId) + select q).Where(delegate(IQuestInfo q) + { + if (_selectedExpansion >= 0 && (uint)q.Expansion != (byte)_selectedExpansion) + { + return false; + } + return (string.IsNullOrEmpty(_searchText) || q.Name.Contains(_searchText, StringComparison.OrdinalIgnoreCase)) ? true : false; + }).OrderBy((IQuestInfo q) => q.Name, StringComparer.OrdinalIgnoreCase).ToList(); + } + + private QuestStatusEntry GetCachedQuestStatus(ElementId questId) + { + long tickCount = Environment.TickCount64; + if (tickCount - _statusCacheRefreshedAt > 3000) + { + _questStatusCache.Clear(); + _statusCacheRefreshedAt = tickCount; + } + if (!_questStatusCache.TryGetValue(questId, out var value)) + { + Vector4 item = _uiUtils.GetQuestStyle(questId).Color; + bool isCompleted = _questFunctions.IsQuestAcceptedOrComplete(questId); + value = new QuestStatusEntry(item, isCompleted); + _questStatusCache[questId] = value; + } + return value; + } + + private unsafe void DrawQuestList(float width, float height) + { + using ImRaii.ChildDisposable childDisposable = ImRaii.Child("QuestChainList", new Vector2(width, height), border: true); + if (!childDisposable) + { + return; + } + if (_filteredQuests.Count == 0) + { + ImGui.TextColored(in UiThemeUtils.DimTextColor, "No quests match your search."); + return; + } + float textLineHeightWithSpacing = ImGui.GetTextLineHeightWithSpacing(); + if (_scrollToSelectedInList && _selectedQuestId != null) + { + int num = _filteredQuests.FindIndex((IQuestInfo q) => q.QuestId == _selectedQuestId); + if (num >= 0) + { + float y = (float)num * textLineHeightWithSpacing - ImGui.GetWindowHeight() * 0.5f; + ImGui.SetScrollY(MathF.Max(0f, y)); + } + _scrollToSelectedInList = false; + } + ImGuiListClipper* intPtr = ImGuiNative.ImGuiListClipper(); + ImGuiNative.Begin(intPtr, _filteredQuests.Count, textLineHeightWithSpacing); + ImGuiListClipperPtr imGuiListClipperPtr = intPtr; + try + { + while (imGuiListClipperPtr.Step()) + { + for (int num2 = imGuiListClipperPtr.DisplayStart; num2 < imGuiListClipperPtr.DisplayEnd; num2++) + { + IQuestInfo questInfo = _filteredQuests[num2]; + UiThemeUtils.DrawAltRowBackground(num2); + bool selected = _selectedQuestId != null && _selectedQuestId == questInfo.QuestId; + QuestStatusEntry cachedQuestStatus = GetCachedQuestStatus(questInfo.QuestId); + using (cachedQuestStatus.IsCompleted ? ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.DimTextColor) : null) + { + ImGui.SetCursorPosX(ImGui.GetCursorPosX() + 14f); + if (ImGui.Selectable(UiThemeUtils.CleanSeString(questInfo.Name), selected, ImGuiSelectableFlags.AllowDoubleClick)) + { + _selectedQuestId = questInfo.QuestId; + if (ImGui.IsMouseDoubleClicked(ImGuiMouseButton.Left)) + { + _showDetail = true; + } + } + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + Vector2 itemRectMin = ImGui.GetItemRectMin(); + Vector2 itemRectMax = ImGui.GetItemRectMax(); + float y2 = (itemRectMin.Y + itemRectMax.Y) * 0.5f; + float x = itemRectMin.X - 14f + 5f; + windowDrawList.AddCircleFilled(new Vector2(x, y2), 3f, ImGui.ColorConvertFloat4ToU32(cachedQuestStatus.Color), 12); + Questionable.Model.Quest quest = null; + _questRegistry.TryGetQuest(questInfo.QuestId, out quest); + QuestJournalUtils?.ShowContextMenu(questInfo, quest, "QuestChainComponent"); + } + } + } + } + finally + { + imGuiListClipperPtr.Destroy(); + } + } + + private void DrawChainPanel(float width, float height) + { + using ImRaii.ChildDisposable childDisposable = ImRaii.Child("QuestChainView", new Vector2(width, height), border: true, ImGuiWindowFlags.NoScrollbar | ImGuiWindowFlags.NoScrollWithMouse); + if (!childDisposable) + { + return; + } + if (_selectedQuestId == null) + { + ImGui.TextColored(in UiThemeUtils.DimTextColor, "Select a quest to view its chain"); + return; + } + if (!(_selectedQuestId is QuestId questId)) + { + ImGui.TextColored(in UiThemeUtils.DimTextColor, "Chain view is only available for quests."); + return; + } + if (!_questData.TryGetQuestInfo(_selectedQuestId, out IQuestInfo _)) + { + ImGui.TextColored(in UiThemeUtils.StatusLocked, "Quest info not found."); + return; + } + if (_previousChainQuestId != _selectedQuestId) + { + _previousChainQuestId = _selectedQuestId; + _scrollToSelected = true; + } + QuestChainGraph chainGraph = _questChainBuilder.GetChainGraph(questId); + if (chainGraph.LayerOrder.Count == 0) + { + ImGui.TextColored(in UiThemeUtils.DimTextColor, "No chain data available."); + return; + } + if (UiThemeUtils.PillButton("Reset View", selected: false)) + { + _scrollToSelected = true; + _graphZoom = 1f; + } + ImGui.SameLine(); + ImU8String text = new ImU8String(1, 1); + text.AppendFormatted((int)(_graphZoom * 100f)); + text.AppendLiteral("%"); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, text); + DrawChainGraph(chainGraph, width); + } + + private void DrawDetailPanel(float width, float height) + { + using ImRaii.ChildDisposable childDisposable = ImRaii.Child("QuestDetailPanel", new Vector2(width, height), border: true); + if (!childDisposable) + { + return; + } + if (!(_selectedQuestId is QuestId questId) || !_questData.TryGetQuestInfo(_selectedQuestId, out IQuestInfo questInfo)) + { + _showDetail = false; + return; + } + if (UiThemeUtils.PillButton("← Back to list", selected: false)) + { + _showDetail = false; + _scrollToSelectedInList = true; + return; + } + ImGui.Separator(); + UiThemeUtils.WrappedTextColored(UiThemeUtils.AccentColor, UiThemeUtils.CleanSeString(questInfo.Name)); + ImGui.PushTextWrapPos(ImGui.GetCursorPosX() + ImGui.GetContentRegionAvail().X); + try + { + Lumina.Excel.Sheets.Quest? rowOrDefault = _dataManager.GetExcelSheet().GetRowOrDefault((uint)(questId.Value + 65536)); + ImU8String text = new ImU8String(7, 1); + text.AppendLiteral("Level: "); + text.AppendFormatted(questInfo.Level); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text); + if (rowOrDefault.HasValue && rowOrDefault.Value.Icon != 0) + { + DrawQuestBanner(rowOrDefault.Value.Icon); + } + if (rowOrDefault.HasValue) + { + ushort expFactor = rowOrDefault.Value.ExpFactor; + uint gilReward = rowOrDefault.Value.GilReward; + if (expFactor > 0) + { + ImU8String text2 = new ImU8String(5, 1); + text2.AppendLiteral("Exp: "); + text2.AppendFormatted(expFactor, "N0"); + ImGui.TextUnformatted(text2); + } + if (gilReward != 0) + { + if (expFactor > 0) + { + ImGui.SameLine(0f, 20f); + } + ImU8String text3 = new ImU8String(5, 1); + text3.AppendLiteral("Gil: "); + text3.AppendFormatted(gilReward, "N0"); + ImGui.TextUnformatted(text3); + } + DrawRewards(rowOrDefault.Value); + } + DrawQuestDescription(questId, rowOrDefault); + DrawNpcLine(rowOrDefault, questInfo); + ImU8String text4 = new ImU8String(4, 1); + text4.AppendLiteral("ID: "); + text4.AppendFormatted(questId.Value); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, text4); + ImGui.Spacing(); + ushort num = 0; + Vector3 vector = Vector3.Zero; + if (_questRegistry.TryGetQuest(questId, out Questionable.Model.Quest quest)) + { + QuestSequence questSequence = quest.FindSequence(0); + if (questSequence != null) + { + List steps = questSequence.Steps; + if (steps != null && steps.Count > 0) + { + num = questSequence.Steps[0].TerritoryId; + Vector3? position = questSequence.Steps[0].Position; + if (position.HasValue) + { + Vector3 valueOrDefault = position.GetValueOrDefault(); + vector = valueOrDefault; + } + } + } + } + if (num == 0 && rowOrDefault.HasValue) + { + try + { + Level? valueNullable = rowOrDefault.Value.IssuerLocation.ValueNullable; + if (valueNullable.HasValue) + { + num = (ushort)valueNullable.Value.Territory.RowId; + vector = new Vector3(valueNullable.Value.X, valueNullable.Value.Y, valueNullable.Value.Z); + } + } + catch + { + } + } + if (num != 0 && vector != Vector3.Zero && UiThemeUtils.PillButton("Open on Map", selected: false)) + { + TerritoryType? rowOrDefault2 = _dataManager.GetExcelSheet().GetRowOrDefault(num); + if (rowOrDefault2.HasValue) + { + Map? valueNullable2 = rowOrDefault2.Value.Map.ValueNullable; + if (valueNullable2.HasValue) + { + Vector2 vector2 = MapUtil.WorldToMap(new Vector2(vector.X, vector.Z), valueNullable2.Value); + MapLinkPayload mapLink = new MapLinkPayload(num, valueNullable2.Value.RowId, vector2.X, vector2.Y); + _gameGui.OpenMapWithMapLink(mapLink); + } + } + } + if (num != 0 && UiThemeUtils.PillButton("Show in Quest Map", selected: false)) + { + _questMapComponent.SelectQuest(questId, num); + SelectTabAction?.Invoke("Quest Map"); + } + QuestJournalUtils questJournalUtils = QuestJournalUtils; + if (questJournalUtils != null) + { + long tickCount = Environment.TickCount64; + if (!questId.Equals(_addableCachedForQuestId) || tickCount - _addableRefreshedAt > 3000) + { + _addableQuestIds.Clear(); + _addableQuestIds.AddRange(questJournalUtils.GetIncompletePrerequisiteQuests(questInfo)); + _addableCachedForQuestId = questId; + _addableRefreshedAt = tickCount; + } + int count = _addableQuestIds.Count; + using (ImRaii.Disabled(count == 0)) + { + if (UiThemeUtils.PillButton("Add to Priority", selected: false)) + { + questJournalUtils.AddRequiredQuestsToPriority(questInfo, _addableQuestIds); + _addableCachedForQuestId = null; + } + } + if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + { + object obj2; + switch (count) + { + case 0: + ImGui.SetTooltip("No quests to add (quest may be complete, disabled, locked with no unlock path, or already in priority)"); + goto end_IL_00a4; + default: + obj2 = $"Add this quest and {count - 1} required {((count - 1 == 1) ? "quest" : "quests")} to the priority list in completion order"; + break; + case 1: + obj2 = "Add this quest to the priority list"; + break; + } + ImGui.SetTooltip((string?)obj2); + } + } + end_IL_00a4:; + } + catch + { + } + ImGui.PopTextWrapPos(); + } + + private void DrawQuestDescription(QuestId questId, Lumina.Excel.Sheets.Quest? questEx) + { + if (questId.Equals(_cachedDescriptionQuestId)) + { + if (!string.IsNullOrWhiteSpace(_cachedDescription)) + { + ImGui.Spacing(); + ImGui.TextColored(in UiThemeUtils.DimTextColor, _cachedDescription); + } + return; + } + _cachedDescriptionQuestId = questId; + _cachedDescription = null; + try + { + if (!questEx.HasValue) + { + return; + } + string value = questEx.Value.Id.ExtractText(); + if (string.IsNullOrEmpty(value)) + { + return; + } + string text = $"quest/{questId.Value / 100:000}/{value}"; + IDataManager dataManager = _dataManager; + string name = text; + ExcelSheet excelSheet = dataManager.GetExcelSheet(null, name); + string text2 = null; + foreach (QuestDialogueText item in excelSheet) + { + string text3 = item.Key.ExtractText(); + if (text3.Contains("SEQ_00", StringComparison.Ordinal) && text3.Contains("BODY", StringComparison.Ordinal)) + { + string text4 = item.Value.ExtractText(); + if (!string.IsNullOrWhiteSpace(text4)) + { + text2 = text4; + break; + } + } + } + if (text2 == null) + { + foreach (QuestDialogueText item2 in excelSheet) + { + string text5 = item2.Key.ExtractText(); + if (text5.Contains("TODO_01", StringComparison.Ordinal) || text5.Contains("OBJECTIVE", StringComparison.Ordinal)) + { + string text6 = item2.Value.ExtractText(); + if (!string.IsNullOrWhiteSpace(text6)) + { + text2 = text6; + break; + } + } + } + } + if (!string.IsNullOrWhiteSpace(text2)) + { + _cachedDescription = text2; + ImGui.Spacing(); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text2); + } + } + catch + { + } + } + + private void DrawNpcLine(Lumina.Excel.Sheets.Quest? questEx, IQuestInfo questInfo) + { + string text = null; + string text2 = null; + try + { + if (questEx.HasValue) + { + uint rowId = questEx.Value.IssuerStart.RowId; + if (rowId != 0) + { + text = ResolveNpcName(rowId); + } + } + } + catch + { + } + if (text == null && questInfo.IssuerDataId != 0) + { + try + { + text = ResolveNpcName(questInfo.IssuerDataId); + } + catch + { + } + } + try + { + if (questEx.HasValue) + { + uint rowId2 = questEx.Value.TargetEnd.RowId; + if (rowId2 != 0) + { + text2 = ResolveNpcName(rowId2); + } + } + } + catch + { + } + if (text != null || text2 != null) + { + if (text != null && text2 != null) + { + ImU8String text3 = new ImU8String(3, 2); + text3.AppendFormatted(text); + text3.AppendLiteral(" → "); + text3.AppendFormatted(text2); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text3); + } + else if (text != null) + { + ImGui.TextColored(in UiThemeUtils.DimTextColor, text); + } + else + { + ImU8String text4 = new ImU8String(2, 1); + text4.AppendLiteral("→ "); + text4.AppendFormatted(text2); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text4); + } + } + } + + private string? ResolveNpcName(uint npcId) + { + ENpcResident? rowOrDefault = _dataManager.GetExcelSheet().GetRowOrDefault(npcId); + if (rowOrDefault.HasValue) + { + string text = rowOrDefault.Value.Singular.ExtractText(); + if (!string.IsNullOrEmpty(text)) + { + return text; + } + } + return null; + } + + private void DrawRewards(Lumina.Excel.Sheets.Quest questEx) + { + bool flag; + switch (questEx.ItemRewardType) + { + case 1: + case 3: + case 5: + flag = true; + break; + default: + flag = false; + break; + } + if (flag) + { + bool flag2 = false; + for (int i = 0; i < questEx.Reward.Count; i++) + { + try + { + RowRef rowRef = questEx.Reward[i]; + if (rowRef.RowId == 0 || !rowRef.Is()) + { + continue; + } + Item? valueOrDefault = rowRef.GetValueOrDefault(); + if (valueOrDefault.HasValue) + { + if (!flag2) + { + UiThemeUtils.SubSectionHeader("Rewards"); + flag2 = true; + } + else + { + ImGui.SameLine(); + } + byte count = (byte)((i >= questEx.ItemCountReward.Count) ? 1 : questEx.ItemCountReward[i]); + DrawItemIcon(valueOrDefault.Value, count); + } + } + catch + { + } + } + } + bool flag3 = false; + for (int j = 0; j < questEx.OptionalItemReward.Count; j++) + { + try + { + RowRef rowRef2 = questEx.OptionalItemReward[j]; + if (rowRef2.RowId == 0) + { + continue; + } + Item? valueNullable = rowRef2.ValueNullable; + if (valueNullable.HasValue) + { + if (!flag3) + { + UiThemeUtils.SubSectionHeader("Optional rewards"); + flag3 = true; + } + else + { + ImGui.SameLine(); + } + byte count2 = (byte)((j >= questEx.OptionalItemCountReward.Count) ? 1 : questEx.OptionalItemCountReward[j]); + DrawItemIcon(valueNullable.Value, count2); + } + } + catch + { + } + } + } + + private void DrawItemIcon(Item item, byte count) + { + try + { + ushort icon = item.Icon; + if (icon > 0) + { + string path = $"ui/icon/{icon / 1000 * 1000:000000}/{icon:000000}_hr1.tex"; + IDalamudTextureWrap wrapOrDefault = _textureProvider.GetFromGame(path).GetWrapOrDefault(); + if (wrapOrDefault != null) + { + ImGui.Image(wrapOrDefault.Handle, new Vector2(32f, 32f)); + bool flag = ImGui.IsItemHovered(); + if (count > 1) + { + ImGui.SameLine(0f, 2f); + ImGui.SetCursorPosY(ImGui.GetCursorPosY() + 16f); + ImU8String text = new ImU8String(1, 1); + text.AppendLiteral("x"); + text.AppendFormatted(count); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text); + flag |= ImGui.IsItemHovered(); + } + if (flag) + { + ImGui.BeginTooltip(); + string text2 = item.Name.ExtractText(); + ImGui.TextUnformatted((count > 1) ? $"{text2} x{count}" : text2); + ImGui.EndTooltip(); + } + return; + } + } + } + catch + { + } + string text3 = item.Name.ExtractText(); + ImGui.TextUnformatted((count > 1) ? $"[{text3} x{count}]" : ("[" + text3 + "]")); + if (ImGui.IsItemHovered()) + { + ImGui.BeginTooltip(); + ImGui.TextUnformatted(text3); + ImGui.EndTooltip(); + } + } + + private void DrawQuestBanner(uint iconId) + { + if (iconId == 0) + { + return; + } + try + { + string path = $"ui/icon/{iconId / 1000 * 1000:000000}/{iconId:000000}_hr1.tex"; + IDalamudTextureWrap wrapOrDefault = _textureProvider.GetFromGame(path).GetWrapOrDefault(); + if (wrapOrDefault != null) + { + float num = MathF.Min(ImGui.GetContentRegionAvail().X, (float)wrapOrDefault.Width * 0.5f); + float num2 = (float)wrapOrDefault.Height / (float)wrapOrDefault.Width; + float y = num * num2; + ImGui.Image(wrapOrDefault.Handle, new Vector2(num, y)); + } + } + catch + { + } + } + + private CachedGraphLayout ComputeLayout(QuestChainGraph graph) + { + List> list = ReorderLayers(graph); + for (int i = 0; i < list.Count; i++) + { + list[i] = list[i].Where((QuestId qid) => _questData.TryGetQuestInfo(qid, out IQuestInfo _)).ToList(); + } + list.RemoveAll((List l) => l.Count == 0); + Dictionary dictionary = new Dictionary(); + foreach (List item in list) + { + foreach (QuestId item2 in item) + { + IQuestInfo questInfo; + float y = (_questData.TryGetQuestInfo(item2, out questInfo) ? (ImGui.CalcTextSize(UiThemeUtils.CleanSeString(questInfo.Name)).X + 16f) : 150f); + dictionary[item2] = MathF.Max(150f, MathF.Min(240f, y)); + } + } + float[] array = new float[list.Count]; + for (int num = 0; num < list.Count; num++) + { + float num2 = 0f; + for (int num3 = 0; num3 < list[num].Count; num3++) + { + if (num3 > 0) + { + num2 += 20f; + } + num2 += dictionary[list[num][num3]]; + } + array[num] = num2; + } + Dictionary dictionary2 = new Dictionary(); + foreach (List item3 in list) + { + foreach (QuestId item4 in item3) + { + if (!_questData.TryGetQuestInfo(item4, out IQuestInfo questInfo2)) + { + continue; + } + string text = UiThemeUtils.CleanSeString(questInfo2.Name); + float num4 = dictionary[item4]; + float num5 = 8f; + if (ImGui.CalcTextSize(text).X + num5 > num4) + { + for (int num6 = text.Length - 1; num6 > 3; num6--) + { + string text2 = text.Substring(0, num6) + "..."; + if (ImGui.CalcTextSize(text2).X + num5 <= num4) + { + text = text2; + break; + } + } + } + dictionary2[item4] = text; + } + } + return new CachedGraphLayout + { + Layers = list, + NodeWidths = dictionary, + LayerWidths = array, + TruncatedLabels = dictionary2 + }; + } + + private void RefreshNodeStatusCache() + { + _nodeStatusCache.Clear(); + if (_cachedLayout == null) + { + return; + } + foreach (List layer in _cachedLayout.Layers) + { + foreach (QuestId item in layer) + { + Vector4 questNodeColor = GetQuestNodeColor(item); + bool isDone = _questFunctions.IsQuestAcceptedOrComplete(item); + _nodeStatusCache[item] = new NodeStatusEntry(questNodeColor, isDone); + } + } + _nodeStatusRefreshedAt = Environment.TickCount64; + } + + private void DrawChainGraph(QuestChainGraph graph, float panelWidth) + { + float graphZoom = _graphZoom; + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); + Vector2 contentRegionAvail = ImGui.GetContentRegionAvail(); + if (contentRegionAvail.X < 1f) + { + contentRegionAvail.X = 1f; + } + if (contentRegionAvail.Y < 1f) + { + contentRegionAvail.Y = 1f; + } + ImGui.InvisibleButton("##chainCanvas", contentRegionAvail, ImGuiButtonFlags.MouseButtonMask); + bool flag = ImGui.IsItemHovered(); + bool flag2 = ImGui.IsItemActive(); + Vector2 mousePos = ImGui.GetMousePos(); + windowDrawList.PushClipRect(cursorScreenPos, cursorScreenPos + contentRegionAvail, intersectWithCurrentClipRect: true); + windowDrawList.AddRectFilled(cursorScreenPos, cursorScreenPos + contentRegionAvail, ImGui.ColorConvertFloat4ToU32(GraphBackgroundColor)); + float mouseWheel = ImGui.GetIO().MouseWheel; + if (flag && MathF.Abs(mouseWheel) > 0.01f) + { + float graphZoom2 = _graphZoom; + _graphZoom = Math.Clamp(_graphZoom + mouseWheel * 0.1f, 0.25f, 2f); + Vector2 vector = mousePos - cursorScreenPos - contentRegionAvail * 0.5f - _graphOffset; + _graphOffset -= vector * (_graphZoom / graphZoom2 - 1f); + graphZoom = _graphZoom; + } + if (flag2) + { + if (!_isDragging) + { + _isDragging = true; + _dragStart = mousePos; + _dragOrigin = mousePos; + } + if (Vector2.Distance(mousePos, _dragOrigin) > 4f) + { + _dragMoved = true; + } + Vector2 vector2 = mousePos - _dragStart; + _graphOffset += vector2; + _dragStart = mousePos; + } + else + { + _isDragging = false; + } + if (_cachedLayout == null || _cachedLayoutQuestId != graph.SelectedQuest) + { + _cachedLayout = ComputeLayout(graph); + _cachedLayoutQuestId = graph.SelectedQuest; + RefreshNodeStatusCache(); + } + Vector2 vector3 = cursorScreenPos + contentRegionAvail * 0.5f; + List> layers = _cachedLayout.Layers; + Dictionary nodeWidths = _cachedLayout.NodeWidths; + float[] layerWidths = _cachedLayout.LayerWidths; + if (Environment.TickCount64 - _nodeStatusRefreshedAt > 3000) + { + RefreshNodeStatusCache(); + } + if (_scrollToSelected) + { + _scrollToSelected = false; + for (int i = 0; i < layers.Count; i++) + { + int num = layers[i].IndexOf(graph.SelectedQuest); + if (num >= 0) + { + float num2 = (0f - layerWidths[i]) * 0.5f; + for (int j = 0; j < num; j++) + { + num2 += nodeWidths[layers[i][j]] + 20f; + } + float num3 = nodeWidths[graph.SelectedQuest]; + float num4 = (float)i * 81f; + _graphOffset = -new Vector2(num2 + num3 * 0.5f, num4 + 13f) * graphZoom; + break; + } + } + } + Dictionary nodePos = new Dictionary(); + for (int k = 0; k < layers.Count; k++) + { + List list = layers[k]; + float num5 = (0f - layerWidths[k]) * 0.5f; + float num6 = (float)k * 81f; + foreach (QuestId item11 in list) + { + float num7 = nodeWidths[item11]; + Vector2 item = vector3 + new Vector2(num5, num6) * graphZoom + _graphOffset; + Vector2 item2 = vector3 + new Vector2(num5 + num7, num6 + 26f) * graphZoom + _graphOffset; + nodePos[item11] = (item, item2); + num5 += num7 + 20f; + } + } + QuestId questId = null; + bool dragMoved = _dragMoved; + QuestId key; + if (flag && !dragMoved) + { + foreach (KeyValuePair item12 in nodePos) + { + item12.Deconstruct(out key, out var value); + QuestId questId2 = key; + (Vector2, Vector2) tuple = value; + if (mousePos.X >= tuple.Item1.X && mousePos.X <= tuple.Item2.X && mousePos.Y >= tuple.Item1.Y && mousePos.Y <= tuple.Item2.Y) + { + questId = questId2; + break; + } + } + } + QuestId questId3 = questId ?? graph.SelectedQuest; + Dictionary<(QuestId, QuestId), (float, float)> dictionary = new Dictionary<(QuestId, QuestId), (float, float)>(); + Dictionary> dictionary2 = new Dictionary>(); + Dictionary> dictionary3 = new Dictionary>(); + List value2; + foreach (KeyValuePair> prerequisite in graph.Prerequisites) + { + prerequisite.Deconstruct(out key, out value2); + QuestId questId4 = key; + foreach (QuestId item13 in value2) + { + if (nodePos.ContainsKey(item13) && nodePos.ContainsKey(questId4)) + { + if (!dictionary2.TryGetValue(item13, out var value3)) + { + value3 = (dictionary2[item13] = new List()); + } + value3.Add(questId4); + if (!dictionary3.TryGetValue(questId4, out var value4)) + { + value4 = (dictionary3[questId4] = new List()); + } + value4.Add(item13); + } + } + } + foreach (KeyValuePair> item14 in dictionary2) + { + item14.Deconstruct(out key, out value2); + QuestId item3 = key; + List list4 = value2; + list4.Sort(delegate(QuestId a, QuestId b) + { + float num26 = (nodePos[a].Min.X + nodePos[a].Max.X) * 0.5f; + float value9 = (nodePos[b].Min.X + nodePos[b].Max.X) * 0.5f; + return num26.CompareTo(value9); + }); + for (int num8 = 0; num8 < list4.Count; num8++) + { + float item4 = ((list4.Count > 1) ? ((float)num8 / (float)(list4.Count - 1)) : 0.5f); + dictionary[(item3, list4[num8])] = (item4, 0.5f); + } + } + foreach (KeyValuePair> item15 in dictionary3) + { + item15.Deconstruct(out key, out value2); + QuestId item5 = key; + List list5 = value2; + list5.Sort(delegate(QuestId a, QuestId b) + { + float num26 = (nodePos[a].Min.X + nodePos[a].Max.X) * 0.5f; + float value9 = (nodePos[b].Min.X + nodePos[b].Max.X) * 0.5f; + return num26.CompareTo(value9); + }); + for (int num9 = 0; num9 < list5.Count; num9++) + { + float item6 = ((list5.Count > 1) ? ((float)num9 / (float)(list5.Count - 1)) : 0.5f); + (QuestId, QuestId) key2 = (list5[num9], item5); + dictionary[key2] = (dictionary.GetValueOrDefault(key2, (0.5f, 0.5f)).Item1, item6); + } + } + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.9f; + uint num10 = ImGui.ColorConvertFloat4ToU32(accentColor); + float size = 6f * graphZoom; + for (int num11 = 0; num11 < 2; num11++) + { + foreach (KeyValuePair> prerequisite2 in graph.Prerequisites) + { + prerequisite2.Deconstruct(out key, out value2); + QuestId questId5 = key; + List list6 = value2; + if (!nodePos.TryGetValue(questId5, out (Vector2, Vector2) value5)) + { + continue; + } + foreach (QuestId item16 in list6) + { + if (!nodePos.TryGetValue(item16, out (Vector2, Vector2) value6)) + { + continue; + } + bool flag3 = questId3 != null && (questId5 == questId3 || item16 == questId3); + if (num11 == 0 == flag3) + { + continue; + } + uint num12; + float thickness; + if (flag3) + { + num12 = num10; + thickness = 2.5f; + } + else if (questId3 != null) + { + num12 = ImGui.ColorConvertFloat4ToU32(HueToColor((float)(int)item16.Value * 0.618034f % 1f, 0.15f, 0.35f)); + thickness = 1.5f; + } + else + { + num12 = ImGui.ColorConvertFloat4ToU32(HueToColor((float)(int)item16.Value * 0.618034f % 1f, 0.35f, 0.85f)); + thickness = 2f; + } + (float, float) valueOrDefault = dictionary.GetValueOrDefault((item16, questId5), (0.5f, 0.5f)); + float item7 = valueOrDefault.Item1; + float item8 = valueOrDefault.Item2; + float num13 = value6.Item2.X - value6.Item1.X; + float num14 = value5.Item2.X - value5.Item1.X; + float num15 = 10f * graphZoom; + float x = value6.Item1.X + num15 + (num13 - num15 * 2f) * item7; + float x2 = value5.Item1.X + num15 + (num14 - num15 * 2f) * item8; + Vector2 vector4 = new Vector2(x, value6.Item2.Y); + Vector2 vector5 = new Vector2(x2, value5.Item1.Y); + int num16 = graph.Layers.GetValueOrDefault(questId5) - graph.Layers.GetValueOrDefault(item16); + if (num16 > 1) + { + int valueOrDefault2 = graph.Layers.GetValueOrDefault(item16); + float num17 = 0f; + for (int num18 = valueOrDefault2 + 1; num18 < valueOrDefault2 + num16 && num18 < layerWidths.Length; num18++) + { + num17 = MathF.Max(num17, layerWidths[num18] * 0.5f); + } + float num19 = vector3.X + _graphOffset.X; + float x3 = (vector4.X + vector5.X) * 0.5f - num19; + float num20 = ((MathF.Abs(x3) > 1f) ? ((float)MathF.Sign(x3)) : ((item16.Value % 2 == 0) ? 1f : (-1f))); + float x4 = num19 + num20 * (num17 + 40f + (float)(item16.Value % 3) * 16f) * graphZoom; + float num21 = MathF.Min(30f * graphZoom, (vector5.Y - vector4.Y) * 0.2f); + Vector2 p = new Vector2(x4, vector4.Y + num21 * 2.5f); + Vector2 pos = new Vector2(x4, MathF.Max(vector5.Y - num21 * 2.5f, vector4.Y + num21 * 2.5f)); + windowDrawList.PathLineTo(vector4); + windowDrawList.PathBezierCubicCurveTo(new Vector2(vector4.X, vector4.Y + num21 * 1.5f), new Vector2(x4, vector4.Y + num21), p, 20); + windowDrawList.PathLineTo(pos); + windowDrawList.PathBezierCubicCurveTo(new Vector2(x4, vector5.Y - num21), new Vector2(vector5.X, vector5.Y - num21 * 1.5f), vector5, 20); + windowDrawList.PathStroke(num12, ImDrawFlags.None, thickness); + DrawArrowhead(windowDrawList, vector5, new Vector2(vector5.X, vector5.Y - num21), size, num12); + } + else + { + float num22 = (vector5.Y - vector4.Y) * 0.4f; + Vector2 p2 = new Vector2(vector4.X, vector4.Y + num22); + Vector2 vector6 = new Vector2(vector5.X, vector5.Y - num22); + windowDrawList.AddBezierCubic(vector4, p2, vector6, vector5, num12, thickness, 28); + DrawArrowhead(windowDrawList, vector5, vector6, size, num12); + } + } + } + } + float fontSize = ImGui.GetFontSize() * graphZoom; + ImFontPtr font = ImGui.GetFont(); + foreach (List item17 in layers) + { + foreach (QuestId item18 in item17) + { + if (nodePos.TryGetValue(item18, out (Vector2, Vector2) value7)) + { + bool num23 = item18 == graph.SelectedQuest; + bool flag4 = questId == item18; + NodeStatusEntry valueOrDefault3 = _nodeStatusCache.GetValueOrDefault(item18, new NodeStatusEntry(NodeFillLocked, IsDone: false)); + Vector4 vector7 = valueOrDefault3.BgColor; + bool isDone = valueOrDefault3.IsDone; + if (isDone) + { + accentColor = GraphBackgroundColor; + accentColor.W = 1f; + Vector4 value8 = accentColor; + accentColor = vector7; + accentColor.W = 1f; + vector7 = Vector4.Lerp(value8, accentColor, 0.5f); + } + windowDrawList.AddRectFilled(value7.Item1, value7.Item2, ImGui.ColorConvertFloat4ToU32(vector7), 5f); + if (num23) + { + windowDrawList.AddRect(value7.Item1 - Vector2.One, value7.Item2 + Vector2.One, ImGui.ColorConvertFloat4ToU32(UiThemeUtils.AccentColor), 5f, ImDrawFlags.None, 3f); + } + else if (flag4) + { + Vector2 item9 = value7.Item1; + Vector2 item10 = value7.Item2; + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.6f; + windowDrawList.AddRect(item9, item10, ImGui.ColorConvertFloat4ToU32(accentColor), 5f, ImDrawFlags.None, 1.5f); + } + string valueOrDefault4 = _cachedLayout.TruncatedLabels.GetValueOrDefault(item18, item18.ToString()); + float num24 = value7.Item2.X - value7.Item1.X; + float num25 = value7.Item2.Y - value7.Item1.Y; + Vector2 vector8 = ImGui.CalcTextSize(valueOrDefault4) * graphZoom; + Vector2 pos2 = new Vector2(value7.Item1.X + (num24 - vector8.X) * 0.5f, value7.Item1.Y + (num25 - vector8.Y) * 0.5f); + uint col = (isDone ? ImGui.ColorConvertFloat4ToU32(new Vector4(1f, 1f, 1f, 0.5f)) : ImGui.ColorConvertFloat4ToU32(new Vector4(1f, 1f, 1f, 1f))); + windowDrawList.AddText(font, fontSize, pos2, col, valueOrDefault4); + } + } + } + windowDrawList.PopClipRect(); + if (questId != null && ImGui.IsMouseReleased(ImGuiMouseButton.Left) && !dragMoved) + { + _selectedQuestId = questId; + _showDetail = true; + } + if (questId != null && ImGui.IsMouseReleased(ImGuiMouseButton.Right) && !dragMoved && _questData.TryGetQuestInfo(questId, out IQuestInfo questInfo)) + { + _contextMenuNodeId = questId; + QuestJournalUtils?.OpenContextMenu(questInfo); + } + if (!flag2) + { + _dragMoved = false; + } + if (questId != null && _questData.TryGetQuestInfo(questId, out IQuestInfo questInfo2)) + { + _questTooltipComponent.Draw(questInfo2); + } + DrawNodeContextMenu(); + static Vector4 HueToColor(float hue, float sat, float alpha) + { + float num26 = hue * 6f; + float num27 = sat * (1f - MathF.Abs(num26 % 2f - 1f)); + float num28; + float num29; + float num30; + if (num26 < 1f) + { + num28 = sat; + num29 = num27; + num30 = 0f; + } + else if (num26 < 2f) + { + num28 = num27; + num29 = sat; + num30 = 0f; + } + else if (num26 < 3f) + { + num28 = 0f; + num29 = sat; + num30 = num27; + } + else if (num26 < 4f) + { + num28 = 0f; + num29 = num27; + num30 = sat; + } + else if (num26 < 5f) + { + num28 = num27; + num29 = 0f; + num30 = sat; + } + else + { + num28 = sat; + num29 = 0f; + num30 = num27; + } + float num31 = 1f - sat; + return new Vector4(num28 + num31, num29 + num31, num30 + num31, alpha); + } + } + + private void DrawNodeContextMenu() + { + QuestId contextMenuNodeId = _contextMenuNodeId; + if ((object)contextMenuNodeId == null) + { + return; + } + QuestJournalUtils questJournalUtils = QuestJournalUtils; + if (questJournalUtils == null) + { + return; + } + if (!_questData.TryGetQuestInfo(contextMenuNodeId, out IQuestInfo questInfo)) + { + _contextMenuNodeId = null; + return; + } + Questionable.Model.Quest quest = null; + _questRegistry.TryGetQuest(contextMenuNodeId, out quest); + if (!questJournalUtils.DrawContextMenu(questInfo, quest, "QuestChainComponent")) + { + _contextMenuNodeId = null; + } + } + + private static List> ReorderLayers(QuestChainGraph graph) + { + List> list = new List>(); + for (int i = 0; i < graph.LayerOrder.Count; i++) + { + list.Add(new List(graph.LayerOrder[i])); + } + if (list.Count <= 1) + { + return list; + } + Dictionary> dependents = new Dictionary>(); + foreach (var (item, list3) in graph.Prerequisites) + { + foreach (QuestId item2 in list3) + { + if (!dependents.TryGetValue(item2, out List value)) + { + value = new List(); + dependents[item2] = value; + } + value.Add(item); + } + } + for (int j = 0; j < 6; j++) + { + if (j % 2 == 0) + { + for (int k = 1; k < list.Count; k++) + { + List referenceLayer = list[k - 1]; + Dictionary bary = ComputeBarycenters(list[k], referenceLayer, (QuestId qid) => graph.Prerequisites.GetValueOrDefault(qid)); + list[k].Sort((QuestId a, QuestId b) => bary.GetValueOrDefault(a).CompareTo(bary.GetValueOrDefault(b))); + } + continue; + } + for (int num = list.Count - 2; num >= 0; num--) + { + List referenceLayer2 = list[num + 1]; + Dictionary bary2 = ComputeBarycenters(list[num], referenceLayer2, (QuestId qid) => dependents.GetValueOrDefault(qid)); + list[num].Sort((QuestId a, QuestId b) => bary2.GetValueOrDefault(a).CompareTo(bary2.GetValueOrDefault(b))); + } + } + for (int num2 = 0; num2 < 3; num2++) + { + bool flag = false; + for (int num3 = 0; num3 < list.Count; num3++) + { + List list4 = list[num3]; + if (list4.Count < 2) + { + continue; + } + List adjAbove = ((num3 > 0) ? list[num3 - 1] : null); + List adjBelow = ((num3 < list.Count - 1) ? list[num3 + 1] : null); + for (int num4 = 0; num4 < list4.Count - 1; num4++) + { + int num5 = CountCrossings(list4, adjAbove, adjBelow, graph.Prerequisites, dependents); + List list5 = list4; + int index = num4; + int index2 = num4 + 1; + QuestId value2 = list4[num4 + 1]; + QuestId value3 = list4[num4]; + list5[index] = value2; + list4[index2] = value3; + if (CountCrossings(list4, adjAbove, adjBelow, graph.Prerequisites, dependents) < num5) + { + flag = true; + continue; + } + list5 = list4; + index2 = num4; + index = num4 + 1; + value3 = list4[num4 + 1]; + value2 = list4[num4]; + list5[index2] = value3; + list4[index] = value2; + } + } + if (!flag) + { + break; + } + } + return list; + } + + private static int CountCrossings(List layer, List? adjAbove, List? adjBelow, Dictionary> prerequisites, Dictionary> dependents) + { + int num = 0; + if (adjAbove != null) + { + num += CountLayerCrossings(adjAbove, layer, (QuestId qid) => prerequisites.GetValueOrDefault(qid)); + } + if (adjBelow != null) + { + num += CountLayerCrossings(layer, adjBelow, (QuestId qid) => dependents.GetValueOrDefault(qid)); + } + return num; + } + + private static int CountLayerCrossings(List upperLayer, List lowerLayer, Func?> getUpperConnections) + { + int num = 0; + for (int i = 0; i < lowerLayer.Count; i++) + { + List list = getUpperConnections(lowerLayer[i]); + if (list == null) + { + continue; + } + for (int j = i + 1; j < lowerLayer.Count; j++) + { + List list2 = getUpperConnections(lowerLayer[j]); + if (list2 == null) + { + continue; + } + foreach (QuestId item in list) + { + int num2 = upperLayer.IndexOf(item); + if (num2 < 0) + { + continue; + } + foreach (QuestId item2 in list2) + { + int num3 = upperLayer.IndexOf(item2); + if (num3 >= 0 && num2 > num3) + { + num++; + } + } + } + } + } + return num; + } + + private static Dictionary ComputeBarycenters(List layer, List referenceLayer, Func?> getConnected) + { + Dictionary dictionary = new Dictionary(); + foreach (QuestId item in layer) + { + List list = getConnected(item); + if (list != null) + { + List list2 = (from p in list + select referenceLayer.IndexOf(p) into idx + where idx >= 0 + select idx).ToList(); + dictionary[item] = ((list2.Count > 0) ? ((float)list2.Average()) : ((float)referenceLayer.Count * 0.5f)); + } + else + { + dictionary[item] = (float)referenceLayer.Count * 0.5f; + } + } + return dictionary; + } + + private static void DrawArrowhead(ImDrawListPtr drawList, Vector2 tip, Vector2 controlPt, float size, uint color) + { + if (!(size <= 1.5f)) + { + Vector2 vector = Vector2.Normalize(tip - controlPt); + Vector2 vector2 = new Vector2(0f - vector.Y, vector.X); + Vector2 vector3 = tip - vector * size; + drawList.AddTriangleFilled(tip, vector3 - vector2 * size * 0.45f, vector3 + vector2 * size * 0.45f, color); + } + } + + private Vector4 GetQuestNodeColor(QuestId questId) + { + if (_questFunctions.IsQuestAccepted(questId)) + { + return NodeFillActive; + } + if (_questFunctions.IsQuestComplete(questId)) + { + return NodeFillComplete; + } + if (_questFunctions.IsQuestUnobtainable(questId)) + { + return NodeFillUnobtainable; + } + if (!_questFunctions.IsQuestLocked(questId) && _questFunctions.IsReadyToAcceptQuest(questId)) + { + return NodeFillAvailable; + } + return NodeFillLocked; + } +} diff --git a/Questionable/Questionable.Windows.JournalComponents/QuestJournalComponent.cs b/Questionable/Questionable.Windows.JournalComponents/QuestJournalComponent.cs index ec07221..4459c17 100644 --- a/Questionable/Questionable.Windows.JournalComponents/QuestJournalComponent.cs +++ b/Questionable/Questionable.Windows.JournalComponents/QuestJournalComponent.cs @@ -3,15 +3,14 @@ using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; using Dalamud.Bindings.ImGui; using Dalamud.Interface; -using Dalamud.Interface.Colors; -using Dalamud.Interface.Components; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin; -using Dalamud.Utility; using Microsoft.Extensions.Logging; using Questionable.Controller; +using Questionable.Controller.Utils; using Questionable.Data; using Questionable.Functions; using Questionable.Model; @@ -23,6 +22,16 @@ namespace Questionable.Windows.JournalComponents; internal sealed class QuestJournalComponent { + private enum RowType : byte + { + Section, + Category, + Genre, + Quest + } + + private readonly record struct FlatRow(RowType Type, int Depth, int GroupIndex, IQuestInfo? Quest, string Label, JournalCounts Counts); + private sealed record FilteredSection(JournalData.Section Section, List Categories); private sealed record FilteredCategory(JournalData.Category Category, List Genres); @@ -31,12 +40,64 @@ internal sealed class QuestJournalComponent private sealed record JournalCounts(int Available, int Total, int Obtainable, int Completed) { + public string FormattedSupported { get; } = FormatPair(Available, Total); + + public string FormattedCompleted { get; } = FormatPair(Completed, Obtainable); + + public bool IsSupportedComplete + { + get + { + if (Available == Total) + { + return Total > 0; + } + return false; + } + } + + public bool IsCompletedComplete + { + get + { + if (Completed == Obtainable) + { + return Obtainable > 0; + } + return false; + } + } + + private static readonly int PadWidth = 9999.ToString(CultureInfo.CurrentCulture).Length; + public JournalCounts() : this(0, 0, 0, 0) { } + + private static string FormatPair(int n, int d) + { + if (d != 0) + { + return n.ToString(CultureInfo.CurrentCulture).PadLeft(PadWidth) + " / " + d.ToString(CultureInfo.CurrentCulture).PadLeft(PadWidth); + } + return "-".PadLeft(PadWidth) + " / " + "-".PadLeft(PadWidth); + } + + [CompilerGenerated] + private JournalCounts(JournalCounts original) + { + Available = original.Available; + Total = original.Total; + Obtainable = original.Obtainable; + Completed = original.Completed; + FormattedSupported = original.FormattedSupported; + FormattedCompleted = original.FormattedCompleted; + } } + private readonly record struct CachedQuestDisplay(Vector4 SupportColor, FontAwesomeIcon SupportIcon, Vector4 CompletionColor, FontAwesomeIcon CompletionIcon, string CompletionText); + internal sealed class FilterConfiguration { public string SearchText = string.Empty; @@ -76,6 +137,14 @@ internal sealed class QuestJournalComponent private readonly Dictionary _sectionCounts = new Dictionary(); + private int _refreshGenreIndex = -1; + + private int _refreshDisplayIndex = -1; + + private bool _refreshHideSeasonal; + + private const int GenresPerFrame = 20; + private readonly JournalData _journalData; private readonly QuestRegistry _questRegistry; @@ -98,6 +167,12 @@ internal sealed class QuestJournalComponent private List _filteredSections = new List(); + private readonly Dictionary _displayCache = new Dictionary(); + + private List _flatRows = new List(); + + private readonly HashSet<(RowType Type, int GroupIndex)> _expandedGroups = new HashSet<(RowType, int)>(); + private bool _lastHideSeasonalGlobally; internal FilterConfiguration Filter { get; } = new FilterConfiguration(); @@ -117,12 +192,11 @@ internal sealed class QuestJournalComponent _lastHideSeasonalGlobally = _configuration.General.HideSeasonalEventsFromJournalProgress; } - public void DrawQuests() + public unsafe void DrawQuests() { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Quests"); - if (!tabItemDisposable) + if (_refreshGenreIndex >= 0 || _refreshDisplayIndex >= 0) { - return; + TickRefresh(); } bool hideSeasonalEventsFromJournalProgress = _configuration.General.HideSeasonalEventsFromJournalProgress; if (hideSeasonalEventsFromJournalProgress != _lastHideSeasonalGlobally) @@ -131,142 +205,123 @@ internal sealed class QuestJournalComponent _logger.LogDebug("Configuration change detected: HideSeasonalEventsFromJournalProgress={Hide} - refreshing journal", hideSeasonalEventsFromJournalProgress); UpdateFilter(); } - if (ImGui.CollapsingHeader("Explanation", ImGuiTreeNodeFlags.DefaultOpen)) - { - ImGui.Text("The list below contains all quests that appear in your journal."); - ImGui.BulletText("'Supported' lists quests that Questionable can do for you"); - ImGui.BulletText("'Completed' lists quests your current character has completed."); - ImGui.BulletText("Not all quests can be completed even if they're listed as available, e.g. starting city quest chains or past seasonal events."); - ImGui.Spacing(); - ImGui.Separator(); - ImGui.Spacing(); - } - QuestJournalUtils.ShowFilterContextMenu(this); - ImGui.SameLine(); _questJournalUtils.AddAllAvailableQuests(); ImGui.SameLine(); - if (ImGuiComponents.IconButton(FontAwesomeIcon.GlobeEurope)) - { - Util.OpenLink("https://wigglymuffin.github.io/FFXIV-Tools/"); - } - if (ImGui.IsItemHovered()) - { - ImGui.SetTooltip("View All Quest Paths Online"); - } - ImGui.SameLine(); - ImGui.SetNextItemWidth(ImGui.GetContentRegionAvail().X); - if (ImGui.InputTextWithHint(string.Empty, "Search quests and categories", ref Filter.SearchText, 256)) + if (UiThemeUtils.SearchInput("##QuestSearch", ref Filter.SearchText, -1E-45f, "Search quests and categories")) { UpdateFilter(); } - if (_filteredSections.Count > 0) + int num = 0 | (UiThemeUtils.WrappedCheckbox("Available only", ref Filter.AvailableOnly) ? 1 : 0); + ImGui.SameLine(); + int num2 = num | (UiThemeUtils.WrappedCheckbox("Hide without paths", ref Filter.HideNoPaths) ? 1 : 0); + ImGui.SameLine(); + if (((uint)num2 | (UiThemeUtils.WrappedCheckbox("Hide unobtainable", ref Filter.HideUnobtainable) ? 1u : 0u)) != 0) { - using (ImRaii.TableDisposable tableDisposable = ImRaii.Table("Quests", 3, ImGuiTableFlags.NoSavedSettings)) + UpdateFilter(); + } + ImGui.Separator(); + bool flag = _refreshGenreIndex >= 0 || _refreshDisplayIndex >= 0; + if (flag) + { + ImGui.TextColored(in UiThemeUtils.StatusActive, "Loading..."); + } + if (_flatRows.Count > 0) + { + float x; + using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) + { + x = ImGui.CalcTextSize(FontAwesomeIcon.Check.ToIconString()).X; + } + float fontGlobalScale = ImGui.GetIO().FontGlobalScale; + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable("Quests", 3, ImGuiTableFlags.NoSavedSettings | ImGuiTableFlags.ScrollY); + if (!tableDisposable) { - if (!tableDisposable) - { - return; - } - ImGui.TableSetupColumn("Name", ImGuiTableColumnFlags.NoHide); - ImGui.TableSetupColumn("Supported", ImGuiTableColumnFlags.WidthFixed, 120f * ImGui.GetIO().FontGlobalScale); - ImGui.TableSetupColumn("Completed", ImGuiTableColumnFlags.WidthFixed, 120f * ImGui.GetIO().FontGlobalScale); - ImGui.TableHeadersRow(); - foreach (FilteredSection filteredSection in _filteredSections) - { - DrawSection(filteredSection); - } return; } + ImGui.TableSetupColumn("Name", ImGuiTableColumnFlags.NoHide); + ImGui.TableSetupColumn("Supported", ImGuiTableColumnFlags.WidthFixed, 120f * fontGlobalScale); + ImGui.TableSetupColumn("Completed", ImGuiTableColumnFlags.WidthFixed, 120f * fontGlobalScale); + ImGui.TableHeadersRow(); + float textLineHeightWithSpacing = ImGui.GetTextLineHeightWithSpacing(); + bool flag2 = false; + ImGuiListClipper* intPtr = ImGuiNative.ImGuiListClipper(); + ImGuiNative.Begin(intPtr, _flatRows.Count, textLineHeightWithSpacing); + ImGuiListClipperPtr imGuiListClipperPtr = intPtr; + try + { + while (imGuiListClipperPtr.Step()) + { + for (int i = imGuiListClipperPtr.DisplayStart; i < imGuiListClipperPtr.DisplayEnd; i++) + { + if (DrawFlatRow(_flatRows[i], x)) + { + flag2 = true; + } + } + } + } + finally + { + imGuiListClipperPtr.Destroy(); + } + if (flag2) + { + RebuildFlatRows(); + } + return; + } + if (!flag) + { + UiThemeUtils.EmptyState(FontAwesomeIcon.Book, "No quest or category matches your search."); } - ImGui.Text("No quest or category matches your search."); } - private void DrawSection(FilteredSection filter) + private bool DrawFlatRow(FlatRow row, float supportIconSpacing) { - var (count, num5, total, count2) = _sectionCounts.GetValueOrDefault(filter.Section, new JournalCounts()); - if (num5 == 0) - { - return; - } ImGui.TableNextRow(); ImGui.TableNextColumn(); - bool num6 = ImGui.TreeNodeEx(filter.Section.Name, ImGuiTreeNodeFlags.SpanFullWidth); - ImGui.TableNextColumn(); - DrawCount(count, num5); - ImGui.TableNextColumn(); - DrawCount(count2, total); - if (!num6) + bool result = false; + float num = (float)row.Depth * ImGui.GetStyle().IndentSpacing; + if (row.Type == RowType.Quest) { - return; + ImGui.SetCursorPosX(ImGui.GetCursorPosX() + num); + DrawQuestName(row.Quest, out var expansionHovered); + _questRegistry.TryGetQuest(row.Quest.QuestId, out Quest quest); + DrawQuestTooltipAndContextMenu(row.Quest, quest, expansionHovered); + ImGui.TableNextColumn(); + DrawQuestSupportStatus(row.Quest, supportIconSpacing); + ImGui.TableNextColumn(); + DrawQuestCompletionStatus(row.Quest); } - foreach (FilteredCategory category in filter.Categories) + else { - DrawCategory(category); + (RowType, int) item = (row.Type, row.GroupIndex); + bool flag = _expandedGroups.Contains(item); + ImGui.SetCursorPosX(ImGui.GetCursorPosX() + num); + UiThemeUtils.DrawTrackerGroupCaret(_pluginInterface.UiBuilder.IconFontFixedWidthHandle, flag); + ImGui.SameLine(); + ImU8String label = new ImU8String(5, 2); + label.AppendFormatted(row.Label); + label.AppendLiteral("##grp"); + label.AppendFormatted(row.GroupIndex); + if (ImGui.Selectable(label)) + { + if (flag) + { + _expandedGroups.Remove(item); + } + else + { + _expandedGroups.Add(item); + } + result = true; + } + ImGui.TableNextColumn(); + UiThemeUtils.DrawTrackerCount(row.Counts.FormattedSupported, row.Counts.IsSupportedComplete, row.Counts.Total == 0); + ImGui.TableNextColumn(); + UiThemeUtils.DrawTrackerCount(row.Counts.FormattedCompleted, row.Counts.IsCompletedComplete, row.Counts.Obtainable == 0); } - ImGui.TreePop(); - } - - private void DrawCategory(FilteredCategory filter) - { - var (count, num5, total, count2) = _categoryCounts.GetValueOrDefault(filter.Category, new JournalCounts()); - if (num5 == 0) - { - return; - } - ImGui.TableNextRow(); - ImGui.TableNextColumn(); - bool num6 = ImGui.TreeNodeEx(filter.Category.Name, ImGuiTreeNodeFlags.SpanFullWidth); - ImGui.TableNextColumn(); - DrawCount(count, num5); - ImGui.TableNextColumn(); - DrawCount(count2, total); - if (!num6) - { - return; - } - foreach (FilteredGenre genre in filter.Genres) - { - DrawGenre(genre); - } - ImGui.TreePop(); - } - - private void DrawGenre(FilteredGenre filter) - { - var (count, num5, total, count2) = _genreCounts.GetValueOrDefault(filter.Genre, new JournalCounts()); - if (num5 == 0) - { - return; - } - ImGui.TableNextRow(); - ImGui.TableNextColumn(); - bool num6 = ImGui.TreeNodeEx(filter.Genre.Name, ImGuiTreeNodeFlags.SpanFullWidth); - ImGui.TableNextColumn(); - DrawCount(count, num5); - ImGui.TableNextColumn(); - DrawCount(count2, total); - if (!num6) - { - return; - } - foreach (IQuestInfo quest in filter.Quests) - { - DrawQuest(quest); - } - ImGui.TreePop(); - } - - private void DrawQuest(IQuestInfo questInfo) - { - _questRegistry.TryGetQuest(questInfo.QuestId, out Quest quest); - ImGui.TableNextRow(); - ImGui.TableNextColumn(); - DrawQuestName(questInfo, out var expansionHovered); - DrawQuestTooltipAndContextMenu(questInfo, quest, expansionHovered); - ImGui.TableNextColumn(); - DrawQuestSupportStatus(questInfo, quest); - ImGui.TableNextColumn(); - DrawQuestCompletionStatus(questInfo); + return result; } private static void DrawQuestName(IQuestInfo questInfo, out bool expansionHovered) @@ -312,100 +367,29 @@ internal sealed class QuestJournalComponent _questJournalUtils.ShowContextMenu(questInfo, quest, "QuestJournalComponent"); } - private void DrawQuestSupportStatus(IQuestInfo questInfo, Quest? quest) + private void DrawQuestSupportStatus(IQuestInfo questInfo, float supportIconSpacing) { - float num; - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) - { - num = ImGui.GetColumnWidth() / 2f - ImGui.CalcTextSize(FontAwesomeIcon.Check.ToIconString()).X; - } + float num = ImGui.GetColumnWidth() / 2f - supportIconSpacing; ImGui.SetCursorPosX(ImGui.GetCursorPosX() + num); - if (_questFunctions.IsQuestRemoved(questInfo.QuestId)) + if (_displayCache.TryGetValue(questInfo.QuestId, out var value)) { - _uiUtils.ChecklistItem(string.Empty, ImGuiColors.DalamudGrey, FontAwesomeIcon.Minus); - return; + _uiUtils.ChecklistItem(string.Empty, value.SupportColor, value.SupportIcon); } - if (quest != null) + else { - QuestRoot root = quest.Root; - if (root != null && !root.Disabled) - { - List issues = _questValidator.GetIssues(quest.Id); - if (issues.Any((ValidationIssue x) => x.Severity == EIssueSeverity.Error)) - { - _uiUtils.ChecklistItem(string.Empty, ImGuiColors.DalamudRed, FontAwesomeIcon.ExclamationTriangle); - } - else if (issues.Count > 0) - { - _uiUtils.ChecklistItem(string.Empty, ImGuiColors.ParsedBlue, FontAwesomeIcon.InfoCircle); - } - else - { - _uiUtils.ChecklistItem(string.Empty, complete: true); - } - return; - } + _uiUtils.ChecklistItem(string.Empty, complete: false); } - _uiUtils.ChecklistItem(string.Empty, complete: false); } private void DrawQuestCompletionStatus(IQuestInfo questInfo) { - if (_questFunctions.IsQuestAccepted(questInfo.QuestId)) + if (_displayCache.TryGetValue(questInfo.QuestId, out var value)) { - _uiUtils.ChecklistItem("Active", ImGuiColors.DalamudYellow, FontAwesomeIcon.PersonWalkingArrowRight); - } - else if (_questFunctions.IsQuestComplete(questInfo.QuestId)) - { - DrawCompletedQuestStatus(questInfo); + _uiUtils.ChecklistItem(value.CompletionText, value.CompletionColor, value.CompletionIcon); } else { - DrawIncompleteQuestStatus(questInfo); - } - } - - private void DrawCompletedQuestStatus(IQuestInfo questInfo) - { - if (!questInfo.IsRepeatable) - { - _uiUtils.ChecklistItem("Complete", ImGuiColors.ParsedGreen, FontAwesomeIcon.Check); - return; - } - bool num = _questFunctions.IsQuestLocked(questInfo.QuestId); - bool flag = _questFunctions.IsReadyToAcceptQuest(questInfo.QuestId); - if (!num && flag) - { - _uiUtils.ChecklistItem("Available", ImGuiColors.ParsedBlue, FontAwesomeIcon.Running); - } - else - { - _uiUtils.ChecklistItem("Complete", ImGuiColors.ParsedGreen, FontAwesomeIcon.Check); - } - } - - private void DrawIncompleteQuestStatus(IQuestInfo questInfo) - { - bool num = IsQuestExpired(questInfo); - bool flag = _questFunctions.IsQuestUnobtainable(questInfo.QuestId); - bool flag2 = _questFunctions.IsQuestBlacklisted(questInfo.QuestId); - bool flag3 = _questFunctions.IsQuestLocked(questInfo.QuestId); - bool flag4 = _questFunctions.IsReadyToAcceptQuest(questInfo.QuestId); - if (num || flag) - { - _uiUtils.ChecklistItem("Unobtainable", ImGuiColors.DalamudGrey, FontAwesomeIcon.Minus); - } - else if (flag2) - { - _uiUtils.ChecklistItem("Blacklisted", ImGuiColors.DalamudGrey3, FontAwesomeIcon.Ban); - } - else if (flag3 || !flag4 || !_questRegistry.IsKnownQuest(questInfo.QuestId)) - { - _uiUtils.ChecklistItem("Locked", ImGuiColors.DalamudRed, FontAwesomeIcon.Times); - } - else - { - _uiUtils.ChecklistItem("Available", ImGuiColors.DalamudYellow, FontAwesomeIcon.Running); + _uiUtils.ChecklistItem("Unknown", UiThemeUtils.StatusUnobtainable, FontAwesomeIcon.Question); } } @@ -415,38 +399,61 @@ internal sealed class QuestJournalComponent if (seasonalQuestExpiry.HasValue) { DateTime valueOrDefault = seasonalQuestExpiry.GetValueOrDefault(); - DateTime dateTime = ((valueOrDefault.Kind == DateTimeKind.Utc) ? valueOrDefault : valueOrDefault.ToUniversalTime()); - return DateTime.UtcNow > dateTime; + return DateTime.UtcNow > ExpiryUtils.NormalizeExpiry(valueOrDefault); } return false; } - private static void DrawCount(int count, int total) + private void RebuildFlatRows() { - string text = 9999.ToString(CultureInfo.CurrentCulture); - ImGui.PushFont(UiBuilder.MonoFont); - if (total == 0) + List list = new List(); + foreach (FilteredSection filteredSection in _filteredSections) { - Vector4 col = ImGuiColors.DalamudGrey; - ImU8String text2 = new ImU8String(3, 2); - text2.AppendFormatted("-".PadLeft(text.Length)); - text2.AppendLiteral(" / "); - text2.AppendFormatted("-".PadLeft(text.Length)); - ImGui.TextColored(in col, text2); - } - else - { - string text3 = count.ToString(CultureInfo.CurrentCulture).PadLeft(text.Length) + " / " + total.ToString(CultureInfo.CurrentCulture).PadLeft(text.Length); - if (count == total) + JournalCounts valueOrDefault = _sectionCounts.GetValueOrDefault(filteredSection.Section, new JournalCounts()); + if (valueOrDefault.Total == 0) { - ImGui.TextColored(ImGuiColors.ParsedGreen, text3); + continue; } - else + int id = (int)filteredSection.Section.Id; + list.Add(new FlatRow(RowType.Section, 0, id, null, filteredSection.Section.Name, valueOrDefault)); + if (!_expandedGroups.Contains((RowType.Section, id))) { - ImGui.TextUnformatted(text3); + continue; + } + foreach (FilteredCategory category in filteredSection.Categories) + { + JournalCounts valueOrDefault2 = _categoryCounts.GetValueOrDefault(category.Category, new JournalCounts()); + if (valueOrDefault2.Total == 0) + { + continue; + } + int id2 = (int)category.Category.Id; + list.Add(new FlatRow(RowType.Category, 1, id2, null, category.Category.Name, valueOrDefault2)); + if (!_expandedGroups.Contains((RowType.Category, id2))) + { + continue; + } + foreach (FilteredGenre genre in category.Genres) + { + JournalCounts valueOrDefault3 = _genreCounts.GetValueOrDefault(genre.Genre, new JournalCounts()); + if (valueOrDefault3.Total == 0) + { + continue; + } + int id3 = (int)genre.Genre.Id; + list.Add(new FlatRow(RowType.Genre, 2, id3, null, genre.Genre.Name, valueOrDefault3)); + if (!_expandedGroups.Contains((RowType.Genre, id3))) + { + continue; + } + foreach (IQuestInfo quest in genre.Quests) + { + list.Add(new FlatRow(RowType.Quest, 3, 0, quest, string.Empty, new JournalCounts())); + } + } } } - ImGui.PopFont(); + _flatRows = list; } public void UpdateFilter() @@ -456,6 +463,7 @@ internal sealed class QuestJournalComponent where x.Categories.Count > 0 select x).ToList(); RefreshCounts(); + RebuildFlatRows(); } private FilteredSection FilterSection(JournalData.Section section, FilterConfiguration filter) @@ -493,77 +501,255 @@ internal sealed class QuestJournalComponent internal void RefreshCounts() { - _genreCounts.Clear(); + StartRefresh(); + } + + private void StartRefresh() + { + _refreshHideSeasonal = _configuration.General.HideSeasonalEventsFromJournalProgress; + _refreshGenreIndex = 0; + _refreshDisplayIndex = -1; + _logger.LogDebug("Starting incremental journal refresh. HideSeasonalEventsFromJournalProgress={Hide}", _refreshHideSeasonal); + } + + private void TickRefresh() + { + if (_refreshGenreIndex >= 0) + { + List genres = _journalData.Genres; + int num = Math.Min(_refreshGenreIndex + 20, genres.Count); + for (int i = _refreshGenreIndex; i < num; i++) + { + JournalData.Genre genre = genres[i]; + List obj = ((_refreshHideSeasonal && _journalData.SeasonalEventsCategoryId.HasValue && genre.CategoryId == _journalData.SeasonalEventsCategoryId.Value) ? genre.Quests.Where((IQuestInfo q) => !IsSeasonal(q)).ToList() : genre.Quests.ToList()); + int num2 = 0; + int num3 = 0; + int num4 = 0; + int num5 = 0; + foreach (IQuestInfo item in obj) + { + if (!_questFunctions.IsQuestRemoved(item.QuestId)) + { + num3++; + if (_questRegistry.TryGetQuest(item.QuestId, out Quest quest) && !quest.Root.Disabled) + { + num2++; + } + } + if (!_questFunctions.IsQuestUnobtainable(item.QuestId)) + { + num4++; + } + if (_questFunctions.IsQuestComplete(item.QuestId)) + { + num5++; + } + } + _genreCounts[genre] = new JournalCounts(num2, num3, num4, num5); + } + _refreshGenreIndex = num; + if (_refreshGenreIndex >= genres.Count) + { + _refreshGenreIndex = -1; + AggregateCategoriesAndSections(); + RebuildFlatRows(); + _refreshDisplayIndex = 0; + } + } + else if (_refreshDisplayIndex >= 0) + { + TickDisplayCache(); + } + } + + private void AggregateCategoriesAndSections() + { _categoryCounts.Clear(); _sectionCounts.Clear(); - bool hideSeasonalEventsFromJournalProgress = _configuration.General.HideSeasonalEventsFromJournalProgress; - foreach (JournalData.Genre genre in _journalData.Genres) - { - List source = ((hideSeasonalEventsFromJournalProgress && _journalData.SeasonalEventsCategoryId.HasValue && genre.CategoryId == _journalData.SeasonalEventsCategoryId.Value) ? genre.Quests.Where((IQuestInfo q) => !IsSeasonal(q)).ToList() : genre.Quests.ToList()); - Quest quest; - int available = source.Count((IQuestInfo x) => _questRegistry.TryGetQuest(x.QuestId, out quest) && !quest.Root.Disabled && !_questFunctions.IsQuestRemoved(x.QuestId)); - int total = source.Count((IQuestInfo x) => !_questFunctions.IsQuestRemoved(x.QuestId)); - int obtainable = source.Count((IQuestInfo x) => !_questFunctions.IsQuestUnobtainable(x.QuestId)); - int completed = source.Count((IQuestInfo x) => _questFunctions.IsQuestComplete(x.QuestId)); - _genreCounts[genre] = new JournalCounts(available, total, obtainable, completed); - } foreach (JournalData.Category category in _journalData.Categories) { - if (!hideSeasonalEventsFromJournalProgress || !_journalData.SeasonalEventsCategoryId.HasValue || category.Id != _journalData.SeasonalEventsCategoryId.Value) + if (!_refreshHideSeasonal || !_journalData.SeasonalEventsCategoryId.HasValue || category.Id != _journalData.SeasonalEventsCategoryId.Value) { - List source2 = _genre_counts_or_default(category); - int available2 = source2.Sum((JournalCounts x) => x.Available); - int total2 = source2.Sum((JournalCounts x) => x.Total); - int obtainable2 = source2.Sum((JournalCounts x) => x.Obtainable); - int completed2 = source2.Sum((JournalCounts x) => x.Completed); - _categoryCounts[category] = new JournalCounts(available2, total2, obtainable2, completed2); + List genreCountsForCategory = GetGenreCountsForCategory(category); + int available = genreCountsForCategory.Sum((JournalCounts x) => x.Available); + int total = genreCountsForCategory.Sum((JournalCounts x) => x.Total); + int obtainable = genreCountsForCategory.Sum((JournalCounts x) => x.Obtainable); + int completed = genreCountsForCategory.Sum((JournalCounts x) => x.Completed); + _categoryCounts[category] = new JournalCounts(available, total, obtainable, completed); } } foreach (JournalData.Section section in _journalData.Sections) { - List source3 = (from x in _categoryCounts + List source = (from x in _categoryCounts where section.Categories.Contains(x.Key) select x.Value).ToList(); - int available3 = source3.Sum((JournalCounts x) => x.Available); - int total3 = source3.Sum((JournalCounts x) => x.Total); - int obtainable3 = source3.Sum((JournalCounts x) => x.Obtainable); - int completed3 = source3.Sum((JournalCounts x) => x.Completed); - _sectionCounts[section] = new JournalCounts(available3, total3, obtainable3, completed3); + int available2 = source.Sum((JournalCounts x) => x.Available); + int total2 = source.Sum((JournalCounts x) => x.Total); + int obtainable2 = source.Sum((JournalCounts x) => x.Obtainable); + int completed2 = source.Sum((JournalCounts x) => x.Completed); + _sectionCounts[section] = new JournalCounts(available2, total2, obtainable2, completed2); } int num = _sectionCounts.Values.Sum((JournalCounts x) => x.Total); _logger.LogDebug("RefreshCounts complete. Sections={Sections}, Categories={Categories}, Genres={Genres}, TotalQuests={Total}", _sectionCounts.Count, _categoryCounts.Count, _genreCounts.Count, num); } - private List _genre_counts_or_default(JournalData.Category category) + private void TickDisplayCache() { - return (from x in _genreCounts - where category.Genres.Contains(x.Key) - select x.Value).ToList(); + List genres = _journalData.Genres; + int num = 0; + while (_refreshDisplayIndex < genres.Count && num < 20) + { + foreach (IQuestInfo quest2 in genres[_refreshDisplayIndex].Quests) + { + _questRegistry.TryGetQuest(quest2.QuestId, out Quest quest); + Vector4 supportColor; + FontAwesomeIcon supportIcon; + if (_questFunctions.IsQuestRemoved(quest2.QuestId)) + { + supportColor = UiThemeUtils.StatusUnobtainable; + supportIcon = FontAwesomeIcon.Minus; + } + else + { + if (quest != null) + { + QuestRoot root = quest.Root; + if (root != null && !root.Disabled) + { + List issues = _questValidator.GetIssues(EPathType.Quest, quest.Id.ToString()); + if (issues.Any((ValidationIssue x) => x.Severity == EIssueSeverity.Error)) + { + supportColor = UiThemeUtils.StatusLocked; + supportIcon = FontAwesomeIcon.ExclamationTriangle; + } + else if (issues.Count > 0) + { + supportColor = UiThemeUtils.StatusAvailableComplete; + supportIcon = FontAwesomeIcon.InfoCircle; + } + else + { + supportColor = UiThemeUtils.StatusComplete; + supportIcon = FontAwesomeIcon.Check; + } + goto IL_011b; + } + } + supportColor = UiThemeUtils.StatusLocked; + supportIcon = FontAwesomeIcon.Times; + } + goto IL_011b; + IL_011b: + Vector4 completionColor; + FontAwesomeIcon completionIcon; + string completionText; + if (_questFunctions.IsQuestAccepted(quest2.QuestId)) + { + completionColor = UiThemeUtils.StatusActive; + completionIcon = FontAwesomeIcon.PersonWalkingArrowRight; + completionText = "Active"; + } + else if (_questFunctions.IsQuestComplete(quest2.QuestId)) + { + if (!quest2.IsRepeatable) + { + completionColor = UiThemeUtils.StatusComplete; + completionIcon = FontAwesomeIcon.Check; + completionText = "Complete"; + } + else + { + bool num2 = _questFunctions.IsQuestLocked(quest2.QuestId); + bool flag = _questFunctions.IsReadyToAcceptQuest(quest2.QuestId); + if (!num2 && flag) + { + completionColor = UiThemeUtils.StatusAvailableComplete; + completionIcon = FontAwesomeIcon.Running; + completionText = "Available"; + } + else + { + completionColor = UiThemeUtils.StatusComplete; + completionIcon = FontAwesomeIcon.Check; + completionText = "Complete"; + } + } + } + else + { + bool num3 = IsQuestExpired(quest2); + bool flag2 = _questFunctions.IsQuestUnobtainable(quest2.QuestId); + bool flag3 = _questFunctions.IsQuestBlacklisted(quest2.QuestId); + bool flag4 = _questFunctions.IsQuestLocked(quest2.QuestId); + bool flag5 = _questFunctions.IsReadyToAcceptQuest(quest2.QuestId); + if (num3 || flag2) + { + completionColor = UiThemeUtils.StatusUnobtainable; + completionIcon = FontAwesomeIcon.Minus; + completionText = "Unobtainable"; + } + else if (flag3) + { + completionColor = UiThemeUtils.StatusBlacklisted; + completionIcon = FontAwesomeIcon.Ban; + completionText = "Blacklisted"; + } + else if (flag4 || !flag5 || !_questRegistry.IsKnownQuest(quest2.QuestId)) + { + completionColor = UiThemeUtils.StatusLocked; + completionIcon = FontAwesomeIcon.Times; + completionText = "Locked"; + } + else + { + completionColor = UiThemeUtils.StatusAvailable; + completionIcon = FontAwesomeIcon.Running; + completionText = "Available"; + } + } + _displayCache[quest2.QuestId] = new CachedQuestDisplay(supportColor, supportIcon, completionColor, completionIcon, completionText); + } + _refreshDisplayIndex++; + num++; + } + if (_refreshDisplayIndex >= genres.Count) + { + _refreshDisplayIndex = -1; + _logger.LogDebug("Display cache refresh complete. Cached={Count}", _displayCache.Count); + } + } + + private List GetGenreCountsForCategory(JournalData.Category category) + { + List list = new List(category.Genres.Count); + foreach (JournalData.Genre genre in category.Genres) + { + if (_genreCounts.TryGetValue(genre, out JournalCounts value)) + { + list.Add(value); + } + } + return list; } internal void ClearCounts(int type, int code) { + _refreshGenreIndex = -1; + _refreshDisplayIndex = -1; foreach (KeyValuePair item in _genreCounts.ToList()) { - _genreCounts[item.Key] = item.Value with - { - Completed = 0 - }; + _genreCounts[item.Key] = new JournalCounts(item.Value.Available, item.Value.Total, item.Value.Obtainable, 0); } foreach (KeyValuePair item2 in _categoryCounts.ToList()) { - _categoryCounts[item2.Key] = item2.Value with - { - Completed = 0 - }; + _categoryCounts[item2.Key] = new JournalCounts(item2.Value.Available, item2.Value.Total, item2.Value.Obtainable, 0); } foreach (KeyValuePair item3 in _sectionCounts.ToList()) { - _sectionCounts[item3.Key] = item3.Value with - { - Completed = 0 - }; + _sectionCounts[item3.Key] = new JournalCounts(item3.Value.Available, item3.Value.Total, item3.Value.Obtainable, 0); } + _displayCache.Clear(); + RebuildFlatRows(); } private static bool IsCategorySectionGenreMatch(FilterConfiguration filter, string name) @@ -598,10 +784,6 @@ internal sealed class QuestJournalComponent private static bool IsSeasonal(IQuestInfo q) { - if (q == null) - { - return false; - } if (q.IsSeasonalQuest) { return true; diff --git a/Questionable/Questionable.Windows.JournalComponents/QuestJournalUtils.cs b/Questionable/Questionable.Windows.JournalComponents/QuestJournalUtils.cs index 0f97b39..57238ed 100644 --- a/Questionable/Questionable.Windows.JournalComponents/QuestJournalUtils.cs +++ b/Questionable/Questionable.Windows.JournalComponents/QuestJournalUtils.cs @@ -1,8 +1,8 @@ +using System; using System.Collections.Generic; using System.Linq; using Dalamud.Bindings.ImGui; using Dalamud.Interface; -using Dalamud.Interface.Components; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game; @@ -19,25 +19,41 @@ internal sealed class QuestJournalUtils { private readonly QuestController _questController; + private readonly FateController _fateController; + + private readonly SeasonalDutyController _seasonalDutyController; + + private readonly CustomDeliveryController _customDeliveryController; + + private readonly AttunementController _attunementController; + private readonly QuestFunctions _questFunctions; private readonly QuestData _questData; private readonly QuestRegistry _questRegistry; - private readonly ICommandManager _commandManager; + private readonly QuestChainComponent _questChainComponent; private readonly IChatGui _chatGui; private readonly ILogger _logger; - public QuestJournalUtils(QuestController questController, QuestFunctions questFunctions, QuestData questData, QuestRegistry questRegistry, ICommandManager commandManager, IChatGui chatGui, ILogger logger) + private int _availableQuestCount; + + private long _nextAvailableCountRefreshMs; + + public QuestJournalUtils(QuestController questController, FateController fateController, SeasonalDutyController seasonalDutyController, CustomDeliveryController customDeliveryController, AttunementController attunementController, QuestFunctions questFunctions, QuestData questData, QuestRegistry questRegistry, QuestChainComponent questChainComponent, IChatGui chatGui, ILogger logger) { _questController = questController; + _fateController = fateController; + _seasonalDutyController = seasonalDutyController; + _customDeliveryController = customDeliveryController; + _attunementController = attunementController; _questFunctions = questFunctions; _questData = questData; _questRegistry = questRegistry; - _commandManager = commandManager; + _questChainComponent = questChainComponent; _chatGui = chatGui; _logger = logger; } @@ -46,23 +62,37 @@ internal sealed class QuestJournalUtils { if (ImGui.IsItemClicked(ImGuiMouseButton.Right)) { - ImU8String strId = new ImU8String(12, 1); - strId.AppendLiteral("##QuestPopup"); - strId.AppendFormatted(questInfo.QuestId); - ImGui.OpenPopup(strId); + OpenContextMenu(questInfo); } + DrawContextMenu(questInfo, quest, label); + } + + public void OpenContextMenu(IQuestInfo questInfo) + { + ImU8String strId = new ImU8String(12, 1); + strId.AppendLiteral("##QuestPopup"); + strId.AppendFormatted(questInfo.QuestId); + ImGui.OpenPopup(strId); + } + + public bool DrawContextMenu(IQuestInfo questInfo, Quest? quest, string label) + { ImU8String id = new ImU8String(12, 1); id.AppendLiteral("##QuestPopup"); id.AppendFormatted(questInfo.QuestId); using ImRaii.PopupDisposable popupDisposable = ImRaii.Popup(id); if (!popupDisposable) { - return; + return false; } - using (ImRaii.Disabled(!_questFunctions.IsReadyToAcceptQuest(questInfo.QuestId) || quest == null || quest.Root.Disabled)) + using (ImRaii.Disabled(!_questFunctions.IsReadyToAcceptQuest(questInfo.QuestId) || quest == null || quest.Root.Disabled || _fateController.IsRunning || _seasonalDutyController.IsRunning || _customDeliveryController.IsRunning || _attunementController.IsRunning)) { if (ImGui.MenuItem("Start as next quest")) { + _fateController.Stop("Quest journal start"); + _seasonalDutyController.Stop("Quest journal start"); + _customDeliveryController.Stop("Quest journal start"); + _attunementController.Stop("Quest journal start"); _questController.SetNextQuest(quest); _questController.Start(label); } @@ -106,17 +136,15 @@ internal sealed class QuestJournalUtils ImGui.SetTooltip((incompletePrerequisiteQuests.Count == 1) ? "Add this quest to the priority list" : $"Add this quest and {incompletePrerequisiteQuests.Count - 1} required {((incompletePrerequisiteQuests.Count - 1 == 1) ? "quest" : "quests")} to the priority list in completion order"); } } - bool flag = _commandManager.Commands.ContainsKey("/questinfo"); - using (ImRaii.Disabled(!(questInfo.QuestId is QuestId) || !flag)) + if (label != "QuestChainComponent" && ImGui.MenuItem("View in Quest Chain")) { - if (ImGui.MenuItem("View in Quest Map")) - { - _commandManager.ProcessCommand($"/questinfo {questInfo.QuestId}"); - } + _questChainComponent.SelectQuest(questInfo.QuestId); + _questChainComponent.SelectTabAction?.Invoke("Quest Chain"); } + return true; } - private unsafe List GetIncompletePrerequisiteQuests(IQuestInfo questInfo) + public unsafe List GetIncompletePrerequisiteQuests(IQuestInfo questInfo) { List list = new List(); HashSet visited = new HashSet(); @@ -208,7 +236,7 @@ internal sealed class QuestJournalUtils } } - private void AddRequiredQuestsToPriority(IQuestInfo questInfo, List prerequisiteQuests) + public void AddRequiredQuestsToPriority(IQuestInfo questInfo, List prerequisiteQuests) { int num = 0; foreach (ElementId prerequisiteQuest in prerequisiteQuests) @@ -231,69 +259,61 @@ internal sealed class QuestJournalUtils } } - internal static void ShowFilterContextMenu(QuestJournalComponent journalUi) - { - if (ImGuiComponents.IconButton(FontAwesomeIcon.Filter)) - { - ImGui.OpenPopup("QuestFilters"); - } - if (ImGui.IsItemHovered()) - { - ImGui.SetTooltip("Filter Options"); - } - using ImRaii.PopupDisposable popupDisposable = ImRaii.Popup("QuestFilters"); - if (!(bool)popupDisposable) - { - return; - } - if ((0u | (ImGui.Checkbox("Available Only", ref journalUi.Filter.AvailableOnly) ? 1u : 0u) | (ImGui.Checkbox("Hide Without Quest Paths", ref journalUi.Filter.HideNoPaths) ? 1u : 0u) | (ImGui.Checkbox("Hide Unobtainable", ref journalUi.Filter.HideUnobtainable) ? 1u : 0u)) != 0) - { - journalUi.UpdateFilter(); - } - if (journalUi.Filter.AdvancedFiltersActive) - { - ImGui.Separator(); - if (ImGui.Button("Clear Filters")) - { - journalUi.Filter.AvailableOnly = false; - journalUi.Filter.HideNoPaths = false; - journalUi.Filter.HideUnobtainable = false; - journalUi.UpdateFilter(); - } - } - } - public void AddAllAvailableQuests() { - int num = _questRegistry.AllQuests.Count((Quest quest) => !quest.Root.Disabled && !_questFunctions.IsQuestRemoved(quest.Id) && _questFunctions.IsReadyToAcceptQuest(quest.Id) && !_questFunctions.IsQuestComplete(quest.Id) && !_questFunctions.IsQuestAccepted(quest.Id) && !quest.Info.IsRepeatable && quest.Info.AlliedSociety == EAlliedSociety.None && !(quest.Info is QuestInfo { MoogleDeliveryLevel: >0 }) && !_questController.ManualPriorityQuests.Any((Quest q) => q.Id.Equals(quest.Id))); - using (ImRaii.Disabled(num == 0)) + if (Environment.TickCount64 >= _nextAvailableCountRefreshMs) { - if (ImGuiComponents.IconButton(FontAwesomeIcon.ListOl)) + _nextAvailableCountRefreshMs = Environment.TickCount64 + 1000; + try { - int num2 = _questController.AddAllAvailableQuests(); - string value = ((num2 == 1) ? "quest" : "quests"); - _chatGui.Print($"Added {num2} {value} to priority queue.", "Questionable", 576); + _availableQuestCount = _questRegistry.AllQuests.Count(delegate(Quest quest) + { + if (quest?.Info != null) + { + QuestRoot root = quest.Root; + if (root != null && !root.Disabled && !_questFunctions.IsQuestRemoved(quest.Id) && _questFunctions.IsReadyToAcceptQuest(quest.Id) && !_questFunctions.IsQuestComplete(quest.Id) && !_questFunctions.IsQuestAccepted(quest.Id) && !quest.Info.IsRepeatable && !(quest.Info is QuestInfo { MoogleDeliveryLevel: >0 })) + { + return !_questController.ManualPriorityQuests.Any((Quest q) => q.Id.Equals(quest.Id)); + } + } + return false; + }); + } + catch + { + _availableQuestCount = 0; + } + } + int availableQuestCount = _availableQuestCount; + using (ImRaii.Disabled(availableQuestCount == 0)) + { + if (UiThemeUtils.IconButton(FontAwesomeIcon.ListOl, ImGui.GetFrameHeight())) + { + int num = _questController.AddAllAvailableQuests(); + string value = ((num == 1) ? "quest" : "quests"); + _chatGui.Print($"Added {num} {value} to priority queue.", "Questionable", 576); + _nextAvailableCountRefreshMs = 0L; } } if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) { - object obj; - switch (num) + object obj2; + switch (availableQuestCount) { case 0: ImGui.SetTooltip("No available quests to add"); return; default: - obj = "quests"; + obj2 = "quests"; break; case 1: - obj = "quest"; + obj2 = "quest"; break; } - string value2 = (string)obj; + string value2 = (string)obj2; ImU8String tooltip = new ImU8String(27, 2); tooltip.AppendLiteral("Add "); - tooltip.AppendFormatted(num); + tooltip.AppendFormatted(availableQuestCount); tooltip.AppendLiteral(" available "); tooltip.AppendFormatted(value2); tooltip.AppendLiteral(" to priority"); diff --git a/Questionable/Questionable.Windows.JournalComponents/QuestMapComponent.cs b/Questionable/Questionable.Windows.JournalComponents/QuestMapComponent.cs new file mode 100644 index 0000000..798e2f4 --- /dev/null +++ b/Questionable/Questionable.Windows.JournalComponents/QuestMapComponent.cs @@ -0,0 +1,810 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using Dalamud.Bindings.ImGui; +using Dalamud.Game.Text.SeStringHandling.Payloads; +using Dalamud.Interface; +using Dalamud.Interface.Textures.TextureWraps; +using Dalamud.Interface.Utility.Raii; +using Dalamud.Plugin.Services; +using Dalamud.Utility; +using LLib.ImGui; +using Lumina.Excel; +using Lumina.Excel.Sheets; +using Microsoft.Extensions.Logging; +using Questionable.Controller; +using Questionable.Data; +using Questionable.Functions; +using Questionable.Model; +using Questionable.Model.Questing; +using Questionable.Windows.QuestComponents; + +namespace Questionable.Windows.JournalComponents; + +internal sealed class QuestMapComponent +{ + private sealed record ZoneEntry(ushort TerritoryId, string Name, string DisplayName, string MapId); + + private sealed class QuestMarker + { + public ElementId QuestId { get; } + + public string QuestName { get; } + + public Vector2 MapPixelPos { get; } + + public Vector3 WorldPos { get; } + + public Vector4 Color { get; set; } + + public FontAwesomeIcon Icon { get; set; } + + public string Status { get; set; } + + public QuestMarker(ElementId questId, string questName, Vector2 mapPixelPos, Vector3 worldPos) + { + QuestId = questId; + QuestName = questName; + MapPixelPos = mapPixelPos; + WorldPos = worldPos; + Status = string.Empty; + } + } + + private const float MapTextureSize = 2048f; + + private const float MarkerRadius = 6f; + + private const float MarkerHitRadius = 8f; + + private const float MinZoom = 0.15f; + + private const float MaxZoom = 3f; + + private const float ZoomSpeed = 0.1f; + + private readonly MapTextureService _mapService; + + private readonly IDataManager _dataManager; + + private readonly QuestRegistry _questRegistry; + + private readonly QuestData _questData; + + private readonly UiUtils _uiUtils; + + private readonly TerritoryData _territoryData; + + private readonly QuestFunctions _questFunctions; + + private readonly QuestTooltipComponent _questTooltipComponent; + + private readonly IGameGui _gameGui; + + private readonly IClientState _clientState; + + private Vector2 _offset = Vector2.Zero; + + private float _zoom = 0.5f; + + private bool _isDragging; + + private Vector2 _lastMousePos; + + private Vector2 _dragStartPos; + + private int _selectedZoneIndex; + + private int _selectedStatusFilter; + + private bool _showUnobtainable; + + private readonly string[] _statusFilterNames = new string[5] { "All", "Available", "Active", "Complete", "Locked" }; + + private List _zones = new List(); + + private string[] _zoneItems = Array.Empty(); + + private List _currentMarkers = new List(); + + private Dictionary> _questsByTerritory = new Dictionary>(); + + private bool _needsRebuild = true; + + private long _lastStyleRefresh; + + private const long StyleRefreshIntervalMs = 3000L; + + private QuestMarker? _selectedMarker; + + private bool _centerOnMarker; + + private string _zoneSearchText = string.Empty; + + public Action? SelectTabAction { get; set; } + + public QuestChainComponent? QuestChainComponent { get; set; } + + public QuestJournalUtils? QuestJournalUtils { get; set; } + + public QuestMapComponent(ITextureProvider textureProvider, IDataManager dataManager, QuestRegistry questRegistry, QuestData questData, UiUtils uiUtils, TerritoryData territoryData, QuestFunctions questFunctions, QuestTooltipComponent questTooltipComponent, IGameGui gameGui, IClientState clientState, ILoggerFactory loggerFactory) + { + _mapService = new MapTextureService(textureProvider, dataManager, loggerFactory.CreateLogger()); + _dataManager = dataManager; + _questRegistry = questRegistry; + _questData = questData; + _uiUtils = uiUtils; + _territoryData = territoryData; + _questFunctions = questFunctions; + _questTooltipComponent = questTooltipComponent; + _gameGui = gameGui; + _clientState = clientState; + } + + public void DrawQuestMap() + { + if (_needsRebuild) + { + RebuildZoneList(); + _needsRebuild = false; + } + DrawFilters(); + ImGui.Separator(); + if (_zones.Count == 0) + { + UiThemeUtils.EmptyState(FontAwesomeIcon.Map, "No quest zones available."); + return; + } + ZoneEntry zone = _zones[_selectedZoneIndex]; + DrawMapCanvas(zone); + } + + private void DrawFilters() + { + ImGuiStylePtr style = ImGui.GetStyle(); + float num = 100f * ImGui.GetIO().FontGlobalScale; + float num2 = ImGui.CalcTextSize("My Zone").X + style.FramePadding.X * 2f; + float num3 = ImGui.GetFrameHeight() + style.ItemInnerSpacing.X + ImGui.CalcTextSize("Unobtainable").X; + float num4 = num + num2 + num3 + style.ItemSpacing.X * 4f; + string previewOverride = ((_zones.Count > 0 && _selectedZoneIndex < _zones.Count) ? _zones[_selectedZoneIndex].DisplayName : "No zones"); + if (UiThemeUtils.SearchableCombo("##Zone", ref _selectedZoneIndex, _zoneItems, ref _zoneSearchText, 0f - num4, previewOverride)) + { + OnZoneChanged(); + } + ImGui.SameLine(); + ImGui.SetNextItemWidth(100f * ImGui.GetIO().FontGlobalScale); + if (UiThemeUtils.ThemedCombo("##Status", ref _selectedStatusFilter, _statusFilterNames, _statusFilterNames.Length)) + { + RebuildMarkers(); + } + ImGui.SameLine(); + if (UiThemeUtils.PillButton("My Zone", selected: false)) + { + uint currentTerritory = _clientState.TerritoryType; + int num5 = _zones.FindIndex((ZoneEntry z) => z.TerritoryId == currentTerritory); + if (num5 >= 0) + { + _selectedZoneIndex = num5; + OnZoneChanged(); + } + } + if (ImGui.IsItemHovered()) + { + ImGui.SetTooltip("Jump to your current zone"); + } + ImGui.SameLine(); + if (UiThemeUtils.WrappedCheckbox("Unobtainable", ref _showUnobtainable)) + { + RebuildMarkers(); + } + } + + private static void DrawMapLegend(ImDrawListPtr drawList, Vector2 canvasPos, float canvasWidth) + { + (Vector4, string)[] array = new(Vector4, string)[4] + { + (UiThemeUtils.StatusAvailable, "Available"), + (UiThemeUtils.StatusComplete, "Complete"), + (UiThemeUtils.StatusLocked, "Locked"), + (UiThemeUtils.StatusUnobtainable, "Unobtainable") + }; + float num = 0f; + (Vector4, string)[] array2 = array; + for (int i = 0; i < array2.Length; i++) + { + string item = array2[i].Item2; + num += 14f + ImGui.CalcTextSize(item).X + 14f; + } + num -= 14f; + float num2 = canvasPos.X + canvasWidth - num - 8f; + float num3 = canvasPos.Y + 8f; + float textLineHeight = ImGui.GetTextLineHeight(); + Vector2 pMin = new Vector2(num2 - 8f, num3 - 2f); + Vector2 pMax = new Vector2(canvasPos.X + canvasWidth, num3 + textLineHeight + 2f); + Vector4 playButtonText = UiThemeUtils.PlayButtonText; + playButtonText.W = 0.75f; + drawList.AddRectFilled(pMin, pMax, ImGui.ColorConvertFloat4ToU32(playButtonText), 3f); + float num4 = num2; + array2 = array; + for (int i = 0; i < array2.Length; i++) + { + (Vector4, string) tuple = array2[i]; + Vector4 item2 = tuple.Item1; + string item3 = tuple.Item2; + float y = num3 + textLineHeight * 0.5f; + drawList.AddCircleFilled(new Vector2(num4 + 4f, y), 4f, ImGui.ColorConvertFloat4ToU32(item2), 12); + num4 += 14f; + drawList.AddText(new Vector2(num4, num3), ImGui.ColorConvertFloat4ToU32(UiThemeUtils.DimTextColor), item3); + num4 += ImGui.CalcTextSize(item3).X + 14f; + } + } + + private void DrawMapCanvas(ZoneEntry zone) + { + long tickCount = Environment.TickCount64; + if (tickCount - _lastStyleRefresh > 3000) + { + _lastStyleRefresh = tickCount; + RefreshMarkerStyles(); + } + Vector2 contentRegionAvail = ImGui.GetContentRegionAvail(); + Vector2 vector = new Vector2(contentRegionAvail.X, MathF.Max(contentRegionAvail.Y, 100f)); + Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); + ImGui.InvisibleButton("##mapCanvas", vector); + bool flag = ImGui.IsItemHovered(); + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + Vector2 vector2 = cursorScreenPos + vector; + windowDrawList.AddRectFilled(cursorScreenPos, vector2, ImGui.ColorConvertFloat4ToU32(UiThemeUtils.PlayButtonText)); + windowDrawList.PushClipRect(cursorScreenPos, vector2, intersectWithCurrentClipRect: true); + HandlePanZoom(cursorScreenPos, vector, flag); + if (_centerOnMarker && _selectedMarker != null) + { + _centerOnMarker = false; + _zoom = 1f; + Vector2 vector3 = (_selectedMarker.MapPixelPos - new Vector2(1024f)) * _zoom; + _offset = -vector3; + } + _mapService.LoadForTerritory(zone.TerritoryId); + IDalamudTextureWrap textureWrap = _mapService.GetTextureWrap(); + if (textureWrap != null) + { + Vector2 vector4 = new Vector2(2048f * _zoom, 2048f * _zoom); + Vector2 vector5 = cursorScreenPos + _offset + vector * 0.5f - vector4 * 0.5f; + windowDrawList.AddImage(textureWrap.Handle, vector5, vector5 + vector4); + } + else + { + string text = (_mapService.IsSearching ? "Loading map..." : "Map not available for this zone."); + Vector2 pos = cursorScreenPos + vector * 0.5f - ImGui.CalcTextSize(text) * 0.5f; + windowDrawList.AddText(pos, ImGui.ColorConvertFloat4ToU32(UiThemeUtils.DimTextColor), text); + } + Vector2 vector6 = ScreenToMapPixel(cursorScreenPos, cursorScreenPos, vector); + Vector2 vector7 = ScreenToMapPixel(vector2, cursorScreenPos, vector); + float num = 12f; + QuestMarker questMarker = null; + foreach (QuestMarker currentMarker in _currentMarkers) + { + if (!(currentMarker.MapPixelPos.X < vector6.X - num) && !(currentMarker.MapPixelPos.X > vector7.X + num) && !(currentMarker.MapPixelPos.Y < vector6.Y - num) && !(currentMarker.MapPixelPos.Y > vector7.Y + num)) + { + Vector2 vector8 = MapPixelToScreen(currentMarker.MapPixelPos, cursorScreenPos, vector); + uint col = ImGui.ColorConvertFloat4ToU32(currentMarker.Color); + uint col2 = ImGui.ColorConvertFloat4ToU32(new Vector4(0f, 0f, 0f, 0.8f)); + float num2 = 6f * Math.Max(_zoom, 0.5f); + windowDrawList.AddCircleFilled(vector8, num2 + 1f, col2, 16); + windowDrawList.AddCircleFilled(vector8, num2, col, 16); + if (flag && !_isDragging && Vector2.Distance(ImGui.GetMousePos(), vector8) <= 8f * Math.Max(_zoom, 0.5f)) + { + questMarker = currentMarker; + } + } + } + DrawMapLegend(windowDrawList, cursorScreenPos, vector.X); + if (_selectedMarker != null) + { + Vector2 center = MapPixelToScreen(_selectedMarker.MapPixelPos, cursorScreenPos, vector); + if (center.X >= cursorScreenPos.X && center.X <= vector2.X && center.Y >= cursorScreenPos.Y && center.Y <= vector2.Y) + { + float num3 = 6f * Math.Max(_zoom, 0.5f); + windowDrawList.AddCircle(center, num3 + 3f, ImGui.ColorConvertFloat4ToU32(new Vector4(1f, 1f, 1f, 0.9f)), 16, 2f); + } + } + bool flag2 = false; + bool flag3 = false; + Vector2 mousePos; + bool flag4; + uint col3; + float num5; + string text5; + float num7; + Vector2 pMin3; + Vector2 pMax3; + int num9; + Vector4 input; + float num6; + if (_selectedMarker != null) + { + Vector4 color = _selectedMarker.Color; + FontAwesomeIcon icon = _selectedMarker.Icon; + string status = _selectedMarker.Status; + string text2 = UiThemeUtils.CleanSeString(_selectedMarker.QuestName); + mousePos = ImGui.GetMousePos(); + flag4 = ImGui.IsMouseReleased(ImGuiMouseButton.Left); + Vector2 vector9 = new Vector2(cursorScreenPos.X, vector2.Y - 34f); + Vector2 vector10 = vector2; + Vector2 pMin = vector9; + Vector2 pMax = vector10; + Vector4 playButtonText = UiThemeUtils.PlayButtonText; + playButtonText.W = 0.9f; + windowDrawList.AddRectFilled(pMin, pMax, ImGui.ColorConvertFloat4ToU32(playButtonText)); + Vector2 pMin2 = vector9; + Vector2 pMax2 = new Vector2(vector10.X, vector9.Y + 1f); + playButtonText = UiThemeUtils.AccentColor; + playButtonText.W = 0.4f; + windowDrawList.AddRectFilled(pMin2, pMax2, ImGui.ColorConvertFloat4ToU32(playButtonText)); + float y = vector9.Y + (34f - ImGui.GetTextLineHeight()) * 0.5f; + float num4 = vector9.X + 10f; + string text3 = icon.ToIconString(); + Vector2 vector11; + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + vector11 = ImGui.CalcTextSize(text3); + } + windowDrawList.AddText(UiBuilder.IconFont, ImGui.GetFontSize(), new Vector2(num4, y), ImGui.ColorConvertFloat4ToU32(color), text3); + num4 += vector11.X + 6f; + col3 = ImGui.ColorConvertFloat4ToU32(UiThemeUtils.PrimaryTextColor); + windowDrawList.AddText(new Vector2(num4, y), col3, text2); + num4 += ImGui.CalcTextSize(text2).X + 10f; + Vector2 pos2 = new Vector2(num4, y); + uint col4 = ImGui.ColorConvertFloat4ToU32(color); + ImU8String text4 = new ImU8String(2, 1); + text4.AppendLiteral("["); + text4.AppendFormatted(status); + text4.AppendLiteral("]"); + windowDrawList.AddText(pos2, col4, text4); + num5 = vector9.Y + (34f - ImGui.GetTextLineHeight() - 8f) * 0.5f; + num6 = vector10.X - 10f; + text5 = "Open on Map"; + Vector2 vector12 = ImGui.CalcTextSize(text5); + num7 = vector12.X + 16f; + float num8 = vector12.Y + 8f; + pMin3 = new Vector2(num6 - num7, num5); + pMax3 = new Vector2(num6, num5 + num8); + if (mousePos.X >= pMin3.X && mousePos.X <= pMax3.X && mousePos.Y >= pMin3.Y) + { + num9 = ((mousePos.Y <= pMax3.Y) ? 1 : 0); + if (num9 != 0) + { + playButtonText = UiThemeUtils.AccentColor; + playButtonText.W = 0.25f; + input = playButtonText; + goto IL_06fa; + } + } + else + { + num9 = 0; + } + input = UiThemeUtils.AccentDimColor; + goto IL_06fa; + } + goto IL_085c; + IL_06fa: + windowDrawList.AddRectFilled(col: ImGui.ColorConvertFloat4ToU32(input), pMin: pMin3, pMax: pMax3, rounding: 3f); + windowDrawList.AddText(new Vector2(pMin3.X + 8f, pMin3.Y + 4f), col3, text5); + if (((uint)num9 & (flag4 ? 1u : 0u)) != 0) + { + flag3 = true; + } + num6 -= num7 + 6f; + string text6 = "Quest Chain"; + Vector2 vector13 = ImGui.CalcTextSize(text6); + float num10 = vector13.X + 16f; + float num11 = vector13.Y + 8f; + Vector2 pMin4 = new Vector2(num6 - num10, num5); + Vector2 pMax4 = new Vector2(num6, num5 + num11); + int num12; + Vector4 input2; + if (mousePos.X >= pMin4.X && mousePos.X <= pMax4.X && mousePos.Y >= pMin4.Y) + { + num12 = ((mousePos.Y <= pMax4.Y) ? 1 : 0); + if (num12 != 0) + { + Vector4 playButtonText = UiThemeUtils.AccentColor; + playButtonText.W = 0.25f; + input2 = playButtonText; + goto IL_080c; + } + } + else + { + num12 = 0; + } + input2 = UiThemeUtils.AccentDimColor; + goto IL_080c; + IL_080c: + windowDrawList.AddRectFilled(col: ImGui.ColorConvertFloat4ToU32(input2), pMin: pMin4, pMax: pMax4, rounding: 3f); + windowDrawList.AddText(new Vector2(pMin4.X + 8f, pMin4.Y + 4f), col3, text6); + if (((uint)num12 & (flag4 ? 1u : 0u)) != 0) + { + flag2 = true; + } + goto IL_085c; + IL_085c: + windowDrawList.PopClipRect(); + if (flag3 && _selectedMarker != null && _selectedMarker.WorldPos != Vector3.Zero) + { + try + { + ZoneEntry zoneEntry = _zones[_selectedZoneIndex]; + TerritoryType? rowOrDefault = _dataManager.GetExcelSheet().GetRowOrDefault(zoneEntry.TerritoryId); + if (rowOrDefault.HasValue) + { + Map? valueNullable = rowOrDefault.Value.Map.ValueNullable; + if (valueNullable.HasValue) + { + Vector2 vector14 = MapUtil.WorldToMap(new Vector2(_selectedMarker.WorldPos.X, _selectedMarker.WorldPos.Z), valueNullable.Value); + MapLinkPayload mapLink = new MapLinkPayload(zoneEntry.TerritoryId, valueNullable.Value.RowId, vector14.X, vector14.Y); + _gameGui.OpenMapWithMapLink(mapLink); + } + } + } + catch + { + } + } + if (flag2 && _selectedMarker != null) + { + QuestChainComponent?.SelectQuest(_selectedMarker.QuestId); + SelectTabAction?.Invoke("Quest Chain"); + } + if (questMarker != null && _questData.TryGetQuestInfo(questMarker.QuestId, out IQuestInfo questInfo)) + { + _questTooltipComponent.Draw(questInfo); + } + bool flag5 = _isDragging && Vector2.Distance(ImGui.GetMousePos(), _dragStartPos) > 4f; + if (ImGui.IsMouseReleased(ImGuiMouseButton.Left) && !flag5) + { + if (questMarker != null) + { + _selectedMarker = questMarker; + } + else if (flag) + { + _selectedMarker = null; + } + } + if (questMarker != null && ImGui.IsMouseReleased(ImGuiMouseButton.Right) && !flag5) + { + _selectedMarker = questMarker; + ImU8String strId = new ImU8String(12, 1); + strId.AppendLiteral("##QuestPopup"); + strId.AppendFormatted(questMarker.QuestId); + ImGui.OpenPopup(strId); + } + if (_selectedMarker != null && _questData.TryGetQuestInfo(_selectedMarker.QuestId, out IQuestInfo questInfo2)) + { + Questionable.Model.Quest quest = null; + _questRegistry.TryGetQuest(_selectedMarker.QuestId, out quest); + QuestJournalUtils?.ShowContextMenu(questInfo2, quest, "QuestMapComponent"); + } + } + + private void HandlePanZoom(Vector2 canvasPos, Vector2 canvasSize, bool isHovered) + { + ImGuiIOPtr iO = ImGui.GetIO(); + if (isHovered && MathF.Abs(iO.MouseWheel) > 0.01f) + { + float zoom = _zoom; + _zoom = Math.Clamp(_zoom + iO.MouseWheel * 0.1f, 0.15f, 3f); + Vector2 vector = ImGui.GetMousePos() - canvasPos - canvasSize * 0.5f - _offset; + _offset -= vector * (_zoom / zoom - 1f); + } + bool flag = ImGui.IsMouseDown(ImGuiMouseButton.Left) || ImGui.IsMouseDown(ImGuiMouseButton.Right) || ImGui.IsMouseDown(ImGuiMouseButton.Middle); + if (isHovered && flag) + { + if (!_isDragging) + { + _isDragging = true; + _lastMousePos = ImGui.GetMousePos(); + _dragStartPos = _lastMousePos; + } + else + { + Vector2 mousePos = ImGui.GetMousePos(); + Vector2 vector2 = mousePos - _lastMousePos; + _offset += vector2; + _lastMousePos = mousePos; + } + } + else + { + _isDragging = false; + } + } + + private Vector2 MapPixelToScreen(Vector2 mapPixel, Vector2 canvasPos, Vector2 canvasSize) + { + Vector2 vector = (mapPixel - new Vector2(1024f)) * _zoom; + return canvasPos + canvasSize * 0.5f + _offset + vector; + } + + private Vector2 ScreenToMapPixel(Vector2 screenPos, Vector2 canvasPos, Vector2 canvasSize) + { + return (screenPos - canvasPos - canvasSize * 0.5f - _offset) / _zoom + new Vector2(1024f); + } + + private static float WorldToMapPixel(float worldCoord, float offset, float sizeFactor) + { + return 2048f * ((worldCoord + offset) * sizeFactor / 100f + 1024f) / 2048f; + } + + private void RebuildZoneList() + { + HashSet hashSet = new HashSet(); + Dictionary territoryQuests = new Dictionary(); + _questsByTerritory.Clear(); + foreach (Questionable.Model.Quest allQuest in _questRegistry.AllQuests) + { + if (allQuest.Root.Disabled) + { + continue; + } + QuestSequence questSequence = allQuest.FindSequence(0); + if (questSequence == null || questSequence.Steps.Count == 0) + { + continue; + } + QuestStep questStep = questSequence.Steps[0]; + if (questStep.TerritoryId != 0 && questStep.Position.HasValue) + { + hashSet.Add(questStep.TerritoryId); + territoryQuests[questStep.TerritoryId] = territoryQuests.GetValueOrDefault(questStep.TerritoryId) + 1; + if (!_questsByTerritory.TryGetValue(questStep.TerritoryId, out List<(ElementId, string, Vector3, bool)> value)) + { + value = new List<(ElementId, string, Vector3, bool)>(); + _questsByTerritory[questStep.TerritoryId] = value; + } + value.Add((allQuest.Id, allQuest.Info.Name, questStep.Position.Value, true)); + } + } + HashSet hashSet2 = new HashSet(_questRegistry.AllQuests.Select((Questionable.Model.Quest q) => q.Id)); + try + { + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + foreach (var (elementId2, questInfo2) in _questData.AllQuests) + { + if (!(elementId2 is QuestId questId) || hashSet2.Contains(elementId2)) + { + continue; + } + try + { + Lumina.Excel.Sheets.Quest? rowOrDefault = excelSheet.GetRowOrDefault((uint)(questId.Value + 65536)); + if (!rowOrDefault.HasValue) + { + continue; + } + Level? valueNullable = rowOrDefault.Value.IssuerLocation.ValueNullable; + if (!valueNullable.HasValue) + { + continue; + } + ushort num = (ushort)valueNullable.Value.Territory.RowId; + if (num != 0) + { + hashSet.Add(num); + territoryQuests[num] = territoryQuests.GetValueOrDefault(num) + 1; + if (!_questsByTerritory.TryGetValue(num, out List<(ElementId, string, Vector3, bool)> value2)) + { + value2 = new List<(ElementId, string, Vector3, bool)>(); + _questsByTerritory[num] = value2; + } + Vector3 item = new Vector3(valueNullable.Value.X, valueNullable.Value.Y, valueNullable.Value.Z); + value2.Add((questId, questInfo2.Name, item, false)); + } + } + catch + { + } + } + } + catch + { + } + _zones = (from z in hashSet.Select(delegate(ushort id) + { + string name = _territoryData.GetName(id); + string mapIdForTerritory = GetMapIdForTerritory(id); + int num3 = territoryQuests[id]; + string text = $"({num3} quest{((num3 != 1) ? "s" : "")})"; + string displayName = ((name != null) ? (name + " " + text) : $"Zone {id} {text}"); + return new ZoneEntry(id, name ?? $"Zone {id}", displayName, mapIdForTerritory); + }) + orderby z.Name + select z).ToList(); + _zoneItems = _zones.Select((ZoneEntry z) => z.DisplayName).ToArray(); + if (_zones.Count > 0) + { + uint currentTerritory = _clientState.TerritoryType; + int num2 = _zones.FindIndex((ZoneEntry z) => z.TerritoryId == currentTerritory); + _selectedZoneIndex = ((num2 >= 0) ? num2 : Math.Clamp(_selectedZoneIndex, 0, _zones.Count - 1)); + RebuildMarkers(); + } + } + + private string GetMapIdForTerritory(ushort territoryId) + { + try + { + RowRef map = _dataManager.GetExcelSheet().GetRow(territoryId).Map; + if (map.RowId != 0) + { + return map.Value.Id.ExtractText(); + } + } + catch + { + } + return string.Empty; + } + + private Map? LoadMapRow(ushort territoryId) + { + try + { + TerritoryType row = _dataManager.GetExcelSheet().GetRow(territoryId); + return (row.Map.RowId != 0) ? new Map?(row.Map.Value) : ((Map?)null); + } + catch + { + return null; + } + } + + private void OnZoneChanged() + { + _offset = Vector2.Zero; + _zoom = 0.5f; + _selectedMarker = null; + RebuildMarkers(); + } + + private void RebuildMarkers() + { + _currentMarkers.Clear(); + if (_zones.Count == 0 || _selectedZoneIndex >= _zones.Count) + { + return; + } + ZoneEntry zoneEntry = _zones[_selectedZoneIndex]; + if (!_questsByTerritory.TryGetValue(zoneEntry.TerritoryId, out List<(ElementId, string, Vector3, bool)> value)) + { + return; + } + Map? map = LoadMapRow(zoneEntry.TerritoryId); + foreach (var (elementId, questName, worldPos, _) in value) + { + if ((_showUnobtainable || !_questFunctions.IsQuestUnobtainable(elementId)) && PassesStatusFilter(elementId)) + { + Vector2 mapPixelPos = (map.HasValue ? new Vector2(WorldToMapPixel(worldPos.X, map.Value.OffsetX, (int)map.Value.SizeFactor), WorldToMapPixel(worldPos.Z, map.Value.OffsetY, (int)map.Value.SizeFactor)) : new Vector2(1024f + worldPos.X, 1024f + worldPos.Z)); + _currentMarkers.Add(new QuestMarker(elementId, questName, mapPixelPos, worldPos)); + } + } + RefreshMarkerStyles(); + } + + private void RefreshMarkerStyles() + { + foreach (QuestMarker currentMarker in _currentMarkers) + { + (Vector4 Color, FontAwesomeIcon Icon, string Status) questStyle = _uiUtils.GetQuestStyle(currentMarker.QuestId); + Vector4 item = questStyle.Color; + FontAwesomeIcon item2 = questStyle.Icon; + string item3 = questStyle.Status; + currentMarker.Color = item; + currentMarker.Icon = item2; + currentMarker.Status = item3; + } + if (_selectedMarker != null && !_currentMarkers.Contains(_selectedMarker)) + { + var (color, icon, status) = _uiUtils.GetQuestStyle(_selectedMarker.QuestId); + _selectedMarker.Color = color; + _selectedMarker.Icon = icon; + _selectedMarker.Status = status; + } + _lastStyleRefresh = Environment.TickCount64; + } + + private bool PassesStatusFilter(ElementId questId) + { + return _selectedStatusFilter switch + { + 1 => !_questFunctions.IsQuestLocked(questId) && _questFunctions.IsReadyToAcceptQuest(questId) && !_questFunctions.IsQuestAcceptedOrComplete(questId), + 2 => _questFunctions.IsQuestAccepted(questId), + 3 => _questFunctions.IsQuestComplete(questId), + 4 => _questFunctions.IsQuestLocked(questId) || !_questFunctions.IsReadyToAcceptQuest(questId), + _ => true, + }; + } + + public void SelectZone(ushort territoryId) + { + if (_needsRebuild) + { + RebuildZoneList(); + _needsRebuild = false; + } + for (int i = 0; i < _zones.Count; i++) + { + if (_zones[i].TerritoryId == territoryId) + { + _selectedZoneIndex = i; + OnZoneChanged(); + break; + } + } + } + + public void SelectQuest(ElementId questId, ushort territoryId) + { + SelectZone(territoryId); + foreach (QuestMarker currentMarker in _currentMarkers) + { + if (currentMarker.QuestId == questId) + { + _selectedMarker = currentMarker; + _centerOnMarker = true; + return; + } + } + if (!_questData.TryGetQuestInfo(questId, out IQuestInfo questInfo)) + { + return; + } + Vector2 mapPixelPos = new Vector2(1024f); + Vector3 worldPos = Vector3.Zero; + if (questId is QuestId questId2) + { + try + { + Lumina.Excel.Sheets.Quest? rowOrDefault = _dataManager.GetExcelSheet().GetRowOrDefault((uint)(questId2.Value + 65536)); + if (rowOrDefault.HasValue) + { + Level? valueNullable = rowOrDefault.Value.IssuerLocation.ValueNullable; + if (valueNullable.HasValue) + { + worldPos = new Vector3(valueNullable.Value.X, valueNullable.Value.Y, valueNullable.Value.Z); + Map? map = LoadMapRow(territoryId); + if (map.HasValue) + { + mapPixelPos = new Vector2(WorldToMapPixel(worldPos.X, map.Value.OffsetX, (int)map.Value.SizeFactor), WorldToMapPixel(worldPos.Z, map.Value.OffsetY, (int)map.Value.SizeFactor)); + } + } + } + } + catch + { + } + } + QuestMarker questMarker = new QuestMarker(questId, questInfo.Name, mapPixelPos, worldPos); + (Vector4 Color, FontAwesomeIcon Icon, string Status) questStyle = _uiUtils.GetQuestStyle(questId); + Vector4 item = questStyle.Color; + FontAwesomeIcon item2 = questStyle.Icon; + string item3 = questStyle.Status; + questMarker.Color = item; + questMarker.Icon = item2; + questMarker.Status = item3; + _selectedMarker = questMarker; + _centerOnMarker = true; + } + + public void MarkDirty() + { + _needsRebuild = true; + _selectedZoneIndex = -1; + _selectedMarker = null; + _offset = Vector2.Zero; + _zoom = 0.5f; + } +} diff --git a/Questionable/Questionable.Windows.JournalComponents/QuestRewardComponent.cs b/Questionable/Questionable.Windows.JournalComponents/QuestRewardComponent.cs index fe789b8..8749e45 100644 --- a/Questionable/Questionable.Windows.JournalComponents/QuestRewardComponent.cs +++ b/Questionable/Questionable.Windows.JournalComponents/QuestRewardComponent.cs @@ -1,11 +1,13 @@ using System; +using System.Collections.Generic; +using System.Globalization; using System.Linq; using System.Numerics; using Dalamud.Bindings.ImGui; using Dalamud.Game.Text; using Dalamud.Interface; -using Dalamud.Interface.Colors; using Dalamud.Interface.Utility.Raii; +using Dalamud.Plugin; using Questionable.Controller; using Questionable.Data; using Questionable.Model; @@ -15,6 +17,16 @@ namespace Questionable.Windows.JournalComponents; internal sealed class QuestRewardComponent { + private enum RowType : byte + { + Group, + Item + } + + private readonly record struct FlatRow(RowType Type, int GroupIndex, ItemReward? Item); + + private sealed record ItemGroup(string Label, EItemRewardType Type, List Items); + private readonly QuestRegistry _questRegistry; private readonly QuestData _questData; @@ -23,65 +35,152 @@ internal sealed class QuestRewardComponent private readonly UiUtils _uiUtils; + private readonly IDalamudPluginInterface _pluginInterface; + private bool _showEventRewards; - public QuestRewardComponent(QuestRegistry questRegistry, QuestData questData, QuestTooltipComponent questTooltipComponent, UiUtils uiUtils) + private string _searchText = string.Empty; + + private List _filteredGroups = new List(); + + private List _flatRows = new List(); + + private readonly HashSet _expandedGroups = new HashSet(); + + private bool _initialized; + + private static readonly int CountPadWidth = 9999.ToString(CultureInfo.CurrentCulture).Length; + + public QuestRewardComponent(QuestRegistry questRegistry, QuestData questData, QuestTooltipComponent questTooltipComponent, UiUtils uiUtils, IDalamudPluginInterface pluginInterface) { _questRegistry = questRegistry; _questData = questData; _questTooltipComponent = questTooltipComponent; _uiUtils = uiUtils; + _pluginInterface = pluginInterface; } - public void DrawItemRewards() + public unsafe void DrawItemRewards() { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Item Rewards"); - if (!(!tabItemDisposable)) + if (!_initialized) { - ImGui.Checkbox("Show rewards from seasonal event quests", ref _showEventRewards); - ImGui.Spacing(); - ImGui.BulletText("Only untradeable items are listed (e.g. the Wind-up Airship can be sold on the market board)."); - DrawGroup("Mounts", EItemRewardType.Mount); - DrawGroup("Minions", EItemRewardType.Minion); - DrawGroup("Orchestrion Rolls", EItemRewardType.OrchestrionRoll); - DrawGroup("Triple Triad Cards", EItemRewardType.TripleTriadCard); - DrawGroup("Fashion Accessories", EItemRewardType.FashionAccessory); + UpdateFilter(); + _initialized = true; } - } - - private void DrawGroup(string label, EItemRewardType type) - { - ImU8String label2 = new ImU8String(9, 2); - label2.AppendFormatted(label); - label2.AppendLiteral("###Reward"); - label2.AppendFormatted(type); - if (!ImGui.CollapsingHeader(label2)) + float x = ImGui.GetStyle().ItemSpacing.X; + float num = ImGui.GetFrameHeight() + ImGui.CalcTextSize("Show seasonal event rewards").X + 3f * x; + if (UiThemeUtils.SearchInput("##RewardSearch", ref _searchText, 0f - num, "Search items...")) + { + UpdateFilter(); + } + ImGui.SameLine(); + if (UiThemeUtils.WrappedCheckbox("Show seasonal event rewards", ref _showEventRewards)) + { + UpdateFilter(); + } + ImGui.Spacing(); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, "Only untradeable items are listed (e.g. the Wind-up Airship can be sold on the market board)."); + ImGui.Separator(); + if (_flatRows.Count == 0) + { + UiThemeUtils.EmptyState(FontAwesomeIcon.Gift, "No items match your search."); + return; + } + float x2; + using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) + { + x2 = ImGui.CalcTextSize(FontAwesomeIcon.Check.ToIconString()).X; + } + float fontGlobalScale = ImGui.GetIO().FontGlobalScale; + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable("ItemRewards", 2, ImGuiTableFlags.NoSavedSettings | ImGuiTableFlags.ScrollY); + if (!tableDisposable) { return; } - foreach (ItemReward item in _questData.RedeemableItems.Where((ItemReward x) => x.Type == type).OrderBy((ItemReward x) => x.Name, StringComparer.CurrentCultureIgnoreCase)) + ImGui.TableSetupColumn("Name", ImGuiTableColumnFlags.WidthStretch); + ImGui.TableSetupColumn("Obtained", ImGuiTableColumnFlags.WidthFixed, 120f * fontGlobalScale); + ImGui.TableHeadersRow(); + float textLineHeightWithSpacing = ImGui.GetTextLineHeightWithSpacing(); + bool flag = false; + ImGuiListClipper* intPtr = ImGuiNative.ImGuiListClipper(); + ImGuiNative.Begin(intPtr, _flatRows.Count, textLineHeightWithSpacing); + ImGuiListClipperPtr imGuiListClipperPtr = intPtr; + try { - if (!_questData.TryGetQuestInfo(item.ElementId, out IQuestInfo questInfo)) + while (imGuiListClipperPtr.Step()) { - continue; + for (int i = imGuiListClipperPtr.DisplayStart; i < imGuiListClipperPtr.DisplayEnd; i++) + { + if (DrawFlatRow(_flatRows[i], x2)) + { + flag = true; + } + } } - bool flag = questInfo is QuestInfo questInfo2 && questInfo2.IsSeasonalEvent; - if (!_showEventRewards && flag) + } + finally + { + imGuiListClipperPtr.Destroy(); + } + if (flag) + { + RebuildFlatRows(); + } + } + + private bool DrawFlatRow(FlatRow row, float statusIconSpacing) + { + ImGui.TableNextRow(); + ImGui.TableNextColumn(); + if (row.Type == RowType.Group) + { + ItemGroup itemGroup = _filteredGroups[row.GroupIndex]; + bool flag = _expandedGroups.Contains(itemGroup.Label); + UiThemeUtils.DrawTrackerGroupCaret(_pluginInterface.UiBuilder.IconFontFixedWidthHandle, flag); + ImGui.SameLine(); + bool result = false; + ImU8String label = new ImU8String(5, 2); + label.AppendFormatted(itemGroup.Label); + label.AppendLiteral("##grp"); + label.AppendFormatted(row.GroupIndex); + if (ImGui.Selectable(label)) { - continue; - } - string text = item.Name; - if (flag) - { - text = text + " " + SeIconChar.Clock.ToIconString(); - } - bool flag2 = item.IsUnlocked(); - Vector4 color = ((!_questRegistry.IsKnownQuest(item.ElementId)) ? ImGuiColors.DalamudGrey : (flag2 ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudRed)); - FontAwesomeIcon icon = (flag2 ? FontAwesomeIcon.Check : FontAwesomeIcon.Times); - if (!_uiUtils.ChecklistItem(text, color, icon)) - { - continue; + if (flag) + { + _expandedGroups.Remove(itemGroup.Label); + } + else + { + _expandedGroups.Add(itemGroup.Label); + } + result = true; } + int num = itemGroup.Items.Count((ItemReward x) => x.IsUnlocked()); + int count = itemGroup.Items.Count; + ImGui.TableNextColumn(); + UiThemeUtils.DrawTrackerCount(FormatCount(num, count), num == count && count > 0, count == 0); + return result; + } + ItemReward item = row.Item; + float indentSpacing = ImGui.GetStyle().IndentSpacing; + ImGui.SetCursorPosX(ImGui.GetCursorPosX() + indentSpacing); + bool flag2 = item.IsUnlocked(); + Vector4 color = ((!_questRegistry.IsKnownQuest(item.ElementId)) ? UiThemeUtils.StatusUnobtainable : (flag2 ? UiThemeUtils.StatusComplete : UiThemeUtils.StatusLocked)); + IQuestInfo questInfo; + bool flag3 = _questData.TryGetQuestInfo(item.ElementId, out questInfo); + string text = item.Name; + if (questInfo is QuestInfo { IsSeasonalEvent: not false }) + { + text = text + " " + SeIconChar.Clock.ToIconString(); + } + ImGui.TreeNodeEx(text, ImGuiTreeNodeFlags.NoTreePushOnOpen | ImGuiTreeNodeFlags.Leaf | ImGuiTreeNodeFlags.SpanFullWidth); + bool num2 = ImGui.IsItemHovered(); + ImGui.TableNextColumn(); + float num3 = ImGui.GetColumnWidth() / 2f - statusIconSpacing; + ImGui.SetCursorPosX(ImGui.GetCursorPosX() + num3); + FontAwesomeIcon icon = (flag2 ? FontAwesomeIcon.Check : FontAwesomeIcon.Times); + if ((num2 | _uiUtils.ChecklistItem(string.Empty, color, icon)) && flag3) + { using ImRaii.TooltipDisposable tooltipDisposable = ImRaii.Tooltip(); if (tooltipDisposable.Alive) { @@ -95,5 +194,74 @@ internal sealed class QuestRewardComponent } } } + return false; + } + + private static string FormatCount(int n, int d) + { + if (d != 0) + { + return n.ToString(CultureInfo.CurrentCulture).PadLeft(CountPadWidth) + " / " + d.ToString(CultureInfo.CurrentCulture).PadLeft(CountPadWidth); + } + return "-".PadLeft(CountPadWidth) + " / " + "-".PadLeft(CountPadWidth); + } + + private void RebuildFlatRows() + { + List list = new List(); + for (int i = 0; i < _filteredGroups.Count; i++) + { + ItemGroup itemGroup = _filteredGroups[i]; + list.Add(new FlatRow(RowType.Group, i, null)); + if (!_expandedGroups.Contains(itemGroup.Label)) + { + continue; + } + foreach (ItemReward item in itemGroup.Items) + { + if (_questData.TryGetQuestInfo(item.ElementId, out IQuestInfo _)) + { + list.Add(new FlatRow(RowType.Item, i, item)); + } + } + } + _flatRows = list; + } + + private void UpdateFilter() + { + List list = new List(); + AddGroup(list, "Mounts", EItemRewardType.Mount); + AddGroup(list, "Minions", EItemRewardType.Minion); + AddGroup(list, "Orchestrion Rolls", EItemRewardType.OrchestrionRoll); + AddGroup(list, "Triple Triad Cards", EItemRewardType.TripleTriadCard); + AddGroup(list, "Fashion Accessories", EItemRewardType.FashionAccessory); + AddGroup(list, "Unlock Links", EItemRewardType.UnlockLink); + _filteredGroups = list; + RebuildFlatRows(); + } + + private void AddGroup(List groups, string label, EItemRewardType type) + { + List filteredItems = GetFilteredItems(type); + if (filteredItems.Count > 0) + { + groups.Add(new ItemGroup(label, type, filteredItems)); + } + } + + private List GetFilteredItems(EItemRewardType type) + { + return (from x in _questData.RedeemableItems + where x.Type == type + where x.IsUntradable + select x).Where(delegate(ItemReward x) + { + if (!_showEventRewards && _questData.TryGetQuestInfo(x.ElementId, out IQuestInfo questInfo) && questInfo is QuestInfo { IsSeasonalEvent: not false }) + { + return false; + } + return (string.IsNullOrEmpty(_searchText) || x.Name.Contains(_searchText, StringComparison.OrdinalIgnoreCase)) ? true : false; + }).OrderBy((ItemReward x) => x.Name, StringComparer.CurrentCultureIgnoreCase).ToList(); } } diff --git a/Questionable/Questionable.Windows.QuestComponents/ARealmRebornComponent.cs b/Questionable/Questionable.Windows.QuestComponents/ARealmRebornComponent.cs index 9fe65ed..ce476cc 100644 --- a/Questionable/Questionable.Windows.QuestComponents/ARealmRebornComponent.cs +++ b/Questionable/Questionable.Windows.QuestComponents/ARealmRebornComponent.cs @@ -56,11 +56,14 @@ internal sealed class ARealmRebornComponent public void Draw() { + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + UiThemeUtils.SectionHeader("A Realm Reborn"); if (!_questFunctions.IsQuestAcceptedOrComplete(GoodIntentions)) { DrawPrimals(); } DrawAllianceRaids(); + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); } private void DrawPrimals() diff --git a/Questionable/Questionable.Windows.QuestComponents/ActiveQuestComponent.cs b/Questionable/Questionable.Windows.QuestComponents/ActiveQuestComponent.cs index 355e544..0f74a0f 100644 --- a/Questionable/Questionable.Windows.QuestComponents/ActiveQuestComponent.cs +++ b/Questionable/Questionable.Windows.QuestComponents/ActiveQuestComponent.cs @@ -9,12 +9,12 @@ using Dalamud.Bindings.ImGui; using Dalamud.Game.Text; using Dalamud.Interface; using Dalamud.Interface.Colors; -using Dalamud.Interface.Components; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin.Services; +using Lumina.Excel.Sheets; using Microsoft.Extensions.Logging; using Questionable.Controller; -using Questionable.Controller.Steps.Shared; +using Questionable.Controller.Conditions; using Questionable.External; using Questionable.Functions; using Questionable.Model; @@ -32,20 +32,22 @@ internal sealed class ActiveQuestComponent private readonly GatheringController _gatheringController; + private readonly FishingController _fishingController; + private readonly FateController _fateController; private readonly SeasonalDutyController _seasonalDutyController; - private readonly QuestFunctions _questFunctions; + private readonly AttunementController _attunementController; - private readonly ICommandManager _commandManager; + private readonly CustomDeliveryController _customDeliveryController; + + private readonly QuestFunctions _questFunctions; private readonly Configuration _configuration; private readonly QuestRegistry _questRegistry; - private readonly PriorityWindow _priorityWindow; - private readonly UiUtils _uiUtils; private readonly IObjectTable _objectTable; @@ -56,35 +58,41 @@ internal sealed class ActiveQuestComponent private readonly AutoDutyIpc _autoDutyIpc; + private readonly IDataManager _dataManager; + private readonly ILogger _logger; - public event EventHandler? Reload; + private bool _questCardExpanded; + + public event System.Action? OpenQueueTab; [GeneratedRegex("\\s\\s+", RegexOptions.IgnoreCase, "en-US")] - [GeneratedCode("System.Text.RegularExpressions.Generator", "10.0.14.23019")] + [GeneratedCode("System.Text.RegularExpressions.Generator", "10.0.14.37416")] private static Regex MultipleWhitespaceRegex() { - return _003CRegexGenerator_g_003EFBB8301322196CF81C64F1652C2FA6E1D6BF3907141F781E9D97ABED51BF056C4__MultipleWhitespaceRegex_0.Instance; + return _003CRegexGenerator_g_003EFF909AF37F4C319C8940E7DA0E71D9E470824ECE485FE299B23B08984F5D534F6__MultipleWhitespaceRegex_0.Instance; } - public ActiveQuestComponent(QuestController questController, MovementController movementController, CombatController combatController, GatheringController gatheringController, FateController fateController, SeasonalDutyController seasonalDutyController, QuestFunctions questFunctions, ICommandManager commandManager, Configuration configuration, QuestRegistry questRegistry, PriorityWindow priorityWindow, UiUtils uiUtils, IObjectTable objectTable, IClientState clientState, IChatGui chatGui, AutoDutyIpc autoDutyIpc, ILogger logger) + public ActiveQuestComponent(QuestController questController, MovementController movementController, CombatController combatController, GatheringController gatheringController, FishingController fishingController, FateController fateController, SeasonalDutyController seasonalDutyController, AttunementController attunementController, CustomDeliveryController customDeliveryController, QuestFunctions questFunctions, Configuration configuration, QuestRegistry questRegistry, UiUtils uiUtils, IObjectTable objectTable, IClientState clientState, IChatGui chatGui, AutoDutyIpc autoDutyIpc, IDataManager dataManager, ILogger logger) { _questController = questController; _movementController = movementController; _combatController = combatController; _gatheringController = gatheringController; + _fishingController = fishingController; _fateController = fateController; _seasonalDutyController = seasonalDutyController; + _attunementController = attunementController; + _customDeliveryController = customDeliveryController; _questFunctions = questFunctions; - _commandManager = commandManager; _configuration = configuration; _questRegistry = questRegistry; - _priorityWindow = priorityWindow; _uiUtils = uiUtils; _objectTable = objectTable; _clientState = clientState; _chatGui = chatGui; _autoDutyIpc = autoDutyIpc; + _dataManager = dataManager; _logger = logger; } @@ -100,163 +108,38 @@ internal sealed class ActiveQuestComponent DrawDutyActive(isMinimized); return; } + if (_customDeliveryController.IsRunning) + { + DrawCustomDeliveryActive(isMinimized); + return; + } + if (_gatheringController.IsRunning) + { + DrawGatheringActive(isMinimized); + return; + } + if (_fishingController.IsRunning) + { + DrawFishingActive(isMinimized); + return; + } (QuestController.QuestProgress, QuestController.ECurrentQuestType)? currentQuestDetails = _questController.CurrentQuestDetails; QuestController.QuestProgress questProgress = currentQuestDetails?.Item1; QuestController.ECurrentQuestType? currentQuestType = currentQuestDetails?.Item2; if (questProgress != null) { - DrawQuestNames(questProgress, currentQuestType); - QuestProgressInfo questProgressInfo = DrawQuestWork(questProgress, isMinimized); - if (_combatController.IsRunning) + if (isMinimized) { - ImGui.TextColored(ImGuiColors.DalamudOrange, "In Combat"); + DrawMinimizedQuest(questProgress); } else { - string currentTaskState = _questController.CurrentTaskState; - if (currentTaskState != null) - { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudOrange)) - { - ImGui.TextUnformatted(currentTaskState); - } - } - else - { - using (ImRaii.Disabled()) - { - ImGui.TextUnformatted(_questController.DebugState ?? string.Empty); - } - } - } - try - { - QuestSequence questSequence = questProgress.Quest.FindSequence(questProgress.Sequence); - QuestStep questStep = questSequence?.FindStep(questProgress.Step); - if (!isMinimized) - { - using (ImRaii.ColorDisposable colorDisposable = new ImRaii.ColorDisposable()) - { - bool flag; - if (questStep != null) - { - EInteractionType interactionType = questStep.InteractionType; - if (interactionType == EInteractionType.WaitForManualProgress || interactionType == EInteractionType.Snipe || interactionType == EInteractionType.Instruction) - { - flag = true; - goto IL_017e; - } - } - flag = false; - goto IL_017e; - IL_017e: - if (flag) - { - colorDisposable.Push(ImGuiCol.Text, ImGuiColors.DalamudOrange); - } - ImGui.TextUnformatted(questStep?.Comment ?? questSequence?.Comment ?? questProgress.Quest.Root.Comment ?? string.Empty); - } - ImGui.Text(_questController.ToStatString()); - } - DrawQuestButtons(questProgress, questStep, questProgressInfo, isMinimized); - } - catch (Exception ex) - { - ImGui.TextColored(ImGuiColors.DalamudRed, ex.ToString()); - _logger.LogError(ex, "Could not handle active quest buttons"); - } - DrawSimulationControls(); - return; - } - (bool isLevelLocked, int levelsNeeded, int requiredLevel, string? questName) msqLevelLockInfo = _questFunctions.GetMsqLevelLockInfo(); - bool item = msqLevelLockInfo.isLevelLocked; - int item2 = msqLevelLockInfo.levelsNeeded; - int item3 = msqLevelLockInfo.requiredLevel; - string item4 = msqLevelLockInfo.questName; - int currentPlayerLevel = _objectTable.LocalPlayer?.Level ?? 0; - if (item && _autoDutyIpc.IsConfiguredToRunLevelingMode(currentPlayerLevel) && item4 != null) - { - Vector4 col = ImGuiColors.DalamudYellow; - ImU8String text = new ImU8String(22, 2); - text.AppendLiteral("MSQ '"); - text.AppendFormatted(item4); - text.AppendLiteral("' requires level "); - text.AppendFormatted(item3); - ImGui.TextColored(in col, text); - col = ImGuiColors.DalamudGrey; - ImU8String text2 = new ImU8String(61, 2); - text2.AppendLiteral("You need "); - text2.AppendFormatted(item2); - text2.AppendLiteral(" more level"); - text2.AppendFormatted((item2 == 1) ? string.Empty : "s"); - text2.AppendLiteral(" - Leveling mode will start automatically"); - ImGui.TextColored(in col, text2); - using (ImRaii.Disabled(_questController.IsRunning || _fateController.IsRunning || _seasonalDutyController.IsRunning || !_autoDutyIpc.IsStopped())) - { - if (ImGuiComponents.IconButton(FontAwesomeIcon.Play)) - { - _logger.LogInformation("Start button clicked with MSQ level-locked. Starting AutoDuty leveling mode."); - if (_autoDutyIpc.StartLevelingMode()) - { - _chatGui.Print($"Starting AutoDuty Leveling mode to reach level {item3} for MSQ '{item4}'.", "Questionable", 576); - } - else - { - _chatGui.PrintError("Failed to start AutoDuty Leveling mode. Please check that AutoDuty is installed and configured.", "Questionable", 576); - } - } - } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) - { - if (!_autoDutyIpc.IsStopped()) - { - ImGui.SetTooltip("AutoDuty is currently running."); - } - else - { - ImU8String tooltip = new ImU8String(53, 1); - tooltip.AppendLiteral("Start AutoDuty Leveling mode to reach level "); - tooltip.AppendFormatted(item3); - tooltip.AppendLiteral(" for MSQ."); - ImGui.SetTooltip(tooltip); - } + DrawQuestCard(questProgress, currentQuestType); } } else { - ImGui.Text("No active quest"); - } - if (!isMinimized) - { - Vector4 col = ImGuiColors.DalamudGrey; - ImU8String text3 = new ImU8String(14, 1); - text3.AppendFormatted(_questRegistry.Count); - text3.AppendLiteral(" quests loaded"); - ImGui.TextColored(in col, text3); - } - ImGui.SameLine(); - if (ImGuiComponents.IconButton(FontAwesomeIcon.Stop)) - { - _movementController.Stop(); - _questController.Stop("Manual (no active quest)"); - _gatheringController.Stop("Manual (no active quest)"); - _fateController.Stop("Manual (no active quest)"); - if (!_autoDutyIpc.IsStopped()) - { - try - { - _autoDutyIpc.Stop(); - } - catch (Exception exception) - { - _logger.LogWarning(exception, "Failed to stop AutoDuty"); - } - } - } - ImGui.SameLine(); - if (ImGuiComponents.IconButton(FontAwesomeIcon.SortAmountDown)) - { - _priorityWindow.ToggleOrUncollapse(); + DrawNoActiveQuest(isMinimized); } } @@ -264,22 +147,19 @@ internal sealed class ActiveQuestComponent { using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedGold)) { - ImU8String text = new ImU8String(6, 1); - text.AppendLiteral("FATE: "); - text.AppendFormatted(Shorten(_fateController.CurrentFate.Name)); - ImGui.TextUnformatted(text); + ImGui.TextUnformatted(UiThemeUtils.TruncateToWidth("FATE: " + _fateController.CurrentFate.Name, ImGui.GetContentRegionAvail().X)); } IList remainingTaskNames = _fateController.GetRemainingTaskNames(); if (remainingTaskNames.Count > 0) { - ImGui.TextColored(ImGuiColors.DalamudGrey, remainingTaskNames[0]); + UiThemeUtils.WrappedTextColored(UiThemeUtils.DimTextColor, remainingTaskNames[0]); } if (!isMinimized) { - string text2 = (_fateController.CycleLimit.HasValue ? $"Cycle {_fateController.CompletedCycles + 1} / {_fateController.CycleLimit}" : $"Cycle {_fateController.CompletedCycles + 1}"); - ImGui.TextColored(ImGuiColors.DalamudGrey3, text2); + string text = (_fateController.CycleLimit.HasValue ? $"Cycle {_fateController.CompletedCycles + 1} / {_fateController.CycleLimit}" : $"Cycle {_fateController.CompletedCycles + 1}"); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, text); } - if (ImGuiComponents.IconButton(FontAwesomeIcon.Stop)) + if (UiThemeUtils.IconButton(FontAwesomeIcon.Stop, ImGui.GetFrameHeight())) { _fateController.Stop("UI stop"); _movementController.Stop(); @@ -290,259 +170,563 @@ internal sealed class ActiveQuestComponent { using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedGreen)) { - ImU8String text = new ImU8String(6, 1); - text.AppendLiteral("Duty: "); - text.AppendFormatted(Shorten(_seasonalDutyController.CurrentDuty.Name)); - ImGui.TextUnformatted(text); + ImGui.TextUnformatted(UiThemeUtils.TruncateToWidth("Duty: " + _seasonalDutyController.CurrentDuty.Name, ImGui.GetContentRegionAvail().X)); } IList remainingTaskNames = _seasonalDutyController.GetRemainingTaskNames(); if (remainingTaskNames.Count > 0) { - ImGui.TextColored(ImGuiColors.DalamudGrey, remainingTaskNames[0]); + UiThemeUtils.WrappedTextColored(UiThemeUtils.DimTextColor, remainingTaskNames[0]); } if (!isMinimized) { - string text2 = (_seasonalDutyController.CycleLimit.HasValue ? $"Cycle {_seasonalDutyController.CompletedCycles + 1} / {_seasonalDutyController.CycleLimit}" : $"Cycle {_seasonalDutyController.CompletedCycles + 1}"); - ImGui.TextColored(ImGuiColors.DalamudGrey3, text2); + string text = (_seasonalDutyController.CycleLimit.HasValue ? $"Cycle {_seasonalDutyController.CompletedCycles + 1} / {_seasonalDutyController.CycleLimit}" : $"Cycle {_seasonalDutyController.CompletedCycles + 1}"); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, text); } - if (ImGuiComponents.IconButton(FontAwesomeIcon.Stop)) + if (UiThemeUtils.IconButton(FontAwesomeIcon.Stop, ImGui.GetFrameHeight())) { _seasonalDutyController.Stop("UI stop"); _movementController.Stop(); } } - private void DrawQuestNames(QuestController.QuestProgress currentQuest, QuestController.ECurrentQuestType? currentQuestType) + private void DrawCustomDeliveryActive(bool isMinimized) { - if (currentQuestType == QuestController.ECurrentQuestType.Simulated) + string text = _customDeliveryController.CurrentNpcName ?? "Custom Delivery"; + using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedPurple)) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed)) + ImGui.TextUnformatted(UiThemeUtils.TruncateToWidth("Delivery: " + text, ImGui.GetContentRegionAvail().X)); + } + UiThemeUtils.WrappedTextColored(ImGuiColors.DalamudOrange, _customDeliveryController.StatusLabel); + IList remainingTaskNames = _customDeliveryController.GetRemainingTaskNames(); + if (remainingTaskNames.Count > 0) + { + UiThemeUtils.WrappedTextColored(UiThemeUtils.DimTextColor, remainingTaskNames[0]); + } + if (!isMinimized) + { + int queueRemaining = _customDeliveryController.QueueRemaining; + if (queueRemaining > 0) { - ImU8String text = new ImU8String(26, 4); - text.AppendLiteral("Simulated Quest: "); - text.AppendFormatted(Shorten(currentQuest.Quest.Info.Name)); - text.AppendLiteral(" ("); - text.AppendFormatted(currentQuest.Quest.Id); - text.AppendLiteral(") / "); - text.AppendFormatted(currentQuest.Sequence); - text.AppendLiteral(" / "); - text.AppendFormatted(currentQuest.Step); - ImGui.TextUnformatted(text); - return; + ImU8String text2 = new ImU8String(19, 1); + text2.AppendFormatted(queueRemaining); + text2.AppendLiteral(" more NPC(s) queued"); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, text2); } } - if (currentQuestType == QuestController.ECurrentQuestType.Gathering) + if (UiThemeUtils.IconButton(FontAwesomeIcon.Stop, ImGui.GetFrameHeight())) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedGold)) - { - ImU8String text2 = new ImU8String(20, 4); - text2.AppendLiteral("Gathering: "); - text2.AppendFormatted(Shorten(currentQuest.Quest.Info.Name)); - text2.AppendLiteral(" ("); - text2.AppendFormatted(currentQuest.Quest.Id); - text2.AppendLiteral(") / "); - text2.AppendFormatted(currentQuest.Sequence); - text2.AppendLiteral(" / "); - text2.AppendFormatted(currentQuest.Step); - ImGui.TextUnformatted(text2); - return; - } + _customDeliveryController.Stop("UI stop"); + _movementController.Stop(); } + } + + private void DrawGatheringActive(bool isMinimized) + { + string text = ResolveItemName(_gatheringController.CurrentItemId) ?? "Gathering"; + using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedGold)) + { + ImGui.TextUnformatted(UiThemeUtils.TruncateToWidth("Gathering: " + text, ImGui.GetContentRegionAvail().X)); + } + IList remainingTaskNames = _gatheringController.GetRemainingTaskNames(); + if (remainingTaskNames.Count > 0) + { + UiThemeUtils.WrappedTextColored(UiThemeUtils.DimTextColor, remainingTaskNames[0]); + } + if (!isMinimized && remainingTaskNames.Count > 1) + { + ImU8String text2 = new ImU8String(13, 1); + text2.AppendFormatted(remainingTaskNames.Count - 1); + text2.AppendLiteral(" more task(s)"); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, text2); + } + if (UiThemeUtils.IconButton(FontAwesomeIcon.Stop, ImGui.GetFrameHeight())) + { + _gatheringController.Stop("UI stop"); + _movementController.Stop(); + } + } + + private void DrawFishingActive(bool isMinimized) + { + string text = ResolveItemName(_fishingController.CurrentItemId) ?? "Fishing"; + using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedBlue)) + { + ImGui.TextUnformatted(UiThemeUtils.TruncateToWidth("Fishing: " + text, ImGui.GetContentRegionAvail().X)); + } + IList remainingTaskNames = _fishingController.GetRemainingTaskNames(); + if (remainingTaskNames.Count > 0) + { + UiThemeUtils.WrappedTextColored(UiThemeUtils.DimTextColor, remainingTaskNames[0]); + } + if (!isMinimized) + { + string text2 = _fishingController.State.ToString(); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, text2); + } + if (UiThemeUtils.IconButton(FontAwesomeIcon.Stop, ImGui.GetFrameHeight())) + { + _fishingController.Stop("UI stop"); + _movementController.Stop(); + } + } + + private string? ResolveItemName(uint? itemId) + { + if (!itemId.HasValue) + { + return null; + } + if (_dataManager.GetExcelSheet().TryGetRow(itemId.Value, out var row)) + { + return row.Name.ToString(); + } + return null; + } + + private void StopAllControllers(string reason) + { + _movementController.Stop(); + _questController.Stop(reason); + _gatheringController.Stop(reason); + _fishingController.Stop(reason); + _fateController.Stop(reason); + _seasonalDutyController.Stop(reason); + _customDeliveryController.Stop(reason); + _attunementController.Stop(reason); + } + + private void DrawStopConditionTooltip() + { + if ((_configuration.Stop.Conditions.Count == 0 && _questController.SessionConditions.Count == 0) || !ImGui.IsItemHovered()) + { + return; + } + ImGui.BeginTooltip(); + ImGui.TextUnformatted("Stop conditions:"); + foreach (StopCondition condition in _configuration.Stop.Conditions) + { + ImU8String text = new ImU8String(3, 2); + text.AppendLiteral("["); + text.AppendFormatted(condition.Mode); + text.AppendLiteral("] "); + text.AppendFormatted(condition.GetDescription()); + ImGui.BulletText(text); + } + foreach (StopCondition sessionCondition in _questController.SessionConditions) + { + ImU8String text2 = new ImU8String(3, 2); + text2.AppendLiteral("["); + text2.AppendFormatted(sessionCondition.Mode); + text2.AppendLiteral("] "); + text2.AppendFormatted(sessionCondition.GetDescription()); + ImGui.BulletText(text2); + } + ImGui.EndTooltip(); + } + + private void DrawMinimizedQuest(QuestController.QuestProgress currentQuest) + { QuestController.QuestProgress startedQuest = _questController.StartedQuest; - if (startedQuest != null) + string text = ((startedQuest != null) ? Shorten(startedQuest.Quest.Info.Name) : Shorten(currentQuest.Quest.Info.Name)); + float cursorPosX = ImGui.GetCursorPosX(); + float x = ImGui.GetContentRegionAvail().X; + float frameHeight = ImGui.GetFrameHeight(); + float x2 = ImGui.GetStyle().ItemSpacing.X; + float num = frameHeight * 4f + x2 * 3f; + ImGui.TextColored(in UiThemeUtils.AccentColor, UiThemeUtils.TruncateToWidth(text, x - num - x2)); + ImGui.SameLine(cursorPosX + x - num); + using (ImRaii.Disabled(_questController.IsRunning || _gatheringController.IsRunning || _fishingController.IsRunning || _fateController.IsRunning || _seasonalDutyController.IsRunning || _customDeliveryController.IsRunning || _attunementController.IsRunning)) { - if (startedQuest.Quest.Source == Quest.ESource.UserDirectory) + using (ImRaii.PushColor(ImGuiCol.Button, UiThemeUtils.PlayButtonColor)) { - ImGui.PushFont(UiBuilder.IconFont); - ImGui.TextColored(ImGuiColors.DalamudOrange, FontAwesomeIcon.FilePen.ToIconString()); - ImGui.PopFont(); - ImGui.SameLine(0f); - if (ImGui.IsItemHovered()) + using (ImRaii.PushColor(ImGuiCol.ButtonHovered, UiThemeUtils.PlayButtonHover)) { - ImGui.SetTooltip("This quest is loaded from your 'pluginConfigs\\Questionable\\Quests' directory.\nThis gets loaded even if Questionable ships with a newer/different version of the quest."); - } - } - ImU8String text3 = new ImU8String(16, 4); - text3.AppendLiteral("Quest: "); - text3.AppendFormatted(Shorten(startedQuest.Quest.Info.Name)); - text3.AppendLiteral(" ("); - text3.AppendFormatted(startedQuest.Quest.Id); - text3.AppendLiteral(") / "); - text3.AppendFormatted(startedQuest.Sequence); - text3.AppendLiteral(" / "); - text3.AppendFormatted(startedQuest.Step); - ImGui.TextUnformatted(text3); - if (startedQuest.Quest.Root.Disabled) - { - ImGui.SameLine(); - ImGui.TextColored(ImGuiColors.DalamudRed, "Disabled"); - } - bool flag = _configuration.Stop.Enabled && _configuration.Stop.LevelStopMode != Configuration.EStopConditionMode.Off; - bool flag2 = _configuration.Stop.Enabled && _configuration.Stop.QuestsToStopAfter.Any((ElementId x) => !_questFunctions.IsQuestComplete(x) && !_questFunctions.IsQuestUnobtainable(x)); - bool flag3 = _configuration.Stop.Enabled && _configuration.Stop.SequenceStopMode != Configuration.EStopConditionMode.Off; - if (flag || flag2 || flag3) - { - ImGui.SameLine(); - Vector4 col = ImGuiColors.ParsedPurple; - if (flag) - { - int num = _objectTable.LocalPlayer?.Level ?? 0; - if (num > 0 && num >= _configuration.Stop.TargetLevel) + using (ImRaii.PushColor(ImGuiCol.ButtonActive, UiThemeUtils.PlayButtonActive)) { - col = ImGuiColors.ParsedGreen; - } - else if (num > 0) - { - col = ImGuiColors.ParsedBlue; - } - } - if (flag3) - { - col = ((startedQuest.Sequence < _configuration.Stop.TargetSequence) ? ImGuiColors.ParsedBlue : ImGuiColors.ParsedGreen); - } - ImGui.TextColored(in col, SeIconChar.Clock.ToIconString()); - if (ImGui.IsItemHovered()) - { - using ImRaii.TooltipDisposable tooltipDisposable = ImRaii.Tooltip(); - if (tooltipDisposable.Alive) - { - ImGui.Text("Stop Conditions:"); - ImGui.Separator(); - if (flag) + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.PlayButtonText)) { - int num2 = _objectTable.LocalPlayer?.Level ?? 0; - ImU8String text4 = new ImU8String(14, 1); - text4.AppendLiteral("Stop at level "); - text4.AppendFormatted(_configuration.Stop.TargetLevel); - ImGui.BulletText(text4); - if (num2 > 0) + if (UiThemeUtils.IconButton(FontAwesomeIcon.Play, frameHeight)) { - ImGui.SameLine(); - if (num2 >= _configuration.Stop.TargetLevel) + if (_questFunctions.GetQuestProgressInfo(currentQuest.Quest.Id) == null) { - Vector4 col2 = ImGuiColors.ParsedGreen; - ImU8String text5 = new ImU8String(22, 1); - text5.AppendLiteral("(Current: "); - text5.AppendFormatted(num2); - text5.AppendLiteral(" - Reached!)"); - ImGui.TextColored(in col2, text5); - } - else - { - Vector4 col2 = ImGuiColors.ParsedBlue; - ImU8String text6 = new ImU8String(11, 1); - text6.AppendLiteral("(Current: "); - text6.AppendFormatted(num2); - text6.AppendLiteral(")"); - ImGui.TextColored(in col2, text6); + _questController.SetNextQuest(currentQuest.Quest); } + _questController.Start("UI start"); } } - if (flag3) - { - if (flag) - { - ImGui.Spacing(); - } - int sequence = startedQuest.Sequence; - ImU8String text7 = new ImU8String(23, 1); - text7.AppendLiteral("Stop at quest sequence "); - text7.AppendFormatted(_configuration.Stop.TargetSequence); - ImGui.BulletText(text7); - ImGui.SameLine(); - if (sequence >= _configuration.Stop.TargetSequence) - { - Vector4 col2 = ImGuiColors.ParsedGreen; - ImU8String text8 = new ImU8String(22, 1); - text8.AppendLiteral("(Current: "); - text8.AppendFormatted(sequence); - text8.AppendLiteral(" - Reached!)"); - ImGui.TextColored(in col2, text8); - } - else - { - Vector4 col2 = ImGuiColors.ParsedBlue; - ImU8String text9 = new ImU8String(11, 1); - text9.AppendLiteral("(Current: "); - text9.AppendFormatted(sequence); - text9.AppendLiteral(")"); - ImGui.TextColored(in col2, text9); - } - } - if (flag2) - { - if (flag || flag3) - { - ImGui.Spacing(); - } - ImGui.BulletText("Stop after completing any of these quests:"); - ImGui.Indent(); - foreach (ElementId item in _configuration.Stop.QuestsToStopAfter) - { - if (_questRegistry.TryGetQuest(item, out Quest quest)) - { - var (color, icon, _) = _uiUtils.GetQuestStyle(item); - _uiUtils.ChecklistItem($"{quest.Info.Name} ({item})", color, icon); - } - } - ImGui.Unindent(); - } } } } - if (_configuration.Advanced.AdditionalStatusInformation && _questController.IsInterruptible()) + } + ImGui.SameLine(); + if (UiThemeUtils.IconButton(FontAwesomeIcon.StepForward, frameHeight)) + { + _questController.StartSingleStep("UI step"); + } + ImGui.SameLine(); + if (UiThemeUtils.IconButton(FontAwesomeIcon.Stop, frameHeight)) + { + StopAllControllers("UI stop"); + } + ImGui.SameLine(); + if (UiThemeUtils.IconButton(FontAwesomeIcon.Forward, frameHeight)) + { + _movementController.Stop(); + _questController.Skip(currentQuest.Quest.Id, currentQuest.Sequence); + } + int num2 = currentQuest.Quest.FindSequence(currentQuest.Sequence)?.Steps.Count ?? 0; + float fraction = ((num2 > 0) ? ((float)currentQuest.Step / (float)num2) : 0f); + using (UiThemeUtils.PushProgressBarColors()) + { + ImGui.ProgressBar(fraction, new Vector2(-1f, 3f), string.Empty); + } + int value = Math.Min(currentQuest.Step + 1, Math.Max(num2, 1)); + string text2 = null; + if (_combatController.IsRunning) + { + text2 = "In Combat"; + } + else + { + string currentTaskState = _questController.CurrentTaskState; + if (currentTaskState != null) { - ImGui.SameLine(); - ImGui.TextColored(ImGuiColors.DalamudYellow, SeIconChar.Hyadelyn.ToIconString()); - if (ImGui.IsItemHovered()) + text2 = currentTaskState; + } + else if (!string.IsNullOrEmpty(_questController.DebugState)) + { + text2 = _questController.DebugState; + } + } + string text3 = ((text2 != null) ? $"Step {value}/{num2} - {text2}" : $"Step {value}/{num2}"); + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.DimTextColor)) + { + UiThemeUtils.WrappedText(text3); + } + } + + private void DrawNoActiveQuest(bool isMinimized) + { + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard(); + Vector2 item = tuple.ContentStartPos; + float item2 = tuple.AvailableWidth; + ImDrawListPtr item3 = tuple.DrawList; + float cursorPosX = ImGui.GetCursorPosX(); + float num = ImGui.GetContentRegionAvail().X - 12f; + try + { + (bool isLevelLocked, int levelsNeeded, int requiredLevel, string? questName) msqLevelLockInfo = _questFunctions.GetMsqLevelLockInfo(); + bool item4 = msqLevelLockInfo.isLevelLocked; + int item5 = msqLevelLockInfo.levelsNeeded; + int item6 = msqLevelLockInfo.requiredLevel; + string item7 = msqLevelLockInfo.questName; + int currentPlayerLevel = _objectTable.LocalPlayer?.Level ?? 0; + if (item4 && _autoDutyIpc.IsConfiguredToRunLevelingMode(currentPlayerLevel) && item7 != null) + { + ImGui.PushTextWrapPos(cursorPosX + num); + Vector4 col = ImGuiColors.DalamudYellow; + ImU8String text = new ImU8String(22, 2); + text.AppendLiteral("MSQ '"); + text.AppendFormatted(item7); + text.AppendLiteral("' requires level "); + text.AppendFormatted(item6); + ImGui.TextColored(in col, text); + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.DimTextColor)) { - using ImRaii.TooltipDisposable tooltipDisposable2 = ImRaii.Tooltip(); - if (tooltipDisposable2.Alive) + ImU8String text2 = new ImU8String(57, 2); + text2.AppendLiteral("Need "); + text2.AppendFormatted(item5); + text2.AppendLiteral(" more level"); + text2.AppendFormatted((item5 == 1) ? string.Empty : "s"); + text2.AppendLiteral(" - Leveling mode will start automatically"); + ImGui.TextUnformatted(text2); + } + ImGui.PopTextWrapPos(); + float frameHeight = ImGui.GetFrameHeight(); + using (ImRaii.Disabled(_questController.IsRunning || _gatheringController.IsRunning || _fishingController.IsRunning || _fateController.IsRunning || _seasonalDutyController.IsRunning || _customDeliveryController.IsRunning || _attunementController.IsRunning || !_autoDutyIpc.IsStopped())) + { + using (ImRaii.PushColor(ImGuiCol.Button, UiThemeUtils.PlayButtonColor)) { - ImGui.Text("This quest sequence starts with a teleport to an Aetheryte."); - ImGui.Text("Certain priority quest (e.g. class quests) may be started/completed by the plugin prior to continuing with this quest."); - ImGui.Separator(); - ImGui.Text("Available priority quests:"); - List nextPriorityQuestsThatCanBeAccepted = _questFunctions.GetNextPriorityQuestsThatCanBeAccepted(); - List list = (from x in nextPriorityQuestsThatCanBeAccepted - where x.IsAvailable - select x.QuestId).ToList(); - if (list.Count > 0) + using (ImRaii.PushColor(ImGuiCol.ButtonHovered, UiThemeUtils.PlayButtonHover)) { - foreach (ElementId item2 in list) + using (ImRaii.PushColor(ImGuiCol.ButtonActive, UiThemeUtils.PlayButtonActive)) { - if (_questRegistry.TryGetQuest(item2, out Quest quest2)) + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.PlayButtonText)) { - ImU8String text10 = new ImU8String(3, 2); - text10.AppendFormatted(quest2.Info.Name); - text10.AppendLiteral(" ("); - text10.AppendFormatted(item2); - text10.AppendLiteral(")"); - ImGui.BulletText(text10); - } - } - } - else - { - ImGui.BulletText("(none)"); - } - if (_configuration.Advanced.AdditionalStatusInformation) - { - List list2 = nextPriorityQuestsThatCanBeAccepted.Where((PriorityQuestInfo x) => !x.IsAvailable).ToList(); - if (list2.Count > 0) - { - ImGui.Text("Unavailable priority quests:"); - foreach (var (elementId2, value) in list2) - { - if (_questRegistry.TryGetQuest(elementId2, out Quest quest3)) + if (UiThemeUtils.IconButton(FontAwesomeIcon.Play, frameHeight)) { - ImU8String text12 = new ImU8String(6, 3); - text12.AppendFormatted(quest3.Info.Name); - text12.AppendLiteral(" ("); - text12.AppendFormatted(elementId2); - text12.AppendLiteral(") - "); - text12.AppendFormatted(value); - ImGui.BulletText(text12); + _logger.LogInformation("Start button clicked with MSQ level-locked. Starting AutoDuty leveling mode."); + if (_autoDutyIpc.StartLevelingMode()) + { + _chatGui.Print($"Starting AutoDuty Leveling mode to reach level {item6} for MSQ '{item7}'.", "Questionable", 576); + } + else + { + _chatGui.PrintError("Failed to start AutoDuty Leveling mode. Please check that AutoDuty is installed and configured.", "Questionable", 576); + } + } + } + } + } + } + } + if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + { + if (!_autoDutyIpc.IsStopped()) + { + ImGui.SetTooltip("AutoDuty is currently running."); + } + else + { + ImU8String tooltip = new ImU8String(53, 1); + tooltip.AppendLiteral("Start AutoDuty Leveling mode to reach level "); + tooltip.AppendFormatted(item6); + tooltip.AppendLiteral(" for MSQ."); + ImGui.SetTooltip(tooltip); + } + } + } + else + { + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.DimTextColor)) + { + ImGui.TextUnformatted("No active quest"); + } + string lastStopReason = _questController.LastStopReason; + if (lastStopReason != null) + { + using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudYellow)) + { + UiThemeUtils.WrappedText(lastStopReason); + } + } + } + if (!isMinimized) + { + float frameHeight2 = ImGui.GetFrameHeight(); + float x = ImGui.GetStyle().ItemSpacing.X; + float num2 = frameHeight2 * 2f + x; + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.MutedTextColor)) + { + ImU8String text3 = new ImU8String(14, 1); + text3.AppendFormatted(_questRegistry.Count); + text3.AppendLiteral(" quests loaded"); + ImGui.TextUnformatted(text3); + } + ImGui.SameLine(); + ImGui.SetCursorPosX(cursorPosX + num - num2); + if (UiThemeUtils.IconButton(FontAwesomeIcon.Stop, frameHeight2)) + { + StopAllControllers("Manual (no active quest)"); + if (!_autoDutyIpc.IsStopped()) + { + try + { + _autoDutyIpc.Stop(); + } + catch (Exception exception) + { + _logger.LogWarning(exception, "Failed to stop AutoDuty"); + } + } + } + ImGui.SameLine(); + if (UiThemeUtils.IconButton(FontAwesomeIcon.SortAmountDown, frameHeight2)) + { + this.OpenQueueTab?.Invoke(); + } + } + } + catch (Exception ex) + { + UiThemeUtils.WrappedTextColored(ImGuiColors.DalamudRed, ex.ToString()); + } + UiThemeUtils.EndCard(item, item2, item3); + } + + private void DrawQuestCard(QuestController.QuestProgress currentQuest, QuestController.ECurrentQuestType? currentQuestType) + { + QuestController.QuestProgress startedQuest = _questController.StartedQuest; + QuestSequence questSequence = currentQuest.Quest.FindSequence(currentQuest.Sequence); + QuestStep questStep = questSequence?.FindStep(currentQuest.Step); + QuestProgressInfo questProgressInfo = _questFunctions.GetQuestProgressInfo(currentQuest.Quest.Id); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard(); + Vector2 item = tuple.ContentStartPos; + float item2 = tuple.AvailableWidth; + ImDrawListPtr item3 = tuple.DrawList; + float cursorPosX = ImGui.GetCursorPosX(); + float num = ImGui.GetContentRegionAvail().X - 12f; + try + { + float frameHeight = ImGui.GetFrameHeight(); + float wrapLocalPosX = cursorPosX + num - frameHeight - ImGui.GetStyle().ItemSpacing.X; + if (currentQuestType == QuestController.ECurrentQuestType.Simulated) + { + ImGui.PushTextWrapPos(wrapLocalPosX); + Vector4 col = ImGuiColors.DalamudRed; + ImU8String text = new ImU8String(11, 1); + text.AppendLiteral("Simulated: "); + text.AppendFormatted(currentQuest.Quest.Info.Name); + ImGui.TextColored(in col, text); + ImGui.PopTextWrapPos(); + } + else + { + if (startedQuest != null && startedQuest.Quest.Source == Questionable.Model.Quest.ESource.UserDirectory) + { + ImGui.PushFont(UiBuilder.IconFont); + ImGui.TextColored(ImGuiColors.DalamudOrange, FontAwesomeIcon.FilePen.ToIconString()); + ImGui.PopFont(); + ImGui.SameLine(0f); + if (ImGui.IsItemHovered()) + { + ImGui.SetTooltip("This quest is loaded from your 'pluginConfigs\\Questionable\\Quests' directory.\nThis gets loaded even if Questionable ships with a newer/different version of the quest."); + } + } + string text2 = ((startedQuest != null) ? startedQuest.Quest.Info.Name : currentQuest.Quest.Info.Name); + ImGui.PushTextWrapPos(wrapLocalPosX); + ImGui.TextColored(in UiThemeUtils.AccentColor, text2); + ImGui.PopTextWrapPos(); + if (startedQuest != null && startedQuest.Quest.Root.Disabled) + { + ImGui.SameLine(); + ImGui.TextColored(ImGuiColors.DalamudRed, "Disabled"); + } + } + ImGui.SameLine(); + ImGui.SetCursorPosX(cursorPosX + num - frameHeight); + FontAwesomeIcon icon = (_questCardExpanded ? FontAwesomeIcon.ChevronUp : FontAwesomeIcon.ChevronDown); + using (ImRaii.PushColor(ImGuiCol.Button, Vector4.Zero)) + { + using (ImRaii.PushColor(ImGuiCol.ButtonHovered, UiThemeUtils.SubtleActiveColor)) + { + using (ImRaii.PushColor(ImGuiCol.ButtonActive, UiThemeUtils.SubtlePressColor)) + { + if (UiThemeUtils.IconButton(icon, frameHeight)) + { + _questCardExpanded = !_questCardExpanded; + } + } + } + } + string text3 = null; + if (_combatController.IsRunning) + { + text3 = "In Combat"; + } + else + { + string currentTaskState = _questController.CurrentTaskState; + if (currentTaskState != null) + { + text3 = currentTaskState; + } + else if (!string.IsNullOrEmpty(_questController.DebugState)) + { + text3 = _questController.DebugState; + } + } + ImGui.PushTextWrapPos(cursorPosX + num); + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.DimTextColor)) + { + ImGui.TextUnformatted(text3 ?? " "); + } + ImGui.PopTextWrapPos(); + int num2 = questSequence?.Steps.Count ?? 0; + float fraction = ((num2 > 0) ? ((float)currentQuest.Step / (float)num2) : 0f); + using (UiThemeUtils.PushProgressBarColors()) + { + ImGui.ProgressBar(fraction, new Vector2(num, 4f), string.Empty); + } + ImGui.Spacing(); + ImGui.Spacing(); + int value = Math.Min(currentQuest.Step + 1, Math.Max(num2, 1)); + ImGui.AlignTextToFramePadding(); + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.MutedTextColor)) + { + ImU8String text4 = new ImU8String(9, 2); + text4.AppendLiteral("Step "); + text4.AppendFormatted(value); + text4.AppendLiteral(" of "); + text4.AppendFormatted(num2); + ImGui.TextUnformatted(text4); + } + float frameHeight2 = ImGui.GetFrameHeight(); + float x = ImGui.GetStyle().ItemSpacing.X; + Vector2 vector; + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + vector = ImGui.CalcTextSize(FontAwesomeIcon.Play.ToIconString()); + } + float x2 = ImGui.CalcTextSize("Play").X; + float num3 = ImGui.GetStyle().FramePadding.X * 3f * 2f + vector.X + 6f + x2; + bool disabled = _questController.IsRunning || _gatheringController.IsRunning || _fishingController.IsRunning || _fateController.IsRunning || _seasonalDutyController.IsRunning || _customDeliveryController.IsRunning || _attunementController.IsRunning; + float num4 = num3 + (frameHeight2 + x) * 3f; + ImGui.SameLine(); + ImGui.SetCursorPosX(cursorPosX + num - num4); + using (ImRaii.Disabled(disabled)) + { + using (ImRaii.PushColor(ImGuiCol.Button, UiThemeUtils.PlayButtonColor)) + { + using (ImRaii.PushColor(ImGuiCol.ButtonHovered, UiThemeUtils.PlayButtonHover)) + { + using (ImRaii.PushColor(ImGuiCol.ButtonActive, UiThemeUtils.PlayButtonActive)) + { + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.PlayButtonText)) + { + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Play, "Play", num3)) + { + if (questProgressInfo == null) + { + _questController.SetNextQuest(currentQuest.Quest); + } + _questController.Start("UI start"); + } + } + } + } + } + if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + { + ImGui.SetTooltip("Start automation"); + } + } + ImGui.SameLine(); + using (ImRaii.PushStyle(ImGuiStyleVar.FrameBorderSize, 1f)) + { + using (ImRaii.PushColor(ImGuiCol.Border, UiThemeUtils.CardBorderHighColor)) + { + using (ImRaii.PushColor(ImGuiCol.Button, new Vector4(0.12f, 0.1f, 0.18f, 1f))) + { + using (ImRaii.PushColor(ImGuiCol.ButtonHovered, new Vector4(0.2f, 0.16f, 0.28f, 1f))) + { + using (ImRaii.PushColor(ImGuiCol.ButtonActive, new Vector4(0.25f, 0.2f, 0.35f, 1f))) + { + if (UiThemeUtils.IconButton(FontAwesomeIcon.StepForward, frameHeight2)) + { + _questController.StartSingleStep("UI step"); + } + if (ImGui.IsItemHovered()) + { + ImGui.SetTooltip("Execute single step"); + } + ImGui.SameLine(); + if (UiThemeUtils.IconButton(FontAwesomeIcon.Stop, frameHeight2)) + { + StopAllControllers("UI stop"); + } + DrawStopConditionTooltip(); + ImGui.SameLine(); + using (ImRaii.Disabled(questStep == currentQuest.Quest.FindSequence(currentQuest.Sequence)?.Steps.LastOrDefault())) + { + if (UiThemeUtils.IconButton(FontAwesomeIcon.Forward, frameHeight2)) + { + _movementController.Stop(); + _questController.Skip(currentQuest.Quest.Id, currentQuest.Sequence); + } + if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + { + ImGui.SetTooltip("Skip current step"); } } } @@ -550,154 +734,103 @@ internal sealed class ActiveQuestComponent } } } + if (_questCardExpanded) + { + ImGui.Spacing(); + ImGui.PushTextWrapPos(cursorPosX + num); + if (startedQuest != null) + { + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.DimTextColor)) + { + ImU8String text5 = new ImU8String(15, 3); + text5.AppendFormatted(startedQuest.Quest.Id); + text5.AppendLiteral(" / Seq "); + text5.AppendFormatted(startedQuest.Sequence); + text5.AppendLiteral(" / Step "); + text5.AppendFormatted(startedQuest.Step); + ImGui.TextUnformatted(text5); + } + } + if (questProgressInfo != null) + { + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.DimTextColor)) + { + ImU8String text6 = new ImU8String(0, 1); + text6.AppendFormatted(questProgressInfo); + ImGui.TextUnformatted(text6); + if (ImGui.IsItemClicked()) + { + string text7 = MultipleWhitespaceRegex().Replace(questProgressInfo.ToString(), " "); + ImGui.SetClipboardText(text7); + _chatGui.Print("Copied '" + text7 + "' to clipboard"); + } + if (ImGui.IsItemHovered()) + { + ImGui.SameLine(); + ImGui.PushFont(UiBuilder.IconFont); + ImGui.Text(FontAwesomeIcon.Copy.ToIconString()); + ImGui.PopFont(); + } + if (currentQuest.Quest.Info.AlliedSociety != EAlliedSociety.None) + { + ImGui.SameLine(); + ImU8String text8 = new ImU8String(2, 1); + text8.AppendLiteral("/ "); + text8.AppendFormatted(questProgressInfo.ClassJob); + ImGui.Text(text8); + } + } + } + using (ImRaii.ColorDisposable colorDisposable = new ImRaii.ColorDisposable()) + { + bool flag; + if (questStep != null) + { + EInteractionType interactionType = questStep.InteractionType; + if (interactionType == EInteractionType.WaitForManualProgress || interactionType == EInteractionType.Snipe || interactionType == EInteractionType.Instruction) + { + flag = true; + goto IL_0935; + } + } + flag = false; + goto IL_0935; + IL_0935: + if (flag) + { + colorDisposable.Push(ImGuiCol.Text, ImGuiColors.DalamudOrange); + } + string text9 = questStep?.Comment ?? questSequence?.Comment ?? currentQuest.Quest.Root.Comment; + if (!string.IsNullOrEmpty(text9)) + { + ImGui.TextUnformatted(text9); + } + } + ImGui.TextUnformatted(_questController.ToStatString()); + QuestController.QuestProgress nextQuest = _questController.NextQuest; + if (nextQuest != null) + { + using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudYellow)) + { + ImU8String text10 = new ImU8String(9, 2); + text10.AppendLiteral("Next: "); + text10.AppendFormatted(Shorten(nextQuest.Quest.Info.Name)); + text10.AppendLiteral(" ("); + text10.AppendFormatted(nextQuest.Quest.Id); + text10.AppendLiteral(")"); + ImGui.TextUnformatted(text10); + } + } + ImGui.PopTextWrapPos(); + } } - QuestController.QuestProgress nextQuest = _questController.NextQuest; - if (nextQuest != null) + catch (Exception ex) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudYellow)) - { - ImU8String text13 = new ImU8String(21, 4); - text13.AppendLiteral("Next Quest: "); - text13.AppendFormatted(Shorten(nextQuest.Quest.Info.Name)); - text13.AppendLiteral(" ("); - text13.AppendFormatted(nextQuest.Quest.Id); - text13.AppendLiteral(") / "); - text13.AppendFormatted(nextQuest.Sequence); - text13.AppendLiteral(" / "); - text13.AppendFormatted(nextQuest.Step); - ImGui.TextUnformatted(text13); - } - } - } - - private unsafe QuestProgressInfo? DrawQuestWork(QuestController.QuestProgress currentQuest, bool isMinimized) - { - QuestProgressInfo questProgressInfo = _questFunctions.GetQuestProgressInfo(currentQuest.Quest.Id); - if (questProgressInfo != null) - { - if (isMinimized) - { - return questProgressInfo; - } - Vector4* styleColorVec = ImGui.GetStyleColorVec4(ImGuiCol.TextDisabled); - Vector4 color = ((styleColorVec == null) ? ImGuiColors.ParsedOrange : (*styleColorVec)); - using (ImRaii.PushColor(ImGuiCol.Text, color)) - { - ImU8String text = new ImU8String(0, 1); - text.AppendFormatted(questProgressInfo); - ImGui.Text(text); - if (ImGui.IsItemClicked()) - { - string text2 = MultipleWhitespaceRegex().Replace(questProgressInfo.ToString(), " "); - ImGui.SetClipboardText(text2); - _chatGui.Print("Copied '" + text2 + "' to clipboard"); - } - if (ImGui.IsItemHovered()) - { - ImGui.SameLine(); - ImGui.PushFont(UiBuilder.IconFont); - ImGui.Text(FontAwesomeIcon.Copy.ToIconString()); - ImGui.PopFont(); - } - if (currentQuest.Quest.Info.AlliedSociety != EAlliedSociety.None) - { - ImGui.SameLine(); - ImU8String text3 = new ImU8String(2, 1); - text3.AppendLiteral("/ "); - text3.AppendFormatted(questProgressInfo.ClassJob); - ImGui.Text(text3); - } - } - } - else if (currentQuest.Quest.Id is QuestId) - { - using (ImRaii.Disabled()) - { - if (currentQuest.Quest.Id == _questController.NextQuest?.Quest.Id) - { - ImGui.TextUnformatted("(Next quest in story line not accepted)"); - } - else - { - ImGui.TextUnformatted("(Not accepted)"); - } - } - } - return questProgressInfo; - } - - private void DrawQuestButtons(QuestController.QuestProgress currentQuest, QuestStep? currentStep, QuestProgressInfo? questProgressInfo, bool isMinimized) - { - using (ImRaii.Disabled(_questController.IsRunning || _fateController.IsRunning || _seasonalDutyController.IsRunning)) - { - if (ImGuiComponents.IconButton(FontAwesomeIcon.Play)) - { - if (questProgressInfo == null) - { - _questController.SetNextQuest(currentQuest.Quest); - } - _questController.Start("UI start"); - } - if (!isMinimized) - { - ImGui.SameLine(); - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.StepForward, "Step")) - { - _questController.StartSingleStep("UI step"); - } - } - } - ImGui.SameLine(); - if (ImGuiComponents.IconButton(FontAwesomeIcon.Stop)) - { - _movementController.Stop(); - _questController.Stop("UI stop"); - _gatheringController.Stop("UI stop"); - _fateController.Stop("UI stop"); - } - if (isMinimized) - { - ImGui.SameLine(); - if (ImGuiComponents.IconButton(FontAwesomeIcon.RedoAlt)) - { - this.Reload?.Invoke(this, EventArgs.Empty); - } - return; - } - bool flag = currentStep == currentQuest.Quest.FindSequence(currentQuest.Sequence)?.Steps.LastOrDefault(); - WaitAtEnd.WaitNextStepOrSequence task; - bool condition = currentStep != null && !flag && currentStep.InteractionType == EInteractionType.Instruction && _questController.HasCurrentTaskMatching(out task); - using (ImRaii.Disabled(flag)) - { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedGreen, condition)) - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.ArrowCircleRight, "Skip")) - { - _movementController.Stop(); - _questController.Skip(currentQuest.Quest.Id, currentQuest.Sequence); - } - if (ImGui.IsItemHovered()) - { - ImGui.SetTooltip("Skip the current step of the quest path."); - } - } - } - if (_commandManager.Commands.ContainsKey("/questinfo")) - { - ImGui.SameLine(); - if (ImGuiComponents.IconButton(FontAwesomeIcon.Atlas)) - { - _commandManager.ProcessCommand($"/questinfo {currentQuest.Quest.Id}"); - } - if (ImGui.IsItemHovered()) - { - ImU8String tooltip = new ImU8String(46, 1); - tooltip.AppendLiteral("Show information about '"); - tooltip.AppendFormatted(currentQuest.Quest.Info.Name); - tooltip.AppendLiteral("' in Quest Map plugin."); - ImGui.SetTooltip(tooltip); - } + UiThemeUtils.WrappedTextColored(ImGuiColors.DalamudRed, ex.ToString()); + _logger.LogError(ex, "Could not handle active quest card"); } + UiThemeUtils.EndCard(item, item2, item3); + DrawSimulationControls(); } private void DrawSimulationControls() @@ -707,14 +840,13 @@ internal sealed class ActiveQuestComponent return; } QuestController.QuestProgress simulatedQuest = _questController.SimulatedQuest; - ImGui.Separator(); - ImGui.TextColored(ImGuiColors.DalamudRed, "Quest sim active (experimental)"); - ImU8String text = new ImU8String(10, 1); - text.AppendLiteral("Sequence: "); - text.AppendFormatted(simulatedQuest.Sequence); - ImGui.Text(text); + UiThemeUtils.SectionSpacing(); + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + UiThemeUtils.SectionHeader("Simulation"); + UiThemeUtils.WrappedTextColored(ImGuiColors.DalamudRed, "Quest sim active (experimental)"); + UiThemeUtils.WrappedText($"Sequence: {simulatedQuest.Sequence}"); ImGui.BeginDisabled(simulatedQuest.Sequence == 0); - if (ImGuiComponents.IconButton(FontAwesomeIcon.Minus)) + if (UiThemeUtils.IconButton(FontAwesomeIcon.Minus, ImGui.GetFrameHeight())) { _movementController.Stop(); _questController.Stop("Sim-"); @@ -725,7 +857,7 @@ internal sealed class ActiveQuestComponent ImGui.EndDisabled(); ImGui.SameLine(); ImGui.BeginDisabled(simulatedQuest.Sequence >= byte.MaxValue); - if (ImGuiComponents.IconButton(FontAwesomeIcon.Plus)) + if (UiThemeUtils.IconButton(FontAwesomeIcon.Plus, ImGui.GetFrameHeight())) { _movementController.Stop(); _questController.Stop("Sim+"); @@ -735,47 +867,42 @@ internal sealed class ActiveQuestComponent } ImGui.EndDisabled(); QuestSequence questSequence = simulatedQuest.Quest.FindSequence(simulatedQuest.Sequence); - if (questSequence == null) + if (questSequence != null) { - return; - } - using (ImRaii.PushId("SimulatedStep")) - { - ImU8String text2 = new ImU8String(9, 2); - text2.AppendLiteral("Step: "); - text2.AppendFormatted(simulatedQuest.Step); - text2.AppendLiteral(" / "); - text2.AppendFormatted(questSequence.Steps.Count - 1); - ImGui.Text(text2); - ImGui.BeginDisabled(simulatedQuest.Step == 0); - if (ImGuiComponents.IconButton(FontAwesomeIcon.Minus)) + using (ImRaii.PushId("SimulatedStep")) { - _movementController.Stop(); - _questController.Stop("SimStep-"); - simulatedQuest.SetStep(Math.Min(simulatedQuest.Step - 1, questSequence.Steps.Count - 1)); - } - ImGui.EndDisabled(); - ImGui.SameLine(); - ImGui.BeginDisabled(simulatedQuest.Step >= questSequence.Steps.Count); - if (ImGuiComponents.IconButton(FontAwesomeIcon.Plus)) - { - _movementController.Stop(); - _questController.Stop("SimStep+"); - simulatedQuest.SetStep((simulatedQuest.Step == questSequence.Steps.Count - 1) ? 255 : (simulatedQuest.Step + 1)); - } - ImGui.EndDisabled(); - if (ImGui.Button("Skip current task")) - { - _questController.SkipSimulatedTask(); - } - ImGui.SameLine(); - if (ImGui.Button("Clear sim")) - { - _questController.SimulateQuest(null, 0, 0); - _movementController.Stop(); - _questController.Stop("ClearSim"); + UiThemeUtils.WrappedText($"Step: {simulatedQuest.Step} / {questSequence.Steps.Count - 1}"); + ImGui.BeginDisabled(simulatedQuest.Step == 0); + if (UiThemeUtils.IconButton(FontAwesomeIcon.Minus, ImGui.GetFrameHeight())) + { + _movementController.Stop(); + _questController.Stop("SimStep-"); + simulatedQuest.SetStep(Math.Min(simulatedQuest.Step - 1, questSequence.Steps.Count - 1)); + } + ImGui.EndDisabled(); + ImGui.SameLine(); + ImGui.BeginDisabled(simulatedQuest.Step >= questSequence.Steps.Count); + if (UiThemeUtils.IconButton(FontAwesomeIcon.Plus, ImGui.GetFrameHeight())) + { + _movementController.Stop(); + _questController.Stop("SimStep+"); + simulatedQuest.SetStep((simulatedQuest.Step == questSequence.Steps.Count - 1) ? 255 : (simulatedQuest.Step + 1)); + } + ImGui.EndDisabled(); + if (ImGui.Button("Skip current task")) + { + _questController.SkipSimulatedTask(); + } + ImGui.SameLine(); + if (ImGui.Button("Clear sim")) + { + _questController.SimulateQuest(null, 0, 0); + _movementController.Stop(); + _questController.Stop("ClearSim"); + } } } + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); } private static string Shorten(string text) diff --git a/Questionable/Questionable.Windows.QuestComponents/CreationUtilsComponent.cs b/Questionable/Questionable.Windows.QuestComponents/CreationUtilsComponent.cs index 7a51ae6..384ba8d 100644 --- a/Questionable/Questionable.Windows.QuestComponents/CreationUtilsComponent.cs +++ b/Questionable/Questionable.Windows.QuestComponents/CreationUtilsComponent.cs @@ -18,7 +18,7 @@ using Questionable.Controller; using Questionable.Data; using Questionable.Functions; using Questionable.Model; -using Questionable.Model.Common; +using SmartNav.Model; namespace Questionable.Windows.QuestComponents; @@ -28,7 +28,7 @@ internal sealed class CreationUtilsComponent private readonly GameFunctions _gameFunctions; - private readonly QuestFunctions _questFunctions; + private readonly QuestPriorityResolver _priorityResolver; private readonly TerritoryData _territoryData; @@ -50,11 +50,11 @@ internal sealed class CreationUtilsComponent private readonly ILogger _logger; - public CreationUtilsComponent(MovementController movementController, GameFunctions gameFunctions, QuestFunctions questFunctions, TerritoryData territoryData, QuestData questData, QuestSelectionWindow questSelectionWindow, IObjectTable objectTable, IClientState clientState, ITargetManager targetManager, ICondition condition, IGameGui gameGui, Configuration configuration, ILogger logger) + public CreationUtilsComponent(MovementController movementController, GameFunctions gameFunctions, QuestPriorityResolver priorityResolver, TerritoryData territoryData, QuestData questData, QuestSelectionWindow questSelectionWindow, IObjectTable objectTable, IClientState clientState, ITargetManager targetManager, ICondition condition, IGameGui gameGui, Configuration configuration, ILogger logger) { _movementController = movementController; _gameFunctions = gameFunctions; - _questFunctions = questFunctions; + _priorityResolver = priorityResolver; _territoryData = territoryData; _questData = questData; _questSelectionWindow = questSelectionWindow; @@ -69,22 +69,13 @@ internal sealed class CreationUtilsComponent public void Draw() { - ImGui.Text(_territoryData.GetNameAndId(_clientState.TerritoryType)); + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + UiThemeUtils.WrappedText(_territoryData.GetNameAndId(_clientState.TerritoryType)); if (_gameFunctions.IsFlyingUnlockedInCurrentZone()) { ImGui.SameLine(); ImGui.Text(SeIconChar.BotanistSprout.ToIconString()); } - if (_configuration.Advanced.AdditionalStatusInformation) - { - QuestReference currentQuest = _questFunctions.GetCurrentQuest(); - ImU8String text = new ImU8String(18, 2); - text.AppendLiteral("Current Quest: "); - text.AppendFormatted(currentQuest.CurrentQuest); - text.AppendLiteral(" → "); - text.AppendFormatted(currentQuest.Sequence); - ImGui.Text(text); - } if (_targetManager.Target != null) { DrawTargetDetails(_targetManager.Target); @@ -100,11 +91,9 @@ internal sealed class CreationUtilsComponent if (hoveredItem != 0L) { ImGui.Separator(); - ImU8String text2 = new ImU8String(14, 1); - text2.AppendLiteral("Hovered Item: "); - text2.AppendFormatted(hoveredItem); - ImGui.Text(text2); + UiThemeUtils.WrappedText($"Hovered Item: {hoveredItem}"); } + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); } private unsafe void DrawTargetDetails(IGameObject target) @@ -126,7 +115,7 @@ internal sealed class CreationUtilsComponent handler.AppendFormatted(target.BaseId); handler.AppendFormatted(value); handler.AppendLiteral(")"); - ImGui.Text(string.Create(provider, ref handler)); + UiThemeUtils.WrappedText(string.Create(provider, ref handler)); if (_objectTable.LocalPlayer != null) { invariantCulture = CultureInfo.InvariantCulture; @@ -135,7 +124,6 @@ internal sealed class CreationUtilsComponent handler2.AppendLiteral("Distance: "); handler2.AppendFormatted((target.Position - _objectTable.LocalPlayer.Position).Length(), "F2"); ImGui.Text(string.Create(provider2, ref handler2)); - ImGui.SameLine(); float value2 = target.Position.Y - _objectTable.LocalPlayer.Position.Y; invariantCulture = CultureInfo.InvariantCulture; IFormatProvider provider3 = invariantCulture; @@ -151,7 +139,6 @@ internal sealed class CreationUtilsComponent { ImGui.Text(text); } - ImGui.SameLine(); } GameObject* address = (GameObject*)target.Address; ImU8String text2 = new ImU8String(4, 1); @@ -175,7 +162,6 @@ internal sealed class CreationUtilsComponent _movementController.ResetPathfinding(); } ImGui.EndDisabled(); - ImGui.SameLine(); ImGui.BeginDisabled(!_questData.IsIssuerOfAnyQuest(target.BaseId)); bool num = ImGuiComponents.IconButton(FontAwesomeIcon.MapMarkerAlt); if (ImGui.IsItemHovered()) @@ -197,7 +183,7 @@ internal sealed class CreationUtilsComponent if (num2) { ulong num3 = TargetSystem.Instance()->InteractWithObject((GameObject*)target.Address, checkLineOfSight: false); - _logger.LogInformation("XXXXX Interaction Result: {Result}", num3); + _logger.LogDebug("Interaction Result: {Result}", num3); } ImGui.EndDisabled(); } diff --git a/Questionable/Questionable.Windows.QuestComponents/EventInfoComponent.cs b/Questionable/Questionable.Windows.QuestComponents/EventInfoComponent.cs index a79c19d..17b9d2a 100644 --- a/Questionable/Questionable.Windows.QuestComponents/EventInfoComponent.cs +++ b/Questionable/Questionable.Windows.QuestComponents/EventInfoComponent.cs @@ -10,6 +10,7 @@ using Dalamud.Plugin.Services; using Lumina.Excel.Sheets; using Microsoft.Extensions.Logging; using Questionable.Controller; +using Questionable.Controller.Utils; using Questionable.Data; using Questionable.Functions; using Questionable.Model; @@ -31,6 +32,14 @@ internal sealed class EventInfoComponent private readonly QuestController _questController; + private readonly FateController _fateController; + + private readonly SeasonalDutyController _seasonalDutyController; + + private readonly CustomDeliveryController _customDeliveryController; + + private readonly AttunementController _attunementController; + private readonly QuestTooltipComponent _questTooltipComponent; private readonly Configuration _configuration; @@ -58,17 +67,21 @@ internal sealed class EventInfoComponent return false; } UpdateCacheIfNeeded(); - return _cachedActiveSeasonalQuests.Count > 0; + return _cachedActiveSeasonalQuests.Any((IQuestInfo q) => !_questFunctions.IsQuestComplete(q.QuestId)); } } - public EventInfoComponent(QuestData questData, QuestRegistry questRegistry, QuestFunctions questFunctions, UiUtils uiUtils, QuestController questController, QuestTooltipComponent questTooltipComponent, Configuration configuration, IDataManager dataManager, JournalData journalData, ILogger logger) + public EventInfoComponent(QuestData questData, QuestRegistry questRegistry, QuestFunctions questFunctions, UiUtils uiUtils, QuestController questController, FateController fateController, SeasonalDutyController seasonalDutyController, CustomDeliveryController customDeliveryController, AttunementController attunementController, QuestTooltipComponent questTooltipComponent, Configuration configuration, IDataManager dataManager, JournalData journalData, ILogger logger) { _questData = questData; _questRegistry = questRegistry; _questFunctions = questFunctions; _uiUtils = uiUtils; _questController = questController; + _fateController = fateController; + _seasonalDutyController = seasonalDutyController; + _customDeliveryController = customDeliveryController; + _attunementController = attunementController; _questTooltipComponent = questTooltipComponent; _configuration = configuration; _dataManager = dataManager; @@ -79,6 +92,8 @@ internal sealed class EventInfoComponent public void Draw() { UpdateCacheIfNeeded(); + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + UiThemeUtils.SectionHeader("Events"); foreach (IGrouping item in _cachedActiveSeasonalQuests.GroupBy(delegate(IQuestInfo q) { if (q.QuestId is UnlockLinkId) @@ -114,6 +129,7 @@ internal sealed class EventInfoComponent EventQuest eventQuest = new EventQuest(item.Key, item.Select((IQuestInfo q) => q.QuestId).ToList(), endsAtUtc, patch); DrawEventQuest(eventQuest); } + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); } private string GetJournalGenreName(uint journalGenreId) @@ -147,22 +163,17 @@ internal sealed class EventInfoComponent { timeSpan = TimeSpan.Zero; } - string value = FormatRemainingDays(timeSpan); - string text2 = FormatRemainingFull(timeSpan); - ImU8String text3 = new ImU8String(3, 2); - text3.AppendFormatted(text); - text3.AppendLiteral(" ("); - text3.AppendFormatted(value); - text3.AppendLiteral(")"); - ImGui.Text(text3); + string text2 = FormatRemainingDays(timeSpan); + string text3 = FormatRemainingFull(timeSpan); + UiThemeUtils.WrappedText(text + " (" + text2 + ")"); if (ImGui.IsItemHovered()) { - ImGui.SetTooltip(text2); + ImGui.SetTooltip(text3); } } else { - ImGui.Text(text); + UiThemeUtils.WrappedText(text); } List list = eventQuest.QuestIds.Where((ElementId x) => _questRegistry.IsKnownQuest(x) && _questFunctions.IsReadyToAcceptQuest(x) && x != _questController.StartedQuest?.Quest.Id && x != _questController.NextQuest?.Quest.Id).ToList(); foreach (ElementId questId in eventQuest.QuestIds) @@ -179,15 +190,22 @@ internal sealed class EventInfoComponent string name = _questData.GetQuestInfo(questId).Name; if (list.Contains(questId) && _questRegistry.TryGetQuest(questId, out Questionable.Model.Quest quest)) { - if (ImGuiComponents.IconButton(FontAwesomeIcon.Play)) + using (ImRaii.Disabled(_questController.IsRunning || _fateController.IsRunning || _seasonalDutyController.IsRunning || _customDeliveryController.IsRunning || _attunementController.IsRunning)) { - _questController.SetNextQuest(quest); - _questController.Start("SeasonalEventSelection"); + if (ImGuiComponents.IconButton(FontAwesomeIcon.Play)) + { + _fateController.Stop("Seasonal event start"); + _seasonalDutyController.Stop("Seasonal event start"); + _customDeliveryController.Stop("Seasonal event start"); + _attunementController.Stop("Seasonal event start"); + _questController.SetNextQuest(quest); + _questController.Start("SeasonalEventSelection"); + } } bool num = ImGui.IsItemHovered(); ImGui.SameLine(); ImGui.AlignTextToFramePadding(); - ImGui.Text(name); + UiThemeUtils.WrappedText(name); if (num | ImGui.IsItemHovered()) { _questTooltipComponent.Draw(quest.Info); @@ -348,22 +366,12 @@ internal sealed class EventInfoComponent public static DateTime AtDailyReset(DateOnly date) { - return new DateTime(date, new TimeOnly(14, 59, 59), DateTimeKind.Utc); + return ExpiryUtils.AtDailyReset(date); } internal static DateTime NormalizeExpiry(DateTime d) { - TimeSpan timeOfDay = d.TimeOfDay; - TimeSpan timeSpan = new TimeSpan(23, 59, 59); - if (timeOfDay == TimeSpan.Zero || timeOfDay == timeSpan) - { - return AtDailyReset(DateOnly.FromDateTime(d)); - } - if (d.Kind != DateTimeKind.Utc) - { - return d.ToUniversalTime(); - } - return d; + return ExpiryUtils.NormalizeExpiry(d); } internal static string FormatRemainingDays(TimeSpan remaining) @@ -393,7 +401,7 @@ internal sealed class EventInfoComponent int value3 = num % 60; if (num2 < 1) { - return $"Ends in {value:D2}d {value2:D2}m {value3:D2}s"; + return $"Ends in {value:D2}h {value2:D2}m {value3:D2}s"; } return $"Ends in {num2}d {value:D2}h {value2:D2}m {value3:D2}s"; } diff --git a/Questionable/Questionable.Windows.QuestComponents/GameSequenceChainComponent.cs b/Questionable/Questionable.Windows.QuestComponents/GameSequenceChainComponent.cs new file mode 100644 index 0000000..681ac53 --- /dev/null +++ b/Questionable/Questionable.Windows.QuestComponents/GameSequenceChainComponent.cs @@ -0,0 +1,86 @@ +using System.Collections.Generic; +using System.Globalization; +using Dalamud.Bindings.ImGui; +using Dalamud.Plugin.Services; +using Questionable.Data; +using Questionable.Model.Questing; + +namespace Questionable.Windows.QuestComponents; + +internal sealed class GameSequenceChainComponent +{ + private readonly IDataManager _dataManager; + + private readonly Dictionary> _cache = new Dictionary>(); + + public GameSequenceChainComponent(IDataManager dataManager) + { + _dataManager = dataManager; + } + + public List GetSequences(QuestId questId) + { + if (!_cache.TryGetValue(questId.Value, out List value)) + { + value = GameQuestSequences.GetCompletionSequences(_dataManager, questId); + _cache[questId.Value] = value; + } + return value; + } + + public void Draw(QuestId questId, byte currentSequence) + { + List sequences = GetSequences(questId); + if (sequences.Count == 0) + { + ImGui.TextColored(in UiThemeUtils.MutedTextColor, "No sequence data"); + return; + } + for (int i = 0; i < sequences.Count; i++) + { + if (i > 0) + { + ImGui.SameLine(0f, 4f); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, "›"); + ImGui.SameLine(0f, 4f); + } + int num = sequences[i]; + if (num == currentSequence) + { + ImU8String text = new ImU8String(2, 1); + text.AppendLiteral("["); + text.AppendFormatted(num); + text.AppendLiteral("]"); + ImGui.TextColored(in UiThemeUtils.StatusActive, text); + } + else + { + ImGui.TextColored(in UiThemeUtils.DimTextColor, num.ToString(CultureInfo.InvariantCulture)); + } + } + int num2 = sequences.IndexOf(currentSequence); + ImGui.SameLine(0f, 8f); + if (currentSequence == byte.MaxValue) + { + ImGui.TextColored(in UiThemeUtils.StatusComplete, "(ready to turn in)"); + } + else if (num2 >= 0) + { + ImU8String text2 = new ImU8String(3, 2); + text2.AppendLiteral("("); + text2.AppendFormatted(num2 + 1); + text2.AppendLiteral("/"); + text2.AppendFormatted(sequences.Count); + text2.AppendLiteral(")"); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, text2); + } + else + { + ImU8String text3 = new ImU8String(19, 1); + text3.AppendLiteral("(at "); + text3.AppendFormatted(currentSequence); + text3.AppendLiteral(", not in chain)"); + ImGui.TextColored(in UiThemeUtils.StatusUnobtainable, text3); + } + } +} diff --git a/Questionable/Questionable.Windows.QuestComponents/ManualPriorityComponent.cs b/Questionable/Questionable.Windows.QuestComponents/ManualPriorityComponent.cs index efbab63..ca62851 100644 --- a/Questionable/Questionable.Windows.QuestComponents/ManualPriorityComponent.cs +++ b/Questionable/Questionable.Windows.QuestComponents/ManualPriorityComponent.cs @@ -5,10 +5,8 @@ using System.Numerics; using System.Text; using Dalamud.Bindings.ImGui; using Dalamud.Interface; -using Dalamud.Interface.Colors; using Dalamud.Interface.Components; using Dalamud.Interface.Utility.Raii; -using Dalamud.Plugin; using Dalamud.Plugin.Services; using Questionable.Controller; using Questionable.Functions; @@ -20,6 +18,12 @@ namespace Questionable.Windows.QuestComponents; internal sealed class ManualPriorityComponent { + public const string ClipboardPrefix = "qst:priority:"; + + public const string LegacyClipboardPrefix = "qst:v1:"; + + public const char ClipboardSeparator = ';'; + private readonly QuestController _questController; private readonly QuestFunctions _questFunctions; @@ -28,24 +32,22 @@ internal sealed class ManualPriorityComponent private readonly QuestTooltipComponent _questTooltipComponent; - private readonly UiUtils _uiUtils; - private readonly IChatGui _chatGui; - private readonly IDalamudPluginInterface _pluginInterface; - private ElementId? _draggedItem; - public ManualPriorityComponent(QuestController questController, QuestFunctions questFunctions, QuestSelector questSelector, QuestTooltipComponent questTooltipComponent, UiUtils uiUtils, IChatGui chatGui, IDalamudPluginInterface pluginInterface) + private string? _lastClipboardText; + + private List _clipboardItems = new List(); + + public ManualPriorityComponent(QuestController questController, QuestFunctions questFunctions, QuestSelector questSelector, QuestTooltipComponent questTooltipComponent, IChatGui chatGui) { ManualPriorityComponent manualPriorityComponent = this; _questController = questController; _questFunctions = questFunctions; _questSelector = questSelector; _questTooltipComponent = questTooltipComponent; - _uiUtils = uiUtils; _chatGui = chatGui; - _pluginInterface = pluginInterface; _questSelector.SuggestionPredicate = (Quest quest) => !quest.Info.IsMainScenarioQuest && !questFunctions.IsQuestUnobtainable(quest.Id) && questController.ManualPriorityQuests.All((Quest x) => x.Id != quest.Id); _questSelector.DefaultPredicate = (Quest quest) => questFunctions.IsQuestAccepted(quest.Id); _questSelector.QuestSelected = delegate(Quest quest) @@ -57,18 +59,26 @@ internal sealed class ManualPriorityComponent public void Draw() { + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); ImGui.TextWrapped("When you have an active Main Scenario Quest, Questionable will prioritise quests in this order:"); - ImGui.BulletText("Priority quests: class quests, A Realm Reborn primals and raids"); - ImGui.BulletText("Supported quests from your Journal's To-Do list (always visible on-screen quests)"); - ImGui.BulletText("Main Scenario Quest (if available and not marked as ignored in your Journal)"); + ImGui.Bullet(); + ImGui.SameLine(); + UiThemeUtils.WrappedText("Priority quests: class quests, A Realm Reborn primals and raids"); + ImGui.Bullet(); + ImGui.SameLine(); + UiThemeUtils.WrappedText("Supported quests from your Journal's To-Do list (always visible on-screen quests)"); + ImGui.Bullet(); + ImGui.SameLine(); + UiThemeUtils.WrappedText("Main Scenario Quest (if available and not marked as ignored in your Journal)"); ImGui.TextWrapped("Without an active Main Scenario Quest, it will always try to pick up the next MSQ first."); ImGui.Spacing(); ImGui.Text("Custom priority quests:"); _questSelector.DrawSelection(); - ImGui.Spacing(); + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + UiThemeUtils.SectionSpacing(); if (_questController.ManualPriorityQuests.Count > 0) { - ImGui.Text("Priority queue (drag arrow buttons to reorder):"); + UiThemeUtils.WrappedText("Priority queue (drag arrow buttons to reorder):"); } using (ImRaii.ChildDisposable childDisposable = ImRaii.Child("ManualPriorityList", new Vector2(-1f, -27f), border: true)) { @@ -77,6 +87,10 @@ internal sealed class ManualPriorityComponent DrawQuestList(); } } + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple2 = UiThemeUtils.BeginCard(); + Vector2 item = tuple2.ContentStartPos; + float item2 = tuple2.AvailableWidth; + ImDrawListPtr item3 = tuple2.DrawList; List list = ParseClipboardItems(); using (ImRaii.Disabled(list.Count == 0)) { @@ -110,6 +124,80 @@ internal sealed class ManualPriorityComponent ImGui.SetTooltip("Hold CTRL to enable this button."); } } + UiThemeUtils.EndCard(item, item2, item3); + } + + public void DrawCompact() + { + _questSelector.DrawSelection(); + ImGui.Spacing(); + List manualPriorityQuests = _questController.ManualPriorityQuests; + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + if (manualPriorityQuests.Count == 0) + { + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.MutedTextColor)) + { + ImGui.TextWrapped("No quests in priority queue."); + } + } + else + { + DrawQuestList(); + } + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + UiThemeUtils.SectionSpacing(); + float x = ImGui.GetContentRegionAvail().X; + float x2 = ImGui.GetStyle().ItemSpacing.X; + float frameHeight = ImGui.GetFrameHeight(); + List list = ParseClipboardItems(); + using (ImRaii.Disabled(list.Count == 0)) + { + if (UiThemeUtils.IconButton(FontAwesomeIcon.Download, frameHeight)) + { + ImportFromClipboard(list); + } + } + if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + { + ImGui.SetTooltip("Import from Clipboard"); + } + ImGui.SameLine(); + using (ImRaii.Disabled(manualPriorityQuests.Count == 0)) + { + if (UiThemeUtils.IconButton(FontAwesomeIcon.Upload, frameHeight)) + { + ExportToClipboard(); + } + } + if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + { + ImGui.SetTooltip("Export to Clipboard"); + } + ImGui.SameLine(); + float width = (x - frameHeight * 2f - x2 * 3f) / 2f; + using (ImRaii.Disabled(manualPriorityQuests.Count == 0)) + { + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Check, "Remove Done", width) && _questController.ManualPriorityQuests.RemoveAll((Quest q) => _questFunctions.IsQuestComplete(q.Id)) > 0) + { + _questController.SavePriorityQuests(); + } + } + if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + { + ImGui.SetTooltip("Remove finished quests"); + } + ImGui.SameLine(); + using (ImRaii.Disabled(manualPriorityQuests.Count == 0 || !ImGui.IsKeyDown(ImGuiKey.ModCtrl))) + { + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Trash, "Clear", width)) + { + _questController.ClearQuestPriority(); + } + } + if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + { + ImGui.SetTooltip("Hold CTRL to clear all"); + } } private void DrawQuestList() @@ -117,7 +205,7 @@ internal sealed class ManualPriorityComponent List manualPriorityQuests = _questController.ManualPriorityQuests; if (manualPriorityQuests.Count == 0) { - ImGui.PushStyleColor(ImGuiCol.Text, ImGuiColors.DalamudGrey); + ImGui.PushStyleColor(ImGuiCol.Text, UiThemeUtils.MutedTextColor); ImGui.TextWrapped("No quests in priority queue. Add quests using the selector above to prioritise them over other available quests."); ImGui.PopStyleColor(); return; @@ -126,6 +214,7 @@ internal sealed class ManualPriorityComponent Quest quest2 = null; int index = 0; float x = ImGui.GetContentRegionAvail().X; + float num = ImGui.GetCursorPosX() + x - 12f; List<(Vector2, Vector2)> list = new List<(Vector2, Vector2)>(); for (int i = 0; i < manualPriorityQuests.Count; i++) { @@ -136,41 +225,15 @@ internal sealed class ManualPriorityComponent id.AppendFormatted(quest3.Id); using (ImRaii.PushId(id)) { - ImGui.AlignTextToFramePadding(); - ImU8String text = new ImU8String(1, 1); - text.AppendFormatted(i + 1); - text.AppendLiteral("."); - ImGui.Text(text); - ImGui.SameLine(); - (Vector4, FontAwesomeIcon, string) questStyle = _uiUtils.GetQuestStyle(quest3.Id); - bool flag; - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) - { - ImGui.AlignTextToFramePadding(); - ImGui.TextColored(in questStyle.Item1, questStyle.Item2.ToIconString()); - flag = ImGui.IsItemHovered(); - } - ImGui.SameLine(); - ImGui.AlignTextToFramePadding(); - ImGui.Text(quest3.Info.Name); - flag |= ImGui.IsItemHovered(); - if (flag) - { - _questTooltipComponent.Draw(quest3.Info); - } if (manualPriorityQuests.Count > 1) { - using (ImRaii.PushFont(UiBuilder.IconFont)) - { - ImGui.SameLine(ImGui.GetContentRegionAvail().X + ImGui.GetStyle().WindowPadding.X - ImGui.CalcTextSize(FontAwesomeIcon.ArrowsUpDown.ToIconString()).X - ImGui.CalcTextSize(FontAwesomeIcon.Times.ToIconString()).X - ImGui.GetStyle().FramePadding.X * 4f - ImGui.GetStyle().ItemSpacing.X); - } if (_draggedItem == quest3.Id) { - ImGuiComponents.IconButton("##Move", FontAwesomeIcon.ArrowsUpDown, ImGui.ColorConvertU32ToFloat4(ImGui.GetColorU32(ImGuiCol.ButtonActive))); + ImGuiComponents.IconButton("##Move", FontAwesomeIcon.Bars, ImGui.ColorConvertU32ToFloat4(ImGui.GetColorU32(ImGuiCol.ButtonActive))); } else { - ImGuiComponents.IconButton("##Move", FontAwesomeIcon.ArrowsUpDown); + ImGuiComponents.IconButton("##Move", FontAwesomeIcon.Bars); } if (_draggedItem == null && ImGui.IsItemActive() && ImGui.IsMouseDragging(ImGuiMouseButton.Left)) { @@ -178,13 +241,15 @@ internal sealed class ManualPriorityComponent } ImGui.SameLine(); } - else + float frameHeight = ImGui.GetFrameHeight(); + ImGui.AlignTextToFramePadding(); + UiThemeUtils.RowLabel(quest3.Info.Name, frameHeight + ImGui.GetStyle().ItemSpacing.X); + if (ImGui.IsItemHovered()) { - using (ImRaii.PushFont(UiBuilder.IconFont)) - { - ImGui.SameLine(ImGui.GetContentRegionAvail().X + ImGui.GetStyle().WindowPadding.X - ImGui.CalcTextSize(FontAwesomeIcon.Times.ToIconString()).X - ImGui.GetStyle().FramePadding.X * 2f); - } + _questTooltipComponent.Draw(quest3.Info); } + ImGui.SameLine(); + ImGui.SetCursorPosX(num - frameHeight); if (ImGuiComponents.IconButton($"##Remove{i}", FontAwesomeIcon.Times)) { quest = quest3; @@ -193,21 +258,33 @@ internal sealed class ManualPriorityComponent Vector2 item2 = new Vector2(item.X + x, ImGui.GetCursorScreenPos().Y - ImGui.GetStyle().ItemSpacing.Y + 2f); list.Add((item, item2)); } + ImGui.GetWindowDrawList(); + foreach (var (topLeft, bottomRight) in list) + { + UiThemeUtils.DrawRowBackground(topLeft, bottomRight); + } if (!ImGui.IsMouseDragging(ImGuiMouseButton.Left)) { _draggedItem = null; } else if (_draggedItem != null) { - Quest item3 = manualPriorityQuests.Single((Quest quest4) => quest4.Id == _draggedItem); - int num = manualPriorityQuests.IndexOf(item3); - var (pMin, pMax) = list[num]; - ImGui.GetWindowDrawList().AddRect(pMin, pMax, ImGui.GetColorU32(ImGuiColors.DalamudGrey), 3f, ImDrawFlags.RoundCornersAll); - int num2 = list.FindIndex(((Vector2 TopLeft, Vector2 BottomRight) tuple2) => ImGui.IsMouseHoveringRect(tuple2.TopLeft, tuple2.BottomRight, clip: true)); - if (num2 >= 0 && num != num2) + Quest quest4 = manualPriorityQuests.FirstOrDefault((Quest quest5) => quest5.Id == _draggedItem); + if (quest4 == null) { - quest2 = manualPriorityQuests.Single((Quest quest4) => quest4.Id == _draggedItem); - index = num2; + _draggedItem = null; + } + else + { + int num2 = manualPriorityQuests.IndexOf(quest4); + var (pMin, pMax) = list[num2]; + ImGui.GetWindowDrawList().AddRect(pMin, pMax, ImGui.ColorConvertFloat4ToU32(UiThemeUtils.CardBorderHighColor), 3f, ImDrawFlags.RoundCornersAll); + int num3 = list.FindIndex(((Vector2 TopLeft, Vector2 BottomRight) tuple3) => ImGui.IsMouseHoveringRect(tuple3.TopLeft, tuple3.BottomRight, clip: true)); + if (num3 >= 0 && num2 != num3) + { + quest2 = quest4; + index = num3; + } } } if (quest != null) @@ -228,9 +305,15 @@ internal sealed class ManualPriorityComponent return "qst:priority:" + Convert.ToBase64String(Encoding.UTF8.GetBytes(string.Join(';', _questController.ManualPriorityQuests.Select((Quest x) => x.Id.ToString())))); } - private static List ParseClipboardItems() + private List ParseClipboardItems() { - return PriorityWindow.DecodeQuestPriority(ImGui.GetClipboardText().Trim()); + string text = ThrottledClipboard.GetText(); + if (text != _lastClipboardText) + { + _lastClipboardText = text; + _clipboardItems = DecodeQuestPriority(text); + } + return _clipboardItems; } private void ExportToClipboard() @@ -241,6 +324,44 @@ internal sealed class ManualPriorityComponent private void ImportFromClipboard(List questElements) { - _questController.ImportQuestPriority(questElements); + if (_questController.ImportQuestPriority(questElements)) + { + _chatGui.Print($"Imported {_questController.ManualPriorityQuests.Count} priority quests.", "Questionable", 576); + } + else + { + _chatGui.PrintError("No importable quests found in clipboard data.", "Questionable", 576); + } + } + + public static List DecodeQuestPriority(string clipboardText) + { + List list = new List(); + try + { + if (!string.IsNullOrEmpty(clipboardText)) + { + string text = null; + if (clipboardText.StartsWith("qst:priority:", StringComparison.InvariantCulture)) + { + text = "qst:priority:"; + } + else if (clipboardText.StartsWith("qst:v1:", StringComparison.InvariantCulture)) + { + text = "qst:v1:"; + } + if (text != null) + { + clipboardText = clipboardText.Substring(text.Length); + string text2 = Encoding.UTF8.GetString(Convert.FromBase64String(clipboardText)); + list.AddRange(ElementId.FromStrings(text2.Split(';'), out var _)); + } + } + } + catch (Exception) + { + list.Clear(); + } + return list; } } diff --git a/Questionable/Questionable.Windows.QuestComponents/NavigationBarComponent.cs b/Questionable/Questionable.Windows.QuestComponents/NavigationBarComponent.cs new file mode 100644 index 0000000..670be16 --- /dev/null +++ b/Questionable/Questionable.Windows.QuestComponents/NavigationBarComponent.cs @@ -0,0 +1,110 @@ +using System; +using System.Numerics; +using Dalamud.Bindings.ImGui; +using Dalamud.Interface; +using Dalamud.Interface.Utility.Raii; + +namespace Questionable.Windows.QuestComponents; + +internal sealed class NavigationBarComponent +{ + private readonly ConfigWindow _configWindow; + + private readonly JournalProgressWindow _journalProgressWindow; + + private readonly SeasonalDutySelectionWindow _seasonalDutySelectionWindow; + + private readonly FateSelectionWindow _fateSelectionWindow; + + private readonly ChangelogWindow _changelogWindow; + + public NavigationBarComponent(ConfigWindow configWindow, JournalProgressWindow journalProgressWindow, SeasonalDutySelectionWindow seasonalDutySelectionWindow, FateSelectionWindow fateSelectionWindow, ChangelogWindow changelogWindow) + { + _configWindow = configWindow; + _journalProgressWindow = journalProgressWindow; + _seasonalDutySelectionWindow = seasonalDutySelectionWindow; + _fateSelectionWindow = fateSelectionWindow; + _changelogWindow = changelogWindow; + } + + public void Draw() + { + float x = ImGui.GetContentRegionAvail().X; + float x2 = ImGui.GetStyle().ItemSpacing.X; + float width = (x - 4f * x2) / 5f; + NavButton(FontAwesomeIcon.Cog, "Settings", delegate + { + _configWindow.IsOpenAndUncollapsed = true; + }, width, active: true); + ImGui.SameLine(); + NavButton(FontAwesomeIcon.Book, "Journal Progress", delegate + { + _journalProgressWindow.IsOpenAndUncollapsed = true; + }, width); + ImGui.SameLine(); + NavButton(FontAwesomeIcon.Shield, "Seasonal Duty Farming", delegate + { + _seasonalDutySelectionWindow.IsOpenAndUncollapsed = true; + }, width); + ImGui.SameLine(); + NavButton(FontAwesomeIcon.Calendar, "FATE Farming", delegate + { + _fateSelectionWindow.IsOpenAndUncollapsed = true; + }, width); + ImGui.SameLine(); + NavButton(FontAwesomeIcon.FileAlt, "What's New", delegate + { + _changelogWindow.IsOpenAndUncollapsed = true; + }, width); + } + + private static void NavButton(FontAwesomeIcon icon, string tooltip, Action onClick, float width, bool active = false) + { + using ImRaii.ColorDisposable colorDisposable = new ImRaii.ColorDisposable(); + if (active) + { + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.12f; + colorDisposable.Push(ImGuiCol.Button, accentColor); + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.2f; + colorDisposable.Push(ImGuiCol.ButtonHovered, accentColor); + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.25f; + colorDisposable.Push(ImGuiCol.ButtonActive, accentColor); + colorDisposable.Push(ImGuiCol.Text, UiThemeUtils.AccentColor); + } + float frameHeight = ImGui.GetFrameHeight(); + Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); + ImU8String label = new ImU8String(2, 1); + label.AppendLiteral("##"); + label.AppendFormatted(tooltip); + if (ImGui.Button(label, new Vector2(width, frameHeight))) + { + onClick(); + } + string text = icon.ToIconString(); + Vector2 vector; + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + vector = ImGui.CalcTextSize(text); + } + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + uint colorU = ImGui.GetColorU32(ImGuiCol.Text); + float x = cursorScreenPos.X + (width - vector.X) / 2f; + float y = cursorScreenPos.Y + (frameHeight - vector.Y) / 2f; + windowDrawList.AddText(UiBuilder.IconFont, ImGui.GetFontSize(), new Vector2(x, y), colorU, text); + if (active) + { + Vector2 itemRectMin = ImGui.GetItemRectMin(); + Vector2 itemRectMax = ImGui.GetItemRectMax(); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.35f; + windowDrawList.AddRect(itemRectMin, itemRectMax, ImGui.ColorConvertFloat4ToU32(accentColor), 4f, ImDrawFlags.RoundCornersAll, 1f); + } + if (ImGui.IsItemHovered()) + { + ImGui.SetTooltip(tooltip); + } + } +} diff --git a/Questionable/Questionable.Windows.QuestComponents/QuestSequenceComponent.cs b/Questionable/Questionable.Windows.QuestComponents/QuestSequenceComponent.cs index 0693f57..8e9e530 100644 --- a/Questionable/Questionable.Windows.QuestComponents/QuestSequenceComponent.cs +++ b/Questionable/Questionable.Windows.QuestComponents/QuestSequenceComponent.cs @@ -24,6 +24,8 @@ internal sealed class QuestSequenceComponent private readonly QuestRegistry _questRegistry; + private readonly QuestPriorityResolver _priorityResolver; + private readonly QuestFunctions _questFunctions; private readonly IDataManager _dataManager; @@ -38,10 +40,11 @@ internal sealed class QuestSequenceComponent public bool HasLookedUpQuest => _lookedUpQuestId != null; - public QuestSequenceComponent(QuestData questData, QuestRegistry questRegistry, QuestFunctions questFunctions, IDataManager dataManager, ILogger logger) + public QuestSequenceComponent(QuestData questData, QuestRegistry questRegistry, QuestPriorityResolver priorityResolver, QuestFunctions questFunctions, IDataManager dataManager, ILogger logger) { _questData = questData; _questRegistry = questRegistry; + _priorityResolver = priorityResolver; _questFunctions = questFunctions; _dataManager = dataManager; _logger = logger; @@ -54,12 +57,16 @@ internal sealed class QuestSequenceComponent float num = ImGui.GetFrameHeightWithSpacing() + ImGui.GetStyle().ItemSpacing.Y * 1.5f; ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); windowDrawList.AddRectFilledMultiColor(cursorScreenPos, cursorScreenPos + new Vector2(x, num), ImGui.ColorConvertFloat4ToU32(new Vector4(0.22f, 0.2f, 0.28f, 0.85f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.18f, 0.16f, 0.24f, 0.85f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.18f, 0.16f, 0.24f, 0.85f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.22f, 0.2f, 0.28f, 0.85f))); - windowDrawList.AddLine(cursorScreenPos + new Vector2(0f, num), cursorScreenPos + new Vector2(x, num), ImGui.ColorConvertFloat4ToU32(new Vector4(0.7f, 0.6f, 0.9f, 0.5f)), 2f); + Vector2 p = cursorScreenPos + new Vector2(0f, num); + Vector2 p2 = cursorScreenPos + new Vector2(x, num); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.5f; + windowDrawList.AddLine(p, p2, ImGui.ColorConvertFloat4ToU32(accentColor), 2f); float textLineHeight = ImGui.GetTextLineHeight(); float num2 = (num - textLineHeight) * 0.5f; ImGui.SetCursorPosY(ImGui.GetCursorPosY() + num2); ImGui.SetCursorPosX(ImGui.GetCursorPosX() + 10f); - ImGui.TextColored(new Vector4(0.98f, 0.98f, 1f, 1f), "Quest Sequence Viewer"); + ImGui.TextColored(in UiThemeUtils.PrimaryTextColor, "Quest Sequence Viewer"); ImGui.SameLine(x - 35f); ImGui.SetCursorPosY(ImGui.GetCursorPosY() - num2 + ImGui.GetStyle().ItemSpacing.Y); using (ImRaii.PushColor(ImGuiCol.Button, Vector4.Zero)) @@ -83,23 +90,43 @@ internal sealed class QuestSequenceComponent ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); Vector2 windowPos = ImGui.GetWindowPos(); Vector2 windowSize = ImGui.GetWindowSize(); - windowDrawList.AddRect(windowPos - new Vector2(1f, 1f), windowPos + windowSize + new Vector2(1f, 1f), ImGui.ColorConvertFloat4ToU32(new Vector4(0.7f, 0.6f, 0.9f, 0.15f)), 5f, ImDrawFlags.None, 3f); - windowDrawList.AddRect(windowPos, windowPos + windowSize, ImGui.ColorConvertFloat4ToU32(new Vector4(0.7f, 0.6f, 0.9f, 0.4f)), 4f, ImDrawFlags.None, 1.5f); + Vector2 pMin = windowPos - new Vector2(1f, 1f); + Vector2 pMax = windowPos + windowSize + new Vector2(1f, 1f); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.15f; + windowDrawList.AddRect(pMin, pMax, ImGui.ColorConvertFloat4ToU32(accentColor), 5f, ImDrawFlags.None, 3f); + Vector2 pMax2 = windowPos + windowSize; + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.4f; + windowDrawList.AddRect(windowPos, pMax2, ImGui.ColorConvertFloat4ToU32(accentColor), 4f, ImDrawFlags.None, 1.5f); } public void DrawCurrentQuestTab() { - QuestReference currentQuest = _questFunctions.GetCurrentQuest(); - (ElementId, byte) tuple = (currentQuest.CurrentQuest, currentQuest.Sequence); - if (tuple.Item1 != null) + QuestReference currentQuest = _priorityResolver.GetCurrentQuest(); + ElementId elementId = currentQuest.CurrentQuest; + byte? currentSequence = currentQuest.Sequence; + if (elementId == null) { - DrawQuestSequences(tuple.Item1, tuple.Item2); + (QuestId, byte)? currentQuestWithoutPath = _questFunctions.GetCurrentQuestWithoutPath(); + if (currentQuestWithoutPath.HasValue) + { + (QuestId, byte) valueOrDefault = currentQuestWithoutPath.GetValueOrDefault(); + elementId = valueOrDefault.Item1; + currentSequence = valueOrDefault.Item2; + } + } + if (elementId != null) + { + DrawQuestSequences(elementId, currentSequence); } else { - DrawEmptyState(FontAwesomeIcon.QuestionCircle, "No Active Quest", "Accept a quest to view its sequence information.", new Vector4(0.6f, 0.5f, 0.8f, 0.7f)); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.7f; + DrawEmptyState(FontAwesomeIcon.QuestionCircle, "No Active Quest", "Accept a quest to view its sequence information.", accentColor); } - if (!(tuple.Item1 is QuestId questId)) + if (!(elementId is QuestId questId)) { return; } @@ -127,13 +154,16 @@ internal sealed class QuestSequenceComponent float y = ImGui.GetFrameHeightWithSpacing() + ImGui.GetStyle().ItemSpacing.Y * 3f; float x = ImGui.GetContentRegionAvail().X; ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); - windowDrawList.AddRectFilledMultiColor(cursorScreenPos, cursorScreenPos + new Vector2(x, y), ImGui.ColorConvertFloat4ToU32(new Vector4(0.12f, 0.1f, 0.16f, 0.6f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.1f, 0.08f, 0.14f, 0.6f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.1f, 0.08f, 0.14f, 0.6f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.12f, 0.1f, 0.16f, 0.6f))); - windowDrawList.AddRect(cursorScreenPos, cursorScreenPos + new Vector2(x, y), ImGui.ColorConvertFloat4ToU32(new Vector4(0.6f, 0.5f, 0.8f, 0.2f)), 4f, ImDrawFlags.None, 1f); + windowDrawList.AddRectFilledMultiColor(cursorScreenPos, cursorScreenPos + new Vector2(x, y), ImGui.ColorConvertFloat4ToU32(UiThemeUtils.CardBackgroundColor), ImGui.ColorConvertFloat4ToU32(UiThemeUtils.CardBackgroundColor), ImGui.ColorConvertFloat4ToU32(UiThemeUtils.CardBackgroundColor), ImGui.ColorConvertFloat4ToU32(UiThemeUtils.CardBackgroundColor)); + Vector2 pMax = cursorScreenPos + new Vector2(x, y); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.2f; + windowDrawList.AddRect(cursorScreenPos, pMax, ImGui.ColorConvertFloat4ToU32(accentColor), 4f, ImDrawFlags.None, 1f); ImGui.SetCursorPosY(ImGui.GetCursorPosY() + ImGui.GetStyle().ItemSpacing.Y * 1.5f); ImGui.SetCursorPosX(ImGui.GetCursorPosX() + 10f); using (ImRaii.PushFont(UiBuilder.IconFont)) { - ImGui.TextColored(new Vector4(0.7f, 0.6f, 0.9f, 1f), FontAwesomeIcon.Search.ToIconString()); + ImGui.TextColored(in UiThemeUtils.AccentColor, FontAwesomeIcon.Search.ToIconString()); } ImGui.SameLine(); float x2 = ImGui.GetStyle().ItemSpacing.X; @@ -179,11 +209,11 @@ internal sealed class QuestSequenceComponent if (_lookedUpQuestId != null) { DrawQuestSequences(_lookedUpQuestId, null); + return; } - else - { - DrawEmptyState(FontAwesomeIcon.Search, "Enter a Quest ID", "Use the search box above to look up any quest by its ID.", new Vector4(0.6f, 0.5f, 0.8f, 0.7f)); - } + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.7f; + DrawEmptyState(FontAwesomeIcon.Search, "Enter a Quest ID", "Use the search box above to look up any quest by its ID.", accentColor); } private static void DrawEmptyState(FontAwesomeIcon icon, string title, string message, Vector4 iconColor) @@ -212,11 +242,11 @@ internal sealed class QuestSequenceComponent Vector2 vector4 = new Vector2((x - vector3.X) * 0.5f, 0f) + ImGui.GetCursorScreenPos(); windowDrawList.AddText(vector4 + new Vector2(1f, 1f), ImGui.ColorConvertFloat4ToU32(new Vector4(0f, 0f, 0f, 0.5f)), title); ImGui.SetCursorPosX((x - vector3.X) * 0.5f); - ImGui.TextColored(new Vector4(0.95f, 0.95f, 1f, 1f), title); + ImGui.TextColored(in UiThemeUtils.PrimaryTextColor, title); ImGui.Spacing(); ImGui.Spacing(); - ImGui.SetCursorPosX((x - ImGui.CalcTextSize(message).X) * 0.5f); - ImGui.TextColored(new Vector4(0.7f, 0.7f, 0.8f, 1f), message); + ImGui.SetCursorPosX(MathF.Max(0f, (x - ImGui.CalcTextSize(message).X) * 0.5f)); + UiThemeUtils.WrappedTextColored(UiThemeUtils.DimTextColor, message); } private void DrawQuestSequences(ElementId questElementId, byte? currentSequence) @@ -235,24 +265,43 @@ internal sealed class QuestSequenceComponent float num = ImGui.GetFrameHeightWithSpacing() * 1.8f; float x = ImGui.GetContentRegionAvail().X; ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); - windowDrawList.AddRectFilledMultiColor(cursorScreenPos, cursorScreenPos + new Vector2(x, num), ImGui.ColorConvertFloat4ToU32(new Vector4(0.12f, 0.1f, 0.16f, 0.7f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.1f, 0.08f, 0.14f, 0.7f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.1f, 0.08f, 0.14f, 0.7f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.12f, 0.1f, 0.16f, 0.7f))); - windowDrawList.AddRect(cursorScreenPos, cursorScreenPos + new Vector2(x, num), ImGui.ColorConvertFloat4ToU32(new Vector4(0.6f, 0.5f, 0.8f, 0.25f)), 4f, ImDrawFlags.None, 1f); + windowDrawList.AddRectFilledMultiColor(cursorScreenPos, cursorScreenPos + new Vector2(x, num), ImGui.ColorConvertFloat4ToU32(UiThemeUtils.CardBackgroundColor), ImGui.ColorConvertFloat4ToU32(UiThemeUtils.CardBackgroundColor), ImGui.ColorConvertFloat4ToU32(UiThemeUtils.CardBackgroundColor), ImGui.ColorConvertFloat4ToU32(UiThemeUtils.CardBackgroundColor)); + Vector2 pMin = cursorScreenPos; + Vector2 pMax = cursorScreenPos + new Vector2(x, num); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.25f; + windowDrawList.AddRect(pMin, pMax, ImGui.ColorConvertFloat4ToU32(accentColor), 4f, ImDrawFlags.None, 1f); float textLineHeight = ImGui.GetTextLineHeight(); float num2 = (num - textLineHeight) * 0.5f; ImGui.SetCursorPosY(ImGui.GetCursorPosY() + num2); ImGui.SetCursorPosX(ImGui.GetCursorPosX() + 10f); ImGui.PushFont(UiBuilder.IconFont); - ImGui.TextColored(new Vector4(0.7f, 0.6f, 0.9f, 1f), FontAwesomeIcon.Book.ToIconString()); + ImGui.TextColored(in UiThemeUtils.AccentColor, FontAwesomeIcon.Book.ToIconString()); ImGui.PopFont(); ImGui.SameLine(); - ImGui.TextColored(new Vector4(0.98f, 0.98f, 1f, 1f), questInfo.Name); - ImGui.SameLine(); - Vector4 col = new Vector4(0.7f, 0.7f, 0.8f, 1f); + float x2 = ImGui.GetStyle().ItemSpacing.X; ImU8String text = new ImU8String(6, 1); text.AppendLiteral("(ID: "); text.AppendFormatted(questId.Value); text.AppendLiteral(")"); - ImGui.TextColored(in col, text); + float num3 = ImGui.CalcTextSize(text).X + x2 + 8f + ImGui.GetFrameHeight() + x2; + if (currentSequence.HasValue) + { + float num4 = num3; + float num5 = ImGui.CalcTextSize("-").X + x2 * 2f; + ImU8String text2 = new ImU8String(17, 1); + text2.AppendLiteral("Active: Sequence "); + text2.AppendFormatted(currentSequence.Value); + num3 = num4 + (num5 + ImGui.CalcTextSize(text2).X + x2); + } + num3 += 12f; + UiThemeUtils.RowLabel(questInfo.Name, num3, UiThemeUtils.PrimaryTextColor); + ImGui.SameLine(); + ImU8String text3 = new ImU8String(6, 1); + text3.AppendLiteral("(ID: "); + text3.AppendFormatted(questId.Value); + text3.AppendLiteral(")"); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text3); ImGui.SameLine(); ImGui.SetCursorPosX(ImGui.GetCursorPosX() + 8f); using (ImRaii.PushColor(ImGuiCol.Button, new Vector4(0.18f, 0.16f, 0.22f, 0.8f))) @@ -275,15 +324,15 @@ internal sealed class QuestSequenceComponent if (currentSequence.HasValue) { ImGui.SameLine(); - ImGui.TextColored(new Vector4(0.5f, 0.5f, 0.6f, 1f), "—"); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, "-"); ImGui.SameLine(); - float num3 = (float)ImGui.GetTime(); - float num4 = 0.85f + MathF.Sin(num3 * 3f) * 0.15f; - col = new Vector4(0.5f * num4, 1f * num4, 0.6f * num4, 1f); - ImU8String text2 = new ImU8String(17, 1); - text2.AppendLiteral("Active: Sequence "); - text2.AppendFormatted(currentSequence.Value); - ImGui.TextColored(in col, text2); + float num6 = (float)ImGui.GetTime(); + float num7 = 0.85f + MathF.Sin(num6 * 3f) * 0.15f; + accentColor = new Vector4(0.5f * num7, 1f * num7, 0.6f * num7, 1f); + ImU8String text4 = new ImU8String(17, 1); + text4.AppendLiteral("Active: Sequence "); + text4.AppendFormatted(currentSequence.Value); + ImGui.TextColored(in accentColor, text4); } ImGui.SetCursorPosY(cursorScreenPos.Y + num - ImGui.GetCursorScreenPos().Y + ImGui.GetCursorPosY()); ImGui.Spacing(); @@ -303,8 +352,8 @@ internal sealed class QuestSequenceComponent DrawErrorState("No Sequence Data Available", "This quest may not have traditional sequences."); return; } - int num5 = list.Max(); - int num6 = num5 + 1; + int num8 = list.Max(); + int num9 = num8 + 1; Questionable.Model.Quest quest2; bool flag = _questRegistry.TryGetQuest(questElementId, out quest2); HashSet hashSet = new HashSet(); @@ -326,14 +375,39 @@ internal sealed class QuestSequenceComponent } } } - int num7 = hashSet.Count + (flag2 ? 1 : 0); - int num8 = num6 + 1; - float num9 = (flag ? ((float)num7 / (float)num8 * 100f) : 0f); - Vector4 coverageColor = ((num9 >= 100f) ? new Vector4(0.5f, 1f, 0.6f, 1f) : ((num9 >= 50f) ? new Vector4(1f, 0.9f, 0.5f, 1f) : ((num9 < 1f) ? new Vector4(0.6f, 0.5f, 0.8f, 0.7f) : new Vector4(1f, 0.5f, 0.5f, 1f)))); - DrawSummaryCards(num6, num5, flag, num9, coverageColor, num7, num8); + int num10 = hashSet.Count + (flag2 ? 1 : 0); + int num11 = num9 + 1; + float num12 = (flag ? ((float)num10 / (float)num11 * 100f) : 0f); + Vector4 vector; + if (!(num12 >= 100f)) + { + if (!(num12 >= 50f)) + { + if (!(num12 < 1f)) + { + vector = new Vector4(1f, 0.5f, 0.5f, 1f); + } + else + { + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.7f; + vector = accentColor; + } + } + else + { + vector = new Vector4(1f, 0.9f, 0.5f, 1f); + } + } + else + { + vector = new Vector4(0.5f, 1f, 0.6f, 1f); + } + Vector4 coverageColor = vector; + DrawSummaryCards(num9, num8, flag, num12, coverageColor, num10, num11); ImGui.Spacing(); ImGui.Spacing(); - DrawSequenceGrid(num5, currentSequence, hashSet, dictionary, flag2); + DrawSequenceGrid(num8, currentSequence, hashSet, dictionary, flag2); } catch (Exception ex) { @@ -357,16 +431,16 @@ internal sealed class QuestSequenceComponent ImGui.PopFont(); ImGui.Spacing(); ImGui.Spacing(); - ImGui.SetCursorPosX((x - ImGui.CalcTextSize(title).X) * 0.5f); - ImGui.TextColored(new Vector4(1f, 0.5f, 0.5f, 1f), title); + ImGui.SetCursorPosX(MathF.Max(0f, (x - ImGui.CalcTextSize(title).X) * 0.5f)); + UiThemeUtils.WrappedTextColored(new Vector4(1f, 0.5f, 0.5f, 1f), title); ImGui.Spacing(); - ImGui.SetCursorPosX((x - ImGui.CalcTextSize(message).X) * 0.5f); - ImGui.TextColored(new Vector4(0.7f, 0.7f, 0.8f, 1f), message); + ImGui.SetCursorPosX(MathF.Max(0f, (x - ImGui.CalcTextSize(message).X) * 0.5f)); + UiThemeUtils.WrappedTextColored(UiThemeUtils.DimTextColor, message); } private static void DrawSummaryCards(int totalSequences, int maxSeq, bool hasQuestPath, float coverage, Vector4 coverageColor, int implementedCount, int expectedCount) { - using ImRaii.TableDisposable tableDisposable = ImRaii.Table("SummaryCards", 2, ImGuiTableFlags.None); + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable("SummaryCards", 2); if (!tableDisposable) { return; @@ -379,20 +453,18 @@ internal sealed class QuestSequenceComponent { ImGui.Spacing(); ImGui.Indent(10f); - Vector4 col = new Vector4(0.9f, 0.9f, 0.98f, 1f); ImU8String text = new ImU8String(6, 0); text.AppendLiteral("Count:"); - ImGui.TextColored(in col, text); + ImGui.TextColored(in UiThemeUtils.PrimaryTextColor, text); ImGui.SameLine(); - col = new Vector4(0.7f, 0.9f, 1f, 1f); + Vector4 col = new Vector4(0.7f, 0.9f, 1f, 1f); ImU8String text2 = new ImU8String(0, 1); text2.AppendFormatted(totalSequences); ImGui.TextColored(in col, text2); ImGui.Spacing(); - col = new Vector4(0.9f, 0.9f, 0.98f, 1f); ImU8String text3 = new ImU8String(6, 0); text3.AppendLiteral("Range:"); - ImGui.TextColored(in col, text3); + ImGui.TextColored(in UiThemeUtils.PrimaryTextColor, text3); ImGui.SameLine(); col = new Vector4(0.7f, 0.9f, 1f, 1f); ImU8String text4 = new ImU8String(9, 1); @@ -408,26 +480,25 @@ internal sealed class QuestSequenceComponent if (hasQuestPath) { ImGui.Indent(10f); - ImGui.TextColored(new Vector4(0.9f, 0.9f, 0.98f, 1f), "Progress:"); + ImGui.TextColored(in UiThemeUtils.PrimaryTextColor, "Progress:"); ImGui.SameLine(); ref Vector4 col = ref coverageColor; ImU8String text = new ImU8String(0, 1); text.AppendFormatted(implementedCount); ImGui.TextColored(in col, text); ImGui.SameLine(); - ImGui.TextColored(new Vector4(0.7f, 0.7f, 0.8f, 1f), "/"); + ImGui.TextColored(in UiThemeUtils.DimTextColor, "/"); ImGui.SameLine(); - Vector4 col2 = new Vector4(0.9f, 0.9f, 0.98f, 1f); ImU8String text2 = new ImU8String(0, 1); text2.AppendFormatted(expectedCount); - ImGui.TextColored(in col2, text2); + ImGui.TextColored(in UiThemeUtils.PrimaryTextColor, text2); ImGui.SameLine(); - ref Vector4 col3 = ref coverageColor; + ref Vector4 col2 = ref coverageColor; ImU8String text3 = new ImU8String(3, 1); text3.AppendLiteral("("); text3.AppendFormatted(coverage, "F0"); text3.AppendLiteral("%)"); - ImGui.TextColored(in col3, text3); + ImGui.TextColored(in col2, text3); ImGui.Spacing(); Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); float x = ImGui.GetContentRegionAvail().X - 10f; @@ -438,7 +509,11 @@ internal sealed class QuestSequenceComponent ImGui.ProgressBar(coverage / 100f, new Vector2(x, 16f), ""); } } - ImGui.GetWindowDrawList().AddRect(cursorScreenPos, cursorScreenPos + new Vector2(x, 16f), ImGui.ColorConvertFloat4ToU32(new Vector4(0.6f, 0.5f, 0.8f, 0.3f)), 2f); + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + Vector2 pMax = cursorScreenPos + new Vector2(x, 16f); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.3f; + windowDrawList.AddRect(cursorScreenPos, pMax, ImGui.ColorConvertFloat4ToU32(accentColor), 2f); ImGui.Unindent(10f); } else @@ -446,12 +521,16 @@ internal sealed class QuestSequenceComponent ImGui.Spacing(); ImGui.Indent(10f); ImGui.PushFont(UiBuilder.IconFont); - ImGui.TextColored(new Vector4(0.6f, 0.5f, 0.8f, 0.8f), FontAwesomeIcon.Ban.ToIconString()); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.8f; + ImGui.TextColored(in accentColor, FontAwesomeIcon.Ban.ToIconString()); ImGui.PopFont(); ImGui.SameLine(); - ImGui.TextColored(new Vector4(0.6f, 0.5f, 0.8f, 0.8f), "Not Implemented"); + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.8f; + ImGui.TextColored(in accentColor, "Not Implemented"); ImGui.Spacing(); - ImGui.TextColored(new Vector4(0.7f, 0.7f, 0.8f, 1f), "No quest path data available"); + ImGui.TextColored(in UiThemeUtils.DimTextColor, "No quest path data available"); ImGui.Unindent(10f); } }); @@ -462,8 +541,12 @@ internal sealed class QuestSequenceComponent Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); float x = ImGui.GetContentRegionAvail().X; ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); - windowDrawList.AddRectFilledMultiColor(cursorScreenPos, cursorScreenPos + new Vector2(x, height), ImGui.ColorConvertFloat4ToU32(new Vector4(0.12f, 0.1f, 0.16f, 0.7f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.1f, 0.08f, 0.14f, 0.7f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.1f, 0.08f, 0.14f, 0.7f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.12f, 0.1f, 0.16f, 0.7f))); - windowDrawList.AddRect(cursorScreenPos, cursorScreenPos + new Vector2(x, height), ImGui.ColorConvertFloat4ToU32(new Vector4(0.6f, 0.5f, 0.8f, 0.2f)), 4f, ImDrawFlags.None, 1f); + windowDrawList.AddRectFilledMultiColor(cursorScreenPos, cursorScreenPos + new Vector2(x, height), ImGui.ColorConvertFloat4ToU32(UiThemeUtils.CardBackgroundColor), ImGui.ColorConvertFloat4ToU32(UiThemeUtils.CardBackgroundColor), ImGui.ColorConvertFloat4ToU32(UiThemeUtils.CardBackgroundColor), ImGui.ColorConvertFloat4ToU32(UiThemeUtils.CardBackgroundColor)); + Vector2 pMin = cursorScreenPos; + Vector2 pMax = cursorScreenPos + new Vector2(x, height); + Vector4 accentColor2 = UiThemeUtils.AccentColor; + accentColor2.W = 0.2f; + windowDrawList.AddRect(pMin, pMax, ImGui.ColorConvertFloat4ToU32(accentColor2), 4f, ImDrawFlags.None, 1f); windowDrawList.AddLine(cursorScreenPos, cursorScreenPos + new Vector2(x, 0f), ImGui.ColorConvertFloat4ToU32(accentColor), 3f); float num = cursorScreenPos.Y + 10f; ImGui.SetCursorScreenPos(new Vector2(cursorScreenPos.X + 10f, num)); @@ -471,7 +554,7 @@ internal sealed class QuestSequenceComponent ImGui.TextColored(in accentColor, icon.ToIconString()); ImGui.PopFont(); ImGui.SameLine(); - ImGui.TextColored(new Vector4(0.98f, 0.98f, 1f, 1f), title); + ImGui.TextColored(in UiThemeUtils.PrimaryTextColor, title); ImGui.SetCursorScreenPos(new Vector2(cursorScreenPos.X + 10f, num + 24f)); content(); ImGui.SetCursorScreenPos(new Vector2(cursorScreenPos.X, cursorScreenPos.Y + height + 4f)); @@ -486,18 +569,24 @@ internal sealed class QuestSequenceComponent float y = ImGui.GetContentRegionAvail().Y; using (ImRaii.PushColor(ImGuiCol.ChildBg, new Vector4(0.08f, 0.06f, 0.12f, 0.6f))) { - using (ImRaii.PushColor(ImGuiCol.Border, new Vector4(0.6f, 0.5f, 0.8f, 0.2f))) + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.2f; + using (ImRaii.PushColor(ImGuiCol.Border, accentColor)) { using ImRaii.ChildDisposable childDisposable = ImRaii.Child("SequenceGrid", new Vector2(-1f, y), border: true, ImGuiWindowFlags.None); if (!(bool)childDisposable) { return; } - using (ImRaii.PushColor(ImGuiCol.TableBorderStrong, new Vector4(0.6f, 0.5f, 0.8f, 0.2f))) + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.2f; + using (ImRaii.PushColor(ImGuiCol.TableBorderStrong, accentColor)) { - using (ImRaii.PushColor(ImGuiCol.TableBorderLight, new Vector4(0.6f, 0.5f, 0.8f, 0.15f))) + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.15f; + using (ImRaii.PushColor(ImGuiCol.TableBorderLight, accentColor)) { - using ImRaii.TableDisposable tableDisposable = ImRaii.Table("SequenceGridTable", val2, ImGuiTableFlags.Borders | ImGuiTableFlags.SizingStretchSame); + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable("SequenceGridTable", val2, ImGuiTableFlags.SizingStretchSame); if (!(bool)tableDisposable) { return; @@ -576,7 +665,7 @@ internal sealed class QuestSequenceComponent _hoveredSequenceId = sequenceId; using (ImRaii.Tooltip()) { - using (ImRaii.PushColor(ImGuiCol.Text, new Vector4(0.98f, 0.98f, 1f, 1f))) + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.PrimaryTextColor)) { ImU8String text2 = new ImU8String(9, 1); text2.AppendLiteral("Sequence "); @@ -592,12 +681,11 @@ internal sealed class QuestSequenceComponent ImGui.SameLine(); ImGui.TextColored(new Vector4(0.5f, 1f, 0.6f, 1f), "Implemented"); ImGui.Spacing(); - Vector4 col = new Vector4(0.9f, 0.9f, 0.98f, 1f); ImU8String text3 = new ImU8String(6, 0); text3.AppendLiteral("Steps:"); - ImGui.TextColored(in col, text3); + ImGui.TextColored(in UiThemeUtils.PrimaryTextColor, text3); ImGui.SameLine(); - col = new Vector4(0.7f, 0.9f, 1f, 1f); + Vector4 col = new Vector4(0.7f, 0.9f, 1f, 1f); ImU8String text4 = new ImU8String(0, 1); text4.AppendFormatted(value.Item1); ImGui.TextColored(in col, text4); @@ -605,7 +693,7 @@ internal sealed class QuestSequenceComponent { ImGui.Separator(); ImGui.PushTextWrapPos(250f); - ImGui.TextColored(new Vector4(0.7f, 0.7f, 0.8f, 1f), value.Item2); + ImGui.TextColored(in UiThemeUtils.DimTextColor, value.Item2); ImGui.PopTextWrapPos(); } } @@ -618,7 +706,7 @@ internal sealed class QuestSequenceComponent ImGui.TextColored(new Vector4(1f, 0.5f, 0.5f, 1f), "Not Implemented"); ImGui.Spacing(); ImGui.PushTextWrapPos(250f); - ImGui.TextColored(new Vector4(0.7f, 0.7f, 0.8f, 1f), "This sequence is missing from the quest path."); + ImGui.TextColored(in UiThemeUtils.DimTextColor, "This sequence is missing from the quest path."); ImGui.PopTextWrapPos(); } if (flag) @@ -635,7 +723,7 @@ internal sealed class QuestSequenceComponent ImGui.SetCursorScreenPos(cursorScreenPos + new Vector2(0f, vector.Y)); } - private static string GetSequenceFilename(int questId, string questName) + internal static string GetSequenceFilename(int questId, string questName) { string value = (questName ?? string.Empty).Trim(); return $"{questId}_{value}.json"; diff --git a/Questionable/Questionable.Windows.QuestComponents/QuestTooltipComponent.cs b/Questionable/Questionable.Windows.QuestComponents/QuestTooltipComponent.cs index ac03f0c..6e399e0 100644 --- a/Questionable/Questionable.Windows.QuestComponents/QuestTooltipComponent.cs +++ b/Questionable/Questionable.Windows.QuestComponents/QuestTooltipComponent.cs @@ -1,7 +1,6 @@ using Dalamud.Bindings.ImGui; using Dalamud.Game.Text; using Dalamud.Interface; -using Dalamud.Interface.Colors; using Dalamud.Interface.Utility.Raii; using FFXIVClientStructs.FFXIV.Client.UI.Agent; using Questionable.Controller; @@ -74,7 +73,7 @@ internal sealed class QuestTooltipComponent if (quest.Root.Disabled) { ImGui.SameLine(); - ImGui.TextColored(ImGuiColors.DalamudRed, "Disabled"); + ImGui.TextColored(in UiThemeUtils.StatusLocked, "Disabled"); } if (quest.Root.Author.Count == 1) { @@ -94,7 +93,7 @@ internal sealed class QuestTooltipComponent else { ImGui.SameLine(); - ImGui.TextColored(ImGuiColors.DalamudRed, "NoQuestPath"); + ImGui.TextColored(in UiThemeUtils.StatusLocked, "NoQuestPath"); } DrawQuestUnlocks(questInfo, 0, showItemRewards); } @@ -133,7 +132,7 @@ internal sealed class QuestTooltipComponent var (color, fontAwesomeIcon, _) = _uiUtils.GetQuestStyle(previousQuest.QuestId); if (!_questRegistry.IsKnownQuest(questInfo2.QuestId)) { - color = ImGuiColors.DalamudGrey; + color = UiThemeUtils.StatusUnobtainable; } _uiUtils.ChecklistItem(FormatQuestUnlockName(questInfo2, (byte)((!_questFunctions.IsQuestComplete(previousQuest.QuestId)) ? previousQuest.Sequence : 0)), color, fontAwesomeIcon); if (questInfo2 is QuestInfo questInfo3 && (counter <= 2 || fontAwesomeIcon != FontAwesomeIcon.Check)) @@ -145,7 +144,7 @@ internal sealed class QuestTooltipComponent { using (ImRaii.Disabled()) { - _uiUtils.ChecklistItem($"Unknown Quest ({previousQuest.QuestId})", ImGuiColors.DalamudGrey, FontAwesomeIcon.Question); + _uiUtils.ChecklistItem($"Unknown Quest ({previousQuest.QuestId})", UiThemeUtils.StatusUnobtainable, FontAwesomeIcon.Question); } } } @@ -183,7 +182,7 @@ internal sealed class QuestTooltipComponent var (color2, icon, _) = _uiUtils.GetQuestStyle(questLock); if (!_questRegistry.IsKnownQuest(questInfo5.QuestId)) { - color2 = ImGuiColors.DalamudGrey; + color2 = UiThemeUtils.StatusUnobtainable; } _uiUtils.ChecklistItem(FormatQuestUnlockName(questInfo5, 0), color2, icon); } @@ -223,7 +222,7 @@ internal sealed class QuestTooltipComponent GrandCompany.ImmortalFlames => "Immortal Flames", _ => "None", }; - GrandCompany grandCompany = _questFunctions.GetGrandCompany(); + GrandCompany grandCompany = QuestFunctions.GetGrandCompany(); _uiUtils.ChecklistItem("Grand Company: " + text3, questInfo4.GrandCompany == grandCompany); } if (showItemRewards && questInfo4.ItemRewards.Count > 0) @@ -244,15 +243,11 @@ internal sealed class QuestTooltipComponent private string FormatQuestUnlockName(IQuestInfo questInfo, byte sequence = 0) { - string text = questInfo.Name; - if (_configuration.Advanced.AdditionalStatusInformation && sequence != 0) - { - text = text + " " + SeIconChar.ItemLevel.ToIconString(); - } + string name = questInfo.Name; if (questInfo.IsMainScenarioQuest) { - return text + $" ({questInfo.QuestId}, MSQ)"; + return name + $" ({questInfo.QuestId}, MSQ)"; } - return text + $" ({questInfo.QuestId})"; + return name + $" ({questInfo.QuestId})"; } } diff --git a/Questionable/Questionable.Windows.QuestComponents/QuestValidationComponent.cs b/Questionable/Questionable.Windows.QuestComponents/QuestValidationComponent.cs index 1f74105..8eef683 100644 --- a/Questionable/Questionable.Windows.QuestComponents/QuestValidationComponent.cs +++ b/Questionable/Questionable.Windows.QuestComponents/QuestValidationComponent.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Globalization; using System.Numerics; using Dalamud.Bindings.ImGui; using Dalamud.Interface; @@ -8,6 +7,7 @@ using Dalamud.Interface.Colors; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin; using Questionable.Data; +using Questionable.Model.Questing; using Questionable.Validation; namespace Questionable.Windows.QuestComponents; @@ -35,7 +35,7 @@ internal sealed class QuestValidationComponent public void Draw() { DrawSummaryHeader(); - ImGui.Separator(); + UiThemeUtils.SectionSpacing(); DrawValidationTable(); _detailsRenderer.DrawDetailWindows(); } @@ -99,15 +99,14 @@ internal sealed class QuestValidationComponent private void DrawValidationTable() { - using ImRaii.TableDisposable tableDisposable = ImRaii.Table("ValidationIssues", 6, ImGuiTableFlags.Borders | ImGuiTableFlags.Sortable | ImGuiTableFlags.RowBg | ImGuiTableFlags.ScrollY); + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable("ValidationIssues", 5, ImGuiTableFlags.ScrollX | ImGuiTableFlags.ScrollY); if (!(!tableDisposable)) { + ImGui.TableSetupColumn("Type", ImGuiTableColumnFlags.WidthFixed, 50f); ImGui.TableSetupColumn("ID", ImGuiTableColumnFlags.WidthFixed, 60f); ImGui.TableSetupColumn("Name", ImGuiTableColumnFlags.WidthFixed, 250f); - ImGui.TableSetupColumn("Seq", ImGuiTableColumnFlags.WidthFixed, 40f); - ImGui.TableSetupColumn("Step", ImGuiTableColumnFlags.WidthFixed, 40f); + ImGui.TableSetupColumn("Location", ImGuiTableColumnFlags.WidthFixed, 100f); ImGui.TableSetupColumn("Issue", ImGuiTableColumnFlags.WidthStretch); - ImGui.TableSetupColumn("Actions", ImGuiTableColumnFlags.WidthFixed, 60f); ImGui.TableHeadersRow(); IReadOnlyList issues = _questValidator.Issues; for (int i = 0; i < issues.Count; i++) @@ -122,37 +121,57 @@ internal sealed class QuestValidationComponent ImGui.TableNextRow(); if (ImGui.TableNextColumn()) { - ImGui.TextUnformatted(issue.ElementId?.ToString() ?? string.Empty); + ImGui.TextUnformatted(issue.PathType switch + { + EPathType.Quest => "Quest", + EPathType.Fate => "Fate", + EPathType.Gathering => "Gather", + EPathType.SeasonalDuty => "Duty", + _ => issue.PathType.ToString(), + }); } if (ImGui.TableNextColumn()) { - ImGui.TextUnformatted((issue.ElementId != null) ? _questData.GetQuestInfo(issue.ElementId).Name : issue.AlliedSociety.ToString()); + ImGui.TextUnformatted(issue.Id ?? string.Empty); } if (ImGui.TableNextColumn()) { - if (issue.Sequence.HasValue) + string text = string.Empty; + if (issue.PathType == EPathType.Quest && issue.Id != null) { - ImGui.TextUnformatted(issue.Sequence.Value.ToString(CultureInfo.InvariantCulture)); - } - else - { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudGrey2)) + if (ElementId.TryFromString(issue.Id, out ElementId elementId) && elementId != null) { - ImGui.TextUnformatted("\ufffd"); + try + { + text = _questData.GetQuestInfo(elementId).Name; + } + catch + { + text = issue.Id; + } + } + else + { + text = issue.Id; } } + else if (issue.Id != null) + { + text = issue.Id; + } + UiThemeUtils.RowLabel(text, 0f); } if (ImGui.TableNextColumn()) { - if (issue.Step.HasValue) + if (!string.IsNullOrEmpty(issue.Location)) { - ImGui.TextUnformatted(issue.Step.Value.ToString(CultureInfo.InvariantCulture)); + ImGui.TextUnformatted(issue.Location); } else { using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudGrey2)) { - ImGui.TextUnformatted("\ufffd"); + ImGui.TextUnformatted("-"); } } } @@ -160,16 +179,22 @@ internal sealed class QuestValidationComponent { DrawIssueCell(issue, index); } - if (ImGui.TableNextColumn()) - { - DrawActionsCell(issue, index); - } } private void DrawIssueCell(ValidationIssue issue, int index) { - Vector4 color = ((issue.Severity == EIssueSeverity.Error) ? ImGuiColors.DalamudRed : ImGuiColors.DalamudOrange); - FontAwesomeIcon icon = ((issue.Severity == EIssueSeverity.Error) ? FontAwesomeIcon.ExclamationTriangle : FontAwesomeIcon.InfoCircle); + Vector4 color = issue.Severity switch + { + EIssueSeverity.Error => ImGuiColors.DalamudRed, + EIssueSeverity.Warning => ImGuiColors.DalamudYellow, + _ => ImGuiColors.DalamudOrange, + }; + FontAwesomeIcon icon = issue.Severity switch + { + EIssueSeverity.Error => FontAwesomeIcon.ExclamationTriangle, + EIssueSeverity.Warning => FontAwesomeIcon.ExclamationCircle, + _ => FontAwesomeIcon.InfoCircle, + }; using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) { using (ImRaii.PushColor(ImGuiCol.Text, color)) @@ -185,18 +210,10 @@ internal sealed class QuestValidationComponent } } - private void DrawActionsCell(ValidationIssue issue, int index) - { - if (HasDetailedDescription(issue) && ImGui.SmallButton($"Details##{index}")) - { - _detailsRenderer.OpenDetails(issue, index); - } - } - private static string GetIssueSummary(ValidationIssue issue) { - string text = ValidationDetailsRenderer.CleanJsonText(issue.Description ?? string.Empty); - if (issue.Type == EIssueType.QuestDisabled && issue.ElementId == null) + string text = issue.Description ?? string.Empty; + if (issue.Type == EIssueType.QuestDisabled && issue.Id == null) { string[] array = text.Split(':', 2); if (array.Length == 0) @@ -205,47 +222,25 @@ internal sealed class QuestValidationComponent } return array[0]; } - if (issue.Type == EIssueType.InvalidJsonSchema) - { - string[] array2 = text.Split('\n', 2, StringSplitOptions.RemoveEmptyEntries); - if (array2.Length == 0) - { - return text; - } - return array2[0]; - } - if (issue.Type == EIssueType.InvalidJsonSyntax) - { - string[] array3 = text.Split('\n', 2, StringSplitOptions.RemoveEmptyEntries); - if (array3.Length == 0) - { - return text; - } - return array3[0]; - } - string[] array4 = text.Split('\n', StringSplitOptions.RemoveEmptyEntries); - if (array4.Length <= 2) + string[] array2 = text.Split('\n', 2, StringSplitOptions.RemoveEmptyEntries); + if (array2.Length == 0) { return text; } - return array4[0] + ((array4.Length > 1) ? "..." : ""); + if (array2.Length <= 1) + { + return array2[0]; + } + return array2[0] + "..."; } private static bool HasDetailedDescription(ValidationIssue issue) { + if (issue.Type == EIssueType.QuestDisabled && issue.Id == null) + { + return true; + } string text = issue.Description ?? string.Empty; - if (issue.Type == EIssueType.QuestDisabled && issue.ElementId == null) - { - return true; - } - if (issue.Type == EIssueType.InvalidJsonSchema) - { - return true; - } - if (issue.Type == EIssueType.InvalidJsonSyntax) - { - return true; - } if (!text.Contains('\n', StringComparison.Ordinal)) { return text.Length > 100; diff --git a/Questionable/Questionable.Windows.QuestComponents/QuickAccessButtonsComponent.cs b/Questionable/Questionable.Windows.QuestComponents/QuickAccessButtonsComponent.cs index ab56914..9674289 100644 --- a/Questionable/Questionable.Windows.QuestComponents/QuickAccessButtonsComponent.cs +++ b/Questionable/Questionable.Windows.QuestComponents/QuickAccessButtonsComponent.cs @@ -4,12 +4,13 @@ using System.Numerics; using Dalamud.Bindings.ImGui; using Dalamud.Interface; using Dalamud.Interface.Colors; -using Dalamud.Interface.Components; using Dalamud.Interface.Utility; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin; using Dalamud.Plugin.Services; using Questionable.Controller; +using Questionable.External; +using Questionable.Validation; namespace Questionable.Windows.QuestComponents; @@ -17,153 +18,189 @@ internal sealed class QuickAccessButtonsComponent { private readonly QuestRegistry _questRegistry; + private readonly QuestValidator _questValidator; + private readonly QuestValidationWindow _questValidationWindow; - private readonly JournalProgressWindow _journalProgressWindow; - - private readonly PriorityWindow _priorityWindow; - private readonly ICommandManager _commandManager; private readonly IDalamudPluginInterface _pluginInterface; + private readonly Configuration _configuration; + + private readonly WigglyNavAvailability _wigglyNavAvailability; + + private readonly NavmeshIpc _navmeshIpc; + + public bool IsReloading { get; set; } + public event EventHandler? Reload; - public QuickAccessButtonsComponent(QuestRegistry questRegistry, QuestValidationWindow questValidationWindow, JournalProgressWindow journalProgressWindow, PriorityWindow priorityWindow, ICommandManager commandManager, IDalamudPluginInterface pluginInterface) + public QuickAccessButtonsComponent(QuestRegistry questRegistry, QuestValidator questValidator, QuestValidationWindow questValidationWindow, ICommandManager commandManager, IDalamudPluginInterface pluginInterface, Configuration configuration, WigglyNavAvailability wigglyNavAvailability, NavmeshIpc navmeshIpc) { _questRegistry = questRegistry; + _questValidator = questValidator; _questValidationWindow = questValidationWindow; - _journalProgressWindow = journalProgressWindow; - _priorityWindow = priorityWindow; _commandManager = commandManager; _pluginInterface = pluginInterface; + _configuration = configuration; + _wigglyNavAvailability = wigglyNavAvailability; + _navmeshIpc = navmeshIpc; } public void Draw() { - DrawQuestPriorityButton(); - ImGui.SameLine(); - DrawRebuildNavmeshButton(); - DrawReloadDataButton(); - ImGui.SameLine(); - DrawJournalProgressButton(); - if (_questRegistry.ValidationIssueCount > 0) + float x = ImGui.GetContentRegionAvail().X; + float x2 = ImGui.GetStyle().ItemSpacing.X; + float width = (x - x2) / 2f; + using (ImRaii.Disabled(IsReloading)) { - ImGui.SameLine(); - DrawValidationIssuesButton(); - } - } - - private void DrawQuestPriorityButton() - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Exclamation, "Priority Quests")) - { - _priorityWindow.ToggleOrUncollapse(); - } - if (ImGui.IsItemHovered()) - { - ImGui.SetTooltip("Configure priority quests which will be done as soon as possible."); - } - } - - private void DrawRebuildNavmeshButton() - { - bool flag = _commandManager.Commands.ContainsKey("/vnav"); - using (ImRaii.Disabled(!flag || !ImGui.IsKeyDown(ImGuiKey.ModCtrl))) - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.GlobeEurope, "Rebuild Navmesh")) + string text = (IsReloading ? "Reloading..." : "Reload Data"); + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.RedoAlt, text, width)) { - _commandManager.ProcessCommand("/vnav rebuild"); + this.Reload?.Invoke(this, EventArgs.Empty); + } + } + ImGui.SameLine(); + Configuration.ENavigationProvider navigationProvider = _configuration.General.NavigationProvider; + bool flag = navigationProvider == Configuration.ENavigationProvider.WigglyNav && _wigglyNavAvailability.IsCompatible; + bool flag2 = navigationProvider == Configuration.ENavigationProvider.WigglyNavShim; + bool flag3 = flag || flag2; + bool flag4 = flag || (flag2 ? _navmeshIpc.IsNavmeshAvailable : _commandManager.Commands.ContainsKey("/vnav")); + string text2 = "Rebuild Navmesh"; + if (flag4 && !_navmeshIpc.IsReady) + { + int buildProgress = _navmeshIpc.GetBuildProgress(); + if (buildProgress < 100) + { + text2 = $"Rebuilding... {buildProgress}%"; + } + } + using (ImRaii.Disabled(!flag4 || !ImGui.IsKeyDown(ImGuiKey.ModCtrl))) + { + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Gem, text2, width)) + { + if (flag3) + { + _navmeshIpc.Rebuild(); + } + else + { + _commandManager.ProcessCommand("/vnav rebuild"); + } } } if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) { - if (!flag) + if (!flag4) { - ImGui.SetTooltip("vnavmesh is not available.\nPlease install it first."); + if (flag3) + { + ImGui.SetTooltip("WigglyNav is not available."); + } + else if (navigationProvider == Configuration.ENavigationProvider.WigglyNav) + { + ImGui.SetTooltip("WigglyNav is unavailable and vnavmesh, its fallback, is not installed."); + } + else + { + ImGui.SetTooltip("vnavmesh is not available.\nPlease install it first."); + } + } + else if (flag2) + { + ImGui.SetTooltip("Hold CTRL to enable this button.\nRebuilding the WigglyNav navmesh (shim surface) will take some time."); + } + else if (flag) + { + ImGui.SetTooltip("Hold CTRL to enable this button.\nRebuilding the WigglyNav navmesh will take some time."); } else { ImGui.SetTooltip("Hold CTRL to enable this button.\nRebuilding the navmesh will take some time."); } } - } - - private void DrawReloadDataButton() - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.RedoAlt, "Reload Data")) + if (_questValidator.IssueCount > 0) { - this.Reload?.Invoke(this, EventArgs.Empty); - } - } - - private void DrawJournalProgressButton() - { - if (ImGuiComponents.IconButton(FontAwesomeIcon.BookBookmark)) - { - _journalProgressWindow.IsOpenAndUncollapsed = true; - } - if (ImGui.IsItemHovered()) - { - ImGui.SetTooltip("Journal Progress"); + DrawValidationIssuesButton(); } } private void DrawValidationIssuesButton() { - int validationErrorCount = _questRegistry.ValidationErrorCount; - int num = _questRegistry.ValidationIssueCount - _questRegistry.ValidationErrorCount; - if (validationErrorCount == 0 && num == 0) + int errorCount = _questValidator.ErrorCount; + int warningCount = _questValidator.WarningCount; + int item = _questValidator.IssueCount - errorCount - warningCount; + (int, Vector4, FontAwesomeIcon)[] array = new(int, Vector4, FontAwesomeIcon)[3] + { + (errorCount, ImGuiColors.DalamudRed, FontAwesomeIcon.ExclamationTriangle), + (warningCount, ImGuiColors.DalamudYellow, FontAwesomeIcon.ExclamationCircle), + (item, ImGuiColors.ParsedBlue, FontAwesomeIcon.InfoCircle) + }; + int num = 0; + (int, Vector4, FontAwesomeIcon)[] array2 = array; + for (int i = 0; i < array2.Length; i++) + { + if (array2[i].Item1 > 0) + { + num++; + } + } + if (num == 0) { return; } - int num2 = ((validationErrorCount == 0 || num == 0) ? 1 : 2); using (ImRaii.PushId("validationissues")) { - FontAwesomeIcon icon = FontAwesomeIcon.ExclamationTriangle; - FontAwesomeIcon icon2 = FontAwesomeIcon.InfoCircle; - Vector2 vector; - Vector2 vector2; + float num2 = 3f * ImGuiHelpers.GlobalScale; + Vector2[] array3 = new Vector2[array.Length]; using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) { - vector = ((validationErrorCount > 0) ? ImGui.CalcTextSize(icon.ToIconString()) : Vector2.Zero); - vector2 = ((num > 0) ? ImGui.CalcTextSize(icon2.ToIconString()) : Vector2.Zero); + for (int j = 0; j < array.Length; j++) + { + if (array[j].Item1 > 0) + { + array3[j] = ImGui.CalcTextSize(array[j].Item3.ToIconString()); + } + } } - string text = ((validationErrorCount > 0) ? validationErrorCount.ToString(CultureInfo.InvariantCulture) : string.Empty); - string text2 = ((num > 0) ? num.ToString(CultureInfo.InvariantCulture) : string.Empty); - Vector2 vector3 = ((validationErrorCount > 0) ? ImGui.CalcTextSize(text) : Vector2.Zero); - Vector2 vector4 = ((num > 0) ? ImGui.CalcTextSize(text2) : Vector2.Zero); - ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); - Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); - float num3 = 3f * ImGuiHelpers.GlobalScale; - float x = vector.X + vector2.X + vector3.X + vector4.X + ImGui.GetStyle().FramePadding.X * 2f + num3 * 2f * (float)num2; + string[] array4 = new string[array.Length]; + Vector2[] array5 = new Vector2[array.Length]; + for (int k = 0; k < array.Length; k++) + { + if (array[k].Item1 > 0) + { + array4[k] = array[k].Item1.ToString(CultureInfo.InvariantCulture); + array5[k] = ImGui.CalcTextSize(array4[k]); + } + } + float num3 = 0f; + for (int l = 0; l < array.Length; l++) + { + num3 += array3[l].X + array5[l].X; + } + float x = num3 + ImGui.GetStyle().FramePadding.X * 2f + num2 * 2f * (float)num; float frameHeight = ImGui.GetFrameHeight(); + Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); bool flag = ImGui.Button(string.Empty, new Vector2(x, frameHeight)); - Vector2 vector5 = new Vector2(cursorScreenPos.X + ImGui.GetStyle().FramePadding.X, cursorScreenPos.Y + ImGui.GetStyle().FramePadding.Y); - if (validationErrorCount > 0) + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + Vector2 vector = new Vector2(cursorScreenPos.X + ImGui.GetStyle().FramePadding.X, cursorScreenPos.Y + ImGui.GetStyle().FramePadding.Y); + for (int m = 0; m < array.Length; m++) { - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) + if (array[m].Item1 != 0) { - windowDrawList.AddText(vector5, ImGui.GetColorU32(ImGuiColors.DalamudRed), icon.ToIconString()); + using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) + { + windowDrawList.AddText(vector, ImGui.GetColorU32(array[m].Item2), array[m].Item3.ToIconString()); + } + Vector2 vector2 = vector; + vector2.X = vector.X + array3[m].X + num2; + vector = vector2; + windowDrawList.AddText(vector, ImGui.GetColorU32(ImGuiCol.Text), array4[m]); + vector2 = vector; + vector2.X = vector.X + array5[m].X + 2f * num2; + vector = vector2; } - Vector2 vector6 = vector5; - vector6.X = vector5.X + vector.X + num3; - vector5 = vector6; - windowDrawList.AddText(vector5, ImGui.GetColorU32(ImGuiCol.Text), text); - vector6 = vector5; - vector6.X = vector5.X + vector3.X + 2f * num3; - vector5 = vector6; - } - if (num > 0) - { - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) - { - windowDrawList.AddText(vector5, ImGui.GetColorU32(ImGuiColors.ParsedBlue), icon2.ToIconString()); - } - Vector2 vector6 = vector5; - vector6.X = vector5.X + vector2.X + num3; - vector5 = vector6; - windowDrawList.AddText(vector5, ImGui.GetColorU32(ImGuiCol.Text), text2); } if (flag) { diff --git a/Questionable/Questionable.Windows.QuestComponents/RemainingTasksComponent.cs b/Questionable/Questionable.Windows.QuestComponents/RemainingTasksComponent.cs index f77829d..832536b 100644 --- a/Questionable/Questionable.Windows.QuestComponents/RemainingTasksComponent.cs +++ b/Questionable/Questionable.Windows.QuestComponents/RemainingTasksComponent.cs @@ -1,5 +1,7 @@ using System.Collections.Generic; +using System.Numerics; using Dalamud.Bindings.ImGui; +using Dalamud.Interface.Utility.Raii; using Questionable.Controller; namespace Questionable.Windows.QuestComponents; @@ -22,64 +24,63 @@ internal sealed class RemainingTasksComponent _seasonalDutyController = seasonalDutyController; } - public void Draw() + public bool Draw() + { + var (list, text) = GetRemainingTasks(); + if (list.Count == 0) + { + return false; + } + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple2 = UiThemeUtils.BeginCard(); + Vector2 item = tuple2.ContentStartPos; + float item2 = tuple2.AvailableWidth; + ImDrawListPtr item3 = tuple2.DrawList; + float cursorPosX = ImGui.GetCursorPosX(); + float num = ImGui.GetContentRegionAvail().X - 12f; + float wrapLocalPosX = cursorPosX + num; + string text2 = $"{list.Count} {((list.Count == 1) ? "task" : "tasks")}"; + Vector2 vector = ImGui.CalcTextSize(text2); + ImGui.SetNextItemOpen(isOpen: false, ImGuiCond.Once); + bool flag = ImGui.TreeNodeEx("Up Next", ImGuiTreeNodeFlags.NoTreePushOnOpen | ImGuiTreeNodeFlags.SpanAvailWidth); + ImGui.SameLine(); + ImGui.SetCursorPosX(cursorPosX + num - vector.X); + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.DimTextColor)) + { + ImGui.TextUnformatted(text2); + } + if (flag) + { + ImGui.PushTextWrapPos(wrapLocalPosX); + using (ImRaii.Disabled()) + { + foreach (string item4 in list) + { + ImGui.TextUnformatted((text != null) ? (text + item4) : item4); + } + ImGui.PopTextWrapPos(); + } + } + UiThemeUtils.EndCard(item, item2, item3); + return true; + } + + private (IList Tasks, string? Prefix) GetRemainingTasks() { IList remainingTaskNames = _seasonalDutyController.GetRemainingTaskNames(); if (remainingTaskNames.Count > 0) { - ImGui.Separator(); - ImGui.BeginDisabled(); - foreach (string item in remainingTaskNames) - { - ImU8String text = new ImU8String(3, 1); - text.AppendLiteral("D: "); - text.AppendFormatted(item); - ImGui.TextUnformatted(text); - } - ImGui.EndDisabled(); - return; + return (Tasks: remainingTaskNames, Prefix: "D: "); } IList remainingTaskNames2 = _fateController.GetRemainingTaskNames(); if (remainingTaskNames2.Count > 0) { - ImGui.Separator(); - ImGui.BeginDisabled(); - foreach (string item2 in remainingTaskNames2) - { - ImU8String text2 = new ImU8String(3, 1); - text2.AppendLiteral("F: "); - text2.AppendFormatted(item2); - ImGui.TextUnformatted(text2); - } - ImGui.EndDisabled(); - return; + return (Tasks: remainingTaskNames2, Prefix: "F: "); } IList remainingTaskNames3 = _gatheringController.GetRemainingTaskNames(); if (remainingTaskNames3.Count > 0) { - ImGui.Separator(); - ImGui.BeginDisabled(); - foreach (string item3 in remainingTaskNames3) - { - ImU8String text3 = new ImU8String(3, 1); - text3.AppendLiteral("G: "); - text3.AppendFormatted(item3); - ImGui.TextUnformatted(text3); - } - ImGui.EndDisabled(); - return; + return (Tasks: remainingTaskNames3, Prefix: "G: "); } - IList remainingTaskNames4 = _questController.GetRemainingTaskNames(); - if (remainingTaskNames4.Count <= 0) - { - return; - } - ImGui.Separator(); - ImGui.BeginDisabled(); - foreach (string item4 in remainingTaskNames4) - { - ImGui.TextUnformatted(item4); - } - ImGui.EndDisabled(); + return (Tasks: _questController.GetRemainingTaskNames(), Prefix: null); } } diff --git a/Questionable/Questionable.Windows.QuestComponents/SavedPresetsComponent.cs b/Questionable/Questionable.Windows.QuestComponents/SavedPresetsComponent.cs index 16828bb..e147651 100644 --- a/Questionable/Questionable.Windows.QuestComponents/SavedPresetsComponent.cs +++ b/Questionable/Questionable.Windows.QuestComponents/SavedPresetsComponent.cs @@ -5,8 +5,6 @@ using System.Numerics; using System.Text; using Dalamud.Bindings.ImGui; using Dalamud.Interface; -using Dalamud.Interface.Colors; -using Dalamud.Interface.Components; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin; using Dalamud.Plugin.Services; @@ -17,6 +15,7 @@ using Questionable.Data; using Questionable.Functions; using Questionable.Model; using Questionable.Model.Questing; +using Questionable.Windows.Utils; namespace Questionable.Windows.QuestComponents; @@ -61,11 +60,17 @@ internal sealed class SavedPresetsComponent private string? _expandedPreset; - private string? _renamingPresetKey; + private string? _editingPresetKey; - private string _renamePresetName = string.Empty; + private string _editPresetName = string.Empty; - private string _renamePresetDescription = string.Empty; + private string _editPresetDescription = string.Empty; + + private string? _lastClipboardText; + + private PresetExportData? _clipboardPreset; + + private List? _clipboardAllPresets; private const string PresetClipboardPrefix = "qst:preset:"; @@ -87,62 +92,51 @@ internal sealed class SavedPresetsComponent public void Draw() { - ImGui.TextWrapped("Save your current priority queue as a preset for quick access later. Saved presets are stored in your configuration and persist between sessions."); - ImGui.Spacing(); DrawSaveSection(); - ImGui.Spacing(); - using (ImRaii.ChildDisposable childDisposable = ImRaii.Child("SavedPresetsList", new Vector2(-1f, -27f), border: true)) - { - if ((bool)childDisposable) - { - DrawSavedPresets(); - } - } + UiThemeUtils.SectionSpacing(); + DrawSavedPresets(); + UiThemeUtils.SectionSpacing(); DrawBottomButtons(); } private void DrawSaveSection() { int count = _questController.ManualPriorityQuests.Count; + float x = ImGui.GetContentRegionAvail().X; + float x2 = ImGui.GetStyle().ItemSpacing.X; + float width = (x - x2) / 2f; if (_showSaveDialog) { - ImGui.Text("Save Current Priority Queue as Preset:"); - ImGui.SetNextItemWidth(200f); + ImGui.SetNextItemWidth(x); ImGui.InputTextWithHint("##PresetName", "Preset name...", ref _newPresetName, 64); - ImGui.SameLine(); - ImGui.SetNextItemWidth(250f); + ImGui.SetNextItemWidth(x); ImGui.InputTextWithHint("##PresetDescription", "Description (optional)...", ref _newPresetDescription, 256); - ImGui.SameLine(); using (ImRaii.Disabled(string.IsNullOrWhiteSpace(_newPresetName) || count == 0)) { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Save, "Save")) + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Save, "Save", width)) { SaveCurrentPreset(); } } ImGui.SameLine(); - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Times, "Cancel")) + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Times, "Cancel", width)) { _showSaveDialog = false; _newPresetName = string.Empty; _newPresetDescription = string.Empty; } - if (count == 0) - { - ImGui.TextColored(ImGuiColors.DalamudYellow, "Add quests to the priority queue first."); - } return; } using (ImRaii.Disabled(count == 0)) { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Plus, $"Save Current Queue ({count} quests)")) + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Plus, $"Save Current Queue ({count} quests)", x)) { _showSaveDialog = true; } } if (count == 0 && ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) { - ImGui.SetTooltip("Add quests to the priority queue first to save them as a preset."); + ImGui.SetTooltip("Add quests to the priority queue first."); } } @@ -151,13 +145,28 @@ internal sealed class SavedPresetsComponent Dictionary savedPresets = _configuration.General.SavedPresets; if (savedPresets.Count == 0) { - ImGui.PushStyleColor(ImGuiCol.Text, ImGuiColors.DalamudGrey); - ImGui.TextWrapped("No saved presets yet. Save your current priority queue using the button above."); - ImGui.PopStyleColor(); - return; + string[] array = new string[3] { "No saved presets yet.", "Save your current priority queue using the", "button above." }; + float x = ImGui.GetContentRegionAvail().X; + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.MutedTextColor)) + { + string[] array2 = array; + foreach (string obj in array2) + { + float x2 = ImGui.CalcTextSize(obj).X; + ImGui.SetCursorPosX(ImGui.GetCursorPosX() + (x - x2) / 2f); + ImGui.TextUnformatted(obj); + } + return; + } } - foreach (var (key, preset) in savedPresets.OrderBy((KeyValuePair x) => x.Value.Name)) + bool flag = true; + foreach (var (key, preset) in savedPresets.OrderBy((KeyValuePair keyValuePair2) => keyValuePair2.Value.Name)) { + if (!flag) + { + ImGui.Spacing(); + } + flag = false; DrawPresetEntry(key, preset); } if (_presetToDelete != null) @@ -175,220 +184,134 @@ internal sealed class SavedPresetsComponent { using (ImRaii.PushId(key)) { + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard(); + Vector2 item = tuple.ContentStartPos; + float item2 = tuple.AvailableWidth; + ImDrawListPtr item3 = tuple.DrawList; List availableQuests = GetAvailableQuests(preset.QuestIds); - List completedQuests = GetCompletedQuests(preset.QuestIds); - List alreadyPriorityQuests = GetAlreadyPriorityQuests(preset.QuestIds); - string text = preset.Name; - List list = new List(); - if (availableQuests.Count > 0) - { - list.Add($"{availableQuests.Count} available"); - } - if (alreadyPriorityQuests.Count > 0) - { - list.Add($"{alreadyPriorityQuests.Count} priority"); - } - if (completedQuests.Count > 0) - { - list.Add($"{completedQuests.Count} completed"); - } - if (list.Count > 0) - { - text = text + " (" + string.Join(", ", list) + ")"; - } + int count = preset.QuestIds.Count; + string text = $"{count} {((count == 1) ? "quest" : "quests")}"; + ImGui.GetCursorPosX(); + float num = ImGui.GetContentRegionAvail().X - 12f; bool flag = _expandedPreset == key; - ImU8String label = new ImU8String(3, 2); - label.AppendFormatted(text); - label.AppendLiteral("###"); - label.AppendFormatted(key); - if (ImGui.CollapsingHeader(label, flag ? ImGuiTreeNodeFlags.DefaultOpen : ImGuiTreeNodeFlags.None)) + float frameHeight = ImGui.GetFrameHeight(); + Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); + using (ImRaii.PushColor(ImGuiCol.Button, Vector4.Zero)) { - _expandedPreset = key; - using (ImRaii.PushIndent()) + using (ImRaii.PushColor(ImGuiCol.ButtonHovered, UiThemeUtils.SubtleHoverColor)) { - if (_renamingPresetKey == key) + using (ImRaii.PushColor(ImGuiCol.ButtonActive, UiThemeUtils.SubtlePressColor)) { - ImGui.Text("Name:"); - ImGui.SameLine(); - ImGui.SetNextItemWidth(300f); - ImGui.InputTextWithHint("##RenamePreset", "Preset name...", ref _renamePresetName, 64); - ImGui.Text("Description:"); - ImGui.SameLine(); - ImGui.SetNextItemWidth(300f); - ImGui.InputTextWithHint("##EditDescription", "Description (optional)...", ref _renamePresetDescription, 256); - using (ImRaii.Disabled(string.IsNullOrWhiteSpace(_renamePresetName))) + ImU8String label = new ImU8String(2, 1); + label.AppendLiteral("##"); + label.AppendFormatted(key); + if (ImGui.Button(label, new Vector2(num, frameHeight))) { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Check, "Save Changes")) + _expandedPreset = (flag ? null : key); + flag = _expandedPreset == key; + } + } + } + } + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + string text2 = (flag ? FontAwesomeIcon.CaretDown : FontAwesomeIcon.CaretRight).ToIconString(); + Vector2 vector; + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + vector = ImGui.CalcTextSize(text2); + } + float y = cursorScreenPos.Y + (frameHeight - ImGui.GetTextLineHeight()) / 2f; + float y2 = cursorScreenPos.Y + (frameHeight - vector.Y) / 2f; + uint colorU = ImGui.GetColorU32(ImGuiCol.Text); + Vector2 vector2 = ImGui.CalcTextSize(text); + float x = ImGui.GetStyle().FramePadding.X; + float num2 = cursorScreenPos.X + x + vector.X + 6f; + float num3 = cursorScreenPos.X + num - vector2.X - x; + windowDrawList.AddText(UiBuilder.IconFont, ImGui.GetFontSize(), new Vector2(cursorScreenPos.X + x, y2), colorU, text2); + windowDrawList.AddText(new Vector2(num2, y), colorU, UiThemeUtils.TruncateToWidth(preset.Name, num3 - num2 - ImGui.GetStyle().ItemSpacing.X)); + windowDrawList.AddText(new Vector2(num3, y), ImGui.ColorConvertFloat4ToU32(UiThemeUtils.MutedTextColor), text); + if (flag) + { + if (_editingPresetKey == key) + { + float x2 = ImGui.GetContentRegionAvail().X; + ImGui.SetNextItemWidth(x2); + ImGui.InputTextWithHint("##EditName", "Preset name...", ref _editPresetName, 64); + ImGui.SetNextItemWidth(x2); + ImGui.InputTextWithHint("##EditDesc", "Description (optional)...", ref _editPresetDescription, 256); + float width = (x2 - ImGui.GetStyle().ItemSpacing.X) / 2f; + using (ImRaii.Disabled(string.IsNullOrWhiteSpace(_editPresetName))) + { + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Save, "Save", width)) + { + preset.Name = _editPresetName.Trim(); + preset.Description = _editPresetDescription.Trim(); + _pluginInterface.SavePluginConfig(_configuration); + _editingPresetKey = null; + } + } + ImGui.SameLine(); + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Times, "Cancel", width)) + { + _editingPresetKey = null; + } + } + else + { + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.DimTextColor)) + { + foreach (ElementId questId in preset.QuestIds) + { + if (_questData.TryGetQuestInfo(questId, out IQuestInfo questInfo)) { - RenamePreset(key, _renamePresetName, _renamePresetDescription); + UiThemeUtils.WrappedText(questInfo.Name); + if (ImGui.IsItemHovered()) + { + _questTooltipComponent.Draw(questInfo); + } + } + else + { + UiThemeUtils.WrappedText(questId.ToString()); } } - ImGui.SameLine(); - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Times, "Cancel")) - { - _renamingPresetKey = null; - _renamePresetName = string.Empty; - _renamePresetDescription = string.Empty; - } - } - else - { - if (!string.IsNullOrEmpty(preset.Description)) - { - ImGui.TextWrapped(preset.Description); - } - Vector4 col = ImGuiColors.DalamudGrey; - ImU8String text2 = new ImU8String(26, 2); - text2.AppendLiteral("Created: "); - text2.AppendFormatted(preset.CreatedAt.ToLocalTime(), "g"); - text2.AppendLiteral(" | Total quests: "); - text2.AppendFormatted(preset.QuestIds.Count); - ImGui.TextColored(in col, text2); } ImGui.Spacing(); + float width2 = (num - ImGui.GetStyle().ItemSpacing.X * 3f) / 4f; using (ImRaii.Disabled(availableQuests.Count == 0)) { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Plus, $"Add Available ({availableQuests.Count})")) + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Plus, "Add", width2)) { AddPresetToPriority(availableQuests); } } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) - { - if (availableQuests.Count == 0) - { - ImGui.SetTooltip("No available quests to add (all completed or already in priority)."); - } - else - { - ImU8String tooltip = new ImU8String(44, 1); - tooltip.AppendLiteral("Add "); - tooltip.AppendFormatted(availableQuests.Count); - tooltip.AppendLiteral(" available quests to the priority queue."); - ImGui.SetTooltip(tooltip); - } - } ImGui.SameLine(); - using (ImRaii.Disabled(alreadyPriorityQuests.Count == 0)) - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Minus, $"Remove from Priority ({alreadyPriorityQuests.Count})")) - { - RemovePresetFromPriority(alreadyPriorityQuests); - } - } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) - { - if (alreadyPriorityQuests.Count == 0) - { - ImGui.SetTooltip("No quests from this preset are in the priority queue."); - } - else - { - ImU8String tooltip2 = new ImU8String(39, 1); - tooltip2.AppendLiteral("Remove "); - tooltip2.AppendFormatted(alreadyPriorityQuests.Count); - tooltip2.AppendLiteral(" quests from the priority queue."); - ImGui.SetTooltip(tooltip2); - } - } - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Upload, "Export")) + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Upload, "Export", width2)) { ExportPresetToClipboard(preset); } - if (ImGui.IsItemHovered()) - { - ImGui.SetTooltip("Export this preset to clipboard for sharing."); - } ImGui.SameLine(); - using (ImRaii.Disabled(_renamingPresetKey != null)) + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Pen, "Edit", width2)) { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Pen, "Edit")) - { - _renamingPresetKey = key; - _renamePresetName = preset.Name; - _renamePresetDescription = preset.Description; - } - } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) - { - ImGui.SetTooltip("Edit preset name and description."); - } - ImGui.SameLine(); - int count = _questController.ManualPriorityQuests.Count; - using (ImRaii.Disabled(count == 0)) - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Sync, "Update")) - { - UpdatePresetQuests(key, preset); - } - } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) - { - if (count == 0) - { - ImGui.SetTooltip("Add quests to the priority queue first."); - } - else - { - ImU8String tooltip3 = new ImU8String(71, 1); - tooltip3.AppendLiteral("Replace this preset's quests with the current priority queue ("); - tooltip3.AppendFormatted(count); - tooltip3.AppendLiteral(" quests)."); - ImGui.SetTooltip(tooltip3); - } + _editingPresetKey = key; + _editPresetName = preset.Name; + _editPresetDescription = preset.Description; } ImGui.SameLine(); using (ImRaii.Disabled(!ImGui.IsKeyDown(ImGuiKey.ModCtrl))) { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Trash, "Delete")) + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Trash, "Delete", width2)) { _presetToDelete = key; } } if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) { - ImGui.SetTooltip("Hold CTRL to delete this preset."); + ImGui.SetTooltip("Hold CTRL to delete"); } - ImGui.Spacing(); - ImGui.Separator(); - foreach (ElementId item in availableQuests) - { - if (_questData.TryGetQuestInfo(item, out IQuestInfo questInfo) && _uiUtils.ChecklistItem(questInfo.Name ?? "", ImGuiColors.DalamudYellow, FontAwesomeIcon.Running)) - { - _questTooltipComponent.Draw(questInfo); - } - } - foreach (ElementId item2 in alreadyPriorityQuests) - { - if (_questData.TryGetQuestInfo(item2, out IQuestInfo questInfo2) && _uiUtils.ChecklistItem(questInfo2.Name ?? "", ImGuiColors.DalamudYellow, FontAwesomeIcon.PersonWalkingArrowRight)) - { - _questTooltipComponent.Draw(questInfo2); - } - } - foreach (ElementId item3 in completedQuests) - { - if (_questData.TryGetQuestInfo(item3, out IQuestInfo questInfo3) && _uiUtils.ChecklistItem(questInfo3.Name ?? "", ImGuiColors.ParsedGreen, FontAwesomeIcon.Check)) - { - _questTooltipComponent.Draw(questInfo3); - } - } - foreach (ElementId unknownQuest in GetUnknownQuests(preset.QuestIds)) - { - _uiUtils.ChecklistItem($"Unknown Quest ({unknownQuest})", ImGuiColors.DalamudGrey, FontAwesomeIcon.Question); - } - ImGui.Spacing(); } } - else if (_expandedPreset == key) - { - _expandedPreset = null; - } - if (ImGui.IsItemHovered() && !string.IsNullOrEmpty(preset.Description)) - { - ImGui.BeginTooltip(); - ImGui.TextUnformatted(preset.Description); - ImGui.EndTooltip(); - } + UiThemeUtils.EndCard(item, item2, item3); } } @@ -396,62 +319,41 @@ internal sealed class SavedPresetsComponent { PresetExportData presetExportData = ParseClipboardPreset(); List list = ParseClipboardAllPresets(); - using (ImRaii.Disabled(presetExportData == null)) + float x = ImGui.GetContentRegionAvail().X; + float x2 = ImGui.GetStyle().ItemSpacing.X; + float width = (x - x2) / 2f; + using (ImRaii.Disabled(presetExportData == null && list == null)) { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Download, "Import Preset") && presetExportData != null) + string text = ((list != null) ? $"Import ({list.Count})" : "Import"); + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Download, text, width)) { - ImportPresetFromClipboard(presetExportData); + if (list != null) + { + ImportAllPresetsFromClipboard(list); + } + else if (presetExportData != null) + { + ImportPresetFromClipboard(presetExportData); + } } } - if (presetExportData == null && ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + if (presetExportData == null && list == null && ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) { ImGui.SetTooltip("Copy a valid preset string to clipboard first."); } ImGui.SameLine(); - using (ImRaii.Disabled(list == null || list.Count == 0)) + int count = _configuration.General.SavedPresets.Count; + using (ImRaii.Disabled(count == 0)) { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.FileImport, "Import All" + ((list != null && list.Count > 0) ? $" ({list.Count})" : "")) && list != null) - { - ImportAllPresetsFromClipboard(list); - } - } - if ((list == null || list.Count == 0) && ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) - { - ImGui.SetTooltip("Copy a valid 'all presets' export string to clipboard first."); - } - ImGui.SameLine(); - using (ImRaii.Disabled(_configuration.General.SavedPresets.Count == 0)) - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.FileExport, $"Export All ({_configuration.General.SavedPresets.Count})")) + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Upload, $"Export ({count})", width)) { ExportAllPresetsToClipboard(); } } - if (_configuration.General.SavedPresets.Count == 0 && ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + if (count == 0 && ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) { ImGui.SetTooltip("No saved presets to export."); } - ImGui.SameLine(); - using (ImRaii.Disabled(_configuration.General.SavedPresets.Count == 0 || !ImGui.IsKeyDown(ImGuiKey.ModCtrl))) - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Trash, "Clear All")) - { - _configuration.General.SavedPresets.Clear(); - _pluginInterface.SavePluginConfig(_configuration); - _logger.LogInformation("Cleared all saved presets"); - } - } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) - { - if (_configuration.General.SavedPresets.Count == 0) - { - ImGui.SetTooltip("No saved presets to clear."); - } - else - { - ImGui.SetTooltip("Hold CTRL to clear all saved presets."); - } - } } private void SaveCurrentPreset() @@ -512,77 +414,150 @@ internal sealed class SavedPresetsComponent _chatGui.Print($"Exported {list.Count} presets to clipboard.", "Questionable", 576); } - private static PresetExportData? ParseClipboardPreset() + private void RefreshClipboardPresets() { + string text = ThrottledClipboard.GetText(); + if (text == _lastClipboardText) + { + return; + } + _lastClipboardText = text; + _clipboardPreset = null; + _clipboardAllPresets = null; try { - string text = ImGui.GetClipboardText().Trim(); if (text.StartsWith("qst:preset:", StringComparison.InvariantCulture)) { string s = text.Substring("qst:preset:".Length); - return JsonConvert.DeserializeObject(Encoding.UTF8.GetString(Convert.FromBase64String(s))); + string value = Encoding.UTF8.GetString(Convert.FromBase64String(s)); + _clipboardPreset = JsonConvert.DeserializeObject(value); + } + else if (text.StartsWith("qst:presets:", StringComparison.InvariantCulture)) + { + string s2 = text.Substring("qst:presets:".Length); + string value2 = Encoding.UTF8.GetString(Convert.FromBase64String(s2)); + _clipboardAllPresets = JsonConvert.DeserializeObject>(value2); } } - catch (Exception) + catch (Exception exception) { + _logger.LogDebug(exception, "Failed to parse presets from clipboard"); } - return null; } - private static List? ParseClipboardAllPresets() + private PresetExportData? ParseClipboardPreset() { - try - { - string text = ImGui.GetClipboardText().Trim(); - if (text.StartsWith("qst:presets:", StringComparison.InvariantCulture)) - { - string s = text.Substring("qst:presets:".Length); - return JsonConvert.DeserializeObject>(Encoding.UTF8.GetString(Convert.FromBase64String(s))); - } - } - catch (Exception) - { - } - return null; + RefreshClipboardPresets(); + return _clipboardPreset; + } + + private List? ParseClipboardAllPresets() + { + RefreshClipboardPresets(); + return _clipboardAllPresets; + } + + private bool PresetNameExists(string name) + { + return _configuration.General.SavedPresets.Values.Any((Configuration.SavedQuestPreset p) => string.Equals(p.Name, name, StringComparison.OrdinalIgnoreCase)); } private void ImportPresetFromClipboard(PresetExportData exportData) { - List list = exportData.QuestIds.Select((string id) => ElementId.FromString(id)).ToList(); - string key = GeneratePresetKey(exportData.Name); - Configuration.SavedQuestPreset savedQuestPreset = new Configuration.SavedQuestPreset + try { - Name = exportData.Name, - Description = exportData.Description, - QuestIds = list, - CreatedAt = DateTime.UtcNow - }; - _configuration.General.SavedPresets[key] = savedQuestPreset; - _pluginInterface.SavePluginConfig(_configuration); - _logger.LogInformation("Imported preset '{PresetName}' with {Count} quests from clipboard", savedQuestPreset.Name, list.Count); - _chatGui.Print($"Imported preset '{savedQuestPreset.Name}' with {list.Count} quests.", "Questionable", 576); + if (PresetNameExists(exportData.Name)) + { + _chatGui.Print("Preset '" + exportData.Name + "' already exists, skipping.", "Questionable", 576); + return; + } + int skippedCount; + List list = ElementId.FromStrings(exportData.QuestIds, out skippedCount); + if (list.Count == 0) + { + _chatGui.PrintError("Preset '" + exportData.Name + "' contains no importable quests.", "Questionable", 576); + return; + } + string key = GeneratePresetKey(exportData.Name); + Configuration.SavedQuestPreset savedQuestPreset = new Configuration.SavedQuestPreset + { + Name = exportData.Name, + Description = exportData.Description, + QuestIds = list, + CreatedAt = DateTime.UtcNow + }; + _configuration.General.SavedPresets[key] = savedQuestPreset; + _pluginInterface.SavePluginConfig(_configuration); + _logger.LogInformation("Imported preset '{PresetName}' with {Count} quests from clipboard, skipped {Skipped} unknown ids", savedQuestPreset.Name, list.Count, skippedCount); + string text = $"Imported preset '{savedQuestPreset.Name}' with {list.Count} quests."; + if (skippedCount > 0) + { + text += $" Skipped {skippedCount} unknown quest ids."; + } + _chatGui.Print(text, "Questionable", 576); + } + catch (Exception ex) + { + _logger.LogError(ex, "Failed to import preset from clipboard"); + _chatGui.PrintError("Failed to import preset: " + ex.Message, "Questionable", 576); + } } private void ImportAllPresetsFromClipboard(List allExportData) { - int num = 0; - foreach (PresetExportData allExportDatum in allExportData) + try { - List questIds = allExportDatum.QuestIds.Select((string id) => ElementId.FromString(id)).ToList(); - string key = GeneratePresetKey(allExportDatum.Name); - Configuration.SavedQuestPreset value = new Configuration.SavedQuestPreset + int num = 0; + int num2 = 0; + int num3 = 0; + HashSet hashSet = _configuration.General.SavedPresets.Values.Select((Configuration.SavedQuestPreset p) => p.Name).ToHashSet(StringComparer.OrdinalIgnoreCase); + foreach (PresetExportData allExportDatum in allExportData) { - Name = allExportDatum.Name, - Description = allExportDatum.Description, - QuestIds = questIds, - CreatedAt = DateTime.UtcNow - }; - _configuration.General.SavedPresets[key] = value; - num++; + if (hashSet.Contains(allExportDatum.Name)) + { + num2++; + continue; + } + int skippedCount; + List list = ElementId.FromStrings(allExportDatum.QuestIds, out skippedCount); + num3 += skippedCount; + if (list.Count == 0) + { + num2++; + continue; + } + string key = GeneratePresetKey(allExportDatum.Name); + Configuration.SavedQuestPreset value = new Configuration.SavedQuestPreset + { + Name = allExportDatum.Name, + Description = allExportDatum.Description, + QuestIds = list, + CreatedAt = DateTime.UtcNow + }; + _configuration.General.SavedPresets[key] = value; + num++; + } + if (num > 0) + { + _pluginInterface.SavePluginConfig(_configuration); + } + string text = $"Imported {num} presets from clipboard."; + if (num2 > 0) + { + text += $" Skipped {num2} (already exist or empty)."; + } + if (num3 > 0) + { + text += $" Skipped {num3} unknown quest ids."; + } + _logger.LogInformation("Imported {Imported} presets from clipboard, skipped {Skipped} presets and {SkippedIds} unknown ids", num, num2, num3); + _chatGui.Print(text, "Questionable", 576); + } + catch (Exception ex) + { + _logger.LogError(ex, "Failed to import presets from clipboard"); + _chatGui.PrintError("Failed to import presets: " + ex.Message, "Questionable", 576); } - _pluginInterface.SavePluginConfig(_configuration); - _logger.LogInformation("Imported {Count} presets from clipboard", num); - _chatGui.Print($"Imported {num} presets from clipboard.", "Questionable", 576); } private void AddPresetToPriority(List questIds) @@ -602,51 +577,6 @@ internal sealed class SavedPresetsComponent _logger.LogInformation("Added {Count} quests from saved preset to priority list", num); } - private void RemovePresetFromPriority(List questIds) - { - int num = 0; - foreach (ElementId questId in questIds) - { - Quest quest = _questController.ManualPriorityQuests.FirstOrDefault((Quest q) => q.Id.Equals(questId)); - if (quest != null) - { - _questController.ManualPriorityQuests.Remove(quest); - num++; - } - } - if (num > 0) - { - _questController.SavePriorityQuests(); - _chatGui.Print($"Removed {num} quests from priority queue.", "Questionable", 576); - _logger.LogInformation("Removed {Count} quests from priority list", num); - } - } - - private void UpdatePresetQuests(string key, Configuration.SavedQuestPreset preset) - { - List list = _questController.ManualPriorityQuests.Select((Quest q) => q.Id).ToList(); - int count = preset.QuestIds.Count; - preset.QuestIds = list; - _pluginInterface.SavePluginConfig(_configuration); - _logger.LogInformation("Updated preset '{PresetName}' from {OldCount} to {NewCount} quests", preset.Name, count, list.Count); - _chatGui.Print($"Updated preset '{preset.Name}' with {list.Count} quests (was {count}).", "Questionable", 576); - } - - private void RenamePreset(string key, string newName, string newDescription) - { - if (_configuration.General.SavedPresets.TryGetValue(key, out Configuration.SavedQuestPreset value)) - { - string name = value.Name; - value.Name = newName.Trim(); - value.Description = newDescription.Trim(); - _pluginInterface.SavePluginConfig(_configuration); - _logger.LogInformation("Updated preset '{OldName}' to '{NewName}'", name, value.Name); - } - _renamingPresetKey = null; - _renamePresetName = string.Empty; - _renamePresetDescription = string.Empty; - } - private List GetAvailableQuests(List questIds) { return (from questId in questIds @@ -656,11 +586,6 @@ internal sealed class SavedPresetsComponent select questId).ToList(); } - private List GetCompletedQuests(List questIds) - { - return questIds.Where((ElementId questId) => _questFunctions.IsQuestComplete(questId)).ToList(); - } - private List GetAlreadyPriorityQuests(List questIds) { return (from questId in questIds @@ -668,10 +593,4 @@ internal sealed class SavedPresetsComponent where !_questFunctions.IsQuestComplete(questId) select questId).ToList(); } - - private List GetUnknownQuests(List questIds) - { - IQuestInfo questInfo; - return questIds.Where((ElementId questId) => !_questData.TryGetQuestInfo(questId, out questInfo)).ToList(); - } } diff --git a/Questionable/Questionable.Windows.QuestComponents/ValidationDetailsRenderer.cs b/Questionable/Questionable.Windows.QuestComponents/ValidationDetailsRenderer.cs index d90dce0..76c69c9 100644 --- a/Questionable/Questionable.Windows.QuestComponents/ValidationDetailsRenderer.cs +++ b/Questionable/Questionable.Windows.QuestComponents/ValidationDetailsRenderer.cs @@ -18,13 +18,6 @@ namespace Questionable.Windows.QuestComponents; internal sealed class ValidationDetailsRenderer { - private sealed record JsonValidationError - { - public string Path { get; init; } = string.Empty; - - public List Messages { get; init; } = new List(); - } - private readonly QuestData _questData; private readonly IDalamudPluginInterface _pluginInterface; @@ -33,8 +26,6 @@ internal sealed class ValidationDetailsRenderer private readonly Dictionary _openDetailWindows = new Dictionary(); - private static readonly Regex JsonPropertyPathRegex = new Regex("#/([^:]*)", RegexOptions.Compiled); - private static readonly Regex UnicodeEscapeRegex = new Regex("\\\\u([0-9A-Fa-f]{4})", RegexOptions.Compiled); private static readonly Regex JsonEscapeRegex = new Regex("\\\\(.)", RegexOptions.Compiled); @@ -85,21 +76,25 @@ internal sealed class ValidationDetailsRenderer List list = new List(); foreach (KeyValuePair item in _openDetailWindows.ToList()) { - if (item.Value && _storedIssues.TryGetValue(item.Key, out ValidationIssue value)) + if (!item.Value || !_storedIssues.TryGetValue(item.Key, out ValidationIssue value)) { - string obj = $"Validation Details##{item.Key}"; - bool open = true; - ImGui.SetNextWindowSize(new Vector2(800f, 600f), ImGuiCond.FirstUseEver); - ImGui.SetNextWindowSizeConstraints(new Vector2(500f, 300f), new Vector2(1200f, 800f)); - if (ImGui.Begin(obj, ref open)) + continue; + } + string text = $"Validation Details##{item.Key}"; + bool open = true; + ImGui.SetNextWindowSize(new Vector2(800f, 600f), ImGuiCond.FirstUseEver); + ImGui.SetNextWindowSizeConstraints(new Vector2(500f, 300f), new Vector2(1200f, 800f)); + using (ThemedWindow.PushTheme()) + { + if (ImGui.Begin(text, ref open)) { DrawIssueDetails(value); - ImGui.End(); - } - if (!open) - { - list.Add(item.Key); } + ImGui.End(); + } + if (!open) + { + list.Add(item.Key); } } foreach (int item2 in list) @@ -111,8 +106,18 @@ internal sealed class ValidationDetailsRenderer private void DrawIssueDetails(ValidationIssue issue) { - Vector4 color = ((issue.Severity == EIssueSeverity.Error) ? ImGuiColors.DalamudRed : ImGuiColors.DalamudOrange); - FontAwesomeIcon icon = ((issue.Severity == EIssueSeverity.Error) ? FontAwesomeIcon.ExclamationTriangle : FontAwesomeIcon.InfoCircle); + Vector4 color = issue.Severity switch + { + EIssueSeverity.Error => ImGuiColors.DalamudRed, + EIssueSeverity.Warning => ImGuiColors.DalamudYellow, + _ => ImGuiColors.DalamudOrange, + }; + FontAwesomeIcon icon = issue.Severity switch + { + EIssueSeverity.Error => FontAwesomeIcon.ExclamationTriangle, + EIssueSeverity.Warning => FontAwesomeIcon.ExclamationCircle, + _ => FontAwesomeIcon.InfoCircle, + }; using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) { using (ImRaii.PushColor(ImGuiCol.Text, color)) @@ -130,48 +135,54 @@ internal sealed class ValidationDetailsRenderer ImGui.Text(text); } ImGui.Separator(); - if (issue.ElementId != null) + ImU8String text2 = new ImU8String(6, 1); + text2.AppendLiteral("Type: "); + text2.AppendFormatted(issue.PathType); + ImGui.Text(text2); + if (issue.Id != null) { - IQuestInfo questInfo = _questData.GetQuestInfo(issue.ElementId); - ImU8String text2 = new ImU8String(10, 2); - text2.AppendLiteral("Quest: "); - text2.AppendFormatted(issue.ElementId); - text2.AppendLiteral(" - "); - text2.AppendFormatted(questInfo.Name); - ImGui.Text(text2); + if (issue.PathType == EPathType.Quest && ElementId.TryFromString(issue.Id, out ElementId elementId) && elementId != null) + { + try + { + IQuestInfo questInfo = _questData.GetQuestInfo(elementId); + ImU8String text3 = new ImU8String(10, 2); + text3.AppendLiteral("Quest: "); + text3.AppendFormatted(issue.Id); + text3.AppendLiteral(" - "); + text3.AppendFormatted(questInfo.Name); + ImGui.Text(text3); + } + catch + { + ImU8String text4 = new ImU8String(4, 1); + text4.AppendLiteral("ID: "); + text4.AppendFormatted(issue.Id); + ImGui.Text(text4); + } + } + else + { + ImU8String text5 = new ImU8String(4, 1); + text5.AppendLiteral("ID: "); + text5.AppendFormatted(issue.Id); + ImGui.Text(text5); + } } - else if (issue.AlliedSociety != EAlliedSociety.None) + if (issue.Location != null) { - ImU8String text3 = new ImU8String(16, 1); - text3.AppendLiteral("Allied Society: "); - text3.AppendFormatted(issue.AlliedSociety); - ImGui.Text(text3); - } - if (issue.Sequence.HasValue) - { - ImU8String text4 = new ImU8String(10, 1); - text4.AppendLiteral("Sequence: "); - text4.AppendFormatted(issue.Sequence); - ImGui.Text(text4); - } - if (issue.Step.HasValue) - { - ImU8String text5 = new ImU8String(6, 1); - text5.AppendLiteral("Step: "); - text5.AppendFormatted(issue.Step); - ImGui.Text(text5); + ImU8String text6 = new ImU8String(10, 1); + text6.AppendLiteral("Location: "); + text6.AppendFormatted(issue.Location); + ImGui.Text(text6); } ImGui.Separator(); ImGui.Text("Description:"); string description = CleanJsonText(issue.Description ?? "(no description)"); - if (issue.Type == EIssueType.QuestDisabled && issue.ElementId == null) + if (issue.Type == EIssueType.QuestDisabled && issue.Id == null) { DrawDisabledTribesDetails(description); } - else if (issue.Type == EIssueType.InvalidJsonSchema) - { - DrawEnhancedJsonSchemaDetails(description); - } else if (issue.Type == EIssueType.InvalidJsonSyntax) { DrawJsonSyntaxErrorDetails(description); @@ -206,7 +217,7 @@ internal sealed class ValidationDetailsRenderer ImGui.TextWrapped(text); } } - else if (text.StartsWith("\ufffd ", StringComparison.Ordinal)) + else if (text.StartsWith("• ", StringComparison.Ordinal)) { using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudYellow)) { @@ -262,7 +273,7 @@ internal sealed class ValidationDetailsRenderer { IQuestInfo questInfo = _questData.GetQuestInfo(elementId); ImU8String text = new ImU8String(5, 2); - text.AppendLiteral("\ufffd "); + text.AppendLiteral("• "); text.AppendFormatted(value); text.AppendLiteral(" - "); text.AppendFormatted(questInfo.Name); @@ -271,7 +282,7 @@ internal sealed class ValidationDetailsRenderer catch { ImU8String text2 = new ImU8String(18, 1); - text2.AppendLiteral("\ufffd "); + text2.AppendLiteral("• "); text2.AppendFormatted(value); text2.AppendLiteral(" (unknown quest)"); ImGui.TextWrapped(text2); @@ -280,7 +291,7 @@ internal sealed class ValidationDetailsRenderer else { ImU8String text3 = new ImU8String(2, 1); - text3.AppendLiteral("\ufffd "); + text3.AppendLiteral("• "); text3.AppendFormatted(value); ImGui.TextWrapped(text3); } @@ -289,246 +300,6 @@ internal sealed class ValidationDetailsRenderer ImGui.Unindent(); } - private void DrawEnhancedJsonSchemaDetails(string description) - { - if (description.Split('\n').Length == 0) - { - ImGui.TextWrapped("No validation details available."); - return; - } - List list = ParseJsonValidationErrors(description); - if (list.Count > 0) - { - ImGui.Text("JSON Schema Validation Errors:"); - ImGui.Spacing(); - for (int i = 0; i < list.Count; i++) - { - DrawJsonValidationError(list[i], i); - if (i < list.Count - 1) - { - ImGui.Separator(); - } - } - } - else - { - DrawSimpleJsonSchemaDetails(description); - } - } - - private void DrawJsonValidationError(JsonValidationError error, int index) - { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudYellow)) - { - ImU8String text = new ImU8String(8, 1); - text.AppendLiteral("Error #"); - text.AppendFormatted(index + 1); - text.AppendLiteral(":"); - ImGui.Text(text); - } - ImGui.Indent(12f); - if (!string.IsNullOrEmpty(error.Path)) - { - ImGui.AlignTextToFramePadding(); - ImGui.Text("Location:"); - ImGui.SameLine(); - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedBlue)) - { - ImGui.TextWrapped(FormatJsonPath(error.Path)); - } - } - if (error.Messages.Count > 0) - { - ImGui.AlignTextToFramePadding(); - ImGui.Text((error.Messages.Count == 1) ? "Issue:" : "Issues:"); - foreach (string message in error.Messages) - { - ImGui.Indent(12f); - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed)) - { - string text2 = CleanJsonText(message); - if (string.Equals(text2, "validation failed", StringComparison.OrdinalIgnoreCase)) - { - text2 = "JSON schema validation failed - check that all properties match the expected format and values"; - } - ImU8String text3 = new ImU8String(2, 1); - text3.AppendLiteral("\ufffd "); - text3.AppendFormatted(text2); - ImGui.TextWrapped(text3); - ImGui.Unindent(12f); - } - } - } - List validationSuggestions = GetValidationSuggestions(error); - if (validationSuggestions.Count > 0) - { - ImGui.Spacing(); - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.HealerGreen)) - { - ImGui.Text("Suggestions:"); - foreach (string item in validationSuggestions) - { - ImGui.Indent(12f); - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) - { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudYellow)) - { - ImGui.Text(FontAwesomeIcon.Lightbulb.ToIconString()); - } - } - ImGui.SameLine(); - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.HealerGreen)) - { - ImGui.TextWrapped(item); - ImGui.Unindent(12f); - } - } - } - } - ImGui.Unindent(12f); - } - - private static void DrawSimpleJsonSchemaDetails(string description) - { - string[] array = description.Split('\n'); - foreach (string text in array) - { - if (text.StartsWith("JSON Validation failed:", StringComparison.Ordinal)) - { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed)) - { - ImGui.TextWrapped(text); - } - } - else if (text.StartsWith(" - ", StringComparison.Ordinal)) - { - int num = text.IndexOf(':', 3); - if (num > 0) - { - string path = text.Substring(3, num - 3).Trim(); - string text2 = CleanJsonText(text.Substring(num + 1).Trim()); - if (string.Equals(text2, "validation failed", StringComparison.OrdinalIgnoreCase)) - { - text2 = "Schema validation failed - check property format and values"; - } - ImGui.Text("\ufffd"); - ImGui.SameLine(); - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedBlue)) - { - ImGui.Text(FormatJsonPath(path)); - } - ImGui.SameLine(); - ImGui.Text(":"); - ImGui.SameLine(); - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed)) - { - ImGui.TextWrapped(text2); - } - } - else - { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed)) - { - ImGui.TextWrapped(CleanJsonText(text)); - } - } - } - else - { - ImGui.TextWrapped(CleanJsonText(text)); - } - } - } - - private static List ParseJsonValidationErrors(string description) - { - List list = new List(); - string[] array = description.Split('\n'); - foreach (string text in array) - { - if (!text.StartsWith(" - ", StringComparison.Ordinal)) - { - continue; - } - int num = text.IndexOf(':', 3); - if (num > 0) - { - string path = text.Substring(3, num - 3).Trim(); - List messages = (from m in text.Substring(num + 1).Trim().Split(';', StringSplitOptions.RemoveEmptyEntries) - select CleanJsonText(m.Trim()) into m - where !string.IsNullOrEmpty(m) - select m).ToList(); - list.Add(new JsonValidationError - { - Path = path, - Messages = messages - }); - } - } - return list; - } - - private static string FormatJsonPath(string path) - { - if (string.IsNullOrEmpty(path)) - { - return ""; - } - Match match = JsonPropertyPathRegex.Match(path); - if (match.Success) - { - string value = match.Groups[1].Value; - if (string.IsNullOrEmpty(value)) - { - return ""; - } - return value.Replace('/', '.'); - } - if (!(path == "")) - { - return path; - } - return ""; - } - - private static List GetValidationSuggestions(JsonValidationError error) - { - List list = new List(); - foreach (string message in error.Messages) - { - string text = message.ToUpperInvariant(); - if (text.Contains("REQUIRED", StringComparison.Ordinal)) - { - list.Add("Add the missing required property to your JSON."); - } - else if (text.Contains("TYPE", StringComparison.Ordinal)) - { - list.Add("Check that the property value has the correct data type (string, number, boolean, etc.)."); - } - else if (text.Contains("ENUM", StringComparison.Ordinal) || text.Contains("ALLOWED VALUES", StringComparison.Ordinal)) - { - list.Add("Use one of the allowed enumeration values for this property."); - } - else if (text.Contains("FORMAT", StringComparison.Ordinal)) - { - list.Add("Ensure the property value follows the expected format."); - } - else if (text.Contains("MINIMUM", StringComparison.Ordinal) || text.Contains("MAXIMUM", StringComparison.Ordinal)) - { - list.Add("Check that numeric values are within the allowed range."); - } - else if (text.Contains("ADDITIONAL", StringComparison.Ordinal) && text.Contains("NOT ALLOWED", StringComparison.Ordinal)) - { - list.Add("Remove any extra properties that are not defined in the schema."); - } - else if (text.Contains("VALIDATION FAILED", StringComparison.Ordinal)) - { - list.Add("Review the JSON structure and ensure all properties match the expected schema format."); - } - } - return list.Distinct().ToList(); - } - private static void DrawGenericDetails(string description) { string[] array = description.Split('\n'); diff --git a/Questionable/Questionable.Windows.Setup/EssentialSettingsStep.cs b/Questionable/Questionable.Windows.Setup/EssentialSettingsStep.cs new file mode 100644 index 0000000..9890b02 --- /dev/null +++ b/Questionable/Questionable.Windows.Setup/EssentialSettingsStep.cs @@ -0,0 +1,70 @@ +using System; +using System.Linq; +using Dalamud.Bindings.ImGui; +using Dalamud.Plugin; +using LLib.GameData; +using Questionable.Windows.ConfigComponents; + +namespace Questionable.Windows.Setup; + +internal sealed class EssentialSettingsStep : ISetupStep +{ + private const float MaxComboWidth = 300f; + + private readonly GeneralConfigComponent _generalConfigComponent; + + private readonly DutyConfigComponent _dutyConfigComponent; + + private readonly IDalamudPluginInterface _pluginInterface; + + public string Title => "Essential settings"; + + public bool CanAdvance => true; + + public EssentialSettingsStep(GeneralConfigComponent generalConfigComponent, DutyConfigComponent dutyConfigComponent, IDalamudPluginInterface pluginInterface) + { + _generalConfigComponent = generalConfigComponent; + _dutyConfigComponent = dutyConfigComponent; + _pluginInterface = pluginInterface; + } + + public bool ShouldShow() + { + if (!GrandCompanyNotJoined()) + { + return AutoDutyInstalled(); + } + return true; + } + + public void Draw() + { + if (GrandCompanyNotJoined()) + { + UiThemeUtils.SectionHeader("Grand Company"); + ImGui.PushTextWrapPos(0f); + ImGui.TextColored(in UiThemeUtils.DimTextColor, "You haven't joined a Grand Company yet. Pick the one you intend to join - the MSQ stalls at \"The Company You Keep\" without it."); + ImGui.PopTextWrapPos(); + _generalConfigComponent.DrawGrandCompanySelector(MathF.Min(ImGui.GetContentRegionAvail().X, 300f)); + UiThemeUtils.SectionSpacing(); + } + if (AutoDutyInstalled()) + { + UiThemeUtils.SectionHeader("Dungeons (AutoDuty)"); + ImGui.PushTextWrapPos(0f); + ImGui.TextColored(in UiThemeUtils.DimTextColor, "AutoDuty is installed. Enable this to let Questionable clear mandatory MSQ dungeons instead of stopping at them."); + ImGui.PopTextWrapPos(); + _dutyConfigComponent.DrawAutoDutySettings(); + } + } + + private static bool GrandCompanyNotJoined() + { + return GrandCompanyHelper.GetGrandCompanyId() == 0; + } + + private bool AutoDutyInstalled() + { + return _pluginInterface.InstalledPlugins.Any((IExposedPlugin x) => x.InternalName == "AutoDuty" && x.IsLoaded); + } +} diff --git a/Questionable/Questionable.Windows.Setup/ISetupStep.cs b/Questionable/Questionable.Windows.Setup/ISetupStep.cs new file mode 100644 index 0000000..11967d5 --- /dev/null +++ b/Questionable/Questionable.Windows.Setup/ISetupStep.cs @@ -0,0 +1,12 @@ +namespace Questionable.Windows.Setup; + +internal interface ISetupStep +{ + string Title { get; } + + bool CanAdvance { get; } + + bool ShouldShow(); + + void Draw(); +} diff --git a/Questionable/Questionable.Windows.Setup/PluginsStep.cs b/Questionable/Questionable.Windows.Setup/PluginsStep.cs new file mode 100644 index 0000000..80db087 --- /dev/null +++ b/Questionable/Questionable.Windows.Setup/PluginsStep.cs @@ -0,0 +1,29 @@ +using Questionable.Windows.ConfigComponents; + +namespace Questionable.Windows.Setup; + +internal sealed class PluginsStep : ISetupStep +{ + private readonly PluginConfigComponent _pluginConfigComponent; + + private bool _allRequiredInstalled; + + public string Title => "Required plugins"; + + public bool CanAdvance => _allRequiredInstalled; + + public PluginsStep(PluginConfigComponent pluginConfigComponent) + { + _pluginConfigComponent = pluginConfigComponent; + } + + public bool ShouldShow() + { + return true; + } + + public void Draw() + { + _pluginConfigComponent.Draw(out _allRequiredInstalled); + } +} diff --git a/Questionable/Questionable.Windows.Setup/ReadyStep.cs b/Questionable/Questionable.Windows.Setup/ReadyStep.cs new file mode 100644 index 0000000..5be682d --- /dev/null +++ b/Questionable/Questionable.Windows.Setup/ReadyStep.cs @@ -0,0 +1,29 @@ +using Dalamud.Bindings.ImGui; + +namespace Questionable.Windows.Setup; + +internal sealed class ReadyStep : ISetupStep +{ + public string Title => "You're ready"; + + public bool CanAdvance => true; + + public bool ShouldShow() + { + return true; + } + + public void Draw() + { + ImGui.PushTextWrapPos(0f); + ImGui.TextUnformatted("Press Finish to complete setup. To use Questionable:"); + ImGui.PopTextWrapPos(); + ImGui.Spacing(); + ImGui.BulletText("/qst - open the quest window"); + ImGui.BulletText("/qst start - begin questing"); + ImGui.BulletText("/qst stop - stop questing"); + ImGui.BulletText("Double-tap ESC to cancel questing or movement at any time"); + ImGui.Spacing(); + ImGui.TextColored(in UiThemeUtils.DimTextColor, "Re-open this setup any time with /qst setup or from the Plugins tab in the config window."); + } +} diff --git a/Questionable/Questionable.Windows.Setup/WelcomeStep.cs b/Questionable/Questionable.Windows.Setup/WelcomeStep.cs new file mode 100644 index 0000000..e577a87 --- /dev/null +++ b/Questionable/Questionable.Windows.Setup/WelcomeStep.cs @@ -0,0 +1,24 @@ +using Dalamud.Bindings.ImGui; + +namespace Questionable.Windows.Setup; + +internal sealed class WelcomeStep : ISetupStep +{ + public string Title => "Welcome"; + + public bool CanAdvance => true; + + public bool ShouldShow() + { + return true; + } + + public void Draw() + { + ImGui.PushTextWrapPos(0f); + ImGui.TextUnformatted("Questionable automates Main Scenario and side quests - accepting and turning in quests, moving you to objectives, and handling dialogue and cutscenes."); + ImGui.Spacing(); + ImGui.TextColored(in UiThemeUtils.DimTextColor, "This is automation - keep an eye on it the first time. This short setup gets the required plugins and a couple of settings in place."); + ImGui.PopTextWrapPos(); + } +} diff --git a/Questionable/Questionable.Windows.SmartNavComponents/DataProbesPanel.cs b/Questionable/Questionable.Windows.SmartNavComponents/DataProbesPanel.cs new file mode 100644 index 0000000..6ff87b0 --- /dev/null +++ b/Questionable/Questionable.Windows.SmartNavComponents/DataProbesPanel.cs @@ -0,0 +1,862 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Linq; +using System.Numerics; +using System.Text; +using System.Text.Json; +using Dalamud.Bindings.ImGui; +using Dalamud.Interface.Utility.Raii; +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using Lumina.Data.Files; +using Lumina.Data.Parsing.Layer; +using Lumina.Excel; +using Lumina.Excel.Sheets; +using Microsoft.Extensions.Logging; +using Questionable.Data; +using SmartNav; +using SmartNav.Data; +using SmartNav.Graph; +using SmartNav.Model.Navigation; + +namespace Questionable.Windows.SmartNavComponents; + +internal sealed class DataProbesPanel +{ + private static readonly string[] PlanFiles = new string[4] { "planmap.lgb", "planevent.lgb", "planner.lgb", "planlive.lgb" }; + + private static readonly JsonSerializerOptions IndentedJson = new JsonSerializerOptions + { + WriteIndented = true + }; + + private readonly NavRouter _navRouter; + + private readonly WarpDataService _warpDataService; + + private readonly TerritoryData _territoryData; + + private readonly IDataManager _dataManager; + + private readonly IClientState _clientState; + + private readonly SmartNavDataOptions _dataOptions; + + private readonly ILogger _logger; + + private string? _multiQuestReport; + + private bool _popRangeOnlyDestinationless = true; + + private string? _popRangeReport; + + private int _lvbTerritoryId; + + private string? _lvbReport; + + private string? _arrivalExportReport; + + public DataProbesPanel(NavRouter navRouter, WarpDataService warpDataService, TerritoryData territoryData, IDataManager dataManager, IClientState clientState, SmartNavDataOptions dataOptions, ILogger logger) + { + _navRouter = navRouter; + _warpDataService = warpDataService; + _territoryData = territoryData; + _dataManager = dataManager; + _clientState = clientState; + _dataOptions = dataOptions; + _logger = logger; + } + + public void Draw() + { + DrawMultiQuestWarpAudit(); + ImGui.Separator(); + DrawPopRangeProbe(); + ImGui.Separator(); + DrawDerivedArrivalExport(); + ImGui.Separator(); + DrawLayerSetProbe(); + } + + private static void DrawReport(string id, ref string? report) + { + if (report == null) + { + return; + } + ImGui.SameLine(); + ImU8String label = new ImU8String(6, 1); + label.AppendLiteral("Copy##"); + label.AppendFormatted(id); + if (ImGui.Button(label)) + { + ImGui.SetClipboardText(report); + } + ImGui.SameLine(); + ImU8String label2 = new ImU8String(7, 1); + label2.AppendLiteral("Clear##"); + label2.AppendFormatted(id); + if (ImGui.Button(label2)) + { + report = null; + return; + } + ImU8String strId = new ImU8String(7, 1); + strId.AppendLiteral("##"); + strId.AppendFormatted(id); + strId.AppendLiteral("child"); + using ImRaii.ChildDisposable childDisposable = ImRaii.Child(strId, new Vector2(-1f, 300f), border: true); + if ((bool)childDisposable) + { + ImGui.TextUnformatted(report); + } + } + + private void DrawMultiQuestWarpAudit() + { + if (ImGui.CollapsingHeader("Multi-Quest Warp Audit (CompleteParam)###multiquestaudit", ImGuiTreeNodeFlags.DefaultOpen)) + { + ImGui.TextWrapped("Warps whose WarpCondition names 2+ quests. Verifies the CompleteParam any-of fix: conds 3/9/10 (airships, ferry) should read any-of, cond 34 all-of. 'FIX CHANGES THIS' marks warps the pre-fix all-of admission got wrong for this character."); + if (ImGui.Button("Run Audit##multiquest")) + { + _multiQuestReport = RunGuarded(BuildMultiQuestReport); + } + DrawReport("multiquest", ref _multiQuestReport); + } + } + + private string BuildMultiQuestReport() + { + StringBuilder stringBuilder = new StringBuilder(); + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + ExcelSheet excelSheet2 = _dataManager.GetExcelSheet(); + Dictionary dictionary = (from n in _navRouter.StaticGraph.Nodes.Values.OfType() + group n by n.WarpRowId).ToDictionary((IGrouping g) => g.Key, (IGrouping g) => g.Count()); + int num = 0; + StringBuilder stringBuilder2; + IFormatProvider invariantCulture; + StringBuilder.AppendInterpolatedStringHandler handler; + foreach (WarpDataService.WarpInfo item in from w in _warpDataService.Warps + group w by w.RowId into g + select g.First()) + { + if (item.RequiredQuestIds.Length < 2) + { + continue; + } + num++; + Warp? rowOrDefault = excelSheet.GetRowOrDefault(item.RowId); + uint value = rowOrDefault?.WarpCondition.RowId ?? 0; + byte? b = rowOrDefault?.WarpCondition.ValueNullable?.CompleteParam; + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder3 = stringBuilder2; + invariantCulture = CultureInfo.InvariantCulture; + IFormatProvider provider = invariantCulture; + handler = new StringBuilder.AppendInterpolatedStringHandler(12, 3, stringBuilder2, invariantCulture); + handler.AppendLiteral("warp "); + handler.AppendFormatted(item.RowId); + handler.AppendLiteral(" '"); + handler.AppendFormatted(item.Name ?? item.Question ?? "?"); + handler.AppendLiteral("' "); + handler.AppendLiteral("-> "); + handler.AppendFormatted(_territoryData.GetNameAndId(item.DestTerritoryId)); + stringBuilder3.AppendLine(provider, ref handler); + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder4 = stringBuilder2; + invariantCulture = CultureInfo.InvariantCulture; + IFormatProvider provider2 = invariantCulture; + handler = new StringBuilder.AppendInterpolatedStringHandler(47, 3, stringBuilder2, invariantCulture); + handler.AppendLiteral(" condition "); + handler.AppendFormatted(value); + handler.AppendLiteral(", CompleteParam="); + handler.AppendFormatted(b?.ToString(CultureInfo.InvariantCulture) ?? "?"); + handler.AppendLiteral(", "); + handler.AppendLiteral("RequireAllQuests="); + handler.AppendFormatted(item.RequireAllQuests); + stringBuilder4.AppendLine(provider2, ref handler); + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder5 = stringBuilder2; + invariantCulture = CultureInfo.InvariantCulture; + IFormatProvider provider3 = invariantCulture; + handler = new StringBuilder.AppendInterpolatedStringHandler(37, 4, stringBuilder2, invariantCulture); + handler.AppendLiteral(" source: territory "); + handler.AppendFormatted(item.SourceTerritoryId); + handler.AppendLiteral(" "); + handler.AppendFormatted(item.SourcePosition); + handler.AppendLiteral(", "); + handler.AppendLiteral("npc "); + handler.AppendFormatted(item.NpcDataId?.ToString(CultureInfo.InvariantCulture) ?? "-"); + handler.AppendLiteral(", derived="); + handler.AppendFormatted(item.DerivedSource); + stringBuilder5.AppendLine(provider3, ref handler); + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder6 = stringBuilder2; + invariantCulture = CultureInfo.InvariantCulture; + IFormatProvider provider4 = invariantCulture; + handler = new StringBuilder.AppendInterpolatedStringHandler(35, 1, stringBuilder2, invariantCulture); + handler.AppendLiteral(" static graph nodes for this row: "); + handler.AppendFormatted(dictionary.GetValueOrDefault(item.RowId)); + stringBuilder6.AppendLine(provider4, ref handler); + int num2 = 0; + uint[] requiredQuestIds = item.RequiredQuestIds; + foreach (uint num4 in requiredQuestIds) + { + bool flag = QuestManager.IsQuestComplete((ushort)(num4 & 0xFFFF)); + if (flag) + { + num2++; + } + string value2 = excelSheet2.GetRowOrDefault(num4)?.Name.ExtractText() ?? "?"; + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder7 = stringBuilder2; + invariantCulture = CultureInfo.InvariantCulture; + IFormatProvider provider5 = invariantCulture; + handler = new StringBuilder.AppendInterpolatedStringHandler(13, 3, stringBuilder2, invariantCulture); + handler.AppendLiteral(" quest "); + handler.AppendFormatted(num4); + handler.AppendLiteral(" '"); + handler.AppendFormatted(value2); + handler.AppendLiteral("': "); + handler.AppendFormatted(flag ? "COMPLETE" : "not complete"); + stringBuilder7.AppendLine(provider5, ref handler); + } + bool flag2 = (item.RequireAllQuests ? (num2 == item.RequiredQuestIds.Length) : (num2 > 0)); + bool flag3 = num2 == item.RequiredQuestIds.Length; + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder8 = stringBuilder2; + invariantCulture = CultureInfo.InvariantCulture; + IFormatProvider provider6 = invariantCulture; + handler = new StringBuilder.AppendInterpolatedStringHandler(34, 3, stringBuilder2, invariantCulture); + handler.AppendLiteral(" admission: now="); + handler.AppendFormatted(flag2); + handler.AppendLiteral(", pre-fix all-of="); + handler.AppendFormatted(flag3); + handler.AppendFormatted((flag2 != flag3) ? " <-- FIX CHANGES THIS" : ""); + stringBuilder8.AppendLine(provider6, ref handler); + } + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder9 = stringBuilder2; + invariantCulture = CultureInfo.InvariantCulture; + IFormatProvider provider7 = invariantCulture; + handler = new StringBuilder.AppendInterpolatedStringHandler(26, 1, stringBuilder2, invariantCulture); + handler.AppendFormatted(num); + handler.AppendLiteral(" multi-quest warps audited"); + stringBuilder9.AppendLine(provider7, ref handler); + return stringBuilder.ToString(); + } + + private void DrawPopRangeProbe() + { + if (ImGui.CollapsingHeader("Arrival PopRange Plan-File Probe###poprangeprobe", ImGuiTreeNodeFlags.DefaultOpen)) + { + ImGui.TextWrapped("For each warp, reads Warp.PopRange both ways: as a Level sheet row (SmartNav's source resolution) and as an LGB PopRange instance id in the destination territory's plan files (NoireLib's arrival claim: planevent holds most arrivals, planlive holds switched-content arrivals found nowhere else). Decides whether warp-destination seeding shrinks to 'extend the scan'. Unchecked, warps with a recorded arrival get a position delta (LGB PopRange translation vs recorded DestPosition) - the control for using LGB positions as arrivals."); + ImGui.Checkbox("Only destination-less warps (no recorded arrival)", ref _popRangeOnlyDestinationless); + if (ImGui.Button("Run Probe##poprange")) + { + _popRangeReport = RunGuarded(BuildPopRangeReport); + } + DrawReport("poprange", ref _popRangeReport); + } + } + + private string BuildPopRangeReport() + { + StringBuilder stringBuilder = new StringBuilder(); + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + ExcelSheet excelSheet2 = _dataManager.GetExcelSheet(); + Dictionary>> cache = new Dictionary>>(); + Dictionary dictionary = PlanFiles.ToDictionary((string f) => f, (string _) => 0); + List<(uint, float)> list = new List<(uint, float)>(); + int num = 0; + int num2 = 0; + int num3 = 0; + StringBuilder stringBuilder2; + IFormatProvider invariantCulture; + StringBuilder.AppendInterpolatedStringHandler handler; + foreach (WarpDataService.WarpInfo item4 in from w in _warpDataService.Warps + group w by w.RowId into g + select g.First()) + { + if (_popRangeOnlyDestinationless && item4.DestPosition.HasValue) + { + continue; + } + Warp? rowOrDefault = excelSheet.GetRowOrDefault(item4.RowId); + if (!rowOrDefault.HasValue) + { + continue; + } + num++; + uint rowId = rowOrDefault.Value.PopRange.RowId; + uint rowId2 = rowOrDefault.Value.TerritoryType.RowId; + bool flag = rowId != 0 && excelSheet2.HasRow(rowId); + if (flag) + { + num3++; + } + List list2 = new List(); + Vector3? vector = null; + foreach (KeyValuePair> item5 in ScanPopRanges(cache, rowId2)) + { + item5.Deconstruct(out var key, out var value); + string text = key; + if (value.TryGetValue(rowId, out var value2)) + { + list2.Add(text); + key = text; + dictionary[key]++; + Vector3 valueOrDefault = vector.GetValueOrDefault(); + if (!vector.HasValue) + { + valueOrDefault = value2; + vector = valueOrDefault; + } + } + } + if (list2.Count == 0) + { + num2++; + } + string value3 = ""; + if (vector.HasValue && !item4.DerivedArrival) + { + Vector3? destPosition = item4.DestPosition; + if (destPosition.HasValue) + { + Vector3 valueOrDefault2 = destPosition.GetValueOrDefault(); + float item = Vector3.Distance(vector.Value, valueOrDefault2); + list.Add((item4.RowId, item)); + value3 = ", delta=" + item.ToString("F1", CultureInfo.InvariantCulture) + "y"; + goto IL_02c9; + } + } + if (item4.DerivedArrival) + { + value3 = ", derived-arrival"; + } + goto IL_02c9; + IL_02c9: + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder3 = stringBuilder2; + invariantCulture = CultureInfo.InvariantCulture; + IFormatProvider provider = invariantCulture; + handler = new StringBuilder.AppendInterpolatedStringHandler(39, 8, stringBuilder2, invariantCulture); + handler.AppendLiteral("warp "); + handler.AppendFormatted(item4.RowId); + handler.AppendLiteral(" '"); + handler.AppendFormatted(item4.Name ?? item4.Question ?? "?"); + handler.AppendLiteral("' popId="); + handler.AppendFormatted(rowId); + handler.AppendLiteral(" "); + handler.AppendLiteral("dest="); + handler.AppendFormatted(_territoryData.GetNameAndId(rowId2)); + handler.AppendLiteral(": "); + handler.AppendLiteral("level-row="); + handler.AppendFormatted(flag); + handler.AppendLiteral(", lgb="); + handler.AppendFormatted((list2.Count > 0) ? string.Join("+", list2) : "NOT FOUND"); + handler.AppendFormatted(vector.HasValue ? $" pos={vector.Value}" : ""); + handler.AppendFormatted(value3); + stringBuilder3.AppendLine(provider, ref handler); + } + stringBuilder.AppendLine(); + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder4 = stringBuilder2; + invariantCulture = CultureInfo.InvariantCulture; + IFormatProvider provider2 = invariantCulture; + handler = new StringBuilder.AppendInterpolatedStringHandler(65, 3, stringBuilder2, invariantCulture); + handler.AppendFormatted(num); + handler.AppendLiteral(" warps probed, "); + handler.AppendFormatted(num3); + handler.AppendLiteral(" with a Level sheet row, "); + handler.AppendFormatted(num2); + handler.AppendLiteral(" with no LGB PopRange hit"); + stringBuilder4.AppendLine(provider2, ref handler); + string[] planFiles = PlanFiles; + foreach (string text2 in planFiles) + { + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder5 = stringBuilder2; + invariantCulture = CultureInfo.InvariantCulture; + IFormatProvider provider3 = invariantCulture; + handler = new StringBuilder.AppendInterpolatedStringHandler(17, 2, stringBuilder2, invariantCulture); + handler.AppendLiteral(" "); + handler.AppendFormatted(text2); + handler.AppendLiteral(": "); + handler.AppendFormatted(dictionary[text2]); + handler.AppendLiteral(" arrival hits"); + stringBuilder5.AppendLine(provider3, ref handler); + } + if (list.Count > 0) + { + List<(uint, float)> list3 = list.OrderBy<(uint, float), float>(((uint RowId, float Delta) d) => d.Delta).ToList(); + float item2 = list3[list3.Count / 2].Item2; + float item3 = list3[Math.Min(list3.Count - 1, (int)((double)list3.Count * 0.9))].Item2; + List<(uint, float)> list4 = list3.Where<(uint, float)>(((uint RowId, float Delta) d) => d.Delta > 20f).ToList(); + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder6 = stringBuilder2; + invariantCulture = CultureInfo.InvariantCulture; + IFormatProvider provider4 = invariantCulture; + handler = new StringBuilder.AppendInterpolatedStringHandler(112, 5, stringBuilder2, invariantCulture); + handler.AppendLiteral("recorded-arrival delta (LGB PopRange pos vs recorded DestPosition): "); + handler.AppendFormatted(list3.Count); + handler.AppendLiteral(" compared, "); + handler.AppendLiteral("median "); + handler.AppendFormatted(item2, "F1"); + handler.AppendLiteral("y, p90 "); + handler.AppendFormatted(item3, "F1"); + handler.AppendLiteral("y, max "); + handler.AppendFormatted(list3[list3.Count - 1].Item2, "F1"); + handler.AppendLiteral("y, "); + handler.AppendFormatted(list4.Count); + handler.AppendLiteral(" over 20y"); + stringBuilder6.AppendLine(provider4, ref handler); + if (list4.Count > 0) + { + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder7 = stringBuilder2; + invariantCulture = CultureInfo.InvariantCulture; + IFormatProvider provider5 = invariantCulture; + handler = new StringBuilder.AppendInterpolatedStringHandler(17, 1, stringBuilder2, invariantCulture); + handler.AppendLiteral(" >20y outliers: "); + handler.AppendFormatted(string.Join(", ", list4.Select<(uint, float), string>(((uint RowId, float Delta) d) => $"{d.RowId} ({d.Delta.ToString("F1", CultureInfo.InvariantCulture)}y)"))); + stringBuilder7.AppendLine(provider5, ref handler); + } + } + return stringBuilder.ToString(); + } + + private Dictionary> ScanPopRanges(Dictionary>> cache, uint territoryId) + { + if (cache.TryGetValue(territoryId, out Dictionary> value)) + { + return value; + } + Dictionary> dictionary = (cache[territoryId] = new Dictionary>()); + string text = _dataManager.GetExcelSheet().GetRowOrDefault(territoryId)?.Bg.ExtractText(); + if (string.IsNullOrEmpty(text)) + { + return dictionary; + } + int num = text.IndexOf("/level/", StringComparison.Ordinal); + if (num < 0) + { + return dictionary; + } + string[] planFiles = PlanFiles; + foreach (string text2 in planFiles) + { + Dictionary dictionary3 = (dictionary[text2] = new Dictionary()); + string text3 = "bg/" + text.Substring(0, num + 1) + "level/" + text2; + try + { + LgbFile file = _dataManager.GetFile(text3); + if (file == null) + { + continue; + } + LayerCommon.Layer[] layers = file.Layers; + for (int j = 0; j < layers.Length; j++) + { + LayerCommon.InstanceObject[] instanceObjects = layers[j].InstanceObjects; + for (int k = 0; k < instanceObjects.Length; k++) + { + LayerCommon.InstanceObject instanceObject = instanceObjects[k]; + if (instanceObject.AssetType == LayerEntryType.PopRange) + { + dictionary3[instanceObject.InstanceId] = new Vector3(instanceObject.Transform.Translation.X, instanceObject.Transform.Translation.Y, instanceObject.Transform.Translation.Z); + } + } + } + } + catch (Exception exception) + { + _logger.LogTrace(exception, "Failed to scan {Path}", text3); + } + } + return dictionary; + } + + private void DrawDerivedArrivalExport() + { + if (!ImGui.CollapsingHeader("Derived Arrival Export (authoring)###arrivalexport")) + { + return; + } + ImGui.TextWrapped("Scans every Warp row's destination territory for its arrival PopRange and writes derived-arrivals.json into the SmartNav.Data checkout (DevSourceDirectory) for bundling - runtime never scans LGB itself. Rerun after game patches. The game FREEZES for the scan (~1-2 min on a Debug build) - expected, wait it out."); + if (_dataOptions.DevSourceDirectory == null) + { + ImGui.TextDisabled("DevSourceDirectory not set - available in DEBUG builds only."); + return; + } + if (ImGui.Button("Scan + Export##arrivalexportrun")) + { + _arrivalExportReport = RunGuarded(BuildDerivedArrivalExport); + } + DrawReport("arrivalexport", ref _arrivalExportReport); + } + + private string BuildDerivedArrivalExport() + { + StringBuilder stringBuilder = new StringBuilder(); + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + Dictionary>> cache = new Dictionary>>(); + Dictionary dictionary = PlanFiles.ToDictionary((string f) => f, (string _) => 0); + Dictionary dictionary2 = new Dictionary(); + List list = new List(); + int num = 0; + foreach (Warp item in excelSheet.Where((Warp x) => x.RowId != 0)) + { + uint rowId = item.PopRange.RowId; + ushort num2 = (ushort)item.TerritoryType.RowId; + if (rowId == 0 || num2 == 0) + { + continue; + } + num++; + Vector3? vector = null; + foreach (KeyValuePair> item2 in ScanPopRanges(cache, num2)) + { + item2.Deconstruct(out var key, out var value); + string text = key; + if (value.TryGetValue(rowId, out var value2)) + { + key = text; + dictionary[key]++; + Vector3 valueOrDefault = vector.GetValueOrDefault(); + if (!vector.HasValue) + { + valueOrDefault = value2; + vector = valueOrDefault; + } + } + } + if (vector.HasValue) + { + dictionary2[item.RowId] = new DerivedArrivalEntry + { + PopRangeId = rowId, + TerritoryId = num2, + X = vector.Value.X, + Y = vector.Value.Y, + Z = vector.Value.Z + }; + continue; + } + string value3 = item.Name.ExtractText(); + if (string.IsNullOrEmpty(value3)) + { + value3 = item.Question.ExtractText(); + } + list.Add($" {item.RowId} '{value3}' popId={rowId} dest={_territoryData.GetNameAndId(num2)}"); + } + DerivedArrivalFile derivedArrivalFile = new DerivedArrivalFile + { + GameVersion = _dataOptions.GameVersion, + Arrivals = dictionary2 + }; + string text2 = Path.Combine(_dataOptions.DevSourceDirectory.FullName, "derived-arrivals.json"); + File.WriteAllText(text2, JsonSerializer.Serialize(derivedArrivalFile, IndentedJson)); + StringBuilder stringBuilder2 = stringBuilder; + StringBuilder stringBuilder3 = stringBuilder2; + IFormatProvider invariantCulture = CultureInfo.InvariantCulture; + IFormatProvider provider = invariantCulture; + StringBuilder.AppendInterpolatedStringHandler handler = new StringBuilder.AppendInterpolatedStringHandler(57, 2, stringBuilder2, invariantCulture); + handler.AppendFormatted(num); + handler.AppendLiteral(" warp rows with PopRange + destination, "); + handler.AppendFormatted(dictionary2.Count); + handler.AppendLiteral(" arrivals derived"); + stringBuilder3.AppendLine(provider, ref handler); + string[] planFiles = PlanFiles; + foreach (string text3 in planFiles) + { + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder4 = stringBuilder2; + invariantCulture = CultureInfo.InvariantCulture; + IFormatProvider provider2 = invariantCulture; + handler = new StringBuilder.AppendInterpolatedStringHandler(9, 2, stringBuilder2, invariantCulture); + handler.AppendLiteral(" "); + handler.AppendFormatted(text3); + handler.AppendLiteral(": "); + handler.AppendFormatted(dictionary[text3]); + handler.AppendLiteral(" hits"); + stringBuilder4.AppendLine(provider2, ref handler); + } + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder5 = stringBuilder2; + invariantCulture = CultureInfo.InvariantCulture; + IFormatProvider provider3 = invariantCulture; + handler = new StringBuilder.AppendInterpolatedStringHandler(98, 1, stringBuilder2, invariantCulture); + handler.AppendFormatted(list.Count); + handler.AppendLiteral(" unresolved (no plan file holds the pop id; Level-sheet fallback may still cover some at runtime):"); + stringBuilder5.AppendLine(provider3, ref handler); + foreach (string item3 in list) + { + stringBuilder.AppendLine(item3); + } + stringBuilder.AppendLine(); + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder6 = stringBuilder2; + invariantCulture = CultureInfo.InvariantCulture; + IFormatProvider provider4 = invariantCulture; + handler = new StringBuilder.AppendInterpolatedStringHandler(25, 2, stringBuilder2, invariantCulture); + handler.AppendLiteral("written: "); + handler.AppendFormatted(text2); + handler.AppendLiteral(" (game version "); + handler.AppendFormatted(derivedArrivalFile.GameVersion ?? "?"); + handler.AppendLiteral(")"); + stringBuilder6.AppendLine(provider4, ref handler); + stringBuilder.AppendLine("DEBUG builds read this file directly via DevSourceDirectory - toggle the plugin to see the new arrivals; commit it in SmartNav to ship."); + return stringBuilder.ToString(); + } + + private void DrawLayerSetProbe() + { + if (!ImGui.CollapsingHeader("Layer-Set Attribution Probe (.lvb)###lvbprobe", ImGuiTreeNodeFlags.DefaultOpen)) + { + return; + } + ImGui.TextWrapped("Parses the territory's .lvb layer-set table per the offsets claimed in NoireLib's GameData docs (0x1C-byte records, TerritoryType row at +0x0C) and each plan file's per-layer layer-set references. Verify against a known shared-level pair, e.g. Mist 339 vs s1h1_test 136: attributed territory ids must all appear in the 'territories sharing this Bg' line."); + ImGui.SetNextItemWidth(120f); + ImGui.InputInt("Territory id (0 = current)##lvbterritory", ref _lvbTerritoryId); + if (ImGui.Button("Parse##lvb")) + { + uint territoryId = ((_lvbTerritoryId > 0) ? ((uint)_lvbTerritoryId) : _clientState.TerritoryType); + _lvbReport = RunGuarded(() => BuildLayerSetReport(territoryId)); + } + DrawReport("lvb", ref _lvbReport); + } + + private string BuildLayerSetReport(uint territoryId) + { + StringBuilder stringBuilder = new StringBuilder(); + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + string bg = excelSheet.GetRowOrDefault(territoryId)?.Bg.ExtractText(); + if (string.IsNullOrEmpty(bg)) + { + return $"territory {territoryId} has no Bg path"; + } + int num = bg.IndexOf("/level/", StringComparison.Ordinal); + if (num < 0) + { + return $"territory {territoryId} Bg '{bg}' has no /level/ segment"; + } + string text = "bg/" + bg.Substring(0, num + 1) + "level/"; + string text2 = bg.Substring(bg.LastIndexOf('/') + 1); + StringBuilder stringBuilder2 = stringBuilder; + StringBuilder stringBuilder3 = stringBuilder2; + IFormatProvider invariantCulture = CultureInfo.InvariantCulture; + IFormatProvider provider = invariantCulture; + StringBuilder.AppendInterpolatedStringHandler handler = new StringBuilder.AppendInterpolatedStringHandler(17, 2, stringBuilder2, invariantCulture); + handler.AppendLiteral("territory "); + handler.AppendFormatted(_territoryData.GetNameAndId(territoryId)); + handler.AppendLiteral(", Bg '"); + handler.AppendFormatted(bg); + handler.AppendLiteral("'"); + stringBuilder3.AppendLine(provider, ref handler); + List list = (from t in excelSheet + where t.RowId != 0 && t.Bg.ExtractText() == bg + select t.RowId).ToList(); + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder4 = stringBuilder2; + invariantCulture = CultureInfo.InvariantCulture; + IFormatProvider provider2 = invariantCulture; + handler = new StringBuilder.AppendInterpolatedStringHandler(29, 1, stringBuilder2, invariantCulture); + handler.AppendLiteral("territories sharing this Bg: "); + handler.AppendFormatted(string.Join(", ", list)); + stringBuilder4.AppendLine(provider2, ref handler); + List<(uint SetId, uint TerritoryId)> list2 = ParseLvbLayerSets(ReadFileBytes(text + text2 + ".lvb"), stringBuilder); + Dictionary> owners = new Dictionary>(); + foreach (var item3 in list2) + { + uint item = item3.SetId; + uint item2 = item3.TerritoryId; + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder5 = stringBuilder2; + invariantCulture = CultureInfo.InvariantCulture; + IFormatProvider provider3 = invariantCulture; + handler = new StringBuilder.AppendInterpolatedStringHandler(26, 3, stringBuilder2, invariantCulture); + handler.AppendLiteral(" layer set "); + handler.AppendFormatted(item); + handler.AppendLiteral(" -> territory "); + handler.AppendFormatted(item2); + handler.AppendFormatted(list.Contains(item2) ? "" : " <-- NOT IN SHARING SET (offsets suspect)"); + stringBuilder5.AppendLine(provider3, ref handler); + if (item2 != 0) + { + if (!owners.TryGetValue(item, out List value)) + { + value = (owners[item] = new List()); + } + value.Add(item2); + } + } + string[] planFiles = PlanFiles; + foreach (string text3 in planFiles) + { + List> list4 = ParseLgbLayerSetReferences(ReadFileBytes(text + text3)); + if (list4.Count == 0) + { + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder6 = stringBuilder2; + invariantCulture = CultureInfo.InvariantCulture; + IFormatProvider provider4 = invariantCulture; + handler = new StringBuilder.AppendInterpolatedStringHandler(18, 1, stringBuilder2, invariantCulture); + handler.AppendFormatted(text3); + handler.AppendLiteral(": no layers parsed"); + stringBuilder6.AppendLine(provider4, ref handler); + continue; + } + int value2 = list4.Count((List refs) => refs.Count > 0); + List value3; + List list5 = (from setId in list4.SelectMany((List refs) => refs).Distinct() + select (!owners.TryGetValue(setId, out value3)) ? $"set {setId} unknown" : string.Join("/", value3)).Distinct().ToList(); + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder7 = stringBuilder2; + invariantCulture = CultureInfo.InvariantCulture; + IFormatProvider provider5 = invariantCulture; + handler = new StringBuilder.AppendInterpolatedStringHandler(48, 4, stringBuilder2, invariantCulture); + handler.AppendFormatted(text3); + handler.AppendLiteral(": "); + handler.AppendFormatted(list4.Count); + handler.AppendLiteral(" layers, "); + handler.AppendFormatted(value2); + handler.AppendLiteral(" with layer-set refs; "); + handler.AppendLiteral("attributed to: "); + handler.AppendFormatted((list5.Count > 0) ? string.Join(", ", list5) : "-"); + stringBuilder7.AppendLine(provider5, ref handler); + } + return stringBuilder.ToString(); + } + + private byte[]? ReadFileBytes(string path) + { + try + { + return _dataManager.GetFile(path)?.Data; + } + catch (Exception exception) + { + _logger.LogTrace(exception, "Failed to read {Path}", path); + return null; + } + } + + private static List<(uint SetId, uint TerritoryId)> ParseLvbLayerSets(byte[]? data, StringBuilder sb) + { + List<(uint, uint)> list = new List<(uint, uint)>(); + if (data == null || data.Length < 36 || !HasMagic(data, 0, "LVB1") || !HasMagic(data, 12, "SCN1")) + { + sb.AppendLine(".lvb: missing or not LVB1/SCN1"); + return list; + } + int num = 20 + BitConverter.ToInt32(data, 32); + if (num < 0 || num + 12 > data.Length) + { + sb.AppendLine(".lvb: layer-set folder offset out of range"); + return list; + } + int num2 = BitConverter.ToInt32(data, num + 4); + int num3 = num + 12; + bool flag = ((num2 < 0 || num2 > 4096) ? true : false); + StringBuilder stringBuilder; + IFormatProvider invariantCulture; + StringBuilder.AppendInterpolatedStringHandler handler; + if (flag || num3 + num2 * 28 > data.Length) + { + stringBuilder = sb; + StringBuilder stringBuilder2 = stringBuilder; + invariantCulture = CultureInfo.InvariantCulture; + IFormatProvider provider = invariantCulture; + handler = new StringBuilder.AppendInterpolatedStringHandler(34, 1, stringBuilder, invariantCulture); + handler.AppendLiteral(".lvb: implausible layer-set count "); + handler.AppendFormatted(num2); + stringBuilder2.AppendLine(provider, ref handler); + return list; + } + for (int i = 0; i < num2; i++) + { + int num4 = num3 + i * 28; + list.Add((BitConverter.ToUInt32(data, num4), BitConverter.ToUInt32(data, num4 + 12))); + } + stringBuilder = sb; + StringBuilder stringBuilder3 = stringBuilder; + invariantCulture = CultureInfo.InvariantCulture; + IFormatProvider provider2 = invariantCulture; + handler = new StringBuilder.AppendInterpolatedStringHandler(17, 1, stringBuilder, invariantCulture); + handler.AppendLiteral(".lvb: "); + handler.AppendFormatted(num2); + handler.AppendLiteral(" layer sets"); + stringBuilder3.AppendLine(provider2, ref handler); + return list; + } + + private static List> ParseLgbLayerSetReferences(byte[]? data) + { + List> list = new List>(); + if (data == null || data.Length < 36 || !HasMagic(data, 0, "LGB1") || !HasMagic(data, 12, "LGP1")) + { + return list; + } + int num = 20 + BitConverter.ToInt32(data, 28); + int num2 = BitConverter.ToInt32(data, 32); + bool flag = ((num2 < 0 || num2 > 100000) ? true : false); + if (flag || num < 0 || num + num2 * 4 > data.Length) + { + return list; + } + for (int i = 0; i < num2; i++) + { + List list2 = new List(); + list.Add(list2); + int num3 = num + BitConverter.ToInt32(data, num + i * 4); + if (num3 < 0 || num3 + 36 > data.Length) + { + continue; + } + int num4 = num3 + BitConverter.ToInt32(data, num3 + 20); + if (num4 <= num3 || num4 + 12 > data.Length) + { + continue; + } + int num5 = num4 + BitConverter.ToInt32(data, num4 + 4); + int num6 = BitConverter.ToInt32(data, num4 + 8); + flag = ((num6 < 1 || num6 > 4096) ? true : false); + if (!flag && num5 >= 0 && num5 + num6 * 4 <= data.Length) + { + for (int j = 0; j < num6; j++) + { + list2.Add(BitConverter.ToUInt32(data, num5 + j * 4)); + } + } + } + return list; + } + + private static bool HasMagic(byte[] data, int at, string magic) + { + for (int i = 0; i < magic.Length; i++) + { + if (data[at + i] != (byte)magic[i]) + { + return false; + } + } + return true; + } + + private string RunGuarded(Func probe) + { + try + { + return probe(); + } + catch (Exception ex) + { + _logger.LogError(ex, "Data probe failed"); + return $"probe failed: {ex}"; + } + } +} diff --git a/Questionable/Questionable.Windows.SmartNavComponents/SubRegionMapPanel.cs b/Questionable/Questionable.Windows.SmartNavComponents/SubRegionMapPanel.cs new file mode 100644 index 0000000..9b889d9 --- /dev/null +++ b/Questionable/Questionable.Windows.SmartNavComponents/SubRegionMapPanel.cs @@ -0,0 +1,269 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Numerics; +using System.Text.Json; +using Dalamud.Bindings.ImGui; +using Dalamud.Interface.Utility.Raii; +using Dalamud.Plugin.Services; +using LLib.ImGui; +using Microsoft.Extensions.Logging; +using SmartNav.Data; +using SmartNav.Model.Navigation; + +namespace Questionable.Windows.SmartNavComponents; + +internal sealed class SubRegionMapPanel : IEditablePolygonSet +{ + internal sealed class EditableSubRegion + { + public string Id = string.Empty; + + public string Comment = string.Empty; + + public float MinYEdit; + + public float MaxYEdit; + + public bool HasMinY; + + public bool HasMaxY; + + public List Vertices = new List(); + } + + private static readonly uint[] SubRegionColors = new uint[8] { 1610612991u, 1610678016u, 1627332640u, 1610678271u, 1627324671u, 1627389696u, 1627357184u, 1619001599u }; + + private readonly MapTextureService _mapService; + + private readonly MapPolygonEditor _editor; + + private readonly ZoneSubRegionService _zoneSubRegionService; + + private readonly IClientState _clientState; + + private readonly IObjectTable _objectTable; + + private uint _loadedTerritory; + + private readonly List _subRegions = new List(); + + public int SelectedIndex + { + get + { + return _editor.SelectedIndex; + } + set + { + _editor.SelectedIndex = value; + } + } + + public bool IsDrawing => _editor.IsDrawing; + + public IReadOnlyList SubRegions => _subRegions; + + int IEditablePolygonSet.PolygonCount => _subRegions.Count; + + public SubRegionMapPanel(ITextureProvider textureProvider, IDataManager dataManager, ZoneSubRegionService zoneSubRegionService, IClientState clientState, IObjectTable objectTable, ILoggerFactory loggerFactory) + { + _mapService = new MapTextureService(textureProvider, dataManager, loggerFactory.CreateLogger()); + _editor = new MapPolygonEditor(_mapService); + _zoneSubRegionService = zoneSubRegionService; + _clientState = clientState; + _objectTable = objectTable; + } + + public void Draw(JsonSerializerOptions jsonOptions) + { + uint territoryType = _clientState.TerritoryType; + EnsureLoaded(territoryType); + _mapService.LoadForTerritory(territoryType); + DrawToolbar(jsonOptions); + Vector3? playerPosition = _objectTable.LocalPlayer?.Position; + Vector2 contentRegionAvail = ImGui.GetContentRegionAvail(); + _editor.Draw(this, playerPosition, new Vector2(contentRegionAvail.X, 500f)); + } + + private void DrawToolbar(JsonSerializerOptions jsonOptions) + { + if (_editor.IsDrawing) + { + ImGui.TextColored(new Vector4(0.2f, 1f, 0.2f, 1f), "Drawing polygon... Click to add vertices. Close: click first vertex / Enter / double-click. Escape cancels."); + } + else + { + if (ImGui.Button("Draw Polygon")) + { + _editor.StartDrawing(); + } + ImGui.SameLine(); + if (ImGui.Button("Reset View")) + { + _editor.ResetView(); + } + if (_editor.SelectedIndex >= 0 && _editor.SelectedIndex < _subRegions.Count) + { + ImGui.SameLine(); + if (ImGui.Button("Delete Selected")) + { + _subRegions.RemoveAt(_editor.SelectedIndex); + _editor.SelectedIndex = -1; + } + } + ImGui.SameLine(); + if (ImGui.Button("Copy All JSON")) + { + TerritorySubRegions value = BuildTerritorySubRegions(); + ImGui.SetClipboardText(JsonSerializer.Serialize(new Dictionary { [_clientState.TerritoryType.ToString(CultureInfo.InvariantCulture)] = value }, jsonOptions)); + } + } + if (_editor.SelectedIndex >= 0 && _editor.SelectedIndex < _subRegions.Count) + { + EditableSubRegion editableSubRegion = _subRegions[_editor.SelectedIndex]; + ImGui.SetNextItemWidth(120f); + ImGui.InputText("ID##mapSr", ref editableSubRegion.Id, 64); + ImGui.SameLine(); + ImGui.SetNextItemWidth(200f); + ImGui.InputText("Comment##mapSr", ref editableSubRegion.Comment, 128); + ImGui.Checkbox("MinY##mapSrCb", ref editableSubRegion.HasMinY); + ImGui.SameLine(); + using (ImRaii.Disabled(!editableSubRegion.HasMinY)) + { + ImGui.SetNextItemWidth(80f); + ImGui.InputFloat("##minY", ref editableSubRegion.MinYEdit, 0f, 0f, "%.1f"); + } + ImGui.SameLine(); + ImGui.Checkbox("MaxY##mapSrCb", ref editableSubRegion.HasMaxY); + ImGui.SameLine(); + using (ImRaii.Disabled(!editableSubRegion.HasMaxY)) + { + ImGui.SetNextItemWidth(80f); + ImGui.InputFloat("##maxY", ref editableSubRegion.MaxYEdit, 0f, 0f, "%.1f"); + } + } + } + + private void EnsureLoaded(uint territory) + { + if (territory == _loadedTerritory) + { + return; + } + _loadedTerritory = territory; + _subRegions.Clear(); + _editor.SelectedIndex = -1; + if (!_zoneSubRegionService.HasSubRegions(territory)) + { + return; + } + IReadOnlyList subRegions = _zoneSubRegionService.GetSubRegions(territory); + if (subRegions == null) + { + return; + } + foreach (SubRegionDefinition item in subRegions) + { + List list = new List(item.Vertices.Count); + foreach (SubRegionVertex vertex in item.Vertices) + { + list.Add(new Vector2(vertex.X, vertex.Z)); + } + _subRegions.Add(new EditableSubRegion + { + Id = item.Id, + Comment = (item.Comment ?? string.Empty), + MinYEdit = item.MinY.GetValueOrDefault(), + MaxYEdit = item.MaxY.GetValueOrDefault(), + HasMinY = item.MinY.HasValue, + HasMaxY = item.MaxY.HasValue, + Vertices = list + }); + } + } + + public TerritorySubRegions BuildTerritorySubRegions() + { + TerritorySubRegions territorySubRegions = new TerritorySubRegions(); + foreach (EditableSubRegion subRegion in _subRegions) + { + SubRegionDefinition subRegionDefinition = new SubRegionDefinition + { + Id = subRegion.Id, + Comment = (string.IsNullOrEmpty(subRegion.Comment) ? null : subRegion.Comment), + MinY = (subRegion.HasMinY ? new float?(subRegion.MinYEdit) : ((float?)null)), + MaxY = (subRegion.HasMaxY ? new float?(subRegion.MaxYEdit) : ((float?)null)) + }; + foreach (Vector2 vertex in subRegion.Vertices) + { + subRegionDefinition.Vertices.Add(new SubRegionVertex + { + X = MathF.Round(vertex.X, 1), + Z = MathF.Round(vertex.Y, 1) + }); + } + territorySubRegions.SubRegions.Add(subRegionDefinition); + } + return territorySubRegions; + } + + public void ImportVertices(IReadOnlyList vertices, string id, string comment) + { + List list = new List(vertices.Count); + foreach (SubRegionVertex vertex in vertices) + { + list.Add(new Vector2(vertex.X, vertex.Z)); + } + _subRegions.Add(new EditableSubRegion + { + Id = id, + Comment = comment, + Vertices = list + }); + _editor.SelectedIndex = _subRegions.Count - 1; + } + + public List ExportSelectedVertices() + { + if (_editor.SelectedIndex < 0 || _editor.SelectedIndex >= _subRegions.Count) + { + return new List(); + } + EditableSubRegion editableSubRegion = _subRegions[_editor.SelectedIndex]; + List list = new List(editableSubRegion.Vertices.Count); + foreach (Vector2 vertex in editableSubRegion.Vertices) + { + list.Add(new SubRegionVertex + { + X = MathF.Round(vertex.X, 1), + Z = MathF.Round(vertex.Y, 1) + }); + } + return list; + } + + IList IEditablePolygonSet.GetVertices(int polygonIndex) + { + return _subRegions[polygonIndex].Vertices; + } + + uint IEditablePolygonSet.GetColor(int polygonIndex) + { + return SubRegionColors[polygonIndex % SubRegionColors.Length]; + } + + string IEditablePolygonSet.GetLabel(int polygonIndex) + { + return _subRegions[polygonIndex].Id; + } + + void IEditablePolygonSet.AddPolygon(IList vertices) + { + _subRegions.Add(new EditableSubRegion + { + Id = $"region_{_subRegions.Count + 1}", + Vertices = new List(vertices) + }); + } +} diff --git a/Questionable/Questionable.Windows.Utils/CycleSelectionUi.cs b/Questionable/Questionable.Windows.Utils/CycleSelectionUi.cs new file mode 100644 index 0000000..7c7256c --- /dev/null +++ b/Questionable/Questionable.Windows.Utils/CycleSelectionUi.cs @@ -0,0 +1,51 @@ +using System; +using System.Numerics; +using Dalamud.Bindings.ImGui; +using Dalamud.Interface; +using Dalamud.Interface.Utility.Raii; + +namespace Questionable.Windows.Utils; + +internal static class CycleSelectionUi +{ + private const float Rounding = 6f; + + public static bool DrawRunningBanner(string text, Vector4 color, FontAwesomeIcon icon) + { + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); + float fontSize = ImGui.GetFontSize(); + string text2 = icon.ToIconString(); + float x = ImGui.GetContentRegionAvail().X; + Vector2 vector; + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + vector = ImGui.CalcTextSize(text2); + } + float frameHeight = ImGui.GetFrameHeight(); + float num = MathF.Max(MathF.Max(vector.Y, ImGui.GetTextLineHeight()), frameHeight); + float num2 = 12f + num + 12f; + Vector2 pMin = cursorScreenPos; + Vector2 pMax = cursorScreenPos + new Vector2(x, num2); + float w = 0.08f + 0.04f * (0.5f + 0.5f * MathF.Sin((float)ImGui.GetTime() * 2f)); + Vector4 vector2 = color; + vector2.W = w; + Vector4 input = vector2; + vector2 = color; + vector2.W = 0.25f; + Vector4 input2 = vector2; + windowDrawList.AddRectFilled(pMin, pMax, ImGui.ColorConvertFloat4ToU32(input), 6f); + windowDrawList.AddRect(pMin, pMax, ImGui.ColorConvertFloat4ToU32(input2), 6f, ImDrawFlags.None, 1f); + windowDrawList.AddText(pos: new Vector2(pMin.X + 12f, pMin.Y + 12f + (num - vector.Y) / 2f), font: UiBuilder.IconFont, fontSize: fontSize, col: ImGui.ColorConvertFloat4ToU32(color), text: text2); + float num3 = pMin.X + 12f + vector.X + 6f; + float num4 = pMax.X - 12f - frameHeight; + Vector2 pos = new Vector2(num3, pMin.Y + 12f + (num - ImGui.GetTextLineHeight()) / 2f); + windowDrawList.AddText(pos, ImGui.ColorConvertFloat4ToU32(color), UiThemeUtils.TruncateToWidth(text, num4 - ImGui.GetStyle().ItemSpacing.X - num3)); + ImGui.Dummy(new Vector2(x, num2)); + Vector2 cursorPos = ImGui.GetCursorPos(); + ImGui.SetCursorScreenPos(new Vector2(num4, pMin.Y + (num2 - frameHeight) / 2f)); + bool result = UiThemeUtils.IconButton(FontAwesomeIcon.Stop, frameHeight); + ImGui.SetCursorPos(cursorPos); + return result; + } +} diff --git a/Questionable/Questionable.Windows.Utils/QuestSelector.cs b/Questionable/Questionable.Windows.Utils/QuestSelector.cs index 7ee6763..690c738 100644 --- a/Questionable/Questionable.Windows.Utils/QuestSelector.cs +++ b/Questionable/Questionable.Windows.Utils/QuestSelector.cs @@ -22,13 +22,13 @@ internal sealed class QuestSelector(QuestRegistry questRegistry) public Action? QuestSelected { private get; set; } - public void DrawSelection() + public void DrawSelection(float width = -1f) { if (QuestSelected == null) { throw new InvalidOperationException("QuestSelected action must be set before drawing the quest selector."); } - ImGui.SetNextItemWidth(ImGui.GetContentRegionAvail().X); + ImGui.SetNextItemWidth(width); if (ImGui.BeginCombo("##QuestSelection", "Add Quest...", ImGuiComboFlags.HeightLarge)) { if (!_comboJustOpened) @@ -39,24 +39,20 @@ internal sealed class QuestSelector(QuestRegistry questRegistry) ImGui.SetNextItemWidth(-1f); bool flag = ImGui.InputTextWithHint("##QuestSearch", "Search quests...", ref _searchString, 256, ImGuiInputTextFlags.AutoSelectAll | ImGuiInputTextFlags.EnterReturnsTrue); ImGui.Separator(); - IEnumerable enumerable; + IEnumerable source; if (!string.IsNullOrEmpty(_searchString)) { - enumerable = Enumerable.Where(predicate: (!ElementId.TryFromString(_searchString, out ElementId elementId)) ? new Func(SearchPredicate) : ((Func)((Quest x) => SearchPredicate(x) || x.Id == elementId)), source: questRegistry.AllQuests.Where(delegate(Quest x) - { - ElementId id = x.Id; - return !(id is SatisfactionSupplyNpcId) && !(id is AlliedSocietyDailyId); - })); + source = Enumerable.Where(predicate: (!ElementId.TryFromString(_searchString, out ElementId elementId)) ? new Func(SearchPredicate) : ((Func)((Quest x) => SearchPredicate(x) || x.Id == elementId)), source: questRegistry.AllQuests); } else { - enumerable = questRegistry.AllQuests.Where((Quest x) => DefaultPredicate?.Invoke(x) ?? true); + source = questRegistry.AllQuests.Where((Quest x) => DefaultPredicate?.Invoke(x) ?? true); } using (ImRaii.ChildDisposable childDisposable = ImRaii.Child("##QuestScrollArea", new Vector2(0f, 300f), border: false)) { if ((bool)childDisposable) { - foreach (Quest item in enumerable) + foreach (Quest item in source.ToList()) { if ((SuggestionPredicate == null || SuggestionPredicate(item)) && (ImGui.Selectable(item.Info.Name) || flag)) { diff --git a/Questionable/Questionable.Windows.Utils/ThrottledClipboard.cs b/Questionable/Questionable.Windows.Utils/ThrottledClipboard.cs new file mode 100644 index 0000000..2a018fd --- /dev/null +++ b/Questionable/Questionable.Windows.Utils/ThrottledClipboard.cs @@ -0,0 +1,31 @@ +using System; +using Dalamud.Bindings.ImGui; + +namespace Questionable.Windows.Utils; + +internal static class ThrottledClipboard +{ + private const long RefreshIntervalMs = 500L; + + private static long _nextReadAtMs; + + private static string _cachedText = string.Empty; + + public static string GetText() + { + long tickCount = Environment.TickCount64; + if (tickCount >= _nextReadAtMs) + { + _nextReadAtMs = tickCount + 500; + try + { + _cachedText = ImGui.GetClipboardText()?.Trim() ?? string.Empty; + } + catch (Exception) + { + _cachedText = string.Empty; + } + } + return _cachedText; + } +} diff --git a/Questionable/Questionable.Windows/ChangelogWindow.cs b/Questionable/Questionable.Windows/ChangelogWindow.cs index 7653583..2f07990 100644 --- a/Questionable/Questionable.Windows/ChangelogWindow.cs +++ b/Questionable/Questionable.Windows/ChangelogWindow.cs @@ -2,17 +2,17 @@ using System.Collections.Generic; using System.Linq; using System.Numerics; using Dalamud.Bindings.ImGui; +using Dalamud.Interface; using Dalamud.Interface.Utility.Raii; using Dalamud.Interface.Windowing; using Dalamud.Plugin; -using LLib.ImGui; using Questionable.Data; using Questionable.Model.Changelog; using Questionable.Windows.ChangelogComponents; namespace Questionable.Windows; -internal sealed class ChangelogWindow : LWindow +internal sealed class ChangelogWindow : ThemedWindow { private readonly Configuration _configuration; @@ -28,10 +28,8 @@ internal sealed class ChangelogWindow : LWindow private float _headerAnimationTime; - private bool _closeRequested; - public ChangelogWindow(Configuration configuration, IDalamudPluginInterface pluginInterface) - : base("Questionable Changelog###QuestionableChangelog", ImGuiWindowFlags.NoTitleBar | ImGuiWindowFlags.NoScrollbar | ImGuiWindowFlags.NoScrollWithMouse) + : base("Questionable Changelog###QuestionableChangelog", ImGuiWindowFlags.NoTitleBar) { _configuration = configuration; _pluginInterface = pluginInterface; @@ -46,31 +44,24 @@ internal sealed class ChangelogWindow : LWindow }; } - public override void PreDraw() - { - base.PreDraw(); - if (_closeRequested) - { - _closeRequested = false; - base.IsOpen = false; - } - } - public override void DrawContent() { - _headerComponent.Draw(delegate + _headerComponent.Draw(delegate(bool isOpen) { - _closeRequested = true; + if (!isOpen) + { + RequestClose(); + } }); DrawChangelogEntries(); - ChangelogFooterComponent.Draw(delegate - { - _closeRequested = true; - }); + ChangelogFooterComponent.Draw(base.RequestClose); ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); Vector2 windowPos = ImGui.GetWindowPos(); Vector2 windowSize = ImGui.GetWindowSize(); - windowDrawList.AddRect(windowPos, windowPos + windowSize, ImGui.ColorConvertFloat4ToU32(new Vector4(0.65f, 0.55f, 0.85f, 0.3f)), 0f, ImDrawFlags.None, 2f); + Vector2 pMax = windowPos + windowSize; + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.3f; + windowDrawList.AddRect(windowPos, pMax, ImGui.ColorConvertFloat4ToU32(accentColor), 0f, ImDrawFlags.None, 2f); } public override void OnOpen() @@ -91,50 +82,41 @@ internal sealed class ChangelogWindow : LWindow private void DrawChangelogEntries() { _headerAnimationTime += ImGui.GetIO().DeltaTime; - using (ImRaii.PushColor(ImGuiCol.ScrollbarBg, new Vector4(0.1f, 0.08f, 0.14f, 0.6f))) + float num = ImGui.GetFrameHeightWithSpacing() + ImGui.GetStyle().ItemSpacing.Y * 2f; + using ImRaii.ChildDisposable childDisposable = ImRaii.Child("ChangelogScroll", new Vector2(0f, 0f - num), border: false, ImGuiWindowFlags.NoScrollbar); + if (!childDisposable) { - using (ImRaii.PushColor(ImGuiCol.ScrollbarGrab, new Vector4(0.55f, 0.45f, 0.75f, 0.4f))) - { - using (ImRaii.PushColor(ImGuiCol.ScrollbarGrabHovered, new Vector4(0.65f, 0.55f, 0.85f, 0.6f))) - { - using (ImRaii.PushColor(ImGuiCol.ScrollbarGrabActive, new Vector4(0.75f, 0.55f, 0.95f, 0.8f))) - { - float num = ImGui.GetFrameHeightWithSpacing() + 16f; - using ImRaii.ChildDisposable childDisposable = ImRaii.Child("ChangelogScroll", new Vector2(0f, 0f - num), border: false, ImGuiWindowFlags.NoScrollbar); - if (!childDisposable) - { - return; - } - using ImRaii.ChildDisposable childDisposable2 = ImRaii.Child("ChangelogScrollInner", Vector2.Zero, border: false); - if (!childDisposable2) - { - return; - } - List changelogs = ChangelogData.Changelogs; - ChangelogEntry changelogEntry = changelogs.FirstOrDefault(); - if (changelogs.Count == 0) - { - ImGui.SetCursorPosY(ImGui.GetCursorPosY() + 40f); - Vector2 vector = ImGui.CalcTextSize("No changelog entries available."); - ImGui.SetCursorPosX((ImGui.GetContentRegionAvail().X - vector.X) * 0.5f); - ImGui.TextDisabled("No changelog entries available."); - return; - } - ChangelogEntryComponent changelogEntryComponent = new ChangelogEntryComponent(_configuration, _windowOpenCount, _headerAnimationTime); - foreach (ChangelogEntry item in changelogs) - { - changelogEntryComponent.Draw(item, item == changelogEntry, _hasSetInitialState); - Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); - float num2 = ImGui.GetContentRegionAvail().X * 0.5f; - float num3 = (ImGui.GetContentRegionAvail().X - num2) * 0.5f; - ImGui.GetWindowDrawList().AddLine(cursorScreenPos + new Vector2(num3, 0f), cursorScreenPos + new Vector2(num3 + num2, 0f), ImGui.ColorConvertFloat4ToU32(new Vector4(0.55f, 0.45f, 0.75f, 0.1f)), 1f); - ImGui.SetCursorPosY(ImGui.GetCursorPosY() + 4f); - } - _hasSetInitialState = true; - } - } - } + return; } + using ImRaii.ChildDisposable childDisposable2 = ImRaii.Child("ChangelogScrollInner", Vector2.Zero, border: false); + if (!childDisposable2) + { + return; + } + List changelogs = ChangelogData.Changelogs; + ChangelogEntry changelogEntry = changelogs.FirstOrDefault(); + if (changelogs.Count == 0) + { + ImGui.SetCursorPosY(ImGui.GetCursorPosY() + 40f); + UiThemeUtils.EmptyState(FontAwesomeIcon.FileAlt, "No changelog entries available."); + return; + } + ChangelogEntryComponent changelogEntryComponent = new ChangelogEntryComponent(_configuration, _windowOpenCount, _headerAnimationTime); + foreach (ChangelogEntry item in changelogs) + { + changelogEntryComponent.Draw(item, item == changelogEntry, _hasSetInitialState); + Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); + float num2 = ImGui.GetContentRegionAvail().X * 0.5f; + float num3 = (ImGui.GetContentRegionAvail().X - num2) * 0.5f; + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + Vector2 p = cursorScreenPos + new Vector2(num3, 0f); + Vector2 p2 = cursorScreenPos + new Vector2(num3 + num2, 0f); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.1f; + windowDrawList.AddLine(p, p2, ImGui.ColorConvertFloat4ToU32(accentColor), 1f); + ImGui.SetCursorPosY(ImGui.GetCursorPosY() + 4f); + } + _hasSetInitialState = true; } private void MarkAllAsRead() diff --git a/Questionable/Questionable.Windows/ConfigWindow.cs b/Questionable/Questionable.Windows/ConfigWindow.cs index 1e094c1..da64b36 100644 --- a/Questionable/Questionable.Windows/ConfigWindow.cs +++ b/Questionable/Questionable.Windows/ConfigWindow.cs @@ -1,6 +1,8 @@ +using System.Linq; using System.Numerics; using Dalamud.Bindings.ImGui; using Dalamud.Interface; +using Dalamud.Interface.Utility; using Dalamud.Interface.Utility.Raii; using Dalamud.Interface.Windowing; using Dalamud.Plugin; @@ -9,73 +11,75 @@ using Questionable.Windows.ConfigComponents; namespace Questionable.Windows; -internal sealed class ConfigWindow : LWindow, IPersistableWindowConfig +internal sealed class ConfigWindow : ThemedWindow, IPersistableWindowConfig { + private static readonly SidebarNav.Group[] NavGroups = new SidebarNav.Group[4] + { + new SidebarNav.Group("Gameplay", new SidebarNav.Item[3] + { + new SidebarNav.Item(FontAwesomeIcon.Cog, "General"), + new SidebarNav.Item(FontAwesomeIcon.BookOpen, "Quests"), + new SidebarNav.Item(FontAwesomeIcon.Route, "Navigation") + }), + new SidebarNav.Group("Duties", new SidebarNav.Item[2] + { + new SidebarNav.Item(FontAwesomeIcon.Users, "Group Duties"), + new SidebarNav.Item(FontAwesomeIcon.FistRaised, "Quest Battles") + }), + new SidebarNav.Group("Control", new SidebarNav.Item[2] + { + new SidebarNav.Item(FontAwesomeIcon.StopCircle, "Stop"), + new SidebarNav.Item(FontAwesomeIcon.Ban, "Blacklist") + }), + new SidebarNav.Group("System", new SidebarNav.Item[3] + { + new SidebarNav.Item(FontAwesomeIcon.Plug, "Dependencies"), + new SidebarNav.Item(FontAwesomeIcon.Bell, "Notifications"), + new SidebarNav.Item(FontAwesomeIcon.Flask, "Advanced") + }) + }; + + private static readonly int DependenciesPageIndex = NavGroups.SelectMany((SidebarNav.Group g) => g.Items).ToList().FindIndex((SidebarNav.Item i) => i.Label == "Dependencies"); + private readonly IDalamudPluginInterface _pluginInterface; - private readonly GeneralConfigComponent _generalConfigComponent; - - private readonly PluginConfigComponent _pluginConfigComponent; - - private readonly DutyConfigComponent _dutyConfigComponent; - - private readonly SinglePlayerDutyConfigComponent _singlePlayerDutyConfigComponent; - - private readonly StopConditionComponent _stopConditionComponent; - - private readonly BlacklistConfigComponent _blacklistConfigComponent; - - private readonly NotificationConfigComponent _notificationConfigComponent; - - private readonly DebugConfigComponent _debugConfigComponent; - private readonly Configuration _configuration; + private readonly ConfigComponent[] _pages; + + private int _selectedTab; + public WindowConfig WindowConfig => _configuration.ConfigWindowConfig; - public ConfigWindow(IDalamudPluginInterface pluginInterface, GeneralConfigComponent generalConfigComponent, PluginConfigComponent pluginConfigComponent, DutyConfigComponent dutyConfigComponent, SinglePlayerDutyConfigComponent singlePlayerDutyConfigComponent, StopConditionComponent stopConditionComponent, BlacklistConfigComponent blacklistConfigComponent, NotificationConfigComponent notificationConfigComponent, DebugConfigComponent debugConfigComponent, Configuration configuration, ChangelogWindow changelogWindow) - : base("Config - Questionable###QuestionableConfig", ImGuiWindowFlags.AlwaysAutoResize) + public ConfigWindow(IDalamudPluginInterface pluginInterface, GeneralConfigComponent generalConfigComponent, QuestsConfigComponent questsConfigComponent, PluginConfigComponent pluginConfigComponent, DutyConfigComponent dutyConfigComponent, SinglePlayerDutyConfigComponent singlePlayerDutyConfigComponent, StopConditionComponent stopConditionComponent, BlacklistConfigComponent blacklistConfigComponent, NavigationConfigComponent navigationConfigComponent, NotificationConfigComponent notificationConfigComponent, DebugConfigComponent debugConfigComponent, Configuration configuration) + : base("Config - Questionable###QuestionableConfig") { - _pluginInterface = pluginInterface; - _generalConfigComponent = generalConfigComponent; - _pluginConfigComponent = pluginConfigComponent; - _dutyConfigComponent = dutyConfigComponent; - _singlePlayerDutyConfigComponent = singlePlayerDutyConfigComponent; - _stopConditionComponent = stopConditionComponent; - _blacklistConfigComponent = blacklistConfigComponent; - _notificationConfigComponent = notificationConfigComponent; - _debugConfigComponent = debugConfigComponent; - _configuration = configuration; - base.TitleBarButtons.Add(new TitleBarButton + base.Size = new Vector2(760f, 620f); + base.SizeCondition = ImGuiCond.FirstUseEver; + base.SizeConstraints = new WindowSizeConstraints { - Icon = FontAwesomeIcon.FileAlt, - IconOffset = new Vector2(1.5f, 1f), - Click = delegate - { - changelogWindow.IsOpenAndUncollapsed = true; - }, - ShowTooltip = delegate - { - ImGui.BeginTooltip(); - ImGui.Text("View Changelog"); - ImGui.EndTooltip(); - } - }); + MinimumSize = new Vector2(640f, 480f) + }; + _pluginInterface = pluginInterface; + _configuration = configuration; + _pages = new ConfigComponent[10] { generalConfigComponent, questsConfigComponent, navigationConfigComponent, dutyConfigComponent, singlePlayerDutyConfigComponent, stopConditionComponent, blacklistConfigComponent, pluginConfigComponent, notificationConfigComponent, debugConfigComponent }; + generalConfigComponent.OpenDependenciesTab = delegate + { + _selectedTab = DependenciesPageIndex; + }; } public override void DrawContent() { - using ImRaii.TabBarDisposable tabBarDisposable = ImRaii.TabBar("QuestionableConfigTabs"); - if (!(!tabBarDisposable)) + _selectedTab = SidebarNav.Draw(NavGroups, _selectedTab); + using ImRaii.ChildDisposable childDisposable = ImRaii.Child("##qstConfigContent", Vector2.Zero); + if ((bool)childDisposable) { - _generalConfigComponent.DrawTab(); - _pluginConfigComponent.DrawTab(); - _dutyConfigComponent.DrawTab(); - _singlePlayerDutyConfigComponent.DrawTab(); - _stopConditionComponent.DrawTab(); - _blacklistConfigComponent.DrawTab(); - _notificationConfigComponent.DrawTab(); - _debugConfigComponent.DrawTab(); + using (ImRaii.PushIndent(8f * ImGuiHelpers.GlobalScale)) + { + _pages[_selectedTab].DrawTab(); + return; + } } } diff --git a/Questionable/Questionable.Windows/DebugOverlay.cs b/Questionable/Questionable.Windows/DebugOverlay.cs index e41fa59..0ca3dad 100644 --- a/Questionable/Questionable.Windows/DebugOverlay.cs +++ b/Questionable/Questionable.Windows/DebugOverlay.cs @@ -1,6 +1,5 @@ using System.Diagnostics.CodeAnalysis; using System.Globalization; -using System.Linq; using System.Numerics; using Dalamud.Bindings.ImGui; using Dalamud.Game.ClientState.Conditions; @@ -154,30 +153,31 @@ internal sealed class DebugOverlay : Window { return; } - foreach (IGameObject item3 in _objectTable.Skip(1)) + for (int i = 1; i < _objectTable.Length; i++) { - if (item3 is IBattleNpc && _gameGui.WorldToScreen(item3.Position, out var screenPos)) + IGameObject gameObject = _objectTable[i]; + if (gameObject != null && gameObject is IBattleNpc battleNpc && _gameGui.WorldToScreen(battleNpc.Position, out var screenPos)) { - (int Priority, string Reason) killPriority = _combatController.GetKillPriority(item3); + (int Priority, string Reason) killPriority = _combatController.GetKillPriority(battleNpc); int item = killPriority.Priority; string item2 = killPriority.Reason; ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); Vector2 pos = screenPos + new Vector2(10f, -8f); int col = ((item > 0) ? (-16711936) : (-1)); ImU8String text = new ImU8String(12, 7); - text.AppendFormatted(item3.Name); + text.AppendFormatted(battleNpc.Name); text.AppendLiteral("/"); - text.AppendFormatted(item3.GameObjectId, "X"); + text.AppendFormatted(battleNpc.GameObjectId, "X"); text.AppendLiteral(", "); - text.AppendFormatted(item3.BaseId); + text.AppendFormatted(battleNpc.BaseId); text.AppendLiteral(", "); text.AppendFormatted(item); text.AppendLiteral(" - "); text.AppendFormatted(item2); text.AppendLiteral(", "); - text.AppendFormatted(Vector3.Distance(item3.Position, _objectTable.LocalPlayer.Position), "N2"); + text.AppendFormatted(Vector3.Distance(battleNpc.Position, _objectTable.LocalPlayer.Position), "N2"); text.AppendLiteral(", "); - text.AppendFormatted(item3.IsTargetable); + text.AppendFormatted(battleNpc.IsTargetable); windowDrawList.AddText(pos, (uint)col, text); } } diff --git a/Questionable/Questionable.Windows/FateSelectionWindow.cs b/Questionable/Questionable.Windows/FateSelectionWindow.cs index 2ecbdcc..097d022 100644 --- a/Questionable/Questionable.Windows/FateSelectionWindow.cs +++ b/Questionable/Questionable.Windows/FateSelectionWindow.cs @@ -6,21 +6,19 @@ using System.Numerics; using System.Runtime.CompilerServices; using Dalamud.Bindings.ImGui; using Dalamud.Interface; -using Dalamud.Interface.Colors; -using Dalamud.Interface.Components; using Dalamud.Interface.Utility.Raii; using Dalamud.Interface.Windowing; -using LLib.ImGui; using Questionable.Controller; using Questionable.Data; using Questionable.Functions; using Questionable.Model; using Questionable.Model.Questing; using Questionable.Windows.QuestComponents; +using Questionable.Windows.Utils; namespace Questionable.Windows; -internal sealed class FateSelectionWindow : LWindow +internal sealed class FateSelectionWindow : ThemedWindow { private readonly FateController _fateController; @@ -28,6 +26,12 @@ internal sealed class FateSelectionWindow : LWindow private readonly QuestController _questController; + private readonly SeasonalDutyController _seasonalDutyController; + + private readonly CustomDeliveryController _customDeliveryController; + + private readonly AttunementController _attunementController; + private readonly MovementController _movementController; private readonly QuestFunctions _questFunctions; @@ -38,12 +42,17 @@ internal sealed class FateSelectionWindow : LWindow private int _cycleLimit; - public FateSelectionWindow(FateController fateController, FateDefinitionRegistry fateDefinitionRegistry, QuestController questController, MovementController movementController, QuestFunctions questFunctions, QuestData questData, TerritoryData territoryData) + private string _searchText = string.Empty; + + public FateSelectionWindow(FateController fateController, FateDefinitionRegistry fateDefinitionRegistry, QuestController questController, SeasonalDutyController seasonalDutyController, CustomDeliveryController customDeliveryController, AttunementController attunementController, MovementController movementController, QuestFunctions questFunctions, QuestData questData, TerritoryData territoryData) : base("FATE Farming###QuestionableFateFarming") { _fateController = fateController; _fateDefinitionRegistry = fateDefinitionRegistry; _questController = questController; + _seasonalDutyController = seasonalDutyController; + _customDeliveryController = customDeliveryController; + _attunementController = attunementController; _movementController = movementController; _questFunctions = questFunctions; _questData = questData; @@ -61,92 +70,45 @@ internal sealed class FateSelectionWindow : LWindow { if (_fateController.IsRunning) { - DrawRunningHeader(); + if (CycleSelectionUi.DrawRunningBanner(BuildRunningStatusText(), UiThemeUtils.StatusActive, FontAwesomeIcon.Play)) + { + _fateController.Stop("UI stop"); + _movementController.Stop(); + } } else { + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + UiThemeUtils.SectionHeader("Cycle Configuration"); DrawControlsStrip(); + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); } if (_fateDefinitionRegistry.Definitions.Count == 0) { - DrawEmptyState(); - } - else - { - DrawFateTable(); + UiThemeUtils.EmptyState(FontAwesomeIcon.Star, "No FATE Definitions", "Add FATE definitions to the FatePaths folder to get started."); + return; } + UiThemeUtils.SectionSpacing(); + var (contentStartPos2, availableWidth2, drawList2) = UiThemeUtils.BeginCard(); + UiThemeUtils.SectionHeader("FATE List"); + UiThemeUtils.SearchInput("##FateSearch", ref _searchText, -13f, "Search FATEs..."); + ImGui.Spacing(); + DrawFateTable(); + UiThemeUtils.EndCard(contentStartPos2, availableWidth2, drawList2); } - private void DrawRunningHeader() + private string BuildRunningStatusText() { - Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); - float x = ImGui.GetContentRegionAvail().X; - float num = ImGui.GetTextLineHeightWithSpacing() * 3f + ImGui.GetStyle().ItemSpacing.Y * 3f; - ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); - windowDrawList.AddRectFilledMultiColor(cursorScreenPos, cursorScreenPos + new Vector2(x, num), ImGui.ColorConvertFloat4ToU32(new Vector4(0.22f, 0.2f, 0.28f, 0.85f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.18f, 0.16f, 0.24f, 0.85f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.18f, 0.16f, 0.24f, 0.85f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.22f, 0.2f, 0.28f, 0.85f))); - windowDrawList.AddLine(cursorScreenPos + new Vector2(0f, num), cursorScreenPos + new Vector2(x, num), ImGui.ColorConvertFloat4ToU32(new Vector4(0.7f, 0.6f, 0.9f, 0.5f)), 2f); - ImGui.SetCursorPosY(ImGui.GetCursorPosY() + ImGui.GetStyle().ItemSpacing.Y); - ImGui.SetCursorPosX(ImGui.GetCursorPosX() + 8f); - float num2 = (float)ImGui.GetTime(); - float num3 = 0.85f + MathF.Sin(num2 * 3f) * 0.15f; - Vector4 col = new Vector4(1f * num3, 0.85f * num3, 0f, 1f); - using (ImRaii.PushFont(UiBuilder.IconFont)) - { - ImGui.TextColored(in col, FontAwesomeIcon.Star.ToIconString()); - } - ImGui.SameLine(); - ImGui.TextColored(ImGuiColors.ParsedGold, _fateController.CurrentFate.Name); - ImGui.SameLine(x - 35f); - using (ImRaii.PushColor(ImGuiCol.Button, Vector4.Zero)) - { - using (ImRaii.PushColor(ImGuiCol.ButtonHovered, new Vector4(0.8f, 0.3f, 0.3f, 0.4f))) - { - using (ImRaii.PushColor(ImGuiCol.ButtonActive, new Vector4(0.9f, 0.2f, 0.2f, 0.6f))) - { - if (ImGuiComponents.IconButton(FontAwesomeIcon.Stop)) - { - _fateController.Stop("UI stop"); - _movementController.Stop(); - } - } - } - } - ImGui.SetCursorPosX(ImGui.GetCursorPosX() + 8f); string value = (_fateController.CycleLimit.HasValue ? $"Cycle {_fateController.CompletedCycles + 1} / {_fateController.CycleLimit}" : $"Cycle {_fateController.CompletedCycles + 1}"); string value2 = FormatElapsed(_fateController.ElapsedTime); IList remainingTaskNames = _fateController.GetRemainingTaskNames(); - string text = ((remainingTaskNames.Count > 0) ? remainingTaskNames.First() : ""); + string text = ((remainingTaskNames.Count > 0) ? remainingTaskNames[0] : ""); + string name = _fateController.CurrentFate.Name; if (text.Length > 0) { - Vector4 col2 = ImGuiColors.DalamudGrey3; - ImU8String text2 = new ImU8String(10, 3); - text2.AppendFormatted(value); - text2.AppendLiteral(" · "); - text2.AppendFormatted(value2); - text2.AppendLiteral(" · "); - text2.AppendFormatted(text); - ImGui.TextColored(in col2, text2); + return $"{name} · {value} · {value2} · {text}"; } - else - { - Vector4 col2 = ImGuiColors.DalamudGrey3; - ImU8String text3 = new ImU8String(5, 2); - text3.AppendFormatted(value); - text3.AppendLiteral(" · "); - text3.AppendFormatted(value2); - ImGui.TextColored(in col2, text3); - } - ImGui.SetCursorPosX(ImGui.GetCursorPosX() + 8f); - using (ImRaii.Disabled(disabled: true)) - { - ImGui.AlignTextToFramePadding(); - ImGui.TextUnformatted("Cycles:"); - ImGui.SameLine(); - ImGui.SetNextItemWidth(100f); - ImGui.InputInt("##CycleLimitRunning", ref _cycleLimit, 1, 5); - } - ImGui.SetCursorPosY(cursorScreenPos.Y + num - ImGui.GetCursorScreenPos().Y + ImGui.GetCursorPosY() + 4f); - ImGui.Spacing(); + return $"{name} · {value} · {value2}"; } private void DrawControlsStrip() @@ -156,57 +118,26 @@ internal sealed class FateSelectionWindow : LWindow ImGui.AlignTextToFramePadding(); ImGui.TextUnformatted("Cycles:"); ImGui.SameLine(); - ImGui.SetNextItemWidth(100f); + ImGui.SetNextItemWidth(100f * ImGui.GetIO().FontGlobalScale); ImGui.InputInt("##CycleLimit", ref _cycleLimit, 1, 5); if (_cycleLimit < 0) { _cycleLimit = 0; } ImGui.SameLine(); - ImGui.TextColored(ImGuiColors.DalamudGrey, (_cycleLimit == 0) ? "(unlimited)" : ""); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, (_cycleLimit == 0) ? "(unlimited)" : ""); } ImGui.Spacing(); } - private static void DrawEmptyState() - { - float y = ImGui.GetContentRegionAvail().Y; - float x = ImGui.GetContentRegionAvail().X; - ImGui.SetCursorPosY(ImGui.GetCursorPosY() + y * 0.25f); - Vector4 col = new Vector4(0.6f, 0.5f, 0.8f, 0.7f); - Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); - ImGui.PushFont(UiBuilder.IconFont); - string text = FontAwesomeIcon.Search.ToIconString(); - Vector2 vector = ImGui.CalcTextSize(text); - vector *= 2.5f; - ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); - Vector2 vector2 = new Vector2(x * 0.5f, 0f) + cursorScreenPos + new Vector2(0f, vector.Y * 0.5f); - for (int num = 3; num > 0; num--) - { - Vector4 col2 = new Vector4(col.X, col.Y, col.Z, col.W * 0.1f * (float)num); - ImGui.SetCursorScreenPos(vector2 - vector * 0.5f - new Vector2(num * 2, num * 2)); - ImGui.TextColored(in col2, text); - } - ImGui.SetCursorScreenPos(vector2 - vector * 0.5f); - ImGui.TextColored(in col, text); - ImGui.PopFont(); - ImGui.SetCursorPosY(ImGui.GetCursorPosY() + vector.Y * 0.5f + 20f); - string text2 = "No FATE Definitions"; - Vector2 vector3 = ImGui.CalcTextSize(text2); - Vector2 vector4 = new Vector2((x - vector3.X) * 0.5f, 0f) + ImGui.GetCursorScreenPos(); - windowDrawList.AddText(vector4 + new Vector2(1f, 1f), ImGui.ColorConvertFloat4ToU32(new Vector4(0f, 0f, 0f, 0.5f)), text2); - ImGui.SetCursorPosX((x - vector3.X) * 0.5f); - ImGui.TextColored(new Vector4(0.95f, 0.95f, 1f, 1f), text2); - ImGui.Spacing(); - ImGui.Spacing(); - string text3 = "Add FATE definitions to the FatePaths folder to get started."; - ImGui.SetCursorPosX((x - ImGui.CalcTextSize(text3).X) * 0.5f); - ImGui.TextColored(new Vector4(0.7f, 0.7f, 0.8f, 1f), text3); - } - private void DrawFateTable() { - List list = _fateDefinitionRegistry.Definitions.Values.OrderBy(delegate(FateDefinition f) + IEnumerable source = _fateDefinitionRegistry.Definitions.Values; + if (!string.IsNullOrWhiteSpace(_searchText)) + { + source = source.Where((FateDefinition f) => f.Name.Contains(_searchText, StringComparison.OrdinalIgnoreCase) || (_territoryData.GetName(f.TerritoryId) ?? f.Description).Contains(_searchText, StringComparison.OrdinalIgnoreCase)); + } + List list = source.OrderBy(delegate(FateDefinition f) { DateTime? eventExpiry = f.EventExpiry; if (eventExpiry.HasValue) @@ -233,7 +164,12 @@ internal sealed class FateSelectionWindow : LWindow return double.MaxValue; }).ThenBy((FateDefinition f) => f.Name, StringComparer.OrdinalIgnoreCase) .ToList(); - using ImRaii.TableDisposable tableDisposable = ImRaii.Table("FateTable", 4, ImGuiTableFlags.SizingStretchProp | ImGuiTableFlags.RowBg | ImGuiTableFlags.BordersInnerH | ImGuiTableFlags.ScrollY); + if (list.Count == 0) + { + UiThemeUtils.EmptyState(FontAwesomeIcon.Search, "No FATEs match your search."); + return; + } + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable("FateTable", 4, ImGuiTableFlags.SizingStretchProp | ImGuiTableFlags.ScrollY); if (!tableDisposable) { return; @@ -249,9 +185,7 @@ internal sealed class FateSelectionWindow : LWindow bool flag = _fateController.IsRunning && _fateController.CurrentFate == item; if (flag) { - float num = (float)ImGui.GetTime(); - float w = 0.1f + MathF.Sin(num * 2.5f) * 0.05f; - ImGui.TableSetBgColor(ImGuiTableBgTarget.RowBg1, ImGui.GetColorU32(new Vector4(1f, 0.85f, 0f, w))); + ImGui.TableSetBgColor(ImGuiTableBgTarget.RowBg0, ImGui.ColorConvertFloat4ToU32(UiThemeUtils.AccentDimColor)); } ImGui.TableNextColumn(); DrawFateRowName(item, flag); @@ -260,7 +194,7 @@ internal sealed class FateSelectionWindow : LWindow ImGui.TableNextColumn(); DrawFateRowExpiry(item); ImGui.TableNextColumn(); - bool disabled = _fateController.IsRunning || _questController.AutomationType != QuestController.EAutomationType.Manual; + bool disabled = _fateController.IsRunning || _seasonalDutyController.IsRunning || _customDeliveryController.IsRunning || _attunementController.IsRunning || _questController.AutomationType != QuestController.EAutomationType.Manual; DrawFateRowActions(item, disabled); } } @@ -269,9 +203,7 @@ internal sealed class FateSelectionWindow : LWindow { if (isActive) { - float num = (float)ImGui.GetTime(); - float num2 = 0.85f + MathF.Sin(num * 3f) * 0.15f; - ImGui.TextColored(new Vector4(1f * num2, 0.85f * num2, 0f, 1f), fate.Name); + ImGui.TextColored(in UiThemeUtils.AccentColor, fate.Name); } else { @@ -283,26 +215,24 @@ internal sealed class FateSelectionWindow : LWindow } using (ImRaii.Tooltip()) { - ImGui.TextColored(ImGuiColors.DalamudWhite, fate.Name); + ImGui.TextColored(in UiThemeUtils.PrimaryTextColor, fate.Name); ImGui.Separator(); ImGui.PushTextWrapPos(300f); ImGui.TextUnformatted(fate.Description); ImGui.PopTextWrapPos(); ImGui.Spacing(); string nameAndId = _territoryData.GetNameAndId(fate.TerritoryId); - Vector4 col = ImGuiColors.DalamudGrey; ImU8String text = new ImU8String(6, 1); text.AppendLiteral("Zone: "); text.AppendFormatted(nameAndId); - ImGui.TextColored(in col, text); - col = ImGuiColors.DalamudGrey; + ImGui.TextColored(in UiThemeUtils.DimTextColor, text); ImU8String text2 = new ImU8String(9, 1); text2.AppendLiteral("Targets: "); text2.AppendFormatted(fate.Targets.Count); - ImGui.TextColored(in col, text2); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text2); if (fate.RequiredStatusId.HasValue) { - ImGui.TextColored(ImGuiColors.DalamudYellow, "Requires transformation"); + ImGui.TextColored(in UiThemeUtils.StatusActive, "Requires transformation"); } DateTime? eventExpiry = fate.EventExpiry; if (eventExpiry.HasValue) @@ -312,7 +242,7 @@ internal sealed class FateSelectionWindow : LWindow if (timeSpan > TimeSpan.Zero) { string text3 = EventInfoComponent.FormatRemainingFull(timeSpan); - ImGui.TextColored(ImGuiColors.DalamudOrange, text3); + ImGui.TextColored(in UiThemeUtils.StatusActive, text3); } } } @@ -328,22 +258,37 @@ internal sealed class FateSelectionWindow : LWindow if (timeSpan > TimeSpan.Zero) { string text = EventInfoComponent.FormatRemainingDays(timeSpan); - ImGui.TextColored((timeSpan.TotalDays < 3.0) ? ImGuiColors.DalamudOrange : ImGuiColors.DalamudGrey, text); + ImGui.TextColored((timeSpan.TotalDays < 3.0) ? UiThemeUtils.StatusActive : UiThemeUtils.DimTextColor, text); } else { - ImGui.TextColored(ImGuiColors.DalamudGrey3, "Expired"); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, "Expired"); } } else { - ImGui.TextColored(ImGuiColors.DalamudGrey3, "--"); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, "--"); } } private void DrawFateRowActions(FateDefinition fate, bool disabled) { - bool flag = fate.RequiredQuestId.HasValue && !_questFunctions.IsQuestComplete(new QuestId(fate.RequiredQuestId.Value)); + uint? num = fate.RequiredQuestId; + object obj; + if (num.HasValue) + { + uint valueOrDefault = num.GetValueOrDefault(); + if (valueOrDefault <= 65535) + { + obj = new QuestId((ushort)valueOrDefault); + goto IL_004d; + } + } + obj = null; + goto IL_004d; + IL_004d: + QuestId questId = (QuestId)obj; + bool flag = questId != null && !_questFunctions.IsQuestComplete(questId); ImU8String id = new ImU8String(5, 1); id.AppendLiteral("fate_"); id.AppendFormatted(fate.Name); @@ -353,12 +298,12 @@ internal sealed class FateSelectionWindow : LWindow { using (ImRaii.PushFont(UiBuilder.IconFont)) { - ImGui.TextColored(ImGuiColors.DalamudRed, FontAwesomeIcon.Times.ToIconString()); + ImGui.TextColored(in UiThemeUtils.StatusLocked, FontAwesomeIcon.Times.ToIconString()); } if (ImGui.IsItemHovered()) { IQuestInfo questInfo; - string value = (_questData.TryGetQuestInfo(new QuestId(fate.RequiredQuestId.Value), out questInfo) ? questInfo.Name : fate.RequiredQuestId.Value.ToString(CultureInfo.InvariantCulture)); + string value = (_questData.TryGetQuestInfo(new QuestId(fate.RequiredQuestId.Value), out questInfo) ? questInfo.Name : (num?.ToString(CultureInfo.InvariantCulture) ?? "Unknown")); ImU8String tooltip = new ImU8String(33, 1); tooltip.AppendLiteral("Requires \""); tooltip.AppendFormatted(value); @@ -369,12 +314,27 @@ internal sealed class FateSelectionWindow : LWindow } using (ImRaii.Disabled(disabled)) { - if (ImGuiComponents.IconButton(FontAwesomeIcon.Play)) + using (ImRaii.PushColor(ImGuiCol.Button, UiThemeUtils.PlayButtonColor)) { - _questController.Stop("FATE farming start"); - _movementController.Stop(); - int? cycleLimit = ((_cycleLimit > 0) ? new int?(_cycleLimit) : ((int?)null)); - _fateController.Start(fate, cycleLimit); + using (ImRaii.PushColor(ImGuiCol.ButtonHovered, UiThemeUtils.PlayButtonHover)) + { + using (ImRaii.PushColor(ImGuiCol.ButtonActive, UiThemeUtils.PlayButtonActive)) + { + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.PlayButtonText)) + { + if (UiThemeUtils.IconButton(FontAwesomeIcon.Play, ImGui.GetFrameHeight())) + { + _movementController.Stop(); + _questController.Stop("FATE farming start"); + _seasonalDutyController.Stop("FATE farming start"); + _customDeliveryController.Stop("FATE farming start"); + _attunementController.Stop("FATE farming start"); + int? cycleLimit = ((_cycleLimit > 0) ? new int?(_cycleLimit) : ((int?)null)); + _fateController.Start(fate, cycleLimit); + } + } + } + } } } if (disabled && ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) @@ -383,6 +343,18 @@ internal sealed class FateSelectionWindow : LWindow { ImGui.SetTooltip("Already farming a FATE"); } + else if (_seasonalDutyController.IsRunning) + { + ImGui.SetTooltip("Stop seasonal duty farming first"); + } + else if (_customDeliveryController.IsRunning) + { + ImGui.SetTooltip("Stop custom delivery first"); + } + else if (_attunementController.IsRunning) + { + ImGui.SetTooltip("Stop attunement first"); + } else { ImGui.SetTooltip("Stop quest automation first"); diff --git a/Questionable/Questionable.Windows/JournalProgressWindow.cs b/Questionable/Questionable.Windows/JournalProgressWindow.cs index 88ddd06..9cf9de5 100644 --- a/Questionable/Questionable.Windows/JournalProgressWindow.cs +++ b/Questionable/Questionable.Windows/JournalProgressWindow.cs @@ -1,46 +1,111 @@ using System; +using System.Linq; using System.Numerics; +using Dalamud.Interface; +using Dalamud.Interface.Utility; using Dalamud.Interface.Utility.Raii; using Dalamud.Interface.Windowing; +using Dalamud.Plugin; using Dalamud.Plugin.Services; -using LLib.ImGui; using Questionable.Controller; using Questionable.Windows.JournalComponents; namespace Questionable.Windows; -internal sealed class JournalProgressWindow : LWindow, IDisposable +internal sealed class JournalProgressWindow : ThemedWindow, IDisposable { + private static readonly SidebarNav.Group[] NavGroups = new SidebarNav.Group[3] + { + new SidebarNav.Group("Progress", new SidebarNav.Item[5] + { + new SidebarNav.Item(FontAwesomeIcon.Book, "Quests"), + new SidebarNav.Item(FontAwesomeIcon.Dungeon, "Duties"), + new SidebarNav.Item(FontAwesomeIcon.Wifi, "Attunement"), + new SidebarNav.Item(FontAwesomeIcon.Leaf, "Gathering Points"), + new SidebarNav.Item(FontAwesomeIcon.Gift, "Item Rewards") + }), + new SidebarNav.Group("Explore", new SidebarNav.Item[2] + { + new SidebarNav.Item(FontAwesomeIcon.Map, "Quest Map"), + new SidebarNav.Item(FontAwesomeIcon.ProjectDiagram, "Quest Chain") + }), + new SidebarNav.Group("Societies", new SidebarNav.Item[2] + { + new SidebarNav.Item(FontAwesomeIcon.Handshake, "Allied Societies"), + new SidebarNav.Item(FontAwesomeIcon.BoxOpen, "Custom Deliveries") + }) + }; + + private static readonly string[] FlatLabels = (from i in NavGroups.SelectMany((SidebarNav.Group g) => g.Items) + select i.Label).ToArray(); + private readonly QuestJournalComponent _questJournalComponent; private readonly AlliedSocietyJournalComponent _alliedSocietyJournalComponent; + private readonly CustomDeliveryJournalComponent _customDeliveryJournalComponent; + private readonly QuestRewardComponent _questRewardComponent; private readonly GatheringJournalComponent _gatheringJournalComponent; private readonly DutyJournalComponent _dutyJournalComponent; + private readonly QuestMapComponent _questMapComponent; + + private readonly QuestChainComponent _questChainComponent; + + private readonly AttunementJournalComponent _attunementJournalComponent; + private readonly QuestRegistry _questRegistry; private readonly IClientState _clientState; - public JournalProgressWindow(QuestJournalComponent questJournalComponent, QuestRewardComponent questRewardComponent, AlliedSocietyJournalComponent alliedSocietyJournalComponent, GatheringJournalComponent gatheringJournalComponent, DutyJournalComponent dutyJournalComponent, QuestRegistry questRegistry, IClientState clientState) + private readonly IFramework _framework; + + private readonly IDalamudPluginInterface _pluginInterface; + + private readonly Configuration _configuration; + + private readonly Action[] _pages; + + private int _selectedTab; + + private int _selectTabNextFrame = -1; + + public JournalProgressWindow(QuestJournalComponent questJournalComponent, QuestRewardComponent questRewardComponent, AlliedSocietyJournalComponent alliedSocietyJournalComponent, CustomDeliveryJournalComponent customDeliveryJournalComponent, GatheringJournalComponent gatheringJournalComponent, DutyJournalComponent dutyJournalComponent, QuestMapComponent questMapComponent, QuestChainComponent questChainComponent, AttunementJournalComponent attunementJournalComponent, QuestJournalUtils questJournalUtils, QuestRegistry questRegistry, IClientState clientState, IFramework framework, IDalamudPluginInterface pluginInterface, Configuration configuration) : base("Journal Progress###QuestionableJournalProgress") { _questJournalComponent = questJournalComponent; _alliedSocietyJournalComponent = alliedSocietyJournalComponent; + _customDeliveryJournalComponent = customDeliveryJournalComponent; _questRewardComponent = questRewardComponent; _gatheringJournalComponent = gatheringJournalComponent; _dutyJournalComponent = dutyJournalComponent; + _questMapComponent = questMapComponent; + _questChainComponent = questChainComponent; + _attunementJournalComponent = attunementJournalComponent; _questRegistry = questRegistry; _clientState = clientState; + _framework = framework; + _pluginInterface = pluginInterface; + _configuration = configuration; + _pages = new Action[9] { _questJournalComponent.DrawQuests, _dutyJournalComponent.DrawDuties, _attunementJournalComponent.DrawAttunement, _gatheringJournalComponent.DrawGatheringItems, _questRewardComponent.DrawItemRewards, _questMapComponent.DrawQuestMap, _questChainComponent.DrawQuestChain, _alliedSocietyJournalComponent.DrawAlliedSocietyQuests, _customDeliveryJournalComponent.DrawCustomDeliveries }; + _questChainComponent.SelectTabAction = SelectTab; + _questChainComponent.QuestJournalUtils = questJournalUtils; + _questMapComponent.SelectTabAction = SelectTab; + _questMapComponent.QuestChainComponent = _questChainComponent; + _questMapComponent.QuestJournalUtils = questJournalUtils; + _attunementJournalComponent.SelectTabAction = SelectTab; + _attunementJournalComponent.QuestChainComponent = _questChainComponent; _clientState.Login += _questJournalComponent.RefreshCounts; _clientState.Logout += _dutyJournalComponent.ClearCounts; _clientState.Login += _gatheringJournalComponent.RefreshCounts; _clientState.Login += _dutyJournalComponent.RefreshCounts; _clientState.Logout += _questJournalComponent.ClearCounts; _clientState.Logout += _gatheringJournalComponent.ClearCounts; + _clientState.Login += _attunementJournalComponent.RefreshCounts; + _clientState.Logout += _attunementJournalComponent.ClearCounts; _questRegistry.Reloaded += OnQuestsReloaded; base.SizeConstraints = new WindowSizeConstraints { @@ -48,39 +113,77 @@ internal sealed class JournalProgressWindow : LWindow, IDisposable }; } + public void SelectTab(string tabName) + { + int num = Array.IndexOf(FlatLabels, tabName); + if (num >= 0) + { + _selectTabNextFrame = num; + } + } + private void OnQuestsReloaded(object? sender, EventArgs e) { - _questJournalComponent.RefreshCounts(); - _dutyJournalComponent.RefreshCounts(); - _gatheringJournalComponent.RefreshCounts(); + _framework.RunOnFrameworkThread(delegate + { + _questJournalComponent.RefreshCounts(); + _dutyJournalComponent.RefreshCounts(); + _gatheringJournalComponent.RefreshCounts(); + _attunementJournalComponent.RefreshCounts(); + _questChainComponent.MarkDirty(); + _questMapComponent.MarkDirty(); + }); } public override void OnOpen() { + int num = Array.IndexOf(FlatLabels, _configuration.JournalLastPage); + if (num >= 0) + { + _selectedTab = num; + } _questJournalComponent.UpdateFilter(); - _questJournalComponent.RefreshCounts(); _dutyJournalComponent.UpdateFilter(); - _dutyJournalComponent.RefreshCounts(); _gatheringJournalComponent.UpdateFilter(); - _gatheringJournalComponent.RefreshCounts(); + _attunementJournalComponent.UpdateFilter(); + _questMapComponent.MarkDirty(); + _questChainComponent.MarkDirty(); } public override void DrawContent() { - using ImRaii.TabBarDisposable tabBarDisposable = ImRaii.TabBar("Journal"); - if (!(!tabBarDisposable)) + if (_selectTabNextFrame >= 0) { - _questJournalComponent.DrawQuests(); - _dutyJournalComponent.DrawDuties(); - _alliedSocietyJournalComponent.DrawAlliedSocietyQuests(); - _questRewardComponent.DrawItemRewards(); - _gatheringJournalComponent.DrawGatheringItems(); + SetSelectedTab(_selectTabNextFrame); + _selectTabNextFrame = -1; + } + SetSelectedTab(SidebarNav.Draw(NavGroups, _selectedTab)); + using ImRaii.ChildDisposable childDisposable = ImRaii.Child("##qstJournalContent", Vector2.Zero); + if ((bool)childDisposable) + { + using (ImRaii.PushIndent(8f * ImGuiHelpers.GlobalScale)) + { + _pages[_selectedTab](); + return; + } + } + } + + private void SetSelectedTab(int index) + { + if (index != _selectedTab) + { + _selectedTab = index; + _configuration.JournalLastPage = FlatLabels[index]; + _pluginInterface.SavePluginConfig(_configuration); } } public void Dispose() { _questRegistry.Reloaded -= OnQuestsReloaded; + _clientState.Logout -= _attunementJournalComponent.ClearCounts; + _clientState.Login -= _attunementJournalComponent.RefreshCounts; _clientState.Logout -= _gatheringJournalComponent.ClearCounts; _clientState.Logout -= _questJournalComponent.ClearCounts; _clientState.Login -= _dutyJournalComponent.RefreshCounts; diff --git a/Questionable/Questionable.Windows/OneTimeSetupWindow.cs b/Questionable/Questionable.Windows/OneTimeSetupWindow.cs index c9115ec..4431bc6 100644 --- a/Questionable/Questionable.Windows/OneTimeSetupWindow.cs +++ b/Questionable/Questionable.Windows/OneTimeSetupWindow.cs @@ -1,18 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; using Dalamud.Bindings.ImGui; using Dalamud.Interface; -using Dalamud.Interface.Colors; -using Dalamud.Interface.Components; +using Dalamud.Interface.Utility; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin; -using LLib.ImGui; using Microsoft.Extensions.Logging; -using Questionable.Windows.ConfigComponents; +using Questionable.Windows.Setup; namespace Questionable.Windows; -internal sealed class OneTimeSetupWindow : LWindow +internal sealed class OneTimeSetupWindow : ThemedWindow { - private readonly PluginConfigComponent _pluginConfigComponent; + private readonly IReadOnlyList _steps; private readonly Configuration _configuration; @@ -20,10 +22,12 @@ internal sealed class OneTimeSetupWindow : LWindow private readonly ILogger _logger; - public OneTimeSetupWindow(PluginConfigComponent pluginConfigComponent, Configuration configuration, IDalamudPluginInterface pluginInterface, ILogger logger) + private int _currentIndex; + + public OneTimeSetupWindow(WelcomeStep welcomeStep, PluginsStep pluginsStep, EssentialSettingsStep essentialSettingsStep, ReadyStep readyStep, Configuration configuration, IDalamudPluginInterface pluginInterface, ILogger logger) : base("Questionable Setup###QuestionableOneTimeSetup", ImGuiWindowFlags.NoCollapse | ImGuiWindowFlags.AlwaysAutoResize | ImGuiWindowFlags.NoSavedSettings, forceMainWindow: true) { - _pluginConfigComponent = pluginConfigComponent; + _steps = new global::_003C_003Ez__ReadOnlyArray(new ISetupStep[4] { welcomeStep, pluginsStep, essentialSettingsStep, readyStep }); _configuration = configuration; _pluginInterface = pluginInterface; _logger = logger; @@ -32,43 +36,129 @@ internal sealed class OneTimeSetupWindow : LWindow base.AllowPinning = false; base.AllowClickthrough = false; base.IsOpen = !_configuration.IsPluginSetupComplete(); - _logger.LogInformation("One-time setup needed: {IsOpen}", base.IsOpen); + _logger.LogDebug("One-time setup needed: {IsOpen}", base.IsOpen); + } + + public override void OnOpen() + { + _currentIndex = 0; } public override void DrawContent() { - _pluginConfigComponent.Draw(out var allRequiredInstalled); - ImGui.Spacing(); - ImGui.Separator(); - ImGui.Spacing(); - if (allRequiredInstalled) + List list = _steps.Where((ISetupStep s) => s.ShouldShow()).ToList(); + if (list.Count != 0) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedGreen)) + _currentIndex = Math.Clamp(_currentIndex, 0, list.Count - 1); + ISetupStep setupStep = list[_currentIndex]; + ImU8String text = new ImU8String(9, 2); + text.AppendLiteral("Step "); + text.AppendFormatted(_currentIndex + 1); + text.AppendLiteral(" of "); + text.AppendFormatted(list.Count); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text); + ImGui.SameLine(); + DrawStepDots(list.Count); + UiThemeUtils.SectionHeader(setupStep.Title); + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + setupStep.Draw(); + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + UiThemeUtils.SectionSpacing(); + DrawFooter(list.Count, setupStep); + } + } + + private void DrawStepDots(int visibleCount) + { + float num = 3f * ImGuiHelpers.GlobalScale; + float num2 = 12f * ImGuiHelpers.GlobalScale; + float textLineHeight = ImGui.GetTextLineHeight(); + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); + float y = cursorScreenPos.Y + textLineHeight / 2f; + uint col = ImGui.ColorConvertFloat4ToU32(UiThemeUtils.AccentColor); + uint col2 = ImGui.ColorConvertFloat4ToU32(UiThemeUtils.MutedTextColor); + for (int i = 0; i < visibleCount; i++) + { + Vector2 center = new Vector2(cursorScreenPos.X + num + (float)i * num2, y); + if (i == _currentIndex) { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Check, "Finish Setup")) + windowDrawList.AddCircleFilled(center, num, col); + } + else + { + windowDrawList.AddCircle(center, num, col2, 0, 1f); + } + } + ImGui.Dummy(new Vector2(num * 2f + (float)(visibleCount - 1) * num2, textLineHeight)); + } + + private void DrawFooter(int visibleCount, ISetupStep current) + { + bool disabled = _currentIndex == 0; + bool flag = _currentIndex == visibleCount - 1; + using (ImRaii.Disabled(disabled)) + { + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.ArrowLeft, "Back", ButtonWidth(FontAwesomeIcon.ArrowLeft, "Back"))) + { + _currentIndex--; + } + } + ImGui.SameLine(); + if (flag) + { + using (ImRaii.Disabled(!current.CanAdvance)) + { + using (ImRaii.PushColor(ImGuiCol.Button, UiThemeUtils.PlayButtonColor)) { - _logger.LogInformation("Marking setup as complete"); - _configuration.MarkPluginSetupComplete(); - _pluginInterface.SavePluginConfig(_configuration); - base.IsOpen = false; + using (ImRaii.PushColor(ImGuiCol.ButtonHovered, UiThemeUtils.PlayButtonHover)) + { + using (ImRaii.PushColor(ImGuiCol.ButtonActive, UiThemeUtils.PlayButtonActive)) + { + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.PlayButtonText)) + { + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Check, "Finish Setup", ButtonWidth(FontAwesomeIcon.Check, "Finish Setup"))) + { + _logger.LogDebug("Marking setup as complete"); + _configuration.MarkPluginSetupComplete(); + _pluginInterface.SavePluginConfig(_configuration); + RequestClose(); + } + } + } + } } } } else { - using (ImRaii.Disabled()) + using (ImRaii.Disabled(!current.CanAdvance)) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed)) + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.ArrowRight, "Next", ButtonWidth(FontAwesomeIcon.ArrowRight, "Next"))) { - ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Check, "Missing required plugins"); + _currentIndex++; } } } ImGui.SameLine(); - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Times, "Close window & don't enable Questionable")) + string text = (_configuration.IsPluginSetupComplete() ? "Close" : "Close window & don't enable Questionable"); + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Times, text, ButtonWidth(FontAwesomeIcon.Times, text))) { - _logger.LogWarning("Closing window without all required plugins installed"); - base.IsOpen = false; + if (!_configuration.IsPluginSetupComplete()) + { + _logger.LogWarning("Closing window without completing setup"); + } + RequestClose(); + } + static float ButtonWidth(FontAwesomeIcon icon, string text2) + { + float x; + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + x = ImGui.CalcTextSize(icon.ToIconString()).X; + } + float x2 = ImGui.CalcTextSize(text2).X; + return x + 6f + x2 + ImGui.GetStyle().FramePadding.X * 2f; } } } diff --git a/Questionable/Questionable.Windows/QuestSelectionWindow.cs b/Questionable/Questionable.Windows/QuestSelectionWindow.cs index e093d3f..b893deb 100644 --- a/Questionable/Questionable.Windows/QuestSelectionWindow.cs +++ b/Questionable/Questionable.Windows/QuestSelectionWindow.cs @@ -1,11 +1,10 @@ +using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using Dalamud.Bindings.ImGui; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Interface; -using Dalamud.Interface.Colors; -using Dalamud.Interface.Components; using Dalamud.Interface.Utility.Raii; using Dalamud.Interface.Windowing; using Dalamud.Plugin; @@ -13,7 +12,6 @@ using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game.UI; using FFXIVClientStructs.FFXIV.Client.UI; using LLib.GameUI; -using LLib.ImGui; using Questionable.Controller; using Questionable.Controller.GameUi; using Questionable.Data; @@ -24,7 +22,7 @@ using Questionable.Windows.QuestComponents; namespace Questionable.Windows; -internal sealed class QuestSelectionWindow : LWindow +internal sealed class QuestSelectionWindow : ThemedWindow { private const string WindowId = "###QuestionableQuestSelection"; @@ -38,6 +36,14 @@ internal sealed class QuestSelectionWindow : LWindow private readonly QuestController _questController; + private readonly FateController _fateController; + + private readonly SeasonalDutyController _seasonalDutyController; + + private readonly CustomDeliveryController _customDeliveryController; + + private readonly AttunementController _attunementController; + private readonly QuestRegistry _questRegistry; private readonly IDalamudPluginInterface _pluginInterface; @@ -56,7 +62,9 @@ internal sealed class QuestSelectionWindow : LWindow private bool _onlyAvailableQuests = true; - public QuestSelectionWindow(QuestData questData, IGameGui gameGui, IChatGui chatGui, QuestFunctions questFunctions, QuestController questController, QuestRegistry questRegistry, IDalamudPluginInterface pluginInterface, TerritoryData territoryData, IClientState clientState, UiUtils uiUtils, QuestTooltipComponent questTooltipComponent) + private string _searchText = string.Empty; + + public QuestSelectionWindow(QuestData questData, IGameGui gameGui, IChatGui chatGui, QuestFunctions questFunctions, QuestController questController, FateController fateController, SeasonalDutyController seasonalDutyController, CustomDeliveryController customDeliveryController, AttunementController attunementController, QuestRegistry questRegistry, IDalamudPluginInterface pluginInterface, TerritoryData territoryData, IClientState clientState, UiUtils uiUtils, QuestTooltipComponent questTooltipComponent) : base("Quest Selection###QuestionableQuestSelection") { _questData = questData; @@ -64,6 +72,10 @@ internal sealed class QuestSelectionWindow : LWindow _chatGui = chatGui; _questFunctions = questFunctions; _questController = questController; + _fateController = fateController; + _seasonalDutyController = seasonalDutyController; + _customDeliveryController = customDeliveryController; + _attunementController = attunementController; _questRegistry = questRegistry; _pluginInterface = pluginInterface; _territoryData = territoryData; @@ -133,130 +145,154 @@ internal sealed class QuestSelectionWindow : LWindow public override void DrawContent() { + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + UiThemeUtils.SearchInput("##QuestSelectionSearch", ref _searchText, -13f, "Search quests..."); if (_offeredQuests.Count != 0) { - ImGui.Checkbox("Only show quests currently offered", ref _onlyAvailableQuests); + UiThemeUtils.WrappedCheckbox("Only show quests currently offered", ref _onlyAvailableQuests); } - using ImRaii.TableDisposable tableDisposable = ImRaii.Table("QuestSelection", 4, ImGuiTableFlags.Borders | ImGuiTableFlags.ScrollY); - if (!tableDisposable) + using (ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable("QuestSelection", 4, ImGuiTableFlags.ScrollY)) { - ImGui.Text("Not table"); - return; - } - float x; - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) - { - x = ImGui.CalcTextSize(FontAwesomeIcon.Copy.ToIconString()).X; - } - ImGui.PushFont(UiBuilder.IconFont); - float initWidthOrWeight = ImGui.CalcTextSize(FontAwesomeIcon.Copy.ToIconString()).X + ImGui.CalcTextSize(FontAwesomeIcon.Copy.ToIconString()).X + ImGui.CalcTextSize(FontAwesomeIcon.Copy.ToIconString()).X + 6f * ImGui.GetStyle().FramePadding.X + 2f * ImGui.GetStyle().ItemSpacing.X; - ImGui.PopFont(); - ImGui.TableSetupColumn("Id", ImGuiTableColumnFlags.WidthFixed, 50f * ImGui.GetIO().FontGlobalScale); - ImGui.TableSetupColumn("", ImGuiTableColumnFlags.WidthFixed, x); - ImGui.TableSetupColumn("Name", ImGuiTableColumnFlags.None, 200f); - ImGui.TableSetupColumn("Actions", ImGuiTableColumnFlags.WidthFixed, initWidthOrWeight); - ImGui.TableHeadersRow(); - foreach (IQuestInfo item in (_offeredQuests.Count != 0 && _onlyAvailableQuests) ? _offeredQuests : _quests) - { - ImGui.TableNextRow(); - string text = item.QuestId.ToString(); - Quest quest; - bool flag = _questRegistry.TryGetQuest(item.QuestId, out quest); - if (ImGui.TableNextColumn()) + if ((bool)tableDisposable) { - ImGui.AlignTextToFramePadding(); - ImGui.TextUnformatted(text); - } - if (ImGui.TableNextColumn()) - { - ImGui.AlignTextToFramePadding(); - var (col, icon, _) = _uiUtils.GetQuestStyle(item.QuestId); + float x; using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) { - if (flag) - { - ImGui.TextColored(in col, icon.ToIconString()); - } - else - { - ImGui.TextColored(ImGuiColors.DalamudGrey, icon.ToIconString()); - } + x = ImGui.CalcTextSize(FontAwesomeIcon.Copy.ToIconString()).X; } - if (ImGui.IsItemHovered()) + float initWidthOrWeight = 3f * ImGui.GetFrameHeight() + 2f * ImGui.GetStyle().ItemSpacing.X; + ImGui.TableSetupColumn("Id", ImGuiTableColumnFlags.WidthFixed, 50f * ImGui.GetIO().FontGlobalScale); + ImGui.TableSetupColumn("", ImGuiTableColumnFlags.WidthFixed, x); + ImGui.TableSetupColumn("Name", ImGuiTableColumnFlags.None, 200f); + ImGui.TableSetupColumn("Actions", ImGuiTableColumnFlags.WidthFixed, initWidthOrWeight); + ImGui.TableHeadersRow(); + IEnumerable enumerable = ((_offeredQuests.Count != 0 && _onlyAvailableQuests) ? _offeredQuests : _quests); + if (!string.IsNullOrWhiteSpace(_searchText)) { - _questTooltipComponent.Draw(item); + enumerable = enumerable.Where((IQuestInfo q) => q.Name.Contains(_searchText, StringComparison.OrdinalIgnoreCase) || q.QuestId.ToString().Contains(_searchText, StringComparison.OrdinalIgnoreCase)); } - } - if (ImGui.TableNextColumn()) - { - ImGui.AlignTextToFramePadding(); - if (quest != null && quest.Root.Disabled) + foreach (IQuestInfo item in enumerable) { - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) + ImGui.TableNextRow(); + string text = item.QuestId.ToString(); + Quest quest; + bool flag = _questRegistry.TryGetQuest(item.QuestId, out quest); + if (ImGui.TableNextColumn()) { - ImGui.TextColored(ImGuiColors.DalamudOrange, FontAwesomeIcon.Ban.ToIconString()); + ImGui.AlignTextToFramePadding(); + ImGui.TextUnformatted(text); + } + if (ImGui.TableNextColumn()) + { + ImGui.AlignTextToFramePadding(); + var (col, icon, _) = _uiUtils.GetQuestStyle(item.QuestId); + using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) + { + if (flag) + { + ImGui.TextColored(in col, icon.ToIconString()); + } + else + { + ImGui.TextColored(in UiThemeUtils.StatusUnobtainable, icon.ToIconString()); + } + } + if (ImGui.IsItemHovered()) + { + _questTooltipComponent.Draw(item); + } + } + if (ImGui.TableNextColumn()) + { + ImGui.AlignTextToFramePadding(); + if (quest != null && quest.Root.Disabled) + { + using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) + { + ImGui.TextColored(in UiThemeUtils.StatusActive, FontAwesomeIcon.Ban.ToIconString()); + ImGui.SameLine(); + } + } + UiThemeUtils.RowLabel(item.Name, 0f); + } + if (!ImGui.TableNextColumn()) + { + continue; + } + using (ImRaii.PushId(text)) + { + bool num = UiThemeUtils.IconButton(FontAwesomeIcon.Copy, ImGui.GetFrameHeight()); + if (ImGui.IsItemHovered()) + { + ImGui.SetTooltip("Copy as file name"); + } + if (num) + { + CopyToClipboard(item, suffix: true); + } + else if (ImGui.IsItemClicked(ImGuiMouseButton.Right)) + { + CopyToClipboard(item, suffix: false); + } ImGui.SameLine(); + if (quest == null) + { + continue; + } + EInteractionType? eInteractionType = quest.FindSequence(0)?.LastStep()?.InteractionType; + if (!eInteractionType.HasValue || eInteractionType != EInteractionType.AcceptQuest || !_questFunctions.IsReadyToAcceptQuest(item.QuestId)) + { + continue; + } + using (ImRaii.Disabled(_questController.NextQuest != null || _questController.SimulatedQuest != null || _fateController.IsRunning || _seasonalDutyController.IsRunning || _customDeliveryController.IsRunning || _attunementController.IsRunning)) + { + bool flag2; + using (ImRaii.PushColor(ImGuiCol.Button, UiThemeUtils.PlayButtonColor)) + { + using (ImRaii.PushColor(ImGuiCol.ButtonHovered, UiThemeUtils.PlayButtonHover)) + { + using (ImRaii.PushColor(ImGuiCol.ButtonActive, UiThemeUtils.PlayButtonActive)) + { + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.PlayButtonText)) + { + flag2 = UiThemeUtils.IconButton(FontAwesomeIcon.Play, ImGui.GetFrameHeight()); + } + } + } + } + if (ImGui.IsItemHovered()) + { + ImGui.SetTooltip("Start as next quest"); + } + if (flag2) + { + _fateController.Stop("Quest selection start"); + _seasonalDutyController.Stop("Quest selection start"); + _customDeliveryController.Stop("Quest selection start"); + _attunementController.Stop("Quest selection start"); + _questController.SetNextQuest(quest); + if (!_questController.ManualPriorityQuests.Contains(quest)) + { + _questController.ManualPriorityQuests.Insert(0, quest); + } + _questController.Start("QuestSelectionWindow"); + } + ImGui.SameLine(); + bool num2 = UiThemeUtils.IconButton(FontAwesomeIcon.AngleDoubleRight, ImGui.GetFrameHeight()); + if (ImGui.IsItemHovered()) + { + ImGui.SetTooltip("Set as next quest"); + } + if (num2) + { + _questController.SetNextQuest(quest); + } + } } } - ImGui.TextUnformatted(item.Name); - } - if (!ImGui.TableNextColumn()) - { - continue; - } - using (ImRaii.PushId(text)) - { - bool num = ImGuiComponents.IconButton(FontAwesomeIcon.Copy); - if (ImGui.IsItemHovered()) - { - ImGui.SetTooltip("Copy as file name"); - } - if (num) - { - CopyToClipboard(item, suffix: true); - } - else if (ImGui.IsItemClicked(ImGuiMouseButton.Right)) - { - CopyToClipboard(item, suffix: false); - } - ImGui.SameLine(); - if (quest == null) - { - continue; - } - EInteractionType? eInteractionType = quest.FindSequence(0)?.LastStep()?.InteractionType; - if (!eInteractionType.HasValue || eInteractionType != EInteractionType.AcceptQuest || !_questFunctions.IsReadyToAcceptQuest(item.QuestId)) - { - continue; - } - ImGui.BeginDisabled(_questController.NextQuest != null || _questController.SimulatedQuest != null); - bool num2 = ImGuiComponents.IconButton(FontAwesomeIcon.Play); - if (ImGui.IsItemHovered()) - { - ImGui.SetTooltip("Start as next quest"); - } - if (num2) - { - _questController.SetNextQuest(quest); - if (!_questController.ManualPriorityQuests.Contains(quest)) - { - _questController.ManualPriorityQuests.Insert(0, quest); - } - _questController.Start("QuestSelectionWindow"); - } - ImGui.SameLine(); - bool num3 = ImGuiComponents.IconButton(FontAwesomeIcon.AngleDoubleRight); - if (ImGui.IsItemHovered()) - { - ImGui.SetTooltip("Set as next quest"); - } - if (num3) - { - _questController.SetNextQuest(quest); - } - ImGui.EndDisabled(); } } + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); } private void CopyToClipboard(IQuestInfo quest, bool suffix) diff --git a/Questionable/Questionable.Windows/QuestSequenceWindow.cs b/Questionable/Questionable.Windows/QuestSequenceWindow.cs index 4e20623..b480a49 100644 --- a/Questionable/Questionable.Windows/QuestSequenceWindow.cs +++ b/Questionable/Questionable.Windows/QuestSequenceWindow.cs @@ -1,6 +1,6 @@ using System.Numerics; +using System.Runtime.CompilerServices; using Dalamud.Bindings.ImGui; -using Dalamud.Interface.Utility.Raii; using Dalamud.Interface.Windowing; using Dalamud.Plugin; using LLib.ImGui; @@ -9,7 +9,7 @@ using Questionable.Windows.QuestComponents; namespace Questionable.Windows; -internal sealed class QuestSequenceWindow : LWindow, IPersistableWindowConfig +internal sealed class QuestSequenceWindow : ThemedWindow, IPersistableWindowConfig { private readonly IDalamudPluginInterface _pluginInterface; @@ -19,6 +19,8 @@ internal sealed class QuestSequenceWindow : LWindow, IPersistableWindowConfig private bool _selectLookupTabNextFrame; + private int _selectedTab; + public WindowConfig WindowConfig => _configuration.QuestSequenceWindowConfig; public QuestSequenceWindow(IDalamudPluginInterface pluginInterface, Configuration configuration, QuestSequenceComponent questSequenceComponent) @@ -50,42 +52,33 @@ internal sealed class QuestSequenceWindow : LWindow, IPersistableWindowConfig public override void DrawContent() { - bool isOpen = base.IsOpen; + bool isOpen = true; QuestSequenceComponent.DrawCustomHeader(ref isOpen); - base.IsOpen = isOpen; - ImGui.Spacing(); - ImGui.Spacing(); - using (ImRaii.PushColor(ImGuiCol.Tab, new Vector4(0.15f, 0.13f, 0.2f, 0.7f))) + if (!isOpen) { - using (ImRaii.PushColor(ImGuiCol.TabHovered, new Vector4(0.35f, 0.3f, 0.45f, 0.9f))) - { - using (ImRaii.PushColor(ImGuiCol.TabActive, new Vector4(0.28f, 0.24f, 0.35f, 1f))) - { - using ImRaii.TabBarDisposable tabBarDisposable = ImRaii.TabBar("QuestSequenceTabs", ImGuiTabBarFlags.None); - if (!tabBarDisposable) - { - return; - } - using (ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Current Quest", ImGuiTabItemFlags.None)) - { - if ((bool)tabItemDisposable) - { - ImGui.Spacing(); - _questSequenceComponent.DrawCurrentQuestTab(); - } - } - ImGuiTabItemFlags flags = (_selectLookupTabNextFrame ? ImGuiTabItemFlags.SetSelected : ImGuiTabItemFlags.None); - using (ImRaii.TabItemDisposable tabItemDisposable2 = ImRaii.TabItem("Quest Lookup", flags)) - { - if ((bool)tabItemDisposable2) - { - ImGui.Spacing(); - _questSequenceComponent.DrawQuestLookupTab(); - } - } - _selectLookupTabNextFrame = false; - } - } + RequestClose(); + } + ImGui.Spacing(); + ImGui.Spacing(); + if (_selectLookupTabNextFrame) + { + _selectedTab = 1; + _selectLookupTabNextFrame = false; + } + InlineArray2 buffer = default(InlineArray2); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 0) = "Current Quest"; + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 1) = "Quest Lookup"; + _selectedTab = UiThemeUtils.DrawTabBar(global::_003CPrivateImplementationDetails_003E.InlineArrayAsReadOnlySpan, string>(in buffer, 2), _selectedTab); + switch (_selectedTab) + { + case 0: + ImGui.Spacing(); + _questSequenceComponent.DrawCurrentQuestTab(); + break; + case 1: + ImGui.Spacing(); + _questSequenceComponent.DrawQuestLookupTab(); + break; } QuestSequenceComponent.DrawWindowBorder(); } diff --git a/Questionable/Questionable.Windows/QuestValidationWindow.cs b/Questionable/Questionable.Windows/QuestValidationWindow.cs index 0b75078..97e1372 100644 --- a/Questionable/Questionable.Windows/QuestValidationWindow.cs +++ b/Questionable/Questionable.Windows/QuestValidationWindow.cs @@ -7,7 +7,7 @@ using Questionable.Windows.QuestComponents; namespace Questionable.Windows; -internal sealed class QuestValidationWindow : LWindow, IPersistableWindowConfig +internal sealed class QuestValidationWindow : ThemedWindow, IPersistableWindowConfig { private readonly IDalamudPluginInterface _pluginInterface; @@ -43,6 +43,8 @@ internal sealed class QuestValidationWindow : LWindow, IPersistableWindowConfig public override void DrawContent() { + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); _questValidationComponent.Draw(); + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); } } diff --git a/Questionable/Questionable.Windows/QuestWindow.cs b/Questionable/Questionable.Windows/QuestWindow.cs index ba096c6..089ef47 100644 --- a/Questionable/Questionable.Windows/QuestWindow.cs +++ b/Questionable/Questionable.Windows/QuestWindow.cs @@ -1,11 +1,14 @@ using System; using System.Numerics; +using System.Threading.Tasks; using Dalamud.Bindings.ImGui; +using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Interface; using Dalamud.Interface.Colors; using Dalamud.Interface.Windowing; using Dalamud.Plugin; using Dalamud.Plugin.Services; +using LLib.GameData; using LLib.ImGui; using Questionable.Controller; using Questionable.Controller.GameUi; @@ -14,7 +17,7 @@ using Questionable.Windows.QuestComponents; namespace Questionable.Windows; -internal sealed class QuestWindow : LWindow, IPersistableWindowConfig +internal sealed class QuestWindow : ThemedWindow, IPersistableWindowConfig { private static readonly Version PluginVersion = typeof(QuestionablePlugin).Assembly.GetName().Version; @@ -40,21 +43,33 @@ internal sealed class QuestWindow : LWindow, IPersistableWindowConfig private readonly EventInfoComponent _eventInfoComponent; + private readonly NavigationBarComponent _navigationBarComponent; + private readonly QuickAccessButtonsComponent _quickAccessButtonsComponent; private readonly RemainingTasksComponent _remainingTasksComponent; + private readonly ManualPriorityComponent _manualPriorityComponent; + + private readonly SavedPresetsComponent _savedPresetsComponent; + private readonly IFramework _framework; private readonly InteractionUiController _interactionUiController; private readonly TitleBarButton _minimizeButton; + private int _selectedTab; + + private int _queueSubTab; + public WindowConfig WindowConfig => _configuration.DebugWindowConfig; public bool IsMinimized { get; set; } - public QuestWindow(IDalamudPluginInterface pluginInterface, QuestController questController, IObjectTable objectTable, IClientState clientState, Configuration configuration, TerritoryData territoryData, ActiveQuestComponent activeQuestComponent, ARealmRebornComponent aRealmRebornComponent, EventInfoComponent eventInfoComponent, CreationUtilsComponent creationUtilsComponent, QuickAccessButtonsComponent quickAccessButtonsComponent, RemainingTasksComponent remainingTasksComponent, IFramework framework, InteractionUiController interactionUiController, ConfigWindow configWindow) + public bool IsReloading { get; private set; } + + public QuestWindow(IDalamudPluginInterface pluginInterface, QuestController questController, IObjectTable objectTable, IClientState clientState, Configuration configuration, TerritoryData territoryData, ActiveQuestComponent activeQuestComponent, ARealmRebornComponent aRealmRebornComponent, EventInfoComponent eventInfoComponent, CreationUtilsComponent creationUtilsComponent, NavigationBarComponent navigationBarComponent, QuickAccessButtonsComponent quickAccessButtonsComponent, RemainingTasksComponent remainingTasksComponent, ManualPriorityComponent manualPriorityComponent, SavedPresetsComponent savedPresetsComponent, IFramework framework, InteractionUiController interactionUiController, ConfigWindow configWindow) : base("Questionable v" + PluginVersion.ToString(3) + "###Questionable", ImGuiWindowFlags.AlwaysAutoResize) { QuestWindow questWindow = this; @@ -68,14 +83,17 @@ internal sealed class QuestWindow : LWindow, IPersistableWindowConfig _aRealmRebornComponent = aRealmRebornComponent; _eventInfoComponent = eventInfoComponent; _creationUtilsComponent = creationUtilsComponent; + _navigationBarComponent = navigationBarComponent; _quickAccessButtonsComponent = quickAccessButtonsComponent; _remainingTasksComponent = remainingTasksComponent; + _manualPriorityComponent = manualPriorityComponent; + _savedPresetsComponent = savedPresetsComponent; _framework = framework; _interactionUiController = interactionUiController; base.SizeConstraints = new WindowSizeConstraints { - MinimumSize = new Vector2(240f, 30f), - MaximumSize = default(Vector2) + MinimumSize = new Vector2(350f, 30f), + MaximumSize = new Vector2(350f, 4000f) }; base.RespectCloseHotkey = false; base.AllowClickthrough = false; @@ -94,7 +112,7 @@ internal sealed class QuestWindow : LWindow, IPersistableWindowConfig base.TitleBarButtons.Insert(0, _minimizeButton); base.TitleBarButtons.Add(new TitleBarButton { - Icon = FontAwesomeIcon.Cog, + Icon = FontAwesomeIcon.Sun, IconOffset = new Vector2(1.5f, 1f), Click = delegate { @@ -108,7 +126,7 @@ internal sealed class QuestWindow : LWindow, IPersistableWindowConfig ImGui.EndTooltip(); } }); - _activeQuestComponent.Reload += OnReload; + _activeQuestComponent.OpenQueueTab += SwitchToQueueTab; _quickAccessButtonsComponent.Reload += OnReload; _questController.IsQuestWindowOpenFunction = () => questWindow.IsOpen; } @@ -143,7 +161,7 @@ internal sealed class QuestWindow : LWindow, IPersistableWindowConfig { return false; } - if (_configuration.General.HideInAllInstances && _territoryData.IsDutyInstance(_clientState.TerritoryType)) + if (_configuration.General.HideInAllInstances && !_configuration.Advanced.ShowWindowInInstances && _territoryData.IsDutyInstance(_clientState.TerritoryType)) { return false; } @@ -154,32 +172,101 @@ internal sealed class QuestWindow : LWindow, IPersistableWindowConfig { try { - _activeQuestComponent.Draw(IsMinimized); - if (!IsMinimized) + EClassJob valueOrDefault = ((EClassJob?)(_objectTable[0] as ICharacter)?.ClassJob.RowId).GetValueOrDefault(); + if (valueOrDefault.IsLimitedJob()) { + UiThemeUtils.WrappedTextColored(ImGuiColors.DalamudYellow, valueOrDefault.ToFriendlyString() + " is a limited job. Some quests may be unavailable."); ImGui.Separator(); - if (_aRealmRebornComponent.ShouldDraw) - { - _aRealmRebornComponent.Draw(); - ImGui.Separator(); - } - if (_eventInfoComponent.ShouldDraw) - { - _eventInfoComponent.Draw(); - ImGui.Separator(); - } - _creationUtilsComponent.Draw(); - ImGui.Separator(); - _quickAccessButtonsComponent.Draw(); - _remainingTasksComponent.Draw(); + } + if (IsMinimized) + { + _activeQuestComponent.Draw(isMinimized: true); + return; + } + _selectedTab = UiThemeUtils.DrawTabBar("Quest", "Queue", _selectedTab); + if (_selectedTab == 0) + { + DrawQuestTab(); + } + else + { + DrawQueueTab(); } } catch (Exception ex) { - ImGui.TextColored(ImGuiColors.DalamudRed, ex.ToString()); + UiThemeUtils.WrappedTextColored(ImGuiColors.DalamudRed, ex.ToString()); } } + private void DrawQuestTab() + { + _activeQuestComponent.Draw(isMinimized: false); + UiThemeUtils.SectionSpacing(); + if (_aRealmRebornComponent.ShouldDraw) + { + _aRealmRebornComponent.Draw(); + UiThemeUtils.SectionSpacing(); + } + if (_eventInfoComponent.ShouldDraw) + { + _eventInfoComponent.Draw(); + UiThemeUtils.SectionSpacing(); + } + if (_remainingTasksComponent.Draw()) + { + UiThemeUtils.SectionSpacing(); + } + _quickAccessButtonsComponent.IsReloading = IsReloading; + _quickAccessButtonsComponent.Draw(); + UiThemeUtils.SectionSpacing(); + _navigationBarComponent.Draw(); + } + + private void DrawQueueTab() + { + Vector2 cursorPos = ImGui.GetCursorPos(); + float x = ImGui.GetContentRegionAvail().X; + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + windowDrawList.ChannelsSplit(2); + windowDrawList.ChannelsSetCurrent(1); + ImGui.SetCursorPos(cursorPos + new Vector2(6f, 6f)); + if (UiThemeUtils.PillButton("Manual", _queueSubTab == 0)) + { + _queueSubTab = 0; + } + ImGui.SameLine(); + if (UiThemeUtils.PillButton("Saved", _queueSubTab == 1)) + { + _queueSubTab = 1; + } + Vector2 cursorPos2 = ImGui.GetCursorPos(); + windowDrawList.ChannelsSetCurrent(0); + ImGui.SetCursorPos(cursorPos); + Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); + ImGui.SetCursorPos(new Vector2(cursorPos.X, cursorPos2.Y + 6f - ImGui.GetStyle().ItemSpacing.Y)); + Vector2 cursorScreenPos2 = ImGui.GetCursorScreenPos(); + windowDrawList.AddRectFilled(cursorScreenPos, new Vector2(cursorScreenPos.X + x, cursorScreenPos2.Y), ImGui.ColorConvertFloat4ToU32(UiThemeUtils.CardBackgroundColor), 6f); + windowDrawList.AddRect(cursorScreenPos, new Vector2(cursorScreenPos.X + x, cursorScreenPos2.Y), ImGui.ColorConvertFloat4ToU32(UiThemeUtils.CardBorderColor), 6f, ImDrawFlags.None, 1f); + windowDrawList.ChannelsMerge(); + ImGui.SetCursorPos(new Vector2(cursorPos.X, cursorPos2.Y + 6f)); + UiThemeUtils.SectionSpacing(); + switch (_queueSubTab) + { + case 0: + _manualPriorityComponent.DrawCompact(); + break; + case 1: + _savedPresetsComponent.Draw(); + break; + } + } + + public void SwitchToQueueTab() + { + _selectedTab = 1; + } + private void OnReload(object? sender, EventArgs e) { Reload(); @@ -187,10 +274,25 @@ internal sealed class QuestWindow : LWindow, IPersistableWindowConfig internal void Reload() { - _questController.Reload(); - _framework.RunOnTick(delegate + if (IsReloading) { - _interactionUiController.HandleCurrentDialogueChoices(); - }, TimeSpan.FromMilliseconds(200L)); + return; + } + IsReloading = true; + Task.Run(delegate + { + try + { + _questController.Reload(); + } + finally + { + IsReloading = false; + } + _framework.RunOnTick(delegate + { + _interactionUiController.HandleCurrentDialogueChoices(); + }, TimeSpan.FromMilliseconds(200L)); + }); } } diff --git a/Questionable/Questionable.Windows/SeasonalDutySelectionWindow.cs b/Questionable/Questionable.Windows/SeasonalDutySelectionWindow.cs index 2932d0e..34f060e 100644 --- a/Questionable/Questionable.Windows/SeasonalDutySelectionWindow.cs +++ b/Questionable/Questionable.Windows/SeasonalDutySelectionWindow.cs @@ -6,21 +6,19 @@ using System.Numerics; using System.Runtime.CompilerServices; using Dalamud.Bindings.ImGui; using Dalamud.Interface; -using Dalamud.Interface.Colors; -using Dalamud.Interface.Components; using Dalamud.Interface.Utility.Raii; using Dalamud.Interface.Windowing; -using LLib.ImGui; using Questionable.Controller; using Questionable.Data; using Questionable.Functions; using Questionable.Model; using Questionable.Model.Questing; using Questionable.Windows.QuestComponents; +using Questionable.Windows.Utils; namespace Questionable.Windows; -internal sealed class SeasonalDutySelectionWindow : LWindow +internal sealed class SeasonalDutySelectionWindow : ThemedWindow { private readonly SeasonalDutyController _seasonalDutyController; @@ -30,6 +28,10 @@ internal sealed class SeasonalDutySelectionWindow : LWindow private readonly FateController _fateController; + private readonly CustomDeliveryController _customDeliveryController; + + private readonly AttunementController _attunementController; + private readonly MovementController _movementController; private readonly QuestFunctions _questFunctions; @@ -40,13 +42,17 @@ internal sealed class SeasonalDutySelectionWindow : LWindow private int _cycleLimit; - public SeasonalDutySelectionWindow(SeasonalDutyController seasonalDutyController, SeasonalDutyDefinitionRegistry seasonalDutyDefinitionRegistry, QuestController questController, FateController fateController, MovementController movementController, QuestFunctions questFunctions, QuestData questData, TerritoryData territoryData) + private string _searchText = string.Empty; + + public SeasonalDutySelectionWindow(SeasonalDutyController seasonalDutyController, SeasonalDutyDefinitionRegistry seasonalDutyDefinitionRegistry, QuestController questController, FateController fateController, CustomDeliveryController customDeliveryController, AttunementController attunementController, MovementController movementController, QuestFunctions questFunctions, QuestData questData, TerritoryData territoryData) : base("Seasonal Duty Farming###QuestionableSeasonalDutyFarming") { _seasonalDutyController = seasonalDutyController; _seasonalDutyDefinitionRegistry = seasonalDutyDefinitionRegistry; _questController = questController; _fateController = fateController; + _customDeliveryController = customDeliveryController; + _attunementController = attunementController; _movementController = movementController; _questFunctions = questFunctions; _questData = questData; @@ -64,92 +70,45 @@ internal sealed class SeasonalDutySelectionWindow : LWindow { if (_seasonalDutyController.IsRunning) { - DrawRunningHeader(); + if (CycleSelectionUi.DrawRunningBanner(BuildRunningStatusText(), UiThemeUtils.StatusComplete, FontAwesomeIcon.Play)) + { + _seasonalDutyController.Stop("UI stop"); + _movementController.Stop(); + } } else { + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + UiThemeUtils.SectionHeader("Cycle Configuration"); DrawControlsStrip(); + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); } if (_seasonalDutyDefinitionRegistry.Definitions.Count == 0) { - DrawEmptyState(); - } - else - { - DrawDutyTable(); + UiThemeUtils.EmptyState(FontAwesomeIcon.Leaf, "No Seasonal Duty Definitions", "Add definitions to the SeasonalDutyPaths folder to get started."); + return; } + UiThemeUtils.SectionSpacing(); + var (contentStartPos2, availableWidth2, drawList2) = UiThemeUtils.BeginCard(); + UiThemeUtils.SectionHeader("Duty List"); + UiThemeUtils.SearchInput("##SeasonalDutySearch", ref _searchText, -13f, "Search duties..."); + ImGui.Spacing(); + DrawDutyTable(); + UiThemeUtils.EndCard(contentStartPos2, availableWidth2, drawList2); } - private void DrawRunningHeader() + private string BuildRunningStatusText() { - Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); - float x = ImGui.GetContentRegionAvail().X; - float num = ImGui.GetTextLineHeightWithSpacing() * 3f + ImGui.GetStyle().ItemSpacing.Y * 3f; - ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); - windowDrawList.AddRectFilledMultiColor(cursorScreenPos, cursorScreenPos + new Vector2(x, num), ImGui.ColorConvertFloat4ToU32(new Vector4(0.18f, 0.26f, 0.2f, 0.85f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.14f, 0.22f, 0.16f, 0.85f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.14f, 0.22f, 0.16f, 0.85f)), ImGui.ColorConvertFloat4ToU32(new Vector4(0.18f, 0.26f, 0.2f, 0.85f))); - windowDrawList.AddLine(cursorScreenPos + new Vector2(0f, num), cursorScreenPos + new Vector2(x, num), ImGui.ColorConvertFloat4ToU32(new Vector4(0.3f, 0.8f, 0.4f, 0.5f)), 2f); - ImGui.SetCursorPosY(ImGui.GetCursorPosY() + ImGui.GetStyle().ItemSpacing.Y); - ImGui.SetCursorPosX(ImGui.GetCursorPosX() + 8f); - float num2 = (float)ImGui.GetTime(); - float num3 = 0.85f + MathF.Sin(num2 * 3f) * 0.15f; - Vector4 col = new Vector4(0f, 1f * num3, 0.3f * num3, 1f); - using (ImRaii.PushFont(UiBuilder.IconFont)) - { - ImGui.TextColored(in col, FontAwesomeIcon.Leaf.ToIconString()); - } - ImGui.SameLine(); - ImGui.TextColored(ImGuiColors.ParsedGreen, _seasonalDutyController.CurrentDuty.Name); - ImGui.SameLine(x - 35f); - using (ImRaii.PushColor(ImGuiCol.Button, Vector4.Zero)) - { - using (ImRaii.PushColor(ImGuiCol.ButtonHovered, new Vector4(0.8f, 0.3f, 0.3f, 0.4f))) - { - using (ImRaii.PushColor(ImGuiCol.ButtonActive, new Vector4(0.9f, 0.2f, 0.2f, 0.6f))) - { - if (ImGuiComponents.IconButton(FontAwesomeIcon.Stop)) - { - _seasonalDutyController.Stop("UI stop"); - _movementController.Stop(); - } - } - } - } - ImGui.SetCursorPosX(ImGui.GetCursorPosX() + 8f); string value = (_seasonalDutyController.CycleLimit.HasValue ? $"Cycle {_seasonalDutyController.CompletedCycles + 1} / {_seasonalDutyController.CycleLimit}" : $"Cycle {_seasonalDutyController.CompletedCycles + 1}"); string value2 = FormatElapsed(_seasonalDutyController.ElapsedTime); IList remainingTaskNames = _seasonalDutyController.GetRemainingTaskNames(); - string text = ((remainingTaskNames.Count > 0) ? remainingTaskNames.First() : ""); + string text = ((remainingTaskNames.Count > 0) ? remainingTaskNames[0] : ""); + string name = _seasonalDutyController.CurrentDuty.Name; if (text.Length > 0) { - Vector4 col2 = ImGuiColors.DalamudGrey3; - ImU8String text2 = new ImU8String(10, 3); - text2.AppendFormatted(value); - text2.AppendLiteral(" · "); - text2.AppendFormatted(value2); - text2.AppendLiteral(" · "); - text2.AppendFormatted(text); - ImGui.TextColored(in col2, text2); + return $"{name} · {value} · {value2} · {text}"; } - else - { - Vector4 col2 = ImGuiColors.DalamudGrey3; - ImU8String text3 = new ImU8String(5, 2); - text3.AppendFormatted(value); - text3.AppendLiteral(" · "); - text3.AppendFormatted(value2); - ImGui.TextColored(in col2, text3); - } - ImGui.SetCursorPosX(ImGui.GetCursorPosX() + 8f); - using (ImRaii.Disabled(disabled: true)) - { - ImGui.AlignTextToFramePadding(); - ImGui.TextUnformatted("Cycles:"); - ImGui.SameLine(); - ImGui.SetNextItemWidth(100f); - ImGui.InputInt("##CycleLimitRunning", ref _cycleLimit, 1, 5); - } - ImGui.SetCursorPosY(cursorScreenPos.Y + num - ImGui.GetCursorScreenPos().Y + ImGui.GetCursorPosY() + 4f); - ImGui.Spacing(); + return $"{name} · {value} · {value2}"; } private void DrawControlsStrip() @@ -159,57 +118,26 @@ internal sealed class SeasonalDutySelectionWindow : LWindow ImGui.AlignTextToFramePadding(); ImGui.TextUnformatted("Cycles:"); ImGui.SameLine(); - ImGui.SetNextItemWidth(100f); + ImGui.SetNextItemWidth(100f * ImGui.GetIO().FontGlobalScale); ImGui.InputInt("##CycleLimit", ref _cycleLimit, 1, 5); if (_cycleLimit < 0) { _cycleLimit = 0; } ImGui.SameLine(); - ImGui.TextColored(ImGuiColors.DalamudGrey, (_cycleLimit == 0) ? "(unlimited)" : ""); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, (_cycleLimit == 0) ? "(unlimited)" : ""); } ImGui.Spacing(); } - private static void DrawEmptyState() - { - float y = ImGui.GetContentRegionAvail().Y; - float x = ImGui.GetContentRegionAvail().X; - ImGui.SetCursorPosY(ImGui.GetCursorPosY() + y * 0.25f); - Vector4 col = new Vector4(0.3f, 0.65f, 0.4f, 0.7f); - Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); - ImGui.PushFont(UiBuilder.IconFont); - string text = FontAwesomeIcon.Search.ToIconString(); - Vector2 vector = ImGui.CalcTextSize(text); - vector *= 2.5f; - ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); - Vector2 vector2 = new Vector2(x * 0.5f, 0f) + cursorScreenPos + new Vector2(0f, vector.Y * 0.5f); - for (int num = 3; num > 0; num--) - { - Vector4 col2 = new Vector4(col.X, col.Y, col.Z, col.W * 0.1f * (float)num); - ImGui.SetCursorScreenPos(vector2 - vector * 0.5f - new Vector2(num * 2, num * 2)); - ImGui.TextColored(in col2, text); - } - ImGui.SetCursorScreenPos(vector2 - vector * 0.5f); - ImGui.TextColored(in col, text); - ImGui.PopFont(); - ImGui.SetCursorPosY(ImGui.GetCursorPosY() + vector.Y * 0.5f + 20f); - string text2 = "No Seasonal Duty Definitions"; - Vector2 vector3 = ImGui.CalcTextSize(text2); - Vector2 vector4 = new Vector2((x - vector3.X) * 0.5f, 0f) + ImGui.GetCursorScreenPos(); - windowDrawList.AddText(vector4 + new Vector2(1f, 1f), ImGui.ColorConvertFloat4ToU32(new Vector4(0f, 0f, 0f, 0.5f)), text2); - ImGui.SetCursorPosX((x - vector3.X) * 0.5f); - ImGui.TextColored(new Vector4(0.95f, 0.95f, 1f, 1f), text2); - ImGui.Spacing(); - ImGui.Spacing(); - string text3 = "Add definitions to the SeasonalDutyPaths folder to get started."; - ImGui.SetCursorPosX((x - ImGui.CalcTextSize(text3).X) * 0.5f); - ImGui.TextColored(new Vector4(0.7f, 0.7f, 0.8f, 1f), text3); - } - private void DrawDutyTable() { - List list = _seasonalDutyDefinitionRegistry.Definitions.Values.OrderBy(delegate(SeasonalDutyDefinition d) + IEnumerable source = _seasonalDutyDefinitionRegistry.Definitions.Values; + if (!string.IsNullOrWhiteSpace(_searchText)) + { + source = source.Where((SeasonalDutyDefinition d) => d.Name.Contains(_searchText, StringComparison.OrdinalIgnoreCase) || (_territoryData.GetName(d.TerritoryId) ?? d.Name).Contains(_searchText, StringComparison.OrdinalIgnoreCase)); + } + List list = source.OrderBy(delegate(SeasonalDutyDefinition d) { DateTime? eventExpiry = d.EventExpiry; if (eventExpiry.HasValue) @@ -236,7 +164,12 @@ internal sealed class SeasonalDutySelectionWindow : LWindow return double.MaxValue; }).ThenBy((SeasonalDutyDefinition d) => d.Name, StringComparer.OrdinalIgnoreCase) .ToList(); - using ImRaii.TableDisposable tableDisposable = ImRaii.Table("SeasonalDutyTable", 4, ImGuiTableFlags.SizingStretchProp | ImGuiTableFlags.RowBg | ImGuiTableFlags.BordersInnerH | ImGuiTableFlags.ScrollY); + if (list.Count == 0) + { + UiThemeUtils.EmptyState(FontAwesomeIcon.Search, "No duties match your search."); + return; + } + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable("SeasonalDutyTable", 4, ImGuiTableFlags.SizingStretchProp | ImGuiTableFlags.ScrollY); if (!tableDisposable) { return; @@ -252,9 +185,7 @@ internal sealed class SeasonalDutySelectionWindow : LWindow bool flag = _seasonalDutyController.IsRunning && _seasonalDutyController.CurrentDuty == item; if (flag) { - float num = (float)ImGui.GetTime(); - float w = 0.1f + MathF.Sin(num * 2.5f) * 0.05f; - ImGui.TableSetBgColor(ImGuiTableBgTarget.RowBg1, ImGui.GetColorU32(new Vector4(0f, 0.85f, 0.3f, w))); + ImGui.TableSetBgColor(ImGuiTableBgTarget.RowBg0, ImGui.ColorConvertFloat4ToU32(UiThemeUtils.AccentDimColor)); } ImGui.TableNextColumn(); DrawDutyRowName(item, flag); @@ -263,7 +194,7 @@ internal sealed class SeasonalDutySelectionWindow : LWindow ImGui.TableNextColumn(); DrawDutyRowExpiry(item); ImGui.TableNextColumn(); - bool disabled = _seasonalDutyController.IsRunning || _fateController.IsRunning || _questController.AutomationType != QuestController.EAutomationType.Manual; + bool disabled = _seasonalDutyController.IsRunning || _fateController.IsRunning || _customDeliveryController.IsRunning || _attunementController.IsRunning || _questController.AutomationType != QuestController.EAutomationType.Manual; DrawDutyRowActions(item, disabled); } } @@ -272,9 +203,7 @@ internal sealed class SeasonalDutySelectionWindow : LWindow { if (isActive) { - float num = (float)ImGui.GetTime(); - float num2 = 0.85f + MathF.Sin(num * 3f) * 0.15f; - ImGui.TextColored(new Vector4(0f, 1f * num2, 0.3f * num2, 1f), duty.Name); + ImGui.TextColored(in UiThemeUtils.AccentColor, duty.Name); } else { @@ -286,15 +215,14 @@ internal sealed class SeasonalDutySelectionWindow : LWindow } using (ImRaii.Tooltip()) { - ImGui.TextColored(ImGuiColors.DalamudWhite, duty.Name); + ImGui.TextColored(in UiThemeUtils.PrimaryTextColor, duty.Name); ImGui.Separator(); ImGui.Spacing(); string nameAndId = _territoryData.GetNameAndId(duty.TerritoryId); - Vector4 col = ImGuiColors.DalamudGrey; ImU8String text = new ImU8String(6, 1); text.AppendLiteral("Zone: "); text.AppendFormatted(nameAndId); - ImGui.TextColored(in col, text); + ImGui.TextColored(in UiThemeUtils.DimTextColor, text); DateTime? eventExpiry = duty.EventExpiry; if (eventExpiry.HasValue) { @@ -303,7 +231,7 @@ internal sealed class SeasonalDutySelectionWindow : LWindow if (timeSpan > TimeSpan.Zero) { string text2 = EventInfoComponent.FormatRemainingFull(timeSpan); - ImGui.TextColored(ImGuiColors.DalamudOrange, text2); + ImGui.TextColored(in UiThemeUtils.StatusActive, text2); } } } @@ -319,16 +247,16 @@ internal sealed class SeasonalDutySelectionWindow : LWindow if (timeSpan > TimeSpan.Zero) { string text = EventInfoComponent.FormatRemainingDays(timeSpan); - ImGui.TextColored((timeSpan.TotalDays < 3.0) ? ImGuiColors.DalamudOrange : ImGuiColors.DalamudGrey, text); + ImGui.TextColored((timeSpan.TotalDays < 3.0) ? UiThemeUtils.StatusActive : UiThemeUtils.DimTextColor, text); } else { - ImGui.TextColored(ImGuiColors.DalamudGrey3, "Expired"); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, "Expired"); } } else { - ImGui.TextColored(ImGuiColors.DalamudGrey3, "--"); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, "--"); } } @@ -344,7 +272,7 @@ internal sealed class SeasonalDutySelectionWindow : LWindow { using (ImRaii.PushFont(UiBuilder.IconFont)) { - ImGui.TextColored(ImGuiColors.DalamudRed, FontAwesomeIcon.Times.ToIconString()); + ImGui.TextColored(in UiThemeUtils.StatusLocked, FontAwesomeIcon.Times.ToIconString()); } if (ImGui.IsItemHovered()) { @@ -360,13 +288,27 @@ internal sealed class SeasonalDutySelectionWindow : LWindow } using (ImRaii.Disabled(disabled)) { - if (ImGuiComponents.IconButton(FontAwesomeIcon.Play)) + using (ImRaii.PushColor(ImGuiCol.Button, UiThemeUtils.PlayButtonColor)) { - _questController.Stop("Seasonal duty farming start"); - _fateController.Stop("Seasonal duty farming start"); - _movementController.Stop(); - int? cycleLimit = ((_cycleLimit > 0) ? new int?(_cycleLimit) : ((int?)null)); - _seasonalDutyController.Start(duty, cycleLimit); + using (ImRaii.PushColor(ImGuiCol.ButtonHovered, UiThemeUtils.PlayButtonHover)) + { + using (ImRaii.PushColor(ImGuiCol.ButtonActive, UiThemeUtils.PlayButtonActive)) + { + using (ImRaii.PushColor(ImGuiCol.Text, UiThemeUtils.PlayButtonText)) + { + if (UiThemeUtils.IconButton(FontAwesomeIcon.Play, ImGui.GetFrameHeight())) + { + _movementController.Stop(); + _questController.Stop("Seasonal duty farming start"); + _fateController.Stop("Seasonal duty farming start"); + _customDeliveryController.Stop("Seasonal duty farming start"); + _attunementController.Stop("Seasonal duty farming start"); + int? cycleLimit = ((_cycleLimit > 0) ? new int?(_cycleLimit) : ((int?)null)); + _seasonalDutyController.Start(duty, cycleLimit); + } + } + } + } } } if (disabled && ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) @@ -379,6 +321,14 @@ internal sealed class SeasonalDutySelectionWindow : LWindow { ImGui.SetTooltip("Stop FATE farming first"); } + else if (_customDeliveryController.IsRunning) + { + ImGui.SetTooltip("Stop custom delivery first"); + } + else if (_attunementController.IsRunning) + { + ImGui.SetTooltip("Stop attunement first"); + } else { ImGui.SetTooltip("Stop quest automation first"); diff --git a/Questionable/Questionable.Windows/SidebarNav.cs b/Questionable/Questionable.Windows/SidebarNav.cs new file mode 100644 index 0000000..3e67542 --- /dev/null +++ b/Questionable/Questionable.Windows/SidebarNav.cs @@ -0,0 +1,98 @@ +using System; +using System.Numerics; +using Dalamud.Bindings.ImGui; +using Dalamud.Interface; +using Dalamud.Interface.Utility; +using Dalamud.Interface.Utility.Raii; + +namespace Questionable.Windows; + +internal static class SidebarNav +{ + public readonly record struct Item(FontAwesomeIcon Icon, string Label); + + public readonly record struct Group(string Label, Item[] Items); + + private const float RowMargin = 4f; + + private const float IconInset = 6f; + + private const float IconLabelGap = 22f; + + private const float RowRounding = 4f; + + public static int Draw(Group[] groups, int selected, float width = 168f) + { + int result = selected; + using (ImRaii.Child("##qstSidebar", new Vector2(width * ImGuiHelpers.GlobalScale, 0f), border: false)) + { + using (ImRaii.PushId("QstSidebar")) + { + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + float frameHeight = ImGui.GetFrameHeight(); + float fontSize = ImGui.GetFontSize(); + float globalScale = ImGuiHelpers.GlobalScale; + float num = 4f * globalScale; + int num2 = 0; + bool flag = true; + for (int i = 0; i < groups.Length; i++) + { + Group obj = groups[i]; + ImGui.SetCursorPosY(ImGui.GetCursorPosY() + (flag ? 2f : 10f)); + flag = false; + ImGui.SetCursorPosX(ImGui.GetCursorPosX() + num); + ImGui.TextColored(in UiThemeUtils.MutedTextColor, obj.Label.ToUpperInvariant()); + Item[] items = obj.Items; + for (int j = 0; j < items.Length; j++) + { + Item item = items[j]; + bool flag2 = num2 == selected; + ImGui.SetCursorPosX(ImGui.GetCursorPosX() + num); + using (ImRaii.ColorDisposable colorDisposable = ImRaii.PushColor(ImGuiCol.Header, Vector4.Zero)) + { + colorDisposable.Push(ImGuiCol.HeaderHovered, Vector4.Zero); + colorDisposable.Push(ImGuiCol.HeaderActive, Vector4.Zero); + ImU8String label = new ImU8String(6, 1); + label.AppendLiteral("##item"); + label.AppendFormatted(num2); + if (ImGui.Selectable(label, flag2, ImGuiSelectableFlags.None, new Vector2(ImGui.GetContentRegionAvail().X - num, frameHeight))) + { + result = num2; + } + } + bool flag3 = ImGui.IsItemHovered(); + Vector2 itemRectMin = ImGui.GetItemRectMin(); + Vector2 itemRectMax = ImGui.GetItemRectMax(); + float x = ImGui.GetStyle().ItemSpacing.X; + float num3 = MathF.Truncate(x * 0.5f); + itemRectMin.X += num3; + itemRectMax.X -= x - num3; + if (flag2) + { + windowDrawList.AddRectFilled(itemRectMin, itemRectMax, ImGui.ColorConvertFloat4ToU32(UiThemeUtils.AccentDimColor), 4f); + } + else if (flag3) + { + windowDrawList.AddRectFilled(itemRectMin, itemRectMax, ImGui.ColorConvertFloat4ToU32(UiThemeUtils.SubtleHoverColor), 4f); + } + uint col = ImGui.ColorConvertFloat4ToU32(flag2 ? UiThemeUtils.AccentColor : UiThemeUtils.DimTextColor); + string text = item.Icon.ToIconString(); + windowDrawList.AddText(UiBuilder.IconFont, fontSize, new Vector2(itemRectMin.X + 6f * globalScale, itemRectMin.Y + (frameHeight - fontSize) / 2f), col, text); + Vector2 vector = ImGui.CalcTextSize(item.Label); + windowDrawList.AddText(new Vector2(itemRectMin.X + 28f * globalScale, itemRectMin.Y + (frameHeight - vector.Y) / 2f), col, item.Label); + if (flag2) + { + windowDrawList.AddRect(itemRectMin, itemRectMax, ImGui.ColorConvertFloat4ToU32(UiThemeUtils.CardBorderColor), 4f, ImDrawFlags.None, 1f); + } + num2++; + } + } + Vector2 windowPos = ImGui.GetWindowPos(); + Vector2 windowSize = ImGui.GetWindowSize(); + windowDrawList.AddLine(new Vector2(windowPos.X + windowSize.X, windowPos.Y), new Vector2(windowPos.X + windowSize.X, windowPos.Y + windowSize.Y), ImGui.ColorConvertFloat4ToU32(UiThemeUtils.CardBorderColor), 1f); + } + } + ImGui.SameLine(); + return result; + } +} diff --git a/Questionable/Questionable.Windows/ThemedWindow.cs b/Questionable/Questionable.Windows/ThemedWindow.cs new file mode 100644 index 0000000..2457dc9 --- /dev/null +++ b/Questionable/Questionable.Windows/ThemedWindow.cs @@ -0,0 +1,116 @@ +using System; +using System.Numerics; +using Dalamud.Bindings.ImGui; +using LLib.ImGui; + +namespace Questionable.Windows; + +internal abstract class ThemedWindow : LWindow +{ + private sealed class ThemeScope(int colors, int styles) : IDisposable + { + private bool _disposed; + + public void Dispose() + { + if (!_disposed) + { + _disposed = true; + if (styles > 0) + { + ImGui.PopStyleVar(styles); + } + if (colors > 0) + { + ImGui.PopStyleColor(colors); + } + } + } + } + + private IDisposable? _theme; + + protected ThemedWindow(string windowName, ImGuiWindowFlags flags = ImGuiWindowFlags.None, bool forceMainWindow = false) + : base(windowName, flags, forceMainWindow) + { + } + + public override void PreDraw() + { + base.PreDraw(); + _theme = PushTheme(); + } + + public override void PostDraw() + { + _theme?.Dispose(); + _theme = null; + base.PostDraw(); + } + + public static IDisposable PushTheme() + { + int colors = 0; + int styles = 0; + C(ImGuiCol.WindowBg, new Vector4(0.08f, 0.06f, 0.12f, 0.94f)); + C(ImGuiCol.ChildBg, new Vector4(0.1f, 0.08f, 0.14f, 0f)); + C(ImGuiCol.PopupBg, new Vector4(0.1f, 0.08f, 0.14f, 0.94f)); + C(ImGuiCol.Border, new Vector4(0.55f, 0.45f, 0.75f, 0.3f)); + C(ImGuiCol.BorderShadow, new Vector4(0f, 0f, 0f, 0f)); + C(ImGuiCol.TitleBg, new Vector4(0.12f, 0.08f, 0.18f, 1f)); + C(ImGuiCol.TitleBgActive, new Vector4(0.2f, 0.15f, 0.3f, 1f)); + C(ImGuiCol.TitleBgCollapsed, new Vector4(0.08f, 0.05f, 0.12f, 0.75f)); + C(ImGuiCol.Text, new Vector4(0.95f, 0.95f, 1f, 1f)); + C(ImGuiCol.TextDisabled, new Vector4(0.5f, 0.45f, 0.6f, 1f)); + C(ImGuiCol.FrameBg, new Vector4(0.25f, 0.2f, 0.35f, 0.7f)); + C(ImGuiCol.FrameBgHovered, new Vector4(0.35f, 0.28f, 0.48f, 0.8f)); + C(ImGuiCol.FrameBgActive, new Vector4(0.45f, 0.35f, 0.6f, 0.9f)); + C(ImGuiCol.ScrollbarBg, new Vector4(0.1f, 0.08f, 0.14f, 0.53f)); + C(ImGuiCol.ScrollbarGrab, new Vector4(0.55f, 0.45f, 0.75f, 0.4f)); + C(ImGuiCol.ScrollbarGrabHovered, new Vector4(0.65f, 0.55f, 0.85f, 0.6f)); + C(ImGuiCol.ScrollbarGrabActive, new Vector4(0.75f, 0.55f, 0.95f, 0.8f)); + C(ImGuiCol.Button, new Vector4(0.35f, 0.3f, 0.55f, 0.65f)); + C(ImGuiCol.ButtonHovered, new Vector4(0.5f, 0.42f, 0.78f, 0.8f)); + C(ImGuiCol.ButtonActive, new Vector4(0.6f, 0.5f, 0.9f, 0.95f)); + C(ImGuiCol.Header, new Vector4(0.2f, 0.18f, 0.28f, 0.6f)); + C(ImGuiCol.HeaderHovered, new Vector4(0.3f, 0.25f, 0.4f, 0.8f)); + C(ImGuiCol.HeaderActive, new Vector4(0.25f, 0.22f, 0.35f, 1f)); + C(ImGuiCol.Separator, new Vector4(0.55f, 0.45f, 0.75f, 0.3f)); + C(ImGuiCol.SeparatorHovered, new Vector4(0.65f, 0.55f, 0.85f, 0.6f)); + C(ImGuiCol.SeparatorActive, new Vector4(0.75f, 0.55f, 0.95f, 0.8f)); + C(ImGuiCol.Tab, new Vector4(0.18f, 0.15f, 0.25f, 0.7f)); + C(ImGuiCol.TabHovered, new Vector4(0.45f, 0.35f, 0.65f, 0.8f)); + C(ImGuiCol.TabActive, new Vector4(0.35f, 0.28f, 0.5f, 1f)); + C(ImGuiCol.CheckMark, new Vector4(0.85f, 0.75f, 1f, 1f)); + C(ImGuiCol.SliderGrab, new Vector4(0.65f, 0.55f, 0.85f, 0.9f)); + C(ImGuiCol.SliderGrabActive, new Vector4(0.75f, 0.55f, 0.95f, 1f)); + C(ImGuiCol.ResizeGrip, new Vector4(0.55f, 0.45f, 0.75f, 0.2f)); + C(ImGuiCol.ResizeGripHovered, new Vector4(0.65f, 0.55f, 0.85f, 0.67f)); + C(ImGuiCol.ResizeGripActive, new Vector4(0.75f, 0.55f, 0.95f, 0.95f)); + C(ImGuiCol.TableHeaderBg, new Vector4(0.15f, 0.12f, 0.22f, 1f)); + C(ImGuiCol.TableBorderStrong, new Vector4(0.55f, 0.45f, 0.75f, 0.3f)); + C(ImGuiCol.TableBorderLight, new Vector4(0.55f, 0.45f, 0.75f, 0.15f)); + C(ImGuiCol.TableRowBg, new Vector4(0f, 0f, 0f, 0f)); + C(ImGuiCol.TableRowBgAlt, new Vector4(0.15f, 0.12f, 0.2f, 0.3f)); + C(ImGuiCol.TextSelectedBg, new Vector4(0.55f, 0.45f, 0.75f, 0.35f)); + C(ImGuiCol.NavHighlight, new Vector4(0.75f, 0.55f, 0.95f, 1f)); + C(ImGuiCol.MenuBarBg, new Vector4(0.12f, 0.1f, 0.18f, 1f)); + S(ImGuiStyleVar.FrameRounding, 4f); + S(ImGuiStyleVar.ChildRounding, 4f); + S(ImGuiStyleVar.PopupRounding, 4f); + S(ImGuiStyleVar.ScrollbarRounding, 6f); + S(ImGuiStyleVar.GrabRounding, 3f); + S(ImGuiStyleVar.TabRounding, 4f); + return new ThemeScope(colors, styles); + void C(ImGuiCol col, Vector4 color) + { + ImGui.PushStyleColor(col, color); + colors++; + } + void S(ImGuiStyleVar var, float val) + { + ImGui.PushStyleVar(var, val); + styles++; + } + } +} diff --git a/Questionable/Questionable.Windows/UiThemeUtils.cs b/Questionable/Questionable.Windows/UiThemeUtils.cs new file mode 100644 index 0000000..c8211ca --- /dev/null +++ b/Questionable/Questionable.Windows/UiThemeUtils.cs @@ -0,0 +1,903 @@ +using System; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; +using Dalamud.Bindings.ImGui; +using Dalamud.Game.Text; +using Dalamud.Interface; +using Dalamud.Interface.Colors; +using Dalamud.Interface.ManagedFontAtlas; +using Dalamud.Interface.Utility; +using Dalamud.Interface.Utility.Raii; + +namespace Questionable.Windows; + +internal static class UiThemeUtils +{ + public readonly record struct GridCheckbox(string Label, bool Value, string? Tooltip = null); + + public const float SpacingInner = 8f; + + public const float SpacingSection = 16f; + + public const float CardPadding = 12f; + + public const float ControlWidth = 260f; + + private static readonly uint AltRowColor = ImGui.ColorConvertFloat4ToU32(new Vector4(0.15f, 0.12f, 0.2f, 0.3f)); + + public static readonly Vector4 CardBackgroundColor = new Vector4(1f, 1f, 1f, 0.035f); + + public static readonly Vector4 AccentColor = new Vector4(0.75f, 0.55f, 0.95f, 1f); + + public static readonly Vector4 AccentDimColor; + + public static readonly Vector4 CardBorderColor; + + public static readonly Vector4 CardBorderHighColor; + + private const float CardRounding = 6f; + + public static readonly Vector4 PrimaryTextColor; + + public static readonly Vector4 DimTextColor; + + public static readonly Vector4 MutedTextColor; + + public static readonly Vector4 PlayButtonColor; + + public static readonly Vector4 PlayButtonHover; + + public static readonly Vector4 PlayButtonActive; + + public static readonly Vector4 PlayButtonText; + + public static readonly Vector4 SubtleHoverColor; + + public static readonly Vector4 SubtleActiveColor; + + public static readonly Vector4 SubtlePressColor; + + public static readonly Vector4 StatusComplete; + + public static readonly Vector4 StatusActive; + + public static readonly Vector4 StatusAvailable; + + public static readonly Vector4 StatusAvailableComplete; + + public static readonly Vector4 StatusLocked; + + public static readonly Vector4 StatusUnobtainable; + + public static readonly Vector4 StatusBlacklisted; + + private static readonly string Ellipsis; + + private static float _cardContentRightInset; + + public const ImGuiTableFlags ThemedTableFlags = ImGuiTableFlags.RowBg | ImGuiTableFlags.BordersInnerH; + + public static void WrappedText(string text) + { + ImGui.PushTextWrapPos(ImGui.GetCursorPosX() + ImGui.GetContentRegionAvail().X); + ImGui.TextUnformatted(text); + ImGui.PopTextWrapPos(); + } + + public static void WrappedTextColored(Vector4 color, string text) + { + using (ImRaii.PushColor(ImGuiCol.Text, color)) + { + WrappedText(text); + } + } + + public static string TruncateToWidth(string text, float maxWidth) + { + if (string.IsNullOrEmpty(text) || maxWidth <= 0f || ImGui.CalcTextSize(text).X <= maxWidth) + { + return text; + } + if (ImGui.CalcTextSize(Ellipsis).X > maxWidth) + { + return Ellipsis; + } + int num = 0; + int num2 = text.Length; + while (num < num2) + { + int num3 = (num + num2 + 1) / 2; + if (ImGui.CalcTextSize(string.Concat(text.AsSpan(0, num3), Ellipsis.AsSpan())).X <= maxWidth) + { + num = num3; + } + else + { + num2 = num3 - 1; + } + } + if (num > 0) + { + return string.Concat(text.AsSpan(0, num), Ellipsis.AsSpan()); + } + return Ellipsis; + } + + public static void RowLabel(string text, float reservedRightWidth) + { + float maxWidth = ImGui.GetContentRegionAvail().X - reservedRightWidth; + ImGui.TextUnformatted(TruncateToWidth(text, maxWidth)); + } + + public static void RowLabel(string text, float reservedRightWidth, Vector4 color) + { + using (ImRaii.PushColor(ImGuiCol.Text, color)) + { + RowLabel(text, reservedRightWidth); + } + } + + public static (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) BeginCard() + { + Vector2 cursorPos = ImGui.GetCursorPos(); + float x = ImGui.GetContentRegionAvail().X; + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + windowDrawList.ChannelsSplit(2); + windowDrawList.ChannelsSetCurrent(1); + ImGui.Indent(12f); + ImGui.SetCursorPosY(cursorPos.Y + 12f); + ImGui.PushItemWidth(-13f); + _cardContentRightInset = 12f; + return (ContentStartPos: cursorPos, AvailableWidth: x, DrawList: windowDrawList); + } + + public static void EndCard(Vector2 contentStartPos, float availableWidth, ImDrawListPtr drawList) + { + ImGui.PopItemWidth(); + ImGui.Unindent(12f); + _cardContentRightInset = 0f; + Vector2 cursorPos = ImGui.GetCursorPos(); + drawList.ChannelsSetCurrent(0); + ImGui.SetCursorPos(contentStartPos); + Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); + ImGui.SetCursorPos(cursorPos + new Vector2(0f, 12f)); + Vector2 cursorScreenPos2 = ImGui.GetCursorScreenPos(); + drawList.AddRectFilled(cursorScreenPos, new Vector2(cursorScreenPos.X + availableWidth, cursorScreenPos2.Y), ImGui.ColorConvertFloat4ToU32(CardBackgroundColor), 6f); + drawList.AddRect(cursorScreenPos, new Vector2(cursorScreenPos.X + availableWidth, cursorScreenPos2.Y), ImGui.ColorConvertFloat4ToU32(CardBorderColor), 6f, ImDrawFlags.None, 1f); + drawList.ChannelsMerge(); + ImGui.SetCursorPos(new Vector2(contentStartPos.X, cursorPos.Y + 12f)); + } + + public static ImRaii.TableDisposable BeginThemedTable(string id, int columns, ImGuiTableFlags extra = ImGuiTableFlags.None) + { + return ImRaii.Table(id, columns, ImGuiTableFlags.RowBg | ImGuiTableFlags.BordersInnerH | extra); + } + + public static void SectionHeader(string title) + { + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); + float textLineHeight = ImGui.GetTextLineHeight(); + windowDrawList.AddRectFilled(cursorScreenPos, new Vector2(cursorScreenPos.X + 3f, cursorScreenPos.Y + textLineHeight), ImGui.ColorConvertFloat4ToU32(AccentColor)); + ImGui.SetCursorPosX(ImGui.GetCursorPosX() + 3f + 6f); + ImGui.TextColored(in PrimaryTextColor, title); + } + + public static void SectionSpacing() + { + ImGui.SetCursorPosY(ImGui.GetCursorPosY() + 16f); + } + + public static void SubSectionHeader(string label) + { + ImGui.Spacing(); + ImGui.TextColored(in DimTextColor, label); + } + + public static void StatusBadge(string text, Vector4 color, FontAwesomeIcon icon) + { + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); + float fontSize = ImGui.GetFontSize(); + string text2 = icon.ToIconString(); + Vector2 vector; + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + vector = ImGui.CalcTextSize(text2); + } + Vector2 vector2 = ImGui.CalcTextSize(text); + float num = 6f; + float num2 = 2f; + float num3 = 4f; + float x = num + vector.X + num3 + vector2.X + num; + float num4 = num2 + MathF.Max(vector.Y, vector2.Y) + num2; + Vector2 pMin = cursorScreenPos; + Vector2 pMax = cursorScreenPos + new Vector2(x, num4); + Vector4 input = new Vector4(color.X, color.Y, color.Z, 0.15f); + float rounding = num4 * 0.5f; + windowDrawList.AddRectFilled(pMin, pMax, ImGui.ColorConvertFloat4ToU32(input), rounding); + Vector2 pos = cursorScreenPos + new Vector2(num, num2); + windowDrawList.AddText(UiBuilder.IconFont, fontSize, pos, ImGui.ColorConvertFloat4ToU32(color), text2); + Vector2 pos2 = cursorScreenPos + new Vector2(num + vector.X + num3, num2); + windowDrawList.AddText(pos2, ImGui.ColorConvertFloat4ToU32(color), text); + ImGui.Dummy(new Vector2(x, num4)); + } + + public static void StatusBanner(string text, Vector4 color, FontAwesomeIcon icon) + { + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); + float fontSize = ImGui.GetFontSize(); + string text2 = icon.ToIconString(); + float x = ImGui.GetContentRegionAvail().X; + Vector2 vector; + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + vector = ImGui.CalcTextSize(text2); + } + Vector2 vector2 = ImGui.CalcTextSize(text); + float y = 12f + MathF.Max(vector.Y, vector2.Y) + 12f; + float num = 6f; + Vector2 pMin = cursorScreenPos; + Vector2 pMax = cursorScreenPos + new Vector2(x, y); + Vector4 input = new Vector4(color.X, color.Y, color.Z, 0.1f); + Vector4 input2 = new Vector4(color.X, color.Y, color.Z, 0.25f); + windowDrawList.AddRectFilled(pMin, pMax, ImGui.ColorConvertFloat4ToU32(input), 6f); + windowDrawList.AddRect(pMin, pMax, ImGui.ColorConvertFloat4ToU32(input2), 6f, ImDrawFlags.None, 1f); + Vector2 pos = cursorScreenPos + new Vector2(12f, 12f); + windowDrawList.AddText(UiBuilder.IconFont, fontSize, pos, ImGui.ColorConvertFloat4ToU32(color), text2); + Vector2 pos2 = cursorScreenPos + new Vector2(12f + vector.X + num, 12f); + windowDrawList.AddText(pos2, ImGui.ColorConvertFloat4ToU32(color), text); + ImGui.Dummy(new Vector2(x, y)); + } + + public static void EmptyState(FontAwesomeIcon icon, string title, string? hint = null) + { + float x = ImGui.GetContentRegionAvail().X; + ImGui.Dummy(new Vector2(0f, 12f)); + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + string text = icon.ToIconString(); + float fontSize = ImGui.GetFontSize() * 1.4f; + Vector2 size; + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + size = ImGui.CalcTextSize(text) * 1.4f; + } + Vector2 pos = ImGui.GetCursorScreenPos() + new Vector2((x - size.X) / 2f, 0f); + windowDrawList.AddText(UiBuilder.IconFont, fontSize, pos, ImGui.ColorConvertFloat4ToU32(MutedTextColor), text); + ImGui.Dummy(size); + ImGui.Spacing(); + ImGui.SetCursorPosX((x - ImGui.CalcTextSize(title).X) / 2f); + ImGui.TextColored(in DimTextColor, title); + if (hint != null) + { + ImGui.Spacing(); + ImGui.SetCursorPosX((x - ImGui.CalcTextSize(hint).X) / 2f); + ImGui.TextColored(in MutedTextColor, hint); + } + ImGui.Dummy(new Vector2(0f, 12f)); + } + + public static void DrawTrackerCount(string formattedText, bool isComplete, bool isEmpty) + { + ImGui.PushFont(UiBuilder.MonoFont); + if (isEmpty) + { + ImGui.TextColored(in StatusUnobtainable, formattedText); + } + else if (isComplete) + { + ImGui.TextColored(in StatusComplete, formattedText); + } + else + { + ImGui.TextUnformatted(formattedText); + } + ImGui.PopFont(); + } + + public static void DrawTrackerGroupCaret(IFontHandle iconFontFixedWidth, bool expanded) + { + ImGui.TableSetBgColor(ImGuiTableBgTarget.RowBg0, ImGui.ColorConvertFloat4ToU32(CardBackgroundColor)); + using (iconFontFixedWidth.Push()) + { + ImGui.TextColored(in AccentColor, (expanded ? FontAwesomeIcon.CaretDown : FontAwesomeIcon.CaretRight).ToIconString()); + } + } + + public static void DrawAltRowBackground(int rowIndex) + { + if (rowIndex % 2 == 0) + { + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); + windowDrawList.AddRectFilled(pMax: new Vector2(cursorScreenPos.X + ImGui.GetContentRegionAvail().X, cursorScreenPos.Y + ImGui.GetTextLineHeightWithSpacing()), pMin: cursorScreenPos, col: AltRowColor); + } + } + + public static void DrawRowBackground(Vector2 topLeft, Vector2 bottomRight) + { + ImGui.GetWindowDrawList().AddRectFilled(topLeft, bottomRight, ImGui.ColorConvertFloat4ToU32(CardBackgroundColor), 3f); + } + + public static bool ThemedAccordion(string id, string label, string? rightText, ref bool open, bool enabled = true) + { + using (ImRaii.PushId(id)) + { + float x = ImGui.GetContentRegionAvail().X - _cardContentRightInset; + float frameHeight = ImGui.GetFrameHeight(); + using (ImRaii.ColorDisposable colorDisposable = ImRaii.PushColor(ImGuiCol.Header, Vector4.Zero)) + { + colorDisposable.Push(ImGuiCol.HeaderHovered, Vector4.Zero); + colorDisposable.Push(ImGuiCol.HeaderActive, Vector4.Zero); + if (ImGui.Selectable("##hdr", selected: false, ImGuiSelectableFlags.None, new Vector2(x, frameHeight)) && enabled) + { + open = !open; + } + } + bool num = enabled && ImGui.IsItemHovered(); + Vector2 itemRectMin = ImGui.GetItemRectMin(); + Vector2 itemRectMax = ImGui.GetItemRectMax(); + float x2 = ImGui.GetStyle().ItemSpacing.X; + float num2 = MathF.Truncate(x2 * 0.5f); + itemRectMin.X += num2; + itemRectMax.X -= x2 - num2; + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + windowDrawList.AddRectFilled(itemRectMin, itemRectMax, ImGui.ColorConvertFloat4ToU32(CardBackgroundColor), 4f); + windowDrawList.AddRect(itemRectMin, itemRectMax, ImGui.ColorConvertFloat4ToU32(CardBorderColor), 4f, ImDrawFlags.None, 1f); + if (num) + { + windowDrawList.AddRectFilled(itemRectMin, itemRectMax, ImGui.ColorConvertFloat4ToU32(SubtleHoverColor), 4f); + } + float fontSize = ImGui.GetFontSize(); + float num3 = itemRectMin.X + 12f; + if (enabled) + { + string text = (open ? FontAwesomeIcon.CaretDown : FontAwesomeIcon.CaretRight).ToIconString(); + Vector2 vector; + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + vector = ImGui.CalcTextSize(text); + } + windowDrawList.AddText(UiBuilder.IconFont, fontSize, new Vector2(num3, itemRectMin.Y + (frameHeight - vector.Y) / 2f), ImGui.ColorConvertFloat4ToU32(AccentColor), text); + } + Vector2 vector2 = ImGui.CalcTextSize(label); + windowDrawList.AddText(new Vector2(num3 + 18f, itemRectMin.Y + (frameHeight - vector2.Y) / 2f), ImGui.ColorConvertFloat4ToU32(enabled ? PrimaryTextColor : DimTextColor), label); + if (!string.IsNullOrEmpty(rightText)) + { + Vector2 vector3; + using (ImRaii.PushFont(UiBuilder.MonoFont)) + { + vector3 = ImGui.CalcTextSize(rightText); + } + float x3 = itemRectMax.X - 12f - vector3.X; + windowDrawList.AddText(UiBuilder.MonoFont, fontSize, new Vector2(x3, itemRectMin.Y + (frameHeight - vector3.Y) / 2f), ImGui.ColorConvertFloat4ToU32(DimTextColor), rightText); + } + return open; + } + } + + public static bool WrappedCheckbox(string label, ref bool value, string? infoTooltip = null) + { + ImU8String label2 = new ImU8String(2, 1); + label2.AppendLiteral("##"); + label2.AppendFormatted(label); + bool result = ImGui.Checkbox(label2, ref value); + ImGui.SameLine(); + if (infoTooltip != null) + { + float x; + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + x = ImGui.CalcTextSize(FontAwesomeIcon.InfoCircle.ToIconString()).X; + } + ImGui.PushTextWrapPos(ImGui.GetCursorPosX() + ImGui.GetContentRegionAvail().X - x - ImGui.GetStyle().ItemSpacing.X); + ImGui.Text(label); + ImGui.PopTextWrapPos(); + ImGui.SameLine(); + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + ImGui.TextColored(in DimTextColor, FontAwesomeIcon.InfoCircle.ToIconString()); + } + if (ImGui.IsItemHovered()) + { + using (ImRaii.Tooltip()) + { + ImGui.PushTextWrapPos(400f); + ImGui.Text(infoTooltip); + ImGui.PopTextWrapPos(); + } + } + } + else + { + ImGui.PushTextWrapPos(0f); + ImGui.Text(label); + ImGui.PopTextWrapPos(); + } + return result; + } + + public static int CheckboxGrid(string id, ReadOnlySpan items, int columns = 2) + { + using (ImRaii.PushId(id)) + { + float x = ImGui.GetContentRegionAvail().X; + float x2 = ImGui.GetStyle().ItemSpacing.X; + float num = 0f; + ReadOnlySpan readOnlySpan = items; + for (int i = 0; i < readOnlySpan.Length; i++) + { + GridCheckbox gridCheckbox = readOnlySpan[i]; + float num2 = ImGui.GetFrameHeight() + x2 + ImGui.CalcTextSize(gridCheckbox.Label).X; + if (gridCheckbox.Tooltip != null) + { + num2 += x2 + ImGui.GetFontSize(); + } + num = MathF.Max(num, num2); + } + while (columns > 1 && num > x / (float)columns) + { + columns--; + } + float num3 = x / (float)columns; + int result = -1; + for (int j = 0; j < items.Length; j++) + { + if (j % columns != 0) + { + ImGui.SameLine(num3 * (float)(j % columns)); + } + bool v = items[j].Value; + ImU8String label = new ImU8String(4, 1); + label.AppendLiteral("##cg"); + label.AppendFormatted(j); + if (ImGui.Checkbox(label, ref v)) + { + result = j; + } + ImGui.SameLine(); + ImGui.TextUnformatted(items[j].Label); + if (items[j].Tooltip != null) + { + ImGui.SameLine(); + InfoIcon(items[j].Tooltip); + } + } + return result; + } + } + + public static bool SearchInput(string id, ref string text, float width = -1E-45f, string hint = "Search...") + { + ImGui.SetNextItemWidth(width); + return ImGui.InputTextWithHint(id, hint, ref text, 256); + } + + public static void InfoIcon(string tooltip) + { + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + ImGui.TextColored(in DimTextColor, FontAwesomeIcon.InfoCircle.ToIconString()); + } + if (ImGui.IsItemHovered()) + { + using (ImRaii.Tooltip()) + { + ImGui.PushTextWrapPos(400f); + ImGui.Text(tooltip); + ImGui.PopTextWrapPos(); + } + } + } + + public static bool AccentSliderInt(string label, ref int value, int min, int max, float width = 250f) + { + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); + float frameHeight = ImGui.GetFrameHeight(); + float num = ((max > min) ? ((float)(value - min) / (float)(max - min)) : 0f); + windowDrawList.AddRectFilled(cursorScreenPos, new Vector2(cursorScreenPos.X + width * num, cursorScreenPos.Y + frameHeight), ImGui.ColorConvertFloat4ToU32(AccentDimColor), 4f); + using (ImRaii.PushColor(ImGuiCol.FrameBg, new Vector4(0.15f, 0.12f, 0.2f, 0.5f))) + { + ImGui.SetNextItemWidth(width); + return ImGui.SliderInt(label, ref value, min, max); + } + } + + public static bool AccentSliderFloat(string label, ref float value, float min, float max, string format = "%.1f", float width = 250f) + { + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); + float frameHeight = ImGui.GetFrameHeight(); + float num = ((max > min) ? ((value - min) / (max - min)) : 0f); + windowDrawList.AddRectFilled(cursorScreenPos, new Vector2(cursorScreenPos.X + width * num, cursorScreenPos.Y + frameHeight), ImGui.ColorConvertFloat4ToU32(AccentDimColor), 4f); + using (ImRaii.PushColor(ImGuiCol.FrameBg, new Vector4(0.15f, 0.12f, 0.2f, 0.5f))) + { + ImGui.SetNextItemWidth(width); + return ImGui.SliderFloat(label, ref value, min, max, format); + } + } + + public static bool ThemedCombo(string label, ref int currentItem, string[] items, int itemCount) + { + using ImRaii.ColorDisposable colorDisposable = ImRaii.PushColor(ImGuiCol.FrameBg, new Vector4(0.15f, 0.12f, 0.2f, 0.65f)); + colorDisposable.Push(ImGuiCol.FrameBgHovered, new Vector4(0.2f, 0.16f, 0.28f, 0.75f)); + colorDisposable.Push(ImGuiCol.FrameBgActive, new Vector4(0.22f, 0.18f, 0.3f, 0.85f)); + string text = ((currentItem >= 0 && currentItem < itemCount) ? items[currentItem] : string.Empty); + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); + float num = ImGui.CalcItemWidth(); + float frameHeight = ImGui.GetFrameHeight(); + bool result = false; + if (ImGui.BeginCombo(label, text, ImGuiComboFlags.NoArrowButton)) + { + Vector4 accentColor = AccentColor; + accentColor.W = 0.35f; + using ImRaii.ColorDisposable colorDisposable2 = ImRaii.PushColor(ImGuiCol.Header, accentColor); + accentColor = AccentColor; + accentColor.W = 0.45f; + colorDisposable2.Push(ImGuiCol.HeaderHovered, accentColor); + accentColor = AccentColor; + accentColor.W = 0.6f; + colorDisposable2.Push(ImGuiCol.HeaderActive, accentColor); + colorDisposable2.Push(ImGuiCol.Text, new Vector4(0.95f, 0.95f, 1f, 1f)); + for (int i = 0; i < itemCount; i++) + { + bool flag = i == currentItem; + if (ImGui.Selectable(items[i], flag)) + { + currentItem = i; + result = true; + } + if (flag) + { + ImGui.SetItemDefaultFocus(); + } + } + ImGui.EndCombo(); + } + float x = ImGui.GetStyle().FramePadding.X; + float num2 = 5f; + float num3 = cursorScreenPos.X + num - x - num2; + float num4 = cursorScreenPos.Y + frameHeight * 0.5f; + windowDrawList.AddTriangleFilled(new Vector2(num3 - num2 * 0.5f, num4 - num2 * 0.4f), new Vector2(num3 + num2 * 0.5f, num4 - num2 * 0.4f), new Vector2(num3, num4 + num2 * 0.5f), ImGui.ColorConvertFloat4ToU32(DimTextColor)); + return result; + } + + public static bool SearchableCombo(string label, ref int currentItem, string[] items, ref string searchText, float width = 250f, string? previewOverride = null) + { + using ImRaii.ColorDisposable colorDisposable = ImRaii.PushColor(ImGuiCol.FrameBg, new Vector4(0.15f, 0.12f, 0.2f, 0.65f)); + colorDisposable.Push(ImGuiCol.FrameBgHovered, new Vector4(0.2f, 0.16f, 0.28f, 0.75f)); + colorDisposable.Push(ImGuiCol.FrameBgActive, new Vector4(0.22f, 0.18f, 0.3f, 0.85f)); + string text = previewOverride ?? ((currentItem >= 0 && currentItem < items.Length) ? items[currentItem] : string.Empty); + ImGui.SetNextItemWidth(width); + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); + float num = ImGui.CalcItemWidth(); + float frameHeight = ImGui.GetFrameHeight(); + bool result = false; + if (ImGui.BeginCombo(label, text, ImGuiComboFlags.NoArrowButton)) + { + Vector4 accentColor = AccentColor; + accentColor.W = 0.35f; + using ImRaii.ColorDisposable colorDisposable2 = ImRaii.PushColor(ImGuiCol.Header, accentColor); + accentColor = AccentColor; + accentColor.W = 0.45f; + colorDisposable2.Push(ImGuiCol.HeaderHovered, accentColor); + accentColor = AccentColor; + accentColor.W = 0.6f; + colorDisposable2.Push(ImGuiCol.HeaderActive, accentColor); + colorDisposable2.Push(ImGuiCol.Text, new Vector4(0.95f, 0.95f, 1f, 1f)); + if (ImGui.IsWindowAppearing()) + { + searchText = string.Empty; + ImGui.SetKeyboardFocusHere(); + } + ImGui.SetNextItemWidth(-1E-45f); + ImGui.InputTextWithHint("##search", "Search...", ref searchText, 256); + ImGui.Separator(); + int num2 = items.Length; + if (!string.IsNullOrEmpty(searchText)) + { + num2 = 0; + for (int i = 0; i < items.Length; i++) + { + if (items[i].Contains(searchText, StringComparison.OrdinalIgnoreCase)) + { + num2++; + } + } + } + float textLineHeightWithSpacing = ImGui.GetTextLineHeightWithSpacing(); + int max = Math.Max(1, (int)(250f * ImGuiHelpers.GlobalScale / textLineHeightWithSpacing)); + float y = (float)Math.Clamp(Math.Max(num2, 1), 1, max) * textLineHeightWithSpacing + 4f; + using (ImRaii.Child("##items", new Vector2(0f, y))) + { + if (num2 == 0) + { + ImGui.TextColored(in MutedTextColor, "No matches"); + } + else + { + for (int j = 0; j < items.Length; j++) + { + if (string.IsNullOrEmpty(searchText) || items[j].Contains(searchText, StringComparison.OrdinalIgnoreCase)) + { + bool flag = j == currentItem; + if (ImGui.Selectable(items[j], flag)) + { + currentItem = j; + result = true; + ImGui.CloseCurrentPopup(); + } + if (flag) + { + ImGui.SetItemDefaultFocus(); + } + } + } + } + } + ImGui.EndCombo(); + } + float x = ImGui.GetStyle().FramePadding.X; + float num3 = 5f; + float num4 = cursorScreenPos.X + num - x - num3; + float num5 = cursorScreenPos.Y + frameHeight * 0.5f; + windowDrawList.AddTriangleFilled(new Vector2(num4 - num3 * 0.5f, num5 - num3 * 0.4f), new Vector2(num4 + num3 * 0.5f, num5 - num3 * 0.4f), new Vector2(num4, num5 + num3 * 0.5f), ImGui.ColorConvertFloat4ToU32(DimTextColor)); + return result; + } + + public static ImRaii.ColorDisposable PushProgressBarColors() + { + ImRaii.ColorDisposable colorDisposable = ImRaii.PushColor(ImGuiCol.PlotHistogram, AccentColor); + colorDisposable.Push(ImGuiCol.FrameBg, new Vector4(1f, 1f, 1f, 0.12f)); + return colorDisposable; + } + + public static void DrawTabUnderline() + { + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + Vector2 itemRectMin = ImGui.GetItemRectMin(); + Vector2 itemRectMax = ImGui.GetItemRectMax(); + windowDrawList.AddRectFilled(new Vector2(itemRectMin.X, itemRectMax.Y - 3f), new Vector2(itemRectMax.X, itemRectMax.Y), ImGui.ColorConvertFloat4ToU32(AccentColor)); + } + + public static int DrawTabBar(string label0, string label1, int selected) + { + InlineArray2 buffer = default(InlineArray2); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 0) = label0; + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 1) = label1; + return DrawTabBar(global::_003CPrivateImplementationDetails_003E.InlineArrayAsReadOnlySpan, string>(in buffer, 2), selected, equalWidth: true); + } + + public static int DrawTabBar(ReadOnlySpan labels, int selected, bool equalWidth = false) + { + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + float x = ImGui.GetContentRegionAvail().X; + float x2 = ImGui.GetStyle().ItemSpacing.X; + float x3 = ImGui.GetCursorScreenPos().X; + int result = selected; + float x4 = 0f; + float x5 = 0f; + float num = 0f; + float num2 = 0f; + float num3 = (equalWidth ? ((x - x2 * (float)(labels.Length - 1)) / (float)labels.Length) : 0f); + Span span = stackalloc float[labels.Length]; + int num4 = 0; + using (ImRaii.PushId("QstTabBar")) + { + using (ImRaii.PushColor(ImGuiCol.Button, Vector4.Zero)) + { + using (ImRaii.PushColor(ImGuiCol.ButtonHovered, SubtleHoverColor)) + { + using (ImRaii.PushColor(ImGuiCol.ButtonActive, SubtleActiveColor)) + { + float num5 = 0f; + for (int i = 0; i < labels.Length; i++) + { + float num6 = (equalWidth ? num3 : (ImGui.CalcTextSize(labels[i]).X + ImGui.GetStyle().FramePadding.X * 2f)); + if (i > 0) + { + if (num5 + x2 + num6 <= x) + { + ImGui.SameLine(); + num5 += x2; + } + else + { + span[num4++] = num2; + num5 = 0f; + } + } + using (ImRaii.PushColor(ImGuiCol.Text, (i == selected) ? AccentColor : DimTextColor)) + { + if (ImGui.Button(labels[i], new Vector2(num6, 0f))) + { + result = i; + } + } + if (i == selected) + { + x4 = ImGui.GetItemRectMin().X; + x5 = ImGui.GetItemRectMax().X; + num = ImGui.GetItemRectMax().Y; + } + num2 = ImGui.GetItemRectMax().Y; + num5 += num6; + } + } + } + } + } + span[num4++] = num2; + for (int j = 0; j < num4; j++) + { + windowDrawList.AddRectFilled(new Vector2(x3, span[j]), new Vector2(x3 + x, span[j] + 2f), ImGui.ColorConvertFloat4ToU32(AccentDimColor)); + } + windowDrawList.AddRectFilled(new Vector2(x4, num), new Vector2(x5, num + 2f), ImGui.ColorConvertFloat4ToU32(AccentColor)); + ImGui.Spacing(); + return result; + } + + public static bool IconButton(FontAwesomeIcon icon, float size) + { + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); + ImU8String label = new ImU8String(2, 1); + label.AppendLiteral("##"); + label.AppendFormatted(icon); + bool result = ImGui.Button(label, new Vector2(size, size)); + string text = icon.ToIconString(); + Vector2 vector; + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + vector = ImGui.CalcTextSize(text); + } + uint colorU = ImGui.GetColorU32(ImGuiCol.Text); + float x = cursorScreenPos.X + (size - vector.X) / 2f; + float y = cursorScreenPos.Y + (size - vector.Y) / 2f; + windowDrawList.AddText(UiBuilder.IconFont, ImGui.GetFontSize(), new Vector2(x, y), colorU, text); + return result; + } + + public static bool IconTextButton(FontAwesomeIcon icon, string text) + { + string text2 = icon.ToIconString(); + Vector2 vector; + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + vector = ImGui.CalcTextSize(text2); + } + Vector2 vector2 = ImGui.CalcTextSize(text); + float num = 6f; + float width = vector.X + num + vector2.X + 2f * ImGui.GetStyle().FramePadding.X; + return IconTextButton(icon, text, width); + } + + public static bool IconTextButton(FontAwesomeIcon icon, string text, float width) + { + ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); + Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); + float frameHeight = ImGui.GetFrameHeight(); + ImU8String label = new ImU8String(2, 1); + label.AppendLiteral("##"); + label.AppendFormatted(text); + bool result = ImGui.Button(label, new Vector2(width, frameHeight)); + string text2 = icon.ToIconString(); + Vector2 vector; + using (ImRaii.PushFont(UiBuilder.IconFont)) + { + vector = ImGui.CalcTextSize(text2); + } + Vector2 vector2 = ImGui.CalcTextSize(text); + float num = 6f; + float num2 = vector.X + num + vector2.X; + float num3 = cursorScreenPos.X + (width - num2) / 2f; + float y = cursorScreenPos.Y + ImGui.GetStyle().FramePadding.Y; + uint colorU = ImGui.GetColorU32(ImGuiCol.Text); + windowDrawList.AddText(UiBuilder.IconFont, ImGui.GetFontSize(), new Vector2(num3, y), colorU, text2); + windowDrawList.AddText(new Vector2(num3 + vector.X + num, y), colorU, text); + return result; + } + + public static bool PillButton(string label, bool selected) + { + float value = ImGui.GetFrameHeight() * 0.5f; + Vector2 framePadding = ImGui.GetStyle().FramePadding; + using (ImRaii.PushStyle(ImGuiStyleVar.FrameRounding, value)) + { + using (ImRaii.PushStyle(ImGuiStyleVar.FramePadding, new Vector2(framePadding.X * 2f, framePadding.Y))) + { + using (ImRaii.PushStyle(ImGuiStyleVar.FrameBorderSize, selected ? 1f : 0f)) + { + using ImRaii.ColorDisposable colorDisposable = new ImRaii.ColorDisposable(); + if (selected) + { + colorDisposable.Push(ImGuiCol.Button, new Vector4(0.55f, 0.35f, 0.8f, 0.3f)); + colorDisposable.Push(ImGuiCol.ButtonHovered, new Vector4(0.55f, 0.35f, 0.8f, 0.4f)); + colorDisposable.Push(ImGuiCol.ButtonActive, new Vector4(0.55f, 0.35f, 0.8f, 0.5f)); + colorDisposable.Push(ImGuiCol.Border, CardBorderColor); + colorDisposable.Push(ImGuiCol.Text, AccentColor); + } + else + { + colorDisposable.Push(ImGuiCol.Button, Vector4.Zero); + colorDisposable.Push(ImGuiCol.ButtonHovered, SubtleHoverColor); + colorDisposable.Push(ImGuiCol.ButtonActive, SubtlePressColor); + colorDisposable.Push(ImGuiCol.Text, MutedTextColor); + } + return ImGui.Button(label); + } + } + } + } + + public static bool DestructiveButton(FontAwesomeIcon icon, string label) + { + bool result; + using (ImRaii.ColorDisposable colorDisposable = ImRaii.PushColor(ImGuiCol.Button, new Vector4(0.55f, 0.2f, 0.2f, 0.45f))) + { + colorDisposable.Push(ImGuiCol.ButtonHovered, new Vector4(0.7f, 0.25f, 0.25f, 0.65f)); + using (ImRaii.Disabled(!ImGui.IsKeyDown(ImGuiKey.ModCtrl))) + { + result = IconTextButton(icon, label); + } + } + if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + { + ImGui.SetTooltip("Hold CTRL to enable."); + } + return result; + } + + public static string CleanSeString(string text) + { + if (string.IsNullOrEmpty(text)) + { + return text; + } + StringBuilder stringBuilder = new StringBuilder(text.Length); + foreach (char c in text) + { + if ((c < '\ue000' || c > '\uf8ff') && (c >= ' ' || c == '\n' || c == '\r' || c == '\t')) + { + stringBuilder.Append(c); + } + } + return stringBuilder.ToString().Trim(); + } + + static UiThemeUtils() + { + Vector4 accentColor = AccentColor; + accentColor.W = 0.12f; + AccentDimColor = accentColor; + accentColor = AccentColor; + accentColor.W = 0.16f; + CardBorderColor = accentColor; + accentColor = AccentColor; + accentColor.W = 0.35f; + CardBorderHighColor = accentColor; + PrimaryTextColor = new Vector4(0.95f, 0.95f, 1f, 1f); + DimTextColor = new Vector4(0.565f, 0.533f, 0.659f, 1f); + MutedTextColor = new Vector4(0.361f, 0.33f, 0.471f, 1f); + PlayButtonColor = new Vector4(0.75f, 0.55f, 0.95f, 1f); + PlayButtonHover = new Vector4(0.8f, 0.65f, 0.97f, 1f); + PlayButtonActive = new Vector4(0.85f, 0.7f, 1f, 1f); + PlayButtonText = new Vector4(0.08f, 0.06f, 0.12f, 1f); + SubtleHoverColor = new Vector4(1f, 1f, 1f, 0.04f); + SubtleActiveColor = new Vector4(1f, 1f, 1f, 0.06f); + SubtlePressColor = new Vector4(1f, 1f, 1f, 0.08f); + StatusComplete = ImGuiColors.ParsedGreen; + StatusActive = ImGuiColors.DalamudYellow; + StatusAvailable = ImGuiColors.DalamudYellow; + StatusAvailableComplete = ImGuiColors.ParsedBlue; + StatusLocked = ImGuiColors.DalamudRed; + StatusUnobtainable = ImGuiColors.DalamudGrey; + StatusBlacklisted = ImGuiColors.DalamudGrey3; + Ellipsis = ((SeIconChar)57434).ToIconString(); + } +} diff --git a/Questionable/Questionable.Windows/UiUtils.cs b/Questionable/Questionable.Windows/UiUtils.cs index 10061ac..cb9ea97 100644 --- a/Questionable/Questionable.Windows/UiUtils.cs +++ b/Questionable/Questionable.Windows/UiUtils.cs @@ -29,58 +29,63 @@ internal sealed class UiUtils { if (_questFunctions.IsQuestAccepted(elementId)) { - return (Color: ImGuiColors.DalamudYellow, Icon: FontAwesomeIcon.PersonWalkingArrowRight, Status: "Active"); + return (Color: UiThemeUtils.StatusActive, Icon: FontAwesomeIcon.PersonWalkingArrowRight, Status: "Active"); } if (elementId is QuestId questId && _questFunctions.IsDailyAlliedSocietyQuestAndAvailableToday(questId)) { if (_questFunctions.IsQuestBlacklisted(questId)) { - return (Color: ImGuiColors.DalamudGrey3, Icon: FontAwesomeIcon.Ban, Status: "Blacklisted"); + return (Color: UiThemeUtils.StatusBlacklisted, Icon: FontAwesomeIcon.Ban, Status: "Blacklisted"); } if (!_questFunctions.IsReadyToAcceptQuest(questId)) { - return (Color: ImGuiColors.ParsedGreen, Icon: FontAwesomeIcon.Check, Status: "Complete"); + return (Color: UiThemeUtils.StatusComplete, Icon: FontAwesomeIcon.Check, Status: "Complete"); } if (_questFunctions.IsQuestComplete(questId)) { - return (Color: ImGuiColors.ParsedBlue, Icon: FontAwesomeIcon.Running, Status: "Available (Complete)"); + return (Color: UiThemeUtils.StatusAvailableComplete, Icon: FontAwesomeIcon.Running, Status: "Available (Complete)"); } - return (Color: ImGuiColors.DalamudYellow, Icon: FontAwesomeIcon.Running, Status: "Available"); + return (Color: UiThemeUtils.StatusAvailable, Icon: FontAwesomeIcon.Running, Status: "Available"); } if (_questFunctions.IsQuestAcceptedOrComplete(elementId)) { - return (Color: ImGuiColors.ParsedGreen, Icon: FontAwesomeIcon.Check, Status: "Complete"); + return (Color: UiThemeUtils.StatusComplete, Icon: FontAwesomeIcon.Check, Status: "Complete"); } if (_questFunctions.IsQuestUnobtainable(elementId)) { - return (Color: ImGuiColors.DalamudGrey, Icon: FontAwesomeIcon.Minus, Status: "Unobtainable"); + return (Color: UiThemeUtils.StatusUnobtainable, Icon: FontAwesomeIcon.Minus, Status: "Unobtainable"); } if (_questFunctions.IsQuestBlacklisted(elementId)) { - return (Color: ImGuiColors.DalamudGrey3, Icon: FontAwesomeIcon.Ban, Status: "Blacklisted"); + return (Color: UiThemeUtils.StatusBlacklisted, Icon: FontAwesomeIcon.Ban, Status: "Blacklisted"); } if (_questFunctions.IsQuestLocked(elementId) || !_questFunctions.IsReadyToAcceptQuest(elementId) || !_questRegistry.IsKnownQuest(elementId)) { - return (Color: ImGuiColors.DalamudRed, Icon: FontAwesomeIcon.Times, Status: "Locked"); + return (Color: UiThemeUtils.StatusLocked, Icon: FontAwesomeIcon.Times, Status: "Locked"); } - return (Color: ImGuiColors.DalamudYellow, Icon: FontAwesomeIcon.Running, Status: "Available"); + return (Color: UiThemeUtils.StatusAvailable, Icon: FontAwesomeIcon.Running, Status: "Available"); } public static (Vector4 color, FontAwesomeIcon icon) GetInstanceStyle(ushort instanceId) { if (UIState.IsInstanceContentCompleted(instanceId)) { - return (color: ImGuiColors.ParsedGreen, icon: FontAwesomeIcon.Check); + return (color: UiThemeUtils.StatusComplete, icon: FontAwesomeIcon.Check); } if (UIState.IsInstanceContentUnlocked(instanceId)) { - return (color: ImGuiColors.DalamudYellow, icon: FontAwesomeIcon.Running); + return (color: UiThemeUtils.StatusActive, icon: FontAwesomeIcon.Running); } - return (color: ImGuiColors.DalamudRed, icon: FontAwesomeIcon.Times); + return (color: UiThemeUtils.StatusLocked, icon: FontAwesomeIcon.Times); } - public bool ChecklistItem(string text, Vector4 color, FontAwesomeIcon icon, float extraPadding = 0f) + public bool ChecklistItem(string text, Vector4 color, FontAwesomeIcon icon, float extraPadding = 0f, bool asBadge = false) { + if (asBadge) + { + UiThemeUtils.StatusBadge(text, color, icon); + return ImGui.IsItemHovered(); + } if (extraPadding > 0f) { ImGui.SetCursorPosX(ImGui.GetCursorPosX() + extraPadding); diff --git a/Questionable/Questionable.csproj b/Questionable/Questionable.csproj index 3b859d7..d7a26d1 100644 --- a/Questionable/Questionable.csproj +++ b/Questionable/Questionable.csproj @@ -10,75 +10,71 @@ 12.0 True - - - - - - - - - + + + + ..\..\Questionable.Model.dll + - C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\dev\Dalamud.dll + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\Dalamud.dll ..\..\LLib.dll - C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\dev\FFXIVClientStructs.dll - - - ..\..\Questionable.Model.dll + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\FFXIVClientStructs.dll - C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\dev\Newtonsoft.Json.dll + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\Newtonsoft.Json.dll ..\..\Microsoft.Extensions.Logging.Abstractions.dll - - C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\dev\Serilog.dll - ..\..\Microsoft.Extensions.DependencyInjection.dll ..\..\Microsoft.Extensions.DependencyInjection.Abstractions.dll - - C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\dev\Dalamud.Bindings.ImGui.dll - - - C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\dev\Lumina.Excel.dll + + ..\..\SmartNav.dll - C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\dev\Lumina.dll + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\Lumina.dll + + + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\Dalamud.Bindings.ImGui.dll + + + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\Lumina.Excel.dll + + + ..\..\SmartNav.Model.dll ..\..\JsonSchema.Net.dll + + ..\..\JsonPointer.Net.dll + - C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\dev\InteropGenerator.Runtime.dll + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\InteropGenerator.Runtime.dll ..\..\Microsoft.Extensions.Logging.dll - - ..\..\QuestPaths.dll - ..\..\FatePaths.dll ..\..\GatheringPaths.dll + + ..\..\QuestPaths.dll + ..\..\SeasonalDutyPaths.dll - - ..\..\JsonPointer.Net.dll - \ No newline at end of file diff --git a/Questionable/Questionable/ConfigMigration.cs b/Questionable/Questionable/ConfigMigration.cs new file mode 100644 index 0000000..5e56240 --- /dev/null +++ b/Questionable/Questionable/ConfigMigration.cs @@ -0,0 +1,100 @@ +using Questionable.Controller.Conditions; +using Questionable.Model.Questing; + +namespace Questionable; + +internal static class ConfigMigration +{ + public static bool Run(Configuration config) + { + bool result = false; + if (RemoveStaleElementIds(config)) + { + result = true; + } + if (config.Stop.Conditions.RemoveAll((StopCondition c) => c == null) > 0) + { + result = true; + } + if (MigrateStopConditions(config.Stop)) + { + result = true; + } + if (MigrateEquipMode(config.General)) + { + result = true; + } + return result; + } + + private static bool MigrateEquipMode(Configuration.GeneralConfiguration general) + { + bool? useSmartEquipRecommended = general.UseSmartEquipRecommended; + if (useSmartEquipRecommended.HasValue) + { + bool valueOrDefault = useSmartEquipRecommended == true; + general.EquipMode = ((!valueOrDefault) ? Configuration.EEquipMode.GameRecommended : Configuration.EEquipMode.Smart); + general.UseSmartEquipRecommended = null; + return true; + } + return false; + } + + private static bool RemoveStaleElementIds(Configuration config) + { + int num = config.General.PriorityQuests.RemoveAll((ElementId x) => (object)x == null); + num += config.General.BlacklistedQuests.RemoveWhere((ElementId x) => (object)x == null); + num += config.Stop.QuestsToStopAfter.RemoveAll((ElementId x) => (object)x == null); + foreach (Configuration.SavedQuestPreset value in config.General.SavedPresets.Values) + { + num += value.QuestIds.RemoveAll((ElementId x) => (object)x == null); + } + return num > 0; + } + + private static bool MigrateStopConditions(Configuration.StopConfiguration stop) + { + if (stop.QuestsToStopAfter.Count <= 0 && stop.QuestStopModes.Count <= 0 && stop.QuestSequences.Count <= 0 && stop.LevelStopMode == EStopConditionMode.Off && stop.SequenceStopMode == EStopConditionMode.Off) + { + return false; + } + if (stop.Conditions.Count == 0) + { + if (stop.LevelStopMode != EStopConditionMode.Off) + { + stop.Conditions.Add(new LevelCondition + { + TargetLevel = stop.TargetLevel, + Mode = stop.LevelStopMode + }); + } + if (stop.SequenceStopMode != EStopConditionMode.Off) + { + stop.Conditions.Add(new GlobalSequenceCondition + { + TargetSequence = stop.TargetSequence, + Mode = stop.SequenceStopMode + }); + } + foreach (ElementId item in stop.QuestsToStopAfter) + { + EStopConditionMode value; + EStopConditionMode mode = (stop.QuestStopModes.TryGetValue(item.ToString(), out value) ? value : EStopConditionMode.Stop); + int? value2; + int? sequence = (stop.QuestSequences.TryGetValue(item.ToString(), out value2) ? value2 : ((int?)null)); + stop.Conditions.Add(new QuestCompleteCondition + { + QuestId = item, + Sequence = sequence, + Mode = mode + }); + } + } + stop.QuestsToStopAfter.Clear(); + stop.QuestStopModes.Clear(); + stop.QuestSequences.Clear(); + stop.LevelStopMode = EStopConditionMode.Off; + stop.SequenceStopMode = EStopConditionMode.Off; + return true; + } +} diff --git a/Questionable/Questionable/Configuration.cs b/Questionable/Questionable/Configuration.cs index a1b6582..bf41434 100644 --- a/Questionable/Questionable/Configuration.cs +++ b/Questionable/Questionable/Configuration.cs @@ -1,22 +1,27 @@ using System; using System.Collections.Generic; +using System.Reflection; using Dalamud.Configuration; using Dalamud.Game.Text; using FFXIVClientStructs.FFXIV.Client.UI.Agent; using LLib.GameData; using LLib.ImGui; using Newtonsoft.Json; +using Questionable.Controller.Conditions; +using Questionable.Data; +using Questionable.Model; using Questionable.Model.Questing; namespace Questionable; +[Obfuscation(Feature = "-rename", Exclude = false, ApplyToMembers = true)] internal sealed class Configuration : IPluginConfiguration { internal sealed class GeneralConfiguration { public ECombatModule CombatModule { get; set; } - public uint MountId { get; set; } = 71u; + public ENavigationProvider NavigationProvider { get; set; } public GrandCompany GrandCompany { get; set; } @@ -36,10 +41,6 @@ internal sealed class Configuration : IPluginConfiguration public bool CinemaMode { get; set; } - public bool AutoStepRefreshEnabled { get; set; } = true; - - public int AutoStepRefreshDelaySeconds { get; set; } = 60; - public bool HideSeasonalEventsFromJournalProgress { get; set; } public bool ClearPriorityQuestsOnLogout { get; set; } @@ -56,6 +57,27 @@ internal sealed class Configuration : IPluginConfiguration public bool AutoSnipe { get; set; } = true; + public bool DeathRecoveryEnabled { get; set; } + + public int MaxDeathsBeforeStop { get; set; } = 3; + + public EEquipMode EquipMode { get; set; } + + [Obsolete("Use EquipMode. Kept for migration; null = migrated.")] + public bool? UseSmartEquipRecommended { get; set; } + + public bool PreserveGearset { get; set; } + + public int? CofferGearsetIndex { get; set; } + + public HashSet DisabledRewardTypes { get; set; } = new HashSet(); + + public bool SkipTradableRewards { get; set; } = true; + + public bool RepairGear { get; set; } = true; + + public int RepairThresholdPercent { get; set; } = 30; + [JsonProperty(ItemConverterType = typeof(ElementIdNConverter))] public HashSet BlacklistedQuests { get; set; } = new HashSet(); @@ -81,19 +103,30 @@ internal sealed class Configuration : IPluginConfiguration { public bool Enabled { get; set; } + public List Conditions { get; set; } = new List(); + + public string CommandAfterStop { get; set; } = ""; + + [Obsolete("Use Conditions list. Kept only to deserialize pre-unified configs; ConfigMigration clears them on first load.")] [JsonProperty(ItemConverterType = typeof(ElementIdNConverter))] public List QuestsToStopAfter { get; set; } = new List(); + [Obsolete("Use Conditions list. Kept only to deserialize pre-unified configs; ConfigMigration clears them on first load.")] public Dictionary QuestSequences { get; set; } = new Dictionary(); + [Obsolete("Use Conditions list. Kept only to deserialize pre-unified configs; ConfigMigration clears them on first load.")] public Dictionary QuestStopModes { get; set; } = new Dictionary(); + [Obsolete("Use Conditions list. Kept only to deserialize pre-unified configs; ConfigMigration clears them on first load.")] public EStopConditionMode LevelStopMode { get; set; } + [Obsolete("Use Conditions list. Kept only to deserialize pre-unified configs; ConfigMigration clears them on first load.")] public int TargetLevel { get; set; } = 50; + [Obsolete("Use Conditions list. Kept only to deserialize pre-unified configs; ConfigMigration clears them on first load.")] public EStopConditionMode SequenceStopMode { get; set; } + [Obsolete("Use Conditions list. Kept only to deserialize pre-unified configs; ConfigMigration clears them on first load.")] public int TargetSequence { get; set; } = 1; } @@ -109,16 +142,27 @@ internal sealed class Configuration : IPluginConfiguration public Dictionary DutyModeOverrides { get; set; } = new Dictionary(); + public bool AutoUnsyncOverleveled { get; set; } + public Dictionary ExpansionHeaderStates { get; set; } = new Dictionary(); public bool RunLevelingModeWhenUnderleveled { get; set; } } + internal enum ERetryDifficulty : byte + { + Normal, + Easy, + VeryEasy + } + internal sealed class SinglePlayerDutyConfiguration { public bool RunSoloInstancesWithBossMod { get; set; } - public byte RetryDifficulty => 0; + public ERetryDifficulty RetryDifficulty { get; set; } + + public int MaxRetries { get; set; } public HashSet WhitelistedSinglePlayerDutyCfcIds { get; set; } = new HashSet(); @@ -127,22 +171,61 @@ internal sealed class Configuration : IPluginConfiguration public Dictionary HeaderStates { get; set; } = new Dictionary(); } + internal sealed class NavigationConfiguration + { + public uint MountId { get; set; } = 71u; + + public bool NeverFly { get; set; } + + public int GilReserve { get; set; } = 5000; + + public bool PreferFreeTravel { get; set; } + + public bool UseTeleportTickets { get; set; } = true; + + public float SprintDistanceTown { get; set; } = 20f; + + public float SprintDistanceOpenWorld { get; set; } = 50f; + + public float MountGroundDistance { get; set; } = 20f; + + public float MountFlyDistance { get; set; } = 15f; + + public EStuckRecoveryMode StuckRecoveryMode { get; set; } + + public bool ReRouteOnFailure { get; set; } = true; + } + internal sealed class NotificationConfiguration { public bool Enabled { get; set; } = true; public XivChatType ChatType { get; set; } = XivChatType.Debug; + + public bool FlashTaskbar { get; set; } + + public bool ShowTrayMessage { get; set; } + + public bool PlaySound { get; set; } + + public string SoundFile { get; set; } = "Alarm01.wav"; + + public bool OnlyWhenUnfocused { get; set; } = true; + + public bool AlertForDuties { get; set; } = true; + + public bool AlertForSinglePlayerDuties { get; set; } = true; + + public bool AlertForSnipe { get; set; } = true; + + public bool AlertForStopConditions { get; set; } = true; } internal sealed class AdvancedConfiguration { - public bool DebugOverlay { get; set; } + public bool ShowWindowInInstances { get; set; } - public bool CombatDataOverlay { get; set; } - - public bool NeverFly { get; set; } - - public bool AdditionalStatusInformation { get; set; } + public bool EnableNavDataCapture { get; set; } public bool DisablePartyWatchdog { get; set; } @@ -152,13 +235,79 @@ internal sealed class Configuration : IPluginConfiguration public bool SkipClassJobQuests { get; set; } + public bool SkipRoleQuests { get; set; } + + public ERoleQuestPreference RoleQuestPreference { get; set; } + + public bool ContinueRoleQuestsAfterShb { get; set; } + public bool SkipARealmRebornHardModePrimals { get; set; } public bool SkipCrystalTowerRaids { get; set; } public bool PreventQuestCompletion { get; set; } + public bool AutoPrioritizeAlliedSocietyRankUp { get; set; } = true; + + public HashSet PandoraFeatureExclusions { get; set; } = new HashSet(); + + public HashSet AutomatonTweakExclusions { get; set; } = new HashSet(); + public string ChocoboName { get; set; } = string.Empty; + + public int InteractionRetryLimit { get; set; } = 3; + + public float InteractionTimeoutSeconds { get; set; } = 15f; + + public bool ShowWigglyNavShimProvider { get; set; } + } + + internal sealed class CustomDeliveryConfiguration + { + internal enum EJobSelectionMode + { + Preferred, + Current + } + + internal enum EScripOvercapMode + { + Ignore, + Cap, + Block + } + + internal enum ECollectabilityTier + { + High, + Mid, + Low + } + + public Dictionary AchievementGoals { get; set; } = new Dictionary(); + + public EJobSelectionMode CraftJobMode { get; set; } + + public EClassJob PreferredCraftJob { get; set; } = EClassJob.Carpenter; + + public EJobSelectionMode GatherJobMode { get; set; } + + public EClassJob PreferredGatherJob { get; set; } = EClassJob.Miner; + + public List DeliveryQueue { get; set; } = new List(); + + public EScripOvercapMode ScripOvercapMode { get; set; } + + public ECollectabilityTier CollectabilityTier { get; set; } + } + + internal sealed class AchievementGoal + { + public uint AchievementId { get; set; } + + public uint TargetCount { get; set; } + + public bool Active { get; set; } } internal enum ECombatModule @@ -169,6 +318,20 @@ internal sealed class Configuration : IPluginConfiguration RotationSolverReborn } + internal enum ENavigationProvider + { + Vnavmesh, + WigglyNav, + WigglyNavShim + } + + internal enum EEquipMode + { + Smart, + GameRecommended, + Disabled + } + internal enum EMsqPriorityMode { Always, @@ -176,13 +339,6 @@ internal sealed class Configuration : IPluginConfiguration Manual } - internal enum EStopConditionMode - { - Off, - Pause, - Stop - } - public sealed class ElementIdNConverter : JsonConverter { public override void WriteJson(JsonWriter writer, ElementId? value, JsonSerializer serializer) @@ -192,18 +348,28 @@ internal sealed class Configuration : IPluginConfiguration public override ElementId? ReadJson(JsonReader reader, Type objectType, ElementId? existingValue, bool hasExistingValue, JsonSerializer serializer) { - string text = reader.Value?.ToString(); - if (text == null) + try + { + string text = reader.Value?.ToString(); + if (text == null) + { + return null; + } + ElementId elementId; + return ElementId.TryFromString(text, out elementId) ? elementId : null; + } + catch (Exception) { return null; } - return ElementId.FromString(text); } } - public const int PluginSetupVersion = 5; + public const int PluginSetupVersion = 6; - public int Version { get; set; } = 1; + public const int ConfigVersion = 3; + + public int Version { get; set; } = 3; public int PluginSetupCompleteVersion { get; set; } @@ -217,10 +383,14 @@ internal sealed class Configuration : IPluginConfiguration public SinglePlayerDutyConfiguration SinglePlayerDuties { get; } = new SinglePlayerDutyConfiguration(); + public NavigationConfiguration Navigation { get; } = new NavigationConfiguration(); + public NotificationConfiguration Notifications { get; } = new NotificationConfiguration(); public AdvancedConfiguration Advanced { get; } = new AdvancedConfiguration(); + public CustomDeliveryConfiguration CustomDeliveries { get; } = new CustomDeliveryConfiguration(); + public WindowConfig DebugWindowConfig { get; } = new WindowConfig(); public WindowConfig ConfigWindowConfig { get; } = new WindowConfig(); @@ -229,13 +399,15 @@ internal sealed class Configuration : IPluginConfiguration public WindowConfig QuestSequenceWindowConfig { get; set; } = new WindowConfig(); + public string? JournalLastPage { get; set; } + internal bool IsPluginSetupComplete() { - return PluginSetupCompleteVersion == 5; + return PluginSetupCompleteVersion == 6; } internal void MarkPluginSetupComplete() { - PluginSetupCompleteVersion = 5; + PluginSetupCompleteVersion = 6; } } diff --git a/Questionable/Questionable/DalamudInitializer.cs b/Questionable/Questionable/DalamudInitializer.cs index 154f2a9..8ae17af 100644 --- a/Questionable/Questionable/DalamudInitializer.cs +++ b/Questionable/Questionable/DalamudInitializer.cs @@ -6,7 +6,9 @@ using Dalamud.Plugin; using Dalamud.Plugin.Services; using Microsoft.Extensions.Logging; using Questionable.Controller; +using Questionable.Controller.Steps; using Questionable.Controller.Utils; +using Questionable.Navigation; using Questionable.Windows; namespace Questionable; @@ -37,11 +39,21 @@ internal sealed class DalamudInitializer : IDisposable private readonly SeasonalDutyController _seasonalDutyController; + private readonly AttunementController _attunementController; + + private readonly CustomDeliveryController _customDeliveryController; + + private readonly GatheringController _gatheringController; + + private readonly FishingController _fishingController; + private readonly PartyWatchdog _partyWatchdog; + private readonly SmartNavReRouteService _reRouteService; + private readonly ILogger _logger; - public DalamudInitializer(IDalamudPluginInterface pluginInterface, IFramework framework, QuestController questController, MovementController movementController, FateController fateController, SeasonalDutyController seasonalDutyController, WindowSystem windowSystem, OneTimeSetupWindow oneTimeSetupWindow, QuestWindow questWindow, DebugOverlay debugOverlay, ConfigWindow configWindow, QuestSelectionWindow questSelectionWindow, QuestSequenceWindow questSequenceWindow, QuestValidationWindow questValidationWindow, JournalProgressWindow journalProgressWindow, PriorityWindow priorityWindow, FateSelectionWindow fateSelectionWindow, SeasonalDutySelectionWindow seasonalDutySelectionWindow, ChangelogWindow changelogWindow, IToastGui toastGui, Configuration configuration, PartyWatchdog partyWatchdog, ILogger logger) + public DalamudInitializer(IDalamudPluginInterface pluginInterface, IFramework framework, QuestController questController, MovementController movementController, FateController fateController, SeasonalDutyController seasonalDutyController, AttunementController attunementController, CustomDeliveryController customDeliveryController, GatheringController gatheringController, FishingController fishingController, WindowSystem windowSystem, OneTimeSetupWindow oneTimeSetupWindow, QuestWindow questWindow, ConfigWindow configWindow, QuestSelectionWindow questSelectionWindow, QuestSequenceWindow questSequenceWindow, QuestValidationWindow questValidationWindow, JournalProgressWindow journalProgressWindow, FateSelectionWindow fateSelectionWindow, SeasonalDutySelectionWindow seasonalDutySelectionWindow, ChangelogWindow changelogWindow, IToastGui toastGui, Configuration configuration, PartyWatchdog partyWatchdog, SmartNavReRouteService reRouteService, ILogger logger) { _pluginInterface = pluginInterface; _framework = framework; @@ -49,6 +61,10 @@ internal sealed class DalamudInitializer : IDisposable _movementController = movementController; _fateController = fateController; _seasonalDutyController = seasonalDutyController; + _attunementController = attunementController; + _customDeliveryController = customDeliveryController; + _gatheringController = gatheringController; + _fishingController = fishingController; _windowSystem = windowSystem; _oneTimeSetupWindow = oneTimeSetupWindow; _questWindow = questWindow; @@ -56,16 +72,15 @@ internal sealed class DalamudInitializer : IDisposable _toastGui = toastGui; _configuration = configuration; _partyWatchdog = partyWatchdog; + _reRouteService = reRouteService; _logger = logger; _windowSystem.AddWindow(oneTimeSetupWindow); _windowSystem.AddWindow(questWindow); _windowSystem.AddWindow(configWindow); - _windowSystem.AddWindow(debugOverlay); _windowSystem.AddWindow(questSelectionWindow); _windowSystem.AddWindow(questSequenceWindow); _windowSystem.AddWindow(questValidationWindow); _windowSystem.AddWindow(journalProgressWindow); - _windowSystem.AddWindow(priorityWindow); _windowSystem.AddWindow(fateSelectionWindow); _windowSystem.AddWindow(seasonalDutySelectionWindow); _windowSystem.AddWindow(changelogWindow); @@ -81,18 +96,45 @@ internal sealed class DalamudInitializer : IDisposable private void FrameworkUpdate(IFramework framework) { _partyWatchdog.Update(); - _questController.Update(); - _fateController.Update(); - _seasonalDutyController.Update(); + try + { + _questController.Update(); + _fateController.Update(); + _seasonalDutyController.Update(); + _attunementController.Update(); + _customDeliveryController.Update(); + _fishingController.Update(); + } + catch (MovementController.PathfindingFailedException ex) + { + _logger.LogInformation("Pathfinding interrupted ({Message}), attempting re-route", ex.Message); + AttemptReRoute(); + } try { _movementController.Update(); } - catch (MovementController.PathfindingFailedException) + catch (MovementController.PathfindingFailedException exception) { - _questController.Stop("Pathfinding failed"); - _fateController.Stop("Pathfinding failed"); - _seasonalDutyController.Stop("Pathfinding failed"); + _logger.LogWarning(exception, "Pathfinding failed, attempting re-route"); + AttemptReRoute(); + } + } + + private void AttemptReRoute() + { + if (!_gatheringController.IsRunning || !_gatheringController.TryReplanAfterMovementFailure()) + { + TaskQueue taskQueue = (_questController.IsRunning ? _questController.TaskQueue : (_fateController.IsRunning ? _fateController.TaskQueue : (_seasonalDutyController.IsRunning ? _seasonalDutyController.TaskQueue : (_fishingController.IsRunning ? _fishingController.TaskQueue : (_customDeliveryController.IsRunning ? _customDeliveryController.TaskQueue : null))))); + if (taskQueue == null || !_reRouteService.HandleMovementFailure(taskQueue)) + { + _questController.Stop("Pathfinding failed"); + _fateController.Stop("Pathfinding failed"); + _seasonalDutyController.Stop("Pathfinding failed"); + _attunementController.Stop("Pathfinding failed"); + _customDeliveryController.Stop("Pathfinding failed"); + _fishingController.Stop("Pathfinding failed"); + } } } @@ -106,6 +148,9 @@ internal sealed class DalamudInitializer : IDisposable _logger.LogTrace("Error Toast: {Message}", message); _fateController.OnErrorToast(ref message, ref isHandled); _seasonalDutyController.OnErrorToast(ref message, ref isHandled); + _attunementController.OnErrorToast(ref message, ref isHandled); + _customDeliveryController.OnErrorToast(ref message, ref isHandled); + _fishingController.OnErrorToast(ref message, ref isHandled); } private void OnQuestToast(ref SeString message, ref QuestToastOptions options, ref bool isHandled) diff --git a/Questionable/Questionable/QuestionablePlugin.cs b/Questionable/Questionable/QuestionablePlugin.cs index 1ff5e5d..7c4d256 100644 --- a/Questionable/Questionable/QuestionablePlugin.cs +++ b/Questionable/Questionable/QuestionablePlugin.cs @@ -1,15 +1,26 @@ using System; +using System.Diagnostics; +using System.IO; using System.Linq; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Threading; +using System.Threading.Tasks; using Dalamud.Interface.Windowing; using Dalamud.Plugin; using Dalamud.Plugin.Services; using LLib; +using LLib.GameData; using LLib.Gear; +using LLib.Logging; +using LLib.Notifications; using LLib.Shop; +using Lumina.Data; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Questionable.Controller; using Questionable.Controller.CombatModules; +using Questionable.Controller.CustomDelivery; using Questionable.Controller.GameUi; using Questionable.Controller.NavigationOverrides; using Questionable.Controller.Steps; @@ -21,55 +32,154 @@ using Questionable.Controller.Steps.Shared; using Questionable.Controller.Utils; using Questionable.Data; using Questionable.External; +using Questionable.FatePaths; using Questionable.Functions; +using Questionable.GatheringPaths; using Questionable.Model.Changelog; +using Questionable.Navigation; +using Questionable.Notifications; +using Questionable.QuestPaths; +using Questionable.SeasonalDutyPaths; using Questionable.Validation; using Questionable.Validation.Validators; using Questionable.Windows; using Questionable.Windows.ConfigComponents; using Questionable.Windows.JournalComponents; using Questionable.Windows.QuestComponents; +using Questionable.Windows.Setup; using Questionable.Windows.Utils; +using SmartNav; +using SmartNav.Data; namespace Questionable; -public sealed class QuestionablePlugin : IDalamudPlugin, IDisposable +[Obfuscation(Feature = "-ctrl flow", Exclude = false, ApplyToMembers = true)] +public sealed class QuestionablePlugin : IAsyncDalamudPlugin, IAsyncDisposable { - private readonly ServiceProvider? _serviceProvider; + private ServiceProvider? _serviceProvider; - public QuestionablePlugin(IDalamudPluginInterface pluginInterface, IClientState clientState, ITargetManager targetManager, IFramework framework, IGameGui gameGui, IDataManager dataManager, ISigScanner sigScanner, IObjectTable objectTable, IPluginLog pluginLog, ICondition condition, IChatGui chatGui, ICommandManager commandManager, IAddonLifecycle addonLifecycle, IKeyState keyState, IContextMenu contextMenu, IToastGui toastGui, IGameInteropProvider gameInteropProvider, IAetheryteList aetheryteList, IGameConfig gameConfig) + private readonly IDalamudPluginInterface _pluginInterface; + + private readonly IClientState _clientState; + + private readonly ITargetManager _targetManager; + + private readonly IFramework _framework; + + private readonly IGameGui _gameGui; + + private readonly IDataManager _dataManager; + + private readonly ISigScanner _sigScanner; + + private readonly IObjectTable _objectTable; + + private readonly IPluginLog _pluginLog; + + private readonly ICondition _condition; + + private readonly IChatGui _chatGui; + + private readonly ICommandManager _commandManager; + + private readonly IAddonLifecycle _addonLifecycle; + + private readonly IKeyState _keyState; + + private readonly IContextMenu _contextMenu; + + private readonly IToastGui _toastGui; + + private readonly IGameInteropProvider _gameInteropProvider; + + private readonly IAetheryteList _aetheryteList; + + private readonly IGameConfig _gameConfig; + + private readonly ITextureProvider _textureProvider; + + public QuestionablePlugin(IDalamudPluginInterface pluginInterface, IClientState clientState, ITargetManager targetManager, IFramework framework, IGameGui gameGui, IDataManager dataManager, ISigScanner sigScanner, IObjectTable objectTable, IPluginLog pluginLog, ICondition condition, IChatGui chatGui, ICommandManager commandManager, IAddonLifecycle addonLifecycle, IKeyState keyState, IContextMenu contextMenu, IToastGui toastGui, IGameInteropProvider gameInteropProvider, IAetheryteList aetheryteList, IGameConfig gameConfig, ITextureProvider textureProvider) { ArgumentNullException.ThrowIfNull(pluginInterface, "pluginInterface"); ArgumentNullException.ThrowIfNull(chatGui, "chatGui"); + _pluginInterface = pluginInterface; + _clientState = clientState; + _targetManager = targetManager; + _framework = framework; + _gameGui = gameGui; + _dataManager = dataManager; + _sigScanner = sigScanner; + _objectTable = objectTable; + _pluginLog = pluginLog; + _condition = condition; + _chatGui = chatGui; + _commandManager = commandManager; + _addonLifecycle = addonLifecycle; + _keyState = keyState; + _contextMenu = contextMenu; + _toastGui = toastGui; + _gameInteropProvider = gameInteropProvider; + _aetheryteList = aetheryteList; + _gameConfig = gameConfig; + _textureProvider = textureProvider; + } + + public async Task LoadAsync(CancellationToken cancellationToken) + { try { + Stopwatch totalStopwatch = Stopwatch.StartNew(); + Task.Run(delegate + { + try + { + AssemblyQuestLoader.GetQuests(); + AssemblyGatheringLocationLoader.GetLocations(); + AssemblyFateDefinitionLoader.GetDefinitions(); + AssemblySeasonalDutyDefinitionLoader.GetDefinitions(); + } + catch (Exception) + { + } + }, cancellationToken); ServiceCollection serviceCollection = new ServiceCollection(); serviceCollection.AddLogging(delegate(ILoggingBuilder builder) { - builder.SetMinimumLevel(LogLevel.Trace).ClearProviders().AddProvider(new DalamudLoggerProvider(pluginLog, (string t) => t?.Substring(t.LastIndexOf('.') + 1))); + builder.SetMinimumLevel(LogLevel.Trace).ClearProviders().AddProvider(new DalamudLoggerProvider(_pluginLog, (string t) => t?.Substring(t.LastIndexOf('.') + 1))); }); - ((IServiceCollection)serviceCollection).AddSingleton((IDalamudPlugin)this); - serviceCollection.AddSingleton(pluginInterface); - serviceCollection.AddSingleton(clientState); - serviceCollection.AddSingleton(targetManager); - serviceCollection.AddSingleton(framework); - serviceCollection.AddSingleton(gameGui); - serviceCollection.AddSingleton(dataManager); - serviceCollection.AddSingleton(sigScanner); - serviceCollection.AddSingleton(objectTable); - serviceCollection.AddSingleton(pluginLog); - serviceCollection.AddSingleton(condition); - serviceCollection.AddSingleton(chatGui); - serviceCollection.AddSingleton(commandManager); - serviceCollection.AddSingleton(addonLifecycle); - serviceCollection.AddSingleton(keyState); - serviceCollection.AddSingleton(contextMenu); - serviceCollection.AddSingleton(toastGui); - serviceCollection.AddSingleton(gameInteropProvider); - serviceCollection.AddSingleton(aetheryteList); - serviceCollection.AddSingleton(gameConfig); + serviceCollection.AddSingleton(_pluginInterface); + serviceCollection.AddSingleton(_clientState); + serviceCollection.AddSingleton(_targetManager); + serviceCollection.AddSingleton(_framework); + serviceCollection.AddSingleton(_gameGui); + serviceCollection.AddSingleton(_dataManager); + serviceCollection.AddSingleton(_sigScanner); + serviceCollection.AddSingleton(_objectTable); + serviceCollection.AddSingleton(_pluginLog); + serviceCollection.AddSingleton(_condition); + serviceCollection.AddSingleton(_chatGui); + serviceCollection.AddSingleton(_commandManager); + serviceCollection.AddSingleton(_addonLifecycle); + serviceCollection.AddSingleton(_keyState); + serviceCollection.AddSingleton(_contextMenu); + serviceCollection.AddSingleton(_toastGui); + serviceCollection.AddSingleton(_gameInteropProvider); + serviceCollection.AddSingleton(_aetheryteList); + serviceCollection.AddSingleton(_gameConfig); + serviceCollection.AddSingleton(_textureProvider); serviceCollection.AddSingleton(new WindowSystem("Questionable")); - serviceCollection.AddSingleton(((Configuration)pluginInterface.GetPluginConfig()) ?? new Configuration()); + Configuration configuration = ((Configuration)_pluginInterface.GetPluginConfig()) ?? new Configuration(); + bool flag = configuration.Version != 3; + if (flag) + { + BackupConfig(configuration.Version); + configuration.Version = 3; + } + if (ConfigMigration.Run(configuration) || flag) + { + _pluginInterface.SavePluginConfig(configuration); + } + serviceCollection.AddSingleton(configuration); AddBasicFunctionsAndData(serviceCollection); AddTaskFactories(serviceCollection); AddControllers(serviceCollection); @@ -77,44 +187,104 @@ public sealed class QuestionablePlugin : IDalamudPlugin, IDisposable AddQuestValidators(serviceCollection); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + Stopwatch providerStopwatch = Stopwatch.StartNew(); _serviceProvider = serviceCollection.BuildServiceProvider(); - Initialize(_serviceProvider); + providerStopwatch.Stop(); + await Task.Run(delegate + { + Initialize(_serviceProvider); + }, cancellationToken); + _serviceProvider.GetRequiredService>().LogDebug("Load complete in {Total}ms (provider build {Provider}ms); bundle decode off critical path: quest {Quest}ms, gathering {Gathering}ms, fate {Fate}ms, seasonal {Seasonal}ms", totalStopwatch.ElapsedMilliseconds, providerStopwatch.ElapsedMilliseconds, DecodeMs(() => AssemblyQuestLoader.DecodeDuration), DecodeMs(() => AssemblyGatheringLocationLoader.DecodeDuration), DecodeMs(() => AssemblyFateDefinitionLoader.DecodeDuration), DecodeMs(() => AssemblySeasonalDutyDefinitionLoader.DecodeDuration)); } catch (Exception) { - chatGui.PrintError("Unable to load plugin, check /xllog for details", "Questionable"); + _chatGui.PrintError("Unable to load plugin, check /xllog for details", "Questionable"); throw; } } + private void BackupConfig(int oldVersion) + { + try + { + if (_pluginInterface.ConfigFile.Exists) + { + _pluginInterface.ConfigFile.CopyTo($"{_pluginInterface.ConfigFile.FullName}.v{oldVersion}.bak", overwrite: true); + } + } + catch (Exception exception) + { + _pluginLog.Warning(exception, "Unable to back up configuration file"); + } + } + private static void AddBasicFunctionsAndData(ServiceCollection serviceCollection) { serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); - serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(delegate(IServiceProvider sp) + { + IDalamudPluginInterface requiredService = sp.GetRequiredService(); + DirectoryInfo devSourceDirectory = null; + sp.GetRequiredService().GameData.Repositories.TryGetValue("ffxiv", out Repository value); + return new SmartNavDataOptions(requiredService.ConfigDirectory, devSourceDirectory, value?.Version); + }); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + ((IServiceCollection)serviceCollection).AddSingleton((Func)((IServiceProvider sp) => new LgbZoneBoundarySource(sp.GetRequiredService(), sp.GetRequiredService>(), sp.GetRequiredService()))); + ((IServiceCollection)serviceCollection).AddSingleton((Func)((IServiceProvider sp) => sp.GetRequiredService())); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); } private static void AddTaskFactories(ServiceCollection serviceCollection) @@ -128,15 +298,26 @@ public sealed class QuestionablePlugin : IDalamudPlugin, IDisposable serviceCollection.AddTaskFactoryAndExecutor(); serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskExecutor(); + serviceCollection.AddTaskExecutor(); + serviceCollection.AddTaskExecutor(); + serviceCollection.AddTaskExecutor(); + serviceCollection.AddTaskExecutor(); + serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskFactoryAndExecutor(); + serviceCollection.AddTaskFactoryAndExecutor(); + serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskFactory(); serviceCollection.AddTaskExecutor(); - serviceCollection.AddTaskFactoryAndExecutor(); - serviceCollection.AddTaskExecutor(); - serviceCollection.AddTaskFactoryAndExecutor(); + serviceCollection.AddTaskFactory(); + serviceCollection.AddTaskExecutor(); + serviceCollection.AddTaskExecutor(); + serviceCollection.AddTaskExecutor(); + serviceCollection.AddTaskExecutor(); + serviceCollection.AddTaskExecutor(); + serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskFactoryAndExecutor(); serviceCollection.AddTaskExecutor(); - serviceCollection.AddTaskFactoryAndExecutor(); + serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskFactoryAndExecutor(); serviceCollection.AddTaskFactoryAndExecutor(); serviceCollection.AddTaskExecutor(); @@ -151,8 +332,13 @@ public sealed class QuestionablePlugin : IDalamudPlugin, IDisposable serviceCollection.AddTaskFactoryAndExecutor(); serviceCollection.AddTaskFactoryAndExecutor(); serviceCollection.AddTaskExecutor(); + serviceCollection.AddTaskExecutor(); + serviceCollection.AddTaskExecutor(); + serviceCollection.AddTaskExecutor(); + serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskExecutor(); + serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskFactory(); @@ -166,8 +352,10 @@ public sealed class QuestionablePlugin : IDalamudPlugin, IDisposable serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskExecutor(); + serviceCollection.AddTaskFactoryAndExecutor(); serviceCollection.AddTaskFactoryAndExecutor(); serviceCollection.AddTaskFactoryAndExecutor(); + serviceCollection.AddTaskFactory(); serviceCollection.AddTaskFactory(); serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskExecutor(); @@ -179,15 +367,19 @@ public sealed class QuestionablePlugin : IDalamudPlugin, IDisposable serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskFactoryAndExecutor(); + serviceCollection.AddTaskFactoryAndExecutor(); serviceCollection.AddTaskFactoryAndExecutor(); serviceCollection.AddTaskFactoryAndExecutor(); - serviceCollection.AddTaskFactoryAndExecutor(); + serviceCollection.AddTaskFactoryAndExecutor(); + serviceCollection.AddTaskFactoryAndExecutor(); + serviceCollection.AddSingleton(); serviceCollection.AddTaskFactory(); serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskExecutor(); + serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskFactory(); @@ -211,12 +403,35 @@ public sealed class QuestionablePlugin : IDalamudPlugin, IDisposable serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(delegate(IServiceProvider sp) + { + sp.GetRequiredService().GameData.Repositories.TryGetValue("ffxiv", out Repository value); + return new NpcPositionCacheOptions + { + CacheDirectory = sp.GetRequiredService().ConfigDirectory.FullName, + GameVersion = value?.Version, + ScanThrottle = TimeSpan.FromMilliseconds(10L) + }; + }); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); @@ -230,12 +445,14 @@ public sealed class QuestionablePlugin : IDalamudPlugin, IDisposable serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + ((IServiceCollection)serviceCollection).AddSingleton((Func)((IServiceProvider sp) => sp.GetRequiredService())); serviceCollection.AddSingleton(); - serviceCollection.AddSingleton(); - serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + ((IServiceCollection)serviceCollection).AddSingleton((Func)((IServiceProvider sp) => sp.GetRequiredService())); } private static void AddWindows(ServiceCollection serviceCollection) @@ -247,9 +464,9 @@ public sealed class QuestionablePlugin : IDalamudPlugin, IDisposable serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); - serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); @@ -258,53 +475,93 @@ public sealed class QuestionablePlugin : IDalamudPlugin, IDisposable serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); - serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); - serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); } private static void AddQuestValidators(ServiceCollection serviceCollection) { + serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); - serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); - serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); ((IServiceCollection)serviceCollection).AddSingleton((Func)((IServiceProvider sp) => sp.GetRequiredService())); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + } + + private static long DecodeMs(Func duration) + { + return (long)duration().GetValueOrDefault().TotalMilliseconds; } private static void Initialize(IServiceProvider serviceProvider) { + ILogger requiredService = serviceProvider.GetRequiredService>(); + Stopwatch stopwatch = Stopwatch.StartNew(); + serviceProvider.GetRequiredService().TryLoadFromDisk(); + InlineArray12 buffer = default(InlineArray12); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, Task>(ref buffer, 0) = Task.Run(() => serviceProvider.GetRequiredService()); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, Task>(ref buffer, 1) = Task.Run(() => serviceProvider.GetRequiredService()); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, Task>(ref buffer, 2) = Task.Run(() => serviceProvider.GetRequiredService()); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, Task>(ref buffer, 3) = Task.Run(() => serviceProvider.GetRequiredService()); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, Task>(ref buffer, 4) = Task.Run(() => serviceProvider.GetRequiredService()); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, Task>(ref buffer, 5) = Task.Run(() => serviceProvider.GetRequiredService()); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, Task>(ref buffer, 6) = Task.Run(() => serviceProvider.GetRequiredService()); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, Task>(ref buffer, 7) = Task.Run(() => serviceProvider.GetRequiredService()); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, Task>(ref buffer, 8) = Task.Run(() => serviceProvider.GetRequiredService()); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, Task>(ref buffer, 9) = Task.Run(() => serviceProvider.GetRequiredService()); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, Task>(ref buffer, 10) = Task.Run(() => serviceProvider.GetRequiredService()); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, Task>(ref buffer, 11) = Task.Run(() => serviceProvider.GetRequiredService()); + Task.WaitAll(global::_003CPrivateImplementationDetails_003E.InlineArrayAsReadOnlySpan, Task>(in buffer, 12)); + TimeSpan elapsed = stopwatch.Elapsed; + stopwatch.Restart(); serviceProvider.GetRequiredService().Reload(); + TimeSpan elapsed2 = stopwatch.Elapsed; + stopwatch.Restart(); serviceProvider.GetRequiredService().Reload(); - serviceProvider.GetRequiredService().Reload(); + TimeSpan elapsed3 = stopwatch.Elapsed; + stopwatch.Restart(); serviceProvider.GetRequiredService().LoadPriorityQuests(); serviceProvider.GetRequiredService(); serviceProvider.GetRequiredService(); @@ -321,20 +578,25 @@ public sealed class QuestionablePlugin : IDalamudPlugin, IDisposable serviceProvider.GetRequiredService(); serviceProvider.GetRequiredService(); serviceProvider.GetRequiredService(); - ChangelogWindow requiredService = serviceProvider.GetRequiredService(); - Configuration requiredService2 = serviceProvider.GetRequiredService(); - if (requiredService2.IsPluginSetupComplete() && requiredService2.General.ShowChangelogOnUpdate) + serviceProvider.GetRequiredService(); + ChangelogWindow requiredService2 = serviceProvider.GetRequiredService(); + Configuration requiredService3 = serviceProvider.GetRequiredService(); + if (requiredService3.IsPluginSetupComplete() && requiredService3.General.ShowChangelogOnUpdate) { ChangelogEntry changelogEntry = ChangelogData.Changelogs.FirstOrDefault(); - if (changelogEntry != null && changelogEntry.IsNewVersion(requiredService2.LastViewedChangelogVersion, ChangelogData.Changelogs)) + if (changelogEntry != null && changelogEntry.IsNewVersion(requiredService3.LastViewedChangelogVersion, ChangelogData.Changelogs)) { - requiredService.IsOpenAndUncollapsed = true; + requiredService2.IsOpenAndUncollapsed = true; } } + requiredService.LogDebug("Initialize phases: data warm-up {Warmup}ms, quest reload {Quest}ms, gathering reload {Gathering}ms, init tail {Tail}ms", (long)elapsed.TotalMilliseconds, (long)elapsed2.TotalMilliseconds, (long)elapsed3.TotalMilliseconds, (long)stopwatch.Elapsed.TotalMilliseconds); } - public void Dispose() + public async ValueTask DisposeAsync() { - _serviceProvider?.Dispose(); + if (_serviceProvider != null) + { + await _serviceProvider.DisposeAsync(); + } } } diff --git a/Questionable/Questionable/ServiceCollectionExtensions.cs b/Questionable/Questionable/ServiceCollectionExtensions.cs index 0f8d3e7..6aa999b 100644 --- a/Questionable/Questionable/ServiceCollectionExtensions.cs +++ b/Questionable/Questionable/ServiceCollectionExtensions.cs @@ -1,3 +1,4 @@ +using System; using Microsoft.Extensions.DependencyInjection; using Questionable.Controller.Steps; @@ -7,8 +8,8 @@ internal static class ServiceCollectionExtensions { public static void AddTaskFactory(this IServiceCollection serviceCollection) where TFactory : class, ITaskFactory { - serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + serviceCollection.AddSingleton((Func)((IServiceProvider sp) => sp.GetRequiredService())); } public static void AddTaskExecutor(this IServiceCollection serviceCollection) where T : class, ITask where TExecutor : TaskExecutor diff --git a/Questionable/System.Text.RegularExpressions.Generated/-RegexGenerator_g-FBB8301322196CF81C64F1652C2FA6E1D6BF3907141F781E9D97ABED51BF056C4__MultipleWhitespaceRegex_0.cs b/Questionable/System.Text.RegularExpressions.Generated/-RegexGenerator_g-FBB8301322196CF81C64F1652C2FA6E1D6BF3907141F781E9D97ABED51BF056C4__MultipleWhitespaceRegex_0.cs index 79cac5c..c38abe3 100644 --- a/Questionable/System.Text.RegularExpressions.Generated/-RegexGenerator_g-FBB8301322196CF81C64F1652C2FA6E1D6BF3907141F781E9D97ABED51BF056C4__MultipleWhitespaceRegex_0.cs +++ b/Questionable/System.Text.RegularExpressions.Generated/-RegexGenerator_g-FBB8301322196CF81C64F1652C2FA6E1D6BF3907141F781E9D97ABED51BF056C4__MultipleWhitespaceRegex_0.cs @@ -3,7 +3,7 @@ using System.Runtime.CompilerServices; namespace System.Text.RegularExpressions.Generated; -[GeneratedCode("System.Text.RegularExpressions.Generator", "10.0.14.23019")] +[GeneratedCode("System.Text.RegularExpressions.Generator", "10.0.14.27113")] [SkipLocalsInit] internal sealed class _003CRegexGenerator_g_003EFBB8301322196CF81C64F1652C2FA6E1D6BF3907141F781E9D97ABED51BF056C4__MultipleWhitespaceRegex_0 : Regex { diff --git a/Questionable/System.Text.RegularExpressions.Generated/-RegexGenerator_g-FBB8301322196CF81C64F1652C2FA6E1D6BF3907141F781E9D97ABED51BF056C4__Utilities.cs b/Questionable/System.Text.RegularExpressions.Generated/-RegexGenerator_g-FBB8301322196CF81C64F1652C2FA6E1D6BF3907141F781E9D97ABED51BF056C4__Utilities.cs index 85853d7..690b5b7 100644 --- a/Questionable/System.Text.RegularExpressions.Generated/-RegexGenerator_g-FBB8301322196CF81C64F1652C2FA6E1D6BF3907141F781E9D97ABED51BF056C4__Utilities.cs +++ b/Questionable/System.Text.RegularExpressions.Generated/-RegexGenerator_g-FBB8301322196CF81C64F1652C2FA6E1D6BF3907141F781E9D97ABED51BF056C4__Utilities.cs @@ -3,7 +3,7 @@ using System.CodeDom.Compiler; namespace System.Text.RegularExpressions.Generated; -[GeneratedCode("System.Text.RegularExpressions.Generator", "10.0.14.23019")] +[GeneratedCode("System.Text.RegularExpressions.Generator", "10.0.14.27113")] internal static class _003CRegexGenerator_g_003EFBB8301322196CF81C64F1652C2FA6E1D6BF3907141F781E9D97ABED51BF056C4__Utilities { internal static readonly TimeSpan s_defaultTimeout = ((AppContext.GetData("REGEX_DEFAULT_MATCH_TIMEOUT") is TimeSpan timeSpan) ? timeSpan : Regex.InfiniteMatchTimeout); diff --git a/Questionable/System.Text.RegularExpressions.Generated/-RegexGenerator_g-FF909AF37F4C319C8940E7DA0E71D9E470824ECE485FE299B23B08984F5D534F6__MultipleWhitespaceRegex_0.cs b/Questionable/System.Text.RegularExpressions.Generated/-RegexGenerator_g-FF909AF37F4C319C8940E7DA0E71D9E470824ECE485FE299B23B08984F5D534F6__MultipleWhitespaceRegex_0.cs index ef2ed59..7e4daa8 100644 --- a/Questionable/System.Text.RegularExpressions.Generated/-RegexGenerator_g-FF909AF37F4C319C8940E7DA0E71D9E470824ECE485FE299B23B08984F5D534F6__MultipleWhitespaceRegex_0.cs +++ b/Questionable/System.Text.RegularExpressions.Generated/-RegexGenerator_g-FF909AF37F4C319C8940E7DA0E71D9E470824ECE485FE299B23B08984F5D534F6__MultipleWhitespaceRegex_0.cs @@ -3,7 +3,7 @@ using System.Runtime.CompilerServices; namespace System.Text.RegularExpressions.Generated; -[GeneratedCode("System.Text.RegularExpressions.Generator", "9.0.12.41916")] +[GeneratedCode("System.Text.RegularExpressions.Generator", "10.0.14.37416")] [SkipLocalsInit] internal sealed class _003CRegexGenerator_g_003EFF909AF37F4C319C8940E7DA0E71D9E470824ECE485FE299B23B08984F5D534F6__MultipleWhitespaceRegex_0 : Regex { diff --git a/Questionable/System.Text.RegularExpressions.Generated/-RegexGenerator_g-FF909AF37F4C319C8940E7DA0E71D9E470824ECE485FE299B23B08984F5D534F6__Utilities.cs b/Questionable/System.Text.RegularExpressions.Generated/-RegexGenerator_g-FF909AF37F4C319C8940E7DA0E71D9E470824ECE485FE299B23B08984F5D534F6__Utilities.cs index 5d515c1..71e4814 100644 --- a/Questionable/System.Text.RegularExpressions.Generated/-RegexGenerator_g-FF909AF37F4C319C8940E7DA0E71D9E470824ECE485FE299B23B08984F5D534F6__Utilities.cs +++ b/Questionable/System.Text.RegularExpressions.Generated/-RegexGenerator_g-FF909AF37F4C319C8940E7DA0E71D9E470824ECE485FE299B23B08984F5D534F6__Utilities.cs @@ -3,12 +3,12 @@ using System.CodeDom.Compiler; namespace System.Text.RegularExpressions.Generated; -[GeneratedCode("System.Text.RegularExpressions.Generator", "9.0.12.41916")] +[GeneratedCode("System.Text.RegularExpressions.Generator", "10.0.14.37416")] internal static class _003CRegexGenerator_g_003EFF909AF37F4C319C8940E7DA0E71D9E470824ECE485FE299B23B08984F5D534F6__Utilities { internal static readonly TimeSpan s_defaultTimeout = ((AppContext.GetData("REGEX_DEFAULT_MATCH_TIMEOUT") is TimeSpan timeSpan) ? timeSpan : Regex.InfiniteMatchTimeout); internal static readonly bool s_hasTimeout = s_defaultTimeout != Regex.InfiniteMatchTimeout; - internal static readonly SearchValues s_whitespace = SearchValues.Create("\t\n\v\f\r \u0085\u00a0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u2028\u2029\u202f\u205f\u3000"); + internal static readonly SearchValues s_whitespace = SearchValues.Create("\t\n\v\f\r \u0085\u00a0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u2028\u2029\u202f\u205f\u3000".AsSpan()); } diff --git a/SeasonalDutyPaths/-----------------------------------------.cs b/SeasonalDutyPaths/-----------------------------------------.cs new file mode 100644 index 0000000..260edb6 --- /dev/null +++ b/SeasonalDutyPaths/-----------------------------------------.cs @@ -0,0 +1,1044 @@ +using System; +using System.IO; +using System.Runtime.InteropServices; + +internal struct _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E +{ + internal uint _206D_202D_200D_206E_202C_206B_200B_200F_200C_206F_200D_206E_202C_200B_202A_202D_206C_202B_200F_200D_200F_200B_202E_206F_200C_200E_200D_206B_202C_200B_202D_202A_200D_206E_202E_200B_200E_202A_206C_206B_202E; + + internal void _200F_202E_206C_206E_206E_206D_202C_206B_206F_206C_206B_200F_202B_202B_206D_202C_206B_200C_200F_202B_206B_206B_202B_206A_202C_202A_202D_200B_206A_200F_200D_202A_206F_206E_206C_206C_200F_200F_206E_202D_202E() + { + _206D_202D_200D_206E_202C_206B_200B_200F_200C_206F_200D_206E_202C_200B_202A_202D_206C_202B_200F_200D_200F_200B_202E_206F_200C_200E_200D_206B_202C_200B_202D_202A_200D_206E_202E_200B_200E_202A_206C_206B_202E = 1024u; + } + + internal uint _200E_200F_206F_202D_202E_206E_202E_202D_200D_202A_200F_202B_206D_200D_206D_200F_202A_202E_206D_200E_202E_202D_202C_206A_202A_206C_202B_202A_202E_206A_200C_202D_206F_200D_202C_200D_202A_200F_202B_202E(_200E_202B_202B_206B_202D_202B_200B_202B_202A_200C_200F_202A_202A_200B_200B_200F_202D_206D_206B_200B_206C_202B_206C_200D_202B_202E_202E_200F_206D_202E_206D_200C_200D_206E_202D_206D_200B_202D_206A_202D_202E rangeDecoder) + { + uint num = (rangeDecoder._200F_202E_202C_206E_200B_202B_200C_202A_206F_206C_200F_202D_202C_202D_206E_202B_200C_206C_206B_202A_200C_200C_206F_206E_202B_200F_202A_200B_202A_202A_206E_202D_206F_206B_202E_206B_206F_202A_206C_202A_202E >> 11) * _206D_202D_200D_206E_202C_206B_200B_200F_200C_206F_200D_206E_202C_200B_202A_202D_206C_202B_200F_200D_200F_200B_202E_206F_200C_200E_200D_206B_202C_200B_202D_202A_200D_206E_202E_200B_200E_202A_206C_206B_202E; + int num3; + int num4; + if (rangeDecoder._200B_202B_206B_200B_202E_200D_202A_200D_202A_206B_202C_206A_206E_206D_206D_206C_202C_206E_200B_206F_202A_202E_202A_200E_200D_206B_200D_206D_202A_200B_200B_202C_206A_200D_206A_200C_206D_200B_206B_202E < num) + { + rangeDecoder._200F_202E_202C_206E_200B_202B_200C_202A_206F_206C_200F_202D_202C_202D_206E_202B_200C_206C_206B_202A_200C_200C_206F_206E_202B_200F_202A_200B_202A_202A_206E_202D_206F_206B_202E_206B_206F_202A_206C_202A_202E = num; + uint num2 = _206D_202D_200D_206E_202C_206B_200B_200F_200C_206F_200D_206E_202C_200B_202A_202D_206C_202B_200F_200D_200F_200B_202E_206F_200C_200E_200D_206B_202C_200B_202D_202A_200D_206E_202E_200B_200E_202A_206C_206B_202E; + num3 = (int)_206D_202D_200D_206E_202C_206B_200B_200F_200C_206F_200D_206E_202C_200B_202A_202D_206C_202B_200F_200D_200F_200B_202E_206F_200C_200E_200D_206B_202C_200B_202D_202A_200D_206E_202E_200B_200E_202A_206C_206B_202E; + num4 = 2048; + num3 = ~(~num4 + num3) >>> 5; + num4 = (int)num2; + _206D_202D_200D_206E_202C_206B_200B_200F_200C_206F_200D_206E_202C_200B_202A_202D_206C_202B_200F_200D_200F_200B_202E_206F_200C_200E_200D_206B_202C_200B_202D_202A_200D_206E_202E_200B_200E_202A_206C_206B_202E = (uint)((num4 | num3) + (num4 & num3)); + if (rangeDecoder._200F_202E_202C_206E_200B_202B_200C_202A_206F_206C_200F_202D_202C_202D_206E_202B_200C_206C_206B_202A_200C_200C_206F_206E_202B_200F_202A_200B_202A_202A_206E_202D_206F_206B_202E_206B_206F_202A_206C_202A_202E < 16777216) + { + rangeDecoder._200B_202B_206B_200B_202E_200D_202A_200D_202A_206B_202C_206A_206E_206D_206D_206C_202C_206E_200B_206F_202A_202E_202A_200E_200D_206B_200D_206D_202A_200B_200B_202C_206A_200D_206A_200C_206D_200B_206B_202E = (rangeDecoder._200B_202B_206B_200B_202E_200D_202A_200D_202A_206B_202C_206A_206E_206D_206D_206C_202C_206E_200B_206F_202A_202E_202A_200E_200D_206B_200D_206D_202A_200B_200B_202C_206A_200D_206A_200C_206D_200B_206B_202E << 8) | (byte)rangeDecoder._200D_202C_200C_206A_202D_206F_202C_202C_206F_202A_206A_202A_206C_202A_202E_202C_200B_200E_200F_206B_200F_206D_200E_202E_200C_206A_206C_202D_200B_202E_206E_206A_202B_202D_206C_202A_206D_202B_206C_202A_202E.ReadByte(); + rangeDecoder._200F_202E_202C_206E_200B_202B_200C_202A_206F_206C_200F_202D_202C_202D_206E_202B_200C_206C_206B_202A_200C_200C_206F_206E_202B_200F_202A_200B_202A_202A_206E_202D_206F_206B_202E_206B_206F_202A_206C_202A_202E <<= 8; + } + return 0u; + } + uint num5 = rangeDecoder._200F_202E_202C_206E_200B_202B_200C_202A_206F_206C_200F_202D_202C_202D_206E_202B_200C_206C_206B_202A_200C_200C_206F_206E_202B_200F_202A_200B_202A_202A_206E_202D_206F_206B_202E_206B_206F_202A_206C_202A_202E; + num3 = (int)num; + num4 = (int)num5; + rangeDecoder._200F_202E_202C_206E_200B_202B_200C_202A_206F_206C_200F_202D_202C_202D_206E_202B_200C_206C_206B_202A_200C_200C_206F_206E_202B_200F_202A_200B_202A_202A_206E_202D_206F_206B_202E_206B_206F_202A_206C_202A_202E = (uint)(~(~num4 + num3)); + uint num6 = rangeDecoder._200B_202B_206B_200B_202E_200D_202A_200D_202A_206B_202C_206A_206E_206D_206D_206C_202C_206E_200B_206F_202A_202E_202A_200E_200D_206B_200D_206D_202A_200B_200B_202C_206A_200D_206A_200C_206D_200B_206B_202E; + num3 = (int)num; + num4 = (int)num6; + rangeDecoder._200B_202B_206B_200B_202E_200D_202A_200D_202A_206B_202C_206A_206E_206D_206D_206C_202C_206E_200B_206F_202A_202E_202A_200E_200D_206B_200D_206D_202A_200B_200B_202C_206A_200D_206A_200C_206D_200B_206B_202E = (uint)(~(~num4 + num3)); + uint num7 = _206D_202D_200D_206E_202C_206B_200B_200F_200C_206F_200D_206E_202C_200B_202A_202D_206C_202B_200F_200D_200F_200B_202E_206F_200C_200E_200D_206B_202C_200B_202D_202A_200D_206E_202E_200B_200E_202A_206C_206B_202E; + num3 = (int)(_206D_202D_200D_206E_202C_206B_200B_200F_200C_206F_200D_206E_202C_200B_202A_202D_206C_202B_200F_200D_200F_200B_202E_206F_200C_200E_200D_206B_202C_200B_202D_202A_200D_206E_202E_200B_200E_202A_206C_206B_202E >> 5); + num4 = (int)num7; + _206D_202D_200D_206E_202C_206B_200B_200F_200C_206F_200D_206E_202C_200B_202A_202D_206C_202B_200F_200D_200F_200B_202E_206F_200C_200E_200D_206B_202C_200B_202D_202A_200D_206E_202E_200B_200E_202A_206C_206B_202E = (uint)(~(~num4 + num3)); + if (rangeDecoder._200F_202E_202C_206E_200B_202B_200C_202A_206F_206C_200F_202D_202C_202D_206E_202B_200C_206C_206B_202A_200C_200C_206F_206E_202B_200F_202A_200B_202A_202A_206E_202D_206F_206B_202E_206B_206F_202A_206C_202A_202E < 16777216) + { + rangeDecoder._200B_202B_206B_200B_202E_200D_202A_200D_202A_206B_202C_206A_206E_206D_206D_206C_202C_206E_200B_206F_202A_202E_202A_200E_200D_206B_200D_206D_202A_200B_200B_202C_206A_200D_206A_200C_206D_200B_206B_202E = (rangeDecoder._200B_202B_206B_200B_202E_200D_202A_200D_202A_206B_202C_206A_206E_206D_206D_206C_202C_206E_200B_206F_202A_202E_202A_200E_200D_206B_200D_206D_202A_200B_200B_202C_206A_200D_206A_200C_206D_200B_206B_202E << 8) | (byte)rangeDecoder._200D_202C_200C_206A_202D_206F_202C_202C_206F_202A_206A_202A_206C_202A_202E_202C_200B_200E_200F_206B_200F_206D_200E_202E_200C_206A_206C_202D_200B_202E_206E_206A_202B_202D_206C_202A_206D_202B_206C_202A_202E.ReadByte(); + rangeDecoder._200F_202E_202C_206E_200B_202B_200C_202A_206F_206C_200F_202D_202C_202D_206E_202B_200C_206C_206B_202A_200C_200C_206F_206E_202B_200F_202A_200B_202A_202A_206E_202D_206F_206B_202E_206B_206F_202A_206C_202A_202E <<= 8; + } + return 1u; + } +} +internal struct _206F_206A_206F_206D_206F_202B_206D_202E_202B_202B_202D_206A_200F_206C_206A_206A_202A_206A_206A_206B_202B_200B_200F_202D_206C_202C_206B_202E_206F_200B_200C_206A_206C_200E_202D_200C_206A_206B_200E_202E_202E +{ + internal readonly _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E[] _206B_202E_206F_206F_200C_200E_206E_206A_202C_202B_202D_202E_206D_206C_206F_202C_206E_202D_200E_202E_206F_206D_202C_206B_206E_206A_202A_202D_202D_206D_202A_200F_206D_202A_206C_206B_200E_202B_206B_202A_202E; + + internal readonly int _206B_206A_206C_200D_200B_202B_206E_206C_202A_206A_200D_202E_202D_202E_202A_206B_206C_200E_202B_200B_200C_200F_202D_202D_206F_206F_200B_202D_206A_200B_206A_202C_202C_206A_202E_202C_200F_200D_202E_202A_202E; + + internal _206F_206A_206F_206D_206F_202B_206D_202E_202B_202B_202D_206A_200F_206C_206A_206A_202A_206A_206A_206B_202B_200B_200F_202D_206C_202C_206B_202E_206F_200B_200C_206A_206C_200E_202D_200C_206A_206B_200E_202E_202E(int numBitLevels) + { + _206B_206A_206C_200D_200B_202B_206E_206C_202A_206A_200D_202E_202D_202E_202A_206B_206C_200E_202B_200B_200C_200F_202D_202D_206F_206F_200B_202D_206A_200B_206A_202C_202C_206A_202E_202C_200F_200D_202E_202A_202E = numBitLevels; + int num = 31; + _206B_202E_206F_206F_200C_200E_206E_206A_202C_202B_202D_202E_206D_206C_206F_202C_206E_202D_200E_202E_206F_206D_202C_206B_206E_206A_202A_202D_202D_206D_202A_200F_206D_202A_206C_206B_200E_202B_206B_202A_202E = new _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E[1 << (numBitLevels | num) - (numBitLevels ^ num)]; + } + + internal void _200E_202E_206D_202B_206C_200E_206B_202C_200B_200E_202E_200E_202C_206F_206D_202D_202B_206B_202A_202B_206F_206A_206A_202C_206B_206E_200C_200F_202C_206F_206A_206F_202E_200B_206E_202C_202A_206E_206B_200E_202E() + { + uint num = 1u; + while (true) + { + long num2 = num; + int num3 = _206B_206A_206C_200D_200B_202B_206E_206C_202A_206A_200D_202E_202D_202E_202A_206B_206C_200E_202B_200B_200C_200F_202D_202D_206F_206F_200B_202D_206A_200B_206A_202C_202C_206A_202E_202C_200F_200D_202E_202A_202E; + int num4 = 31; + int num5 = num3; + if (num2 < 1 << (num5 | num4) - (num5 ^ num4)) + { + _206B_202E_206F_206F_200C_200E_206E_206A_202C_202B_202D_202E_206D_206C_206F_202C_206E_202D_200E_202E_206F_206D_202C_206B_206E_206A_202A_202D_202D_206D_202A_200F_206D_202A_206C_206B_200E_202B_206B_202A_202E[num]._200F_202E_206C_206E_206E_206D_202C_206B_206F_206C_206B_200F_202B_202B_206D_202C_206B_200C_200F_202B_206B_206B_202B_206A_202C_202A_202D_200B_206A_200F_200D_202A_206F_206E_206C_206C_200F_200F_206E_202D_202E(); + uint num6 = num; + num4 = 1; + num5 = (int)num6; + num = (uint)((num5 | num4) + (num5 & num4)); + continue; + } + break; + } + } + + internal uint _202B_200E_206B_200E_202E_202E_200C_206F_206F_202B_202D_202E_200E_206C_200B_200C_202E_206B_202B_202D_206C_200F_206F_202B_202E_200F_202B_200F_202E_206D_200E_200D_200F_200C_200B_206E_200E_206F_206E_200C_202E(_200E_202B_202B_206B_202D_202B_200B_202B_202A_200C_200F_202A_202A_200B_200B_200F_202D_206D_206B_200B_206C_202B_206C_200D_202B_202E_202E_200F_206D_202E_206D_200C_200D_206E_202D_206D_200B_202D_206A_202D_202E rangeDecoder) + { + uint num = 1u; + int num4; + int num5; + for (int num2 = _206B_206A_206C_200D_200B_202B_206E_206C_202A_206A_200D_202E_202D_202E_202A_206B_206C_200E_202B_200B_200C_200F_202D_202D_206F_206F_200B_202D_206A_200B_206A_202C_202C_206A_202E_202C_200F_200D_202E_202A_202E; num2 > 0; num2 = ~(~num5 + num4)) + { + num = (num << 1) + _206B_202E_206F_206F_200C_200E_206E_206A_202C_202B_202D_202E_206D_206C_206F_202C_206E_202D_200E_202E_206F_206D_202C_206B_206E_206A_202A_202D_202D_206D_202A_200F_206D_202A_206C_206B_200E_202B_206B_202A_202E[num]._200E_200F_206F_202D_202E_206E_202E_202D_200D_202A_200F_202B_206D_200D_206D_200F_202A_202E_206D_200E_202E_202D_202C_206A_202A_206C_202B_202A_202E_206A_200C_202D_206F_200D_202C_200D_202A_200F_202B_202E(rangeDecoder); + int num3 = num2; + num4 = 1; + num5 = num3; + } + uint num6 = num; + int num7 = _206B_206A_206C_200D_200B_202B_206E_206C_202A_206A_200D_202E_202D_202E_202A_206B_206C_200E_202B_200B_200C_200F_202D_202D_206F_206F_200B_202D_206A_200B_206A_202C_202C_206A_202E_202C_200F_200D_202E_202A_202E; + num4 = 31; + num5 = num7; + num4 = 1 << num5 + num4 - (num5 | num4); + num5 = (int)num6; + return (uint)(~(~num5 + num4)); + } + + internal uint _206B_202E_206E_206A_200E_206F_202C_200F_200C_200E_202D_206F_200F_202E_200C_202E_200F_200E_200B_200D_202B_206B_206F_200C_200E_200E_206F_200C_206C_206A_206E_206A_202D_206C_206C_206B_200F_206F_206D_206B_202E(_200E_202B_202B_206B_202D_202B_200B_202B_202A_200C_200F_202A_202A_200B_200B_200F_202D_206D_206B_200B_206C_202B_206C_200D_202B_202E_202E_200F_206D_202E_206D_200C_200D_206E_202D_206D_200B_202D_206A_202D_202E rangeDecoder) + { + uint num = 1u; + uint num2 = 0u; + int num3 = 0; + while (num3 < _206B_206A_206C_200D_200B_202B_206E_206C_202A_206A_200D_202E_202D_202E_202A_206B_206C_200E_202B_200B_200C_200F_202D_202D_206F_206F_200B_202D_206A_200B_206A_202C_202C_206A_202E_202C_200F_200D_202E_202A_202E) + { + uint num4 = _206B_202E_206F_206F_200C_200E_206E_206A_202C_202B_202D_202E_206D_206C_206F_202C_206E_202D_200E_202E_206F_206D_202C_206B_206E_206A_202A_202D_202D_206D_202A_200F_206D_202A_206C_206B_200E_202B_206B_202A_202E[num]._200E_200F_206F_202D_202E_206E_202E_202D_200D_202A_200F_202B_206D_200D_206D_200F_202A_202E_206D_200E_202E_202D_202C_206A_202A_206C_202B_202A_202E_206A_200C_202D_206F_200D_202C_200D_202A_200F_202B_202E(rangeDecoder); + num <<= 1; + uint num5 = num; + int num6 = (int)num4; + int num7 = (int)num5; + num = (uint)((num7 | num6) + (num7 & num6)); + uint num8 = num2; + int num9 = num3; + num6 = 31; + num7 = num9; + num6 = (int)(num4 << (num7 | num6) - (num7 ^ num6)); + num7 = (int)num8; + num2 = (uint)((num7 & num6) + (num7 ^ num6)); + int num10 = num3; + num6 = 1; + num7 = num10; + num3 = (num7 | num6) + (num7 & num6); + } + return num2; + } + + internal static uint _206F_206D_206F_202D_202E_200C_202B_206C_206E_200C_202E_202B_206F_200D_206F_206F_202D_206C_202A_200E_200B_206C_206F_206F_200F_200C_200F_202A_206A_206C_206A_200E_200C_202B_200F_206D_206F_200D_206D_202B_202E(_206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E[] Models, uint startIndex, _200E_202B_202B_206B_202D_202B_200B_202B_202A_200C_200F_202A_202A_200B_200B_200F_202D_206D_206B_200B_206C_202B_206C_200D_202B_202E_202E_200F_206D_202E_206D_200C_200D_206E_202D_206D_200B_202D_206A_202D_202E rangeDecoder, int NumBitLevels) + { + uint num = 1u; + uint num2 = 0u; + int num3 = 0; + while (num3 < NumBitLevels) + { + int num4 = (int)num; + int num5 = (int)startIndex; + int num6 = num5 ^ num4; + int num7 = num5 & num4; + uint num8 = Models[num6 + (num7 + num7)]._200E_200F_206F_202D_202E_206E_202E_202D_200D_202A_200F_202B_206D_200D_206D_200F_202A_202E_206D_200E_202E_202D_202C_206A_202A_206C_202B_202A_202E_206A_200C_202D_206F_200D_202C_200D_202A_200F_202B_202E(rangeDecoder); + num <<= 1; + uint num9 = num; + num4 = (int)num8; + num5 = (int)num9; + num = (uint)((num5 | num4) + (num5 & num4)); + uint num10 = num2; + int num11 = num3; + num4 = 31; + num5 = num11; + num4 = (int)(num8 << (num5 | num4) - (num5 ^ num4)); + num5 = (int)num10; + num2 = (uint)(num5 + num4 - (num5 & num4)); + int num12 = num3; + num4 = 1; + num5 = num12; + num3 = (num5 | num4) + (num5 & num4); + } + return num2; + } +} +internal class _200E_202B_202B_206B_202D_202B_200B_202B_202A_200C_200F_202A_202A_200B_200B_200F_202D_206D_206B_200B_206C_202B_206C_200D_202B_202E_202E_200F_206D_202E_206D_200C_200D_206E_202D_206D_200B_202D_206A_202D_202E +{ + internal uint _200B_202B_206B_200B_202E_200D_202A_200D_202A_206B_202C_206A_206E_206D_206D_206C_202C_206E_200B_206F_202A_202E_202A_200E_200D_206B_200D_206D_202A_200B_200B_202C_206A_200D_206A_200C_206D_200B_206B_202E; + + internal uint _200F_202E_202C_206E_200B_202B_200C_202A_206F_206C_200F_202D_202C_202D_206E_202B_200C_206C_206B_202A_200C_200C_206F_206E_202B_200F_202A_200B_202A_202A_206E_202D_206F_206B_202E_206B_206F_202A_206C_202A_202E; + + internal Stream _200D_202C_200C_206A_202D_206F_202C_202C_206F_202A_206A_202A_206C_202A_202E_202C_200B_200E_200F_206B_200F_206D_200E_202E_200C_206A_206C_202D_200B_202E_206E_206A_202B_202D_206C_202A_206D_202B_206C_202A_202E; + + internal void _202B_202E_200C_206F_200F_202B_206F_202A_206D_200C_206B_202D_202D_200F_206D_200F_202E_202E_200D_200E_200D_206A_200C_202C_206E_206E_202E_206B_200C_202B_202B_200F_200E_202E_202E_202A_200E_206D_200E_206E_202E(Stream stream) + { + _200D_202C_200C_206A_202D_206F_202C_202C_206F_202A_206A_202A_206C_202A_202E_202C_200B_200E_200F_206B_200F_206D_200E_202E_200C_206A_206C_202D_200B_202E_206E_206A_202B_202D_206C_202A_206D_202B_206C_202A_202E = stream; + _200B_202B_206B_200B_202E_200D_202A_200D_202A_206B_202C_206A_206E_206D_206D_206C_202C_206E_200B_206F_202A_202E_202A_200E_200D_206B_200D_206D_202A_200B_200B_202C_206A_200D_206A_200C_206D_200B_206B_202E = 0u; + _200F_202E_202C_206E_200B_202B_200C_202A_206F_206C_200F_202D_202C_202D_206E_202B_200C_206C_206B_202A_200C_200C_206F_206E_202B_200F_202A_200B_202A_202A_206E_202D_206F_206B_202E_206B_206F_202A_206C_202A_202E = uint.MaxValue; + int num = 0; + while (num < 5) + { + _200B_202B_206B_200B_202E_200D_202A_200D_202A_206B_202C_206A_206E_206D_206D_206C_202C_206E_200B_206F_202A_202E_202A_200E_200D_206B_200D_206D_202A_200B_200B_202C_206A_200D_206A_200C_206D_200B_206B_202E = (_200B_202B_206B_200B_202E_200D_202A_200D_202A_206B_202C_206A_206E_206D_206D_206C_202C_206E_200B_206F_202A_202E_202A_200E_200D_206B_200D_206D_202A_200B_200B_202C_206A_200D_206A_200C_206D_200B_206B_202E << 8) | (byte)_200D_202C_200C_206A_202D_206F_202C_202C_206F_202A_206A_202A_206C_202A_202E_202C_200B_200E_200F_206B_200F_206D_200E_202E_200C_206A_206C_202D_200B_202E_206E_206A_202B_202D_206C_202A_206D_202B_206C_202A_202E.ReadByte(); + int num2 = num; + int num3 = 1; + int num4 = num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = num5 + (num6 + num6); + } + } + + internal void _202A_206B_206C_206B_200C_200E_200C_202A_202D_206F_202C_206B_206B_200C_202C_206B_206F_206F_202E_206F_202C_206E_202D_200C_200C_206F_206C_202A_206A_206E_206E_206F_200D_202B_202C_200E_200F_200E_202B_206E_202E() + { + _200D_202C_200C_206A_202D_206F_202C_202C_206F_202A_206A_202A_206C_202A_202E_202C_200B_200E_200F_206B_200F_206D_200E_202E_200C_206A_206C_202D_200B_202E_206E_206A_202B_202D_206C_202A_206D_202B_206C_202A_202E = null; + } + + internal void _200F_206E_206A_200B_206F_202D_206A_202B_202D_202A_200D_202C_200F_200F_206A_206B_200C_200C_202C_206D_206E_206B_202E_202C_202C_202C_206A_206D_202A_202A_200F_206B_202B_206A_202D_202E_200E_206B_200C_200C_202E() + { + while (_200F_202E_202C_206E_200B_202B_200C_202A_206F_206C_200F_202D_202C_202D_206E_202B_200C_206C_206B_202A_200C_200C_206F_206E_202B_200F_202A_200B_202A_202A_206E_202D_206F_206B_202E_206B_206F_202A_206C_202A_202E < 16777216) + { + _200B_202B_206B_200B_202E_200D_202A_200D_202A_206B_202C_206A_206E_206D_206D_206C_202C_206E_200B_206F_202A_202E_202A_200E_200D_206B_200D_206D_202A_200B_200B_202C_206A_200D_206A_200C_206D_200B_206B_202E = (_200B_202B_206B_200B_202E_200D_202A_200D_202A_206B_202C_206A_206E_206D_206D_206C_202C_206E_200B_206F_202A_202E_202A_200E_200D_206B_200D_206D_202A_200B_200B_202C_206A_200D_206A_200C_206D_200B_206B_202E << 8) | (byte)_200D_202C_200C_206A_202D_206F_202C_202C_206F_202A_206A_202A_206C_202A_202E_202C_200B_200E_200F_206B_200F_206D_200E_202E_200C_206A_206C_202D_200B_202E_206E_206A_202B_202D_206C_202A_206D_202B_206C_202A_202E.ReadByte(); + _200F_202E_202C_206E_200B_202B_200C_202A_206F_206C_200F_202D_202C_202D_206E_202B_200C_206C_206B_202A_200C_200C_206F_206E_202B_200F_202A_200B_202A_202A_206E_202D_206F_206B_202E_206B_206F_202A_206C_202A_202E <<= 8; + } + } + + internal uint _202B_200B_202D_202D_206B_200E_200F_202B_200B_202A_200B_202A_200D_200D_200C_200B_200B_206B_202B_202D_206D_200E_206D_202B_200E_206F_200E_206E_202E_206C_200B_202D_200B_206A_206C_206F_206A_206B_206D_206D_202E(int numTotalBits) + { + uint num = _200F_202E_202C_206E_200B_202B_200C_202A_206F_206C_200F_202D_202C_202D_206E_202B_200C_206C_206B_202A_200C_200C_206F_206E_202B_200F_202A_200B_202A_202A_206E_202D_206F_206B_202E_206B_206F_202A_206C_202A_202E; + uint num2 = _200B_202B_206B_200B_202E_200D_202A_200D_202A_206B_202C_206A_206E_206D_206D_206C_202C_206E_200B_206F_202A_202E_202A_200E_200D_206B_200D_206D_202A_200B_200B_202C_206A_200D_206A_200C_206D_200B_206B_202E; + uint num3 = 0u; + int num4 = numTotalBits; + while (num4 > 0) + { + num >>= 1; + uint num5 = num2; + int num6 = (int)num; + int num7 = (int)num5; + uint num8 = (uint)(~(~num7 + num6)) >> 31; + uint num9 = num2; + uint num10 = num; + num6 = 1; + num7 = (int)num8; + num6 = ~(~num7 + num6); + num7 = (int)num10; + num6 = num7 + num6 - (num7 | num6); + num7 = (int)num9; + num2 = (uint)(~(~num7 + num6)); + uint num11 = num3 << 1; + num6 = (int)num8; + num7 = 1; + num6 = ~(~num7 + num6); + num7 = (int)num11; + num3 = (uint)((num7 & num6) + (num7 ^ num6)); + if (num < 16777216) + { + num2 = (num2 << 8) | (byte)_200D_202C_200C_206A_202D_206F_202C_202C_206F_202A_206A_202A_206C_202A_202E_202C_200B_200E_200F_206B_200F_206D_200E_202E_200C_206A_206C_202D_200B_202E_206E_206A_202B_202D_206C_202A_206D_202B_206C_202A_202E.ReadByte(); + num <<= 8; + } + int num12 = num4; + num6 = 1; + num7 = num12; + num4 = ~(~num7 + num6); + } + _200F_202E_202C_206E_200B_202B_200C_202A_206F_206C_200F_202D_202C_202D_206E_202B_200C_206C_206B_202A_200C_200C_206F_206E_202B_200F_202A_200B_202A_202A_206E_202D_206F_206B_202E_206B_206F_202A_206C_202A_202E = num; + _200B_202B_206B_200B_202E_200D_202A_200D_202A_206B_202C_206A_206E_206D_206D_206C_202C_206E_200B_206F_202A_202E_202A_200E_200D_206B_200D_206D_202A_200B_200B_202C_206A_200D_206A_200C_206D_200B_206B_202E = num2; + return num3; + } + + internal _200E_202B_202B_206B_202D_202B_200B_202B_202A_200C_200F_202A_202A_200B_200B_200F_202D_206D_206B_200B_206C_202B_206C_200D_202B_202E_202E_200F_206D_202E_206D_200C_200D_206E_202D_206D_200B_202D_206A_202D_202E() + { + } +} +internal class _206C_200E_206F_200E_202B_200F_202D_206B_206B_200F_202E_200F_200E_206A_206E_200B_206C_202A_200B_202B_200C_206A_200E_206D_200D_200B_206D_202A_206B_202E_206B_202E_200C_200B_200B_202A_206F_202D_200C_202B_202E +{ + internal class _206D_206F_206E_206E_202D_200B_206B_200E_206E_206D_206E_206F_206C_202C_206C_206C_202B_202C_200F_206E_200E_202C_200F_202C_202D_206D_200B_206E_200D_200B_206A_206B_200E_206A_200D_206C_200D_206B_202A_200C_202E + { + internal readonly _206F_206A_206F_206D_206F_202B_206D_202E_202B_202B_202D_206A_200F_206C_206A_206A_202A_206A_206A_206B_202B_200B_200F_202D_206C_202C_206B_202E_206F_200B_200C_206A_206C_200E_202D_200C_206A_206B_200E_202E_202E[] _200B_200B_206F_202D_200C_202A_206F_206B_200F_200B_206E_202A_200B_206E_202B_200B_206D_202C_200C_206D_206B_202B_202D_202C_206A_202A_206D_200F_206F_206A_200D_206E_206B_202E_200F_202C_202E_200B_206D_200F_202E = new _206F_206A_206F_206D_206F_202B_206D_202E_202B_202B_202D_206A_200F_206C_206A_206A_202A_206A_206A_206B_202B_200B_200F_202D_206C_202C_206B_202E_206F_200B_200C_206A_206C_200E_202D_200C_206A_206B_200E_202E_202E[16]; + + internal readonly _206F_206A_206F_206D_206F_202B_206D_202E_202B_202B_202D_206A_200F_206C_206A_206A_202A_206A_206A_206B_202B_200B_200F_202D_206C_202C_206B_202E_206F_200B_200C_206A_206C_200E_202D_200C_206A_206B_200E_202E_202E[] _200D_202A_206B_206C_200F_206E_200D_206A_200D_200E_200D_202E_206D_202E_200C_200C_202D_206D_200C_206A_202B_200C_200C_202E_202D_202B_202D_202A_206E_202E_200D_200E_200F_206E_202D_206C_200F_206D_202D_206E_202E = new _206F_206A_206F_206D_206F_202B_206D_202E_202B_202B_202D_206A_200F_206C_206A_206A_202A_206A_206A_206B_202B_200B_200F_202D_206C_202C_206B_202E_206F_200B_200C_206A_206C_200E_202D_200C_206A_206B_200E_202E_202E[16]; + + internal _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E _202E_206D_200F_206D_206D_206B_200F_202A_206B_200E_202C_200B_202C_206F_200B_200F_202C_206A_206B_206B_202D_206F_206D_200D_202B_202C_206D_202C_202A_202D_202C_200D_206C_206D_206D_202A_202D_202C_206B_206F_202E; + + internal _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E _202A_206D_200B_200E_200E_200B_200B_206C_202D_202D_200D_202C_200B_200B_200C_202C_202C_202C_202E_200D_206C_200E_206B_206B_202A_206A_200F_202C_202C_202A_200D_206D_206B_200F_206F_206F_202E_206A_206C_206F_202E; + + internal _206F_206A_206F_206D_206F_202B_206D_202E_202B_202B_202D_206A_200F_206C_206A_206A_202A_206A_206A_206B_202B_200B_200F_202D_206C_202C_206B_202E_206F_200B_200C_206A_206C_200E_202D_200C_206A_206B_200E_202E_202E _202A_202D_200D_206D_206A_206C_202D_200B_202E_202B_200E_206B_202D_202A_202C_202B_202E_200E_202A_206F_206C_206B_206A_206B_200B_206A_202A_200D_206B_200B_206F_200C_202E_206C_202D_200C_206B_202D_206D_206B_202E = new _206F_206A_206F_206D_206F_202B_206D_202E_202B_202B_202D_206A_200F_206C_206A_206A_202A_206A_206A_206B_202B_200B_200F_202D_206C_202C_206B_202E_206F_200B_200C_206A_206C_200E_202D_200C_206A_206B_200E_202E_202E(8); + + internal uint _202D_206B_202B_202C_200C_206D_206C_206B_202B_200D_202C_202D_200D_200D_200D_200B_202B_200B_200F_200B_202B_202B_206D_200B_200D_206E_202C_206D_206D_206B_206E_206D_206D_202D_206E_206A_200B_200F_206D_202E; + + internal void _202B_200B_206B_202A_200B_202C_200D_202C_200D_200B_200D_202C_200E_206B_206A_200B_206F_206B_206E_206F_206C_202E_206B_206C_206A_206D_200D_202B_206D_202E_206D_200C_206A_202A_206E_206E_206E_200B_202B_200E_202E(uint numPosStates) + { + uint num = _202D_206B_202B_202C_200C_206D_206C_206B_202B_200D_202C_202D_200D_200D_200D_200B_202B_200B_200F_200B_202B_202B_206D_200B_200D_206E_202C_206D_206D_206B_206E_206D_206D_202D_206E_206A_200B_200F_206D_202E; + while (num < numPosStates) + { + _200B_200B_206F_202D_200C_202A_206F_206B_200F_200B_206E_202A_200B_206E_202B_200B_206D_202C_200C_206D_206B_202B_202D_202C_206A_202A_206D_200F_206F_206A_200D_206E_206B_202E_200F_202C_202E_200B_206D_200F_202E[num] = new _206F_206A_206F_206D_206F_202B_206D_202E_202B_202B_202D_206A_200F_206C_206A_206A_202A_206A_206A_206B_202B_200B_200F_202D_206C_202C_206B_202E_206F_200B_200C_206A_206C_200E_202D_200C_206A_206B_200E_202E_202E(3); + _200D_202A_206B_206C_200F_206E_200D_206A_200D_200E_200D_202E_206D_202E_200C_200C_202D_206D_200C_206A_202B_200C_200C_202E_202D_202B_202D_202A_206E_202E_200D_200E_200F_206E_202D_206C_200F_206D_202D_206E_202E[num] = new _206F_206A_206F_206D_206F_202B_206D_202E_202B_202B_202D_206A_200F_206C_206A_206A_202A_206A_206A_206B_202B_200B_200F_202D_206C_202C_206B_202E_206F_200B_200C_206A_206C_200E_202D_200C_206A_206B_200E_202E_202E(3); + uint num2 = num; + int num3 = 1; + int num4 = (int)num2; + num = (uint)((num4 | num3) + (num4 & num3)); + } + _202D_206B_202B_202C_200C_206D_206C_206B_202B_200D_202C_202D_200D_200D_200D_200B_202B_200B_200F_200B_202B_202B_206D_200B_200D_206E_202C_206D_206D_206B_206E_206D_206D_202D_206E_206A_200B_200F_206D_202E = numPosStates; + } + + internal void _206D_206E_200E_202C_202E_206C_200C_202E_206B_200B_200C_206C_206B_206F_206F_200B_206D_202A_202C_206A_202D_200D_206F_202B_206B_202A_202D_206D_200D_206B_206C_200F_200C_200B_206C_202C_200E_200B_200E_202E_202E() + { + _202E_206D_200F_206D_206D_206B_200F_202A_206B_200E_202C_200B_202C_206F_200B_200F_202C_206A_206B_206B_202D_206F_206D_200D_202B_202C_206D_202C_202A_202D_202C_200D_206C_206D_206D_202A_202D_202C_206B_206F_202E._200F_202E_206C_206E_206E_206D_202C_206B_206F_206C_206B_200F_202B_202B_206D_202C_206B_200C_200F_202B_206B_206B_202B_206A_202C_202A_202D_200B_206A_200F_200D_202A_206F_206E_206C_206C_200F_200F_206E_202D_202E(); + uint num = 0u; + while (num < _202D_206B_202B_202C_200C_206D_206C_206B_202B_200D_202C_202D_200D_200D_200D_200B_202B_200B_200F_200B_202B_202B_206D_200B_200D_206E_202C_206D_206D_206B_206E_206D_206D_202D_206E_206A_200B_200F_206D_202E) + { + _200B_200B_206F_202D_200C_202A_206F_206B_200F_200B_206E_202A_200B_206E_202B_200B_206D_202C_200C_206D_206B_202B_202D_202C_206A_202A_206D_200F_206F_206A_200D_206E_206B_202E_200F_202C_202E_200B_206D_200F_202E[num]._200E_202E_206D_202B_206C_200E_206B_202C_200B_200E_202E_200E_202C_206F_206D_202D_202B_206B_202A_202B_206F_206A_206A_202C_206B_206E_200C_200F_202C_206F_206A_206F_202E_200B_206E_202C_202A_206E_206B_200E_202E(); + _200D_202A_206B_206C_200F_206E_200D_206A_200D_200E_200D_202E_206D_202E_200C_200C_202D_206D_200C_206A_202B_200C_200C_202E_202D_202B_202D_202A_206E_202E_200D_200E_200F_206E_202D_206C_200F_206D_202D_206E_202E[num]._200E_202E_206D_202B_206C_200E_206B_202C_200B_200E_202E_200E_202C_206F_206D_202D_202B_206B_202A_202B_206F_206A_206A_202C_206B_206E_200C_200F_202C_206F_206A_206F_202E_200B_206E_202C_202A_206E_206B_200E_202E(); + uint num2 = num; + int num3 = 1; + int num4 = (int)num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = (uint)(num5 + (num6 + num6)); + } + _202A_206D_200B_200E_200E_200B_200B_206C_202D_202D_200D_202C_200B_200B_200C_202C_202C_202C_202E_200D_206C_200E_206B_206B_202A_206A_200F_202C_202C_202A_200D_206D_206B_200F_206F_206F_202E_206A_206C_206F_202E._200F_202E_206C_206E_206E_206D_202C_206B_206F_206C_206B_200F_202B_202B_206D_202C_206B_200C_200F_202B_206B_206B_202B_206A_202C_202A_202D_200B_206A_200F_200D_202A_206F_206E_206C_206C_200F_200F_206E_202D_202E(); + _202A_202D_200D_206D_206A_206C_202D_200B_202E_202B_200E_206B_202D_202A_202C_202B_202E_200E_202A_206F_206C_206B_206A_206B_200B_206A_202A_200D_206B_200B_206F_200C_202E_206C_202D_200C_206B_202D_206D_206B_202E._200E_202E_206D_202B_206C_200E_206B_202C_200B_200E_202E_200E_202C_206F_206D_202D_202B_206B_202A_202B_206F_206A_206A_202C_206B_206E_200C_200F_202C_206F_206A_206F_202E_200B_206E_202C_202A_206E_206B_200E_202E(); + } + + internal uint _200B_206E_202C_202B_200D_202E_202A_206D_200C_200D_200E_202D_206D_202C_206D_206A_206A_202A_206F_200E_202B_206E_200C_202A_202E_200D_206B_206A_206A_206A_206E_206A_206B_202E_202C_202C_200C_200B_200D_206A_202E(_200E_202B_202B_206B_202D_202B_200B_202B_202A_200C_200F_202A_202A_200B_200B_200F_202D_206D_206B_200B_206C_202B_206C_200D_202B_202E_202E_200F_206D_202E_206D_200C_200D_206E_202D_206D_200B_202D_206A_202D_202E rangeDecoder, uint posState) + { + if (_202E_206D_200F_206D_206D_206B_200F_202A_206B_200E_202C_200B_202C_206F_200B_200F_202C_206A_206B_206B_202D_206F_206D_200D_202B_202C_206D_202C_202A_202D_202C_200D_206C_206D_206D_202A_202D_202C_206B_206F_202E._200E_200F_206F_202D_202E_206E_202E_202D_200D_202A_200F_202B_206D_200D_206D_200F_202A_202E_206D_200E_202E_202D_202C_206A_202A_206C_202B_202A_202E_206A_200C_202D_206F_200D_202C_200D_202A_200F_202B_202E(rangeDecoder) == 0) + { + return _200B_200B_206F_202D_200C_202A_206F_206B_200F_200B_206E_202A_200B_206E_202B_200B_206D_202C_200C_206D_206B_202B_202D_202C_206A_202A_206D_200F_206F_206A_200D_206E_206B_202E_200F_202C_202E_200B_206D_200F_202E[posState]._202B_200E_206B_200E_202E_202E_200C_206F_206F_202B_202D_202E_200E_206C_200B_200C_202E_206B_202B_202D_206C_200F_206F_202B_202E_200F_202B_200F_202E_206D_200E_200D_200F_200C_200B_206E_200E_206F_206E_200C_202E(rangeDecoder); + } + uint num = 8u; + if (_202A_206D_200B_200E_200E_200B_200B_206C_202D_202D_200D_202C_200B_200B_200C_202C_202C_202C_202E_200D_206C_200E_206B_206B_202A_206A_200F_202C_202C_202A_200D_206D_206B_200F_206F_206F_202E_206A_206C_206F_202E._200E_200F_206F_202D_202E_206E_202E_202D_200D_202A_200F_202B_206D_200D_206D_200F_202A_202E_206D_200E_202E_202D_202C_206A_202A_206C_202B_202A_202E_206A_200C_202D_206F_200D_202C_200D_202A_200F_202B_202E(rangeDecoder) == 0) + { + return num + _200D_202A_206B_206C_200F_206E_200D_206A_200D_200E_200D_202E_206D_202E_200C_200C_202D_206D_200C_206A_202B_200C_200C_202E_202D_202B_202D_202A_206E_202E_200D_200E_200F_206E_202D_206C_200F_206D_202D_206E_202E[posState]._202B_200E_206B_200E_202E_202E_200C_206F_206F_202B_202D_202E_200E_206C_200B_200C_202E_206B_202B_202D_206C_200F_206F_202B_202E_200F_202B_200F_202E_206D_200E_200D_200F_200C_200B_206E_200E_206F_206E_200C_202E(rangeDecoder); + } + uint num2 = num; + int num3 = 8; + int num4 = (int)num2; + num = (uint)((num4 | num3) + (num4 & num3)); + return num + _202A_202D_200D_206D_206A_206C_202D_200B_202E_202B_200E_206B_202D_202A_202C_202B_202E_200E_202A_206F_206C_206B_206A_206B_200B_206A_202A_200D_206B_200B_206F_200C_202E_206C_202D_200C_206B_202D_206D_206B_202E._202B_200E_206B_200E_202E_202E_200C_206F_206F_202B_202D_202E_200E_206C_200B_200C_202E_206B_202B_202D_206C_200F_206F_202B_202E_200F_202B_200F_202E_206D_200E_200D_200F_200C_200B_206E_200E_206F_206E_200C_202E(rangeDecoder); + } + + internal _206D_206F_206E_206E_202D_200B_206B_200E_206E_206D_206E_206F_206C_202C_206C_206C_202B_202C_200F_206E_200E_202C_200F_202C_202D_206D_200B_206E_200D_200B_206A_206B_200E_206A_200D_206C_200D_206B_202A_200C_202E() + { + } + } + + internal class _206D_200C_202E_200E_206C_202C_206F_206C_202A_200F_202E_202D_206C_200F_202C_202B_206C_202C_202D_202D_200C_202E_200C_200D_206C_200C_206E_206A_202C_200C_200B_200B_200D_200D_202B_200B_200E_202B_200C_200C_202E + { + internal struct _200B_206A_200E_202A_200C_202A_206F_202D_200C_202B_206A_200C_200C_200E_202E_200F_202A_200E_206A_206F_202E_206B_200D_202B_206E_206B_202C_206A_202B_206A_200F_206F_202E_200E_202D_206D_202C_206A_206B_206F_202E + { + internal _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E[] _206F_202D_202C_206D_200C_200B_206F_200D_200F_200E_206D_202D_200F_200E_200F_200B_200F_206B_200B_206B_202B_206C_202C_200C_202C_200B_206F_206F_200D_202C_200E_206C_206B_206A_206C_200C_206F_202C_202E_202E; + + internal void _200F_206F_200F_202B_200F_206C_206C_202B_206A_206C_200F_206C_202B_202C_200F_206A_200B_202C_206E_202B_206A_202D_202B_206F_200B_206E_200E_206A_202B_206C_206E_206C_206F_200B_206C_206C_200F_200D_202B_206F_202E() + { + _206F_202D_202C_206D_200C_200B_206F_200D_200F_200E_206D_202D_200F_200E_200F_200B_200F_206B_200B_206B_202B_206C_202C_200C_202C_200B_206F_206F_200D_202C_200E_206C_206B_206A_206C_200C_206F_202C_202E_202E = new _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E[768]; + } + + internal void _202A_200E_206D_200D_202A_202D_206A_202E_206D_200B_200E_200F_206D_206B_206E_206F_206A_200D_200D_202D_200D_200C_206F_202E_200C_200C_206E_200C_200D_206E_200B_206B_206E_202C_202B_206C_200B_200E_206F_202A_202E() + { + int num = 0; + while (num < 768) + { + _206F_202D_202C_206D_200C_200B_206F_200D_200F_200E_206D_202D_200F_200E_200F_200B_200F_206B_200B_206B_202B_206C_202C_200C_202C_200B_206F_206F_200D_202C_200E_206C_206B_206A_206C_200C_206F_202C_202E_202E[num]._200F_202E_206C_206E_206E_206D_202C_206B_206F_206C_206B_200F_202B_202B_206D_202C_206B_200C_200F_202B_206B_206B_202B_206A_202C_202A_202D_200B_206A_200F_200D_202A_206F_206E_206C_206C_200F_200F_206E_202D_202E(); + int num2 = num; + int num3 = 1; + int num4 = num2; + num = (num4 | num3) + (num4 & num3); + } + } + + internal byte _200B_206E_200E_200E_200B_200D_200B_206D_200C_206F_202B_206A_200E_206F_206E_202E_200F_200E_206E_200C_206D_202A_202D_206E_200E_206C_200E_206C_206D_200F_200E_200E_200D_206F_206F_206B_206A_200C_202C_202A_202E(_200E_202B_202B_206B_202D_202B_200B_202B_202A_200C_200F_202A_202A_200B_200B_200F_202D_206D_206B_200B_206C_202B_206C_200D_202B_202E_202E_200F_206D_202E_206D_200C_200D_206E_202D_206D_200B_202D_206A_202D_202E rangeDecoder) + { + uint num = 1u; + do + { + num = (num << 1) | _206F_202D_202C_206D_200C_200B_206F_200D_200F_200E_206D_202D_200F_200E_200F_200B_200F_206B_200B_206B_202B_206C_202C_200C_202C_200B_206F_206F_200D_202C_200E_206C_206B_206A_206C_200C_206F_202C_202E_202E[num]._200E_200F_206F_202D_202E_206E_202E_202D_200D_202A_200F_202B_206D_200D_206D_200F_202A_202E_206D_200E_202E_202D_202C_206A_202A_206C_202B_202A_202E_206A_200C_202D_206F_200D_202C_200D_202A_200F_202B_202E(rangeDecoder); + } + while (num < 256); + return (byte)num; + } + + internal byte _206F_206F_206A_200B_200B_202E_200B_200D_202B_200D_206A_206E_206A_206D_202C_200E_200B_206E_200D_206A_206E_206E_202B_200D_206A_206F_206E_202B_206F_200B_206C_200B_202E_200C_200E_202B_206D_200F_202B_206E_202E(_200E_202B_202B_206B_202D_202B_200B_202B_202A_200C_200F_202A_202A_200B_200B_200F_202D_206D_206B_200B_206C_202B_206C_200D_202B_202E_202E_200F_206D_202E_206D_200C_200D_206E_202D_206D_200B_202D_206A_202D_202E rangeDecoder, byte matchByte) + { + uint num = 1u; + do + { + int num2 = matchByte >> 7; + int num3 = 1; + int num4 = num2; + uint num5 = (uint)(num4 + num3 - (num4 | num3)); + matchByte <<= 1; + _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E[] array = _206F_202D_202C_206D_200C_200B_206F_200D_200F_200E_206D_202D_200F_200E_200F_200B_200F_206B_200B_206B_202B_206C_202C_200C_202C_200B_206F_206F_200D_202C_200E_206C_206B_206A_206C_200C_206F_202C_202E_202E; + num3 = (int)num5; + num4 = 1; + int num6 = (num4 | num3) + (num4 & num3) << 8; + num3 = (int)num; + num4 = num6; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + uint num9 = array[num7 + (num8 + num8)]._200E_200F_206F_202D_202E_206E_202E_202D_200D_202A_200F_202B_206D_200D_206D_200F_202A_202E_206D_200E_202E_202D_202C_206A_202A_206C_202B_202A_202E_206A_200C_202D_206F_200D_202C_200D_202A_200F_202B_202E(rangeDecoder); + uint num10 = num << 1; + num3 = (int)num9; + num4 = (int)num10; + num = (uint)(num4 + num3 - (num4 & num3)); + if (num5 != num9) + { + while (num < 256) + { + num = (num << 1) | _206F_202D_202C_206D_200C_200B_206F_200D_200F_200E_206D_202D_200F_200E_200F_200B_200F_206B_200B_206B_202B_206C_202C_200C_202C_200B_206F_206F_200D_202C_200E_206C_206B_206A_206C_200C_206F_202C_202E_202E[num]._200E_200F_206F_202D_202E_206E_202E_202D_200D_202A_200F_202B_206D_200D_206D_200F_202A_202E_206D_200E_202E_202D_202C_206A_202A_206C_202B_202A_202E_206A_200C_202D_206F_200D_202C_200D_202A_200F_202B_202E(rangeDecoder); + } + break; + } + } + while (num < 256); + return (byte)num; + } + } + + internal _200B_206A_200E_202A_200C_202A_206F_202D_200C_202B_206A_200C_200C_200E_202E_200F_202A_200E_206A_206F_202E_206B_200D_202B_206E_206B_202C_206A_202B_206A_200F_206F_202E_200E_202D_206D_202C_206A_206B_206F_202E[] _202C_202A_206C_200D_202A_202E_200E_202C_200E_206B_202E_200E_200E_200E_200B_206F_200D_202D_200D_206F_200D_206A_206C_200E_206C_200F_200E_206E_200F_200F_200F_202D_202A_206F_206D_202A_200D_206A_202A_200D_202E; + + internal int _202B_200E_200C_200E_206E_202B_202A_200B_206D_200F_200E_206C_206E_202D_206C_206A_200F_206D_202B_200E_202B_202C_206D_200F_202D_200C_200B_202A_206A_200F_206A_206E_202A_202D_206A_202C_200C_206F_206D_202B_202E; + + internal int _202D_202C_200E_200B_200B_202C_200E_200D_206A_206B_206B_206A_200E_206D_202C_200E_206E_202A_200F_200F_206E_200B_202D_202C_206E_200D_206E_202D_206B_202D_202C_202B_200B_202C_200C_206D_202A_206D_202E_206F_202E; + + internal uint _202D_200E_202C_202D_200B_202D_206F_206F_202B_206C_206C_202B_202E_202B_202D_202D_202D_202D_200F_206C_202C_202B_200C_206D_206C_202B_200D_202D_206D_200D_200F_202E_202E_206D_206B_200D_200E_206F_202A_200D_202E; + + internal void _200B_202A_202E_206A_202A_202B_206C_206C_206B_200D_206F_206A_206C_206C_206C_202E_202C_206A_202A_206D_200B_200F_200E_206F_206A_202B_202E_200F_206A_206E_206E_200D_206C_202E_202B_202B_206C_200F_206E_202E_202E(int numPosBits, int numPrevBits) + { + if (_202C_202A_206C_200D_202A_202E_200E_202C_200E_206B_202E_200E_200E_200E_200B_206F_200D_202D_200D_206F_200D_206A_206C_200E_206C_200F_200E_206E_200F_200F_200F_202D_202A_206F_206D_202A_200D_206A_202A_200D_202E == null || _202D_202C_200E_200B_200B_202C_200E_200D_206A_206B_206B_206A_200E_206D_202C_200E_206E_202A_200F_200F_206E_200B_202D_202C_206E_200D_206E_202D_206B_202D_202C_202B_200B_202C_200C_206D_202A_206D_202E_206F_202E != numPrevBits || _202B_200E_200C_200E_206E_202B_202A_200B_206D_200F_200E_206C_206E_202D_206C_206A_200F_206D_202B_200E_202B_202C_206D_200F_202D_200C_200B_202A_206A_200F_206A_206E_202A_202D_206A_202C_200C_206F_206D_202B_202E != numPosBits) + { + _202B_200E_200C_200E_206E_202B_202A_200B_206D_200F_200E_206C_206E_202D_206C_206A_200F_206D_202B_200E_202B_202C_206D_200F_202D_200C_200B_202A_206A_200F_206A_206E_202A_202D_206A_202C_200C_206F_206D_202B_202E = numPosBits; + int num = 31; + int num2 = numPosBits; + int num3 = 1 << (num2 | num) - (num2 ^ num); + num = 1; + num2 = num3; + _202D_200E_202C_202D_200B_202D_206F_206F_202B_206C_206C_202B_202E_202B_202D_202D_202D_202D_200F_206C_202C_202B_200C_206D_206C_202B_200D_202D_206D_200D_200F_202E_202E_206D_206B_200D_200E_206F_202A_200D_202E = (uint)(~(~num2 + num)); + _202D_202C_200E_200B_200B_202C_200E_200D_206A_206B_206B_206A_200E_206D_202C_200E_206E_202A_200F_200F_206E_200B_202D_202C_206E_200D_206E_202D_206B_202D_202C_202B_200B_202C_200C_206D_202A_206D_202E_206F_202E = numPrevBits; + int num4 = _202D_202C_200E_200B_200B_202C_200E_200D_206A_206B_206B_206A_200E_206D_202C_200E_206E_202A_200F_200F_206E_200B_202D_202C_206E_200D_206E_202D_206B_202D_202C_202B_200B_202C_200C_206D_202A_206D_202E_206F_202E; + num = _202B_200E_200C_200E_206E_202B_202A_200B_206D_200F_200E_206C_206E_202D_206C_206A_200F_206D_202B_200E_202B_202C_206D_200F_202D_200C_200B_202A_206A_200F_206A_206E_202A_202D_206A_202C_200C_206F_206D_202B_202E; + num2 = num4; + int num5 = (num2 | num) + (num2 & num); + num = 31; + num2 = num5; + uint num6 = (uint)(1 << (num2 | num) - (num2 ^ num)); + _202C_202A_206C_200D_202A_202E_200E_202C_200E_206B_202E_200E_200E_200E_200B_206F_200D_202D_200D_206F_200D_206A_206C_200E_206C_200F_200E_206E_200F_200F_200F_202D_202A_206F_206D_202A_200D_206A_202A_200D_202E = new _200B_206A_200E_202A_200C_202A_206F_202D_200C_202B_206A_200C_200C_200E_202E_200F_202A_200E_206A_206F_202E_206B_200D_202B_206E_206B_202C_206A_202B_206A_200F_206F_202E_200E_202D_206D_202C_206A_206B_206F_202E[num6]; + for (uint num7 = 0u; num7 < num6; num7 = (uint)((num2 | num) + (num2 & num))) + { + _202C_202A_206C_200D_202A_202E_200E_202C_200E_206B_202E_200E_200E_200E_200B_206F_200D_202D_200D_206F_200D_206A_206C_200E_206C_200F_200E_206E_200F_200F_200F_202D_202A_206F_206D_202A_200D_206A_202A_200D_202E[num7]._200F_206F_200F_202B_200F_206C_206C_202B_206A_206C_200F_206C_202B_202C_200F_206A_200B_202C_206E_202B_206A_202D_202B_206F_200B_206E_200E_206A_202B_206C_206E_206C_206F_200B_206C_206C_200F_200D_202B_206F_202E(); + uint num8 = num7; + num = 1; + num2 = (int)num8; + } + } + } + + internal void _206C_206B_200E_206E_202D_200D_200E_206E_200C_202C_206F_202D_202E_206A_206C_200C_206D_200E_202E_206F_206D_202E_206C_200F_206D_206D_206B_200D_200F_202B_206B_200F_206E_206C_202D_206C_206C_200D_202D_202E() + { + int num = _202D_202C_200E_200B_200B_202C_200E_200D_206A_206B_206B_206A_200E_206D_202C_200E_206E_202A_200F_200F_206E_200B_202D_202C_206E_200D_206E_202D_206B_202D_202C_202B_200B_202C_200C_206D_202A_206D_202E_206F_202E; + int num2 = _202B_200E_200C_200E_206E_202B_202A_200B_206D_200F_200E_206C_206E_202D_206C_206A_200F_206D_202B_200E_202B_202C_206D_200F_202D_200C_200B_202A_206A_200F_206A_206E_202A_202D_206A_202C_200C_206F_206D_202B_202E; + int num3 = num; + int num4 = num3 ^ num2; + int num5 = num3 & num2; + int num6 = num4 + (num5 + num5); + num2 = 31; + num3 = num6; + uint num7 = (uint)(1 << (num3 | num2) - (num3 ^ num2)); + for (uint num8 = 0u; num8 < num7; num8 = (uint)((num3 | num2) + (num3 & num2))) + { + _202C_202A_206C_200D_202A_202E_200E_202C_200E_206B_202E_200E_200E_200E_200B_206F_200D_202D_200D_206F_200D_206A_206C_200E_206C_200F_200E_206E_200F_200F_200F_202D_202A_206F_206D_202A_200D_206A_202A_200D_202E[num8]._202A_200E_206D_200D_202A_202D_206A_202E_206D_200B_200E_200F_206D_206B_206E_206F_206A_200D_200D_202D_200D_200C_206F_202E_200C_200C_206E_200C_200D_206E_200B_206B_206E_202C_202B_206C_200B_200E_206F_202A_202E(); + uint num9 = num8; + num2 = 1; + num3 = (int)num9; + } + } + + internal uint _200B_200D_200D_200D_200F_206C_206D_200F_200F_202E_202B_202A_202E_206B_206C_200B_200E_202E_200D_202C_200C_200D_200F_206B_200C_202D_206A_206B_202C_200F_206A_200C_200C_200F_206A_202B_206A_202E_200E_206B_202E(uint pos, byte prevByte) + { + int num = (int)_202D_200E_202C_202D_200B_202D_206F_206F_202B_206C_206C_202B_202E_202B_202D_202D_202D_202D_200F_206C_202C_202B_200C_206D_206C_202B_200D_202D_206D_200D_200F_202E_202E_206D_206B_200D_200E_206F_202A_200D_202E; + int num2 = (int)pos; + int num3 = (num2 | num) - (num2 ^ num); + int num4 = _202D_202C_200E_200B_200B_202C_200E_200D_206A_206B_206B_206A_200E_206D_202C_200E_206E_202A_200F_200F_206E_200B_202D_202C_206E_200D_206E_202D_206B_202D_202C_202B_200B_202C_200C_206D_202A_206D_202E_206F_202E; + num = 31; + num2 = num4; + int num5 = num3 << num2 + num - (num2 | num); + num = _202D_202C_200E_200B_200B_202C_200E_200D_206A_206B_206B_206A_200E_206D_202C_200E_206E_202A_200F_200F_206E_200B_202D_202C_206E_200D_206E_202D_206B_202D_202C_202B_200B_202C_200C_206D_202A_206D_202E_206F_202E; + num2 = 8; + int num6 = ~(~num2 + num); + num = 31; + num2 = num6; + num = prevByte >> num2 + num - (num2 | num); + num2 = num5; + return (uint)((num2 | num) + (num2 & num)); + } + + internal byte _202C_202D_206D_202C_200C_200B_200B_200B_202C_206C_202A_200C_200E_206F_202E_206C_202A_200C_206A_200C_200F_202E_200D_200E_206C_200B_200B_202D_206B_206D_206E_206F_206A_200D_206B_206C_206C_202C_206B_206B_202E(_200E_202B_202B_206B_202D_202B_200B_202B_202A_200C_200F_202A_202A_200B_200B_200F_202D_206D_206B_200B_206C_202B_206C_200D_202B_202E_202E_200F_206D_202E_206D_200C_200D_206E_202D_206D_200B_202D_206A_202D_202E rangeDecoder, uint pos, byte prevByte) + { + return _202C_202A_206C_200D_202A_202E_200E_202C_200E_206B_202E_200E_200E_200E_200B_206F_200D_202D_200D_206F_200D_206A_206C_200E_206C_200F_200E_206E_200F_200F_200F_202D_202A_206F_206D_202A_200D_206A_202A_200D_202E[_200B_200D_200D_200D_200F_206C_206D_200F_200F_202E_202B_202A_202E_206B_206C_200B_200E_202E_200D_202C_200C_200D_200F_206B_200C_202D_206A_206B_202C_200F_206A_200C_200C_200F_206A_202B_206A_202E_200E_206B_202E(pos, prevByte)]._200B_206E_200E_200E_200B_200D_200B_206D_200C_206F_202B_206A_200E_206F_206E_202E_200F_200E_206E_200C_206D_202A_202D_206E_200E_206C_200E_206C_206D_200F_200E_200E_200D_206F_206F_206B_206A_200C_202C_202A_202E(rangeDecoder); + } + + internal byte _206D_202A_200E_200D_200D_200D_200E_202D_206F_206E_200C_206B_200D_200C_206C_202A_206C_200E_202C_202A_202D_206D_202A_202C_206D_206F_202D_206E_200D_200C_206B_200B_206C_206D_200E_202C_202B_206C_200C_202E_202E(_200E_202B_202B_206B_202D_202B_200B_202B_202A_200C_200F_202A_202A_200B_200B_200F_202D_206D_206B_200B_206C_202B_206C_200D_202B_202E_202E_200F_206D_202E_206D_200C_200D_206E_202D_206D_200B_202D_206A_202D_202E rangeDecoder, uint pos, byte prevByte, byte matchByte) + { + return _202C_202A_206C_200D_202A_202E_200E_202C_200E_206B_202E_200E_200E_200E_200B_206F_200D_202D_200D_206F_200D_206A_206C_200E_206C_200F_200E_206E_200F_200F_200F_202D_202A_206F_206D_202A_200D_206A_202A_200D_202E[_200B_200D_200D_200D_200F_206C_206D_200F_200F_202E_202B_202A_202E_206B_206C_200B_200E_202E_200D_202C_200C_200D_200F_206B_200C_202D_206A_206B_202C_200F_206A_200C_200C_200F_206A_202B_206A_202E_200E_206B_202E(pos, prevByte)]._206F_206F_206A_200B_200B_202E_200B_200D_202B_200D_206A_206E_206A_206D_202C_200E_200B_206E_200D_206A_206E_206E_202B_200D_206A_206F_206E_202B_206F_200B_206C_200B_202E_200C_200E_202B_206D_200F_202B_206E_202E(rangeDecoder, matchByte); + } + + internal _206D_200C_202E_200E_206C_202C_206F_206C_202A_200F_202E_202D_206C_200F_202C_202B_206C_202C_202D_202D_200C_202E_200C_200D_206C_200C_206E_206A_202C_200C_200B_200B_200D_200D_202B_200B_200E_202B_200C_200C_202E() + { + } + } + + internal readonly _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E[] _200D_202A_206C_200D_202B_202B_202E_200C_200E_202E_202C_206F_202A_202E_200E_202D_200C_200B_200E_200D_202D_202E_200C_200D_202D_206F_200D_202E_200F_202A_200E_206C_202B_200E_200D_202D_206A_202E_206E_206B_202E = new _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E[192]; + + internal readonly _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E[] _202C_202E_202D_206B_206A_206F_200F_206D_200B_206E_200D_200E_202A_202E_202A_202C_202C_200F_200B_206A_200F_206E_206C_202C_200B_206E_206A_200C_206C_200E_206B_202D_200C_202D_206F_202E_206F_200B_206C_202A_202E = new _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E[192]; + + internal readonly _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E[] _200D_200F_200D_206A_206C_202A_200D_200B_200C_202C_200F_200D_200B_206C_200B_206B_206C_206F_206F_200B_206F_202E_200D_202B_202E_200C_200E_206C_206A_202A_206E_200E_206B_200F_200E_206E_200F_200E_202C_206B_202E = new _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E[12]; + + internal readonly _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E[] _202C_202A_200D_200F_206C_206E_200E_202C_202E_200B_206F_202E_206C_206D_206E_206B_206E_206B_206C_206D_200C_200F_200B_206A_202A_206A_206A_206A_206B_202A_202B_202A_200D_200E_206E_200C_206D_206E_202C_206C_202E = new _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E[12]; + + internal readonly _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E[] _200B_202A_200E_200B_202E_202D_202C_202A_206D_202A_202E_200E_200B_206E_206F_202C_202A_200E_202D_202C_206C_206F_202C_206E_200D_202A_206A_202A_206C_206C_206D_202C_200E_200D_202E_206F_202E_206C_202C_206B_202E = new _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E[12]; + + internal readonly _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E[] _202C_206C_206F_206B_202A_206E_200D_206A_202E_206A_200F_202B_202E_202E_200B_202E_202E_206A_202A_206A_206D_202B_206A_206E_202A_200B_202C_200E_206C_202E_202B_200B_206D_202D_200E_200E_200D_206C_202E_202D_202E = new _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E[12]; + + internal readonly _206D_206F_206E_206E_202D_200B_206B_200E_206E_206D_206E_206F_206C_202C_206C_206C_202B_202C_200F_206E_200E_202C_200F_202C_202D_206D_200B_206E_200D_200B_206A_206B_200E_206A_200D_206C_200D_206B_202A_200C_202E _202E_206E_206D_202D_206A_206F_206F_206F_200E_206D_202A_200B_200B_200F_206D_202C_206B_206E_206F_206F_200F_206B_200F_206B_206B_206C_202D_200F_206B_206F_206E_202C_202E_206B_202B_206B_206F_200E_200D_200C_202E = new _206D_206F_206E_206E_202D_200B_206B_200E_206E_206D_206E_206F_206C_202C_206C_206C_202B_202C_200F_206E_200E_202C_200F_202C_202D_206D_200B_206E_200D_200B_206A_206B_200E_206A_200D_206C_200D_206B_202A_200C_202E(); + + internal readonly _206D_200C_202E_200E_206C_202C_206F_206C_202A_200F_202E_202D_206C_200F_202C_202B_206C_202C_202D_202D_200C_202E_200C_200D_206C_200C_206E_206A_202C_200C_200B_200B_200D_200D_202B_200B_200E_202B_200C_200C_202E _200C_206A_200B_202A_206D_200E_206D_202D_200F_200F_202B_200F_206D_206E_202C_202C_206F_206F_206F_200B_206F_202B_200F_202E_206D_200B_202C_202D_206E_206A_206F_206F_200B_200B_200E_202A_206F_206D_202D_206D_202E = new _206D_200C_202E_200E_206C_202C_206F_206C_202A_200F_202E_202D_206C_200F_202C_202B_206C_202C_202D_202D_200C_202E_200C_200D_206C_200C_206E_206A_202C_200C_200B_200B_200D_200D_202B_200B_200E_202B_200C_200C_202E(); + + internal readonly _206F_200D_206B_202D_202B_206D_202E_206E_206F_200D_206B_206D_200E_206A_202D_200F_202E_206B_200F_206F_206A_206B_206B_202D_206C_206D_200F_200D_206E_200E_200D_206B_200D_202B_202D_206B_206E_206D_200F_206C_202E _200C_200C_206E_200D_200E_200C_206A_200E_206B_200C_200D_200E_206F_206C_206C_200D_202C_206B_206E_202B_206C_200F_206D_200D_206E_202D_202B_202C_200D_206E_206A_206E_206B_202D_202B_202E_200D_200C_206A_200D_202E = new _206F_200D_206B_202D_202B_206D_202E_206E_206F_200D_206B_206D_200E_206A_202D_200F_202E_206B_200F_206F_206A_206B_206B_202D_206C_206D_200F_200D_206E_200E_200D_206B_200D_202B_202D_206B_206E_206D_200F_206C_202E(); + + internal readonly _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E[] _202B_200F_206E_202D_200C_200E_202D_202B_206E_206A_200E_202C_200E_202B_202E_206C_206B_202D_200E_206C_200B_200B_200E_202A_200E_202E_202D_206E_206E_200F_206A_206F_200E_200B_200D_202A_200C_202B_202D_202A_202E = new _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E[114]; + + internal readonly _206F_206A_206F_206D_206F_202B_206D_202E_202B_202B_202D_206A_200F_206C_206A_206A_202A_206A_206A_206B_202B_200B_200F_202D_206C_202C_206B_202E_206F_200B_200C_206A_206C_200E_202D_200C_206A_206B_200E_202E_202E[] _200D_200B_200C_206B_200B_202A_206B_200F_200F_206F_200F_202D_206F_206E_200D_202E_206C_206C_206C_206E_200B_200C_206E_206E_200C_206B_202D_202E_202C_202E_202C_200C_206D_202A_200D_200D_200C_206B_200D_202E_202E = new _206F_206A_206F_206D_206F_202B_206D_202E_202B_202B_202D_206A_200F_206C_206A_206A_202A_206A_206A_206B_202B_200B_200F_202D_206C_202C_206B_202E_206F_200B_200C_206A_206C_200E_202D_200C_206A_206B_200E_202E_202E[4]; + + internal readonly _200E_202B_202B_206B_202D_202B_200B_202B_202A_200C_200F_202A_202A_200B_200B_200F_202D_206D_206B_200B_206C_202B_206C_200D_202B_202E_202E_200F_206D_202E_206D_200C_200D_206E_202D_206D_200B_202D_206A_202D_202E _200D_206F_202B_202A_202C_202D_202C_206F_200D_200F_206A_206A_206C_202C_206F_202C_202D_200E_202C_206E_206F_200B_200B_202B_206D_200D_202D_202C_206F_200F_200F_202A_200C_206B_202E_206F_206A_202D_200F_202D_202E = new _200E_202B_202B_206B_202D_202B_200B_202B_202A_200C_200F_202A_202A_200B_200B_200F_202D_206D_206B_200B_206C_202B_206C_200D_202B_202E_202E_200F_206D_202E_206D_200C_200D_206E_202D_206D_200B_202D_206A_202D_202E(); + + internal readonly _206D_206F_206E_206E_202D_200B_206B_200E_206E_206D_206E_206F_206C_202C_206C_206C_202B_202C_200F_206E_200E_202C_200F_202C_202D_206D_200B_206E_200D_200B_206A_206B_200E_206A_200D_206C_200D_206B_202A_200C_202E _202B_200D_206F_202E_200D_202C_202B_202B_202C_206B_206E_202A_200E_202C_200D_202D_206C_200E_202E_202B_200B_206B_200F_202D_206D_206D_206D_206D_200D_200D_206C_200C_200F_202B_200D_200B_206A_206B_200B_206A_202E = new _206D_206F_206E_206E_202D_200B_206B_200E_206E_206D_206E_206F_206C_202C_206C_206C_202B_202C_200F_206E_200E_202C_200F_202C_202D_206D_200B_206E_200D_200B_206A_206B_200E_206A_200D_206C_200D_206B_202A_200C_202E(); + + internal bool _206F_202D_200F_206F_206F_206C_206A_206B_202B_200D_202A_206D_202D_202E_200B_206F_202D_202A_200E_206C_200D_206A_200F_206F_206A_206F_206C_202B_202A_206B_202C_202E_202D_200E_206C_200B_202D_202A_200C_200F_202E; + + internal uint _206E_206F_206C_200C_202B_200F_202B_200E_206D_206E_200C_206A_206F_200D_202E_206C_202D_200B_200D_206D_200D_202B_202D_202C_206E_200E_200E_206D_206A_206F_200C_200D_206E_202E_202B_202E_202E_202E_202E_206F_202E; + + internal uint _206F_202A_206F_202C_202A_206E_202A_206D_206E_202C_206D_202C_200D_206C_200E_202D_206A_206B_202E_206B_200B_206B_206C_206E_200F_206F_202D_206F_200C_202E_206B_206B_202A_206C_202D_202C_206B_200B_200F_202E; + + internal _206F_206A_206F_206D_206F_202B_206D_202E_202B_202B_202D_206A_200F_206C_206A_206A_202A_206A_206A_206B_202B_200B_200F_202D_206C_202C_206B_202E_206F_200B_200C_206A_206C_200E_202D_200C_206A_206B_200E_202E_202E _202B_202D_202C_206D_202C_206E_202E_202B_200F_200F_206E_206F_200F_206F_200D_200C_200B_202C_206E_206E_206B_206A_200B_200B_200C_206E_206B_200D_206B_200B_206B_200E_206A_200B_206D_206E_202A_202B_202A_206E_202E = new _206F_206A_206F_206D_206F_202B_206D_202E_202B_202B_202D_206A_200F_206C_206A_206A_202A_206A_206A_206B_202B_200B_200F_202D_206C_202C_206B_202E_206F_200B_200C_206A_206C_200E_202D_200C_206A_206B_200E_202E_202E(4); + + internal uint _202D_202E_206D_200C_206E_206C_200B_206F_206C_200C_206C_200B_202D_206A_200F_202B_200E_206B_206B_206C_200D_200F_202B_202C_202C_206E_206A_202C_202C_202A_206A_200F_206F_206B_206B_202D_202A_206D_200B_206F_202E; + + internal _206C_200E_206F_200E_202B_200F_202D_206B_206B_200F_202E_200F_200E_206A_206E_200B_206C_202A_200B_202B_200C_206A_200E_206D_200D_200B_206D_202A_206B_202E_206B_202E_200C_200B_200B_202A_206F_202D_200C_202B_202E() + { + _206E_206F_206C_200C_202B_200F_202B_200E_206D_206E_200C_206A_206F_200D_202E_206C_202D_200B_200D_206D_200D_202B_202D_202C_206E_200E_200E_206D_206A_206F_200C_200D_206E_202E_202B_202E_202E_202E_202E_206F_202E = uint.MaxValue; + int num = 0; + while ((long)num < 4L) + { + _200D_200B_200C_206B_200B_202A_206B_200F_200F_206F_200F_202D_206F_206E_200D_202E_206C_206C_206C_206E_200B_200C_206E_206E_200C_206B_202D_202E_202C_202E_202C_200C_206D_202A_200D_200D_200C_206B_200D_202E_202E[num] = new _206F_206A_206F_206D_206F_202B_206D_202E_202B_202B_202D_206A_200F_206C_206A_206A_202A_206A_206A_206B_202B_200B_200F_202D_206C_202C_206B_202E_206F_200B_200C_206A_206C_200E_202D_200C_206A_206B_200E_202E_202E(6); + int num2 = num; + int num3 = 1; + int num4 = num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = num5 + (num6 + num6); + } + } + + internal void _200D_206A_200D_206B_200C_200C_206A_206C_200F_200B_200D_200C_202D_202D_206E_200E_200E_202A_202A_206E_206E_200B_206E_206C_206D_202E_200D_206B_200D_206C_202E_206D_206F_206F_200B_206E_206A_206C_200F_202B_202E(uint dictionarySize) + { + if (_206E_206F_206C_200C_202B_200F_202B_200E_206D_206E_200C_206A_206F_200D_202E_206C_202D_200B_200D_206D_200D_202B_202D_202C_206E_200E_200E_206D_206A_206F_200C_200D_206E_202E_202B_202E_202E_202E_202E_206F_202E != dictionarySize) + { + _206E_206F_206C_200C_202B_200F_202B_200E_206D_206E_200C_206A_206F_200D_202E_206C_202D_200B_200D_206D_200D_202B_202D_202C_206E_200E_200E_206D_206A_206F_200C_200D_206E_202E_202B_202E_202E_202E_202E_206F_202E = dictionarySize; + _206F_202A_206F_202C_202A_206E_202A_206D_206E_202C_206D_202C_200D_206C_200E_202D_206A_206B_202E_206B_200B_206B_206C_206E_200F_206F_202D_206F_200C_202E_206B_206B_202A_206C_202D_202C_206B_200B_200F_202E = Math.Max(_206E_206F_206C_200C_202B_200F_202B_200E_206D_206E_200C_206A_206F_200D_202E_206C_202D_200B_200D_206D_200D_202B_202D_202C_206E_200E_200E_206D_206A_206F_200C_200D_206E_202E_202B_202E_202E_202E_202E_206F_202E, 1u); + uint windowSize = Math.Max(_206F_202A_206F_202C_202A_206E_202A_206D_206E_202C_206D_202C_200D_206C_200E_202D_206A_206B_202E_206B_200B_206B_206C_206E_200F_206F_202D_206F_200C_202E_206B_206B_202A_206C_202D_202C_206B_200B_200F_202E, 4096u); + _200C_200C_206E_200D_200E_200C_206A_200E_206B_200C_200D_200E_206F_206C_206C_200D_202C_206B_206E_202B_206C_200F_206D_200D_206E_202D_202B_202C_200D_206E_206A_206E_206B_202D_202B_202E_200D_200C_206A_200D_202E._202B_200E_200E_202D_206E_206B_202E_200B_202C_200F_202A_206B_200E_200B_202B_206A_206A_206B_202D_200B_202A_202E_202E_200C_206D_202C_202E_206F_206E_202C_202C_206B_202C_200D_202B_200C_200B_202A_202B_200C_202E(windowSize); + } + } + + internal void _200F_200C_202E_206C_202E_206C_206E_206F_206B_206C_200C_206A_206D_202C_206B_206B_200B_202C_202C_206C_200F_202D_206F_202C_206B_202D_206C_200C_206F_202B_200C_202C_200D_206F_202D_206B_200F_202B_200C_202A_202E(int lp, int lc) + { + _200C_206A_200B_202A_206D_200E_206D_202D_200F_200F_202B_200F_206D_206E_202C_202C_206F_206F_206F_200B_206F_202B_200F_202E_206D_200B_202C_202D_206E_206A_206F_206F_200B_200B_200E_202A_206F_206D_202D_206D_202E._200B_202A_202E_206A_202A_202B_206C_206C_206B_200D_206F_206A_206C_206C_206C_202E_202C_206A_202A_206D_200B_200F_200E_206F_206A_202B_202E_200F_206A_206E_206E_200D_206C_202E_202B_202B_206C_200F_206E_202E_202E(lp, lc); + } + + internal void _202D_206B_202C_200C_200E_202D_200C_200D_206A_206A_206B_200F_200F_202D_202E_200C_206D_202B_206D_200F_202E_200B_206F_206F_206D_206F_202D_200E_206E_206F_206E_200B_200F_202B_200D_206B_202C_206C_206F_200D_202E(int pb) + { + int num = 31; + int num2 = pb; + uint num3 = (uint)(1 << (num2 | num) - (num2 ^ num)); + _202E_206E_206D_202D_206A_206F_206F_206F_200E_206D_202A_200B_200B_200F_206D_202C_206B_206E_206F_206F_200F_206B_200F_206B_206B_206C_202D_200F_206B_206F_206E_202C_202E_206B_202B_206B_206F_200E_200D_200C_202E._202B_200B_206B_202A_200B_202C_200D_202C_200D_200B_200D_202C_200E_206B_206A_200B_206F_206B_206E_206F_206C_202E_206B_206C_206A_206D_200D_202B_206D_202E_206D_200C_206A_202A_206E_206E_206E_200B_202B_200E_202E(num3); + _202B_200D_206F_202E_200D_202C_202B_202B_202C_206B_206E_202A_200E_202C_200D_202D_206C_200E_202E_202B_200B_206B_200F_202D_206D_206D_206D_206D_200D_200D_206C_200C_200F_202B_200D_200B_206A_206B_200B_206A_202E._202B_200B_206B_202A_200B_202C_200D_202C_200D_200B_200D_202C_200E_206B_206A_200B_206F_206B_206E_206F_206C_202E_206B_206C_206A_206D_200D_202B_206D_202E_206D_200C_206A_202A_206E_206E_206E_200B_202B_200E_202E(num3); + num = 1; + num2 = (int)num3; + _202D_202E_206D_200C_206E_206C_200B_206F_206C_200C_206C_200B_202D_206A_200F_202B_200E_206B_206B_206C_200D_200F_202B_202C_202C_206E_206A_202C_202C_202A_206A_200F_206F_206B_206B_202D_202A_206D_200B_206F_202E = (uint)(~(~num2 + num)); + } + + internal void _206F_202C_202A_202D_206E_200E_206C_200D_202E_202C_200E_206F_206A_200F_206B_206A_206C_202E_206B_200B_202E_206A_206E_200D_202B_202C_202C_202A_200F_202B_202E_202E_206D_200E_206E_202D_202E_202E_206D_202E_202E(Stream inStream, Stream outStream) + { + _200D_206F_202B_202A_202C_202D_202C_206F_200D_200F_206A_206A_206C_202C_206F_202C_202D_200E_202C_206E_206F_200B_200B_202B_206D_200D_202D_202C_206F_200F_200F_202A_200C_206B_202E_206F_206A_202D_200F_202D_202E._202B_202E_200C_206F_200F_202B_206F_202A_206D_200C_206B_202D_202D_200F_206D_200F_202E_202E_200D_200E_200D_206A_200C_202C_206E_206E_202E_206B_200C_202B_202B_200F_200E_202E_202E_202A_200E_206D_200E_206E_202E(inStream); + _200C_200C_206E_200D_200E_200C_206A_200E_206B_200C_200D_200E_206F_206C_206C_200D_202C_206B_206E_202B_206C_200F_206D_200D_206E_202D_202B_202C_200D_206E_206A_206E_206B_202D_202B_202E_200D_200C_206A_200D_202E._206F_202C_206D_206E_206A_206B_200D_202C_206A_200F_206C_200D_200C_206E_206C_200C_202B_200D_202E_206B_202A_206B_202A_206E_206A_206B_200C_206D_206F_202E_202A_202D_206F_202B_202D_206C_206E_200F_200E_202E(outStream, _206F_202D_200F_206F_206F_206C_206A_206B_202B_200D_202A_206D_202D_202E_200B_206F_202D_202A_200E_206C_200D_206A_200F_206F_206A_206F_206C_202B_202A_206B_202C_202E_202D_200E_206C_200B_202D_202A_200C_200F_202E); + uint num = 0u; + while (num < 12) + { + int num4; + int num5; + for (uint num2 = 0u; num2 <= _202D_202E_206D_200C_206E_206C_200B_206F_206C_200C_206C_200B_202D_206A_200F_202B_200E_206B_206B_206C_200D_200F_202B_202C_202C_206E_206A_202C_202C_202A_206A_200F_206F_206B_206B_202D_202A_206D_200B_206F_202E; num2 = (uint)((num5 | num4) + (num5 & num4))) + { + uint num3 = num << 4; + num4 = (int)num2; + num5 = (int)num3; + int num6 = num5 ^ num4; + int num7 = num5 & num4; + uint num8 = (uint)(num6 + (num7 + num7)); + _200D_202A_206C_200D_202B_202B_202E_200C_200E_202E_202C_206F_202A_202E_200E_202D_200C_200B_200E_200D_202D_202E_200C_200D_202D_206F_200D_202E_200F_202A_200E_206C_202B_200E_200D_202D_206A_202E_206E_206B_202E[num8]._200F_202E_206C_206E_206E_206D_202C_206B_206F_206C_206B_200F_202B_202B_206D_202C_206B_200C_200F_202B_206B_206B_202B_206A_202C_202A_202D_200B_206A_200F_200D_202A_206F_206E_206C_206C_200F_200F_206E_202D_202E(); + _202C_202E_202D_206B_206A_206F_200F_206D_200B_206E_200D_200E_202A_202E_202A_202C_202C_200F_200B_206A_200F_206E_206C_202C_200B_206E_206A_200C_206C_200E_206B_202D_200C_202D_206F_202E_206F_200B_206C_202A_202E[num8]._200F_202E_206C_206E_206E_206D_202C_206B_206F_206C_206B_200F_202B_202B_206D_202C_206B_200C_200F_202B_206B_206B_202B_206A_202C_202A_202D_200B_206A_200F_200D_202A_206F_206E_206C_206C_200F_200F_206E_202D_202E(); + uint num9 = num2; + num4 = 1; + num5 = (int)num9; + } + _200D_200F_200D_206A_206C_202A_200D_200B_200C_202C_200F_200D_200B_206C_200B_206B_206C_206F_206F_200B_206F_202E_200D_202B_202E_200C_200E_206C_206A_202A_206E_200E_206B_200F_200E_206E_200F_200E_202C_206B_202E[num]._200F_202E_206C_206E_206E_206D_202C_206B_206F_206C_206B_200F_202B_202B_206D_202C_206B_200C_200F_202B_206B_206B_202B_206A_202C_202A_202D_200B_206A_200F_200D_202A_206F_206E_206C_206C_200F_200F_206E_202D_202E(); + _202C_202A_200D_200F_206C_206E_200E_202C_202E_200B_206F_202E_206C_206D_206E_206B_206E_206B_206C_206D_200C_200F_200B_206A_202A_206A_206A_206A_206B_202A_202B_202A_200D_200E_206E_200C_206D_206E_202C_206C_202E[num]._200F_202E_206C_206E_206E_206D_202C_206B_206F_206C_206B_200F_202B_202B_206D_202C_206B_200C_200F_202B_206B_206B_202B_206A_202C_202A_202D_200B_206A_200F_200D_202A_206F_206E_206C_206C_200F_200F_206E_202D_202E(); + _200B_202A_200E_200B_202E_202D_202C_202A_206D_202A_202E_200E_200B_206E_206F_202C_202A_200E_202D_202C_206C_206F_202C_206E_200D_202A_206A_202A_206C_206C_206D_202C_200E_200D_202E_206F_202E_206C_202C_206B_202E[num]._200F_202E_206C_206E_206E_206D_202C_206B_206F_206C_206B_200F_202B_202B_206D_202C_206B_200C_200F_202B_206B_206B_202B_206A_202C_202A_202D_200B_206A_200F_200D_202A_206F_206E_206C_206C_200F_200F_206E_202D_202E(); + _202C_206C_206F_206B_202A_206E_200D_206A_202E_206A_200F_202B_202E_202E_200B_202E_202E_206A_202A_206A_206D_202B_206A_206E_202A_200B_202C_200E_206C_202E_202B_200B_206D_202D_200E_200E_200D_206C_202E_202D_202E[num]._200F_202E_206C_206E_206E_206D_202C_206B_206F_206C_206B_200F_202B_202B_206D_202C_206B_200C_200F_202B_206B_206B_202B_206A_202C_202A_202D_200B_206A_200F_200D_202A_206F_206E_206C_206C_200F_200F_206E_202D_202E(); + uint num10 = num; + num4 = 1; + num5 = (int)num10; + num = (uint)((num5 | num4) + (num5 & num4)); + } + _200C_206A_200B_202A_206D_200E_206D_202D_200F_200F_202B_200F_206D_206E_202C_202C_206F_206F_206F_200B_206F_202B_200F_202E_206D_200B_202C_202D_206E_206A_206F_206F_200B_200B_200E_202A_206F_206D_202D_206D_202E._206C_206B_200E_206E_202D_200D_200E_206E_200C_202C_206F_202D_202E_206A_206C_200C_206D_200E_202E_206F_206D_202E_206C_200F_206D_206D_206B_200D_200F_202B_206B_200F_206E_206C_202D_206C_206C_200D_202D_202E(); + num = 0u; + while (num < 4) + { + _200D_200B_200C_206B_200B_202A_206B_200F_200F_206F_200F_202D_206F_206E_200D_202E_206C_206C_206C_206E_200B_200C_206E_206E_200C_206B_202D_202E_202C_202E_202C_200C_206D_202A_200D_200D_200C_206B_200D_202E_202E[num]._200E_202E_206D_202B_206C_200E_206B_202C_200B_200E_202E_200E_202C_206F_206D_202D_202B_206B_202A_202B_206F_206A_206A_202C_206B_206E_200C_200F_202C_206F_206A_206F_202E_200B_206E_202C_202A_206E_206B_200E_202E(); + uint num11 = num; + int num4 = 1; + int num5 = (int)num11; + int num12 = num5 ^ num4; + int num13 = num5 & num4; + num = (uint)(num12 + (num13 + num13)); + } + num = 0u; + while (num < 114) + { + _202B_200F_206E_202D_200C_200E_202D_202B_206E_206A_200E_202C_200E_202B_202E_206C_206B_202D_200E_206C_200B_200B_200E_202A_200E_202E_202D_206E_206E_200F_206A_206F_200E_200B_200D_202A_200C_202B_202D_202A_202E[num]._200F_202E_206C_206E_206E_206D_202C_206B_206F_206C_206B_200F_202B_202B_206D_202C_206B_200C_200F_202B_206B_206B_202B_206A_202C_202A_202D_200B_206A_200F_200D_202A_206F_206E_206C_206C_200F_200F_206E_202D_202E(); + uint num14 = num; + int num4 = 1; + int num5 = (int)num14; + num = (uint)((num5 | num4) + (num5 & num4)); + } + _202E_206E_206D_202D_206A_206F_206F_206F_200E_206D_202A_200B_200B_200F_206D_202C_206B_206E_206F_206F_200F_206B_200F_206B_206B_206C_202D_200F_206B_206F_206E_202C_202E_206B_202B_206B_206F_200E_200D_200C_202E._206D_206E_200E_202C_202E_206C_200C_202E_206B_200B_200C_206C_206B_206F_206F_200B_206D_202A_202C_206A_202D_200D_206F_202B_206B_202A_202D_206D_200D_206B_206C_200F_200C_200B_206C_202C_200E_200B_200E_202E_202E(); + _202B_200D_206F_202E_200D_202C_202B_202B_202C_206B_206E_202A_200E_202C_200D_202D_206C_200E_202E_202B_200B_206B_200F_202D_206D_206D_206D_206D_200D_200D_206C_200C_200F_202B_200D_200B_206A_206B_200B_206A_202E._206D_206E_200E_202C_202E_206C_200C_202E_206B_200B_200C_206C_206B_206F_206F_200B_206D_202A_202C_206A_202D_200D_206F_202B_206B_202A_202D_206D_200D_206B_206C_200F_200C_200B_206C_202C_200E_200B_200E_202E_202E(); + _202B_202D_202C_206D_202C_206E_202E_202B_200F_200F_206E_206F_200F_206F_200D_200C_200B_202C_206E_206E_206B_206A_200B_200B_200C_206E_206B_200D_206B_200B_206B_200E_206A_200B_206D_206E_202A_202B_202A_206E_202E._200E_202E_206D_202B_206C_200E_206B_202C_200B_200E_202E_200E_202C_206F_206D_202D_202B_206B_202A_202B_206F_206A_206A_202C_206B_206E_200C_200F_202C_206F_206A_206F_202E_200B_206E_202C_202A_206E_206B_200E_202E(); + } + + internal void _206C_206E_206E_206D_200C_206A_206F_206B_200B_200F_206C_200F_200F_206D_206E_200B_206D_206E_200C_202B_206D_202B_206E_206D_206F_202B_202B_206C_202A_200D_200C_200B_202E_200F_200C_206A_200B_200D_206A_206F_202E(Stream inStream, Stream outStream, long inSize, long outSize) + { + _206F_202C_202A_202D_206E_200E_206C_200D_202E_202C_200E_206F_206A_200F_206B_206A_206C_202E_206B_200B_202E_206A_206E_200D_202B_202C_202C_202A_200F_202B_202E_202E_206D_200E_206E_202D_202E_202E_206D_202E_202E(inStream, outStream); + _200F_202D_206F_202E_200C_200D_206F_206D_202C_206B_202C_206E_200B_200D_200F_206E_206E_202B_200D_202B_206C_206F_200E_202D_202E_200F_202B_200F_200E_200C_202C_202C_200D_200F_202E_206A_202D_200F_202E_206F_202E obj = default(_200F_202D_206F_202E_200C_200D_206F_206D_202C_206B_202C_206E_200B_200D_200F_206E_206E_202B_200D_202B_206C_206F_200E_202D_202E_200F_202B_200F_200E_200C_202C_202C_200D_200F_202E_206A_202D_200F_202E_206F_202E); + obj._206A_200B_202C_202A_200D_200C_202B_202D_202B_202D_200F_200C_200C_200B_200F_206C_206C_206E_206D_202D_206B_202B_206E_206E_202E_202E_202C_200B_202E_202E_200E_202C_202E_206F_206C_202B_206B_202E_200D_200F_202E(); + uint num = 0u; + uint num2 = 0u; + uint num3 = 0u; + uint num4 = 0u; + ulong num5 = 0uL; + if (num5 < (ulong)outSize) + { + _200D_202A_206C_200D_202B_202B_202E_200C_200E_202E_202C_206F_202A_202E_200E_202D_200C_200B_200E_200D_202D_202E_200C_200D_202D_206F_200D_202E_200F_202A_200E_206C_202B_200E_200D_202D_206A_202E_206E_206B_202E[obj._200E_206A_206D_206F_206A_202D_206D_206C_200E_206C_206C_202C_206F_202A_206D_206C_202E_200F_200C_206C_200E_206C_206A_200B_202B_202B_200E_202D_206D_206F_200C_206C_200E_202A_200F_200D_206A_202B_206A_206C_202E << 4]._200E_200F_206F_202D_202E_206E_202E_202D_200D_202A_200F_202B_206D_200D_206D_200F_202A_202E_206D_200E_202E_202D_202C_206A_202A_206C_202B_202A_202E_206A_200C_202D_206F_200D_202C_200D_202A_200F_202B_202E(_200D_206F_202B_202A_202C_202D_202C_206F_200D_200F_206A_206A_206C_202C_206F_202C_202D_200E_202C_206E_206F_200B_200B_202B_206D_200D_202D_202C_206F_200F_200F_202A_200C_206B_202E_206F_206A_202D_200F_202D_202E); + obj._200D_202E_206E_206A_202B_206C_202C_206F_206A_206D_206D_202A_200C_202D_202D_200F_202C_200E_202C_200D_200C_202C_202B_200B_202C_200C_202B_206F_200B_206B_202E_200C_206A_202D_206D_206F_202A_200C_206E_202A_202E(); + byte b = _200C_206A_200B_202A_206D_200E_206D_202D_200F_200F_202B_200F_206D_206E_202C_202C_206F_206F_206F_200B_206F_202B_200F_202E_206D_200B_202C_202D_206E_206A_206F_206F_200B_200B_200E_202A_206F_206D_202D_206D_202E._202C_202D_206D_202C_200C_200B_200B_200B_202C_206C_202A_200C_200E_206F_202E_206C_202A_200C_206A_200C_200F_202E_200D_200E_206C_200B_200B_202D_206B_206D_206E_206F_206A_200D_206B_206C_206C_202C_206B_206B_202E(_200D_206F_202B_202A_202C_202D_202C_206F_200D_200F_206A_206A_206C_202C_206F_202C_202D_200E_202C_206E_206F_200B_200B_202B_206D_200D_202D_202C_206F_200F_200F_202A_200C_206B_202E_206F_206A_202D_200F_202D_202E, 0u, 0); + _200C_200C_206E_200D_200E_200C_206A_200E_206B_200C_200D_200E_206F_206C_206C_200D_202C_206B_206E_202B_206C_200F_206D_200D_206E_202D_202B_202C_200D_206E_206A_206E_206B_202D_202B_202E_200D_200C_206A_200D_202E._200D_206C_200F_202A_206A_200E_200F_200D_206D_206C_206C_202D_202A_200B_200D_206F_206C_206F_206D_206B_202B_206A_206E_200D_200B_202A_206C_202D_206A_206C_200F_206C_200B_206C_202C_202A_202B_200F_206C_202C_202E(b); + ulong num6 = num5; + long num7 = 1L; + long num8 = (long)num6; + long num9 = num8 ^ num7; + long num10 = num8 & num7; + num5 = (ulong)(num9 + (num10 + num10)); + } + while (num5 < (ulong)outSize) + { + int num11 = (int)num5; + int num12 = (int)_202D_202E_206D_200C_206E_206C_200B_206F_206C_200C_206C_200B_202D_206A_200F_202B_200E_206B_206B_206C_200D_200F_202B_202C_202C_206E_206A_202C_202C_202A_206A_200F_206F_206B_206B_202D_202A_206D_200B_206F_202E; + int num13 = num11; + uint num14 = (uint)((num13 | num12) - (num13 ^ num12)); + _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E[] array = _200D_202A_206C_200D_202B_202B_202E_200C_200E_202E_202C_206F_202A_202E_200E_202D_200C_200B_200E_200D_202D_202E_200C_200D_202D_206F_200D_202E_200F_202A_200E_206C_202B_200E_200D_202D_206A_202E_206E_206B_202E; + uint num15 = obj._200E_206A_206D_206F_206A_202D_206D_206C_200E_206C_206C_202C_206F_202A_206D_206C_202E_200F_200C_206C_200E_206C_206A_200B_202B_202B_200E_202D_206D_206F_200C_206C_200E_202A_200F_200D_206A_202B_206A_206C_202E << 4; + num12 = (int)num14; + num13 = (int)num15; + int num16 = num13 ^ num12; + int num17 = num13 & num12; + long num7; + long num8; + if (array[num16 + (num17 + num17)]._200E_200F_206F_202D_202E_206E_202E_202D_200D_202A_200F_202B_206D_200D_206D_200F_202A_202E_206D_200E_202E_202D_202C_206A_202A_206C_202B_202A_202E_206A_200C_202D_206F_200D_202C_200D_202A_200F_202B_202E(_200D_206F_202B_202A_202C_202D_202C_206F_200D_200F_206A_206A_206C_202C_206F_202C_202D_200E_202C_206E_206F_200B_200B_202B_206D_200D_202D_202C_206F_200F_200F_202A_200C_206B_202E_206F_206A_202D_200F_202D_202E) == 0) + { + byte prevByte = _200C_200C_206E_200D_200E_200C_206A_200E_206B_200C_200D_200E_206F_206C_206C_200D_202C_206B_206E_202B_206C_200F_206D_200D_206E_202D_202B_202C_200D_206E_206A_206E_206B_202D_202B_202E_200D_200C_206A_200D_202E._206F_202A_202B_206B_200F_206A_202D_202C_202C_206D_202A_206C_206C_206C_202B_200C_200E_200B_206A_200F_206B_200F_206A_206F_206C_202A_200E_202D_200C_202A_206B_200F_202B_202C_202B_200F_202D_202C_200F_202C_202E(0u); + byte b2 = (obj._200E_206B_202C_202A_206B_200B_202D_200C_200C_202C_200E_206B_206A_200F_206B_202D_206B_206E_206E_202E_200E_202C_206C_200E_200D_206E_200F_206F_206E_200C_200E_200E_206A_200E_200D_206A_206A_200E_200E_202C_202E() ? _200C_206A_200B_202A_206D_200E_206D_202D_200F_200F_202B_200F_206D_206E_202C_202C_206F_206F_206F_200B_206F_202B_200F_202E_206D_200B_202C_202D_206E_206A_206F_206F_200B_200B_200E_202A_206F_206D_202D_206D_202E._202C_202D_206D_202C_200C_200B_200B_200B_202C_206C_202A_200C_200E_206F_202E_206C_202A_200C_206A_200C_200F_202E_200D_200E_206C_200B_200B_202D_206B_206D_206E_206F_206A_200D_206B_206C_206C_202C_206B_206B_202E(_200D_206F_202B_202A_202C_202D_202C_206F_200D_200F_206A_206A_206C_202C_206F_202C_202D_200E_202C_206E_206F_200B_200B_202B_206D_200D_202D_202C_206F_200F_200F_202A_200C_206B_202E_206F_206A_202D_200F_202D_202E, (uint)num5, prevByte) : _200C_206A_200B_202A_206D_200E_206D_202D_200F_200F_202B_200F_206D_206E_202C_202C_206F_206F_206F_200B_206F_202B_200F_202E_206D_200B_202C_202D_206E_206A_206F_206F_200B_200B_200E_202A_206F_206D_202D_206D_202E._206D_202A_200E_200D_200D_200D_200E_202D_206F_206E_200C_206B_200D_200C_206C_202A_206C_200E_202C_202A_202D_206D_202A_202C_206D_206F_202D_206E_200D_200C_206B_200B_206C_206D_200E_202C_202B_206C_200C_202E_202E(_200D_206F_202B_202A_202C_202D_202C_206F_200D_200F_206A_206A_206C_202C_206F_202C_202D_200E_202C_206E_206F_200B_200B_202B_206D_200D_202D_202C_206F_200F_200F_202A_200C_206B_202E_206F_206A_202D_200F_202D_202E, (uint)num5, prevByte, _200C_200C_206E_200D_200E_200C_206A_200E_206B_200C_200D_200E_206F_206C_206C_200D_202C_206B_206E_202B_206C_200F_206D_200D_206E_202D_202B_202C_200D_206E_206A_206E_206B_202D_202B_202E_200D_200C_206A_200D_202E._206F_202A_202B_206B_200F_206A_202D_202C_202C_206D_202A_206C_206C_206C_202B_200C_200E_200B_206A_200F_206B_200F_206A_206F_206C_202A_200E_202D_200C_202A_206B_200F_202B_202C_202B_200F_202D_202C_200F_202C_202E(num))); + _200C_200C_206E_200D_200E_200C_206A_200E_206B_200C_200D_200E_206F_206C_206C_200D_202C_206B_206E_202B_206C_200F_206D_200D_206E_202D_202B_202C_200D_206E_206A_206E_206B_202D_202B_202E_200D_200C_206A_200D_202E._200D_206C_200F_202A_206A_200E_200F_200D_206D_206C_206C_202D_202A_200B_200D_206F_206C_206F_206D_206B_202B_206A_206E_200D_200B_202A_206C_202D_206A_206C_200F_206C_200B_206C_202C_202A_202B_200F_206C_202C_202E(b2); + obj._200D_202E_206E_206A_202B_206C_202C_206F_206A_206D_206D_202A_200C_202D_202D_200F_202C_200E_202C_200D_200C_202C_202B_200B_202C_200C_202B_206F_200B_206B_202E_200C_206A_202D_206D_206F_202A_200C_206E_202A_202E(); + ulong num18 = num5; + num7 = 1L; + num8 = (long)num18; + long num19 = num8 ^ num7; + long num20 = num8 & num7; + num5 = (ulong)(num19 + (num20 + num20)); + continue; + } + uint num24; + if (_200D_200F_200D_206A_206C_202A_200D_200B_200C_202C_200F_200D_200B_206C_200B_206B_206C_206F_206F_200B_206F_202E_200D_202B_202E_200C_200E_206C_206A_202A_206E_200E_206B_200F_200E_206E_200F_200E_202C_206B_202E[obj._200E_206A_206D_206F_206A_202D_206D_206C_200E_206C_206C_202C_206F_202A_206D_206C_202E_200F_200C_206C_200E_206C_206A_200B_202B_202B_200E_202D_206D_206F_200C_206C_200E_202A_200F_200D_206A_202B_206A_206C_202E]._200E_200F_206F_202D_202E_206E_202E_202D_200D_202A_200F_202B_206D_200D_206D_200F_202A_202E_206D_200E_202E_202D_202C_206A_202A_206C_202B_202A_202E_206A_200C_202D_206F_200D_202C_200D_202A_200F_202B_202E(_200D_206F_202B_202A_202C_202D_202C_206F_200D_200F_206A_206A_206C_202C_206F_202C_202D_200E_202C_206E_206F_200B_200B_202B_206D_200D_202D_202C_206F_200F_200F_202A_200C_206B_202E_206F_206A_202D_200F_202D_202E) == 1) + { + if (_202C_202A_200D_200F_206C_206E_200E_202C_202E_200B_206F_202E_206C_206D_206E_206B_206E_206B_206C_206D_200C_200F_200B_206A_202A_206A_206A_206A_206B_202A_202B_202A_200D_200E_206E_200C_206D_206E_202C_206C_202E[obj._200E_206A_206D_206F_206A_202D_206D_206C_200E_206C_206C_202C_206F_202A_206D_206C_202E_200F_200C_206C_200E_206C_206A_200B_202B_202B_200E_202D_206D_206F_200C_206C_200E_202A_200F_200D_206A_202B_206A_206C_202E]._200E_200F_206F_202D_202E_206E_202E_202D_200D_202A_200F_202B_206D_200D_206D_200F_202A_202E_206D_200E_202E_202D_202C_206A_202A_206C_202B_202A_202E_206A_200C_202D_206F_200D_202C_200D_202A_200F_202B_202E(_200D_206F_202B_202A_202C_202D_202C_206F_200D_200F_206A_206A_206C_202C_206F_202C_202D_200E_202C_206E_206F_200B_200B_202B_206D_200D_202D_202C_206F_200F_200F_202A_200C_206B_202E_206F_206A_202D_200F_202D_202E) == 0) + { + _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E[] array2 = _202C_202E_202D_206B_206A_206F_200F_206D_200B_206E_200D_200E_202A_202E_202A_202C_202C_200F_200B_206A_200F_206E_206C_202C_200B_206E_206A_200C_206C_200E_206B_202D_200C_202D_206F_202E_206F_200B_206C_202A_202E; + uint num21 = obj._200E_206A_206D_206F_206A_202D_206D_206C_200E_206C_206C_202C_206F_202A_206D_206C_202E_200F_200C_206C_200E_206C_206A_200B_202B_202B_200E_202D_206D_206F_200C_206C_200E_202A_200F_200D_206A_202B_206A_206C_202E << 4; + num12 = (int)num14; + num13 = (int)num21; + if (array2[(num13 | num12) + (num13 & num12)]._200E_200F_206F_202D_202E_206E_202E_202D_200D_202A_200F_202B_206D_200D_206D_200F_202A_202E_206D_200E_202E_202D_202C_206A_202A_206C_202B_202A_202E_206A_200C_202D_206F_200D_202C_200D_202A_200F_202B_202E(_200D_206F_202B_202A_202C_202D_202C_206F_200D_200F_206A_206A_206C_202C_206F_202C_202D_200E_202C_206E_206F_200B_200B_202B_206D_200D_202D_202C_206F_200F_200F_202A_200C_206B_202E_206F_206A_202D_200F_202D_202E) == 0) + { + obj._202D_200D_202E_206C_200C_206A_206B_200B_200F_200B_202D_200E_206C_200B_200F_200E_200E_206A_206B_206C_202D_202A_200F_206F_202B_200D_200E_200E_202D_206E_202A_206F_206F_206E_206B_202C_202A_202A_200C_200D_202E(); + _200C_200C_206E_200D_200E_200C_206A_200E_206B_200C_200D_200E_206F_206C_206C_200D_202C_206B_206E_202B_206C_200F_206D_200D_206E_202D_202B_202C_200D_206E_206A_206E_206B_202D_202B_202E_200D_200C_206A_200D_202E._200D_206C_200F_202A_206A_200E_200F_200D_206D_206C_206C_202D_202A_200B_200D_206F_206C_206F_206D_206B_202B_206A_206E_200D_200B_202A_206C_202D_206A_206C_200F_206C_200B_206C_202C_202A_202B_200F_206C_202C_202E(_200C_200C_206E_200D_200E_200C_206A_200E_206B_200C_200D_200E_206F_206C_206C_200D_202C_206B_206E_202B_206C_200F_206D_200D_206E_202D_202B_202C_200D_206E_206A_206E_206B_202D_202B_202E_200D_200C_206A_200D_202E._206F_202A_202B_206B_200F_206A_202D_202C_202C_206D_202A_206C_206C_206C_202B_200C_200E_200B_206A_200F_206B_200F_206A_206F_206C_202A_200E_202D_200C_202A_206B_200F_202B_202C_202B_200F_202D_202C_200F_202C_202E(num)); + ulong num22 = num5; + num7 = 1L; + num8 = (long)num22; + num5 = (ulong)((num8 | num7) + (num8 & num7)); + continue; + } + } + else + { + uint num23; + if (_200B_202A_200E_200B_202E_202D_202C_202A_206D_202A_202E_200E_200B_206E_206F_202C_202A_200E_202D_202C_206C_206F_202C_206E_200D_202A_206A_202A_206C_206C_206D_202C_200E_200D_202E_206F_202E_206C_202C_206B_202E[obj._200E_206A_206D_206F_206A_202D_206D_206C_200E_206C_206C_202C_206F_202A_206D_206C_202E_200F_200C_206C_200E_206C_206A_200B_202B_202B_200E_202D_206D_206F_200C_206C_200E_202A_200F_200D_206A_202B_206A_206C_202E]._200E_200F_206F_202D_202E_206E_202E_202D_200D_202A_200F_202B_206D_200D_206D_200F_202A_202E_206D_200E_202E_202D_202C_206A_202A_206C_202B_202A_202E_206A_200C_202D_206F_200D_202C_200D_202A_200F_202B_202E(_200D_206F_202B_202A_202C_202D_202C_206F_200D_200F_206A_206A_206C_202C_206F_202C_202D_200E_202C_206E_206F_200B_200B_202B_206D_200D_202D_202C_206F_200F_200F_202A_200C_206B_202E_206F_206A_202D_200F_202D_202E) == 0) + { + num23 = num2; + } + else + { + if (_202C_206C_206F_206B_202A_206E_200D_206A_202E_206A_200F_202B_202E_202E_200B_202E_202E_206A_202A_206A_206D_202B_206A_206E_202A_200B_202C_200E_206C_202E_202B_200B_206D_202D_200E_200E_200D_206C_202E_202D_202E[obj._200E_206A_206D_206F_206A_202D_206D_206C_200E_206C_206C_202C_206F_202A_206D_206C_202E_200F_200C_206C_200E_206C_206A_200B_202B_202B_200E_202D_206D_206F_200C_206C_200E_202A_200F_200D_206A_202B_206A_206C_202E]._200E_200F_206F_202D_202E_206E_202E_202D_200D_202A_200F_202B_206D_200D_206D_200F_202A_202E_206D_200E_202E_202D_202C_206A_202A_206C_202B_202A_202E_206A_200C_202D_206F_200D_202C_200D_202A_200F_202B_202E(_200D_206F_202B_202A_202C_202D_202C_206F_200D_200F_206A_206A_206C_202C_206F_202C_202D_200E_202C_206E_206F_200B_200B_202B_206D_200D_202D_202C_206F_200F_200F_202A_200C_206B_202E_206F_206A_202D_200F_202D_202E) == 0) + { + num23 = num3; + } + else + { + num23 = num4; + num4 = num3; + } + num3 = num2; + } + num2 = num; + num = num23; + } + num24 = _202B_200D_206F_202E_200D_202C_202B_202B_202C_206B_206E_202A_200E_202C_200D_202D_206C_200E_202E_202B_200B_206B_200F_202D_206D_206D_206D_206D_200D_200D_206C_200C_200F_202B_200D_200B_206A_206B_200B_206A_202E._200B_206E_202C_202B_200D_202E_202A_206D_200C_200D_200E_202D_206D_202C_206D_206A_206A_202A_206F_200E_202B_206E_200C_202A_202E_200D_206B_206A_206A_206A_206E_206A_206B_202E_202C_202C_200C_200B_200D_206A_202E(_200D_206F_202B_202A_202C_202D_202C_206F_200D_200F_206A_206A_206C_202C_206F_202C_202D_200E_202C_206E_206F_200B_200B_202B_206D_200D_202D_202C_206F_200F_200F_202A_200C_206B_202E_206F_206A_202D_200F_202D_202E, num14) + 2; + obj._206F_202C_202A_206F_206A_200D_206D_202B_202A_200B_206F_202C_202D_200E_202C_202C_206A_206D_200D_202E_200C_202D_206A_200C_206A_202D_200C_200E_206C_200B_206E_200C_206F_206D_206D_200F_202C_202E_200E_200F_202E(); + } + else + { + num4 = num3; + num3 = num2; + num2 = num; + num24 = 2 + _202E_206E_206D_202D_206A_206F_206F_206F_200E_206D_202A_200B_200B_200F_206D_202C_206B_206E_206F_206F_200F_206B_200F_206B_206B_206C_202D_200F_206B_206F_206E_202C_202E_206B_202B_206B_206F_200E_200D_200C_202E._200B_206E_202C_202B_200D_202E_202A_206D_200C_200D_200E_202D_206D_202C_206D_206A_206A_202A_206F_200E_202B_206E_200C_202A_202E_200D_206B_206A_206A_206A_206E_206A_206B_202E_202C_202C_200C_200B_200D_206A_202E(_200D_206F_202B_202A_202C_202D_202C_206F_200D_200F_206A_206A_206C_202C_206F_202C_202D_200E_202C_206E_206F_200B_200B_202B_206D_200D_202D_202C_206F_200F_200F_202A_200C_206B_202E_206F_206A_202D_200F_202D_202E, num14); + obj._206A_200D_206D_202B_200C_206B_206C_200F_206E_200F_206E_202C_200B_206F_206E_206A_206A_202A_200E_202C_200C_200D_202D_202A_202D_206F_200D_206B_200F_200E_200F_206A_206A_206B_206E_200B_200E_200B_202C_202C_202E(); + uint num25 = _200D_200B_200C_206B_200B_202A_206B_200F_200F_206F_200F_202D_206F_206E_200D_202E_206C_206C_206C_206E_200B_200C_206E_206E_200C_206B_202D_202E_202C_202E_202C_200C_206D_202A_200D_200D_200C_206B_200D_202E_202E[_206C_206C_200E_206D_200D_206D_206D_202E_206A_200D_202D_200E_206F_202B_206F_200C_200B_202C_200D_200B_202B_202E_206A_206C_200F_206E_206A_202A_202E_206F_206F_200E_200E_202D_206E_200E_206F_206B_206C_200C_202E(num24)]._202B_200E_206B_200E_202E_202E_200C_206F_206F_202B_202D_202E_200E_206C_200B_200C_202E_206B_202B_202D_206C_200F_206F_202B_202E_200F_202B_200F_202E_206D_200E_200D_200F_200C_200B_206E_200E_206F_206E_200C_202E(_200D_206F_202B_202A_202C_202D_202C_206F_200D_200F_206A_206A_206C_202C_206F_202C_202D_200E_202C_206E_206F_200B_200B_202B_206D_200D_202D_202C_206F_200F_200F_202A_200C_206B_202E_206F_206A_202D_200F_202D_202E); + if (num25 >= 4) + { + uint num26 = num25 >> 1; + num12 = 1; + num13 = (int)num26; + int num27 = ~(~num13 + num12); + num12 = 1; + num13 = (int)num25; + num12 = (num13 | num12) - (num13 ^ num12); + num13 = 2; + int num28 = num13 + num12 - (num13 & num12); + num12 = 31; + num13 = num27; + num = (uint)(num28 << (num13 | num12) - (num13 ^ num12)); + if (num25 < 14) + { + uint num29 = num; + _206E_202A_200F_206F_200B_206E_200B_206D_200D_206E_206B_206C_202D_206D_206A_206F_200D_206D_206D_202B_200C_202E_206C_206F_202C_200B_206A_200E_206C_200F_206A_200D_206C_206C_200C_206A_200E_200C_206F_200C_202E[] models = _202B_200F_206E_202D_200C_200E_202D_202B_206E_206A_200E_202C_200E_202B_202E_206C_206B_202D_200E_206C_200B_200B_200E_202A_200E_202E_202D_206E_206E_200F_206A_206F_200E_200B_200D_202A_200C_202B_202D_202A_202E; + uint num30 = num; + num12 = (int)num25; + num13 = (int)num30; + int num31 = ~(~num13 + num12); + num12 = 1; + num13 = num31; + num = num29 + _206F_206A_206F_206D_206F_202B_206D_202E_202B_202B_202D_206A_200F_206C_206A_206A_202A_206A_206A_206B_202B_200B_200F_202D_206C_202C_206B_202E_206F_200B_200C_206A_206C_200E_202D_200C_206A_206B_200E_202E_202E._206F_206D_206F_202D_202E_200C_202B_206C_206E_200C_202E_202B_206F_200D_206F_206F_202D_206C_202A_200E_200B_206C_206F_206F_200F_200C_200F_202A_206A_206C_206A_200E_200C_202B_200F_206D_206F_200D_206D_202B_202E(models, (uint)(~(~num13 + num12)), _200D_206F_202B_202A_202C_202D_202C_206F_200D_200F_206A_206A_206C_202C_206F_202C_202D_200E_202C_206E_206F_200B_200B_202B_206D_200D_202D_202C_206F_200F_200F_202A_200C_206B_202E_206F_206A_202D_200F_202D_202E, num27); + } + else + { + uint num32 = num; + _200E_202B_202B_206B_202D_202B_200B_202B_202A_200C_200F_202A_202A_200B_200B_200F_202D_206D_206B_200B_206C_202B_206C_200D_202B_202E_202E_200F_206D_202E_206D_200C_200D_206E_202D_206D_200B_202D_206A_202D_202E obj2 = _200D_206F_202B_202A_202C_202D_202C_206F_200D_200F_206A_206A_206C_202C_206F_202C_202D_200E_202C_206E_206F_200B_200B_202B_206D_200D_202D_202C_206F_200F_200F_202A_200C_206B_202E_206F_206A_202D_200F_202D_202E; + num12 = 4; + num13 = num27; + num = num32 + (obj2._202B_200B_202D_202D_206B_200E_200F_202B_200B_202A_200B_202A_200D_200D_200C_200B_200B_206B_202B_202D_206D_200E_206D_202B_200E_206F_200E_206E_202E_206C_200B_202D_200B_206A_206C_206F_206A_206B_206D_206D_202E(~(~num13 + num12)) << 4); + num += _202B_202D_202C_206D_202C_206E_202E_202B_200F_200F_206E_206F_200F_206F_200D_200C_200B_202C_206E_206E_206B_206A_200B_200B_200C_206E_206B_200D_206B_200B_206B_200E_206A_200B_206D_206E_202A_202B_202A_206E_202E._206B_202E_206E_206A_200E_206F_202C_200F_200C_200E_202D_206F_200F_202E_200C_202E_200F_200E_200B_200D_202B_206B_206F_200C_200E_200E_206F_200C_206C_206A_206E_206A_202D_206C_206C_206B_200F_206F_206D_206B_202E(_200D_206F_202B_202A_202C_202D_202C_206F_200D_200F_206A_206A_206C_202C_206F_202C_202D_200E_202C_206E_206F_200B_200B_202B_206D_200D_202D_202C_206F_200F_200F_202A_200C_206B_202E_206F_206A_202D_200F_202D_202E); + } + } + else + { + num = num25; + } + } + if ((num >= num5 || num >= _206F_202A_206F_202C_202A_206E_202A_206D_206E_202C_206D_202C_200D_206C_200E_202D_206A_206B_202E_206B_200B_206B_206C_206E_200F_206F_202D_206F_200C_202E_206B_206B_202A_206C_202D_202C_206B_200B_200F_202E) && num == uint.MaxValue) + { + break; + } + _200C_200C_206E_200D_200E_200C_206A_200E_206B_200C_200D_200E_206F_206C_206C_200D_202C_206B_206E_202B_206C_200F_206D_200D_206E_202D_202B_202C_200D_206E_206A_206E_206B_202D_202B_202E_200D_200C_206A_200D_202E._206A_202D_206D_200D_206A_200D_206E_202E_200C_202B_202B_206F_200E_200D_200B_200D_206E_200B_206D_202B_202C_206B_200F_206A_206C_206D_200F_206B_200B_202B_206C_200C_200D_206C_200C_202B_200F_202B_206F_202D_202E(num, num24); + ulong num33 = num5; + num7 = num24; + num8 = (long)num33; + long num34 = num8 ^ num7; + long num35 = num8 & num7; + num5 = (ulong)(num34 + (num35 + num35)); + } + _200C_200C_206E_200D_200E_200C_206A_200E_206B_200C_200D_200E_206F_206C_206C_200D_202C_206B_206E_202B_206C_200F_206D_200D_206E_202D_202B_202C_200D_206E_206A_206E_206B_202D_202B_202E_200D_200C_206A_200D_202E._206D_200B_200F_206B_206D_200F_206C_206B_206D_206C_206E_200E_200F_202B_202C_206D_206F_206E_206F_202E_206F_202E_202A_200D_200F_206E_202E_202E_200F_202C_206A_200D_206B_200C_200C_206B_202D_202E_202E_202B_202E(); + _200C_200C_206E_200D_200E_200C_206A_200E_206B_200C_200D_200E_206F_206C_206C_200D_202C_206B_206E_202B_206C_200F_206D_200D_206E_202D_202B_202C_200D_206E_206A_206E_206B_202D_202B_202E_200D_200C_206A_200D_202E._202E_206C_202B_200D_206B_206B_202B_200D_206C_206F_206B_200F_206C_200D_200E_200F_206F_202E_200C_202B_202E_206B_200F_206F_206D_202B_202B_206D_206E_202C_200C_206E_200D_206F_202B_206A_202B_200F_206A_206A_202E(); + _200D_206F_202B_202A_202C_202D_202C_206F_200D_200F_206A_206A_206C_202C_206F_202C_202D_200E_202C_206E_206F_200B_200B_202B_206D_200D_202D_202C_206F_200F_200F_202A_200C_206B_202E_206F_206A_202D_200F_202D_202E._202A_206B_206C_206B_200C_200E_200C_202A_202D_206F_202C_206B_206B_200C_202C_206B_206F_206F_202E_206F_202C_206E_202D_200C_200C_206F_206C_202A_206A_206E_206E_206F_200D_202B_202C_200E_200F_200E_202B_206E_202E(); + } + + internal void _200B_202C_200D_202C_206C_202B_206C_200C_206D_206A_206B_200B_202D_200D_206C_206F_202C_200D_206D_200E_200D_202A_206E_206D_200F_202D_206B_202D_206A_202E_202E_202A_206C_200B_206D_202C_206C_206C_202E_202E(byte[] properties) + { + int lc = properties[0] % 9; + int num = properties[0] / 9; + int lp = num % 5; + int pb = num / 5; + uint num2 = 0u; + int num3 = 0; + while (num3 < 4) + { + uint num4 = num2; + int num5 = num3; + int num6 = 1; + int num7 = num6 ^ num5; + int num8 = num6 & num5; + byte num9 = properties[num7 + (num8 + num8)]; + int num10 = num3 * 8; + num5 = 31; + num6 = num10; + num5 = num9 << (num6 | num5) - (num6 ^ num5); + num6 = (int)num4; + int num11 = num6 ^ num5; + int num12 = num6 & num5; + num2 = (uint)(num11 + (num12 + num12)); + int num13 = num3; + num5 = 1; + num6 = num13; + num3 = (num6 | num5) + (num6 & num5); + } + _200D_206A_200D_206B_200C_200C_206A_206C_200F_200B_200D_200C_202D_202D_206E_200E_200E_202A_202A_206E_206E_200B_206E_206C_206D_202E_200D_206B_200D_206C_202E_206D_206F_206F_200B_206E_206A_206C_200F_202B_202E(num2); + _200F_200C_202E_206C_202E_206C_206E_206F_206B_206C_200C_206A_206D_202C_206B_206B_200B_202C_202C_206C_200F_202D_206F_202C_206B_202D_206C_200C_206F_202B_200C_202C_200D_206F_202D_206B_200F_202B_200C_202A_202E(lp, lc); + _202D_206B_202C_200C_200E_202D_200C_200D_206A_206A_206B_200F_200F_202D_202E_200C_206D_202B_206D_200F_202E_200B_206F_206F_206D_206F_202D_200E_206E_206F_206E_200B_200F_202B_200D_206B_202C_206C_206F_200D_202E(pb); + } + + internal static uint _206C_206C_200E_206D_200D_206D_206D_202E_206A_200D_202D_200E_206F_202B_206F_200C_200B_202C_200D_200B_202B_202E_206A_206C_200F_206E_206A_202A_202E_206F_206F_200E_200E_202D_206E_200E_206F_206B_206C_200C_202E(uint len) + { + uint num = len; + int num2 = 2; + int num3 = (int)num; + len = (uint)(~(~num3 + num2)); + if (len < 4) + { + return len; + } + return 3u; + } +} +internal class _206F_200D_206B_202D_202B_206D_202E_206E_206F_200D_206B_206D_200E_206A_202D_200F_202E_206B_200F_206F_206A_206B_206B_202D_206C_206D_200F_200D_206E_200E_200D_206B_200D_202B_202D_206B_206E_206D_200F_206C_202E +{ + internal byte[] _206E_202A_200D_202B_202E_202D_206D_202B_200F_202E_200F_206B_206C_200B_206E_200C_202D_200C_200E_206A_200F_206A_206B_206B_200C_206E_200F_200F_206D_202D_200B_200B_206F_200B_200B_200B_202E_202A_200D_200C_202E; + + internal uint _206B_202E_200B_200D_202C_202E_202B_206F_206D_200B_202C_206B_206B_202A_206A_202C_202A_200C_206F_200B_202E_200F_206B_200D_200D_200B_200D_200E_206C_200B_206D_202B_202B_206C_202A_200C_206A_202C_202D_206E_202E; + + internal Stream _200F_206C_202B_200D_206A_206C_202A_206F_206D_200F_200F_206C_200C_206B_202C_206B_206D_206A_206E_202E_206F_206D_202A_202E_200E_206C_202A_202C_206C_206A_200B_206B_202A_202D_206D_206D_206C_202C_206C_206A_202E; + + internal uint _206E_200D_200C_206E_202A_206C_202B_206A_206E_202E_206F_200E_200C_200D_206C_206E_206C_200F_206F_206F_200D_206B_200F_206A_202E_200D_206B_206C_202E_206C_200F_206F_200B_202A_202C_206A_202B_206B_202D_202B_202E; + + internal uint _200D_200D_202C_202E_200F_200C_202C_206F_202D_206A_200D_206C_202A_200B_206E_206D_202E_206D_200C_200D_200E_202D_200C_202B_202C_200D_206C_206F_206A_206F_200E_200B_200D_200D_200E_206B_206C_206C_206C_200F_202E; + + internal void _202B_200E_200E_202D_206E_206B_202E_200B_202C_200F_202A_206B_200E_200B_202B_206A_206A_206B_202D_200B_202A_202E_202E_200C_206D_202C_202E_206F_206E_202C_202C_206B_202C_200D_202B_200C_200B_202A_202B_200C_202E(uint windowSize) + { + if (_200D_200D_202C_202E_200F_200C_202C_206F_202D_206A_200D_206C_202A_200B_206E_206D_202E_206D_200C_200D_200E_202D_200C_202B_202C_200D_206C_206F_206A_206F_200E_200B_200D_200D_200E_206B_206C_206C_206C_200F_202E != windowSize) + { + _206E_202A_200D_202B_202E_202D_206D_202B_200F_202E_200F_206B_206C_200B_206E_200C_202D_200C_200E_206A_200F_206A_206B_206B_200C_206E_200F_200F_206D_202D_200B_200B_206F_200B_200B_200B_202E_202A_200D_200C_202E = new byte[windowSize]; + } + _200D_200D_202C_202E_200F_200C_202C_206F_202D_206A_200D_206C_202A_200B_206E_206D_202E_206D_200C_200D_200E_202D_200C_202B_202C_200D_206C_206F_206A_206F_200E_200B_200D_200D_200E_206B_206C_206C_206C_200F_202E = windowSize; + _206B_202E_200B_200D_202C_202E_202B_206F_206D_200B_202C_206B_206B_202A_206A_202C_202A_200C_206F_200B_202E_200F_206B_200D_200D_200B_200D_200E_206C_200B_206D_202B_202B_206C_202A_200C_206A_202C_202D_206E_202E = 0u; + _206E_200D_200C_206E_202A_206C_202B_206A_206E_202E_206F_200E_200C_200D_206C_206E_206C_200F_206F_206F_200D_206B_200F_206A_202E_200D_206B_206C_202E_206C_200F_206F_200B_202A_202C_206A_202B_206B_202D_202B_202E = 0u; + } + + internal void _206F_202C_206D_206E_206A_206B_200D_202C_206A_200F_206C_200D_200C_206E_206C_200C_202B_200D_202E_206B_202A_206B_202A_206E_206A_206B_200C_206D_206F_202E_202A_202D_206F_202B_202D_206C_206E_200F_200E_202E(Stream stream, bool solid) + { + _202E_206C_202B_200D_206B_206B_202B_200D_206C_206F_206B_200F_206C_200D_200E_200F_206F_202E_200C_202B_202E_206B_200F_206F_206D_202B_202B_206D_206E_202C_200C_206E_200D_206F_202B_206A_202B_200F_206A_206A_202E(); + _200F_206C_202B_200D_206A_206C_202A_206F_206D_200F_200F_206C_200C_206B_202C_206B_206D_206A_206E_202E_206F_206D_202A_202E_200E_206C_202A_202C_206C_206A_200B_206B_202A_202D_206D_206D_206C_202C_206C_206A_202E = stream; + if (!solid) + { + _206E_200D_200C_206E_202A_206C_202B_206A_206E_202E_206F_200E_200C_200D_206C_206E_206C_200F_206F_206F_200D_206B_200F_206A_202E_200D_206B_206C_202E_206C_200F_206F_200B_202A_202C_206A_202B_206B_202D_202B_202E = 0u; + _206B_202E_200B_200D_202C_202E_202B_206F_206D_200B_202C_206B_206B_202A_206A_202C_202A_200C_206F_200B_202E_200F_206B_200D_200D_200B_200D_200E_206C_200B_206D_202B_202B_206C_202A_200C_206A_202C_202D_206E_202E = 0u; + } + } + + internal void _202E_206C_202B_200D_206B_206B_202B_200D_206C_206F_206B_200F_206C_200D_200E_200F_206F_202E_200C_202B_202E_206B_200F_206F_206D_202B_202B_206D_206E_202C_200C_206E_200D_206F_202B_206A_202B_200F_206A_206A_202E() + { + _206D_200B_200F_206B_206D_200F_206C_206B_206D_206C_206E_200E_200F_202B_202C_206D_206F_206E_206F_202E_206F_202E_202A_200D_200F_206E_202E_202E_200F_202C_206A_200D_206B_200C_200C_206B_202D_202E_202E_202B_202E(); + _200F_206C_202B_200D_206A_206C_202A_206F_206D_200F_200F_206C_200C_206B_202C_206B_206D_206A_206E_202E_206F_206D_202A_202E_200E_206C_202A_202C_206C_206A_200B_206B_202A_202D_206D_206D_206C_202C_206C_206A_202E = null; + Buffer.BlockCopy(new byte[_206E_202A_200D_202B_202E_202D_206D_202B_200F_202E_200F_206B_206C_200B_206E_200C_202D_200C_200E_206A_200F_206A_206B_206B_200C_206E_200F_200F_206D_202D_200B_200B_206F_200B_200B_200B_202E_202A_200D_200C_202E.Length], 0, _206E_202A_200D_202B_202E_202D_206D_202B_200F_202E_200F_206B_206C_200B_206E_200C_202D_200C_200E_206A_200F_206A_206B_206B_200C_206E_200F_200F_206D_202D_200B_200B_206F_200B_200B_200B_202E_202A_200D_200C_202E, 0, _206E_202A_200D_202B_202E_202D_206D_202B_200F_202E_200F_206B_206C_200B_206E_200C_202D_200C_200E_206A_200F_206A_206B_206B_200C_206E_200F_200F_206D_202D_200B_200B_206F_200B_200B_200B_202E_202A_200D_200C_202E.Length); + } + + internal void _206D_200B_200F_206B_206D_200F_206C_206B_206D_206C_206E_200E_200F_202B_202C_206D_206F_206E_206F_202E_206F_202E_202A_200D_200F_206E_202E_202E_200F_202C_206A_200D_206B_200C_200C_206B_202D_202E_202E_202B_202E() + { + uint num = _206B_202E_200B_200D_202C_202E_202B_206F_206D_200B_202C_206B_206B_202A_206A_202C_202A_200C_206F_200B_202E_200F_206B_200D_200D_200B_200D_200E_206C_200B_206D_202B_202B_206C_202A_200C_206A_202C_202D_206E_202E; + int num2 = (int)_206E_200D_200C_206E_202A_206C_202B_206A_206E_202E_206F_200E_200C_200D_206C_206E_206C_200F_206F_206F_200D_206B_200F_206A_202E_200D_206B_206C_202E_206C_200F_206F_200B_202A_202C_206A_202B_206B_202D_202B_202E; + int num3 = (int)num; + uint num4 = (uint)(~(~num3 + num2)); + if (num4 != 0) + { + _200F_206C_202B_200D_206A_206C_202A_206F_206D_200F_200F_206C_200C_206B_202C_206B_206D_206A_206E_202E_206F_206D_202A_202E_200E_206C_202A_202C_206C_206A_200B_206B_202A_202D_206D_206D_206C_202C_206C_206A_202E.Write(_206E_202A_200D_202B_202E_202D_206D_202B_200F_202E_200F_206B_206C_200B_206E_200C_202D_200C_200E_206A_200F_206A_206B_206B_200C_206E_200F_200F_206D_202D_200B_200B_206F_200B_200B_200B_202E_202A_200D_200C_202E, (int)_206E_200D_200C_206E_202A_206C_202B_206A_206E_202E_206F_200E_200C_200D_206C_206E_206C_200F_206F_206F_200D_206B_200F_206A_202E_200D_206B_206C_202E_206C_200F_206F_200B_202A_202C_206A_202B_206B_202D_202B_202E, (int)num4); + if (_206B_202E_200B_200D_202C_202E_202B_206F_206D_200B_202C_206B_206B_202A_206A_202C_202A_200C_206F_200B_202E_200F_206B_200D_200D_200B_200D_200E_206C_200B_206D_202B_202B_206C_202A_200C_206A_202C_202D_206E_202E >= _200D_200D_202C_202E_200F_200C_202C_206F_202D_206A_200D_206C_202A_200B_206E_206D_202E_206D_200C_200D_200E_202D_200C_202B_202C_200D_206C_206F_206A_206F_200E_200B_200D_200D_200E_206B_206C_206C_206C_200F_202E) + { + _206B_202E_200B_200D_202C_202E_202B_206F_206D_200B_202C_206B_206B_202A_206A_202C_202A_200C_206F_200B_202E_200F_206B_200D_200D_200B_200D_200E_206C_200B_206D_202B_202B_206C_202A_200C_206A_202C_202D_206E_202E = 0u; + } + _206E_200D_200C_206E_202A_206C_202B_206A_206E_202E_206F_200E_200C_200D_206C_206E_206C_200F_206F_206F_200D_206B_200F_206A_202E_200D_206B_206C_202E_206C_200F_206F_200B_202A_202C_206A_202B_206B_202D_202B_202E = _206B_202E_200B_200D_202C_202E_202B_206F_206D_200B_202C_206B_206B_202A_206A_202C_202A_200C_206F_200B_202E_200F_206B_200D_200D_200B_200D_200E_206C_200B_206D_202B_202B_206C_202A_200C_206A_202C_202D_206E_202E; + } + } + + internal void _206A_202D_206D_200D_206A_200D_206E_202E_200C_202B_202B_206F_200E_200D_200B_200D_206E_200B_206D_202B_202C_206B_200F_206A_206C_206D_200F_206B_200B_202B_206C_200C_200D_206C_200C_202B_200F_202B_206F_202D_202E(uint distance, uint len) + { + uint num = _206B_202E_200B_200D_202C_202E_202B_206F_206D_200B_202C_206B_206B_202A_206A_202C_202A_200C_206F_200B_202E_200F_206B_200D_200D_200B_200D_200E_206C_200B_206D_202B_202B_206C_202A_200C_206A_202C_202D_206E_202E; + int num2 = (int)distance; + int num3 = (int)num; + int num4 = ~(~num3 + num2); + num2 = 1; + num3 = num4; + uint num5 = (uint)(~(~num3 + num2)); + if (num5 >= _200D_200D_202C_202E_200F_200C_202C_206F_202D_206A_200D_206C_202A_200B_206E_206D_202E_206D_200C_200D_200E_202D_200C_202B_202C_200D_206C_206F_206A_206F_200E_200B_200D_200D_200E_206B_206C_206C_206C_200F_202E) + { + uint num6 = num5; + num2 = (int)_200D_200D_202C_202E_200F_200C_202C_206F_202D_206A_200D_206C_202A_200B_206E_206D_202E_206D_200C_200D_200E_202D_200C_202B_202C_200D_206C_206F_206A_206F_200E_200B_200D_200D_200E_206B_206C_206C_206C_200F_202E; + num3 = (int)num6; + int num7 = num3 ^ num2; + int num8 = num3 & num2; + num5 = (uint)(num7 + (num8 + num8)); + } + while (len != 0) + { + if (num5 >= _200D_200D_202C_202E_200F_200C_202C_206F_202D_206A_200D_206C_202A_200B_206E_206D_202E_206D_200C_200D_200E_202D_200C_202B_202C_200D_206C_206F_206A_206F_200E_200B_200D_200D_200E_206B_206C_206C_206C_200F_202E) + { + num5 = 0u; + } + byte[] array = _206E_202A_200D_202B_202E_202D_206D_202B_200F_202E_200F_206B_206C_200B_206E_200C_202D_200C_200E_206A_200F_206A_206B_206B_200C_206E_200F_200F_206D_202D_200B_200B_206F_200B_200B_200B_202E_202A_200D_200C_202E; + uint num9 = _206B_202E_200B_200D_202C_202E_202B_206F_206D_200B_202C_206B_206B_202A_206A_202C_202A_200C_206F_200B_202E_200F_206B_200D_200D_200B_200D_200E_206C_200B_206D_202B_202B_206C_202A_200C_206A_202C_202D_206E_202E; + num2 = 1; + num3 = (int)num9; + _206B_202E_200B_200D_202C_202E_202B_206F_206D_200B_202C_206B_206B_202A_206A_202C_202A_200C_206F_200B_202E_200F_206B_200D_200D_200B_200D_200E_206C_200B_206D_202B_202B_206C_202A_200C_206A_202C_202D_206E_202E = (uint)((num3 | num2) + (num3 & num2)); + byte[] array2 = _206E_202A_200D_202B_202E_202D_206D_202B_200F_202E_200F_206B_206C_200B_206E_200C_202D_200C_200E_206A_200F_206A_206B_206B_200C_206E_200F_200F_206D_202D_200B_200B_206F_200B_200B_200B_202E_202A_200D_200C_202E; + uint num10 = num5; + num2 = 1; + num3 = (int)num10; + int num11 = num3 ^ num2; + int num12 = num3 & num2; + num5 = (uint)(num11 + (num12 + num12)); + array[num9] = array2[num10]; + if (_206B_202E_200B_200D_202C_202E_202B_206F_206D_200B_202C_206B_206B_202A_206A_202C_202A_200C_206F_200B_202E_200F_206B_200D_200D_200B_200D_200E_206C_200B_206D_202B_202B_206C_202A_200C_206A_202C_202D_206E_202E >= _200D_200D_202C_202E_200F_200C_202C_206F_202D_206A_200D_206C_202A_200B_206E_206D_202E_206D_200C_200D_200E_202D_200C_202B_202C_200D_206C_206F_206A_206F_200E_200B_200D_200D_200E_206B_206C_206C_206C_200F_202E) + { + _206D_200B_200F_206B_206D_200F_206C_206B_206D_206C_206E_200E_200F_202B_202C_206D_206F_206E_206F_202E_206F_202E_202A_200D_200F_206E_202E_202E_200F_202C_206A_200D_206B_200C_200C_206B_202D_202E_202E_202B_202E(); + } + uint num13 = len; + num2 = 1; + num3 = (int)num13; + len = (uint)(~(~num3 + num2)); + } + } + + internal void _200D_206C_200F_202A_206A_200E_200F_200D_206D_206C_206C_202D_202A_200B_200D_206F_206C_206F_206D_206B_202B_206A_206E_200D_200B_202A_206C_202D_206A_206C_200F_206C_200B_206C_202C_202A_202B_200F_206C_202C_202E(byte b) + { + byte[] array = _206E_202A_200D_202B_202E_202D_206D_202B_200F_202E_200F_206B_206C_200B_206E_200C_202D_200C_200E_206A_200F_206A_206B_206B_200C_206E_200F_200F_206D_202D_200B_200B_206F_200B_200B_200B_202E_202A_200D_200C_202E; + uint num = _206B_202E_200B_200D_202C_202E_202B_206F_206D_200B_202C_206B_206B_202A_206A_202C_202A_200C_206F_200B_202E_200F_206B_200D_200D_200B_200D_200E_206C_200B_206D_202B_202B_206C_202A_200C_206A_202C_202D_206E_202E; + int num2 = 1; + int num3 = (int)num; + int num4 = num3 ^ num2; + int num5 = num3 & num2; + _206B_202E_200B_200D_202C_202E_202B_206F_206D_200B_202C_206B_206B_202A_206A_202C_202A_200C_206F_200B_202E_200F_206B_200D_200D_200B_200D_200E_206C_200B_206D_202B_202B_206C_202A_200C_206A_202C_202D_206E_202E = (uint)(num4 + (num5 + num5)); + array[num] = b; + if (_206B_202E_200B_200D_202C_202E_202B_206F_206D_200B_202C_206B_206B_202A_206A_202C_202A_200C_206F_200B_202E_200F_206B_200D_200D_200B_200D_200E_206C_200B_206D_202B_202B_206C_202A_200C_206A_202C_202D_206E_202E >= _200D_200D_202C_202E_200F_200C_202C_206F_202D_206A_200D_206C_202A_200B_206E_206D_202E_206D_200C_200D_200E_202D_200C_202B_202C_200D_206C_206F_206A_206F_200E_200B_200D_200D_200E_206B_206C_206C_206C_200F_202E) + { + _206D_200B_200F_206B_206D_200F_206C_206B_206D_206C_206E_200E_200F_202B_202C_206D_206F_206E_206F_202E_206F_202E_202A_200D_200F_206E_202E_202E_200F_202C_206A_200D_206B_200C_200C_206B_202D_202E_202E_202B_202E(); + } + } + + internal byte _206F_202A_202B_206B_200F_206A_202D_202C_202C_206D_202A_206C_206C_206C_202B_200C_200E_200B_206A_200F_206B_200F_206A_206F_206C_202A_200E_202D_200C_202A_206B_200F_202B_202C_202B_200F_202D_202C_200F_202C_202E(uint distance) + { + uint num = _206B_202E_200B_200D_202C_202E_202B_206F_206D_200B_202C_206B_206B_202A_206A_202C_202A_200C_206F_200B_202E_200F_206B_200D_200D_200B_200D_200E_206C_200B_206D_202B_202B_206C_202A_200C_206A_202C_202D_206E_202E; + int num2 = (int)distance; + int num3 = (int)num; + int num4 = ~(~num3 + num2); + num2 = 1; + num3 = num4; + uint num5 = (uint)(~(~num3 + num2)); + if (num5 >= _200D_200D_202C_202E_200F_200C_202C_206F_202D_206A_200D_206C_202A_200B_206E_206D_202E_206D_200C_200D_200E_202D_200C_202B_202C_200D_206C_206F_206A_206F_200E_200B_200D_200D_200E_206B_206C_206C_206C_200F_202E) + { + uint num6 = num5; + num2 = (int)_200D_200D_202C_202E_200F_200C_202C_206F_202D_206A_200D_206C_202A_200B_206E_206D_202E_206D_200C_200D_200E_202D_200C_202B_202C_200D_206C_206F_206A_206F_200E_200B_200D_200D_200E_206B_206C_206C_206C_200F_202E; + num3 = (int)num6; + int num7 = num3 ^ num2; + int num8 = num3 & num2; + num5 = (uint)(num7 + (num8 + num8)); + } + return _206E_202A_200D_202B_202E_202D_206D_202B_200F_202E_200F_206B_206C_200B_206E_200C_202D_200C_200E_206A_200F_206A_206B_206B_200C_206E_200F_200F_206D_202D_200B_200B_206F_200B_200B_200B_202E_202A_200D_200C_202E[num5]; + } + + internal _206F_200D_206B_202D_202B_206D_202E_206E_206F_200D_206B_206D_200E_206A_202D_200F_202E_206B_200F_206F_206A_206B_206B_202D_206C_206D_200F_200D_206E_200E_200D_206B_200D_202B_202D_206B_206E_206D_200F_206C_202E() + { + } +} +internal struct _200F_202D_206F_202E_200C_200D_206F_206D_202C_206B_202C_206E_200B_200D_200F_206E_206E_202B_200D_202B_206C_206F_200E_202D_202E_200F_202B_200F_200E_200C_202C_202C_200D_200F_202E_206A_202D_200F_202E_206F_202E +{ + internal uint _200E_206A_206D_206F_206A_202D_206D_206C_200E_206C_206C_202C_206F_202A_206D_206C_202E_200F_200C_206C_200E_206C_206A_200B_202B_202B_200E_202D_206D_206F_200C_206C_200E_202A_200F_200D_206A_202B_206A_206C_202E; + + internal void _206A_200B_202C_202A_200D_200C_202B_202D_202B_202D_200F_200C_200C_200B_200F_206C_206C_206E_206D_202D_206B_202B_206E_206E_202E_202E_202C_200B_202E_202E_200E_202C_202E_206F_206C_202B_206B_202E_200D_200F_202E() + { + _200E_206A_206D_206F_206A_202D_206D_206C_200E_206C_206C_202C_206F_202A_206D_206C_202E_200F_200C_206C_200E_206C_206A_200B_202B_202B_200E_202D_206D_206F_200C_206C_200E_202A_200F_200D_206A_202B_206A_206C_202E = 0u; + } + + internal void _200D_202E_206E_206A_202B_206C_202C_206F_206A_206D_206D_202A_200C_202D_202D_200F_202C_200E_202C_200D_200C_202C_202B_200B_202C_200C_202B_206F_200B_206B_202E_200C_206A_202D_206D_206F_202A_200C_206E_202A_202E() + { + if (_200E_206A_206D_206F_206A_202D_206D_206C_200E_206C_206C_202C_206F_202A_206D_206C_202E_200F_200C_206C_200E_206C_206A_200B_202B_202B_200E_202D_206D_206F_200C_206C_200E_202A_200F_200D_206A_202B_206A_206C_202E < 4) + { + _200E_206A_206D_206F_206A_202D_206D_206C_200E_206C_206C_202C_206F_202A_206D_206C_202E_200F_200C_206C_200E_206C_206A_200B_202B_202B_200E_202D_206D_206F_200C_206C_200E_202A_200F_200D_206A_202B_206A_206C_202E = 0u; + } + else if (_200E_206A_206D_206F_206A_202D_206D_206C_200E_206C_206C_202C_206F_202A_206D_206C_202E_200F_200C_206C_200E_206C_206A_200B_202B_202B_200E_202D_206D_206F_200C_206C_200E_202A_200F_200D_206A_202B_206A_206C_202E < 10) + { + uint num = _200E_206A_206D_206F_206A_202D_206D_206C_200E_206C_206C_202C_206F_202A_206D_206C_202E_200F_200C_206C_200E_206C_206A_200B_202B_202B_200E_202D_206D_206F_200C_206C_200E_202A_200F_200D_206A_202B_206A_206C_202E; + int num2 = 3; + int num3 = (int)num; + _200E_206A_206D_206F_206A_202D_206D_206C_200E_206C_206C_202C_206F_202A_206D_206C_202E_200F_200C_206C_200E_206C_206A_200B_202B_202B_200E_202D_206D_206F_200C_206C_200E_202A_200F_200D_206A_202B_206A_206C_202E = (uint)(~(~num3 + num2)); + } + else + { + uint num4 = _200E_206A_206D_206F_206A_202D_206D_206C_200E_206C_206C_202C_206F_202A_206D_206C_202E_200F_200C_206C_200E_206C_206A_200B_202B_202B_200E_202D_206D_206F_200C_206C_200E_202A_200F_200D_206A_202B_206A_206C_202E; + int num2 = 6; + int num3 = (int)num4; + _200E_206A_206D_206F_206A_202D_206D_206C_200E_206C_206C_202C_206F_202A_206D_206C_202E_200F_200C_206C_200E_206C_206A_200B_202B_202B_200E_202D_206D_206F_200C_206C_200E_202A_200F_200D_206A_202B_206A_206C_202E = (uint)(~(~num3 + num2)); + } + } + + internal void _206A_200D_206D_202B_200C_206B_206C_200F_206E_200F_206E_202C_200B_206F_206E_206A_206A_202A_200E_202C_200C_200D_202D_202A_202D_206F_200D_206B_200F_200E_200F_206A_206A_206B_206E_200B_200E_200B_202C_202C_202E() + { + _200E_206A_206D_206F_206A_202D_206D_206C_200E_206C_206C_202C_206F_202A_206D_206C_202E_200F_200C_206C_200E_206C_206A_200B_202B_202B_200E_202D_206D_206F_200C_206C_200E_202A_200F_200D_206A_202B_206A_206C_202E = ((_200E_206A_206D_206F_206A_202D_206D_206C_200E_206C_206C_202C_206F_202A_206D_206C_202E_200F_200C_206C_200E_206C_206A_200B_202B_202B_200E_202D_206D_206F_200C_206C_200E_202A_200F_200D_206A_202B_206A_206C_202E < 7) ? 7u : 10u); + } + + internal void _206F_202C_202A_206F_206A_200D_206D_202B_202A_200B_206F_202C_202D_200E_202C_202C_206A_206D_200D_202E_200C_202D_206A_200C_206A_202D_200C_200E_206C_200B_206E_200C_206F_206D_206D_200F_202C_202E_200E_200F_202E() + { + _200E_206A_206D_206F_206A_202D_206D_206C_200E_206C_206C_202C_206F_202A_206D_206C_202E_200F_200C_206C_200E_206C_206A_200B_202B_202B_200E_202D_206D_206F_200C_206C_200E_202A_200F_200D_206A_202B_206A_206C_202E = ((_200E_206A_206D_206F_206A_202D_206D_206C_200E_206C_206C_202C_206F_202A_206D_206C_202E_200F_200C_206C_200E_206C_206A_200B_202B_202B_200E_202D_206D_206F_200C_206C_200E_202A_200F_200D_206A_202B_206A_206C_202E < 7) ? 8u : 11u); + } + + internal void _202D_200D_202E_206C_200C_206A_206B_200B_200F_200B_202D_200E_206C_200B_200F_200E_200E_206A_206B_206C_202D_202A_200F_206F_202B_200D_200E_200E_202D_206E_202A_206F_206F_206E_206B_202C_202A_202A_200C_200D_202E() + { + _200E_206A_206D_206F_206A_202D_206D_206C_200E_206C_206C_202C_206F_202A_206D_206C_202E_200F_200C_206C_200E_206C_206A_200B_202B_202B_200E_202D_206D_206F_200C_206C_200E_202A_200F_200D_206A_202B_206A_206C_202E = ((_200E_206A_206D_206F_206A_202D_206D_206C_200E_206C_206C_202C_206F_202A_206D_206C_202E_200F_200C_206C_200E_206C_206A_200B_202B_202B_200E_202D_206D_206F_200C_206C_200E_202A_200F_200D_206A_202B_206A_206C_202E < 7) ? 9u : 11u); + } + + internal bool _200E_206B_202C_202A_206B_200B_202D_200C_200C_202C_200E_206B_206A_200F_206B_202D_206B_206E_206E_202E_200E_202C_206C_200E_200D_206E_200F_206F_206E_200C_200E_200E_206A_200E_200D_206A_206A_200E_200E_202C_202E() + { + return _200E_206A_206D_206F_206A_202D_206D_206C_200E_206C_206C_202C_206F_202A_206D_206C_202E_200F_200C_206C_200E_206C_206A_200B_202B_202B_200E_202D_206D_206F_200C_206C_200E_202A_200F_200D_206A_202B_206A_206C_202E < 7; + } +} +[StructLayout(LayoutKind.Explicit, Size = 128)] +internal struct _202A_202B_206B_200D_200C_206D_200C_202A_202D_206C_200C_200F_200C_200C_202C_206E_200D_202C_200E_206C_200E_202C_206F_200E_202A_206B_200B_200F_200F_206E_200E_200D_202E_202A_200E_202B_200F_206E_206A_206C_202E +{ +} diff --git a/SeasonalDutyPaths/-Module-.cs b/SeasonalDutyPaths/-Module-.cs new file mode 100644 index 0000000..93ec812 --- /dev/null +++ b/SeasonalDutyPaths/-Module-.cs @@ -0,0 +1,1455 @@ +using System; +using System.IO; +using System.Runtime.CompilerServices; +using System.Text; + +internal class _003CModule_003E +{ + internal static byte[] _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + + internal static _202A_202B_206B_200D_200C_206D_200C_202A_202D_206C_200C_200F_200C_200C_202C_206E_200D_202C_200E_206C_200E_202C_206F_200E_202A_206B_200B_200F_200F_206E_200E_200D_202E_202A_200E_202B_200F_206E_206A_206C_202E _206F_200C_202A_200F_200B_200F_200E_202D_200E_200D_202E_200F_206D_206F_202A_206A_202D_202D_206C_206B_200D_206A_202D_206B_200D_200E_200F_200F_202A_206B_202E_200D_206D_202C_202A_202E_206B_202E_200F_202B_202E/* Not supported: data(96 FB 03 79 6D 9B 74 2F 50 26 13 62 FB 8A B8 52 98 66 A6 FA DB FA A0 23 EE 94 A5 A3 35 C4 0F 38 43 E2 E2 1E 38 01 EA CA DA 30 F9 BD 24 F9 DF 2A D0 DC 16 AE 0C 37 BC 24 E1 50 42 F9 08 65 A5 90 CD 54 40 93 C7 D7 05 72 27 49 97 7B B7 AE BB B7 1C EA 26 8E 9C BC 27 A6 62 DE 1E 2B 2B F7 48 6C 4A 57 FB C7 4B 68 AA 58 D3 85 E0 64 24 F9 DF 2A D3 EF 07 AE 33 F2 1A 54 5D 3A 9F 3B C0 F3 1B 4D) */; + + static _003CModule_003E() + { + _206E_202C_206E_202A_200B_206E_200C_200E_206A_202C_202C_202A_206A_202B_202C_206D_206B_202B_206B_206E_200B_206C_200F_202E_202C_206E_200E_206B_202C_206D_206E_202E_206D_200C_200B_200F_206D_202C_200B_202E_202E(); + } + + internal static byte[] _200D_200E_206E_200D_206C_206F_202C_206C_206C_202B_202B_206A_206B_206E_202D_202E_206C_200D_200F_202D_206B_200F_206A_206B_202D_206E_200E_206F_206C_206B_200C_206B_202C_202A_200F_202C_206A_202D_200B_200D_202E(byte[] data) + { + MemoryStream memoryStream = new MemoryStream(data); + _206C_200E_206F_200E_202B_200F_202D_206B_206B_200F_202E_200F_200E_206A_206E_200B_206C_202A_200B_202B_200C_206A_200E_206D_200D_200B_206D_202A_206B_202E_206B_202E_200C_200B_200B_202A_206F_202D_200C_202B_202E obj = new _206C_200E_206F_200E_202B_200F_202D_206B_206B_200F_202E_200F_200E_206A_206E_200B_206C_202A_200B_202B_200C_206A_200E_206D_200D_200B_206D_202A_206B_202E_206B_202E_200C_200B_200B_202A_206F_202D_200C_202B_202E(); + byte[] array = new byte[5]; + int num = 0; + while (num < 5) + { + int num2 = num; + int offset = num; + int num3 = num; + int num4 = 5; + num = num2 + memoryStream.Read(array, offset, ~(~num4 + num3)); + } + obj._200B_202C_200D_202C_206C_202B_206C_200C_206D_206A_206B_200B_202D_200D_206C_206F_202C_200D_206D_200E_200D_202A_206E_206D_200F_202D_206B_202D_206A_202E_202E_202A_206C_200B_206D_202C_206C_206C_202E_202E(array); + num = 0; + while (num < 4) + { + int num5 = num; + int offset2 = num; + int num3 = num; + int num4 = 4; + num = num5 + memoryStream.Read(array, offset2, ~(~num4 + num3)); + } + if (!BitConverter.IsLittleEndian) + { + Array.Reverse((Array)array, 0, 4); + } + int num6 = BitConverter.ToInt32(array, 0); + byte[] array2 = new byte[num6]; + MemoryStream outStream = new MemoryStream(array2, writable: true); + long inSize = memoryStream.Length - 5 - 4; + obj._206C_206E_206E_206D_200C_206A_206F_206B_200B_200F_206C_200F_200F_206D_206E_200B_206D_206E_200C_202B_206D_202B_206E_206D_206F_202B_202B_206C_202A_200D_200C_200B_202E_200F_200C_206A_200B_200D_206A_206F_202E(memoryStream, outStream, inSize, num6); + return array2; + } + + internal static void _206E_202C_206E_202A_200B_206E_200C_200E_206A_202C_202C_202A_206A_202B_202C_206D_206B_202B_206B_206E_200B_206C_200F_202E_202C_206E_200E_206B_202C_206D_206E_202E_206D_200C_200B_200F_206D_202C_200B_202E_202E() + { + uint num = 32u; + uint[] array = new uint[32] + { + 2030304150u, 796171117u, 1645422160u, 1387825915u, 4205209240u, 597752539u, 2745537774u, 940557365u, 518185539u, 3404333368u, + 3187224794u, 719321380u, 2920733904u, 616314636u, 4181872865u, 2426758408u, 2470466765u, 1912985543u, 2073512231u, 3082530487u, + 2384914972u, 2787622044u, 723443298u, 1816721195u, 3355137866u, 1487562827u, 1692435923u, 719321380u, 2919755731u, 1411052083u, + 1000290909u, 1293677504u + }; + uint[] array2 = new uint[16]; + uint num2 = 2733964303u; + int num3 = 0; + while (num3 < 16) + { + uint num4 = num2; + int num5 = (int)(num2 >> 12); + int num6 = (int)num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + num2 = (uint)(num7 - (num8 + num8)); + uint num9 = num2; + num5 = (int)(num2 << 25); + num6 = (int)num9; + num2 = (uint)((num6 | num5) - (num6 & num5)); + uint num10 = num2; + num5 = (int)(num2 >> 27); + num6 = (int)num10; + num2 = (array2[num3] = (uint)((num6 | num5) - (num6 & num5))); + int num11 = num3; + num5 = 1; + num6 = num11; + num3 = (num6 | num5) + (num6 & num5); + } + int num12 = 0; + int num13 = 0; + uint[] array3 = new uint[16]; + byte[] array4 = new byte[num * 4]; + while (num12 < num) + { + int num14 = 0; + int num5; + int num6; + while (num14 < 16) + { + int num15 = num14; + int num16 = num12; + num5 = num14; + num6 = num16; + int num17 = num6 ^ num5; + int num18 = num6 & num5; + array3[num15] = array[num17 + (num18 + num18)]; + int num19 = num14; + num5 = 1; + num6 = num19; + int num20 = num6 ^ num5; + int num21 = num6 & num5; + num14 = num20 + (num21 + num21); + } + uint num22 = array3[5]; + num5 = -776044471; + num6 = (int)num22; + uint num23 = (uint)((num6 | num5) - (num6 ^ num5)); + uint num24 = array3[5]; + num5 = 776044470; + num6 = (int)num24; + array3[5] = (uint)((num6 | num5) - (num6 ^ num5)); + uint num25 = array3[5]; + uint num26 = array3[14]; + num5 = -776044471; + num6 = (int)num26; + num5 = (num6 | num5) - (num6 ^ num5); + num6 = (int)num25; + array3[5] = (uint)((num6 & num5) + (num6 ^ num5)); + num23 *= 3640720333u; + uint num27 = array3[14]; + num5 = 776044470; + num6 = (int)num27; + array3[14] = (uint)(num6 + num5 - (num6 | num5)); + uint num28 = array3[14]; + num5 = (int)num23 * -1635489531; + num6 = (int)num28; + array3[14] = (uint)(num6 + num5 - (num6 & num5)); + uint num29 = array3[7]; + num5 = (int)array3[15]; + num6 = (int)num29; + int num30 = num6 + num5; + int num31 = num6 & num5; + array3[7] = (uint)(num30 - (num31 + num31)); + uint num32 = array3[0]; + num5 = 278229082; + num6 = (int)num32; + num23 = (uint)((num6 | num5) - (num6 ^ num5)); + uint num33 = array3[0]; + num5 = -278229083; + num6 = (int)num33; + array3[0] = (uint)(num6 + num5 - (num6 | num5)); + uint num34 = array3[7] * 15; + num23 *= 2982415717u; + uint num35 = array3[10]; + num5 = (int)(~array3[8]); + num6 = (int)num35; + int num36 = num6 + num5; + int num37 = num6 & num5; + array3[10] = (uint)(num36 - (num37 + num37)); + uint num38 = array3[0]; + uint num39 = array3[13]; + num5 = 278229082; + num6 = (int)num39; + num5 = num6 + num5 - (num6 | num5); + num6 = (int)num38; + array3[0] = (uint)(num6 + num5 - (num6 & num5)); + uint num40 = array3[8]; + num5 = (int)array2[8]; + num6 = (int)num40; + int num41 = num6 + num5; + int num42 = num6 & num5; + array3[8] = (uint)(num41 - (num42 + num42)); + uint num43 = array3[9]; + num5 = (int)array2[9]; + num6 = (int)num43; + int num44 = num6 + num5; + int num45 = num6 & num5; + array3[9] = (uint)(num44 - (num45 + num45)); + uint num46 = array3[13]; + num5 = -278229083; + num6 = (int)num46; + array3[13] = (uint)(num6 + num5 - (num6 | num5)); + uint num47 = array3[14]; + num5 = (int)array3[15]; + num6 = (int)num47; + array3[14] = (uint)(~(~num6 + num5)); + uint num48 = array3[7] * 25; + uint num49 = array3[13]; + num5 = (int)num23 * -2021761939; + num6 = (int)num49; + array3[13] = (uint)(num6 + num5 - (num6 & num5)); + uint num50 = array3[2]; + num5 = (int)array3[6]; + num6 = (int)num50; + array3[2] = (uint)(~(~num6 + num5)); + uint num51 = array3[1]; + num5 = -1639718482; + num6 = (int)num51; + int num52 = num6 + num5; + int num53 = num6 & num5; + array3[1] = (uint)(num52 - (num53 + num53)); + uint num54 = array3[5]; + num5 = (int)array2[5]; + num6 = (int)num54; + array3[5] = (uint)((num6 | num5) - (num6 & num5)); + uint num55 = array3[9]; + num5 = (int)(~array3[11]); + num6 = (int)num55; + int num56 = num6 + num5; + int num57 = num6 & num5; + array3[9] = (uint)(num56 - (num57 + num57)); + uint num58 = array3[4]; + num5 = -192377700; + num6 = (int)num58; + num23 = (uint)((num6 | num5) - (num6 ^ num5)); + num23 *= 4244890943u; + uint num59 = array3[4]; + num5 = 192377699; + num6 = (int)num59; + array3[4] = (uint)((num6 | num5) - (num6 ^ num5)); + uint num60 = array3[4]; + uint num61 = array3[12]; + num5 = -192377700; + num6 = (int)num61; + num5 = num6 + num5 - (num6 | num5); + num6 = (int)num60; + array3[4] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num62 = array3[12]; + num5 = 192377699; + num6 = (int)num62; + array3[12] = (uint)((num6 | num5) - (num6 ^ num5)); + uint num63 = array3[7] << 2; + uint num64 = array3[12]; + num5 = (int)(num23 * 1786546879); + num6 = (int)num64; + array3[12] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num65 = array3[12]; + num5 = (int)array2[12]; + num6 = (int)num65; + array3[12] = (uint)((num6 | num5) - (num6 & num5)); + num23 = array3[7] << 2; + uint num66 = array3[6]; + num5 = 456039971; + num6 = (int)num66; + array3[6] = (uint)((num6 | num5) - (num6 & num5)); + uint num67 = num34; + num5 = (int)(array3[12] * 92); + num6 = (int)num67; + int num68 = num6 ^ num5; + int num69 = num6 & num5; + num34 = (uint)(num68 + (num69 + num69)); + uint num70 = num48; + num5 = (int)(array3[12] * 153); + num6 = (int)num70; + int num71 = num6 ^ num5; + int num72 = num6 & num5; + num48 = (uint)(num71 + (num72 + num72)); + uint num73 = array3[10]; + num5 = (int)array3[11]; + num6 = (int)num73; + int num74 = num6 + num5; + int num75 = num6 & num5; + array3[10] = (uint)(num74 - (num75 + num75)); + uint num76 = num23; + num5 = (int)(array3[12] * 27); + num6 = (int)num76; + num23 = (uint)((num6 | num5) + (num6 & num5)); + uint num77 = num63; + num5 = (int)(array3[12] * 22); + num6 = (int)num77; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num78 = num23; + num5 = (int)(array3[8] * 54); + num6 = (int)num78; + int num79 = num6 ^ num5; + int num80 = num6 & num5; + num23 = (uint)(num79 + (num80 + num80)); + uint num81 = num48; + num5 = (int)(array3[8] * 284); + num6 = (int)num81; + int num82 = num6 ^ num5; + int num83 = num6 & num5; + num48 = (uint)(num82 + (num83 + num83)); + uint num84 = num23; + num5 = (int)(array3[1] << 4); + num6 = (int)num84; + int num85 = num6 ^ num5; + int num86 = num6 & num5; + num23 = (uint)(num85 + (num86 + num86)); + uint num87 = num34; + num5 = (int)(array3[8] * 171); + num6 = (int)num87; + num34 = (uint)((num6 | num5) + (num6 & num5)); + uint num88 = num23; + num5 = (int)(array3[1] << 5); + num6 = (int)num88; + int num89 = num6 ^ num5; + int num90 = num6 & num5; + num23 = (uint)(num89 + (num90 + num90)); + uint num91 = num48; + num5 = (int)(array3[1] * 250); + num6 = (int)num91; + num48 = (uint)((num6 | num5) + (num6 & num5)); + uint num92 = num63; + num5 = (int)(array3[8] * 37); + num6 = (int)num92; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num93 = num63; + num5 = (int)(array3[1] << 5); + num6 = (int)num93; + num63 = (uint)((num6 | num5) + (num6 & num5)); + array3[7] = num23; + uint num94 = num34; + num5 = (int)(array3[1] * 151); + num6 = (int)num94; + int num95 = num6 ^ num5; + int num96 = num6 & num5; + num34 = (uint)(num95 + (num96 + num96)); + uint num97 = array3[13]; + num5 = -313568182; + num6 = (int)num97; + int num98 = num6 + num5; + int num99 = num6 & num5; + array3[13] = (uint)(num98 - (num99 + num99)); + array3[1] = num48; + num23 = array3[0] << 1; + uint num100 = num23; + num5 = (int)array3[0]; + num6 = (int)num100; + num23 = (uint)((num6 | num5) + (num6 & num5)); + array3[12] = num63; + num48 = array3[0] * 11; + uint num101 = num48; + num5 = (int)(array3[5] << 1); + num6 = (int)num101; + int num102 = num6 ^ num5; + int num103 = num6 & num5; + num48 = (uint)(num102 + (num103 + num103)); + uint num104 = num48; + num5 = (int)(array3[5] << 3); + num6 = (int)num104; + num48 = (uint)((num6 | num5) + (num6 & num5)); + num63 = array3[0] * 21; + uint num105 = num23; + num5 = (int)(array3[5] << 2); + num6 = (int)num105; + int num106 = num6 ^ num5; + int num107 = num6 & num5; + num23 = (uint)(num106 + (num107 + num107)); + uint num108 = num23; + num5 = (int)(array3[9] * 13); + num6 = (int)num108; + num23 = (uint)((num6 | num5) + (num6 & num5)); + array3[8] = num34; + uint num109 = array3[1]; + num5 = (int)array2[1]; + num6 = (int)num109; + array3[1] = (uint)((num6 | num5) - (num6 & num5)); + array3[7] = array3[7] * 334878841; + uint num110 = array3[15]; + num5 = (int)array2[15]; + num6 = (int)num110; + int num111 = num6 + num5; + int num112 = num6 & num5; + array3[15] = (uint)(num111 - (num112 + num112)); + uint num113 = num48; + num5 = (int)(array3[9] << 2); + num6 = (int)num113; + num48 = (uint)((num6 | num5) + (num6 & num5)); + uint num114 = array3[7]; + num5 = (int)array2[7]; + num6 = (int)num114; + int num115 = num6 + num5; + int num116 = num6 & num5; + array3[7] = (uint)(num115 - (num116 + num116)); + uint num117 = num63; + num5 = (int)(array3[5] * 23); + num6 = (int)num117; + int num118 = num6 ^ num5; + int num119 = num6 & num5; + num63 = (uint)(num118 + (num119 + num119)); + uint num120 = num63; + num5 = (int)(array3[9] * 78); + num6 = (int)num120; + int num121 = num6 ^ num5; + int num122 = num6 & num5; + num63 = (uint)(num121 + (num122 + num122)); + num34 = array3[0] * 69; + uint num123 = num34; + num5 = (int)(array3[5] * 78); + num6 = (int)num123; + int num124 = num6 ^ num5; + int num125 = num6 & num5; + num34 = (uint)(num124 + (num125 + num125)); + uint num126 = num63; + num5 = (int)(array3[2] << 5); + num6 = (int)num126; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num127 = num23; + num5 = (int)(array3[2] << 1); + num6 = (int)num127; + int num128 = num6 ^ num5; + int num129 = num6 & num5; + num23 = (uint)(num128 + (num129 + num129)); + uint num130 = num48; + num5 = (int)(array3[9] << 5); + num6 = (int)num130; + int num131 = num6 ^ num5; + int num132 = num6 & num5; + num48 = (uint)(num131 + (num132 + num132)); + uint num133 = num23; + num5 = (int)(array3[2] << 4); + num6 = (int)num133; + num23 = (uint)((num6 | num5) + (num6 & num5)); + uint num134 = num34; + num5 = (int)(array3[9] * 263); + num6 = (int)num134; + num34 = (uint)((num6 | num5) + (num6 & num5)); + array3[9] = num23; + uint num135 = num34; + num5 = (int)(array3[2] * 331); + num6 = (int)num135; + int num136 = num6 ^ num5; + int num137 = num6 & num5; + num34 = (uint)(num136 + (num137 + num137)); + uint num138 = num63; + num5 = (int)(array3[2] << 6); + num6 = (int)num138; + num63 = (uint)((num6 | num5) + (num6 & num5)); + array3[5] = num63; + num23 = array3[3] >> 19; + uint num139 = num48; + num5 = (int)(array3[2] * 39); + num6 = (int)num139; + int num140 = num6 ^ num5; + int num141 = num6 & num5; + num48 = (uint)(num140 + (num141 + num141)); + num63 = array3[6] >> 3; + array3[6] = array3[6] << 29; + array3[3] = array3[3] << 13; + array3[0] = num48; + uint num142 = array3[6]; + num5 = (int)num63; + num6 = (int)num142; + array3[6] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num143 = array3[0]; + num5 = -1071175130; + num6 = (int)num143; + int num144 = num6 + num5; + int num145 = num6 & num5; + array3[0] = (uint)(num144 - (num145 + num145)); + array3[2] = num34; + uint num146 = array3[2]; + num5 = (int)array2[2]; + num6 = (int)num146; + array3[2] = (uint)((num6 | num5) - (num6 & num5)); + uint num147 = array3[3]; + num5 = (int)num23; + num6 = (int)num147; + array3[3] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num148 = array3[3]; + num5 = (int)array2[3]; + num6 = (int)num148; + array3[3] = (uint)((num6 | num5) - (num6 & num5)); + uint num149 = array3[6]; + num5 = -908475405; + num6 = (int)num149; + num23 = (uint)((num6 | num5) - (num6 ^ num5)); + num63 = array3[1] * 38; + num48 = array3[1] * 31; + uint num150 = array3[4]; + num5 = -274514080; + num6 = (int)num150; + array3[4] = (uint)((num6 | num5) - (num6 & num5)); + uint num151 = num48; + num5 = (int)(array3[15] * 110); + num6 = (int)num151; + num48 = (uint)((num6 | num5) + (num6 & num5)); + num34 = array3[2] >> 7; + uint num152 = array3[6]; + num5 = 908475404; + num6 = (int)num152; + array3[6] = (uint)(num6 + num5 - (num6 | num5)); + uint num153 = array3[6]; + uint num154 = array3[9]; + num5 = -908475405; + num6 = (int)num154; + num5 = (num6 | num5) - (num6 ^ num5); + num6 = (int)num153; + array3[6] = (uint)((num6 & num5) + (num6 ^ num5)); + array3[2] = array3[2] << 25; + num23 *= 2961890683u; + uint num155 = array3[2]; + num5 = (int)num34; + num6 = (int)num155; + array3[2] = (uint)(num6 + num5 - (num6 & num5)); + uint num156 = array3[9]; + num5 = 908475404; + num6 = (int)num156; + array3[9] = (uint)((num6 | num5) - (num6 ^ num5)); + uint num157 = array3[10]; + num5 = (int)array2[10]; + num6 = (int)num157; + int num158 = num6 + num5; + int num159 = num6 & num5; + array3[10] = (uint)(num158 - (num159 + num159)); + num34 = array3[5] >> 17; + uint num160 = num63; + num5 = (int)(array3[15] * 139); + num6 = (int)num160; + int num161 = num6 ^ num5; + int num162 = num6 & num5; + num63 = (uint)(num161 + (num162 + num162)); + uint num163 = array3[9]; + num5 = (int)num23 * -1557628493; + num6 = (int)num163; + array3[9] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num164 = array3[6]; + num5 = (int)(~array3[9]); + num6 = (int)num164; + int num165 = num6 + num5; + int num166 = num6 & num5; + array3[6] = (uint)(num165 - (num166 + num166)); + array3[5] = array3[5] << 15; + uint num167 = array3[13]; + num5 = (int)array2[13]; + num6 = (int)num167; + array3[13] = (uint)((num6 | num5) - (num6 & num5)); + num23 = array3[12] >> 27; + uint num168 = array3[6]; + num5 = (int)array2[6]; + num6 = (int)num168; + int num169 = num6 + num5; + int num170 = num6 & num5; + array3[6] = (uint)(num169 - (num170 + num170)); + array3[12] = array3[12] << 5; + uint num171 = array3[12]; + num5 = (int)num23; + num6 = (int)num171; + array3[12] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num172 = array3[5]; + num5 = (int)num34; + num6 = (int)num172; + array3[5] = (uint)(num6 + num5 - (num6 & num5)); + num34 = array3[1] << 3; + uint num173 = array3[11]; + num5 = (int)array2[11]; + num6 = (int)num173; + array3[11] = (uint)((num6 | num5) - (num6 & num5)); + uint num174 = array3[10]; + num5 = 171024615; + num6 = (int)num174; + array3[10] = (uint)((num6 | num5) - (num6 & num5)); + uint num175 = num63; + num5 = (int)(array3[8] * 88); + num6 = (int)num175; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num176 = num48; + num5 = (int)(array3[8] * 63); + num6 = (int)num176; + int num177 = num6 ^ num5; + int num178 = num6 & num5; + num48 = (uint)(num177 + (num178 + num178)); + num23 = array3[1] << 2; + uint num179 = num34; + num5 = (int)array3[1]; + num6 = (int)num179; + int num180 = num6 ^ num5; + int num181 = num6 & num5; + num34 = (uint)(num180 + (num181 + num181)); + uint num182 = num23; + num5 = (int)array3[1]; + num6 = (int)num182; + num23 = (uint)((num6 | num5) + (num6 & num5)); + uint num183 = num23; + num5 = (int)(array3[15] * 22); + num6 = (int)num183; + int num184 = num6 ^ num5; + int num185 = num6 & num5; + num23 = (uint)(num184 + (num185 + num185)); + uint num186 = num23; + num5 = (int)(array3[8] * 21); + num6 = (int)num186; + int num187 = num6 ^ num5; + int num188 = num6 & num5; + num23 = (uint)(num187 + (num188 + num188)); + uint num189 = num34; + num5 = (int)(array3[15] * 31); + num6 = (int)num189; + int num190 = num6 ^ num5; + int num191 = num6 & num5; + num34 = (uint)(num190 + (num191 + num191)); + uint num192 = num63; + num5 = (int)(array3[14] * 55); + num6 = (int)num192; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num193 = num23; + num5 = (int)(array3[14] * 21); + num6 = (int)num193; + num23 = (uint)((num6 | num5) + (num6 & num5)); + uint num194 = array3[4]; + num5 = (int)array2[4]; + num6 = (int)num194; + int num195 = num6 + num5; + int num196 = num6 & num5; + array3[4] = (uint)(num195 - (num196 + num196)); + uint num197 = num34; + num5 = (int)(array3[8] << 4); + num6 = (int)num197; + int num198 = num6 ^ num5; + int num199 = num6 & num5; + num34 = (uint)(num198 + (num199 + num199)); + uint num200 = array3[4]; + num5 = -1682269421; + num6 = (int)num200; + array3[4] = (uint)((num6 | num5) - (num6 & num5)); + uint num201 = array3[13]; + num5 = (int)(~array3[11]); + num6 = (int)num201; + int num202 = num6 + num5; + int num203 = num6 & num5; + array3[13] = (uint)(num202 - (num203 + num203)); + uint num204 = num48; + num5 = (int)(array3[14] << 5); + num6 = (int)num204; + num48 = (uint)((num6 | num5) + (num6 & num5)); + array3[8] = num63; + uint num205 = num34; + num5 = (int)(array3[14] << 1); + num6 = (int)num205; + int num206 = num6 ^ num5; + int num207 = num6 & num5; + num34 = (uint)(num206 + (num207 + num207)); + uint num208 = num34; + num5 = (int)(array3[14] << 2); + num6 = (int)num208; + num34 = (uint)((num6 | num5) + (num6 & num5)); + array3[14] = num23; + array3[1] = num34; + num63 = array3[0] * 3631003441u; + array3[3] = array3[3] * 425712683; + array3[0] = array3[1]; + uint num209 = array3[0]; + num5 = (int)array2[0]; + num6 = (int)num209; + int num210 = num6 + num5; + int num211 = num6 & num5; + array3[0] = (uint)(num210 - (num211 + num211)); + uint num212 = array3[14]; + num5 = (int)array2[14]; + num6 = (int)num212; + int num213 = num6 + num5; + int num214 = num6 & num5; + array3[14] = (uint)(num213 - (num214 + num214)); + array3[1] = num63 * 128664017; + array3[15] = num48; + for (int num215 = 0; num215 < 16; num215 = (num6 | num5) + (num6 & num5)) + { + uint num216 = array3[num215]; + int num217 = num13; + num5 = 1; + num6 = num217; + int num218 = num6 ^ num5; + int num219 = num6 & num5; + num13 = num218 + (num219 + num219); + array4[num217] = (byte)num216; + int num220 = num13; + num5 = 1; + num6 = num220; + num13 = (num6 | num5) + (num6 & num5); + array4[num220] = (byte)(num216 >> 8); + int num221 = num13; + num5 = 1; + num6 = num221; + int num222 = num6 ^ num5; + int num223 = num6 & num5; + num13 = num222 + (num223 + num223); + array4[num221] = (byte)(num216 >> 16); + int num224 = num13; + num5 = 1; + num6 = num224; + int num225 = num6 ^ num5; + int num226 = num6 & num5; + num13 = num225 + (num226 + num226); + array4[num224] = (byte)(num216 >> 24); + array2[num215] ^= num216; + int num227 = num215; + num5 = 1; + num6 = num227; + } + int num228 = num12; + num5 = 16; + num6 = num228; + int num229 = num6 ^ num5; + int num230 = num6 & num5; + num12 = num229 + (num230 + num230); + } + _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E = _200D_200E_206E_200D_206C_206F_202C_206C_206C_202B_202B_206A_206B_206E_202D_202E_206C_200D_200F_202D_206B_200F_206A_206B_202D_206E_200E_206F_206C_206B_200C_206B_202C_202A_200F_202C_206A_202D_200B_200D_202E(array4); + } + + internal static int _202C_202C_200B_202E_202E_202A_200F_206A_200C_206C_200F_202B_206C_200B_206E_200D_206A_200F_200C_206A_202D_202C_200C_200F_202D_200E_202D_200E_206D_206D_206D_200D_200C_202B_202C_206E_202A_206E_200B_200E_202E(int id) + { + id <<= 2; + byte num = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E[id]; + byte[] array = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num2 = id; + int num3 = 1; + int num4 = num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num3 = array[num5 + (num6 + num6)] << 8; + num4 = num; + int num7 = (num4 & num3) + (num4 ^ num3); + byte[] array2 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num8 = id; + num3 = 2; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num3 = array2[num9 + (num10 + num10)] << 16; + num4 = num7; + int num11 = (num4 & num3) + (num4 ^ num3); + byte[] array3 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num12 = id; + num3 = 3; + num4 = num12; + num3 = array3[(num4 | num3) + (num4 & num3)] << 24; + num4 = num11; + return (num4 & num3) + (num4 ^ num3); + } + + internal static long _206C_200C_202B_202C_206E_206F_202A_206F_200E_202B_202B_206D_200C_202E_200C_202E_206C_206C_200B_202D_202E_202B_200D_200F_206A_206B_200B_202B_206A_202D_206F_200B_202A_202E_200E_206E_206E_200C_206F_206F_202E(int id) + { + id <<= 2; + byte num = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E[id]; + byte[] array = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num2 = id; + int num3 = 1; + int num4 = num2; + num3 = array[(num4 | num3) + (num4 & num3)] << 8; + num4 = num; + int num5 = (num4 & num3) + (num4 ^ num3); + byte[] array2 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num6 = id; + num3 = 2; + num4 = num6; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + num3 = array2[num7 + (num8 + num8)] << 16; + num4 = num5; + int num9 = num4 + num3 - (num4 & num3); + byte[] array3 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num10 = id; + num3 = 3; + num4 = num10; + num3 = array3[(num4 | num3) + (num4 & num3)] << 24; + num4 = num9; + uint num11 = (uint)((num4 & num3) + (num4 ^ num3)); + byte[] array4 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num12 = id; + num3 = 4; + num4 = num12; + int num13 = num4 ^ num3; + int num14 = num4 & num3; + byte num15 = array4[num13 + (num14 + num14)]; + byte[] array5 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num16 = id; + num3 = 5; + num4 = num16; + num3 = array5[(num4 | num3) + (num4 & num3)] << 8; + num4 = num15; + int num17 = (num4 & num3) + (num4 ^ num3); + byte[] array6 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num18 = id; + num3 = 6; + num4 = num18; + num3 = array6[(num4 | num3) + (num4 & num3)] << 16; + num4 = num17; + int num19 = num4 + num3 - (num4 & num3); + byte[] array7 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num20 = id; + num3 = 7; + num4 = num20; + int num21 = num4 ^ num3; + int num22 = num4 & num3; + num3 = array7[num21 + (num22 + num22)] << 24; + num4 = num19; + ulong num23 = (ulong)(uint)((num4 & num3) + (num4 ^ num3)) << 32; + long num24 = num11; + long num25 = (long)num23; + return num25 + num24 - (num25 & num24); + } + + internal static float _202B_200F_202E_206F_202E_206B_200E_206E_200E_206E_200C_200C_200B_206E_206A_206E_202E_206A_202C_206C_206E_206A_206F_200F_202E_206B_206A_202A_200F_206E_206D_202A_200C_200B_202E_202D_206A_200C_206D_206C_202E(int id) + { + return BitConverter.ToSingle(_200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E, id << 2); + } + + internal static double _200E_200F_202C_202B_200E_206D_206A_202C_206B_200D_206D_200D_206C_206A_206D_200E_202B_202A_202A_202A_206A_200C_202E_206A_202C_202B_202E_202B_206B_206E_202D_202D_202E_200F_202C_200E_202A_200B_200D_200E_202E(int id) + { + return BitConverter.ToDouble(_200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E, id << 2); + } + + internal static _002D _206B_200D_200F_206A_206D_202E_200D_200E_202D_206D_200D_200C_206D_200F_206F_206F_206E_206F_202B_206D_202A_206D_202E_200E_206B_200E_200D_200B_206C_206E_200B_206E_206E_200F_202A_200C_202A_206E_206F_206D_202E<_002D>(int id) + { + int num = id * 1019339481; + int num2 = 331797353; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 3: + { + byte num31 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E[id]; + byte[] array10 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num32 = id; + num2 = 1; + num3 = num32; + int num33 = num3 ^ num2; + int num34 = num3 & num2; + num2 = array10[num33 + (num34 + num34)] << 8; + num3 = num31; + int num35 = num3 + num2 - (num3 & num2); + byte[] array11 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num36 = id; + num2 = 2; + num3 = num36; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num35; + int num37 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num38 = id; + num2 = 3; + num3 = num38; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num37; + int count = (num3 & num2) + (num3 ^ num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num39 = id; + num2 = 4; + num3 = num39; + int num40 = num3 ^ num2; + int num41 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num40 + (num41 + num41), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 1: + { + byte num8 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E[id]; + byte[] array = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num9 = id; + num2 = 1; + num3 = num9; + int num10 = num3 ^ num2; + int num11 = num3 & num2; + num2 = array[num10 + (num11 + num11)] << 8; + num3 = num8; + int num12 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num13 = id; + num2 = 2; + num3 = num13; + num2 = array2[(num3 | num2) + (num3 & num2)] << 16; + num3 = num12; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num15 = id; + num2 = 3; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + num2 = array3[num16 + (num17 + num17)] << 24; + num3 = num14; + int num18 = num3 + num2 - (num3 & num2); + byte[] array4 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num19 = id; + num2 = 4; + num3 = num19; + byte num20 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num21 = id; + num2 = 5; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array5[num22 + (num23 + num23)] << 8; + num3 = num20; + int num24 = (num3 & num2) + (num3 ^ num2); + byte[] array6 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num25 = id; + num2 = 6; + num3 = num25; + num2 = array6[(num3 | num2) + (num3 & num2)] << 16; + num3 = num24; + int num26 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num27 = id; + num2 = 7; + num3 = num27; + int num28 = num3 ^ num2; + int num29 = num3 & num2; + num2 = array7[num28 + (num29 + num29)] << 24; + num3 = num26; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num18; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _202A_200F_206B_202B_206C_202D_206A_200F_200E_206B_202A_200D_202A_206C_202C_200C_202D_206E_206B_202B_206D_206F_200F_200B_200B_206E_200C_206D_200B_202B_206D_206E_200E_206F_206A_202E_200C_200C_202C_202E_202E<_002D>(int id) + { + int num = id * -2007666933; + int num2 = 1084522616; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = num3 + num2 - (num3 | num2) << 2; + switch (num6) + { + case 0: + { + byte num29 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E[id]; + byte[] array10 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num30 = id; + num2 = 1; + num3 = num30; + int num31 = num3 ^ num2; + int num32 = num3 & num2; + num2 = array10[num31 + (num32 + num32)] << 8; + num3 = num29; + int num33 = num3 + num2 - (num3 & num2); + byte[] array11 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num34 = id; + num2 = 2; + num3 = num34; + int num35 = num3 ^ num2; + int num36 = num3 & num2; + num2 = array11[num35 + (num36 + num36)] << 16; + num3 = num33; + int num37 = num3 + num2 - (num3 & num2); + byte[] array12 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num38 = id; + num2 = 3; + num3 = num38; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num37; + int count = (num3 & num2) + (num3 ^ num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num39 = id; + num2 = 4; + num3 = num39; + int num40 = num3 ^ num2; + int num41 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num40 + (num41 + num41), count)); + } + case 1: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 3: + { + byte num8 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E[id]; + byte[] array = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num11 = id; + num2 = 2; + num3 = num11; + num2 = array2[(num3 | num2) + (num3 & num2)] << 16; + num3 = num10; + int num12 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num13 = id; + num2 = 3; + num3 = num13; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num12; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array4 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num15 = id; + num2 = 4; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + byte num18 = array4[num16 + (num17 + num17)]; + byte[] array5 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num19 = id; + num2 = 5; + num3 = num19; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num18; + int num20 = num3 + num2 - (num3 & num2); + byte[] array6 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num21 = id; + num2 = 6; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array6[num22 + (num23 + num23)] << 16; + num3 = num20; + int num24 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num25 = id; + num2 = 7; + num3 = num25; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num24; + int length = (num3 & num2) + (num3 ^ num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num26 = id; + num2 = 8; + num3 = num26; + int num27 = num3 ^ num2; + int num28 = num3 & num2; + int srcOffset = num27 + (num28 + num28); + num2 = 4; + num3 = num14; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _200E_206B_202A_206E_202A_200D_206B_202E_206C_202A_200C_206F_206D_202B_200D_202E_202B_200C_206C_202C_202B_202A_202A_202C_206D_206C_206F_206B_202B_202C_202D_200B_202A_200B_200E_202B_206F_200B_200D_202E_202E<_002D>(int id) + { + int num = id * -398786619; + int num2 = 1434138467; + int num3 = num; + id = (num3 | num2) - (num3 & num2); + int num4 = id >>> 30; + int num5 = id; + num2 = 1073741823; + num3 = num5; + id = num3 + num2 - (num3 | num2) << 2; + switch (num4) + { + case 2: + { + byte num33 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E[id]; + byte[] array10 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num34 = id; + num2 = 1; + num3 = num34; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num33; + int num35 = num3 + num2 - (num3 & num2); + byte[] array11 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num36 = id; + num2 = 2; + num3 = num36; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num35; + int num37 = num3 + num2 - (num3 & num2); + byte[] array12 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num38 = id; + num2 = 3; + num3 = num38; + int num39 = num3 ^ num2; + int num40 = num3 & num2; + num2 = array12[num39 + (num40 + num40)] << 24; + num3 = num37; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num41 = id; + num2 = 4; + num3 = num41; + int num42 = num3 ^ num2; + int num43 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num42 + (num43 + num43), count)); + } + case 0: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 3: + { + byte num6 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E[id]; + byte[] array = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num7 = id; + num2 = 1; + num3 = num7; + int num8 = num3 ^ num2; + int num9 = num3 & num2; + num2 = array[num8 + (num9 + num9)] << 8; + num3 = num6; + int num10 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num15 = id; + num2 = 3; + num3 = num15; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num14; + int num16 = (num3 & num2) + (num3 ^ num2); + byte[] array4 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num17 = id; + num2 = 4; + num3 = num17; + byte num18 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num19 = id; + num2 = 5; + num3 = num19; + int num20 = num3 ^ num2; + int num21 = num3 & num2; + num2 = array5[num20 + (num21 + num21)] << 8; + num3 = num18; + int num22 = num3 + num2 - (num3 & num2); + byte[] array6 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num23 = id; + num2 = 6; + num3 = num23; + int num24 = num3 ^ num2; + int num25 = num3 & num2; + num2 = array6[num24 + (num25 + num25)] << 16; + num3 = num22; + int num26 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num27 = id; + num2 = 7; + num3 = num27; + int num28 = num3 ^ num2; + int num29 = num3 & num2; + num2 = array7[num28 + (num29 + num29)] << 24; + num3 = num26; + int length = (num3 & num2) + (num3 ^ num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int num31 = num3 ^ num2; + int num32 = num3 & num2; + int srcOffset = num31 + (num32 + num32); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _206C_200D_206B_202C_206B_200E_206E_200D_206F_202A_202E_202A_206A_206D_202B_202C_206E_200F_206B_200B_202E_200B_202B_202E_202A_200B_206D_200C_202D_200B_200B_206C_202C_206C_206F_200C_202C_206A_202A_206B_202E<_002D>(int id) + { + int num = id * 1318072633; + int num2 = -1775635715; + int num3 = num; + id = (num3 | num2) - (num3 & num2); + int num4 = id >>> 30; + int num5 = id; + num2 = 1073741823; + num3 = num5; + id = num3 + num2 - (num3 | num2) << 2; + switch (num4) + { + case 1: + { + byte num31 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E[id]; + byte[] array10 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num32 = id; + num2 = 1; + num3 = num32; + int num33 = num3 ^ num2; + int num34 = num3 & num2; + num2 = array10[num33 + (num34 + num34)] << 8; + num3 = num31; + int num35 = num3 + num2 - (num3 & num2); + byte[] array11 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num36 = id; + num2 = 2; + num3 = num36; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num35; + int num37 = num3 + num2 - (num3 & num2); + byte[] array12 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num38 = id; + num2 = 3; + num3 = num38; + int num39 = num3 ^ num2; + int num40 = num3 & num2; + num2 = array12[num39 + (num40 + num40)] << 24; + num3 = num37; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num41 = id; + num2 = 4; + num3 = num41; + int num42 = num3 ^ num2; + int num43 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num42 + (num43 + num43), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 3: + { + byte num6 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E[id]; + byte[] array = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num7 = id; + num2 = 1; + num3 = num7; + int num8 = num3 ^ num2; + int num9 = num3 & num2; + num2 = array[num8 + (num9 + num9)] << 8; + num3 = num6; + int num10 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num15 = id; + num2 = 3; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + num2 = array3[num16 + (num17 + num17)] << 24; + num3 = num14; + int num18 = num3 + num2 - (num3 & num2); + byte[] array4 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num19 = id; + num2 = 4; + num3 = num19; + byte num20 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num21 = id; + num2 = 5; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array5[num22 + (num23 + num23)] << 8; + num3 = num20; + int num24 = num3 + num2 - (num3 & num2); + byte[] array6 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num25 = id; + num2 = 6; + num3 = num25; + int num26 = num3 ^ num2; + int num27 = num3 & num2; + num2 = array6[num26 + (num27 + num27)] << 16; + num3 = num24; + int num28 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num29 = id; + num2 = 7; + num3 = num29; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num28; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num18; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _202C_206C_202B_200B_206A_206E_200C_202C_202D_206B_206D_206F_206F_206D_206E_200C_206A_206B_200F_200E_206A_202B_200B_200E_200C_202C_206A_206C_206B_202A_202C_202B_206A_206F_206D_200D_206D_202C_200D_200E_202E<_002D>(int id) + { + int num = id * 1026386545; + int num2 = -1096681692; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 3: + { + byte num33 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E[id]; + byte[] array10 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num34 = id; + num2 = 1; + num3 = num34; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num33; + int num35 = (num3 & num2) + (num3 ^ num2); + byte[] array11 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num36 = id; + num2 = 2; + num3 = num36; + int num37 = num3 ^ num2; + int num38 = num3 & num2; + num2 = array11[num37 + (num38 + num38)] << 16; + num3 = num35; + int num39 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num40 = id; + num2 = 3; + num3 = num40; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num39; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num41 = id; + num2 = 4; + num3 = num41; + return (_002D)(object)string.Intern(uTF.GetString(bytes, (num3 | num2) + (num3 & num2), count)); + } + case 1: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 2: + { + byte num8 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E[id]; + byte[] array = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num15 = id; + num2 = 3; + num3 = num15; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num14; + int num16 = num3 + num2 - (num3 & num2); + byte[] array4 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num17 = id; + num2 = 4; + num3 = num17; + byte num18 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num19 = id; + num2 = 5; + num3 = num19; + int num20 = num3 ^ num2; + int num21 = num3 & num2; + num2 = array5[num20 + (num21 + num21)] << 8; + num3 = num18; + int num22 = num3 + num2 - (num3 & num2); + byte[] array6 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num23 = id; + num2 = 6; + num3 = num23; + int num24 = num3 ^ num2; + int num25 = num3 & num2; + num2 = array6[num24 + (num25 + num25)] << 16; + num3 = num22; + int num26 = num3 + num2 - (num3 & num2); + byte[] array7 = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num27 = id; + num2 = 7; + num3 = num27; + int num28 = num3 ^ num2; + int num29 = num3 & num2; + num2 = array7[num28 + (num29 + num29)] << 24; + num3 = num26; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _200F_200D_200D_202E_202D_206A_206C_206D_200C_200F_200D_202C_202B_206B_206E_206F_206E_206A_200D_202B_200B_200B_206D_206C_202D_200F_200C_202B_202D_202E_206A_200B_200C_200E_202D_202A_200D_202C_202E_206A_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int num31 = num3 ^ num2; + int num32 = num3 & num2; + int srcOffset = num31 + (num32 + num32); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } +} diff --git a/SeasonalDutyPaths/Questionable.SeasonalDutyPaths.SeasonalDutyBundle b/SeasonalDutyPaths/Questionable.SeasonalDutyPaths.SeasonalDutyBundle new file mode 100644 index 0000000..0a93c5d Binary files /dev/null and b/SeasonalDutyPaths/Questionable.SeasonalDutyPaths.SeasonalDutyBundle differ diff --git a/SeasonalDutyPaths/Questionable.SeasonalDutyPaths.SeasonalDutyDefinitionSchema b/SeasonalDutyPaths/Questionable.SeasonalDutyPaths.SeasonalDutyDefinitionSchema index ae5deeb..7f63210 100644 --- a/SeasonalDutyPaths/Questionable.SeasonalDutyPaths.SeasonalDutyDefinitionSchema +++ b/SeasonalDutyPaths/Questionable.SeasonalDutyPaths.SeasonalDutyDefinitionSchema @@ -17,19 +17,6 @@ "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" - }, - "AethernetShortcut": { - "description": "Aethernet shortcut to use after teleporting", - "type": "array", - "items": { - "type": "string" - }, - "minItems": 2, - "maxItems": 2 - }, "NpcDataId": { "description": "Data ID of the NPC to interact with", "type": "integer", diff --git a/SeasonalDutyPaths/Questionable.SeasonalDutyPaths/AssemblySeasonalDutyDefinitionLoader.cs b/SeasonalDutyPaths/Questionable.SeasonalDutyPaths/AssemblySeasonalDutyDefinitionLoader.cs index 8b4fd19..135b6af 100644 --- a/SeasonalDutyPaths/Questionable.SeasonalDutyPaths/AssemblySeasonalDutyDefinitionLoader.cs +++ b/SeasonalDutyPaths/Questionable.SeasonalDutyPaths/AssemblySeasonalDutyDefinitionLoader.cs @@ -1,97 +1,41 @@ using System; using System.Collections.Generic; +using System.Diagnostics; +using System.Globalization; using System.IO; -using System.Numerics; -using System.Runtime.InteropServices; -using Questionable.Model.Common; +using System.Security.Cryptography; +using System.Threading; +using Questionable.Model.IO; using Questionable.Model.Questing; namespace Questionable.SeasonalDutyPaths; -public static class AssemblySeasonalDutyDefinitionLoader +internal static class AssemblySeasonalDutyDefinitionLoader { - private static Dictionary? _definitions; + private static readonly Lazy> Definitions = new Lazy>(LoadDefinitions, LazyThreadSafetyMode.ExecutionAndPublication); - public static Stream SeasonalDutyDefinitionSchema => typeof(AssemblySeasonalDutyDefinitionLoader).Assembly.GetManifestResourceStream("Questionable.SeasonalDutyPaths.SeasonalDutyDefinitionSchema"); + internal static TimeSpan? DecodeDuration { get; private set; } - public static IReadOnlyDictionary GetDefinitions() + internal static Stream SeasonalDutyDefinitionSchema => typeof(AssemblySeasonalDutyDefinitionLoader).Assembly.GetManifestResourceStream("Questionable.SeasonalDutyPaths.SeasonalDutyDefinitionSchema"); + + internal static IReadOnlyDictionary GetDefinitions() { - if (_definitions == null) + return Definitions.Value; + } + + private static IReadOnlyDictionary LoadDefinitions() + { + Stopwatch stopwatch = Stopwatch.StartNew(); + using Stream stream = typeof(AssemblySeasonalDutyDefinitionLoader).Assembly.GetManifestResourceStream("Questionable.SeasonalDutyPaths.SeasonalDutyBundle"); + byte[] array = PathBundleSecret.Key(); + List> list = PathBundle.Deserialize(stream, array); + CryptographicOperations.ZeroMemory(array); + Dictionary dictionary = new Dictionary(list.Count); + foreach (var (s, value) in list) { - _definitions = new Dictionary(); - LoadDefinitions(); + dictionary[ushort.Parse(s, CultureInfo.InvariantCulture)] = value; } - return _definitions ?? throw new InvalidOperationException("seasonal duty definition data is not initialized"); - } - - private static void AddDefinition(ushort id, SeasonalDutyDefinition definition) - { - _definitions[id] = definition; - } - - private static void LoadDefinitions() - { - LoadDefinition0(); - } - - private static void LoadDefinition0() - { - SeasonalDutyDefinition obj = new SeasonalDutyDefinition - { - Name = "Hatching-tide (2026)", - TerritoryId = 133, - Aetheryte = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Gridania, - To = EAetheryteLocation.GridaniaAmphitheatre - }, - NpcDataId = 1056067u, - NpcPosition = new Vector3(-54.551025f, 6.851239f, -110.948364f) - }; - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "custom/009/FesEst2026Entrance_00960", - Prompt = new ExcelRef("TEXT_FESEST2026ENTRANCE_00960_Q1_000_000"), - Answer = new ExcelRef("TEXT_FESEST2026ENTRANCE_00960_A1_000_001"), - PromptIsRegularExpression = true - }; - obj.DialogueChoices = list; - obj.DutyTerritoryId = 1336; - num = 8; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - Span span = CollectionsMarshal.AsSpan(list2); - span[0] = 2015072u; - span[1] = 2015073u; - span[2] = 2015074u; - span[3] = 2015075u; - span[4] = 2015076u; - span[5] = 2015077u; - span[6] = 2015078u; - span[7] = 2015079u; - obj.DataIds = list2; - num = 9; - List list3 = new List(num); - CollectionsMarshal.SetCount(list3, num); - Span span2 = CollectionsMarshal.AsSpan(list3); - span2[0] = new Vector3(-700.0023f, -0.15729797f, -721.67926f); - span2[1] = new Vector3(-700.1704f, -0.0301615f, 77.54147f); - span2[2] = new Vector3(-699.9926f, -0.021064043f, 877.55304f); - span2[3] = new Vector3(99.99213f, -0.100738764f, -721.9226f); - span2[4] = new Vector3(99.92716f, 4.7683716E-07f, 77.599335f); - span2[5] = new Vector3(100.40486f, 0.20596194f, 877.50397f); - span2[6] = new Vector3(899.93384f, 0.03615737f, -722.4109f); - span2[7] = new Vector3(900.052f, 0.23717809f, 77.897415f); - span2[8] = new Vector3(900.26733f, -0.30200624f, 877.5144f); - obj.WaypointPositions = list3; - obj.Action = EAction.PruningPirouette; - obj.RequiredQuestId = (ushort)5425; - obj.EventExpiry = new DateTime(2026, 4, 6, 14, 59, 0, DateTimeKind.Utc); - AddDefinition(1, obj); + DecodeDuration = stopwatch.Elapsed; + return dictionary; } } diff --git a/SeasonalDutyPaths/Questionable.SeasonalDutyPaths/PathBundleSecret.cs b/SeasonalDutyPaths/Questionable.SeasonalDutyPaths/PathBundleSecret.cs new file mode 100644 index 0000000..fac6799 --- /dev/null +++ b/SeasonalDutyPaths/Questionable.SeasonalDutyPaths/PathBundleSecret.cs @@ -0,0 +1,30 @@ +namespace Questionable.SeasonalDutyPaths; + +internal static class PathBundleSecret +{ + private static readonly byte[] A = new byte[32] + { + 251, 250, 177, 24, 254, 78, 188, 97, 60, 65, + 105, 80, 183, 91, 229, 181, 77, 98, 171, 136, + 116, 248, 217, 243, 101, 83, 97, 216, 103, 115, + 176, 184 + }; + + private static readonly byte[] B = new byte[32] + { + 10, 142, 23, 61, 218, 98, 70, 165, 207, 244, + 222, 75, 120, 153, 93, 56, 21, 57, 47, 72, + 65, 245, 253, 11, 142, 198, 115, 115, 202, 36, + 6, 70 + }; + + internal static byte[] Key() + { + byte[] array = new byte[A.Length]; + for (int i = 0; i < array.Length; i++) + { + array[i] = (byte)(A[i] ^ B[i]); + } + return array; + } +} diff --git a/SeasonalDutyPaths/SeasonalDutyPaths.csproj b/SeasonalDutyPaths/SeasonalDutyPaths.csproj index b873ef9..abc735d 100644 --- a/SeasonalDutyPaths/SeasonalDutyPaths.csproj +++ b/SeasonalDutyPaths/SeasonalDutyPaths.csproj @@ -14,7 +14,9 @@ + + diff --git a/SmartNav.Data/-----------------------------------------.cs b/SmartNav.Data/-----------------------------------------.cs new file mode 100644 index 0000000..483bc7d --- /dev/null +++ b/SmartNav.Data/-----------------------------------------.cs @@ -0,0 +1,1066 @@ +using System; +using System.IO; +using System.Runtime.InteropServices; + +internal struct _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E +{ + internal uint _202D_206C_206A_202C_200F_200E_206C_202D_202A_206E_206D_206E_202E_200F_206F_202C_200C_202E_202C_202C_200F_206B_200F_206E_200B_206A_206F_200E_202D_202B_206E_206A_202C_206B_200E_202E_202A_202E_206B_202A_202E; + + internal void _202C_202B_202D_206B_206F_206B_206D_202A_202E_202E_200B_202A_200D_206B_200E_202A_200B_206F_206A_200D_200E_206B_206F_200D_206C_206A_200B_206D_206A_206C_200C_206B_202E_202A_200D_200D_202D_206C_200D_200F_202E() + { + _202D_206C_206A_202C_200F_200E_206C_202D_202A_206E_206D_206E_202E_200F_206F_202C_200C_202E_202C_202C_200F_206B_200F_206E_200B_206A_206F_200E_202D_202B_206E_206A_202C_206B_200E_202E_202A_202E_206B_202A_202E = 1024u; + } + + internal uint _206C_202C_200F_202A_202C_206E_202C_206E_206D_206F_200E_202D_200E_206C_200F_206F_200D_200E_206C_206E_202D_200E_206D_202C_200D_200E_202E_202D_206F_200F_202B_202E_200D_200C_202B_200E_202E_202E_206F_200E_202E(_200F_202A_202A_206D_206E_200F_200B_206E_202A_206F_202E_200F_206E_202D_202D_202B_206D_206C_202A_202A_200C_200E_206E_202B_202A_206F_206F_206D_206B_202E_200D_206C_200D_206F_202A_200B_200E_206B_200E_206D_202E rangeDecoder) + { + uint num = (rangeDecoder._206E_206D_200C_200D_202A_202C_200B_206A_202C_200F_202E_202B_206B_200E_200F_206F_200C_202B_206E_206D_206A_202C_202A_202C_202E_200D_202E_202B_206E_200C_206F_206C_206D_206D_206E_202D_202B_200C_200D_202A_202E >> 11) * _202D_206C_206A_202C_200F_200E_206C_202D_202A_206E_206D_206E_202E_200F_206F_202C_200C_202E_202C_202C_200F_206B_200F_206E_200B_206A_206F_200E_202D_202B_206E_206A_202C_206B_200E_202E_202A_202E_206B_202A_202E; + int num3; + int num4; + if (rangeDecoder._200B_202E_206A_206C_200C_202D_206C_206B_202B_202A_200C_202C_206C_206A_202B_206D_200F_206D_206B_206D_206A_202D_202B_202C_202B_202E_206E_200D_200D_206A_200C_206D_202C_200D_206A_206C_206B_206E_200F_206D_202E < num) + { + rangeDecoder._206E_206D_200C_200D_202A_202C_200B_206A_202C_200F_202E_202B_206B_200E_200F_206F_200C_202B_206E_206D_206A_202C_202A_202C_202E_200D_202E_202B_206E_200C_206F_206C_206D_206D_206E_202D_202B_200C_200D_202A_202E = num; + uint num2 = _202D_206C_206A_202C_200F_200E_206C_202D_202A_206E_206D_206E_202E_200F_206F_202C_200C_202E_202C_202C_200F_206B_200F_206E_200B_206A_206F_200E_202D_202B_206E_206A_202C_206B_200E_202E_202A_202E_206B_202A_202E; + num3 = (int)_202D_206C_206A_202C_200F_200E_206C_202D_202A_206E_206D_206E_202E_200F_206F_202C_200C_202E_202C_202C_200F_206B_200F_206E_200B_206A_206F_200E_202D_202B_206E_206A_202C_206B_200E_202E_202A_202E_206B_202A_202E; + num4 = 2048; + num3 = ~(~num4 + num3) >>> 5; + num4 = (int)num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + _202D_206C_206A_202C_200F_200E_206C_202D_202A_206E_206D_206E_202E_200F_206F_202C_200C_202E_202C_202C_200F_206B_200F_206E_200B_206A_206F_200E_202D_202B_206E_206A_202C_206B_200E_202E_202A_202E_206B_202A_202E = (uint)(num5 + (num6 + num6)); + if (rangeDecoder._206E_206D_200C_200D_202A_202C_200B_206A_202C_200F_202E_202B_206B_200E_200F_206F_200C_202B_206E_206D_206A_202C_202A_202C_202E_200D_202E_202B_206E_200C_206F_206C_206D_206D_206E_202D_202B_200C_200D_202A_202E < 16777216) + { + rangeDecoder._200B_202E_206A_206C_200C_202D_206C_206B_202B_202A_200C_202C_206C_206A_202B_206D_200F_206D_206B_206D_206A_202D_202B_202C_202B_202E_206E_200D_200D_206A_200C_206D_202C_200D_206A_206C_206B_206E_200F_206D_202E = (rangeDecoder._200B_202E_206A_206C_200C_202D_206C_206B_202B_202A_200C_202C_206C_206A_202B_206D_200F_206D_206B_206D_206A_202D_202B_202C_202B_202E_206E_200D_200D_206A_200C_206D_202C_200D_206A_206C_206B_206E_200F_206D_202E << 8) | (byte)rangeDecoder._206C_206D_202B_200D_200E_206C_206D_206B_200C_200B_200C_200C_202E_206B_206F_200F_206B_202A_206D_200D_202C_206D_202E_206F_200C_206D_206C_206E_206E_206B_206F_202E_202E_202E_206D_206D_200D_206F_200D_206B_202E.ReadByte(); + rangeDecoder._206E_206D_200C_200D_202A_202C_200B_206A_202C_200F_202E_202B_206B_200E_200F_206F_200C_202B_206E_206D_206A_202C_202A_202C_202E_200D_202E_202B_206E_200C_206F_206C_206D_206D_206E_202D_202B_200C_200D_202A_202E <<= 8; + } + return 0u; + } + uint num7 = rangeDecoder._206E_206D_200C_200D_202A_202C_200B_206A_202C_200F_202E_202B_206B_200E_200F_206F_200C_202B_206E_206D_206A_202C_202A_202C_202E_200D_202E_202B_206E_200C_206F_206C_206D_206D_206E_202D_202B_200C_200D_202A_202E; + num3 = (int)num; + num4 = (int)num7; + rangeDecoder._206E_206D_200C_200D_202A_202C_200B_206A_202C_200F_202E_202B_206B_200E_200F_206F_200C_202B_206E_206D_206A_202C_202A_202C_202E_200D_202E_202B_206E_200C_206F_206C_206D_206D_206E_202D_202B_200C_200D_202A_202E = (uint)(~(~num4 + num3)); + uint num8 = rangeDecoder._200B_202E_206A_206C_200C_202D_206C_206B_202B_202A_200C_202C_206C_206A_202B_206D_200F_206D_206B_206D_206A_202D_202B_202C_202B_202E_206E_200D_200D_206A_200C_206D_202C_200D_206A_206C_206B_206E_200F_206D_202E; + num3 = (int)num; + num4 = (int)num8; + rangeDecoder._200B_202E_206A_206C_200C_202D_206C_206B_202B_202A_200C_202C_206C_206A_202B_206D_200F_206D_206B_206D_206A_202D_202B_202C_202B_202E_206E_200D_200D_206A_200C_206D_202C_200D_206A_206C_206B_206E_200F_206D_202E = (uint)(~(~num4 + num3)); + uint num9 = _202D_206C_206A_202C_200F_200E_206C_202D_202A_206E_206D_206E_202E_200F_206F_202C_200C_202E_202C_202C_200F_206B_200F_206E_200B_206A_206F_200E_202D_202B_206E_206A_202C_206B_200E_202E_202A_202E_206B_202A_202E; + num3 = (int)(_202D_206C_206A_202C_200F_200E_206C_202D_202A_206E_206D_206E_202E_200F_206F_202C_200C_202E_202C_202C_200F_206B_200F_206E_200B_206A_206F_200E_202D_202B_206E_206A_202C_206B_200E_202E_202A_202E_206B_202A_202E >> 5); + num4 = (int)num9; + _202D_206C_206A_202C_200F_200E_206C_202D_202A_206E_206D_206E_202E_200F_206F_202C_200C_202E_202C_202C_200F_206B_200F_206E_200B_206A_206F_200E_202D_202B_206E_206A_202C_206B_200E_202E_202A_202E_206B_202A_202E = (uint)(~(~num4 + num3)); + if (rangeDecoder._206E_206D_200C_200D_202A_202C_200B_206A_202C_200F_202E_202B_206B_200E_200F_206F_200C_202B_206E_206D_206A_202C_202A_202C_202E_200D_202E_202B_206E_200C_206F_206C_206D_206D_206E_202D_202B_200C_200D_202A_202E < 16777216) + { + rangeDecoder._200B_202E_206A_206C_200C_202D_206C_206B_202B_202A_200C_202C_206C_206A_202B_206D_200F_206D_206B_206D_206A_202D_202B_202C_202B_202E_206E_200D_200D_206A_200C_206D_202C_200D_206A_206C_206B_206E_200F_206D_202E = (rangeDecoder._200B_202E_206A_206C_200C_202D_206C_206B_202B_202A_200C_202C_206C_206A_202B_206D_200F_206D_206B_206D_206A_202D_202B_202C_202B_202E_206E_200D_200D_206A_200C_206D_202C_200D_206A_206C_206B_206E_200F_206D_202E << 8) | (byte)rangeDecoder._206C_206D_202B_200D_200E_206C_206D_206B_200C_200B_200C_200C_202E_206B_206F_200F_206B_202A_206D_200D_202C_206D_202E_206F_200C_206D_206C_206E_206E_206B_206F_202E_202E_202E_206D_206D_200D_206F_200D_206B_202E.ReadByte(); + rangeDecoder._206E_206D_200C_200D_202A_202C_200B_206A_202C_200F_202E_202B_206B_200E_200F_206F_200C_202B_206E_206D_206A_202C_202A_202C_202E_200D_202E_202B_206E_200C_206F_206C_206D_206D_206E_202D_202B_200C_200D_202A_202E <<= 8; + } + return 1u; + } +} +internal struct _202B_206C_200E_202D_206C_206A_200E_202B_200B_202B_202A_200F_200F_200E_206E_206E_200B_206C_200B_206F_206C_206B_206E_206D_202B_200D_206A_200E_200B_202A_206F_206C_202D_202D_206F_206E_200F_200E_202B_206C_202E +{ + internal readonly _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E[] _202E_202C_206D_202B_202B_200D_202B_206B_206C_200B_200B_206A_206F_202A_206E_206D_206C_206C_206E_202B_206C_206F_206E_202C_202D_206F_206A_202A_200E_200E_202E_206B_206B_206B_200C_206D_206E_202A_206B_206C_202E; + + internal readonly int _206F_202E_206E_206C_200B_200F_202D_202D_206C_206D_206D_202D_206D_206A_206A_202C_206F_206D_200D_200F_206D_206D_206F_202A_206A_206E_202B_206A_200C_206A_206A_206B_206E_200F_202B_202C_206D_206E_202B_206B_202E; + + internal _202B_206C_200E_202D_206C_206A_200E_202B_200B_202B_202A_200F_200F_200E_206E_206E_200B_206C_200B_206F_206C_206B_206E_206D_202B_200D_206A_200E_200B_202A_206F_206C_202D_202D_206F_206E_200F_200E_202B_206C_202E(int numBitLevels) + { + _206F_202E_206E_206C_200B_200F_202D_202D_206C_206D_206D_202D_206D_206A_206A_202C_206F_206D_200D_200F_206D_206D_206F_202A_206A_206E_202B_206A_200C_206A_206A_206B_206E_200F_202B_202C_206D_206E_202B_206B_202E = numBitLevels; + int num = 31; + _202E_202C_206D_202B_202B_200D_202B_206B_206C_200B_200B_206A_206F_202A_206E_206D_206C_206C_206E_202B_206C_206F_206E_202C_202D_206F_206A_202A_200E_200E_202E_206B_206B_206B_200C_206D_206E_202A_206B_206C_202E = new _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E[1 << numBitLevels + num - (numBitLevels | num)]; + } + + internal void _202E_200E_200C_202B_206B_202A_206E_202A_206F_200B_200C_200F_200E_202A_206F_206D_200F_202C_202A_202D_200F_206F_202C_202E_206B_206D_206D_206B_200D_206E_200E_202C_206D_200B_206C_206F_206A_206A_202C_202E_202E() + { + uint num = 1u; + while (true) + { + long num2 = num; + int num3 = _206F_202E_206E_206C_200B_200F_202D_202D_206C_206D_206D_202D_206D_206A_206A_202C_206F_206D_200D_200F_206D_206D_206F_202A_206A_206E_202B_206A_200C_206A_206A_206B_206E_200F_202B_202C_206D_206E_202B_206B_202E; + int num4 = 31; + int num5 = num3; + if (num2 < 1 << (num5 | num4) - (num5 ^ num4)) + { + _202E_202C_206D_202B_202B_200D_202B_206B_206C_200B_200B_206A_206F_202A_206E_206D_206C_206C_206E_202B_206C_206F_206E_202C_202D_206F_206A_202A_200E_200E_202E_206B_206B_206B_200C_206D_206E_202A_206B_206C_202E[num]._202C_202B_202D_206B_206F_206B_206D_202A_202E_202E_200B_202A_200D_206B_200E_202A_200B_206F_206A_200D_200E_206B_206F_200D_206C_206A_200B_206D_206A_206C_200C_206B_202E_202A_200D_200D_202D_206C_200D_200F_202E(); + uint num6 = num; + num4 = 1; + num5 = (int)num6; + int num7 = num5 ^ num4; + int num8 = num5 & num4; + num = (uint)(num7 + (num8 + num8)); + continue; + } + break; + } + } + + internal uint _206B_206D_202A_200D_206E_206D_206A_202E_206A_202A_202C_202E_206A_206B_206C_206E_200D_200C_206F_200C_206C_206E_202C_202C_200D_200D_200E_206C_206B_206A_202A_202D_206C_202C_200D_202A_200F_206A_206F_200C_202E(_200F_202A_202A_206D_206E_200F_200B_206E_202A_206F_202E_200F_206E_202D_202D_202B_206D_206C_202A_202A_200C_200E_206E_202B_202A_206F_206F_206D_206B_202E_200D_206C_200D_206F_202A_200B_200E_206B_200E_206D_202E rangeDecoder) + { + uint num = 1u; + int num4; + int num5; + for (int num2 = _206F_202E_206E_206C_200B_200F_202D_202D_206C_206D_206D_202D_206D_206A_206A_202C_206F_206D_200D_200F_206D_206D_206F_202A_206A_206E_202B_206A_200C_206A_206A_206B_206E_200F_202B_202C_206D_206E_202B_206B_202E; num2 > 0; num2 = ~(~num5 + num4)) + { + num = (num << 1) + _202E_202C_206D_202B_202B_200D_202B_206B_206C_200B_200B_206A_206F_202A_206E_206D_206C_206C_206E_202B_206C_206F_206E_202C_202D_206F_206A_202A_200E_200E_202E_206B_206B_206B_200C_206D_206E_202A_206B_206C_202E[num]._206C_202C_200F_202A_202C_206E_202C_206E_206D_206F_200E_202D_200E_206C_200F_206F_200D_200E_206C_206E_202D_200E_206D_202C_200D_200E_202E_202D_206F_200F_202B_202E_200D_200C_202B_200E_202E_202E_206F_200E_202E(rangeDecoder); + int num3 = num2; + num4 = 1; + num5 = num3; + } + uint num6 = num; + int num7 = _206F_202E_206E_206C_200B_200F_202D_202D_206C_206D_206D_202D_206D_206A_206A_202C_206F_206D_200D_200F_206D_206D_206F_202A_206A_206E_202B_206A_200C_206A_206A_206B_206E_200F_202B_202C_206D_206E_202B_206B_202E; + num4 = 31; + num5 = num7; + num4 = 1 << (num5 | num4) - (num5 ^ num4); + num5 = (int)num6; + return (uint)(~(~num5 + num4)); + } + + internal uint _206C_206E_206F_206C_202E_200B_206D_206B_202D_202A_202B_200E_206A_200B_202E_200D_206F_200E_206E_206D_202D_206B_206E_200B_206C_202A_206C_206F_200C_206A_200B_206A_202C_200F_206A_206D_202D_200E_206D_206B_202E(_200F_202A_202A_206D_206E_200F_200B_206E_202A_206F_202E_200F_206E_202D_202D_202B_206D_206C_202A_202A_200C_200E_206E_202B_202A_206F_206F_206D_206B_202E_200D_206C_200D_206F_202A_200B_200E_206B_200E_206D_202E rangeDecoder) + { + uint num = 1u; + uint num2 = 0u; + int num3 = 0; + while (num3 < _206F_202E_206E_206C_200B_200F_202D_202D_206C_206D_206D_202D_206D_206A_206A_202C_206F_206D_200D_200F_206D_206D_206F_202A_206A_206E_202B_206A_200C_206A_206A_206B_206E_200F_202B_202C_206D_206E_202B_206B_202E) + { + uint num4 = _202E_202C_206D_202B_202B_200D_202B_206B_206C_200B_200B_206A_206F_202A_206E_206D_206C_206C_206E_202B_206C_206F_206E_202C_202D_206F_206A_202A_200E_200E_202E_206B_206B_206B_200C_206D_206E_202A_206B_206C_202E[num]._206C_202C_200F_202A_202C_206E_202C_206E_206D_206F_200E_202D_200E_206C_200F_206F_200D_200E_206C_206E_202D_200E_206D_202C_200D_200E_202E_202D_206F_200F_202B_202E_200D_200C_202B_200E_202E_202E_206F_200E_202E(rangeDecoder); + num <<= 1; + uint num5 = num; + int num6 = (int)num4; + int num7 = (int)num5; + int num8 = num7 ^ num6; + int num9 = num7 & num6; + num = (uint)(num8 + (num9 + num9)); + uint num10 = num2; + int num11 = num3; + num6 = 31; + num7 = num11; + num6 = (int)(num4 << num7 + num6 - (num7 | num6)); + num7 = (int)num10; + num2 = (uint)(num7 + num6 - (num7 & num6)); + int num12 = num3; + num6 = 1; + num7 = num12; + int num13 = num7 ^ num6; + int num14 = num7 & num6; + num3 = num13 + (num14 + num14); + } + return num2; + } + + internal static uint _200E_202C_200C_200F_206D_206A_202B_200C_206A_200B_206F_202E_202E_206D_200B_206E_202B_200B_202A_206D_202A_202D_200C_206E_202A_200F_202C_200E_206B_206F_206E_202D_206C_206D_206D_200F_206C_200E_206E_200C_202E(_206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E[] Models, uint startIndex, _200F_202A_202A_206D_206E_200F_200B_206E_202A_206F_202E_200F_206E_202D_202D_202B_206D_206C_202A_202A_200C_200E_206E_202B_202A_206F_206F_206D_206B_202E_200D_206C_200D_206F_202A_200B_200E_206B_200E_206D_202E rangeDecoder, int NumBitLevels) + { + uint num = 1u; + uint num2 = 0u; + int num3 = 0; + while (num3 < NumBitLevels) + { + int num4 = (int)num; + int num5 = (int)startIndex; + int num6 = num5 ^ num4; + int num7 = num5 & num4; + uint num8 = Models[num6 + (num7 + num7)]._206C_202C_200F_202A_202C_206E_202C_206E_206D_206F_200E_202D_200E_206C_200F_206F_200D_200E_206C_206E_202D_200E_206D_202C_200D_200E_202E_202D_206F_200F_202B_202E_200D_200C_202B_200E_202E_202E_206F_200E_202E(rangeDecoder); + num <<= 1; + uint num9 = num; + num4 = (int)num8; + num5 = (int)num9; + int num10 = num5 ^ num4; + int num11 = num5 & num4; + num = (uint)(num10 + (num11 + num11)); + uint num12 = num2; + int num13 = num3; + num4 = 31; + num5 = num13; + num4 = (int)(num8 << num5 + num4 - (num5 | num4)); + num5 = (int)num12; + num2 = (uint)(num5 + num4 - (num5 & num4)); + int num14 = num3; + num4 = 1; + num5 = num14; + num3 = (num5 | num4) + (num5 & num4); + } + return num2; + } +} +internal class _200F_202A_202A_206D_206E_200F_200B_206E_202A_206F_202E_200F_206E_202D_202D_202B_206D_206C_202A_202A_200C_200E_206E_202B_202A_206F_206F_206D_206B_202E_200D_206C_200D_206F_202A_200B_200E_206B_200E_206D_202E +{ + internal uint _200B_202E_206A_206C_200C_202D_206C_206B_202B_202A_200C_202C_206C_206A_202B_206D_200F_206D_206B_206D_206A_202D_202B_202C_202B_202E_206E_200D_200D_206A_200C_206D_202C_200D_206A_206C_206B_206E_200F_206D_202E; + + internal uint _206E_206D_200C_200D_202A_202C_200B_206A_202C_200F_202E_202B_206B_200E_200F_206F_200C_202B_206E_206D_206A_202C_202A_202C_202E_200D_202E_202B_206E_200C_206F_206C_206D_206D_206E_202D_202B_200C_200D_202A_202E; + + internal Stream _206C_206D_202B_200D_200E_206C_206D_206B_200C_200B_200C_200C_202E_206B_206F_200F_206B_202A_206D_200D_202C_206D_202E_206F_200C_206D_206C_206E_206E_206B_206F_202E_202E_202E_206D_206D_200D_206F_200D_206B_202E; + + internal void _206A_206D_200C_200E_200E_206C_202A_202E_206A_202C_202D_200D_200E_206B_200E_200F_206A_202D_202C_200B_206D_206A_202A_200C_200F_200C_200D_206A_206F_202C_202C_206D_206F_206D_206D_200C_202B_206A_206B_206D_202E(Stream stream) + { + _206C_206D_202B_200D_200E_206C_206D_206B_200C_200B_200C_200C_202E_206B_206F_200F_206B_202A_206D_200D_202C_206D_202E_206F_200C_206D_206C_206E_206E_206B_206F_202E_202E_202E_206D_206D_200D_206F_200D_206B_202E = stream; + _200B_202E_206A_206C_200C_202D_206C_206B_202B_202A_200C_202C_206C_206A_202B_206D_200F_206D_206B_206D_206A_202D_202B_202C_202B_202E_206E_200D_200D_206A_200C_206D_202C_200D_206A_206C_206B_206E_200F_206D_202E = 0u; + _206E_206D_200C_200D_202A_202C_200B_206A_202C_200F_202E_202B_206B_200E_200F_206F_200C_202B_206E_206D_206A_202C_202A_202C_202E_200D_202E_202B_206E_200C_206F_206C_206D_206D_206E_202D_202B_200C_200D_202A_202E = uint.MaxValue; + int num = 0; + while (num < 5) + { + _200B_202E_206A_206C_200C_202D_206C_206B_202B_202A_200C_202C_206C_206A_202B_206D_200F_206D_206B_206D_206A_202D_202B_202C_202B_202E_206E_200D_200D_206A_200C_206D_202C_200D_206A_206C_206B_206E_200F_206D_202E = (_200B_202E_206A_206C_200C_202D_206C_206B_202B_202A_200C_202C_206C_206A_202B_206D_200F_206D_206B_206D_206A_202D_202B_202C_202B_202E_206E_200D_200D_206A_200C_206D_202C_200D_206A_206C_206B_206E_200F_206D_202E << 8) | (byte)_206C_206D_202B_200D_200E_206C_206D_206B_200C_200B_200C_200C_202E_206B_206F_200F_206B_202A_206D_200D_202C_206D_202E_206F_200C_206D_206C_206E_206E_206B_206F_202E_202E_202E_206D_206D_200D_206F_200D_206B_202E.ReadByte(); + int num2 = num; + int num3 = 1; + int num4 = num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = num5 + (num6 + num6); + } + } + + internal void _202C_200F_202E_206D_200E_206C_206C_206F_200D_200B_200E_206C_200C_200E_206B_202E_200B_200B_206F_200B_200E_206A_202B_200C_202C_202A_206D_202A_206A_206F_200D_200E_202A_200D_206A_202B_200F_202A_206A_206B_202E() + { + _206C_206D_202B_200D_200E_206C_206D_206B_200C_200B_200C_200C_202E_206B_206F_200F_206B_202A_206D_200D_202C_206D_202E_206F_200C_206D_206C_206E_206E_206B_206F_202E_202E_202E_206D_206D_200D_206F_200D_206B_202E = null; + } + + internal void _200F_200F_200C_200C_200C_202E_206D_206A_200D_202E_206F_206F_202D_202B_200D_206E_202A_200B_206F_206D_202D_206C_206F_202C_202C_202C_206F_202A_206D_202D_206E_200B_200D_200B_200F_202A_202A_206B_206C_202B_202E() + { + while (_206E_206D_200C_200D_202A_202C_200B_206A_202C_200F_202E_202B_206B_200E_200F_206F_200C_202B_206E_206D_206A_202C_202A_202C_202E_200D_202E_202B_206E_200C_206F_206C_206D_206D_206E_202D_202B_200C_200D_202A_202E < 16777216) + { + _200B_202E_206A_206C_200C_202D_206C_206B_202B_202A_200C_202C_206C_206A_202B_206D_200F_206D_206B_206D_206A_202D_202B_202C_202B_202E_206E_200D_200D_206A_200C_206D_202C_200D_206A_206C_206B_206E_200F_206D_202E = (_200B_202E_206A_206C_200C_202D_206C_206B_202B_202A_200C_202C_206C_206A_202B_206D_200F_206D_206B_206D_206A_202D_202B_202C_202B_202E_206E_200D_200D_206A_200C_206D_202C_200D_206A_206C_206B_206E_200F_206D_202E << 8) | (byte)_206C_206D_202B_200D_200E_206C_206D_206B_200C_200B_200C_200C_202E_206B_206F_200F_206B_202A_206D_200D_202C_206D_202E_206F_200C_206D_206C_206E_206E_206B_206F_202E_202E_202E_206D_206D_200D_206F_200D_206B_202E.ReadByte(); + _206E_206D_200C_200D_202A_202C_200B_206A_202C_200F_202E_202B_206B_200E_200F_206F_200C_202B_206E_206D_206A_202C_202A_202C_202E_200D_202E_202B_206E_200C_206F_206C_206D_206D_206E_202D_202B_200C_200D_202A_202E <<= 8; + } + } + + internal uint _200D_200E_206D_200F_202E_202E_206F_202E_206E_206D_202A_202A_200B_200E_202B_202E_202D_206B_202D_202A_202D_206F_200D_202A_200B_206A_202B_202D_202A_206D_200B_206E_206E_206B_206D_206F_202A_202A_202A_206B_202E(int numTotalBits) + { + uint num = _206E_206D_200C_200D_202A_202C_200B_206A_202C_200F_202E_202B_206B_200E_200F_206F_200C_202B_206E_206D_206A_202C_202A_202C_202E_200D_202E_202B_206E_200C_206F_206C_206D_206D_206E_202D_202B_200C_200D_202A_202E; + uint num2 = _200B_202E_206A_206C_200C_202D_206C_206B_202B_202A_200C_202C_206C_206A_202B_206D_200F_206D_206B_206D_206A_202D_202B_202C_202B_202E_206E_200D_200D_206A_200C_206D_202C_200D_206A_206C_206B_206E_200F_206D_202E; + uint num3 = 0u; + int num4 = numTotalBits; + while (num4 > 0) + { + num >>= 1; + uint num5 = num2; + int num6 = (int)num; + int num7 = (int)num5; + uint num8 = (uint)(~(~num7 + num6)) >> 31; + uint num9 = num2; + uint num10 = num; + num6 = 1; + num7 = (int)num8; + num6 = ~(~num7 + num6); + num7 = (int)num10; + num6 = (num7 | num6) - (num7 ^ num6); + num7 = (int)num9; + num2 = (uint)(~(~num7 + num6)); + uint num11 = num3 << 1; + num6 = (int)num8; + num7 = 1; + num6 = ~(~num7 + num6); + num7 = (int)num11; + num3 = (uint)(num7 + num6 - (num7 & num6)); + if (num < 16777216) + { + num2 = (num2 << 8) | (byte)_206C_206D_202B_200D_200E_206C_206D_206B_200C_200B_200C_200C_202E_206B_206F_200F_206B_202A_206D_200D_202C_206D_202E_206F_200C_206D_206C_206E_206E_206B_206F_202E_202E_202E_206D_206D_200D_206F_200D_206B_202E.ReadByte(); + num <<= 8; + } + int num12 = num4; + num6 = 1; + num7 = num12; + num4 = ~(~num7 + num6); + } + _206E_206D_200C_200D_202A_202C_200B_206A_202C_200F_202E_202B_206B_200E_200F_206F_200C_202B_206E_206D_206A_202C_202A_202C_202E_200D_202E_202B_206E_200C_206F_206C_206D_206D_206E_202D_202B_200C_200D_202A_202E = num; + _200B_202E_206A_206C_200C_202D_206C_206B_202B_202A_200C_202C_206C_206A_202B_206D_200F_206D_206B_206D_206A_202D_202B_202C_202B_202E_206E_200D_200D_206A_200C_206D_202C_200D_206A_206C_206B_206E_200F_206D_202E = num2; + return num3; + } + + internal _200F_202A_202A_206D_206E_200F_200B_206E_202A_206F_202E_200F_206E_202D_202D_202B_206D_206C_202A_202A_200C_200E_206E_202B_202A_206F_206F_206D_206B_202E_200D_206C_200D_206F_202A_200B_200E_206B_200E_206D_202E() + { + } +} +internal class _206C_206B_200B_200B_202D_200B_202E_206A_202E_200C_202C_202B_202E_206C_206E_200F_200F_206C_206E_202E_202B_202E_202D_206F_202A_206A_206C_202C_202C_200F_206B_202C_206A_202C_200B_202C_202D_206C_200D_206E_202E +{ + internal class _206C_200C_206A_206F_206F_200E_202A_206C_200B_202D_202B_200F_206E_206B_202C_202C_206E_200E_200E_202A_206A_202A_202A_206F_206F_206B_206F_202C_200E_206B_206E_202E_200F_206B_202D_206A_206B_200D_200B_202B_202E + { + internal readonly _202B_206C_200E_202D_206C_206A_200E_202B_200B_202B_202A_200F_200F_200E_206E_206E_200B_206C_200B_206F_206C_206B_206E_206D_202B_200D_206A_200E_200B_202A_206F_206C_202D_202D_206F_206E_200F_200E_202B_206C_202E[] _200F_202B_206C_202A_206B_206B_202D_200D_200E_200D_206F_200B_200B_202C_200E_200B_202C_202E_202A_202A_206A_202A_202C_206B_206D_202E_202B_206F_206B_202D_202E_206F_206A_206C_200D_206C_206A_206C_200D_200D_202E = new _202B_206C_200E_202D_206C_206A_200E_202B_200B_202B_202A_200F_200F_200E_206E_206E_200B_206C_200B_206F_206C_206B_206E_206D_202B_200D_206A_200E_200B_202A_206F_206C_202D_202D_206F_206E_200F_200E_202B_206C_202E[16]; + + internal readonly _202B_206C_200E_202D_206C_206A_200E_202B_200B_202B_202A_200F_200F_200E_206E_206E_200B_206C_200B_206F_206C_206B_206E_206D_202B_200D_206A_200E_200B_202A_206F_206C_202D_202D_206F_206E_200F_200E_202B_206C_202E[] _206E_206D_206C_200D_200F_200B_200E_202A_206A_200D_206A_206E_202C_206F_200B_200D_200E_206D_206F_206B_200F_200F_202B_206D_202D_202D_206C_200F_202E_202E_206A_202D_202D_206C_206C_202B_202C_206C_200F_202D_202E = new _202B_206C_200E_202D_206C_206A_200E_202B_200B_202B_202A_200F_200F_200E_206E_206E_200B_206C_200B_206F_206C_206B_206E_206D_202B_200D_206A_200E_200B_202A_206F_206C_202D_202D_206F_206E_200F_200E_202B_206C_202E[16]; + + internal _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E _206A_202C_202E_206F_202E_206D_206F_206B_200D_200C_206A_200F_200D_200C_206C_202C_200B_206D_202C_206B_202B_202E_202C_202A_206A_202A_200D_206C_206C_202E_200B_202E_202C_202B_202C_200F_200E_202E_206F_202E_202E; + + internal _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E _200F_206C_206F_200F_206A_206D_200D_206D_202B_200E_206C_200B_200C_200B_206C_202D_202E_200F_206D_200E_200D_206A_200E_206D_206E_206B_206C_202D_202B_206B_206D_202A_206F_202A_206A_206E_206B_200D_206F_206F_202E; + + internal _202B_206C_200E_202D_206C_206A_200E_202B_200B_202B_202A_200F_200F_200E_206E_206E_200B_206C_200B_206F_206C_206B_206E_206D_202B_200D_206A_200E_200B_202A_206F_206C_202D_202D_206F_206E_200F_200E_202B_206C_202E _206D_200F_200F_206D_202C_200F_200C_202C_206B_206A_200C_200E_200E_200F_206B_206E_200E_200E_202A_202B_202D_206A_202E_202C_206B_206B_202E_200E_206F_200B_200E_206C_206A_202B_206F_206E_200E_206E_200D_202B_202E = new _202B_206C_200E_202D_206C_206A_200E_202B_200B_202B_202A_200F_200F_200E_206E_206E_200B_206C_200B_206F_206C_206B_206E_206D_202B_200D_206A_200E_200B_202A_206F_206C_202D_202D_206F_206E_200F_200E_202B_206C_202E(8); + + internal uint _206A_200E_202B_206A_206E_206C_206A_206C_200D_200F_202A_206D_200B_206A_200F_200D_202E_206B_202B_206D_206B_202A_202E_200F_202B_202E_202A_202A_206C_202E_202B_206D_200D_206C_200D_200F_200E_206D_206B_202C_202E; + + internal void _206A_200F_200E_206B_206C_206D_200C_200F_202E_206B_200F_202B_202B_206B_206C_200D_206F_202E_202C_200B_206E_200D_206C_206F_202D_200F_206C_200C_202B_202B_202A_200F_206C_202B_200D_202E_206B_206E_206B_206A_202E(uint numPosStates) + { + uint num = _206A_200E_202B_206A_206E_206C_206A_206C_200D_200F_202A_206D_200B_206A_200F_200D_202E_206B_202B_206D_206B_202A_202E_200F_202B_202E_202A_202A_206C_202E_202B_206D_200D_206C_200D_200F_200E_206D_206B_202C_202E; + while (num < numPosStates) + { + _200F_202B_206C_202A_206B_206B_202D_200D_200E_200D_206F_200B_200B_202C_200E_200B_202C_202E_202A_202A_206A_202A_202C_206B_206D_202E_202B_206F_206B_202D_202E_206F_206A_206C_200D_206C_206A_206C_200D_200D_202E[num] = new _202B_206C_200E_202D_206C_206A_200E_202B_200B_202B_202A_200F_200F_200E_206E_206E_200B_206C_200B_206F_206C_206B_206E_206D_202B_200D_206A_200E_200B_202A_206F_206C_202D_202D_206F_206E_200F_200E_202B_206C_202E(3); + _206E_206D_206C_200D_200F_200B_200E_202A_206A_200D_206A_206E_202C_206F_200B_200D_200E_206D_206F_206B_200F_200F_202B_206D_202D_202D_206C_200F_202E_202E_206A_202D_202D_206C_206C_202B_202C_206C_200F_202D_202E[num] = new _202B_206C_200E_202D_206C_206A_200E_202B_200B_202B_202A_200F_200F_200E_206E_206E_200B_206C_200B_206F_206C_206B_206E_206D_202B_200D_206A_200E_200B_202A_206F_206C_202D_202D_206F_206E_200F_200E_202B_206C_202E(3); + uint num2 = num; + int num3 = 1; + int num4 = (int)num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = (uint)(num5 + (num6 + num6)); + } + _206A_200E_202B_206A_206E_206C_206A_206C_200D_200F_202A_206D_200B_206A_200F_200D_202E_206B_202B_206D_206B_202A_202E_200F_202B_202E_202A_202A_206C_202E_202B_206D_200D_206C_200D_200F_200E_206D_206B_202C_202E = numPosStates; + } + + internal void _206D_206B_200B_202A_200C_206D_200E_206D_202E_200E_206A_200E_200B_206A_200B_200F_200B_202B_206E_202A_206E_202C_202C_202A_206C_206E_202C_202B_200F_200E_200F_206C_202C_202A_206F_200B_202A_200C_206C_206D_202E() + { + _206A_202C_202E_206F_202E_206D_206F_206B_200D_200C_206A_200F_200D_200C_206C_202C_200B_206D_202C_206B_202B_202E_202C_202A_206A_202A_200D_206C_206C_202E_200B_202E_202C_202B_202C_200F_200E_202E_206F_202E_202E._202C_202B_202D_206B_206F_206B_206D_202A_202E_202E_200B_202A_200D_206B_200E_202A_200B_206F_206A_200D_200E_206B_206F_200D_206C_206A_200B_206D_206A_206C_200C_206B_202E_202A_200D_200D_202D_206C_200D_200F_202E(); + uint num = 0u; + while (num < _206A_200E_202B_206A_206E_206C_206A_206C_200D_200F_202A_206D_200B_206A_200F_200D_202E_206B_202B_206D_206B_202A_202E_200F_202B_202E_202A_202A_206C_202E_202B_206D_200D_206C_200D_200F_200E_206D_206B_202C_202E) + { + _200F_202B_206C_202A_206B_206B_202D_200D_200E_200D_206F_200B_200B_202C_200E_200B_202C_202E_202A_202A_206A_202A_202C_206B_206D_202E_202B_206F_206B_202D_202E_206F_206A_206C_200D_206C_206A_206C_200D_200D_202E[num]._202E_200E_200C_202B_206B_202A_206E_202A_206F_200B_200C_200F_200E_202A_206F_206D_200F_202C_202A_202D_200F_206F_202C_202E_206B_206D_206D_206B_200D_206E_200E_202C_206D_200B_206C_206F_206A_206A_202C_202E_202E(); + _206E_206D_206C_200D_200F_200B_200E_202A_206A_200D_206A_206E_202C_206F_200B_200D_200E_206D_206F_206B_200F_200F_202B_206D_202D_202D_206C_200F_202E_202E_206A_202D_202D_206C_206C_202B_202C_206C_200F_202D_202E[num]._202E_200E_200C_202B_206B_202A_206E_202A_206F_200B_200C_200F_200E_202A_206F_206D_200F_202C_202A_202D_200F_206F_202C_202E_206B_206D_206D_206B_200D_206E_200E_202C_206D_200B_206C_206F_206A_206A_202C_202E_202E(); + uint num2 = num; + int num3 = 1; + int num4 = (int)num2; + num = (uint)((num4 | num3) + (num4 & num3)); + } + _200F_206C_206F_200F_206A_206D_200D_206D_202B_200E_206C_200B_200C_200B_206C_202D_202E_200F_206D_200E_200D_206A_200E_206D_206E_206B_206C_202D_202B_206B_206D_202A_206F_202A_206A_206E_206B_200D_206F_206F_202E._202C_202B_202D_206B_206F_206B_206D_202A_202E_202E_200B_202A_200D_206B_200E_202A_200B_206F_206A_200D_200E_206B_206F_200D_206C_206A_200B_206D_206A_206C_200C_206B_202E_202A_200D_200D_202D_206C_200D_200F_202E(); + _206D_200F_200F_206D_202C_200F_200C_202C_206B_206A_200C_200E_200E_200F_206B_206E_200E_200E_202A_202B_202D_206A_202E_202C_206B_206B_202E_200E_206F_200B_200E_206C_206A_202B_206F_206E_200E_206E_200D_202B_202E._202E_200E_200C_202B_206B_202A_206E_202A_206F_200B_200C_200F_200E_202A_206F_206D_200F_202C_202A_202D_200F_206F_202C_202E_206B_206D_206D_206B_200D_206E_200E_202C_206D_200B_206C_206F_206A_206A_202C_202E_202E(); + } + + internal uint _206E_206D_202A_200E_202B_200C_200C_200D_200E_206F_200E_200D_202E_206D_206E_200F_206A_200C_206D_202D_200C_206F_200B_202D_202D_202D_200D_202D_202A_202B_200F_206D_200D_206B_206C_206A_206A_206B_206B_202C_202E(_200F_202A_202A_206D_206E_200F_200B_206E_202A_206F_202E_200F_206E_202D_202D_202B_206D_206C_202A_202A_200C_200E_206E_202B_202A_206F_206F_206D_206B_202E_200D_206C_200D_206F_202A_200B_200E_206B_200E_206D_202E rangeDecoder, uint posState) + { + if (_206A_202C_202E_206F_202E_206D_206F_206B_200D_200C_206A_200F_200D_200C_206C_202C_200B_206D_202C_206B_202B_202E_202C_202A_206A_202A_200D_206C_206C_202E_200B_202E_202C_202B_202C_200F_200E_202E_206F_202E_202E._206C_202C_200F_202A_202C_206E_202C_206E_206D_206F_200E_202D_200E_206C_200F_206F_200D_200E_206C_206E_202D_200E_206D_202C_200D_200E_202E_202D_206F_200F_202B_202E_200D_200C_202B_200E_202E_202E_206F_200E_202E(rangeDecoder) == 0) + { + return _200F_202B_206C_202A_206B_206B_202D_200D_200E_200D_206F_200B_200B_202C_200E_200B_202C_202E_202A_202A_206A_202A_202C_206B_206D_202E_202B_206F_206B_202D_202E_206F_206A_206C_200D_206C_206A_206C_200D_200D_202E[posState]._206B_206D_202A_200D_206E_206D_206A_202E_206A_202A_202C_202E_206A_206B_206C_206E_200D_200C_206F_200C_206C_206E_202C_202C_200D_200D_200E_206C_206B_206A_202A_202D_206C_202C_200D_202A_200F_206A_206F_200C_202E(rangeDecoder); + } + uint num = 8u; + if (_200F_206C_206F_200F_206A_206D_200D_206D_202B_200E_206C_200B_200C_200B_206C_202D_202E_200F_206D_200E_200D_206A_200E_206D_206E_206B_206C_202D_202B_206B_206D_202A_206F_202A_206A_206E_206B_200D_206F_206F_202E._206C_202C_200F_202A_202C_206E_202C_206E_206D_206F_200E_202D_200E_206C_200F_206F_200D_200E_206C_206E_202D_200E_206D_202C_200D_200E_202E_202D_206F_200F_202B_202E_200D_200C_202B_200E_202E_202E_206F_200E_202E(rangeDecoder) == 0) + { + return num + _206E_206D_206C_200D_200F_200B_200E_202A_206A_200D_206A_206E_202C_206F_200B_200D_200E_206D_206F_206B_200F_200F_202B_206D_202D_202D_206C_200F_202E_202E_206A_202D_202D_206C_206C_202B_202C_206C_200F_202D_202E[posState]._206B_206D_202A_200D_206E_206D_206A_202E_206A_202A_202C_202E_206A_206B_206C_206E_200D_200C_206F_200C_206C_206E_202C_202C_200D_200D_200E_206C_206B_206A_202A_202D_206C_202C_200D_202A_200F_206A_206F_200C_202E(rangeDecoder); + } + uint num2 = num; + int num3 = 8; + int num4 = (int)num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = (uint)(num5 + (num6 + num6)); + return num + _206D_200F_200F_206D_202C_200F_200C_202C_206B_206A_200C_200E_200E_200F_206B_206E_200E_200E_202A_202B_202D_206A_202E_202C_206B_206B_202E_200E_206F_200B_200E_206C_206A_202B_206F_206E_200E_206E_200D_202B_202E._206B_206D_202A_200D_206E_206D_206A_202E_206A_202A_202C_202E_206A_206B_206C_206E_200D_200C_206F_200C_206C_206E_202C_202C_200D_200D_200E_206C_206B_206A_202A_202D_206C_202C_200D_202A_200F_206A_206F_200C_202E(rangeDecoder); + } + + internal _206C_200C_206A_206F_206F_200E_202A_206C_200B_202D_202B_200F_206E_206B_202C_202C_206E_200E_200E_202A_206A_202A_202A_206F_206F_206B_206F_202C_200E_206B_206E_202E_200F_206B_202D_206A_206B_200D_200B_202B_202E() + { + } + } + + internal class _206E_206C_200B_206B_206C_200D_206B_200C_206C_202A_206D_202E_206D_206F_200F_202D_200F_202E_200B_202A_202D_200B_200E_200B_202D_206D_206F_206D_206F_200C_202B_206D_200B_202C_202E_202B_200C_202C_200E_200E_202E + { + internal struct _206E_206F_202B_200D_200E_200E_206D_202E_200F_200B_206E_206E_206E_200D_200E_200D_206D_200D_206D_200F_200D_200F_206E_200E_206B_206C_202C_200F_200F_200E_206A_202C_206A_200E_202D_202E_206F_200F_202D_202D_202E + { + internal _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E[] _206B_202C_206C_206D_202B_202E_206F_200B_202C_200C_200F_202C_200E_202E_202A_202D_206D_206E_202B_202A_206D_206B_202C_202B_206A_206A_206C_202A_206E_200D_206C_200D_202D_202C_202E_202C_206C_202A_202A_202D_202E; + + internal void _200E_206A_202A_200E_206B_200F_200D_202B_200E_206D_200C_202A_206F_200D_206F_206D_202D_200C_200B_202E_202E_206F_202B_200C_200E_206B_200D_206F_202B_206E_200F_200C_200C_200F_202B_200F_200E_202B_202D_206C_202E() + { + _206B_202C_206C_206D_202B_202E_206F_200B_202C_200C_200F_202C_200E_202E_202A_202D_206D_206E_202B_202A_206D_206B_202C_202B_206A_206A_206C_202A_206E_200D_206C_200D_202D_202C_202E_202C_206C_202A_202A_202D_202E = new _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E[768]; + } + + internal void _200B_202E_206A_206C_206A_202A_206C_202A_206A_202B_200D_202B_202B_206E_206F_202B_202A_202C_202E_206A_200E_202D_202E_202C_206F_200B_206F_206D_206E_206D_206C_206E_200F_202D_202E_206E_202B_206B_202C_206F_202E() + { + int num = 0; + while (num < 768) + { + _206B_202C_206C_206D_202B_202E_206F_200B_202C_200C_200F_202C_200E_202E_202A_202D_206D_206E_202B_202A_206D_206B_202C_202B_206A_206A_206C_202A_206E_200D_206C_200D_202D_202C_202E_202C_206C_202A_202A_202D_202E[num]._202C_202B_202D_206B_206F_206B_206D_202A_202E_202E_200B_202A_200D_206B_200E_202A_200B_206F_206A_200D_200E_206B_206F_200D_206C_206A_200B_206D_206A_206C_200C_206B_202E_202A_200D_200D_202D_206C_200D_200F_202E(); + int num2 = num; + int num3 = 1; + int num4 = num2; + num = (num4 | num3) + (num4 & num3); + } + } + + internal byte _206B_200B_206B_206E_202A_202A_200F_206E_202E_200F_200B_202B_200C_202E_200F_200E_206B_202C_206D_206F_206D_200E_206C_200B_206E_200F_200E_206E_206B_200C_206C_200E_202E_200B_206B_200B_200F_202C_200E_206B_202E(_200F_202A_202A_206D_206E_200F_200B_206E_202A_206F_202E_200F_206E_202D_202D_202B_206D_206C_202A_202A_200C_200E_206E_202B_202A_206F_206F_206D_206B_202E_200D_206C_200D_206F_202A_200B_200E_206B_200E_206D_202E rangeDecoder) + { + uint num = 1u; + do + { + num = (num << 1) | _206B_202C_206C_206D_202B_202E_206F_200B_202C_200C_200F_202C_200E_202E_202A_202D_206D_206E_202B_202A_206D_206B_202C_202B_206A_206A_206C_202A_206E_200D_206C_200D_202D_202C_202E_202C_206C_202A_202A_202D_202E[num]._206C_202C_200F_202A_202C_206E_202C_206E_206D_206F_200E_202D_200E_206C_200F_206F_200D_200E_206C_206E_202D_200E_206D_202C_200D_200E_202E_202D_206F_200F_202B_202E_200D_200C_202B_200E_202E_202E_206F_200E_202E(rangeDecoder); + } + while (num < 256); + return (byte)num; + } + + internal byte _202A_200E_206F_206C_206E_206D_206B_200B_200B_202C_200C_202C_202B_206D_200C_202D_206C_202D_206F_206F_206C_206C_206B_206C_202D_202D_200D_202C_200C_206B_200B_202C_206B_200B_206B_206A_202E_206C_202A_202C_202E(_200F_202A_202A_206D_206E_200F_200B_206E_202A_206F_202E_200F_206E_202D_202D_202B_206D_206C_202A_202A_200C_200E_206E_202B_202A_206F_206F_206D_206B_202E_200D_206C_200D_206F_202A_200B_200E_206B_200E_206D_202E rangeDecoder, byte matchByte) + { + uint num = 1u; + do + { + int num2 = matchByte >> 7; + int num3 = 1; + int num4 = num2; + uint num5 = (uint)(num4 + num3 - (num4 | num3)); + matchByte <<= 1; + _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E[] array = _206B_202C_206C_206D_202B_202E_206F_200B_202C_200C_200F_202C_200E_202E_202A_202D_206D_206E_202B_202A_206D_206B_202C_202B_206A_206A_206C_202A_206E_200D_206C_200D_202D_202C_202E_202C_206C_202A_202A_202D_202E; + num3 = (int)num5; + num4 = 1; + int num6 = num4 ^ num3; + int num7 = num4 & num3; + int num8 = num6 + (num7 + num7) << 8; + num3 = (int)num; + num4 = num8; + uint num9 = array[(num4 | num3) + (num4 & num3)]._206C_202C_200F_202A_202C_206E_202C_206E_206D_206F_200E_202D_200E_206C_200F_206F_200D_200E_206C_206E_202D_200E_206D_202C_200D_200E_202E_202D_206F_200F_202B_202E_200D_200C_202B_200E_202E_202E_206F_200E_202E(rangeDecoder); + uint num10 = num << 1; + num3 = (int)num9; + num4 = (int)num10; + num = (uint)((num4 & num3) + (num4 ^ num3)); + if (num5 != num9) + { + while (num < 256) + { + num = (num << 1) | _206B_202C_206C_206D_202B_202E_206F_200B_202C_200C_200F_202C_200E_202E_202A_202D_206D_206E_202B_202A_206D_206B_202C_202B_206A_206A_206C_202A_206E_200D_206C_200D_202D_202C_202E_202C_206C_202A_202A_202D_202E[num]._206C_202C_200F_202A_202C_206E_202C_206E_206D_206F_200E_202D_200E_206C_200F_206F_200D_200E_206C_206E_202D_200E_206D_202C_200D_200E_202E_202D_206F_200F_202B_202E_200D_200C_202B_200E_202E_202E_206F_200E_202E(rangeDecoder); + } + break; + } + } + while (num < 256); + return (byte)num; + } + } + + internal _206E_206F_202B_200D_200E_200E_206D_202E_200F_200B_206E_206E_206E_200D_200E_200D_206D_200D_206D_200F_200D_200F_206E_200E_206B_206C_202C_200F_200F_200E_206A_202C_206A_200E_202D_202E_206F_200F_202D_202D_202E[] _200E_206D_206E_200F_200C_200F_206D_202C_206E_200D_206E_206C_200E_206F_206D_200C_206D_200C_200B_200C_202B_202B_206F_200F_206C_206B_200B_200B_206D_206C_206D_202D_206A_206F_206A_200F_202E_206E_200B_206D_202E; + + internal int _200F_200C_200E_202C_206C_202D_200E_202E_200E_200E_200B_200F_200F_202A_202B_202B_206F_206C_200F_206A_206C_202C_206E_206D_206B_200D_202D_202C_202A_200C_202B_200F_202A_202C_200F_206A_200E_206B_202D_200D_202E; + + internal int _202E_202E_200E_200B_200C_206C_206A_202E_206C_206D_202C_202C_200B_206F_200B_206E_206E_200E_200E_202E_200F_202B_200D_202D_200B_200D_200F_206D_202E_200D_206C_200C_206C_202E_206D_202A_200C_200C_200D_206D_202E; + + internal uint _206C_200F_202D_206D_202B_202C_200F_202B_200F_200E_206D_206B_206E_200D_202B_200D_206D_200E_206A_206E_202E_202B_202D_202A_206F_206A_202D_200B_206E_206C_202D_206C_206B_202B_206F_206F_202C_202C_200F_206E_202E; + + internal void _200C_202D_206F_202D_200D_200B_202D_206F_202B_202E_202C_202B_200C_202E_202A_206E_202D_202D_202B_206B_202D_206F_202C_200E_206C_206C_200C_202C_206A_206E_206A_202E_206F_206F_202E_206D_206E_206F_206C_200E_202E(int numPosBits, int numPrevBits) + { + if (_200E_206D_206E_200F_200C_200F_206D_202C_206E_200D_206E_206C_200E_206F_206D_200C_206D_200C_200B_200C_202B_202B_206F_200F_206C_206B_200B_200B_206D_206C_206D_202D_206A_206F_206A_200F_202E_206E_200B_206D_202E == null || _202E_202E_200E_200B_200C_206C_206A_202E_206C_206D_202C_202C_200B_206F_200B_206E_206E_200E_200E_202E_200F_202B_200D_202D_200B_200D_200F_206D_202E_200D_206C_200C_206C_202E_206D_202A_200C_200C_200D_206D_202E != numPrevBits || _200F_200C_200E_202C_206C_202D_200E_202E_200E_200E_200B_200F_200F_202A_202B_202B_206F_206C_200F_206A_206C_202C_206E_206D_206B_200D_202D_202C_202A_200C_202B_200F_202A_202C_200F_206A_200E_206B_202D_200D_202E != numPosBits) + { + _200F_200C_200E_202C_206C_202D_200E_202E_200E_200E_200B_200F_200F_202A_202B_202B_206F_206C_200F_206A_206C_202C_206E_206D_206B_200D_202D_202C_202A_200C_202B_200F_202A_202C_200F_206A_200E_206B_202D_200D_202E = numPosBits; + int num = 31; + int num2 = numPosBits; + int num3 = 1 << (num2 | num) - (num2 ^ num); + num = 1; + num2 = num3; + _206C_200F_202D_206D_202B_202C_200F_202B_200F_200E_206D_206B_206E_200D_202B_200D_206D_200E_206A_206E_202E_202B_202D_202A_206F_206A_202D_200B_206E_206C_202D_206C_206B_202B_206F_206F_202C_202C_200F_206E_202E = (uint)(~(~num2 + num)); + _202E_202E_200E_200B_200C_206C_206A_202E_206C_206D_202C_202C_200B_206F_200B_206E_206E_200E_200E_202E_200F_202B_200D_202D_200B_200D_200F_206D_202E_200D_206C_200C_206C_202E_206D_202A_200C_200C_200D_206D_202E = numPrevBits; + int num4 = _202E_202E_200E_200B_200C_206C_206A_202E_206C_206D_202C_202C_200B_206F_200B_206E_206E_200E_200E_202E_200F_202B_200D_202D_200B_200D_200F_206D_202E_200D_206C_200C_206C_202E_206D_202A_200C_200C_200D_206D_202E; + num = _200F_200C_200E_202C_206C_202D_200E_202E_200E_200E_200B_200F_200F_202A_202B_202B_206F_206C_200F_206A_206C_202C_206E_206D_206B_200D_202D_202C_202A_200C_202B_200F_202A_202C_200F_206A_200E_206B_202D_200D_202E; + num2 = num4; + int num5 = num2 ^ num; + int num6 = num2 & num; + int num7 = num5 + (num6 + num6); + num = 31; + num2 = num7; + uint num8 = (uint)(1 << num2 + num - (num2 | num)); + _200E_206D_206E_200F_200C_200F_206D_202C_206E_200D_206E_206C_200E_206F_206D_200C_206D_200C_200B_200C_202B_202B_206F_200F_206C_206B_200B_200B_206D_206C_206D_202D_206A_206F_206A_200F_202E_206E_200B_206D_202E = new _206E_206F_202B_200D_200E_200E_206D_202E_200F_200B_206E_206E_206E_200D_200E_200D_206D_200D_206D_200F_200D_200F_206E_200E_206B_206C_202C_200F_200F_200E_206A_202C_206A_200E_202D_202E_206F_200F_202D_202D_202E[num8]; + uint num9 = 0u; + while (num9 < num8) + { + _200E_206D_206E_200F_200C_200F_206D_202C_206E_200D_206E_206C_200E_206F_206D_200C_206D_200C_200B_200C_202B_202B_206F_200F_206C_206B_200B_200B_206D_206C_206D_202D_206A_206F_206A_200F_202E_206E_200B_206D_202E[num9]._200E_206A_202A_200E_206B_200F_200D_202B_200E_206D_200C_202A_206F_200D_206F_206D_202D_200C_200B_202E_202E_206F_202B_200C_200E_206B_200D_206F_202B_206E_200F_200C_200C_200F_202B_200F_200E_202B_202D_206C_202E(); + uint num10 = num9; + num = 1; + num2 = (int)num10; + int num11 = num2 ^ num; + int num12 = num2 & num; + num9 = (uint)(num11 + (num12 + num12)); + } + } + } + + internal void _206D_202E_202E_200E_202C_206E_202C_206F_202B_202A_206C_202A_202C_200E_200E_206A_202C_206A_200F_206B_200D_200E_200B_200E_200D_200F_206E_200C_200E_206D_200D_202A_206C_200D_206C_206C_206F_206C_206F_200D_202E() + { + int num = _202E_202E_200E_200B_200C_206C_206A_202E_206C_206D_202C_202C_200B_206F_200B_206E_206E_200E_200E_202E_200F_202B_200D_202D_200B_200D_200F_206D_202E_200D_206C_200C_206C_202E_206D_202A_200C_200C_200D_206D_202E; + int num2 = _200F_200C_200E_202C_206C_202D_200E_202E_200E_200E_200B_200F_200F_202A_202B_202B_206F_206C_200F_206A_206C_202C_206E_206D_206B_200D_202D_202C_202A_200C_202B_200F_202A_202C_200F_206A_200E_206B_202D_200D_202E; + int num3 = num; + int num4 = (num3 | num2) + (num3 & num2); + num2 = 31; + num3 = num4; + uint num5 = (uint)(1 << num3 + num2 - (num3 | num2)); + for (uint num6 = 0u; num6 < num5; num6 = (uint)((num3 | num2) + (num3 & num2))) + { + _200E_206D_206E_200F_200C_200F_206D_202C_206E_200D_206E_206C_200E_206F_206D_200C_206D_200C_200B_200C_202B_202B_206F_200F_206C_206B_200B_200B_206D_206C_206D_202D_206A_206F_206A_200F_202E_206E_200B_206D_202E[num6]._200B_202E_206A_206C_206A_202A_206C_202A_206A_202B_200D_202B_202B_206E_206F_202B_202A_202C_202E_206A_200E_202D_202E_202C_206F_200B_206F_206D_206E_206D_206C_206E_200F_202D_202E_206E_202B_206B_202C_206F_202E(); + uint num7 = num6; + num2 = 1; + num3 = (int)num7; + } + } + + internal uint _202A_202E_202E_200E_206C_206A_206D_202C_200B_202A_202B_206E_206B_202A_202B_202B_202A_206F_206B_202C_200D_202E_202A_206F_202E_206B_200F_206F_202D_202E_200B_206B_206C_200D_200B_206F_200F_206A_200C_206D_202E(uint pos, byte prevByte) + { + int num = (int)_206C_200F_202D_206D_202B_202C_200F_202B_200F_200E_206D_206B_206E_200D_202B_200D_206D_200E_206A_206E_202E_202B_202D_202A_206F_206A_202D_200B_206E_206C_202D_206C_206B_202B_206F_206F_202C_202C_200F_206E_202E; + int num2 = (int)pos; + int num3 = num2 + num - (num2 | num); + int num4 = _202E_202E_200E_200B_200C_206C_206A_202E_206C_206D_202C_202C_200B_206F_200B_206E_206E_200E_200E_202E_200F_202B_200D_202D_200B_200D_200F_206D_202E_200D_206C_200C_206C_202E_206D_202A_200C_200C_200D_206D_202E; + num = 31; + num2 = num4; + int num5 = num3 << num2 + num - (num2 | num); + num = _202E_202E_200E_200B_200C_206C_206A_202E_206C_206D_202C_202C_200B_206F_200B_206E_206E_200E_200E_202E_200F_202B_200D_202D_200B_200D_200F_206D_202E_200D_206C_200C_206C_202E_206D_202A_200C_200C_200D_206D_202E; + num2 = 8; + int num6 = ~(~num2 + num); + num = 31; + num2 = num6; + num = prevByte >> num2 + num - (num2 | num); + num2 = num5; + return (uint)((num2 | num) + (num2 & num)); + } + + internal byte _202D_206E_202A_202C_200E_206F_202A_200D_206C_202A_200B_206B_200E_202D_202B_200F_200D_202A_202E_200C_202B_200F_200F_206A_202A_200B_202E_206F_206B_200B_200D_206F_202B_206C_202C_200B_206F_202A_200E_206A_202E(_200F_202A_202A_206D_206E_200F_200B_206E_202A_206F_202E_200F_206E_202D_202D_202B_206D_206C_202A_202A_200C_200E_206E_202B_202A_206F_206F_206D_206B_202E_200D_206C_200D_206F_202A_200B_200E_206B_200E_206D_202E rangeDecoder, uint pos, byte prevByte) + { + return _200E_206D_206E_200F_200C_200F_206D_202C_206E_200D_206E_206C_200E_206F_206D_200C_206D_200C_200B_200C_202B_202B_206F_200F_206C_206B_200B_200B_206D_206C_206D_202D_206A_206F_206A_200F_202E_206E_200B_206D_202E[_202A_202E_202E_200E_206C_206A_206D_202C_200B_202A_202B_206E_206B_202A_202B_202B_202A_206F_206B_202C_200D_202E_202A_206F_202E_206B_200F_206F_202D_202E_200B_206B_206C_200D_200B_206F_200F_206A_200C_206D_202E(pos, prevByte)]._206B_200B_206B_206E_202A_202A_200F_206E_202E_200F_200B_202B_200C_202E_200F_200E_206B_202C_206D_206F_206D_200E_206C_200B_206E_200F_200E_206E_206B_200C_206C_200E_202E_200B_206B_200B_200F_202C_200E_206B_202E(rangeDecoder); + } + + internal byte _200F_206D_202A_202C_202D_202C_206E_200D_206C_206E_200D_206C_200D_200F_206B_206A_202A_202B_200E_200E_206F_206C_202A_206D_202D_200B_202D_200D_200D_206F_202A_202C_206E_202A_202E_206A_202E_202D_206F_202B_202E(_200F_202A_202A_206D_206E_200F_200B_206E_202A_206F_202E_200F_206E_202D_202D_202B_206D_206C_202A_202A_200C_200E_206E_202B_202A_206F_206F_206D_206B_202E_200D_206C_200D_206F_202A_200B_200E_206B_200E_206D_202E rangeDecoder, uint pos, byte prevByte, byte matchByte) + { + return _200E_206D_206E_200F_200C_200F_206D_202C_206E_200D_206E_206C_200E_206F_206D_200C_206D_200C_200B_200C_202B_202B_206F_200F_206C_206B_200B_200B_206D_206C_206D_202D_206A_206F_206A_200F_202E_206E_200B_206D_202E[_202A_202E_202E_200E_206C_206A_206D_202C_200B_202A_202B_206E_206B_202A_202B_202B_202A_206F_206B_202C_200D_202E_202A_206F_202E_206B_200F_206F_202D_202E_200B_206B_206C_200D_200B_206F_200F_206A_200C_206D_202E(pos, prevByte)]._202A_200E_206F_206C_206E_206D_206B_200B_200B_202C_200C_202C_202B_206D_200C_202D_206C_202D_206F_206F_206C_206C_206B_206C_202D_202D_200D_202C_200C_206B_200B_202C_206B_200B_206B_206A_202E_206C_202A_202C_202E(rangeDecoder, matchByte); + } + + internal _206E_206C_200B_206B_206C_200D_206B_200C_206C_202A_206D_202E_206D_206F_200F_202D_200F_202E_200B_202A_202D_200B_200E_200B_202D_206D_206F_206D_206F_200C_202B_206D_200B_202C_202E_202B_200C_202C_200E_200E_202E() + { + } + } + + internal readonly _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E[] _206F_200D_200D_202B_206A_206F_202A_202E_202D_206C_202D_202A_206D_202E_202E_202E_200C_200B_200C_206C_200C_206A_206C_206B_206B_200C_202B_206A_206E_206F_206C_206D_206E_200C_202D_202A_200D_206A_206F_200E_202E = new _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E[192]; + + internal readonly _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E[] _200C_206B_202E_200C_200B_200E_200F_206A_200C_200D_200D_202D_206B_206C_202A_200E_202E_200D_200F_200F_206E_206D_206A_206F_202C_200E_202A_202A_206F_202B_202D_206E_206C_200F_202E_202C_200E_202B_206E_202E_202E = new _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E[192]; + + internal readonly _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E[] _206B_202C_200F_202E_200B_200F_200F_206A_206C_202E_206B_206A_206C_200E_206A_206E_206E_206B_202E_202B_206B_200D_202E_206D_206E_206B_200E_206F_206D_202C_200C_206A_206D_202A_206B_202E_202A_200D_202D_200C_202E = new _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E[12]; + + internal readonly _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E[] _202A_206C_202A_202D_206F_200D_202B_206F_206C_206B_206B_206E_202A_200F_206B_202A_202B_202A_206D_206A_206E_206E_200B_202A_206C_206E_202A_206F_206E_206B_206F_200B_200D_202B_206D_206D_206B_206E_206B_202D_202E = new _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E[12]; + + internal readonly _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E[] _202B_206A_202C_206A_202E_200B_206D_206D_206A_206D_202D_200D_202C_202D_206E_202A_206E_200C_200D_206D_200C_206D_202E_202B_200F_202B_202D_206C_200B_202E_206C_206C_202C_206E_202C_202C_200F_202D_206F_202E_202E = new _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E[12]; + + internal readonly _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E[] _206B_206D_206A_206B_202A_200D_202A_206C_206E_200E_200E_202A_200E_200B_202D_206F_206B_200B_206C_206E_206F_200B_200B_202B_200C_206D_200D_206A_202C_206C_206B_200F_206A_200E_202A_200F_206A_202A_202C_206C_202E = new _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E[12]; + + internal readonly _206C_200C_206A_206F_206F_200E_202A_206C_200B_202D_202B_200F_206E_206B_202C_202C_206E_200E_200E_202A_206A_202A_202A_206F_206F_206B_206F_202C_200E_206B_206E_202E_200F_206B_202D_206A_206B_200D_200B_202B_202E _200F_206E_202A_200C_206C_202B_202B_200B_206F_202D_202A_202B_202B_202B_206B_206D_202B_206A_206D_202B_202D_200F_206A_202B_202C_200B_206B_206B_202C_202A_200F_206F_202A_202D_200E_206A_202D_200C_202C_200E_202E = new _206C_200C_206A_206F_206F_200E_202A_206C_200B_202D_202B_200F_206E_206B_202C_202C_206E_200E_200E_202A_206A_202A_202A_206F_206F_206B_206F_202C_200E_206B_206E_202E_200F_206B_202D_206A_206B_200D_200B_202B_202E(); + + internal readonly _206E_206C_200B_206B_206C_200D_206B_200C_206C_202A_206D_202E_206D_206F_200F_202D_200F_202E_200B_202A_202D_200B_200E_200B_202D_206D_206F_206D_206F_200C_202B_206D_200B_202C_202E_202B_200C_202C_200E_200E_202E _206A_206E_200D_206F_200C_202B_202A_202D_200D_206C_206E_206B_202D_200C_202E_200C_200E_200D_202E_202A_200B_202B_202C_206D_200F_202C_200D_202A_206B_200D_206D_200F_206F_200F_200B_200C_202E_202D_202E_200D_202E = new _206E_206C_200B_206B_206C_200D_206B_200C_206C_202A_206D_202E_206D_206F_200F_202D_200F_202E_200B_202A_202D_200B_200E_200B_202D_206D_206F_206D_206F_200C_202B_206D_200B_202C_202E_202B_200C_202C_200E_200E_202E(); + + internal readonly _206B_200E_206F_202A_202A_206A_200E_206B_202E_200F_200F_200F_206B_206A_206E_202E_206C_202B_206D_202E_206B_200F_202C_202A_202D_202B_206F_202E_200C_206D_202D_206D_206E_200C_206E_202A_206F_200D_206D_202D_202E _200C_202D_206A_206D_206A_202A_206C_200F_200D_200E_202D_202B_200F_206B_202C_202E_206D_202D_202B_206C_206F_200C_202D_202B_202C_200C_206F_200C_206A_200C_206F_206B_202C_200C_206A_206C_206D_200B_206C_202E = new _206B_200E_206F_202A_202A_206A_200E_206B_202E_200F_200F_200F_206B_206A_206E_202E_206C_202B_206D_202E_206B_200F_202C_202A_202D_202B_206F_202E_200C_206D_202D_206D_206E_200C_206E_202A_206F_200D_206D_202D_202E(); + + internal readonly _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E[] _200C_202B_202B_202A_200B_200B_206A_200C_202E_202C_200F_200D_202D_200F_206D_206F_206E_206F_206C_202B_206E_206D_202A_202B_206C_202B_200D_206C_206E_200C_206F_200F_202B_206D_206F_202D_202C_200C_200C_202A_202E = new _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E[114]; + + internal readonly _202B_206C_200E_202D_206C_206A_200E_202B_200B_202B_202A_200F_200F_200E_206E_206E_200B_206C_200B_206F_206C_206B_206E_206D_202B_200D_206A_200E_200B_202A_206F_206C_202D_202D_206F_206E_200F_200E_202B_206C_202E[] _206B_200F_202C_206A_200D_200D_200C_206D_206E_202B_206B_202B_206B_202A_202A_202A_206E_202C_202B_202B_206A_202E_202D_202E_200D_206B_202E_200B_202B_202C_202E_202B_206A_200E_206E_202A_206A_200B_200C_200D_202E = new _202B_206C_200E_202D_206C_206A_200E_202B_200B_202B_202A_200F_200F_200E_206E_206E_200B_206C_200B_206F_206C_206B_206E_206D_202B_200D_206A_200E_200B_202A_206F_206C_202D_202D_206F_206E_200F_200E_202B_206C_202E[4]; + + internal readonly _200F_202A_202A_206D_206E_200F_200B_206E_202A_206F_202E_200F_206E_202D_202D_202B_206D_206C_202A_202A_200C_200E_206E_202B_202A_206F_206F_206D_206B_202E_200D_206C_200D_206F_202A_200B_200E_206B_200E_206D_202E _206D_200F_206F_200C_206A_206F_200C_202A_202E_202C_202A_200C_200C_206E_202B_206D_200C_200D_206E_200C_206A_202C_206F_206D_200D_202E_202A_202A_200C_202D_200E_202A_202E_200E_206F_202A_200F_200B_206E_202C_202E = new _200F_202A_202A_206D_206E_200F_200B_206E_202A_206F_202E_200F_206E_202D_202D_202B_206D_206C_202A_202A_200C_200E_206E_202B_202A_206F_206F_206D_206B_202E_200D_206C_200D_206F_202A_200B_200E_206B_200E_206D_202E(); + + internal readonly _206C_200C_206A_206F_206F_200E_202A_206C_200B_202D_202B_200F_206E_206B_202C_202C_206E_200E_200E_202A_206A_202A_202A_206F_206F_206B_206F_202C_200E_206B_206E_202E_200F_206B_202D_206A_206B_200D_200B_202B_202E _200E_206B_206E_202C_202B_200F_200C_206A_200D_200C_202C_200D_206D_202C_202D_206C_206E_202C_200F_202C_202D_200D_202B_200B_206A_200C_202E_206E_206D_202A_202E_206A_202C_202C_206C_202B_200F_206C_202E_202E_202E = new _206C_200C_206A_206F_206F_200E_202A_206C_200B_202D_202B_200F_206E_206B_202C_202C_206E_200E_200E_202A_206A_202A_202A_206F_206F_206B_206F_202C_200E_206B_206E_202E_200F_206B_202D_206A_206B_200D_200B_202B_202E(); + + internal bool _202C_200E_200E_202D_202D_200C_200D_200D_200B_206D_206E_202C_200F_206E_206F_206C_202E_200D_202C_206F_200F_200C_200D_200E_206A_200F_206A_206C_200E_202D_202C_206B_202E_202C_200E_206F_200B_200F_200C_206B_202E; + + internal uint _206F_206C_200F_206C_200C_202B_202A_202E_206F_200D_200C_200D_202D_200D_206F_206E_206C_202E_202B_202B_206E_206F_206E_202B_200F_206E_202D_202C_200D_202B_200B_200C_202D_206B_202A_206D_202D_200B_206A_202D_202E; + + internal uint _206A_206C_202E_206F_206D_202A_206D_202A_202C_206C_200C_206D_200E_206D_202C_200B_206C_200E_206B_200C_200C_200E_202E_206B_202C_206B_200C_206D_202A_206E_200F_200D_206D_206F_206C_202A_202E_206A_206C_202E; + + internal _202B_206C_200E_202D_206C_206A_200E_202B_200B_202B_202A_200F_200F_200E_206E_206E_200B_206C_200B_206F_206C_206B_206E_206D_202B_200D_206A_200E_200B_202A_206F_206C_202D_202D_206F_206E_200F_200E_202B_206C_202E _200D_206A_202E_206D_206E_202B_200B_202B_202D_202A_200B_200B_206E_200C_206F_200C_206A_202E_206C_202B_206B_202B_206E_206C_206E_200B_202C_206E_200C_200B_200F_200B_202E_202B_202B_206B_200F_200F_206E_206A_202E = new _202B_206C_200E_202D_206C_206A_200E_202B_200B_202B_202A_200F_200F_200E_206E_206E_200B_206C_200B_206F_206C_206B_206E_206D_202B_200D_206A_200E_200B_202A_206F_206C_202D_202D_206F_206E_200F_200E_202B_206C_202E(4); + + internal uint _202B_200B_200F_200D_206D_206C_202C_206A_206A_202D_200B_206A_200C_200F_206E_206F_200E_200E_206E_206A_206D_200E_202C_202D_206B_202C_206C_200C_206A_202D_206C_202B_202B_202D_202E_202E_200B_202D_200E_202A_202E; + + internal _206C_206B_200B_200B_202D_200B_202E_206A_202E_200C_202C_202B_202E_206C_206E_200F_200F_206C_206E_202E_202B_202E_202D_206F_202A_206A_206C_202C_202C_200F_206B_202C_206A_202C_200B_202C_202D_206C_200D_206E_202E() + { + _206F_206C_200F_206C_200C_202B_202A_202E_206F_200D_200C_200D_202D_200D_206F_206E_206C_202E_202B_202B_206E_206F_206E_202B_200F_206E_202D_202C_200D_202B_200B_200C_202D_206B_202A_206D_202D_200B_206A_202D_202E = uint.MaxValue; + int num = 0; + while ((long)num < 4L) + { + _206B_200F_202C_206A_200D_200D_200C_206D_206E_202B_206B_202B_206B_202A_202A_202A_206E_202C_202B_202B_206A_202E_202D_202E_200D_206B_202E_200B_202B_202C_202E_202B_206A_200E_206E_202A_206A_200B_200C_200D_202E[num] = new _202B_206C_200E_202D_206C_206A_200E_202B_200B_202B_202A_200F_200F_200E_206E_206E_200B_206C_200B_206F_206C_206B_206E_206D_202B_200D_206A_200E_200B_202A_206F_206C_202D_202D_206F_206E_200F_200E_202B_206C_202E(6); + int num2 = num; + int num3 = 1; + int num4 = num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = num5 + (num6 + num6); + } + } + + internal void _200E_202E_200C_202D_202D_206F_202A_202E_202E_206C_200D_200F_200E_206B_200F_206C_202B_206C_200F_206B_206B_202D_202A_206A_200D_200C_200D_202E_206A_200F_202A_200F_206A_202D_200F_202C_206F_206E_200C_206B_202E(uint dictionarySize) + { + if (_206F_206C_200F_206C_200C_202B_202A_202E_206F_200D_200C_200D_202D_200D_206F_206E_206C_202E_202B_202B_206E_206F_206E_202B_200F_206E_202D_202C_200D_202B_200B_200C_202D_206B_202A_206D_202D_200B_206A_202D_202E != dictionarySize) + { + _206F_206C_200F_206C_200C_202B_202A_202E_206F_200D_200C_200D_202D_200D_206F_206E_206C_202E_202B_202B_206E_206F_206E_202B_200F_206E_202D_202C_200D_202B_200B_200C_202D_206B_202A_206D_202D_200B_206A_202D_202E = dictionarySize; + _206A_206C_202E_206F_206D_202A_206D_202A_202C_206C_200C_206D_200E_206D_202C_200B_206C_200E_206B_200C_200C_200E_202E_206B_202C_206B_200C_206D_202A_206E_200F_200D_206D_206F_206C_202A_202E_206A_206C_202E = Math.Max(_206F_206C_200F_206C_200C_202B_202A_202E_206F_200D_200C_200D_202D_200D_206F_206E_206C_202E_202B_202B_206E_206F_206E_202B_200F_206E_202D_202C_200D_202B_200B_200C_202D_206B_202A_206D_202D_200B_206A_202D_202E, 1u); + uint windowSize = Math.Max(_206A_206C_202E_206F_206D_202A_206D_202A_202C_206C_200C_206D_200E_206D_202C_200B_206C_200E_206B_200C_200C_200E_202E_206B_202C_206B_200C_206D_202A_206E_200F_200D_206D_206F_206C_202A_202E_206A_206C_202E, 4096u); + _200C_202D_206A_206D_206A_202A_206C_200F_200D_200E_202D_202B_200F_206B_202C_202E_206D_202D_202B_206C_206F_200C_202D_202B_202C_200C_206F_200C_206A_200C_206F_206B_202C_200C_206A_206C_206D_200B_206C_202E._206A_202C_206E_202C_206F_200B_206C_206C_202D_200C_202A_202B_206D_206A_200F_200C_200F_200C_202B_202B_200B_202D_206E_206D_206D_206C_202E_202D_200D_200E_206C_206E_206A_200C_200B_202E_200C_202D_200E_200F_202E(windowSize); + } + } + + internal void _202D_202B_202A_200B_206B_200F_200B_200C_200D_200F_206A_206C_206B_200E_206C_206A_202C_202B_202B_200E_202B_206C_202D_202D_202A_206D_200B_206A_200D_206C_206A_202D_200E_200D_206D_206F_206E_200E_200B_206A_202E(int lp, int lc) + { + _206A_206E_200D_206F_200C_202B_202A_202D_200D_206C_206E_206B_202D_200C_202E_200C_200E_200D_202E_202A_200B_202B_202C_206D_200F_202C_200D_202A_206B_200D_206D_200F_206F_200F_200B_200C_202E_202D_202E_200D_202E._200C_202D_206F_202D_200D_200B_202D_206F_202B_202E_202C_202B_200C_202E_202A_206E_202D_202D_202B_206B_202D_206F_202C_200E_206C_206C_200C_202C_206A_206E_206A_202E_206F_206F_202E_206D_206E_206F_206C_200E_202E(lp, lc); + } + + internal void _202B_200F_202A_206A_202E_206D_200F_200C_202E_200C_202C_206F_202B_202E_206A_202A_206D_206A_202C_200B_206F_206D_200F_200E_202D_200B_202A_202E_206C_206E_200E_206F_202A_202C_202A_206C_206A_202D_206A_200C_202E(int pb) + { + int num = 31; + int num2 = pb; + uint num3 = (uint)(1 << num2 + num - (num2 | num)); + _200F_206E_202A_200C_206C_202B_202B_200B_206F_202D_202A_202B_202B_202B_206B_206D_202B_206A_206D_202B_202D_200F_206A_202B_202C_200B_206B_206B_202C_202A_200F_206F_202A_202D_200E_206A_202D_200C_202C_200E_202E._206A_200F_200E_206B_206C_206D_200C_200F_202E_206B_200F_202B_202B_206B_206C_200D_206F_202E_202C_200B_206E_200D_206C_206F_202D_200F_206C_200C_202B_202B_202A_200F_206C_202B_200D_202E_206B_206E_206B_206A_202E(num3); + _200E_206B_206E_202C_202B_200F_200C_206A_200D_200C_202C_200D_206D_202C_202D_206C_206E_202C_200F_202C_202D_200D_202B_200B_206A_200C_202E_206E_206D_202A_202E_206A_202C_202C_206C_202B_200F_206C_202E_202E_202E._206A_200F_200E_206B_206C_206D_200C_200F_202E_206B_200F_202B_202B_206B_206C_200D_206F_202E_202C_200B_206E_200D_206C_206F_202D_200F_206C_200C_202B_202B_202A_200F_206C_202B_200D_202E_206B_206E_206B_206A_202E(num3); + num = 1; + num2 = (int)num3; + _202B_200B_200F_200D_206D_206C_202C_206A_206A_202D_200B_206A_200C_200F_206E_206F_200E_200E_206E_206A_206D_200E_202C_202D_206B_202C_206C_200C_206A_202D_206C_202B_202B_202D_202E_202E_200B_202D_200E_202A_202E = (uint)(~(~num2 + num)); + } + + internal void _200C_202D_200F_200C_206B_200F_200E_200E_200D_200C_202A_206F_206C_200C_206E_202C_206D_206A_200B_202E_206F_202B_200F_202C_200E_206F_200D_202C_202D_200F_202D_200B_206B_206E_200D_202B_200F_202C_200E_202B_202E(Stream inStream, Stream outStream) + { + _206D_200F_206F_200C_206A_206F_200C_202A_202E_202C_202A_200C_200C_206E_202B_206D_200C_200D_206E_200C_206A_202C_206F_206D_200D_202E_202A_202A_200C_202D_200E_202A_202E_200E_206F_202A_200F_200B_206E_202C_202E._206A_206D_200C_200E_200E_206C_202A_202E_206A_202C_202D_200D_200E_206B_200E_200F_206A_202D_202C_200B_206D_206A_202A_200C_200F_200C_200D_206A_206F_202C_202C_206D_206F_206D_206D_200C_202B_206A_206B_206D_202E(inStream); + _200C_202D_206A_206D_206A_202A_206C_200F_200D_200E_202D_202B_200F_206B_202C_202E_206D_202D_202B_206C_206F_200C_202D_202B_202C_200C_206F_200C_206A_200C_206F_206B_202C_200C_206A_206C_206D_200B_206C_202E._206D_202A_200E_202C_206D_200F_202A_206E_202A_206A_200E_202D_206E_200F_202E_206C_202E_200B_206F_200F_206D_200F_200D_200D_202E_200C_206C_200B_200C_200D_202B_206F_200E_200C_206A_202E_206F_202A_206D_202D_202E(outStream, _202C_200E_200E_202D_202D_200C_200D_200D_200B_206D_206E_202C_200F_206E_206F_206C_202E_200D_202C_206F_200F_200C_200D_200E_206A_200F_206A_206C_200E_202D_202C_206B_202E_202C_200E_206F_200B_200F_200C_206B_202E); + uint num = 0u; + while (num < 12) + { + uint num2 = 0u; + int num4; + int num5; + while (num2 <= _202B_200B_200F_200D_206D_206C_202C_206A_206A_202D_200B_206A_200C_200F_206E_206F_200E_200E_206E_206A_206D_200E_202C_202D_206B_202C_206C_200C_206A_202D_206C_202B_202B_202D_202E_202E_200B_202D_200E_202A_202E) + { + uint num3 = num << 4; + num4 = (int)num2; + num5 = (int)num3; + int num6 = num5 ^ num4; + int num7 = num5 & num4; + uint num8 = (uint)(num6 + (num7 + num7)); + _206F_200D_200D_202B_206A_206F_202A_202E_202D_206C_202D_202A_206D_202E_202E_202E_200C_200B_200C_206C_200C_206A_206C_206B_206B_200C_202B_206A_206E_206F_206C_206D_206E_200C_202D_202A_200D_206A_206F_200E_202E[num8]._202C_202B_202D_206B_206F_206B_206D_202A_202E_202E_200B_202A_200D_206B_200E_202A_200B_206F_206A_200D_200E_206B_206F_200D_206C_206A_200B_206D_206A_206C_200C_206B_202E_202A_200D_200D_202D_206C_200D_200F_202E(); + _200C_206B_202E_200C_200B_200E_200F_206A_200C_200D_200D_202D_206B_206C_202A_200E_202E_200D_200F_200F_206E_206D_206A_206F_202C_200E_202A_202A_206F_202B_202D_206E_206C_200F_202E_202C_200E_202B_206E_202E_202E[num8]._202C_202B_202D_206B_206F_206B_206D_202A_202E_202E_200B_202A_200D_206B_200E_202A_200B_206F_206A_200D_200E_206B_206F_200D_206C_206A_200B_206D_206A_206C_200C_206B_202E_202A_200D_200D_202D_206C_200D_200F_202E(); + uint num9 = num2; + num4 = 1; + num5 = (int)num9; + int num10 = num5 ^ num4; + int num11 = num5 & num4; + num2 = (uint)(num10 + (num11 + num11)); + } + _206B_202C_200F_202E_200B_200F_200F_206A_206C_202E_206B_206A_206C_200E_206A_206E_206E_206B_202E_202B_206B_200D_202E_206D_206E_206B_200E_206F_206D_202C_200C_206A_206D_202A_206B_202E_202A_200D_202D_200C_202E[num]._202C_202B_202D_206B_206F_206B_206D_202A_202E_202E_200B_202A_200D_206B_200E_202A_200B_206F_206A_200D_200E_206B_206F_200D_206C_206A_200B_206D_206A_206C_200C_206B_202E_202A_200D_200D_202D_206C_200D_200F_202E(); + _202A_206C_202A_202D_206F_200D_202B_206F_206C_206B_206B_206E_202A_200F_206B_202A_202B_202A_206D_206A_206E_206E_200B_202A_206C_206E_202A_206F_206E_206B_206F_200B_200D_202B_206D_206D_206B_206E_206B_202D_202E[num]._202C_202B_202D_206B_206F_206B_206D_202A_202E_202E_200B_202A_200D_206B_200E_202A_200B_206F_206A_200D_200E_206B_206F_200D_206C_206A_200B_206D_206A_206C_200C_206B_202E_202A_200D_200D_202D_206C_200D_200F_202E(); + _202B_206A_202C_206A_202E_200B_206D_206D_206A_206D_202D_200D_202C_202D_206E_202A_206E_200C_200D_206D_200C_206D_202E_202B_200F_202B_202D_206C_200B_202E_206C_206C_202C_206E_202C_202C_200F_202D_206F_202E_202E[num]._202C_202B_202D_206B_206F_206B_206D_202A_202E_202E_200B_202A_200D_206B_200E_202A_200B_206F_206A_200D_200E_206B_206F_200D_206C_206A_200B_206D_206A_206C_200C_206B_202E_202A_200D_200D_202D_206C_200D_200F_202E(); + _206B_206D_206A_206B_202A_200D_202A_206C_206E_200E_200E_202A_200E_200B_202D_206F_206B_200B_206C_206E_206F_200B_200B_202B_200C_206D_200D_206A_202C_206C_206B_200F_206A_200E_202A_200F_206A_202A_202C_206C_202E[num]._202C_202B_202D_206B_206F_206B_206D_202A_202E_202E_200B_202A_200D_206B_200E_202A_200B_206F_206A_200D_200E_206B_206F_200D_206C_206A_200B_206D_206A_206C_200C_206B_202E_202A_200D_200D_202D_206C_200D_200F_202E(); + uint num12 = num; + num4 = 1; + num5 = (int)num12; + int num13 = num5 ^ num4; + int num14 = num5 & num4; + num = (uint)(num13 + (num14 + num14)); + } + _206A_206E_200D_206F_200C_202B_202A_202D_200D_206C_206E_206B_202D_200C_202E_200C_200E_200D_202E_202A_200B_202B_202C_206D_200F_202C_200D_202A_206B_200D_206D_200F_206F_200F_200B_200C_202E_202D_202E_200D_202E._206D_202E_202E_200E_202C_206E_202C_206F_202B_202A_206C_202A_202C_200E_200E_206A_202C_206A_200F_206B_200D_200E_200B_200E_200D_200F_206E_200C_200E_206D_200D_202A_206C_200D_206C_206C_206F_206C_206F_200D_202E(); + num = 0u; + while (num < 4) + { + _206B_200F_202C_206A_200D_200D_200C_206D_206E_202B_206B_202B_206B_202A_202A_202A_206E_202C_202B_202B_206A_202E_202D_202E_200D_206B_202E_200B_202B_202C_202E_202B_206A_200E_206E_202A_206A_200B_200C_200D_202E[num]._202E_200E_200C_202B_206B_202A_206E_202A_206F_200B_200C_200F_200E_202A_206F_206D_200F_202C_202A_202D_200F_206F_202C_202E_206B_206D_206D_206B_200D_206E_200E_202C_206D_200B_206C_206F_206A_206A_202C_202E_202E(); + uint num15 = num; + int num4 = 1; + int num5 = (int)num15; + num = (uint)((num5 | num4) + (num5 & num4)); + } + num = 0u; + while (num < 114) + { + _200C_202B_202B_202A_200B_200B_206A_200C_202E_202C_200F_200D_202D_200F_206D_206F_206E_206F_206C_202B_206E_206D_202A_202B_206C_202B_200D_206C_206E_200C_206F_200F_202B_206D_206F_202D_202C_200C_200C_202A_202E[num]._202C_202B_202D_206B_206F_206B_206D_202A_202E_202E_200B_202A_200D_206B_200E_202A_200B_206F_206A_200D_200E_206B_206F_200D_206C_206A_200B_206D_206A_206C_200C_206B_202E_202A_200D_200D_202D_206C_200D_200F_202E(); + uint num16 = num; + int num4 = 1; + int num5 = (int)num16; + num = (uint)((num5 | num4) + (num5 & num4)); + } + _200F_206E_202A_200C_206C_202B_202B_200B_206F_202D_202A_202B_202B_202B_206B_206D_202B_206A_206D_202B_202D_200F_206A_202B_202C_200B_206B_206B_202C_202A_200F_206F_202A_202D_200E_206A_202D_200C_202C_200E_202E._206D_206B_200B_202A_200C_206D_200E_206D_202E_200E_206A_200E_200B_206A_200B_200F_200B_202B_206E_202A_206E_202C_202C_202A_206C_206E_202C_202B_200F_200E_200F_206C_202C_202A_206F_200B_202A_200C_206C_206D_202E(); + _200E_206B_206E_202C_202B_200F_200C_206A_200D_200C_202C_200D_206D_202C_202D_206C_206E_202C_200F_202C_202D_200D_202B_200B_206A_200C_202E_206E_206D_202A_202E_206A_202C_202C_206C_202B_200F_206C_202E_202E_202E._206D_206B_200B_202A_200C_206D_200E_206D_202E_200E_206A_200E_200B_206A_200B_200F_200B_202B_206E_202A_206E_202C_202C_202A_206C_206E_202C_202B_200F_200E_200F_206C_202C_202A_206F_200B_202A_200C_206C_206D_202E(); + _200D_206A_202E_206D_206E_202B_200B_202B_202D_202A_200B_200B_206E_200C_206F_200C_206A_202E_206C_202B_206B_202B_206E_206C_206E_200B_202C_206E_200C_200B_200F_200B_202E_202B_202B_206B_200F_200F_206E_206A_202E._202E_200E_200C_202B_206B_202A_206E_202A_206F_200B_200C_200F_200E_202A_206F_206D_200F_202C_202A_202D_200F_206F_202C_202E_206B_206D_206D_206B_200D_206E_200E_202C_206D_200B_206C_206F_206A_206A_202C_202E_202E(); + } + + internal void _200B_206B_206C_202D_206B_200C_206E_206B_200E_202D_200E_200C_206A_206C_200F_200F_206A_206A_202E_200E_202C_206D_200C_200D_206B_206A_202B_206E_206D_200E_206B_206A_200E_206D_200E_206E_206A_202C_206A_206B_202E(Stream inStream, Stream outStream, long inSize, long outSize) + { + _200C_202D_200F_200C_206B_200F_200E_200E_200D_200C_202A_206F_206C_200C_206E_202C_206D_206A_200B_202E_206F_202B_200F_202C_200E_206F_200D_202C_202D_200F_202D_200B_206B_206E_200D_202B_200F_202C_200E_202B_202E(inStream, outStream); + _202C_200D_200E_202C_206B_202E_202C_206B_200F_200B_206C_200C_202A_206A_200E_206C_202C_202A_200E_200B_202C_206C_206D_200E_206D_200E_206C_202A_200B_206B_200D_206D_206B_202B_206C_200C_200E_202A_202D_206E_202E obj = default(_202C_200D_200E_202C_206B_202E_202C_206B_200F_200B_206C_200C_202A_206A_200E_206C_202C_202A_200E_200B_202C_206C_206D_200E_206D_200E_206C_202A_200B_206B_200D_206D_206B_202B_206C_200C_200E_202A_202D_206E_202E); + obj._206F_206F_200D_206E_206B_206B_206D_202D_206B_206A_202D_206F_200E_206A_202B_202C_202D_202A_206E_206C_200F_206D_202C_202C_206D_202D_200E_206C_202E_202A_200E_200F_202E_200E_206F_202A_206A_206D_206C_206D_202E(); + uint num = 0u; + uint num2 = 0u; + uint num3 = 0u; + uint num4 = 0u; + ulong num5 = 0uL; + if (num5 < (ulong)outSize) + { + _206F_200D_200D_202B_206A_206F_202A_202E_202D_206C_202D_202A_206D_202E_202E_202E_200C_200B_200C_206C_200C_206A_206C_206B_206B_200C_202B_206A_206E_206F_206C_206D_206E_200C_202D_202A_200D_206A_206F_200E_202E[obj._202B_200F_202D_206D_206A_200C_202E_202E_206D_202C_200D_202A_202D_202A_200B_200F_206B_202D_202C_206D_200D_202B_206D_200F_206B_200D_206E_202B_200F_206A_206D_202D_200F_200C_200D_202D_202D_200C_206E_206F_202E << 4]._206C_202C_200F_202A_202C_206E_202C_206E_206D_206F_200E_202D_200E_206C_200F_206F_200D_200E_206C_206E_202D_200E_206D_202C_200D_200E_202E_202D_206F_200F_202B_202E_200D_200C_202B_200E_202E_202E_206F_200E_202E(_206D_200F_206F_200C_206A_206F_200C_202A_202E_202C_202A_200C_200C_206E_202B_206D_200C_200D_206E_200C_206A_202C_206F_206D_200D_202E_202A_202A_200C_202D_200E_202A_202E_200E_206F_202A_200F_200B_206E_202C_202E); + obj._206C_206E_202C_206F_206D_202D_200B_200E_200F_206C_206D_206F_200D_202C_200F_200C_200B_200E_200C_206C_200D_206A_206C_200C_206E_206C_200B_206E_206B_206E_202B_200F_206E_206C_206E_206B_200E_200C_200E_206D_202E(); + byte b = _206A_206E_200D_206F_200C_202B_202A_202D_200D_206C_206E_206B_202D_200C_202E_200C_200E_200D_202E_202A_200B_202B_202C_206D_200F_202C_200D_202A_206B_200D_206D_200F_206F_200F_200B_200C_202E_202D_202E_200D_202E._202D_206E_202A_202C_200E_206F_202A_200D_206C_202A_200B_206B_200E_202D_202B_200F_200D_202A_202E_200C_202B_200F_200F_206A_202A_200B_202E_206F_206B_200B_200D_206F_202B_206C_202C_200B_206F_202A_200E_206A_202E(_206D_200F_206F_200C_206A_206F_200C_202A_202E_202C_202A_200C_200C_206E_202B_206D_200C_200D_206E_200C_206A_202C_206F_206D_200D_202E_202A_202A_200C_202D_200E_202A_202E_200E_206F_202A_200F_200B_206E_202C_202E, 0u, 0); + _200C_202D_206A_206D_206A_202A_206C_200F_200D_200E_202D_202B_200F_206B_202C_202E_206D_202D_202B_206C_206F_200C_202D_202B_202C_200C_206F_200C_206A_200C_206F_206B_202C_200C_206A_206C_206D_200B_206C_202E._202C_206F_200D_200B_202E_206F_206E_202E_200D_200B_200C_200F_200F_200F_202A_206C_200C_206D_206A_206B_206B_206A_202C_206F_202B_202D_206D_206B_202C_200D_202B_200B_202D_202B_206C_200F_206E_200B_202A_200D_202E(b); + ulong num6 = num5; + long num7 = 1L; + long num8 = (long)num6; + long num9 = num8 ^ num7; + long num10 = num8 & num7; + num5 = (ulong)(num9 + (num10 + num10)); + } + while (num5 < (ulong)outSize) + { + int num11 = (int)num5; + int num12 = (int)_202B_200B_200F_200D_206D_206C_202C_206A_206A_202D_200B_206A_200C_200F_206E_206F_200E_200E_206E_206A_206D_200E_202C_202D_206B_202C_206C_200C_206A_202D_206C_202B_202B_202D_202E_202E_200B_202D_200E_202A_202E; + int num13 = num11; + uint num14 = (uint)((num13 | num12) - (num13 ^ num12)); + _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E[] array = _206F_200D_200D_202B_206A_206F_202A_202E_202D_206C_202D_202A_206D_202E_202E_202E_200C_200B_200C_206C_200C_206A_206C_206B_206B_200C_202B_206A_206E_206F_206C_206D_206E_200C_202D_202A_200D_206A_206F_200E_202E; + uint num15 = obj._202B_200F_202D_206D_206A_200C_202E_202E_206D_202C_200D_202A_202D_202A_200B_200F_206B_202D_202C_206D_200D_202B_206D_200F_206B_200D_206E_202B_200F_206A_206D_202D_200F_200C_200D_202D_202D_200C_206E_206F_202E << 4; + num12 = (int)num14; + num13 = (int)num15; + long num7; + long num8; + if (array[(num13 | num12) + (num13 & num12)]._206C_202C_200F_202A_202C_206E_202C_206E_206D_206F_200E_202D_200E_206C_200F_206F_200D_200E_206C_206E_202D_200E_206D_202C_200D_200E_202E_202D_206F_200F_202B_202E_200D_200C_202B_200E_202E_202E_206F_200E_202E(_206D_200F_206F_200C_206A_206F_200C_202A_202E_202C_202A_200C_200C_206E_202B_206D_200C_200D_206E_200C_206A_202C_206F_206D_200D_202E_202A_202A_200C_202D_200E_202A_202E_200E_206F_202A_200F_200B_206E_202C_202E) == 0) + { + byte prevByte = _200C_202D_206A_206D_206A_202A_206C_200F_200D_200E_202D_202B_200F_206B_202C_202E_206D_202D_202B_206C_206F_200C_202D_202B_202C_200C_206F_200C_206A_200C_206F_206B_202C_200C_206A_206C_206D_200B_206C_202E._200C_200B_206A_202C_206D_202A_200E_202B_200F_206F_206B_206F_206B_200D_202A_200F_206D_206E_202D_200E_202C_206E_202E_206F_206B_206E_206C_200E_206C_200E_202C_206F_202A_200B_206F_202D_202B_206B_200C_200D_202E(0u); + byte b2 = (obj._206A_202B_200F_202A_206A_206C_200F_206E_200C_202C_200C_206A_200E_200C_202A_200E_206F_206C_200C_202B_200C_202A_202C_206E_202B_206B_206A_206F_206E_200F_206C_202D_200D_206C_200C_202D_206D_200C_206D_200D_202E() ? _206A_206E_200D_206F_200C_202B_202A_202D_200D_206C_206E_206B_202D_200C_202E_200C_200E_200D_202E_202A_200B_202B_202C_206D_200F_202C_200D_202A_206B_200D_206D_200F_206F_200F_200B_200C_202E_202D_202E_200D_202E._202D_206E_202A_202C_200E_206F_202A_200D_206C_202A_200B_206B_200E_202D_202B_200F_200D_202A_202E_200C_202B_200F_200F_206A_202A_200B_202E_206F_206B_200B_200D_206F_202B_206C_202C_200B_206F_202A_200E_206A_202E(_206D_200F_206F_200C_206A_206F_200C_202A_202E_202C_202A_200C_200C_206E_202B_206D_200C_200D_206E_200C_206A_202C_206F_206D_200D_202E_202A_202A_200C_202D_200E_202A_202E_200E_206F_202A_200F_200B_206E_202C_202E, (uint)num5, prevByte) : _206A_206E_200D_206F_200C_202B_202A_202D_200D_206C_206E_206B_202D_200C_202E_200C_200E_200D_202E_202A_200B_202B_202C_206D_200F_202C_200D_202A_206B_200D_206D_200F_206F_200F_200B_200C_202E_202D_202E_200D_202E._200F_206D_202A_202C_202D_202C_206E_200D_206C_206E_200D_206C_200D_200F_206B_206A_202A_202B_200E_200E_206F_206C_202A_206D_202D_200B_202D_200D_200D_206F_202A_202C_206E_202A_202E_206A_202E_202D_206F_202B_202E(_206D_200F_206F_200C_206A_206F_200C_202A_202E_202C_202A_200C_200C_206E_202B_206D_200C_200D_206E_200C_206A_202C_206F_206D_200D_202E_202A_202A_200C_202D_200E_202A_202E_200E_206F_202A_200F_200B_206E_202C_202E, (uint)num5, prevByte, _200C_202D_206A_206D_206A_202A_206C_200F_200D_200E_202D_202B_200F_206B_202C_202E_206D_202D_202B_206C_206F_200C_202D_202B_202C_200C_206F_200C_206A_200C_206F_206B_202C_200C_206A_206C_206D_200B_206C_202E._200C_200B_206A_202C_206D_202A_200E_202B_200F_206F_206B_206F_206B_200D_202A_200F_206D_206E_202D_200E_202C_206E_202E_206F_206B_206E_206C_200E_206C_200E_202C_206F_202A_200B_206F_202D_202B_206B_200C_200D_202E(num))); + _200C_202D_206A_206D_206A_202A_206C_200F_200D_200E_202D_202B_200F_206B_202C_202E_206D_202D_202B_206C_206F_200C_202D_202B_202C_200C_206F_200C_206A_200C_206F_206B_202C_200C_206A_206C_206D_200B_206C_202E._202C_206F_200D_200B_202E_206F_206E_202E_200D_200B_200C_200F_200F_200F_202A_206C_200C_206D_206A_206B_206B_206A_202C_206F_202B_202D_206D_206B_202C_200D_202B_200B_202D_202B_206C_200F_206E_200B_202A_200D_202E(b2); + obj._206C_206E_202C_206F_206D_202D_200B_200E_200F_206C_206D_206F_200D_202C_200F_200C_200B_200E_200C_206C_200D_206A_206C_200C_206E_206C_200B_206E_206B_206E_202B_200F_206E_206C_206E_206B_200E_200C_200E_206D_202E(); + ulong num16 = num5; + num7 = 1L; + num8 = (long)num16; + long num17 = num8 ^ num7; + long num18 = num8 & num7; + num5 = (ulong)(num17 + (num18 + num18)); + continue; + } + uint num26; + if (_206B_202C_200F_202E_200B_200F_200F_206A_206C_202E_206B_206A_206C_200E_206A_206E_206E_206B_202E_202B_206B_200D_202E_206D_206E_206B_200E_206F_206D_202C_200C_206A_206D_202A_206B_202E_202A_200D_202D_200C_202E[obj._202B_200F_202D_206D_206A_200C_202E_202E_206D_202C_200D_202A_202D_202A_200B_200F_206B_202D_202C_206D_200D_202B_206D_200F_206B_200D_206E_202B_200F_206A_206D_202D_200F_200C_200D_202D_202D_200C_206E_206F_202E]._206C_202C_200F_202A_202C_206E_202C_206E_206D_206F_200E_202D_200E_206C_200F_206F_200D_200E_206C_206E_202D_200E_206D_202C_200D_200E_202E_202D_206F_200F_202B_202E_200D_200C_202B_200E_202E_202E_206F_200E_202E(_206D_200F_206F_200C_206A_206F_200C_202A_202E_202C_202A_200C_200C_206E_202B_206D_200C_200D_206E_200C_206A_202C_206F_206D_200D_202E_202A_202A_200C_202D_200E_202A_202E_200E_206F_202A_200F_200B_206E_202C_202E) == 1) + { + if (_202A_206C_202A_202D_206F_200D_202B_206F_206C_206B_206B_206E_202A_200F_206B_202A_202B_202A_206D_206A_206E_206E_200B_202A_206C_206E_202A_206F_206E_206B_206F_200B_200D_202B_206D_206D_206B_206E_206B_202D_202E[obj._202B_200F_202D_206D_206A_200C_202E_202E_206D_202C_200D_202A_202D_202A_200B_200F_206B_202D_202C_206D_200D_202B_206D_200F_206B_200D_206E_202B_200F_206A_206D_202D_200F_200C_200D_202D_202D_200C_206E_206F_202E]._206C_202C_200F_202A_202C_206E_202C_206E_206D_206F_200E_202D_200E_206C_200F_206F_200D_200E_206C_206E_202D_200E_206D_202C_200D_200E_202E_202D_206F_200F_202B_202E_200D_200C_202B_200E_202E_202E_206F_200E_202E(_206D_200F_206F_200C_206A_206F_200C_202A_202E_202C_202A_200C_200C_206E_202B_206D_200C_200D_206E_200C_206A_202C_206F_206D_200D_202E_202A_202A_200C_202D_200E_202A_202E_200E_206F_202A_200F_200B_206E_202C_202E) == 0) + { + _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E[] array2 = _200C_206B_202E_200C_200B_200E_200F_206A_200C_200D_200D_202D_206B_206C_202A_200E_202E_200D_200F_200F_206E_206D_206A_206F_202C_200E_202A_202A_206F_202B_202D_206E_206C_200F_202E_202C_200E_202B_206E_202E_202E; + uint num19 = obj._202B_200F_202D_206D_206A_200C_202E_202E_206D_202C_200D_202A_202D_202A_200B_200F_206B_202D_202C_206D_200D_202B_206D_200F_206B_200D_206E_202B_200F_206A_206D_202D_200F_200C_200D_202D_202D_200C_206E_206F_202E << 4; + num12 = (int)num14; + num13 = (int)num19; + int num20 = num13 ^ num12; + int num21 = num13 & num12; + if (array2[num20 + (num21 + num21)]._206C_202C_200F_202A_202C_206E_202C_206E_206D_206F_200E_202D_200E_206C_200F_206F_200D_200E_206C_206E_202D_200E_206D_202C_200D_200E_202E_202D_206F_200F_202B_202E_200D_200C_202B_200E_202E_202E_206F_200E_202E(_206D_200F_206F_200C_206A_206F_200C_202A_202E_202C_202A_200C_200C_206E_202B_206D_200C_200D_206E_200C_206A_202C_206F_206D_200D_202E_202A_202A_200C_202D_200E_202A_202E_200E_206F_202A_200F_200B_206E_202C_202E) == 0) + { + obj._206A_206D_202E_206A_202E_200E_206B_202C_202E_200D_202C_206D_202E_202D_206E_206F_200C_206A_200D_206E_200B_200E_206A_202B_206B_200B_202B_206B_202E_202B_200E_202C_206C_200C_206A_200E_200F_200F_202B_202B_202E(); + _200C_202D_206A_206D_206A_202A_206C_200F_200D_200E_202D_202B_200F_206B_202C_202E_206D_202D_202B_206C_206F_200C_202D_202B_202C_200C_206F_200C_206A_200C_206F_206B_202C_200C_206A_206C_206D_200B_206C_202E._202C_206F_200D_200B_202E_206F_206E_202E_200D_200B_200C_200F_200F_200F_202A_206C_200C_206D_206A_206B_206B_206A_202C_206F_202B_202D_206D_206B_202C_200D_202B_200B_202D_202B_206C_200F_206E_200B_202A_200D_202E(_200C_202D_206A_206D_206A_202A_206C_200F_200D_200E_202D_202B_200F_206B_202C_202E_206D_202D_202B_206C_206F_200C_202D_202B_202C_200C_206F_200C_206A_200C_206F_206B_202C_200C_206A_206C_206D_200B_206C_202E._200C_200B_206A_202C_206D_202A_200E_202B_200F_206F_206B_206F_206B_200D_202A_200F_206D_206E_202D_200E_202C_206E_202E_206F_206B_206E_206C_200E_206C_200E_202C_206F_202A_200B_206F_202D_202B_206B_200C_200D_202E(num)); + ulong num22 = num5; + num7 = 1L; + num8 = (long)num22; + long num23 = num8 ^ num7; + long num24 = num8 & num7; + num5 = (ulong)(num23 + (num24 + num24)); + continue; + } + } + else + { + uint num25; + if (_202B_206A_202C_206A_202E_200B_206D_206D_206A_206D_202D_200D_202C_202D_206E_202A_206E_200C_200D_206D_200C_206D_202E_202B_200F_202B_202D_206C_200B_202E_206C_206C_202C_206E_202C_202C_200F_202D_206F_202E_202E[obj._202B_200F_202D_206D_206A_200C_202E_202E_206D_202C_200D_202A_202D_202A_200B_200F_206B_202D_202C_206D_200D_202B_206D_200F_206B_200D_206E_202B_200F_206A_206D_202D_200F_200C_200D_202D_202D_200C_206E_206F_202E]._206C_202C_200F_202A_202C_206E_202C_206E_206D_206F_200E_202D_200E_206C_200F_206F_200D_200E_206C_206E_202D_200E_206D_202C_200D_200E_202E_202D_206F_200F_202B_202E_200D_200C_202B_200E_202E_202E_206F_200E_202E(_206D_200F_206F_200C_206A_206F_200C_202A_202E_202C_202A_200C_200C_206E_202B_206D_200C_200D_206E_200C_206A_202C_206F_206D_200D_202E_202A_202A_200C_202D_200E_202A_202E_200E_206F_202A_200F_200B_206E_202C_202E) == 0) + { + num25 = num2; + } + else + { + if (_206B_206D_206A_206B_202A_200D_202A_206C_206E_200E_200E_202A_200E_200B_202D_206F_206B_200B_206C_206E_206F_200B_200B_202B_200C_206D_200D_206A_202C_206C_206B_200F_206A_200E_202A_200F_206A_202A_202C_206C_202E[obj._202B_200F_202D_206D_206A_200C_202E_202E_206D_202C_200D_202A_202D_202A_200B_200F_206B_202D_202C_206D_200D_202B_206D_200F_206B_200D_206E_202B_200F_206A_206D_202D_200F_200C_200D_202D_202D_200C_206E_206F_202E]._206C_202C_200F_202A_202C_206E_202C_206E_206D_206F_200E_202D_200E_206C_200F_206F_200D_200E_206C_206E_202D_200E_206D_202C_200D_200E_202E_202D_206F_200F_202B_202E_200D_200C_202B_200E_202E_202E_206F_200E_202E(_206D_200F_206F_200C_206A_206F_200C_202A_202E_202C_202A_200C_200C_206E_202B_206D_200C_200D_206E_200C_206A_202C_206F_206D_200D_202E_202A_202A_200C_202D_200E_202A_202E_200E_206F_202A_200F_200B_206E_202C_202E) == 0) + { + num25 = num3; + } + else + { + num25 = num4; + num4 = num3; + } + num3 = num2; + } + num2 = num; + num = num25; + } + num26 = _200E_206B_206E_202C_202B_200F_200C_206A_200D_200C_202C_200D_206D_202C_202D_206C_206E_202C_200F_202C_202D_200D_202B_200B_206A_200C_202E_206E_206D_202A_202E_206A_202C_202C_206C_202B_200F_206C_202E_202E_202E._206E_206D_202A_200E_202B_200C_200C_200D_200E_206F_200E_200D_202E_206D_206E_200F_206A_200C_206D_202D_200C_206F_200B_202D_202D_202D_200D_202D_202A_202B_200F_206D_200D_206B_206C_206A_206A_206B_206B_202C_202E(_206D_200F_206F_200C_206A_206F_200C_202A_202E_202C_202A_200C_200C_206E_202B_206D_200C_200D_206E_200C_206A_202C_206F_206D_200D_202E_202A_202A_200C_202D_200E_202A_202E_200E_206F_202A_200F_200B_206E_202C_202E, num14) + 2; + obj._202C_206F_202C_206D_200F_202B_200F_200F_206B_206B_202D_206F_202E_202A_206D_206C_200B_206A_206D_200B_206F_206A_206D_200B_206D_206E_200C_206D_202C_200B_206E_202A_202E_206C_202A_202B_206C_206A_200E_206E_202E(); + } + else + { + num4 = num3; + num3 = num2; + num2 = num; + num26 = 2 + _200F_206E_202A_200C_206C_202B_202B_200B_206F_202D_202A_202B_202B_202B_206B_206D_202B_206A_206D_202B_202D_200F_206A_202B_202C_200B_206B_206B_202C_202A_200F_206F_202A_202D_200E_206A_202D_200C_202C_200E_202E._206E_206D_202A_200E_202B_200C_200C_200D_200E_206F_200E_200D_202E_206D_206E_200F_206A_200C_206D_202D_200C_206F_200B_202D_202D_202D_200D_202D_202A_202B_200F_206D_200D_206B_206C_206A_206A_206B_206B_202C_202E(_206D_200F_206F_200C_206A_206F_200C_202A_202E_202C_202A_200C_200C_206E_202B_206D_200C_200D_206E_200C_206A_202C_206F_206D_200D_202E_202A_202A_200C_202D_200E_202A_202E_200E_206F_202A_200F_200B_206E_202C_202E, num14); + obj._206F_200B_200D_200E_200F_206B_202B_200B_206D_206F_202C_206D_200C_206B_206F_200C_202B_206F_206C_206F_202D_202A_200C_206D_200C_200E_202C_206E_200F_206E_202E_206F_202C_200E_202E_200F_202D_202E_200B_202A_202E(); + uint num27 = _206B_200F_202C_206A_200D_200D_200C_206D_206E_202B_206B_202B_206B_202A_202A_202A_206E_202C_202B_202B_206A_202E_202D_202E_200D_206B_202E_200B_202B_202C_202E_202B_206A_200E_206E_202A_206A_200B_200C_200D_202E[_202D_206C_202D_206C_206B_206C_206C_206F_200C_206A_200B_200E_200C_200F_202B_202B_202B_200B_206D_206F_206B_200E_200B_206B_206B_202D_202E_202A_200E_202D_202C_206F_202E_206F_202C_206D_200B_200D_206A_202D_202E(num26)]._206B_206D_202A_200D_206E_206D_206A_202E_206A_202A_202C_202E_206A_206B_206C_206E_200D_200C_206F_200C_206C_206E_202C_202C_200D_200D_200E_206C_206B_206A_202A_202D_206C_202C_200D_202A_200F_206A_206F_200C_202E(_206D_200F_206F_200C_206A_206F_200C_202A_202E_202C_202A_200C_200C_206E_202B_206D_200C_200D_206E_200C_206A_202C_206F_206D_200D_202E_202A_202A_200C_202D_200E_202A_202E_200E_206F_202A_200F_200B_206E_202C_202E); + if (num27 >= 4) + { + uint num28 = num27 >> 1; + num12 = 1; + num13 = (int)num28; + int num29 = ~(~num13 + num12); + num12 = 1; + num13 = (int)num27; + num12 = (num13 | num12) - (num13 ^ num12); + num13 = 2; + int num30 = (num13 & num12) + (num13 ^ num12); + num12 = 31; + num13 = num29; + num = (uint)(num30 << (num13 | num12) - (num13 ^ num12)); + if (num27 < 14) + { + uint num31 = num; + _206C_206B_206E_206E_202A_202A_206D_206E_200F_200B_202C_202E_202D_202D_206F_202D_200B_206A_206C_206A_202E_202D_200B_206F_202A_202E_206A_200D_200B_200F_206C_206B_202E_206A_202C_200C_202B_200D_200B_202B_202E[] models = _200C_202B_202B_202A_200B_200B_206A_200C_202E_202C_200F_200D_202D_200F_206D_206F_206E_206F_206C_202B_206E_206D_202A_202B_206C_202B_200D_206C_206E_200C_206F_200F_202B_206D_206F_202D_202C_200C_200C_202A_202E; + uint num32 = num; + num12 = (int)num27; + num13 = (int)num32; + int num33 = ~(~num13 + num12); + num12 = 1; + num13 = num33; + num = num31 + _202B_206C_200E_202D_206C_206A_200E_202B_200B_202B_202A_200F_200F_200E_206E_206E_200B_206C_200B_206F_206C_206B_206E_206D_202B_200D_206A_200E_200B_202A_206F_206C_202D_202D_206F_206E_200F_200E_202B_206C_202E._200E_202C_200C_200F_206D_206A_202B_200C_206A_200B_206F_202E_202E_206D_200B_206E_202B_200B_202A_206D_202A_202D_200C_206E_202A_200F_202C_200E_206B_206F_206E_202D_206C_206D_206D_200F_206C_200E_206E_200C_202E(models, (uint)(~(~num13 + num12)), _206D_200F_206F_200C_206A_206F_200C_202A_202E_202C_202A_200C_200C_206E_202B_206D_200C_200D_206E_200C_206A_202C_206F_206D_200D_202E_202A_202A_200C_202D_200E_202A_202E_200E_206F_202A_200F_200B_206E_202C_202E, num29); + } + else + { + uint num34 = num; + _200F_202A_202A_206D_206E_200F_200B_206E_202A_206F_202E_200F_206E_202D_202D_202B_206D_206C_202A_202A_200C_200E_206E_202B_202A_206F_206F_206D_206B_202E_200D_206C_200D_206F_202A_200B_200E_206B_200E_206D_202E obj2 = _206D_200F_206F_200C_206A_206F_200C_202A_202E_202C_202A_200C_200C_206E_202B_206D_200C_200D_206E_200C_206A_202C_206F_206D_200D_202E_202A_202A_200C_202D_200E_202A_202E_200E_206F_202A_200F_200B_206E_202C_202E; + num12 = 4; + num13 = num29; + num = num34 + (obj2._200D_200E_206D_200F_202E_202E_206F_202E_206E_206D_202A_202A_200B_200E_202B_202E_202D_206B_202D_202A_202D_206F_200D_202A_200B_206A_202B_202D_202A_206D_200B_206E_206E_206B_206D_206F_202A_202A_202A_206B_202E(~(~num13 + num12)) << 4); + num += _200D_206A_202E_206D_206E_202B_200B_202B_202D_202A_200B_200B_206E_200C_206F_200C_206A_202E_206C_202B_206B_202B_206E_206C_206E_200B_202C_206E_200C_200B_200F_200B_202E_202B_202B_206B_200F_200F_206E_206A_202E._206C_206E_206F_206C_202E_200B_206D_206B_202D_202A_202B_200E_206A_200B_202E_200D_206F_200E_206E_206D_202D_206B_206E_200B_206C_202A_206C_206F_200C_206A_200B_206A_202C_200F_206A_206D_202D_200E_206D_206B_202E(_206D_200F_206F_200C_206A_206F_200C_202A_202E_202C_202A_200C_200C_206E_202B_206D_200C_200D_206E_200C_206A_202C_206F_206D_200D_202E_202A_202A_200C_202D_200E_202A_202E_200E_206F_202A_200F_200B_206E_202C_202E); + } + } + else + { + num = num27; + } + } + if ((num >= num5 || num >= _206A_206C_202E_206F_206D_202A_206D_202A_202C_206C_200C_206D_200E_206D_202C_200B_206C_200E_206B_200C_200C_200E_202E_206B_202C_206B_200C_206D_202A_206E_200F_200D_206D_206F_206C_202A_202E_206A_206C_202E) && num == uint.MaxValue) + { + break; + } + _200C_202D_206A_206D_206A_202A_206C_200F_200D_200E_202D_202B_200F_206B_202C_202E_206D_202D_202B_206C_206F_200C_202D_202B_202C_200C_206F_200C_206A_200C_206F_206B_202C_200C_206A_206C_206D_200B_206C_202E._206B_202B_206F_206A_206F_202D_200C_206E_206D_200C_206A_206D_200D_200C_200F_200F_200C_202B_206D_206E_202B_202A_206E_200F_202D_202D_202B_202B_206E_206A_206C_206D_200C_200C_202A_202D_200D_200D_206B_206A_202E(num, num26); + ulong num35 = num5; + num7 = num26; + num8 = (long)num35; + num5 = (ulong)((num8 | num7) + (num8 & num7)); + } + _200C_202D_206A_206D_206A_202A_206C_200F_200D_200E_202D_202B_200F_206B_202C_202E_206D_202D_202B_206C_206F_200C_202D_202B_202C_200C_206F_200C_206A_200C_206F_206B_202C_200C_206A_206C_206D_200B_206C_202E._202C_200D_202C_206A_202D_206A_206D_200C_200B_206E_202A_202A_202C_200B_206D_206E_202B_206D_206E_200D_202C_206B_202E_206A_202B_202C_206F_200B_206D_206F_200D_206F_206E_200D_206C_200E_202A_206A_206D_206E_202E(); + _200C_202D_206A_206D_206A_202A_206C_200F_200D_200E_202D_202B_200F_206B_202C_202E_206D_202D_202B_206C_206F_200C_202D_202B_202C_200C_206F_200C_206A_200C_206F_206B_202C_200C_206A_206C_206D_200B_206C_202E._206B_202B_202C_200C_200F_200E_200D_200D_202C_200E_206E_206C_206C_200C_202C_206D_202B_200E_200E_206D_202D_206A_202D_202E_200D_206E_206C_200B_202B_200C_200B_200E_206E_202A_206E_200D_202C_206F_206C_202C_202E(); + _206D_200F_206F_200C_206A_206F_200C_202A_202E_202C_202A_200C_200C_206E_202B_206D_200C_200D_206E_200C_206A_202C_206F_206D_200D_202E_202A_202A_200C_202D_200E_202A_202E_200E_206F_202A_200F_200B_206E_202C_202E._202C_200F_202E_206D_200E_206C_206C_206F_200D_200B_200E_206C_200C_200E_206B_202E_200B_200B_206F_200B_200E_206A_202B_200C_202C_202A_206D_202A_206A_206F_200D_200E_202A_200D_206A_202B_200F_202A_206A_206B_202E(); + } + + internal void _200E_202C_202E_200E_200E_206E_202C_206F_206B_202D_200F_206A_202A_202B_200B_202C_200F_206E_206D_200B_206E_206C_200C_202E_202A_200D_202C_206E_206F_202D_202D_202C_202C_202E_202C_200C_202E_206F_206B_202E(byte[] properties) + { + int lc = properties[0] % 9; + int num = properties[0] / 9; + int lp = num % 5; + int pb = num / 5; + uint num2 = 0u; + int num3 = 0; + while (num3 < 4) + { + uint num4 = num2; + int num5 = num3; + int num6 = 1; + int num7 = num6 ^ num5; + int num8 = num6 & num5; + byte num9 = properties[num7 + (num8 + num8)]; + int num10 = num3 * 8; + num5 = 31; + num6 = num10; + num5 = num9 << num6 + num5 - (num6 | num5); + num6 = (int)num4; + int num11 = num6 ^ num5; + int num12 = num6 & num5; + num2 = (uint)(num11 + (num12 + num12)); + int num13 = num3; + num5 = 1; + num6 = num13; + int num14 = num6 ^ num5; + int num15 = num6 & num5; + num3 = num14 + (num15 + num15); + } + _200E_202E_200C_202D_202D_206F_202A_202E_202E_206C_200D_200F_200E_206B_200F_206C_202B_206C_200F_206B_206B_202D_202A_206A_200D_200C_200D_202E_206A_200F_202A_200F_206A_202D_200F_202C_206F_206E_200C_206B_202E(num2); + _202D_202B_202A_200B_206B_200F_200B_200C_200D_200F_206A_206C_206B_200E_206C_206A_202C_202B_202B_200E_202B_206C_202D_202D_202A_206D_200B_206A_200D_206C_206A_202D_200E_200D_206D_206F_206E_200E_200B_206A_202E(lp, lc); + _202B_200F_202A_206A_202E_206D_200F_200C_202E_200C_202C_206F_202B_202E_206A_202A_206D_206A_202C_200B_206F_206D_200F_200E_202D_200B_202A_202E_206C_206E_200E_206F_202A_202C_202A_206C_206A_202D_206A_200C_202E(pb); + } + + internal static uint _202D_206C_202D_206C_206B_206C_206C_206F_200C_206A_200B_200E_200C_200F_202B_202B_202B_200B_206D_206F_206B_200E_200B_206B_206B_202D_202E_202A_200E_202D_202C_206F_202E_206F_202C_206D_200B_200D_206A_202D_202E(uint len) + { + uint num = len; + int num2 = 2; + int num3 = (int)num; + len = (uint)(~(~num3 + num2)); + if (len < 4) + { + return len; + } + return 3u; + } +} +internal class _206B_200E_206F_202A_202A_206A_200E_206B_202E_200F_200F_200F_206B_206A_206E_202E_206C_202B_206D_202E_206B_200F_202C_202A_202D_202B_206F_202E_200C_206D_202D_206D_206E_200C_206E_202A_206F_200D_206D_202D_202E +{ + internal byte[] _206F_202D_206C_200B_202E_206E_206A_202B_200B_202B_200E_200F_202D_202C_200F_202A_200F_206C_200E_206D_202B_200B_206C_206B_202B_206A_200B_206E_206B_206D_206D_202B_200D_206D_206E_206B_202D_200D_202D_206B_202E; + + internal uint _206A_202B_200F_200E_206F_200D_206A_202A_202D_200C_202D_202D_202E_202C_206C_200E_206E_206D_206D_202C_200D_206C_200D_206C_200D_200E_200C_200D_206B_200F_200B_206A_202D_206D_206C_202A_206B_202E_206B_206A_202E; + + internal Stream _202E_200C_206F_200E_206D_200B_200B_200E_206E_200B_200B_202E_202B_200E_200E_206F_200E_202E_200B_200F_202D_206B_202E_206A_206E_202D_202C_202B_200D_202D_202D_206E_206F_202A_200C_206A_200F_200B_206E_206F_202E; + + internal uint _200D_200C_206D_206B_206E_200E_202C_200E_202C_200E_206E_202C_202A_202D_202B_202C_202D_202A_200F_202D_206D_206E_206C_202E_202D_206C_206C_200F_200F_206A_206C_206F_202B_200E_200F_206D_200B_200C_200F_202B_202E; + + internal uint _200E_206E_200B_200E_200F_206D_202A_206D_202E_200C_202C_202D_202C_200D_206B_200C_206A_206F_202E_200C_206F_202E_206E_206D_206B_200D_206E_200F_202D_200D_206C_202D_200C_206B_206D_202A_202C_206E_202B_200E_202E; + + internal void _206A_202C_206E_202C_206F_200B_206C_206C_202D_200C_202A_202B_206D_206A_200F_200C_200F_200C_202B_202B_200B_202D_206E_206D_206D_206C_202E_202D_200D_200E_206C_206E_206A_200C_200B_202E_200C_202D_200E_200F_202E(uint windowSize) + { + if (_200E_206E_200B_200E_200F_206D_202A_206D_202E_200C_202C_202D_202C_200D_206B_200C_206A_206F_202E_200C_206F_202E_206E_206D_206B_200D_206E_200F_202D_200D_206C_202D_200C_206B_206D_202A_202C_206E_202B_200E_202E != windowSize) + { + _206F_202D_206C_200B_202E_206E_206A_202B_200B_202B_200E_200F_202D_202C_200F_202A_200F_206C_200E_206D_202B_200B_206C_206B_202B_206A_200B_206E_206B_206D_206D_202B_200D_206D_206E_206B_202D_200D_202D_206B_202E = new byte[windowSize]; + } + _200E_206E_200B_200E_200F_206D_202A_206D_202E_200C_202C_202D_202C_200D_206B_200C_206A_206F_202E_200C_206F_202E_206E_206D_206B_200D_206E_200F_202D_200D_206C_202D_200C_206B_206D_202A_202C_206E_202B_200E_202E = windowSize; + _206A_202B_200F_200E_206F_200D_206A_202A_202D_200C_202D_202D_202E_202C_206C_200E_206E_206D_206D_202C_200D_206C_200D_206C_200D_200E_200C_200D_206B_200F_200B_206A_202D_206D_206C_202A_206B_202E_206B_206A_202E = 0u; + _200D_200C_206D_206B_206E_200E_202C_200E_202C_200E_206E_202C_202A_202D_202B_202C_202D_202A_200F_202D_206D_206E_206C_202E_202D_206C_206C_200F_200F_206A_206C_206F_202B_200E_200F_206D_200B_200C_200F_202B_202E = 0u; + } + + internal void _206D_202A_200E_202C_206D_200F_202A_206E_202A_206A_200E_202D_206E_200F_202E_206C_202E_200B_206F_200F_206D_200F_200D_200D_202E_200C_206C_200B_200C_200D_202B_206F_200E_200C_206A_202E_206F_202A_206D_202D_202E(Stream stream, bool solid) + { + _206B_202B_202C_200C_200F_200E_200D_200D_202C_200E_206E_206C_206C_200C_202C_206D_202B_200E_200E_206D_202D_206A_202D_202E_200D_206E_206C_200B_202B_200C_200B_200E_206E_202A_206E_200D_202C_206F_206C_202C_202E(); + _202E_200C_206F_200E_206D_200B_200B_200E_206E_200B_200B_202E_202B_200E_200E_206F_200E_202E_200B_200F_202D_206B_202E_206A_206E_202D_202C_202B_200D_202D_202D_206E_206F_202A_200C_206A_200F_200B_206E_206F_202E = stream; + if (!solid) + { + _200D_200C_206D_206B_206E_200E_202C_200E_202C_200E_206E_202C_202A_202D_202B_202C_202D_202A_200F_202D_206D_206E_206C_202E_202D_206C_206C_200F_200F_206A_206C_206F_202B_200E_200F_206D_200B_200C_200F_202B_202E = 0u; + _206A_202B_200F_200E_206F_200D_206A_202A_202D_200C_202D_202D_202E_202C_206C_200E_206E_206D_206D_202C_200D_206C_200D_206C_200D_200E_200C_200D_206B_200F_200B_206A_202D_206D_206C_202A_206B_202E_206B_206A_202E = 0u; + } + } + + internal void _206B_202B_202C_200C_200F_200E_200D_200D_202C_200E_206E_206C_206C_200C_202C_206D_202B_200E_200E_206D_202D_206A_202D_202E_200D_206E_206C_200B_202B_200C_200B_200E_206E_202A_206E_200D_202C_206F_206C_202C_202E() + { + _202C_200D_202C_206A_202D_206A_206D_200C_200B_206E_202A_202A_202C_200B_206D_206E_202B_206D_206E_200D_202C_206B_202E_206A_202B_202C_206F_200B_206D_206F_200D_206F_206E_200D_206C_200E_202A_206A_206D_206E_202E(); + _202E_200C_206F_200E_206D_200B_200B_200E_206E_200B_200B_202E_202B_200E_200E_206F_200E_202E_200B_200F_202D_206B_202E_206A_206E_202D_202C_202B_200D_202D_202D_206E_206F_202A_200C_206A_200F_200B_206E_206F_202E = null; + Buffer.BlockCopy(new byte[_206F_202D_206C_200B_202E_206E_206A_202B_200B_202B_200E_200F_202D_202C_200F_202A_200F_206C_200E_206D_202B_200B_206C_206B_202B_206A_200B_206E_206B_206D_206D_202B_200D_206D_206E_206B_202D_200D_202D_206B_202E.Length], 0, _206F_202D_206C_200B_202E_206E_206A_202B_200B_202B_200E_200F_202D_202C_200F_202A_200F_206C_200E_206D_202B_200B_206C_206B_202B_206A_200B_206E_206B_206D_206D_202B_200D_206D_206E_206B_202D_200D_202D_206B_202E, 0, _206F_202D_206C_200B_202E_206E_206A_202B_200B_202B_200E_200F_202D_202C_200F_202A_200F_206C_200E_206D_202B_200B_206C_206B_202B_206A_200B_206E_206B_206D_206D_202B_200D_206D_206E_206B_202D_200D_202D_206B_202E.Length); + } + + internal void _202C_200D_202C_206A_202D_206A_206D_200C_200B_206E_202A_202A_202C_200B_206D_206E_202B_206D_206E_200D_202C_206B_202E_206A_202B_202C_206F_200B_206D_206F_200D_206F_206E_200D_206C_200E_202A_206A_206D_206E_202E() + { + uint num = _206A_202B_200F_200E_206F_200D_206A_202A_202D_200C_202D_202D_202E_202C_206C_200E_206E_206D_206D_202C_200D_206C_200D_206C_200D_200E_200C_200D_206B_200F_200B_206A_202D_206D_206C_202A_206B_202E_206B_206A_202E; + int num2 = (int)_200D_200C_206D_206B_206E_200E_202C_200E_202C_200E_206E_202C_202A_202D_202B_202C_202D_202A_200F_202D_206D_206E_206C_202E_202D_206C_206C_200F_200F_206A_206C_206F_202B_200E_200F_206D_200B_200C_200F_202B_202E; + int num3 = (int)num; + uint num4 = (uint)(~(~num3 + num2)); + if (num4 != 0) + { + _202E_200C_206F_200E_206D_200B_200B_200E_206E_200B_200B_202E_202B_200E_200E_206F_200E_202E_200B_200F_202D_206B_202E_206A_206E_202D_202C_202B_200D_202D_202D_206E_206F_202A_200C_206A_200F_200B_206E_206F_202E.Write(_206F_202D_206C_200B_202E_206E_206A_202B_200B_202B_200E_200F_202D_202C_200F_202A_200F_206C_200E_206D_202B_200B_206C_206B_202B_206A_200B_206E_206B_206D_206D_202B_200D_206D_206E_206B_202D_200D_202D_206B_202E, (int)_200D_200C_206D_206B_206E_200E_202C_200E_202C_200E_206E_202C_202A_202D_202B_202C_202D_202A_200F_202D_206D_206E_206C_202E_202D_206C_206C_200F_200F_206A_206C_206F_202B_200E_200F_206D_200B_200C_200F_202B_202E, (int)num4); + if (_206A_202B_200F_200E_206F_200D_206A_202A_202D_200C_202D_202D_202E_202C_206C_200E_206E_206D_206D_202C_200D_206C_200D_206C_200D_200E_200C_200D_206B_200F_200B_206A_202D_206D_206C_202A_206B_202E_206B_206A_202E >= _200E_206E_200B_200E_200F_206D_202A_206D_202E_200C_202C_202D_202C_200D_206B_200C_206A_206F_202E_200C_206F_202E_206E_206D_206B_200D_206E_200F_202D_200D_206C_202D_200C_206B_206D_202A_202C_206E_202B_200E_202E) + { + _206A_202B_200F_200E_206F_200D_206A_202A_202D_200C_202D_202D_202E_202C_206C_200E_206E_206D_206D_202C_200D_206C_200D_206C_200D_200E_200C_200D_206B_200F_200B_206A_202D_206D_206C_202A_206B_202E_206B_206A_202E = 0u; + } + _200D_200C_206D_206B_206E_200E_202C_200E_202C_200E_206E_202C_202A_202D_202B_202C_202D_202A_200F_202D_206D_206E_206C_202E_202D_206C_206C_200F_200F_206A_206C_206F_202B_200E_200F_206D_200B_200C_200F_202B_202E = _206A_202B_200F_200E_206F_200D_206A_202A_202D_200C_202D_202D_202E_202C_206C_200E_206E_206D_206D_202C_200D_206C_200D_206C_200D_200E_200C_200D_206B_200F_200B_206A_202D_206D_206C_202A_206B_202E_206B_206A_202E; + } + } + + internal void _206B_202B_206F_206A_206F_202D_200C_206E_206D_200C_206A_206D_200D_200C_200F_200F_200C_202B_206D_206E_202B_202A_206E_200F_202D_202D_202B_202B_206E_206A_206C_206D_200C_200C_202A_202D_200D_200D_206B_206A_202E(uint distance, uint len) + { + uint num = _206A_202B_200F_200E_206F_200D_206A_202A_202D_200C_202D_202D_202E_202C_206C_200E_206E_206D_206D_202C_200D_206C_200D_206C_200D_200E_200C_200D_206B_200F_200B_206A_202D_206D_206C_202A_206B_202E_206B_206A_202E; + int num2 = (int)distance; + int num3 = (int)num; + int num4 = ~(~num3 + num2); + num2 = 1; + num3 = num4; + uint num5 = (uint)(~(~num3 + num2)); + if (num5 >= _200E_206E_200B_200E_200F_206D_202A_206D_202E_200C_202C_202D_202C_200D_206B_200C_206A_206F_202E_200C_206F_202E_206E_206D_206B_200D_206E_200F_202D_200D_206C_202D_200C_206B_206D_202A_202C_206E_202B_200E_202E) + { + uint num6 = num5; + num2 = (int)_200E_206E_200B_200E_200F_206D_202A_206D_202E_200C_202C_202D_202C_200D_206B_200C_206A_206F_202E_200C_206F_202E_206E_206D_206B_200D_206E_200F_202D_200D_206C_202D_200C_206B_206D_202A_202C_206E_202B_200E_202E; + num3 = (int)num6; + int num7 = num3 ^ num2; + int num8 = num3 & num2; + num5 = (uint)(num7 + (num8 + num8)); + } + while (len != 0) + { + if (num5 >= _200E_206E_200B_200E_200F_206D_202A_206D_202E_200C_202C_202D_202C_200D_206B_200C_206A_206F_202E_200C_206F_202E_206E_206D_206B_200D_206E_200F_202D_200D_206C_202D_200C_206B_206D_202A_202C_206E_202B_200E_202E) + { + num5 = 0u; + } + byte[] array = _206F_202D_206C_200B_202E_206E_206A_202B_200B_202B_200E_200F_202D_202C_200F_202A_200F_206C_200E_206D_202B_200B_206C_206B_202B_206A_200B_206E_206B_206D_206D_202B_200D_206D_206E_206B_202D_200D_202D_206B_202E; + uint num9 = _206A_202B_200F_200E_206F_200D_206A_202A_202D_200C_202D_202D_202E_202C_206C_200E_206E_206D_206D_202C_200D_206C_200D_206C_200D_200E_200C_200D_206B_200F_200B_206A_202D_206D_206C_202A_206B_202E_206B_206A_202E; + num2 = 1; + num3 = (int)num9; + int num10 = num3 ^ num2; + int num11 = num3 & num2; + _206A_202B_200F_200E_206F_200D_206A_202A_202D_200C_202D_202D_202E_202C_206C_200E_206E_206D_206D_202C_200D_206C_200D_206C_200D_200E_200C_200D_206B_200F_200B_206A_202D_206D_206C_202A_206B_202E_206B_206A_202E = (uint)(num10 + (num11 + num11)); + byte[] array2 = _206F_202D_206C_200B_202E_206E_206A_202B_200B_202B_200E_200F_202D_202C_200F_202A_200F_206C_200E_206D_202B_200B_206C_206B_202B_206A_200B_206E_206B_206D_206D_202B_200D_206D_206E_206B_202D_200D_202D_206B_202E; + uint num12 = num5; + num2 = 1; + num3 = (int)num12; + int num13 = num3 ^ num2; + int num14 = num3 & num2; + num5 = (uint)(num13 + (num14 + num14)); + array[num9] = array2[num12]; + if (_206A_202B_200F_200E_206F_200D_206A_202A_202D_200C_202D_202D_202E_202C_206C_200E_206E_206D_206D_202C_200D_206C_200D_206C_200D_200E_200C_200D_206B_200F_200B_206A_202D_206D_206C_202A_206B_202E_206B_206A_202E >= _200E_206E_200B_200E_200F_206D_202A_206D_202E_200C_202C_202D_202C_200D_206B_200C_206A_206F_202E_200C_206F_202E_206E_206D_206B_200D_206E_200F_202D_200D_206C_202D_200C_206B_206D_202A_202C_206E_202B_200E_202E) + { + _202C_200D_202C_206A_202D_206A_206D_200C_200B_206E_202A_202A_202C_200B_206D_206E_202B_206D_206E_200D_202C_206B_202E_206A_202B_202C_206F_200B_206D_206F_200D_206F_206E_200D_206C_200E_202A_206A_206D_206E_202E(); + } + uint num15 = len; + num2 = 1; + num3 = (int)num15; + len = (uint)(~(~num3 + num2)); + } + } + + internal void _202C_206F_200D_200B_202E_206F_206E_202E_200D_200B_200C_200F_200F_200F_202A_206C_200C_206D_206A_206B_206B_206A_202C_206F_202B_202D_206D_206B_202C_200D_202B_200B_202D_202B_206C_200F_206E_200B_202A_200D_202E(byte b) + { + byte[] array = _206F_202D_206C_200B_202E_206E_206A_202B_200B_202B_200E_200F_202D_202C_200F_202A_200F_206C_200E_206D_202B_200B_206C_206B_202B_206A_200B_206E_206B_206D_206D_202B_200D_206D_206E_206B_202D_200D_202D_206B_202E; + uint num = _206A_202B_200F_200E_206F_200D_206A_202A_202D_200C_202D_202D_202E_202C_206C_200E_206E_206D_206D_202C_200D_206C_200D_206C_200D_200E_200C_200D_206B_200F_200B_206A_202D_206D_206C_202A_206B_202E_206B_206A_202E; + int num2 = 1; + int num3 = (int)num; + _206A_202B_200F_200E_206F_200D_206A_202A_202D_200C_202D_202D_202E_202C_206C_200E_206E_206D_206D_202C_200D_206C_200D_206C_200D_200E_200C_200D_206B_200F_200B_206A_202D_206D_206C_202A_206B_202E_206B_206A_202E = (uint)((num3 | num2) + (num3 & num2)); + array[num] = b; + if (_206A_202B_200F_200E_206F_200D_206A_202A_202D_200C_202D_202D_202E_202C_206C_200E_206E_206D_206D_202C_200D_206C_200D_206C_200D_200E_200C_200D_206B_200F_200B_206A_202D_206D_206C_202A_206B_202E_206B_206A_202E >= _200E_206E_200B_200E_200F_206D_202A_206D_202E_200C_202C_202D_202C_200D_206B_200C_206A_206F_202E_200C_206F_202E_206E_206D_206B_200D_206E_200F_202D_200D_206C_202D_200C_206B_206D_202A_202C_206E_202B_200E_202E) + { + _202C_200D_202C_206A_202D_206A_206D_200C_200B_206E_202A_202A_202C_200B_206D_206E_202B_206D_206E_200D_202C_206B_202E_206A_202B_202C_206F_200B_206D_206F_200D_206F_206E_200D_206C_200E_202A_206A_206D_206E_202E(); + } + } + + internal byte _200C_200B_206A_202C_206D_202A_200E_202B_200F_206F_206B_206F_206B_200D_202A_200F_206D_206E_202D_200E_202C_206E_202E_206F_206B_206E_206C_200E_206C_200E_202C_206F_202A_200B_206F_202D_202B_206B_200C_200D_202E(uint distance) + { + uint num = _206A_202B_200F_200E_206F_200D_206A_202A_202D_200C_202D_202D_202E_202C_206C_200E_206E_206D_206D_202C_200D_206C_200D_206C_200D_200E_200C_200D_206B_200F_200B_206A_202D_206D_206C_202A_206B_202E_206B_206A_202E; + int num2 = (int)distance; + int num3 = (int)num; + int num4 = ~(~num3 + num2); + num2 = 1; + num3 = num4; + uint num5 = (uint)(~(~num3 + num2)); + if (num5 >= _200E_206E_200B_200E_200F_206D_202A_206D_202E_200C_202C_202D_202C_200D_206B_200C_206A_206F_202E_200C_206F_202E_206E_206D_206B_200D_206E_200F_202D_200D_206C_202D_200C_206B_206D_202A_202C_206E_202B_200E_202E) + { + uint num6 = num5; + num2 = (int)_200E_206E_200B_200E_200F_206D_202A_206D_202E_200C_202C_202D_202C_200D_206B_200C_206A_206F_202E_200C_206F_202E_206E_206D_206B_200D_206E_200F_202D_200D_206C_202D_200C_206B_206D_202A_202C_206E_202B_200E_202E; + num3 = (int)num6; + int num7 = num3 ^ num2; + int num8 = num3 & num2; + num5 = (uint)(num7 + (num8 + num8)); + } + return _206F_202D_206C_200B_202E_206E_206A_202B_200B_202B_200E_200F_202D_202C_200F_202A_200F_206C_200E_206D_202B_200B_206C_206B_202B_206A_200B_206E_206B_206D_206D_202B_200D_206D_206E_206B_202D_200D_202D_206B_202E[num5]; + } + + internal _206B_200E_206F_202A_202A_206A_200E_206B_202E_200F_200F_200F_206B_206A_206E_202E_206C_202B_206D_202E_206B_200F_202C_202A_202D_202B_206F_202E_200C_206D_202D_206D_206E_200C_206E_202A_206F_200D_206D_202D_202E() + { + } +} +internal struct _202C_200D_200E_202C_206B_202E_202C_206B_200F_200B_206C_200C_202A_206A_200E_206C_202C_202A_200E_200B_202C_206C_206D_200E_206D_200E_206C_202A_200B_206B_200D_206D_206B_202B_206C_200C_200E_202A_202D_206E_202E +{ + internal uint _202B_200F_202D_206D_206A_200C_202E_202E_206D_202C_200D_202A_202D_202A_200B_200F_206B_202D_202C_206D_200D_202B_206D_200F_206B_200D_206E_202B_200F_206A_206D_202D_200F_200C_200D_202D_202D_200C_206E_206F_202E; + + internal void _206F_206F_200D_206E_206B_206B_206D_202D_206B_206A_202D_206F_200E_206A_202B_202C_202D_202A_206E_206C_200F_206D_202C_202C_206D_202D_200E_206C_202E_202A_200E_200F_202E_200E_206F_202A_206A_206D_206C_206D_202E() + { + _202B_200F_202D_206D_206A_200C_202E_202E_206D_202C_200D_202A_202D_202A_200B_200F_206B_202D_202C_206D_200D_202B_206D_200F_206B_200D_206E_202B_200F_206A_206D_202D_200F_200C_200D_202D_202D_200C_206E_206F_202E = 0u; + } + + internal void _206C_206E_202C_206F_206D_202D_200B_200E_200F_206C_206D_206F_200D_202C_200F_200C_200B_200E_200C_206C_200D_206A_206C_200C_206E_206C_200B_206E_206B_206E_202B_200F_206E_206C_206E_206B_200E_200C_200E_206D_202E() + { + if (_202B_200F_202D_206D_206A_200C_202E_202E_206D_202C_200D_202A_202D_202A_200B_200F_206B_202D_202C_206D_200D_202B_206D_200F_206B_200D_206E_202B_200F_206A_206D_202D_200F_200C_200D_202D_202D_200C_206E_206F_202E < 4) + { + _202B_200F_202D_206D_206A_200C_202E_202E_206D_202C_200D_202A_202D_202A_200B_200F_206B_202D_202C_206D_200D_202B_206D_200F_206B_200D_206E_202B_200F_206A_206D_202D_200F_200C_200D_202D_202D_200C_206E_206F_202E = 0u; + } + else if (_202B_200F_202D_206D_206A_200C_202E_202E_206D_202C_200D_202A_202D_202A_200B_200F_206B_202D_202C_206D_200D_202B_206D_200F_206B_200D_206E_202B_200F_206A_206D_202D_200F_200C_200D_202D_202D_200C_206E_206F_202E < 10) + { + uint num = _202B_200F_202D_206D_206A_200C_202E_202E_206D_202C_200D_202A_202D_202A_200B_200F_206B_202D_202C_206D_200D_202B_206D_200F_206B_200D_206E_202B_200F_206A_206D_202D_200F_200C_200D_202D_202D_200C_206E_206F_202E; + int num2 = 3; + int num3 = (int)num; + _202B_200F_202D_206D_206A_200C_202E_202E_206D_202C_200D_202A_202D_202A_200B_200F_206B_202D_202C_206D_200D_202B_206D_200F_206B_200D_206E_202B_200F_206A_206D_202D_200F_200C_200D_202D_202D_200C_206E_206F_202E = (uint)(~(~num3 + num2)); + } + else + { + uint num4 = _202B_200F_202D_206D_206A_200C_202E_202E_206D_202C_200D_202A_202D_202A_200B_200F_206B_202D_202C_206D_200D_202B_206D_200F_206B_200D_206E_202B_200F_206A_206D_202D_200F_200C_200D_202D_202D_200C_206E_206F_202E; + int num2 = 6; + int num3 = (int)num4; + _202B_200F_202D_206D_206A_200C_202E_202E_206D_202C_200D_202A_202D_202A_200B_200F_206B_202D_202C_206D_200D_202B_206D_200F_206B_200D_206E_202B_200F_206A_206D_202D_200F_200C_200D_202D_202D_200C_206E_206F_202E = (uint)(~(~num3 + num2)); + } + } + + internal void _206F_200B_200D_200E_200F_206B_202B_200B_206D_206F_202C_206D_200C_206B_206F_200C_202B_206F_206C_206F_202D_202A_200C_206D_200C_200E_202C_206E_200F_206E_202E_206F_202C_200E_202E_200F_202D_202E_200B_202A_202E() + { + _202B_200F_202D_206D_206A_200C_202E_202E_206D_202C_200D_202A_202D_202A_200B_200F_206B_202D_202C_206D_200D_202B_206D_200F_206B_200D_206E_202B_200F_206A_206D_202D_200F_200C_200D_202D_202D_200C_206E_206F_202E = ((_202B_200F_202D_206D_206A_200C_202E_202E_206D_202C_200D_202A_202D_202A_200B_200F_206B_202D_202C_206D_200D_202B_206D_200F_206B_200D_206E_202B_200F_206A_206D_202D_200F_200C_200D_202D_202D_200C_206E_206F_202E < 7) ? 7u : 10u); + } + + internal void _202C_206F_202C_206D_200F_202B_200F_200F_206B_206B_202D_206F_202E_202A_206D_206C_200B_206A_206D_200B_206F_206A_206D_200B_206D_206E_200C_206D_202C_200B_206E_202A_202E_206C_202A_202B_206C_206A_200E_206E_202E() + { + _202B_200F_202D_206D_206A_200C_202E_202E_206D_202C_200D_202A_202D_202A_200B_200F_206B_202D_202C_206D_200D_202B_206D_200F_206B_200D_206E_202B_200F_206A_206D_202D_200F_200C_200D_202D_202D_200C_206E_206F_202E = ((_202B_200F_202D_206D_206A_200C_202E_202E_206D_202C_200D_202A_202D_202A_200B_200F_206B_202D_202C_206D_200D_202B_206D_200F_206B_200D_206E_202B_200F_206A_206D_202D_200F_200C_200D_202D_202D_200C_206E_206F_202E < 7) ? 8u : 11u); + } + + internal void _206A_206D_202E_206A_202E_200E_206B_202C_202E_200D_202C_206D_202E_202D_206E_206F_200C_206A_200D_206E_200B_200E_206A_202B_206B_200B_202B_206B_202E_202B_200E_202C_206C_200C_206A_200E_200F_200F_202B_202B_202E() + { + _202B_200F_202D_206D_206A_200C_202E_202E_206D_202C_200D_202A_202D_202A_200B_200F_206B_202D_202C_206D_200D_202B_206D_200F_206B_200D_206E_202B_200F_206A_206D_202D_200F_200C_200D_202D_202D_200C_206E_206F_202E = ((_202B_200F_202D_206D_206A_200C_202E_202E_206D_202C_200D_202A_202D_202A_200B_200F_206B_202D_202C_206D_200D_202B_206D_200F_206B_200D_206E_202B_200F_206A_206D_202D_200F_200C_200D_202D_202D_200C_206E_206F_202E < 7) ? 9u : 11u); + } + + internal bool _206A_202B_200F_202A_206A_206C_200F_206E_200C_202C_200C_206A_200E_200C_202A_200E_206F_206C_200C_202B_200C_202A_202C_206E_202B_206B_206A_206F_206E_200F_206C_202D_200D_206C_200C_202D_206D_200C_206D_200D_202E() + { + return _202B_200F_202D_206D_206A_200C_202E_202E_206D_202C_200D_202A_202D_202A_200B_200F_206B_202D_202C_206D_200D_202B_206D_200F_206B_200D_206E_202B_200F_206A_206D_202D_200F_200C_200D_202D_202D_200C_206E_206F_202E < 7; + } +} +[StructLayout(LayoutKind.Explicit, Size = 192)] +internal struct _200E_202D_200C_200D_202C_206A_200B_206D_202C_206A_206E_200B_200B_202E_200C_206A_206E_206D_202E_206A_206A_200E_206E_202B_202E_200E_202D_206B_202B_202C_202D_202B_202A_200D_202E_200B_206A_202D_206A_206F_202E +{ +} diff --git a/SmartNav.Data/-Module-.cs b/SmartNav.Data/-Module-.cs new file mode 100644 index 0000000..c928a62 --- /dev/null +++ b/SmartNav.Data/-Module-.cs @@ -0,0 +1,1456 @@ +using System; +using System.IO; +using System.Runtime.CompilerServices; +using System.Text; + +internal class _003CModule_003E +{ + internal static byte[] _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + + internal static _200E_202D_200C_200D_202C_206A_200B_206D_202C_206A_206E_200B_200B_202E_200C_206A_206E_206D_202E_206A_206A_200E_206E_202B_202E_200E_202D_206B_202B_202C_202D_202B_202A_200D_202E_200B_206A_202D_206A_206F_202E _200D_202C_202E_206E_206A_206B_202B_202D_206A_200D_206B_200C_200D_202D_200D_206D_206A_200F_202C_206D_202B_202D_206E_206C_206A_200C_200E_206E_202D_206F_206E_206D_206A_200F_206C_202A_202B_206F_206F_202A_202E/* Not supported: data(2C 22 B9 E5 66 B5 6D A8 78 82 76 18 FA E4 EC 85 08 5D 04 3E 25 D8 E0 45 DC 52 FB 9B 11 29 77 64 C7 E1 B0 AF 6E 58 EF A8 DE EB 08 24 C5 49 17 A2 F1 57 64 DB B9 7E BF 72 B4 CC 13 3C 8C 01 5B 41 10 93 6F DE 8A 64 A8 4F 48 E9 BD C3 4F B2 F6 41 64 93 7D A8 49 7F E1 6A 6F AD C3 6A 01 D0 51 98 4D CE 86 89 91 F0 FB 27 09 96 D9 BE 0A F3 D4 4B 47 23 26 66 55 94 95 64 22 6A 40 53 76 50 49 CD DA A2 AC F3 3C FA CB 45 E6 6B 0F 63 D5 2A A3 27 64 93 7D 5C 34 DF 2A 26 23 7E 3F 9B 71 C8 34 E9 07 73 2A FB F1 95 C8 CB 43 2B 75 CC 0A F3 D4 4B 46 52 15 6D 88 4E C7 9D 44 C3 FC 80 A8 B7 81 BA) */; + + static _003CModule_003E() + { + _200F_206E_202A_200C_202E_202E_206A_200E_200E_200B_202C_200F_202D_200B_206A_202E_200C_206D_202E_206B_200E_206C_202E_200D_206E_200E_200D_202A_206C_200F_202E_200F_206E_202C_200D_200B_206A_200E_206B_202A_202E(); + } + + internal static byte[] _202A_202D_202A_202A_206A_206A_202A_206F_206E_202D_200D_206D_202D_202D_200B_202B_206D_206C_206A_206B_206C_206C_202B_202C_200E_206B_202D_202C_206E_200B_206E_200C_200D_206E_206D_202E_202D_200B_202C_202A_202E(byte[] data) + { + MemoryStream memoryStream = new MemoryStream(data); + _206C_206B_200B_200B_202D_200B_202E_206A_202E_200C_202C_202B_202E_206C_206E_200F_200F_206C_206E_202E_202B_202E_202D_206F_202A_206A_206C_202C_202C_200F_206B_202C_206A_202C_200B_202C_202D_206C_200D_206E_202E obj = new _206C_206B_200B_200B_202D_200B_202E_206A_202E_200C_202C_202B_202E_206C_206E_200F_200F_206C_206E_202E_202B_202E_202D_206F_202A_206A_206C_202C_202C_200F_206B_202C_206A_202C_200B_202C_202D_206C_200D_206E_202E(); + byte[] array = new byte[5]; + int num = 0; + while (num < 5) + { + int num2 = num; + int offset = num; + int num3 = num; + int num4 = 5; + num = num2 + memoryStream.Read(array, offset, ~(~num4 + num3)); + } + obj._200E_202C_202E_200E_200E_206E_202C_206F_206B_202D_200F_206A_202A_202B_200B_202C_200F_206E_206D_200B_206E_206C_200C_202E_202A_200D_202C_206E_206F_202D_202D_202C_202C_202E_202C_200C_202E_206F_206B_202E(array); + num = 0; + while (num < 4) + { + int num5 = num; + int offset2 = num; + int num3 = num; + int num4 = 4; + num = num5 + memoryStream.Read(array, offset2, ~(~num4 + num3)); + } + if (!BitConverter.IsLittleEndian) + { + Array.Reverse((Array)array, 0, 4); + } + int num6 = BitConverter.ToInt32(array, 0); + byte[] array2 = new byte[num6]; + MemoryStream outStream = new MemoryStream(array2, writable: true); + long inSize = memoryStream.Length - 5 - 4; + obj._200B_206B_206C_202D_206B_200C_206E_206B_200E_202D_200E_200C_206A_206C_200F_200F_206A_206A_202E_200E_202C_206D_200C_200D_206B_206A_202B_206E_206D_200E_206B_206A_200E_206D_200E_206E_206A_202C_206A_206B_202E(memoryStream, outStream, inSize, num6); + return array2; + } + + internal static void _200F_206E_202A_200C_202E_202E_206A_200E_200E_200B_202C_200F_202D_200B_206A_202E_200C_206D_202E_206B_200E_206C_202E_200D_206E_200E_200D_202A_206C_200F_202E_200F_206E_202C_200D_200B_206A_200E_206B_202A_202E() + { + uint num = 48u; + uint[] array = new uint[48] + { + 3854115372u, 2825762150u, 410419832u, 2246894842u, 1040473352u, 1172363301u, 2616939228u, 1685530897u, 2947604935u, 2834258030u, + 604564446u, 2719435205u, 3680786417u, 1925152441u, 1007930548u, 1096483212u, 3731854096u, 1336435850u, 3284003144u, 1106686543u, + 2826802020u, 1793163081u, 1791208815u, 2555498497u, 2307313229u, 670822545u, 3201930761u, 1272247050u, 1713775431u, 1687524437u, + 1396730402u, 3444134006u, 4088177370u, 1170995772u, 1661955046u, 665004757u, 1551733604u, 640343860u, 2604629539u, 3912550513u, + 4213863175u, 3418920433u, 3430230851u, 1272247050u, 1830113862u, 2647084680u, 2164048708u, 3129063336u + }; + uint[] array2 = new uint[16]; + uint num2 = 2447872347u; + int num3 = 0; + while (num3 < 16) + { + uint num4 = num2; + int num5 = (int)(num2 >> 12); + int num6 = (int)num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + num2 = (uint)(num7 - (num8 + num8)); + uint num9 = num2; + num5 = (int)(num2 << 25); + num6 = (int)num9; + num2 = (uint)((num6 | num5) - (num6 & num5)); + uint num10 = num2; + num5 = (int)(num2 >> 27); + num6 = (int)num10; + num2 = (array2[num3] = (uint)((num6 | num5) - (num6 & num5))); + int num11 = num3; + num5 = 1; + num6 = num11; + num3 = (num6 | num5) + (num6 & num5); + } + int num12 = 0; + int num13 = 0; + uint[] array3 = new uint[16]; + byte[] array4 = new byte[num * 4]; + while (num12 < num) + { + int num14 = 0; + int num5; + int num6; + while (num14 < 16) + { + int num15 = num14; + int num16 = num12; + num5 = num14; + num6 = num16; + int num17 = num6 ^ num5; + int num18 = num6 & num5; + array3[num15] = array[num17 + (num18 + num18)]; + int num19 = num14; + num5 = 1; + num6 = num19; + int num20 = num6 ^ num5; + int num21 = num6 & num5; + num14 = num20 + (num21 + num21); + } + uint num22 = array3[5]; + num5 = -776044471; + num6 = (int)num22; + uint num23 = (uint)((num6 | num5) - (num6 ^ num5)); + uint num24 = array3[5]; + num5 = 776044470; + num6 = (int)num24; + array3[5] = (uint)((num6 | num5) - (num6 ^ num5)); + uint num25 = array3[5]; + uint num26 = array3[14]; + num5 = -776044471; + num6 = (int)num26; + num5 = (num6 | num5) - (num6 ^ num5); + num6 = (int)num25; + array3[5] = (uint)((num6 & num5) + (num6 ^ num5)); + num23 *= 3640720333u; + uint num27 = array3[14]; + num5 = 776044470; + num6 = (int)num27; + array3[14] = (uint)(num6 + num5 - (num6 | num5)); + uint num28 = array3[14]; + num5 = (int)num23 * -1635489531; + num6 = (int)num28; + array3[14] = (uint)(num6 + num5 - (num6 & num5)); + uint num29 = array3[7]; + num5 = (int)array3[15]; + num6 = (int)num29; + int num30 = num6 + num5; + int num31 = num6 & num5; + array3[7] = (uint)(num30 - (num31 + num31)); + uint num32 = array3[0]; + num5 = 278229082; + num6 = (int)num32; + num23 = (uint)((num6 | num5) - (num6 ^ num5)); + uint num33 = array3[0]; + num5 = -278229083; + num6 = (int)num33; + array3[0] = (uint)(num6 + num5 - (num6 | num5)); + uint num34 = array3[7] * 15; + num23 *= 2982415717u; + uint num35 = array3[10]; + num5 = (int)(~array3[8]); + num6 = (int)num35; + int num36 = num6 + num5; + int num37 = num6 & num5; + array3[10] = (uint)(num36 - (num37 + num37)); + uint num38 = array3[0]; + uint num39 = array3[13]; + num5 = 278229082; + num6 = (int)num39; + num5 = num6 + num5 - (num6 | num5); + num6 = (int)num38; + array3[0] = (uint)(num6 + num5 - (num6 & num5)); + uint num40 = array3[8]; + num5 = (int)array2[8]; + num6 = (int)num40; + int num41 = num6 + num5; + int num42 = num6 & num5; + array3[8] = (uint)(num41 - (num42 + num42)); + uint num43 = array3[9]; + num5 = (int)array2[9]; + num6 = (int)num43; + int num44 = num6 + num5; + int num45 = num6 & num5; + array3[9] = (uint)(num44 - (num45 + num45)); + uint num46 = array3[13]; + num5 = -278229083; + num6 = (int)num46; + array3[13] = (uint)(num6 + num5 - (num6 | num5)); + uint num47 = array3[14]; + num5 = (int)array3[15]; + num6 = (int)num47; + array3[14] = (uint)(~(~num6 + num5)); + uint num48 = array3[7] * 25; + uint num49 = array3[13]; + num5 = (int)num23 * -2021761939; + num6 = (int)num49; + array3[13] = (uint)(num6 + num5 - (num6 & num5)); + uint num50 = array3[2]; + num5 = (int)array3[6]; + num6 = (int)num50; + array3[2] = (uint)(~(~num6 + num5)); + uint num51 = array3[1]; + num5 = -1639718482; + num6 = (int)num51; + int num52 = num6 + num5; + int num53 = num6 & num5; + array3[1] = (uint)(num52 - (num53 + num53)); + uint num54 = array3[5]; + num5 = (int)array2[5]; + num6 = (int)num54; + array3[5] = (uint)((num6 | num5) - (num6 & num5)); + uint num55 = array3[9]; + num5 = (int)(~array3[11]); + num6 = (int)num55; + int num56 = num6 + num5; + int num57 = num6 & num5; + array3[9] = (uint)(num56 - (num57 + num57)); + uint num58 = array3[4]; + num5 = -192377700; + num6 = (int)num58; + num23 = (uint)((num6 | num5) - (num6 ^ num5)); + num23 *= 4244890943u; + uint num59 = array3[4]; + num5 = 192377699; + num6 = (int)num59; + array3[4] = (uint)((num6 | num5) - (num6 ^ num5)); + uint num60 = array3[4]; + uint num61 = array3[12]; + num5 = -192377700; + num6 = (int)num61; + num5 = num6 + num5 - (num6 | num5); + num6 = (int)num60; + array3[4] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num62 = array3[12]; + num5 = 192377699; + num6 = (int)num62; + array3[12] = (uint)((num6 | num5) - (num6 ^ num5)); + uint num63 = array3[7] << 2; + uint num64 = array3[12]; + num5 = (int)(num23 * 1786546879); + num6 = (int)num64; + array3[12] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num65 = array3[12]; + num5 = (int)array2[12]; + num6 = (int)num65; + array3[12] = (uint)((num6 | num5) - (num6 & num5)); + num23 = array3[7] << 2; + uint num66 = array3[6]; + num5 = 456039971; + num6 = (int)num66; + array3[6] = (uint)((num6 | num5) - (num6 & num5)); + uint num67 = num34; + num5 = (int)(array3[12] * 92); + num6 = (int)num67; + int num68 = num6 ^ num5; + int num69 = num6 & num5; + num34 = (uint)(num68 + (num69 + num69)); + uint num70 = num48; + num5 = (int)(array3[12] * 153); + num6 = (int)num70; + int num71 = num6 ^ num5; + int num72 = num6 & num5; + num48 = (uint)(num71 + (num72 + num72)); + uint num73 = array3[10]; + num5 = (int)array3[11]; + num6 = (int)num73; + int num74 = num6 + num5; + int num75 = num6 & num5; + array3[10] = (uint)(num74 - (num75 + num75)); + uint num76 = num23; + num5 = (int)(array3[12] * 27); + num6 = (int)num76; + num23 = (uint)((num6 | num5) + (num6 & num5)); + uint num77 = num63; + num5 = (int)(array3[12] * 22); + num6 = (int)num77; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num78 = num23; + num5 = (int)(array3[8] * 54); + num6 = (int)num78; + int num79 = num6 ^ num5; + int num80 = num6 & num5; + num23 = (uint)(num79 + (num80 + num80)); + uint num81 = num48; + num5 = (int)(array3[8] * 284); + num6 = (int)num81; + int num82 = num6 ^ num5; + int num83 = num6 & num5; + num48 = (uint)(num82 + (num83 + num83)); + uint num84 = num23; + num5 = (int)(array3[1] << 4); + num6 = (int)num84; + int num85 = num6 ^ num5; + int num86 = num6 & num5; + num23 = (uint)(num85 + (num86 + num86)); + uint num87 = num34; + num5 = (int)(array3[8] * 171); + num6 = (int)num87; + num34 = (uint)((num6 | num5) + (num6 & num5)); + uint num88 = num23; + num5 = (int)(array3[1] << 5); + num6 = (int)num88; + int num89 = num6 ^ num5; + int num90 = num6 & num5; + num23 = (uint)(num89 + (num90 + num90)); + uint num91 = num48; + num5 = (int)(array3[1] * 250); + num6 = (int)num91; + num48 = (uint)((num6 | num5) + (num6 & num5)); + uint num92 = num63; + num5 = (int)(array3[8] * 37); + num6 = (int)num92; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num93 = num63; + num5 = (int)(array3[1] << 5); + num6 = (int)num93; + num63 = (uint)((num6 | num5) + (num6 & num5)); + array3[7] = num23; + uint num94 = num34; + num5 = (int)(array3[1] * 151); + num6 = (int)num94; + int num95 = num6 ^ num5; + int num96 = num6 & num5; + num34 = (uint)(num95 + (num96 + num96)); + uint num97 = array3[13]; + num5 = -313568182; + num6 = (int)num97; + int num98 = num6 + num5; + int num99 = num6 & num5; + array3[13] = (uint)(num98 - (num99 + num99)); + array3[1] = num48; + num23 = array3[0] << 1; + uint num100 = num23; + num5 = (int)array3[0]; + num6 = (int)num100; + num23 = (uint)((num6 | num5) + (num6 & num5)); + array3[12] = num63; + num48 = array3[0] * 11; + uint num101 = num48; + num5 = (int)(array3[5] << 1); + num6 = (int)num101; + int num102 = num6 ^ num5; + int num103 = num6 & num5; + num48 = (uint)(num102 + (num103 + num103)); + uint num104 = num48; + num5 = (int)(array3[5] << 3); + num6 = (int)num104; + num48 = (uint)((num6 | num5) + (num6 & num5)); + num63 = array3[0] * 21; + uint num105 = num23; + num5 = (int)(array3[5] << 2); + num6 = (int)num105; + int num106 = num6 ^ num5; + int num107 = num6 & num5; + num23 = (uint)(num106 + (num107 + num107)); + uint num108 = num23; + num5 = (int)(array3[9] * 13); + num6 = (int)num108; + num23 = (uint)((num6 | num5) + (num6 & num5)); + array3[8] = num34; + uint num109 = array3[1]; + num5 = (int)array2[1]; + num6 = (int)num109; + array3[1] = (uint)((num6 | num5) - (num6 & num5)); + array3[7] = array3[7] * 334878841; + uint num110 = array3[15]; + num5 = (int)array2[15]; + num6 = (int)num110; + int num111 = num6 + num5; + int num112 = num6 & num5; + array3[15] = (uint)(num111 - (num112 + num112)); + uint num113 = num48; + num5 = (int)(array3[9] << 2); + num6 = (int)num113; + num48 = (uint)((num6 | num5) + (num6 & num5)); + uint num114 = array3[7]; + num5 = (int)array2[7]; + num6 = (int)num114; + int num115 = num6 + num5; + int num116 = num6 & num5; + array3[7] = (uint)(num115 - (num116 + num116)); + uint num117 = num63; + num5 = (int)(array3[5] * 23); + num6 = (int)num117; + int num118 = num6 ^ num5; + int num119 = num6 & num5; + num63 = (uint)(num118 + (num119 + num119)); + uint num120 = num63; + num5 = (int)(array3[9] * 78); + num6 = (int)num120; + int num121 = num6 ^ num5; + int num122 = num6 & num5; + num63 = (uint)(num121 + (num122 + num122)); + num34 = array3[0] * 69; + uint num123 = num34; + num5 = (int)(array3[5] * 78); + num6 = (int)num123; + int num124 = num6 ^ num5; + int num125 = num6 & num5; + num34 = (uint)(num124 + (num125 + num125)); + uint num126 = num63; + num5 = (int)(array3[2] << 5); + num6 = (int)num126; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num127 = num23; + num5 = (int)(array3[2] << 1); + num6 = (int)num127; + int num128 = num6 ^ num5; + int num129 = num6 & num5; + num23 = (uint)(num128 + (num129 + num129)); + uint num130 = num48; + num5 = (int)(array3[9] << 5); + num6 = (int)num130; + int num131 = num6 ^ num5; + int num132 = num6 & num5; + num48 = (uint)(num131 + (num132 + num132)); + uint num133 = num23; + num5 = (int)(array3[2] << 4); + num6 = (int)num133; + num23 = (uint)((num6 | num5) + (num6 & num5)); + uint num134 = num34; + num5 = (int)(array3[9] * 263); + num6 = (int)num134; + num34 = (uint)((num6 | num5) + (num6 & num5)); + array3[9] = num23; + uint num135 = num34; + num5 = (int)(array3[2] * 331); + num6 = (int)num135; + int num136 = num6 ^ num5; + int num137 = num6 & num5; + num34 = (uint)(num136 + (num137 + num137)); + uint num138 = num63; + num5 = (int)(array3[2] << 6); + num6 = (int)num138; + num63 = (uint)((num6 | num5) + (num6 & num5)); + array3[5] = num63; + num23 = array3[3] >> 19; + uint num139 = num48; + num5 = (int)(array3[2] * 39); + num6 = (int)num139; + int num140 = num6 ^ num5; + int num141 = num6 & num5; + num48 = (uint)(num140 + (num141 + num141)); + num63 = array3[6] >> 3; + array3[6] = array3[6] << 29; + array3[3] = array3[3] << 13; + array3[0] = num48; + uint num142 = array3[6]; + num5 = (int)num63; + num6 = (int)num142; + array3[6] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num143 = array3[0]; + num5 = -1071175130; + num6 = (int)num143; + int num144 = num6 + num5; + int num145 = num6 & num5; + array3[0] = (uint)(num144 - (num145 + num145)); + array3[2] = num34; + uint num146 = array3[2]; + num5 = (int)array2[2]; + num6 = (int)num146; + array3[2] = (uint)((num6 | num5) - (num6 & num5)); + uint num147 = array3[3]; + num5 = (int)num23; + num6 = (int)num147; + array3[3] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num148 = array3[3]; + num5 = (int)array2[3]; + num6 = (int)num148; + array3[3] = (uint)((num6 | num5) - (num6 & num5)); + uint num149 = array3[6]; + num5 = -908475405; + num6 = (int)num149; + num23 = (uint)((num6 | num5) - (num6 ^ num5)); + num63 = array3[1] * 38; + num48 = array3[1] * 31; + uint num150 = array3[4]; + num5 = -274514080; + num6 = (int)num150; + array3[4] = (uint)((num6 | num5) - (num6 & num5)); + uint num151 = num48; + num5 = (int)(array3[15] * 110); + num6 = (int)num151; + num48 = (uint)((num6 | num5) + (num6 & num5)); + num34 = array3[2] >> 7; + uint num152 = array3[6]; + num5 = 908475404; + num6 = (int)num152; + array3[6] = (uint)(num6 + num5 - (num6 | num5)); + uint num153 = array3[6]; + uint num154 = array3[9]; + num5 = -908475405; + num6 = (int)num154; + num5 = (num6 | num5) - (num6 ^ num5); + num6 = (int)num153; + array3[6] = (uint)((num6 & num5) + (num6 ^ num5)); + array3[2] = array3[2] << 25; + num23 *= 2961890683u; + uint num155 = array3[2]; + num5 = (int)num34; + num6 = (int)num155; + array3[2] = (uint)(num6 + num5 - (num6 & num5)); + uint num156 = array3[9]; + num5 = 908475404; + num6 = (int)num156; + array3[9] = (uint)((num6 | num5) - (num6 ^ num5)); + uint num157 = array3[10]; + num5 = (int)array2[10]; + num6 = (int)num157; + int num158 = num6 + num5; + int num159 = num6 & num5; + array3[10] = (uint)(num158 - (num159 + num159)); + num34 = array3[5] >> 17; + uint num160 = num63; + num5 = (int)(array3[15] * 139); + num6 = (int)num160; + int num161 = num6 ^ num5; + int num162 = num6 & num5; + num63 = (uint)(num161 + (num162 + num162)); + uint num163 = array3[9]; + num5 = (int)num23 * -1557628493; + num6 = (int)num163; + array3[9] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num164 = array3[6]; + num5 = (int)(~array3[9]); + num6 = (int)num164; + int num165 = num6 + num5; + int num166 = num6 & num5; + array3[6] = (uint)(num165 - (num166 + num166)); + array3[5] = array3[5] << 15; + uint num167 = array3[13]; + num5 = (int)array2[13]; + num6 = (int)num167; + array3[13] = (uint)((num6 | num5) - (num6 & num5)); + num23 = array3[12] >> 27; + uint num168 = array3[6]; + num5 = (int)array2[6]; + num6 = (int)num168; + int num169 = num6 + num5; + int num170 = num6 & num5; + array3[6] = (uint)(num169 - (num170 + num170)); + array3[12] = array3[12] << 5; + uint num171 = array3[12]; + num5 = (int)num23; + num6 = (int)num171; + array3[12] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num172 = array3[5]; + num5 = (int)num34; + num6 = (int)num172; + array3[5] = (uint)(num6 + num5 - (num6 & num5)); + num34 = array3[1] << 3; + uint num173 = array3[11]; + num5 = (int)array2[11]; + num6 = (int)num173; + array3[11] = (uint)((num6 | num5) - (num6 & num5)); + uint num174 = array3[10]; + num5 = 171024615; + num6 = (int)num174; + array3[10] = (uint)((num6 | num5) - (num6 & num5)); + uint num175 = num63; + num5 = (int)(array3[8] * 88); + num6 = (int)num175; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num176 = num48; + num5 = (int)(array3[8] * 63); + num6 = (int)num176; + int num177 = num6 ^ num5; + int num178 = num6 & num5; + num48 = (uint)(num177 + (num178 + num178)); + num23 = array3[1] << 2; + uint num179 = num34; + num5 = (int)array3[1]; + num6 = (int)num179; + int num180 = num6 ^ num5; + int num181 = num6 & num5; + num34 = (uint)(num180 + (num181 + num181)); + uint num182 = num23; + num5 = (int)array3[1]; + num6 = (int)num182; + num23 = (uint)((num6 | num5) + (num6 & num5)); + uint num183 = num23; + num5 = (int)(array3[15] * 22); + num6 = (int)num183; + int num184 = num6 ^ num5; + int num185 = num6 & num5; + num23 = (uint)(num184 + (num185 + num185)); + uint num186 = num23; + num5 = (int)(array3[8] * 21); + num6 = (int)num186; + int num187 = num6 ^ num5; + int num188 = num6 & num5; + num23 = (uint)(num187 + (num188 + num188)); + uint num189 = num34; + num5 = (int)(array3[15] * 31); + num6 = (int)num189; + int num190 = num6 ^ num5; + int num191 = num6 & num5; + num34 = (uint)(num190 + (num191 + num191)); + uint num192 = num63; + num5 = (int)(array3[14] * 55); + num6 = (int)num192; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num193 = num23; + num5 = (int)(array3[14] * 21); + num6 = (int)num193; + num23 = (uint)((num6 | num5) + (num6 & num5)); + uint num194 = array3[4]; + num5 = (int)array2[4]; + num6 = (int)num194; + int num195 = num6 + num5; + int num196 = num6 & num5; + array3[4] = (uint)(num195 - (num196 + num196)); + uint num197 = num34; + num5 = (int)(array3[8] << 4); + num6 = (int)num197; + int num198 = num6 ^ num5; + int num199 = num6 & num5; + num34 = (uint)(num198 + (num199 + num199)); + uint num200 = array3[4]; + num5 = -1682269421; + num6 = (int)num200; + array3[4] = (uint)((num6 | num5) - (num6 & num5)); + uint num201 = array3[13]; + num5 = (int)(~array3[11]); + num6 = (int)num201; + int num202 = num6 + num5; + int num203 = num6 & num5; + array3[13] = (uint)(num202 - (num203 + num203)); + uint num204 = num48; + num5 = (int)(array3[14] << 5); + num6 = (int)num204; + num48 = (uint)((num6 | num5) + (num6 & num5)); + array3[8] = num63; + uint num205 = num34; + num5 = (int)(array3[14] << 1); + num6 = (int)num205; + int num206 = num6 ^ num5; + int num207 = num6 & num5; + num34 = (uint)(num206 + (num207 + num207)); + uint num208 = num34; + num5 = (int)(array3[14] << 2); + num6 = (int)num208; + num34 = (uint)((num6 | num5) + (num6 & num5)); + array3[14] = num23; + array3[1] = num34; + num63 = array3[0] * 3631003441u; + array3[3] = array3[3] * 425712683; + array3[0] = array3[1]; + uint num209 = array3[0]; + num5 = (int)array2[0]; + num6 = (int)num209; + int num210 = num6 + num5; + int num211 = num6 & num5; + array3[0] = (uint)(num210 - (num211 + num211)); + uint num212 = array3[14]; + num5 = (int)array2[14]; + num6 = (int)num212; + int num213 = num6 + num5; + int num214 = num6 & num5; + array3[14] = (uint)(num213 - (num214 + num214)); + array3[1] = num63 * 128664017; + array3[15] = num48; + for (int num215 = 0; num215 < 16; num215 = (num6 | num5) + (num6 & num5)) + { + uint num216 = array3[num215]; + int num217 = num13; + num5 = 1; + num6 = num217; + int num218 = num6 ^ num5; + int num219 = num6 & num5; + num13 = num218 + (num219 + num219); + array4[num217] = (byte)num216; + int num220 = num13; + num5 = 1; + num6 = num220; + num13 = (num6 | num5) + (num6 & num5); + array4[num220] = (byte)(num216 >> 8); + int num221 = num13; + num5 = 1; + num6 = num221; + int num222 = num6 ^ num5; + int num223 = num6 & num5; + num13 = num222 + (num223 + num223); + array4[num221] = (byte)(num216 >> 16); + int num224 = num13; + num5 = 1; + num6 = num224; + int num225 = num6 ^ num5; + int num226 = num6 & num5; + num13 = num225 + (num226 + num226); + array4[num224] = (byte)(num216 >> 24); + array2[num215] ^= num216; + int num227 = num215; + num5 = 1; + num6 = num227; + } + int num228 = num12; + num5 = 16; + num6 = num228; + int num229 = num6 ^ num5; + int num230 = num6 & num5; + num12 = num229 + (num230 + num230); + } + _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E = _202A_202D_202A_202A_206A_206A_202A_206F_206E_202D_200D_206D_202D_202D_200B_202B_206D_206C_206A_206B_206C_206C_202B_202C_200E_206B_202D_202C_206E_200B_206E_200C_200D_206E_206D_202E_202D_200B_202C_202A_202E(array4); + } + + internal static int _202D_200D_206D_202B_200C_206A_206C_206E_206E_202C_202C_202D_206D_202A_202E_206C_206F_206F_206E_200F_200F_200B_206D_202D_200C_206B_202E_200B_206F_202D_206D_202E_202D_200E_200B_200D_202B_206F_206F_200C_202E(int id) + { + id <<= 2; + byte num = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E[id]; + byte[] array = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num2 = id; + int num3 = 1; + int num4 = num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num3 = array[num5 + (num6 + num6)] << 8; + num4 = num; + int num7 = (num4 & num3) + (num4 ^ num3); + byte[] array2 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num8 = id; + num3 = 2; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num3 = array2[num9 + (num10 + num10)] << 16; + num4 = num7; + int num11 = (num4 & num3) + (num4 ^ num3); + byte[] array3 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num12 = id; + num3 = 3; + num4 = num12; + num3 = array3[(num4 | num3) + (num4 & num3)] << 24; + num4 = num11; + return (num4 & num3) + (num4 ^ num3); + } + + internal static long _202C_200E_202B_206F_200C_202C_206A_206E_206F_202B_200B_202B_206C_206A_206D_206C_206C_206F_206F_202B_206C_202D_206B_206B_202B_200E_202C_200D_202B_202B_206D_202E_206D_202D_206A_202A_206B_206D_202C_206B_202E(int id) + { + id <<= 2; + byte num = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E[id]; + byte[] array = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num2 = id; + int num3 = 1; + int num4 = num2; + num3 = array[(num4 | num3) + (num4 & num3)] << 8; + num4 = num; + int num5 = (num4 & num3) + (num4 ^ num3); + byte[] array2 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num6 = id; + num3 = 2; + num4 = num6; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + num3 = array2[num7 + (num8 + num8)] << 16; + num4 = num5; + int num9 = num4 + num3 - (num4 & num3); + byte[] array3 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num10 = id; + num3 = 3; + num4 = num10; + num3 = array3[(num4 | num3) + (num4 & num3)] << 24; + num4 = num9; + uint num11 = (uint)((num4 & num3) + (num4 ^ num3)); + byte[] array4 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num12 = id; + num3 = 4; + num4 = num12; + int num13 = num4 ^ num3; + int num14 = num4 & num3; + byte num15 = array4[num13 + (num14 + num14)]; + byte[] array5 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num16 = id; + num3 = 5; + num4 = num16; + num3 = array5[(num4 | num3) + (num4 & num3)] << 8; + num4 = num15; + int num17 = (num4 & num3) + (num4 ^ num3); + byte[] array6 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num18 = id; + num3 = 6; + num4 = num18; + num3 = array6[(num4 | num3) + (num4 & num3)] << 16; + num4 = num17; + int num19 = num4 + num3 - (num4 & num3); + byte[] array7 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num20 = id; + num3 = 7; + num4 = num20; + int num21 = num4 ^ num3; + int num22 = num4 & num3; + num3 = array7[num21 + (num22 + num22)] << 24; + num4 = num19; + ulong num23 = (ulong)(uint)((num4 & num3) + (num4 ^ num3)) << 32; + long num24 = num11; + long num25 = (long)num23; + return num25 + num24 - (num25 & num24); + } + + internal static float _202C_200B_202B_202E_206F_200F_200C_206A_202A_206A_202C_202A_200E_206D_202D_200F_202C_202C_206D_202C_202D_206C_206C_200C_206F_200F_200C_206C_200F_206E_202C_206C_202C_200B_202B_202D_200C_200B_206D_202E(int id) + { + return BitConverter.ToSingle(_202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E, id << 2); + } + + internal static double _206B_200F_202B_202E_206A_200F_200C_202D_202C_202A_200C_202C_206F_202D_200E_206A_206E_200D_202A_206C_202E_202B_206D_200C_202E_202D_206D_202D_200B_206E_202B_202A_206A_202C_200B_202C_206B_206C_200F_202E_202E(int id) + { + return BitConverter.ToDouble(_202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E, id << 2); + } + + internal static _002D _202B_206D_206C_202B_200E_206E_202B_202C_200E_206E_206D_206C_200C_206B_202C_202A_202B_200E_202C_206D_206F_200F_202D_206F_200B_200B_200E_200E_206B_200D_206A_200B_206C_202A_206F_202B_202C_206C_206E_202B_202E<_002D>(int id) + { + int num = id * 1019339481; + int num2 = 331797353; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 3: + { + byte num31 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E[id]; + byte[] array10 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num32 = id; + num2 = 1; + num3 = num32; + int num33 = num3 ^ num2; + int num34 = num3 & num2; + num2 = array10[num33 + (num34 + num34)] << 8; + num3 = num31; + int num35 = num3 + num2 - (num3 & num2); + byte[] array11 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num36 = id; + num2 = 2; + num3 = num36; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num35; + int num37 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num38 = id; + num2 = 3; + num3 = num38; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num37; + int count = (num3 & num2) + (num3 ^ num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num39 = id; + num2 = 4; + num3 = num39; + int num40 = num3 ^ num2; + int num41 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num40 + (num41 + num41), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 1: + { + byte num8 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E[id]; + byte[] array = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num9 = id; + num2 = 1; + num3 = num9; + int num10 = num3 ^ num2; + int num11 = num3 & num2; + num2 = array[num10 + (num11 + num11)] << 8; + num3 = num8; + int num12 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num13 = id; + num2 = 2; + num3 = num13; + num2 = array2[(num3 | num2) + (num3 & num2)] << 16; + num3 = num12; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num15 = id; + num2 = 3; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + num2 = array3[num16 + (num17 + num17)] << 24; + num3 = num14; + int num18 = num3 + num2 - (num3 & num2); + byte[] array4 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num19 = id; + num2 = 4; + num3 = num19; + byte num20 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num21 = id; + num2 = 5; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array5[num22 + (num23 + num23)] << 8; + num3 = num20; + int num24 = (num3 & num2) + (num3 ^ num2); + byte[] array6 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num25 = id; + num2 = 6; + num3 = num25; + num2 = array6[(num3 | num2) + (num3 & num2)] << 16; + num3 = num24; + int num26 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num27 = id; + num2 = 7; + num3 = num27; + int num28 = num3 ^ num2; + int num29 = num3 & num2; + num2 = array7[num28 + (num29 + num29)] << 24; + num3 = num26; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num18; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _206B_206A_206F_206A_202A_206A_202A_202D_206B_206B_202B_200B_200E_206A_202D_202D_200B_200C_200D_202D_206F_200C_200F_206A_202C_202C_202E_200F_200D_200E_206F_202A_202D_206A_200C_206B_202D_206A_206E_206B_202E<_002D>(int id) + { + int num = id * -2007666933; + int num2 = 1084522616; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = num3 + num2 - (num3 | num2) << 2; + switch (num6) + { + case 0: + { + byte num29 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E[id]; + byte[] array10 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num30 = id; + num2 = 1; + num3 = num30; + int num31 = num3 ^ num2; + int num32 = num3 & num2; + num2 = array10[num31 + (num32 + num32)] << 8; + num3 = num29; + int num33 = num3 + num2 - (num3 & num2); + byte[] array11 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num34 = id; + num2 = 2; + num3 = num34; + int num35 = num3 ^ num2; + int num36 = num3 & num2; + num2 = array11[num35 + (num36 + num36)] << 16; + num3 = num33; + int num37 = num3 + num2 - (num3 & num2); + byte[] array12 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num38 = id; + num2 = 3; + num3 = num38; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num37; + int count = (num3 & num2) + (num3 ^ num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num39 = id; + num2 = 4; + num3 = num39; + int num40 = num3 ^ num2; + int num41 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num40 + (num41 + num41), count)); + } + case 1: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 3: + { + byte num8 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E[id]; + byte[] array = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num11 = id; + num2 = 2; + num3 = num11; + num2 = array2[(num3 | num2) + (num3 & num2)] << 16; + num3 = num10; + int num12 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num13 = id; + num2 = 3; + num3 = num13; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num12; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array4 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num15 = id; + num2 = 4; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + byte num18 = array4[num16 + (num17 + num17)]; + byte[] array5 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num19 = id; + num2 = 5; + num3 = num19; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num18; + int num20 = num3 + num2 - (num3 & num2); + byte[] array6 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num21 = id; + num2 = 6; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array6[num22 + (num23 + num23)] << 16; + num3 = num20; + int num24 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num25 = id; + num2 = 7; + num3 = num25; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num24; + int length = (num3 & num2) + (num3 ^ num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num26 = id; + num2 = 8; + num3 = num26; + int num27 = num3 ^ num2; + int num28 = num3 & num2; + int srcOffset = num27 + (num28 + num28); + num2 = 4; + num3 = num14; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _202E_202A_206A_202B_202D_206F_202B_200E_200B_200B_206A_206D_200F_202D_206F_200F_206F_206F_206B_206A_206B_202D_206C_206B_202A_200C_206F_206C_200C_206D_202D_202E_202D_202E_202D_206C_200D_206C_206B_200D_202E<_002D>(int id) + { + int num = id * -398786619; + int num2 = 1434138467; + int num3 = num; + id = (num3 | num2) - (num3 & num2); + int num4 = id >>> 30; + int num5 = id; + num2 = 1073741823; + num3 = num5; + id = num3 + num2 - (num3 | num2) << 2; + switch (num4) + { + case 2: + { + byte num33 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E[id]; + byte[] array10 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num34 = id; + num2 = 1; + num3 = num34; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num33; + int num35 = num3 + num2 - (num3 & num2); + byte[] array11 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num36 = id; + num2 = 2; + num3 = num36; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num35; + int num37 = num3 + num2 - (num3 & num2); + byte[] array12 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num38 = id; + num2 = 3; + num3 = num38; + int num39 = num3 ^ num2; + int num40 = num3 & num2; + num2 = array12[num39 + (num40 + num40)] << 24; + num3 = num37; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num41 = id; + num2 = 4; + num3 = num41; + int num42 = num3 ^ num2; + int num43 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num42 + (num43 + num43), count)); + } + case 0: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 3: + { + byte num6 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E[id]; + byte[] array = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num7 = id; + num2 = 1; + num3 = num7; + int num8 = num3 ^ num2; + int num9 = num3 & num2; + num2 = array[num8 + (num9 + num9)] << 8; + num3 = num6; + int num10 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num15 = id; + num2 = 3; + num3 = num15; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num14; + int num16 = (num3 & num2) + (num3 ^ num2); + byte[] array4 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num17 = id; + num2 = 4; + num3 = num17; + byte num18 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num19 = id; + num2 = 5; + num3 = num19; + int num20 = num3 ^ num2; + int num21 = num3 & num2; + num2 = array5[num20 + (num21 + num21)] << 8; + num3 = num18; + int num22 = num3 + num2 - (num3 & num2); + byte[] array6 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num23 = id; + num2 = 6; + num3 = num23; + int num24 = num3 ^ num2; + int num25 = num3 & num2; + num2 = array6[num24 + (num25 + num25)] << 16; + num3 = num22; + int num26 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num27 = id; + num2 = 7; + num3 = num27; + int num28 = num3 ^ num2; + int num29 = num3 & num2; + num2 = array7[num28 + (num29 + num29)] << 24; + num3 = num26; + int length = (num3 & num2) + (num3 ^ num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int num31 = num3 ^ num2; + int num32 = num3 & num2; + int srcOffset = num31 + (num32 + num32); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _202B_206C_202B_200C_200D_202B_202C_200E_202A_206C_206C_202E_206F_202E_200B_202D_202C_202D_200C_200D_206F_206E_206E_206F_206A_200F_200D_202A_206C_206C_200F_200E_200B_202D_206E_206B_206B_202A_202B_200E_202E<_002D>(int id) + { + int num = id * 1318072633; + int num2 = -1775635715; + int num3 = num; + id = (num3 | num2) - (num3 & num2); + int num4 = id >>> 30; + int num5 = id; + num2 = 1073741823; + num3 = num5; + id = num3 + num2 - (num3 | num2) << 2; + switch (num4) + { + case 1: + { + byte num31 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E[id]; + byte[] array10 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num32 = id; + num2 = 1; + num3 = num32; + int num33 = num3 ^ num2; + int num34 = num3 & num2; + num2 = array10[num33 + (num34 + num34)] << 8; + num3 = num31; + int num35 = num3 + num2 - (num3 & num2); + byte[] array11 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num36 = id; + num2 = 2; + num3 = num36; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num35; + int num37 = num3 + num2 - (num3 & num2); + byte[] array12 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num38 = id; + num2 = 3; + num3 = num38; + int num39 = num3 ^ num2; + int num40 = num3 & num2; + num2 = array12[num39 + (num40 + num40)] << 24; + num3 = num37; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num41 = id; + num2 = 4; + num3 = num41; + int num42 = num3 ^ num2; + int num43 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num42 + (num43 + num43), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 3: + { + byte num6 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E[id]; + byte[] array = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num7 = id; + num2 = 1; + num3 = num7; + int num8 = num3 ^ num2; + int num9 = num3 & num2; + num2 = array[num8 + (num9 + num9)] << 8; + num3 = num6; + int num10 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num15 = id; + num2 = 3; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + num2 = array3[num16 + (num17 + num17)] << 24; + num3 = num14; + int num18 = num3 + num2 - (num3 & num2); + byte[] array4 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num19 = id; + num2 = 4; + num3 = num19; + byte num20 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num21 = id; + num2 = 5; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array5[num22 + (num23 + num23)] << 8; + num3 = num20; + int num24 = num3 + num2 - (num3 & num2); + byte[] array6 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num25 = id; + num2 = 6; + num3 = num25; + int num26 = num3 ^ num2; + int num27 = num3 & num2; + num2 = array6[num26 + (num27 + num27)] << 16; + num3 = num24; + int num28 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num29 = id; + num2 = 7; + num3 = num29; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num28; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num18; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _202C_200E_206B_202E_202C_202D_206F_202A_200E_206D_202A_200D_206A_202C_200D_206D_202A_206E_200E_206C_206A_206A_200C_206E_206C_202A_200E_206D_200F_206D_200B_202A_202B_200D_202B_206F_202C_200F_200C_200E_202E<_002D>(int id) + { + int num = id * 1026386545; + int num2 = -1096681692; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 3: + { + byte num33 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E[id]; + byte[] array10 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num34 = id; + num2 = 1; + num3 = num34; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num33; + int num35 = (num3 & num2) + (num3 ^ num2); + byte[] array11 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num36 = id; + num2 = 2; + num3 = num36; + int num37 = num3 ^ num2; + int num38 = num3 & num2; + num2 = array11[num37 + (num38 + num38)] << 16; + num3 = num35; + int num39 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num40 = id; + num2 = 3; + num3 = num40; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num39; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num41 = id; + num2 = 4; + num3 = num41; + return (_002D)(object)string.Intern(uTF.GetString(bytes, (num3 | num2) + (num3 & num2), count)); + } + case 1: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 2: + { + byte num8 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E[id]; + byte[] array = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num15 = id; + num2 = 3; + num3 = num15; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num14; + int num16 = num3 + num2 - (num3 & num2); + byte[] array4 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num17 = id; + num2 = 4; + num3 = num17; + byte num18 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num19 = id; + num2 = 5; + num3 = num19; + int num20 = num3 ^ num2; + int num21 = num3 & num2; + num2 = array5[num20 + (num21 + num21)] << 8; + num3 = num18; + int num22 = num3 + num2 - (num3 & num2); + byte[] array6 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num23 = id; + num2 = 6; + num3 = num23; + int num24 = num3 ^ num2; + int num25 = num3 & num2; + num2 = array6[num24 + (num25 + num25)] << 16; + num3 = num22; + int num26 = num3 + num2 - (num3 & num2); + byte[] array7 = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num27 = id; + num2 = 7; + num3 = num27; + int num28 = num3 ^ num2; + int num29 = num3 & num2; + num2 = array7[num28 + (num29 + num29)] << 24; + num3 = num26; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _202C_206E_200F_200B_206C_206D_206E_202D_206D_202D_200E_206B_206A_202B_202A_206F_206C_206E_202B_202B_206A_206A_206C_202D_206E_206A_200E_206A_206C_206E_206C_202A_200B_200E_202B_202C_202C_200E_202E_206A_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int num31 = num3 ^ num2; + int num32 = num3 & num2; + int srcOffset = num31 + (num32 + num32); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } +} diff --git a/SmartNav.Data/SmartNav.Data.chocobo-taxi-stands.bin b/SmartNav.Data/SmartNav.Data.chocobo-taxi-stands.bin new file mode 100644 index 0000000..7f11366 Binary files /dev/null and b/SmartNav.Data/SmartNav.Data.chocobo-taxi-stands.bin differ diff --git a/SmartNav.Data/SmartNav.Data.csproj b/SmartNav.Data/SmartNav.Data.csproj new file mode 100644 index 0000000..33a608b --- /dev/null +++ b/SmartNav.Data/SmartNav.Data.csproj @@ -0,0 +1,32 @@ + + + + SmartNav.Data + False + netcoreapp1.0 + + + 12.0 + True + + + + + + + + + + + + + + + + + + + ..\..\SmartNav.Model.dll + + + \ No newline at end of file diff --git a/SmartNav.Data/SmartNav.Data.derived-arrivals.bin b/SmartNav.Data/SmartNav.Data.derived-arrivals.bin new file mode 100644 index 0000000..c802c27 Binary files /dev/null and b/SmartNav.Data/SmartNav.Data.derived-arrivals.bin differ diff --git a/SmartNav.Data/SmartNav.Data.teleport-tickets.bin b/SmartNav.Data/SmartNav.Data.teleport-tickets.bin new file mode 100644 index 0000000..287cbd2 Binary files /dev/null and b/SmartNav.Data/SmartNav.Data.teleport-tickets.bin differ diff --git a/SmartNav.Data/SmartNav.Data.warp-destinations.bin b/SmartNav.Data/SmartNav.Data.warp-destinations.bin new file mode 100644 index 0000000..71ffb4b Binary files /dev/null and b/SmartNav.Data/SmartNav.Data.warp-destinations.bin differ diff --git a/SmartNav.Data/SmartNav.Data.zone-sub-regions.bin b/SmartNav.Data/SmartNav.Data.zone-sub-regions.bin new file mode 100644 index 0000000..22610a4 Binary files /dev/null and b/SmartNav.Data/SmartNav.Data.zone-sub-regions.bin differ diff --git a/SmartNav.Data/SmartNav.Data/AssemblyDerivedArrivalLoader.cs b/SmartNav.Data/SmartNav.Data/AssemblyDerivedArrivalLoader.cs new file mode 100644 index 0000000..edaae61 --- /dev/null +++ b/SmartNav.Data/SmartNav.Data/AssemblyDerivedArrivalLoader.cs @@ -0,0 +1,11 @@ +using SmartNav.Model.Navigation; + +namespace SmartNav.Data; + +public static class AssemblyDerivedArrivalLoader +{ + public static DerivedArrivalFile GetArrivals(string? overrideDirectory = null) + { + return SmartNavResources.Load("derived-arrivals.json", overrideDirectory) ?? new DerivedArrivalFile(); + } +} diff --git a/SmartNav.Data/SmartNav.Data/AssemblyTaxiStandLoader.cs b/SmartNav.Data/SmartNav.Data/AssemblyTaxiStandLoader.cs new file mode 100644 index 0000000..ba6c4a7 --- /dev/null +++ b/SmartNav.Data/SmartNav.Data/AssemblyTaxiStandLoader.cs @@ -0,0 +1,12 @@ +using System.Collections.Generic; +using SmartNav.Model.Navigation; + +namespace SmartNav.Data; + +public static class AssemblyTaxiStandLoader +{ + public static IReadOnlyList GetStands(string? overrideDirectory = null) + { + return SmartNavResources.Load>("chocobo-taxi-stands.json", overrideDirectory) ?? new List(); + } +} diff --git a/SmartNav.Data/SmartNav.Data/AssemblyTeleportTicketLoader.cs b/SmartNav.Data/SmartNav.Data/AssemblyTeleportTicketLoader.cs new file mode 100644 index 0000000..fb9b9d3 --- /dev/null +++ b/SmartNav.Data/SmartNav.Data/AssemblyTeleportTicketLoader.cs @@ -0,0 +1,12 @@ +using System.Collections.Generic; +using SmartNav.Model.Navigation; + +namespace SmartNav.Data; + +public static class AssemblyTeleportTicketLoader +{ + public static IReadOnlyDictionary GetTickets(string? overrideDirectory = null) + { + return (SmartNavResources.Load("teleport-tickets.json", overrideDirectory) ?? new TeleportTicketFile()).Tickets; + } +} diff --git a/SmartNav.Data/SmartNav.Data/AssemblyWarpDestinationLoader.cs b/SmartNav.Data/SmartNav.Data/AssemblyWarpDestinationLoader.cs new file mode 100644 index 0000000..286220b --- /dev/null +++ b/SmartNav.Data/SmartNav.Data/AssemblyWarpDestinationLoader.cs @@ -0,0 +1,13 @@ +using System.Collections.Generic; +using SmartNav.Model.Navigation; + +namespace SmartNav.Data; + +public static class AssemblyWarpDestinationLoader +{ + public static (IReadOnlyList SkippedWarpIds, IReadOnlyDictionary Destinations) GetOverrides(string? overrideDirectory = null) + { + WarpDestinationOverrides warpDestinationOverrides = SmartNavResources.Load("warp-destinations.json", overrideDirectory) ?? new WarpDestinationOverrides(); + return (SkippedWarpIds: warpDestinationOverrides.SkippedWarpIds, Destinations: warpDestinationOverrides.Destinations); + } +} diff --git a/SmartNav.Data/SmartNav.Data/AssemblyZoneSubRegionLoader.cs b/SmartNav.Data/SmartNav.Data/AssemblyZoneSubRegionLoader.cs new file mode 100644 index 0000000..3f74415 --- /dev/null +++ b/SmartNav.Data/SmartNav.Data/AssemblyZoneSubRegionLoader.cs @@ -0,0 +1,12 @@ +using System.Collections.Generic; +using SmartNav.Model.Navigation; + +namespace SmartNav.Data; + +public static class AssemblyZoneSubRegionLoader +{ + public static IReadOnlyDictionary GetRegions(string? overrideDirectory = null) + { + return (SmartNavResources.Load("zone-sub-regions.json", overrideDirectory) ?? new ZoneSubRegionFile()).Regions; + } +} diff --git a/SmartNav.Data/SmartNav.Data/DataBundleSecret.cs b/SmartNav.Data/SmartNav.Data/DataBundleSecret.cs new file mode 100644 index 0000000..407b0bc --- /dev/null +++ b/SmartNav.Data/SmartNav.Data/DataBundleSecret.cs @@ -0,0 +1,30 @@ +namespace SmartNav.Data; + +internal static class DataBundleSecret +{ + private static readonly byte[] A = new byte[32] + { + 249, 130, 120, 19, 233, 226, 108, 14, 107, 82, + 130, 220, 135, 231, 132, 145, 238, 79, 114, 87, + 123, 65, 202, 110, 156, 178, 236, 146, 151, 20, + 187, 222 + }; + + private static readonly byte[] B = new byte[32] + { + 4, 22, 39, 195, 114, 48, 170, 103, 209, 88, + 134, 221, 112, 108, 144, 135, 150, 118, 49, 201, + 74, 13, 92, 179, 155, 25, 114, 34, 102, 151, + 79, 34 + }; + + internal static byte[] Key() + { + byte[] array = new byte[A.Length]; + for (int i = 0; i < array.Length; i++) + { + array[i] = (byte)(A[i] ^ B[i]); + } + return array; + } +} diff --git a/SmartNav.Data/SmartNav.Data/SmartNavResources.cs b/SmartNav.Data/SmartNav.Data/SmartNavResources.cs new file mode 100644 index 0000000..c231172 --- /dev/null +++ b/SmartNav.Data/SmartNav.Data/SmartNavResources.cs @@ -0,0 +1,58 @@ +using System; +using System.IO; +using System.IO.Compression; +using System.Reflection; +using System.Security.Cryptography; +using System.Text.Json; + +namespace SmartNav.Data; + +internal static class SmartNavResources +{ + private static readonly Assembly Assembly = typeof(SmartNavResources).Assembly; + + public static T? Load(string fileName, string? overrideDirectory) + { + if (overrideDirectory != null) + { + string path = Path.Combine(overrideDirectory, fileName); + if (File.Exists(path)) + { + return DeserializeFile(path); + } + } + return DeserializeResource("SmartNav.Data." + fileName); + } + + public static T? DeserializeFile(string path) + { + using Stream utf8Json = File.OpenRead(path); + return JsonSerializer.Deserialize(utf8Json); + } + + private static T? DeserializeResource(string resourceName) + { + string name = Path.ChangeExtension(resourceName, ".bin"); + using Stream stream = Assembly.GetManifestResourceStream(name); + if (stream == null) + { + return default(T); + } + using MemoryStream memoryStream = new MemoryStream(); + stream.CopyTo(memoryStream); + byte[] array = memoryStream.ToArray(); + byte[] array2 = new byte[array.Length - 28]; + byte[] array3 = DataBundleSecret.Key(); + try + { + using AesGcm aesGcm = new AesGcm(array3, 16); + aesGcm.Decrypt(array.AsSpan(0, 12), array.AsSpan(28), array.AsSpan(12, 16), array2); + } + finally + { + CryptographicOperations.ZeroMemory(array3); + } + using DeflateStream utf8Json = new DeflateStream(new MemoryStream(array2), CompressionMode.Decompress); + return JsonSerializer.Deserialize(utf8Json); + } +} diff --git a/SmartNav.Model/-----------------------------------------.cs b/SmartNav.Model/-----------------------------------------.cs new file mode 100644 index 0000000..0692cf1 --- /dev/null +++ b/SmartNav.Model/-----------------------------------------.cs @@ -0,0 +1,1066 @@ +using System; +using System.IO; +using System.Runtime.InteropServices; + +internal struct _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E +{ + internal uint _206C_206B_200D_200D_202C_200B_202E_200E_200F_202B_206F_206F_206C_202E_200D_206B_202E_200D_200F_200E_202B_200C_202C_202C_200C_200C_206F_200F_202A_202C_202C_206E_200C_202D_206F_200C_200C_202D_200F_200E_202E; + + internal void _206C_200E_206B_206C_202A_206A_206A_202B_200B_202B_200B_206E_206F_200B_202E_206B_200C_206F_202A_206D_200F_206F_206C_202D_202C_200B_202B_200E_200F_200D_206E_206A_206E_202D_206A_202C_202E_202A_202B_206F_202E() + { + _206C_206B_200D_200D_202C_200B_202E_200E_200F_202B_206F_206F_206C_202E_200D_206B_202E_200D_200F_200E_202B_200C_202C_202C_200C_200C_206F_200F_202A_202C_202C_206E_200C_202D_206F_200C_200C_202D_200F_200E_202E = 1024u; + } + + internal uint _202B_202E_202E_206E_206D_206B_202B_206E_200B_200E_206D_206E_206F_202C_200B_200E_200D_202E_206E_200D_202E_200B_200B_206D_206A_200D_202E_200D_200B_206D_200F_202B_200C_202A_202D_206C_206D_206B_200C_200C_202E(_206F_200C_206F_202D_200F_202B_200C_200D_202A_200F_206D_200C_202D_202E_206C_206E_206A_200F_202C_200B_202E_206B_206A_202C_206B_200E_200C_202B_200F_206B_200B_202E_206A_206D_200E_206E_206C_202C_202D_202B_202E rangeDecoder) + { + uint num = (rangeDecoder._202D_206E_202A_202C_200C_200C_206C_206A_206A_206A_206C_206D_206E_202E_206C_200C_200E_200D_202A_206F_200E_202C_200D_202B_200F_202A_202E_206F_202E_206F_206C_200E_200C_200C_200E_206E_202A_206A_200B_206D_202E >> 11) * _206C_206B_200D_200D_202C_200B_202E_200E_200F_202B_206F_206F_206C_202E_200D_206B_202E_200D_200F_200E_202B_200C_202C_202C_200C_200C_206F_200F_202A_202C_202C_206E_200C_202D_206F_200C_200C_202D_200F_200E_202E; + int num3; + int num4; + if (rangeDecoder._206B_206B_206D_200C_200C_202E_206D_202D_202D_200F_200D_200D_200B_206E_206B_206B_202D_200B_206A_202C_206C_200F_200E_206B_200E_202D_200E_202E_202A_202B_202C_200E_206D_202B_206D_202C_206C_202B_200D_200D_202E < num) + { + rangeDecoder._202D_206E_202A_202C_200C_200C_206C_206A_206A_206A_206C_206D_206E_202E_206C_200C_200E_200D_202A_206F_200E_202C_200D_202B_200F_202A_202E_206F_202E_206F_206C_200E_200C_200C_200E_206E_202A_206A_200B_206D_202E = num; + uint num2 = _206C_206B_200D_200D_202C_200B_202E_200E_200F_202B_206F_206F_206C_202E_200D_206B_202E_200D_200F_200E_202B_200C_202C_202C_200C_200C_206F_200F_202A_202C_202C_206E_200C_202D_206F_200C_200C_202D_200F_200E_202E; + num3 = (int)_206C_206B_200D_200D_202C_200B_202E_200E_200F_202B_206F_206F_206C_202E_200D_206B_202E_200D_200F_200E_202B_200C_202C_202C_200C_200C_206F_200F_202A_202C_202C_206E_200C_202D_206F_200C_200C_202D_200F_200E_202E; + num4 = 2048; + num3 = ~(~num4 + num3) >>> 5; + num4 = (int)num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + _206C_206B_200D_200D_202C_200B_202E_200E_200F_202B_206F_206F_206C_202E_200D_206B_202E_200D_200F_200E_202B_200C_202C_202C_200C_200C_206F_200F_202A_202C_202C_206E_200C_202D_206F_200C_200C_202D_200F_200E_202E = (uint)(num5 + (num6 + num6)); + if (rangeDecoder._202D_206E_202A_202C_200C_200C_206C_206A_206A_206A_206C_206D_206E_202E_206C_200C_200E_200D_202A_206F_200E_202C_200D_202B_200F_202A_202E_206F_202E_206F_206C_200E_200C_200C_200E_206E_202A_206A_200B_206D_202E < 16777216) + { + rangeDecoder._206B_206B_206D_200C_200C_202E_206D_202D_202D_200F_200D_200D_200B_206E_206B_206B_202D_200B_206A_202C_206C_200F_200E_206B_200E_202D_200E_202E_202A_202B_202C_200E_206D_202B_206D_202C_206C_202B_200D_200D_202E = (rangeDecoder._206B_206B_206D_200C_200C_202E_206D_202D_202D_200F_200D_200D_200B_206E_206B_206B_202D_200B_206A_202C_206C_200F_200E_206B_200E_202D_200E_202E_202A_202B_202C_200E_206D_202B_206D_202C_206C_202B_200D_200D_202E << 8) | (byte)rangeDecoder._202E_200F_206B_200C_202B_200E_200C_200E_206A_206C_202D_200E_206B_206C_202A_202D_202C_202A_200B_202C_200B_206A_202E_206A_200F_202D_206A_200D_200D_202A_202D_206C_202A_202D_202E_206C_206F_200D_202D_206A_202E.ReadByte(); + rangeDecoder._202D_206E_202A_202C_200C_200C_206C_206A_206A_206A_206C_206D_206E_202E_206C_200C_200E_200D_202A_206F_200E_202C_200D_202B_200F_202A_202E_206F_202E_206F_206C_200E_200C_200C_200E_206E_202A_206A_200B_206D_202E <<= 8; + } + return 0u; + } + uint num7 = rangeDecoder._202D_206E_202A_202C_200C_200C_206C_206A_206A_206A_206C_206D_206E_202E_206C_200C_200E_200D_202A_206F_200E_202C_200D_202B_200F_202A_202E_206F_202E_206F_206C_200E_200C_200C_200E_206E_202A_206A_200B_206D_202E; + num3 = (int)num; + num4 = (int)num7; + rangeDecoder._202D_206E_202A_202C_200C_200C_206C_206A_206A_206A_206C_206D_206E_202E_206C_200C_200E_200D_202A_206F_200E_202C_200D_202B_200F_202A_202E_206F_202E_206F_206C_200E_200C_200C_200E_206E_202A_206A_200B_206D_202E = (uint)(~(~num4 + num3)); + uint num8 = rangeDecoder._206B_206B_206D_200C_200C_202E_206D_202D_202D_200F_200D_200D_200B_206E_206B_206B_202D_200B_206A_202C_206C_200F_200E_206B_200E_202D_200E_202E_202A_202B_202C_200E_206D_202B_206D_202C_206C_202B_200D_200D_202E; + num3 = (int)num; + num4 = (int)num8; + rangeDecoder._206B_206B_206D_200C_200C_202E_206D_202D_202D_200F_200D_200D_200B_206E_206B_206B_202D_200B_206A_202C_206C_200F_200E_206B_200E_202D_200E_202E_202A_202B_202C_200E_206D_202B_206D_202C_206C_202B_200D_200D_202E = (uint)(~(~num4 + num3)); + uint num9 = _206C_206B_200D_200D_202C_200B_202E_200E_200F_202B_206F_206F_206C_202E_200D_206B_202E_200D_200F_200E_202B_200C_202C_202C_200C_200C_206F_200F_202A_202C_202C_206E_200C_202D_206F_200C_200C_202D_200F_200E_202E; + num3 = (int)(_206C_206B_200D_200D_202C_200B_202E_200E_200F_202B_206F_206F_206C_202E_200D_206B_202E_200D_200F_200E_202B_200C_202C_202C_200C_200C_206F_200F_202A_202C_202C_206E_200C_202D_206F_200C_200C_202D_200F_200E_202E >> 5); + num4 = (int)num9; + _206C_206B_200D_200D_202C_200B_202E_200E_200F_202B_206F_206F_206C_202E_200D_206B_202E_200D_200F_200E_202B_200C_202C_202C_200C_200C_206F_200F_202A_202C_202C_206E_200C_202D_206F_200C_200C_202D_200F_200E_202E = (uint)(~(~num4 + num3)); + if (rangeDecoder._202D_206E_202A_202C_200C_200C_206C_206A_206A_206A_206C_206D_206E_202E_206C_200C_200E_200D_202A_206F_200E_202C_200D_202B_200F_202A_202E_206F_202E_206F_206C_200E_200C_200C_200E_206E_202A_206A_200B_206D_202E < 16777216) + { + rangeDecoder._206B_206B_206D_200C_200C_202E_206D_202D_202D_200F_200D_200D_200B_206E_206B_206B_202D_200B_206A_202C_206C_200F_200E_206B_200E_202D_200E_202E_202A_202B_202C_200E_206D_202B_206D_202C_206C_202B_200D_200D_202E = (rangeDecoder._206B_206B_206D_200C_200C_202E_206D_202D_202D_200F_200D_200D_200B_206E_206B_206B_202D_200B_206A_202C_206C_200F_200E_206B_200E_202D_200E_202E_202A_202B_202C_200E_206D_202B_206D_202C_206C_202B_200D_200D_202E << 8) | (byte)rangeDecoder._202E_200F_206B_200C_202B_200E_200C_200E_206A_206C_202D_200E_206B_206C_202A_202D_202C_202A_200B_202C_200B_206A_202E_206A_200F_202D_206A_200D_200D_202A_202D_206C_202A_202D_202E_206C_206F_200D_202D_206A_202E.ReadByte(); + rangeDecoder._202D_206E_202A_202C_200C_200C_206C_206A_206A_206A_206C_206D_206E_202E_206C_200C_200E_200D_202A_206F_200E_202C_200D_202B_200F_202A_202E_206F_202E_206F_206C_200E_200C_200C_200E_206E_202A_206A_200B_206D_202E <<= 8; + } + return 1u; + } +} +internal struct _200F_206C_202E_206A_206C_200F_206B_202B_200C_200B_202E_200F_206F_202C_206B_206C_200F_206A_202D_206F_206D_200D_202D_202A_206F_200E_202B_200C_202E_202A_200D_206B_200F_202C_200E_206E_206A_202C_202B_206C_202E +{ + internal readonly _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E[] _206D_206D_200E_206E_200B_202A_200F_202C_200C_200E_202C_200E_200B_200B_206E_206B_206A_200B_200D_202B_202C_202C_206F_202D_202C_202C_202D_200F_206E_206F_200B_206C_202B_206D_200C_200D_202E_206C_202B_206E_202E; + + internal readonly int _200F_206A_202D_202E_202A_202C_200F_206B_202B_202E_200E_206A_202A_206E_206D_200C_206E_202A_202D_206C_202D_200F_202C_200F_206F_202E_202B_206F_200C_206B_202E_200E_200E_206F_206A_202C_200B_206D_202E_200D_202E; + + internal _200F_206C_202E_206A_206C_200F_206B_202B_200C_200B_202E_200F_206F_202C_206B_206C_200F_206A_202D_206F_206D_200D_202D_202A_206F_200E_202B_200C_202E_202A_200D_206B_200F_202C_200E_206E_206A_202C_202B_206C_202E(int numBitLevels) + { + _200F_206A_202D_202E_202A_202C_200F_206B_202B_202E_200E_206A_202A_206E_206D_200C_206E_202A_202D_206C_202D_200F_202C_200F_206F_202E_202B_206F_200C_206B_202E_200E_200E_206F_206A_202C_200B_206D_202E_200D_202E = numBitLevels; + int num = 31; + _206D_206D_200E_206E_200B_202A_200F_202C_200C_200E_202C_200E_200B_200B_206E_206B_206A_200B_200D_202B_202C_202C_206F_202D_202C_202C_202D_200F_206E_206F_200B_206C_202B_206D_200C_200D_202E_206C_202B_206E_202E = new _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E[1 << numBitLevels + num - (numBitLevels | num)]; + } + + internal void _200D_206A_206B_200E_200C_200F_200E_206E_206C_200D_200F_206E_206D_200D_202A_206B_206C_206B_206E_200B_202E_206A_206B_202C_202B_206D_200B_206F_200C_202D_202D_200E_206A_206B_206C_202A_202E_200E_200D_206E_202E() + { + uint num = 1u; + while (true) + { + long num2 = num; + int num3 = _200F_206A_202D_202E_202A_202C_200F_206B_202B_202E_200E_206A_202A_206E_206D_200C_206E_202A_202D_206C_202D_200F_202C_200F_206F_202E_202B_206F_200C_206B_202E_200E_200E_206F_206A_202C_200B_206D_202E_200D_202E; + int num4 = 31; + int num5 = num3; + if (num2 < 1 << (num5 | num4) - (num5 ^ num4)) + { + _206D_206D_200E_206E_200B_202A_200F_202C_200C_200E_202C_200E_200B_200B_206E_206B_206A_200B_200D_202B_202C_202C_206F_202D_202C_202C_202D_200F_206E_206F_200B_206C_202B_206D_200C_200D_202E_206C_202B_206E_202E[num]._206C_200E_206B_206C_202A_206A_206A_202B_200B_202B_200B_206E_206F_200B_202E_206B_200C_206F_202A_206D_200F_206F_206C_202D_202C_200B_202B_200E_200F_200D_206E_206A_206E_202D_206A_202C_202E_202A_202B_206F_202E(); + uint num6 = num; + num4 = 1; + num5 = (int)num6; + int num7 = num5 ^ num4; + int num8 = num5 & num4; + num = (uint)(num7 + (num8 + num8)); + continue; + } + break; + } + } + + internal uint _202C_202C_206F_202B_206D_206F_206B_200D_206E_202B_206E_200D_200B_206A_206C_200C_206A_202E_200E_200D_206E_206D_202E_206C_206E_200D_206F_200C_202D_202A_200C_206B_200E_202B_206E_200E_202C_200E_206C_202A_202E(_206F_200C_206F_202D_200F_202B_200C_200D_202A_200F_206D_200C_202D_202E_206C_206E_206A_200F_202C_200B_202E_206B_206A_202C_206B_200E_200C_202B_200F_206B_200B_202E_206A_206D_200E_206E_206C_202C_202D_202B_202E rangeDecoder) + { + uint num = 1u; + int num4; + int num5; + for (int num2 = _200F_206A_202D_202E_202A_202C_200F_206B_202B_202E_200E_206A_202A_206E_206D_200C_206E_202A_202D_206C_202D_200F_202C_200F_206F_202E_202B_206F_200C_206B_202E_200E_200E_206F_206A_202C_200B_206D_202E_200D_202E; num2 > 0; num2 = ~(~num5 + num4)) + { + num = (num << 1) + _206D_206D_200E_206E_200B_202A_200F_202C_200C_200E_202C_200E_200B_200B_206E_206B_206A_200B_200D_202B_202C_202C_206F_202D_202C_202C_202D_200F_206E_206F_200B_206C_202B_206D_200C_200D_202E_206C_202B_206E_202E[num]._202B_202E_202E_206E_206D_206B_202B_206E_200B_200E_206D_206E_206F_202C_200B_200E_200D_202E_206E_200D_202E_200B_200B_206D_206A_200D_202E_200D_200B_206D_200F_202B_200C_202A_202D_206C_206D_206B_200C_200C_202E(rangeDecoder); + int num3 = num2; + num4 = 1; + num5 = num3; + } + uint num6 = num; + int num7 = _200F_206A_202D_202E_202A_202C_200F_206B_202B_202E_200E_206A_202A_206E_206D_200C_206E_202A_202D_206C_202D_200F_202C_200F_206F_202E_202B_206F_200C_206B_202E_200E_200E_206F_206A_202C_200B_206D_202E_200D_202E; + num4 = 31; + num5 = num7; + num4 = 1 << (num5 | num4) - (num5 ^ num4); + num5 = (int)num6; + return (uint)(~(~num5 + num4)); + } + + internal uint _206C_200F_200F_200F_202A_202E_206A_200B_202A_206B_200B_200D_202A_200F_202E_206D_200C_206C_206F_200B_206D_200B_206E_200C_200C_202B_200F_206E_202D_206B_202C_206B_200C_202A_200F_200F_206B_206D_202C_200C_202E(_206F_200C_206F_202D_200F_202B_200C_200D_202A_200F_206D_200C_202D_202E_206C_206E_206A_200F_202C_200B_202E_206B_206A_202C_206B_200E_200C_202B_200F_206B_200B_202E_206A_206D_200E_206E_206C_202C_202D_202B_202E rangeDecoder) + { + uint num = 1u; + uint num2 = 0u; + int num3 = 0; + while (num3 < _200F_206A_202D_202E_202A_202C_200F_206B_202B_202E_200E_206A_202A_206E_206D_200C_206E_202A_202D_206C_202D_200F_202C_200F_206F_202E_202B_206F_200C_206B_202E_200E_200E_206F_206A_202C_200B_206D_202E_200D_202E) + { + uint num4 = _206D_206D_200E_206E_200B_202A_200F_202C_200C_200E_202C_200E_200B_200B_206E_206B_206A_200B_200D_202B_202C_202C_206F_202D_202C_202C_202D_200F_206E_206F_200B_206C_202B_206D_200C_200D_202E_206C_202B_206E_202E[num]._202B_202E_202E_206E_206D_206B_202B_206E_200B_200E_206D_206E_206F_202C_200B_200E_200D_202E_206E_200D_202E_200B_200B_206D_206A_200D_202E_200D_200B_206D_200F_202B_200C_202A_202D_206C_206D_206B_200C_200C_202E(rangeDecoder); + num <<= 1; + uint num5 = num; + int num6 = (int)num4; + int num7 = (int)num5; + int num8 = num7 ^ num6; + int num9 = num7 & num6; + num = (uint)(num8 + (num9 + num9)); + uint num10 = num2; + int num11 = num3; + num6 = 31; + num7 = num11; + num6 = (int)(num4 << num7 + num6 - (num7 | num6)); + num7 = (int)num10; + num2 = (uint)(num7 + num6 - (num7 & num6)); + int num12 = num3; + num6 = 1; + num7 = num12; + int num13 = num7 ^ num6; + int num14 = num7 & num6; + num3 = num13 + (num14 + num14); + } + return num2; + } + + internal static uint _206C_206B_200F_202D_206C_202D_202A_202B_200D_200E_200F_200F_202C_200E_200C_202B_206D_202B_206A_206C_200F_206F_206E_202A_206A_206D_206A_200C_202E_200F_200C_202A_200D_202B_206E_200B_200E_200C_200D_206C_202E(_200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E[] Models, uint startIndex, _206F_200C_206F_202D_200F_202B_200C_200D_202A_200F_206D_200C_202D_202E_206C_206E_206A_200F_202C_200B_202E_206B_206A_202C_206B_200E_200C_202B_200F_206B_200B_202E_206A_206D_200E_206E_206C_202C_202D_202B_202E rangeDecoder, int NumBitLevels) + { + uint num = 1u; + uint num2 = 0u; + int num3 = 0; + while (num3 < NumBitLevels) + { + int num4 = (int)num; + int num5 = (int)startIndex; + int num6 = num5 ^ num4; + int num7 = num5 & num4; + uint num8 = Models[num6 + (num7 + num7)]._202B_202E_202E_206E_206D_206B_202B_206E_200B_200E_206D_206E_206F_202C_200B_200E_200D_202E_206E_200D_202E_200B_200B_206D_206A_200D_202E_200D_200B_206D_200F_202B_200C_202A_202D_206C_206D_206B_200C_200C_202E(rangeDecoder); + num <<= 1; + uint num9 = num; + num4 = (int)num8; + num5 = (int)num9; + int num10 = num5 ^ num4; + int num11 = num5 & num4; + num = (uint)(num10 + (num11 + num11)); + uint num12 = num2; + int num13 = num3; + num4 = 31; + num5 = num13; + num4 = (int)(num8 << num5 + num4 - (num5 | num4)); + num5 = (int)num12; + num2 = (uint)(num5 + num4 - (num5 & num4)); + int num14 = num3; + num4 = 1; + num5 = num14; + num3 = (num5 | num4) + (num5 & num4); + } + return num2; + } +} +internal class _206F_200C_206F_202D_200F_202B_200C_200D_202A_200F_206D_200C_202D_202E_206C_206E_206A_200F_202C_200B_202E_206B_206A_202C_206B_200E_200C_202B_200F_206B_200B_202E_206A_206D_200E_206E_206C_202C_202D_202B_202E +{ + internal uint _206B_206B_206D_200C_200C_202E_206D_202D_202D_200F_200D_200D_200B_206E_206B_206B_202D_200B_206A_202C_206C_200F_200E_206B_200E_202D_200E_202E_202A_202B_202C_200E_206D_202B_206D_202C_206C_202B_200D_200D_202E; + + internal uint _202D_206E_202A_202C_200C_200C_206C_206A_206A_206A_206C_206D_206E_202E_206C_200C_200E_200D_202A_206F_200E_202C_200D_202B_200F_202A_202E_206F_202E_206F_206C_200E_200C_200C_200E_206E_202A_206A_200B_206D_202E; + + internal Stream _202E_200F_206B_200C_202B_200E_200C_200E_206A_206C_202D_200E_206B_206C_202A_202D_202C_202A_200B_202C_200B_206A_202E_206A_200F_202D_206A_200D_200D_202A_202D_206C_202A_202D_202E_206C_206F_200D_202D_206A_202E; + + internal void _202D_206E_200E_206C_202E_200E_200B_200B_206A_202D_202E_200B_202A_206A_202B_206F_202D_206F_206D_202B_202C_206F_200E_200B_202B_206F_206B_200C_200C_202A_200D_202C_202A_200F_202C_200B_206F_202A_202B_200F_202E(Stream stream) + { + _202E_200F_206B_200C_202B_200E_200C_200E_206A_206C_202D_200E_206B_206C_202A_202D_202C_202A_200B_202C_200B_206A_202E_206A_200F_202D_206A_200D_200D_202A_202D_206C_202A_202D_202E_206C_206F_200D_202D_206A_202E = stream; + _206B_206B_206D_200C_200C_202E_206D_202D_202D_200F_200D_200D_200B_206E_206B_206B_202D_200B_206A_202C_206C_200F_200E_206B_200E_202D_200E_202E_202A_202B_202C_200E_206D_202B_206D_202C_206C_202B_200D_200D_202E = 0u; + _202D_206E_202A_202C_200C_200C_206C_206A_206A_206A_206C_206D_206E_202E_206C_200C_200E_200D_202A_206F_200E_202C_200D_202B_200F_202A_202E_206F_202E_206F_206C_200E_200C_200C_200E_206E_202A_206A_200B_206D_202E = uint.MaxValue; + int num = 0; + while (num < 5) + { + _206B_206B_206D_200C_200C_202E_206D_202D_202D_200F_200D_200D_200B_206E_206B_206B_202D_200B_206A_202C_206C_200F_200E_206B_200E_202D_200E_202E_202A_202B_202C_200E_206D_202B_206D_202C_206C_202B_200D_200D_202E = (_206B_206B_206D_200C_200C_202E_206D_202D_202D_200F_200D_200D_200B_206E_206B_206B_202D_200B_206A_202C_206C_200F_200E_206B_200E_202D_200E_202E_202A_202B_202C_200E_206D_202B_206D_202C_206C_202B_200D_200D_202E << 8) | (byte)_202E_200F_206B_200C_202B_200E_200C_200E_206A_206C_202D_200E_206B_206C_202A_202D_202C_202A_200B_202C_200B_206A_202E_206A_200F_202D_206A_200D_200D_202A_202D_206C_202A_202D_202E_206C_206F_200D_202D_206A_202E.ReadByte(); + int num2 = num; + int num3 = 1; + int num4 = num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = num5 + (num6 + num6); + } + } + + internal void _206C_200E_206A_206E_206F_202C_200B_206F_200D_206E_202A_206E_200D_200F_200E_202D_200B_206F_200D_200B_202D_200E_206C_206F_200E_202C_202B_200E_206C_206A_200E_206F_206E_200C_206C_206E_200E_202C_206C_206B_202E() + { + _202E_200F_206B_200C_202B_200E_200C_200E_206A_206C_202D_200E_206B_206C_202A_202D_202C_202A_200B_202C_200B_206A_202E_206A_200F_202D_206A_200D_200D_202A_202D_206C_202A_202D_202E_206C_206F_200D_202D_206A_202E = null; + } + + internal void _202E_200C_206B_202C_202B_202E_206E_206C_200F_206F_200B_202A_202D_200F_200E_200E_202E_202D_200F_206E_202E_202A_200B_206C_202C_206E_202A_202B_206A_202D_200D_202D_202D_206C_202C_200F_200F_206A_206F_200F_202E() + { + while (_202D_206E_202A_202C_200C_200C_206C_206A_206A_206A_206C_206D_206E_202E_206C_200C_200E_200D_202A_206F_200E_202C_200D_202B_200F_202A_202E_206F_202E_206F_206C_200E_200C_200C_200E_206E_202A_206A_200B_206D_202E < 16777216) + { + _206B_206B_206D_200C_200C_202E_206D_202D_202D_200F_200D_200D_200B_206E_206B_206B_202D_200B_206A_202C_206C_200F_200E_206B_200E_202D_200E_202E_202A_202B_202C_200E_206D_202B_206D_202C_206C_202B_200D_200D_202E = (_206B_206B_206D_200C_200C_202E_206D_202D_202D_200F_200D_200D_200B_206E_206B_206B_202D_200B_206A_202C_206C_200F_200E_206B_200E_202D_200E_202E_202A_202B_202C_200E_206D_202B_206D_202C_206C_202B_200D_200D_202E << 8) | (byte)_202E_200F_206B_200C_202B_200E_200C_200E_206A_206C_202D_200E_206B_206C_202A_202D_202C_202A_200B_202C_200B_206A_202E_206A_200F_202D_206A_200D_200D_202A_202D_206C_202A_202D_202E_206C_206F_200D_202D_206A_202E.ReadByte(); + _202D_206E_202A_202C_200C_200C_206C_206A_206A_206A_206C_206D_206E_202E_206C_200C_200E_200D_202A_206F_200E_202C_200D_202B_200F_202A_202E_206F_202E_206F_206C_200E_200C_200C_200E_206E_202A_206A_200B_206D_202E <<= 8; + } + } + + internal uint _206D_206B_206F_202E_200D_202E_202A_200F_202C_202C_206A_206E_200D_202D_202C_200F_202A_206C_202E_202B_200B_206D_200E_200E_206C_206B_202B_206C_206E_200D_202D_206B_206B_200F_206F_202C_206C_206B_206B_202E(int numTotalBits) + { + uint num = _202D_206E_202A_202C_200C_200C_206C_206A_206A_206A_206C_206D_206E_202E_206C_200C_200E_200D_202A_206F_200E_202C_200D_202B_200F_202A_202E_206F_202E_206F_206C_200E_200C_200C_200E_206E_202A_206A_200B_206D_202E; + uint num2 = _206B_206B_206D_200C_200C_202E_206D_202D_202D_200F_200D_200D_200B_206E_206B_206B_202D_200B_206A_202C_206C_200F_200E_206B_200E_202D_200E_202E_202A_202B_202C_200E_206D_202B_206D_202C_206C_202B_200D_200D_202E; + uint num3 = 0u; + int num4 = numTotalBits; + while (num4 > 0) + { + num >>= 1; + uint num5 = num2; + int num6 = (int)num; + int num7 = (int)num5; + uint num8 = (uint)(~(~num7 + num6)) >> 31; + uint num9 = num2; + uint num10 = num; + num6 = 1; + num7 = (int)num8; + num6 = ~(~num7 + num6); + num7 = (int)num10; + num6 = (num7 | num6) - (num7 ^ num6); + num7 = (int)num9; + num2 = (uint)(~(~num7 + num6)); + uint num11 = num3 << 1; + num6 = (int)num8; + num7 = 1; + num6 = ~(~num7 + num6); + num7 = (int)num11; + num3 = (uint)(num7 + num6 - (num7 & num6)); + if (num < 16777216) + { + num2 = (num2 << 8) | (byte)_202E_200F_206B_200C_202B_200E_200C_200E_206A_206C_202D_200E_206B_206C_202A_202D_202C_202A_200B_202C_200B_206A_202E_206A_200F_202D_206A_200D_200D_202A_202D_206C_202A_202D_202E_206C_206F_200D_202D_206A_202E.ReadByte(); + num <<= 8; + } + int num12 = num4; + num6 = 1; + num7 = num12; + num4 = ~(~num7 + num6); + } + _202D_206E_202A_202C_200C_200C_206C_206A_206A_206A_206C_206D_206E_202E_206C_200C_200E_200D_202A_206F_200E_202C_200D_202B_200F_202A_202E_206F_202E_206F_206C_200E_200C_200C_200E_206E_202A_206A_200B_206D_202E = num; + _206B_206B_206D_200C_200C_202E_206D_202D_202D_200F_200D_200D_200B_206E_206B_206B_202D_200B_206A_202C_206C_200F_200E_206B_200E_202D_200E_202E_202A_202B_202C_200E_206D_202B_206D_202C_206C_202B_200D_200D_202E = num2; + return num3; + } + + internal _206F_200C_206F_202D_200F_202B_200C_200D_202A_200F_206D_200C_202D_202E_206C_206E_206A_200F_202C_200B_202E_206B_206A_202C_206B_200E_200C_202B_200F_206B_200B_202E_206A_206D_200E_206E_206C_202C_202D_202B_202E() + { + } +} +internal class _200F_200C_200F_200C_200E_200B_202E_206F_202A_200F_200C_200F_206C_206A_206C_202B_200D_200D_202C_200F_206A_206C_202D_202B_206C_206A_206D_200B_206B_200B_200B_206C_200B_202D_200F_206D_200F_202D_200D_202E_202E +{ + internal class _206B_200F_206C_202B_206D_206A_200B_206A_202B_202B_202D_202A_206F_200D_206C_200E_202A_200B_200B_202C_202E_200E_206C_202C_200E_202E_202A_202A_200D_200F_200D_202D_206B_202C_200E_206D_206D_202E_202A_202E + { + internal readonly _200F_206C_202E_206A_206C_200F_206B_202B_200C_200B_202E_200F_206F_202C_206B_206C_200F_206A_202D_206F_206D_200D_202D_202A_206F_200E_202B_200C_202E_202A_200D_206B_200F_202C_200E_206E_206A_202C_202B_206C_202E[] _202A_206B_206B_202E_206E_202B_206B_202B_206C_200E_202C_200D_206B_202C_206D_200C_200B_200F_200E_206C_200D_206F_202D_206C_206D_202B_200F_202E_206F_206A_206E_206C_200F_206C_206F_202C_202C_206F_202C_200E_202E = new _200F_206C_202E_206A_206C_200F_206B_202B_200C_200B_202E_200F_206F_202C_206B_206C_200F_206A_202D_206F_206D_200D_202D_202A_206F_200E_202B_200C_202E_202A_200D_206B_200F_202C_200E_206E_206A_202C_202B_206C_202E[16]; + + internal readonly _200F_206C_202E_206A_206C_200F_206B_202B_200C_200B_202E_200F_206F_202C_206B_206C_200F_206A_202D_206F_206D_200D_202D_202A_206F_200E_202B_200C_202E_202A_200D_206B_200F_202C_200E_206E_206A_202C_202B_206C_202E[] _202E_200C_202C_206A_200D_200B_202E_206D_202B_206B_200C_202A_202E_206D_200E_202D_200B_206D_200F_206B_206A_200E_200E_200E_200B_202A_202C_202B_200D_200B_200D_206B_202A_206D_200D_200C_202D_206F_206D_200E_202E = new _200F_206C_202E_206A_206C_200F_206B_202B_200C_200B_202E_200F_206F_202C_206B_206C_200F_206A_202D_206F_206D_200D_202D_202A_206F_200E_202B_200C_202E_202A_200D_206B_200F_202C_200E_206E_206A_202C_202B_206C_202E[16]; + + internal _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E _200B_206F_200C_200D_200B_206A_202C_206A_200B_206A_206C_202D_206D_206F_206F_200B_206C_202D_206B_206D_206C_206F_202A_206B_202C_200D_206E_206F_202B_202B_200B_200B_202B_206B_206F_206F_206C_200D_200C_206C_202E; + + internal _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E _202C_202E_200C_200D_206F_206D_202C_202E_200E_202B_200E_202E_200D_202A_206C_202C_200C_206B_206A_202C_202D_206B_202E_202A_200C_200F_202A_206C_200D_202D_202C_200B_202C_206A_206A_206C_202A_200E_200C_202C_202E; + + internal _200F_206C_202E_206A_206C_200F_206B_202B_200C_200B_202E_200F_206F_202C_206B_206C_200F_206A_202D_206F_206D_200D_202D_202A_206F_200E_202B_200C_202E_202A_200D_206B_200F_202C_200E_206E_206A_202C_202B_206C_202E _206F_202C_206B_202C_202D_200F_202C_202D_206F_206A_202A_200D_200E_200C_202B_202B_206A_202E_202E_200B_202E_206C_206B_200D_206F_202E_206D_202D_206B_202E_206C_206D_200C_200C_200C_200D_206B_206E_202C_200F_202E = new _200F_206C_202E_206A_206C_200F_206B_202B_200C_200B_202E_200F_206F_202C_206B_206C_200F_206A_202D_206F_206D_200D_202D_202A_206F_200E_202B_200C_202E_202A_200D_206B_200F_202C_200E_206E_206A_202C_202B_206C_202E(8); + + internal uint _200B_200C_206B_202E_206F_206B_202A_206E_200B_202B_200F_202A_202A_206F_202C_200F_200D_206A_206A_206B_206E_202C_202C_206C_200B_206E_200B_206B_206C_206C_200E_202B_200E_200C_206B_206C_202E_202E_200D_202C_202E; + + internal void _200E_200C_202A_200F_202C_206A_200D_200B_200E_202D_200E_202E_206A_200C_206A_202D_202A_202C_200C_200D_206A_206C_206A_202B_206E_206D_200D_200B_202B_202A_200D_206C_200C_206C_202C_200F_200C_200F_206B_206D_202E(uint numPosStates) + { + uint num = _200B_200C_206B_202E_206F_206B_202A_206E_200B_202B_200F_202A_202A_206F_202C_200F_200D_206A_206A_206B_206E_202C_202C_206C_200B_206E_200B_206B_206C_206C_200E_202B_200E_200C_206B_206C_202E_202E_200D_202C_202E; + while (num < numPosStates) + { + _202A_206B_206B_202E_206E_202B_206B_202B_206C_200E_202C_200D_206B_202C_206D_200C_200B_200F_200E_206C_200D_206F_202D_206C_206D_202B_200F_202E_206F_206A_206E_206C_200F_206C_206F_202C_202C_206F_202C_200E_202E[num] = new _200F_206C_202E_206A_206C_200F_206B_202B_200C_200B_202E_200F_206F_202C_206B_206C_200F_206A_202D_206F_206D_200D_202D_202A_206F_200E_202B_200C_202E_202A_200D_206B_200F_202C_200E_206E_206A_202C_202B_206C_202E(3); + _202E_200C_202C_206A_200D_200B_202E_206D_202B_206B_200C_202A_202E_206D_200E_202D_200B_206D_200F_206B_206A_200E_200E_200E_200B_202A_202C_202B_200D_200B_200D_206B_202A_206D_200D_200C_202D_206F_206D_200E_202E[num] = new _200F_206C_202E_206A_206C_200F_206B_202B_200C_200B_202E_200F_206F_202C_206B_206C_200F_206A_202D_206F_206D_200D_202D_202A_206F_200E_202B_200C_202E_202A_200D_206B_200F_202C_200E_206E_206A_202C_202B_206C_202E(3); + uint num2 = num; + int num3 = 1; + int num4 = (int)num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = (uint)(num5 + (num6 + num6)); + } + _200B_200C_206B_202E_206F_206B_202A_206E_200B_202B_200F_202A_202A_206F_202C_200F_200D_206A_206A_206B_206E_202C_202C_206C_200B_206E_200B_206B_206C_206C_200E_202B_200E_200C_206B_206C_202E_202E_200D_202C_202E = numPosStates; + } + + internal void _200C_200D_202B_200B_200D_206F_200F_200B_202C_202B_202E_202D_200C_206D_200E_202B_200B_200E_202C_202A_206B_200F_202C_206C_206A_200C_202C_206E_200F_202C_202B_200F_202E_202A_202D_202C_200F_206C_200D_202E() + { + _200B_206F_200C_200D_200B_206A_202C_206A_200B_206A_206C_202D_206D_206F_206F_200B_206C_202D_206B_206D_206C_206F_202A_206B_202C_200D_206E_206F_202B_202B_200B_200B_202B_206B_206F_206F_206C_200D_200C_206C_202E._206C_200E_206B_206C_202A_206A_206A_202B_200B_202B_200B_206E_206F_200B_202E_206B_200C_206F_202A_206D_200F_206F_206C_202D_202C_200B_202B_200E_200F_200D_206E_206A_206E_202D_206A_202C_202E_202A_202B_206F_202E(); + uint num = 0u; + while (num < _200B_200C_206B_202E_206F_206B_202A_206E_200B_202B_200F_202A_202A_206F_202C_200F_200D_206A_206A_206B_206E_202C_202C_206C_200B_206E_200B_206B_206C_206C_200E_202B_200E_200C_206B_206C_202E_202E_200D_202C_202E) + { + _202A_206B_206B_202E_206E_202B_206B_202B_206C_200E_202C_200D_206B_202C_206D_200C_200B_200F_200E_206C_200D_206F_202D_206C_206D_202B_200F_202E_206F_206A_206E_206C_200F_206C_206F_202C_202C_206F_202C_200E_202E[num]._200D_206A_206B_200E_200C_200F_200E_206E_206C_200D_200F_206E_206D_200D_202A_206B_206C_206B_206E_200B_202E_206A_206B_202C_202B_206D_200B_206F_200C_202D_202D_200E_206A_206B_206C_202A_202E_200E_200D_206E_202E(); + _202E_200C_202C_206A_200D_200B_202E_206D_202B_206B_200C_202A_202E_206D_200E_202D_200B_206D_200F_206B_206A_200E_200E_200E_200B_202A_202C_202B_200D_200B_200D_206B_202A_206D_200D_200C_202D_206F_206D_200E_202E[num]._200D_206A_206B_200E_200C_200F_200E_206E_206C_200D_200F_206E_206D_200D_202A_206B_206C_206B_206E_200B_202E_206A_206B_202C_202B_206D_200B_206F_200C_202D_202D_200E_206A_206B_206C_202A_202E_200E_200D_206E_202E(); + uint num2 = num; + int num3 = 1; + int num4 = (int)num2; + num = (uint)((num4 | num3) + (num4 & num3)); + } + _202C_202E_200C_200D_206F_206D_202C_202E_200E_202B_200E_202E_200D_202A_206C_202C_200C_206B_206A_202C_202D_206B_202E_202A_200C_200F_202A_206C_200D_202D_202C_200B_202C_206A_206A_206C_202A_200E_200C_202C_202E._206C_200E_206B_206C_202A_206A_206A_202B_200B_202B_200B_206E_206F_200B_202E_206B_200C_206F_202A_206D_200F_206F_206C_202D_202C_200B_202B_200E_200F_200D_206E_206A_206E_202D_206A_202C_202E_202A_202B_206F_202E(); + _206F_202C_206B_202C_202D_200F_202C_202D_206F_206A_202A_200D_200E_200C_202B_202B_206A_202E_202E_200B_202E_206C_206B_200D_206F_202E_206D_202D_206B_202E_206C_206D_200C_200C_200C_200D_206B_206E_202C_200F_202E._200D_206A_206B_200E_200C_200F_200E_206E_206C_200D_200F_206E_206D_200D_202A_206B_206C_206B_206E_200B_202E_206A_206B_202C_202B_206D_200B_206F_200C_202D_202D_200E_206A_206B_206C_202A_202E_200E_200D_206E_202E(); + } + + internal uint _200B_206A_202E_200C_206D_202E_206B_200D_202D_202A_202A_202A_200C_206C_202A_206B_206D_206D_200B_202C_202B_200B_200E_202A_200B_206F_202D_206A_202B_206F_206C_202C_206D_200F_202C_200E_202B_202D_200C_206A_202E(_206F_200C_206F_202D_200F_202B_200C_200D_202A_200F_206D_200C_202D_202E_206C_206E_206A_200F_202C_200B_202E_206B_206A_202C_206B_200E_200C_202B_200F_206B_200B_202E_206A_206D_200E_206E_206C_202C_202D_202B_202E rangeDecoder, uint posState) + { + if (_200B_206F_200C_200D_200B_206A_202C_206A_200B_206A_206C_202D_206D_206F_206F_200B_206C_202D_206B_206D_206C_206F_202A_206B_202C_200D_206E_206F_202B_202B_200B_200B_202B_206B_206F_206F_206C_200D_200C_206C_202E._202B_202E_202E_206E_206D_206B_202B_206E_200B_200E_206D_206E_206F_202C_200B_200E_200D_202E_206E_200D_202E_200B_200B_206D_206A_200D_202E_200D_200B_206D_200F_202B_200C_202A_202D_206C_206D_206B_200C_200C_202E(rangeDecoder) == 0) + { + return _202A_206B_206B_202E_206E_202B_206B_202B_206C_200E_202C_200D_206B_202C_206D_200C_200B_200F_200E_206C_200D_206F_202D_206C_206D_202B_200F_202E_206F_206A_206E_206C_200F_206C_206F_202C_202C_206F_202C_200E_202E[posState]._202C_202C_206F_202B_206D_206F_206B_200D_206E_202B_206E_200D_200B_206A_206C_200C_206A_202E_200E_200D_206E_206D_202E_206C_206E_200D_206F_200C_202D_202A_200C_206B_200E_202B_206E_200E_202C_200E_206C_202A_202E(rangeDecoder); + } + uint num = 8u; + if (_202C_202E_200C_200D_206F_206D_202C_202E_200E_202B_200E_202E_200D_202A_206C_202C_200C_206B_206A_202C_202D_206B_202E_202A_200C_200F_202A_206C_200D_202D_202C_200B_202C_206A_206A_206C_202A_200E_200C_202C_202E._202B_202E_202E_206E_206D_206B_202B_206E_200B_200E_206D_206E_206F_202C_200B_200E_200D_202E_206E_200D_202E_200B_200B_206D_206A_200D_202E_200D_200B_206D_200F_202B_200C_202A_202D_206C_206D_206B_200C_200C_202E(rangeDecoder) == 0) + { + return num + _202E_200C_202C_206A_200D_200B_202E_206D_202B_206B_200C_202A_202E_206D_200E_202D_200B_206D_200F_206B_206A_200E_200E_200E_200B_202A_202C_202B_200D_200B_200D_206B_202A_206D_200D_200C_202D_206F_206D_200E_202E[posState]._202C_202C_206F_202B_206D_206F_206B_200D_206E_202B_206E_200D_200B_206A_206C_200C_206A_202E_200E_200D_206E_206D_202E_206C_206E_200D_206F_200C_202D_202A_200C_206B_200E_202B_206E_200E_202C_200E_206C_202A_202E(rangeDecoder); + } + uint num2 = num; + int num3 = 8; + int num4 = (int)num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = (uint)(num5 + (num6 + num6)); + return num + _206F_202C_206B_202C_202D_200F_202C_202D_206F_206A_202A_200D_200E_200C_202B_202B_206A_202E_202E_200B_202E_206C_206B_200D_206F_202E_206D_202D_206B_202E_206C_206D_200C_200C_200C_200D_206B_206E_202C_200F_202E._202C_202C_206F_202B_206D_206F_206B_200D_206E_202B_206E_200D_200B_206A_206C_200C_206A_202E_200E_200D_206E_206D_202E_206C_206E_200D_206F_200C_202D_202A_200C_206B_200E_202B_206E_200E_202C_200E_206C_202A_202E(rangeDecoder); + } + + internal _206B_200F_206C_202B_206D_206A_200B_206A_202B_202B_202D_202A_206F_200D_206C_200E_202A_200B_200B_202C_202E_200E_206C_202C_200E_202E_202A_202A_200D_200F_200D_202D_206B_202C_200E_206D_206D_202E_202A_202E() + { + } + } + + internal class _206C_200C_206B_200C_206B_202A_200E_206D_206B_200E_200B_202A_200C_206A_202E_206A_200D_200E_202C_202B_206C_200F_202D_206F_202B_206E_206D_200E_202C_202C_202B_200C_206A_200B_202D_206B_206D_206B_202B_200E_202E + { + internal struct _200B_200D_202E_206C_202A_202D_200C_206E_206E_202A_202C_200C_206F_206E_206B_200E_200D_202D_200B_206F_200E_200F_200F_206C_202C_202B_206A_206E_202C_206E_202D_206E_200B_202E_206E_206C_200D_202D_206F_206F_202E + { + internal _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E[] _206A_200F_206F_200B_200E_206B_206C_206E_206D_202A_200B_206B_202C_202E_202C_202A_206A_202C_202B_202C_202D_206F_200D_206F_206B_200F_200F_200B_200C_206D_202A_206B_202E_202E_202C_206A_200B_202C_202C_206C_202E; + + internal void _202A_206D_200E_206D_206F_202B_206C_206D_202B_206E_202B_206D_202B_206E_202E_202D_206D_206A_200C_202C_202C_206A_206C_200C_206B_202A_200E_202B_206D_206A_206B_200E_206D_206E_206B_200E_206B_202C_206B_200E_202E() + { + _206A_200F_206F_200B_200E_206B_206C_206E_206D_202A_200B_206B_202C_202E_202C_202A_206A_202C_202B_202C_202D_206F_200D_206F_206B_200F_200F_200B_200C_206D_202A_206B_202E_202E_202C_206A_200B_202C_202C_206C_202E = new _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E[768]; + } + + internal void _200E_206F_200B_200D_200C_202B_202B_206C_202E_202A_206D_206F_206E_202A_202D_206C_200F_206D_202B_200B_206A_200E_202B_206E_206D_200E_206C_206F_206C_200B_200E_200B_202B_202E_206F_200C_200C_202E_200C_206D_202E() + { + int num = 0; + while (num < 768) + { + _206A_200F_206F_200B_200E_206B_206C_206E_206D_202A_200B_206B_202C_202E_202C_202A_206A_202C_202B_202C_202D_206F_200D_206F_206B_200F_200F_200B_200C_206D_202A_206B_202E_202E_202C_206A_200B_202C_202C_206C_202E[num]._206C_200E_206B_206C_202A_206A_206A_202B_200B_202B_200B_206E_206F_200B_202E_206B_200C_206F_202A_206D_200F_206F_206C_202D_202C_200B_202B_200E_200F_200D_206E_206A_206E_202D_206A_202C_202E_202A_202B_206F_202E(); + int num2 = num; + int num3 = 1; + int num4 = num2; + num = (num4 | num3) + (num4 & num3); + } + } + + internal byte _200D_202E_206D_206C_200F_202A_202A_206C_202A_202A_200D_206A_200F_206B_206D_200F_202E_206E_206D_200D_206D_200B_200E_206D_202B_200E_206F_200B_206A_200B_202A_202B_206D_202E_202D_202A_200D_206E_206D_206A_202E(_206F_200C_206F_202D_200F_202B_200C_200D_202A_200F_206D_200C_202D_202E_206C_206E_206A_200F_202C_200B_202E_206B_206A_202C_206B_200E_200C_202B_200F_206B_200B_202E_206A_206D_200E_206E_206C_202C_202D_202B_202E rangeDecoder) + { + uint num = 1u; + do + { + num = (num << 1) | _206A_200F_206F_200B_200E_206B_206C_206E_206D_202A_200B_206B_202C_202E_202C_202A_206A_202C_202B_202C_202D_206F_200D_206F_206B_200F_200F_200B_200C_206D_202A_206B_202E_202E_202C_206A_200B_202C_202C_206C_202E[num]._202B_202E_202E_206E_206D_206B_202B_206E_200B_200E_206D_206E_206F_202C_200B_200E_200D_202E_206E_200D_202E_200B_200B_206D_206A_200D_202E_200D_200B_206D_200F_202B_200C_202A_202D_206C_206D_206B_200C_200C_202E(rangeDecoder); + } + while (num < 256); + return (byte)num; + } + + internal byte _206B_206F_200D_202A_200F_202E_206E_200D_202A_200B_202D_200E_200D_202B_202E_202E_206C_200C_200E_202A_200B_202A_202C_200B_206B_206F_206A_202D_206B_200D_206C_200C_200E_206C_200E_206B_202E_206A_202A_200C_202E(_206F_200C_206F_202D_200F_202B_200C_200D_202A_200F_206D_200C_202D_202E_206C_206E_206A_200F_202C_200B_202E_206B_206A_202C_206B_200E_200C_202B_200F_206B_200B_202E_206A_206D_200E_206E_206C_202C_202D_202B_202E rangeDecoder, byte matchByte) + { + uint num = 1u; + do + { + int num2 = matchByte >> 7; + int num3 = 1; + int num4 = num2; + uint num5 = (uint)(num4 + num3 - (num4 | num3)); + matchByte <<= 1; + _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E[] array = _206A_200F_206F_200B_200E_206B_206C_206E_206D_202A_200B_206B_202C_202E_202C_202A_206A_202C_202B_202C_202D_206F_200D_206F_206B_200F_200F_200B_200C_206D_202A_206B_202E_202E_202C_206A_200B_202C_202C_206C_202E; + num3 = (int)num5; + num4 = 1; + int num6 = num4 ^ num3; + int num7 = num4 & num3; + int num8 = num6 + (num7 + num7) << 8; + num3 = (int)num; + num4 = num8; + uint num9 = array[(num4 | num3) + (num4 & num3)]._202B_202E_202E_206E_206D_206B_202B_206E_200B_200E_206D_206E_206F_202C_200B_200E_200D_202E_206E_200D_202E_200B_200B_206D_206A_200D_202E_200D_200B_206D_200F_202B_200C_202A_202D_206C_206D_206B_200C_200C_202E(rangeDecoder); + uint num10 = num << 1; + num3 = (int)num9; + num4 = (int)num10; + num = (uint)((num4 & num3) + (num4 ^ num3)); + if (num5 != num9) + { + while (num < 256) + { + num = (num << 1) | _206A_200F_206F_200B_200E_206B_206C_206E_206D_202A_200B_206B_202C_202E_202C_202A_206A_202C_202B_202C_202D_206F_200D_206F_206B_200F_200F_200B_200C_206D_202A_206B_202E_202E_202C_206A_200B_202C_202C_206C_202E[num]._202B_202E_202E_206E_206D_206B_202B_206E_200B_200E_206D_206E_206F_202C_200B_200E_200D_202E_206E_200D_202E_200B_200B_206D_206A_200D_202E_200D_200B_206D_200F_202B_200C_202A_202D_206C_206D_206B_200C_200C_202E(rangeDecoder); + } + break; + } + } + while (num < 256); + return (byte)num; + } + } + + internal _200B_200D_202E_206C_202A_202D_200C_206E_206E_202A_202C_200C_206F_206E_206B_200E_200D_202D_200B_206F_200E_200F_200F_206C_202C_202B_206A_206E_202C_206E_202D_206E_200B_202E_206E_206C_200D_202D_206F_206F_202E[] _206E_206C_200F_200C_200F_200B_206E_200B_206D_200C_200F_206E_206C_200F_202A_206A_200D_200D_200F_206B_200C_206D_202D_200F_200B_206A_202A_202C_200F_206D_206E_206A_206C_200C_206C_200F_202A_206C_206D_206A_202E; + + internal int _200C_206A_206A_202C_200B_206C_202D_200F_200C_200D_202D_202A_206A_206A_202E_200F_206D_200B_202E_200D_206E_202A_206E_200B_200C_202B_200C_206C_206A_206F_206C_200C_200C_200C_202A_200F_202C_200E_200C_206A_202E; + + internal int _200D_206B_206F_206B_202D_200C_202C_206C_200F_202A_206F_202C_202A_206E_200C_206D_200D_202B_206C_206D_206D_200B_202E_206C_202C_206E_200F_202A_202C_206C_202E_200E_206B_202A_200E_206C_200B_202A_206D_202D_202E; + + internal uint _206E_202B_200F_206F_200C_200C_202C_200D_202C_202E_200C_200D_206B_206E_200C_206F_200F_200F_206B_202D_200D_202E_206E_206C_200C_206F_206B_200C_206A_206F_200C_202D_206B_206E_202C_200E_206F_206E_206C_206E_202E; + + internal void _200D_206B_200F_206B_200F_206D_202A_200B_206C_206C_206F_206B_202C_202C_200E_202C_200C_206F_202C_200E_200C_202A_206B_200D_202C_206C_202B_206D_202B_202B_206A_206E_202C_206A_206D_202B_202B_200E_200E_200E_202E(int numPosBits, int numPrevBits) + { + if (_206E_206C_200F_200C_200F_200B_206E_200B_206D_200C_200F_206E_206C_200F_202A_206A_200D_200D_200F_206B_200C_206D_202D_200F_200B_206A_202A_202C_200F_206D_206E_206A_206C_200C_206C_200F_202A_206C_206D_206A_202E == null || _200D_206B_206F_206B_202D_200C_202C_206C_200F_202A_206F_202C_202A_206E_200C_206D_200D_202B_206C_206D_206D_200B_202E_206C_202C_206E_200F_202A_202C_206C_202E_200E_206B_202A_200E_206C_200B_202A_206D_202D_202E != numPrevBits || _200C_206A_206A_202C_200B_206C_202D_200F_200C_200D_202D_202A_206A_206A_202E_200F_206D_200B_202E_200D_206E_202A_206E_200B_200C_202B_200C_206C_206A_206F_206C_200C_200C_200C_202A_200F_202C_200E_200C_206A_202E != numPosBits) + { + _200C_206A_206A_202C_200B_206C_202D_200F_200C_200D_202D_202A_206A_206A_202E_200F_206D_200B_202E_200D_206E_202A_206E_200B_200C_202B_200C_206C_206A_206F_206C_200C_200C_200C_202A_200F_202C_200E_200C_206A_202E = numPosBits; + int num = 31; + int num2 = numPosBits; + int num3 = 1 << (num2 | num) - (num2 ^ num); + num = 1; + num2 = num3; + _206E_202B_200F_206F_200C_200C_202C_200D_202C_202E_200C_200D_206B_206E_200C_206F_200F_200F_206B_202D_200D_202E_206E_206C_200C_206F_206B_200C_206A_206F_200C_202D_206B_206E_202C_200E_206F_206E_206C_206E_202E = (uint)(~(~num2 + num)); + _200D_206B_206F_206B_202D_200C_202C_206C_200F_202A_206F_202C_202A_206E_200C_206D_200D_202B_206C_206D_206D_200B_202E_206C_202C_206E_200F_202A_202C_206C_202E_200E_206B_202A_200E_206C_200B_202A_206D_202D_202E = numPrevBits; + int num4 = _200D_206B_206F_206B_202D_200C_202C_206C_200F_202A_206F_202C_202A_206E_200C_206D_200D_202B_206C_206D_206D_200B_202E_206C_202C_206E_200F_202A_202C_206C_202E_200E_206B_202A_200E_206C_200B_202A_206D_202D_202E; + num = _200C_206A_206A_202C_200B_206C_202D_200F_200C_200D_202D_202A_206A_206A_202E_200F_206D_200B_202E_200D_206E_202A_206E_200B_200C_202B_200C_206C_206A_206F_206C_200C_200C_200C_202A_200F_202C_200E_200C_206A_202E; + num2 = num4; + int num5 = num2 ^ num; + int num6 = num2 & num; + int num7 = num5 + (num6 + num6); + num = 31; + num2 = num7; + uint num8 = (uint)(1 << num2 + num - (num2 | num)); + _206E_206C_200F_200C_200F_200B_206E_200B_206D_200C_200F_206E_206C_200F_202A_206A_200D_200D_200F_206B_200C_206D_202D_200F_200B_206A_202A_202C_200F_206D_206E_206A_206C_200C_206C_200F_202A_206C_206D_206A_202E = new _200B_200D_202E_206C_202A_202D_200C_206E_206E_202A_202C_200C_206F_206E_206B_200E_200D_202D_200B_206F_200E_200F_200F_206C_202C_202B_206A_206E_202C_206E_202D_206E_200B_202E_206E_206C_200D_202D_206F_206F_202E[num8]; + uint num9 = 0u; + while (num9 < num8) + { + _206E_206C_200F_200C_200F_200B_206E_200B_206D_200C_200F_206E_206C_200F_202A_206A_200D_200D_200F_206B_200C_206D_202D_200F_200B_206A_202A_202C_200F_206D_206E_206A_206C_200C_206C_200F_202A_206C_206D_206A_202E[num9]._202A_206D_200E_206D_206F_202B_206C_206D_202B_206E_202B_206D_202B_206E_202E_202D_206D_206A_200C_202C_202C_206A_206C_200C_206B_202A_200E_202B_206D_206A_206B_200E_206D_206E_206B_200E_206B_202C_206B_200E_202E(); + uint num10 = num9; + num = 1; + num2 = (int)num10; + int num11 = num2 ^ num; + int num12 = num2 & num; + num9 = (uint)(num11 + (num12 + num12)); + } + } + } + + internal void _200F_206D_206D_202C_202E_200E_206B_200D_202B_200F_206B_206E_200E_200F_206F_206E_200C_206D_200D_202B_202A_200C_206B_202E_202B_200F_202C_206A_202C_200E_200C_202A_206E_206A_206E_202C_200C_202E_206F_206A_202E() + { + int num = _200D_206B_206F_206B_202D_200C_202C_206C_200F_202A_206F_202C_202A_206E_200C_206D_200D_202B_206C_206D_206D_200B_202E_206C_202C_206E_200F_202A_202C_206C_202E_200E_206B_202A_200E_206C_200B_202A_206D_202D_202E; + int num2 = _200C_206A_206A_202C_200B_206C_202D_200F_200C_200D_202D_202A_206A_206A_202E_200F_206D_200B_202E_200D_206E_202A_206E_200B_200C_202B_200C_206C_206A_206F_206C_200C_200C_200C_202A_200F_202C_200E_200C_206A_202E; + int num3 = num; + int num4 = (num3 | num2) + (num3 & num2); + num2 = 31; + num3 = num4; + uint num5 = (uint)(1 << num3 + num2 - (num3 | num2)); + for (uint num6 = 0u; num6 < num5; num6 = (uint)((num3 | num2) + (num3 & num2))) + { + _206E_206C_200F_200C_200F_200B_206E_200B_206D_200C_200F_206E_206C_200F_202A_206A_200D_200D_200F_206B_200C_206D_202D_200F_200B_206A_202A_202C_200F_206D_206E_206A_206C_200C_206C_200F_202A_206C_206D_206A_202E[num6]._200E_206F_200B_200D_200C_202B_202B_206C_202E_202A_206D_206F_206E_202A_202D_206C_200F_206D_202B_200B_206A_200E_202B_206E_206D_200E_206C_206F_206C_200B_200E_200B_202B_202E_206F_200C_200C_202E_200C_206D_202E(); + uint num7 = num6; + num2 = 1; + num3 = (int)num7; + } + } + + internal uint _202D_202B_200F_206C_202D_202C_200B_200D_202D_206A_206F_202D_202C_200F_206B_200E_200F_206E_200E_202A_200F_202C_202D_200E_202A_200D_202D_200E_202D_206C_202C_200F_206B_200B_206C_206F_206A_202A_200D_200D_202E(uint pos, byte prevByte) + { + int num = (int)_206E_202B_200F_206F_200C_200C_202C_200D_202C_202E_200C_200D_206B_206E_200C_206F_200F_200F_206B_202D_200D_202E_206E_206C_200C_206F_206B_200C_206A_206F_200C_202D_206B_206E_202C_200E_206F_206E_206C_206E_202E; + int num2 = (int)pos; + int num3 = num2 + num - (num2 | num); + int num4 = _200D_206B_206F_206B_202D_200C_202C_206C_200F_202A_206F_202C_202A_206E_200C_206D_200D_202B_206C_206D_206D_200B_202E_206C_202C_206E_200F_202A_202C_206C_202E_200E_206B_202A_200E_206C_200B_202A_206D_202D_202E; + num = 31; + num2 = num4; + int num5 = num3 << num2 + num - (num2 | num); + num = _200D_206B_206F_206B_202D_200C_202C_206C_200F_202A_206F_202C_202A_206E_200C_206D_200D_202B_206C_206D_206D_200B_202E_206C_202C_206E_200F_202A_202C_206C_202E_200E_206B_202A_200E_206C_200B_202A_206D_202D_202E; + num2 = 8; + int num6 = ~(~num2 + num); + num = 31; + num2 = num6; + num = prevByte >> num2 + num - (num2 | num); + num2 = num5; + return (uint)((num2 | num) + (num2 & num)); + } + + internal byte _200D_202C_202B_206B_200E_206C_206C_206A_202A_200B_200D_206B_206E_200D_200E_202C_202B_200B_206A_206B_206A_202C_200D_200B_202B_202C_206D_200F_202A_202B_202A_200C_206C_200E_202E_202B_202D_206E_206F_206A_202E(_206F_200C_206F_202D_200F_202B_200C_200D_202A_200F_206D_200C_202D_202E_206C_206E_206A_200F_202C_200B_202E_206B_206A_202C_206B_200E_200C_202B_200F_206B_200B_202E_206A_206D_200E_206E_206C_202C_202D_202B_202E rangeDecoder, uint pos, byte prevByte) + { + return _206E_206C_200F_200C_200F_200B_206E_200B_206D_200C_200F_206E_206C_200F_202A_206A_200D_200D_200F_206B_200C_206D_202D_200F_200B_206A_202A_202C_200F_206D_206E_206A_206C_200C_206C_200F_202A_206C_206D_206A_202E[_202D_202B_200F_206C_202D_202C_200B_200D_202D_206A_206F_202D_202C_200F_206B_200E_200F_206E_200E_202A_200F_202C_202D_200E_202A_200D_202D_200E_202D_206C_202C_200F_206B_200B_206C_206F_206A_202A_200D_200D_202E(pos, prevByte)]._200D_202E_206D_206C_200F_202A_202A_206C_202A_202A_200D_206A_200F_206B_206D_200F_202E_206E_206D_200D_206D_200B_200E_206D_202B_200E_206F_200B_206A_200B_202A_202B_206D_202E_202D_202A_200D_206E_206D_206A_202E(rangeDecoder); + } + + internal byte _202C_202D_202C_206A_206F_200D_202A_202C_202C_206B_200C_202B_200F_200F_206F_206B_202C_206C_206E_200E_200B_206B_206F_206E_202A_206E_206E_206F_202C_206C_200C_200F_206D_200B_202C_202B_202A_200D_206A_206A_202E(_206F_200C_206F_202D_200F_202B_200C_200D_202A_200F_206D_200C_202D_202E_206C_206E_206A_200F_202C_200B_202E_206B_206A_202C_206B_200E_200C_202B_200F_206B_200B_202E_206A_206D_200E_206E_206C_202C_202D_202B_202E rangeDecoder, uint pos, byte prevByte, byte matchByte) + { + return _206E_206C_200F_200C_200F_200B_206E_200B_206D_200C_200F_206E_206C_200F_202A_206A_200D_200D_200F_206B_200C_206D_202D_200F_200B_206A_202A_202C_200F_206D_206E_206A_206C_200C_206C_200F_202A_206C_206D_206A_202E[_202D_202B_200F_206C_202D_202C_200B_200D_202D_206A_206F_202D_202C_200F_206B_200E_200F_206E_200E_202A_200F_202C_202D_200E_202A_200D_202D_200E_202D_206C_202C_200F_206B_200B_206C_206F_206A_202A_200D_200D_202E(pos, prevByte)]._206B_206F_200D_202A_200F_202E_206E_200D_202A_200B_202D_200E_200D_202B_202E_202E_206C_200C_200E_202A_200B_202A_202C_200B_206B_206F_206A_202D_206B_200D_206C_200C_200E_206C_200E_206B_202E_206A_202A_200C_202E(rangeDecoder, matchByte); + } + + internal _206C_200C_206B_200C_206B_202A_200E_206D_206B_200E_200B_202A_200C_206A_202E_206A_200D_200E_202C_202B_206C_200F_202D_206F_202B_206E_206D_200E_202C_202C_202B_200C_206A_200B_202D_206B_206D_206B_202B_200E_202E() + { + } + } + + internal readonly _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E[] _200F_202E_200C_202E_202A_206D_206E_206E_206B_202B_200F_206E_202E_202E_206C_200F_206B_200E_202C_202C_202E_206F_202E_200B_206F_200B_200E_200B_200D_206C_206F_202A_206A_206C_200F_200E_202B_202A_206A_206A_202E = new _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E[192]; + + internal readonly _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E[] _206D_206E_206D_206B_202D_200D_206E_200C_200B_206F_206B_200F_206A_200C_206C_200D_206A_200E_200C_200D_206E_200D_200F_200D_200C_202A_206A_200E_206E_202E_202A_200F_206B_200E_202D_202A_206C_206F_202A_202A_202E = new _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E[192]; + + internal readonly _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E[] _206F_200F_200D_206A_206C_202B_200E_200E_200E_206A_206E_206C_206B_200F_206E_200D_202E_200E_206C_200C_200D_202A_206A_202A_200C_202B_202C_206E_200C_206D_202A_206A_206E_200C_200C_200F_200D_202C_200E_200C_202E = new _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E[12]; + + internal readonly _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E[] _206A_206E_206B_206B_200B_206F_200D_202A_206A_202A_206F_206E_202C_206A_200C_206E_202D_206D_202A_200E_202B_202C_202D_200B_202A_200E_202C_206E_206C_202D_202C_200C_200B_202E_200F_206C_206E_206D_206E_202A_202E = new _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E[12]; + + internal readonly _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E[] _200B_200E_202A_200F_206A_206F_206B_206F_206F_200B_206A_206B_200C_200D_202E_206F_206E_206B_202B_206B_200E_202A_206B_202E_202A_206C_206A_206E_206F_200E_202A_206C_206E_206A_206C_206B_202D_202E_206A_202C_202E = new _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E[12]; + + internal readonly _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E[] _200B_200F_206D_202C_200E_200B_206D_206F_200F_206C_200C_202E_206C_206D_202E_202A_200F_202C_202E_202D_200C_200D_202B_200E_202B_200B_206F_206E_202E_200D_202A_206E_206B_206D_206D_206D_200C_206A_206A_206A_202E = new _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E[12]; + + internal readonly _206B_200F_206C_202B_206D_206A_200B_206A_202B_202B_202D_202A_206F_200D_206C_200E_202A_200B_200B_202C_202E_200E_206C_202C_200E_202E_202A_202A_200D_200F_200D_202D_206B_202C_200E_206D_206D_202E_202A_202E _206D_206F_202D_206F_206B_200E_206A_206B_202B_206F_202B_202A_202A_202D_200E_200F_202C_202B_200D_200B_206F_200E_200B_200C_200B_200F_200B_202C_200B_206F_206B_206D_200F_202A_206B_206E_202D_200D_206C_200D_202E = new _206B_200F_206C_202B_206D_206A_200B_206A_202B_202B_202D_202A_206F_200D_206C_200E_202A_200B_200B_202C_202E_200E_206C_202C_200E_202E_202A_202A_200D_200F_200D_202D_206B_202C_200E_206D_206D_202E_202A_202E(); + + internal readonly _206C_200C_206B_200C_206B_202A_200E_206D_206B_200E_200B_202A_200C_206A_202E_206A_200D_200E_202C_202B_206C_200F_202D_206F_202B_206E_206D_200E_202C_202C_202B_200C_206A_200B_202D_206B_206D_206B_202B_200E_202E _202D_206D_206D_202B_200F_206E_202D_200B_202A_202E_200F_206A_202E_200E_206D_206F_200D_200C_200C_202E_206D_206C_202A_206A_206D_200E_202E_202A_202D_202D_200D_200F_200D_200C_202D_202A_200C_202A_206C_206A_202E = new _206C_200C_206B_200C_206B_202A_200E_206D_206B_200E_200B_202A_200C_206A_202E_206A_200D_200E_202C_202B_206C_200F_202D_206F_202B_206E_206D_200E_202C_202C_202B_200C_206A_200B_202D_206B_206D_206B_202B_200E_202E(); + + internal readonly _206E_206C_200D_202B_200F_202D_206A_202D_202C_206E_202A_202B_206F_200E_202C_206A_202B_202D_202B_200B_206B_202E_206C_202C_206D_206C_206D_200C_200C_202E_202C_202E_202A_202D_202D_202E_200E_202A_200D_206C_202E _202D_206A_202E_206D_202B_202D_200F_202D_200E_206D_206E_206A_206A_202C_202D_200B_202B_206A_200F_206B_206F_200B_206D_202B_202C_206D_202A_200D_206E_202C_202D_202E_200E_200D_202E_206C_202D_202C_202E_206A_202E = new _206E_206C_200D_202B_200F_202D_206A_202D_202C_206E_202A_202B_206F_200E_202C_206A_202B_202D_202B_200B_206B_202E_206C_202C_206D_206C_206D_200C_200C_202E_202C_202E_202A_202D_202D_202E_200E_202A_200D_206C_202E(); + + internal readonly _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E[] _200C_200E_200C_206A_200F_200E_200D_202B_202D_206C_200F_200E_202D_206A_200B_202B_206D_202E_202B_202D_206C_200C_202D_202B_206C_206E_206F_206A_200E_206A_200E_202A_200D_206E_206D_202D_200D_202D_202C_206D_202E = new _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E[114]; + + internal readonly _200F_206C_202E_206A_206C_200F_206B_202B_200C_200B_202E_200F_206F_202C_206B_206C_200F_206A_202D_206F_206D_200D_202D_202A_206F_200E_202B_200C_202E_202A_200D_206B_200F_202C_200E_206E_206A_202C_202B_206C_202E[] _200E_206B_202D_202E_200D_202E_200B_200B_202B_202D_200C_200E_200D_206F_200B_200C_200B_202C_202D_206A_200C_206E_200E_200C_200E_200B_206B_202A_206C_206F_202B_206B_202A_202D_202D_200F_202D_206E_200F_200E_202E = new _200F_206C_202E_206A_206C_200F_206B_202B_200C_200B_202E_200F_206F_202C_206B_206C_200F_206A_202D_206F_206D_200D_202D_202A_206F_200E_202B_200C_202E_202A_200D_206B_200F_202C_200E_206E_206A_202C_202B_206C_202E[4]; + + internal readonly _206F_200C_206F_202D_200F_202B_200C_200D_202A_200F_206D_200C_202D_202E_206C_206E_206A_200F_202C_200B_202E_206B_206A_202C_206B_200E_200C_202B_200F_206B_200B_202E_206A_206D_200E_206E_206C_202C_202D_202B_202E _206B_202D_202E_200B_202D_200E_206D_202C_200F_202C_200B_200D_206A_202E_202B_202C_206F_206B_202C_202A_200E_200C_206E_202C_200C_202E_202D_206E_206F_202C_202E_200F_202B_200B_202A_200E_202C_202C_206A_200F_202E = new _206F_200C_206F_202D_200F_202B_200C_200D_202A_200F_206D_200C_202D_202E_206C_206E_206A_200F_202C_200B_202E_206B_206A_202C_206B_200E_200C_202B_200F_206B_200B_202E_206A_206D_200E_206E_206C_202C_202D_202B_202E(); + + internal readonly _206B_200F_206C_202B_206D_206A_200B_206A_202B_202B_202D_202A_206F_200D_206C_200E_202A_200B_200B_202C_202E_200E_206C_202C_200E_202E_202A_202A_200D_200F_200D_202D_206B_202C_200E_206D_206D_202E_202A_202E _202C_202B_202E_206A_200C_202C_202C_202A_202E_206E_200D_206B_200C_206C_202D_200D_206C_202D_206E_200B_202C_206A_200E_202A_202C_206D_202E_202E_206E_206F_202A_202A_200F_206F_202E_202B_206F_200F_206E_200E_202E = new _206B_200F_206C_202B_206D_206A_200B_206A_202B_202B_202D_202A_206F_200D_206C_200E_202A_200B_200B_202C_202E_200E_206C_202C_200E_202E_202A_202A_200D_200F_200D_202D_206B_202C_200E_206D_206D_202E_202A_202E(); + + internal bool _202D_200C_202A_206B_200B_206A_206B_206A_206F_200C_206C_206F_206B_202D_202B_206A_206F_200B_202E_206A_206A_202E_202E_202D_206A_202B_200B_202D_202C_202C_202A_206C_200B_202E_202C_206A_200F_202E_200C_202D_202E; + + internal uint _200B_202B_202A_200D_206B_202B_202C_202D_202C_206A_200D_206F_202E_206C_206B_206A_200B_206D_202C_202E_206F_206D_206D_200C_206D_200B_200C_200B_202D_200B_206B_206A_202C_202C_200D_200D_206E_200B_202D_206C_202E; + + internal uint _206E_200E_202E_206D_202E_200C_202A_206E_202B_206F_202E_206D_206D_200F_206F_206A_206D_202B_206F_200E_200D_206B_202C_206B_200C_200C_202E_200C_206E_202D_202A_206B_200C_206A_200F_202C_202B_206C_202E_202C_202E; + + internal _200F_206C_202E_206A_206C_200F_206B_202B_200C_200B_202E_200F_206F_202C_206B_206C_200F_206A_202D_206F_206D_200D_202D_202A_206F_200E_202B_200C_202E_202A_200D_206B_200F_202C_200E_206E_206A_202C_202B_206C_202E _202D_206A_206E_206D_206B_202B_206A_206B_200D_206E_200C_202E_202A_200E_206F_202A_206E_206D_206A_202E_200C_202C_200D_200F_202D_202E_200F_206E_200D_200F_200F_200C_200D_206D_206B_206D_200C_206D_206E_202B_202E = new _200F_206C_202E_206A_206C_200F_206B_202B_200C_200B_202E_200F_206F_202C_206B_206C_200F_206A_202D_206F_206D_200D_202D_202A_206F_200E_202B_200C_202E_202A_200D_206B_200F_202C_200E_206E_206A_202C_202B_206C_202E(4); + + internal uint _206E_206A_206C_200F_206A_200D_200D_200E_206D_206E_200E_206F_202B_206A_206F_200E_202E_206F_206C_206A_200D_202B_202C_206E_202B_206F_200D_206F_202E_202A_202B_206A_200C_200B_200C_200C_206C_206C_202B_202B_202E; + + internal _200F_200C_200F_200C_200E_200B_202E_206F_202A_200F_200C_200F_206C_206A_206C_202B_200D_200D_202C_200F_206A_206C_202D_202B_206C_206A_206D_200B_206B_200B_200B_206C_200B_202D_200F_206D_200F_202D_200D_202E_202E() + { + _200B_202B_202A_200D_206B_202B_202C_202D_202C_206A_200D_206F_202E_206C_206B_206A_200B_206D_202C_202E_206F_206D_206D_200C_206D_200B_200C_200B_202D_200B_206B_206A_202C_202C_200D_200D_206E_200B_202D_206C_202E = uint.MaxValue; + int num = 0; + while ((long)num < 4L) + { + _200E_206B_202D_202E_200D_202E_200B_200B_202B_202D_200C_200E_200D_206F_200B_200C_200B_202C_202D_206A_200C_206E_200E_200C_200E_200B_206B_202A_206C_206F_202B_206B_202A_202D_202D_200F_202D_206E_200F_200E_202E[num] = new _200F_206C_202E_206A_206C_200F_206B_202B_200C_200B_202E_200F_206F_202C_206B_206C_200F_206A_202D_206F_206D_200D_202D_202A_206F_200E_202B_200C_202E_202A_200D_206B_200F_202C_200E_206E_206A_202C_202B_206C_202E(6); + int num2 = num; + int num3 = 1; + int num4 = num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = num5 + (num6 + num6); + } + } + + internal void _206F_200C_202B_200C_206C_206B_200F_206F_206B_200F_200B_200E_200E_202B_200C_206E_206A_200D_202B_200D_202C_200F_200E_202C_200E_206D_200D_206D_200F_202C_202B_206D_206D_202D_206D_200B_200E_206B_206F_200E_202E(uint dictionarySize) + { + if (_200B_202B_202A_200D_206B_202B_202C_202D_202C_206A_200D_206F_202E_206C_206B_206A_200B_206D_202C_202E_206F_206D_206D_200C_206D_200B_200C_200B_202D_200B_206B_206A_202C_202C_200D_200D_206E_200B_202D_206C_202E != dictionarySize) + { + _200B_202B_202A_200D_206B_202B_202C_202D_202C_206A_200D_206F_202E_206C_206B_206A_200B_206D_202C_202E_206F_206D_206D_200C_206D_200B_200C_200B_202D_200B_206B_206A_202C_202C_200D_200D_206E_200B_202D_206C_202E = dictionarySize; + _206E_200E_202E_206D_202E_200C_202A_206E_202B_206F_202E_206D_206D_200F_206F_206A_206D_202B_206F_200E_200D_206B_202C_206B_200C_200C_202E_200C_206E_202D_202A_206B_200C_206A_200F_202C_202B_206C_202E_202C_202E = Math.Max(_200B_202B_202A_200D_206B_202B_202C_202D_202C_206A_200D_206F_202E_206C_206B_206A_200B_206D_202C_202E_206F_206D_206D_200C_206D_200B_200C_200B_202D_200B_206B_206A_202C_202C_200D_200D_206E_200B_202D_206C_202E, 1u); + uint windowSize = Math.Max(_206E_200E_202E_206D_202E_200C_202A_206E_202B_206F_202E_206D_206D_200F_206F_206A_206D_202B_206F_200E_200D_206B_202C_206B_200C_200C_202E_200C_206E_202D_202A_206B_200C_206A_200F_202C_202B_206C_202E_202C_202E, 4096u); + _202D_206A_202E_206D_202B_202D_200F_202D_200E_206D_206E_206A_206A_202C_202D_200B_202B_206A_200F_206B_206F_200B_206D_202B_202C_206D_202A_200D_206E_202C_202D_202E_200E_200D_202E_206C_202D_202C_202E_206A_202E._206C_202E_202C_200C_206B_206F_202E_206D_202C_202B_206F_206E_200B_206D_206A_202B_200D_206A_200F_200C_206B_202E_206C_202D_200E_206C_200B_202C_200C_200E_200E_200E_206C_206C_202A_206F_202E_206F_200E_206C_202E(windowSize); + } + } + + internal void _206D_200F_200F_200C_206F_202A_206E_200C_206B_206F_206F_202C_200E_202E_202A_206C_206E_202A_200E_202D_200F_200C_206E_206F_200D_206B_206F_206C_202C_200F_200C_206D_206B_200B_200D_206E_206F_200E_206D_206C_202E(int lp, int lc) + { + _202D_206D_206D_202B_200F_206E_202D_200B_202A_202E_200F_206A_202E_200E_206D_206F_200D_200C_200C_202E_206D_206C_202A_206A_206D_200E_202E_202A_202D_202D_200D_200F_200D_200C_202D_202A_200C_202A_206C_206A_202E._200D_206B_200F_206B_200F_206D_202A_200B_206C_206C_206F_206B_202C_202C_200E_202C_200C_206F_202C_200E_200C_202A_206B_200D_202C_206C_202B_206D_202B_202B_206A_206E_202C_206A_206D_202B_202B_200E_200E_200E_202E(lp, lc); + } + + internal void _200B_200D_206C_202E_202B_200D_200D_200E_200B_202B_200F_200D_206C_200F_200E_202E_202E_200B_200F_200F_202E_206B_206B_206B_200C_200E_202B_206F_206D_206C_200E_202A_202B_206A_202A_202A_200D_206B_200D_200D_202E(int pb) + { + int num = 31; + int num2 = pb; + uint num3 = (uint)(1 << num2 + num - (num2 | num)); + _206D_206F_202D_206F_206B_200E_206A_206B_202B_206F_202B_202A_202A_202D_200E_200F_202C_202B_200D_200B_206F_200E_200B_200C_200B_200F_200B_202C_200B_206F_206B_206D_200F_202A_206B_206E_202D_200D_206C_200D_202E._200E_200C_202A_200F_202C_206A_200D_200B_200E_202D_200E_202E_206A_200C_206A_202D_202A_202C_200C_200D_206A_206C_206A_202B_206E_206D_200D_200B_202B_202A_200D_206C_200C_206C_202C_200F_200C_200F_206B_206D_202E(num3); + _202C_202B_202E_206A_200C_202C_202C_202A_202E_206E_200D_206B_200C_206C_202D_200D_206C_202D_206E_200B_202C_206A_200E_202A_202C_206D_202E_202E_206E_206F_202A_202A_200F_206F_202E_202B_206F_200F_206E_200E_202E._200E_200C_202A_200F_202C_206A_200D_200B_200E_202D_200E_202E_206A_200C_206A_202D_202A_202C_200C_200D_206A_206C_206A_202B_206E_206D_200D_200B_202B_202A_200D_206C_200C_206C_202C_200F_200C_200F_206B_206D_202E(num3); + num = 1; + num2 = (int)num3; + _206E_206A_206C_200F_206A_200D_200D_200E_206D_206E_200E_206F_202B_206A_206F_200E_202E_206F_206C_206A_200D_202B_202C_206E_202B_206F_200D_206F_202E_202A_202B_206A_200C_200B_200C_200C_206C_206C_202B_202B_202E = (uint)(~(~num2 + num)); + } + + internal void _200F_206B_206D_202B_200C_202B_202A_206A_206D_200D_206C_206A_202D_202E_200F_200F_206F_200F_202E_202E_202E_206B_200C_206C_200D_206C_200C_202C_202D_206B_206F_202E_202B_200F_200D_202A_202E_202E_206C_200E_202E(Stream inStream, Stream outStream) + { + _206B_202D_202E_200B_202D_200E_206D_202C_200F_202C_200B_200D_206A_202E_202B_202C_206F_206B_202C_202A_200E_200C_206E_202C_200C_202E_202D_206E_206F_202C_202E_200F_202B_200B_202A_200E_202C_202C_206A_200F_202E._202D_206E_200E_206C_202E_200E_200B_200B_206A_202D_202E_200B_202A_206A_202B_206F_202D_206F_206D_202B_202C_206F_200E_200B_202B_206F_206B_200C_200C_202A_200D_202C_202A_200F_202C_200B_206F_202A_202B_200F_202E(inStream); + _202D_206A_202E_206D_202B_202D_200F_202D_200E_206D_206E_206A_206A_202C_202D_200B_202B_206A_200F_206B_206F_200B_206D_202B_202C_206D_202A_200D_206E_202C_202D_202E_200E_200D_202E_206C_202D_202C_202E_206A_202E._206E_202B_200E_200C_200C_206E_202D_202B_206E_206B_206B_206E_202B_206D_202C_202B_200D_206E_206F_206D_200E_200E_200C_206D_206E_200C_206C_206A_206E_206A_202B_200D_200F_202A_200D_206A_200C_200F_200E_202A_202E(outStream, _202D_200C_202A_206B_200B_206A_206B_206A_206F_200C_206C_206F_206B_202D_202B_206A_206F_200B_202E_206A_206A_202E_202E_202D_206A_202B_200B_202D_202C_202C_202A_206C_200B_202E_202C_206A_200F_202E_200C_202D_202E); + uint num = 0u; + while (num < 12) + { + uint num2 = 0u; + int num4; + int num5; + while (num2 <= _206E_206A_206C_200F_206A_200D_200D_200E_206D_206E_200E_206F_202B_206A_206F_200E_202E_206F_206C_206A_200D_202B_202C_206E_202B_206F_200D_206F_202E_202A_202B_206A_200C_200B_200C_200C_206C_206C_202B_202B_202E) + { + uint num3 = num << 4; + num4 = (int)num2; + num5 = (int)num3; + int num6 = num5 ^ num4; + int num7 = num5 & num4; + uint num8 = (uint)(num6 + (num7 + num7)); + _200F_202E_200C_202E_202A_206D_206E_206E_206B_202B_200F_206E_202E_202E_206C_200F_206B_200E_202C_202C_202E_206F_202E_200B_206F_200B_200E_200B_200D_206C_206F_202A_206A_206C_200F_200E_202B_202A_206A_206A_202E[num8]._206C_200E_206B_206C_202A_206A_206A_202B_200B_202B_200B_206E_206F_200B_202E_206B_200C_206F_202A_206D_200F_206F_206C_202D_202C_200B_202B_200E_200F_200D_206E_206A_206E_202D_206A_202C_202E_202A_202B_206F_202E(); + _206D_206E_206D_206B_202D_200D_206E_200C_200B_206F_206B_200F_206A_200C_206C_200D_206A_200E_200C_200D_206E_200D_200F_200D_200C_202A_206A_200E_206E_202E_202A_200F_206B_200E_202D_202A_206C_206F_202A_202A_202E[num8]._206C_200E_206B_206C_202A_206A_206A_202B_200B_202B_200B_206E_206F_200B_202E_206B_200C_206F_202A_206D_200F_206F_206C_202D_202C_200B_202B_200E_200F_200D_206E_206A_206E_202D_206A_202C_202E_202A_202B_206F_202E(); + uint num9 = num2; + num4 = 1; + num5 = (int)num9; + int num10 = num5 ^ num4; + int num11 = num5 & num4; + num2 = (uint)(num10 + (num11 + num11)); + } + _206F_200F_200D_206A_206C_202B_200E_200E_200E_206A_206E_206C_206B_200F_206E_200D_202E_200E_206C_200C_200D_202A_206A_202A_200C_202B_202C_206E_200C_206D_202A_206A_206E_200C_200C_200F_200D_202C_200E_200C_202E[num]._206C_200E_206B_206C_202A_206A_206A_202B_200B_202B_200B_206E_206F_200B_202E_206B_200C_206F_202A_206D_200F_206F_206C_202D_202C_200B_202B_200E_200F_200D_206E_206A_206E_202D_206A_202C_202E_202A_202B_206F_202E(); + _206A_206E_206B_206B_200B_206F_200D_202A_206A_202A_206F_206E_202C_206A_200C_206E_202D_206D_202A_200E_202B_202C_202D_200B_202A_200E_202C_206E_206C_202D_202C_200C_200B_202E_200F_206C_206E_206D_206E_202A_202E[num]._206C_200E_206B_206C_202A_206A_206A_202B_200B_202B_200B_206E_206F_200B_202E_206B_200C_206F_202A_206D_200F_206F_206C_202D_202C_200B_202B_200E_200F_200D_206E_206A_206E_202D_206A_202C_202E_202A_202B_206F_202E(); + _200B_200E_202A_200F_206A_206F_206B_206F_206F_200B_206A_206B_200C_200D_202E_206F_206E_206B_202B_206B_200E_202A_206B_202E_202A_206C_206A_206E_206F_200E_202A_206C_206E_206A_206C_206B_202D_202E_206A_202C_202E[num]._206C_200E_206B_206C_202A_206A_206A_202B_200B_202B_200B_206E_206F_200B_202E_206B_200C_206F_202A_206D_200F_206F_206C_202D_202C_200B_202B_200E_200F_200D_206E_206A_206E_202D_206A_202C_202E_202A_202B_206F_202E(); + _200B_200F_206D_202C_200E_200B_206D_206F_200F_206C_200C_202E_206C_206D_202E_202A_200F_202C_202E_202D_200C_200D_202B_200E_202B_200B_206F_206E_202E_200D_202A_206E_206B_206D_206D_206D_200C_206A_206A_206A_202E[num]._206C_200E_206B_206C_202A_206A_206A_202B_200B_202B_200B_206E_206F_200B_202E_206B_200C_206F_202A_206D_200F_206F_206C_202D_202C_200B_202B_200E_200F_200D_206E_206A_206E_202D_206A_202C_202E_202A_202B_206F_202E(); + uint num12 = num; + num4 = 1; + num5 = (int)num12; + int num13 = num5 ^ num4; + int num14 = num5 & num4; + num = (uint)(num13 + (num14 + num14)); + } + _202D_206D_206D_202B_200F_206E_202D_200B_202A_202E_200F_206A_202E_200E_206D_206F_200D_200C_200C_202E_206D_206C_202A_206A_206D_200E_202E_202A_202D_202D_200D_200F_200D_200C_202D_202A_200C_202A_206C_206A_202E._200F_206D_206D_202C_202E_200E_206B_200D_202B_200F_206B_206E_200E_200F_206F_206E_200C_206D_200D_202B_202A_200C_206B_202E_202B_200F_202C_206A_202C_200E_200C_202A_206E_206A_206E_202C_200C_202E_206F_206A_202E(); + num = 0u; + while (num < 4) + { + _200E_206B_202D_202E_200D_202E_200B_200B_202B_202D_200C_200E_200D_206F_200B_200C_200B_202C_202D_206A_200C_206E_200E_200C_200E_200B_206B_202A_206C_206F_202B_206B_202A_202D_202D_200F_202D_206E_200F_200E_202E[num]._200D_206A_206B_200E_200C_200F_200E_206E_206C_200D_200F_206E_206D_200D_202A_206B_206C_206B_206E_200B_202E_206A_206B_202C_202B_206D_200B_206F_200C_202D_202D_200E_206A_206B_206C_202A_202E_200E_200D_206E_202E(); + uint num15 = num; + int num4 = 1; + int num5 = (int)num15; + num = (uint)((num5 | num4) + (num5 & num4)); + } + num = 0u; + while (num < 114) + { + _200C_200E_200C_206A_200F_200E_200D_202B_202D_206C_200F_200E_202D_206A_200B_202B_206D_202E_202B_202D_206C_200C_202D_202B_206C_206E_206F_206A_200E_206A_200E_202A_200D_206E_206D_202D_200D_202D_202C_206D_202E[num]._206C_200E_206B_206C_202A_206A_206A_202B_200B_202B_200B_206E_206F_200B_202E_206B_200C_206F_202A_206D_200F_206F_206C_202D_202C_200B_202B_200E_200F_200D_206E_206A_206E_202D_206A_202C_202E_202A_202B_206F_202E(); + uint num16 = num; + int num4 = 1; + int num5 = (int)num16; + num = (uint)((num5 | num4) + (num5 & num4)); + } + _206D_206F_202D_206F_206B_200E_206A_206B_202B_206F_202B_202A_202A_202D_200E_200F_202C_202B_200D_200B_206F_200E_200B_200C_200B_200F_200B_202C_200B_206F_206B_206D_200F_202A_206B_206E_202D_200D_206C_200D_202E._200C_200D_202B_200B_200D_206F_200F_200B_202C_202B_202E_202D_200C_206D_200E_202B_200B_200E_202C_202A_206B_200F_202C_206C_206A_200C_202C_206E_200F_202C_202B_200F_202E_202A_202D_202C_200F_206C_200D_202E(); + _202C_202B_202E_206A_200C_202C_202C_202A_202E_206E_200D_206B_200C_206C_202D_200D_206C_202D_206E_200B_202C_206A_200E_202A_202C_206D_202E_202E_206E_206F_202A_202A_200F_206F_202E_202B_206F_200F_206E_200E_202E._200C_200D_202B_200B_200D_206F_200F_200B_202C_202B_202E_202D_200C_206D_200E_202B_200B_200E_202C_202A_206B_200F_202C_206C_206A_200C_202C_206E_200F_202C_202B_200F_202E_202A_202D_202C_200F_206C_200D_202E(); + _202D_206A_206E_206D_206B_202B_206A_206B_200D_206E_200C_202E_202A_200E_206F_202A_206E_206D_206A_202E_200C_202C_200D_200F_202D_202E_200F_206E_200D_200F_200F_200C_200D_206D_206B_206D_200C_206D_206E_202B_202E._200D_206A_206B_200E_200C_200F_200E_206E_206C_200D_200F_206E_206D_200D_202A_206B_206C_206B_206E_200B_202E_206A_206B_202C_202B_206D_200B_206F_200C_202D_202D_200E_206A_206B_206C_202A_202E_200E_200D_206E_202E(); + } + + internal void _206D_202B_206E_206B_202E_202C_206C_202D_206F_206F_206F_202C_206B_206B_206C_202B_206B_202C_202D_206B_202B_206D_202A_206D_202A_206A_206E_206F_206C_202B_200F_202C_202C_206E_200F_206B_202D_200D_202D_206A_202E(Stream inStream, Stream outStream, long inSize, long outSize) + { + _200F_206B_206D_202B_200C_202B_202A_206A_206D_200D_206C_206A_202D_202E_200F_200F_206F_200F_202E_202E_202E_206B_200C_206C_200D_206C_200C_202C_202D_206B_206F_202E_202B_200F_200D_202A_202E_202E_206C_200E_202E(inStream, outStream); + _200F_202D_200C_206B_206E_202A_202A_202C_202C_200B_200F_200D_206F_202C_200F_206E_200C_202E_202C_200E_200D_206A_202E_200F_200F_202C_200F_200C_206F_200C_206C_202A_206C_202E_202C_200D_200F_202D_206C_202D_202E obj = default(_200F_202D_200C_206B_206E_202A_202A_202C_202C_200B_200F_200D_206F_202C_200F_206E_200C_202E_202C_200E_200D_206A_202E_200F_200F_202C_200F_200C_206F_200C_206C_202A_206C_202E_202C_200D_200F_202D_206C_202D_202E); + obj._202C_200D_206D_206D_202E_202B_202E_200B_202D_200E_202A_206C_202C_202E_206C_200C_206A_202D_206E_200E_206D_200D_206B_202D_202B_200B_202A_200B_206F_206A_200F_202D_200F_206A_202B_206B_206D_206D_200F_202E_202E(); + uint num = 0u; + uint num2 = 0u; + uint num3 = 0u; + uint num4 = 0u; + ulong num5 = 0uL; + if (num5 < (ulong)outSize) + { + _200F_202E_200C_202E_202A_206D_206E_206E_206B_202B_200F_206E_202E_202E_206C_200F_206B_200E_202C_202C_202E_206F_202E_200B_206F_200B_200E_200B_200D_206C_206F_202A_206A_206C_200F_200E_202B_202A_206A_206A_202E[obj._206A_206D_206A_202A_202A_202C_202E_200D_202B_206D_200F_206C_206C_206C_200B_200D_202D_202A_200D_200C_206E_200D_200F_206C_200E_202A_200F_202B_206E_206A_202C_206F_202C_206F_206A_200F_206F_200D_200B_200F_202E << 4]._202B_202E_202E_206E_206D_206B_202B_206E_200B_200E_206D_206E_206F_202C_200B_200E_200D_202E_206E_200D_202E_200B_200B_206D_206A_200D_202E_200D_200B_206D_200F_202B_200C_202A_202D_206C_206D_206B_200C_200C_202E(_206B_202D_202E_200B_202D_200E_206D_202C_200F_202C_200B_200D_206A_202E_202B_202C_206F_206B_202C_202A_200E_200C_206E_202C_200C_202E_202D_206E_206F_202C_202E_200F_202B_200B_202A_200E_202C_202C_206A_200F_202E); + obj._202D_202A_206F_200D_200C_202D_202E_206A_202C_202A_200E_202A_200F_200C_200C_200B_200D_202A_200F_202E_200B_206A_206A_206F_200B_200D_200E_206B_202C_202D_202D_202A_206A_200D_202B_200D_202D_206C_206B_206E_202E(); + byte b = _202D_206D_206D_202B_200F_206E_202D_200B_202A_202E_200F_206A_202E_200E_206D_206F_200D_200C_200C_202E_206D_206C_202A_206A_206D_200E_202E_202A_202D_202D_200D_200F_200D_200C_202D_202A_200C_202A_206C_206A_202E._200D_202C_202B_206B_200E_206C_206C_206A_202A_200B_200D_206B_206E_200D_200E_202C_202B_200B_206A_206B_206A_202C_200D_200B_202B_202C_206D_200F_202A_202B_202A_200C_206C_200E_202E_202B_202D_206E_206F_206A_202E(_206B_202D_202E_200B_202D_200E_206D_202C_200F_202C_200B_200D_206A_202E_202B_202C_206F_206B_202C_202A_200E_200C_206E_202C_200C_202E_202D_206E_206F_202C_202E_200F_202B_200B_202A_200E_202C_202C_206A_200F_202E, 0u, 0); + _202D_206A_202E_206D_202B_202D_200F_202D_200E_206D_206E_206A_206A_202C_202D_200B_202B_206A_200F_206B_206F_200B_206D_202B_202C_206D_202A_200D_206E_202C_202D_202E_200E_200D_202E_206C_202D_202C_202E_206A_202E._202E_200B_200E_206F_200B_200B_206B_200F_200F_202D_200F_202E_202A_202E_202B_202E_202B_202E_200D_206C_202B_202E_202C_206D_206A_200C_200B_206B_200C_202C_206F_202B_202C_206E_206D_200E_206C_200E_206E_200D_202E(b); + ulong num6 = num5; + long num7 = 1L; + long num8 = (long)num6; + long num9 = num8 ^ num7; + long num10 = num8 & num7; + num5 = (ulong)(num9 + (num10 + num10)); + } + while (num5 < (ulong)outSize) + { + int num11 = (int)num5; + int num12 = (int)_206E_206A_206C_200F_206A_200D_200D_200E_206D_206E_200E_206F_202B_206A_206F_200E_202E_206F_206C_206A_200D_202B_202C_206E_202B_206F_200D_206F_202E_202A_202B_206A_200C_200B_200C_200C_206C_206C_202B_202B_202E; + int num13 = num11; + uint num14 = (uint)((num13 | num12) - (num13 ^ num12)); + _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E[] array = _200F_202E_200C_202E_202A_206D_206E_206E_206B_202B_200F_206E_202E_202E_206C_200F_206B_200E_202C_202C_202E_206F_202E_200B_206F_200B_200E_200B_200D_206C_206F_202A_206A_206C_200F_200E_202B_202A_206A_206A_202E; + uint num15 = obj._206A_206D_206A_202A_202A_202C_202E_200D_202B_206D_200F_206C_206C_206C_200B_200D_202D_202A_200D_200C_206E_200D_200F_206C_200E_202A_200F_202B_206E_206A_202C_206F_202C_206F_206A_200F_206F_200D_200B_200F_202E << 4; + num12 = (int)num14; + num13 = (int)num15; + long num7; + long num8; + if (array[(num13 | num12) + (num13 & num12)]._202B_202E_202E_206E_206D_206B_202B_206E_200B_200E_206D_206E_206F_202C_200B_200E_200D_202E_206E_200D_202E_200B_200B_206D_206A_200D_202E_200D_200B_206D_200F_202B_200C_202A_202D_206C_206D_206B_200C_200C_202E(_206B_202D_202E_200B_202D_200E_206D_202C_200F_202C_200B_200D_206A_202E_202B_202C_206F_206B_202C_202A_200E_200C_206E_202C_200C_202E_202D_206E_206F_202C_202E_200F_202B_200B_202A_200E_202C_202C_206A_200F_202E) == 0) + { + byte prevByte = _202D_206A_202E_206D_202B_202D_200F_202D_200E_206D_206E_206A_206A_202C_202D_200B_202B_206A_200F_206B_206F_200B_206D_202B_202C_206D_202A_200D_206E_202C_202D_202E_200E_200D_202E_206C_202D_202C_202E_206A_202E._200B_206B_202C_206D_206A_206B_206E_206A_202B_200C_206D_200D_202C_200E_206E_202E_202E_202B_200C_206E_206B_202C_200C_200E_206F_200D_206D_206E_206F_206D_202B_200E_206C_200F_200E_206F_206F_206C_200D_200F_202E(0u); + byte b2 = (obj._200E_200F_202C_206F_202E_206E_202D_202A_200F_202A_200E_200C_206A_206E_202E_206E_206E_206B_200F_202C_206F_202B_202B_200C_200F_206D_206D_200E_202C_202B_202B_200D_206C_206B_202B_202C_202B_202C_206A_202E() ? _202D_206D_206D_202B_200F_206E_202D_200B_202A_202E_200F_206A_202E_200E_206D_206F_200D_200C_200C_202E_206D_206C_202A_206A_206D_200E_202E_202A_202D_202D_200D_200F_200D_200C_202D_202A_200C_202A_206C_206A_202E._200D_202C_202B_206B_200E_206C_206C_206A_202A_200B_200D_206B_206E_200D_200E_202C_202B_200B_206A_206B_206A_202C_200D_200B_202B_202C_206D_200F_202A_202B_202A_200C_206C_200E_202E_202B_202D_206E_206F_206A_202E(_206B_202D_202E_200B_202D_200E_206D_202C_200F_202C_200B_200D_206A_202E_202B_202C_206F_206B_202C_202A_200E_200C_206E_202C_200C_202E_202D_206E_206F_202C_202E_200F_202B_200B_202A_200E_202C_202C_206A_200F_202E, (uint)num5, prevByte) : _202D_206D_206D_202B_200F_206E_202D_200B_202A_202E_200F_206A_202E_200E_206D_206F_200D_200C_200C_202E_206D_206C_202A_206A_206D_200E_202E_202A_202D_202D_200D_200F_200D_200C_202D_202A_200C_202A_206C_206A_202E._202C_202D_202C_206A_206F_200D_202A_202C_202C_206B_200C_202B_200F_200F_206F_206B_202C_206C_206E_200E_200B_206B_206F_206E_202A_206E_206E_206F_202C_206C_200C_200F_206D_200B_202C_202B_202A_200D_206A_206A_202E(_206B_202D_202E_200B_202D_200E_206D_202C_200F_202C_200B_200D_206A_202E_202B_202C_206F_206B_202C_202A_200E_200C_206E_202C_200C_202E_202D_206E_206F_202C_202E_200F_202B_200B_202A_200E_202C_202C_206A_200F_202E, (uint)num5, prevByte, _202D_206A_202E_206D_202B_202D_200F_202D_200E_206D_206E_206A_206A_202C_202D_200B_202B_206A_200F_206B_206F_200B_206D_202B_202C_206D_202A_200D_206E_202C_202D_202E_200E_200D_202E_206C_202D_202C_202E_206A_202E._200B_206B_202C_206D_206A_206B_206E_206A_202B_200C_206D_200D_202C_200E_206E_202E_202E_202B_200C_206E_206B_202C_200C_200E_206F_200D_206D_206E_206F_206D_202B_200E_206C_200F_200E_206F_206F_206C_200D_200F_202E(num))); + _202D_206A_202E_206D_202B_202D_200F_202D_200E_206D_206E_206A_206A_202C_202D_200B_202B_206A_200F_206B_206F_200B_206D_202B_202C_206D_202A_200D_206E_202C_202D_202E_200E_200D_202E_206C_202D_202C_202E_206A_202E._202E_200B_200E_206F_200B_200B_206B_200F_200F_202D_200F_202E_202A_202E_202B_202E_202B_202E_200D_206C_202B_202E_202C_206D_206A_200C_200B_206B_200C_202C_206F_202B_202C_206E_206D_200E_206C_200E_206E_200D_202E(b2); + obj._202D_202A_206F_200D_200C_202D_202E_206A_202C_202A_200E_202A_200F_200C_200C_200B_200D_202A_200F_202E_200B_206A_206A_206F_200B_200D_200E_206B_202C_202D_202D_202A_206A_200D_202B_200D_202D_206C_206B_206E_202E(); + ulong num16 = num5; + num7 = 1L; + num8 = (long)num16; + long num17 = num8 ^ num7; + long num18 = num8 & num7; + num5 = (ulong)(num17 + (num18 + num18)); + continue; + } + uint num26; + if (_206F_200F_200D_206A_206C_202B_200E_200E_200E_206A_206E_206C_206B_200F_206E_200D_202E_200E_206C_200C_200D_202A_206A_202A_200C_202B_202C_206E_200C_206D_202A_206A_206E_200C_200C_200F_200D_202C_200E_200C_202E[obj._206A_206D_206A_202A_202A_202C_202E_200D_202B_206D_200F_206C_206C_206C_200B_200D_202D_202A_200D_200C_206E_200D_200F_206C_200E_202A_200F_202B_206E_206A_202C_206F_202C_206F_206A_200F_206F_200D_200B_200F_202E]._202B_202E_202E_206E_206D_206B_202B_206E_200B_200E_206D_206E_206F_202C_200B_200E_200D_202E_206E_200D_202E_200B_200B_206D_206A_200D_202E_200D_200B_206D_200F_202B_200C_202A_202D_206C_206D_206B_200C_200C_202E(_206B_202D_202E_200B_202D_200E_206D_202C_200F_202C_200B_200D_206A_202E_202B_202C_206F_206B_202C_202A_200E_200C_206E_202C_200C_202E_202D_206E_206F_202C_202E_200F_202B_200B_202A_200E_202C_202C_206A_200F_202E) == 1) + { + if (_206A_206E_206B_206B_200B_206F_200D_202A_206A_202A_206F_206E_202C_206A_200C_206E_202D_206D_202A_200E_202B_202C_202D_200B_202A_200E_202C_206E_206C_202D_202C_200C_200B_202E_200F_206C_206E_206D_206E_202A_202E[obj._206A_206D_206A_202A_202A_202C_202E_200D_202B_206D_200F_206C_206C_206C_200B_200D_202D_202A_200D_200C_206E_200D_200F_206C_200E_202A_200F_202B_206E_206A_202C_206F_202C_206F_206A_200F_206F_200D_200B_200F_202E]._202B_202E_202E_206E_206D_206B_202B_206E_200B_200E_206D_206E_206F_202C_200B_200E_200D_202E_206E_200D_202E_200B_200B_206D_206A_200D_202E_200D_200B_206D_200F_202B_200C_202A_202D_206C_206D_206B_200C_200C_202E(_206B_202D_202E_200B_202D_200E_206D_202C_200F_202C_200B_200D_206A_202E_202B_202C_206F_206B_202C_202A_200E_200C_206E_202C_200C_202E_202D_206E_206F_202C_202E_200F_202B_200B_202A_200E_202C_202C_206A_200F_202E) == 0) + { + _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E[] array2 = _206D_206E_206D_206B_202D_200D_206E_200C_200B_206F_206B_200F_206A_200C_206C_200D_206A_200E_200C_200D_206E_200D_200F_200D_200C_202A_206A_200E_206E_202E_202A_200F_206B_200E_202D_202A_206C_206F_202A_202A_202E; + uint num19 = obj._206A_206D_206A_202A_202A_202C_202E_200D_202B_206D_200F_206C_206C_206C_200B_200D_202D_202A_200D_200C_206E_200D_200F_206C_200E_202A_200F_202B_206E_206A_202C_206F_202C_206F_206A_200F_206F_200D_200B_200F_202E << 4; + num12 = (int)num14; + num13 = (int)num19; + int num20 = num13 ^ num12; + int num21 = num13 & num12; + if (array2[num20 + (num21 + num21)]._202B_202E_202E_206E_206D_206B_202B_206E_200B_200E_206D_206E_206F_202C_200B_200E_200D_202E_206E_200D_202E_200B_200B_206D_206A_200D_202E_200D_200B_206D_200F_202B_200C_202A_202D_206C_206D_206B_200C_200C_202E(_206B_202D_202E_200B_202D_200E_206D_202C_200F_202C_200B_200D_206A_202E_202B_202C_206F_206B_202C_202A_200E_200C_206E_202C_200C_202E_202D_206E_206F_202C_202E_200F_202B_200B_202A_200E_202C_202C_206A_200F_202E) == 0) + { + obj._206A_202B_202E_200B_200C_206D_202D_202E_200D_206B_200C_206C_200F_206D_206E_206E_200E_200C_206C_200B_200D_206B_206E_206D_206F_202D_200E_202B_200D_206C_200B_200D_202B_202B_200E_202D_206C_200B_200E_202E_202E(); + _202D_206A_202E_206D_202B_202D_200F_202D_200E_206D_206E_206A_206A_202C_202D_200B_202B_206A_200F_206B_206F_200B_206D_202B_202C_206D_202A_200D_206E_202C_202D_202E_200E_200D_202E_206C_202D_202C_202E_206A_202E._202E_200B_200E_206F_200B_200B_206B_200F_200F_202D_200F_202E_202A_202E_202B_202E_202B_202E_200D_206C_202B_202E_202C_206D_206A_200C_200B_206B_200C_202C_206F_202B_202C_206E_206D_200E_206C_200E_206E_200D_202E(_202D_206A_202E_206D_202B_202D_200F_202D_200E_206D_206E_206A_206A_202C_202D_200B_202B_206A_200F_206B_206F_200B_206D_202B_202C_206D_202A_200D_206E_202C_202D_202E_200E_200D_202E_206C_202D_202C_202E_206A_202E._200B_206B_202C_206D_206A_206B_206E_206A_202B_200C_206D_200D_202C_200E_206E_202E_202E_202B_200C_206E_206B_202C_200C_200E_206F_200D_206D_206E_206F_206D_202B_200E_206C_200F_200E_206F_206F_206C_200D_200F_202E(num)); + ulong num22 = num5; + num7 = 1L; + num8 = (long)num22; + long num23 = num8 ^ num7; + long num24 = num8 & num7; + num5 = (ulong)(num23 + (num24 + num24)); + continue; + } + } + else + { + uint num25; + if (_200B_200E_202A_200F_206A_206F_206B_206F_206F_200B_206A_206B_200C_200D_202E_206F_206E_206B_202B_206B_200E_202A_206B_202E_202A_206C_206A_206E_206F_200E_202A_206C_206E_206A_206C_206B_202D_202E_206A_202C_202E[obj._206A_206D_206A_202A_202A_202C_202E_200D_202B_206D_200F_206C_206C_206C_200B_200D_202D_202A_200D_200C_206E_200D_200F_206C_200E_202A_200F_202B_206E_206A_202C_206F_202C_206F_206A_200F_206F_200D_200B_200F_202E]._202B_202E_202E_206E_206D_206B_202B_206E_200B_200E_206D_206E_206F_202C_200B_200E_200D_202E_206E_200D_202E_200B_200B_206D_206A_200D_202E_200D_200B_206D_200F_202B_200C_202A_202D_206C_206D_206B_200C_200C_202E(_206B_202D_202E_200B_202D_200E_206D_202C_200F_202C_200B_200D_206A_202E_202B_202C_206F_206B_202C_202A_200E_200C_206E_202C_200C_202E_202D_206E_206F_202C_202E_200F_202B_200B_202A_200E_202C_202C_206A_200F_202E) == 0) + { + num25 = num2; + } + else + { + if (_200B_200F_206D_202C_200E_200B_206D_206F_200F_206C_200C_202E_206C_206D_202E_202A_200F_202C_202E_202D_200C_200D_202B_200E_202B_200B_206F_206E_202E_200D_202A_206E_206B_206D_206D_206D_200C_206A_206A_206A_202E[obj._206A_206D_206A_202A_202A_202C_202E_200D_202B_206D_200F_206C_206C_206C_200B_200D_202D_202A_200D_200C_206E_200D_200F_206C_200E_202A_200F_202B_206E_206A_202C_206F_202C_206F_206A_200F_206F_200D_200B_200F_202E]._202B_202E_202E_206E_206D_206B_202B_206E_200B_200E_206D_206E_206F_202C_200B_200E_200D_202E_206E_200D_202E_200B_200B_206D_206A_200D_202E_200D_200B_206D_200F_202B_200C_202A_202D_206C_206D_206B_200C_200C_202E(_206B_202D_202E_200B_202D_200E_206D_202C_200F_202C_200B_200D_206A_202E_202B_202C_206F_206B_202C_202A_200E_200C_206E_202C_200C_202E_202D_206E_206F_202C_202E_200F_202B_200B_202A_200E_202C_202C_206A_200F_202E) == 0) + { + num25 = num3; + } + else + { + num25 = num4; + num4 = num3; + } + num3 = num2; + } + num2 = num; + num = num25; + } + num26 = _202C_202B_202E_206A_200C_202C_202C_202A_202E_206E_200D_206B_200C_206C_202D_200D_206C_202D_206E_200B_202C_206A_200E_202A_202C_206D_202E_202E_206E_206F_202A_202A_200F_206F_202E_202B_206F_200F_206E_200E_202E._200B_206A_202E_200C_206D_202E_206B_200D_202D_202A_202A_202A_200C_206C_202A_206B_206D_206D_200B_202C_202B_200B_200E_202A_200B_206F_202D_206A_202B_206F_206C_202C_206D_200F_202C_200E_202B_202D_200C_206A_202E(_206B_202D_202E_200B_202D_200E_206D_202C_200F_202C_200B_200D_206A_202E_202B_202C_206F_206B_202C_202A_200E_200C_206E_202C_200C_202E_202D_206E_206F_202C_202E_200F_202B_200B_202A_200E_202C_202C_206A_200F_202E, num14) + 2; + obj._202E_206A_200D_206E_200D_200C_202D_202E_200E_200B_206D_202D_202B_202A_206E_200C_202C_202C_200B_202B_206F_206A_206F_206B_200C_202A_206A_200F_200E_200F_206D_202E_206E_206B_200F_206B_200F_206E_206C_200C_202E(); + } + else + { + num4 = num3; + num3 = num2; + num2 = num; + num26 = 2 + _206D_206F_202D_206F_206B_200E_206A_206B_202B_206F_202B_202A_202A_202D_200E_200F_202C_202B_200D_200B_206F_200E_200B_200C_200B_200F_200B_202C_200B_206F_206B_206D_200F_202A_206B_206E_202D_200D_206C_200D_202E._200B_206A_202E_200C_206D_202E_206B_200D_202D_202A_202A_202A_200C_206C_202A_206B_206D_206D_200B_202C_202B_200B_200E_202A_200B_206F_202D_206A_202B_206F_206C_202C_206D_200F_202C_200E_202B_202D_200C_206A_202E(_206B_202D_202E_200B_202D_200E_206D_202C_200F_202C_200B_200D_206A_202E_202B_202C_206F_206B_202C_202A_200E_200C_206E_202C_200C_202E_202D_206E_206F_202C_202E_200F_202B_200B_202A_200E_202C_202C_206A_200F_202E, num14); + obj._202A_206A_206B_200F_200F_206E_200E_200C_206A_206A_200D_202A_206B_202C_200E_202A_200D_200B_206A_202E_200F_206E_200C_202C_202E_206D_206F_200C_200E_200B_202B_202A_202B_206F_202B_202B_202B_206E_206E_200F_202E(); + uint num27 = _200E_206B_202D_202E_200D_202E_200B_200B_202B_202D_200C_200E_200D_206F_200B_200C_200B_202C_202D_206A_200C_206E_200E_200C_200E_200B_206B_202A_206C_206F_202B_206B_202A_202D_202D_200F_202D_206E_200F_200E_202E[_200F_200F_206C_200B_200F_206C_202E_202D_206B_206D_202D_206C_202C_200D_200D_202E_200B_200D_200C_200E_200C_206B_206A_200F_206F_202C_202E_200B_202B_200F_200F_206F_206E_200F_202A_200D_206B_206D_200F_200D_202E(num26)]._202C_202C_206F_202B_206D_206F_206B_200D_206E_202B_206E_200D_200B_206A_206C_200C_206A_202E_200E_200D_206E_206D_202E_206C_206E_200D_206F_200C_202D_202A_200C_206B_200E_202B_206E_200E_202C_200E_206C_202A_202E(_206B_202D_202E_200B_202D_200E_206D_202C_200F_202C_200B_200D_206A_202E_202B_202C_206F_206B_202C_202A_200E_200C_206E_202C_200C_202E_202D_206E_206F_202C_202E_200F_202B_200B_202A_200E_202C_202C_206A_200F_202E); + if (num27 >= 4) + { + uint num28 = num27 >> 1; + num12 = 1; + num13 = (int)num28; + int num29 = ~(~num13 + num12); + num12 = 1; + num13 = (int)num27; + num12 = (num13 | num12) - (num13 ^ num12); + num13 = 2; + int num30 = (num13 & num12) + (num13 ^ num12); + num12 = 31; + num13 = num29; + num = (uint)(num30 << (num13 | num12) - (num13 ^ num12)); + if (num27 < 14) + { + uint num31 = num; + _200E_200D_202E_206C_202C_202A_200D_202E_206A_206C_200B_206A_202D_206A_206A_206B_206A_206C_202A_200B_200B_200E_202E_206B_206F_200B_200B_202B_202D_200E_206D_202B_200E_206B_200F_200C_200F_200B_206A_202D_202E[] models = _200C_200E_200C_206A_200F_200E_200D_202B_202D_206C_200F_200E_202D_206A_200B_202B_206D_202E_202B_202D_206C_200C_202D_202B_206C_206E_206F_206A_200E_206A_200E_202A_200D_206E_206D_202D_200D_202D_202C_206D_202E; + uint num32 = num; + num12 = (int)num27; + num13 = (int)num32; + int num33 = ~(~num13 + num12); + num12 = 1; + num13 = num33; + num = num31 + _200F_206C_202E_206A_206C_200F_206B_202B_200C_200B_202E_200F_206F_202C_206B_206C_200F_206A_202D_206F_206D_200D_202D_202A_206F_200E_202B_200C_202E_202A_200D_206B_200F_202C_200E_206E_206A_202C_202B_206C_202E._206C_206B_200F_202D_206C_202D_202A_202B_200D_200E_200F_200F_202C_200E_200C_202B_206D_202B_206A_206C_200F_206F_206E_202A_206A_206D_206A_200C_202E_200F_200C_202A_200D_202B_206E_200B_200E_200C_200D_206C_202E(models, (uint)(~(~num13 + num12)), _206B_202D_202E_200B_202D_200E_206D_202C_200F_202C_200B_200D_206A_202E_202B_202C_206F_206B_202C_202A_200E_200C_206E_202C_200C_202E_202D_206E_206F_202C_202E_200F_202B_200B_202A_200E_202C_202C_206A_200F_202E, num29); + } + else + { + uint num34 = num; + _206F_200C_206F_202D_200F_202B_200C_200D_202A_200F_206D_200C_202D_202E_206C_206E_206A_200F_202C_200B_202E_206B_206A_202C_206B_200E_200C_202B_200F_206B_200B_202E_206A_206D_200E_206E_206C_202C_202D_202B_202E obj2 = _206B_202D_202E_200B_202D_200E_206D_202C_200F_202C_200B_200D_206A_202E_202B_202C_206F_206B_202C_202A_200E_200C_206E_202C_200C_202E_202D_206E_206F_202C_202E_200F_202B_200B_202A_200E_202C_202C_206A_200F_202E; + num12 = 4; + num13 = num29; + num = num34 + (obj2._206D_206B_206F_202E_200D_202E_202A_200F_202C_202C_206A_206E_200D_202D_202C_200F_202A_206C_202E_202B_200B_206D_200E_200E_206C_206B_202B_206C_206E_200D_202D_206B_206B_200F_206F_202C_206C_206B_206B_202E(~(~num13 + num12)) << 4); + num += _202D_206A_206E_206D_206B_202B_206A_206B_200D_206E_200C_202E_202A_200E_206F_202A_206E_206D_206A_202E_200C_202C_200D_200F_202D_202E_200F_206E_200D_200F_200F_200C_200D_206D_206B_206D_200C_206D_206E_202B_202E._206C_200F_200F_200F_202A_202E_206A_200B_202A_206B_200B_200D_202A_200F_202E_206D_200C_206C_206F_200B_206D_200B_206E_200C_200C_202B_200F_206E_202D_206B_202C_206B_200C_202A_200F_200F_206B_206D_202C_200C_202E(_206B_202D_202E_200B_202D_200E_206D_202C_200F_202C_200B_200D_206A_202E_202B_202C_206F_206B_202C_202A_200E_200C_206E_202C_200C_202E_202D_206E_206F_202C_202E_200F_202B_200B_202A_200E_202C_202C_206A_200F_202E); + } + } + else + { + num = num27; + } + } + if ((num >= num5 || num >= _206E_200E_202E_206D_202E_200C_202A_206E_202B_206F_202E_206D_206D_200F_206F_206A_206D_202B_206F_200E_200D_206B_202C_206B_200C_200C_202E_200C_206E_202D_202A_206B_200C_206A_200F_202C_202B_206C_202E_202C_202E) && num == uint.MaxValue) + { + break; + } + _202D_206A_202E_206D_202B_202D_200F_202D_200E_206D_206E_206A_206A_202C_202D_200B_202B_206A_200F_206B_206F_200B_206D_202B_202C_206D_202A_200D_206E_202C_202D_202E_200E_200D_202E_206C_202D_202C_202E_206A_202E._206A_202C_202A_206A_200E_202E_206B_202C_202B_206E_206C_206B_202B_200C_200D_202E_206B_206D_202D_202C_202E_202B_206B_202C_200D_202A_206F_206D_200E_202E_202D_206B_202C_200F_200F_202D_202E_206F_200C_202A_202E(num, num26); + ulong num35 = num5; + num7 = num26; + num8 = (long)num35; + num5 = (ulong)((num8 | num7) + (num8 & num7)); + } + _202D_206A_202E_206D_202B_202D_200F_202D_200E_206D_206E_206A_206A_202C_202D_200B_202B_206A_200F_206B_206F_200B_206D_202B_202C_206D_202A_200D_206E_202C_202D_202E_200E_200D_202E_206C_202D_202C_202E_206A_202E._202A_200F_202E_200C_206C_202C_202A_200C_202C_206D_202A_206A_206C_202A_206D_206E_206B_206B_206C_206A_206A_202C_202E_200C_200E_200B_200B_202E_206E_206E_202A_200C_206D_200D_200C_200B_200F_202A_206E_200C_202E(); + _202D_206A_202E_206D_202B_202D_200F_202D_200E_206D_206E_206A_206A_202C_202D_200B_202B_206A_200F_206B_206F_200B_206D_202B_202C_206D_202A_200D_206E_202C_202D_202E_200E_200D_202E_206C_202D_202C_202E_206A_202E._206D_206E_206E_200B_202E_200E_206E_206C_202D_200E_206C_202D_200D_200F_200C_202A_206B_200D_200D_200D_206C_206B_202A_206C_200D_206B_202A_200D_206E_202D_200D_202D_206C_200C_202C_206D_206E_202E_202D_206D_202E(); + _206B_202D_202E_200B_202D_200E_206D_202C_200F_202C_200B_200D_206A_202E_202B_202C_206F_206B_202C_202A_200E_200C_206E_202C_200C_202E_202D_206E_206F_202C_202E_200F_202B_200B_202A_200E_202C_202C_206A_200F_202E._206C_200E_206A_206E_206F_202C_200B_206F_200D_206E_202A_206E_200D_200F_200E_202D_200B_206F_200D_200B_202D_200E_206C_206F_200E_202C_202B_200E_206C_206A_200E_206F_206E_200C_206C_206E_200E_202C_206C_206B_202E(); + } + + internal void _206C_206F_202A_206D_202E_206E_206C_206D_200D_200E_202D_202B_200C_200C_200F_206E_202E_200F_206D_202B_200C_206E_202E_200F_200E_206A_206C_202C_202A_206E_202D_200B_206D_202D_200B_206B_206B_200B_206F_202E(byte[] properties) + { + int lc = properties[0] % 9; + int num = properties[0] / 9; + int lp = num % 5; + int pb = num / 5; + uint num2 = 0u; + int num3 = 0; + while (num3 < 4) + { + uint num4 = num2; + int num5 = num3; + int num6 = 1; + int num7 = num6 ^ num5; + int num8 = num6 & num5; + byte num9 = properties[num7 + (num8 + num8)]; + int num10 = num3 * 8; + num5 = 31; + num6 = num10; + num5 = num9 << num6 + num5 - (num6 | num5); + num6 = (int)num4; + int num11 = num6 ^ num5; + int num12 = num6 & num5; + num2 = (uint)(num11 + (num12 + num12)); + int num13 = num3; + num5 = 1; + num6 = num13; + int num14 = num6 ^ num5; + int num15 = num6 & num5; + num3 = num14 + (num15 + num15); + } + _206F_200C_202B_200C_206C_206B_200F_206F_206B_200F_200B_200E_200E_202B_200C_206E_206A_200D_202B_200D_202C_200F_200E_202C_200E_206D_200D_206D_200F_202C_202B_206D_206D_202D_206D_200B_200E_206B_206F_200E_202E(num2); + _206D_200F_200F_200C_206F_202A_206E_200C_206B_206F_206F_202C_200E_202E_202A_206C_206E_202A_200E_202D_200F_200C_206E_206F_200D_206B_206F_206C_202C_200F_200C_206D_206B_200B_200D_206E_206F_200E_206D_206C_202E(lp, lc); + _200B_200D_206C_202E_202B_200D_200D_200E_200B_202B_200F_200D_206C_200F_200E_202E_202E_200B_200F_200F_202E_206B_206B_206B_200C_200E_202B_206F_206D_206C_200E_202A_202B_206A_202A_202A_200D_206B_200D_200D_202E(pb); + } + + internal static uint _200F_200F_206C_200B_200F_206C_202E_202D_206B_206D_202D_206C_202C_200D_200D_202E_200B_200D_200C_200E_200C_206B_206A_200F_206F_202C_202E_200B_202B_200F_200F_206F_206E_200F_202A_200D_206B_206D_200F_200D_202E(uint len) + { + uint num = len; + int num2 = 2; + int num3 = (int)num; + len = (uint)(~(~num3 + num2)); + if (len < 4) + { + return len; + } + return 3u; + } +} +internal class _206E_206C_200D_202B_200F_202D_206A_202D_202C_206E_202A_202B_206F_200E_202C_206A_202B_202D_202B_200B_206B_202E_206C_202C_206D_206C_206D_200C_200C_202E_202C_202E_202A_202D_202D_202E_200E_202A_200D_206C_202E +{ + internal byte[] _202A_206D_206D_202A_202B_200D_206E_206C_206F_206B_202B_206C_200D_206A_202C_202A_206E_206A_200B_200D_200F_206D_200E_206A_206D_206C_206F_200C_200C_206A_206D_202A_206A_200C_200F_200F_200C_206A_202A_206E_202E; + + internal uint _202E_200F_202C_200B_206E_200D_206E_202E_206F_200C_202D_200D_200C_202A_200E_202C_200C_200E_200C_200C_200E_206C_202B_200F_202C_200B_200D_200D_200C_202E_200E_206B_202C_200B_200E_202C_202A_202D_206D_206E_202E; + + internal Stream _206F_200D_202E_200C_200D_202D_206C_206D_206B_206C_206E_202D_206E_200D_206A_200F_202C_202E_206B_206E_206C_202A_202B_202B_202C_200C_202D_206D_206E_200C_206B_200C_200E_202E_202B_206B_200B_206D_206E_206C_202E; + + internal uint _206C_202D_202E_200E_202A_202D_200D_200E_202C_200F_202C_202A_202A_200D_206A_200B_202D_202D_206A_200E_200F_206C_200F_206C_200F_200E_202E_206C_200F_202A_200E_202D_200E_202B_202C_202B_200C_200D_200D_206F_202E; + + internal uint _206B_200F_202E_206F_202E_200E_206C_206C_200E_202B_202A_202C_200E_200F_202C_200E_200B_206A_200E_200C_200E_202C_202D_202A_202D_200C_206B_206B_200B_206E_200F_200E_206F_200B_200E_200E_200D_206E_200F_206C_202E; + + internal void _206C_202E_202C_200C_206B_206F_202E_206D_202C_202B_206F_206E_200B_206D_206A_202B_200D_206A_200F_200C_206B_202E_206C_202D_200E_206C_200B_202C_200C_200E_200E_200E_206C_206C_202A_206F_202E_206F_200E_206C_202E(uint windowSize) + { + if (_206B_200F_202E_206F_202E_200E_206C_206C_200E_202B_202A_202C_200E_200F_202C_200E_200B_206A_200E_200C_200E_202C_202D_202A_202D_200C_206B_206B_200B_206E_200F_200E_206F_200B_200E_200E_200D_206E_200F_206C_202E != windowSize) + { + _202A_206D_206D_202A_202B_200D_206E_206C_206F_206B_202B_206C_200D_206A_202C_202A_206E_206A_200B_200D_200F_206D_200E_206A_206D_206C_206F_200C_200C_206A_206D_202A_206A_200C_200F_200F_200C_206A_202A_206E_202E = new byte[windowSize]; + } + _206B_200F_202E_206F_202E_200E_206C_206C_200E_202B_202A_202C_200E_200F_202C_200E_200B_206A_200E_200C_200E_202C_202D_202A_202D_200C_206B_206B_200B_206E_200F_200E_206F_200B_200E_200E_200D_206E_200F_206C_202E = windowSize; + _202E_200F_202C_200B_206E_200D_206E_202E_206F_200C_202D_200D_200C_202A_200E_202C_200C_200E_200C_200C_200E_206C_202B_200F_202C_200B_200D_200D_200C_202E_200E_206B_202C_200B_200E_202C_202A_202D_206D_206E_202E = 0u; + _206C_202D_202E_200E_202A_202D_200D_200E_202C_200F_202C_202A_202A_200D_206A_200B_202D_202D_206A_200E_200F_206C_200F_206C_200F_200E_202E_206C_200F_202A_200E_202D_200E_202B_202C_202B_200C_200D_200D_206F_202E = 0u; + } + + internal void _206E_202B_200E_200C_200C_206E_202D_202B_206E_206B_206B_206E_202B_206D_202C_202B_200D_206E_206F_206D_200E_200E_200C_206D_206E_200C_206C_206A_206E_206A_202B_200D_200F_202A_200D_206A_200C_200F_200E_202A_202E(Stream stream, bool solid) + { + _206D_206E_206E_200B_202E_200E_206E_206C_202D_200E_206C_202D_200D_200F_200C_202A_206B_200D_200D_200D_206C_206B_202A_206C_200D_206B_202A_200D_206E_202D_200D_202D_206C_200C_202C_206D_206E_202E_202D_206D_202E(); + _206F_200D_202E_200C_200D_202D_206C_206D_206B_206C_206E_202D_206E_200D_206A_200F_202C_202E_206B_206E_206C_202A_202B_202B_202C_200C_202D_206D_206E_200C_206B_200C_200E_202E_202B_206B_200B_206D_206E_206C_202E = stream; + if (!solid) + { + _206C_202D_202E_200E_202A_202D_200D_200E_202C_200F_202C_202A_202A_200D_206A_200B_202D_202D_206A_200E_200F_206C_200F_206C_200F_200E_202E_206C_200F_202A_200E_202D_200E_202B_202C_202B_200C_200D_200D_206F_202E = 0u; + _202E_200F_202C_200B_206E_200D_206E_202E_206F_200C_202D_200D_200C_202A_200E_202C_200C_200E_200C_200C_200E_206C_202B_200F_202C_200B_200D_200D_200C_202E_200E_206B_202C_200B_200E_202C_202A_202D_206D_206E_202E = 0u; + } + } + + internal void _206D_206E_206E_200B_202E_200E_206E_206C_202D_200E_206C_202D_200D_200F_200C_202A_206B_200D_200D_200D_206C_206B_202A_206C_200D_206B_202A_200D_206E_202D_200D_202D_206C_200C_202C_206D_206E_202E_202D_206D_202E() + { + _202A_200F_202E_200C_206C_202C_202A_200C_202C_206D_202A_206A_206C_202A_206D_206E_206B_206B_206C_206A_206A_202C_202E_200C_200E_200B_200B_202E_206E_206E_202A_200C_206D_200D_200C_200B_200F_202A_206E_200C_202E(); + _206F_200D_202E_200C_200D_202D_206C_206D_206B_206C_206E_202D_206E_200D_206A_200F_202C_202E_206B_206E_206C_202A_202B_202B_202C_200C_202D_206D_206E_200C_206B_200C_200E_202E_202B_206B_200B_206D_206E_206C_202E = null; + Buffer.BlockCopy(new byte[_202A_206D_206D_202A_202B_200D_206E_206C_206F_206B_202B_206C_200D_206A_202C_202A_206E_206A_200B_200D_200F_206D_200E_206A_206D_206C_206F_200C_200C_206A_206D_202A_206A_200C_200F_200F_200C_206A_202A_206E_202E.Length], 0, _202A_206D_206D_202A_202B_200D_206E_206C_206F_206B_202B_206C_200D_206A_202C_202A_206E_206A_200B_200D_200F_206D_200E_206A_206D_206C_206F_200C_200C_206A_206D_202A_206A_200C_200F_200F_200C_206A_202A_206E_202E, 0, _202A_206D_206D_202A_202B_200D_206E_206C_206F_206B_202B_206C_200D_206A_202C_202A_206E_206A_200B_200D_200F_206D_200E_206A_206D_206C_206F_200C_200C_206A_206D_202A_206A_200C_200F_200F_200C_206A_202A_206E_202E.Length); + } + + internal void _202A_200F_202E_200C_206C_202C_202A_200C_202C_206D_202A_206A_206C_202A_206D_206E_206B_206B_206C_206A_206A_202C_202E_200C_200E_200B_200B_202E_206E_206E_202A_200C_206D_200D_200C_200B_200F_202A_206E_200C_202E() + { + uint num = _202E_200F_202C_200B_206E_200D_206E_202E_206F_200C_202D_200D_200C_202A_200E_202C_200C_200E_200C_200C_200E_206C_202B_200F_202C_200B_200D_200D_200C_202E_200E_206B_202C_200B_200E_202C_202A_202D_206D_206E_202E; + int num2 = (int)_206C_202D_202E_200E_202A_202D_200D_200E_202C_200F_202C_202A_202A_200D_206A_200B_202D_202D_206A_200E_200F_206C_200F_206C_200F_200E_202E_206C_200F_202A_200E_202D_200E_202B_202C_202B_200C_200D_200D_206F_202E; + int num3 = (int)num; + uint num4 = (uint)(~(~num3 + num2)); + if (num4 != 0) + { + _206F_200D_202E_200C_200D_202D_206C_206D_206B_206C_206E_202D_206E_200D_206A_200F_202C_202E_206B_206E_206C_202A_202B_202B_202C_200C_202D_206D_206E_200C_206B_200C_200E_202E_202B_206B_200B_206D_206E_206C_202E.Write(_202A_206D_206D_202A_202B_200D_206E_206C_206F_206B_202B_206C_200D_206A_202C_202A_206E_206A_200B_200D_200F_206D_200E_206A_206D_206C_206F_200C_200C_206A_206D_202A_206A_200C_200F_200F_200C_206A_202A_206E_202E, (int)_206C_202D_202E_200E_202A_202D_200D_200E_202C_200F_202C_202A_202A_200D_206A_200B_202D_202D_206A_200E_200F_206C_200F_206C_200F_200E_202E_206C_200F_202A_200E_202D_200E_202B_202C_202B_200C_200D_200D_206F_202E, (int)num4); + if (_202E_200F_202C_200B_206E_200D_206E_202E_206F_200C_202D_200D_200C_202A_200E_202C_200C_200E_200C_200C_200E_206C_202B_200F_202C_200B_200D_200D_200C_202E_200E_206B_202C_200B_200E_202C_202A_202D_206D_206E_202E >= _206B_200F_202E_206F_202E_200E_206C_206C_200E_202B_202A_202C_200E_200F_202C_200E_200B_206A_200E_200C_200E_202C_202D_202A_202D_200C_206B_206B_200B_206E_200F_200E_206F_200B_200E_200E_200D_206E_200F_206C_202E) + { + _202E_200F_202C_200B_206E_200D_206E_202E_206F_200C_202D_200D_200C_202A_200E_202C_200C_200E_200C_200C_200E_206C_202B_200F_202C_200B_200D_200D_200C_202E_200E_206B_202C_200B_200E_202C_202A_202D_206D_206E_202E = 0u; + } + _206C_202D_202E_200E_202A_202D_200D_200E_202C_200F_202C_202A_202A_200D_206A_200B_202D_202D_206A_200E_200F_206C_200F_206C_200F_200E_202E_206C_200F_202A_200E_202D_200E_202B_202C_202B_200C_200D_200D_206F_202E = _202E_200F_202C_200B_206E_200D_206E_202E_206F_200C_202D_200D_200C_202A_200E_202C_200C_200E_200C_200C_200E_206C_202B_200F_202C_200B_200D_200D_200C_202E_200E_206B_202C_200B_200E_202C_202A_202D_206D_206E_202E; + } + } + + internal void _206A_202C_202A_206A_200E_202E_206B_202C_202B_206E_206C_206B_202B_200C_200D_202E_206B_206D_202D_202C_202E_202B_206B_202C_200D_202A_206F_206D_200E_202E_202D_206B_202C_200F_200F_202D_202E_206F_200C_202A_202E(uint distance, uint len) + { + uint num = _202E_200F_202C_200B_206E_200D_206E_202E_206F_200C_202D_200D_200C_202A_200E_202C_200C_200E_200C_200C_200E_206C_202B_200F_202C_200B_200D_200D_200C_202E_200E_206B_202C_200B_200E_202C_202A_202D_206D_206E_202E; + int num2 = (int)distance; + int num3 = (int)num; + int num4 = ~(~num3 + num2); + num2 = 1; + num3 = num4; + uint num5 = (uint)(~(~num3 + num2)); + if (num5 >= _206B_200F_202E_206F_202E_200E_206C_206C_200E_202B_202A_202C_200E_200F_202C_200E_200B_206A_200E_200C_200E_202C_202D_202A_202D_200C_206B_206B_200B_206E_200F_200E_206F_200B_200E_200E_200D_206E_200F_206C_202E) + { + uint num6 = num5; + num2 = (int)_206B_200F_202E_206F_202E_200E_206C_206C_200E_202B_202A_202C_200E_200F_202C_200E_200B_206A_200E_200C_200E_202C_202D_202A_202D_200C_206B_206B_200B_206E_200F_200E_206F_200B_200E_200E_200D_206E_200F_206C_202E; + num3 = (int)num6; + int num7 = num3 ^ num2; + int num8 = num3 & num2; + num5 = (uint)(num7 + (num8 + num8)); + } + while (len != 0) + { + if (num5 >= _206B_200F_202E_206F_202E_200E_206C_206C_200E_202B_202A_202C_200E_200F_202C_200E_200B_206A_200E_200C_200E_202C_202D_202A_202D_200C_206B_206B_200B_206E_200F_200E_206F_200B_200E_200E_200D_206E_200F_206C_202E) + { + num5 = 0u; + } + byte[] array = _202A_206D_206D_202A_202B_200D_206E_206C_206F_206B_202B_206C_200D_206A_202C_202A_206E_206A_200B_200D_200F_206D_200E_206A_206D_206C_206F_200C_200C_206A_206D_202A_206A_200C_200F_200F_200C_206A_202A_206E_202E; + uint num9 = _202E_200F_202C_200B_206E_200D_206E_202E_206F_200C_202D_200D_200C_202A_200E_202C_200C_200E_200C_200C_200E_206C_202B_200F_202C_200B_200D_200D_200C_202E_200E_206B_202C_200B_200E_202C_202A_202D_206D_206E_202E; + num2 = 1; + num3 = (int)num9; + int num10 = num3 ^ num2; + int num11 = num3 & num2; + _202E_200F_202C_200B_206E_200D_206E_202E_206F_200C_202D_200D_200C_202A_200E_202C_200C_200E_200C_200C_200E_206C_202B_200F_202C_200B_200D_200D_200C_202E_200E_206B_202C_200B_200E_202C_202A_202D_206D_206E_202E = (uint)(num10 + (num11 + num11)); + byte[] array2 = _202A_206D_206D_202A_202B_200D_206E_206C_206F_206B_202B_206C_200D_206A_202C_202A_206E_206A_200B_200D_200F_206D_200E_206A_206D_206C_206F_200C_200C_206A_206D_202A_206A_200C_200F_200F_200C_206A_202A_206E_202E; + uint num12 = num5; + num2 = 1; + num3 = (int)num12; + int num13 = num3 ^ num2; + int num14 = num3 & num2; + num5 = (uint)(num13 + (num14 + num14)); + array[num9] = array2[num12]; + if (_202E_200F_202C_200B_206E_200D_206E_202E_206F_200C_202D_200D_200C_202A_200E_202C_200C_200E_200C_200C_200E_206C_202B_200F_202C_200B_200D_200D_200C_202E_200E_206B_202C_200B_200E_202C_202A_202D_206D_206E_202E >= _206B_200F_202E_206F_202E_200E_206C_206C_200E_202B_202A_202C_200E_200F_202C_200E_200B_206A_200E_200C_200E_202C_202D_202A_202D_200C_206B_206B_200B_206E_200F_200E_206F_200B_200E_200E_200D_206E_200F_206C_202E) + { + _202A_200F_202E_200C_206C_202C_202A_200C_202C_206D_202A_206A_206C_202A_206D_206E_206B_206B_206C_206A_206A_202C_202E_200C_200E_200B_200B_202E_206E_206E_202A_200C_206D_200D_200C_200B_200F_202A_206E_200C_202E(); + } + uint num15 = len; + num2 = 1; + num3 = (int)num15; + len = (uint)(~(~num3 + num2)); + } + } + + internal void _202E_200B_200E_206F_200B_200B_206B_200F_200F_202D_200F_202E_202A_202E_202B_202E_202B_202E_200D_206C_202B_202E_202C_206D_206A_200C_200B_206B_200C_202C_206F_202B_202C_206E_206D_200E_206C_200E_206E_200D_202E(byte b) + { + byte[] array = _202A_206D_206D_202A_202B_200D_206E_206C_206F_206B_202B_206C_200D_206A_202C_202A_206E_206A_200B_200D_200F_206D_200E_206A_206D_206C_206F_200C_200C_206A_206D_202A_206A_200C_200F_200F_200C_206A_202A_206E_202E; + uint num = _202E_200F_202C_200B_206E_200D_206E_202E_206F_200C_202D_200D_200C_202A_200E_202C_200C_200E_200C_200C_200E_206C_202B_200F_202C_200B_200D_200D_200C_202E_200E_206B_202C_200B_200E_202C_202A_202D_206D_206E_202E; + int num2 = 1; + int num3 = (int)num; + _202E_200F_202C_200B_206E_200D_206E_202E_206F_200C_202D_200D_200C_202A_200E_202C_200C_200E_200C_200C_200E_206C_202B_200F_202C_200B_200D_200D_200C_202E_200E_206B_202C_200B_200E_202C_202A_202D_206D_206E_202E = (uint)((num3 | num2) + (num3 & num2)); + array[num] = b; + if (_202E_200F_202C_200B_206E_200D_206E_202E_206F_200C_202D_200D_200C_202A_200E_202C_200C_200E_200C_200C_200E_206C_202B_200F_202C_200B_200D_200D_200C_202E_200E_206B_202C_200B_200E_202C_202A_202D_206D_206E_202E >= _206B_200F_202E_206F_202E_200E_206C_206C_200E_202B_202A_202C_200E_200F_202C_200E_200B_206A_200E_200C_200E_202C_202D_202A_202D_200C_206B_206B_200B_206E_200F_200E_206F_200B_200E_200E_200D_206E_200F_206C_202E) + { + _202A_200F_202E_200C_206C_202C_202A_200C_202C_206D_202A_206A_206C_202A_206D_206E_206B_206B_206C_206A_206A_202C_202E_200C_200E_200B_200B_202E_206E_206E_202A_200C_206D_200D_200C_200B_200F_202A_206E_200C_202E(); + } + } + + internal byte _200B_206B_202C_206D_206A_206B_206E_206A_202B_200C_206D_200D_202C_200E_206E_202E_202E_202B_200C_206E_206B_202C_200C_200E_206F_200D_206D_206E_206F_206D_202B_200E_206C_200F_200E_206F_206F_206C_200D_200F_202E(uint distance) + { + uint num = _202E_200F_202C_200B_206E_200D_206E_202E_206F_200C_202D_200D_200C_202A_200E_202C_200C_200E_200C_200C_200E_206C_202B_200F_202C_200B_200D_200D_200C_202E_200E_206B_202C_200B_200E_202C_202A_202D_206D_206E_202E; + int num2 = (int)distance; + int num3 = (int)num; + int num4 = ~(~num3 + num2); + num2 = 1; + num3 = num4; + uint num5 = (uint)(~(~num3 + num2)); + if (num5 >= _206B_200F_202E_206F_202E_200E_206C_206C_200E_202B_202A_202C_200E_200F_202C_200E_200B_206A_200E_200C_200E_202C_202D_202A_202D_200C_206B_206B_200B_206E_200F_200E_206F_200B_200E_200E_200D_206E_200F_206C_202E) + { + uint num6 = num5; + num2 = (int)_206B_200F_202E_206F_202E_200E_206C_206C_200E_202B_202A_202C_200E_200F_202C_200E_200B_206A_200E_200C_200E_202C_202D_202A_202D_200C_206B_206B_200B_206E_200F_200E_206F_200B_200E_200E_200D_206E_200F_206C_202E; + num3 = (int)num6; + int num7 = num3 ^ num2; + int num8 = num3 & num2; + num5 = (uint)(num7 + (num8 + num8)); + } + return _202A_206D_206D_202A_202B_200D_206E_206C_206F_206B_202B_206C_200D_206A_202C_202A_206E_206A_200B_200D_200F_206D_200E_206A_206D_206C_206F_200C_200C_206A_206D_202A_206A_200C_200F_200F_200C_206A_202A_206E_202E[num5]; + } + + internal _206E_206C_200D_202B_200F_202D_206A_202D_202C_206E_202A_202B_206F_200E_202C_206A_202B_202D_202B_200B_206B_202E_206C_202C_206D_206C_206D_200C_200C_202E_202C_202E_202A_202D_202D_202E_200E_202A_200D_206C_202E() + { + } +} +internal struct _200F_202D_200C_206B_206E_202A_202A_202C_202C_200B_200F_200D_206F_202C_200F_206E_200C_202E_202C_200E_200D_206A_202E_200F_200F_202C_200F_200C_206F_200C_206C_202A_206C_202E_202C_200D_200F_202D_206C_202D_202E +{ + internal uint _206A_206D_206A_202A_202A_202C_202E_200D_202B_206D_200F_206C_206C_206C_200B_200D_202D_202A_200D_200C_206E_200D_200F_206C_200E_202A_200F_202B_206E_206A_202C_206F_202C_206F_206A_200F_206F_200D_200B_200F_202E; + + internal void _202C_200D_206D_206D_202E_202B_202E_200B_202D_200E_202A_206C_202C_202E_206C_200C_206A_202D_206E_200E_206D_200D_206B_202D_202B_200B_202A_200B_206F_206A_200F_202D_200F_206A_202B_206B_206D_206D_200F_202E_202E() + { + _206A_206D_206A_202A_202A_202C_202E_200D_202B_206D_200F_206C_206C_206C_200B_200D_202D_202A_200D_200C_206E_200D_200F_206C_200E_202A_200F_202B_206E_206A_202C_206F_202C_206F_206A_200F_206F_200D_200B_200F_202E = 0u; + } + + internal void _202D_202A_206F_200D_200C_202D_202E_206A_202C_202A_200E_202A_200F_200C_200C_200B_200D_202A_200F_202E_200B_206A_206A_206F_200B_200D_200E_206B_202C_202D_202D_202A_206A_200D_202B_200D_202D_206C_206B_206E_202E() + { + if (_206A_206D_206A_202A_202A_202C_202E_200D_202B_206D_200F_206C_206C_206C_200B_200D_202D_202A_200D_200C_206E_200D_200F_206C_200E_202A_200F_202B_206E_206A_202C_206F_202C_206F_206A_200F_206F_200D_200B_200F_202E < 4) + { + _206A_206D_206A_202A_202A_202C_202E_200D_202B_206D_200F_206C_206C_206C_200B_200D_202D_202A_200D_200C_206E_200D_200F_206C_200E_202A_200F_202B_206E_206A_202C_206F_202C_206F_206A_200F_206F_200D_200B_200F_202E = 0u; + } + else if (_206A_206D_206A_202A_202A_202C_202E_200D_202B_206D_200F_206C_206C_206C_200B_200D_202D_202A_200D_200C_206E_200D_200F_206C_200E_202A_200F_202B_206E_206A_202C_206F_202C_206F_206A_200F_206F_200D_200B_200F_202E < 10) + { + uint num = _206A_206D_206A_202A_202A_202C_202E_200D_202B_206D_200F_206C_206C_206C_200B_200D_202D_202A_200D_200C_206E_200D_200F_206C_200E_202A_200F_202B_206E_206A_202C_206F_202C_206F_206A_200F_206F_200D_200B_200F_202E; + int num2 = 3; + int num3 = (int)num; + _206A_206D_206A_202A_202A_202C_202E_200D_202B_206D_200F_206C_206C_206C_200B_200D_202D_202A_200D_200C_206E_200D_200F_206C_200E_202A_200F_202B_206E_206A_202C_206F_202C_206F_206A_200F_206F_200D_200B_200F_202E = (uint)(~(~num3 + num2)); + } + else + { + uint num4 = _206A_206D_206A_202A_202A_202C_202E_200D_202B_206D_200F_206C_206C_206C_200B_200D_202D_202A_200D_200C_206E_200D_200F_206C_200E_202A_200F_202B_206E_206A_202C_206F_202C_206F_206A_200F_206F_200D_200B_200F_202E; + int num2 = 6; + int num3 = (int)num4; + _206A_206D_206A_202A_202A_202C_202E_200D_202B_206D_200F_206C_206C_206C_200B_200D_202D_202A_200D_200C_206E_200D_200F_206C_200E_202A_200F_202B_206E_206A_202C_206F_202C_206F_206A_200F_206F_200D_200B_200F_202E = (uint)(~(~num3 + num2)); + } + } + + internal void _202A_206A_206B_200F_200F_206E_200E_200C_206A_206A_200D_202A_206B_202C_200E_202A_200D_200B_206A_202E_200F_206E_200C_202C_202E_206D_206F_200C_200E_200B_202B_202A_202B_206F_202B_202B_202B_206E_206E_200F_202E() + { + _206A_206D_206A_202A_202A_202C_202E_200D_202B_206D_200F_206C_206C_206C_200B_200D_202D_202A_200D_200C_206E_200D_200F_206C_200E_202A_200F_202B_206E_206A_202C_206F_202C_206F_206A_200F_206F_200D_200B_200F_202E = ((_206A_206D_206A_202A_202A_202C_202E_200D_202B_206D_200F_206C_206C_206C_200B_200D_202D_202A_200D_200C_206E_200D_200F_206C_200E_202A_200F_202B_206E_206A_202C_206F_202C_206F_206A_200F_206F_200D_200B_200F_202E < 7) ? 7u : 10u); + } + + internal void _202E_206A_200D_206E_200D_200C_202D_202E_200E_200B_206D_202D_202B_202A_206E_200C_202C_202C_200B_202B_206F_206A_206F_206B_200C_202A_206A_200F_200E_200F_206D_202E_206E_206B_200F_206B_200F_206E_206C_200C_202E() + { + _206A_206D_206A_202A_202A_202C_202E_200D_202B_206D_200F_206C_206C_206C_200B_200D_202D_202A_200D_200C_206E_200D_200F_206C_200E_202A_200F_202B_206E_206A_202C_206F_202C_206F_206A_200F_206F_200D_200B_200F_202E = ((_206A_206D_206A_202A_202A_202C_202E_200D_202B_206D_200F_206C_206C_206C_200B_200D_202D_202A_200D_200C_206E_200D_200F_206C_200E_202A_200F_202B_206E_206A_202C_206F_202C_206F_206A_200F_206F_200D_200B_200F_202E < 7) ? 8u : 11u); + } + + internal void _206A_202B_202E_200B_200C_206D_202D_202E_200D_206B_200C_206C_200F_206D_206E_206E_200E_200C_206C_200B_200D_206B_206E_206D_206F_202D_200E_202B_200D_206C_200B_200D_202B_202B_200E_202D_206C_200B_200E_202E_202E() + { + _206A_206D_206A_202A_202A_202C_202E_200D_202B_206D_200F_206C_206C_206C_200B_200D_202D_202A_200D_200C_206E_200D_200F_206C_200E_202A_200F_202B_206E_206A_202C_206F_202C_206F_206A_200F_206F_200D_200B_200F_202E = ((_206A_206D_206A_202A_202A_202C_202E_200D_202B_206D_200F_206C_206C_206C_200B_200D_202D_202A_200D_200C_206E_200D_200F_206C_200E_202A_200F_202B_206E_206A_202C_206F_202C_206F_206A_200F_206F_200D_200B_200F_202E < 7) ? 9u : 11u); + } + + internal bool _200E_200F_202C_206F_202E_206E_202D_202A_200F_202A_200E_200C_206A_206E_202E_206E_206E_206B_200F_202C_206F_202B_202B_200C_200F_206D_206D_200E_202C_202B_202B_200D_206C_206B_202B_202C_202B_202C_206A_202E() + { + return _206A_206D_206A_202A_202A_202C_202E_200D_202B_206D_200F_206C_206C_206C_200B_200D_202D_202A_200D_200C_206E_200D_200F_206C_200E_202A_200F_202B_206E_206A_202C_206F_202C_206F_206A_200F_206F_200D_200B_200F_202E < 7; + } +} +[StructLayout(LayoutKind.Explicit, Size = 1600)] +internal struct _202E_206F_202A_206D_200F_200D_206C_200B_200F_200F_202C_200B_206F_202B_206D_202B_202C_200B_202C_206D_206D_206E_202A_206F_202A_200B_200E_202B_202D_202B_206E_202B_200E_200C_202C_200B_200E_206F_206C_202C_202E +{ +} diff --git a/SmartNav.Model/-Module-.cs b/SmartNav.Model/-Module-.cs new file mode 100644 index 0000000..0cad21f --- /dev/null +++ b/SmartNav.Model/-Module-.cs @@ -0,0 +1,1491 @@ +using System; +using System.IO; +using System.Runtime.CompilerServices; +using System.Text; + +internal class _003CModule_003E +{ + internal static byte[] _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + + internal static _202E_206F_202A_206D_200F_200D_206C_200B_200F_200F_202C_200B_206F_202B_206D_202B_202C_200B_202C_206D_206D_206E_202A_206F_202A_200B_200E_202B_202D_202B_206E_202B_200E_200C_202C_200B_200E_206F_206C_202C_202E _206D_206A_206F_200E_206C_200B_202B_202C_206C_200C_200E_200C_206B_206E_206D_200F_202A_202A_200C_200C_202D_202D_202E_206E_202D_202D_206C_206D_200C_200E_202C_202E_200D_200F_206B_206B_200E_200F_200C_202D_202E/* Not supported: data(4C A7 EE E1 34 7B A3 89 7F 8E 3B AE A8 2E C8 48 71 17 F4 95 02 5C 25 0E E3 F3 A4 79 B6 43 D9 DA 95 62 0A 25 78 4D DA 01 77 00 77 F3 72 EC EC 9C 4E 19 C2 E0 23 56 00 C9 3B D3 F0 AB 0B 65 13 56 32 18 C0 7F 4D 58 6E 6F 87 C1 DC C6 CF 53 E3 AC BC 9E C7 51 AD 34 BC 76 18 70 E8 F3 E6 D0 38 4D C4 13 D2 50 E9 C2 51 89 2A 94 B9 80 05 0C 17 BD FC 51 A5 83 E2 B1 55 CB 92 78 40 ED 42 F7 C7 A7 35 C0 EA F3 CE 5B 6D 05 43 B0 6F 5A EA 88 43 DD 0D B3 81 48 B8 0D 41 A3 38 E6 A7 A0 E1 B0 C5 88 70 4D 36 B6 51 36 9B 83 08 6C 29 4C 35 3F 15 E1 C1 7E F4 3F 12 7D 7F BB 83 1A 96 0B 29 BC 8D E2 5A B2 ED D3 15 60 42 79 BC 86 24 90 90 5D C7 A1 99 9F 24 F2 D8 EC 3D 17 FD 40 EF 4D 71 08 B2 FE CF 28 70 C6 9D 6D A6 61 0F 07 FA B3 30 E8 65 07 B0 58 F6 92 12 C9 5A 6E 25 DD FF 35 70 B0 A7 7A 10 43 59 3D A9 B5 8E C4 03 09 8C 2B 9B 51 45 5B 94 21 22 31 2B 91 5D BA 0B 28 4A 32 B4 D7 BD 48 EF 7D 8A 66 FC 0E 87 0E 84 D4 7B 43 E9 0F 24 CE BD D2 D9 EE 5C E6 28 32 20 24 E0 2A 6F E5 56 CA AD DC 5C 82 0B D5 A5 61 C5 E7 D2 7B 13 7E D9 0C 8E 91 94 10 8D 20 45 F6 F0 BA D0 91 5A 72 64 B0 6D D1 58 07 5C 4D 20 13 6B 6C 37 39 B2 FB A9 C4 53 18 F8 4E 88 73 BC B0 06 07 C0 A1 2E 0C 06 76 BC 40 14 FE BF 1F 63 C6 97 F2 79 C8 84 F4 81 16 DB 5A DB 43 88 CF AC 14 E5 8B 92 61 C2 A9 2A 5D EF 67 6C D4 C5 97 51 4B 1D 8E 49 C9 33 F1 B9 B8 95 BC 41 20 A3 F8 0F ED 8D 83 74 17 C4 D0 E7 D0 8B F9 34 36 AE 92 89 D2 A6 FF 66 BE A9 6F D0 E8 76 8D 99 4B 30 F3 83 92 17 63 6E 88 E2 E6 7A 2D E0 AB 3A 7A F5 94 29 0A 68 C3 58 80 39 E1 42 58 49 86 32 78 BE A0 B7 0E 33 AF 44 C2 C3 36 71 8E 72 4E F2 A1 70 C1 9E 68 C0 A2 30 E7 5E F6 AC 0C 59 C3 BA 94 73 CB 05 63 A7 9D 14 C6 7D 0C 85 AC DD A5 82 1D 20 AF C7 FE FE DD 77 AA F0 02 58 B4 DB B0 8A 07 A8 EA B9 3F EF 9B 1A 9B AE A8 F1 D3 00 FE 74 27 B0 49 28 1A 85 6E 84 4F 5C BF DA 0C 0D 4F 2D 2D FB 93 FA 26 CF 33 4E 54 97 38 C2 AE 25 86 68 46 41 94 EB 2E D7 C3 B8 90 D6 62 E2 5B 49 41 94 E7 1F 3A 32 F5 15 C1 31 DD 06 E3 73 46 D2 56 54 57 D7 8D 2B 9A DE E8 7C D7 25 08 62 93 5A 09 AF 35 7C 69 10 31 4C 0D 37 B1 57 DC 12 E2 59 1E 9C F8 F7 B1 F4 15 25 CF 86 E8 09 8D 47 48 D0 CF D0 1F 17 37 B7 85 23 08 B1 99 0D 9F 34 5D B6 07 6A 2A D2 1E F9 6E 3A 85 AD FE 97 19 BC F7 12 AC 64 36 94 FC A5 A5 2E AA 7A F8 81 44 12 8B 79 F3 8C 2C 78 86 F2 91 06 55 81 E4 C0 A4 46 1F 9F B6 50 D1 BA 9E E5 7F 3D B8 9F 53 FC FB E1 A4 C1 75 D5 CD A9 38 FD 0A DB AE EB AF 1E 0C 6A B1 9A 47 04 47 69 C3 49 A5 B4 B0 5C E7 96 EB 2E 53 21 F3 D5 88 41 A2 39 2D 38 13 E3 B6 BE 81 C1 98 5E 1F 95 14 EA 7E 42 DB 6D 14 9B A2 FA B4 28 9E 62 EC EC 97 77 A0 4F 4D 82 8B F4 32 2B DE 20 C6 0D 61 D2 14 69 80 4A DF 22 71 8E A2 D2 82 38 AF 87 64 06 34 4A 19 4F 1E 24 94 82 63 4E EB 82 84 28 CB 32 62 59 E2 B8 AD 1B 4B 3A 99 A0 7B 46 6F 35 D9 1B 2C 8D 23 7D 9C 02 00 43 C3 43 1C C7 6D 1D 68 86 B5 82 2A D0 B7 78 CC C0 9A 5B 0E 81 65 FE 83 BE F0 11 59 8C E2 E2 39 14 85 DA 1F 0F 9A 6F 01 91 C8 5C 1A 04 4B 6A E1 C4 C6 4D 0E 84 E3 16 2C F7 F2 A4 41 18 2C 00 B5 0A 33 C8 BC F7 88 7D EE 5F EE 47 DC 0C 2A 24 55 1A 2A 9F DB F2 B5 E7 D9 8C 29 A2 39 8A 68 CB 4A A6 81 21 70 2F E6 D6 69 60 A2 0E 9D F8 68 F3 8E CE 41 8E 1C 7D 08 B4 6C 15 AE 0F ED 4D BA D2 2B A3 A5 09 DF FF 38 33 DC 38 6F 6C 83 75 F7 05 21 3C AC 9D 42 04 96 D4 77 80 BD 72 66 F3 5A 7D D8 2A 7A 2E FE 1A 29 BF 2D EA 63 08 AC 58 D4 9E 6B E8 2F F4 06 1E 63 8F 02 ED CF 76 F2 C8 FC BC EF 61 E8 2F F1 A4 47 DA 1A 2F 04 CA 14 A5 DB 53 0B DE AB E0 E3 78 07 8E 8C A3 73 90 AF E0 B0 EC 04 24 87 F0 13 4E 4E 14 79 AC 43 35 0C 46 DE AC D1 64 2C 98 78 2A 4A E6 BC E5 8E 59 5E 98 C1 CE BC 34 21 1E C9 4C 60 48 CB 10 AF 1E 76 3E F7 2B D9 34 4F A7 E2 0D 48 97 E0 A2 31 C2 5A 1A 64 90 E6 0C A8 8D 49 36 FD 21 B4 D5 D2 99 D3 5D 29 4B B2 25 50 F0 41 5F 5C F6 1B 13 A0 74 46 EE 34 27 6E 43 57 32 51 45 B3 29 81 8A 03 F3 4B 90 17 DC FD D0 17 DD 9C 74 BF E6 8D 42 4A 6C 46 D6 CB BC E2 A7 16 F4 97 FA F9 B9 F8 9B F4 D7 2F C8 36 D9 8C A4 35 21 D8 04 01 87 C9 F6 64 87 8B 5B 95 48 5B C4 F4 36 A1 C8 FF 71 0A 33 96 30 81 B3 AC A3 35 92 97 25 41 39 A6 52 51 ED 20 26 07 89 0A 4C 66 01 53 E7 D7 7B DA 17 3A 04 E8 5E A5 85 C9 98 B4 16 7D F3 FF C2 FA 95 57 52 2F 41 65 2C A9 32 D1 E5 7A CD 77 13 DA B2 C9 56 82 48 C0 58 F9 20 7A 8A 54 67 66 9D 45 EA 8F 3E 1E E9 2F AB 9B A7 5F 24 7A 33 3B 67 E3 56 7D F8 2D 43 8E 61 62 53 45 54 67 19 DB BC 6F 99 85 5B 64 59 DD FE 78 5D 5A 58 F9 7D 58 86 F5 8F 6F D0 4D 29 5D 90 55 E9 87 22 E4 A5 3F 0C B2 59 0C CB 43 45 36 2C 53 D5 BA 4B EF 28 32 ED 1C 43 D3 3B 1E 2D E6 21 08 02 4C 38 33 44 00 FF 9E F2 CE 9F D6 D9 05 55 27 69 D2 78 47 9A C8 4E 19 59 45 23 3D 3C 64 4C DF 78 6D A7 94 D0 BB 7E 25 10 77 1B D9 2C 91 2F 3B FB 31 BC B3 37 CF 40 6B B4 F1 A7 79 9B 6A 17 23 99 DD 0B 5A 08 5D 28 2D CC 3D 50 09 21 43 4A EE 83 DB F0 54 A1 90 CC C7 08 84 2E FF CC E5 2D 42 02 7E 3E 8A 20 75 2F 66 53 8D 01 77 02 9B A3 EF B8 CB A6 1D 37 CF 40 6B 21 90 7A 7F 94 B7 AF 44 EA 83 B7 7D 8A 58 AA 69) */; + + static _003CModule_003E() + { + _202A_202B_200B_202D_206A_206A_202E_200C_200D_206C_202B_206D_202E_200C_200F_206D_200F_202D_202A_206E_200F_200B_202B_200F_202C_206E_202D_206F_200F_200F_206B_200F_202D_200B_200D_200F_202D_206F_200C_202A_202E(); + } + + internal static byte[] _202C_206C_202A_206C_206A_200D_202E_206A_206D_200D_200C_206A_206A_206E_200C_206F_200D_206B_200B_200E_200C_202D_200C_206E_202C_206C_202E_200C_200C_206E_206B_202A_206B_206A_206D_200D_200F_200F_202E_206E_202E(byte[] data) + { + MemoryStream memoryStream = new MemoryStream(data); + _200F_200C_200F_200C_200E_200B_202E_206F_202A_200F_200C_200F_206C_206A_206C_202B_200D_200D_202C_200F_206A_206C_202D_202B_206C_206A_206D_200B_206B_200B_200B_206C_200B_202D_200F_206D_200F_202D_200D_202E_202E obj = new _200F_200C_200F_200C_200E_200B_202E_206F_202A_200F_200C_200F_206C_206A_206C_202B_200D_200D_202C_200F_206A_206C_202D_202B_206C_206A_206D_200B_206B_200B_200B_206C_200B_202D_200F_206D_200F_202D_200D_202E_202E(); + byte[] array = new byte[5]; + int num = 0; + while (num < 5) + { + int num2 = num; + int offset = num; + int num3 = num; + int num4 = 5; + num = num2 + memoryStream.Read(array, offset, ~(~num4 + num3)); + } + obj._206C_206F_202A_206D_202E_206E_206C_206D_200D_200E_202D_202B_200C_200C_200F_206E_202E_200F_206D_202B_200C_206E_202E_200F_200E_206A_206C_202C_202A_206E_202D_200B_206D_202D_200B_206B_206B_200B_206F_202E(array); + num = 0; + while (num < 4) + { + int num5 = num; + int offset2 = num; + int num3 = num; + int num4 = 4; + num = num5 + memoryStream.Read(array, offset2, ~(~num4 + num3)); + } + if (!BitConverter.IsLittleEndian) + { + Array.Reverse((Array)array, 0, 4); + } + int num6 = BitConverter.ToInt32(array, 0); + byte[] array2 = new byte[num6]; + MemoryStream outStream = new MemoryStream(array2, writable: true); + long inSize = memoryStream.Length - 5 - 4; + obj._206D_202B_206E_206B_202E_202C_206C_202D_206F_206F_206F_202C_206B_206B_206C_202B_206B_202C_202D_206B_202B_206D_202A_206D_202A_206A_206E_206F_206C_202B_200F_202C_202C_206E_200F_206B_202D_200D_202D_206A_202E(memoryStream, outStream, inSize, num6); + return array2; + } + + internal static void _202A_202B_200B_202D_206A_206A_202E_200C_200D_206C_202B_206D_202E_200C_200F_206D_200F_202D_202A_206E_200F_200B_202B_200F_202C_206E_202D_206F_200F_200F_206B_200F_202D_200B_200D_200F_202D_206F_200C_202A_202E() + { + uint num = 400u; + uint[] array = new uint[400] + { + 3790513996u, 2309192500u, 2923138687u, 1221078696u, 2515801969u, 237329410u, 2040853475u, 3671671734u, 621437589u, 31083896u, + 4084662391u, 2632772722u, 3770816846u, 3372242467u, 2884686651u, 1444111627u, 2143295538u, 1869502541u, 3336356231u, 2900579279u, + 1372036796u, 1992045741u, 4092096536u, 1295569126u, 1355944900u, 2303836905u, 2159645738u, 3172404229u, 2208649724u, 3411390946u, + 3980425362u, 2814900034u, 4092248117u, 91053006u, 1517269059u, 3712190698u, 1216459533u, 2738949560u, 2695358008u, 2294657249u, + 3057012080u, 2207987281u, 1277783048u, 3776266037u, 1072987841u, 3145694482u, 194386563u, 3800939561u, 3555570266u, 2034393109u, + 2418312892u, 2714197392u, 4062486425u, 389934296u, 1307525373u, 4273080433u, 3329239247u, 1638296989u, 3019507471u, 124119088u, + 2465618096u, 1851443474u, 905960741u, 2057810032u, 1029260048u, 3297686953u, 730597635u, 1531269531u, 824320404u, 3126694187u, + 843720715u, 1220401076u, 1720352239u, 243732220u, 1132188804u, 3458469865u, 4007252669u, 841541212u, 719332384u, 3394692463u, + 2187123885u, 1638257931u, 2077419461u, 215580179u, 278172046u, 4131725453u, 2446375664u, 2959372890u, 123261293u, 320884060u, + 959933547u, 3299474354u, 1324882003u, 2965140360u, 2713716486u, 1980107822u, 4262740156u, 3328384959u, 3363435159u, 377615492u, + 1138449115u, 346869640u, 1636994021u, 1563077058u, 3563874287u, 1263638469u, 3377040925u, 3099193651u, 541179029u, 3977246883u, + 393511821u, 3504853188u, 909441419u, 3532231342u, 3194421158u, 3905974185u, 1268354422u, 2458121008u, 2288935703u, 763029218u, + 2050665440u, 170497269u, 2153300840u, 1480778041u, 2016577097u, 246915262u, 3259281203u, 2389784259u, 2717011570u, 1755234672u, + 3878724288u, 212661854u, 2495267673u, 1661324147u, 3323239847u, 2894400637u, 495101405u, 4274499360u, 2859982334u, 3025666800u, + 126529755u, 1069148840u, 2602212335u, 3555829934u, 661978624u, 438847920u, 1334079109u, 215662428u, 757944077u, 653956091u, + 1414411215u, 2931964055u, 1181255205u, 787190849u, 2428027863u, 1541563094u, 3885252937u, 4113709599u, 3711025429u, 1181999878u, + 1465145042u, 2586545623u, 3615287518u, 2472675365u, 900663642u, 823159164u, 2973175116u, 3792886871u, 4170980953u, 368357879u, + 3901148965u, 1212648713u, 533778384u, 2243376919u, 2578516003u, 1563729677u, 711591862u, 1861820114u, 4272784698u, 4156299671u, + 912567314u, 2779118740u, 4168788526u, 2333230209u, 747434873u, 2448590456u, 3833681158u, 524723392u, 3511727775u, 2145754810u, + 1402976317u, 2766273532u, 3453318593u, 184367273u, 2951458523u, 2976517150u, 1191462810u, 2773074793u, 3881611444u, 1395583894u, + 2295722785u, 758751809u, 3068334904u, 2562818494u, 345317214u, 3678568170u, 2728072301u, 2653467898u, 2548886626u, 1297064055u, + 854887298u, 3324042795u, 349331725u, 3746201705u, 2727244066u, 2939716306u, 872834183u, 508500298u, 1669501988u, 2223172430u, + 1647495976u, 2914574937u, 2570734363u, 1866890144u, 740022581u, 2625446797u, 3275948034u, 1841765443u, 3045484573u, 3083872898u, + 2596326520u, 1702956635u, 4039017470u, 3800848657u, 2232695266u, 2584682458u, 3364946287u, 1258560092u, 3334791530u, 3817082445u, + 4076284950u, 739787172u, 856339712u, 2297937096u, 3999264381u, 705485895u, 706368804u, 3052592031u, 697096679u, 1753889186u, + 2175158987u, 3861868577u, 2724227542u, 1761123598u, 1104056051u, 142417038u, 2920639668u, 3125669135u, 2778934226u, 956292873u, + 1865997363u, 4151673708u, 2889621765u, 2516861597u, 3179313108u, 1525900914u, 2049628285u, 689634862u, 1676291519u, 3562581000u, + 803761054u, 1662912244u, 3488416399u, 4241027702u, 3898732476u, 1201991983u, 70195930u, 3685029066u, 2883455827u, 125363168u, + 1940098190u, 2967515024u, 2267284716u, 1313739760u, 1135376660u, 3729132597u, 744804780u, 1244297368u, 2397420774u, 3247988313u, + 557104334u, 1615644958u, 2937113416u, 4148065822u, 1328863531u, 1208869543u, 832757911u, 1679448770u, 2819417744u, 4248193421u, + 3537220641u, 694014873u, 1344647755u, 1549746672u, 2685606902u, 888030836u, 1464036903u, 3007664434u, 59408681u, 395332595u, + 399572444u, 3212090589u, 1245875686u, 3419817580u, 380101308u, 4193949684u, 4103862457u, 919089111u, 899976409u, 17094689u, + 1693895047u, 2505804679u, 4106509128u, 4291338550u, 2519927409u, 2897445168u, 2542941603u, 2788770085u, 552423762u, 176752422u, + 1392600652u, 3665549287u, 3892591127u, 3380979038u, 2098640024u, 4207083507u, 793925525u, 2838259009u, 2061881650u, 3658708941u, + 2186725810u, 4183343176u, 1418361376u, 1167943271u, 507416554u, 2611687401u, 2049204135u, 3815193395u, 771259734u, 1650560579u, + 1733576019u, 1874647833u, 1683719577u, 2029968729u, 4183317085u, 4119222397u, 1305505679u, 1435524393u, 3827468265u, 2987147173u, + 1137380441u, 1395406405u, 4014717653u, 485306920u, 507237187u, 136439341u, 859327490u, 2667511876u, 3600797426u, 659883481u, + 1199100521u, 424593562u, 1025721689u, 3746325564u, 2494000504u, 629062608u, 3642455824u, 992973100u, 3015455227u, 1799409463u, + 2041049524u, 588737179u, 1510727065u, 757619976u, 156253644u, 3997844257u, 1425070979u, 3352072353u, 4281238536u, 1110304204u, + 2319351298u, 1714386208u, 1996590419u, 4020476674u, 497470392u, 1799409463u, 2138738721u, 1152366484u, 2109178858u, 1772771466u + }; + uint[] array2 = new uint[16]; + uint num2 = 2306536010u; + int num3 = 0; + while (num3 < 16) + { + uint num4 = num2; + int num5 = (int)(num2 >> 12); + int num6 = (int)num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + num2 = (uint)(num7 - (num8 + num8)); + uint num9 = num2; + num5 = (int)(num2 << 25); + num6 = (int)num9; + num2 = (uint)((num6 | num5) - (num6 & num5)); + uint num10 = num2; + num5 = (int)(num2 >> 27); + num6 = (int)num10; + num2 = (array2[num3] = (uint)((num6 | num5) - (num6 & num5))); + int num11 = num3; + num5 = 1; + num6 = num11; + num3 = (num6 | num5) + (num6 & num5); + } + int num12 = 0; + int num13 = 0; + uint[] array3 = new uint[16]; + byte[] array4 = new byte[num * 4]; + while (num12 < num) + { + int num14 = 0; + int num5; + int num6; + while (num14 < 16) + { + int num15 = num14; + int num16 = num12; + num5 = num14; + num6 = num16; + int num17 = num6 ^ num5; + int num18 = num6 & num5; + array3[num15] = array[num17 + (num18 + num18)]; + int num19 = num14; + num5 = 1; + num6 = num19; + int num20 = num6 ^ num5; + int num21 = num6 & num5; + num14 = num20 + (num21 + num21); + } + uint num22 = array3[5]; + num5 = -776044471; + num6 = (int)num22; + uint num23 = (uint)((num6 | num5) - (num6 ^ num5)); + uint num24 = array3[5]; + num5 = 776044470; + num6 = (int)num24; + array3[5] = (uint)((num6 | num5) - (num6 ^ num5)); + uint num25 = array3[5]; + uint num26 = array3[14]; + num5 = -776044471; + num6 = (int)num26; + num5 = (num6 | num5) - (num6 ^ num5); + num6 = (int)num25; + array3[5] = (uint)((num6 & num5) + (num6 ^ num5)); + num23 *= 3640720333u; + uint num27 = array3[14]; + num5 = 776044470; + num6 = (int)num27; + array3[14] = (uint)(num6 + num5 - (num6 | num5)); + uint num28 = array3[14]; + num5 = (int)num23 * -1635489531; + num6 = (int)num28; + array3[14] = (uint)(num6 + num5 - (num6 & num5)); + uint num29 = array3[7]; + num5 = (int)array3[15]; + num6 = (int)num29; + int num30 = num6 + num5; + int num31 = num6 & num5; + array3[7] = (uint)(num30 - (num31 + num31)); + uint num32 = array3[0]; + num5 = 278229082; + num6 = (int)num32; + num23 = (uint)((num6 | num5) - (num6 ^ num5)); + uint num33 = array3[0]; + num5 = -278229083; + num6 = (int)num33; + array3[0] = (uint)(num6 + num5 - (num6 | num5)); + uint num34 = array3[7] * 15; + num23 *= 2982415717u; + uint num35 = array3[10]; + num5 = (int)(~array3[8]); + num6 = (int)num35; + int num36 = num6 + num5; + int num37 = num6 & num5; + array3[10] = (uint)(num36 - (num37 + num37)); + uint num38 = array3[0]; + uint num39 = array3[13]; + num5 = 278229082; + num6 = (int)num39; + num5 = num6 + num5 - (num6 | num5); + num6 = (int)num38; + array3[0] = (uint)(num6 + num5 - (num6 & num5)); + uint num40 = array3[8]; + num5 = (int)array2[8]; + num6 = (int)num40; + int num41 = num6 + num5; + int num42 = num6 & num5; + array3[8] = (uint)(num41 - (num42 + num42)); + uint num43 = array3[9]; + num5 = (int)array2[9]; + num6 = (int)num43; + int num44 = num6 + num5; + int num45 = num6 & num5; + array3[9] = (uint)(num44 - (num45 + num45)); + uint num46 = array3[13]; + num5 = -278229083; + num6 = (int)num46; + array3[13] = (uint)(num6 + num5 - (num6 | num5)); + uint num47 = array3[14]; + num5 = (int)array3[15]; + num6 = (int)num47; + array3[14] = (uint)(~(~num6 + num5)); + uint num48 = array3[7] * 25; + uint num49 = array3[13]; + num5 = (int)num23 * -2021761939; + num6 = (int)num49; + array3[13] = (uint)(num6 + num5 - (num6 & num5)); + uint num50 = array3[2]; + num5 = (int)array3[6]; + num6 = (int)num50; + array3[2] = (uint)(~(~num6 + num5)); + uint num51 = array3[1]; + num5 = -1639718482; + num6 = (int)num51; + int num52 = num6 + num5; + int num53 = num6 & num5; + array3[1] = (uint)(num52 - (num53 + num53)); + uint num54 = array3[5]; + num5 = (int)array2[5]; + num6 = (int)num54; + array3[5] = (uint)((num6 | num5) - (num6 & num5)); + uint num55 = array3[9]; + num5 = (int)(~array3[11]); + num6 = (int)num55; + int num56 = num6 + num5; + int num57 = num6 & num5; + array3[9] = (uint)(num56 - (num57 + num57)); + uint num58 = array3[4]; + num5 = -192377700; + num6 = (int)num58; + num23 = (uint)((num6 | num5) - (num6 ^ num5)); + num23 *= 4244890943u; + uint num59 = array3[4]; + num5 = 192377699; + num6 = (int)num59; + array3[4] = (uint)((num6 | num5) - (num6 ^ num5)); + uint num60 = array3[4]; + uint num61 = array3[12]; + num5 = -192377700; + num6 = (int)num61; + num5 = num6 + num5 - (num6 | num5); + num6 = (int)num60; + array3[4] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num62 = array3[12]; + num5 = 192377699; + num6 = (int)num62; + array3[12] = (uint)((num6 | num5) - (num6 ^ num5)); + uint num63 = array3[7] << 2; + uint num64 = array3[12]; + num5 = (int)(num23 * 1786546879); + num6 = (int)num64; + array3[12] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num65 = array3[12]; + num5 = (int)array2[12]; + num6 = (int)num65; + array3[12] = (uint)((num6 | num5) - (num6 & num5)); + num23 = array3[7] << 2; + uint num66 = array3[6]; + num5 = 456039971; + num6 = (int)num66; + array3[6] = (uint)((num6 | num5) - (num6 & num5)); + uint num67 = num34; + num5 = (int)(array3[12] * 92); + num6 = (int)num67; + int num68 = num6 ^ num5; + int num69 = num6 & num5; + num34 = (uint)(num68 + (num69 + num69)); + uint num70 = num48; + num5 = (int)(array3[12] * 153); + num6 = (int)num70; + int num71 = num6 ^ num5; + int num72 = num6 & num5; + num48 = (uint)(num71 + (num72 + num72)); + uint num73 = array3[10]; + num5 = (int)array3[11]; + num6 = (int)num73; + int num74 = num6 + num5; + int num75 = num6 & num5; + array3[10] = (uint)(num74 - (num75 + num75)); + uint num76 = num23; + num5 = (int)(array3[12] * 27); + num6 = (int)num76; + num23 = (uint)((num6 | num5) + (num6 & num5)); + uint num77 = num63; + num5 = (int)(array3[12] * 22); + num6 = (int)num77; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num78 = num23; + num5 = (int)(array3[8] * 54); + num6 = (int)num78; + int num79 = num6 ^ num5; + int num80 = num6 & num5; + num23 = (uint)(num79 + (num80 + num80)); + uint num81 = num48; + num5 = (int)(array3[8] * 284); + num6 = (int)num81; + int num82 = num6 ^ num5; + int num83 = num6 & num5; + num48 = (uint)(num82 + (num83 + num83)); + uint num84 = num23; + num5 = (int)(array3[1] << 4); + num6 = (int)num84; + int num85 = num6 ^ num5; + int num86 = num6 & num5; + num23 = (uint)(num85 + (num86 + num86)); + uint num87 = num34; + num5 = (int)(array3[8] * 171); + num6 = (int)num87; + num34 = (uint)((num6 | num5) + (num6 & num5)); + uint num88 = num23; + num5 = (int)(array3[1] << 5); + num6 = (int)num88; + int num89 = num6 ^ num5; + int num90 = num6 & num5; + num23 = (uint)(num89 + (num90 + num90)); + uint num91 = num48; + num5 = (int)(array3[1] * 250); + num6 = (int)num91; + num48 = (uint)((num6 | num5) + (num6 & num5)); + uint num92 = num63; + num5 = (int)(array3[8] * 37); + num6 = (int)num92; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num93 = num63; + num5 = (int)(array3[1] << 5); + num6 = (int)num93; + num63 = (uint)((num6 | num5) + (num6 & num5)); + array3[7] = num23; + uint num94 = num34; + num5 = (int)(array3[1] * 151); + num6 = (int)num94; + int num95 = num6 ^ num5; + int num96 = num6 & num5; + num34 = (uint)(num95 + (num96 + num96)); + uint num97 = array3[13]; + num5 = -313568182; + num6 = (int)num97; + int num98 = num6 + num5; + int num99 = num6 & num5; + array3[13] = (uint)(num98 - (num99 + num99)); + array3[1] = num48; + num23 = array3[0] << 1; + uint num100 = num23; + num5 = (int)array3[0]; + num6 = (int)num100; + num23 = (uint)((num6 | num5) + (num6 & num5)); + array3[12] = num63; + num48 = array3[0] * 11; + uint num101 = num48; + num5 = (int)(array3[5] << 1); + num6 = (int)num101; + int num102 = num6 ^ num5; + int num103 = num6 & num5; + num48 = (uint)(num102 + (num103 + num103)); + uint num104 = num48; + num5 = (int)(array3[5] << 3); + num6 = (int)num104; + num48 = (uint)((num6 | num5) + (num6 & num5)); + num63 = array3[0] * 21; + uint num105 = num23; + num5 = (int)(array3[5] << 2); + num6 = (int)num105; + int num106 = num6 ^ num5; + int num107 = num6 & num5; + num23 = (uint)(num106 + (num107 + num107)); + uint num108 = num23; + num5 = (int)(array3[9] * 13); + num6 = (int)num108; + num23 = (uint)((num6 | num5) + (num6 & num5)); + array3[8] = num34; + uint num109 = array3[1]; + num5 = (int)array2[1]; + num6 = (int)num109; + array3[1] = (uint)((num6 | num5) - (num6 & num5)); + array3[7] = array3[7] * 334878841; + uint num110 = array3[15]; + num5 = (int)array2[15]; + num6 = (int)num110; + int num111 = num6 + num5; + int num112 = num6 & num5; + array3[15] = (uint)(num111 - (num112 + num112)); + uint num113 = num48; + num5 = (int)(array3[9] << 2); + num6 = (int)num113; + num48 = (uint)((num6 | num5) + (num6 & num5)); + uint num114 = array3[7]; + num5 = (int)array2[7]; + num6 = (int)num114; + int num115 = num6 + num5; + int num116 = num6 & num5; + array3[7] = (uint)(num115 - (num116 + num116)); + uint num117 = num63; + num5 = (int)(array3[5] * 23); + num6 = (int)num117; + int num118 = num6 ^ num5; + int num119 = num6 & num5; + num63 = (uint)(num118 + (num119 + num119)); + uint num120 = num63; + num5 = (int)(array3[9] * 78); + num6 = (int)num120; + int num121 = num6 ^ num5; + int num122 = num6 & num5; + num63 = (uint)(num121 + (num122 + num122)); + num34 = array3[0] * 69; + uint num123 = num34; + num5 = (int)(array3[5] * 78); + num6 = (int)num123; + int num124 = num6 ^ num5; + int num125 = num6 & num5; + num34 = (uint)(num124 + (num125 + num125)); + uint num126 = num63; + num5 = (int)(array3[2] << 5); + num6 = (int)num126; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num127 = num23; + num5 = (int)(array3[2] << 1); + num6 = (int)num127; + int num128 = num6 ^ num5; + int num129 = num6 & num5; + num23 = (uint)(num128 + (num129 + num129)); + uint num130 = num48; + num5 = (int)(array3[9] << 5); + num6 = (int)num130; + int num131 = num6 ^ num5; + int num132 = num6 & num5; + num48 = (uint)(num131 + (num132 + num132)); + uint num133 = num23; + num5 = (int)(array3[2] << 4); + num6 = (int)num133; + num23 = (uint)((num6 | num5) + (num6 & num5)); + uint num134 = num34; + num5 = (int)(array3[9] * 263); + num6 = (int)num134; + num34 = (uint)((num6 | num5) + (num6 & num5)); + array3[9] = num23; + uint num135 = num34; + num5 = (int)(array3[2] * 331); + num6 = (int)num135; + int num136 = num6 ^ num5; + int num137 = num6 & num5; + num34 = (uint)(num136 + (num137 + num137)); + uint num138 = num63; + num5 = (int)(array3[2] << 6); + num6 = (int)num138; + num63 = (uint)((num6 | num5) + (num6 & num5)); + array3[5] = num63; + num23 = array3[3] >> 19; + uint num139 = num48; + num5 = (int)(array3[2] * 39); + num6 = (int)num139; + int num140 = num6 ^ num5; + int num141 = num6 & num5; + num48 = (uint)(num140 + (num141 + num141)); + num63 = array3[6] >> 3; + array3[6] = array3[6] << 29; + array3[3] = array3[3] << 13; + array3[0] = num48; + uint num142 = array3[6]; + num5 = (int)num63; + num6 = (int)num142; + array3[6] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num143 = array3[0]; + num5 = -1071175130; + num6 = (int)num143; + int num144 = num6 + num5; + int num145 = num6 & num5; + array3[0] = (uint)(num144 - (num145 + num145)); + array3[2] = num34; + uint num146 = array3[2]; + num5 = (int)array2[2]; + num6 = (int)num146; + array3[2] = (uint)((num6 | num5) - (num6 & num5)); + uint num147 = array3[3]; + num5 = (int)num23; + num6 = (int)num147; + array3[3] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num148 = array3[3]; + num5 = (int)array2[3]; + num6 = (int)num148; + array3[3] = (uint)((num6 | num5) - (num6 & num5)); + uint num149 = array3[6]; + num5 = -908475405; + num6 = (int)num149; + num23 = (uint)((num6 | num5) - (num6 ^ num5)); + num63 = array3[1] * 38; + num48 = array3[1] * 31; + uint num150 = array3[4]; + num5 = -274514080; + num6 = (int)num150; + array3[4] = (uint)((num6 | num5) - (num6 & num5)); + uint num151 = num48; + num5 = (int)(array3[15] * 110); + num6 = (int)num151; + num48 = (uint)((num6 | num5) + (num6 & num5)); + num34 = array3[2] >> 7; + uint num152 = array3[6]; + num5 = 908475404; + num6 = (int)num152; + array3[6] = (uint)(num6 + num5 - (num6 | num5)); + uint num153 = array3[6]; + uint num154 = array3[9]; + num5 = -908475405; + num6 = (int)num154; + num5 = (num6 | num5) - (num6 ^ num5); + num6 = (int)num153; + array3[6] = (uint)((num6 & num5) + (num6 ^ num5)); + array3[2] = array3[2] << 25; + num23 *= 2961890683u; + uint num155 = array3[2]; + num5 = (int)num34; + num6 = (int)num155; + array3[2] = (uint)(num6 + num5 - (num6 & num5)); + uint num156 = array3[9]; + num5 = 908475404; + num6 = (int)num156; + array3[9] = (uint)((num6 | num5) - (num6 ^ num5)); + uint num157 = array3[10]; + num5 = (int)array2[10]; + num6 = (int)num157; + int num158 = num6 + num5; + int num159 = num6 & num5; + array3[10] = (uint)(num158 - (num159 + num159)); + num34 = array3[5] >> 17; + uint num160 = num63; + num5 = (int)(array3[15] * 139); + num6 = (int)num160; + int num161 = num6 ^ num5; + int num162 = num6 & num5; + num63 = (uint)(num161 + (num162 + num162)); + uint num163 = array3[9]; + num5 = (int)num23 * -1557628493; + num6 = (int)num163; + array3[9] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num164 = array3[6]; + num5 = (int)(~array3[9]); + num6 = (int)num164; + int num165 = num6 + num5; + int num166 = num6 & num5; + array3[6] = (uint)(num165 - (num166 + num166)); + array3[5] = array3[5] << 15; + uint num167 = array3[13]; + num5 = (int)array2[13]; + num6 = (int)num167; + array3[13] = (uint)((num6 | num5) - (num6 & num5)); + num23 = array3[12] >> 27; + uint num168 = array3[6]; + num5 = (int)array2[6]; + num6 = (int)num168; + int num169 = num6 + num5; + int num170 = num6 & num5; + array3[6] = (uint)(num169 - (num170 + num170)); + array3[12] = array3[12] << 5; + uint num171 = array3[12]; + num5 = (int)num23; + num6 = (int)num171; + array3[12] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num172 = array3[5]; + num5 = (int)num34; + num6 = (int)num172; + array3[5] = (uint)(num6 + num5 - (num6 & num5)); + num34 = array3[1] << 3; + uint num173 = array3[11]; + num5 = (int)array2[11]; + num6 = (int)num173; + array3[11] = (uint)((num6 | num5) - (num6 & num5)); + uint num174 = array3[10]; + num5 = 171024615; + num6 = (int)num174; + array3[10] = (uint)((num6 | num5) - (num6 & num5)); + uint num175 = num63; + num5 = (int)(array3[8] * 88); + num6 = (int)num175; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num176 = num48; + num5 = (int)(array3[8] * 63); + num6 = (int)num176; + int num177 = num6 ^ num5; + int num178 = num6 & num5; + num48 = (uint)(num177 + (num178 + num178)); + num23 = array3[1] << 2; + uint num179 = num34; + num5 = (int)array3[1]; + num6 = (int)num179; + int num180 = num6 ^ num5; + int num181 = num6 & num5; + num34 = (uint)(num180 + (num181 + num181)); + uint num182 = num23; + num5 = (int)array3[1]; + num6 = (int)num182; + num23 = (uint)((num6 | num5) + (num6 & num5)); + uint num183 = num23; + num5 = (int)(array3[15] * 22); + num6 = (int)num183; + int num184 = num6 ^ num5; + int num185 = num6 & num5; + num23 = (uint)(num184 + (num185 + num185)); + uint num186 = num23; + num5 = (int)(array3[8] * 21); + num6 = (int)num186; + int num187 = num6 ^ num5; + int num188 = num6 & num5; + num23 = (uint)(num187 + (num188 + num188)); + uint num189 = num34; + num5 = (int)(array3[15] * 31); + num6 = (int)num189; + int num190 = num6 ^ num5; + int num191 = num6 & num5; + num34 = (uint)(num190 + (num191 + num191)); + uint num192 = num63; + num5 = (int)(array3[14] * 55); + num6 = (int)num192; + num63 = (uint)((num6 | num5) + (num6 & num5)); + uint num193 = num23; + num5 = (int)(array3[14] * 21); + num6 = (int)num193; + num23 = (uint)((num6 | num5) + (num6 & num5)); + uint num194 = array3[4]; + num5 = (int)array2[4]; + num6 = (int)num194; + int num195 = num6 + num5; + int num196 = num6 & num5; + array3[4] = (uint)(num195 - (num196 + num196)); + uint num197 = num34; + num5 = (int)(array3[8] << 4); + num6 = (int)num197; + int num198 = num6 ^ num5; + int num199 = num6 & num5; + num34 = (uint)(num198 + (num199 + num199)); + uint num200 = array3[4]; + num5 = -1682269421; + num6 = (int)num200; + array3[4] = (uint)((num6 | num5) - (num6 & num5)); + uint num201 = array3[13]; + num5 = (int)(~array3[11]); + num6 = (int)num201; + int num202 = num6 + num5; + int num203 = num6 & num5; + array3[13] = (uint)(num202 - (num203 + num203)); + uint num204 = num48; + num5 = (int)(array3[14] << 5); + num6 = (int)num204; + num48 = (uint)((num6 | num5) + (num6 & num5)); + array3[8] = num63; + uint num205 = num34; + num5 = (int)(array3[14] << 1); + num6 = (int)num205; + int num206 = num6 ^ num5; + int num207 = num6 & num5; + num34 = (uint)(num206 + (num207 + num207)); + uint num208 = num34; + num5 = (int)(array3[14] << 2); + num6 = (int)num208; + num34 = (uint)((num6 | num5) + (num6 & num5)); + array3[14] = num23; + array3[1] = num34; + num63 = array3[0] * 3631003441u; + array3[3] = array3[3] * 425712683; + array3[0] = array3[1]; + uint num209 = array3[0]; + num5 = (int)array2[0]; + num6 = (int)num209; + int num210 = num6 + num5; + int num211 = num6 & num5; + array3[0] = (uint)(num210 - (num211 + num211)); + uint num212 = array3[14]; + num5 = (int)array2[14]; + num6 = (int)num212; + int num213 = num6 + num5; + int num214 = num6 & num5; + array3[14] = (uint)(num213 - (num214 + num214)); + array3[1] = num63 * 128664017; + array3[15] = num48; + for (int num215 = 0; num215 < 16; num215 = (num6 | num5) + (num6 & num5)) + { + uint num216 = array3[num215]; + int num217 = num13; + num5 = 1; + num6 = num217; + int num218 = num6 ^ num5; + int num219 = num6 & num5; + num13 = num218 + (num219 + num219); + array4[num217] = (byte)num216; + int num220 = num13; + num5 = 1; + num6 = num220; + num13 = (num6 | num5) + (num6 & num5); + array4[num220] = (byte)(num216 >> 8); + int num221 = num13; + num5 = 1; + num6 = num221; + int num222 = num6 ^ num5; + int num223 = num6 & num5; + num13 = num222 + (num223 + num223); + array4[num221] = (byte)(num216 >> 16); + int num224 = num13; + num5 = 1; + num6 = num224; + int num225 = num6 ^ num5; + int num226 = num6 & num5; + num13 = num225 + (num226 + num226); + array4[num224] = (byte)(num216 >> 24); + array2[num215] ^= num216; + int num227 = num215; + num5 = 1; + num6 = num227; + } + int num228 = num12; + num5 = 16; + num6 = num228; + int num229 = num6 ^ num5; + int num230 = num6 & num5; + num12 = num229 + (num230 + num230); + } + _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E = _202C_206C_202A_206C_206A_200D_202E_206A_206D_200D_200C_206A_206A_206E_200C_206F_200D_206B_200B_200E_200C_202D_200C_206E_202C_206C_202E_200C_200C_206E_206B_202A_206B_206A_206D_200D_200F_200F_202E_206E_202E(array4); + } + + internal static int _206E_206A_200D_202E_202E_202D_200B_200D_200F_206F_202A_200B_206C_206B_206D_206B_200F_202D_202B_206B_202A_202A_200B_200C_202A_200E_202B_202B_202C_200F_200D_202D_202E_206F_206E_200E_202E_202B_206F_202C_202E(int id) + { + id <<= 2; + byte num = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E[id]; + byte[] array = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num2 = id; + int num3 = 1; + int num4 = num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num3 = array[num5 + (num6 + num6)] << 8; + num4 = num; + int num7 = (num4 & num3) + (num4 ^ num3); + byte[] array2 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num8 = id; + num3 = 2; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num3 = array2[num9 + (num10 + num10)] << 16; + num4 = num7; + int num11 = (num4 & num3) + (num4 ^ num3); + byte[] array3 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num12 = id; + num3 = 3; + num4 = num12; + num3 = array3[(num4 | num3) + (num4 & num3)] << 24; + num4 = num11; + return (num4 & num3) + (num4 ^ num3); + } + + internal static long _206E_200E_202B_202E_200B_206A_206B_202E_206A_206B_200F_200B_202E_200D_206A_206F_200E_200F_202D_206A_202C_202D_200D_206B_206E_200E_206F_206E_200F_200D_206A_200E_200E_202C_202B_202A_202E_206F_202B_206B_202E(int id) + { + id <<= 2; + byte num = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E[id]; + byte[] array = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num2 = id; + int num3 = 1; + int num4 = num2; + num3 = array[(num4 | num3) + (num4 & num3)] << 8; + num4 = num; + int num5 = (num4 & num3) + (num4 ^ num3); + byte[] array2 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num6 = id; + num3 = 2; + num4 = num6; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + num3 = array2[num7 + (num8 + num8)] << 16; + num4 = num5; + int num9 = num4 + num3 - (num4 & num3); + byte[] array3 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num10 = id; + num3 = 3; + num4 = num10; + num3 = array3[(num4 | num3) + (num4 & num3)] << 24; + num4 = num9; + uint num11 = (uint)((num4 & num3) + (num4 ^ num3)); + byte[] array4 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num12 = id; + num3 = 4; + num4 = num12; + int num13 = num4 ^ num3; + int num14 = num4 & num3; + byte num15 = array4[num13 + (num14 + num14)]; + byte[] array5 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num16 = id; + num3 = 5; + num4 = num16; + num3 = array5[(num4 | num3) + (num4 & num3)] << 8; + num4 = num15; + int num17 = (num4 & num3) + (num4 ^ num3); + byte[] array6 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num18 = id; + num3 = 6; + num4 = num18; + num3 = array6[(num4 | num3) + (num4 & num3)] << 16; + num4 = num17; + int num19 = num4 + num3 - (num4 & num3); + byte[] array7 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num20 = id; + num3 = 7; + num4 = num20; + int num21 = num4 ^ num3; + int num22 = num4 & num3; + num3 = array7[num21 + (num22 + num22)] << 24; + num4 = num19; + ulong num23 = (ulong)(uint)((num4 & num3) + (num4 ^ num3)) << 32; + long num24 = num11; + long num25 = (long)num23; + return num25 + num24 - (num25 & num24); + } + + internal static float _206C_202D_206A_200D_200E_202B_206B_202E_206B_206E_200D_202B_206D_206E_202B_200B_206E_202D_200F_200D_206B_206B_200D_200B_206D_200D_206F_202B_206B_202B_206D_202D_206C_202D_202A_202A_206C_202D_200D_202E_202E(int id) + { + return BitConverter.ToSingle(_200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E, id << 2); + } + + internal static double _202B_202B_206C_206E_202C_206E_202E_206E_200F_206B_202D_206C_202D_202D_206F_202B_202C_200D_200D_202A_202A_200F_200D_200F_200B_200E_200C_200E_200E_200F_202D_202D_200C_202E_202E_206B_206F_206B_206F_206F_202E(int id) + { + return BitConverter.ToDouble(_200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E, id << 2); + } + + internal static _002D _206D_200D_202D_200C_202B_206E_206A_206E_206E_202B_202D_200F_206E_202B_206D_200B_206E_202E_206E_206C_200C_200D_202E_206D_206D_200B_200D_202D_200F_206A_202B_200C_202A_202B_200E_202E_200B_202B_202B_206B_202E<_002D>(int id) + { + int num = id * 1019339481; + int num2 = 331797353; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 3: + { + byte num31 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E[id]; + byte[] array10 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num32 = id; + num2 = 1; + num3 = num32; + int num33 = num3 ^ num2; + int num34 = num3 & num2; + num2 = array10[num33 + (num34 + num34)] << 8; + num3 = num31; + int num35 = num3 + num2 - (num3 & num2); + byte[] array11 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num36 = id; + num2 = 2; + num3 = num36; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num35; + int num37 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num38 = id; + num2 = 3; + num3 = num38; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num37; + int count = (num3 & num2) + (num3 ^ num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num39 = id; + num2 = 4; + num3 = num39; + int num40 = num3 ^ num2; + int num41 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num40 + (num41 + num41), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 1: + { + byte num8 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E[id]; + byte[] array = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num9 = id; + num2 = 1; + num3 = num9; + int num10 = num3 ^ num2; + int num11 = num3 & num2; + num2 = array[num10 + (num11 + num11)] << 8; + num3 = num8; + int num12 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num13 = id; + num2 = 2; + num3 = num13; + num2 = array2[(num3 | num2) + (num3 & num2)] << 16; + num3 = num12; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num15 = id; + num2 = 3; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + num2 = array3[num16 + (num17 + num17)] << 24; + num3 = num14; + int num18 = num3 + num2 - (num3 & num2); + byte[] array4 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num19 = id; + num2 = 4; + num3 = num19; + byte num20 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num21 = id; + num2 = 5; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array5[num22 + (num23 + num23)] << 8; + num3 = num20; + int num24 = (num3 & num2) + (num3 ^ num2); + byte[] array6 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num25 = id; + num2 = 6; + num3 = num25; + num2 = array6[(num3 | num2) + (num3 & num2)] << 16; + num3 = num24; + int num26 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num27 = id; + num2 = 7; + num3 = num27; + int num28 = num3 ^ num2; + int num29 = num3 & num2; + num2 = array7[num28 + (num29 + num29)] << 24; + num3 = num26; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num18; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _202E_202B_202A_206F_202D_206F_206A_206B_202C_202B_202E_206D_202D_202E_200F_202B_200F_202A_200F_202C_200C_200B_206D_202E_200D_202D_206C_200F_206F_202D_200F_202E_200E_200E_200F_206C_202C_200B_202C_200C_202E<_002D>(int id) + { + int num = id * -2007666933; + int num2 = 1084522616; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = num3 + num2 - (num3 | num2) << 2; + switch (num6) + { + case 0: + { + byte num29 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E[id]; + byte[] array10 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num30 = id; + num2 = 1; + num3 = num30; + int num31 = num3 ^ num2; + int num32 = num3 & num2; + num2 = array10[num31 + (num32 + num32)] << 8; + num3 = num29; + int num33 = num3 + num2 - (num3 & num2); + byte[] array11 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num34 = id; + num2 = 2; + num3 = num34; + int num35 = num3 ^ num2; + int num36 = num3 & num2; + num2 = array11[num35 + (num36 + num36)] << 16; + num3 = num33; + int num37 = num3 + num2 - (num3 & num2); + byte[] array12 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num38 = id; + num2 = 3; + num3 = num38; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num37; + int count = (num3 & num2) + (num3 ^ num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num39 = id; + num2 = 4; + num3 = num39; + int num40 = num3 ^ num2; + int num41 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num40 + (num41 + num41), count)); + } + case 1: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 3: + { + byte num8 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E[id]; + byte[] array = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num11 = id; + num2 = 2; + num3 = num11; + num2 = array2[(num3 | num2) + (num3 & num2)] << 16; + num3 = num10; + int num12 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num13 = id; + num2 = 3; + num3 = num13; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num12; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array4 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num15 = id; + num2 = 4; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + byte num18 = array4[num16 + (num17 + num17)]; + byte[] array5 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num19 = id; + num2 = 5; + num3 = num19; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num18; + int num20 = num3 + num2 - (num3 & num2); + byte[] array6 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num21 = id; + num2 = 6; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array6[num22 + (num23 + num23)] << 16; + num3 = num20; + int num24 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num25 = id; + num2 = 7; + num3 = num25; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num24; + int length = (num3 & num2) + (num3 ^ num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num26 = id; + num2 = 8; + num3 = num26; + int num27 = num3 ^ num2; + int num28 = num3 & num2; + int srcOffset = num27 + (num28 + num28); + num2 = 4; + num3 = num14; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _202D_200D_206E_202A_202C_202B_200E_202A_202D_202E_200E_200C_200D_206C_200B_206D_202D_202E_202B_202B_206C_202B_206F_202D_202B_200D_202E_200B_200F_206E_202C_202D_200C_206B_200C_206C_202A_202E_200E_200E_202E<_002D>(int id) + { + int num = id * -398786619; + int num2 = 1434138467; + int num3 = num; + id = (num3 | num2) - (num3 & num2); + int num4 = id >>> 30; + int num5 = id; + num2 = 1073741823; + num3 = num5; + id = num3 + num2 - (num3 | num2) << 2; + switch (num4) + { + case 2: + { + byte num33 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E[id]; + byte[] array10 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num34 = id; + num2 = 1; + num3 = num34; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num33; + int num35 = num3 + num2 - (num3 & num2); + byte[] array11 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num36 = id; + num2 = 2; + num3 = num36; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num35; + int num37 = num3 + num2 - (num3 & num2); + byte[] array12 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num38 = id; + num2 = 3; + num3 = num38; + int num39 = num3 ^ num2; + int num40 = num3 & num2; + num2 = array12[num39 + (num40 + num40)] << 24; + num3 = num37; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num41 = id; + num2 = 4; + num3 = num41; + int num42 = num3 ^ num2; + int num43 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num42 + (num43 + num43), count)); + } + case 0: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 3: + { + byte num6 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E[id]; + byte[] array = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num7 = id; + num2 = 1; + num3 = num7; + int num8 = num3 ^ num2; + int num9 = num3 & num2; + num2 = array[num8 + (num9 + num9)] << 8; + num3 = num6; + int num10 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num15 = id; + num2 = 3; + num3 = num15; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num14; + int num16 = (num3 & num2) + (num3 ^ num2); + byte[] array4 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num17 = id; + num2 = 4; + num3 = num17; + byte num18 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num19 = id; + num2 = 5; + num3 = num19; + int num20 = num3 ^ num2; + int num21 = num3 & num2; + num2 = array5[num20 + (num21 + num21)] << 8; + num3 = num18; + int num22 = num3 + num2 - (num3 & num2); + byte[] array6 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num23 = id; + num2 = 6; + num3 = num23; + int num24 = num3 ^ num2; + int num25 = num3 & num2; + num2 = array6[num24 + (num25 + num25)] << 16; + num3 = num22; + int num26 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num27 = id; + num2 = 7; + num3 = num27; + int num28 = num3 ^ num2; + int num29 = num3 & num2; + num2 = array7[num28 + (num29 + num29)] << 24; + num3 = num26; + int length = (num3 & num2) + (num3 ^ num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int num31 = num3 ^ num2; + int num32 = num3 & num2; + int srcOffset = num31 + (num32 + num32); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _200F_200F_202A_206D_200D_200C_206B_206A_200E_200B_206A_200D_206E_202C_200B_206D_200B_200B_202E_202B_202C_202A_206A_206C_206D_200F_206F_206E_206B_206C_206A_202D_206B_206C_200D_202B_206E_200E_202B_200F_202E<_002D>(int id) + { + int num = id * 1318072633; + int num2 = -1775635715; + int num3 = num; + id = (num3 | num2) - (num3 & num2); + int num4 = id >>> 30; + int num5 = id; + num2 = 1073741823; + num3 = num5; + id = num3 + num2 - (num3 | num2) << 2; + switch (num4) + { + case 1: + { + byte num31 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E[id]; + byte[] array10 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num32 = id; + num2 = 1; + num3 = num32; + int num33 = num3 ^ num2; + int num34 = num3 & num2; + num2 = array10[num33 + (num34 + num34)] << 8; + num3 = num31; + int num35 = num3 + num2 - (num3 & num2); + byte[] array11 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num36 = id; + num2 = 2; + num3 = num36; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num35; + int num37 = num3 + num2 - (num3 & num2); + byte[] array12 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num38 = id; + num2 = 3; + num3 = num38; + int num39 = num3 ^ num2; + int num40 = num3 & num2; + num2 = array12[num39 + (num40 + num40)] << 24; + num3 = num37; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num41 = id; + num2 = 4; + num3 = num41; + int num42 = num3 ^ num2; + int num43 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num42 + (num43 + num43), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 3: + { + byte num6 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E[id]; + byte[] array = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num7 = id; + num2 = 1; + num3 = num7; + int num8 = num3 ^ num2; + int num9 = num3 & num2; + num2 = array[num8 + (num9 + num9)] << 8; + num3 = num6; + int num10 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num15 = id; + num2 = 3; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + num2 = array3[num16 + (num17 + num17)] << 24; + num3 = num14; + int num18 = num3 + num2 - (num3 & num2); + byte[] array4 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num19 = id; + num2 = 4; + num3 = num19; + byte num20 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num21 = id; + num2 = 5; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array5[num22 + (num23 + num23)] << 8; + num3 = num20; + int num24 = num3 + num2 - (num3 & num2); + byte[] array6 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num25 = id; + num2 = 6; + num3 = num25; + int num26 = num3 ^ num2; + int num27 = num3 & num2; + num2 = array6[num26 + (num27 + num27)] << 16; + num3 = num24; + int num28 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num29 = id; + num2 = 7; + num3 = num29; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num28; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num18; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _206F_200B_200B_200C_200E_206C_206C_200D_200F_202D_206C_202E_206D_206B_206E_206A_200E_206E_206E_202A_202D_206B_206E_202E_202B_206F_200D_200B_202A_200C_200B_200B_206F_200F_206A_202A_202A_202E_206E_206C_202E<_002D>(int id) + { + int num = id * 1026386545; + int num2 = -1096681692; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 3: + { + byte num33 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E[id]; + byte[] array10 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num34 = id; + num2 = 1; + num3 = num34; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num33; + int num35 = (num3 & num2) + (num3 ^ num2); + byte[] array11 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num36 = id; + num2 = 2; + num3 = num36; + int num37 = num3 ^ num2; + int num38 = num3 & num2; + num2 = array11[num37 + (num38 + num38)] << 16; + num3 = num35; + int num39 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num40 = id; + num2 = 3; + num3 = num40; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num39; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num41 = id; + num2 = 4; + num3 = num41; + return (_002D)(object)string.Intern(uTF.GetString(bytes, (num3 | num2) + (num3 & num2), count)); + } + case 1: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 2: + { + byte num8 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E[id]; + byte[] array = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num15 = id; + num2 = 3; + num3 = num15; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num14; + int num16 = num3 + num2 - (num3 & num2); + byte[] array4 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num17 = id; + num2 = 4; + num3 = num17; + byte num18 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num19 = id; + num2 = 5; + num3 = num19; + int num20 = num3 ^ num2; + int num21 = num3 & num2; + num2 = array5[num20 + (num21 + num21)] << 8; + num3 = num18; + int num22 = num3 + num2 - (num3 & num2); + byte[] array6 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num23 = id; + num2 = 6; + num3 = num23; + int num24 = num3 ^ num2; + int num25 = num3 & num2; + num2 = array6[num24 + (num25 + num25)] << 16; + num3 = num22; + int num26 = num3 + num2 - (num3 & num2); + byte[] array7 = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num27 = id; + num2 = 7; + num3 = num27; + int num28 = num3 ^ num2; + int num29 = num3 & num2; + num2 = array7[num28 + (num29 + num29)] << 24; + num3 = num26; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _200E_202A_202A_200C_202A_206A_200E_202D_206B_206D_202D_206B_200F_206C_200D_200C_206A_206E_202B_206B_206A_200E_206D_202B_202E_200C_206E_202D_202A_200C_206B_202A_206F_206A_206F_200B_202C_202C_202A_202A_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int num31 = num3 ^ num2; + int num32 = num3 & num2; + int srcOffset = num31 + (num32 + num32); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } +} diff --git a/SmartNav.Model/SmartNav.Model.CommonAethernetShard b/SmartNav.Model/SmartNav.Model.CommonAethernetShard new file mode 100644 index 0000000..84befd5 --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.CommonAethernetShard @@ -0,0 +1,151 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-aethernetshard.json", + "type": "string", + "enum": [ + "[Gridania] Aetheryte Plaza", + "[Gridania] Archers' Guild", + "[Gridania] Leatherworkers' Guild & Shaded Bower", + "[Gridania] Lancers' Guild", + "[Gridania] Conjurers' Guild", + "[Gridania] Botanists' Guild", + "[Gridania] Mih Khetto's Amphitheatre", + "[Gridania] Blue Badger Gate (Central Shroud)", + "[Gridania] Yellow Serpent Gate (North Shroud)", + "[Gridania] White Wolf Gate (Central Shroud)", + "[Gridania] Airship Landing", + "[Ul'dah] Aetheryte Plaza", + "[Ul'dah] Adventurers' Guild", + "[Ul'dah] Thaumaturges' Guild", + "[Ul'dah] Gladiators' Guild", + "[Ul'dah] Miners' Guild", + "[Ul'dah] Weavers' Guild", + "[Ul'dah] Goldsmiths' Guild", + "[Ul'dah] Sapphire Avenue Exchange", + "[Ul'dah] Alchemists' Guild", + "[Ul'dah] Gate of the Sultana (Western Thanalan)", + "[Ul'dah] Gate of Nald (Central Thanalan)", + "[Ul'dah] Gate of Thal (Central Thanalan)", + "[Ul'dah] The Chamber of Rule", + "[Ul'dah] Airship Landing", + "[Limsa Lominsa] Aetheryte Plaza", + "[Limsa Lominsa] Arcanists' Guild", + "[Limsa Lominsa] Fishermen's Guild", + "[Limsa Lominsa] Hawkers' Alley", + "[Limsa Lominsa] The Aftcastle", + "[Limsa Lominsa] Culinarians' Guild", + "[Limsa Lominsa] Marauders' Guild", + "[Limsa Lominsa] Zephyr Gate (Middle La Noscea)", + "[Limsa Lominsa] Tempest Gate (Lower La Noscea)", + "[Limsa Lominsa] Airship Landing", + "[Gold Saucer] Aetheryte Plaza", + "[Gold Saucer] Entrance & Card Squares", + "[Gold Saucer] Wonder Square East", + "[Gold Saucer] Wonder Square West", + "[Gold Saucer] Event Square", + "[Gold Saucer] Cactpot Board", + "[Gold Saucer] Round Square", + "[Gold Saucer] Chocobo Square", + "[Gold Saucer] Minion Square", + "[Ishgard] Aetheryte Plaza", + "[Ishgard] The Forgotten Knight", + "[Ishgard] Skysteel Manufactory", + "[Ishgard] The Brume", + "[Ishgard] Athenaeum Astrologicum", + "[Ishgard] The Jeweled Crozier", + "[Ishgard] Saint Reymanaud's Cathedral", + "[Ishgard] The Tribunal", + "[Ishgard] The Last Vigil", + "[Ishgard] The Gates of Judgement (Coerthas Central Highlands)", + "[Ishgard] Firmament", + "[Firmament] The Mendicant's Court", + "[Firmament] The Mattock", + "[Firmament] The New Nest", + "[Firmament] Saint Roelle's Dais", + "[Firmament] Featherfall", + "[Firmament] Hoarfrost Hall", + "[Firmament] Western Risensong Quarter", + "[Firmament] Eastern Risensong Quarter", + "[Idyllshire] Aetheryte Plaza", + "[Idyllshire] West Idyllshire", + "[Idyllshire] Prologue Gate (Western Hinterlands)", + "[Idyllshire] Epilogue Gate (Eastern Hinterlands)", + "[Rhalgr's Reach] Aetheryte Plaza", + "[Rhalgr's Reach] Western Rhalgr's Reach", + "[Rhalgr's Reach] Northeastern Rhalgr's Reach", + "[Rhalgr's Reach] Fringes Gate", + "[Rhalgr's Reach] Peaks Gate", + "[Kugane] Aetheryte Plaza", + "[Kugane] Shiokaze Hostelry", + "[Kugane] Pier #1", + "[Kugane] Thavnairian Consulate", + "[Kugane] Kogane Dori Markets", + "[Kugane] Bokairo Inn", + "[Kugane] The Ruby Bazaar", + "[Kugane] Sekiseigumi Barracks", + "[Kugane] Rakuza District", + "[Kugane] The Ruby Price", + "[Kugane] Airship Landing", + "[Doman Enclave] Aetheryte Plaza", + "[Doman Enclave] The Northern Enclave", + "[Doman Enclave] The Southern Enclave", + "[Doman Enclave] Ferry Docks", + "[Doman Enclave] The One River", + "[Doman Enclave] Gangos", + "[Crystarium] Aetheryte Plaza", + "[Crystarium] Musica Universalis Markets", + "[Crystarium] Temenos Rookery", + "[Crystarium] The Dossal Gate", + "[Crystarium] The Pendants", + "[Crystarium] The Amaro Launch", + "[Crystarium] The Crystalline Mean", + "[Crystarium] The Cabinet of Curiosity", + "[Crystarium] Tessellation (Lakeland)", + "[Eulmore] Aetheryte Plaza", + "[Eulmore] Southeast Derelicts", + "[Eulmore] Nightsoil Pots", + "[Eulmore] The Glory Gate", + "[Eulmore] The Mainstay", + "[Eulmore] The Path to Glory (Kholusia)", + "[Old Sharlayan] Aetheryte Plaza", + "[Old Sharlayan] The Studium", + "[Old Sharlayan] The Baldesion Annex", + "[Old Sharlayan] The Rostra", + "[Old Sharlayan] The Leveilleur Estate", + "[Old Sharlayan] Journey's End", + "[Old Sharlayan] Scholar's Harbor", + "[Old Sharlayan] The Hall of Artifice (Labyrinthos)", + "[Radz-at-Han] Aetheryte Plaza", + "[Radz-at-Han] Meghaduta", + "[Radz-at-Han] Ruveydah Fibers", + "[Radz-at-Han] Airship Landing", + "[Radz-at-Han] Alzadaal's Peace", + "[Radz-at-Han] Hall of the Radiant Host", + "[Radz-at-Han] Mehryde's Meyhane", + "[Radz-at-Han] Kama", + "[Radz-at-Han] The High Crucible of Al-Kimiya", + "[Radz-at-Han] The Gate of First Sight (Thavnair)", + "[Tuliyollal] Aetheryte Plaza", + "[Tuliyollal] Dirigible Landing", + "[Tuliyollal] The Resplendent Quarter", + "[Tuliyollal] The For'ard Cabins", + "[Tuliyollal] Bayside Bevy Marketplace", + "[Tuliyollal] Vollok Shoonsa", + "[Tuliyollal] Wachumeqimeqi", + "[Tuliyollal] Brightploom Post", + "[Tuliyollal] Arch of the Dawn (Urqopacha)", + "[Tuliyollal] Arch of the Dawn (Kozama'uka)", + "[Tuliyollal] Ihuykatumu (Kozama'uka)", + "[Tuliyollal] Dirigible Landing (Yak T'el)", + "[Tuliyollal] Xak Tural Skygate (Shaaloani)", + "[Solution Nine] Aetheryte Plaza", + "[Solution Nine] Information Center", + "[Solution Nine] True Vue", + "[Solution Nine] Neon Stein", + "[Solution Nine] The Arcadion", + "[Solution Nine] Resolution", + "[Solution Nine] Nexus Arcade", + "[Solution Nine] Residential Sector", + "[Solution Nine] Scanning Port Nine (Heritage Found)" + ] +} diff --git a/SmartNav.Model/SmartNav.Model.CommonAetheryte b/SmartNav.Model/SmartNav.Model.CommonAetheryte new file mode 100644 index 0000000..08b313a --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.CommonAetheryte @@ -0,0 +1,114 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-aetheryte.json", + "type": "string", + "enum": [ + "Gridania", + "Central Shroud - Bentbranch Meadows", + "East Shroud - Hawthorne Hut", + "South Shroud - Quarrymill", + "South Shroud - Camp Tranquil", + "North Shroud - Fallgourd Float", + "Ul'dah", + "Western Thanalan - Horizon", + "Central Thanalan - Black Brush Station", + "Eastern Thanalan - Camp Drybone", + "Southern Thanalan - Little Ala Mhigo", + "Southern Thanalan - Forgotten Springs", + "Northern Thanalan - Camp Bluefog", + "Northern Thanalan - Ceruleum Processing Plant", + "Limsa Lominsa", + "Middle La Noscea - Summerford Farms", + "Lower La Noscea - Moraby Drydocks", + "Eastern La Noscea - Costa Del Sol", + "Eastern La Noscea - Wineport", + "Western La Noscea - Swiftperch", + "Western La Noscea - Aleport", + "Upper La Noscea - Camp Bronze Lake", + "Outer La Noscea - Camp Overlook", + "Coerthas Central Highlands - Camp Dragonhead", + "Mor Dhona", + "Wolves' Den Pier", + "Gold Saucer", + "Ishgard", + "Idyllshire", + "Coerthas Western Highlands - Falcon's Nest", + "The Sea of Clouds - Camp Cloudtop", + "The Sea of Clouds - Ok' Zundu", + "Azys Lla - Helix", + "The Dravanian Forelands - Tailfeather", + "The Dravanian Forelands - Anyx Trine", + "The Churning Mists - Moghome", + "The Churning Mists - Zenith", + "Rhalgr's Reach", + "Fringes - Castrum Oriens", + "Fringes - Peering Stones", + "Peaks - Ala Gannha", + "Peaks - Ala Ghiri", + "Lochs - Porta Praetoria", + "Lochs - Ala Mhigan Quarter", + "Kugane", + "Ruby Sea - Tamamizu", + "Ruby Sea - Onokoro", + "Yanxia - Namai", + "Yanxia - House of the Fierce", + "Azim Steppe - Reunion", + "Azim Steppe - Dawn Throne", + "Azim Steppe - Dhoro Iloh", + "Doman Enclave", + "Crystarium", + "Eulmore", + "Lakeland - Fort Jobb", + "Lakeland - Ostall Imperative", + "Kholusia - Stilltide", + "Kholusia - Wright", + "Kholusia - Tomra", + "Amh Araeng - Mord Souq", + "Amh Araeng - Inn at Journey's Head", + "Amh Araeng - Twine", + "Rak'tika - Slitherbough", + "Rak'tika - Fanow", + "Il Mheg - Lydha Lran", + "Il Mheg - Pla Enni", + "Il Mheg - Wolekdorf", + "Tempest - Ondo Cups", + "Tempest - Macarenses Angle", + "Old Sharlayan", + "Radz-at-Han", + "Labyrinthos - Archeion", + "Labyrinthos - Sharlayan Hamlet", + "Labyrinthos - Aporia", + "Thavnair - Yedlihmad", + "Thavnair - Great Work", + "Thavnair - Palaka's Stand", + "Garlemald - Camp Broken Glass", + "Garlemald - Tertium", + "Mare Lamentorum - Sinus Lacrimarum", + "Mare Lamentorum - Bestways Burrow", + "Elpis - Anagnorisis", + "Elpis - Twelve Wonders", + "Elpis - Poieten Oikos", + "Ultima Thule - Reah Tahra", + "Ultima Thule - Abode of the Ea", + "Ultima Thule - Base Omicron", + "Tuliyollal", + "Solution Nine", + "Urqopacha - Wachunpelo", + "Urqopacha - Worlar's Echo", + "Kozama'uka - Ok'hanu", + "Kozama'uka - Many Fires", + "Kozama'uka - Earthenshire", + "Kozama'uka - Dock Poga", + "Yak T'el - Iq Br'aax", + "Yak T'el - Mamook", + "Shaaloani - Hhusatahwi", + "Shaaloani - Sheshenewezi Springs", + "Shaaloani - Mehwahhetsoan", + "Heritage Found - Yyasulani Station", + "Heritage Found - The Outskirts", + "Heritage Found - Electrope Strike", + "Living Memory - Leynode Mnemo", + "Living Memory - Leynode Pyro", + "Living Memory - Leynode Aero" + ] +} diff --git a/SmartNav.Model/SmartNav.Model.Converter/AetheryteConverter.cs b/SmartNav.Model/SmartNav.Model.Converter/AetheryteConverter.cs new file mode 100644 index 0000000..b3fa95c --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.Converter/AetheryteConverter.cs @@ -0,0 +1,448 @@ +using System.Collections.Generic; + +namespace SmartNav.Model.Converter; + +public sealed class AetheryteConverter : EnumConverter +{ + private static readonly Dictionary Values = new Dictionary + { + { + EAetheryteLocation.Gridania, + "Gridania" + }, + { + EAetheryteLocation.CentralShroudBentbranchMeadows, + "Central Shroud - Bentbranch Meadows" + }, + { + EAetheryteLocation.EastShroudHawthorneHut, + "East Shroud - Hawthorne Hut" + }, + { + EAetheryteLocation.SouthShroudQuarrymill, + "South Shroud - Quarrymill" + }, + { + EAetheryteLocation.SouthShroudCampTranquil, + "South Shroud - Camp Tranquil" + }, + { + EAetheryteLocation.NorthShroudFallgourdFloat, + "North Shroud - Fallgourd Float" + }, + { + EAetheryteLocation.Uldah, + "Ul'dah" + }, + { + EAetheryteLocation.WesternThanalanHorizon, + "Western Thanalan - Horizon" + }, + { + EAetheryteLocation.CentralThanalanBlackBrushStation, + "Central Thanalan - Black Brush Station" + }, + { + EAetheryteLocation.EasternThanalanCampDrybone, + "Eastern Thanalan - Camp Drybone" + }, + { + EAetheryteLocation.SouthernThanalanLittleAlaMhigo, + "Southern Thanalan - Little Ala Mhigo" + }, + { + EAetheryteLocation.SouthernThanalanForgottenSprings, + "Southern Thanalan - Forgotten Springs" + }, + { + EAetheryteLocation.NorthernThanalanCampBluefog, + "Northern Thanalan - Camp Bluefog" + }, + { + EAetheryteLocation.NorthernThanalanCeruleumProcessingPlant, + "Northern Thanalan - Ceruleum Processing Plant" + }, + { + EAetheryteLocation.Limsa, + "Limsa Lominsa" + }, + { + EAetheryteLocation.MiddleLaNosceaSummerfordFarms, + "Middle La Noscea - Summerford Farms" + }, + { + EAetheryteLocation.LowerLaNosceaMorabyDrydocks, + "Lower La Noscea - Moraby Drydocks" + }, + { + EAetheryteLocation.EasternLaNosceaCostaDelSol, + "Eastern La Noscea - Costa Del Sol" + }, + { + EAetheryteLocation.EasternLaNosceaWineport, + "Eastern La Noscea - Wineport" + }, + { + EAetheryteLocation.WesternLaNosceaSwiftperch, + "Western La Noscea - Swiftperch" + }, + { + EAetheryteLocation.WesternLaNosceaAleport, + "Western La Noscea - Aleport" + }, + { + EAetheryteLocation.UpperLaNosceaCampBronzeLake, + "Upper La Noscea - Camp Bronze Lake" + }, + { + EAetheryteLocation.OuterLaNosceaCampOverlook, + "Outer La Noscea - Camp Overlook" + }, + { + EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, + "Coerthas Central Highlands - Camp Dragonhead" + }, + { + EAetheryteLocation.MorDhona, + "Mor Dhona" + }, + { + EAetheryteLocation.WolvesDenPier, + "Wolves' Den Pier" + }, + { + EAetheryteLocation.GoldSaucer, + "Gold Saucer" + }, + { + EAetheryteLocation.Ishgard, + "Ishgard" + }, + { + EAetheryteLocation.Idyllshire, + "Idyllshire" + }, + { + EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, + "Coerthas Western Highlands - Falcon's Nest" + }, + { + EAetheryteLocation.SeaOfCloudsCampCloudtop, + "The Sea of Clouds - Camp Cloudtop" + }, + { + EAetheryteLocation.SeaOfCloudsOkZundu, + "The Sea of Clouds - Ok' Zundu" + }, + { + EAetheryteLocation.AzysLlaHelix, + "Azys Lla - Helix" + }, + { + EAetheryteLocation.DravanianForelandsTailfeather, + "The Dravanian Forelands - Tailfeather" + }, + { + EAetheryteLocation.DravanianForelandsAnyxTrine, + "The Dravanian Forelands - Anyx Trine" + }, + { + EAetheryteLocation.ChurningMistsMoghome, + "The Churning Mists - Moghome" + }, + { + EAetheryteLocation.ChurningMistsZenith, + "The Churning Mists - Zenith" + }, + { + EAetheryteLocation.RhalgrsReach, + "Rhalgr's Reach" + }, + { + EAetheryteLocation.FringesCastrumOriens, + "Fringes - Castrum Oriens" + }, + { + EAetheryteLocation.FringesPeeringStones, + "Fringes - Peering Stones" + }, + { + EAetheryteLocation.PeaksAlaGannha, + "Peaks - Ala Gannha" + }, + { + EAetheryteLocation.PeaksAlaGhiri, + "Peaks - Ala Ghiri" + }, + { + EAetheryteLocation.LochsPortaPraetoria, + "Lochs - Porta Praetoria" + }, + { + EAetheryteLocation.LochsAlaMhiganQuarter, + "Lochs - Ala Mhigan Quarter" + }, + { + EAetheryteLocation.Kugane, + "Kugane" + }, + { + EAetheryteLocation.RubySeaTamamizu, + "Ruby Sea - Tamamizu" + }, + { + EAetheryteLocation.RubySeaOnokoro, + "Ruby Sea - Onokoro" + }, + { + EAetheryteLocation.YanxiaNamai, + "Yanxia - Namai" + }, + { + EAetheryteLocation.YanxiaHouseOfTheFierce, + "Yanxia - House of the Fierce" + }, + { + EAetheryteLocation.AzimSteppeReunion, + "Azim Steppe - Reunion" + }, + { + EAetheryteLocation.AzimSteppeDawnThrone, + "Azim Steppe - Dawn Throne" + }, + { + EAetheryteLocation.AzimSteppeDhoroIloh, + "Azim Steppe - Dhoro Iloh" + }, + { + EAetheryteLocation.DomanEnclave, + "Doman Enclave" + }, + { + EAetheryteLocation.Crystarium, + "Crystarium" + }, + { + EAetheryteLocation.Eulmore, + "Eulmore" + }, + { + EAetheryteLocation.LakelandFortJobb, + "Lakeland - Fort Jobb" + }, + { + EAetheryteLocation.LakelandOstallImperative, + "Lakeland - Ostall Imperative" + }, + { + EAetheryteLocation.KholusiaStilltide, + "Kholusia - Stilltide" + }, + { + EAetheryteLocation.KholusiaWright, + "Kholusia - Wright" + }, + { + EAetheryteLocation.KholusiaTomra, + "Kholusia - Tomra" + }, + { + EAetheryteLocation.AmhAraengMordSouq, + "Amh Araeng - Mord Souq" + }, + { + EAetheryteLocation.AmhAraengInnAtJourneysHead, + "Amh Araeng - Inn at Journey's Head" + }, + { + EAetheryteLocation.AmhAraengTwine, + "Amh Araeng - Twine" + }, + { + EAetheryteLocation.RaktikaSlitherbough, + "Rak'tika - Slitherbough" + }, + { + EAetheryteLocation.RaktikaFanow, + "Rak'tika - Fanow" + }, + { + EAetheryteLocation.IlMhegLydhaLran, + "Il Mheg - Lydha Lran" + }, + { + EAetheryteLocation.IlMhegPlaEnni, + "Il Mheg - Pla Enni" + }, + { + EAetheryteLocation.IlMhegWolekdorf, + "Il Mheg - Wolekdorf" + }, + { + EAetheryteLocation.TempestOndoCups, + "Tempest - Ondo Cups" + }, + { + EAetheryteLocation.TempestMacarensesAngle, + "Tempest - Macarenses Angle" + }, + { + EAetheryteLocation.OldSharlayan, + "Old Sharlayan" + }, + { + EAetheryteLocation.RadzAtHan, + "Radz-at-Han" + }, + { + EAetheryteLocation.LabyrinthosArcheion, + "Labyrinthos - Archeion" + }, + { + EAetheryteLocation.LabyrinthosSharlayanHamlet, + "Labyrinthos - Sharlayan Hamlet" + }, + { + EAetheryteLocation.LabyrinthosAporia, + "Labyrinthos - Aporia" + }, + { + EAetheryteLocation.ThavnairYedlihmad, + "Thavnair - Yedlihmad" + }, + { + EAetheryteLocation.ThavnairGreatWork, + "Thavnair - Great Work" + }, + { + EAetheryteLocation.ThavnairPalakasStand, + "Thavnair - Palaka's Stand" + }, + { + EAetheryteLocation.GarlemaldCampBrokenGlass, + "Garlemald - Camp Broken Glass" + }, + { + EAetheryteLocation.GarlemaldTertium, + "Garlemald - Tertium" + }, + { + EAetheryteLocation.MareLamentorumSinusLacrimarum, + "Mare Lamentorum - Sinus Lacrimarum" + }, + { + EAetheryteLocation.MareLamentorumBestwaysBurrow, + "Mare Lamentorum - Bestways Burrow" + }, + { + EAetheryteLocation.ElpisAnagnorisis, + "Elpis - Anagnorisis" + }, + { + EAetheryteLocation.ElpisTwelveWonders, + "Elpis - Twelve Wonders" + }, + { + EAetheryteLocation.ElpisPoietenOikos, + "Elpis - Poieten Oikos" + }, + { + EAetheryteLocation.UltimaThuleReahTahra, + "Ultima Thule - Reah Tahra" + }, + { + EAetheryteLocation.UltimaThuleAbodeOfTheEa, + "Ultima Thule - Abode of the Ea" + }, + { + EAetheryteLocation.UltimaThuleBaseOmicron, + "Ultima Thule - Base Omicron" + }, + { + EAetheryteLocation.Tuliyollal, + "Tuliyollal" + }, + { + EAetheryteLocation.SolutionNine, + "Solution Nine" + }, + { + EAetheryteLocation.UrqopachaWachunpelo, + "Urqopacha - Wachunpelo" + }, + { + EAetheryteLocation.UrqopachaWorlarsEcho, + "Urqopacha - Worlar's Echo" + }, + { + EAetheryteLocation.KozamaukaOkHanu, + "Kozama'uka - Ok'hanu" + }, + { + EAetheryteLocation.KozamaukaManyFires, + "Kozama'uka - Many Fires" + }, + { + EAetheryteLocation.KozamaukaEarthenshire, + "Kozama'uka - Earthenshire" + }, + { + EAetheryteLocation.KozamaukaDockPoga, + "Kozama'uka - Dock Poga" + }, + { + EAetheryteLocation.YakTelIqBraax, + "Yak T'el - Iq Br'aax" + }, + { + EAetheryteLocation.YakTelMamook, + "Yak T'el - Mamook" + }, + { + EAetheryteLocation.ShaaloaniHhusatahwi, + "Shaaloani - Hhusatahwi" + }, + { + EAetheryteLocation.ShaaloaniShesheneweziSprings, + "Shaaloani - Sheshenewezi Springs" + }, + { + EAetheryteLocation.ShaaloaniMehwahhetsoan, + "Shaaloani - Mehwahhetsoan" + }, + { + EAetheryteLocation.HeritageFoundYyasulaniStation, + "Heritage Found - Yyasulani Station" + }, + { + EAetheryteLocation.HeritageFoundTheOutskirts, + "Heritage Found - The Outskirts" + }, + { + EAetheryteLocation.HeritageFoundElectropeStrike, + "Heritage Found - Electrope Strike" + }, + { + EAetheryteLocation.LivingMemoryLeynodeMnemo, + "Living Memory - Leynode Mnemo" + }, + { + EAetheryteLocation.LivingMemoryLeynodePyro, + "Living Memory - Leynode Pyro" + }, + { + EAetheryteLocation.LivingMemoryLeynodeAero, + "Living Memory - Leynode Aero" + } + }; + + public AetheryteConverter() + : base((IReadOnlyDictionary)Values) + { + } + + public static bool IsLargeAetheryte(EAetheryteLocation aetheryte) + { + return Values.ContainsKey(aetheryte); + } +} diff --git a/SmartNav.Model/SmartNav.Model.Converter/EnumConverter.cs b/SmartNav.Model/SmartNav.Model.Converter/EnumConverter.cs new file mode 100644 index 0000000..31050ba --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.Converter/EnumConverter.cs @@ -0,0 +1,44 @@ +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace SmartNav.Model.Converter; + +public abstract class EnumConverter : JsonConverter where T : Enum +{ + private readonly ReadOnlyDictionary _enumToString; + + private readonly ReadOnlyDictionary _stringToEnum; + + protected EnumConverter(IReadOnlyDictionary values) + { + _enumToString = ((values is IDictionary dictionary) ? new ReadOnlyDictionary(dictionary) : new ReadOnlyDictionary(values.ToDictionary, T, string>((KeyValuePair x) => x.Key, (KeyValuePair x) => x.Value))); + _stringToEnum = new ReadOnlyDictionary(_enumToString.ToDictionary, string, T>((KeyValuePair x) => x.Value, (KeyValuePair x) => x.Key)); + } + + public override T? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + if (reader.TokenType != JsonTokenType.String) + { + throw new JsonException(); + } + string text = reader.GetString(); + if (text == null) + { + throw new JsonException(); + } + if (!_stringToEnum.TryGetValue(text, out var value)) + { + throw new JsonException(); + } + return value; + } + + public override void Write(Utf8JsonWriter writer, T value, JsonSerializerOptions options) + { + writer.WriteStringValue(_enumToString[value]); + } +} diff --git a/SmartNav.Model/SmartNav.Model.Converter/VectorConverter.cs b/SmartNav.Model/SmartNav.Model.Converter/VectorConverter.cs new file mode 100644 index 0000000..7d96f98 --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.Converter/VectorConverter.cs @@ -0,0 +1,71 @@ +using System; +using System.Numerics; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace SmartNav.Model.Converter; + +public sealed class VectorConverter : JsonConverter +{ + public override Vector3 Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + if (reader.TokenType != JsonTokenType.StartObject) + { + throw new JsonException(); + } + Vector3 result = default(Vector3); + while (reader.Read()) + { + switch (reader.TokenType) + { + case JsonTokenType.PropertyName: + { + string text = reader.GetString(); + if (text == null || !reader.Read()) + { + throw new JsonException(); + } + switch (text) + { + case "X": + result.X = reader.GetSingle(); + break; + case "Y": + result.Y = reader.GetSingle(); + break; + case "Z": + result.Z = reader.GetSingle(); + break; + default: + throw new JsonException(); + } + break; + } + case JsonTokenType.EndObject: + return result; + default: + throw new JsonException(); + } + } + throw new JsonException(); + } + + public override void Write(Utf8JsonWriter writer, Vector3 value, JsonSerializerOptions options) + { + writer.WriteStartObject(); + writer.WriteNumber("X", RoundValue(value.X)); + writer.WriteNumber("Y", RoundValue(value.Y)); + writer.WriteNumber("Z", RoundValue(value.Z)); + writer.WriteEndObject(); + } + + private static float RoundValue(float value) + { + float num = MathF.Round(value, 6); + if (!(MathF.Abs(num) < 1E-06f)) + { + return num; + } + return 0f; + } +} diff --git a/SmartNav.Model/SmartNav.Model.Navigation/BoundarySide.cs b/SmartNav.Model/SmartNav.Model.Navigation/BoundarySide.cs new file mode 100644 index 0000000..43bf5eb --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.Navigation/BoundarySide.cs @@ -0,0 +1,15 @@ +using System.Numerics; +using System.Text.Json.Serialization; +using SmartNav.Model.Converter; + +namespace SmartNav.Model.Navigation; + +public sealed class BoundarySide +{ + public ushort TerritoryId { get; set; } + + [JsonConverter(typeof(VectorConverter))] + public Vector3 Position { get; set; } + + public TriggerBox? Trigger { get; set; } +} diff --git a/SmartNav.Model/SmartNav.Model.Navigation/DerivedArrivalEntry.cs b/SmartNav.Model/SmartNav.Model.Navigation/DerivedArrivalEntry.cs new file mode 100644 index 0000000..69081b4 --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.Navigation/DerivedArrivalEntry.cs @@ -0,0 +1,14 @@ +namespace SmartNav.Model.Navigation; + +public sealed class DerivedArrivalEntry +{ + public uint PopRangeId { get; set; } + + public ushort TerritoryId { get; set; } + + public float X { get; set; } + + public float Y { get; set; } + + public float Z { get; set; } +} diff --git a/SmartNav.Model/SmartNav.Model.Navigation/DerivedArrivalFile.cs b/SmartNav.Model/SmartNav.Model.Navigation/DerivedArrivalFile.cs new file mode 100644 index 0000000..6b188a4 --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.Navigation/DerivedArrivalFile.cs @@ -0,0 +1,10 @@ +using System.Collections.Generic; + +namespace SmartNav.Model.Navigation; + +public sealed class DerivedArrivalFile +{ + public string? GameVersion { get; set; } + + public Dictionary Arrivals { get; set; } = new Dictionary(); +} diff --git a/SmartNav.Model/SmartNav.Model.Navigation/SubRegionConnector.cs b/SmartNav.Model/SmartNav.Model.Navigation/SubRegionConnector.cs new file mode 100644 index 0000000..c9a3169 --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.Navigation/SubRegionConnector.cs @@ -0,0 +1,27 @@ +using System.Numerics; +using System.Text.Json.Serialization; +using SmartNav.Model.Converter; + +namespace SmartNav.Model.Navigation; + +public sealed class SubRegionConnector +{ + public string? Comment { get; set; } + + [JsonConverter(typeof(JsonStringEnumConverter))] + public SubRegionConnectorKind Kind { get; set; } + + public string SourceSubRegion { get; set; } = string.Empty; + + [JsonConverter(typeof(VectorConverter))] + public Vector3 SourcePosition { get; set; } + + public string DestSubRegion { get; set; } = string.Empty; + + [JsonConverter(typeof(VectorConverter))] + public Vector3 DestPosition { get; set; } + + public float TimeCostSeconds { get; set; } + + public bool Bidirectional { get; set; } +} diff --git a/SmartNav.Model/SmartNav.Model.Navigation/SubRegionConnectorKind.cs b/SmartNav.Model/SmartNav.Model.Navigation/SubRegionConnectorKind.cs new file mode 100644 index 0000000..2172430 --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.Navigation/SubRegionConnectorKind.cs @@ -0,0 +1,7 @@ +namespace SmartNav.Model.Navigation; + +public enum SubRegionConnectorKind +{ + Pad, + Move +} diff --git a/SmartNav.Model/SmartNav.Model.Navigation/SubRegionDefinition.cs b/SmartNav.Model/SmartNav.Model.Navigation/SubRegionDefinition.cs new file mode 100644 index 0000000..b93f098 --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.Navigation/SubRegionDefinition.cs @@ -0,0 +1,49 @@ +using System.Collections.Generic; + +namespace SmartNav.Model.Navigation; + +public sealed class SubRegionDefinition +{ + public string Id { get; set; } = string.Empty; + + public string? Comment { get; set; } + + public float? MinY { get; set; } + + public float? MaxY { get; set; } + + public List Vertices { get; set; } = new List(); + + public bool Contains(float x, float y, float z) + { + if (MinY.HasValue && y < MinY.Value) + { + return false; + } + if (MaxY.HasValue && y > MaxY.Value) + { + return false; + } + int count = Vertices.Count; + if (count < 3) + { + return false; + } + bool flag = false; + int num = 0; + int index = count - 1; + while (num < count) + { + float x2 = Vertices[num].X; + float z2 = Vertices[num].Z; + float x3 = Vertices[index].X; + float z3 = Vertices[index].Z; + if (z2 > z != z3 > z && x < (x3 - x2) * (z - z2) / (z3 - z2) + x2) + { + flag = !flag; + } + index = num++; + } + return flag; + } +} diff --git a/SmartNav.Model/SmartNav.Model.Navigation/SubRegionVertex.cs b/SmartNav.Model/SmartNav.Model.Navigation/SubRegionVertex.cs new file mode 100644 index 0000000..24b85d5 --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.Navigation/SubRegionVertex.cs @@ -0,0 +1,8 @@ +namespace SmartNav.Model.Navigation; + +public sealed class SubRegionVertex +{ + public float X { get; set; } + + public float Z { get; set; } +} diff --git a/SmartNav.Model/SmartNav.Model.Navigation/TaxiStandEntry.cs b/SmartNav.Model/SmartNav.Model.Navigation/TaxiStandEntry.cs new file mode 100644 index 0000000..e459695 --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.Navigation/TaxiStandEntry.cs @@ -0,0 +1,17 @@ +using System.Numerics; +using System.Text.Json.Serialization; +using SmartNav.Model.Converter; + +namespace SmartNav.Model.Navigation; + +public sealed class TaxiStandEntry +{ + public uint Id { get; set; } + + public uint ChocoboTaxiStandId { get; set; } + + public ushort TerritoryId { get; set; } + + [JsonConverter(typeof(VectorConverter))] + public Vector3 Location { get; set; } +} diff --git a/SmartNav.Model/SmartNav.Model.Navigation/TeleportTicketEntry.cs b/SmartNav.Model/SmartNav.Model.Navigation/TeleportTicketEntry.cs new file mode 100644 index 0000000..475d9ec --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.Navigation/TeleportTicketEntry.cs @@ -0,0 +1,19 @@ +using System.Numerics; +using System.Text.Json.Serialization; +using SmartNav.Model.Converter; + +namespace SmartNav.Model.Navigation; + +public sealed class TeleportTicketEntry +{ + public uint ItemId { get; set; } + + public string ItemName { get; set; } = string.Empty; + + public uint ItemActionType { get; set; } + + public ushort DestTerritoryId { get; set; } + + [JsonConverter(typeof(VectorConverter))] + public Vector3 DestPosition { get; set; } +} diff --git a/SmartNav.Model/SmartNav.Model.Navigation/TeleportTicketFile.cs b/SmartNav.Model/SmartNav.Model.Navigation/TeleportTicketFile.cs new file mode 100644 index 0000000..d2af3f1 --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.Navigation/TeleportTicketFile.cs @@ -0,0 +1,8 @@ +using System.Collections.Generic; + +namespace SmartNav.Model.Navigation; + +public sealed class TeleportTicketFile +{ + public Dictionary Tickets { get; set; } = new Dictionary(); +} diff --git a/SmartNav.Model/SmartNav.Model.Navigation/TerritorySubRegions.cs b/SmartNav.Model/SmartNav.Model.Navigation/TerritorySubRegions.cs new file mode 100644 index 0000000..8e9c4bb --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.Navigation/TerritorySubRegions.cs @@ -0,0 +1,12 @@ +using System.Collections.Generic; + +namespace SmartNav.Model.Navigation; + +public sealed class TerritorySubRegions +{ + public string? Comment { get; set; } + + public List SubRegions { get; set; } = new List(); + + public List Connectors { get; set; } = new List(); +} diff --git a/SmartNav.Model/SmartNav.Model.Navigation/TriggerBox.cs b/SmartNav.Model/SmartNav.Model.Navigation/TriggerBox.cs new file mode 100644 index 0000000..ab659af --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.Navigation/TriggerBox.cs @@ -0,0 +1,7 @@ +using System.Numerics; +using System.Text.Json.Serialization; +using SmartNav.Model.Converter; + +namespace SmartNav.Model.Navigation; + +public sealed record TriggerBox([property: JsonConverter(typeof(VectorConverter))] Vector3 Translation, [property: JsonConverter(typeof(VectorConverter))] Vector3 RotationRadians, [property: JsonConverter(typeof(VectorConverter))] Vector3 HalfExtents); diff --git a/SmartNav.Model/SmartNav.Model.Navigation/WarpDestinationEntry.cs b/SmartNav.Model/SmartNav.Model.Navigation/WarpDestinationEntry.cs new file mode 100644 index 0000000..d45248b --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.Navigation/WarpDestinationEntry.cs @@ -0,0 +1,27 @@ +using System.Collections.Generic; +using System.Numerics; +using System.Text.Json.Serialization; +using SmartNav.Model.Converter; + +namespace SmartNav.Model.Navigation; + +public sealed class WarpDestinationEntry +{ + public uint WarpRowId { get; set; } + + public ushort SourceTerritoryId { get; set; } + + [JsonConverter(typeof(VectorConverter))] + public Vector3 SourcePosition { get; set; } + + public ushort DestTerritoryId { get; set; } + + [JsonConverter(typeof(VectorConverter))] + public Vector3 DestPosition { get; set; } + + public uint? NpcDataId { get; set; } + + public List? AvailableDuringMsqIds { get; set; } + + public List? SeenDuringMsqIds { get; set; } +} diff --git a/SmartNav.Model/SmartNav.Model.Navigation/WarpDestinationOverrides.cs b/SmartNav.Model/SmartNav.Model.Navigation/WarpDestinationOverrides.cs new file mode 100644 index 0000000..35a81eb --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.Navigation/WarpDestinationOverrides.cs @@ -0,0 +1,10 @@ +using System.Collections.Generic; + +namespace SmartNav.Model.Navigation; + +public sealed class WarpDestinationOverrides +{ + public List SkippedWarpIds { get; set; } = new List(); + + public Dictionary Destinations { get; set; } = new Dictionary(); +} diff --git a/SmartNav.Model/SmartNav.Model.Navigation/ZoneBoundary.cs b/SmartNav.Model/SmartNav.Model.Navigation/ZoneBoundary.cs new file mode 100644 index 0000000..29d705c --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.Navigation/ZoneBoundary.cs @@ -0,0 +1,18 @@ +namespace SmartNav.Model.Navigation; + +public sealed class ZoneBoundary +{ + public string Id { get; set; } = string.Empty; + + public string? Comment { get; set; } + + public BoundarySide Side1 { get; set; } = new BoundarySide(); + + public BoundarySide Side2 { get; set; } = new BoundarySide(); + + public uint? RequiredQuest { get; set; } + + public bool RequiresFlying { get; set; } + + public bool OneWay { get; set; } +} diff --git a/SmartNav.Model/SmartNav.Model.Navigation/ZoneSubRegionFile.cs b/SmartNav.Model/SmartNav.Model.Navigation/ZoneSubRegionFile.cs new file mode 100644 index 0000000..97a331e --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.Navigation/ZoneSubRegionFile.cs @@ -0,0 +1,8 @@ +using System.Collections.Generic; + +namespace SmartNav.Model.Navigation; + +public sealed class ZoneSubRegionFile +{ + public Dictionary Regions { get; set; } = new Dictionary(); +} diff --git a/SmartNav.Model/SmartNav.Model.csproj b/SmartNav.Model/SmartNav.Model.csproj new file mode 100644 index 0000000..e14436f --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.csproj @@ -0,0 +1,22 @@ + + + + SmartNav.Model + False + netcoreapp1.0 + + + 12.0 + True + + + + + + + + + + + + \ No newline at end of file diff --git a/SmartNav.Model/SmartNav.Model/EAetheryteLocation.cs b/SmartNav.Model/SmartNav.Model/EAetheryteLocation.cs new file mode 100644 index 0000000..b0b9b26 --- /dev/null +++ b/SmartNav.Model/SmartNav.Model/EAetheryteLocation.cs @@ -0,0 +1,246 @@ +using System.Text.Json.Serialization; +using SmartNav.Model.Converter; + +namespace SmartNav.Model; + +[JsonConverter(typeof(AetheryteConverter))] +public enum EAetheryteLocation +{ + None = 0, + Gridania = 2, + GridaniaArcher = 25, + GridaniaLeatherworker = 26, + GridaniaLancer = 27, + GridaniaConjurer = 28, + GridaniaBotanist = 29, + GridaniaAmphitheatre = 30, + GridaniaBlueBadgerGate = 31, + GridaniaYellowSerpentGate = 32, + GridaniaWhiteWolfGate = 54, + GridaniaAirship = 94, + CentralShroudBentbranchMeadows = 3, + EastShroudHawthorneHut = 4, + SouthShroudQuarrymill = 5, + SouthShroudCampTranquil = 6, + NorthShroudFallgourdFloat = 7, + Uldah = 9, + UldahAdventurers = 33, + UldahThaumaturge = 34, + UldahGladiator = 35, + UldahMiner = 36, + UldahAlchemist = 37, + UldahWeaver = 47, + UldahGoldsmith = 50, + UldahChamberOfRule = 51, + UldahAirship = 95, + UldahGateOfTheSultana = 38, + UldahGateOfNald = 39, + UldahGateOfThal = 40, + UldahSapphireAvenue = 125, + WesternThanalanHorizon = 17, + EasternThanalanCampDrybone = 18, + SouthernThanalanLittleAlaMhigo = 19, + SouthernThanalanForgottenSprings = 20, + NorthernThanalanCampBluefog = 21, + NorthernThanalanCeruleumProcessingPlant = 22, + CentralThanalanBlackBrushStation = 53, + Limsa = 8, + LimsaAftcastle = 41, + LimsaCulinarian = 42, + LimsaArcanist = 43, + LimsaFisher = 44, + LimsaMarauder = 48, + LimsaHawkersAlley = 49, + LimsaZephyrGate = 45, + LimsaTempestGate = 46, + LimsaAirship = 93, + LowerLaNosceaMorabyDrydocks = 10, + EasternLaNosceaCostaDelSol = 11, + EasternLaNosceaWineport = 12, + WesternLaNosceaSwiftperch = 13, + WesternLaNosceaAleport = 14, + UpperLaNosceaCampBronzeLake = 15, + OuterLaNosceaCampOverlook = 16, + MiddleLaNosceaSummerfordFarms = 52, + CoerthasCentralHighlandsCampDragonhead = 23, + MorDhona = 24, + WolvesDenPier = 55, + GoldSaucer = 62, + GoldSaucerEntranceCardSquares = 63, + GoldSaucerWonderSquareEast = 64, + GoldSaucerWonderSquareWest = 65, + GoldSaucerEventSquare = 66, + GoldSaucerCactpotBoard = 67, + GoldSaucerRoundSquare = 68, + GoldSaucerChocoboSquare = 69, + GoldSaucerMinionSquare = 89, + Ishgard = 70, + IshgardForgottenKnight = 80, + IshgardSkysteelManufactory = 81, + IshgardBrume = 82, + IshgardAthenaeumAstrologicum = 83, + IshgardJeweledCrozier = 84, + IshgardSaintReymanaudsCathedral = 85, + IshgardTribunal = 86, + IshgardLastVigil = 87, + IshgardGatesOfJudgement = 88, + IshgardFirmament = 100001, + FirmamentMendicantsCourt = 2011373, + FirmamentMattock = 2011374, + FirmamentNewNest = 2011384, + FirmanentSaintRoellesDais = 2011385, + FirmamentFeatherfall = 2011386, + FirmamentHoarfrostHall = 2011387, + FirmamentWesternRisensongQuarter = 2011388, + FirmamentEasternRisensongQuarter = 2011389, + Idyllshire = 75, + IdyllshireWest = 90, + IdyllshirePrologueGate = 91, + IdyllshireEpilogueGate = 92, + CoerthasWesternHighlandsFalconsNest = 71, + SeaOfCloudsCampCloudtop = 72, + SeaOfCloudsOkZundu = 73, + AzysLlaHelix = 74, + DravanianForelandsTailfeather = 76, + DravanianForelandsAnyxTrine = 77, + ChurningMistsMoghome = 78, + ChurningMistsZenith = 79, + RhalgrsReach = 104, + RhalgrsReachWest = 121, + RhalgrsReachNorthEast = 122, + RhalgrsReachFringesGate = 123, + RhalgrsReachPeaksGate = 124, + Kugane = 111, + KuganeShiokazeHostelry = 112, + KuganePier1 = 113, + KuganeThavnairianConsulate = 114, + KuganeMarkets = 115, + KuganeBokairoInn = 116, + KuganeRubyBazaar = 117, + KuganeSekiseigumiBarracks = 118, + KuganeRakuzaDistrict = 119, + KuganeRubyPrice = 120, + KuganeAirship = 126, + FringesCastrumOriens = 98, + FringesPeeringStones = 99, + PeaksAlaGannha = 100, + PeaksAlaGhiri = 101, + LochsPortaPraetoria = 102, + LochsAlaMhiganQuarter = 103, + RubySeaTamamizu = 105, + RubySeaOnokoro = 106, + YanxiaNamai = 107, + YanxiaHouseOfTheFierce = 108, + AzimSteppeReunion = 109, + AzimSteppeDawnThrone = 110, + AzimSteppeDhoroIloh = 128, + DomanEnclave = 127, + DomanEnclaveNorthern = 129, + DomanEnclaveSouthern = 130, + DomanEnclaveOneRiver = 131, + DomanEnclaveDocks = 162, + DomanEnclaveGangos = 163, + Crystarium = 133, + CrystariumMarkets = 149, + CrystariumTemenosRookery = 150, + CrystariumDossalGate = 151, + CrystariumPendants = 152, + CrystariumAmaroLaunch = 153, + CrystariumCrystallineMean = 154, + CrystariumCabinetOfCuriosity = 155, + CrystariumTessellation = 156, + Eulmore = 134, + EulmoreMainstay = 157, + EulmoreNightsoilPots = 158, + EulmoreGloryGate = 159, + EulmoreSoutheastDerelict = 135, + EulmorePathToGlory = 160, + LakelandFortJobb = 132, + LakelandOstallImperative = 136, + KholusiaStilltide = 137, + KholusiaWright = 138, + KholusiaTomra = 139, + AmhAraengMordSouq = 140, + AmhAraengInnAtJourneysHead = 161, + AmhAraengTwine = 141, + RaktikaSlitherbough = 142, + RaktikaFanow = 143, + IlMhegLydhaLran = 144, + IlMhegPlaEnni = 145, + IlMhegWolekdorf = 146, + TempestOndoCups = 147, + TempestMacarensesAngle = 148, + OldSharlayan = 182, + OldSharlayanStudium = 184, + OldSharlayanBaldesionAnnex = 185, + OldSharlayanRostra = 186, + OldSharlayanLeveilleurEstate = 187, + OldSharlayanJourneysEnd = 188, + OldSharlayanScholarsHarbor = 189, + OldSharlayanHallOfArtifice = 190, + RadzAtHan = 183, + RadzAtHanMeghaduta = 191, + RadzAtHanRuveydahFibers = 192, + RadzAtHanAirship = 193, + RadzAtHanAlzadaalsPeace = 194, + RadzAtHanHallOfTheRadiantHost = 195, + RadzAtHanMehrydesMeyhane = 196, + RadzAtHanKama = 198, + RadzAtHanHighCrucible = 199, + RadzAtHanGateOfFirstSight = 197, + LabyrinthosArcheion = 166, + LabyrinthosSharlayanHamlet = 167, + LabyrinthosAporia = 168, + ThavnairYedlihmad = 169, + ThavnairGreatWork = 170, + ThavnairPalakasStand = 171, + GarlemaldCampBrokenGlass = 172, + GarlemaldTertium = 173, + MareLamentorumSinusLacrimarum = 174, + MareLamentorumBestwaysBurrow = 175, + ElpisAnagnorisis = 176, + ElpisTwelveWonders = 177, + ElpisPoietenOikos = 178, + UltimaThuleReahTahra = 179, + UltimaThuleAbodeOfTheEa = 180, + UltimaThuleBaseOmicron = 181, + Tuliyollal = 216, + TuliyollalDirigibleLanding = 218, + TuliyollalTheResplendentQuarter = 219, + TuliyollalTheForardCabins = 220, + TuliyollalBaysideBevyMarketplace = 221, + TuliyollalVollokShoonsa = 222, + TuliyollalWachumeqimeqi = 223, + TuliyollalBrightploomPost = 224, + TuliyollalArchOfTheDawnUrqopacha = 225, + TuliyollalArchOfTheDawnKozamauka = 226, + TuliyollalIhuykatumu = 227, + TuliyollalDirigibleLandingYakTel = 228, + TuliyollalXakTuralSkygate = 229, + SolutionNine = 217, + SolutionNineInformationCenter = 230, + SolutionNineTrueVue = 231, + SolutionNineNeonStein = 232, + SolutionNineTheArcadion = 233, + SolutionNineResolution = 234, + SolutionNineNexusArcade = 235, + SolutionNineResidentialSector = 236, + SolutionNineScanningPortNine = 237, + UrqopachaWachunpelo = 200, + UrqopachaWorlarsEcho = 201, + KozamaukaOkHanu = 202, + KozamaukaManyFires = 203, + KozamaukaEarthenshire = 204, + KozamaukaDockPoga = 238, + YakTelIqBraax = 205, + YakTelMamook = 206, + ShaaloaniHhusatahwi = 207, + ShaaloaniShesheneweziSprings = 208, + ShaaloaniMehwahhetsoan = 209, + HeritageFoundYyasulaniStation = 210, + HeritageFoundTheOutskirts = 211, + HeritageFoundElectropeStrike = 212, + LivingMemoryLeynodeMnemo = 213, + LivingMemoryLeynodePyro = 214, + LivingMemoryLeynodeAero = 215 +} diff --git a/SmartNav.Model/SmartNav.Model/EAetheryteLocationExtensions.cs b/SmartNav.Model/SmartNav.Model/EAetheryteLocationExtensions.cs new file mode 100644 index 0000000..3351ccb --- /dev/null +++ b/SmartNav.Model/SmartNav.Model/EAetheryteLocationExtensions.cs @@ -0,0 +1,13 @@ +namespace SmartNav.Model; + +public static class EAetheryteLocationExtensions +{ + public static bool IsFirmamentAetheryte(this EAetheryteLocation aetheryteLocation) + { + if (aetheryteLocation == EAetheryteLocation.IshgardFirmament || (uint)(aetheryteLocation - 2011373) <= 1u || (uint)(aetheryteLocation - 2011384) <= 5u) + { + return true; + } + return false; + } +} diff --git a/SmartNav.Model/SmartNav.Model/ModelResources.cs b/SmartNav.Model/SmartNav.Model/ModelResources.cs new file mode 100644 index 0000000..5d5e265 --- /dev/null +++ b/SmartNav.Model/SmartNav.Model/ModelResources.cs @@ -0,0 +1,10 @@ +using System.IO; + +namespace SmartNav.Model; + +public static class ModelResources +{ + public static Stream CommonAetheryte => typeof(ModelResources).Assembly.GetManifestResourceStream("SmartNav.Model.CommonAetheryte"); + + public static Stream CommonAethernetShard => typeof(ModelResources).Assembly.GetManifestResourceStream("SmartNav.Model.CommonAethernetShard"); +} diff --git a/SmartNav.Model/SmartNav.Model/MovementData.cs b/SmartNav.Model/SmartNav.Model/MovementData.cs new file mode 100644 index 0000000..f0736d6 --- /dev/null +++ b/SmartNav.Model/SmartNav.Model/MovementData.cs @@ -0,0 +1,78 @@ +namespace SmartNav.Model; + +public static class MovementData +{ + public static class Speeds + { + public const float Walk = 2.4f; + + public const float JogWalk = 2.88f; + + public const float Run = 6f; + + public const float RunJog = 7.2f; + + public const float RunSprint = 7.8f; + + public const float MountWalkGround = 3.2f; + + public const float MountGround0 = 9f; + + public const float MountGround1 = 12f; + + public const float MountGround2 = 15f; + + public const float MountFly = 20f; + + public const float Swim = 5f; + + public const float SwimJog = 6f; + + public const float SwimSprint = 6.5f; + + public const float Dive = 6f; + + public const float DiveJog = 7.2f; + + public const float DiveSprint = 7.8f; + + public static float GetMountGroundSpeed(int mountSpeedLevel) + { + return mountSpeedLevel switch + { + 0 => 9f, + 1 => 12f, + 2 => 15f, + _ => 9f, + }; + } + } + + public static class Thresholds + { + public const float DefaultSprintDistanceOpenWorld = 50f; + + public const float DefaultSprintDistanceTown = 20f; + + public const float DefaultMountGroundDistance = 20f; + + public const float DefaultMountFlyDistance = 15f; + + public const float DefaultStopDistance = 3f; + } + + public static class Timings + { + public const float TeleportCastDuration = 5f; + + public const float LoadingScreenDuration = 2f; + + public const float MountCastDuration = 1f; + + public const float SprintDurationOutOfCombat = 20f; + + public const float SprintDurationInCombat = 10f; + + public const float SprintCooldown = 60f; + } +} diff --git a/SmartNav/-----------------------------------------.cs b/SmartNav/-----------------------------------------.cs new file mode 100644 index 0000000..fabf088 --- /dev/null +++ b/SmartNav/-----------------------------------------.cs @@ -0,0 +1,1044 @@ +using System; +using System.IO; +using System.Runtime.InteropServices; + +internal struct _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E +{ + internal uint _206E_206F_202B_206C_200D_206F_202D_200C_206B_202B_200B_202C_206A_200C_200E_200E_200E_200C_200F_200E_202B_206F_202C_202E_200B_202A_200D_202C_206D_200F_202B_202C_206E_202E_206A_206F_200F_206D_202D_202B_202E; + + internal void _202A_200C_206A_202C_206D_200E_200B_206C_202C_202E_206C_206E_202B_206A_202E_206A_202C_200C_206B_200E_206A_202E_206B_200F_206F_206A_200F_200F_202C_206E_202A_200F_206F_202E_200D_200D_206E_200B_200B_202D_202E() + { + _206E_206F_202B_206C_200D_206F_202D_200C_206B_202B_200B_202C_206A_200C_200E_200E_200E_200C_200F_200E_202B_206F_202C_202E_200B_202A_200D_202C_206D_200F_202B_202C_206E_202E_206A_206F_200F_206D_202D_202B_202E = 1024u; + } + + internal uint _202B_206A_206C_200D_206D_206E_206E_206E_202D_202C_206B_206F_206C_206D_200E_206B_202A_202E_206F_202B_206A_202B_202B_202A_206D_200F_200C_206A_200D_202A_202E_200E_206A_206A_200D_206F_206A_200C_200B_202D_202E(_206B_206E_202C_202E_206C_200F_200C_200F_206D_202B_206F_202E_202E_202B_206B_202D_206E_206D_200B_202B_206B_200D_206A_200E_200B_200E_202A_206B_206C_206E_202B_200D_206C_202E_200D_206D_206A_206D_202B_202D_202E rangeDecoder) + { + uint num = (rangeDecoder._206E_206B_202B_202C_200D_202B_206F_206D_200D_202C_200F_206C_202E_206D_202D_202E_206A_206A_206B_202A_202C_206D_200D_206D_206C_206D_206C_202D_200C_202E_202D_206C_202D_206A_200C_202D_206D_206C_200F_202A_202E >> 11) * _206E_206F_202B_206C_200D_206F_202D_200C_206B_202B_200B_202C_206A_200C_200E_200E_200E_200C_200F_200E_202B_206F_202C_202E_200B_202A_200D_202C_206D_200F_202B_202C_206E_202E_206A_206F_200F_206D_202D_202B_202E; + int num3; + int num4; + if (rangeDecoder._202C_206E_202B_202E_206E_200C_200D_202A_202B_206D_202E_202E_200E_200D_200B_200C_202C_200C_200C_206D_200B_202C_202B_202A_206D_206C_206B_206E_206F_200E_206F_206C_202C_206A_202B_202D_206F_206E_206F_202A_202E < num) + { + rangeDecoder._206E_206B_202B_202C_200D_202B_206F_206D_200D_202C_200F_206C_202E_206D_202D_202E_206A_206A_206B_202A_202C_206D_200D_206D_206C_206D_206C_202D_200C_202E_202D_206C_202D_206A_200C_202D_206D_206C_200F_202A_202E = num; + uint num2 = _206E_206F_202B_206C_200D_206F_202D_200C_206B_202B_200B_202C_206A_200C_200E_200E_200E_200C_200F_200E_202B_206F_202C_202E_200B_202A_200D_202C_206D_200F_202B_202C_206E_202E_206A_206F_200F_206D_202D_202B_202E; + num3 = (int)_206E_206F_202B_206C_200D_206F_202D_200C_206B_202B_200B_202C_206A_200C_200E_200E_200E_200C_200F_200E_202B_206F_202C_202E_200B_202A_200D_202C_206D_200F_202B_202C_206E_202E_206A_206F_200F_206D_202D_202B_202E; + num4 = 2048; + num3 = ~(~num4 + num3) >>> 5; + num4 = (int)num2; + _206E_206F_202B_206C_200D_206F_202D_200C_206B_202B_200B_202C_206A_200C_200E_200E_200E_200C_200F_200E_202B_206F_202C_202E_200B_202A_200D_202C_206D_200F_202B_202C_206E_202E_206A_206F_200F_206D_202D_202B_202E = (uint)((num4 | num3) + (num4 & num3)); + if (rangeDecoder._206E_206B_202B_202C_200D_202B_206F_206D_200D_202C_200F_206C_202E_206D_202D_202E_206A_206A_206B_202A_202C_206D_200D_206D_206C_206D_206C_202D_200C_202E_202D_206C_202D_206A_200C_202D_206D_206C_200F_202A_202E < 16777216) + { + rangeDecoder._202C_206E_202B_202E_206E_200C_200D_202A_202B_206D_202E_202E_200E_200D_200B_200C_202C_200C_200C_206D_200B_202C_202B_202A_206D_206C_206B_206E_206F_200E_206F_206C_202C_206A_202B_202D_206F_206E_206F_202A_202E = (rangeDecoder._202C_206E_202B_202E_206E_200C_200D_202A_202B_206D_202E_202E_200E_200D_200B_200C_202C_200C_200C_206D_200B_202C_202B_202A_206D_206C_206B_206E_206F_200E_206F_206C_202C_206A_202B_202D_206F_206E_206F_202A_202E << 8) | (byte)rangeDecoder._202C_202E_202B_206F_200D_206D_200D_202E_202C_202E_206D_206A_202B_206B_202B_206C_200E_200E_206C_200B_202D_206A_206C_200C_200E_206C_206F_206E_202C_206C_200F_200E_206E_206E_206A_206B_200F_206E_200F_202A_202E.ReadByte(); + rangeDecoder._206E_206B_202B_202C_200D_202B_206F_206D_200D_202C_200F_206C_202E_206D_202D_202E_206A_206A_206B_202A_202C_206D_200D_206D_206C_206D_206C_202D_200C_202E_202D_206C_202D_206A_200C_202D_206D_206C_200F_202A_202E <<= 8; + } + return 0u; + } + uint num5 = rangeDecoder._206E_206B_202B_202C_200D_202B_206F_206D_200D_202C_200F_206C_202E_206D_202D_202E_206A_206A_206B_202A_202C_206D_200D_206D_206C_206D_206C_202D_200C_202E_202D_206C_202D_206A_200C_202D_206D_206C_200F_202A_202E; + num3 = (int)num; + num4 = (int)num5; + rangeDecoder._206E_206B_202B_202C_200D_202B_206F_206D_200D_202C_200F_206C_202E_206D_202D_202E_206A_206A_206B_202A_202C_206D_200D_206D_206C_206D_206C_202D_200C_202E_202D_206C_202D_206A_200C_202D_206D_206C_200F_202A_202E = (uint)(~(~num4 + num3)); + uint num6 = rangeDecoder._202C_206E_202B_202E_206E_200C_200D_202A_202B_206D_202E_202E_200E_200D_200B_200C_202C_200C_200C_206D_200B_202C_202B_202A_206D_206C_206B_206E_206F_200E_206F_206C_202C_206A_202B_202D_206F_206E_206F_202A_202E; + num3 = (int)num; + num4 = (int)num6; + rangeDecoder._202C_206E_202B_202E_206E_200C_200D_202A_202B_206D_202E_202E_200E_200D_200B_200C_202C_200C_200C_206D_200B_202C_202B_202A_206D_206C_206B_206E_206F_200E_206F_206C_202C_206A_202B_202D_206F_206E_206F_202A_202E = (uint)(~(~num4 + num3)); + uint num7 = _206E_206F_202B_206C_200D_206F_202D_200C_206B_202B_200B_202C_206A_200C_200E_200E_200E_200C_200F_200E_202B_206F_202C_202E_200B_202A_200D_202C_206D_200F_202B_202C_206E_202E_206A_206F_200F_206D_202D_202B_202E; + num3 = (int)(_206E_206F_202B_206C_200D_206F_202D_200C_206B_202B_200B_202C_206A_200C_200E_200E_200E_200C_200F_200E_202B_206F_202C_202E_200B_202A_200D_202C_206D_200F_202B_202C_206E_202E_206A_206F_200F_206D_202D_202B_202E >> 5); + num4 = (int)num7; + _206E_206F_202B_206C_200D_206F_202D_200C_206B_202B_200B_202C_206A_200C_200E_200E_200E_200C_200F_200E_202B_206F_202C_202E_200B_202A_200D_202C_206D_200F_202B_202C_206E_202E_206A_206F_200F_206D_202D_202B_202E = (uint)(~(~num4 + num3)); + if (rangeDecoder._206E_206B_202B_202C_200D_202B_206F_206D_200D_202C_200F_206C_202E_206D_202D_202E_206A_206A_206B_202A_202C_206D_200D_206D_206C_206D_206C_202D_200C_202E_202D_206C_202D_206A_200C_202D_206D_206C_200F_202A_202E < 16777216) + { + rangeDecoder._202C_206E_202B_202E_206E_200C_200D_202A_202B_206D_202E_202E_200E_200D_200B_200C_202C_200C_200C_206D_200B_202C_202B_202A_206D_206C_206B_206E_206F_200E_206F_206C_202C_206A_202B_202D_206F_206E_206F_202A_202E = (rangeDecoder._202C_206E_202B_202E_206E_200C_200D_202A_202B_206D_202E_202E_200E_200D_200B_200C_202C_200C_200C_206D_200B_202C_202B_202A_206D_206C_206B_206E_206F_200E_206F_206C_202C_206A_202B_202D_206F_206E_206F_202A_202E << 8) | (byte)rangeDecoder._202C_202E_202B_206F_200D_206D_200D_202E_202C_202E_206D_206A_202B_206B_202B_206C_200E_200E_206C_200B_202D_206A_206C_200C_200E_206C_206F_206E_202C_206C_200F_200E_206E_206E_206A_206B_200F_206E_200F_202A_202E.ReadByte(); + rangeDecoder._206E_206B_202B_202C_200D_202B_206F_206D_200D_202C_200F_206C_202E_206D_202D_202E_206A_206A_206B_202A_202C_206D_200D_206D_206C_206D_206C_202D_200C_202E_202D_206C_202D_206A_200C_202D_206D_206C_200F_202A_202E <<= 8; + } + return 1u; + } +} +internal struct _202A_202D_206C_202A_206F_206B_206A_206B_206A_200E_206D_206E_206D_206C_202B_202E_206D_206C_200E_206E_200B_200B_206C_206D_202C_200D_202E_202D_202A_206B_202A_206B_206C_200F_202B_202E_206D_202E_200E_206B_202E +{ + internal readonly _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E[] _206B_200E_200C_206F_200B_206A_206A_206F_200F_202C_206D_202C_206F_206A_206F_200F_206C_200F_206C_206A_200D_202B_200C_200B_202D_200B_202E_202D_202B_200B_200D_202E_206E_202E_200B_202C_202B_206C_206E_206F_202E; + + internal readonly int _200B_206D_202C_200E_206B_202D_206A_200F_202A_202B_206B_206C_202C_200F_206C_202E_206A_200E_206B_202E_202B_206C_200B_200F_206E_206F_202B_206B_206B_206F_200E_206C_206B_200E_206F_200B_202E_202D_206F_206C_202E; + + internal _202A_202D_206C_202A_206F_206B_206A_206B_206A_200E_206D_206E_206D_206C_202B_202E_206D_206C_200E_206E_200B_200B_206C_206D_202C_200D_202E_202D_202A_206B_202A_206B_206C_200F_202B_202E_206D_202E_200E_206B_202E(int numBitLevels) + { + _200B_206D_202C_200E_206B_202D_206A_200F_202A_202B_206B_206C_202C_200F_206C_202E_206A_200E_206B_202E_202B_206C_200B_200F_206E_206F_202B_206B_206B_206F_200E_206C_206B_200E_206F_200B_202E_202D_206F_206C_202E = numBitLevels; + int num = 31; + _206B_200E_200C_206F_200B_206A_206A_206F_200F_202C_206D_202C_206F_206A_206F_200F_206C_200F_206C_206A_200D_202B_200C_200B_202D_200B_202E_202D_202B_200B_200D_202E_206E_202E_200B_202C_202B_206C_206E_206F_202E = new _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E[1 << numBitLevels + num - (numBitLevels | num)]; + } + + internal void _202C_202A_202E_206A_206C_202E_206B_206B_200D_200E_200D_200B_206C_202E_202E_202E_200B_206A_206A_200E_202A_200E_200F_206D_206E_200E_206C_200D_202E_202C_200C_200F_206A_200E_202D_200E_200C_200D_202C_202C_202E() + { + uint num = 1u; + while (true) + { + long num2 = num; + int num3 = _200B_206D_202C_200E_206B_202D_206A_200F_202A_202B_206B_206C_202C_200F_206C_202E_206A_200E_206B_202E_202B_206C_200B_200F_206E_206F_202B_206B_206B_206F_200E_206C_206B_200E_206F_200B_202E_202D_206F_206C_202E; + int num4 = 31; + int num5 = num3; + if (num2 < 1 << (num5 | num4) - (num5 ^ num4)) + { + _206B_200E_200C_206F_200B_206A_206A_206F_200F_202C_206D_202C_206F_206A_206F_200F_206C_200F_206C_206A_200D_202B_200C_200B_202D_200B_202E_202D_202B_200B_200D_202E_206E_202E_200B_202C_202B_206C_206E_206F_202E[num]._202A_200C_206A_202C_206D_200E_200B_206C_202C_202E_206C_206E_202B_206A_202E_206A_202C_200C_206B_200E_206A_202E_206B_200F_206F_206A_200F_200F_202C_206E_202A_200F_206F_202E_200D_200D_206E_200B_200B_202D_202E(); + uint num6 = num; + num4 = 1; + num5 = (int)num6; + num = (uint)((num5 | num4) + (num5 & num4)); + continue; + } + break; + } + } + + internal uint _206A_200F_206F_202C_202C_200B_202A_206C_202E_200F_200F_202C_202D_206D_200C_206D_202C_206D_206F_202D_202A_202B_200D_200B_200E_202B_202B_206F_200F_206C_206C_200D_202A_206A_200E_200E_202C_206E_200F_206C_202E(_206B_206E_202C_202E_206C_200F_200C_200F_206D_202B_206F_202E_202E_202B_206B_202D_206E_206D_200B_202B_206B_200D_206A_200E_200B_200E_202A_206B_206C_206E_202B_200D_206C_202E_200D_206D_206A_206D_202B_202D_202E rangeDecoder) + { + uint num = 1u; + int num4; + int num5; + for (int num2 = _200B_206D_202C_200E_206B_202D_206A_200F_202A_202B_206B_206C_202C_200F_206C_202E_206A_200E_206B_202E_202B_206C_200B_200F_206E_206F_202B_206B_206B_206F_200E_206C_206B_200E_206F_200B_202E_202D_206F_206C_202E; num2 > 0; num2 = ~(~num5 + num4)) + { + num = (num << 1) + _206B_200E_200C_206F_200B_206A_206A_206F_200F_202C_206D_202C_206F_206A_206F_200F_206C_200F_206C_206A_200D_202B_200C_200B_202D_200B_202E_202D_202B_200B_200D_202E_206E_202E_200B_202C_202B_206C_206E_206F_202E[num]._202B_206A_206C_200D_206D_206E_206E_206E_202D_202C_206B_206F_206C_206D_200E_206B_202A_202E_206F_202B_206A_202B_202B_202A_206D_200F_200C_206A_200D_202A_202E_200E_206A_206A_200D_206F_206A_200C_200B_202D_202E(rangeDecoder); + int num3 = num2; + num4 = 1; + num5 = num3; + } + uint num6 = num; + int num7 = _200B_206D_202C_200E_206B_202D_206A_200F_202A_202B_206B_206C_202C_200F_206C_202E_206A_200E_206B_202E_202B_206C_200B_200F_206E_206F_202B_206B_206B_206F_200E_206C_206B_200E_206F_200B_202E_202D_206F_206C_202E; + num4 = 31; + num5 = num7; + num4 = 1 << num5 + num4 - (num5 | num4); + num5 = (int)num6; + return (uint)(~(~num5 + num4)); + } + + internal uint _200F_200B_202E_202A_206D_206D_202B_200B_200D_206C_200B_202A_200E_206F_202E_202C_202E_206C_200C_206A_202B_206A_206C_200C_206B_206E_206B_202C_202D_202D_206E_202C_202E_206F_202B_206A_200E_206E_206F_202C_202E(_206B_206E_202C_202E_206C_200F_200C_200F_206D_202B_206F_202E_202E_202B_206B_202D_206E_206D_200B_202B_206B_200D_206A_200E_200B_200E_202A_206B_206C_206E_202B_200D_206C_202E_200D_206D_206A_206D_202B_202D_202E rangeDecoder) + { + uint num = 1u; + uint num2 = 0u; + int num3 = 0; + while (num3 < _200B_206D_202C_200E_206B_202D_206A_200F_202A_202B_206B_206C_202C_200F_206C_202E_206A_200E_206B_202E_202B_206C_200B_200F_206E_206F_202B_206B_206B_206F_200E_206C_206B_200E_206F_200B_202E_202D_206F_206C_202E) + { + uint num4 = _206B_200E_200C_206F_200B_206A_206A_206F_200F_202C_206D_202C_206F_206A_206F_200F_206C_200F_206C_206A_200D_202B_200C_200B_202D_200B_202E_202D_202B_200B_200D_202E_206E_202E_200B_202C_202B_206C_206E_206F_202E[num]._202B_206A_206C_200D_206D_206E_206E_206E_202D_202C_206B_206F_206C_206D_200E_206B_202A_202E_206F_202B_206A_202B_202B_202A_206D_200F_200C_206A_200D_202A_202E_200E_206A_206A_200D_206F_206A_200C_200B_202D_202E(rangeDecoder); + num <<= 1; + uint num5 = num; + int num6 = (int)num4; + int num7 = (int)num5; + num = (uint)((num7 | num6) + (num7 & num6)); + uint num8 = num2; + int num9 = num3; + num6 = 31; + num7 = num9; + num6 = (int)(num4 << num7 + num6 - (num7 | num6)); + num7 = (int)num8; + num2 = (uint)((num7 & num6) + (num7 ^ num6)); + int num10 = num3; + num6 = 1; + num7 = num10; + int num11 = num7 ^ num6; + int num12 = num7 & num6; + num3 = num11 + (num12 + num12); + } + return num2; + } + + internal static uint _200E_202D_206A_200D_202C_202C_202A_202C_202E_206E_206F_202C_206C_202B_200B_206B_202E_200E_202C_206D_202D_200F_202C_206A_206F_202D_202C_206D_202B_206E_202B_206F_206D_200D_206F_200E_206C_200B_206E_202E(_202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E[] Models, uint startIndex, _206B_206E_202C_202E_206C_200F_200C_200F_206D_202B_206F_202E_202E_202B_206B_202D_206E_206D_200B_202B_206B_200D_206A_200E_200B_200E_202A_206B_206C_206E_202B_200D_206C_202E_200D_206D_206A_206D_202B_202D_202E rangeDecoder, int NumBitLevels) + { + uint num = 1u; + uint num2 = 0u; + int num3 = 0; + while (num3 < NumBitLevels) + { + int num4 = (int)num; + int num5 = (int)startIndex; + int num6 = num5 ^ num4; + int num7 = num5 & num4; + uint num8 = Models[num6 + (num7 + num7)]._202B_206A_206C_200D_206D_206E_206E_206E_202D_202C_206B_206F_206C_206D_200E_206B_202A_202E_206F_202B_206A_202B_202B_202A_206D_200F_200C_206A_200D_202A_202E_200E_206A_206A_200D_206F_206A_200C_200B_202D_202E(rangeDecoder); + num <<= 1; + uint num9 = num; + num4 = (int)num8; + num5 = (int)num9; + num = (uint)((num5 | num4) + (num5 & num4)); + uint num10 = num2; + int num11 = num3; + num4 = 31; + num5 = num11; + num4 = (int)(num8 << num5 + num4 - (num5 | num4)); + num5 = (int)num10; + num2 = (uint)(num5 + num4 - (num5 & num4)); + int num12 = num3; + num4 = 1; + num5 = num12; + int num13 = num5 ^ num4; + int num14 = num5 & num4; + num3 = num13 + (num14 + num14); + } + return num2; + } +} +internal class _206B_206E_202C_202E_206C_200F_200C_200F_206D_202B_206F_202E_202E_202B_206B_202D_206E_206D_200B_202B_206B_200D_206A_200E_200B_200E_202A_206B_206C_206E_202B_200D_206C_202E_200D_206D_206A_206D_202B_202D_202E +{ + internal uint _202C_206E_202B_202E_206E_200C_200D_202A_202B_206D_202E_202E_200E_200D_200B_200C_202C_200C_200C_206D_200B_202C_202B_202A_206D_206C_206B_206E_206F_200E_206F_206C_202C_206A_202B_202D_206F_206E_206F_202A_202E; + + internal uint _206E_206B_202B_202C_200D_202B_206F_206D_200D_202C_200F_206C_202E_206D_202D_202E_206A_206A_206B_202A_202C_206D_200D_206D_206C_206D_206C_202D_200C_202E_202D_206C_202D_206A_200C_202D_206D_206C_200F_202A_202E; + + internal Stream _202C_202E_202B_206F_200D_206D_200D_202E_202C_202E_206D_206A_202B_206B_202B_206C_200E_200E_206C_200B_202D_206A_206C_200C_200E_206C_206F_206E_202C_206C_200F_200E_206E_206E_206A_206B_200F_206E_200F_202A_202E; + + internal void _206D_202E_202A_200F_200C_202C_202D_202B_202B_206F_202E_206A_202A_200F_200E_202B_206E_200B_206B_202B_202B_206E_206A_202C_206E_202B_206F_206D_202C_206B_206F_206B_200B_206D_206F_206E_206B_206A_206F_200C_202E(Stream stream) + { + _202C_202E_202B_206F_200D_206D_200D_202E_202C_202E_206D_206A_202B_206B_202B_206C_200E_200E_206C_200B_202D_206A_206C_200C_200E_206C_206F_206E_202C_206C_200F_200E_206E_206E_206A_206B_200F_206E_200F_202A_202E = stream; + _202C_206E_202B_202E_206E_200C_200D_202A_202B_206D_202E_202E_200E_200D_200B_200C_202C_200C_200C_206D_200B_202C_202B_202A_206D_206C_206B_206E_206F_200E_206F_206C_202C_206A_202B_202D_206F_206E_206F_202A_202E = 0u; + _206E_206B_202B_202C_200D_202B_206F_206D_200D_202C_200F_206C_202E_206D_202D_202E_206A_206A_206B_202A_202C_206D_200D_206D_206C_206D_206C_202D_200C_202E_202D_206C_202D_206A_200C_202D_206D_206C_200F_202A_202E = uint.MaxValue; + int num = 0; + while (num < 5) + { + _202C_206E_202B_202E_206E_200C_200D_202A_202B_206D_202E_202E_200E_200D_200B_200C_202C_200C_200C_206D_200B_202C_202B_202A_206D_206C_206B_206E_206F_200E_206F_206C_202C_206A_202B_202D_206F_206E_206F_202A_202E = (_202C_206E_202B_202E_206E_200C_200D_202A_202B_206D_202E_202E_200E_200D_200B_200C_202C_200C_200C_206D_200B_202C_202B_202A_206D_206C_206B_206E_206F_200E_206F_206C_202C_206A_202B_202D_206F_206E_206F_202A_202E << 8) | (byte)_202C_202E_202B_206F_200D_206D_200D_202E_202C_202E_206D_206A_202B_206B_202B_206C_200E_200E_206C_200B_202D_206A_206C_200C_200E_206C_206F_206E_202C_206C_200F_200E_206E_206E_206A_206B_200F_206E_200F_202A_202E.ReadByte(); + int num2 = num; + int num3 = 1; + int num4 = num2; + num = (num4 | num3) + (num4 & num3); + } + } + + internal void _200F_202A_202A_202A_206B_202C_206E_200C_200F_206F_202B_206B_206D_206B_200C_200E_206C_202B_206F_206B_202C_206F_206E_202A_202C_206E_206B_202B_202D_202C_206F_206D_206A_202E_200B_200C_200B_200C_202B_206A_202E() + { + _202C_202E_202B_206F_200D_206D_200D_202E_202C_202E_206D_206A_202B_206B_202B_206C_200E_200E_206C_200B_202D_206A_206C_200C_200E_206C_206F_206E_202C_206C_200F_200E_206E_206E_206A_206B_200F_206E_200F_202A_202E = null; + } + + internal void _202A_202E_200E_200B_200C_206C_202E_206C_200E_202E_200D_200D_202C_206F_200F_200F_202A_202A_200E_200F_206A_202B_200E_206B_206C_200F_206D_200D_206A_202A_206C_200C_202A_202E_206E_206D_202D_202A_202B_200D_202E() + { + while (_206E_206B_202B_202C_200D_202B_206F_206D_200D_202C_200F_206C_202E_206D_202D_202E_206A_206A_206B_202A_202C_206D_200D_206D_206C_206D_206C_202D_200C_202E_202D_206C_202D_206A_200C_202D_206D_206C_200F_202A_202E < 16777216) + { + _202C_206E_202B_202E_206E_200C_200D_202A_202B_206D_202E_202E_200E_200D_200B_200C_202C_200C_200C_206D_200B_202C_202B_202A_206D_206C_206B_206E_206F_200E_206F_206C_202C_206A_202B_202D_206F_206E_206F_202A_202E = (_202C_206E_202B_202E_206E_200C_200D_202A_202B_206D_202E_202E_200E_200D_200B_200C_202C_200C_200C_206D_200B_202C_202B_202A_206D_206C_206B_206E_206F_200E_206F_206C_202C_206A_202B_202D_206F_206E_206F_202A_202E << 8) | (byte)_202C_202E_202B_206F_200D_206D_200D_202E_202C_202E_206D_206A_202B_206B_202B_206C_200E_200E_206C_200B_202D_206A_206C_200C_200E_206C_206F_206E_202C_206C_200F_200E_206E_206E_206A_206B_200F_206E_200F_202A_202E.ReadByte(); + _206E_206B_202B_202C_200D_202B_206F_206D_200D_202C_200F_206C_202E_206D_202D_202E_206A_206A_206B_202A_202C_206D_200D_206D_206C_206D_206C_202D_200C_202E_202D_206C_202D_206A_200C_202D_206D_206C_200F_202A_202E <<= 8; + } + } + + internal uint _206D_200E_202B_200B_206C_206F_202C_206F_206F_206A_202B_202E_200B_202E_200B_206A_200C_202D_202B_206B_206B_206A_202A_206C_206C_202A_202A_206B_206D_202D_206B_206B_206F_202B_206A_200D_202D_200C_202C_202D_202E(int numTotalBits) + { + uint num = _206E_206B_202B_202C_200D_202B_206F_206D_200D_202C_200F_206C_202E_206D_202D_202E_206A_206A_206B_202A_202C_206D_200D_206D_206C_206D_206C_202D_200C_202E_202D_206C_202D_206A_200C_202D_206D_206C_200F_202A_202E; + uint num2 = _202C_206E_202B_202E_206E_200C_200D_202A_202B_206D_202E_202E_200E_200D_200B_200C_202C_200C_200C_206D_200B_202C_202B_202A_206D_206C_206B_206E_206F_200E_206F_206C_202C_206A_202B_202D_206F_206E_206F_202A_202E; + uint num3 = 0u; + int num4 = numTotalBits; + while (num4 > 0) + { + num >>= 1; + uint num5 = num2; + int num6 = (int)num; + int num7 = (int)num5; + uint num8 = (uint)(~(~num7 + num6)) >> 31; + uint num9 = num2; + uint num10 = num; + num6 = 1; + num7 = (int)num8; + num6 = ~(~num7 + num6); + num7 = (int)num10; + num6 = num7 + num6 - (num7 | num6); + num7 = (int)num9; + num2 = (uint)(~(~num7 + num6)); + uint num11 = num3 << 1; + num6 = (int)num8; + num7 = 1; + num6 = ~(~num7 + num6); + num7 = (int)num11; + num3 = (uint)((num7 & num6) + (num7 ^ num6)); + if (num < 16777216) + { + num2 = (num2 << 8) | (byte)_202C_202E_202B_206F_200D_206D_200D_202E_202C_202E_206D_206A_202B_206B_202B_206C_200E_200E_206C_200B_202D_206A_206C_200C_200E_206C_206F_206E_202C_206C_200F_200E_206E_206E_206A_206B_200F_206E_200F_202A_202E.ReadByte(); + num <<= 8; + } + int num12 = num4; + num6 = 1; + num7 = num12; + num4 = ~(~num7 + num6); + } + _206E_206B_202B_202C_200D_202B_206F_206D_200D_202C_200F_206C_202E_206D_202D_202E_206A_206A_206B_202A_202C_206D_200D_206D_206C_206D_206C_202D_200C_202E_202D_206C_202D_206A_200C_202D_206D_206C_200F_202A_202E = num; + _202C_206E_202B_202E_206E_200C_200D_202A_202B_206D_202E_202E_200E_200D_200B_200C_202C_200C_200C_206D_200B_202C_202B_202A_206D_206C_206B_206E_206F_200E_206F_206C_202C_206A_202B_202D_206F_206E_206F_202A_202E = num2; + return num3; + } + + internal _206B_206E_202C_202E_206C_200F_200C_200F_206D_202B_206F_202E_202E_202B_206B_202D_206E_206D_200B_202B_206B_200D_206A_200E_200B_200E_202A_206B_206C_206E_202B_200D_206C_202E_200D_206D_206A_206D_202B_202D_202E() + { + } +} +internal class _202A_202B_200E_202B_200D_200D_202C_206D_206A_200F_202A_206E_200D_200D_206E_202B_206D_202C_206A_200C_206D_206E_202B_206E_200B_200F_200D_202D_202D_200C_206A_206C_202C_206C_206B_200E_202C_202A_200C_202D_202E +{ + internal class _202A_202C_206D_200E_202C_200C_206F_202E_200B_202E_206E_206A_206E_206C_200C_202C_206B_200D_206F_206B_202C_206D_202D_200F_200D_206F_200B_202A_202C_200D_202C_206A_202A_202D_202B_200D_206F_202B_200D_206B_202E + { + internal readonly _202A_202D_206C_202A_206F_206B_206A_206B_206A_200E_206D_206E_206D_206C_202B_202E_206D_206C_200E_206E_200B_200B_206C_206D_202C_200D_202E_202D_202A_206B_202A_206B_206C_200F_202B_202E_206D_202E_200E_206B_202E[] _202A_206A_202E_206E_202B_200E_202C_200B_200E_206D_206E_200B_200C_206D_206E_200B_200E_200D_202B_202E_202B_200D_206F_206A_200B_200E_202D_202E_206B_202B_206A_202A_202C_202E_202B_206F_206E_202E_200B_206D_202E = new _202A_202D_206C_202A_206F_206B_206A_206B_206A_200E_206D_206E_206D_206C_202B_202E_206D_206C_200E_206E_200B_200B_206C_206D_202C_200D_202E_202D_202A_206B_202A_206B_206C_200F_202B_202E_206D_202E_200E_206B_202E[16]; + + internal readonly _202A_202D_206C_202A_206F_206B_206A_206B_206A_200E_206D_206E_206D_206C_202B_202E_206D_206C_200E_206E_200B_200B_206C_206D_202C_200D_202E_202D_202A_206B_202A_206B_206C_200F_202B_202E_206D_202E_200E_206B_202E[] _202A_202A_200D_202C_206D_202A_202E_200D_200C_206B_206B_202D_206B_200E_202E_200D_206E_202B_202B_200C_202D_206F_200D_202C_206A_202A_202A_206D_200C_206C_206F_206E_200B_200F_200F_200C_206A_206B_200F_202E = new _202A_202D_206C_202A_206F_206B_206A_206B_206A_200E_206D_206E_206D_206C_202B_202E_206D_206C_200E_206E_200B_200B_206C_206D_202C_200D_202E_202D_202A_206B_202A_206B_206C_200F_202B_202E_206D_202E_200E_206B_202E[16]; + + internal _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E _200E_200B_202A_206F_202D_206F_206C_200F_206D_202E_202C_202B_206E_206C_202B_202C_206F_206C_202B_200E_200B_200E_202A_200C_200C_206B_206D_202A_200F_202D_202D_206E_200C_200B_206E_200D_202C_200D_206B_206A_202E; + + internal _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E _200C_202B_206F_200B_200E_206E_202E_206D_200F_206A_202A_202E_206C_206C_206B_200E_202D_206D_206A_206A_206C_206E_206C_202A_202B_202C_206B_202B_206D_202C_206E_206F_202E_202D_200C_202A_200B_200D_202C_206A_202E; + + internal _202A_202D_206C_202A_206F_206B_206A_206B_206A_200E_206D_206E_206D_206C_202B_202E_206D_206C_200E_206E_200B_200B_206C_206D_202C_200D_202E_202D_202A_206B_202A_206B_206C_200F_202B_202E_206D_202E_200E_206B_202E _206C_200E_202C_200B_206C_202D_202C_202E_200F_206B_202D_202E_206A_206F_200F_206B_200B_202A_206F_202D_202D_200B_206C_206B_202D_206F_202B_206B_206A_200D_200F_200D_202D_200B_200C_202A_202B_206B_206E_200E_202E = new _202A_202D_206C_202A_206F_206B_206A_206B_206A_200E_206D_206E_206D_206C_202B_202E_206D_206C_200E_206E_200B_200B_206C_206D_202C_200D_202E_202D_202A_206B_202A_206B_206C_200F_202B_202E_206D_202E_200E_206B_202E(8); + + internal uint _200D_206B_202B_202C_200C_206B_202E_202C_200B_200C_202C_202A_206B_202B_202A_200B_200D_206B_200B_206C_202E_200B_206B_202B_206C_206A_200E_200D_206C_202E_202E_202D_206A_206A_202B_202A_206F_200F_200B_200D_202E; + + internal void _202E_206D_200C_200C_200E_200B_206E_200C_202E_206D_202B_200B_200B_202E_200F_200E_202E_202B_202A_202D_206E_206B_200D_200D_206E_206D_200D_206A_206F_200B_202B_200F_206C_200E_202C_200F_200E_202A_200D_206B_202E(uint numPosStates) + { + uint num = _200D_206B_202B_202C_200C_206B_202E_202C_200B_200C_202C_202A_206B_202B_202A_200B_200D_206B_200B_206C_202E_200B_206B_202B_206C_206A_200E_200D_206C_202E_202E_202D_206A_206A_202B_202A_206F_200F_200B_200D_202E; + while (num < numPosStates) + { + _202A_206A_202E_206E_202B_200E_202C_200B_200E_206D_206E_200B_200C_206D_206E_200B_200E_200D_202B_202E_202B_200D_206F_206A_200B_200E_202D_202E_206B_202B_206A_202A_202C_202E_202B_206F_206E_202E_200B_206D_202E[num] = new _202A_202D_206C_202A_206F_206B_206A_206B_206A_200E_206D_206E_206D_206C_202B_202E_206D_206C_200E_206E_200B_200B_206C_206D_202C_200D_202E_202D_202A_206B_202A_206B_206C_200F_202B_202E_206D_202E_200E_206B_202E(3); + _202A_202A_200D_202C_206D_202A_202E_200D_200C_206B_206B_202D_206B_200E_202E_200D_206E_202B_202B_200C_202D_206F_200D_202C_206A_202A_202A_206D_200C_206C_206F_206E_200B_200F_200F_200C_206A_206B_200F_202E[num] = new _202A_202D_206C_202A_206F_206B_206A_206B_206A_200E_206D_206E_206D_206C_202B_202E_206D_206C_200E_206E_200B_200B_206C_206D_202C_200D_202E_202D_202A_206B_202A_206B_206C_200F_202B_202E_206D_202E_200E_206B_202E(3); + uint num2 = num; + int num3 = 1; + int num4 = (int)num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = (uint)(num5 + (num6 + num6)); + } + _200D_206B_202B_202C_200C_206B_202E_202C_200B_200C_202C_202A_206B_202B_202A_200B_200D_206B_200B_206C_202E_200B_206B_202B_206C_206A_200E_200D_206C_202E_202E_202D_206A_206A_202B_202A_206F_200F_200B_200D_202E = numPosStates; + } + + internal void _200D_200B_202B_206A_200B_202E_206E_200C_206F_200F_200D_200C_202A_206A_206E_206E_206F_206F_206E_202C_200C_202A_200B_200D_200B_200D_200F_202C_202A_206D_200B_206F_206B_200E_202C_200B_202D_202A_206D_206C_202E() + { + _200E_200B_202A_206F_202D_206F_206C_200F_206D_202E_202C_202B_206E_206C_202B_202C_206F_206C_202B_200E_200B_200E_202A_200C_200C_206B_206D_202A_200F_202D_202D_206E_200C_200B_206E_200D_202C_200D_206B_206A_202E._202A_200C_206A_202C_206D_200E_200B_206C_202C_202E_206C_206E_202B_206A_202E_206A_202C_200C_206B_200E_206A_202E_206B_200F_206F_206A_200F_200F_202C_206E_202A_200F_206F_202E_200D_200D_206E_200B_200B_202D_202E(); + uint num = 0u; + while (num < _200D_206B_202B_202C_200C_206B_202E_202C_200B_200C_202C_202A_206B_202B_202A_200B_200D_206B_200B_206C_202E_200B_206B_202B_206C_206A_200E_200D_206C_202E_202E_202D_206A_206A_202B_202A_206F_200F_200B_200D_202E) + { + _202A_206A_202E_206E_202B_200E_202C_200B_200E_206D_206E_200B_200C_206D_206E_200B_200E_200D_202B_202E_202B_200D_206F_206A_200B_200E_202D_202E_206B_202B_206A_202A_202C_202E_202B_206F_206E_202E_200B_206D_202E[num]._202C_202A_202E_206A_206C_202E_206B_206B_200D_200E_200D_200B_206C_202E_202E_202E_200B_206A_206A_200E_202A_200E_200F_206D_206E_200E_206C_200D_202E_202C_200C_200F_206A_200E_202D_200E_200C_200D_202C_202C_202E(); + _202A_202A_200D_202C_206D_202A_202E_200D_200C_206B_206B_202D_206B_200E_202E_200D_206E_202B_202B_200C_202D_206F_200D_202C_206A_202A_202A_206D_200C_206C_206F_206E_200B_200F_200F_200C_206A_206B_200F_202E[num]._202C_202A_202E_206A_206C_202E_206B_206B_200D_200E_200D_200B_206C_202E_202E_202E_200B_206A_206A_200E_202A_200E_200F_206D_206E_200E_206C_200D_202E_202C_200C_200F_206A_200E_202D_200E_200C_200D_202C_202C_202E(); + uint num2 = num; + int num3 = 1; + int num4 = (int)num2; + num = (uint)((num4 | num3) + (num4 & num3)); + } + _200C_202B_206F_200B_200E_206E_202E_206D_200F_206A_202A_202E_206C_206C_206B_200E_202D_206D_206A_206A_206C_206E_206C_202A_202B_202C_206B_202B_206D_202C_206E_206F_202E_202D_200C_202A_200B_200D_202C_206A_202E._202A_200C_206A_202C_206D_200E_200B_206C_202C_202E_206C_206E_202B_206A_202E_206A_202C_200C_206B_200E_206A_202E_206B_200F_206F_206A_200F_200F_202C_206E_202A_200F_206F_202E_200D_200D_206E_200B_200B_202D_202E(); + _206C_200E_202C_200B_206C_202D_202C_202E_200F_206B_202D_202E_206A_206F_200F_206B_200B_202A_206F_202D_202D_200B_206C_206B_202D_206F_202B_206B_206A_200D_200F_200D_202D_200B_200C_202A_202B_206B_206E_200E_202E._202C_202A_202E_206A_206C_202E_206B_206B_200D_200E_200D_200B_206C_202E_202E_202E_200B_206A_206A_200E_202A_200E_200F_206D_206E_200E_206C_200D_202E_202C_200C_200F_206A_200E_202D_200E_200C_200D_202C_202C_202E(); + } + + internal uint _206A_200B_206C_206C_202C_200D_202A_206A_206A_202D_206F_206F_202A_200F_206C_206C_206A_206B_202A_200F_206E_206D_202A_202A_200D_202C_202B_202C_200B_200B_200E_202D_200C_206B_206F_206F_202C_206C_206A_200D_202E(_206B_206E_202C_202E_206C_200F_200C_200F_206D_202B_206F_202E_202E_202B_206B_202D_206E_206D_200B_202B_206B_200D_206A_200E_200B_200E_202A_206B_206C_206E_202B_200D_206C_202E_200D_206D_206A_206D_202B_202D_202E rangeDecoder, uint posState) + { + if (_200E_200B_202A_206F_202D_206F_206C_200F_206D_202E_202C_202B_206E_206C_202B_202C_206F_206C_202B_200E_200B_200E_202A_200C_200C_206B_206D_202A_200F_202D_202D_206E_200C_200B_206E_200D_202C_200D_206B_206A_202E._202B_206A_206C_200D_206D_206E_206E_206E_202D_202C_206B_206F_206C_206D_200E_206B_202A_202E_206F_202B_206A_202B_202B_202A_206D_200F_200C_206A_200D_202A_202E_200E_206A_206A_200D_206F_206A_200C_200B_202D_202E(rangeDecoder) == 0) + { + return _202A_206A_202E_206E_202B_200E_202C_200B_200E_206D_206E_200B_200C_206D_206E_200B_200E_200D_202B_202E_202B_200D_206F_206A_200B_200E_202D_202E_206B_202B_206A_202A_202C_202E_202B_206F_206E_202E_200B_206D_202E[posState]._206A_200F_206F_202C_202C_200B_202A_206C_202E_200F_200F_202C_202D_206D_200C_206D_202C_206D_206F_202D_202A_202B_200D_200B_200E_202B_202B_206F_200F_206C_206C_200D_202A_206A_200E_200E_202C_206E_200F_206C_202E(rangeDecoder); + } + uint num = 8u; + if (_200C_202B_206F_200B_200E_206E_202E_206D_200F_206A_202A_202E_206C_206C_206B_200E_202D_206D_206A_206A_206C_206E_206C_202A_202B_202C_206B_202B_206D_202C_206E_206F_202E_202D_200C_202A_200B_200D_202C_206A_202E._202B_206A_206C_200D_206D_206E_206E_206E_202D_202C_206B_206F_206C_206D_200E_206B_202A_202E_206F_202B_206A_202B_202B_202A_206D_200F_200C_206A_200D_202A_202E_200E_206A_206A_200D_206F_206A_200C_200B_202D_202E(rangeDecoder) == 0) + { + return num + _202A_202A_200D_202C_206D_202A_202E_200D_200C_206B_206B_202D_206B_200E_202E_200D_206E_202B_202B_200C_202D_206F_200D_202C_206A_202A_202A_206D_200C_206C_206F_206E_200B_200F_200F_200C_206A_206B_200F_202E[posState]._206A_200F_206F_202C_202C_200B_202A_206C_202E_200F_200F_202C_202D_206D_200C_206D_202C_206D_206F_202D_202A_202B_200D_200B_200E_202B_202B_206F_200F_206C_206C_200D_202A_206A_200E_200E_202C_206E_200F_206C_202E(rangeDecoder); + } + uint num2 = num; + int num3 = 8; + int num4 = (int)num2; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = (uint)(num5 + (num6 + num6)); + return num + _206C_200E_202C_200B_206C_202D_202C_202E_200F_206B_202D_202E_206A_206F_200F_206B_200B_202A_206F_202D_202D_200B_206C_206B_202D_206F_202B_206B_206A_200D_200F_200D_202D_200B_200C_202A_202B_206B_206E_200E_202E._206A_200F_206F_202C_202C_200B_202A_206C_202E_200F_200F_202C_202D_206D_200C_206D_202C_206D_206F_202D_202A_202B_200D_200B_200E_202B_202B_206F_200F_206C_206C_200D_202A_206A_200E_200E_202C_206E_200F_206C_202E(rangeDecoder); + } + + internal _202A_202C_206D_200E_202C_200C_206F_202E_200B_202E_206E_206A_206E_206C_200C_202C_206B_200D_206F_206B_202C_206D_202D_200F_200D_206F_200B_202A_202C_200D_202C_206A_202A_202D_202B_200D_206F_202B_200D_206B_202E() + { + } + } + + internal class _202B_206F_206A_200E_202C_202D_202B_200B_200D_200B_206C_206E_206C_200E_206A_200E_206C_202E_202B_206F_206E_206A_200C_206C_200D_200F_200E_202A_200F_200D_206C_206A_202B_202E_202E_200D_202A_206B_200F_206D_202E + { + internal struct _202B_200C_200D_206E_200C_200E_200C_202C_206B_206F_200C_206E_206C_200E_202D_200E_200F_202A_200F_206D_202D_206A_206D_202B_200F_206C_202A_206D_200E_202B_200E_200D_202C_206A_200F_206B_206B_206D_202C_200E_202E + { + internal _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E[] _202C_200B_202D_202A_200B_206C_202D_206B_202C_200E_200B_202B_200F_200E_200E_202B_202A_206A_206E_200B_206E_206B_202A_202B_200E_202A_202A_200B_202B_206B_202C_206A_206C_206F_200E_200B_202E_206F_200C_202A_202E; + + internal void _206A_206C_200D_200D_200F_206E_206D_200B_206F_200E_206C_206B_206D_206E_206B_206E_206F_202B_206D_206C_206D_202C_200E_206F_202A_202E_206E_200D_202C_202E_206F_202A_206C_202B_202B_200C_200E_200C_202B_206F_202E() + { + _202C_200B_202D_202A_200B_206C_202D_206B_202C_200E_200B_202B_200F_200E_200E_202B_202A_206A_206E_200B_206E_206B_202A_202B_200E_202A_202A_200B_202B_206B_202C_206A_206C_206F_200E_200B_202E_206F_200C_202A_202E = new _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E[768]; + } + + internal void _206A_206A_206D_202E_202B_200D_200E_202B_206B_206A_206A_202E_200E_202A_206D_200F_200D_206C_206A_200F_200B_206C_200D_206A_206C_206E_200D_206C_200E_200F_200F_200B_202D_200B_200C_202E_202A_200C_202C_206E_202E() + { + int num = 0; + while (num < 768) + { + _202C_200B_202D_202A_200B_206C_202D_206B_202C_200E_200B_202B_200F_200E_200E_202B_202A_206A_206E_200B_206E_206B_202A_202B_200E_202A_202A_200B_202B_206B_202C_206A_206C_206F_200E_200B_202E_206F_200C_202A_202E[num]._202A_200C_206A_202C_206D_200E_200B_206C_202C_202E_206C_206E_202B_206A_202E_206A_202C_200C_206B_200E_206A_202E_206B_200F_206F_206A_200F_200F_202C_206E_202A_200F_206F_202E_200D_200D_206E_200B_200B_202D_202E(); + int num2 = num; + int num3 = 1; + int num4 = num2; + num = (num4 | num3) + (num4 & num3); + } + } + + internal byte _206C_200E_200D_202B_200C_200D_206D_202D_200F_200D_200E_200D_206E_202C_200E_200E_202E_206D_206A_202E_202C_202B_206F_200C_206A_202D_200B_206D_200B_206C_202E_202B_200B_200E_200B_202D_202D_200F_200F_202C_202E(_206B_206E_202C_202E_206C_200F_200C_200F_206D_202B_206F_202E_202E_202B_206B_202D_206E_206D_200B_202B_206B_200D_206A_200E_200B_200E_202A_206B_206C_206E_202B_200D_206C_202E_200D_206D_206A_206D_202B_202D_202E rangeDecoder) + { + uint num = 1u; + do + { + num = (num << 1) | _202C_200B_202D_202A_200B_206C_202D_206B_202C_200E_200B_202B_200F_200E_200E_202B_202A_206A_206E_200B_206E_206B_202A_202B_200E_202A_202A_200B_202B_206B_202C_206A_206C_206F_200E_200B_202E_206F_200C_202A_202E[num]._202B_206A_206C_200D_206D_206E_206E_206E_202D_202C_206B_206F_206C_206D_200E_206B_202A_202E_206F_202B_206A_202B_202B_202A_206D_200F_200C_206A_200D_202A_202E_200E_206A_206A_200D_206F_206A_200C_200B_202D_202E(rangeDecoder); + } + while (num < 256); + return (byte)num; + } + + internal byte _206F_206B_202E_202A_200F_206A_206A_206B_206C_206C_200C_200D_202C_200B_202D_206B_200E_202C_206C_200E_206F_202D_206E_202B_200B_200D_206D_202D_206B_206E_206A_202A_206A_206A_200E_206B_206D_200D_202C_206E_202E(_206B_206E_202C_202E_206C_200F_200C_200F_206D_202B_206F_202E_202E_202B_206B_202D_206E_206D_200B_202B_206B_200D_206A_200E_200B_200E_202A_206B_206C_206E_202B_200D_206C_202E_200D_206D_206A_206D_202B_202D_202E rangeDecoder, byte matchByte) + { + uint num = 1u; + do + { + int num2 = matchByte >> 7; + int num3 = 1; + int num4 = num2; + uint num5 = (uint)((num4 | num3) - (num4 ^ num3)); + matchByte <<= 1; + _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E[] array = _202C_200B_202D_202A_200B_206C_202D_206B_202C_200E_200B_202B_200F_200E_200E_202B_202A_206A_206E_200B_206E_206B_202A_202B_200E_202A_202A_200B_202B_206B_202C_206A_206C_206F_200E_200B_202E_206F_200C_202A_202E; + num3 = (int)num5; + num4 = 1; + int num6 = num4 ^ num3; + int num7 = num4 & num3; + int num8 = num6 + (num7 + num7) << 8; + num3 = (int)num; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + uint num11 = array[num9 + (num10 + num10)]._202B_206A_206C_200D_206D_206E_206E_206E_202D_202C_206B_206F_206C_206D_200E_206B_202A_202E_206F_202B_206A_202B_202B_202A_206D_200F_200C_206A_200D_202A_202E_200E_206A_206A_200D_206F_206A_200C_200B_202D_202E(rangeDecoder); + uint num12 = num << 1; + num3 = (int)num11; + num4 = (int)num12; + num = (uint)(num4 + num3 - (num4 & num3)); + if (num5 != num11) + { + while (num < 256) + { + num = (num << 1) | _202C_200B_202D_202A_200B_206C_202D_206B_202C_200E_200B_202B_200F_200E_200E_202B_202A_206A_206E_200B_206E_206B_202A_202B_200E_202A_202A_200B_202B_206B_202C_206A_206C_206F_200E_200B_202E_206F_200C_202A_202E[num]._202B_206A_206C_200D_206D_206E_206E_206E_202D_202C_206B_206F_206C_206D_200E_206B_202A_202E_206F_202B_206A_202B_202B_202A_206D_200F_200C_206A_200D_202A_202E_200E_206A_206A_200D_206F_206A_200C_200B_202D_202E(rangeDecoder); + } + break; + } + } + while (num < 256); + return (byte)num; + } + } + + internal _202B_200C_200D_206E_200C_200E_200C_202C_206B_206F_200C_206E_206C_200E_202D_200E_200F_202A_200F_206D_202D_206A_206D_202B_200F_206C_202A_206D_200E_202B_200E_200D_202C_206A_200F_206B_206B_206D_202C_200E_202E[] _200C_206B_202B_206F_206C_206A_200B_206E_206D_206C_202E_206A_206B_202A_206E_200C_206C_202E_200D_206F_202B_206D_206F_206D_202A_200E_202B_206E_206C_200C_202E_206D_202C_202C_202E_206C_200C_206B_200C_200E_202E; + + internal int _206E_206B_200E_206B_200D_202B_202D_206D_206D_202E_200D_206B_206A_200F_200D_200D_202E_202E_206E_202A_202C_206A_206B_206C_202B_202D_200F_200E_200D_202A_200B_202C_202E_200C_206F_202D_200C_202C_206A_202C_202E; + + internal int _202B_206D_200C_206F_200D_206C_202D_206C_200F_202C_202C_200C_202C_206C_200F_206C_202B_202C_202A_202D_202D_206F_202A_206F_202D_202B_200C_200E_206B_200D_200F_206A_202A_202D_202C_206E_202E_200E_200C_202C_202E; + + internal uint _206F_206B_206F_200E_200F_206F_202D_200F_200D_202A_206B_200F_206E_200B_206F_202C_200C_206F_200F_200B_206B_202E_200D_200C_202B_200C_206C_206A_202A_202B_202D_202A_200F_202C_200C_202D_202A_206B_206E_206F_202E; + + internal void _202A_206D_206B_206A_202B_202D_202B_202B_200B_200C_200E_200F_202C_202C_200B_206D_206E_200E_200F_200C_206C_206D_200C_202A_206E_200B_202A_200F_202D_206E_200F_206E_206E_200B_200E_206C_202C_200C_206B_200D_202E(int numPosBits, int numPrevBits) + { + if (_200C_206B_202B_206F_206C_206A_200B_206E_206D_206C_202E_206A_206B_202A_206E_200C_206C_202E_200D_206F_202B_206D_206F_206D_202A_200E_202B_206E_206C_200C_202E_206D_202C_202C_202E_206C_200C_206B_200C_200E_202E == null || _202B_206D_200C_206F_200D_206C_202D_206C_200F_202C_202C_200C_202C_206C_200F_206C_202B_202C_202A_202D_202D_206F_202A_206F_202D_202B_200C_200E_206B_200D_200F_206A_202A_202D_202C_206E_202E_200E_200C_202C_202E != numPrevBits || _206E_206B_200E_206B_200D_202B_202D_206D_206D_202E_200D_206B_206A_200F_200D_200D_202E_202E_206E_202A_202C_206A_206B_206C_202B_202D_200F_200E_200D_202A_200B_202C_202E_200C_206F_202D_200C_202C_206A_202C_202E != numPosBits) + { + _206E_206B_200E_206B_200D_202B_202D_206D_206D_202E_200D_206B_206A_200F_200D_200D_202E_202E_206E_202A_202C_206A_206B_206C_202B_202D_200F_200E_200D_202A_200B_202C_202E_200C_206F_202D_200C_202C_206A_202C_202E = numPosBits; + int num = 31; + int num2 = numPosBits; + int num3 = 1 << (num2 | num) - (num2 ^ num); + num = 1; + num2 = num3; + _206F_206B_206F_200E_200F_206F_202D_200F_200D_202A_206B_200F_206E_200B_206F_202C_200C_206F_200F_200B_206B_202E_200D_200C_202B_200C_206C_206A_202A_202B_202D_202A_200F_202C_200C_202D_202A_206B_206E_206F_202E = (uint)(~(~num2 + num)); + _202B_206D_200C_206F_200D_206C_202D_206C_200F_202C_202C_200C_202C_206C_200F_206C_202B_202C_202A_202D_202D_206F_202A_206F_202D_202B_200C_200E_206B_200D_200F_206A_202A_202D_202C_206E_202E_200E_200C_202C_202E = numPrevBits; + int num4 = _202B_206D_200C_206F_200D_206C_202D_206C_200F_202C_202C_200C_202C_206C_200F_206C_202B_202C_202A_202D_202D_206F_202A_206F_202D_202B_200C_200E_206B_200D_200F_206A_202A_202D_202C_206E_202E_200E_200C_202C_202E; + num = _206E_206B_200E_206B_200D_202B_202D_206D_206D_202E_200D_206B_206A_200F_200D_200D_202E_202E_206E_202A_202C_206A_206B_206C_202B_202D_200F_200E_200D_202A_200B_202C_202E_200C_206F_202D_200C_202C_206A_202C_202E; + num2 = num4; + int num5 = num2 ^ num; + int num6 = num2 & num; + int num7 = num5 + (num6 + num6); + num = 31; + num2 = num7; + uint num8 = (uint)(1 << (num2 | num) - (num2 ^ num)); + _200C_206B_202B_206F_206C_206A_200B_206E_206D_206C_202E_206A_206B_202A_206E_200C_206C_202E_200D_206F_202B_206D_206F_206D_202A_200E_202B_206E_206C_200C_202E_206D_202C_202C_202E_206C_200C_206B_200C_200E_202E = new _202B_200C_200D_206E_200C_200E_200C_202C_206B_206F_200C_206E_206C_200E_202D_200E_200F_202A_200F_206D_202D_206A_206D_202B_200F_206C_202A_206D_200E_202B_200E_200D_202C_206A_200F_206B_206B_206D_202C_200E_202E[num8]; + for (uint num9 = 0u; num9 < num8; num9 = (uint)((num2 | num) + (num2 & num))) + { + _200C_206B_202B_206F_206C_206A_200B_206E_206D_206C_202E_206A_206B_202A_206E_200C_206C_202E_200D_206F_202B_206D_206F_206D_202A_200E_202B_206E_206C_200C_202E_206D_202C_202C_202E_206C_200C_206B_200C_200E_202E[num9]._206A_206C_200D_200D_200F_206E_206D_200B_206F_200E_206C_206B_206D_206E_206B_206E_206F_202B_206D_206C_206D_202C_200E_206F_202A_202E_206E_200D_202C_202E_206F_202A_206C_202B_202B_200C_200E_200C_202B_206F_202E(); + uint num10 = num9; + num = 1; + num2 = (int)num10; + } + } + } + + internal void _202C_202E_200D_200C_200B_200F_200D_202D_206D_202B_206E_200C_202D_200F_206B_202A_206A_200E_206C_202D_202E_200D_202D_206E_200E_200B_202B_200D_206E_206D_202D_206E_200D_200E_206B_200C_202D_202C_202C_202A_202E() + { + int num = _202B_206D_200C_206F_200D_206C_202D_206C_200F_202C_202C_200C_202C_206C_200F_206C_202B_202C_202A_202D_202D_206F_202A_206F_202D_202B_200C_200E_206B_200D_200F_206A_202A_202D_202C_206E_202E_200E_200C_202C_202E; + int num2 = _206E_206B_200E_206B_200D_202B_202D_206D_206D_202E_200D_206B_206A_200F_200D_200D_202E_202E_206E_202A_202C_206A_206B_206C_202B_202D_200F_200E_200D_202A_200B_202C_202E_200C_206F_202D_200C_202C_206A_202C_202E; + int num3 = num; + int num4 = (num3 | num2) + (num3 & num2); + num2 = 31; + num3 = num4; + uint num5 = (uint)(1 << num3 + num2 - (num3 | num2)); + for (uint num6 = 0u; num6 < num5; num6 = (uint)((num3 | num2) + (num3 & num2))) + { + _200C_206B_202B_206F_206C_206A_200B_206E_206D_206C_202E_206A_206B_202A_206E_200C_206C_202E_200D_206F_202B_206D_206F_206D_202A_200E_202B_206E_206C_200C_202E_206D_202C_202C_202E_206C_200C_206B_200C_200E_202E[num6]._206A_206A_206D_202E_202B_200D_200E_202B_206B_206A_206A_202E_200E_202A_206D_200F_200D_206C_206A_200F_200B_206C_200D_206A_206C_206E_200D_206C_200E_200F_200F_200B_202D_200B_200C_202E_202A_200C_202C_206E_202E(); + uint num7 = num6; + num2 = 1; + num3 = (int)num7; + } + } + + internal uint _202E_200C_202A_200E_202E_200D_202C_200B_202E_200E_206D_200E_200D_206A_206F_206D_202D_200C_202E_202E_206E_200F_206B_202C_200D_206C_206A_206A_202D_206B_202D_206F_200B_202B_200E_206F_202B_200E_202E_206B_202E(uint pos, byte prevByte) + { + int num = (int)_206F_206B_206F_200E_200F_206F_202D_200F_200D_202A_206B_200F_206E_200B_206F_202C_200C_206F_200F_200B_206B_202E_200D_200C_202B_200C_206C_206A_202A_202B_202D_202A_200F_202C_200C_202D_202A_206B_206E_206F_202E; + int num2 = (int)pos; + int num3 = num2 + num - (num2 | num); + int num4 = _202B_206D_200C_206F_200D_206C_202D_206C_200F_202C_202C_200C_202C_206C_200F_206C_202B_202C_202A_202D_202D_206F_202A_206F_202D_202B_200C_200E_206B_200D_200F_206A_202A_202D_202C_206E_202E_200E_200C_202C_202E; + num = 31; + num2 = num4; + int num5 = num3 << num2 + num - (num2 | num); + num = _202B_206D_200C_206F_200D_206C_202D_206C_200F_202C_202C_200C_202C_206C_200F_206C_202B_202C_202A_202D_202D_206F_202A_206F_202D_202B_200C_200E_206B_200D_200F_206A_202A_202D_202C_206E_202E_200E_200C_202C_202E; + num2 = 8; + int num6 = ~(~num2 + num); + num = 31; + num2 = num6; + num = prevByte >> (num2 | num) - (num2 ^ num); + num2 = num5; + return (uint)((num2 | num) + (num2 & num)); + } + + internal byte _200C_206E_202B_200D_200B_200B_202B_200E_202E_202E_202E_206B_206B_206E_206A_206A_202A_200D_200E_206D_202C_200C_206A_202C_200D_202C_202B_200C_200E_202C_202A_202E_206F_200C_202D_206A_206C_206D_200C_202A_202E(_206B_206E_202C_202E_206C_200F_200C_200F_206D_202B_206F_202E_202E_202B_206B_202D_206E_206D_200B_202B_206B_200D_206A_200E_200B_200E_202A_206B_206C_206E_202B_200D_206C_202E_200D_206D_206A_206D_202B_202D_202E rangeDecoder, uint pos, byte prevByte) + { + return _200C_206B_202B_206F_206C_206A_200B_206E_206D_206C_202E_206A_206B_202A_206E_200C_206C_202E_200D_206F_202B_206D_206F_206D_202A_200E_202B_206E_206C_200C_202E_206D_202C_202C_202E_206C_200C_206B_200C_200E_202E[_202E_200C_202A_200E_202E_200D_202C_200B_202E_200E_206D_200E_200D_206A_206F_206D_202D_200C_202E_202E_206E_200F_206B_202C_200D_206C_206A_206A_202D_206B_202D_206F_200B_202B_200E_206F_202B_200E_202E_206B_202E(pos, prevByte)]._206C_200E_200D_202B_200C_200D_206D_202D_200F_200D_200E_200D_206E_202C_200E_200E_202E_206D_206A_202E_202C_202B_206F_200C_206A_202D_200B_206D_200B_206C_202E_202B_200B_200E_200B_202D_202D_200F_200F_202C_202E(rangeDecoder); + } + + internal byte _202E_200C_206B_202D_206C_200E_200C_206B_202B_206B_200D_200B_206E_200E_202C_200C_206A_200F_200F_200F_202A_206D_206E_200C_202C_202B_202A_206A_202E_200F_206D_206C_206F_202E_200C_206E_202B_200D_202C_200E_202E(_206B_206E_202C_202E_206C_200F_200C_200F_206D_202B_206F_202E_202E_202B_206B_202D_206E_206D_200B_202B_206B_200D_206A_200E_200B_200E_202A_206B_206C_206E_202B_200D_206C_202E_200D_206D_206A_206D_202B_202D_202E rangeDecoder, uint pos, byte prevByte, byte matchByte) + { + return _200C_206B_202B_206F_206C_206A_200B_206E_206D_206C_202E_206A_206B_202A_206E_200C_206C_202E_200D_206F_202B_206D_206F_206D_202A_200E_202B_206E_206C_200C_202E_206D_202C_202C_202E_206C_200C_206B_200C_200E_202E[_202E_200C_202A_200E_202E_200D_202C_200B_202E_200E_206D_200E_200D_206A_206F_206D_202D_200C_202E_202E_206E_200F_206B_202C_200D_206C_206A_206A_202D_206B_202D_206F_200B_202B_200E_206F_202B_200E_202E_206B_202E(pos, prevByte)]._206F_206B_202E_202A_200F_206A_206A_206B_206C_206C_200C_200D_202C_200B_202D_206B_200E_202C_206C_200E_206F_202D_206E_202B_200B_200D_206D_202D_206B_206E_206A_202A_206A_206A_200E_206B_206D_200D_202C_206E_202E(rangeDecoder, matchByte); + } + + internal _202B_206F_206A_200E_202C_202D_202B_200B_200D_200B_206C_206E_206C_200E_206A_200E_206C_202E_202B_206F_206E_206A_200C_206C_200D_200F_200E_202A_200F_200D_206C_206A_202B_202E_202E_200D_202A_206B_200F_206D_202E() + { + } + } + + internal readonly _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E[] _206D_200F_200F_202B_200F_202B_206E_206E_206C_200E_202A_200D_202E_202D_200D_202D_202E_200D_202C_202D_202B_206A_206D_206B_206A_202C_200D_206A_200C_200C_200E_202E_206F_202B_200B_202E_202A_200F_206B_202D_202E = new _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E[192]; + + internal readonly _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E[] _200E_206F_200D_200F_206F_200F_202D_200F_202E_206B_206F_206F_206F_200F_206A_200E_200B_206D_206F_206B_206A_206B_202B_200B_200E_206A_200C_206A_200C_206C_202C_200B_200D_206F_200F_206D_200F_202A_200B_202E_202E = new _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E[192]; + + internal readonly _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E[] _202B_202C_206A_200C_206E_200D_202C_206E_200E_202E_202C_206F_206F_206E_206D_202E_206B_206E_206F_202E_200E_206E_202D_200F_202A_202B_206C_202B_206D_206E_206F_202E_200E_202C_206B_200B_206A_202A_200B_206D_202E = new _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E[12]; + + internal readonly _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E[] _206A_200D_206E_206F_206F_202E_200E_206E_206C_206F_200D_206E_206A_202A_202C_206F_206F_202C_200C_202E_200C_200B_200D_202C_200E_202C_202A_206D_202D_206C_200E_202E_206C_206A_206B_206F_200E_200D_206E_202E_202E = new _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E[12]; + + internal readonly _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E[] _200E_202E_206C_202C_200E_200F_200C_202C_206F_206C_206D_200C_200C_202B_206C_202A_200E_200B_200F_200C_206D_202B_200F_202A_206D_202B_206B_206F_200F_206B_202E_202D_206A_206F_200B_202B_202A_206A_206C_206D_202E = new _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E[12]; + + internal readonly _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E[] _206B_206F_202B_206E_200E_206C_206F_202B_200C_206D_206D_200D_206A_200E_200C_206D_206A_206C_206B_202B_206C_206B_202D_206D_202A_206C_202B_200B_206E_206A_200F_206D_200B_206F_206A_202D_202E_200F_200D_202E_202E = new _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E[12]; + + internal readonly _202A_202C_206D_200E_202C_200C_206F_202E_200B_202E_206E_206A_206E_206C_200C_202C_206B_200D_206F_206B_202C_206D_202D_200F_200D_206F_200B_202A_202C_200D_202C_206A_202A_202D_202B_200D_206F_202B_200D_206B_202E _206B_206E_202D_200D_206C_200C_206B_206E_202D_206D_200C_202B_206E_200C_200C_206A_200E_202B_206E_202A_200B_206B_206E_206D_200C_202B_200D_206B_200F_206B_206E_206D_206E_200E_202A_206F_206B_202C_202E_202C_202E = new _202A_202C_206D_200E_202C_200C_206F_202E_200B_202E_206E_206A_206E_206C_200C_202C_206B_200D_206F_206B_202C_206D_202D_200F_200D_206F_200B_202A_202C_200D_202C_206A_202A_202D_202B_200D_206F_202B_200D_206B_202E(); + + internal readonly _202B_206F_206A_200E_202C_202D_202B_200B_200D_200B_206C_206E_206C_200E_206A_200E_206C_202E_202B_206F_206E_206A_200C_206C_200D_200F_200E_202A_200F_200D_206C_206A_202B_202E_202E_200D_202A_206B_200F_206D_202E _200D_200E_200E_200D_202E_202C_200E_200C_200D_200F_202E_202E_202C_200F_200D_200F_202E_206A_206E_202C_206E_206D_206E_202E_206F_206C_202B_206D_206B_202E_200B_206C_206B_200E_206B_206C_200E_200D_206B_206C_202E = new _202B_206F_206A_200E_202C_202D_202B_200B_200D_200B_206C_206E_206C_200E_206A_200E_206C_202E_202B_206F_206E_206A_200C_206C_200D_200F_200E_202A_200F_200D_206C_206A_202B_202E_202E_200D_202A_206B_200F_206D_202E(); + + internal readonly _206C_206B_206B_206A_206E_200B_206F_200D_206E_200B_200E_202C_202C_206C_202C_202B_206D_206D_206B_206A_206A_200F_200E_206F_202D_200F_202C_202C_206D_202B_202E_202E_202A_200F_206D_202A_200F_200F_206E_200D_202E _206B_200F_202B_200D_200D_202C_206D_200B_206B_200D_206D_202E_206E_202B_202B_200F_200F_202A_206C_206D_200F_206D_200D_206C_206C_206C_206B_202B_206D_202D_206D_200B_200D_206B_200E_200C_200C_206C_206B_200D_202E = new _206C_206B_206B_206A_206E_200B_206F_200D_206E_200B_200E_202C_202C_206C_202C_202B_206D_206D_206B_206A_206A_200F_200E_206F_202D_200F_202C_202C_206D_202B_202E_202E_202A_200F_206D_202A_200F_200F_206E_200D_202E(); + + internal readonly _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E[] _200D_202A_200C_202B_200F_206B_202D_206E_202C_206D_202A_202B_202E_202A_200C_200D_206D_206D_202B_200D_206E_202A_200C_206B_206C_206D_202C_206F_202E_200E_200D_200C_206E_206D_206C_200E_202C_206C_202A_202D_202E = new _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E[114]; + + internal readonly _202A_202D_206C_202A_206F_206B_206A_206B_206A_200E_206D_206E_206D_206C_202B_202E_206D_206C_200E_206E_200B_200B_206C_206D_202C_200D_202E_202D_202A_206B_202A_206B_206C_200F_202B_202E_206D_202E_200E_206B_202E[] _200E_200D_206D_206B_200F_202C_200C_206B_202E_200D_202A_200D_206F_202C_206F_200D_202B_206D_200F_200F_200F_200F_202A_200D_200B_200F_202A_206F_202B_202C_200F_206C_202B_202A_202C_200E_206E_202B_206C_202C_202E = new _202A_202D_206C_202A_206F_206B_206A_206B_206A_200E_206D_206E_206D_206C_202B_202E_206D_206C_200E_206E_200B_200B_206C_206D_202C_200D_202E_202D_202A_206B_202A_206B_206C_200F_202B_202E_206D_202E_200E_206B_202E[4]; + + internal readonly _206B_206E_202C_202E_206C_200F_200C_200F_206D_202B_206F_202E_202E_202B_206B_202D_206E_206D_200B_202B_206B_200D_206A_200E_200B_200E_202A_206B_206C_206E_202B_200D_206C_202E_200D_206D_206A_206D_202B_202D_202E _200C_206C_202D_200E_202C_202E_206A_202A_200F_202D_200E_202A_206F_202D_206B_206C_202E_200C_206D_206B_202D_200E_202A_206D_206A_206F_202E_200C_200B_206D_206A_202E_206C_206D_202D_200B_206F_206B_202A_206D_202E = new _206B_206E_202C_202E_206C_200F_200C_200F_206D_202B_206F_202E_202E_202B_206B_202D_206E_206D_200B_202B_206B_200D_206A_200E_200B_200E_202A_206B_206C_206E_202B_200D_206C_202E_200D_206D_206A_206D_202B_202D_202E(); + + internal readonly _202A_202C_206D_200E_202C_200C_206F_202E_200B_202E_206E_206A_206E_206C_200C_202C_206B_200D_206F_206B_202C_206D_202D_200F_200D_206F_200B_202A_202C_200D_202C_206A_202A_202D_202B_200D_206F_202B_200D_206B_202E _202A_202E_200E_206A_206C_206C_200E_200E_206B_202B_206B_206A_202C_206D_200E_202D_200E_202A_200D_202A_206F_206B_200C_202E_200B_200B_200E_206B_200D_200F_200D_206D_206A_206E_206E_202B_206C_200C_206C_202E_202E = new _202A_202C_206D_200E_202C_200C_206F_202E_200B_202E_206E_206A_206E_206C_200C_202C_206B_200D_206F_206B_202C_206D_202D_200F_200D_206F_200B_202A_202C_200D_202C_206A_202A_202D_202B_200D_206F_202B_200D_206B_202E(); + + internal bool _200F_202E_206B_200F_200D_206A_206C_200D_206E_200E_200C_200E_200B_202A_202D_206E_202E_206B_200F_202C_200F_202C_206F_206D_200C_202B_202B_206F_206B_206F_200B_200C_200D_200E_202E_202D_206C_206E_206B_206B_202E; + + internal uint _202C_206B_202A_202B_202C_200F_200B_206E_206A_200F_206A_206D_206E_200D_206E_206C_200B_202D_206D_200B_200F_202C_206D_202A_200C_200E_206A_202D_202D_202B_202C_206B_202C_206D_202E_202E_206B_202D_202C_206C_202E; + + internal uint _202C_202E_206A_200D_200D_202B_200B_202B_200B_206D_200F_200F_200C_206F_206C_200D_202C_200C_200F_206D_200E_200B_202E_200D_200C_200E_202A_200E_206F_200F_202D_206D_202E_206A_200D_206D_206C_202C_200F_202A_202E; + + internal _202A_202D_206C_202A_206F_206B_206A_206B_206A_200E_206D_206E_206D_206C_202B_202E_206D_206C_200E_206E_200B_200B_206C_206D_202C_200D_202E_202D_202A_206B_202A_206B_206C_200F_202B_202E_206D_202E_200E_206B_202E _206C_200B_206F_206C_206D_200E_206E_206A_200B_202C_200B_206E_202D_200F_206E_202B_200B_202B_206B_200F_200C_202A_206D_206B_202E_200B_202C_200B_206E_206A_200C_202A_206D_200E_206A_200C_202A_200D_200B_206E_202E = new _202A_202D_206C_202A_206F_206B_206A_206B_206A_200E_206D_206E_206D_206C_202B_202E_206D_206C_200E_206E_200B_200B_206C_206D_202C_200D_202E_202D_202A_206B_202A_206B_206C_200F_202B_202E_206D_202E_200E_206B_202E(4); + + internal uint _200E_206A_200B_200B_206B_206E_200E_202E_202B_202D_206E_206A_202B_206E_206B_200D_206D_206A_206D_200E_202D_200D_200C_206E_200F_202E_206A_206C_200F_202A_200B_202A_202B_200B_206D_206C_206D_200D_202E_200E_202E; + + internal _202A_202B_200E_202B_200D_200D_202C_206D_206A_200F_202A_206E_200D_200D_206E_202B_206D_202C_206A_200C_206D_206E_202B_206E_200B_200F_200D_202D_202D_200C_206A_206C_202C_206C_206B_200E_202C_202A_200C_202D_202E() + { + _202C_206B_202A_202B_202C_200F_200B_206E_206A_200F_206A_206D_206E_200D_206E_206C_200B_202D_206D_200B_200F_202C_206D_202A_200C_200E_206A_202D_202D_202B_202C_206B_202C_206D_202E_202E_206B_202D_202C_206C_202E = uint.MaxValue; + int num = 0; + while ((long)num < 4L) + { + _200E_200D_206D_206B_200F_202C_200C_206B_202E_200D_202A_200D_206F_202C_206F_200D_202B_206D_200F_200F_200F_200F_202A_200D_200B_200F_202A_206F_202B_202C_200F_206C_202B_202A_202C_200E_206E_202B_206C_202C_202E[num] = new _202A_202D_206C_202A_206F_206B_206A_206B_206A_200E_206D_206E_206D_206C_202B_202E_206D_206C_200E_206E_200B_200B_206C_206D_202C_200D_202E_202D_202A_206B_202A_206B_206C_200F_202B_202E_206D_202E_200E_206B_202E(6); + int num2 = num; + int num3 = 1; + int num4 = num2; + num = (num4 | num3) + (num4 & num3); + } + } + + internal void _200B_200D_202E_206D_200B_202E_200D_200D_202C_202A_200F_202E_200E_202E_202C_200C_202A_200C_206B_200E_200E_202E_200D_202A_202B_200F_206C_202A_206C_202B_206C_200E_206F_206C_202B_200F_206A_202A_200C_202E_202E(uint dictionarySize) + { + if (_202C_206B_202A_202B_202C_200F_200B_206E_206A_200F_206A_206D_206E_200D_206E_206C_200B_202D_206D_200B_200F_202C_206D_202A_200C_200E_206A_202D_202D_202B_202C_206B_202C_206D_202E_202E_206B_202D_202C_206C_202E != dictionarySize) + { + _202C_206B_202A_202B_202C_200F_200B_206E_206A_200F_206A_206D_206E_200D_206E_206C_200B_202D_206D_200B_200F_202C_206D_202A_200C_200E_206A_202D_202D_202B_202C_206B_202C_206D_202E_202E_206B_202D_202C_206C_202E = dictionarySize; + _202C_202E_206A_200D_200D_202B_200B_202B_200B_206D_200F_200F_200C_206F_206C_200D_202C_200C_200F_206D_200E_200B_202E_200D_200C_200E_202A_200E_206F_200F_202D_206D_202E_206A_200D_206D_206C_202C_200F_202A_202E = Math.Max(_202C_206B_202A_202B_202C_200F_200B_206E_206A_200F_206A_206D_206E_200D_206E_206C_200B_202D_206D_200B_200F_202C_206D_202A_200C_200E_206A_202D_202D_202B_202C_206B_202C_206D_202E_202E_206B_202D_202C_206C_202E, 1u); + uint windowSize = Math.Max(_202C_202E_206A_200D_200D_202B_200B_202B_200B_206D_200F_200F_200C_206F_206C_200D_202C_200C_200F_206D_200E_200B_202E_200D_200C_200E_202A_200E_206F_200F_202D_206D_202E_206A_200D_206D_206C_202C_200F_202A_202E, 4096u); + _206B_200F_202B_200D_200D_202C_206D_200B_206B_200D_206D_202E_206E_202B_202B_200F_200F_202A_206C_206D_200F_206D_200D_206C_206C_206C_206B_202B_206D_202D_206D_200B_200D_206B_200E_200C_200C_206C_206B_200D_202E._202E_200F_206E_200F_206D_206F_202D_202E_200B_206E_206A_202C_202C_202D_202A_206E_206F_200B_206B_206E_200B_202E_206D_202E_206B_206D_202A_206F_202E_202A_202C_200C_206A_206F_206B_206D_206B_200D_202D_202C_202E(windowSize); + } + } + + internal void _206E_200B_206E_206E_200F_200E_200C_200D_202C_202E_206E_200F_206C_206A_200F_202D_200D_200E_202C_200E_200F_200C_206E_206A_202D_202A_200F_206A_200B_200F_206F_206A_202C_202B_206D_202A_206F_206E_200C_206B_202E(int lp, int lc) + { + _200D_200E_200E_200D_202E_202C_200E_200C_200D_200F_202E_202E_202C_200F_200D_200F_202E_206A_206E_202C_206E_206D_206E_202E_206F_206C_202B_206D_206B_202E_200B_206C_206B_200E_206B_206C_200E_200D_206B_206C_202E._202A_206D_206B_206A_202B_202D_202B_202B_200B_200C_200E_200F_202C_202C_200B_206D_206E_200E_200F_200C_206C_206D_200C_202A_206E_200B_202A_200F_202D_206E_200F_206E_206E_200B_200E_206C_202C_200C_206B_200D_202E(lp, lc); + } + + internal void _200B_206F_206F_206A_206E_206E_200D_206F_206D_200B_206E_206B_206D_200E_200F_206B_206F_206E_202E_206A_200D_206C_202D_206A_200B_202C_202E_202C_202E_200D_206E_202E_202D_200C_206F_200B_206E_206A_206B_202B_202E(int pb) + { + int num = 31; + int num2 = pb; + uint num3 = (uint)(1 << num2 + num - (num2 | num)); + _206B_206E_202D_200D_206C_200C_206B_206E_202D_206D_200C_202B_206E_200C_200C_206A_200E_202B_206E_202A_200B_206B_206E_206D_200C_202B_200D_206B_200F_206B_206E_206D_206E_200E_202A_206F_206B_202C_202E_202C_202E._202E_206D_200C_200C_200E_200B_206E_200C_202E_206D_202B_200B_200B_202E_200F_200E_202E_202B_202A_202D_206E_206B_200D_200D_206E_206D_200D_206A_206F_200B_202B_200F_206C_200E_202C_200F_200E_202A_200D_206B_202E(num3); + _202A_202E_200E_206A_206C_206C_200E_200E_206B_202B_206B_206A_202C_206D_200E_202D_200E_202A_200D_202A_206F_206B_200C_202E_200B_200B_200E_206B_200D_200F_200D_206D_206A_206E_206E_202B_206C_200C_206C_202E_202E._202E_206D_200C_200C_200E_200B_206E_200C_202E_206D_202B_200B_200B_202E_200F_200E_202E_202B_202A_202D_206E_206B_200D_200D_206E_206D_200D_206A_206F_200B_202B_200F_206C_200E_202C_200F_200E_202A_200D_206B_202E(num3); + num = 1; + num2 = (int)num3; + _200E_206A_200B_200B_206B_206E_200E_202E_202B_202D_206E_206A_202B_206E_206B_200D_206D_206A_206D_200E_202D_200D_200C_206E_200F_202E_206A_206C_200F_202A_200B_202A_202B_200B_206D_206C_206D_200D_202E_200E_202E = (uint)(~(~num2 + num)); + } + + internal void _200E_202E_200E_206A_202A_206D_206D_206E_202B_200D_200E_206D_200B_200E_206A_202A_202C_202A_206F_206C_206D_200F_200B_200F_206A_200C_202B_200C_206F_200D_206D_206F_202C_202A_200D_202D_200B_202C_200B_206D_202E(Stream inStream, Stream outStream) + { + _200C_206C_202D_200E_202C_202E_206A_202A_200F_202D_200E_202A_206F_202D_206B_206C_202E_200C_206D_206B_202D_200E_202A_206D_206A_206F_202E_200C_200B_206D_206A_202E_206C_206D_202D_200B_206F_206B_202A_206D_202E._206D_202E_202A_200F_200C_202C_202D_202B_202B_206F_202E_206A_202A_200F_200E_202B_206E_200B_206B_202B_202B_206E_206A_202C_206E_202B_206F_206D_202C_206B_206F_206B_200B_206D_206F_206E_206B_206A_206F_200C_202E(inStream); + _206B_200F_202B_200D_200D_202C_206D_200B_206B_200D_206D_202E_206E_202B_202B_200F_200F_202A_206C_206D_200F_206D_200D_206C_206C_206C_206B_202B_206D_202D_206D_200B_200D_206B_200E_200C_200C_206C_206B_200D_202E._202C_206D_200C_200B_206E_206F_206C_206A_200E_202C_200C_200C_206B_206D_200B_202B_202E_206D_206A_200B_202C_200F_202B_202B_206C_202E_202B_200C_200C_200E_206B_206C_206D_200C_206C_206D_200D_200C_202A_206F_202E(outStream, _200F_202E_206B_200F_200D_206A_206C_200D_206E_200E_200C_200E_200B_202A_202D_206E_202E_206B_200F_202C_200F_202C_206F_206D_200C_202B_202B_206F_206B_206F_200B_200C_200D_200E_202E_202D_206C_206E_206B_206B_202E); + uint num = 0u; + while (num < 12) + { + uint num2 = 0u; + int num4; + int num5; + while (num2 <= _200E_206A_200B_200B_206B_206E_200E_202E_202B_202D_206E_206A_202B_206E_206B_200D_206D_206A_206D_200E_202D_200D_200C_206E_200F_202E_206A_206C_200F_202A_200B_202A_202B_200B_206D_206C_206D_200D_202E_200E_202E) + { + uint num3 = num << 4; + num4 = (int)num2; + num5 = (int)num3; + int num6 = num5 ^ num4; + int num7 = num5 & num4; + uint num8 = (uint)(num6 + (num7 + num7)); + _206D_200F_200F_202B_200F_202B_206E_206E_206C_200E_202A_200D_202E_202D_200D_202D_202E_200D_202C_202D_202B_206A_206D_206B_206A_202C_200D_206A_200C_200C_200E_202E_206F_202B_200B_202E_202A_200F_206B_202D_202E[num8]._202A_200C_206A_202C_206D_200E_200B_206C_202C_202E_206C_206E_202B_206A_202E_206A_202C_200C_206B_200E_206A_202E_206B_200F_206F_206A_200F_200F_202C_206E_202A_200F_206F_202E_200D_200D_206E_200B_200B_202D_202E(); + _200E_206F_200D_200F_206F_200F_202D_200F_202E_206B_206F_206F_206F_200F_206A_200E_200B_206D_206F_206B_206A_206B_202B_200B_200E_206A_200C_206A_200C_206C_202C_200B_200D_206F_200F_206D_200F_202A_200B_202E_202E[num8]._202A_200C_206A_202C_206D_200E_200B_206C_202C_202E_206C_206E_202B_206A_202E_206A_202C_200C_206B_200E_206A_202E_206B_200F_206F_206A_200F_200F_202C_206E_202A_200F_206F_202E_200D_200D_206E_200B_200B_202D_202E(); + uint num9 = num2; + num4 = 1; + num5 = (int)num9; + int num10 = num5 ^ num4; + int num11 = num5 & num4; + num2 = (uint)(num10 + (num11 + num11)); + } + _202B_202C_206A_200C_206E_200D_202C_206E_200E_202E_202C_206F_206F_206E_206D_202E_206B_206E_206F_202E_200E_206E_202D_200F_202A_202B_206C_202B_206D_206E_206F_202E_200E_202C_206B_200B_206A_202A_200B_206D_202E[num]._202A_200C_206A_202C_206D_200E_200B_206C_202C_202E_206C_206E_202B_206A_202E_206A_202C_200C_206B_200E_206A_202E_206B_200F_206F_206A_200F_200F_202C_206E_202A_200F_206F_202E_200D_200D_206E_200B_200B_202D_202E(); + _206A_200D_206E_206F_206F_202E_200E_206E_206C_206F_200D_206E_206A_202A_202C_206F_206F_202C_200C_202E_200C_200B_200D_202C_200E_202C_202A_206D_202D_206C_200E_202E_206C_206A_206B_206F_200E_200D_206E_202E_202E[num]._202A_200C_206A_202C_206D_200E_200B_206C_202C_202E_206C_206E_202B_206A_202E_206A_202C_200C_206B_200E_206A_202E_206B_200F_206F_206A_200F_200F_202C_206E_202A_200F_206F_202E_200D_200D_206E_200B_200B_202D_202E(); + _200E_202E_206C_202C_200E_200F_200C_202C_206F_206C_206D_200C_200C_202B_206C_202A_200E_200B_200F_200C_206D_202B_200F_202A_206D_202B_206B_206F_200F_206B_202E_202D_206A_206F_200B_202B_202A_206A_206C_206D_202E[num]._202A_200C_206A_202C_206D_200E_200B_206C_202C_202E_206C_206E_202B_206A_202E_206A_202C_200C_206B_200E_206A_202E_206B_200F_206F_206A_200F_200F_202C_206E_202A_200F_206F_202E_200D_200D_206E_200B_200B_202D_202E(); + _206B_206F_202B_206E_200E_206C_206F_202B_200C_206D_206D_200D_206A_200E_200C_206D_206A_206C_206B_202B_206C_206B_202D_206D_202A_206C_202B_200B_206E_206A_200F_206D_200B_206F_206A_202D_202E_200F_200D_202E_202E[num]._202A_200C_206A_202C_206D_200E_200B_206C_202C_202E_206C_206E_202B_206A_202E_206A_202C_200C_206B_200E_206A_202E_206B_200F_206F_206A_200F_200F_202C_206E_202A_200F_206F_202E_200D_200D_206E_200B_200B_202D_202E(); + uint num12 = num; + num4 = 1; + num5 = (int)num12; + int num13 = num5 ^ num4; + int num14 = num5 & num4; + num = (uint)(num13 + (num14 + num14)); + } + _200D_200E_200E_200D_202E_202C_200E_200C_200D_200F_202E_202E_202C_200F_200D_200F_202E_206A_206E_202C_206E_206D_206E_202E_206F_206C_202B_206D_206B_202E_200B_206C_206B_200E_206B_206C_200E_200D_206B_206C_202E._202C_202E_200D_200C_200B_200F_200D_202D_206D_202B_206E_200C_202D_200F_206B_202A_206A_200E_206C_202D_202E_200D_202D_206E_200E_200B_202B_200D_206E_206D_202D_206E_200D_200E_206B_200C_202D_202C_202C_202A_202E(); + num = 0u; + while (num < 4) + { + _200E_200D_206D_206B_200F_202C_200C_206B_202E_200D_202A_200D_206F_202C_206F_200D_202B_206D_200F_200F_200F_200F_202A_200D_200B_200F_202A_206F_202B_202C_200F_206C_202B_202A_202C_200E_206E_202B_206C_202C_202E[num]._202C_202A_202E_206A_206C_202E_206B_206B_200D_200E_200D_200B_206C_202E_202E_202E_200B_206A_206A_200E_202A_200E_200F_206D_206E_200E_206C_200D_202E_202C_200C_200F_206A_200E_202D_200E_200C_200D_202C_202C_202E(); + uint num15 = num; + int num4 = 1; + int num5 = (int)num15; + num = (uint)((num5 | num4) + (num5 & num4)); + } + num = 0u; + while (num < 114) + { + _200D_202A_200C_202B_200F_206B_202D_206E_202C_206D_202A_202B_202E_202A_200C_200D_206D_206D_202B_200D_206E_202A_200C_206B_206C_206D_202C_206F_202E_200E_200D_200C_206E_206D_206C_200E_202C_206C_202A_202D_202E[num]._202A_200C_206A_202C_206D_200E_200B_206C_202C_202E_206C_206E_202B_206A_202E_206A_202C_200C_206B_200E_206A_202E_206B_200F_206F_206A_200F_200F_202C_206E_202A_200F_206F_202E_200D_200D_206E_200B_200B_202D_202E(); + uint num16 = num; + int num4 = 1; + int num5 = (int)num16; + int num17 = num5 ^ num4; + int num18 = num5 & num4; + num = (uint)(num17 + (num18 + num18)); + } + _206B_206E_202D_200D_206C_200C_206B_206E_202D_206D_200C_202B_206E_200C_200C_206A_200E_202B_206E_202A_200B_206B_206E_206D_200C_202B_200D_206B_200F_206B_206E_206D_206E_200E_202A_206F_206B_202C_202E_202C_202E._200D_200B_202B_206A_200B_202E_206E_200C_206F_200F_200D_200C_202A_206A_206E_206E_206F_206F_206E_202C_200C_202A_200B_200D_200B_200D_200F_202C_202A_206D_200B_206F_206B_200E_202C_200B_202D_202A_206D_206C_202E(); + _202A_202E_200E_206A_206C_206C_200E_200E_206B_202B_206B_206A_202C_206D_200E_202D_200E_202A_200D_202A_206F_206B_200C_202E_200B_200B_200E_206B_200D_200F_200D_206D_206A_206E_206E_202B_206C_200C_206C_202E_202E._200D_200B_202B_206A_200B_202E_206E_200C_206F_200F_200D_200C_202A_206A_206E_206E_206F_206F_206E_202C_200C_202A_200B_200D_200B_200D_200F_202C_202A_206D_200B_206F_206B_200E_202C_200B_202D_202A_206D_206C_202E(); + _206C_200B_206F_206C_206D_200E_206E_206A_200B_202C_200B_206E_202D_200F_206E_202B_200B_202B_206B_200F_200C_202A_206D_206B_202E_200B_202C_200B_206E_206A_200C_202A_206D_200E_206A_200C_202A_200D_200B_206E_202E._202C_202A_202E_206A_206C_202E_206B_206B_200D_200E_200D_200B_206C_202E_202E_202E_200B_206A_206A_200E_202A_200E_200F_206D_206E_200E_206C_200D_202E_202C_200C_200F_206A_200E_202D_200E_200C_200D_202C_202C_202E(); + } + + internal void _200F_200F_206E_202B_200C_206B_206C_202E_200D_202A_202D_206E_202E_206E_200F_200B_206C_206D_206F_206E_206B_206D_206D_206B_200F_206C_200C_202A_206A_202D_206C_202A_200E_206F_200F_202E_200C_202E_202D_202E(Stream inStream, Stream outStream, long inSize, long outSize) + { + _200E_202E_200E_206A_202A_206D_206D_206E_202B_200D_200E_206D_200B_200E_206A_202A_202C_202A_206F_206C_206D_200F_200B_200F_206A_200C_202B_200C_206F_200D_206D_206F_202C_202A_200D_202D_200B_202C_200B_206D_202E(inStream, outStream); + _200E_200D_202A_200C_200B_202D_200D_206A_200D_206F_206A_200E_202A_206F_202E_206A_200D_200C_206B_202D_202D_206E_202E_200C_202B_206A_200F_202D_206C_200B_206D_200D_202D_206A_206D_206F_206E_202E_206C_200C_202E obj = default(_200E_200D_202A_200C_200B_202D_200D_206A_200D_206F_206A_200E_202A_206F_202E_206A_200D_200C_206B_202D_202D_206E_202E_200C_202B_206A_200F_202D_206C_200B_206D_200D_202D_206A_206D_206F_206E_202E_206C_200C_202E); + obj._206A_206D_202B_202A_200B_206F_202B_202D_202B_200D_200F_202D_206F_200C_202B_206B_200B_206A_200F_206B_206A_206D_200E_206A_200B_202E_206C_200F_206F_202B_200F_202A_200B_206D_200B_202E_206F_202D_200D_202D_202E(); + uint num = 0u; + uint num2 = 0u; + uint num3 = 0u; + uint num4 = 0u; + ulong num5 = 0uL; + if (num5 < (ulong)outSize) + { + _206D_200F_200F_202B_200F_202B_206E_206E_206C_200E_202A_200D_202E_202D_200D_202D_202E_200D_202C_202D_202B_206A_206D_206B_206A_202C_200D_206A_200C_200C_200E_202E_206F_202B_200B_202E_202A_200F_206B_202D_202E[obj._200C_200B_202B_206C_206A_206E_200B_200D_206B_202E_206B_202D_206F_200E_202B_200B_200F_200F_202D_202D_200C_202E_202C_206A_200E_200B_202A_200D_206B_200D_200B_206E_202D_200B_206A_202A_206C_202E_200E_200F_202E << 4]._202B_206A_206C_200D_206D_206E_206E_206E_202D_202C_206B_206F_206C_206D_200E_206B_202A_202E_206F_202B_206A_202B_202B_202A_206D_200F_200C_206A_200D_202A_202E_200E_206A_206A_200D_206F_206A_200C_200B_202D_202E(_200C_206C_202D_200E_202C_202E_206A_202A_200F_202D_200E_202A_206F_202D_206B_206C_202E_200C_206D_206B_202D_200E_202A_206D_206A_206F_202E_200C_200B_206D_206A_202E_206C_206D_202D_200B_206F_206B_202A_206D_202E); + obj._202D_200F_206B_206D_202D_202E_202B_206D_206A_206A_206E_206E_200B_202E_206A_202B_202A_206C_200F_200D_200C_202E_200D_200E_206E_200C_206B_202E_206E_206F_200E_202E_206B_202C_206F_202C_200D_206E_200E_200D_202E(); + byte b = _200D_200E_200E_200D_202E_202C_200E_200C_200D_200F_202E_202E_202C_200F_200D_200F_202E_206A_206E_202C_206E_206D_206E_202E_206F_206C_202B_206D_206B_202E_200B_206C_206B_200E_206B_206C_200E_200D_206B_206C_202E._200C_206E_202B_200D_200B_200B_202B_200E_202E_202E_202E_206B_206B_206E_206A_206A_202A_200D_200E_206D_202C_200C_206A_202C_200D_202C_202B_200C_200E_202C_202A_202E_206F_200C_202D_206A_206C_206D_200C_202A_202E(_200C_206C_202D_200E_202C_202E_206A_202A_200F_202D_200E_202A_206F_202D_206B_206C_202E_200C_206D_206B_202D_200E_202A_206D_206A_206F_202E_200C_200B_206D_206A_202E_206C_206D_202D_200B_206F_206B_202A_206D_202E, 0u, 0); + _206B_200F_202B_200D_200D_202C_206D_200B_206B_200D_206D_202E_206E_202B_202B_200F_200F_202A_206C_206D_200F_206D_200D_206C_206C_206C_206B_202B_206D_202D_206D_200B_200D_206B_200E_200C_200C_206C_206B_200D_202E._206D_200F_206D_200F_206D_202B_206A_206C_200F_206A_200B_206A_206B_200E_206E_206D_206E_200C_206E_200E_206A_202B_200E_206B_200B_206D_200F_202B_206F_206A_200D_200E_206C_200B_206F_206B_200B_206E_200B_202E_202E(b); + ulong num6 = num5; + long num7 = 1L; + long num8 = (long)num6; + num5 = (ulong)((num8 | num7) + (num8 & num7)); + } + while (num5 < (ulong)outSize) + { + int num9 = (int)num5; + int num10 = (int)_200E_206A_200B_200B_206B_206E_200E_202E_202B_202D_206E_206A_202B_206E_206B_200D_206D_206A_206D_200E_202D_200D_200C_206E_200F_202E_206A_206C_200F_202A_200B_202A_202B_200B_206D_206C_206D_200D_202E_200E_202E; + int num11 = num9; + uint num12 = (uint)(num11 + num10 - (num11 | num10)); + _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E[] array = _206D_200F_200F_202B_200F_202B_206E_206E_206C_200E_202A_200D_202E_202D_200D_202D_202E_200D_202C_202D_202B_206A_206D_206B_206A_202C_200D_206A_200C_200C_200E_202E_206F_202B_200B_202E_202A_200F_206B_202D_202E; + uint num13 = obj._200C_200B_202B_206C_206A_206E_200B_200D_206B_202E_206B_202D_206F_200E_202B_200B_200F_200F_202D_202D_200C_202E_202C_206A_200E_200B_202A_200D_206B_200D_200B_206E_202D_200B_206A_202A_206C_202E_200E_200F_202E << 4; + num10 = (int)num12; + num11 = (int)num13; + long num7; + long num8; + if (array[(num11 | num10) + (num11 & num10)]._202B_206A_206C_200D_206D_206E_206E_206E_202D_202C_206B_206F_206C_206D_200E_206B_202A_202E_206F_202B_206A_202B_202B_202A_206D_200F_200C_206A_200D_202A_202E_200E_206A_206A_200D_206F_206A_200C_200B_202D_202E(_200C_206C_202D_200E_202C_202E_206A_202A_200F_202D_200E_202A_206F_202D_206B_206C_202E_200C_206D_206B_202D_200E_202A_206D_206A_206F_202E_200C_200B_206D_206A_202E_206C_206D_202D_200B_206F_206B_202A_206D_202E) == 0) + { + byte prevByte = _206B_200F_202B_200D_200D_202C_206D_200B_206B_200D_206D_202E_206E_202B_202B_200F_200F_202A_206C_206D_200F_206D_200D_206C_206C_206C_206B_202B_206D_202D_206D_200B_200D_206B_200E_200C_200C_206C_206B_200D_202E._206E_202B_206F_200E_206F_206F_206C_206C_206F_206A_202E_202B_200F_200F_202E_202B_206F_200E_202D_202B_200B_200B_206A_206B_202C_206A_200C_206B_206E_200C_202D_202E_200D_200D_200B_202B_202A_202D_200E_200D_202E(0u); + byte b2 = (obj._206F_206B_206F_206A_202A_200B_200D_206D_206A_206D_206A_206C_206B_206A_200E_200E_200E_200D_206A_206B_206B_200C_202A_206A_202E_206F_206B_206C_202A_206A_202D_200F_206B_206F_202B_206A_200C_200B_200C_202E_202E() ? _200D_200E_200E_200D_202E_202C_200E_200C_200D_200F_202E_202E_202C_200F_200D_200F_202E_206A_206E_202C_206E_206D_206E_202E_206F_206C_202B_206D_206B_202E_200B_206C_206B_200E_206B_206C_200E_200D_206B_206C_202E._200C_206E_202B_200D_200B_200B_202B_200E_202E_202E_202E_206B_206B_206E_206A_206A_202A_200D_200E_206D_202C_200C_206A_202C_200D_202C_202B_200C_200E_202C_202A_202E_206F_200C_202D_206A_206C_206D_200C_202A_202E(_200C_206C_202D_200E_202C_202E_206A_202A_200F_202D_200E_202A_206F_202D_206B_206C_202E_200C_206D_206B_202D_200E_202A_206D_206A_206F_202E_200C_200B_206D_206A_202E_206C_206D_202D_200B_206F_206B_202A_206D_202E, (uint)num5, prevByte) : _200D_200E_200E_200D_202E_202C_200E_200C_200D_200F_202E_202E_202C_200F_200D_200F_202E_206A_206E_202C_206E_206D_206E_202E_206F_206C_202B_206D_206B_202E_200B_206C_206B_200E_206B_206C_200E_200D_206B_206C_202E._202E_200C_206B_202D_206C_200E_200C_206B_202B_206B_200D_200B_206E_200E_202C_200C_206A_200F_200F_200F_202A_206D_206E_200C_202C_202B_202A_206A_202E_200F_206D_206C_206F_202E_200C_206E_202B_200D_202C_200E_202E(_200C_206C_202D_200E_202C_202E_206A_202A_200F_202D_200E_202A_206F_202D_206B_206C_202E_200C_206D_206B_202D_200E_202A_206D_206A_206F_202E_200C_200B_206D_206A_202E_206C_206D_202D_200B_206F_206B_202A_206D_202E, (uint)num5, prevByte, _206B_200F_202B_200D_200D_202C_206D_200B_206B_200D_206D_202E_206E_202B_202B_200F_200F_202A_206C_206D_200F_206D_200D_206C_206C_206C_206B_202B_206D_202D_206D_200B_200D_206B_200E_200C_200C_206C_206B_200D_202E._206E_202B_206F_200E_206F_206F_206C_206C_206F_206A_202E_202B_200F_200F_202E_202B_206F_200E_202D_202B_200B_200B_206A_206B_202C_206A_200C_206B_206E_200C_202D_202E_200D_200D_200B_202B_202A_202D_200E_200D_202E(num))); + _206B_200F_202B_200D_200D_202C_206D_200B_206B_200D_206D_202E_206E_202B_202B_200F_200F_202A_206C_206D_200F_206D_200D_206C_206C_206C_206B_202B_206D_202D_206D_200B_200D_206B_200E_200C_200C_206C_206B_200D_202E._206D_200F_206D_200F_206D_202B_206A_206C_200F_206A_200B_206A_206B_200E_206E_206D_206E_200C_206E_200E_206A_202B_200E_206B_200B_206D_200F_202B_206F_206A_200D_200E_206C_200B_206F_206B_200B_206E_200B_202E_202E(b2); + obj._202D_200F_206B_206D_202D_202E_202B_206D_206A_206A_206E_206E_200B_202E_206A_202B_202A_206C_200F_200D_200C_202E_200D_200E_206E_200C_206B_202E_206E_206F_200E_202E_206B_202C_206F_202C_200D_206E_200E_200D_202E(); + ulong num14 = num5; + num7 = 1L; + num8 = (long)num14; + num5 = (ulong)((num8 | num7) + (num8 & num7)); + continue; + } + uint num20; + if (_202B_202C_206A_200C_206E_200D_202C_206E_200E_202E_202C_206F_206F_206E_206D_202E_206B_206E_206F_202E_200E_206E_202D_200F_202A_202B_206C_202B_206D_206E_206F_202E_200E_202C_206B_200B_206A_202A_200B_206D_202E[obj._200C_200B_202B_206C_206A_206E_200B_200D_206B_202E_206B_202D_206F_200E_202B_200B_200F_200F_202D_202D_200C_202E_202C_206A_200E_200B_202A_200D_206B_200D_200B_206E_202D_200B_206A_202A_206C_202E_200E_200F_202E]._202B_206A_206C_200D_206D_206E_206E_206E_202D_202C_206B_206F_206C_206D_200E_206B_202A_202E_206F_202B_206A_202B_202B_202A_206D_200F_200C_206A_200D_202A_202E_200E_206A_206A_200D_206F_206A_200C_200B_202D_202E(_200C_206C_202D_200E_202C_202E_206A_202A_200F_202D_200E_202A_206F_202D_206B_206C_202E_200C_206D_206B_202D_200E_202A_206D_206A_206F_202E_200C_200B_206D_206A_202E_206C_206D_202D_200B_206F_206B_202A_206D_202E) == 1) + { + if (_206A_200D_206E_206F_206F_202E_200E_206E_206C_206F_200D_206E_206A_202A_202C_206F_206F_202C_200C_202E_200C_200B_200D_202C_200E_202C_202A_206D_202D_206C_200E_202E_206C_206A_206B_206F_200E_200D_206E_202E_202E[obj._200C_200B_202B_206C_206A_206E_200B_200D_206B_202E_206B_202D_206F_200E_202B_200B_200F_200F_202D_202D_200C_202E_202C_206A_200E_200B_202A_200D_206B_200D_200B_206E_202D_200B_206A_202A_206C_202E_200E_200F_202E]._202B_206A_206C_200D_206D_206E_206E_206E_202D_202C_206B_206F_206C_206D_200E_206B_202A_202E_206F_202B_206A_202B_202B_202A_206D_200F_200C_206A_200D_202A_202E_200E_206A_206A_200D_206F_206A_200C_200B_202D_202E(_200C_206C_202D_200E_202C_202E_206A_202A_200F_202D_200E_202A_206F_202D_206B_206C_202E_200C_206D_206B_202D_200E_202A_206D_206A_206F_202E_200C_200B_206D_206A_202E_206C_206D_202D_200B_206F_206B_202A_206D_202E) == 0) + { + _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E[] array2 = _200E_206F_200D_200F_206F_200F_202D_200F_202E_206B_206F_206F_206F_200F_206A_200E_200B_206D_206F_206B_206A_206B_202B_200B_200E_206A_200C_206A_200C_206C_202C_200B_200D_206F_200F_206D_200F_202A_200B_202E_202E; + uint num15 = obj._200C_200B_202B_206C_206A_206E_200B_200D_206B_202E_206B_202D_206F_200E_202B_200B_200F_200F_202D_202D_200C_202E_202C_206A_200E_200B_202A_200D_206B_200D_200B_206E_202D_200B_206A_202A_206C_202E_200E_200F_202E << 4; + num10 = (int)num12; + num11 = (int)num15; + if (array2[(num11 | num10) + (num11 & num10)]._202B_206A_206C_200D_206D_206E_206E_206E_202D_202C_206B_206F_206C_206D_200E_206B_202A_202E_206F_202B_206A_202B_202B_202A_206D_200F_200C_206A_200D_202A_202E_200E_206A_206A_200D_206F_206A_200C_200B_202D_202E(_200C_206C_202D_200E_202C_202E_206A_202A_200F_202D_200E_202A_206F_202D_206B_206C_202E_200C_206D_206B_202D_200E_202A_206D_206A_206F_202E_200C_200B_206D_206A_202E_206C_206D_202D_200B_206F_206B_202A_206D_202E) == 0) + { + obj._202A_206D_202C_202A_202C_206C_200B_206A_200F_202C_206F_200D_202C_200F_200F_206C_206F_200F_206B_206E_206E_202E_202D_200B_202C_206F_200D_206A_200D_200D_202D_200B_202C_202A_200C_206A_202E_200F_202C_206F_202E(); + _206B_200F_202B_200D_200D_202C_206D_200B_206B_200D_206D_202E_206E_202B_202B_200F_200F_202A_206C_206D_200F_206D_200D_206C_206C_206C_206B_202B_206D_202D_206D_200B_200D_206B_200E_200C_200C_206C_206B_200D_202E._206D_200F_206D_200F_206D_202B_206A_206C_200F_206A_200B_206A_206B_200E_206E_206D_206E_200C_206E_200E_206A_202B_200E_206B_200B_206D_200F_202B_206F_206A_200D_200E_206C_200B_206F_206B_200B_206E_200B_202E_202E(_206B_200F_202B_200D_200D_202C_206D_200B_206B_200D_206D_202E_206E_202B_202B_200F_200F_202A_206C_206D_200F_206D_200D_206C_206C_206C_206B_202B_206D_202D_206D_200B_200D_206B_200E_200C_200C_206C_206B_200D_202E._206E_202B_206F_200E_206F_206F_206C_206C_206F_206A_202E_202B_200F_200F_202E_202B_206F_200E_202D_202B_200B_200B_206A_206B_202C_206A_200C_206B_206E_200C_202D_202E_200D_200D_200B_202B_202A_202D_200E_200D_202E(num)); + ulong num16 = num5; + num7 = 1L; + num8 = (long)num16; + long num17 = num8 ^ num7; + long num18 = num8 & num7; + num5 = (ulong)(num17 + (num18 + num18)); + continue; + } + } + else + { + uint num19; + if (_200E_202E_206C_202C_200E_200F_200C_202C_206F_206C_206D_200C_200C_202B_206C_202A_200E_200B_200F_200C_206D_202B_200F_202A_206D_202B_206B_206F_200F_206B_202E_202D_206A_206F_200B_202B_202A_206A_206C_206D_202E[obj._200C_200B_202B_206C_206A_206E_200B_200D_206B_202E_206B_202D_206F_200E_202B_200B_200F_200F_202D_202D_200C_202E_202C_206A_200E_200B_202A_200D_206B_200D_200B_206E_202D_200B_206A_202A_206C_202E_200E_200F_202E]._202B_206A_206C_200D_206D_206E_206E_206E_202D_202C_206B_206F_206C_206D_200E_206B_202A_202E_206F_202B_206A_202B_202B_202A_206D_200F_200C_206A_200D_202A_202E_200E_206A_206A_200D_206F_206A_200C_200B_202D_202E(_200C_206C_202D_200E_202C_202E_206A_202A_200F_202D_200E_202A_206F_202D_206B_206C_202E_200C_206D_206B_202D_200E_202A_206D_206A_206F_202E_200C_200B_206D_206A_202E_206C_206D_202D_200B_206F_206B_202A_206D_202E) == 0) + { + num19 = num2; + } + else + { + if (_206B_206F_202B_206E_200E_206C_206F_202B_200C_206D_206D_200D_206A_200E_200C_206D_206A_206C_206B_202B_206C_206B_202D_206D_202A_206C_202B_200B_206E_206A_200F_206D_200B_206F_206A_202D_202E_200F_200D_202E_202E[obj._200C_200B_202B_206C_206A_206E_200B_200D_206B_202E_206B_202D_206F_200E_202B_200B_200F_200F_202D_202D_200C_202E_202C_206A_200E_200B_202A_200D_206B_200D_200B_206E_202D_200B_206A_202A_206C_202E_200E_200F_202E]._202B_206A_206C_200D_206D_206E_206E_206E_202D_202C_206B_206F_206C_206D_200E_206B_202A_202E_206F_202B_206A_202B_202B_202A_206D_200F_200C_206A_200D_202A_202E_200E_206A_206A_200D_206F_206A_200C_200B_202D_202E(_200C_206C_202D_200E_202C_202E_206A_202A_200F_202D_200E_202A_206F_202D_206B_206C_202E_200C_206D_206B_202D_200E_202A_206D_206A_206F_202E_200C_200B_206D_206A_202E_206C_206D_202D_200B_206F_206B_202A_206D_202E) == 0) + { + num19 = num3; + } + else + { + num19 = num4; + num4 = num3; + } + num3 = num2; + } + num2 = num; + num = num19; + } + num20 = _202A_202E_200E_206A_206C_206C_200E_200E_206B_202B_206B_206A_202C_206D_200E_202D_200E_202A_200D_202A_206F_206B_200C_202E_200B_200B_200E_206B_200D_200F_200D_206D_206A_206E_206E_202B_206C_200C_206C_202E_202E._206A_200B_206C_206C_202C_200D_202A_206A_206A_202D_206F_206F_202A_200F_206C_206C_206A_206B_202A_200F_206E_206D_202A_202A_200D_202C_202B_202C_200B_200B_200E_202D_200C_206B_206F_206F_202C_206C_206A_200D_202E(_200C_206C_202D_200E_202C_202E_206A_202A_200F_202D_200E_202A_206F_202D_206B_206C_202E_200C_206D_206B_202D_200E_202A_206D_206A_206F_202E_200C_200B_206D_206A_202E_206C_206D_202D_200B_206F_206B_202A_206D_202E, num12) + 2; + obj._206C_206E_206D_200B_202C_202C_206F_202B_206E_202C_202B_200F_206E_200B_206F_206D_202A_206D_202B_206E_202C_202C_202C_202E_202B_202C_202C_206D_200C_200B_206E_206C_206C_200B_206D_202E_202E_206F_200E_202C_202E(); + } + else + { + num4 = num3; + num3 = num2; + num2 = num; + num20 = 2 + _206B_206E_202D_200D_206C_200C_206B_206E_202D_206D_200C_202B_206E_200C_200C_206A_200E_202B_206E_202A_200B_206B_206E_206D_200C_202B_200D_206B_200F_206B_206E_206D_206E_200E_202A_206F_206B_202C_202E_202C_202E._206A_200B_206C_206C_202C_200D_202A_206A_206A_202D_206F_206F_202A_200F_206C_206C_206A_206B_202A_200F_206E_206D_202A_202A_200D_202C_202B_202C_200B_200B_200E_202D_200C_206B_206F_206F_202C_206C_206A_200D_202E(_200C_206C_202D_200E_202C_202E_206A_202A_200F_202D_200E_202A_206F_202D_206B_206C_202E_200C_206D_206B_202D_200E_202A_206D_206A_206F_202E_200C_200B_206D_206A_202E_206C_206D_202D_200B_206F_206B_202A_206D_202E, num12); + obj._200E_206E_202C_202C_200B_202D_206C_202A_200D_206B_200B_200C_206D_206E_202C_202C_206B_206B_202B_200D_206B_202D_206D_206E_206B_202A_202A_202C_202D_200D_202D_206F_206F_206F_202A_206C_200E_200D_202B_206E_202E(); + uint num21 = _200E_200D_206D_206B_200F_202C_200C_206B_202E_200D_202A_200D_206F_202C_206F_200D_202B_206D_200F_200F_200F_200F_202A_200D_200B_200F_202A_206F_202B_202C_200F_206C_202B_202A_202C_200E_206E_202B_206C_202C_202E[_200F_202D_202A_206E_202E_202A_206E_200F_206F_202E_200E_206E_202B_200D_206A_206E_206F_206B_200B_206E_200D_200F_200B_206F_200F_202C_206E_206A_206F_200F_206D_202C_200F_200D_202D_206D_202B_206D_206B_206E_202E(num20)]._206A_200F_206F_202C_202C_200B_202A_206C_202E_200F_200F_202C_202D_206D_200C_206D_202C_206D_206F_202D_202A_202B_200D_200B_200E_202B_202B_206F_200F_206C_206C_200D_202A_206A_200E_200E_202C_206E_200F_206C_202E(_200C_206C_202D_200E_202C_202E_206A_202A_200F_202D_200E_202A_206F_202D_206B_206C_202E_200C_206D_206B_202D_200E_202A_206D_206A_206F_202E_200C_200B_206D_206A_202E_206C_206D_202D_200B_206F_206B_202A_206D_202E); + if (num21 >= 4) + { + uint num22 = num21 >> 1; + num10 = 1; + num11 = (int)num22; + int num23 = ~(~num11 + num10); + num10 = 1; + num11 = (int)num21; + num10 = (num11 | num10) - (num11 ^ num10); + num11 = 2; + int num24 = num11 + num10 - (num11 & num10); + num10 = 31; + num11 = num23; + num = (uint)(num24 << num11 + num10 - (num11 | num10)); + if (num21 < 14) + { + uint num25 = num; + _202B_202B_202D_200D_206A_200D_206A_200F_200B_206E_206F_202E_206F_200F_202A_200B_202B_200F_206C_202C_206B_200B_200C_206D_200E_206A_200D_200C_202D_206E_206B_206D_206C_206E_206C_206A_206F_200E_206F_206A_202E[] models = _200D_202A_200C_202B_200F_206B_202D_206E_202C_206D_202A_202B_202E_202A_200C_200D_206D_206D_202B_200D_206E_202A_200C_206B_206C_206D_202C_206F_202E_200E_200D_200C_206E_206D_206C_200E_202C_206C_202A_202D_202E; + uint num26 = num; + num10 = (int)num21; + num11 = (int)num26; + int num27 = ~(~num11 + num10); + num10 = 1; + num11 = num27; + num = num25 + _202A_202D_206C_202A_206F_206B_206A_206B_206A_200E_206D_206E_206D_206C_202B_202E_206D_206C_200E_206E_200B_200B_206C_206D_202C_200D_202E_202D_202A_206B_202A_206B_206C_200F_202B_202E_206D_202E_200E_206B_202E._200E_202D_206A_200D_202C_202C_202A_202C_202E_206E_206F_202C_206C_202B_200B_206B_202E_200E_202C_206D_202D_200F_202C_206A_206F_202D_202C_206D_202B_206E_202B_206F_206D_200D_206F_200E_206C_200B_206E_202E(models, (uint)(~(~num11 + num10)), _200C_206C_202D_200E_202C_202E_206A_202A_200F_202D_200E_202A_206F_202D_206B_206C_202E_200C_206D_206B_202D_200E_202A_206D_206A_206F_202E_200C_200B_206D_206A_202E_206C_206D_202D_200B_206F_206B_202A_206D_202E, num23); + } + else + { + uint num28 = num; + _206B_206E_202C_202E_206C_200F_200C_200F_206D_202B_206F_202E_202E_202B_206B_202D_206E_206D_200B_202B_206B_200D_206A_200E_200B_200E_202A_206B_206C_206E_202B_200D_206C_202E_200D_206D_206A_206D_202B_202D_202E obj2 = _200C_206C_202D_200E_202C_202E_206A_202A_200F_202D_200E_202A_206F_202D_206B_206C_202E_200C_206D_206B_202D_200E_202A_206D_206A_206F_202E_200C_200B_206D_206A_202E_206C_206D_202D_200B_206F_206B_202A_206D_202E; + num10 = 4; + num11 = num23; + num = num28 + (obj2._206D_200E_202B_200B_206C_206F_202C_206F_206F_206A_202B_202E_200B_202E_200B_206A_200C_202D_202B_206B_206B_206A_202A_206C_206C_202A_202A_206B_206D_202D_206B_206B_206F_202B_206A_200D_202D_200C_202C_202D_202E(~(~num11 + num10)) << 4); + num += _206C_200B_206F_206C_206D_200E_206E_206A_200B_202C_200B_206E_202D_200F_206E_202B_200B_202B_206B_200F_200C_202A_206D_206B_202E_200B_202C_200B_206E_206A_200C_202A_206D_200E_206A_200C_202A_200D_200B_206E_202E._200F_200B_202E_202A_206D_206D_202B_200B_200D_206C_200B_202A_200E_206F_202E_202C_202E_206C_200C_206A_202B_206A_206C_200C_206B_206E_206B_202C_202D_202D_206E_202C_202E_206F_202B_206A_200E_206E_206F_202C_202E(_200C_206C_202D_200E_202C_202E_206A_202A_200F_202D_200E_202A_206F_202D_206B_206C_202E_200C_206D_206B_202D_200E_202A_206D_206A_206F_202E_200C_200B_206D_206A_202E_206C_206D_202D_200B_206F_206B_202A_206D_202E); + } + } + else + { + num = num21; + } + } + if ((num >= num5 || num >= _202C_202E_206A_200D_200D_202B_200B_202B_200B_206D_200F_200F_200C_206F_206C_200D_202C_200C_200F_206D_200E_200B_202E_200D_200C_200E_202A_200E_206F_200F_202D_206D_202E_206A_200D_206D_206C_202C_200F_202A_202E) && num == uint.MaxValue) + { + break; + } + _206B_200F_202B_200D_200D_202C_206D_200B_206B_200D_206D_202E_206E_202B_202B_200F_200F_202A_206C_206D_200F_206D_200D_206C_206C_206C_206B_202B_206D_202D_206D_200B_200D_206B_200E_200C_200C_206C_206B_200D_202E._200D_206C_206F_200C_206E_200C_200C_202A_200F_200E_206A_206B_206A_202B_200E_200C_206C_202A_206C_202A_202B_202B_206C_202E_206A_206C_202D_202B_200C_200B_200C_206F_206D_200E_206A_202C_202C_202A_200E_206F_202E(num, num20); + ulong num29 = num5; + num7 = num20; + num8 = (long)num29; + num5 = (ulong)((num8 | num7) + (num8 & num7)); + } + _206B_200F_202B_200D_200D_202C_206D_200B_206B_200D_206D_202E_206E_202B_202B_200F_200F_202A_206C_206D_200F_206D_200D_206C_206C_206C_206B_202B_206D_202D_206D_200B_200D_206B_200E_200C_200C_206C_206B_200D_202E._206C_200F_202D_202D_206C_206D_200D_200D_202E_202C_202C_206F_206A_200C_200E_200E_200B_200C_206C_202B_206F_200B_200E_202E_200B_202C_206B_200F_200D_200E_206F_202D_202B_200C_202C_206D_202B_200C_202B_200C_202E(); + _206B_200F_202B_200D_200D_202C_206D_200B_206B_200D_206D_202E_206E_202B_202B_200F_200F_202A_206C_206D_200F_206D_200D_206C_206C_206C_206B_202B_206D_202D_206D_200B_200D_206B_200E_200C_200C_206C_206B_200D_202E._202C_202D_200D_200E_202D_206C_206C_202D_202B_202B_202D_206D_200F_206D_200D_202B_200B_206B_206A_206D_206D_206E_202E_206F_200C_202A_206B_202E_202E_202B_202C_206D_200F_200D_202B_200D_206F_206A_200F_206B_202E(); + _200C_206C_202D_200E_202C_202E_206A_202A_200F_202D_200E_202A_206F_202D_206B_206C_202E_200C_206D_206B_202D_200E_202A_206D_206A_206F_202E_200C_200B_206D_206A_202E_206C_206D_202D_200B_206F_206B_202A_206D_202E._200F_202A_202A_202A_206B_202C_206E_200C_200F_206F_202B_206B_206D_206B_200C_200E_206C_202B_206F_206B_202C_206F_206E_202A_202C_206E_206B_202B_202D_202C_206F_206D_206A_202E_200B_200C_200B_200C_202B_206A_202E(); + } + + internal void _202D_200B_206F_206A_206B_202C_206E_206C_202C_206E_202C_206F_202E_200D_200B_200D_200D_206E_200E_200F_206F_206B_200D_200B_200E_202A_202D_202A_200C_200E_206F_202E_200C_202D_206B_206C_202C_206C_200D_200D_202E(byte[] properties) + { + int lc = properties[0] % 9; + int num = properties[0] / 9; + int lp = num % 5; + int pb = num / 5; + uint num2 = 0u; + int num3 = 0; + while (num3 < 4) + { + uint num4 = num2; + int num5 = num3; + int num6 = 1; + int num7 = num6 ^ num5; + int num8 = num6 & num5; + byte num9 = properties[num7 + (num8 + num8)]; + int num10 = num3 * 8; + num5 = 31; + num6 = num10; + num5 = num9 << num6 + num5 - (num6 | num5); + num6 = (int)num4; + num2 = (uint)((num6 | num5) + (num6 & num5)); + int num11 = num3; + num5 = 1; + num6 = num11; + int num12 = num6 ^ num5; + int num13 = num6 & num5; + num3 = num12 + (num13 + num13); + } + _200B_200D_202E_206D_200B_202E_200D_200D_202C_202A_200F_202E_200E_202E_202C_200C_202A_200C_206B_200E_200E_202E_200D_202A_202B_200F_206C_202A_206C_202B_206C_200E_206F_206C_202B_200F_206A_202A_200C_202E_202E(num2); + _206E_200B_206E_206E_200F_200E_200C_200D_202C_202E_206E_200F_206C_206A_200F_202D_200D_200E_202C_200E_200F_200C_206E_206A_202D_202A_200F_206A_200B_200F_206F_206A_202C_202B_206D_202A_206F_206E_200C_206B_202E(lp, lc); + _200B_206F_206F_206A_206E_206E_200D_206F_206D_200B_206E_206B_206D_200E_200F_206B_206F_206E_202E_206A_200D_206C_202D_206A_200B_202C_202E_202C_202E_200D_206E_202E_202D_200C_206F_200B_206E_206A_206B_202B_202E(pb); + } + + internal static uint _200F_202D_202A_206E_202E_202A_206E_200F_206F_202E_200E_206E_202B_200D_206A_206E_206F_206B_200B_206E_200D_200F_200B_206F_200F_202C_206E_206A_206F_200F_206D_202C_200F_200D_202D_206D_202B_206D_206B_206E_202E(uint len) + { + uint num = len; + int num2 = 2; + int num3 = (int)num; + len = (uint)(~(~num3 + num2)); + if (len < 4) + { + return len; + } + return 3u; + } +} +internal class _206C_206B_206B_206A_206E_200B_206F_200D_206E_200B_200E_202C_202C_206C_202C_202B_206D_206D_206B_206A_206A_200F_200E_206F_202D_200F_202C_202C_206D_202B_202E_202E_202A_200F_206D_202A_200F_200F_206E_200D_202E +{ + internal byte[] _206F_206F_206C_200F_206D_200C_200C_206A_206A_202B_206F_202C_206D_200C_202B_206C_202C_200C_200F_202A_202D_200B_202D_206B_202E_202A_206A_206B_206D_202A_206D_200C_200F_202D_202E_202A_206B_202E_200D_206F_202E; + + internal uint _202C_202E_206C_200D_202E_206C_206D_200C_200F_206C_206A_206E_200F_202B_200D_206B_206D_200B_206F_200C_202C_200D_202D_202B_200C_202A_200C_206B_202B_206A_202A_206F_206C_200E_202E_200D_202A_206A_200B_200E_202E; + + internal Stream _206D_200C_202C_206A_200F_200B_202E_200B_202C_202C_206C_202C_206A_202B_202E_206F_206C_202C_206E_206D_200F_200E_202E_202D_206D_200C_200B_202E_206A_206E_206E_206E_200C_200B_202D_202C_200B_200E_206F_202D_202E; + + internal uint _202C_200C_202E_202A_200B_200B_206F_200C_206E_202D_202E_202A_206A_206F_200E_200C_206E_200B_202D_200D_206B_206F_202D_202C_206C_200E_200B_202C_200B_200E_202A_206A_206D_202E_200B_202C_206D_206C_200C_202D_202E; + + internal uint _202A_206D_206C_206B_206B_202C_202B_202C_200F_202A_200B_200B_202A_200F_206E_202E_202B_202A_206C_206D_200E_200F_200F_202A_200E_206C_200F_206C_200E_206A_200C_202B_200F_206A_202A_202C_202D_206B_206D_200E_202E; + + internal void _202E_200F_206E_200F_206D_206F_202D_202E_200B_206E_206A_202C_202C_202D_202A_206E_206F_200B_206B_206E_200B_202E_206D_202E_206B_206D_202A_206F_202E_202A_202C_200C_206A_206F_206B_206D_206B_200D_202D_202C_202E(uint windowSize) + { + if (_202A_206D_206C_206B_206B_202C_202B_202C_200F_202A_200B_200B_202A_200F_206E_202E_202B_202A_206C_206D_200E_200F_200F_202A_200E_206C_200F_206C_200E_206A_200C_202B_200F_206A_202A_202C_202D_206B_206D_200E_202E != windowSize) + { + _206F_206F_206C_200F_206D_200C_200C_206A_206A_202B_206F_202C_206D_200C_202B_206C_202C_200C_200F_202A_202D_200B_202D_206B_202E_202A_206A_206B_206D_202A_206D_200C_200F_202D_202E_202A_206B_202E_200D_206F_202E = new byte[windowSize]; + } + _202A_206D_206C_206B_206B_202C_202B_202C_200F_202A_200B_200B_202A_200F_206E_202E_202B_202A_206C_206D_200E_200F_200F_202A_200E_206C_200F_206C_200E_206A_200C_202B_200F_206A_202A_202C_202D_206B_206D_200E_202E = windowSize; + _202C_202E_206C_200D_202E_206C_206D_200C_200F_206C_206A_206E_200F_202B_200D_206B_206D_200B_206F_200C_202C_200D_202D_202B_200C_202A_200C_206B_202B_206A_202A_206F_206C_200E_202E_200D_202A_206A_200B_200E_202E = 0u; + _202C_200C_202E_202A_200B_200B_206F_200C_206E_202D_202E_202A_206A_206F_200E_200C_206E_200B_202D_200D_206B_206F_202D_202C_206C_200E_200B_202C_200B_200E_202A_206A_206D_202E_200B_202C_206D_206C_200C_202D_202E = 0u; + } + + internal void _202C_206D_200C_200B_206E_206F_206C_206A_200E_202C_200C_200C_206B_206D_200B_202B_202E_206D_206A_200B_202C_200F_202B_202B_206C_202E_202B_200C_200C_200E_206B_206C_206D_200C_206C_206D_200D_200C_202A_206F_202E(Stream stream, bool solid) + { + _202C_202D_200D_200E_202D_206C_206C_202D_202B_202B_202D_206D_200F_206D_200D_202B_200B_206B_206A_206D_206D_206E_202E_206F_200C_202A_206B_202E_202E_202B_202C_206D_200F_200D_202B_200D_206F_206A_200F_206B_202E(); + _206D_200C_202C_206A_200F_200B_202E_200B_202C_202C_206C_202C_206A_202B_202E_206F_206C_202C_206E_206D_200F_200E_202E_202D_206D_200C_200B_202E_206A_206E_206E_206E_200C_200B_202D_202C_200B_200E_206F_202D_202E = stream; + if (!solid) + { + _202C_200C_202E_202A_200B_200B_206F_200C_206E_202D_202E_202A_206A_206F_200E_200C_206E_200B_202D_200D_206B_206F_202D_202C_206C_200E_200B_202C_200B_200E_202A_206A_206D_202E_200B_202C_206D_206C_200C_202D_202E = 0u; + _202C_202E_206C_200D_202E_206C_206D_200C_200F_206C_206A_206E_200F_202B_200D_206B_206D_200B_206F_200C_202C_200D_202D_202B_200C_202A_200C_206B_202B_206A_202A_206F_206C_200E_202E_200D_202A_206A_200B_200E_202E = 0u; + } + } + + internal void _202C_202D_200D_200E_202D_206C_206C_202D_202B_202B_202D_206D_200F_206D_200D_202B_200B_206B_206A_206D_206D_206E_202E_206F_200C_202A_206B_202E_202E_202B_202C_206D_200F_200D_202B_200D_206F_206A_200F_206B_202E() + { + _206C_200F_202D_202D_206C_206D_200D_200D_202E_202C_202C_206F_206A_200C_200E_200E_200B_200C_206C_202B_206F_200B_200E_202E_200B_202C_206B_200F_200D_200E_206F_202D_202B_200C_202C_206D_202B_200C_202B_200C_202E(); + _206D_200C_202C_206A_200F_200B_202E_200B_202C_202C_206C_202C_206A_202B_202E_206F_206C_202C_206E_206D_200F_200E_202E_202D_206D_200C_200B_202E_206A_206E_206E_206E_200C_200B_202D_202C_200B_200E_206F_202D_202E = null; + Buffer.BlockCopy(new byte[_206F_206F_206C_200F_206D_200C_200C_206A_206A_202B_206F_202C_206D_200C_202B_206C_202C_200C_200F_202A_202D_200B_202D_206B_202E_202A_206A_206B_206D_202A_206D_200C_200F_202D_202E_202A_206B_202E_200D_206F_202E.Length], 0, _206F_206F_206C_200F_206D_200C_200C_206A_206A_202B_206F_202C_206D_200C_202B_206C_202C_200C_200F_202A_202D_200B_202D_206B_202E_202A_206A_206B_206D_202A_206D_200C_200F_202D_202E_202A_206B_202E_200D_206F_202E, 0, _206F_206F_206C_200F_206D_200C_200C_206A_206A_202B_206F_202C_206D_200C_202B_206C_202C_200C_200F_202A_202D_200B_202D_206B_202E_202A_206A_206B_206D_202A_206D_200C_200F_202D_202E_202A_206B_202E_200D_206F_202E.Length); + } + + internal void _206C_200F_202D_202D_206C_206D_200D_200D_202E_202C_202C_206F_206A_200C_200E_200E_200B_200C_206C_202B_206F_200B_200E_202E_200B_202C_206B_200F_200D_200E_206F_202D_202B_200C_202C_206D_202B_200C_202B_200C_202E() + { + uint num = _202C_202E_206C_200D_202E_206C_206D_200C_200F_206C_206A_206E_200F_202B_200D_206B_206D_200B_206F_200C_202C_200D_202D_202B_200C_202A_200C_206B_202B_206A_202A_206F_206C_200E_202E_200D_202A_206A_200B_200E_202E; + int num2 = (int)_202C_200C_202E_202A_200B_200B_206F_200C_206E_202D_202E_202A_206A_206F_200E_200C_206E_200B_202D_200D_206B_206F_202D_202C_206C_200E_200B_202C_200B_200E_202A_206A_206D_202E_200B_202C_206D_206C_200C_202D_202E; + int num3 = (int)num; + uint num4 = (uint)(~(~num3 + num2)); + if (num4 != 0) + { + _206D_200C_202C_206A_200F_200B_202E_200B_202C_202C_206C_202C_206A_202B_202E_206F_206C_202C_206E_206D_200F_200E_202E_202D_206D_200C_200B_202E_206A_206E_206E_206E_200C_200B_202D_202C_200B_200E_206F_202D_202E.Write(_206F_206F_206C_200F_206D_200C_200C_206A_206A_202B_206F_202C_206D_200C_202B_206C_202C_200C_200F_202A_202D_200B_202D_206B_202E_202A_206A_206B_206D_202A_206D_200C_200F_202D_202E_202A_206B_202E_200D_206F_202E, (int)_202C_200C_202E_202A_200B_200B_206F_200C_206E_202D_202E_202A_206A_206F_200E_200C_206E_200B_202D_200D_206B_206F_202D_202C_206C_200E_200B_202C_200B_200E_202A_206A_206D_202E_200B_202C_206D_206C_200C_202D_202E, (int)num4); + if (_202C_202E_206C_200D_202E_206C_206D_200C_200F_206C_206A_206E_200F_202B_200D_206B_206D_200B_206F_200C_202C_200D_202D_202B_200C_202A_200C_206B_202B_206A_202A_206F_206C_200E_202E_200D_202A_206A_200B_200E_202E >= _202A_206D_206C_206B_206B_202C_202B_202C_200F_202A_200B_200B_202A_200F_206E_202E_202B_202A_206C_206D_200E_200F_200F_202A_200E_206C_200F_206C_200E_206A_200C_202B_200F_206A_202A_202C_202D_206B_206D_200E_202E) + { + _202C_202E_206C_200D_202E_206C_206D_200C_200F_206C_206A_206E_200F_202B_200D_206B_206D_200B_206F_200C_202C_200D_202D_202B_200C_202A_200C_206B_202B_206A_202A_206F_206C_200E_202E_200D_202A_206A_200B_200E_202E = 0u; + } + _202C_200C_202E_202A_200B_200B_206F_200C_206E_202D_202E_202A_206A_206F_200E_200C_206E_200B_202D_200D_206B_206F_202D_202C_206C_200E_200B_202C_200B_200E_202A_206A_206D_202E_200B_202C_206D_206C_200C_202D_202E = _202C_202E_206C_200D_202E_206C_206D_200C_200F_206C_206A_206E_200F_202B_200D_206B_206D_200B_206F_200C_202C_200D_202D_202B_200C_202A_200C_206B_202B_206A_202A_206F_206C_200E_202E_200D_202A_206A_200B_200E_202E; + } + } + + internal void _200D_206C_206F_200C_206E_200C_200C_202A_200F_200E_206A_206B_206A_202B_200E_200C_206C_202A_206C_202A_202B_202B_206C_202E_206A_206C_202D_202B_200C_200B_200C_206F_206D_200E_206A_202C_202C_202A_200E_206F_202E(uint distance, uint len) + { + uint num = _202C_202E_206C_200D_202E_206C_206D_200C_200F_206C_206A_206E_200F_202B_200D_206B_206D_200B_206F_200C_202C_200D_202D_202B_200C_202A_200C_206B_202B_206A_202A_206F_206C_200E_202E_200D_202A_206A_200B_200E_202E; + int num2 = (int)distance; + int num3 = (int)num; + int num4 = ~(~num3 + num2); + num2 = 1; + num3 = num4; + uint num5 = (uint)(~(~num3 + num2)); + if (num5 >= _202A_206D_206C_206B_206B_202C_202B_202C_200F_202A_200B_200B_202A_200F_206E_202E_202B_202A_206C_206D_200E_200F_200F_202A_200E_206C_200F_206C_200E_206A_200C_202B_200F_206A_202A_202C_202D_206B_206D_200E_202E) + { + uint num6 = num5; + num2 = (int)_202A_206D_206C_206B_206B_202C_202B_202C_200F_202A_200B_200B_202A_200F_206E_202E_202B_202A_206C_206D_200E_200F_200F_202A_200E_206C_200F_206C_200E_206A_200C_202B_200F_206A_202A_202C_202D_206B_206D_200E_202E; + num3 = (int)num6; + int num7 = num3 ^ num2; + int num8 = num3 & num2; + num5 = (uint)(num7 + (num8 + num8)); + } + while (len != 0) + { + if (num5 >= _202A_206D_206C_206B_206B_202C_202B_202C_200F_202A_200B_200B_202A_200F_206E_202E_202B_202A_206C_206D_200E_200F_200F_202A_200E_206C_200F_206C_200E_206A_200C_202B_200F_206A_202A_202C_202D_206B_206D_200E_202E) + { + num5 = 0u; + } + byte[] array = _206F_206F_206C_200F_206D_200C_200C_206A_206A_202B_206F_202C_206D_200C_202B_206C_202C_200C_200F_202A_202D_200B_202D_206B_202E_202A_206A_206B_206D_202A_206D_200C_200F_202D_202E_202A_206B_202E_200D_206F_202E; + uint num9 = _202C_202E_206C_200D_202E_206C_206D_200C_200F_206C_206A_206E_200F_202B_200D_206B_206D_200B_206F_200C_202C_200D_202D_202B_200C_202A_200C_206B_202B_206A_202A_206F_206C_200E_202E_200D_202A_206A_200B_200E_202E; + num2 = 1; + num3 = (int)num9; + _202C_202E_206C_200D_202E_206C_206D_200C_200F_206C_206A_206E_200F_202B_200D_206B_206D_200B_206F_200C_202C_200D_202D_202B_200C_202A_200C_206B_202B_206A_202A_206F_206C_200E_202E_200D_202A_206A_200B_200E_202E = (uint)((num3 | num2) + (num3 & num2)); + byte[] array2 = _206F_206F_206C_200F_206D_200C_200C_206A_206A_202B_206F_202C_206D_200C_202B_206C_202C_200C_200F_202A_202D_200B_202D_206B_202E_202A_206A_206B_206D_202A_206D_200C_200F_202D_202E_202A_206B_202E_200D_206F_202E; + uint num10 = num5; + num2 = 1; + num3 = (int)num10; + num5 = (uint)((num3 | num2) + (num3 & num2)); + array[num9] = array2[num10]; + if (_202C_202E_206C_200D_202E_206C_206D_200C_200F_206C_206A_206E_200F_202B_200D_206B_206D_200B_206F_200C_202C_200D_202D_202B_200C_202A_200C_206B_202B_206A_202A_206F_206C_200E_202E_200D_202A_206A_200B_200E_202E >= _202A_206D_206C_206B_206B_202C_202B_202C_200F_202A_200B_200B_202A_200F_206E_202E_202B_202A_206C_206D_200E_200F_200F_202A_200E_206C_200F_206C_200E_206A_200C_202B_200F_206A_202A_202C_202D_206B_206D_200E_202E) + { + _206C_200F_202D_202D_206C_206D_200D_200D_202E_202C_202C_206F_206A_200C_200E_200E_200B_200C_206C_202B_206F_200B_200E_202E_200B_202C_206B_200F_200D_200E_206F_202D_202B_200C_202C_206D_202B_200C_202B_200C_202E(); + } + uint num11 = len; + num2 = 1; + num3 = (int)num11; + len = (uint)(~(~num3 + num2)); + } + } + + internal void _206D_200F_206D_200F_206D_202B_206A_206C_200F_206A_200B_206A_206B_200E_206E_206D_206E_200C_206E_200E_206A_202B_200E_206B_200B_206D_200F_202B_206F_206A_200D_200E_206C_200B_206F_206B_200B_206E_200B_202E_202E(byte b) + { + byte[] array = _206F_206F_206C_200F_206D_200C_200C_206A_206A_202B_206F_202C_206D_200C_202B_206C_202C_200C_200F_202A_202D_200B_202D_206B_202E_202A_206A_206B_206D_202A_206D_200C_200F_202D_202E_202A_206B_202E_200D_206F_202E; + uint num = _202C_202E_206C_200D_202E_206C_206D_200C_200F_206C_206A_206E_200F_202B_200D_206B_206D_200B_206F_200C_202C_200D_202D_202B_200C_202A_200C_206B_202B_206A_202A_206F_206C_200E_202E_200D_202A_206A_200B_200E_202E; + int num2 = 1; + int num3 = (int)num; + int num4 = num3 ^ num2; + int num5 = num3 & num2; + _202C_202E_206C_200D_202E_206C_206D_200C_200F_206C_206A_206E_200F_202B_200D_206B_206D_200B_206F_200C_202C_200D_202D_202B_200C_202A_200C_206B_202B_206A_202A_206F_206C_200E_202E_200D_202A_206A_200B_200E_202E = (uint)(num4 + (num5 + num5)); + array[num] = b; + if (_202C_202E_206C_200D_202E_206C_206D_200C_200F_206C_206A_206E_200F_202B_200D_206B_206D_200B_206F_200C_202C_200D_202D_202B_200C_202A_200C_206B_202B_206A_202A_206F_206C_200E_202E_200D_202A_206A_200B_200E_202E >= _202A_206D_206C_206B_206B_202C_202B_202C_200F_202A_200B_200B_202A_200F_206E_202E_202B_202A_206C_206D_200E_200F_200F_202A_200E_206C_200F_206C_200E_206A_200C_202B_200F_206A_202A_202C_202D_206B_206D_200E_202E) + { + _206C_200F_202D_202D_206C_206D_200D_200D_202E_202C_202C_206F_206A_200C_200E_200E_200B_200C_206C_202B_206F_200B_200E_202E_200B_202C_206B_200F_200D_200E_206F_202D_202B_200C_202C_206D_202B_200C_202B_200C_202E(); + } + } + + internal byte _206E_202B_206F_200E_206F_206F_206C_206C_206F_206A_202E_202B_200F_200F_202E_202B_206F_200E_202D_202B_200B_200B_206A_206B_202C_206A_200C_206B_206E_200C_202D_202E_200D_200D_200B_202B_202A_202D_200E_200D_202E(uint distance) + { + uint num = _202C_202E_206C_200D_202E_206C_206D_200C_200F_206C_206A_206E_200F_202B_200D_206B_206D_200B_206F_200C_202C_200D_202D_202B_200C_202A_200C_206B_202B_206A_202A_206F_206C_200E_202E_200D_202A_206A_200B_200E_202E; + int num2 = (int)distance; + int num3 = (int)num; + int num4 = ~(~num3 + num2); + num2 = 1; + num3 = num4; + uint num5 = (uint)(~(~num3 + num2)); + if (num5 >= _202A_206D_206C_206B_206B_202C_202B_202C_200F_202A_200B_200B_202A_200F_206E_202E_202B_202A_206C_206D_200E_200F_200F_202A_200E_206C_200F_206C_200E_206A_200C_202B_200F_206A_202A_202C_202D_206B_206D_200E_202E) + { + uint num6 = num5; + num2 = (int)_202A_206D_206C_206B_206B_202C_202B_202C_200F_202A_200B_200B_202A_200F_206E_202E_202B_202A_206C_206D_200E_200F_200F_202A_200E_206C_200F_206C_200E_206A_200C_202B_200F_206A_202A_202C_202D_206B_206D_200E_202E; + num3 = (int)num6; + num5 = (uint)((num3 | num2) + (num3 & num2)); + } + return _206F_206F_206C_200F_206D_200C_200C_206A_206A_202B_206F_202C_206D_200C_202B_206C_202C_200C_200F_202A_202D_200B_202D_206B_202E_202A_206A_206B_206D_202A_206D_200C_200F_202D_202E_202A_206B_202E_200D_206F_202E[num5]; + } + + internal _206C_206B_206B_206A_206E_200B_206F_200D_206E_200B_200E_202C_202C_206C_202C_202B_206D_206D_206B_206A_206A_200F_200E_206F_202D_200F_202C_202C_206D_202B_202E_202E_202A_200F_206D_202A_200F_200F_206E_200D_202E() + { + } +} +internal struct _200E_200D_202A_200C_200B_202D_200D_206A_200D_206F_206A_200E_202A_206F_202E_206A_200D_200C_206B_202D_202D_206E_202E_200C_202B_206A_200F_202D_206C_200B_206D_200D_202D_206A_206D_206F_206E_202E_206C_200C_202E +{ + internal uint _200C_200B_202B_206C_206A_206E_200B_200D_206B_202E_206B_202D_206F_200E_202B_200B_200F_200F_202D_202D_200C_202E_202C_206A_200E_200B_202A_200D_206B_200D_200B_206E_202D_200B_206A_202A_206C_202E_200E_200F_202E; + + internal void _206A_206D_202B_202A_200B_206F_202B_202D_202B_200D_200F_202D_206F_200C_202B_206B_200B_206A_200F_206B_206A_206D_200E_206A_200B_202E_206C_200F_206F_202B_200F_202A_200B_206D_200B_202E_206F_202D_200D_202D_202E() + { + _200C_200B_202B_206C_206A_206E_200B_200D_206B_202E_206B_202D_206F_200E_202B_200B_200F_200F_202D_202D_200C_202E_202C_206A_200E_200B_202A_200D_206B_200D_200B_206E_202D_200B_206A_202A_206C_202E_200E_200F_202E = 0u; + } + + internal void _202D_200F_206B_206D_202D_202E_202B_206D_206A_206A_206E_206E_200B_202E_206A_202B_202A_206C_200F_200D_200C_202E_200D_200E_206E_200C_206B_202E_206E_206F_200E_202E_206B_202C_206F_202C_200D_206E_200E_200D_202E() + { + if (_200C_200B_202B_206C_206A_206E_200B_200D_206B_202E_206B_202D_206F_200E_202B_200B_200F_200F_202D_202D_200C_202E_202C_206A_200E_200B_202A_200D_206B_200D_200B_206E_202D_200B_206A_202A_206C_202E_200E_200F_202E < 4) + { + _200C_200B_202B_206C_206A_206E_200B_200D_206B_202E_206B_202D_206F_200E_202B_200B_200F_200F_202D_202D_200C_202E_202C_206A_200E_200B_202A_200D_206B_200D_200B_206E_202D_200B_206A_202A_206C_202E_200E_200F_202E = 0u; + } + else if (_200C_200B_202B_206C_206A_206E_200B_200D_206B_202E_206B_202D_206F_200E_202B_200B_200F_200F_202D_202D_200C_202E_202C_206A_200E_200B_202A_200D_206B_200D_200B_206E_202D_200B_206A_202A_206C_202E_200E_200F_202E < 10) + { + uint num = _200C_200B_202B_206C_206A_206E_200B_200D_206B_202E_206B_202D_206F_200E_202B_200B_200F_200F_202D_202D_200C_202E_202C_206A_200E_200B_202A_200D_206B_200D_200B_206E_202D_200B_206A_202A_206C_202E_200E_200F_202E; + int num2 = 3; + int num3 = (int)num; + _200C_200B_202B_206C_206A_206E_200B_200D_206B_202E_206B_202D_206F_200E_202B_200B_200F_200F_202D_202D_200C_202E_202C_206A_200E_200B_202A_200D_206B_200D_200B_206E_202D_200B_206A_202A_206C_202E_200E_200F_202E = (uint)(~(~num3 + num2)); + } + else + { + uint num4 = _200C_200B_202B_206C_206A_206E_200B_200D_206B_202E_206B_202D_206F_200E_202B_200B_200F_200F_202D_202D_200C_202E_202C_206A_200E_200B_202A_200D_206B_200D_200B_206E_202D_200B_206A_202A_206C_202E_200E_200F_202E; + int num2 = 6; + int num3 = (int)num4; + _200C_200B_202B_206C_206A_206E_200B_200D_206B_202E_206B_202D_206F_200E_202B_200B_200F_200F_202D_202D_200C_202E_202C_206A_200E_200B_202A_200D_206B_200D_200B_206E_202D_200B_206A_202A_206C_202E_200E_200F_202E = (uint)(~(~num3 + num2)); + } + } + + internal void _200E_206E_202C_202C_200B_202D_206C_202A_200D_206B_200B_200C_206D_206E_202C_202C_206B_206B_202B_200D_206B_202D_206D_206E_206B_202A_202A_202C_202D_200D_202D_206F_206F_206F_202A_206C_200E_200D_202B_206E_202E() + { + _200C_200B_202B_206C_206A_206E_200B_200D_206B_202E_206B_202D_206F_200E_202B_200B_200F_200F_202D_202D_200C_202E_202C_206A_200E_200B_202A_200D_206B_200D_200B_206E_202D_200B_206A_202A_206C_202E_200E_200F_202E = ((_200C_200B_202B_206C_206A_206E_200B_200D_206B_202E_206B_202D_206F_200E_202B_200B_200F_200F_202D_202D_200C_202E_202C_206A_200E_200B_202A_200D_206B_200D_200B_206E_202D_200B_206A_202A_206C_202E_200E_200F_202E < 7) ? 7u : 10u); + } + + internal void _206C_206E_206D_200B_202C_202C_206F_202B_206E_202C_202B_200F_206E_200B_206F_206D_202A_206D_202B_206E_202C_202C_202C_202E_202B_202C_202C_206D_200C_200B_206E_206C_206C_200B_206D_202E_202E_206F_200E_202C_202E() + { + _200C_200B_202B_206C_206A_206E_200B_200D_206B_202E_206B_202D_206F_200E_202B_200B_200F_200F_202D_202D_200C_202E_202C_206A_200E_200B_202A_200D_206B_200D_200B_206E_202D_200B_206A_202A_206C_202E_200E_200F_202E = ((_200C_200B_202B_206C_206A_206E_200B_200D_206B_202E_206B_202D_206F_200E_202B_200B_200F_200F_202D_202D_200C_202E_202C_206A_200E_200B_202A_200D_206B_200D_200B_206E_202D_200B_206A_202A_206C_202E_200E_200F_202E < 7) ? 8u : 11u); + } + + internal void _202A_206D_202C_202A_202C_206C_200B_206A_200F_202C_206F_200D_202C_200F_200F_206C_206F_200F_206B_206E_206E_202E_202D_200B_202C_206F_200D_206A_200D_200D_202D_200B_202C_202A_200C_206A_202E_200F_202C_206F_202E() + { + _200C_200B_202B_206C_206A_206E_200B_200D_206B_202E_206B_202D_206F_200E_202B_200B_200F_200F_202D_202D_200C_202E_202C_206A_200E_200B_202A_200D_206B_200D_200B_206E_202D_200B_206A_202A_206C_202E_200E_200F_202E = ((_200C_200B_202B_206C_206A_206E_200B_200D_206B_202E_206B_202D_206F_200E_202B_200B_200F_200F_202D_202D_200C_202E_202C_206A_200E_200B_202A_200D_206B_200D_200B_206E_202D_200B_206A_202A_206C_202E_200E_200F_202E < 7) ? 9u : 11u); + } + + internal bool _206F_206B_206F_206A_202A_200B_200D_206D_206A_206D_206A_206C_206B_206A_200E_200E_200E_200D_206A_206B_206B_200C_202A_206A_202E_206F_206B_206C_202A_206A_202D_200F_206B_206F_202B_206A_200C_200B_200C_202E_202E() + { + return _200C_200B_202B_206C_206A_206E_200B_200D_206B_202E_206B_202D_206F_200E_202B_200B_200F_200F_202D_202D_200C_202E_202C_206A_200E_200B_202A_200D_206B_200D_200B_206E_202D_200B_206A_202A_206C_202E_200E_200F_202E < 7; + } +} +[StructLayout(LayoutKind.Explicit, Size = 2816)] +internal struct _206B_202C_206F_200D_200C_202B_202A_202C_206B_206E_202D_206C_206C_206F_206A_202C_206E_206E_206C_202C_206C_202C_200F_202A_200C_200B_202A_202D_200F_202E_202E_206F_200D_206E_200E_202C_206C_202E_200B_202E_202E +{ +} diff --git a/SmartNav/--z__ReadOnlyArray.cs b/SmartNav/--z__ReadOnlyArray.cs new file mode 100644 index 0000000..840f515 --- /dev/null +++ b/SmartNav/--z__ReadOnlyArray.cs @@ -0,0 +1,145 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Runtime.CompilerServices; + +[CompilerGenerated] +internal sealed class _003C_003Ez__ReadOnlyArray : IEnumerable, ICollection, IList, IEnumerable, IReadOnlyCollection, IReadOnlyList, ICollection, IList +{ + int ICollection.Count => _items.Length; + + bool ICollection.IsSynchronized => false; + + object ICollection.SyncRoot => this; + + object? IList.this[int index] + { + get + { + return _items[index]; + } + set + { + throw new NotSupportedException(); + } + } + + bool IList.IsFixedSize => true; + + bool IList.IsReadOnly => true; + + int IReadOnlyCollection.Count => _items.Length; + + T IReadOnlyList.this[int index] => _items[index]; + + int ICollection.Count => _items.Length; + + bool ICollection.IsReadOnly => true; + + T IList.this[int index] + { + get + { + return _items[index]; + } + set + { + throw new NotSupportedException(); + } + } + + public _003C_003Ez__ReadOnlyArray(T[] items) + { + _items = items; + } + + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)_items).GetEnumerator(); + } + + void ICollection.CopyTo(Array array, int index) + { + ((ICollection)_items).CopyTo(array, index); + } + + int IList.Add(object? value) + { + throw new NotSupportedException(); + } + + void IList.Clear() + { + throw new NotSupportedException(); + } + + bool IList.Contains(object? value) + { + return ((IList)_items).Contains(value); + } + + int IList.IndexOf(object? value) + { + return ((IList)_items).IndexOf(value); + } + + void IList.Insert(int index, object? value) + { + throw new NotSupportedException(); + } + + void IList.Remove(object? value) + { + throw new NotSupportedException(); + } + + void IList.RemoveAt(int index) + { + throw new NotSupportedException(); + } + + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)_items).GetEnumerator(); + } + + void ICollection.Add(T item) + { + throw new NotSupportedException(); + } + + void ICollection.Clear() + { + throw new NotSupportedException(); + } + + bool ICollection.Contains(T item) + { + return ((ICollection)_items).Contains(item); + } + + void ICollection.CopyTo(T[] array, int arrayIndex) + { + ((ICollection)_items).CopyTo(array, arrayIndex); + } + + bool ICollection.Remove(T item) + { + throw new NotSupportedException(); + } + + int IList.IndexOf(T item) + { + return ((IList)_items).IndexOf(item); + } + + void IList.Insert(int index, T item) + { + throw new NotSupportedException(); + } + + void IList.RemoveAt(int index) + { + throw new NotSupportedException(); + } +} diff --git a/SmartNav/--z__ReadOnlySingleElementList.cs b/SmartNav/--z__ReadOnlySingleElementList.cs new file mode 100644 index 0000000..5b22426 --- /dev/null +++ b/SmartNav/--z__ReadOnlySingleElementList.cs @@ -0,0 +1,201 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Runtime.CompilerServices; + +[CompilerGenerated] +internal sealed class _003C_003Ez__ReadOnlySingleElementList : IEnumerable, ICollection, IList, IEnumerable, IReadOnlyCollection, IReadOnlyList, ICollection, IList +{ + private sealed class Enumerator : IDisposable, IEnumerator, IEnumerator + { + object IEnumerator.Current => _item; + + T IEnumerator.Current => _item; + + public Enumerator(T item) + { + _item = item; + } + + bool IEnumerator.MoveNext() + { + if (!_moveNextCalled) + { + return _moveNextCalled = true; + } + return false; + } + + void IEnumerator.Reset() + { + _moveNextCalled = false; + } + + void IDisposable.Dispose() + { + } + } + + int ICollection.Count => 1; + + bool ICollection.IsSynchronized => false; + + object ICollection.SyncRoot => this; + + object? IList.this[int index] + { + get + { + if (index != 0) + { + throw new IndexOutOfRangeException(); + } + return _item; + } + set + { + throw new NotSupportedException(); + } + } + + bool IList.IsFixedSize => true; + + bool IList.IsReadOnly => true; + + int IReadOnlyCollection.Count => 1; + + T IReadOnlyList.this[int index] + { + get + { + if (index != 0) + { + throw new IndexOutOfRangeException(); + } + return _item; + } + } + + int ICollection.Count => 1; + + bool ICollection.IsReadOnly => true; + + T IList.this[int index] + { + get + { + if (index != 0) + { + throw new IndexOutOfRangeException(); + } + return _item; + } + set + { + throw new NotSupportedException(); + } + } + + public _003C_003Ez__ReadOnlySingleElementList(T item) + { + _item = item; + } + + IEnumerator IEnumerable.GetEnumerator() + { + return new Enumerator(_item); + } + + void ICollection.CopyTo(Array array, int index) + { + array.SetValue(_item, index); + } + + int IList.Add(object? value) + { + throw new NotSupportedException(); + } + + void IList.Clear() + { + throw new NotSupportedException(); + } + + bool IList.Contains(object? value) + { + return EqualityComparer.Default.Equals(_item, (T)value); + } + + int IList.IndexOf(object? value) + { + if (!EqualityComparer.Default.Equals(_item, (T)value)) + { + return -1; + } + return 0; + } + + void IList.Insert(int index, object? value) + { + throw new NotSupportedException(); + } + + void IList.Remove(object? value) + { + throw new NotSupportedException(); + } + + void IList.RemoveAt(int index) + { + throw new NotSupportedException(); + } + + IEnumerator IEnumerable.GetEnumerator() + { + return new Enumerator(_item); + } + + void ICollection.Add(T item) + { + throw new NotSupportedException(); + } + + void ICollection.Clear() + { + throw new NotSupportedException(); + } + + bool ICollection.Contains(T item) + { + return EqualityComparer.Default.Equals(_item, item); + } + + void ICollection.CopyTo(T[] array, int arrayIndex) + { + array[arrayIndex] = _item; + } + + bool ICollection.Remove(T item) + { + throw new NotSupportedException(); + } + + int IList.IndexOf(T item) + { + if (!EqualityComparer.Default.Equals(_item, item)) + { + return -1; + } + return 0; + } + + void IList.Insert(int index, T item) + { + throw new NotSupportedException(); + } + + void IList.RemoveAt(int index) + { + throw new NotSupportedException(); + } +} diff --git a/SmartNav/-Module-.cs b/SmartNav/-Module-.cs new file mode 100644 index 0000000..06c136c --- /dev/null +++ b/SmartNav/-Module-.cs @@ -0,0 +1,1678 @@ +using System; +using System.IO; +using System.Runtime.CompilerServices; +using System.Text; + +internal class _003CModule_003E +{ + internal static byte[] _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + + internal static _206B_202C_206F_200D_200C_202B_202A_202C_206B_206E_202D_206C_206C_206F_206A_202C_206E_206E_206C_202C_206C_202C_200F_202A_200C_200B_202A_202D_200F_202E_202E_206F_200D_206E_200E_202C_206C_202E_200B_202E_202E _206F_200B_200C_200E_202A_206E_206D_206B_206A_206F_200F_200F_200B_206F_200B_200D_206C_200C_206B_202B_200F_202B_202D_202D_206E_206C_206D_200E_202A_206A_206C_206C_206E_206C_206C_202A_200F_202A_202A_200F_202E/* Not supported: data(DD 9A C1 92 FC A5 85 79 C3 C7 30 8C 92 36 80 EB 3B 20 3A BF 94 69 F1 B5 DB 12 E8 40 07 4C 67 E0 41 37 FF D5 4E CB 18 36 71 07 02 58 6D 5C 2C D9 62 C7 1D CF BF 2A 3D 1E AC E1 22 02 D4 3A 32 CE 26 9B 3C 67 95 32 FC 89 6B EE AF D8 60 0E C6 28 43 E7 DA B0 3F F1 A5 42 79 90 27 F0 A6 1D 70 C1 C0 1A 36 F2 E3 F3 A0 7D 4B 86 29 88 06 7F 2C AF C7 17 A9 06 9C BF 6E 3D 82 18 F8 69 07 B6 E8 68 A8 7D 7A 50 5B 40 54 F7 EE 21 8D 0A 85 ED 49 66 9F C5 E7 F2 CC 1E 1C 42 30 E5 D1 85 C9 07 1F F7 28 F2 1A 23 BB 10 40 21 2A 17 BD 6E DE 20 4A C0 00 D2 63 AE 50 FD 42 4C 5D 34 14 EB B2 02 1D 5D 09 AD E0 DC 0E F3 28 F4 14 E6 7B FE D0 C0 B9 97 D3 72 17 90 D4 59 0F 8A 93 24 FB 5E EE B9 EC EC 5C 4E D5 28 44 92 41 BA BC 04 FF C5 4E 5E 2A 85 AE 21 F2 F1 7E D4 DA 60 29 B7 A6 89 B8 D9 A2 2A 7C 1E 9C 2B CF C0 85 1F 41 EC 35 00 F2 BA 7D B4 F7 23 F6 54 6E A1 59 42 46 AB 24 FB F4 FE 10 64 B2 59 D8 48 E0 04 FC 47 EE 2E 91 60 66 20 89 CD 54 B5 AD 93 45 BA BF B8 17 CA 1F 02 5C D7 AF 24 FE CF AC CD 39 2F DE E0 CC 52 A0 33 D4 D5 98 3F B9 ED 19 8C 18 05 A3 BF 4C 2E 11 A0 A5 EE DF B7 12 49 4D 8B 04 3A 0F 3A 6F 3C C9 73 2D FE 40 19 B6 4F A4 48 BD 5A 6E FD 0C 7E 67 27 E3 66 36 6E 02 C8 DB 1C 96 CC 03 AE A5 90 68 85 25 05 E8 3C 78 08 A6 1C 26 6C 33 4A 72 E3 79 8A B0 F7 1A EB 26 CE 80 20 59 BD 30 47 D7 DF F6 7B 1A D5 9D 27 2D 55 53 F5 96 CF 07 77 1D DB DD B9 CC D3 37 5C 91 BD DE 81 0A 33 C1 F1 BA 0C 24 4D 3F 7D 22 7C D3 B6 87 8D 41 D1 20 A4 C0 62 23 21 BB 76 F2 8C E9 0B 5E CC CE B9 A1 FF F9 60 2D FF B7 D7 AA 86 5F 51 C8 EA A2 6A F4 20 0D 0E 43 14 27 02 62 45 4E 80 F0 F5 83 5B 47 F7 70 02 00 57 F9 A4 F6 7B 53 63 8C 8A 9E 3E DD F7 C3 A8 7B 7A 8F 65 51 99 5B E2 B9 3B FC C1 62 BD 4F 1E 00 EE E3 D1 CB 9C 80 A6 2E 19 6D 10 8A 9A BE 32 9E 24 E1 45 63 D5 F3 55 11 1B 3C BF CD 3F E6 3D 9D FC 28 A9 D6 A8 88 B3 DA A8 98 8C E2 F6 4B 99 08 1D 7E 9C 04 1A 05 90 1E 94 25 2E 30 E8 79 BE 57 8F 37 3D 2A 98 72 B9 59 54 0E 38 B2 C8 39 87 3C B8 EC 7F B6 FA 69 80 00 38 75 CC A9 47 07 DD 18 C7 13 85 BF F8 5D 4C 5C 42 80 91 5D 9F FF E7 46 D2 7A 2D F7 4B D6 BC 8A 9E A3 B2 4F B0 AE ED 00 A2 56 B0 54 34 38 8C B7 C6 63 83 94 08 97 34 AA 84 3F 70 83 7C 80 3E C5 75 74 F5 79 5D D9 07 5F CA B3 8C E3 B8 BD 5E D7 3F 03 53 DB B5 6D 33 77 1F 40 00 C6 6D 4C AC 20 B4 EE 4B 18 38 23 DE A3 B7 EE 4D B8 A6 A5 F7 21 A4 5C EC C3 04 D2 EA 05 56 72 31 B7 0F 37 38 E4 AE 85 07 76 FA 47 D7 E1 EF B8 E6 42 AA 28 CE EA AF A3 92 73 04 E8 CB EB D2 9A 5D 2C D7 0E 71 0F EC 67 69 39 39 E1 18 35 CD 05 1D 55 7B 4E C2 05 29 C4 70 28 AC AF 56 CC D5 BD 3B EE 87 67 26 CF 0D 4B D6 2A 7B 3D 0E 26 5D E9 B3 83 7B 8B E6 15 01 D9 47 34 B9 CE E6 90 0D 5B 93 EB 95 E8 B9 8E 11 AF EA B1 25 04 43 99 2D 87 90 15 68 8E D1 1E 25 49 86 18 1D 1D B7 02 CB 05 81 E2 E5 D9 0A A5 65 D7 1B 75 EC 97 52 1A B2 03 C9 80 A5 FF 1E 66 E7 1D 11 3C 3E 56 C2 54 BA 3D F2 BD 74 51 08 14 8A A9 54 40 37 7E 5F D1 21 75 43 80 BA F1 D4 28 1C 54 42 DF 93 B2 62 EC 42 65 E2 A1 8A 1F FD FA 49 C9 DB AB E5 F3 19 31 6D 2C A0 85 A4 00 6A AE 3C E5 07 12 4B F1 D9 4C E8 CD 46 70 CC 17 4B 5B D5 59 7E 88 12 FE D7 58 A9 EA AC F2 B6 E3 0B 71 01 60 3F 8F D0 B5 CB 6F 53 C2 84 AC E5 48 6E BA DC 80 05 7E C2 38 C5 EB 1C 53 65 C2 96 90 86 A7 C5 B0 87 A3 AD 31 A5 1F F6 FD 2C 8B D0 E7 E9 71 F6 70 BE 3D 46 C4 F0 B1 74 8A AF 75 C4 A1 58 1D FA D6 6B 46 44 2B C0 38 DF 62 8B 37 2A 96 2A 73 51 36 32 E6 A8 DD 02 F7 26 D4 9E EF 77 A9 7C 1B 75 8D 83 45 76 08 77 9B 2B 1E DF D6 9F 2C 52 08 41 47 5E 1F 4E 5C 21 56 E5 7C 7A 97 E2 40 BF EE B0 FC E5 5D BA FC 5D D3 65 D7 BA 6C E9 90 5B 09 EC 4C 50 84 57 76 A1 CE 53 D4 44 E0 4D 8E 01 08 64 DC 6C D5 89 D5 31 61 83 9B 3D F4 8D B8 44 17 2C 7B 0B 03 59 55 55 69 4F 44 AC 33 A3 38 A8 81 3A D5 63 D1 24 D8 B6 DB 00 F3 5B 24 4E 3E 62 B5 3A EB 4F 96 B8 C0 9E EE D4 B6 76 2C 11 66 7A CE 8C 55 61 73 46 95 13 09 50 D0 12 2B AD 3E 16 5B 63 C2 33 7F A3 28 A9 C7 DD 23 1A DA 11 81 61 47 C4 9B 18 7C 26 15 E2 05 83 99 1E D6 B1 8A F0 D4 0C 3C 6D 48 25 62 E4 8A BD F3 C7 C8 5F 78 43 25 8C 25 08 46 94 E8 7D 63 8E E1 3F 46 35 E7 50 66 3D A2 C5 77 E8 6D EA E5 41 29 CA F1 02 A7 D6 9C B8 75 E3 98 E6 49 E5 8E DC 97 C3 9D A9 75 68 3C F9 5B 3F 7D 90 9C 23 38 E2 DF 5B 23 C1 04 85 A8 16 94 77 49 89 5A EC 2A 5A FE AC B8 5E 42 8C 2D 7C FC E0 A1 E9 0F 3E 54 67 48 1C EB 97 1B E0 4F A1 A3 AB A1 96 1D 8E DE E7 20 03 FF 16 2C F6 4C 50 2F AD 74 C5 AE 5A D4 35 82 EA C2 44 BE CD EB 0E D9 6A A5 59 1B EB F1 E5 F7 F6 08 4E A9 1C 39 3B B6 4A 20 1D E8 DD 91 CB A9 2B 9B 66 C2 30 A2 FD 4D A8 D2 E0 FD DB 6B 02 75 85 58 53 F3 67 58 1D BA 25 F8 C1 4B 7A 8A 27 3C 57 1B 45 4C 00 76 78 AA 0B E4 54 51 4B 0E E5 37 1F EC 97 89 C0 5A D1 97 17 59 E7 6D 28 47 F7 DC 01 7B BC A9 E8 3C 55 B1 F9 CA 9C 27 3E CC 51 42 CD 3E D2 5E 5E 30 71 65 4D 7D E2 25 90 AF 18 9D 53 02 6F 2E AD EE 81 B8 07 B5 4B 21 41 15 69 0C 29 48 00 DC 7F 2B AE D4 B5 7A 58 E3 26 7A B9 3F F7 19 4C 1A D3 B7 35 64 64 55 D6 79 1A 9A D2 32 DB 1A E3 71 05 8D 5B 1C CE 53 2D EE 6E 7B 4F 30 76 3A 31 FC C5 61 51 CF 5C CD DD 33 49 83 2E A9 57 B6 18 36 29 D1 20 5B 93 44 6F EA 0C A9 37 91 F1 DB 7C E3 0D C1 6C 7E 09 E7 F5 7E 20 29 AF E2 69 0E 96 F1 C2 E2 EB 8B 58 A3 AE D9 5C D5 98 0A 17 07 72 55 F2 07 AC 28 B0 92 A7 AE 9E 75 13 C3 A3 25 44 9D 82 23 C5 A5 03 E2 BE 03 B6 DF CF 7B 7F F2 2B 41 28 0E 4B 4E FB ED 79 46 E0 DF BE BC BB 89 69 87 4E 73 B6 29 95 AF D0 6A D9 51 E8 EC E8 F7 15 FD 3D AB BA E8 78 5E 17 C0 67 78 30 01 80 D6 22 F9 5F 6E 31 ED B7 3A C4 C5 60 DB A7 65 47 18 9C 57 5B 28 BC E7 D2 5D D8 40 F6 31 79 8C 65 21 57 B7 98 F6 26 DB 6B A2 6B FB 07 12 B2 43 D2 3A B1 47 34 51 86 EE 61 B8 D1 FE EF 45 E3 9E B8 36 74 56 BC 78 9B 6A 58 50 8B 22 C1 25 CA 02 3E D1 F9 0B A6 CD 5C 1A 92 C1 4C D2 6C 7D 3A 45 6C 5E B0 B9 98 03 DE 9B B6 A4 44 AC 8A 8A EB 69 9C D5 C5 AF 87 E7 EA B4 43 A7 21 EE E4 C4 59 D2 49 29 6B A2 81 6D 7E 2E C8 2D 59 D0 C7 3C 21 E2 CC 95 EE 9D F2 C9 5D 94 F5 1D 67 6F ED 10 D0 18 94 8E 41 7E A9 2C DB 4E 99 46 95 F6 54 E1 7E E9 9A 3D 26 68 61 F0 56 12 1A 4E 5C 00 FA E1 2F 01 D5 21 20 FC D8 5B A3 E4 18 26 73 DB 69 83 2B 3A CE CD 5A 4B 59 D5 C0 EF 4A 3A 46 2E 0E AE 7F C3 E1 A3 86 87 B5 1E 0D 79 FD 0C 32 6D F2 F4 34 6A 3B 58 7E 08 79 D9 00 01 91 AF 12 9F 74 EA 38 20 1E 64 39 AF DF B8 E6 E5 E5 F0 6C C6 7A 46 EE EF 9F D1 BC E6 AF 07 F1 CD 6D E4 C3 7A A1 07 3C 07 71 37 3B 1F 8A 66 33 DD 99 C8 E4 C9 12 E3 D3 DF A8 33 CD 36 70 B5 28 D7 66 5E 4D 82 33 5E ED F1 E9 93 21 43 25 75 FB 8E 2E 1D 13 32 4E 69 4B 01 83 AB 71 89 F4 B0 0B 82 78 C6 65 C8 CA FA 90 F7 38 E2 1A FF A8 E8 48 31 75 F0 4B 48 D5 9A 54 2D 8D 57 6A 13 C8 EB 54 79 B0 EC A4 1A D9 59 85 F6 2E F6 D0 AB 4B 24 50 39 A8 06 B6 96 EC A6 CB 21 E9 93 85 A4 06 41 16 0E EC 24 60 29 27 C5 F1 99 B1 65 4E 99 0F DF 80 89 B7 2C 9F CA D8 DD C9 BB 08 5D BD B5 37 A1 ED 9D 34 11 B8 3D CA E6 5A 4D 1D 5C DA 32 32 B2 EC EE 82 CA BB 7E 31 40 7B FB 07 57 25 C2 14 66 05 05 67 92 D2 B0 4D EB 3B 10 D3 0D 21 F5 B2 56 E8 00 44 98 A4 6F 84 21 F1 D0 27 8F 45 1D 36 9B 56 EE C1 1E 88 58 30 E9 B2 A5 72 26 A0 68 5B 4D A0 2B 6C 40 22 09 34 06 26 BC 2E 71 6D 16 2C DE 9E 7E 77 00 03 91 4C 7D 5B 0B 03 C9 2C 84 B8 98 76 1A A4 97 E9 21 1B 80 97 6F 51 4E 64 47 3C 36 92 EA E1 C1 44 FC 82 F4 03 67 8A EB A8 89 E1 A9 C4 F1 6A 8C AF 57 C6 B3 D6 13 A3 EC D9 50 FF 47 76 E4 16 29 24 E1 56 90 3C 54 22 DB C8 6F 41 3F A3 D0 C5 E8 6F 49 B9 8E 28 D1 AD EA 72 77 43 68 09 50 71 5D 80 1E 2E C5 9B 9F 4F 37 79 42 4F BB F5 DD 47 2B 94 C4 64 A9 97 F8 F3 82 F2 1C 9E CD F3 FD FA 07 B7 67 6D BE 65 DD A3 52 05 94 95 28 B2 E2 F3 6F A3 40 D0 4F B4 B1 1D 88 90 CD 55 CB AA CA B1 80 FA 98 6C 41 0C 78 D1 84 AC 5A 14 2D 8D 5B 89 2E 35 0B DE 93 42 45 3D C6 6A 26 AF 7E 2D B1 F8 C4 DF 4A D1 C2 92 75 25 A2 EA A6 C3 67 D9 2F 92 C3 1D 37 22 3F 40 3A DE 74 FE 2E A1 D3 18 47 F4 34 CF F6 D1 BF E7 52 C3 AD 02 9F C3 7D 5D A6 81 EA 0F 1D 5E 8B DA 41 2D 68 5B 28 E6 B7 26 48 0E C8 EE AB D8 1A 15 20 95 AA C8 5E 14 13 9D B8 1F 31 19 65 4E 13 5C 47 17 22 08 6B BC 9E 94 09 E1 4C 55 38 0C 35 E5 6E B6 F4 A4 45 39 60 11 9C 81 EA 64 31 04 9C DC 0C 03 CA 7E 77 CB 3E A6 51 74 D1 80 D0 C2 0F 8A 73 22 4B 5D 81 72 A8 4D C5 81 EB 92 75 CB D9 1C C1 47 6E F9 1A 3E 4D 91 AE 0D 09 6E 60 85 31 33 B0 04 F3 7F E1 57 D3 FB EF 5C 36 3F 72 CD FA 25 34 A2 E3 6F 93 47 0A ED 0B 17 F0 6F 5A 62 D0 2C F5 9F 24 A3 D6 9C FD B4 1B A5 7B 30 1A 81 A4 A1 6B 00 C7 22 A2 2B 37 83 E4 B9 57 45 3A 58 53 16 F2 0A 59 39 14 15 6F 0B 9F 9F B9 EE 23 9F B5 54 D9 4F 6B 6A 13 49 FD DE 29 D9 DF 41 79 85 73 DE 05 DA 3E 89 ED 9A CB 1D F3 87 E2 0B 8A 6E C0 8F FE C2 B2 82 04 8A EB 0C 6E 10 A9 0A AE 48 C7 FC BB 35 33 F5 C5 06 18 DC 86 65 D1 AC 87 79 B3 5A D7 4E 8B EA 4A 10 97 FE C1 03 60 A0 CE D3 1D C9 7C 98 A9 20) */; + + static _003CModule_003E() + { + _202B_200C_206A_202B_200B_200D_202A_206B_206A_206B_200D_202D_202A_202B_202D_200D_206B_206E_202E_202B_200F_206D_202B_206D_206A_200C_206C_206A_206B_202A_200F_202C_202A_202C_206A_206F_200D_206D_200D_206D_202E(); + } + + internal static byte[] _206D_206A_206C_200F_206D_206F_206C_202C_206D_206D_202D_206C_200B_200D_202E_206E_200F_206F_200C_206D_206D_206B_202E_202B_202D_200D_206D_202B_202C_200B_206B_206A_206C_202A_206E_200E_202D_202E_200C_206C_202E(byte[] data) + { + MemoryStream memoryStream = new MemoryStream(data); + _202A_202B_200E_202B_200D_200D_202C_206D_206A_200F_202A_206E_200D_200D_206E_202B_206D_202C_206A_200C_206D_206E_202B_206E_200B_200F_200D_202D_202D_200C_206A_206C_202C_206C_206B_200E_202C_202A_200C_202D_202E obj = new _202A_202B_200E_202B_200D_200D_202C_206D_206A_200F_202A_206E_200D_200D_206E_202B_206D_202C_206A_200C_206D_206E_202B_206E_200B_200F_200D_202D_202D_200C_206A_206C_202C_206C_206B_200E_202C_202A_200C_202D_202E(); + byte[] array = new byte[5]; + int num = 0; + while (num < 5) + { + int num2 = num; + int offset = num; + int num3 = num; + int num4 = 5; + num = num2 + memoryStream.Read(array, offset, ~(~num4 + num3)); + } + obj._202D_200B_206F_206A_206B_202C_206E_206C_202C_206E_202C_206F_202E_200D_200B_200D_200D_206E_200E_200F_206F_206B_200D_200B_200E_202A_202D_202A_200C_200E_206F_202E_200C_202D_206B_206C_202C_206C_200D_200D_202E(array); + num = 0; + while (num < 4) + { + int num5 = num; + int offset2 = num; + int num3 = num; + int num4 = 4; + num = num5 + memoryStream.Read(array, offset2, ~(~num4 + num3)); + } + if (!BitConverter.IsLittleEndian) + { + Array.Reverse((Array)array, 0, 4); + } + int num6 = BitConverter.ToInt32(array, 0); + byte[] array2 = new byte[num6]; + MemoryStream outStream = new MemoryStream(array2, writable: true); + long inSize = memoryStream.Length - 5 - 4; + obj._200F_200F_206E_202B_200C_206B_206C_202E_200D_202A_202D_206E_202E_206E_200F_200B_206C_206D_206F_206E_206B_206D_206D_206B_200F_206C_200C_202A_206A_202D_206C_202A_200E_206F_200F_202E_200C_202E_202D_202E(memoryStream, outStream, inSize, num6); + return array2; + } + + internal static void _202B_200C_206A_202B_200B_200D_202A_206B_206A_206B_200D_202D_202A_202B_202D_200D_206B_206E_202E_202B_200F_206D_202B_206D_206A_200C_206C_206A_206B_202A_200F_202C_202A_202C_206A_206F_200D_206D_200D_206D_202E() + { + uint num = 704u; + uint[] array = new uint[704] + { + 2462161629u, 2038801916u, 2352007107u, 3951048338u, 3208257595u, 3052497300u, 1088951003u, 3764866055u, 3590272833u, 907594574u, + 1476527985u, 3643563117u, 3474835298u, 507325119u, 35840428u, 3459398356u, 1732025126u, 2315006613u, 3635408491u, 684068448u, + 2967136067u, 1118171455u, 4029124729u, 3245350310u, 4063632064u, 2107700195u, 2284422731u, 2938928902u, 111744967u, 1030668188u, + 1777866882u, 1760081415u, 1350204840u, 4149493851u, 177021422u, 1716120965u, 4075275679u, 1109139148u, 2245125424u, 4146005961u, + 588968488u, 557846715u, 1857885994u, 3226083550u, 2925777408u, 1279458640u, 3943969885u, 1562182322u, 3705711881u, 4096324366u, + 4269532692u, 2545533136u, 2417455827u, 2316261844u, 1593517203u, 3974937070u, 685067868u, 3124859460u, 3321824444u, 2234146382u, + 4059177390u, 1624953982u, 2309404457u, 715315640u, 731651708u, 528859343u, 3533889u, 3028138738u, 1425417207u, 1113170286u, + 4213484358u, 1678835444u, 1222138290u, 1207698656u, 1620127470u, 3448316006u, 2477634900u, 3099572805u, 35637783u, 615503708u, + 3450654718u, 3772657465u, 866144972u, 1066980820u, 2350509497u, 3215131928u, 2685480524u, 3084906149u, 2337098002u, 974076420u, + 1942568047u, 423689773u, 1218727862u, 4251867837u, 661093900u, 1849059043u, 484165634u, 2919484566u, 2238222501u, 1021838629u, + 480643192u, 1244884006u, 2323243890u, 3944413104u, 545312294u, 1194376537u, 2079776727u, 664655130u, 4115879213u, 1997000598u, + 3118324509u, 1547162572u, 2178858385u, 4055970570u, 1294208186u, 2082635071u, 2374481619u, 2753614145u, 555967168u, 2364700347u, + 3428715497u, 4288788942u, 4281164025u, 2259343287u, 3938996575u, 552888994u, 339938829u, 1164050983u, 4126179406u, 4148648835u, + 1459618416u, 2079761657u, 2324456275u, 4158471838u, 2054924483u, 2572248463u, 1002037851u, 3177366012u, 3992985167u, 2630603235u, + 422487680u, 2592739437u, 614347454u, 3580052961u, 454120947u, 1070448444u, 4238163430u, 2832640296u, 2832905096u, 4142042264u, + 487102795u, 436509822u, 2485030917u, 3895471653u, 2404892281u, 2552905015u, 1415166322u, 3367122958u, 3090974521u, 4206264300u, + 939556969u, 1202310261u, 3340295431u, 4173301011u, 1113345117u, 2673709440u, 3527862271u, 1274490234u, 2659892438u, 2958013091u, + 2717969838u, 877965398u, 3333917752u, 143950691u, 2225747095u, 2088988735u, 1975860864u, 1568273780u, 3395225561u, 3101920435u, + 1071079101u, 3051049731u, 527905645u, 1841692736u, 3022040140u, 941116398u, 3080969763u, 2797096430u, 2753689509u, 79948892u, + 1443228370u, 263663986u, 2934192183u, 4202039173u, 4024555335u, 2856511160u, 2951401000u, 74683043u, 3538668520u, 3610008986u, + 3960434958u, 960063847u, 3442809057u, 2069175557u, 688243278u, 2888331460u, 3586938543u, 2280537021u, 231679591u, 2066404939u, + 1562775101u, 2072228841u, 18212491u, 3107211225u, 227600078u, 2515243867u, 294566376u, 632416943u, 765018884u, 1746243719u, + 622776718u, 488146505u, 3405952797u, 3856826629u, 1705315033u, 3967097815u, 2988069527u, 2776680707u, 3882229503u, 1044123933u, + 3126116950u, 1958605373u, 2316568657u, 926962857u, 567369598u, 3128968053u, 472438001u, 2480882260u, 1122788018u, 2325865061u, + 1241185567u, 3853245385u, 1831934451u, 2760220716u, 1018063360u, 1259472869u, 3897350641u, 3429910221u, 3579530007u, 310935129u, + 2841171966u, 3069357290u, 24185827u, 3499048800u, 1399835573u, 3853288642u, 3703205448u, 3263038848u, 485213496u, 2529322323u, + 3316090512u, 2913175472u, 4129269041u, 3498781949u, 4134660583u, 1178451568u, 1957818564u, 3296046986u, 4196227233u, 1145465814u, + 3745038379u, 708283234u, 1366502038u, 2833658422u, 653722333u, 2012192468u, 1964735657u, 1984267149u, 731608840u, 2681659166u, + 1091064364u, 1310678599u, 3847627100u, 3801578108u, 2968436544u, 3126715900u, 1708350972u, 3916217047u, 3960036240u, 1468289100u, + 1406050678u, 1306543316u, 1678246286u, 2312465628u, 2204185045u, 2381594011u, 739722424u, 1493371771u, 1332303189u, 2738072644u, + 981575736u, 617702357u, 14399192u, 1311005683u, 984965694u, 3096858603u, 3572408000u, 288126646u, 2362341990u, 1181966677u, + 1342772117u, 2905281232u, 1666913854u, 2743022530u, 3720849704u, 299506211u, 3293012353u, 645666971u, 2198200853u, 2983599769u, + 215281802u, 625503548u, 3179996258u, 1606993907u, 2351252344u, 2487617573u, 2388884968u, 893796321u, 1030115559u, 3900163490u, + 1105586797u, 49400361u, 3097286311u, 3868779381u, 3700352329u, 2845688727u, 4181485685u, 2424127323u, 3795329948u, 3240319967u, + 380142852u, 2303293332u, 1512762458u, 1589161214u, 2083359810u, 3919700220u, 1733574159u, 2548767816u, 2706366491u, 2527177635u, + 3890122269u, 385811232u, 1347221036u, 3312758063u, 903109294u, 1153624706u, 250334654u, 1504013017u, 3857836827u, 1309210359u, + 993598633u, 488655542u, 3415334376u, 1721445289u, 4255264962u, 3771902029u, 40623101u, 1398310261u, 492333043u, 3254265274u, + 663386699u, 1159419708u, 2020999244u, 1424231338u, 3842919249u, 2548834103u, 3512385673u, 3881375639u, 4148635757u, 3162178012u, + 1430055081u, 2630547889u, 1372339751u, 3527331138u, 1898995294u, 3799862629u, 414158885u, 1862423453u, 2179902766u, 1270155192u, + 1763000609u, 4729100u, 2922086364u, 1484436948u, 3111790307u, 1276770111u, 901239578u, 3595920484u, 3533314681u, 3810188082u, + 1535968625u, 760466972u, 1333489390u, 825914928u, 1365362172u, 3721223375u, 780355891u, 414603177u, 550578486u, 1866765147u, + 933825770u, 2094789009u, 1824591331u, 4125559166u, 2938708094u, 2517527010u, 3957506801u, 2929940619u, 2564119769u, 1913067274u, + 2886201941u, 2811408424u, 326475438u, 1143317443u, 3307438749u, 3202483109u, 3487544835u, 737312635u, 1259219009u, 2045639502u, + 3202342982u, 1770634172u, 3061010055u, 3501167913u, 3897678186u, 368568556u, 3131784701u, 392067304u, 813197248u, 584482817u, + 829317113u, 3292182509u, 2816172229u, 2618836837u, 3156761431u, 3630027495u, 2033317440u, 1461806476u, 653695159u, 1805806555u, + 2987526139u, 2973422147u, 2253468743u, 3518521838u, 3813011454u, 1949743262u, 2608381014u, 2337298538u, 3391471906u, 4191239682u, + 1556981259u, 1287754266u, 981298386u, 2958978117u, 3724777657u, 1151645339u, 3951725228u, 3319110761u, 3941042095u, 564609972u, + 1506075886u, 1797867986u, 2121105826u, 1496172590u, 557631440u, 4002794722u, 1573515933u, 1730016660u, 3490770287u, 1099863064u, + 3677137278u, 2504431950u, 2128696566u, 641571561u, 1458594152u, 1548622354u, 803338752u, 539088129u, 2740705532u, 1931876580u, + 730032603u, 1523437114u, 3235207499u, 1178225391u, 2142113326u, 2258887107u, 220116359u, 839712121u, 888468077u, 2119711594u, + 14252296u, 313495809u, 954889375u, 962862624u, 3870875567u, 1827726821u, 3997596358u, 3167854575u, 4043812838u, 3286527437u, + 1007133050u, 993489159u, 862358047u, 3838351837u, 3554874057u, 3442714847u, 682979382u, 1298032343u, 3982373762u, 563341809u, + 4218758467u, 320679566u, 1265192498u, 1907065601u, 196146313u, 1707505794u, 2432355016u, 451033335u, 1223207167u, 1274049841u, + 1419433288u, 1784122669u, 1424738323u, 2766975097u, 2237258010u, 3505794806u, 1344555947u, 3053889593u, 3416714390u, 2241063201u, + 373360292u, 1613032462u, 4056229673u, 1315287449u, 2162102169u, 2670507913u, 3386759370u, 3176990907u, 3986765749u, 3088135325u, + 1525074493u, 3663469901u, 3971101234u, 3150611182u, 2067804542u, 626460667u, 90576066u, 3532809989u, 1005276592u, 554554128u, + 3897996021u, 2761442304u, 4045505647u, 1167009744u, 1453012509u, 2283717102u, 3001626712u, 2686874277u, 2689424232u, 574647339u, + 637940745u, 1836134076u, 2665360406u, 50362238u, 1534938257u, 751371019u, 1989720196u, 3919029274u, 2541755169u, 1682854255u, + 2453027911u, 1153556970u, 66355964u, 2834008679u, 3299467657u, 2945215217u, 3602105943u, 3656164115u, 1984429904u, 606672612u, + 1016092385u, 3369804372u, 2738831727u, 1877525968u, 680442185u, 1927982545u, 157827959u, 2153607504u, 2613390878u, 2033667999u, + 4122693442u, 2485864413u, 2544460996u, 4068668408u, 4090338844u, 3070753533u, 1706978663u, 89301981u, 2989004180u, 2742023138u, + 3025129536u, 2424839601u, 2865452493u, 4202738122u, 205614232u, 2894385528u, 2368541786u, 892242267u, 1116986891u, 1791376709u, + 763277094u, 3754227889u, 2462241098u, 3936494965u, 3647456166u, 499356207u, 1077879351u, 4269071930u, 416522542u, 3476354119u, + 3888108022u, 44942162u, 1568523167u, 267026854u, 3666566685u, 1533553985u, 649586216u, 4006088264u, 354080939u, 3366622496u, + 2635273310u, 422649784u, 1544769125u, 136451911u, 2493430891u, 1431101705u, 3845459000u, 2767500910u, 291518789u, 1693090204u, + 3701212209u, 2127168268u, 2789133175u, 2161210449u, 2316288720u, 1565205107u, 1302884993u, 2464907717u, 484035445u, 4184754113u, + 2437758490u, 1846087086u, 858883424u, 2146632880u, 4224931809u, 1060527343u, 637193586u, 1877189172u, 3976873875u, 1878005515u, + 751854170u, 2737086453u, 3036519638u, 813409563u, 2711912730u, 583467115u, 2201430946u, 1163377124u, 374560826u, 962136818u, + 191829268u, 4005142431u, 1421188899u, 1785417689u, 3741141267u, 1105189161u, 3732112761u, 2302597637u, 499882733u, 199395315u, + 2411753098u, 2192753406u, 216762884u, 178851950u, 4240918702u, 4113774011u, 3692562117u, 2899404166u, 1521711495u, 3934998231u, + 4271312970u, 2690646977u, 3374175182u, 547985532u + }; + uint[] array2 = new uint[16]; + uint num2 = 2092561900u; + int num3 = 0; + while (num3 < 16) + { + uint num4 = num2; + int num5 = (int)(num2 >> 12); + int num6 = (int)num4; + num2 = (uint)((num6 | num5) - (num6 & num5)); + uint num7 = num2; + num5 = (int)(num2 << 25); + num6 = (int)num7; + num2 = (uint)((num6 | num5) - (num6 & num5)); + uint num8 = num2; + num5 = (int)(num2 >> 27); + num6 = (int)num8; + num2 = (array2[num3] = (uint)((num6 | num5) - (num6 & num5))); + int num9 = num3; + num5 = 1; + num6 = num9; + num3 = (num6 | num5) + (num6 & num5); + } + int num10 = 0; + int num11 = 0; + uint[] array3 = new uint[16]; + byte[] array4 = new byte[num * 4]; + while (num10 < num) + { + int num5; + int num6; + for (int num12 = 0; num12 < 16; num12 = (num6 | num5) + (num6 & num5)) + { + int num13 = num12; + int num14 = num10; + num5 = num12; + num6 = num14; + int num15 = num6 ^ num5; + int num16 = num6 & num5; + array3[num13] = array[num15 + (num16 + num16)]; + int num17 = num12; + num5 = 1; + num6 = num17; + } + uint num18 = array3[12] << 2; + uint num19 = array3[6]; + num5 = -511457511; + num6 = (int)num19; + int num20 = num6 + num5; + int num21 = num6 & num5; + array3[6] = (uint)(num20 - (num21 + num21)); + uint num22 = array3[11]; + num5 = (int)array2[11]; + num6 = (int)num22; + array3[11] = (uint)((num6 | num5) - (num6 & num5)); + array3[12] = array3[12] >> 30; + uint num23 = array3[8]; + num5 = -700308787; + num6 = (int)num23; + array3[8] = (uint)(~(~num6 + num5)); + uint num24 = array3[8] * 28; + uint num25 = array3[4]; + num5 = (int)array3[13]; + num6 = (int)num25; + array3[4] = (uint)(~(~num6 + num5)); + uint num26 = array3[8] * 49; + uint num27 = array3[8] * 41; + uint num28 = num24; + num5 = (int)(array3[11] * 105); + num6 = (int)num28; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num29 = num26; + num5 = (int)(array3[11] * 182); + num6 = (int)num29; + int num30 = num6 ^ num5; + int num31 = num6 & num5; + num26 = (uint)(num30 + (num31 + num31)); + uint num32 = array3[0]; + num5 = (int)array2[0]; + num6 = (int)num32; + array3[0] = (uint)((num6 | num5) - (num6 & num5)); + uint num33 = array3[12]; + num5 = (int)num18; + num6 = (int)num33; + array3[12] = (uint)(num6 + num5 - (num6 & num5)); + uint num34 = num24; + num5 = (int)(array3[12] * 100); + num6 = (int)num34; + int num35 = num6 ^ num5; + int num36 = num6 & num5; + num24 = (uint)(num35 + (num36 + num36)); + uint num37 = array3[0]; + num5 = 144172062; + num6 = (int)num37; + num18 = (uint)(num6 + num5 - (num6 | num5)); + uint num38 = array3[0]; + num5 = -144172063; + num6 = (int)num38; + array3[0] = (uint)(num6 + num5 - (num6 | num5)); + uint num39 = array3[0]; + uint num40 = array3[13]; + num5 = 144172062; + num6 = (int)num40; + num5 = (num6 | num5) - (num6 ^ num5); + num6 = (int)num39; + array3[0] = (uint)(num6 + num5 - (num6 & num5)); + uint num41 = array3[13]; + num5 = -144172063; + num6 = (int)num41; + array3[13] = (uint)((num6 | num5) - (num6 ^ num5)); + array3[10] = array3[10] * 2867943455u; + num18 *= 233216723; + uint num42 = num26; + num5 = (int)(array3[12] * 172); + num6 = (int)num42; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num43 = num26; + num5 = (int)(array3[9] * 266); + num6 = (int)num43; + int num44 = num6 ^ num5; + int num45 = num6 & num5; + num26 = (uint)(num44 + (num45 + num45)); + uint num46 = num27; + num5 = (int)(array3[11] * 152); + num6 = (int)num46; + int num47 = num6 ^ num5; + int num48 = num6 & num5; + num27 = (uint)(num47 + (num48 + num48)); + uint num49 = num24; + num5 = (int)(array3[9] * 155); + num6 = (int)num49; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num50 = array3[13]; + num5 = (int)num18 * -2025534117; + num6 = (int)num50; + array3[13] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num51 = array3[2]; + num5 = 3098724; + num6 = (int)num51; + int num52 = num6 + num5; + int num53 = num6 & num5; + array3[2] = (uint)(num52 - (num53 + num53)); + num18 = array3[5] * 1507810571; + uint num54 = num27; + num5 = (int)(array3[12] << 4); + num6 = (int)num54; + int num55 = num6 ^ num5; + int num56 = num6 & num5; + num27 = (uint)(num55 + (num56 + num56)); + array3[5] = array3[14]; + array3[14] = num18 * 2562492067u; + num18 = array3[8] * 15; + uint num57 = array3[15]; + num5 = -462230889; + num6 = (int)num57; + array3[15] = (uint)(~(~num6 + num5)); + uint num58 = num18; + num5 = (int)(array3[11] * 56); + num6 = (int)num58; + int num59 = num6 ^ num5; + int num60 = num6 & num5; + num18 = (uint)(num59 + (num60 + num60)); + uint num61 = num18; + num5 = (int)(array3[12] * 53); + num6 = (int)num61; + num18 = (uint)((num6 | num5) + (num6 & num5)); + uint num62 = num27; + num5 = (int)(array3[12] << 7); + num6 = (int)num62; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num63 = num18; + num5 = (int)(array3[9] * 82); + num6 = (int)num63; + int num64 = num6 ^ num5; + int num65 = num6 & num5; + num18 = (uint)(num64 + (num65 + num65)); + uint num66 = array3[2]; + num5 = (int)array3[4]; + num6 = (int)num66; + array3[2] = (uint)((num6 | num5) - (num6 & num5)); + uint num67 = array3[5]; + num5 = (int)array2[5]; + num6 = (int)num67; + int num68 = num6 + num5; + int num69 = num6 & num5; + array3[5] = (uint)(num68 - (num69 + num69)); + array3[8] = num18; + uint num70 = num27; + num5 = (int)(array3[9] * 223); + num6 = (int)num70; + num27 = (uint)((num6 | num5) + (num6 & num5)); + array3[12] = num26; + num26 = array3[12] * 23; + num18 = array3[10] >> 30; + array3[10] = array3[10] << 2; + array3[9] = num27; + uint num71 = array3[8]; + num5 = (int)array2[8]; + num6 = (int)num71; + array3[8] = (uint)((num6 | num5) - (num6 & num5)); + uint num72 = array3[10]; + num5 = (int)num18; + num6 = (int)num72; + array3[10] = (uint)((num6 & num5) + (num6 ^ num5)); + num27 = array3[12] * 13; + array3[11] = num24; + num24 = array3[12] << 3; + uint num73 = array3[15]; + num5 = (int)array3[7]; + num6 = (int)num73; + array3[15] = (uint)(~(~num6 + num5)); + uint num74 = num27; + num5 = (int)(array3[11] * 46); + num6 = (int)num74; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num75 = num26; + num5 = (int)(array3[11] * 79); + num6 = (int)num75; + int num76 = num6 ^ num5; + int num77 = num6 & num5; + num26 = (uint)(num76 + (num77 + num77)); + uint num78 = num27; + num5 = (int)(array3[0] * 56); + num6 = (int)num78; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num79 = num24; + num5 = (int)(array3[11] * 28); + num6 = (int)num79; + int num80 = num6 ^ num5; + int num81 = num6 & num5; + num24 = (uint)(num80 + (num81 + num81)); + num18 = array3[12] << 2; + uint num82 = array3[3]; + num5 = (int)(~array3[1]); + num6 = (int)num82; + array3[3] = (uint)((num6 | num5) - (num6 & num5)); + uint num83 = num18; + num5 = (int)(array3[11] * 14); + num6 = (int)num83; + num18 = (uint)((num6 | num5) + (num6 & num5)); + uint num84 = num24; + num5 = (int)(array3[0] << 5); + num6 = (int)num84; + int num85 = num6 ^ num5; + int num86 = num6 & num5; + num24 = (uint)(num85 + (num86 + num86)); + uint num87 = num27; + num5 = (int)(array3[8] << 2); + num6 = (int)num87; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num88 = num26; + num5 = (int)(array3[0] * 93); + num6 = (int)num88; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num89 = num27; + num5 = (int)(array3[8] << 5); + num6 = (int)num89; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num90 = num26; + num5 = (int)(array3[8] * 62); + num6 = (int)num90; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num91 = num24; + num5 = (int)array3[0]; + num6 = (int)num91; + int num92 = num6 ^ num5; + int num93 = num6 & num5; + num24 = (uint)(num92 + (num93 + num93)); + uint num94 = num24; + num5 = (int)(array3[8] * 22); + num6 = (int)num94; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num95 = num18; + num5 = (int)(array3[0] << 4); + num6 = (int)num95; + int num96 = num6 ^ num5; + int num97 = num6 & num5; + num18 = (uint)(num96 + (num97 + num97)); + array3[0] = num27; + uint num98 = num18; + num5 = (int)(array3[8] * 11); + num6 = (int)num98; + int num99 = num6 ^ num5; + int num100 = num6 & num5; + num18 = (uint)(num99 + (num100 + num100)); + uint num101 = array3[3]; + num5 = (int)array2[3]; + num6 = (int)num101; + array3[3] = (uint)((num6 | num5) - (num6 & num5)); + array3[8] = num26; + array3[11] = num24; + array3[12] = num18; + uint num102 = array3[4]; + num5 = (int)array2[4]; + num6 = (int)num102; + int num103 = num6 + num5; + int num104 = num6 & num5; + array3[4] = (uint)(num103 - (num104 + num104)); + num26 = array3[14] << 2; + num27 = array3[14] << 2; + uint num105 = num26; + num5 = (int)array3[14]; + num6 = (int)num105; + int num106 = num6 ^ num5; + int num107 = num6 & num5; + num26 = (uint)(num106 + (num107 + num107)); + uint num108 = num27; + num5 = (int)array3[14]; + num6 = (int)num108; + int num109 = num6 ^ num5; + int num110 = num6 & num5; + num27 = (uint)(num109 + (num110 + num110)); + num18 = array3[14] * 28; + uint num111 = array3[6]; + num5 = (int)array2[6]; + num6 = (int)num111; + int num112 = num6 + num5; + int num113 = num6 & num5; + array3[6] = (uint)(num112 - (num113 + num113)); + uint num114 = num18; + num5 = (int)(array3[4] * 59); + num6 = (int)num114; + int num115 = num6 ^ num5; + int num116 = num6 & num5; + num18 = (uint)(num115 + (num116 + num116)); + uint num117 = num18; + num5 = (int)(array3[5] * 172); + num6 = (int)num117; + int num118 = num6 ^ num5; + int num119 = num6 & num5; + num18 = (uint)(num118 + (num119 + num119)); + uint num120 = num27; + num5 = (int)(array3[4] * 13); + num6 = (int)num120; + int num121 = num6 ^ num5; + int num122 = num6 & num5; + num27 = (uint)(num121 + (num122 + num122)); + num24 = array3[14] << 4; + uint num123 = num18; + num5 = (int)(array3[6] * 331); + num6 = (int)num123; + int num124 = num6 ^ num5; + int num125 = num6 & num5; + num18 = (uint)(num124 + (num125 + num125)); + uint num126 = num26; + num5 = (int)(array3[4] << 2); + num6 = (int)num126; + int num127 = num6 ^ num5; + int num128 = num6 & num5; + num26 = (uint)(num127 + (num128 + num128)); + uint num129 = num27; + num5 = (int)(array3[5] << 1); + num6 = (int)num129; + int num130 = num6 ^ num5; + int num131 = num6 & num5; + num27 = (uint)(num130 + (num131 + num131)); + uint num132 = num27; + num5 = (int)(array3[5] << 5); + num6 = (int)num132; + int num133 = num6 ^ num5; + int num134 = num6 & num5; + num27 = (uint)(num133 + (num134 + num134)); + uint num135 = num26; + num5 = (int)array3[4]; + num6 = (int)num135; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num136 = num24; + num5 = (int)(array3[4] * 22); + num6 = (int)num136; + int num137 = num6 ^ num5; + int num138 = num6 & num5; + num24 = (uint)(num137 + (num138 + num138)); + uint num139 = num26; + num5 = (int)(array3[5] * 22); + num6 = (int)num139; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num140 = num26; + num5 = (int)(array3[6] << 5); + num6 = (int)num140; + int num141 = num6 ^ num5; + int num142 = num6 & num5; + num26 = (uint)(num141 + (num142 + num142)); + uint num143 = num24; + num5 = (int)(array3[5] * 81); + num6 = (int)num143; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num144 = array3[7]; + num5 = 1744861138; + num6 = (int)num144; + array3[7] = (uint)((num6 | num5) - (num6 & num5)); + uint num145 = num24; + num5 = (int)(array3[6] << 3); + num6 = (int)num145; + int num146 = num6 ^ num5; + int num147 = num6 & num5; + num24 = (uint)(num146 + (num147 + num147)); + uint num148 = num27; + num5 = (int)(array3[6] * 69); + num6 = (int)num148; + num27 = (uint)((num6 | num5) + (num6 & num5)); + uint num149 = num24; + num5 = (int)(array3[6] << 7); + num6 = (int)num149; + num24 = (uint)((num6 | num5) + (num6 & num5)); + array3[6] = num18; + array3[4] = num27; + array3[5] = num24; + num27 = array3[1] * 54; + num18 = array3[1] * 57; + uint num150 = num27; + num5 = (int)(array3[13] * 46); + num6 = (int)num150; + num27 = (uint)((num6 | num5) + (num6 & num5)); + num24 = array3[1] * 22; + array3[14] = num26; + uint num151 = num24; + num5 = (int)(array3[13] * 29); + num6 = (int)num151; + num24 = (uint)((num6 | num5) + (num6 & num5)); + num26 = array3[1] * 15; + uint num152 = num26; + num5 = (int)(array3[13] << 2); + num6 = (int)num152; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num153 = num24; + num5 = (int)(array3[15] * 142); + num6 = (int)num153; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num154 = num26; + num5 = (int)(array3[13] << 3); + num6 = (int)num154; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num155 = array3[10]; + num5 = (int)array2[10]; + num6 = (int)num155; + array3[10] = (uint)((num6 | num5) - (num6 & num5)); + uint num156 = array3[9]; + num5 = 1819348785; + num6 = (int)num156; + array3[9] = (uint)(~(~num6 + num5)); + uint num157 = num26; + num5 = (int)(array3[15] * 70); + num6 = (int)num157; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num158 = num24; + num5 = (int)(array3[3] * 133); + num6 = (int)num158; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num159 = num18; + num5 = (int)(array3[13] << 6); + num6 = (int)num159; + int num160 = num6 ^ num5; + int num161 = num6 & num5; + num18 = (uint)(num160 + (num161 + num161)); + uint num162 = num27; + num5 = (int)(array3[15] * 261); + num6 = (int)num162; + int num163 = num6 ^ num5; + int num164 = num6 & num5; + num27 = (uint)(num163 + (num164 + num164)); + uint num165 = array3[9]; + num5 = (int)(~array3[2]); + num6 = (int)num165; + int num166 = num6 + num5; + int num167 = num6 & num5; + array3[9] = (uint)(num166 - (num167 + num167)); + uint num168 = num27; + num5 = (int)(array3[3] * 249); + num6 = (int)num168; + int num169 = num6 ^ num5; + int num170 = num6 & num5; + num27 = (uint)(num169 + (num170 + num170)); + uint num171 = num26; + num5 = (int)(array3[3] * 67); + num6 = (int)num171; + int num172 = num6 ^ num5; + int num173 = num6 & num5; + num26 = (uint)(num172 + (num173 + num173)); + uint num174 = array3[2]; + num5 = (int)array3[4]; + num6 = (int)num174; + int num175 = num6 + num5; + int num176 = num6 & num5; + array3[2] = (uint)(num175 - (num176 + num176)); + uint num177 = num18; + num5 = (int)array3[13]; + num6 = (int)num177; + int num178 = num6 ^ num5; + int num179 = num6 & num5; + num18 = (uint)(num178 + (num179 + num179)); + array3[13] = num27; + array3[1] = num26; + uint num180 = array3[2]; + num5 = (int)array2[2]; + num6 = (int)num180; + array3[2] = (uint)((num6 | num5) - (num6 & num5)); + uint num181 = num18; + num5 = (int)(array3[15] * 335); + num6 = (int)num181; + num18 = (uint)((num6 | num5) + (num6 & num5)); + num27 = array3[10] * 3999394879u; + uint num182 = num18; + num5 = (int)(array3[3] * 316); + num6 = (int)num182; + int num183 = num6 ^ num5; + int num184 = num6 & num5; + num18 = (uint)(num183 + (num184 + num184)); + num26 = array3[2] >> 2; + array3[3] = num18; + num18 = array3[7] << 5; + array3[7] = array3[7] >> 27; + array3[10] = array3[3]; + uint num185 = array3[7]; + num5 = (int)num18; + num6 = (int)num185; + array3[7] = (uint)(num6 + num5 - (num6 & num5)); + num18 = array3[14] >> 22; + array3[14] = array3[14] << 10; + uint num186 = array3[7]; + num5 = (int)array2[7]; + num6 = (int)num186; + int num187 = num6 + num5; + int num188 = num6 & num5; + array3[7] = (uint)(num187 - (num188 + num188)); + array3[15] = num24; + uint num189 = array3[8]; + num5 = -617041053; + num6 = (int)num189; + array3[8] = (uint)(~(~num6 + num5)); + uint num190 = array3[13]; + num5 = (int)array2[13]; + num6 = (int)num190; + int num191 = num6 + num5; + int num192 = num6 & num5; + array3[13] = (uint)(num191 - (num192 + num192)); + uint num193 = array3[14]; + num5 = (int)num18; + num6 = (int)num193; + array3[14] = (uint)(num6 + num5 - (num6 & num5)); + uint num194 = array3[1]; + num5 = 2137011429; + num6 = (int)num194; + array3[1] = (uint)((num6 | num5) - (num6 & num5)); + uint num195 = array3[13]; + num5 = -1828564402; + num6 = (int)num195; + num18 = (uint)((num6 | num5) - (num6 ^ num5)); + uint num196 = array3[13]; + num5 = 1828564401; + num6 = (int)num196; + array3[13] = (uint)(num6 + num5 - (num6 | num5)); + uint num197 = array3[13]; + uint num198 = array3[0]; + num5 = -1828564402; + num6 = (int)num198; + num5 = num6 + num5 - (num6 | num5); + num6 = (int)num197; + array3[13] = (uint)((num6 & num5) + (num6 ^ num5)); + array3[2] = array3[2] << 30; + uint num199 = array3[0]; + num5 = 1828564401; + num6 = (int)num199; + array3[0] = (uint)(num6 + num5 - (num6 | num5)); + num18 *= 3687362961u; + uint num200 = array3[15]; + num5 = (int)array2[15]; + num6 = (int)num200; + array3[15] = (uint)((num6 | num5) - (num6 & num5)); + uint num201 = array3[0]; + num5 = (int)num18 * -19910799; + num6 = (int)num201; + array3[0] = (uint)((num6 & num5) + (num6 ^ num5)); + num18 = array3[11] << 31; + array3[11] = array3[11] >> 1; + uint num202 = array3[11]; + num5 = (int)num18; + num6 = (int)num202; + array3[11] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num203 = array3[5]; + num5 = 1367555891; + num6 = (int)num203; + array3[5] = (uint)(~(~num6 + num5)); + array3[3] = num27 * 3855877055u; + num18 = array3[7] * 643575189; + uint num204 = array3[1]; + num5 = (int)array2[1]; + num6 = (int)num204; + int num205 = num6 + num5; + int num206 = num6 & num5; + array3[1] = (uint)(num205 - (num206 + num206)); + uint num207 = array3[9]; + num5 = (int)array2[9]; + num6 = (int)num207; + array3[9] = (uint)((num6 | num5) - (num6 & num5)); + num24 = array3[11] * 21; + uint num208 = array3[9]; + num5 = -1258220314; + num6 = (int)num208; + int num209 = num6 + num5; + int num210 = num6 & num5; + array3[9] = (uint)(num209 - (num210 + num210)); + array3[7] = array3[12]; + num27 = array3[11] << 1; + uint num211 = num27; + num5 = (int)(array3[7] * 7); + num6 = (int)num211; + int num212 = num6 ^ num5; + int num213 = num6 & num5; + num27 = (uint)(num212 + (num213 + num213)); + array3[12] = num18 * 3705189821u; + uint num214 = array3[2]; + num5 = (int)num26; + num6 = (int)num214; + array3[2] = (uint)(num6 + num5 - (num6 & num5)); + uint num215 = array3[3]; + num5 = (int)array3[5]; + num6 = (int)num215; + int num216 = num6 + num5; + int num217 = num6 & num5; + array3[3] = (uint)(num216 - (num217 + num217)); + num18 = array3[4] >> 25; + uint num218 = num24; + num5 = (int)(array3[7] << 6); + num6 = (int)num218; + num24 = (uint)((num6 | num5) + (num6 & num5)); + num26 = array3[8] * 485673863; + array3[8] = array3[13]; + uint num219 = array3[14]; + num5 = (int)array2[14]; + num6 = (int)num219; + int num220 = num6 + num5; + int num221 = num6 & num5; + array3[14] = (uint)(num220 - (num221 + num221)); + uint num222 = num24; + num5 = (int)array3[7]; + num6 = (int)num222; + num24 = (uint)((num6 | num5) + (num6 & num5)); + array3[13] = num26 * 734333495; + array3[4] = array3[4] << 7; + uint num223 = array3[4]; + num5 = (int)num18; + num6 = (int)num223; + array3[4] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num224 = array3[15]; + num5 = (int)array3[6]; + num6 = (int)num224; + array3[15] = (uint)(~(~num6 + num5)); + uint num225 = array3[6]; + num5 = (int)array3[0]; + num6 = (int)num225; + array3[6] = (uint)(~(~num6 + num5)); + uint num226 = num27; + num5 = (int)(array3[14] << 3); + num6 = (int)num226; + int num227 = num6 ^ num5; + int num228 = num6 & num5; + num27 = (uint)(num227 + (num228 + num228)); + num26 = array3[11]; + uint num229 = array3[12]; + num5 = (int)array3[10]; + num6 = (int)num229; + int num230 = num6 + num5; + int num231 = num6 & num5; + array3[12] = (uint)(num230 - (num231 + num231)); + uint num232 = num26; + num5 = (int)(array3[7] << 1); + num6 = (int)num232; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num233 = array3[15]; + num5 = 302785100; + num6 = (int)num233; + array3[15] = (uint)((num6 | num5) - (num6 & num5)); + uint num234 = array3[15]; + num5 = (int)(~array3[1]); + num6 = (int)num234; + int num235 = num6 + num5; + int num236 = num6 & num5; + array3[15] = (uint)(num235 - (num236 + num236)); + uint num237 = num27; + num5 = (int)(array3[9] << 1); + num6 = (int)num237; + int num238 = num6 ^ num5; + int num239 = num6 & num5; + num27 = (uint)(num238 + (num239 + num239)); + uint num240 = num26; + num5 = (int)array3[7]; + num6 = (int)num240; + num26 = (uint)((num6 | num5) + (num6 & num5)); + num18 = array3[11] << 3; + uint num241 = num27; + num5 = (int)(array3[9] << 3); + num6 = (int)num241; + int num242 = num6 ^ num5; + int num243 = num6 & num5; + num27 = (uint)(num242 + (num243 + num243)); + uint num244 = num26; + num5 = (int)(array3[14] << 1); + num6 = (int)num244; + num26 = (uint)((num6 | num5) + (num6 & num5)); + array3[11] = num27; + uint num245 = array3[0]; + num5 = 1431460207; + num6 = (int)num245; + num27 = (uint)(num6 + num5 - (num6 | num5)); + uint num246 = num18; + num5 = (int)(array3[7] * 25); + num6 = (int)num246; + int num247 = num6 ^ num5; + int num248 = num6 & num5; + num18 = (uint)(num247 + (num248 + num248)); + uint num249 = num24; + num5 = (int)(array3[14] << 3); + num6 = (int)num249; + num24 = (uint)((num6 | num5) + (num6 & num5)); + uint num250 = array3[12]; + num5 = (int)array2[12]; + num6 = (int)num250; + array3[12] = (uint)((num6 | num5) - (num6 & num5)); + uint num251 = array3[0]; + num5 = -1431460208; + num6 = (int)num251; + array3[0] = (uint)(num6 + num5 - (num6 | num5)); + uint num252 = array3[0]; + uint num253 = array3[1]; + num5 = 1431460207; + num6 = (int)num253; + num5 = num6 + num5 - (num6 | num5); + num6 = (int)num252; + array3[0] = (uint)((num6 & num5) + (num6 ^ num5)); + uint num254 = num26; + num5 = (int)array3[14]; + num6 = (int)num254; + int num255 = num6 ^ num5; + int num256 = num6 & num5; + num26 = (uint)(num255 + (num256 + num256)); + uint num257 = num24; + num5 = (int)(array3[14] << 6); + num6 = (int)num257; + num24 = (uint)((num6 | num5) + (num6 & num5)); + num27 *= 3090452553u; + uint num258 = num18; + num5 = (int)(array3[14] * 27); + num6 = (int)num258; + num18 = (uint)((num6 | num5) + (num6 & num5)); + uint num259 = num18; + num5 = (int)(array3[9] * 26); + num6 = (int)num259; + num18 = (uint)((num6 | num5) + (num6 & num5)); + uint num260 = num26; + num5 = (int)(array3[9] << 1); + num6 = (int)num260; + num26 = (uint)((num6 | num5) + (num6 & num5)); + uint num261 = array3[1]; + num5 = -1431460208; + num6 = (int)num261; + array3[1] = (uint)(num6 + num5 - (num6 | num5)); + array3[14] = num18; + uint num262 = array3[1]; + num5 = (int)num27 * -2137759239; + num6 = (int)num262; + array3[1] = (uint)((num6 & num5) + (num6 ^ num5)); + array3[7] = num26; + uint num263 = num24; + num5 = (int)(array3[9] * 73); + num6 = (int)num263; + int num264 = num6 ^ num5; + int num265 = num6 & num5; + num24 = (uint)(num264 + (num265 + num265)); + array3[9] = num24; + int num266 = 0; + while (num266 < 16) + { + uint num267 = array3[num266]; + int num268 = num11; + num5 = 1; + num6 = num268; + num11 = (num6 | num5) + (num6 & num5); + array4[num268] = (byte)num267; + int num269 = num11; + num5 = 1; + num6 = num269; + int num270 = num6 ^ num5; + int num271 = num6 & num5; + num11 = num270 + (num271 + num271); + array4[num269] = (byte)(num267 >> 8); + int num272 = num11; + num5 = 1; + num6 = num272; + int num273 = num6 ^ num5; + int num274 = num6 & num5; + num11 = num273 + (num274 + num274); + array4[num272] = (byte)(num267 >> 16); + int num275 = num11; + num5 = 1; + num6 = num275; + num11 = (num6 | num5) + (num6 & num5); + array4[num275] = (byte)(num267 >> 24); + array2[num266] ^= num267; + int num276 = num266; + num5 = 1; + num6 = num276; + int num277 = num6 ^ num5; + int num278 = num6 & num5; + num266 = num277 + (num278 + num278); + } + int num279 = num10; + num5 = 16; + num6 = num279; + num10 = (num6 | num5) + (num6 & num5); + } + _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E = _206D_206A_206C_200F_206D_206F_206C_202C_206D_206D_202D_206C_200B_200D_202E_206E_200F_206F_200C_206D_206D_206B_202E_202B_202D_200D_206D_202B_202C_200B_206B_206A_206C_202A_206E_200E_202D_202E_200C_206C_202E(array4); + } + + internal static int _202E_202E_206D_200C_202D_202D_200D_206C_200B_206B_206C_206F_200F_206D_202D_202E_206D_202A_206F_200E_206E_206D_202A_202E_206E_202B_206F_202C_202A_200B_200C_206E_206B_200C_202E_206E_206A_200D_202A_200E_202E(int id) + { + id <<= 2; + byte num = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E[id]; + byte[] array = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num2 = id; + int num3 = 1; + int num4 = num2; + num3 = array[(num4 | num3) + (num4 & num3)] << 8; + num4 = num; + int num5 = num4 + num3 - (num4 & num3); + byte[] array2 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num6 = id; + num3 = 2; + num4 = num6; + num3 = array2[(num4 | num3) + (num4 & num3)] << 16; + num4 = num5; + int num7 = (num4 & num3) + (num4 ^ num3); + byte[] array3 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num8 = id; + num3 = 3; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num3 = array3[num9 + (num10 + num10)] << 24; + num4 = num7; + return num4 + num3 - (num4 & num3); + } + + internal static long _202E_206A_200B_202D_200B_206B_206E_200D_202C_206B_200D_202C_202D_206E_202B_206C_206A_200C_202D_202D_206C_200B_200D_202D_202C_202E_200D_200D_200F_200E_206A_206F_206A_202B_200E_206D_206E_206D_206A_206B_202E(int id) + { + id <<= 2; + byte num = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E[id]; + byte[] array = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num2 = id; + int num3 = 1; + int num4 = num2; + num3 = array[(num4 | num3) + (num4 & num3)] << 8; + num4 = num; + int num5 = (num4 & num3) + (num4 ^ num3); + byte[] array2 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num6 = id; + num3 = 2; + num4 = num6; + num3 = array2[(num4 | num3) + (num4 & num3)] << 16; + num4 = num5; + int num7 = (num4 & num3) + (num4 ^ num3); + byte[] array3 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num8 = id; + num3 = 3; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num3 = array3[num9 + (num10 + num10)] << 24; + num4 = num7; + uint num11 = (uint)((num4 & num3) + (num4 ^ num3)); + byte[] array4 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num12 = id; + num3 = 4; + num4 = num12; + byte num13 = array4[(num4 | num3) + (num4 & num3)]; + byte[] array5 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num14 = id; + num3 = 5; + num4 = num14; + num3 = array5[(num4 | num3) + (num4 & num3)] << 8; + num4 = num13; + int num15 = num4 + num3 - (num4 & num3); + byte[] array6 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num16 = id; + num3 = 6; + num4 = num16; + int num17 = num4 ^ num3; + int num18 = num4 & num3; + num3 = array6[num17 + (num18 + num18)] << 16; + num4 = num15; + int num19 = num4 + num3 - (num4 & num3); + byte[] array7 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num20 = id; + num3 = 7; + num4 = num20; + num3 = array7[(num4 | num3) + (num4 & num3)] << 24; + num4 = num19; + ulong num21 = (ulong)(uint)(num4 + num3 - (num4 & num3)) << 32; + long num22 = num11; + long num23 = (long)num21; + return (num23 & num22) + (num23 ^ num22); + } + + internal static float _202D_202C_206F_202C_200C_200D_200D_202D_200C_200B_206E_202C_206F_206C_206D_206D_206B_202B_206F_206A_202D_206F_202E_200D_206A_206D_206B_206B_200E_206E_206D_200C_206E_202B_202A_200E_200C_202D_206A_206D_202E(int id) + { + return BitConverter.ToSingle(_202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E, id << 2); + } + + internal static double _206E_200F_206C_206D_200F_200E_206A_200E_202B_200D_206D_202B_200F_202A_200C_200C_200D_200E_206B_200E_206E_206D_202A_206E_206E_200E_206D_200E_200B_202C_200F_206E_200F_202C_206E_202E_206E_206A_206A_202C_202E(int id) + { + return BitConverter.ToDouble(_202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E, id << 2); + } + + internal static _002D _206C_200D_200D_206D_202E_200F_206A_206A_206D_202A_202D_200D_206F_206A_200F_206C_200F_202D_206B_202B_200B_202A_200B_202A_206A_206A_200D_206B_202E_206B_206F_206D_200E_202B_202C_202B_200B_202A_202C_206A_202E<_002D>(int id) + { + int num = id * 546233917; + int num2 = 1278539976; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 3: + { + byte num31 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E[id]; + byte[] array10 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num32 = id; + num2 = 1; + num3 = num32; + int num33 = num3 ^ num2; + int num34 = num3 & num2; + num2 = array10[num33 + (num34 + num34)] << 8; + num3 = num31; + int num35 = (num3 & num2) + (num3 ^ num2); + byte[] array11 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num36 = id; + num2 = 2; + num3 = num36; + int num37 = num3 ^ num2; + int num38 = num3 & num2; + num2 = array11[num37 + (num38 + num38)] << 16; + num3 = num35; + int num39 = num3 + num2 - (num3 & num2); + byte[] array12 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num40 = id; + num2 = 3; + num3 = num40; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num39; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num41 = id; + num2 = 4; + num3 = num41; + return (_002D)(object)string.Intern(uTF.GetString(bytes, (num3 | num2) + (num3 & num2), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 1: + { + byte num8 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E[id]; + byte[] array = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = num3 + num2 - (num3 & num2); + byte[] array2 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = num3 + num2 - (num3 & num2); + byte[] array3 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num15 = id; + num2 = 3; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + num2 = array3[num16 + (num17 + num17)] << 24; + num3 = num14; + int num18 = num3 + num2 - (num3 & num2); + byte[] array4 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num19 = id; + num2 = 4; + num3 = num19; + int num20 = num3 ^ num2; + int num21 = num3 & num2; + byte num22 = array4[num20 + (num21 + num21)]; + byte[] array5 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num23 = id; + num2 = 5; + num3 = num23; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num22; + int num24 = (num3 & num2) + (num3 ^ num2); + byte[] array6 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num25 = id; + num2 = 6; + num3 = num25; + num2 = array6[(num3 | num2) + (num3 & num2)] << 16; + num3 = num24; + int num26 = num3 + num2 - (num3 & num2); + byte[] array7 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num27 = id; + num2 = 7; + num3 = num27; + int num28 = num3 ^ num2; + int num29 = num3 & num2; + num2 = array7[num28 + (num29 + num29)] << 24; + num3 = num26; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num30 = id; + num2 = 8; + num3 = num30; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num18; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _202C_206A_200E_202C_200C_206A_206A_202A_206C_200E_202D_200D_206C_206D_202D_200E_200B_202A_200B_206C_200C_202E_206D_202D_200F_206B_206E_200D_200C_206E_202B_206E_200C_206B_200E_200C_206D_200C_206B_202B_202E<_002D>(int id) + { + int num = id * 1725555487; + int num2 = -1577733383; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 3: + { + byte num31 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E[id]; + byte[] array10 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num32 = id; + num2 = 1; + num3 = num32; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num31; + int num33 = num3 + num2 - (num3 & num2); + byte[] array11 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num34 = id; + num2 = 2; + num3 = num34; + int num35 = num3 ^ num2; + int num36 = num3 & num2; + num2 = array11[num35 + (num36 + num36)] << 16; + num3 = num33; + int num37 = num3 + num2 - (num3 & num2); + byte[] array12 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num38 = id; + num2 = 3; + num3 = num38; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num37; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num39 = id; + num2 = 4; + num3 = num39; + int num40 = num3 ^ num2; + int num41 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num40 + (num41 + num41), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 1: + { + byte num8 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E[id]; + byte[] array = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = num3 + num2 - (num3 & num2); + byte[] array2 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num11 = id; + num2 = 2; + num3 = num11; + int num12 = num3 ^ num2; + int num13 = num3 & num2; + num2 = array2[num12 + (num13 + num13)] << 16; + num3 = num10; + int num14 = num3 + num2 - (num3 & num2); + byte[] array3 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num15 = id; + num2 = 3; + num3 = num15; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num14; + int num16 = num3 + num2 - (num3 & num2); + byte[] array4 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num17 = id; + num2 = 4; + num3 = num17; + int num18 = num3 ^ num2; + int num19 = num3 & num2; + byte num20 = array4[num18 + (num19 + num19)]; + byte[] array5 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num21 = id; + num2 = 5; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array5[num22 + (num23 + num23)] << 8; + num3 = num20; + int num24 = num3 + num2 - (num3 & num2); + byte[] array6 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num25 = id; + num2 = 6; + num3 = num25; + num2 = array6[(num3 | num2) + (num3 & num2)] << 16; + num3 = num24; + int num26 = num3 + num2 - (num3 & num2); + byte[] array7 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num27 = id; + num2 = 7; + num3 = num27; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num26; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num28 = id; + num2 = 8; + num3 = num28; + int num29 = num3 ^ num2; + int num30 = num3 & num2; + int srcOffset = num29 + (num30 + num30); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _202E_200F_206C_202A_202D_200C_200C_200B_202B_200E_202C_202C_202D_206B_202E_206A_200D_206F_206F_200B_206F_206B_202E_206D_202C_202B_200B_206B_200E_202E_200D_200D_202A_206B_206C_202D_206B_202C_200B_200E_202E<_002D>(int id) + { + int num = id * -725843581; + int num2 = 1352092440; + int num3 = num; + int num4 = num3 + num2; + int num5 = num3 & num2; + id = num4 - (num5 + num5); + int num6 = id >>> 30; + int num7 = id; + num2 = 1073741823; + num3 = num7; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num6) + { + case 2: + { + byte num25 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E[id]; + byte[] array10 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num26 = id; + num2 = 1; + num3 = num26; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num25; + int num27 = (num3 & num2) + (num3 ^ num2); + byte[] array11 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num28 = id; + num2 = 2; + num3 = num28; + int num29 = num3 ^ num2; + int num30 = num3 & num2; + num2 = array11[num29 + (num30 + num30)] << 16; + num3 = num27; + int num31 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num32 = id; + num2 = 3; + num3 = num32; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num31; + int count = (num3 & num2) + (num3 ^ num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num33 = id; + num2 = 4; + num3 = num33; + int num34 = num3 ^ num2; + int num35 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num34 + (num35 + num35), count)); + } + case 1: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 0: + { + byte num8 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E[id]; + byte[] array = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num9 = id; + num2 = 1; + num3 = num9; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num8; + int num10 = num3 + num2 - (num3 & num2); + byte[] array2 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num11 = id; + num2 = 2; + num3 = num11; + num2 = array2[(num3 | num2) + (num3 & num2)] << 16; + num3 = num10; + int num12 = num3 + num2 - (num3 & num2); + byte[] array3 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num13 = id; + num2 = 3; + num3 = num13; + int num14 = num3 ^ num2; + int num15 = num3 & num2; + num2 = array3[num14 + (num15 + num15)] << 24; + num3 = num12; + int num16 = (num3 & num2) + (num3 ^ num2); + byte[] array4 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num17 = id; + num2 = 4; + num3 = num17; + byte num18 = array4[(num3 | num2) + (num3 & num2)]; + byte[] array5 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num19 = id; + num2 = 5; + num3 = num19; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num18; + int num20 = (num3 & num2) + (num3 ^ num2); + byte[] array6 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num21 = id; + num2 = 6; + num3 = num21; + num2 = array6[(num3 | num2) + (num3 & num2)] << 16; + num3 = num20; + int num22 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num23 = id; + num2 = 7; + num3 = num23; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num22; + int length = (num3 & num2) + (num3 ^ num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num24 = id; + num2 = 8; + num3 = num24; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _206C_206C_200C_206D_206C_206F_202D_206B_206F_202C_200F_206A_200E_202A_202C_206F_200E_206A_200B_200F_202A_202C_206F_206A_200C_200D_200E_200E_202A_200C_206B_200E_206E_206C_200D_202B_206F_200C_202E_206E_202E<_002D>(int id) + { + int num = id * -637435145; + int num2 = -447986820; + int num3 = num; + id = (num3 | num2) - (num3 & num2); + int num4 = id >>> 30; + int num5 = id; + num2 = 1073741823; + num3 = num5; + id = (num3 | num2) - (num3 ^ num2) << 2; + switch (num4) + { + case 3: + { + byte num31 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E[id]; + byte[] array10 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num32 = id; + num2 = 1; + num3 = num32; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num31; + int num33 = num3 + num2 - (num3 & num2); + byte[] array11 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num34 = id; + num2 = 2; + num3 = num34; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num33; + int num35 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num36 = id; + num2 = 3; + num3 = num36; + num2 = array12[(num3 | num2) + (num3 & num2)] << 24; + num3 = num35; + int count = (num3 & num2) + (num3 ^ num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num37 = id; + num2 = 4; + num3 = num37; + return (_002D)(object)string.Intern(uTF.GetString(bytes, (num3 | num2) + (num3 & num2), count)); + } + case 2: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 0: + { + byte num6 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E[id]; + byte[] array = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num7 = id; + num2 = 1; + num3 = num7; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num6; + int num8 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num9 = id; + num2 = 2; + num3 = num9; + int num10 = num3 ^ num2; + int num11 = num3 & num2; + num2 = array2[num10 + (num11 + num11)] << 16; + num3 = num8; + int num12 = num3 + num2 - (num3 & num2); + byte[] array3 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num13 = id; + num2 = 3; + num3 = num13; + int num14 = num3 ^ num2; + int num15 = num3 & num2; + num2 = array3[num14 + (num15 + num15)] << 24; + num3 = num12; + int num16 = num3 + num2 - (num3 & num2); + byte[] array4 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num17 = id; + num2 = 4; + num3 = num17; + int num18 = num3 ^ num2; + int num19 = num3 & num2; + byte num20 = array4[num18 + (num19 + num19)]; + byte[] array5 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num21 = id; + num2 = 5; + num3 = num21; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num20; + int num22 = num3 + num2 - (num3 & num2); + byte[] array6 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num23 = id; + num2 = 6; + num3 = num23; + int num24 = num3 ^ num2; + int num25 = num3 & num2; + num2 = array6[num24 + (num25 + num25)] << 16; + num3 = num22; + int num26 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num27 = id; + num2 = 7; + num3 = num27; + num2 = array7[(num3 | num2) + (num3 & num2)] << 24; + num3 = num26; + int length = (num3 & num2) + (num3 ^ num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num28 = id; + num2 = 8; + num3 = num28; + int num29 = num3 ^ num2; + int num30 = num3 & num2; + int srcOffset = num29 + (num30 + num30); + num2 = 4; + num3 = num16; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } + + internal static _002D _200B_200C_206E_200D_206E_206D_200D_206D_206B_206F_202C_206B_206D_202D_206D_206D_202D_202E_200B_200E_206D_206A_206F_202A_202A_200F_206F_202E_206F_206A_206C_206F_202B_202B_206C_200E_200E_200D_206E_206D_202E<_002D>(int id) + { + int num = id * 575492379; + int num2 = -1212761944; + int num3 = num; + id = (num3 | num2) - (num3 & num2); + int num4 = id >>> 30; + int num5 = id; + num2 = 1073741823; + num3 = num5; + id = num3 + num2 - (num3 | num2) << 2; + switch (num4) + { + case 1: + { + byte num29 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E[id]; + byte[] array10 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num30 = id; + num2 = 1; + num3 = num30; + num2 = array10[(num3 | num2) + (num3 & num2)] << 8; + num3 = num29; + int num31 = (num3 & num2) + (num3 ^ num2); + byte[] array11 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num32 = id; + num2 = 2; + num3 = num32; + num2 = array11[(num3 | num2) + (num3 & num2)] << 16; + num3 = num31; + int num33 = (num3 & num2) + (num3 ^ num2); + byte[] array12 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num34 = id; + num2 = 3; + num3 = num34; + int num35 = num3 ^ num2; + int num36 = num3 & num2; + num2 = array12[num35 + (num36 + num36)] << 24; + num3 = num33; + int count = num3 + num2 - (num3 & num2); + Encoding uTF = Encoding.UTF8; + byte[] bytes = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num37 = id; + num2 = 4; + num3 = num37; + int num38 = num3 ^ num2; + int num39 = num3 & num2; + return (_002D)(object)string.Intern(uTF.GetString(bytes, num38 + (num39 + num39), count)); + } + case 3: + { + _002D[] array9 = new _002D[1]; + Buffer.BlockCopy(_202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E, id, array9, 0, Unsafe.SizeOf<_002D>()); + return array9[0]; + } + case 0: + { + byte num6 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E[id]; + byte[] array = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num7 = id; + num2 = 1; + num3 = num7; + num2 = array[(num3 | num2) + (num3 & num2)] << 8; + num3 = num6; + int num8 = (num3 & num2) + (num3 ^ num2); + byte[] array2 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num9 = id; + num2 = 2; + num3 = num9; + int num10 = num3 ^ num2; + int num11 = num3 & num2; + num2 = array2[num10 + (num11 + num11)] << 16; + num3 = num8; + int num12 = (num3 & num2) + (num3 ^ num2); + byte[] array3 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num13 = id; + num2 = 3; + num3 = num13; + num2 = array3[(num3 | num2) + (num3 & num2)] << 24; + num3 = num12; + int num14 = num3 + num2 - (num3 & num2); + byte[] array4 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num15 = id; + num2 = 4; + num3 = num15; + int num16 = num3 ^ num2; + int num17 = num3 & num2; + byte num18 = array4[num16 + (num17 + num17)]; + byte[] array5 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num19 = id; + num2 = 5; + num3 = num19; + num2 = array5[(num3 | num2) + (num3 & num2)] << 8; + num3 = num18; + int num20 = (num3 & num2) + (num3 ^ num2); + byte[] array6 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num21 = id; + num2 = 6; + num3 = num21; + int num22 = num3 ^ num2; + int num23 = num3 & num2; + num2 = array6[num22 + (num23 + num23)] << 16; + num3 = num20; + int num24 = (num3 & num2) + (num3 ^ num2); + byte[] array7 = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num25 = id; + num2 = 7; + num3 = num25; + int num26 = num3 ^ num2; + int num27 = num3 & num2; + num2 = array7[num26 + (num27 + num27)] << 24; + num3 = num24; + int length = num3 + num2 - (num3 & num2); + Array array8 = Array.CreateInstance(typeof(_002D).GetElementType(), length); + byte[] src = _202C_200F_206E_202B_200B_202C_206A_202C_200C_200D_206B_200D_200E_202E_202B_202A_202C_206B_206F_206E_202E_200C_200B_206B_202B_206A_200B_206B_206F_200E_206F_202D_200E_202D_202D_206B_200F_200D_200F_202E_202E; + int num28 = id; + num2 = 8; + num3 = num28; + int srcOffset = (num3 | num2) + (num3 & num2); + num2 = 4; + num3 = num14; + Buffer.BlockCopy(src, srcOffset, array8, 0, ~(~num3 + num2)); + return (_002D)(object)array8; + } + default: + return default(_002D); + } + } +} diff --git a/SmartNav/SmartNav.Data/AetheryteData.cs b/SmartNav/SmartNav.Data/AetheryteData.cs new file mode 100644 index 0000000..d165245 --- /dev/null +++ b/SmartNav/SmartNav.Data/AetheryteData.cs @@ -0,0 +1,1067 @@ +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.Numerics; +using Dalamud.Plugin.Services; +using Lumina.Excel.Sheets; +using SmartNav.Model; + +namespace SmartNav.Data; + +public sealed class AetheryteData +{ + public ReadOnlyDictionary Locations { get; } = new Dictionary + { + { + EAetheryteLocation.Gridania, + new Vector3(32.913696f, 2.670288f, 30.014404f) + }, + { + EAetheryteLocation.GridaniaArcher, + new Vector3(166.58276f, -1.7243042f, 86.13721f) + }, + { + EAetheryteLocation.GridaniaLeatherworker, + new Vector3(101.27405f, 9.018005f, -111.31464f) + }, + { + EAetheryteLocation.GridaniaLancer, + new Vector3(121.23291f, 12.649658f, -229.63306f) + }, + { + EAetheryteLocation.GridaniaConjurer, + new Vector3(-145.15906f, 4.9591064f, -11.7647705f) + }, + { + EAetheryteLocation.GridaniaBotanist, + new Vector3(-311.0857f, 7.94989f, -177.05048f) + }, + { + EAetheryteLocation.GridaniaAmphitheatre, + new Vector3(-73.92999f, 7.9804688f, -140.15417f) + }, + { + EAetheryteLocation.GridaniaBlueBadgerGate, + new Vector3(128.18979f, 24.80679f, -302.40552f) + }, + { + EAetheryteLocation.GridaniaYellowSerpentGate, + new Vector3(449.4375f, -1.7500881f, 198.6606f) + }, + { + EAetheryteLocation.GridaniaWhiteWolfGate, + new Vector3(-304.8956f, 63.448616f, -278.82092f) + }, + { + EAetheryteLocation.CentralShroudBentbranchMeadows, + new Vector3(13.076904f, 0.56451416f, 35.90442f) + }, + { + EAetheryteLocation.EastShroudHawthorneHut, + new Vector3(-186.54156f, 3.7994385f, 297.56616f) + }, + { + EAetheryteLocation.SouthShroudQuarrymill, + new Vector3(178.60681f, 10.543945f, -68.19263f) + }, + { + EAetheryteLocation.SouthShroudCampTranquil, + new Vector3(-230.0603f, 22.62909f, 355.45886f) + }, + { + EAetheryteLocation.NorthShroudFallgourdFloat, + new Vector3(-41.58087f, -38.55963f, 233.7528f) + }, + { + EAetheryteLocation.Uldah, + new Vector3(-144.51825f, -1.3580933f, -169.6651f) + }, + { + EAetheryteLocation.UldahAdventurers, + new Vector3(64.22522f, 4.5318604f, -115.31244f) + }, + { + EAetheryteLocation.UldahThaumaturge, + new Vector3(-154.83331f, 14.633362f, 73.07532f) + }, + { + EAetheryteLocation.UldahGladiator, + new Vector3(-53.849182f, 10.696533f, 12.222412f) + }, + { + EAetheryteLocation.UldahMiner, + new Vector3(33.49353f, 13.229492f, 113.206665f) + }, + { + EAetheryteLocation.UldahAlchemist, + new Vector3(-98.25293f, 42.34375f, 88.45642f) + }, + { + EAetheryteLocation.UldahWeaver, + new Vector3(89.64673f, 12.924377f, 58.27417f) + }, + { + EAetheryteLocation.UldahGoldsmith, + new Vector3(-19.333252f, 14.602844f, 72.03784f) + }, + { + EAetheryteLocation.UldahSapphireAvenue, + new Vector3(131.9447f, 4.714966f, -29.800903f) + }, + { + EAetheryteLocation.UldahChamberOfRule, + new Vector3(6.6376343f, 30.655273f, -24.826477f) + }, + { + EAetheryteLocation.UldahGateOfTheSultana, + new Vector3(447.6007f, 93.934845f, 166.6396f) + }, + { + EAetheryteLocation.UldahGateOfNald, + new Vector3(-124.193f, 15.7974825f, 311.01138f) + }, + { + EAetheryteLocation.UldahGateOfThal, + new Vector3(37.892563f, 15.730891f, 576.57306f) + }, + { + EAetheryteLocation.WesternThanalanHorizon, + new Vector3(68.0094f, 48.203125f, -227.039f) + }, + { + EAetheryteLocation.CentralThanalanBlackBrushStation, + new Vector3(-16.159302f, 0.32037354f, -166.58276f) + }, + { + EAetheryteLocation.EasternThanalanCampDrybone, + new Vector3(-386.3432f, -57.1756f, 142.59558f) + }, + { + EAetheryteLocation.SouthernThanalanLittleAlaMhigo, + new Vector3(-159.3805f, 30.105957f, -415.45746f) + }, + { + EAetheryteLocation.SouthernThanalanForgottenSprings, + new Vector3(-326.6194f, 10.696533f, 406.63757f) + }, + { + EAetheryteLocation.NorthernThanalanCampBluefog, + new Vector3(20.98108f, 8.8349f, 454.0321f) + }, + { + EAetheryteLocation.NorthernThanalanCeruleumProcessingPlant, + new Vector3(-26.596497f, 49.881714f, -30.838562f) + }, + { + EAetheryteLocation.Limsa, + new Vector3(-84.031494f, 20.767456f, 0.015197754f) + }, + { + EAetheryteLocation.LimsaAftcastle, + new Vector3(16.067688f, 40.787354f, 68.80286f) + }, + { + EAetheryteLocation.LimsaCulinarian, + new Vector3(-56.50421f, 44.47998f, -131.45648f) + }, + { + EAetheryteLocation.LimsaArcanist, + new Vector3(-335.1645f, 12.619202f, 56.381958f) + }, + { + EAetheryteLocation.LimsaFisher, + new Vector3(-179.40033f, 4.8065186f, 182.97095f) + }, + { + EAetheryteLocation.LimsaMarauder, + new Vector3(-5.1728516f, 44.63257f, -218.06671f) + }, + { + EAetheryteLocation.LimsaHawkersAlley, + new Vector3(-213.61108f, 16.739136f, 51.80432f) + }, + { + EAetheryteLocation.LimsaZephyrGate, + new Vector3(-3.2144258f, 41.846645f, 146.13179f) + }, + { + EAetheryteLocation.LimsaTempestGate, + new Vector3(-25.634218f, 70.62885f, 102.7618f) + }, + { + EAetheryteLocation.LowerLaNosceaMorabyDrydocks, + new Vector3(156.11499f, 15.518433f, 673.21277f) + }, + { + EAetheryteLocation.MiddleLaNosceaSummerfordFarms, + new Vector3(227.98499f, 115.526f, -257.0382f) + }, + { + EAetheryteLocation.EasternLaNosceaCostaDelSol, + new Vector3(489.15845f, 20.828491f, 468.80298f) + }, + { + EAetheryteLocation.EasternLaNosceaWineport, + new Vector3(-18.387146f, 72.67859f, 3.829956f) + }, + { + EAetheryteLocation.WesternLaNosceaSwiftperch, + new Vector3(651.5449f, 11.734131f, 513.35913f) + }, + { + EAetheryteLocation.WesternLaNosceaAleport, + new Vector3(260.94446f, -19.60791f, 218.52441f) + }, + { + EAetheryteLocation.UpperLaNosceaCampBronzeLake, + new Vector3(437.4303f, 5.508484f, 94.590576f) + }, + { + EAetheryteLocation.OuterLaNosceaCampOverlook, + new Vector3(-117.54028f, 66.02576f, -212.66504f) + }, + { + EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, + new Vector3(223.98718f, 315.7854f, -234.85168f) + }, + { + EAetheryteLocation.MorDhona, + new Vector3(40.024292f, 24.002441f, -668.0247f) + }, + { + EAetheryteLocation.WolvesDenPier, + new Vector3(40.93994f, 5.4779663f, -14.816589f) + }, + { + EAetheryteLocation.GoldSaucer, + new Vector3(-0.015319824f, 3.4942627f, -0.015319824f) + }, + { + EAetheryteLocation.GoldSaucerEntranceCardSquares, + new Vector3(-64.74408f, 2.8839111f, 54.33728f) + }, + { + EAetheryteLocation.GoldSaucerWonderSquareEast, + new Vector3(59.067627f, 23.88031f, 63.035034f) + }, + { + EAetheryteLocation.GoldSaucerWonderSquareWest, + new Vector3(-0.38153076f, 23.88031f, 58.609863f) + }, + { + EAetheryteLocation.GoldSaucerEventSquare, + new Vector3(95.47571f, -2.1210327f, -72.3125f) + }, + { + EAetheryteLocation.GoldSaucerCactpotBoard, + new Vector3(114.42737f, 13.595764f, -38.864807f) + }, + { + EAetheryteLocation.GoldSaucerRoundSquare, + new Vector3(-24.765442f, 6.1798096f, -85.67944f) + }, + { + EAetheryteLocation.GoldSaucerChocoboSquare, + new Vector3(-16.037292f, 2.8839111f, -33.432617f) + }, + { + EAetheryteLocation.GoldSaucerMinionSquare, + new Vector3(50.736206f, 2.8839111f, 19.912964f) + }, + { + EAetheryteLocation.Ishgard, + new Vector3(-63.98114f, 11.154297f, 43.9917f) + }, + { + EAetheryteLocation.IshgardForgottenKnight, + new Vector3(45.792236f, 24.551636f, 0.99176025f) + }, + { + EAetheryteLocation.IshgardSkysteelManufactory, + new Vector3(-111.436646f, 16.128723f, -27.054321f) + }, + { + EAetheryteLocation.IshgardBrume, + new Vector3(49.42395f, -11.154419f, 66.69714f) + }, + { + EAetheryteLocation.IshgardAthenaeumAstrologicum, + new Vector3(133.37903f, -8.86554f, -64.77466f) + }, + { + EAetheryteLocation.IshgardJeweledCrozier, + new Vector3(-134.6914f, -11.795227f, -15.396423f) + }, + { + EAetheryteLocation.IshgardSaintReymanaudsCathedral, + new Vector3(-77.958374f, 10.60498f, -126.54315f) + }, + { + EAetheryteLocation.IshgardTribunal, + new Vector3(78.01941f, 11.001709f, -126.51257f) + }, + { + EAetheryteLocation.IshgardLastVigil, + new Vector3(0.015197754f, 16.525452f, -32.51703f) + }, + { + EAetheryteLocation.IshgardGatesOfJudgement, + new Vector3(-160.8786f, 304.1538f, -322.6239f) + }, + { + EAetheryteLocation.Idyllshire, + new Vector3(71.94617f, 211.26111f, -18.905945f) + }, + { + EAetheryteLocation.IdyllshireWest, + new Vector3(-75.48645f, 210.22351f, -21.347473f) + }, + { + EAetheryteLocation.IdyllshirePrologueGate, + new Vector3(-532.0464f, 152.57794f, -483.9748f) + }, + { + EAetheryteLocation.IdyllshireEpilogueGate, + new Vector3(-218.27411f, 104.45129f, -602.5139f) + }, + { + EAetheryteLocation.RhalgrsReach, + new Vector3(78.23291f, 1.9683228f, 97.45935f) + }, + { + EAetheryteLocation.RhalgrsReachWest, + new Vector3(-84.275635f, 0.503479f, 9.323181f) + }, + { + EAetheryteLocation.RhalgrsReachNorthEast, + new Vector3(101.24353f, 3.463745f, -115.46509f) + }, + { + EAetheryteLocation.RhalgrsReachFringesGate, + new Vector3(428.8543f, 61.426693f, -528.5814f) + }, + { + EAetheryteLocation.RhalgrsReachPeaksGate, + new Vector3(-642.2816f, 50.86753f, -788.3701f) + }, + { + EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, + new Vector3(474.87585f, 217.94458f, 708.5221f) + }, + { + EAetheryteLocation.SeaOfCloudsCampCloudtop, + new Vector3(-615.7473f, -118.36426f, 546.5934f) + }, + { + EAetheryteLocation.SeaOfCloudsOkZundu, + new Vector3(-613.1533f, -49.485046f, -415.03015f) + }, + { + EAetheryteLocation.AzysLlaHelix, + new Vector3(-722.8046f, -182.29956f, -593.40814f) + }, + { + EAetheryteLocation.DravanianForelandsTailfeather, + new Vector3(532.6771f, -48.722107f, 30.166992f) + }, + { + EAetheryteLocation.DravanianForelandsAnyxTrine, + new Vector3(-304.12756f, -16.70868f, 32.059082f) + }, + { + EAetheryteLocation.ChurningMistsMoghome, + new Vector3(259.20496f, -37.70508f, 596.85657f) + }, + { + EAetheryteLocation.ChurningMistsZenith, + new Vector3(-584.9546f, 52.84192f, 313.43542f) + }, + { + EAetheryteLocation.Kugane, + new Vector3(47.501343f, 8.438171f, -37.30841f) + }, + { + EAetheryteLocation.KuganeShiokazeHostelry, + new Vector3(-73.16705f, -6.088379f, -77.77527f) + }, + { + EAetheryteLocation.KuganePier1, + new Vector3(-113.57294f, -3.8911133f, 155.41309f) + }, + { + EAetheryteLocation.KuganeThavnairianConsulate, + new Vector3(27.17627f, 9.048584f, 141.58838f) + }, + { + EAetheryteLocation.KuganeMarkets, + new Vector3(26.687988f, 4.92865f, 73.3501f) + }, + { + EAetheryteLocation.KuganeBokairoInn, + new Vector3(-76.00525f, 19.058472f, -161.18109f) + }, + { + EAetheryteLocation.KuganeRubyBazaar, + new Vector3(132.40247f, 12.954895f, 83.02429f) + }, + { + EAetheryteLocation.KuganeSekiseigumiBarracks, + new Vector3(119.09656f, 13.01593f, -92.881714f) + }, + { + EAetheryteLocation.KuganeRakuzaDistrict, + new Vector3(24.64331f, 7.003784f, -152.97174f) + }, + { + EAetheryteLocation.KuganeRubyPrice, + new Vector3(845.87714f, 5.9230084f, 847.246f) + }, + { + EAetheryteLocation.FringesCastrumOriens, + new Vector3(-629.11426f, 132.89075f, -509.14783f) + }, + { + EAetheryteLocation.FringesPeeringStones, + new Vector3(415.3047f, 117.357056f, 246.75354f) + }, + { + EAetheryteLocation.PeaksAlaGannha, + new Vector3(114.579956f, 120.10376f, -747.06647f) + }, + { + EAetheryteLocation.PeaksAlaGhiri, + new Vector3(-271.3817f, 259.87634f, 748.86694f) + }, + { + EAetheryteLocation.LochsPortaPraetoria, + new Vector3(-652.0333f, 53.391357f, -16.006714f) + }, + { + EAetheryteLocation.LochsAlaMhiganQuarter, + new Vector3(612.4512f, 84.45862f, 656.82446f) + }, + { + EAetheryteLocation.RubySeaTamamizu, + new Vector3(358.72437f, -118.05908f, -263.4165f) + }, + { + EAetheryteLocation.RubySeaOnokoro, + new Vector3(88.181885f, 4.135132f, -583.3677f) + }, + { + EAetheryteLocation.YanxiaNamai, + new Vector3(432.66956f, 73.07532f, -90.74542f) + }, + { + EAetheryteLocation.YanxiaHouseOfTheFierce, + new Vector3(246.02112f, 9.079041f, -401.3581f) + }, + { + EAetheryteLocation.AzimSteppeReunion, + new Vector3(556.1454f, -16.800232f, 340.10828f) + }, + { + EAetheryteLocation.AzimSteppeDawnThrone, + new Vector3(78.26355f, 119.37134f, 36.301147f) + }, + { + EAetheryteLocation.AzimSteppeDhoroIloh, + new Vector3(-754.63495f, 131.2428f, 116.5636f) + }, + { + EAetheryteLocation.DomanEnclave, + new Vector3(42.648926f, 1.4190674f, -14.8776245f) + }, + { + EAetheryteLocation.DomanEnclaveNorthern, + new Vector3(8.987488f, 0.8086548f, -105.85187f) + }, + { + EAetheryteLocation.DomanEnclaveSouthern, + new Vector3(-61.57019f, 0.77819824f, 90.684326f) + }, + { + EAetheryteLocation.DomanEnclaveOneRiver, + new Vector3(-484.9777f, 1.2306242f, 537.07135f) + }, + { + EAetheryteLocation.DomanEnclaveDocks, + new Vector3(96.269165f, -3.4332886f, 81.01013f) + }, + { + EAetheryteLocation.DomanEnclaveGangos, + new Vector3(-44.91569f, 0.15412608f, -39.96296f) + }, + { + EAetheryteLocation.Crystarium, + new Vector3(-65.0188f, 4.5318604f, 0.015197754f) + }, + { + EAetheryteLocation.CrystariumMarkets, + new Vector3(-6.149414f, -7.736328f, 148.72961f) + }, + { + EAetheryteLocation.CrystariumTemenosRookery, + new Vector3(-107.37775f, -0.015319824f, -58.762512f) + }, + { + EAetheryteLocation.CrystariumDossalGate, + new Vector3(64.86609f, -0.015319824f, -18.173523f) + }, + { + EAetheryteLocation.CrystariumPendants, + new Vector3(35.477173f, -0.015319824f, 222.58337f) + }, + { + EAetheryteLocation.CrystariumAmaroLaunch, + new Vector3(66.60559f, 35.99597f, -131.09033f) + }, + { + EAetheryteLocation.CrystariumCrystallineMean, + new Vector3(-52.506348f, 19.97406f, -173.35773f) + }, + { + EAetheryteLocation.CrystariumCabinetOfCuriosity, + new Vector3(-54.398438f, -37.70508f, -241.07733f) + }, + { + EAetheryteLocation.Eulmore, + new Vector3(0.015197754f, 81.986694f, 0.93078613f) + }, + { + EAetheryteLocation.EulmoreMainstay, + new Vector3(10.940674f, 36.087524f, -4.196289f) + }, + { + EAetheryteLocation.EulmoreNightsoilPots, + new Vector3(-54.093323f, -0.83929443f, 52.140015f) + }, + { + EAetheryteLocation.EulmoreGloryGate, + new Vector3(6.9122925f, 6.240906f, -56.351562f) + }, + { + EAetheryteLocation.EulmoreSoutheastDerelict, + new Vector3(71.82422f, -10.391418f, 65.32385f) + }, + { + EAetheryteLocation.EulmorePathToGlory, + new Vector3(172.761f, 56.75291f, 850.81177f) + }, + { + EAetheryteLocation.LakelandFortJobb, + new Vector3(753.7803f, 24.338135f, -28.82434f) + }, + { + EAetheryteLocation.LakelandOstallImperative, + new Vector3(-735.01184f, 53.391357f, -230.02979f) + }, + { + EAetheryteLocation.KholusiaStilltide, + new Vector3(668.32983f, 29.465088f, 289.17358f) + }, + { + EAetheryteLocation.KholusiaWright, + new Vector3(-244.00702f, 20.736938f, 385.45813f) + }, + { + EAetheryteLocation.KholusiaTomra, + new Vector3(-426.38287f, 419.27222f, -623.5294f) + }, + { + EAetheryteLocation.AmhAraengMordSouq, + new Vector3(246.38745f, 12.985352f, -220.29456f) + }, + { + EAetheryteLocation.AmhAraengInnAtJourneysHead, + new Vector3(399.0996f, -24.521301f, 307.97278f) + }, + { + EAetheryteLocation.AmhAraengTwine, + new Vector3(-511.3451f, 47.989624f, -212.604f) + }, + { + EAetheryteLocation.RaktikaSlitherbough, + new Vector3(-103.4104f, -19.333252f, 297.23047f) + }, + { + EAetheryteLocation.RaktikaFanow, + new Vector3(382.77246f, 21.042175f, -194.11005f) + }, + { + EAetheryteLocation.IlMhegLydhaLran, + new Vector3(-344.71655f, 48.722046f, 512.2606f) + }, + { + EAetheryteLocation.IlMhegPlaEnni, + new Vector3(-72.55664f, 103.95972f, -857.35864f) + }, + { + EAetheryteLocation.IlMhegWolekdorf, + new Vector3(380.51416f, 87.20532f, -687.2511f) + }, + { + EAetheryteLocation.TempestOndoCups, + new Vector3(561.76074f, 352.62073f, -199.17603f) + }, + { + EAetheryteLocation.TempestMacarensesAngle, + new Vector3(-141.74109f, -280.5371f, 218.00562f) + }, + { + EAetheryteLocation.OldSharlayan, + new Vector3(0.07623291f, 4.8065186f, -0.10687256f) + }, + { + EAetheryteLocation.OldSharlayanStudium, + new Vector3(-291.1574f, 20.004517f, -74.143616f) + }, + { + EAetheryteLocation.OldSharlayanBaldesionAnnex, + new Vector3(-92.21033f, 2.304016f, 29.709229f) + }, + { + EAetheryteLocation.OldSharlayanRostra, + new Vector3(-36.94214f, 41.367188f, -156.6034f) + }, + { + EAetheryteLocation.OldSharlayanLeveilleurEstate, + new Vector3(204.79126f, 21.774597f, -118.73047f) + }, + { + EAetheryteLocation.OldSharlayanJourneysEnd, + new Vector3(206.22559f, 1.8463135f, 13.77887f) + }, + { + EAetheryteLocation.OldSharlayanScholarsHarbor, + new Vector3(16.494995f, -16.250854f, 127.73328f) + }, + { + EAetheryteLocation.RadzAtHan, + new Vector3(25.986084f, 3.250122f, -27.023743f) + }, + { + EAetheryteLocation.RadzAtHanMeghaduta, + new Vector3(-365.95715f, 44.99878f, -31.815125f) + }, + { + EAetheryteLocation.RadzAtHanRuveydahFibers, + new Vector3(-156.14563f, 35.99597f, 27.725586f) + }, + { + EAetheryteLocation.RadzAtHanAirship, + new Vector3(-144.33508f, 27.969727f, 202.2583f) + }, + { + EAetheryteLocation.RadzAtHanAlzadaalsPeace, + new Vector3(6.6071167f, -2.02948f, 110.55151f) + }, + { + EAetheryteLocation.RadzAtHanHallOfTheRadiantHost, + new Vector3(-141.37488f, 3.982544f, -98.435974f) + }, + { + EAetheryteLocation.RadzAtHanMehrydesMeyhane, + new Vector3(-42.61847f, -0.015319824f, -197.61963f) + }, + { + EAetheryteLocation.RadzAtHanKama, + new Vector3(129.59485f, 26.993164f, 13.473633f) + }, + { + EAetheryteLocation.RadzAtHanHighCrucible, + new Vector3(57.90796f, -24.704407f, -210.6203f) + }, + { + EAetheryteLocation.RadzAtHanGateOfFirstSight, + new Vector3(519.9558f, 55.300484f, -625.0846f) + }, + { + EAetheryteLocation.FirmamentMendicantsCourt, + new Vector3(23.941406f, -16.006714f, 169.35986f) + }, + { + EAetheryteLocation.FirmamentMattock, + new Vector3(76.035645f, -18.509216f, 10.299805f) + }, + { + EAetheryteLocation.FirmamentNewNest, + new Vector3(149.49255f, -50.003845f, 98.55798f) + }, + { + EAetheryteLocation.FirmanentSaintRoellesDais, + new Vector3(207.75159f, -40.024475f, -25.589417f) + }, + { + EAetheryteLocation.FirmamentFeatherfall, + new Vector3(-78.78235f, -0.015319824f, 75.97461f) + }, + { + EAetheryteLocation.FirmamentHoarfrostHall, + new Vector3(-132.55518f, 9.964111f, -14.66394f) + }, + { + EAetheryteLocation.FirmamentWesternRisensongQuarter, + new Vector3(-91.722046f, -0.015319824f, -115.19043f) + }, + { + EAetheryteLocation.FirmamentEasternRisensongQuarter, + new Vector3(114.3053f, -20.004639f, -107.43884f) + }, + { + EAetheryteLocation.LabyrinthosArcheion, + new Vector3(443.5338f, 170.6416f, -476.18835f) + }, + { + EAetheryteLocation.LabyrinthosSharlayanHamlet, + new Vector3(8.377136f, -27.542603f, -46.67737f) + }, + { + EAetheryteLocation.LabyrinthosAporia, + new Vector3(-729.18286f, -27.634155f, 302.1438f) + }, + { + EAetheryteLocation.ThavnairYedlihmad, + new Vector3(193.49963f, 6.9733276f, 629.2362f) + }, + { + EAetheryteLocation.ThavnairGreatWork, + new Vector3(-527.48914f, 4.776001f, 36.75891f) + }, + { + EAetheryteLocation.ThavnairPalakasStand, + new Vector3(405.1422f, 5.2643433f, -244.4953f) + }, + { + EAetheryteLocation.GarlemaldCampBrokenGlass, + new Vector3(-408.10254f, 24.15503f, 479.9724f) + }, + { + EAetheryteLocation.GarlemaldTertium, + new Vector3(518.9136f, -35.324707f, -178.36273f) + }, + { + EAetheryteLocation.MareLamentorumSinusLacrimarum, + new Vector3(-566.2471f, 134.66089f, 650.6294f) + }, + { + EAetheryteLocation.MareLamentorumBestwaysBurrow, + new Vector3(-0.015319824f, -128.83197f, -512.0165f) + }, + { + EAetheryteLocation.ElpisAnagnorisis, + new Vector3(159.96033f, 11.703674f, 126.878784f) + }, + { + EAetheryteLocation.ElpisTwelveWonders, + new Vector3(-633.7225f, -19.821533f, 542.56494f) + }, + { + EAetheryteLocation.ElpisPoietenOikos, + new Vector3(-529.9001f, 161.24207f, -222.2782f) + }, + { + EAetheryteLocation.UltimaThuleReahTahra, + new Vector3(-544.152f, 74.32666f, 269.6421f) + }, + { + EAetheryteLocation.UltimaThuleAbodeOfTheEa, + new Vector3(64.286255f, 272.48022f, -657.49603f) + }, + { + EAetheryteLocation.UltimaThuleBaseOmicron, + new Vector3(489.2804f, 437.5829f, 333.63843f) + }, + { + EAetheryteLocation.Tuliyollal, + new Vector3(-24.093994f, 0.77819824f, 7.583679f) + }, + { + EAetheryteLocation.TuliyollalDirigibleLanding, + new Vector3(-413.68738f, 2.9754639f, -45.975464f) + }, + { + EAetheryteLocation.TuliyollalTheResplendentQuarter, + new Vector3(-187.1214f, 39.93274f, 6.088318f) + }, + { + EAetheryteLocation.TuliyollalTheForardCabins, + new Vector3(-149.73682f, -15.030151f, 198.90125f) + }, + { + EAetheryteLocation.TuliyollalBaysideBevyMarketplace, + new Vector3(-14.999634f, -10.025269f, 135.57642f) + }, + { + EAetheryteLocation.TuliyollalVollokShoonsa, + new Vector3(-99.13794f, 100.72473f, -222.03406f) + }, + { + EAetheryteLocation.TuliyollalWachumeqimeqi, + new Vector3(166.27747f, -17.990417f, 38.742676f) + }, + { + EAetheryteLocation.TuliyollalBrightploomPost, + new Vector3(71.7937f, 47.074097f, -333.21124f) + }, + { + EAetheryteLocation.TuliyollalArchOfTheDawnUrqopacha, + new Vector3(652.351f, -119.97278f, -441.997f) + }, + { + EAetheryteLocation.TuliyollalArchOfTheDawnKozamauka, + new Vector3(-283.99908f, 12.959965f, -814.823f) + }, + { + EAetheryteLocation.TuliyollalIhuykatumu, + new Vector3(745.3904f, 114.61812f, 564.0963f) + }, + { + EAetheryteLocation.TuliyollalDirigibleLandingYakTel, + new Vector3(17.951399f, 8.205901f, -666.1844f) + }, + { + EAetheryteLocation.TuliyollalXakTuralSkygate, + new Vector3(284.959f, 15.999984f, 771.9063f) + }, + { + EAetheryteLocation.SolutionNine, + new Vector3(-0.015319824f, 8.987488f, -0.015319824f) + }, + { + EAetheryteLocation.SolutionNineInformationCenter, + new Vector3(-30.441833f, -6.0579224f, 209.3385f) + }, + { + EAetheryteLocation.SolutionNineTrueVue, + new Vector3(382.6809f, 59.983154f, 76.67651f) + }, + { + EAetheryteLocation.SolutionNineNeonStein, + new Vector3(258.28943f, 50.736206f, 148.72961f) + }, + { + EAetheryteLocation.SolutionNineTheArcadion, + new Vector3(374.77686f, 60.01367f, 325.67322f) + }, + { + EAetheryteLocation.SolutionNineResolution, + new Vector3(-32.059265f, 38.04065f, -345.2354f) + }, + { + EAetheryteLocation.SolutionNineNexusArcade, + new Vector3(-160.05188f, -0.015319824f, 21.591492f) + }, + { + EAetheryteLocation.SolutionNineResidentialSector, + new Vector3(-378.13385f, 13.992493f, 136.49194f) + }, + { + EAetheryteLocation.SolutionNineScanningPortNine, + new Vector3(-293.969f, 45.884216f, -832.546f) + }, + { + EAetheryteLocation.UrqopachaWachunpelo, + new Vector3(332.96704f, -160.11298f, -416.22034f) + }, + { + EAetheryteLocation.UrqopachaWorlarsEcho, + new Vector3(465.62903f, 114.94617f, 634.9126f) + }, + { + EAetheryteLocation.KozamaukaOkHanu, + new Vector3(-169.51251f, 6.576599f, -479.42322f) + }, + { + EAetheryteLocation.KozamaukaManyFires, + new Vector3(541.16125f, 117.41809f, 203.60107f) + }, + { + EAetheryteLocation.KozamaukaEarthenshire, + new Vector3(-477.53113f, 124.04053f, 311.32983f) + }, + { + EAetheryteLocation.KozamaukaDockPoga, + new Vector3(787.59436f, 14.175598f, -236.22491f) + }, + { + EAetheryteLocation.YakTelIqBraax, + new Vector3(-397.05505f, 23.5141f, -431.93713f) + }, + { + EAetheryteLocation.YakTelMamook, + new Vector3(721.40076f, -132.31104f, 526.1769f) + }, + { + EAetheryteLocation.ShaaloaniHhusatahwi, + new Vector3(386.40417f, -0.19836426f, 467.61267f) + }, + { + EAetheryteLocation.ShaaloaniShesheneweziSprings, + new Vector3(-291.70673f, 19.08899f, -114.54956f) + }, + { + EAetheryteLocation.ShaaloaniMehwahhetsoan, + new Vector3(311.36023f, -14.175659f, -567.74243f) + }, + { + EAetheryteLocation.HeritageFoundYyasulaniStation, + new Vector3(514.6105f, 145.86096f, 207.56836f) + }, + { + EAetheryteLocation.HeritageFoundTheOutskirts, + new Vector3(-223.0412f, 31.937134f, -584.03906f) + }, + { + EAetheryteLocation.HeritageFoundElectropeStrike, + new Vector3(-219.53156f, 32.913696f, 120.77515f) + }, + { + EAetheryteLocation.LivingMemoryLeynodeMnemo, + new Vector3(-0.22894287f, 57.175537f, 796.9634f) + }, + { + EAetheryteLocation.LivingMemoryLeynodePyro, + new Vector3(657.98413f, 28.976807f, -284.01617f) + }, + { + EAetheryteLocation.LivingMemoryLeynodeAero, + new Vector3(-255.26825f, 59.433838f, -397.6654f) + } + }.AsReadOnly(); + + private ReadOnlyDictionary AirshipLandingLocations { get; } = new Dictionary + { + { + EAetheryteLocation.LimsaAirship, + new Vector3(-19.44352f, 91.99999f, -9.892939f) + }, + { + EAetheryteLocation.GridaniaAirship, + new Vector3(24.86354f, -19.000002f, 96f) + }, + { + EAetheryteLocation.UldahAirship, + new Vector3(-16.954851f, 82.999985f, -9.421141f) + }, + { + EAetheryteLocation.KuganeAirship, + new Vector3(-55.72525f, 79.10602f, 46.23109f) + }, + { + EAetheryteLocation.IshgardFirmament, + new Vector3(9.92315f, -15.2f, 173.5059f) + } + }.AsReadOnly(); + + public ReadOnlyDictionary TerritoryIds { get; } + + public ReadOnlyDictionary AethernetGroups { get; } + + private IReadOnlyList TownTerritoryIds { get; set; } + + internal AetheryteData(Dictionary territoryIds, Dictionary aethernetGroups, List townTerritoryIds) + { + TerritoryIds = territoryIds.AsReadOnly(); + AethernetGroups = aethernetGroups.AsReadOnly(); + TownTerritoryIds = townTerritoryIds; + } + + public AetheryteData(IDataManager dataManager) + { + Dictionary territoryIds = new Dictionary(); + Dictionary aethernetGroups = new Dictionary(); + foreach (Aetheryte item in from x in dataManager.GetExcelSheet() + where x.RowId != 0 + select x) + { + if (item.Territory.RowId != 0) + { + territoryIds[(EAetheryteLocation)item.RowId] = (ushort)item.Territory.RowId; + } + if (item.AethernetGroup > 0) + { + aethernetGroups[(EAetheryteLocation)item.RowId] = item.AethernetGroup; + } + } + ConfigureAetheryte(EAetheryteLocation.IshgardFirmament, 886, aethernetGroups[EAetheryteLocation.Ishgard]); + ConfigureAetheryteWithAutoGroup(EAetheryteLocation.FirmamentMendicantsCourt, 886); + ConfigureAetheryteWithAutoGroup(EAetheryteLocation.FirmamentMattock, 886); + ConfigureAetheryteWithAutoGroup(EAetheryteLocation.FirmamentNewNest, 886); + ConfigureAetheryteWithAutoGroup(EAetheryteLocation.FirmanentSaintRoellesDais, 886); + ConfigureAetheryteWithAutoGroup(EAetheryteLocation.FirmamentFeatherfall, 886); + ConfigureAetheryteWithAutoGroup(EAetheryteLocation.FirmamentHoarfrostHall, 886); + ConfigureAetheryteWithAutoGroup(EAetheryteLocation.FirmamentWesternRisensongQuarter, 886); + ConfigureAetheryteWithAutoGroup(EAetheryteLocation.FirmamentEasternRisensongQuarter, 886); + TerritoryIds = territoryIds.AsReadOnly(); + AethernetGroups = aethernetGroups.AsReadOnly(); + TownTerritoryIds = (from x in dataManager.GetExcelSheet() + where x.RowId != 0 && !string.IsNullOrEmpty(x.Name.ToString()) && x.TerritoryIntendedUse.RowId == 0 + select (ushort)x.RowId).ToList(); + void ConfigureAetheryte(EAetheryteLocation aetheryteLocation, ushort territoryId, ushort aethernetGroup) + { + territoryIds[aetheryteLocation] = territoryId; + aethernetGroups[aetheryteLocation] = aethernetGroup; + } + void ConfigureAetheryteWithAutoGroup(EAetheryteLocation aetheryteLocation, ushort territoryId) + { + ConfigureAetheryte(aetheryteLocation, territoryId, (ushort)((int)aetheryteLocation / 100)); + } + } + + public float CalculateDistance(Vector3 fromPosition, uint fromTerritoryType, EAetheryteLocation to) + { + if (!TerritoryIds.TryGetValue(to, out var value) || fromTerritoryType != value) + { + return float.MaxValue; + } + if (!Locations.TryGetValue(to, out var value2)) + { + return float.MaxValue; + } + return (fromPosition - value2).Length(); + } + + public float CalculateAirshipLandingDistance(Vector3 fromPosition, uint fromTerritoryType, EAetheryteLocation to) + { + if (!TerritoryIds.TryGetValue(to, out var value) || fromTerritoryType != value) + { + return float.MaxValue; + } + if (!AirshipLandingLocations.TryGetValue(to, out var value2)) + { + return float.MaxValue; + } + return (fromPosition - value2).Length(); + } + + public bool IsCityAetheryte(EAetheryteLocation aetheryte) + { + if (aetheryte == EAetheryteLocation.IshgardFirmament) + { + return true; + } + if (TerritoryIds.TryGetValue(aetheryte, out var value)) + { + return TownTerritoryIds.Contains(value); + } + return false; + } + + public bool IsAirshipLanding(EAetheryteLocation aetheryte) + { + return AirshipLandingLocations.ContainsKey(aetheryte); + } + + public bool IsGoldSaucerAetheryte(EAetheryteLocation aetheryte) + { + ushort value; + bool flag = TerritoryIds.TryGetValue(aetheryte, out value); + if (flag) + { + bool flag2 = ((value == 144 || value == 388) ? true : false); + flag = flag2; + } + return flag; + } +} diff --git a/SmartNav/SmartNav.Data/ExitRangeEntry.cs b/SmartNav/SmartNav.Data/ExitRangeEntry.cs new file mode 100644 index 0000000..83e4c61 --- /dev/null +++ b/SmartNav/SmartNav.Data/ExitRangeEntry.cs @@ -0,0 +1,5 @@ +using System.Numerics; + +namespace SmartNav.Data; + +internal sealed record ExitRangeEntry(ushort SourceTerritoryId, uint InstanceId, Vector3 SourcePosition, ushort DestTerritoryId, uint DestInstanceId, uint ReturnInstanceId, Vector3 Rotation = default(Vector3), Vector3 HalfExtents = default(Vector3)); diff --git a/SmartNav/SmartNav.Data/IZoneBoundarySource.cs b/SmartNav/SmartNav.Data/IZoneBoundarySource.cs new file mode 100644 index 0000000..e9e1b4a --- /dev/null +++ b/SmartNav/SmartNav.Data/IZoneBoundarySource.cs @@ -0,0 +1,9 @@ +using System.Collections.Generic; +using SmartNav.Model.Navigation; + +namespace SmartNav.Data; + +public interface IZoneBoundarySource +{ + IReadOnlyList GetBoundaries(); +} diff --git a/SmartNav/SmartNav.Data/LgbZoneBoundarySource.cs b/SmartNav/SmartNav.Data/LgbZoneBoundarySource.cs new file mode 100644 index 0000000..6861f7a --- /dev/null +++ b/SmartNav/SmartNav.Data/LgbZoneBoundarySource.cs @@ -0,0 +1,240 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Numerics; +using System.Threading; +using Dalamud.Plugin.Services; +using LLib.GameData; +using Lumina.Data.Files; +using Lumina.Data.Parsing.Layer; +using Lumina.Excel; +using Lumina.Excel.Sheets; +using Microsoft.Extensions.Logging; +using SmartNav.Model.Navigation; + +namespace SmartNav.Data; + +public sealed class LgbZoneBoundarySource : IZoneBoundarySource +{ + private const uint BoundaryFileMagic = 1112425562u; + + private const int BoundaryFileFormatVersion = 1; + + private const string CacheFileName = "zone-boundary-cache.bin"; + + private readonly IDataManager _dataManager; + + private readonly ILogger _logger; + + private readonly Lazy> _boundaries; + + private readonly string? _cacheDirectory; + + private readonly string? _gameVersion; + + public LgbZoneBoundarySource(IDataManager dataManager, ILogger logger, SmartNavDataOptions? dataOptions = null) + { + _dataManager = dataManager; + _logger = logger; + _cacheDirectory = dataOptions?.UserOverrideDirectory?.FullName; + _gameVersion = dataOptions?.GameVersion; + _boundaries = new Lazy>(Build, LazyThreadSafetyMode.ExecutionAndPublication); + } + + public IReadOnlyList GetBoundaries() + { + return _boundaries.Value; + } + + private IReadOnlyList Build() + { + try + { + (List, Dictionary<(ushort, uint), PopRangeEntry>)? tuple = TryLoadFromDisk(); + if (!tuple.HasValue) + { + _logger.LogInformation("No boundary cache found, falling back to in-process LGB scan"); + } + (List, Dictionary<(ushort, uint), PopRangeEntry>) obj = tuple ?? CollectLgbData(); + List item = obj.Item1; + Dictionary<(ushort, uint), PopRangeEntry> item2 = obj.Item2; + List list = ZoneBoundaryDerivation.Derive(item, item2, _logger); + ZoneBoundaryDerivation.ApplyOverrides(list, ZoneBoundaryOverrides.FlyingPairs, ZoneBoundaryOverrides.PositionOverrides, _logger); + _logger.LogDebug("Derived {Count} zone boundaries from {ExitCount} ExitRanges{Source}", list.Count, item.Count, tuple.HasValue ? " (from cache)" : ""); + return list; + } + catch (Exception exception) + { + _logger.LogError(exception, "Zone boundary derivation failed - building graph without boundary edges"); + return Array.Empty(); + } + } + + private (List ExitRanges, Dictionary<(ushort TerritoryId, uint InstanceId), PopRangeEntry> PopRangeIndex)? TryLoadFromDisk() + { + if (string.IsNullOrEmpty(_cacheDirectory) || string.IsNullOrEmpty(_gameVersion)) + { + return null; + } + string path = Path.Combine(_cacheDirectory, "zone-boundary-cache.bin"); + if (!File.Exists(path)) + { + return null; + } + try + { + using BinaryReader binaryReader = new BinaryReader(File.OpenRead(path)); + if (binaryReader.ReadUInt32() != 1112425562 || binaryReader.ReadInt32() != 1) + { + _logger.LogDebug("Zone boundary cache has unknown header, discarding"); + return null; + } + if (binaryReader.ReadString() != _gameVersion) + { + _logger.LogDebug("Zone boundary cache is for a different game version, discarding"); + return null; + } + int num = binaryReader.ReadInt32(); + List list = new List(num); + for (int i = 0; i < num; i++) + { + list.Add(new ExitRangeEntry(binaryReader.ReadUInt16(), binaryReader.ReadUInt32(), new Vector3(binaryReader.ReadSingle(), binaryReader.ReadSingle(), binaryReader.ReadSingle()), binaryReader.ReadUInt16(), binaryReader.ReadUInt32(), binaryReader.ReadUInt32(), new Vector3(binaryReader.ReadSingle(), binaryReader.ReadSingle(), binaryReader.ReadSingle()), new Vector3(binaryReader.ReadSingle(), binaryReader.ReadSingle(), binaryReader.ReadSingle()))); + } + int num2 = binaryReader.ReadInt32(); + Dictionary<(ushort, uint), PopRangeEntry> dictionary = new Dictionary<(ushort, uint), PopRangeEntry>(num2); + for (int j = 0; j < num2; j++) + { + ushort num3 = binaryReader.ReadUInt16(); + uint num4 = binaryReader.ReadUInt32(); + Vector3 position = new Vector3(binaryReader.ReadSingle(), binaryReader.ReadSingle(), binaryReader.ReadSingle()); + dictionary[(num3, num4)] = new PopRangeEntry(num3, num4, position); + } + _logger.LogDebug("Zone boundary cache loaded from disk ({ExitCount} exits, {PopCount} pops)", list.Count, dictionary.Count); + return (list, dictionary); + } + catch (Exception exception) + { + _logger.LogWarning(exception, "Failed to load zone boundary cache, falling back to LGB scan"); + } + try + { + File.Delete(path); + } + catch + { + } + return null; + } + + private (List ExitRanges, Dictionary<(ushort TerritoryId, uint InstanceId), PopRangeEntry> PopRangeIndex) CollectLgbData() + { + List list = new List(); + Dictionary<(ushort, uint), PopRangeEntry> dictionary = new Dictionary<(ushort, uint), PopRangeEntry>(); + HashSet hashSet = new HashSet(); + foreach (Aetheryte item in _dataManager.GetExcelSheet()) + { + hashSet.Add(item.Territory.RowId); + } + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + HashSet visitedLgbPaths = new HashSet(); + bool cacheFileResources = _dataManager.GameData.Options.CacheFileResources; + _dataManager.GameData.Options.CacheFileResources = false; + try + { + foreach (TerritoryType item2 in excelSheet) + { + if (hashSet.Contains(item2.RowId)) + { + ScanTerritory(list, dictionary, visitedLgbPaths, item2); + } + } + foreach (TerritoryType item3 in excelSheet) + { + ScanTerritory(list, dictionary, visitedLgbPaths, item3); + } + } + finally + { + _dataManager.GameData.Options.CacheFileResources = cacheFileResources; + } + return (ExitRanges: list, PopRangeIndex: dictionary); + } + + private static bool IsNavigableOverworld(ETerritoryIntendedUse use) + { + switch (use) + { + case ETerritoryIntendedUse.Town: + case ETerritoryIntendedUse.Overworld: + case ETerritoryIntendedUse.OpeningArea: + case ETerritoryIntendedUse.HousingOutdoor: + case ETerritoryIntendedUse.Firmament: + case ETerritoryIntendedUse.SanctumOfTheTwelve: + case ETerritoryIntendedUse.GoldSaucer: + case ETerritoryIntendedUse.Eureka: + case ETerritoryIntendedUse.Bozja: + case ETerritoryIntendedUse.IslandSanctuary: + case ETerritoryIntendedUse.CosmicExploration: + case ETerritoryIntendedUse.OccultCrescent: + return true; + default: + return false; + } + } + + private void ScanTerritory(List exitRanges, Dictionary<(ushort TerritoryId, uint InstanceId), PopRangeEntry> popRangeIndex, HashSet visitedLgbPaths, TerritoryType territory) + { + if (territory.RowId == 0 || !IsNavigableOverworld((ETerritoryIntendedUse)territory.TerritoryIntendedUse.RowId)) + { + return; + } + string text = territory.Bg.ExtractText(); + if (string.IsNullOrEmpty(text)) + { + return; + } + int num = text.IndexOf("/level/", StringComparison.Ordinal); + if (num < 0) + { + return; + } + string text2 = "bg/" + text.Substring(0, num + 1) + "level/planmap.lgb"; + if (!visitedLgbPaths.Add(text2)) + { + return; + } + ushort num2 = (ushort)territory.RowId; + LgbFile file; + try + { + file = _dataManager.GetFile(text2); + } + catch (Exception exception) + { + _logger.LogTrace(exception, "Failed to load {Path}", text2); + return; + } + if (file == null) + { + return; + } + LayerCommon.Layer[] layers = file.Layers; + for (int i = 0; i < layers.Length; i++) + { + LayerCommon.InstanceObject[] instanceObjects = layers[i].InstanceObjects; + for (int j = 0; j < instanceObjects.Length; j++) + { + LayerCommon.InstanceObject instanceObject = instanceObjects[j]; + if (instanceObject.AssetType == LayerEntryType.ExitRange) + { + LayerCommon.ExitRangeInstanceObject exitRangeInstanceObject = (LayerCommon.ExitRangeInstanceObject)(object)instanceObject.Object; + exitRanges.Add(new ExitRangeEntry(num2, instanceObject.InstanceId, new Vector3(instanceObject.Transform.Translation.X, instanceObject.Transform.Translation.Y, instanceObject.Transform.Translation.Z), exitRangeInstanceObject.TerritoryType, exitRangeInstanceObject.DestInstanceId, exitRangeInstanceObject.ReturnInstanceId, new Vector3(instanceObject.Transform.Rotation.X, instanceObject.Transform.Rotation.Y, instanceObject.Transform.Rotation.Z), new Vector3(instanceObject.Transform.Scale.X, instanceObject.Transform.Scale.Y, instanceObject.Transform.Scale.Z))); + } + else if (instanceObject.AssetType == LayerEntryType.PopRange) + { + popRangeIndex[(num2, instanceObject.InstanceId)] = new PopRangeEntry(num2, instanceObject.InstanceId, new Vector3(instanceObject.Transform.Translation.X, instanceObject.Transform.Translation.Y, instanceObject.Transform.Translation.Z)); + } + } + } + } +} diff --git a/SmartNav/SmartNav.Data/PopRangeEntry.cs b/SmartNav/SmartNav.Data/PopRangeEntry.cs new file mode 100644 index 0000000..19069f8 --- /dev/null +++ b/SmartNav/SmartNav.Data/PopRangeEntry.cs @@ -0,0 +1,5 @@ +using System.Numerics; + +namespace SmartNav.Data; + +internal sealed record PopRangeEntry(ushort TerritoryId, uint InstanceId, Vector3 Position); diff --git a/SmartNav/SmartNav.Data/SmartNavDataOptions.cs b/SmartNav/SmartNav.Data/SmartNavDataOptions.cs new file mode 100644 index 0000000..1822314 --- /dev/null +++ b/SmartNav/SmartNav.Data/SmartNavDataOptions.cs @@ -0,0 +1,5 @@ +using System.IO; + +namespace SmartNav.Data; + +public sealed record SmartNavDataOptions(DirectoryInfo? UserOverrideDirectory = null, DirectoryInfo? DevSourceDirectory = null, string? GameVersion = null); diff --git a/SmartNav/SmartNav.Data/TaxiStandDataService.cs b/SmartNav/SmartNav.Data/TaxiStandDataService.cs new file mode 100644 index 0000000..ecf1caa --- /dev/null +++ b/SmartNav/SmartNav.Data/TaxiStandDataService.cs @@ -0,0 +1,71 @@ +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using Dalamud.Plugin.Services; +using Lumina.Excel; +using Lumina.Excel.Sheets; +using Microsoft.Extensions.Logging; +using SmartNav.Model.Navigation; + +namespace SmartNav.Data; + +public sealed class TaxiStandDataService +{ + public sealed record TaxiStandInfo(uint StandRowId, string PlaceName, ushort TerritoryId, Vector3 Position, uint NpcDataId, TaxiRoute[] Routes); + + public sealed record TaxiRoute(uint DestStandRowId, int Fare, int TimeRequiredSeconds); + + public IReadOnlyDictionary Stands { get; } + + public IReadOnlyDictionary StandsByNpcDataId { get; } + + public int TotalStands { get; } + + public int TotalRoutes { get; } + + public TaxiStandDataService(IDataManager dataManager, SmartNavDataOptions dataOptions, ILogger logger) + { + IReadOnlyList stands = AssemblyTaxiStandLoader.GetStands(dataOptions.DevSourceDirectory?.FullName); + Dictionary dictionary = new Dictionary(); + foreach (TaxiStandEntry item in stands) + { + dictionary[item.ChocoboTaxiStandId] = item; + } + Dictionary dictionary2 = new Dictionary(); + int num = 0; + ExcelSheet excelSheet = dataManager.GetExcelSheet(); + foreach (var (num3, taxiStandEntry2) in dictionary) + { + if (!excelSheet.HasRow(num3)) + { + continue; + } + ChocoboTaxiStand row = excelSheet.GetRow(num3); + string text = row.PlaceName.ToString(); + if (string.IsNullOrEmpty(text)) + { + text = $"TaxiStand 0x{num3:X}"; + } + List list = new List(); + for (int i = 0; i < 8; i++) + { + ChocoboTaxi? valueNullable = row.TargetLocations[i].ValueNullable; + if (valueNullable.HasValue && valueNullable.Value.TimeRequired != 0) + { + uint rowId = valueNullable.Value.Location.RowId; + if (rowId != 0) + { + list.Add(new TaxiRoute(rowId, valueNullable.Value.Fare, valueNullable.Value.TimeRequired * 60)); + } + } + } + num += list.Count; + dictionary2[num3] = new TaxiStandInfo(num3, text, taxiStandEntry2.TerritoryId, taxiStandEntry2.Location, taxiStandEntry2.Id, list.ToArray()); + } + Stands = dictionary2; + StandsByNpcDataId = dictionary2.Values.ToDictionary((TaxiStandInfo s) => s.NpcDataId, (TaxiStandInfo s) => s); + TotalStands = dictionary2.Count; + TotalRoutes = num; + logger.LogDebug("TaxiStandDataService: {Stands} stands, {Routes} routes loaded", TotalStands, TotalRoutes); + } +} diff --git a/SmartNav/SmartNav.Data/TeleportTicketService.cs b/SmartNav/SmartNav.Data/TeleportTicketService.cs new file mode 100644 index 0000000..b626c63 --- /dev/null +++ b/SmartNav/SmartNav.Data/TeleportTicketService.cs @@ -0,0 +1,132 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Numerics; +using System.Text.Json; +using Dalamud.Plugin.Services; +using Lumina.Excel; +using Lumina.Excel.Sheets; +using Microsoft.Extensions.Logging; +using SmartNav.Model.Navigation; + +namespace SmartNav.Data; + +public sealed class TeleportTicketService +{ + public sealed record ScannedTicket(uint ItemId, string Name, uint ItemActionRowId, ushort[] ItemActionData); + + public sealed record TeleportTicket(uint ItemId, string Name, ushort TerritoryId, Vector3 Position, byte RequiredGrandCompany = 0, uint RequiredQuestId = 0u); + + private static readonly uint[] KnownTicketItemIds = new uint[5] { 21069u, 21070u, 21071u, 28064u, 30362u }; + + public IReadOnlyList ScannedTickets { get; } + + public IReadOnlyList Tickets { get; } + + internal TeleportTicketService(List tickets) + { + ScannedTickets = Array.Empty(); + Tickets = tickets; + } + + public TeleportTicketService(IDataManager dataManager, SmartNavDataOptions dataOptions, ILogger logger) + { + ScannedTickets = ScanTicketItems(dataManager, logger); + Dictionary dictionary = new Dictionary(); + foreach (TeleportTicketEntry value2 in AssemblyTeleportTicketLoader.GetTickets(dataOptions.DevSourceDirectory?.FullName).Values) + { + ApplyEntry(dictionary, value2); + } + if (dataOptions.UserOverrideDirectory != null) + { + LoadDestinationsFrom(Path.Combine(dataOptions.UserOverrideDirectory.FullName, "teleport-tickets.json"), dictionary, logger); + } + ExcelSheet excelSheet = dataManager.GetExcelSheet(); + List list = new List(); + foreach (ScannedTicket scannedTicket in ScannedTickets) + { + if (!dictionary.TryGetValue(scannedTicket.ItemId, out var value)) + { + logger.LogDebug("Teleport ticket {ItemId} ({Name}) has no known destination - record it via the debug window to make it routable", scannedTicket.ItemId, scannedTicket.Name); + } + else + { + uint num = excelSheet.GetRowOrDefault(scannedTicket.ItemActionData[0])?.Requirement.RowId ?? 0; + list.Add(new TeleportTicket(scannedTicket.ItemId, scannedTicket.Name, value.Item1, value.Item2, (byte)((num >= 1 && num <= 3) ? ((byte)num) : 0), (num >= 65536) ? num : 0u)); + } + } + Tickets = list; + logger.LogInformation("Teleport tickets: {Scanned} items found, {Resolved} with destinations", ScannedTickets.Count, list.Count); + } + + private static List ScanTicketItems(IDataManager dataManager, ILogger logger) + { + ExcelSheet excelSheet = dataManager.GetExcelSheet(); + uint? num = null; + uint[] knownTicketItemIds = KnownTicketItemIds; + foreach (uint rowId in knownTicketItemIds) + { + ItemAction? itemAction = excelSheet.GetRowOrDefault(rowId)?.ItemAction.ValueNullable; + if (itemAction.HasValue) + { + num = itemAction.Value.Action.RowId; + break; + } + } + List list = new List(); + if (!num.HasValue) + { + logger.LogWarning("Teleport tickets: could not discover the ItemAction type from known items"); + return list; + } + foreach (Item item in excelSheet) + { + if (item.RowId == 0) + { + continue; + } + ItemAction? valueNullable = item.ItemAction.ValueNullable; + if (valueNullable.HasValue && valueNullable.Value.Action.RowId == num) + { + string text = item.Name.ExtractText(); + if (!string.IsNullOrEmpty(text)) + { + list.Add(new ScannedTicket(item.RowId, text, valueNullable.Value.RowId, new ushort[3] + { + valueNullable.Value.Data[0], + valueNullable.Value.Data[1], + valueNullable.Value.Data[2] + })); + } + } + } + list.Sort((ScannedTicket a, ScannedTicket b) => a.ItemId.CompareTo(b.ItemId)); + return list; + } + + private static void ApplyEntry(Dictionary destinations, TeleportTicketEntry entry) + { + if (entry.ItemId != 0 && entry.DestTerritoryId > 0) + { + destinations[entry.ItemId] = (entry.DestTerritoryId, entry.DestPosition); + } + } + + private static void LoadDestinationsFrom(string path, Dictionary destinations, ILogger logger) + { + if (!File.Exists(path)) + { + return; + } + TeleportTicketFile teleportTicketFile = JsonSerializer.Deserialize(File.ReadAllText(path)); + if (teleportTicketFile == null) + { + return; + } + foreach (TeleportTicketEntry value in teleportTicketFile.Tickets.Values) + { + ApplyEntry(destinations, value); + } + logger.LogDebug("Teleport tickets: loaded {Count} destinations from {Path}", teleportTicketFile.Tickets.Count, path); + } +} diff --git a/SmartNav/SmartNav.Data/WarpDataService.cs b/SmartNav/SmartNav.Data/WarpDataService.cs new file mode 100644 index 0000000..dccad78 --- /dev/null +++ b/SmartNav/SmartNav.Data/WarpDataService.cs @@ -0,0 +1,611 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Numerics; +using System.Text.Json; +using Dalamud.Plugin.Services; +using LLib.GameData; +using LLib.Shop; +using Lumina.Excel; +using Lumina.Excel.Sheets; +using Microsoft.Extensions.Logging; +using SmartNav.Model.Navigation; + +namespace SmartNav.Data; + +public sealed class WarpDataService +{ + private sealed record Snapshot(IReadOnlyList Warps, IReadOnlyDictionary WarpsByRowId, IReadOnlySet SkippedWarpIds, int TotalLuminaWarps, int NavigationRelevantWarps, int WarpsWithDestination, int WarpsWithUnknownSource, int WarpsWithDerivedSource, int WarpsWithDerivedArrival, int SkippedNoDest, int SkippedSourceBlocked, int SkippedDestBlocked, bool DerivedSourcesPending); + + public sealed record WarpInfo(uint RowId, string? Name, string? Question, ushort SourceTerritoryId, Vector3 SourcePosition, uint? NpcDataId, string? NpcName, ushort DestTerritoryId, Vector3? DestPosition, int GilCost, uint[] RequiredQuestIds, uint[]? AvailableDuringMsqIds = null, ushort RequiredClassLevel = 0, bool DerivedSource = false, bool RequireAllQuests = true, bool DerivedArrival = false); + + private const uint WarpHandlerType = 2u; + + private const uint ArrayEventHandlerType = 13u; + + private static readonly HashSet NonNavigableIntendedUses = new HashSet + { + ETerritoryIntendedUse.Inn, + ETerritoryIntendedUse.Dungeon, + ETerritoryIntendedUse.VariantDungeon, + ETerritoryIntendedUse.MordionGaol, + ETerritoryIntendedUse.BeforeTrialDung, + ETerritoryIntendedUse.AllianceRaid, + ETerritoryIntendedUse.PreEwOverworldQuestBattle, + ETerritoryIntendedUse.Trial, + ETerritoryIntendedUse.WaitingRoom, + ETerritoryIntendedUse.HousingIndoor, + ETerritoryIntendedUse.SoloOverworldInstances, + ETerritoryIntendedUse.Raid1, + ETerritoryIntendedUse.Raid2, + ETerritoryIntendedUse.Frontline, + ETerritoryIntendedUse.LordOfVerminion, + ETerritoryIntendedUse.ExploratoryMissions, + ETerritoryIntendedUse.HallOfTheNovice, + ETerritoryIntendedUse.CrystallineConflict, + ETerritoryIntendedUse.SoloDuty, + ETerritoryIntendedUse.GrandCompanyBarracks, + ETerritoryIntendedUse.DeepDungeon, + ETerritoryIntendedUse.TreasureMapInstance, + ETerritoryIntendedUse.SeasonalInstancedArea, + ETerritoryIntendedUse.TripleTriadBattlehall, + ETerritoryIntendedUse.CrystallineConflictCustomMatch, + ETerritoryIntendedUse.DiademHuntingGrounds, + ETerritoryIntendedUse.RivalWings, + ETerritoryIntendedUse.LeapOfFaith, + ETerritoryIntendedUse.MaskedCarnival, + ETerritoryIntendedUse.OceanFishing, + ETerritoryIntendedUse.Diadem, + ETerritoryIntendedUse.TripleTriadOpenTournament, + ETerritoryIntendedUse.TripleTriadInvitationalParlor, + ETerritoryIntendedUse.DelubrumReginae, + ETerritoryIntendedUse.DelubrumReginaeSavage, + ETerritoryIntendedUse.EndwalkerMsqSoloOverworld, + ETerritoryIntendedUse.Elysion, + ETerritoryIntendedUse.CriterionDungeon, + ETerritoryIntendedUse.CriterionDungeonSavage, + ETerritoryIntendedUse.Blunderville + }; + + private readonly IDataManager? _dataManager; + + private readonly SmartNavDataOptions? _dataOptions; + + private readonly NpcPositionCache? _npcPositionCache; + + private readonly ILogger? _logger; + + private readonly object _applyLock = new object(); + + private volatile Snapshot _current; + + public IReadOnlyList Warps => _current.Warps; + + public IReadOnlyDictionary WarpsByRowId => _current.WarpsByRowId; + + public IReadOnlySet SkippedWarpIds => _current.SkippedWarpIds; + + public int TotalLuminaWarps => _current.TotalLuminaWarps; + + public int NavigationRelevantWarps => _current.NavigationRelevantWarps; + + public int WarpsWithDestination => _current.WarpsWithDestination; + + public int WarpsWithUnknownSource => _current.WarpsWithUnknownSource; + + public int WarpsWithDerivedSource => _current.WarpsWithDerivedSource; + + public int WarpsWithDerivedArrival => _current.WarpsWithDerivedArrival; + + public int SkippedNoDest => _current.SkippedNoDest; + + public int SkippedSourceBlocked => _current.SkippedSourceBlocked; + + public int SkippedDestBlocked => _current.SkippedDestBlocked; + + public bool DerivedSourcesPending => _current.DerivedSourcesPending; + + internal WarpDataService(List warps, HashSet? skippedWarpIds = null) + { + Dictionary dictionary = new Dictionary(); + foreach (WarpInfo warp in warps) + { + dictionary.TryAdd(warp.RowId, warp); + } + _current = new Snapshot(warps, dictionary, skippedWarpIds ?? new HashSet(), 0, warps.Count, 0, 0, warps.Count((WarpInfo w) => w.DerivedSource), warps.Count((WarpInfo w) => w.DerivedArrival), 0, 0, 0, DerivedSourcesPending: false); + } + + public WarpDataService(IDataManager dataManager, SmartNavDataOptions dataOptions, NpcPositionCache npcPositionCache, ILogger logger) + { + _dataManager = dataManager; + _dataOptions = dataOptions; + _npcPositionCache = npcPositionCache; + _logger = logger; + _current = BuildSnapshot(); + } + + public bool ApplyDerivedSources() + { + if (_npcPositionCache == null) + { + return false; + } + lock (_applyLock) + { + if (!_current.DerivedSourcesPending || !_npcPositionCache.IsBuilt) + { + return false; + } + _current = BuildSnapshot(); + return true; + } + } + + private Snapshot BuildSnapshot() + { + IDataManager dataManager = _dataManager; + SmartNavDataOptions dataOptions = _dataOptions; + NpcPositionCache npcPositionCache = _npcPositionCache; + ILogger logger = _logger; + bool isBuilt = npcPositionCache.IsBuilt; + Func getPlacement = (isBuilt ? new Func(npcPositionCache.TryGetPlacement) : ((Func)((uint _) => ((ushort TerritoryId, Vector3 Position, bool FestivalOnly)?)null))); + List list = new List(); + HashSet hashSet = new HashSet(); + var (readOnlyList, readOnlyDictionary) = AssemblyWarpDestinationLoader.GetOverrides(dataOptions.DevSourceDirectory?.FullName); + foreach (uint item4 in readOnlyList) + { + hashSet.Add(item4); + } + WarpDestinationEntry value; + foreach (KeyValuePair item5 in readOnlyDictionary) + { + item5.Deconstruct(out var _, out value); + WarpDestinationEntry item = value; + list.Add(item); + } + if (dataOptions.UserOverrideDirectory != null) + { + LoadWarpOverridesFrom(Path.Combine(dataOptions.UserOverrideDirectory.FullName, "warp-destinations.json"), list, hashSet); + } + Dictionary<(uint, uint), WarpDestinationEntry> dictionary = new Dictionary<(uint, uint), WarpDestinationEntry>(); + Dictionary dictionary2 = new Dictionary(); + foreach (WarpDestinationEntry item6 in list) + { + uint? npcDataId = item6.NpcDataId; + if (npcDataId.HasValue) + { + uint valueOrDefault = npcDataId.GetValueOrDefault(); + dictionary[(item6.WarpRowId, valueOrDefault)] = item6; + } + else + { + dictionary2[item6.WarpRowId] = item6; + } + } + HashSet hashSet2 = new HashSet(); + foreach (WarpDestinationEntry item7 in list) + { + if (item7.SourceTerritoryId > 0) + { + hashSet2.Add(item7.SourceTerritoryId); + } + if (item7.DestTerritoryId > 0) + { + hashSet2.Add(item7.DestTerritoryId); + } + } + Dictionary dictionary3 = (from x in dataManager.GetExcelSheet() + where x.RowId != 0 + select x).ToDictionary((TerritoryType x) => (ushort)x.RowId, (TerritoryType x) => (ETerritoryIntendedUse)x.TerritoryIntendedUse.RowId); + Dictionary> dictionary4 = new Dictionary>(); + int nestedArraysSkipped = 0; + ExcelSheet arrayEventHandlers = dataManager.GetExcelSheet(); + Func> arrayMemberLookup = delegate(uint handlerId) + { + ArrayEventHandler? rowOrDefault = arrayEventHandlers.GetRowOrDefault(handlerId); + return (!rowOrDefault.HasValue) ? null : (from x in rowOrDefault.GetValueOrDefault().Data + where x.RowId != 0 + select x.RowId).ToList(); + }; + foreach (ENpcBase item8 in dataManager.GetExcelSheet()) + { + foreach (RowRef eNpcDatum in item8.ENpcData) + { + AddWarpFronter(dictionary4, eNpcDatum.RowId, item8.RowId, arrayMemberLookup, ref nestedArraysSkipped); + } + } + foreach (EObj item9 in dataManager.GetExcelSheet()) + { + AddWarpFronter(dictionary4, item9.Data.RowId, item9.RowId, arrayMemberLookup, ref nestedArraysSkipped); + } + if (nestedArraysSkipped > 0) + { + logger.LogWarning("Warp fronter index: {Count} nested ArrayEventHandler refs skipped (hop depth capped at 1)", nestedArraysSkipped); + } + Dictionary dictionary5 = new Dictionary(); + Dictionary dictionary6 = new Dictionary(); + Dictionary> dictionary7 = new Dictionary>(); + int num = 0; + int num2 = 0; + int num3 = 0; + int num4 = 0; + (uint, uint) key2; + foreach (Warp item10 in from x in dataManager.GetExcelSheet() + where x.RowId != 0 + select x) + { + num++; + ushort num5 = (ushort)item10.TerritoryType.RowId; + if (num5 == 0) + { + num2++; + continue; + } + if (dictionary3.TryGetValue(num5, out var value2) && NonNavigableIntendedUses.Contains(value2) && !hashSet2.Contains(num5)) + { + num4++; + continue; + } + dictionary6[item10.RowId] = item10.PopRange.RowId; + ushort num6 = 0; + Vector3 sourcePosition = Vector3.Zero; + uint? npcDataId2 = null; + string npcName = null; + if (dictionary2.TryGetValue(item10.RowId, out var value3)) + { + num6 = value3.SourceTerritoryId; + sourcePosition = value3.SourcePosition; + npcDataId2 = value3.NpcDataId; + } + if (num6 == 0) + { + foreach (KeyValuePair<(uint, uint), WarpDestinationEntry> item11 in dictionary) + { + item11.Deconstruct(out key2, out value); + (uint, uint) tuple2 = key2; + WarpDestinationEntry warpDestinationEntry = value; + if (tuple2.Item1 == item10.RowId && warpDestinationEntry.SourceTerritoryId > 0) + { + num6 = warpDestinationEntry.SourceTerritoryId; + sourcePosition = warpDestinationEntry.SourcePosition; + npcDataId2 = warpDestinationEntry.NpcDataId; + break; + } + } + } + bool derivedSource = false; + if (num6 == 0) + { + List<(uint, ushort, Vector3)> list2 = ResolveDerivedSources(item10.RowId, dictionary4, getPlacement); + if (list2.Count > 0) + { + (uint, ushort, Vector3) tuple3 = list2[0]; + num6 = tuple3.Item2; + sourcePosition = tuple3.Item3; + npcDataId2 = tuple3.Item1; + npcName = ResolveObjectName(tuple3.Item1); + derivedSource = true; + if (list2.Count > 1) + { + dictionary7[item10.RowId] = list2; + } + } + } + if (num6 > 0 && dictionary3.TryGetValue(num6, out var value4) && NonNavigableIntendedUses.Contains(value4) && !hashSet2.Contains(num6)) + { + num3++; + continue; + } + int gilCost = 0; + ushort requiredClassLevel = 0; + List list3 = new List(); + bool requireAllQuests = true; + WarpCondition? valueNullable = item10.WarpCondition.ValueNullable; + if (valueNullable.HasValue) + { + gilCost = valueNullable.Value.Gil; + requiredClassLevel = valueNullable.Value.ClassLevel; + if (valueNullable.Value.RequiredQuest1.RowId != 0) + { + list3.Add(valueNullable.Value.RequiredQuest1.RowId); + } + if (valueNullable.Value.RequiredQuest2.RowId != 0) + { + list3.Add(valueNullable.Value.RequiredQuest2.RowId); + } + if (valueNullable.Value.RequiredQuest3.RowId != 0) + { + list3.Add(valueNullable.Value.RequiredQuest3.RowId); + } + if (valueNullable.Value.RequiredQuest4.RowId != 0) + { + list3.Add(valueNullable.Value.RequiredQuest4.RowId); + } + requireAllQuests = valueNullable.Value.CompleteParam == 1; + } + string text = item10.Name.ExtractText(); + if (string.IsNullOrEmpty(text)) + { + text = null; + } + string text2 = item10.Question.ExtractText(); + if (string.IsNullOrEmpty(text2)) + { + text2 = null; + } + dictionary5[item10.RowId] = new WarpInfo(item10.RowId, text, text2, num6, sourcePosition, npcDataId2, npcName, num5, null, gilCost, list3.ToArray(), null, requiredClassLevel, derivedSource, requireAllQuests); + } + List list4 = new List(); + Dictionary dictionary8 = new Dictionary(); + HashSet<(uint, uint)> hashSet3 = new HashSet<(uint, uint)>(); + ExcelSheet levelSheet = dataManager.GetExcelSheet(); + Func levelLookup = delegate(uint popId) + { + Level? rowOrDefault = levelSheet.GetRowOrDefault(popId); + return (!rowOrDefault.HasValue) ? (((ushort, Vector3)?)null) : new(ushort, Vector3)?(((ushort)rowOrDefault.Value.Territory.RowId, new Vector3(rowOrDefault.Value.X, rowOrDefault.Value.Y, rowOrDefault.Value.Z))); + }; + DerivedArrivalFile arrivals = AssemblyDerivedArrivalLoader.GetArrivals(dataOptions.DevSourceDirectory?.FullName); + if (!string.IsNullOrEmpty(arrivals.GameVersion) && !string.IsNullOrEmpty(dataOptions.GameVersion) && arrivals.GameVersion != dataOptions.GameVersion) + { + logger.LogWarning("Derived-arrival data was generated for game version {DataVersion} but the game is {LiveVersion} - rerun SmartNav.Data.ArrivalScanner", arrivals.GameVersion, dataOptions.GameVersion); + } + uint key3; + foreach (KeyValuePair item12 in dictionary5) + { + item12.Deconstruct(out key3, out var value5); + uint num7 = key3; + WarpInfo warpInfo = value5; + Vector3? destPosition = null; + uint[] array = null; + foreach (KeyValuePair<(uint, uint), WarpDestinationEntry> item13 in dictionary) + { + item13.Deconstruct(out key2, out value); + (uint, uint) tuple4 = key2; + WarpDestinationEntry warpDestinationEntry2 = value; + if (tuple4.Item1 != num7) + { + continue; + } + if (!destPosition.HasValue && warpDestinationEntry2.DestPosition != Vector3.Zero) + { + destPosition = warpDestinationEntry2.DestPosition; + } + if (array == null) + { + List availableDuringMsqIds = warpDestinationEntry2.AvailableDuringMsqIds; + if (availableDuringMsqIds != null && availableDuringMsqIds.Count > 0) + { + array = warpDestinationEntry2.AvailableDuringMsqIds.ToArray(); + } + } + } + if (!destPosition.HasValue && dictionary2.TryGetValue(num7, out var value6) && value6.DestPosition != Vector3.Zero) + { + destPosition = value6.DestPosition; + } + if (array == null && dictionary2.TryGetValue(num7, out var value7)) + { + List availableDuringMsqIds = value7.AvailableDuringMsqIds; + if (availableDuringMsqIds != null && availableDuringMsqIds.Count > 0) + { + array = value7.AvailableDuringMsqIds.ToArray(); + } + } + bool derivedArrival = false; + if (!destPosition.HasValue && dictionary6.TryGetValue(num7, out var value8) && value8 != 0) + { + Vector3? vector = ResolveDerivedArrival(value8, warpInfo.DestTerritoryId, arrivals.Arrivals.GetValueOrDefault(num7), levelLookup); + if (vector.HasValue) + { + destPosition = vector; + derivedArrival = true; + } + } + WarpInfo warpInfo2 = warpInfo with + { + DestPosition = destPosition, + AvailableDuringMsqIds = array, + DerivedArrival = derivedArrival + }; + list4.Add(warpInfo2); + dictionary8[num7] = warpInfo2; + uint? npcDataId = warpInfo.NpcDataId; + if (npcDataId.HasValue) + { + uint valueOrDefault2 = npcDataId.GetValueOrDefault(); + hashSet3.Add((num7, valueOrDefault2)); + } + } + foreach (KeyValuePair<(uint, uint), WarpDestinationEntry> item14 in dictionary) + { + item14.Deconstruct(out key2, out value); + (uint, uint) item2 = key2; + WarpDestinationEntry warpDestinationEntry3 = value; + if (dictionary5.ContainsKey(item2.Item1) && !hashSet3.Contains(item2)) + { + WarpInfo warpInfo3 = dictionary5[item2.Item1]; + WarpInfo warpInfo4 = dictionary8[item2.Item1]; + Vector3? destPosition2 = ((warpDestinationEntry3.DestPosition != Vector3.Zero) ? new Vector3?(warpDestinationEntry3.DestPosition) : warpInfo4.DestPosition); + uint item3 = item2.Item1; + string? name = warpInfo3.Name; + string? question = warpInfo3.Question; + ushort sourceTerritoryId = warpDestinationEntry3.SourceTerritoryId; + Vector3 sourcePosition2 = warpDestinationEntry3.SourcePosition; + uint? npcDataId3 = warpDestinationEntry3.NpcDataId; + ushort destTerritoryId = warpInfo3.DestTerritoryId; + int gilCost2 = warpInfo3.GilCost; + uint[] requiredQuestIds = warpInfo3.RequiredQuestIds; + List availableDuringMsqIds = warpDestinationEntry3.AvailableDuringMsqIds; + list4.Add(new WarpInfo(item3, name, question, sourceTerritoryId, sourcePosition2, npcDataId3, null, destTerritoryId, destPosition2, gilCost2, requiredQuestIds, (availableDuringMsqIds != null && availableDuringMsqIds.Count > 0) ? warpDestinationEntry3.AvailableDuringMsqIds.ToArray() : null, warpInfo3.RequiredClassLevel, DerivedSource: false, warpInfo3.RequireAllQuests, warpDestinationEntry3.DestPosition == Vector3.Zero && warpInfo4.DerivedArrival)); + hashSet3.Add(item2); + } + } + foreach (KeyValuePair> item15 in dictionary7) + { + item15.Deconstruct(out key3, out var value9); + uint num8 = key3; + List<(uint, ushort, Vector3)> list5 = value9; + if (!dictionary8.TryGetValue(num8, out var value10)) + { + continue; + } + foreach (var item16 in list5) + { + if (hashSet3.Add((num8, item16.Item1)) && (!dictionary3.TryGetValue(item16.Item2, out var value11) || !NonNavigableIntendedUses.Contains(value11) || hashSet2.Contains(item16.Item2))) + { + list4.Add(value10 with + { + SourceTerritoryId = item16.Item2, + SourcePosition = item16.Item3, + NpcDataId = item16.Item1, + NpcName = ResolveObjectName(item16.Item1), + DerivedSource = true + }); + } + } + } + int num9 = list4.Count((WarpInfo w) => w.DestPosition.HasValue); + int num10 = list4.Count((WarpInfo w) => w.SourceTerritoryId == 0); + int num11 = list4.Count((WarpInfo w) => w.DerivedSource); + int num12 = list4.Count((WarpInfo w) => w.DerivedArrival); + logger.LogDebug("WarpDataService: {Total} Lumina warps, {Relevant} navigation-relevant ({UniqueIds} unique IDs), {WithDest} with destination, {DerivedSrc} derived source, {DerivedArr} derived arrival, {UnknownSrc} unknown source{Pending}", num, list4.Count, dictionary8.Count, num9, num11, num12, num10, isBuilt ? "" : " (derived sources pending NPC position cache)"); + logger.LogDebug("WarpDataService filtered: {NoDest} no dest territory, {UserSkipped} user-skipped, {SourceBlocked} source territory blocked, {DestBlocked} dest territory blocked", num2, hashSet.Count, num3, num4); + return new Snapshot(list4, dictionary8, hashSet, num, list4.Count, num9, num10, num11, num12, num2, num3, num4, !isBuilt); + string? ResolveObjectName(uint objectId) + { + ENpcResident? rowOrDefault = dataManager.GetExcelSheet().GetRowOrDefault(objectId); + if (rowOrDefault.HasValue) + { + string text3 = rowOrDefault.Value.Singular.ExtractText(); + if (!string.IsNullOrEmpty(text3)) + { + return text3; + } + } + EObjName? rowOrDefault2 = dataManager.GetExcelSheet().GetRowOrDefault(objectId); + if (rowOrDefault2.HasValue) + { + string text4 = rowOrDefault2.Value.Singular.ExtractText(); + if (!string.IsNullOrEmpty(text4)) + { + return text4; + } + } + return null; + } + } + + internal static void AddWarpFronter(Dictionary> index, uint handlerId, uint fronterObjectId, Func?> arrayMemberLookup, ref int nestedArraysSkipped) + { + if (handlerId == 0) + { + return; + } + switch (handlerId >> 16) + { + case 2u: + AddFronterEntry(index, handlerId, fronterObjectId); + break; + case 13u: + { + IEnumerable enumerable = arrayMemberLookup(handlerId); + if (enumerable == null) + { + break; + } + { + foreach (uint item in enumerable) + { + if (item >> 16 == 2) + { + AddFronterEntry(index, item, fronterObjectId); + } + else if (item >> 16 == 13) + { + nestedArraysSkipped++; + } + } + break; + } + } + } + } + + private static void AddFronterEntry(Dictionary> index, uint warpRowId, uint fronterObjectId) + { + if (!index.TryGetValue(warpRowId, out List value)) + { + value = (index[warpRowId] = new List()); + } + if (!value.Contains(fronterObjectId)) + { + value.Add(fronterObjectId); + } + } + + internal static Vector3? ResolveDerivedArrival(uint popRangeId, ushort destTerritoryId, DerivedArrivalEntry? embedded, Func levelLookup) + { + if (popRangeId == 0) + { + return null; + } + if (embedded != null && embedded.PopRangeId == popRangeId && embedded.TerritoryId == destTerritoryId) + { + return new Vector3(embedded.X, embedded.Y, embedded.Z); + } + (ushort, Vector3)? tuple = levelLookup(popRangeId); + if (tuple.HasValue) + { + (ushort, Vector3) valueOrDefault = tuple.GetValueOrDefault(); + if (valueOrDefault.Item1 == destTerritoryId) + { + return valueOrDefault.Item2; + } + } + return null; + } + + internal static List<(uint NpcDataId, ushort TerritoryId, Vector3 Position)> ResolveDerivedSources(uint warpRowId, IReadOnlyDictionary> fronterIndex, Func getPlacement) + { + List<(uint, ushort, Vector3)> list = new List<(uint, ushort, Vector3)>(); + if (!fronterIndex.TryGetValue(warpRowId, out List value)) + { + return list; + } + foreach (uint item in value.Order()) + { + (ushort, Vector3, bool)? tuple = getPlacement(item); + if (tuple.HasValue) + { + (ushort, Vector3, bool) valueOrDefault = tuple.GetValueOrDefault(); + if (!valueOrDefault.Item3) + { + list.Add((item, valueOrDefault.Item1, valueOrDefault.Item2)); + } + } + } + return list; + } + + private static void LoadWarpOverridesFrom(string path, List target, HashSet skippedIds) + { + if (!File.Exists(path)) + { + return; + } + WarpDestinationOverrides warpDestinationOverrides = JsonSerializer.Deserialize(File.ReadAllText(path)); + if (warpDestinationOverrides == null) + { + return; + } + foreach (uint skippedWarpId in warpDestinationOverrides.SkippedWarpIds) + { + skippedIds.Add(skippedWarpId); + } + foreach (var (_, item) in warpDestinationOverrides.Destinations) + { + target.Add(item); + } + } +} diff --git a/SmartNav/SmartNav.Data/ZoneBoundaryDerivation.cs b/SmartNav/SmartNav.Data/ZoneBoundaryDerivation.cs new file mode 100644 index 0000000..dbd1648 --- /dev/null +++ b/SmartNav/SmartNav.Data/ZoneBoundaryDerivation.cs @@ -0,0 +1,199 @@ +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using Microsoft.Extensions.Logging; +using SmartNav.Model.Navigation; + +namespace SmartNav.Data; + +internal static class ZoneBoundaryDerivation +{ + public static List Derive(IReadOnlyList exitRanges, IReadOnlyDictionary<(ushort TerritoryId, uint InstanceId), PopRangeEntry> popRangeIndex, ILogger logger) + { + List list = new List(); + HashSet<(ushort, uint)> hashSet = new HashSet<(ushort, uint)>(); + List list2 = new List(); + foreach (ExitRangeEntry exitRange in exitRanges) + { + if (hashSet.Contains((exitRange.SourceTerritoryId, exitRange.InstanceId)) || exitRange.DestTerritoryId == 0) + { + continue; + } + Vector3? vector = null; + if (popRangeIndex.TryGetValue((exitRange.DestTerritoryId, exitRange.DestInstanceId), out PopRangeEntry value)) + { + vector = value.Position; + } + ExitRangeEntry exitRangeEntry = null; + foreach (ExitRangeEntry exitRange2 in exitRanges) + { + if (exitRange2.SourceTerritoryId == exitRange.DestTerritoryId && exitRange2.DestTerritoryId == exitRange.SourceTerritoryId && !hashSet.Contains((exitRange2.SourceTerritoryId, exitRange2.InstanceId)) && ((exitRange2.DestInstanceId != 0 && exitRange2.DestInstanceId == exitRange.ReturnInstanceId) || (exitRange.DestInstanceId != 0 && exitRange.DestInstanceId == exitRange2.ReturnInstanceId) || (exitRange2.ReturnInstanceId != 0 && exitRange2.ReturnInstanceId == exitRange.InstanceId))) + { + exitRangeEntry = exitRange2; + break; + } + } + if (exitRangeEntry == null) + { + float num = float.MaxValue; + ExitRangeEntry exitRangeEntry2 = null; + foreach (ExitRangeEntry exitRange3 in exitRanges) + { + if (exitRange3.SourceTerritoryId != exitRange.DestTerritoryId || exitRange3.DestTerritoryId != exitRange.SourceTerritoryId || hashSet.Contains((exitRange3.SourceTerritoryId, exitRange3.InstanceId))) + { + continue; + } + if (popRangeIndex.TryGetValue((exitRange.SourceTerritoryId, exitRange3.DestInstanceId), out PopRangeEntry value2)) + { + float num2 = Vector3.Distance(exitRange.SourcePosition, value2.Position); + if (num2 < num) + { + num = num2; + exitRangeEntry = exitRange3; + } + } + else if ((object)exitRangeEntry2 == null) + { + exitRangeEntry2 = exitRange3; + } + } + if ((object)exitRangeEntry == null) + { + exitRangeEntry = exitRangeEntry2; + } + } + Vector3? vector2 = (((object)exitRangeEntry != null) ? new Vector3?(exitRangeEntry.SourcePosition) : vector); + if (!vector2.HasValue) + { + list2.Add(exitRange); + continue; + } + list.Add(new ZoneBoundary + { + Id = $"lgb-{exitRange.SourceTerritoryId}-{exitRange.DestTerritoryId}-{exitRange.InstanceId}", + Side1 = new BoundarySide + { + TerritoryId = exitRange.SourceTerritoryId, + Position = exitRange.SourcePosition, + Trigger = TriggerOf(exitRange) + }, + Side2 = new BoundarySide + { + TerritoryId = exitRange.DestTerritoryId, + Position = vector2.Value, + Trigger = ((exitRangeEntry == null) ? null : TriggerOf(exitRangeEntry)) + }, + OneWay = (exitRangeEntry == null) + }); + hashSet.Add((exitRange.SourceTerritoryId, exitRange.InstanceId)); + if (exitRangeEntry != null) + { + hashSet.Add((exitRangeEntry.SourceTerritoryId, exitRangeEntry.InstanceId)); + } + } + HashSet<(ushort, ushort)> hashSet2 = new HashSet<(ushort, ushort)>(); + foreach (ZoneBoundary item in list) + { + hashSet2.Add((item.Side1.TerritoryId, item.Side2.TerritoryId)); + hashSet2.Add((item.Side2.TerritoryId, item.Side1.TerritoryId)); + } + foreach (ExitRangeEntry item2 in list2) + { + if (hashSet2.Contains((item2.SourceTerritoryId, item2.DestTerritoryId))) + { + logger.LogDebug("Skipped redundant unresolvable ExitRange {InstanceId} in territory {SrcTerritory} -> {DestTerritory}", item2.InstanceId, item2.SourceTerritoryId, item2.DestTerritoryId); + } + else + { + logger.LogWarning("ExitRange {InstanceId} in territory {SrcTerritory} -> {DestTerritory}: could not resolve destination position (DestInstanceId={DestId})", item2.InstanceId, item2.SourceTerritoryId, item2.DestTerritoryId, item2.DestInstanceId); + } + } + return list; + } + + public static void ApplyOverrides(List boundaries, IReadOnlyCollection<(ushort TerritoryA, ushort TerritoryB)> flyingPairs, IReadOnlyList positionOverrides, ILogger logger) + { + HashSet<(ushort, ushort)> hashSet = new HashSet<(ushort, ushort)>(flyingPairs); + foreach (ZoneBoundary boundary in boundaries) + { + if (hashSet.Contains(PairKey(boundary.Side1.TerritoryId, boundary.Side2.TerritoryId))) + { + boundary.RequiresFlying = true; + } + } + Dictionary<(ushort, ushort), List> dictionary = (from b in boundaries + group b by PairKey(b.Side1.TerritoryId, b.Side2.TerritoryId)).ToDictionary((IGrouping<(ushort, ushort), ZoneBoundary> g) => g.Key, (IGrouping<(ushort, ushort), ZoneBoundary> g) => g.ToList()); + int num = 0; + foreach (IGrouping<(ushort, ushort), ZoneBoundaryPositionOverride> item in from o in positionOverrides + group o by (TerritoryA: o.TerritoryA, TerritoryB: o.TerritoryB)) + { + List list = item.ToList(); + if (!dictionary.TryGetValue(item.Key, out var value)) + { + num += list.Count; + logger.LogWarning("No derived boundary for override pair {TerritoryA}<->{TerritoryB} ({Count} overrides) - game data drift?", item.Key.Item1, item.Key.Item2, list.Count); + continue; + } + List<(float, int, int)> list2 = new List<(float, int, int)>(); + for (int num2 = 0; num2 < value.Count; num2++) + { + for (int num3 = 0; num3 < list.Count; num3++) + { + list2.Add((OverrideDistance(value[num2], list[num3]), num2, num3)); + } + } + bool[] array = new bool[value.Count]; + bool[] array2 = new bool[list.Count]; + foreach (var item2 in list2.OrderBy<(float, int, int), float>(((float Distance, int GateIdx, int OverrideIdx) c) => c.Distance)) + { + if (!array[item2.Item2] && !array2[item2.Item3]) + { + array[item2.Item2] = true; + array2[item2.Item3] = true; + ZoneBoundary zoneBoundary = value[item2.Item2]; + ZoneBoundaryPositionOverride zoneBoundaryPositionOverride = list[item2.Item3]; + bool flag = zoneBoundary.Side1.TerritoryId == zoneBoundaryPositionOverride.TerritoryA; + zoneBoundary.Side1.Position = (flag ? zoneBoundaryPositionOverride.PositionA : zoneBoundaryPositionOverride.PositionB); + zoneBoundary.Side2.Position = (flag ? zoneBoundaryPositionOverride.PositionB : zoneBoundaryPositionOverride.PositionA); + } + } + for (int num4 = 0; num4 < list.Count; num4++) + { + if (!array2[num4]) + { + num++; + } + } + } + if (num > 0) + { + logger.LogWarning("{Count} position overrides had no gate to attach to", num); + } + static (ushort, ushort) PairKey(ushort a, ushort b) + { + if (a > b) + { + return (b, a); + } + return (a, b); + } + } + + private static TriggerBox? TriggerOf(ExitRangeEntry exit) + { + if (!(exit.HalfExtents == Vector3.Zero)) + { + return new TriggerBox(exit.SourcePosition, exit.Rotation, exit.HalfExtents); + } + return null; + } + + private static float OverrideDistance(ZoneBoundary gate, ZoneBoundaryPositionOverride ovr) + { + if (gate.Side1.TerritoryId != ovr.TerritoryA) + { + return Vector3.Distance(gate.Side1.Position, ovr.PositionB) + Vector3.Distance(gate.Side2.Position, ovr.PositionA); + } + return Vector3.Distance(gate.Side1.Position, ovr.PositionA) + Vector3.Distance(gate.Side2.Position, ovr.PositionB); + } +} diff --git a/SmartNav/SmartNav.Data/ZoneBoundaryOverrides.cs b/SmartNav/SmartNav.Data/ZoneBoundaryOverrides.cs new file mode 100644 index 0000000..0821470 --- /dev/null +++ b/SmartNav/SmartNav.Data/ZoneBoundaryOverrides.cs @@ -0,0 +1,90 @@ +using System.Collections.Generic; +using System.Numerics; + +namespace SmartNav.Data; + +internal static class ZoneBoundaryOverrides +{ + public static readonly IReadOnlyCollection<(ushort TerritoryA, ushort TerritoryB)> FlyingPairs = new global::_003C_003Ez__ReadOnlyArray<(ushort, ushort)>(new(ushort, ushort)[2] + { + (401, 419), + (397, 401) + }); + + public static readonly IReadOnlyList PositionOverrides = new global::_003C_003Ez__ReadOnlyArray(new ZoneBoundaryPositionOverride[73] + { + new ZoneBoundaryPositionOverride(128, 129, new Vector3(-74f, 39.246f, -121f), new Vector3(-84f, 18f, -28f)), + new ZoneBoundaryPositionOverride(128, 129, new Vector3(-7f, 42.586f, -27f), new Vector3(-7f, 20.667f, 28f)), + new ZoneBoundaryPositionOverride(128, 129, new Vector3(-96f, 35.5f, 102f), new Vector3(-90f, 21.988f, 116f)), + new ZoneBoundaryPositionOverride(129, 134, new Vector3(65f, 19.75f, 0f), new Vector3(-53f, 33.768f, 159f)), + new ZoneBoundaryPositionOverride(128, 135, new Vector3(25f, 44.5f, 182f), new Vector3(-66f, 75.842f, 116f)), + new ZoneBoundaryPositionOverride(134, 138, new Vector3(-377f, 33.111f, -603f), new Vector3(814f, 49.229f, 397f)), + new ZoneBoundaryPositionOverride(134, 135, new Vector3(212f, 65.744f, 285f), new Vector3(229f, 74.737f, -343f)), + new ZoneBoundaryPositionOverride(134, 137, new Vector3(-163f, 35.996f, -736f), new Vector3(-116f, 70.246f, 48f)), + new ZoneBoundaryPositionOverride(135, 137, new Vector3(572f, 96.436f, -525f), new Vector3(-132f, 69.846f, 744f)), + new ZoneBoundaryPositionOverride(135, 137, new Vector3(695f, 80.076f, -390f), new Vector3(246f, 56.349f, 838f)), + new ZoneBoundaryPositionOverride(137, 139, new Vector3(78f, 80.429f, -120f), new Vector3(719f, 0.174f, 216f)), + new ZoneBoundaryPositionOverride(138, 139, new Vector3(412f, 31.556f, -12f), new Vector3(-478f, 2.01f, 289f)), + new ZoneBoundaryPositionOverride(139, 180, new Vector3(-340f, 48.85f, -18f), new Vector3(-325f, 50.2f, -81f)), + new ZoneBoundaryPositionOverride(139, 180, new Vector3(286f, 42.172f, -203f), new Vector3(246f, 53.046f, -251f)), + new ZoneBoundaryPositionOverride(132, 133, new Vector3(-105f, 1.287f, 7f), new Vector3(-127f, 5.299f, -36f)), + new ZoneBoundaryPositionOverride(132, 133, new Vector3(12f, 1.256f, -16f), new Vector3(13f, 8.372f, -86f)), + new ZoneBoundaryPositionOverride(132, 133, new Vector3(102f, 5.329f, 13f), new Vector3(138f, 10.897f, -20f)), + new ZoneBoundaryPositionOverride(132, 148, new Vector3(157f, -12.989f, 158f), new Vector3(129f, 25.16f, -318f)), + new ZoneBoundaryPositionOverride(133, 154, new Vector3(-211f, 10.226f, -96f), new Vector3(457f, -1.486f, 192f)), + new ZoneBoundaryPositionOverride(148, 152, new Vector3(387f, -3.319f, -186f), new Vector3(-514f, 19.031f, 278f)), + new ZoneBoundaryPositionOverride(148, 154, new Vector3(-502f, 74.232f, -356f), new Vector3(19f, -54.794f, 532f)), + new ZoneBoundaryPositionOverride(148, 153, new Vector3(160f, -23.874f, 552f), new Vector3(-369f, 29.987f, -244f)), + new ZoneBoundaryPositionOverride(152, 153, new Vector3(-160f, 4f, 451f), new Vector3(278f, 11.017f, -260f)), + new ZoneBoundaryPositionOverride(145, 153, new Vector3(371f, 32.883f, -298f), new Vector3(-287f, -0.348f, 700f)), + new ZoneBoundaryPositionOverride(154, 155, new Vector3(-370f, -4.539f, 184f), new Vector3(10f, 181.363f, 589f)), + new ZoneBoundaryPositionOverride(155, 156, new Vector3(-219f, 217.069f, 711f), new Vector3(127f, 31.384f, -773f)), + new ZoneBoundaryPositionOverride(147, 156, new Vector3(-96f, 84.427f, -417f), new Vector3(-419f, -3.217f, -116f)), + new ZoneBoundaryPositionOverride(130, 131, new Vector3(-119f, 9.829f, -9f), new Vector3(-112f, 7.526f, -9f)), + new ZoneBoundaryPositionOverride(130, 131, new Vector3(-119f, 9.831f, 9f), new Vector3(-111f, 7.194f, 9f)), + new ZoneBoundaryPositionOverride(130, 131, new Vector3(-11f, 10f, -40f), new Vector3(-9f, 10.288f, -33f)), + new ZoneBoundaryPositionOverride(130, 131, new Vector3(62f, 8.076f, -85f), new Vector3(64f, 8.076f, -83f)), + new ZoneBoundaryPositionOverride(130, 131, new Vector3(96f, 4f, -108f), new Vector3(92f, 4f, -111f)), + new ZoneBoundaryPositionOverride(130, 140, new Vector3(-182f, 14.006f, -14f), new Vector3(473f, 96.621f, 160f)), + new ZoneBoundaryPositionOverride(130, 141, new Vector3(44f, 4.01f, -165f), new Vector3(-117f, 18.366f, 340f)), + new ZoneBoundaryPositionOverride(131, 141, new Vector3(165f, 4.01f, 44f), new Vector3(12f, 18.365f, 564f)), + new ZoneBoundaryPositionOverride(140, 141, new Vector3(262f, 53.511f, -11f), new Vector3(-407f, -1.62f, 99f)), + new ZoneBoundaryPositionOverride(141, 145, new Vector3(451f, -18f, -180f), new Vector3(-567f, -18.959f, 340f)), + new ZoneBoundaryPositionOverride(141, 147, new Vector3(-28f, 33f, -496f), new Vector3(37f, 6.127f, 514f)), + new ZoneBoundaryPositionOverride(141, 146, new Vector3(234f, 2.751f, 675f), new Vector3(-429f, 12.863f, -428f)), + new ZoneBoundaryPositionOverride(145, 146, new Vector3(-169f, -46.446f, 491f), new Vector3(-28f, 17.296f, -769f)), + new ZoneBoundaryPositionOverride(397, 418, new Vector3(468f, 224.429f, 884f), new Vector3(-191f, 14.727f, -60f)), + new ZoneBoundaryPositionOverride(418, 419, new Vector3(-154f, 32.286f, -145f), new Vector3(-317f, -26.296f, -62f)), + new ZoneBoundaryPositionOverride(418, 419, new Vector3(-56f, 21.592f, -99f), new Vector3(-14f, -13.754f, -65f)), + new ZoneBoundaryPositionOverride(418, 419, new Vector3(52f, 30.716f, -83f), new Vector3(14f, -13.754f, -65f)), + new ZoneBoundaryPositionOverride(418, 419, new Vector3(158f, -19.477f, 53f), new Vector3(262f, -13.735f, -105f)), + new ZoneBoundaryPositionOverride(401, 419, new Vector3(-942f, -226.936f, -291f), new Vector3(175f, -14.501f, 43f)), + new ZoneBoundaryPositionOverride(401, 419, new Vector3(-633f, -224.093f, 860f), new Vector3(150f, -14.5f, 52f)), + new ZoneBoundaryPositionOverride(397, 401, new Vector3(455f, 130.8f, -915f), new Vector3(-890f, -227.259f, -889f)), + new ZoneBoundaryPositionOverride(397, 398, new Vector3(-852f, 117.683f, -658f), new Vector3(874f, -3.146f, 352f)), + new ZoneBoundaryPositionOverride(397, 399, new Vector3(-158f, 221.953f, 744f), new Vector3(766f, 290.146f, 507f)), + new ZoneBoundaryPositionOverride(398, 399, new Vector3(-803f, -122.91f, 578f), new Vector3(913f, 163.418f, 191f)), + new ZoneBoundaryPositionOverride(399, 478, new Vector3(-231f, 107.323f, -636f), new Vector3(71f, 205f, 147f)), + new ZoneBoundaryPositionOverride(399, 478, new Vector3(-545f, 156.293f, -522f), new Vector3(149f, 207f, 118f)), + new ZoneBoundaryPositionOverride(612, 635, new Vector3(486f, 61.699f, -559f), new Vector3(-31f, 12.681f, 167f)), + new ZoneBoundaryPositionOverride(620, 635, new Vector3(-662f, 51.124f, -795f), new Vector3(132f, -0.504f, -4f)), + new ZoneBoundaryPositionOverride(612, 620, new Vector3(853f, 85.714f, 366f), new Vector3(-795f, 296.793f, 215f)), + new ZoneBoundaryPositionOverride(620, 621, new Vector3(594f, 343.049f, 420f), new Vector3(-791f, 46.5f, -16f)), + new ZoneBoundaryPositionOverride(613, 628, new Vector3(881f, 1.179f, 883f), new Vector3(-137f, -7f, -59f)), + new ZoneBoundaryPositionOverride(613, 614, new Vector3(-829f, 20.259f, -261f), new Vector3(839f, 99.633f, -428f)), + new ZoneBoundaryPositionOverride(613, 622, new Vector3(-745f, -2.049f, -869f), new Vector3(544f, -21.838f, 703f)), + new ZoneBoundaryPositionOverride(614, 622, new Vector3(514f, 19.45f, -885f), new Vector3(-163f, 0.607f, 856f)), + new ZoneBoundaryPositionOverride(813, 819, new Vector3(836f, 37.693f, 407f), new Vector3(-246f, -3.09f, 0f)), + new ZoneBoundaryPositionOverride(813, 817, new Vector3(884f, 42.46f, -291f), new Vector3(-818f, 0.3f, 748f)), + new ZoneBoundaryPositionOverride(813, 815, new Vector3(536f, -5.653f, 868f), new Vector3(-621f, 60.577f, -678f)), + new ZoneBoundaryPositionOverride(813, 816, new Vector3(-325f, 116.469f, -839f), new Vector3(-696f, 111.428f, 841f)), + new ZoneBoundaryPositionOverride(814, 820, new Vector3(174f, 58.982f, 884f), new Vector3(0f, -17.306f, -166f)), + new ZoneBoundaryPositionOverride(957, 963, new Vector3(580f, 55.259f, -685f), new Vector3(102f, -32f, 228f)), + new ZoneBoundaryPositionOverride(1185, 1188, new Vector3(-300f, 0f, 130f), new Vector3(-286f, 14.085f, -856f)), + new ZoneBoundaryPositionOverride(1185, 1187, new Vector3(-272.321f, 1.7377548E-05f, 95.65973f), new Vector3(664f, -122.382f, -456f)), + new ZoneBoundaryPositionOverride(1187, 1188, new Vector3(734f, 72.722f, 638f), new Vector3(-900f, 143.041f, 475f)), + new ZoneBoundaryPositionOverride(1186, 1191, new Vector3(0f, -5.95f, 302f), new Vector3(-293f, 52.353f, -866f)), + new ZoneBoundaryPositionOverride(1190, 1191, new Vector3(-658f, 14.024f, -694f), new Vector3(657f, 147.219f, 758f)), + new ZoneBoundaryPositionOverride(1185, 1190, new Vector3(42.59336f, 47.072277f, -401.224f), new Vector3(285f, 15.741f, 807f)) + }); +} diff --git a/SmartNav/SmartNav.Data/ZoneBoundaryPositionOverride.cs b/SmartNav/SmartNav.Data/ZoneBoundaryPositionOverride.cs new file mode 100644 index 0000000..3c734be --- /dev/null +++ b/SmartNav/SmartNav.Data/ZoneBoundaryPositionOverride.cs @@ -0,0 +1,5 @@ +using System.Numerics; + +namespace SmartNav.Data; + +internal sealed record ZoneBoundaryPositionOverride(ushort TerritoryA, ushort TerritoryB, Vector3 PositionA, Vector3 PositionB); diff --git a/SmartNav/SmartNav.Data/ZoneSubRegionService.cs b/SmartNav/SmartNav.Data/ZoneSubRegionService.cs new file mode 100644 index 0000000..84ecdb9 --- /dev/null +++ b/SmartNav/SmartNav.Data/ZoneSubRegionService.cs @@ -0,0 +1,63 @@ +using System.Collections.Generic; +using Microsoft.Extensions.Logging; +using SmartNav.Model.Navigation; + +namespace SmartNav.Data; + +public sealed class ZoneSubRegionService +{ + private readonly Dictionary _regions = new Dictionary(); + + public IReadOnlyDictionary AllRegions => _regions; + + public ZoneSubRegionService(SmartNavDataOptions dataOptions, ILogger logger) + { + foreach (var (s, value) in AssemblyZoneSubRegionLoader.GetRegions(dataOptions.DevSourceDirectory?.FullName)) + { + if (uint.TryParse(s, out var result)) + { + _regions[result] = value; + } + } + logger.LogDebug("ZoneSubRegionService: {Count} territories with sub-regions loaded", _regions.Count); + } + + public bool HasSubRegions(uint territoryId) + { + return _regions.ContainsKey(territoryId); + } + + public string? GetSubRegionId(uint territoryId, float x, float y, float z) + { + if (!_regions.TryGetValue(territoryId, out TerritorySubRegions value)) + { + return null; + } + foreach (SubRegionDefinition subRegion in value.SubRegions) + { + if (subRegion.Contains(x, y, z)) + { + return subRegion.Id; + } + } + return "_default"; + } + + public IReadOnlyList? GetSubRegions(uint territoryId) + { + if (!_regions.TryGetValue(territoryId, out TerritorySubRegions value)) + { + return null; + } + return value.SubRegions; + } + + public IReadOnlyList? GetConnectors(uint territoryId) + { + if (!_regions.TryGetValue(territoryId, out TerritorySubRegions value)) + { + return null; + } + return value.Connectors; + } +} diff --git a/SmartNav/SmartNav.Graph/NavEdge.cs b/SmartNav/SmartNav.Graph/NavEdge.cs new file mode 100644 index 0000000..8d9a283 --- /dev/null +++ b/SmartNav/SmartNav.Graph/NavEdge.cs @@ -0,0 +1,3 @@ +namespace SmartNav.Graph; + +public sealed record NavEdge(string FromNodeId, string ToNodeId, NavEdgeType EdgeType, float TimeCostSeconds, int GilCost); diff --git a/SmartNav/SmartNav.Graph/NavEdgeType.cs b/SmartNav/SmartNav.Graph/NavEdgeType.cs new file mode 100644 index 0000000..ed97d7b --- /dev/null +++ b/SmartNav/SmartNav.Graph/NavEdgeType.cs @@ -0,0 +1,14 @@ +namespace SmartNav.Graph; + +public enum NavEdgeType +{ + Teleport, + WithinZone, + AethernetHop, + ZoneBoundary, + Warp, + ChocoboTaxi, + Return, + SubRegionTransport, + TicketTeleport +} diff --git a/SmartNav/SmartNav.Graph/NavGraph.cs b/SmartNav/SmartNav.Graph/NavGraph.cs new file mode 100644 index 0000000..fe2bfef --- /dev/null +++ b/SmartNav/SmartNav.Graph/NavGraph.cs @@ -0,0 +1,106 @@ +using System; +using System.Collections.Generic; + +namespace SmartNav.Graph; + +public sealed class NavGraph +{ + private readonly Dictionary _nodes = new Dictionary(); + + private readonly Dictionary> _adjacency = new Dictionary>(); + + private readonly Dictionary> _territoryIndex = new Dictionary>(); + + public IReadOnlyDictionary Nodes => _nodes; + + public IReadOnlyDictionary> Adjacency => _adjacency; + + public IReadOnlyDictionary> TerritoryIndex => _territoryIndex; + + public int NodeCount => _nodes.Count; + + public int EdgeCount + { + get + { + int num = 0; + foreach (List value in _adjacency.Values) + { + num += value.Count; + } + return num; + } + } + + public void AddNode(NavNode node) + { + bool num = !_nodes.ContainsKey(node.Id); + _nodes[node.Id] = node; + if (num) + { + _adjacency[node.Id] = new List(); + if (!_territoryIndex.TryGetValue(node.TerritoryId, out List value)) + { + value = new List(); + _territoryIndex[node.TerritoryId] = value; + } + value.Add(node.Id); + } + } + + public void AddEdge(NavEdge edge) + { + if (!_adjacency.TryGetValue(edge.FromNodeId, out List value)) + { + value = new List(); + _adjacency[edge.FromNodeId] = value; + } + value.Add(edge); + } + + public void ReplaceEdge(NavEdge edge) + { + if (!_adjacency.TryGetValue(edge.FromNodeId, out List value)) + { + value = new List(); + _adjacency[edge.FromNodeId] = value; + } + value.RemoveAll((NavEdge e) => e.ToNodeId == edge.ToNodeId && e.EdgeType == edge.EdgeType); + value.Add(edge); + } + + public void RemoveEdges(string fromNodeId, Predicate predicate) + { + if (_adjacency.TryGetValue(fromNodeId, out List value)) + { + value.RemoveAll(predicate); + } + } + + public NavNode? GetNode(string nodeId) + { + if (!_nodes.TryGetValue(nodeId, out NavNode value)) + { + return null; + } + return value; + } + + public IReadOnlyList GetEdges(string nodeId) + { + if (!_adjacency.TryGetValue(nodeId, out List value)) + { + return new List(); + } + return value; + } + + public IReadOnlyList GetNodesInTerritory(uint territoryId) + { + if (!_territoryIndex.TryGetValue(territoryId, out List value)) + { + return new List(); + } + return value; + } +} diff --git a/SmartNav/SmartNav.Graph/NavNode.cs b/SmartNav/SmartNav.Graph/NavNode.cs new file mode 100644 index 0000000..d1d2787 --- /dev/null +++ b/SmartNav/SmartNav.Graph/NavNode.cs @@ -0,0 +1,231 @@ +using System.Numerics; +using System.Runtime.CompilerServices; +using SmartNav.Model; +using SmartNav.Model.Navigation; + +namespace SmartNav.Graph; + +public abstract record NavNode(string Id, uint TerritoryId, Vector3 Position) +{ + public sealed record AetheryteNode : NavNode + { + public EAetheryteLocation Aetheryte { get; init; } + + public override string Label => Aetheryte.ToString(); + + public AetheryteNode(EAetheryteLocation Aetheryte, uint TerritoryId, Vector3 Position) + { + this.Aetheryte = Aetheryte; + base._002Ector($"aetheryte:{Aetheryte}", TerritoryId, Position); + } + + [CompilerGenerated] + public void Deconstruct(out EAetheryteLocation Aetheryte, out uint TerritoryId, out Vector3 Position) + { + Aetheryte = this.Aetheryte; + TerritoryId = base.TerritoryId; + Position = base.Position; + } + } + + public sealed record AethernetNode : NavNode + { + public EAetheryteLocation Aethernet { get; init; } + + public EAetheryteLocation ParentAetheryte { get; init; } + + public override string Label => Aethernet.ToString(); + + public AethernetNode(EAetheryteLocation Aethernet, uint TerritoryId, Vector3 Position, EAetheryteLocation ParentAetheryte) + { + this.Aethernet = Aethernet; + this.ParentAetheryte = ParentAetheryte; + base._002Ector($"aethernet:{Aethernet}", TerritoryId, Position); + } + + [CompilerGenerated] + public void Deconstruct(out EAetheryteLocation Aethernet, out uint TerritoryId, out Vector3 Position, out EAetheryteLocation ParentAetheryte) + { + Aethernet = this.Aethernet; + TerritoryId = base.TerritoryId; + Position = base.Position; + ParentAetheryte = this.ParentAetheryte; + } + } + + public sealed record ZoneBoundaryNode : NavNode + { + public string BoundaryId { get; init; } + + public string PairedNodeId { get; init; } + + public bool RequiresFlying { get; init; } + + public uint? RequiredQuestId { get; init; } + + public TriggerBox? Trigger { get; init; } + + public override string Label => "boundary (" + BoundaryId + ")"; + + public ZoneBoundaryNode(string BoundaryId, uint TerritoryId, Vector3 Position, string PairedNodeId, bool RequiresFlying = false, uint? RequiredQuestId = null, TriggerBox? Trigger = null) + { + this.BoundaryId = BoundaryId; + this.PairedNodeId = PairedNodeId; + this.RequiresFlying = RequiresFlying; + this.RequiredQuestId = RequiredQuestId; + this.Trigger = Trigger; + base._002Ector($"boundary:{BoundaryId}:{TerritoryId}", TerritoryId, Position); + } + + [CompilerGenerated] + public void Deconstruct(out string BoundaryId, out uint TerritoryId, out Vector3 Position, out string PairedNodeId, out bool RequiresFlying, out uint? RequiredQuestId, out TriggerBox? Trigger) + { + BoundaryId = this.BoundaryId; + TerritoryId = base.TerritoryId; + Position = base.Position; + PairedNodeId = this.PairedNodeId; + RequiresFlying = this.RequiresFlying; + RequiredQuestId = this.RequiredQuestId; + Trigger = this.Trigger; + } + } + + public sealed record WarpNode : NavNode + { + public uint WarpRowId { get; init; } + + public uint? NpcDataId { get; init; } + + public uint[] RequiredQuestIds { get; init; } + + public int GilCost { get; init; } + + public uint[]? AvailableDuringMsqIds { get; init; } + + public ushort RequiredClassLevel { get; init; } + + public bool RequireAllQuests { get; init; } + + public override string Label => $"warp {WarpRowId}"; + + public WarpNode(uint WarpRowId, uint TerritoryId, Vector3 Position, uint? NpcDataId, uint[] RequiredQuestIds, int GilCost, uint[]? AvailableDuringMsqIds = null, ushort RequiredClassLevel = 0, bool RequireAllQuests = true) + { + this.WarpRowId = WarpRowId; + this.NpcDataId = NpcDataId; + this.RequiredQuestIds = RequiredQuestIds; + this.GilCost = GilCost; + this.AvailableDuringMsqIds = AvailableDuringMsqIds; + this.RequiredClassLevel = RequiredClassLevel; + this.RequireAllQuests = RequireAllQuests; + base._002Ector($"warp:{WarpRowId}:{NpcDataId.GetValueOrDefault()}:{TerritoryId}:{Position.X:F1}:{Position.Y:F1}:{Position.Z:F1}", TerritoryId, Position); + } + + [CompilerGenerated] + public void Deconstruct(out uint WarpRowId, out uint TerritoryId, out Vector3 Position, out uint? NpcDataId, out uint[] RequiredQuestIds, out int GilCost, out uint[]? AvailableDuringMsqIds, out ushort RequiredClassLevel, out bool RequireAllQuests) + { + WarpRowId = this.WarpRowId; + TerritoryId = base.TerritoryId; + Position = base.Position; + NpcDataId = this.NpcDataId; + RequiredQuestIds = this.RequiredQuestIds; + GilCost = this.GilCost; + AvailableDuringMsqIds = this.AvailableDuringMsqIds; + RequiredClassLevel = this.RequiredClassLevel; + RequireAllQuests = this.RequireAllQuests; + } + } + + public sealed record ChocoboTaxiNode : NavNode + { + public uint StandRowId { get; init; } + + public uint NpcDataId { get; init; } + + public override string Label => $"taxi {StandRowId}"; + + public ChocoboTaxiNode(uint StandRowId, uint TerritoryId, Vector3 Position, uint NpcDataId) + { + this.StandRowId = StandRowId; + this.NpcDataId = NpcDataId; + base._002Ector($"taxi:{StandRowId}:{TerritoryId}", TerritoryId, Position); + } + + [CompilerGenerated] + public void Deconstruct(out uint StandRowId, out uint TerritoryId, out Vector3 Position, out uint NpcDataId) + { + StandRowId = this.StandRowId; + TerritoryId = base.TerritoryId; + Position = base.Position; + NpcDataId = this.NpcDataId; + } + } + + public sealed record SubRegionConnectorNode : NavNode + { + public string SubRegionId { get; init; } + + public int ConnectorIndex { get; init; } + + public SubRegionConnectorKind Kind { get; init; } + + public override string Label => "connector (" + SubRegionId + ")"; + + public SubRegionConnectorNode(uint TerritoryId, Vector3 Position, string SubRegionId, int ConnectorIndex, SubRegionConnectorKind Kind = SubRegionConnectorKind.Pad) + { + this.SubRegionId = SubRegionId; + this.ConnectorIndex = ConnectorIndex; + this.Kind = Kind; + base._002Ector($"connector:{TerritoryId}:{ConnectorIndex}:{SubRegionId}", TerritoryId, Position); + } + + [CompilerGenerated] + public void Deconstruct(out uint TerritoryId, out Vector3 Position, out string SubRegionId, out int ConnectorIndex, out SubRegionConnectorKind Kind) + { + TerritoryId = base.TerritoryId; + Position = base.Position; + SubRegionId = this.SubRegionId; + ConnectorIndex = this.ConnectorIndex; + Kind = this.Kind; + } + } + + public sealed record TicketNode : NavNode + { + public uint ItemId { get; init; } + + public override string Label => $"ticket {ItemId}"; + + public TicketNode(uint ItemId, uint TerritoryId, Vector3 Position) + { + this.ItemId = ItemId; + base._002Ector($"ticket:{ItemId}:{TerritoryId}", TerritoryId, Position); + } + + [CompilerGenerated] + public void Deconstruct(out uint ItemId, out uint TerritoryId, out Vector3 Position) + { + ItemId = this.ItemId; + TerritoryId = base.TerritoryId; + Position = base.Position; + } + } + + public sealed record PositionNode : NavNode + { + public override string Label => $"position ({base.Position.X:F0}, {base.Position.Z:F0})"; + + public PositionNode(uint TerritoryId, Vector3 Position) + : base($"pos:{TerritoryId}:{Position.X:F1}:{Position.Y:F1}:{Position.Z:F1}", TerritoryId, Position) + { + } + + [CompilerGenerated] + public void Deconstruct(out uint TerritoryId, out Vector3 Position) + { + TerritoryId = base.TerritoryId; + Position = base.Position; + } + } + + public abstract string Label { get; } +} diff --git a/SmartNav/SmartNav.csproj b/SmartNav/SmartNav.csproj new file mode 100644 index 0000000..1dbb74c --- /dev/null +++ b/SmartNav/SmartNav.csproj @@ -0,0 +1,41 @@ + + + + SmartNav + False + netcoreapp1.0 + x64 + + + 12.0 + True + + + + + + ..\..\SmartNav.Model.dll + + + ..\..\Microsoft.Extensions.Logging.Abstractions.dll + + + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\Dalamud.dll + + + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\FFXIVClientStructs.dll + + + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\Lumina.dll + + + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\Lumina.Excel.dll + + + ..\..\LLib.dll + + + ..\..\SmartNav.Data.dll + + + \ No newline at end of file diff --git a/SmartNav/SmartNav/CostCalculator.cs b/SmartNav/SmartNav/CostCalculator.cs new file mode 100644 index 0000000..3f84671 --- /dev/null +++ b/SmartNav/SmartNav/CostCalculator.cs @@ -0,0 +1,44 @@ +using System; +using System.Numerics; +using SmartNav.Model; + +namespace SmartNav; + +public sealed class CostCalculator(ITerritoryInfo territoryInfo) +{ + public float EstimateWithinZoneTravelTime(Vector3 from, Vector3 to, uint territoryId, PlayerNavState playerState) + { + if (!territoryInfo.CanUseMount(territoryId)) + { + return Estimate2DDistance(from, to) * 1.1f / 7.8f; + } + if (playerState.MountUnlocked && playerState.IsFlyingUnlocked(territoryId)) + { + return Vector3.Distance(from, to) / 20f + 1f; + } + float num = Estimate2DDistance(from, to) * 1.3f; + if (!playerState.MountUnlocked) + { + return num / 6f; + } + float mountGroundSpeed = MovementData.Speeds.GetMountGroundSpeed(playerState.GetMountSpeedLevel(territoryId)); + return num / mountGroundSpeed + 1f; + } + + public static float EstimateTeleportTime() + { + return 7f; + } + + public static float EstimateAethernetHopTime() + { + return 2f; + } + + private static float Estimate2DDistance(Vector3 from, Vector3 to) + { + float num = from.X - to.X; + float num2 = from.Z - to.Z; + return MathF.Sqrt(num * num + num2 * num2); + } +} diff --git a/SmartNav/SmartNav/IPlayerContext.cs b/SmartNav/SmartNav/IPlayerContext.cs new file mode 100644 index 0000000..3311834 --- /dev/null +++ b/SmartNav/SmartNav/IPlayerContext.cs @@ -0,0 +1,22 @@ +using SmartNav.Model; + +namespace SmartNav; + +public interface IPlayerContext +{ + uint? CurrentMsqQuestId { get; } + + int GilReserve { get; } + + bool PreferFreeTravel { get; } + + bool UseTeleportTickets { get; } + + bool IsAetheryteUnlocked(EAetheryteLocation aetheryte); + + bool IsFlyingUnlocked(uint territoryId); + + bool IsTeleportUnlocked(); + + bool IsReturnAvailable(); +} diff --git a/SmartNav/SmartNav/ITerritoryInfo.cs b/SmartNav/SmartNav/ITerritoryInfo.cs new file mode 100644 index 0000000..8bb5a26 --- /dev/null +++ b/SmartNav/SmartNav/ITerritoryInfo.cs @@ -0,0 +1,12 @@ +namespace SmartNav; + +public interface ITerritoryInfo +{ + string? GetName(uint territoryId); + + string GetNameAndId(uint territoryId); + + byte GetExVersion(uint territoryId); + + bool CanUseMount(uint territoryId); +} diff --git a/SmartNav/SmartNav/NavGraphBuilder.cs b/SmartNav/SmartNav/NavGraphBuilder.cs new file mode 100644 index 0000000..002c1ad --- /dev/null +++ b/SmartNav/SmartNav/NavGraphBuilder.cs @@ -0,0 +1,270 @@ +using System.Collections.Generic; +using System.Numerics; +using Microsoft.Extensions.Logging; +using SmartNav.Data; +using SmartNav.Graph; +using SmartNav.Model; +using SmartNav.Model.Converter; +using SmartNav.Model.Navigation; + +namespace SmartNav; + +public sealed class NavGraphBuilder +{ + private const float ZoneTransitionSeconds = 2f; + + private readonly AetheryteData _aetheryteData; + + private readonly WarpDataService _warpDataService; + + private readonly ZoneSubRegionService _zoneSubRegionService; + + private readonly IZoneBoundarySource _boundarySource; + + private readonly ILogger _logger; + + public NavGraphBuilder(AetheryteData aetheryteData, WarpDataService warpDataService, ZoneSubRegionService zoneSubRegionService, IZoneBoundarySource boundarySource, ILogger logger) + { + _aetheryteData = aetheryteData; + _warpDataService = warpDataService; + _zoneSubRegionService = zoneSubRegionService; + _boundarySource = boundarySource; + _logger = logger; + } + + public NavGraph Build() + { + NavGraph navGraph = new NavGraph(); + AddAetheryteNodes(navGraph); + AddAethernetEdges(navGraph); + AddZoneBoundaryNodes(navGraph); + AddWarpNodes(navGraph); + AddSubRegionConnectorNodes(navGraph); + _logger.LogDebug("NavGraph built: {NodeCount} nodes, {EdgeCount} edges", navGraph.NodeCount, navGraph.EdgeCount); + return navGraph; + } + + private void AddAetheryteNodes(NavGraph graph) + { + foreach (var (eAetheryteLocation2, position) in _aetheryteData.Locations) + { + if (_aetheryteData.TerritoryIds.TryGetValue(eAetheryteLocation2, out var value)) + { + if (AetheryteConverter.IsLargeAetheryte(eAetheryteLocation2)) + { + graph.AddNode(new NavNode.AetheryteNode(eAetheryteLocation2, value, position)); + continue; + } + EAetheryteLocation parentAetheryte = FindParentAetheryte(eAetheryteLocation2); + graph.AddNode(new NavNode.AethernetNode(eAetheryteLocation2, value, position, parentAetheryte)); + } + } + _logger.LogDebug("Added {Count} aetheryte/aethernet nodes", graph.NodeCount); + } + + private EAetheryteLocation FindParentAetheryte(EAetheryteLocation aethernet) + { + if (!_aetheryteData.AethernetGroups.TryGetValue(aethernet, out var value)) + { + return EAetheryteLocation.None; + } + foreach (var (eAetheryteLocation2, num2) in _aetheryteData.AethernetGroups) + { + if (num2 == value && AetheryteConverter.IsLargeAetheryte(eAetheryteLocation2)) + { + return eAetheryteLocation2; + } + } + return EAetheryteLocation.None; + } + + private void AddAethernetEdges(NavGraph graph) + { + Dictionary> dictionary = new Dictionary>(); + foreach (NavNode value4 in graph.Nodes.Values) + { + ushort value = 0; + if (value4 is NavNode.AetheryteNode aetheryteNode) + { + _aetheryteData.AethernetGroups.TryGetValue(aetheryteNode.Aetheryte, out value); + } + else if (value4 is NavNode.AethernetNode aethernetNode) + { + _aetheryteData.AethernetGroups.TryGetValue(aethernetNode.Aethernet, out value); + } + if (value != 0) + { + if (!dictionary.TryGetValue(value, out var value2)) + { + value2 = (dictionary[value] = new List()); + } + value2.Add(value4); + } + } + int num = 0; + foreach (KeyValuePair> item in dictionary) + { + item.Deconstruct(out var _, out var value3); + List list2 = value3; + for (int i = 0; i < list2.Count; i++) + { + for (int j = i + 1; j < list2.Count; j++) + { + EAetheryteLocation? aethernetParticipant = GetAethernetParticipant(list2[i]); + if (aethernetParticipant.HasValue) + { + EAetheryteLocation valueOrDefault = aethernetParticipant.GetValueOrDefault(); + if (HasInteractableShard(valueOrDefault)) + { + graph.AddEdge(new NavEdge(list2[i].Id, list2[j].Id, NavEdgeType.AethernetHop, 0f, 0)); + num++; + } + } + aethernetParticipant = GetAethernetParticipant(list2[j]); + if (aethernetParticipant.HasValue) + { + EAetheryteLocation valueOrDefault2 = aethernetParticipant.GetValueOrDefault(); + if (HasInteractableShard(valueOrDefault2)) + { + graph.AddEdge(new NavEdge(list2[j].Id, list2[i].Id, NavEdgeType.AethernetHop, 0f, 0)); + num++; + } + } + } + } + } + _logger.LogDebug("Added {Count} aethernet edges across {GroupCount} groups", num, dictionary.Count); + } + + private static EAetheryteLocation? GetAethernetParticipant(NavNode node) + { + if (!(node is NavNode.AetheryteNode aetheryteNode)) + { + if (node is NavNode.AethernetNode aethernetNode) + { + return aethernetNode.Aethernet; + } + return null; + } + return aetheryteNode.Aetheryte; + } + + private bool HasInteractableShard(EAetheryteLocation aetheryte) + { + if (_aetheryteData.IsCityAetheryte(aetheryte) || _aetheryteData.IsGoldSaucerAetheryte(aetheryte)) + { + return true; + } + if (_aetheryteData.TerritoryIds.TryGetValue(aetheryte, out var value)) + { + return value == 886; + } + return false; + } + + private void AddZoneBoundaryNodes(NavGraph graph) + { + IReadOnlyList boundaries = _boundarySource.GetBoundaries(); + int num = 0; + int num2 = 0; + foreach (ZoneBoundary item in boundaries) + { + if (item.Side1.TerritoryId == item.Side2.TerritoryId) + { + _logger.LogWarning("Skipping zone boundary {Id}: both sides are in territory {Territory}", item.Id, item.Side1.TerritoryId); + continue; + } + NavNode.ZoneBoundaryNode zoneBoundaryNode = new NavNode.ZoneBoundaryNode(item.Id, item.Side1.TerritoryId, item.Side1.Position, $"boundary:{item.Id}:{item.Side2.TerritoryId}", item.RequiresFlying, item.RequiredQuest, item.Side1.Trigger); + NavNode.ZoneBoundaryNode zoneBoundaryNode2 = new NavNode.ZoneBoundaryNode(item.Id, item.Side2.TerritoryId, item.Side2.Position, $"boundary:{item.Id}:{item.Side1.TerritoryId}", item.RequiresFlying, item.RequiredQuest, item.Side2.Trigger); + graph.AddNode(zoneBoundaryNode); + graph.AddNode(zoneBoundaryNode2); + num += 2; + graph.AddEdge(new NavEdge(zoneBoundaryNode.Id, zoneBoundaryNode2.Id, NavEdgeType.ZoneBoundary, 2f, 0)); + num2++; + if (!item.OneWay) + { + graph.AddEdge(new NavEdge(zoneBoundaryNode2.Id, zoneBoundaryNode.Id, NavEdgeType.ZoneBoundary, 2f, 0)); + num2++; + } + } + _logger.LogDebug("Added {NodeCount} boundary nodes and {EdgeCount} boundary edges", num, num2); + } + + private void AddWarpNodes(NavGraph graph) + { + int num = 0; + int num2 = 0; + int num3 = 0; + int num4 = 0; + foreach (WarpDataService.WarpInfo warp in _warpDataService.Warps) + { + if (_warpDataService.SkippedWarpIds.Contains(warp.RowId)) + { + continue; + } + if (warp.SourceTerritoryId == 0) + { + num4++; + continue; + } + NavNode.WarpNode warpNode = new NavNode.WarpNode(warp.RowId, warp.SourceTerritoryId, warp.SourcePosition, warp.NpcDataId, warp.RequiredQuestIds, warp.GilCost, warp.AvailableDuringMsqIds, warp.RequiredClassLevel, warp.RequireAllQuests); + graph.AddNode(warpNode); + num++; + Vector3? destPosition = warp.DestPosition; + if (destPosition.HasValue) + { + Vector3 valueOrDefault = destPosition.GetValueOrDefault(); + NavNode.WarpNode warpNode2 = new NavNode.WarpNode(warp.RowId, warp.DestTerritoryId, valueOrDefault, null, warp.RequiredQuestIds, 0, warp.AvailableDuringMsqIds, warp.RequiredClassLevel, warp.RequireAllQuests); + if (warpNode2.Id == warpNode.Id) + { + _logger.LogWarning("Skipping warp {RowId}: source and destination resolve to the same node {Id}", warp.RowId, warpNode.Id); + num3++; + } + else + { + graph.AddNode(warpNode2); + num++; + graph.AddEdge(new NavEdge(warpNode.Id, warpNode2.Id, NavEdgeType.Warp, 2f, warp.GilCost)); + num2++; + } + } + else + { + num3++; + } + } + _logger.LogDebug("Added {NodeCount} warp nodes and {EdgeCount} warp edges ({SkippedDest} missing destination, {SkippedSource} unknown source)", num, num2, num3, num4); + } + + private void AddSubRegionConnectorNodes(NavGraph graph) + { + int num = 0; + int num2 = 0; + foreach (KeyValuePair allRegion in _zoneSubRegionService.AllRegions) + { + allRegion.Deconstruct(out var key, out var value); + uint territoryId = key; + List connectors = value.Connectors; + for (int i = 0; i < connectors.Count; i++) + { + SubRegionConnector subRegionConnector = connectors[i]; + NavNode.SubRegionConnectorNode subRegionConnectorNode = new NavNode.SubRegionConnectorNode(territoryId, subRegionConnector.SourcePosition, subRegionConnector.SourceSubRegion, i, subRegionConnector.Kind); + graph.AddNode(subRegionConnectorNode); + NavNode.SubRegionConnectorNode subRegionConnectorNode2 = new NavNode.SubRegionConnectorNode(territoryId, subRegionConnector.DestPosition, subRegionConnector.DestSubRegion, i + connectors.Count, subRegionConnector.Kind); + graph.AddNode(subRegionConnectorNode2); + num += 2; + graph.AddEdge(new NavEdge(subRegionConnectorNode.Id, subRegionConnectorNode2.Id, NavEdgeType.SubRegionTransport, subRegionConnector.TimeCostSeconds, 0)); + num2++; + if (subRegionConnector.Bidirectional) + { + graph.AddEdge(new NavEdge(subRegionConnectorNode2.Id, subRegionConnectorNode.Id, NavEdgeType.SubRegionTransport, subRegionConnector.TimeCostSeconds, 0)); + num2++; + } + } + } + if (num > 0) + { + _logger.LogDebug("Added {NodeCount} sub-region connector nodes and {EdgeCount} transport edges", num, num2); + } + } +} diff --git a/SmartNav/SmartNav/NavGraphView.cs b/SmartNav/SmartNav/NavGraphView.cs new file mode 100644 index 0000000..5d2951b --- /dev/null +++ b/SmartNav/SmartNav/NavGraphView.cs @@ -0,0 +1,435 @@ +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using Microsoft.Extensions.Logging; +using SmartNav.Data; +using SmartNav.Graph; +using SmartNav.Model; + +namespace SmartNav; + +public sealed class NavGraphView(CostCalculator costCalculator, ITerritoryInfo territoryInfo, ZoneSubRegionService zoneSubRegionService, WarpFailureTracker warpFailureTracker, TeleportTicketService teleportTicketService, ILogger logger) +{ + public (NavGraph EffectiveGraph, string OriginId, string DestinationId) CreateQueryGraph(NavGraph staticGraph, PlayerNavState playerState, uint destinationTerritoryId, Vector3 destinationPosition) + { + if (playerState.CurrentTerritoryId == destinationTerritoryId) + { + return CreateSameZoneQueryGraph(staticGraph, playerState, destinationTerritoryId, destinationPosition); + } + return CreateCrossZoneQueryGraph(staticGraph, playerState, destinationTerritoryId, destinationPosition); + } + + private (NavGraph EffectiveGraph, string OriginId, string DestinationId) CreateSameZoneQueryGraph(NavGraph staticGraph, PlayerNavState playerState, uint territoryId, Vector3 destinationPosition) + { + NavGraph navGraph = new NavGraph(); + HashSet hashSet = new HashSet(); + foreach (NavNode value in staticGraph.Nodes.Values) + { + if (value.TerritoryId != territoryId) + { + continue; + } + foreach (NavEdge edge in staticGraph.GetEdges(value.Id)) + { + if (edge.EdgeType == NavEdgeType.Warp) + { + NavNode? node = staticGraph.GetNode(edge.ToNodeId); + if ((object)node != null && node.TerritoryId == territoryId) + { + hashSet.Add(edge.FromNodeId); + hashSet.Add(edge.ToNodeId); + } + } + } + } + List list = new List(); + foreach (NavNode value2 in staticGraph.Nodes.Values) + { + if (value2.TerritoryId != territoryId || value2 is NavNode.ZoneBoundaryNode) + { + continue; + } + if (value2 is NavNode.AetheryteNode aetheryteNode) + { + if (playerState.IsAetheryteUnlocked(aetheryteNode.Aetheryte)) + { + navGraph.AddNode(value2); + list.Add(aetheryteNode); + } + } + else if (value2 is NavNode.AethernetNode aethernetNode) + { + if (playerState.IsAetheryteUnlocked(aethernetNode.Aethernet)) + { + navGraph.AddNode(value2); + } + } + else if (value2 is NavNode.WarpNode warpNode) + { + if (!warpFailureTracker.IsBlacklisted(warpNode.WarpRowId) && warpNode.RequiredClassLevel <= playerState.CurrentLevel && WarpQuestGateSatisfied(warpNode, playerState)) + { + uint[] availableDuringMsqIds = warpNode.AvailableDuringMsqIds; + if ((availableDuringMsqIds == null || availableDuringMsqIds.Length <= 0 || (playerState.CurrentMsqQuestId.HasValue && availableDuringMsqIds.Contains(playerState.CurrentMsqQuestId.Value))) && hashSet.Contains(warpNode.Id)) + { + navGraph.AddNode(value2); + } + } + } + else + { + navGraph.AddNode(value2); + } + } + CopyStaticEdges(navGraph, staticGraph); + RecomputeAethernetCosts(navGraph); + NavNode.PositionNode positionNode = new NavNode.PositionNode(territoryId, playerState.CurrentPosition); + navGraph.AddNode(positionNode); + NavNode.PositionNode positionNode2 = new NavNode.PositionNode(territoryId, destinationPosition); + if (positionNode2.Id != positionNode.Id) + { + navGraph.AddNode(positionNode2); + } + AddWithinZoneEdgesFrom(navGraph, positionNode, playerState); + AddWithinZoneEdgesTo(navGraph, positionNode2, playerState); + if (playerState.TeleportUnlocked) + { + AddTeleportEdgesFromOrigin(navGraph, positionNode, list, playerState); + } + if (playerState != null && playerState.TeleportUnlocked && playerState.ReturnAvailable) + { + AddReturnEdge(navGraph, positionNode, playerState); + } + AddTicketTeleportEdges(navGraph, positionNode, playerState, territoryId); + AddWarpWithinZoneEdges(navGraph, playerState); + AddConnectorWithinZoneEdges(navGraph, playerState); + logger.LogDebug("Same-zone query graph: {NodeCount} nodes, {EdgeCount} edges", navGraph.NodeCount, navGraph.EdgeCount); + return (EffectiveGraph: navGraph, OriginId: positionNode.Id, DestinationId: positionNode2.Id); + } + + private (NavGraph EffectiveGraph, string OriginId, string DestinationId) CreateCrossZoneQueryGraph(NavGraph staticGraph, PlayerNavState playerState, uint destinationTerritoryId, Vector3 destinationPosition) + { + NavGraph navGraph = new NavGraph(); + List list = new List(); + foreach (NavNode value in staticGraph.Nodes.Values) + { + if (territoryInfo.GetExVersion(value.TerritoryId) > playerState.MaxExpansion) + { + continue; + } + if (value is NavNode.AetheryteNode aetheryteNode) + { + if (playerState.IsAetheryteUnlocked(aetheryteNode.Aetheryte)) + { + navGraph.AddNode(value); + list.Add(aetheryteNode); + } + } + else if (value is NavNode.AethernetNode aethernetNode) + { + if (playerState.IsAetheryteUnlocked(aethernetNode.Aethernet)) + { + navGraph.AddNode(value); + } + } + else if (value is NavNode.ZoneBoundaryNode { RequiredQuestId: var requiredQuestId }) + { + if (requiredQuestId.HasValue) + { + uint valueOrDefault = requiredQuestId.GetValueOrDefault(); + if (!playerState.IsQuestComplete(valueOrDefault)) + { + continue; + } + } + navGraph.AddNode(value); + } + else if (value is NavNode.WarpNode warpNode) + { + if (!warpFailureTracker.IsBlacklisted(warpNode.WarpRowId) && warpNode.RequiredClassLevel <= playerState.CurrentLevel && WarpQuestGateSatisfied(warpNode, playerState)) + { + uint[] availableDuringMsqIds = warpNode.AvailableDuringMsqIds; + if (availableDuringMsqIds == null || availableDuringMsqIds.Length <= 0 || (playerState.CurrentMsqQuestId.HasValue && availableDuringMsqIds.Contains(playerState.CurrentMsqQuestId.Value))) + { + navGraph.AddNode(value); + } + } + } + else + { + navGraph.AddNode(value); + } + } + CopyStaticEdges(navGraph, staticGraph); + PruneUncrossableFlyingBoundaries(navGraph, playerState); + NavNode.PositionNode positionNode = new NavNode.PositionNode(playerState.CurrentTerritoryId, playerState.CurrentPosition); + navGraph.AddNode(positionNode); + NavNode.PositionNode positionNode2 = new NavNode.PositionNode(destinationTerritoryId, destinationPosition); + if (positionNode2.Id != positionNode.Id) + { + navGraph.AddNode(positionNode2); + } + AddWithinZoneEdgesFrom(navGraph, positionNode, playerState); + AddWithinZoneEdgesTo(navGraph, positionNode2, playerState); + if (playerState.TeleportUnlocked) + { + AddTeleportEdgesFromOrigin(navGraph, positionNode, list, playerState); + } + if (playerState != null && playerState.TeleportUnlocked && playerState.ReturnAvailable) + { + AddReturnEdge(navGraph, positionNode, playerState); + } + AddTicketTeleportEdges(navGraph, positionNode, playerState, null); + RecomputeAethernetCosts(navGraph); + AddBoundaryWithinZoneEdges(navGraph, playerState); + AddWarpWithinZoneEdges(navGraph, playerState); + AddConnectorWithinZoneEdges(navGraph, playerState); + logger.LogDebug("Cross-zone query graph: {NodeCount} nodes, {EdgeCount} edges", navGraph.NodeCount, navGraph.EdgeCount); + return (EffectiveGraph: navGraph, OriginId: positionNode.Id, DestinationId: positionNode2.Id); + } + + private static bool WarpQuestGateSatisfied(NavNode.WarpNode warpNode, PlayerNavState playerState) + { + if (warpNode.RequiredQuestIds.Length == 0) + { + return true; + } + if (!warpNode.RequireAllQuests) + { + return warpNode.RequiredQuestIds.Any(playerState.IsQuestComplete); + } + return warpNode.RequiredQuestIds.All(playerState.IsQuestComplete); + } + + private static void PruneUncrossableFlyingBoundaries(NavGraph queryGraph, PlayerNavState playerState) + { + foreach (NavNode value in queryGraph.Nodes.Values) + { + if (value is NavNode.ZoneBoundaryNode { RequiresFlying: not false } zoneBoundaryNode && !playerState.IsFlyingUnlocked(zoneBoundaryNode.TerritoryId)) + { + queryGraph.RemoveEdges(zoneBoundaryNode.Id, (NavEdge e) => e.EdgeType == NavEdgeType.ZoneBoundary); + } + } + } + + private static void CopyStaticEdges(NavGraph queryGraph, NavGraph staticGraph) + { + foreach (NavNode value in queryGraph.Nodes.Values) + { + foreach (NavEdge edge in staticGraph.GetEdges(value.Id)) + { + if (queryGraph.GetNode(edge.ToNodeId) != null) + { + queryGraph.AddEdge(edge); + } + } + } + } + + private void AddWithinZoneEdgesFrom(NavGraph queryGraph, NavNode origin, PlayerNavState playerState) + { + foreach (string item in queryGraph.GetNodesInTerritory(origin.TerritoryId)) + { + if (!(item == origin.Id)) + { + NavNode node = queryGraph.GetNode(item); + if (!(node == null) && AreNodesConnectedWithinZone(origin, node, origin.TerritoryId)) + { + float timeCostSeconds = costCalculator.EstimateWithinZoneTravelTime(origin.Position, node.Position, origin.TerritoryId, playerState); + queryGraph.AddEdge(new NavEdge(origin.Id, item, NavEdgeType.WithinZone, timeCostSeconds, 0)); + } + } + } + } + + private void AddWithinZoneEdgesTo(NavGraph queryGraph, NavNode destination, PlayerNavState playerState) + { + foreach (string item in queryGraph.GetNodesInTerritory(destination.TerritoryId)) + { + if (!(item == destination.Id)) + { + NavNode node = queryGraph.GetNode(item); + if (!(node == null) && AreNodesConnectedWithinZone(node, destination, destination.TerritoryId)) + { + float timeCostSeconds = costCalculator.EstimateWithinZoneTravelTime(node.Position, destination.Position, destination.TerritoryId, playerState); + queryGraph.AddEdge(new NavEdge(item, destination.Id, NavEdgeType.WithinZone, timeCostSeconds, 0)); + } + } + } + } + + private void AddTeleportEdgesFromOrigin(NavGraph queryGraph, NavNode origin, List largeAetherytes, PlayerNavState playerState) + { + float num = CostCalculator.EstimateTeleportTime(); + bool flag = playerState.PreferFreeTravel && !territoryInfo.CanUseMount(playerState.CurrentTerritoryId); + foreach (NavNode.AetheryteNode largeAetheryte in largeAetherytes) + { + if (largeAetheryte.Aetheryte == playerState.HomeAetheryte && playerState.ReturnAvailable) + { + continue; + } + int num2 = EstimateTeleportGilCost(largeAetheryte.Aetheryte, playerState); + if (playerState.CanAffordTeleport(num2)) + { + float num3 = num; + if (flag && num2 > 0) + { + num3 *= 10f; + } + queryGraph.AddEdge(new NavEdge(origin.Id, largeAetheryte.Id, NavEdgeType.Teleport, num3, num2)); + } + } + } + + private void AddTicketTeleportEdges(NavGraph queryGraph, NavNode origin, PlayerNavState playerState, uint? restrictToTerritory) + { + if (playerState.AvailableTeleportTickets.Count == 0) + { + return; + } + foreach (TeleportTicketService.TeleportTicket ticket in teleportTicketService.Tickets) + { + if (playerState.AvailableTeleportTickets.Contains(ticket.ItemId) && (!restrictToTerritory.HasValue || ticket.TerritoryId == restrictToTerritory) && territoryInfo.GetExVersion(ticket.TerritoryId) <= playerState.MaxExpansion) + { + NavNode.TicketNode ticketNode = new NavNode.TicketNode(ticket.ItemId, ticket.TerritoryId, ticket.Position); + if (queryGraph.GetNode(ticketNode.Id) == null) + { + queryGraph.AddNode(ticketNode); + } + queryGraph.AddEdge(new NavEdge(origin.Id, ticketNode.Id, NavEdgeType.TicketTeleport, CostCalculator.EstimateTeleportTime(), 0)); + AddWithinZoneEdgesFrom(queryGraph, ticketNode, playerState); + } + } + } + + private static void AddReturnEdge(NavGraph queryGraph, NavNode origin, PlayerNavState playerState) + { + if (playerState.HomeAetheryte != EAetheryteLocation.None) + { + string text = $"aetheryte:{playerState.HomeAetheryte}"; + if (!(queryGraph.GetNode(text) == null)) + { + queryGraph.AddEdge(new NavEdge(origin.Id, text, NavEdgeType.Return, CostCalculator.EstimateTeleportTime(), 0)); + } + } + } + + private static void RecomputeAethernetCosts(NavGraph queryGraph) + { + List list = new List(); + foreach (var (nodeId, _) in queryGraph.Nodes) + { + foreach (NavEdge edge in queryGraph.GetEdges(nodeId)) + { + if (edge.EdgeType == NavEdgeType.AethernetHop && edge.TimeCostSeconds == 0f) + { + float timeCostSeconds = CostCalculator.EstimateAethernetHopTime(); + list.Add(new NavEdge(edge.FromNodeId, edge.ToNodeId, NavEdgeType.AethernetHop, timeCostSeconds, 0)); + } + } + } + foreach (NavEdge item in list) + { + queryGraph.ReplaceEdge(item); + } + } + + private void AddBoundaryWithinZoneEdges(NavGraph queryGraph, PlayerNavState playerState) + { + foreach (NavNode value in queryGraph.Nodes.Values) + { + if (!(value is NavNode.ZoneBoundaryNode zoneBoundaryNode)) + { + continue; + } + foreach (string item in queryGraph.GetNodesInTerritory(zoneBoundaryNode.TerritoryId)) + { + if (!(item == zoneBoundaryNode.Id)) + { + NavNode node = queryGraph.GetNode(item); + if (!(node == null) && (!(node is NavNode.ZoneBoundaryNode) || string.CompareOrdinal(zoneBoundaryNode.Id, item) < 0) && AreNodesConnectedWithinZone(zoneBoundaryNode, node, zoneBoundaryNode.TerritoryId)) + { + float timeCostSeconds = costCalculator.EstimateWithinZoneTravelTime(node.Position, zoneBoundaryNode.Position, zoneBoundaryNode.TerritoryId, playerState); + float timeCostSeconds2 = costCalculator.EstimateWithinZoneTravelTime(zoneBoundaryNode.Position, node.Position, zoneBoundaryNode.TerritoryId, playerState); + queryGraph.AddEdge(new NavEdge(item, zoneBoundaryNode.Id, NavEdgeType.WithinZone, timeCostSeconds, 0)); + queryGraph.AddEdge(new NavEdge(zoneBoundaryNode.Id, item, NavEdgeType.WithinZone, timeCostSeconds2, 0)); + } + } + } + } + } + + private void AddWarpWithinZoneEdges(NavGraph queryGraph, PlayerNavState playerState) + { + foreach (NavNode value in queryGraph.Nodes.Values) + { + if (!(value is NavNode.WarpNode warpNode)) + { + continue; + } + foreach (string item in queryGraph.GetNodesInTerritory(warpNode.TerritoryId)) + { + if (!(item == warpNode.Id)) + { + NavNode node = queryGraph.GetNode(item); + if (!(node == null) && (!(node is NavNode.WarpNode) || string.CompareOrdinal(warpNode.Id, item) < 0) && !(node is NavNode.ZoneBoundaryNode) && AreNodesConnectedWithinZone(warpNode, node, warpNode.TerritoryId)) + { + float timeCostSeconds = costCalculator.EstimateWithinZoneTravelTime(node.Position, warpNode.Position, warpNode.TerritoryId, playerState); + float timeCostSeconds2 = costCalculator.EstimateWithinZoneTravelTime(warpNode.Position, node.Position, warpNode.TerritoryId, playerState); + queryGraph.AddEdge(new NavEdge(item, warpNode.Id, NavEdgeType.WithinZone, timeCostSeconds, 0)); + queryGraph.AddEdge(new NavEdge(warpNode.Id, item, NavEdgeType.WithinZone, timeCostSeconds2, 0)); + } + } + } + } + } + + private void AddConnectorWithinZoneEdges(NavGraph queryGraph, PlayerNavState playerState) + { + foreach (NavNode value in queryGraph.Nodes.Values) + { + if (!(value is NavNode.SubRegionConnectorNode subRegionConnectorNode)) + { + continue; + } + foreach (string item in queryGraph.GetNodesInTerritory(subRegionConnectorNode.TerritoryId)) + { + if (item == subRegionConnectorNode.Id) + { + continue; + } + NavNode node = queryGraph.GetNode(item); + if (!(node == null) && (!(node is NavNode.SubRegionConnectorNode) || string.CompareOrdinal(subRegionConnectorNode.Id, item) < 0)) + { + bool flag = ((node is NavNode.ZoneBoundaryNode || node is NavNode.WarpNode) ? true : false); + if (!flag && AreNodesConnectedWithinZone(subRegionConnectorNode, node, subRegionConnectorNode.TerritoryId)) + { + float timeCostSeconds = costCalculator.EstimateWithinZoneTravelTime(node.Position, subRegionConnectorNode.Position, subRegionConnectorNode.TerritoryId, playerState); + float timeCostSeconds2 = costCalculator.EstimateWithinZoneTravelTime(subRegionConnectorNode.Position, node.Position, subRegionConnectorNode.TerritoryId, playerState); + queryGraph.AddEdge(new NavEdge(item, subRegionConnectorNode.Id, NavEdgeType.WithinZone, timeCostSeconds, 0)); + queryGraph.AddEdge(new NavEdge(subRegionConnectorNode.Id, item, NavEdgeType.WithinZone, timeCostSeconds2, 0)); + } + } + } + } + } + + private bool AreNodesConnectedWithinZone(NavNode a, NavNode b, uint territoryId) + { + if (!zoneSubRegionService.HasSubRegions(territoryId)) + { + return true; + } + string text = ((a is NavNode.SubRegionConnectorNode subRegionConnectorNode) ? subRegionConnectorNode.SubRegionId : zoneSubRegionService.GetSubRegionId(territoryId, a.Position.X, a.Position.Y, a.Position.Z)); + string text2 = ((b is NavNode.SubRegionConnectorNode subRegionConnectorNode2) ? subRegionConnectorNode2.SubRegionId : zoneSubRegionService.GetSubRegionId(territoryId, b.Position.X, b.Position.Y, b.Position.Z)); + if (text == null || text2 == null) + { + return true; + } + return text == text2; + } + + private static int EstimateTeleportGilCost(EAetheryteLocation aetheryte, PlayerNavState playerState) + { + return playerState.GetTeleportCost(aetheryte); + } +} diff --git a/SmartNav/SmartNav/NavInstruction.cs b/SmartNav/SmartNav/NavInstruction.cs new file mode 100644 index 0000000..8261171 --- /dev/null +++ b/SmartNav/SmartNav/NavInstruction.cs @@ -0,0 +1,32 @@ +using System.Collections.Generic; +using System.Numerics; +using SmartNav.Model; + +namespace SmartNav; + +public abstract record NavInstruction +{ + public sealed record Teleport(EAetheryteLocation Target, ushort ExpectedTerritory) : NavInstruction(); + + public sealed record AethernetHop(EAetheryteLocation From, EAetheryteLocation To) : NavInstruction(); + + public sealed record Move(ushort Territory, Vector3 Position, bool Fly, bool LandAtTarget, float? StopDistance, uint? DataId, bool? Mount, bool DisableNavmesh, bool AllowZoneTransition, string? TargetNodeId, string? ApproachNodeId, bool IsFinal) : NavInstruction(); + + public sealed record Land : NavInstruction; + + public sealed record Unmount : NavInstruction; + + public sealed record WaitForTerritory(IReadOnlyList Acceptable, string Description) : NavInstruction(); + + public sealed record WaitForNavmesh : NavInstruction; + + public sealed record InteractWarp(uint NpcDataId, uint WarpRowId, ushort FromTerritory, ushort ToTerritory) : NavInstruction(); + + public sealed record UseTeleportTicket(uint ItemId, ushort Territory) : NavInstruction(); + + public sealed record SubRegionTransport(Vector3 From, Vector3 To, ushort Territory) : NavInstruction(); + + private NavInstruction() + { + } +} diff --git a/SmartNav/SmartNav/NavRouter.cs b/SmartNav/SmartNav/NavRouter.cs new file mode 100644 index 0000000..246289a --- /dev/null +++ b/SmartNav/SmartNav/NavRouter.cs @@ -0,0 +1,209 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Threading; +using Microsoft.Extensions.Logging; +using SmartNav.Graph; +using SmartNav.Model; + +namespace SmartNav; + +public sealed class NavRouter +{ + internal readonly record struct RouteCost(float Time, int Gil, int Hops) : IComparable + { + public static readonly RouteCost Max = new RouteCost(float.MaxValue, int.MaxValue, int.MaxValue); + + public RouteCost Add(NavEdge edge, float penalty) + { + return new RouteCost(Time + edge.TimeCostSeconds + penalty, Gil + edge.GilCost, Hops + 1); + } + + public int CompareTo(RouteCost other) + { + int num = Time.CompareTo(other.Time); + if (num != 0) + { + return num; + } + int num2 = Gil.CompareTo(other.Gil); + if (num2 != 0) + { + return num2; + } + return Hops.CompareTo(other.Hops); + } + } + + private readonly NavGraphBuilder _graphBuilder; + + private readonly NavGraphView _graphView; + + private readonly ITerritoryInfo _territoryInfo; + + private readonly ILogger _logger; + + private volatile Lazy _staticGraph; + + private const float ReRoutePenaltySeconds = 1000000f; + + public NavGraph StaticGraph => _staticGraph.Value; + + public NavRouter(NavGraphBuilder graphBuilder, NavGraphView graphView, ITerritoryInfo territoryInfo, ILogger logger) + { + _graphBuilder = graphBuilder; + _graphView = graphView; + _territoryInfo = territoryInfo; + _logger = logger; + _staticGraph = new Lazy(_graphBuilder.Build, LazyThreadSafetyMode.ExecutionAndPublication); + } + + public void InvalidateStaticGraph() + { + _staticGraph = new Lazy(_graphBuilder.Build, LazyThreadSafetyMode.ExecutionAndPublication); + } + + public RouteResult FindRoute(PlayerNavState playerState, uint destinationTerritoryId, Vector3 destinationPosition, IReadOnlySet? penalizedTargets = null) + { + var (navGraph, text, text2) = _graphView.CreateQueryGraph(StaticGraph, playerState, destinationTerritoryId, destinationPosition); + if (navGraph.GetNode(text) == null || navGraph.GetNode(text2) == null) + { + _logger.LogWarning("Origin or destination node missing from query graph"); + return RouteResult.Empty; + } + List<(string, NavEdge)> list = Dijkstra(navGraph, text, text2, penalizedTargets); + if (list == null) + { + _logger.LogWarning("No route found from {Origin} to territory {Territory}", text, destinationTerritoryId); + return RouteResult.Empty; + } + return BuildRouteResult(navGraph, list, playerState); + } + + internal static List<(string NodeId, NavEdge? ViaEdge)>? Dijkstra(NavGraph graph, string startId, string endId, IReadOnlySet? penalizedTargets) + { + Dictionary dictionary = new Dictionary(); + Dictionary dictionary2 = new Dictionary(); + HashSet hashSet = new HashSet(); + PriorityQueue priorityQueue = new PriorityQueue(); + dictionary[startId] = default(RouteCost); + priorityQueue.Enqueue(startId, default(RouteCost)); + foreach (string key in graph.Nodes.Keys) + { + if (key != startId) + { + dictionary[key] = RouteCost.Max; + } + dictionary2[key] = null; + } + while (priorityQueue.Count > 0) + { + string text = priorityQueue.Dequeue(); + if (text == endId) + { + break; + } + if (!hashSet.Add(text)) + { + continue; + } + foreach (NavEdge edge in graph.GetEdges(text)) + { + if (!hashSet.Contains(edge.ToNodeId) && !(graph.GetNode(edge.ToNodeId) == null)) + { + float penalty = ((penalizedTargets != null && penalizedTargets.Contains(edge.ToNodeId)) ? 1000000f : 0f); + RouteCost routeCost = dictionary[text].Add(edge, penalty); + if (routeCost.CompareTo(dictionary[edge.ToNodeId]) < 0) + { + dictionary[edge.ToNodeId] = routeCost; + dictionary2[edge.ToNodeId] = (text, edge); + priorityQueue.Enqueue(edge.ToNodeId, routeCost); + } + } + } + } + if (dictionary[endId] == RouteCost.Max) + { + return null; + } + List<(string, NavEdge)> list = new List<(string, NavEdge)>(); + string text2 = endId; + while (text2 != null) + { + (string, NavEdge)? value; + (string, NavEdge)? tuple = (dictionary2.TryGetValue(text2, out value) ? value : (((string, NavEdge)?)null)); + list.Add((text2, tuple?.Item2)); + text2 = tuple?.Item1; + } + list.Reverse(); + return list; + } + + private RouteResult BuildRouteResult(NavGraph graph, List<(string NodeId, NavEdge? ViaEdge)> path, PlayerNavState playerState) + { + List list = new List(); + float num = 0f; + int num2 = 0; + for (int i = 1; i < path.Count; i++) + { + NavEdge item = path[i].ViaEdge; + if (!(item == null)) + { + NavNode node = graph.GetNode(item.FromNodeId); + NavNode node2 = graph.GetNode(item.ToNodeId); + NavEdgeType edgeType = item.EdgeType; + bool flag = ((edgeType == NavEdgeType.WithinZone || (uint)(edgeType - 3) <= 1u) ? true : false); + bool flag2 = flag; + RouteSegment item2 = new RouteSegment(item.EdgeType, node, node2, item.TimeCostSeconds, item.GilCost, GetTeleportTarget(node2), GetAethernetLocation(node), GetAethernetLocation(node2), flag2 && IsFlyingSegment(node, playerState)); + list.Add(item2); + num += item.TimeCostSeconds; + num2 += item.GilCost; + } + } + _logger.LogDebug("Route found: {SegmentCount} segments, {Time:F1}s, {Gil} gil", list.Count, num, num2); + if (_logger.IsEnabled(LogLevel.Debug)) + { + for (int j = 0; j < list.Count; j++) + { + RouteSegment routeSegment = list[j]; + string text = FormatNodeLabel(routeSegment.From); + string text2 = FormatNodeLabel(routeSegment.To); + _logger.LogDebug(" [{Index}] {Type}: {From} -> {To} ({Time:F1}s, {Gil} gil)", j + 1, routeSegment.EdgeType, text, text2, routeSegment.TimeCost, routeSegment.GilCost); + } + } + return new RouteResult(list, num, num2); + } + + private static EAetheryteLocation? GetTeleportTarget(NavNode node) + { + if (node is NavNode.AetheryteNode aetheryteNode) + { + return aetheryteNode.Aetheryte; + } + return null; + } + + private static EAetheryteLocation? GetAethernetLocation(NavNode node) + { + if (!(node is NavNode.AetheryteNode aetheryteNode)) + { + if (node is NavNode.AethernetNode aethernetNode) + { + return aethernetNode.Aethernet; + } + return null; + } + return aetheryteNode.Aetheryte; + } + + private static bool IsFlyingSegment(NavNode from, PlayerNavState playerState) + { + return playerState.IsFlyingUnlocked(from.TerritoryId); + } + + private string FormatNodeLabel(NavNode node) + { + string text = _territoryInfo.GetName(node.TerritoryId) ?? $"t{node.TerritoryId}"; + return node.Label + " (" + text + ")"; + } +} diff --git a/SmartNav/SmartNav/PlayerNavState.cs b/SmartNav/SmartNav/PlayerNavState.cs new file mode 100644 index 0000000..96462f1 --- /dev/null +++ b/SmartNav/SmartNav/PlayerNavState.cs @@ -0,0 +1,96 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using SmartNav.Model; + +namespace SmartNav; + +public sealed class PlayerNavState +{ + public required uint CurrentTerritoryId { get; init; } + + public required Vector3 CurrentPosition { get; init; } + + public required int Gil { get; init; } + + public required int GilReserve { get; init; } + + public required IReadOnlySet UnlockedAetherytes { get; init; } + + public required EAetheryteLocation HomeAetheryte { get; init; } + + public required EAetheryteLocation? FreeAetheryte { get; init; } + + public required IReadOnlyDictionary TeleportCosts { get; init; } + + public required IReadOnlySet FlyingUnlockedTerritories { get; init; } + + public required IReadOnlyDictionary MountSpeedLevels { get; init; } + + public required bool TeleportUnlocked { get; init; } + + public required bool ReturnAvailable { get; init; } + + public required bool MountUnlocked { get; init; } + + public required byte MaxExpansion { get; init; } + + public required int CurrentLevel { get; init; } + + public required uint? CurrentMsqQuestId { get; init; } + + public required bool PreferFreeTravel { get; init; } + + public required Func QuestCompleteChecker { get; init; } + + public required Func QuestSequenceChecker { get; init; } + + public IReadOnlySet AvailableTeleportTickets { get; init; } = new HashSet(); + + public bool CanAffordTeleport(int gilCost) + { + if (gilCost != 0) + { + return Gil - gilCost >= GilReserve; + } + return true; + } + + public int GetTeleportCost(EAetheryteLocation aetheryte) + { + if (!TeleportCosts.TryGetValue(aetheryte, out var value)) + { + return 999; + } + return value; + } + + public bool IsAetheryteUnlocked(EAetheryteLocation aetheryte) + { + return UnlockedAetherytes.Contains(aetheryte); + } + + public bool IsFlyingUnlocked(uint territoryId) + { + return FlyingUnlockedTerritories.Contains(territoryId); + } + + public int GetMountSpeedLevel(uint territoryId) + { + if (!MountSpeedLevels.TryGetValue(territoryId, out var value)) + { + return 0; + } + return value; + } + + public bool IsQuestComplete(uint questRowId) + { + return QuestCompleteChecker(questRowId); + } + + public byte GetQuestSequence(uint questRowId) + { + return QuestSequenceChecker(questRowId); + } +} diff --git a/SmartNav/SmartNav/PlayerNavStateBuilder.cs b/SmartNav/SmartNav/PlayerNavStateBuilder.cs new file mode 100644 index 0000000..683bc26 --- /dev/null +++ b/SmartNav/SmartNav/PlayerNavStateBuilder.cs @@ -0,0 +1,161 @@ +using System.Collections.Generic; +using Dalamud.Game.ClientState.Aetherytes; +using Dalamud.Game.ClientState.Objects.Types; +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using FFXIVClientStructs.FFXIV.Client.Game.UI; +using LLib.GameData; +using Lumina.Excel; +using Lumina.Excel.Sheets; +using SmartNav.Data; +using SmartNav.Model; + +namespace SmartNav; + +public class PlayerNavStateBuilder(IClientState clientState, IObjectTable objectTable, IAetheryteList aetheryteList, AetheryteData aetheryteData, TeleportTicketService teleportTicketService, IPlayerContext playerContext, IDataManager dataManager) +{ + public virtual PlayerNavState? Build(int? gilReserveOverride = null) + { + IGameObject gameObject = objectTable[0]; + if (gameObject == null) + { + return null; + } + HashSet hashSet = new HashSet(); + Dictionary dictionary = new Dictionary(); + EAetheryteLocation homeAetheryteId = (EAetheryteLocation)PlayerStateHelper.GetHomeAetheryteId(); + EAetheryteLocation? freeAetheryte = null; + byte maxExpansion = PlayerStateHelper.GetMaxExpansion(); + foreach (IAetheryteEntry item in aetheryteList) + { + EAetheryteLocation aetheryteId = (EAetheryteLocation)item.AetheryteId; + hashSet.Add(aetheryteId); + dictionary[aetheryteId] = (int)item.GilCost; + } + foreach (EAetheryteLocation key in aetheryteData.Locations.Keys) + { + if (playerContext.IsAetheryteUnlocked(key)) + { + hashSet.Add(key); + } + } + foreach (EAetheryteLocation item2 in hashSet) + { + if (PlayerStateHelper.IsFreeAetheryte((uint)item2)) + { + EAetheryteLocation valueOrDefault = freeAetheryte.GetValueOrDefault(); + if (!freeAetheryte.HasValue) + { + valueOrDefault = item2; + freeAetheryte = valueOrDefault; + } + dictionary[item2] = 0; + } + } + int currentGil = GetCurrentGil(); + HashSet flyingUnlockedTerritories = BuildFlyingUnlockedSet(); + Dictionary mountSpeedLevels = BuildMountSpeedLevels(); + return new PlayerNavState + { + CurrentTerritoryId = clientState.TerritoryType, + CurrentPosition = gameObject.Position, + Gil = currentGil, + GilReserve = (gilReserveOverride ?? playerContext.GilReserve), + TeleportUnlocked = playerContext.IsTeleportUnlocked(), + ReturnAvailable = playerContext.IsReturnAvailable(), + MountUnlocked = PlayerStateHelper.IsAnyMountUnlocked(), + UnlockedAetherytes = hashSet, + HomeAetheryte = homeAetheryteId, + FreeAetheryte = freeAetheryte, + TeleportCosts = dictionary, + FlyingUnlockedTerritories = flyingUnlockedTerritories, + MountSpeedLevels = mountSpeedLevels, + MaxExpansion = maxExpansion, + CurrentLevel = ((gameObject as ICharacter)?.Level ?? 0), + CurrentMsqQuestId = playerContext.CurrentMsqQuestId, + PreferFreeTravel = playerContext.PreferFreeTravel, + QuestCompleteChecker = (uint rowId) => QuestManager.IsQuestComplete((ushort)(rowId & 0xFFFF)), + QuestSequenceChecker = (uint rowId) => QuestManager.GetQuestSequence((ushort)(rowId & 0xFFFF)), + AvailableTeleportTickets = BuildAvailableTeleportTickets() + }; + } + + private unsafe HashSet BuildAvailableTeleportTickets() + { + HashSet hashSet = new HashSet(); + if (!playerContext.UseTeleportTickets) + { + return hashSet; + } + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return hashSet; + } + byte grandCompanyId = GrandCompanyHelper.GetGrandCompanyId(); + foreach (TeleportTicketService.TeleportTicket ticket in teleportTicketService.Tickets) + { + if ((ticket.RequiredGrandCompany == 0 || ticket.RequiredGrandCompany == grandCompanyId) && (ticket.RequiredQuestId == 0 || QuestManager.IsQuestComplete((ushort)(ticket.RequiredQuestId & 0xFFFF))) && ptr->GetInventoryItemCount(ticket.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0) > 0) + { + hashSet.Add(ticket.ItemId); + } + } + return hashSet; + } + + private HashSet BuildFlyingUnlockedSet() + { + HashSet hashSet = new HashSet(); + HashSet hashSet2 = new HashSet(); + foreach (EAetheryteLocation key in aetheryteData.Locations.Keys) + { + if (aetheryteData.TerritoryIds.TryGetValue(key, out var value) && hashSet2.Add(value) && playerContext.IsFlyingUnlocked(value)) + { + hashSet.Add(value); + } + } + return hashSet; + } + + private unsafe Dictionary BuildMountSpeedLevels() + { + Dictionary dictionary = new Dictionary(); + ExcelSheet excelSheet = dataManager.GetExcelSheet(); + if (excelSheet == null) + { + return dictionary; + } + UIState* ptr = UIState.Instance(); + foreach (TerritoryType item in excelSheet) + { + if (item.RowId != 0 && item.MountSpeed.RowId != 0) + { + MountSpeed value = item.MountSpeed.Value; + int num = 0; + if (value.Quest.RowId != 0 && ptr != null && ptr->IsUnlockLinkUnlockedOrQuestCompleted(value.Quest.RowId, 0)) + { + num++; + } + if (value.Unknown0 != 0 && ptr != null && ptr->IsUnlockLinkUnlockedOrQuestCompleted(value.Unknown0, 0)) + { + num++; + } + if (num > 0) + { + dictionary[item.RowId] = num; + } + } + } + return dictionary; + } + + private unsafe static int GetCurrentGil() + { + InventoryManager* ptr = InventoryManager.Instance(); + if (ptr == null) + { + return 0; + } + return ptr->GetItemCountInContainer(1u, InventoryType.Currency, isHq: false, 0); + } +} diff --git a/SmartNav/SmartNav/ReRouteDecision.cs b/SmartNav/SmartNav/ReRouteDecision.cs new file mode 100644 index 0000000..cdb8880 --- /dev/null +++ b/SmartNav/SmartNav/ReRouteDecision.cs @@ -0,0 +1,16 @@ +using System.Collections.Generic; + +namespace SmartNav; + +public abstract record ReRouteDecision +{ + public sealed record Replan(IReadOnlyList Instructions) : ReRouteDecision(); + + public sealed record SkipMovement : ReRouteDecision; + + public sealed record GiveUp : ReRouteDecision; + + private ReRouteDecision() + { + } +} diff --git a/SmartNav/SmartNav/ReRoutePolicy.cs b/SmartNav/SmartNav/ReRoutePolicy.cs new file mode 100644 index 0000000..f2732a0 --- /dev/null +++ b/SmartNav/SmartNav/ReRoutePolicy.cs @@ -0,0 +1,87 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using Microsoft.Extensions.Logging; + +namespace SmartNav; + +public sealed class ReRoutePolicy(NavRouter navRouter, PlayerNavStateBuilder playerNavStateBuilder, RouteInstructionBuilder instructionBuilder, WarpFailureTracker warpFailureTracker, ILogger logger) +{ + private uint _destinationTerritoryId; + + private Vector3 _destinationPosition; + + private bool _hasDestination; + + private int _reRouteCount; + + private readonly HashSet _penalizedTargets = new HashSet(); + + private const int MaxReRoutes = 3; + + public void SetDestination(uint territoryId, Vector3 position) + { + bool num = _hasDestination && _destinationTerritoryId == territoryId && Vector3.DistanceSquared(_destinationPosition, position) < 1f; + _destinationTerritoryId = territoryId; + _destinationPosition = position; + _hasDestination = true; + _reRouteCount = 0; + _penalizedTargets.Clear(); + if (!num) + { + warpFailureTracker.Reset(); + } + logger.LogDebug("Re-route destination set: territory {Territory}, position {Position}", territoryId, position); + } + + public void ClearDestination() + { + _hasDestination = false; + _reRouteCount = 0; + _penalizedTargets.Clear(); + warpFailureTracker.Reset(); + } + + public ReRouteDecision HandleMovementFailure(string? failedTargetNodeId, string? failedApproachNodeId, bool hasPreservedTasks) + { + if (failedTargetNodeId != null) + { + _penalizedTargets.Add(failedTargetNodeId); + if (failedTargetNodeId.StartsWith("pos:", StringComparison.Ordinal) && failedApproachNodeId != null) + { + _penalizedTargets.Add(failedApproachNodeId); + } + } + if (!_hasDestination) + { + logger.LogWarning("No destination registered, cannot re-route"); + return new ReRouteDecision.GiveUp(); + } + if (_reRouteCount >= 3) + { + logger.LogWarning("Re-route limit reached ({Count}/{Max}), giving up", _reRouteCount, 3); + return new ReRouteDecision.GiveUp(); + } + PlayerNavState playerNavState = playerNavStateBuilder.Build(); + if (playerNavState == null) + { + logger.LogWarning("Cannot build PlayerNavState for re-routing"); + return new ReRouteDecision.GiveUp(); + } + if (playerNavState.CurrentTerritoryId != _destinationTerritoryId && hasPreservedTasks) + { + _reRouteCount++; + logger.LogInformation("Re-route #{Count}: still in wrong territory ({Current} vs destination {Destination}), skipping movement with preserved tasks", _reRouteCount, playerNavState.CurrentTerritoryId, _destinationTerritoryId); + return new ReRouteDecision.SkipMovement(); + } + RouteResult routeResult = navRouter.FindRoute(playerNavState, _destinationTerritoryId, _destinationPosition, _penalizedTargets); + if (routeResult.Segments.Count == 0) + { + logger.LogWarning("No route found during re-routing to territory {Territory}", _destinationTerritoryId); + return new ReRouteDecision.GiveUp(); + } + _reRouteCount++; + logger.LogInformation("Re-routed successfully ({Count}/{Max}): {SegmentCount} segments, {Time:F1}s estimated", _reRouteCount, 3, routeResult.Segments.Count, routeResult.TotalTimeCost); + return new ReRouteDecision.Replan(instructionBuilder.Build(routeResult, _destinationTerritoryId)); + } +} diff --git a/SmartNav/SmartNav/RouteInstructionBuilder.cs b/SmartNav/SmartNav/RouteInstructionBuilder.cs new file mode 100644 index 0000000..1ed20a0 --- /dev/null +++ b/SmartNav/SmartNav/RouteInstructionBuilder.cs @@ -0,0 +1,164 @@ +using System.Collections.Generic; +using System.Numerics; +using Microsoft.Extensions.Logging; +using SmartNav.Data; +using SmartNav.Graph; +using SmartNav.Model.Navigation; + +namespace SmartNav; + +public sealed class RouteInstructionBuilder(AetheryteData aetheryteData, ITerritoryInfo territoryInfo, ILogger logger) +{ + private const float BoundaryApproachMargin = 5f; + + public IReadOnlyList Build(RouteResult route, uint destinationTerritory, bool disableNavmesh = false) + { + List list = new List(); + for (int i = 0; i < route.Segments.Count; i++) + { + RouteSegment routeSegment = route.Segments[i]; + if (routeSegment.EdgeType != NavEdgeType.WithinZone || i + 1 >= route.Segments.Count || route.Segments[i + 1].EdgeType != NavEdgeType.ZoneBoundary) + { + BuildSegment(list, routeSegment, (i > 0) ? route.Segments[i - 1] : null, i, route.Segments.Count, destinationTerritory, disableNavmesh); + } + } + return list; + } + + private static bool TryComputeApproach(TriggerBox trigger, Vector3 walkTo, Vector3? origin, out Vector3 approach) + { + approach = default(Vector3); + if (!origin.HasValue) + { + return false; + } + bool flag = trigger.HalfExtents.X <= trigger.HalfExtents.Z; + float num = (flag ? trigger.HalfExtents.X : trigger.HalfExtents.Z); + if (trigger.HalfExtents.Y < num) + { + return false; + } + Matrix4x4 matrix = Matrix4x4.CreateFromYawPitchRoll(trigger.RotationRadians.Y, trigger.RotationRadians.X, trigger.RotationRadians.Z); + Vector3 value = Vector3.TransformNormal(flag ? Vector3.UnitX : Vector3.UnitZ, matrix); + value.Y = 0f; + if (value.LengthSquared() < 0.01f) + { + return false; + } + value = Vector3.Normalize(value); + float num2 = ((Vector3.Dot(origin.Value - trigger.Translation, value) >= 0f) ? 1f : (-1f)); + Vector3 vector = trigger.Translation + value * num2 * (num + 5f); + approach = new Vector3(vector.X, walkTo.Y, vector.Z); + return true; + } + + private void BuildSegment(List instructions, RouteSegment seg, RouteSegment? previous, int index, int segmentCount, uint destinationTerritory, bool disableNavmesh) + { + uint territoryId4; + switch (seg.EdgeType) + { + case NavEdgeType.Teleport: + case NavEdgeType.Return: + if (seg.TeleportTarget.HasValue) + { + ushort value; + ushort expectedTerritory = (aetheryteData.TerritoryIds.TryGetValue(seg.TeleportTarget.Value, out value) ? value : ((ushort)seg.To.TerritoryId)); + logger.LogTrace("SmartNav: Teleport to {Aetheryte}", seg.TeleportTarget.Value); + instructions.Add(new NavInstruction.Teleport(seg.TeleportTarget.Value, expectedTerritory)); + } + break; + case NavEdgeType.AethernetHop: + if (seg.AethernetFrom.HasValue && seg.AethernetTo.HasValue) + { + logger.LogTrace("SmartNav: Aethernet {From} -> {To}", seg.AethernetFrom.Value, seg.AethernetTo.Value); + instructions.Add(new NavInstruction.WaitForNavmesh()); + instructions.Add(new NavInstruction.AethernetHop(seg.AethernetFrom.Value, seg.AethernetTo.Value)); + } + break; + case NavEdgeType.WithinZone: + { + uint territoryId = seg.From.TerritoryId; + bool flag = index == segmentCount - 1 && seg.To.TerritoryId == destinationTerritory; + logger.LogTrace("SmartNav: Move within {Territory}{Final}", territoryInfo.GetNameAndId(territoryId), flag ? " (final)" : ""); + instructions.Add(new NavInstruction.WaitForTerritory(new global::_003C_003Ez__ReadOnlySingleElementList(territoryId), "Wait(territory: " + territoryInfo.GetNameAndId(territoryId) + ")")); + if (!disableNavmesh) + { + instructions.Add(new NavInstruction.WaitForNavmesh()); + } + uint? num = ((!(seg.To is NavNode.WarpNode warpNode)) ? ((uint?)null) : warpNode.NpcDataId); + uint? dataId = num; + instructions.Add(new NavInstruction.Move((ushort)territoryId, seg.To.Position, seg.Fly, seg.Fly, flag ? ((float?)null) : new float?(3f), dataId, null, DisableNavmesh: false, AllowZoneTransition: false, seg.To.Id, seg.From.Id, flag)); + break; + } + case NavEdgeType.ZoneBoundary: + { + uint territoryId3 = seg.From.TerritoryId; + territoryId4 = seg.To.TerritoryId; + logger.LogTrace("SmartNav: Cross boundary {From} -> {To}", territoryInfo.GetNameAndId(territoryId3), territoryInfo.GetNameAndId(territoryId4)); + instructions.Add(new NavInstruction.WaitForTerritory(new global::_003C_003Ez__ReadOnlyArray(new uint[2] { territoryId3, territoryId4 }), $"Wait(territory: {territoryInfo.GetNameAndId(territoryId3)} or {territoryInfo.GetNameAndId(territoryId4)})")); + instructions.Add(new NavInstruction.WaitForNavmesh()); + if (seg.Fly && seg.From is NavNode.ZoneBoundaryNode { RequiresFlying: false } zoneBoundaryNode) + { + TriggerBox trigger = zoneBoundaryNode.Trigger; + if ((object)trigger != null && TryComputeApproach(trigger, seg.From.Position, previous?.From.Position, out var approach)) + { + instructions.Add(new NavInstruction.Move((ushort)territoryId3, approach, Fly: true, LandAtTarget: true, 3f, null, null, DisableNavmesh: false, AllowZoneTransition: true, seg.From.Id, null, IsFinal: false)); + instructions.Add(new NavInstruction.Move((ushort)territoryId3, seg.From.Position, Fly: false, LandAtTarget: false, 0f, null, null, DisableNavmesh: false, AllowZoneTransition: true, seg.From.Id, null, IsFinal: false)); + goto IL_04b4; + } + } + instructions.Add(new NavInstruction.Move((ushort)territoryId3, seg.From.Position, seg.Fly, seg.Fly, 0f, null, null, DisableNavmesh: false, AllowZoneTransition: true, seg.From.Id, null, IsFinal: false)); + goto IL_04b4; + } + case NavEdgeType.Warp: + { + uint territoryId5 = seg.From.TerritoryId; + uint territoryId6 = seg.To.TerritoryId; + logger.LogTrace("SmartNav: Warp from {From} to {To}", territoryInfo.GetNameAndId(territoryId5), territoryInfo.GetNameAndId(territoryId6)); + if (seg.From is NavNode.WarpNode { NpcDataId: { } npcDataId } warpNode2) + { + instructions.Add(new NavInstruction.InteractWarp(npcDataId, warpNode2.WarpRowId, (ushort)territoryId5, (ushort)territoryId6)); + break; + } + logger.LogWarning("SmartNav: warp segment {From} -> {To} has no interactable source NPC; segment dropped", territoryInfo.GetNameAndId(territoryId5), territoryInfo.GetNameAndId(territoryId6)); + break; + } + case NavEdgeType.SubRegionTransport: + { + uint territoryId2 = seg.From.TerritoryId; + logger.LogTrace("SmartNav: Sub-region transport in {Territory}", territoryInfo.GetNameAndId(territoryId2)); + instructions.Add(new NavInstruction.WaitForTerritory(new global::_003C_003Ez__ReadOnlySingleElementList(territoryId2), "Wait(territory: " + territoryInfo.GetNameAndId(territoryId2) + ")")); + instructions.Add(new NavInstruction.WaitForNavmesh()); + instructions.Add(new NavInstruction.Move((ushort)territoryId2, seg.From.Position, Fly: false, LandAtTarget: false, 0f, null, false, DisableNavmesh: false, AllowZoneTransition: false, seg.From.Id, null, IsFinal: false)); + if (seg.From is NavNode.SubRegionConnectorNode { Kind: SubRegionConnectorKind.Move }) + { + instructions.Add(new NavInstruction.Move((ushort)territoryId2, seg.To.Position, Fly: false, LandAtTarget: false, 3f, null, false, DisableNavmesh: true, AllowZoneTransition: false, seg.To.Id, seg.From.Id, IsFinal: false)); + } + else + { + instructions.Add(new NavInstruction.SubRegionTransport(seg.From.Position, seg.To.Position, (ushort)territoryId2)); + } + break; + } + case NavEdgeType.TicketTeleport: + if (!(seg.To is NavNode.TicketNode ticketNode)) + { + logger.LogWarning("SmartNav: ticket teleport segment without a ticket node; segment dropped"); + break; + } + logger.LogTrace("SmartNav: Teleport ticket {ItemId} to {Territory}", ticketNode.ItemId, territoryInfo.GetNameAndId(ticketNode.TerritoryId)); + instructions.Add(new NavInstruction.Unmount()); + instructions.Add(new NavInstruction.UseTeleportTicket(ticketNode.ItemId, (ushort)ticketNode.TerritoryId)); + instructions.Add(new NavInstruction.WaitForTerritory(new global::_003C_003Ez__ReadOnlySingleElementList(ticketNode.TerritoryId), "Wait(territory: " + territoryInfo.GetNameAndId(ticketNode.TerritoryId) + ")")); + break; + default: + { + logger.LogWarning("SmartNav: unhandled edge type {EdgeType}; segment dropped", seg.EdgeType); + break; + } + IL_04b4: + instructions.Add(new NavInstruction.WaitForTerritory(new global::_003C_003Ez__ReadOnlySingleElementList(territoryId4), "Wait(territory: " + territoryInfo.GetNameAndId(territoryId4) + ")")); + break; + } + } +} diff --git a/SmartNav/SmartNav/RouteResult.cs b/SmartNav/SmartNav/RouteResult.cs new file mode 100644 index 0000000..e8b9c42 --- /dev/null +++ b/SmartNav/SmartNav/RouteResult.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; + +namespace SmartNav; + +public sealed record RouteResult(IReadOnlyList Segments, float TotalTimeCost, int TotalGilCost) +{ + public static readonly RouteResult Empty = new RouteResult(Array.Empty(), 0f, 0); + + [CompilerGenerated] + private RouteResult(RouteResult original) + { + Segments = original.Segments; + TotalTimeCost = original.TotalTimeCost; + TotalGilCost = original.TotalGilCost; + } +} diff --git a/SmartNav/SmartNav/RouteSegment.cs b/SmartNav/SmartNav/RouteSegment.cs new file mode 100644 index 0000000..8b2cbf7 --- /dev/null +++ b/SmartNav/SmartNav/RouteSegment.cs @@ -0,0 +1,6 @@ +using SmartNav.Graph; +using SmartNav.Model; + +namespace SmartNav; + +public sealed record RouteSegment(NavEdgeType EdgeType, NavNode From, NavNode To, float TimeCost, int GilCost, EAetheryteLocation? TeleportTarget = null, EAetheryteLocation? AethernetFrom = null, EAetheryteLocation? AethernetTo = null, bool Fly = false); diff --git a/SmartNav/SmartNav/WarpFailureTracker.cs b/SmartNav/SmartNav/WarpFailureTracker.cs new file mode 100644 index 0000000..df2f00b --- /dev/null +++ b/SmartNav/SmartNav/WarpFailureTracker.cs @@ -0,0 +1,64 @@ +using System.Collections.Generic; +using Microsoft.Extensions.Logging; + +namespace SmartNav; + +public sealed class WarpFailureTracker(ILogger logger) +{ + private const int BlacklistThreshold = 3; + + private readonly object _gate = new object(); + + private readonly Dictionary _consecutiveFailures = new Dictionary(); + + private readonly HashSet _blacklisted = new HashSet(); + + public bool RecordAttempt(uint warpRowId) + { + lock (_gate) + { + if (_blacklisted.Contains(warpRowId)) + { + return false; + } + int num = _consecutiveFailures.GetValueOrDefault(warpRowId) + 1; + _consecutiveFailures[warpRowId] = num; + if (num < 3) + { + return false; + } + _blacklisted.Add(warpRowId); + logger.LogWarning("WarpFailureTracker: warp {WarpRowId} failed {Count} consecutive attempts without completing, blacklisting it for this navigation goal so routing avoids it", warpRowId, num); + return true; + } + } + + public void RecordSuccess(uint warpRowId) + { + lock (_gate) + { + _consecutiveFailures.Remove(warpRowId); + _blacklisted.Remove(warpRowId); + } + } + + public bool IsBlacklisted(uint warpRowId) + { + lock (_gate) + { + return _blacklisted.Contains(warpRowId); + } + } + + public void Reset() + { + lock (_gate) + { + if (_consecutiveFailures.Count != 0 || _blacklisted.Count != 0) + { + _consecutiveFailures.Clear(); + _blacklisted.Clear(); + } + } + } +}